@univerjs-pro/collaboration-client 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x507db8=_0x1922;(function(_0x41333c,_0x2a5c53){var _0x1e19a8=_0x1922,_0x1fa6f6=_0x41333c();while(!![]){try{var _0x57eece=-parseInt(_0x1e19a8(0x383))/0x1+parseInt(_0x1e19a8(0x446))/0x2*(parseInt(_0x1e19a8(0x2c6))/0x3)+-parseInt(_0x1e19a8(0x2e2))/0x4+-parseInt(_0x1e19a8(0x341))/0x5+-parseInt(_0x1e19a8(0x333))/0x6*(-parseInt(_0x1e19a8(0x120))/0x7)+parseInt(_0x1e19a8(0x1fa))/0x8*(-parseInt(_0x1e19a8(0x2d6))/0x9)+-parseInt(_0x1e19a8(0x1e1))/0xa*(-parseInt(_0x1e19a8(0x37e))/0xb);if(_0x57eece===_0x2a5c53)break;else _0x1fa6f6['push'](_0x1fa6f6['shift']());}catch(_0x585808){_0x1fa6f6['push'](_0x1fa6f6['shift']());}}}(_0x3020,0x1e50e));var bt=Object[_0x507db8(0x1a8)],Ot=(_0x2b9ea3,_0x10f9c3,_0x3ffbe0)=>_0x10f9c3 in _0x2b9ea3?bt(_0x2b9ea3,_0x10f9c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ffbe0}):_0x2b9ea3[_0x10f9c3]=_0x3ffbe0,A=(_0x1d62c4,_0x2c5b8c,_0x5e0b6f)=>Ot(_0x1d62c4,typeof _0x2c5b8c!=_0x507db8(0x25b)?_0x2c5b8c+'':_0x2c5b8c,_0x5e0b6f);Object[_0x507db8(0x1a8)](exports,Symbol[_0x507db8(0x172)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x507db8(0x1cd),Ut=0x7d0,ht=_0x507db8(0x1b8),At=_0x507db8(0x23a),_t=_0x507db8(0x2d2),Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt='/universer-api/comb',$t=_0x507db8(0x154),Ht=_0x507db8(0x267),jt=_0x507db8(0x40f);var dt=(_0x443672=>(_0x443672[_0x443672[_0x507db8(0x434)]=0x0]='UNDEFINED',_0x443672[_0x443672['OK']=0x1]='OK',_0x443672[_0x443672[_0x507db8(0x192)]=0x2]=_0x507db8(0x192),_0x443672[_0x443672['PERMISSION_DENIED']=0x3]=_0x507db8(0x27f),_0x443672[_0x443672[_0x507db8(0x248)]=0x4]='NOT_FOUND',_0x443672[_0x443672[_0x507db8(0x3e3)]=0x5]=_0x507db8(0x3e3),_0x443672[_0x443672[_0x507db8(0x2cf)]=0x6]='ALREADY_EXISTS',_0x443672[_0x443672[_0x507db8(0x17e)]=0x7]='INVALID_ARGUMENT',_0x443672[_0x443672[_0x507db8(0x44b)]=0x8]='TOO_MANY_REQUESTS',_0x443672[_0x443672[_0x507db8(0x369)]=0x9]=_0x507db8(0x369),_0x443672[_0x443672[_0x507db8(0x2aa)]=0xa]=_0x507db8(0x2aa),_0x443672[_0x443672[_0x507db8(0x384)]=0xb]=_0x507db8(0x384),_0x443672[_0x443672[_0x507db8(0x274)]=0xc]=_0x507db8(0x274),_0x443672[_0x443672[_0x507db8(0x2dd)]=0xd]=_0x507db8(0x2dd),_0x443672[_0x443672['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x507db8(0x1d4),_0x443672[_0x443672[_0x507db8(0x34e)]=0x1389]=_0x507db8(0x34e),_0x443672[_0x443672[_0x507db8(0x3dc)]=0x1771]=_0x507db8(0x3dc),_0x443672[_0x443672['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x507db8(0x3a4),_0x443672[_0x443672[_0x507db8(0x286)]=0x1773]=_0x507db8(0x286),_0x443672[_0x443672[_0x507db8(0x149)]=0x1b59]=_0x507db8(0x149),_0x443672[_0x443672[_0x507db8(0xf1)]=0x1b5a]=_0x507db8(0xf1),_0x443672[_0x443672[_0x507db8(0x2a4)]=0x1b5b]=_0x507db8(0x2a4),_0x443672[_0x443672[_0x507db8(0xf6)]=0x1b5c]=_0x507db8(0xf6),_0x443672[_0x443672[_0x507db8(0x3cb)]=0x1b5d]=_0x507db8(0x3cb),_0x443672[_0x443672[_0x507db8(0x430)]=0x1f41]=_0x507db8(0x430),_0x443672[_0x443672[_0x507db8(0x410)]=0x2329]=_0x507db8(0x410),_0x443672[_0x443672['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x507db8(0x1ec),_0x443672[_0x443672[_0x507db8(0x14c)]=0x232b]=_0x507db8(0x14c),_0x443672[_0x443672[_0x507db8(0x1cb)]=0x232c]=_0x507db8(0x1cb),_0x443672[_0x443672[_0x507db8(0x211)]=0x232d]=_0x507db8(0x211),_0x443672[_0x443672[_0x507db8(0x25c)]=0x2711]=_0x507db8(0x25c),_0x443672[_0x443672[_0x507db8(0x28a)]=0x2712]=_0x507db8(0x28a),_0x443672[_0x443672['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x507db8(0x2bd),_0x443672[_0x443672[_0x507db8(0x3ed)]=0x2714]=_0x507db8(0x3ed),_0x443672[_0x443672['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x443672[_0x443672['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x443672[_0x443672[_0x507db8(0x2a9)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x443672[_0x443672[_0x507db8(0x119)]=0x271d]=_0x507db8(0x119),_0x443672[_0x443672[_0x507db8(0x162)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x443672[_0x443672[_0x507db8(0x2e3)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x443672[_0x443672[_0x507db8(0x376)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x443672[_0x443672[_0x507db8(0x3b8)]=0x2af9]=_0x507db8(0x3b8),_0x443672[_0x443672['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x507db8(0x1f9),_0x443672[_0x443672[_0x507db8(0x2cb)]=0x2ee2]=_0x507db8(0x2cb),_0x443672[_0x443672[_0x507db8(0x121)]=0x2ee3]=_0x507db8(0x121),_0x443672[_0x443672[_0x507db8(0x38f)]=0x2ee4]=_0x507db8(0x38f),_0x443672[_0x443672[_0x507db8(0x1b4)]=0x2ee5]=_0x507db8(0x1b4),_0x443672[_0x443672[_0x507db8(0x131)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x443672[_0x443672[_0x507db8(0x1e8)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x443672[_0x443672[_0x507db8(0x10f)]=0x32cb]=_0x507db8(0x10f),_0x443672[_0x443672[_0x507db8(0x39f)]=-0x1]='UNRECOGNIZED',_0x443672))(dt||{}),J=(_0x25d280=>(_0x25d280[_0x25d280['UNIVER_UNKNOWN']=0x0]=_0x507db8(0x393),_0x25d280[_0x25d280['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x25d280[_0x25d280[_0x507db8(0xeb)]=0x2]=_0x507db8(0xeb),_0x25d280[_0x25d280[_0x507db8(0x1d7)]=0x3]=_0x507db8(0x1d7),_0x25d280[_0x25d280[_0x507db8(0x19b)]=0x4]=_0x507db8(0x19b),_0x25d280[_0x25d280[_0x507db8(0x39f)]=-0x1]=_0x507db8(0x39f),_0x25d280))(J||{}),W=(_0x323ae2=>(_0x323ae2[_0x323ae2['UNKNOWN_CMD']=0x0]=_0x507db8(0x416),_0x323ae2[_0x323ae2[_0x507db8(0x14b)]=0x1]=_0x507db8(0x14b),_0x323ae2[_0x323ae2[_0x507db8(0x17a)]=0x2]=_0x507db8(0x17a),_0x323ae2[_0x323ae2['LEAVE']=0x3]=_0x507db8(0x404),_0x323ae2[_0x323ae2[_0x507db8(0x308)]=0x4]=_0x507db8(0x308),_0x323ae2[_0x323ae2[_0x507db8(0x152)]=0x5]=_0x507db8(0x152),_0x323ae2[_0x323ae2[_0x507db8(0x35d)]=0x6]='RECV',_0x323ae2[_0x323ae2[_0x507db8(0x39f)]=-0x1]=_0x507db8(0x39f),_0x323ae2))(W||{}),se=(_0x4ca0d3=>(_0x4ca0d3[_0x4ca0d3[_0x507db8(0x228)]=0x0]=_0x507db8(0x228),_0x4ca0d3[_0x4ca0d3['OK']=0x1]='OK',_0x4ca0d3[_0x4ca0d3[_0x507db8(0x42d)]=0x2]=_0x507db8(0x42d),_0x4ca0d3[_0x4ca0d3['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4ca0d3[_0x4ca0d3[_0x507db8(0x3d3)]=0x3ea]=_0x507db8(0x3d3),_0x4ca0d3[_0x4ca0d3[_0x507db8(0x3d8)]=0x3eb]=_0x507db8(0x3d8),_0x4ca0d3[_0x4ca0d3[_0x507db8(0x25d)]=0x3ec]=_0x507db8(0x25d),_0x4ca0d3[_0x4ca0d3[_0x507db8(0x39f)]=-0x1]=_0x507db8(0x39f),_0x4ca0d3))(se||{}),vt=(_0x5aed90=>(_0x5aed90[_0x5aed90[_0x507db8(0x2a6)]=0x0]=_0x507db8(0x2a6),_0x5aed90[_0x5aed90[_0x507db8(0x301)]=0x1]='HttpImport',_0x5aed90[_0x5aed90[_0x507db8(0x20e)]=0x2]=_0x507db8(0x20e),_0x5aed90[_0x5aed90['UnitEmbedded']=0x3]=_0x507db8(0x10d),_0x5aed90[_0x5aed90[_0x507db8(0x29c)]=0x4]=_0x507db8(0x29c),_0x5aed90[_0x5aed90[_0x507db8(0x2a3)]=0x5]='UserProfileImg',_0x5aed90[_0x5aed90[_0x507db8(0x39f)]=-0x1]=_0x507db8(0x39f),_0x5aed90))(vt||{});const Bt=_0x507db8(0x44f);function Ft(_0x339d0b){var _0x533b9e=_0x507db8;return JSON[_0x533b9e(0x3d6)](_0x339d0b)[_0x533b9e(0x3a5)];}var Z=(_0x54cdb9=>(_0x54cdb9[_0x507db8(0x44c)]=_0x507db8(0x44c),_0x54cdb9[_0x507db8(0x27f)]=_0x507db8(0x27f),_0x54cdb9['CONFLICT']=_0x507db8(0x357),_0x54cdb9['CLOSE_ROOM']=_0x507db8(0x2de),_0x54cdb9[_0x507db8(0x2c1)]=_0x507db8(0x2c1),_0x54cdb9['SOCKET_FAILED_RETRY']=_0x507db8(0x151),_0x54cdb9[_0x507db8(0x269)]='SOCKET_FAILED',_0x54cdb9[_0x507db8(0x1bd)]=_0x507db8(0x1bd),_0x54cdb9))(Z||{});function _0x3020(){var _0x924569=['StreamCipher','sid','CompressMutationService','createEncryptor','_getSignURL','_handler','UNRECOGNIZED','FETCH_MISS','_onRecvEvent','MentionIoHttpService','update','SNAPSHOT_HAS_BEEN_REMOVED','length','ceil','_httpService','__esModule','catch','updateOfflineData','_disableEditing','USERS_LEAVE','onload','buffer','onCommandExecuted','onTransformState','decrypt','target','forEach','reject','_lockTransition','Decryptor','getImage','PY_RUNTIME_SCRIPT_ERROR','slice','[PendingState]:\x20received\x20rejection.','_mode','_clearRetryConnectingTimer','_onJoinRoomEvent','entityInit$','FetchingMissState','compose','_doCryptBlock','type','conflict','onTransformRemoteChangesetByStateCache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','status$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','isTransformMutationsWithChangesetFailure','DocCollaborationEntity','_updateState','APPLY_DUPLICATED','onCommentUpdate','_nRounds','_changesetSessionId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/-/object/list','_keySchedule','/collaborator','JOIN_ROOM_NOT_EXISTS','encode','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','stringify','_imageSourceCache','JOIN_ROOM_PERMISSION_DENIED','actions','charAt','crypto','SNAPSHOT_INVALID_SNAPSHOT','Malformed\x20UTF-8\x20data','initWorkbookPermissionChange','IContextService','allowed','status','toDisposable','UNAUTHENTICATED','CHANGESET_SHOULD_RETRY','_sheetTransformSelectionsService','POST','sessionStatus','authzUrl','_minBufferSize','_queuedRemoteChangesets','_onConnectionOpen','workbook','YUUMI_SUBSCRIPTION_NOT_FOUND','randomBytes','Latin1','_retryCount','_append','isInternalEditorID','_collaborationSessionService','registerHTTPInterceptor','putCollaborators','CollaborationStatus','&source=','_eventService','_collaborationUIEventService','_onUserLeave','AuthzIoHttpService','sessionStatus$','_transformStateCache','UUID','deepClone','getFocusedUnit','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LIVESHARE_FETCH_OPERATIONS','params','LEAVE','_timeoutTimer','transformChangesets','confirm','set','ivSize','_submitChangeset','url','getCollabEntity','_reverseMap','deleteCollaborator','/universer-api/uniscript','LICENSE_MAX_UNITS_EXCEEDED','_transformRemoteChangesetByIMECache','_getUndoStack','LOCAL_CACHE_INTERVAL_KEY','_scheduleCollaborationTimeoutTimer','_onRemoteACK','UNKNOWN_CMD','hostname','DataLoaderService','getSnapshotAPIPath','_getCtorByUniverType','dispose$','roles','closeSession','change$','resourceIDs','MUTATION','setShowComponents','onRemoteChangeset','memberID','CollaborationSessionService','/object','awaiting_with_pending','_members$','selections','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','__creator','_decreaseWaiting','_getSendChangesetTimeout','FAIL','_initCloseConn','_syncEditingCollabCursor','CONNECTOR_DATA_TOO_LARGE','shareReplay','_map','_onMessage','UNDEFINED','key','ERROR_IMAGE_TYPE','[CollaborationSessionService]:\x20socket\x20error','hasOwnProperty','_change$','onlyLocal','setCurrentUser','onStateChange','getRandomValues','objectActions','SnapshotServerOverHTTPService','onMissedChangesetFetched','_nDataBytes','PSEUDO_FETCH_MISSING_RESULT','create','salt','SheetCollaborationEntity','3782giwrYz','/unit/','_isPermissionRej','keySize','loadUnit','TOO_MANY_REQUESTS','OTHER_CLIENT_EDITING','downloadEndpointUrl','_shouldReportTelemetry','collaboration_new_changeset','_transformStack','focused$','[OfflineState]:\x20received\x20changeset.','CollaborationImageIoService','PERMISSION_REJ','mixIn','_doFinalize','OFFLINE','BehaviorSubject','getSheetBlock','socket\x20open.','append','stopTime','CollaborationEvent','CollaborationUIEventService','_sendingTimer','reconnect','_commentService','startTime','online$','SetSelectionsOperation','delete','HMAC','unitId','getTypeOfUnitAdded$','_getAPIPrefix','image/jpeg','UNIVER_SHEET','_configService','_snapshotService','_iKey','onMissingChangesets','_retryConnectingTimer','APPLY_NON_SEQUENTIAL_REVISION','reqId','saveImage','_onUserJoin','_waitCount','APPLY_PERMISSION_DENIED','ILogService','avatar','mutations','_getAPIPrefixPath','onRemoteRej','IAuthzIoService','UserManagerService','userID','isPermissionRej','getLatestCsReqIdBySid','synced','enableOfflineEditing','_createSocket','code','duration','getOwnPropertyDescriptor','c1Prime','updatePermissionObjEvent','_initUnitPermissionChange','post','_userManagerService','lib','UnitEmbedded','next','EMAIL_HAS_BEEN_BOUND','textRanges','changesets','_hash','COMPRESS_MUTATION_SEND','_onConflict','then','image/png','_throwTelemetryCollaborationNewChangeset','msCrypto','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationSessionService]','fetchMiss','close$','Injector','Tools','FileId','113099mtyUKy','INVITE_CODE_REQUIRED','offline','Cipher','LocalUndoRedoService','_onRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','x-univer-host','uuidv4','objects','_listenToNetworkCondition','collaborators','_executeRemoteChangeset','IDLE','close','_checkMissing','EvpKDF','WECHAT_HAS_BEEN_BOUND','_getLoginPath','Optional','\x0aAfter:\x20','requestParams','MergeInterceptorFactory','image/bmp','_clearHeartbeatTimer','eventID','$super','format','_init','_sender','OPTIONAL','algo','createInstance','/-/object/-/batch_allowed','routeKey','_removeRoom','session.join-failed','Base','resolve','unknown','_socket','APPLY_REJECT','_univerInstanceService','HELLO','LICENSE_IMPORT_SIZE_EXCEEDED','_clearTimeoutTimer','uniscriptRunEvent','collaboration-client.config','_resendTimer','SOCKET_FAILED_RETRY','HEARTBEAT','submit\x20changeset\x20error!','/universer-api/oidc/authpage','_unitID','_createInitialStateImpl','_compressMutationService','floor','_commandService','method','enc','DEFAULT_COLLAB_WEB_SOCKET_URL','generateRandomId','_registerDependencies','localeService','/resources','_createHandler','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_undoRedoService','_transformIMECache','_roomMembers','joinRsp','_state','csRejEvent','addHandlerCallback','/universer-api/authz','_rescheduleHeartbeat','_telemetryInfo','concat','HEARTBEAT_INTERVAL_KEY','_socketService','NEW_CHANGESETS','_substituteUndoStack','toStringTag','finalize','AES','_socketReady','body','_transitionLocked','permissionRejEvent','CHANGESET_ACK','JOIN','call','_onLocalMutation','cfg','INVALID_ARGUMENT','_event$','LIVESHARE_TERMINATE','Quantity','error','_waitForHeartbeatResponse','sin','fromCharCode','Hasher','connection\x20error','result','byteLength','image/gif','parseChangesetToProtocol','readyForCollab','_xformMode','_clearCollaborationTimeoutTimer','/universer-api/file/{fileID}/sign-url','Subject','includes','INTERNAL_ERROR','_roomCreated$','fetchMissingChangesets','list','ICollaborationSocketService','liveShareNewHost','IConfigService','getTime','Utf8','UNIVER_PROJECT','_entityInit$','SYNCED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','take','auth.needGotoLoginAlert','_memberService','_incrementRevisionNumber','_onConnectionFailed','saveChangeset','_members','_createHelper','UNIVER_DOC','defineProperty','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','startsWith','_oKey','encryptBlock','originalMeta','baseRev','equals','removeMember','words','emitEvent','mode','INVITE_CODE_ALREADY_BOUND','unit-cache-','updateCursorEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','HTTPRequest','getCollabEntity$','univer-pro.collaboration-client-socket-service','responseType','SUBMIT_CHANGESET_TIMEOUT','retryConnectingInterval','_updateLocalCache','getLocalCacheKey','clamp','isTransformChangesetsSuccess','revision','_instanceService','pad','touchDependencies','_emitMembers','encodeURIComponent','_DEC_XFORM_MODE','delay','LICENSE_EXPORT_SIZE_EXCEEDED','compute','SNAPSHOT_URL_KEY','_snapshotServerService','complete','send','awaitingChangeset','_sendHeartbeatTimer','[CollaborationEntity]','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loadUnitOfRevision','OpenSSL','UNIVER_SLIDE','updateCollaborator','LOCAL_CACHE_INTERVAL','ciphertext','RichTextEditingMutation','_exhaustRemoteChangesetQueue','PENDING','interceptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_cipher','10bvhHZl','_resendTimeout','CollaborationSession','_stopTelemetryCollaborationNewChangeset','getImageSourceCache','socketService','objectType','MOBILE_HAS_BEEN_BOUND','_sessionStatus$','ConflictState','asObservable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cmd','_ENC_XFORM_MODE','UniverNetworkPlugin','onTransformSelections','appendMutation','createSocket','getSheetId','add','_candidateSocket','csAckEvent','BufferedBlockAlgorithm','MemberService','INVITE_CODE_HAS_BEEN_UES','270336VVlPzA','indexOf','DEFAULT_FILE_NAME','_unlockTransition','_handlerCallback','USERS_ENTER','open$','toggleOffline','unitID','fetching\x20missing\x20changesets\x20from\x20','COMPRESS_MUTATION_APPLY','copyFileMeta','HmacSHA1','collabWebSocketUrl','JOINING','UniverCollaborationClientPlugin','values','patch','AwaitingWithPendingState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HttpExport','byteOffset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_DISTRO_REJECTED','collaMsg','Rectangle','getConfig','enableSingleActiveInstanceLock','signUrlServerUrl','DependentOn','objectID','parseProtocolChangeset','[FetchMissState]','PERSON','INetworkConditionService','_key','OTHER_CLIENTS_EDITING','updatePermissionPoint','NO_OTHER_CLIENTS_EDITING','getInterceptPoints','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','parse','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','setConfig','init','UNKNOWN_CODE','CollaborationUIEventId','requireSession','substr','_onFetchMissResult','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_onRemoteRejected','[CollaborationSession]','max','_revisionService','get','getMemberID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_undoStacks','CBC','createDecryptor','updateMember','members$','/universer-api/user/session-ticket','[CollaborationState]:\x20apply\x20error!','kdf','WordArray','_commentUpdate$','loginUrlKey','\x0aCurrent:\x20','csShouldRetryEvent','default','DEFAULT_WS_SESSION_TICKET_URL','_transformRemoteChangesetByStateCache','put','UNIVER_COLLABORATION_CLIENT_PLUGIN','enableCollaboration','NOT_FOUND','_scheduleCompleteTimestamp','getTypeOfUnitDisposed$','_awaitingChangeset','_doCreateSocket','_getDownloadEndpointURL','ERROR_IMAGE','CommandType','registerDependencies','onLocalMutation','_transformService','every','_socket$','[OfflineState]:\x20received\x20rejection.','UNISCRIPT_RUN','processBlock','PasswordBasedCipher','_config','random','symbol','YUUMI_UNABLE_LOAD_URL','GLOBAL_ROOMS_CNT_EXCEEDS','textEncoder','UPDATE_CURSOR','ICommandService','Inject','AWAITING','pipe','_iv','has','takeUntil','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','listRoles','SOCKET_FAILED','MSG_FOR_ERROR','onSyncEditingCollabCursor','_acknowledgedAwaitingChangeset','HTTPService','\x20in\x20_schedule.','entries','AWAITING_WITH_PENDING','getUnitId','transformSelections','onRemoteAck','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRemoteRetry','onTransformRemoteChangesetByIMECache','message$','splice','serializeCombRequest','FETCH_MISSING','_updateStatus','IUniverInstanceService','RevisionService','Could\x20not\x20dynamically\x20require\x20\x22','PERMISSION_DENIED','LIVESHARE_OPERATION','_clearLocalCache','Base64','HmacMD5','filter','repeat','ENSURE_SNAPSHOT_EXECUTION','_type','getUnitStatus$','b64DecodeUnicode','YUUMI_URL_COL_OUT_OF_RANGE','executeCommand','SyncedState','IPermissionService','NOT_COLLAB','SHOULD_CLOSE_CONN','getAllMembers','_entities','state$','_telemetryService','waitForRoom$','_unitInfo$','getRoom','prototype','blockSize','push','origin','BlockCipher','UnitSnapshot','CipherParams','getMember','_initRequestHeader','_tryReconnect','unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UserProfileImg','APPLY_REVISION_CONFILICT','disposeWithMe','Undefined','_localeService','fetch_missing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOGIN_FAILED','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_data','CollaborativeUndoRedoService','toggleOnline','resend','saveSnapshot','concatMap','SerializableCipher','_singleActiveUnitService','clear','WorkbookEditablePermission','_injector','charCodeAt','socket$','getDeserializedSheetBlock','DisposableCollection','_parse','subject','YUUMI_RATE_OVER_LIMIT','Univer','headers','error$','JOIN_ROOM_FAILED','_changesetReqId','createCollaborator','_collaborationTimeoutTimer','getCurrentUser','87VEnZxQ','{fileID}','dispose','ERROR_EXCEED_SIZE','extend','INVALID_INVITE_CODE','\x20to\x20','_doReset','clone','ALREADY_EXISTS','commentUpdate$','range','HEARTBEAT_INTERVAL','UniverCollaborationPlugin','getGlobalObject','_keyPriorReset','18ohsCgT','pending','event$','loadOfflineData','_sendHeartbeat','_logService','_getRedoStack','EMAIL_VERIFY_CODE_MISMATCH','CLOSE_ROOM','findIndex','getValue','shouldCloseConn','874968sHsXpE','YUUMI_AI_RUN_FAILED','name','function','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_replaceFileID','string','snapshot','collaboration-client.local-cache-service','decryptBlock','withCredentials','capture','pauseCollaboration','_prevBlock','getCurrentSelections','_pendingMutations','deserializeToCombResponse','onStarting','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','leaveEvent','encrypt','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','iterations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_REJ','ITelemetryService','find','/allowed','map','liveShareOperation','localCacheService','HttpImport','subscribe','NoPadding','_fetchMissChangesets','UPDATE_PERMISSION_OBJ','getResourcesRequest','CommentService','INGEST','Hex','transformUndoRedo','CollaborationSocketService','_applyRemoteChangeset','_startCollaboration','_process','onSendChangeset','ITransformService','_startTelemetryCollaborationNewChangeset','_hasher','_networkConditionService','apply','_onOffline','isTransformMutationsWithChangesetSuccess','&to=','awaiting','rev','UnitStatus','LIVESHARE_NEW_HOST','title','COMMENT_UPDATE','UniverInstanceType','LocaleService','IUndoRedoService','reset','reduce','subUnitId','createIdentifier','refreshPermission','_socketMessageSubscription','_resendWithTimeout','ImageUploadStatusType','_schedule','_toggleOnline','toString','[SyncedState]:\x20received\x20rejection.','LIVESHARE_REQUEST_HOST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','commentUpdateEvent','mapDocumentTypeToUniverType','saveSheetBlock','ImageSourceType','42ZdWXOS','BASE64','[DataLoaderService]','collaboratorID','_replayCachedMutations','m2Prime','ReplaySubject','ONLINE','CollaborationEntity','transformMutationsWithChangeset','size','_showConflictNotification','session','override','963985CXPURn','SheetTransformSelectionsService','pluginName','href','OfflineState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fromCollab','_localCacheService','location','RETRY_CONNECTING_MAX_COUNT_KEY','_status$','ISnapshotServerService','state','CHANGESET_REVISION_CONFILICT','_initDependencies','sequenceExecute','merge','fetchThroughInterceptors','abs','sendChangesetTimeout','CollaborationController','Disposable','CONFLICT','_initMergeInterceptor','hasher','addImageSourceCache','SUBMIT_CHANGESET','_tryEnsureSocket','RECV','_state$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onRemoteRetry','_getCurrentRevision','exports','InsertSheetMutation','session.room-full','socket\x20close','_transformSelections','/block/','_HTTPService','COMPLETION_FINISHED','debug','_sessions','_clearUndo','/object/','telemetry\x20info\x20is\x20not\x20initialized','unpad','data','PendingState','roomInfos','isArray','&assign=','RxDisposable','YUUMI_CONNECTOR_URL_NOT_FOUND','execute','_invKeySchedule','AwaitingState','getCurrentRevOfUnit','_getUploadFileURL','_createInitialState','_joinRoom','7306420OKNYOw','_createHmacHelper','readInt32LE','_substituteRedoStack','_transformUndoredo','228861YZsxvs','MOBILE_VERIFY_CODE_MISMATCH','from','_collabSessionService','SHA1','_clearScheduledTask','getUnitType','_doProcessBlock','Pkcs7','_collaborationPaused','MD5','sigBytes','USER_NOT_INVITED_CODE','/universer-api/snapshot/','Plugin','[UniverCollaborationClientPlugin]','UNIVER_UNKNOWN','unsubscribe','_permissionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_remoteChangesetQueue','onTransformIME'];_0x3020=function(){return _0x924569;};return _0x3020();}class ee{constructor(){var _0x3c471e=_0x507db8;A(this,_0x3c471e(0x17f),new H['Subject']()),A(this,'event$',this[_0x3c471e(0x17f)]['asObservable']());}[_0x507db8(0x1b2)](_0x1798e6){var _0x2d78b3=_0x507db8;this[_0x2d78b3(0x17f)][_0x2d78b3(0x10e)](_0x1798e6);}}class $e{constructor(){var _0x293acd=_0x507db8;A(this,_0x293acd(0x23e),new H[(_0x293acd(0x190))]()),A(this,_0x293acd(0x2d0),this[_0x293acd(0x23e)][_0x293acd(0x1eb)]());}[_0x507db8(0x3cc)](_0x556f7b){var _0x585e76=_0x507db8;this[_0x585e76(0x23e)][_0x585e76(0x10e)](_0x556f7b);}}var Vt=Object[_0x507db8(0x106)],Wt=(_0x479e42,_0x262a88,_0x30d91c,_0x20c7fd)=>{var _0x10f74a=_0x507db8;for(var _0x5ed685=_0x20c7fd>0x1?void 0x0:_0x20c7fd?Vt(_0x262a88,_0x30d91c):_0x262a88,_0x30acbb=_0x479e42[_0x10f74a(0x3a5)]-0x1,_0x55ce44;_0x30acbb>=0x0;_0x30acbb--)(_0x55ce44=_0x479e42[_0x30acbb])&&(_0x5ed685=_0x55ce44(_0x5ed685)||_0x5ed685);return _0x5ed685;},Ve=(_0x1e5b7f,_0x987766)=>(_0x27884f,_0x3c13af)=>_0x987766(_0x27884f,_0x3c13af,_0x1e5b7f);exports[_0x507db8(0x1f8)]=class extends a[_0x507db8(0x356)]{constructor(_0x37cd35,_0x5c0b2a){var _0x2192a0=_0x507db8;super(),A(this,'_roomMembers',new Map()),A(this,'_roomCreated$',new H[(_0x2192a0(0x190))]()),(this['_univerInstanceService']=_0x37cd35,this[_0x2192a0(0x10b)]=_0x5c0b2a,this[_0x2192a0(0x2a5)](H[_0x2192a0(0x351)](this['_univerInstanceService'][_0x2192a0(0x24a)](a[_0x2192a0(0x31e)][_0x2192a0(0xeb)])['pipe'](V['map'](_0x21d010=>_0x21d010['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x2192a0(0x1a7)])['pipe'](V[_0x2192a0(0x2fe)](_0x4b618d=>_0x4b618d[_0x2192a0(0x271)]())),this[_0x2192a0(0x14a)][_0x2192a0(0x24a)](a[_0x2192a0(0x31e)][_0x2192a0(0x1d7)])[_0x2192a0(0x263)](V['map'](_0x5706a2=>_0x5706a2[_0x2192a0(0x271)]())))[_0x2192a0(0x302)](_0x2287e8=>this['_removeRoom'](_0x2287e8))));}[_0x507db8(0x294)](_0x1e5d2b){var _0x4bfa93=_0x507db8;return this[_0x4bfa93(0x165)][_0x4bfa93(0x265)](_0x1e5d2b)?H['of'](this[_0x4bfa93(0x165)][_0x4bfa93(0x232)](_0x1e5d2b)):this[_0x4bfa93(0x193)][_0x4bfa93(0x263)](V[_0x4bfa93(0x2fe)](_0x5069a6=>{var _0x439bc6=_0x4bfa93;if(_0x5069a6===_0x1e5d2b)return this[_0x439bc6(0x165)][_0x439bc6(0x232)](_0x5069a6);}));}[_0x507db8(0x43b)](_0x1a12c8){var _0x3393f8=_0x507db8;this[_0x3393f8(0x10b)][_0x3393f8(0x43b)](_0x1a12c8);}['getCurrentUser'](){var _0x286993=_0x507db8;return this[_0x286993(0x10b)][_0x286993(0x2c5)]();}[_0x507db8(0x238)](_0xc643ec,_0x31c4d8){var _0x1277c7=_0x507db8;let _0x505455=this['_roomMembers'][_0x1277c7(0x232)](_0xc643ec);_0x505455||(_0x505455=new Gt(),this[_0x1277c7(0x165)][_0x1277c7(0x408)](_0xc643ec,_0x505455),this[_0x1277c7(0x193)][_0x1277c7(0x10e)](_0xc643ec)),_0x505455['updateMember'](_0x31c4d8);}['removeMember'](_0x40d2e8,_0x50fd22){var _0x166f72=_0x507db8;const _0x171596=this['_roomMembers'][_0x166f72(0x232)](_0x40d2e8);_0x171596&&_0x171596[_0x166f72(0x1b0)](_0x50fd22);}[_0x507db8(0x296)](_0x275b0b){var _0x292a6e=_0x507db8;return this[_0x292a6e(0x165)][_0x292a6e(0x232)](_0x275b0b);}[_0x507db8(0x29e)](_0x2d173f,_0x3193a7){var _0x2f157b=_0x507db8;const _0x4645fe=this[_0x2f157b(0x165)][_0x2f157b(0x232)](_0x2d173f);if(_0x4645fe)return _0x4645fe[_0x2f157b(0x29e)](_0x3193a7);}[_0x507db8(0x143)](_0x33e1a3){var _0x326d9e=_0x507db8;const _0x20e199=this[_0x326d9e(0x165)]['get'](_0x33e1a3);_0x20e199&&(_0x20e199['dispose'](),this[_0x326d9e(0x165)][_0x326d9e(0x465)](_0x33e1a3));}[_0x507db8(0x2c8)](){var _0x37916e=_0x507db8;this[_0x37916e(0x165)][_0x37916e(0x3b3)](_0x36a9e8=>_0x36a9e8[_0x37916e(0x2c8)]()),this['_roomMembers'][_0x37916e(0x2b4)](),this[_0x37916e(0x193)][_0x37916e(0x1cf)]();}},exports['MemberService']=Wt([Ve(0x0,a[_0x507db8(0x27c)]),Ve(0x1,a[_0x507db8(0x261)](a[_0x507db8(0xfd)]))],exports['MemberService']);class Gt extends a[_0x507db8(0x356)]{constructor(){var _0x1f745f=_0x507db8;super(...arguments),A(this,_0x1f745f(0x1a5),new Map()),A(this,_0x1f745f(0x427),new H['BehaviorSubject'](this['_members'])),A(this,_0x1f745f(0x239),this[_0x1f745f(0x427)][_0x1f745f(0x1eb)]());}['dispose'](){var _0x199f5d=_0x507db8;this['_members'][_0x199f5d(0x2b4)]();}[_0x507db8(0x238)](_0x24f7cc){var _0x4db352=_0x507db8;this['_members'][_0x4db352(0x408)](_0x24f7cc[_0x4db352(0x423)],_0x24f7cc),this[_0x4db352(0x1c7)]();}[_0x507db8(0x1b0)](_0x386ed9){var _0x2ab447=_0x507db8;this[_0x2ab447(0x1a5)][_0x2ab447(0x465)](_0x386ed9);}[_0x507db8(0x29e)](_0x41391e){var _0x12a5e7=_0x507db8;return this[_0x12a5e7(0x1a5)][_0x12a5e7(0x232)](_0x41391e);}[_0x507db8(0x290)](){var _0x2741fa=_0x507db8;return Array[_0x2741fa(0x385)](this[_0x2741fa(0x1a5)][_0x2741fa(0x20a)]());}[_0x507db8(0x1c7)](){var _0x270327=_0x507db8;this[_0x270327(0x427)][_0x270327(0x10e)](this[_0x270327(0x1a5)]);}}var Yt=Object[_0x507db8(0x106)],qt=(_0x26252b,_0x4ef221,_0x2321a9,_0x266422)=>{for(var _0x1caaf5=_0x266422>0x1?void 0x0:_0x266422?Yt(_0x4ef221,_0x2321a9):_0x4ef221,_0x226139=_0x26252b['length']-0x1,_0x1a89b0;_0x226139>=0x0;_0x226139--)(_0x1a89b0=_0x26252b[_0x226139])&&(_0x1caaf5=_0x1a89b0(_0x1caaf5)||_0x1caaf5);return _0x1caaf5;},ce=(_0x4bdd04,_0x54a55c)=>(_0x1539f7,_0x2163cd)=>_0x54a55c(_0x1539f7,_0x2163cd,_0x4bdd04),re=(_0xc169af=>(_0xc169af[_0xc169af[_0x507db8(0x12d)]=0x0]='IDLE',_0xc169af[_0xc169af[_0x507db8(0x208)]=0x1]=_0x507db8(0x208),_0xc169af[_0xc169af[_0x507db8(0x457)]=0x2]=_0x507db8(0x457),_0xc169af[_0xc169af[_0x507db8(0x33a)]=0x3]=_0x507db8(0x33a),_0xc169af))(re||{});const We={[se[_0x507db8(0x42d)]]:_0x507db8(0x144),[se['JOIN_ROOM_FULL']]:_0x507db8(0x364),[se[_0x507db8(0x3d3)]]:'session.room-not-exists',[se[_0x507db8(0x3d8)]]:_0x507db8(0x223),[se[_0x507db8(0x25d)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x1c62fd,_0x21d63c,_0x3a611a,_0x36f1b8,_0x131360,_0x4390a0,_0xc33d1,_0x56137f){var _0x18bd64=_0x507db8;super(),A(this,_0x18bd64(0x1e9),new H['BehaviorSubject'](0x0)),A(this,_0x18bd64(0x3fc),this['_sessionStatus$'][_0x18bd64(0x1eb)]()),A(this,_0x18bd64(0x17f),new H['Subject']()),A(this,'event$',this[_0x18bd64(0x17f)][_0x18bd64(0x1eb)]()),A(this,_0x18bd64(0x148)),A(this,_0x18bd64(0x326)),A(this,_0x18bd64(0x2c4)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x18bd64(0x16c),null),(this[_0x18bd64(0x155)]=_0x1c62fd,this[_0x18bd64(0x2db)]=_0x3a611a,this['_configService']=_0x36f1b8,this['_memberService']=_0x131360,this[_0x18bd64(0x461)]=_0x4390a0,this['_collaborationUIEventService']=_0xc33d1,this[_0x18bd64(0x293)]=_0x56137f,this[_0x18bd64(0x44e)]=!!this[_0x18bd64(0x293)],_0x21d63c[_0x18bd64(0x263)](H[_0x18bd64(0x266)](this['dispose$']))[_0x18bd64(0x302)](_0x3083e9=>{var _0x4b8595=_0x18bd64,_0x49865a;typeof _0x3083e9>'u'||(this[_0x4b8595(0x148)]=_0x3083e9,_0x3083e9?(this[_0x4b8595(0x37d)](_0x3083e9),this[_0x4b8595(0x326)]=_0x3083e9[_0x4b8595(0x277)][_0x4b8595(0x302)](_0x474646=>{var _0x2e0a31=_0x4b8595;_0x474646[_0x2e0a31(0x142)]===this['_unitID']&&this['_onCombEvent'](_0x474646);})):(this[_0x4b8595(0x117)](),this[_0x4b8595(0x1e9)][_0x4b8595(0x10e)](0x2),(_0x49865a=this[_0x4b8595(0x326)])==null||_0x49865a[_0x4b8595(0x394)](),this[_0x4b8595(0x326)]=null));}));}get[_0x507db8(0x3e7)](){var _0x37a375=_0x507db8;return this['_sessionStatus$'][_0x37a375(0x2e0)]();}[_0x507db8(0x233)](){var _0x294709=_0x507db8,_0x1e80dd,_0x5c4664;return(_0x5c4664=(_0x1e80dd=this[_0x294709(0x148)])==null?void 0x0:_0x1e80dd[_0x294709(0x423)])!=null?_0x5c4664:null;}[_0x507db8(0x2c8)](){var _0x5d47d1=_0x507db8;super[_0x5d47d1(0x2c8)](),this[_0x5d47d1(0x41b)]['next'](),this['dispose$'][_0x5d47d1(0x1cf)]();}[_0x507db8(0x12e)](){var _0x3e42ac=_0x507db8,_0xa7f7a9,_0x514308;this[_0x3e42ac(0x117)](),(_0xa7f7a9=this[_0x3e42ac(0x148)])==null||_0xa7f7a9['send']({'cmd':W[_0x3e42ac(0x404)],'data':{'roomID':this[_0x3e42ac(0x155)]}}),(_0x514308=this[_0x3e42ac(0x148)])==null||_0x514308['close'](),this['_event$']['complete'](),this[_0x3e42ac(0x1e9)][_0x3e42ac(0x1cf)](),this[_0x3e42ac(0x2c8)]();}['_onCombEvent'](_0x231857){var _0x3f3340=_0x507db8;_0x231857[_0x3f3340(0x1ed)]===W[_0x3f3340(0x17a)]?this[_0x3f3340(0x3bd)](_0x231857):_0x231857[_0x3f3340(0x1ed)]===W[_0x3f3340(0x35d)]&&this['_onRecvEvent'](_0x231857);}[_0x507db8(0x37d)](_0x112ac6){var _0x47cacb=_0x507db8;this['_sessionStatus$'][_0x47cacb(0x10e)](0x1),_0x112ac6[_0x47cacb(0x1d0)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x47cacb(0x155)]}]}});}[_0x507db8(0x3bd)](_0x1a1eb5){var _0x5f1775=_0x507db8,_0x38d985;if(_0x1a1eb5[_0x5f1775(0x104)]in We){this[_0x5f1775(0x3f9)]['emitEvent']({'id':Z[_0x5f1775(0x2c1)],'data':We[_0x1a1eb5['code']]}),this[_0x5f1775(0x1e9)][_0x5f1775(0x10e)](0x2);return;}this[_0x5f1775(0x1e9)][_0x5f1775(0x10e)](0x3);const _0x1a736b=(_0x38d985=_0x1a1eb5['data'][_0x5f1775(0x372)][this[_0x5f1775(0x155)]])==null?void 0x0:_0x38d985['members'];_0x1a736b&&_0x1a736b[_0x5f1775(0x3b3)](_0x2a19f3=>this[_0x5f1775(0x1a1)][_0x5f1775(0x238)](this[_0x5f1775(0x155)],_0x2a19f3));}[_0x507db8(0x3a1)](_0x564f81){var _0x40c983=_0x507db8;try{const _0x4a89fa=_0x564f81['data'];switch(_0x4a89fa['eventID']){case p[_0x40c983(0x45d)][_0x40c983(0x1ff)]:this['_onUserJoin'](_0x4a89fa),this[_0x40c983(0x17f)]['next'](_0x4a89fa);break;case p[_0x40c983(0x45d)]['USERS_LEAVE']:this[_0x40c983(0x3fa)](_0x4a89fa),this[_0x40c983(0x17f)][_0x40c983(0x10e)](_0x4a89fa);break;case p[_0x40c983(0x45d)][_0x40c983(0x179)]:case p[_0x40c983(0x45d)]['CHANGESET_SHOULD_RETRY']:this[_0x40c983(0x1e4)](),this[_0x40c983(0x18e)](),this[_0x40c983(0x17f)][_0x40c983(0x10e)](_0x4a89fa);break;case p['CollaborationEvent'][_0x40c983(0x26a)]:this['_logService'][_0x40c983(0x182)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x40c983(0x3d6)](_0x4a89fa)),this['_event$']['next'](_0x4a89fa);break;case p[_0x40c983(0x45d)][_0x40c983(0x31d)]:this['_commentService']['onCommentUpdate'](_0x4a89fa[_0x40c983(0x370)]),this['_event$']['next'](_0x4a89fa);break;default:this[_0x40c983(0x17f)][_0x40c983(0x10e)](_0x4a89fa);}}catch(_0x3ab904){this[_0x40c983(0x2db)][_0x40c983(0x182)](_0x3ab904,_0x564f81);}}[_0x507db8(0xf4)](_0x2b9dbf){var _0x5f59a9=_0x507db8;this[_0x5f59a9(0x1a1)][_0x5f59a9(0x238)](this[_0x5f59a9(0x155)],_0x2b9dbf[_0x5f59a9(0x370)]);}[_0x507db8(0x3fa)](_0x49eb15){var _0x5781f3=_0x507db8;this[_0x5781f3(0x1a1)][_0x5781f3(0x1b0)](this[_0x5781f3(0x155)],_0x49eb15['data'][_0x5781f3(0x423)]);}async[_0x507db8(0x1d0)](_0x390c80,_0x2261c9){var _0xac75cf=_0x507db8;if(this[_0xac75cf(0x3e7)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x390c80[_0xac75cf(0x139)]===p[_0xac75cf(0x45d)][_0xac75cf(0x35b)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x390c80)),this[_0xac75cf(0x148)][_0xac75cf(0x1d0)]({'cmd':W[_0xac75cf(0x308)],'routeKey':_0x2261c9,'routeType':'','data':_0x390c80});}catch(_0x4d8433){this[_0xac75cf(0x2db)][_0xac75cf(0x182)](_0x4d8433);}}[_0x507db8(0x414)](){var _0x2f88ac=_0x507db8,_0x20565c;this[_0x2f88ac(0x2c4)]=setTimeout(()=>{var _0x53dba1=_0x2f88ac;this[_0x53dba1(0x2c4)]=null,this[_0x53dba1(0x3f9)][_0x53dba1(0x1b2)]({'id':Z[_0x53dba1(0x1bd)]});},(_0x20565c=this[_0x2f88ac(0xec)][_0x2f88ac(0x214)](ke))!=null?_0x20565c:lt);}[_0x507db8(0x18e)](){var _0x334c19=_0x507db8;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x334c19(0x2c4)]=null);}[_0x507db8(0x311)](_0x34c1cc){var _0x402e1f=_0x507db8;if(!this[_0x402e1f(0x44e)])return;const {data:_0x432569}=_0x34c1cc,{unitID:_0x99bf19,changeset:_0x30e702}=_0x432569,{mutations:_0xcfeda8,type:_0x32ec86}=_0x30e702;this[_0x402e1f(0x16c)]={'unitId':_0x99bf19,'type':_0x32ec86,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0xcfeda8)};}[_0x507db8(0x1e4)](){var _0x319672=_0x507db8;if(this[_0x319672(0x44e)]){if(!this[_0x319672(0x16c)]){this['_logService'][_0x319672(0x182)](_0x319672(0x22f),_0x319672(0x36e));return;}this[_0x319672(0x16c)][_0x319672(0x45c)]=performance['now'](),this['_telemetryInfo'][_0x319672(0x105)]=this['_telemetryInfo'][_0x319672(0x45c)]-this['_telemetryInfo'][_0x319672(0x462)],this[_0x319672(0x293)][_0x319672(0x2ed)](Bt,this[_0x319672(0x16c)]),this[_0x319672(0x16c)]=null;}}[_0x507db8(0x117)](){var _0x217289=_0x507db8;this[_0x217289(0x16c)]=null;}},exports[_0x507db8(0x1e3)]=qt([ce(0x2,a[_0x507db8(0xf7)]),ce(0x3,a['IConfigService']),ce(0x4,a[_0x507db8(0x261)](exports['MemberService'])),ce(0x5,a['Inject']($e)),ce(0x6,a['Inject'](ee)),ce(0x7,a[_0x507db8(0x133)](Rt[_0x507db8(0x2fb)]))],exports[_0x507db8(0x1e3)]);const K=a[_0x507db8(0x324)](_0x507db8(0x2ea));function Kt(_0x14fc49){var _0x5a6253=_0x507db8;return _0x5a6253(0x1b5)+_0x14fc49;}var zt=Object[_0x507db8(0x106)],Jt=(_0x42a3ff,_0x538440,_0x2be046,_0x3dc7e9)=>{var _0x43d577=_0x507db8;for(var _0xe6addd=_0x3dc7e9>0x1?void 0x0:_0x3dc7e9?zt(_0x538440,_0x2be046):_0x538440,_0x5e384d=_0x42a3ff[_0x43d577(0x3a5)]-0x1,_0x393a1c;_0x5e384d>=0x0;_0x5e384d--)(_0x393a1c=_0x42a3ff[_0x5e384d])&&(_0xe6addd=_0x393a1c(_0xe6addd)||_0xe6addd);return _0xe6addd;},Ue=(_0x1c44ac,_0x1322b7)=>(_0x546586,_0x45e772)=>_0x1322b7(_0x546586,_0x45e772,_0x1c44ac);function Xt(_0x28e663){var _0x47896e=_0x507db8;const {unitID:_0x217738,mutations:_0x46d061}=_0x28e663;return{'unitId':_0x217738,'subUnitId':_0x46d061[0x0][_0x47896e(0x403)][_0x47896e(0x323)]};}exports[_0x507db8(0x342)]=class{constructor(_0x5be168,_0x431f28,_0x306dca){var _0xa1c22b=_0x507db8;this[_0xa1c22b(0x2b6)]=_0x5be168,this[_0xa1c22b(0x252)]=_0x431f28,this[_0xa1c22b(0x1c4)]=_0x306dca;}[_0x507db8(0x272)](_0x370591){var _0x644606=_0x507db8,_0x1a7d2f,_0x355345,_0x414293,_0x28aaa4;const _0x17eb33=this['_injector'][_0x644606(0x232)](X['SheetsSelectionsService']),{unitId:_0x497a1f,subUnitId:_0x391383}=Xt(_0x370591),_0xa6fb27=_0x17eb33==null?void 0x0:_0x17eb33['getWorkbookSelections'](_0x497a1f)[_0x644606(0x2f0)](),_0xf5584a=(_0x355345=(_0x1a7d2f=this['_instanceService']['getUnit'](_0x497a1f))==null?void 0x0:_0x1a7d2f['getActiveSheet']())==null?void 0x0:_0x355345[_0x644606(0x1f3)]();if(_0xa6fb27[_0x644606(0x3a5)]===0x0||!_0x497a1f||!_0x391383)return;const _0x365713=[{'id':X[_0x644606(0x464)]['id'],'params':{'unitId':_0x497a1f,'subUnitId':_0xf5584a,'selections':a[_0x644606(0x11e)][_0x644606(0x3ff)](_0xa6fb27)}}],_0x1cd7a0=this['_transformService'][_0x644606(0x33c)](_0x370591,_0x365713);if(!p[_0x644606(0x316)](_0x1cd7a0))throw _0x1cd7a0[_0x644606(0x182)];const _0x32b527=(_0x28aaa4=(_0x414293=_0x1cd7a0[_0x644606(0x338)][0x0])==null?void 0x0:_0x414293[_0x644606(0x403)])==null?void 0x0:_0x28aaa4['selections'];if(Array[_0x644606(0x373)](_0x32b527)&&_0x32b527[_0x644606(0x3a5)]){if(_0x32b527[_0x644606(0x3a5)]===_0x365713[0x0][_0x644606(0x403)][_0x644606(0x428)][_0x644606(0x3a5)]&&_0x32b527[_0x644606(0x253)]((_0x5ab457,_0x3d9fe3)=>a[_0x644606(0x213)][_0x644606(0x1af)](_0x5ab457[_0x644606(0x2d1)],_0x365713[0x0]['params']['selections'][_0x3d9fe3][_0x644606(0x2d1)])))return;this['_injector'][_0x644606(0x232)](a['ICommandService'])[_0x644606(0x28b)](X['SetSelectionsOperation']['id'],{'unitId':_0x497a1f,'subUnitId':_0xf5584a,'selections':_0x32b527});}}},exports[_0x507db8(0x342)]=Jt([Ue(0x0,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),Ue(0x1,p[_0x507db8(0x310)]),Ue(0x2,a[_0x507db8(0x27c)])],exports['SheetTransformSelectionsService']);const de=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x18e2b6=>(_0x18e2b6[_0x18e2b6[_0x507db8(0x220)]=0x0]=_0x507db8(0x220),_0x18e2b6[_0x18e2b6[_0x507db8(0x21e)]=0x1]=_0x507db8(0x21e),_0x18e2b6))(He||{});const Y=_0x507db8(0x14f),Zt={},Qt=new Set([X[_0x507db8(0x363)]['id']]);function Ge(_0x5f0884,_0x365dbd,_0x28a7f3,_0x39b510,_0x4ea926){var _0x2f2fb3=_0x507db8,_0x5ae813,_0xc8a9eb,_0x22d8c5,_0xa8e9e2;const _0x38232f=[];for(const _0x42af8d of _0x5f0884)if(Qt['has'](_0x42af8d['id'])){if(_0x38232f['length']>0x0)break;_0x38232f['push'](_0x42af8d);break;}else _0x38232f[_0x2f2fb3(0x299)](_0x42af8d);const _0x2769c8=(_0xc8a9eb=(_0x5ae813=_0x4ea926[_0x2f2fb3(0x2c5)]())==null?void 0x0:_0x5ae813[_0x2f2fb3(0xfe)])!=null?_0xc8a9eb:_0x2f2fb3(0x147),_0x34ab91=(_0xa8e9e2=(_0x22d8c5=_0x4ea926['getCurrentUser']())==null?void 0x0:_0x22d8c5[_0x2f2fb3(0x423)])!=null?_0xa8e9e2:_0x2f2fb3(0x147);return{'changeset':{'unitID':_0x365dbd,'type':p['mapDocumentTypeToUniverType'](_0x28a7f3[_0x2f2fb3(0x389)](_0x365dbd)),'baseRev':_0x39b510['getCurrentRevOfUnit'](_0x365dbd),'revision':0x0,'userID':_0x2769c8,'memberID':_0x34ab91,'mutations':_0x38232f},'pendingMutations':_0x5f0884[_0x2f2fb3(0x3b9)](_0x38232f['length'])};}function ei(_0x294091,_0x5b76bd,_0x13d2e9,_0x4783e0,_0x466eab){var _0x1cc5a7=_0x507db8,_0x33865a,_0x3e84da,_0x343108,_0x165193;const _0x801c56=[_0x294091[_0x1cc5a7(0x322)]((_0xf5ee70,_0x53d256)=>{var _0x136c3d=_0x1cc5a7,_0x481a09;const {id:_0x4ef967}=_0xf5ee70,{id:_0x446443,type:_0x24816f}=_0x53d256,_0x830f2a=(_0x481a09=_0xf5ee70[_0x136c3d(0x403)])!=null?_0x481a09:{'actions':null},_0x106980=_0x53d256[_0x136c3d(0x403)];if(_0x4ef967&&_0x4ef967!==_0x446443)throw new Error(_0x136c3d(0x429)+_0x4ef967+'\x20-\x20'+_0x446443+'.');return{..._0xf5ee70,'id':_0x446443,'type':_0x24816f,'params':{'unitId':_0x106980[_0x136c3d(0x467)],'textRanges':_0x106980[_0x136c3d(0x110)],'actions':a['JSONX'][_0x136c3d(0x3c0)](_0x830f2a[_0x136c3d(0x3d9)],_0x106980[_0x136c3d(0x3d9)])}};},{})],_0x23223e=(_0x3e84da=(_0x33865a=_0x466eab['getCurrentUser']())==null?void 0x0:_0x33865a['userID'])!=null?_0x3e84da:_0x1cc5a7(0x147),_0x1fe4fd=(_0x165193=(_0x343108=_0x466eab[_0x1cc5a7(0x2c5)]())==null?void 0x0:_0x343108[_0x1cc5a7(0x423)])!=null?_0x165193:_0x1cc5a7(0x147);return{'changeset':{'unitID':_0x5b76bd,'type':p[_0x1cc5a7(0x330)](_0x13d2e9['getUnitType'](_0x5b76bd)),'baseRev':_0x4783e0[_0x1cc5a7(0x37a)](_0x5b76bd),'revision':0x0,'userID':_0x23223e,'memberID':_0x1fe4fd,'mutations':_0x801c56},'pendingMutations':[]};}function St(_0x38c6a5,_0x4e189){var _0x160ab9=_0x507db8;const _0x3a6509=new H[(_0x160ab9(0x339))](0x1);return setTimeout(()=>_0x3a6509[_0x160ab9(0x10e)](_0x4e189),_0x38c6a5),_0x3a6509[_0x160ab9(0x1eb)]()[_0x160ab9(0x263)](H[_0x160ab9(0x19f)](0x1));}const ti={'id':X['EmptyMutation']['id'],'type':a[_0x507db8(0x24f)]['MUTATION'],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x2bdd84,_0x436d12,_0x1341a3,_0x2d1a37)=>{var _0x3de882=_0x507db8;for(var _0x2158b8=_0x2d1a37>0x1?void 0x0:_0x2d1a37?ii(_0x436d12,_0x1341a3):_0x436d12,_0x743a77=_0x2bdd84[_0x3de882(0x3a5)]-0x1,_0x4d8ccd;_0x743a77>=0x0;_0x743a77--)(_0x4d8ccd=_0x2bdd84[_0x743a77])&&(_0x2158b8=_0x4d8ccd(_0x2158b8)||_0x2158b8);return _0x2158b8;},w=(_0x5d5cca,_0x2481cb)=>(_0x31087d,_0x54ecef)=>_0x2481cb(_0x31087d,_0x54ecef,_0x5d5cca),je=(_0x553c4f=>(_0x553c4f[_0x507db8(0x28e)]='not_collab',_0x553c4f[_0x507db8(0x19d)]=_0x507db8(0x101),_0x553c4f[_0x507db8(0x1dd)]=_0x507db8(0x2d7),_0x553c4f[_0x507db8(0x262)]=_0x507db8(0x318),_0x553c4f[_0x507db8(0x270)]=_0x507db8(0x426),_0x553c4f[_0x507db8(0x3a0)]=_0x507db8(0x2a8),_0x553c4f[_0x507db8(0x357)]=_0x507db8(0x3c3),_0x553c4f[_0x507db8(0x457)]=_0x507db8(0x122),_0x553c4f))(je||{});const ft=0xea60;class ae{constructor(_0x5efc98,_0xe4bed5,_0x4c30c6,_0x531356,_0x27cddd,_0x37c827,_0x4221b7,_0x1487fc,_0x1a97fb){var _0x53aaf0=_0x507db8;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this[_0x53aaf0(0x202)]=_0x5efc98,this[_0x53aaf0(0x3c2)]=_0xe4bed5,this[_0x53aaf0(0x39e)]=_0x27cddd,this['_commandService']=_0x37c827,this[_0x53aaf0(0x163)]=_0x4221b7,this['_revisionService']=_0x1487fc,this[_0x53aaf0(0x348)]=_0x1a97fb,this[_0x53aaf0(0x24b)]=_0x4c30c6,this[_0x53aaf0(0x2f1)]=_0x531356);}['_checkMissing'](_0x864b9d){var _0x2c06ec=_0x507db8;const _0x515f91=this['_revisionService'][_0x2c06ec(0x37a)](this[_0x2c06ec(0x202)]);return _0x864b9d[_0x2c06ec(0x1c3)]>_0x515f91+0x1?(this[_0x2c06ec(0x39e)][_0x2c06ec(0xef)]({'from':_0x515f91,'to':_0x864b9d[_0x2c06ec(0x1c3)]-0x1}),!0x0):!0x1;}[_0x507db8(0x382)](_0x5df18d){var _0x246b07=_0x507db8;this['_undoRedoService']['transformUndoRedo'](this[_0x246b07(0x202)],_0x5df18d);}[_0x507db8(0x366)](_0x21c584){var _0x2f8c30=_0x507db8,_0x56cd4e,_0xecc113;(_0xecc113=(_0x56cd4e=this[_0x2f8c30(0x39e)])[_0x2f8c30(0x1f0)])==null||_0xecc113[_0x2f8c30(0x17b)](_0x56cd4e,_0x21c584);}[_0x507db8(0x164)](_0x1dfa13){var _0x17998d=_0x507db8,_0x569b68,_0x46984b;return(_0x46984b=(_0x569b68=this[_0x17998d(0x39e)])[_0x17998d(0x398)])==null?void 0x0:_0x46984b[_0x17998d(0x17b)](_0x569b68,_0x1dfa13);}['_transformStateCache'](_0x53fed1){var _0xed34bf,_0x19f2e3;return(_0x19f2e3=(_0xed34bf=this['_handler'])['onTransformState'])==null?void 0x0:_0x19f2e3['call'](_0xed34bf,_0x53fed1);}['_transformRemoteChangesetByIMECache'](_0x4b6bed){var _0x4ce201=_0x507db8,_0x4158a8,_0x15c49c,_0x4ccaf0;return(_0x4ccaf0=(_0x15c49c=(_0x4158a8=this[_0x4ce201(0x39e)])[_0x4ce201(0x276)])==null?void 0x0:_0x15c49c['call'](_0x4158a8,_0x4b6bed))!=null?_0x4ccaf0:_0x4b6bed;}['_transformRemoteChangesetByStateCache'](_0x4f63cb){var _0x4ab932=_0x507db8,_0x4304f2,_0x12866b,_0x484318;return(_0x484318=(_0x12866b=(_0x4304f2=this[_0x4ab932(0x39e)])[_0x4ab932(0x3c4)])==null?void 0x0:_0x12866b[_0x4ab932(0x17b)](_0x4304f2,_0x4f63cb))!=null?_0x484318:_0x4f63cb;}[_0x507db8(0x42f)](_0x382992){var _0xd9e1b3=_0x507db8,_0x1b5e78,_0x331588;if(this[_0xd9e1b3(0x3c2)]===J['UNIVER_DOC']){const {unitID:_0x593e76,mutations:_0x4bd66c,memberID:_0x28c939}=_0x382992,_0x593ee2=_0x4bd66c[0x0]['params'][_0xd9e1b3(0x110)];Array[_0xd9e1b3(0x373)](_0x593ee2)&&_0x593ee2[_0xd9e1b3(0x3a5)]>0x0&&((_0x331588=(_0x1b5e78=this[_0xd9e1b3(0x39e)])[_0xd9e1b3(0x26b)])==null||_0x331588[_0xd9e1b3(0x17b)](_0x1b5e78,{'unitID':_0x593e76,'memberID':_0x28c939,'textRanges':_0x593ee2}));}}[_0x507db8(0x1bf)](){var _0x1dd8b6=_0x507db8,_0x27b20f;(_0x27b20f=this[_0x1dd8b6(0x348)])==null||_0x27b20f[_0x1dd8b6(0x3aa)](this[_0x1dd8b6(0x202)],this[_0x1dd8b6(0x3c2)],this[_0x1dd8b6(0x24b)],this[_0x1dd8b6(0x2f1)]);}[_0x507db8(0x361)](){var _0x2c02d8=_0x507db8;return this[_0x2c02d8(0x231)][_0x2c02d8(0x37a)](this['unitID']);}[_0x507db8(0x1a2)](){var _0x4e248f=_0x507db8;this[_0x4e248f(0x231)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x3d5c42){var _0x434fb1=_0x507db8,_0x38885d;let _0x3114a6=this[_0x434fb1(0x411)](_0x3d5c42);_0x3114a6=this[_0x434fb1(0x244)](_0x3114a6);const _0x5269c3=a[_0x434fb1(0x350)](_0x3114a6['mutations'],this[_0x434fb1(0x159)],{'fromCollab':!0x0});if(!_0x5269c3['result'])throw _0x5269c3[_0x434fb1(0x182)]instanceof Error?_0x5269c3[_0x434fb1(0x182)]:new Error((_0x38885d=_0x5269c3[_0x434fb1(0x182)])!=null?_0x38885d:_0x434fb1(0x23b));this['_transformIMECache'](_0x3114a6),this[_0x434fb1(0x3fd)](_0x3114a6),this[_0x434fb1(0x382)](_0x3d5c42),this[_0x434fb1(0x366)](_0x3114a6),this['_syncEditingCollabCursor'](_0x3114a6),this[_0x434fb1(0x1a2)]();}}exports['SyncedState']=class extends ae{constructor(_0x813d89,_0x4871ec,_0x501f99,_0x18d110,_0x4bee60,_0x1cab39,_0xacaaec,_0x2a3508,_0xd48e65,_0x5720a9){var _0x2029a2=_0x507db8;super(_0x813d89,_0x4871ec,null,[],_0x501f99,_0xacaaec,_0x1cab39,_0x18d110,_0x5720a9),A(this,'status',_0x2029a2(0x101)),(this[_0x2029a2(0x2b6)]=_0x4bee60,this[_0x2029a2(0x2db)]=_0x2a3508,this['_transformService']=_0xd48e65,this[_0x2029a2(0x300)]=_0x5720a9);}[_0x507db8(0x1f1)](_0x21806d){var _0x182a19=_0x507db8;const _0x10f940=this[_0x182a19(0x2b6)][_0x182a19(0x140)](exports[_0x182a19(0x371)],this[_0x182a19(0x202)],this[_0x182a19(0x3c2)],[_0x21806d],this[_0x182a19(0x39e)]);return _0x10f940[_0x182a19(0x329)](),_0x10f940[_0x182a19(0x1bf)](),_0x10f940;}[_0x507db8(0x422)](_0x324e00){var _0x3eb768=_0x507db8;if(this[_0x3eb768(0x12f)](_0x324e00))return this['_injector'][_0x3eb768(0x140)](exports['FetchingMissState'],this[_0x3eb768(0x202)],this[_0x3eb768(0x3c2)],null,[],null,[_0x324e00],this['_handler']);try{const _0x322c00=this[_0x3eb768(0x252)][_0x3eb768(0x33c)](_0x324e00,[ti]);if(p[_0x3eb768(0x316)](_0x322c00)){const {c1Prime:_0x46e8b7}=_0x322c00;return this[_0x3eb768(0x12c)](_0x46e8b7),this;}throw _0x322c00[_0x3eb768(0x182)];}catch(_0x4a4b01){return this['_logService'][_0x3eb768(0x182)](_0x4a4b01),this['_onConflict'](!0x1);}}[_0x507db8(0x114)](_0x5255a6){var _0x175fd8=_0x507db8;return this[_0x175fd8(0x2b6)][_0x175fd8(0x140)](exports[_0x175fd8(0x1ea)],this[_0x175fd8(0x202)],this[_0x175fd8(0x3c2)],null,[],this[_0x175fd8(0x39e)],_0x5255a6);}['onRemoteAck'](){var _0x59653f=_0x507db8;throw new Error(_0x59653f(0x126));}[_0x507db8(0xfb)](){var _0x252e9b=_0x507db8;throw new Error(_0x252e9b(0x32c));}['onRemoteRetry'](){return this;}[_0x507db8(0x201)](){var _0x31fb0c=_0x507db8;return this[_0x31fb0c(0x2b6)][_0x31fb0c(0x140)](exports['OfflineState'],this[_0x31fb0c(0x202)],this[_0x31fb0c(0x3c2)],null,[],this[_0x31fb0c(0x39e)]);}['toggleOnline'](){return this;}[_0x507db8(0x2af)](){var _0x3450dd=_0x507db8;throw new Error(_0x3450dd(0x225));}[_0x507db8(0x11b)](){var _0x27bcd0=_0x507db8;const _0x5c1b01=this['_revisionService'][_0x27bcd0(0x37a)](this[_0x27bcd0(0x202)]);return this['_handler'][_0x27bcd0(0xef)]({'from':_0x5c1b01,'to':0x0}),this[_0x27bcd0(0x2b6)]['createInstance'](exports[_0x27bcd0(0x3bf)],this[_0x27bcd0(0x202)],this[_0x27bcd0(0x3c2)],null,[],null,[],this[_0x27bcd0(0x39e)]);}},exports[_0x507db8(0x28c)]=oe([w(0x3,a[_0x507db8(0x261)](p[_0x507db8(0x27d)])),w(0x4,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),w(0x5,a[_0x507db8(0x320)]),w(0x6,a[_0x507db8(0x260)]),w(0x7,a[_0x507db8(0xf7)]),w(0x8,p[_0x507db8(0x310)]),w(0x9,a['Optional'](K))],exports['SyncedState']),exports[_0x507db8(0x371)]=class extends ae{constructor(_0x1768a3,_0x57a5ff,_0x589e60,_0x4080fb,_0x1fc5fa,_0x3ff750,_0x66b3b,_0x17148c,_0x10cbef,_0x5f42dc,_0x5052fb,_0x383e69,_0xa53b87,_0x4f8afb){var _0x1d2e3b=_0x507db8;super(_0x1768a3,_0x57a5ff,null,_0x589e60,_0x4080fb,_0x10cbef,_0xa53b87,_0x3ff750,_0x4f8afb),A(this,_0x1d2e3b(0x3e1),_0x1d2e3b(0x2d7)),A(this,_0x1d2e3b(0x249),null),A(this,_0x1d2e3b(0x45f),null),(this['_injector']=_0x1fc5fa,this[_0x1d2e3b(0x1a1)]=_0x66b3b,this['_logService']=_0x17148c,this[_0x1d2e3b(0xec)]=_0x5f42dc,this[_0x1d2e3b(0x252)]=_0x5052fb,this[_0x1d2e3b(0x14a)]=_0x383e69);}[_0x507db8(0x1f1)](_0xeb78ed){var _0x28a84c=_0x507db8;return this[_0x28a84c(0x2f1)][_0x28a84c(0x299)](_0xeb78ed),this[_0x28a84c(0x1bf)](),this;}[_0x507db8(0x422)](_0x2d451d){var _0x3ef165=_0x507db8;if(this[_0x3ef165(0x12f)](_0x2d451d))return this[_0x3ef165(0x388)](),this[_0x3ef165(0x2b6)]['createInstance'](exports['FetchingMissState'],this[_0x3ef165(0x202)],this['type'],null,this[_0x3ef165(0x2f1)],null,[_0x2d451d],this[_0x3ef165(0x39e)]);try{const _0x1a7542=this[_0x3ef165(0x252)][_0x3ef165(0x33c)](_0x2d451d,this['_pendingMutations']);if(p[_0x3ef165(0x316)](_0x1a7542)){const {c1Prime:_0x5c9b81,m2Prime:_0x22d824}=_0x1a7542;this['_executeRemoteChangeset'](_0x5c9b81);const _0x2bb170=this[_0x3ef165(0x2b6)][_0x3ef165(0x140)](exports[_0x3ef165(0x371)],this[_0x3ef165(0x202)],this[_0x3ef165(0x3c2)],_0x22d824,this[_0x3ef165(0x39e)]);this[_0x3ef165(0x388)]();const _0x3c3f74=new Date()[_0x3ef165(0x199)](),_0x32b81c=this['_scheduleCompleteTimestamp']?Math[_0x3ef165(0x230)](this[_0x3ef165(0x249)]-_0x3c3f74,0x0):this[_0x3ef165(0x42c)]();return _0x2bb170[_0x3ef165(0x329)](_0x32b81c),_0x2bb170;}throw _0x1a7542['error'];}catch(_0x49eaf3){return this[_0x3ef165(0x2db)][_0x3ef165(0x182)](_0x49eaf3),this['_onConflict'](!0x1);}}[_0x507db8(0x273)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x507db8(0xfb)](){var _0x55d6de=_0x507db8;throw new Error(_0x55d6de(0x3ba));}[_0x507db8(0x360)](){return this;}[_0x507db8(0x201)](){var _0x5ea881=_0x507db8;return this[_0x5ea881(0x388)](),this['_injector'][_0x5ea881(0x140)](exports['OfflineState'],this[_0x5ea881(0x202)],this['type'],null,this['_pendingMutations'],this[_0x5ea881(0x39e)]);}[_0x507db8(0x2ae)](){return this;}[_0x507db8(0x329)](_0x149f2b){var _0x256846=_0x507db8;const _0xc09f9=_0x149f2b!=null?_0x149f2b:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x256846(0x199)]()+_0xc09f9,this['_sendingTimer']=setTimeout(()=>{var _0x54a93e=_0x256846;this[_0x54a93e(0x388)]();let _0x5f91b7=null;switch(this[_0x54a93e(0x3c2)]){case J[_0x54a93e(0xeb)]:{_0x5f91b7=Ge(this[_0x54a93e(0x2f1)],this[_0x54a93e(0x202)],this[_0x54a93e(0x14a)],this['_revisionService'],this['_memberService']);break;}case J[_0x54a93e(0x1a7)]:{this[_0x54a93e(0x2f1)][_0x54a93e(0x253)](_0x2a0f05=>_0x2a0f05['id']===ct['RichTextEditingMutation']['id'])?_0x5f91b7=ei(this[_0x54a93e(0x2f1)],this[_0x54a93e(0x202)],this[_0x54a93e(0x14a)],this[_0x54a93e(0x231)],this[_0x54a93e(0x1a1)]):_0x5f91b7=Ge(this[_0x54a93e(0x2f1)],this[_0x54a93e(0x202)],this[_0x54a93e(0x14a)],this[_0x54a93e(0x231)],this[_0x54a93e(0x1a1)]);break;}default:throw new Error(_0x54a93e(0x234)+this[_0x54a93e(0x3c2)]+_0x54a93e(0x26e));}const {changeset:_0x32952c,pendingMutations:_0x1adf93}=_0x5f91b7;this[_0x54a93e(0x39e)][_0x54a93e(0x30f)](_0x32952c);const _0x4d37a0=_0x1adf93[_0x54a93e(0x3a5)]?this['_injector'][_0x54a93e(0x140)](exports[_0x54a93e(0x20c)],this['unitID'],this[_0x54a93e(0x3c2)],_0x32952c,_0x1adf93,this[_0x54a93e(0x39e)],void 0x0):this[_0x54a93e(0x2b6)][_0x54a93e(0x140)](exports[_0x54a93e(0x379)],this[_0x54a93e(0x202)],this[_0x54a93e(0x3c2)],_0x32952c,this[_0x54a93e(0x39e)]);_0x4d37a0[_0x54a93e(0x1bf)](),this[_0x54a93e(0x39e)][_0x54a93e(0x43c)](this,_0x4d37a0);},_0xc09f9);}[_0x507db8(0x42c)](){var _0x3cd200=_0x507db8,_0x51c51d;const _0x52e9de=this['_configService'][_0x3cd200(0x214)](Y);return(_0x51c51d=_0x52e9de==null?void 0x0:_0x52e9de[_0x3cd200(0x354)])!=null?_0x51c51d:Ut;}[_0x507db8(0x2af)](){var _0x16193b=_0x507db8;throw new Error(_0x16193b(0x210));}[_0x507db8(0x388)](){var _0x1f4d1c=_0x507db8;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f4d1c(0x45f)]),this[_0x1f4d1c(0x45f)]=null);}[_0x507db8(0x114)](_0x2a76ac){var _0x1d4c94=_0x507db8;return this['_clearScheduledTask'](),this[_0x1d4c94(0x2b6)][_0x1d4c94(0x140)](exports[_0x1d4c94(0x1ea)],this[_0x1d4c94(0x202)],this['type'],null,this['_pendingMutations'],this[_0x1d4c94(0x39e)],_0x2a76ac);}},exports[_0x507db8(0x371)]=oe([w(0x4,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),w(0x5,a['Inject'](p[_0x507db8(0x27d)])),w(0x6,a[_0x507db8(0x261)](exports[_0x507db8(0x1f8)])),w(0x7,a[_0x507db8(0xf7)]),w(0x8,a[_0x507db8(0x260)]),w(0x9,a[_0x507db8(0x198)]),w(0xa,p[_0x507db8(0x310)]),w(0xb,a[_0x507db8(0x27c)]),w(0xc,a[_0x507db8(0x320)]),w(0xd,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x371)]),exports[_0x507db8(0x379)]=class extends ae{constructor(_0x27272a,_0x2ece17,_0x19b7d8,_0x8b21f3,_0x3d2a28,_0x464bab,_0x3825be,_0xf40aaa,_0xf5897f,_0x54878a,_0x2cb4d1){var _0x2b7b62=_0x507db8;super(_0x27272a,_0x2ece17,_0x19b7d8,[],_0x8b21f3,_0x3825be,_0x54878a,_0x464bab,_0x2cb4d1),A(this,_0x2b7b62(0x3e1),_0x2b7b62(0x318)),A(this,_0x2b7b62(0x1e2),0x0),A(this,_0x2b7b62(0x150)),A(this,_0x2b7b62(0x13d)),(this[_0x2b7b62(0x2b6)]=_0x3d2a28,this[_0x2b7b62(0x2db)]=_0xf40aaa,this[_0x2b7b62(0x252)]=_0xf5897f);}['appendMutation'](_0x1dd65f){var _0x3c31fa=_0x507db8;this[_0x3c31fa(0x388)]();const _0x5e136b=this[_0x3c31fa(0x2b6)][_0x3c31fa(0x140)](exports[_0x3c31fa(0x20c)],this['unitID'],this[_0x3c31fa(0x3c2)],this['_awaitingChangeset'],[_0x1dd65f],this['_handler'],this[_0x3c31fa(0x150)]);return _0x5e136b[_0x3c31fa(0x1bf)](),_0x5e136b;}[_0x507db8(0x422)](_0x3b2ca1){var _0xd75372=_0x507db8;if(this['_checkMissing'](_0x3b2ca1))return this[_0xd75372(0x388)](),this[_0xd75372(0x2b6)][_0xd75372(0x140)](exports[_0xd75372(0x3bf)],this[_0xd75372(0x202)],this[_0xd75372(0x3c2)],this[_0xd75372(0x24b)],[],null,[_0x3b2ca1],this[_0xd75372(0x39e)]);try{const _0x5a37c0=this[_0xd75372(0x252)][_0xd75372(0x406)]([_0x3b2ca1],[this[_0xd75372(0x24b)]],!0x1);if(p[_0xd75372(0x1c2)](_0x5a37c0)){const {c1Prime:_0x1bf26f,c2Prime:_0x45eb09}=_0x5a37c0;this[_0xd75372(0x12c)](_0x1bf26f[0x0]),_0x45eb09[0x0][_0xd75372(0x1ae)]=this[_0xd75372(0x361)](),this[_0xd75372(0x388)]();const _0x10bd3f=this[_0xd75372(0x2b6)]['createInstance'](exports[_0xd75372(0x379)],this[_0xd75372(0x202)],this['type'],_0x45eb09[0x0],this[_0xd75372(0x39e)]);return _0x10bd3f[_0xd75372(0x1bf)](),_0x10bd3f;}return this[_0xd75372(0x114)](!0x1);}catch(_0x105924){return this[_0xd75372(0x2db)][_0xd75372(0x182)](_0x105924),this[_0xd75372(0x114)](!0x1);}}[_0x507db8(0x273)](_0x327c69){var _0x36e462=_0x507db8;this[_0x36e462(0x388)]();const _0x3bff9a=this[_0x36e462(0x231)]['getCurrentRevOfUnit'](this['unitID']);if(_0x327c69[_0x36e462(0x1c3)]<_0x3bff9a-0x1)return this;if(this[_0x36e462(0x12f)](_0x327c69))return this['_injector'][_0x36e462(0x140)](exports[_0x36e462(0x3bf)],this[_0x36e462(0x202)],this[_0x36e462(0x3c2)],null,[],this[_0x36e462(0x24b)],[],this[_0x36e462(0x39e)]);this[_0x36e462(0x1a2)]();const _0x54011b=this[_0x36e462(0x2b6)][_0x36e462(0x140)](exports[_0x36e462(0x28c)],this[_0x36e462(0x202)],this[_0x36e462(0x3c2)],this[_0x36e462(0x39e)]);return _0x54011b['_updateLocalCache'](),_0x54011b;}[_0x507db8(0xfb)](_0x138251){var _0x1e4f6f=_0x507db8;return this[_0x1e4f6f(0x114)](!!(_0x138251!=null&&_0x138251[_0x1e4f6f(0xff)]));}['onRemoteRetry'](_0x5c146a){var _0x1ec8ee=_0x507db8;return this[_0x1ec8ee(0x1e2)]>ft?this[_0x1ec8ee(0x201)]():(this['_resendTimer']=St(this[_0x1ec8ee(0x1e2)],{'timeout':this[_0x1ec8ee(0x1e2)],'reqId':_0x5c146a[_0x1ec8ee(0xf2)]}),this['_sender']=this[_0x1ec8ee(0x150)]['subscribe'](({reqId:_0x41dca5,timeout:_0x1d1248})=>{var _0x5a1f4c=_0x1ec8ee;this[_0x5a1f4c(0x327)](_0x41dca5,_0x1d1248);}),this);}[_0x507db8(0x201)](){var _0x554e23=_0x507db8;return this[_0x554e23(0x388)](),this['_injector'][_0x554e23(0x140)](exports[_0x554e23(0x345)],this[_0x554e23(0x202)],this['type'],this[_0x554e23(0x24b)],[],this[_0x554e23(0x39e)]);}[_0x507db8(0x2ae)](){return this;}[_0x507db8(0x2af)](){var _0x532e3d=_0x507db8;this['_handler']['onSendChangeset'](this[_0x532e3d(0x24b)]);}['_onConflict'](_0x5e3e07){var _0x5d4652=_0x507db8;return this[_0x5d4652(0x388)](),this[_0x5d4652(0x2b6)][_0x5d4652(0x140)](exports[_0x5d4652(0x1ea)],this[_0x5d4652(0x202)],this[_0x5d4652(0x3c2)],this[_0x5d4652(0x24b)],[],this[_0x5d4652(0x39e)],_0x5e3e07);}['_resendWithTimeout'](_0xe31092,_0x5806e0){var _0x1c51a6=_0x507db8,_0x17e83a;_0xe31092===((_0x17e83a=this['_awaitingChangeset'])==null?void 0x0:_0x17e83a['reqId'])&&(this[_0x1c51a6(0x2af)](),this[_0x1c51a6(0x1e2)]=_0x5806e0===0x0?0x3e8:_0x5806e0*0x2);}[_0x507db8(0x388)](){var _0x367a3b=_0x507db8,_0x45d41e;(_0x45d41e=this[_0x367a3b(0x13d)])==null||_0x45d41e[_0x367a3b(0x394)](),this[_0x367a3b(0x1e2)]=0x0;}},exports[_0x507db8(0x379)]=oe([w(0x4,a['Inject'](a[_0x507db8(0x11d)])),w(0x5,a['Inject'](p[_0x507db8(0x27d)])),w(0x6,a[_0x507db8(0x260)]),w(0x7,a['ILogService']),w(0x8,p[_0x507db8(0x310)]),w(0x9,a[_0x507db8(0x320)]),w(0xa,a[_0x507db8(0x133)](K))],exports['AwaitingState']),exports[_0x507db8(0x20c)]=class extends ae{constructor(_0x52183e,_0x1e9a77,_0x3feb74,_0x43b877,_0x5b3d69,_0x34783b,_0x478680,_0x48156a,_0x1160b4,_0x4b4a8c,_0x1bef70,_0x227c84,_0x3f7d05){var _0x32e0a4=_0x507db8;super(_0x52183e,_0x1e9a77,_0x3feb74,_0x43b877,_0x5b3d69,_0x1160b4,_0x227c84,_0x48156a,_0x3f7d05),A(this,_0x32e0a4(0x3e1),_0x32e0a4(0x426)),A(this,_0x32e0a4(0x1e2),0x0),A(this,_0x32e0a4(0x150)),A(this,_0x32e0a4(0x13d)),(this['_injector']=_0x478680,this['_logService']=_0x4b4a8c,this['_transformService']=_0x1bef70,this['localCacheService']=_0x3f7d05,_0x34783b&&(this['_resendTimer']=_0x34783b,this[_0x32e0a4(0x13d)]=this['_resendTimer'][_0x32e0a4(0x302)](({reqId:_0x2390a7,timeout:_0x575840})=>{var _0x510043=_0x32e0a4;this[_0x510043(0x327)](_0x2390a7,_0x575840);})));}[_0x507db8(0x1f1)](_0x3a146d){var _0x39380a=_0x507db8;return this[_0x39380a(0x2f1)][_0x39380a(0x299)](_0x3a146d),this;}[_0x507db8(0x422)](_0x14a8ec){var _0x366181=_0x507db8;if(this[_0x366181(0x12f)](_0x14a8ec))return this['_clearScheduledTask'](),this[_0x366181(0x2b6)][_0x366181(0x140)](exports[_0x366181(0x3bf)],this[_0x366181(0x202)],this[_0x366181(0x3c2)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x14a8ec],this[_0x366181(0x39e)]);try{const _0x5d54c5=this['_transformService'][_0x366181(0x406)]([_0x14a8ec],[this[_0x366181(0x24b)]],!0x1);if(p[_0x366181(0x1c2)](_0x5d54c5)){const {c1Prime:_0x3680ae,c2Prime:_0x4b3d8b}=_0x5d54c5,_0x7b1efe=this[_0x366181(0x252)][_0x366181(0x33c)](_0x3680ae[0x0],this['_pendingMutations']);if(p[_0x366181(0x316)](_0x7b1efe)){const {c1Prime:_0x41853c,m2Prime:_0x5840c1}=_0x7b1efe;return this[_0x366181(0x12c)](_0x41853c),_0x4b3d8b[0x0][_0x366181(0x1ae)]=this[_0x366181(0x361)](),this[_0x366181(0x388)](),this[_0x366181(0x2b6)]['createInstance'](exports[_0x366181(0x20c)],this['unitID'],this[_0x366181(0x3c2)],_0x4b3d8b[0x0],_0x5840c1,this[_0x366181(0x39e)],void 0x0);}throw _0x7b1efe[_0x366181(0x182)];}throw _0x5d54c5[_0x366181(0x182)];}catch(_0x1cfd8b){return this[_0x366181(0x2db)][_0x366181(0x182)](_0x1cfd8b),this['_onConflict'](!0x1);}}[_0x507db8(0x273)](_0x41fd0e){var _0x26988d=_0x507db8;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x41fd0e))return this['_injector']['createInstance'](exports[_0x26988d(0x3bf)],this['unitID'],this[_0x26988d(0x3c2)],null,this['_pendingMutations'],this[_0x26988d(0x24b)],[],this['_handler']);this[_0x26988d(0x1a2)]();const _0x5d430a=this[_0x26988d(0x2b6)][_0x26988d(0x140)](exports['PendingState'],this[_0x26988d(0x202)],this[_0x26988d(0x3c2)],this[_0x26988d(0x2f1)],this['_handler']);return _0x5d430a[_0x26988d(0x329)](),_0x5d430a[_0x26988d(0x1bf)](),_0x5d430a;}['onRemoteRej'](_0x1bd849){var _0x1a1fa4=_0x507db8;return this[_0x1a1fa4(0x114)](!!(_0x1bd849!=null&&_0x1bd849[_0x1a1fa4(0xff)]));}['onRemoteRetry'](_0x4d6dd3){var _0x3ab6c5=_0x507db8;return this[_0x3ab6c5(0x1e2)]>ft?this[_0x3ab6c5(0x201)]():(this['_resendTimer']=St(this[_0x3ab6c5(0x1e2)],{'timeout':this[_0x3ab6c5(0x1e2)],'reqId':_0x4d6dd3[_0x3ab6c5(0xf2)]}),this[_0x3ab6c5(0x13d)]=this[_0x3ab6c5(0x150)][_0x3ab6c5(0x302)](({reqId:_0x18dcca,timeout:_0x1d5e77})=>{var _0x355f29=_0x3ab6c5;this[_0x355f29(0x327)](_0x18dcca,_0x1d5e77);}),this);}[_0x507db8(0x201)](){var _0x594fe8=_0x507db8;return this[_0x594fe8(0x388)](),this['_injector'][_0x594fe8(0x140)](exports[_0x594fe8(0x345)],this[_0x594fe8(0x202)],this[_0x594fe8(0x3c2)],this[_0x594fe8(0x24b)],this[_0x594fe8(0x2f1)],this['_handler']);}[_0x507db8(0x2ae)](){return this;}[_0x507db8(0x2af)](){var _0x176470=_0x507db8;this[_0x176470(0x39e)][_0x176470(0x30f)](this['_awaitingChangeset']);}[_0x507db8(0x114)](_0x2d1846){var _0x5dd98d=_0x507db8;return this[_0x5dd98d(0x388)](),this[_0x5dd98d(0x2b6)]['createInstance'](exports['ConflictState'],this[_0x5dd98d(0x202)],this['type'],null,this[_0x5dd98d(0x2f1)],this[_0x5dd98d(0x39e)],_0x2d1846);}['_resendWithTimeout'](_0x660c8b,_0x386b64){var _0x97725e=_0x507db8,_0x3acae2;_0x660c8b===((_0x3acae2=this['_awaitingChangeset'])==null?void 0x0:_0x3acae2[_0x97725e(0xf2)])&&(this[_0x97725e(0x2af)](),this[_0x97725e(0x1e2)]=_0x386b64===0x0?0x3e8:_0x386b64*0x2);}[_0x507db8(0x388)](){var _0x37b1c2=_0x507db8,_0x33b7e7;(_0x33b7e7=this[_0x37b1c2(0x13d)])==null||_0x33b7e7['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x507db8(0x20c)]=oe([w(0x6,a[_0x507db8(0x261)](a['Injector'])),w(0x7,a[_0x507db8(0x261)](p['RevisionService'])),w(0x8,a[_0x507db8(0x260)]),w(0x9,a[_0x507db8(0xf7)]),w(0xa,p['ITransformService']),w(0xb,a[_0x507db8(0x320)]),w(0xc,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x20c)]),exports[_0x507db8(0x1ea)]=class extends ae{constructor(_0x3e26c6,_0x55e049,_0x5465e2,_0xf0db6f,_0x357e76,_0x5291c0=!0x1,_0x3b0cce,_0x272ff9,_0x1d0c34,_0x44dfb8,_0x5d06b3,_0x5588a6,_0x62a35f){var _0x367ad6=_0x507db8;super(_0x3e26c6,_0x55e049,_0x5465e2,_0xf0db6f,_0x357e76,_0x272ff9,_0x1d0c34,_0x44dfb8,_0x62a35f),A(this,_0x367ad6(0x3e1),_0x367ad6(0x3c3)),(this[_0x367ad6(0x448)]=_0x5291c0,this[_0x367ad6(0x395)]=_0x3b0cce,this[_0x367ad6(0x2a7)]=_0x5d06b3,this[_0x367ad6(0x3f9)]=_0x5588a6,this[_0x367ad6(0x300)]=_0x62a35f,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x367ad6(0x3ab)]());}[_0x507db8(0x1f1)](){return this;}[_0x507db8(0x422)](){return this;}[_0x507db8(0x273)](){return this;}[_0x507db8(0xfb)](){return this;}[_0x507db8(0x360)](){return this;}[_0x507db8(0x201)](){return this;}[_0x507db8(0x2ae)](){return this;}[_0x507db8(0x2af)](){var _0x35e0be=_0x507db8;throw new Error(_0x35e0be(0x3d5));}[_0x507db8(0x281)](){var _0x18addd=_0x507db8,_0x2eb716;(_0x2eb716=this[_0x18addd(0x348)])==null||_0x2eb716['updateOfflineData'](this[_0x18addd(0x202)],this['type'],null,[]);}[_0x507db8(0x33e)](){var _0x4590cf=_0x507db8;this[_0x4590cf(0x448)]?this['_collaborationUIEventService'][_0x4590cf(0x1b2)]({'id':Z[_0x4590cf(0x27f)]}):this[_0x4590cf(0x3f9)][_0x4590cf(0x1b2)]({'id':Z[_0x4590cf(0x357)]});}[_0x507db8(0x3ab)](){var _0x23294a=_0x507db8;this[_0x23294a(0x395)][_0x23294a(0x21f)](new X[(_0x23294a(0x2b5))](this['unitID'])['id'],!0x1);}},exports[_0x507db8(0x1ea)]=oe([w(0x6,a[_0x507db8(0x261)](a['IPermissionService'])),w(0x7,a[_0x507db8(0x260)]),w(0x8,a[_0x507db8(0x320)]),w(0x9,a[_0x507db8(0x261)](p[_0x507db8(0x27d)])),w(0xa,a[_0x507db8(0x261)](a['LocaleService'])),w(0xb,a[_0x507db8(0x261)](ee)),w(0xc,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x1ea)]),exports[_0x507db8(0x345)]=class extends ae{constructor(_0x2ad722,_0x2a100a,_0x28d99c,_0x4831ce,_0x3a3bcf,_0x2e6c0a,_0x355d34,_0xabfbcb,_0x8e5f57,_0x485545){var _0x346386=_0x507db8;super(_0x2ad722,_0x2a100a,_0x28d99c,_0x4831ce,_0x3a3bcf,_0xabfbcb,_0x8e5f57,_0x355d34,_0x485545),A(this,_0x346386(0x3e1),'offline'),this[_0x346386(0x2b6)]=_0x2e6c0a;}[_0x507db8(0x1f1)](_0x2d780d){var _0x1e1f53=_0x507db8;return this[_0x1e1f53(0x2f1)][_0x1e1f53(0x299)](_0x2d780d),this[_0x1e1f53(0x1bf)](),this;}[_0x507db8(0x422)](_0x499ac1){var _0x58d2aa=_0x507db8;throw new Error(_0x58d2aa(0x452));}[_0x507db8(0x273)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x507db8(0xfb)](){var _0x426253=_0x507db8;throw new Error(_0x426253(0x255));}[_0x507db8(0x360)](){return this;}['toggleOffline'](){return this;}[_0x507db8(0x2ae)](){var _0x8513b0=_0x507db8;const {_injector:_0x296704,_pendingMutations:_0x40a3bc,_awaitingChangeset:_0x12a709,unitID:_0x463890,_handler:_0x37a58c,type:_0x3adc9c}=this,_0x35b7c6=It(_0x296704,_0x463890,_0x3adc9c,_0x12a709,_0x40a3bc,_0x37a58c);return _0x35b7c6 instanceof exports[_0x8513b0(0x371)]?_0x35b7c6['_schedule']():(_0x35b7c6 instanceof exports[_0x8513b0(0x20c)]||_0x35b7c6 instanceof exports[_0x8513b0(0x379)])&&_0x35b7c6[_0x8513b0(0x2af)](),_0x35b7c6;}[_0x507db8(0x2af)](){var _0x3fb115=_0x507db8;throw new Error(_0x3fb115(0x3c7));}},exports[_0x507db8(0x345)]=oe([w(0x5,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),w(0x6,a[_0x507db8(0x261)](p['RevisionService'])),w(0x7,a[_0x507db8(0x260)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x345)]),exports[_0x507db8(0x3bf)]=class extends ae{constructor(_0x21c278,_0x53d129,_0xe0d54e,_0x1d7f91,_0x98d1ed,_0x570159,_0x15275b,_0x60000c,_0x59b320,_0x4e304a,_0x14c6e2,_0xef8f9b,_0x4a7cb8,_0x595e37){var _0x62eb0=_0x507db8;super(_0x21c278,_0x53d129,_0xe0d54e,_0x1d7f91,_0x15275b,_0x14c6e2,_0xef8f9b,_0x59b320,_0x595e37),A(this,_0x62eb0(0x3e1),_0x62eb0(0x2a8)),(this[_0x62eb0(0x26c)]=_0x98d1ed,this['_queuedRemoteChangesets']=_0x570159,this[_0x62eb0(0x2b6)]=_0x60000c,this[_0x62eb0(0x2db)]=_0x4e304a,this[_0x62eb0(0x252)]=_0x4a7cb8,this[_0x62eb0(0x300)]=_0x595e37);}[_0x507db8(0x440)](_0x114a89){var _0x455a17=_0x507db8;try{const _0x25510=[..._0x114a89,...this[_0x455a17(0x3ea)]],_0x221f7d=[this[_0x455a17(0x24b)]||this[_0x455a17(0x26c)]][_0x455a17(0x284)](_0x52a711=>!!_0x52a711);let _0x535992,_0xc7f52f;if(_0x221f7d['length']){const _0x1c931a=this[_0x455a17(0x252)][_0x455a17(0x406)](_0x25510,_0x221f7d,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1c931a))throw _0x1c931a[_0x455a17(0x182)];_0x535992=_0x1c931a[_0x455a17(0x107)],_0xc7f52f=_0x1c931a['c2Prime'];}else _0x535992=_0x25510,_0xc7f52f=[];let _0x660e79=this[_0x455a17(0x2f1)];_0x535992['forEach'](_0x4110c7=>{var _0x2fa4ec=_0x455a17;let _0x15202b;if(_0x660e79[_0x2fa4ec(0x3a5)]){const _0x247240=this[_0x2fa4ec(0x252)][_0x2fa4ec(0x33c)](_0x4110c7,_0x660e79);if(!p[_0x2fa4ec(0x316)](_0x247240))throw _0x247240[_0x2fa4ec(0x182)];_0x15202b=_0x247240['c1Prime'],_0x660e79=_0x247240[_0x2fa4ec(0x338)];}else _0x15202b=_0x4110c7;this[_0x2fa4ec(0x12c)](_0x15202b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x455a17(0x1a2)](),this[_0x455a17(0x24b)]&&_0xc7f52f[_0x455a17(0x3a5)]&&(_0xc7f52f[0x0][_0x455a17(0x1ae)]=this[_0x455a17(0x361)]());let _0x1e9d91;if(this[_0x455a17(0x24b)]&&_0x660e79[_0x455a17(0x3a5)]!==0x0)_0x1e9d91=this[_0x455a17(0x2b6)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x455a17(0x3c2)],_0xc7f52f[0x0],_0x660e79,this[_0x455a17(0x39e)],void 0x0);else{if(this['_awaitingChangeset']&&_0x660e79['length']===0x0)_0xc7f52f[0x0][_0x455a17(0x1ae)]=this['_getCurrentRevision'](),_0x1e9d91=this[_0x455a17(0x2b6)][_0x455a17(0x140)](exports[_0x455a17(0x379)],this[_0x455a17(0x202)],this['type'],_0xc7f52f[0x0],this[_0x455a17(0x39e)]);else{if(_0x660e79[_0x455a17(0x3a5)]!==0x0){const _0x5981a8=this['_injector']['createInstance'](exports[_0x455a17(0x371)],this[_0x455a17(0x202)],this[_0x455a17(0x3c2)],_0x660e79,this[_0x455a17(0x39e)]);_0x5981a8[_0x455a17(0x329)](),_0x1e9d91=_0x5981a8;}else _0x1e9d91=this[_0x455a17(0x2b6)][_0x455a17(0x140)](exports[_0x455a17(0x28c)],this[_0x455a17(0x202)],this['type'],this[_0x455a17(0x39e)]);}}return _0x1e9d91[_0x455a17(0x1bf)](),_0x1e9d91;}catch(_0x5126af){return this['_logService'][_0x455a17(0x182)](_0x455a17(0x21a),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5126af),this[_0x455a17(0x2b6)][_0x455a17(0x140)](exports[_0x455a17(0x1ea)],this[_0x455a17(0x202)],this[_0x455a17(0x3c2)],this[_0x455a17(0x24b)],this[_0x455a17(0x2f1)],this[_0x455a17(0x39e)],!0x1);}}['resend'](){var _0x54e514=_0x507db8;throw new Error(_0x54e514(0x222));}[_0x507db8(0x1f1)](_0x447591){var _0x753a43=_0x507db8;return this[_0x753a43(0x2f1)][_0x753a43(0x299)](_0x447591),this;}['onRemoteChangeset'](_0x5472ab){var _0x3ea98f=_0x507db8;return this['_queuedRemoteChangesets'][_0x3ea98f(0x299)](_0x5472ab),this;}[_0x507db8(0x273)](_0x337bf4){var _0x33e1e9=_0x507db8;if(this[_0x33e1e9(0x24b)])return this['_acknowledgedAwaitingChangeset']=this[_0x33e1e9(0x24b)],this[_0x33e1e9(0x24b)]=null,this;throw new Error(_0x33e1e9(0x3cf));}[_0x507db8(0xfb)](_0x5a1ee4){return this['_onConflict'](!!(_0x5a1ee4!=null&&_0x5a1ee4['isPermissionRej']));}[_0x507db8(0x360)](){return this;}['toggleOffline'](){var _0x5e8b63=_0x507db8;return this[_0x5e8b63(0x2b6)][_0x5e8b63(0x140)](exports[_0x5e8b63(0x345)],this[_0x5e8b63(0x202)],this[_0x5e8b63(0x3c2)],this[_0x5e8b63(0x24b)],this[_0x5e8b63(0x2f1)],this[_0x5e8b63(0x39e)]);}[_0x507db8(0x2ae)](){return this;}['_onConflict'](_0x3a895b){var _0x33861c=_0x507db8;return this[_0x33861c(0x2b6)]['createInstance'](exports[_0x33861c(0x1ea)],this[_0x33861c(0x202)],this['type'],this['_awaitingChangeset'],this[_0x33861c(0x2f1)],this[_0x33861c(0x39e)],_0x3a895b);}},exports[_0x507db8(0x3bf)]=oe([w(0x7,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),w(0x8,a[_0x507db8(0x261)](p[_0x507db8(0x27d)])),w(0x9,a[_0x507db8(0xf7)]),w(0xa,a[_0x507db8(0x260)]),w(0xb,a[_0x507db8(0x320)]),w(0xc,p[_0x507db8(0x310)]),w(0xd,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x3bf)]);function It(_0x42f2fb,_0x27858e,_0x3ff255,_0x50920a,_0x19e2ea,_0x10707c){var _0x1ab4fc=_0x507db8;return _0x50920a&&_0x19e2ea[_0x1ab4fc(0x3a5)]?_0x42f2fb['createInstance'](exports[_0x1ab4fc(0x20c)],_0x27858e,_0x3ff255,_0x50920a,_0x19e2ea,_0x10707c,void 0x0):_0x50920a?_0x42f2fb[_0x1ab4fc(0x140)](exports[_0x1ab4fc(0x379)],_0x27858e,_0x3ff255,_0x50920a,_0x10707c):_0x19e2ea[_0x1ab4fc(0x3a5)]?_0x42f2fb['createInstance'](exports[_0x1ab4fc(0x371)],_0x27858e,_0x3ff255,_0x19e2ea,_0x10707c):_0x42f2fb['createInstance'](exports[_0x1ab4fc(0x28c)],_0x27858e,_0x3ff255,_0x10707c);}var ni=Object[_0x507db8(0x106)],Be=(_0x5ae0a7,_0x412932,_0x241d1c,_0x23368f)=>{var _0x465e1e=_0x507db8;for(var _0xade1ec=_0x23368f>0x1?void 0x0:_0x23368f?ni(_0x412932,_0x241d1c):_0x412932,_0x1c5a60=_0x5ae0a7[_0x465e1e(0x3a5)]-0x1,_0x14353a;_0x1c5a60>=0x0;_0x1c5a60--)(_0x14353a=_0x5ae0a7[_0x1c5a60])&&(_0xade1ec=_0x14353a(_0xade1ec)||_0xade1ec);return _0xade1ec;},j=(_0x1dc841,_0x38cd05)=>(_0x59fad6,_0x5d0c40)=>_0x38cd05(_0x59fad6,_0x5d0c40,_0x1dc841);exports[_0x507db8(0x33b)]=class extends a['RxDisposable']{constructor(_0x2499e9,_0x4abefa,_0x1f1915,_0x475394,_0x5dd499,_0x4b9f5,_0x1a883d,_0xf8345,_0xce23f5,_0x245a8e,_0x4c84bd,_0x36a929,_0x49ce35){var _0x4a180d=_0x507db8;super(),A(this,'_state$',new H[(_0x4a180d(0x458))](null)),A(this,_0x4a180d(0x292),this[_0x4a180d(0x35e)][_0x4a180d(0x1eb)]()),A(this,_0x4a180d(0x167)),A(this,'_collaborationPaused',!0x1),A(this,_0x4a180d(0x3ce),''),A(this,_0x4a180d(0x2c2),0x0),A(this,_0x4a180d(0x3c6),this['state$']['pipe'](H[_0x4a180d(0x2fe)](_0x2b5b25=>_0x2b5b25?_0x2b5b25[_0x4a180d(0x3e1)]:je[_0x4a180d(0x457)]),H[_0x4a180d(0x431)](0x1))),A(this,_0x4a180d(0x177),!0x1),A(this,_0x4a180d(0x397),[]),(this[_0x4a180d(0x202)]=_0x2499e9,this['session']=_0x4abefa,this[_0x4a180d(0x287)]=_0x1f1915,this[_0x4a180d(0x2b6)]=_0x475394,this['_compressMutationService']=_0x5dd499,this[_0x4a180d(0x2a7)]=_0x4b9f5,this[_0x4a180d(0x231)]=_0x1a883d,this[_0x4a180d(0x3f8)]=_0xf8345,this[_0x4a180d(0x2db)]=_0xce23f5,this[_0x4a180d(0x159)]=_0x245a8e,this[_0x4a180d(0x395)]=_0x4c84bd,this[_0x4a180d(0x2b3)]=_0x36a929,this[_0x4a180d(0x348)]=_0x49ce35);}get[_0x507db8(0x34d)](){return this['_state'];}async[_0x507db8(0x227)](){var _0x370395=_0x507db8;if(this[_0x370395(0x34d)])throw new Error(_0x370395(0x2f9));await this[_0x370395(0x13c)]();}[_0x507db8(0x2ee)](){var _0x404c87=_0x507db8;return this[_0x404c87(0x38c)]=!0x0,a[_0x404c87(0x3e2)](()=>{var _0x4c64d2=_0x404c87;this['_collaborationPaused']=!0x1,this[_0x4c64d2(0x1dc)]();});}[_0x507db8(0x251)](_0x5cccd8){this['_onLocalMutation'](_0x5cccd8);}[_0x507db8(0x3ca)](_0xe8a21a){var _0x55565f=_0x507db8;this[_0x55565f(0x167)]=_0xe8a21a,this[_0x55565f(0x35e)][_0x55565f(0x10e)](_0xe8a21a);}async['_init'](){var _0x4276f9=_0x507db8,_0x14d0f7;this[_0x4276f9(0x3ca)](await this[_0x4276f9(0x37c)]()),this[_0x4276f9(0x2b3)]&&((_0x14d0f7=this[_0x4276f9(0x2b3)])==null||_0x14d0f7['editingUnit'](this[_0x4276f9(0x202)]),this[_0x4276f9(0x2a5)](this[_0x4276f9(0x2b3)][_0x4276f9(0x288)](this[_0x4276f9(0x202)])[_0x4276f9(0x302)](_0x2537b1=>{var _0x4d792a=_0x4276f9;this[_0x4d792a(0x2db)][_0x4d792a(0x36a)](_0x4d792a(0x1d3),'editing\x20status\x20changed\x20to',_0x2537b1),_0x2537b1===He['OTHER_CLIENTS_EDITING']?(this[_0x4d792a(0x3f8)]['emitEvent']({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x4d792a(0x21f)](new X[(_0x4d792a(0x2b5))](this['unitID'])['id'],!0x1),this[_0x4d792a(0x395)][_0x4d792a(0x421)](!0x1)):(this[_0x4d792a(0x395)]['updatePermissionPoint'](new X[(_0x4d792a(0x2b5))](this[_0x4d792a(0x202)])['id'],!0x0),this[_0x4d792a(0x395)][_0x4d792a(0x421)](!0x0));})));let _0x261119=!0x1;return this[_0x4276f9(0x2a5)](this['session'][_0x4276f9(0x3fc)]['subscribe'](_0x38b2a9=>{var _0x67c20c=_0x4276f9;_0x38b2a9===re['ONLINE']?this['_toggleOnline'](_0x261119):_0x38b2a9===re[_0x67c20c(0x457)]&&(_0x261119=!0x0,this['_toggleOffline']());})),this[_0x4276f9(0x2a5)](this[_0x4276f9(0x33f)][_0x4276f9(0x2d8)][_0x4276f9(0x302)](_0x3b80b2=>{var _0x4aac5b=_0x4276f9;try{switch(_0x3b80b2[_0x4aac5b(0x139)]){case p['CollaborationEvent'][_0x4aac5b(0x170)]:{this[_0x4aac5b(0x125)](p[_0x4aac5b(0x219)](_0x3b80b2[_0x4aac5b(0x370)]));break;}case p['CollaborationEvent'][_0x4aac5b(0x179)]:{this['_onRemoteACK'](_0x3b80b2[_0x4aac5b(0x370)]);break;}case p[_0x4aac5b(0x45d)][_0x4aac5b(0x2fa)]:{this[_0x4aac5b(0x22e)]();break;}case p[_0x4aac5b(0x45d)][_0x4aac5b(0x3e4)]:{this[_0x4aac5b(0x275)](_0x3b80b2[_0x4aac5b(0x370)]);break;}case p['CollaborationEvent'][_0x4aac5b(0x442)]:{this[_0x4aac5b(0x22c)](_0x3b80b2[_0x4aac5b(0x370)][_0x4aac5b(0x111)][_0x4aac5b(0x2fe)](_0xf74390=>p['parseProtocolChangeset'](_0xf74390)));break;}case p[_0x4aac5b(0x45d)]['PERMISSION_REJ']:{this[_0x4aac5b(0x22e)]({'isPermissionRej':!0x0});break;}case p[_0x4aac5b(0x45d)][_0x4aac5b(0x256)]:break;}}catch(_0x2ec575){throw console[_0x4aac5b(0x182)]('Error\x20on\x20receiving\x20event',_0x2ec575),_0x2ec575;}})),this[_0x4276f9(0x167)];}[_0x507db8(0x1fd)](){var _0x72f8a3=_0x507db8;this[_0x72f8a3(0x177)]=!0x1;}[_0x507db8(0x3b5)](){var _0x11ed5d=_0x507db8;if(this['_transitionLocked'])throw new Error(_0x11ed5d(0x2ab));this[_0x11ed5d(0x177)]=!0x0;}['_onLocalMutation'](_0x37aae2){var _0x4e37ea=_0x507db8;this[_0x4e37ea(0x3b5)](),this[_0x4e37ea(0x3ca)](this[_0x4e37ea(0x167)][_0x4e37ea(0x1f1)](_0x37aae2)),this[_0x4e37ea(0x1fd)]();}['_onRemoteChangeset'](_0x4edfaf){var _0xa2252a=_0x507db8;if(!(_0x4edfaf['revision']<=this[_0xa2252a(0x231)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0xa2252a(0x38c)]){this[_0xa2252a(0x397)][_0xa2252a(0x299)](_0x4edfaf);return;}this[_0xa2252a(0x30c)](_0x4edfaf);}}[_0x507db8(0x1dc)](){var _0x1ac57c=_0x507db8;this[_0x1ac57c(0x397)][_0x1ac57c(0x3b3)](_0x71a06d=>this['_applyRemoteChangeset'](_0x71a06d)),this['_remoteChangesetQueue']=[];}[_0x507db8(0x30c)](_0xf268e2){var _0x1b7d81=_0x507db8;const _0x45e20d=this[_0x1b7d81(0x157)]['interceptor'][_0x1b7d81(0x352)](this[_0x1b7d81(0x157)][_0x1b7d81(0x1de)]['getInterceptPoints']()[_0x1b7d81(0x204)])(_0xf268e2[_0x1b7d81(0xf9)],null)||_0xf268e2[_0x1b7d81(0xf9)],_0x1b451a={..._0xf268e2,'mutations':_0x45e20d};this[_0x1b7d81(0x3b5)](),this[_0x1b7d81(0x3ca)](this[_0x1b7d81(0x167)][_0x1b7d81(0x422)](_0x1b451a)),this['_unlockTransition']();}[_0x507db8(0x415)](_0x4a9d2d){var _0x572d7a=_0x507db8;this[_0x572d7a(0x3b5)](),this['_updateState'](this[_0x572d7a(0x167)][_0x572d7a(0x273)](_0x4a9d2d)),this[_0x572d7a(0x1fd)]();}[_0x507db8(0x22e)](_0xebd9e6){var _0x41f7d6=_0x507db8;this['_lockTransition'](),this[_0x41f7d6(0x3ca)](this[_0x41f7d6(0x167)][_0x41f7d6(0xfb)](_0xebd9e6)),this[_0x41f7d6(0x1fd)]();}[_0x507db8(0x275)](_0x4ba5b2){var _0x2f7aec=_0x507db8;this[_0x2f7aec(0x3b5)](),this[_0x2f7aec(0x3ca)](this['_state'][_0x2f7aec(0x360)](_0x4ba5b2)),this[_0x2f7aec(0x1fd)]();}[_0x507db8(0x22c)](_0x4a8f77){var _0x52b5d7=_0x507db8;if(!(this['_state']instanceof exports[_0x52b5d7(0x3bf)]))throw new TypeError(_0x52b5d7(0x35f));const _0x16cae1=_0x4a8f77['map'](_0xdf4173=>{var _0x1ef06a=_0x52b5d7;const _0x225de2=this[_0x1ef06a(0x157)][_0x1ef06a(0x1de)][_0x1ef06a(0x352)](this['_compressMutationService'][_0x1ef06a(0x1de)]['getInterceptPoints']()[_0x1ef06a(0x204)])(_0xdf4173[_0x1ef06a(0xf9)],null)||_0xdf4173[_0x1ef06a(0xf9)];return{..._0xdf4173,'mutations':_0x225de2};});this['_lockTransition'](),this[_0x52b5d7(0x3ca)](this[_0x52b5d7(0x167)][_0x52b5d7(0x440)](_0x16cae1)),this[_0x52b5d7(0x1fd)]();}['_toggleOffline'](){var _0x4bf441=_0x507db8;this[_0x4bf441(0x3b5)](),this['_updateState'](this[_0x4bf441(0x167)][_0x4bf441(0x201)]()),this[_0x4bf441(0x1fd)]();}[_0x507db8(0x32a)](_0x4cdff4=!0x1){var _0x174c40=_0x507db8;this['_lockTransition'](),this[_0x174c40(0x3ca)](this[_0x174c40(0x167)][_0x174c40(0x2ae)]()),this[_0x174c40(0x1fd)]();const _0x257f2d=this['_state'];_0x4cdff4&&_0x257f2d instanceof exports[_0x174c40(0x28c)]&&(this[_0x174c40(0x3b5)](),this[_0x174c40(0x3ca)](_0x257f2d[_0x174c40(0x11b)]()),this['_unlockTransition']());}async[_0x507db8(0x37c)](){return new Promise(_0x54d24f=>{var _0x76f2d1=_0x1922;this['session'][_0x76f2d1(0x3fc)][_0x76f2d1(0x263)](H['take'](0x1))['subscribe'](async _0x1c848d=>{_0x54d24f(await this['_createInitialStateImpl'](_0x1c848d===re['ONLINE']));});});}[_0x507db8(0x161)](){var _0x4db099=_0x507db8;const _0x1ba0cd=this[_0x4db099(0x202)];return{'onStateChange':(_0x2feb8c,_0x1073af)=>{var _0xc380d9=_0x4db099;if(_0x2feb8c!==this[_0xc380d9(0x167)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2feb8c[_0xc380d9(0x3e1)]+_0xc380d9(0x134)+_0x1073af[_0xc380d9(0x3e1)]+_0xc380d9(0x240)+this['_state'][_0xc380d9(0x3e1)]);this[_0xc380d9(0x3ca)](_0x1073af);},'onSendChangeset':_0xa1db66=>{var _0x16fea7=_0x4db099;_0xa1db66[_0x16fea7(0x39a)]||(_0xa1db66[_0x16fea7(0x39a)]=this['_changesetSessionId'],_0xa1db66[_0x16fea7(0xf2)]=++this[_0x16fea7(0x2c2)]);const _0x2a3436={'eventID':p[_0x16fea7(0x45d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xa1db66['unitID'],'unitType':this[_0x16fea7(0x287)],'changeset':_0xa1db66,'memberID':this[_0x16fea7(0x33f)]['getMemberID']()}};this['session'][_0x16fea7(0x1d0)](_0x2a3436,this[_0x16fea7(0x202)]);},'onMissingChangesets':({from:_0xb61317,to:_0x2cc7e5})=>{var _0x20837b=_0x4db099;this[_0x20837b(0x2db)][_0x20837b(0x36a)](_0x20837b(0x1d3),_0x20837b(0x203)+_0xb61317+_0x20837b(0x2cc)+_0x2cc7e5);const _0x13b1bf={'eventID':p[_0x20837b(0x45d)][_0x20837b(0x27a)],'data':{'unitID':_0x1ba0cd,'unitType':this['_type'],'from':_0xb61317,'to':_0x2cc7e5}};this['session'][_0x20837b(0x1d0)](_0x13b1bf,this[_0x20837b(0x202)]);}};}async[_0x507db8(0x156)](_0x1b97aa){var _0x46ae3f=_0x507db8,_0x554713,_0x44b4b5,_0x40ba83;const _0x225350=await((_0x554713=this['_localCacheService'])==null?void 0x0:_0x554713[_0x46ae3f(0x2d9)](this[_0x46ae3f(0x202)])),_0x3aee53=(_0x44b4b5=_0x225350==null?void 0x0:_0x225350[_0x46ae3f(0xf9)])!=null?_0x44b4b5:[],_0x446b38=(_0x40ba83=_0x225350==null?void 0x0:_0x225350[_0x46ae3f(0x1d1)])!=null?_0x40ba83:null,_0x57a036=!!(_0x446b38!=null&&_0x446b38[_0x46ae3f(0x39a)])&&!!(_0x446b38!=null&&_0x446b38[_0x46ae3f(0xf2)]);this[_0x46ae3f(0x3ce)]=_0x57a036?_0x446b38[_0x46ae3f(0x39a)]:p[_0x46ae3f(0x128)](),this[_0x46ae3f(0x2c2)]=_0x57a036?_0x446b38[_0x46ae3f(0xf2)]:0x0;const _0xa5f47c=this['unitID'];try{this[_0x46ae3f(0x337)](_0x446b38,_0x3aee53);}catch(_0x1ddc51){this['_logService'][_0x46ae3f(0x182)](_0x1ddc51);}const _0x46cd57=this[_0x46ae3f(0x161)]();if(_0x1b97aa){const _0x55264f=It(this[_0x46ae3f(0x2b6)],_0xa5f47c,this['_type'],_0x446b38,_0x3aee53,_0x46cd57);return _0x55264f instanceof exports[_0x46ae3f(0x371)]?_0x55264f[_0x46ae3f(0x329)]():(_0x55264f instanceof exports[_0x46ae3f(0x20c)]||_0x55264f instanceof exports[_0x46ae3f(0x379)])&&_0x55264f[_0x46ae3f(0x2af)](),_0x55264f;}return this['_injector'][_0x46ae3f(0x140)](exports[_0x46ae3f(0x345)],_0xa5f47c,this[_0x46ae3f(0x287)],_0x446b38,_0x3aee53,_0x46cd57);}[_0x507db8(0x337)](_0x1921ba,_0x2f751b){var _0x5e75ed=_0x507db8,_0x304d24,_0x10f6d0;const _0xf8a80f=this[_0x5e75ed(0x157)][_0x5e75ed(0x1de)]['fetchThroughInterceptors'](this[_0x5e75ed(0x157)][_0x5e75ed(0x1de)]['getInterceptPoints']()[_0x5e75ed(0x204)]);(_0x304d24=_0xf8a80f((_0x1921ba==null?void 0x0:_0x1921ba[_0x5e75ed(0xf9)])||[],null))==null||_0x304d24[_0x5e75ed(0x3b3)](_0x3c463e=>this[_0x5e75ed(0x159)][_0x5e75ed(0x28b)](_0x3c463e['id'],_0x3c463e[_0x5e75ed(0x403)])),(_0x10f6d0=_0xf8a80f(_0x2f751b||[],null))==null||_0x10f6d0[_0x5e75ed(0x3b3)](_0x1c3203=>this[_0x5e75ed(0x159)]['executeCommand'](_0x1c3203['id'],_0x1c3203[_0x5e75ed(0x403)]));}},exports[_0x507db8(0x33b)]=Be([j(0x3,a[_0x507db8(0x261)](a['Injector'])),j(0x4,a['Inject'](p[_0x507db8(0x39b)])),j(0x5,a[_0x507db8(0x261)](a[_0x507db8(0x31f)])),j(0x6,a[_0x507db8(0x261)](p[_0x507db8(0x27d)])),j(0x7,a[_0x507db8(0x261)](ee)),j(0x8,a[_0x507db8(0xf7)]),j(0x9,a[_0x507db8(0x260)]),j(0xa,a[_0x507db8(0x28d)]),j(0xb,a[_0x507db8(0x133)](de)),j(0xc,a['Optional'](K))],exports[_0x507db8(0x33b)]),exports[_0x507db8(0x3c9)]=class extends exports[_0x507db8(0x33b)]{constructor(_0x113a87,_0x362767,_0x577bc6,_0x4a777c,_0x5b0270,_0x10914e,_0xbd1b2d,_0xcc4972,_0x40035f,_0x3a01ca,_0x4c7ac7,_0x4e209d,_0x4a17d7){var _0x468031=_0x507db8;super(_0x113a87,_0x577bc6,_0x362767,_0x4a777c,_0x5b0270,_0x10914e,_0xbd1b2d,_0xcc4972,_0x40035f,_0x3a01ca,_0x4c7ac7,_0x4e209d,_0x4a17d7),A(this,_0x468031(0x1fe),null),(this[_0x468031(0x202)]=_0x113a87,this[_0x468031(0x3c2)]=_0x362767);}[_0x507db8(0x169)](_0x348282){var _0x4b3fb4=_0x507db8;this[_0x4b3fb4(0x1fe)]=_0x348282;}[_0x507db8(0x2c8)](){var _0x40f943=_0x507db8;this[_0x40f943(0x1fe)]=null,super[_0x40f943(0x2c8)]();}[_0x507db8(0x161)](){var _0x908b94=_0x507db8;const _0xf0eba1=super[_0x908b94(0x161)]();return _0xf0eba1[_0x908b94(0x398)]=_0x2c2e69=>{var _0x2c3c03=_0x908b94,_0x16dc0d,_0x143e76;return(_0x143e76=(_0x16dc0d=this['_handlerCallback'])==null?void 0x0:_0x16dc0d[_0x2c3c03(0x398)])==null?void 0x0:_0x143e76[_0x2c3c03(0x17b)](_0x16dc0d,_0x2c2e69);},_0xf0eba1[_0x908b94(0x3b0)]=_0x42104f=>{var _0x11e0fc=_0x908b94,_0x26f799,_0x447b86;return(_0x447b86=(_0x26f799=this[_0x11e0fc(0x1fe)])==null?void 0x0:_0x26f799[_0x11e0fc(0x3b0)])==null?void 0x0:_0x447b86['call'](_0x26f799,_0x42104f);},_0xf0eba1['onTransformSelections']=_0x2cc28f=>{var _0x3629ca=_0x908b94,_0x39a707,_0x553224;return(_0x553224=(_0x39a707=this[_0x3629ca(0x1fe)])==null?void 0x0:_0x39a707[_0x3629ca(0x1f0)])==null?void 0x0:_0x553224[_0x3629ca(0x17b)](_0x39a707,_0x2cc28f);},_0xf0eba1[_0x908b94(0x26b)]=_0x29b0e3=>{var _0x11f670=_0x908b94,_0x59154e,_0x4b9361;return(_0x4b9361=(_0x59154e=this[_0x11f670(0x1fe)])==null?void 0x0:_0x59154e['onSyncEditingCollabCursor'])==null?void 0x0:_0x4b9361[_0x11f670(0x17b)](_0x59154e,_0x29b0e3);},_0xf0eba1['onTransformRemoteChangesetByIMECache']=_0x46d22f=>{var _0xf69c38=_0x908b94,_0x5c700d,_0x1788fc,_0x26e55f;if(!((_0x5c700d=this[_0xf69c38(0x1fe)])!=null&&_0x5c700d[_0xf69c38(0x276)]))throw new Error(_0xf69c38(0x3c5));return(_0x26e55f=(_0x1788fc=this['_handlerCallback'])==null?void 0x0:_0x1788fc[_0xf69c38(0x276)])==null?void 0x0:_0x26e55f[_0xf69c38(0x17b)](_0x1788fc,_0x46d22f);},_0xf0eba1[_0x908b94(0x3c4)]=_0x270cc7=>{var _0xd8d63b=_0x908b94,_0x5a65f4,_0x27ef51,_0x4b8f44;if(!((_0x5a65f4=this[_0xd8d63b(0x1fe)])!=null&&_0x5a65f4[_0xd8d63b(0x3c4)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4b8f44=(_0x27ef51=this[_0xd8d63b(0x1fe)])==null?void 0x0:_0x27ef51[_0xd8d63b(0x3c4)])==null?void 0x0:_0x4b8f44[_0xd8d63b(0x17b)](_0x27ef51,_0x270cc7);},_0xf0eba1;}async[_0x507db8(0x13c)](){var _0x26d5f2=_0x507db8;const _0x40c550=await super[_0x26d5f2(0x13c)]();return this['disposeWithMe'](this[_0x26d5f2(0x159)][_0x26d5f2(0x3af)]((_0x467c8e,_0xcc498b)=>{var _0x3205cb=_0x26d5f2;if(_0x467c8e[_0x3205cb(0x3c2)]!==a['CommandType'][_0x3205cb(0x420)]||_0xcc498b!=null&&_0xcc498b[_0x3205cb(0x347)]||_0xcc498b!=null&&_0xcc498b[_0x3205cb(0x43a)]||_0x467c8e['id']===ct[_0x3205cb(0x1db)]['id'])return;const _0x2fada2=_0x467c8e[_0x3205cb(0x403)];if((_0x2fada2==null?void 0x0:_0x2fada2[_0x3205cb(0x467)])!==this[_0x3205cb(0x202)])return;const _0xafe400=_0x467c8e,_0x1e0289=this['_compressMutationService'][_0x3205cb(0x1de)]['fetchThroughInterceptors'](this[_0x3205cb(0x157)][_0x3205cb(0x1de)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0xafe400],null)||[_0xafe400];this[_0x3205cb(0x17c)](_0x1e0289[0x0]);})),_0x40c550;}},exports[_0x507db8(0x3c9)]=Be([j(0x3,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),j(0x4,a[_0x507db8(0x261)](p[_0x507db8(0x39b)])),j(0x5,a[_0x507db8(0x261)](a[_0x507db8(0x31f)])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x507db8(0x261)](ee)),j(0x8,a[_0x507db8(0xf7)]),j(0x9,a[_0x507db8(0x260)]),j(0xa,a[_0x507db8(0x28d)]),j(0xb,a[_0x507db8(0x133)](de)),j(0xc,a[_0x507db8(0x133)](K))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x507db8(0x33b)]{constructor(_0x326f58,_0x5a5f46,_0x265dd5,_0x144db3,_0x2be411,_0x41183e,_0x3e0243,_0x369762,_0xabd6c1,_0x15814e,_0x3083ca,_0x300c9a,_0x52cc9b,_0x4d1e4f){var _0x24df76=_0x507db8;super(_0x326f58,_0x265dd5,_0x5a5f46,_0x144db3,_0x2be411,_0x41183e,_0x3e0243,_0xabd6c1,_0x15814e,_0x3083ca,_0x300c9a,_0x52cc9b,_0x4d1e4f),this[_0x24df76(0x202)]=_0x326f58,this['type']=_0x5a5f46,this[_0x24df76(0x3e5)]=_0x369762;}[_0x507db8(0x161)](){var _0x1e097f=_0x507db8;const _0x47f27b=super['_createHandler']();return _0x47f27b[_0x1e097f(0x1f0)]=_0x30dc34=>this[_0x1e097f(0x3e5)]['transformSelections'](_0x30dc34),_0x47f27b;}async[_0x507db8(0x13c)](){var _0x10a594=_0x507db8;const _0xf50e21=await super[_0x10a594(0x13c)]();return this[_0x10a594(0x2a5)](this[_0x10a594(0x159)][_0x10a594(0x3af)]((_0x2f75f9,_0x530c0c)=>{var _0x43139d=_0x10a594;if(_0x2f75f9['type']!==a[_0x43139d(0x24f)][_0x43139d(0x420)]||_0x530c0c!=null&&_0x530c0c[_0x43139d(0x347)]||_0x530c0c!=null&&_0x530c0c['onlyLocal'])return;const _0x436562=_0x2f75f9[_0x43139d(0x403)];if((_0x436562==null?void 0x0:_0x436562[_0x43139d(0x467)])!==this[_0x43139d(0x202)])return;const _0x3a645e=_0x2f75f9,_0x3f0308=this[_0x43139d(0x157)][_0x43139d(0x1de)][_0x43139d(0x352)](this['_compressMutationService'][_0x43139d(0x1de)][_0x43139d(0x221)]()[_0x43139d(0x113)])([_0x3a645e],null)||[_0x3a645e];this[_0x43139d(0x17c)](_0x3f0308[0x0]);})),_0xf50e21;}},exports[_0x507db8(0x445)]=Be([j(0x3,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),j(0x4,a[_0x507db8(0x261)](p[_0x507db8(0x39b)])),j(0x5,a[_0x507db8(0x261)](a[_0x507db8(0x31f)])),j(0x6,a[_0x507db8(0x261)](p[_0x507db8(0x27d)])),j(0x7,a[_0x507db8(0x261)](exports[_0x507db8(0x342)])),j(0x8,a[_0x507db8(0x261)](ee)),j(0x9,a[_0x507db8(0xf7)]),j(0xa,a[_0x507db8(0x260)]),j(0xb,a[_0x507db8(0x28d)]),j(0xc,a[_0x507db8(0x133)](de)),j(0xd,a[_0x507db8(0x133)](K))],exports['SheetCollaborationEntity']);const pt=a[_0x507db8(0x324)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x2cf6d8){var _0x23bca4=_0x507db8,_0x24732e,_0x5bd9cc,_0x759cea,_0x2d62c3,_0x2c7eec;const _0x54dd4a=_0x2cf6d8[_0x23bca4(0x370)],_0x41e7ee=JSON['parse'](_0x54dd4a);switch(_0x41e7ee[_0x23bca4(0x1ed)]){case W[_0x23bca4(0x152)]:case W[_0x23bca4(0x14b)]:{const _0x3b4ebd=_0x41e7ee['infoRsp'];return{..._0x41e7ee,'data':_0x3b4ebd,'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};}case W[_0x23bca4(0x17a)]:{const _0x20caeb=_0x41e7ee[_0x23bca4(0x166)];return{..._0x41e7ee,'data':_0x20caeb,'cmd':_0x41e7ee['cmd']};}case W['RECV']:{const _0x45eb1e=_0x41e7ee[_0x23bca4(0x212)];switch(_0x45eb1e['eventID']){case p[_0x23bca4(0x45d)][_0x23bca4(0x454)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':(_0x24732e=_0x45eb1e[_0x23bca4(0x178)])==null?void 0x0:_0x24732e['cs']},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x179)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':(_0x5bd9cc=_0x45eb1e[_0x23bca4(0x1f6)])==null?void 0x0:_0x5bd9cc['cs']},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x170)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':(_0x759cea=_0x45eb1e['newCsEvent'])==null?void 0x0:_0x759cea['cs']},'cmd':_0x41e7ee['cmd']};case p[_0x23bca4(0x45d)][_0x23bca4(0x2fa)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':(_0x2d62c3=_0x45eb1e[_0x23bca4(0x168)])==null?void 0x0:_0x2d62c3['cs']},'cmd':_0x41e7ee['cmd']};case p[_0x23bca4(0x45d)][_0x23bca4(0x3e4)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':(_0x2c7eec=_0x45eb1e[_0x23bca4(0x241)])==null?void 0x0:_0x2c7eec['cs']},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x25f)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x1b6)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x1ff)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e['joinEvent']},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x3ac)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x2f5)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p['CollaborationEvent'][_0x23bca4(0x31b)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e['liveShareNewHost']},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x402)]:case p[_0x23bca4(0x45d)][_0x23bca4(0x280)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x2ff)]},'cmd':_0x41e7ee['cmd']};case p[_0x23bca4(0x45d)][_0x23bca4(0x180)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x197)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x26a)]:return{..._0x41e7ee,'data':_0x45eb1e,'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x31d)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x32f)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x305)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x108)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p[_0x23bca4(0x45d)][_0x23bca4(0x28f)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x2e1)]},'cmd':_0x41e7ee[_0x23bca4(0x1ed)]};case p['CollaborationEvent'][_0x23bca4(0x256)]:return{..._0x41e7ee,'data':{..._0x45eb1e,'data':_0x45eb1e[_0x23bca4(0x14e)]},'cmd':_0x41e7ee['cmd']};default:return _0x41e7ee;}}default:return _0x41e7ee;}}function gt(_0x2763e0){var _0xcab93b=_0x507db8;switch(_0x2763e0[_0xcab93b(0x1ed)]){case W['HEARTBEAT']:case W[_0xcab93b(0x14b)]:return JSON['stringify']({'cmd':_0x2763e0[_0xcab93b(0x1ed)],'routeKey':_0x2763e0[_0xcab93b(0x142)]});case W['INGEST']:{let _0x6981f5;switch(_0x2763e0[_0xcab93b(0x370)]['eventID']){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x25f)],'updateCursorEvent':_0x2763e0[_0xcab93b(0x370)][_0xcab93b(0x370)]};break;}case p[_0xcab93b(0x45d)][_0xcab93b(0x3ac)]:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x3ac)],'leaveEvent':_0x2763e0[_0xcab93b(0x370)][_0xcab93b(0x370)]};break;}case p[_0xcab93b(0x45d)][_0xcab93b(0x1ff)]:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x1ff)],'joinEvent':_0x2763e0[_0xcab93b(0x370)][_0xcab93b(0x370)]};break;}case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x31b)],'liveShareNewHost':_0x2763e0[_0xcab93b(0x370)]['data']};break;}case p[_0xcab93b(0x45d)]['LIVESHARE_OPERATION']:{_0x6981f5={'eventID':p['CollaborationEvent'][_0xcab93b(0x280)],'liveShareOperation':_0x2763e0['data'][_0xcab93b(0x370)]};break;}case p[_0xcab93b(0x45d)][_0xcab93b(0x180)]:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x180)],'liveShareTerminate':_0x2763e0[_0xcab93b(0x370)][_0xcab93b(0x370)]};break;}case p[_0xcab93b(0x45d)][_0xcab93b(0x32d)]:{_0x6981f5={'eventID':p['CollaborationEvent'][_0xcab93b(0x32d)],'liveShareRequestHost':_0x2763e0[_0xcab93b(0x370)][_0xcab93b(0x370)]};break;}case p[_0xcab93b(0x45d)]['LIVESHARE_FETCH_OPERATIONS']:{_0x6981f5={'eventID':p[_0xcab93b(0x45d)][_0xcab93b(0x402)]};break;}default:_0x6981f5={'eventID':_0x2763e0['data']['eventID']};}return JSON[_0xcab93b(0x3d6)]({'cmd':_0x2763e0[_0xcab93b(0x1ed)],'routeKey':_0x2763e0[_0xcab93b(0x142)],'collaMsg':_0x6981f5});}case W[_0xcab93b(0x17a)]:return JSON[_0xcab93b(0x3d6)]({'cmd':_0x2763e0[_0xcab93b(0x1ed)],'routeKey':_0x2763e0[_0xcab93b(0x142)],'joinReq':_0x2763e0[_0xcab93b(0x370)]});case W[_0xcab93b(0x404)]:return JSON[_0xcab93b(0x3d6)]({'cmd':_0x2763e0[_0xcab93b(0x1ed)],'routeKey':_0x2763e0['routeKey'],'leaveReq':_0x2763e0[_0xcab93b(0x370)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object['getOwnPropertyDescriptor'],si=(_0x3af3d7,_0x599580,_0x4031f7,_0x5a68a8)=>{var _0x1dc019=_0x507db8;for(var _0x3b2130=_0x5a68a8>0x1?void 0x0:_0x5a68a8?ri(_0x599580,_0x4031f7):_0x599580,_0x1181df=_0x3af3d7[_0x1dc019(0x3a5)]-0x1,_0x3c90bd;_0x1181df>=0x0;_0x1181df--)(_0x3c90bd=_0x3af3d7[_0x1181df])&&(_0x3b2130=_0x3c90bd(_0x3b2130)||_0x3b2130);return _0x3b2130;},_e=(_0x4ef07c,_0x3ae476)=>(_0x1326f9,_0x2e2594)=>_0x3ae476(_0x1326f9,_0x2e2594,_0x4ef07c);const Fe=a[_0x507db8(0x324)](_0x507db8(0x1bb));function oi(_0x3605d5,_0x5c5cf6,_0x47b6db){return _0x3605d5+'/'+_0x5c5cf6+'/unit/'+_0x47b6db+'/new_changes';}exports[_0x507db8(0x30b)]=class extends a[_0x507db8(0x356)]{constructor(_0x1c23df,_0x48b460,_0x53d043,_0x45f017,_0x3db668){var _0x5c24fc=_0x507db8;super(),this[_0x5c24fc(0x2b6)]=_0x1c23df,this[_0x5c24fc(0x3a7)]=_0x48b460,this[_0x5c24fc(0xec)]=_0x53d043,this['_logService']=_0x45f017,this[_0x5c24fc(0x1ce)]=_0x3db668;}[_0x507db8(0x24c)](_0x2d1902){var _0x6f7a6c=_0x507db8;const _0x43a536=this['_injector']['get'](q['ISocketService']);if(!_0x43a536)throw new Error(_0x6f7a6c(0x2a2));const _0x4a0cfa=_0x43a536['createSocket'](_0x2d1902);if(!_0x4a0cfa)throw new Error(_0x6f7a6c(0x1df));const _0x5d4299=new a[(_0x6f7a6c(0x2ba))](),_0x13468b=new H[(_0x6f7a6c(0x190))]();_0x5d4299['add'](_0x4a0cfa[_0x6f7a6c(0x11c)][_0x6f7a6c(0x302)](_0x4dce38=>_0x13468b['next'](_0x4dce38))),_0x5d4299['add'](a[_0x6f7a6c(0x3e2)](()=>_0x13468b[_0x6f7a6c(0x1cf)]()));const _0x1ef287=new H[(_0x6f7a6c(0x190))]();_0x5d4299['add'](_0x4a0cfa[_0x6f7a6c(0x2c0)][_0x6f7a6c(0x302)](_0xcb6a4e=>_0x1ef287['next'](_0xcb6a4e))),_0x5d4299['add'](a[_0x6f7a6c(0x3e2)](()=>_0x1ef287[_0x6f7a6c(0x1cf)]()));const _0x26fab9=new H[(_0x6f7a6c(0x190))]();_0x5d4299[_0x6f7a6c(0x1f4)](_0x4a0cfa[_0x6f7a6c(0x277)][_0x6f7a6c(0x302)](_0x25406f=>{var _0x43b6a1=_0x6f7a6c;const _0x5bdb6f=mt(_0x25406f);_0x26fab9[_0x43b6a1(0x10e)](_0x5bdb6f);})),_0x5d4299['add'](a[_0x6f7a6c(0x3e2)](()=>_0x26fab9[_0x6f7a6c(0x1cf)]()));let _0x496c51;const _0x18e95b=()=>{var _0x3e0979=_0x6f7a6c;_0x1ef287[_0x3e0979(0x10e)](new Event(_0x3e0979(0x187))),_0x13468b[_0x3e0979(0x10e)](new Event(_0x3e0979(0x187))),_0x496c51[_0x3e0979(0x12e)]();};return _0x496c51={'memberID':'','close$':_0x13468b[_0x6f7a6c(0x1eb)](),'error$':_0x1ef287[_0x6f7a6c(0x1eb)](),'open$':_0x4a0cfa[_0x6f7a6c(0x200)],'message$':_0x26fab9[_0x6f7a6c(0x1eb)](),'send':_0x4bda7f=>{var _0x19d1a0=_0x6f7a6c;if(_0x4bda7f[_0x19d1a0(0x1ed)]===W[_0x19d1a0(0x308)]){if(_0x4bda7f[_0x19d1a0(0x370)][_0x19d1a0(0x139)]===p['CollaborationEvent'][_0x19d1a0(0x35b)]){this[_0x19d1a0(0x40a)](_0x496c51,_0x4bda7f[_0x19d1a0(0x370)])['catch'](_0x500e92=>{var _0x5af380=_0x19d1a0;this['_logService'][_0x5af380(0x182)](_0x500e92),_0x18e95b();});return;}if(_0x4bda7f[_0x19d1a0(0x370)][_0x19d1a0(0x139)]===p['CollaborationEvent'][_0x19d1a0(0x27a)]){const _0x599f4a=_0x4bda7f[_0x19d1a0(0x370)];this[_0x19d1a0(0x304)](_0x599f4a)[_0x19d1a0(0x115)](_0x537f6d=>{var _0x5e2eca=_0x19d1a0;_0x26fab9[_0x5e2eca(0x10e)]({'cmd':W[_0x5e2eca(0x35d)],'code':se['OK'],'routeKey':_0x599f4a[_0x5e2eca(0x370)][_0x5e2eca(0x202)],'routeType':'','data':{'eventID':p[_0x5e2eca(0x45d)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x537f6d}}});})[_0x19d1a0(0x3a9)](_0x2863d4=>{var _0x514e7a=_0x19d1a0;this[_0x514e7a(0x2db)][_0x514e7a(0x182)](_0x2863d4),_0x18e95b();});return;}}_0x4a0cfa['send'](gt(_0x4bda7f));},'close':()=>{var _0x2ff202=_0x6f7a6c;_0x4a0cfa['close'](),_0x5d4299[_0x2ff202(0x2c8)]();}},_0x496c51;}async[_0x507db8(0x40a)](_0x55e3ba,_0x2c4a98){var _0x4f3ac1=_0x507db8,_0x5b73e9;const {unitType:_0x5da02e,unitID:_0x3a3f49,changeset:_0x10740a}=_0x2c4a98[_0x4f3ac1(0x370)],_0x2f19d4={'unitID':_0x3a3f49,'memberID':_0x55e3ba[_0x4f3ac1(0x423)],'type':_0x5da02e,'changeset':p[_0x4f3ac1(0x18b)](_0x10740a)},_0x3a2867=this[_0x4f3ac1(0xec)][_0x4f3ac1(0x214)](Y),_0x101d2b=oi((_0x5b73e9=_0x3a2867==null?void 0x0:_0x3a2867['collabSubmitChangesetUrl'])!=null?_0x5b73e9:kt,_0x5da02e,_0x3a3f49);try{await this['_httpService'][_0x4f3ac1(0x10a)](_0x101d2b,{'body':_0x2f19d4});}catch(_0x57ccb6){throw this[_0x4f3ac1(0x2db)][_0x4f3ac1(0x182)](_0x4f3ac1(0x22f),_0x4f3ac1(0x153)),_0x57ccb6;}}async[_0x507db8(0x304)](_0x4107fb){var _0x53eda4=_0x507db8;const {unitID:_0x59c768,from:_0x33fa97,to:_0x2710f2,unitType:_0x120625}=_0x4107fb['data'];return(await this['_snapshotServerService'][_0x53eda4(0x194)]({'metadata':void 0x0},{'unitID':_0x59c768,'type':_0x120625,'from':_0x33fa97,'to':_0x2710f2}))[_0x53eda4(0x111)];}},exports[_0x507db8(0x30b)]=si([_e(0x0,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),_e(0x1,a[_0x507db8(0x261)](q[_0x507db8(0x26d)])),_e(0x2,a[_0x507db8(0x198)]),_e(0x3,a['ILogService']),_e(0x4,p['ISnapshotServerService'])],exports[_0x507db8(0x30b)]);var ai=Object[_0x507db8(0x106)],ci=(_0x335874,_0x2fdb9d,_0x17b480,_0x48357d)=>{for(var _0x474b38=_0x48357d>0x1?void 0x0:_0x48357d?ai(_0x2fdb9d,_0x17b480):_0x2fdb9d,_0x53a449=_0x335874['length']-0x1,_0x3ee461;_0x53a449>=0x0;_0x53a449--)(_0x3ee461=_0x335874[_0x53a449])&&(_0x474b38=_0x3ee461(_0x474b38)||_0x474b38);return _0x474b38;},he=(_0xe3fe74,_0x4b5ef8)=>(_0x51bc7b,_0x56bf49)=>_0x4b5ef8(_0x51bc7b,_0x56bf49,_0xe3fe74);exports[_0x507db8(0x424)]=class extends a['Disposable']{constructor(_0x32f15b,_0x59246a,_0x476830,_0x586ebb,_0x1ade21,_0x1c78d8){var _0x437b65=_0x507db8;super(),A(this,'_socket$',new H[(_0x437b65(0x458))](void 0x0)),A(this,_0x437b65(0x2b8),this[_0x437b65(0x254)][_0x437b65(0x1eb)]()),A(this,_0x437b65(0x1f5),null),A(this,_0x437b65(0x36b),new Map()),A(this,'_status$',new H[(_0x437b65(0x458))](re[_0x437b65(0x12d)])),A(this,_0x437b65(0x3c6),this['_status$'][_0x437b65(0x1eb)]()),A(this,'_socketReady',!0x1),A(this,_0x437b65(0xf0)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x437b65(0x405)),(this['_injector']=_0x32f15b,this[_0x437b65(0x2db)]=_0x59246a,this[_0x437b65(0xec)]=_0x476830,this[_0x437b65(0x16f)]=_0x586ebb,this[_0x437b65(0x3f9)]=_0x1ade21,this[_0x437b65(0x313)]=_0x1c78d8,this[_0x437b65(0x12a)]());}get['_socket'](){var _0x5b5ddf=_0x507db8;return this[_0x5b5ddf(0x254)]['getValue']();}[_0x507db8(0x12a)](){var _0x541f28=_0x507db8;this['_networkConditionService']&&this[_0x541f28(0x2a5)](this['_networkConditionService'][_0x541f28(0x463)][_0x541f28(0x302)](_0x1eb6ee=>{var _0x2309f7=_0x541f28;_0x1eb6ee&&!this[_0x2309f7(0x148)]&&this['reconnect'](),_0x1eb6ee||this[_0x2309f7(0x315)]();}));}['dispose'](){var _0x4bc64b=_0x507db8;super[_0x4bc64b(0x2c8)](),this['_clearRetryConnectingTimer'](),this[_0x4bc64b(0x14d)](),this[_0x4bc64b(0x138)](),this[_0x4bc64b(0x36b)]['forEach'](_0x168260=>_0x168260['dispose']()),this[_0x4bc64b(0x36b)][_0x4bc64b(0x2b4)](),this[_0x4bc64b(0x34b)]['complete']();}async[_0x507db8(0x22a)](_0x967674){var _0x1aa15a=_0x507db8;if(this['_sessions'][_0x1aa15a(0x265)](_0x967674))return this['_sessions']['get'](_0x967674);this[_0x1aa15a(0x35c)]();const _0x3e8576=this[_0x1aa15a(0x2b6)][_0x1aa15a(0x140)](exports['CollaborationSession'],_0x967674,this[_0x1aa15a(0x254)][_0x1aa15a(0x1eb)]());return this[_0x1aa15a(0x36b)][_0x1aa15a(0x408)](_0x967674,_0x3e8576),_0x3e8576;}[_0x507db8(0x41d)](_0x302c6c){var _0x5aef1f=_0x507db8,_0x226758;const _0x1c1ea8=this['_sessions'][_0x5aef1f(0x232)](_0x302c6c);_0x1c1ea8&&(this[_0x5aef1f(0x36b)][_0x5aef1f(0x465)](_0x302c6c),_0x1c1ea8[_0x5aef1f(0x12e)]()),this[_0x5aef1f(0x36b)][_0x5aef1f(0x33d)]||(_0x226758=this['_socket'])==null||_0x226758[_0x5aef1f(0x12e)]();}[_0x507db8(0x460)](){var _0x4704e2=_0x507db8;this[_0x4704e2(0x3f0)]=0x0,this[_0x4704e2(0x3bc)](),this[_0x4704e2(0x2a0)]();}[_0x507db8(0x3bc)](){var _0xcfc9e8=_0x507db8;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xcfc9e8(0xf0)]),this[_0xcfc9e8(0xf0)]=null);}async[_0x507db8(0x103)](){var _0x387fef=_0x507db8,_0x5b31c8;const _0x18252c=this[_0x387fef(0xec)][_0x387fef(0x214)](Y),_0x56d591=(_0x5b31c8=_0x18252c==null?void 0x0:_0x18252c[_0x387fef(0x207)])!=null?_0x5b31c8:ht,_0x480920=await this[_0x387fef(0x16f)][_0x387fef(0x1f2)](_0x56d591);return this[_0x387fef(0x1f5)]=_0x480920,_0x480920;}async[_0x507db8(0x35c)](){var _0x4ba4c6=_0x507db8,_0xb19643,_0x4c4d5f;try{const _0x47cfa9=(_0x4c4d5f=(_0xb19643=this[_0x4ba4c6(0x148)])!=null?_0xb19643:this[_0x4ba4c6(0x1f5)])!=null?_0x4c4d5f:await this[_0x4ba4c6(0x103)]();if(_0x47cfa9){const _0x5178aa=_0x47cfa9[_0x4ba4c6(0x1d0)];_0x47cfa9['send']=_0x261867=>(this[_0x4ba4c6(0x16b)](),_0x5178aa[_0x4ba4c6(0x314)](_0x47cfa9,[_0x261867])),_0x47cfa9[_0x4ba4c6(0x277)][_0x4ba4c6(0x302)](_0x5b2689=>this[_0x4ba4c6(0x433)](_0x47cfa9,_0x5b2689)),_0x47cfa9['error$'][_0x4ba4c6(0x263)](V[_0x4ba4c6(0x19f)](0x1))['subscribe'](_0x1efc58=>this[_0x4ba4c6(0x2db)]['error'](_0x4ba4c6(0x437),_0x1efc58)),_0x47cfa9[_0x4ba4c6(0x200)][_0x4ba4c6(0x263)](V[_0x4ba4c6(0x19f)](0x1))[_0x4ba4c6(0x302)](()=>{var _0x5e87f1=_0x4ba4c6;this[_0x5e87f1(0x3eb)](_0x47cfa9);}),_0x47cfa9[_0x4ba4c6(0x11c)][_0x4ba4c6(0x263)](V[_0x4ba4c6(0x19f)](0x1))[_0x4ba4c6(0x302)](_0x40cce8=>{var _0x5f6138=_0x4ba4c6;this[_0x5f6138(0x2db)]['debug'](_0x5f6138(0x11a),_0x5f6138(0x365),_0x40cce8),this[_0x5f6138(0x1a3)]();});}}catch(_0x341dfe){this[_0x4ba4c6(0x2db)]['error'](_0x341dfe),this[_0x4ba4c6(0x1a3)]();}}[_0x507db8(0x3eb)](_0x478a8a){var _0x14495f=_0x507db8;this[_0x14495f(0x2db)][_0x14495f(0x36a)](_0x14495f(0x11a),_0x14495f(0x45a)),_0x478a8a[_0x14495f(0x1d0)]({'cmd':W[_0x14495f(0x14b)]}),this[_0x14495f(0x16b)]();}[_0x507db8(0x315)](){var _0x29d354=_0x507db8;this['_socketReady']=!0x1,this[_0x29d354(0x1f5)]=null,this[_0x29d354(0x34b)][_0x29d354(0x10e)](re[_0x29d354(0x457)]),this[_0x29d354(0x254)][_0x29d354(0x10e)](null),this[_0x29d354(0x14d)](),this[_0x29d354(0x138)]();}[_0x507db8(0x1a3)](){var _0x436469=_0x507db8,_0x551d8f;this[_0x436469(0x315)](),this['_retryCount']<((_0x551d8f=this['_configService'][_0x436469(0x214)](ut))!=null?_0x551d8f:Mt)?(this[_0x436469(0x3f9)][_0x436469(0x1b2)]({'id':Z[_0x436469(0x151)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x436469(0x1b2)]({'id':Z['SOCKET_FAILED']});}[_0x507db8(0x2a0)](){var _0x18e552=_0x507db8,_0x4abc64;const _0x14640d=this[_0x18e552(0x3f0)],_0x162515=this['_configService'][_0x18e552(0x214)](Y),_0x5770d0=_0x14640d===0x0?0x0:((_0x4abc64=_0x162515==null?void 0x0:_0x162515[_0x18e552(0x1be)])!=null?_0x4abc64:wt)*0x2**_0x14640d;this[_0x18e552(0xf0)]=setTimeout(()=>{var _0x3b0c99=_0x18e552;clearTimeout(this[_0x3b0c99(0xf0)]),this[_0x3b0c99(0xf0)]=null,this[_0x3b0c99(0x35c)]();},_0x5770d0),this[_0x18e552(0x3f0)]+=0x1;}[_0x507db8(0x433)](_0x7fc6da,_0x5e0aaa){var _0x3a5353=_0x507db8;const {cmd:_0x19049b}=_0x5e0aaa;_0x19049b===W[_0x3a5353(0x14b)]&&!this[_0x3a5353(0x175)]&&(_0x7fc6da[_0x3a5353(0x423)]=_0x5e0aaa[_0x3a5353(0x370)][_0x3a5353(0x423)],this['_socket$'][_0x3a5353(0x10e)](_0x7fc6da),this[_0x3a5353(0x34b)][_0x3a5353(0x10e)](re[_0x3a5353(0x33a)]),this[_0x3a5353(0x175)]=!0x0,this[_0x3a5353(0x1f5)]=null),_0x19049b===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x507db8(0x16b)](){var _0x4cb0ae=_0x507db8,_0xb8aff1;this[_0x4cb0ae(0x138)](),this[_0x4cb0ae(0x1d2)]=setTimeout(()=>this[_0x4cb0ae(0x2da)](),(_0xb8aff1=this['_configService'][_0x4cb0ae(0x214)](_t))!=null?_0xb8aff1:Pt);}[_0x507db8(0x2da)](){var _0x2c482c=_0x507db8;this[_0x2c482c(0x148)][_0x2c482c(0x1d0)]({'cmd':W['HEARTBEAT']}),this[_0x2c482c(0x183)]();}[_0x507db8(0x183)](){var _0x28a319=_0x507db8,_0x209322;this[_0x28a319(0x405)]=setTimeout(()=>this[_0x28a319(0x1a3)](),(_0x209322=this[_0x28a319(0xec)][_0x28a319(0x214)](ke))!=null?_0x209322:lt);}[_0x507db8(0x138)](){var _0x3848bb=_0x507db8;this[_0x3848bb(0x1d2)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3848bb(0x1d2)]=null);}[_0x507db8(0x14d)](){var _0x128b74=_0x507db8;this[_0x128b74(0x405)]!=null&&(clearTimeout(this[_0x128b74(0x405)]),this[_0x128b74(0x405)]=null);}},exports['CollaborationSessionService']=ci([he(0x0,a[_0x507db8(0x261)](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a[_0x507db8(0x198)]),he(0x3,Fe),he(0x4,a[_0x507db8(0x261)](ee)),he(0x5,a[_0x507db8(0x133)](pt))],exports['CollaborationSessionService']);var hi=Object[_0x507db8(0x106)],_i=(_0x21145c,_0x2ab33d,_0x43e8b7,_0x4e6882)=>{var _0x1ecdd5=_0x507db8;for(var _0x8f3550=_0x4e6882>0x1?void 0x0:_0x4e6882?hi(_0x2ab33d,_0x43e8b7):_0x2ab33d,_0x389cd9=_0x21145c[_0x1ecdd5(0x3a5)]-0x1,_0x2903f9;_0x389cd9>=0x0;_0x389cd9--)(_0x2903f9=_0x21145c[_0x389cd9])&&(_0x8f3550=_0x2903f9(_0x8f3550)||_0x8f3550);return _0x8f3550;},Se=(_0xfdbb23,_0x497ffb)=>(_0x10970f,_0x5d56b1)=>_0x497ffb(_0x10970f,_0x5d56b1,_0xfdbb23);exports[_0x507db8(0x355)]=class extends a[_0x507db8(0x375)]{constructor(_0x5c6bdb,_0x51731f,_0x442c9d,_0x4a0522){var _0x3f6283=_0x507db8,_0x42058f;super(),A(this,_0x3f6283(0x291),new Map()),A(this,'_entityInit$',new H['Subject']()),A(this,_0x3f6283(0x3be),this[_0x3f6283(0x19c)]['asObservable']()),(this[_0x3f6283(0x2b6)]=_0x5c6bdb,this['_collabSessionService']=_0x51731f,this[_0x3f6283(0xec)]=_0x442c9d,this[_0x3f6283(0x14a)]=_0x4a0522,((_0x42058f=this['_configService'][_0x3f6283(0x214)](Y))==null?void 0x0:_0x42058f[_0x3f6283(0x247)])!==!0x1&&this['_init']());}[_0x507db8(0x2c8)](){var _0x386821=_0x507db8;super[_0x386821(0x2c8)](),this[_0x386821(0x291)][_0x386821(0x3b3)](_0x5af5c1=>_0x5af5c1[_0x386821(0x2c8)]()),this['_entities']['clear']();}[_0x507db8(0x40c)](_0x54e825){var _0x4b2920=_0x507db8,_0x281857;return(_0x281857=this['_entities'][_0x4b2920(0x232)](_0x54e825))!=null?_0x281857:null;}[_0x507db8(0x1ba)](_0x15bfe1){var _0x2b9d6e=_0x507db8;const _0x5af1d6=this[_0x2b9d6e(0x40c)](_0x15bfe1);return _0x5af1d6?H['of'](_0x5af1d6):this['_entityInit$'][_0x2b9d6e(0x263)](V[_0x2b9d6e(0x284)](_0x1eb831=>_0x1eb831[_0x2b9d6e(0x202)]===_0x15bfe1));}[_0x507db8(0x18c)](_0x4ab275){var _0x16a4ee=_0x507db8;return H['firstValueFrom'](this[_0x16a4ee(0x1ba)](_0x4ab275)[_0x16a4ee(0x263)](V[_0x16a4ee(0x2fe)](()=>{})));}[_0x507db8(0x13c)](){var _0x4a4240=_0x507db8;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4a4240(0x31e)]['UNIVER_SHEET'])[_0x4a4240(0x263)](H[_0x4a4240(0x266)](this[_0x4a4240(0x41b)]),V[_0x4a4240(0x1ca)](0x10))[_0x4a4240(0x302)](async _0x3d277=>{var _0x4bed64=_0x4a4240;const _0x1e4468=_0x3d277['getUnitId'](),_0x1cf159=await this[_0x4bed64(0x30d)](_0x1e4468,J['UNIVER_SHEET']);this[_0x4bed64(0x291)][_0x4bed64(0x408)](_0x1e4468,_0x1cf159);}),this[_0x4a4240(0x14a)][_0x4a4240(0x468)](a[_0x4a4240(0x31e)]['UNIVER_DOC'])[_0x4a4240(0x263)](H[_0x4a4240(0x266)](this[_0x4a4240(0x41b)]),V[_0x4a4240(0x1ca)](0x10))['pipe'](V[_0x4a4240(0x284)](_0x67d16f=>!_0x67d16f[_0x4a4240(0x271)]()[_0x4a4240(0x1aa)]('__')))[_0x4a4240(0x302)](async _0x39c13a=>{var _0x37a498=_0x4a4240;const _0x5e20db=_0x39c13a[_0x37a498(0x271)](),_0x586497=await this[_0x37a498(0x30d)](_0x5e20db,J[_0x37a498(0x1a7)]);this[_0x37a498(0x291)][_0x37a498(0x408)](_0x5e20db,_0x586497);}),H['merge'](this[_0x4a4240(0x14a)][_0x4a4240(0x24a)](a[_0x4a4240(0x31e)][_0x4a4240(0xeb)]),this[_0x4a4240(0x14a)][_0x4a4240(0x24a)](a[_0x4a4240(0x31e)][_0x4a4240(0x1a7)]))[_0x4a4240(0x263)](H[_0x4a4240(0x266)](this['dispose$']))['subscribe'](_0x5e4e9f=>{var _0x330b06=_0x4a4240;const _0x16c80d=_0x5e4e9f[_0x330b06(0x271)](),_0x2aecfa=this['_entities'][_0x330b06(0x232)](_0x16c80d);_0x2aecfa&&(_0x2aecfa['dispose'](),this['_entities']['delete'](_0x16c80d));});}async[_0x507db8(0x30d)](_0x4035eb,_0x17e891){var _0x2b9411=_0x507db8;const _0x561774=await this[_0x2b9411(0x386)][_0x2b9411(0x22a)](_0x4035eb),_0xf4fc9f=this[_0x2b9411(0x2b6)][_0x2b9411(0x140)](this['_getCtorByUniverType'](_0x17e891),_0x4035eb,_0x17e891,_0x561774);return await _0xf4fc9f['init'](),this[_0x2b9411(0x19c)][_0x2b9411(0x10e)](_0xf4fc9f),_0xf4fc9f;}[_0x507db8(0x41a)](_0x41c244){var _0x3c511c=_0x507db8;switch(_0x41c244){case J[_0x3c511c(0x1a7)]:return exports[_0x3c511c(0x3c9)];case J['UNIVER_SHEET']:return exports[_0x3c511c(0x445)];default:throw new Error(_0x3c511c(0x2f4)+_0x41c244);}}},exports['CollaborationController']=_i([Se(0x0,a['Inject'](a[_0x507db8(0x11d)])),Se(0x1,a[_0x507db8(0x261)](exports[_0x507db8(0x424)])),Se(0x2,a[_0x507db8(0x198)]),Se(0x3,a[_0x507db8(0x27c)])],exports[_0x507db8(0x355)]);var li=Object['getOwnPropertyDescriptor'],ui=(_0x3ef9aa,_0x48d5ee,_0x5d9649,_0x77b0db)=>{var _0x3dfc5e=_0x507db8;for(var _0x5a7710=_0x77b0db>0x1?void 0x0:_0x77b0db?li(_0x48d5ee,_0x5d9649):_0x48d5ee,_0x2fd079=_0x3ef9aa[_0x3dfc5e(0x3a5)]-0x1,_0x3c3f2a;_0x2fd079>=0x0;_0x2fd079--)(_0x3c3f2a=_0x3ef9aa[_0x2fd079])&&(_0x5a7710=_0x3c3f2a(_0x5a7710)||_0x5a7710);return _0x5a7710;},Ye=(_0x19053c,_0x55d35c)=>(_0x435858,_0x351a94)=>_0x55d35c(_0x435858,_0x351a94,_0x19053c);const di=_0x507db8(0x1fc),vi=_0x507db8(0x2be);let xe=class extends a[_0x507db8(0x356)]{constructor(_0x2f4a7a,_0x1eee59){var _0x14e8ac=_0x507db8;super(),this['_univerInstanceService']=_0x2f4a7a,this[_0x14e8ac(0xec)]=_0x1eee59,this['_init']();}[_0x507db8(0x13c)](){var _0x29a7a7=_0x507db8;this[_0x29a7a7(0x2a5)](this['_univerInstanceService'][_0x29a7a7(0x451)][_0x29a7a7(0x302)](()=>{var _0x5752d0=_0x29a7a7,_0x4bbfbc;const _0x460cde=this[_0x5752d0(0x14a)][_0x5752d0(0x400)]();let _0x59570b=(_0x4bbfbc=this['_configService'][_0x5752d0(0x214)](di))!=null?_0x4bbfbc:vi;_0x460cde instanceof a['Workbook']&&(_0x59570b=_0x460cde[_0x5752d0(0x2e4)]),document[_0x5752d0(0x31c)]=_0x59570b;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a['IConfigService'])],xe);var Si=Object[_0x507db8(0x106)],fi=(_0x1bffc1,_0x1e3fdf,_0x479c5b,_0xba1256)=>{var _0x1f4232=_0x507db8;for(var _0x4f769a=_0xba1256>0x1?void 0x0:_0xba1256?Si(_0x1e3fdf,_0x479c5b):_0x1e3fdf,_0x2f67ce=_0x1bffc1[_0x1f4232(0x3a5)]-0x1,_0x2b7002;_0x2f67ce>=0x0;_0x2f67ce--)(_0x2b7002=_0x1bffc1[_0x2f67ce])&&(_0x4f769a=_0x2b7002(_0x4f769a)||_0x4f769a);return _0x4f769a;},Ae=(_0x346517,_0x5aa187)=>(_0x4339ff,_0x2adf7f)=>_0x5aa187(_0x4339ff,_0x2adf7f,_0x346517);let ye=class{constructor(_0x475393,_0x27466c,_0x35235c){var _0x570163=_0x507db8;this[_0x570163(0xec)]=_0x475393,this[_0x570163(0x3a7)]=_0x27466c,this[_0x570163(0x15f)]=_0x35235c,this[_0x570163(0x227)]();}['init'](){var _0x210ce3=_0x507db8;this['_httpService'][_0x210ce3(0x3f4)]({'priority':0x1,'interceptor':(_0xfc7b1c,_0x4b10ec)=>_0x4b10ec(_0xfc7b1c)['pipe'](H[_0x210ce3(0x2b1)](async _0x1d11b1=>{var _0x4e0334=_0x210ce3;const _0x19ceee=_0x1d11b1;if(_0x19ceee[_0x4e0334(0x3e1)]===0x191){if(typeof window>'u')throw new Error(_0x4e0334(0x19e));if(window[_0x4e0334(0x407)](this[_0x4e0334(0x15f)]['t'](_0x4e0334(0x1a0)))){const _0x567bb1=window[_0x4e0334(0x1c8)](window['location'][_0x4e0334(0x344)]);window[_0x4e0334(0x349)][_0x4e0334(0x344)]=this['_getLoginPath']()+'?url='+_0x567bb1;}}return _0x19ceee;}))});}[_0x507db8(0x132)](){var _0x4adf1b=_0x507db8,_0x3f5afc;const _0x1fab6c=this[_0x4adf1b(0xec)][_0x4adf1b(0x214)](Y);return(_0x3f5afc=_0x1fab6c==null?void 0x0:_0x1fab6c[_0x4adf1b(0x23f)])!=null?_0x3f5afc:$t;}};ye=fi([Ae(0x0,a[_0x507db8(0x198)]),Ae(0x1,a['Inject'](q[_0x507db8(0x26d)])),Ae(0x2,a[_0x507db8(0x261)](a[_0x507db8(0x31f)]))],ye);var Ii=Object[_0x507db8(0x106)],pi=(_0x64162f,_0x35d886,_0x26eff4,_0x3de052)=>{var _0x2ace7a=_0x507db8;for(var _0x5dcbd2=_0x3de052>0x1?void 0x0:_0x3de052?Ii(_0x35d886,_0x26eff4):_0x35d886,_0x1fcdcf=_0x64162f[_0x2ace7a(0x3a5)]-0x1,_0x193507;_0x1fcdcf>=0x0;_0x1fcdcf--)(_0x193507=_0x64162f[_0x1fcdcf])&&(_0x5dcbd2=_0x193507(_0x5dcbd2)||_0x5dcbd2);return _0x5dcbd2;},qe=(_0x5081d3,_0x3690c8)=>(_0x48bf8d,_0x21db80)=>_0x3690c8(_0x48bf8d,_0x21db80,_0x5081d3);const mi=_0x507db8(0x16a);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x278859,_0x2048c6){var _0x2a9e04=_0x507db8;super(),this[_0x2a9e04(0x368)]=_0x278859,this[_0x2a9e04(0xec)]=_0x2048c6,this[_0x2a9e04(0x358)]();}[_0x507db8(0x358)](){var _0x26dbe5=_0x507db8;const _0x330861=this;this['disposeWithMe'](this[_0x26dbe5(0x368)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x26dbe5(0x136)]({'isMatch'(_0x2ca884){var _0xe19d49=_0x26dbe5,_0x204755;if(_0x2ca884[_0xe19d49(0x15a)]===_0xe19d49(0x3e6)&&((_0x204755=_0x2ca884[_0xe19d49(0x135)])!=null&&_0x204755[_0xe19d49(0x176)])){const {objectID:_0x1951b1,objectType:_0x4f8341}=_0x2ca884[_0xe19d49(0x135)]['body']||{};if(!_0x1951b1||_0x4f8341===void 0x0)return!0x1;const _0x54dc8e=_0x330861[_0xe19d49(0xfa)]()+'/'+_0x4f8341+_0xe19d49(0x36d)+_0x1951b1+_0xe19d49(0x2fd);if(_0x2ca884[_0xe19d49(0x40b)]===_0x54dc8e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5ef669){var _0x1c28b3=_0x26dbe5,_0x2daa4e;return(_0x2daa4e=_0x5ef669[_0x1c28b3(0x135)])==null?void 0x0:_0x2daa4e[_0x1c28b3(0x176)];},'mergeParamsToRequest'(_0x4d243e,_0x5436de){var _0x5dfd11=_0x26dbe5;const _0x520a52=_0x330861[_0x5dfd11(0xfa)]()+_0x5dfd11(0x141),_0xc8c43a=_0x4d243e[_0x5dfd11(0x322)]((_0x4e1292,_0x3d98b0)=>{var _0x578cfa=_0x5dfd11;const {unitID:_0x332477,objectID:_0x175c0f,objectType:_0x221360,actions:_0x237836}=_0x3d98b0;return _0x4e1292[_0x332477]||(_0x4e1292[_0x332477]={}),_0x4e1292[_0x332477][_0x175c0f]||(_0x4e1292[_0x332477][_0x175c0f]={'objectID':_0x175c0f,'objectType':_0x221360,'actions':[]}),_0x4e1292[_0x332477][_0x175c0f][_0x578cfa(0x3d9)]['push'](..._0x237836),_0x4e1292;},{}),_0x43964c=[];for(const _0x28a42d in _0xc8c43a)for(const _0x3591f2 in _0xc8c43a[_0x28a42d]){const {actions:_0xbd0dd5,objectType:_0x2e228a}=_0xc8c43a[_0x28a42d][_0x3591f2],_0x4832f3=[...new Set(_0xbd0dd5)];_0x43964c[_0x5dfd11(0x299)]({'unitID':_0x28a42d,'objectID':_0x3591f2,'objectType':_0x2e228a,'actions':_0x4832f3});}return new q[(_0x5dfd11(0x1b9))]('POST',_0x520a52,{'headers':_0x5436de[_0x5dfd11(0x2bf)],'withCredentials':_0x5436de[_0x5dfd11(0x2ec)],'responseType':_0x5436de[_0x5dfd11(0x1bc)],'body':{'requests':_0x43964c}});}},{'distributeResult'(_0x514089,_0x7537d2){const {objectActions:_0x4b09b8}=_0x514089;return _0x7537d2['map'](_0x3166bd=>{var _0x5a1e1a=_0x1922;const {unitID:_0xa4a92,objectID:_0x222927,actions:_0x1b5d46}=_0x3166bd,_0x253c69=_0x4b09b8[_0x5a1e1a(0x2fc)](_0x141bc9=>_0x141bc9[_0x5a1e1a(0x202)]===_0xa4a92&&_0x141bc9[_0x5a1e1a(0x218)]===_0x222927),_0x55b980=_0x1b5d46[_0x5a1e1a(0x2fe)](_0x4ba2bf=>_0x253c69==null?void 0x0:_0x253c69[_0x5a1e1a(0x3d9)][_0x5a1e1a(0x2fc)](_0x7823c9=>_0x7823c9['action']===_0x4ba2bf))['filter'](_0x25bebc=>!!_0x25bebc);return{'config':_0x3166bd,'result':{'actions':_0x55b980,'error':_0x514089['error']}};});}})}));}[_0x507db8(0xfa)](){var _0x4f2596=_0x507db8,_0x4fa045;const _0x77c58c=this[_0x4f2596(0xec)][_0x4f2596(0x214)](Y);return(_0x4fa045=_0x77c58c==null?void 0x0:_0x77c58c[_0x4f2596(0x3e8)])!=null?_0x4fa045:mi;}async[_0x507db8(0x443)](_0x286a88){var _0x4fa7e1=_0x507db8;const _0x206d5a=this[_0x4fa7e1(0xfa)]()+'/'+_0x286a88[_0x4fa7e1(0x1e7)]+_0x4fa7e1(0x425);return(await this[_0x4fa7e1(0x368)][_0x4fa7e1(0x10a)](_0x206d5a,{'body':_0x286a88}))[_0x4fa7e1(0x176)]['objectID']||'';}async[_0x507db8(0x195)](_0x4d35b8){var _0x2959e8=_0x507db8;const _0x1eb0c7=this[_0x2959e8(0xfa)]()+_0x2959e8(0x3d0);return(await this['_HTTPService'][_0x2959e8(0x10a)](_0x1eb0c7,{'body':_0x4d35b8}))[_0x2959e8(0x176)][_0x2959e8(0x129)];}async[_0x507db8(0x3a3)](_0x2bbdb3){var _0x4256d1=_0x507db8,_0x1d1d96,_0xf59ade;const _0x4e55f7=this['_getAPIPrefixPath']()+'/'+_0x2bbdb3[_0x4256d1(0x1e7)]+'/object/'+_0x2bbdb3['objectID'],_0x229762=await this[_0x4256d1(0x368)][_0x4256d1(0x245)](_0x4e55f7,{'body':_0x2bbdb3});if(((_0xf59ade=(_0x1d1d96=_0x229762==null?void 0x0:_0x229762[_0x4256d1(0x176)])==null?void 0x0:_0x1d1d96[_0x4256d1(0x182)])==null?void 0x0:_0xf59ade['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x507db8(0x3e0)](_0x11b62e){var _0x7fdc53=_0x507db8;const _0x12b7bf=this[_0x7fdc53(0xfa)]()+'/'+_0x11b62e[_0x7fdc53(0x1e7)]+_0x7fdc53(0x36d)+_0x11b62e[_0x7fdc53(0x218)]+_0x7fdc53(0x2fd);return(await this[_0x7fdc53(0x368)][_0x7fdc53(0x10a)](_0x12b7bf,{'body':_0x11b62e}))[_0x7fdc53(0x176)][_0x7fdc53(0x3d9)];}async['batchAllowed'](_0x29ee94){var _0xfa82a3=_0x507db8;const _0x52f3f5=this[_0xfa82a3(0xfa)]()+_0xfa82a3(0x141);return(await this['_HTTPService'][_0xfa82a3(0x10a)](_0x52f3f5,{'body':{'requests':_0x29ee94}}))[_0xfa82a3(0x176)][_0xfa82a3(0x43e)];}async[_0x507db8(0x268)](_0x59fa62){var _0x20dd0e=_0x507db8;const _0x2295f7=this[_0x20dd0e(0xfa)]()+'/'+_0x59fa62['objectType']+'/role',_0x232ece=await this[_0x20dd0e(0x368)]['post'](_0x2295f7,{'body':_0x59fa62});return{'roles':_0x232ece['body'][_0x20dd0e(0x41c)],'actions':_0x232ece['body']['actions']};}async[_0x507db8(0x40e)](_0x11821b){var _0x5a5105=_0x507db8;const _0x53cd59=this[_0x5a5105(0xfa)]()+_0x5a5105(0x3d2);await this[_0x5a5105(0x368)][_0x5a5105(0x465)](_0x53cd59,{'params':{'collaboratorID':_0x11821b[_0x5a5105(0x336)],'objectID':_0x11821b[_0x5a5105(0x218)],'unitID':_0x11821b['unitID']}});}async[_0x507db8(0x1d8)](_0x3bf5dd){var _0x53f203=_0x507db8;const _0x1ee538=this[_0x53f203(0xfa)]()+_0x53f203(0x3d2);await this[_0x53f203(0x368)][_0x53f203(0x20b)](_0x1ee538,{'body':_0x3bf5dd});}async[_0x507db8(0x2c3)](_0x307f7){var _0x979058=_0x507db8;const _0x412618=this[_0x979058(0xfa)]()+_0x979058(0x3d2);await this['_HTTPService'][_0x979058(0x10a)](_0x412618,{'body':_0x307f7});}async['listCollaborators'](_0xf97e98){var _0x2ea8dd=_0x507db8;const _0x33b552=this[_0x2ea8dd(0xfa)]()+'/collaborator';return(await this[_0x2ea8dd(0x368)][_0x2ea8dd(0x232)](_0x33b552,{'params':{'objectID':_0xf97e98[_0x2ea8dd(0x218)],'unitID':_0xf97e98[_0x2ea8dd(0x202)]}}))[_0x2ea8dd(0x176)][_0x2ea8dd(0x12b)];}async[_0x507db8(0x3f5)](_0x4a2a32){var _0x362310=_0x507db8;const _0x472f01=this[_0x362310(0xfa)]()+_0x362310(0x3d2);await this[_0x362310(0x368)][_0x362310(0x245)](_0x472f01,{'body':_0x4a2a32});}},exports[_0x507db8(0x3fb)]=pi([qe(0x0,a[_0x507db8(0x261)](q[_0x507db8(0x26d)])),qe(0x1,a[_0x507db8(0x261)](a['IConfigService']))],exports[_0x507db8(0x3fb)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x115ba4){var _0x5b03fb=_0x507db8;return _0x115ba4&&_0x115ba4[_0x5b03fb(0x3a8)]&&Object[_0x5b03fb(0x297)]['hasOwnProperty']['call'](_0x115ba4,_0x5b03fb(0x242))?_0x115ba4[_0x5b03fb(0x242)]:_0x115ba4;}var fe={'exports':{}};function gi(_0x2a82df){var _0x3788da=_0x507db8;throw new Error(_0x3788da(0x27e)+_0x2a82df+_0x3788da(0x32e));}function _0x1922(_0x2c2868,_0x56e1e4){var _0x302008=_0x3020();return _0x1922=function(_0x192293,_0x53e1c1){_0x192293=_0x192293-0xe9;var _0x3572e0=_0x302008[_0x192293];return _0x3572e0;},_0x1922(_0x2c2868,_0x56e1e4);}var Ie={'exports':{}},Ei=Ie[_0x507db8(0x362)],Ke;function Q(){var _0x3a09dc=_0x507db8;return Ke||(Ke=0x1,function(_0x3db0c5,_0x101bcd){(function(_0x2b0c94,_0x4473dc){_0x3db0c5['exports']=_0x4473dc();}(Ei,function(){var _0x259e91=_0x259e91||function(_0x125230,_0x1d9007){var _0x5bb93b=_0x1922,_0x377efd;if(typeof window<'u'&&window[_0x5bb93b(0x3db)]&&(_0x377efd=window['crypto']),typeof self<'u'&&self[_0x5bb93b(0x3db)]&&(_0x377efd=self[_0x5bb93b(0x3db)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x377efd=globalThis[_0x5bb93b(0x3db)]),!_0x377efd&&typeof window<'u'&&window[_0x5bb93b(0x118)]&&(_0x377efd=window[_0x5bb93b(0x118)]),!_0x377efd&&typeof Pe<'u'&&Pe[_0x5bb93b(0x3db)]&&(_0x377efd=Pe[_0x5bb93b(0x3db)]),!_0x377efd&&typeof gi==_0x5bb93b(0x2e5))try{_0x377efd=require('crypto');}catch{}var _0x1e97dd=function(){var _0x5913e3=_0x5bb93b;if(_0x377efd){if(typeof _0x377efd['getRandomValues']==_0x5913e3(0x2e5))try{return _0x377efd[_0x5913e3(0x43d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x377efd[_0x5913e3(0x3ee)]==_0x5913e3(0x2e5))try{return _0x377efd[_0x5913e3(0x3ee)](0x4)[_0x5913e3(0x380)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x273c0a=Object[_0x5bb93b(0x443)]||(function(){function _0x26dd3b(){}return function(_0x2b7703){var _0x6d8b3c=_0x1922,_0x10a57e;return _0x26dd3b[_0x6d8b3c(0x297)]=_0x2b7703,_0x10a57e=new _0x26dd3b(),_0x26dd3b[_0x6d8b3c(0x297)]=null,_0x10a57e;};}()),_0x232d22={},_0x14d7b7=_0x232d22['lib']={},_0x13c6aa=_0x14d7b7[_0x5bb93b(0x145)]=(function(){return{'extend':function(_0x4d16cf){var _0x58acb9=_0x1922,_0x27e81b=_0x273c0a(this);return _0x4d16cf&&_0x27e81b['mixIn'](_0x4d16cf),(!_0x27e81b[_0x58acb9(0x438)]('init')||this[_0x58acb9(0x227)]===_0x27e81b[_0x58acb9(0x227)])&&(_0x27e81b[_0x58acb9(0x227)]=function(){var _0x2e9df2=_0x58acb9;_0x27e81b[_0x2e9df2(0x13a)][_0x2e9df2(0x227)][_0x2e9df2(0x314)](this,arguments);}),_0x27e81b[_0x58acb9(0x227)]['prototype']=_0x27e81b,_0x27e81b['$super']=this,_0x27e81b;},'create':function(){var _0x47dc67=_0x1922,_0x644660=this[_0x47dc67(0x2ca)]();return _0x644660[_0x47dc67(0x227)][_0x47dc67(0x314)](_0x644660,arguments),_0x644660;},'init':function(){},'mixIn':function(_0x195367){var _0x149d47=_0x1922;for(var _0x3805b6 in _0x195367)_0x195367[_0x149d47(0x438)](_0x3805b6)&&(this[_0x3805b6]=_0x195367[_0x3805b6]);_0x195367[_0x149d47(0x438)](_0x149d47(0x32b))&&(this['toString']=_0x195367[_0x149d47(0x32b)]);},'clone':function(){var _0x4959a3=_0x1922;return this[_0x4959a3(0x227)][_0x4959a3(0x297)][_0x4959a3(0x2ca)](this);}};}()),_0x59d38b=_0x14d7b7[_0x5bb93b(0x23d)]=_0x13c6aa[_0x5bb93b(0x2ca)]({'init':function(_0x5c03c4,_0x31144d){var _0xc8f7c7=_0x5bb93b;_0x5c03c4=this[_0xc8f7c7(0x1b1)]=_0x5c03c4||[],_0x31144d!=_0x1d9007?this[_0xc8f7c7(0x38e)]=_0x31144d:this[_0xc8f7c7(0x38e)]=_0x5c03c4[_0xc8f7c7(0x3a5)]*0x4;},'toString':function(_0x43958a){var _0x1c6ba1=_0x5bb93b;return(_0x43958a||_0x5634ca)[_0x1c6ba1(0x3d6)](this);},'concat':function(_0x342c22){var _0x584fa1=_0x5bb93b,_0x427a63=this['words'],_0x45e69a=_0x342c22['words'],_0x130cfc=this[_0x584fa1(0x38e)],_0x4af66f=_0x342c22[_0x584fa1(0x38e)];if(this['clamp'](),_0x130cfc%0x4)for(var _0x2e6d27=0x0;_0x2e6d27<_0x4af66f;_0x2e6d27++){var _0x11f521=_0x45e69a[_0x2e6d27>>>0x2]>>>0x18-_0x2e6d27%0x4*0x8&0xff;_0x427a63[_0x130cfc+_0x2e6d27>>>0x2]|=_0x11f521<<0x18-(_0x130cfc+_0x2e6d27)%0x4*0x8;}else{for(var _0x44943d=0x0;_0x44943d<_0x4af66f;_0x44943d+=0x4)_0x427a63[_0x130cfc+_0x44943d>>>0x2]=_0x45e69a[_0x44943d>>>0x2];}return this[_0x584fa1(0x38e)]+=_0x4af66f,this;},'clamp':function(){var _0x2ad9fc=_0x5bb93b,_0x420e10=this[_0x2ad9fc(0x1b1)],_0x471c44=this[_0x2ad9fc(0x38e)];_0x420e10[_0x471c44>>>0x2]&=0xffffffff<<0x20-_0x471c44%0x4*0x8,_0x420e10['length']=_0x125230[_0x2ad9fc(0x3a6)](_0x471c44/0x4);},'clone':function(){var _0x9da8f7=_0x5bb93b,_0x464e1f=_0x13c6aa[_0x9da8f7(0x2ce)][_0x9da8f7(0x17b)](this);return _0x464e1f[_0x9da8f7(0x1b1)]=this[_0x9da8f7(0x1b1)][_0x9da8f7(0x3b9)](0x0),_0x464e1f;},'random':function(_0x51acd4){var _0x38b881=_0x5bb93b;for(var _0x4963c7=[],_0x23b0fe=0x0;_0x23b0fe<_0x51acd4;_0x23b0fe+=0x4)_0x4963c7[_0x38b881(0x299)](_0x1e97dd());return new _0x59d38b[(_0x38b881(0x227))](_0x4963c7,_0x51acd4);}}),_0x5f32c3=_0x232d22[_0x5bb93b(0x15b)]={},_0x5634ca=_0x5f32c3[_0x5bb93b(0x309)]={'stringify':function(_0x28013d){var _0xddce50=_0x5bb93b;for(var _0x2ad632=_0x28013d[_0xddce50(0x1b1)],_0x1c2555=_0x28013d[_0xddce50(0x38e)],_0x5a3b4b=[],_0x3dbad9=0x0;_0x3dbad9<_0x1c2555;_0x3dbad9++){var _0x30644b=_0x2ad632[_0x3dbad9>>>0x2]>>>0x18-_0x3dbad9%0x4*0x8&0xff;_0x5a3b4b[_0xddce50(0x299)]((_0x30644b>>>0x4)['toString'](0x10)),_0x5a3b4b[_0xddce50(0x299)]((_0x30644b&0xf)[_0xddce50(0x32b)](0x10));}return _0x5a3b4b['join']('');},'parse':function(_0x55389f){var _0x5ddf5a=_0x5bb93b;for(var _0x2f5091=_0x55389f[_0x5ddf5a(0x3a5)],_0x5cef4d=[],_0x16deb1=0x0;_0x16deb1<_0x2f5091;_0x16deb1+=0x2)_0x5cef4d[_0x16deb1>>>0x3]|=parseInt(_0x55389f[_0x5ddf5a(0x22b)](_0x16deb1,0x2),0x10)<<0x18-_0x16deb1%0x8*0x4;return new _0x59d38b[(_0x5ddf5a(0x227))](_0x5cef4d,_0x2f5091/0x2);}},_0x4cb83a=_0x5f32c3[_0x5bb93b(0x3ef)]={'stringify':function(_0x200173){var _0xb6a2c6=_0x5bb93b;for(var _0x5b34cd=_0x200173[_0xb6a2c6(0x1b1)],_0x21a59c=_0x200173[_0xb6a2c6(0x38e)],_0x44293c=[],_0x50884c=0x0;_0x50884c<_0x21a59c;_0x50884c++){var _0x21db03=_0x5b34cd[_0x50884c>>>0x2]>>>0x18-_0x50884c%0x4*0x8&0xff;_0x44293c['push'](String[_0xb6a2c6(0x185)](_0x21db03));}return _0x44293c['join']('');},'parse':function(_0x2bcec7){var _0x395906=_0x5bb93b;for(var _0x14200a=_0x2bcec7[_0x395906(0x3a5)],_0x20b9d6=[],_0x3db56c=0x0;_0x3db56c<_0x14200a;_0x3db56c++)_0x20b9d6[_0x3db56c>>>0x2]|=(_0x2bcec7['charCodeAt'](_0x3db56c)&0xff)<<0x18-_0x3db56c%0x4*0x8;return new _0x59d38b[(_0x395906(0x227))](_0x20b9d6,_0x14200a);}},_0x235b9a=_0x5f32c3[_0x5bb93b(0x19a)]={'stringify':function(_0xf8240b){var _0x5ca668=_0x5bb93b;try{return decodeURIComponent(escape(_0x4cb83a[_0x5ca668(0x3d6)](_0xf8240b)));}catch{throw new Error(_0x5ca668(0x3dd));}},'parse':function(_0xefa8bc){return _0x4cb83a['parse'](unescape(encodeURIComponent(_0xefa8bc)));}},_0x1cada5=_0x14d7b7[_0x5bb93b(0x1f7)]=_0x13c6aa[_0x5bb93b(0x2ca)]({'reset':function(){var _0x1a4aed=_0x5bb93b;this[_0x1a4aed(0x2ac)]=new _0x59d38b[(_0x1a4aed(0x227))](),this[_0x1a4aed(0x441)]=0x0;},'_append':function(_0x595104){var _0x106a1f=_0x5bb93b;typeof _0x595104==_0x106a1f(0x2e8)&&(_0x595104=_0x235b9a[_0x106a1f(0x224)](_0x595104)),this['_data'][_0x106a1f(0x16d)](_0x595104),this[_0x106a1f(0x441)]+=_0x595104[_0x106a1f(0x38e)];},'_process':function(_0x48e538){var _0x6ce8fd=_0x5bb93b,_0x30bd85,_0xa4a271=this[_0x6ce8fd(0x2ac)],_0x332592=_0xa4a271['words'],_0x59b06f=_0xa4a271['sigBytes'],_0x431589=this['blockSize'],_0x43bbc6=_0x431589*0x4,_0x566cdf=_0x59b06f/_0x43bbc6;_0x48e538?_0x566cdf=_0x125230['ceil'](_0x566cdf):_0x566cdf=_0x125230[_0x6ce8fd(0x230)]((_0x566cdf|0x0)-this['_minBufferSize'],0x0);var _0x18e9fb=_0x566cdf*_0x431589,_0x74e5ec=_0x125230['min'](_0x18e9fb*0x4,_0x59b06f);if(_0x18e9fb){for(var _0x2ad021=0x0;_0x2ad021<_0x18e9fb;_0x2ad021+=_0x431589)this[_0x6ce8fd(0x38a)](_0x332592,_0x2ad021);_0x30bd85=_0x332592[_0x6ce8fd(0x278)](0x0,_0x18e9fb),_0xa4a271[_0x6ce8fd(0x38e)]-=_0x74e5ec;}return new _0x59d38b['init'](_0x30bd85,_0x74e5ec);},'clone':function(){var _0x1674ab=_0x5bb93b,_0x5e08d7=_0x13c6aa[_0x1674ab(0x2ce)][_0x1674ab(0x17b)](this);return _0x5e08d7[_0x1674ab(0x2ac)]=this[_0x1674ab(0x2ac)][_0x1674ab(0x2ce)](),_0x5e08d7;},'_minBufferSize':0x0});_0x14d7b7[_0x5bb93b(0x186)]=_0x1cada5[_0x5bb93b(0x2ca)]({'cfg':_0x13c6aa[_0x5bb93b(0x2ca)](),'init':function(_0xd64784){var _0x51329b=_0x5bb93b;this['cfg']=this['cfg']['extend'](_0xd64784),this[_0x51329b(0x321)]();},'reset':function(){var _0x8ce814=_0x5bb93b;_0x1cada5[_0x8ce814(0x321)][_0x8ce814(0x17b)](this),this[_0x8ce814(0x2cd)]();},'update':function(_0x14d9c5){var _0x4b0cc3=_0x5bb93b;return this['_append'](_0x14d9c5),this[_0x4b0cc3(0x30e)](),this;},'finalize':function(_0xbf3263){var _0x43e404=_0x5bb93b;_0xbf3263&&this[_0x43e404(0x3f1)](_0xbf3263);var _0x274d7a=this[_0x43e404(0x456)]();return _0x274d7a;},'blockSize':0x10,'_createHelper':function(_0x516478){return function(_0x5a418d,_0x19b77d){var _0x34c02d=_0x1922;return new _0x516478[(_0x34c02d(0x227))](_0x19b77d)[_0x34c02d(0x173)](_0x5a418d);};},'_createHmacHelper':function(_0x4a8c60){return function(_0x1e64f0,_0xe8d768){var _0x5a3bde=_0x1922;return new _0x510218[(_0x5a3bde(0x466))][(_0x5a3bde(0x227))](_0x4a8c60,_0xe8d768)['finalize'](_0x1e64f0);};}});var _0x510218=_0x232d22[_0x5bb93b(0x13f)]={};return _0x232d22;}(Math);return _0x259e91;}));}(Ie)),Ie[_0x3a09dc(0x362)];}var pe={'exports':{}},Ci=pe[_0x507db8(0x362)],ze;function Et(){var _0x3f88ce=_0x507db8;return ze||(ze=0x1,function(_0x4ab0dd,_0x53347f){(function(_0xf69729,_0x2ffab4){var _0x45cba1=_0x1922;_0x4ab0dd[_0x45cba1(0x362)]=_0x2ffab4(Q());}(Ci,function(_0x50ff81){var _0x6bb520=_0x1922;return(function(){var _0x116409=_0x1922,_0x1b56db=_0x50ff81,_0x45c9c8=_0x1b56db[_0x116409(0x10c)],_0x55ebb3=_0x45c9c8[_0x116409(0x23d)],_0x2dcb0c=_0x1b56db[_0x116409(0x15b)];_0x2dcb0c[_0x116409(0x282)]={'stringify':function(_0x1cf79e){var _0x6fb95=_0x116409,_0x481a59=_0x1cf79e['words'],_0x290148=_0x1cf79e[_0x6fb95(0x38e)],_0x2a2a9f=this[_0x6fb95(0x432)];_0x1cf79e[_0x6fb95(0x1c1)]();for(var _0x7dd4b7=[],_0x1872bb=0x0;_0x1872bb<_0x290148;_0x1872bb+=0x3)for(var _0x50b5a9=_0x481a59[_0x1872bb>>>0x2]>>>0x18-_0x1872bb%0x4*0x8&0xff,_0x86a335=_0x481a59[_0x1872bb+0x1>>>0x2]>>>0x18-(_0x1872bb+0x1)%0x4*0x8&0xff,_0xc79479=_0x481a59[_0x1872bb+0x2>>>0x2]>>>0x18-(_0x1872bb+0x2)%0x4*0x8&0xff,_0x320ba7=_0x50b5a9<<0x10|_0x86a335<<0x8|_0xc79479,_0x32f052=0x0;_0x32f052<0x4&&_0x1872bb+_0x32f052*0.75<_0x290148;_0x32f052++)_0x7dd4b7['push'](_0x2a2a9f['charAt'](_0x320ba7>>>0x6*(0x3-_0x32f052)&0x3f));var _0x1f5d41=_0x2a2a9f[_0x6fb95(0x3da)](0x40);if(_0x1f5d41){for(;_0x7dd4b7[_0x6fb95(0x3a5)]%0x4;)_0x7dd4b7[_0x6fb95(0x299)](_0x1f5d41);}return _0x7dd4b7['join']('');},'parse':function(_0xfc4750){var _0x2d5b60=_0x116409,_0x22c72d=_0xfc4750[_0x2d5b60(0x3a5)],_0x379492=this['_map'],_0x2d3e4e=this['_reverseMap'];if(!_0x2d3e4e){_0x2d3e4e=this[_0x2d5b60(0x40d)]=[];for(var _0x4fca48=0x0;_0x4fca48<_0x379492[_0x2d5b60(0x3a5)];_0x4fca48++)_0x2d3e4e[_0x379492[_0x2d5b60(0x2b7)](_0x4fca48)]=_0x4fca48;}var _0x5f45a0=_0x379492[_0x2d5b60(0x3da)](0x40);if(_0x5f45a0){var _0x1b80a5=_0xfc4750[_0x2d5b60(0x1fb)](_0x5f45a0);_0x1b80a5!==-0x1&&(_0x22c72d=_0x1b80a5);}return _0x4f422c(_0xfc4750,_0x22c72d,_0x2d3e4e);},'_map':_0x116409(0x2e6)};function _0x4f422c(_0x5f26e3,_0x4aa02a,_0x17369e){var _0x194d49=_0x116409;for(var _0x34689b=[],_0x467041=0x0,_0x4b37b9=0x0;_0x4b37b9<_0x4aa02a;_0x4b37b9++)if(_0x4b37b9%0x4){var _0x4adac6=_0x17369e[_0x5f26e3[_0x194d49(0x2b7)](_0x4b37b9-0x1)]<<_0x4b37b9%0x4*0x2,_0x2177c8=_0x17369e[_0x5f26e3[_0x194d49(0x2b7)](_0x4b37b9)]>>>0x6-_0x4b37b9%0x4*0x2,_0x50cc4a=_0x4adac6|_0x2177c8;_0x34689b[_0x467041>>>0x2]|=_0x50cc4a<<0x18-_0x467041%0x4*0x8,_0x467041++;}return _0x55ebb3['create'](_0x34689b,_0x467041);}}()),_0x50ff81[_0x6bb520(0x15b)][_0x6bb520(0x282)];}));}(pe)),pe[_0x3f88ce(0x362)];}var me={'exports':{}},Ti=me[_0x507db8(0x362)],Je;function bi(){var _0x4e8a43=_0x507db8;return Je||(Je=0x1,function(_0x1bdd4a,_0x3ce8f9){(function(_0x1d6a63,_0x286a79){var _0xc30db9=_0x1922;_0x1bdd4a[_0xc30db9(0x362)]=_0x286a79(Q());}(Ti,function(_0x3826d4){return function(_0x326f39){var _0x233a0d=_0x1922,_0x2f49ee=_0x3826d4,_0x67f905=_0x2f49ee[_0x233a0d(0x10c)],_0x56d9c6=_0x67f905[_0x233a0d(0x23d)],_0x229468=_0x67f905[_0x233a0d(0x186)],_0x2910d4=_0x2f49ee['algo'],_0x7d0140=[];(function(){var _0x526741=_0x233a0d;for(var _0x3b0bff=0x0;_0x3b0bff<0x40;_0x3b0bff++)_0x7d0140[_0x3b0bff]=_0x326f39[_0x526741(0x353)](_0x326f39[_0x526741(0x184)](_0x3b0bff+0x1))*0x100000000|0x0;}());var _0x338ac7=_0x2910d4[_0x233a0d(0x38d)]=_0x229468[_0x233a0d(0x2ca)]({'_doReset':function(){var _0x1f8190=_0x233a0d;this[_0x1f8190(0x112)]=new _0x56d9c6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3464af,_0x1059e5){var _0x502711=_0x233a0d;for(var _0x394bc3=0x0;_0x394bc3<0x10;_0x394bc3++){var _0x2c5f5b=_0x1059e5+_0x394bc3,_0x33e263=_0x3464af[_0x2c5f5b];_0x3464af[_0x2c5f5b]=(_0x33e263<<0x8|_0x33e263>>>0x18)&0xff00ff|(_0x33e263<<0x18|_0x33e263>>>0x8)&0xff00ff00;}var _0x128dc6=this[_0x502711(0x112)][_0x502711(0x1b1)],_0x5da312=_0x3464af[_0x1059e5+0x0],_0x9acfc2=_0x3464af[_0x1059e5+0x1],_0x256835=_0x3464af[_0x1059e5+0x2],_0x9399a0=_0x3464af[_0x1059e5+0x3],_0x388d09=_0x3464af[_0x1059e5+0x4],_0x29f2ac=_0x3464af[_0x1059e5+0x5],_0xc5b05b=_0x3464af[_0x1059e5+0x6],_0x28d80d=_0x3464af[_0x1059e5+0x7],_0x5cb3f9=_0x3464af[_0x1059e5+0x8],_0x16b715=_0x3464af[_0x1059e5+0x9],_0x44db6a=_0x3464af[_0x1059e5+0xa],_0x27cfd1=_0x3464af[_0x1059e5+0xb],_0xf3e979=_0x3464af[_0x1059e5+0xc],_0x53ea71=_0x3464af[_0x1059e5+0xd],_0x1211c5=_0x3464af[_0x1059e5+0xe],_0x5e9fb0=_0x3464af[_0x1059e5+0xf],_0x24e735=_0x128dc6[0x0],_0x3772d7=_0x128dc6[0x1],_0x5b541f=_0x128dc6[0x2],_0x78c4a9=_0x128dc6[0x3];_0x24e735=_0x3b84c4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x5da312,0x7,_0x7d0140[0x0]),_0x78c4a9=_0x3b84c4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x9acfc2,0xc,_0x7d0140[0x1]),_0x5b541f=_0x3b84c4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x256835,0x11,_0x7d0140[0x2]),_0x3772d7=_0x3b84c4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x9399a0,0x16,_0x7d0140[0x3]),_0x24e735=_0x3b84c4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x388d09,0x7,_0x7d0140[0x4]),_0x78c4a9=_0x3b84c4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x29f2ac,0xc,_0x7d0140[0x5]),_0x5b541f=_0x3b84c4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0xc5b05b,0x11,_0x7d0140[0x6]),_0x3772d7=_0x3b84c4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x28d80d,0x16,_0x7d0140[0x7]),_0x24e735=_0x3b84c4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x5cb3f9,0x7,_0x7d0140[0x8]),_0x78c4a9=_0x3b84c4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x16b715,0xc,_0x7d0140[0x9]),_0x5b541f=_0x3b84c4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x44db6a,0x11,_0x7d0140[0xa]),_0x3772d7=_0x3b84c4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x27cfd1,0x16,_0x7d0140[0xb]),_0x24e735=_0x3b84c4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0xf3e979,0x7,_0x7d0140[0xc]),_0x78c4a9=_0x3b84c4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x53ea71,0xc,_0x7d0140[0xd]),_0x5b541f=_0x3b84c4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x1211c5,0x11,_0x7d0140[0xe]),_0x3772d7=_0x3b84c4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x5e9fb0,0x16,_0x7d0140[0xf]),_0x24e735=_0x10d350(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x9acfc2,0x5,_0x7d0140[0x10]),_0x78c4a9=_0x10d350(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0xc5b05b,0x9,_0x7d0140[0x11]),_0x5b541f=_0x10d350(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x27cfd1,0xe,_0x7d0140[0x12]),_0x3772d7=_0x10d350(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x5da312,0x14,_0x7d0140[0x13]),_0x24e735=_0x10d350(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x29f2ac,0x5,_0x7d0140[0x14]),_0x78c4a9=_0x10d350(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x44db6a,0x9,_0x7d0140[0x15]),_0x5b541f=_0x10d350(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x5e9fb0,0xe,_0x7d0140[0x16]),_0x3772d7=_0x10d350(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x388d09,0x14,_0x7d0140[0x17]),_0x24e735=_0x10d350(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x16b715,0x5,_0x7d0140[0x18]),_0x78c4a9=_0x10d350(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x1211c5,0x9,_0x7d0140[0x19]),_0x5b541f=_0x10d350(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x9399a0,0xe,_0x7d0140[0x1a]),_0x3772d7=_0x10d350(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x5cb3f9,0x14,_0x7d0140[0x1b]),_0x24e735=_0x10d350(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x53ea71,0x5,_0x7d0140[0x1c]),_0x78c4a9=_0x10d350(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x256835,0x9,_0x7d0140[0x1d]),_0x5b541f=_0x10d350(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x28d80d,0xe,_0x7d0140[0x1e]),_0x3772d7=_0x10d350(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0xf3e979,0x14,_0x7d0140[0x1f]),_0x24e735=_0x5b1cfd(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x29f2ac,0x4,_0x7d0140[0x20]),_0x78c4a9=_0x5b1cfd(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x5cb3f9,0xb,_0x7d0140[0x21]),_0x5b541f=_0x5b1cfd(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x27cfd1,0x10,_0x7d0140[0x22]),_0x3772d7=_0x5b1cfd(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x1211c5,0x17,_0x7d0140[0x23]),_0x24e735=_0x5b1cfd(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x9acfc2,0x4,_0x7d0140[0x24]),_0x78c4a9=_0x5b1cfd(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x388d09,0xb,_0x7d0140[0x25]),_0x5b541f=_0x5b1cfd(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x28d80d,0x10,_0x7d0140[0x26]),_0x3772d7=_0x5b1cfd(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x44db6a,0x17,_0x7d0140[0x27]),_0x24e735=_0x5b1cfd(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x53ea71,0x4,_0x7d0140[0x28]),_0x78c4a9=_0x5b1cfd(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x5da312,0xb,_0x7d0140[0x29]),_0x5b541f=_0x5b1cfd(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x9399a0,0x10,_0x7d0140[0x2a]),_0x3772d7=_0x5b1cfd(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0xc5b05b,0x17,_0x7d0140[0x2b]),_0x24e735=_0x5b1cfd(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x16b715,0x4,_0x7d0140[0x2c]),_0x78c4a9=_0x5b1cfd(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0xf3e979,0xb,_0x7d0140[0x2d]),_0x5b541f=_0x5b1cfd(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x5e9fb0,0x10,_0x7d0140[0x2e]),_0x3772d7=_0x5b1cfd(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x256835,0x17,_0x7d0140[0x2f]),_0x24e735=_0x27a1e4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x5da312,0x6,_0x7d0140[0x30]),_0x78c4a9=_0x27a1e4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x28d80d,0xa,_0x7d0140[0x31]),_0x5b541f=_0x27a1e4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x1211c5,0xf,_0x7d0140[0x32]),_0x3772d7=_0x27a1e4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x29f2ac,0x15,_0x7d0140[0x33]),_0x24e735=_0x27a1e4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0xf3e979,0x6,_0x7d0140[0x34]),_0x78c4a9=_0x27a1e4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x9399a0,0xa,_0x7d0140[0x35]),_0x5b541f=_0x27a1e4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x44db6a,0xf,_0x7d0140[0x36]),_0x3772d7=_0x27a1e4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x9acfc2,0x15,_0x7d0140[0x37]),_0x24e735=_0x27a1e4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x5cb3f9,0x6,_0x7d0140[0x38]),_0x78c4a9=_0x27a1e4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x5e9fb0,0xa,_0x7d0140[0x39]),_0x5b541f=_0x27a1e4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0xc5b05b,0xf,_0x7d0140[0x3a]),_0x3772d7=_0x27a1e4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x53ea71,0x15,_0x7d0140[0x3b]),_0x24e735=_0x27a1e4(_0x24e735,_0x3772d7,_0x5b541f,_0x78c4a9,_0x388d09,0x6,_0x7d0140[0x3c]),_0x78c4a9=_0x27a1e4(_0x78c4a9,_0x24e735,_0x3772d7,_0x5b541f,_0x27cfd1,0xa,_0x7d0140[0x3d]),_0x5b541f=_0x27a1e4(_0x5b541f,_0x78c4a9,_0x24e735,_0x3772d7,_0x256835,0xf,_0x7d0140[0x3e]),_0x3772d7=_0x27a1e4(_0x3772d7,_0x5b541f,_0x78c4a9,_0x24e735,_0x16b715,0x15,_0x7d0140[0x3f]),_0x128dc6[0x0]=_0x128dc6[0x0]+_0x24e735|0x0,_0x128dc6[0x1]=_0x128dc6[0x1]+_0x3772d7|0x0,_0x128dc6[0x2]=_0x128dc6[0x2]+_0x5b541f|0x0,_0x128dc6[0x3]=_0x128dc6[0x3]+_0x78c4a9|0x0;},'_doFinalize':function(){var _0x4ad249=_0x233a0d,_0x5b39e2=this[_0x4ad249(0x2ac)],_0x51b609=_0x5b39e2[_0x4ad249(0x1b1)],_0x137f30=this[_0x4ad249(0x441)]*0x8,_0x12cd26=_0x5b39e2[_0x4ad249(0x38e)]*0x8;_0x51b609[_0x12cd26>>>0x5]|=0x80<<0x18-_0x12cd26%0x20;var _0xbd5f31=_0x326f39[_0x4ad249(0x158)](_0x137f30/0x100000000),_0x2a1965=_0x137f30;_0x51b609[(_0x12cd26+0x40>>>0x9<<0x4)+0xf]=(_0xbd5f31<<0x8|_0xbd5f31>>>0x18)&0xff00ff|(_0xbd5f31<<0x18|_0xbd5f31>>>0x8)&0xff00ff00,_0x51b609[(_0x12cd26+0x40>>>0x9<<0x4)+0xe]=(_0x2a1965<<0x8|_0x2a1965>>>0x18)&0xff00ff|(_0x2a1965<<0x18|_0x2a1965>>>0x8)&0xff00ff00,_0x5b39e2[_0x4ad249(0x38e)]=(_0x51b609[_0x4ad249(0x3a5)]+0x1)*0x4,this[_0x4ad249(0x30e)]();for(var _0x3d0dbe=this[_0x4ad249(0x112)],_0x27d15d=_0x3d0dbe[_0x4ad249(0x1b1)],_0x266b4c=0x0;_0x266b4c<0x4;_0x266b4c++){var _0x3eebc8=_0x27d15d[_0x266b4c];_0x27d15d[_0x266b4c]=(_0x3eebc8<<0x8|_0x3eebc8>>>0x18)&0xff00ff|(_0x3eebc8<<0x18|_0x3eebc8>>>0x8)&0xff00ff00;}return _0x3d0dbe;},'clone':function(){var _0xd3741e=_0x233a0d,_0x285ae2=_0x229468[_0xd3741e(0x2ce)][_0xd3741e(0x17b)](this);return _0x285ae2['_hash']=this[_0xd3741e(0x112)][_0xd3741e(0x2ce)](),_0x285ae2;}});function _0x3b84c4(_0x4c8b89,_0x2461e7,_0x4ff1df,_0x2fb0dc,_0x51e518,_0x275dfa,_0xdc6327){var _0x47f806=_0x4c8b89+(_0x2461e7&_0x4ff1df|~_0x2461e7&_0x2fb0dc)+_0x51e518+_0xdc6327;return(_0x47f806<<_0x275dfa|_0x47f806>>>0x20-_0x275dfa)+_0x2461e7;}function _0x10d350(_0x1f509c,_0x5641fd,_0x2dcf5c,_0x4be778,_0x4fdc0b,_0x38047b,_0x15670c){var _0x1ce8ef=_0x1f509c+(_0x5641fd&_0x4be778|_0x2dcf5c&~_0x4be778)+_0x4fdc0b+_0x15670c;return(_0x1ce8ef<<_0x38047b|_0x1ce8ef>>>0x20-_0x38047b)+_0x5641fd;}function _0x5b1cfd(_0xf4a60b,_0x1f95a3,_0x1557c8,_0x3c248c,_0x4c6161,_0x419de5,_0x47ee2e){var _0x26ae8c=_0xf4a60b+(_0x1f95a3^_0x1557c8^_0x3c248c)+_0x4c6161+_0x47ee2e;return(_0x26ae8c<<_0x419de5|_0x26ae8c>>>0x20-_0x419de5)+_0x1f95a3;}function _0x27a1e4(_0x88b33c,_0x210ff6,_0x2f528d,_0x4654a8,_0x2b72ae,_0xa1c7e6,_0x4b236d){var _0x48b31e=_0x88b33c+(_0x2f528d^(_0x210ff6|~_0x4654a8))+_0x2b72ae+_0x4b236d;return(_0x48b31e<<_0xa1c7e6|_0x48b31e>>>0x20-_0xa1c7e6)+_0x210ff6;}_0x2f49ee[_0x233a0d(0x38d)]=_0x229468[_0x233a0d(0x1a6)](_0x338ac7),_0x2f49ee[_0x233a0d(0x283)]=_0x229468[_0x233a0d(0x37f)](_0x338ac7);}(Math),_0x3826d4['MD5'];}));}(me)),me[_0x4e8a43(0x362)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x507db8(0x362)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x1c60eb,_0x4eff18){(function(_0x54de9a,_0xc735b6){var _0x27150e=_0x1922;_0x1c60eb[_0x27150e(0x362)]=_0xc735b6(Q());}(Oi,function(_0xb102c1){var _0x495985=_0x1922;return(function(){var _0x3f29f7=_0x1922,_0x245b44=_0xb102c1,_0x4bacc9=_0x245b44['lib'],_0x3a91e1=_0x4bacc9['WordArray'],_0x516ad5=_0x4bacc9[_0x3f29f7(0x186)],_0x2333ff=_0x245b44[_0x3f29f7(0x13f)],_0x3e701f=[],_0x3b63a7=_0x2333ff['SHA1']=_0x516ad5[_0x3f29f7(0x2ca)]({'_doReset':function(){var _0x6cf224=_0x3f29f7;this[_0x6cf224(0x112)]=new _0x3a91e1[(_0x6cf224(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x46f75b,_0x465102){var _0x220abe=_0x3f29f7;for(var _0x4f7733=this['_hash'][_0x220abe(0x1b1)],_0x72961d=_0x4f7733[0x0],_0x3e4aff=_0x4f7733[0x1],_0x35a970=_0x4f7733[0x2],_0x4870fc=_0x4f7733[0x3],_0x2e6610=_0x4f7733[0x4],_0x33e189=0x0;_0x33e189<0x50;_0x33e189++){if(_0x33e189<0x10)_0x3e701f[_0x33e189]=_0x46f75b[_0x465102+_0x33e189]|0x0;else{var _0x50d2ee=_0x3e701f[_0x33e189-0x3]^_0x3e701f[_0x33e189-0x8]^_0x3e701f[_0x33e189-0xe]^_0x3e701f[_0x33e189-0x10];_0x3e701f[_0x33e189]=_0x50d2ee<<0x1|_0x50d2ee>>>0x1f;}var _0xab05f5=(_0x72961d<<0x5|_0x72961d>>>0x1b)+_0x2e6610+_0x3e701f[_0x33e189];_0x33e189<0x14?_0xab05f5+=(_0x3e4aff&_0x35a970|~_0x3e4aff&_0x4870fc)+0x5a827999:_0x33e189<0x28?_0xab05f5+=(_0x3e4aff^_0x35a970^_0x4870fc)+0x6ed9eba1:_0x33e189<0x3c?_0xab05f5+=(_0x3e4aff&_0x35a970|_0x3e4aff&_0x4870fc|_0x35a970&_0x4870fc)-0x70e44324:_0xab05f5+=(_0x3e4aff^_0x35a970^_0x4870fc)-0x359d3e2a,_0x2e6610=_0x4870fc,_0x4870fc=_0x35a970,_0x35a970=_0x3e4aff<<0x1e|_0x3e4aff>>>0x2,_0x3e4aff=_0x72961d,_0x72961d=_0xab05f5;}_0x4f7733[0x0]=_0x4f7733[0x0]+_0x72961d|0x0,_0x4f7733[0x1]=_0x4f7733[0x1]+_0x3e4aff|0x0,_0x4f7733[0x2]=_0x4f7733[0x2]+_0x35a970|0x0,_0x4f7733[0x3]=_0x4f7733[0x3]+_0x4870fc|0x0,_0x4f7733[0x4]=_0x4f7733[0x4]+_0x2e6610|0x0;},'_doFinalize':function(){var _0x4e25cd=_0x3f29f7,_0x55d80a=this['_data'],_0x2960af=_0x55d80a[_0x4e25cd(0x1b1)],_0x4612ac=this[_0x4e25cd(0x441)]*0x8,_0x180c5e=_0x55d80a[_0x4e25cd(0x38e)]*0x8;return _0x2960af[_0x180c5e>>>0x5]|=0x80<<0x18-_0x180c5e%0x20,_0x2960af[(_0x180c5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x4e25cd(0x158)](_0x4612ac/0x100000000),_0x2960af[(_0x180c5e+0x40>>>0x9<<0x4)+0xf]=_0x4612ac,_0x55d80a['sigBytes']=_0x2960af[_0x4e25cd(0x3a5)]*0x4,this[_0x4e25cd(0x30e)](),this[_0x4e25cd(0x112)];},'clone':function(){var _0x2c2b09=_0x3f29f7,_0x662011=_0x516ad5['clone'][_0x2c2b09(0x17b)](this);return _0x662011[_0x2c2b09(0x112)]=this[_0x2c2b09(0x112)][_0x2c2b09(0x2ce)](),_0x662011;}});_0x245b44['SHA1']=_0x516ad5[_0x3f29f7(0x1a6)](_0x3b63a7),_0x245b44[_0x3f29f7(0x206)]=_0x516ad5['_createHmacHelper'](_0x3b63a7);}()),_0xb102c1[_0x495985(0x387)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x507db8(0x362)],Ze;function Ni(){var _0x79e4c2=_0x507db8;return Ze||(Ze=0x1,function(_0x3e8a5e,_0x1e94e5){(function(_0x4ec2f9,_0x2a2161){var _0x263e36=_0x1922;_0x3e8a5e[_0x263e36(0x362)]=_0x2a2161(Q());}(yi,function(_0x15d8dd){(function(){var _0x3efa48=_0x1922,_0x39bce8=_0x15d8dd,_0x5df59c=_0x39bce8[_0x3efa48(0x10c)],_0x2bdad7=_0x5df59c[_0x3efa48(0x145)],_0x217fc7=_0x39bce8[_0x3efa48(0x15b)],_0x193e61=_0x217fc7[_0x3efa48(0x19a)],_0x5e320a=_0x39bce8[_0x3efa48(0x13f)];_0x5e320a[_0x3efa48(0x466)]=_0x2bdad7[_0x3efa48(0x2ca)]({'init':function(_0x96f275,_0x31db84){var _0x4c88d2=_0x3efa48;_0x96f275=this[_0x4c88d2(0x312)]=new _0x96f275[(_0x4c88d2(0x227))](),typeof _0x31db84==_0x4c88d2(0x2e8)&&(_0x31db84=_0x193e61[_0x4c88d2(0x224)](_0x31db84));var _0x56d647=_0x96f275[_0x4c88d2(0x298)],_0x56e6b4=_0x56d647*0x4;_0x31db84['sigBytes']>_0x56e6b4&&(_0x31db84=_0x96f275[_0x4c88d2(0x173)](_0x31db84)),_0x31db84[_0x4c88d2(0x1c1)]();for(var _0x5078e7=this[_0x4c88d2(0x1ab)]=_0x31db84[_0x4c88d2(0x2ce)](),_0x3f0be9=this['_iKey']=_0x31db84[_0x4c88d2(0x2ce)](),_0x23880e=_0x5078e7['words'],_0x3696de=_0x3f0be9[_0x4c88d2(0x1b1)],_0x11ada5=0x0;_0x11ada5<_0x56d647;_0x11ada5++)_0x23880e[_0x11ada5]^=0x5c5c5c5c,_0x3696de[_0x11ada5]^=0x36363636;_0x5078e7[_0x4c88d2(0x38e)]=_0x3f0be9['sigBytes']=_0x56e6b4,this[_0x4c88d2(0x321)]();},'reset':function(){var _0x51bf17=_0x3efa48,_0x4900c0=this[_0x51bf17(0x312)];_0x4900c0[_0x51bf17(0x321)](),_0x4900c0[_0x51bf17(0x3a3)](this[_0x51bf17(0xee)]);},'update':function(_0x5d258e){var _0x5cc579=_0x3efa48;return this['_hasher'][_0x5cc579(0x3a3)](_0x5d258e),this;},'finalize':function(_0x685b9f){var _0x560b1c=_0x3efa48,_0x1271d1=this[_0x560b1c(0x312)],_0xa9e2f8=_0x1271d1['finalize'](_0x685b9f);_0x1271d1[_0x560b1c(0x321)]();var _0x5932c7=_0x1271d1[_0x560b1c(0x173)](this['_oKey'][_0x560b1c(0x2ce)]()[_0x560b1c(0x16d)](_0xa9e2f8));return _0x5932c7;}});}());}));}(Ce)),Ce[_0x79e4c2(0x362)];}var Di=ge[_0x507db8(0x362)],Qe;function Ct(){var _0x5822af=_0x507db8;return Qe||(Qe=0x1,function(_0x3a0781,_0x17660b){(function(_0x3c5fbf,_0x4fbba9,_0x10fe9a){var _0x2d962e=_0x1922;_0x3a0781[_0x2d962e(0x362)]=_0x4fbba9(Q(),Ri(),Ni());}(Di,function(_0x19a755){var _0x47c402=_0x1922;return(function(){var _0xbca72e=_0x1922,_0x382590=_0x19a755,_0x44b0b7=_0x382590[_0xbca72e(0x10c)],_0x3befcf=_0x44b0b7[_0xbca72e(0x145)],_0x464d5a=_0x44b0b7[_0xbca72e(0x23d)],_0x198f9f=_0x382590['algo'],_0x5cc498=_0x198f9f['MD5'],_0x17ae25=_0x198f9f[_0xbca72e(0x130)]=_0x3befcf[_0xbca72e(0x2ca)]({'cfg':_0x3befcf[_0xbca72e(0x2ca)]({'keySize':0x80/0x20,'hasher':_0x5cc498,'iterations':0x1}),'init':function(_0x5580d8){var _0x50a753=_0xbca72e;this[_0x50a753(0x17d)]=this[_0x50a753(0x17d)]['extend'](_0x5580d8);},'compute':function(_0xd4bec1,_0x4c7028){var _0x2fd777=_0xbca72e;for(var _0x3f6b3d,_0x3f07d9=this[_0x2fd777(0x17d)],_0x2e9ddc=_0x3f07d9[_0x2fd777(0x359)]['create'](),_0x4fbbb1=_0x464d5a['create'](),_0x50200a=_0x4fbbb1['words'],_0x5339d9=_0x3f07d9[_0x2fd777(0x449)],_0x4ac718=_0x3f07d9[_0x2fd777(0x2f8)];_0x50200a['length']<_0x5339d9;){_0x3f6b3d&&_0x2e9ddc[_0x2fd777(0x3a3)](_0x3f6b3d),_0x3f6b3d=_0x2e9ddc[_0x2fd777(0x3a3)](_0xd4bec1)[_0x2fd777(0x173)](_0x4c7028),_0x2e9ddc[_0x2fd777(0x321)]();for(var _0x4f49fe=0x1;_0x4f49fe<_0x4ac718;_0x4f49fe++)_0x3f6b3d=_0x2e9ddc['finalize'](_0x3f6b3d),_0x2e9ddc[_0x2fd777(0x321)]();_0x4fbbb1[_0x2fd777(0x16d)](_0x3f6b3d);}return _0x4fbbb1[_0x2fd777(0x38e)]=_0x5339d9*0x4,_0x4fbbb1;}});_0x382590[_0xbca72e(0x130)]=function(_0x1d9afe,_0x59c64b,_0x249211){var _0x2c078e=_0xbca72e;return _0x17ae25['create'](_0x249211)[_0x2c078e(0x1cc)](_0x1d9afe,_0x59c64b);};}()),_0x19a755[_0x47c402(0x130)];}));}(ge)),ge[_0x5822af(0x362)];}var Te={'exports':{}},Ui=Te[_0x507db8(0x362)],et;function Tt(){return et||(et=0x1,function(_0x1ef50c,_0x5a3376){(function(_0x25c352,_0x33468a,_0x37b923){var _0x3d0399=_0x1922;_0x1ef50c[_0x3d0399(0x362)]=_0x33468a(Q(),Ct());}(Ui,function(_0x2c9de1){var _0x7fb675=_0x1922;_0x2c9de1[_0x7fb675(0x10c)][_0x7fb675(0x123)]||function(_0x4c4219){var _0xb1c84d=_0x7fb675,_0x237455=_0x2c9de1,_0x28ae94=_0x237455['lib'],_0x13ea38=_0x28ae94[_0xb1c84d(0x145)],_0x393974=_0x28ae94['WordArray'],_0xd9db7a=_0x28ae94[_0xb1c84d(0x1f7)],_0x2765c0=_0x237455[_0xb1c84d(0x15b)];_0x2765c0[_0xb1c84d(0x19a)];var _0x301bba=_0x2765c0[_0xb1c84d(0x282)],_0x3c9476=_0x237455[_0xb1c84d(0x13f)],_0x3e4b8b=_0x3c9476[_0xb1c84d(0x130)],_0x2869e3=_0x28ae94['Cipher']=_0xd9db7a['extend']({'cfg':_0x13ea38[_0xb1c84d(0x2ca)](),'createEncryptor':function(_0x331680,_0x2d2545){var _0x5d5e60=_0xb1c84d;return this[_0x5d5e60(0x443)](this['_ENC_XFORM_MODE'],_0x331680,_0x2d2545);},'createDecryptor':function(_0x323271,_0x372f39){var _0x3cc152=_0xb1c84d;return this[_0x3cc152(0x443)](this[_0x3cc152(0x1c9)],_0x323271,_0x372f39);},'init':function(_0x5003af,_0x497c45,_0xc29fbe){var _0x33ad38=_0xb1c84d;this[_0x33ad38(0x17d)]=this['cfg'][_0x33ad38(0x2ca)](_0xc29fbe),this[_0x33ad38(0x18d)]=_0x5003af,this[_0x33ad38(0x21d)]=_0x497c45,this[_0x33ad38(0x321)]();},'reset':function(){var _0x3da2ef=_0xb1c84d;_0xd9db7a[_0x3da2ef(0x321)][_0x3da2ef(0x17b)](this),this['_doReset']();},'process':function(_0x2dad98){var _0x5e36e7=_0xb1c84d;return this[_0x5e36e7(0x3f1)](_0x2dad98),this[_0x5e36e7(0x30e)]();},'finalize':function(_0x594015){var _0x2fb96e=_0xb1c84d;_0x594015&&this[_0x2fb96e(0x3f1)](_0x594015);var _0x47db19=this['_doFinalize']();return _0x47db19;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16f41a(_0xd9be1d){var _0x2e2bb9=_0x1922;return typeof _0xd9be1d==_0x2e2bb9(0x2e8)?_0x3919bf:_0x41d08c;}return function(_0x4bc58e){return{'encrypt':function(_0x2af695,_0x16251c,_0x6b342d){var _0x54eb04=_0x1922;return _0x16f41a(_0x16251c)[_0x54eb04(0x2f6)](_0x4bc58e,_0x2af695,_0x16251c,_0x6b342d);},'decrypt':function(_0x2f786b,_0x5dd94f,_0x52566a){var _0x3c8b3e=_0x1922;return _0x16f41a(_0x5dd94f)[_0x3c8b3e(0x3b1)](_0x4bc58e,_0x2f786b,_0x5dd94f,_0x52566a);}};};}())});_0x28ae94[_0xb1c84d(0x399)]=_0x2869e3[_0xb1c84d(0x2ca)]({'_doFinalize':function(){var _0x120f8d=_0xb1c84d,_0x2add80=this[_0x120f8d(0x30e)](!0x0);return _0x2add80;},'blockSize':0x1});var _0x558aa8=_0x237455[_0xb1c84d(0x1b3)]={},_0x1b153a=_0x28ae94['BlockCipherMode']=_0x13ea38[_0xb1c84d(0x2ca)]({'createEncryptor':function(_0x45308b,_0x251af9){var _0x268b4d=_0xb1c84d;return this['Encryptor'][_0x268b4d(0x443)](_0x45308b,_0x251af9);},'createDecryptor':function(_0x4facdc,_0x53bb08){var _0x2467c7=_0xb1c84d;return this[_0x2467c7(0x3b6)][_0x2467c7(0x443)](_0x4facdc,_0x53bb08);},'init':function(_0x31c981,_0x4dde5d){var _0x268323=_0xb1c84d;this[_0x268323(0x1e0)]=_0x31c981,this[_0x268323(0x264)]=_0x4dde5d;}}),_0x1e8e6c=_0x558aa8[_0xb1c84d(0x236)]=(function(){var _0x42f761=_0xb1c84d,_0x52a636=_0x1b153a['extend']();_0x52a636['Encryptor']=_0x52a636[_0x42f761(0x2ca)]({'processBlock':function(_0xad1e20,_0x4d93ca){var _0x257dd4=_0x42f761,_0x511338=this['_cipher'],_0x5636b7=_0x511338[_0x257dd4(0x298)];_0x4b20dd[_0x257dd4(0x17b)](this,_0xad1e20,_0x4d93ca,_0x5636b7),_0x511338[_0x257dd4(0x1ac)](_0xad1e20,_0x4d93ca),this[_0x257dd4(0x2ef)]=_0xad1e20[_0x257dd4(0x3b9)](_0x4d93ca,_0x4d93ca+_0x5636b7);}}),_0x52a636['Decryptor']=_0x52a636[_0x42f761(0x2ca)]({'processBlock':function(_0x5b1362,_0x306742){var _0x457767=_0x42f761,_0x3b7f33=this[_0x457767(0x1e0)],_0x1faff6=_0x3b7f33['blockSize'],_0x4e4a5d=_0x5b1362[_0x457767(0x3b9)](_0x306742,_0x306742+_0x1faff6);_0x3b7f33[_0x457767(0x2eb)](_0x5b1362,_0x306742),_0x4b20dd['call'](this,_0x5b1362,_0x306742,_0x1faff6),this[_0x457767(0x2ef)]=_0x4e4a5d;}});function _0x4b20dd(_0xddfd5,_0x288fe3,_0x5d5c4f){var _0x47aede=_0x42f761,_0x29c60f,_0x27309b=this[_0x47aede(0x264)];_0x27309b?(_0x29c60f=_0x27309b,this[_0x47aede(0x264)]=_0x4c4219):_0x29c60f=this[_0x47aede(0x2ef)];for(var _0x141807=0x0;_0x141807<_0x5d5c4f;_0x141807++)_0xddfd5[_0x288fe3+_0x141807]^=_0x29c60f[_0x141807];}return _0x52a636;}()),_0x3bff5d=_0x237455[_0xb1c84d(0x1c5)]={},_0x2fdcc8=_0x3bff5d[_0xb1c84d(0x38b)]={'pad':function(_0x2ec232,_0x28fcef){var _0x426a76=_0xb1c84d;for(var _0xab4adb=_0x28fcef*0x4,_0x273459=_0xab4adb-_0x2ec232[_0x426a76(0x38e)]%_0xab4adb,_0x1b58a2=_0x273459<<0x18|_0x273459<<0x10|_0x273459<<0x8|_0x273459,_0x5e99ae=[],_0x4a2a63=0x0;_0x4a2a63<_0x273459;_0x4a2a63+=0x4)_0x5e99ae['push'](_0x1b58a2);var _0x139c25=_0x393974['create'](_0x5e99ae,_0x273459);_0x2ec232[_0x426a76(0x16d)](_0x139c25);},'unpad':function(_0x26f3d5){var _0x2aecf4=_0xb1c84d,_0x525aa4=_0x26f3d5[_0x2aecf4(0x1b1)][_0x26f3d5[_0x2aecf4(0x38e)]-0x1>>>0x2]&0xff;_0x26f3d5[_0x2aecf4(0x38e)]-=_0x525aa4;}};_0x28ae94[_0xb1c84d(0x29b)]=_0x2869e3[_0xb1c84d(0x2ca)]({'cfg':_0x2869e3[_0xb1c84d(0x17d)]['extend']({'mode':_0x1e8e6c,'padding':_0x2fdcc8}),'reset':function(){var _0x3fa88a=_0xb1c84d,_0x74fd57;_0x2869e3[_0x3fa88a(0x321)]['call'](this);var _0x55669e=this[_0x3fa88a(0x17d)],_0x567c2f=_0x55669e['iv'],_0x3204f3=_0x55669e[_0x3fa88a(0x1b3)];this[_0x3fa88a(0x18d)]==this[_0x3fa88a(0x1ee)]?_0x74fd57=_0x3204f3[_0x3fa88a(0x39c)]:(_0x74fd57=_0x3204f3[_0x3fa88a(0x237)],this[_0x3fa88a(0x3e9)]=0x1),this[_0x3fa88a(0x3bb)]&&this[_0x3fa88a(0x3bb)][_0x3fa88a(0x42a)]==_0x74fd57?this['_mode'][_0x3fa88a(0x227)](this,_0x567c2f&&_0x567c2f['words']):(this[_0x3fa88a(0x3bb)]=_0x74fd57[_0x3fa88a(0x17b)](_0x3204f3,this,_0x567c2f&&_0x567c2f[_0x3fa88a(0x1b1)]),this[_0x3fa88a(0x3bb)][_0x3fa88a(0x42a)]=_0x74fd57);},'_doProcessBlock':function(_0x579393,_0x280861){var _0x289818=_0xb1c84d;this[_0x289818(0x3bb)][_0x289818(0x257)](_0x579393,_0x280861);},'_doFinalize':function(){var _0x4f87bb=_0xb1c84d,_0x8d388f,_0x41b885=this[_0x4f87bb(0x17d)]['padding'];return this[_0x4f87bb(0x18d)]==this[_0x4f87bb(0x1ee)]?(_0x41b885[_0x4f87bb(0x1c5)](this[_0x4f87bb(0x2ac)],this[_0x4f87bb(0x298)]),_0x8d388f=this[_0x4f87bb(0x30e)](!0x0)):(_0x8d388f=this[_0x4f87bb(0x30e)](!0x0),_0x41b885[_0x4f87bb(0x36f)](_0x8d388f)),_0x8d388f;},'blockSize':0x80/0x20});var _0x31c626=_0x28ae94[_0xb1c84d(0x29d)]=_0x13ea38[_0xb1c84d(0x2ca)]({'init':function(_0x55ee6b){var _0x328e91=_0xb1c84d;this[_0x328e91(0x455)](_0x55ee6b);},'toString':function(_0x4e0eb1){var _0x372153=_0xb1c84d;return(_0x4e0eb1||this['formatter'])[_0x372153(0x3d6)](this);}}),_0x47fbef=_0x237455[_0xb1c84d(0x13b)]={},_0x4a2ad0=_0x47fbef[_0xb1c84d(0x1d6)]={'stringify':function(_0x4d8257){var _0x5a31da=_0xb1c84d,_0x23f915,_0xad1eed=_0x4d8257[_0x5a31da(0x1da)],_0x1f8fad=_0x4d8257['salt'];return _0x1f8fad?_0x23f915=_0x393974[_0x5a31da(0x443)]([0x53616c74,0x65645f5f])[_0x5a31da(0x16d)](_0x1f8fad)[_0x5a31da(0x16d)](_0xad1eed):_0x23f915=_0xad1eed,_0x23f915['toString'](_0x301bba);},'parse':function(_0x8615e){var _0x1cdf4c=_0xb1c84d,_0x51554c,_0x3c870c=_0x301bba[_0x1cdf4c(0x224)](_0x8615e),_0x46f486=_0x3c870c[_0x1cdf4c(0x1b1)];return _0x46f486[0x0]==0x53616c74&&_0x46f486[0x1]==0x65645f5f&&(_0x51554c=_0x393974[_0x1cdf4c(0x443)](_0x46f486[_0x1cdf4c(0x3b9)](0x2,0x4)),_0x46f486['splice'](0x0,0x4),_0x3c870c[_0x1cdf4c(0x38e)]-=0x10),_0x31c626[_0x1cdf4c(0x443)]({'ciphertext':_0x3c870c,'salt':_0x51554c});}},_0x41d08c=_0x28ae94[_0xb1c84d(0x2b2)]=_0x13ea38[_0xb1c84d(0x2ca)]({'cfg':_0x13ea38[_0xb1c84d(0x2ca)]({'format':_0x4a2ad0}),'encrypt':function(_0x4b5f76,_0x5981e9,_0x4d4f9d,_0x56c647){var _0xb08b7=_0xb1c84d;_0x56c647=this[_0xb08b7(0x17d)][_0xb08b7(0x2ca)](_0x56c647);var _0x2e6938=_0x4b5f76[_0xb08b7(0x39c)](_0x4d4f9d,_0x56c647),_0x2a0cfe=_0x2e6938[_0xb08b7(0x173)](_0x5981e9),_0x481d9a=_0x2e6938[_0xb08b7(0x17d)];return _0x31c626['create']({'ciphertext':_0x2a0cfe,'key':_0x4d4f9d,'iv':_0x481d9a['iv'],'algorithm':_0x4b5f76,'mode':_0x481d9a['mode'],'padding':_0x481d9a['padding'],'blockSize':_0x4b5f76[_0xb08b7(0x298)],'formatter':_0x56c647[_0xb08b7(0x13b)]});},'decrypt':function(_0x35a7da,_0x27afb1,_0xa851ac,_0x846a5d){var _0x4e3648=_0xb1c84d;_0x846a5d=this['cfg'][_0x4e3648(0x2ca)](_0x846a5d),_0x27afb1=this[_0x4e3648(0x2bb)](_0x27afb1,_0x846a5d[_0x4e3648(0x13b)]);var _0x4e7e07=_0x35a7da[_0x4e3648(0x237)](_0xa851ac,_0x846a5d)['finalize'](_0x27afb1[_0x4e3648(0x1da)]);return _0x4e7e07;},'_parse':function(_0x107d5d,_0x2110cc){var _0x536c47=_0xb1c84d;return typeof _0x107d5d=='string'?_0x2110cc[_0x536c47(0x224)](_0x107d5d,this):_0x107d5d;}}),_0x322ed5=_0x237455[_0xb1c84d(0x23c)]={},_0x51651c=_0x322ed5['OpenSSL']={'execute':function(_0x3c064d,_0x455006,_0xcfa171,_0x394e8d,_0xe4366c){var _0x3f6080=_0xb1c84d;if(_0x394e8d||(_0x394e8d=_0x393974[_0x3f6080(0x25a)](0x40/0x8)),_0xe4366c)var _0x35d918=_0x3e4b8b[_0x3f6080(0x443)]({'keySize':_0x455006+_0xcfa171,'hasher':_0xe4366c})[_0x3f6080(0x1cc)](_0x3c064d,_0x394e8d);else var _0x35d918=_0x3e4b8b[_0x3f6080(0x443)]({'keySize':_0x455006+_0xcfa171})['compute'](_0x3c064d,_0x394e8d);var _0x25c56c=_0x393974[_0x3f6080(0x443)](_0x35d918[_0x3f6080(0x1b1)]['slice'](_0x455006),_0xcfa171*0x4);return _0x35d918['sigBytes']=_0x455006*0x4,_0x31c626['create']({'key':_0x35d918,'iv':_0x25c56c,'salt':_0x394e8d});}},_0x3919bf=_0x28ae94[_0xb1c84d(0x258)]=_0x41d08c['extend']({'cfg':_0x41d08c['cfg'][_0xb1c84d(0x2ca)]({'kdf':_0x51651c}),'encrypt':function(_0x2699ae,_0x655f1a,_0x33364c,_0x242f7b){var _0x35022f=_0xb1c84d;_0x242f7b=this[_0x35022f(0x17d)]['extend'](_0x242f7b);var _0x1cc9f6=_0x242f7b[_0x35022f(0x23c)][_0x35022f(0x377)](_0x33364c,_0x2699ae[_0x35022f(0x449)],_0x2699ae[_0x35022f(0x409)],_0x242f7b[_0x35022f(0x444)],_0x242f7b[_0x35022f(0x359)]);_0x242f7b['iv']=_0x1cc9f6['iv'];var _0x4be9cd=_0x41d08c[_0x35022f(0x2f6)][_0x35022f(0x17b)](this,_0x2699ae,_0x655f1a,_0x1cc9f6[_0x35022f(0x435)],_0x242f7b);return _0x4be9cd[_0x35022f(0x455)](_0x1cc9f6),_0x4be9cd;},'decrypt':function(_0x45228b,_0x2d5053,_0x4c9c0e,_0x23a2f8){var _0x118e75=_0xb1c84d;_0x23a2f8=this[_0x118e75(0x17d)]['extend'](_0x23a2f8),_0x2d5053=this['_parse'](_0x2d5053,_0x23a2f8[_0x118e75(0x13b)]);var _0x1a5566=_0x23a2f8[_0x118e75(0x23c)][_0x118e75(0x377)](_0x4c9c0e,_0x45228b['keySize'],_0x45228b[_0x118e75(0x409)],_0x2d5053[_0x118e75(0x444)],_0x23a2f8[_0x118e75(0x359)]);_0x23a2f8['iv']=_0x1a5566['iv'];var _0x5aa1a6=_0x41d08c[_0x118e75(0x3b1)][_0x118e75(0x17b)](this,_0x45228b,_0x2d5053,_0x1a5566['key'],_0x23a2f8);return _0x5aa1a6;}});}();}));}(Te)),Te['exports'];}var Ai=fe['exports'],tt;function Pi(){return tt||(tt=0x1,function(_0x1d3501,_0x165b56){(function(_0x273223,_0x597f10,_0x52d37d){var _0x519a32=_0x1922;_0x1d3501[_0x519a32(0x362)]=_0x597f10(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5254b2){return(function(){var _0x728b89=_0x1922,_0x24f44f=_0x5254b2,_0x2e579a=_0x24f44f[_0x728b89(0x10c)],_0x56a0ed=_0x2e579a[_0x728b89(0x29b)],_0x1dcc54=_0x24f44f[_0x728b89(0x13f)],_0x572bec=[],_0x3c5e08=[],_0x1ce967=[],_0xdfed68=[],_0xe11174=[],_0x3d2a21=[],_0x131f51=[],_0x3f9981=[],_0x128293=[],_0x5d1efb=[];(function(){for(var _0x1af48b=[],_0x1786f1=0x0;_0x1786f1<0x100;_0x1786f1++)_0x1786f1<0x80?_0x1af48b[_0x1786f1]=_0x1786f1<<0x1:_0x1af48b[_0x1786f1]=_0x1786f1<<0x1^0x11b;for(var _0x4f5628=0x0,_0x28055c=0x0,_0x1786f1=0x0;_0x1786f1<0x100;_0x1786f1++){var _0x422109=_0x28055c^_0x28055c<<0x1^_0x28055c<<0x2^_0x28055c<<0x3^_0x28055c<<0x4;_0x422109=_0x422109>>>0x8^_0x422109&0xff^0x63,_0x572bec[_0x4f5628]=_0x422109,_0x3c5e08[_0x422109]=_0x4f5628;var _0x4dd35e=_0x1af48b[_0x4f5628],_0x5b672a=_0x1af48b[_0x4dd35e],_0x5045f0=_0x1af48b[_0x5b672a],_0x3e5c46=_0x1af48b[_0x422109]*0x101^_0x422109*0x1010100;_0x1ce967[_0x4f5628]=_0x3e5c46<<0x18|_0x3e5c46>>>0x8,_0xdfed68[_0x4f5628]=_0x3e5c46<<0x10|_0x3e5c46>>>0x10,_0xe11174[_0x4f5628]=_0x3e5c46<<0x8|_0x3e5c46>>>0x18,_0x3d2a21[_0x4f5628]=_0x3e5c46;var _0x3e5c46=_0x5045f0*0x1010101^_0x5b672a*0x10001^_0x4dd35e*0x101^_0x4f5628*0x1010100;_0x131f51[_0x422109]=_0x3e5c46<<0x18|_0x3e5c46>>>0x8,_0x3f9981[_0x422109]=_0x3e5c46<<0x10|_0x3e5c46>>>0x10,_0x128293[_0x422109]=_0x3e5c46<<0x8|_0x3e5c46>>>0x18,_0x5d1efb[_0x422109]=_0x3e5c46,_0x4f5628?(_0x4f5628=_0x4dd35e^_0x1af48b[_0x1af48b[_0x1af48b[_0x5045f0^_0x4dd35e]]],_0x28055c^=_0x1af48b[_0x1af48b[_0x28055c]]):_0x4f5628=_0x28055c=0x1;}}());var _0x25a356=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x88bda4=_0x1dcc54[_0x728b89(0x174)]=_0x56a0ed[_0x728b89(0x2ca)]({'_doReset':function(){var _0x305986=_0x728b89,_0x27ead8;if(!(this[_0x305986(0x3cd)]&&this[_0x305986(0x2d5)]===this[_0x305986(0x21d)])){for(var _0x184ce0=this[_0x305986(0x2d5)]=this['_key'],_0x50304=_0x184ce0[_0x305986(0x1b1)],_0xadf937=_0x184ce0[_0x305986(0x38e)]/0x4,_0x51b9eb=this['_nRounds']=_0xadf937+0x6,_0x1593cc=(_0x51b9eb+0x1)*0x4,_0x41b4f4=this[_0x305986(0x3d1)]=[],_0x441557=0x0;_0x441557<_0x1593cc;_0x441557++)_0x441557<_0xadf937?_0x41b4f4[_0x441557]=_0x50304[_0x441557]:(_0x27ead8=_0x41b4f4[_0x441557-0x1],_0x441557%_0xadf937?_0xadf937>0x6&&_0x441557%_0xadf937==0x4&&(_0x27ead8=_0x572bec[_0x27ead8>>>0x18]<<0x18|_0x572bec[_0x27ead8>>>0x10&0xff]<<0x10|_0x572bec[_0x27ead8>>>0x8&0xff]<<0x8|_0x572bec[_0x27ead8&0xff]):(_0x27ead8=_0x27ead8<<0x8|_0x27ead8>>>0x18,_0x27ead8=_0x572bec[_0x27ead8>>>0x18]<<0x18|_0x572bec[_0x27ead8>>>0x10&0xff]<<0x10|_0x572bec[_0x27ead8>>>0x8&0xff]<<0x8|_0x572bec[_0x27ead8&0xff],_0x27ead8^=_0x25a356[_0x441557/_0xadf937|0x0]<<0x18),_0x41b4f4[_0x441557]=_0x41b4f4[_0x441557-_0xadf937]^_0x27ead8);for(var _0x861e20=this['_invKeySchedule']=[],_0x24c8fe=0x0;_0x24c8fe<_0x1593cc;_0x24c8fe++){var _0x441557=_0x1593cc-_0x24c8fe;if(_0x24c8fe%0x4)var _0x27ead8=_0x41b4f4[_0x441557];else var _0x27ead8=_0x41b4f4[_0x441557-0x4];_0x24c8fe<0x4||_0x441557<=0x4?_0x861e20[_0x24c8fe]=_0x27ead8:_0x861e20[_0x24c8fe]=_0x131f51[_0x572bec[_0x27ead8>>>0x18]]^_0x3f9981[_0x572bec[_0x27ead8>>>0x10&0xff]]^_0x128293[_0x572bec[_0x27ead8>>>0x8&0xff]]^_0x5d1efb[_0x572bec[_0x27ead8&0xff]];}}},'encryptBlock':function(_0x16ae46,_0x57a07f){var _0x21977=_0x728b89;this['_doCryptBlock'](_0x16ae46,_0x57a07f,this[_0x21977(0x3d1)],_0x1ce967,_0xdfed68,_0xe11174,_0x3d2a21,_0x572bec);},'decryptBlock':function(_0xe8ddff,_0x584cc6){var _0x3d79b3=_0x728b89,_0x4fa8c9=_0xe8ddff[_0x584cc6+0x1];_0xe8ddff[_0x584cc6+0x1]=_0xe8ddff[_0x584cc6+0x3],_0xe8ddff[_0x584cc6+0x3]=_0x4fa8c9,this[_0x3d79b3(0x3c1)](_0xe8ddff,_0x584cc6,this[_0x3d79b3(0x378)],_0x131f51,_0x3f9981,_0x128293,_0x5d1efb,_0x3c5e08);var _0x4fa8c9=_0xe8ddff[_0x584cc6+0x1];_0xe8ddff[_0x584cc6+0x1]=_0xe8ddff[_0x584cc6+0x3],_0xe8ddff[_0x584cc6+0x3]=_0x4fa8c9;},'_doCryptBlock':function(_0x193e5e,_0x302a73,_0x134744,_0x134051,_0x56f3f9,_0x3f846c,_0x4d2e6b,_0x3e96c1){for(var _0x489fb7=this['_nRounds'],_0x36e6c5=_0x193e5e[_0x302a73]^_0x134744[0x0],_0x2b6b98=_0x193e5e[_0x302a73+0x1]^_0x134744[0x1],_0x10242b=_0x193e5e[_0x302a73+0x2]^_0x134744[0x2],_0x2b781f=_0x193e5e[_0x302a73+0x3]^_0x134744[0x3],_0x5614c1=0x4,_0xa4ba87=0x1;_0xa4ba87<_0x489fb7;_0xa4ba87++){var _0x54c35f=_0x134051[_0x36e6c5>>>0x18]^_0x56f3f9[_0x2b6b98>>>0x10&0xff]^_0x3f846c[_0x10242b>>>0x8&0xff]^_0x4d2e6b[_0x2b781f&0xff]^_0x134744[_0x5614c1++],_0x292a74=_0x134051[_0x2b6b98>>>0x18]^_0x56f3f9[_0x10242b>>>0x10&0xff]^_0x3f846c[_0x2b781f>>>0x8&0xff]^_0x4d2e6b[_0x36e6c5&0xff]^_0x134744[_0x5614c1++],_0x5a8fe1=_0x134051[_0x10242b>>>0x18]^_0x56f3f9[_0x2b781f>>>0x10&0xff]^_0x3f846c[_0x36e6c5>>>0x8&0xff]^_0x4d2e6b[_0x2b6b98&0xff]^_0x134744[_0x5614c1++],_0x4979f6=_0x134051[_0x2b781f>>>0x18]^_0x56f3f9[_0x36e6c5>>>0x10&0xff]^_0x3f846c[_0x2b6b98>>>0x8&0xff]^_0x4d2e6b[_0x10242b&0xff]^_0x134744[_0x5614c1++];_0x36e6c5=_0x54c35f,_0x2b6b98=_0x292a74,_0x10242b=_0x5a8fe1,_0x2b781f=_0x4979f6;}var _0x54c35f=(_0x3e96c1[_0x36e6c5>>>0x18]<<0x18|_0x3e96c1[_0x2b6b98>>>0x10&0xff]<<0x10|_0x3e96c1[_0x10242b>>>0x8&0xff]<<0x8|_0x3e96c1[_0x2b781f&0xff])^_0x134744[_0x5614c1++],_0x292a74=(_0x3e96c1[_0x2b6b98>>>0x18]<<0x18|_0x3e96c1[_0x10242b>>>0x10&0xff]<<0x10|_0x3e96c1[_0x2b781f>>>0x8&0xff]<<0x8|_0x3e96c1[_0x36e6c5&0xff])^_0x134744[_0x5614c1++],_0x5a8fe1=(_0x3e96c1[_0x10242b>>>0x18]<<0x18|_0x3e96c1[_0x2b781f>>>0x10&0xff]<<0x10|_0x3e96c1[_0x36e6c5>>>0x8&0xff]<<0x8|_0x3e96c1[_0x2b6b98&0xff])^_0x134744[_0x5614c1++],_0x4979f6=(_0x3e96c1[_0x2b781f>>>0x18]<<0x18|_0x3e96c1[_0x36e6c5>>>0x10&0xff]<<0x10|_0x3e96c1[_0x2b6b98>>>0x8&0xff]<<0x8|_0x3e96c1[_0x10242b&0xff])^_0x134744[_0x5614c1++];_0x193e5e[_0x302a73]=_0x54c35f,_0x193e5e[_0x302a73+0x1]=_0x292a74,_0x193e5e[_0x302a73+0x2]=_0x5a8fe1,_0x193e5e[_0x302a73+0x3]=_0x4979f6;},'keySize':0x100/0x20});_0x24f44f['AES']=_0x56a0ed[_0x728b89(0x1a6)](_0x88bda4);}()),_0x5254b2['AES'];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x507db8(0x362)],nt;function ki(){var _0x5d080e=_0x507db8;return nt||(nt=0x1,function(_0x1fe717,_0x4e5a8d){(function(_0x2486eb,_0x56cd9a){var _0x22c919=_0x1922;_0x1fe717[_0x22c919(0x362)]=_0x56cd9a(Q());}(xi,function(_0x3c97d1){var _0x500e55=_0x1922;return _0x3c97d1[_0x500e55(0x15b)][_0x500e55(0x19a)];}));}(be)),be[_0x5d080e(0x362)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x507db8(0x362)],rt;function Bi(){var _0x3ab3b2=_0x507db8;return rt||(rt=0x1,function(_0x1f521e,_0xf5e54d){(function(_0x934536,_0x5aaa02){var _0x401c6e=_0x1922;_0x1f521e[_0x401c6e(0x362)]=_0x5aaa02(Q());}(ji,function(_0x22a85a){var _0x3762f7=_0x1922;return(function(){var _0x3b44f3=_0x1922;if(typeof ArrayBuffer==_0x3b44f3(0x2e5)){var _0x1bcf7e=_0x22a85a,_0x191099=_0x1bcf7e[_0x3b44f3(0x10c)],_0xcec470=_0x191099['WordArray'],_0x18fcf3=_0xcec470[_0x3b44f3(0x227)],_0x4d368b=_0xcec470[_0x3b44f3(0x227)]=function(_0x524a99){var _0x2c037d=_0x3b44f3;if(_0x524a99 instanceof ArrayBuffer&&(_0x524a99=new Uint8Array(_0x524a99)),(_0x524a99 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x524a99 instanceof Uint8ClampedArray||_0x524a99 instanceof Int16Array||_0x524a99 instanceof Uint16Array||_0x524a99 instanceof Int32Array||_0x524a99 instanceof Uint32Array||_0x524a99 instanceof Float32Array||_0x524a99 instanceof Float64Array)&&(_0x524a99=new Uint8Array(_0x524a99[_0x2c037d(0x3ae)],_0x524a99[_0x2c037d(0x20f)],_0x524a99[_0x2c037d(0x189)])),_0x524a99 instanceof Uint8Array){for(var _0x1fc14a=_0x524a99[_0x2c037d(0x189)],_0x13ed01=[],_0x307478=0x0;_0x307478<_0x1fc14a;_0x307478++)_0x13ed01[_0x307478>>>0x2]|=_0x524a99[_0x307478]<<0x18-_0x307478%0x4*0x8;_0x18fcf3[_0x2c037d(0x17b)](this,_0x13ed01,_0x1fc14a);}else _0x18fcf3['apply'](this,arguments);};_0x4d368b[_0x3b44f3(0x297)]=_0xcec470;}}()),_0x22a85a['lib'][_0x3762f7(0x23d)];}));}(Oe)),Oe[_0x3ab3b2(0x362)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x507db8(0x362)],st;function Gi(){var _0x511f9e=_0x507db8;return st||(st=0x1,function(_0x59f633,_0x1abcc7){(function(_0x18ea20,_0x57dcb4,_0x17f795){var _0x1719c8=_0x1922;_0x59f633[_0x1719c8(0x362)]=_0x57dcb4(Q(),Tt());}(Wi,function(_0x4ad44a){var _0x59857e=_0x1922;return _0x4ad44a['pad'][_0x59857e(0x303)]={'pad':function(){},'unpad':function(){}},_0x4ad44a['pad'][_0x59857e(0x303)];}));}(Re)),Re[_0x511f9e(0x362)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x439971,_0x1fd894){var _0x1d02dd=_0x507db8;const _0x3b6973=_0x1fd894-_0x439971['length']%_0x1fd894,_0x1698d3=String[_0x1d02dd(0x185)](_0x3b6973)[_0x1d02dd(0x285)](_0x3b6973);return _0x439971+_0x1698d3;}function zi(_0x1cc112,_0x226080){var _0x32bcf9=_0x507db8;const _0x219fb8=Vi[_0x32bcf9(0x25a)](0x10),_0x408efd=Ki(_0x1cc112,0x10),_0x37e36f=Mi[_0x32bcf9(0x2f6)](Hi[_0x32bcf9(0x224)](_0x408efd),it['parse'](_0x226080),{'iv':_0x219fb8,'padding':qi});return _0x219fb8['concat'](_0x37e36f['ciphertext'])[_0x32bcf9(0x32b)](it);}function Ji(){var _0x3321ea=_0x507db8;const _0x55c972=yt[_0x3321ea(0x2d4)]()['__Key__'];if(_0x55c972){const _0x42058c={'time':Math[_0x3321ea(0x158)](Date['now']()/0x3e8),'domain':location[_0x3321ea(0x417)]};return zi(JSON[_0x3321ea(0x3d6)](_0x42058c),_0x55c972);}}var Xi=Object[_0x507db8(0x106)],Zi=(_0x1a36de,_0x4e7694,_0x36c65a,_0x5207d0)=>{var _0x44bba2=_0x507db8;for(var _0x28b93a=_0x5207d0>0x1?void 0x0:_0x5207d0?Xi(_0x4e7694,_0x36c65a):_0x4e7694,_0x3f6941=_0x1a36de[_0x44bba2(0x3a5)]-0x1,_0x39104c;_0x3f6941>=0x0;_0x3f6941--)(_0x39104c=_0x1a36de[_0x3f6941])&&(_0x28b93a=_0x39104c(_0x28b93a)||_0x28b93a);return _0x28b93a;},Qi=(_0x32c4ac,_0x34dfe9)=>(_0x466e4d,_0x3488a2)=>_0x34dfe9(_0x466e4d,_0x3488a2,_0x32c4ac);let Ne=class{constructor(_0x20d07e){var _0x47dc36=_0x507db8;this[_0x47dc36(0x3a7)]=_0x20d07e,this['_initRequestHeader']();}[_0x507db8(0x29f)](){var _0x47cca9=_0x507db8;this[_0x47cca9(0x3a7)][_0x47cca9(0x3f4)]({'interceptor':(_0xc48dd3,_0x5ad100)=>{var _0x493faa=_0x47cca9;const _0x53832a=_0xc48dd3[_0x493faa(0x2bf)],_0x313943=Ji();return _0x313943&&_0x53832a[_0x493faa(0x408)](_0x493faa(0x127),_0x313943),_0x5ad100(_0xc48dd3);}});}};Ne=Zi([Qi(0x0,a[_0x507db8(0x261)](q[_0x507db8(0x26d)]))],Ne);var en=Object[_0x507db8(0x106)],tn=(_0x3b98a8,_0x3612bf,_0x525a6f,_0x1bcb90)=>{var _0x1301b5=_0x507db8;for(var _0x391494=_0x1bcb90>0x1?void 0x0:_0x1bcb90?en(_0x3612bf,_0x525a6f):_0x3612bf,_0x3ed66e=_0x3b98a8[_0x1301b5(0x3a5)]-0x1,_0x4d4b88;_0x3ed66e>=0x0;_0x3ed66e--)(_0x4d4b88=_0x3b98a8[_0x3ed66e])&&(_0x391494=_0x4d4b88(_0x391494)||_0x391494);return _0x391494;},we=(_0x2b5f08,_0x538cb2)=>(_0x16b065,_0x571e2f)=>_0x538cb2(_0x16b065,_0x571e2f,_0x2b5f08);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x5a1ddd,_0x1e85bf,_0x854be0){var _0x53e80e=_0x507db8;super(),A(this,_0x53e80e(0x295),new H['BehaviorSubject'](null)),A(this,_0x53e80e(0x2a1),this[_0x53e80e(0x295)]['asObservable']()),(this[_0x53e80e(0x2db)]=_0x5a1ddd,this['_snapshotService']=_0x1e85bf,this[_0x53e80e(0x348)]=_0x854be0);}async[_0x507db8(0x1d5)](_0x165560,_0x20fa4a,_0x3933b7){var _0xa0fc8f=_0x507db8;this[_0xa0fc8f(0x295)][_0xa0fc8f(0x10e)]({'unitId':_0x165560,'type':_0x20fa4a});let _0x2f13a7=null;switch(_0x20fa4a){case J[_0xa0fc8f(0xeb)]:{_0x2f13a7=await this[_0xa0fc8f(0xed)]['loadSheet'](_0x165560,_0x3933b7);break;}case J['UNIVER_DOC']:{_0x2f13a7=await this[_0xa0fc8f(0xed)]['loadDoc'](_0x165560,_0x3933b7);break;}default:{this[_0xa0fc8f(0x2db)][_0xa0fc8f(0x182)](_0xa0fc8f(0x335),_0xa0fc8f(0x1a9));break;}}return _0x2f13a7;}async[_0x507db8(0x44a)](_0x237e10,_0x4c9a42,_0x379a6f){var _0x2d9a97=_0x507db8,_0x2bfa8a;this['_unitInfo$'][_0x2d9a97(0x10e)]({'unitId':_0x237e10,'type':_0x4c9a42,'subUnitId':_0x379a6f});let _0x25f3f1=0x0;const _0x2ee688=await((_0x2bfa8a=this[_0x2d9a97(0x348)])==null?void 0x0:_0x2bfa8a[_0x2d9a97(0x2d9)](_0x237e10));return _0x2ee688&&(_0x2ee688[_0x2d9a97(0x1d1)]||_0x2ee688['mutations'][_0x2d9a97(0x3a5)]!==0x0)&&(_0x25f3f1=_0x2ee688[_0x2d9a97(0x319)]),_0x25f3f1===0x0&&this[_0x2d9a97(0x2db)][_0x2d9a97(0x36a)](_0x2d9a97(0x335),_0x2d9a97(0x401)),this[_0x2d9a97(0x1d5)](_0x237e10,_0x4c9a42,_0x25f3f1);}},exports[_0x507db8(0x418)]=tn([we(0x0,a[_0x507db8(0xf7)]),we(0x1,a[_0x507db8(0x261)](p['SnapshotService'])),we(0x2,a[_0x507db8(0x133)](K))],exports[_0x507db8(0x418)]);var nn=Object[_0x507db8(0x106)],rn=(_0x1ebce3,_0x4a9c79,_0x331e81,_0x38da67)=>{var _0x18c509=_0x507db8;for(var _0x448751=_0x38da67>0x1?void 0x0:_0x38da67?nn(_0x4a9c79,_0x331e81):_0x4a9c79,_0x389858=_0x1ebce3[_0x18c509(0x3a5)]-0x1,_0x8e3e9e;_0x389858>=0x0;_0x389858--)(_0x8e3e9e=_0x1ebce3[_0x389858])&&(_0x448751=_0x8e3e9e(_0x448751)||_0x448751);return _0x448751;},Me=(_0x577837,_0x4142d3)=>(_0xa2f8e3,_0x56874c)=>_0x4142d3(_0xa2f8e3,_0x56874c,_0x577837);const sn=[_0x507db8(0x116),_0x507db8(0xea),'image/jpg',_0x507db8(0x18a),_0x507db8(0x137)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x507db8(0x18f);exports[_0x507db8(0x453)]=class{constructor(_0x4404d1,_0x19477e,_0x3a9530){var _0xce5711=_0x507db8;A(this,_0xce5711(0xf5),0x0),A(this,_0xce5711(0x439),new H[(_0xce5711(0x190))]()),A(this,_0xce5711(0x41e),this['_change$']),A(this,_0xce5711(0x3d7),new Map()),(this[_0xce5711(0x3a7)]=_0x4404d1,this['_configService']=_0x19477e,this['_univerInstanceService']=_0x3a9530);}['setWaitCount'](_0x7c7657){var _0x449cfe=_0x507db8;this[_0x449cfe(0xf5)]=_0x7c7657,this['_change$'][_0x449cfe(0x10e)](_0x7c7657);}[_0x507db8(0x1e5)](_0x2786f4,_0x44c120){var _0x1f9e54=_0x507db8;if(_0x44c120===z[_0x1f9e54(0x332)][_0x1f9e54(0x334)]){const _0x19add2=new Image();return _0x19add2['src']=_0x2786f4,_0x19add2;}return this[_0x1f9e54(0x3d7)][_0x1f9e54(0x232)](_0x2786f4);}[_0x507db8(0x35a)](_0x2fd443,_0x36f5a5,_0x274a0f){var _0x2a861b=_0x507db8;_0x36f5a5===z[_0x2a861b(0x332)][_0x2a861b(0x334)]||_0x274a0f==null||this[_0x2a861b(0x3d7)]['set'](_0x2fd443,_0x274a0f);}async[_0x507db8(0x3b7)](_0x428693){var _0xa49488=_0x507db8;try{const _0x21a719=this[_0xa49488(0x2e7)](this[_0xa49488(0x39d)](),''+_0x428693),_0x3dba1a=(await this[_0xa49488(0x3a7)][_0xa49488(0x232)](_0x21a719))[_0xa49488(0x176)];if(_0x3dba1a[_0xa49488(0x182)]&&_0x3dba1a['error'][_0xa49488(0x104)]===dt['OK']){const _0x5b5be8=new URL(_0x3dba1a[_0xa49488(0x40b)],this[_0xa49488(0x24d)]())[_0xa49488(0x32b)]();return Promise[_0xa49488(0x146)](_0x5b5be8);}return Promise[_0xa49488(0x3b4)](_0x3dba1a['error']);}catch(_0x9d1625){return Promise[_0xa49488(0x3b4)](_0x9d1625);}}async[_0x507db8(0xf3)](_0x13146e){var _0x4d4826=_0x507db8;let _0x115b48='';if(!sn[_0x4d4826(0x191)](_0x13146e[_0x4d4826(0x3c2)]))return this[_0x4d4826(0x42b)](),Promise[_0x4d4826(0x3b4)](new Error(z[_0x4d4826(0x328)][_0x4d4826(0x436)]));if(_0x13146e[_0x4d4826(0x33d)]>on)return this['_decreaseWaiting'](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x4d4826(0x2c9)]));try{const _0x460664=new FormData();_0x460664[_0x4d4826(0x45b)]('file',_0x13146e);const _0x473288=this[_0x4d4826(0x14a)]['getFocusedUnit'](),_0x5997f4=_0x473288==null?void 0x0:_0x473288[_0x4d4826(0x271)]();if(!_0x5997f4)throw new Error('unitId\x20is\x20not\x20found');const _0x17e172=this[_0x4d4826(0x37b)]()+'?size='+_0x13146e[_0x4d4826(0x33d)][_0x4d4826(0x32b)]()+_0x4d4826(0x3f7)+vt[_0x4d4826(0x10d)]+_0x4d4826(0x374)+encodeURIComponent(_0x5997f4),_0x485ae2={'body':_0x460664},_0x427fb4=(await this[_0x4d4826(0x3a7)][_0x4d4826(0x10a)](_0x17e172,_0x485ae2))['body'];if(typeof _0x427fb4[_0x4d4826(0x11f)]!='string')return this[_0x4d4826(0x42b)](),Promise[_0x4d4826(0x3b4)](new Error(z[_0x4d4826(0x328)][_0x4d4826(0x24e)]));_0x115b48=_0x427fb4[_0x4d4826(0x11f)];}catch{return this[_0x4d4826(0x42b)](),Promise[_0x4d4826(0x3b4)](new Error(z[_0x4d4826(0x328)]['ERROR_IMAGE']));}return new Promise((_0x1153b7,_0x356c45)=>{var _0x51df97=_0x4d4826;const _0x47a7fd=new FileReader();_0x47a7fd['readAsDataURL'](_0x13146e),_0x47a7fd[_0x51df97(0x3ad)]=_0x72c865=>{var _0x81d87b=_0x51df97,_0xaab905;const _0x5ba882=(_0xaab905=_0x72c865[_0x81d87b(0x3b2)])==null?void 0x0:_0xaab905[_0x81d87b(0x188)];if(_0x5ba882==null){this[_0x81d87b(0x42b)](),_0x356c45(new Error(z[_0x81d87b(0x328)][_0x81d87b(0x24e)]));return;}const _0x3d8b05=a[_0x81d87b(0x15d)](0x6);_0x1153b7({'imageId':_0x3d8b05,'imageSourceType':z[_0x81d87b(0x332)][_0x81d87b(0x3fe)],'source':_0x115b48,'base64Cache':_0x5ba882,'status':z[_0x81d87b(0x328)]['SUCCUSS']}),this[_0x81d87b(0x42b)]();};});}[_0x507db8(0x37b)](){var _0x945718=_0x507db8,_0x1a27e7;const _0x2cf308=this[_0x945718(0xec)][_0x945718(0x214)](Y);return(_0x1a27e7=_0x2cf308==null?void 0x0:_0x2cf308['uploadFileServerUrl'])!=null?_0x1a27e7:an;}[_0x507db8(0x39d)](){var _0x398d56=_0x507db8,_0x3c5bda;const _0x38f135=this['_configService']['getConfig'](Y);return(_0x3c5bda=_0x38f135==null?void 0x0:_0x38f135[_0x398d56(0x216)])!=null?_0x3c5bda:cn;}['_getDownloadEndpointURL'](){var _0x30abf8=_0x507db8,_0x4e91c0;const _0x3035f1=this[_0x30abf8(0xec)][_0x30abf8(0x214)](Y);return(_0x4e91c0=_0x3035f1==null?void 0x0:_0x3035f1[_0x30abf8(0x44d)])!=null?_0x4e91c0:location[_0x30abf8(0x29a)];}['_replaceFileID'](_0x7642e3,_0x1a073e){var _0x4fe141=_0x507db8;return _0x7642e3['replace'](_0x4fe141(0x2c7),_0x1a073e);}['_decreaseWaiting'](){var _0xdde3e=_0x507db8;this[_0xdde3e(0xf5)]-=0x1,this[_0xdde3e(0x439)][_0xdde3e(0x10e)](this[_0xdde3e(0xf5)]);}},exports[_0x507db8(0x453)]=rn([Me(0x0,a[_0x507db8(0x261)](q[_0x507db8(0x26d)])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x507db8(0x261)](a['IUniverInstanceService']))],exports[_0x507db8(0x453)]);var hn=Object[_0x507db8(0x106)],_n=(_0x305199,_0x55d353,_0x31baa5,_0x471dda)=>{var _0x2c2056=_0x507db8;for(var _0x5e592a=_0x471dda>0x1?void 0x0:_0x471dda?hn(_0x55d353,_0x31baa5):_0x55d353,_0x3b0e74=_0x305199[_0x2c2056(0x3a5)]-0x1,_0x2c714f;_0x3b0e74>=0x0;_0x3b0e74--)(_0x2c714f=_0x305199[_0x3b0e74])&&(_0x5e592a=_0x2c714f(_0x5e592a)||_0x5e592a);return _0x5e592a;},ot=(_0x310cf1,_0x3aad3e)=>(_0x5425ae,_0x5cbcdb)=>_0x3aad3e(_0x5425ae,_0x5cbcdb,_0x310cf1);const ln='/universer-api/authz';exports[_0x507db8(0x3a2)]=class{constructor(_0x4ff5dc,_0x14d00c){var _0x3d7df8=_0x507db8;this['_configService']=_0x4ff5dc,this[_0x3d7df8(0x368)]=_0x14d00c;}[_0x507db8(0xfa)](){var _0x1440af=_0x507db8,_0x1ea260;const _0x4bf4e7=this[_0x1440af(0xec)][_0x1440af(0x214)](Y);return(_0x1ea260=_0x4bf4e7==null?void 0x0:_0x4bf4e7[_0x1440af(0x3e8)])!=null?_0x1ea260:ln;}async[_0x507db8(0x195)](_0x499cf0){var _0x18ea5b=_0x507db8;const _0x42aeb6=this[_0x18ea5b(0xfa)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x42aeb6,{'params':{'objectID':_0x499cf0['unitId'],'unitID':_0x499cf0[_0x18ea5b(0x467)]}}))[_0x18ea5b(0x176)]['collaborators'][_0x18ea5b(0x2fe)](_0x5d550c=>({'objectId':_0x5d550c['id'],'name':_0x5d550c[_0x18ea5b(0x2bc)][_0x18ea5b(0x2e4)],'metadata':{'icon':_0x5d550c['subject'][_0x18ea5b(0xf8)]},'label':_0x5d550c[_0x18ea5b(0x2bc)][_0x18ea5b(0x2e4)],'objectType':a['MentionType'][_0x18ea5b(0x21b)]})),'metadata':{},'type':a['MentionType'][_0x18ea5b(0x21b)]}]};}},exports[_0x507db8(0x3a2)]=_n([ot(0x0,a['Inject'](a['IConfigService'])),ot(0x1,a[_0x507db8(0x261)](q[_0x507db8(0x26d)]))],exports[_0x507db8(0x3a2)]);var un=Object['getOwnPropertyDescriptor'],dn=(_0x16dca1,_0x232bf0,_0xfabb49,_0x2511da)=>{var _0x576a7a=_0x507db8;for(var _0xf124ae=_0x2511da>0x1?void 0x0:_0x2511da?un(_0x232bf0,_0xfabb49):_0x232bf0,_0x55818a=_0x16dca1[_0x576a7a(0x3a5)]-0x1,_0x23ab2c;_0x55818a>=0x0;_0x55818a--)(_0x23ab2c=_0x16dca1[_0x55818a])&&(_0xf124ae=_0x23ab2c(_0xf124ae)||_0xf124ae);return _0xf124ae;},le=(_0xb995e3,_0x201ca1)=>(_0x54565a,_0x205d2a)=>_0x201ca1(_0x54565a,_0x205d2a,_0xb995e3);let De=class extends a['RxDisposable']{constructor(_0x4b0fb2,_0xa76f5c,_0x1410e5,_0x5ea31b,_0x9dd06d){var _0x2dc004=_0x507db8;super(),this[_0x2dc004(0x2b6)]=_0x4b0fb2,this[_0x2dc004(0x14a)]=_0xa76f5c,this[_0x2dc004(0x395)]=_0x1410e5,this[_0x2dc004(0x3f3)]=_0x5ea31b,this[_0x2dc004(0x3f9)]=_0x9dd06d,this[_0x2dc004(0x109)](),this[_0x2dc004(0x42e)]();}[_0x507db8(0x42e)](){var _0x5096fe=_0x507db8;const _0x4cf3ae=async _0x4d2e33=>{var _0x1a86f6=_0x1922;(await this[_0x1a86f6(0x3f3)][_0x1a86f6(0x22a)](_0x4d2e33))[_0x1a86f6(0x2d8)][_0x1a86f6(0x263)](V[_0x1a86f6(0x284)](_0x191bdd=>_0x191bdd[_0x1a86f6(0x139)]===p[_0x1a86f6(0x45d)][_0x1a86f6(0x28f)]),V[_0x1a86f6(0x266)](this[_0x1a86f6(0x41b)]))[_0x1a86f6(0x302)](_0x4052e7=>{var _0x44bd8b=_0x1a86f6;const _0x259099=_0x4052e7,{reason:_0x5738cd}=_0x259099[_0x44bd8b(0x370)];this['_collaborationUIEventService'][_0x44bd8b(0x1b2)]({'id':Z['CLOSE_ROOM'],'data':_0x5738cd}),this[_0x44bd8b(0x395)][_0x44bd8b(0x21f)](new X[(_0x44bd8b(0x2b5))](_0x4d2e33)['id'],!0x1),this[_0x44bd8b(0x3f3)][_0x44bd8b(0x41d)](_0x4d2e33);});};H[_0x5096fe(0x351)](this[_0x5096fe(0x14a)]['getTypeOfUnitAdded$'](a[_0x5096fe(0x31e)][_0x5096fe(0xeb)]),this[_0x5096fe(0x14a)][_0x5096fe(0x468)](a[_0x5096fe(0x31e)]['UNIVER_DOC']))['pipe'](V['map'](_0x46a5e4=>_0x46a5e4[_0x5096fe(0x271)]()),V[_0x5096fe(0x284)](_0x1ada4d=>!a['isInternalEditorID'](_0x1ada4d)),V['takeUntil'](this['dispose$']))['subscribe'](_0x367ce2=>{_0x4cf3ae(_0x367ce2);});}['_initUnitPermissionChange'](){var _0x35aea1=_0x507db8;const _0x13fd8c=async _0x454f32=>{var _0x4808d5=_0x1922;const _0x38b76f=await this[_0x4808d5(0x3f3)][_0x4808d5(0x22a)](_0x454f32),_0x25dae8=this[_0x4808d5(0x2b6)]['get'](X['SheetPermissionInitController']);_0x38b76f[_0x4808d5(0x2d8)]['pipe'](V['filter'](_0x582b1d=>_0x582b1d[_0x4808d5(0x139)]===p[_0x4808d5(0x45d)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this['dispose$']))[_0x4808d5(0x302)](_0x118951=>{var _0x3470a1=_0x4808d5;const _0xff304e=_0x118951,{objectId:_0x108c90}=_0xff304e[_0x3470a1(0x370)];_0x108c90===_0x454f32?_0x25dae8[_0x3470a1(0x3de)](_0x454f32):_0x25dae8[_0x3470a1(0x325)](_0x454f32,_0x108c90);});};H['merge'](this[_0x35aea1(0x14a)][_0x35aea1(0x468)](a[_0x35aea1(0x31e)][_0x35aea1(0xeb)]))['pipe'](V['map'](_0x933234=>_0x933234[_0x35aea1(0x271)]()),V['filter'](_0x3b86be=>!a[_0x35aea1(0x3f2)](_0x3b86be)),V['takeUntil'](this[_0x35aea1(0x41b)]))[_0x35aea1(0x302)](_0x515f58=>{_0x13fd8c(_0x515f58);});}};De=dn([le(0x0,a[_0x507db8(0x261)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x507db8(0x28d)]),le(0x3,a[_0x507db8(0x261)](exports[_0x507db8(0x424)])),le(0x4,a[_0x507db8(0x261)](ee))],De);var vn=Object[_0x507db8(0x106)],Sn=(_0xad6a24,_0x43ad3f,_0x55dd75,_0x5733d0)=>{var _0x4e5069=_0x507db8;for(var _0x23afc9=_0x5733d0>0x1?void 0x0:_0x5733d0?vn(_0x43ad3f,_0x55dd75):_0x43ad3f,_0x305929=_0xad6a24[_0x4e5069(0x3a5)]-0x1,_0x5119f1;_0x305929>=0x0;_0x305929--)(_0x5119f1=_0xad6a24[_0x305929])&&(_0x23afc9=_0x5119f1(_0x23afc9)||_0x23afc9);return _0x23afc9;},at=(_0x386ed1,_0x1ba505)=>(_0xe1a05f,_0x3c2df4)=>_0x1ba505(_0xe1a05f,_0x3c2df4,_0x386ed1);exports['SnapshotServerOverHTTPService']=class{constructor(_0x138cd1,_0x39adaa){var _0x2dfb18=_0x507db8;this[_0x2dfb18(0xec)]=_0x138cd1,this[_0x2dfb18(0x3a7)]=_0x39adaa;}async['getUnitOnRev'](_0xb68d33,_0x3900d2){var _0x492f82=_0x507db8,_0xdb6b04;const {unitID:_0x4d5329,type:_0x1bf8d6,revision:_0x5c31bb=0x0}=_0x3900d2,_0x261e93=this['getSnapshotAPIPath']()+'/'+_0x1bf8d6+'/unit/'+_0x4d5329+'/rev/'+_0x5c31bb,_0x5b58ac=(await this[_0x492f82(0x3a7)][_0x492f82(0x232)](_0x261e93))[_0x492f82(0x176)],_0x16d6c7=(_0xdb6b04=_0x5b58ac[_0x492f82(0x2e9)])==null?void 0x0:_0xdb6b04[_0x492f82(0x3ec)];if(_0x16d6c7){const _0x1758e6=_0x16d6c7==null?void 0x0:_0x16d6c7[_0x492f82(0x1ad)],_0x2e4fcd=p[_0x492f82(0x25e)]['encode'](p[_0x492f82(0x289)](_0x1758e6));_0x16d6c7[_0x492f82(0x1ad)]=_0x2e4fcd,Object[_0x492f82(0x26f)](_0x16d6c7['sheets'])['forEach'](([,_0x1f033d])=>{var _0x444a4a=_0x492f82;const _0x4936e5=_0x1f033d[_0x444a4a(0x1ad)],_0x5c495a=p[_0x444a4a(0x25e)][_0x444a4a(0x3d4)](p[_0x444a4a(0x289)](_0x4936e5));_0x1f033d[_0x444a4a(0x1ad)]=_0x5c495a;});}return _0x5b58ac;}async[_0x507db8(0x459)](_0xce6cfd,_0x3dde56){var _0x28d0cb=_0x507db8;const {unitID:_0x2c23ef,type:_0x57f73d,blockID:_0x36d4b3}=_0x3dde56,_0xcde0a3=this[_0x28d0cb(0xe9)]()+'/'+_0x57f73d+_0x28d0cb(0x447)+_0x2c23ef+'/block/'+_0x36d4b3;return(await this['_httpService'][_0x28d0cb(0x232)](_0xcde0a3))[_0x28d0cb(0x176)];}async[_0x507db8(0x2b9)](_0x2ee19b,_0x33e127){var _0x4405af=_0x507db8;const {unitID:_0x49365a,type:_0x3ebd51,blockID:_0x365ec0}=_0x33e127,_0x2cd935=this[_0x4405af(0xe9)]()+'/block/'+_0x3ebd51+'/unit/'+_0x49365a+_0x4405af(0x367)+_0x365ec0;return(await this[_0x4405af(0x3a7)]['get'](_0x2cd935))['body'];}async['fetchMissingChangesets'](_0x952374,_0xb1fc50){var _0x1ec904=_0x507db8;const {unitID:_0x27a3d1,type:_0x440f3b,from:_0x220bb9,to:_0x4e5e9d}=_0xb1fc50,_0x290358=this[_0x1ec904(0xe9)]()+'/'+_0x440f3b+_0x1ec904(0x447)+_0x27a3d1+'/fetchmissing?from='+_0x220bb9+_0x1ec904(0x317)+_0x4e5e9d;return(await this[_0x1ec904(0x3a7)][_0x1ec904(0x232)](_0x290358))[_0x1ec904(0x176)];}[_0x507db8(0x419)](){var _0x3a33cc;return(_0x3a33cc=this['_configService']['getConfig'](Dt))!=null?_0x3a33cc:this['_getAPIPrefix']();}[_0x507db8(0xe9)](){var _0x30a636=_0x507db8,_0x25806c;const _0x12a4a1=this[_0x30a636(0xec)][_0x30a636(0x214)](Y);return(_0x25806c=_0x12a4a1==null?void 0x0:_0x12a4a1['snapshotServerUrl'])!=null?_0x25806c:Nt;}async[_0x507db8(0x306)](_0x524760,_0x1f5ff9){var _0x1d991f=_0x507db8;const _0x26b84e=_0x1d991f(0x390)+_0x1f5ff9[_0x1d991f(0x3c2)]+'/unit/'+_0x1f5ff9[_0x1d991f(0x202)]+_0x1d991f(0x160);return(await this['_httpService'][_0x1d991f(0x232)](_0x26b84e,{'params':{'resourceId':JSON[_0x1d991f(0x3d6)](_0x1f5ff9[_0x1d991f(0x41f)])}}))[_0x1d991f(0x176)];}[_0x507db8(0x2b0)](){var _0x16bef3=_0x507db8;throw new Error(_0x16bef3(0x396));}['updateSnapshot'](){var _0x2a862f=_0x507db8;throw new Error(_0x2a862f(0x396));}[_0x507db8(0x331)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x507db8(0x1a4)](){var _0x101b7b=_0x507db8;throw new Error(_0x101b7b(0x396));}[_0x507db8(0x205)](){var _0x4c44be=_0x507db8;throw new Error(_0x4c44be(0x396));}[_0x507db8(0x100)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x507db8(0x43f)]=Sn([at(0x0,a[_0x507db8(0x198)]),at(0x1,a[_0x507db8(0x261)](q[_0x507db8(0x26d)]))],exports[_0x507db8(0x43f)]);var fn=Object['getOwnPropertyDescriptor'],In=(_0x2bffe6,_0x5a3222,_0x374ad9,_0x47d37d)=>{var _0x3219c8=_0x507db8;for(var _0x13ece7=_0x47d37d>0x1?void 0x0:_0x47d37d?fn(_0x5a3222,_0x374ad9):_0x5a3222,_0x3e797a=_0x2bffe6[_0x3219c8(0x3a5)]-0x1,_0xdf90a1;_0x3e797a>=0x0;_0x3e797a--)(_0xdf90a1=_0x2bffe6[_0x3e797a])&&(_0x13ece7=_0xdf90a1(_0x13ece7)||_0x13ece7);return _0x13ece7;},ue=(_0x3e0046,_0x5d4e7c)=>(_0x3dbd13,_0x5a870b)=>_0x5d4e7c(_0x3dbd13,_0x5a870b,_0x3e0046);exports[_0x507db8(0x2ad)]=class extends a[_0x507db8(0x124)]{constructor(_0x29f977,_0x1aec88,_0x3eb288,_0x23345f,_0x30abdc){var _0x47c2ea=_0x507db8;super(_0x29f977,_0x1aec88,_0x3eb288),this[_0x47c2ea(0x252)]=_0x23345f,this[_0x47c2ea(0x2db)]=_0x30abdc;}[_0x507db8(0x30a)](_0x59c3b6,_0x356674){var _0x427fbb=_0x507db8;const _0x24b924=this[_0x427fbb(0x412)](_0x59c3b6);if(_0x24b924)try{const _0x1d5107=this[_0x427fbb(0x450)](_0x24b924,_0x356674);this['_substituteUndoStack'](_0x59c3b6,_0x1d5107);}catch(_0x1b3aa2){this[_0x427fbb(0x2db)][_0x427fbb(0x182)]('[CollaborationUndoRedoService]',_0x1b3aa2),this['_clearUndo'](_0x59c3b6);}const _0x1fe702=this[_0x427fbb(0x2dc)](_0x59c3b6);if(_0x1fe702)try{const _0x16e5b1=this[_0x427fbb(0x450)](_0x1fe702,_0x356674);this[_0x427fbb(0x381)](_0x59c3b6,_0x16e5b1);}catch(_0x278368){this[_0x427fbb(0x2db)]['error'](_0x278368),this['_clearRedo'](_0x59c3b6);}}[_0x507db8(0x36c)](_0x1b173a){var _0x27b1cd=_0x507db8;const _0xa64398=this[_0x27b1cd(0x412)](_0x1b173a);_0xa64398&&(_0xa64398[_0x27b1cd(0x3a5)]=0x0,this[_0x27b1cd(0x27b)]());}['_clearRedo'](_0x3d2bcb){var _0x389718=_0x507db8;const _0x16484d=this[_0x389718(0x2dc)](_0x3d2bcb);_0x16484d&&(_0x16484d[_0x389718(0x3a5)]=0x0,this[_0x389718(0x27b)]());}[_0x507db8(0x171)](_0x87eb9c,_0x2f2607){var _0x5ae0a4=_0x507db8;this[_0x5ae0a4(0x235)][_0x5ae0a4(0x408)](_0x87eb9c,_0x2f2607),this[_0x5ae0a4(0x27b)]();}[_0x507db8(0x381)](_0x143896,_0x5af50d){var _0x54582a=_0x507db8;this['_redoStacks'][_0x54582a(0x408)](_0x143896,_0x5af50d),this[_0x54582a(0x27b)]();}[_0x507db8(0x450)](_0x160c37,_0x3cb1d2){var _0x425732=_0x507db8;const _0x29b605=[];let _0x3a007a=_0x3cb1d2,_0x37f29f=_0x3cb1d2;for(let _0x2055f6=_0x160c37['length']-0x1;_0x2055f6>=0x0;_0x2055f6--){const {unitID:_0xc16faa,undoMutations:_0x556ac6,redoMutations:_0x443bba}=_0x160c37[_0x2055f6],_0xaf4709=this[_0x425732(0x252)][_0x425732(0x33c)](_0x3a007a,_0x556ac6),_0x1849be=this['_transformService'][_0x425732(0x33c)](_0x37f29f,_0x443bba);if(p[_0x425732(0x3c8)](_0xaf4709)||p['isTransformMutationsWithChangesetFailure'](_0x1849be)){this[_0x425732(0x2db)][_0x425732(0x182)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0xaf4709,_0x1849be);break;}_0x3a007a=_0xaf4709[_0x425732(0x107)],_0x37f29f=_0x1849be[_0x425732(0x107)],_0x29b605[_0x425732(0x299)]({'unitID':_0xc16faa,'undoMutations':_0xaf4709['m2Prime'],'redoMutations':_0x1849be[_0x425732(0x338)]});}return _0x29b605['reverse']();}},exports[_0x507db8(0x2ad)]=In([ue(0x0,a[_0x507db8(0x27c)]),ue(0x1,a[_0x507db8(0x260)]),ue(0x2,a[_0x507db8(0x3df)]),ue(0x3,p[_0x507db8(0x310)]),ue(0x4,a[_0x507db8(0xf7)])],exports[_0x507db8(0x2ad)]);var pn=Object[_0x507db8(0x1a8)],mn=Object[_0x507db8(0x106)],gn=(_0x3dd4c8,_0x14e83b,_0xcf6d3e)=>_0x14e83b in _0x3dd4c8?pn(_0x3dd4c8,_0x14e83b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcf6d3e}):_0x3dd4c8[_0x14e83b]=_0xcf6d3e,En=(_0x111636,_0x1a7ded,_0x40f31c,_0x310e86)=>{for(var _0x4e1def=_0x310e86>0x1?void 0x0:_0x310e86?mn(_0x1a7ded,_0x40f31c):_0x1a7ded,_0x2579b0=_0x111636['length']-0x1,_0x31dca3;_0x2579b0>=0x0;_0x2579b0--)(_0x31dca3=_0x111636[_0x2579b0])&&(_0x4e1def=_0x31dca3(_0x4e1def)||_0x4e1def);return _0x4e1def;},Le=(_0xc20e87,_0x1b0bd8)=>(_0x4a4800,_0xd2b913)=>_0x1b0bd8(_0x4a4800,_0xd2b913,_0xc20e87),Cn=(_0x10969d,_0x5c17dd,_0x489d2d)=>gn(_0x10969d,_0x5c17dd+'',_0x489d2d);const Tn=_0x507db8(0x246);exports[_0x507db8(0x209)]=class extends a[_0x507db8(0x391)]{constructor(_0x4dbb98,_0x368189,_0x5e9187,_0x532c64){var _0x535603=_0x507db8;super(),A(this,'_config'),(this[_0x535603(0x2db)]=_0x368189,this[_0x535603(0x2b6)]=_0x5e9187,this[_0x535603(0xec)]=_0x532c64);const {..._0x85b9ea}=a[_0x535603(0x351)]({},Zt,_0x4dbb98);if(!_0x85b9ea[_0x535603(0x1e6)])throw new Error(_0x535603(0x20d));this['_config']=_0x85b9ea,this[_0x535603(0xec)][_0x535603(0x226)](Y,_0x85b9ea);}[_0x507db8(0x2f3)](){var _0x48074d=_0x507db8;this[_0x48074d(0x15e)](),this[_0x48074d(0x34f)]();}['_registerDependencies'](){var _0x54ae78=_0x507db8,_0x174441,_0x395be6;this[_0x54ae78(0x2b6)][_0x54ae78(0x265)](a[_0x54ae78(0x320)])&&this[_0x54ae78(0x2db)][_0x54ae78(0x182)](_0x54ae78(0x392),_0x54ae78(0x2f7));const _0x21f2a3=a['mergeOverrideWithDependencies']([[a[_0x54ae78(0x320)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x54ae78(0x424)]],[exports['MemberService']],[exports[_0x54ae78(0x342)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this['_config'][_0x54ae78(0x1e6)]}],[p[_0x54ae78(0x34c)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x54ae78(0xfc)],{'useClass':exports[_0x54ae78(0x3fb)]}],[z['IImageIoService'],{'useClass':exports[_0x54ae78(0x453)]}],[a['IMentionIOService'],{'useClass':exports[_0x54ae78(0x3a2)]}],[exports[_0x54ae78(0x355)]],[xe]],(_0x174441=this[_0x54ae78(0x259)])==null?void 0x0:_0x174441[_0x54ae78(0x340)]);if(!((_0x395be6=this[_0x54ae78(0x259)])!=null&&_0x395be6[_0x54ae78(0x215)])){const _0x4996e6=_0x21f2a3[_0x54ae78(0x2df)](([_0x383ed4])=>_0x383ed4===de);_0x4996e6!==-0x1&&_0x21f2a3[_0x54ae78(0x278)](_0x4996e6,0x1);}a[_0x54ae78(0x250)](this[_0x54ae78(0x2b6)],_0x21f2a3);}[_0x507db8(0x34f)](){var _0x49c5fb=_0x507db8,_0x18a11a,_0x29c2ef,_0x8b7248;this[_0x49c5fb(0x2b6)][_0x49c5fb(0x232)](q[_0x49c5fb(0x26d)])[_0x49c5fb(0x3f4)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x18a11a=this[_0x49c5fb(0x259)])!=null&&_0x18a11a[_0x49c5fb(0x102)]||(_0x29c2ef=this['_injector']['get'](K,a[_0x49c5fb(0x181)][_0x49c5fb(0x13e)]))==null||_0x29c2ef['disableLocalCache'](),(_0x8b7248=this[_0x49c5fb(0x259)])!=null&&_0x8b7248['enableAuthServer']&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x49c5fb(0x1c6)](this[_0x49c5fb(0x2b6)],[[Ne],[exports[_0x49c5fb(0x355)]],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x507db8(0x343),Tn),exports['UniverCollaborationClientPlugin']=En([a[_0x507db8(0x217)](p[_0x507db8(0x2d3)],q[_0x507db8(0x1ef)]),Le(0x1,a[_0x507db8(0xf7)]),Le(0x2,a[_0x507db8(0x261)](a[_0x507db8(0x11d)])),Le(0x3,a['IConfigService'])],exports[_0x507db8(0x209)]),exports[_0x507db8(0x1b7)]=Y,exports[_0x507db8(0x3f6)]=je,exports[_0x507db8(0x229)]=Z,exports[_0x507db8(0x45e)]=ee,exports[_0x507db8(0x307)]=$e,exports[_0x507db8(0x15c)]=ht,exports[_0x507db8(0x346)]=jt,exports[_0x507db8(0x243)]=At,exports[_0x507db8(0x16e)]=_t,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x507db8(0x196)]=Fe,exports['ILocalCacheService']=K,exports[_0x507db8(0x21c)]=pt,exports['ISingleActiveUnitService']=de,exports[_0x507db8(0x1d9)]=xt,exports[_0x507db8(0x413)]=Lt,exports[_0x507db8(0x22d)]=Ht,exports[_0x507db8(0x34a)]=ut,exports['SessionStatus']=re,exports[_0x507db8(0x31a)]=He,exports[_0x507db8(0x2f2)]=mt,exports[_0x507db8(0x1c0)]=Kt,exports[_0x507db8(0x279)]=gt;
|
1
|
+
'use strict';var _0x50acdc=_0x5520;(function(_0xa0a9b0,_0x2d8afc){var _0x284461=_0x5520,_0x58e592=_0xa0a9b0();while(!![]){try{var _0xeb1586=parseInt(_0x284461(0x27d))/0x1*(parseInt(_0x284461(0xad))/0x2)+-parseInt(_0x284461(0x3e1))/0x3*(-parseInt(_0x284461(0x11d))/0x4)+-parseInt(_0x284461(0x1e0))/0x5*(parseInt(_0x284461(0x200))/0x6)+parseInt(_0x284461(0x199))/0x7*(parseInt(_0x284461(0x397))/0x8)+-parseInt(_0x284461(0x27f))/0x9*(-parseInt(_0x284461(0x2ad))/0xa)+-parseInt(_0x284461(0x190))/0xb*(parseInt(_0x284461(0x3a1))/0xc)+-parseInt(_0x284461(0x23e))/0xd;if(_0xeb1586===_0x2d8afc)break;else _0x58e592['push'](_0x58e592['shift']());}catch(_0x4af3bf){_0x58e592['push'](_0x58e592['shift']());}}}(_0x3a85,0x999eb));var bt=Object[_0x50acdc(0x26c)],Ot=(_0x2675fa,_0x3c09ef,_0x43c0c9)=>_0x3c09ef in _0x2675fa?bt(_0x2675fa,_0x3c09ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c0c9}):_0x2675fa[_0x3c09ef]=_0x43c0c9,A=(_0x397c32,_0x4a4385,_0x455d43)=>Ot(_0x397c32,typeof _0x4a4385!=_0x50acdc(0x3a9)?_0x4a4385+'':_0x4a4385,_0x455d43);Object['defineProperty'](exports,Symbol[_0x50acdc(0x2b3)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x50acdc(0x2de),Dt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x50acdc(0x13d),At=_0x50acdc(0x121),_t=_0x50acdc(0x243),Pt=0x7530,ke=_0x50acdc(0xa1),lt=0x4e20,wt=0x4e20,ut=_0x50acdc(0x250),Mt=0x3,Lt=_0x50acdc(0x89),xt=0x3e8,kt=_0x50acdc(0x204),$t=_0x50acdc(0x38e),Ht=_0x50acdc(0x366),jt=_0x50acdc(0x3ba);var dt=(_0x53c421=>(_0x53c421[_0x53c421[_0x50acdc(0xf9)]=0x0]=_0x50acdc(0xf9),_0x53c421[_0x53c421['OK']=0x1]='OK',_0x53c421[_0x53c421[_0x50acdc(0x2fb)]=0x2]=_0x50acdc(0x2fb),_0x53c421[_0x53c421[_0x50acdc(0x3e6)]=0x3]='PERMISSION_DENIED',_0x53c421[_0x53c421['NOT_FOUND']=0x4]=_0x50acdc(0x231),_0x53c421[_0x53c421[_0x50acdc(0x2be)]=0x5]=_0x50acdc(0x2be),_0x53c421[_0x53c421[_0x50acdc(0x3bc)]=0x6]=_0x50acdc(0x3bc),_0x53c421[_0x53c421[_0x50acdc(0x23a)]=0x7]=_0x50acdc(0x23a),_0x53c421[_0x53c421[_0x50acdc(0x23b)]=0x8]='TOO_MANY_REQUESTS',_0x53c421[_0x53c421[_0x50acdc(0x11a)]=0x9]=_0x50acdc(0x11a),_0x53c421[_0x53c421['LOGIN_FAILED']=0xa]=_0x50acdc(0x398),_0x53c421[_0x53c421['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x15e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x1f2)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x1bf)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x3d5)]=0x1389]=_0x50acdc(0x3d5),_0x53c421[_0x53c421[_0x50acdc(0x267)]=0x1771]=_0x50acdc(0x267),_0x53c421[_0x53c421[_0x50acdc(0x115)]=0x1772]=_0x50acdc(0x115),_0x53c421[_0x53c421[_0x50acdc(0x3ac)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53c421[_0x53c421[_0x50acdc(0x90)]=0x1b59]=_0x50acdc(0x90),_0x53c421[_0x53c421[_0x50acdc(0x269)]=0x1b5a]=_0x50acdc(0x269),_0x53c421[_0x53c421['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x50acdc(0x1e3),_0x53c421[_0x53c421[_0x50acdc(0x1d9)]=0x1b5c]=_0x50acdc(0x1d9),_0x53c421[_0x53c421[_0x50acdc(0x1de)]=0x1b5d]=_0x50acdc(0x1de),_0x53c421[_0x53c421[_0x50acdc(0x2a9)]=0x1f41]=_0x50acdc(0x2a9),_0x53c421[_0x53c421['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x50acdc(0x38f),_0x53c421[_0x53c421[_0x50acdc(0x26b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53c421[_0x53c421[_0x50acdc(0x373)]=0x232b]=_0x50acdc(0x373),_0x53c421[_0x53c421[_0x50acdc(0x321)]=0x232c]=_0x50acdc(0x321),_0x53c421[_0x53c421[_0x50acdc(0x129)]=0x232d]=_0x50acdc(0x129),_0x53c421[_0x53c421[_0x50acdc(0x205)]=0x2711]=_0x50acdc(0x205),_0x53c421[_0x53c421[_0x50acdc(0x1bc)]=0x2712]=_0x50acdc(0x1bc),_0x53c421[_0x53c421[_0x50acdc(0x2af)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53c421[_0x53c421['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x53c421[_0x53c421[_0x50acdc(0x21d)]=0x271a]=_0x50acdc(0x21d),_0x53c421[_0x53c421['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x50acdc(0x3a5),_0x53c421[_0x53c421[_0x50acdc(0x360)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x53c421[_0x53c421[_0x50acdc(0x309)]=0x271d]=_0x50acdc(0x309),_0x53c421[_0x53c421[_0x50acdc(0x15a)]=0x271e]=_0x50acdc(0x15a),_0x53c421[_0x53c421[_0x50acdc(0x2d1)]=0x271f]=_0x50acdc(0x2d1),_0x53c421[_0x53c421[_0x50acdc(0x31c)]=0x2720]=_0x50acdc(0x31c),_0x53c421[_0x53c421[_0x50acdc(0x347)]=0x2af9]=_0x50acdc(0x347),_0x53c421[_0x53c421[_0x50acdc(0xcb)]=0x2ee1]=_0x50acdc(0xcb),_0x53c421[_0x53c421[_0x50acdc(0x330)]=0x2ee2]=_0x50acdc(0x330),_0x53c421[_0x53c421[_0x50acdc(0x3c9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x53c421[_0x53c421['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50acdc(0x1b4),_0x53c421[_0x53c421[_0x50acdc(0x1ac)]=0x2ee5]=_0x50acdc(0x1ac),_0x53c421[_0x53c421[_0x50acdc(0x193)]=0x32c9]=_0x50acdc(0x193),_0x53c421[_0x53c421['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x50acdc(0x2d2),_0x53c421[_0x53c421['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x50acdc(0x3b8),_0x53c421[_0x53c421['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x53c421))(dt||{}),J=(_0x14976e=>(_0x14976e[_0x14976e['UNIVER_UNKNOWN']=0x0]=_0x50acdc(0x247),_0x14976e[_0x14976e[_0x50acdc(0x1c5)]=0x1]=_0x50acdc(0x1c5),_0x14976e[_0x14976e[_0x50acdc(0x2f3)]=0x2]=_0x50acdc(0x2f3),_0x14976e[_0x14976e[_0x50acdc(0xab)]=0x3]='UNIVER_SLIDE',_0x14976e[_0x14976e[_0x50acdc(0x34c)]=0x4]=_0x50acdc(0x34c),_0x14976e[_0x14976e[_0x50acdc(0x35f)]=-0x1]='UNRECOGNIZED',_0x14976e))(J||{}),W=(_0x599667=>(_0x599667[_0x599667['UNKNOWN_CMD']=0x0]=_0x50acdc(0x3d8),_0x599667[_0x599667[_0x50acdc(0x254)]=0x1]=_0x50acdc(0x254),_0x599667[_0x599667[_0x50acdc(0x228)]=0x2]=_0x50acdc(0x228),_0x599667[_0x599667[_0x50acdc(0x3b2)]=0x3]=_0x50acdc(0x3b2),_0x599667[_0x599667[_0x50acdc(0x208)]=0x4]=_0x50acdc(0x208),_0x599667[_0x599667['HEARTBEAT']=0x5]=_0x50acdc(0xaf),_0x599667[_0x599667['RECV']=0x6]='RECV',_0x599667[_0x599667['UNRECOGNIZED']=-0x1]=_0x50acdc(0x35f),_0x599667))(W||{}),se=(_0x14c187=>(_0x14c187[_0x14c187[_0x50acdc(0xd5)]=0x0]='UNKNOWN_CODE',_0x14c187[_0x14c187['OK']=0x1]='OK',_0x14c187[_0x14c187[_0x50acdc(0x180)]=0x2]='FAIL',_0x14c187[_0x14c187['JOIN_ROOM_FULL']=0x3e9]=_0x50acdc(0x195),_0x14c187[_0x14c187[_0x50acdc(0x237)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x14c187[_0x14c187[_0x50acdc(0x131)]=0x3eb]=_0x50acdc(0x131),_0x14c187[_0x14c187['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x50acdc(0x342),_0x14c187[_0x14c187[_0x50acdc(0x35f)]=-0x1]=_0x50acdc(0x35f),_0x14c187))(se||{}),vt=(_0x1c9d25=>(_0x1c9d25[_0x1c9d25[_0x50acdc(0x15c)]=0x0]=_0x50acdc(0x15c),_0x1c9d25[_0x1c9d25[_0x50acdc(0x222)]=0x1]=_0x50acdc(0x222),_0x1c9d25[_0x1c9d25[_0x50acdc(0xce)]=0x2]='HttpExport',_0x1c9d25[_0x1c9d25['UnitEmbedded']=0x3]='UnitEmbedded',_0x1c9d25[_0x1c9d25[_0x50acdc(0x15d)]=0x4]=_0x50acdc(0x15d),_0x1c9d25[_0x1c9d25['UserProfileImg']=0x5]=_0x50acdc(0xf8),_0x1c9d25[_0x1c9d25['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1c9d25))(vt||{});const Bt=_0x50acdc(0x251);function Ft(_0x35ad79){var _0x369c61=_0x50acdc;return JSON[_0x369c61(0x8b)](_0x35ad79)['length'];}var Z=(_0x555d8b=>(_0x555d8b[_0x50acdc(0x3d7)]=_0x50acdc(0x3d7),_0x555d8b[_0x50acdc(0x3e6)]=_0x50acdc(0x3e6),_0x555d8b['CONFLICT']=_0x50acdc(0xe0),_0x555d8b[_0x50acdc(0x16b)]='CLOSE_ROOM',_0x555d8b[_0x50acdc(0x307)]='JOIN_ROOM_FAILED',_0x555d8b[_0x50acdc(0x1bb)]=_0x50acdc(0x1bb),_0x555d8b['SOCKET_FAILED']='SOCKET_FAILED',_0x555d8b[_0x50acdc(0x36a)]=_0x50acdc(0x36a),_0x555d8b))(Z||{});class ee{constructor(){var _0x137430=_0x50acdc;A(this,_0x137430(0x20a),new H[(_0x137430(0x20c))]()),A(this,_0x137430(0x291),this[_0x137430(0x20a)][_0x137430(0x1c8)]());}[_0x50acdc(0xc2)](_0x586e57){var _0x117d1a=_0x50acdc;this[_0x117d1a(0x20a)][_0x117d1a(0x30b)](_0x586e57);}}class $e{constructor(){var _0x1432cd=_0x50acdc;A(this,_0x1432cd(0x136),new H[(_0x1432cd(0x20c))]()),A(this,_0x1432cd(0x3e3),this[_0x1432cd(0x136)][_0x1432cd(0x1c8)]());}[_0x50acdc(0x2c6)](_0x2d13a1){var _0x49d230=_0x50acdc;this[_0x49d230(0x136)]['next'](_0x2d13a1);}}var Vt=Object[_0x50acdc(0x1c4)],Wt=(_0x37b09e,_0x4b7338,_0x22f689,_0x4cec8b)=>{var _0x175004=_0x50acdc;for(var _0x3cebfd=_0x4cec8b>0x1?void 0x0:_0x4cec8b?Vt(_0x4b7338,_0x22f689):_0x4b7338,_0x1ce741=_0x37b09e[_0x175004(0x31b)]-0x1,_0x5f285a;_0x1ce741>=0x0;_0x1ce741--)(_0x5f285a=_0x37b09e[_0x1ce741])&&(_0x3cebfd=_0x5f285a(_0x3cebfd)||_0x3cebfd);return _0x3cebfd;},Ve=(_0x5c0ab1,_0x1d1ede)=>(_0x1cd993,_0x53a036)=>_0x1d1ede(_0x1cd993,_0x53a036,_0x5c0ab1);exports['MemberService']=class extends a['Disposable']{constructor(_0x43db79,_0x59af29){var _0x3c4957=_0x50acdc;super(),A(this,_0x3c4957(0x245),new Map()),A(this,'_roomCreated$',new H[(_0x3c4957(0x20c))]()),(this[_0x3c4957(0x1d5)]=_0x43db79,this[_0x3c4957(0x36c)]=_0x59af29,this[_0x3c4957(0x2bc)](H[_0x3c4957(0x27b)](this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x2f3)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3525a9=>_0x3525a9['getUnitId']())),this['_univerInstanceService'][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x1c5)])['pipe'](V[_0x3c4957(0x2cc)](_0x106621=>_0x106621['getUnitId']())),this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0xab)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3c6e9e=>_0x3c6e9e['getUnitId']())))['subscribe'](_0x2e98d3=>this[_0x3c4957(0x120)](_0x2e98d3))));}[_0x50acdc(0x384)](_0x26155c){var _0x109e56=_0x50acdc;return this['_roomMembers'][_0x109e56(0x6f)](_0x26155c)?H['of'](this[_0x109e56(0x245)][_0x109e56(0x230)](_0x26155c)):this['_roomCreated$'][_0x109e56(0x34b)](V['map'](_0x32e0aa=>{var _0x5f478a=_0x109e56;if(_0x32e0aa===_0x26155c)return this[_0x5f478a(0x245)][_0x5f478a(0x230)](_0x32e0aa);}));}[_0x50acdc(0x2bd)](_0x530330){var _0x3349c5=_0x50acdc;this['_userManagerService'][_0x3349c5(0x2bd)](_0x530330);}[_0x50acdc(0x226)](){var _0x4ac216=_0x50acdc;return this['_userManagerService'][_0x4ac216(0x226)]();}[_0x50acdc(0x2f6)](_0x33ca69,_0x209446){var _0x2e8d52=_0x50acdc;let _0x460a5f=this['_roomMembers'][_0x2e8d52(0x230)](_0x33ca69);_0x460a5f||(_0x460a5f=new Gt(),this[_0x2e8d52(0x245)][_0x2e8d52(0x19b)](_0x33ca69,_0x460a5f),this[_0x2e8d52(0x1f4)]['next'](_0x33ca69)),_0x460a5f[_0x2e8d52(0x2f6)](_0x209446);}['removeMember'](_0x5d1260,_0x354cc2){var _0x4fe361=_0x50acdc;const _0xf35519=this['_roomMembers'][_0x4fe361(0x230)](_0x5d1260);_0xf35519&&_0xf35519[_0x4fe361(0x2db)](_0x354cc2);}['getRoom'](_0x281ea2){var _0x5ec84c=_0x50acdc;return this[_0x5ec84c(0x245)][_0x5ec84c(0x230)](_0x281ea2);}[_0x50acdc(0xe1)](_0x20f962,_0x394623){var _0x1df918=_0x50acdc;const _0x32dbd9=this[_0x1df918(0x245)][_0x1df918(0x230)](_0x20f962);if(_0x32dbd9)return _0x32dbd9[_0x1df918(0xe1)](_0x394623);}[_0x50acdc(0x120)](_0x452c1e){var _0x20846b=_0x50acdc;const _0x4410e5=this['_roomMembers'][_0x20846b(0x230)](_0x452c1e);_0x4410e5&&(_0x4410e5['dispose'](),this['_roomMembers'][_0x20846b(0x38a)](_0x452c1e));}[_0x50acdc(0xdd)](){var _0x480b28=_0x50acdc;this[_0x480b28(0x245)][_0x480b28(0x198)](_0x2be1a4=>_0x2be1a4[_0x480b28(0xdd)]()),this['_roomMembers'][_0x480b28(0x201)](),this[_0x480b28(0x1f4)][_0x480b28(0x2ab)]();}},exports[_0x50acdc(0x36b)]=Wt([Ve(0x0,a[_0x50acdc(0xa5)]),Ve(0x1,a[_0x50acdc(0x93)](a[_0x50acdc(0x214)]))],exports[_0x50acdc(0x36b)]);class Gt extends a['Disposable']{constructor(){var _0x318bcc=_0x50acdc;super(...arguments),A(this,_0x318bcc(0x24e),new Map()),A(this,_0x318bcc(0x141),new H['BehaviorSubject'](this[_0x318bcc(0x24e)])),A(this,'members$',this[_0x318bcc(0x141)][_0x318bcc(0x1c8)]());}[_0x50acdc(0xdd)](){var _0xb0f834=_0x50acdc;this[_0xb0f834(0x24e)][_0xb0f834(0x201)]();}['updateMember'](_0x2067bc){var _0x4cdda2=_0x50acdc;this['_members'][_0x4cdda2(0x19b)](_0x2067bc[_0x4cdda2(0xd3)],_0x2067bc),this[_0x4cdda2(0x2b9)]();}[_0x50acdc(0x2db)](_0x41cdfc){var _0x25cd34=_0x50acdc;this[_0x25cd34(0x24e)][_0x25cd34(0x38a)](_0x41cdfc);}['getMember'](_0x1aabb5){var _0x15724b=_0x50acdc;return this[_0x15724b(0x24e)][_0x15724b(0x230)](_0x1aabb5);}[_0x50acdc(0x281)](){var _0x4004e5=_0x50acdc;return Array[_0x4004e5(0x3e7)](this[_0x4004e5(0x24e)]['values']());}[_0x50acdc(0x2b9)](){var _0x50d14f=_0x50acdc;this['_members$']['next'](this[_0x50d14f(0x24e)]);}}var Yt=Object[_0x50acdc(0x1c4)],qt=(_0x42c5e1,_0x5c89f0,_0x1b8063,_0x3a0eea)=>{var _0x7fff85=_0x50acdc;for(var _0x1e8683=_0x3a0eea>0x1?void 0x0:_0x3a0eea?Yt(_0x5c89f0,_0x1b8063):_0x5c89f0,_0x3f9cf0=_0x42c5e1[_0x7fff85(0x31b)]-0x1,_0x5e18bf;_0x3f9cf0>=0x0;_0x3f9cf0--)(_0x5e18bf=_0x42c5e1[_0x3f9cf0])&&(_0x1e8683=_0x5e18bf(_0x1e8683)||_0x1e8683);return _0x1e8683;},ce=(_0x53aca4,_0x3b4eba)=>(_0x19d76d,_0x20feb9)=>_0x3b4eba(_0x19d76d,_0x20feb9,_0x53aca4),re=(_0x1b933a=>(_0x1b933a[_0x1b933a['IDLE']=0x0]=_0x50acdc(0x2a1),_0x1b933a[_0x1b933a['JOINING']=0x1]=_0x50acdc(0x213),_0x1b933a[_0x1b933a['OFFLINE']=0x2]=_0x50acdc(0x2dc),_0x1b933a[_0x1b933a[_0x50acdc(0x246)]=0x3]=_0x50acdc(0x246),_0x1b933a))(re||{});const We={[se['FAIL']]:_0x50acdc(0x26f),[se[_0x50acdc(0x195)]]:_0x50acdc(0x2a4),[se[_0x50acdc(0x237)]]:'session.room-not-exists',[se[_0x50acdc(0x131)]]:_0x50acdc(0x186),[se[_0x50acdc(0x342)]]:'session.room-cnt-exceeds'};exports[_0x50acdc(0x21c)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x46f6b4,_0x4ba2c5,_0x37b813,_0x4e2a2c,_0x48f957,_0x1aad76,_0x241ef6,_0xc2d4f3){var _0x2b6764=_0x50acdc;super(),A(this,_0x2b6764(0x319),new H[(_0x2b6764(0x1ea))](0x0)),A(this,'sessionStatus$',this[_0x2b6764(0x319)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x20a),new H[(_0x2b6764(0x20c))]()),A(this,_0x2b6764(0x291),this[_0x2b6764(0x20a)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x2d9)),A(this,_0x2b6764(0x81)),A(this,_0x2b6764(0x35d)),A(this,_0x2b6764(0x229),!0x1),A(this,_0x2b6764(0xf0),null),(this[_0x2b6764(0x12f)]=_0x46f6b4,this['_logService']=_0x37b813,this[_0x2b6764(0x7f)]=_0x4e2a2c,this[_0x2b6764(0x371)]=_0x48f957,this[_0x2b6764(0x2d3)]=_0x1aad76,this[_0x2b6764(0x22b)]=_0x241ef6,this[_0x2b6764(0x2ed)]=_0xc2d4f3,this[_0x2b6764(0x229)]=!!this['_telemetryService'],_0x4ba2c5['pipe'](H[_0x2b6764(0x2bf)](this[_0x2b6764(0x1a5)]))[_0x2b6764(0x393)](_0x13d0c7=>{var _0x37ed17=_0x2b6764,_0x133549;typeof _0x13d0c7>'u'||(this['_socket']=_0x13d0c7,_0x13d0c7?(this['_joinRoom'](_0x13d0c7),this[_0x37ed17(0x81)]=_0x13d0c7[_0x37ed17(0x265)][_0x37ed17(0x393)](_0x37c92b=>{var _0x44c5ef=_0x37ed17;_0x37c92b['routeKey']===this[_0x44c5ef(0x12f)]&&this[_0x44c5ef(0xdb)](_0x37c92b);})):(this[_0x37ed17(0x359)](),this['_sessionStatus$'][_0x37ed17(0x30b)](0x2),(_0x133549=this[_0x37ed17(0x81)])==null||_0x133549[_0x37ed17(0x34f)](),this[_0x37ed17(0x81)]=null));}));}get[_0x50acdc(0x341)](){var _0x39966d=_0x50acdc;return this[_0x39966d(0x319)]['getValue']();}[_0x50acdc(0x1f5)](){var _0x4fb16a=_0x50acdc,_0x8fe04a,_0x3f4121;return(_0x3f4121=(_0x8fe04a=this[_0x4fb16a(0x2d9)])==null?void 0x0:_0x8fe04a[_0x4fb16a(0xd3)])!=null?_0x3f4121:null;}[_0x50acdc(0xdd)](){var _0x3e9f46=_0x50acdc;super[_0x3e9f46(0xdd)](),this[_0x3e9f46(0x1a5)][_0x3e9f46(0x30b)](),this[_0x3e9f46(0x1a5)]['complete']();}[_0x50acdc(0x2b8)](){var _0x7e921c=_0x50acdc,_0x3cdc19,_0x43a83e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cdc19=this[_0x7e921c(0x2d9)])==null||_0x3cdc19['send']({'cmd':W[_0x7e921c(0x3b2)],'data':{'roomID':this[_0x7e921c(0x12f)]}}),(_0x43a83e=this[_0x7e921c(0x2d9)])==null||_0x43a83e[_0x7e921c(0x2b8)](),this[_0x7e921c(0x20a)]['complete'](),this[_0x7e921c(0x319)][_0x7e921c(0x2ab)](),this['dispose']();}['_onCombEvent'](_0x40848f){var _0x56247c=_0x50acdc;_0x40848f['cmd']===W[_0x56247c(0x228)]?this['_onJoinRoomEvent'](_0x40848f):_0x40848f['cmd']===W[_0x56247c(0x317)]&&this[_0x56247c(0x187)](_0x40848f);}[_0x50acdc(0x370)](_0x5e6505){var _0xeaec7=_0x50acdc;this['_sessionStatus$'][_0xeaec7(0x30b)](0x1),_0x5e6505['send']({'cmd':W[_0xeaec7(0x228)],'routeKey':this[_0xeaec7(0x12f)],'routeType':'','data':{'rooms':[{'roomID':this[_0xeaec7(0x12f)]}]}});}[_0x50acdc(0x8d)](_0x6d5ce3){var _0x501818=_0x50acdc,_0x50a845;if(_0x6d5ce3[_0x501818(0x156)]in We){this[_0x501818(0x22b)][_0x501818(0xc2)]({'id':Z['JOIN_ROOM_FAILED'],'data':We[_0x6d5ce3[_0x501818(0x156)]]}),this[_0x501818(0x319)][_0x501818(0x30b)](0x2);return;}this['_sessionStatus$'][_0x501818(0x30b)](0x3);const _0x4f6361=(_0x50a845=_0x6d5ce3[_0x501818(0x33e)][_0x501818(0x1a1)][this[_0x501818(0x12f)]])==null?void 0x0:_0x50a845[_0x501818(0xef)];_0x4f6361&&_0x4f6361[_0x501818(0x198)](_0x55b94b=>this[_0x501818(0x371)][_0x501818(0x2f6)](this['_unitID'],_0x55b94b));}[_0x50acdc(0x187)](_0x11dec6){var _0x19a93c=_0x50acdc;try{const _0x12284f=_0x11dec6[_0x19a93c(0x33e)];switch(_0x12284f['eventID']){case p['CollaborationEvent'][_0x19a93c(0x3d6)]:this[_0x19a93c(0x2dd)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['USERS_LEAVE']:this[_0x19a93c(0x112)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x23f)]:case p[_0x19a93c(0x2d7)][_0x19a93c(0x276)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x19a93c(0x1f3)](),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x19a93c(0x358)+JSON['stringify'](_0x12284f)),this['_event$'][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x174)]:this[_0x19a93c(0x2d3)][_0x19a93c(0x2c6)](_0x12284f[_0x19a93c(0x33e)]),this[_0x19a93c(0x20a)]['next'](_0x12284f);break;default:this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);}}catch(_0x355e09){this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x355e09,_0x11dec6);}}['_onUserJoin'](_0x64ecea){var _0x56d872=_0x50acdc;this[_0x56d872(0x371)][_0x56d872(0x2f6)](this[_0x56d872(0x12f)],_0x64ecea[_0x56d872(0x33e)]);}[_0x50acdc(0x112)](_0x3b2424){var _0x1ec4e7=_0x50acdc;this[_0x1ec4e7(0x371)]['removeMember'](this[_0x1ec4e7(0x12f)],_0x3b2424[_0x1ec4e7(0x33e)][_0x1ec4e7(0xd3)]);}async[_0x50acdc(0x3eb)](_0x465e46,_0x62a8a8){var _0x11f294=_0x50acdc;if(this[_0x11f294(0x341)]!==0x3||!this['_socket'])throw new Error(_0x11f294(0x172));try{_0x465e46[_0x11f294(0x12e)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x11f294(0x3c1)](),this['_startTelemetryCollaborationNewChangeset'](_0x465e46)),this[_0x11f294(0x2d9)][_0x11f294(0x3eb)]({'cmd':W['INGEST'],'routeKey':_0x62a8a8,'routeType':'','data':_0x465e46});}catch(_0x168878){this[_0x11f294(0x164)][_0x11f294(0x253)](_0x168878);}}[_0x50acdc(0x3c1)](){var _0x7814ea=_0x50acdc,_0x47b051;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4dea1c=_0x5520;this['_collaborationTimeoutTimer']=null,this[_0x4dea1c(0x22b)][_0x4dea1c(0xc2)]({'id':Z[_0x4dea1c(0x36a)]});},(_0x47b051=this[_0x7814ea(0x7f)]['getConfig'](ke))!=null?_0x47b051:lt);}[_0x50acdc(0x1f3)](){var _0x1b4a85=_0x50acdc;this[_0x1b4a85(0x35d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1b4a85(0x35d)]=null);}[_0x50acdc(0x20e)](_0x4da77d){var _0xa4dd98=_0x50acdc;if(!this[_0xa4dd98(0x229)])return;const {data:_0x5c625d}=_0x4da77d,{unitID:_0x3ac015,changeset:_0x4f903c}=_0x5c625d,{mutations:_0x23388a,type:_0xc31345}=_0x4f903c;this[_0xa4dd98(0xf0)]={'unitId':_0x3ac015,'type':_0xc31345,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x23388a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x41402f=_0x50acdc;if(this['_shouldReportTelemetry']){if(!this[_0x41402f(0xf0)]){this[_0x41402f(0x164)]['error']('[CollaborationSession]',_0x41402f(0x392));return;}this[_0x41402f(0xf0)][_0x41402f(0x299)]=performance['now'](),this[_0x41402f(0xf0)][_0x41402f(0x145)]=this[_0x41402f(0xf0)][_0x41402f(0x299)]-this['_telemetryInfo'][_0x41402f(0x216)],this[_0x41402f(0x2ed)]['capture'](Bt,this[_0x41402f(0xf0)]),this[_0x41402f(0xf0)]=null;}}[_0x50acdc(0x359)](){var _0x7a4669=_0x50acdc;this[_0x7a4669(0xf0)]=null;}},exports[_0x50acdc(0x21c)]=qt([ce(0x2,a['ILogService']),ce(0x3,a[_0x50acdc(0xda)]),ce(0x4,a['Inject'](exports[_0x50acdc(0x36b)])),ce(0x5,a[_0x50acdc(0x93)]($e)),ce(0x6,a[_0x50acdc(0x93)](ee)),ce(0x7,a[_0x50acdc(0x21e)](Rt[_0x50acdc(0x1d3)]))],exports[_0x50acdc(0x21c)]);const K=a['createIdentifier'](_0x50acdc(0x104));function Kt(_0x189294){var _0x36b07c=_0x50acdc;return _0x36b07c(0x6c)+_0x189294;}var zt=Object[_0x50acdc(0x1c4)],Jt=(_0x42b46a,_0x36114b,_0x150fae,_0x5f36fc)=>{var _0x422ed0=_0x50acdc;for(var _0x55fe6b=_0x5f36fc>0x1?void 0x0:_0x5f36fc?zt(_0x36114b,_0x150fae):_0x36114b,_0xd45581=_0x42b46a[_0x422ed0(0x31b)]-0x1,_0x209bd3;_0xd45581>=0x0;_0xd45581--)(_0x209bd3=_0x42b46a[_0xd45581])&&(_0x55fe6b=_0x209bd3(_0x55fe6b)||_0x55fe6b);return _0x55fe6b;},Ue=(_0x221f54,_0x37a922)=>(_0x2f00eb,_0x29e6d7)=>_0x37a922(_0x2f00eb,_0x29e6d7,_0x221f54);function Xt(_0x776581){var _0x7c46e=_0x50acdc;const {unitID:_0x399212,mutations:_0x31c017}=_0x776581;return{'unitId':_0x399212,'subUnitId':_0x31c017[0x0][_0x7c46e(0xbb)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x255c3c,_0x259923,_0x4191dc){var _0x4cd2d3=_0x50acdc;this[_0x4cd2d3(0xf3)]=_0x255c3c,this[_0x4cd2d3(0x275)]=_0x259923,this[_0x4cd2d3(0x390)]=_0x4191dc;}[_0x50acdc(0x19d)](_0x4d9658){var _0x17b7cd=_0x50acdc,_0x4dc1aa,_0x31ed1f,_0x161e5e,_0x3f3f17;const _0x16cca1=this[_0x17b7cd(0xf3)]['get'](X[_0x17b7cd(0x32a)]),{unitId:_0x24bf22,subUnitId:_0x1a3f96}=Xt(_0x4d9658),_0x375f3c=_0x16cca1==null?void 0x0:_0x16cca1[_0x17b7cd(0x34a)](_0x24bf22)[_0x17b7cd(0x22c)](),_0xd163d8=(_0x31ed1f=(_0x4dc1aa=this[_0x17b7cd(0x390)]['getUnit'](_0x24bf22))==null?void 0x0:_0x4dc1aa[_0x17b7cd(0x32f)]())==null?void 0x0:_0x31ed1f[_0x17b7cd(0x294)]();if(_0x375f3c[_0x17b7cd(0x31b)]===0x0||!_0x24bf22||!_0x1a3f96)return;const _0xc6bf58=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':a[_0x17b7cd(0x3ea)][_0x17b7cd(0x83)](_0x375f3c)}}],_0xde442d=this[_0x17b7cd(0x275)]['transformMutationsWithChangeset'](_0x4d9658,_0xc6bf58);if(!p[_0x17b7cd(0x37e)](_0xde442d))throw _0xde442d[_0x17b7cd(0x253)];const _0x4b3236=(_0x3f3f17=(_0x161e5e=_0xde442d['m2Prime'][0x0])==null?void 0x0:_0x161e5e[_0x17b7cd(0xbb)])==null?void 0x0:_0x3f3f17['selections'];if(Array[_0x17b7cd(0x165)](_0x4b3236)&&_0x4b3236[_0x17b7cd(0x31b)]){if(_0x4b3236['length']===_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x17b7cd(0x31b)]&&_0x4b3236[_0x17b7cd(0x2cb)]((_0x7c7c4f,_0x50b8b9)=>a[_0x17b7cd(0x343)]['equals'](_0x7c7c4f['range'],_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x50b8b9][_0x17b7cd(0x29b)])))return;this[_0x17b7cd(0xf3)][_0x17b7cd(0x230)](a[_0x17b7cd(0x8e)])['executeCommand'](X[_0x17b7cd(0x333)]['id'],{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':_0x4b3236});}}},exports[_0x50acdc(0x26a)]=Jt([Ue(0x0,a['Inject'](a[_0x50acdc(0x238)])),Ue(0x1,p[_0x50acdc(0x19a)]),Ue(0x2,a[_0x50acdc(0xa5)])],exports['SheetTransformSelectionsService']);const de=a['createIdentifier'](_0x50acdc(0xff));var He=(_0x35debf=>(_0x35debf[_0x35debf[_0x50acdc(0x3e5)]=0x0]=_0x50acdc(0x3e5),_0x35debf[_0x35debf[_0x50acdc(0x1ae)]=0x1]=_0x50acdc(0x1ae),_0x35debf))(He||{});const Y=_0x50acdc(0x2a2),Zt={},Qt=new Set([X[_0x50acdc(0x1b5)]['id']]);function Ge(_0x42e0f8,_0x36b19c,_0xa0de64,_0x3d72c0,_0x23e262){var _0x5568c0=_0x50acdc,_0x5021ef,_0x493201,_0x5a0fda,_0x2a3b5c;const _0x58f6c6=[];for(const _0x827a6 of _0x42e0f8)if(Qt[_0x5568c0(0x6f)](_0x827a6['id'])){if(_0x58f6c6[_0x5568c0(0x31b)]>0x0)break;_0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);break;}else _0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);const _0x8cf9c2=(_0x493201=(_0x5021ef=_0x23e262[_0x5568c0(0x226)]())==null?void 0x0:_0x5021ef[_0x5568c0(0xe8)])!=null?_0x493201:'unknown',_0x74fe6e=(_0x2a3b5c=(_0x5a0fda=_0x23e262['getCurrentUser']())==null?void 0x0:_0x5a0fda[_0x5568c0(0xd3)])!=null?_0x2a3b5c:_0x5568c0(0x1d0);return{'changeset':{'unitID':_0x36b19c,'type':p['mapDocumentTypeToUniverType'](_0xa0de64['getUnitType'](_0x36b19c)),'baseRev':_0x3d72c0[_0x5568c0(0xbf)](_0x36b19c),'revision':0x0,'userID':_0x8cf9c2,'memberID':_0x74fe6e,'mutations':_0x58f6c6},'pendingMutations':_0x42e0f8['slice'](_0x58f6c6['length'])};}function ei(_0x6bb290,_0x18822d,_0x27855d,_0x1485a2,_0x1bff76){var _0x28ef44=_0x50acdc,_0x30b586,_0x50f370,_0x431c9e,_0x21e500;const _0x267697=[_0x6bb290['reduce']((_0x3a1bc0,_0x12370e)=>{var _0x5badbf=_0x5520,_0x37592c;const {id:_0x1feb3c}=_0x3a1bc0,{id:_0x5c0865,type:_0x2e5c4c}=_0x12370e,_0x3b73e5=(_0x37592c=_0x3a1bc0[_0x5badbf(0xbb)])!=null?_0x37592c:{'actions':null},_0x43bd5e=_0x12370e[_0x5badbf(0xbb)];if(_0x1feb3c&&_0x1feb3c!==_0x5c0865)throw new Error(_0x5badbf(0x21f)+_0x1feb3c+'\x20-\x20'+_0x5c0865+'.');return{..._0x3a1bc0,'id':_0x5c0865,'type':_0x2e5c4c,'params':{'unitId':_0x43bd5e[_0x5badbf(0x13f)],'textRanges':_0x43bd5e['textRanges'],'actions':a['JSONX'][_0x5badbf(0x7d)](_0x3b73e5[_0x5badbf(0x2a0)],_0x43bd5e['actions'])}};},{})],_0x4c3a8d=(_0x50f370=(_0x30b586=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x30b586[_0x28ef44(0xe8)])!=null?_0x50f370:_0x28ef44(0x1d0),_0x188d78=(_0x21e500=(_0x431c9e=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x431c9e['memberID'])!=null?_0x21e500:'unknown';return{'changeset':{'unitID':_0x18822d,'type':p[_0x28ef44(0x306)](_0x27855d[_0x28ef44(0x227)](_0x18822d)),'baseRev':_0x1485a2['getCurrentRevOfUnit'](_0x18822d),'revision':0x0,'userID':_0x4c3a8d,'memberID':_0x188d78,'mutations':_0x267697},'pendingMutations':[]};}function _0x3a85(){var _0x497a08=['LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','find','includes','registerHTTPInterceptor','Latin1','shareReplay','_sheetTransformSelectionsService','[PendingState]:\x20received\x20acknowledgement.','PendingState','concat','isTransformMutationsWithChangesetSuccess','_updateLocalCache','snapshot','DocCollaborationEntity','_initCloseConn','collaboratorID','waitForRoom$','encodeURIComponent','_onFetchMissResult','onTransformRemoteChangesetByIMECache','updatePermissionObjEvent','SyncedState','delete','enableOfflineEditing','loadUnitOfRevision','src','/universer-api/oidc/authpage','LICENSE_MAX_UNITS_EXCEEDED','_instanceService','liveShareNewHost','telemetry\x20info\x20is\x20not\x20initialized','subscribe','key','_executeRemoteChangeset','withCredentials','59016yEjWUS','LOGIN_FAILED','authzUrl','_decreaseWaiting','_substituteRedoStack','DataLoaderService','parse','_getUploadFileURL','HEARTBEAT_INTERVAL_KEY','encrypt','12bizoiM','transformMutationsWithChangeset','push','/rev/','YUUMI_ASYNCIO_CANCELLED','RichTextEditingMutation','updateCollaborator','_onRemoteChangeset','symbol','now','Univer','ENSURE_SNAPSHOT_EXECUTION','take','FileId','collabWebSocketUrl','signUrlServerUrl','avatar','LEAVE','/universer-api/snapshot/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','__creator','hostname','joinEvent','EMAIL_HAS_BEEN_BOUND','floor','/universer-api/uniscript','clamp','ALREADY_EXISTS','updatePermissionPoint','addHandlerCallback','_eventService','padding','_scheduleCollaborationTimeoutTimer','OpenSSL','LIVESHARE_NEW_HOST','sheets','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SHA1','[CollaborationUndoRedoService]','saveImage','INVITE_CODE_REQUIRED','MSG_FOR_ERROR','body','BASE64','onStateChange','UPDATE_CURSOR','ERROR_EXCEED_SIZE','USERS_LEAVE','POST','$super','_sendHeartbeatTimer','repeat','CHANGESET_REVISION_CONFILICT','USERS_ENTER','OTHER_CLIENT_EDITING','UNKNOWN_CMD','[SyncedState]:\x20received\x20rejection.','concatMap','selections','/-/object/-/batch_allowed','interceptor','_nRounds','byteLength','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','781323MrQAtw','put','commentUpdate$','_transformRemoteChangesetByIMECache','NO_OTHER_CLIENTS_EDITING','PERMISSION_DENIED','from','toDisposable','_sendingTimer','Tools','send','leaveEvent','PERSON','unit-cache-','CHANGESET_REJ','toggleOffline','has','fromCollab','CollaborationSessionService','_createHmacHelper','_registerDependencies','FETCH_MISS','FetchingMissState','_getSendChangesetTimeout','_collaborationPaused','Hex','_initRequestHeader','[CollaborationState]:\x20apply\x20error!','_sender','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','compose','_clearLocalCache','_configService','_type','_socketMessageSubscription','getUnitOnRev','deepClone','_key','ImageSourceType','keySize','CollaborationImageIoService','_substituteUndoStack','LOCAL_CACHE_INTERVAL','cfg','stringify','_keyPriorReset','_onJoinRoomEvent','ICommandService','onload','APPLY_REJECT','_iKey','LOCAL_CACHE_INTERVAL_KEY','Inject','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','getFocusedUnit','/universer-api/authz','DisposableCollection','readyForCollab','createSocket','UnitEmbedded','COMPRESS_MUTATION_APPLY','size','_undoRedoService','IAuthzIoService','permissionRejEvent','HEARTBEAT_TIMEOUT','PENDING','saveChangeset','_initMergeInterceptor','IUniverInstanceService','_timeoutTimer','AwaitingState','_clearUndo','reqId','hasOwnProperty','UNIVER_SLIDE','[FetchMissState]','2XFtWcU','executeCommand','HEARTBEAT','onRemoteAck','collaborators','ivSize','onSendChangeset','c1Prime','onlyLocal','_reverseMap','downloadEndpointUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','ConflictState','params','_incrementRevisionNumber','min','href','getCurrentRevOfUnit','SUBMIT_CHANGESET','unitID','emitEvent','_parse','update','getUnitId','_toggleOnline','_applyRemoteChangeset','_keySchedule','target','_acknowledgedAwaitingChangeset','INVITE_CODE_HAS_BEEN_UES','_httpService','/fetchmissing?from=','HttpExport','_sessions','UnitStatus','getRandomValues','MergeInterceptorFactory','memberID','_invKeySchedule','UNKNOWN_CODE','createEncryptor','/allowed','_waitCount','SnapshotServerOverHTTPService','IConfigService','_onCombEvent','decryptBlock','dispose','Failed\x20to\x20update\x20permission\x20point','Cipher','CONFLICT','getMember','submit\x20changeset\x20error!','IMentionIOService','words','method','_listenToNetworkCondition','_onConflict','userID','awaitingChangeset','_nDataBytes','ImageUploadStatusType','People','_clearTimeoutTimer','ERROR_IMAGE_TYPE','members','_telemetryInfo','c2Prime','objectType','_injector','getGlobalObject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','\x0aCurrent:\x20','_getSignURL','UserProfileImg','UNDEFINED','updateOfflineData','onLocalMutation','/unit/','_doProcessBlock','MD5','univer-pro.collaboration-client.single-active-unit-service','ciphertext','lib','string','INetworkConditionService','collaboration-client.local-cache-service','routeKey','ISnapshotServerService','_singleActiveUnitService','_exhaustRemoteChangesetQueue','objects','add','headers','result','_tryReconnect','getLocalCacheKey','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collabSubmitChangesetUrl','confirm','_onUserLeave','UNISCRIPT_RUN','encode','SNAPSHOT_HAS_BEEN_REMOVED','transformUndoRedo','_getAPIPrefixPath','_startCollaboration','location','COMPLETION_FINISHED','CollaborationEntity','origin','4XrwYPj','objectID','UniverNetworkPlugin','_removeRoom','/universer-api/user/session-ticket','encryptBlock','DEFAULT_FILE_NAME','state$','_transitionLocked','[CollaborationSession]','blockSize','clone','LICENSE_DISTRO_REJECTED','_onConnectionFailed','editingUnit','LIVESHARE_TERMINATE','uuidv4','eventID','_unitID','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_PERMISSION_DENIED','init','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','format','_localCacheService','_commentUpdate$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toggleOnline','getResourcesRequest','firstValueFrom','ILocalCacheService','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','sigBytes','unitId','getUnitStatus$','_members$','sin','mixIn','_createInitialState','duration','_process','toString','_onRemoteRejected','resolve','generateRandomId','CommandType','UPDATE_PERMISSION_OBJ','onRemoteRetry','socket\x20open.','[DataLoaderService]','processBlock','localeService','image/png','_revisionService','startsWith','_initUnitPermissionChange','code','_updateStatus','IPermissionService','_queuedRemoteChangesets','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationSocketService','Undefined','UnitSnapshot','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onLocalMutation','IUndoRedoService','_waitForHeartbeatResponse','parseChangesetToProtocol','__Key__','_logService','isArray','_rescheduleHeartbeat','MentionIoHttpService','liveShareOperation','requestParams','NOT_COLLAB','CLOSE_ROOM','baseRev','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','_disableEditing','compute','_onConnectionOpen','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','isInternalEditorID','COMMENT_UPDATE','LIVESHARE_REQUEST_HOST','fromCharCode','ceil','_resendTimeout','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','BlockCipherMode','[OfflineState]:\x20received\x20changeset.','saveSnapshot','splice','LIVESHARE_OPERATION','_submitChangeset','FAIL','msCrypto','Disposable','univer-pro.collaboration-client.network-condition.service','_getLoginPath','_permissionService','session.room-permission-denied','_onRecvEvent','reject','_undoStacks','setConfig','socketService','/resources','_schedule','catch','HEARTBEAT_TIMEOUT_KEY','1563199asRpnp','_doCryptBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','WECHAT_HAS_BEEN_BOUND','responseType','JOIN_ROOM_FULL','resourceIDs','x-univer-host','forEach','987tmtRJR','ITransformService','set','_isPermissionRej','transformSelections','_retryConnectingTimer','isTransformChangesetsSuccess','_clearRetryConnectingTimer','roomInfos','roles','error$','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','dispose$','CipherParams','Could\x20not\x20dynamically\x20require\x20\x22','RevisionService','_iv','[CollaborationSessionService]','_state','INVITE_CODE_ALREADY_BOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','OTHER_CLIENTS_EDITING','AWAITING','pending','_transformRemoteChangesetByStateCache','onRemoteRej','OPTIONAL','USER_NOT_INVITED_CODE','InsertSheetMutation','_createSocket','textEncoder','pauseCollaboration','getCollabEntity$','then','SOCKET_FAILED_RETRY','YUUMI_URL_COL_OUT_OF_RANGE','_checkMissing','objectActions','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_init','loadDoc','_xformMode','__esModule','getOwnPropertyDescriptor','UNIVER_DOC','onSyncEditingCollabCursor','_replaceFileID','asObservable','_doCreateSocket','_createHelper','_updateState','b64DecodeUnicode','textRanges','isTransformMutationsWithChangesetFailure','_clearScheduledTask','unknown','salt','awaiting','ITelemetryService','_resendTimer','_univerInstanceService','_entities','originalMeta','Decryptor','APPLY_PERMISSION_DENIED','UniverCollaborationClientPlugin','mutations','SUCCUSS','&assign=','APPLY_DUPLICATED','getValue','542210zBfGUm','_lockTransition','_changesetSessionId','APPLY_REVISION_CONFILICT','\x20to\x20','_fetchMissChangesets','listCollaborators','CollaborationUIEventService','_hasher','type','BehaviorSubject','sendChangesetTimeout','_getAPIPrefix','_cipher','join','_toggleOffline','joinRsp','create','EMAIL_VERIFY_CODE_MISMATCH','_clearCollaborationTimeoutTimer','_roomCreated$','getMemberID','univer-pro.collaboration-client-socket-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','_data','RxDisposable','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','localCacheService','Plugin','_createHandler','infoRsp','6KfByjV','clear','FETCH_MISSING','image/bmp','/universer-api/comb','YUUMI_UNABLE_LOAD_URL','onRemoteChangeset','_handlerCallback','INGEST','sessionStatus$','_event$','readAsDataURL','Subject','_retryCount','_startTelemetryCollaborationNewChangeset','_resendWithTimeout','OfflineState','exports','workbook','JOINING','UserManagerService','Base64','startTime','LocaleService','url','parseProtocolChangeset','pad','/object/','CollaborationSession','YUUMI_NO_CUBOID_FOR_QUESTION','Optional','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NEW_CHANGESETS','SessionStatus','HttpImport','_status$','_syncEditingCollabCursor','AuthzIoHttpService','getCurrentUser','getUnitType','JOIN','_shouldReportTelemetry','entityInit$','_collaborationUIEventService','getCurrentSelections','_sendHeartbeat','Error\x20on\x20receiving\x20event','/universer-api/stream/file/upload','get','NOT_FOUND','_candidateSocket','fetching\x20missing\x20changesets\x20from\x20','MUTATION','_socket$','_createInitialStateImpl','JOIN_ROOM_NOT_EXISTS','Injector','ThresholdInterceptorFactory','INVALID_ARGUMENT','TOO_MANY_REQUESTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socketReady','32208033HiMLYi','CHANGESET_ACK','_getCtorByUniverType','SheetCollaborationEntity','random','HEARTBEAT_INTERVAL','onMissedChangesetFetched','_roomMembers','ONLINE','UNIVER_UNKNOWN','Base','?url=','_handler','MentionType','revision','NoPadding','_members','_showConflictNotification','RETRY_CONNECTING_MAX_COUNT','collaboration_new_changeset','getTime','error','HELLO','_scheduleCompleteTimestamp','_minBufferSize','unitInfo$','PSEUDO_FETCH_MISSING_RESULT','SHOULD_CLOSE_CONN','LIVESHARE_FETCH_OPERATIONS','CommentService','auth.needGotoLoginAlert','sid','loadOfflineData','_onRemoteRetry','incrementRevOfUnit','CompressMutationService','cmd','appendMutation','_commandService','message$','UUID','SNAPSHOT_INVALID_SNAPSHOT','/block/','APPLY_NON_SEQUENTIAL_REVISION','SheetTransformSelectionsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','defineProperty','csRejEvent','collaMsg','session.join-failed','name','mergeOverrideWithDependencies','transformChangesets','updateSnapshot','allowed','_transformService','CHANGESET_SHOULD_RETRY','_state$','PasswordBasedCipher','getConfig','_config','merge','Hasher','1113905dPJNkF','getTypeOfUnitAdded$','184464eCKhFC','kdf','getAllMembers','reduce','sequenceExecute','refreshPermission','image/jpg','debug','_transformStack','post','decrypt','getTypeOfUnitDisposed$','algo','status','BlockCipher','_socketService','DEFAULT_WS_SESSION_TICKET_URL','onMissingChangesets','event$','getLatestCsReqIdBySid','setWaitCount','getSheetId','commentUpdateEvent','disableLocalCache','csShouldRetryEvent','newCsEvent','stopTime','enc','range','_transformIMECache','AwaitingWithPendingState','reset','AES','actions','IDLE','collaboration-client.config','prototype','session.room-full','snapshotServerUrl','deleteCollaborator','_clearHeartbeatTimer','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','offline','complete','call','460RJFZaa','AWAITING_WITH_PENDING','YUUMI_RATE_OVER_LIMIT','mode','retryConnectingInterval','addImageSourceCache','toStringTag','_transformUndoredo','WordArray','requireSession','_networkConditionService','close','_emitMembers','_initDependencies','focused$','disposeWithMe','setCurrentUser','UNAUTHENTICATED','takeUntil','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getUndoStack','fetchMiss','CollaborativeUndoRedoService','_redoStacks','isPermissionRej','onCommentUpdate','WorkbookEditablePermission','abs','createDecryptor','replace','every','map','_remoteChangesetQueue','randomBytes','UniverInstanceType','getInterceptPoints','YUUMI_AI_RUN_FAILED','MOBILE_HAS_BEEN_BOUND','_commentService','reconnect','_ENC_XFORM_MODE','\x20in\x20_schedule.','CollaborationEvent','conflict','_socket','_hash','removeMember','OFFLINE','_onUserJoin','/universer-api/snapshot','_unitInfo$','crypto','open$','_oKey','/object','SYNCED','resend','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unpad','_tryEnsureSocket','function','getSnapshotAPIPath','HTTPService','LocalUndoRedoService','_telemetryService','fetchMissingChangesets','slice','_collaborationSessionService','_imageSourceCache','[CollaborationEntity]','UNIVER_SHEET','_clearRedo','subject','updateMember','_snapshotService','/role','_replayCachedMutations','enableSingleActiveInstanceLock','INTERNAL_ERROR','fetchThroughInterceptors','_doFinalize','reverse','_mode','SheetPermissionInitController','session','_localeService','apply','touchDependencies','BufferedBlockAlgorithm','mapDocumentTypeToUniverType','JOIN_ROOM_FAILED','_unlockTransition','YUUMI_ALL_TABLES_IS_INVALID','hasher','next','loginUrlKey','Utf8','serializeCombRequest','awaiting_with_pending','_getDownloadEndpointURL','connection\x20error','PERMISSION_REJ','HMAC','finalize','state','_pendingMutations','RECV','createInstance','_sessionStatus$','_changesetReqId','length','YUUMI_CONNECTOR_URL_NOT_FOUND','_doReset','list','setShowComponents','RETRY_CONNECTING_MAX_COUNT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','charAt','_onOffline','append','copyFileMeta','deserializeToCombResponse','_map','entries','ILogService','SheetsSelectionsService','image/gif','_collabSessionService','CBC','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getActiveSheet','INVALID_INVITE_CODE','IImageIoService','/collaborator','SetSelectionsOperation','extend','_getCurrentRevision','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_SEND','onTransformIME','_transformStateCache','synced','batchAllowed','formatter','byteOffset','data','change$','max','sessionStatus','GLOBAL_ROOMS_CNT_EXCEEDS','Rectangle','_transformSelections','transformStack\x20failed!','default','PY_RUNTIME_SCRIPT_ERROR','initWorkbookPermissionChange','{fileID}','getWorkbookSelections','pipe','UNIVER_PROJECT','&source=','/-/object/list','unsubscribe','_entityInit$','onTransformSelections','EvpKDF','_awaitingChangeset','enableAuthServer','_getRedoStack','execute','ERROR_IMAGE','save\x20fail\x20reason\x20is\x20','_throwTelemetryCollaborationNewChangeset','onCommandExecuted','not_collab','_HTTPService','_collaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNRECOGNIZED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformState','StreamCipher','_compressMutationService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DEFAULT_COLLAB_WEB_SOCKET_URL','_change$','onTransformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','MemberService','_userManagerService','HmacMD5','status$','CollaborationUIEventId','_joinRoom','_memberService','filter'];_0x3a85=function(){return _0x497a08;};return _0x3a85();}function St(_0x2c858b,_0x333c60){var _0x51b751=_0x50acdc;const _0x5d56ef=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x5d56ef['next'](_0x333c60),_0x2c858b),_0x5d56ef[_0x51b751(0x1c8)]()['pipe'](H[_0x51b751(0x3ad)](0x1));}const ti={'id':X['EmptyMutation']['id'],'type':a[_0x50acdc(0x14b)][_0x50acdc(0x234)],'params':{}};var ii=Object[_0x50acdc(0x1c4)],oe=(_0x38683b,_0x1fa952,_0x2167a5,_0x25313e)=>{var _0x105361=_0x50acdc;for(var _0x44ced2=_0x25313e>0x1?void 0x0:_0x25313e?ii(_0x1fa952,_0x2167a5):_0x1fa952,_0x8d82d6=_0x38683b[_0x105361(0x31b)]-0x1,_0x5cdf31;_0x8d82d6>=0x0;_0x8d82d6--)(_0x5cdf31=_0x38683b[_0x8d82d6])&&(_0x44ced2=_0x5cdf31(_0x44ced2)||_0x44ced2);return _0x44ced2;},w=(_0x10109a,_0x1a0624)=>(_0x20b5c9,_0x3e9da7)=>_0x1a0624(_0x20b5c9,_0x3e9da7,_0x10109a),je=(_0x31842c=>(_0x31842c[_0x50acdc(0x16a)]=_0x50acdc(0x35b),_0x31842c[_0x50acdc(0x2e4)]=_0x50acdc(0x33a),_0x31842c[_0x50acdc(0xa2)]=_0x50acdc(0x1b0),_0x31842c[_0x50acdc(0x1af)]=_0x50acdc(0x1d2),_0x31842c[_0x50acdc(0x2ae)]=_0x50acdc(0x30f),_0x31842c[_0x50acdc(0x74)]='fetch_missing',_0x31842c[_0x50acdc(0xe0)]='conflict',_0x31842c[_0x50acdc(0x2dc)]=_0x50acdc(0x2aa),_0x31842c))(je||{});const ft=0xea60;class ae{constructor(_0x137958,_0x1efc89,_0x481f0b,_0x489fb6,_0x553254,_0x451742,_0x37ef62,_0x560566,_0x4ee74e){var _0x471ec9=_0x50acdc;A(this,_0x471ec9(0x353),null),A(this,_0x471ec9(0x316),[]),(this[_0x471ec9(0xc1)]=_0x137958,this[_0x471ec9(0x1e9)]=_0x1efc89,this[_0x471ec9(0x24a)]=_0x553254,this[_0x471ec9(0x264)]=_0x451742,this[_0x471ec9(0x9e)]=_0x37ef62,this[_0x471ec9(0x153)]=_0x560566,this[_0x471ec9(0x135)]=_0x4ee74e,this[_0x471ec9(0x353)]=_0x481f0b,this[_0x471ec9(0x316)]=_0x489fb6);}[_0x50acdc(0x1bd)](_0x23a5a0){var _0x4d3fc7=_0x50acdc;const _0x4e2fba=this[_0x4d3fc7(0x153)][_0x4d3fc7(0xbf)](this[_0x4d3fc7(0xc1)]);return _0x23a5a0[_0x4d3fc7(0x24c)]>_0x4e2fba+0x1?(this[_0x4d3fc7(0x24a)][_0x4d3fc7(0x290)]({'from':_0x4e2fba,'to':_0x23a5a0['revision']-0x1}),!0x0):!0x1;}[_0x50acdc(0x2b4)](_0x3cece8){var _0x28602e=_0x50acdc;this[_0x28602e(0x9e)][_0x28602e(0x116)](this['unitID'],_0x3cece8);}[_0x50acdc(0x344)](_0x3bfe12){var _0x109554=_0x50acdc,_0x4e8b50,_0x528e9b;(_0x528e9b=(_0x4e8b50=this[_0x109554(0x24a)])[_0x109554(0x351)])==null||_0x528e9b[_0x109554(0x2ac)](_0x4e8b50,_0x3bfe12);}['_transformIMECache'](_0x32d349){var _0x40303d=_0x50acdc,_0x4904ae,_0xf06f35;return(_0xf06f35=(_0x4904ae=this[_0x40303d(0x24a)])[_0x40303d(0x338)])==null?void 0x0:_0xf06f35['call'](_0x4904ae,_0x32d349);}[_0x50acdc(0x339)](_0x44c959){var _0x1405f7=_0x50acdc,_0x4f3eb7,_0x5a8e10;return(_0x5a8e10=(_0x4f3eb7=this[_0x1405f7(0x24a)])[_0x1405f7(0x363)])==null?void 0x0:_0x5a8e10[_0x1405f7(0x2ac)](_0x4f3eb7,_0x44c959);}[_0x50acdc(0x3e4)](_0x3f3bb4){var _0x1680db=_0x50acdc,_0x4b177f,_0x47f7aa,_0x293d97;return(_0x293d97=(_0x47f7aa=(_0x4b177f=this[_0x1680db(0x24a)])[_0x1680db(0x387)])==null?void 0x0:_0x47f7aa[_0x1680db(0x2ac)](_0x4b177f,_0x3f3bb4))!=null?_0x293d97:_0x3f3bb4;}[_0x50acdc(0x1b1)](_0x233c19){var _0x4008ce=_0x50acdc,_0x50da11,_0x518d03,_0x4b71d7;return(_0x4b71d7=(_0x518d03=(_0x50da11=this[_0x4008ce(0x24a)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x518d03[_0x4008ce(0x2ac)](_0x50da11,_0x233c19))!=null?_0x4b71d7:_0x233c19;}['_syncEditingCollabCursor'](_0x1e6568){var _0x313150=_0x50acdc,_0x87f2d3,_0x32ccd2;if(this[_0x313150(0x1e9)]===J[_0x313150(0x1c5)]){const {unitID:_0x480beb,mutations:_0x2dc8f1,memberID:_0x30459a}=_0x1e6568,_0x2cd4ad=_0x2dc8f1[0x0][_0x313150(0xbb)][_0x313150(0x1cd)];Array[_0x313150(0x165)](_0x2cd4ad)&&_0x2cd4ad['length']>0x0&&((_0x32ccd2=(_0x87f2d3=this[_0x313150(0x24a)])[_0x313150(0x1c6)])==null||_0x32ccd2[_0x313150(0x2ac)](_0x87f2d3,{'unitID':_0x480beb,'memberID':_0x30459a,'textRanges':_0x2cd4ad}));}}[_0x50acdc(0x37f)](){var _0xace6d0=_0x50acdc,_0x391548;(_0x391548=this[_0xace6d0(0x135)])==null||_0x391548[_0xace6d0(0xfa)](this[_0xace6d0(0xc1)],this[_0xace6d0(0x1e9)],this[_0xace6d0(0x353)],this[_0xace6d0(0x316)]);}[_0x50acdc(0x335)](){var _0x854185=_0x50acdc;return this[_0x854185(0x153)][_0x854185(0xbf)](this['unitID']);}[_0x50acdc(0xbc)](){var _0x2d3f82=_0x50acdc;this[_0x2d3f82(0x153)][_0x2d3f82(0x260)](this[_0x2d3f82(0xc1)]);}[_0x50acdc(0x395)](_0x771aba){var _0x55d029=_0x50acdc,_0x31b972;let _0x5c8272=this[_0x55d029(0x3e4)](_0x771aba);_0x5c8272=this[_0x55d029(0x1b1)](_0x5c8272);const _0x2387ae=a[_0x55d029(0x283)](_0x5c8272[_0x55d029(0x1db)],this[_0x55d029(0x264)],{'fromCollab':!0x0});if(!_0x2387ae[_0x55d029(0x10c)])throw _0x2387ae['error']instanceof Error?_0x2387ae[_0x55d029(0x253)]:new Error((_0x31b972=_0x2387ae[_0x55d029(0x253)])!=null?_0x31b972:_0x55d029(0x7a));this[_0x55d029(0x29c)](_0x5c8272),this['_transformStateCache'](_0x5c8272),this['_transformUndoredo'](_0x771aba),this['_transformSelections'](_0x5c8272),this[_0x55d029(0x224)](_0x5c8272),this[_0x55d029(0xbc)]();}}exports[_0x50acdc(0x389)]=class extends ae{constructor(_0x5bbb6d,_0x3058db,_0x6eabbb,_0x53fba4,_0x5c0e8a,_0x4572b0,_0x104501,_0x2f99c1,_0x497dab,_0x1b621e){var _0x4a0f8a=_0x50acdc;super(_0x5bbb6d,_0x3058db,null,[],_0x6eabbb,_0x104501,_0x4572b0,_0x53fba4,_0x1b621e),A(this,_0x4a0f8a(0x28c),_0x4a0f8a(0x33a)),(this['_injector']=_0x5c0e8a,this[_0x4a0f8a(0x164)]=_0x2f99c1,this[_0x4a0f8a(0x275)]=_0x497dab,this[_0x4a0f8a(0x1fc)]=_0x1b621e);}[_0x50acdc(0x263)](_0x168759){var _0x44ad70=_0x50acdc;const _0x2028d0=this[_0x44ad70(0xf3)]['createInstance'](exports[_0x44ad70(0x37c)],this[_0x44ad70(0xc1)],this[_0x44ad70(0x1e9)],[_0x168759],this['_handler']);return _0x2028d0[_0x44ad70(0x18d)](),_0x2028d0[_0x44ad70(0x37f)](),_0x2028d0;}[_0x50acdc(0x206)](_0x331ac2){var _0x5cee45=_0x50acdc;if(this[_0x5cee45(0x1bd)](_0x331ac2))return this[_0x5cee45(0xf3)][_0x5cee45(0x318)](exports[_0x5cee45(0x75)],this[_0x5cee45(0xc1)],this[_0x5cee45(0x1e9)],null,[],null,[_0x331ac2],this['_handler']);try{const _0xef780b=this[_0x5cee45(0x275)]['transformMutationsWithChangeset'](_0x331ac2,[ti]);if(p[_0x5cee45(0x37e)](_0xef780b)){const {c1Prime:_0x273e03}=_0xef780b;return this[_0x5cee45(0x395)](_0x273e03),this;}throw _0xef780b[_0x5cee45(0x253)];}catch(_0x2ec8e4){return this[_0x5cee45(0x164)][_0x5cee45(0x253)](_0x2ec8e4),this[_0x5cee45(0xe7)](!0x1);}}[_0x50acdc(0xe7)](_0x5b592e){var _0x3b2c99=_0x50acdc;return this[_0x3b2c99(0xf3)][_0x3b2c99(0x318)](exports['ConflictState'],this[_0x3b2c99(0xc1)],this[_0x3b2c99(0x1e9)],null,[],this['_handler'],_0x5b592e);}[_0x50acdc(0xb0)](){var _0x59c376=_0x50acdc;throw new Error(_0x59c376(0x16d));}[_0x50acdc(0x1b2)](){var _0x58ce13=_0x50acdc;throw new Error(_0x58ce13(0x3d9));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x324ca6=_0x50acdc;return this[_0x324ca6(0xf3)][_0x324ca6(0x318)](exports[_0x324ca6(0x210)],this[_0x324ca6(0xc1)],this[_0x324ca6(0x1e9)],null,[],this[_0x324ca6(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x153b8e=_0x50acdc;throw new Error(_0x153b8e(0x32e));}[_0x50acdc(0x2c2)](){var _0x4edf61=_0x50acdc;const _0x4c1436=this[_0x4edf61(0x153)]['getCurrentRevOfUnit'](this[_0x4edf61(0xc1)]);return this[_0x4edf61(0x24a)][_0x4edf61(0x290)]({'from':_0x4c1436,'to':0x0}),this[_0x4edf61(0xf3)][_0x4edf61(0x318)](exports[_0x4edf61(0x75)],this[_0x4edf61(0xc1)],this['type'],null,[],null,[],this[_0x4edf61(0x24a)]);}},exports[_0x50acdc(0x389)]=oe([w(0x3,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x4,a['Inject'](a[_0x50acdc(0x238)])),w(0x5,a[_0x50acdc(0x160)]),w(0x6,a[_0x50acdc(0x8e)]),w(0x7,a[_0x50acdc(0x329)]),w(0x8,p['ITransformService']),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x389)]),exports['PendingState']=class extends ae{constructor(_0x1f3da3,_0x2226c7,_0x166fcd,_0x485c85,_0x6715bb,_0x540628,_0x410ca6,_0x25f90f,_0x5030b7,_0x28388d,_0x330148,_0x4cf416,_0x36d3ae,_0x2e78b5){var _0x475410=_0x50acdc;super(_0x1f3da3,_0x2226c7,null,_0x166fcd,_0x485c85,_0x5030b7,_0x36d3ae,_0x540628,_0x2e78b5),A(this,'status','pending'),A(this,_0x475410(0x255),null),A(this,_0x475410(0x3e9),null),(this[_0x475410(0xf3)]=_0x6715bb,this['_memberService']=_0x410ca6,this['_logService']=_0x25f90f,this[_0x475410(0x7f)]=_0x28388d,this[_0x475410(0x275)]=_0x330148,this[_0x475410(0x1d5)]=_0x4cf416);}[_0x50acdc(0x263)](_0x29edd2){var _0xe73742=_0x50acdc;return this['_pendingMutations']['push'](_0x29edd2),this[_0xe73742(0x37f)](),this;}[_0x50acdc(0x206)](_0x4a871b){var _0x59b7b5=_0x50acdc;if(this[_0x59b7b5(0x1bd)](_0x4a871b))return this[_0x59b7b5(0x1cf)](),this[_0x59b7b5(0xf3)]['createInstance'](exports[_0x59b7b5(0x75)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],null,this[_0x59b7b5(0x316)],null,[_0x4a871b],this[_0x59b7b5(0x24a)]);try{const _0x4ffa82=this[_0x59b7b5(0x275)][_0x59b7b5(0x3a2)](_0x4a871b,this[_0x59b7b5(0x316)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x4ffa82)){const {c1Prime:_0x2d6992,m2Prime:_0xe0fa4a}=_0x4ffa82;this[_0x59b7b5(0x395)](_0x2d6992);const _0x44dad6=this[_0x59b7b5(0xf3)][_0x59b7b5(0x318)](exports[_0x59b7b5(0x37c)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],_0xe0fa4a,this[_0x59b7b5(0x24a)]);this[_0x59b7b5(0x1cf)]();const _0x3494e9=new Date()[_0x59b7b5(0x252)](),_0x371512=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x59b7b5(0x255)]-_0x3494e9,0x0):this[_0x59b7b5(0x76)]();return _0x44dad6[_0x59b7b5(0x18d)](_0x371512),_0x44dad6;}throw _0x4ffa82['error'];}catch(_0xae4d6c){return this[_0x59b7b5(0x164)][_0x59b7b5(0x253)](_0xae4d6c),this[_0x59b7b5(0xe7)](!0x1);}}[_0x50acdc(0xb0)](){var _0xafe109=_0x50acdc;throw new Error(_0xafe109(0x37b));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x41a360=_0x50acdc;return this[_0x41a360(0x1cf)](),this[_0x41a360(0xf3)][_0x41a360(0x318)](exports[_0x41a360(0x210)],this[_0x41a360(0xc1)],this[_0x41a360(0x1e9)],null,this[_0x41a360(0x316)],this[_0x41a360(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x18d)](_0x13b1cb){var _0x48b53e=_0x50acdc;const _0x448962=_0x13b1cb!=null?_0x13b1cb:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x448962,this[_0x48b53e(0x3e9)]=setTimeout(()=>{var _0x55d27e=_0x48b53e;this[_0x55d27e(0x1cf)]();let _0x598c06=null;switch(this['type']){case J['UNIVER_SHEET']:{_0x598c06=Ge(this['_pendingMutations'],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}case J[_0x55d27e(0x1c5)]:{this[_0x55d27e(0x316)][_0x55d27e(0x2cb)](_0x546bb4=>_0x546bb4['id']===ct[_0x55d27e(0x3a6)]['id'])?_0x598c06=ei(this[_0x55d27e(0x316)],this[_0x55d27e(0xc1)],this['_univerInstanceService'],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]):_0x598c06=Ge(this[_0x55d27e(0x316)],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}default:throw new Error(_0x55d27e(0x362)+this[_0x55d27e(0x1e9)]+_0x55d27e(0x2d6));}const {changeset:_0x394a77,pendingMutations:_0x25b37d}=_0x598c06;this[_0x55d27e(0x24a)][_0x55d27e(0xb3)](_0x394a77);const _0x52aa9f=_0x25b37d[_0x55d27e(0x31b)]?this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0x29d)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,_0x25b37d,this['_handler'],void 0x0):this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0xa7)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,this[_0x55d27e(0x24a)]);_0x52aa9f[_0x55d27e(0x37f)](),this[_0x55d27e(0x24a)][_0x55d27e(0x3cd)](this,_0x52aa9f);},_0x448962);}[_0x50acdc(0x76)](){var _0x23aa27=_0x50acdc,_0xc47f4f;const _0x1148ba=this[_0x23aa27(0x7f)][_0x23aa27(0x279)](Y);return(_0xc47f4f=_0x1148ba==null?void 0x0:_0x1148ba[_0x23aa27(0x1eb)])!=null?_0xc47f4f:Ut;}[_0x50acdc(0x2e5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50acdc(0x1cf)](){var _0x18b607=_0x50acdc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x18b607(0x3e9)]),this[_0x18b607(0x3e9)]=null);}[_0x50acdc(0xe7)](_0x19256d){var _0xeea6b3=_0x50acdc;return this[_0xeea6b3(0x1cf)](),this[_0xeea6b3(0xf3)][_0xeea6b3(0x318)](exports[_0xeea6b3(0xba)],this[_0xeea6b3(0xc1)],this[_0xeea6b3(0x1e9)],null,this['_pendingMutations'],this[_0xeea6b3(0x24a)],_0x19256d);}},exports[_0x50acdc(0x37c)]=oe([w(0x4,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a[_0x50acdc(0x93)](exports[_0x50acdc(0x36b)])),w(0x7,a[_0x50acdc(0x329)]),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0xda)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0xa5)]),w(0xc,a[_0x50acdc(0x160)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x37c)]),exports[_0x50acdc(0xa7)]=class extends ae{constructor(_0x53de8b,_0x463a82,_0x4ff7ee,_0x100f4b,_0x388a5a,_0x3204e7,_0x5bd272,_0x411d2c,_0x1cc732,_0x44924a,_0x1337c1){var _0x10ed0d=_0x50acdc;super(_0x53de8b,_0x463a82,_0x4ff7ee,[],_0x100f4b,_0x5bd272,_0x44924a,_0x3204e7,_0x1337c1),A(this,'status',_0x10ed0d(0x1d2)),A(this,'_resendTimeout',0x0),A(this,_0x10ed0d(0x1d4)),A(this,'_sender'),(this['_injector']=_0x388a5a,this['_logService']=_0x411d2c,this[_0x10ed0d(0x275)]=_0x1cc732);}[_0x50acdc(0x263)](_0x1f7fdc){var _0x5f380e=_0x50acdc;this['_clearScheduledTask']();const _0x202fa6=this['_injector'][_0x5f380e(0x318)](exports['AwaitingWithPendingState'],this[_0x5f380e(0xc1)],this['type'],this[_0x5f380e(0x353)],[_0x1f7fdc],this[_0x5f380e(0x24a)],this['_resendTimer']);return _0x202fa6[_0x5f380e(0x37f)](),_0x202fa6;}[_0x50acdc(0x206)](_0x6e5aae){var _0x532824=_0x50acdc;if(this['_checkMissing'](_0x6e5aae))return this[_0x532824(0x1cf)](),this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0x75)],this[_0x532824(0xc1)],this['type'],this[_0x532824(0x353)],[],null,[_0x6e5aae],this['_handler']);try{const _0x43e9b9=this[_0x532824(0x275)]['transformChangesets']([_0x6e5aae],[this['_awaitingChangeset']],!0x1);if(p[_0x532824(0x19f)](_0x43e9b9)){const {c1Prime:_0x348601,c2Prime:_0x4bf54a}=_0x43e9b9;this['_executeRemoteChangeset'](_0x348601[0x0]),_0x4bf54a[0x0][_0x532824(0x16c)]=this[_0x532824(0x335)](),this[_0x532824(0x1cf)]();const _0x1ace26=this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0xa7)],this[_0x532824(0xc1)],this['type'],_0x4bf54a[0x0],this['_handler']);return _0x1ace26[_0x532824(0x37f)](),_0x1ace26;}return this[_0x532824(0xe7)](!0x1);}catch(_0x5b9559){return this[_0x532824(0x164)]['error'](_0x5b9559),this[_0x532824(0xe7)](!0x1);}}[_0x50acdc(0xb0)](_0x4fbaa6){var _0x3ff8c9=_0x50acdc;this['_clearScheduledTask']();const _0x464dd6=this['_revisionService'][_0x3ff8c9(0xbf)](this['unitID']);if(_0x4fbaa6[_0x3ff8c9(0x24c)]<_0x464dd6-0x1)return this;if(this[_0x3ff8c9(0x1bd)](_0x4fbaa6))return this[_0x3ff8c9(0xf3)]['createInstance'](exports[_0x3ff8c9(0x75)],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],null,[],this['_awaitingChangeset'],[],this[_0x3ff8c9(0x24a)]);this[_0x3ff8c9(0xbc)]();const _0x159459=this[_0x3ff8c9(0xf3)][_0x3ff8c9(0x318)](exports['SyncedState'],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],this['_handler']);return _0x159459[_0x3ff8c9(0x37f)](),_0x159459;}[_0x50acdc(0x1b2)](_0x302607){var _0x12c8c3=_0x50acdc;return this[_0x12c8c3(0xe7)](!!(_0x302607!=null&&_0x302607[_0x12c8c3(0x2c5)]));}[_0x50acdc(0x14d)](_0x19559c){var _0x3be77c=_0x50acdc;return this[_0x3be77c(0x178)]>ft?this['toggleOffline']():(this[_0x3be77c(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x3be77c(0x178)],'reqId':_0x19559c[_0x3be77c(0xa9)]}),this[_0x3be77c(0x7b)]=this['_resendTimer'][_0x3be77c(0x393)](({reqId:_0x131785,timeout:_0x447717})=>{this['_resendWithTimeout'](_0x131785,_0x447717);}),this);}['toggleOffline'](){var _0x671d1a=_0x50acdc;return this[_0x671d1a(0x1cf)](),this['_injector'][_0x671d1a(0x318)](exports[_0x671d1a(0x210)],this[_0x671d1a(0xc1)],this[_0x671d1a(0x1e9)],this[_0x671d1a(0x353)],[],this[_0x671d1a(0x24a)]);}['toggleOnline'](){return this;}[_0x50acdc(0x2e5)](){var _0x38025f=_0x50acdc;this[_0x38025f(0x24a)]['onSendChangeset'](this[_0x38025f(0x353)]);}['_onConflict'](_0x2cdb7e){var _0x2169ec=_0x50acdc;return this[_0x2169ec(0x1cf)](),this[_0x2169ec(0xf3)][_0x2169ec(0x318)](exports[_0x2169ec(0xba)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x2cdb7e);}[_0x50acdc(0x20f)](_0x321ee8,_0x50fe75){var _0x1c03c8=_0x50acdc,_0x25b79e;_0x321ee8===((_0x25b79e=this[_0x1c03c8(0x353)])==null?void 0x0:_0x25b79e[_0x1c03c8(0xa9)])&&(this['resend'](),this[_0x1c03c8(0x178)]=_0x50fe75===0x0?0x3e8:_0x50fe75*0x2);}[_0x50acdc(0x1cf)](){var _0x3ff1ec=_0x50acdc,_0x52af56;(_0x52af56=this['_sender'])==null||_0x52af56[_0x3ff1ec(0x34f)](),this[_0x3ff1ec(0x178)]=0x0;}},exports[_0x50acdc(0xa7)]=oe([w(0x4,a[_0x50acdc(0x93)](a['Injector'])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x50acdc(0x19a)]),w(0x9,a[_0x50acdc(0x160)]),w(0xa,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xa7)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x98426b,_0x1cb950,_0xe889b8,_0x4691ca,_0x5ded65,_0x5ea83b,_0x5d6b11,_0x1bfc3e){var _0xd81c13=_0x50acdc;super(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x4691ca,_0x5d6b11,_0xe889b8,_0x1bfc3e),A(this,_0xd81c13(0x28c),'awaiting_with_pending'),A(this,_0xd81c13(0x178),0x0),A(this,_0xd81c13(0x1d4)),A(this,_0xd81c13(0x7b)),(this[_0xd81c13(0xf3)]=_0x1cb950,this['_logService']=_0x5ded65,this['_transformService']=_0x5ea83b,this['localCacheService']=_0x1bfc3e,_0x98426b&&(this[_0xd81c13(0x1d4)]=_0x98426b,this['_sender']=this['_resendTimer'][_0xd81c13(0x393)](({reqId:_0x3f02df,timeout:_0x4486c9})=>{var _0xf27a4b=_0xd81c13;this[_0xf27a4b(0x20f)](_0x3f02df,_0x4486c9);})));}['appendMutation'](_0x3ee033){var _0x37ff6f=_0x50acdc;return this['_pendingMutations'][_0x37ff6f(0x3a3)](_0x3ee033),this;}[_0x50acdc(0x206)](_0xa85c09){var _0x4f2344=_0x50acdc;if(this['_checkMissing'](_0xa85c09))return this[_0x4f2344(0x1cf)](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports[_0x4f2344(0x75)],this['unitID'],this[_0x4f2344(0x1e9)],this[_0x4f2344(0x353)],this[_0x4f2344(0x316)],null,[_0xa85c09],this[_0x4f2344(0x24a)]);try{const _0x18dd74=this[_0x4f2344(0x275)][_0x4f2344(0x272)]([_0xa85c09],[this[_0x4f2344(0x353)]],!0x1);if(p[_0x4f2344(0x19f)](_0x18dd74)){const {c1Prime:_0x1eaa97,c2Prime:_0x269f40}=_0x18dd74,_0x42c570=this[_0x4f2344(0x275)]['transformMutationsWithChangeset'](_0x1eaa97[0x0],this[_0x4f2344(0x316)]);if(p[_0x4f2344(0x37e)](_0x42c570)){const {c1Prime:_0x543ba4,m2Prime:_0x31851a}=_0x42c570;return this[_0x4f2344(0x395)](_0x543ba4),_0x269f40[0x0][_0x4f2344(0x16c)]=this[_0x4f2344(0x335)](),this['_clearScheduledTask'](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports['AwaitingWithPendingState'],this[_0x4f2344(0xc1)],this[_0x4f2344(0x1e9)],_0x269f40[0x0],_0x31851a,this['_handler'],void 0x0);}throw _0x42c570[_0x4f2344(0x253)];}throw _0x18dd74[_0x4f2344(0x253)];}catch(_0x4c9759){return this[_0x4f2344(0x164)][_0x4f2344(0x253)](_0x4c9759),this[_0x4f2344(0xe7)](!0x1);}}['onRemoteAck'](_0x23298f){var _0x28f9ba=_0x50acdc;if(this[_0x28f9ba(0x1cf)](),this[_0x28f9ba(0x1bd)](_0x23298f))return this[_0x28f9ba(0xf3)][_0x28f9ba(0x318)](exports[_0x28f9ba(0x75)],this[_0x28f9ba(0xc1)],this[_0x28f9ba(0x1e9)],null,this[_0x28f9ba(0x316)],this[_0x28f9ba(0x353)],[],this[_0x28f9ba(0x24a)]);this[_0x28f9ba(0xbc)]();const _0x3acff7=this['_injector']['createInstance'](exports[_0x28f9ba(0x37c)],this['unitID'],this[_0x28f9ba(0x1e9)],this[_0x28f9ba(0x316)],this[_0x28f9ba(0x24a)]);return _0x3acff7[_0x28f9ba(0x18d)](),_0x3acff7[_0x28f9ba(0x37f)](),_0x3acff7;}[_0x50acdc(0x1b2)](_0xed5662){return this['_onConflict'](!!(_0xed5662!=null&&_0xed5662['isPermissionRej']));}[_0x50acdc(0x14d)](_0x4b4c37){var _0x16ea55=_0x50acdc;return this['_resendTimeout']>ft?this['toggleOffline']():(this[_0x16ea55(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x16ea55(0x178)],'reqId':_0x4b4c37['reqId']}),this['_sender']=this[_0x16ea55(0x1d4)][_0x16ea55(0x393)](({reqId:_0x79c068,timeout:_0x1e3c9c})=>{this['_resendWithTimeout'](_0x79c068,_0x1e3c9c);}),this);}[_0x50acdc(0x6e)](){var _0x46e15d=_0x50acdc;return this[_0x46e15d(0x1cf)](),this[_0x46e15d(0xf3)]['createInstance'](exports[_0x46e15d(0x210)],this['unitID'],this[_0x46e15d(0x1e9)],this[_0x46e15d(0x353)],this[_0x46e15d(0x316)],this[_0x46e15d(0x24a)]);}['toggleOnline'](){return this;}['resend'](){var _0x33444d=_0x50acdc;this[_0x33444d(0x24a)][_0x33444d(0xb3)](this[_0x33444d(0x353)]);}[_0x50acdc(0xe7)](_0x257e3d){var _0x4062e6=_0x50acdc;return this[_0x4062e6(0x1cf)](),this[_0x4062e6(0xf3)][_0x4062e6(0x318)](exports[_0x4062e6(0xba)],this[_0x4062e6(0xc1)],this[_0x4062e6(0x1e9)],null,this[_0x4062e6(0x316)],this['_handler'],_0x257e3d);}[_0x50acdc(0x20f)](_0x13908d,_0x5a0ffb){var _0x291799=_0x50acdc,_0x5f31d3;_0x13908d===((_0x5f31d3=this[_0x291799(0x353)])==null?void 0x0:_0x5f31d3['reqId'])&&(this[_0x291799(0x2e5)](),this['_resendTimeout']=_0x5a0ffb===0x0?0x3e8:_0x5a0ffb*0x2);}[_0x50acdc(0x1cf)](){var _0x3a2e89=_0x50acdc,_0x26b612;(_0x26b612=this['_sender'])==null||_0x26b612[_0x3a2e89(0x34f)](),this[_0x3a2e89(0x178)]=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x7,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0x329)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0x160)]),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x29d)]),exports[_0x50acdc(0xba)]=class extends ae{constructor(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x6582c8=!0x1,_0x24950d,_0x576d18,_0x352fbb,_0x5ade3f,_0x29bbe5,_0x1bde87,_0x106965){var _0x5e9fae=_0x50acdc;super(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x576d18,_0x352fbb,_0x5ade3f,_0x106965),A(this,_0x5e9fae(0x28c),_0x5e9fae(0x2d8)),(this[_0x5e9fae(0x19c)]=_0x6582c8,this[_0x5e9fae(0x185)]=_0x24950d,this[_0x5e9fae(0x302)]=_0x29bbe5,this[_0x5e9fae(0x22b)]=_0x1bde87,this[_0x5e9fae(0x1fc)]=_0x106965,this[_0x5e9fae(0x24f)](),this[_0x5e9fae(0x7e)](),this[_0x5e9fae(0x16f)]());}[_0x50acdc(0x263)](){return this;}[_0x50acdc(0x206)](){return this;}[_0x50acdc(0xb0)](){return this;}[_0x50acdc(0x1b2)](){return this;}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x1a30bb=_0x50acdc;throw new Error(_0x1a30bb(0xb8));}[_0x50acdc(0x7e)](){var _0x280e69=_0x50acdc,_0x37bcdd;(_0x37bcdd=this[_0x280e69(0x135)])==null||_0x37bcdd[_0x280e69(0xfa)](this[_0x280e69(0xc1)],this['type'],null,[]);}['_showConflictNotification'](){var _0x10b3ec=_0x50acdc;this[_0x10b3ec(0x19c)]?this[_0x10b3ec(0x22b)][_0x10b3ec(0xc2)]({'id':Z[_0x10b3ec(0x3e6)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x10b3ec(0xe0)]});}[_0x50acdc(0x16f)](){var _0x4efe4b=_0x50acdc;this[_0x4efe4b(0x185)][_0x4efe4b(0x3bd)](new X[(_0x4efe4b(0x2c7))](this[_0x4efe4b(0xc1)])['id'],!0x1);}},exports[_0x50acdc(0xba)]=oe([w(0x6,a[_0x50acdc(0x93)](a['IPermissionService'])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a['Inject'](p[_0x50acdc(0x1a8)])),w(0xa,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xba)]),exports[_0x50acdc(0x210)]=class extends ae{constructor(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0xbcda9,_0x24742d,_0x2f870a,_0xeb0dc4,_0x180972){var _0x607b23=_0x50acdc;super(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0x2f870a,_0xeb0dc4,_0x24742d,_0x180972),A(this,_0x607b23(0x28c),'offline'),this['_injector']=_0xbcda9;}[_0x50acdc(0x263)](_0x251304){var _0xb4f4ed=_0x50acdc;return this['_pendingMutations'][_0xb4f4ed(0x3a3)](_0x251304),this[_0xb4f4ed(0x37f)](),this;}[_0x50acdc(0x206)](_0x529f30){var _0x2c6116=_0x50acdc;throw new Error(_0x2c6116(0x17b));}[_0x50acdc(0xb0)](){var _0x50a98d=_0x50acdc;throw new Error(_0x50a98d(0x130));}[_0x50acdc(0x1b2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){var _0x352c5e=_0x50acdc;const {_injector:_0x15d9f3,_pendingMutations:_0x153cb8,_awaitingChangeset:_0xf32504,unitID:_0x5606e0,_handler:_0x2ea9f3,type:_0xb5f618}=this,_0x2e1b17=It(_0x15d9f3,_0x5606e0,_0xb5f618,_0xf32504,_0x153cb8,_0x2ea9f3);return _0x2e1b17 instanceof exports['PendingState']?_0x2e1b17['_schedule']():(_0x2e1b17 instanceof exports[_0x352c5e(0x29d)]||_0x2e1b17 instanceof exports[_0x352c5e(0xa7)])&&_0x2e1b17['resend'](),_0x2e1b17;}[_0x50acdc(0x2e5)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x50acdc(0x210)]=oe([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x210)]),exports[_0x50acdc(0x75)]=class extends ae{constructor(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x253cb6,_0x24c9fb,_0x2dbcc8,_0x50abbf,_0x449f6a,_0x2154be,_0x49817b,_0x1ac9fc,_0x278e1e,_0x305184){var _0x4b4452=_0x50acdc;super(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x2dbcc8,_0x49817b,_0x1ac9fc,_0x449f6a,_0x305184),A(this,_0x4b4452(0x28c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x253cb6,this[_0x4b4452(0x159)]=_0x24c9fb,this[_0x4b4452(0xf3)]=_0x50abbf,this[_0x4b4452(0x164)]=_0x2154be,this[_0x4b4452(0x275)]=_0x278e1e,this[_0x4b4452(0x1fc)]=_0x305184);}[_0x50acdc(0x244)](_0x3a31aa){var _0x3b2db5=_0x50acdc;try{const _0x19d49b=[..._0x3a31aa,...this[_0x3b2db5(0x159)]],_0xfff65=[this[_0x3b2db5(0x353)]||this[_0x3b2db5(0xca)]]['filter'](_0x212b74=>!!_0x212b74);let _0x12b0c1,_0x25d06b;if(_0xfff65[_0x3b2db5(0x31b)]){const _0x28f9fc=this[_0x3b2db5(0x275)][_0x3b2db5(0x272)](_0x19d49b,_0xfff65,!0x1);if(!p[_0x3b2db5(0x19f)](_0x28f9fc))throw _0x28f9fc[_0x3b2db5(0x253)];_0x12b0c1=_0x28f9fc['c1Prime'],_0x25d06b=_0x28f9fc[_0x3b2db5(0xf1)];}else _0x12b0c1=_0x19d49b,_0x25d06b=[];let _0xaed4a0=this[_0x3b2db5(0x316)];_0x12b0c1['forEach'](_0x3aa44b=>{var _0x3ab87b=_0x3b2db5;let _0x5a2d5e;if(_0xaed4a0[_0x3ab87b(0x31b)]){const _0x22df2b=this[_0x3ab87b(0x275)]['transformMutationsWithChangeset'](_0x3aa44b,_0xaed4a0);if(!p[_0x3ab87b(0x37e)](_0x22df2b))throw _0x22df2b[_0x3ab87b(0x253)];_0x5a2d5e=_0x22df2b['c1Prime'],_0xaed4a0=_0x22df2b['m2Prime'];}else _0x5a2d5e=_0x3aa44b;this[_0x3ab87b(0x395)](_0x5a2d5e);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x3b2db5(0x353)]&&_0x25d06b[_0x3b2db5(0x31b)]&&(_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)]());let _0x23221c;if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]!==0x0)_0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x29d)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],_0xaed4a0,this[_0x3b2db5(0x24a)],void 0x0);else{if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]===0x0)_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)](),_0x23221c=this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xa7)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],this['_handler']);else{if(_0xaed4a0['length']!==0x0){const _0xab9fbf=this[_0x3b2db5(0xf3)]['createInstance'](exports[_0x3b2db5(0x37c)],this[_0x3b2db5(0xc1)],this['type'],_0xaed4a0,this[_0x3b2db5(0x24a)]);_0xab9fbf['_schedule'](),_0x23221c=_0xab9fbf;}else _0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x389)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x24a)]);}}return _0x23221c[_0x3b2db5(0x37f)](),_0x23221c;}catch(_0x26dd94){return this[_0x3b2db5(0x164)][_0x3b2db5(0x253)](_0x3b2db5(0xac),_0x3b2db5(0x95),_0x26dd94),this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xba)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x353)],this[_0x3b2db5(0x316)],this['_handler'],!0x1);}}['resend'](){var _0x49950c=_0x50acdc;throw new Error(_0x49950c(0x1f7));}['appendMutation'](_0x1cd1c6){var _0x227984=_0x50acdc;return this['_pendingMutations'][_0x227984(0x3a3)](_0x1cd1c6),this;}[_0x50acdc(0x206)](_0x1a6448){var _0x31c4c8=_0x50acdc;return this['_queuedRemoteChangesets'][_0x31c4c8(0x3a3)](_0x1a6448),this;}['onRemoteAck'](_0x14ef56){var _0x4e6b3d=_0x50acdc;if(this[_0x4e6b3d(0x353)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x4e6b3d(0x353)]=null,this;throw new Error(_0x4e6b3d(0x336));}['onRemoteRej'](_0x3e1f0c){return this['_onConflict'](!!(_0x3e1f0c!=null&&_0x3e1f0c['isPermissionRej']));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x2f4e4b=_0x50acdc;return this[_0x2f4e4b(0xf3)][_0x2f4e4b(0x318)](exports[_0x2f4e4b(0x210)],this[_0x2f4e4b(0xc1)],this[_0x2f4e4b(0x1e9)],this[_0x2f4e4b(0x353)],this[_0x2f4e4b(0x316)],this[_0x2f4e4b(0x24a)]);}[_0x50acdc(0x138)](){return this;}['_onConflict'](_0x5a4920){var _0x16c4da=_0x50acdc;return this[_0x16c4da(0xf3)][_0x16c4da(0x318)](exports[_0x16c4da(0xba)],this[_0x16c4da(0xc1)],this[_0x16c4da(0x1e9)],this[_0x16c4da(0x353)],this[_0x16c4da(0x316)],this[_0x16c4da(0x24a)],_0x5a4920);}},exports[_0x50acdc(0x75)]=oe([w(0x7,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x8,a[_0x50acdc(0x93)](p['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x50acdc(0x8e)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x50acdc(0x19a)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports['FetchingMissState']);function It(_0x1f0174,_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c){var _0xac20d=_0x50acdc;return _0x16f015&&_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x29d)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c,void 0x0):_0x16f015?_0x1f0174['createInstance'](exports[_0xac20d(0xa7)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0x1a4d7c):_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x37c)],_0x3d6c4b,_0x1e34e2,_0xcaed79,_0x1a4d7c):_0x1f0174[_0xac20d(0x318)](exports['SyncedState'],_0x3d6c4b,_0x1e34e2,_0x1a4d7c);}var ni=Object[_0x50acdc(0x1c4)],Be=(_0x2b7683,_0xccf374,_0x4c5f65,_0x51c7d3)=>{var _0x7d1ba=_0x50acdc;for(var _0x3de621=_0x51c7d3>0x1?void 0x0:_0x51c7d3?ni(_0xccf374,_0x4c5f65):_0xccf374,_0x477fe7=_0x2b7683[_0x7d1ba(0x31b)]-0x1,_0x403160;_0x477fe7>=0x0;_0x477fe7--)(_0x403160=_0x2b7683[_0x477fe7])&&(_0x3de621=_0x403160(_0x3de621)||_0x3de621);return _0x3de621;},j=(_0x5279b8,_0x2f4c37)=>(_0x21c514,_0x47b4b0)=>_0x2f4c37(_0x21c514,_0x47b4b0,_0x5279b8);exports[_0x50acdc(0x11b)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x498507,_0x526142,_0x23dbdb,_0x4149f8,_0x3b9b64,_0x1cd372,_0x2efa8e,_0x2488c2,_0x6ab9c1,_0x2837c1,_0x4b300c,_0x3cbaf2,_0x19274c){var _0x5a85ed=_0x50acdc;super(),A(this,_0x5a85ed(0x277),new H[(_0x5a85ed(0x1ea))](null)),A(this,_0x5a85ed(0x124),this[_0x5a85ed(0x277)]['asObservable']()),A(this,_0x5a85ed(0x1ab)),A(this,_0x5a85ed(0x77),!0x1),A(this,_0x5a85ed(0x1e2),''),A(this,_0x5a85ed(0x31a),0x0),A(this,_0x5a85ed(0x36e),this[_0x5a85ed(0x124)]['pipe'](H['map'](_0x5556cd=>_0x5556cd?_0x5556cd[_0x5a85ed(0x28c)]:je[_0x5a85ed(0x2dc)]),H[_0x5a85ed(0x379)](0x1))),A(this,_0x5a85ed(0x125),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x5a85ed(0xc1)]=_0x498507,this[_0x5a85ed(0x301)]=_0x526142,this[_0x5a85ed(0x80)]=_0x23dbdb,this[_0x5a85ed(0xf3)]=_0x4149f8,this[_0x5a85ed(0x365)]=_0x3b9b64,this[_0x5a85ed(0x302)]=_0x1cd372,this[_0x5a85ed(0x153)]=_0x2efa8e,this[_0x5a85ed(0x3bf)]=_0x2488c2,this[_0x5a85ed(0x164)]=_0x6ab9c1,this['_commandService']=_0x2837c1,this[_0x5a85ed(0x185)]=_0x4b300c,this['_singleActiveUnitService']=_0x3cbaf2,this[_0x5a85ed(0x135)]=_0x19274c);}get[_0x50acdc(0x315)](){var _0x1a883b=_0x50acdc;return this[_0x1a883b(0x1ab)];}async['init'](){var _0x528e53=_0x50acdc;if(this[_0x528e53(0x315)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x50acdc(0x1b8)](){var _0xd386dd=_0x50acdc;return this[_0xd386dd(0x77)]=!0x0,a['toDisposable'](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x50acdc(0xfb)](_0x1e93f5){var _0x4a1818=_0x50acdc;this[_0x4a1818(0x15f)](_0x1e93f5);}[_0x50acdc(0x1cb)](_0x4c78fb){var _0x423f01=_0x50acdc;this[_0x423f01(0x1ab)]=_0x4c78fb,this[_0x423f01(0x277)][_0x423f01(0x30b)](_0x4c78fb);}async[_0x50acdc(0x1c0)](){var _0x34e3b9=_0x50acdc,_0x52cf00;this['_updateState'](await this[_0x34e3b9(0x144)]()),this[_0x34e3b9(0x107)]&&((_0x52cf00=this['_singleActiveUnitService'])==null||_0x52cf00[_0x34e3b9(0x12b)](this[_0x34e3b9(0xc1)]),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x107)][_0x34e3b9(0x140)](this['unitID'])['subscribe'](_0x397f93=>{var _0x20b0fd=_0x34e3b9;this[_0x20b0fd(0x164)][_0x20b0fd(0x286)](_0x20b0fd(0x2f2),'editing\x20status\x20changed\x20to',_0x397f93),_0x397f93===He[_0x20b0fd(0x1ae)]?(this[_0x20b0fd(0x3bf)][_0x20b0fd(0xc2)]({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x20b0fd(0x3bd)](new X[(_0x20b0fd(0x2c7))](this[_0x20b0fd(0xc1)])['id'],!0x1),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new X[(_0x20b0fd(0x2c7))](this['unitID'])['id'],!0x0),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x0));})));let _0x52d094=!0x1;return this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)]['sessionStatus$'][_0x34e3b9(0x393)](_0x3ecd74=>{var _0x5b8be1=_0x34e3b9;_0x3ecd74===re[_0x5b8be1(0x246)]?this[_0x5b8be1(0xc6)](_0x52d094):_0x3ecd74===re[_0x5b8be1(0x2dc)]&&(_0x52d094=!0x0,this['_toggleOffline']());})),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)][_0x34e3b9(0x291)][_0x34e3b9(0x393)](_0x11282d=>{var _0x54aff3=_0x34e3b9;try{switch(_0x11282d[_0x54aff3(0x12e)]){case p[_0x54aff3(0x2d7)]['NEW_CHANGESETS']:{this[_0x54aff3(0x3a8)](p['parseProtocolChangeset'](_0x11282d['data']));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x23f)]:{this['_onRemoteACK'](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x6d)]:{this[_0x54aff3(0x148)]();break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x276)]:{this[_0x54aff3(0x25f)](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x258)]:{this[_0x54aff3(0x386)](_0x11282d[_0x54aff3(0x33e)][_0x54aff3(0x13c)][_0x54aff3(0x2cc)](_0x4469a4=>p[_0x54aff3(0x219)](_0x4469a4)));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x312)]:{this[_0x54aff3(0x148)]({'isPermissionRej':!0x0});break;}case p[_0x54aff3(0x2d7)]['UNISCRIPT_RUN']:break;}}catch(_0x186259){throw console['error'](_0x54aff3(0x22e),_0x186259),_0x186259;}})),this[_0x34e3b9(0x1ab)];}['_unlockTransition'](){var _0x38b92b=_0x50acdc;this[_0x38b92b(0x125)]=!0x1;}['_lockTransition'](){var _0x2a497d=_0x50acdc;if(this['_transitionLocked'])throw new Error(_0x2a497d(0x1a4));this[_0x2a497d(0x125)]=!0x0;}['_onLocalMutation'](_0x1f5a3d){var _0x107616=_0x50acdc;this[_0x107616(0x1e1)](),this[_0x107616(0x1cb)](this[_0x107616(0x1ab)][_0x107616(0x263)](_0x1f5a3d)),this[_0x107616(0x308)]();}['_onRemoteChangeset'](_0x121cf5){var _0x4071cd=_0x50acdc;if(!(_0x121cf5['revision']<=this[_0x4071cd(0x153)][_0x4071cd(0xbf)](this[_0x4071cd(0xc1)]))){if(this['_collaborationPaused']){this[_0x4071cd(0x2cd)]['push'](_0x121cf5);return;}this[_0x4071cd(0xc7)](_0x121cf5);}}[_0x50acdc(0x108)](){var _0x3d0f3b=_0x50acdc;this[_0x3d0f3b(0x2cd)][_0x3d0f3b(0x198)](_0x1c1e25=>this[_0x3d0f3b(0xc7)](_0x1c1e25)),this[_0x3d0f3b(0x2cd)]=[];}[_0x50acdc(0xc7)](_0x3961b8){var _0x3ed742=_0x50acdc;const _0x2d1c0e=this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2fc)](this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2d0)]()[_0x3ed742(0x9c)])(_0x3961b8['mutations'],null)||_0x3961b8[_0x3ed742(0x1db)],_0x4f30de={..._0x3961b8,'mutations':_0x2d1c0e};this[_0x3ed742(0x1e1)](),this[_0x3ed742(0x1cb)](this[_0x3ed742(0x1ab)][_0x3ed742(0x206)](_0x4f30de)),this[_0x3ed742(0x308)]();}['_onRemoteACK'](_0x51d4da){var _0x1a50d8=_0x50acdc;this[_0x1a50d8(0x1e1)](),this[_0x1a50d8(0x1cb)](this[_0x1a50d8(0x1ab)][_0x1a50d8(0xb0)](_0x51d4da)),this['_unlockTransition']();}[_0x50acdc(0x148)](_0x38699d){var _0x475a47=_0x50acdc;this[_0x475a47(0x1e1)](),this[_0x475a47(0x1cb)](this[_0x475a47(0x1ab)]['onRemoteRej'](_0x38699d)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1b7bd2){var _0x56fd2a=_0x50acdc;this[_0x56fd2a(0x1e1)](),this[_0x56fd2a(0x1cb)](this[_0x56fd2a(0x1ab)][_0x56fd2a(0x14d)](_0x1b7bd2)),this[_0x56fd2a(0x308)]();}[_0x50acdc(0x386)](_0x1e6185){var _0x54ed23=_0x50acdc;if(!(this[_0x54ed23(0x1ab)]instanceof exports[_0x54ed23(0x75)]))throw new TypeError(_0x54ed23(0x1fb));const _0x453743=_0x1e6185[_0x54ed23(0x2cc)](_0x74c1bc=>{var _0x57580c=_0x54ed23;const _0x386f00=this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2fc)](this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2d0)]()[_0x57580c(0x9c)])(_0x74c1bc[_0x57580c(0x1db)],null)||_0x74c1bc[_0x57580c(0x1db)];return{..._0x74c1bc,'mutations':_0x386f00};});this[_0x54ed23(0x1e1)](),this['_updateState'](this['_state'][_0x54ed23(0x244)](_0x453743)),this['_unlockTransition']();}[_0x50acdc(0x1ef)](){var _0x499a84=_0x50acdc;this[_0x499a84(0x1e1)](),this[_0x499a84(0x1cb)](this[_0x499a84(0x1ab)][_0x499a84(0x6e)]()),this[_0x499a84(0x308)]();}[_0x50acdc(0xc6)](_0x1cf278=!0x1){var _0x47bb1a=_0x50acdc;this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](this[_0x47bb1a(0x1ab)][_0x47bb1a(0x138)]()),this[_0x47bb1a(0x308)]();const _0x4b7e75=this['_state'];_0x1cf278&&_0x4b7e75 instanceof exports[_0x47bb1a(0x389)]&&(this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](_0x4b7e75['fetchMiss']()),this[_0x47bb1a(0x308)]());}async[_0x50acdc(0x144)](){return new Promise(_0x42aaba=>{var _0x1816fe=_0x5520;this[_0x1816fe(0x301)][_0x1816fe(0x209)][_0x1816fe(0x34b)](H[_0x1816fe(0x3ad)](0x1))['subscribe'](async _0x203a53=>{var _0x4bd75e=_0x1816fe;_0x42aaba(await this[_0x4bd75e(0x236)](_0x203a53===re['ONLINE']));});});}[_0x50acdc(0x1fe)](){const _0x2dcd01=this['unitID'];return{'onStateChange':(_0x25efd5,_0x371d83)=>{var _0x456882=_0x5520;if(_0x25efd5!==this[_0x456882(0x1ab)])throw new Error(_0x456882(0x137)+_0x25efd5[_0x456882(0x28c)]+'\x0aAfter:\x20'+_0x371d83[_0x456882(0x28c)]+_0x456882(0xf6)+this[_0x456882(0x1ab)][_0x456882(0x28c)]);this[_0x456882(0x1cb)](_0x371d83);},'onSendChangeset':_0x5f23f8=>{var _0x35870e=_0x5520;_0x5f23f8[_0x35870e(0x25d)]||(_0x5f23f8[_0x35870e(0x25d)]=this[_0x35870e(0x1e2)],_0x5f23f8[_0x35870e(0xa9)]=++this[_0x35870e(0x31a)]);const _0xabb7d2={'eventID':p[_0x35870e(0x2d7)][_0x35870e(0xc0)],'data':{'unitID':_0x5f23f8[_0x35870e(0xc1)],'unitType':this['_type'],'changeset':_0x5f23f8,'memberID':this[_0x35870e(0x301)][_0x35870e(0x1f5)]()}};this[_0x35870e(0x301)][_0x35870e(0x3eb)](_0xabb7d2,this[_0x35870e(0xc1)]);},'onMissingChangesets':({from:_0x1ee2c5,to:_0x15f325})=>{var _0x3c193e=_0x5520;this[_0x3c193e(0x164)][_0x3c193e(0x286)](_0x3c193e(0x2f2),_0x3c193e(0x233)+_0x1ee2c5+_0x3c193e(0x1e4)+_0x15f325);const _0x41c442={'eventID':p['CollaborationEvent'][_0x3c193e(0x202)],'data':{'unitID':_0x2dcd01,'unitType':this[_0x3c193e(0x80)],'from':_0x1ee2c5,'to':_0x15f325}};this[_0x3c193e(0x301)][_0x3c193e(0x3eb)](_0x41c442,this[_0x3c193e(0xc1)]);}};}async[_0x50acdc(0x236)](_0x4411c4){var _0x4ea3ca=_0x50acdc,_0x105770,_0xd866b0,_0x2dbfa6;const _0x505403=await((_0x105770=this[_0x4ea3ca(0x135)])==null?void 0x0:_0x105770[_0x4ea3ca(0x25e)](this[_0x4ea3ca(0xc1)])),_0xb476f0=(_0xd866b0=_0x505403==null?void 0x0:_0x505403[_0x4ea3ca(0x1db)])!=null?_0xd866b0:[],_0x102d5d=(_0x2dbfa6=_0x505403==null?void 0x0:_0x505403['awaitingChangeset'])!=null?_0x2dbfa6:null,_0x5e3925=!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0x25d)])&&!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0xa9)]);this[_0x4ea3ca(0x1e2)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0x25d)]:p[_0x4ea3ca(0x12d)](),this[_0x4ea3ca(0x31a)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0xa9)]:0x0;const _0x80e85b=this[_0x4ea3ca(0xc1)];try{this[_0x4ea3ca(0x2f9)](_0x102d5d,_0xb476f0);}catch(_0x41d11f){this[_0x4ea3ca(0x164)][_0x4ea3ca(0x253)](_0x41d11f);}const _0x29e576=this[_0x4ea3ca(0x1fe)]();if(_0x4411c4){const _0x817bf7=It(this[_0x4ea3ca(0xf3)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);return _0x817bf7 instanceof exports['PendingState']?_0x817bf7[_0x4ea3ca(0x18d)]():(_0x817bf7 instanceof exports[_0x4ea3ca(0x29d)]||_0x817bf7 instanceof exports[_0x4ea3ca(0xa7)])&&_0x817bf7[_0x4ea3ca(0x2e5)](),_0x817bf7;}return this[_0x4ea3ca(0xf3)]['createInstance'](exports[_0x4ea3ca(0x210)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);}[_0x50acdc(0x2f9)](_0x487abf,_0x534af6){var _0x1b3c89=_0x50acdc,_0x1ac759,_0x28c4df;const _0x22a635=this[_0x1b3c89(0x365)]['interceptor']['fetchThroughInterceptors'](this[_0x1b3c89(0x365)]['interceptor'][_0x1b3c89(0x2d0)]()['COMPRESS_MUTATION_APPLY']);(_0x1ac759=_0x22a635((_0x487abf==null?void 0x0:_0x487abf[_0x1b3c89(0x1db)])||[],null))==null||_0x1ac759['forEach'](_0x3b3db8=>this['_commandService'][_0x1b3c89(0xae)](_0x3b3db8['id'],_0x3b3db8['params'])),(_0x28c4df=_0x22a635(_0x534af6||[],null))==null||_0x28c4df['forEach'](_0x36884d=>this[_0x1b3c89(0x264)][_0x1b3c89(0xae)](_0x36884d['id'],_0x36884d['params']));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x11b)]),exports[_0x50acdc(0x381)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x42836b,_0x4000ed,_0x35b149,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d){var _0x2ba76f=_0x50acdc;super(_0x42836b,_0x35b149,_0x4000ed,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d),A(this,_0x2ba76f(0x207),null),(this[_0x2ba76f(0xc1)]=_0x42836b,this[_0x2ba76f(0x1e9)]=_0x4000ed);}[_0x50acdc(0x3be)](_0x270a70){this['_handlerCallback']=_0x270a70;}[_0x50acdc(0xdd)](){this['_handlerCallback']=null,super['dispose']();}[_0x50acdc(0x1fe)](){var _0x642ef9=_0x50acdc;const _0x56c363=super['_createHandler']();return _0x56c363[_0x642ef9(0x338)]=_0x12572d=>{var _0x25229c=_0x642ef9,_0x578b43,_0x313a4d;return(_0x313a4d=(_0x578b43=this[_0x25229c(0x207)])==null?void 0x0:_0x578b43[_0x25229c(0x338)])==null?void 0x0:_0x313a4d[_0x25229c(0x2ac)](_0x578b43,_0x12572d);},_0x56c363['onTransformState']=_0x50bf4e=>{var _0x590614=_0x642ef9,_0x40cee3,_0x4d240d;return(_0x4d240d=(_0x40cee3=this['_handlerCallback'])==null?void 0x0:_0x40cee3[_0x590614(0x363)])==null?void 0x0:_0x4d240d['call'](_0x40cee3,_0x50bf4e);},_0x56c363['onTransformSelections']=_0x37b585=>{var _0x3eeaee=_0x642ef9,_0x52c302,_0x425145;return(_0x425145=(_0x52c302=this[_0x3eeaee(0x207)])==null?void 0x0:_0x52c302[_0x3eeaee(0x351)])==null?void 0x0:_0x425145['call'](_0x52c302,_0x37b585);},_0x56c363[_0x642ef9(0x1c6)]=_0x43c08e=>{var _0x453dc6=_0x642ef9,_0x59c81d,_0x1d4309;return(_0x1d4309=(_0x59c81d=this['_handlerCallback'])==null?void 0x0:_0x59c81d['onSyncEditingCollabCursor'])==null?void 0x0:_0x1d4309[_0x453dc6(0x2ac)](_0x59c81d,_0x43c08e);},_0x56c363[_0x642ef9(0x387)]=_0x4ee71d=>{var _0x3c5403=_0x642ef9,_0x47a54f,_0x1ef8f8,_0x4489a1;if(!((_0x47a54f=this['_handlerCallback'])!=null&&_0x47a54f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3c5403(0x3e0));return(_0x4489a1=(_0x1ef8f8=this[_0x3c5403(0x207)])==null?void 0x0:_0x1ef8f8[_0x3c5403(0x387)])==null?void 0x0:_0x4489a1[_0x3c5403(0x2ac)](_0x1ef8f8,_0x4ee71d);},_0x56c363['onTransformRemoteChangesetByStateCache']=_0x49926c=>{var _0x1ae13a=_0x642ef9,_0x1b14e6,_0x150830,_0x24ad73;if(!((_0x1b14e6=this['_handlerCallback'])!=null&&_0x1b14e6[_0x1ae13a(0x369)]))throw new Error(_0x1ae13a(0x179));return(_0x24ad73=(_0x150830=this[_0x1ae13a(0x207)])==null?void 0x0:_0x150830[_0x1ae13a(0x369)])==null?void 0x0:_0x24ad73['call'](_0x150830,_0x49926c);},_0x56c363;}async['_init'](){var _0x1a8fda=_0x50acdc;const _0x574755=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1a8fda(0x35a)]((_0x1f8131,_0x251ecc)=>{var _0x6ee7ce=_0x1a8fda;if(_0x1f8131[_0x6ee7ce(0x1e9)]!==a[_0x6ee7ce(0x14b)]['MUTATION']||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0x70)]||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0xb5)]||_0x1f8131['id']===ct[_0x6ee7ce(0x3a6)]['id'])return;const _0x45b4da=_0x1f8131[_0x6ee7ce(0xbb)];if((_0x45b4da==null?void 0x0:_0x45b4da['unitId'])!==this[_0x6ee7ce(0xc1)])return;const _0x14fa5e=_0x1f8131,_0x14e74d=this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2fc)](this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2d0)]()[_0x6ee7ce(0x337)])([_0x14fa5e],null)||[_0x14fa5e];this['_onLocalMutation'](_0x14e74d[0x0]);})),_0x574755;}},exports[_0x50acdc(0x381)]=Be([j(0x3,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a[_0x50acdc(0x21e)](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x381)]),exports[_0x50acdc(0x241)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x458d2d,_0x116b87,_0x5a18f8,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x1800b0,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d){var _0x4c9dcc=_0x50acdc;super(_0x458d2d,_0x5a18f8,_0x116b87,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d),this[_0x4c9dcc(0xc1)]=_0x458d2d,this[_0x4c9dcc(0x1e9)]=_0x116b87,this[_0x4c9dcc(0x37a)]=_0x1800b0;}[_0x50acdc(0x1fe)](){var _0x536c3d=_0x50acdc;const _0x240e06=super[_0x536c3d(0x1fe)]();return _0x240e06[_0x536c3d(0x351)]=_0x961791=>this[_0x536c3d(0x37a)][_0x536c3d(0x19d)](_0x961791),_0x240e06;}async[_0x50acdc(0x1c0)](){var _0xb3c701=_0x50acdc;const _0x4cfc13=await super[_0xb3c701(0x1c0)]();return this[_0xb3c701(0x2bc)](this[_0xb3c701(0x264)][_0xb3c701(0x35a)]((_0x17a6ca,_0x34b6ae)=>{var _0x292d28=_0xb3c701;if(_0x17a6ca[_0x292d28(0x1e9)]!==a['CommandType'][_0x292d28(0x234)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0x70)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0xb5)])return;const _0x46bcf6=_0x17a6ca[_0x292d28(0xbb)];if((_0x46bcf6==null?void 0x0:_0x46bcf6[_0x292d28(0x13f)])!==this[_0x292d28(0xc1)])return;const _0x342d4e=_0x17a6ca,_0x1cea6d=this[_0x292d28(0x365)]['interceptor'][_0x292d28(0x2fc)](this['_compressMutationService']['interceptor'][_0x292d28(0x2d0)]()['COMPRESS_MUTATION_SEND'])([_0x342d4e],null)||[_0x342d4e];this[_0x292d28(0x15f)](_0x1cea6d[0x0]);})),_0x4cfc13;}},exports[_0x50acdc(0x241)]=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a['Inject'](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a['Inject'](exports[_0x50acdc(0x26a)])),j(0x8,a[_0x50acdc(0x93)](ee)),j(0x9,a[_0x50acdc(0x329)]),j(0xa,a[_0x50acdc(0x8e)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x50acdc(0x21e)](de)),j(0xd,a['Optional'](K))],exports['SheetCollaborationEntity']);const pt=a[_0x50acdc(0x374)](_0x50acdc(0x183));function mt(_0x546b3e){var _0x2abcd7=_0x50acdc,_0x562b2b,_0x18331b,_0x514f45,_0x1b9e5c,_0x430f08;const _0x2a2291=_0x546b3e[_0x2abcd7(0x33e)],_0x42b604=JSON[_0x2abcd7(0x39d)](_0x2a2291);switch(_0x42b604[_0x2abcd7(0x262)]){case W[_0x2abcd7(0xaf)]:case W['HELLO']:{const _0x387d76=_0x42b604[_0x2abcd7(0x1ff)];return{..._0x42b604,'data':_0x387d76,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x228)]:{const _0x23406d=_0x42b604[_0x2abcd7(0x1f0)];return{..._0x42b604,'data':_0x23406d,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x317)]:{const _0x6532cb=_0x42b604[_0x2abcd7(0x26e)];switch(_0x6532cb['eventID']){case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x312)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x562b2b=_0x6532cb[_0x2abcd7(0xa0)])==null?void 0x0:_0x562b2b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)]['CHANGESET_ACK']:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x18331b=_0x6532cb['csAckEvent'])==null?void 0x0:_0x18331b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x220)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x514f45=_0x6532cb[_0x2abcd7(0x298)])==null?void 0x0:_0x514f45['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x6d)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x1b9e5c=_0x6532cb[_0x2abcd7(0x26d)])==null?void 0x0:_0x1b9e5c['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x276)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x430f08=_0x6532cb[_0x2abcd7(0x297)])==null?void 0x0:_0x430f08['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3ce)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['updateCursorEvent']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3d6)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3b7)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3d0)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3ec)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3c3)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x391)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x25a)]:case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x17e)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x168)]},'cmd':_0x42b604['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['liveShareNewHost']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3ca)]:return{..._0x42b604,'data':_0x6532cb,'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x174)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x295)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x14c)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x388)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['shouldCloseConn']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x113)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['uniscriptRunEvent']},'cmd':_0x42b604['cmd']};default:return _0x42b604;}}default:return _0x42b604;}}function gt(_0x16943a){var _0x2180fc=_0x50acdc;switch(_0x16943a[_0x2180fc(0x262)]){case W[_0x2180fc(0xaf)]:case W[_0x2180fc(0x254)]:return JSON['stringify']({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)]});case W[_0x2180fc(0x208)]:{let _0x46d7e0;switch(_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]){case p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)],'updateCursorEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3d0)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d0)],'leaveEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x3d6)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d6)],'joinEvent':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3c3)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)]['LIVESHARE_OPERATION']:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x17e)],'liveShareOperation':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x12c)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x16943a[_0x2180fc(0x33e)]['data']};break;}case p['CollaborationEvent'][_0x2180fc(0x175)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x175)],'liveShareRequestHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x25a)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x46d7e0={'eventID':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]};}return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a['cmd'],'routeKey':_0x16943a['routeKey'],'collaMsg':_0x46d7e0});}case W[_0x2180fc(0x228)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a['routeKey'],'joinReq':_0x16943a[_0x2180fc(0x33e)]});case W[_0x2180fc(0x3b2)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)],'leaveReq':_0x16943a[_0x2180fc(0x33e)]});default:throw new Error(_0x2180fc(0x23c));}}var ri=Object[_0x50acdc(0x1c4)],si=(_0x2f0cec,_0x59fd9d,_0x5ddc4e,_0xd1d6e8)=>{for(var _0x190a2a=_0xd1d6e8>0x1?void 0x0:_0xd1d6e8?ri(_0x59fd9d,_0x5ddc4e):_0x59fd9d,_0x1e5240=_0x2f0cec['length']-0x1,_0x2ff7a1;_0x1e5240>=0x0;_0x1e5240--)(_0x2ff7a1=_0x2f0cec[_0x1e5240])&&(_0x190a2a=_0x2ff7a1(_0x190a2a)||_0x190a2a);return _0x190a2a;},_e=(_0x1d18af,_0x2ddb11)=>(_0x500238,_0x36f10f)=>_0x2ddb11(_0x500238,_0x36f10f,_0x1d18af);const Fe=a[_0x50acdc(0x374)](_0x50acdc(0x1f6));function oi(_0xdad52d,_0x33ed5b,_0x33a4af){var _0x19e08f=_0x50acdc;return _0xdad52d+'/'+_0x33ed5b+_0x19e08f(0xfc)+_0x33a4af+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x1df113,_0x3091a0,_0x86833c,_0x2fb306,_0x3bfb25){var _0x1039e5=_0x50acdc;super(),this[_0x1039e5(0xf3)]=_0x1df113,this[_0x1039e5(0xcc)]=_0x3091a0,this[_0x1039e5(0x7f)]=_0x86833c,this['_logService']=_0x2fb306,this['_snapshotServerService']=_0x3bfb25;}[_0x50acdc(0x1c9)](_0x5b9750){var _0x44d3f4=_0x50acdc;const _0x317cf5=this[_0x44d3f4(0xf3)][_0x44d3f4(0x230)](q['ISocketService']);if(!_0x317cf5)throw new Error(_0x44d3f4(0x35e));const _0x2548f1=_0x317cf5[_0x44d3f4(0x9a)](_0x5b9750);if(!_0x2548f1)throw new Error(_0x44d3f4(0x10f));const _0x593421=new a[(_0x44d3f4(0x98))](),_0x8937d2=new H[(_0x44d3f4(0x20c))]();_0x593421['add'](_0x2548f1['close$'][_0x44d3f4(0x393)](_0x579920=>_0x8937d2[_0x44d3f4(0x30b)](_0x579920))),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x8937d2[_0x44d3f4(0x2ab)]()));const _0x568230=new H['Subject']();_0x593421['add'](_0x2548f1[_0x44d3f4(0x1a3)][_0x44d3f4(0x393)](_0x4b8d18=>_0x568230[_0x44d3f4(0x30b)](_0x4b8d18))),_0x593421[_0x44d3f4(0x10a)](a[_0x44d3f4(0x3e8)](()=>_0x568230['complete']()));const _0x5a1cbf=new H[(_0x44d3f4(0x20c))]();_0x593421[_0x44d3f4(0x10a)](_0x2548f1[_0x44d3f4(0x265)][_0x44d3f4(0x393)](_0x281d75=>{const _0x502199=mt(_0x281d75);_0x5a1cbf['next'](_0x502199);})),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x5a1cbf[_0x44d3f4(0x2ab)]()));let _0x2a721d;const _0x15664e=()=>{var _0x5edb53=_0x44d3f4;_0x568230[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x8937d2[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x2a721d[_0x5edb53(0x2b8)]();};return _0x2a721d={'memberID':'','close$':_0x8937d2['asObservable'](),'error$':_0x568230['asObservable'](),'open$':_0x2548f1['open$'],'message$':_0x5a1cbf[_0x44d3f4(0x1c8)](),'send':_0x4020f5=>{var _0x356625=_0x44d3f4;if(_0x4020f5[_0x356625(0x262)]===W[_0x356625(0x208)]){if(_0x4020f5['data'][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0xc0)]){this[_0x356625(0x17f)](_0x2a721d,_0x4020f5[_0x356625(0x33e)])[_0x356625(0x18e)](_0x21006e=>{var _0x28bf32=_0x356625;this[_0x28bf32(0x164)][_0x28bf32(0x253)](_0x21006e),_0x15664e();});return;}if(_0x4020f5[_0x356625(0x33e)][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0x202)]){const _0x183acf=_0x4020f5[_0x356625(0x33e)];this[_0x356625(0x1e5)](_0x183acf)[_0x356625(0x1ba)](_0x446dcc=>{var _0x160e2a=_0x356625;_0x5a1cbf[_0x160e2a(0x30b)]({'cmd':W[_0x160e2a(0x317)],'code':se['OK'],'routeKey':_0x183acf[_0x160e2a(0x33e)][_0x160e2a(0xc1)],'routeType':'','data':{'eventID':p[_0x160e2a(0x2d7)][_0x160e2a(0x258)],'data':{'changesets':_0x446dcc}}});})['catch'](_0xae271c=>{var _0xcd170d=_0x356625;this[_0xcd170d(0x164)][_0xcd170d(0x253)](_0xae271c),_0x15664e();});return;}}_0x2548f1['send'](gt(_0x4020f5));},'close':()=>{var _0x4b012f=_0x44d3f4;_0x2548f1[_0x4b012f(0x2b8)](),_0x593421['dispose']();}},_0x2a721d;}async['_submitChangeset'](_0x2f8325,_0x203a01){var _0x444d94=_0x50acdc,_0x474fc4;const {unitType:_0x322989,unitID:_0x1fab7b,changeset:_0x15bcd9}=_0x203a01[_0x444d94(0x33e)],_0x5304c6={'unitID':_0x1fab7b,'memberID':_0x2f8325[_0x444d94(0xd3)],'type':_0x322989,'changeset':p[_0x444d94(0x162)](_0x15bcd9)},_0x3e1029=this['_configService']['getConfig'](Y),_0x5783a8=oi((_0x474fc4=_0x3e1029==null?void 0x0:_0x3e1029[_0x444d94(0x110)])!=null?_0x474fc4:kt,_0x322989,_0x1fab7b);try{await this[_0x444d94(0xcc)][_0x444d94(0x288)](_0x5783a8,{'body':_0x5304c6});}catch(_0x328ed4){throw this[_0x444d94(0x164)][_0x444d94(0x253)](_0x444d94(0x126),_0x444d94(0xe2)),_0x328ed4;}}async['_fetchMissChangesets'](_0x11d6e8){var _0x58b7ba=_0x50acdc;const {unitID:_0x494ed9,from:_0x552697,to:_0x1fbd4d,unitType:_0xa8fa9a}=_0x11d6e8[_0x58b7ba(0x33e)];return(await this['_snapshotServerService'][_0x58b7ba(0x2ee)]({'metadata':void 0x0},{'unitID':_0x494ed9,'type':_0xa8fa9a,'from':_0x552697,'to':_0x1fbd4d}))['changesets'];}},exports[_0x50acdc(0x15b)]=si([_e(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),_e(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),_e(0x2,a[_0x50acdc(0xda)]),_e(0x3,a[_0x50acdc(0x329)]),_e(0x4,p[_0x50acdc(0x106)])],exports[_0x50acdc(0x15b)]);var ai=Object[_0x50acdc(0x1c4)],ci=(_0x535257,_0x20ad18,_0x453098,_0x47ed8e)=>{var _0xfa9716=_0x50acdc;for(var _0x4fbae0=_0x47ed8e>0x1?void 0x0:_0x47ed8e?ai(_0x20ad18,_0x453098):_0x20ad18,_0x521428=_0x535257[_0xfa9716(0x31b)]-0x1,_0x552de9;_0x521428>=0x0;_0x521428--)(_0x552de9=_0x535257[_0x521428])&&(_0x4fbae0=_0x552de9(_0x4fbae0)||_0x4fbae0);return _0x4fbae0;},he=(_0x130899,_0x15bd8e)=>(_0x2156d8,_0x28020c)=>_0x15bd8e(_0x2156d8,_0x28020c,_0x130899);exports[_0x50acdc(0x71)]=class extends a[_0x50acdc(0x182)]{constructor(_0x5454f2,_0x348d51,_0x55589d,_0x2b61c6,_0xa59d1e,_0x3e6906){var _0x23f1f4=_0x50acdc;super(),A(this,_0x23f1f4(0x235),new H[(_0x23f1f4(0x1ea))](void 0x0)),A(this,'socket$',this['_socket$'][_0x23f1f4(0x1c8)]()),A(this,'_candidateSocket',null),A(this,_0x23f1f4(0xcf),new Map()),A(this,_0x23f1f4(0x223),new H[(_0x23f1f4(0x1ea))](re[_0x23f1f4(0x2a1)])),A(this,_0x23f1f4(0x36e),this[_0x23f1f4(0x223)]['asObservable']()),A(this,_0x23f1f4(0x23d),!0x1),A(this,_0x23f1f4(0x19e)),A(this,_0x23f1f4(0x20d),0x0),A(this,_0x23f1f4(0x3d3)),A(this,_0x23f1f4(0xa6)),(this['_injector']=_0x5454f2,this[_0x23f1f4(0x164)]=_0x348d51,this[_0x23f1f4(0x7f)]=_0x55589d,this[_0x23f1f4(0x28e)]=_0x2b61c6,this[_0x23f1f4(0x22b)]=_0xa59d1e,this[_0x23f1f4(0x2b7)]=_0x3e6906,this[_0x23f1f4(0xe6)]());}get['_socket'](){var _0x338247=_0x50acdc;return this['_socket$'][_0x338247(0x1df)]();}[_0x50acdc(0xe6)](){var _0x53d88c=_0x50acdc;this[_0x53d88c(0x2b7)]&&this['disposeWithMe'](this[_0x53d88c(0x2b7)]['online$'][_0x53d88c(0x393)](_0x48f4dc=>{var _0x3bc2b3=_0x53d88c;_0x48f4dc&&!this[_0x3bc2b3(0x2d9)]&&this[_0x3bc2b3(0x2d4)](),_0x48f4dc||this['_onOffline']();}));}[_0x50acdc(0xdd)](){var _0x8f82bd=_0x50acdc;super['dispose'](),this[_0x8f82bd(0x1a0)](),this[_0x8f82bd(0xed)](),this[_0x8f82bd(0x2a7)](),this[_0x8f82bd(0xcf)][_0x8f82bd(0x198)](_0x54ac5b=>_0x54ac5b[_0x8f82bd(0xdd)]()),this[_0x8f82bd(0xcf)][_0x8f82bd(0x201)](),this[_0x8f82bd(0x223)][_0x8f82bd(0x2ab)]();}async[_0x50acdc(0x2b6)](_0x10060b){var _0x80f40=_0x50acdc;if(this[_0x80f40(0xcf)][_0x80f40(0x6f)](_0x10060b))return this[_0x80f40(0xcf)][_0x80f40(0x230)](_0x10060b);this[_0x80f40(0x2e8)]();const _0x41ff86=this[_0x80f40(0xf3)][_0x80f40(0x318)](exports['CollaborationSession'],_0x10060b,this[_0x80f40(0x235)]['asObservable']());return this[_0x80f40(0xcf)]['set'](_0x10060b,_0x41ff86),_0x41ff86;}['closeSession'](_0x573f8b){var _0x5ceadd=_0x50acdc,_0x5e72c9;const _0x540693=this[_0x5ceadd(0xcf)]['get'](_0x573f8b);_0x540693&&(this[_0x5ceadd(0xcf)]['delete'](_0x573f8b),_0x540693['close']()),this[_0x5ceadd(0xcf)][_0x5ceadd(0x9d)]||(_0x5e72c9=this[_0x5ceadd(0x2d9)])==null||_0x5e72c9['close']();}[_0x50acdc(0x2d4)](){var _0x59b878=_0x50acdc;this[_0x59b878(0x20d)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x50acdc(0x1a0)](){var _0x2e6f59=_0x50acdc;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2e6f59(0x19e)]),this[_0x2e6f59(0x19e)]=null);}async[_0x50acdc(0x1b6)](){var _0x441543=_0x50acdc,_0xa7c481;const _0x4c59e9=this['_configService'][_0x441543(0x279)](Y),_0x50d174=(_0xa7c481=_0x4c59e9==null?void 0x0:_0x4c59e9[_0x441543(0x3af)])!=null?_0xa7c481:ht,_0x2e5543=await this['_socketService'][_0x441543(0x9a)](_0x50d174);return this['_candidateSocket']=_0x2e5543,_0x2e5543;}async[_0x50acdc(0x2e8)](){var _0x4d021b=_0x50acdc,_0x2339dc,_0xccf5e7;try{const _0x3974cc=(_0xccf5e7=(_0x2339dc=this[_0x4d021b(0x2d9)])!=null?_0x2339dc:this['_candidateSocket'])!=null?_0xccf5e7:await this[_0x4d021b(0x1b6)]();if(_0x3974cc){const _0x16949f=_0x3974cc[_0x4d021b(0x3eb)];_0x3974cc['send']=_0x18ffbc=>(this[_0x4d021b(0x166)](),_0x16949f['apply'](_0x3974cc,[_0x18ffbc])),_0x3974cc[_0x4d021b(0x265)][_0x4d021b(0x393)](_0x4ba1f1=>this['_onMessage'](_0x3974cc,_0x4ba1f1)),_0x3974cc['error$'][_0x4d021b(0x34b)](V['take'](0x1))['subscribe'](_0x585360=>this[_0x4d021b(0x164)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x585360)),_0x3974cc[_0x4d021b(0x2e1)][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))['subscribe'](()=>{var _0x392985=_0x4d021b;this[_0x392985(0x171)](_0x3974cc);}),_0x3974cc['close$'][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))[_0x4d021b(0x393)](_0x4cafae=>{var _0x330453=_0x4d021b;this[_0x330453(0x164)][_0x330453(0x286)](_0x330453(0x1aa),'socket\x20close',_0x4cafae),this[_0x330453(0x12a)]();});}}catch(_0x290ad7){this['_logService'][_0x4d021b(0x253)](_0x290ad7),this['_onConnectionFailed']();}}[_0x50acdc(0x171)](_0x30eb7c){var _0x41e096=_0x50acdc;this[_0x41e096(0x164)][_0x41e096(0x286)]('[CollaborationSessionService]',_0x41e096(0x14e)),_0x30eb7c[_0x41e096(0x3eb)]({'cmd':W[_0x41e096(0x254)]}),this[_0x41e096(0x166)]();}[_0x50acdc(0x323)](){var _0x328c6e=_0x50acdc;this['_socketReady']=!0x1,this[_0x328c6e(0x232)]=null,this['_status$']['next'](re[_0x328c6e(0x2dc)]),this[_0x328c6e(0x235)][_0x328c6e(0x30b)](null),this[_0x328c6e(0xed)](),this[_0x328c6e(0x2a7)]();}[_0x50acdc(0x12a)](){var _0xdc4a66=_0x50acdc,_0x3d3017;this[_0xdc4a66(0x323)](),this[_0xdc4a66(0x20d)]<((_0x3d3017=this[_0xdc4a66(0x7f)][_0xdc4a66(0x279)](ut))!=null?_0x3d3017:Mt)?(this[_0xdc4a66(0x22b)][_0xdc4a66(0xc2)]({'id':Z[_0xdc4a66(0x1bb)]}),this[_0xdc4a66(0x10d)]()):this['_collaborationUIEventService'][_0xdc4a66(0xc2)]({'id':Z['SOCKET_FAILED']});}[_0x50acdc(0x10d)](){var _0x1fd7e6=_0x50acdc,_0x95921d;const _0x438636=this[_0x1fd7e6(0x20d)],_0x1d9e33=this[_0x1fd7e6(0x7f)][_0x1fd7e6(0x279)](Y),_0x4d7f86=_0x438636===0x0?0x0:((_0x95921d=_0x1d9e33==null?void 0x0:_0x1d9e33[_0x1fd7e6(0x2b1)])!=null?_0x95921d:wt)*0x2**_0x438636;this[_0x1fd7e6(0x19e)]=setTimeout(()=>{var _0x52f5a5=_0x1fd7e6;clearTimeout(this[_0x52f5a5(0x19e)]),this[_0x52f5a5(0x19e)]=null,this[_0x52f5a5(0x2e8)]();},_0x4d7f86),this[_0x1fd7e6(0x20d)]+=0x1;}['_onMessage'](_0x14fa42,_0x21ea03){var _0xf2a658=_0x50acdc;const {cmd:_0x1fd9ba}=_0x21ea03;_0x1fd9ba===W['HELLO']&&!this['_socketReady']&&(_0x14fa42[_0xf2a658(0xd3)]=_0x21ea03[_0xf2a658(0x33e)]['memberID'],this[_0xf2a658(0x235)][_0xf2a658(0x30b)](_0x14fa42),this[_0xf2a658(0x223)][_0xf2a658(0x30b)](re[_0xf2a658(0x246)]),this[_0xf2a658(0x23d)]=!0x0,this['_candidateSocket']=null),_0x1fd9ba===W[_0xf2a658(0xaf)]&&this[_0xf2a658(0xed)](),this[_0xf2a658(0x166)]();}[_0x50acdc(0x166)](){var _0x16bd3a=_0x50acdc,_0x591608;this[_0x16bd3a(0x2a7)](),this[_0x16bd3a(0x3d3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x591608=this[_0x16bd3a(0x7f)][_0x16bd3a(0x279)](_t))!=null?_0x591608:Pt);}[_0x50acdc(0x22d)](){var _0x49606f=_0x50acdc;this['_socket'][_0x49606f(0x3eb)]({'cmd':W[_0x49606f(0xaf)]}),this[_0x49606f(0x161)]();}[_0x50acdc(0x161)](){var _0x1bdce0=_0x50acdc,_0x355d61;this[_0x1bdce0(0xa6)]=setTimeout(()=>this[_0x1bdce0(0x12a)](),(_0x355d61=this[_0x1bdce0(0x7f)][_0x1bdce0(0x279)](ke))!=null?_0x355d61:lt);}['_clearHeartbeatTimer'](){var _0x3e8b82=_0x50acdc;this[_0x3e8b82(0x3d3)]!=null&&(clearTimeout(this[_0x3e8b82(0x3d3)]),this[_0x3e8b82(0x3d3)]=null);}[_0x50acdc(0xed)](){var _0x2a2383=_0x50acdc;this[_0x2a2383(0xa6)]!=null&&(clearTimeout(this[_0x2a2383(0xa6)]),this[_0x2a2383(0xa6)]=null);}},exports[_0x50acdc(0x71)]=ci([he(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),he(0x1,a['ILogService']),he(0x2,a[_0x50acdc(0xda)]),he(0x3,Fe),he(0x4,a['Inject'](ee)),he(0x5,a['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x51f4da,_0x51ae05,_0x2d3e32,_0x5681f1)=>{for(var _0x43bc16=_0x5681f1>0x1?void 0x0:_0x5681f1?hi(_0x51ae05,_0x2d3e32):_0x51ae05,_0x3477ec=_0x51f4da['length']-0x1,_0x510af2;_0x3477ec>=0x0;_0x3477ec--)(_0x510af2=_0x51f4da[_0x3477ec])&&(_0x43bc16=_0x510af2(_0x43bc16)||_0x43bc16);return _0x43bc16;},Se=(_0xcb9104,_0x1a25dc)=>(_0x4029ac,_0x45e1ab)=>_0x1a25dc(_0x4029ac,_0x45e1ab,_0xcb9104);exports[_0x50acdc(0x361)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x34bd8b,_0x9ea630,_0x135cd4,_0x28952b){var _0x27a0cd=_0x50acdc,_0x249aca;super(),A(this,_0x27a0cd(0x1d6),new Map()),A(this,_0x27a0cd(0x350),new H['Subject']()),A(this,_0x27a0cd(0x22a),this[_0x27a0cd(0x350)][_0x27a0cd(0x1c8)]()),(this[_0x27a0cd(0xf3)]=_0x34bd8b,this[_0x27a0cd(0x32c)]=_0x9ea630,this['_configService']=_0x135cd4,this['_univerInstanceService']=_0x28952b,((_0x249aca=this[_0x27a0cd(0x7f)][_0x27a0cd(0x279)](Y))==null?void 0x0:_0x249aca['enableCollaboration'])!==!0x1&&this[_0x27a0cd(0x1c0)]());}['dispose'](){var _0x1dd3ca=_0x50acdc;super[_0x1dd3ca(0xdd)](),this['_entities']['forEach'](_0xee5345=>_0xee5345[_0x1dd3ca(0xdd)]()),this[_0x1dd3ca(0x1d6)][_0x1dd3ca(0x201)]();}['getCollabEntity'](_0x38916c){var _0x36316d=_0x50acdc,_0x2e82cf;return(_0x2e82cf=this['_entities'][_0x36316d(0x230)](_0x38916c))!=null?_0x2e82cf:null;}['getCollabEntity$'](_0x44abf1){var _0x3a92db=_0x50acdc;const _0x5e524b=this['getCollabEntity'](_0x44abf1);return _0x5e524b?H['of'](_0x5e524b):this['_entityInit$'][_0x3a92db(0x34b)](V[_0x3a92db(0x372)](_0x40e8d3=>_0x40e8d3[_0x3a92db(0xc1)]===_0x44abf1));}[_0x50acdc(0x99)](_0x3feb13){var _0x358ec9=_0x50acdc;return H[_0x358ec9(0x13a)](this[_0x358ec9(0x1b9)](_0x3feb13)['pipe'](V['map'](()=>{})));}['_init'](){var _0x25a39f=_0x50acdc;this[_0x25a39f(0x1d5)][_0x25a39f(0x27e)](a['UniverInstanceType'][_0x25a39f(0x2f3)])[_0x25a39f(0x34b)](H['takeUntil'](this[_0x25a39f(0x1a5)]),V['delay'](0x10))[_0x25a39f(0x393)](async _0x5a3456=>{var _0x2d3cd0=_0x25a39f;const _0x5279d3=_0x5a3456[_0x2d3cd0(0xc5)](),_0x300aee=await this[_0x2d3cd0(0x118)](_0x5279d3,J[_0x2d3cd0(0x2f3)]);this[_0x2d3cd0(0x1d6)][_0x2d3cd0(0x19b)](_0x5279d3,_0x300aee);}),this['_univerInstanceService'][_0x25a39f(0x27e)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)])['pipe'](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]),V['delay'](0x10))['pipe'](V['filter'](_0xb984c6=>!_0xb984c6[_0x25a39f(0xc5)]()[_0x25a39f(0x154)]('__')))[_0x25a39f(0x393)](async _0x45df13=>{var _0xd1fd7b=_0x25a39f;const _0x23cf4b=_0x45df13['getUnitId'](),_0x49258d=await this[_0xd1fd7b(0x118)](_0x23cf4b,J[_0xd1fd7b(0x1c5)]);this[_0xd1fd7b(0x1d6)][_0xd1fd7b(0x19b)](_0x23cf4b,_0x49258d);}),H[_0x25a39f(0x27b)](this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)]['UNIVER_SHEET']),this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)]))[_0x25a39f(0x34b)](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]))[_0x25a39f(0x393)](_0x55c35c=>{var _0x4df973=_0x25a39f;const _0x5f0a98=_0x55c35c[_0x4df973(0xc5)](),_0x1ab903=this[_0x4df973(0x1d6)][_0x4df973(0x230)](_0x5f0a98);_0x1ab903&&(_0x1ab903['dispose'](),this[_0x4df973(0x1d6)][_0x4df973(0x38a)](_0x5f0a98));});}async['_startCollaboration'](_0x16b2c4,_0x46fbab){var _0xd66db3=_0x50acdc;const _0x530ad3=await this['_collabSessionService'][_0xd66db3(0x2b6)](_0x16b2c4),_0x238f15=this[_0xd66db3(0xf3)]['createInstance'](this[_0xd66db3(0x240)](_0x46fbab),_0x16b2c4,_0x46fbab,_0x530ad3);return await _0x238f15['init'](),this[_0xd66db3(0x350)]['next'](_0x238f15),_0x238f15;}[_0x50acdc(0x240)](_0x37a14e){var _0xb0a5e1=_0x50acdc;switch(_0x37a14e){case J['UNIVER_DOC']:return exports[_0xb0a5e1(0x381)];case J[_0xb0a5e1(0x2f3)]:return exports[_0xb0a5e1(0x241)];default:throw new Error(_0xb0a5e1(0x3c5)+_0x37a14e);}}},exports[_0x50acdc(0x361)]=_i([Se(0x0,a[_0x50acdc(0x93)](a['Injector'])),Se(0x1,a[_0x50acdc(0x93)](exports[_0x50acdc(0x71)])),Se(0x2,a[_0x50acdc(0xda)]),Se(0x3,a[_0x50acdc(0xa5)])],exports[_0x50acdc(0x361)]);var li=Object[_0x50acdc(0x1c4)],ui=(_0x26caa4,_0x462b2c,_0x478d35,_0x5c973e)=>{var _0x82b480=_0x50acdc;for(var _0x1adc33=_0x5c973e>0x1?void 0x0:_0x5c973e?li(_0x462b2c,_0x478d35):_0x462b2c,_0x115348=_0x26caa4[_0x82b480(0x31b)]-0x1,_0x30e31a;_0x115348>=0x0;_0x115348--)(_0x30e31a=_0x26caa4[_0x115348])&&(_0x1adc33=_0x30e31a(_0x1adc33)||_0x1adc33);return _0x1adc33;},Ye=(_0x1aa5fc,_0x35cb2b)=>(_0x46a8c9,_0x2f07f8)=>_0x35cb2b(_0x46a8c9,_0x2f07f8,_0x1aa5fc);const di=_0x50acdc(0x123),vi=_0x50acdc(0x3ab);let xe=class extends a[_0x50acdc(0x182)]{constructor(_0x3b24fc,_0x4b6d1a){var _0x45cbe8=_0x50acdc;super(),this[_0x45cbe8(0x1d5)]=_0x3b24fc,this[_0x45cbe8(0x7f)]=_0x4b6d1a,this[_0x45cbe8(0x1c0)]();}['_init'](){var _0x467862=_0x50acdc;this['disposeWithMe'](this[_0x467862(0x1d5)][_0x467862(0x2bb)][_0x467862(0x393)](()=>{var _0x23d2e6=_0x467862,_0x2f6d34;const _0xa68e62=this[_0x23d2e6(0x1d5)]['getFocusedUnit']();let _0xe341d2=(_0x2f6d34=this[_0x23d2e6(0x7f)][_0x23d2e6(0x279)](di))!=null?_0x2f6d34:vi;_0xa68e62 instanceof a['Workbook']&&(_0xe341d2=_0xa68e62[_0x23d2e6(0x270)]),document['title']=_0xe341d2;}));}};xe=ui([Ye(0x0,a[_0x50acdc(0xa5)]),Ye(0x1,a[_0x50acdc(0xda)])],xe);var Si=Object[_0x50acdc(0x1c4)],fi=(_0x47e27d,_0x280963,_0x160585,_0xcce681)=>{var _0x36df8e=_0x50acdc;for(var _0x515e8b=_0xcce681>0x1?void 0x0:_0xcce681?Si(_0x280963,_0x160585):_0x280963,_0x52ae29=_0x47e27d[_0x36df8e(0x31b)]-0x1,_0x24c383;_0x52ae29>=0x0;_0x52ae29--)(_0x24c383=_0x47e27d[_0x52ae29])&&(_0x515e8b=_0x24c383(_0x515e8b)||_0x515e8b);return _0x515e8b;},Ae=(_0x53e218,_0x3db14f)=>(_0x3b1451,_0x214fe7)=>_0x3db14f(_0x3b1451,_0x214fe7,_0x53e218);let ye=class{constructor(_0x4cbe88,_0x276638,_0x484556){var _0x207161=_0x50acdc;this[_0x207161(0x7f)]=_0x4cbe88,this['_httpService']=_0x276638,this[_0x207161(0x151)]=_0x484556,this[_0x207161(0x132)]();}['init'](){var _0x23bf2c=_0x50acdc;this['_httpService'][_0x23bf2c(0x377)]({'priority':0x1,'interceptor':(_0x257da7,_0x75f384)=>_0x75f384(_0x257da7)[_0x23bf2c(0x34b)](H[_0x23bf2c(0x3da)](async _0x552fb1=>{var _0x39a63f=_0x23bf2c;const _0x356d96=_0x552fb1;if(_0x356d96[_0x39a63f(0x28c)]===0x191){if(typeof window>'u')throw new Error(_0x39a63f(0x133));if(window[_0x39a63f(0x111)](this[_0x39a63f(0x151)]['t'](_0x39a63f(0x25c)))){const _0x28b27a=window[_0x39a63f(0x385)](window[_0x39a63f(0x119)][_0x39a63f(0xbe)]);window['location'][_0x39a63f(0xbe)]=this['_getLoginPath']()+_0x39a63f(0x249)+_0x28b27a;}}return _0x356d96;}))});}[_0x50acdc(0x184)](){var _0x26057f=_0x50acdc,_0x2df9e0;const _0x434723=this[_0x26057f(0x7f)][_0x26057f(0x279)](Y);return(_0x2df9e0=_0x434723==null?void 0x0:_0x434723[_0x26057f(0x30c)])!=null?_0x2df9e0:$t;}};ye=fi([Ae(0x0,a[_0x50acdc(0xda)]),Ae(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Ae(0x2,a['Inject'](a[_0x50acdc(0x217)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x3822a8,_0x372c84,_0x433070,_0x5e49aa)=>{var _0x24d858=_0x50acdc;for(var _0x5ab3d2=_0x5e49aa>0x1?void 0x0:_0x5e49aa?Ii(_0x372c84,_0x433070):_0x372c84,_0x296758=_0x3822a8[_0x24d858(0x31b)]-0x1,_0x330e5b;_0x296758>=0x0;_0x296758--)(_0x330e5b=_0x3822a8[_0x296758])&&(_0x5ab3d2=_0x330e5b(_0x5ab3d2)||_0x5ab3d2);return _0x5ab3d2;},qe=(_0x1cc5e1,_0x518b5f)=>(_0x1c5933,_0x119548)=>_0x518b5f(_0x1c5933,_0x119548,_0x1cc5e1);const mi=_0x50acdc(0x97);exports[_0x50acdc(0x225)]=class extends a['Disposable']{constructor(_0x563956,_0x21a703){var _0x5ffedf=_0x50acdc;super(),this['_HTTPService']=_0x563956,this[_0x5ffedf(0x7f)]=_0x21a703,this[_0x5ffedf(0xa4)]();}[_0x50acdc(0xa4)](){var _0x431c22=_0x50acdc;const _0x114ccc=this;this[_0x431c22(0x2bc)](this[_0x431c22(0x35c)][_0x431c22(0x377)]({'priority':0x3e7,'interceptor':q[_0x431c22(0xd2)]({'isMatch'(_0x3b3789){var _0x514f2d=_0x431c22,_0x2bc51a;if(_0x3b3789[_0x514f2d(0xe5)]===_0x514f2d(0x3d1)&&((_0x2bc51a=_0x3b3789[_0x514f2d(0x169)])!=null&&_0x2bc51a[_0x514f2d(0x3cb)])){const {objectID:_0x37629c,objectType:_0x2ecee9}=_0x3b3789[_0x514f2d(0x169)][_0x514f2d(0x3cb)]||{};if(!_0x37629c||_0x2ecee9===void 0x0)return!0x1;const _0x4f6b57=_0x114ccc[_0x514f2d(0x117)]()+'/'+_0x2ecee9+_0x514f2d(0x21b)+_0x37629c+_0x514f2d(0xd7);if(_0x3b3789['url']===_0x4f6b57)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d94b9){var _0x4980ea=_0x431c22,_0x16d8a5;return(_0x16d8a5=_0x3d94b9[_0x4980ea(0x169)])==null?void 0x0:_0x16d8a5[_0x4980ea(0x3cb)];},'mergeParamsToRequest'(_0x2be0d4,_0x161aad){var _0x14920c=_0x431c22;const _0xb84eb3=_0x114ccc[_0x14920c(0x117)]()+_0x14920c(0x3dc),_0x3658dd=_0x2be0d4[_0x14920c(0x282)]((_0x33b80b,_0x544762)=>{var _0x47a055=_0x14920c;const {unitID:_0x28c807,objectID:_0x40650f,objectType:_0x55e37d,actions:_0x52a811}=_0x544762;return _0x33b80b[_0x28c807]||(_0x33b80b[_0x28c807]={}),_0x33b80b[_0x28c807][_0x40650f]||(_0x33b80b[_0x28c807][_0x40650f]={'objectID':_0x40650f,'objectType':_0x55e37d,'actions':[]}),_0x33b80b[_0x28c807][_0x40650f][_0x47a055(0x2a0)][_0x47a055(0x3a3)](..._0x52a811),_0x33b80b;},{}),_0x30d200=[];for(const _0x179896 in _0x3658dd)for(const _0x96d4ec in _0x3658dd[_0x179896]){const {actions:_0x4ff8bf,objectType:_0xdc018b}=_0x3658dd[_0x179896][_0x96d4ec],_0x55b272=[...new Set(_0x4ff8bf)];_0x30d200[_0x14920c(0x3a3)]({'unitID':_0x179896,'objectID':_0x96d4ec,'objectType':_0xdc018b,'actions':_0x55b272});}return new q['HTTPRequest'](_0x14920c(0x3d1),_0xb84eb3,{'headers':_0x161aad[_0x14920c(0x10b)],'withCredentials':_0x161aad[_0x14920c(0x396)],'responseType':_0x161aad[_0x14920c(0x194)],'body':{'requests':_0x30d200}});}},{'distributeResult'(_0x27483c,_0x1c311b){var _0x364223=_0x431c22;const {objectActions:_0x7cdb6b}=_0x27483c;return _0x1c311b[_0x364223(0x2cc)](_0x1cd7c9=>{var _0x14eb4c=_0x364223;const {unitID:_0x1c7ac9,objectID:_0x55e2f2,actions:_0x163094}=_0x1cd7c9,_0x5b8806=_0x7cdb6b[_0x14eb4c(0x375)](_0x255d81=>_0x255d81['unitID']===_0x1c7ac9&&_0x255d81[_0x14eb4c(0x11e)]===_0x55e2f2),_0x33581c=_0x163094[_0x14eb4c(0x2cc)](_0x243e91=>_0x5b8806==null?void 0x0:_0x5b8806['actions'][_0x14eb4c(0x375)](_0x275525=>_0x275525['action']===_0x243e91))[_0x14eb4c(0x372)](_0x464dbd=>!!_0x464dbd);return{'config':_0x1cd7c9,'result':{'actions':_0x33581c,'error':_0x27483c['error']}};});}})}));}[_0x50acdc(0x117)](){var _0x4c218f=_0x50acdc,_0x1c7e3c;const _0x4af2cd=this[_0x4c218f(0x7f)][_0x4c218f(0x279)](Y);return(_0x1c7e3c=_0x4af2cd==null?void 0x0:_0x4af2cd[_0x4c218f(0x399)])!=null?_0x1c7e3c:mi;}async['create'](_0xc2cbc5){var _0x3a4aea=_0x50acdc;const _0x2e3f4f=this['_getAPIPrefixPath']()+'/'+_0xc2cbc5['objectType']+_0x3a4aea(0x2e3);return(await this[_0x3a4aea(0x35c)][_0x3a4aea(0x288)](_0x2e3f4f,{'body':_0xc2cbc5}))[_0x3a4aea(0x3cb)][_0x3a4aea(0x11e)]||'';}async[_0x50acdc(0x31e)](_0x1006b1){var _0x32f05f=_0x50acdc;const _0x33dec6=this[_0x32f05f(0x117)]()+_0x32f05f(0x34e);return(await this[_0x32f05f(0x35c)]['post'](_0x33dec6,{'body':_0x1006b1}))['body'][_0x32f05f(0x109)];}async[_0x50acdc(0xc4)](_0x354163){var _0x47e7e4=_0x50acdc,_0x20a58d,_0x1a1bbb;const _0x1e70b4=this[_0x47e7e4(0x117)]()+'/'+_0x354163['objectType']+_0x47e7e4(0x21b)+_0x354163[_0x47e7e4(0x11e)],_0x27b09e=await this[_0x47e7e4(0x35c)]['put'](_0x1e70b4,{'body':_0x354163});if(((_0x1a1bbb=(_0x20a58d=_0x27b09e==null?void 0x0:_0x27b09e['body'])==null?void 0x0:_0x20a58d[_0x47e7e4(0x253)])==null?void 0x0:_0x1a1bbb[_0x47e7e4(0x156)])!==0x1)throw new Error(_0x47e7e4(0xde));}async[_0x50acdc(0x274)](_0x2a174b){var _0x204a25=_0x50acdc;const _0x54e54c=this[_0x204a25(0x117)]()+'/'+_0x2a174b[_0x204a25(0xf2)]+_0x204a25(0x21b)+_0x2a174b[_0x204a25(0x11e)]+_0x204a25(0xd7);return(await this[_0x204a25(0x35c)]['post'](_0x54e54c,{'body':_0x2a174b}))[_0x204a25(0x3cb)][_0x204a25(0x2a0)];}async[_0x50acdc(0x33b)](_0x36791a){var _0x7a66a3=_0x50acdc;const _0x4ed5d2=this[_0x7a66a3(0x117)]()+_0x7a66a3(0x3dc);return(await this[_0x7a66a3(0x35c)][_0x7a66a3(0x288)](_0x4ed5d2,{'body':{'requests':_0x36791a}}))[_0x7a66a3(0x3cb)][_0x7a66a3(0x1be)];}async['listRoles'](_0x167b0f){var _0x4763fe=_0x50acdc;const _0x3ea2af=this[_0x4763fe(0x117)]()+'/'+_0x167b0f[_0x4763fe(0xf2)]+_0x4763fe(0x2f8),_0x15d1f1=await this[_0x4763fe(0x35c)]['post'](_0x3ea2af,{'body':_0x167b0f});return{'roles':_0x15d1f1['body'][_0x4763fe(0x1a2)],'actions':_0x15d1f1[_0x4763fe(0x3cb)][_0x4763fe(0x2a0)]};}async[_0x50acdc(0x2a6)](_0x468b00){var _0x189a15=_0x50acdc;const _0x492580=this[_0x189a15(0x117)]()+'/collaborator';await this[_0x189a15(0x35c)][_0x189a15(0x38a)](_0x492580,{'params':{'collaboratorID':_0x468b00[_0x189a15(0x383)],'objectID':_0x468b00[_0x189a15(0x11e)],'unitID':_0x468b00['unitID']}});}async[_0x50acdc(0x3a7)](_0x85cefb){var _0x1d79e9=_0x50acdc;const _0x2299ab=this[_0x1d79e9(0x117)]()+_0x1d79e9(0x332);await this['_HTTPService'][_0x1d79e9(0xb9)](_0x2299ab,{'body':_0x85cefb});}async['createCollaborator'](_0x58eb87){var _0xce0a39=_0x50acdc;const _0x520363=this[_0xce0a39(0x117)]()+_0xce0a39(0x332);await this[_0xce0a39(0x35c)][_0xce0a39(0x288)](_0x520363,{'body':_0x58eb87});}async[_0x50acdc(0x1e6)](_0x2f8954){var _0x5b129c=_0x50acdc;const _0x50a364=this[_0x5b129c(0x117)]()+'/collaborator';return(await this[_0x5b129c(0x35c)][_0x5b129c(0x230)](_0x50a364,{'params':{'objectID':_0x2f8954[_0x5b129c(0x11e)],'unitID':_0x2f8954['unitID']}}))['body'][_0x5b129c(0xb1)];}async['putCollaborators'](_0x4f3641){var _0x350ebb=_0x50acdc;const _0x3fbce6=this[_0x350ebb(0x117)]()+_0x350ebb(0x332);await this[_0x350ebb(0x35c)][_0x350ebb(0x3e2)](_0x3fbce6,{'body':_0x4f3641});}},exports[_0x50acdc(0x225)]=pi([qe(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),qe(0x1,a[_0x50acdc(0x93)](a['IConfigService']))],exports[_0x50acdc(0x225)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4953f3){var _0x151876=_0x50acdc;return _0x4953f3&&_0x4953f3[_0x151876(0x1c3)]&&Object['prototype'][_0x151876(0xaa)][_0x151876(0x2ac)](_0x4953f3,_0x151876(0x346))?_0x4953f3[_0x151876(0x346)]:_0x4953f3;}var fe={'exports':{}};function gi(_0x4d2a0a){var _0x308248=_0x50acdc;throw new Error(_0x308248(0x1a7)+_0x4d2a0a+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie[_0x50acdc(0x211)],Ke;function Q(){var _0x508267=_0x50acdc;return Ke||(Ke=0x1,function(_0x320101,_0xa6d1e0){(function(_0x5d5518,_0x15db22){var _0x36a09c=_0x5520;_0x320101[_0x36a09c(0x211)]=_0x15db22();}(Ei,function(){var _0x291778=_0x291778||function(_0x5347bd,_0x11c402){var _0x184894=_0x5520,_0x1ebb8a;if(typeof window<'u'&&window[_0x184894(0x2e0)]&&(_0x1ebb8a=window[_0x184894(0x2e0)]),typeof self<'u'&&self[_0x184894(0x2e0)]&&(_0x1ebb8a=self[_0x184894(0x2e0)]),typeof globalThis<'u'&&globalThis[_0x184894(0x2e0)]&&(_0x1ebb8a=globalThis[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof window<'u'&&window[_0x184894(0x181)]&&(_0x1ebb8a=window[_0x184894(0x181)]),!_0x1ebb8a&&typeof Pe<'u'&&Pe[_0x184894(0x2e0)]&&(_0x1ebb8a=Pe[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof gi==_0x184894(0x2e9))try{_0x1ebb8a=require('crypto');}catch{}var _0x7aa999=function(){var _0x474400=_0x184894;if(_0x1ebb8a){if(typeof _0x1ebb8a['getRandomValues']==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0xd1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ebb8a[_0x474400(0x2ce)]==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0x2ce)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x474400(0x192));},_0x56642a=Object['create']||(function(){function _0x46840f(){}return function(_0x24b179){var _0x2e90f1=_0x5520,_0x37ee28;return _0x46840f[_0x2e90f1(0x2a3)]=_0x24b179,_0x37ee28=new _0x46840f(),_0x46840f[_0x2e90f1(0x2a3)]=null,_0x37ee28;};}()),_0x3671c3={},_0x3f8948=_0x3671c3[_0x184894(0x101)]={},_0xf9680=_0x3f8948['Base']=(function(){return{'extend':function(_0x2c6184){var _0x418436=_0x5520,_0x123df5=_0x56642a(this);return _0x2c6184&&_0x123df5['mixIn'](_0x2c6184),(!_0x123df5[_0x418436(0xaa)](_0x418436(0x132))||this[_0x418436(0x132)]===_0x123df5[_0x418436(0x132)])&&(_0x123df5[_0x418436(0x132)]=function(){var _0x546a1f=_0x418436;_0x123df5[_0x546a1f(0x3d2)]['init'][_0x546a1f(0x303)](this,arguments);}),_0x123df5[_0x418436(0x132)][_0x418436(0x2a3)]=_0x123df5,_0x123df5[_0x418436(0x3d2)]=this,_0x123df5;},'create':function(){var _0x406d0a=_0x5520,_0x108c85=this['extend']();return _0x108c85[_0x406d0a(0x132)][_0x406d0a(0x303)](_0x108c85,arguments),_0x108c85;},'init':function(){},'mixIn':function(_0x2d7555){var _0x313f31=_0x5520;for(var _0x323f3d in _0x2d7555)_0x2d7555[_0x313f31(0xaa)](_0x323f3d)&&(this[_0x323f3d]=_0x2d7555[_0x323f3d]);_0x2d7555['hasOwnProperty']('toString')&&(this['toString']=_0x2d7555[_0x313f31(0x147)]);},'clone':function(){var _0x14bd0=_0x5520;return this[_0x14bd0(0x132)][_0x14bd0(0x2a3)][_0x14bd0(0x334)](this);}};}()),_0x36e8df=_0x3f8948[_0x184894(0x2b5)]=_0xf9680[_0x184894(0x334)]({'init':function(_0x46172b,_0x201042){var _0x1191e7=_0x184894;_0x46172b=this['words']=_0x46172b||[],_0x201042!=_0x11c402?this['sigBytes']=_0x201042:this[_0x1191e7(0x13e)]=_0x46172b[_0x1191e7(0x31b)]*0x4;},'toString':function(_0x5446ab){var _0x400376=_0x184894;return(_0x5446ab||_0x4711ce)[_0x400376(0x8b)](this);},'concat':function(_0x421c4c){var _0x3696cb=_0x184894,_0x5b9dc1=this[_0x3696cb(0xe4)],_0x49167f=_0x421c4c[_0x3696cb(0xe4)],_0x2ab141=this[_0x3696cb(0x13e)],_0x47a886=_0x421c4c['sigBytes'];if(this[_0x3696cb(0x3bb)](),_0x2ab141%0x4)for(var _0x5626f8=0x0;_0x5626f8<_0x47a886;_0x5626f8++){var _0x26141d=_0x49167f[_0x5626f8>>>0x2]>>>0x18-_0x5626f8%0x4*0x8&0xff;_0x5b9dc1[_0x2ab141+_0x5626f8>>>0x2]|=_0x26141d<<0x18-(_0x2ab141+_0x5626f8)%0x4*0x8;}else{for(var _0x51b609=0x0;_0x51b609<_0x47a886;_0x51b609+=0x4)_0x5b9dc1[_0x2ab141+_0x51b609>>>0x2]=_0x49167f[_0x51b609>>>0x2];}return this[_0x3696cb(0x13e)]+=_0x47a886,this;},'clamp':function(){var _0x2f1edc=_0x184894,_0x454bd7=this['words'],_0x526506=this[_0x2f1edc(0x13e)];_0x454bd7[_0x526506>>>0x2]&=0xffffffff<<0x20-_0x526506%0x4*0x8,_0x454bd7['length']=_0x5347bd[_0x2f1edc(0x177)](_0x526506/0x4);},'clone':function(){var _0x483b17=_0x184894,_0x34ba8a=_0xf9680[_0x483b17(0x128)]['call'](this);return _0x34ba8a[_0x483b17(0xe4)]=this[_0x483b17(0xe4)][_0x483b17(0x2ef)](0x0),_0x34ba8a;},'random':function(_0x1a0ae1){var _0x1cd7ed=_0x184894;for(var _0xe7ae2d=[],_0x20f019=0x0;_0x20f019<_0x1a0ae1;_0x20f019+=0x4)_0xe7ae2d[_0x1cd7ed(0x3a3)](_0x7aa999());return new _0x36e8df[(_0x1cd7ed(0x132))](_0xe7ae2d,_0x1a0ae1);}}),_0x31beb4=_0x3671c3['enc']={},_0x4711ce=_0x31beb4[_0x184894(0x78)]={'stringify':function(_0x29a365){var _0x198f91=_0x184894;for(var _0x5242b7=_0x29a365[_0x198f91(0xe4)],_0xec4a79=_0x29a365[_0x198f91(0x13e)],_0x13e36f=[],_0x54c45e=0x0;_0x54c45e<_0xec4a79;_0x54c45e++){var _0x6a78c1=_0x5242b7[_0x54c45e>>>0x2]>>>0x18-_0x54c45e%0x4*0x8&0xff;_0x13e36f[_0x198f91(0x3a3)]((_0x6a78c1>>>0x4)[_0x198f91(0x147)](0x10)),_0x13e36f['push']((_0x6a78c1&0xf)['toString'](0x10));}return _0x13e36f['join']('');},'parse':function(_0x1b054c){var _0x14cb80=_0x184894;for(var _0x21887a=_0x1b054c[_0x14cb80(0x31b)],_0x59fd4e=[],_0x484a66=0x0;_0x484a66<_0x21887a;_0x484a66+=0x2)_0x59fd4e[_0x484a66>>>0x3]|=parseInt(_0x1b054c['substr'](_0x484a66,0x2),0x10)<<0x18-_0x484a66%0x8*0x4;return new _0x36e8df[(_0x14cb80(0x132))](_0x59fd4e,_0x21887a/0x2);}},_0x6bf21e=_0x31beb4[_0x184894(0x378)]={'stringify':function(_0x3deb96){var _0xb204=_0x184894;for(var _0x5c043c=_0x3deb96[_0xb204(0xe4)],_0x146dcf=_0x3deb96['sigBytes'],_0x3736e5=[],_0x59f582=0x0;_0x59f582<_0x146dcf;_0x59f582++){var _0x43e8b2=_0x5c043c[_0x59f582>>>0x2]>>>0x18-_0x59f582%0x4*0x8&0xff;_0x3736e5[_0xb204(0x3a3)](String['fromCharCode'](_0x43e8b2));}return _0x3736e5[_0xb204(0x1ee)]('');},'parse':function(_0x3aaf2b){var _0x563f97=_0x184894;for(var _0x347ab7=_0x3aaf2b[_0x563f97(0x31b)],_0x4683fd=[],_0xd46b9d=0x0;_0xd46b9d<_0x347ab7;_0xd46b9d++)_0x4683fd[_0xd46b9d>>>0x2]|=(_0x3aaf2b[_0x563f97(0x94)](_0xd46b9d)&0xff)<<0x18-_0xd46b9d%0x4*0x8;return new _0x36e8df[(_0x563f97(0x132))](_0x4683fd,_0x347ab7);}},_0xde5fc9=_0x31beb4[_0x184894(0x30d)]={'stringify':function(_0x223f7e){var _0x5bc90f=_0x184894;try{return decodeURIComponent(escape(_0x6bf21e[_0x5bc90f(0x8b)](_0x223f7e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40b757){return _0x6bf21e['parse'](unescape(encodeURIComponent(_0x40b757)));}},_0x3ea407=_0x3f8948[_0x184894(0x305)]=_0xf9680[_0x184894(0x334)]({'reset':function(){var _0x5eb5ef=_0x184894;this[_0x5eb5ef(0x1f9)]=new _0x36e8df[(_0x5eb5ef(0x132))](),this[_0x5eb5ef(0xea)]=0x0;},'_append':function(_0x5e2451){var _0x5ae214=_0x184894;typeof _0x5e2451==_0x5ae214(0x102)&&(_0x5e2451=_0xde5fc9[_0x5ae214(0x39d)](_0x5e2451)),this[_0x5ae214(0x1f9)]['concat'](_0x5e2451),this[_0x5ae214(0xea)]+=_0x5e2451['sigBytes'];},'_process':function(_0x384a2b){var _0x1643d0=_0x184894,_0x1520ea,_0x2c963c=this[_0x1643d0(0x1f9)],_0x190825=_0x2c963c[_0x1643d0(0xe4)],_0x2af466=_0x2c963c[_0x1643d0(0x13e)],_0x27042e=this[_0x1643d0(0x127)],_0x46e482=_0x27042e*0x4,_0x37b21e=_0x2af466/_0x46e482;_0x384a2b?_0x37b21e=_0x5347bd[_0x1643d0(0x177)](_0x37b21e):_0x37b21e=_0x5347bd[_0x1643d0(0x340)]((_0x37b21e|0x0)-this[_0x1643d0(0x256)],0x0);var _0x1b3625=_0x37b21e*_0x27042e,_0x525bbf=_0x5347bd[_0x1643d0(0xbd)](_0x1b3625*0x4,_0x2af466);if(_0x1b3625){for(var _0x5d3659=0x0;_0x5d3659<_0x1b3625;_0x5d3659+=_0x27042e)this[_0x1643d0(0xfd)](_0x190825,_0x5d3659);_0x1520ea=_0x190825['splice'](0x0,_0x1b3625),_0x2c963c[_0x1643d0(0x13e)]-=_0x525bbf;}return new _0x36e8df['init'](_0x1520ea,_0x525bbf);},'clone':function(){var _0x3e562f=_0x184894,_0x3bd246=_0xf9680[_0x3e562f(0x128)][_0x3e562f(0x2ac)](this);return _0x3bd246[_0x3e562f(0x1f9)]=this[_0x3e562f(0x1f9)]['clone'](),_0x3bd246;},'_minBufferSize':0x0});_0x3f8948['Hasher']=_0x3ea407[_0x184894(0x334)]({'cfg':_0xf9680[_0x184894(0x334)](),'init':function(_0x59da7a){var _0x5b001d=_0x184894;this[_0x5b001d(0x8a)]=this['cfg'][_0x5b001d(0x334)](_0x59da7a),this[_0x5b001d(0x29e)]();},'reset':function(){var _0x8fc1a1=_0x184894;_0x3ea407['reset'][_0x8fc1a1(0x2ac)](this),this[_0x8fc1a1(0x31d)]();},'update':function(_0x155736){var _0x47c8c4=_0x184894;return this['_append'](_0x155736),this[_0x47c8c4(0x146)](),this;},'finalize':function(_0x1a0536){var _0x1dd05b=_0x184894;_0x1a0536&&this['_append'](_0x1a0536);var _0x4bc8af=this[_0x1dd05b(0x2fd)]();return _0x4bc8af;},'blockSize':0x10,'_createHelper':function(_0x2cd7c9){return function(_0x17e206,_0x5b9496){var _0x55264d=_0x5520;return new _0x2cd7c9[(_0x55264d(0x132))](_0x5b9496)[_0x55264d(0x314)](_0x17e206);};},'_createHmacHelper':function(_0x2ca898){return function(_0x597f8e,_0x49ac58){var _0x592985=_0x5520;return new _0x56a8a3['HMAC'][(_0x592985(0x132))](_0x2ca898,_0x49ac58)[_0x592985(0x314)](_0x597f8e);};}});var _0x56a8a3=_0x3671c3['algo']={};return _0x3671c3;}(Math);return _0x291778;}));}(Ie)),Ie[_0x508267(0x211)];}function _0x5520(_0xe4167e,_0x5a2855){var _0x3a8553=_0x3a85();return _0x5520=function(_0x552005,_0x385563){_0x552005=_0x552005-0x6c;var _0x5df63e=_0x3a8553[_0x552005];return _0x5df63e;},_0x5520(_0xe4167e,_0x5a2855);}var pe={'exports':{}},Ci=pe[_0x50acdc(0x211)],ze;function Et(){var _0x598f35=_0x50acdc;return ze||(ze=0x1,function(_0x3b79a6,_0x5261ab){(function(_0x21cca1,_0x58fd34){var _0x482402=_0x5520;_0x3b79a6[_0x482402(0x211)]=_0x58fd34(Q());}(Ci,function(_0x5b72f3){var _0x28ef6b=_0x5520;return(function(){var _0x20c26e=_0x5520,_0x3556e8=_0x5b72f3,_0x43bb63=_0x3556e8[_0x20c26e(0x101)],_0x3eb882=_0x43bb63[_0x20c26e(0x2b5)],_0x4289ab=_0x3556e8[_0x20c26e(0x29a)];_0x4289ab[_0x20c26e(0x215)]={'stringify':function(_0x27d751){var _0x239fe=_0x20c26e,_0x571f8f=_0x27d751['words'],_0x59011=_0x27d751['sigBytes'],_0x479a78=this['_map'];_0x27d751['clamp']();for(var _0x6a1ca=[],_0x2b8d7e=0x0;_0x2b8d7e<_0x59011;_0x2b8d7e+=0x3)for(var _0xe4c244=_0x571f8f[_0x2b8d7e>>>0x2]>>>0x18-_0x2b8d7e%0x4*0x8&0xff,_0x38820d=_0x571f8f[_0x2b8d7e+0x1>>>0x2]>>>0x18-(_0x2b8d7e+0x1)%0x4*0x8&0xff,_0x2923d6=_0x571f8f[_0x2b8d7e+0x2>>>0x2]>>>0x18-(_0x2b8d7e+0x2)%0x4*0x8&0xff,_0x1af171=_0xe4c244<<0x10|_0x38820d<<0x8|_0x2923d6,_0x11baf9=0x0;_0x11baf9<0x4&&_0x2b8d7e+_0x11baf9*0.75<_0x59011;_0x11baf9++)_0x6a1ca[_0x239fe(0x3a3)](_0x479a78[_0x239fe(0x322)](_0x1af171>>>0x6*(0x3-_0x11baf9)&0x3f));var _0x31e498=_0x479a78['charAt'](0x40);if(_0x31e498){for(;_0x6a1ca[_0x239fe(0x31b)]%0x4;)_0x6a1ca[_0x239fe(0x3a3)](_0x31e498);}return _0x6a1ca['join']('');},'parse':function(_0x5c9e55){var _0x1c4436=_0x20c26e,_0x11b04f=_0x5c9e55[_0x1c4436(0x31b)],_0x65d636=this[_0x1c4436(0x327)],_0x4cfc25=this[_0x1c4436(0xb6)];if(!_0x4cfc25){_0x4cfc25=this['_reverseMap']=[];for(var _0x3fad67=0x0;_0x3fad67<_0x65d636['length'];_0x3fad67++)_0x4cfc25[_0x65d636['charCodeAt'](_0x3fad67)]=_0x3fad67;}var _0x4e3831=_0x65d636[_0x1c4436(0x322)](0x40);if(_0x4e3831){var _0x426673=_0x5c9e55['indexOf'](_0x4e3831);_0x426673!==-0x1&&(_0x11b04f=_0x426673);}return _0x4c657(_0x5c9e55,_0x11b04f,_0x4cfc25);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4c657(_0x523e09,_0x130596,_0x2de40c){var _0x36d088=_0x20c26e;for(var _0x35bfaa=[],_0x3bb2b0=0x0,_0x2ed47b=0x0;_0x2ed47b<_0x130596;_0x2ed47b++)if(_0x2ed47b%0x4){var _0x171770=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b-0x1)]<<_0x2ed47b%0x4*0x2,_0x548f2c=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b)]>>>0x6-_0x2ed47b%0x4*0x2,_0x199414=_0x171770|_0x548f2c;_0x35bfaa[_0x3bb2b0>>>0x2]|=_0x199414<<0x18-_0x3bb2b0%0x4*0x8,_0x3bb2b0++;}return _0x3eb882['create'](_0x35bfaa,_0x3bb2b0);}}()),_0x5b72f3[_0x28ef6b(0x29a)][_0x28ef6b(0x215)];}));}(pe)),pe[_0x598f35(0x211)];}var me={'exports':{}},Ti=me['exports'],Je;function bi(){var _0x43879b=_0x50acdc;return Je||(Je=0x1,function(_0x6b6452,_0x19a5cd){(function(_0x37f22c,_0x3b5037){var _0xff45c2=_0x5520;_0x6b6452[_0xff45c2(0x211)]=_0x3b5037(Q());}(Ti,function(_0x3e0159){var _0x4f8ed3=_0x5520;return function(_0x2690e1){var _0x54d1e6=_0x5520,_0x5eaf99=_0x3e0159,_0x1c3c39=_0x5eaf99[_0x54d1e6(0x101)],_0x176d54=_0x1c3c39['WordArray'],_0x4004a4=_0x1c3c39[_0x54d1e6(0x27c)],_0x224e4f=_0x5eaf99[_0x54d1e6(0x28b)],_0x7dd462=[];(function(){var _0x1204b5=_0x54d1e6;for(var _0x3d8e23=0x0;_0x3d8e23<0x40;_0x3d8e23++)_0x7dd462[_0x3d8e23]=_0x2690e1[_0x1204b5(0x2c8)](_0x2690e1[_0x1204b5(0x142)](_0x3d8e23+0x1))*0x100000000|0x0;}());var _0x14f773=_0x224e4f['MD5']=_0x4004a4[_0x54d1e6(0x334)]({'_doReset':function(){var _0xaf6aad=_0x54d1e6;this['_hash']=new _0x176d54[(_0xaf6aad(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11c612,_0x10926b){var _0x539583=_0x54d1e6;for(var _0x3aa613=0x0;_0x3aa613<0x10;_0x3aa613++){var _0x2a8881=_0x10926b+_0x3aa613,_0x14daf8=_0x11c612[_0x2a8881];_0x11c612[_0x2a8881]=(_0x14daf8<<0x8|_0x14daf8>>>0x18)&0xff00ff|(_0x14daf8<<0x18|_0x14daf8>>>0x8)&0xff00ff00;}var _0x3efe5c=this[_0x539583(0x2da)][_0x539583(0xe4)],_0x4c00e5=_0x11c612[_0x10926b+0x0],_0x603a79=_0x11c612[_0x10926b+0x1],_0x5babfc=_0x11c612[_0x10926b+0x2],_0x2187f9=_0x11c612[_0x10926b+0x3],_0x14d721=_0x11c612[_0x10926b+0x4],_0x4a4967=_0x11c612[_0x10926b+0x5],_0x2107c8=_0x11c612[_0x10926b+0x6],_0x865c2e=_0x11c612[_0x10926b+0x7],_0x37e3b3=_0x11c612[_0x10926b+0x8],_0x71ac5e=_0x11c612[_0x10926b+0x9],_0x41adbc=_0x11c612[_0x10926b+0xa],_0x7c6008=_0x11c612[_0x10926b+0xb],_0x378653=_0x11c612[_0x10926b+0xc],_0xaf482e=_0x11c612[_0x10926b+0xd],_0x5b1b0f=_0x11c612[_0x10926b+0xe],_0x794a47=_0x11c612[_0x10926b+0xf],_0x53b683=_0x3efe5c[0x0],_0x362c10=_0x3efe5c[0x1],_0x3f0618=_0x3efe5c[0x2],_0x540014=_0x3efe5c[0x3];_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x7,_0x7dd462[0x0]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x603a79,0xc,_0x7dd462[0x1]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0x11,_0x7dd462[0x2]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2187f9,0x16,_0x7dd462[0x3]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x7,_0x7dd462[0x4]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4a4967,0xc,_0x7dd462[0x5]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0x11,_0x7dd462[0x6]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x865c2e,0x16,_0x7dd462[0x7]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x7,_0x7dd462[0x8]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x71ac5e,0xc,_0x7dd462[0x9]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0x11,_0x7dd462[0xa]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x7c6008,0x16,_0x7dd462[0xb]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x7,_0x7dd462[0xc]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0xaf482e,0xc,_0x7dd462[0xd]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0x11,_0x7dd462[0xe]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x794a47,0x16,_0x7dd462[0xf]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x5,_0x7dd462[0x10]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2107c8,0x9,_0x7dd462[0x11]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0xe,_0x7dd462[0x12]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4c00e5,0x14,_0x7dd462[0x13]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x5,_0x7dd462[0x14]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x41adbc,0x9,_0x7dd462[0x15]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0xe,_0x7dd462[0x16]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x14d721,0x14,_0x7dd462[0x17]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x5,_0x7dd462[0x18]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5b1b0f,0x9,_0x7dd462[0x19]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0xe,_0x7dd462[0x1a]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x37e3b3,0x14,_0x7dd462[0x1b]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x5,_0x7dd462[0x1c]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5babfc,0x9,_0x7dd462[0x1d]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0xe,_0x7dd462[0x1e]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x378653,0x14,_0x7dd462[0x1f]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x4,_0x7dd462[0x20]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x37e3b3,0xb,_0x7dd462[0x21]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0x10,_0x7dd462[0x22]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5b1b0f,0x17,_0x7dd462[0x23]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x4,_0x7dd462[0x24]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x14d721,0xb,_0x7dd462[0x25]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0x10,_0x7dd462[0x26]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x41adbc,0x17,_0x7dd462[0x27]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x4,_0x7dd462[0x28]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4c00e5,0xb,_0x7dd462[0x29]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0x10,_0x7dd462[0x2a]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2107c8,0x17,_0x7dd462[0x2b]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x4,_0x7dd462[0x2c]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x378653,0xb,_0x7dd462[0x2d]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0x10,_0x7dd462[0x2e]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5babfc,0x17,_0x7dd462[0x2f]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x6,_0x7dd462[0x30]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x865c2e,0xa,_0x7dd462[0x31]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0xf,_0x7dd462[0x32]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4a4967,0x15,_0x7dd462[0x33]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x6,_0x7dd462[0x34]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2187f9,0xa,_0x7dd462[0x35]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0xf,_0x7dd462[0x36]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x603a79,0x15,_0x7dd462[0x37]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x6,_0x7dd462[0x38]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x794a47,0xa,_0x7dd462[0x39]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0xf,_0x7dd462[0x3a]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0xaf482e,0x15,_0x7dd462[0x3b]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x6,_0x7dd462[0x3c]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x7c6008,0xa,_0x7dd462[0x3d]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0xf,_0x7dd462[0x3e]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x71ac5e,0x15,_0x7dd462[0x3f]),_0x3efe5c[0x0]=_0x3efe5c[0x0]+_0x53b683|0x0,_0x3efe5c[0x1]=_0x3efe5c[0x1]+_0x362c10|0x0,_0x3efe5c[0x2]=_0x3efe5c[0x2]+_0x3f0618|0x0,_0x3efe5c[0x3]=_0x3efe5c[0x3]+_0x540014|0x0;},'_doFinalize':function(){var _0xacb95a=_0x54d1e6,_0x539dda=this['_data'],_0x504ca4=_0x539dda[_0xacb95a(0xe4)],_0x572723=this[_0xacb95a(0xea)]*0x8,_0x4a64b7=_0x539dda[_0xacb95a(0x13e)]*0x8;_0x504ca4[_0x4a64b7>>>0x5]|=0x80<<0x18-_0x4a64b7%0x20;var _0x1a1f05=_0x2690e1[_0xacb95a(0x3b9)](_0x572723/0x100000000),_0xc7a58=_0x572723;_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xf]=(_0x1a1f05<<0x8|_0x1a1f05>>>0x18)&0xff00ff|(_0x1a1f05<<0x18|_0x1a1f05>>>0x8)&0xff00ff00,_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xe]=(_0xc7a58<<0x8|_0xc7a58>>>0x18)&0xff00ff|(_0xc7a58<<0x18|_0xc7a58>>>0x8)&0xff00ff00,_0x539dda[_0xacb95a(0x13e)]=(_0x504ca4[_0xacb95a(0x31b)]+0x1)*0x4,this[_0xacb95a(0x146)]();for(var _0x4d7347=this[_0xacb95a(0x2da)],_0xa9f53=_0x4d7347[_0xacb95a(0xe4)],_0x126dc2=0x0;_0x126dc2<0x4;_0x126dc2++){var _0x15a778=_0xa9f53[_0x126dc2];_0xa9f53[_0x126dc2]=(_0x15a778<<0x8|_0x15a778>>>0x18)&0xff00ff|(_0x15a778<<0x18|_0x15a778>>>0x8)&0xff00ff00;}return _0x4d7347;},'clone':function(){var _0x18b21a=_0x54d1e6,_0x31d309=_0x4004a4[_0x18b21a(0x128)][_0x18b21a(0x2ac)](this);return _0x31d309[_0x18b21a(0x2da)]=this['_hash']['clone'](),_0x31d309;}});function _0xaa5913(_0x3001e1,_0x5e958b,_0x4b307f,_0x21a6a5,_0x506b33,_0x2b0923,_0x9b97d5){var _0x245f40=_0x3001e1+(_0x5e958b&_0x4b307f|~_0x5e958b&_0x21a6a5)+_0x506b33+_0x9b97d5;return(_0x245f40<<_0x2b0923|_0x245f40>>>0x20-_0x2b0923)+_0x5e958b;}function _0x41d73b(_0x4feef0,_0x4ff18c,_0x5623bc,_0x140cb1,_0x439949,_0x3aefba,_0x39aed0){var _0x2ace84=_0x4feef0+(_0x4ff18c&_0x140cb1|_0x5623bc&~_0x140cb1)+_0x439949+_0x39aed0;return(_0x2ace84<<_0x3aefba|_0x2ace84>>>0x20-_0x3aefba)+_0x4ff18c;}function _0x31bd0e(_0x50e3c9,_0x4e40fa,_0x58be5b,_0x1c7694,_0x5d4b23,_0x5c97c8,_0x1ad628){var _0x25f404=_0x50e3c9+(_0x4e40fa^_0x58be5b^_0x1c7694)+_0x5d4b23+_0x1ad628;return(_0x25f404<<_0x5c97c8|_0x25f404>>>0x20-_0x5c97c8)+_0x4e40fa;}function _0x50395a(_0x5005bb,_0x4d7537,_0x3cb91e,_0x533bb4,_0x393a7c,_0x40d5cf,_0x3c6ccd){var _0x32a695=_0x5005bb+(_0x3cb91e^(_0x4d7537|~_0x533bb4))+_0x393a7c+_0x3c6ccd;return(_0x32a695<<_0x40d5cf|_0x32a695>>>0x20-_0x40d5cf)+_0x4d7537;}_0x5eaf99[_0x54d1e6(0xfe)]=_0x4004a4[_0x54d1e6(0x1ca)](_0x14f773),_0x5eaf99[_0x54d1e6(0x36d)]=_0x4004a4[_0x54d1e6(0x72)](_0x14f773);}(Math),_0x3e0159[_0x4f8ed3(0xfe)];}));}(me)),me[_0x43879b(0x211)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x50acdc(0x211)],Xe;function Ri(){var _0x568734=_0x50acdc;return Xe||(Xe=0x1,function(_0x5d6e90,_0x5bcf66){(function(_0x4e28e0,_0x56d959){var _0x4b4bd8=_0x5520;_0x5d6e90[_0x4b4bd8(0x211)]=_0x56d959(Q());}(Oi,function(_0x4d96f0){var _0x38779b=_0x5520;return(function(){var _0x43aaa8=_0x5520,_0xa4073=_0x4d96f0,_0x362ae6=_0xa4073[_0x43aaa8(0x101)],_0x481538=_0x362ae6[_0x43aaa8(0x2b5)],_0xc2847=_0x362ae6[_0x43aaa8(0x27c)],_0xc1f8d7=_0xa4073['algo'],_0x4b7c8b=[],_0x3f0b5e=_0xc1f8d7['SHA1']=_0xc2847['extend']({'_doReset':function(){var _0x55a386=_0x43aaa8;this[_0x55a386(0x2da)]=new _0x481538[(_0x55a386(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20d753,_0x33f10d){var _0x49971c=_0x43aaa8;for(var _0x522b77=this[_0x49971c(0x2da)]['words'],_0x4c8b44=_0x522b77[0x0],_0x3baf1e=_0x522b77[0x1],_0x3d736c=_0x522b77[0x2],_0x3de8bb=_0x522b77[0x3],_0x24c420=_0x522b77[0x4],_0x3115aa=0x0;_0x3115aa<0x50;_0x3115aa++){if(_0x3115aa<0x10)_0x4b7c8b[_0x3115aa]=_0x20d753[_0x33f10d+_0x3115aa]|0x0;else{var _0x117064=_0x4b7c8b[_0x3115aa-0x3]^_0x4b7c8b[_0x3115aa-0x8]^_0x4b7c8b[_0x3115aa-0xe]^_0x4b7c8b[_0x3115aa-0x10];_0x4b7c8b[_0x3115aa]=_0x117064<<0x1|_0x117064>>>0x1f;}var _0x49e5c1=(_0x4c8b44<<0x5|_0x4c8b44>>>0x1b)+_0x24c420+_0x4b7c8b[_0x3115aa];_0x3115aa<0x14?_0x49e5c1+=(_0x3baf1e&_0x3d736c|~_0x3baf1e&_0x3de8bb)+0x5a827999:_0x3115aa<0x28?_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)+0x6ed9eba1:_0x3115aa<0x3c?_0x49e5c1+=(_0x3baf1e&_0x3d736c|_0x3baf1e&_0x3de8bb|_0x3d736c&_0x3de8bb)-0x70e44324:_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)-0x359d3e2a,_0x24c420=_0x3de8bb,_0x3de8bb=_0x3d736c,_0x3d736c=_0x3baf1e<<0x1e|_0x3baf1e>>>0x2,_0x3baf1e=_0x4c8b44,_0x4c8b44=_0x49e5c1;}_0x522b77[0x0]=_0x522b77[0x0]+_0x4c8b44|0x0,_0x522b77[0x1]=_0x522b77[0x1]+_0x3baf1e|0x0,_0x522b77[0x2]=_0x522b77[0x2]+_0x3d736c|0x0,_0x522b77[0x3]=_0x522b77[0x3]+_0x3de8bb|0x0,_0x522b77[0x4]=_0x522b77[0x4]+_0x24c420|0x0;},'_doFinalize':function(){var _0x429852=_0x43aaa8,_0x560593=this[_0x429852(0x1f9)],_0x5d74cb=_0x560593[_0x429852(0xe4)],_0x520d9c=this['_nDataBytes']*0x8,_0x4a9200=_0x560593[_0x429852(0x13e)]*0x8;return _0x5d74cb[_0x4a9200>>>0x5]|=0x80<<0x18-_0x4a9200%0x20,_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xe]=Math[_0x429852(0x3b9)](_0x520d9c/0x100000000),_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xf]=_0x520d9c,_0x560593[_0x429852(0x13e)]=_0x5d74cb[_0x429852(0x31b)]*0x4,this[_0x429852(0x146)](),this[_0x429852(0x2da)];},'clone':function(){var _0x1bb548=_0x43aaa8,_0x4c465d=_0xc2847[_0x1bb548(0x128)][_0x1bb548(0x2ac)](this);return _0x4c465d['_hash']=this[_0x1bb548(0x2da)][_0x1bb548(0x128)](),_0x4c465d;}});_0xa4073['SHA1']=_0xc2847['_createHelper'](_0x3f0b5e),_0xa4073['HmacSHA1']=_0xc2847['_createHmacHelper'](_0x3f0b5e);}()),_0x4d96f0[_0x38779b(0x3c6)];}));}(Ee)),Ee[_0x568734(0x211)];}var Ce={'exports':{}},yi=Ce[_0x50acdc(0x211)],Ze;function Ni(){var _0x244020=_0x50acdc;return Ze||(Ze=0x1,function(_0x55c253,_0x4c717d){(function(_0x528e8c,_0x3cfdd0){var _0x94c8ab=_0x5520;_0x55c253[_0x94c8ab(0x211)]=_0x3cfdd0(Q());}(yi,function(_0x9241b){(function(){var _0x56a29b=_0x5520,_0x20e5bd=_0x9241b,_0x2e1acb=_0x20e5bd[_0x56a29b(0x101)],_0x260738=_0x2e1acb[_0x56a29b(0x248)],_0x376748=_0x20e5bd[_0x56a29b(0x29a)],_0x521d34=_0x376748[_0x56a29b(0x30d)],_0x442940=_0x20e5bd['algo'];_0x442940[_0x56a29b(0x313)]=_0x260738[_0x56a29b(0x334)]({'init':function(_0x59dcda,_0x57ffb6){var _0x1b5216=_0x56a29b;_0x59dcda=this[_0x1b5216(0x1e8)]=new _0x59dcda[(_0x1b5216(0x132))](),typeof _0x57ffb6==_0x1b5216(0x102)&&(_0x57ffb6=_0x521d34[_0x1b5216(0x39d)](_0x57ffb6));var _0x5dd6c1=_0x59dcda[_0x1b5216(0x127)],_0x232d56=_0x5dd6c1*0x4;_0x57ffb6['sigBytes']>_0x232d56&&(_0x57ffb6=_0x59dcda[_0x1b5216(0x314)](_0x57ffb6)),_0x57ffb6[_0x1b5216(0x3bb)]();for(var _0x28b372=this[_0x1b5216(0x2e2)]=_0x57ffb6['clone'](),_0x1109c8=this['_iKey']=_0x57ffb6['clone'](),_0x479919=_0x28b372[_0x1b5216(0xe4)],_0x138d8d=_0x1109c8[_0x1b5216(0xe4)],_0x486d66=0x0;_0x486d66<_0x5dd6c1;_0x486d66++)_0x479919[_0x486d66]^=0x5c5c5c5c,_0x138d8d[_0x486d66]^=0x36363636;_0x28b372[_0x1b5216(0x13e)]=_0x1109c8[_0x1b5216(0x13e)]=_0x232d56,this[_0x1b5216(0x29e)]();},'reset':function(){var _0x19dfd6=_0x56a29b,_0x167695=this[_0x19dfd6(0x1e8)];_0x167695[_0x19dfd6(0x29e)](),_0x167695['update'](this[_0x19dfd6(0x91)]);},'update':function(_0x7b5d4c){var _0x5a17df=_0x56a29b;return this[_0x5a17df(0x1e8)]['update'](_0x7b5d4c),this;},'finalize':function(_0x19515a){var _0x26a6bf=_0x56a29b,_0x402426=this['_hasher'],_0x4545cb=_0x402426[_0x26a6bf(0x314)](_0x19515a);_0x402426[_0x26a6bf(0x29e)]();var _0x4ddc6e=_0x402426[_0x26a6bf(0x314)](this[_0x26a6bf(0x2e2)][_0x26a6bf(0x128)]()[_0x26a6bf(0x37d)](_0x4545cb));return _0x4ddc6e;}});}());}));}(Ce)),Ce[_0x244020(0x211)];}var Di=ge[_0x50acdc(0x211)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x47fcc3,_0x1ded13){(function(_0x5a64ae,_0x64e1e3,_0x51c438){var _0x1d6138=_0x5520;_0x47fcc3[_0x1d6138(0x211)]=_0x64e1e3(Q(),Ri(),Ni());}(Di,function(_0x4a17d1){return(function(){var _0x2ab4d3=_0x5520,_0x64ecb4=_0x4a17d1,_0x1c2109=_0x64ecb4['lib'],_0x792da3=_0x1c2109['Base'],_0x24f145=_0x1c2109[_0x2ab4d3(0x2b5)],_0x230c3d=_0x64ecb4[_0x2ab4d3(0x28b)],_0x3bf8fc=_0x230c3d[_0x2ab4d3(0xfe)],_0x26ebaf=_0x230c3d['EvpKDF']=_0x792da3[_0x2ab4d3(0x334)]({'cfg':_0x792da3['extend']({'keySize':0x80/0x20,'hasher':_0x3bf8fc,'iterations':0x1}),'init':function(_0x1e66da){var _0x59b42e=_0x2ab4d3;this[_0x59b42e(0x8a)]=this[_0x59b42e(0x8a)][_0x59b42e(0x334)](_0x1e66da);},'compute':function(_0x4b68c9,_0xd9431f){var _0x57dc1b=_0x2ab4d3;for(var _0x190275,_0x35db47=this[_0x57dc1b(0x8a)],_0x3b4538=_0x35db47[_0x57dc1b(0x30a)][_0x57dc1b(0x1f1)](),_0x4cd1e0=_0x24f145[_0x57dc1b(0x1f1)](),_0x172c95=_0x4cd1e0[_0x57dc1b(0xe4)],_0x49de5b=_0x35db47[_0x57dc1b(0x86)],_0xbd2ea4=_0x35db47['iterations'];_0x172c95['length']<_0x49de5b;){_0x190275&&_0x3b4538[_0x57dc1b(0xc4)](_0x190275),_0x190275=_0x3b4538['update'](_0x4b68c9)[_0x57dc1b(0x314)](_0xd9431f),_0x3b4538['reset']();for(var _0x40e732=0x1;_0x40e732<_0xbd2ea4;_0x40e732++)_0x190275=_0x3b4538[_0x57dc1b(0x314)](_0x190275),_0x3b4538[_0x57dc1b(0x29e)]();_0x4cd1e0['concat'](_0x190275);}return _0x4cd1e0[_0x57dc1b(0x13e)]=_0x49de5b*0x4,_0x4cd1e0;}});_0x64ecb4[_0x2ab4d3(0x352)]=function(_0x572a81,_0x1b479a,_0x299c8f){var _0x458d60=_0x2ab4d3;return _0x26ebaf[_0x458d60(0x1f1)](_0x299c8f)[_0x458d60(0x170)](_0x572a81,_0x1b479a);};}()),_0x4a17d1['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x5e5c43=_0x50acdc;return et||(et=0x1,function(_0x3f7fac,_0x6cb5f3){(function(_0x31c285,_0x4edc4c,_0x25dc4d){var _0x1cd4e3=_0x5520;_0x3f7fac[_0x1cd4e3(0x211)]=_0x4edc4c(Q(),Ct());}(Ui,function(_0xcb7230){var _0x4eb2d4=_0x5520;_0xcb7230[_0x4eb2d4(0x101)][_0x4eb2d4(0xdf)]||function(_0x527e0c){var _0x1230dc=_0x4eb2d4,_0x528608=_0xcb7230,_0x59fcf6=_0x528608[_0x1230dc(0x101)],_0x4f45de=_0x59fcf6[_0x1230dc(0x248)],_0x1beaf0=_0x59fcf6[_0x1230dc(0x2b5)],_0x575ec6=_0x59fcf6[_0x1230dc(0x305)],_0x426895=_0x528608['enc'];_0x426895[_0x1230dc(0x30d)];var _0x27d0ad=_0x426895[_0x1230dc(0x215)],_0x486aa3=_0x528608[_0x1230dc(0x28b)],_0x3edde8=_0x486aa3[_0x1230dc(0x352)],_0x5846d0=_0x59fcf6[_0x1230dc(0xdf)]=_0x575ec6['extend']({'cfg':_0x4f45de[_0x1230dc(0x334)](),'createEncryptor':function(_0x10e92f,_0x3e222a){var _0xaf64b9=_0x1230dc;return this[_0xaf64b9(0x1f1)](this[_0xaf64b9(0x2d5)],_0x10e92f,_0x3e222a);},'createDecryptor':function(_0x2369f8,_0x2d3c5e){var _0x15741f=_0x1230dc;return this[_0x15741f(0x1f1)](this['_DEC_XFORM_MODE'],_0x2369f8,_0x2d3c5e);},'init':function(_0x164c20,_0x3e6c5e,_0x590745){var _0x5c2425=_0x1230dc;this[_0x5c2425(0x8a)]=this[_0x5c2425(0x8a)][_0x5c2425(0x334)](_0x590745),this['_xformMode']=_0x164c20,this['_key']=_0x3e6c5e,this['reset']();},'reset':function(){var _0x90a3a0=_0x1230dc;_0x575ec6['reset']['call'](this),this[_0x90a3a0(0x31d)]();},'process':function(_0x78debc){var _0x17e489=_0x1230dc;return this['_append'](_0x78debc),this[_0x17e489(0x146)]();},'finalize':function(_0x4079c9){_0x4079c9&&this['_append'](_0x4079c9);var _0x14a02b=this['_doFinalize']();return _0x14a02b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x355ef8(_0x543d90){var _0x546fc1=_0x5520;return typeof _0x543d90==_0x546fc1(0x102)?_0x210d25:_0x2f6a0e;}return function(_0x996883){return{'encrypt':function(_0x59342d,_0x1bf471,_0x1445b2){var _0x39b089=_0x5520;return _0x355ef8(_0x1bf471)[_0x39b089(0x3a0)](_0x996883,_0x59342d,_0x1bf471,_0x1445b2);},'decrypt':function(_0x443709,_0x171127,_0x33ae32){var _0x12030a=_0x5520;return _0x355ef8(_0x171127)[_0x12030a(0x289)](_0x996883,_0x443709,_0x171127,_0x33ae32);}};};}())});_0x59fcf6[_0x1230dc(0x364)]=_0x5846d0[_0x1230dc(0x334)]({'_doFinalize':function(){var _0x59a3cc=this['_process'](!0x0);return _0x59a3cc;},'blockSize':0x1});var _0x3d1c48=_0x528608['mode']={},_0x948b23=_0x59fcf6[_0x1230dc(0x17a)]=_0x4f45de['extend']({'createEncryptor':function(_0x471701,_0x5ef7e5){var _0x1a08c9=_0x1230dc;return this['Encryptor'][_0x1a08c9(0x1f1)](_0x471701,_0x5ef7e5);},'createDecryptor':function(_0x910854,_0x5d1169){var _0x16f07f=_0x1230dc;return this[_0x16f07f(0x1d8)]['create'](_0x910854,_0x5d1169);},'init':function(_0x5c9183,_0x50520f){var _0x3943c0=_0x1230dc;this['_cipher']=_0x5c9183,this[_0x3943c0(0x1a9)]=_0x50520f;}}),_0x35b786=_0x3d1c48[_0x1230dc(0x32d)]=(function(){var _0x483e55=_0x1230dc,_0x1be129=_0x948b23[_0x483e55(0x334)]();_0x1be129['Encryptor']=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0x23cf52,_0x547438){var _0x5a265d=_0x483e55,_0x5c2bfa=this[_0x5a265d(0x1ed)],_0x22b554=_0x5c2bfa['blockSize'];_0x1dea28[_0x5a265d(0x2ac)](this,_0x23cf52,_0x547438,_0x22b554),_0x5c2bfa[_0x5a265d(0x122)](_0x23cf52,_0x547438),this[_0x5a265d(0x16e)]=_0x23cf52[_0x5a265d(0x2ef)](_0x547438,_0x547438+_0x22b554);}}),_0x1be129[_0x483e55(0x1d8)]=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0xf3d46c,_0x106582){var _0x42da27=_0x483e55,_0x4e1766=this[_0x42da27(0x1ed)],_0x2ffca0=_0x4e1766[_0x42da27(0x127)],_0x27762c=_0xf3d46c['slice'](_0x106582,_0x106582+_0x2ffca0);_0x4e1766[_0x42da27(0xdc)](_0xf3d46c,_0x106582),_0x1dea28[_0x42da27(0x2ac)](this,_0xf3d46c,_0x106582,_0x2ffca0),this[_0x42da27(0x16e)]=_0x27762c;}});function _0x1dea28(_0x3b7417,_0x1d1db1,_0x56314f){var _0x2abbe0=_0x483e55,_0xe4595d,_0x430c7f=this[_0x2abbe0(0x1a9)];_0x430c7f?(_0xe4595d=_0x430c7f,this[_0x2abbe0(0x1a9)]=_0x527e0c):_0xe4595d=this[_0x2abbe0(0x16e)];for(var _0x476981=0x0;_0x476981<_0x56314f;_0x476981++)_0x3b7417[_0x1d1db1+_0x476981]^=_0xe4595d[_0x476981];}return _0x1be129;}()),_0xb51bae=_0x528608[_0x1230dc(0x21a)]={},_0x21cf09=_0xb51bae['Pkcs7']={'pad':function(_0x471495,_0x12078f){var _0x1bef21=_0x1230dc;for(var _0x2aa051=_0x12078f*0x4,_0x2c28f3=_0x2aa051-_0x471495[_0x1bef21(0x13e)]%_0x2aa051,_0x50ebad=_0x2c28f3<<0x18|_0x2c28f3<<0x10|_0x2c28f3<<0x8|_0x2c28f3,_0x54591f=[],_0x2ef871=0x0;_0x2ef871<_0x2c28f3;_0x2ef871+=0x4)_0x54591f[_0x1bef21(0x3a3)](_0x50ebad);var _0x4748c8=_0x1beaf0['create'](_0x54591f,_0x2c28f3);_0x471495[_0x1bef21(0x37d)](_0x4748c8);},'unpad':function(_0x3512f3){var _0x551357=_0x1230dc,_0x18d7a8=_0x3512f3[_0x551357(0xe4)][_0x3512f3['sigBytes']-0x1>>>0x2]&0xff;_0x3512f3[_0x551357(0x13e)]-=_0x18d7a8;}};_0x59fcf6[_0x1230dc(0x28d)]=_0x5846d0[_0x1230dc(0x334)]({'cfg':_0x5846d0[_0x1230dc(0x8a)]['extend']({'mode':_0x35b786,'padding':_0x21cf09}),'reset':function(){var _0x1722f9=_0x1230dc,_0x31792b;_0x5846d0[_0x1722f9(0x29e)][_0x1722f9(0x2ac)](this);var _0x59ce79=this[_0x1722f9(0x8a)],_0x10a229=_0x59ce79['iv'],_0x2e5cce=_0x59ce79[_0x1722f9(0x2b0)];this[_0x1722f9(0x1c2)]==this['_ENC_XFORM_MODE']?_0x31792b=_0x2e5cce[_0x1722f9(0xd6)]:(_0x31792b=_0x2e5cce[_0x1722f9(0x2c9)],this[_0x1722f9(0x256)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x31792b?this[_0x1722f9(0x2ff)][_0x1722f9(0x132)](this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]):(this[_0x1722f9(0x2ff)]=_0x31792b[_0x1722f9(0x2ac)](_0x2e5cce,this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]),this[_0x1722f9(0x2ff)][_0x1722f9(0x3b5)]=_0x31792b);},'_doProcessBlock':function(_0x4a9552,_0x4988db){var _0x1dbb62=_0x1230dc;this[_0x1dbb62(0x2ff)][_0x1dbb62(0x150)](_0x4a9552,_0x4988db);},'_doFinalize':function(){var _0x1615e0=_0x1230dc,_0x40a773,_0x576315=this[_0x1615e0(0x8a)][_0x1615e0(0x3c0)];return this[_0x1615e0(0x1c2)]==this[_0x1615e0(0x2d5)]?(_0x576315[_0x1615e0(0x21a)](this[_0x1615e0(0x1f9)],this['blockSize']),_0x40a773=this[_0x1615e0(0x146)](!0x0)):(_0x40a773=this[_0x1615e0(0x146)](!0x0),_0x576315[_0x1615e0(0x2e7)](_0x40a773)),_0x40a773;},'blockSize':0x80/0x20});var _0x267e3e=_0x59fcf6[_0x1230dc(0x1a6)]=_0x4f45de['extend']({'init':function(_0x318f1d){var _0x42e7c6=_0x1230dc;this[_0x42e7c6(0x143)](_0x318f1d);},'toString':function(_0x1762a4){var _0x3e50e6=_0x1230dc;return(_0x1762a4||this[_0x3e50e6(0x33c)])[_0x3e50e6(0x8b)](this);}}),_0x2a334d=_0x528608[_0x1230dc(0x134)]={},_0x16908f=_0x2a334d[_0x1230dc(0x3c2)]={'stringify':function(_0x2cb7ac){var _0x1f049f=_0x1230dc,_0x1d85d1,_0x5b5d88=_0x2cb7ac[_0x1f049f(0x100)],_0x585b3d=_0x2cb7ac[_0x1f049f(0x1d1)];return _0x585b3d?_0x1d85d1=_0x1beaf0[_0x1f049f(0x1f1)]([0x53616c74,0x65645f5f])[_0x1f049f(0x37d)](_0x585b3d)[_0x1f049f(0x37d)](_0x5b5d88):_0x1d85d1=_0x5b5d88,_0x1d85d1['toString'](_0x27d0ad);},'parse':function(_0x2d0f4a){var _0x4a3df5=_0x1230dc,_0x20e28b,_0x32f44c=_0x27d0ad[_0x4a3df5(0x39d)](_0x2d0f4a),_0x4d2c29=_0x32f44c['words'];return _0x4d2c29[0x0]==0x53616c74&&_0x4d2c29[0x1]==0x65645f5f&&(_0x20e28b=_0x1beaf0[_0x4a3df5(0x1f1)](_0x4d2c29[_0x4a3df5(0x2ef)](0x2,0x4)),_0x4d2c29[_0x4a3df5(0x17d)](0x0,0x4),_0x32f44c[_0x4a3df5(0x13e)]-=0x10),_0x267e3e[_0x4a3df5(0x1f1)]({'ciphertext':_0x32f44c,'salt':_0x20e28b});}},_0x2f6a0e=_0x59fcf6['SerializableCipher']=_0x4f45de[_0x1230dc(0x334)]({'cfg':_0x4f45de['extend']({'format':_0x16908f}),'encrypt':function(_0x245ad2,_0x22e4bc,_0x5733ba,_0x252ffe){var _0x3a1af2=_0x1230dc;_0x252ffe=this[_0x3a1af2(0x8a)][_0x3a1af2(0x334)](_0x252ffe);var _0xa342e=_0x245ad2[_0x3a1af2(0xd6)](_0x5733ba,_0x252ffe),_0x193d6e=_0xa342e[_0x3a1af2(0x314)](_0x22e4bc),_0x39aab2=_0xa342e[_0x3a1af2(0x8a)];return _0x267e3e[_0x3a1af2(0x1f1)]({'ciphertext':_0x193d6e,'key':_0x5733ba,'iv':_0x39aab2['iv'],'algorithm':_0x245ad2,'mode':_0x39aab2[_0x3a1af2(0x2b0)],'padding':_0x39aab2[_0x3a1af2(0x3c0)],'blockSize':_0x245ad2[_0x3a1af2(0x127)],'formatter':_0x252ffe['format']});},'decrypt':function(_0x47f894,_0x5bbf75,_0x29fe1f,_0x4058a9){var _0xa35eda=_0x1230dc;_0x4058a9=this['cfg'][_0xa35eda(0x334)](_0x4058a9),_0x5bbf75=this[_0xa35eda(0xc3)](_0x5bbf75,_0x4058a9[_0xa35eda(0x134)]);var _0x433383=_0x47f894['createDecryptor'](_0x29fe1f,_0x4058a9)[_0xa35eda(0x314)](_0x5bbf75[_0xa35eda(0x100)]);return _0x433383;},'_parse':function(_0xa753c8,_0x236471){var _0x4e7946=_0x1230dc;return typeof _0xa753c8=='string'?_0x236471[_0x4e7946(0x39d)](_0xa753c8,this):_0xa753c8;}}),_0x32e532=_0x528608[_0x1230dc(0x280)]={},_0x9d00d9=_0x32e532[_0x1230dc(0x3c2)]={'execute':function(_0x5eb70a,_0x50f7c1,_0x297155,_0x2cd3a9,_0x598094){var _0x3228c=_0x1230dc;if(_0x2cd3a9||(_0x2cd3a9=_0x1beaf0[_0x3228c(0x242)](0x40/0x8)),_0x598094)var _0x592470=_0x3edde8['create']({'keySize':_0x50f7c1+_0x297155,'hasher':_0x598094})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);else var _0x592470=_0x3edde8[_0x3228c(0x1f1)]({'keySize':_0x50f7c1+_0x297155})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);var _0x5212e1=_0x1beaf0['create'](_0x592470[_0x3228c(0xe4)][_0x3228c(0x2ef)](_0x50f7c1),_0x297155*0x4);return _0x592470[_0x3228c(0x13e)]=_0x50f7c1*0x4,_0x267e3e[_0x3228c(0x1f1)]({'key':_0x592470,'iv':_0x5212e1,'salt':_0x2cd3a9});}},_0x210d25=_0x59fcf6[_0x1230dc(0x278)]=_0x2f6a0e['extend']({'cfg':_0x2f6a0e[_0x1230dc(0x8a)][_0x1230dc(0x334)]({'kdf':_0x9d00d9}),'encrypt':function(_0x980d22,_0x445735,_0x4f9b84,_0x404b0e){var _0x4525fb=_0x1230dc;_0x404b0e=this[_0x4525fb(0x8a)][_0x4525fb(0x334)](_0x404b0e);var _0x462bbc=_0x404b0e[_0x4525fb(0x280)][_0x4525fb(0x356)](_0x4f9b84,_0x980d22[_0x4525fb(0x86)],_0x980d22[_0x4525fb(0xb2)],_0x404b0e[_0x4525fb(0x1d1)],_0x404b0e[_0x4525fb(0x30a)]);_0x404b0e['iv']=_0x462bbc['iv'];var _0x4516b8=_0x2f6a0e[_0x4525fb(0x3a0)]['call'](this,_0x980d22,_0x445735,_0x462bbc[_0x4525fb(0x394)],_0x404b0e);return _0x4516b8[_0x4525fb(0x143)](_0x462bbc),_0x4516b8;},'decrypt':function(_0x59b1e8,_0x243366,_0x4017c0,_0x444b05){var _0x35f22a=_0x1230dc;_0x444b05=this[_0x35f22a(0x8a)][_0x35f22a(0x334)](_0x444b05),_0x243366=this[_0x35f22a(0xc3)](_0x243366,_0x444b05[_0x35f22a(0x134)]);var _0x14bceb=_0x444b05[_0x35f22a(0x280)]['execute'](_0x4017c0,_0x59b1e8[_0x35f22a(0x86)],_0x59b1e8[_0x35f22a(0xb2)],_0x243366[_0x35f22a(0x1d1)],_0x444b05[_0x35f22a(0x30a)]);_0x444b05['iv']=_0x14bceb['iv'];var _0x55fc91=_0x2f6a0e[_0x35f22a(0x289)][_0x35f22a(0x2ac)](this,_0x59b1e8,_0x243366,_0x14bceb[_0x35f22a(0x394)],_0x444b05);return _0x55fc91;}});}();}));}(Te)),Te[_0x5e5c43(0x211)];}var Ai=fe[_0x50acdc(0x211)],tt;function Pi(){var _0x4a4532=_0x50acdc;return tt||(tt=0x1,function(_0x5a5a79,_0x51d830){(function(_0x5e31eb,_0x33345a,_0x417985){var _0x2d5a26=_0x5520;_0x5a5a79[_0x2d5a26(0x211)]=_0x33345a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x53ea5c){var _0x5d1b3f=_0x5520;return(function(){var _0x1570fb=_0x5520,_0x403653=_0x53ea5c,_0x395f30=_0x403653[_0x1570fb(0x101)],_0x47673c=_0x395f30[_0x1570fb(0x28d)],_0x157871=_0x403653[_0x1570fb(0x28b)],_0x529575=[],_0xbaffeb=[],_0x132f8b=[],_0x20609f=[],_0x4d92e2=[],_0x272867=[],_0xb02039=[],_0x50d560=[],_0x221163=[],_0x4aa83f=[];(function(){for(var _0x1a1860=[],_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++)_0xf1407c<0x80?_0x1a1860[_0xf1407c]=_0xf1407c<<0x1:_0x1a1860[_0xf1407c]=_0xf1407c<<0x1^0x11b;for(var _0x3850da=0x0,_0x336c0a=0x0,_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++){var _0x21d3e3=_0x336c0a^_0x336c0a<<0x1^_0x336c0a<<0x2^_0x336c0a<<0x3^_0x336c0a<<0x4;_0x21d3e3=_0x21d3e3>>>0x8^_0x21d3e3&0xff^0x63,_0x529575[_0x3850da]=_0x21d3e3,_0xbaffeb[_0x21d3e3]=_0x3850da;var _0x1a0694=_0x1a1860[_0x3850da],_0x31e3c5=_0x1a1860[_0x1a0694],_0x23d4ca=_0x1a1860[_0x31e3c5],_0x57c920=_0x1a1860[_0x21d3e3]*0x101^_0x21d3e3*0x1010100;_0x132f8b[_0x3850da]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x20609f[_0x3850da]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x4d92e2[_0x3850da]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x272867[_0x3850da]=_0x57c920;var _0x57c920=_0x23d4ca*0x1010101^_0x31e3c5*0x10001^_0x1a0694*0x101^_0x3850da*0x1010100;_0xb02039[_0x21d3e3]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x50d560[_0x21d3e3]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x221163[_0x21d3e3]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x4aa83f[_0x21d3e3]=_0x57c920,_0x3850da?(_0x3850da=_0x1a0694^_0x1a1860[_0x1a1860[_0x1a1860[_0x23d4ca^_0x1a0694]]],_0x336c0a^=_0x1a1860[_0x1a1860[_0x336c0a]]):_0x3850da=_0x336c0a=0x1;}}());var _0x1f668a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfb14f5=_0x157871[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x334)]({'_doReset':function(){var _0x103599=_0x1570fb,_0x4d9cf8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x103599(0x84)])){for(var _0xe39687=this[_0x103599(0x8c)]=this[_0x103599(0x84)],_0x5ce539=_0xe39687[_0x103599(0xe4)],_0x4d24f7=_0xe39687[_0x103599(0x13e)]/0x4,_0x5d8e23=this[_0x103599(0x3de)]=_0x4d24f7+0x6,_0x3924b9=(_0x5d8e23+0x1)*0x4,_0x54b7d0=this[_0x103599(0xc8)]=[],_0x457448=0x0;_0x457448<_0x3924b9;_0x457448++)_0x457448<_0x4d24f7?_0x54b7d0[_0x457448]=_0x5ce539[_0x457448]:(_0x4d9cf8=_0x54b7d0[_0x457448-0x1],_0x457448%_0x4d24f7?_0x4d24f7>0x6&&_0x457448%_0x4d24f7==0x4&&(_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff]):(_0x4d9cf8=_0x4d9cf8<<0x8|_0x4d9cf8>>>0x18,_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff],_0x4d9cf8^=_0x1f668a[_0x457448/_0x4d24f7|0x0]<<0x18),_0x54b7d0[_0x457448]=_0x54b7d0[_0x457448-_0x4d24f7]^_0x4d9cf8);for(var _0x28eec1=this['_invKeySchedule']=[],_0x32f6ab=0x0;_0x32f6ab<_0x3924b9;_0x32f6ab++){var _0x457448=_0x3924b9-_0x32f6ab;if(_0x32f6ab%0x4)var _0x4d9cf8=_0x54b7d0[_0x457448];else var _0x4d9cf8=_0x54b7d0[_0x457448-0x4];_0x32f6ab<0x4||_0x457448<=0x4?_0x28eec1[_0x32f6ab]=_0x4d9cf8:_0x28eec1[_0x32f6ab]=_0xb02039[_0x529575[_0x4d9cf8>>>0x18]]^_0x50d560[_0x529575[_0x4d9cf8>>>0x10&0xff]]^_0x221163[_0x529575[_0x4d9cf8>>>0x8&0xff]]^_0x4aa83f[_0x529575[_0x4d9cf8&0xff]];}}},'encryptBlock':function(_0x37296a,_0x28e949){this['_doCryptBlock'](_0x37296a,_0x28e949,this['_keySchedule'],_0x132f8b,_0x20609f,_0x4d92e2,_0x272867,_0x529575);},'decryptBlock':function(_0xc68f87,_0x29f2ce){var _0x57fabf=_0x1570fb,_0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895,this[_0x57fabf(0x191)](_0xc68f87,_0x29f2ce,this[_0x57fabf(0xd4)],_0xb02039,_0x50d560,_0x221163,_0x4aa83f,_0xbaffeb);var _0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895;},'_doCryptBlock':function(_0x52a88a,_0x277d12,_0x3f10d2,_0x178e38,_0x3b897e,_0x4aabaa,_0x2c52e6,_0x51351b){for(var _0x45c83b=this['_nRounds'],_0x2aa1e0=_0x52a88a[_0x277d12]^_0x3f10d2[0x0],_0x1fbe00=_0x52a88a[_0x277d12+0x1]^_0x3f10d2[0x1],_0x86629a=_0x52a88a[_0x277d12+0x2]^_0x3f10d2[0x2],_0x367c52=_0x52a88a[_0x277d12+0x3]^_0x3f10d2[0x3],_0x14b557=0x4,_0x5040a8=0x1;_0x5040a8<_0x45c83b;_0x5040a8++){var _0x277c26=_0x178e38[_0x2aa1e0>>>0x18]^_0x3b897e[_0x1fbe00>>>0x10&0xff]^_0x4aabaa[_0x86629a>>>0x8&0xff]^_0x2c52e6[_0x367c52&0xff]^_0x3f10d2[_0x14b557++],_0x48aed9=_0x178e38[_0x1fbe00>>>0x18]^_0x3b897e[_0x86629a>>>0x10&0xff]^_0x4aabaa[_0x367c52>>>0x8&0xff]^_0x2c52e6[_0x2aa1e0&0xff]^_0x3f10d2[_0x14b557++],_0x3cea8e=_0x178e38[_0x86629a>>>0x18]^_0x3b897e[_0x367c52>>>0x10&0xff]^_0x4aabaa[_0x2aa1e0>>>0x8&0xff]^_0x2c52e6[_0x1fbe00&0xff]^_0x3f10d2[_0x14b557++],_0x52e95a=_0x178e38[_0x367c52>>>0x18]^_0x3b897e[_0x2aa1e0>>>0x10&0xff]^_0x4aabaa[_0x1fbe00>>>0x8&0xff]^_0x2c52e6[_0x86629a&0xff]^_0x3f10d2[_0x14b557++];_0x2aa1e0=_0x277c26,_0x1fbe00=_0x48aed9,_0x86629a=_0x3cea8e,_0x367c52=_0x52e95a;}var _0x277c26=(_0x51351b[_0x2aa1e0>>>0x18]<<0x18|_0x51351b[_0x1fbe00>>>0x10&0xff]<<0x10|_0x51351b[_0x86629a>>>0x8&0xff]<<0x8|_0x51351b[_0x367c52&0xff])^_0x3f10d2[_0x14b557++],_0x48aed9=(_0x51351b[_0x1fbe00>>>0x18]<<0x18|_0x51351b[_0x86629a>>>0x10&0xff]<<0x10|_0x51351b[_0x367c52>>>0x8&0xff]<<0x8|_0x51351b[_0x2aa1e0&0xff])^_0x3f10d2[_0x14b557++],_0x3cea8e=(_0x51351b[_0x86629a>>>0x18]<<0x18|_0x51351b[_0x367c52>>>0x10&0xff]<<0x10|_0x51351b[_0x2aa1e0>>>0x8&0xff]<<0x8|_0x51351b[_0x1fbe00&0xff])^_0x3f10d2[_0x14b557++],_0x52e95a=(_0x51351b[_0x367c52>>>0x18]<<0x18|_0x51351b[_0x2aa1e0>>>0x10&0xff]<<0x10|_0x51351b[_0x1fbe00>>>0x8&0xff]<<0x8|_0x51351b[_0x86629a&0xff])^_0x3f10d2[_0x14b557++];_0x52a88a[_0x277d12]=_0x277c26,_0x52a88a[_0x277d12+0x1]=_0x48aed9,_0x52a88a[_0x277d12+0x2]=_0x3cea8e,_0x52a88a[_0x277d12+0x3]=_0x52e95a;},'keySize':0x100/0x20});_0x403653[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x1ca)](_0xfb14f5);}()),_0x53ea5c[_0x5d1b3f(0x29f)];}));}(fe)),fe[_0x4a4532(0x211)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x50acdc(0x211)],nt;function ki(){var _0x108922=_0x50acdc;return nt||(nt=0x1,function(_0x4d9b69,_0x45faa0){(function(_0x5c1a74,_0x1e3bcd){var _0x301fc6=_0x5520;_0x4d9b69[_0x301fc6(0x211)]=_0x1e3bcd(Q());}(xi,function(_0x4477dc){var _0x19f991=_0x5520;return _0x4477dc[_0x19f991(0x29a)][_0x19f991(0x30d)];}));}(be)),be[_0x108922(0x211)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x50acdc(0x211)],rt;function Bi(){return rt||(rt=0x1,function(_0x320b81,_0x5ab6fc){(function(_0xf6313,_0x9d0376){var _0x502566=_0x5520;_0x320b81[_0x502566(0x211)]=_0x9d0376(Q());}(ji,function(_0x3910bc){var _0x3d55ae=_0x5520;return(function(){var _0x25eb9c=_0x5520;if(typeof ArrayBuffer==_0x25eb9c(0x2e9)){var _0x4d2a37=_0x3910bc,_0x52a274=_0x4d2a37[_0x25eb9c(0x101)],_0x26ac81=_0x52a274[_0x25eb9c(0x2b5)],_0x571ffe=_0x26ac81['init'],_0x1df812=_0x26ac81['init']=function(_0x33a474){var _0x5b8e9c=_0x25eb9c;if(_0x33a474 instanceof ArrayBuffer&&(_0x33a474=new Uint8Array(_0x33a474)),(_0x33a474 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33a474 instanceof Uint8ClampedArray||_0x33a474 instanceof Int16Array||_0x33a474 instanceof Uint16Array||_0x33a474 instanceof Int32Array||_0x33a474 instanceof Uint32Array||_0x33a474 instanceof Float32Array||_0x33a474 instanceof Float64Array)&&(_0x33a474=new Uint8Array(_0x33a474['buffer'],_0x33a474[_0x5b8e9c(0x33d)],_0x33a474['byteLength'])),_0x33a474 instanceof Uint8Array){for(var _0x3c0292=_0x33a474[_0x5b8e9c(0x3df)],_0x32e36c=[],_0x1f0041=0x0;_0x1f0041<_0x3c0292;_0x1f0041++)_0x32e36c[_0x1f0041>>>0x2]|=_0x33a474[_0x1f0041]<<0x18-_0x1f0041%0x4*0x8;_0x571ffe[_0x5b8e9c(0x2ac)](this,_0x32e36c,_0x3c0292);}else _0x571ffe[_0x5b8e9c(0x303)](this,arguments);};_0x1df812['prototype']=_0x26ac81;}}()),_0x3910bc[_0x3d55ae(0x101)]['WordArray'];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x50acdc(0x211)],st;function Gi(){return st||(st=0x1,function(_0x30ee03,_0x5a11e9){(function(_0x51ff41,_0x4973fa,_0xf13c67){var _0x3368ab=_0x5520;_0x30ee03[_0x3368ab(0x211)]=_0x4973fa(Q(),Tt());}(Wi,function(_0x5084ed){var _0x47bb29=_0x5520;return _0x5084ed[_0x47bb29(0x21a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5084ed[_0x47bb29(0x21a)][_0x47bb29(0x24d)];}));}(Re)),Re['exports'];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x311e67,_0x2615d7){var _0x549109=_0x50acdc;const _0x5e229d=_0x2615d7-_0x311e67[_0x549109(0x31b)]%_0x2615d7,_0xf3e3a2=String[_0x549109(0x176)](_0x5e229d)[_0x549109(0x3d4)](_0x5e229d);return _0x311e67+_0xf3e3a2;}function zi(_0x7d6666,_0xa09006){var _0x1424be=_0x50acdc;const _0x5f43ab=Vi['random'](0x10),_0x3c846e=Ki(_0x7d6666,0x10),_0x2ace3c=Mi[_0x1424be(0x3a0)](Hi[_0x1424be(0x39d)](_0x3c846e),it[_0x1424be(0x39d)](_0xa09006),{'iv':_0x5f43ab,'padding':qi});return _0x5f43ab[_0x1424be(0x37d)](_0x2ace3c['ciphertext'])['toString'](it);}function Ji(){var _0x487fc0=_0x50acdc;const _0x1dcdd6=yt[_0x487fc0(0xf4)]()[_0x487fc0(0x163)];if(_0x1dcdd6){const _0x362beb={'time':Math[_0x487fc0(0x3b9)](Date[_0x487fc0(0x3aa)]()/0x3e8),'domain':location[_0x487fc0(0x3b6)]};return zi(JSON[_0x487fc0(0x8b)](_0x362beb),_0x1dcdd6);}}var Xi=Object[_0x50acdc(0x1c4)],Zi=(_0x561be3,_0xe3dbd3,_0x6b6f22,_0x4bf46e)=>{var _0x3e9f57=_0x50acdc;for(var _0x5ed44c=_0x4bf46e>0x1?void 0x0:_0x4bf46e?Xi(_0xe3dbd3,_0x6b6f22):_0xe3dbd3,_0x97a2bc=_0x561be3[_0x3e9f57(0x31b)]-0x1,_0x122f99;_0x97a2bc>=0x0;_0x97a2bc--)(_0x122f99=_0x561be3[_0x97a2bc])&&(_0x5ed44c=_0x122f99(_0x5ed44c)||_0x5ed44c);return _0x5ed44c;},Qi=(_0x12abbb,_0x3cbd5a)=>(_0x4a86c4,_0x874e0b)=>_0x3cbd5a(_0x4a86c4,_0x874e0b,_0x12abbb);let Ne=class{constructor(_0x3d1e49){var _0x14ef2b=_0x50acdc;this[_0x14ef2b(0xcc)]=_0x3d1e49,this[_0x14ef2b(0x79)]();}[_0x50acdc(0x79)](){var _0x13380f=_0x50acdc;this[_0x13380f(0xcc)][_0x13380f(0x377)]({'interceptor':(_0x4c699d,_0x975324)=>{var _0x5a08d1=_0x13380f;const _0x5c715f=_0x4c699d['headers'],_0xc3528c=Ji();return _0xc3528c&&_0x5c715f[_0x5a08d1(0x19b)](_0x5a08d1(0x197),_0xc3528c),_0x975324(_0x4c699d);}});}};Ne=Zi([Qi(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)]))],Ne);var en=Object[_0x50acdc(0x1c4)],tn=(_0x13fbf8,_0x26e2f9,_0xc0af33,_0xbc4d48)=>{for(var _0x4ee587=_0xbc4d48>0x1?void 0x0:_0xbc4d48?en(_0x26e2f9,_0xc0af33):_0x26e2f9,_0x589da=_0x13fbf8['length']-0x1,_0x2d1f2b;_0x589da>=0x0;_0x589da--)(_0x2d1f2b=_0x13fbf8[_0x589da])&&(_0x4ee587=_0x2d1f2b(_0x4ee587)||_0x4ee587);return _0x4ee587;},we=(_0x2f7760,_0x49d285)=>(_0x9957e8,_0x23413a)=>_0x49d285(_0x9957e8,_0x23413a,_0x2f7760);exports['DataLoaderService']=class extends a[_0x50acdc(0x1fa)]{constructor(_0x279703,_0xb6d641,_0xb62390){var _0x15fc6b=_0x50acdc;super(),A(this,_0x15fc6b(0x2df),new H[(_0x15fc6b(0x1ea))](null)),A(this,_0x15fc6b(0x257),this[_0x15fc6b(0x2df)][_0x15fc6b(0x1c8)]()),(this[_0x15fc6b(0x164)]=_0x279703,this['_snapshotService']=_0xb6d641,this['_localCacheService']=_0xb62390);}async['loadUnitOfRevision'](_0x52adb8,_0x58691c,_0x564092){var _0x4d1c6e=_0x50acdc;this[_0x4d1c6e(0x2df)][_0x4d1c6e(0x30b)]({'unitId':_0x52adb8,'type':_0x58691c});let _0x5373ee=null;switch(_0x58691c){case J[_0x4d1c6e(0x2f3)]:{_0x5373ee=await this['_snapshotService']['loadSheet'](_0x52adb8,_0x564092);break;}case J[_0x4d1c6e(0x1c5)]:{_0x5373ee=await this[_0x4d1c6e(0x2f7)][_0x4d1c6e(0x1c1)](_0x52adb8,_0x564092);break;}default:{this['_logService'][_0x4d1c6e(0x253)](_0x4d1c6e(0x14f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5373ee;}async[_0x50acdc(0x1f8)](_0x395088,_0x4ad211,_0x3e0f9f){var _0x3ce3fb=_0x50acdc,_0x545fa3;this[_0x3ce3fb(0x2df)][_0x3ce3fb(0x30b)]({'unitId':_0x395088,'type':_0x4ad211,'subUnitId':_0x3e0f9f});let _0x428aef=0x0;const _0x5c00fb=await((_0x545fa3=this['_localCacheService'])==null?void 0x0:_0x545fa3[_0x3ce3fb(0x25e)](_0x395088));return _0x5c00fb&&(_0x5c00fb[_0x3ce3fb(0xe9)]||_0x5c00fb[_0x3ce3fb(0x1db)][_0x3ce3fb(0x31b)]!==0x0)&&(_0x428aef=_0x5c00fb['rev']),_0x428aef===0x0&&this[_0x3ce3fb(0x164)][_0x3ce3fb(0x286)](_0x3ce3fb(0x14f),_0x3ce3fb(0x7c)),this[_0x3ce3fb(0x38c)](_0x395088,_0x4ad211,_0x428aef);}},exports[_0x50acdc(0x39c)]=tn([we(0x0,a[_0x50acdc(0x329)]),we(0x1,a['Inject'](p['SnapshotService'])),we(0x2,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x39c)]);var nn=Object[_0x50acdc(0x1c4)],rn=(_0x39f1e8,_0x50fb9a,_0x4cbee7,_0x1ed2d8)=>{var _0x1d8058=_0x50acdc;for(var _0x1f573d=_0x1ed2d8>0x1?void 0x0:_0x1ed2d8?nn(_0x50fb9a,_0x4cbee7):_0x50fb9a,_0x4664df=_0x39f1e8[_0x1d8058(0x31b)]-0x1,_0x1bfb0c;_0x4664df>=0x0;_0x4664df--)(_0x1bfb0c=_0x39f1e8[_0x4664df])&&(_0x1f573d=_0x1bfb0c(_0x1f573d)||_0x1f573d);return _0x1f573d;},Me=(_0x14a188,_0x1fd467)=>(_0x1d6878,_0x2cdc8f)=>_0x1fd467(_0x1d6878,_0x2cdc8f,_0x14a188);const sn=[_0x50acdc(0x152),'image/jpeg',_0x50acdc(0x285),_0x50acdc(0x32b),_0x50acdc(0x203)],on=0x5*0x400*0x400,an=_0x50acdc(0x22f),cn='/universer-api/file/{fileID}/sign-url';exports[_0x50acdc(0x87)]=class{constructor(_0x495edb,_0x59741c,_0x671976){var _0x12a174=_0x50acdc;A(this,_0x12a174(0xd8),0x0),A(this,'_change$',new H[(_0x12a174(0x20c))]()),A(this,_0x12a174(0x33f),this[_0x12a174(0x368)]),A(this,_0x12a174(0x2f1),new Map()),(this[_0x12a174(0xcc)]=_0x495edb,this[_0x12a174(0x7f)]=_0x59741c,this[_0x12a174(0x1d5)]=_0x671976);}[_0x50acdc(0x293)](_0x2e5d30){var _0x240759=_0x50acdc;this[_0x240759(0xd8)]=_0x2e5d30,this['_change$'][_0x240759(0x30b)](_0x2e5d30);}['getImageSourceCache'](_0x2ae114,_0x2e0256){var _0x4e50e1=_0x50acdc;if(_0x2e0256===z[_0x4e50e1(0x85)][_0x4e50e1(0x3cc)]){const _0x357f6e=new Image();return _0x357f6e[_0x4e50e1(0x38d)]=_0x2ae114,_0x357f6e;}return this[_0x4e50e1(0x2f1)][_0x4e50e1(0x230)](_0x2ae114);}[_0x50acdc(0x2b2)](_0x3914f0,_0x1fc7b9,_0x271a8f){var _0x470ef6=_0x50acdc;_0x1fc7b9===z['ImageSourceType'][_0x470ef6(0x3cc)]||_0x271a8f==null||this[_0x470ef6(0x2f1)][_0x470ef6(0x19b)](_0x3914f0,_0x271a8f);}async['getImage'](_0x5b63b6){var _0x3c75bf=_0x50acdc;try{const _0x176eaa=this[_0x3c75bf(0x1c7)](this[_0x3c75bf(0xf7)](),''+_0x5b63b6),_0x327651=(await this['_httpService'][_0x3c75bf(0x230)](_0x176eaa))[_0x3c75bf(0x3cb)];if(_0x327651[_0x3c75bf(0x253)]&&_0x327651[_0x3c75bf(0x253)][_0x3c75bf(0x156)]===dt['OK']){const _0x5ccdb8=new URL(_0x327651[_0x3c75bf(0x218)],this[_0x3c75bf(0x310)]())[_0x3c75bf(0x147)]();return Promise[_0x3c75bf(0x149)](_0x5ccdb8);}return Promise['reject'](_0x327651[_0x3c75bf(0x253)]);}catch(_0x1d13a8){return Promise[_0x3c75bf(0x188)](_0x1d13a8);}}async[_0x50acdc(0x3c8)](_0x1897b9){var _0x4f7927=_0x50acdc;let _0x585ea6='';if(!sn[_0x4f7927(0x376)](_0x1897b9[_0x4f7927(0x1e9)]))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0xee)]));if(_0x1897b9[_0x4f7927(0x9d)]>on)return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x3cf)]));try{const _0x55d7d1=new FormData();_0x55d7d1[_0x4f7927(0x324)]('file',_0x1897b9);const _0xf889f2=this['_univerInstanceService'][_0x4f7927(0x96)](),_0x3aaaa8=_0xf889f2==null?void 0x0:_0xf889f2[_0x4f7927(0xc5)]();if(!_0x3aaaa8)throw new Error('unitId\x20is\x20not\x20found');const _0x1c6f44=this[_0x4f7927(0x39e)]()+'?size='+_0x1897b9[_0x4f7927(0x9d)][_0x4f7927(0x147)]()+_0x4f7927(0x34d)+vt[_0x4f7927(0x9b)]+_0x4f7927(0x1dd)+encodeURIComponent(_0x3aaaa8),_0x22f0ff={'body':_0x55d7d1},_0x34b2b5=(await this[_0x4f7927(0xcc)][_0x4f7927(0x288)](_0x1c6f44,_0x22f0ff))[_0x4f7927(0x3cb)];if(typeof _0x34b2b5[_0x4f7927(0x3ae)]!=_0x4f7927(0x102))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));_0x585ea6=_0x34b2b5['FileId'];}catch{return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));}return new Promise((_0x5813b9,_0x5925e7)=>{var _0xffab9e=_0x4f7927;const _0x46b478=new FileReader();_0x46b478[_0xffab9e(0x20b)](_0x1897b9),_0x46b478[_0xffab9e(0x8f)]=_0x5d4cba=>{var _0x5b22b6=_0xffab9e,_0x93028b;const _0x5a1ea5=(_0x93028b=_0x5d4cba[_0x5b22b6(0xc9)])==null?void 0x0:_0x93028b['result'];if(_0x5a1ea5==null){this['_decreaseWaiting'](),_0x5925e7(new Error(z[_0x5b22b6(0xeb)][_0x5b22b6(0x357)]));return;}const _0x2c6f9a=a[_0x5b22b6(0x14a)](0x6);_0x5813b9({'imageId':_0x2c6f9a,'imageSourceType':z['ImageSourceType'][_0x5b22b6(0x266)],'source':_0x585ea6,'base64Cache':_0x5a1ea5,'status':z[_0x5b22b6(0xeb)][_0x5b22b6(0x1dc)]}),this['_decreaseWaiting']();};});}[_0x50acdc(0x39e)](){var _0xe9038=_0x50acdc,_0x2f1b2f;const _0x5550c6=this[_0xe9038(0x7f)][_0xe9038(0x279)](Y);return(_0x2f1b2f=_0x5550c6==null?void 0x0:_0x5550c6['uploadFileServerUrl'])!=null?_0x2f1b2f:an;}[_0x50acdc(0xf7)](){var _0x5d97d8=_0x50acdc,_0x5e30ad;const _0x449a60=this[_0x5d97d8(0x7f)][_0x5d97d8(0x279)](Y);return(_0x5e30ad=_0x449a60==null?void 0x0:_0x449a60[_0x5d97d8(0x3b0)])!=null?_0x5e30ad:cn;}[_0x50acdc(0x310)](){var _0xd1fc1b=_0x50acdc,_0x277b39;const _0x473bcb=this[_0xd1fc1b(0x7f)][_0xd1fc1b(0x279)](Y);return(_0x277b39=_0x473bcb==null?void 0x0:_0x473bcb[_0xd1fc1b(0xb7)])!=null?_0x277b39:location[_0xd1fc1b(0x11c)];}['_replaceFileID'](_0x2c5eff,_0x2c197e){var _0x523057=_0x50acdc;return _0x2c5eff[_0x523057(0x2ca)](_0x523057(0x349),_0x2c197e);}[_0x50acdc(0x39a)](){var _0x7bc5ba=_0x50acdc;this[_0x7bc5ba(0xd8)]-=0x1,this[_0x7bc5ba(0x368)][_0x7bc5ba(0x30b)](this[_0x7bc5ba(0xd8)]);}},exports[_0x50acdc(0x87)]=rn([Me(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Me(0x1,a[_0x50acdc(0xda)]),Me(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0xa5)]))],exports[_0x50acdc(0x87)]);var hn=Object[_0x50acdc(0x1c4)],_n=(_0x541a65,_0x62c34b,_0x3af5fa,_0x177323)=>{var _0x261d33=_0x50acdc;for(var _0x21d003=_0x177323>0x1?void 0x0:_0x177323?hn(_0x62c34b,_0x3af5fa):_0x62c34b,_0x4832df=_0x541a65[_0x261d33(0x31b)]-0x1,_0x5f29df;_0x4832df>=0x0;_0x4832df--)(_0x5f29df=_0x541a65[_0x4832df])&&(_0x21d003=_0x5f29df(_0x21d003)||_0x21d003);return _0x21d003;},ot=(_0x427c89,_0x30fd41)=>(_0x1284f3,_0x27a34e)=>_0x30fd41(_0x1284f3,_0x27a34e,_0x427c89);const ln=_0x50acdc(0x97);exports[_0x50acdc(0x167)]=class{constructor(_0x3c90e4,_0x53baae){var _0x3a0b94=_0x50acdc;this[_0x3a0b94(0x7f)]=_0x3c90e4,this[_0x3a0b94(0x35c)]=_0x53baae;}[_0x50acdc(0x117)](){var _0x486b38=_0x50acdc,_0x32af03;const _0x23f6d1=this[_0x486b38(0x7f)][_0x486b38(0x279)](Y);return(_0x32af03=_0x23f6d1==null?void 0x0:_0x23f6d1[_0x486b38(0x399)])!=null?_0x32af03:ln;}async[_0x50acdc(0x31e)](_0x45a2d1){var _0x3ef6eb=_0x50acdc;const _0x5bc9f2=this[_0x3ef6eb(0x117)]()+_0x3ef6eb(0x332);return{'list':[{'title':_0x3ef6eb(0xec),'mentions':(await this[_0x3ef6eb(0x35c)][_0x3ef6eb(0x230)](_0x5bc9f2,{'params':{'objectID':_0x45a2d1[_0x3ef6eb(0x13f)],'unitID':_0x45a2d1[_0x3ef6eb(0x13f)]}}))[_0x3ef6eb(0x3cb)][_0x3ef6eb(0xb1)][_0x3ef6eb(0x2cc)](_0x3bea0a=>({'objectId':_0x3bea0a['id'],'name':_0x3bea0a['subject'][_0x3ef6eb(0x270)],'metadata':{'icon':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x3b1)]},'label':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x270)],'objectType':a['MentionType'][_0x3ef6eb(0x3ed)]})),'metadata':{},'type':a[_0x3ef6eb(0x24b)][_0x3ef6eb(0x3ed)]}]};}},exports[_0x50acdc(0x167)]=_n([ot(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0xda)])),ot(0x1,a['Inject'](q[_0x50acdc(0x2eb)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0x401670,_0x5cf54e,_0x22f483,_0x1376ce)=>{for(var _0x584f2a=_0x1376ce>0x1?void 0x0:_0x1376ce?un(_0x5cf54e,_0x22f483):_0x5cf54e,_0x28b57f=_0x401670['length']-0x1,_0x142c38;_0x28b57f>=0x0;_0x28b57f--)(_0x142c38=_0x401670[_0x28b57f])&&(_0x584f2a=_0x142c38(_0x584f2a)||_0x584f2a);return _0x584f2a;},le=(_0x4294d9,_0x339168)=>(_0x513d03,_0x228fbb)=>_0x339168(_0x513d03,_0x228fbb,_0x4294d9);let De=class extends a[_0x50acdc(0x1fa)]{constructor(_0x2690a1,_0x11b9a4,_0x4d8bb2,_0x4c6e3f,_0x13818e){var _0x33713a=_0x50acdc;super(),this['_injector']=_0x2690a1,this[_0x33713a(0x1d5)]=_0x11b9a4,this[_0x33713a(0x185)]=_0x4d8bb2,this['_collaborationSessionService']=_0x4c6e3f,this[_0x33713a(0x22b)]=_0x13818e,this[_0x33713a(0x155)](),this['_initCloseConn']();}[_0x50acdc(0x382)](){var _0x5a75e8=_0x50acdc;const _0x39e15a=async _0x30f919=>{var _0x40201d=_0x5520;(await this[_0x40201d(0x2f0)]['requireSession'](_0x30f919))['event$'][_0x40201d(0x34b)](V[_0x40201d(0x372)](_0x298d0b=>_0x298d0b[_0x40201d(0x12e)]===p['CollaborationEvent'][_0x40201d(0x259)]),V['takeUntil'](this[_0x40201d(0x1a5)]))[_0x40201d(0x393)](_0x10106e=>{var _0x21ba8f=_0x40201d;const _0x436106=_0x10106e,{reason:_0x520905}=_0x436106[_0x21ba8f(0x33e)];this[_0x21ba8f(0x22b)][_0x21ba8f(0xc2)]({'id':Z['CLOSE_ROOM'],'data':_0x520905}),this['_permissionService'][_0x21ba8f(0x3bd)](new X[(_0x21ba8f(0x2c7))](_0x30f919)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x30f919);});};H['merge'](this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x2f3)]),this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x1c5)]))[_0x5a75e8(0x34b)](V[_0x5a75e8(0x2cc)](_0x56daa4=>_0x56daa4[_0x5a75e8(0xc5)]()),V[_0x5a75e8(0x372)](_0x34513e=>!a[_0x5a75e8(0x173)](_0x34513e)),V[_0x5a75e8(0x2bf)](this[_0x5a75e8(0x1a5)]))[_0x5a75e8(0x393)](_0x36e376=>{_0x39e15a(_0x36e376);});}['_initUnitPermissionChange'](){var _0x3cc4bb=_0x50acdc;const _0x453ab1=async _0x5e9417=>{var _0x4743a6=_0x5520;const _0x939b9d=await this[_0x4743a6(0x2f0)][_0x4743a6(0x2b6)](_0x5e9417),_0x3a7adf=this[_0x4743a6(0xf3)][_0x4743a6(0x230)](X[_0x4743a6(0x300)]);_0x939b9d[_0x4743a6(0x291)]['pipe'](V[_0x4743a6(0x372)](_0xc1038b=>_0xc1038b[_0x4743a6(0x12e)]===p[_0x4743a6(0x2d7)][_0x4743a6(0x14c)]),V['takeUntil'](this[_0x4743a6(0x1a5)]))[_0x4743a6(0x393)](_0x296744=>{var _0x5ef469=_0x4743a6;const _0x1ed77f=_0x296744,{objectId:_0x1dbaf6}=_0x1ed77f[_0x5ef469(0x33e)];_0x1dbaf6===_0x5e9417?_0x3a7adf[_0x5ef469(0x348)](_0x5e9417):_0x3a7adf[_0x5ef469(0x284)](_0x5e9417,_0x1dbaf6);});};H[_0x3cc4bb(0x27b)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3cc4bb(0x2cf)][_0x3cc4bb(0x2f3)]))[_0x3cc4bb(0x34b)](V[_0x3cc4bb(0x2cc)](_0x460cb3=>_0x460cb3[_0x3cc4bb(0xc5)]()),V[_0x3cc4bb(0x372)](_0x383c9c=>!a[_0x3cc4bb(0x173)](_0x383c9c)),V[_0x3cc4bb(0x2bf)](this[_0x3cc4bb(0x1a5)]))['subscribe'](_0x30441d=>{_0x453ab1(_0x30441d);});}};De=dn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x50acdc(0xa5)]),le(0x2,a[_0x50acdc(0x158)]),le(0x3,a[_0x50acdc(0x93)](exports['CollaborationSessionService'])),le(0x4,a[_0x50acdc(0x93)](ee))],De);var vn=Object[_0x50acdc(0x1c4)],Sn=(_0x25190f,_0x11b61a,_0x44c008,_0x5c2fde)=>{var _0x359e7b=_0x50acdc;for(var _0x38efc7=_0x5c2fde>0x1?void 0x0:_0x5c2fde?vn(_0x11b61a,_0x44c008):_0x11b61a,_0x7ce676=_0x25190f[_0x359e7b(0x31b)]-0x1,_0x5c6a9d;_0x7ce676>=0x0;_0x7ce676--)(_0x5c6a9d=_0x25190f[_0x7ce676])&&(_0x38efc7=_0x5c6a9d(_0x38efc7)||_0x38efc7);return _0x38efc7;},at=(_0x52f68f,_0x530a78)=>(_0x18504e,_0x5c018e)=>_0x530a78(_0x18504e,_0x5c018e,_0x52f68f);exports[_0x50acdc(0xd9)]=class{constructor(_0x408412,_0x5c8d2f){var _0x215823=_0x50acdc;this[_0x215823(0x7f)]=_0x408412,this[_0x215823(0xcc)]=_0x5c8d2f;}async[_0x50acdc(0x82)](_0x4e17b0,_0x3b2f46){var _0x51a9e7=_0x50acdc,_0x48cb9b;const {unitID:_0x587781,type:_0x48fe11,revision:_0x2a3b0c=0x0}=_0x3b2f46,_0x5affc9=this[_0x51a9e7(0x2ea)]()+'/'+_0x48fe11+_0x51a9e7(0xfc)+_0x587781+_0x51a9e7(0x3a4)+_0x2a3b0c,_0x1000a3=(await this[_0x51a9e7(0xcc)][_0x51a9e7(0x230)](_0x5affc9))[_0x51a9e7(0x3cb)],_0x5c2369=(_0x48cb9b=_0x1000a3[_0x51a9e7(0x380)])==null?void 0x0:_0x48cb9b[_0x51a9e7(0x212)];if(_0x5c2369){const _0x2a1684=_0x5c2369==null?void 0x0:_0x5c2369[_0x51a9e7(0x1d7)],_0x3e866e=p[_0x51a9e7(0x1b7)][_0x51a9e7(0x114)](p[_0x51a9e7(0x1cc)](_0x2a1684));_0x5c2369[_0x51a9e7(0x1d7)]=_0x3e866e,Object[_0x51a9e7(0x328)](_0x5c2369[_0x51a9e7(0x3c4)])[_0x51a9e7(0x198)](([,_0x2d88c1])=>{var _0x789713=_0x51a9e7;const _0x5c6e21=_0x2d88c1[_0x789713(0x1d7)],_0x449977=p[_0x789713(0x1b7)]['encode'](p[_0x789713(0x1cc)](_0x5c6e21));_0x2d88c1['originalMeta']=_0x449977;});}return _0x1000a3;}async['getSheetBlock'](_0x519e0d,_0xb8d31d){var _0x455624=_0x50acdc;const {unitID:_0x40f365,type:_0xaa7b63,blockID:_0x70a3f3}=_0xb8d31d,_0x2fb274=this[_0x455624(0x1ec)]()+'/'+_0xaa7b63+'/unit/'+_0x40f365+_0x455624(0x268)+_0x70a3f3;return(await this[_0x455624(0xcc)][_0x455624(0x230)](_0x2fb274))['body'];}async['getDeserializedSheetBlock'](_0x252e1b,_0x5cc9be){var _0x410062=_0x50acdc;const {unitID:_0x40044c,type:_0x576b9e,blockID:_0x42dd54}=_0x5cc9be,_0x44897b=this[_0x410062(0x1ec)]()+_0x410062(0x268)+_0x576b9e+_0x410062(0xfc)+_0x40044c+_0x410062(0x268)+_0x42dd54;return(await this[_0x410062(0xcc)][_0x410062(0x230)](_0x44897b))['body'];}async[_0x50acdc(0x2ee)](_0x38458a,_0x459a19){var _0x3061d2=_0x50acdc;const {unitID:_0x557a29,type:_0x80cc10,from:_0x23df45,to:_0x23bc14}=_0x459a19,_0xbd0bdd=this[_0x3061d2(0x1ec)]()+'/'+_0x80cc10+_0x3061d2(0xfc)+_0x557a29+_0x3061d2(0xcd)+_0x23df45+'&to='+_0x23bc14;return(await this[_0x3061d2(0xcc)][_0x3061d2(0x230)](_0xbd0bdd))[_0x3061d2(0x3cb)];}[_0x50acdc(0x2ea)](){var _0x58449a=_0x50acdc,_0x15b4f8;return(_0x15b4f8=this[_0x58449a(0x7f)][_0x58449a(0x279)](Dt))!=null?_0x15b4f8:this[_0x58449a(0x1ec)]();}['_getAPIPrefix'](){var _0x4d8490=_0x50acdc,_0x209574;const _0x5b1a1d=this[_0x4d8490(0x7f)]['getConfig'](Y);return(_0x209574=_0x5b1a1d==null?void 0x0:_0x5b1a1d[_0x4d8490(0x2a5)])!=null?_0x209574:Nt;}async[_0x50acdc(0x139)](_0x45610e,_0x3fb243){var _0x4e3670=_0x50acdc;const _0x2ab7eb=_0x4e3670(0x3b3)+_0x3fb243[_0x4e3670(0x1e9)]+_0x4e3670(0xfc)+_0x3fb243[_0x4e3670(0xc1)]+_0x4e3670(0x18c);return(await this[_0x4e3670(0xcc)][_0x4e3670(0x230)](_0x2ab7eb,{'params':{'resourceId':JSON[_0x4e3670(0x8b)](_0x3fb243[_0x4e3670(0x196)])}}))[_0x4e3670(0x3cb)];}[_0x50acdc(0x17c)](){var _0x3f5f0b=_0x50acdc;throw new Error(_0x3f5f0b(0x3b4));}[_0x50acdc(0x273)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x3ffdb7=_0x50acdc;throw new Error(_0x3ffdb7(0x3b4));}[_0x50acdc(0xa3)](){var _0xf3133a=_0x50acdc;throw new Error(_0xf3133a(0x3b4));}[_0x50acdc(0x325)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50acdc(0x292)](){var _0x52a27f=_0x50acdc;throw new Error(_0x52a27f(0x3b4));}},exports[_0x50acdc(0xd9)]=Sn([at(0x0,a[_0x50acdc(0xda)]),at(0x1,a[_0x50acdc(0x93)](q['HTTPService']))],exports[_0x50acdc(0xd9)]);var fn=Object[_0x50acdc(0x1c4)],In=(_0x8ed2d4,_0x373c9d,_0x32c272,_0x258f3)=>{var _0x839703=_0x50acdc;for(var _0x74a7b7=_0x258f3>0x1?void 0x0:_0x258f3?fn(_0x373c9d,_0x32c272):_0x373c9d,_0x18d7cf=_0x8ed2d4[_0x839703(0x31b)]-0x1,_0x1ff885;_0x18d7cf>=0x0;_0x18d7cf--)(_0x1ff885=_0x8ed2d4[_0x18d7cf])&&(_0x74a7b7=_0x1ff885(_0x74a7b7)||_0x74a7b7);return _0x74a7b7;},ue=(_0x4feea8,_0x5975dd)=>(_0x36e050,_0x5c346d)=>_0x5975dd(_0x36e050,_0x5c346d,_0x4feea8);exports[_0x50acdc(0x2c3)]=class extends a[_0x50acdc(0x2ec)]{constructor(_0x5c456b,_0x5a7e5e,_0x17eb63,_0x2caa2d,_0xe4c6c0){var _0x13a486=_0x50acdc;super(_0x5c456b,_0x5a7e5e,_0x17eb63),this['_transformService']=_0x2caa2d,this[_0x13a486(0x164)]=_0xe4c6c0;}[_0x50acdc(0x116)](_0x1fc114,_0x287379){var _0x17aa13=_0x50acdc;const _0x23bccc=this[_0x17aa13(0x2c1)](_0x1fc114);if(_0x23bccc)try{const _0x47149a=this[_0x17aa13(0x287)](_0x23bccc,_0x287379);this['_substituteUndoStack'](_0x1fc114,_0x47149a);}catch(_0x38c1e0){this[_0x17aa13(0x164)]['error']('[CollaborationUndoRedoService]',_0x38c1e0),this['_clearUndo'](_0x1fc114);}const _0x5c9e7=this['_getRedoStack'](_0x1fc114);if(_0x5c9e7)try{const _0x9e9737=this['_transformStack'](_0x5c9e7,_0x287379);this[_0x17aa13(0x39b)](_0x1fc114,_0x9e9737);}catch(_0x128288){this[_0x17aa13(0x164)][_0x17aa13(0x253)](_0x128288),this['_clearRedo'](_0x1fc114);}}[_0x50acdc(0xa8)](_0x2a0535){var _0x54e7d9=_0x50acdc;const _0x1a9351=this[_0x54e7d9(0x2c1)](_0x2a0535);_0x1a9351&&(_0x1a9351[_0x54e7d9(0x31b)]=0x0,this[_0x54e7d9(0x157)]());}[_0x50acdc(0x2f4)](_0x138a01){var _0x2cd80e=_0x50acdc;const _0xf3b745=this[_0x2cd80e(0x355)](_0x138a01);_0xf3b745&&(_0xf3b745['length']=0x0,this['_updateStatus']());}[_0x50acdc(0x88)](_0xa02c36,_0x2d91b9){var _0xe48d8a=_0x50acdc;this[_0xe48d8a(0x189)][_0xe48d8a(0x19b)](_0xa02c36,_0x2d91b9),this[_0xe48d8a(0x157)]();}[_0x50acdc(0x39b)](_0x1cfc11,_0x34a9c3){var _0x321495=_0x50acdc;this[_0x321495(0x2c4)][_0x321495(0x19b)](_0x1cfc11,_0x34a9c3),this[_0x321495(0x157)]();}[_0x50acdc(0x287)](_0x32ff51,_0x2400f1){var _0x1f44b1=_0x50acdc;const _0x22012d=[];let _0x26ed09=_0x2400f1,_0x295f4d=_0x2400f1;for(let _0x366c6c=_0x32ff51[_0x1f44b1(0x31b)]-0x1;_0x366c6c>=0x0;_0x366c6c--){const {unitID:_0x3830f1,undoMutations:_0x4931eb,redoMutations:_0x40d48a}=_0x32ff51[_0x366c6c],_0x41e760=this['_transformService']['transformMutationsWithChangeset'](_0x26ed09,_0x4931eb),_0x58f94b=this[_0x1f44b1(0x275)][_0x1f44b1(0x3a2)](_0x295f4d,_0x40d48a);if(p[_0x1f44b1(0x1ce)](_0x41e760)||p[_0x1f44b1(0x1ce)](_0x58f94b)){this[_0x1f44b1(0x164)][_0x1f44b1(0x253)](_0x1f44b1(0x3c7),_0x1f44b1(0x345),_0x41e760,_0x58f94b);break;}_0x26ed09=_0x41e760[_0x1f44b1(0xb4)],_0x295f4d=_0x58f94b['c1Prime'],_0x22012d[_0x1f44b1(0x3a3)]({'unitID':_0x3830f1,'undoMutations':_0x41e760['m2Prime'],'redoMutations':_0x58f94b['m2Prime']});}return _0x22012d[_0x1f44b1(0x2fe)]();}},exports[_0x50acdc(0x2c3)]=In([ue(0x0,a[_0x50acdc(0xa5)]),ue(0x1,a['ICommandService']),ue(0x2,a['IContextService']),ue(0x3,p[_0x50acdc(0x19a)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x50acdc(0x26c)],mn=Object[_0x50acdc(0x1c4)],gn=(_0x1f30f5,_0x35fb64,_0x4c1f51)=>_0x35fb64 in _0x1f30f5?pn(_0x1f30f5,_0x35fb64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c1f51}):_0x1f30f5[_0x35fb64]=_0x4c1f51,En=(_0x1eff4a,_0x173d96,_0x235a31,_0x54f27f)=>{var _0x1c487d=_0x50acdc;for(var _0x216d6c=_0x54f27f>0x1?void 0x0:_0x54f27f?mn(_0x173d96,_0x235a31):_0x173d96,_0x4e3e0e=_0x1eff4a[_0x1c487d(0x31b)]-0x1,_0x2bf53c;_0x4e3e0e>=0x0;_0x4e3e0e--)(_0x2bf53c=_0x1eff4a[_0x4e3e0e])&&(_0x216d6c=_0x2bf53c(_0x216d6c)||_0x216d6c);return _0x216d6c;},Le=(_0x4b253c,_0x10aaab)=>(_0x57d72d,_0x3bfd04)=>_0x10aaab(_0x57d72d,_0x3bfd04,_0x4b253c),Cn=(_0x1a304b,_0x56fad,_0x5ca5f7)=>gn(_0x1a304b,_0x56fad+'',_0x5ca5f7);const Tn=_0x50acdc(0x1ad);exports[_0x50acdc(0x1da)]=class extends a[_0x50acdc(0x1fd)]{constructor(_0x2dcc71,_0x41d5a8,_0x1a05da,_0xf22f26){var _0x2e0e2c=_0x50acdc;super(),A(this,_0x2e0e2c(0x27a)),(this['_logService']=_0x41d5a8,this[_0x2e0e2c(0xf3)]=_0x1a05da,this['_configService']=_0xf22f26);const {..._0x57fdc0}=a[_0x2e0e2c(0x27b)]({},Zt,_0x2dcc71);if(!_0x57fdc0[_0x2e0e2c(0x18b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e0e2c(0x27a)]=_0x57fdc0,this[_0x2e0e2c(0x7f)][_0x2e0e2c(0x18a)](Y,_0x57fdc0);}['onStarting'](){var _0x414405=_0x50acdc;this[_0x414405(0x73)](),this[_0x414405(0x2ba)]();}[_0x50acdc(0x73)](){var _0x1813cc=_0x50acdc,_0x80588c,_0x19e1b1;this['_injector'][_0x1813cc(0x6f)](a[_0x1813cc(0x160)])&&this[_0x1813cc(0x164)]['error']('[UniverCollaborationClientPlugin]',_0x1813cc(0x2c0));const _0x3494c4=a[_0x1813cc(0x271)]([[a[_0x1813cc(0x160)],{'useClass':exports[_0x1813cc(0x2c3)]}],[exports[_0x1813cc(0x71)]],[exports[_0x1813cc(0x36b)]],[exports[_0x1813cc(0x26a)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x1813cc(0x27a)][_0x1813cc(0x18b)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x1813cc(0xd9)]}],[a[_0x1813cc(0x9f)],{'useClass':exports[_0x1813cc(0x225)]}],[z[_0x1813cc(0x331)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x1813cc(0xe3)],{'useClass':exports[_0x1813cc(0x167)]}],[exports[_0x1813cc(0x361)]],[xe]],(_0x80588c=this[_0x1813cc(0x27a)])==null?void 0x0:_0x80588c['override']);if(!((_0x19e1b1=this[_0x1813cc(0x27a)])!=null&&_0x19e1b1[_0x1813cc(0x2fa)])){const _0x7cbc7b=_0x3494c4['findIndex'](([_0x566dc3])=>_0x566dc3===de);_0x7cbc7b!==-0x1&&_0x3494c4[_0x1813cc(0x17d)](_0x7cbc7b,0x1);}a['registerDependencies'](this[_0x1813cc(0xf3)],_0x3494c4);}[_0x50acdc(0x2ba)](){var _0x5c8a7f=_0x50acdc,_0x17601e,_0x69c000,_0x3f9365;this[_0x5c8a7f(0xf3)]['get'](q[_0x5c8a7f(0x2eb)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x5c8a7f(0x239)]({'maxParallel':0x6})}),(_0x17601e=this[_0x5c8a7f(0x27a)])!=null&&_0x17601e[_0x5c8a7f(0x38b)]||(_0x69c000=this[_0x5c8a7f(0xf3)][_0x5c8a7f(0x230)](K,a['Quantity'][_0x5c8a7f(0x1b3)]))==null||_0x69c000[_0x5c8a7f(0x296)](),(_0x3f9365=this['_config'])!=null&&_0x3f9365[_0x5c8a7f(0x354)]&&a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[ye]]),a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[Ne],[exports[_0x5c8a7f(0x361)]],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],'pluginName',Tn),exports[_0x50acdc(0x1da)]=En([a['DependentOn'](p['UniverCollaborationPlugin'],q[_0x50acdc(0x11f)]),Le(0x1,a[_0x50acdc(0x329)]),Le(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),Le(0x3,a[_0x50acdc(0xda)])],exports['UniverCollaborationClientPlugin']),exports[_0x50acdc(0xf5)]=Y,exports[_0x50acdc(0x2a8)]=je,exports[_0x50acdc(0x36f)]=Z,exports[_0x50acdc(0x1e7)]=ee,exports[_0x50acdc(0x25b)]=$e,exports[_0x50acdc(0x367)]=ht,exports[_0x50acdc(0x2e6)]=jt,exports[_0x50acdc(0x28f)]=At,exports[_0x50acdc(0x39f)]=_t,exports[_0x50acdc(0x18f)]=ke,exports['ICollaborationSocketService']=Fe,exports[_0x50acdc(0x13b)]=K,exports[_0x50acdc(0x103)]=pt,exports['ISingleActiveUnitService']=de,exports[_0x50acdc(0x89)]=xt,exports[_0x50acdc(0x92)]=Lt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Ht,exports[_0x50acdc(0x320)]=ut,exports[_0x50acdc(0x221)]=re,exports[_0x50acdc(0xd0)]=He,exports[_0x50acdc(0x326)]=mt,exports[_0x50acdc(0x10e)]=Kt,exports[_0x50acdc(0x30e)]=gt;
|