@univerjs-pro/collaboration-client 0.6.0-experimental.20250212-dbe9830 → 0.6.0-experimental.20250220-d9a8e74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +1 -1
- package/lib/types/controllers/config.schema.d.ts +2 -2
- package/lib/types/facade/f-collaboration.d.ts +7 -3
- package/lib/types/facade/f-univer.d.ts +2 -2
- package/lib/types/index.d.ts +1 -1
- package/lib/types/plugin.d.ts +2 -2
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +2 -5
- package/lib/types/services/permission/permission.service.d.ts +2 -4
- package/lib/types/services/socket/collaboration-socket.service.d.ts +13 -6
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x7e3d33=_0x3515;(function(_0x891479,_0x43000d){var _0x58c005=_0x3515,_0x421aec=_0x891479();while(!![]){try{var _0x57520e=-parseInt(_0x58c005(0x124))/0x1*(parseInt(_0x58c005(0x2f0))/0x2)+parseInt(_0x58c005(0x3cb))/0x3+parseInt(_0x58c005(0x31f))/0x4*(-parseInt(_0x58c005(0x32a))/0x5)+parseInt(_0x58c005(0x17d))/0x6+parseInt(_0x58c005(0x419))/0x7*(-parseInt(_0x58c005(0x310))/0x8)+parseInt(_0x58c005(0x227))/0x9*(-parseInt(_0x58c005(0x1bc))/0xa)+parseInt(_0x58c005(0x39a))/0xb;if(_0x57520e===_0x43000d)break;else _0x421aec['push'](_0x421aec['shift']());}catch(_0x1b7947){_0x421aec['push'](_0x421aec['shift']());}}}(_0x2fdc,0xede44));var Li=Object[_0x7e3d33(0x349)],Mi=(_0x49f748,_0x26d8b0,_0x3d1145)=>_0x26d8b0 in _0x49f748?Li(_0x49f748,_0x26d8b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1145}):_0x49f748[_0x26d8b0]=_0x3d1145,N=(_0x225951,_0x3e97e3,_0xfeb884)=>Mi(_0x225951,typeof _0x3e97e3!=_0x7e3d33(0x336)?_0x3e97e3+'':_0x3e97e3,_0xfeb884);import{createIdentifier as _0x51c9f0,Inject as _0x46e7fc,Injector as _0x54c970,Disposable as _0x25c510,DisposableCollection as _0x52de0b,toDisposable as _0x576ef6,IConfigService as _0xe8305c,ILogService as _0x3f2d03,UserManagerService as _0x3bc4f7,UniverInstanceType as _0x1242f2,IUniverInstanceService as _0x3f319c,LocaleService as _0x826620,Optional as _0x34330d,RxDisposable as _0x2a0262,Tools as _0x50aabe,Rectangle as _0x43a91d,ICommandService as _0x12a849,JSONX as _0x5651e6,CommandType as _0x42d9bc,IPermissionService as _0x4c05ea,IUndoRedoService as _0x1c6bd2,sequenceExecute as _0x403b17,Workbook as _0x36b18f,MentionType as _0xdbc584,IAuthzIoService as _0x1a1b5a,isInternalEditorID as _0x560b78,LocalUndoRedoService as _0x4f5111,IContextService as _0x4c814d,DependentOn as _0x4d7659,Plugin as _0x4f56cb,merge as _0x11f6e1,mergeOverrideWithDependencies as _0x3ef89c,IMentionIOService as _0x59c39f,registerDependencies as _0x3b6d41,Quantity as _0x122d9a,touchDependencies as _0x3e98ac}from'@univerjs/core';import{Subject as _0x5a35c2,merge as _0x33d39d,of as _0x14e3d9,BehaviorSubject as _0x33cf72,takeUntil as _0x294cec,ReplaySubject as _0x20c46f,take as _0x22a28b,map as _0x2db126,shareReplay as _0x5e7865,firstValueFrom as _0x3ae00d,concatMap as _0x5c1943}from'rxjs';import{map as _0x500e7a,take as _0x2ababf,filter as _0x56583e,delay as _0x26ebf5,takeUntil as _0x529fd7}from'rxjs/operators';import{HTTPService as _0x13eabd,ISocketService as _0x277841,MergeInterceptorFactory as _0x3fe0a6,HTTPRequest as _0x255e0a,UniverNetworkPlugin as _0x4f466e,ThresholdInterceptorFactory as _0xfad5f0}from'@univerjs/network';function _0x2fdc(){var _0x130c04=['getCurrentSelections','originalMeta','_decreaseWaiting','[DataLoaderService]','\x20to\x20','COMMENT_UPDATE','pluginName','_applyRemoteChangeset','_getDownloadEndpointURL','_joinRoom','getUnitId','_event$','_initRequestHeader','startTime','set','CONFLICT','onTransformRemoteChangesetByStateCache','4665999iUFpVh','_disableEditing','_onUserLeave','runId','enableAuthServer','/object/','sendChangesetTimeout','sid','mixIn','socketService','subscribe','encodeURIComponent','_createSocketURL','/collaborator','_candidateSocket','UNKNOWN_CODE','_clearScheduledTask','add','encode','hasOwnProperty','fromCollab','unsubscribe','OpenSSL','SOCKET_FAILED','session','byteOffset','EXCHANGE_SIGN_URL_SERVER_URL_KEY','kdf','closeSession','decrypt','_retryConnectingTimer','_substituteUndoStack','OFFLINE','apply','lib','_collaborationTimeoutTimer','_getCtorByUniverType','_doCryptBlock','_transitionLocked','YUUMI_UNABLE_LOAD_URL','_socket$','_transformRemoteChangesetByStateCache','UNAUTHENTICATED','includes','_unlockTransition','SHA1','_xformMode','UNIVER_COLLABORATION_CLIENT_PLUGIN','HmacSHA1','_members$','_initDependencies','_collaborationPaused','pipe','Decryptor','JOIN_ROOM_FAILED','_commentService','UNISCRIPT_RUN','_getAPIPrefixPath','_fetchMissChangesets','_collaborationSessionService','awaiting_with_pending','params','_keySchedule','CBC','indexOf','BASE64','reverse','deleteCollaborator','m2Prime','override','SerializableCipher','_onOffline','__Key__','Base64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','random','resourceIDs','awaitingChangeset','1716505gSnbOG','NoPadding','Hasher','/universer-api/comb','APPLY_REVISION_CONFILICT','SHOULD_CLOSE_CONN','_onLocalMutation','CLOSE_ROOM','default','_clearHeartbeatTimer','_onMessage','clear','CHANGESET_SHOULD_RETRY','38329hEoqgf','_executeRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','newCsEvent','COLLAB_WEB_SOCKET_URL','error','_cipher','_replayCachedMutations','findIndex','_univerInstanceService','ivSize','getUnitType','src','put','_sessions','updateCollaborator','action','dispose','origin','UNIVER_SLIDE','from','YUUMI_URL_COL_OUT_OF_RANGE','/allowed','[CollaborationSessionService]','getResourcesRequest','uniscriptRunEvent','objectActions','_roomCreated$','_getCurrentRevision','session.room-full','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','charCodeAt','transformSelections','requestParams','loadUnit','/-/object/list','[CollaborationEntity]','baseRev','localeService','algo','interceptor','HELLO','_authzIoService','localCacheService','_localeService','/universer-api/snapshot/','/universer-api/snapshot','registerHTTPInterceptor','_socketService','onRemoteRetry','ERROR_IMAGE','[CollaborationState]:\x20apply\x20error!','_nRounds','PENDING','max','_hasher','/role','PERSON','_throwTelemetryCollaborationNewChangeset','filter','transformMutationsWithChangeset','unpad','_collaborationUIEventService','key','keySize','_state','CHANGESET_REVISION_CONFILICT','substr','HEARTBEAT','unitId','getRoom','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','USERS_LEAVE','PasswordBasedCipher','state','_waitForHeartbeatResponse','fetchMissingChangesets','_commentUpdate$','image/jpeg','ws://127.0.0.1:8000/universer-api/comb/connect','onCommandExecuted','_undoStacks','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_singleActiveUnitService','AUTHZ_URL_KEY','refreshPermission','LICENSE_MAX_UNITS_EXCEEDED','roles','2492814RyRhjf','pad','_getUndoStack','_ENC_XFORM_MODE','SNAPSHOT_HAS_BEEN_REMOVED','clamp','COMPLETION_FINISHED','failed\x20to\x20apply\x20missed\x20changesets!','_awaitingChangeset','result','_sendingTimer','pauseCollaboration','startsWith','next','getInterceptPoints','NEW_CHANGESETS','UPDATE_PERMISSION_OBJ','_queuedRemoteChangesets','session.room-not-exists','_parse','fromCharCode','type','_entities','x-univer-host','editingUnit','updateMember','sigBytes','compute','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','searchParams','loginUrlKey','YUUMI_RATE_OVER_LIMIT','avatar','getRandomValues','/block/','LOCAL_CACHE_INTERVAL','patch','_transformStack','_unitInfo$','UUID','downloadEndpointUrl','_getSendChangesetTimeout','headers','isPermissionRej','_doProcessBlock','listCollaborators','getLatestCsReqIdBySid','search','isArray','unknown','_onRemoteACK','\x0aCurrent:\x20','slice','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toggleOnline','?url=','?size=','_shouldReportTelemetry','splice','fetchThroughInterceptors','_oKey','HEARTBEAT_TIMEOUT','_data','9530160oGNZVR','_toggleOffline','onlyLocal','_members','liveShareNewHost','LICENSE_EXPORT_SIZE_EXCEEDED','_transformStateCache','entityInit$','saveSnapshot','NOT_COLLAB','createDecryptor','_socketMessageSubscription','Latin1','_updateStatus','getSnapshotAPIPath','_emitMembers','_iKey','entries','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConnectionOpen','conflict','updateCursorEvent','SNAPSHOT_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','range','saveImage','CipherParams','buffer','has','_prevBlock','Hex','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onConflict','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_injector','_handler','[UniverCollaborationClientPlugin]','MUTATION','_telemetryService','map','_memberService','_sheetTransformSelectionsService','get','EvpKDF','processBlock','telemetry\x20info\x20is\x20not\x20initialized','reqId','_syncEditingCollabCursor','Undefined','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','memberID','_transformSelections','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_networkConditionService','_createSocket','ERROR_EXCEED_SIZE','_changesetReqId','sin','sheets','_initMergeInterceptor','DEFAULT_FILE_NAME','mutations','_handlerCallback','UnitSnapshot','_clearTimeoutTimer','pending','_keyPriorReset','abs','saveSheetBlock','SUCCUSS','_telemetryInfo','getTime','userID','INGEST','crypto','onMissingChangesets','_createInitialStateImpl','LICENSE_DISTRO_REJECTED','c1Prime','_listenToNetworkCondition','APPLY_NON_SEQUENTIAL_REVISION','transformStack\x20failed!','authzUrl','onSendChangeset','_getAPIPrefix','getUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','actions','getTypeOfUnitDisposed$','eventID','JOIN','JOIN_ROOM_NOT_EXISTS','_onRemoteRetry','StreamCipher','_clearLocalCache','location','size','_stopTelemetryCollaborationNewChangeset','onRemoteChangeset','equals','file','_transformUndoredo','Error\x20on\x20receiving\x20event','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','session.room-cnt-exceeds','salt','_getSignURL','9hhxxbm','stringify','/object','close$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearRedo','reconnect','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__creator','unit-cache-','batchAllowed','LIVESHARE_NEW_HOST','_undoRedoService','json','_append','[SyncedState]:\x20received\x20rejection.','OTHER_CLIENT_EDITING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','APPLY_DUPLICATED','execute','getSheetId','words','LEAVE','onCommentUpdate','HttpImport','dispose$','BlockCipher','now','_socketReady','\x0aAfter:\x20','onTransformIME','_onRemoteRejected','collabSubmitChangesetUrl','data','&to=','_snapshotService','padding','onRemoteRej','_state$','_resendWithTimeout','formatter','LIVESHARE_FETCH_OPERATIONS','offline','string','list','COMPRESS_MUTATION_APPLY','length','UNKNOWN_CMD','SOCKET_FAILED_RETRY','BlockCipherMode','onMissedChangesetFetched','_getLoginPath','onStarting','MD5','status','charAt','transformChangesets','/unit/','_logService','onTransformRemoteChangesetByIMECache','_pendingMutations','/-/object/-/batch_allowed','saveChangeset','open$','updatePermissionPoint','removeMember','/resources','_entityInit$','HMAC','JOIN_ROOM_FULL','BufferedBlockAlgorithm','createEncryptor','_status$','_initCloseConn','save\x20fail\x20reason\x20is\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','snapshot','create','sessionTicket','_replaceFileID','onTransformState','getFocusedUnit','delete','RECV','_createInitialState','/rev/','textRanges','synced','getMember','CHANGESET_ACK','toggleOffline','ALREADY_EXISTS','_commandService','byteLength','objectType','getCollabEntity$','members','permissionRejEvent','[PendingState]:\x20received\x20acknowledgement.','forEach','then','FAIL','ERROR_IMAGE_TYPE','format','workbook','_nDataBytes','[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.','/fetchmissing?from=','_revisionService','_roomMembers','c2Prime','_acknowledgedAwaitingChangeset','clone','sessionStatus$','finalize','subject','UNRECOGNIZED','FileId','_clearCollaborationTimeoutTimer','getCollabEntity','fetchMiss','getUnitOnRev','extend','loadOfflineData','UnitEmbedded','liveShareOperation','_isPermissionRej','csRejEvent','_permissionService','disableLocalCache','ticket','UNIVER_UNKNOWN','APPLY_PERMISSION_DENIED','_initUnitPermissionChange','socket\x20close','appendMutation','Cipher','socket$','hasher','[OfflineState]:\x20received\x20rejection.','COMPRESS_MUTATION_SEND','_showConflictNotification','resend','changesets','asObservable','_unitID','focused$','_eventService','_type','_onConnectionFailed','_exhaustRemoteChangesetQueue','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','_iv','disposeWithMe','_process','_init','_hash','close','_updateState','PY_RUNTIME_SCRIPT_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','members$','fetch_missing','_redoStacks','getCurrentRevOfUnit','unitID','ciphertext','_sendHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','addImageSourceCache','SUBMIT_CHANGESET','cfg','bind','_getRedoStack','unitId\x20is\x20not\x20found','error$','_sender','_remoteChangesetQueue','setShowComponents','post','LIVESHARE_REQUEST_HOST','_toggleOnline','prototype','&assign=','_key','_scheduleCompleteTimestamp','_schedule','debug','commentUpdateEvent','OTHER_CLIENTS_EDITING','[OfflineState]:\x20received\x20acknowledgement.','collaborators','_transformService','function','_HTTPService','executeCommand','AES','decryptBlock','code','92LGfwHK','UPDATE_CURSOR','exports','send','online$','_rescheduleHeartbeat','_tryReconnect','_sessionStatus$','updateOfflineData','emitEvent','getSheetBlock','SEND_CHANGESET_TIMEOUT','signUrlServerUrl','Utf8','joinEvent','putCollaborators','getValue','init','randomBytes','PSEUDO_FETCH_MISSING_RESULT','enc','_localCacheService','setConfig','cmd','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_imageSourceCache','unitInfo$','Base','capture','HEARTBEAT_INTERVAL','deepClone','IDLE','32tMPFMI','snapshotServerUrl','awaiting','_submitChangeset','UNIVER_PROJECT','_compressMutationService','_lockTransition','parse','LOGIN_URL_KEY','HmacMD5','confirm','_httpService','_waitCount','getOwnPropertyDescriptor','message$','4RTIMZP','reset','APPLY_REJECT','LIVESHARE_TERMINATE','getImage','UNDEFINED','objectID','onSyncEditingCollabCursor','complete','toString','_mode','4000795yxLeaR','encrypt','getTypeOfUnitAdded$','loadDoc','onTransformSelections','__esModule','[SyncedState]:\x20received\x20acknowledgement.','collaMsg','every','title','_doReset','duration','symbol','update','_doFinalize','waitForRoom$','toLowerCase','UNIVER_SHEET','infoRsp','routeKey','call','_socket','_incrementRevisionNumber','_onRecvEvent','find','_resendTimer','POST','NOT_FOUND','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LIVESHARE_OPERATION','_map','defineProperty','Encryptor','onRemoteAck','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','enableOfflineEditing','_collabSessionService','_resendTimeout','/new_changes','join','randomUUID','revision','_snapshotServerService','_onCombEvent','sessionStatus','mode','[PendingState]:\x20received\x20rejection.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','joinRsp','repeat','_minBufferSize','concat','href','objects','_loadSheet','auth.needGotoLoginAlert','HttpExport','blockSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','ceil','_updateLocalCache','floor','_onUserJoin','_timeoutTimer','name','/universer-api/uniscript','/universer-api/stream/file/upload','replace','readInt32LE','requireSession','LICENSE_IMPORT_SIZE_EXCEEDED','reject','_retryCount','PERMISSION_DENIED','_createHelper','not_collab','OPTIONAL','collaboration-client.local-cache-service','USERS_ENTER','_startCollaboration','AWAITING_WITH_PENDING','getCurrentUser','_scheduleCollaborationTimeoutTimer','collabWebSocketUrl','event$','CHANGESET_REJ','selections','enableSingleActiveInstanceLock','getConfig','_reverseMap','ONLINE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','catch','_sendHeartbeat','_startTelemetryCollaborationNewChangeset','_checkMissing','_invKeySchedule','&source=','_configService','session.room-permission-denied','body','_userManagerService','image/png','ENSURE_SNAPSHOT_EXECUTION','createSocket','connection\x20error','[FetchMissState]','$super','FETCH_MISSING','[CollaborationSession]','push','38508481KBFKCY','image/gif','createInstance','/universer-api/authz','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','WordArray','transformUndoRedo','_tryEnsureSocket','getMemberID','getActiveSheet','CONNECTOR_DATA_TOO_LARGE','getUnitStatus$','_createHmacHelper','wsSessionTicketUrl','status$','_loadDoc','_createHandler','roomInfos','editing\x20status\x20changed\x20to','_clearUndo','UNIVER_DOC','TOO_MANY_REQUESTS','_config','getDeserializedSheetBlock','_changesetSessionId','[CollaborationUndoRedoService]','encryptBlock','state$','_transformRemoteChangesetByIMECache','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onload','MSG_FOR_ERROR'];_0x2fdc=function(){return _0x130c04;};return _0x2fdc();}import{CollaborationEvent as _0x180571,parseChangesetToProtocol as _0xc2534e,ISnapshotServerService as _0x49df10,isTransformMutationsWithChangesetSuccess as _0x4496a3,ITransformService as _0x1b280a,mapDocumentTypeToUniverType as _0x164240,RevisionService as _0x316b6a,isTransformChangesetsSuccess as _0x147682,CompressMutationService as _0x3dcca9,parseProtocolChangeset as _0x247b21,SnapshotService as _0x386dba,textEncoder as _0x1d9923,b64DecodeUnicode as _0x4bd791,isTransformMutationsWithChangesetFailure as _0x172319,UniverCollaborationPlugin as _0x420a77}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x572501}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x28d6ae}from'@univerjs/docs';import{SheetsSelectionsService as _0x44e528,SetSelectionsOperation as _0x1e82bf,InsertSheetMutation as _0x296332,EmptyMutation as _0x431294,WorkbookEditablePermission as _0x455e04,SheetPermissionInitController as _0x44dd70,UniverSheetsPlugin as _0x3e7f22}from'@univerjs/sheets';import{ImageSourceType as _0x23ae5a,ImageUploadStatusType as _0x2c27f6,IImageIoService as _0x18e446}from'@univerjs/drawing';import{getGlobalObject as _0x13dc85}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x7e3d33(0x152),Tn=_0x7e3d33(0x1d2),eo=_0x7e3d33(0x2fb),Cn=0x7d0,Rn=_0x7e3d33(0x128),bn=_0x7e3d33(0x174),On='/universer-api/user/session-ticket',yn=_0x7e3d33(0x30d),Nn=0x7530,Si=_0x7e3d33(0x1ba),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x7e3d33(0x1a0),io=0x3e8,Un=_0x7e3d33(0x126),An=_0x7e3d33(0x41c),xn=_0x7e3d33(0x318),Ln='/universer-api/oidc/authpage',no=_0x7e3d33(0x223),ro=_0x7e3d33(0x36c);var Ii=(_0x451979=>(_0x451979[_0x451979[_0x7e3d33(0x324)]=0x0]='UNDEFINED',_0x451979[_0x451979['OK']=0x1]='OK',_0x451979[_0x451979['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x451979[_0x451979[_0x7e3d33(0x374)]=0x3]=_0x7e3d33(0x374),_0x451979[_0x451979[_0x7e3d33(0x345)]=0x4]=_0x7e3d33(0x345),_0x451979[_0x451979[_0x7e3d33(0x3f5)]=0x5]='UNAUTHENTICATED',_0x451979[_0x451979[_0x7e3d33(0x282)]=0x6]=_0x7e3d33(0x282),_0x451979[_0x451979['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x451979[_0x451979[_0x7e3d33(0x3af)]=0x8]=_0x7e3d33(0x3af),_0x451979[_0x451979['COMPLETION_FINISHED']=0x9]=_0x7e3d33(0x183),_0x451979[_0x451979[_0x7e3d33(0x166)]=0x1389]=_0x7e3d33(0x166),_0x451979[_0x451979['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x451979[_0x451979['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x7e3d33(0x181),_0x451979[_0x451979[_0x7e3d33(0x392)]=0x1773]=_0x7e3d33(0x392),_0x451979[_0x451979[_0x7e3d33(0x321)]=0x1b59]=_0x7e3d33(0x321),_0x451979[_0x451979['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x7e3d33(0x20c),_0x451979[_0x451979['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x7e3d33(0x41d),_0x451979[_0x451979[_0x7e3d33(0x2ab)]=0x1b5c]=_0x7e3d33(0x2ab),_0x451979[_0x451979[_0x7e3d33(0x239)]=0x1b5d]='APPLY_DUPLICATED',_0x451979[_0x451979[_0x7e3d33(0x3a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x451979[_0x451979[_0x7e3d33(0x17b)]=0x2329]=_0x7e3d33(0x17b),_0x451979[_0x451979[_0x7e3d33(0x199)]=0x232a]=_0x7e3d33(0x199),_0x451979[_0x451979[_0x7e3d33(0x371)]=0x232b]=_0x7e3d33(0x371),_0x451979[_0x451979[_0x7e3d33(0x1c1)]=0x232c]=_0x7e3d33(0x1c1),_0x451979[_0x451979[_0x7e3d33(0x209)]=0x232d]=_0x7e3d33(0x209),_0x451979[_0x451979['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x7e3d33(0x3f2),_0x451979[_0x451979[_0x7e3d33(0x139)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x451979[_0x451979[_0x7e3d33(0x19c)]=0x2713]=_0x7e3d33(0x19c),_0x451979[_0x451979[_0x7e3d33(0x1ce)]=0x2714]=_0x7e3d33(0x1ce),_0x451979[_0x451979[_0x7e3d33(0x2c8)]=0x2af9]=_0x7e3d33(0x2c8),_0x451979[_0x451979[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x451979))(Ii||{}),Q=(_0x406df6=>(_0x406df6[_0x406df6[_0x7e3d33(0x2aa)]=0x0]=_0x7e3d33(0x2aa),_0x406df6[_0x406df6[_0x7e3d33(0x3ae)]=0x1]=_0x7e3d33(0x3ae),_0x406df6[_0x406df6[_0x7e3d33(0x33b)]=0x2]='UNIVER_SHEET',_0x406df6[_0x406df6[_0x7e3d33(0x137)]=0x3]=_0x7e3d33(0x137),_0x406df6[_0x406df6['UNIVER_PROJECT']=0x4]=_0x7e3d33(0x314),_0x406df6[_0x406df6[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x406df6))(Q||{}),F=(_0x1a367d=>(_0x1a367d[_0x1a367d[_0x7e3d33(0x256)]=0x0]=_0x7e3d33(0x256),_0x1a367d[_0x1a367d[_0x7e3d33(0x14d)]=0x1]='HELLO',_0x1a367d[_0x1a367d['JOIN']=0x2]='JOIN',_0x1a367d[_0x1a367d[_0x7e3d33(0x23d)]=0x3]=_0x7e3d33(0x23d),_0x1a367d[_0x1a367d[_0x7e3d33(0x205)]=0x4]=_0x7e3d33(0x205),_0x1a367d[_0x1a367d[_0x7e3d33(0x168)]=0x5]=_0x7e3d33(0x168),_0x1a367d[_0x1a367d['RECV']=0x6]=_0x7e3d33(0x27a),_0x1a367d[_0x1a367d[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x1a367d))(F||{}),Ee=(_0x454aec=>(_0x454aec[_0x454aec[_0x7e3d33(0x3da)]=0x0]=_0x7e3d33(0x3da),_0x454aec[_0x454aec['OK']=0x1]='OK',_0x454aec[_0x454aec[_0x7e3d33(0x28c)]=0x2]=_0x7e3d33(0x28c),_0x454aec[_0x454aec['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x454aec[_0x454aec['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x7e3d33(0x217),_0x454aec[_0x454aec['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x7e3d33(0x16b),_0x454aec[_0x454aec[_0x7e3d33(0x1d3)]=0x3ec]=_0x7e3d33(0x1d3),_0x454aec[_0x454aec[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x454aec))(Ee||{}),Ti=(_0x57e08c=>(_0x57e08c[_0x57e08c[_0x7e3d33(0x1ec)]=0x0]=_0x7e3d33(0x1ec),_0x57e08c[_0x57e08c[_0x7e3d33(0x23f)]=0x1]=_0x7e3d33(0x23f),_0x57e08c[_0x57e08c[_0x7e3d33(0x362)]=0x2]=_0x7e3d33(0x362),_0x57e08c[_0x57e08c['UnitEmbedded']=0x3]=_0x7e3d33(0x2a3),_0x57e08c[_0x57e08c[_0x7e3d33(0x1fb)]=0x4]=_0x7e3d33(0x1fb),_0x57e08c[_0x57e08c[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x57e08c))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x5d5b45=>(_0x5d5b45['OTHER_CLIENT_EDITING']=_0x7e3d33(0x237),_0x5d5b45['PERMISSION_DENIED']=_0x7e3d33(0x374),_0x5d5b45[_0x7e3d33(0x3c9)]='CONFLICT',_0x5d5b45[_0x7e3d33(0x11e)]=_0x7e3d33(0x11e),_0x5d5b45['JOIN_ROOM_FAILED']=_0x7e3d33(0x401),_0x5d5b45[_0x7e3d33(0x257)]=_0x7e3d33(0x257),_0x5d5b45[_0x7e3d33(0x3e2)]=_0x7e3d33(0x3e2),_0x5d5b45[_0x7e3d33(0x2bf)]=_0x7e3d33(0x2bf),_0x5d5b45))(se||{});class pe{constructor(){var _0x5ae1c6=_0x7e3d33;N(this,'_event$',new _0x5a35c2()),N(this,_0x5ae1c6(0x37f),this[_0x5ae1c6(0x3c5)][_0x5ae1c6(0x2b7)]());}[_0x7e3d33(0x2f9)](_0x2f2ed6){var _0x1d341b=_0x7e3d33;this[_0x1d341b(0x3c5)][_0x1d341b(0x18a)](_0x2f2ed6);}}const Mn=_0x51c9f0('univer-pro.collaboration-client.network-condition.service');function $n(_0x57a6c1){var _0x1a2911=_0x7e3d33,_0x7b5936,_0x3fc77e,_0x452da3,_0x47cce9,_0x218271;const _0x5df01d=_0x57a6c1['data'],_0x3aca8b=JSON[_0x1a2911(0x317)](_0x5df01d);switch(_0x3aca8b[_0x1a2911(0x307)]){case F['HEARTBEAT']:case F[_0x1a2911(0x14d)]:{const _0x2ab61b=_0x3aca8b[_0x1a2911(0x33c)];return{..._0x3aca8b,'data':_0x2ab61b,'cmd':_0x3aca8b[_0x1a2911(0x307)]};}case F[_0x1a2911(0x216)]:{const _0x16a170=_0x3aca8b[_0x1a2911(0x35a)];return{..._0x3aca8b,'data':_0x16a170,'cmd':_0x3aca8b['cmd']};}case F[_0x1a2911(0x27a)]:{const _0x3d2811=_0x3aca8b[_0x1a2911(0x331)];switch(_0x3d2811['eventID']){case _0x180571['PERMISSION_REJ']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x7b5936=_0x3d2811[_0x1a2911(0x288)])==null?void 0x0:_0x7b5936['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x280)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x3fc77e=_0x3d2811['csAckEvent'])==null?void 0x0:_0x3fc77e['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x18c)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x452da3=_0x3d2811[_0x1a2911(0x127)])==null?void 0x0:_0x452da3['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x380)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x47cce9=_0x3d2811[_0x1a2911(0x2a6)])==null?void 0x0:_0x47cce9['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['CHANGESET_SHOULD_RETRY']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x218271=_0x3d2811['csShouldRetryEvent'])==null?void 0x0:_0x218271['cs']},'cmd':_0x3aca8b['cmd']};case _0x180571['UPDATE_CURSOR']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1d1)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x379)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2fe)]},'cmd':_0x3aca8b['cmd']};case _0x180571[_0x1a2911(0x16d)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['leaveEvent']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x232)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1c0)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x250)]:case _0x180571['LIVESHARE_OPERATION']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2a4)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['LIVESHARE_TERMINATE']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1c0)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['MSG_FOR_ERROR']:return{..._0x3aca8b,'data':_0x3d2811,'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x3bf)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2e5)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x18d)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['updatePermissionObjEvent']},'cmd':_0x3aca8b['cmd']};case _0x180571[_0x1a2911(0x41e)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['shouldCloseConn']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['UNISCRIPT_RUN']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x13d)]},'cmd':_0x3aca8b['cmd']};default:return _0x3aca8b;}}default:return _0x3aca8b;}}function Hn(_0x204f90){var _0xdc1397=_0x7e3d33;switch(_0x204f90[_0xdc1397(0x307)]){case F[_0xdc1397(0x168)]:case F['HELLO']:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90['routeKey']});case F['INGEST']:{let _0x41ff65;switch(_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x215)]){case _0x180571[_0xdc1397(0x2f1)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x2f1)],'updateCursorEvent':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x16d)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x16d)],'leaveEvent':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x379)]:{_0x41ff65={'eventID':_0x180571['USERS_ENTER'],'joinEvent':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571['LIVESHARE_NEW_HOST']:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x232)],'liveShareNewHost':_0x204f90[_0xdc1397(0x248)]['data']};break;}case _0x180571[_0xdc1397(0x347)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x347)],'liveShareOperation':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571['LIVESHARE_TERMINATE']:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x322)],'liveShareTerminate':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x2dd)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x2dd)],'liveShareRequestHost':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x250)]:{_0x41ff65={'eventID':_0x180571['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x41ff65={'eventID':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x215)]};}return JSON['stringify']({'cmd':_0x204f90['cmd'],'routeKey':_0x204f90[_0xdc1397(0x33d)],'collaMsg':_0x41ff65});}case F[_0xdc1397(0x216)]:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90['routeKey'],'joinReq':_0x204f90[_0xdc1397(0x248)]});case F[_0xdc1397(0x23d)]:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90[_0xdc1397(0x33d)],'leaveReq':_0x204f90[_0xdc1397(0x248)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x7e3d33(0x349)],jn=Object[_0x7e3d33(0x31d)],Bn=(_0x4d79d9,_0xf0ea6,_0x2f6761,_0x90451d)=>{var _0x3c0368=_0x7e3d33;for(var _0xb99e8=_0x90451d>0x1?void 0x0:_0x90451d?jn(_0xf0ea6,_0x2f6761):_0xf0ea6,_0x565d2a=_0x4d79d9[_0x3c0368(0x255)]-0x1,_0xdb0f49;_0x565d2a>=0x0;_0x565d2a--)(_0xdb0f49=_0x4d79d9[_0x565d2a])&&(_0xb99e8=(_0x90451d?_0xdb0f49(_0xf0ea6,_0x2f6761,_0xb99e8):_0xdb0f49(_0xb99e8))||_0xb99e8);return _0x90451d&&_0xb99e8&&kn(_0xf0ea6,_0x2f6761,_0xb99e8),_0xb99e8;},Ue=(_0xe8ad19,_0x3f9699)=>(_0x151d9a,_0x8b4de7)=>_0x3f9699(_0x151d9a,_0x8b4de7,_0xe8ad19);const Ci=_0x51c9f0('univer-pro.collaboration-client-socket-service');function Fn(_0x29c865,_0x384a47,_0x57dab5){var _0x28a6b5=_0x7e3d33;return _0x29c865+'/'+_0x384a47+_0x28a6b5(0x260)+_0x57dab5+_0x28a6b5(0x350);}let Et=class extends _0x25c510{constructor(_0x22fa63,_0x38badd,_0x1bff59,_0x5d3991,_0x288a4a){var _0x48f24f=_0x7e3d33;super(),this['_injector']=_0x22fa63,this['_http']=_0x38badd,this[_0x48f24f(0x38d)]=_0x1bff59,this[_0x48f24f(0x261)]=_0x5d3991,this[_0x48f24f(0x354)]=_0x288a4a;}['createSocket'](_0x3faf0d){var _0xc204bc=_0x7e3d33;const _0x1263cd=this[_0xc204bc(0x1de)][_0xc204bc(0x1e6)](_0x277841);if(!_0x1263cd)throw new Error(_0xc204bc(0x2d1));const _0x751dd1=_0x1263cd[_0xc204bc(0x393)](_0x3faf0d);if(!_0x751dd1)throw new Error(_0xc204bc(0x212));const _0x2bb6e6=new _0x52de0b(),_0x52ce13=new _0x5a35c2();_0x2bb6e6[_0xc204bc(0x3dc)](_0x751dd1[_0xc204bc(0x22a)]['subscribe'](_0x591df7=>_0x52ce13[_0xc204bc(0x18a)](_0x591df7))),_0x2bb6e6['add'](_0x576ef6(()=>_0x52ce13[_0xc204bc(0x327)]()));const _0x10472b=new _0x5a35c2();_0x2bb6e6['add'](_0x751dd1[_0xc204bc(0x2d8)][_0xc204bc(0x3d5)](_0x5ad64e=>_0x10472b[_0xc204bc(0x18a)](_0x5ad64e))),_0x2bb6e6[_0xc204bc(0x3dc)](_0x576ef6(()=>_0x10472b[_0xc204bc(0x327)]()));const _0x1e2e54=new _0x5a35c2();_0x2bb6e6['add'](_0x751dd1[_0xc204bc(0x31e)][_0xc204bc(0x3d5)](_0x5b2ff8=>{var _0x1a1034=_0xc204bc;const _0x28cacc=$n(_0x5b2ff8);_0x1e2e54[_0x1a1034(0x18a)](_0x28cacc);})),_0x2bb6e6['add'](_0x576ef6(()=>_0x1e2e54['complete']()));let _0x6fff03;const _0x475f69=()=>{var _0x4d18e8=_0xc204bc;_0x10472b['next'](new Event(_0x4d18e8(0x394))),_0x52ce13[_0x4d18e8(0x18a)](new CloseEvent('connection\x20error')),_0x6fff03[_0x4d18e8(0x2c6)]();};return _0x6fff03={'memberID':'','close$':_0x52ce13[_0xc204bc(0x2b7)](),'error$':_0x10472b[_0xc204bc(0x2b7)](),'open$':_0x751dd1[_0xc204bc(0x266)],'message$':_0x1e2e54['asObservable'](),'send':_0x4a281a=>{var _0x513ec=_0xc204bc;if(_0x4a281a['cmd']===F[_0x513ec(0x205)]){if(_0x4a281a[_0x513ec(0x248)]['eventID']===_0x180571[_0x513ec(0x2d3)]){this[_0x513ec(0x313)](_0x6fff03,_0x4a281a[_0x513ec(0x248)])[_0x513ec(0x387)](_0x11f1c5=>{var _0x29eed1=_0x513ec;this[_0x29eed1(0x261)]['error'](_0x11f1c5),_0x475f69();});return;}if(_0x4a281a[_0x513ec(0x248)][_0x513ec(0x215)]===_0x180571['FETCH_MISSING']){const _0x49e95d=_0x4a281a[_0x513ec(0x248)];this[_0x513ec(0x405)](_0x49e95d)[_0x513ec(0x28b)](_0xefcd7e=>{var _0xfe6620=_0x513ec;_0x1e2e54['next']({'cmd':F[_0xfe6620(0x27a)],'code':Ee['OK'],'routeKey':_0x49e95d[_0xfe6620(0x248)][_0xfe6620(0x2ce)],'routeType':'','data':{'eventID':_0x180571[_0xfe6620(0x303)],'data':{'changesets':_0xefcd7e}}});})[_0x513ec(0x387)](_0x175935=>{var _0x3a9607=_0x513ec;this[_0x3a9607(0x261)][_0x3a9607(0x129)](_0x175935),_0x475f69();});return;}}_0x751dd1[_0x513ec(0x2f3)](Hn(_0x4a281a));},'close':()=>{var _0x183a2f=_0xc204bc;_0x751dd1[_0x183a2f(0x2c6)](),_0x2bb6e6[_0x183a2f(0x135)]();}},_0x6fff03;}async['_submitChangeset'](_0xa5f01f,_0x1fc302){var _0x4272da=_0x7e3d33,_0x792491,_0x424709;const {unitType:_0x4f3ce1,unitID:_0xa3f45,changeset:_0x4e8bc1}=_0x1fc302[_0x4272da(0x248)],_0x1e6874={'unitID':_0xa3f45,'memberID':_0xa5f01f[_0x4272da(0x1ee)],'type':_0x4f3ce1,'changeset':_0xc2534e(_0x4e8bc1)},_0x424e08=this['_configService'][_0x4272da(0x383)](Un),_0x28464d=this['_configService'][_0x4272da(0x383)](q),_0x411569=Fn((_0x424709=(_0x792491=_0x28464d==null?void 0x0:_0x28464d[_0x4272da(0x247)])!=null?_0x792491:_0x424e08)!=null?_0x424709:An,_0x4f3ce1,_0xa3f45);try{await this['_http']['post'](_0x411569,{'body':_0x1e6874});}catch(_0x172f0c){throw this['_logService']['error'](_0x4272da(0x398),'submit\x20changeset\x20error!'),_0x172f0c;}}async[_0x7e3d33(0x405)](_0x4ccce9){var _0x5e6720=_0x7e3d33;const {unitID:_0x504fb3,from:_0xceb66d,to:_0x49dd5b,unitType:_0x4191d6}=_0x4ccce9[_0x5e6720(0x248)];return(await this['_snapshotServerService'][_0x5e6720(0x171)]({'metadata':void 0x0},{'unitID':_0x504fb3,'type':_0x4191d6,'from':_0xceb66d,'to':_0x49dd5b}))[_0x5e6720(0x2b6)];}};Et=Bn([Ue(0x0,_0x46e7fc(_0x54c970)),Ue(0x1,_0x46e7fc(_0x13eabd)),Ue(0x2,_0xe8305c),Ue(0x3,_0x3f2d03),Ue(0x4,_0x49df10)],Et);const Vn='collaboration_new_changeset';function Gn(_0x2d614e){var _0x4a72b6=_0x7e3d33;return JSON[_0x4a72b6(0x228)](_0x2d614e)[_0x4a72b6(0x255)];}class Ri{constructor(){var _0x3b3c5d=_0x7e3d33;N(this,_0x3b3c5d(0x172),new _0x5a35c2()),N(this,'commentUpdate$',this[_0x3b3c5d(0x172)][_0x3b3c5d(0x2b7)]());}[_0x7e3d33(0x23e)](_0x182e7d){var _0x4aef6e=_0x7e3d33;this['_commentUpdate$'][_0x4aef6e(0x18a)](_0x182e7d);}}var Wn=Object[_0x7e3d33(0x349)],Kn=Object[_0x7e3d33(0x31d)],Yn=(_0x2fc15e,_0x902094,_0x5aa8e5,_0xd2a900)=>{for(var _0x5ecc3e=_0xd2a900>0x1?void 0x0:_0xd2a900?Kn(_0x902094,_0x5aa8e5):_0x902094,_0x57b998=_0x2fc15e['length']-0x1,_0x41e671;_0x57b998>=0x0;_0x57b998--)(_0x41e671=_0x2fc15e[_0x57b998])&&(_0x5ecc3e=(_0xd2a900?_0x41e671(_0x902094,_0x5aa8e5,_0x5ecc3e):_0x41e671(_0x5ecc3e))||_0x5ecc3e);return _0xd2a900&&_0x5ecc3e&&Wn(_0x902094,_0x5aa8e5,_0x5ecc3e),_0x5ecc3e;},Kt=(_0x3d8004,_0x342b5a)=>(_0x4998ad,_0x402ba2)=>_0x342b5a(_0x4998ad,_0x402ba2,_0x3d8004);let xe=class extends _0x25c510{constructor(_0x21ddcd,_0x13de7a){var _0x58466d=_0x7e3d33;super(),N(this,_0x58466d(0x294),new Map()),N(this,_0x58466d(0x13f),new _0x5a35c2()),(this[_0x58466d(0x12d)]=_0x21ddcd,this['_userManagerService']=_0x13de7a,this[_0x58466d(0x2c2)](_0x33d39d(this[_0x58466d(0x12d)]['getTypeOfUnitDisposed$'](_0x1242f2[_0x58466d(0x33b)])[_0x58466d(0x3ff)](_0x500e7a(_0x49e07d=>_0x49e07d[_0x58466d(0x3c4)]())),this[_0x58466d(0x12d)][_0x58466d(0x214)](_0x1242f2['UNIVER_DOC'])[_0x58466d(0x3ff)](_0x500e7a(_0x340474=>_0x340474['getUnitId']())),this[_0x58466d(0x12d)][_0x58466d(0x214)](_0x1242f2['UNIVER_SLIDE'])['pipe'](_0x500e7a(_0x57e8ea=>_0x57e8ea[_0x58466d(0x3c4)]())))[_0x58466d(0x3d5)](_0x598bc5=>this['_removeRoom'](_0x598bc5))));}[_0x7e3d33(0x339)](_0x496974){var _0x1ec01b=_0x7e3d33;return this['_roomMembers']['has'](_0x496974)?_0x14e3d9(this[_0x1ec01b(0x294)][_0x1ec01b(0x1e6)](_0x496974)):this['_roomCreated$']['pipe'](_0x500e7a(_0x4e4ea2=>{var _0x5c4e63=_0x1ec01b;if(_0x4e4ea2===_0x496974)return this[_0x5c4e63(0x294)][_0x5c4e63(0x1e6)](_0x4e4ea2);}));}['setCurrentUser'](_0x305618){var _0x1ebe05=_0x7e3d33;this[_0x1ebe05(0x390)]['setCurrentUser'](_0x305618);}[_0x7e3d33(0x37c)](){var _0x25b68d=_0x7e3d33;return this['_userManagerService'][_0x25b68d(0x37c)]();}['updateMember'](_0x1f89e2,_0x5e4d0d){var _0x48d2c7=_0x7e3d33;let _0x418d39=this[_0x48d2c7(0x294)][_0x48d2c7(0x1e6)](_0x1f89e2);_0x418d39||(_0x418d39=new qn(),this['_roomMembers'][_0x48d2c7(0x3c8)](_0x1f89e2,_0x418d39),this[_0x48d2c7(0x13f)][_0x48d2c7(0x18a)](_0x1f89e2)),_0x418d39[_0x48d2c7(0x196)](_0x5e4d0d);}['removeMember'](_0x110bd2,_0x2f167c){var _0x4f9a97=_0x7e3d33;const _0x91d9c=this[_0x4f9a97(0x294)][_0x4f9a97(0x1e6)](_0x110bd2);_0x91d9c&&_0x91d9c[_0x4f9a97(0x268)](_0x2f167c);}[_0x7e3d33(0x16a)](_0xadbecd){var _0x5b98a2=_0x7e3d33;return this[_0x5b98a2(0x294)][_0x5b98a2(0x1e6)](_0xadbecd);}['getMember'](_0x43d32a,_0x2d4dd9){var _0x43b04d=_0x7e3d33;const _0x19676d=this[_0x43b04d(0x294)][_0x43b04d(0x1e6)](_0x43d32a);if(_0x19676d)return _0x19676d[_0x43b04d(0x27f)](_0x2d4dd9);}['_removeRoom'](_0x5e600e){var _0x1a0b51=_0x7e3d33;const _0x5a52ba=this['_roomMembers'][_0x1a0b51(0x1e6)](_0x5e600e);_0x5a52ba&&(_0x5a52ba[_0x1a0b51(0x135)](),this[_0x1a0b51(0x294)]['delete'](_0x5e600e));}[_0x7e3d33(0x135)](){var _0x467088=_0x7e3d33;this['_roomMembers'][_0x467088(0x28a)](_0x4449c8=>_0x4449c8[_0x467088(0x135)]()),this[_0x467088(0x294)]['clear'](),this[_0x467088(0x13f)][_0x467088(0x327)]();}};xe=Yn([Kt(0x0,_0x3f319c),Kt(0x1,_0x46e7fc(_0x3bc4f7))],xe);class qn extends _0x25c510{constructor(){var _0x35dee1=_0x7e3d33;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x33cf72(this[_0x35dee1(0x1bf)])),N(this,_0x35dee1(0x2ca),this[_0x35dee1(0x3fc)][_0x35dee1(0x2b7)]());}[_0x7e3d33(0x135)](){var _0x42a84d=_0x7e3d33;this[_0x42a84d(0x1bf)]['clear']();}[_0x7e3d33(0x196)](_0x3eda1f){var _0x55e561=_0x7e3d33;this['_members'][_0x55e561(0x3c8)](_0x3eda1f[_0x55e561(0x1ee)],_0x3eda1f),this[_0x55e561(0x1cb)]();}[_0x7e3d33(0x268)](_0x27bb8d){var _0x157e11=_0x7e3d33;this[_0x157e11(0x1bf)][_0x157e11(0x279)](_0x27bb8d);}[_0x7e3d33(0x27f)](_0x456ac7){var _0x59f855=_0x7e3d33;return this[_0x59f855(0x1bf)][_0x59f855(0x1e6)](_0x456ac7);}['getAllMembers'](){var _0x284cd0=_0x7e3d33;return Array[_0x284cd0(0x138)](this['_members']['values']());}[_0x7e3d33(0x1cb)](){var _0xc0ef35=_0x7e3d33;this[_0xc0ef35(0x3fc)][_0xc0ef35(0x18a)](this[_0xc0ef35(0x1bf)]);}}var zn=Object['defineProperty'],Jn=Object[_0x7e3d33(0x31d)],Xn=(_0x4f1d8f,_0x14b423,_0x61e75f,_0x310f3d)=>{var _0x113e37=_0x7e3d33;for(var _0x3bd9f9=_0x310f3d>0x1?void 0x0:_0x310f3d?Jn(_0x14b423,_0x61e75f):_0x14b423,_0x504d3e=_0x4f1d8f[_0x113e37(0x255)]-0x1,_0x332436;_0x504d3e>=0x0;_0x504d3e--)(_0x332436=_0x4f1d8f[_0x504d3e])&&(_0x3bd9f9=(_0x310f3d?_0x332436(_0x14b423,_0x61e75f,_0x3bd9f9):_0x332436(_0x3bd9f9))||_0x3bd9f9);return _0x310f3d&&_0x3bd9f9&&zn(_0x14b423,_0x61e75f,_0x3bd9f9),_0x3bd9f9;},me=(_0x235586,_0x526b58)=>(_0x202fa1,_0x47bec6)=>_0x526b58(_0x202fa1,_0x47bec6,_0x235586),Te=(_0xd27c52=>(_0xd27c52[_0xd27c52[_0x7e3d33(0x30f)]=0x0]='IDLE',_0xd27c52[_0xd27c52['JOINING']=0x1]='JOINING',_0xd27c52[_0xd27c52[_0x7e3d33(0x3eb)]=0x2]=_0x7e3d33(0x3eb),_0xd27c52[_0xd27c52[_0x7e3d33(0x385)]=0x3]=_0x7e3d33(0x385),_0xd27c52))(Te||{});const Yt={[Ee[_0x7e3d33(0x28c)]]:'session.join-failed',[Ee[_0x7e3d33(0x26c)]]:_0x7e3d33(0x141),[Ee[_0x7e3d33(0x217)]]:_0x7e3d33(0x18f),[Ee[_0x7e3d33(0x16b)]]:_0x7e3d33(0x38e),[Ee[_0x7e3d33(0x1d3)]]:_0x7e3d33(0x224)};let It=class extends _0x2a0262{constructor(_0x28269c,_0x13a9ec,_0x2f35d9,_0xcb133a,_0x1a9725,_0x25a382,_0x31c0dd,_0x27bdea,_0x258835){var _0x42107b=_0x7e3d33;super(),N(this,_0x42107b(0x2f7),new _0x33cf72(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x42107b(0x2b7)]()),N(this,_0x42107b(0x3c5),new _0x5a35c2()),N(this,'event$',this[_0x42107b(0x3c5)]['asObservable']()),N(this,_0x42107b(0x33f)),N(this,_0x42107b(0x1c7)),N(this,_0x42107b(0x3ee)),N(this,_0x42107b(0x1b6),!0x1),N(this,'_telemetryInfo',null),(this[_0x42107b(0x2b8)]=_0x28269c,this[_0x42107b(0x261)]=_0x2f35d9,this[_0x42107b(0x38d)]=_0xcb133a,this[_0x42107b(0x150)]=_0x1a9725,this['_memberService']=_0x25a382,this[_0x42107b(0x402)]=_0x31c0dd,this[_0x42107b(0x162)]=_0x27bdea,this['_telemetryService']=_0x258835,this[_0x42107b(0x1b6)]=!!this['_telemetryService'],_0x13a9ec[_0x42107b(0x3ff)](_0x294cec(this[_0x42107b(0x240)]))[_0x42107b(0x3d5)](_0x5000c8=>{var _0x1a4b1e=_0x42107b,_0x368074;typeof _0x5000c8>'u'||(this['_socket']=_0x5000c8,_0x5000c8?(this[_0x1a4b1e(0x3c3)](_0x5000c8),this['_socketMessageSubscription']=_0x5000c8[_0x1a4b1e(0x31e)][_0x1a4b1e(0x3d5)](_0x8b1de7=>{var _0x4af498=_0x1a4b1e;_0x8b1de7[_0x4af498(0x33d)]===this['_unitID']&&this[_0x4af498(0x355)](_0x8b1de7);})):(this[_0x1a4b1e(0x15e)](),this['_sessionStatus$'][_0x1a4b1e(0x18a)](0x2),(_0x368074=this['_socketMessageSubscription'])==null||_0x368074[_0x1a4b1e(0x3e0)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x452607=_0x7e3d33;return this[_0x452607(0x2f7)][_0x452607(0x300)]();}[_0x7e3d33(0x3a2)](){var _0x39175b=_0x7e3d33,_0x232b69,_0x267020;return(_0x267020=(_0x232b69=this[_0x39175b(0x33f)])==null?void 0x0:_0x232b69['memberID'])!=null?_0x267020:null;}['dispose'](){var _0x4954e5=_0x7e3d33;super[_0x4954e5(0x135)](),this['dispose$'][_0x4954e5(0x18a)](),this[_0x4954e5(0x240)][_0x4954e5(0x327)]();}[_0x7e3d33(0x2c6)](){var _0x1f8c9e=_0x7e3d33,_0xc77edf,_0xf284be;this[_0x1f8c9e(0x15e)](),(_0xc77edf=this['_socket'])==null||_0xc77edf['send']({'cmd':F[_0x1f8c9e(0x23d)],'data':{'roomID':this[_0x1f8c9e(0x2b8)]}}),(_0xf284be=this['_socket'])==null||_0xf284be[_0x1f8c9e(0x2c6)](),this[_0x1f8c9e(0x3c5)][_0x1f8c9e(0x327)](),this['_sessionStatus$'][_0x1f8c9e(0x327)](),this['dispose']();}[_0x7e3d33(0x355)](_0xedbc15){var _0x11a890=_0x7e3d33;_0xedbc15[_0x11a890(0x307)]===F['JOIN']?this['_onJoinRoomEvent'](_0xedbc15):_0xedbc15[_0x11a890(0x307)]===F['RECV']&&this[_0x11a890(0x341)](_0xedbc15);}['_joinRoom'](_0x521125){var _0x288ac1=_0x7e3d33;this['_sessionStatus$'][_0x288ac1(0x18a)](0x1),_0x521125[_0x288ac1(0x2f3)]({'cmd':F[_0x288ac1(0x216)],'routeKey':this[_0x288ac1(0x2b8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x288ac1(0x2b8)]}]}});}['_onJoinRoomEvent'](_0x1ab81a){var _0x554c61=_0x7e3d33,_0x58fb72;if(_0x1ab81a[_0x554c61(0x2ef)]in Yt){this[_0x554c61(0x162)][_0x554c61(0x2f9)]({'id':se[_0x554c61(0x401)],'data':Yt[_0x1ab81a[_0x554c61(0x2ef)]]}),this[_0x554c61(0x2f7)]['next'](0x2);return;}this[_0x554c61(0x2f7)][_0x554c61(0x18a)](0x3);const _0x682b35=(_0x58fb72=_0x1ab81a[_0x554c61(0x248)][_0x554c61(0x3ab)][this[_0x554c61(0x2b8)]])==null?void 0x0:_0x58fb72[_0x554c61(0x287)];_0x682b35&&_0x682b35['forEach'](_0x46056e=>this[_0x554c61(0x1e4)][_0x554c61(0x196)](this[_0x554c61(0x2b8)],_0x46056e));}[_0x7e3d33(0x341)](_0x5daaec){var _0x5cccfc=_0x7e3d33;try{const _0x4ce1a5=_0x5daaec['data'];switch(_0x4ce1a5['eventID']){case _0x180571['USERS_ENTER']:this['_onUserJoin'](_0x4ce1a5),this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571['USERS_LEAVE']:this[_0x5cccfc(0x3cd)](_0x4ce1a5),this[_0x5cccfc(0x3c5)][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x280)]:case _0x180571[_0x5cccfc(0x123)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5cccfc(0x3c5)][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x3b9)]:this['_logService']['error'](_0x5cccfc(0x271)+JSON[_0x5cccfc(0x228)](_0x4ce1a5)),this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x3bf)]:this['_commentService']['onCommentUpdate'](_0x4ce1a5[_0x5cccfc(0x248)]),this[_0x5cccfc(0x3c5)]['next'](_0x4ce1a5);break;default:this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);}}catch(_0x57cbb9){this[_0x5cccfc(0x261)][_0x5cccfc(0x129)](_0x57cbb9,_0x5daaec);}}[_0x7e3d33(0x369)](_0x51ce55){var _0x1cfb7d=_0x7e3d33;this[_0x1cfb7d(0x1e4)]['updateMember'](this[_0x1cfb7d(0x2b8)],_0x51ce55[_0x1cfb7d(0x248)]);}[_0x7e3d33(0x3cd)](_0x10c313){var _0xfff807=_0x7e3d33;this['_memberService']['removeMember'](this[_0xfff807(0x2b8)],_0x10c313[_0xfff807(0x248)][_0xfff807(0x1ee)]);}async[_0x7e3d33(0x2f3)](_0xea6b3c,_0x3777be){var _0x4c87a3=_0x7e3d33;if(this[_0x4c87a3(0x356)]!==0x3||!this['_socket'])throw new Error(_0x4c87a3(0x1dd));try{_0xea6b3c[_0x4c87a3(0x215)]===_0x180571['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4c87a3(0x389)](_0xea6b3c)),this[_0x4c87a3(0x33f)]['send']({'cmd':F[_0x4c87a3(0x205)],'routeKey':_0x3777be,'routeType':'','data':_0xea6b3c});}catch(_0x287da0){this[_0x4c87a3(0x261)]['error'](_0x287da0);}}[_0x7e3d33(0x37d)](){var _0x5dadfd=_0x7e3d33,_0x38b2e4;this[_0x5dadfd(0x3ee)]=setTimeout(()=>{var _0x10a5e4=_0x5dadfd;this['_collaborationTimeoutTimer']=null,this[_0x10a5e4(0x162)]['emitEvent']({'id':se[_0x10a5e4(0x2bf)]});},(_0x38b2e4=this[_0x5dadfd(0x38d)]['getConfig'](Si))!=null?_0x38b2e4:Ei);}[_0x7e3d33(0x29d)](){var _0xd77771=_0x7e3d33;this[_0xd77771(0x3ee)]&&(clearTimeout(this[_0xd77771(0x3ee)]),this[_0xd77771(0x3ee)]=null);}[_0x7e3d33(0x389)](_0x269c53){var _0x1e9ca6=_0x7e3d33;if(!this['_shouldReportTelemetry'])return;const {data:_0x591ed0}=_0x269c53,{unitID:_0x35d6b3,changeset:_0x31fda3}=_0x591ed0,{mutations:_0x639f32,type:_0x88e77e}=_0x31fda3;this[_0x1e9ca6(0x202)]={'unitId':_0x35d6b3,'type':_0x88e77e,'startTime':performance[_0x1e9ca6(0x242)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x639f32)};}[_0x7e3d33(0x21d)](){var _0x5c0a00=_0x7e3d33;if(this['_shouldReportTelemetry']){if(!this[_0x5c0a00(0x202)]){this[_0x5c0a00(0x261)][_0x5c0a00(0x129)](_0x5c0a00(0x398),_0x5c0a00(0x1e9));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this['_telemetryInfo'][_0x5c0a00(0x335)]=this[_0x5c0a00(0x202)]['stopTime']-this['_telemetryInfo'][_0x5c0a00(0x3c7)],this[_0x5c0a00(0x1e2)][_0x5c0a00(0x30c)](Vn,this[_0x5c0a00(0x202)]),this[_0x5c0a00(0x202)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x3f2d03),me(0x3,_0xe8305c),me(0x4,_0x46e7fc(_0x826620)),me(0x5,_0x46e7fc(xe)),me(0x6,_0x46e7fc(Ri)),me(0x7,_0x46e7fc(pe)),me(0x8,_0x34330d(_0x572501))],It);var Zn=Object[_0x7e3d33(0x349)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x2c6121,_0x25c578,_0x4d7f32,_0x395451)=>{var _0x22c68a=_0x7e3d33;for(var _0x479fd3=_0x395451>0x1?void 0x0:_0x395451?Qn(_0x25c578,_0x4d7f32):_0x25c578,_0x519787=_0x2c6121[_0x22c68a(0x255)]-0x1,_0x70a8b4;_0x519787>=0x0;_0x519787--)(_0x70a8b4=_0x2c6121[_0x519787])&&(_0x479fd3=(_0x395451?_0x70a8b4(_0x25c578,_0x4d7f32,_0x479fd3):_0x70a8b4(_0x479fd3))||_0x479fd3);return _0x395451&&_0x479fd3&&Zn(_0x25c578,_0x4d7f32,_0x479fd3),_0x479fd3;},ge=(_0x2e221f,_0x16fc35)=>(_0x22abae,_0x5ba105)=>_0x16fc35(_0x22abae,_0x5ba105,_0x2e221f);let Le=class extends _0x25c510{constructor(_0x56fa73,_0x24d212,_0x1569c4,_0xda0e18,_0x55cccf,_0x35b5c6,_0x2b1bd1){var _0xb32344=_0x7e3d33;super(),N(this,_0xb32344(0x3f3),new _0x33cf72(void 0x0)),N(this,_0xb32344(0x2b0),this[_0xb32344(0x3f3)][_0xb32344(0x2b7)]()),N(this,_0xb32344(0x3d9),null),N(this,_0xb32344(0x132),new Map()),N(this,_0xb32344(0x26f),new _0x33cf72(Te[_0xb32344(0x30f)])),N(this,_0xb32344(0x3a8),this[_0xb32344(0x26f)][_0xb32344(0x2b7)]()),N(this,_0xb32344(0x243),!0x1),N(this,'_retryConnectingTimer'),N(this,_0xb32344(0x373),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xb32344(0x36a)),(this[_0xb32344(0x1de)]=_0x56fa73,this[_0xb32344(0x261)]=_0x24d212,this[_0xb32344(0x38d)]=_0x1569c4,this[_0xb32344(0x154)]=_0xda0e18,this[_0xb32344(0x31b)]=_0x55cccf,this[_0xb32344(0x162)]=_0x35b5c6,this['_networkConditionService']=_0x2b1bd1,this[_0xb32344(0x20b)]());}get[_0x7e3d33(0x33f)](){var _0x43a418=_0x7e3d33;return this[_0x43a418(0x3f3)]['getValue']();}['_listenToNetworkCondition'](){var _0x3c2ee7=_0x7e3d33;this[_0x3c2ee7(0x1f1)]&&this[_0x3c2ee7(0x2c2)](this[_0x3c2ee7(0x1f1)][_0x3c2ee7(0x2f4)][_0x3c2ee7(0x3d5)](_0x3f4ca4=>{var _0xc9d9fc=_0x3c2ee7;_0x3f4ca4&&!this[_0xc9d9fc(0x33f)]&&this[_0xc9d9fc(0x22d)](),_0x3f4ca4||this[_0xc9d9fc(0x412)]();}));}[_0x7e3d33(0x135)](){var _0xc49ed3=_0x7e3d33;super['dispose'](),this[_0xc49ed3(0x132)][_0xc49ed3(0x28a)](_0x2f3d00=>_0x2f3d00[_0xc49ed3(0x135)]()),this['_sessions']['clear'](),this[_0xc49ed3(0x26f)]['complete']();}async[_0x7e3d33(0x370)](_0x2ca8c5){var _0x3011a9=_0x7e3d33;if(this[_0x3011a9(0x132)][_0x3011a9(0x1d8)](_0x2ca8c5))return this[_0x3011a9(0x132)]['get'](_0x2ca8c5);this[_0x3011a9(0x3a1)]();const _0x3dbfa4=this[_0x3011a9(0x1de)][_0x3011a9(0x39c)](It,_0x2ca8c5,this[_0x3011a9(0x3f3)][_0x3011a9(0x2b7)]());return this['_sessions'][_0x3011a9(0x3c8)](_0x2ca8c5,_0x3dbfa4),_0x3dbfa4;}[_0x7e3d33(0x3e7)](_0x34df58){var _0x5706da=_0x7e3d33,_0x51e51d;const _0x4ab578=this['_sessions'][_0x5706da(0x1e6)](_0x34df58);_0x4ab578&&(this[_0x5706da(0x132)][_0x5706da(0x279)](_0x34df58),_0x4ab578[_0x5706da(0x2c6)]()),this[_0x5706da(0x132)]['size']||(_0x51e51d=this[_0x5706da(0x33f)])==null||_0x51e51d[_0x5706da(0x2c6)]();}[_0x7e3d33(0x22d)](){var _0x1d7690=_0x7e3d33;this[_0x1d7690(0x373)]=0x0,this[_0x1d7690(0x3e9)]!=null&&(clearTimeout(this[_0x1d7690(0x3e9)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x4b08fe=_0x7e3d33,_0x310b54,_0x48645e,_0x3faa0f;const _0x239511=this[_0x4b08fe(0x38d)][_0x4b08fe(0x383)](q),_0x45a33b=(_0x310b54=_0x239511==null?void 0x0:_0x239511[_0x4b08fe(0x3a7)])!=null?_0x310b54:On;return(_0x3faa0f=(_0x48645e=(await this['_httpService'][_0x4b08fe(0x1e6)](_0x45a33b,{'headers':{'Content-Type':'application/json'}}))[_0x4b08fe(0x38f)])==null?void 0x0:_0x48645e[_0x4b08fe(0x2a9)])!=null?_0x3faa0f:'';}[_0x7e3d33(0x3d7)](_0x14d880){var _0x2cada4=_0x7e3d33,_0x4afe08,_0x38e62d;const _0x129473=this[_0x2cada4(0x38d)][_0x2cada4(0x383)](Rn),_0x6c2ca7=this[_0x2cada4(0x38d)][_0x2cada4(0x383)](q),_0x508a83=(_0x38e62d=(_0x4afe08=_0x6c2ca7==null?void 0x0:_0x6c2ca7[_0x2cada4(0x37e)])!=null?_0x4afe08:_0x129473)!=null?_0x38e62d:bn,_0x2eb493=typeof window>'u'?new URL(_0x508a83):new URL(_0x508a83,window[_0x2cada4(0x21b)][_0x2cada4(0x136)]);_0x2eb493[_0x2cada4(0x19a)][_0x2cada4(0x3c8)](_0x2cada4(0x275),_0x14d880);const _0x15ea3e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cada4(0x21b)][_0x2cada4(0x1ac)]);return _0x15ea3e[_0x2cada4(0x1e6)](_0x2cada4(0x3ce))&&_0x2eb493[_0x2cada4(0x19a)]['set']('runId',_0x15ea3e[_0x2cada4(0x1e6)](_0x2cada4(0x3ce))),_0x2eb493[_0x2cada4(0x328)]();}async['_createSocket'](){var _0x23c6e7=_0x7e3d33;const _0x242b7a=await this['_getSessionTicket'](),_0x496697=this[_0x23c6e7(0x3d7)](_0x242b7a),_0x48eeb5=this[_0x23c6e7(0x154)][_0x23c6e7(0x393)](_0x496697);return this[_0x23c6e7(0x3d9)]=_0x48eeb5,_0x48eeb5;}async[_0x7e3d33(0x3a1)](){var _0x3a7bd4=_0x7e3d33,_0x4f3ce5,_0x5a1e1c;try{const _0x1912e8=(_0x5a1e1c=(_0x4f3ce5=this[_0x3a7bd4(0x33f)])!=null?_0x4f3ce5:this[_0x3a7bd4(0x3d9)])!=null?_0x5a1e1c:await this[_0x3a7bd4(0x1f2)]();if(_0x1912e8){const _0x31b2dd=_0x1912e8[_0x3a7bd4(0x2f3)];_0x1912e8[_0x3a7bd4(0x2f3)]=_0x416908=>(this['_rescheduleHeartbeat'](),_0x31b2dd[_0x3a7bd4(0x3ec)](_0x1912e8,[_0x416908])),_0x1912e8[_0x3a7bd4(0x31e)][_0x3a7bd4(0x3d5)](_0x2a0417=>this['_onMessage'](_0x1912e8,_0x2a0417)),_0x1912e8[_0x3a7bd4(0x2d8)][_0x3a7bd4(0x3ff)](_0x2ababf(0x1))['subscribe'](_0x577f9e=>this[_0x3a7bd4(0x261)][_0x3a7bd4(0x129)]('[CollaborationSessionService]:\x20socket\x20error',_0x577f9e)),_0x1912e8[_0x3a7bd4(0x266)][_0x3a7bd4(0x3ff)](_0x2ababf(0x1))[_0x3a7bd4(0x3d5)](()=>{var _0x6c53d9=_0x3a7bd4;this[_0x6c53d9(0x1cf)](_0x1912e8);}),_0x1912e8['close$']['pipe'](_0x2ababf(0x1))[_0x3a7bd4(0x3d5)](_0x4c08de=>{var _0x3c7d71=_0x3a7bd4;this['_logService'][_0x3c7d71(0x2e4)](_0x3c7d71(0x13b),_0x3c7d71(0x2ad),_0x4c08de),this[_0x3c7d71(0x2bc)]();});}}catch(_0x183b62){this[_0x3a7bd4(0x261)]['error'](_0x183b62),this[_0x3a7bd4(0x2bc)]();}}[_0x7e3d33(0x1cf)](_0x26bc9a){var _0x18d1e3=_0x7e3d33;this[_0x18d1e3(0x261)][_0x18d1e3(0x2e4)](_0x18d1e3(0x13b),'socket\x20open.'),_0x26bc9a['send']({'cmd':F[_0x18d1e3(0x14d)]}),this[_0x18d1e3(0x2f5)]();}[_0x7e3d33(0x412)](){var _0x255e18=_0x7e3d33;this[_0x255e18(0x243)]=!0x1,this[_0x255e18(0x3d9)]=null,this[_0x255e18(0x26f)]['next'](Te['OFFLINE']),this['_socket$'][_0x255e18(0x18a)](null),this['_clearTimeoutTimer'](),this[_0x255e18(0x120)]();}[_0x7e3d33(0x2bc)](){var _0x489368=_0x7e3d33,_0x195035;this[_0x489368(0x412)](),this[_0x489368(0x373)]<((_0x195035=this[_0x489368(0x38d)][_0x489368(0x383)](Pn))!=null?_0x195035:wn)?(this[_0x489368(0x162)]['emitEvent']({'id':se[_0x489368(0x257)]}),this[_0x489368(0x2f6)]()):this[_0x489368(0x162)][_0x489368(0x2f9)]({'id':se[_0x489368(0x3e2)]});}['_tryReconnect'](){var _0x45c952=_0x7e3d33,_0x2f1c73;const _0x5ded13=this[_0x45c952(0x373)],_0x34c54a=this['_configService'][_0x45c952(0x383)](q),_0xbd1666=_0x5ded13===0x0?0x0:((_0x2f1c73=_0x34c54a==null?void 0x0:_0x34c54a['retryConnectingInterval'])!=null?_0x2f1c73:Dn)*0x2**_0x5ded13;this[_0x45c952(0x3e9)]=setTimeout(()=>{var _0x15b39c=_0x45c952;clearTimeout(this[_0x15b39c(0x3e9)]),this[_0x15b39c(0x3e9)]=null,this[_0x15b39c(0x3a1)]();},_0xbd1666),this[_0x45c952(0x373)]+=0x1;}[_0x7e3d33(0x121)](_0xf67b5b,_0x383beb){var _0x33ed30=_0x7e3d33;const {cmd:_0x16f372}=_0x383beb;_0x16f372===F['HELLO']&&!this['_socketReady']&&(_0xf67b5b[_0x33ed30(0x1ee)]=_0x383beb[_0x33ed30(0x248)]['memberID'],this['_socket$'][_0x33ed30(0x18a)](_0xf67b5b),this[_0x33ed30(0x26f)][_0x33ed30(0x18a)](Te[_0x33ed30(0x385)]),this[_0x33ed30(0x243)]=!0x0,this[_0x33ed30(0x3d9)]=null),_0x16f372===F[_0x33ed30(0x168)]&&this[_0x33ed30(0x1fc)](),this['_rescheduleHeartbeat']();}[_0x7e3d33(0x2f5)](){var _0x132b93=_0x7e3d33,_0x365427;this['_clearHeartbeatTimer'](),this[_0x132b93(0x2d0)]=setTimeout(()=>this[_0x132b93(0x388)](),(_0x365427=this[_0x132b93(0x38d)][_0x132b93(0x383)](yn))!=null?_0x365427:Nn);}[_0x7e3d33(0x388)](){var _0x76fcf3=_0x7e3d33;this['_socket']['send']({'cmd':F[_0x76fcf3(0x168)]}),this[_0x76fcf3(0x170)]();}[_0x7e3d33(0x170)](){var _0x5b1206=_0x7e3d33,_0x2521a5;this[_0x5b1206(0x36a)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2521a5=this['_configService']['getConfig'](Si))!=null?_0x2521a5:Ei);}[_0x7e3d33(0x120)](){var _0xb1f9a4=_0x7e3d33;this[_0xb1f9a4(0x2d0)]!=null&&(clearTimeout(this[_0xb1f9a4(0x2d0)]),this[_0xb1f9a4(0x2d0)]=null);}[_0x7e3d33(0x1fc)](){var _0x587222=_0x7e3d33;this[_0x587222(0x36a)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x46e7fc(_0x54c970)),ge(0x1,_0x3f2d03),ge(0x2,_0xe8305c),ge(0x3,Ci),ge(0x4,_0x46e7fc(_0x13eabd)),ge(0x5,_0x46e7fc(pe)),ge(0x6,_0x34330d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x7e3d33(0x399)]((n+0x100)[_0x7e3d33(0x328)](0x10)['slice'](0x1));function tr(_0x4404b9,_0x303e93=0x0){var _0x13be7f=_0x7e3d33;return(V[_0x4404b9[_0x303e93+0x0]]+V[_0x4404b9[_0x303e93+0x1]]+V[_0x4404b9[_0x303e93+0x2]]+V[_0x4404b9[_0x303e93+0x3]]+'-'+V[_0x4404b9[_0x303e93+0x4]]+V[_0x4404b9[_0x303e93+0x5]]+'-'+V[_0x4404b9[_0x303e93+0x6]]+V[_0x4404b9[_0x303e93+0x7]]+'-'+V[_0x4404b9[_0x303e93+0x8]]+V[_0x4404b9[_0x303e93+0x9]]+'-'+V[_0x4404b9[_0x303e93+0xa]]+V[_0x4404b9[_0x303e93+0xb]]+V[_0x4404b9[_0x303e93+0xc]]+V[_0x4404b9[_0x303e93+0xd]]+V[_0x4404b9[_0x303e93+0xe]]+V[_0x4404b9[_0x303e93+0xf]])[_0x13be7f(0x33a)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x2b8f3b=_0x7e3d33;if(!ut){if(typeof crypto>'u'||!crypto[_0x2b8f3b(0x19e)])throw new Error(_0x2b8f3b(0x386));ut=crypto['getRandomValues']['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x7e3d33(0x352)]&&crypto[_0x7e3d33(0x352)][_0x7e3d33(0x2d5)](crypto),qt={'randomUUID':rr};function sr(_0x38ed24,_0xe8ad63,_0x666791){var _0x3925e4=_0x7e3d33,_0x170e4f,_0x425e68,_0x3974ef;if(qt[_0x3925e4(0x352)]&&!_0x38ed24)return qt[_0x3925e4(0x352)]();_0x38ed24=_0x38ed24||{};const _0x2321ba=(_0x3974ef=(_0x425e68=_0x38ed24[_0x3925e4(0x416)])!=null?_0x425e68:(_0x170e4f=_0x38ed24['rng'])==null?void 0x0:_0x170e4f[_0x3925e4(0x33e)](_0x38ed24))!=null?_0x3974ef:nr();if(_0x2321ba[_0x3925e4(0x255)]<0x10)throw new Error(_0x3925e4(0x142));return _0x2321ba[0x6]=_0x2321ba[0x6]&0xf|0x40,_0x2321ba[0x8]=_0x2321ba[0x8]&0x3f|0x80,tr(_0x2321ba);}const J=_0x51c9f0(_0x7e3d33(0x378));function so(_0x1e1cf0){var _0x48b948=_0x7e3d33;return _0x48b948(0x230)+_0x1e1cf0;}var or=Object[_0x7e3d33(0x349)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x393bb6,_0x3970ba,_0x2ee8b5,_0xf220b3)=>{for(var _0x374ff7=_0xf220b3>0x1?void 0x0:_0xf220b3?ar(_0x3970ba,_0x2ee8b5):_0x3970ba,_0x3272d2=_0x393bb6['length']-0x1,_0x4416cf;_0x3272d2>=0x0;_0x3272d2--)(_0x4416cf=_0x393bb6[_0x3272d2])&&(_0x374ff7=(_0xf220b3?_0x4416cf(_0x3970ba,_0x2ee8b5,_0x374ff7):_0x4416cf(_0x374ff7))||_0x374ff7);return _0xf220b3&&_0x374ff7&&or(_0x3970ba,_0x2ee8b5,_0x374ff7),_0x374ff7;},dt=(_0x1a4f63,_0x2d4432)=>(_0x4f2b3b,_0xcfc932)=>_0x2d4432(_0x4f2b3b,_0xcfc932,_0x1a4f63);function hr(_0x2bd5ee){var _0x228189=_0x7e3d33;const {unitID:_0x46c75b,mutations:_0x1638c7}=_0x2bd5ee;return{'unitId':_0x46c75b,'subUnitId':_0x1638c7[0x0][_0x228189(0x408)]['subUnitId']};}let it=class{constructor(_0xe280e7,_0x5a8726,_0x27978e){var _0x6c8a0d=_0x7e3d33;this[_0x6c8a0d(0x1de)]=_0xe280e7,this[_0x6c8a0d(0x2e9)]=_0x5a8726,this['_instanceService']=_0x27978e;}[_0x7e3d33(0x144)](_0x479b54){var _0x54e89a=_0x7e3d33,_0x46a26d,_0x4ea6c8,_0x31f32d,_0x41c03d;const _0x11ceaf=this[_0x54e89a(0x1de)][_0x54e89a(0x1e6)](_0x44e528),{unitId:_0x163190,subUnitId:_0x387aad}=hr(_0x479b54),_0x2c564b=_0x11ceaf==null?void 0x0:_0x11ceaf['getWorkbookSelections'](_0x163190)[_0x54e89a(0x3ba)](),_0x3e490f=(_0x4ea6c8=(_0x46a26d=this['_instanceService'][_0x54e89a(0x211)](_0x163190))==null?void 0x0:_0x46a26d[_0x54e89a(0x3a3)]())==null?void 0x0:_0x4ea6c8[_0x54e89a(0x23b)]();if(_0x2c564b[_0x54e89a(0x255)]===0x0||!_0x163190||!_0x387aad)return;const _0x502410=[{'id':_0x1e82bf['id'],'params':{'unitId':_0x163190,'subUnitId':_0x3e490f,'selections':_0x50aabe[_0x54e89a(0x30e)](_0x2c564b)}}],_0x5458ed=this[_0x54e89a(0x2e9)]['transformMutationsWithChangeset'](_0x479b54,_0x502410);if(!_0x4496a3(_0x5458ed))throw _0x5458ed[_0x54e89a(0x129)];const _0x2e7798=(_0x41c03d=(_0x31f32d=_0x5458ed[_0x54e89a(0x40f)][0x0])==null?void 0x0:_0x31f32d[_0x54e89a(0x408)])==null?void 0x0:_0x41c03d[_0x54e89a(0x381)];if(Array[_0x54e89a(0x1ad)](_0x2e7798)&&_0x2e7798[_0x54e89a(0x255)]){if(_0x2e7798['length']===_0x502410[0x0][_0x54e89a(0x408)][_0x54e89a(0x381)][_0x54e89a(0x255)]&&_0x2e7798[_0x54e89a(0x332)]((_0x3a2201,_0x1453c6)=>_0x43a91d[_0x54e89a(0x21f)](_0x3a2201[_0x54e89a(0x1d4)],_0x502410[0x0][_0x54e89a(0x408)]['selections'][_0x1453c6]['range'])))return;this[_0x54e89a(0x1de)][_0x54e89a(0x1e6)](_0x12a849)['executeCommand'](_0x1e82bf['id'],{'unitId':_0x163190,'subUnitId':_0x3e490f,'selections':_0x2e7798});}}};it=cr([dt(0x0,_0x46e7fc(_0x54c970)),dt(0x1,_0x1b280a),dt(0x2,_0x3f319c)],it);const ht=_0x51c9f0('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x561801=>(_0x561801[_0x561801['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x561801[_0x561801[_0x7e3d33(0x2e6)]=0x1]=_0x7e3d33(0x2e6),_0x561801))(bi||{});const _r=new Set([_0x296332['id']]);function zt(_0x11c612,_0x56dfa8,_0x5e8a28,_0x561c06,_0x1b042b){var _0x4c473b=_0x7e3d33,_0x317bf8,_0x49ab7f,_0x23f62d,_0x5b8975;const _0x2a8ba4=[];for(const _0x9c58d7 of _0x11c612)if(_r[_0x4c473b(0x1d8)](_0x9c58d7['id'])){if(_0x2a8ba4['length']>0x0)break;_0x2a8ba4[_0x4c473b(0x399)](_0x9c58d7);break;}else _0x2a8ba4[_0x4c473b(0x399)](_0x9c58d7);const _0x56a999=(_0x49ab7f=(_0x317bf8=_0x1b042b[_0x4c473b(0x37c)]())==null?void 0x0:_0x317bf8[_0x4c473b(0x204)])!=null?_0x49ab7f:'unknown',_0x4e85ca=(_0x5b8975=(_0x23f62d=_0x1b042b[_0x4c473b(0x37c)]())==null?void 0x0:_0x23f62d[_0x4c473b(0x1ee)])!=null?_0x5b8975:_0x4c473b(0x1ae);return{'changeset':{'unitID':_0x56dfa8,'type':_0x164240(_0x5e8a28[_0x4c473b(0x12f)](_0x56dfa8)),'baseRev':_0x561c06[_0x4c473b(0x2cd)](_0x56dfa8),'revision':0x0,'userID':_0x56a999,'memberID':_0x4e85ca,'mutations':_0x2a8ba4},'pendingMutations':_0x11c612[_0x4c473b(0x1b1)](_0x2a8ba4[_0x4c473b(0x255)])};}function lr(_0x17eebc,_0x455b72,_0x41bcf3,_0x5ca70a,_0x1f0198){var _0x3418d4=_0x7e3d33,_0x22a229,_0xfdf4a5,_0x248b5a,_0x5eb377;const _0x1b2782=[_0x17eebc['reduce']((_0x3ca606,_0x3a1db9)=>{var _0x593dc6=_0x3515,_0x480a00;const {id:_0x18a355}=_0x3ca606,{id:_0x5ce0f1,type:_0x4bff4f}=_0x3a1db9,_0x3cb3ed=(_0x480a00=_0x3ca606[_0x593dc6(0x408)])!=null?_0x480a00:{'actions':null},_0x5d51fe=_0x3a1db9['params'];if(_0x18a355&&_0x18a355!==_0x5ce0f1)throw new Error(_0x593dc6(0x308)+_0x18a355+'\x20-\x20'+_0x5ce0f1+'.');return{..._0x3ca606,'id':_0x5ce0f1,'type':_0x4bff4f,'params':{'unitId':_0x5d51fe['unitId'],'textRanges':_0x5d51fe['textRanges'],'actions':_0x5651e6['compose'](_0x3cb3ed[_0x593dc6(0x213)],_0x5d51fe[_0x593dc6(0x213)])}};},{})],_0x5066e5=(_0xfdf4a5=(_0x22a229=_0x1f0198[_0x3418d4(0x37c)]())==null?void 0x0:_0x22a229['userID'])!=null?_0xfdf4a5:_0x3418d4(0x1ae),_0x87dd68=(_0x5eb377=(_0x248b5a=_0x1f0198[_0x3418d4(0x37c)]())==null?void 0x0:_0x248b5a[_0x3418d4(0x1ee)])!=null?_0x5eb377:'unknown';return{'changeset':{'unitID':_0x455b72,'type':_0x164240(_0x41bcf3['getUnitType'](_0x455b72)),'baseRev':_0x5ca70a[_0x3418d4(0x2cd)](_0x455b72),'revision':0x0,'userID':_0x5066e5,'memberID':_0x87dd68,'mutations':_0x1b2782},'pendingMutations':[]};}function Oi(_0x3f1d0b,_0x25357b){var _0x2091e2=_0x7e3d33;const _0x140d8e=new _0x20c46f(0x1);return setTimeout(()=>_0x140d8e[_0x2091e2(0x18a)](_0x25357b),_0x3f1d0b),_0x140d8e[_0x2091e2(0x2b7)]()[_0x2091e2(0x3ff)](_0x22a28b(0x1));}const ur={'id':_0x431294['id'],'type':_0x42d9bc[_0x7e3d33(0x1e1)],'params':{}};var dr=Object[_0x7e3d33(0x349)],fr=Object[_0x7e3d33(0x31d)],Re=(_0x27b7d6,_0x4c8048,_0x59fbb4,_0x5b5f13)=>{var _0x540c1a=_0x7e3d33;for(var _0x152f61=_0x5b5f13>0x1?void 0x0:_0x5b5f13?fr(_0x4c8048,_0x59fbb4):_0x4c8048,_0x5b7c73=_0x27b7d6[_0x540c1a(0x255)]-0x1,_0x35dc49;_0x5b7c73>=0x0;_0x5b7c73--)(_0x35dc49=_0x27b7d6[_0x5b7c73])&&(_0x152f61=(_0x5b5f13?_0x35dc49(_0x4c8048,_0x59fbb4,_0x152f61):_0x35dc49(_0x152f61))||_0x152f61);return _0x5b5f13&&_0x152f61&&dr(_0x4c8048,_0x59fbb4,_0x152f61),_0x152f61;},A=(_0x56e338,_0xbb1b3a)=>(_0x56c170,_0x57a993)=>_0xbb1b3a(_0x56c170,_0x57a993,_0x56e338),yi=(_0x272182=>(_0x272182[_0x7e3d33(0x1c5)]=_0x7e3d33(0x376),_0x272182['SYNCED']=_0x7e3d33(0x27e),_0x272182[_0x7e3d33(0x159)]=_0x7e3d33(0x1fd),_0x272182['AWAITING']=_0x7e3d33(0x312),_0x272182[_0x7e3d33(0x37b)]=_0x7e3d33(0x407),_0x272182['FETCH_MISS']=_0x7e3d33(0x2cb),_0x272182[_0x7e3d33(0x3c9)]='conflict',_0x272182[_0x7e3d33(0x3eb)]=_0x7e3d33(0x251),_0x272182))(yi||{});const Ni=0xea60;class be{constructor(_0xca7cc9,_0x523b33,_0xf519e6,_0x5d54f5,_0x3e93b7,_0x504d80,_0x45d9e4,_0xa5044f,_0x45210c){var _0x53a18b=_0x7e3d33;N(this,'_awaitingChangeset',null),N(this,_0x53a18b(0x263),[]),(this['unitID']=_0xca7cc9,this[_0x53a18b(0x192)]=_0x523b33,this['_handler']=_0x3e93b7,this[_0x53a18b(0x283)]=_0x504d80,this[_0x53a18b(0x233)]=_0x45d9e4,this['_revisionService']=_0xa5044f,this[_0x53a18b(0x305)]=_0x45210c,this['_awaitingChangeset']=_0xf519e6,this['_pendingMutations']=_0x5d54f5);}['_checkMissing'](_0x4ea08f){var _0x52c7d3=_0x7e3d33;const _0x3319d2=this['_revisionService'][_0x52c7d3(0x2cd)](this['unitID']);return _0x4ea08f['revision']>_0x3319d2+0x1?(this['_handler'][_0x52c7d3(0x207)]({'from':_0x3319d2,'to':_0x4ea08f[_0x52c7d3(0x353)]-0x1}),!0x0):!0x1;}[_0x7e3d33(0x221)](_0x3bd134){var _0x100669=_0x7e3d33;this[_0x100669(0x233)][_0x100669(0x3a0)](this['unitID'],_0x3bd134);}['_transformSelections'](_0x1af02d){var _0x1c0551=_0x7e3d33,_0x228a19,_0x38e4ef;(_0x38e4ef=(_0x228a19=this[_0x1c0551(0x1df)])[_0x1c0551(0x32e)])==null||_0x38e4ef[_0x1c0551(0x33e)](_0x228a19,_0x1af02d);}[_0x7e3d33(0x2be)](_0x18774b){var _0x396007=_0x7e3d33,_0x26a67c,_0x3d9f06;return(_0x3d9f06=(_0x26a67c=this[_0x396007(0x1df)])['onTransformIME'])==null?void 0x0:_0x3d9f06[_0x396007(0x33e)](_0x26a67c,_0x18774b);}[_0x7e3d33(0x1c2)](_0x555da4){var _0x15770f=_0x7e3d33,_0x4f4ea8,_0x1a64cb;return(_0x1a64cb=(_0x4f4ea8=this[_0x15770f(0x1df)])[_0x15770f(0x277)])==null?void 0x0:_0x1a64cb['call'](_0x4f4ea8,_0x555da4);}[_0x7e3d33(0x3b6)](_0x12b5e0){var _0x2de73e=_0x7e3d33,_0x243a1d,_0x598f3f,_0x16cb76;return(_0x16cb76=(_0x598f3f=(_0x243a1d=this[_0x2de73e(0x1df)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x598f3f[_0x2de73e(0x33e)](_0x243a1d,_0x12b5e0))!=null?_0x16cb76:_0x12b5e0;}[_0x7e3d33(0x3f4)](_0x2aee41){var _0x13d306=_0x7e3d33,_0x5782cc,_0x4e5188,_0x105892;return(_0x105892=(_0x4e5188=(_0x5782cc=this[_0x13d306(0x1df)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4e5188[_0x13d306(0x33e)](_0x5782cc,_0x2aee41))!=null?_0x105892:_0x2aee41;}['_syncEditingCollabCursor'](_0x4ee516){var _0x5caa81=_0x7e3d33,_0x10a269,_0x5144de;if(this[_0x5caa81(0x192)]===Q[_0x5caa81(0x3ae)]){const {unitID:_0x32bd80,mutations:_0x1fbf56,memberID:_0xc32338}=_0x4ee516,_0x54b764=_0x1fbf56[0x0]['params'][_0x5caa81(0x27d)];Array[_0x5caa81(0x1ad)](_0x54b764)&&_0x54b764[_0x5caa81(0x255)]>0x0&&((_0x5144de=(_0x10a269=this['_handler'])[_0x5caa81(0x326)])==null||_0x5144de[_0x5caa81(0x33e)](_0x10a269,{'unitID':_0x32bd80,'memberID':_0xc32338,'textRanges':_0x54b764}));}}[_0x7e3d33(0x367)](){var _0x1b8ac6=_0x7e3d33,_0x614643;(_0x614643=this['_localCacheService'])==null||_0x614643['updateOfflineData'](this['unitID'],this[_0x1b8ac6(0x192)],this[_0x1b8ac6(0x185)],this[_0x1b8ac6(0x263)]);}['_getCurrentRevision'](){var _0x270fb5=_0x7e3d33;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x270fb5(0x2ce)]);}[_0x7e3d33(0x340)](){var _0x49b4e6=_0x7e3d33;this['_revisionService']['incrementRevOfUnit'](this[_0x49b4e6(0x2ce)]);}['_executeRemoteChangeset'](_0x4fd1ea){var _0x36fa9a=_0x7e3d33,_0x24e8d7;let _0x2d9174=this[_0x36fa9a(0x3b6)](_0x4fd1ea);_0x2d9174=this[_0x36fa9a(0x3f4)](_0x2d9174);const _0x3ab83f=_0x403b17(_0x2d9174[_0x36fa9a(0x1f9)],this[_0x36fa9a(0x283)],{'fromCollab':!0x0});if(!_0x3ab83f['result'])throw _0x3ab83f[_0x36fa9a(0x129)]instanceof Error?_0x3ab83f[_0x36fa9a(0x129)]:new Error((_0x24e8d7=_0x3ab83f[_0x36fa9a(0x129)])!=null?_0x24e8d7:_0x36fa9a(0x157));this[_0x36fa9a(0x2be)](_0x2d9174),this[_0x36fa9a(0x1c2)](_0x2d9174),this[_0x36fa9a(0x221)](_0x4fd1ea),this[_0x36fa9a(0x1ef)](_0x2d9174),this[_0x36fa9a(0x1eb)](_0x2d9174),this[_0x36fa9a(0x340)]();}}let De=class extends be{constructor(_0x157c9c,_0x1c9639,_0x546929,_0x2df756,_0x58faac,_0xca55e6,_0x3ea84f,_0x25cf35,_0x39bec3,_0x1f99e5){var _0x53a872=_0x7e3d33;super(_0x157c9c,_0x1c9639,null,[],_0x546929,_0x3ea84f,_0xca55e6,_0x2df756,_0x1f99e5),N(this,'status',_0x53a872(0x27e)),(this[_0x53a872(0x1de)]=_0x58faac,this['_logService']=_0x25cf35,this[_0x53a872(0x2e9)]=_0x39bec3,this['localCacheService']=_0x1f99e5);}['appendMutation'](_0x38f174){var _0x3f45db=_0x7e3d33;const _0x3adea1=this[_0x3f45db(0x1de)][_0x3f45db(0x39c)](oe,this[_0x3f45db(0x2ce)],this[_0x3f45db(0x192)],[_0x38f174],this[_0x3f45db(0x1df)]);return _0x3adea1[_0x3f45db(0x2e3)](),_0x3adea1['_updateLocalCache'](),_0x3adea1;}[_0x7e3d33(0x21e)](_0x8c9168){var _0x1d2ac4=_0x7e3d33;if(this['_checkMissing'](_0x8c9168))return this[_0x1d2ac4(0x1de)][_0x1d2ac4(0x39c)](te,this[_0x1d2ac4(0x2ce)],this[_0x1d2ac4(0x192)],null,[],null,[_0x8c9168],this['_handler']);try{const _0x2fd488=this[_0x1d2ac4(0x2e9)]['transformMutationsWithChangeset'](_0x8c9168,[ur]);if(_0x4496a3(_0x2fd488)){const {c1Prime:_0x109f6a}=_0x2fd488;return this[_0x1d2ac4(0x125)](_0x109f6a),this;}throw _0x2fd488[_0x1d2ac4(0x129)];}catch(_0x2ab638){return this[_0x1d2ac4(0x261)]['error'](_0x2ab638),this['_onConflict'](!0x1);}}[_0x7e3d33(0x1dc)](_0x592dce){var _0x33c814=_0x7e3d33;return this[_0x33c814(0x1de)][_0x33c814(0x39c)](de,this[_0x33c814(0x2ce)],this[_0x33c814(0x192)],null,[],this[_0x33c814(0x1df)],_0x592dce);}[_0x7e3d33(0x34b)](){var _0x37900d=_0x7e3d33;throw new Error(_0x37900d(0x330));}[_0x7e3d33(0x24c)](){var _0x1858a1=_0x7e3d33;throw new Error(_0x1858a1(0x236));}[_0x7e3d33(0x155)](){return this;}['toggleOffline'](){var _0x4b0bf6=_0x7e3d33;return this[_0x4b0bf6(0x1de)][_0x4b0bf6(0x39c)](fe,this[_0x4b0bf6(0x2ce)],this[_0x4b0bf6(0x192)],null,[],this[_0x4b0bf6(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x1c84c5=_0x7e3d33;throw new Error(_0x1c84c5(0x364));}[_0x7e3d33(0x29f)](){var _0x4a86d1=_0x7e3d33;const _0x1602ea=this['_revisionService'][_0x4a86d1(0x2cd)](this[_0x4a86d1(0x2ce)]);return this['_handler'][_0x4a86d1(0x207)]({'from':_0x1602ea,'to':0x0}),this[_0x4a86d1(0x1de)]['createInstance'](te,this[_0x4a86d1(0x2ce)],this[_0x4a86d1(0x192)],null,[],null,[],this[_0x4a86d1(0x1df)]);}};De=Re([A(0x3,_0x46e7fc(_0x316b6a)),A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x1c6bd2),A(0x6,_0x12a849),A(0x7,_0x3f2d03),A(0x8,_0x1b280a),A(0x9,_0x34330d(J))],De);let oe=class extends be{constructor(_0x177961,_0x1e0c7b,_0x51fd57,_0x56286d,_0x2dfe61,_0x2de70c,_0x25e711,_0x508542,_0x4f6116,_0x437c92,_0x491c5c,_0x32eb81,_0xf1caa9,_0x148410){var _0x3f593c=_0x7e3d33;super(_0x177961,_0x1e0c7b,null,_0x51fd57,_0x56286d,_0x4f6116,_0xf1caa9,_0x2de70c,_0x148410),N(this,_0x3f593c(0x25d),'pending'),N(this,_0x3f593c(0x2e2),null),N(this,'_sendingTimer',null),(this[_0x3f593c(0x1de)]=_0x2dfe61,this[_0x3f593c(0x1e4)]=_0x25e711,this[_0x3f593c(0x261)]=_0x508542,this[_0x3f593c(0x38d)]=_0x437c92,this[_0x3f593c(0x2e9)]=_0x491c5c,this['_univerInstanceService']=_0x32eb81);}['appendMutation'](_0x47ab9e){var _0x5229d0=_0x7e3d33;return this[_0x5229d0(0x263)][_0x5229d0(0x399)](_0x47ab9e),this[_0x5229d0(0x367)](),this;}[_0x7e3d33(0x21e)](_0x33f6d4){var _0x3bd9b6=_0x7e3d33;if(this[_0x3bd9b6(0x38a)](_0x33f6d4))return this['_clearScheduledTask'](),this['_injector'][_0x3bd9b6(0x39c)](te,this[_0x3bd9b6(0x2ce)],this[_0x3bd9b6(0x192)],null,this[_0x3bd9b6(0x263)],null,[_0x33f6d4],this[_0x3bd9b6(0x1df)]);try{const _0x2b2f83=this[_0x3bd9b6(0x2e9)][_0x3bd9b6(0x160)](_0x33f6d4,this[_0x3bd9b6(0x263)]);if(_0x4496a3(_0x2b2f83)){const {c1Prime:_0x267e3d,m2Prime:_0x5ea91f}=_0x2b2f83;this[_0x3bd9b6(0x125)](_0x267e3d);const _0x3d0aa0=this[_0x3bd9b6(0x1de)][_0x3bd9b6(0x39c)](oe,this[_0x3bd9b6(0x2ce)],this[_0x3bd9b6(0x192)],_0x5ea91f,this['_handler']);this[_0x3bd9b6(0x3db)]();const _0x3c14f2=new Date()[_0x3bd9b6(0x203)](),_0xd517b=this[_0x3bd9b6(0x2e2)]?Math[_0x3bd9b6(0x15a)](this[_0x3bd9b6(0x2e2)]-_0x3c14f2,0x0):this[_0x3bd9b6(0x1a6)]();return _0x3d0aa0['_schedule'](_0xd517b),_0x3d0aa0;}throw _0x2b2f83[_0x3bd9b6(0x129)];}catch(_0x3ac7f3){return this[_0x3bd9b6(0x261)][_0x3bd9b6(0x129)](_0x3ac7f3),this[_0x3bd9b6(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](){var _0x4d6982=_0x7e3d33;throw new Error(_0x4d6982(0x289));}[_0x7e3d33(0x24c)](){var _0x47de82=_0x7e3d33;throw new Error(_0x47de82(0x358));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){var _0x3f4650=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x3f4650(0x1de)][_0x3f4650(0x39c)](fe,this[_0x3f4650(0x2ce)],this['type'],null,this[_0x3f4650(0x263)],this[_0x3f4650(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2e3)](_0x4c68d2){var _0xb6bcb0=_0x7e3d33;const _0x21e70a=_0x4c68d2!=null?_0x4c68d2:this[_0xb6bcb0(0x1a6)]();this[_0xb6bcb0(0x2e2)]=new Date()[_0xb6bcb0(0x203)]()+_0x21e70a,this['_sendingTimer']=setTimeout(()=>{var _0x56bab3=_0xb6bcb0;this[_0x56bab3(0x3db)]();let _0x1ffa0d=null;switch(this[_0x56bab3(0x192)]){case Q[_0x56bab3(0x33b)]:{_0x1ffa0d=zt(this[_0x56bab3(0x263)],this[_0x56bab3(0x2ce)],this['_univerInstanceService'],this[_0x56bab3(0x293)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x56bab3(0x263)]['every'](_0x52f8df=>_0x52f8df['id']===_0x28d6ae['id'])?_0x1ffa0d=lr(this[_0x56bab3(0x263)],this[_0x56bab3(0x2ce)],this[_0x56bab3(0x12d)],this[_0x56bab3(0x293)],this['_memberService']):_0x1ffa0d=zt(this['_pendingMutations'],this[_0x56bab3(0x2ce)],this[_0x56bab3(0x12d)],this[_0x56bab3(0x293)],this['_memberService']);break;}default:throw new Error(_0x56bab3(0x415)+this[_0x56bab3(0x192)]+'\x20in\x20_schedule.');}const {changeset:_0x2522d1,pendingMutations:_0x4470c3}=_0x1ffa0d;this[_0x56bab3(0x1df)][_0x56bab3(0x20f)](_0x2522d1);const _0x2447ba=_0x4470c3[_0x56bab3(0x255)]?this[_0x56bab3(0x1de)][_0x56bab3(0x39c)](ae,this[_0x56bab3(0x2ce)],this[_0x56bab3(0x192)],_0x2522d1,_0x4470c3,this[_0x56bab3(0x1df)],void 0x0):this[_0x56bab3(0x1de)][_0x56bab3(0x39c)](ue,this[_0x56bab3(0x2ce)],this[_0x56bab3(0x192)],_0x2522d1,this[_0x56bab3(0x1df)]);_0x2447ba['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2447ba);},_0x21e70a);}['_getSendChangesetTimeout'](){var _0x46c72a=_0x7e3d33,_0x405916;const _0x2f20d1=this[_0x46c72a(0x38d)][_0x46c72a(0x383)](q);return(_0x405916=_0x2f20d1==null?void 0x0:_0x2f20d1[_0x46c72a(0x3d1)])!=null?_0x405916:Cn;}[_0x7e3d33(0x2b5)](){var _0x34def8=_0x7e3d33;throw new Error(_0x34def8(0x22b));}[_0x7e3d33(0x3db)](){var _0x1c0346=_0x7e3d33;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1c0346(0x187)]),this[_0x1c0346(0x187)]=null);}['_onConflict'](_0x1d1b25){var _0x39547b=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x39547b(0x1de)][_0x39547b(0x39c)](de,this[_0x39547b(0x2ce)],this[_0x39547b(0x192)],null,this[_0x39547b(0x263)],this['_handler'],_0x1d1b25);}};oe=Re([A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x46e7fc(_0x316b6a)),A(0x6,_0x46e7fc(xe)),A(0x7,_0x3f2d03),A(0x8,_0x12a849),A(0x9,_0xe8305c),A(0xa,_0x1b280a),A(0xb,_0x3f319c),A(0xc,_0x1c6bd2),A(0xd,_0x34330d(J))],oe);let ue=class extends be{constructor(_0x52ba31,_0x1e6a24,_0x9f130,_0x1d7d4c,_0x294398,_0x36bc24,_0x24f890,_0x1e02d2,_0x32aede,_0x1d885f,_0x5f2d84){var _0x10f924=_0x7e3d33;super(_0x52ba31,_0x1e6a24,_0x9f130,[],_0x1d7d4c,_0x24f890,_0x1d885f,_0x36bc24,_0x5f2d84),N(this,_0x10f924(0x25d),_0x10f924(0x312)),N(this,_0x10f924(0x34f),0x0),N(this,_0x10f924(0x343)),N(this,_0x10f924(0x2d9)),(this['_injector']=_0x294398,this['_logService']=_0x1e02d2,this['_transformService']=_0x32aede);}['appendMutation'](_0x4cee60){var _0x411c82=_0x7e3d33;this[_0x411c82(0x3db)]();const _0xaef122=this[_0x411c82(0x1de)][_0x411c82(0x39c)](ae,this[_0x411c82(0x2ce)],this[_0x411c82(0x192)],this[_0x411c82(0x185)],[_0x4cee60],this[_0x411c82(0x1df)],this['_resendTimer']);return _0xaef122[_0x411c82(0x367)](),_0xaef122;}[_0x7e3d33(0x21e)](_0x295d8d){var _0x3430a3=_0x7e3d33;if(this[_0x3430a3(0x38a)](_0x295d8d))return this[_0x3430a3(0x3db)](),this['_injector']['createInstance'](te,this[_0x3430a3(0x2ce)],this[_0x3430a3(0x192)],this['_awaitingChangeset'],[],null,[_0x295d8d],this[_0x3430a3(0x1df)]);try{const _0x2feebb=this[_0x3430a3(0x2e9)]['transformChangesets']([_0x295d8d],[this[_0x3430a3(0x185)]],!0x1);if(_0x147682(_0x2feebb)){const {c1Prime:_0xa70b11,c2Prime:_0x3d812b}=_0x2feebb;this[_0x3430a3(0x125)](_0xa70b11[0x0]),_0x3d812b[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3430a3(0x3db)]();const _0x46674a=this[_0x3430a3(0x1de)][_0x3430a3(0x39c)](ue,this[_0x3430a3(0x2ce)],this[_0x3430a3(0x192)],_0x3d812b[0x0],this[_0x3430a3(0x1df)]);return _0x46674a[_0x3430a3(0x367)](),_0x46674a;}return this[_0x3430a3(0x1dc)](!0x1);}catch(_0x71b165){return this['_logService']['error'](_0x71b165),this[_0x3430a3(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](_0x46ac24){var _0x2cd113=_0x7e3d33;this['_clearScheduledTask']();const _0x20b0ce=this[_0x2cd113(0x293)]['getCurrentRevOfUnit'](this['unitID']);if(_0x46ac24['revision']<_0x20b0ce-0x1)return this;if(this[_0x2cd113(0x38a)](_0x46ac24))return this[_0x2cd113(0x1de)][_0x2cd113(0x39c)](te,this['unitID'],this[_0x2cd113(0x192)],null,[],this['_awaitingChangeset'],[],this[_0x2cd113(0x1df)]);this[_0x2cd113(0x340)]();const _0x579fa8=this[_0x2cd113(0x1de)][_0x2cd113(0x39c)](De,this['unitID'],this['type'],this[_0x2cd113(0x1df)]);return _0x579fa8[_0x2cd113(0x367)](),_0x579fa8;}[_0x7e3d33(0x24c)](_0x581b52){var _0x15ff07=_0x7e3d33;return this[_0x15ff07(0x1dc)](!!(_0x581b52!=null&&_0x581b52['isPermissionRej']));}['onRemoteRetry'](_0x558e42){var _0x526f04=_0x7e3d33;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x526f04(0x34f)],{'timeout':this['_resendTimeout'],'reqId':_0x558e42['reqId']}),this[_0x526f04(0x2d9)]=this[_0x526f04(0x343)][_0x526f04(0x3d5)](({reqId:_0xdf48,timeout:_0x2348f8})=>{var _0x1cac90=_0x526f04;this[_0x1cac90(0x24e)](_0xdf48,_0x2348f8);}),this);}[_0x7e3d33(0x281)](){var _0x15a42c=_0x7e3d33;return this[_0x15a42c(0x3db)](),this['_injector'][_0x15a42c(0x39c)](fe,this[_0x15a42c(0x2ce)],this[_0x15a42c(0x192)],this[_0x15a42c(0x185)],[],this[_0x15a42c(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x446858=_0x7e3d33;this[_0x446858(0x1df)][_0x446858(0x20f)](this[_0x446858(0x185)]);}[_0x7e3d33(0x1dc)](_0x36af0c){var _0x44e30c=_0x7e3d33;return this[_0x44e30c(0x3db)](),this[_0x44e30c(0x1de)][_0x44e30c(0x39c)](de,this['unitID'],this[_0x44e30c(0x192)],this[_0x44e30c(0x185)],[],this['_handler'],_0x36af0c);}['_resendWithTimeout'](_0x59394e,_0x1536a0){var _0x396fe7=_0x7e3d33,_0x401aa3;_0x59394e===((_0x401aa3=this[_0x396fe7(0x185)])==null?void 0x0:_0x401aa3[_0x396fe7(0x1ea)])&&(this[_0x396fe7(0x2b5)](),this[_0x396fe7(0x34f)]=_0x1536a0===0x0?0x3e8:_0x1536a0*0x2);}[_0x7e3d33(0x3db)](){var _0x56381f=_0x7e3d33,_0x30aaf7;(_0x30aaf7=this[_0x56381f(0x2d9)])==null||_0x30aaf7['unsubscribe'](),this[_0x56381f(0x34f)]=0x0;}};ue=Re([A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x46e7fc(_0x316b6a)),A(0x6,_0x12a849),A(0x7,_0x3f2d03),A(0x8,_0x1b280a),A(0x9,_0x1c6bd2),A(0xa,_0x34330d(J))],ue);let ae=class extends be{constructor(_0x3ead20,_0x368c0d,_0x1fcad4,_0x4cbd65,_0x4f20bc,_0x30943f,_0x1810ef,_0x1dcfe0,_0x27e912,_0x3ccf8b,_0x1b8b46,_0x190952,_0x59584d){var _0x18a779=_0x7e3d33;super(_0x3ead20,_0x368c0d,_0x1fcad4,_0x4cbd65,_0x4f20bc,_0x27e912,_0x190952,_0x1dcfe0,_0x59584d),N(this,_0x18a779(0x25d),'awaiting_with_pending'),N(this,_0x18a779(0x34f),0x0),N(this,_0x18a779(0x343)),N(this,_0x18a779(0x2d9)),(this[_0x18a779(0x1de)]=_0x1810ef,this[_0x18a779(0x261)]=_0x3ccf8b,this['_transformService']=_0x1b8b46,this[_0x18a779(0x14f)]=_0x59584d,_0x30943f&&(this['_resendTimer']=_0x30943f,this[_0x18a779(0x2d9)]=this[_0x18a779(0x343)][_0x18a779(0x3d5)](({reqId:_0x3182e4,timeout:_0x55baec})=>{this['_resendWithTimeout'](_0x3182e4,_0x55baec);})));}[_0x7e3d33(0x2ae)](_0x3315bd){var _0x1fccf4=_0x7e3d33;return this[_0x1fccf4(0x263)][_0x1fccf4(0x399)](_0x3315bd),this;}['onRemoteChangeset'](_0x417536){var _0x4f47e7=_0x7e3d33;if(this[_0x4f47e7(0x38a)](_0x417536))return this[_0x4f47e7(0x3db)](),this[_0x4f47e7(0x1de)][_0x4f47e7(0x39c)](te,this['unitID'],this[_0x4f47e7(0x192)],this[_0x4f47e7(0x185)],this[_0x4f47e7(0x263)],null,[_0x417536],this[_0x4f47e7(0x1df)]);try{const _0x192b70=this[_0x4f47e7(0x2e9)][_0x4f47e7(0x25f)]([_0x417536],[this['_awaitingChangeset']],!0x1);if(_0x147682(_0x192b70)){const {c1Prime:_0xe725c5,c2Prime:_0x208fb4}=_0x192b70,_0x54c3c8=this['_transformService'][_0x4f47e7(0x160)](_0xe725c5[0x0],this['_pendingMutations']);if(_0x4496a3(_0x54c3c8)){const {c1Prime:_0x221625,m2Prime:_0xe27765}=_0x54c3c8;return this['_executeRemoteChangeset'](_0x221625),_0x208fb4[0x0][_0x4f47e7(0x149)]=this[_0x4f47e7(0x140)](),this[_0x4f47e7(0x3db)](),this['_injector'][_0x4f47e7(0x39c)](ae,this[_0x4f47e7(0x2ce)],this[_0x4f47e7(0x192)],_0x208fb4[0x0],_0xe27765,this['_handler'],void 0x0);}throw _0x54c3c8[_0x4f47e7(0x129)];}throw _0x192b70[_0x4f47e7(0x129)];}catch(_0x268bf5){return this[_0x4f47e7(0x261)][_0x4f47e7(0x129)](_0x268bf5),this[_0x4f47e7(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](_0x522d56){var _0x5a4bdf=_0x7e3d33;if(this['_clearScheduledTask'](),this[_0x5a4bdf(0x38a)](_0x522d56))return this[_0x5a4bdf(0x1de)]['createInstance'](te,this[_0x5a4bdf(0x2ce)],this[_0x5a4bdf(0x192)],null,this[_0x5a4bdf(0x263)],this[_0x5a4bdf(0x185)],[],this[_0x5a4bdf(0x1df)]);this[_0x5a4bdf(0x340)]();const _0x1cfd2b=this[_0x5a4bdf(0x1de)][_0x5a4bdf(0x39c)](oe,this['unitID'],this[_0x5a4bdf(0x192)],this[_0x5a4bdf(0x263)],this[_0x5a4bdf(0x1df)]);return _0x1cfd2b[_0x5a4bdf(0x2e3)](),_0x1cfd2b[_0x5a4bdf(0x367)](),_0x1cfd2b;}[_0x7e3d33(0x24c)](_0x1e9b2f){var _0x295f4b=_0x7e3d33;return this[_0x295f4b(0x1dc)](!!(_0x1e9b2f!=null&&_0x1e9b2f[_0x295f4b(0x1a8)]));}['onRemoteRetry'](_0x4c2dea){var _0x3046fc=_0x7e3d33;return this[_0x3046fc(0x34f)]>Ni?this[_0x3046fc(0x281)]():(this[_0x3046fc(0x343)]=Oi(this[_0x3046fc(0x34f)],{'timeout':this[_0x3046fc(0x34f)],'reqId':_0x4c2dea[_0x3046fc(0x1ea)]}),this['_sender']=this['_resendTimer'][_0x3046fc(0x3d5)](({reqId:_0x320bff,timeout:_0x3c03e6})=>{var _0xd398e9=_0x3046fc;this[_0xd398e9(0x24e)](_0x320bff,_0x3c03e6);}),this);}[_0x7e3d33(0x281)](){var _0x4429db=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x4429db(0x1de)][_0x4429db(0x39c)](fe,this[_0x4429db(0x2ce)],this['type'],this['_awaitingChangeset'],this[_0x4429db(0x263)],this[_0x4429db(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}['resend'](){var _0x385f32=_0x7e3d33;this[_0x385f32(0x1df)][_0x385f32(0x20f)](this[_0x385f32(0x185)]);}[_0x7e3d33(0x1dc)](_0x1e01f7){var _0x557370=_0x7e3d33;return this[_0x557370(0x3db)](),this['_injector'][_0x557370(0x39c)](de,this[_0x557370(0x2ce)],this[_0x557370(0x192)],null,this[_0x557370(0x263)],this[_0x557370(0x1df)],_0x1e01f7);}[_0x7e3d33(0x24e)](_0xe07ae4,_0x1d9f24){var _0x57abac=_0x7e3d33,_0x53dc05;_0xe07ae4===((_0x53dc05=this[_0x57abac(0x185)])==null?void 0x0:_0x53dc05[_0x57abac(0x1ea)])&&(this[_0x57abac(0x2b5)](),this['_resendTimeout']=_0x1d9f24===0x0?0x3e8:_0x1d9f24*0x2);}[_0x7e3d33(0x3db)](){var _0x5252df=_0x7e3d33,_0x17c765;(_0x17c765=this[_0x5252df(0x2d9)])==null||_0x17c765[_0x5252df(0x3e0)](),this[_0x5252df(0x34f)]=0x0;}};ae=Re([A(0x6,_0x46e7fc(_0x54c970)),A(0x7,_0x46e7fc(_0x316b6a)),A(0x8,_0x12a849),A(0x9,_0x3f2d03),A(0xa,_0x1b280a),A(0xb,_0x1c6bd2),A(0xc,_0x34330d(J))],ae);let de=class extends be{constructor(_0x3f08e9,_0x5565a2,_0x388e42,_0x1c9121,_0x2d6a85,_0x3889d8=!0x1,_0x51412f,_0xcf722d,_0x6f8814,_0x8f2d3e,_0x3712aa,_0x113d04,_0x116e82){var _0x2ac6b9=_0x7e3d33;super(_0x3f08e9,_0x5565a2,_0x388e42,_0x1c9121,_0x2d6a85,_0xcf722d,_0x6f8814,_0x8f2d3e,_0x116e82),N(this,_0x2ac6b9(0x25d),_0x2ac6b9(0x1d0)),(this['_isPermissionRej']=_0x3889d8,this[_0x2ac6b9(0x2a7)]=_0x51412f,this[_0x2ac6b9(0x150)]=_0x3712aa,this[_0x2ac6b9(0x162)]=_0x113d04,this['localCacheService']=_0x116e82,this[_0x2ac6b9(0x2b4)](),this['_clearLocalCache'](),this[_0x2ac6b9(0x3cc)]());}[_0x7e3d33(0x2ae)](){return this;}['onRemoteChangeset'](){return this;}[_0x7e3d33(0x34b)](){return this;}[_0x7e3d33(0x24c)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x542e88=_0x7e3d33;throw new Error(_0x542e88(0x34c));}[_0x7e3d33(0x21a)](){var _0x46d8e0=_0x7e3d33,_0x46cc0e;(_0x46cc0e=this[_0x46d8e0(0x305)])==null||_0x46cc0e[_0x46d8e0(0x2f8)](this[_0x46d8e0(0x2ce)],this[_0x46d8e0(0x192)],null,[]);}[_0x7e3d33(0x2b4)](){var _0x108ce6=_0x7e3d33;this[_0x108ce6(0x2a5)]?this['_collaborationUIEventService']['emitEvent']({'id':se[_0x108ce6(0x374)]}):this[_0x108ce6(0x162)]['emitEvent']({'id':se[_0x108ce6(0x3c9)]});}[_0x7e3d33(0x3cc)](){var _0x346492=_0x7e3d33;this['_permissionService'][_0x346492(0x267)](new _0x455e04(this[_0x346492(0x2ce)])['id'],!0x1);}};de=Re([A(0x6,_0x46e7fc(_0x4c05ea)),A(0x7,_0x12a849),A(0x8,_0x1c6bd2),A(0x9,_0x46e7fc(_0x316b6a)),A(0xa,_0x46e7fc(_0x826620)),A(0xb,_0x46e7fc(pe)),A(0xc,_0x34330d(J))],de);let fe=class extends be{constructor(_0x19310d,_0x3d5361,_0x179a22,_0x2e2867,_0x4a6abc,_0x4e26d4,_0x3849c8,_0x581cf2,_0x4c2167,_0x3f5aae){var _0x643813=_0x7e3d33;super(_0x19310d,_0x3d5361,_0x179a22,_0x2e2867,_0x4a6abc,_0x581cf2,_0x4c2167,_0x3849c8,_0x3f5aae),N(this,_0x643813(0x25d),_0x643813(0x251)),this[_0x643813(0x1de)]=_0x4e26d4;}['appendMutation'](_0x36280f){var _0x1906f4=_0x7e3d33;return this[_0x1906f4(0x263)]['push'](_0x36280f),this[_0x1906f4(0x367)](),this;}[_0x7e3d33(0x21e)](_0x1803e0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x7e3d33(0x34b)](){var _0xd52a1f=_0x7e3d33;throw new Error(_0xd52a1f(0x2e7));}[_0x7e3d33(0x24c)](){var _0x4e0de6=_0x7e3d33;throw new Error(_0x4e0de6(0x2b2));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){return this;}[_0x7e3d33(0x1b3)](){var _0x5aa68d=_0x7e3d33;const {_injector:_0x5e2689,_pendingMutations:_0x352a12,_awaitingChangeset:_0x322454,unitID:_0x3fea66,_handler:_0x339c80,type:_0x2260e2}=this,_0x22ed19=Di(_0x5e2689,_0x3fea66,_0x2260e2,_0x322454,_0x352a12,_0x339c80);return _0x22ed19 instanceof oe?_0x22ed19[_0x5aa68d(0x2e3)]():(_0x22ed19 instanceof ae||_0x22ed19 instanceof ue)&&_0x22ed19[_0x5aa68d(0x2b5)](),_0x22ed19;}[_0x7e3d33(0x2b5)](){var _0x53f28f=_0x7e3d33;throw new Error(_0x53f28f(0x1f0));}};fe=Re([A(0x5,_0x46e7fc(_0x54c970)),A(0x6,_0x46e7fc(_0x316b6a)),A(0x7,_0x12a849),A(0x8,_0x1c6bd2),A(0x9,_0x34330d(J))],fe);let te=class extends be{constructor(_0x3c7f47,_0x4ebde1,_0x5f2b42,_0xf6612,_0x205219,_0x4e5dc,_0x4ee3ea,_0x543dd6,_0x1d4245,_0x233fea,_0x5dce79,_0x3cf243,_0x4e1a69,_0x3f1bad){var _0x5e8559=_0x7e3d33;super(_0x3c7f47,_0x4ebde1,_0x5f2b42,_0xf6612,_0x4ee3ea,_0x5dce79,_0x3cf243,_0x1d4245,_0x3f1bad),N(this,_0x5e8559(0x25d),_0x5e8559(0x2cb)),(this[_0x5e8559(0x296)]=_0x205219,this['_queuedRemoteChangesets']=_0x4e5dc,this[_0x5e8559(0x1de)]=_0x543dd6,this[_0x5e8559(0x261)]=_0x233fea,this[_0x5e8559(0x2e9)]=_0x4e1a69,this[_0x5e8559(0x14f)]=_0x3f1bad);}[_0x7e3d33(0x259)](_0x1a4427){var _0x1a959b=_0x7e3d33;try{const _0x2db8cc=[..._0x1a4427,...this[_0x1a959b(0x18e)]],_0xf81c3e=[this[_0x1a959b(0x185)]||this[_0x1a959b(0x296)]][_0x1a959b(0x15f)](_0x3bddcc=>!!_0x3bddcc);let _0x3f9b4e,_0x256fd5;if(_0xf81c3e['length']){const _0x19848e=this[_0x1a959b(0x2e9)][_0x1a959b(0x25f)](_0x2db8cc,_0xf81c3e,!0x1);if(!_0x147682(_0x19848e))throw _0x19848e[_0x1a959b(0x129)];_0x3f9b4e=_0x19848e[_0x1a959b(0x20a)],_0x256fd5=_0x19848e[_0x1a959b(0x295)];}else _0x3f9b4e=_0x2db8cc,_0x256fd5=[];let _0x4d74d5=this[_0x1a959b(0x263)];_0x3f9b4e[_0x1a959b(0x28a)](_0xc4e5f3=>{var _0x108a74=_0x1a959b;let _0x3f8884;if(_0x4d74d5[_0x108a74(0x255)]){const _0x9c31ed=this[_0x108a74(0x2e9)]['transformMutationsWithChangeset'](_0xc4e5f3,_0x4d74d5);if(!_0x4496a3(_0x9c31ed))throw _0x9c31ed['error'];_0x3f8884=_0x9c31ed['c1Prime'],_0x4d74d5=_0x9c31ed[_0x108a74(0x40f)];}else _0x3f8884=_0xc4e5f3;this[_0x108a74(0x125)](_0x3f8884);}),this[_0x1a959b(0x296)]&&this[_0x1a959b(0x340)](),this['_awaitingChangeset']&&_0x256fd5[_0x1a959b(0x255)]&&(_0x256fd5[0x0][_0x1a959b(0x149)]=this[_0x1a959b(0x140)]());let _0x3e716f;if(this['_awaitingChangeset']&&_0x4d74d5[_0x1a959b(0x255)]!==0x0)_0x3e716f=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](ae,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],_0x256fd5[0x0],_0x4d74d5,this[_0x1a959b(0x1df)],void 0x0);else{if(this[_0x1a959b(0x185)]&&_0x4d74d5['length']===0x0)_0x256fd5[0x0][_0x1a959b(0x149)]=this[_0x1a959b(0x140)](),_0x3e716f=this[_0x1a959b(0x1de)]['createInstance'](ue,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],_0x256fd5[0x0],this[_0x1a959b(0x1df)]);else{if(_0x4d74d5['length']!==0x0){const _0x29d51b=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](oe,this['unitID'],this[_0x1a959b(0x192)],_0x4d74d5,this[_0x1a959b(0x1df)]);_0x29d51b[_0x1a959b(0x2e3)](),_0x3e716f=_0x29d51b;}else _0x3e716f=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](De,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],this[_0x1a959b(0x1df)]);}}return _0x3e716f['_updateLocalCache'](),_0x3e716f;}catch(_0x59d858){return this[_0x1a959b(0x261)]['error'](_0x1a959b(0x395),_0x1a959b(0x184),_0x59d858),this[_0x1a959b(0x1de)]['createInstance'](de,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],this[_0x1a959b(0x185)],this[_0x1a959b(0x263)],this[_0x1a959b(0x1df)],!0x1);}}[_0x7e3d33(0x2b5)](){var _0x133eab=_0x7e3d33;throw new Error(_0x133eab(0x359));}[_0x7e3d33(0x2ae)](_0x2f2686){var _0x2a021=_0x7e3d33;return this[_0x2a021(0x263)][_0x2a021(0x399)](_0x2f2686),this;}[_0x7e3d33(0x21e)](_0x465e05){return this['_queuedRemoteChangesets']['push'](_0x465e05),this;}[_0x7e3d33(0x34b)](_0xc16d42){var _0x141bae=_0x7e3d33;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x141bae(0x185)],this[_0x141bae(0x185)]=null,this;throw new Error(_0x141bae(0x1ed));}[_0x7e3d33(0x24c)](_0x1907b5){var _0x2e8e67=_0x7e3d33;return this['_onConflict'](!!(_0x1907b5!=null&&_0x1907b5[_0x2e8e67(0x1a8)]));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){var _0x2466d3=_0x7e3d33;return this[_0x2466d3(0x1de)]['createInstance'](fe,this[_0x2466d3(0x2ce)],this['type'],this['_awaitingChangeset'],this[_0x2466d3(0x263)],this[_0x2466d3(0x1df)]);}['toggleOnline'](){return this;}[_0x7e3d33(0x1dc)](_0x373029){var _0x391530=_0x7e3d33;return this[_0x391530(0x1de)]['createInstance'](de,this[_0x391530(0x2ce)],this[_0x391530(0x192)],this[_0x391530(0x185)],this[_0x391530(0x263)],this[_0x391530(0x1df)],_0x373029);}};te=Re([A(0x7,_0x46e7fc(_0x54c970)),A(0x8,_0x46e7fc(_0x316b6a)),A(0x9,_0x3f2d03),A(0xa,_0x12a849),A(0xb,_0x1c6bd2),A(0xc,_0x1b280a),A(0xd,_0x34330d(J))],te);function Di(_0x4c3c22,_0x2d0f79,_0x36524e,_0x32c398,_0x298c69,_0x5efab6){var _0x33146d=_0x7e3d33;return _0x32c398&&_0x298c69[_0x33146d(0x255)]?_0x4c3c22[_0x33146d(0x39c)](ae,_0x2d0f79,_0x36524e,_0x32c398,_0x298c69,_0x5efab6,void 0x0):_0x32c398?_0x4c3c22[_0x33146d(0x39c)](ue,_0x2d0f79,_0x36524e,_0x32c398,_0x5efab6):_0x298c69['length']?_0x4c3c22[_0x33146d(0x39c)](oe,_0x2d0f79,_0x36524e,_0x298c69,_0x5efab6):_0x4c3c22[_0x33146d(0x39c)](De,_0x2d0f79,_0x36524e,_0x5efab6);}var vr=Object[_0x7e3d33(0x349)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x3c7283,_0x472553,_0x28650b,_0x4ffb7e)=>{for(var _0x25dc46=_0x4ffb7e>0x1?void 0x0:_0x4ffb7e?pr(_0x472553,_0x28650b):_0x472553,_0x643d71=_0x3c7283['length']-0x1,_0x2bf1ac;_0x643d71>=0x0;_0x643d71--)(_0x2bf1ac=_0x3c7283[_0x643d71])&&(_0x25dc46=(_0x4ffb7e?_0x2bf1ac(_0x472553,_0x28650b,_0x25dc46):_0x2bf1ac(_0x25dc46))||_0x25dc46);return _0x4ffb7e&&_0x25dc46&&vr(_0x472553,_0x28650b,_0x25dc46),_0x25dc46;},k=(_0x55ef3b,_0x2cd5bb)=>(_0x4aaa5e,_0x3c47bc)=>_0x2cd5bb(_0x4aaa5e,_0x3c47bc,_0x55ef3b);function _0x3515(_0x211add,_0x1aa6b7){var _0x2fdcd2=_0x2fdc();return _0x3515=function(_0x3515ad,_0x1947e9){_0x3515ad=_0x3515ad-0x11e;var _0x413c54=_0x2fdcd2[_0x3515ad];return _0x413c54;},_0x3515(_0x211add,_0x1aa6b7);}let nt=class extends _0x2a0262{constructor(_0x1e2be2,_0x35cc25,_0xfc0c9,_0x4b3269,_0x596b8a,_0x420832,_0x5ec8d8,_0x2a0006,_0x748090,_0x3c26ea,_0x523379,_0x317a1c,_0x73d8ec){var _0x328c16=_0x7e3d33;super(),N(this,'_state$',new _0x33cf72(null)),N(this,_0x328c16(0x3b5),this[_0x328c16(0x24d)][_0x328c16(0x2b7)]()),N(this,_0x328c16(0x165)),N(this,_0x328c16(0x3fe),!0x1),N(this,'_changesetSessionId',''),N(this,_0x328c16(0x1f4),0x0),N(this,_0x328c16(0x3a8),this[_0x328c16(0x3b5)][_0x328c16(0x3ff)](_0x2db126(_0x23d6e9=>_0x23d6e9?_0x23d6e9[_0x328c16(0x25d)]:yi[_0x328c16(0x3eb)]),_0x5e7865(0x1))),N(this,_0x328c16(0x3f1),!0x1),N(this,_0x328c16(0x2da),[]),(this['unitID']=_0x1e2be2,this['session']=_0x35cc25,this[_0x328c16(0x2bb)]=_0xfc0c9,this[_0x328c16(0x1de)]=_0x4b3269,this['_compressMutationService']=_0x596b8a,this['_localeService']=_0x420832,this[_0x328c16(0x293)]=_0x5ec8d8,this[_0x328c16(0x2ba)]=_0x2a0006,this['_logService']=_0x748090,this[_0x328c16(0x283)]=_0x3c26ea,this[_0x328c16(0x2a7)]=_0x523379,this['_singleActiveUnitService']=_0x317a1c,this[_0x328c16(0x305)]=_0x73d8ec);}get[_0x7e3d33(0x16f)](){return this['_state'];}async[_0x7e3d33(0x301)](){var _0x433b1b=_0x7e3d33;if(this[_0x433b1b(0x16f)])throw new Error(_0x433b1b(0x272));await this[_0x433b1b(0x2c4)]();}[_0x7e3d33(0x188)](){var _0x21154c=_0x7e3d33;return this[_0x21154c(0x3fe)]=!0x0,_0x576ef6(()=>{var _0x402005=_0x21154c;this[_0x402005(0x3fe)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x4433b2){var _0x1508ff=_0x7e3d33;this[_0x1508ff(0x41f)](_0x4433b2);}[_0x7e3d33(0x2c7)](_0x2f69a0){var _0x24efca=_0x7e3d33;this['_state']=_0x2f69a0,this[_0x24efca(0x24d)][_0x24efca(0x18a)](_0x2f69a0);}async[_0x7e3d33(0x2c4)](){var _0x3dc9c1=_0x7e3d33,_0x244dd7;this[_0x3dc9c1(0x2c7)](await this[_0x3dc9c1(0x27b)]()),this[_0x3dc9c1(0x178)]&&((_0x244dd7=this[_0x3dc9c1(0x178)])==null||_0x244dd7[_0x3dc9c1(0x195)](this[_0x3dc9c1(0x2ce)]),this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x178)][_0x3dc9c1(0x3a5)](this[_0x3dc9c1(0x2ce)])[_0x3dc9c1(0x3d5)](_0x4a3f65=>{var _0x1a0d5e=_0x3dc9c1;this['_logService']['debug']('[CollaborationEntity]',_0x1a0d5e(0x3ac),_0x4a3f65),_0x4a3f65===bi[_0x1a0d5e(0x2e6)]?(this['_eventService']['emitEvent']({'id':se[_0x1a0d5e(0x237)]}),this['_permissionService'][_0x1a0d5e(0x267)](new _0x455e04(this[_0x1a0d5e(0x2ce)])['id'],!0x1),this[_0x1a0d5e(0x2a7)][_0x1a0d5e(0x2db)](!0x1)):(this[_0x1a0d5e(0x2a7)][_0x1a0d5e(0x267)](new _0x455e04(this[_0x1a0d5e(0x2ce)])['id'],!0x0),this[_0x1a0d5e(0x2a7)]['setShowComponents'](!0x0));})));let _0x4ad25b=!0x1;return this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x3e3)][_0x3dc9c1(0x298)][_0x3dc9c1(0x3d5)](_0x53901f=>{var _0xdb9379=_0x3dc9c1;_0x53901f===Te[_0xdb9379(0x385)]?this[_0xdb9379(0x2de)](_0x4ad25b):_0x53901f===Te[_0xdb9379(0x3eb)]&&(_0x4ad25b=!0x0,this[_0xdb9379(0x1bd)]());})),this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x3e3)][_0x3dc9c1(0x37f)][_0x3dc9c1(0x3d5)](_0x3d6d7f=>{var _0x31d50e=_0x3dc9c1;try{switch(_0x3d6d7f[_0x31d50e(0x215)]){case _0x180571[_0x31d50e(0x18c)]:{this[_0x31d50e(0x16c)](_0x247b21(_0x3d6d7f[_0x31d50e(0x248)]));break;}case _0x180571['CHANGESET_ACK']:{this[_0x31d50e(0x1af)](_0x3d6d7f[_0x31d50e(0x248)]);break;}case _0x180571[_0x31d50e(0x380)]:{this['_onRemoteRejected']();break;}case _0x180571[_0x31d50e(0x123)]:{this[_0x31d50e(0x218)](_0x3d6d7f[_0x31d50e(0x248)]);break;}case _0x180571['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x3d6d7f[_0x31d50e(0x248)]['changesets'][_0x31d50e(0x1e3)](_0x2387dd=>_0x247b21(_0x2387dd)));break;}case _0x180571['PERMISSION_REJ']:{this[_0x31d50e(0x246)]({'isPermissionRej':!0x0});break;}case _0x180571[_0x31d50e(0x403)]:break;}}catch(_0x1348dd){throw console['error'](_0x31d50e(0x222),_0x1348dd),_0x1348dd;}})),this['_state'];}[_0x7e3d33(0x3f7)](){var _0x252a9d=_0x7e3d33;this[_0x252a9d(0x3f1)]=!0x1;}[_0x7e3d33(0x316)](){var _0x1fb337=_0x7e3d33;if(this['_transitionLocked'])throw new Error(_0x1fb337(0x291));this['_transitionLocked']=!0x0;}[_0x7e3d33(0x41f)](_0x34299c){var _0xb01e14=_0x7e3d33;this[_0xb01e14(0x316)](),this[_0xb01e14(0x2c7)](this[_0xb01e14(0x165)]['appendMutation'](_0x34299c)),this[_0xb01e14(0x3f7)]();}[_0x7e3d33(0x16c)](_0x135843){var _0x3a5908=_0x7e3d33;if(!(_0x135843['revision']<=this[_0x3a5908(0x293)][_0x3a5908(0x2cd)](this[_0x3a5908(0x2ce)]))){if(this[_0x3a5908(0x3fe)]){this['_remoteChangesetQueue'][_0x3a5908(0x399)](_0x135843);return;}this[_0x3a5908(0x3c1)](_0x135843);}}[_0x7e3d33(0x2bd)](){var _0x3bea4f=_0x7e3d33;this['_remoteChangesetQueue'][_0x3bea4f(0x28a)](_0x411bd5=>this[_0x3bea4f(0x3c1)](_0x411bd5)),this[_0x3bea4f(0x2da)]=[];}[_0x7e3d33(0x3c1)](_0x3ee459){var _0x6d1a74=_0x7e3d33;const _0x201ad5=this[_0x6d1a74(0x315)][_0x6d1a74(0x14c)][_0x6d1a74(0x1b8)](this['_compressMutationService'][_0x6d1a74(0x14c)][_0x6d1a74(0x18b)]()['COMPRESS_MUTATION_APPLY'])(_0x3ee459[_0x6d1a74(0x1f9)],null)||_0x3ee459[_0x6d1a74(0x1f9)],_0x32482d={..._0x3ee459,'mutations':_0x201ad5};this[_0x6d1a74(0x316)](),this[_0x6d1a74(0x2c7)](this[_0x6d1a74(0x165)][_0x6d1a74(0x21e)](_0x32482d)),this[_0x6d1a74(0x3f7)]();}[_0x7e3d33(0x1af)](_0x37f06d){var _0x112fb8=_0x7e3d33;this[_0x112fb8(0x316)](),this[_0x112fb8(0x2c7)](this[_0x112fb8(0x165)][_0x112fb8(0x34b)](_0x37f06d)),this[_0x112fb8(0x3f7)]();}[_0x7e3d33(0x246)](_0x1d5439){var _0x562b00=_0x7e3d33;this[_0x562b00(0x316)](),this[_0x562b00(0x2c7)](this['_state'][_0x562b00(0x24c)](_0x1d5439)),this[_0x562b00(0x3f7)]();}['_onRemoteRetry'](_0x23aed2){var _0x156d06=_0x7e3d33;this[_0x156d06(0x316)](),this[_0x156d06(0x2c7)](this['_state']['onRemoteRetry'](_0x23aed2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x4ab8ec){var _0x1f1a98=_0x7e3d33;if(!(this['_state']instanceof te))throw new TypeError(_0x1f1a98(0x3b7));const _0x5e8d33=_0x4ab8ec[_0x1f1a98(0x1e3)](_0x51c50c=>{var _0x3359af=_0x1f1a98;const _0x443c7f=this[_0x3359af(0x315)][_0x3359af(0x14c)][_0x3359af(0x1b8)](this[_0x3359af(0x315)][_0x3359af(0x14c)][_0x3359af(0x18b)]()[_0x3359af(0x254)])(_0x51c50c['mutations'],null)||_0x51c50c['mutations'];return{..._0x51c50c,'mutations':_0x443c7f};});this[_0x1f1a98(0x316)](),this['_updateState'](this['_state'][_0x1f1a98(0x259)](_0x5e8d33)),this[_0x1f1a98(0x3f7)]();}['_toggleOffline'](){var _0x2e2986=_0x7e3d33;this[_0x2e2986(0x316)](),this['_updateState'](this[_0x2e2986(0x165)][_0x2e2986(0x281)]()),this[_0x2e2986(0x3f7)]();}['_toggleOnline'](_0x10cc42=!0x1){var _0xc5d3eb=_0x7e3d33;this['_lockTransition'](),this['_updateState'](this[_0xc5d3eb(0x165)][_0xc5d3eb(0x1b3)]()),this[_0xc5d3eb(0x3f7)]();const _0x5a35f6=this[_0xc5d3eb(0x165)];_0x10cc42&&_0x5a35f6 instanceof De&&(this[_0xc5d3eb(0x316)](),this[_0xc5d3eb(0x2c7)](_0x5a35f6[_0xc5d3eb(0x29f)]()),this[_0xc5d3eb(0x3f7)]());}async[_0x7e3d33(0x27b)](){return new Promise(_0x19e8a4=>{var _0x1f7f57=_0x3515;this[_0x1f7f57(0x3e3)][_0x1f7f57(0x298)][_0x1f7f57(0x3ff)](_0x22a28b(0x1))[_0x1f7f57(0x3d5)](async _0x32cd16=>{var _0x49d75b=_0x1f7f57;_0x19e8a4(await this[_0x49d75b(0x208)](_0x32cd16===Te['ONLINE']));});});}['_createHandler'](){const _0x2a46c9=this['unitID'];return{'onStateChange':(_0x36eebd,_0x1f185f)=>{var _0x43c981=_0x3515;if(_0x36eebd!==this[_0x43c981(0x165)])throw new Error(_0x43c981(0x1db)+_0x36eebd['status']+_0x43c981(0x244)+_0x1f185f['status']+_0x43c981(0x1b0)+this[_0x43c981(0x165)][_0x43c981(0x25d)]);this[_0x43c981(0x2c7)](_0x1f185f);},'onSendChangeset':_0x4ca860=>{var _0x2b6508=_0x3515;_0x4ca860[_0x2b6508(0x3d2)]||(_0x4ca860[_0x2b6508(0x3d2)]=this[_0x2b6508(0x3b2)],_0x4ca860[_0x2b6508(0x1ea)]=++this[_0x2b6508(0x1f4)]);const _0x3e7382={'eventID':_0x180571['SUBMIT_CHANGESET'],'data':{'unitID':_0x4ca860[_0x2b6508(0x2ce)],'unitType':this[_0x2b6508(0x2bb)],'changeset':_0x4ca860,'memberID':this[_0x2b6508(0x3e3)][_0x2b6508(0x3a2)]()}};this[_0x2b6508(0x3e3)][_0x2b6508(0x2f3)](_0x3e7382,this[_0x2b6508(0x2ce)]);},'onMissingChangesets':({from:_0x41ce9b,to:_0x26f4b7})=>{var _0x6a57ff=_0x3515;this['_logService'][_0x6a57ff(0x2e4)](_0x6a57ff(0x148),'fetching\x20missing\x20changesets\x20from\x20'+_0x41ce9b+_0x6a57ff(0x3be)+_0x26f4b7);const _0x508f54={'eventID':_0x180571[_0x6a57ff(0x397)],'data':{'unitID':_0x2a46c9,'unitType':this[_0x6a57ff(0x2bb)],'from':_0x41ce9b,'to':_0x26f4b7}};this[_0x6a57ff(0x3e3)][_0x6a57ff(0x2f3)](_0x508f54,this['unitID']);}};}async[_0x7e3d33(0x208)](_0x4425d4){var _0x3757c6=_0x7e3d33,_0x5e2e39,_0x1d4b67,_0x372077;const _0x2c00a6=await((_0x5e2e39=this[_0x3757c6(0x305)])==null?void 0x0:_0x5e2e39[_0x3757c6(0x2a2)](this[_0x3757c6(0x2ce)])),_0x27da1e=(_0x1d4b67=_0x2c00a6==null?void 0x0:_0x2c00a6[_0x3757c6(0x1f9)])!=null?_0x1d4b67:[],_0x43c326=(_0x372077=_0x2c00a6==null?void 0x0:_0x2c00a6[_0x3757c6(0x418)])!=null?_0x372077:null,_0x2713d5=!!(_0x43c326!=null&&_0x43c326['sid'])&&!!(_0x43c326!=null&&_0x43c326[_0x3757c6(0x1ea)]);this[_0x3757c6(0x3b2)]=_0x2713d5?_0x43c326[_0x3757c6(0x3d2)]:sr(),this[_0x3757c6(0x1f4)]=_0x2713d5?_0x43c326[_0x3757c6(0x1ea)]:0x0;const _0x56621f=this[_0x3757c6(0x2ce)];try{this[_0x3757c6(0x12b)](_0x43c326,_0x27da1e);}catch(_0x1d7c13){this[_0x3757c6(0x261)]['error'](_0x1d7c13);}const _0x67b73c=this[_0x3757c6(0x3aa)]();if(_0x4425d4){const _0x26da1f=Di(this[_0x3757c6(0x1de)],_0x56621f,this[_0x3757c6(0x2bb)],_0x43c326,_0x27da1e,_0x67b73c);return _0x26da1f instanceof oe?_0x26da1f[_0x3757c6(0x2e3)]():(_0x26da1f instanceof ae||_0x26da1f instanceof ue)&&_0x26da1f[_0x3757c6(0x2b5)](),_0x26da1f;}return this['_injector'][_0x3757c6(0x39c)](fe,_0x56621f,this[_0x3757c6(0x2bb)],_0x43c326,_0x27da1e,_0x67b73c);}['_replayCachedMutations'](_0x167f8f,_0x5e2a27){var _0x35cf13=_0x7e3d33,_0x4003d7,_0x4d8120;const _0x1f44c1=this['_compressMutationService'][_0x35cf13(0x14c)][_0x35cf13(0x1b8)](this[_0x35cf13(0x315)][_0x35cf13(0x14c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x4003d7=_0x1f44c1((_0x167f8f==null?void 0x0:_0x167f8f[_0x35cf13(0x1f9)])||[],null))==null||_0x4003d7['forEach'](_0xfd080b=>this[_0x35cf13(0x283)][_0x35cf13(0x2ec)](_0xfd080b['id'],_0xfd080b[_0x35cf13(0x408)])),(_0x4d8120=_0x1f44c1(_0x5e2a27||[],null))==null||_0x4d8120['forEach'](_0x17705a=>this[_0x35cf13(0x283)][_0x35cf13(0x2ec)](_0x17705a['id'],_0x17705a[_0x35cf13(0x408)]));}};nt=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(pe)),k(0x8,_0x3f2d03),k(0x9,_0x12a849),k(0xa,_0x4c05ea),k(0xb,_0x34330d(ht)),k(0xc,_0x34330d(J))],nt);let Tt=class extends nt{constructor(_0x5e982c,_0x2790bb,_0xf892aa,_0x33c27e,_0x424b33,_0x2ce29f,_0x784cab,_0x1ccb1c,_0x327da5,_0x74726a,_0x3bead3,_0x1364b1,_0x24b7b0){var _0xaff048=_0x7e3d33;super(_0x5e982c,_0xf892aa,_0x2790bb,_0x33c27e,_0x424b33,_0x2ce29f,_0x784cab,_0x1ccb1c,_0x327da5,_0x74726a,_0x3bead3,_0x1364b1,_0x24b7b0),N(this,_0xaff048(0x1fa),null),(this['unitID']=_0x5e982c,this['type']=_0x2790bb);}['addHandlerCallback'](_0x3b3044){var _0xdc98b4=_0x7e3d33;this[_0xdc98b4(0x1fa)]=_0x3b3044;}[_0x7e3d33(0x135)](){var _0x219f2a=_0x7e3d33;this[_0x219f2a(0x1fa)]=null,super[_0x219f2a(0x135)]();}['_createHandler'](){var _0x37ca72=_0x7e3d33;const _0x54ef19=super['_createHandler']();return _0x54ef19['onTransformIME']=_0x48da4d=>{var _0x1a1676=_0x3515,_0x529022,_0x13f200;return(_0x13f200=(_0x529022=this[_0x1a1676(0x1fa)])==null?void 0x0:_0x529022[_0x1a1676(0x245)])==null?void 0x0:_0x13f200['call'](_0x529022,_0x48da4d);},_0x54ef19[_0x37ca72(0x277)]=_0x949c8e=>{var _0x38a5a3=_0x37ca72,_0x531829,_0x49246e;return(_0x49246e=(_0x531829=this[_0x38a5a3(0x1fa)])==null?void 0x0:_0x531829[_0x38a5a3(0x277)])==null?void 0x0:_0x49246e[_0x38a5a3(0x33e)](_0x531829,_0x949c8e);},_0x54ef19[_0x37ca72(0x32e)]=_0x1f4446=>{var _0x55b7da=_0x37ca72,_0x7ccbd0,_0x1114e5;return(_0x1114e5=(_0x7ccbd0=this['_handlerCallback'])==null?void 0x0:_0x7ccbd0[_0x55b7da(0x32e)])==null?void 0x0:_0x1114e5[_0x55b7da(0x33e)](_0x7ccbd0,_0x1f4446);},_0x54ef19[_0x37ca72(0x326)]=_0x4beac7=>{var _0x15eed3=_0x37ca72,_0x4ee9f4,_0x48f5a2;return(_0x48f5a2=(_0x4ee9f4=this[_0x15eed3(0x1fa)])==null?void 0x0:_0x4ee9f4['onSyncEditingCollabCursor'])==null?void 0x0:_0x48f5a2[_0x15eed3(0x33e)](_0x4ee9f4,_0x4beac7);},_0x54ef19[_0x37ca72(0x262)]=_0x535f63=>{var _0xe62f45=_0x37ca72,_0x59368e,_0x2420d8,_0x537b6a;if(!((_0x59368e=this[_0xe62f45(0x1fa)])!=null&&_0x59368e['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x537b6a=(_0x2420d8=this['_handlerCallback'])==null?void 0x0:_0x2420d8[_0xe62f45(0x262)])==null?void 0x0:_0x537b6a[_0xe62f45(0x33e)](_0x2420d8,_0x535f63);},_0x54ef19[_0x37ca72(0x3ca)]=_0x5c4236=>{var _0x1a5758=_0x37ca72,_0x457808,_0x4079ea,_0x1c218b;if(!((_0x457808=this[_0x1a5758(0x1fa)])!=null&&_0x457808[_0x1a5758(0x3ca)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1c218b=(_0x4079ea=this[_0x1a5758(0x1fa)])==null?void 0x0:_0x4079ea[_0x1a5758(0x3ca)])==null?void 0x0:_0x1c218b[_0x1a5758(0x33e)](_0x4079ea,_0x5c4236);},_0x54ef19;}async[_0x7e3d33(0x2c4)](){var _0x563742=_0x7e3d33;const _0x531cb9=await super[_0x563742(0x2c4)]();return this[_0x563742(0x2c2)](this[_0x563742(0x283)][_0x563742(0x175)]((_0x346bb,_0x1ec8c5)=>{var _0x2f239c=_0x563742;if(_0x346bb[_0x2f239c(0x192)]!==_0x42d9bc[_0x2f239c(0x1e1)]||_0x1ec8c5!=null&&_0x1ec8c5['fromCollab']||_0x1ec8c5!=null&&_0x1ec8c5[_0x2f239c(0x1be)]||_0x346bb['id']===_0x28d6ae['id'])return;const _0x149c98=_0x346bb[_0x2f239c(0x408)];if((_0x149c98==null?void 0x0:_0x149c98[_0x2f239c(0x169)])!==this['unitID'])return;const _0x43367f=_0x346bb,_0x40d5e9=this[_0x2f239c(0x315)][_0x2f239c(0x14c)][_0x2f239c(0x1b8)](this[_0x2f239c(0x315)]['interceptor'][_0x2f239c(0x18b)]()[_0x2f239c(0x2b3)])([_0x43367f],null)||[_0x43367f];this[_0x2f239c(0x41f)](_0x40d5e9[0x0]);})),_0x531cb9;}};Tt=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(pe)),k(0x8,_0x3f2d03),k(0x9,_0x12a849),k(0xa,_0x4c05ea),k(0xb,_0x34330d(ht)),k(0xc,_0x34330d(J))],Tt);let Ct=class extends nt{constructor(_0x4d33db,_0x4de439,_0x450aad,_0x4f9e40,_0x42f9cd,_0x42cfc0,_0x16fb99,_0x42ab8b,_0x511177,_0x1e25ac,_0x39200a,_0x4c9f4d,_0x1291e2,_0x4a6e57){var _0x2923f0=_0x7e3d33;super(_0x4d33db,_0x450aad,_0x4de439,_0x4f9e40,_0x42f9cd,_0x42cfc0,_0x16fb99,_0x511177,_0x1e25ac,_0x39200a,_0x4c9f4d,_0x1291e2,_0x4a6e57),this[_0x2923f0(0x2ce)]=_0x4d33db,this[_0x2923f0(0x192)]=_0x4de439,this[_0x2923f0(0x1e5)]=_0x42ab8b;}[_0x7e3d33(0x3aa)](){var _0x268fd9=_0x7e3d33;const _0xc1ed03=super[_0x268fd9(0x3aa)]();return _0xc1ed03[_0x268fd9(0x32e)]=_0x187073=>this[_0x268fd9(0x1e5)][_0x268fd9(0x144)](_0x187073),_0xc1ed03;}async[_0x7e3d33(0x2c4)](){var _0x1895a0=_0x7e3d33;const _0x1fce53=await super[_0x1895a0(0x2c4)]();return this[_0x1895a0(0x2c2)](this[_0x1895a0(0x283)][_0x1895a0(0x175)]((_0x5e6f9c,_0x139078)=>{var _0x5d9c5a=_0x1895a0;if(_0x5e6f9c[_0x5d9c5a(0x192)]!==_0x42d9bc[_0x5d9c5a(0x1e1)]||_0x139078!=null&&_0x139078[_0x5d9c5a(0x3df)]||_0x139078!=null&&_0x139078[_0x5d9c5a(0x1be)])return;const _0x21a769=_0x5e6f9c['params'];if((_0x21a769==null?void 0x0:_0x21a769[_0x5d9c5a(0x169)])!==this[_0x5d9c5a(0x2ce)])return;const _0x13eeb4=_0x5e6f9c,_0x77777f=this[_0x5d9c5a(0x315)][_0x5d9c5a(0x14c)]['fetchThroughInterceptors'](this[_0x5d9c5a(0x315)]['interceptor'][_0x5d9c5a(0x18b)]()[_0x5d9c5a(0x2b3)])([_0x13eeb4],null)||[_0x13eeb4];this['_onLocalMutation'](_0x77777f[0x0]);})),_0x1fce53;}};Ct=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(it)),k(0x8,_0x46e7fc(pe)),k(0x9,_0x3f2d03),k(0xa,_0x12a849),k(0xb,_0x4c05ea),k(0xc,_0x34330d(ht)),k(0xd,_0x34330d(J))],Ct);var mr=Object[_0x7e3d33(0x349)],gr=Object[_0x7e3d33(0x31d)],Sr=(_0x47fff6,_0x1f3f7d,_0x4d2089,_0x8dc6d4)=>{var _0x50287c=_0x7e3d33;for(var _0x30babd=_0x8dc6d4>0x1?void 0x0:_0x8dc6d4?gr(_0x1f3f7d,_0x4d2089):_0x1f3f7d,_0x187fa8=_0x47fff6[_0x50287c(0x255)]-0x1,_0x470b15;_0x187fa8>=0x0;_0x187fa8--)(_0x470b15=_0x47fff6[_0x187fa8])&&(_0x30babd=(_0x8dc6d4?_0x470b15(_0x1f3f7d,_0x4d2089,_0x30babd):_0x470b15(_0x30babd))||_0x30babd);return _0x8dc6d4&&_0x30babd&&mr(_0x1f3f7d,_0x4d2089,_0x30babd),_0x30babd;},ft=(_0xc6796f,_0x411337)=>(_0x2e7cf6,_0x59989b)=>_0x411337(_0x2e7cf6,_0x59989b,_0xc6796f);let rt=class extends _0x2a0262{constructor(_0x3c3653,_0x53e698,_0x3bca5e){var _0x90a4af=_0x7e3d33;super(),N(this,_0x90a4af(0x193),new Map()),N(this,'_entityInit$',new _0x5a35c2()),N(this,_0x90a4af(0x1c3),this[_0x90a4af(0x26a)]['asObservable']()),(this[_0x90a4af(0x1de)]=_0x3c3653,this[_0x90a4af(0x34e)]=_0x53e698,this[_0x90a4af(0x12d)]=_0x3bca5e,this[_0x90a4af(0x2c4)]());}[_0x7e3d33(0x135)](){var _0x44a423=_0x7e3d33;super['dispose'](),this[_0x44a423(0x193)]['forEach'](_0x46a10=>_0x46a10['dispose']()),this[_0x44a423(0x193)][_0x44a423(0x122)]();}[_0x7e3d33(0x29e)](_0x410977){var _0x3e8912=_0x7e3d33,_0xbd1ac3;return(_0xbd1ac3=this[_0x3e8912(0x193)][_0x3e8912(0x1e6)](_0x410977))!=null?_0xbd1ac3:null;}[_0x7e3d33(0x286)](_0x21092c){var _0x781896=_0x7e3d33;const _0x1331d8=this['getCollabEntity'](_0x21092c);return _0x1331d8?_0x14e3d9(_0x1331d8):this[_0x781896(0x26a)][_0x781896(0x3ff)](_0x56583e(_0x19343d=>_0x19343d[_0x781896(0x2ce)]===_0x21092c));}['readyForCollab'](_0x5870a6){var _0x30540c=_0x7e3d33;return _0x3ae00d(this[_0x30540c(0x286)](_0x5870a6)[_0x30540c(0x3ff)](_0x500e7a(()=>{})));}[_0x7e3d33(0x2c4)](){var _0x5e2854=_0x7e3d33;this[_0x5e2854(0x12d)][_0x5e2854(0x32c)](_0x1242f2[_0x5e2854(0x33b)])[_0x5e2854(0x3ff)](_0x294cec(this['dispose$']),_0x26ebf5(0x10))[_0x5e2854(0x3d5)](async _0x4ac171=>{var _0x4aafa9=_0x5e2854;const _0x15de5d=_0x4ac171[_0x4aafa9(0x3c4)](),_0x8edcfe=await this[_0x4aafa9(0x37a)](_0x15de5d,Q[_0x4aafa9(0x33b)]);this[_0x4aafa9(0x193)][_0x4aafa9(0x3c8)](_0x15de5d,_0x8edcfe);}),this['_univerInstanceService'][_0x5e2854(0x32c)](_0x1242f2[_0x5e2854(0x3ae)])[_0x5e2854(0x3ff)](_0x294cec(this['dispose$']),_0x26ebf5(0x10))[_0x5e2854(0x3ff)](_0x56583e(_0xeea2ff=>!_0xeea2ff[_0x5e2854(0x3c4)]()[_0x5e2854(0x189)]('__')))[_0x5e2854(0x3d5)](async _0x972be3=>{var _0x45d1dd=_0x5e2854;const _0x44ffc4=_0x972be3[_0x45d1dd(0x3c4)](),_0x451abe=await this[_0x45d1dd(0x37a)](_0x44ffc4,Q['UNIVER_DOC']);this[_0x45d1dd(0x193)][_0x45d1dd(0x3c8)](_0x44ffc4,_0x451abe);}),_0x33d39d(this[_0x5e2854(0x12d)][_0x5e2854(0x214)](_0x1242f2[_0x5e2854(0x33b)]),this[_0x5e2854(0x12d)]['getTypeOfUnitDisposed$'](_0x1242f2['UNIVER_DOC']))[_0x5e2854(0x3ff)](_0x294cec(this[_0x5e2854(0x240)]))[_0x5e2854(0x3d5)](_0x43722f=>{var _0x4d73fb=_0x5e2854;const _0x5e3947=_0x43722f['getUnitId'](),_0x4a8998=this[_0x4d73fb(0x193)]['get'](_0x5e3947);_0x4a8998&&(_0x4a8998[_0x4d73fb(0x135)](),this[_0x4d73fb(0x193)][_0x4d73fb(0x279)](_0x5e3947));});}async[_0x7e3d33(0x37a)](_0x2d549f,_0x26f670){var _0x1e1ddc=_0x7e3d33;const _0x105036=await this[_0x1e1ddc(0x34e)][_0x1e1ddc(0x370)](_0x2d549f),_0x265ea9=this[_0x1e1ddc(0x1de)][_0x1e1ddc(0x39c)](this[_0x1e1ddc(0x3ef)](_0x26f670),_0x2d549f,_0x26f670,_0x105036);return await _0x265ea9[_0x1e1ddc(0x301)](),this[_0x1e1ddc(0x26a)][_0x1e1ddc(0x18a)](_0x265ea9),_0x265ea9;}[_0x7e3d33(0x3ef)](_0x36253e){var _0x527d01=_0x7e3d33;switch(_0x36253e){case Q[_0x527d01(0x3ae)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x527d01(0x238)+_0x36253e);}}};rt=Sr([ft(0x0,_0x46e7fc(_0x54c970)),ft(0x1,_0x46e7fc(Le)),ft(0x2,_0x3f319c)],rt);var Er=Object[_0x7e3d33(0x349)],Ir=Object[_0x7e3d33(0x31d)],Tr=(_0x5601fd,_0x596e81,_0x37b6b8,_0x2203af)=>{var _0x118315=_0x7e3d33;for(var _0x1fbfd5=_0x2203af>0x1?void 0x0:_0x2203af?Ir(_0x596e81,_0x37b6b8):_0x596e81,_0x8a43ef=_0x5601fd[_0x118315(0x255)]-0x1,_0x276bfa;_0x8a43ef>=0x0;_0x8a43ef--)(_0x276bfa=_0x5601fd[_0x8a43ef])&&(_0x1fbfd5=(_0x2203af?_0x276bfa(_0x596e81,_0x37b6b8,_0x1fbfd5):_0x276bfa(_0x1fbfd5))||_0x1fbfd5);return _0x2203af&&_0x1fbfd5&&Er(_0x596e81,_0x37b6b8,_0x1fbfd5),_0x1fbfd5;},Jt=(_0x5bd66a,_0x43485c)=>(_0x4e70f8,_0x57bb2d)=>_0x43485c(_0x4e70f8,_0x57bb2d,_0x5bd66a);const Cr=_0x7e3d33(0x1f8),Rr='Univer';let Rt=class extends _0x25c510{constructor(_0x528f65,_0x2bba54){var _0x555b63=_0x7e3d33;super(),this[_0x555b63(0x12d)]=_0x528f65,this[_0x555b63(0x38d)]=_0x2bba54,this['_init']();}['_init'](){var _0x3742c5=_0x7e3d33;this[_0x3742c5(0x2c2)](this['_univerInstanceService'][_0x3742c5(0x2b9)][_0x3742c5(0x3d5)](()=>{var _0x1ade3e=_0x3742c5,_0x3c2220;const _0x4b0997=this['_univerInstanceService'][_0x1ade3e(0x278)]();let _0x1dc200=(_0x3c2220=this[_0x1ade3e(0x38d)][_0x1ade3e(0x383)](Cr))!=null?_0x3c2220:Rr;_0x4b0997 instanceof _0x36b18f&&(_0x1dc200=_0x4b0997[_0x1ade3e(0x36b)]),document[_0x1ade3e(0x333)]=_0x1dc200;}));}};Rt=Tr([Jt(0x0,_0x3f319c),Jt(0x1,_0xe8305c)],Rt);var br=Object[_0x7e3d33(0x349)],Or=Object[_0x7e3d33(0x31d)],yr=(_0x54c5d6,_0x1d5c6b,_0x40fa26,_0x4c160d)=>{var _0x30c972=_0x7e3d33;for(var _0x4d52f6=_0x4c160d>0x1?void 0x0:_0x4c160d?Or(_0x1d5c6b,_0x40fa26):_0x1d5c6b,_0x45aec8=_0x54c5d6[_0x30c972(0x255)]-0x1,_0x52e00f;_0x45aec8>=0x0;_0x45aec8--)(_0x52e00f=_0x54c5d6[_0x45aec8])&&(_0x4d52f6=(_0x4c160d?_0x52e00f(_0x1d5c6b,_0x40fa26,_0x4d52f6):_0x52e00f(_0x4d52f6))||_0x4d52f6);return _0x4c160d&&_0x4d52f6&&br(_0x1d5c6b,_0x40fa26,_0x4d52f6),_0x4d52f6;},vt=(_0x2952e5,_0x43bedc)=>(_0x27ba79,_0x54bc27)=>_0x43bedc(_0x27ba79,_0x54bc27,_0x2952e5);let st=class{constructor(_0x436b69,_0x54463d,_0x5cf4ab){var _0x3649a6=_0x7e3d33;this[_0x3649a6(0x38d)]=_0x436b69,this[_0x3649a6(0x31b)]=_0x54463d,this[_0x3649a6(0x14a)]=_0x5cf4ab,this[_0x3649a6(0x301)]();}[_0x7e3d33(0x301)](){var _0x37c241=_0x7e3d33;this[_0x37c241(0x31b)][_0x37c241(0x153)]({'priority':0x1,'interceptor':(_0x3b02ee,_0x439e80)=>_0x439e80(_0x3b02ee)['pipe'](_0x5c1943(async _0x378304=>{var _0x32564c=_0x37c241;const _0x45324d=_0x378304;if(_0x45324d['status']===0x191){if(typeof window>'u')throw new Error(_0x32564c(0x346));if(window[_0x32564c(0x31a)](this[_0x32564c(0x14a)]['t'](_0x32564c(0x361)))){const _0x4950b4=window[_0x32564c(0x3d6)](window[_0x32564c(0x21b)][_0x32564c(0x35e)]);window[_0x32564c(0x21b)][_0x32564c(0x35e)]=this[_0x32564c(0x25a)]()+_0x32564c(0x1b4)+_0x4950b4;}}return _0x45324d;}))});}[_0x7e3d33(0x25a)](){var _0x582ef9=_0x7e3d33,_0x24f0ab,_0xb4f71d;const _0x5ccc22=this['_configService'][_0x582ef9(0x383)](xn),_0x45a4f6=this[_0x582ef9(0x38d)][_0x582ef9(0x383)](q);return(_0xb4f71d=(_0x24f0ab=_0x45a4f6==null?void 0x0:_0x45a4f6[_0x582ef9(0x19b)])!=null?_0x24f0ab:_0x5ccc22)!=null?_0xb4f71d:Ln;}};st=yr([vt(0x0,_0xe8305c),vt(0x1,_0x46e7fc(_0x13eabd)),vt(0x2,_0x46e7fc(_0x826620))],st);var Nr=Object['defineProperty'],Dr=Object[_0x7e3d33(0x31d)],Pr=(_0x2d9c2d,_0x463be9,_0x156a34,_0x628222)=>{var _0x56c430=_0x7e3d33;for(var _0x97e5ad=_0x628222>0x1?void 0x0:_0x628222?Dr(_0x463be9,_0x156a34):_0x463be9,_0xa102eb=_0x2d9c2d[_0x56c430(0x255)]-0x1,_0x5529ef;_0xa102eb>=0x0;_0xa102eb--)(_0x5529ef=_0x2d9c2d[_0xa102eb])&&(_0x97e5ad=(_0x628222?_0x5529ef(_0x463be9,_0x156a34,_0x97e5ad):_0x5529ef(_0x97e5ad))||_0x97e5ad);return _0x628222&&_0x97e5ad&&Nr(_0x463be9,_0x156a34,_0x97e5ad),_0x97e5ad;},Xt=(_0x18ce4d,_0x361221)=>(_0x482bcc,_0x33d342)=>_0x361221(_0x482bcc,_0x33d342,_0x18ce4d);const Pi=_0x7e3d33(0x179),wr=_0x7e3d33(0x39d);let bt=class extends _0x25c510{constructor(_0x12ec32,_0x1f1b15){var _0x414b1a=_0x7e3d33;super(),this[_0x414b1a(0x2eb)]=_0x12ec32,this[_0x414b1a(0x38d)]=_0x1f1b15,this[_0x414b1a(0x1f7)]();}[_0x7e3d33(0x1f7)](){var _0x3d2049=_0x7e3d33;const _0x380b00=this;this[_0x3d2049(0x2c2)](this[_0x3d2049(0x2eb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3fe0a6({'isMatch'(_0x171c2d){var _0x4f522e=_0x3d2049,_0x4c484d;if(_0x171c2d['method']===_0x4f522e(0x344)&&((_0x4c484d=_0x171c2d[_0x4f522e(0x145)])!=null&&_0x4c484d[_0x4f522e(0x38f)])){const {objectID:_0x24205c,objectType:_0x5c24b3}=_0x171c2d[_0x4f522e(0x145)]['body']||{};if(!_0x24205c||_0x5c24b3===void 0x0)return!0x1;const _0x47456a=_0x380b00[_0x4f522e(0x404)]()+'/'+_0x5c24b3+_0x4f522e(0x3d0)+_0x24205c+_0x4f522e(0x13a);if(_0x171c2d['url']===_0x47456a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a2552){var _0x1795bf=_0x3d2049,_0x4292b6;return(_0x4292b6=_0x3a2552[_0x1795bf(0x145)])==null?void 0x0:_0x4292b6[_0x1795bf(0x38f)];},'mergeParamsToRequest'(_0x328c57,_0x99909d){var _0x1d2aa8=_0x3d2049;const _0x3761d9=_0x380b00['_getAPIPrefixPath']()+_0x1d2aa8(0x264),_0x126f74=_0x328c57['reduce']((_0x1d29c1,_0x5386cc)=>{var _0x5be63a=_0x1d2aa8;const {unitID:_0x52b381,objectID:_0x1eb7b8,objectType:_0x745f1d,actions:_0x1d655a}=_0x5386cc;return _0x1d29c1[_0x52b381]||(_0x1d29c1[_0x52b381]={}),_0x1d29c1[_0x52b381][_0x1eb7b8]||(_0x1d29c1[_0x52b381][_0x1eb7b8]={'objectID':_0x1eb7b8,'objectType':_0x745f1d,'actions':[]}),_0x1d29c1[_0x52b381][_0x1eb7b8]['actions'][_0x5be63a(0x399)](..._0x1d655a),_0x1d29c1;},{}),_0x42cb3c=[];for(const _0x1cb76f in _0x126f74)for(const _0x289127 in _0x126f74[_0x1cb76f]){const {actions:_0x14ebc3,objectType:_0xc7139a}=_0x126f74[_0x1cb76f][_0x289127],_0x49b028=[...new Set(_0x14ebc3)];_0x42cb3c[_0x1d2aa8(0x399)]({'unitID':_0x1cb76f,'objectID':_0x289127,'objectType':_0xc7139a,'actions':_0x49b028});}return new _0x255e0a(_0x1d2aa8(0x344),_0x3761d9,{'headers':_0x99909d[_0x1d2aa8(0x1a7)],'withCredentials':_0x99909d['withCredentials'],'responseType':_0x99909d['responseType'],'body':{'requests':_0x42cb3c}});}},{'distributeResult'(_0x192d1a,_0x2d3851){var _0x1c9c5f=_0x3d2049;const {objectActions:_0x167c5d}=_0x192d1a;return _0x2d3851[_0x1c9c5f(0x1e3)](_0xe0eccd=>{var _0x504059=_0x1c9c5f;const {unitID:_0x151e1d,objectID:_0x58799e,actions:_0x34acaf}=_0xe0eccd,_0xadd068=_0x167c5d[_0x504059(0x342)](_0x496617=>_0x496617['unitID']===_0x151e1d&&_0x496617['objectID']===_0x58799e),_0x364809=_0x34acaf[_0x504059(0x1e3)](_0x20dcea=>_0xadd068==null?void 0x0:_0xadd068[_0x504059(0x213)][_0x504059(0x342)](_0x363b10=>_0x363b10[_0x504059(0x134)]===_0x20dcea))['filter'](_0x1f8d31=>!!_0x1f8d31);return{'config':_0xe0eccd,'result':{'actions':_0x364809,'error':_0x192d1a[_0x504059(0x129)]}};});}})}));}[_0x7e3d33(0x404)](){var _0x3666c1=_0x7e3d33,_0x1bef2b,_0x133080;const _0x2c3a29=this[_0x3666c1(0x38d)][_0x3666c1(0x383)](Pi),_0x132b4b=this[_0x3666c1(0x38d)][_0x3666c1(0x383)](q);return(_0x133080=(_0x1bef2b=_0x132b4b==null?void 0x0:_0x132b4b[_0x3666c1(0x20e)])!=null?_0x1bef2b:_0x2c3a29)!=null?_0x133080:wr;}async['create'](_0x35ef71){var _0x3f8700=_0x7e3d33;const _0x1cd4ed=this[_0x3f8700(0x404)]()+'/'+_0x35ef71[_0x3f8700(0x285)]+_0x3f8700(0x229);return(await this['_HTTPService'][_0x3f8700(0x2dc)](_0x1cd4ed,{'body':_0x35ef71}))[_0x3f8700(0x38f)][_0x3f8700(0x325)]||'';}async[_0x7e3d33(0x253)](_0x234435){var _0x5e2455=_0x7e3d33;const _0x577ed3=this[_0x5e2455(0x404)]()+_0x5e2455(0x147);return(await this[_0x5e2455(0x2eb)]['post'](_0x577ed3,{'body':_0x234435}))[_0x5e2455(0x38f)][_0x5e2455(0x35f)];}async[_0x7e3d33(0x337)](_0x4c3fc3){var _0x4ad515=_0x7e3d33;const _0x48f88e=this[_0x4ad515(0x404)]()+'/'+_0x4c3fc3[_0x4ad515(0x285)]+'/object/'+_0x4c3fc3['objectID'];await this[_0x4ad515(0x2eb)][_0x4ad515(0x131)](_0x48f88e,{'body':_0x4c3fc3});}async['allowed'](_0xfd0b11){var _0x21316d=_0x7e3d33;const _0x397c94=this[_0x21316d(0x404)]()+'/'+_0xfd0b11[_0x21316d(0x285)]+_0x21316d(0x3d0)+_0xfd0b11[_0x21316d(0x325)]+'/allowed';return(await this[_0x21316d(0x2eb)][_0x21316d(0x2dc)](_0x397c94,{'body':_0xfd0b11}))[_0x21316d(0x38f)][_0x21316d(0x213)];}async[_0x7e3d33(0x231)](_0x16e1c3){var _0x2f5490=_0x7e3d33;const _0x136e94=this['_getAPIPrefixPath']()+_0x2f5490(0x264);return(await this['_HTTPService']['post'](_0x136e94,{'body':{'requests':_0x16e1c3}}))[_0x2f5490(0x38f)][_0x2f5490(0x13e)];}async['listRoles'](_0x12766c){var _0xe57617=_0x7e3d33;const _0x115814=this[_0xe57617(0x404)]()+'/'+_0x12766c[_0xe57617(0x285)]+_0xe57617(0x15c),_0x4bbac4=await this[_0xe57617(0x2eb)][_0xe57617(0x2dc)](_0x115814,{'body':_0x12766c});return{'roles':_0x4bbac4[_0xe57617(0x38f)][_0xe57617(0x17c)],'actions':_0x4bbac4[_0xe57617(0x38f)]['actions']};}async[_0x7e3d33(0x40e)](_0x338abc){var _0x13468b=_0x7e3d33;const _0x127e5c=this[_0x13468b(0x404)]()+_0x13468b(0x3d8);await this[_0x13468b(0x2eb)][_0x13468b(0x279)](_0x127e5c,{'params':{'collaboratorID':_0x338abc['collaboratorID'],'objectID':_0x338abc[_0x13468b(0x325)],'unitID':_0x338abc['unitID']}});}async[_0x7e3d33(0x133)](_0x174182){var _0x36fa13=_0x7e3d33;const _0x3ebcc8=this['_getAPIPrefixPath']()+_0x36fa13(0x3d8);await this['_HTTPService'][_0x36fa13(0x1a1)](_0x3ebcc8,{'body':_0x174182});}async['createCollaborator'](_0x413b10){var _0x2db6ca=_0x7e3d33;const _0x563c7b=this[_0x2db6ca(0x404)]()+'/collaborator';await this[_0x2db6ca(0x2eb)]['post'](_0x563c7b,{'body':_0x413b10});}async[_0x7e3d33(0x1aa)](_0x2941be){var _0x1d5432=_0x7e3d33;const _0x294bc8=this['_getAPIPrefixPath']()+_0x1d5432(0x3d8);return(await this['_HTTPService']['get'](_0x294bc8,{'params':{'objectID':_0x2941be[_0x1d5432(0x325)],'unitID':_0x2941be[_0x1d5432(0x2ce)]}}))['body'][_0x1d5432(0x2e8)];}async[_0x7e3d33(0x2ff)](_0x59c88e){var _0xd4b143=_0x7e3d33;const _0x2ca285=this[_0xd4b143(0x404)]()+_0xd4b143(0x3d8);await this['_HTTPService'][_0xd4b143(0x131)](_0x2ca285,{'body':_0x59c88e});}};bt=Pr([Xt(0x0,_0x46e7fc(_0x13eabd)),Xt(0x1,_0x46e7fc(_0xe8305c))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x113026){var _0x1220ef=_0x7e3d33;return _0x113026&&_0x113026[_0x1220ef(0x32f)]&&Object[_0x1220ef(0x2df)][_0x1220ef(0x3de)]['call'](_0x113026,_0x1220ef(0x11f))?_0x113026['default']:_0x113026;}var Ve={'exports':{}};function Ur(_0xde6f3d){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xde6f3d+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x790e54=_0x7e3d33;return Zt||(Zt=0x1,function(_0xe63351,_0x24c931){(function(_0x444224,_0x52bc44){_0xe63351['exports']=_0x52bc44();}(Ar,function(){var _0x51fd5a=_0x51fd5a||function(_0x41f7ed,_0x2b21ab){var _0x923e58=_0x3515,_0x56866d;if(typeof window<'u'&&window[_0x923e58(0x206)]&&(_0x56866d=window[_0x923e58(0x206)]),typeof self<'u'&&self[_0x923e58(0x206)]&&(_0x56866d=self[_0x923e58(0x206)]),typeof globalThis<'u'&&globalThis[_0x923e58(0x206)]&&(_0x56866d=globalThis[_0x923e58(0x206)]),!_0x56866d&&typeof window<'u'&&window['msCrypto']&&(_0x56866d=window['msCrypto']),!_0x56866d&&typeof pt<'u'&&pt[_0x923e58(0x206)]&&(_0x56866d=pt[_0x923e58(0x206)]),!_0x56866d&&typeof Ur==_0x923e58(0x2ea))try{_0x56866d=require(_0x923e58(0x206));}catch{}var _0x18c932=function(){var _0x134143=_0x923e58;if(_0x56866d){if(typeof _0x56866d[_0x134143(0x19e)]==_0x134143(0x2ea))try{return _0x56866d[_0x134143(0x19e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x56866d['randomBytes']=='function')try{return _0x56866d[_0x134143(0x302)](0x4)[_0x134143(0x36f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xe5db4=Object['create']||(function(){function _0x2edec8(){}return function(_0x1ce8a0){var _0x26b0c7=_0x3515,_0x3f7158;return _0x2edec8[_0x26b0c7(0x2df)]=_0x1ce8a0,_0x3f7158=new _0x2edec8(),_0x2edec8['prototype']=null,_0x3f7158;};}()),_0x5eca29={},_0x12136f=_0x5eca29[_0x923e58(0x3ed)]={},_0x230855=_0x12136f[_0x923e58(0x30b)]=(function(){return{'extend':function(_0x11c686){var _0x4de436=_0x3515,_0x1ccfd7=_0xe5db4(this);return _0x11c686&&_0x1ccfd7[_0x4de436(0x3d3)](_0x11c686),(!_0x1ccfd7['hasOwnProperty'](_0x4de436(0x301))||this['init']===_0x1ccfd7[_0x4de436(0x301)])&&(_0x1ccfd7['init']=function(){var _0xa30f1a=_0x4de436;_0x1ccfd7['$super'][_0xa30f1a(0x301)]['apply'](this,arguments);}),_0x1ccfd7[_0x4de436(0x301)][_0x4de436(0x2df)]=_0x1ccfd7,_0x1ccfd7[_0x4de436(0x396)]=this,_0x1ccfd7;},'create':function(){var _0x24aca0=_0x3515,_0x3059f2=this[_0x24aca0(0x2a1)]();return _0x3059f2[_0x24aca0(0x301)][_0x24aca0(0x3ec)](_0x3059f2,arguments),_0x3059f2;},'init':function(){},'mixIn':function(_0x9e4fcf){var _0x4f817f=_0x3515;for(var _0x4bedc6 in _0x9e4fcf)_0x9e4fcf[_0x4f817f(0x3de)](_0x4bedc6)&&(this[_0x4bedc6]=_0x9e4fcf[_0x4bedc6]);_0x9e4fcf[_0x4f817f(0x3de)](_0x4f817f(0x328))&&(this[_0x4f817f(0x328)]=_0x9e4fcf[_0x4f817f(0x328)]);},'clone':function(){var _0xf86c8c=_0x3515;return this[_0xf86c8c(0x301)][_0xf86c8c(0x2df)]['extend'](this);}};}()),_0x2adc14=_0x12136f[_0x923e58(0x39f)]=_0x230855[_0x923e58(0x2a1)]({'init':function(_0x1b8371,_0x5e4a2d){var _0x1f1f1b=_0x923e58;_0x1b8371=this[_0x1f1f1b(0x23c)]=_0x1b8371||[],_0x5e4a2d!=_0x2b21ab?this['sigBytes']=_0x5e4a2d:this[_0x1f1f1b(0x197)]=_0x1b8371[_0x1f1f1b(0x255)]*0x4;},'toString':function(_0x2e97ef){var _0x3f4e1e=_0x923e58;return(_0x2e97ef||_0x1d7fb8)[_0x3f4e1e(0x228)](this);},'concat':function(_0x4c473d){var _0x174eb9=_0x923e58,_0x5b87ff=this[_0x174eb9(0x23c)],_0x23155a=_0x4c473d['words'],_0x4886ec=this[_0x174eb9(0x197)],_0x1a141a=_0x4c473d[_0x174eb9(0x197)];if(this['clamp'](),_0x4886ec%0x4)for(var _0x1c0248=0x0;_0x1c0248<_0x1a141a;_0x1c0248++){var _0x319df2=_0x23155a[_0x1c0248>>>0x2]>>>0x18-_0x1c0248%0x4*0x8&0xff;_0x5b87ff[_0x4886ec+_0x1c0248>>>0x2]|=_0x319df2<<0x18-(_0x4886ec+_0x1c0248)%0x4*0x8;}else{for(var _0x9046b=0x0;_0x9046b<_0x1a141a;_0x9046b+=0x4)_0x5b87ff[_0x4886ec+_0x9046b>>>0x2]=_0x23155a[_0x9046b>>>0x2];}return this['sigBytes']+=_0x1a141a,this;},'clamp':function(){var _0x155632=_0x923e58,_0x67a995=this['words'],_0x1eb543=this['sigBytes'];_0x67a995[_0x1eb543>>>0x2]&=0xffffffff<<0x20-_0x1eb543%0x4*0x8,_0x67a995[_0x155632(0x255)]=_0x41f7ed[_0x155632(0x366)](_0x1eb543/0x4);},'clone':function(){var _0x596c87=_0x923e58,_0x4a39ab=_0x230855[_0x596c87(0x297)][_0x596c87(0x33e)](this);return _0x4a39ab[_0x596c87(0x23c)]=this[_0x596c87(0x23c)]['slice'](0x0),_0x4a39ab;},'random':function(_0x45408b){var _0x12ef18=_0x923e58;for(var _0x3b50e=[],_0x4ba8b3=0x0;_0x4ba8b3<_0x45408b;_0x4ba8b3+=0x4)_0x3b50e[_0x12ef18(0x399)](_0x18c932());return new _0x2adc14[(_0x12ef18(0x301))](_0x3b50e,_0x45408b);}}),_0x2ab132=_0x5eca29[_0x923e58(0x304)]={},_0x1d7fb8=_0x2ab132[_0x923e58(0x1da)]={'stringify':function(_0x50c5fa){var _0x1d8aa2=_0x923e58;for(var _0x992d48=_0x50c5fa[_0x1d8aa2(0x23c)],_0x4d5555=_0x50c5fa[_0x1d8aa2(0x197)],_0x158ae3=[],_0x1274dc=0x0;_0x1274dc<_0x4d5555;_0x1274dc++){var _0x169dd3=_0x992d48[_0x1274dc>>>0x2]>>>0x18-_0x1274dc%0x4*0x8&0xff;_0x158ae3[_0x1d8aa2(0x399)]((_0x169dd3>>>0x4)['toString'](0x10)),_0x158ae3['push']((_0x169dd3&0xf)[_0x1d8aa2(0x328)](0x10));}return _0x158ae3[_0x1d8aa2(0x351)]('');},'parse':function(_0x881ad){var _0x54e205=_0x923e58;for(var _0x32b0ea=_0x881ad[_0x54e205(0x255)],_0x41ff69=[],_0x41420a=0x0;_0x41420a<_0x32b0ea;_0x41420a+=0x2)_0x41ff69[_0x41420a>>>0x3]|=parseInt(_0x881ad[_0x54e205(0x167)](_0x41420a,0x2),0x10)<<0x18-_0x41420a%0x8*0x4;return new _0x2adc14[(_0x54e205(0x301))](_0x41ff69,_0x32b0ea/0x2);}},_0x98429e=_0x2ab132[_0x923e58(0x1c8)]={'stringify':function(_0x23a50a){var _0x2a789d=_0x923e58;for(var _0x33e52c=_0x23a50a[_0x2a789d(0x23c)],_0x539c81=_0x23a50a[_0x2a789d(0x197)],_0x1b1c70=[],_0x3d7c11=0x0;_0x3d7c11<_0x539c81;_0x3d7c11++){var _0x12be0f=_0x33e52c[_0x3d7c11>>>0x2]>>>0x18-_0x3d7c11%0x4*0x8&0xff;_0x1b1c70[_0x2a789d(0x399)](String[_0x2a789d(0x191)](_0x12be0f));}return _0x1b1c70[_0x2a789d(0x351)]('');},'parse':function(_0x1cd478){var _0x3edfb6=_0x923e58;for(var _0xee1a8c=_0x1cd478['length'],_0x16d713=[],_0x4702ba=0x0;_0x4702ba<_0xee1a8c;_0x4702ba++)_0x16d713[_0x4702ba>>>0x2]|=(_0x1cd478[_0x3edfb6(0x143)](_0x4702ba)&0xff)<<0x18-_0x4702ba%0x4*0x8;return new _0x2adc14['init'](_0x16d713,_0xee1a8c);}},_0x4cbaf9=_0x2ab132[_0x923e58(0x2fd)]={'stringify':function(_0x4f216c){var _0x231b42=_0x923e58;try{return decodeURIComponent(escape(_0x98429e[_0x231b42(0x228)](_0x4f216c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x33d44c){var _0x18ceeb=_0x923e58;return _0x98429e[_0x18ceeb(0x317)](unescape(encodeURIComponent(_0x33d44c)));}},_0x37b99d=_0x12136f['BufferedBlockAlgorithm']=_0x230855['extend']({'reset':function(){var _0x207af7=_0x923e58;this[_0x207af7(0x1bb)]=new _0x2adc14[(_0x207af7(0x301))](),this[_0x207af7(0x290)]=0x0;},'_append':function(_0x4a6f12){var _0x385ef2=_0x923e58;typeof _0x4a6f12=='string'&&(_0x4a6f12=_0x4cbaf9[_0x385ef2(0x317)](_0x4a6f12)),this[_0x385ef2(0x1bb)]['concat'](_0x4a6f12),this[_0x385ef2(0x290)]+=_0x4a6f12[_0x385ef2(0x197)];},'_process':function(_0x385e07){var _0x759e6b=_0x923e58,_0x19c567,_0x2cca48=this[_0x759e6b(0x1bb)],_0x344be6=_0x2cca48[_0x759e6b(0x23c)],_0x25b2e6=_0x2cca48[_0x759e6b(0x197)],_0x168492=this[_0x759e6b(0x363)],_0x56e347=_0x168492*0x4,_0x20f03c=_0x25b2e6/_0x56e347;_0x385e07?_0x20f03c=_0x41f7ed[_0x759e6b(0x366)](_0x20f03c):_0x20f03c=_0x41f7ed['max']((_0x20f03c|0x0)-this[_0x759e6b(0x35c)],0x0);var _0x581317=_0x20f03c*_0x168492,_0x48039b=_0x41f7ed['min'](_0x581317*0x4,_0x25b2e6);if(_0x581317){for(var _0x4f551b=0x0;_0x4f551b<_0x581317;_0x4f551b+=_0x168492)this[_0x759e6b(0x1a9)](_0x344be6,_0x4f551b);_0x19c567=_0x344be6[_0x759e6b(0x1b7)](0x0,_0x581317),_0x2cca48[_0x759e6b(0x197)]-=_0x48039b;}return new _0x2adc14['init'](_0x19c567,_0x48039b);},'clone':function(){var _0x4d8bc2=_0x923e58,_0x4b471e=_0x230855[_0x4d8bc2(0x297)][_0x4d8bc2(0x33e)](this);return _0x4b471e[_0x4d8bc2(0x1bb)]=this[_0x4d8bc2(0x1bb)][_0x4d8bc2(0x297)](),_0x4b471e;},'_minBufferSize':0x0});_0x12136f[_0x923e58(0x41b)]=_0x37b99d[_0x923e58(0x2a1)]({'cfg':_0x230855[_0x923e58(0x2a1)](),'init':function(_0x3f2f29){var _0x4ff705=_0x923e58;this[_0x4ff705(0x2d4)]=this['cfg'][_0x4ff705(0x2a1)](_0x3f2f29),this[_0x4ff705(0x320)]();},'reset':function(){var _0x3d434e=_0x923e58;_0x37b99d[_0x3d434e(0x320)]['call'](this),this[_0x3d434e(0x334)]();},'update':function(_0x5dd1cd){var _0x146f48=_0x923e58;return this[_0x146f48(0x235)](_0x5dd1cd),this[_0x146f48(0x2c3)](),this;},'finalize':function(_0x432d93){var _0x52ab52=_0x923e58;_0x432d93&&this[_0x52ab52(0x235)](_0x432d93);var _0x3de148=this[_0x52ab52(0x338)]();return _0x3de148;},'blockSize':0x10,'_createHelper':function(_0x3704a1){return function(_0xffec4f,_0x5df5bd){var _0x424758=_0x3515;return new _0x3704a1['init'](_0x5df5bd)[_0x424758(0x299)](_0xffec4f);};},'_createHmacHelper':function(_0x474f9a){return function(_0x5aa130,_0x1b1dfc){var _0xc9428c=_0x3515;return new _0x34c234['HMAC'][(_0xc9428c(0x301))](_0x474f9a,_0x1b1dfc)['finalize'](_0x5aa130);};}});var _0x34c234=_0x5eca29[_0x923e58(0x14b)]={};return _0x5eca29;}(Math);return _0x51fd5a;}));}(Ge)),Ge[_0x790e54(0x2f2)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0xa522de=_0x7e3d33;return Qt||(Qt=0x1,function(_0x185968,_0x435305){(function(_0x56046c,_0x2b59c9){var _0x1be982=_0x3515;_0x185968[_0x1be982(0x2f2)]=_0x2b59c9(ne());}(xr,function(_0x2a75e7){var _0x44511d=_0x3515;return(function(){var _0x5c9086=_0x3515,_0x40c677=_0x2a75e7,_0x12d4b5=_0x40c677['lib'],_0x5b5641=_0x12d4b5[_0x5c9086(0x39f)],_0x5240b4=_0x40c677[_0x5c9086(0x304)];_0x5240b4[_0x5c9086(0x414)]={'stringify':function(_0x420c6e){var _0x44a861=_0x5c9086,_0x233caf=_0x420c6e[_0x44a861(0x23c)],_0x150a5a=_0x420c6e[_0x44a861(0x197)],_0x1b3189=this[_0x44a861(0x348)];_0x420c6e[_0x44a861(0x182)]();for(var _0x5f448d=[],_0x55d397=0x0;_0x55d397<_0x150a5a;_0x55d397+=0x3)for(var _0x2fe8c9=_0x233caf[_0x55d397>>>0x2]>>>0x18-_0x55d397%0x4*0x8&0xff,_0x56cd92=_0x233caf[_0x55d397+0x1>>>0x2]>>>0x18-(_0x55d397+0x1)%0x4*0x8&0xff,_0x2b6823=_0x233caf[_0x55d397+0x2>>>0x2]>>>0x18-(_0x55d397+0x2)%0x4*0x8&0xff,_0x6ce36=_0x2fe8c9<<0x10|_0x56cd92<<0x8|_0x2b6823,_0x1cf113=0x0;_0x1cf113<0x4&&_0x55d397+_0x1cf113*0.75<_0x150a5a;_0x1cf113++)_0x5f448d['push'](_0x1b3189['charAt'](_0x6ce36>>>0x6*(0x3-_0x1cf113)&0x3f));var _0x52aa1d=_0x1b3189[_0x44a861(0x25e)](0x40);if(_0x52aa1d){for(;_0x5f448d[_0x44a861(0x255)]%0x4;)_0x5f448d[_0x44a861(0x399)](_0x52aa1d);}return _0x5f448d[_0x44a861(0x351)]('');},'parse':function(_0x244d39){var _0x1e52f1=_0x5c9086,_0x2abd92=_0x244d39['length'],_0x581372=this[_0x1e52f1(0x348)],_0x7b39bd=this[_0x1e52f1(0x384)];if(!_0x7b39bd){_0x7b39bd=this['_reverseMap']=[];for(var _0x296ff6=0x0;_0x296ff6<_0x581372['length'];_0x296ff6++)_0x7b39bd[_0x581372['charCodeAt'](_0x296ff6)]=_0x296ff6;}var _0x40b5e1=_0x581372[_0x1e52f1(0x25e)](0x40);if(_0x40b5e1){var _0x599b5e=_0x244d39[_0x1e52f1(0x40b)](_0x40b5e1);_0x599b5e!==-0x1&&(_0x2abd92=_0x599b5e);}return _0x497129(_0x244d39,_0x2abd92,_0x7b39bd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x497129(_0x4fd1d6,_0x140103,_0x136b9f){var _0x2c4323=_0x5c9086;for(var _0x1c8ad6=[],_0x3753e2=0x0,_0x4044a3=0x0;_0x4044a3<_0x140103;_0x4044a3++)if(_0x4044a3%0x4){var _0x58d42f=_0x136b9f[_0x4fd1d6[_0x2c4323(0x143)](_0x4044a3-0x1)]<<_0x4044a3%0x4*0x2,_0x3c27e5=_0x136b9f[_0x4fd1d6[_0x2c4323(0x143)](_0x4044a3)]>>>0x6-_0x4044a3%0x4*0x2,_0x1f0212=_0x58d42f|_0x3c27e5;_0x1c8ad6[_0x3753e2>>>0x2]|=_0x1f0212<<0x18-_0x3753e2%0x4*0x8,_0x3753e2++;}return _0x5b5641[_0x2c4323(0x274)](_0x1c8ad6,_0x3753e2);}}()),_0x2a75e7['enc'][_0x44511d(0x414)];}));}(We)),We[_0xa522de(0x2f2)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x2f68bf,_0x1c99d2){(function(_0x38f0cf,_0x152b7e){var _0x205a26=_0x3515;_0x2f68bf[_0x205a26(0x2f2)]=_0x152b7e(ne());}(Lr,function(_0x498dc1){var _0x299e71=_0x3515;return function(_0x3bac37){var _0xcb1d8a=_0x3515,_0x2e2991=_0x498dc1,_0x1cf22e=_0x2e2991['lib'],_0x57786f=_0x1cf22e[_0xcb1d8a(0x39f)],_0x2a2197=_0x1cf22e['Hasher'],_0x33e35c=_0x2e2991[_0xcb1d8a(0x14b)],_0x5b4a15=[];(function(){var _0x573d7e=_0xcb1d8a;for(var _0x392da3=0x0;_0x392da3<0x40;_0x392da3++)_0x5b4a15[_0x392da3]=_0x3bac37[_0x573d7e(0x1ff)](_0x3bac37[_0x573d7e(0x1f5)](_0x392da3+0x1))*0x100000000|0x0;}());var _0x47fa1e=_0x33e35c['MD5']=_0x2a2197[_0xcb1d8a(0x2a1)]({'_doReset':function(){var _0x46f39c=_0xcb1d8a;this['_hash']=new _0x57786f[(_0x46f39c(0x301))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105d2d,_0x47d45c){var _0x428558=_0xcb1d8a;for(var _0x139e89=0x0;_0x139e89<0x10;_0x139e89++){var _0x560b2e=_0x47d45c+_0x139e89,_0x4fa26a=_0x105d2d[_0x560b2e];_0x105d2d[_0x560b2e]=(_0x4fa26a<<0x8|_0x4fa26a>>>0x18)&0xff00ff|(_0x4fa26a<<0x18|_0x4fa26a>>>0x8)&0xff00ff00;}var _0x1aa235=this[_0x428558(0x2c5)][_0x428558(0x23c)],_0x34aca5=_0x105d2d[_0x47d45c+0x0],_0x311b30=_0x105d2d[_0x47d45c+0x1],_0x92e4c3=_0x105d2d[_0x47d45c+0x2],_0x5b7823=_0x105d2d[_0x47d45c+0x3],_0x11f6ac=_0x105d2d[_0x47d45c+0x4],_0x2becaa=_0x105d2d[_0x47d45c+0x5],_0x457fe6=_0x105d2d[_0x47d45c+0x6],_0x5d5b8d=_0x105d2d[_0x47d45c+0x7],_0x5c7643=_0x105d2d[_0x47d45c+0x8],_0x5cbcc8=_0x105d2d[_0x47d45c+0x9],_0x1c98c8=_0x105d2d[_0x47d45c+0xa],_0x46e41d=_0x105d2d[_0x47d45c+0xb],_0x378d57=_0x105d2d[_0x47d45c+0xc],_0x448c7d=_0x105d2d[_0x47d45c+0xd],_0x5ab557=_0x105d2d[_0x47d45c+0xe],_0x58eb35=_0x105d2d[_0x47d45c+0xf],_0x1478bd=_0x1aa235[0x0],_0xa6b61b=_0x1aa235[0x1],_0x5d7376=_0x1aa235[0x2],_0x5c0ef2=_0x1aa235[0x3];_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x34aca5,0x7,_0x5b4a15[0x0]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x311b30,0xc,_0x5b4a15[0x1]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x92e4c3,0x11,_0x5b4a15[0x2]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5b7823,0x16,_0x5b4a15[0x3]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x11f6ac,0x7,_0x5b4a15[0x4]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x2becaa,0xc,_0x5b4a15[0x5]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x457fe6,0x11,_0x5b4a15[0x6]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5d5b8d,0x16,_0x5b4a15[0x7]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5c7643,0x7,_0x5b4a15[0x8]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5cbcc8,0xc,_0x5b4a15[0x9]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x1c98c8,0x11,_0x5b4a15[0xa]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x46e41d,0x16,_0x5b4a15[0xb]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x378d57,0x7,_0x5b4a15[0xc]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x448c7d,0xc,_0x5b4a15[0xd]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5ab557,0x11,_0x5b4a15[0xe]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x58eb35,0x16,_0x5b4a15[0xf]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x311b30,0x5,_0x5b4a15[0x10]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x457fe6,0x9,_0x5b4a15[0x11]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x46e41d,0xe,_0x5b4a15[0x12]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x34aca5,0x14,_0x5b4a15[0x13]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x2becaa,0x5,_0x5b4a15[0x14]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x1c98c8,0x9,_0x5b4a15[0x15]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x58eb35,0xe,_0x5b4a15[0x16]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x11f6ac,0x14,_0x5b4a15[0x17]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5cbcc8,0x5,_0x5b4a15[0x18]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5ab557,0x9,_0x5b4a15[0x19]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5b7823,0xe,_0x5b4a15[0x1a]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5c7643,0x14,_0x5b4a15[0x1b]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x448c7d,0x5,_0x5b4a15[0x1c]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x92e4c3,0x9,_0x5b4a15[0x1d]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d5b8d,0xe,_0x5b4a15[0x1e]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x378d57,0x14,_0x5b4a15[0x1f]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x2becaa,0x4,_0x5b4a15[0x20]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c7643,0xb,_0x5b4a15[0x21]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x46e41d,0x10,_0x5b4a15[0x22]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5ab557,0x17,_0x5b4a15[0x23]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x311b30,0x4,_0x5b4a15[0x24]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x11f6ac,0xb,_0x5b4a15[0x25]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d5b8d,0x10,_0x5b4a15[0x26]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x1c98c8,0x17,_0x5b4a15[0x27]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x448c7d,0x4,_0x5b4a15[0x28]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x34aca5,0xb,_0x5b4a15[0x29]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5b7823,0x10,_0x5b4a15[0x2a]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x457fe6,0x17,_0x5b4a15[0x2b]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5cbcc8,0x4,_0x5b4a15[0x2c]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x378d57,0xb,_0x5b4a15[0x2d]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x58eb35,0x10,_0x5b4a15[0x2e]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x92e4c3,0x17,_0x5b4a15[0x2f]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x34aca5,0x6,_0x5b4a15[0x30]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5d5b8d,0xa,_0x5b4a15[0x31]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5ab557,0xf,_0x5b4a15[0x32]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x2becaa,0x15,_0x5b4a15[0x33]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x378d57,0x6,_0x5b4a15[0x34]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5b7823,0xa,_0x5b4a15[0x35]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x1c98c8,0xf,_0x5b4a15[0x36]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x311b30,0x15,_0x5b4a15[0x37]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5c7643,0x6,_0x5b4a15[0x38]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x58eb35,0xa,_0x5b4a15[0x39]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x457fe6,0xf,_0x5b4a15[0x3a]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x448c7d,0x15,_0x5b4a15[0x3b]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x11f6ac,0x6,_0x5b4a15[0x3c]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x46e41d,0xa,_0x5b4a15[0x3d]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x92e4c3,0xf,_0x5b4a15[0x3e]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5cbcc8,0x15,_0x5b4a15[0x3f]),_0x1aa235[0x0]=_0x1aa235[0x0]+_0x1478bd|0x0,_0x1aa235[0x1]=_0x1aa235[0x1]+_0xa6b61b|0x0,_0x1aa235[0x2]=_0x1aa235[0x2]+_0x5d7376|0x0,_0x1aa235[0x3]=_0x1aa235[0x3]+_0x5c0ef2|0x0;},'_doFinalize':function(){var _0x46c848=_0xcb1d8a,_0x2e31f3=this[_0x46c848(0x1bb)],_0x260338=_0x2e31f3[_0x46c848(0x23c)],_0x581f6f=this[_0x46c848(0x290)]*0x8,_0xb385be=_0x2e31f3[_0x46c848(0x197)]*0x8;_0x260338[_0xb385be>>>0x5]|=0x80<<0x18-_0xb385be%0x20;var _0x228523=_0x3bac37[_0x46c848(0x368)](_0x581f6f/0x100000000),_0x4b91fe=_0x581f6f;_0x260338[(_0xb385be+0x40>>>0x9<<0x4)+0xf]=(_0x228523<<0x8|_0x228523>>>0x18)&0xff00ff|(_0x228523<<0x18|_0x228523>>>0x8)&0xff00ff00,_0x260338[(_0xb385be+0x40>>>0x9<<0x4)+0xe]=(_0x4b91fe<<0x8|_0x4b91fe>>>0x18)&0xff00ff|(_0x4b91fe<<0x18|_0x4b91fe>>>0x8)&0xff00ff00,_0x2e31f3[_0x46c848(0x197)]=(_0x260338[_0x46c848(0x255)]+0x1)*0x4,this[_0x46c848(0x2c3)]();for(var _0x210c8d=this[_0x46c848(0x2c5)],_0x1f5c31=_0x210c8d['words'],_0x560335=0x0;_0x560335<0x4;_0x560335++){var _0x4351aa=_0x1f5c31[_0x560335];_0x1f5c31[_0x560335]=(_0x4351aa<<0x8|_0x4351aa>>>0x18)&0xff00ff|(_0x4351aa<<0x18|_0x4351aa>>>0x8)&0xff00ff00;}return _0x210c8d;},'clone':function(){var _0x2f9a38=_0xcb1d8a,_0x4556c8=_0x2a2197[_0x2f9a38(0x297)][_0x2f9a38(0x33e)](this);return _0x4556c8[_0x2f9a38(0x2c5)]=this[_0x2f9a38(0x2c5)][_0x2f9a38(0x297)](),_0x4556c8;}});function _0x25ebe8(_0x222f85,_0x49e5a2,_0x179cb6,_0x3e616f,_0x31df26,_0x318b6d,_0x2cf8c3){var _0xcde5d2=_0x222f85+(_0x49e5a2&_0x179cb6|~_0x49e5a2&_0x3e616f)+_0x31df26+_0x2cf8c3;return(_0xcde5d2<<_0x318b6d|_0xcde5d2>>>0x20-_0x318b6d)+_0x49e5a2;}function _0x4f84bb(_0x14040e,_0x29032d,_0x1ca1b4,_0x13ab19,_0x8d1be6,_0x2610d7,_0x225365){var _0xd82c19=_0x14040e+(_0x29032d&_0x13ab19|_0x1ca1b4&~_0x13ab19)+_0x8d1be6+_0x225365;return(_0xd82c19<<_0x2610d7|_0xd82c19>>>0x20-_0x2610d7)+_0x29032d;}function _0x341bdb(_0x387544,_0xe326e9,_0x210854,_0x4e707b,_0x1558cd,_0x41cedd,_0x4c17c4){var _0xd68217=_0x387544+(_0xe326e9^_0x210854^_0x4e707b)+_0x1558cd+_0x4c17c4;return(_0xd68217<<_0x41cedd|_0xd68217>>>0x20-_0x41cedd)+_0xe326e9;}function _0x5286dc(_0x1175a7,_0x37a0ae,_0x33f2d,_0x3b4881,_0x5e1338,_0x1f0e07,_0x34d5a1){var _0x4d4353=_0x1175a7+(_0x33f2d^(_0x37a0ae|~_0x3b4881))+_0x5e1338+_0x34d5a1;return(_0x4d4353<<_0x1f0e07|_0x4d4353>>>0x20-_0x1f0e07)+_0x37a0ae;}_0x2e2991[_0xcb1d8a(0x25c)]=_0x2a2197[_0xcb1d8a(0x375)](_0x47fa1e),_0x2e2991[_0xcb1d8a(0x319)]=_0x2a2197[_0xcb1d8a(0x3a6)](_0x47fa1e);}(Math),_0x498dc1[_0x299e71(0x25c)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x7e3d33(0x2f2)],ti;function Hr(){var _0x28fc3a=_0x7e3d33;return ti||(ti=0x1,function(_0x35d8f1,_0x3d0040){(function(_0x22a905,_0x3f6894){var _0x263bb7=_0x3515;_0x35d8f1[_0x263bb7(0x2f2)]=_0x3f6894(ne());}($r,function(_0x5a8504){var _0x437f4e=_0x3515;return(function(){var _0x571d65=_0x3515,_0x2ada69=_0x5a8504,_0x4aff38=_0x2ada69[_0x571d65(0x3ed)],_0x273c5e=_0x4aff38[_0x571d65(0x39f)],_0x50e306=_0x4aff38[_0x571d65(0x41b)],_0x11312f=_0x2ada69[_0x571d65(0x14b)],_0x1b85bc=[],_0x2f9b2a=_0x11312f['SHA1']=_0x50e306[_0x571d65(0x2a1)]({'_doReset':function(){var _0x247f42=_0x571d65;this[_0x247f42(0x2c5)]=new _0x273c5e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3bad40,_0x305b78){var _0x2c4fa1=_0x571d65;for(var _0x4d3960=this[_0x2c4fa1(0x2c5)][_0x2c4fa1(0x23c)],_0x1a3c2d=_0x4d3960[0x0],_0xb3ff62=_0x4d3960[0x1],_0x4a546d=_0x4d3960[0x2],_0x5fedd4=_0x4d3960[0x3],_0x4c669d=_0x4d3960[0x4],_0x82f73e=0x0;_0x82f73e<0x50;_0x82f73e++){if(_0x82f73e<0x10)_0x1b85bc[_0x82f73e]=_0x3bad40[_0x305b78+_0x82f73e]|0x0;else{var _0xcaa78d=_0x1b85bc[_0x82f73e-0x3]^_0x1b85bc[_0x82f73e-0x8]^_0x1b85bc[_0x82f73e-0xe]^_0x1b85bc[_0x82f73e-0x10];_0x1b85bc[_0x82f73e]=_0xcaa78d<<0x1|_0xcaa78d>>>0x1f;}var _0x1c47cf=(_0x1a3c2d<<0x5|_0x1a3c2d>>>0x1b)+_0x4c669d+_0x1b85bc[_0x82f73e];_0x82f73e<0x14?_0x1c47cf+=(_0xb3ff62&_0x4a546d|~_0xb3ff62&_0x5fedd4)+0x5a827999:_0x82f73e<0x28?_0x1c47cf+=(_0xb3ff62^_0x4a546d^_0x5fedd4)+0x6ed9eba1:_0x82f73e<0x3c?_0x1c47cf+=(_0xb3ff62&_0x4a546d|_0xb3ff62&_0x5fedd4|_0x4a546d&_0x5fedd4)-0x70e44324:_0x1c47cf+=(_0xb3ff62^_0x4a546d^_0x5fedd4)-0x359d3e2a,_0x4c669d=_0x5fedd4,_0x5fedd4=_0x4a546d,_0x4a546d=_0xb3ff62<<0x1e|_0xb3ff62>>>0x2,_0xb3ff62=_0x1a3c2d,_0x1a3c2d=_0x1c47cf;}_0x4d3960[0x0]=_0x4d3960[0x0]+_0x1a3c2d|0x0,_0x4d3960[0x1]=_0x4d3960[0x1]+_0xb3ff62|0x0,_0x4d3960[0x2]=_0x4d3960[0x2]+_0x4a546d|0x0,_0x4d3960[0x3]=_0x4d3960[0x3]+_0x5fedd4|0x0,_0x4d3960[0x4]=_0x4d3960[0x4]+_0x4c669d|0x0;},'_doFinalize':function(){var _0x7ded54=_0x571d65,_0x405db4=this['_data'],_0x298c71=_0x405db4[_0x7ded54(0x23c)],_0x3b12a1=this[_0x7ded54(0x290)]*0x8,_0x57aac0=_0x405db4[_0x7ded54(0x197)]*0x8;return _0x298c71[_0x57aac0>>>0x5]|=0x80<<0x18-_0x57aac0%0x20,_0x298c71[(_0x57aac0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3b12a1/0x100000000),_0x298c71[(_0x57aac0+0x40>>>0x9<<0x4)+0xf]=_0x3b12a1,_0x405db4[_0x7ded54(0x197)]=_0x298c71[_0x7ded54(0x255)]*0x4,this[_0x7ded54(0x2c3)](),this[_0x7ded54(0x2c5)];},'clone':function(){var _0x2116b0=_0x571d65,_0x3d64f3=_0x50e306['clone'][_0x2116b0(0x33e)](this);return _0x3d64f3[_0x2116b0(0x2c5)]=this[_0x2116b0(0x2c5)]['clone'](),_0x3d64f3;}});_0x2ada69['SHA1']=_0x50e306['_createHelper'](_0x2f9b2a),_0x2ada69[_0x571d65(0x3fb)]=_0x50e306[_0x571d65(0x3a6)](_0x2f9b2a);}()),_0x5a8504[_0x437f4e(0x3f8)];}));}(qe)),qe[_0x28fc3a(0x2f2)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x5dea1e=_0x7e3d33;return ii||(ii=0x1,function(_0xee6749,_0x5e8a94){(function(_0x35e40f,_0x4c0d98){var _0x4c4bc2=_0x3515;_0xee6749[_0x4c4bc2(0x2f2)]=_0x4c0d98(ne());}(kr,function(_0x2ada17){(function(){var _0x57526f=_0x3515,_0x37ef3b=_0x2ada17,_0xaf6bd0=_0x37ef3b[_0x57526f(0x3ed)],_0x1011d7=_0xaf6bd0['Base'],_0x4c2ebe=_0x37ef3b['enc'],_0x41a7af=_0x4c2ebe[_0x57526f(0x2fd)],_0x936f3d=_0x37ef3b[_0x57526f(0x14b)];_0x936f3d[_0x57526f(0x26b)]=_0x1011d7[_0x57526f(0x2a1)]({'init':function(_0x1b93bc,_0x52e2e0){var _0x3002d3=_0x57526f;_0x1b93bc=this[_0x3002d3(0x15b)]=new _0x1b93bc[(_0x3002d3(0x301))](),typeof _0x52e2e0==_0x3002d3(0x252)&&(_0x52e2e0=_0x41a7af[_0x3002d3(0x317)](_0x52e2e0));var _0x3efe8b=_0x1b93bc['blockSize'],_0x200d4a=_0x3efe8b*0x4;_0x52e2e0['sigBytes']>_0x200d4a&&(_0x52e2e0=_0x1b93bc[_0x3002d3(0x299)](_0x52e2e0)),_0x52e2e0[_0x3002d3(0x182)]();for(var _0x693512=this['_oKey']=_0x52e2e0[_0x3002d3(0x297)](),_0xf9739d=this[_0x3002d3(0x1cc)]=_0x52e2e0[_0x3002d3(0x297)](),_0x1f1f23=_0x693512[_0x3002d3(0x23c)],_0xd1b657=_0xf9739d[_0x3002d3(0x23c)],_0x1cb986=0x0;_0x1cb986<_0x3efe8b;_0x1cb986++)_0x1f1f23[_0x1cb986]^=0x5c5c5c5c,_0xd1b657[_0x1cb986]^=0x36363636;_0x693512[_0x3002d3(0x197)]=_0xf9739d[_0x3002d3(0x197)]=_0x200d4a,this[_0x3002d3(0x320)]();},'reset':function(){var _0x8e7f20=_0x57526f,_0x2cdcc4=this[_0x8e7f20(0x15b)];_0x2cdcc4['reset'](),_0x2cdcc4[_0x8e7f20(0x337)](this['_iKey']);},'update':function(_0x42b0aa){return this['_hasher']['update'](_0x42b0aa),this;},'finalize':function(_0x4d14e9){var _0x1383c5=_0x57526f,_0x438fb0=this[_0x1383c5(0x15b)],_0x2bbf0d=_0x438fb0[_0x1383c5(0x299)](_0x4d14e9);_0x438fb0[_0x1383c5(0x320)]();var _0x4f5a7b=_0x438fb0[_0x1383c5(0x299)](this[_0x1383c5(0x1b9)][_0x1383c5(0x297)]()[_0x1383c5(0x35d)](_0x2bbf0d));return _0x4f5a7b;}});}());}));}(ze)),ze[_0x5dea1e(0x2f2)];}var Br=Ye['exports'],ni;function Ui(){var _0x324828=_0x7e3d33;return ni||(ni=0x1,function(_0x5d637c,_0x41db88){(function(_0x3673af,_0x413df3,_0x52311f){var _0x3525b8=_0x3515;_0x5d637c[_0x3525b8(0x2f2)]=_0x413df3(ne(),Hr(),jr());}(Br,function(_0x5ca009){var _0x3ff859=_0x3515;return(function(){var _0x3436e3=_0x3515,_0x3236a9=_0x5ca009,_0x597041=_0x3236a9['lib'],_0x15c4e4=_0x597041[_0x3436e3(0x30b)],_0x11a732=_0x597041[_0x3436e3(0x39f)],_0x3c35e4=_0x3236a9[_0x3436e3(0x14b)],_0x24b3ca=_0x3c35e4[_0x3436e3(0x25c)],_0x317164=_0x3c35e4['EvpKDF']=_0x15c4e4['extend']({'cfg':_0x15c4e4[_0x3436e3(0x2a1)]({'keySize':0x80/0x20,'hasher':_0x24b3ca,'iterations':0x1}),'init':function(_0x4c6a5b){var _0x1bd252=_0x3436e3;this[_0x1bd252(0x2d4)]=this[_0x1bd252(0x2d4)][_0x1bd252(0x2a1)](_0x4c6a5b);},'compute':function(_0xa934b,_0x582edb){var _0x59ebce=_0x3436e3;for(var _0x469127,_0x2d00aa=this[_0x59ebce(0x2d4)],_0x57f581=_0x2d00aa[_0x59ebce(0x2b1)][_0x59ebce(0x274)](),_0x153334=_0x11a732[_0x59ebce(0x274)](),_0x4f2bf4=_0x153334[_0x59ebce(0x23c)],_0x19b8ac=_0x2d00aa[_0x59ebce(0x164)],_0x108416=_0x2d00aa['iterations'];_0x4f2bf4['length']<_0x19b8ac;){_0x469127&&_0x57f581[_0x59ebce(0x337)](_0x469127),_0x469127=_0x57f581[_0x59ebce(0x337)](_0xa934b)[_0x59ebce(0x299)](_0x582edb),_0x57f581[_0x59ebce(0x320)]();for(var _0xe05e06=0x1;_0xe05e06<_0x108416;_0xe05e06++)_0x469127=_0x57f581[_0x59ebce(0x299)](_0x469127),_0x57f581[_0x59ebce(0x320)]();_0x153334['concat'](_0x469127);}return _0x153334[_0x59ebce(0x197)]=_0x19b8ac*0x4,_0x153334;}});_0x3236a9[_0x3436e3(0x1e7)]=function(_0x207e63,_0x433e24,_0x4c9694){var _0x530838=_0x3436e3;return _0x317164['create'](_0x4c9694)[_0x530838(0x198)](_0x207e63,_0x433e24);};}()),_0x5ca009[_0x3ff859(0x1e7)];}));}(Ye)),Ye[_0x324828(0x2f2)];}var Je={'exports':{}},Fr=Je[_0x7e3d33(0x2f2)],ri;function Ai(){var _0x21ea15=_0x7e3d33;return ri||(ri=0x1,function(_0x4d7fa8,_0x430ccc){(function(_0x533322,_0x331dd1,_0x1a97af){_0x4d7fa8['exports']=_0x331dd1(ne(),Ui());}(Fr,function(_0xa29027){var _0xa814d4=_0x3515;_0xa29027[_0xa814d4(0x3ed)][_0xa814d4(0x2af)]||function(_0x2131d7){var _0x2f532c=_0xa814d4,_0x3b1827=_0xa29027,_0x435b10=_0x3b1827['lib'],_0x8f8617=_0x435b10[_0x2f532c(0x30b)],_0x366dbd=_0x435b10[_0x2f532c(0x39f)],_0x24ffd6=_0x435b10[_0x2f532c(0x26d)],_0x4b4f1f=_0x3b1827[_0x2f532c(0x304)];_0x4b4f1f[_0x2f532c(0x2fd)];var _0x555781=_0x4b4f1f['Base64'],_0x19117c=_0x3b1827[_0x2f532c(0x14b)],_0x522ee6=_0x19117c[_0x2f532c(0x1e7)],_0x4d53bb=_0x435b10[_0x2f532c(0x2af)]=_0x24ffd6[_0x2f532c(0x2a1)]({'cfg':_0x8f8617[_0x2f532c(0x2a1)](),'createEncryptor':function(_0x524b9a,_0x13a6dc){var _0x19e555=_0x2f532c;return this[_0x19e555(0x274)](this[_0x19e555(0x180)],_0x524b9a,_0x13a6dc);},'createDecryptor':function(_0x5762aa,_0x30297b){var _0x197056=_0x2f532c;return this[_0x197056(0x274)](this['_DEC_XFORM_MODE'],_0x5762aa,_0x30297b);},'init':function(_0x3e1658,_0x4a79b1,_0x260d96){var _0x4fe7b6=_0x2f532c;this[_0x4fe7b6(0x2d4)]=this[_0x4fe7b6(0x2d4)]['extend'](_0x260d96),this[_0x4fe7b6(0x3f9)]=_0x3e1658,this[_0x4fe7b6(0x2e1)]=_0x4a79b1,this['reset']();},'reset':function(){var _0x205a75=_0x2f532c;_0x24ffd6[_0x205a75(0x320)][_0x205a75(0x33e)](this),this['_doReset']();},'process':function(_0x1b96ea){return this['_append'](_0x1b96ea),this['_process']();},'finalize':function(_0x42dfc7){var _0x29ac37=_0x2f532c;_0x42dfc7&&this[_0x29ac37(0x235)](_0x42dfc7);var _0x44f60b=this[_0x29ac37(0x338)]();return _0x44f60b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56b6af(_0x51a723){return typeof _0x51a723=='string'?_0x2733c9:_0x58509e;}return function(_0x46e33a){return{'encrypt':function(_0x2adc2a,_0xcadc82,_0x413f96){var _0x2df89e=_0x3515;return _0x56b6af(_0xcadc82)[_0x2df89e(0x32b)](_0x46e33a,_0x2adc2a,_0xcadc82,_0x413f96);},'decrypt':function(_0x446648,_0x5810bf,_0x56fc7b){var _0x426cf6=_0x3515;return _0x56b6af(_0x5810bf)[_0x426cf6(0x3e8)](_0x46e33a,_0x446648,_0x5810bf,_0x56fc7b);}};};}())});_0x435b10[_0x2f532c(0x219)]=_0x4d53bb['extend']({'_doFinalize':function(){var _0x3ad4fe=this['_process'](!0x0);return _0x3ad4fe;},'blockSize':0x1});var _0x418fe1=_0x3b1827[_0x2f532c(0x357)]={},_0xd6a18c=_0x435b10[_0x2f532c(0x258)]=_0x8f8617['extend']({'createEncryptor':function(_0x12fb84,_0x16a890){var _0x10182c=_0x2f532c;return this[_0x10182c(0x34a)][_0x10182c(0x274)](_0x12fb84,_0x16a890);},'createDecryptor':function(_0x23fe36,_0x577396){var _0x472dbf=_0x2f532c;return this[_0x472dbf(0x400)][_0x472dbf(0x274)](_0x23fe36,_0x577396);},'init':function(_0x58533c,_0x29c81e){var _0x404c5d=_0x2f532c;this['_cipher']=_0x58533c,this[_0x404c5d(0x2c1)]=_0x29c81e;}}),_0x39285f=_0x418fe1[_0x2f532c(0x40a)]=(function(){var _0x2fd5d5=_0x2f532c,_0x48df36=_0xd6a18c[_0x2fd5d5(0x2a1)]();_0x48df36[_0x2fd5d5(0x34a)]=_0x48df36['extend']({'processBlock':function(_0x3aa299,_0x3757d8){var _0x10ad09=_0x2fd5d5,_0x59f026=this[_0x10ad09(0x12a)],_0x14d6e6=_0x59f026['blockSize'];_0x16b2a6[_0x10ad09(0x33e)](this,_0x3aa299,_0x3757d8,_0x14d6e6),_0x59f026[_0x10ad09(0x3b4)](_0x3aa299,_0x3757d8),this[_0x10ad09(0x1d9)]=_0x3aa299[_0x10ad09(0x1b1)](_0x3757d8,_0x3757d8+_0x14d6e6);}}),_0x48df36[_0x2fd5d5(0x400)]=_0x48df36[_0x2fd5d5(0x2a1)]({'processBlock':function(_0x44425f,_0x1d760d){var _0x29d78e=_0x2fd5d5,_0x48a7ad=this['_cipher'],_0x27cc3e=_0x48a7ad[_0x29d78e(0x363)],_0x162f0b=_0x44425f[_0x29d78e(0x1b1)](_0x1d760d,_0x1d760d+_0x27cc3e);_0x48a7ad[_0x29d78e(0x2ee)](_0x44425f,_0x1d760d),_0x16b2a6[_0x29d78e(0x33e)](this,_0x44425f,_0x1d760d,_0x27cc3e),this[_0x29d78e(0x1d9)]=_0x162f0b;}});function _0x16b2a6(_0xdd6f69,_0x141f3a,_0x22b0c1){var _0x44c161=_0x2fd5d5,_0x2814d9,_0x41f828=this[_0x44c161(0x2c1)];_0x41f828?(_0x2814d9=_0x41f828,this['_iv']=_0x2131d7):_0x2814d9=this[_0x44c161(0x1d9)];for(var _0x94449e=0x0;_0x94449e<_0x22b0c1;_0x94449e++)_0xdd6f69[_0x141f3a+_0x94449e]^=_0x2814d9[_0x94449e];}return _0x48df36;}()),_0x5b0109=_0x3b1827['pad']={},_0x3456c3=_0x5b0109['Pkcs7']={'pad':function(_0x547b87,_0x1650a0){var _0x3f1ddd=_0x2f532c;for(var _0x5ceb02=_0x1650a0*0x4,_0x53cc06=_0x5ceb02-_0x547b87[_0x3f1ddd(0x197)]%_0x5ceb02,_0x1089ac=_0x53cc06<<0x18|_0x53cc06<<0x10|_0x53cc06<<0x8|_0x53cc06,_0x3b179c=[],_0x2f4f22=0x0;_0x2f4f22<_0x53cc06;_0x2f4f22+=0x4)_0x3b179c[_0x3f1ddd(0x399)](_0x1089ac);var _0x178c16=_0x366dbd[_0x3f1ddd(0x274)](_0x3b179c,_0x53cc06);_0x547b87[_0x3f1ddd(0x35d)](_0x178c16);},'unpad':function(_0x7f6022){var _0x3a7477=_0x2f532c,_0x403e1b=_0x7f6022[_0x3a7477(0x23c)][_0x7f6022[_0x3a7477(0x197)]-0x1>>>0x2]&0xff;_0x7f6022['sigBytes']-=_0x403e1b;}};_0x435b10[_0x2f532c(0x241)]=_0x4d53bb[_0x2f532c(0x2a1)]({'cfg':_0x4d53bb[_0x2f532c(0x2d4)][_0x2f532c(0x2a1)]({'mode':_0x39285f,'padding':_0x3456c3}),'reset':function(){var _0x35cfbb=_0x2f532c,_0x36d58c;_0x4d53bb[_0x35cfbb(0x320)][_0x35cfbb(0x33e)](this);var _0x291420=this[_0x35cfbb(0x2d4)],_0x221f92=_0x291420['iv'],_0x25edcf=_0x291420[_0x35cfbb(0x357)];this[_0x35cfbb(0x3f9)]==this[_0x35cfbb(0x180)]?_0x36d58c=_0x25edcf[_0x35cfbb(0x26e)]:(_0x36d58c=_0x25edcf[_0x35cfbb(0x1c6)],this[_0x35cfbb(0x35c)]=0x1),this[_0x35cfbb(0x329)]&&this[_0x35cfbb(0x329)]['__creator']==_0x36d58c?this[_0x35cfbb(0x329)][_0x35cfbb(0x301)](this,_0x221f92&&_0x221f92['words']):(this[_0x35cfbb(0x329)]=_0x36d58c[_0x35cfbb(0x33e)](_0x25edcf,this,_0x221f92&&_0x221f92[_0x35cfbb(0x23c)]),this['_mode'][_0x35cfbb(0x22f)]=_0x36d58c);},'_doProcessBlock':function(_0x52c642,_0x5d6e92){var _0xa1f76f=_0x2f532c;this[_0xa1f76f(0x329)][_0xa1f76f(0x1e8)](_0x52c642,_0x5d6e92);},'_doFinalize':function(){var _0x31e1d5=_0x2f532c,_0xdc5e71,_0x280a50=this['cfg'][_0x31e1d5(0x24b)];return this[_0x31e1d5(0x3f9)]==this[_0x31e1d5(0x180)]?(_0x280a50['pad'](this[_0x31e1d5(0x1bb)],this[_0x31e1d5(0x363)]),_0xdc5e71=this[_0x31e1d5(0x2c3)](!0x0)):(_0xdc5e71=this[_0x31e1d5(0x2c3)](!0x0),_0x280a50[_0x31e1d5(0x161)](_0xdc5e71)),_0xdc5e71;},'blockSize':0x80/0x20});var _0x1c0b72=_0x435b10[_0x2f532c(0x1d6)]=_0x8f8617[_0x2f532c(0x2a1)]({'init':function(_0x227db8){var _0x57c095=_0x2f532c;this[_0x57c095(0x3d3)](_0x227db8);},'toString':function(_0x59bccd){var _0x11ab3f=_0x2f532c;return(_0x59bccd||this[_0x11ab3f(0x24f)])[_0x11ab3f(0x228)](this);}}),_0x232250=_0x3b1827[_0x2f532c(0x28e)]={},_0x126e6f=_0x232250[_0x2f532c(0x3e1)]={'stringify':function(_0x13bfa6){var _0x147dec=_0x2f532c,_0x39f8cb,_0x294259=_0x13bfa6['ciphertext'],_0x1e2306=_0x13bfa6['salt'];return _0x1e2306?_0x39f8cb=_0x366dbd['create']([0x53616c74,0x65645f5f])['concat'](_0x1e2306)[_0x147dec(0x35d)](_0x294259):_0x39f8cb=_0x294259,_0x39f8cb[_0x147dec(0x328)](_0x555781);},'parse':function(_0x35d49c){var _0xdaacab=_0x2f532c,_0x37249d,_0x38d0be=_0x555781['parse'](_0x35d49c),_0x3b67fe=_0x38d0be['words'];return _0x3b67fe[0x0]==0x53616c74&&_0x3b67fe[0x1]==0x65645f5f&&(_0x37249d=_0x366dbd[_0xdaacab(0x274)](_0x3b67fe[_0xdaacab(0x1b1)](0x2,0x4)),_0x3b67fe[_0xdaacab(0x1b7)](0x0,0x4),_0x38d0be[_0xdaacab(0x197)]-=0x10),_0x1c0b72['create']({'ciphertext':_0x38d0be,'salt':_0x37249d});}},_0x58509e=_0x435b10[_0x2f532c(0x411)]=_0x8f8617[_0x2f532c(0x2a1)]({'cfg':_0x8f8617[_0x2f532c(0x2a1)]({'format':_0x126e6f}),'encrypt':function(_0x405bca,_0x444abc,_0x24ac02,_0x422e4d){var _0xbd3106=_0x2f532c;_0x422e4d=this[_0xbd3106(0x2d4)][_0xbd3106(0x2a1)](_0x422e4d);var _0x28beb3=_0x405bca[_0xbd3106(0x26e)](_0x24ac02,_0x422e4d),_0x11a311=_0x28beb3[_0xbd3106(0x299)](_0x444abc),_0x1afc0a=_0x28beb3[_0xbd3106(0x2d4)];return _0x1c0b72[_0xbd3106(0x274)]({'ciphertext':_0x11a311,'key':_0x24ac02,'iv':_0x1afc0a['iv'],'algorithm':_0x405bca,'mode':_0x1afc0a[_0xbd3106(0x357)],'padding':_0x1afc0a[_0xbd3106(0x24b)],'blockSize':_0x405bca[_0xbd3106(0x363)],'formatter':_0x422e4d[_0xbd3106(0x28e)]});},'decrypt':function(_0xba7b44,_0xc96f88,_0x4e5960,_0xfee467){var _0x1192c3=_0x2f532c;_0xfee467=this[_0x1192c3(0x2d4)][_0x1192c3(0x2a1)](_0xfee467),_0xc96f88=this[_0x1192c3(0x190)](_0xc96f88,_0xfee467['format']);var _0x498431=_0xba7b44['createDecryptor'](_0x4e5960,_0xfee467)[_0x1192c3(0x299)](_0xc96f88[_0x1192c3(0x2cf)]);return _0x498431;},'_parse':function(_0x415c5c,_0x33c86e){var _0x3782fd=_0x2f532c;return typeof _0x415c5c==_0x3782fd(0x252)?_0x33c86e['parse'](_0x415c5c,this):_0x415c5c;}}),_0x495dfa=_0x3b1827[_0x2f532c(0x3e6)]={},_0x5b9bd0=_0x495dfa[_0x2f532c(0x3e1)]={'execute':function(_0x5d8933,_0x27f7a2,_0x4f3802,_0x184abc,_0x24fbdd){var _0x2e3f12=_0x2f532c;if(_0x184abc||(_0x184abc=_0x366dbd[_0x2e3f12(0x416)](0x40/0x8)),_0x24fbdd)var _0x2ad972=_0x522ee6[_0x2e3f12(0x274)]({'keySize':_0x27f7a2+_0x4f3802,'hasher':_0x24fbdd})['compute'](_0x5d8933,_0x184abc);else var _0x2ad972=_0x522ee6['create']({'keySize':_0x27f7a2+_0x4f3802})[_0x2e3f12(0x198)](_0x5d8933,_0x184abc);var _0xda388c=_0x366dbd[_0x2e3f12(0x274)](_0x2ad972[_0x2e3f12(0x23c)][_0x2e3f12(0x1b1)](_0x27f7a2),_0x4f3802*0x4);return _0x2ad972['sigBytes']=_0x27f7a2*0x4,_0x1c0b72[_0x2e3f12(0x274)]({'key':_0x2ad972,'iv':_0xda388c,'salt':_0x184abc});}},_0x2733c9=_0x435b10[_0x2f532c(0x16e)]=_0x58509e[_0x2f532c(0x2a1)]({'cfg':_0x58509e['cfg'][_0x2f532c(0x2a1)]({'kdf':_0x5b9bd0}),'encrypt':function(_0x3f0e16,_0x55b302,_0xb79497,_0x2253bf){var _0x160c92=_0x2f532c;_0x2253bf=this[_0x160c92(0x2d4)][_0x160c92(0x2a1)](_0x2253bf);var _0x37da47=_0x2253bf[_0x160c92(0x3e6)]['execute'](_0xb79497,_0x3f0e16[_0x160c92(0x164)],_0x3f0e16[_0x160c92(0x12e)],_0x2253bf[_0x160c92(0x225)],_0x2253bf[_0x160c92(0x2b1)]);_0x2253bf['iv']=_0x37da47['iv'];var _0x3e6823=_0x58509e[_0x160c92(0x32b)][_0x160c92(0x33e)](this,_0x3f0e16,_0x55b302,_0x37da47[_0x160c92(0x163)],_0x2253bf);return _0x3e6823[_0x160c92(0x3d3)](_0x37da47),_0x3e6823;},'decrypt':function(_0x3e709f,_0x522753,_0x2d2448,_0x1e348d){var _0x467dc5=_0x2f532c;_0x1e348d=this[_0x467dc5(0x2d4)][_0x467dc5(0x2a1)](_0x1e348d),_0x522753=this[_0x467dc5(0x190)](_0x522753,_0x1e348d[_0x467dc5(0x28e)]);var _0xbe9946=_0x1e348d[_0x467dc5(0x3e6)][_0x467dc5(0x23a)](_0x2d2448,_0x3e709f[_0x467dc5(0x164)],_0x3e709f['ivSize'],_0x522753[_0x467dc5(0x225)],_0x1e348d['hasher']);_0x1e348d['iv']=_0xbe9946['iv'];var _0x5a2b05=_0x58509e['decrypt'][_0x467dc5(0x33e)](this,_0x3e709f,_0x522753,_0xbe9946[_0x467dc5(0x163)],_0x1e348d);return _0x5a2b05;}});}();}));}(Je)),Je[_0x21ea15(0x2f2)];}var Vr=Ve['exports'],si;function Gr(){var _0x2a3fe7=_0x7e3d33;return si||(si=0x1,function(_0xde4642,_0x1ba52a){(function(_0x31e99a,_0x32cc42,_0x16f35b){var _0xa60df9=_0x3515;_0xde4642[_0xa60df9(0x2f2)]=_0x32cc42(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xdd8e90){var _0x413fa2=_0x3515;return(function(){var _0xfb39a9=_0x3515,_0x726778=_0xdd8e90,_0xf51768=_0x726778[_0xfb39a9(0x3ed)],_0x32b43a=_0xf51768[_0xfb39a9(0x241)],_0x466f20=_0x726778[_0xfb39a9(0x14b)],_0x42ea59=[],_0x116ef0=[],_0xdb8b68=[],_0x44af2c=[],_0x2a43b8=[],_0x53f01a=[],_0x182e29=[],_0x477f02=[],_0x732fc1=[],_0x387768=[];(function(){for(var _0x2e5598=[],_0x3db337=0x0;_0x3db337<0x100;_0x3db337++)_0x3db337<0x80?_0x2e5598[_0x3db337]=_0x3db337<<0x1:_0x2e5598[_0x3db337]=_0x3db337<<0x1^0x11b;for(var _0x168a85=0x0,_0x1f57aa=0x0,_0x3db337=0x0;_0x3db337<0x100;_0x3db337++){var _0x5194c9=_0x1f57aa^_0x1f57aa<<0x1^_0x1f57aa<<0x2^_0x1f57aa<<0x3^_0x1f57aa<<0x4;_0x5194c9=_0x5194c9>>>0x8^_0x5194c9&0xff^0x63,_0x42ea59[_0x168a85]=_0x5194c9,_0x116ef0[_0x5194c9]=_0x168a85;var _0x3c8005=_0x2e5598[_0x168a85],_0x4a36f4=_0x2e5598[_0x3c8005],_0x1e1329=_0x2e5598[_0x4a36f4],_0x52ec51=_0x2e5598[_0x5194c9]*0x101^_0x5194c9*0x1010100;_0xdb8b68[_0x168a85]=_0x52ec51<<0x18|_0x52ec51>>>0x8,_0x44af2c[_0x168a85]=_0x52ec51<<0x10|_0x52ec51>>>0x10,_0x2a43b8[_0x168a85]=_0x52ec51<<0x8|_0x52ec51>>>0x18,_0x53f01a[_0x168a85]=_0x52ec51;var _0x52ec51=_0x1e1329*0x1010101^_0x4a36f4*0x10001^_0x3c8005*0x101^_0x168a85*0x1010100;_0x182e29[_0x5194c9]=_0x52ec51<<0x18|_0x52ec51>>>0x8,_0x477f02[_0x5194c9]=_0x52ec51<<0x10|_0x52ec51>>>0x10,_0x732fc1[_0x5194c9]=_0x52ec51<<0x8|_0x52ec51>>>0x18,_0x387768[_0x5194c9]=_0x52ec51,_0x168a85?(_0x168a85=_0x3c8005^_0x2e5598[_0x2e5598[_0x2e5598[_0x1e1329^_0x3c8005]]],_0x1f57aa^=_0x2e5598[_0x2e5598[_0x1f57aa]]):_0x168a85=_0x1f57aa=0x1;}}());var _0x14502e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x137720=_0x466f20[_0xfb39a9(0x2ed)]=_0x32b43a[_0xfb39a9(0x2a1)]({'_doReset':function(){var _0x12c53f=_0xfb39a9,_0x152231;if(!(this[_0x12c53f(0x158)]&&this['_keyPriorReset']===this[_0x12c53f(0x2e1)])){for(var _0x5f09b7=this[_0x12c53f(0x1fe)]=this[_0x12c53f(0x2e1)],_0x43eec0=_0x5f09b7['words'],_0x402dcb=_0x5f09b7[_0x12c53f(0x197)]/0x4,_0x24f997=this[_0x12c53f(0x158)]=_0x402dcb+0x6,_0x97ce57=(_0x24f997+0x1)*0x4,_0x3cabfb=this[_0x12c53f(0x409)]=[],_0x488e09=0x0;_0x488e09<_0x97ce57;_0x488e09++)_0x488e09<_0x402dcb?_0x3cabfb[_0x488e09]=_0x43eec0[_0x488e09]:(_0x152231=_0x3cabfb[_0x488e09-0x1],_0x488e09%_0x402dcb?_0x402dcb>0x6&&_0x488e09%_0x402dcb==0x4&&(_0x152231=_0x42ea59[_0x152231>>>0x18]<<0x18|_0x42ea59[_0x152231>>>0x10&0xff]<<0x10|_0x42ea59[_0x152231>>>0x8&0xff]<<0x8|_0x42ea59[_0x152231&0xff]):(_0x152231=_0x152231<<0x8|_0x152231>>>0x18,_0x152231=_0x42ea59[_0x152231>>>0x18]<<0x18|_0x42ea59[_0x152231>>>0x10&0xff]<<0x10|_0x42ea59[_0x152231>>>0x8&0xff]<<0x8|_0x42ea59[_0x152231&0xff],_0x152231^=_0x14502e[_0x488e09/_0x402dcb|0x0]<<0x18),_0x3cabfb[_0x488e09]=_0x3cabfb[_0x488e09-_0x402dcb]^_0x152231);for(var _0x40d2ae=this[_0x12c53f(0x38b)]=[],_0x52ac21=0x0;_0x52ac21<_0x97ce57;_0x52ac21++){var _0x488e09=_0x97ce57-_0x52ac21;if(_0x52ac21%0x4)var _0x152231=_0x3cabfb[_0x488e09];else var _0x152231=_0x3cabfb[_0x488e09-0x4];_0x52ac21<0x4||_0x488e09<=0x4?_0x40d2ae[_0x52ac21]=_0x152231:_0x40d2ae[_0x52ac21]=_0x182e29[_0x42ea59[_0x152231>>>0x18]]^_0x477f02[_0x42ea59[_0x152231>>>0x10&0xff]]^_0x732fc1[_0x42ea59[_0x152231>>>0x8&0xff]]^_0x387768[_0x42ea59[_0x152231&0xff]];}}},'encryptBlock':function(_0x3bc757,_0x204cb6){var _0x5eaca1=_0xfb39a9;this[_0x5eaca1(0x3f0)](_0x3bc757,_0x204cb6,this[_0x5eaca1(0x409)],_0xdb8b68,_0x44af2c,_0x2a43b8,_0x53f01a,_0x42ea59);},'decryptBlock':function(_0x473878,_0x2c98c1){var _0x536c65=_0xfb39a9,_0x909c17=_0x473878[_0x2c98c1+0x1];_0x473878[_0x2c98c1+0x1]=_0x473878[_0x2c98c1+0x3],_0x473878[_0x2c98c1+0x3]=_0x909c17,this['_doCryptBlock'](_0x473878,_0x2c98c1,this[_0x536c65(0x38b)],_0x182e29,_0x477f02,_0x732fc1,_0x387768,_0x116ef0);var _0x909c17=_0x473878[_0x2c98c1+0x1];_0x473878[_0x2c98c1+0x1]=_0x473878[_0x2c98c1+0x3],_0x473878[_0x2c98c1+0x3]=_0x909c17;},'_doCryptBlock':function(_0x521b24,_0x5e4d81,_0xcdf24,_0x5574a4,_0x4c5457,_0x1fc324,_0x35bc3e,_0x55f25b){for(var _0x4b6aa1=this['_nRounds'],_0x321b7f=_0x521b24[_0x5e4d81]^_0xcdf24[0x0],_0x2171f8=_0x521b24[_0x5e4d81+0x1]^_0xcdf24[0x1],_0x1b0b8b=_0x521b24[_0x5e4d81+0x2]^_0xcdf24[0x2],_0x3cc782=_0x521b24[_0x5e4d81+0x3]^_0xcdf24[0x3],_0x1975b1=0x4,_0x40628a=0x1;_0x40628a<_0x4b6aa1;_0x40628a++){var _0x666212=_0x5574a4[_0x321b7f>>>0x18]^_0x4c5457[_0x2171f8>>>0x10&0xff]^_0x1fc324[_0x1b0b8b>>>0x8&0xff]^_0x35bc3e[_0x3cc782&0xff]^_0xcdf24[_0x1975b1++],_0x59e934=_0x5574a4[_0x2171f8>>>0x18]^_0x4c5457[_0x1b0b8b>>>0x10&0xff]^_0x1fc324[_0x3cc782>>>0x8&0xff]^_0x35bc3e[_0x321b7f&0xff]^_0xcdf24[_0x1975b1++],_0xa2e32a=_0x5574a4[_0x1b0b8b>>>0x18]^_0x4c5457[_0x3cc782>>>0x10&0xff]^_0x1fc324[_0x321b7f>>>0x8&0xff]^_0x35bc3e[_0x2171f8&0xff]^_0xcdf24[_0x1975b1++],_0x384948=_0x5574a4[_0x3cc782>>>0x18]^_0x4c5457[_0x321b7f>>>0x10&0xff]^_0x1fc324[_0x2171f8>>>0x8&0xff]^_0x35bc3e[_0x1b0b8b&0xff]^_0xcdf24[_0x1975b1++];_0x321b7f=_0x666212,_0x2171f8=_0x59e934,_0x1b0b8b=_0xa2e32a,_0x3cc782=_0x384948;}var _0x666212=(_0x55f25b[_0x321b7f>>>0x18]<<0x18|_0x55f25b[_0x2171f8>>>0x10&0xff]<<0x10|_0x55f25b[_0x1b0b8b>>>0x8&0xff]<<0x8|_0x55f25b[_0x3cc782&0xff])^_0xcdf24[_0x1975b1++],_0x59e934=(_0x55f25b[_0x2171f8>>>0x18]<<0x18|_0x55f25b[_0x1b0b8b>>>0x10&0xff]<<0x10|_0x55f25b[_0x3cc782>>>0x8&0xff]<<0x8|_0x55f25b[_0x321b7f&0xff])^_0xcdf24[_0x1975b1++],_0xa2e32a=(_0x55f25b[_0x1b0b8b>>>0x18]<<0x18|_0x55f25b[_0x3cc782>>>0x10&0xff]<<0x10|_0x55f25b[_0x321b7f>>>0x8&0xff]<<0x8|_0x55f25b[_0x2171f8&0xff])^_0xcdf24[_0x1975b1++],_0x384948=(_0x55f25b[_0x3cc782>>>0x18]<<0x18|_0x55f25b[_0x321b7f>>>0x10&0xff]<<0x10|_0x55f25b[_0x2171f8>>>0x8&0xff]<<0x8|_0x55f25b[_0x1b0b8b&0xff])^_0xcdf24[_0x1975b1++];_0x521b24[_0x5e4d81]=_0x666212,_0x521b24[_0x5e4d81+0x1]=_0x59e934,_0x521b24[_0x5e4d81+0x2]=_0xa2e32a,_0x521b24[_0x5e4d81+0x3]=_0x384948;},'keySize':0x100/0x20});_0x726778[_0xfb39a9(0x2ed)]=_0x32b43a[_0xfb39a9(0x375)](_0x137720);}()),_0xdd8e90[_0x413fa2(0x2ed)];}));}(Ve)),Ve[_0x2a3fe7(0x2f2)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x7e3d33(0x2f2)],ai;function zr(){var _0x48422a=_0x7e3d33;return ai||(ai=0x1,function(_0x2df7de,_0x400d45){(function(_0x389924,_0x29f0c8){var _0x21dde9=_0x3515;_0x2df7de[_0x21dde9(0x2f2)]=_0x29f0c8(ne());}(qr,function(_0x4ab986){return _0x4ab986['enc']['Utf8'];}));}(Xe)),Xe[_0x48422a(0x2f2)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x7e3d33(0x2f2)],ci;function Qr(){var _0x4dfa1c=_0x7e3d33;return ci||(ci=0x1,function(_0xc1aea9,_0x4a4be1){(function(_0x24112c,_0x3b1bb5){_0xc1aea9['exports']=_0x3b1bb5(ne());}(Zr,function(_0x4824ea){var _0x41752c=_0x3515;return(function(){var _0x54ace7=_0x3515;if(typeof ArrayBuffer==_0x54ace7(0x2ea)){var _0x5a1318=_0x4824ea,_0x55bf07=_0x5a1318['lib'],_0x55d426=_0x55bf07[_0x54ace7(0x39f)],_0x374ad4=_0x55d426[_0x54ace7(0x301)],_0x543d5a=_0x55d426[_0x54ace7(0x301)]=function(_0x3e343a){var _0x9e6c05=_0x54ace7;if(_0x3e343a instanceof ArrayBuffer&&(_0x3e343a=new Uint8Array(_0x3e343a)),(_0x3e343a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e343a instanceof Uint8ClampedArray||_0x3e343a instanceof Int16Array||_0x3e343a instanceof Uint16Array||_0x3e343a instanceof Int32Array||_0x3e343a instanceof Uint32Array||_0x3e343a instanceof Float32Array||_0x3e343a instanceof Float64Array)&&(_0x3e343a=new Uint8Array(_0x3e343a[_0x9e6c05(0x1d7)],_0x3e343a[_0x9e6c05(0x3e4)],_0x3e343a[_0x9e6c05(0x284)])),_0x3e343a instanceof Uint8Array){for(var _0x5769cd=_0x3e343a['byteLength'],_0x1f947b=[],_0x41a8d=0x0;_0x41a8d<_0x5769cd;_0x41a8d++)_0x1f947b[_0x41a8d>>>0x2]|=_0x3e343a[_0x41a8d]<<0x18-_0x41a8d%0x4*0x8;_0x374ad4[_0x9e6c05(0x33e)](this,_0x1f947b,_0x5769cd);}else _0x374ad4['apply'](this,arguments);};_0x543d5a['prototype']=_0x55d426;}}()),_0x4824ea[_0x41752c(0x3ed)][_0x41752c(0x39f)];}));}(Ze)),Ze[_0x4dfa1c(0x2f2)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x56cac5=_0x7e3d33;return hi||(hi=0x1,function(_0x4c9823,_0x57e4c6){(function(_0x2529a2,_0x3ed4e3,_0x4e17d7){_0x4c9823['exports']=_0x3ed4e3(ne(),Ai());}(is,function(_0x3b8583){var _0x2754e4=_0x3515;return _0x3b8583[_0x2754e4(0x17e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3b8583[_0x2754e4(0x17e)][_0x2754e4(0x41a)];}));}(Qe)),Qe[_0x56cac5(0x2f2)];}var rs=ns();const ss=ke(rs);function os(_0x519a88,_0x133eeb){var _0x4f5767=_0x7e3d33;const _0x1231e3=_0x133eeb-_0x519a88['length']%_0x133eeb,_0xd9c622=String[_0x4f5767(0x191)](_0x1231e3)[_0x4f5767(0x35b)](_0x1231e3);return _0x519a88+_0xd9c622;}function as(_0x4f0959,_0x2a903e){var _0x4b7331=_0x7e3d33;const _0x592016=ts[_0x4b7331(0x416)](0x10),_0x258bae=os(_0x4f0959,0x10),_0x482d82=Kr[_0x4b7331(0x32b)](Xr['parse'](_0x258bae),oi['parse'](_0x2a903e),{'iv':_0x592016,'padding':ss});return _0x592016[_0x4b7331(0x35d)](_0x482d82['ciphertext'])[_0x4b7331(0x328)](oi);}function cs(){var _0xc9cdb4=_0x7e3d33;const _0x567838=_0x13dc85()[_0xc9cdb4(0x413)];if(_0x567838){const _0x3c9ec9={'time':Math[_0xc9cdb4(0x368)](Date[_0xc9cdb4(0x242)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0xc9cdb4(0x228)](_0x3c9ec9),_0x567838);}}var hs=Object['defineProperty'],_s=Object[_0x7e3d33(0x31d)],ls=(_0x474ca9,_0x304808,_0x561be6,_0x5b630b)=>{var _0x51c2dd=_0x7e3d33;for(var _0x44f90a=_0x5b630b>0x1?void 0x0:_0x5b630b?_s(_0x304808,_0x561be6):_0x304808,_0x2e95eb=_0x474ca9[_0x51c2dd(0x255)]-0x1,_0x14e3f5;_0x2e95eb>=0x0;_0x2e95eb--)(_0x14e3f5=_0x474ca9[_0x2e95eb])&&(_0x44f90a=(_0x5b630b?_0x14e3f5(_0x304808,_0x561be6,_0x44f90a):_0x14e3f5(_0x44f90a))||_0x44f90a);return _0x5b630b&&_0x44f90a&&hs(_0x304808,_0x561be6,_0x44f90a),_0x44f90a;},us=(_0x2e10b1,_0x5466e8)=>(_0x464351,_0x3ef5f7)=>_0x5466e8(_0x464351,_0x3ef5f7,_0x2e10b1);let ot=class{constructor(_0x4961c9){var _0x5307c8=_0x7e3d33;this[_0x5307c8(0x31b)]=_0x4961c9,this[_0x5307c8(0x3c6)]();}[_0x7e3d33(0x3c6)](){var _0x4cd045=_0x7e3d33;this[_0x4cd045(0x31b)][_0x4cd045(0x153)]({'interceptor':(_0x2df3c3,_0x5a4990)=>{var _0x174b1e=_0x4cd045;const _0x45bb47=_0x2df3c3['headers'],_0x492ada=cs();return _0x492ada&&_0x45bb47[_0x174b1e(0x3c8)](_0x174b1e(0x194),_0x492ada),_0x5a4990(_0x2df3c3);}});}};ot=ls([us(0x0,_0x46e7fc(_0x13eabd))],ot);var ds=Object['defineProperty'],fs=Object[_0x7e3d33(0x31d)],vs=(_0x2e97ff,_0x31ccaf,_0x1be679,_0x1986e1)=>{var _0x341103=_0x7e3d33;for(var _0x164c93=_0x1986e1>0x1?void 0x0:_0x1986e1?fs(_0x31ccaf,_0x1be679):_0x31ccaf,_0xb79a61=_0x2e97ff[_0x341103(0x255)]-0x1,_0x138f8d;_0xb79a61>=0x0;_0xb79a61--)(_0x138f8d=_0x2e97ff[_0xb79a61])&&(_0x164c93=(_0x1986e1?_0x138f8d(_0x31ccaf,_0x1be679,_0x164c93):_0x138f8d(_0x164c93))||_0x164c93);return _0x1986e1&&_0x164c93&&ds(_0x31ccaf,_0x1be679,_0x164c93),_0x164c93;},mt=(_0x293cba,_0x4d2d8e)=>(_0x245796,_0x384b26)=>_0x4d2d8e(_0x245796,_0x384b26,_0x293cba);let Ot=class extends _0x2a0262{constructor(_0x4f6925,_0x41c84d,_0x3e41f5){var _0x1c6127=_0x7e3d33;super(),N(this,_0x1c6127(0x1a3),new _0x33cf72(null)),N(this,_0x1c6127(0x30a),this['_unitInfo$'][_0x1c6127(0x2b7)]()),(this[_0x1c6127(0x261)]=_0x4f6925,this[_0x1c6127(0x24a)]=_0x41c84d,this[_0x1c6127(0x305)]=_0x3e41f5);}async[_0x7e3d33(0x146)](_0x18d371,_0x4da007,_0x37e61f){var _0x5170b9=_0x7e3d33;this['_unitInfo$'][_0x5170b9(0x18a)]({'unitId':_0x18d371,'type':_0x4da007,'subUnitId':_0x37e61f});let _0x3e835b=null;switch(_0x4da007){case Q[_0x5170b9(0x33b)]:{_0x3e835b=await this['_loadSheet'](_0x18d371);break;}case Q['UNIVER_DOC']:{_0x3e835b=await this[_0x5170b9(0x3a9)](_0x18d371);break;}default:{this[_0x5170b9(0x261)][_0x5170b9(0x129)]('[DataLoaderService]',_0x5170b9(0x39e));break;}}return _0x3e835b;}async[_0x7e3d33(0x360)](_0x3a4c76){var _0x5f87e2=_0x7e3d33,_0x8abcd3;let _0x35e361=0x0;const _0x43ed4d=await((_0x8abcd3=this[_0x5f87e2(0x305)])==null?void 0x0:_0x8abcd3[_0x5f87e2(0x2a2)](_0x3a4c76));return _0x43ed4d&&(_0x43ed4d[_0x5f87e2(0x418)]||_0x43ed4d['mutations'][_0x5f87e2(0x255)]!==0x0)&&(_0x35e361=_0x43ed4d['rev']),_0x35e361===0x0&&this[_0x5f87e2(0x261)][_0x5f87e2(0x2e4)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5f87e2(0x24a)]['loadSheet'](_0x3a4c76,_0x35e361);}async[_0x7e3d33(0x3a9)](_0x1ab97a){var _0x4f0a91=_0x7e3d33,_0x4e430c;let _0x268f75=0x0;const _0xd3f14a=await((_0x4e430c=this[_0x4f0a91(0x305)])==null?void 0x0:_0x4e430c[_0x4f0a91(0x2a2)](_0x1ab97a));return _0xd3f14a&&(_0xd3f14a[_0x4f0a91(0x418)]||_0xd3f14a[_0x4f0a91(0x1f9)][_0x4f0a91(0x255)]!==0x0)&&(_0x268f75=_0xd3f14a['rev']),_0x268f75===0x0&&this[_0x4f0a91(0x261)][_0x4f0a91(0x2e4)](_0x4f0a91(0x3bd),_0x4f0a91(0x2c9)),this[_0x4f0a91(0x24a)][_0x4f0a91(0x32d)](_0x1ab97a,_0x268f75);}};Ot=vs([mt(0x0,_0x3f2d03),mt(0x1,_0x46e7fc(_0x386dba)),mt(0x2,_0x34330d(J))],Ot);var ps=Object[_0x7e3d33(0x349)],ms=Object[_0x7e3d33(0x31d)],gs=(_0x4cd408,_0x55f696,_0x52ed38,_0x465733)=>{var _0x497efd=_0x7e3d33;for(var _0x3b04dc=_0x465733>0x1?void 0x0:_0x465733?ms(_0x55f696,_0x52ed38):_0x55f696,_0x2b2402=_0x4cd408[_0x497efd(0x255)]-0x1,_0x35d4a2;_0x2b2402>=0x0;_0x2b2402--)(_0x35d4a2=_0x4cd408[_0x2b2402])&&(_0x3b04dc=(_0x465733?_0x35d4a2(_0x55f696,_0x52ed38,_0x3b04dc):_0x35d4a2(_0x3b04dc))||_0x3b04dc);return _0x465733&&_0x3b04dc&&ps(_0x55f696,_0x52ed38,_0x3b04dc),_0x3b04dc;},gt=(_0x1f0017,_0x2c624e)=>(_0x531a32,_0x5027c2)=>_0x2c624e(_0x531a32,_0x5027c2,_0x1f0017);const Ss=[_0x7e3d33(0x391),_0x7e3d33(0x173),'image/jpg',_0x7e3d33(0x39b),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x7e3d33(0x22e),Ts=_0x7e3d33(0x36d),Cs=_0x7e3d33(0x3e5),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x153db7,_0x3aade7,_0x346865){var _0x1efc01=_0x7e3d33;N(this,_0x1efc01(0x31c),0x0),N(this,_0x1efc01(0x365),new _0x5a35c2()),N(this,'change$',this[_0x1efc01(0x365)]),N(this,_0x1efc01(0x309),new Map()),(this[_0x1efc01(0x31b)]=_0x153db7,this[_0x1efc01(0x38d)]=_0x3aade7,this[_0x1efc01(0x12d)]=_0x346865);}['setWaitCount'](_0x519030){var _0xa8d9cc=_0x7e3d33;this[_0xa8d9cc(0x31c)]=_0x519030,this[_0xa8d9cc(0x365)][_0xa8d9cc(0x18a)](_0x519030);}['getImageSourceCache'](_0x47113e,_0x4fd494){var _0x529f94=_0x7e3d33;if(_0x4fd494===_0x23ae5a[_0x529f94(0x40c)]){const _0x101c3f=new Image();return _0x101c3f[_0x529f94(0x130)]=_0x47113e,_0x101c3f;}return this[_0x529f94(0x309)][_0x529f94(0x1e6)](_0x47113e);}[_0x7e3d33(0x2d2)](_0x55beda,_0x8107d6,_0x3a8e4a){var _0x2c23af=_0x7e3d33;_0x8107d6===_0x23ae5a[_0x2c23af(0x40c)]||_0x3a8e4a==null||this[_0x2c23af(0x309)][_0x2c23af(0x3c8)](_0x55beda,_0x3a8e4a);}async[_0x7e3d33(0x323)](_0x528be1){var _0x5b411f=_0x7e3d33;try{const _0x478edc=this[_0x5b411f(0x276)](this['_getSignURL'](),''+_0x528be1),_0x1fb983=(await this[_0x5b411f(0x31b)][_0x5b411f(0x1e6)](_0x478edc))['body'];if(_0x1fb983[_0x5b411f(0x129)]&&_0x1fb983[_0x5b411f(0x129)][_0x5b411f(0x2ef)]===Ii['OK']){const _0x1cba2a=new URL(_0x1fb983['url'],this[_0x5b411f(0x3c2)]())['toString']();return Promise['resolve'](_0x1cba2a);}return Promise['reject'](_0x1fb983[_0x5b411f(0x129)]);}catch(_0x25f85e){return Promise[_0x5b411f(0x372)](_0x25f85e);}}async[_0x7e3d33(0x1d5)](_0xa2558b){var _0x56d3b2=_0x7e3d33;let _0x40ec3d='';if(!Ss[_0x56d3b2(0x3f6)](_0xa2558b['type']))return this['_decreaseWaiting'](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x28d)]));if(_0xa2558b[_0x56d3b2(0x21c)]>Es)return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x1f3)]));try{const _0x4f05af=new FormData();_0x4f05af['append'](_0x56d3b2(0x220),_0xa2558b);const _0x2e5d70=this[_0x56d3b2(0x12d)][_0x56d3b2(0x278)](),_0xb83274=_0x2e5d70==null?void 0x0:_0x2e5d70['getUnitId']();if(!_0xb83274)throw new Error(_0x56d3b2(0x2d7));const _0x172940=this['_getUploadFileURL']()+_0x56d3b2(0x1b5)+_0xa2558b[_0x56d3b2(0x21c)]['toString']()+_0x56d3b2(0x38c)+Ti[_0x56d3b2(0x2a3)]+_0x56d3b2(0x2e0)+encodeURIComponent(_0xb83274),_0x33151a=await(await fetch(_0x172940,{'method':_0x56d3b2(0x344),'body':_0x4f05af}))[_0x56d3b2(0x234)]();if(typeof _0x33151a['FileId']!=_0x56d3b2(0x252))return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x156)]));_0x40ec3d=_0x33151a[_0x56d3b2(0x29c)];}catch{return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x156)]));}return new Promise((_0x5170d1,_0x53d59a)=>{var _0xba5e05=_0x56d3b2;const _0x172916=new FileReader();_0x172916['readAsDataURL'](_0xa2558b),_0x172916[_0xba5e05(0x3b8)]=_0x138a07=>{var _0x1a5abc=_0xba5e05,_0x518596;const _0x460c4f=(_0x518596=_0x138a07['target'])==null?void 0x0:_0x518596[_0x1a5abc(0x186)];if(_0x460c4f==null){this[_0x1a5abc(0x3bc)](),_0x53d59a(new Error(_0x2c27f6['ERROR_IMAGE']));return;}const _0x255972=_0x50aabe[_0x1a5abc(0x2c0)](0x6);_0x5170d1({'imageId':_0x255972,'imageSourceType':_0x23ae5a[_0x1a5abc(0x1a4)],'source':_0x40ec3d,'base64Cache':_0x460c4f,'status':_0x2c27f6[_0x1a5abc(0x201)]}),this[_0x1a5abc(0x3bc)]();};});}['_getUploadFileURL'](){var _0x42de60=_0x7e3d33,_0x56ff54,_0x4b1da7;const _0xfa1339=this[_0x42de60(0x38d)][_0x42de60(0x383)](Is),_0x4b8d22=this[_0x42de60(0x38d)][_0x42de60(0x383)](q);return(_0x4b1da7=(_0x56ff54=_0x4b8d22==null?void 0x0:_0x4b8d22['uploadFileServerUrl'])!=null?_0x56ff54:_0xfa1339)!=null?_0x4b1da7:Ts;}[_0x7e3d33(0x226)](){var _0x17c630=_0x7e3d33,_0x1d7c0b,_0x1ba271;const _0x2f3d02=this[_0x17c630(0x38d)]['getConfig'](Cs),_0x44b857=this['_configService'][_0x17c630(0x383)](q);return(_0x1ba271=(_0x1d7c0b=_0x44b857==null?void 0x0:_0x44b857[_0x17c630(0x2fc)])!=null?_0x1d7c0b:_0x2f3d02)!=null?_0x1ba271:Rs;}[_0x7e3d33(0x3c2)](){var _0x32cdc5=_0x7e3d33,_0x12af0e;const _0x1e2dd6=this[_0x32cdc5(0x38d)][_0x32cdc5(0x383)](q);return(_0x12af0e=_0x1e2dd6==null?void 0x0:_0x1e2dd6[_0x32cdc5(0x1a5)])!=null?_0x12af0e:location[_0x32cdc5(0x136)];}[_0x7e3d33(0x276)](_0x5366dd,_0x32d7b9){var _0x4e3473=_0x7e3d33;return _0x5366dd[_0x4e3473(0x36e)]('{fileID}',_0x32d7b9);}[_0x7e3d33(0x3bc)](){var _0xf8835b=_0x7e3d33;this[_0xf8835b(0x31c)]-=0x1,this['_change$'][_0xf8835b(0x18a)](this[_0xf8835b(0x31c)]);}};yt=gs([gt(0x0,_0x46e7fc(_0x13eabd)),gt(0x1,_0xe8305c),gt(0x2,_0x46e7fc(_0x3f319c))],yt);var bs=Object[_0x7e3d33(0x349)],Os=Object[_0x7e3d33(0x31d)],ys=(_0x2c925c,_0x3d492f,_0x2e6cfc,_0x170561)=>{var _0x36e1b7=_0x7e3d33;for(var _0x5ba040=_0x170561>0x1?void 0x0:_0x170561?Os(_0x3d492f,_0x2e6cfc):_0x3d492f,_0x5b2c83=_0x2c925c[_0x36e1b7(0x255)]-0x1,_0x5a1e1b;_0x5b2c83>=0x0;_0x5b2c83--)(_0x5a1e1b=_0x2c925c[_0x5b2c83])&&(_0x5ba040=(_0x170561?_0x5a1e1b(_0x3d492f,_0x2e6cfc,_0x5ba040):_0x5a1e1b(_0x5ba040))||_0x5ba040);return _0x170561&&_0x5ba040&&bs(_0x3d492f,_0x2e6cfc,_0x5ba040),_0x5ba040;},_i=(_0x46f550,_0x382207)=>(_0xbde878,_0x7fa0f6)=>_0x382207(_0xbde878,_0x7fa0f6,_0x46f550);const Ns='/universer-api/authz';let Nt=class{constructor(_0x24d745,_0x5a25d8){this['_configService']=_0x24d745,this['_HTTPService']=_0x5a25d8;}[_0x7e3d33(0x404)](){var _0x3e744e=_0x7e3d33,_0xf7e8d9,_0x5d555e;const _0x139d44=this[_0x3e744e(0x38d)][_0x3e744e(0x383)](Pi),_0x3691a8=this[_0x3e744e(0x38d)][_0x3e744e(0x383)](q);return(_0x5d555e=(_0xf7e8d9=_0x3691a8==null?void 0x0:_0x3691a8['authzUrl'])!=null?_0xf7e8d9:_0x139d44)!=null?_0x5d555e:Ns;}async['list'](_0x1f87d4){var _0x2896c2=_0x7e3d33;const _0x1abdf7=this[_0x2896c2(0x404)]()+_0x2896c2(0x3d8);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x2896c2(0x1e6)](_0x1abdf7,{'params':{'objectID':_0x1f87d4['unitId'],'unitID':_0x1f87d4[_0x2896c2(0x169)]}}))[_0x2896c2(0x38f)]['collaborators'][_0x2896c2(0x1e3)](_0x2eb969=>({'objectId':_0x2eb969['id'],'name':_0x2eb969[_0x2896c2(0x29a)][_0x2896c2(0x36b)],'metadata':{'icon':_0x2eb969[_0x2896c2(0x29a)][_0x2896c2(0x19d)]},'label':_0x2eb969[_0x2896c2(0x29a)]['name'],'objectType':_0xdbc584['PERSON']})),'metadata':{},'type':_0xdbc584[_0x2896c2(0x15d)]}]};}};Nt=ys([_i(0x0,_0x46e7fc(_0xe8305c)),_i(0x1,_0x46e7fc(_0x13eabd))],Nt);var Ds=Object['defineProperty'],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x2c29cc,_0x441448,_0xa51e,_0x2ec9aa)=>{var _0x452f3c=_0x7e3d33;for(var _0xd2fa4d=_0x2ec9aa>0x1?void 0x0:_0x2ec9aa?Ps(_0x441448,_0xa51e):_0x441448,_0x14afcb=_0x2c29cc[_0x452f3c(0x255)]-0x1,_0x19dffb;_0x14afcb>=0x0;_0x14afcb--)(_0x19dffb=_0x2c29cc[_0x14afcb])&&(_0xd2fa4d=(_0x2ec9aa?_0x19dffb(_0x441448,_0xa51e,_0xd2fa4d):_0x19dffb(_0xd2fa4d))||_0xd2fa4d);return _0x2ec9aa&&_0xd2fa4d&&Ds(_0x441448,_0xa51e,_0xd2fa4d),_0xd2fa4d;},Se=(_0x5dd4f6,_0x5d15e9)=>(_0x2a789b,_0x346b53)=>_0x5d15e9(_0x2a789b,_0x346b53,_0x5dd4f6);let at=class extends _0x2a0262{constructor(_0x6d0bf7,_0xd671dd,_0x5e36e5,_0x56c610,_0x13b243,_0x5a3dc9,_0x205a9c){var _0x2a7316=_0x7e3d33;super(),this['_injector']=_0x6d0bf7,this[_0x2a7316(0x12d)]=_0xd671dd,this[_0x2a7316(0x2a7)]=_0x5e36e5,this['_collaborationSessionService']=_0x56c610,this[_0x2a7316(0x162)]=_0x13b243,this[_0x2a7316(0x14e)]=_0x5a3dc9,this[_0x2a7316(0x233)]=_0x205a9c,this['_initUnitPermissionChange'](),this[_0x2a7316(0x270)]();}[_0x7e3d33(0x270)](){var _0x1ca545=_0x7e3d33;const _0x5489b7=async _0x24a5a5=>{var _0x211fdc=_0x3515;(await this[_0x211fdc(0x406)][_0x211fdc(0x370)](_0x24a5a5))[_0x211fdc(0x37f)][_0x211fdc(0x3ff)](_0x56583e(_0xe19843=>_0xe19843[_0x211fdc(0x215)]===_0x180571[_0x211fdc(0x41e)]),_0x529fd7(this['dispose$']))[_0x211fdc(0x3d5)](_0x2ae64e=>{var _0x127bcd=_0x211fdc;const _0x169843=_0x2ae64e,{reason:_0x5e6287}=_0x169843[_0x127bcd(0x248)];this[_0x127bcd(0x162)][_0x127bcd(0x2f9)]({'id':se[_0x127bcd(0x11e)],'data':_0x5e6287}),this[_0x127bcd(0x2a7)][_0x127bcd(0x267)](new _0x455e04(_0x24a5a5)['id'],!0x1),this[_0x127bcd(0x406)][_0x127bcd(0x3e7)](_0x24a5a5);});};_0x33d39d(this[_0x1ca545(0x12d)][_0x1ca545(0x32c)](_0x1242f2[_0x1ca545(0x33b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1242f2['UNIVER_DOC']))[_0x1ca545(0x3ff)](_0x500e7a(_0x5e1955=>_0x5e1955[_0x1ca545(0x3c4)]()),_0x56583e(_0x2cff85=>!_0x560b78(_0x2cff85)),_0x529fd7(this[_0x1ca545(0x240)]))[_0x1ca545(0x3d5)](_0x356d73=>{_0x5489b7(_0x356d73);});}[_0x7e3d33(0x2ac)](){var _0x12d0c1=_0x7e3d33;const _0x5e6220=async _0x25a78f=>{var _0x39f777=_0x3515;const _0x45e38b=await this[_0x39f777(0x406)][_0x39f777(0x370)](_0x25a78f),_0xe4130a=this['_injector'][_0x39f777(0x1e6)](_0x44dd70);_0x45e38b[_0x39f777(0x37f)]['pipe'](_0x56583e(_0x2a8c69=>_0x2a8c69[_0x39f777(0x215)]===_0x180571[_0x39f777(0x18d)]),_0x529fd7(this[_0x39f777(0x240)]))[_0x39f777(0x3d5)](_0x3dce58=>{var _0x56e8dd=_0x39f777;const _0x273214=_0x3dce58,{objectId:_0x41c0d7}=_0x273214[_0x56e8dd(0x248)];_0x41c0d7===_0x25a78f?_0xe4130a['initWorkbookPermissionChange'](_0x25a78f):_0xe4130a[_0x56e8dd(0x17a)](_0x25a78f,_0x41c0d7);});};_0x33d39d(this[_0x12d0c1(0x12d)]['getTypeOfUnitAdded$'](_0x1242f2['UNIVER_SHEET']),this[_0x12d0c1(0x12d)][_0x12d0c1(0x32c)](_0x1242f2[_0x12d0c1(0x3ae)]))['pipe'](_0x500e7a(_0x5ee34a=>_0x5ee34a[_0x12d0c1(0x3c4)]()),_0x56583e(_0x2c1aef=>!_0x560b78(_0x2c1aef)),_0x529fd7(this[_0x12d0c1(0x240)]))[_0x12d0c1(0x3d5)](_0x3a767b=>{_0x5e6220(_0x3a767b);});}};at=ws([Se(0x0,_0x46e7fc(_0x54c970)),Se(0x1,_0x3f319c),Se(0x2,_0x4c05ea),Se(0x3,_0x46e7fc(Le)),Se(0x4,_0x46e7fc(pe)),Se(0x5,_0x1a1b5a),Se(0x6,_0x1c6bd2)],at);var Us=Object[_0x7e3d33(0x349)],As=Object[_0x7e3d33(0x31d)],xs=(_0x1374a3,_0x1a91ff,_0x9d559b,_0x2b964e)=>{for(var _0x4ce044=_0x2b964e>0x1?void 0x0:_0x2b964e?As(_0x1a91ff,_0x9d559b):_0x1a91ff,_0x59be53=_0x1374a3['length']-0x1,_0x389fd2;_0x59be53>=0x0;_0x59be53--)(_0x389fd2=_0x1374a3[_0x59be53])&&(_0x4ce044=(_0x2b964e?_0x389fd2(_0x1a91ff,_0x9d559b,_0x4ce044):_0x389fd2(_0x4ce044))||_0x4ce044);return _0x2b964e&&_0x4ce044&&Us(_0x1a91ff,_0x9d559b,_0x4ce044),_0x4ce044;},li=(_0xcd3262,_0x31de9c)=>(_0x548800,_0x561e10)=>_0x31de9c(_0x548800,_0x561e10,_0xcd3262);let Dt=class{constructor(_0x2ea530,_0x242edd){var _0x4f73fa=_0x7e3d33;this['_configService']=_0x2ea530,this[_0x4f73fa(0x31b)]=_0x242edd;}async[_0x7e3d33(0x2a0)](_0x4cc9e2,_0x1d0b5c){var _0x1a384f=_0x7e3d33,_0x52e6fd;const {unitID:_0x2f7c53,type:_0x1fd1ba,revision:_0x2fc6df=0x0}=_0x1d0b5c,_0x1480b8=this[_0x1a384f(0x1ca)]()+'/'+_0x1fd1ba+_0x1a384f(0x260)+_0x2f7c53+_0x1a384f(0x27c)+_0x2fc6df,_0x233720=(await this[_0x1a384f(0x31b)][_0x1a384f(0x1e6)](_0x1480b8))[_0x1a384f(0x38f)],_0x179477=(_0x52e6fd=_0x233720[_0x1a384f(0x273)])==null?void 0x0:_0x52e6fd[_0x1a384f(0x28f)];if(_0x179477){const _0x38f7b7=_0x179477==null?void 0x0:_0x179477['originalMeta'],_0x325585=_0x1d9923[_0x1a384f(0x3dd)](_0x4bd791(_0x38f7b7));_0x179477[_0x1a384f(0x3bb)]=_0x325585,Object[_0x1a384f(0x1cd)](_0x179477[_0x1a384f(0x1f6)])[_0x1a384f(0x28a)](([,_0x37abe5])=>{var _0x11ef32=_0x1a384f;const _0x28f148=_0x37abe5[_0x11ef32(0x3bb)],_0x54c5cd=_0x1d9923[_0x11ef32(0x3dd)](_0x4bd791(_0x28f148));_0x37abe5[_0x11ef32(0x3bb)]=_0x54c5cd;});}return _0x233720;}async[_0x7e3d33(0x2fa)](_0x40501e,_0x5b0e8d){var _0x334cbf=_0x7e3d33;const {unitID:_0x22545e,type:_0x31b513,blockID:_0x3a5c0e}=_0x5b0e8d,_0x4c940a=this[_0x334cbf(0x210)]()+'/'+_0x31b513+_0x334cbf(0x260)+_0x22545e+_0x334cbf(0x19f)+_0x3a5c0e;return(await this[_0x334cbf(0x31b)][_0x334cbf(0x1e6)](_0x4c940a))[_0x334cbf(0x38f)];}async[_0x7e3d33(0x3b1)](_0xcdd9a6,_0x157ecf){var _0x12f37b=_0x7e3d33;const {unitID:_0x4ca908,type:_0x17a384,blockID:_0x4edba5}=_0x157ecf,_0x58bd3a=this[_0x12f37b(0x210)]()+_0x12f37b(0x19f)+_0x17a384+_0x12f37b(0x260)+_0x4ca908+_0x12f37b(0x19f)+_0x4edba5;return(await this[_0x12f37b(0x31b)][_0x12f37b(0x1e6)](_0x58bd3a))[_0x12f37b(0x38f)];}async[_0x7e3d33(0x171)](_0x5a2b38,_0x5dff02){var _0x4000b3=_0x7e3d33;const {unitID:_0x1af011,type:_0x1295b1,from:_0x885151,to:_0x2c5986}=_0x5dff02,_0x2083fb=this['_getAPIPrefix']()+'/'+_0x1295b1+_0x4000b3(0x260)+_0x1af011+_0x4000b3(0x292)+_0x885151+_0x4000b3(0x249)+_0x2c5986;return(await this['_httpService'][_0x4000b3(0x1e6)](_0x2083fb))['body'];}[_0x7e3d33(0x1ca)](){var _0x56087a=_0x7e3d33,_0xbcd69a;return(_0xbcd69a=this[_0x56087a(0x38d)][_0x56087a(0x383)](Tn))!=null?_0xbcd69a:this[_0x56087a(0x210)]();}['_getAPIPrefix'](){var _0x27d4b4=_0x7e3d33,_0x5a99b3,_0x14ced2;const _0x6cd57d=this[_0x27d4b4(0x38d)][_0x27d4b4(0x383)](En),_0x259f1f=this[_0x27d4b4(0x38d)][_0x27d4b4(0x383)](q);return(_0x14ced2=(_0x5a99b3=_0x259f1f==null?void 0x0:_0x259f1f[_0x27d4b4(0x311)])!=null?_0x5a99b3:_0x6cd57d)!=null?_0x14ced2:In;}async[_0x7e3d33(0x13c)](_0x49a9bf,_0x2ef0a5){var _0x12bb2f=_0x7e3d33;const _0x31f4c3=_0x12bb2f(0x151)+_0x2ef0a5['type']+'/unit/'+_0x2ef0a5[_0x12bb2f(0x2ce)]+_0x12bb2f(0x269);return(await this['_httpService']['get'](_0x31f4c3,{'params':{'resourceId':JSON['stringify'](_0x2ef0a5[_0x12bb2f(0x417)])}}))[_0x12bb2f(0x38f)];}[_0x7e3d33(0x1c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7e3d33(0x200)](){var _0x11c61c=_0x7e3d33;throw new Error(_0x11c61c(0x177));}[_0x7e3d33(0x265)](){var _0x511574=_0x7e3d33;throw new Error(_0x511574(0x177));}['copyFileMeta'](){var _0x5f3ce2=_0x7e3d33;throw new Error(_0x5f3ce2(0x177));}[_0x7e3d33(0x1ab)](){var _0x41804d=_0x7e3d33;throw new Error(_0x41804d(0x177));}};Dt=xs([li(0x0,_0xe8305c),li(0x1,_0x46e7fc(_0x13eabd))],Dt);var Ls=Object['defineProperty'],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1f89f6,_0x22ba3b,_0x1ad0ad,_0x4c4ed3)=>{var _0x500e08=_0x7e3d33;for(var _0x3627ab=_0x4c4ed3>0x1?void 0x0:_0x4c4ed3?Ms(_0x22ba3b,_0x1ad0ad):_0x22ba3b,_0x4a94dc=_0x1f89f6[_0x500e08(0x255)]-0x1,_0x1bfe17;_0x4a94dc>=0x0;_0x4a94dc--)(_0x1bfe17=_0x1f89f6[_0x4a94dc])&&(_0x3627ab=(_0x4c4ed3?_0x1bfe17(_0x22ba3b,_0x1ad0ad,_0x3627ab):_0x1bfe17(_0x3627ab))||_0x3627ab);return _0x4c4ed3&&_0x3627ab&&Ls(_0x22ba3b,_0x1ad0ad,_0x3627ab),_0x3627ab;},Ae=(_0x39c401,_0x567f52)=>(_0x41b426,_0x367639)=>_0x567f52(_0x41b426,_0x367639,_0x39c401);let Pt=class extends _0x4f5111{constructor(_0x51cbd1,_0x4916dc,_0x3e928a,_0x13b9d8,_0x388dc1){var _0x152673=_0x7e3d33;super(_0x51cbd1,_0x4916dc,_0x3e928a),this[_0x152673(0x2e9)]=_0x13b9d8,this[_0x152673(0x261)]=_0x388dc1;}[_0x7e3d33(0x3a0)](_0xcfb953,_0x3572ef){var _0xc3e543=_0x7e3d33;const _0x1660f6=this[_0xc3e543(0x17f)](_0xcfb953);if(_0x1660f6)try{const _0x350243=this[_0xc3e543(0x1a2)](_0x1660f6,_0x3572ef);this[_0xc3e543(0x3ea)](_0xcfb953,_0x350243);}catch(_0x5be111){this[_0xc3e543(0x261)]['error'](_0xc3e543(0x3b3),_0x5be111),this[_0xc3e543(0x3ad)](_0xcfb953);}const _0x4f99a8=this['_getRedoStack'](_0xcfb953);if(_0x4f99a8)try{const _0x329430=this[_0xc3e543(0x1a2)](_0x4f99a8,_0x3572ef);this['_substituteRedoStack'](_0xcfb953,_0x329430);}catch(_0x2bf08c){this[_0xc3e543(0x261)][_0xc3e543(0x129)](_0x2bf08c),this[_0xc3e543(0x22c)](_0xcfb953);}}['_clearUndo'](_0x4677e7){var _0x5207c4=_0x7e3d33;const _0x3e43d8=this['_getUndoStack'](_0x4677e7);_0x3e43d8&&(_0x3e43d8[_0x5207c4(0x255)]=0x0,this[_0x5207c4(0x1c9)]());}[_0x7e3d33(0x22c)](_0x45d858){var _0x3126a8=_0x7e3d33;const _0x12268c=this[_0x3126a8(0x2d6)](_0x45d858);_0x12268c&&(_0x12268c[_0x3126a8(0x255)]=0x0,this[_0x3126a8(0x1c9)]());}[_0x7e3d33(0x3ea)](_0x515392,_0x2c00e1){var _0x759fd4=_0x7e3d33;this[_0x759fd4(0x176)][_0x759fd4(0x3c8)](_0x515392,_0x2c00e1),this['_updateStatus']();}['_substituteRedoStack'](_0x2007ba,_0x37f623){var _0x16f8b4=_0x7e3d33;this[_0x16f8b4(0x2cc)][_0x16f8b4(0x3c8)](_0x2007ba,_0x37f623),this[_0x16f8b4(0x1c9)]();}[_0x7e3d33(0x1a2)](_0x1b6a12,_0x535c24){var _0x504d40=_0x7e3d33;const _0x292a5b=[];let _0x45cb24=_0x535c24,_0x93b0fb=_0x535c24;for(let _0x326e7b=_0x1b6a12[_0x504d40(0x255)]-0x1;_0x326e7b>=0x0;_0x326e7b--){const {unitID:_0x13c793,undoMutations:_0x5be121,redoMutations:_0x5bbc3f}=_0x1b6a12[_0x326e7b],_0x3e0f1a=this[_0x504d40(0x2e9)][_0x504d40(0x160)](_0x45cb24,_0x5be121),_0x4b7d9d=this[_0x504d40(0x2e9)][_0x504d40(0x160)](_0x93b0fb,_0x5bbc3f);if(_0x172319(_0x3e0f1a)||_0x172319(_0x4b7d9d)){this[_0x504d40(0x261)]['error'](_0x504d40(0x3b3),_0x504d40(0x20d),_0x3e0f1a,_0x4b7d9d);break;}_0x45cb24=_0x3e0f1a[_0x504d40(0x20a)],_0x93b0fb=_0x4b7d9d[_0x504d40(0x20a)],_0x292a5b[_0x504d40(0x399)]({'unitID':_0x13c793,'undoMutations':_0x3e0f1a['m2Prime'],'redoMutations':_0x4b7d9d[_0x504d40(0x40f)]});}return _0x292a5b[_0x504d40(0x40d)]();}};Pt=$s([Ae(0x0,_0x3f319c),Ae(0x1,_0x12a849),Ae(0x2,_0x4c814d),Ae(0x3,_0x1b280a),Ae(0x4,_0x3f2d03)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x7e3d33(0x31d)],ks=(_0x295913,_0x1cf617,_0x22b948)=>_0x1cf617 in _0x295913?xi(_0x295913,_0x1cf617,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22b948}):_0x295913[_0x1cf617]=_0x22b948,js=(_0x5f1588,_0x217cbe,_0x556fc2,_0x29d3a7)=>{var _0x5de994=_0x7e3d33;for(var _0x31056f=_0x29d3a7>0x1?void 0x0:_0x29d3a7?Hs(_0x217cbe,_0x556fc2):_0x217cbe,_0x252ce6=_0x5f1588[_0x5de994(0x255)]-0x1,_0x488e57;_0x252ce6>=0x0;_0x252ce6--)(_0x488e57=_0x5f1588[_0x252ce6])&&(_0x31056f=(_0x29d3a7?_0x488e57(_0x217cbe,_0x556fc2,_0x31056f):_0x488e57(_0x31056f))||_0x31056f);return _0x29d3a7&&_0x31056f&&xi(_0x217cbe,_0x556fc2,_0x31056f),_0x31056f;},St=(_0x17e949,_0x52868d)=>(_0x3dccb2,_0x4537b4)=>_0x52868d(_0x3dccb2,_0x4537b4,_0x17e949),Bs=(_0x2ec55e,_0x31c4e6,_0x547ae)=>ks(_0x2ec55e,_0x31c4e6+'',_0x547ae);const Fs=_0x7e3d33(0x3fa);let wt=class extends _0x4f56cb{constructor(_0x218fc8=Wt,_0xf3e5fa,_0x56072a,_0x5639d6){var _0x32f954=_0x7e3d33;super(),this[_0x32f954(0x3b0)]=_0x218fc8,this[_0x32f954(0x261)]=_0xf3e5fa,this[_0x32f954(0x1de)]=_0x56072a,this[_0x32f954(0x38d)]=_0x5639d6;const {..._0x20ddf9}=_0x11f6e1({},Wt,this[_0x32f954(0x3b0)]);this[_0x32f954(0x38d)][_0x32f954(0x306)](q,_0x20ddf9);}[_0x7e3d33(0x25b)](){var _0x40a2bf=_0x7e3d33;this['_registerDependencies'](),this[_0x40a2bf(0x3fd)]();}['_registerDependencies'](){var _0x452909=_0x7e3d33,_0x10736b,_0x419012,_0x2cec75,_0xdfae86;this['_injector'][_0x452909(0x1d8)](_0x1c6bd2)&&this['_logService'][_0x452909(0x129)](_0x452909(0x1e0),_0x452909(0x1b2));const _0x4e3b0d=_0x3ef89c([[_0x1c6bd2,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x419012=(_0x10736b=this['_config'])==null?void 0x0:_0x10736b[_0x452909(0x3d4)])!=null?_0x419012:Et}],[_0x49df10,{'useClass':Dt}],[_0x1a1b5a,{'useClass':bt}],[_0x18e446,{'useClass':yt}],[_0x59c39f,{'useClass':Nt}],[rt],[Rt]],(_0x2cec75=this[_0x452909(0x3b0)])==null?void 0x0:_0x2cec75[_0x452909(0x410)]);if(!((_0xdfae86=this[_0x452909(0x3b0)])!=null&&_0xdfae86[_0x452909(0x382)])){const _0x18f0ad=_0x4e3b0d[_0x452909(0x12c)](([_0x5a5909])=>_0x5a5909===ht);_0x18f0ad!==-0x1&&_0x4e3b0d[_0x452909(0x1b7)](_0x18f0ad,0x1);}_0x3b6d41(this[_0x452909(0x1de)],_0x4e3b0d);}[_0x7e3d33(0x3fd)](){var _0x265b53=_0x7e3d33,_0x175840,_0x34e77c,_0x4d4f31;this[_0x265b53(0x1de)][_0x265b53(0x1e6)](_0x13eabd)[_0x265b53(0x153)]({'priority':0x14,'interceptor':_0xfad5f0({'maxParallel':0x6})}),(_0x175840=this[_0x265b53(0x3b0)])!=null&&_0x175840[_0x265b53(0x34d)]||(_0x34e77c=this[_0x265b53(0x1de)][_0x265b53(0x1e6)](J,_0x122d9a[_0x265b53(0x377)]))==null||_0x34e77c[_0x265b53(0x2a8)](),(_0x4d4f31=this[_0x265b53(0x3b0)])!=null&&_0x4d4f31[_0x265b53(0x3cf)]&&_0x3e98ac(this[_0x265b53(0x1de)],[[st]]),_0x3e98ac(this[_0x265b53(0x1de)],[[ot],[rt],[at]]);}};Bs(wt,_0x7e3d33(0x3c0),Fs),wt=js([_0x4d7659(_0x420a77,_0x3e7f22,_0x4f466e),St(0x1,_0x3f2d03),St(0x2,_0x46e7fc(_0x54c970)),St(0x3,_0xe8305c)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x4e1948=_0x552f;(function(_0x1dc83e,_0x717cf4){var _0x31e06e=_0x552f,_0x67b50f=_0x1dc83e();while(!![]){try{var _0x3e2bf7=-parseInt(_0x31e06e(0x429))/0x1*(parseInt(_0x31e06e(0x3d9))/0x2)+-parseInt(_0x31e06e(0x279))/0x3+-parseInt(_0x31e06e(0x1b0))/0x4*(parseInt(_0x31e06e(0x3a1))/0x5)+-parseInt(_0x31e06e(0x239))/0x6+parseInt(_0x31e06e(0x258))/0x7+-parseInt(_0x31e06e(0x2ed))/0x8+parseInt(_0x31e06e(0x426))/0x9*(parseInt(_0x31e06e(0x367))/0xa);if(_0x3e2bf7===_0x717cf4)break;else _0x67b50f['push'](_0x67b50f['shift']());}catch(_0x2134cf){_0x67b50f['push'](_0x67b50f['shift']());}}}(_0x212c,0xd9818));var Ai=Object[_0x4e1948(0x19c)],xi=(_0x59326c,_0x557b24,_0x2aca25)=>_0x557b24 in _0x59326c?Ai(_0x59326c,_0x557b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2aca25}):_0x59326c[_0x557b24]=_0x2aca25,N=(_0x5e011b,_0x47a9a8,_0x258c50)=>xi(_0x5e011b,typeof _0x47a9a8!=_0x4e1948(0x329)?_0x47a9a8+'':_0x47a9a8,_0x258c50);import{createIdentifier as _0x449c99,Inject as _0x4bbdce,Injector as _0x332fef,Disposable as _0x4c7d23,DisposableCollection as _0x3f5e84,toDisposable as _0x157115,IConfigService as _0x5d9632,ILogService as _0x5f2578,UserManagerService as _0x5313f7,UniverInstanceType as _0x3bb644,IUniverInstanceService as _0x2778df,LocaleService as _0x1a0963,Optional as _0x4e1364,RxDisposable as _0x3da94e,Tools as _0x14e6c6,Rectangle as _0x3e1f21,ICommandService as _0x497898,JSONX as _0x4f589f,CommandType as _0x4cc6e1,IPermissionService as _0x4f00c2,IUndoRedoService as _0x407842,sequenceExecute as _0x4b98c,Workbook as _0x70b2fd,MentionType as _0x4c2a99,isInternalEditorID as _0x3bfcd3,LocalUndoRedoService as _0x11d824,IContextService as _0x24160c,DependentOn as _0x2e653c,Plugin as _0x16ecb4,merge as _0x5eb8c4,mergeOverrideWithDependencies as _0xf7a857,IAuthzIoService as _0x4dcefd,IMentionIOService as _0x3dc066,registerDependencies as _0x51814d,Quantity as _0x531d62,touchDependencies as _0x2fbe0f}from'@univerjs/core';import{Subject as _0x20c5d3,merge as _0x1d7f44,of as _0x51d4fe,BehaviorSubject as _0x218903,takeUntil as _0x2a46e7,ReplaySubject as _0x5cfdc4,take as _0x49d202,map as _0x1fe034,shareReplay as _0x4be788,firstValueFrom as _0x2081ad,concatMap as _0x4de8c0}from'rxjs';import{map as _0x48d922,take as _0x1fd509,filter as _0x66c535,delay as _0x4c6a3b,takeUntil as _0x4fdf17}from'rxjs/operators';import{CollaborationEvent as _0x463faf,parseChangesetToProtocol as _0x208373,ISnapshotServerService as _0x3515fd,isTransformMutationsWithChangesetSuccess as _0x8ec843,ITransformService as _0x5c48a7,mapDocumentTypeToUniverType as _0x37384c,RevisionService as _0xcce484,isTransformChangesetsSuccess as _0x539f43,CompressMutationService as _0x232942,parseProtocolChangeset as _0x4ff855,SnapshotService as _0x2250b3,textEncoder as _0x16d94b,b64DecodeUnicode as _0x20f983,isTransformMutationsWithChangesetFailure as _0x5649e2,UniverCollaborationPlugin as _0x1ee349}from'@univerjs-pro/collaboration';import{HTTPService as _0x5d79cb,ISocketService as _0x50c6fe,MergeInterceptorFactory as _0x36dec3,HTTPRequest as _0x557bd5,UniverNetworkPlugin as _0x4426a6,ThresholdInterceptorFactory as _0x589bc8}from'@univerjs/network';import{ITelemetryService as _0x1db6e7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1c92f4}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c495c,SetSelectionsOperation as _0x997517,InsertSheetMutation as _0x2d4dac,EmptyMutation as _0x56f23c,WorkbookEditablePermission as _0x2ee429,SheetPermissionInitController as _0x1e9477}from'@univerjs/sheets';import{ImageSourceType as _0x238b34,ImageUploadStatusType as _0x16d9e5,IImageIoService as _0x5d8e6a}from'@univerjs/drawing';import{getGlobalObject as _0x172aa5}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En=_0x4e1948(0x168),Zs=_0x4e1948(0x3d7),In=0x7d0,Tn=_0x4e1948(0x30e),Cn=_0x4e1948(0x176),Qs='/universer-api/user/session-ticket',bn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x4e1948(0x2e9),gi=0x4e20,On=0x4e20,yn=_0x4e1948(0x2b9),Nn=0x3,eo=_0x4e1948(0x163),to=0x3e8,Dn='COLLAB_SUBMIT_CHANGESET_URL',Pn='/universer-api/comb',wn='LOGIN_URL_KEY',Un=_0x4e1948(0x33b),io='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',no=_0x4e1948(0x3ab);var Si=(_0x353e8c=>(_0x353e8c[_0x353e8c[_0x4e1948(0x2c5)]=0x0]=_0x4e1948(0x2c5),_0x353e8c[_0x353e8c['OK']=0x1]='OK',_0x353e8c[_0x353e8c[_0x4e1948(0x3f5)]=0x2]=_0x4e1948(0x3f5),_0x353e8c[_0x353e8c[_0x4e1948(0x3ca)]=0x3]=_0x4e1948(0x3ca),_0x353e8c[_0x353e8c[_0x4e1948(0x33e)]=0x4]=_0x4e1948(0x33e),_0x353e8c[_0x353e8c[_0x4e1948(0x3d2)]=0x5]=_0x4e1948(0x3d2),_0x353e8c[_0x353e8c[_0x4e1948(0x234)]=0x6]=_0x4e1948(0x234),_0x353e8c[_0x353e8c[_0x4e1948(0x43d)]=0x7]=_0x4e1948(0x43d),_0x353e8c[_0x353e8c['TOO_MANY_REQUESTS']=0x8]=_0x4e1948(0x432),_0x353e8c[_0x353e8c['COMPLETION_FINISHED']=0x9]=_0x4e1948(0x414),_0x353e8c[_0x353e8c['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x353e8c[_0x353e8c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4e1948(0x3fa),_0x353e8c[_0x353e8c[_0x4e1948(0x2af)]=0x1772]=_0x4e1948(0x2af),_0x353e8c[_0x353e8c[_0x4e1948(0x3ec)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x353e8c[_0x353e8c[_0x4e1948(0x3b0)]=0x1b59]='APPLY_REJECT',_0x353e8c[_0x353e8c[_0x4e1948(0x364)]=0x1b5a]=_0x4e1948(0x364),_0x353e8c[_0x353e8c[_0x4e1948(0x2ae)]=0x1b5b]=_0x4e1948(0x2ae),_0x353e8c[_0x353e8c[_0x4e1948(0x41c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x353e8c[_0x353e8c[_0x4e1948(0x38b)]=0x1b5d]=_0x4e1948(0x38b),_0x353e8c[_0x353e8c[_0x4e1948(0x20d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x353e8c[_0x353e8c[_0x4e1948(0x1e2)]=0x2329]=_0x4e1948(0x1e2),_0x353e8c[_0x353e8c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x353e8c[_0x353e8c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4e1948(0x31d),_0x353e8c[_0x353e8c[_0x4e1948(0x2be)]=0x232c]=_0x4e1948(0x2be),_0x353e8c[_0x353e8c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x353e8c[_0x353e8c[_0x4e1948(0x1d4)]=0x2711]=_0x4e1948(0x1d4),_0x353e8c[_0x353e8c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x353e8c[_0x353e8c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4e1948(0x18f),_0x353e8c[_0x353e8c[_0x4e1948(0x22a)]=0x2714]=_0x4e1948(0x22a),_0x353e8c[_0x353e8c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x353e8c[_0x353e8c[_0x4e1948(0x2b4)]=-0x1]='UNRECOGNIZED',_0x353e8c))(Si||{}),Q=(_0x14784b=>(_0x14784b[_0x14784b['UNIVER_UNKNOWN']=0x0]=_0x4e1948(0x1c1),_0x14784b[_0x14784b['UNIVER_DOC']=0x1]=_0x4e1948(0x2eb),_0x14784b[_0x14784b['UNIVER_SHEET']=0x2]=_0x4e1948(0x43a),_0x14784b[_0x14784b[_0x4e1948(0x224)]=0x3]='UNIVER_SLIDE',_0x14784b[_0x14784b[_0x4e1948(0x40a)]=0x4]=_0x4e1948(0x40a),_0x14784b[_0x14784b[_0x4e1948(0x2b4)]=-0x1]='UNRECOGNIZED',_0x14784b))(Q||{}),F=(_0x2c31a0=>(_0x2c31a0[_0x2c31a0[_0x4e1948(0x245)]=0x0]=_0x4e1948(0x245),_0x2c31a0[_0x2c31a0[_0x4e1948(0x403)]=0x1]=_0x4e1948(0x403),_0x2c31a0[_0x2c31a0[_0x4e1948(0x386)]=0x2]='JOIN',_0x2c31a0[_0x2c31a0[_0x4e1948(0x384)]=0x3]=_0x4e1948(0x384),_0x2c31a0[_0x2c31a0[_0x4e1948(0x40b)]=0x4]='INGEST',_0x2c31a0[_0x2c31a0['HEARTBEAT']=0x5]=_0x4e1948(0x391),_0x2c31a0[_0x2c31a0[_0x4e1948(0x423)]=0x6]=_0x4e1948(0x423),_0x2c31a0[_0x2c31a0[_0x4e1948(0x2b4)]=-0x1]=_0x4e1948(0x2b4),_0x2c31a0))(F||{}),ge=(_0x514c24=>(_0x514c24[_0x514c24['UNKNOWN_CODE']=0x0]=_0x4e1948(0x3c2),_0x514c24[_0x514c24['OK']=0x1]='OK',_0x514c24[_0x514c24[_0x4e1948(0x25c)]=0x2]='FAIL',_0x514c24[_0x514c24[_0x4e1948(0x1f2)]=0x3e9]='JOIN_ROOM_FULL',_0x514c24[_0x514c24[_0x4e1948(0x1b5)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x514c24[_0x514c24['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4e1948(0x2ce),_0x514c24[_0x514c24[_0x4e1948(0x171)]=0x3ec]=_0x4e1948(0x171),_0x514c24[_0x514c24[_0x4e1948(0x2b4)]=-0x1]='UNRECOGNIZED',_0x514c24))(ge||{}),Ei=(_0x16c9b1=>(_0x16c9b1[_0x16c9b1[_0x4e1948(0x3e3)]=0x0]='Undefined',_0x16c9b1[_0x16c9b1['HttpImport']=0x1]=_0x4e1948(0x43b),_0x16c9b1[_0x16c9b1['HttpExport']=0x2]=_0x4e1948(0x345),_0x16c9b1[_0x16c9b1['UnitEmbedded']=0x3]='UnitEmbedded',_0x16c9b1[_0x16c9b1[_0x4e1948(0x1d3)]=0x4]=_0x4e1948(0x1d3),_0x16c9b1[_0x16c9b1['UNRECOGNIZED']=-0x1]=_0x4e1948(0x2b4),_0x16c9b1))(Ei||{});const q=_0x4e1948(0x27e),An={};var se=(_0x6c7852=>(_0x6c7852[_0x4e1948(0x18c)]=_0x4e1948(0x18c),_0x6c7852[_0x4e1948(0x3ca)]=_0x4e1948(0x3ca),_0x6c7852[_0x4e1948(0x206)]=_0x4e1948(0x206),_0x6c7852['CLOSE_ROOM']=_0x4e1948(0x2e0),_0x6c7852['JOIN_ROOM_FAILED']=_0x4e1948(0x217),_0x6c7852[_0x4e1948(0x2dd)]=_0x4e1948(0x2dd),_0x6c7852['SOCKET_FAILED']=_0x4e1948(0x428),_0x6c7852[_0x4e1948(0x33d)]=_0x4e1948(0x33d),_0x6c7852))(se||{});class pe{constructor(){var _0x12c764=_0x4e1948;N(this,'_event$',new _0x20c5d3()),N(this,_0x12c764(0x236),this[_0x12c764(0x398)][_0x12c764(0x18a)]());}[_0x4e1948(0x284)](_0x434f13){var _0x3549b6=_0x4e1948;this[_0x3549b6(0x398)]['next'](_0x434f13);}}const xn=_0x449c99(_0x4e1948(0x152));function Ln(_0x40084e){var _0x3a93a2=_0x4e1948,_0x2f2e55,_0x7b1ebf,_0x5b7ef7,_0x45506e,_0x2e764c;const _0x5987b6=_0x40084e[_0x3a93a2(0x351)],_0x86f5b3=JSON['parse'](_0x5987b6);switch(_0x86f5b3[_0x3a93a2(0x155)]){case F['HEARTBEAT']:case F[_0x3a93a2(0x403)]:{const _0x5850a9=_0x86f5b3[_0x3a93a2(0x419)];return{..._0x86f5b3,'data':_0x5850a9,'cmd':_0x86f5b3[_0x3a93a2(0x155)]};}case F[_0x3a93a2(0x386)]:{const _0x2587f7=_0x86f5b3[_0x3a93a2(0x1be)];return{..._0x86f5b3,'data':_0x2587f7,'cmd':_0x86f5b3[_0x3a93a2(0x155)]};}case F[_0x3a93a2(0x423)]:{const _0x544d32=_0x86f5b3[_0x3a93a2(0x3f7)];switch(_0x544d32[_0x3a93a2(0x1f4)]){case _0x463faf[_0x3a93a2(0x191)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':(_0x2f2e55=_0x544d32['permissionRejEvent'])==null?void 0x0:_0x2f2e55['cs']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x359)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':(_0x7b1ebf=_0x544d32[_0x3a93a2(0x30c)])==null?void 0x0:_0x7b1ebf['cs']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x237)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':(_0x5b7ef7=_0x544d32[_0x3a93a2(0x2cd)])==null?void 0x0:_0x5b7ef7['cs']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x19f)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':(_0x45506e=_0x544d32[_0x3a93a2(0x3b2)])==null?void 0x0:_0x45506e['cs']},'cmd':_0x86f5b3['cmd']};case _0x463faf[_0x3a93a2(0x2b8)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':(_0x2e764c=_0x544d32[_0x3a93a2(0x36b)])==null?void 0x0:_0x2e764c['cs']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x36e)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32[_0x3a93a2(0x3b8)]},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x3f8)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32['joinEvent']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x3ac)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32['leaveEvent']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x2c9)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32['liveShareNewHost']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf['LIVESHARE_FETCH_OPERATIONS']:case _0x463faf[_0x3a93a2(0x317)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32[_0x3a93a2(0x37c)]},'cmd':_0x86f5b3['cmd']};case _0x463faf[_0x3a93a2(0x33f)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32['liveShareNewHost']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x16c)]:return{..._0x86f5b3,'data':_0x544d32,'cmd':_0x86f5b3['cmd']};case _0x463faf[_0x3a93a2(0x402)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32[_0x3a93a2(0x2f6)]},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x404)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32[_0x3a93a2(0x26e)]},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf['SHOULD_CLOSE_CONN']:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32[_0x3a93a2(0x340)]},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};case _0x463faf[_0x3a93a2(0x1ae)]:return{..._0x86f5b3,'data':{..._0x544d32,'data':_0x544d32['uniscriptRunEvent']},'cmd':_0x86f5b3[_0x3a93a2(0x155)]};default:return _0x86f5b3;}}default:return _0x86f5b3;}}function Mn(_0x13028d){var _0x2cd5d4=_0x4e1948;switch(_0x13028d['cmd']){case F[_0x2cd5d4(0x391)]:case F[_0x2cd5d4(0x403)]:return JSON['stringify']({'cmd':_0x13028d[_0x2cd5d4(0x155)],'routeKey':_0x13028d[_0x2cd5d4(0x2fa)]});case F[_0x2cd5d4(0x40b)]:{let _0x25cdde;switch(_0x13028d[_0x2cd5d4(0x351)]['eventID']){case _0x463faf[_0x2cd5d4(0x36e)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x36e)],'updateCursorEvent':_0x13028d['data'][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x3ac)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x3ac)],'leaveEvent':_0x13028d[_0x2cd5d4(0x351)][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x3f8)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x3f8)],'joinEvent':_0x13028d['data'][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x2c9)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x2c9)],'liveShareNewHost':_0x13028d[_0x2cd5d4(0x351)][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x317)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x317)],'liveShareOperation':_0x13028d['data'][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x33f)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x33f)],'liveShareTerminate':_0x13028d[_0x2cd5d4(0x351)][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x273)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x273)],'liveShareRequestHost':_0x13028d[_0x2cd5d4(0x351)][_0x2cd5d4(0x351)]};break;}case _0x463faf[_0x2cd5d4(0x30b)]:{_0x25cdde={'eventID':_0x463faf[_0x2cd5d4(0x30b)]};break;}default:_0x25cdde={'eventID':_0x13028d['data'][_0x2cd5d4(0x1f4)]};}return JSON[_0x2cd5d4(0x42f)]({'cmd':_0x13028d[_0x2cd5d4(0x155)],'routeKey':_0x13028d['routeKey'],'collaMsg':_0x25cdde});}case F[_0x2cd5d4(0x386)]:return JSON['stringify']({'cmd':_0x13028d['cmd'],'routeKey':_0x13028d[_0x2cd5d4(0x2fa)],'joinReq':_0x13028d[_0x2cd5d4(0x351)]});case F[_0x2cd5d4(0x384)]:return JSON[_0x2cd5d4(0x42f)]({'cmd':_0x13028d['cmd'],'routeKey':_0x13028d[_0x2cd5d4(0x2fa)],'leaveReq':_0x13028d[_0x2cd5d4(0x351)]});default:throw new Error(_0x2cd5d4(0x179));}}var $n=Object['defineProperty'],Hn=Object[_0x4e1948(0x289)],kn=(_0x3a378b,_0x4eeb9a,_0x35f76b,_0x3e4837)=>{for(var _0x1a4a8c=_0x3e4837>0x1?void 0x0:_0x3e4837?Hn(_0x4eeb9a,_0x35f76b):_0x4eeb9a,_0x2869c1=_0x3a378b['length']-0x1,_0x97319f;_0x2869c1>=0x0;_0x2869c1--)(_0x97319f=_0x3a378b[_0x2869c1])&&(_0x1a4a8c=(_0x3e4837?_0x97319f(_0x4eeb9a,_0x35f76b,_0x1a4a8c):_0x97319f(_0x1a4a8c))||_0x1a4a8c);return _0x3e4837&&_0x1a4a8c&&$n(_0x4eeb9a,_0x35f76b,_0x1a4a8c),_0x1a4a8c;},we=(_0x5573e5,_0x5bd1eb)=>(_0xb061fb,_0x3e382c)=>_0x5bd1eb(_0xb061fb,_0x3e382c,_0x5573e5);const Ii=_0x449c99(_0x4e1948(0x35a));function jn(_0x5ae2eb,_0x21103c,_0x1226d3){var _0x31989e=_0x4e1948;return _0x5ae2eb+'/'+_0x21103c+_0x31989e(0x275)+_0x1226d3+'/new_changes';}let Vt=class extends _0x4c7d23{constructor(_0x6941be,_0x5345f3,_0x4453f6,_0x101a00,_0x180865){var _0x206afc=_0x4e1948;super(),this['_injector']=_0x6941be,this[_0x206afc(0x24f)]=_0x5345f3,this[_0x206afc(0x349)]=_0x4453f6,this[_0x206afc(0x15d)]=_0x101a00,this[_0x206afc(0x30f)]=_0x180865;}['_doCreateSocket'](_0x48e3ba){var _0x5ca7e4=_0x4e1948;const _0x33cf94=this[_0x5ca7e4(0x375)][_0x5ca7e4(0x211)](_0x50c6fe);if(!_0x33cf94)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3e4406=_0x33cf94[_0x5ca7e4(0x363)](_0x48e3ba);if(!_0x3e4406)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x536250=new _0x3f5e84(),_0xb05562=new _0x20c5d3();_0x536250['add'](_0x3e4406['close$'][_0x5ca7e4(0x2ea)](_0x5cbccb=>_0xb05562[_0x5ca7e4(0x254)](_0x5cbccb))),_0x536250[_0x5ca7e4(0x167)](_0x157115(()=>_0xb05562[_0x5ca7e4(0x166)]()));const _0x585f19=new _0x20c5d3();_0x536250[_0x5ca7e4(0x167)](_0x3e4406[_0x5ca7e4(0x15f)][_0x5ca7e4(0x2ea)](_0x16baf2=>_0x585f19[_0x5ca7e4(0x254)](_0x16baf2))),_0x536250['add'](_0x157115(()=>_0x585f19[_0x5ca7e4(0x166)]()));const _0x99f8f5=new _0x20c5d3();_0x536250['add'](_0x3e4406[_0x5ca7e4(0x325)][_0x5ca7e4(0x2ea)](_0x352e09=>{var _0x7fdf22=_0x5ca7e4;const _0xa285a8=Ln(_0x352e09);_0x99f8f5[_0x7fdf22(0x254)](_0xa285a8);})),_0x536250[_0x5ca7e4(0x167)](_0x157115(()=>_0x99f8f5[_0x5ca7e4(0x166)]()));let _0x24603d;const _0x3de92f=()=>{var _0x5c7ed6=_0x5ca7e4;_0x585f19['next'](new Event(_0x5c7ed6(0x15e))),_0xb05562['next'](new Event(_0x5c7ed6(0x15e))),_0x24603d[_0x5c7ed6(0x172)]();};return _0x24603d={'memberID':'','close$':_0xb05562[_0x5ca7e4(0x18a)](),'error$':_0x585f19[_0x5ca7e4(0x18a)](),'open$':_0x3e4406['open$'],'message$':_0x99f8f5[_0x5ca7e4(0x18a)](),'send':_0x2e9f90=>{var _0x40b465=_0x5ca7e4;if(_0x2e9f90[_0x40b465(0x155)]===F[_0x40b465(0x40b)]){if(_0x2e9f90[_0x40b465(0x351)][_0x40b465(0x1f4)]===_0x463faf[_0x40b465(0x17c)]){this[_0x40b465(0x335)](_0x24603d,_0x2e9f90[_0x40b465(0x351)])[_0x40b465(0x3f1)](_0x55a2e7=>{var _0x11d440=_0x40b465;this[_0x11d440(0x15d)][_0x11d440(0x354)](_0x55a2e7),_0x3de92f();});return;}if(_0x2e9f90[_0x40b465(0x351)][_0x40b465(0x1f4)]===_0x463faf[_0x40b465(0x23e)]){const _0x48bdea=_0x2e9f90[_0x40b465(0x351)];this[_0x40b465(0x23a)](_0x48bdea)['then'](_0x480677=>{var _0x4d4ad6=_0x40b465;_0x99f8f5[_0x4d4ad6(0x254)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x48bdea[_0x4d4ad6(0x351)][_0x4d4ad6(0x35e)],'routeType':'','data':{'eventID':_0x463faf[_0x4d4ad6(0x183)],'data':{'changesets':_0x480677}}});})[_0x40b465(0x3f1)](_0x2deabf=>{var _0x4a302a=_0x40b465;this[_0x4a302a(0x15d)]['error'](_0x2deabf),_0x3de92f();});return;}}_0x3e4406[_0x40b465(0x212)](Mn(_0x2e9f90));},'close':()=>{_0x3e4406['close'](),_0x536250['dispose']();}},_0x24603d;}async['_submitChangeset'](_0x44c91e,_0x4986fb){var _0x1190fe=_0x4e1948,_0x54dfee,_0x38a1d0;const {unitType:_0x2b6132,unitID:_0x83f429,changeset:_0x280bab}=_0x4986fb[_0x1190fe(0x351)],_0x5404da={'unitID':_0x83f429,'memberID':_0x44c91e[_0x1190fe(0x2f0)],'type':_0x2b6132,'changeset':_0x208373(_0x280bab)},_0x9271f3=this[_0x1190fe(0x349)][_0x1190fe(0x2bf)](Dn),_0x2d8a0d=this[_0x1190fe(0x349)]['getConfig'](q),_0x50aed0=jn((_0x38a1d0=(_0x54dfee=_0x2d8a0d==null?void 0x0:_0x2d8a0d['collabSubmitChangesetUrl'])!=null?_0x54dfee:_0x9271f3)!=null?_0x38a1d0:Pn,_0x2b6132,_0x83f429);try{await this[_0x1190fe(0x24f)][_0x1190fe(0x372)](_0x50aed0,{'body':_0x5404da});}catch(_0x174707){throw this[_0x1190fe(0x15d)][_0x1190fe(0x354)](_0x1190fe(0x3e5),_0x1190fe(0x2ac)),_0x174707;}}async[_0x4e1948(0x23a)](_0x4e7c6d){var _0x4625b1=_0x4e1948;const {unitID:_0xf0639b,from:_0x3e951e,to:_0x189bbd,unitType:_0x456eb0}=_0x4e7c6d[_0x4625b1(0x351)];return(await this[_0x4625b1(0x30f)][_0x4625b1(0x2a5)]({'metadata':void 0x0},{'unitID':_0xf0639b,'type':_0x456eb0,'from':_0x3e951e,'to':_0x189bbd}))[_0x4625b1(0x1c7)];}};Vt=kn([we(0x0,_0x4bbdce(_0x332fef)),we(0x1,_0x4bbdce(_0x5d79cb)),we(0x2,_0x5d9632),we(0x3,_0x5f2578),we(0x4,_0x3515fd)],Vt);const Bn=_0x4e1948(0x193);function Fn(_0x341fb4){return JSON['stringify'](_0x341fb4)['length'];}class Ti{constructor(){var _0x26969f=_0x4e1948;N(this,_0x26969f(0x2df),new _0x20c5d3()),N(this,_0x26969f(0x353),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x5bbf89){this['_commentUpdate$']['next'](_0x5bbf89);}}var Gn=Object[_0x4e1948(0x19c)],Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x9df855,_0x52f32d,_0x4bad1e,_0x2b8377)=>{var _0x1bce26=_0x4e1948;for(var _0x408e3f=_0x2b8377>0x1?void 0x0:_0x2b8377?Vn(_0x52f32d,_0x4bad1e):_0x52f32d,_0x5a4f2e=_0x9df855[_0x1bce26(0x3d5)]-0x1,_0x78d7df;_0x5a4f2e>=0x0;_0x5a4f2e--)(_0x78d7df=_0x9df855[_0x5a4f2e])&&(_0x408e3f=(_0x2b8377?_0x78d7df(_0x52f32d,_0x4bad1e,_0x408e3f):_0x78d7df(_0x408e3f))||_0x408e3f);return _0x2b8377&&_0x408e3f&&Gn(_0x52f32d,_0x4bad1e,_0x408e3f),_0x408e3f;},Wt=(_0x193e4d,_0x1e5cc1)=>(_0x1a15c9,_0x33c68f)=>_0x1e5cc1(_0x1a15c9,_0x33c68f,_0x193e4d);let xe=class extends _0x4c7d23{constructor(_0x25f610,_0x147fe8){var _0x45767a=_0x4e1948;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x20c5d3()),(this[_0x45767a(0x153)]=_0x25f610,this[_0x45767a(0x1e7)]=_0x147fe8,this[_0x45767a(0x21a)](_0x1d7f44(this[_0x45767a(0x153)][_0x45767a(0x1f6)](_0x3bb644['UNIVER_SHEET'])[_0x45767a(0x1cf)](_0x48d922(_0x4340bf=>_0x4340bf[_0x45767a(0x205)]())),this[_0x45767a(0x153)][_0x45767a(0x1f6)](_0x3bb644[_0x45767a(0x2eb)])[_0x45767a(0x1cf)](_0x48d922(_0x347533=>_0x347533[_0x45767a(0x205)]())),this[_0x45767a(0x153)][_0x45767a(0x1f6)](_0x3bb644[_0x45767a(0x224)])[_0x45767a(0x1cf)](_0x48d922(_0x7c72e6=>_0x7c72e6[_0x45767a(0x205)]())))[_0x45767a(0x2ea)](_0xa75b00=>this[_0x45767a(0x3fb)](_0xa75b00))));}['waitForRoom$'](_0x5d1a3b){var _0xcd987a=_0x4e1948;return this[_0xcd987a(0x244)][_0xcd987a(0x1a2)](_0x5d1a3b)?_0x51d4fe(this[_0xcd987a(0x244)][_0xcd987a(0x211)](_0x5d1a3b)):this[_0xcd987a(0x249)][_0xcd987a(0x1cf)](_0x48d922(_0x3a8f0d=>{var _0x1775e4=_0xcd987a;if(_0x3a8f0d===_0x5d1a3b)return this[_0x1775e4(0x244)][_0x1775e4(0x211)](_0x3a8f0d);}));}[_0x4e1948(0x292)](_0x3eddd8){var _0xeead33=_0x4e1948;this[_0xeead33(0x1e7)]['setCurrentUser'](_0x3eddd8);}[_0x4e1948(0x2d3)](){var _0x266806=_0x4e1948;return this[_0x266806(0x1e7)][_0x266806(0x2d3)]();}[_0x4e1948(0x34e)](_0x313b04,_0x41a700){var _0x101ac3=_0x4e1948;let _0x134170=this[_0x101ac3(0x244)][_0x101ac3(0x211)](_0x313b04);_0x134170||(_0x134170=new Kn(),this[_0x101ac3(0x244)]['set'](_0x313b04,_0x134170),this['_roomCreated$'][_0x101ac3(0x254)](_0x313b04)),_0x134170[_0x101ac3(0x34e)](_0x41a700);}[_0x4e1948(0x1aa)](_0x643488,_0x57827a){var _0x3667c1=_0x4e1948;const _0x34a47e=this[_0x3667c1(0x244)][_0x3667c1(0x211)](_0x643488);_0x34a47e&&_0x34a47e[_0x3667c1(0x1aa)](_0x57827a);}[_0x4e1948(0x1b7)](_0xcaf2d7){var _0x772a25=_0x4e1948;return this[_0x772a25(0x244)]['get'](_0xcaf2d7);}['getMember'](_0x5cddc5,_0x20daac){var _0x5b0c1d=_0x4e1948;const _0x399b26=this[_0x5b0c1d(0x244)]['get'](_0x5cddc5);if(_0x399b26)return _0x399b26['getMember'](_0x20daac);}[_0x4e1948(0x3fb)](_0x2a4cde){var _0x9607ba=_0x4e1948;const _0x318be6=this[_0x9607ba(0x244)][_0x9607ba(0x211)](_0x2a4cde);_0x318be6&&(_0x318be6[_0x9607ba(0x306)](),this[_0x9607ba(0x244)][_0x9607ba(0x390)](_0x2a4cde));}[_0x4e1948(0x306)](){var _0x42d268=_0x4e1948;this[_0x42d268(0x244)][_0x42d268(0x3b1)](_0x246677=>_0x246677[_0x42d268(0x306)]()),this['_roomMembers']['clear'](),this['_roomCreated$'][_0x42d268(0x166)]();}};xe=Wn([Wt(0x0,_0x2778df),Wt(0x1,_0x4bbdce(_0x5313f7))],xe);class Kn extends _0x4c7d23{constructor(){var _0x4abff6=_0x4e1948;super(...arguments),N(this,_0x4abff6(0x348),new Map()),N(this,'_members$',new _0x218903(this[_0x4abff6(0x348)])),N(this,'members$',this['_members$']['asObservable']());}['dispose'](){var _0x147d71=_0x4e1948;this[_0x147d71(0x348)]['clear']();}['updateMember'](_0x4c2044){var _0x2b595f=_0x4e1948;this[_0x2b595f(0x348)][_0x2b595f(0x2d5)](_0x4c2044[_0x2b595f(0x2f0)],_0x4c2044),this['_emitMembers']();}[_0x4e1948(0x1aa)](_0x45ed8a){var _0x30907e=_0x4e1948;this[_0x30907e(0x348)][_0x30907e(0x390)](_0x45ed8a);}[_0x4e1948(0x321)](_0x181504){var _0x3c7557=_0x4e1948;return this[_0x3c7557(0x348)][_0x3c7557(0x211)](_0x181504);}['getAllMembers'](){var _0x2fa9e6=_0x4e1948;return Array[_0x2fa9e6(0x29b)](this[_0x2fa9e6(0x348)][_0x2fa9e6(0x278)]());}[_0x4e1948(0x3a7)](){var _0x4795d=_0x4e1948;this[_0x4795d(0x1d8)][_0x4795d(0x254)](this[_0x4795d(0x348)]);}}var Yn=Object['defineProperty'],qn=Object['getOwnPropertyDescriptor'],zn=(_0x444452,_0x347c36,_0x2ae646,_0x1bd5d8)=>{var _0x192a45=_0x4e1948;for(var _0x50513b=_0x1bd5d8>0x1?void 0x0:_0x1bd5d8?qn(_0x347c36,_0x2ae646):_0x347c36,_0x70b09f=_0x444452[_0x192a45(0x3d5)]-0x1,_0x5bb840;_0x70b09f>=0x0;_0x70b09f--)(_0x5bb840=_0x444452[_0x70b09f])&&(_0x50513b=(_0x1bd5d8?_0x5bb840(_0x347c36,_0x2ae646,_0x50513b):_0x5bb840(_0x50513b))||_0x50513b);return _0x1bd5d8&&_0x50513b&&Yn(_0x347c36,_0x2ae646,_0x50513b),_0x50513b;},me=(_0x425e37,_0x582dba)=>(_0x5446ff,_0x4e311f)=>_0x582dba(_0x5446ff,_0x4e311f,_0x425e37),Ee=(_0x3d2e86=>(_0x3d2e86[_0x3d2e86[_0x4e1948(0x32a)]=0x0]='IDLE',_0x3d2e86[_0x3d2e86[_0x4e1948(0x285)]=0x1]=_0x4e1948(0x285),_0x3d2e86[_0x3d2e86[_0x4e1948(0x368)]=0x2]=_0x4e1948(0x368),_0x3d2e86[_0x3d2e86[_0x4e1948(0x26a)]=0x3]=_0x4e1948(0x26a),_0x3d2e86))(Ee||{});const Kt={[ge[_0x4e1948(0x25c)]]:_0x4e1948(0x424),[ge[_0x4e1948(0x1f2)]]:_0x4e1948(0x216),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x4e1948(0x3e0),[ge[_0x4e1948(0x2ce)]]:_0x4e1948(0x1f5),[ge[_0x4e1948(0x171)]]:_0x4e1948(0x27d)};let Et=class extends _0x3da94e{constructor(_0x375c14,_0x528aba,_0x278aec,_0x12d19f,_0x44c994,_0x445320,_0x36354c,_0x345535,_0x1cb669){var _0xacd3e9=_0x4e1948;super(),N(this,_0xacd3e9(0x17d),new _0x218903(0x0)),N(this,_0xacd3e9(0x3da),this[_0xacd3e9(0x17d)][_0xacd3e9(0x18a)]()),N(this,_0xacd3e9(0x398),new _0x20c5d3()),N(this,_0xacd3e9(0x236),this[_0xacd3e9(0x398)]['asObservable']()),N(this,_0xacd3e9(0x1df)),N(this,'_socketMessageSubscription'),N(this,_0xacd3e9(0x1eb)),N(this,_0xacd3e9(0x29f),!0x1),N(this,_0xacd3e9(0x1ab),null),(this[_0xacd3e9(0x2bd)]=_0x375c14,this['_logService']=_0x278aec,this['_configService']=_0x12d19f,this['_localeService']=_0x44c994,this[_0xacd3e9(0x342)]=_0x445320,this[_0xacd3e9(0x376)]=_0x36354c,this[_0xacd3e9(0x3b7)]=_0x345535,this['_telemetryService']=_0x1cb669,this[_0xacd3e9(0x29f)]=!!this[_0xacd3e9(0x31c)],_0x528aba[_0xacd3e9(0x1cf)](_0x2a46e7(this[_0xacd3e9(0x2f1)]))[_0xacd3e9(0x2ea)](_0x19e24a=>{var _0xb4bd8b=_0xacd3e9,_0x5cb9a5;typeof _0x19e24a>'u'||(this[_0xb4bd8b(0x1df)]=_0x19e24a,_0x19e24a?(this[_0xb4bd8b(0x248)](_0x19e24a),this['_socketMessageSubscription']=_0x19e24a['message$'][_0xb4bd8b(0x2ea)](_0x44d387=>{var _0x441c41=_0xb4bd8b;_0x44d387[_0x441c41(0x2fa)]===this[_0x441c41(0x2bd)]&&this[_0x441c41(0x1da)](_0x44d387);})):(this[_0xb4bd8b(0x159)](),this[_0xb4bd8b(0x17d)][_0xb4bd8b(0x254)](0x2),(_0x5cb9a5=this[_0xb4bd8b(0x2b3)])==null||_0x5cb9a5[_0xb4bd8b(0x332)](),this['_socketMessageSubscription']=null));}));}get[_0x4e1948(0x28b)](){var _0x107e30=_0x4e1948;return this[_0x107e30(0x17d)]['getValue']();}[_0x4e1948(0x2d9)](){var _0x3efffb=_0x4e1948,_0x1c9d90,_0x4597c1;return(_0x4597c1=(_0x1c9d90=this[_0x3efffb(0x1df)])==null?void 0x0:_0x1c9d90[_0x3efffb(0x2f0)])!=null?_0x4597c1:null;}[_0x4e1948(0x306)](){var _0x45ac5f=_0x4e1948;super['dispose'](),this['dispose$'][_0x45ac5f(0x254)](),this['dispose$'][_0x45ac5f(0x166)]();}['close'](){var _0x45e287=_0x4e1948,_0xa913ab,_0x3a18c8;this[_0x45e287(0x159)](),(_0xa913ab=this['_socket'])==null||_0xa913ab['send']({'cmd':F[_0x45e287(0x384)],'data':{'roomID':this[_0x45e287(0x2bd)]}}),(_0x3a18c8=this['_socket'])==null||_0x3a18c8[_0x45e287(0x172)](),this[_0x45e287(0x398)]['complete'](),this[_0x45e287(0x17d)]['complete'](),this['dispose']();}['_onCombEvent'](_0x50702a){var _0x350d7e=_0x4e1948;_0x50702a[_0x350d7e(0x155)]===F[_0x350d7e(0x386)]?this[_0x350d7e(0x411)](_0x50702a):_0x50702a['cmd']===F[_0x350d7e(0x423)]&&this['_onRecvEvent'](_0x50702a);}[_0x4e1948(0x248)](_0x5ea5b4){var _0x4b7d1f=_0x4e1948;this[_0x4b7d1f(0x17d)][_0x4b7d1f(0x254)](0x1),_0x5ea5b4[_0x4b7d1f(0x212)]({'cmd':F[_0x4b7d1f(0x386)],'routeKey':this[_0x4b7d1f(0x2bd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4e1948(0x411)](_0x42e6f5){var _0x3e8581=_0x4e1948,_0x4f6dd1;if(_0x42e6f5['code']in Kt){this[_0x3e8581(0x3b7)][_0x3e8581(0x284)]({'id':se[_0x3e8581(0x217)],'data':Kt[_0x42e6f5['code']]}),this[_0x3e8581(0x17d)][_0x3e8581(0x254)](0x2);return;}this[_0x3e8581(0x17d)][_0x3e8581(0x254)](0x3);const _0xf78cf2=(_0x4f6dd1=_0x42e6f5['data'][_0x3e8581(0x357)][this['_unitID']])==null?void 0x0:_0x4f6dd1['members'];_0xf78cf2&&_0xf78cf2[_0x3e8581(0x3b1)](_0x55c9f8=>this['_memberService'][_0x3e8581(0x34e)](this[_0x3e8581(0x2bd)],_0x55c9f8));}['_onRecvEvent'](_0x11fdcc){var _0x132309=_0x4e1948;try{const _0x429834=_0x11fdcc['data'];switch(_0x429834[_0x132309(0x1f4)]){case _0x463faf[_0x132309(0x3f8)]:this[_0x132309(0x1dc)](_0x429834),this[_0x132309(0x398)][_0x132309(0x254)](_0x429834);break;case _0x463faf['USERS_LEAVE']:this[_0x132309(0x19e)](_0x429834),this[_0x132309(0x398)]['next'](_0x429834);break;case _0x463faf[_0x132309(0x359)]:case _0x463faf[_0x132309(0x2b8)]:this[_0x132309(0x2c2)](),this[_0x132309(0x40d)](),this[_0x132309(0x398)]['next'](_0x429834);break;case _0x463faf[_0x132309(0x16c)]:this['_logService'][_0x132309(0x354)](_0x132309(0x3e1)+JSON[_0x132309(0x42f)](_0x429834)),this[_0x132309(0x398)][_0x132309(0x254)](_0x429834);break;case _0x463faf[_0x132309(0x402)]:this[_0x132309(0x376)][_0x132309(0x2fb)](_0x429834[_0x132309(0x351)]),this['_event$'][_0x132309(0x254)](_0x429834);break;default:this['_event$'][_0x132309(0x254)](_0x429834);}}catch(_0x4d3dd2){this[_0x132309(0x15d)][_0x132309(0x354)](_0x4d3dd2,_0x11fdcc);}}[_0x4e1948(0x1dc)](_0x24e8fd){var _0x128d37=_0x4e1948;this['_memberService']['updateMember'](this[_0x128d37(0x2bd)],_0x24e8fd[_0x128d37(0x351)]);}['_onUserLeave'](_0x19e01f){var _0x10516e=_0x4e1948;this[_0x10516e(0x342)][_0x10516e(0x1aa)](this[_0x10516e(0x2bd)],_0x19e01f[_0x10516e(0x351)]['memberID']);}async['send'](_0x734f8f,_0x3f80c4){var _0x14ff01=_0x4e1948;if(this[_0x14ff01(0x28b)]!==0x3||!this[_0x14ff01(0x1df)])throw new Error(_0x14ff01(0x2fc));try{_0x734f8f[_0x14ff01(0x1f4)]===_0x463faf[_0x14ff01(0x17c)]&&(this[_0x14ff01(0x1cd)](),this['_startTelemetryCollaborationNewChangeset'](_0x734f8f)),this['_socket'][_0x14ff01(0x212)]({'cmd':F[_0x14ff01(0x40b)],'routeKey':_0x3f80c4,'routeType':'','data':_0x734f8f});}catch(_0x323e84){this['_logService'][_0x14ff01(0x354)](_0x323e84);}}[_0x4e1948(0x1cd)](){var _0x339147=_0x4e1948,_0x367d84;this[_0x339147(0x1eb)]=setTimeout(()=>{var _0x57d8e5=_0x339147;this[_0x57d8e5(0x1eb)]=null,this[_0x57d8e5(0x3b7)][_0x57d8e5(0x284)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x367d84=this[_0x339147(0x349)][_0x339147(0x2bf)](mi))!=null?_0x367d84:gi);}[_0x4e1948(0x40d)](){var _0x5679a4=_0x4e1948;this[_0x5679a4(0x1eb)]&&(clearTimeout(this[_0x5679a4(0x1eb)]),this[_0x5679a4(0x1eb)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4cf140){var _0x46a1b7=_0x4e1948;if(!this['_shouldReportTelemetry'])return;const {data:_0x55d0f3}=_0x4cf140,{unitID:_0x2a6ed2,changeset:_0x5a94a7}=_0x55d0f3,{mutations:_0x12e5b9,type:_0x25b3a8}=_0x5a94a7;this['_telemetryInfo']={'unitId':_0x2a6ed2,'type':_0x25b3a8,'startTime':performance[_0x46a1b7(0x3fe)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x12e5b9)};}[_0x4e1948(0x2c2)](){var _0x2970c7=_0x4e1948;if(this[_0x2970c7(0x29f)]){if(!this[_0x2970c7(0x1ab)]){this[_0x2970c7(0x15d)][_0x2970c7(0x354)](_0x2970c7(0x3e5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2970c7(0x1ab)][_0x2970c7(0x2db)]=performance[_0x2970c7(0x3fe)](),this[_0x2970c7(0x1ab)][_0x2970c7(0x2cf)]=this[_0x2970c7(0x1ab)][_0x2970c7(0x2db)]-this['_telemetryInfo'][_0x2970c7(0x3a3)],this['_telemetryService'][_0x2970c7(0x3ed)](Bn,this[_0x2970c7(0x1ab)]),this[_0x2970c7(0x1ab)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x262e9b=_0x4e1948;this[_0x262e9b(0x1ab)]=null;}};Et=zn([me(0x2,_0x5f2578),me(0x3,_0x5d9632),me(0x4,_0x4bbdce(_0x1a0963)),me(0x5,_0x4bbdce(xe)),me(0x6,_0x4bbdce(Ti)),me(0x7,_0x4bbdce(pe)),me(0x8,_0x4e1364(_0x1db6e7))],Et);var Jn=Object[_0x4e1948(0x19c)],Xn=Object[_0x4e1948(0x289)],Zn=(_0x347d47,_0x562770,_0x354cbd,_0x38b137)=>{var _0x194dd1=_0x4e1948;for(var _0x4ed614=_0x38b137>0x1?void 0x0:_0x38b137?Xn(_0x562770,_0x354cbd):_0x562770,_0x22d75c=_0x347d47[_0x194dd1(0x3d5)]-0x1,_0x34c9ed;_0x22d75c>=0x0;_0x22d75c--)(_0x34c9ed=_0x347d47[_0x22d75c])&&(_0x4ed614=(_0x38b137?_0x34c9ed(_0x562770,_0x354cbd,_0x4ed614):_0x34c9ed(_0x4ed614))||_0x4ed614);return _0x38b137&&_0x4ed614&&Jn(_0x562770,_0x354cbd,_0x4ed614),_0x4ed614;},Re=(_0x3b9452,_0x2b374b)=>(_0x5c7267,_0x1afdcf)=>_0x2b374b(_0x5c7267,_0x1afdcf,_0x3b9452);let Le=class extends _0x4c7d23{constructor(_0x21cf2a,_0x2af3eb,_0x1c734e,_0x43a676,_0x47bbc7,_0x405bc5){var _0x49dd63=_0x4e1948;super(),N(this,_0x49dd63(0x3f6),new _0x218903(void 0x0)),N(this,_0x49dd63(0x25f),this[_0x49dd63(0x3f6)][_0x49dd63(0x18a)]()),N(this,'_candidateSocket',null),N(this,_0x49dd63(0x333),new Map()),N(this,_0x49dd63(0x31a),new _0x218903(Ee['IDLE'])),N(this,_0x49dd63(0x18d),this[_0x49dd63(0x31a)][_0x49dd63(0x18a)]()),N(this,_0x49dd63(0x3bc),!0x1),N(this,_0x49dd63(0x164)),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x21cf2a,this[_0x49dd63(0x15d)]=_0x2af3eb,this[_0x49dd63(0x349)]=_0x1c734e,this[_0x49dd63(0x405)]=_0x43a676,this[_0x49dd63(0x3b7)]=_0x47bbc7,this[_0x49dd63(0x25a)]=_0x405bc5,this['_listenToNetworkCondition']());}get[_0x4e1948(0x1df)](){var _0x1b8618=_0x4e1948;return this[_0x1b8618(0x3f6)][_0x1b8618(0x25d)]();}[_0x4e1948(0x366)](){var _0x4961a7=_0x4e1948;this[_0x4961a7(0x25a)]&&this[_0x4961a7(0x21a)](this[_0x4961a7(0x25a)][_0x4961a7(0x23d)][_0x4961a7(0x2ea)](_0x6fc22e=>{var _0x499281=_0x4961a7;_0x6fc22e&&!this['_socket']&&this[_0x499281(0x18b)](),_0x6fc22e||this['_onOffline']();}));}['dispose'](){var _0x2922e6=_0x4e1948;super[_0x2922e6(0x306)](),this[_0x2922e6(0x385)](),this[_0x2922e6(0x2f2)](),this[_0x2922e6(0x387)](),this[_0x2922e6(0x333)][_0x2922e6(0x3b1)](_0x3ad7b2=>_0x3ad7b2['dispose']()),this[_0x2922e6(0x333)]['clear'](),this[_0x2922e6(0x31a)][_0x2922e6(0x166)]();}async[_0x4e1948(0x207)](_0x219336){var _0x34db20=_0x4e1948;if(this['_sessions'][_0x34db20(0x1a2)](_0x219336))return this[_0x34db20(0x333)][_0x34db20(0x211)](_0x219336);this['_tryEnsureSocket']();const _0x2889fc=this['_injector'][_0x34db20(0x3fd)](Et,_0x219336,this['_socket$'][_0x34db20(0x18a)]());return this[_0x34db20(0x333)]['set'](_0x219336,_0x2889fc),_0x2889fc;}[_0x4e1948(0x2f9)](_0x17dd3f){var _0x513a3c=_0x4e1948,_0x30910c;const _0x5a3abe=this[_0x513a3c(0x333)][_0x513a3c(0x211)](_0x17dd3f);_0x5a3abe&&(this[_0x513a3c(0x333)][_0x513a3c(0x390)](_0x17dd3f),_0x5a3abe[_0x513a3c(0x172)]()),this['_sessions'][_0x513a3c(0x288)]||(_0x30910c=this[_0x513a3c(0x1df)])==null||_0x30910c[_0x513a3c(0x172)]();}[_0x4e1948(0x18b)](){var _0x5e8cde=_0x4e1948;this['_retryCount']=0x0,this[_0x5e8cde(0x385)](),this['_tryReconnect']();}[_0x4e1948(0x385)](){var _0x171660=_0x4e1948;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x171660(0x164)]),this[_0x171660(0x164)]=null);}async[_0x4e1948(0x312)](){var _0x521cf9=_0x4e1948,_0x30bec2,_0x35e1e6;const _0xcf8dd5=this[_0x521cf9(0x349)][_0x521cf9(0x2bf)](Tn),_0x39f2a7=this[_0x521cf9(0x349)][_0x521cf9(0x2bf)](q),_0x4615c8=(_0x35e1e6=(_0x30bec2=_0x39f2a7==null?void 0x0:_0x39f2a7[_0x521cf9(0x3b3)])!=null?_0x30bec2:_0xcf8dd5)!=null?_0x35e1e6:Cn,_0x8ddbe0=await this[_0x521cf9(0x405)]['createSocket'](_0x4615c8);return this[_0x521cf9(0x226)]=_0x8ddbe0,_0x8ddbe0;}async[_0x4e1948(0x2b5)](){var _0x450410=_0x4e1948,_0x3156fe,_0x5118c2;try{const _0x12758f=(_0x5118c2=(_0x3156fe=this[_0x450410(0x1df)])!=null?_0x3156fe:this['_candidateSocket'])!=null?_0x5118c2:await this[_0x450410(0x312)]();if(_0x12758f){const _0x3db5cb=_0x12758f[_0x450410(0x212)];_0x12758f[_0x450410(0x212)]=_0x5abf4c=>(this[_0x450410(0x1b6)](),_0x3db5cb[_0x450410(0x33c)](_0x12758f,[_0x5abf4c])),_0x12758f['message$'][_0x450410(0x2ea)](_0x473ddb=>this[_0x450410(0x2e3)](_0x12758f,_0x473ddb)),_0x12758f[_0x450410(0x15f)][_0x450410(0x1cf)](_0x1fd509(0x1))[_0x450410(0x2ea)](_0x382e75=>this['_logService'][_0x450410(0x354)]('[CollaborationSessionService]:\x20socket\x20error',_0x382e75)),_0x12758f[_0x450410(0x28d)][_0x450410(0x1cf)](_0x1fd509(0x1))[_0x450410(0x2ea)](()=>{var _0x25c4ed=_0x450410;this[_0x25c4ed(0x281)](_0x12758f);}),_0x12758f['close$'][_0x450410(0x1cf)](_0x1fd509(0x1))[_0x450410(0x2ea)](_0x53e3c7=>{var _0x558012=_0x450410;this[_0x558012(0x15d)][_0x558012(0x3e8)]('[CollaborationSessionService]',_0x558012(0x40c),_0x53e3c7),this[_0x558012(0x2ad)]();});}}catch(_0x468f72){this[_0x450410(0x15d)][_0x450410(0x354)](_0x468f72),this['_onConnectionFailed']();}}[_0x4e1948(0x281)](_0x2e007a){var _0x1face9=_0x4e1948;this['_logService']['debug']('[CollaborationSessionService]','socket\x20open.'),_0x2e007a[_0x1face9(0x212)]({'cmd':F[_0x1face9(0x403)]}),this[_0x1face9(0x1b6)]();}[_0x4e1948(0x37b)](){var _0x3dc408=_0x4e1948;this[_0x3dc408(0x3bc)]=!0x1,this[_0x3dc408(0x226)]=null,this[_0x3dc408(0x31a)][_0x3dc408(0x254)](Ee[_0x3dc408(0x368)]),this[_0x3dc408(0x3f6)][_0x3dc408(0x254)](null),this[_0x3dc408(0x2f2)](),this['_clearHeartbeatTimer']();}[_0x4e1948(0x2ad)](){var _0x2ab4d3=_0x4e1948,_0x5f4b7a;this[_0x2ab4d3(0x37b)](),this[_0x2ab4d3(0x31b)]<((_0x5f4b7a=this['_configService']['getConfig'](yn))!=null?_0x5f4b7a:Nn)?(this[_0x2ab4d3(0x3b7)][_0x2ab4d3(0x284)]({'id':se[_0x2ab4d3(0x2dd)]}),this[_0x2ab4d3(0x157)]()):this[_0x2ab4d3(0x3b7)][_0x2ab4d3(0x284)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x18dd0d=_0x4e1948,_0x290d55;const _0x2add3c=this[_0x18dd0d(0x31b)],_0x5e4f24=this[_0x18dd0d(0x349)][_0x18dd0d(0x2bf)](q),_0x3b9fc5=_0x2add3c===0x0?0x0:((_0x290d55=_0x5e4f24==null?void 0x0:_0x5e4f24[_0x18dd0d(0x173)])!=null?_0x290d55:On)*0x2**_0x2add3c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x20ca18=_0x18dd0d;clearTimeout(this['_retryConnectingTimer']),this[_0x20ca18(0x164)]=null,this[_0x20ca18(0x2b5)]();},_0x3b9fc5),this[_0x18dd0d(0x31b)]+=0x1;}[_0x4e1948(0x2e3)](_0x1aa640,_0x351546){var _0x297c4f=_0x4e1948;const {cmd:_0x52c047}=_0x351546;_0x52c047===F['HELLO']&&!this[_0x297c4f(0x3bc)]&&(_0x1aa640[_0x297c4f(0x2f0)]=_0x351546[_0x297c4f(0x351)]['memberID'],this[_0x297c4f(0x3f6)][_0x297c4f(0x254)](_0x1aa640),this['_status$']['next'](Ee['ONLINE']),this[_0x297c4f(0x3bc)]=!0x0,this[_0x297c4f(0x226)]=null),_0x52c047===F['HEARTBEAT']&&this[_0x297c4f(0x2f2)](),this[_0x297c4f(0x1b6)]();}['_rescheduleHeartbeat'](){var _0x5be571=_0x4e1948,_0x5613a8;this[_0x5be571(0x387)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x5be571(0x406)](),(_0x5613a8=this['_configService'][_0x5be571(0x2bf)](bn))!=null?_0x5613a8:Rn);}[_0x4e1948(0x406)](){var _0x1ada29=_0x4e1948;this[_0x1ada29(0x1df)][_0x1ada29(0x212)]({'cmd':F[_0x1ada29(0x391)]}),this[_0x1ada29(0x270)]();}[_0x4e1948(0x270)](){var _0x4571ab=_0x4e1948,_0x3f27cd;this[_0x4571ab(0x181)]=setTimeout(()=>this[_0x4571ab(0x2ad)](),(_0x3f27cd=this[_0x4571ab(0x349)][_0x4571ab(0x2bf)](mi))!=null?_0x3f27cd:gi);}[_0x4e1948(0x387)](){var _0x28b69b=_0x4e1948;this[_0x28b69b(0x1fd)]!=null&&(clearTimeout(this[_0x28b69b(0x1fd)]),this[_0x28b69b(0x1fd)]=null);}[_0x4e1948(0x2f2)](){var _0x252ca6=_0x4e1948;this[_0x252ca6(0x181)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=Zn([Re(0x0,_0x4bbdce(_0x332fef)),Re(0x1,_0x5f2578),Re(0x2,_0x5d9632),Re(0x3,Ii),Re(0x4,_0x4bbdce(pe)),Re(0x5,_0x4e1364(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x4e1948(0x2cb)]((n+0x100)[_0x4e1948(0x189)](0x10)[_0x4e1948(0x382)](0x1));function Qn(_0x12d03c,_0x401e45=0x0){var _0x5f3b18=_0x4e1948;return(G[_0x12d03c[_0x401e45+0x0]]+G[_0x12d03c[_0x401e45+0x1]]+G[_0x12d03c[_0x401e45+0x2]]+G[_0x12d03c[_0x401e45+0x3]]+'-'+G[_0x12d03c[_0x401e45+0x4]]+G[_0x12d03c[_0x401e45+0x5]]+'-'+G[_0x12d03c[_0x401e45+0x6]]+G[_0x12d03c[_0x401e45+0x7]]+'-'+G[_0x12d03c[_0x401e45+0x8]]+G[_0x12d03c[_0x401e45+0x9]]+'-'+G[_0x12d03c[_0x401e45+0xa]]+G[_0x12d03c[_0x401e45+0xb]]+G[_0x12d03c[_0x401e45+0xc]]+G[_0x12d03c[_0x401e45+0xd]]+G[_0x12d03c[_0x401e45+0xe]]+G[_0x12d03c[_0x401e45+0xf]])[_0x5f3b18(0x35d)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x3a9bc9=_0x4e1948;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3a9bc9(0x14c));ut=crypto[_0x3a9bc9(0x421)][_0x3a9bc9(0x415)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),Yt={'randomUUID':ir};function nr(_0xce2122,_0x234b67,_0x5355fc){var _0x46ccaa=_0x4e1948,_0x597626,_0x762af1,_0x10cd07;if(Yt[_0x46ccaa(0x15b)]&&!_0xce2122)return Yt[_0x46ccaa(0x15b)]();_0xce2122=_0xce2122||{};const _0x27d2c5=(_0x10cd07=(_0x762af1=_0xce2122['random'])!=null?_0x762af1:(_0x597626=_0xce2122[_0x46ccaa(0x3d4)])==null?void 0x0:_0x597626[_0x46ccaa(0x2ca)](_0xce2122))!=null?_0x10cd07:tr();if(_0x27d2c5[_0x46ccaa(0x3d5)]<0x10)throw new Error(_0x46ccaa(0x220));return _0x27d2c5[0x6]=_0x27d2c5[0x6]&0xf|0x40,_0x27d2c5[0x8]=_0x27d2c5[0x8]&0x3f|0x80,Qn(_0x27d2c5);}const J=_0x449c99(_0x4e1948(0x1ec));function ro(_0x2d130d){var _0x1664f2=_0x4e1948;return _0x1664f2(0x38e)+_0x2d130d;}var rr=Object[_0x4e1948(0x19c)],sr=Object['getOwnPropertyDescriptor'],or=(_0x26f9db,_0x3c5d1a,_0x3ca42e,_0xa0265e)=>{var _0x3ccc6c=_0x4e1948;for(var _0x39f642=_0xa0265e>0x1?void 0x0:_0xa0265e?sr(_0x3c5d1a,_0x3ca42e):_0x3c5d1a,_0x470257=_0x26f9db[_0x3ccc6c(0x3d5)]-0x1,_0x8b81de;_0x470257>=0x0;_0x470257--)(_0x8b81de=_0x26f9db[_0x470257])&&(_0x39f642=(_0xa0265e?_0x8b81de(_0x3c5d1a,_0x3ca42e,_0x39f642):_0x8b81de(_0x39f642))||_0x39f642);return _0xa0265e&&_0x39f642&&rr(_0x3c5d1a,_0x3ca42e,_0x39f642),_0x39f642;},dt=(_0x15f4aa,_0x5d0c4b)=>(_0x20f9af,_0x2934d9)=>_0x5d0c4b(_0x20f9af,_0x2934d9,_0x15f4aa);function ar(_0x2fb1a8){var _0x9a89f8=_0x4e1948;const {unitID:_0x2e26ca,mutations:_0x30c86e}=_0x2fb1a8;return{'unitId':_0x2e26ca,'subUnitId':_0x30c86e[0x0][_0x9a89f8(0x1e1)][_0x9a89f8(0x1e4)]};}let it=class{constructor(_0x1868dd,_0x4d707e,_0xb2e5a1){var _0x3fa48a=_0x4e1948;this[_0x3fa48a(0x375)]=_0x1868dd,this[_0x3fa48a(0x192)]=_0x4d707e,this[_0x3fa48a(0x2e4)]=_0xb2e5a1;}['transformSelections'](_0x5315b7){var _0x600af0=_0x4e1948,_0x4606a0,_0x2a5042,_0xec1058,_0x4fdb46;const _0x2edb7e=this['_injector'][_0x600af0(0x211)](_0x5c495c),{unitId:_0x9d1d0d,subUnitId:_0x57cd8b}=ar(_0x5315b7),_0x28fd6f=_0x2edb7e==null?void 0x0:_0x2edb7e['getWorkbookSelections'](_0x9d1d0d)[_0x600af0(0x3cd)](),_0xd16a9f=(_0x2a5042=(_0x4606a0=this[_0x600af0(0x2e4)][_0x600af0(0x346)](_0x9d1d0d))==null?void 0x0:_0x4606a0['getActiveSheet']())==null?void 0x0:_0x2a5042[_0x600af0(0x396)]();if(_0x28fd6f[_0x600af0(0x3d5)]===0x0||!_0x9d1d0d||!_0x57cd8b)return;const _0x380cb0=[{'id':_0x997517['id'],'params':{'unitId':_0x9d1d0d,'subUnitId':_0xd16a9f,'selections':_0x14e6c6[_0x600af0(0x250)](_0x28fd6f)}}],_0x3f61c6=this['_transformService'][_0x600af0(0x336)](_0x5315b7,_0x380cb0);if(!_0x8ec843(_0x3f61c6))throw _0x3f61c6[_0x600af0(0x354)];const _0x4452b6=(_0x4fdb46=(_0xec1058=_0x3f61c6[_0x600af0(0x2d8)][0x0])==null?void 0x0:_0xec1058[_0x600af0(0x1e1)])==null?void 0x0:_0x4fdb46[_0x600af0(0x2a6)];if(Array[_0x600af0(0x41e)](_0x4452b6)&&_0x4452b6[_0x600af0(0x3d5)]){if(_0x4452b6[_0x600af0(0x3d5)]===_0x380cb0[0x0][_0x600af0(0x1e1)][_0x600af0(0x2a6)][_0x600af0(0x3d5)]&&_0x4452b6['every']((_0x7cde47,_0x316182)=>_0x3e1f21[_0x600af0(0x15a)](_0x7cde47[_0x600af0(0x307)],_0x380cb0[0x0]['params'][_0x600af0(0x2a6)][_0x316182][_0x600af0(0x307)])))return;this[_0x600af0(0x375)]['get'](_0x497898)[_0x600af0(0x30d)](_0x997517['id'],{'unitId':_0x9d1d0d,'subUnitId':_0xd16a9f,'selections':_0x4452b6});}}};it=or([dt(0x0,_0x4bbdce(_0x332fef)),dt(0x1,_0x5c48a7),dt(0x2,_0x2778df)],it);const ht=_0x449c99(_0x4e1948(0x339));var Ci=(_0x21572a=>(_0x21572a[_0x21572a[_0x4e1948(0x158)]=0x0]=_0x4e1948(0x158),_0x21572a[_0x21572a[_0x4e1948(0x1c9)]=0x1]=_0x4e1948(0x1c9),_0x21572a))(Ci||{});const cr=new Set([_0x2d4dac['id']]);function qt(_0x2ab634,_0x23479f,_0xab8a07,_0x3b7c23,_0x385996){var _0x46a3cd=_0x4e1948,_0x341d82,_0x33bbbc,_0x4bdd24,_0x310eec;const _0x22f2bb=[];for(const _0x202078 of _0x2ab634)if(cr[_0x46a3cd(0x1a2)](_0x202078['id'])){if(_0x22f2bb['length']>0x0)break;_0x22f2bb[_0x46a3cd(0x2cb)](_0x202078);break;}else _0x22f2bb[_0x46a3cd(0x2cb)](_0x202078);const _0x3d993c=(_0x33bbbc=(_0x341d82=_0x385996['getCurrentUser']())==null?void 0x0:_0x341d82[_0x46a3cd(0x1bc)])!=null?_0x33bbbc:_0x46a3cd(0x324),_0xe59e3b=(_0x310eec=(_0x4bdd24=_0x385996[_0x46a3cd(0x2d3)]())==null?void 0x0:_0x4bdd24[_0x46a3cd(0x2f0)])!=null?_0x310eec:'unknown';return{'changeset':{'unitID':_0x23479f,'type':_0x37384c(_0xab8a07[_0x46a3cd(0x19d)](_0x23479f)),'baseRev':_0x3b7c23[_0x46a3cd(0x296)](_0x23479f),'revision':0x0,'userID':_0x3d993c,'memberID':_0xe59e3b,'mutations':_0x22f2bb},'pendingMutations':_0x2ab634[_0x46a3cd(0x382)](_0x22f2bb[_0x46a3cd(0x3d5)])};}function hr(_0x24c934,_0x3920e7,_0x580bfa,_0x185fda,_0x12daf2){var _0x1a0850=_0x4e1948,_0x4a0b96,_0x3cbc0c,_0x367ca9,_0x1e2644;const _0x4f53ca=[_0x24c934[_0x1a0850(0x16f)]((_0x3303f1,_0x279364)=>{var _0x5c0ed7=_0x1a0850,_0x104282;const {id:_0x2ab811}=_0x3303f1,{id:_0x31e59e,type:_0xa1b4b2}=_0x279364,_0x19e83a=(_0x104282=_0x3303f1[_0x5c0ed7(0x1e1)])!=null?_0x104282:{'actions':null},_0x66a870=_0x279364['params'];if(_0x2ab811&&_0x2ab811!==_0x31e59e)throw new Error(_0x5c0ed7(0x412)+_0x2ab811+_0x5c0ed7(0x271)+_0x31e59e+'.');return{..._0x3303f1,'id':_0x31e59e,'type':_0xa1b4b2,'params':{'unitId':_0x66a870[_0x5c0ed7(0x1de)],'textRanges':_0x66a870['textRanges'],'actions':_0x4f589f[_0x5c0ed7(0x38d)](_0x19e83a[_0x5c0ed7(0x259)],_0x66a870[_0x5c0ed7(0x259)])}};},{})],_0x483415=(_0x3cbc0c=(_0x4a0b96=_0x12daf2[_0x1a0850(0x2d3)]())==null?void 0x0:_0x4a0b96[_0x1a0850(0x1bc)])!=null?_0x3cbc0c:_0x1a0850(0x324),_0x31ae30=(_0x1e2644=(_0x367ca9=_0x12daf2[_0x1a0850(0x2d3)]())==null?void 0x0:_0x367ca9[_0x1a0850(0x2f0)])!=null?_0x1e2644:_0x1a0850(0x324);return{'changeset':{'unitID':_0x3920e7,'type':_0x37384c(_0x580bfa[_0x1a0850(0x19d)](_0x3920e7)),'baseRev':_0x185fda[_0x1a0850(0x296)](_0x3920e7),'revision':0x0,'userID':_0x483415,'memberID':_0x31ae30,'mutations':_0x4f53ca},'pendingMutations':[]};}function bi(_0x370d0e,_0x2d02bb){var _0x462566=_0x4e1948;const _0x1ecb80=new _0x5cfdc4(0x1);return setTimeout(()=>_0x1ecb80[_0x462566(0x254)](_0x2d02bb),_0x370d0e),_0x1ecb80[_0x462566(0x18a)]()[_0x462566(0x1cf)](_0x49d202(0x1));}const _r={'id':_0x56f23c['id'],'type':_0x4cc6e1[_0x4e1948(0x32e)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x4e1948(0x289)],Te=(_0x596616,_0x539d1f,_0x2a41cd,_0x1567bc)=>{var _0x4563d6=_0x4e1948;for(var _0x314472=_0x1567bc>0x1?void 0x0:_0x1567bc?ur(_0x539d1f,_0x2a41cd):_0x539d1f,_0x5e471c=_0x596616[_0x4563d6(0x3d5)]-0x1,_0x21925a;_0x5e471c>=0x0;_0x5e471c--)(_0x21925a=_0x596616[_0x5e471c])&&(_0x314472=(_0x1567bc?_0x21925a(_0x539d1f,_0x2a41cd,_0x314472):_0x21925a(_0x314472))||_0x314472);return _0x1567bc&&_0x314472&&lr(_0x539d1f,_0x2a41cd,_0x314472),_0x314472;},A=(_0xe98bbf,_0x596dec)=>(_0x4f0941,_0x425ee6)=>_0x596dec(_0x4f0941,_0x425ee6,_0xe98bbf),Ri=(_0x4c9fb3=>(_0x4c9fb3[_0x4e1948(0x2f8)]='not_collab',_0x4c9fb3[_0x4e1948(0x36d)]=_0x4e1948(0x29a),_0x4c9fb3[_0x4e1948(0x162)]=_0x4e1948(0x433),_0x4c9fb3[_0x4e1948(0x264)]='awaiting',_0x4c9fb3['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x4c9fb3[_0x4e1948(0x1f7)]=_0x4e1948(0x26f),_0x4c9fb3[_0x4e1948(0x206)]=_0x4e1948(0x23c),_0x4c9fb3[_0x4e1948(0x368)]='offline',_0x4c9fb3))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x5d95a6,_0x47812b,_0x5c6297,_0x337272,_0x3b7fc8,_0x3e96de,_0x547e08,_0xa8c1f5,_0x49a901){var _0x1c19c7=_0x4e1948;N(this,_0x1c19c7(0x233),null),N(this,_0x1c19c7(0x3ee),[]),(this[_0x1c19c7(0x35e)]=_0x5d95a6,this['type']=_0x47812b,this['_handler']=_0x3b7fc8,this['_commandService']=_0x3e96de,this['_undoRedoService']=_0x547e08,this['_revisionService']=_0xa8c1f5,this[_0x1c19c7(0x1f3)]=_0x49a901,this[_0x1c19c7(0x233)]=_0x5c6297,this[_0x1c19c7(0x3ee)]=_0x337272);}[_0x4e1948(0x252)](_0x53d84c){var _0x440e24=_0x4e1948;const _0x1f45da=this['_revisionService'][_0x440e24(0x296)](this[_0x440e24(0x35e)]);return _0x53d84c[_0x440e24(0x2f3)]>_0x1f45da+0x1?(this[_0x440e24(0x2de)][_0x440e24(0x3b5)]({'from':_0x1f45da,'to':_0x53d84c[_0x440e24(0x2f3)]-0x1}),!0x0):!0x1;}[_0x4e1948(0x221)](_0xb47ae){var _0xa71222=_0x4e1948;this[_0xa71222(0x27f)][_0xa71222(0x407)](this[_0xa71222(0x35e)],_0xb47ae);}['_transformSelections'](_0x126b86){var _0x120f90=_0x4e1948,_0x5cf5a2,_0x103581;(_0x103581=(_0x5cf5a2=this[_0x120f90(0x2de)])[_0x120f90(0x2a7)])==null||_0x103581[_0x120f90(0x2ca)](_0x5cf5a2,_0x126b86);}[_0x4e1948(0x3c5)](_0x5c536d){var _0x125e0a=_0x4e1948,_0x1e7c72,_0x3f7b67;return(_0x3f7b67=(_0x1e7c72=this['_handler'])[_0x125e0a(0x39d)])==null?void 0x0:_0x3f7b67[_0x125e0a(0x2ca)](_0x1e7c72,_0x5c536d);}[_0x4e1948(0x39a)](_0x44593f){var _0x5b6204=_0x4e1948,_0x23e4d1,_0x44b992;return(_0x44b992=(_0x23e4d1=this[_0x5b6204(0x2de)])['onTransformState'])==null?void 0x0:_0x44b992[_0x5b6204(0x2ca)](_0x23e4d1,_0x44593f);}[_0x4e1948(0x350)](_0x51ab05){var _0x4092f1=_0x4e1948,_0xa7267a,_0x348697,_0x3f8627;return(_0x3f8627=(_0x348697=(_0xa7267a=this[_0x4092f1(0x2de)])[_0x4092f1(0x243)])==null?void 0x0:_0x348697[_0x4092f1(0x2ca)](_0xa7267a,_0x51ab05))!=null?_0x3f8627:_0x51ab05;}[_0x4e1948(0x394)](_0x3c0a73){var _0x2df66d=_0x4e1948,_0x16d8bb,_0x40d6b7,_0x44a212;return(_0x44a212=(_0x40d6b7=(_0x16d8bb=this['_handler'])[_0x2df66d(0x360)])==null?void 0x0:_0x40d6b7['call'](_0x16d8bb,_0x3c0a73))!=null?_0x44a212:_0x3c0a73;}['_syncEditingCollabCursor'](_0x134ea6){var _0x23dc2c=_0x4e1948,_0x57f7c3,_0x252dfc;if(this[_0x23dc2c(0x154)]===Q[_0x23dc2c(0x2eb)]){const {unitID:_0x423c9a,mutations:_0x61043b,memberID:_0x54db6a}=_0x134ea6,_0x258cbd=_0x61043b[0x0]['params'][_0x23dc2c(0x282)];Array[_0x23dc2c(0x41e)](_0x258cbd)&&_0x258cbd[_0x23dc2c(0x3d5)]>0x0&&((_0x252dfc=(_0x57f7c3=this[_0x23dc2c(0x2de)])[_0x23dc2c(0x263)])==null||_0x252dfc[_0x23dc2c(0x2ca)](_0x57f7c3,{'unitID':_0x423c9a,'memberID':_0x54db6a,'textRanges':_0x258cbd}));}}[_0x4e1948(0x1d6)](){var _0x49de7b=_0x4e1948,_0x5f3ca2;(_0x5f3ca2=this[_0x49de7b(0x1f3)])==null||_0x5f3ca2[_0x49de7b(0x1c4)](this[_0x49de7b(0x35e)],this[_0x49de7b(0x154)],this[_0x49de7b(0x233)],this[_0x49de7b(0x3ee)]);}[_0x4e1948(0x2d1)](){var _0x1554a6=_0x4e1948;return this[_0x1554a6(0x240)]['getCurrentRevOfUnit'](this[_0x1554a6(0x35e)]);}[_0x4e1948(0x34c)](){var _0x19e1a1=_0x4e1948;this['_revisionService'][_0x19e1a1(0x337)](this[_0x19e1a1(0x35e)]);}[_0x4e1948(0x310)](_0x271e3f){var _0xd2e1ec=_0x4e1948,_0x34a085;let _0x58b656=this['_transformRemoteChangesetByIMECache'](_0x271e3f);_0x58b656=this['_transformRemoteChangesetByStateCache'](_0x58b656);const _0x422012=_0x4b98c(_0x58b656['mutations'],this[_0xd2e1ec(0x393)],{'fromCollab':!0x0});if(!_0x422012[_0xd2e1ec(0x31f)])throw _0x422012['error']instanceof Error?_0x422012[_0xd2e1ec(0x354)]:new Error((_0x34a085=_0x422012[_0xd2e1ec(0x354)])!=null?_0x34a085:_0xd2e1ec(0x3b4));this[_0xd2e1ec(0x3c5)](_0x58b656),this['_transformStateCache'](_0x58b656),this[_0xd2e1ec(0x221)](_0x271e3f),this[_0xd2e1ec(0x413)](_0x58b656),this[_0xd2e1ec(0x1d5)](_0x58b656),this[_0xd2e1ec(0x34c)]();}}let Ne=class extends Ce{constructor(_0x3eb211,_0x322b4d,_0x382fff,_0x20ca9e,_0x4d0106,_0x5edfdc,_0x182c14,_0x5487da,_0x14d9d5,_0x1cb6be){var _0xd75616=_0x4e1948;super(_0x3eb211,_0x322b4d,null,[],_0x382fff,_0x182c14,_0x5edfdc,_0x20ca9e,_0x1cb6be),N(this,_0xd75616(0x2ef),_0xd75616(0x29a)),(this[_0xd75616(0x375)]=_0x4d0106,this[_0xd75616(0x15d)]=_0x5487da,this['_transformService']=_0x14d9d5,this[_0xd75616(0x241)]=_0x1cb6be);}[_0x4e1948(0x371)](_0x5e3073){var _0x19c891=_0x4e1948;const _0x4df752=this[_0x19c891(0x375)][_0x19c891(0x3fd)](oe,this['unitID'],this['type'],[_0x5e3073],this[_0x19c891(0x2de)]);return _0x4df752[_0x19c891(0x33a)](),_0x4df752[_0x19c891(0x1d6)](),_0x4df752;}['onRemoteChangeset'](_0x3f17e2){var _0x6f0fd6=_0x4e1948;if(this[_0x6f0fd6(0x252)](_0x3f17e2))return this[_0x6f0fd6(0x375)][_0x6f0fd6(0x3fd)](ee,this[_0x6f0fd6(0x35e)],this[_0x6f0fd6(0x154)],null,[],null,[_0x3f17e2],this[_0x6f0fd6(0x2de)]);try{const _0x51e589=this[_0x6f0fd6(0x192)]['transformMutationsWithChangeset'](_0x3f17e2,[_r]);if(_0x8ec843(_0x51e589)){const {c1Prime:_0xc760da}=_0x51e589;return this[_0x6f0fd6(0x310)](_0xc760da),this;}throw _0x51e589['error'];}catch(_0x3a5675){return this[_0x6f0fd6(0x15d)][_0x6f0fd6(0x354)](_0x3a5675),this[_0x6f0fd6(0x257)](!0x1);}}[_0x4e1948(0x257)](_0x2290ac){var _0x37617d=_0x4e1948;return this['_injector']['createInstance'](ue,this[_0x37617d(0x35e)],this[_0x37617d(0x154)],null,[],this['_handler'],_0x2290ac);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5e02a8=_0x4e1948;throw new Error(_0x5e02a8(0x195));}['onRemoteRetry'](){return this;}[_0x4e1948(0x14e)](){var _0x4795ea=_0x4e1948;return this['_injector'][_0x4795ea(0x3fd)](de,this[_0x4795ea(0x35e)],this[_0x4795ea(0x154)],null,[],this[_0x4795ea(0x2de)]);}[_0x4e1948(0x2ee)](){return this;}['resend'](){var _0x1c2d23=_0x4e1948;throw new Error(_0x1c2d23(0x1e3));}['fetchMiss'](){var _0x4f66ee=_0x4e1948;const _0x3d706e=this[_0x4f66ee(0x240)][_0x4f66ee(0x296)](this[_0x4f66ee(0x35e)]);return this[_0x4f66ee(0x2de)][_0x4f66ee(0x3b5)]({'from':_0x3d706e,'to':0x0}),this[_0x4f66ee(0x375)]['createInstance'](ee,this['unitID'],this[_0x4f66ee(0x154)],null,[],null,[],this[_0x4f66ee(0x2de)]);}};Ne=Te([A(0x3,_0x4bbdce(_0xcce484)),A(0x4,_0x4bbdce(_0x332fef)),A(0x5,_0x407842),A(0x6,_0x497898),A(0x7,_0x5f2578),A(0x8,_0x5c48a7),A(0x9,_0x4e1364(J))],Ne);let oe=class extends Ce{constructor(_0x19c764,_0x4e2b8d,_0x436ff8,_0x5c361d,_0x185286,_0x3ace46,_0x139bbe,_0x3b9bdb,_0x9c49d9,_0x741ed5,_0x56af87,_0x1d05fd,_0x6425d5,_0x179676){var _0x33f976=_0x4e1948;super(_0x19c764,_0x4e2b8d,null,_0x436ff8,_0x5c361d,_0x9c49d9,_0x6425d5,_0x3ace46,_0x179676),N(this,_0x33f976(0x2ef),'pending'),N(this,_0x33f976(0x401),null),N(this,'_sendingTimer',null),(this[_0x33f976(0x375)]=_0x185286,this[_0x33f976(0x342)]=_0x139bbe,this[_0x33f976(0x15d)]=_0x3b9bdb,this[_0x33f976(0x349)]=_0x741ed5,this[_0x33f976(0x192)]=_0x56af87,this['_univerInstanceService']=_0x1d05fd);}[_0x4e1948(0x371)](_0xc2877f){var _0x5178c3=_0x4e1948;return this[_0x5178c3(0x3ee)][_0x5178c3(0x2cb)](_0xc2877f),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3de2ad){var _0x4dd2fa=_0x4e1948;if(this['_checkMissing'](_0x3de2ad))return this[_0x4dd2fa(0x381)](),this[_0x4dd2fa(0x375)][_0x4dd2fa(0x3fd)](ee,this[_0x4dd2fa(0x35e)],this[_0x4dd2fa(0x154)],null,this['_pendingMutations'],null,[_0x3de2ad],this[_0x4dd2fa(0x2de)]);try{const _0x6a7440=this['_transformService']['transformMutationsWithChangeset'](_0x3de2ad,this['_pendingMutations']);if(_0x8ec843(_0x6a7440)){const {c1Prime:_0x3f4d60,m2Prime:_0x5ba058}=_0x6a7440;this[_0x4dd2fa(0x310)](_0x3f4d60);const _0x3e185b=this['_injector']['createInstance'](oe,this[_0x4dd2fa(0x35e)],this[_0x4dd2fa(0x154)],_0x5ba058,this[_0x4dd2fa(0x2de)]);this[_0x4dd2fa(0x381)]();const _0x8f6740=new Date()[_0x4dd2fa(0x268)](),_0x2a733e=this[_0x4dd2fa(0x401)]?Math['max'](this[_0x4dd2fa(0x401)]-_0x8f6740,0x0):this[_0x4dd2fa(0x1ef)]();return _0x3e185b[_0x4dd2fa(0x33a)](_0x2a733e),_0x3e185b;}throw _0x6a7440[_0x4dd2fa(0x354)];}catch(_0x55ac30){return this[_0x4dd2fa(0x15d)][_0x4dd2fa(0x354)](_0x55ac30),this[_0x4dd2fa(0x257)](!0x1);}}[_0x4e1948(0x330)](){var _0x15adb9=_0x4e1948;throw new Error(_0x15adb9(0x3ad));}[_0x4e1948(0x215)](){var _0x161891=_0x4e1948;throw new Error(_0x161891(0x28c));}[_0x4e1948(0x28f)](){return this;}[_0x4e1948(0x14e)](){var _0x3add39=_0x4e1948;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x3add39(0x35e)],this[_0x3add39(0x154)],null,this['_pendingMutations'],this[_0x3add39(0x2de)]);}[_0x4e1948(0x2ee)](){return this;}[_0x4e1948(0x33a)](_0x2cf46c){var _0x41fc2f=_0x4e1948;const _0x3910f2=_0x2cf46c!=null?_0x2cf46c:this[_0x41fc2f(0x1ef)]();this['_scheduleCompleteTimestamp']=new Date()[_0x41fc2f(0x268)]()+_0x3910f2,this[_0x41fc2f(0x344)]=setTimeout(()=>{var _0x156cac=_0x41fc2f;this[_0x156cac(0x381)]();let _0x105ac8=null;switch(this[_0x156cac(0x154)]){case Q[_0x156cac(0x43a)]:{_0x105ac8=qt(this[_0x156cac(0x3ee)],this['unitID'],this['_univerInstanceService'],this[_0x156cac(0x240)],this['_memberService']);break;}case Q[_0x156cac(0x2eb)]:{this['_pendingMutations'][_0x156cac(0x1b9)](_0x5d1f0b=>_0x5d1f0b['id']===_0x1c92f4['id'])?_0x105ac8=hr(this[_0x156cac(0x3ee)],this[_0x156cac(0x35e)],this[_0x156cac(0x153)],this[_0x156cac(0x240)],this[_0x156cac(0x342)]):_0x105ac8=qt(this[_0x156cac(0x3ee)],this[_0x156cac(0x35e)],this[_0x156cac(0x153)],this['_revisionService'],this[_0x156cac(0x342)]);break;}default:throw new Error(_0x156cac(0x1c3)+this[_0x156cac(0x154)]+_0x156cac(0x3e9));}const {changeset:_0x2165ee,pendingMutations:_0x243695}=_0x105ac8;this[_0x156cac(0x2de)][_0x156cac(0x3d6)](_0x2165ee);const _0x33186b=_0x243695[_0x156cac(0x3d5)]?this['_injector'][_0x156cac(0x3fd)](ae,this[_0x156cac(0x35e)],this['type'],_0x2165ee,_0x243695,this[_0x156cac(0x2de)],void 0x0):this[_0x156cac(0x375)]['createInstance'](le,this[_0x156cac(0x35e)],this['type'],_0x2165ee,this[_0x156cac(0x2de)]);_0x33186b['_updateLocalCache'](),this[_0x156cac(0x2de)][_0x156cac(0x1af)](this,_0x33186b);},_0x3910f2);}[_0x4e1948(0x1ef)](){var _0x4f4968=_0x4e1948,_0x254e39;const _0x51421b=this['_configService'][_0x4f4968(0x2bf)](q);return(_0x254e39=_0x51421b==null?void 0x0:_0x51421b[_0x4f4968(0x2a0)])!=null?_0x254e39:In;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x2b91a2=_0x4e1948;this[_0x2b91a2(0x344)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2b91a2(0x344)]=null);}[_0x4e1948(0x257)](_0x16cc50){var _0x5290bd=_0x4e1948;return this[_0x5290bd(0x381)](),this[_0x5290bd(0x375)][_0x5290bd(0x3fd)](ue,this['unitID'],this[_0x5290bd(0x154)],null,this['_pendingMutations'],this[_0x5290bd(0x2de)],_0x16cc50);}};oe=Te([A(0x4,_0x4bbdce(_0x332fef)),A(0x5,_0x4bbdce(_0xcce484)),A(0x6,_0x4bbdce(xe)),A(0x7,_0x5f2578),A(0x8,_0x497898),A(0x9,_0x5d9632),A(0xa,_0x5c48a7),A(0xb,_0x2778df),A(0xc,_0x407842),A(0xd,_0x4e1364(J))],oe);let le=class extends Ce{constructor(_0x1141cf,_0x45e056,_0x31e560,_0x2a472c,_0x1804b3,_0x58bda5,_0x21c398,_0x2fc60b,_0xbca2e7,_0x1d7aff,_0x4106c4){var _0x1d3c4b=_0x4e1948;super(_0x1141cf,_0x45e056,_0x31e560,[],_0x2a472c,_0x21c398,_0x1d7aff,_0x58bda5,_0x4106c4),N(this,_0x1d3c4b(0x2ef),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x1d3c4b(0x3db)),N(this,_0x1d3c4b(0x267)),(this[_0x1d3c4b(0x375)]=_0x1804b3,this[_0x1d3c4b(0x15d)]=_0x2fc60b,this[_0x1d3c4b(0x192)]=_0xbca2e7);}['appendMutation'](_0x13b1a7){var _0x19b436=_0x4e1948;this[_0x19b436(0x381)]();const _0x266c13=this['_injector']['createInstance'](ae,this[_0x19b436(0x35e)],this['type'],this['_awaitingChangeset'],[_0x13b1a7],this[_0x19b436(0x2de)],this[_0x19b436(0x3db)]);return _0x266c13[_0x19b436(0x1d6)](),_0x266c13;}[_0x4e1948(0x174)](_0x15cf47){var _0x3bf1e6=_0x4e1948;if(this[_0x3bf1e6(0x252)](_0x15cf47))return this[_0x3bf1e6(0x381)](),this[_0x3bf1e6(0x375)][_0x3bf1e6(0x3fd)](ee,this[_0x3bf1e6(0x35e)],this['type'],this['_awaitingChangeset'],[],null,[_0x15cf47],this['_handler']);try{const _0xb038bd=this[_0x3bf1e6(0x192)][_0x3bf1e6(0x3c9)]([_0x15cf47],[this['_awaitingChangeset']],!0x1);if(_0x539f43(_0xb038bd)){const {c1Prime:_0x56bb21,c2Prime:_0xdd90cb}=_0xb038bd;this[_0x3bf1e6(0x310)](_0x56bb21[0x0]),_0xdd90cb[0x0]['baseRev']=this[_0x3bf1e6(0x2d1)](),this[_0x3bf1e6(0x381)]();const _0x2922f0=this['_injector'][_0x3bf1e6(0x3fd)](le,this[_0x3bf1e6(0x35e)],this[_0x3bf1e6(0x154)],_0xdd90cb[0x0],this['_handler']);return _0x2922f0[_0x3bf1e6(0x1d6)](),_0x2922f0;}return this['_onConflict'](!0x1);}catch(_0x3188f7){return this[_0x3bf1e6(0x15d)]['error'](_0x3188f7),this['_onConflict'](!0x1);}}[_0x4e1948(0x330)](_0x49464e){var _0x572573=_0x4e1948;this[_0x572573(0x381)]();const _0x388025=this[_0x572573(0x240)][_0x572573(0x296)](this['unitID']);if(_0x49464e['revision']<_0x388025-0x1)return this;if(this[_0x572573(0x252)](_0x49464e))return this[_0x572573(0x375)][_0x572573(0x3fd)](ee,this[_0x572573(0x35e)],this[_0x572573(0x154)],null,[],this[_0x572573(0x233)],[],this[_0x572573(0x2de)]);this[_0x572573(0x34c)]();const _0xccabc=this[_0x572573(0x375)][_0x572573(0x3fd)](Ne,this[_0x572573(0x35e)],this[_0x572573(0x154)],this[_0x572573(0x2de)]);return _0xccabc[_0x572573(0x1d6)](),_0xccabc;}[_0x4e1948(0x215)](_0x442e65){return this['_onConflict'](!!(_0x442e65!=null&&_0x442e65['isPermissionRej']));}[_0x4e1948(0x28f)](_0x8fadd4){var _0x39cac2=_0x4e1948;return this[_0x39cac2(0x409)]>Oi?this['toggleOffline']():(this[_0x39cac2(0x3db)]=bi(this[_0x39cac2(0x409)],{'timeout':this[_0x39cac2(0x409)],'reqId':_0x8fadd4['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x873ef5,timeout:_0x3697a9})=>{this['_resendWithTimeout'](_0x873ef5,_0x3697a9);}),this);}[_0x4e1948(0x14e)](){var _0x1f4267=_0x4e1948;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x1f4267(0x35e)],this['type'],this[_0x1f4267(0x233)],[],this[_0x1f4267(0x2de)]);}[_0x4e1948(0x2ee)](){return this;}['resend'](){var _0x11309b=_0x4e1948;this[_0x11309b(0x2de)][_0x11309b(0x3d6)](this[_0x11309b(0x233)]);}['_onConflict'](_0xcbbf65){var _0x362b23=_0x4e1948;return this[_0x362b23(0x381)](),this[_0x362b23(0x375)][_0x362b23(0x3fd)](ue,this[_0x362b23(0x35e)],this['type'],this['_awaitingChangeset'],[],this[_0x362b23(0x2de)],_0xcbbf65);}[_0x4e1948(0x213)](_0x572cf6,_0x339a84){var _0x1f0f57=_0x4e1948,_0x48211b;_0x572cf6===((_0x48211b=this['_awaitingChangeset'])==null?void 0x0:_0x48211b[_0x1f0f57(0x214)])&&(this[_0x1f0f57(0x304)](),this[_0x1f0f57(0x409)]=_0x339a84===0x0?0x3e8:_0x339a84*0x2);}[_0x4e1948(0x381)](){var _0xd162d6=_0x4e1948,_0x57f961;(_0x57f961=this[_0xd162d6(0x267)])==null||_0x57f961[_0xd162d6(0x332)](),this['_resendTimeout']=0x0;}};le=Te([A(0x4,_0x4bbdce(_0x332fef)),A(0x5,_0x4bbdce(_0xcce484)),A(0x6,_0x497898),A(0x7,_0x5f2578),A(0x8,_0x5c48a7),A(0x9,_0x407842),A(0xa,_0x4e1364(J))],le);let ae=class extends Ce{constructor(_0x325649,_0x1fb40e,_0x46f134,_0xb43180,_0x162216,_0x15e8b5,_0x3e23c8,_0x2005d8,_0x2c49a6,_0x2bdb58,_0x3eb0d0,_0x5af6de,_0x1bbe95){var _0x55328e=_0x4e1948;super(_0x325649,_0x1fb40e,_0x46f134,_0xb43180,_0x162216,_0x2c49a6,_0x5af6de,_0x2005d8,_0x1bbe95),N(this,_0x55328e(0x2ef),_0x55328e(0x1fe)),N(this,_0x55328e(0x409),0x0),N(this,_0x55328e(0x3db)),N(this,'_sender'),(this[_0x55328e(0x375)]=_0x3e23c8,this[_0x55328e(0x15d)]=_0x2bdb58,this[_0x55328e(0x192)]=_0x3eb0d0,this['localCacheService']=_0x1bbe95,_0x15e8b5&&(this[_0x55328e(0x3db)]=_0x15e8b5,this[_0x55328e(0x267)]=this['_resendTimer'][_0x55328e(0x2ea)](({reqId:_0x4550d1,timeout:_0x27b7e0})=>{var _0x588fa3=_0x55328e;this[_0x588fa3(0x213)](_0x4550d1,_0x27b7e0);})));}['appendMutation'](_0x25ca01){var _0x4dcaaf=_0x4e1948;return this[_0x4dcaaf(0x3ee)][_0x4dcaaf(0x2cb)](_0x25ca01),this;}['onRemoteChangeset'](_0x1cbf7d){var _0x5a46e2=_0x4e1948;if(this[_0x5a46e2(0x252)](_0x1cbf7d))return this[_0x5a46e2(0x381)](),this['_injector'][_0x5a46e2(0x3fd)](ee,this[_0x5a46e2(0x35e)],this['type'],this[_0x5a46e2(0x233)],this[_0x5a46e2(0x3ee)],null,[_0x1cbf7d],this[_0x5a46e2(0x2de)]);try{const _0x1f7d13=this[_0x5a46e2(0x192)][_0x5a46e2(0x3c9)]([_0x1cbf7d],[this[_0x5a46e2(0x233)]],!0x1);if(_0x539f43(_0x1f7d13)){const {c1Prime:_0x972f17,c2Prime:_0x95c081}=_0x1f7d13,_0x3a470c=this[_0x5a46e2(0x192)]['transformMutationsWithChangeset'](_0x972f17[0x0],this[_0x5a46e2(0x3ee)]);if(_0x8ec843(_0x3a470c)){const {c1Prime:_0xf75ba7,m2Prime:_0x89ecf}=_0x3a470c;return this[_0x5a46e2(0x310)](_0xf75ba7),_0x95c081[0x0]['baseRev']=this[_0x5a46e2(0x2d1)](),this['_clearScheduledTask'](),this[_0x5a46e2(0x375)][_0x5a46e2(0x3fd)](ae,this[_0x5a46e2(0x35e)],this['type'],_0x95c081[0x0],_0x89ecf,this[_0x5a46e2(0x2de)],void 0x0);}throw _0x3a470c[_0x5a46e2(0x354)];}throw _0x1f7d13[_0x5a46e2(0x354)];}catch(_0x3a36c0){return this['_logService'][_0x5a46e2(0x354)](_0x3a36c0),this['_onConflict'](!0x1);}}[_0x4e1948(0x330)](_0x354574){var _0x2b4bd6=_0x4e1948;if(this[_0x2b4bd6(0x381)](),this['_checkMissing'](_0x354574))return this['_injector'][_0x2b4bd6(0x3fd)](ee,this[_0x2b4bd6(0x35e)],this[_0x2b4bd6(0x154)],null,this[_0x2b4bd6(0x3ee)],this['_awaitingChangeset'],[],this[_0x2b4bd6(0x2de)]);this[_0x2b4bd6(0x34c)]();const _0x49489c=this['_injector'][_0x2b4bd6(0x3fd)](oe,this[_0x2b4bd6(0x35e)],this['type'],this[_0x2b4bd6(0x3ee)],this[_0x2b4bd6(0x2de)]);return _0x49489c[_0x2b4bd6(0x33a)](),_0x49489c['_updateLocalCache'](),_0x49489c;}[_0x4e1948(0x215)](_0x33b2eb){var _0x3c94aa=_0x4e1948;return this[_0x3c94aa(0x257)](!!(_0x33b2eb!=null&&_0x33b2eb[_0x3c94aa(0x1d0)]));}[_0x4e1948(0x28f)](_0x236a4e){var _0x20d25b=_0x4e1948;return this['_resendTimeout']>Oi?this['toggleOffline']():(this[_0x20d25b(0x3db)]=bi(this[_0x20d25b(0x409)],{'timeout':this[_0x20d25b(0x409)],'reqId':_0x236a4e[_0x20d25b(0x214)]}),this[_0x20d25b(0x267)]=this[_0x20d25b(0x3db)]['subscribe'](({reqId:_0xaf1df6,timeout:_0x648c9d})=>{var _0x463a4e=_0x20d25b;this[_0x463a4e(0x213)](_0xaf1df6,_0x648c9d);}),this);}['toggleOffline'](){var _0x539312=_0x4e1948;return this['_clearScheduledTask'](),this['_injector'][_0x539312(0x3fd)](de,this[_0x539312(0x35e)],this[_0x539312(0x154)],this['_awaitingChangeset'],this[_0x539312(0x3ee)],this[_0x539312(0x2de)]);}['toggleOnline'](){return this;}[_0x4e1948(0x304)](){var _0xcf8c5c=_0x4e1948;this[_0xcf8c5c(0x2de)][_0xcf8c5c(0x3d6)](this[_0xcf8c5c(0x233)]);}['_onConflict'](_0x31afc1){var _0xfee7bd=_0x4e1948;return this[_0xfee7bd(0x381)](),this[_0xfee7bd(0x375)]['createInstance'](ue,this[_0xfee7bd(0x35e)],this[_0xfee7bd(0x154)],null,this[_0xfee7bd(0x3ee)],this[_0xfee7bd(0x2de)],_0x31afc1);}[_0x4e1948(0x213)](_0x49724b,_0x2a5c47){var _0x64623c=_0x4e1948,_0x1dee10;_0x49724b===((_0x1dee10=this['_awaitingChangeset'])==null?void 0x0:_0x1dee10[_0x64623c(0x214)])&&(this['resend'](),this['_resendTimeout']=_0x2a5c47===0x0?0x3e8:_0x2a5c47*0x2);}['_clearScheduledTask'](){var _0x1dcfab=_0x4e1948,_0x15b941;(_0x15b941=this[_0x1dcfab(0x267)])==null||_0x15b941['unsubscribe'](),this[_0x1dcfab(0x409)]=0x0;}};ae=Te([A(0x6,_0x4bbdce(_0x332fef)),A(0x7,_0x4bbdce(_0xcce484)),A(0x8,_0x497898),A(0x9,_0x5f2578),A(0xa,_0x5c48a7),A(0xb,_0x407842),A(0xc,_0x4e1364(J))],ae);let ue=class extends Ce{constructor(_0x5b37bd,_0x140c3d,_0x13aef4,_0x56193a,_0x2345d6,_0x372881=!0x1,_0x86bdf5,_0x2a0393,_0xfda7b8,_0x58df43,_0x443624,_0xa73739,_0x3bb6ea){var _0x32022e=_0x4e1948;super(_0x5b37bd,_0x140c3d,_0x13aef4,_0x56193a,_0x2345d6,_0x2a0393,_0xfda7b8,_0x58df43,_0x3bb6ea),N(this,'status',_0x32022e(0x23c)),(this[_0x32022e(0x365)]=_0x372881,this['_permissionService']=_0x86bdf5,this['_localeService']=_0x443624,this['_collaborationUIEventService']=_0xa73739,this[_0x32022e(0x241)]=_0x3bb6ea,this[_0x32022e(0x15c)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x4e1948(0x215)](){return this;}['onRemoteRetry'](){return this;}[_0x4e1948(0x14e)](){return this;}[_0x4e1948(0x2ee)](){return this;}[_0x4e1948(0x304)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4e1948(0x177)](){var _0x49cb72=_0x4e1948,_0x517c99;(_0x517c99=this[_0x49cb72(0x1f3)])==null||_0x517c99[_0x49cb72(0x1c4)](this[_0x49cb72(0x35e)],this[_0x49cb72(0x154)],null,[]);}[_0x4e1948(0x15c)](){var _0x14da71=_0x4e1948;this[_0x14da71(0x365)]?this[_0x14da71(0x3b7)][_0x14da71(0x284)]({'id':se[_0x14da71(0x3ca)]}):this[_0x14da71(0x3b7)][_0x14da71(0x284)]({'id':se['CONFLICT']});}[_0x4e1948(0x24e)](){var _0x8b03e6=_0x4e1948;this[_0x8b03e6(0x319)][_0x8b03e6(0x2bc)](new _0x2ee429(this[_0x8b03e6(0x35e)])['id'],!0x1);}};ue=Te([A(0x6,_0x4bbdce(_0x4f00c2)),A(0x7,_0x497898),A(0x8,_0x407842),A(0x9,_0x4bbdce(_0xcce484)),A(0xa,_0x4bbdce(_0x1a0963)),A(0xb,_0x4bbdce(pe)),A(0xc,_0x4e1364(J))],ue);let de=class extends Ce{constructor(_0x50a648,_0x5552dc,_0x1e32e1,_0x3878cf,_0x4936d8,_0x1fcb70,_0x5b7fce,_0x34ebbc,_0x222210,_0x494bbf){var _0x5ec4ea=_0x4e1948;super(_0x50a648,_0x5552dc,_0x1e32e1,_0x3878cf,_0x4936d8,_0x34ebbc,_0x222210,_0x5b7fce,_0x494bbf),N(this,'status','offline'),this[_0x5ec4ea(0x375)]=_0x1fcb70;}[_0x4e1948(0x371)](_0x1bc4aa){var _0x18186e=_0x4e1948;return this['_pendingMutations'][_0x18186e(0x2cb)](_0x1bc4aa),this[_0x18186e(0x1d6)](),this;}[_0x4e1948(0x174)](_0x36bd2f){var _0x396e6f=_0x4e1948;throw new Error(_0x396e6f(0x231));}[_0x4e1948(0x330)](){var _0x3b76fb=_0x4e1948;throw new Error(_0x3b76fb(0x343));}['onRemoteRej'](){var _0x3ff9a5=_0x4e1948;throw new Error(_0x3ff9a5(0x32c));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x38f5bb=_0x4e1948;const {_injector:_0x1b6a88,_pendingMutations:_0x6845ac,_awaitingChangeset:_0x3a883a,unitID:_0x30f1bf,_handler:_0x3ebb48,type:_0x58693f}=this,_0x4857b2=yi(_0x1b6a88,_0x30f1bf,_0x58693f,_0x3a883a,_0x6845ac,_0x3ebb48);return _0x4857b2 instanceof oe?_0x4857b2['_schedule']():(_0x4857b2 instanceof ae||_0x4857b2 instanceof le)&&_0x4857b2[_0x38f5bb(0x304)](),_0x4857b2;}[_0x4e1948(0x304)](){var _0x5adb56=_0x4e1948;throw new Error(_0x5adb56(0x27b));}};de=Te([A(0x5,_0x4bbdce(_0x332fef)),A(0x6,_0x4bbdce(_0xcce484)),A(0x7,_0x497898),A(0x8,_0x407842),A(0x9,_0x4e1364(J))],de);let ee=class extends Ce{constructor(_0x116ec3,_0x475239,_0x4f8671,_0xa83c75,_0xf81f28,_0x5c9a7e,_0x41ef86,_0x3a15ed,_0x57366f,_0x5541a0,_0x5e6b6f,_0x662fe2,_0x217c89,_0x48e2f9){var _0xf594a=_0x4e1948;super(_0x116ec3,_0x475239,_0x4f8671,_0xa83c75,_0x41ef86,_0x5e6b6f,_0x662fe2,_0x57366f,_0x48e2f9),N(this,_0xf594a(0x2ef),_0xf594a(0x26f)),(this[_0xf594a(0x1dd)]=_0xf81f28,this['_queuedRemoteChangesets']=_0x5c9a7e,this['_injector']=_0x3a15ed,this[_0xf594a(0x15d)]=_0x5541a0,this[_0xf594a(0x192)]=_0x217c89,this[_0xf594a(0x241)]=_0x48e2f9);}[_0x4e1948(0x2da)](_0x1c39c9){var _0x34d2ad=_0x4e1948;try{const _0x2c39c1=[..._0x1c39c9,...this[_0x34d2ad(0x3ea)]],_0x136911=[this[_0x34d2ad(0x233)]||this[_0x34d2ad(0x1dd)]][_0x34d2ad(0x378)](_0x2d90e4=>!!_0x2d90e4);let _0x38c668,_0xc1bbc2;if(_0x136911[_0x34d2ad(0x3d5)]){const _0x16649e=this[_0x34d2ad(0x192)][_0x34d2ad(0x3c9)](_0x2c39c1,_0x136911,!0x1);if(!_0x539f43(_0x16649e))throw _0x16649e[_0x34d2ad(0x354)];_0x38c668=_0x16649e[_0x34d2ad(0x3c7)],_0xc1bbc2=_0x16649e[_0x34d2ad(0x355)];}else _0x38c668=_0x2c39c1,_0xc1bbc2=[];let _0x12376b=this[_0x34d2ad(0x3ee)];_0x38c668[_0x34d2ad(0x3b1)](_0x4efe83=>{var _0x7e63cf=_0x34d2ad;let _0x4b7b13;if(_0x12376b[_0x7e63cf(0x3d5)]){const _0xacc722=this[_0x7e63cf(0x192)]['transformMutationsWithChangeset'](_0x4efe83,_0x12376b);if(!_0x8ec843(_0xacc722))throw _0xacc722[_0x7e63cf(0x354)];_0x4b7b13=_0xacc722[_0x7e63cf(0x3c7)],_0x12376b=_0xacc722[_0x7e63cf(0x2d8)];}else _0x4b7b13=_0x4efe83;this['_executeRemoteChangeset'](_0x4b7b13);}),this[_0x34d2ad(0x1dd)]&&this[_0x34d2ad(0x34c)](),this[_0x34d2ad(0x233)]&&_0xc1bbc2[_0x34d2ad(0x3d5)]&&(_0xc1bbc2[0x0]['baseRev']=this[_0x34d2ad(0x2d1)]());let _0x1509bb;if(this['_awaitingChangeset']&&_0x12376b[_0x34d2ad(0x3d5)]!==0x0)_0x1509bb=this[_0x34d2ad(0x375)]['createInstance'](ae,this[_0x34d2ad(0x35e)],this['type'],_0xc1bbc2[0x0],_0x12376b,this[_0x34d2ad(0x2de)],void 0x0);else{if(this[_0x34d2ad(0x233)]&&_0x12376b[_0x34d2ad(0x3d5)]===0x0)_0xc1bbc2[0x0][_0x34d2ad(0x170)]=this[_0x34d2ad(0x2d1)](),_0x1509bb=this[_0x34d2ad(0x375)][_0x34d2ad(0x3fd)](le,this[_0x34d2ad(0x35e)],this[_0x34d2ad(0x154)],_0xc1bbc2[0x0],this[_0x34d2ad(0x2de)]);else{if(_0x12376b[_0x34d2ad(0x3d5)]!==0x0){const _0x208da4=this[_0x34d2ad(0x375)][_0x34d2ad(0x3fd)](oe,this[_0x34d2ad(0x35e)],this['type'],_0x12376b,this[_0x34d2ad(0x2de)]);_0x208da4[_0x34d2ad(0x33a)](),_0x1509bb=_0x208da4;}else _0x1509bb=this[_0x34d2ad(0x375)][_0x34d2ad(0x3fd)](Ne,this[_0x34d2ad(0x35e)],this['type'],this[_0x34d2ad(0x2de)]);}}return _0x1509bb[_0x34d2ad(0x1d6)](),_0x1509bb;}catch(_0x12a237){return this[_0x34d2ad(0x15d)][_0x34d2ad(0x354)](_0x34d2ad(0x42c),_0x34d2ad(0x41b),_0x12a237),this['_injector']['createInstance'](ue,this[_0x34d2ad(0x35e)],this[_0x34d2ad(0x154)],this['_awaitingChangeset'],this[_0x34d2ad(0x3ee)],this[_0x34d2ad(0x2de)],!0x1);}}[_0x4e1948(0x304)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4e1948(0x371)](_0x22fc74){var _0x59b963=_0x4e1948;return this[_0x59b963(0x3ee)][_0x59b963(0x2cb)](_0x22fc74),this;}[_0x4e1948(0x174)](_0x5bf166){var _0x170eb3=_0x4e1948;return this[_0x170eb3(0x3ea)][_0x170eb3(0x2cb)](_0x5bf166),this;}[_0x4e1948(0x330)](_0x286064){var _0x48c890=_0x4e1948;if(this['_awaitingChangeset'])return this[_0x48c890(0x1dd)]=this[_0x48c890(0x233)],this[_0x48c890(0x233)]=null,this;throw new Error(_0x48c890(0x229));}[_0x4e1948(0x215)](_0x34c7e5){var _0x4bca14=_0x4e1948;return this[_0x4bca14(0x257)](!!(_0x34c7e5!=null&&_0x34c7e5[_0x4bca14(0x1d0)]));}[_0x4e1948(0x28f)](){return this;}[_0x4e1948(0x14e)](){var _0x45ea8b=_0x4e1948;return this[_0x45ea8b(0x375)][_0x45ea8b(0x3fd)](de,this['unitID'],this['type'],this[_0x45ea8b(0x233)],this['_pendingMutations'],this[_0x45ea8b(0x2de)]);}[_0x4e1948(0x2ee)](){return this;}[_0x4e1948(0x257)](_0x592813){var _0x1b76cf=_0x4e1948;return this[_0x1b76cf(0x375)][_0x1b76cf(0x3fd)](ue,this[_0x1b76cf(0x35e)],this['type'],this[_0x1b76cf(0x233)],this[_0x1b76cf(0x3ee)],this['_handler'],_0x592813);}};ee=Te([A(0x7,_0x4bbdce(_0x332fef)),A(0x8,_0x4bbdce(_0xcce484)),A(0x9,_0x5f2578),A(0xa,_0x497898),A(0xb,_0x407842),A(0xc,_0x5c48a7),A(0xd,_0x4e1364(J))],ee);function yi(_0x5440b0,_0x2c23e8,_0x2af96c,_0x51c109,_0x2b602a,_0x5c8a08){var _0x52f91c=_0x4e1948;return _0x51c109&&_0x2b602a[_0x52f91c(0x3d5)]?_0x5440b0[_0x52f91c(0x3fd)](ae,_0x2c23e8,_0x2af96c,_0x51c109,_0x2b602a,_0x5c8a08,void 0x0):_0x51c109?_0x5440b0[_0x52f91c(0x3fd)](le,_0x2c23e8,_0x2af96c,_0x51c109,_0x5c8a08):_0x2b602a[_0x52f91c(0x3d5)]?_0x5440b0[_0x52f91c(0x3fd)](oe,_0x2c23e8,_0x2af96c,_0x2b602a,_0x5c8a08):_0x5440b0['createInstance'](Ne,_0x2c23e8,_0x2af96c,_0x5c8a08);}var dr=Object[_0x4e1948(0x19c)],fr=Object['getOwnPropertyDescriptor'],xt=(_0x533b37,_0x2e9841,_0x17de57,_0x1a4fe5)=>{var _0x23575a=_0x4e1948;for(var _0x5936c5=_0x1a4fe5>0x1?void 0x0:_0x1a4fe5?fr(_0x2e9841,_0x17de57):_0x2e9841,_0x57d7b0=_0x533b37[_0x23575a(0x3d5)]-0x1,_0x355fae;_0x57d7b0>=0x0;_0x57d7b0--)(_0x355fae=_0x533b37[_0x57d7b0])&&(_0x5936c5=(_0x1a4fe5?_0x355fae(_0x2e9841,_0x17de57,_0x5936c5):_0x355fae(_0x5936c5))||_0x5936c5);return _0x1a4fe5&&_0x5936c5&&dr(_0x2e9841,_0x17de57,_0x5936c5),_0x5936c5;},k=(_0x23637c,_0x40b9ab)=>(_0x4ebe98,_0x21abe1)=>_0x40b9ab(_0x4ebe98,_0x21abe1,_0x23637c);let nt=class extends _0x3da94e{constructor(_0x12b2b7,_0x30ff30,_0x305d62,_0x1a0bdb,_0x74a37,_0x49fab4,_0x509be6,_0x24e805,_0x1be6de,_0x1f24d3,_0x17f42a,_0x36cb66,_0x38b339){var _0x53e810=_0x4e1948;super(),N(this,_0x53e810(0x1e5),new _0x218903(null)),N(this,_0x53e810(0x261),this[_0x53e810(0x1e5)]['asObservable']()),N(this,_0x53e810(0x1a5)),N(this,_0x53e810(0x2dc),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x53e810(0x18d),this[_0x53e810(0x261)]['pipe'](_0x1fe034(_0xb4c0a3=>_0xb4c0a3?_0xb4c0a3['status']:Ri['OFFLINE']),_0x4be788(0x1))),N(this,_0x53e810(0x32f),!0x1),N(this,_0x53e810(0x36c),[]),(this[_0x53e810(0x35e)]=_0x12b2b7,this['session']=_0x30ff30,this[_0x53e810(0x42b)]=_0x305d62,this['_injector']=_0x1a0bdb,this[_0x53e810(0x269)]=_0x74a37,this['_localeService']=_0x49fab4,this[_0x53e810(0x240)]=_0x509be6,this['_eventService']=_0x24e805,this[_0x53e810(0x15d)]=_0x1be6de,this['_commandService']=_0x1f24d3,this['_permissionService']=_0x17f42a,this[_0x53e810(0x3c0)]=_0x36cb66,this[_0x53e810(0x1f3)]=_0x38b339);}get[_0x4e1948(0x2c4)](){var _0x1d0600=_0x4e1948;return this[_0x1d0600(0x1a5)];}async[_0x4e1948(0x3b6)](){var _0x2aead4=_0x4e1948;if(this[_0x2aead4(0x2c4)])throw new Error(_0x2aead4(0x21c));await this[_0x2aead4(0x21f)]();}[_0x4e1948(0x190)](){var _0x400ed9=_0x4e1948;return this[_0x400ed9(0x2dc)]=!0x0,_0x157115(()=>{var _0x132ba8=_0x400ed9;this[_0x132ba8(0x2dc)]=!0x1,this[_0x132ba8(0x2a9)]();});}[_0x4e1948(0x210)](_0x4c9b06){var _0x334b35=_0x4e1948;this[_0x334b35(0x34f)](_0x4c9b06);}['_updateState'](_0x5c52f8){var _0x279804=_0x4e1948;this[_0x279804(0x1a5)]=_0x5c52f8,this['_state$'][_0x279804(0x254)](_0x5c52f8);}async[_0x4e1948(0x21f)](){var _0x27c76b=_0x4e1948,_0x40b572;this['_updateState'](await this['_createInitialState']()),this[_0x27c76b(0x3c0)]&&((_0x40b572=this[_0x27c76b(0x3c0)])==null||_0x40b572[_0x27c76b(0x32b)](this['unitID']),this[_0x27c76b(0x21a)](this[_0x27c76b(0x3c0)][_0x27c76b(0x218)](this[_0x27c76b(0x35e)])[_0x27c76b(0x2ea)](_0x5d4797=>{var _0x36cbf2=_0x27c76b;this[_0x36cbf2(0x15d)][_0x36cbf2(0x3e8)]('[CollaborationEntity]',_0x36cbf2(0x262),_0x5d4797),_0x5d4797===Ci[_0x36cbf2(0x1c9)]?(this[_0x36cbf2(0x1a1)][_0x36cbf2(0x284)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x36cbf2(0x319)]['updatePermissionPoint'](new _0x2ee429(this[_0x36cbf2(0x35e)])['id'],!0x1),this[_0x36cbf2(0x319)]['setShowComponents'](!0x1)):(this[_0x36cbf2(0x319)]['updatePermissionPoint'](new _0x2ee429(this['unitID'])['id'],!0x0),this[_0x36cbf2(0x319)]['setShowComponents'](!0x0));})));let _0x3ef256=!0x1;return this['disposeWithMe'](this[_0x27c76b(0x334)][_0x27c76b(0x3da)][_0x27c76b(0x2ea)](_0x4fd5b7=>{var _0x137c51=_0x27c76b;_0x4fd5b7===Ee[_0x137c51(0x26a)]?this[_0x137c51(0x42e)](_0x3ef256):_0x4fd5b7===Ee['OFFLINE']&&(_0x3ef256=!0x0,this[_0x137c51(0x1bd)]());})),this[_0x27c76b(0x21a)](this[_0x27c76b(0x334)][_0x27c76b(0x236)][_0x27c76b(0x2ea)](_0xb7b6c4=>{var _0xa23d13=_0x27c76b;try{switch(_0xb7b6c4['eventID']){case _0x463faf[_0xa23d13(0x237)]:{this['_onRemoteChangeset'](_0x4ff855(_0xb7b6c4[_0xa23d13(0x351)]));break;}case _0x463faf[_0xa23d13(0x359)]:{this[_0xa23d13(0x1e8)](_0xb7b6c4[_0xa23d13(0x351)]);break;}case _0x463faf[_0xa23d13(0x19f)]:{this[_0xa23d13(0x1d1)]();break;}case _0x463faf['CHANGESET_SHOULD_RETRY']:{this[_0xa23d13(0x439)](_0xb7b6c4['data']);break;}case _0x463faf[_0xa23d13(0x183)]:{this[_0xa23d13(0x2a4)](_0xb7b6c4[_0xa23d13(0x351)][_0xa23d13(0x1c7)][_0xa23d13(0x2c0)](_0x43b572=>_0x4ff855(_0x43b572)));break;}case _0x463faf[_0xa23d13(0x191)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x463faf[_0xa23d13(0x1ae)]:break;}}catch(_0xc1d928){throw console['error']('Error\x20on\x20receiving\x20event',_0xc1d928),_0xc1d928;}})),this['_state'];}[_0x4e1948(0x3eb)](){var _0x34c74e=_0x4e1948;this[_0x34c74e(0x32f)]=!0x1;}['_lockTransition'](){var _0x24ec96=_0x4e1948;if(this['_transitionLocked'])throw new Error(_0x24ec96(0x1f0));this[_0x24ec96(0x32f)]=!0x0;}[_0x4e1948(0x34f)](_0x449f2a){var _0x545f82=_0x4e1948;this[_0x545f82(0x3ae)](),this['_updateState'](this['_state'][_0x545f82(0x371)](_0x449f2a)),this[_0x545f82(0x3eb)]();}['_onRemoteChangeset'](_0x618065){var _0x4d1f04=_0x4e1948;if(!(_0x618065[_0x4d1f04(0x2f3)]<=this[_0x4d1f04(0x240)][_0x4d1f04(0x296)](this[_0x4d1f04(0x35e)]))){if(this[_0x4d1f04(0x2dc)]){this[_0x4d1f04(0x36c)][_0x4d1f04(0x2cb)](_0x618065);return;}this['_applyRemoteChangeset'](_0x618065);}}[_0x4e1948(0x2a9)](){var _0x56a5f9=_0x4e1948;this[_0x56a5f9(0x36c)][_0x56a5f9(0x3b1)](_0x3d0dff=>this['_applyRemoteChangeset'](_0x3d0dff)),this[_0x56a5f9(0x36c)]=[];}['_applyRemoteChangeset'](_0xb7e946){var _0x3731fd=_0x4e1948;const _0xabd32c=this[_0x3731fd(0x269)]['interceptor'][_0x3731fd(0x227)](this[_0x3731fd(0x269)][_0x3731fd(0x1c0)][_0x3731fd(0x20f)]()[_0x3731fd(0x2aa)])(_0xb7e946[_0x3731fd(0x242)],null)||_0xb7e946['mutations'],_0x3a537c={..._0xb7e946,'mutations':_0xabd32c};this[_0x3731fd(0x3ae)](),this[_0x3731fd(0x3d8)](this['_state'][_0x3731fd(0x174)](_0x3a537c)),this[_0x3731fd(0x3eb)]();}['_onRemoteACK'](_0x15e8b9){var _0x380e2a=_0x4e1948;this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteAck'](_0x15e8b9)),this[_0x380e2a(0x3eb)]();}[_0x4e1948(0x1d1)](_0x3bfb4f){var _0x54e16b=_0x4e1948;this[_0x54e16b(0x3ae)](),this[_0x54e16b(0x3d8)](this['_state'][_0x54e16b(0x215)](_0x3bfb4f)),this['_unlockTransition']();}[_0x4e1948(0x439)](_0x396c75){var _0xdb0b33=_0x4e1948;this[_0xdb0b33(0x3ae)](),this['_updateState'](this[_0xdb0b33(0x1a5)][_0xdb0b33(0x28f)](_0x396c75)),this[_0xdb0b33(0x3eb)]();}[_0x4e1948(0x2a4)](_0x2cba9c){var _0xe33d07=_0x4e1948;if(!(this[_0xe33d07(0x1a5)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xff3664=_0x2cba9c[_0xe33d07(0x2c0)](_0x28fb7c=>{var _0x4bf2de=_0xe33d07;const _0xd355b7=this[_0x4bf2de(0x269)][_0x4bf2de(0x1c0)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x4bf2de(0x20f)]()[_0x4bf2de(0x2aa)])(_0x28fb7c['mutations'],null)||_0x28fb7c[_0x4bf2de(0x242)];return{..._0x28fb7c,'mutations':_0xd355b7};});this[_0xe33d07(0x3ae)](),this[_0xe33d07(0x3d8)](this[_0xe33d07(0x1a5)][_0xe33d07(0x2da)](_0xff3664)),this['_unlockTransition']();}[_0x4e1948(0x1bd)](){var _0x49e259=_0x4e1948;this['_lockTransition'](),this['_updateState'](this[_0x49e259(0x1a5)][_0x49e259(0x14e)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3a02a=!0x1){var _0x417f4d=_0x4e1948;this[_0x417f4d(0x3ae)](),this[_0x417f4d(0x3d8)](this[_0x417f4d(0x1a5)][_0x417f4d(0x2ee)]()),this['_unlockTransition']();const _0x123c70=this[_0x417f4d(0x1a5)];_0x3a02a&&_0x123c70 instanceof Ne&&(this[_0x417f4d(0x3ae)](),this[_0x417f4d(0x3d8)](_0x123c70[_0x417f4d(0x223)]()),this[_0x417f4d(0x3eb)]());}async[_0x4e1948(0x186)](){return new Promise(_0x53ba62=>{var _0x2f2aa6=_0x552f;this['session'][_0x2f2aa6(0x3da)][_0x2f2aa6(0x1cf)](_0x49d202(0x1))['subscribe'](async _0x540241=>{var _0x3ad540=_0x2f2aa6;_0x53ba62(await this[_0x3ad540(0x43c)](_0x540241===Ee['ONLINE']));});});}[_0x4e1948(0x39b)](){var _0x15f203=_0x4e1948;const _0x3f8596=this[_0x15f203(0x35e)];return{'onStateChange':(_0x13186a,_0x4df024)=>{var _0x2e69cc=_0x15f203;if(_0x13186a!==this[_0x2e69cc(0x1a5)])throw new Error(_0x2e69cc(0x377)+_0x13186a[_0x2e69cc(0x2ef)]+'\x0aAfter:\x20'+_0x4df024[_0x2e69cc(0x2ef)]+_0x2e69cc(0x204)+this[_0x2e69cc(0x1a5)][_0x2e69cc(0x2ef)]);this['_updateState'](_0x4df024);},'onSendChangeset':_0x39bcd8=>{var _0x2b8b69=_0x15f203;_0x39bcd8[_0x2b8b69(0x3d3)]||(_0x39bcd8[_0x2b8b69(0x3d3)]=this[_0x2b8b69(0x2d7)],_0x39bcd8['reqId']=++this[_0x2b8b69(0x2b6)]);const _0x3b7b17={'eventID':_0x463faf[_0x2b8b69(0x17c)],'data':{'unitID':_0x39bcd8[_0x2b8b69(0x35e)],'unitType':this[_0x2b8b69(0x42b)],'changeset':_0x39bcd8,'memberID':this[_0x2b8b69(0x334)][_0x2b8b69(0x2d9)]()}};this[_0x2b8b69(0x334)]['send'](_0x3b7b17,this['unitID']);},'onMissingChangesets':({from:_0x34d5b6,to:_0x31a737})=>{var _0x455fc6=_0x15f203;this[_0x455fc6(0x15d)][_0x455fc6(0x3e8)](_0x455fc6(0x255),_0x455fc6(0x272)+_0x34d5b6+_0x455fc6(0x37a)+_0x31a737);const _0x5c8ffd={'eventID':_0x463faf[_0x455fc6(0x23e)],'data':{'unitID':_0x3f8596,'unitType':this[_0x455fc6(0x42b)],'from':_0x34d5b6,'to':_0x31a737}};this[_0x455fc6(0x334)]['send'](_0x5c8ffd,this[_0x455fc6(0x35e)]);}};}async[_0x4e1948(0x43c)](_0x4d040d){var _0x2b9d6d=_0x4e1948,_0x73fc66,_0x1317b3,_0x4d155f;const _0x2d6e39=await((_0x73fc66=this[_0x2b9d6d(0x1f3)])==null?void 0x0:_0x73fc66[_0x2b9d6d(0x1ee)](this['unitID'])),_0x4b3a09=(_0x1317b3=_0x2d6e39==null?void 0x0:_0x2d6e39[_0x2b9d6d(0x242)])!=null?_0x1317b3:[],_0x518f2d=(_0x4d155f=_0x2d6e39==null?void 0x0:_0x2d6e39[_0x2b9d6d(0x380)])!=null?_0x4d155f:null,_0x10b518=!!(_0x518f2d!=null&&_0x518f2d[_0x2b9d6d(0x3d3)])&&!!(_0x518f2d!=null&&_0x518f2d[_0x2b9d6d(0x214)]);this['_changesetSessionId']=_0x10b518?_0x518f2d[_0x2b9d6d(0x3d3)]:nr(),this[_0x2b9d6d(0x2b6)]=_0x10b518?_0x518f2d['reqId']:0x0;const _0x24698c=this['unitID'];try{this['_replayCachedMutations'](_0x518f2d,_0x4b3a09);}catch(_0x3ba42d){this['_logService'][_0x2b9d6d(0x354)](_0x3ba42d);}const _0x31a7bb=this[_0x2b9d6d(0x39b)]();if(_0x4d040d){const _0x587c6c=yi(this[_0x2b9d6d(0x375)],_0x24698c,this[_0x2b9d6d(0x42b)],_0x518f2d,_0x4b3a09,_0x31a7bb);return _0x587c6c instanceof oe?_0x587c6c[_0x2b9d6d(0x33a)]():(_0x587c6c instanceof ae||_0x587c6c instanceof le)&&_0x587c6c[_0x2b9d6d(0x304)](),_0x587c6c;}return this[_0x2b9d6d(0x375)][_0x2b9d6d(0x3fd)](de,_0x24698c,this['_type'],_0x518f2d,_0x4b3a09,_0x31a7bb);}[_0x4e1948(0x392)](_0x2df97b,_0x4fd767){var _0x202a13=_0x4e1948,_0x2460e4,_0x4efda4;const _0x3a5d42=this[_0x202a13(0x269)][_0x202a13(0x1c0)]['fetchThroughInterceptors'](this[_0x202a13(0x269)]['interceptor'][_0x202a13(0x20f)]()[_0x202a13(0x2aa)]);(_0x2460e4=_0x3a5d42((_0x2df97b==null?void 0x0:_0x2df97b[_0x202a13(0x242)])||[],null))==null||_0x2460e4[_0x202a13(0x3b1)](_0x5a3494=>this['_commandService']['executeCommand'](_0x5a3494['id'],_0x5a3494[_0x202a13(0x1e1)])),(_0x4efda4=_0x3a5d42(_0x4fd767||[],null))==null||_0x4efda4['forEach'](_0x5e39ce=>this[_0x202a13(0x393)]['executeCommand'](_0x5e39ce['id'],_0x5e39ce['params']));}};nt=xt([k(0x3,_0x4bbdce(_0x332fef)),k(0x4,_0x4bbdce(_0x232942)),k(0x5,_0x4bbdce(_0x1a0963)),k(0x6,_0x4bbdce(_0xcce484)),k(0x7,_0x4bbdce(pe)),k(0x8,_0x5f2578),k(0x9,_0x497898),k(0xa,_0x4f00c2),k(0xb,_0x4e1364(ht)),k(0xc,_0x4e1364(J))],nt);let It=class extends nt{constructor(_0x6f7245,_0x923561,_0x445d36,_0x4b3aee,_0x4ac152,_0x4e465c,_0x2381e0,_0x9ab72,_0x2dc064,_0x129156,_0x2b09cc,_0x2813c0,_0x1e015e){var _0x5075dc=_0x4e1948;super(_0x6f7245,_0x445d36,_0x923561,_0x4b3aee,_0x4ac152,_0x4e465c,_0x2381e0,_0x9ab72,_0x2dc064,_0x129156,_0x2b09cc,_0x2813c0,_0x1e015e),N(this,_0x5075dc(0x3f4),null),(this[_0x5075dc(0x35e)]=_0x6f7245,this[_0x5075dc(0x154)]=_0x923561);}[_0x4e1948(0x2b2)](_0x5d50a2){this['_handlerCallback']=_0x5d50a2;}[_0x4e1948(0x306)](){var _0x36a832=_0x4e1948;this[_0x36a832(0x3f4)]=null,super[_0x36a832(0x306)]();}['_createHandler'](){var _0x4ff876=_0x4e1948;const _0x45bd17=super[_0x4ff876(0x39b)]();return _0x45bd17[_0x4ff876(0x39d)]=_0x31f6a0=>{var _0x5dff74=_0x4ff876,_0x2775b2,_0x1c4c88;return(_0x1c4c88=(_0x2775b2=this[_0x5dff74(0x3f4)])==null?void 0x0:_0x2775b2['onTransformIME'])==null?void 0x0:_0x1c4c88['call'](_0x2775b2,_0x31f6a0);},_0x45bd17['onTransformState']=_0x52a69e=>{var _0x337527=_0x4ff876,_0x1be0d8,_0x3225c6;return(_0x3225c6=(_0x1be0d8=this[_0x337527(0x3f4)])==null?void 0x0:_0x1be0d8[_0x337527(0x178)])==null?void 0x0:_0x3225c6[_0x337527(0x2ca)](_0x1be0d8,_0x52a69e);},_0x45bd17[_0x4ff876(0x2a7)]=_0x15da33=>{var _0x561ae0=_0x4ff876,_0x36d84a,_0x30289b;return(_0x30289b=(_0x36d84a=this[_0x561ae0(0x3f4)])==null?void 0x0:_0x36d84a[_0x561ae0(0x2a7)])==null?void 0x0:_0x30289b['call'](_0x36d84a,_0x15da33);},_0x45bd17[_0x4ff876(0x263)]=_0x5d8172=>{var _0x558d5e=_0x4ff876,_0x108d3a,_0x566432;return(_0x566432=(_0x108d3a=this[_0x558d5e(0x3f4)])==null?void 0x0:_0x108d3a[_0x558d5e(0x263)])==null?void 0x0:_0x566432[_0x558d5e(0x2ca)](_0x108d3a,_0x5d8172);},_0x45bd17[_0x4ff876(0x243)]=_0x47d3c8=>{var _0x4996ef=_0x4ff876,_0x11e8fb,_0x2e4603,_0x2dfb08;if(!((_0x11e8fb=this['_handlerCallback'])!=null&&_0x11e8fb[_0x4996ef(0x243)]))throw new Error(_0x4996ef(0x25b));return(_0x2dfb08=(_0x2e4603=this[_0x4996ef(0x3f4)])==null?void 0x0:_0x2e4603[_0x4996ef(0x243)])==null?void 0x0:_0x2dfb08[_0x4996ef(0x2ca)](_0x2e4603,_0x47d3c8);},_0x45bd17['onTransformRemoteChangesetByStateCache']=_0x2a81c1=>{var _0x24fa02=_0x4ff876,_0x2d34f8,_0x486933,_0x52ce37;if(!((_0x2d34f8=this[_0x24fa02(0x3f4)])!=null&&_0x2d34f8[_0x24fa02(0x360)]))throw new Error(_0x24fa02(0x16e));return(_0x52ce37=(_0x486933=this[_0x24fa02(0x3f4)])==null?void 0x0:_0x486933['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x52ce37[_0x24fa02(0x2ca)](_0x486933,_0x2a81c1);},_0x45bd17;}async['_init'](){var _0x41f05e=_0x4e1948;const _0x245b63=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x41f05e(0x199)]((_0x1fb29f,_0xa8c99d)=>{var _0x2206d6=_0x41f05e;if(_0x1fb29f['type']!==_0x4cc6e1['MUTATION']||_0xa8c99d!=null&&_0xa8c99d[_0x2206d6(0x1ca)]||_0xa8c99d!=null&&_0xa8c99d[_0x2206d6(0x389)]||_0x1fb29f['id']===_0x1c92f4['id'])return;const _0xd4b83e=_0x1fb29f[_0x2206d6(0x1e1)];if((_0xd4b83e==null?void 0x0:_0xd4b83e['unitId'])!==this[_0x2206d6(0x35e)])return;const _0x5a2860=_0x1fb29f,_0x54dadc=this[_0x2206d6(0x269)][_0x2206d6(0x1c0)][_0x2206d6(0x227)](this[_0x2206d6(0x269)][_0x2206d6(0x1c0)]['getInterceptPoints']()[_0x2206d6(0x300)])([_0x5a2860],null)||[_0x5a2860];this['_onLocalMutation'](_0x54dadc[0x0]);})),_0x245b63;}};It=xt([k(0x3,_0x4bbdce(_0x332fef)),k(0x4,_0x4bbdce(_0x232942)),k(0x5,_0x4bbdce(_0x1a0963)),k(0x6,_0x4bbdce(_0xcce484)),k(0x7,_0x4bbdce(pe)),k(0x8,_0x5f2578),k(0x9,_0x497898),k(0xa,_0x4f00c2),k(0xb,_0x4e1364(ht)),k(0xc,_0x4e1364(J))],It);let Tt=class extends nt{constructor(_0x4f0ff2,_0x10b4be,_0x8389b5,_0x4c506c,_0x109cd3,_0x5b53f8,_0x24d210,_0x769729,_0x5b68b8,_0x1efa0b,_0x3a8d7b,_0x2642ad,_0x1cde4d,_0x10735f){var _0x19fccc=_0x4e1948;super(_0x4f0ff2,_0x8389b5,_0x10b4be,_0x4c506c,_0x109cd3,_0x5b53f8,_0x24d210,_0x5b68b8,_0x1efa0b,_0x3a8d7b,_0x2642ad,_0x1cde4d,_0x10735f),this['unitID']=_0x4f0ff2,this['type']=_0x10b4be,this[_0x19fccc(0x41a)]=_0x769729;}[_0x4e1948(0x39b)](){var _0x5b27ac=_0x4e1948;const _0x4f514f=super['_createHandler']();return _0x4f514f[_0x5b27ac(0x2a7)]=_0x2ce7eb=>this[_0x5b27ac(0x41a)][_0x5b27ac(0x1d2)](_0x2ce7eb),_0x4f514f;}async[_0x4e1948(0x21f)](){var _0xee12c8=_0x4e1948;const _0x3a59c8=await super['_init']();return this[_0xee12c8(0x21a)](this['_commandService'][_0xee12c8(0x199)]((_0x32d490,_0x16d600)=>{var _0x31f0c2=_0xee12c8;if(_0x32d490[_0x31f0c2(0x154)]!==_0x4cc6e1[_0x31f0c2(0x32e)]||_0x16d600!=null&&_0x16d600[_0x31f0c2(0x1ca)]||_0x16d600!=null&&_0x16d600[_0x31f0c2(0x389)])return;const _0x38d8c8=_0x32d490['params'];if((_0x38d8c8==null?void 0x0:_0x38d8c8[_0x31f0c2(0x1de)])!==this[_0x31f0c2(0x35e)])return;const _0x28ae33=_0x32d490,_0x1960fc=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x31f0c2(0x1c0)][_0x31f0c2(0x20f)]()[_0x31f0c2(0x300)])([_0x28ae33],null)||[_0x28ae33];this[_0x31f0c2(0x34f)](_0x1960fc[0x0]);})),_0x3a59c8;}};function _0x552f(_0x6b24a6,_0x3f48ff){var _0x212cfc=_0x212c();return _0x552f=function(_0x552fd5,_0x575d27){_0x552fd5=_0x552fd5-0x14b;var _0x1d2d90=_0x212cfc[_0x552fd5];return _0x1d2d90;},_0x552f(_0x6b24a6,_0x3f48ff);}Tt=xt([k(0x3,_0x4bbdce(_0x332fef)),k(0x4,_0x4bbdce(_0x232942)),k(0x5,_0x4bbdce(_0x1a0963)),k(0x6,_0x4bbdce(_0xcce484)),k(0x7,_0x4bbdce(it)),k(0x8,_0x4bbdce(pe)),k(0x9,_0x5f2578),k(0xa,_0x497898),k(0xb,_0x4f00c2),k(0xc,_0x4e1364(ht)),k(0xd,_0x4e1364(J))],Tt);var vr=Object[_0x4e1948(0x19c)],pr=Object['getOwnPropertyDescriptor'],mr=(_0x3f599a,_0xe1d18,_0x22c65b,_0x21d6e7)=>{for(var _0x3fd195=_0x21d6e7>0x1?void 0x0:_0x21d6e7?pr(_0xe1d18,_0x22c65b):_0xe1d18,_0x3d9f93=_0x3f599a['length']-0x1,_0x36f525;_0x3d9f93>=0x0;_0x3d9f93--)(_0x36f525=_0x3f599a[_0x3d9f93])&&(_0x3fd195=(_0x21d6e7?_0x36f525(_0xe1d18,_0x22c65b,_0x3fd195):_0x36f525(_0x3fd195))||_0x3fd195);return _0x21d6e7&&_0x3fd195&&vr(_0xe1d18,_0x22c65b,_0x3fd195),_0x3fd195;},ft=(_0x5d4c04,_0x47cbb8)=>(_0x445348,_0x4d567b)=>_0x47cbb8(_0x445348,_0x4d567b,_0x5d4c04);let rt=class extends _0x3da94e{constructor(_0x16acaf,_0x336320,_0x2f5121){var _0xba4681=_0x4e1948;super(),N(this,_0xba4681(0x323),new Map()),N(this,_0xba4681(0x276),new _0x20c5d3()),N(this,_0xba4681(0x1e9),this[_0xba4681(0x276)][_0xba4681(0x18a)]()),(this[_0xba4681(0x375)]=_0x16acaf,this['_collabSessionService']=_0x336320,this[_0xba4681(0x153)]=_0x2f5121,this[_0xba4681(0x21f)]());}['dispose'](){var _0x213b62=_0x4e1948;super[_0x213b62(0x306)](),this[_0x213b62(0x323)]['forEach'](_0x46c3dd=>_0x46c3dd[_0x213b62(0x306)]()),this[_0x213b62(0x323)]['clear']();}[_0x4e1948(0x14f)](_0x24a8e1){var _0x48576d=_0x4e1948,_0x291c9f;return(_0x291c9f=this[_0x48576d(0x323)][_0x48576d(0x211)](_0x24a8e1))!=null?_0x291c9f:null;}[_0x4e1948(0x196)](_0x45e67f){var _0x46e819=_0x4e1948;const _0x49d0fc=this['getCollabEntity'](_0x45e67f);return _0x49d0fc?_0x51d4fe(_0x49d0fc):this[_0x46e819(0x276)]['pipe'](_0x66c535(_0x5bb60e=>_0x5bb60e[_0x46e819(0x35e)]===_0x45e67f));}[_0x4e1948(0x3ba)](_0x546eec){var _0x484009=_0x4e1948;return _0x2081ad(this[_0x484009(0x196)](_0x546eec)[_0x484009(0x1cf)](_0x48d922(()=>{})));}['_init'](){var _0x233852=_0x4e1948;this[_0x233852(0x153)][_0x233852(0x165)](_0x3bb644[_0x233852(0x43a)])['pipe'](_0x2a46e7(this[_0x233852(0x2f1)]),_0x4c6a3b(0x10))[_0x233852(0x2ea)](async _0x497f94=>{var _0x229e3f=_0x233852;const _0x3bab51=_0x497f94[_0x229e3f(0x205)](),_0x42e396=await this[_0x229e3f(0x43e)](_0x3bab51,Q['UNIVER_SHEET']);this['_entities'][_0x229e3f(0x2d5)](_0x3bab51,_0x42e396);}),this['_univerInstanceService'][_0x233852(0x165)](_0x3bb644['UNIVER_DOC'])[_0x233852(0x1cf)](_0x2a46e7(this[_0x233852(0x2f1)]),_0x4c6a3b(0x10))[_0x233852(0x1cf)](_0x66c535(_0x89498c=>!_0x89498c[_0x233852(0x205)]()[_0x233852(0x1a7)]('__')))[_0x233852(0x2ea)](async _0x465dd8=>{var _0x5aae01=_0x233852;const _0x4f60fe=_0x465dd8[_0x5aae01(0x205)](),_0x16d9e1=await this['_startCollaboration'](_0x4f60fe,Q['UNIVER_DOC']);this[_0x5aae01(0x323)][_0x5aae01(0x2d5)](_0x4f60fe,_0x16d9e1);}),_0x1d7f44(this['_univerInstanceService'][_0x233852(0x1f6)](_0x3bb644[_0x233852(0x43a)]),this[_0x233852(0x153)][_0x233852(0x1f6)](_0x3bb644[_0x233852(0x2eb)]))[_0x233852(0x1cf)](_0x2a46e7(this['dispose$']))[_0x233852(0x2ea)](_0x33bf42=>{var _0x5088ec=_0x233852;const _0x11167f=_0x33bf42[_0x5088ec(0x205)](),_0x1e829b=this[_0x5088ec(0x323)][_0x5088ec(0x211)](_0x11167f);_0x1e829b&&(_0x1e829b['dispose'](),this['_entities'][_0x5088ec(0x390)](_0x11167f));});}async[_0x4e1948(0x43e)](_0x5aabe2,_0x3c4979){var _0x2d9d55=_0x4e1948;const _0xee11de=await this['_collabSessionService']['requireSession'](_0x5aabe2),_0x4c685e=this['_injector'][_0x2d9d55(0x3fd)](this[_0x2d9d55(0x2c6)](_0x3c4979),_0x5aabe2,_0x3c4979,_0xee11de);return await _0x4c685e['init'](),this[_0x2d9d55(0x276)]['next'](_0x4c685e),_0x4c685e;}[_0x4e1948(0x2c6)](_0x475b2d){var _0x1a0f5d=_0x4e1948;switch(_0x475b2d){case Q[_0x1a0f5d(0x2eb)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x1a0f5d(0x297)+_0x475b2d);}}};rt=mr([ft(0x0,_0x4bbdce(_0x332fef)),ft(0x1,_0x4bbdce(Le)),ft(0x2,_0x2778df)],rt);var gr=Object[_0x4e1948(0x19c)],Sr=Object[_0x4e1948(0x289)],Er=(_0xb61485,_0x38990a,_0x9e37c0,_0xe88a9c)=>{for(var _0x286df5=_0xe88a9c>0x1?void 0x0:_0xe88a9c?Sr(_0x38990a,_0x9e37c0):_0x38990a,_0x26ab0f=_0xb61485['length']-0x1,_0x4fa809;_0x26ab0f>=0x0;_0x26ab0f--)(_0x4fa809=_0xb61485[_0x26ab0f])&&(_0x286df5=(_0xe88a9c?_0x4fa809(_0x38990a,_0x9e37c0,_0x286df5):_0x4fa809(_0x286df5))||_0x286df5);return _0xe88a9c&&_0x286df5&&gr(_0x38990a,_0x9e37c0,_0x286df5),_0x286df5;},zt=(_0x4e07cf,_0x569494)=>(_0x18880a,_0x498969)=>_0x569494(_0x18880a,_0x498969,_0x4e07cf);const Ir=_0x4e1948(0x298),Tr=_0x4e1948(0x290);let Ct=class extends _0x4c7d23{constructor(_0x3e30b5,_0x53ad72){var _0x555663=_0x4e1948;super(),this[_0x555663(0x153)]=_0x3e30b5,this[_0x555663(0x349)]=_0x53ad72,this[_0x555663(0x21f)]();}['_init'](){var _0xbf8188=_0x4e1948;this[_0xbf8188(0x21a)](this['_univerInstanceService'][_0xbf8188(0x27c)]['subscribe'](()=>{var _0x68c1c1=_0xbf8188,_0x48d4dd;const _0x1cf9bd=this['_univerInstanceService']['getFocusedUnit']();let _0x1e7edc=(_0x48d4dd=this[_0x68c1c1(0x349)][_0x68c1c1(0x2bf)](Ir))!=null?_0x48d4dd:Tr;_0x1cf9bd instanceof _0x70b2fd&&(_0x1e7edc=_0x1cf9bd[_0x68c1c1(0x14d)]),document['title']=_0x1e7edc;}));}};Ct=Er([zt(0x0,_0x2778df),zt(0x1,_0x5d9632)],Ct);var Cr=Object[_0x4e1948(0x19c)],br=Object['getOwnPropertyDescriptor'],Rr=(_0x29c738,_0x103af9,_0x837c15,_0xb7ff8f)=>{var _0x5d7207=_0x4e1948;for(var _0x5ab3c1=_0xb7ff8f>0x1?void 0x0:_0xb7ff8f?br(_0x103af9,_0x837c15):_0x103af9,_0x281cd9=_0x29c738[_0x5d7207(0x3d5)]-0x1,_0x4d4e9f;_0x281cd9>=0x0;_0x281cd9--)(_0x4d4e9f=_0x29c738[_0x281cd9])&&(_0x5ab3c1=(_0xb7ff8f?_0x4d4e9f(_0x103af9,_0x837c15,_0x5ab3c1):_0x4d4e9f(_0x5ab3c1))||_0x5ab3c1);return _0xb7ff8f&&_0x5ab3c1&&Cr(_0x103af9,_0x837c15,_0x5ab3c1),_0x5ab3c1;},vt=(_0x4130af,_0x2149e1)=>(_0x49c658,_0x67fa4c)=>_0x2149e1(_0x49c658,_0x67fa4c,_0x4130af);let st=class{constructor(_0x48034d,_0x1d95df,_0x2ae0cd){var _0x3c6d90=_0x4e1948;this[_0x3c6d90(0x349)]=_0x48034d,this[_0x3c6d90(0x24f)]=_0x1d95df,this[_0x3c6d90(0x2fd)]=_0x2ae0cd,this['init']();}[_0x4e1948(0x3b6)](){var _0x4710e0=_0x4e1948;this['_httpService'][_0x4710e0(0x3f3)]({'priority':0x1,'interceptor':(_0x101e3f,_0x42c56e)=>_0x42c56e(_0x101e3f)[_0x4710e0(0x1cf)](_0x4de8c0(async _0x111a1d=>{var _0x222ea0=_0x4710e0;const _0x15cfec=_0x111a1d;if(_0x15cfec[_0x222ea0(0x2ef)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x222ea0(0x2fd)]['t'](_0x222ea0(0x187)))){const _0x486e1a=window[_0x222ea0(0x40f)](window[_0x222ea0(0x32d)]['href']);window[_0x222ea0(0x32d)][_0x222ea0(0x416)]=this[_0x222ea0(0x225)]()+_0x222ea0(0x430)+_0x486e1a;}}return _0x15cfec;}))});}['_getLoginPath'](){var _0x27a14b=_0x4e1948,_0x1e30a0,_0x57d850;const _0x4e45e3=this[_0x27a14b(0x349)][_0x27a14b(0x2bf)](wn),_0x427bf9=this[_0x27a14b(0x349)][_0x27a14b(0x2bf)](q);return(_0x57d850=(_0x1e30a0=_0x427bf9==null?void 0x0:_0x427bf9[_0x27a14b(0x19a)])!=null?_0x1e30a0:_0x4e45e3)!=null?_0x57d850:Un;}};st=Rr([vt(0x0,_0x5d9632),vt(0x1,_0x4bbdce(_0x5d79cb)),vt(0x2,_0x4bbdce(_0x1a0963))],st);var Or=Object[_0x4e1948(0x19c)],yr=Object[_0x4e1948(0x289)],Nr=(_0x34f647,_0x5a016b,_0x30657f,_0x491cd7)=>{var _0xe42380=_0x4e1948;for(var _0x3dbb6b=_0x491cd7>0x1?void 0x0:_0x491cd7?yr(_0x5a016b,_0x30657f):_0x5a016b,_0x2ea875=_0x34f647[_0xe42380(0x3d5)]-0x1,_0x24eecb;_0x2ea875>=0x0;_0x2ea875--)(_0x24eecb=_0x34f647[_0x2ea875])&&(_0x3dbb6b=(_0x491cd7?_0x24eecb(_0x5a016b,_0x30657f,_0x3dbb6b):_0x24eecb(_0x3dbb6b))||_0x3dbb6b);return _0x491cd7&&_0x3dbb6b&&Or(_0x5a016b,_0x30657f,_0x3dbb6b),_0x3dbb6b;},Jt=(_0x49233d,_0x46e364)=>(_0x46711c,_0x3eb764)=>_0x46e364(_0x46711c,_0x3eb764,_0x49233d);const Ni='AUTHZ_URL_KEY',Dr=_0x4e1948(0x40e);let bt=class extends _0x4c7d23{constructor(_0xe7588d,_0x5bfaa6){var _0x5527ee=_0x4e1948;super(),this['_HTTPService']=_0xe7588d,this[_0x5527ee(0x349)]=_0x5bfaa6,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x44d5dd=_0x4e1948;const _0x3f1e55=this;this[_0x44d5dd(0x21a)](this['_HTTPService'][_0x44d5dd(0x3f3)]({'priority':0x3e7,'interceptor':_0x36dec3({'isMatch'(_0xc1eef0){var _0xe88347=_0x44d5dd,_0x20692d;if(_0xc1eef0[_0xe88347(0x291)]===_0xe88347(0x1e6)&&((_0x20692d=_0xc1eef0['requestParams'])!=null&&_0x20692d[_0xe88347(0x3bb)])){const {objectID:_0x18db11,objectType:_0x4dac0b}=_0xc1eef0[_0xe88347(0x188)]['body']||{};if(!_0x18db11||_0x4dac0b===void 0x0)return!0x1;const _0x5a2844=_0x3f1e55['_getAPIPrefixPath']()+'/'+_0x4dac0b+_0xe88347(0x326)+_0x18db11+'/allowed';if(_0xc1eef0[_0xe88347(0x3a9)]===_0x5a2844)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34245d){var _0x18e817=_0x44d5dd,_0x193350;return(_0x193350=_0x34245d['requestParams'])==null?void 0x0:_0x193350[_0x18e817(0x3bb)];},'mergeParamsToRequest'(_0x620697,_0x484be8){var _0x5890e4=_0x44d5dd;const _0x5e7912=_0x3f1e55[_0x5890e4(0x2e8)]()+_0x5890e4(0x1ba),_0x5f2449=_0x620697['reduce']((_0x1332e0,_0x5883d1)=>{var _0xf66adc=_0x5890e4;const {unitID:_0xc1e3e9,objectID:_0x43a88e,objectType:_0x1874e2,actions:_0x2827a5}=_0x5883d1;return _0x1332e0[_0xc1e3e9]||(_0x1332e0[_0xc1e3e9]={}),_0x1332e0[_0xc1e3e9][_0x43a88e]||(_0x1332e0[_0xc1e3e9][_0x43a88e]={'objectID':_0x43a88e,'objectType':_0x1874e2,'actions':[]}),_0x1332e0[_0xc1e3e9][_0x43a88e]['actions'][_0xf66adc(0x2cb)](..._0x2827a5),_0x1332e0;},{}),_0x13e669=[];for(const _0xb09cab in _0x5f2449)for(const _0x4679bd in _0x5f2449[_0xb09cab]){const {actions:_0x2d7c6d,objectType:_0x34e796}=_0x5f2449[_0xb09cab][_0x4679bd],_0x47884e=[...new Set(_0x2d7c6d)];_0x13e669[_0x5890e4(0x2cb)]({'unitID':_0xb09cab,'objectID':_0x4679bd,'objectType':_0x34e796,'actions':_0x47884e});}return new _0x557bd5(_0x5890e4(0x1e6),_0x5e7912,{'headers':_0x484be8[_0x5890e4(0x408)],'withCredentials':_0x484be8[_0x5890e4(0x3e7)],'responseType':_0x484be8[_0x5890e4(0x1a9)],'body':{'requests':_0x13e669}});}},{'distributeResult'(_0xa8f717,_0x57366b){var _0x30f4b3=_0x44d5dd;const {objectActions:_0x7e0d11}=_0xa8f717;return _0x57366b[_0x30f4b3(0x2c0)](_0x377fc5=>{var _0x1cc811=_0x30f4b3;const {unitID:_0x27d33a,objectID:_0x4df95f,actions:_0x2ff09a}=_0x377fc5,_0x532575=_0x7e0d11[_0x1cc811(0x1c6)](_0xd35451=>_0xd35451[_0x1cc811(0x35e)]===_0x27d33a&&_0xd35451[_0x1cc811(0x3aa)]===_0x4df95f),_0x5360e8=_0x2ff09a[_0x1cc811(0x2c0)](_0x16ddac=>_0x532575==null?void 0x0:_0x532575[_0x1cc811(0x259)][_0x1cc811(0x1c6)](_0x4ebd8c=>_0x4ebd8c['action']===_0x16ddac))[_0x1cc811(0x378)](_0x5aacd8=>!!_0x5aacd8);return{'config':_0x377fc5,'result':{'actions':_0x5360e8,'error':_0xa8f717['error']}};});}})}));}[_0x4e1948(0x2e8)](){var _0x21c043=_0x4e1948,_0x4ceba3,_0x3b3af3;const _0x46f74f=this[_0x21c043(0x349)][_0x21c043(0x2bf)](Ni),_0x313842=this[_0x21c043(0x349)]['getConfig'](q);return(_0x3b3af3=(_0x4ceba3=_0x313842==null?void 0x0:_0x313842[_0x21c043(0x2e7)])!=null?_0x4ceba3:_0x46f74f)!=null?_0x3b3af3:Dr;}async[_0x4e1948(0x2f5)](_0x14a516){var _0x5c1a4a=_0x4e1948;const _0x4453b3=this[_0x5c1a4a(0x2e8)]()+'/'+_0x14a516[_0x5c1a4a(0x1fb)]+_0x5c1a4a(0x358);return(await this[_0x5c1a4a(0x1d9)][_0x5c1a4a(0x372)](_0x4453b3,{'body':_0x14a516}))['body'][_0x5c1a4a(0x3aa)]||'';}async[_0x4e1948(0x1ff)](_0x2af695){var _0x286828=_0x4e1948;const _0x210d0d=this[_0x286828(0x2e8)]()+_0x286828(0x1b4);return(await this['_HTTPService'][_0x286828(0x372)](_0x210d0d,{'body':_0x2af695}))[_0x286828(0x3bb)][_0x286828(0x302)];}async[_0x4e1948(0x3af)](_0xb26b0f){var _0x49b579=_0x4e1948;const _0x3f9843=this['_getAPIPrefixPath']()+'/'+_0xb26b0f['objectType']+_0x49b579(0x326)+_0xb26b0f[_0x49b579(0x3aa)];await this[_0x49b579(0x1d9)][_0x49b579(0x328)](_0x3f9843,{'body':_0xb26b0f});}async[_0x4e1948(0x17a)](_0x3fd4e0){var _0x3b261e=_0x4e1948;const _0x10ef6f=this[_0x3b261e(0x2e8)]()+'/'+_0x3fd4e0[_0x3b261e(0x1fb)]+_0x3b261e(0x326)+_0x3fd4e0[_0x3b261e(0x3aa)]+'/allowed';return(await this[_0x3b261e(0x1d9)][_0x3b261e(0x372)](_0x10ef6f,{'body':_0x3fd4e0}))[_0x3b261e(0x3bb)][_0x3b261e(0x259)];}async[_0x4e1948(0x295)](_0x4dd3ec){var _0x2c9668=_0x4e1948;const _0x5a9417=this[_0x2c9668(0x2e8)]()+'/-/object/-/batch_allowed';return(await this[_0x2c9668(0x1d9)][_0x2c9668(0x372)](_0x5a9417,{'body':{'requests':_0x4dd3ec}}))[_0x2c9668(0x3bb)][_0x2c9668(0x14b)];}async[_0x4e1948(0x3ef)](_0x2904d1){var _0x5ef082=_0x4e1948;const _0x347251=this['_getAPIPrefixPath']()+'/'+_0x2904d1[_0x5ef082(0x1fb)]+_0x5ef082(0x3fc),_0x3405cf=await this[_0x5ef082(0x1d9)][_0x5ef082(0x372)](_0x347251,{'body':_0x2904d1});return{'roles':_0x3405cf[_0x5ef082(0x3bb)][_0x5ef082(0x3ce)],'actions':_0x3405cf['body'][_0x5ef082(0x259)]};}async[_0x4e1948(0x2a1)](_0x595c33){var _0x1bcc59=_0x4e1948;const _0x2535b7=this['_getAPIPrefixPath']()+_0x1bcc59(0x361);await this[_0x1bcc59(0x1d9)][_0x1bcc59(0x390)](_0x2535b7,{'params':{'collaboratorID':_0x595c33[_0x1bcc59(0x2f4)],'objectID':_0x595c33[_0x1bcc59(0x3aa)],'unitID':_0x595c33[_0x1bcc59(0x35e)]}});}async[_0x4e1948(0x20b)](_0x130d8d){var _0x1ad156=_0x4e1948;const _0x76c601=this[_0x1ad156(0x2e8)]()+'/collaborator';await this[_0x1ad156(0x1d9)]['patch'](_0x76c601,{'body':_0x130d8d});}async['createCollaborator'](_0x5b684d){var _0x9e8acd=_0x4e1948;const _0x23df0d=this[_0x9e8acd(0x2e8)]()+_0x9e8acd(0x361);await this[_0x9e8acd(0x1d9)][_0x9e8acd(0x372)](_0x23df0d,{'body':_0x5b684d});}async[_0x4e1948(0x22c)](_0x502164){var _0x21c3c1=_0x4e1948;const _0x527a68=this[_0x21c3c1(0x2e8)]()+_0x21c3c1(0x361);return(await this[_0x21c3c1(0x1d9)]['get'](_0x527a68,{'params':{'objectID':_0x502164['objectID'],'unitID':_0x502164['unitID']}}))[_0x21c3c1(0x3bb)][_0x21c3c1(0x2d2)];}async[_0x4e1948(0x2c7)](_0x132e30){var _0x18b84b=_0x4e1948;const _0x4864c3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x18b84b(0x1d9)][_0x18b84b(0x328)](_0x4864c3,{'body':_0x132e30});}};bt=Nr([Jt(0x0,_0x4bbdce(_0x5d79cb)),Jt(0x1,_0x4bbdce(_0x5d9632))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xad2ece){var _0x2a2c71=_0x4e1948;return _0xad2ece&&_0xad2ece[_0x2a2c71(0x1a3)]&&Object[_0x2a2c71(0x38f)]['hasOwnProperty'][_0x2a2c71(0x2ca)](_0xad2ece,_0x2a2c71(0x3cf))?_0xad2ece[_0x2a2c71(0x3cf)]:_0xad2ece;}var Ge={'exports':{}};function Pr(_0x4991ed){var _0x193bac=_0x4e1948;throw new Error(_0x193bac(0x201)+_0x4991ed+_0x193bac(0x1fc));}var Ve={'exports':{}},wr=Ve[_0x4e1948(0x2d0)],Xt;function ie(){var _0x45e8c0=_0x4e1948;return Xt||(Xt=0x1,function(_0x21cb2d,_0x5002fd){(function(_0x32b789,_0x56cedb){var _0x36cde7=_0x552f;_0x21cb2d[_0x36cde7(0x2d0)]=_0x56cedb();}(wr,function(){var _0x27583e=_0x27583e||function(_0x2f5425,_0x4a7293){var _0x25e86c=_0x552f,_0x5e2074;if(typeof window<'u'&&window['crypto']&&(_0x5e2074=window[_0x25e86c(0x30a)]),typeof self<'u'&&self['crypto']&&(_0x5e2074=self[_0x25e86c(0x30a)]),typeof globalThis<'u'&&globalThis[_0x25e86c(0x30a)]&&(_0x5e2074=globalThis['crypto']),!_0x5e2074&&typeof window<'u'&&window[_0x25e86c(0x3d1)]&&(_0x5e2074=window[_0x25e86c(0x3d1)]),!_0x5e2074&&typeof pt<'u'&&pt[_0x25e86c(0x30a)]&&(_0x5e2074=pt[_0x25e86c(0x30a)]),!_0x5e2074&&typeof Pr==_0x25e86c(0x3c1))try{_0x5e2074=require(_0x25e86c(0x30a));}catch{}var _0x29939f=function(){var _0x3ce67a=_0x25e86c;if(_0x5e2074){if(typeof _0x5e2074[_0x3ce67a(0x421)]=='function')try{return _0x5e2074[_0x3ce67a(0x421)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5e2074['randomBytes']==_0x3ce67a(0x3c1))try{return _0x5e2074[_0x3ce67a(0x1b3)](0x4)[_0x3ce67a(0x253)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1a1e0b=Object[_0x25e86c(0x2f5)]||(function(){function _0x367023(){}return function(_0x2a222c){var _0x52ac4e=_0x552f,_0x506c9b;return _0x367023[_0x52ac4e(0x38f)]=_0x2a222c,_0x506c9b=new _0x367023(),_0x367023[_0x52ac4e(0x38f)]=null,_0x506c9b;};}()),_0x120cdc={},_0x1278ae=_0x120cdc[_0x25e86c(0x232)]={},_0x4ab39c=_0x1278ae[_0x25e86c(0x238)]=(function(){return{'extend':function(_0x3da003){var _0x259067=_0x552f,_0xcb56cb=_0x1a1e0b(this);return _0x3da003&&_0xcb56cb[_0x259067(0x246)](_0x3da003),(!_0xcb56cb['hasOwnProperty'](_0x259067(0x3b6))||this['init']===_0xcb56cb['init'])&&(_0xcb56cb['init']=function(){var _0xc2cc62=_0x259067;_0xcb56cb[_0xc2cc62(0x1a6)]['init'][_0xc2cc62(0x33c)](this,arguments);}),_0xcb56cb[_0x259067(0x3b6)][_0x259067(0x38f)]=_0xcb56cb,_0xcb56cb[_0x259067(0x1a6)]=this,_0xcb56cb;},'create':function(){var _0x4235af=_0x552f,_0x2ebb17=this[_0x4235af(0x373)]();return _0x2ebb17['init']['apply'](_0x2ebb17,arguments),_0x2ebb17;},'init':function(){},'mixIn':function(_0x220e64){var _0x49e332=_0x552f;for(var _0x49f7af in _0x220e64)_0x220e64[_0x49e332(0x395)](_0x49f7af)&&(this[_0x49f7af]=_0x220e64[_0x49f7af]);_0x220e64[_0x49e332(0x395)](_0x49e332(0x189))&&(this[_0x49e332(0x189)]=_0x220e64[_0x49e332(0x189)]);},'clone':function(){var _0x27e022=_0x552f;return this['init'][_0x27e022(0x38f)][_0x27e022(0x373)](this);}};}()),_0x18c56b=_0x1278ae[_0x25e86c(0x38c)]=_0x4ab39c[_0x25e86c(0x373)]({'init':function(_0x4b8ddf,_0x1090c4){var _0x4ead8b=_0x25e86c;_0x4b8ddf=this[_0x4ead8b(0x3dd)]=_0x4b8ddf||[],_0x1090c4!=_0x4a7293?this[_0x4ead8b(0x202)]=_0x1090c4:this[_0x4ead8b(0x202)]=_0x4b8ddf[_0x4ead8b(0x3d5)]*0x4;},'toString':function(_0x4a0ad9){var _0x2049c2=_0x25e86c;return(_0x4a0ad9||_0x3c073e)[_0x2049c2(0x42f)](this);},'concat':function(_0x90b564){var _0x56e394=_0x25e86c,_0x4b406b=this['words'],_0x3e8136=_0x90b564[_0x56e394(0x3dd)],_0xd0b85c=this[_0x56e394(0x202)],_0x2908e6=_0x90b564[_0x56e394(0x202)];if(this['clamp'](),_0xd0b85c%0x4)for(var _0x12ba09=0x0;_0x12ba09<_0x2908e6;_0x12ba09++){var _0x226b80=_0x3e8136[_0x12ba09>>>0x2]>>>0x18-_0x12ba09%0x4*0x8&0xff;_0x4b406b[_0xd0b85c+_0x12ba09>>>0x2]|=_0x226b80<<0x18-(_0xd0b85c+_0x12ba09)%0x4*0x8;}else{for(var _0x4c8060=0x0;_0x4c8060<_0x2908e6;_0x4c8060+=0x4)_0x4b406b[_0xd0b85c+_0x4c8060>>>0x2]=_0x3e8136[_0x4c8060>>>0x2];}return this[_0x56e394(0x202)]+=_0x2908e6,this;},'clamp':function(){var _0xc357bf=_0x25e86c,_0xaf7075=this[_0xc357bf(0x3dd)],_0x34c22d=this[_0xc357bf(0x202)];_0xaf7075[_0x34c22d>>>0x2]&=0xffffffff<<0x20-_0x34c22d%0x4*0x8,_0xaf7075[_0xc357bf(0x3d5)]=_0x2f5425['ceil'](_0x34c22d/0x4);},'clone':function(){var _0x3ef842=_0x25e86c,_0xb6c714=_0x4ab39c[_0x3ef842(0x309)][_0x3ef842(0x2ca)](this);return _0xb6c714[_0x3ef842(0x3dd)]=this[_0x3ef842(0x3dd)]['slice'](0x0),_0xb6c714;},'random':function(_0x3b3ae7){var _0x5812ec=_0x25e86c;for(var _0x417a9f=[],_0x390a0=0x0;_0x390a0<_0x3b3ae7;_0x390a0+=0x4)_0x417a9f[_0x5812ec(0x2cb)](_0x29939f());return new _0x18c56b[(_0x5812ec(0x3b6))](_0x417a9f,_0x3b3ae7);}}),_0x5dd111=_0x120cdc[_0x25e86c(0x3f2)]={},_0x3c073e=_0x5dd111['Hex']={'stringify':function(_0x4e8308){var _0x39a550=_0x25e86c;for(var _0x4e8534=_0x4e8308[_0x39a550(0x3dd)],_0x11ebeb=_0x4e8308['sigBytes'],_0x49eb51=[],_0x288670=0x0;_0x288670<_0x11ebeb;_0x288670++){var _0x2f8993=_0x4e8534[_0x288670>>>0x2]>>>0x18-_0x288670%0x4*0x8&0xff;_0x49eb51[_0x39a550(0x2cb)]((_0x2f8993>>>0x4)[_0x39a550(0x189)](0x10)),_0x49eb51[_0x39a550(0x2cb)]((_0x2f8993&0xf)[_0x39a550(0x189)](0x10));}return _0x49eb51['join']('');},'parse':function(_0x48d134){var _0x201f63=_0x25e86c;for(var _0x548abf=_0x48d134[_0x201f63(0x3d5)],_0x37a8ce=[],_0x47bacf=0x0;_0x47bacf<_0x548abf;_0x47bacf+=0x2)_0x37a8ce[_0x47bacf>>>0x3]|=parseInt(_0x48d134[_0x201f63(0x347)](_0x47bacf,0x2),0x10)<<0x18-_0x47bacf%0x8*0x4;return new _0x18c56b['init'](_0x37a8ce,_0x548abf/0x2);}},_0x3cf6c7=_0x5dd111['Latin1']={'stringify':function(_0x2117ba){var _0x5a110f=_0x25e86c;for(var _0x2bafbd=_0x2117ba[_0x5a110f(0x3dd)],_0x73f09=_0x2117ba[_0x5a110f(0x202)],_0x5e13ba=[],_0x502db4=0x0;_0x502db4<_0x73f09;_0x502db4++){var _0x2ec298=_0x2bafbd[_0x502db4>>>0x2]>>>0x18-_0x502db4%0x4*0x8&0xff;_0x5e13ba[_0x5a110f(0x2cb)](String[_0x5a110f(0x383)](_0x2ec298));}return _0x5e13ba[_0x5a110f(0x327)]('');},'parse':function(_0xd29031){var _0x514359=_0x25e86c;for(var _0x2dab16=_0xd29031[_0x514359(0x3d5)],_0x2d7da4=[],_0x44980a=0x0;_0x44980a<_0x2dab16;_0x44980a++)_0x2d7da4[_0x44980a>>>0x2]|=(_0xd29031[_0x514359(0x35b)](_0x44980a)&0xff)<<0x18-_0x44980a%0x4*0x8;return new _0x18c56b[(_0x514359(0x3b6))](_0x2d7da4,_0x2dab16);}},_0x38b49c=_0x5dd111[_0x25e86c(0x3a5)]={'stringify':function(_0x3d1d6a){var _0x5e3089=_0x25e86c;try{return decodeURIComponent(escape(_0x3cf6c7[_0x5e3089(0x42f)](_0x3d1d6a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5d6787){var _0xfed08a=_0x25e86c;return _0x3cf6c7[_0xfed08a(0x1c5)](unescape(encodeURIComponent(_0x5d6787)));}},_0x3c0120=_0x1278ae[_0x25e86c(0x2a2)]=_0x4ab39c[_0x25e86c(0x373)]({'reset':function(){var _0x14a6b9=_0x25e86c;this['_data']=new _0x18c56b[(_0x14a6b9(0x3b6))](),this[_0x14a6b9(0x31e)]=0x0;},'_append':function(_0x1acc46){var _0x383eb3=_0x25e86c;typeof _0x1acc46==_0x383eb3(0x341)&&(_0x1acc46=_0x38b49c[_0x383eb3(0x1c5)](_0x1acc46)),this[_0x383eb3(0x305)][_0x383eb3(0x331)](_0x1acc46),this[_0x383eb3(0x31e)]+=_0x1acc46[_0x383eb3(0x202)];},'_process':function(_0x11854b){var _0x2f4834=_0x25e86c,_0x49842e,_0x5f1c19=this['_data'],_0x8ff5fb=_0x5f1c19['words'],_0x4560c9=_0x5f1c19[_0x2f4834(0x202)],_0x48b4f4=this[_0x2f4834(0x2ba)],_0x12a4a1=_0x48b4f4*0x4,_0x2d698c=_0x4560c9/_0x12a4a1;_0x11854b?_0x2d698c=_0x2f5425['ceil'](_0x2d698c):_0x2d698c=_0x2f5425['max']((_0x2d698c|0x0)-this[_0x2f4834(0x182)],0x0);var _0x2a53ac=_0x2d698c*_0x48b4f4,_0x8c0278=_0x2f5425[_0x2f4834(0x38a)](_0x2a53ac*0x4,_0x4560c9);if(_0x2a53ac){for(var _0x13a3e7=0x0;_0x13a3e7<_0x2a53ac;_0x13a3e7+=_0x48b4f4)this['_doProcessBlock'](_0x8ff5fb,_0x13a3e7);_0x49842e=_0x8ff5fb[_0x2f4834(0x274)](0x0,_0x2a53ac),_0x5f1c19[_0x2f4834(0x202)]-=_0x8c0278;}return new _0x18c56b['init'](_0x49842e,_0x8c0278);},'clone':function(){var _0x12325d=_0x25e86c,_0x5c4495=_0x4ab39c['clone'][_0x12325d(0x2ca)](this);return _0x5c4495[_0x12325d(0x305)]=this[_0x12325d(0x305)][_0x12325d(0x309)](),_0x5c4495;},'_minBufferSize':0x0});_0x1278ae[_0x25e86c(0x3e6)]=_0x3c0120[_0x25e86c(0x373)]({'cfg':_0x4ab39c['extend'](),'init':function(_0x35eb11){var _0x75189=_0x25e86c;this['cfg']=this[_0x75189(0x22d)][_0x75189(0x373)](_0x35eb11),this[_0x75189(0x418)]();},'reset':function(){var _0x3b1767=_0x25e86c;_0x3c0120['reset'][_0x3b1767(0x2ca)](this),this[_0x3b1767(0x3cc)]();},'update':function(_0x5da18d){var _0x348caa=_0x25e86c;return this[_0x348caa(0x42d)](_0x5da18d),this[_0x348caa(0x399)](),this;},'finalize':function(_0x398bf8){var _0x109871=_0x25e86c;_0x398bf8&&this[_0x109871(0x42d)](_0x398bf8);var _0x39fd23=this[_0x109871(0x283)]();return _0x39fd23;},'blockSize':0x10,'_createHelper':function(_0x2fdb8a){return function(_0x4b46b,_0x5892f4){var _0x560fa9=_0x552f;return new _0x2fdb8a[(_0x560fa9(0x3b6))](_0x5892f4)[_0x560fa9(0x197)](_0x4b46b);};},'_createHmacHelper':function(_0x3ea4b4){return function(_0x285712,_0x48f166){var _0x4ec0d0=_0x552f;return new _0x273f2d[(_0x4ec0d0(0x20e))][(_0x4ec0d0(0x3b6))](_0x3ea4b4,_0x48f166)[_0x4ec0d0(0x197)](_0x285712);};}});var _0x273f2d=_0x120cdc[_0x25e86c(0x39c)]={};return _0x120cdc;}(Math);return _0x27583e;}));}(Ve)),Ve[_0x45e8c0(0x2d0)];}var We={'exports':{}},Ur=We[_0x4e1948(0x2d0)],Zt;function Di(){var _0x18697b=_0x4e1948;return Zt||(Zt=0x1,function(_0x56410e,_0x51a1ea){(function(_0x1775b3,_0x242f52){_0x56410e['exports']=_0x242f52(ie());}(Ur,function(_0x4da69c){var _0x495d11=_0x552f;return(function(){var _0x2c35f0=_0x552f,_0x35e695=_0x4da69c,_0x311d44=_0x35e695[_0x2c35f0(0x232)],_0x257944=_0x311d44[_0x2c35f0(0x38c)],_0x32f08f=_0x35e695[_0x2c35f0(0x3f2)];_0x32f08f['Base64']={'stringify':function(_0x41cf9a){var _0x51297b=_0x2c35f0,_0x19e64e=_0x41cf9a[_0x51297b(0x3dd)],_0x2a8d53=_0x41cf9a[_0x51297b(0x202)],_0x1af5cd=this['_map'];_0x41cf9a[_0x51297b(0x2e6)]();for(var _0x3c2f71=[],_0x4c9977=0x0;_0x4c9977<_0x2a8d53;_0x4c9977+=0x3)for(var _0x5b917d=_0x19e64e[_0x4c9977>>>0x2]>>>0x18-_0x4c9977%0x4*0x8&0xff,_0x4b3680=_0x19e64e[_0x4c9977+0x1>>>0x2]>>>0x18-(_0x4c9977+0x1)%0x4*0x8&0xff,_0x2e9ffb=_0x19e64e[_0x4c9977+0x2>>>0x2]>>>0x18-(_0x4c9977+0x2)%0x4*0x8&0xff,_0x335484=_0x5b917d<<0x10|_0x4b3680<<0x8|_0x2e9ffb,_0x372af4=0x0;_0x372af4<0x4&&_0x4c9977+_0x372af4*0.75<_0x2a8d53;_0x372af4++)_0x3c2f71[_0x51297b(0x2cb)](_0x1af5cd[_0x51297b(0x23f)](_0x335484>>>0x6*(0x3-_0x372af4)&0x3f));var _0xa295e8=_0x1af5cd['charAt'](0x40);if(_0xa295e8){for(;_0x3c2f71[_0x51297b(0x3d5)]%0x4;)_0x3c2f71[_0x51297b(0x2cb)](_0xa295e8);}return _0x3c2f71['join']('');},'parse':function(_0x50b78d){var _0xdeaded=_0x2c35f0,_0x7e9032=_0x50b78d[_0xdeaded(0x3d5)],_0x2bb423=this[_0xdeaded(0x21b)],_0x26f8e0=this[_0xdeaded(0x160)];if(!_0x26f8e0){_0x26f8e0=this[_0xdeaded(0x160)]=[];for(var _0x3ea91c=0x0;_0x3ea91c<_0x2bb423[_0xdeaded(0x3d5)];_0x3ea91c++)_0x26f8e0[_0x2bb423[_0xdeaded(0x35b)](_0x3ea91c)]=_0x3ea91c;}var _0x59fecb=_0x2bb423[_0xdeaded(0x23f)](0x40);if(_0x59fecb){var _0x115133=_0x50b78d[_0xdeaded(0x200)](_0x59fecb);_0x115133!==-0x1&&(_0x7e9032=_0x115133);}return _0xbd785c(_0x50b78d,_0x7e9032,_0x26f8e0);},'_map':_0x2c35f0(0x2c8)};function _0xbd785c(_0x1856e4,_0x3cd2a2,_0x187a88){var _0x536441=_0x2c35f0;for(var _0x1bb99a=[],_0x34e05a=0x0,_0xddd21a=0x0;_0xddd21a<_0x3cd2a2;_0xddd21a++)if(_0xddd21a%0x4){var _0x45ec15=_0x187a88[_0x1856e4['charCodeAt'](_0xddd21a-0x1)]<<_0xddd21a%0x4*0x2,_0x1ebf06=_0x187a88[_0x1856e4['charCodeAt'](_0xddd21a)]>>>0x6-_0xddd21a%0x4*0x2,_0x31436f=_0x45ec15|_0x1ebf06;_0x1bb99a[_0x34e05a>>>0x2]|=_0x31436f<<0x18-_0x34e05a%0x4*0x8,_0x34e05a++;}return _0x257944[_0x536441(0x2f5)](_0x1bb99a,_0x34e05a);}}()),_0x4da69c['enc'][_0x495d11(0x34d)];}));}(We)),We[_0x18697b(0x2d0)];}var Ke={'exports':{}},Ar=Ke[_0x4e1948(0x2d0)],Qt;function xr(){var _0x4e716a=_0x4e1948;return Qt||(Qt=0x1,function(_0x39c5f5,_0x37df2d){(function(_0x2c6d2c,_0x460cf3){var _0x525bb3=_0x552f;_0x39c5f5[_0x525bb3(0x2d0)]=_0x460cf3(ie());}(Ar,function(_0x39ad3d){var _0x147343=_0x552f;return function(_0x34cc4e){var _0x4dc80b=_0x552f,_0x59f2fe=_0x39ad3d,_0xa0f142=_0x59f2fe[_0x4dc80b(0x232)],_0x5d9636=_0xa0f142[_0x4dc80b(0x38c)],_0xdfd762=_0xa0f142['Hasher'],_0x16ae8e=_0x59f2fe[_0x4dc80b(0x39c)],_0x105fb7=[];(function(){var _0x492cee=_0x4dc80b;for(var _0x3e4fec=0x0;_0x3e4fec<0x40;_0x3e4fec++)_0x105fb7[_0x3e4fec]=_0x34cc4e[_0x492cee(0x2fe)](_0x34cc4e[_0x492cee(0x24c)](_0x3e4fec+0x1))*0x100000000|0x0;}());var _0x1ddd31=_0x16ae8e['MD5']=_0xdfd762[_0x4dc80b(0x373)]({'_doReset':function(){var _0xb7aeef=_0x4dc80b;this[_0xb7aeef(0x2e1)]=new _0x5d9636[(_0xb7aeef(0x3b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x40999b,_0x23fbd3){var _0x40d154=_0x4dc80b;for(var _0x2838e9=0x0;_0x2838e9<0x10;_0x2838e9++){var _0x279377=_0x23fbd3+_0x2838e9,_0x388a95=_0x40999b[_0x279377];_0x40999b[_0x279377]=(_0x388a95<<0x8|_0x388a95>>>0x18)&0xff00ff|(_0x388a95<<0x18|_0x388a95>>>0x8)&0xff00ff00;}var _0x529e31=this[_0x40d154(0x2e1)][_0x40d154(0x3dd)],_0x50e8b2=_0x40999b[_0x23fbd3+0x0],_0x5311e4=_0x40999b[_0x23fbd3+0x1],_0x5c8f1f=_0x40999b[_0x23fbd3+0x2],_0xde643f=_0x40999b[_0x23fbd3+0x3],_0x5db08c=_0x40999b[_0x23fbd3+0x4],_0x10b6c1=_0x40999b[_0x23fbd3+0x5],_0x30b6a9=_0x40999b[_0x23fbd3+0x6],_0x3c7952=_0x40999b[_0x23fbd3+0x7],_0x21509e=_0x40999b[_0x23fbd3+0x8],_0x2ed097=_0x40999b[_0x23fbd3+0x9],_0x7bcedf=_0x40999b[_0x23fbd3+0xa],_0x3eabdc=_0x40999b[_0x23fbd3+0xb],_0x47c6d2=_0x40999b[_0x23fbd3+0xc],_0x1971b2=_0x40999b[_0x23fbd3+0xd],_0x415faf=_0x40999b[_0x23fbd3+0xe],_0x3a0c08=_0x40999b[_0x23fbd3+0xf],_0x3d5183=_0x529e31[0x0],_0x395a8a=_0x529e31[0x1],_0x3a1260=_0x529e31[0x2],_0x1a8010=_0x529e31[0x3];_0x3d5183=_0x226c05(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x50e8b2,0x7,_0x105fb7[0x0]),_0x1a8010=_0x226c05(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x5311e4,0xc,_0x105fb7[0x1]),_0x3a1260=_0x226c05(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x5c8f1f,0x11,_0x105fb7[0x2]),_0x395a8a=_0x226c05(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0xde643f,0x16,_0x105fb7[0x3]),_0x3d5183=_0x226c05(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x5db08c,0x7,_0x105fb7[0x4]),_0x1a8010=_0x226c05(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x10b6c1,0xc,_0x105fb7[0x5]),_0x3a1260=_0x226c05(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x30b6a9,0x11,_0x105fb7[0x6]),_0x395a8a=_0x226c05(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x3c7952,0x16,_0x105fb7[0x7]),_0x3d5183=_0x226c05(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x21509e,0x7,_0x105fb7[0x8]),_0x1a8010=_0x226c05(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x2ed097,0xc,_0x105fb7[0x9]),_0x3a1260=_0x226c05(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x7bcedf,0x11,_0x105fb7[0xa]),_0x395a8a=_0x226c05(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x3eabdc,0x16,_0x105fb7[0xb]),_0x3d5183=_0x226c05(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x47c6d2,0x7,_0x105fb7[0xc]),_0x1a8010=_0x226c05(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x1971b2,0xc,_0x105fb7[0xd]),_0x3a1260=_0x226c05(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x415faf,0x11,_0x105fb7[0xe]),_0x395a8a=_0x226c05(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x3a0c08,0x16,_0x105fb7[0xf]),_0x3d5183=_0x39b23d(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x5311e4,0x5,_0x105fb7[0x10]),_0x1a8010=_0x39b23d(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x30b6a9,0x9,_0x105fb7[0x11]),_0x3a1260=_0x39b23d(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3eabdc,0xe,_0x105fb7[0x12]),_0x395a8a=_0x39b23d(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x50e8b2,0x14,_0x105fb7[0x13]),_0x3d5183=_0x39b23d(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x10b6c1,0x5,_0x105fb7[0x14]),_0x1a8010=_0x39b23d(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x7bcedf,0x9,_0x105fb7[0x15]),_0x3a1260=_0x39b23d(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3a0c08,0xe,_0x105fb7[0x16]),_0x395a8a=_0x39b23d(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x5db08c,0x14,_0x105fb7[0x17]),_0x3d5183=_0x39b23d(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x2ed097,0x5,_0x105fb7[0x18]),_0x1a8010=_0x39b23d(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x415faf,0x9,_0x105fb7[0x19]),_0x3a1260=_0x39b23d(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0xde643f,0xe,_0x105fb7[0x1a]),_0x395a8a=_0x39b23d(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x21509e,0x14,_0x105fb7[0x1b]),_0x3d5183=_0x39b23d(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x1971b2,0x5,_0x105fb7[0x1c]),_0x1a8010=_0x39b23d(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x5c8f1f,0x9,_0x105fb7[0x1d]),_0x3a1260=_0x39b23d(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3c7952,0xe,_0x105fb7[0x1e]),_0x395a8a=_0x39b23d(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x47c6d2,0x14,_0x105fb7[0x1f]),_0x3d5183=_0x230496(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x10b6c1,0x4,_0x105fb7[0x20]),_0x1a8010=_0x230496(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x21509e,0xb,_0x105fb7[0x21]),_0x3a1260=_0x230496(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3eabdc,0x10,_0x105fb7[0x22]),_0x395a8a=_0x230496(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x415faf,0x17,_0x105fb7[0x23]),_0x3d5183=_0x230496(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x5311e4,0x4,_0x105fb7[0x24]),_0x1a8010=_0x230496(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x5db08c,0xb,_0x105fb7[0x25]),_0x3a1260=_0x230496(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3c7952,0x10,_0x105fb7[0x26]),_0x395a8a=_0x230496(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x7bcedf,0x17,_0x105fb7[0x27]),_0x3d5183=_0x230496(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x1971b2,0x4,_0x105fb7[0x28]),_0x1a8010=_0x230496(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x50e8b2,0xb,_0x105fb7[0x29]),_0x3a1260=_0x230496(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0xde643f,0x10,_0x105fb7[0x2a]),_0x395a8a=_0x230496(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x30b6a9,0x17,_0x105fb7[0x2b]),_0x3d5183=_0x230496(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x2ed097,0x4,_0x105fb7[0x2c]),_0x1a8010=_0x230496(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x47c6d2,0xb,_0x105fb7[0x2d]),_0x3a1260=_0x230496(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x3a0c08,0x10,_0x105fb7[0x2e]),_0x395a8a=_0x230496(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x5c8f1f,0x17,_0x105fb7[0x2f]),_0x3d5183=_0x12b335(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x50e8b2,0x6,_0x105fb7[0x30]),_0x1a8010=_0x12b335(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x3c7952,0xa,_0x105fb7[0x31]),_0x3a1260=_0x12b335(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x415faf,0xf,_0x105fb7[0x32]),_0x395a8a=_0x12b335(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x10b6c1,0x15,_0x105fb7[0x33]),_0x3d5183=_0x12b335(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x47c6d2,0x6,_0x105fb7[0x34]),_0x1a8010=_0x12b335(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0xde643f,0xa,_0x105fb7[0x35]),_0x3a1260=_0x12b335(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x7bcedf,0xf,_0x105fb7[0x36]),_0x395a8a=_0x12b335(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x5311e4,0x15,_0x105fb7[0x37]),_0x3d5183=_0x12b335(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x21509e,0x6,_0x105fb7[0x38]),_0x1a8010=_0x12b335(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x3a0c08,0xa,_0x105fb7[0x39]),_0x3a1260=_0x12b335(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x30b6a9,0xf,_0x105fb7[0x3a]),_0x395a8a=_0x12b335(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x1971b2,0x15,_0x105fb7[0x3b]),_0x3d5183=_0x12b335(_0x3d5183,_0x395a8a,_0x3a1260,_0x1a8010,_0x5db08c,0x6,_0x105fb7[0x3c]),_0x1a8010=_0x12b335(_0x1a8010,_0x3d5183,_0x395a8a,_0x3a1260,_0x3eabdc,0xa,_0x105fb7[0x3d]),_0x3a1260=_0x12b335(_0x3a1260,_0x1a8010,_0x3d5183,_0x395a8a,_0x5c8f1f,0xf,_0x105fb7[0x3e]),_0x395a8a=_0x12b335(_0x395a8a,_0x3a1260,_0x1a8010,_0x3d5183,_0x2ed097,0x15,_0x105fb7[0x3f]),_0x529e31[0x0]=_0x529e31[0x0]+_0x3d5183|0x0,_0x529e31[0x1]=_0x529e31[0x1]+_0x395a8a|0x0,_0x529e31[0x2]=_0x529e31[0x2]+_0x3a1260|0x0,_0x529e31[0x3]=_0x529e31[0x3]+_0x1a8010|0x0;},'_doFinalize':function(){var _0xed3282=_0x4dc80b,_0x38e7b4=this[_0xed3282(0x305)],_0x17c23d=_0x38e7b4[_0xed3282(0x3dd)],_0x311816=this[_0xed3282(0x31e)]*0x8,_0x3cd126=_0x38e7b4['sigBytes']*0x8;_0x17c23d[_0x3cd126>>>0x5]|=0x80<<0x18-_0x3cd126%0x20;var _0xb1f7a1=_0x34cc4e[_0xed3282(0x26d)](_0x311816/0x100000000),_0x474897=_0x311816;_0x17c23d[(_0x3cd126+0x40>>>0x9<<0x4)+0xf]=(_0xb1f7a1<<0x8|_0xb1f7a1>>>0x18)&0xff00ff|(_0xb1f7a1<<0x18|_0xb1f7a1>>>0x8)&0xff00ff00,_0x17c23d[(_0x3cd126+0x40>>>0x9<<0x4)+0xe]=(_0x474897<<0x8|_0x474897>>>0x18)&0xff00ff|(_0x474897<<0x18|_0x474897>>>0x8)&0xff00ff00,_0x38e7b4['sigBytes']=(_0x17c23d[_0xed3282(0x3d5)]+0x1)*0x4,this[_0xed3282(0x399)]();for(var _0x4046c7=this[_0xed3282(0x2e1)],_0xcf2bd5=_0x4046c7[_0xed3282(0x3dd)],_0x26100e=0x0;_0x26100e<0x4;_0x26100e++){var _0xc7fe4b=_0xcf2bd5[_0x26100e];_0xcf2bd5[_0x26100e]=(_0xc7fe4b<<0x8|_0xc7fe4b>>>0x18)&0xff00ff|(_0xc7fe4b<<0x18|_0xc7fe4b>>>0x8)&0xff00ff00;}return _0x4046c7;},'clone':function(){var _0x2e48ba=_0x4dc80b,_0x13d801=_0xdfd762['clone'][_0x2e48ba(0x2ca)](this);return _0x13d801['_hash']=this['_hash'][_0x2e48ba(0x309)](),_0x13d801;}});function _0x226c05(_0x1d7b3e,_0x507b31,_0x37653c,_0x41670a,_0x2c2414,_0x3e832a,_0x38941b){var _0x4614bd=_0x1d7b3e+(_0x507b31&_0x37653c|~_0x507b31&_0x41670a)+_0x2c2414+_0x38941b;return(_0x4614bd<<_0x3e832a|_0x4614bd>>>0x20-_0x3e832a)+_0x507b31;}function _0x39b23d(_0x2a3703,_0x4957cb,_0x273c6c,_0x28fb73,_0x53eea0,_0x4b97ca,_0x32b49d){var _0x4cbfe6=_0x2a3703+(_0x4957cb&_0x28fb73|_0x273c6c&~_0x28fb73)+_0x53eea0+_0x32b49d;return(_0x4cbfe6<<_0x4b97ca|_0x4cbfe6>>>0x20-_0x4b97ca)+_0x4957cb;}function _0x230496(_0x31397e,_0x282fbe,_0x4ee332,_0x28d9d6,_0x499802,_0x5818c1,_0x2d0d52){var _0x1bdde6=_0x31397e+(_0x282fbe^_0x4ee332^_0x28d9d6)+_0x499802+_0x2d0d52;return(_0x1bdde6<<_0x5818c1|_0x1bdde6>>>0x20-_0x5818c1)+_0x282fbe;}function _0x12b335(_0x395570,_0x1f7f77,_0x5b1a2c,_0x19b725,_0x266ea5,_0x1de779,_0x2c377a){var _0x28903d=_0x395570+(_0x5b1a2c^(_0x1f7f77|~_0x19b725))+_0x266ea5+_0x2c377a;return(_0x28903d<<_0x1de779|_0x28903d>>>0x20-_0x1de779)+_0x1f7f77;}_0x59f2fe['MD5']=_0xdfd762['_createHelper'](_0x1ddd31),_0x59f2fe[_0x4dc80b(0x209)]=_0xdfd762[_0x4dc80b(0x1e0)](_0x1ddd31);}(Math),_0x39ad3d[_0x147343(0x3c8)];}));}(Ke)),Ke[_0x4e716a(0x2d0)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x4e1948(0x2d0)],ei;function Mr(){var _0x29add6=_0x4e1948;return ei||(ei=0x1,function(_0x389aa2,_0x5c16f3){(function(_0x25b19b,_0x592de6){var _0x24892a=_0x552f;_0x389aa2[_0x24892a(0x2d0)]=_0x592de6(ie());}(Lr,function(_0x384a8b){return(function(){var _0x3e7afc=_0x552f,_0x4a269d=_0x384a8b,_0x45e84c=_0x4a269d[_0x3e7afc(0x232)],_0xc1f310=_0x45e84c[_0x3e7afc(0x38c)],_0x5d47d5=_0x45e84c[_0x3e7afc(0x3e6)],_0x34543e=_0x4a269d[_0x3e7afc(0x39c)],_0x3ffca2=[],_0x5cd9f5=_0x34543e['SHA1']=_0x5d47d5[_0x3e7afc(0x373)]({'_doReset':function(){var _0x232a8a=_0x3e7afc;this[_0x232a8a(0x2e1)]=new _0xc1f310[(_0x232a8a(0x3b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x536e74,_0x4f1f43){var _0x1ad407=_0x3e7afc;for(var _0x975fe=this['_hash'][_0x1ad407(0x3dd)],_0x4d5ef6=_0x975fe[0x0],_0xe206aa=_0x975fe[0x1],_0x3e777c=_0x975fe[0x2],_0x3d2bfa=_0x975fe[0x3],_0x400c40=_0x975fe[0x4],_0x423876=0x0;_0x423876<0x50;_0x423876++){if(_0x423876<0x10)_0x3ffca2[_0x423876]=_0x536e74[_0x4f1f43+_0x423876]|0x0;else{var _0x371d60=_0x3ffca2[_0x423876-0x3]^_0x3ffca2[_0x423876-0x8]^_0x3ffca2[_0x423876-0xe]^_0x3ffca2[_0x423876-0x10];_0x3ffca2[_0x423876]=_0x371d60<<0x1|_0x371d60>>>0x1f;}var _0x3d3439=(_0x4d5ef6<<0x5|_0x4d5ef6>>>0x1b)+_0x400c40+_0x3ffca2[_0x423876];_0x423876<0x14?_0x3d3439+=(_0xe206aa&_0x3e777c|~_0xe206aa&_0x3d2bfa)+0x5a827999:_0x423876<0x28?_0x3d3439+=(_0xe206aa^_0x3e777c^_0x3d2bfa)+0x6ed9eba1:_0x423876<0x3c?_0x3d3439+=(_0xe206aa&_0x3e777c|_0xe206aa&_0x3d2bfa|_0x3e777c&_0x3d2bfa)-0x70e44324:_0x3d3439+=(_0xe206aa^_0x3e777c^_0x3d2bfa)-0x359d3e2a,_0x400c40=_0x3d2bfa,_0x3d2bfa=_0x3e777c,_0x3e777c=_0xe206aa<<0x1e|_0xe206aa>>>0x2,_0xe206aa=_0x4d5ef6,_0x4d5ef6=_0x3d3439;}_0x975fe[0x0]=_0x975fe[0x0]+_0x4d5ef6|0x0,_0x975fe[0x1]=_0x975fe[0x1]+_0xe206aa|0x0,_0x975fe[0x2]=_0x975fe[0x2]+_0x3e777c|0x0,_0x975fe[0x3]=_0x975fe[0x3]+_0x3d2bfa|0x0,_0x975fe[0x4]=_0x975fe[0x4]+_0x400c40|0x0;},'_doFinalize':function(){var _0x46fd36=_0x3e7afc,_0x5a3380=this[_0x46fd36(0x305)],_0x41143b=_0x5a3380[_0x46fd36(0x3dd)],_0x336e32=this[_0x46fd36(0x31e)]*0x8,_0x499f7d=_0x5a3380['sigBytes']*0x8;return _0x41143b[_0x499f7d>>>0x5]|=0x80<<0x18-_0x499f7d%0x20,_0x41143b[(_0x499f7d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x336e32/0x100000000),_0x41143b[(_0x499f7d+0x40>>>0x9<<0x4)+0xf]=_0x336e32,_0x5a3380[_0x46fd36(0x202)]=_0x41143b[_0x46fd36(0x3d5)]*0x4,this[_0x46fd36(0x399)](),this['_hash'];},'clone':function(){var _0xe671bc=_0x3e7afc,_0x44a9ed=_0x5d47d5[_0xe671bc(0x309)][_0xe671bc(0x2ca)](this);return _0x44a9ed[_0xe671bc(0x2e1)]=this[_0xe671bc(0x2e1)][_0xe671bc(0x309)](),_0x44a9ed;}});_0x4a269d[_0x3e7afc(0x3c3)]=_0x5d47d5[_0x3e7afc(0x303)](_0x5cd9f5),_0x4a269d[_0x3e7afc(0x2b7)]=_0x5d47d5[_0x3e7afc(0x1e0)](_0x5cd9f5);}()),_0x384a8b['SHA1'];}));}(qe)),qe[_0x29add6(0x2d0)];}var ze={'exports':{}},$r=ze[_0x4e1948(0x2d0)],ti;function Hr(){var _0x5bd148=_0x4e1948;return ti||(ti=0x1,function(_0x395b99,_0x16c4a7){(function(_0x400a33,_0xa3fddb){var _0x17e626=_0x552f;_0x395b99[_0x17e626(0x2d0)]=_0xa3fddb(ie());}($r,function(_0x3c6268){(function(){var _0x2669a4=_0x552f,_0x40c942=_0x3c6268,_0x3cb78a=_0x40c942[_0x2669a4(0x232)],_0x4116b8=_0x3cb78a[_0x2669a4(0x238)],_0x14807f=_0x40c942[_0x2669a4(0x3f2)],_0x971220=_0x14807f[_0x2669a4(0x3a5)],_0x19a4f7=_0x40c942['algo'];_0x19a4f7['HMAC']=_0x4116b8[_0x2669a4(0x373)]({'init':function(_0x30b194,_0x39e948){var _0x1b8e74=_0x2669a4;_0x30b194=this[_0x1b8e74(0x436)]=new _0x30b194[(_0x1b8e74(0x3b6))](),typeof _0x39e948=='string'&&(_0x39e948=_0x971220[_0x1b8e74(0x1c5)](_0x39e948));var _0x3ef329=_0x30b194[_0x1b8e74(0x2ba)],_0x4bc8dd=_0x3ef329*0x4;_0x39e948[_0x1b8e74(0x202)]>_0x4bc8dd&&(_0x39e948=_0x30b194[_0x1b8e74(0x197)](_0x39e948)),_0x39e948[_0x1b8e74(0x2e6)]();for(var _0x32c76a=this['_oKey']=_0x39e948[_0x1b8e74(0x309)](),_0x2f15d0=this[_0x1b8e74(0x1cb)]=_0x39e948[_0x1b8e74(0x309)](),_0x522490=_0x32c76a[_0x1b8e74(0x3dd)],_0xe51017=_0x2f15d0['words'],_0x276750=0x0;_0x276750<_0x3ef329;_0x276750++)_0x522490[_0x276750]^=0x5c5c5c5c,_0xe51017[_0x276750]^=0x36363636;_0x32c76a['sigBytes']=_0x2f15d0['sigBytes']=_0x4bc8dd,this[_0x1b8e74(0x418)]();},'reset':function(){var _0x430591=_0x2669a4,_0x2c3382=this[_0x430591(0x436)];_0x2c3382[_0x430591(0x418)](),_0x2c3382[_0x430591(0x3af)](this[_0x430591(0x1cb)]);},'update':function(_0xbfa94e){var _0x32a130=_0x2669a4;return this[_0x32a130(0x436)][_0x32a130(0x3af)](_0xbfa94e),this;},'finalize':function(_0x212670){var _0x209542=_0x2669a4,_0x153a4d=this[_0x209542(0x436)],_0x3d5352=_0x153a4d[_0x209542(0x197)](_0x212670);_0x153a4d['reset']();var _0x1e1d3d=_0x153a4d[_0x209542(0x197)](this[_0x209542(0x280)][_0x209542(0x309)]()['concat'](_0x3d5352));return _0x1e1d3d;}});}());}));}(ze)),ze[_0x5bd148(0x2d0)];}var kr=Ye[_0x4e1948(0x2d0)],ii;function Pi(){var _0x5be9e1=_0x4e1948;return ii||(ii=0x1,function(_0x45b747,_0x249179){(function(_0x2e1e8f,_0x57d6d6,_0x55b6d4){var _0x3606f9=_0x552f;_0x45b747[_0x3606f9(0x2d0)]=_0x57d6d6(ie(),Mr(),Hr());}(kr,function(_0x1516dc){var _0xf2fc98=_0x552f;return(function(){var _0x2883de=_0x552f,_0xde7fb7=_0x1516dc,_0x38d3be=_0xde7fb7[_0x2883de(0x232)],_0x1e1dd6=_0x38d3be[_0x2883de(0x238)],_0x327ab4=_0x38d3be[_0x2883de(0x38c)],_0x430b3b=_0xde7fb7[_0x2883de(0x39c)],_0x5589fb=_0x430b3b[_0x2883de(0x3c8)],_0x328a6f=_0x430b3b[_0x2883de(0x34b)]=_0x1e1dd6['extend']({'cfg':_0x1e1dd6[_0x2883de(0x373)]({'keySize':0x80/0x20,'hasher':_0x5589fb,'iterations':0x1}),'init':function(_0x28726e){var _0x5e4aaf=_0x2883de;this['cfg']=this[_0x5e4aaf(0x22d)]['extend'](_0x28726e);},'compute':function(_0x2509a1,_0x5dd748){var _0x2d3b2d=_0x2883de;for(var _0x8c57ee,_0x196789=this[_0x2d3b2d(0x22d)],_0x50bfba=_0x196789['hasher'][_0x2d3b2d(0x2f5)](),_0x4533f7=_0x327ab4[_0x2d3b2d(0x2f5)](),_0x44f3b7=_0x4533f7[_0x2d3b2d(0x3dd)],_0x2300eb=_0x196789[_0x2d3b2d(0x19b)],_0x126fcf=_0x196789['iterations'];_0x44f3b7['length']<_0x2300eb;){_0x8c57ee&&_0x50bfba[_0x2d3b2d(0x3af)](_0x8c57ee),_0x8c57ee=_0x50bfba[_0x2d3b2d(0x3af)](_0x2509a1)[_0x2d3b2d(0x197)](_0x5dd748),_0x50bfba[_0x2d3b2d(0x418)]();for(var _0x3398e6=0x1;_0x3398e6<_0x126fcf;_0x3398e6++)_0x8c57ee=_0x50bfba[_0x2d3b2d(0x197)](_0x8c57ee),_0x50bfba[_0x2d3b2d(0x418)]();_0x4533f7[_0x2d3b2d(0x331)](_0x8c57ee);}return _0x4533f7[_0x2d3b2d(0x202)]=_0x2300eb*0x4,_0x4533f7;}});_0xde7fb7[_0x2883de(0x34b)]=function(_0x1c2b4c,_0x4bf497,_0x23add1){var _0x42e297=_0x2883de;return _0x328a6f[_0x42e297(0x2f5)](_0x23add1)['compute'](_0x1c2b4c,_0x4bf497);};}()),_0x1516dc[_0xf2fc98(0x34b)];}));}(Ye)),Ye[_0x5be9e1(0x2d0)];}var Je={'exports':{}},jr=Je['exports'],ni;function wi(){var _0x3c177f=_0x4e1948;return ni||(ni=0x1,function(_0xab8859,_0x2707ef){(function(_0x562960,_0xbe2b8c,_0x1ba430){var _0x4dcf90=_0x552f;_0xab8859[_0x4dcf90(0x2d0)]=_0xbe2b8c(ie(),Pi());}(jr,function(_0x2f8b8d){_0x2f8b8d['lib']['Cipher']||function(_0x1ec30a){var _0x37ffe0=_0x552f,_0x20988a=_0x2f8b8d,_0x200701=_0x20988a['lib'],_0x40782e=_0x200701['Base'],_0x10ed75=_0x200701['WordArray'],_0x5a7ddb=_0x200701[_0x37ffe0(0x2a2)],_0x110851=_0x20988a['enc'];_0x110851['Utf8'];var _0x404c98=_0x110851['Base64'],_0xdef327=_0x20988a[_0x37ffe0(0x39c)],_0xeedb97=_0xdef327[_0x37ffe0(0x34b)],_0x5d31fc=_0x200701[_0x37ffe0(0x24b)]=_0x5a7ddb['extend']({'cfg':_0x40782e[_0x37ffe0(0x373)](),'createEncryptor':function(_0x225935,_0x219630){var _0x446b15=_0x37ffe0;return this[_0x446b15(0x2f5)](this[_0x446b15(0x22e)],_0x225935,_0x219630);},'createDecryptor':function(_0x265a34,_0x19707d){var _0x2c8d3c=_0x37ffe0;return this['create'](this[_0x2c8d3c(0x1b8)],_0x265a34,_0x19707d);},'init':function(_0x478403,_0x1be200,_0x4fd698){var _0x351a96=_0x37ffe0;this['cfg']=this['cfg']['extend'](_0x4fd698),this[_0x351a96(0x1bb)]=_0x478403,this[_0x351a96(0x3bd)]=_0x1be200,this['reset']();},'reset':function(){var _0x92b1a9=_0x37ffe0;_0x5a7ddb['reset'][_0x92b1a9(0x2ca)](this),this[_0x92b1a9(0x3cc)]();},'process':function(_0x2040b0){var _0x3343b3=_0x37ffe0;return this[_0x3343b3(0x42d)](_0x2040b0),this[_0x3343b3(0x399)]();},'finalize':function(_0x34d128){var _0x57790c=_0x37ffe0;_0x34d128&&this['_append'](_0x34d128);var _0x5529f6=this[_0x57790c(0x283)]();return _0x5529f6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1778e2(_0x24967c){var _0x3e71d3=_0x552f;return typeof _0x24967c==_0x3e71d3(0x341)?_0x54def1:_0x5f2a7f;}return function(_0x149148){return{'encrypt':function(_0x46c3c3,_0x34baf2,_0x5f2341){var _0x55ce24=_0x552f;return _0x1778e2(_0x34baf2)[_0x55ce24(0x379)](_0x149148,_0x46c3c3,_0x34baf2,_0x5f2341);},'decrypt':function(_0x2fcebc,_0x1b5f2d,_0x41dd23){var _0x237dd7=_0x552f;return _0x1778e2(_0x1b5f2d)[_0x237dd7(0x410)](_0x149148,_0x2fcebc,_0x1b5f2d,_0x41dd23);}};};}())});_0x200701[_0x37ffe0(0x16b)]=_0x5d31fc[_0x37ffe0(0x373)]({'_doFinalize':function(){var _0xa7c9b1=_0x37ffe0,_0x2909b6=this[_0xa7c9b1(0x399)](!0x0);return _0x2909b6;},'blockSize':0x1});var _0x51e77e=_0x20988a[_0x37ffe0(0x1b1)]={},_0x4fab38=_0x200701['BlockCipherMode']=_0x40782e[_0x37ffe0(0x373)]({'createEncryptor':function(_0x526e59,_0x10cc64){var _0x1036ab=_0x37ffe0;return this[_0x1036ab(0x18e)][_0x1036ab(0x2f5)](_0x526e59,_0x10cc64);},'createDecryptor':function(_0xe4dfb5,_0xf2cc02){var _0x383888=_0x37ffe0;return this[_0x383888(0x156)][_0x383888(0x2f5)](_0xe4dfb5,_0xf2cc02);},'init':function(_0x12cdc5,_0x37a280){var _0x44def5=_0x37ffe0;this[_0x44def5(0x161)]=_0x12cdc5,this[_0x44def5(0x1fa)]=_0x37a280;}}),_0x3e7bd9=_0x51e77e['CBC']=(function(){var _0x2521e8=_0x37ffe0,_0x238b91=_0x4fab38[_0x2521e8(0x373)]();_0x238b91[_0x2521e8(0x18e)]=_0x238b91[_0x2521e8(0x373)]({'processBlock':function(_0x2ff0bc,_0x48af7c){var _0x43476f=_0x2521e8,_0x3dbcb2=this[_0x43476f(0x161)],_0x44bedf=_0x3dbcb2[_0x43476f(0x2ba)];_0x5d51e2[_0x43476f(0x2ca)](this,_0x2ff0bc,_0x48af7c,_0x44bedf),_0x3dbcb2[_0x43476f(0x2e5)](_0x2ff0bc,_0x48af7c),this[_0x43476f(0x22b)]=_0x2ff0bc[_0x43476f(0x382)](_0x48af7c,_0x48af7c+_0x44bedf);}}),_0x238b91['Decryptor']=_0x238b91['extend']({'processBlock':function(_0x20e323,_0x430c39){var _0x5a4c9c=_0x2521e8,_0x8a8aa=this[_0x5a4c9c(0x161)],_0x2ef377=_0x8a8aa[_0x5a4c9c(0x2ba)],_0xd23f6c=_0x20e323[_0x5a4c9c(0x382)](_0x430c39,_0x430c39+_0x2ef377);_0x8a8aa[_0x5a4c9c(0x301)](_0x20e323,_0x430c39),_0x5d51e2[_0x5a4c9c(0x2ca)](this,_0x20e323,_0x430c39,_0x2ef377),this[_0x5a4c9c(0x22b)]=_0xd23f6c;}});function _0x5d51e2(_0xc43406,_0x545a9b,_0x2314d6){var _0xac2512=_0x2521e8,_0x379896,_0x4145a1=this[_0xac2512(0x1fa)];_0x4145a1?(_0x379896=_0x4145a1,this[_0xac2512(0x1fa)]=_0x1ec30a):_0x379896=this[_0xac2512(0x22b)];for(var _0x2ef6d8=0x0;_0x2ef6d8<_0x2314d6;_0x2ef6d8++)_0xc43406[_0x545a9b+_0x2ef6d8]^=_0x379896[_0x2ef6d8];}return _0x238b91;}()),_0x2ba9eb=_0x20988a[_0x37ffe0(0x3de)]={},_0x49bacc=_0x2ba9eb[_0x37ffe0(0x23b)]={'pad':function(_0x21b7d7,_0x3fc741){var _0x350c19=_0x37ffe0;for(var _0x30db8d=_0x3fc741*0x4,_0x4ba8a4=_0x30db8d-_0x21b7d7[_0x350c19(0x202)]%_0x30db8d,_0x8e1d61=_0x4ba8a4<<0x18|_0x4ba8a4<<0x10|_0x4ba8a4<<0x8|_0x4ba8a4,_0x13d38a=[],_0x1017ed=0x0;_0x1017ed<_0x4ba8a4;_0x1017ed+=0x4)_0x13d38a[_0x350c19(0x2cb)](_0x8e1d61);var _0x4eac5e=_0x10ed75[_0x350c19(0x2f5)](_0x13d38a,_0x4ba8a4);_0x21b7d7[_0x350c19(0x331)](_0x4eac5e);},'unpad':function(_0x306dc1){var _0x1fa38d=_0x37ffe0,_0x568e12=_0x306dc1[_0x1fa38d(0x3dd)][_0x306dc1[_0x1fa38d(0x202)]-0x1>>>0x2]&0xff;_0x306dc1['sigBytes']-=_0x568e12;}};_0x200701[_0x37ffe0(0x438)]=_0x5d31fc['extend']({'cfg':_0x5d31fc[_0x37ffe0(0x22d)][_0x37ffe0(0x373)]({'mode':_0x3e7bd9,'padding':_0x49bacc}),'reset':function(){var _0x40232a=_0x37ffe0,_0x4fc88f;_0x5d31fc['reset'][_0x40232a(0x2ca)](this);var _0x51bb10=this[_0x40232a(0x22d)],_0xe77de5=_0x51bb10['iv'],_0x3dd932=_0x51bb10[_0x40232a(0x1b1)];this[_0x40232a(0x1bb)]==this['_ENC_XFORM_MODE']?_0x4fc88f=_0x3dd932[_0x40232a(0x2d4)]:(_0x4fc88f=_0x3dd932[_0x40232a(0x3be)],this[_0x40232a(0x182)]=0x1),this['_mode']&&this[_0x40232a(0x42a)]['__creator']==_0x4fc88f?this[_0x40232a(0x42a)]['init'](this,_0xe77de5&&_0xe77de5[_0x40232a(0x3dd)]):(this[_0x40232a(0x42a)]=_0x4fc88f['call'](_0x3dd932,this,_0xe77de5&&_0xe77de5['words']),this['_mode']['__creator']=_0x4fc88f);},'_doProcessBlock':function(_0x2094a5,_0x3c6090){var _0x42abc2=_0x37ffe0;this[_0x42abc2(0x42a)][_0x42abc2(0x1ad)](_0x2094a5,_0x3c6090);},'_doFinalize':function(){var _0x18e03c=_0x37ffe0,_0x197925,_0x255bd0=this[_0x18e03c(0x22d)][_0x18e03c(0x21e)];return this[_0x18e03c(0x1bb)]==this[_0x18e03c(0x22e)]?(_0x255bd0[_0x18e03c(0x3de)](this[_0x18e03c(0x305)],this[_0x18e03c(0x2ba)]),_0x197925=this[_0x18e03c(0x399)](!0x0)):(_0x197925=this['_process'](!0x0),_0x255bd0[_0x18e03c(0x420)](_0x197925)),_0x197925;},'blockSize':0x80/0x20});var _0x48b639=_0x200701[_0x37ffe0(0x287)]=_0x40782e[_0x37ffe0(0x373)]({'init':function(_0x2b5726){this['mixIn'](_0x2b5726);},'toString':function(_0x4ab3e9){var _0x45bd06=_0x37ffe0;return(_0x4ab3e9||this[_0x45bd06(0x22f)])[_0x45bd06(0x42f)](this);}}),_0x3af6c7=_0x20988a[_0x37ffe0(0x315)]={},_0x388957=_0x3af6c7[_0x37ffe0(0x2d6)]={'stringify':function(_0x5944b4){var _0x5ae7d9=_0x37ffe0,_0x459d3c,_0x295d04=_0x5944b4[_0x5ae7d9(0x427)],_0x533d35=_0x5944b4[_0x5ae7d9(0x151)];return _0x533d35?_0x459d3c=_0x10ed75[_0x5ae7d9(0x2f5)]([0x53616c74,0x65645f5f])[_0x5ae7d9(0x331)](_0x533d35)[_0x5ae7d9(0x331)](_0x295d04):_0x459d3c=_0x295d04,_0x459d3c[_0x5ae7d9(0x189)](_0x404c98);},'parse':function(_0x1b283d){var _0x478685=_0x37ffe0,_0x41f143,_0x5ba3de=_0x404c98[_0x478685(0x1c5)](_0x1b283d),_0x25b830=_0x5ba3de['words'];return _0x25b830[0x0]==0x53616c74&&_0x25b830[0x1]==0x65645f5f&&(_0x41f143=_0x10ed75[_0x478685(0x2f5)](_0x25b830[_0x478685(0x382)](0x2,0x4)),_0x25b830[_0x478685(0x274)](0x0,0x4),_0x5ba3de[_0x478685(0x202)]-=0x10),_0x48b639[_0x478685(0x2f5)]({'ciphertext':_0x5ba3de,'salt':_0x41f143});}},_0x5f2a7f=_0x200701[_0x37ffe0(0x2ec)]=_0x40782e[_0x37ffe0(0x373)]({'cfg':_0x40782e[_0x37ffe0(0x373)]({'format':_0x388957}),'encrypt':function(_0x368b61,_0x9dadcc,_0x12da8e,_0xa28ac2){var _0x5d10de=_0x37ffe0;_0xa28ac2=this['cfg'][_0x5d10de(0x373)](_0xa28ac2);var _0x426cd0=_0x368b61['createEncryptor'](_0x12da8e,_0xa28ac2),_0x213b47=_0x426cd0['finalize'](_0x9dadcc),_0x62925f=_0x426cd0[_0x5d10de(0x22d)];return _0x48b639[_0x5d10de(0x2f5)]({'ciphertext':_0x213b47,'key':_0x12da8e,'iv':_0x62925f['iv'],'algorithm':_0x368b61,'mode':_0x62925f['mode'],'padding':_0x62925f['padding'],'blockSize':_0x368b61[_0x5d10de(0x2ba)],'formatter':_0xa28ac2[_0x5d10de(0x315)]});},'decrypt':function(_0x3ef9d8,_0x5a9d0a,_0x59024f,_0x5c421a){var _0x3856a0=_0x37ffe0;_0x5c421a=this['cfg'][_0x3856a0(0x373)](_0x5c421a),_0x5a9d0a=this[_0x3856a0(0x425)](_0x5a9d0a,_0x5c421a['format']);var _0x1bee06=_0x3ef9d8['createDecryptor'](_0x59024f,_0x5c421a)[_0x3856a0(0x197)](_0x5a9d0a[_0x3856a0(0x427)]);return _0x1bee06;},'_parse':function(_0x1d2d92,_0x5e52df){var _0x9b6a2e=_0x37ffe0;return typeof _0x1d2d92==_0x9b6a2e(0x341)?_0x5e52df[_0x9b6a2e(0x1c5)](_0x1d2d92,this):_0x1d2d92;}}),_0x1832f3=_0x20988a[_0x37ffe0(0x3f0)]={},_0x17e5e2=_0x1832f3['OpenSSL']={'execute':function(_0x22dfb2,_0x42f4a2,_0x13a5a8,_0x150557,_0x276c9c){var _0x44ae7f=_0x37ffe0;if(_0x150557||(_0x150557=_0x10ed75[_0x44ae7f(0x21d)](0x40/0x8)),_0x276c9c)var _0x35e471=_0xeedb97[_0x44ae7f(0x2f5)]({'keySize':_0x42f4a2+_0x13a5a8,'hasher':_0x276c9c})[_0x44ae7f(0x1c8)](_0x22dfb2,_0x150557);else var _0x35e471=_0xeedb97[_0x44ae7f(0x2f5)]({'keySize':_0x42f4a2+_0x13a5a8})[_0x44ae7f(0x1c8)](_0x22dfb2,_0x150557);var _0x3791e6=_0x10ed75[_0x44ae7f(0x2f5)](_0x35e471[_0x44ae7f(0x3dd)][_0x44ae7f(0x382)](_0x42f4a2),_0x13a5a8*0x4);return _0x35e471[_0x44ae7f(0x202)]=_0x42f4a2*0x4,_0x48b639[_0x44ae7f(0x2f5)]({'key':_0x35e471,'iv':_0x3791e6,'salt':_0x150557});}},_0x54def1=_0x200701[_0x37ffe0(0x338)]=_0x5f2a7f['extend']({'cfg':_0x5f2a7f[_0x37ffe0(0x22d)][_0x37ffe0(0x373)]({'kdf':_0x17e5e2}),'encrypt':function(_0x208144,_0x5eb88e,_0x19047a,_0x1347ef){var _0x595653=_0x37ffe0;_0x1347ef=this[_0x595653(0x22d)]['extend'](_0x1347ef);var _0x15ad95=_0x1347ef[_0x595653(0x3f0)][_0x595653(0x1a0)](_0x19047a,_0x208144[_0x595653(0x19b)],_0x208144[_0x595653(0x3a2)],_0x1347ef[_0x595653(0x151)],_0x1347ef[_0x595653(0x1f9)]);_0x1347ef['iv']=_0x15ad95['iv'];var _0x46aebb=_0x5f2a7f['encrypt'][_0x595653(0x2ca)](this,_0x208144,_0x5eb88e,_0x15ad95[_0x595653(0x25e)],_0x1347ef);return _0x46aebb['mixIn'](_0x15ad95),_0x46aebb;},'decrypt':function(_0x442d06,_0x4ec290,_0x2f264f,_0x4a59ac){var _0x5bd11f=_0x37ffe0;_0x4a59ac=this['cfg'][_0x5bd11f(0x373)](_0x4a59ac),_0x4ec290=this['_parse'](_0x4ec290,_0x4a59ac['format']);var _0xaea835=_0x4a59ac[_0x5bd11f(0x3f0)][_0x5bd11f(0x1a0)](_0x2f264f,_0x442d06[_0x5bd11f(0x19b)],_0x442d06[_0x5bd11f(0x3a2)],_0x4ec290[_0x5bd11f(0x151)],_0x4a59ac[_0x5bd11f(0x1f9)]);_0x4a59ac['iv']=_0xaea835['iv'];var _0x175c16=_0x5f2a7f[_0x5bd11f(0x410)][_0x5bd11f(0x2ca)](this,_0x442d06,_0x4ec290,_0xaea835[_0x5bd11f(0x25e)],_0x4a59ac);return _0x175c16;}});}();}));}(Je)),Je[_0x3c177f(0x2d0)];}var Br=Ge[_0x4e1948(0x2d0)],ri;function Fr(){var _0xcbe34=_0x4e1948;return ri||(ri=0x1,function(_0x5c72c2,_0x24a6d9){(function(_0x544d00,_0x2cdc9f,_0x7eb671){var _0x1fe0a7=_0x552f;_0x5c72c2[_0x1fe0a7(0x2d0)]=_0x2cdc9f(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x1bcba0){var _0x17ee10=_0x552f;return(function(){var _0x499aec=_0x552f,_0x46e16c=_0x1bcba0,_0x3ebb3b=_0x46e16c['lib'],_0x5b7e15=_0x3ebb3b['BlockCipher'],_0x4f30bd=_0x46e16c[_0x499aec(0x39c)],_0x41c2af=[],_0x28e831=[],_0x44430c=[],_0x39fea3=[],_0xc0634=[],_0x27b75d=[],_0x67d3fa=[],_0x2f083c=[],_0x30f895=[],_0x833f0f=[];(function(){for(var _0x106226=[],_0x31273a=0x0;_0x31273a<0x100;_0x31273a++)_0x31273a<0x80?_0x106226[_0x31273a]=_0x31273a<<0x1:_0x106226[_0x31273a]=_0x31273a<<0x1^0x11b;for(var _0x4c6175=0x0,_0x273d63=0x0,_0x31273a=0x0;_0x31273a<0x100;_0x31273a++){var _0x25e57e=_0x273d63^_0x273d63<<0x1^_0x273d63<<0x2^_0x273d63<<0x3^_0x273d63<<0x4;_0x25e57e=_0x25e57e>>>0x8^_0x25e57e&0xff^0x63,_0x41c2af[_0x4c6175]=_0x25e57e,_0x28e831[_0x25e57e]=_0x4c6175;var _0x1eff92=_0x106226[_0x4c6175],_0x4d50df=_0x106226[_0x1eff92],_0x44bbf3=_0x106226[_0x4d50df],_0x2560d9=_0x106226[_0x25e57e]*0x101^_0x25e57e*0x1010100;_0x44430c[_0x4c6175]=_0x2560d9<<0x18|_0x2560d9>>>0x8,_0x39fea3[_0x4c6175]=_0x2560d9<<0x10|_0x2560d9>>>0x10,_0xc0634[_0x4c6175]=_0x2560d9<<0x8|_0x2560d9>>>0x18,_0x27b75d[_0x4c6175]=_0x2560d9;var _0x2560d9=_0x44bbf3*0x1010101^_0x4d50df*0x10001^_0x1eff92*0x101^_0x4c6175*0x1010100;_0x67d3fa[_0x25e57e]=_0x2560d9<<0x18|_0x2560d9>>>0x8,_0x2f083c[_0x25e57e]=_0x2560d9<<0x10|_0x2560d9>>>0x10,_0x30f895[_0x25e57e]=_0x2560d9<<0x8|_0x2560d9>>>0x18,_0x833f0f[_0x25e57e]=_0x2560d9,_0x4c6175?(_0x4c6175=_0x1eff92^_0x106226[_0x106226[_0x106226[_0x44bbf3^_0x1eff92]]],_0x273d63^=_0x106226[_0x106226[_0x273d63]]):_0x4c6175=_0x273d63=0x1;}}());var _0x387f69=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x124783=_0x4f30bd[_0x499aec(0x3d0)]=_0x5b7e15[_0x499aec(0x373)]({'_doReset':function(){var _0x2c4229=_0x499aec,_0x19f362;if(!(this[_0x2c4229(0x2b1)]&&this['_keyPriorReset']===this[_0x2c4229(0x3bd)])){for(var _0x2b5988=this[_0x2c4229(0x388)]=this[_0x2c4229(0x3bd)],_0x513ca6=_0x2b5988['words'],_0x3b5145=_0x2b5988[_0x2c4229(0x202)]/0x4,_0x2154df=this[_0x2c4229(0x2b1)]=_0x3b5145+0x6,_0x20d393=(_0x2154df+0x1)*0x4,_0x462bef=this[_0x2c4229(0x3ff)]=[],_0x31a721=0x0;_0x31a721<_0x20d393;_0x31a721++)_0x31a721<_0x3b5145?_0x462bef[_0x31a721]=_0x513ca6[_0x31a721]:(_0x19f362=_0x462bef[_0x31a721-0x1],_0x31a721%_0x3b5145?_0x3b5145>0x6&&_0x31a721%_0x3b5145==0x4&&(_0x19f362=_0x41c2af[_0x19f362>>>0x18]<<0x18|_0x41c2af[_0x19f362>>>0x10&0xff]<<0x10|_0x41c2af[_0x19f362>>>0x8&0xff]<<0x8|_0x41c2af[_0x19f362&0xff]):(_0x19f362=_0x19f362<<0x8|_0x19f362>>>0x18,_0x19f362=_0x41c2af[_0x19f362>>>0x18]<<0x18|_0x41c2af[_0x19f362>>>0x10&0xff]<<0x10|_0x41c2af[_0x19f362>>>0x8&0xff]<<0x8|_0x41c2af[_0x19f362&0xff],_0x19f362^=_0x387f69[_0x31a721/_0x3b5145|0x0]<<0x18),_0x462bef[_0x31a721]=_0x462bef[_0x31a721-_0x3b5145]^_0x19f362);for(var _0xdbcd13=this[_0x2c4229(0x29e)]=[],_0x17524f=0x0;_0x17524f<_0x20d393;_0x17524f++){var _0x31a721=_0x20d393-_0x17524f;if(_0x17524f%0x4)var _0x19f362=_0x462bef[_0x31a721];else var _0x19f362=_0x462bef[_0x31a721-0x4];_0x17524f<0x4||_0x31a721<=0x4?_0xdbcd13[_0x17524f]=_0x19f362:_0xdbcd13[_0x17524f]=_0x67d3fa[_0x41c2af[_0x19f362>>>0x18]]^_0x2f083c[_0x41c2af[_0x19f362>>>0x10&0xff]]^_0x30f895[_0x41c2af[_0x19f362>>>0x8&0xff]]^_0x833f0f[_0x41c2af[_0x19f362&0xff]];}}},'encryptBlock':function(_0x33f7f7,_0x17da6b){var _0x5a2782=_0x499aec;this[_0x5a2782(0x2ff)](_0x33f7f7,_0x17da6b,this[_0x5a2782(0x3ff)],_0x44430c,_0x39fea3,_0xc0634,_0x27b75d,_0x41c2af);},'decryptBlock':function(_0x2f7385,_0x5d89ae){var _0x2f6961=_0x499aec,_0x5ce7a9=_0x2f7385[_0x5d89ae+0x1];_0x2f7385[_0x5d89ae+0x1]=_0x2f7385[_0x5d89ae+0x3],_0x2f7385[_0x5d89ae+0x3]=_0x5ce7a9,this[_0x2f6961(0x2ff)](_0x2f7385,_0x5d89ae,this[_0x2f6961(0x29e)],_0x67d3fa,_0x2f083c,_0x30f895,_0x833f0f,_0x28e831);var _0x5ce7a9=_0x2f7385[_0x5d89ae+0x1];_0x2f7385[_0x5d89ae+0x1]=_0x2f7385[_0x5d89ae+0x3],_0x2f7385[_0x5d89ae+0x3]=_0x5ce7a9;},'_doCryptBlock':function(_0x5cae31,_0x1a06c6,_0x12759a,_0x425eab,_0x3faba1,_0x5143e0,_0x2d3fa7,_0x4a6e79){var _0x27a83e=_0x499aec;for(var _0x29e553=this[_0x27a83e(0x2b1)],_0x198ac0=_0x5cae31[_0x1a06c6]^_0x12759a[0x0],_0x4af8ac=_0x5cae31[_0x1a06c6+0x1]^_0x12759a[0x1],_0x40b880=_0x5cae31[_0x1a06c6+0x2]^_0x12759a[0x2],_0x32fbcf=_0x5cae31[_0x1a06c6+0x3]^_0x12759a[0x3],_0x25f052=0x4,_0x5c4315=0x1;_0x5c4315<_0x29e553;_0x5c4315++){var _0x212683=_0x425eab[_0x198ac0>>>0x18]^_0x3faba1[_0x4af8ac>>>0x10&0xff]^_0x5143e0[_0x40b880>>>0x8&0xff]^_0x2d3fa7[_0x32fbcf&0xff]^_0x12759a[_0x25f052++],_0x3a8c61=_0x425eab[_0x4af8ac>>>0x18]^_0x3faba1[_0x40b880>>>0x10&0xff]^_0x5143e0[_0x32fbcf>>>0x8&0xff]^_0x2d3fa7[_0x198ac0&0xff]^_0x12759a[_0x25f052++],_0x59a0ef=_0x425eab[_0x40b880>>>0x18]^_0x3faba1[_0x32fbcf>>>0x10&0xff]^_0x5143e0[_0x198ac0>>>0x8&0xff]^_0x2d3fa7[_0x4af8ac&0xff]^_0x12759a[_0x25f052++],_0x11f98c=_0x425eab[_0x32fbcf>>>0x18]^_0x3faba1[_0x198ac0>>>0x10&0xff]^_0x5143e0[_0x4af8ac>>>0x8&0xff]^_0x2d3fa7[_0x40b880&0xff]^_0x12759a[_0x25f052++];_0x198ac0=_0x212683,_0x4af8ac=_0x3a8c61,_0x40b880=_0x59a0ef,_0x32fbcf=_0x11f98c;}var _0x212683=(_0x4a6e79[_0x198ac0>>>0x18]<<0x18|_0x4a6e79[_0x4af8ac>>>0x10&0xff]<<0x10|_0x4a6e79[_0x40b880>>>0x8&0xff]<<0x8|_0x4a6e79[_0x32fbcf&0xff])^_0x12759a[_0x25f052++],_0x3a8c61=(_0x4a6e79[_0x4af8ac>>>0x18]<<0x18|_0x4a6e79[_0x40b880>>>0x10&0xff]<<0x10|_0x4a6e79[_0x32fbcf>>>0x8&0xff]<<0x8|_0x4a6e79[_0x198ac0&0xff])^_0x12759a[_0x25f052++],_0x59a0ef=(_0x4a6e79[_0x40b880>>>0x18]<<0x18|_0x4a6e79[_0x32fbcf>>>0x10&0xff]<<0x10|_0x4a6e79[_0x198ac0>>>0x8&0xff]<<0x8|_0x4a6e79[_0x4af8ac&0xff])^_0x12759a[_0x25f052++],_0x11f98c=(_0x4a6e79[_0x32fbcf>>>0x18]<<0x18|_0x4a6e79[_0x198ac0>>>0x10&0xff]<<0x10|_0x4a6e79[_0x4af8ac>>>0x8&0xff]<<0x8|_0x4a6e79[_0x40b880&0xff])^_0x12759a[_0x25f052++];_0x5cae31[_0x1a06c6]=_0x212683,_0x5cae31[_0x1a06c6+0x1]=_0x3a8c61,_0x5cae31[_0x1a06c6+0x2]=_0x59a0ef,_0x5cae31[_0x1a06c6+0x3]=_0x11f98c;},'keySize':0x100/0x20});_0x46e16c['AES']=_0x5b7e15[_0x499aec(0x303)](_0x124783);}()),_0x1bcba0[_0x17ee10(0x3d0)];}));}(Ge)),Ge[_0xcbe34(0x2d0)];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe[_0x4e1948(0x2d0)],oi;function Yr(){var _0x2ccd1f=_0x4e1948;return oi||(oi=0x1,function(_0x37d130,_0x192d8a){(function(_0x52b16e,_0x3c549f){_0x37d130['exports']=_0x3c549f(ie());}(Kr,function(_0x15a74e){var _0x5c02d1=_0x552f;return _0x15a74e['enc'][_0x5c02d1(0x3a5)];}));}(Xe)),Xe[_0x2ccd1f(0x2d0)];}var qr=Yr();const zr=ke(qr);var Ze={'exports':{}},Jr=Ze[_0x4e1948(0x2d0)],ai;function Xr(){var _0x4dcc39=_0x4e1948;return ai||(ai=0x1,function(_0x598fa5,_0x355c09){(function(_0x45f53,_0x3a6c7a){var _0x312e46=_0x552f;_0x598fa5[_0x312e46(0x2d0)]=_0x3a6c7a(ie());}(Jr,function(_0x17e1f7){var _0x4cc1d6=_0x552f;return(function(){var _0x5e1ebe=_0x552f;if(typeof ArrayBuffer==_0x5e1ebe(0x3c1)){var _0x3e54fd=_0x17e1f7,_0x65f7ac=_0x3e54fd['lib'],_0x3a654c=_0x65f7ac[_0x5e1ebe(0x38c)],_0x55f146=_0x3a654c[_0x5e1ebe(0x3b6)],_0x439c6b=_0x3a654c[_0x5e1ebe(0x3b6)]=function(_0x49e9df){var _0x37242a=_0x5e1ebe;if(_0x49e9df instanceof ArrayBuffer&&(_0x49e9df=new Uint8Array(_0x49e9df)),(_0x49e9df instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x49e9df instanceof Uint8ClampedArray||_0x49e9df instanceof Int16Array||_0x49e9df instanceof Uint16Array||_0x49e9df instanceof Int32Array||_0x49e9df instanceof Uint32Array||_0x49e9df instanceof Float32Array||_0x49e9df instanceof Float64Array)&&(_0x49e9df=new Uint8Array(_0x49e9df[_0x37242a(0x2ab)],_0x49e9df['byteOffset'],_0x49e9df[_0x37242a(0x36a)])),_0x49e9df instanceof Uint8Array){for(var _0x31e2e4=_0x49e9df[_0x37242a(0x36a)],_0x5c6f87=[],_0x101b86=0x0;_0x101b86<_0x31e2e4;_0x101b86++)_0x5c6f87[_0x101b86>>>0x2]|=_0x49e9df[_0x101b86]<<0x18-_0x101b86%0x4*0x8;_0x55f146[_0x37242a(0x2ca)](this,_0x5c6f87,_0x31e2e4);}else _0x55f146[_0x37242a(0x33c)](this,arguments);};_0x439c6b[_0x5e1ebe(0x38f)]=_0x3a654c;}}()),_0x17e1f7[_0x4cc1d6(0x232)][_0x4cc1d6(0x38c)];}));}(Ze)),Ze[_0x4dcc39(0x2d0)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x4e1948(0x2d0)],ci;function ts(){var _0x181e8d=_0x4e1948;return ci||(ci=0x1,function(_0x36ef8c,_0x1c0797){(function(_0x3e2e2b,_0x3053fe,_0x19e0c1){var _0x17917e=_0x552f;_0x36ef8c[_0x17917e(0x2d0)]=_0x3053fe(ie(),wi());}(es,function(_0xec5898){var _0x1e7d0b=_0x552f;return _0xec5898['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0xec5898[_0x1e7d0b(0x3de)][_0x1e7d0b(0x208)];}));}(Qe)),Qe[_0x181e8d(0x2d0)];}var is=ts();const ns=ke(is);function rs(_0x116349,_0x25ee48){var _0x5a220d=_0x4e1948;const _0x5ea104=_0x25ee48-_0x116349['length']%_0x25ee48,_0x390ab7=String[_0x5a220d(0x383)](_0x5ea104)[_0x5a220d(0x1ea)](_0x5ea104);return _0x116349+_0x390ab7;}function ss(_0xd08746,_0x14e0ac){var _0x3fc90a=_0x4e1948;const _0x25bea4=Qr[_0x3fc90a(0x21d)](0x10),_0x48013f=rs(_0xd08746,0x10),_0x2d9b6d=Vr['encrypt'](zr[_0x3fc90a(0x1c5)](_0x48013f),si[_0x3fc90a(0x1c5)](_0x14e0ac),{'iv':_0x25bea4,'padding':ns});return _0x25bea4[_0x3fc90a(0x331)](_0x2d9b6d[_0x3fc90a(0x427)])[_0x3fc90a(0x189)](si);}function os(){var _0x383b3a=_0x4e1948;const _0x3dfa9a=_0x172aa5()['__Key__'];if(_0x3dfa9a){const _0x19ccbd={'time':Math['floor'](Date[_0x383b3a(0x3fe)]()/0x3e8),'domain':location[_0x383b3a(0x3a4)]};return ss(JSON[_0x383b3a(0x42f)](_0x19ccbd),_0x3dfa9a);}}function _0x212c(){var _0x3772a7=['[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','focused$','session.room-cnt-exceeds','collaboration-client.config','_undoRedoService','_oKey','_onConnectionOpen','textRanges','_doFinalize','emitEvent','JOINING','_substituteUndoStack','CipherParams','size','getOwnPropertyDescriptor','_config','sessionStatus','[PendingState]:\x20received\x20rejection.','open$','workbook','onRemoteRetry','Univer','method','setCurrentUser','onload','UNIVER_COLLABORATION_CLIENT_PLUGIN','batchAllowed','getCurrentRevOfUnit','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','DEFAULT_FILE_NAME','unitId\x20is\x20not\x20found','synced','from','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/resources','_invKeySchedule','_shouldReportTelemetry','sendChangesetTimeout','deleteCollaborator','BufferedBlockAlgorithm','pluginName','_onFetchMissResult','fetchMissingChangesets','selections','onTransformSelections','disableLocalCache','_exhaustRemoteChangesetQueue','COMPRESS_MUTATION_APPLY','buffer','submit\x20changeset\x20error!','_onConnectionFailed','APPLY_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','transformStack\x20failed!','_nRounds','addHandlerCallback','_socketMessageSubscription','UNRECOGNIZED','_tryEnsureSocket','_changesetReqId','HmacSHA1','CHANGESET_SHOULD_RETRY','RETRY_CONNECTING_MAX_COUNT','blockSize','_initUnitPermissionChange','updatePermissionPoint','_unitID','LICENSE_EXPORT_SIZE_EXCEEDED','getConfig','map','copyFileMeta','_stopTelemetryCollaborationNewChangeset','?size=','state','UNDEFINED','_getCtorByUniverType','putCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LIVESHARE_NEW_HOST','call','push','ERROR_IMAGE','newCsEvent','JOIN_ROOM_PERMISSION_DENIED','duration','exports','_getCurrentRevision','collaborators','getCurrentUser','createEncryptor','set','OpenSSL','_changesetSessionId','m2Prime','getMemberID','onMissedChangesetFetched','stopTime','_collaborationPaused','SOCKET_FAILED_RETRY','_handler','_commentUpdate$','CLOSE_ROOM','_hash','_unitInfo$','_onMessage','_instanceService','encryptBlock','clamp','authzUrl','_getAPIPrefixPath','HEARTBEAT_TIMEOUT','subscribe','UNIVER_DOC','SerializableCipher','709920emZkzd','toggleOnline','status','memberID','dispose$','_clearTimeoutTimer','revision','collaboratorID','create','commentUpdateEvent','_initCloseConn','NOT_COLLAB','closeSession','routeKey','onCommentUpdate','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','localeService','abs','_doCryptBlock','COMPRESS_MUTATION_SEND','decryptBlock','objects','_createHelper','resend','_data','dispose','range','_initDependencies','clone','crypto','LIVESHARE_FETCH_OPERATIONS','csAckEvent','executeCommand','COLLAB_WEB_SOCKET_URL','_snapshotServerService','_executeRemoteChangeset','&to=','_createSocket','image/jpeg','loadSheet','format','/universer-api/stream/file/upload','LIVESHARE_OPERATION','saveImage','_permissionService','_status$','_retryCount','_telemetryService','LICENSE_IMPORT_SIZE_EXCEEDED','_nDataBytes','result','_decreaseWaiting','getMember','/block/','_entities','unknown','message$','/object/','join','put','symbol','IDLE','editingUnit','[OfflineState]:\x20received\x20rejection.','location','MUTATION','_transitionLocked','onRemoteAck','concat','unsubscribe','_sessions','session','_submitChangeset','transformMutationsWithChangeset','incrementRevOfUnit','PasswordBasedCipher','univer-pro.collaboration-client.single-active-unit-service','_schedule','/universer-api/oidc/authpage','apply','SUBMIT_CHANGESET_TIMEOUT','NOT_FOUND','LIVESHARE_TERMINATE','shouldCloseConn','string','_memberService','[OfflineState]:\x20received\x20acknowledgement.','_sendingTimer','HttpExport','getUnit','substr','_members','_configService','target','EvpKDF','_incrementRevisionNumber','Base64','updateMember','_onLocalMutation','_transformRemoteChangesetByIMECache','data','_getAPIPrefix','commentUpdate$','error','c2Prime','[CollaborationUndoRedoService]','roomInfos','/object','CHANGESET_ACK','univer-pro.collaboration-client-socket-service','charCodeAt','getSnapshotAPIPath','toLowerCase','unitID','refreshPermission','onTransformRemoteChangesetByStateCache','/collaborator','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createSocket','APPLY_NON_SEQUENTIAL_REVISION','_isPermissionRej','_listenToNetworkCondition','210WXzfoR','OFFLINE','includes','byteLength','csShouldRetryEvent','_remoteChangesetQueue','SYNCED','UPDATE_CURSOR','_loadDoc','avatar','appendMutation','post','extend','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_injector','_commentService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','filter','encrypt','\x20to\x20','_onOffline','liveShareOperation','_registerDependencies','_replaceFileID','override','awaitingChangeset','_clearScheduledTask','slice','fromCharCode','LEAVE','_clearRetryConnectingTimer','JOIN','_clearHeartbeatTimer','_keyPriorReset','onlyLocal','min','APPLY_DUPLICATED','WordArray','compose','unit-cache-','prototype','delete','HEARTBEAT','_replayCachedMutations','_commandService','_transformRemoteChangesetByStateCache','hasOwnProperty','getSheetId','_initRequestHeader','_event$','_process','_transformStateCache','_createHandler','algo','onTransformIME','FileId','_getRedoStack','saveSnapshot','245lsGeMJ','ivSize','startTime','hostname','Utf8','_clearUndo','_emitMembers','/universer-api/snapshot/','url','objectID','/universer-api/uniscript','USERS_LEAVE','[PendingState]:\x20received\x20acknowledgement.','_lockTransition','update','APPLY_REJECT','forEach','csRejEvent','collabWebSocketUrl','[CollaborationState]:\x20apply\x20error!','onMissingChangesets','init','_collaborationUIEventService','updateCursorEvent','saveSheetBlock','readyForCollab','body','_socketReady','_key','createDecryptor','rev','_singleActiveUnitService','function','UNKNOWN_CODE','SHA1','generateRandomId','_transformIMECache','resolve','c1Prime','MD5','transformChangesets','PERMISSION_DENIED','file','_doReset','getCurrentSelections','roles','default','AES','msCrypto','UNAUTHENTICATED','sid','rng','length','onSendChangeset','SEND_CHANGESET_TIMEOUT','_updateState','31904PALUbH','sessionStatus$','_resendTimer','People','words','pad','_getSignURL','session.room-not-exists','save\x20fail\x20reason\x20is\x20','_getUploadFileURL','Undefined','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationSession]','Hasher','withCredentials','debug','\x20in\x20_schedule.','_queuedRemoteChangesets','_unlockTransition','ENSURE_SNAPSHOT_EXECUTION','capture','_pendingMutations','listRoles','kdf','catch','enc','registerHTTPInterceptor','_handlerCallback','INTERNAL_ERROR','_socket$','collaMsg','USERS_ENTER','_transformStack','SNAPSHOT_INVALID_SNAPSHOT','_removeRoom','/role','createInstance','now','_keySchedule','reverse','_scheduleCompleteTimestamp','COMMENT_UPDATE','HELLO','UPDATE_PERMISSION_OBJ','_socketService','_sendHeartbeat','transformUndoRedo','headers','_resendTimeout','UNIVER_PROJECT','INGEST','socket\x20close','_clearCollaborationTimeoutTimer','/universer-api/authz','encodeURIComponent','decrypt','_onJoinRoomEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_transformSelections','COMPLETION_FINISHED','bind','href','uploadFileServerUrl','reset','infoRsp','_sheetTransformSelectionsService','failed\x20to\x20apply\x20missed\x20changesets!','APPLY_PERMISSION_DENIED','unitInfo$','isArray','enableSingleActiveInstanceLock','unpad','getRandomValues','[DataLoaderService]','RECV','session.join-failed','_parse','1236024cGnFnV','ciphertext','SOCKET_FAILED','67VWxekp','_mode','_type','[FetchMissState]','_append','_toggleOnline','stringify','?url=','setWaitCount','TOO_MANY_REQUESTS','pending','originalMeta','findIndex','_hasher','downloadEndpointUrl','BlockCipher','_onRemoteRetry','UNIVER_SHEET','HttpImport','_createInitialStateImpl','INVALID_ARGUMENT','_startCollaboration','objectActions','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','name','toggleOffline','getCollabEntity','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','salt','univer-pro.collaboration-client.network-condition.service','_univerInstanceService','type','cmd','Decryptor','_tryReconnect','NO_OTHER_CLIENTS_EDITING','_throwTelemetryCollaborationNewChangeset','equals','randomUUID','_showConflictNotification','_logService','connection\x20error','error$','_reverseMap','_cipher','PENDING','LOCAL_CACHE_INTERVAL','_retryConnectingTimer','getTypeOfUnitAdded$','complete','add','SNAPSHOT_URL_KEY','_loadSheet','[UniverCollaborationClientPlugin]','StreamCipher','MSG_FOR_ERROR','sheets','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reduce','baseRev','GLOBAL_ROOMS_CNT_EXCEEDS','close','retryConnectingInterval','onRemoteChangeset','UnitEmbedded','ws://127.0.0.1:8000/universer-api/comb/connect','_clearLocalCache','onTransformState','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','allowed','_undoStacks','SUBMIT_CHANGESET','_sessionStatus$','_imageSourceCache','_collaborationSessionService','setConfig','_timeoutTimer','_minBufferSize','PSEUDO_FETCH_MISSING_RESULT','getImageSourceCache','image/bmp','_createInitialState','auth.needGotoLoginAlert','requestParams','toString','asObservable','reconnect','OTHER_CLIENT_EDITING','status$','Encryptor','YUUMI_RATE_OVER_LIMIT','pauseCollaboration','PERMISSION_REJ','_transformService','collaboration_new_changeset','onStarting','[SyncedState]:\x20received\x20rejection.','getCollabEntity$','finalize','socketService','onCommandExecuted','loginUrlKey','keySize','defineProperty','getUnitType','_onUserLeave','CHANGESET_REJ','execute','_eventService','has','__esModule','readAsDataURL','_state','$super','startsWith','snapshotServerUrl','responseType','removeMember','_telemetryInfo','snapshot','processBlock','UNISCRIPT_RUN','onStateChange','73156BVvMem','mode','_snapshotService','randomBytes','/-/object/list','JOIN_ROOM_NOT_EXISTS','_rescheduleHeartbeat','getRoom','_DEC_XFORM_MODE','every','/-/object/-/batch_allowed','_xformMode','userID','_toggleOffline','joinRsp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','interceptor','UNIVER_UNKNOWN','_getUndoStack','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateOfflineData','parse','find','changesets','compute','OTHER_CLIENTS_EDITING','fromCollab','_iKey','resourceIDs','_scheduleCollaborationTimeoutTimer','_redoStacks','pipe','isPermissionRej','_onRemoteRejected','transformSelections','UnitSnapshot','YUUMI_UNABLE_LOAD_URL','_syncEditingCollabCursor','_updateLocalCache','loadDoc','_members$','_HTTPService','_onCombEvent','getLatestCsReqIdBySid','_onUserJoin','_acknowledgedAwaitingChangeset','unitId','_socket','_createHmacHelper','params','LICENSE_MAX_UNITS_EXCEEDED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','subUnitId','_state$','POST','_userManagerService','_onRemoteACK','entityInit$','repeat','_collaborationTimeoutTimer','collaboration-client.local-cache-service','getSheetBlock','loadOfflineData','_getSendChangesetTimeout','[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.','x-univer-host','JOIN_ROOM_FULL','_localCacheService','eventID','session.room-permission-denied','getTypeOfUnitDisposed$','FETCH_MISS','enableAuthServer','hasher','_iv','objectType','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sendHeartbeatTimer','awaiting_with_pending','list','indexOf','Could\x20not\x20dynamically\x20require\x20\x22','sigBytes','_getDownloadEndpointURL','\x0aCurrent:\x20','getUnitId','CONFLICT','requireSession','NoPadding','HmacMD5','ERROR_EXCEED_SIZE','updateCollaborator','OPTIONAL','CONNECTOR_DATA_TOO_LARGE','HMAC','getInterceptPoints','onLocalMutation','get','send','_resendWithTimeout','reqId','onRemoteRej','session.room-full','JOIN_ROOM_FAILED','getUnitStatus$','signUrlServerUrl','disposeWithMe','_map','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','random','padding','_init','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_transformUndoredo','_waitCount','fetchMiss','UNIVER_SLIDE','_getLoginPath','_candidateSocket','fetchThroughInterceptors','replace','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','YUUMI_SUBSCRIPTION_NOT_FOUND','_prevBlock','listCollaborators','cfg','_ENC_XFORM_MODE','formatter','BASE64','[OfflineState]:\x20received\x20changeset.','lib','_awaitingChangeset','ALREADY_EXISTS','_updateStatus','event$','NEW_CHANGESETS','Base','1257756bpipzC','_fetchMissChangesets','Pkcs7','conflict','online$','FETCH_MISSING','charAt','_revisionService','localCacheService','mutations','onTransformRemoteChangesetByIMECache','_roomMembers','UNKNOWN_CMD','mixIn','code','_joinRoom','_roomCreated$','saveChangeset','Cipher','sin','/fetchmissing?from=','_disableEditing','_httpService','deepClone','/rev/','_checkMissing','readInt32LE','next','[CollaborationEntity]','_clearRedo','_onConflict','2159479MWYgQR','actions','_networkConditionService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','FAIL','getValue','key','socket$','_substituteRedoStack','state$','editing\x20status\x20changed\x20to','onSyncEditingCollabCursor','AWAITING','entries','reject','_sender','getTime','_compressMutationService','ONLINE','subject','_change$','floor','updatePermissionObjEvent','fetch_missing','_waitForHeartbeatResponse','\x20-\x20','fetching\x20missing\x20changesets\x20from\x20','LIVESHARE_REQUEST_HOST','splice','/unit/','_entityInit$','PERSON','values','115014xFWJyE','initWorkbookPermissionChange'];_0x212c=function(){return _0x3772a7;};return _0x212c();}var as=Object[_0x4e1948(0x19c)],cs=Object[_0x4e1948(0x289)],hs=(_0x3a689a,_0x2f3f65,_0x5bab9d,_0x2ca489)=>{var _0xcd04b4=_0x4e1948;for(var _0x303155=_0x2ca489>0x1?void 0x0:_0x2ca489?cs(_0x2f3f65,_0x5bab9d):_0x2f3f65,_0x27b775=_0x3a689a[_0xcd04b4(0x3d5)]-0x1,_0x58a913;_0x27b775>=0x0;_0x27b775--)(_0x58a913=_0x3a689a[_0x27b775])&&(_0x303155=(_0x2ca489?_0x58a913(_0x2f3f65,_0x5bab9d,_0x303155):_0x58a913(_0x303155))||_0x303155);return _0x2ca489&&_0x303155&&as(_0x2f3f65,_0x5bab9d,_0x303155),_0x303155;},_s=(_0x335162,_0xdfb7a5)=>(_0x20570f,_0x3de8de)=>_0xdfb7a5(_0x20570f,_0x3de8de,_0x335162);let ot=class{constructor(_0x18c6b1){var _0x338915=_0x4e1948;this[_0x338915(0x24f)]=_0x18c6b1,this[_0x338915(0x397)]();}['_initRequestHeader'](){var _0x542f2e=_0x4e1948;this[_0x542f2e(0x24f)]['registerHTTPInterceptor']({'interceptor':(_0x213eca,_0x285f06)=>{var _0x40901c=_0x542f2e;const _0x1719aa=_0x213eca[_0x40901c(0x408)],_0x3eda78=os();return _0x3eda78&&_0x1719aa[_0x40901c(0x2d5)](_0x40901c(0x1f1),_0x3eda78),_0x285f06(_0x213eca);}});}};ot=hs([_s(0x0,_0x4bbdce(_0x5d79cb))],ot);var ls=Object[_0x4e1948(0x19c)],us=Object['getOwnPropertyDescriptor'],ds=(_0x2acb23,_0x24651b,_0x54cf3c,_0x367e37)=>{for(var _0x34f3a8=_0x367e37>0x1?void 0x0:_0x367e37?us(_0x24651b,_0x54cf3c):_0x24651b,_0x33b54d=_0x2acb23['length']-0x1,_0x33872b;_0x33b54d>=0x0;_0x33b54d--)(_0x33872b=_0x2acb23[_0x33b54d])&&(_0x34f3a8=(_0x367e37?_0x33872b(_0x24651b,_0x54cf3c,_0x34f3a8):_0x33872b(_0x34f3a8))||_0x34f3a8);return _0x367e37&&_0x34f3a8&&ls(_0x24651b,_0x54cf3c,_0x34f3a8),_0x34f3a8;},mt=(_0x4eb7ae,_0x37c8cb)=>(_0x34d8d5,_0x2f3f5e)=>_0x37c8cb(_0x34d8d5,_0x2f3f5e,_0x4eb7ae);let Rt=class extends _0x3da94e{constructor(_0x4a286e,_0x27c510,_0x456045){var _0x12ad0a=_0x4e1948;super(),N(this,_0x12ad0a(0x2e2),new _0x218903(null)),N(this,_0x12ad0a(0x41d),this[_0x12ad0a(0x2e2)][_0x12ad0a(0x18a)]()),(this[_0x12ad0a(0x15d)]=_0x4a286e,this['_snapshotService']=_0x27c510,this['_localCacheService']=_0x456045);}async['loadUnit'](_0x21f87a,_0x12bcea,_0x5a3b88){var _0x1ecf40=_0x4e1948;this[_0x1ecf40(0x2e2)]['next']({'unitId':_0x21f87a,'type':_0x12bcea,'subUnitId':_0x5a3b88});let _0x3d7e2a=null;switch(_0x12bcea){case Q['UNIVER_SHEET']:{_0x3d7e2a=await this[_0x1ecf40(0x169)](_0x21f87a);break;}case Q['UNIVER_DOC']:{_0x3d7e2a=await this['_loadDoc'](_0x21f87a);break;}default:{this[_0x1ecf40(0x15d)][_0x1ecf40(0x354)](_0x1ecf40(0x422),_0x1ecf40(0x362));break;}}return _0x3d7e2a;}async[_0x4e1948(0x169)](_0x541bec){var _0xed0e14=_0x4e1948,_0x7f06ae;let _0xe7380e=0x0;const _0x16afb8=await((_0x7f06ae=this[_0xed0e14(0x1f3)])==null?void 0x0:_0x7f06ae[_0xed0e14(0x1ee)](_0x541bec));return _0x16afb8&&(_0x16afb8[_0xed0e14(0x380)]||_0x16afb8[_0xed0e14(0x242)][_0xed0e14(0x3d5)]!==0x0)&&(_0xe7380e=_0x16afb8[_0xed0e14(0x3bf)]),_0xe7380e===0x0&&this[_0xed0e14(0x15d)][_0xed0e14(0x3e8)]('[DataLoaderService]',_0xed0e14(0x1bf)),this[_0xed0e14(0x1b2)][_0xed0e14(0x314)](_0x541bec,_0xe7380e);}async[_0x4e1948(0x36f)](_0x484fad){var _0x30d3fa=_0x4e1948,_0x52dfb4;let _0x243d84=0x0;const _0x2792ab=await((_0x52dfb4=this[_0x30d3fa(0x1f3)])==null?void 0x0:_0x52dfb4[_0x30d3fa(0x1ee)](_0x484fad));return _0x2792ab&&(_0x2792ab['awaitingChangeset']||_0x2792ab[_0x30d3fa(0x242)][_0x30d3fa(0x3d5)]!==0x0)&&(_0x243d84=_0x2792ab[_0x30d3fa(0x3bf)]),_0x243d84===0x0&&this[_0x30d3fa(0x15d)]['debug'](_0x30d3fa(0x422),_0x30d3fa(0x1bf)),this[_0x30d3fa(0x1b2)][_0x30d3fa(0x1d7)](_0x484fad,_0x243d84);}};Rt=ds([mt(0x0,_0x5f2578),mt(0x1,_0x4bbdce(_0x2250b3)),mt(0x2,_0x4e1364(J))],Rt);var fs=Object[_0x4e1948(0x19c)],vs=Object[_0x4e1948(0x289)],ps=(_0x1bed7f,_0x3e7036,_0x365b44,_0x5f36fc)=>{var _0x492ad1=_0x4e1948;for(var _0x28b04e=_0x5f36fc>0x1?void 0x0:_0x5f36fc?vs(_0x3e7036,_0x365b44):_0x3e7036,_0x20f4af=_0x1bed7f[_0x492ad1(0x3d5)]-0x1,_0x2b475;_0x20f4af>=0x0;_0x20f4af--)(_0x2b475=_0x1bed7f[_0x20f4af])&&(_0x28b04e=(_0x5f36fc?_0x2b475(_0x3e7036,_0x365b44,_0x28b04e):_0x2b475(_0x28b04e))||_0x28b04e);return _0x5f36fc&&_0x28b04e&&fs(_0x3e7036,_0x365b44,_0x28b04e),_0x28b04e;},gt=(_0x215d69,_0x5a869a)=>(_0x33a27d,_0x4fd654)=>_0x5a869a(_0x33a27d,_0x4fd654,_0x215d69);const ms=['image/png',_0x4e1948(0x313),'image/jpg','image/gif',_0x4e1948(0x185)],gs=0x5*0x400*0x400,Ss=_0x4e1948(0x3e4),Es=_0x4e1948(0x316),Is='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ts='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x2931cd,_0x262488,_0x530a24){var _0x8fcc35=_0x4e1948;N(this,_0x8fcc35(0x222),0x0),N(this,_0x8fcc35(0x26c),new _0x20c5d3()),N(this,'change$',this[_0x8fcc35(0x26c)]),N(this,_0x8fcc35(0x17e),new Map()),(this[_0x8fcc35(0x24f)]=_0x2931cd,this[_0x8fcc35(0x349)]=_0x262488,this[_0x8fcc35(0x153)]=_0x530a24);}[_0x4e1948(0x431)](_0x299307){var _0x56b26b=_0x4e1948;this[_0x56b26b(0x222)]=_0x299307,this[_0x56b26b(0x26c)]['next'](_0x299307);}[_0x4e1948(0x184)](_0x222caa,_0x3c449d){var _0x49d36b=_0x4e1948;if(_0x3c449d===_0x238b34[_0x49d36b(0x230)]){const _0x413864=new Image();return _0x413864['src']=_0x222caa,_0x413864;}return this[_0x49d36b(0x17e)][_0x49d36b(0x211)](_0x222caa);}['addImageSourceCache'](_0x5a6efb,_0x3704bc,_0x1c3c3b){var _0x246e41=_0x4e1948;_0x3704bc===_0x238b34[_0x246e41(0x230)]||_0x1c3c3b==null||this[_0x246e41(0x17e)]['set'](_0x5a6efb,_0x1c3c3b);}async['getImage'](_0x5c1b7b){var _0x3b808c=_0x4e1948;try{const _0x4cd7d2=this[_0x3b808c(0x37e)](this['_getSignURL'](),''+_0x5c1b7b),_0x575513=(await this[_0x3b808c(0x24f)][_0x3b808c(0x211)](_0x4cd7d2))[_0x3b808c(0x3bb)];if(_0x575513[_0x3b808c(0x354)]&&_0x575513[_0x3b808c(0x354)][_0x3b808c(0x247)]===Si['OK']){const _0x1de593=new URL(_0x575513[_0x3b808c(0x3a9)],this[_0x3b808c(0x203)]())[_0x3b808c(0x189)]();return Promise[_0x3b808c(0x3c6)](_0x1de593);}return Promise[_0x3b808c(0x266)](_0x575513[_0x3b808c(0x354)]);}catch(_0x5f2a42){return Promise[_0x3b808c(0x266)](_0x5f2a42);}}async[_0x4e1948(0x318)](_0x2664c5){var _0x4f39eb=_0x4e1948;let _0x53b2b5='';if(!ms[_0x4f39eb(0x369)](_0x2664c5['type']))return this[_0x4f39eb(0x320)](),Promise[_0x4f39eb(0x266)](new Error(_0x16d9e5['ERROR_IMAGE_TYPE']));if(_0x2664c5[_0x4f39eb(0x288)]>gs)return this[_0x4f39eb(0x320)](),Promise['reject'](new Error(_0x16d9e5[_0x4f39eb(0x20a)]));try{const _0xb7499c=new FormData();_0xb7499c['append'](_0x4f39eb(0x3cb),_0x2664c5);const _0x45e085=this['_univerInstanceService']['getFocusedUnit'](),_0x2a3265=_0x45e085==null?void 0x0:_0x45e085[_0x4f39eb(0x205)]();if(!_0x2a3265)throw new Error(_0x4f39eb(0x299));const _0x2894ae=this[_0x4f39eb(0x3e2)]()+_0x4f39eb(0x2c3)+_0x2664c5[_0x4f39eb(0x288)]['toString']()+'&source='+Ei[_0x4f39eb(0x175)]+'&assign='+encodeURIComponent(_0x2a3265),_0x3d6d6d=await(await fetch(_0x2894ae,{'method':'POST','body':_0xb7499c}))['json']();if(typeof _0x3d6d6d[_0x4f39eb(0x39e)]!=_0x4f39eb(0x341))return this['_decreaseWaiting'](),Promise[_0x4f39eb(0x266)](new Error(_0x16d9e5[_0x4f39eb(0x2cc)]));_0x53b2b5=_0x3d6d6d[_0x4f39eb(0x39e)];}catch{return this[_0x4f39eb(0x320)](),Promise[_0x4f39eb(0x266)](new Error(_0x16d9e5['ERROR_IMAGE']));}return new Promise((_0x3cca54,_0x2f35f3)=>{var _0x25724e=_0x4f39eb;const _0x4e0f54=new FileReader();_0x4e0f54[_0x25724e(0x1a4)](_0x2664c5),_0x4e0f54[_0x25724e(0x293)]=_0x3eeb16=>{var _0x24af62=_0x25724e,_0x5f4378;const _0x409dd3=(_0x5f4378=_0x3eeb16[_0x24af62(0x34a)])==null?void 0x0:_0x5f4378[_0x24af62(0x31f)];if(_0x409dd3==null){this[_0x24af62(0x320)](),_0x2f35f3(new Error(_0x16d9e5['ERROR_IMAGE']));return;}const _0x392e40=_0x14e6c6[_0x24af62(0x3c4)](0x6);_0x3cca54({'imageId':_0x392e40,'imageSourceType':_0x238b34['UUID'],'source':_0x53b2b5,'base64Cache':_0x409dd3,'status':_0x16d9e5['SUCCUSS']}),this[_0x24af62(0x320)]();};});}[_0x4e1948(0x3e2)](){var _0xb2031e=_0x4e1948,_0x547716,_0x9dc476;const _0x3f699d=this[_0xb2031e(0x349)]['getConfig'](Ss),_0x724502=this[_0xb2031e(0x349)][_0xb2031e(0x2bf)](q);return(_0x9dc476=(_0x547716=_0x724502==null?void 0x0:_0x724502[_0xb2031e(0x417)])!=null?_0x547716:_0x3f699d)!=null?_0x9dc476:Es;}[_0x4e1948(0x3df)](){var _0xfd2a7b=_0x4e1948,_0x1e520c,_0x3da29a;const _0x47eb1c=this[_0xfd2a7b(0x349)][_0xfd2a7b(0x2bf)](Is),_0xa5d2b0=this[_0xfd2a7b(0x349)][_0xfd2a7b(0x2bf)](q);return(_0x3da29a=(_0x1e520c=_0xa5d2b0==null?void 0x0:_0xa5d2b0[_0xfd2a7b(0x219)])!=null?_0x1e520c:_0x47eb1c)!=null?_0x3da29a:Ts;}[_0x4e1948(0x203)](){var _0x42b6a4=_0x4e1948,_0x2abf18;const _0x21e84d=this[_0x42b6a4(0x349)][_0x42b6a4(0x2bf)](q);return(_0x2abf18=_0x21e84d==null?void 0x0:_0x21e84d[_0x42b6a4(0x437)])!=null?_0x2abf18:location['origin'];}[_0x4e1948(0x37e)](_0x30cebd,_0x152ab4){var _0x4031ba=_0x4e1948;return _0x30cebd[_0x4031ba(0x228)]('{fileID}',_0x152ab4);}[_0x4e1948(0x320)](){var _0x9769fa=_0x4e1948;this[_0x9769fa(0x222)]-=0x1,this[_0x9769fa(0x26c)]['next'](this[_0x9769fa(0x222)]);}};Ot=ps([gt(0x0,_0x4bbdce(_0x5d79cb)),gt(0x1,_0x5d9632),gt(0x2,_0x4bbdce(_0x2778df))],Ot);var Cs=Object[_0x4e1948(0x19c)],bs=Object[_0x4e1948(0x289)],Rs=(_0x255aa9,_0x56de58,_0x430cfc,_0x11bc06)=>{var _0x558af7=_0x4e1948;for(var _0x5a247e=_0x11bc06>0x1?void 0x0:_0x11bc06?bs(_0x56de58,_0x430cfc):_0x56de58,_0x42a63c=_0x255aa9[_0x558af7(0x3d5)]-0x1,_0x1b20f7;_0x42a63c>=0x0;_0x42a63c--)(_0x1b20f7=_0x255aa9[_0x42a63c])&&(_0x5a247e=(_0x11bc06?_0x1b20f7(_0x56de58,_0x430cfc,_0x5a247e):_0x1b20f7(_0x5a247e))||_0x5a247e);return _0x11bc06&&_0x5a247e&&Cs(_0x56de58,_0x430cfc,_0x5a247e),_0x5a247e;},hi=(_0x28a3b5,_0x449ac5)=>(_0x50a86d,_0x526888)=>_0x449ac5(_0x50a86d,_0x526888,_0x28a3b5);const Os=_0x4e1948(0x40e);let yt=class{constructor(_0x14ef3d,_0x15ae56){var _0x1042b5=_0x4e1948;this[_0x1042b5(0x349)]=_0x14ef3d,this[_0x1042b5(0x1d9)]=_0x15ae56;}['_getAPIPrefixPath'](){var _0x3e2fb9=_0x4e1948,_0x1e751a,_0x13f994;const _0x1f7345=this['_configService']['getConfig'](Ni),_0x4bc361=this[_0x3e2fb9(0x349)][_0x3e2fb9(0x2bf)](q);return(_0x13f994=(_0x1e751a=_0x4bc361==null?void 0x0:_0x4bc361['authzUrl'])!=null?_0x1e751a:_0x1f7345)!=null?_0x13f994:Os;}async[_0x4e1948(0x1ff)](_0x25bb16){var _0x97d68d=_0x4e1948;const _0x551d2b=this[_0x97d68d(0x2e8)]()+_0x97d68d(0x361);return{'list':[{'title':_0x97d68d(0x3dc),'mentions':(await this[_0x97d68d(0x1d9)][_0x97d68d(0x211)](_0x551d2b,{'params':{'objectID':_0x25bb16['unitId'],'unitID':_0x25bb16[_0x97d68d(0x1de)]}}))['body']['collaborators']['map'](_0x25659e=>({'objectId':_0x25659e['id'],'name':_0x25659e[_0x97d68d(0x26b)][_0x97d68d(0x14d)],'metadata':{'icon':_0x25659e[_0x97d68d(0x26b)][_0x97d68d(0x370)]},'label':_0x25659e[_0x97d68d(0x26b)][_0x97d68d(0x14d)],'objectType':_0x4c2a99[_0x97d68d(0x277)]})),'metadata':{},'type':_0x4c2a99[_0x97d68d(0x277)]}]};}};yt=Rs([hi(0x0,_0x4bbdce(_0x5d9632)),hi(0x1,_0x4bbdce(_0x5d79cb))],yt);var ys=Object['defineProperty'],Ns=Object[_0x4e1948(0x289)],Ds=(_0x127f5d,_0x54847f,_0x3691d6,_0x48a271)=>{var _0x48b5fc=_0x4e1948;for(var _0x508560=_0x48a271>0x1?void 0x0:_0x48a271?Ns(_0x54847f,_0x3691d6):_0x54847f,_0x2c3366=_0x127f5d[_0x48b5fc(0x3d5)]-0x1,_0x164b58;_0x2c3366>=0x0;_0x2c3366--)(_0x164b58=_0x127f5d[_0x2c3366])&&(_0x508560=(_0x48a271?_0x164b58(_0x54847f,_0x3691d6,_0x508560):_0x164b58(_0x508560))||_0x508560);return _0x48a271&&_0x508560&&ys(_0x54847f,_0x3691d6,_0x508560),_0x508560;},Ue=(_0x39bc31,_0x46741d)=>(_0x48b97d,_0x18fcb6)=>_0x46741d(_0x48b97d,_0x18fcb6,_0x39bc31);let at=class extends _0x3da94e{constructor(_0xcf4479,_0x2b6daf,_0x26b870,_0x4c5638,_0x5d2b3d){var _0xd74416=_0x4e1948;super(),this['_injector']=_0xcf4479,this[_0xd74416(0x153)]=_0x2b6daf,this['_permissionService']=_0x26b870,this['_collaborationSessionService']=_0x4c5638,this[_0xd74416(0x3b7)]=_0x5d2b3d,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4e1948(0x2f7)](){var _0x497458=_0x4e1948;const _0x5c9cbf=async _0x2112fd=>{var _0xd40032=_0x552f;(await this[_0xd40032(0x17f)][_0xd40032(0x207)](_0x2112fd))[_0xd40032(0x236)][_0xd40032(0x1cf)](_0x66c535(_0x389bef=>_0x389bef['eventID']===_0x463faf['SHOULD_CLOSE_CONN']),_0x4fdf17(this[_0xd40032(0x2f1)]))[_0xd40032(0x2ea)](_0x10d8d3=>{var _0x3674f9=_0xd40032;const _0x47bb92=_0x10d8d3,{reason:_0x3b2a19}=_0x47bb92[_0x3674f9(0x351)];this['_collaborationUIEventService'][_0x3674f9(0x284)]({'id':se['CLOSE_ROOM'],'data':_0x3b2a19}),this['_permissionService'][_0x3674f9(0x2bc)](new _0x2ee429(_0x2112fd)['id'],!0x1),this[_0x3674f9(0x17f)]['closeSession'](_0x2112fd);});};_0x1d7f44(this[_0x497458(0x153)][_0x497458(0x165)](_0x3bb644['UNIVER_SHEET']),this[_0x497458(0x153)]['getTypeOfUnitAdded$'](_0x3bb644[_0x497458(0x2eb)]))['pipe'](_0x48d922(_0x88eec1=>_0x88eec1[_0x497458(0x205)]()),_0x66c535(_0x5b218d=>!_0x3bfcd3(_0x5b218d)),_0x4fdf17(this['dispose$']))[_0x497458(0x2ea)](_0xf8dbe=>{_0x5c9cbf(_0xf8dbe);});}[_0x4e1948(0x2bb)](){var _0x26c182=_0x4e1948;const _0x51deab=async _0x6d9e2b=>{var _0x3c01f1=_0x552f;const _0x51b7e5=await this['_collaborationSessionService'][_0x3c01f1(0x207)](_0x6d9e2b),_0x477ff0=this[_0x3c01f1(0x375)][_0x3c01f1(0x211)](_0x1e9477);_0x51b7e5[_0x3c01f1(0x236)]['pipe'](_0x66c535(_0x522323=>_0x522323[_0x3c01f1(0x1f4)]===_0x463faf[_0x3c01f1(0x404)]),_0x4fdf17(this[_0x3c01f1(0x2f1)]))[_0x3c01f1(0x2ea)](_0x1a25e5=>{var _0x2aea79=_0x3c01f1;const _0x5204e6=_0x1a25e5,{objectId:_0x51a09f}=_0x5204e6[_0x2aea79(0x351)];_0x51a09f===_0x6d9e2b?_0x477ff0[_0x2aea79(0x27a)](_0x6d9e2b):_0x477ff0[_0x2aea79(0x35f)](_0x6d9e2b,_0x51a09f);});};_0x1d7f44(this[_0x26c182(0x153)][_0x26c182(0x165)](_0x3bb644[_0x26c182(0x43a)]))[_0x26c182(0x1cf)](_0x48d922(_0x4488fe=>_0x4488fe[_0x26c182(0x205)]()),_0x66c535(_0x4cffc5=>!_0x3bfcd3(_0x4cffc5)),_0x4fdf17(this[_0x26c182(0x2f1)]))[_0x26c182(0x2ea)](_0x39d8ab=>{_0x51deab(_0x39d8ab);});}};at=Ds([Ue(0x0,_0x4bbdce(_0x332fef)),Ue(0x1,_0x2778df),Ue(0x2,_0x4f00c2),Ue(0x3,_0x4bbdce(Le)),Ue(0x4,_0x4bbdce(pe))],at);var Ps=Object[_0x4e1948(0x19c)],ws=Object['getOwnPropertyDescriptor'],Us=(_0x3b6b3e,_0x453de4,_0x11bda6,_0x54575b)=>{for(var _0x6ab8cf=_0x54575b>0x1?void 0x0:_0x54575b?ws(_0x453de4,_0x11bda6):_0x453de4,_0x4bb709=_0x3b6b3e['length']-0x1,_0x432213;_0x4bb709>=0x0;_0x4bb709--)(_0x432213=_0x3b6b3e[_0x4bb709])&&(_0x6ab8cf=(_0x54575b?_0x432213(_0x453de4,_0x11bda6,_0x6ab8cf):_0x432213(_0x6ab8cf))||_0x6ab8cf);return _0x54575b&&_0x6ab8cf&&Ps(_0x453de4,_0x11bda6,_0x6ab8cf),_0x6ab8cf;},_i=(_0x381122,_0x38685b)=>(_0x4eb2e2,_0x4e8004)=>_0x38685b(_0x4eb2e2,_0x4e8004,_0x381122);let Nt=class{constructor(_0x464d4c,_0x7af739){var _0x34ddfb=_0x4e1948;this[_0x34ddfb(0x349)]=_0x464d4c,this[_0x34ddfb(0x24f)]=_0x7af739;}async['getUnitOnRev'](_0x59a3b6,_0xdb178c){var _0x40b003=_0x4e1948,_0x1d6977;const {unitID:_0x18f733,type:_0x50f855,revision:_0x134ccf=0x0}=_0xdb178c,_0x4fc937=this['getSnapshotAPIPath']()+'/'+_0x50f855+_0x40b003(0x275)+_0x18f733+_0x40b003(0x251)+_0x134ccf,_0x4eadc2=(await this[_0x40b003(0x24f)][_0x40b003(0x211)](_0x4fc937))[_0x40b003(0x3bb)],_0x444673=(_0x1d6977=_0x4eadc2[_0x40b003(0x1ac)])==null?void 0x0:_0x1d6977[_0x40b003(0x28e)];if(_0x444673){const _0x6eec46=_0x444673==null?void 0x0:_0x444673['originalMeta'],_0x3a89b4=_0x16d94b['encode'](_0x20f983(_0x6eec46));_0x444673[_0x40b003(0x434)]=_0x3a89b4,Object[_0x40b003(0x265)](_0x444673[_0x40b003(0x16d)])[_0x40b003(0x3b1)](([,_0x2c43be])=>{const _0x2ddb9f=_0x2c43be['originalMeta'],_0xcc4c8c=_0x16d94b['encode'](_0x20f983(_0x2ddb9f));_0x2c43be['originalMeta']=_0xcc4c8c;});}return _0x4eadc2;}async[_0x4e1948(0x1ed)](_0x1b07d,_0x48c850){var _0x341973=_0x4e1948;const {unitID:_0x5dcbce,type:_0x5e5a16,blockID:_0x3f81f0}=_0x48c850,_0x422d61=this[_0x341973(0x352)]()+'/'+_0x5e5a16+_0x341973(0x275)+_0x5dcbce+'/block/'+_0x3f81f0;return(await this[_0x341973(0x24f)]['get'](_0x422d61))[_0x341973(0x3bb)];}async['getDeserializedSheetBlock'](_0x44413e,_0x3cc5c2){var _0x5423bc=_0x4e1948;const {unitID:_0x48d851,type:_0x1cc820,blockID:_0x261510}=_0x3cc5c2,_0x25adfe=this['_getAPIPrefix']()+'/block/'+_0x1cc820+'/unit/'+_0x48d851+_0x5423bc(0x322)+_0x261510;return(await this[_0x5423bc(0x24f)][_0x5423bc(0x211)](_0x25adfe))[_0x5423bc(0x3bb)];}async[_0x4e1948(0x2a5)](_0x4d153c,_0x559bbb){var _0x4b9bb4=_0x4e1948;const {unitID:_0x28ed56,type:_0x38ac0c,from:_0x22a159,to:_0x2427c6}=_0x559bbb,_0x32556a=this[_0x4b9bb4(0x352)]()+'/'+_0x38ac0c+'/unit/'+_0x28ed56+_0x4b9bb4(0x24d)+_0x22a159+_0x4b9bb4(0x311)+_0x2427c6;return(await this[_0x4b9bb4(0x24f)][_0x4b9bb4(0x211)](_0x32556a))[_0x4b9bb4(0x3bb)];}[_0x4e1948(0x35c)](){var _0x21e139=_0x4e1948,_0x31c228;return(_0x31c228=this[_0x21e139(0x349)][_0x21e139(0x2bf)](En))!=null?_0x31c228:this[_0x21e139(0x352)]();}[_0x4e1948(0x352)](){var _0x48a9e3=_0x4e1948,_0x19f649,_0x45d76b;const _0x1bda59=this['_configService'][_0x48a9e3(0x2bf)](gn),_0x5cd75c=this[_0x48a9e3(0x349)][_0x48a9e3(0x2bf)](q);return(_0x45d76b=(_0x19f649=_0x5cd75c==null?void 0x0:_0x5cd75c[_0x48a9e3(0x1a8)])!=null?_0x19f649:_0x1bda59)!=null?_0x45d76b:Sn;}async['getResourcesRequest'](_0xe35760,_0x2b1894){var _0x1af553=_0x4e1948;const _0x1fd067=_0x1af553(0x3a8)+_0x2b1894[_0x1af553(0x154)]+_0x1af553(0x275)+_0x2b1894[_0x1af553(0x35e)]+_0x1af553(0x29d);return(await this[_0x1af553(0x24f)][_0x1af553(0x211)](_0x1fd067,{'params':{'resourceId':JSON[_0x1af553(0x42f)](_0x2b1894[_0x1af553(0x1cc)])}}))[_0x1af553(0x3bb)];}[_0x4e1948(0x3a0)](){var _0x469673=_0x4e1948;throw new Error(_0x469673(0x29c));}[_0x4e1948(0x3b9)](){var _0x9825d4=_0x4e1948;throw new Error(_0x9825d4(0x29c));}[_0x4e1948(0x24a)](){var _0x41d9c6=_0x4e1948;throw new Error(_0x41d9c6(0x29c));}[_0x4e1948(0x2c1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4e1948(0x1db)](){var _0x57298a=_0x4e1948;throw new Error(_0x57298a(0x29c));}};Nt=Us([_i(0x0,_0x5d9632),_i(0x1,_0x4bbdce(_0x5d79cb))],Nt);var As=Object[_0x4e1948(0x19c)],xs=Object[_0x4e1948(0x289)],Ls=(_0x3b936f,_0x45af52,_0x382a2b,_0x58fc15)=>{var _0x5123ee=_0x4e1948;for(var _0x43a38f=_0x58fc15>0x1?void 0x0:_0x58fc15?xs(_0x45af52,_0x382a2b):_0x45af52,_0x7e8080=_0x3b936f[_0x5123ee(0x3d5)]-0x1,_0x3f7c14;_0x7e8080>=0x0;_0x7e8080--)(_0x3f7c14=_0x3b936f[_0x7e8080])&&(_0x43a38f=(_0x58fc15?_0x3f7c14(_0x45af52,_0x382a2b,_0x43a38f):_0x3f7c14(_0x43a38f))||_0x43a38f);return _0x58fc15&&_0x43a38f&&As(_0x45af52,_0x382a2b,_0x43a38f),_0x43a38f;},Ae=(_0x3dc2a5,_0x9a6cfb)=>(_0x26a1af,_0x352b15)=>_0x9a6cfb(_0x26a1af,_0x352b15,_0x3dc2a5);let Dt=class extends _0x11d824{constructor(_0xa6de0d,_0x3d225c,_0x317796,_0x124730,_0x20a8b2){var _0x2f4dff=_0x4e1948;super(_0xa6de0d,_0x3d225c,_0x317796),this[_0x2f4dff(0x192)]=_0x124730,this['_logService']=_0x20a8b2;}['transformUndoRedo'](_0x283c04,_0x303761){var _0xd990cd=_0x4e1948;const _0x3d5de8=this[_0xd990cd(0x1c2)](_0x283c04);if(_0x3d5de8)try{const _0x3b0f4f=this['_transformStack'](_0x3d5de8,_0x303761);this[_0xd990cd(0x286)](_0x283c04,_0x3b0f4f);}catch(_0x1b4a3f){this[_0xd990cd(0x15d)][_0xd990cd(0x354)](_0xd990cd(0x356),_0x1b4a3f),this['_clearUndo'](_0x283c04);}const _0x2bedeb=this[_0xd990cd(0x39f)](_0x283c04);if(_0x2bedeb)try{const _0x26c07a=this[_0xd990cd(0x3f9)](_0x2bedeb,_0x303761);this[_0xd990cd(0x260)](_0x283c04,_0x26c07a);}catch(_0x422610){this[_0xd990cd(0x15d)][_0xd990cd(0x354)](_0x422610),this[_0xd990cd(0x256)](_0x283c04);}}[_0x4e1948(0x3a6)](_0x7b2c){var _0xb2673d=_0x4e1948;const _0x58cf88=this[_0xb2673d(0x1c2)](_0x7b2c);_0x58cf88&&(_0x58cf88[_0xb2673d(0x3d5)]=0x0,this['_updateStatus']());}[_0x4e1948(0x256)](_0xbea3c0){var _0x2297d7=_0x4e1948;const _0x831490=this[_0x2297d7(0x39f)](_0xbea3c0);_0x831490&&(_0x831490[_0x2297d7(0x3d5)]=0x0,this[_0x2297d7(0x235)]());}[_0x4e1948(0x286)](_0x601c16,_0x37cb8a){var _0x2d3007=_0x4e1948;this[_0x2d3007(0x17b)]['set'](_0x601c16,_0x37cb8a),this['_updateStatus']();}[_0x4e1948(0x260)](_0x203cf6,_0x3ce410){var _0x5f16bc=_0x4e1948;this[_0x5f16bc(0x1ce)][_0x5f16bc(0x2d5)](_0x203cf6,_0x3ce410),this[_0x5f16bc(0x235)]();}[_0x4e1948(0x3f9)](_0x3d6aab,_0x22c150){var _0x35b0bf=_0x4e1948;const _0x26b1ca=[];let _0x46b870=_0x22c150,_0x4bf1aa=_0x22c150;for(let _0x519ed5=_0x3d6aab[_0x35b0bf(0x3d5)]-0x1;_0x519ed5>=0x0;_0x519ed5--){const {unitID:_0x10a788,undoMutations:_0x3c9cd8,redoMutations:_0x126e1c}=_0x3d6aab[_0x519ed5],_0x4f2f57=this[_0x35b0bf(0x192)][_0x35b0bf(0x336)](_0x46b870,_0x3c9cd8),_0x2596d7=this[_0x35b0bf(0x192)][_0x35b0bf(0x336)](_0x4bf1aa,_0x126e1c);if(_0x5649e2(_0x4f2f57)||_0x5649e2(_0x2596d7)){this['_logService'][_0x35b0bf(0x354)](_0x35b0bf(0x356),_0x35b0bf(0x2b0),_0x4f2f57,_0x2596d7);break;}_0x46b870=_0x4f2f57[_0x35b0bf(0x3c7)],_0x4bf1aa=_0x2596d7[_0x35b0bf(0x3c7)],_0x26b1ca[_0x35b0bf(0x2cb)]({'unitID':_0x10a788,'undoMutations':_0x4f2f57[_0x35b0bf(0x2d8)],'redoMutations':_0x2596d7[_0x35b0bf(0x2d8)]});}return _0x26b1ca[_0x35b0bf(0x400)]();}};Dt=Ls([Ae(0x0,_0x2778df),Ae(0x1,_0x497898),Ae(0x2,_0x24160c),Ae(0x3,_0x5c48a7),Ae(0x4,_0x5f2578)],Dt);var Ui=Object[_0x4e1948(0x19c)],Ms=Object[_0x4e1948(0x289)],$s=(_0x94102c,_0x265e62,_0x2d1b53)=>_0x265e62 in _0x94102c?Ui(_0x94102c,_0x265e62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1b53}):_0x94102c[_0x265e62]=_0x2d1b53,Hs=(_0x33331e,_0x484843,_0x5ca386,_0x19bc7f)=>{var _0x3aa004=_0x4e1948;for(var _0x1d3174=_0x19bc7f>0x1?void 0x0:_0x19bc7f?Ms(_0x484843,_0x5ca386):_0x484843,_0x13f48e=_0x33331e[_0x3aa004(0x3d5)]-0x1,_0x33ef1d;_0x13f48e>=0x0;_0x13f48e--)(_0x33ef1d=_0x33331e[_0x13f48e])&&(_0x1d3174=(_0x19bc7f?_0x33ef1d(_0x484843,_0x5ca386,_0x1d3174):_0x33ef1d(_0x1d3174))||_0x1d3174);return _0x19bc7f&&_0x1d3174&&Ui(_0x484843,_0x5ca386,_0x1d3174),_0x1d3174;},St=(_0x5f085d,_0x45da41)=>(_0x2dc744,_0x499458)=>_0x45da41(_0x2dc744,_0x499458,_0x5f085d),ks=(_0x8cf41d,_0x144714,_0x3568a4)=>$s(_0x8cf41d,_0x144714+'',_0x3568a4);const js=_0x4e1948(0x294);let Pt=class extends _0x16ecb4{constructor(_0x5d8978,_0x3c5de3,_0x2385ef,_0x549ac4){var _0x2c17f2=_0x4e1948;super(),N(this,_0x2c17f2(0x28a)),(this['_logService']=_0x3c5de3,this[_0x2c17f2(0x375)]=_0x2385ef,this[_0x2c17f2(0x349)]=_0x549ac4);const {..._0x47afde}=_0x5eb8c4({},An,_0x5d8978);if(!_0x47afde[_0x2c17f2(0x198)])throw new Error(_0x2c17f2(0x374));this[_0x2c17f2(0x28a)]=_0x47afde,this[_0x2c17f2(0x349)][_0x2c17f2(0x180)](q,_0x47afde);}[_0x4e1948(0x194)](){var _0x2657fd=_0x4e1948;this[_0x2657fd(0x37d)](),this['_initDependencies']();}[_0x4e1948(0x37d)](){var _0x2bed0c=_0x4e1948,_0x4a3fe8,_0xf07c39;this[_0x2bed0c(0x375)][_0x2bed0c(0x1a2)](_0x407842)&&this[_0x2bed0c(0x15d)][_0x2bed0c(0x354)](_0x2bed0c(0x16a),_0x2bed0c(0x150));const _0x5f55da=_0xf7a857([[_0x407842,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this['_config'][_0x2bed0c(0x198)]}],[_0x3515fd,{'useClass':Nt}],[_0x4dcefd,{'useClass':bt}],[_0x5d8e6a,{'useClass':Ot}],[_0x3dc066,{'useClass':yt}],[rt],[Ct]],(_0x4a3fe8=this[_0x2bed0c(0x28a)])==null?void 0x0:_0x4a3fe8[_0x2bed0c(0x37f)]);if(!((_0xf07c39=this['_config'])!=null&&_0xf07c39[_0x2bed0c(0x41f)])){const _0x56c4b9=_0x5f55da[_0x2bed0c(0x435)](([_0x5dc508])=>_0x5dc508===ht);_0x56c4b9!==-0x1&&_0x5f55da[_0x2bed0c(0x274)](_0x56c4b9,0x1);}_0x51814d(this[_0x2bed0c(0x375)],_0x5f55da);}[_0x4e1948(0x308)](){var _0x55f63c=_0x4e1948,_0xe79b8a,_0x1a9c59,_0x6a7290;this['_injector'][_0x55f63c(0x211)](_0x5d79cb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x589bc8({'maxParallel':0x6})}),(_0xe79b8a=this[_0x55f63c(0x28a)])!=null&&_0xe79b8a['enableOfflineEditing']||(_0x1a9c59=this[_0x55f63c(0x375)][_0x55f63c(0x211)](J,_0x531d62[_0x55f63c(0x20c)]))==null||_0x1a9c59[_0x55f63c(0x2a8)](),(_0x6a7290=this[_0x55f63c(0x28a)])!=null&&_0x6a7290[_0x55f63c(0x1f8)]&&_0x2fbe0f(this[_0x55f63c(0x375)],[[st]]),_0x2fbe0f(this[_0x55f63c(0x375)],[[ot],[rt],[at]]);}};ks(Pt,_0x4e1948(0x2a3),js),Pt=Hs([_0x2e653c(_0x1ee349,_0x4426a6),St(0x1,_0x5f2578),St(0x2,_0x4bbdce(_0x332fef)),St(0x3,_0x5d9632)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|