@univerjs/preset-docs-collaboration 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x25b4(){const _0x2c8808=['_oKey','_toggleOffline','/collaborator','waitForRoom$','IMentionIOService','call','LOCAL_CACHE_INTERVAL','createEncryptor','_resendTimeout','_incrementRevisionNumber','subject','YUUMI_UNABLE_LOAD_URL','&to=','objectID','WorkbookEditablePermission','location','/rev/','SOCKET_FAILED_RETRY','_onRemoteACK','CollaborationSocketService','./sha1','RETRY_CONNECTING_MAX_COUNT_KEY','/block/','not_collab','toDisposable','5280702pxDSSS','SHA1','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET','clone','getValue','_updateStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','enableOfflineEditing','DocCollaborationEntity','onRemoteRetry','CollaborativeUndoRedoService','LOGIN_FAILED','createIdentifier','JOINING','_imageSourceCache','UniverNetworkPlugin','MentionIoHttpService','APPLY_PERMISSION_DENIED','_networkConditionService','getInterceptPoints','NO_OTHER_CLIENTS_EDITING','_substituteRedoStack','_candidateSocket','USER_NOT_INVITED_CODE','INGEST','mapDocumentTypeToUniverType','FetchingMissState','message$','LocalUndoRedoService','_checkMissing','_collaborationTimeoutTimer','PERMISSION_REJ','CollaborationImageIoService','_prevBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OTHER_CLIENT_EDITING','_clearRetryConnectingTimer','_transformIMECache','isTransformMutationsWithChangesetFailure','[CollaborationEntity]','_getCurrentRevision','has','25096QiYsHE','BlockCipher','_nRounds','FileId','disableLocalCache','_telemetryService','_createInitialState','repeat','LOGIN_TOKEN_PROCESSING_FAILED','[CollaborationSessionService]','transformUndoRedo','commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','SYNCED','connection\x20error','Inject','Hex','onLocalMutation','/unit/','objectType','copyFileMeta','SnapshotService','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_TERMINATE','_ENC_XFORM_MODE','_substituteUndoStack','ClipsheetFragments','_config','sequenceExecute','resolve','rev','onStateChange','GLOBAL_ROOMS_CNT_EXCEEDS','_exhaustRemoteChangesetQueue','init','getCurrentRevOfUnit','executeCommand','function','USERS_ENTER','WECHAT_HAS_BEEN_BOUND','_emitMembers','onTransformIME','capture','confirm','_roomCreated$','_transformService','emitEvent','iterations','substr','socket\x20close','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Utf8','incrementRevOfUnit','add','/fetchmissing?from=','downloadEndpointUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LICENSE_MAX_UNITS_EXCEEDED','UniverCore','baseRev','_init','constructor','Base','Workbook','_parse','_acknowledgedAwaitingChangeset','set','ENTITLE_CAN_NOT_BUY_LOWER_OTP','DEFAULT_WS_SESSION_TICKET_URL','HttpImport','[DataLoaderService]','_sendingTimer','_onMessage','getCurrentUser','_doCreateSocket','UniverCollaborationPlugin','_event$','dispose','RECV','_updateLocalCache','getImage','m2Prime','SNAPSHOT_HAS_BEEN_REMOVED','getCollabEntity$','csAckEvent','_map','YUUMI_ALL_TABLES_IS_INVALID','PERMISSION_DENIED','transformChangesets','ENTITLE_REPORT_LIMIT_EXCEED','_hash','generateRandomId','USER_IS_ANONYMOUS','reduce','parseProtocolChangeset','updatePermissionPoint','onload','StreamCipher','equals','_socketMessageSubscription','fetchThroughInterceptors','_socket','sendChangesetTimeout','ReplaySubject','findIndex','offline','delete','kdf','_members','status$','_timeoutTimer','getOwnPropertyNames','override','update','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','editingUnit','[CollaborationSession]','SessionStatus','image/jpg','FAIL','takeUntil','DATA_SOURCE_TOO_LARGE','image/gif','_onLocalMutation','exports','2431902gOHlQQ','ImageSourceType','pauseCollaboration','CollaborationEntity','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','length','sid','ONLINE','leaveEvent','registerDependencies','setConfig','reqId','enableCollaboration','MergeInterceptorFactory','requestParams','values','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_replayCachedMutations','touchDependencies','replace','UserProfileImg','0.20.0','getTypeOfUnitDisposed$','ENTITLE_COUPON_EXPIRED','USERS_LEAVE','fetchMiss','MOBILE_VERIFY_CODE_MISMATCH','ALREADY_EXISTS','\x0aCurrent:\x20','params','unitId','_invKeySchedule','_getSendChangesetTimeout','_telemetryInfo','onRemoteAck','AwaitingState','_undoRedoService','INVITE_CODE_REQUIRED','_handler','sessionStatus','get','Decryptor','entityInit$','startsWith','toggleOffline','newCsEvent','_onRecvEvent','LIVESHARE_NEW_HOST','LICENSE_EXPORT_SIZE_EXCEEDED','unknown','MentionType','data','APPLY_NON_SEQUENTIAL_REVISION','eventID','27Hhvpiu','forEach','_updateState','_createHandler','_getUndoStack','responseType','map','transformSelections','/universer-api/oidc/authpage','_shouldReportTelemetry','getUnitOnRev','decorate','USER_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','submit\x20changeset\x20error!','onMutationExecutedForCollab','changesets','Hasher','SheetsSelectionsService','LocaleService','infoRsp','mergeOverrideWithDependencies','REDEMPTION_CODE_HAS_BEEN_CREATED','_minBufferSize','_collaborationUIEventService','c1Prime','CryptoJS','hasher','abs','patch','_transformUndoredo','_eventService','_initCloseConn','HmacSHA1','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stringify','authzUrl','/universer-api/stream/file/upload','error','_getRedoStack','Plugin','JOIN_ROOM_FULL','mixIn','_onConnectionOpen','avatar','_onOffline','APPLY_DUPLICATED','_data','HEARTBEAT_INTERVAL_KEY','RevisionService','NOT_FOUND','_awaitingChangeset','session.join-failed','UNIVER_COLLABORATION_CLIENT_PLUGIN','pending','./evpkdf','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/object/','updateOfflineData','CompressMutationService','$super','_createHelper','_commentService','hasOwnProperty','algo','CLOSE_ROOM','put','session','roomInfos','onTransformRemoteChangesetByIMECache','image/jpeg','ERROR_AGAIN','operators','isPermissionRej','COMMENT_UPDATE','clamp','_doFinalize','push','duration','TOO_MANY_REQUESTS','key','ICommandService','_nDataBytes','getPrototypeOf','IPermissionService','LIVESHARE_OPERATION','IAuthzIoService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','failed\x20to\x20apply\x20missed\x20changesets!','AuthzIoHttpService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','ENSURE_SNAPSHOT_EXECUTION','ILogService','_executeRemoteChangeset','bind','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverLicensePlugin','REDEMPTION_CODE_INACTIVE','ERROR_IMAGE','getResourcesRequest','cmd','WordArray','session.room-full','98620QgZumI','UniverTelemetry','isArray','_status$','Base64','@univerjs-pro/collaboration-client','state','_members$','SetSelectionsOperation','YUUMI_AI_RUN_FAILED','title','[SyncedState]:\x20received\x20acknowledgement.','getRandomValues','_iKey','/allowed','_scheduleCollaborationTimeoutTimer','_cipher','close$','debug','onTransformState','CommentService','createInstance','updateMember','YUUMI_URL_COL_OUT_OF_RANGE','_decreaseWaiting','deserializeToCombResponse','charCodeAt','onMissedChangesetFetched','CONNECTOR_DATA_TOO_LARGE','_doReset','_onUserJoin','routeKey','univer-pro.collaboration-client-socket-service','_sessions','REDEMPTION_INVALID_CODE','ivSize','getMember','NEW_CHANGESETS','isInternalEditorID','onMissingChangesets','joinRsp','UniverNetwork','unitID','_onRemoteRejected','getRoom','_startTelemetryCollaborationNewChangeset','BufferedBlockAlgorithm','getUnitStatus$','&assign=','includes','snapshotServerUrl','BehaviorSubject','_onRemoteRetry','_retryConnectingTimer','objectActions','ERROR_IMAGE_TYPE','LICENSE_IMPORT_SIZE_EXCEEDED','UPDATE_CURSOR','?url=','[OfflineState]:\x20received\x20rejection.','JOIN_ROOM_NOT_EXISTS','collaborators','pad','mutations','getDeserializedSheetBlock','INVITE_CODE_ALREADY_BOUND','lib','image/png','collabWebSocketUrl','enc','status','_onCombEvent','UNKNOWN_CODE','NOT_COLLAB','_clearRedo','extend','JSONX','onlyLocal','_configService','close','HTTPService','IConfigService','HEARTBEAT_TIMEOUT_KEY','JOIN_ROOM_FAILED','_clearCollaborationTimeoutTimer','_pendingMutations','Disposable','onRemoteChangeset','readyForCollab','/universer-api/snapshot','_clearUndo','_schedule','CollaborationController','unitId\x20is\x20not\x20found','UNISCRIPT_RUN','Encryptor','_transformStack','error$','range','updateCollaborator','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','loadUnitOfRevision','selections','SyncedState','setWaitCount','OFFLINE','ERROR_EXCEED_SIZE','src','state$','listRoles','_sheetTransformSelectionsService','46964320HLiICg','Quantity','buffer','ENTITLE_INVALID_COUPON_CODE','DEFAULT_COLLAB_WEB_SOCKET_URL','serializeCombRequest','concat','Tools','signUrlServerUrl','&source=','catch','byteLength','381ogFvsk','_tryReconnect','isTransformChangesetsSuccess','entries','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/file/{fileID}/sign-url','_commandService','createCollaborator','Optional','Injector','MUTATION','transformStack\x20failed!','IUndoRedoService','DEFAULT_FILE_NAME','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','unitInfo$','sigBytes','awaiting','_toggleOnline','rxjs','fromCollab','uuidv4','object','firstValueFrom','_append','list','BlockCipherMode','UniverDocs','Cipher','_getAPIPrefix','_permissionService','words','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','amd','unsubscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','synced','_undoStacks','_transformSelections','_type','ENTITLE_NEED_BILLING_ADDRESS','enableSingleActiveInstanceLock','[UniverCollaborationClientPlugin]','_roomMembers','getFocusedUnit','actions','PSEUDO_FETCH_MISSING_RESULT','_scheduleCompleteTimestamp','Rectangle','defineProperty','getSheetId','MSG_FOR_ERROR','crypto','_sendHeartbeatTimer','PERSON','userID','every','_getUploadFileURL','_DEC_XFORM_MODE','REDEMPTION_CODE_NOT_STARTED','_initUnitPermissionChange','LEAVE','/universer-api/authz','AWAITING_WITH_PENDING','type','ITelemetryService','refreshPermission','_onUserLeave','_throwTelemetryCollaborationNewChangeset','AWAITING','next','@univerjs/telemetry','splice','_HTTPService','_resendWithTimeout','send','complete','decryptBlock','packageName','FETCH_MISSING','ws://127.0.0.1:8000/universer-api/comb/connect','resend','code','sin','[PendingState]:\x20received\x20rejection.','cfg','toggleOnline','AUTHORIZE_CODE_ILLEGAL','_entities','Subject','_initDependencies','saveImage','apply','YUUMI_NO_CUBOID_FOR_QUESTION','_entityInit$','/resources','ceil','image/bmp','CONFLICT','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationUndoRedoService]','snapshot','_rescheduleHeartbeat','_injector','People','_syncEditingCollabCursor','loadSheet','getUnitId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IImageIoService','requireSession','_maxTotalRetryTimeout','MemberService','now','_createSocket','textRanges','\x20to\x20','append','delay','ILocalCacheService','appendMutation','random','find','HEARTBEAT','workbook','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','keySize','liveShareNewHost','_xformMode','subscribe','APPLY_REVISION_CONFILICT','conflict','getUnitType','_onRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','filter','_unlockTransition','getCollabEntity','slice','padding','\x20-\x20','Latin1','UserManagerService','/universer-api/uniscript','loadOfflineData','getLocalCacheKey','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_doProcessBlock','default','_tryEnsureSocket','@univerjs/sheets','post','method','_localeService','members','_initRequestHeader','_userManagerService','_changesetSessionId','DisposableCollection','_socket$','then','interceptor','removeMember','CHANGESET_SHOULD_RETRY','/universer-api/snapshot/','revision','_onConflict','save\x20fail\x20reason\x20is\x20','fromCharCode','UNAUTHENTICATED','editing\x20status\x20changed\x20to','sessionStatus$','addImageSourceCache','HttpExport','@univerjs-pro/license','_sessionStatus$','_state$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchMissState]','_handlerCallback','getTime','CollaborationUIEventId','AES','HEARTBEAT_TIMEOUT','subUnitId','_univerInstanceService','reject','reverse','ThresholdInterceptorFactory','setShowComponents','closeSession','asObservable','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','memberID','UniverDrawing','_singleActiveUnitService','LIVESHARE_REQUEST_HOST','SNAPSHOT_INVALID_SNAPSHOT','_getDownloadEndpointURL','_clearLocalCache','15jIKdND','CHANGESET_REVISION_CONFILICT','parse','UUID','IUniverInstanceService','UniverInstanceType','OpenSSL','_submitChangeset','onTransformSelections','PAYMENT_CHANNEL_NOT_SUPPORT','pluginName','UNIVER_DOC','HEARTBEAT_INTERVAL','onCommentUpdate','univer-pro.collaboration-client.network-condition.service','11987856RZWkRG','RETRY_CONNECTING_MAX_COUNT','textEncoder','IDLE','_state','COMPLETION_FINISHED','BASE64','/new_changes','ENTITLE_COUPON_USED_UP','getLatestCsReqIdBySid','_clearScheduledTask','FETCH_MISS','ENTITLE_CHAT_LIMIT_EXCEED','onRemoteRej','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CipherParams','LICENSE_DISTRO_REJECTED','batchAllowed','result','HELLO','CHANGESET_REJ','join','getSheetBlock','merge','_transformStateCache','_compressMutationService','loadUnit','SNAPSHOT_URL_KEY','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_key','fetch_missing','compute','HTTPRequest','iterator','CommandType','_registerDependencies','_remoteChangesetQueue','prototype','collaboration-client.local-cache-service','_lockTransition','_sender','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_collaborationPaused','_joinRoom','_resendTimer','SheetCollaborationEntity','format','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_waitCount','YUUMI_SUBSCRIPTION_NOT_FOUND','encryptBlock','_httpService','updateSnapshot','onSyncEditingCollabCursor','_revisionService','MOBILE_HAS_BEEN_BOUND','__esModule','clear','_transformRemoteChangesetByIMECache','ENTITLE_DUP_SUBSCRIPTION','_getAPIPrefixPath','\x0aAfter:\x20','addHandlerCallback','_memberService','_unitID','salt','_sendHeartbeat','_onFetchMissResult','COMPRESS_MUTATION_SEND','max','UnitSnapshot','ISingleActiveUnitService','_transformRemoteChangesetByStateCache','[CollaborationState]:\x20apply\x20error!','/universer-api/user/session-ticket','EMAIL_HAS_BEEN_BOUND','getMemberID','execute','JOIN','awaiting_with_pending','CURRENT_STATUS_CANNOT_OPERATE','encode','_doCryptBlock','_process','./md5','string','_onJoinRoomEvent','__creator','headers','CollaborationStatus','EMAIL_VERIFY_CODE_MISMATCH','UniverProCollaboration','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SerializableCipher','[PendingState]:\x20unhandled\x20univer\x20type:\x20','@univerjs/network','./cipher-core','reconnect','_logService','INTERNAL_ERROR','_createInitialStateImpl','compose','CollaborationEvent','_transitionLocked','stopTime','pipe','startTime','INVITE_CODE_HAS_BEEN_UES','localeService','socketService','_listenToNetworkCondition','_collabSessionService','_getLoginPath','[OfflineState]:\x20received\x20changeset.','body','/-/object/-/batch_allowed','_localCacheService','LIVESHARE_FETCH_OPERATIONS','/role','UnitEmbedded','focused$','getTypeOfUnitAdded$','transformMutationsWithChangeset','@univerjs/docs','getActiveSheet','decrypt','encrypt','./hmac','COMPRESS_MUTATION_APPLY','REDEMPTION_USER_NOT_ELIGIBLE','saveSnapshot','finalize','allowed','./core','resolveWithBasePath','@univerjs/drawing','name','charAt','floor','_mode','230064rOLDqc','min','univer-pro.collaboration-client.single-active-unit-service','objects','SOCKET_FAILED','_changesetReqId','members$','liveShareOperation','socket\x20open.','_removeRoom','_fetchMissChangesets','ImageUploadStatusType','_commentUpdate$','UNIVER_PROJECT','toPrimitive','_applyRemoteChangeset','size','DependentOn','toString','ENTITLE_INSUFFICIENT_QUOTA','Undefined','UNIVER_UNKNOWN','RichTextEditingMutation','_unitInfo$','RxDisposable','create','disposeWithMe','_createHmacHelper','getSnapshotAPIPath','getConfig','_hasher','localCacheService','awaitingChangeset','onTransformRemoteChangesetByStateCache','_collaborationSessionService','__splitChunk__','symbol','_getCtorByUniverType','AwaitingWithPendingState','msCrypto','_isPermissionRej','_snapshotService','hostname','_showConflictNotification','UNIVER_SLIDE','collaboration-client.config','PasswordBasedCipher','PENDING','_replaceFileID','_socketReady','_startCollaboration','_instanceService','blockSize','onSendChangeset','EvpKDF','setCurrentUser','session.room-not-exists','_queuedRemoteChangesets','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','href','SUBMIT_CHANGESET_TIMEOUT','event$','_clearHeartbeatTimer','_disableEditing','toStringTag','UNKNOWN_CMD','encodeURIComponent','_stopTelemetryCollaborationNewChangeset','csShouldRetryEvent','reset','target','from','ITransformService','UNIVER_SHEET','NoPadding','HMAC','enumerable','take','parseChangesetToProtocol','CBC','_onConnectionFailed','action','_getSignURL','originalMeta','MD5','UniverProCollaborationClient','createDecryptor','readAsDataURL','dispose$','ciphertext','collaboratorID','_iv','YUUMI_RATE_OVER_LIMIT','_snapshotServerService','_clearTimeoutTimer','isTransformMutationsWithChangesetSuccess','createSocket','getUnit','_retryCount','JOIN_ROOM_PERMISSION_DENIED','registerHTTPInterceptor','_change$','getOwnPropertyDescriptor','ISnapshotServerService','processBlock','UNRECOGNIZED','file','rxjs/operators'];_0x25b4=function(){return _0x2c8808;};return _0x25b4();}function _0x2f25(_0xd6427b,_0x3f08c1){_0xd6427b=_0xd6427b-0x14d;const _0x25b45e=_0x25b4();let _0x2f2530=_0x25b45e[_0xd6427b];return _0x2f2530;}(function(_0x280a07,_0x205e36){const _0x309f70=_0x2f25,_0x1256cc=_0x280a07();while(!![]){try{const _0x1b43a3=-parseInt(_0x309f70(0x1d4))/0x1*(parseInt(_0x309f70(0x23c))/0x2)+-parseInt(_0x309f70(0x2b7))/0x3*(parseInt(_0x309f70(0x4cb))/0x4)+-parseInt(_0x309f70(0x380))/0x5*(parseInt(_0x309f70(0x19e))/0x6)+parseInt(_0x309f70(0x4a0))/0x7+parseInt(_0x309f70(0x41b))/0x8+-parseInt(_0x309f70(0x38f))/0x9+parseInt(_0x309f70(0x2ab))/0xa;if(_0x1b43a3===_0x205e36)break;else _0x1256cc['push'](_0x1256cc['shift']());}catch(_0x234c35){_0x1256cc['push'](_0x1256cc['shift']());}}}(_0x25b4,0xc4291),function(_0x35bca3,_0x37d37e){const _0x513292=_0x2f25;typeof exports==_0x513292(0x2cd)&&typeof module<'u'?_0x37d37e(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x513292(0x2d8)]?define([_0x513292(0x19d),'@univerjs-pro/collaboration','@univerjs/core',_0x513292(0x40a),_0x513292(0x34e),_0x513292(0x2ca),_0x513292(0x2fe),_0x513292(0x486),_0x513292(0x3ee),_0x513292(0x366),_0x513292(0x416)],_0x37d37e):(_0x35bca3=typeof globalThis<'u'?globalThis:_0x35bca3||self,_0x37d37e(_0x35bca3[_0x513292(0x470)]={},_0x35bca3[_0x513292(0x3ea)],_0x35bca3[_0x513292(0x15b)],_0x35bca3[_0x513292(0x2d2)],_0x35bca3['UniverSheets'],_0x35bca3[_0x513292(0x2ca)],_0x35bca3[_0x513292(0x23d)],_0x35bca3[_0x513292(0x2ca)][_0x513292(0x21c)],_0x35bca3[_0x513292(0x265)],_0x35bca3['UniverProLicense'],_0x35bca3[_0x513292(0x37a)]));}(this,function(_0x57f8cc,_0x22113f,_0x4c9691,_0x30758f,_0x190d88,_0x1d90a6,_0x24d3ba,_0x29e3de,_0x750beb,_0x2f0cd5,_0xac2517){const _0x388c16=_0x2f25;Object[_0x388c16(0x2e8)](_0x57f8cc,Symbol[_0x388c16(0x45b)],{'value':'Module'});var _0x52137c=Object[_0x388c16(0x434)],_0x244aac=Object['defineProperty'],_0x4c973b=Object[_0x388c16(0x481)],_0x501dcd=Object[_0x388c16(0x190)],_0x59cdfc=Object[_0x388c16(0x227)],_0x58ab0d=Object[_0x388c16(0x3b4)][_0x388c16(0x213)],_0x5841b6=(_0x137d94,_0x44b7b6)=>()=>(_0x44b7b6||_0x137d94((_0x44b7b6={'exports':{}})[_0x388c16(0x19d)],_0x44b7b6),_0x44b7b6[_0x388c16(0x19d)]),_0x116a8f=(_0xa7fa90,_0xc08a36,_0x105d0c,_0x41667)=>{const _0x4545be=_0x388c16;if(_0xc08a36&&typeof _0xc08a36==_0x4545be(0x2cd)||typeof _0xc08a36==_0x4545be(0x4f0)){for(var _0x511c4e=_0x501dcd(_0xc08a36),_0x1f51a0=0x0,_0x3d3583=_0x511c4e[_0x4545be(0x1a3)],_0x47f241;_0x1f51a0<_0x3d3583;_0x1f51a0++)_0x47f241=_0x511c4e[_0x1f51a0],!_0x58ab0d[_0x4545be(0x48c)](_0xa7fa90,_0x47f241)&&_0x47f241!==_0x105d0c&&_0x244aac(_0xa7fa90,_0x47f241,{'get':(_0x23c332=>_0xc08a36[_0x23c332])[_0x4545be(0x233)](null,_0x47f241),'enumerable':!(_0x41667=_0x4c973b(_0xc08a36,_0x47f241))||_0x41667[_0x4545be(0x467)]});}return _0xa7fa90;},_0x26a9ac=(_0x4eb04b,_0x4a826a,_0x1da9e5)=>(_0x1da9e5=_0x4eb04b==null?{}:_0x52137c(_0x59cdfc(_0x4eb04b)),_0x116a8f(_0x4a826a||!_0x4eb04b||!_0x4eb04b[_0x388c16(0x3c7)]?_0x244aac(_0x1da9e5,_0x388c16(0x34c),{'value':_0x4eb04b,'enumerable':!0x0}):_0x1da9e5,_0x4eb04b));let _0x1049c0=_0x388c16(0x307),_0x1790d5=0x4e20,_0x290029=function(_0x22b38a){const _0x4c4088=_0x388c16;return _0x22b38a[_0x22b38a['UNDEFINED']=0x0]='UNDEFINED',_0x22b38a[_0x22b38a['OK']=0x1]='OK',_0x22b38a[_0x22b38a[_0x4c4088(0x3f2)]=0x2]='INTERNAL_ERROR',_0x22b38a[_0x22b38a['PERMISSION_DENIED']=0x3]=_0x4c4088(0x178),_0x22b38a[_0x22b38a[_0x4c4088(0x206)]=0x4]=_0x4c4088(0x206),_0x22b38a[_0x22b38a[_0x4c4088(0x361)]=0x5]=_0x4c4088(0x361),_0x22b38a[_0x22b38a[_0x4c4088(0x1b9)]=0x6]=_0x4c4088(0x1b9),_0x22b38a[_0x22b38a['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x22b38a[_0x22b38a[_0x4c4088(0x223)]=0x8]=_0x4c4088(0x223),_0x22b38a[_0x22b38a['COMPLETION_FINISHED']=0x9]=_0x4c4088(0x394),_0x22b38a[_0x22b38a['LOGIN_FAILED']=0xa]=_0x4c4088(0x4ac),_0x22b38a[_0x22b38a[_0x4c4088(0x1b8)]=0xb]=_0x4c4088(0x1b8),_0x22b38a[_0x22b38a[_0x4c4088(0x1f6)]=0xc]=_0x4c4088(0x1f6),_0x22b38a[_0x22b38a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4c4088(0x3e9),_0x22b38a[_0x22b38a[_0x4c4088(0x31b)]=0xe]=_0x4c4088(0x31b),_0x22b38a[_0x22b38a[_0x4c4088(0x30e)]=0xf]=_0x4c4088(0x30e),_0x22b38a[_0x22b38a[_0x4c4088(0x4d3)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x22b38a[_0x22b38a[_0x4c4088(0x3df)]=0x64]=_0x4c4088(0x3df),_0x22b38a[_0x22b38a[_0x4c4088(0x21b)]=0x65]='ERROR_AGAIN',_0x22b38a[_0x22b38a[_0x4c4088(0x1e0)]=0xc9]='USER_NOT_FOUND',_0x22b38a[_0x22b38a[_0x4c4088(0x17d)]=0xca]=_0x4c4088(0x17d),_0x22b38a[_0x22b38a[_0x4c4088(0x381)]=0x1389]=_0x4c4088(0x381),_0x22b38a[_0x22b38a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c4088(0x37d),_0x22b38a[_0x22b38a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4c4088(0x173),_0x22b38a[_0x22b38a[_0x4c4088(0x230)]=0x1773]=_0x4c4088(0x230),_0x22b38a[_0x22b38a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x22b38a[_0x22b38a[_0x4c4088(0x1d2)]=0x1b5a]=_0x4c4088(0x1d2),_0x22b38a[_0x22b38a[_0x4c4088(0x33a)]=0x1b5b]=_0x4c4088(0x33a),_0x22b38a[_0x22b38a[_0x4c4088(0x4b2)]=0x1b5c]=_0x4c4088(0x4b2),_0x22b38a[_0x22b38a[_0x4c4088(0x202)]=0x1b5d]='APPLY_DUPLICATED',_0x22b38a[_0x22b38a[_0x4c4088(0x258)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x22b38a[_0x22b38a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c4088(0x15a),_0x22b38a[_0x22b38a[_0x4c4088(0x2da)]=0x232a]=_0x4c4088(0x2da),_0x22b38a[_0x22b38a[_0x4c4088(0x274)]=0x232b]=_0x4c4088(0x274),_0x22b38a[_0x22b38a[_0x4c4088(0x1ce)]=0x232c]=_0x4c4088(0x1ce),_0x22b38a[_0x22b38a[_0x4c4088(0x39f)]=0x232d]=_0x4c4088(0x39f),_0x22b38a[_0x22b38a[_0x4c4088(0x492)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x22b38a[_0x22b38a[_0x4c4088(0x253)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x22b38a[_0x22b38a[_0x4c4088(0x477)]=0x2713]=_0x4c4088(0x477),_0x22b38a[_0x22b38a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c4088(0x3c0),_0x22b38a[_0x22b38a[_0x4c4088(0x314)]=0x271a]=_0x4c4088(0x314),_0x22b38a[_0x22b38a[_0x4c4088(0x4e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x22b38a[_0x22b38a[_0x4c4088(0x20c)]=0x271c]=_0x4c4088(0x20c),_0x22b38a[_0x22b38a[_0x4c4088(0x177)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x22b38a[_0x22b38a[_0x4c4088(0x2bb)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22b38a[_0x22b38a[_0x4c4088(0x245)]=0x271f]=_0x4c4088(0x245),_0x22b38a[_0x22b38a[_0x4c4088(0x234)]=0x2720]=_0x4c4088(0x234),_0x22b38a[_0x22b38a[_0x4c4088(0x31a)]=0x2af9]=_0x4c4088(0x31a),_0x22b38a[_0x22b38a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c4088(0x3fa),_0x22b38a[_0x22b38a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x1c3)]=0x2ee3]=_0x4c4088(0x1c3),_0x22b38a[_0x22b38a[_0x4c4088(0x4b8)]=0x2ee4]=_0x4c4088(0x4b8),_0x22b38a[_0x22b38a[_0x4c4088(0x27d)]=0x2ee5]=_0x4c4088(0x27d),_0x22b38a[_0x22b38a[_0x4c4088(0x4f2)]=0x32c9]=_0x4c4088(0x4f2),_0x22b38a[_0x22b38a[_0x4c4088(0x3c6)]=0x32ca]=_0x4c4088(0x3c6),_0x22b38a[_0x22b38a[_0x4c4088(0x3da)]=0x32cb]=_0x4c4088(0x3da),_0x22b38a[_0x22b38a[_0x4c4088(0x164)]=0x36b1]=_0x4c4088(0x164),_0x22b38a[_0x22b38a['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4c4088(0x3b8),_0x22b38a[_0x22b38a[_0x4c4088(0x3ca)]=0x36b3]=_0x4c4088(0x3ca),_0x22b38a[_0x22b38a[_0x4c4088(0x389)]=0x36b4]=_0x4c4088(0x389),_0x22b38a[_0x22b38a[_0x4c4088(0x2ae)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x1b5)]=0x36b6]=_0x4c4088(0x1b5),_0x22b38a[_0x22b38a[_0x4c4088(0x397)]=0x36b7]=_0x4c4088(0x397),_0x22b38a[_0x22b38a[_0x4c4088(0x3ab)]=0x36b8]=_0x4c4088(0x3ab),_0x22b38a[_0x22b38a[_0x4c4088(0x39b)]=0x3715]=_0x4c4088(0x39b),_0x22b38a[_0x22b38a[_0x4c4088(0x17a)]=0x3716]=_0x4c4088(0x17a),_0x22b38a[_0x22b38a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4c4088(0x42e),_0x22b38a[_0x22b38a[_0x4c4088(0x2df)]=0x37dd]=_0x4c4088(0x2df),_0x22b38a[_0x22b38a[_0x4c4088(0x25e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x236)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x22b38a[_0x22b38a['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x22b38a[_0x22b38a[_0x4c4088(0x2f2)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x22b38a[_0x22b38a[_0x4c4088(0x410)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x22b38a[_0x22b38a[_0x4c4088(0x39d)]=0x3a9e]=_0x4c4088(0x39d),_0x22b38a[_0x22b38a[_0x4c4088(0x1ea)]=0x3a9f]=_0x4c4088(0x1ea),_0x22b38a[_0x22b38a[_0x4c4088(0x19a)]=0x3e81]=_0x4c4088(0x19a),_0x22b38a[_0x22b38a[_0x4c4088(0x484)]=-0x1]=_0x4c4088(0x484),_0x22b38a;}({}),_0x194d58=function(_0x57ddb0){const _0x3bc0e0=_0x388c16;return _0x57ddb0[_0x57ddb0[_0x3bc0e0(0x430)]=0x0]=_0x3bc0e0(0x430),_0x57ddb0[_0x57ddb0['UNIVER_DOC']=0x1]=_0x3bc0e0(0x38b),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x464)]=0x2]=_0x3bc0e0(0x464),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x447)]=0x3]=_0x3bc0e0(0x447),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x428)]=0x4]=_0x3bc0e0(0x428),_0x57ddb0[_0x57ddb0['UNRECOGNIZED']=-0x1]=_0x3bc0e0(0x484),_0x57ddb0;}({}),_0x4e3953=function(_0xf48a4c){const _0x5ee26c=_0x388c16;return _0xf48a4c[_0xf48a4c['UNKNOWN_CMD']=0x0]=_0x5ee26c(0x45c),_0xf48a4c[_0xf48a4c['HELLO']=0x1]=_0x5ee26c(0x3a2),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x3dd)]=0x2]=_0x5ee26c(0x3dd),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x2f4)]=0x3]='LEAVE',_0xf48a4c[_0xf48a4c[_0x5ee26c(0x4b9)]=0x4]=_0x5ee26c(0x4b9),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x333)]=0x5]=_0x5ee26c(0x333),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x16f)]=0x6]=_0x5ee26c(0x16f),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x484)]=-0x1]=_0x5ee26c(0x484),_0xf48a4c;}({}),_0x47fe30=function(_0xb5bfaa){const _0x1d01b1=_0x388c16;return _0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x284)]=0x0]=_0x1d01b1(0x284),_0xb5bfaa[_0xb5bfaa['OK']=0x1]='OK',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x198)]=0x2]='FAIL',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x1fd)]=0x3e9]=_0x1d01b1(0x1fd),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x278)]=0x3ea]=_0x1d01b1(0x278),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x47e)]=0x3eb]=_0x1d01b1(0x47e),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x4eb)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x484)]=-0x1]=_0x1d01b1(0x484),_0xb5bfaa;}({}),_0x25178b=function(_0x2bd515){const _0x326a89=_0x388c16;return _0x2bd515[_0x2bd515[_0x326a89(0x42f)]=0x0]=_0x326a89(0x42f),_0x2bd515[_0x2bd515[_0x326a89(0x166)]=0x1]='HttpImport',_0x2bd515[_0x2bd515[_0x326a89(0x365)]=0x2]='HttpExport',_0x2bd515[_0x2bd515[_0x326a89(0x406)]=0x3]=_0x326a89(0x406),_0x2bd515[_0x2bd515[_0x326a89(0x3d5)]=0x4]=_0x326a89(0x3d5),_0x2bd515[_0x2bd515[_0x326a89(0x1b2)]=0x5]='UserProfileImg',_0x2bd515[_0x2bd515[_0x326a89(0x4e5)]=0x6]=_0x326a89(0x4e5),_0x2bd515[_0x2bd515[_0x326a89(0x484)]=-0x1]=_0x326a89(0x484),_0x2bd515;}({});function _0x11b808(_0x13842c){const _0x19356b=_0x388c16;return JSON[_0x19356b(0x1f7)](_0x13842c)['length'];}function _0x20f783(_0x1b1dff){'@babel/helpers - typeof';const _0x383901=_0x388c16;return _0x20f783=typeof Symbol==_0x383901(0x4f0)&&typeof Symbol[_0x383901(0x3b0)]=='symbol'?function(_0x1bb926){return typeof _0x1bb926;}:function(_0x39116a){const _0x2bef72=_0x383901;return _0x39116a&&typeof Symbol==_0x2bef72(0x4f0)&&_0x39116a[_0x2bef72(0x15e)]===Symbol&&_0x39116a!==Symbol[_0x2bef72(0x3b4)]?_0x2bef72(0x43f):typeof _0x39116a;},_0x20f783(_0x1b1dff);}function _0x418fb1(_0x14e3e4,_0x4951cf){const _0x157e8f=_0x388c16;if(_0x20f783(_0x14e3e4)!=_0x157e8f(0x2cd)||!_0x14e3e4)return _0x14e3e4;var _0x2862c3=_0x14e3e4[Symbol[_0x157e8f(0x429)]];if(_0x2862c3!==void 0x0){var _0x295ead=_0x2862c3['call'](_0x14e3e4,_0x4951cf||_0x157e8f(0x34c));if(_0x20f783(_0x295ead)!='object')return _0x295ead;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4951cf===_0x157e8f(0x3e4)?String:Number)(_0x14e3e4);}function _0x185a24(_0x51a09e){const _0x16efab=_0x388c16;var _0x278f3b=_0x418fb1(_0x51a09e,_0x16efab(0x3e4));return _0x20f783(_0x278f3b)=='symbol'?_0x278f3b:_0x278f3b+'';}function _0x167995(_0x28fe14,_0x5e7cea,_0x36e292){return(_0x5e7cea=_0x185a24(_0x5e7cea))in _0x28fe14?Object['defineProperty'](_0x28fe14,_0x5e7cea,{'value':_0x36e292,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x28fe14[_0x5e7cea]=_0x36e292,_0x28fe14;}let _0x577fae=function(_0x33b36f){const _0x583afd=_0x388c16;return _0x33b36f[_0x583afd(0x4c4)]=_0x583afd(0x4c4),_0x33b36f[_0x583afd(0x178)]=_0x583afd(0x178),_0x33b36f[_0x583afd(0x319)]='CONFLICT',_0x33b36f[_0x583afd(0x215)]=_0x583afd(0x215),_0x33b36f[_0x583afd(0x28f)]=_0x583afd(0x28f),_0x33b36f['SOCKET_FAILED_RETRY']=_0x583afd(0x498),_0x33b36f[_0x583afd(0x41f)]=_0x583afd(0x41f),_0x33b36f[_0x583afd(0x457)]=_0x583afd(0x457),_0x33b36f;}({});var _0x20dd8a=class{constructor(){const _0x5dd6da=_0x388c16;_0x167995(this,'_event$',new _0x1d90a6[(_0x5dd6da(0x310))]()),_0x167995(this,_0x5dd6da(0x458),this['_event$'][_0x5dd6da(0x377)]());}[_0x388c16(0x14f)](_0xb4fb65){const _0x287fbc=_0x388c16;this[_0x287fbc(0x16d)][_0x287fbc(0x2fd)](_0xb4fb65);}},_0x147ce6=class{constructor(){const _0x52e01a=_0x388c16;_0x167995(this,_0x52e01a(0x427),new _0x1d90a6[(_0x52e01a(0x310))]()),_0x167995(this,_0x52e01a(0x4d6),this[_0x52e01a(0x427)][_0x52e01a(0x377)]());}[_0x388c16(0x38d)](_0x1870bd){const _0x21b9b9=_0x388c16;this[_0x21b9b9(0x427)][_0x21b9b9(0x2fd)](_0x1870bd);}};function _0x4923f4(_0x92b14d,_0x2886ee){return function(_0x11b02c,_0x4ce3f4){_0x2886ee(_0x11b02c,_0x4ce3f4,_0x92b14d);};}function _0x3ecedb(_0x511db1,_0x807f17,_0x303761,_0x42f966){const _0xe83b3c=_0x388c16;var _0x90773b=arguments[_0xe83b3c(0x1a3)],_0x30c6cd=_0x90773b<0x3?_0x807f17:_0x42f966===null?_0x42f966=Object['getOwnPropertyDescriptor'](_0x807f17,_0x303761):_0x42f966,_0x3e861d;if(typeof Reflect==_0xe83b3c(0x2cd)&&typeof Reflect[_0xe83b3c(0x1df)]==_0xe83b3c(0x4f0))_0x30c6cd=Reflect[_0xe83b3c(0x1df)](_0x511db1,_0x807f17,_0x303761,_0x42f966);else{for(var _0x34c8ce=_0x511db1[_0xe83b3c(0x1a3)]-0x1;_0x34c8ce>=0x0;_0x34c8ce--)(_0x3e861d=_0x511db1[_0x34c8ce])&&(_0x30c6cd=(_0x90773b<0x3?_0x3e861d(_0x30c6cd):_0x90773b>0x3?_0x3e861d(_0x807f17,_0x303761,_0x30c6cd):_0x3e861d(_0x807f17,_0x303761))||_0x30c6cd);}return _0x90773b>0x3&&_0x30c6cd&&Object[_0xe83b3c(0x2e8)](_0x807f17,_0x303761,_0x30c6cd),_0x30c6cd;}let _0x2ca67a=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x20fabd,_0x27ca2d){const _0x37a3f9=_0x388c16;super(),this[_0x37a3f9(0x371)]=_0x20fabd,this[_0x37a3f9(0x354)]=_0x27ca2d,_0x167995(this,_0x37a3f9(0x2e2),new Map()),_0x167995(this,_0x37a3f9(0x14d),new _0x1d90a6['Subject']()),this[_0x37a3f9(0x435)]((0x0,_0x1d90a6[_0x37a3f9(0x3a6)])(this[_0x37a3f9(0x371)]['getTypeOfUnitDisposed$'](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x464)])[_0x37a3f9(0x3f8)]((0x0,_0x29e3de[_0x37a3f9(0x1da)])(_0x369fa2=>_0x369fa2[_0x37a3f9(0x323)]())),this[_0x37a3f9(0x371)][_0x37a3f9(0x1b4)](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x38b)])['pipe']((0x0,_0x29e3de['map'])(_0x2eca93=>_0x2eca93[_0x37a3f9(0x323)]())),this[_0x37a3f9(0x371)][_0x37a3f9(0x1b4)](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x447)])['pipe']((0x0,_0x29e3de['map'])(_0x58c346=>_0x58c346[_0x37a3f9(0x323)]())))['subscribe'](_0x91750b=>this[_0x37a3f9(0x424)](_0x91750b)));}[_0x388c16(0x48a)](_0x6e7d7f){const _0x1b95ad=_0x388c16;return this[_0x1b95ad(0x2e2)][_0x1b95ad(0x4ca)](_0x6e7d7f)?(0x0,_0x1d90a6['of'])(this[_0x1b95ad(0x2e2)]['get'](_0x6e7d7f)):this['_roomCreated$'][_0x1b95ad(0x3f8)]((0x0,_0x29e3de[_0x1b95ad(0x1da)])(_0x1e1c08=>{const _0x2c17ee=_0x1b95ad;if(_0x1e1c08===_0x6e7d7f)return this[_0x2c17ee(0x2e2)][_0x2c17ee(0x1c6)](_0x1e1c08);}));}[_0x388c16(0x452)](_0x1a04c7){const _0x11ad03=_0x388c16;this['_userManagerService'][_0x11ad03(0x452)](_0x1a04c7);}[_0x388c16(0x16a)](){const _0x21643c=_0x388c16;return this['_userManagerService'][_0x21643c(0x16a)]();}['updateMember'](_0x2a931b,_0x3eb451){const _0x5f3af3=_0x388c16;let _0x5672c5=this[_0x5f3af3(0x2e2)]['get'](_0x2a931b);_0x5672c5||(_0x5672c5=new _0x3c0ff4(),this[_0x5f3af3(0x2e2)][_0x5f3af3(0x163)](_0x2a931b,_0x5672c5),this[_0x5f3af3(0x14d)][_0x5f3af3(0x2fd)](_0x2a931b)),_0x5672c5[_0x5f3af3(0x252)](_0x3eb451);}[_0x388c16(0x35a)](_0xf15daf,_0x5d049f){const _0x353b5f=_0x388c16;let _0x312b11=this[_0x353b5f(0x2e2)][_0x353b5f(0x1c6)](_0xf15daf);_0x312b11&&_0x312b11[_0x353b5f(0x35a)](_0x5d049f);}[_0x388c16(0x268)](_0xf40df2){return this['_roomMembers']['get'](_0xf40df2);}[_0x388c16(0x260)](_0x33a9c9,_0x8f7cfb){const _0x358ec1=_0x388c16;let _0x597fce=this[_0x358ec1(0x2e2)]['get'](_0x33a9c9);if(_0x597fce)return _0x597fce[_0x358ec1(0x260)](_0x8f7cfb);}[_0x388c16(0x424)](_0x3a90ef){const _0x5ce1dc=_0x388c16;let _0x44f740=this[_0x5ce1dc(0x2e2)][_0x5ce1dc(0x1c6)](_0x3a90ef);_0x44f740&&(_0x44f740[_0x5ce1dc(0x16e)](),this[_0x5ce1dc(0x2e2)][_0x5ce1dc(0x18b)](_0x3a90ef));}[_0x388c16(0x16e)](){const _0x122121=_0x388c16;this[_0x122121(0x2e2)][_0x122121(0x1d5)](_0x46c65e=>_0x46c65e[_0x122121(0x16e)]()),this[_0x122121(0x2e2)]['clear'](),this[_0x122121(0x14d)][_0x122121(0x303)]();}};_0x2ca67a=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x346)]))],_0x2ca67a);var _0x3c0ff4=class extends _0x4c9691[_0x388c16(0x292)]{constructor(..._0x2b281e){const _0x2b5612=_0x388c16;super(..._0x2b281e),_0x167995(this,_0x2b5612(0x18d),new Map()),_0x167995(this,'_members$',new _0x1d90a6['BehaviorSubject'](this[_0x2b5612(0x18d)])),_0x167995(this,_0x2b5612(0x421),this[_0x2b5612(0x243)]['asObservable']());}[_0x388c16(0x16e)](){const _0x2b01d8=_0x388c16;this[_0x2b01d8(0x18d)][_0x2b01d8(0x3c8)]();}[_0x388c16(0x252)](_0x4879c0){const _0x386785=_0x388c16;this[_0x386785(0x18d)][_0x386785(0x163)](_0x4879c0[_0x386785(0x379)],_0x4879c0),this[_0x386785(0x4f3)]();}[_0x388c16(0x35a)](_0xe1c9a5){const _0x4951a0=_0x388c16;this[_0x4951a0(0x18d)][_0x4951a0(0x18b)](_0xe1c9a5);}[_0x388c16(0x260)](_0x146d83){return this['_members']['get'](_0x146d83);}['getAllMembers'](){const _0x202178=_0x388c16;return Array[_0x202178(0x462)](this['_members'][_0x202178(0x1ad)]());}[_0x388c16(0x4f3)](){const _0x5fdf9d=_0x388c16;this[_0x5fdf9d(0x243)][_0x5fdf9d(0x2fd)](this[_0x5fdf9d(0x18d)]);}};let _0x16446d=function(_0x256612){const _0x53d35d=_0x388c16;return _0x256612[_0x256612[_0x53d35d(0x392)]=0x0]=_0x53d35d(0x392),_0x256612[_0x256612[_0x53d35d(0x4ae)]=0x1]=_0x53d35d(0x4ae),_0x256612[_0x256612[_0x53d35d(0x2a5)]=0x2]=_0x53d35d(0x2a5),_0x256612[_0x256612[_0x53d35d(0x1a5)]=0x3]=_0x53d35d(0x1a5),_0x256612;}({}),_0xf242bd={[_0x47fe30[_0x388c16(0x198)]]:_0x388c16(0x208),[_0x47fe30[_0x388c16(0x1fd)]]:_0x388c16(0x23b),[_0x47fe30['JOIN_ROOM_NOT_EXISTS']]:_0x388c16(0x453),[_0x47fe30[_0x388c16(0x47e)]]:'session.room-permission-denied',[_0x47fe30[_0x388c16(0x4eb)]]:'session.room-cnt-exceeds'},_0x4da542=class extends _0x4c9691[_0x388c16(0x433)]{get[_0x388c16(0x1c5)](){const _0x1e011a=_0x388c16;return this['_sessionStatus$'][_0x1e011a(0x4a5)]();}constructor(_0x50ffc4,_0x40e817,_0x8e453d,_0x57c82a,_0x8e26aa,_0xcc92d1,_0x47823a,_0x35a446){const _0x1381e4=_0x388c16;super(),this[_0x1381e4(0x3cf)]=_0x50ffc4,this[_0x1381e4(0x3f1)]=_0x8e453d,this[_0x1381e4(0x28a)]=_0x57c82a,this[_0x1381e4(0x3ce)]=_0x8e26aa,this[_0x1381e4(0x212)]=_0xcc92d1,this[_0x1381e4(0x1ec)]=_0x47823a,this['_telemetryService']=_0x35a446,_0x167995(this,'_sessionStatus$',new _0x1d90a6[(_0x1381e4(0x26f))](_0x16446d[_0x1381e4(0x392)])),_0x167995(this,_0x1381e4(0x363),this[_0x1381e4(0x367)][_0x1381e4(0x377)]()),_0x167995(this,_0x1381e4(0x16d),new _0x1d90a6[(_0x1381e4(0x310))]()),_0x167995(this,_0x1381e4(0x458),this[_0x1381e4(0x16d)][_0x1381e4(0x377)]()),_0x167995(this,_0x1381e4(0x186),void 0x0),_0x167995(this,'_socketMessageSubscription',void 0x0),_0x167995(this,'_collaborationTimeoutTimer',void 0x0),_0x167995(this,_0x1381e4(0x1dd),!0x1),_0x167995(this,_0x1381e4(0x1bf),null),this[_0x1381e4(0x1dd)]=!!this['_telemetryService'],_0x40e817[_0x1381e4(0x3f8)]((0x0,_0x1d90a6['takeUntil'])(this[_0x1381e4(0x473)]))[_0x1381e4(0x339)](_0x22c4af=>{const _0x572daa=_0x1381e4;if(_0x22c4af!==void 0x0){if(this[_0x572daa(0x186)]=_0x22c4af,_0x22c4af)this[_0x572daa(0x3ba)](_0x22c4af),this[_0x572daa(0x184)]=_0x22c4af[_0x572daa(0x4bc)][_0x572daa(0x339)](_0x192d0d=>{const _0x6e9d9=_0x572daa;_0x192d0d[_0x6e9d9(0x25b)]===this[_0x6e9d9(0x3cf)]&&this['_onCombEvent'](_0x192d0d);});else{var _0x278d73;this[_0x572daa(0x2fb)](),this['_sessionStatus$']['next'](_0x16446d['OFFLINE']),(_0x278d73=this['_socketMessageSubscription'])==null||_0x278d73[_0x572daa(0x2d9)](),this['_socketMessageSubscription']=null;}}});}[_0x388c16(0x3db)](){var _0x3ec936,_0x24e3e4;return(_0x3ec936=(_0x24e3e4=this['_socket'])==null?void 0x0:_0x24e3e4['memberID'])==null?null:_0x3ec936;}[_0x388c16(0x16e)](){const _0xb91dc4=_0x388c16;super[_0xb91dc4(0x16e)](),this[_0xb91dc4(0x28b)](),this[_0xb91dc4(0x473)]['next'](),this[_0xb91dc4(0x473)][_0xb91dc4(0x303)]();}[_0x388c16(0x28b)](){const _0xe163a7=_0x388c16;var _0x39221c,_0x43be54;this[_0xe163a7(0x2fb)](),(_0x39221c=this[_0xe163a7(0x186)])==null||_0x39221c[_0xe163a7(0x302)]({'cmd':_0x4e3953[_0xe163a7(0x2f4)],'data':{'roomID':this[_0xe163a7(0x3cf)]}}),(_0x43be54=this[_0xe163a7(0x186)])==null||_0x43be54[_0xe163a7(0x28b)](),this[_0xe163a7(0x16d)][_0xe163a7(0x303)](),this[_0xe163a7(0x367)][_0xe163a7(0x303)]();}[_0x388c16(0x283)](_0x3704d9){const _0x13ef0e=_0x388c16;_0x3704d9[_0x13ef0e(0x239)]===_0x4e3953[_0x13ef0e(0x3dd)]?this[_0x13ef0e(0x3e5)](_0x3704d9):_0x3704d9[_0x13ef0e(0x239)]===_0x4e3953['RECV']&&this[_0x13ef0e(0x1cc)](_0x3704d9);}['_joinRoom'](_0x37c72b){const _0x3e7bd0=_0x388c16;this[_0x3e7bd0(0x367)][_0x3e7bd0(0x2fd)](_0x16446d[_0x3e7bd0(0x4ae)]),_0x37c72b[_0x3e7bd0(0x302)]({'cmd':_0x4e3953[_0x3e7bd0(0x3dd)],'routeKey':this[_0x3e7bd0(0x3cf)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e7bd0(0x3cf)]}]}});}['_onJoinRoomEvent'](_0x109536){const _0x532d0a=_0x388c16;var _0x50613b;if(_0x109536[_0x532d0a(0x309)]in _0xf242bd){this['_collaborationUIEventService']['emitEvent']({'id':_0x577fae['JOIN_ROOM_FAILED'],'data':_0xf242bd[_0x109536['code']]}),this[_0x532d0a(0x367)][_0x532d0a(0x2fd)](_0x16446d[_0x532d0a(0x2a5)]);return;}this[_0x532d0a(0x367)][_0x532d0a(0x2fd)](_0x16446d[_0x532d0a(0x1a5)]);let _0x3efd8d=(_0x50613b=_0x109536[_0x532d0a(0x1d1)][_0x532d0a(0x218)][this['_unitID']])==null?void 0x0:_0x50613b[_0x532d0a(0x352)];_0x3efd8d&&_0x3efd8d[_0x532d0a(0x1d5)](_0x2ac5b6=>this[_0x532d0a(0x3ce)]['updateMember'](this[_0x532d0a(0x3cf)],_0x2ac5b6));}[_0x388c16(0x1cc)](_0x23c071){const _0x25db8f=_0x388c16;try{let _0x23855e=_0x23c071[_0x25db8f(0x1d1)];switch(_0x23855e[_0x25db8f(0x1d3)]){case _0x22113f['CollaborationEvent'][_0x25db8f(0x4f1)]:this[_0x25db8f(0x25a)](_0x23855e),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x1b6)]:this[_0x25db8f(0x2fa)](_0x23855e),this[_0x25db8f(0x16d)][_0x25db8f(0x2fd)](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)]['CHANGESET_ACK']:case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x35b)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x2ea)]:this[_0x25db8f(0x3f1)]['error'](_0x25db8f(0x35f)+JSON['stringify'](_0x23855e)),this[_0x25db8f(0x16d)][_0x25db8f(0x2fd)](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)]['COMMENT_UPDATE']:this[_0x25db8f(0x212)]['onCommentUpdate'](_0x23855e['data']),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;default:this['_event$'][_0x25db8f(0x2fd)](_0x23855e);}}catch(_0x4d7647){this[_0x25db8f(0x3f1)][_0x25db8f(0x1fa)](_0x4d7647,_0x23c071);}}[_0x388c16(0x25a)](_0x366457){const _0x3b62d7=_0x388c16;this[_0x3b62d7(0x3ce)]['updateMember'](this[_0x3b62d7(0x3cf)],_0x366457[_0x3b62d7(0x1d1)]);}[_0x388c16(0x2fa)](_0x531883){const _0x4d4c64=_0x388c16;this[_0x4d4c64(0x3ce)]['removeMember'](this[_0x4d4c64(0x3cf)],_0x531883[_0x4d4c64(0x1d1)][_0x4d4c64(0x379)]);}async[_0x388c16(0x302)](_0x24bebf,_0x3e5341){const _0x1830e6=_0x388c16;if(this[_0x1830e6(0x1c5)]!==_0x16446d['ONLINE']||!this[_0x1830e6(0x186)])throw Error(_0x1830e6(0x455));try{_0x24bebf['eventID']===_0x22113f['CollaborationEvent'][_0x1830e6(0x4a3)]&&(this[_0x1830e6(0x24b)](),this[_0x1830e6(0x269)](_0x24bebf)),this['_socket'][_0x1830e6(0x302)]({'cmd':_0x4e3953[_0x1830e6(0x4b9)],'routeKey':_0x3e5341,'routeType':'','data':_0x24bebf});}catch(_0x1d5cfc){this[_0x1830e6(0x3f1)][_0x1830e6(0x1fa)](_0x1d5cfc);}}[_0x388c16(0x24b)](){const _0x17bfc0=_0x388c16;var _0x414e6e;this[_0x17bfc0(0x4bf)]=setTimeout(()=>{const _0x2f4c0a=_0x17bfc0;this[_0x2f4c0a(0x4bf)]=null,this[_0x2f4c0a(0x1ec)][_0x2f4c0a(0x14f)]({'id':_0x577fae['SUBMIT_CHANGESET_TIMEOUT']});},(_0x414e6e=this[_0x17bfc0(0x28a)][_0x17bfc0(0x438)](_0x17bfc0(0x36f)))==null?_0x1790d5:_0x414e6e);}[_0x388c16(0x290)](){const _0x5753bf=_0x388c16;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5753bf(0x4bf)]),this[_0x5753bf(0x4bf)]=null);}[_0x388c16(0x269)](_0x39a030){const _0x2ddb7a=_0x388c16;if(!this[_0x2ddb7a(0x1dd)])return;let {data:_0x51a015}=_0x39a030,{unitID:_0x46b2ae,changeset:_0x17b532}=_0x51a015,{mutations:_0x234d90,type:_0x354bad}=_0x17b532;this[_0x2ddb7a(0x1bf)]={'unitId':_0x46b2ae,'type':_0x354bad,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x11b808(_0x234d90)};}[_0x388c16(0x45e)](){const _0x165fe1=_0x388c16;if(this[_0x165fe1(0x1dd)]){if(!this[_0x165fe1(0x1bf)]){this[_0x165fe1(0x3f1)][_0x165fe1(0x1fa)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x165fe1(0x1bf)][_0x165fe1(0x3f7)]=performance[_0x165fe1(0x329)](),this[_0x165fe1(0x1bf)][_0x165fe1(0x222)]=this[_0x165fe1(0x1bf)][_0x165fe1(0x3f7)]-this[_0x165fe1(0x1bf)][_0x165fe1(0x3f9)],this[_0x165fe1(0x4d0)][_0x165fe1(0x4f5)]('collaboration_new_changeset',this[_0x165fe1(0x1bf)]),this['_telemetryInfo']=null;}}[_0x388c16(0x2fb)](){this['_telemetryInfo']=null;}};_0x4da542=_0x3ecedb([_0x4923f4(0x2,_0x4c9691['ILogService']),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x2ca67a)),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x147ce6)),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x7,(0x0,_0x4c9691['Optional'])(_0x24d3ba[_0x388c16(0x2f8)]))],_0x4da542);let _0xd5c1f1=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x3b5));function _0x71832(_0x5a1dea){return'unit-cache-'+_0x5a1dea;}function _0x37f253(_0x4f98cb){const _0x4d2270=_0x388c16;let {unitID:_0x2f67d8,mutations:_0x3f067a}=_0x4f98cb;return{'unitId':_0x2f67d8,'subUnitId':_0x3f067a[_0x4d2270(0x1a3)]>0x0?_0x3f067a[0x0][_0x4d2270(0x1bb)][_0x4d2270(0x370)]:null};}let _0x4d2785=class{constructor(_0x24215b,_0x3d1121,_0x5bd326){this['_injector']=_0x24215b,this['_transformService']=_0x3d1121,this['_instanceService']=_0x5bd326;}[_0x388c16(0x1db)](_0x235f8b){const _0x1d156b=_0x388c16;var _0x2c6880,_0x43338b;let _0x10e3b7=this[_0x1d156b(0x31f)][_0x1d156b(0x1c6)](_0x190d88[_0x1d156b(0x1e6)]),{unitId:_0x10cb6d,subUnitId:_0x5c8840}=_0x37f253(_0x235f8b),_0x373ea1=_0x10e3b7==null?void 0x0:_0x10e3b7['getWorkbookSelections'](_0x10cb6d)['getCurrentSelections'](),_0x1b1d69=(_0x2c6880=this[_0x1d156b(0x44e)][_0x1d156b(0x47c)](_0x10cb6d))==null||(_0x2c6880=_0x2c6880[_0x1d156b(0x40b)]())==null?void 0x0:_0x2c6880[_0x1d156b(0x2e9)]();if(_0x373ea1[_0x1d156b(0x1a3)]===0x0||!_0x10cb6d||!_0x5c8840)return;let _0x12d73b=[{'id':_0x190d88[_0x1d156b(0x244)]['id'],'params':{'unitId':_0x10cb6d,'subUnitId':_0x1b1d69,'selections':_0x4c9691[_0x1d156b(0x2b2)]['deepClone'](_0x373ea1)}}],_0x598ba9=this[_0x1d156b(0x14e)][_0x1d156b(0x409)](_0x235f8b,_0x12d73b);if(!(0x0,_0x22113f[_0x1d156b(0x47a)])(_0x598ba9))throw _0x598ba9['error'];let _0x1f887b=(_0x43338b=_0x598ba9[_0x1d156b(0x172)][0x0])==null||(_0x43338b=_0x43338b[_0x1d156b(0x1bb)])==null?void 0x0:_0x43338b[_0x1d156b(0x2a2)];if(Array[_0x1d156b(0x23e)](_0x1f887b)&&_0x1f887b[_0x1d156b(0x1a3)]){if(_0x1f887b[_0x1d156b(0x1a3)]===_0x12d73b[0x0]['params'][_0x1d156b(0x2a2)]['length']&&_0x1f887b[_0x1d156b(0x2ef)]((_0x26fed3,_0x23d055)=>_0x4c9691[_0x1d156b(0x2e7)][_0x1d156b(0x183)](_0x26fed3[_0x1d156b(0x29e)],_0x12d73b[0x0][_0x1d156b(0x1bb)]['selections'][_0x23d055]['range'])))return;this[_0x1d156b(0x31f)][_0x1d156b(0x1c6)](_0x4c9691[_0x1d156b(0x225)])[_0x1d156b(0x4ef)](_0x190d88[_0x1d156b(0x244)]['id'],{'unitId':_0x10cb6d,'subUnitId':_0x1b1d69,'selections':_0x1f887b});}}};_0x4d2785=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691['Injector'])),_0x4923f4(0x1,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x384)])],_0x4d2785);let _0xfce292=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x41d)),_0x129273=function(_0x75c075){const _0x367847=_0x388c16;return _0x75c075[_0x75c075[_0x367847(0x4b5)]=0x0]=_0x367847(0x4b5),_0x75c075[_0x75c075['OTHER_CLIENTS_EDITING']=0x1]=_0x367847(0x4a2),_0x75c075;}({}),_0x52c9fb=_0x388c16(0x448);Symbol(_0x52c9fb);let _0x61d523={};function _0x52d99c(_0x242941){const _0x2f4829=_0x388c16;var _0x32aa6a;return!!((_0x32aa6a=_0x242941[_0x2f4829(0x1bb)])!=null&&_0x32aa6a[_0x2f4829(0x43e)]);}let _0x57c952=new Set([_0x190d88['InsertSheetMutation']['id']]);function _0x455b37(_0x408ed9,_0x74d6f3,_0xf73d42,_0x3b3bc8,_0x4a9243){const _0x2ce3bb=_0x388c16;var _0x447aba,_0x257a55,_0x22ba1b,_0x5575f9;let _0x55f6c3=[];for(let _0x34ee50 of _0x408ed9){if(_0x57c952[_0x2ce3bb(0x4ca)](_0x34ee50['id'])){if(_0x55f6c3[_0x2ce3bb(0x1a3)]>0x0)break;_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);break;}if(_0x52d99c(_0x34ee50)){if(_0x55f6c3[_0x2ce3bb(0x1a3)]>0x0)break;_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);break;}_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);}let _0x51a2e0=(_0x447aba=(_0x257a55=_0x4a9243[_0x2ce3bb(0x16a)]())==null?void 0x0:_0x257a55[_0x2ce3bb(0x2ee)])==null?_0x2ce3bb(0x1cf):_0x447aba,_0x3fd3ec=(_0x22ba1b=(_0x5575f9=_0x4a9243['getCurrentUser']())==null?void 0x0:_0x5575f9[_0x2ce3bb(0x379)])==null?_0x2ce3bb(0x1cf):_0x22ba1b;return{'changeset':{'unitID':_0x74d6f3,'type':(0x0,_0x22113f[_0x2ce3bb(0x4ba)])(_0xf73d42[_0x2ce3bb(0x33c)](_0x74d6f3)),'baseRev':_0x3b3bc8[_0x2ce3bb(0x4ee)](_0x74d6f3),'revision':0x0,'userID':_0x51a2e0,'memberID':_0x3fd3ec,'mutations':_0x55f6c3},'pendingMutations':_0x408ed9[_0x2ce3bb(0x342)](_0x55f6c3[_0x2ce3bb(0x1a3)])};}function _0x25a320(_0x20a908,_0x5a17ca,_0x40433f,_0x4f7163,_0x2ed239){const _0x2bc733=_0x388c16;var _0x414623,_0x261fbb,_0x261de3,_0xe32085;let _0x42ee00=[_0x20a908[_0x2bc733(0x17e)]((_0x89e1b1,_0x196385)=>{const _0x2cf7bc=_0x2bc733;var _0x5b6a36;let {id:_0x28801c}=_0x89e1b1,{id:_0x32ad13,type:_0x532c02}=_0x196385,_0x5cc034=(_0x5b6a36=_0x89e1b1[_0x2cf7bc(0x1bb)])==null?{'actions':null}:_0x5b6a36,_0x3d25de=_0x196385['params'];if(_0x28801c&&_0x28801c!==_0x32ad13)throw Error(_0x2cf7bc(0x324)+_0x28801c+_0x2cf7bc(0x344)+_0x32ad13+'.');return{..._0x89e1b1,'id':_0x32ad13,'type':_0x532c02,'params':{'unitId':_0x3d25de[_0x2cf7bc(0x1bc)],'textRanges':_0x3d25de['textRanges'],'actions':_0x4c9691[_0x2cf7bc(0x288)][_0x2cf7bc(0x3f4)](_0x5cc034[_0x2cf7bc(0x2e4)],_0x3d25de[_0x2cf7bc(0x2e4)])}};},{})],_0x3086b6=(_0x414623=(_0x261fbb=_0x2ed239[_0x2bc733(0x16a)]())==null?void 0x0:_0x261fbb[_0x2bc733(0x2ee)])==null?_0x2bc733(0x1cf):_0x414623,_0xbdafbd=(_0x261de3=(_0xe32085=_0x2ed239[_0x2bc733(0x16a)]())==null?void 0x0:_0xe32085[_0x2bc733(0x379)])==null?_0x2bc733(0x1cf):_0x261de3;return{'changeset':{'unitID':_0x5a17ca,'type':(0x0,_0x22113f['mapDocumentTypeToUniverType'])(_0x40433f[_0x2bc733(0x33c)](_0x5a17ca)),'baseRev':_0x4f7163['getCurrentRevOfUnit'](_0x5a17ca),'revision':0x0,'userID':_0x3086b6,'memberID':_0xbdafbd,'mutations':_0x42ee00},'pendingMutations':[]};}function _0x157d60(_0x20beca,_0x4da3e9){const _0x584ff5=_0x388c16;let _0xca435f=new _0x1d90a6[(_0x584ff5(0x188))](0x1);return setTimeout(()=>_0xca435f[_0x584ff5(0x2fd)](_0x4da3e9),_0x20beca),_0xca435f[_0x584ff5(0x377)]()[_0x584ff5(0x3f8)]((0x0,_0x1d90a6[_0x584ff5(0x468)])(0x1));}var _0xaa424b,_0x10b0f3,_0x31eb15;let _0x44ebbd=function(_0x21de38){const _0x4224c4=_0x388c16;return _0x21de38[_0x4224c4(0x285)]=_0x4224c4(0x49e),_0x21de38['SYNCED']=_0x4224c4(0x2db),_0x21de38[_0x4224c4(0x44a)]=_0x4224c4(0x20a),_0x21de38[_0x4224c4(0x2fc)]=_0x4224c4(0x2c8),_0x21de38[_0x4224c4(0x2f6)]=_0x4224c4(0x3de),_0x21de38[_0x4224c4(0x39a)]=_0x4224c4(0x3ad),_0x21de38[_0x4224c4(0x319)]=_0x4224c4(0x33b),_0x21de38[_0x4224c4(0x2a5)]=_0x4224c4(0x18a),_0x21de38;}({}),_0x3b5c2c=0x4e20,_0x5040ff=0x2bf20;var _0x182a0d=class{constructor(_0xbd9fa2,_0x4ad2d7,_0x22097e,_0x597466,_0xcd9e93,_0x54bd28,_0x3161e2,_0x57fc81,_0x4146d4){const _0x4d4588=_0x388c16;this[_0x4d4588(0x266)]=_0xbd9fa2,this[_0x4d4588(0x2f7)]=_0x4ad2d7,this[_0x4d4588(0x1c4)]=_0xcd9e93,this[_0x4d4588(0x2bd)]=_0x54bd28,this[_0x4d4588(0x1c2)]=_0x3161e2,this[_0x4d4588(0x3c5)]=_0x57fc81,this[_0x4d4588(0x403)]=_0x4146d4,_0x167995(this,_0x4d4588(0x207),null),_0x167995(this,_0x4d4588(0x291),[]),this['_awaitingChangeset']=_0x22097e,this['_pendingMutations']=_0x597466;}['_checkMissing'](_0x170d36){const _0x589c7a=_0x388c16;let _0x418e3e=this['_revisionService'][_0x589c7a(0x4ee)](this[_0x589c7a(0x266)]);return _0x170d36['revision']>_0x418e3e+0x1?(this['_handler'][_0x589c7a(0x263)]({'from':_0x418e3e,'to':_0x170d36[_0x589c7a(0x35d)]-0x1}),!0x0):!0x1;}[_0x388c16(0x1f2)](_0x5e72db){const _0x1d8f37=_0x388c16;this['_undoRedoService'][_0x1d8f37(0x4d5)](this[_0x1d8f37(0x266)],_0x5e72db);}[_0x388c16(0x2dd)](_0x234e1a){const _0x535d93=_0x388c16;var _0x29eed6,_0x217114;(_0x29eed6=(_0x217114=this[_0x535d93(0x1c4)])['onTransformSelections'])==null||_0x29eed6['call'](_0x217114,_0x234e1a);}[_0x388c16(0x4c6)](_0x112e41){const _0xc678d9=_0x388c16;var _0x405694,_0x15937a;return(_0x405694=(_0x15937a=this[_0xc678d9(0x1c4)])[_0xc678d9(0x4f4)])==null?void 0x0:_0x405694[_0xc678d9(0x48c)](_0x15937a,_0x112e41);}[_0x388c16(0x3a7)](_0x13713a){const _0x1b41b1=_0x388c16;var _0x159154,_0x3b0286;return(_0x159154=(_0x3b0286=this[_0x1b41b1(0x1c4)])[_0x1b41b1(0x24f)])==null?void 0x0:_0x159154['call'](_0x3b0286,_0x13713a);}[_0x388c16(0x3c9)](_0x2b6d2b){const _0x1cde44=_0x388c16;var _0x405c5a,_0x45d3c3,_0x510497;return(_0x405c5a=(_0x45d3c3=(_0x510497=this[_0x1cde44(0x1c4)])[_0x1cde44(0x219)])==null?void 0x0:_0x45d3c3['call'](_0x510497,_0x2b6d2b))==null?_0x2b6d2b:_0x405c5a;}[_0x388c16(0x3d7)](_0x2c0f7a){const _0x494e8d=_0x388c16;var _0x5ce2d,_0x59c26d,_0x9b1d0;return(_0x5ce2d=(_0x59c26d=(_0x9b1d0=this[_0x494e8d(0x1c4)])[_0x494e8d(0x43c)])==null?void 0x0:_0x59c26d['call'](_0x9b1d0,_0x2c0f7a))==null?_0x2c0f7a:_0x5ce2d;}[_0x388c16(0x321)](_0xc8ec21){const _0x398d6f=_0x388c16;if(this[_0x398d6f(0x2f7)]===_0x194d58[_0x398d6f(0x38b)]){let {unitID:_0x2f6b9b,mutations:_0x480e0c,memberID:_0x5c027d}=_0xc8ec21,_0x2b97dd=_0x480e0c[_0x398d6f(0x1a3)]>0x0?_0x480e0c[0x0][_0x398d6f(0x1bb)][_0x398d6f(0x32b)]:[];if(Array['isArray'](_0x2b97dd)&&_0x2b97dd[_0x398d6f(0x1a3)]>0x0){var _0x1e909f,_0x46ccdd;(_0x1e909f=(_0x46ccdd=this[_0x398d6f(0x1c4)])[_0x398d6f(0x3c4)])==null||_0x1e909f[_0x398d6f(0x48c)](_0x46ccdd,{'unitID':_0x2f6b9b,'memberID':_0x5c027d,'textRanges':_0x2b97dd});}}}[_0x388c16(0x170)](){const _0x38c65f=_0x388c16;var _0x1f5b7a;(_0x1f5b7a=this['_localCacheService'])==null||_0x1f5b7a[_0x38c65f(0x20e)](this[_0x38c65f(0x266)],this[_0x38c65f(0x2f7)],this[_0x38c65f(0x207)],this['_pendingMutations']);}[_0x388c16(0x4c9)](){const _0x334c57=_0x388c16;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x334c57(0x266)]);}['_incrementRevisionNumber'](){const _0x6fca41=_0x388c16;this['_revisionService'][_0x6fca41(0x155)](this[_0x6fca41(0x266)]);}[_0x388c16(0x232)](_0x530828){const _0x247d27=_0x388c16;let _0x587c5b=this[_0x247d27(0x3c9)](_0x530828);_0x587c5b=this[_0x247d27(0x3d7)](_0x587c5b);let _0x1e5f05=(0x0,_0x4c9691[_0x247d27(0x4e7)])(_0x587c5b[_0x247d27(0x27b)],this[_0x247d27(0x2bd)],{'fromCollab':!0x0});if(!_0x1e5f05[_0x247d27(0x3a1)]){var _0x571888;throw _0x1e5f05[_0x247d27(0x1fa)]instanceof Error?_0x1e5f05['error']:Error((_0x571888=_0x1e5f05['error'])==null?_0x247d27(0x3d8):_0x571888);}this[_0x247d27(0x4c6)](_0x587c5b),this[_0x247d27(0x3a7)](_0x587c5b),this['_transformUndoredo'](_0x530828),this[_0x247d27(0x2dd)](_0x587c5b),this[_0x247d27(0x321)](_0x587c5b),this[_0x247d27(0x490)]();}};let _0x558869=class extends _0x182a0d{constructor(_0x50b14e,_0x4b3528,_0x2c617b,_0x2e9273,_0x2942f1,_0x1a99c3,_0x2e5b7b,_0x332b51,_0x5b1e0e,_0x381311){const _0x14df6d=_0x388c16;super(_0x50b14e,_0x4b3528,null,[],_0x2c617b,_0x2e5b7b,_0x1a99c3,_0x2e9273,_0x381311),this['_injector']=_0x2942f1,this['_logService']=_0x332b51,this[_0x14df6d(0x14e)]=_0x5b1e0e,this[_0x14df6d(0x43a)]=_0x381311,_0x167995(this,'status',_0x44ebbd[_0x14df6d(0x4d8)]);}['appendMutation'](_0x5771d9){const _0x136598=_0x388c16;let _0x3174ac=this[_0x136598(0x31f)][_0x136598(0x251)](_0xdaecc2,this['unitID'],this[_0x136598(0x2f7)],[_0x5771d9],this['_handler']);return _0x3174ac['_schedule'](),_0x3174ac['_updateLocalCache'](),_0x3174ac;}['onRemoteChangeset'](_0x1b6910){const _0x1d0be9=_0x388c16;if(this[_0x1d0be9(0x4be)](_0x1b6910))return this[_0x1d0be9(0x31f)][_0x1d0be9(0x251)](_0x25a93f,this[_0x1d0be9(0x266)],this[_0x1d0be9(0x2f7)],null,[],null,[_0x1b6910],this[_0x1d0be9(0x1c4)]);try{let _0x44e773=this[_0x1d0be9(0x14e)][_0x1d0be9(0x409)](_0x1b6910,[_0x22113f['EmptyMutationInfo']]);if((0x0,_0x22113f['isTransformMutationsWithChangesetSuccess'])(_0x44e773)){let {c1Prime:_0xf5970d}=_0x44e773;return this[_0x1d0be9(0x232)](_0xf5970d),this;}throw _0x44e773['error'];}catch(_0x3c32d6){return this[_0x1d0be9(0x3f1)][_0x1d0be9(0x1fa)](_0x3c32d6),this['_onConflict'](!0x1);}}[_0x388c16(0x35e)](_0x4a9d31){const _0x6ee660=_0x388c16;return this[_0x6ee660(0x31f)][_0x6ee660(0x251)](_0x57790d,this[_0x6ee660(0x266)],this[_0x6ee660(0x2f7)],null,[],this[_0x6ee660(0x1c4)],_0x4a9d31);}['onRemoteAck'](){const _0x3f27eb=_0x388c16;throw Error(_0x3f27eb(0x247));}['onRemoteRej'](){const _0x4c31e8=_0x388c16;throw Error(_0x4c31e8(0x1e1));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0x2e984c=_0x388c16;return this[_0x2e984c(0x31f)][_0x2e984c(0x251)](_0x150e04,this[_0x2e984c(0x266)],this['type'],null,[],this[_0x2e984c(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x308)](){const _0x347552=_0x388c16;throw Error(_0x347552(0x369));}['fetchMiss'](){const _0x25e796=_0x388c16;let _0x4b70c7=this[_0x25e796(0x3c5)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x25e796(0x263)]({'from':_0x4b70c7,'to':0x0}),this[_0x25e796(0x31f)][_0x25e796(0x251)](_0x25a93f,this[_0x25e796(0x266)],this[_0x25e796(0x2f7)],null,[],null,[],this[_0x25e796(0x1c4)]);}};_0x558869=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0x6,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x7,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x8,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x9,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x558869);let _0xdaecc2=_0xaa424b=class extends _0x182a0d{constructor(_0x1fc4f8,_0x234c9c,_0x550fe3,_0x1f30a3,_0x1dc2f8,_0x59ae04,_0x46e1f8,_0x2c3bfe,_0x1f2406,_0x54651f,_0x499401,_0x1f2d88,_0x3f2173,_0x1915f4){const _0x534a8d=_0x388c16;super(_0x1fc4f8,_0x234c9c,null,_0x550fe3,_0x1f30a3,_0x1f2406,_0x3f2173,_0x59ae04,_0x1915f4),this[_0x534a8d(0x31f)]=_0x1dc2f8,this[_0x534a8d(0x3ce)]=_0x46e1f8,this[_0x534a8d(0x3f1)]=_0x2c3bfe,this[_0x534a8d(0x28a)]=_0x54651f,this[_0x534a8d(0x14e)]=_0x499401,this[_0x534a8d(0x371)]=_0x1f2d88,_0x167995(this,_0x534a8d(0x282),_0x44ebbd[_0x534a8d(0x44a)]),_0x167995(this,_0x534a8d(0x2e6),null),_0x167995(this,'_sendingTimer',null);}[_0x388c16(0x330)](_0xd2e39a){const _0x240612=_0x388c16;return this[_0x240612(0x291)][_0x240612(0x221)](_0xd2e39a),this[_0x240612(0x170)](),this;}[_0x388c16(0x293)](_0x1893bf){const _0xae070d=_0x388c16;if(this['_checkMissing'](_0x1893bf))return this[_0xae070d(0x399)](),this[_0xae070d(0x31f)]['createInstance'](_0x25a93f,this['unitID'],this[_0xae070d(0x2f7)],null,this[_0xae070d(0x291)],null,[_0x1893bf],this[_0xae070d(0x1c4)]);try{let _0x497124=this[_0xae070d(0x14e)][_0xae070d(0x409)](_0x1893bf,this[_0xae070d(0x291)]);if((0x0,_0x22113f[_0xae070d(0x47a)])(_0x497124)){let {c1Prime:_0x448993,m2Prime:_0x992fa7}=_0x497124;this[_0xae070d(0x232)](_0x448993);let _0x38db12=this[_0xae070d(0x31f)][_0xae070d(0x251)](_0xaa424b,this['unitID'],this[_0xae070d(0x2f7)],_0x992fa7,this[_0xae070d(0x1c4)]);this['_clearScheduledTask']();let _0x5a8135=new Date()[_0xae070d(0x36c)](),_0x372657=this[_0xae070d(0x2e6)]?Math[_0xae070d(0x3d4)](this[_0xae070d(0x2e6)]-_0x5a8135,0x0):this['_getSendChangesetTimeout']();return _0x38db12[_0xae070d(0x297)](_0x372657),_0x38db12;}throw _0x497124[_0xae070d(0x1fa)];}catch(_0x49dab7){return this[_0xae070d(0x3f1)][_0xae070d(0x1fa)](_0x49dab7),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x388c16(0x39c)](){const _0x5688ae=_0x388c16;throw Error(_0x5688ae(0x30b));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0x3e6a22=_0x388c16;return this[_0x3e6a22(0x399)](),this['_injector']['createInstance'](_0x150e04,this[_0x3e6a22(0x266)],this[_0x3e6a22(0x2f7)],null,this[_0x3e6a22(0x291)],this[_0x3e6a22(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x297)](_0xef693b){const _0x14d768=_0x388c16;let _0x58a77b=_0xef693b==null?this[_0x14d768(0x1be)]():_0xef693b;this['_scheduleCompleteTimestamp']=new Date()[_0x14d768(0x36c)]()+_0x58a77b,this[_0x14d768(0x168)]=setTimeout(()=>{const _0x15c9dd=_0x14d768;this[_0x15c9dd(0x399)]();let _0x1f3f39=null;switch(this[_0x15c9dd(0x2f7)]){case _0x194d58[_0x15c9dd(0x464)]:_0x1f3f39=_0x455b37(this[_0x15c9dd(0x291)],this['unitID'],this[_0x15c9dd(0x371)],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]);break;case _0x194d58['UNIVER_DOC']:_0x1f3f39=this[_0x15c9dd(0x291)][_0x15c9dd(0x2ef)](_0x5a061f=>_0x5a061f['id']===_0x30758f[_0x15c9dd(0x431)]['id'])?_0x25a320(this[_0x15c9dd(0x291)],this[_0x15c9dd(0x266)],this['_univerInstanceService'],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]):_0x455b37(this[_0x15c9dd(0x291)],this['unitID'],this[_0x15c9dd(0x371)],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]);break;default:throw Error(_0x15c9dd(0x3ed)+this[_0x15c9dd(0x2f7)]+'\x20in\x20_schedule.');}let {changeset:_0x2edc93,pendingMutations:_0x4d3ec7}=_0x1f3f39;this[_0x15c9dd(0x1c4)][_0x15c9dd(0x450)](_0x2edc93);let _0x4411a3=_0x4d3ec7[_0x15c9dd(0x1a3)]?this[_0x15c9dd(0x31f)][_0x15c9dd(0x251)](_0x4bf776,this[_0x15c9dd(0x266)],this[_0x15c9dd(0x2f7)],_0x2edc93,_0x4d3ec7,this[_0x15c9dd(0x1c4)],void 0x0):this['_injector']['createInstance'](_0x56a83c,this[_0x15c9dd(0x266)],this[_0x15c9dd(0x2f7)],_0x2edc93,this[_0x15c9dd(0x1c4)]);_0x4411a3[_0x15c9dd(0x170)](),this[_0x15c9dd(0x1c4)][_0x15c9dd(0x4ea)](this,_0x4411a3);},_0x58a77b);}[_0x388c16(0x1be)](){const _0x5551e2=_0x388c16;var _0x43bd21;let _0x4d3550=this[_0x5551e2(0x28a)]['getConfig'](_0x52c9fb);return(_0x43bd21=_0x4d3550==null?void 0x0:_0x4d3550[_0x5551e2(0x187)])==null?0x7d0:_0x43bd21;}['resend'](){const _0x4847d5=_0x388c16;throw Error(_0x4847d5(0x22e));}[_0x388c16(0x399)](){const _0x3e8ad8=_0x388c16;this[_0x3e8ad8(0x168)]!=null&&(clearTimeout(this[_0x3e8ad8(0x168)]),this[_0x3e8ad8(0x168)]=null);}[_0x388c16(0x35e)](_0x2813ed){const _0xd1315b=_0x388c16;return this[_0xd1315b(0x399)](),this['_injector'][_0xd1315b(0x251)](_0x57790d,this[_0xd1315b(0x266)],this[_0xd1315b(0x2f7)],null,this[_0xd1315b(0x291)],this[_0xd1315b(0x1c4)],_0x2813ed);}};_0xdaecc2=_0xaa424b=_0x3ecedb([_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x2ca67a)),_0x4923f4(0x7,_0x4c9691['ILogService']),_0x4923f4(0x8,_0x4c9691['ICommandService']),_0x4923f4(0x9,_0x4c9691['IConfigService']),_0x4923f4(0xa,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0xc,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0xdaecc2);let _0x56a83c=_0x10b0f3=class extends _0x182a0d{constructor(_0x185a95,_0x37be62,_0x458368,_0x3991f8,_0x4d18fc,_0x2fc0c9,_0x21dd5a,_0x43ea6b,_0x1f3ded,_0x4a9566,_0xab478){const _0x24abc6=_0x388c16;super(_0x185a95,_0x37be62,_0x458368,[],_0x3991f8,_0x21dd5a,_0x4a9566,_0x2fc0c9,_0xab478),this[_0x24abc6(0x31f)]=_0x4d18fc,this[_0x24abc6(0x3f1)]=_0x43ea6b,this['_transformService']=_0x1f3ded,_0x167995(this,_0x24abc6(0x282),_0x44ebbd[_0x24abc6(0x2fc)]),_0x167995(this,_0x24abc6(0x48f),0x0),_0x167995(this,_0x24abc6(0x327),0x0),_0x167995(this,_0x24abc6(0x3bb),void 0x0),_0x167995(this,_0x24abc6(0x3b7),void 0x0);}[_0x388c16(0x330)](_0x378b3f){const _0x60e9ad=_0x388c16;this[_0x60e9ad(0x399)]();let _0x36e384=this[_0x60e9ad(0x31f)][_0x60e9ad(0x251)](_0x4bf776,this['unitID'],this[_0x60e9ad(0x2f7)],this[_0x60e9ad(0x207)],[_0x378b3f],this['_handler'],this[_0x60e9ad(0x3bb)]);return _0x36e384[_0x60e9ad(0x170)](),_0x36e384;}[_0x388c16(0x293)](_0x1e3695){const _0x44b656=_0x388c16;if(this[_0x44b656(0x4be)](_0x1e3695))return this['_clearScheduledTask'](),this[_0x44b656(0x31f)]['createInstance'](_0x25a93f,this[_0x44b656(0x266)],this[_0x44b656(0x2f7)],this[_0x44b656(0x207)],[],null,[_0x1e3695],this[_0x44b656(0x1c4)]);try{let _0x478f13=this[_0x44b656(0x14e)]['transformChangesets']([_0x1e3695],[this['_awaitingChangeset']],!0x1);if((0x0,_0x22113f[_0x44b656(0x2b9)])(_0x478f13)){let {c1Prime:_0x43bb2c,c2Prime:_0xc17749}=_0x478f13;this[_0x44b656(0x232)](_0x43bb2c[0x0]),_0xc17749[0x0]['baseRev']=this[_0x44b656(0x4c9)](),this['_clearScheduledTask']();let _0x7d53b0=this['_injector'][_0x44b656(0x251)](_0x10b0f3,this[_0x44b656(0x266)],this[_0x44b656(0x2f7)],_0xc17749[0x0],this[_0x44b656(0x1c4)]);return _0x7d53b0[_0x44b656(0x170)](),_0x7d53b0;}return this[_0x44b656(0x35e)](!0x1);}catch(_0x2288e8){return this[_0x44b656(0x3f1)][_0x44b656(0x1fa)](_0x2288e8),this[_0x44b656(0x35e)](!0x1);}}[_0x388c16(0x1c0)](_0x30f6da){const _0x27b54b=_0x388c16;this[_0x27b54b(0x399)]();let _0x573191=this[_0x27b54b(0x3c5)][_0x27b54b(0x4ee)](this[_0x27b54b(0x266)]);if(_0x30f6da[_0x27b54b(0x35d)]<_0x573191-0x1)return this;if(this['_checkMissing'](_0x30f6da))return this[_0x27b54b(0x31f)]['createInstance'](_0x25a93f,this[_0x27b54b(0x266)],this[_0x27b54b(0x2f7)],null,[],this[_0x27b54b(0x207)],[],this['_handler']);this[_0x27b54b(0x490)]();let _0x1272df=this[_0x27b54b(0x31f)][_0x27b54b(0x251)](_0x558869,this[_0x27b54b(0x266)],this[_0x27b54b(0x2f7)],this['_handler']);return _0x1272df['_updateLocalCache'](),_0x1272df;}['onRemoteRej'](_0x5c6eab){const _0xa46cf4=_0x388c16;return this['_onConflict'](!!(_0x5c6eab!=null&&_0x5c6eab[_0xa46cf4(0x21d)]));}[_0x388c16(0x4aa)](_0x63d9f2){const _0x18ecc6=_0x388c16;return this['_maxTotalRetryTimeout']>_0x5040ff?this[_0x18ecc6(0x1ca)]():(this[_0x18ecc6(0x3bb)]=_0x157d60(this['_resendTimeout'],{'timeout':this[_0x18ecc6(0x48f)],'reqId':_0x63d9f2[_0x18ecc6(0x1a9)]}),this['_sender']=this[_0x18ecc6(0x3bb)][_0x18ecc6(0x339)](({reqId:_0x458d6f,timeout:_0x508c01})=>{const _0x38ad69=_0x18ecc6;this[_0x38ad69(0x301)](_0x458d6f,_0x508c01);}),this);}[_0x388c16(0x1ca)](){const _0x57f8ce=_0x388c16;return this[_0x57f8ce(0x399)](),this['_injector'][_0x57f8ce(0x251)](_0x150e04,this[_0x57f8ce(0x266)],this['type'],this[_0x57f8ce(0x207)],[],this[_0x57f8ce(0x1c4)]);}[_0x388c16(0x30d)](){return this;}[_0x388c16(0x308)](){const _0x519539=_0x388c16;this[_0x519539(0x1c4)]['onSendChangeset'](this[_0x519539(0x207)]);}['_onConflict'](_0x1f3315){const _0xbf8bda=_0x388c16;return this['_clearScheduledTask'](),this[_0xbf8bda(0x31f)]['createInstance'](_0x57790d,this[_0xbf8bda(0x266)],this[_0xbf8bda(0x2f7)],this['_awaitingChangeset'],[],this[_0xbf8bda(0x1c4)],_0x1f3315);}[_0x388c16(0x301)](_0x286085,_0x3a865a){const _0x545c52=_0x388c16;var _0x59e245;_0x286085===((_0x59e245=this['_awaitingChangeset'])==null?void 0x0:_0x59e245['reqId'])&&(this['resend'](),this[_0x545c52(0x48f)]=_0x3a865a===0x0?0x3e8:Math['min'](_0x3a865a*0x2,_0x3b5c2c),this[_0x545c52(0x327)]+=this[_0x545c52(0x48f)]);}[_0x388c16(0x399)](){const _0x1de7e4=_0x388c16;var _0x5caa8a;(_0x5caa8a=this[_0x1de7e4(0x3b7)])==null||_0x5caa8a[_0x1de7e4(0x2d9)](),this[_0x1de7e4(0x48f)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x56a83c=_0x10b0f3=_0x3ecedb([_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x6,_0x4c9691['ICommandService']),_0x4923f4(0x7,_0x4c9691['ILogService']),_0x4923f4(0x8,_0x22113f['ITransformService']),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xa,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x56a83c);let _0x4bf776=_0x31eb15=class extends _0x182a0d{constructor(_0x2d037e,_0x44abbf,_0x1edc11,_0x49c054,_0x206e2e,_0x1c22d7,_0x31e1fe,_0x2dc5f7,_0x2f5aac,_0xc9487e,_0x3acd6a,_0x15309a,_0xf749a4){const _0x4e1cfd=_0x388c16;super(_0x2d037e,_0x44abbf,_0x1edc11,_0x49c054,_0x206e2e,_0x2f5aac,_0x15309a,_0x2dc5f7,_0xf749a4),this[_0x4e1cfd(0x31f)]=_0x31e1fe,this['_logService']=_0xc9487e,this[_0x4e1cfd(0x14e)]=_0x3acd6a,this['localCacheService']=_0xf749a4,_0x167995(this,_0x4e1cfd(0x282),_0x44ebbd[_0x4e1cfd(0x2f6)]),_0x167995(this,'_resendTimeout',0x0),_0x167995(this,_0x4e1cfd(0x327),0x0),_0x167995(this,_0x4e1cfd(0x3bb),void 0x0),_0x167995(this,_0x4e1cfd(0x3b7),void 0x0),_0x1c22d7&&(this[_0x4e1cfd(0x3bb)]=_0x1c22d7,this[_0x4e1cfd(0x3b7)]=this[_0x4e1cfd(0x3bb)][_0x4e1cfd(0x339)](({reqId:_0x42f3b9,timeout:_0x3c33d7})=>{const _0x2184f0=_0x4e1cfd;this[_0x2184f0(0x301)](_0x42f3b9,_0x3c33d7);}));}['appendMutation'](_0x410cb8){const _0x2af2d5=_0x388c16;return this[_0x2af2d5(0x291)][_0x2af2d5(0x221)](_0x410cb8),this;}[_0x388c16(0x293)](_0x9364d){const _0x35a321=_0x388c16;if(this[_0x35a321(0x4be)](_0x9364d))return this[_0x35a321(0x399)](),this[_0x35a321(0x31f)]['createInstance'](_0x25a93f,this[_0x35a321(0x266)],this[_0x35a321(0x2f7)],this['_awaitingChangeset'],this[_0x35a321(0x291)],null,[_0x9364d],this[_0x35a321(0x1c4)]);try{let _0x2210f9=this[_0x35a321(0x14e)][_0x35a321(0x179)]([_0x9364d],[this[_0x35a321(0x207)]],!0x1);if((0x0,_0x22113f[_0x35a321(0x2b9)])(_0x2210f9)){let {c1Prime:_0x11559d,c2Prime:_0x5b6c7c}=_0x2210f9,_0x59c258=this[_0x35a321(0x14e)][_0x35a321(0x409)](_0x11559d[0x0],this[_0x35a321(0x291)]);if((0x0,_0x22113f['isTransformMutationsWithChangesetSuccess'])(_0x59c258)){let {c1Prime:_0x5663a4,m2Prime:_0x4cbf72}=_0x59c258;return this[_0x35a321(0x232)](_0x5663a4),_0x5b6c7c[0x0][_0x35a321(0x15c)]=this[_0x35a321(0x4c9)](),this['_clearScheduledTask'](),this[_0x35a321(0x31f)][_0x35a321(0x251)](_0x31eb15,this[_0x35a321(0x266)],this[_0x35a321(0x2f7)],_0x5b6c7c[0x0],_0x4cbf72,this['_handler'],void 0x0);}throw _0x59c258['error'];}throw _0x2210f9['error'];}catch(_0x1140d4){return this[_0x35a321(0x3f1)][_0x35a321(0x1fa)](_0x1140d4),this[_0x35a321(0x35e)](!0x1);}}['onRemoteAck'](_0x33862f){const _0x6e4054=_0x388c16;if(this['_clearScheduledTask'](),this[_0x6e4054(0x4be)](_0x33862f))return this[_0x6e4054(0x31f)][_0x6e4054(0x251)](_0x25a93f,this['unitID'],this[_0x6e4054(0x2f7)],null,this[_0x6e4054(0x291)],this[_0x6e4054(0x207)],[],this['_handler']);this[_0x6e4054(0x490)]();let _0x3802b7=this[_0x6e4054(0x31f)][_0x6e4054(0x251)](_0xdaecc2,this[_0x6e4054(0x266)],this[_0x6e4054(0x2f7)],this[_0x6e4054(0x291)],this[_0x6e4054(0x1c4)]);return _0x3802b7[_0x6e4054(0x297)](),_0x3802b7[_0x6e4054(0x170)](),_0x3802b7;}[_0x388c16(0x39c)](_0x2ec5c6){const _0x26931a=_0x388c16;return this['_onConflict'](!!(_0x2ec5c6!=null&&_0x2ec5c6[_0x26931a(0x21d)]));}[_0x388c16(0x4aa)](_0x23557c){const _0x4e150b=_0x388c16;return this[_0x4e150b(0x327)]>_0x5040ff?this['toggleOffline']():(this[_0x4e150b(0x3bb)]=_0x157d60(this['_resendTimeout'],{'timeout':this[_0x4e150b(0x48f)],'reqId':_0x23557c[_0x4e150b(0x1a9)]}),this[_0x4e150b(0x3b7)]=this['_resendTimer'][_0x4e150b(0x339)](({reqId:_0x466800,timeout:_0x46eb7d})=>{const _0x32d225=_0x4e150b;this[_0x32d225(0x301)](_0x466800,_0x46eb7d);}),this);}[_0x388c16(0x1ca)](){const _0x52ee58=_0x388c16;return this['_clearScheduledTask'](),this[_0x52ee58(0x31f)][_0x52ee58(0x251)](_0x150e04,this[_0x52ee58(0x266)],this[_0x52ee58(0x2f7)],this[_0x52ee58(0x207)],this[_0x52ee58(0x291)],this['_handler']);}[_0x388c16(0x30d)](){return this;}[_0x388c16(0x308)](){const _0x4dd946=_0x388c16;this[_0x4dd946(0x1c4)]['onSendChangeset'](this[_0x4dd946(0x207)]);}['_onConflict'](_0xbfd490){const _0x13d6f7=_0x388c16;return this[_0x13d6f7(0x399)](),this[_0x13d6f7(0x31f)]['createInstance'](_0x57790d,this[_0x13d6f7(0x266)],this[_0x13d6f7(0x2f7)],null,this[_0x13d6f7(0x291)],this['_handler'],_0xbfd490);}[_0x388c16(0x301)](_0x5db4da,_0xcba226){const _0x2bc35a=_0x388c16;var _0x41e5eb;_0x5db4da===((_0x41e5eb=this[_0x2bc35a(0x207)])==null?void 0x0:_0x41e5eb[_0x2bc35a(0x1a9)])&&(this['resend'](),this[_0x2bc35a(0x48f)]=_0xcba226===0x0?0x3e8:Math['min'](_0xcba226*0x2,_0x3b5c2c),this[_0x2bc35a(0x327)]+=this['_resendTimeout']);}[_0x388c16(0x399)](){const _0x1257bc=_0x388c16;var _0x4f102f;(_0x4f102f=this['_sender'])==null||_0x4f102f[_0x1257bc(0x2d9)](),this[_0x1257bc(0x48f)]=0x0,this[_0x1257bc(0x327)]=0x0;}};_0x4bf776=_0x31eb15=_0x3ecedb([_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x22113f['ITransformService']),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xc,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x4bf776);let _0x57790d=class extends _0x182a0d{constructor(_0x482ce3,_0x83d7b3,_0x5e8efa,_0x39bfa7,_0x2ff27d,_0x239514=!0x1,_0x5c49e0,_0x178cad,_0x253a62,_0x1f224d,_0x2b552e,_0x228d0f,_0x1bd486){const _0xc11cf=_0x388c16;super(_0x482ce3,_0x83d7b3,_0x5e8efa,_0x39bfa7,_0x2ff27d,_0x178cad,_0x253a62,_0x1f224d,_0x1bd486),this[_0xc11cf(0x443)]=_0x239514,this[_0xc11cf(0x2d5)]=_0x5c49e0,this[_0xc11cf(0x351)]=_0x2b552e,this[_0xc11cf(0x1ec)]=_0x228d0f,this[_0xc11cf(0x43a)]=_0x1bd486,_0x167995(this,_0xc11cf(0x282),_0x44ebbd[_0xc11cf(0x319)]),this[_0xc11cf(0x446)](),this[_0xc11cf(0x37f)](),this[_0xc11cf(0x45a)]();}['appendMutation'](){return this;}[_0x388c16(0x293)](){return this;}[_0x388c16(0x1c0)](){return this;}['onRemoteRej'](){return this;}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){return this;}['toggleOnline'](){return this;}[_0x388c16(0x308)](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x388c16(0x37f)](){const _0x5eb4f8=_0x388c16;var _0x3037ea;(_0x3037ea=this[_0x5eb4f8(0x403)])==null||_0x3037ea[_0x5eb4f8(0x20e)](this[_0x5eb4f8(0x266)],this[_0x5eb4f8(0x2f7)],null,[]);}['_showConflictNotification'](){const _0x24e33d=_0x388c16;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x24e33d(0x14f)]({'id':_0x577fae[_0x24e33d(0x178)]}):this[_0x24e33d(0x1ec)]['emitEvent']({'id':_0x577fae[_0x24e33d(0x319)]});}[_0x388c16(0x45a)](){const _0x3c59cb=_0x388c16;this['_permissionService'][_0x3c59cb(0x180)](new _0x190d88[(_0x3c59cb(0x495))](this[_0x3c59cb(0x266)])['id'],!0x1);}};_0x57790d=_0x3ecedb([_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x228)])),_0x4923f4(0x7,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x8,_0x4c9691['IUndoRedoService']),_0x4923f4(0x9,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0xa,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0xb,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x57790d);let _0x150e04=class extends _0x182a0d{constructor(_0x3dfff0,_0x9476d4,_0x5e9134,_0x330608,_0x43c0ea,_0x432d50,_0x5acaa9,_0x37fead,_0x292cd7,_0x137f4b){const _0x3a42a1=_0x388c16;super(_0x3dfff0,_0x9476d4,_0x5e9134,_0x330608,_0x43c0ea,_0x37fead,_0x292cd7,_0x5acaa9,_0x137f4b),this['_injector']=_0x432d50,_0x167995(this,_0x3a42a1(0x282),_0x44ebbd[_0x3a42a1(0x2a5)]);}[_0x388c16(0x330)](_0x264fad){const _0x478c81=_0x388c16;return this[_0x478c81(0x291)][_0x478c81(0x221)](_0x264fad),this['_updateLocalCache'](),this;}[_0x388c16(0x293)](_0x537f24){const _0x4ad648=_0x388c16;throw Error(_0x4ad648(0x400));}[_0x388c16(0x1c0)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3e412b=_0x388c16;throw Error(_0x3e412b(0x277));}['onRemoteRetry'](){return this;}[_0x388c16(0x1ca)](){return this;}[_0x388c16(0x30d)](){const _0x1d2f0b=_0x388c16;let {_injector:_0x191c5e,_pendingMutations:_0x40cbac,_awaitingChangeset:_0x1c5788,unitID:_0x32fd80,_handler:_0x3e0b1c,type:_0x5c50a2}=this,_0x4d4ad6=_0x1b9146(_0x191c5e,_0x32fd80,_0x5c50a2,_0x1c5788,_0x40cbac,_0x3e0b1c);return _0x4d4ad6 instanceof _0xdaecc2?_0x4d4ad6['_schedule']():(_0x4d4ad6 instanceof _0x4bf776||_0x4d4ad6 instanceof _0x56a83c)&&_0x4d4ad6[_0x1d2f0b(0x308)](),_0x4d4ad6;}['resend'](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x150e04=_0x3ecedb([_0x4923f4(0x5,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x6,(0x0,_0x4c9691['Inject'])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,_0x4c9691['ICommandService']),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0x9,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x150e04);let _0x25a93f=class extends _0x182a0d{constructor(_0x2fd359,_0x4b82bc,_0x44d597,_0x65c089,_0x6b7afa,_0x36949f,_0x30f4ef,_0x206de1,_0x2f50be,_0x2caadc,_0x4e3c11,_0x1a7b8e,_0x1fa5a3,_0x16719d){const _0x2f8a9f=_0x388c16;super(_0x2fd359,_0x4b82bc,_0x44d597,_0x65c089,_0x30f4ef,_0x4e3c11,_0x1a7b8e,_0x2f50be,_0x16719d),this[_0x2f8a9f(0x162)]=_0x6b7afa,this[_0x2f8a9f(0x454)]=_0x36949f,this[_0x2f8a9f(0x31f)]=_0x206de1,this['_logService']=_0x2caadc,this[_0x2f8a9f(0x14e)]=_0x1fa5a3,this[_0x2f8a9f(0x43a)]=_0x16719d,_0x167995(this,_0x2f8a9f(0x282),_0x44ebbd[_0x2f8a9f(0x39a)]);}[_0x388c16(0x257)](_0x567a0a){const _0x426e27=_0x388c16;try{let _0x3fc420=[..._0x567a0a,...this[_0x426e27(0x454)]],_0x52a94e=[this[_0x426e27(0x207)]||this[_0x426e27(0x162)]][_0x426e27(0x33f)](_0x1ad190=>!!_0x1ad190),_0x1ce94b,_0x209b02;if(_0x52a94e[_0x426e27(0x1a3)]){let _0x562322=this[_0x426e27(0x14e)][_0x426e27(0x179)](_0x3fc420,_0x52a94e,!0x1);if(!(0x0,_0x22113f['isTransformChangesetsSuccess'])(_0x562322))throw _0x562322[_0x426e27(0x1fa)];_0x1ce94b=_0x562322[_0x426e27(0x1ed)],_0x209b02=_0x562322['c2Prime'];}else _0x1ce94b=_0x3fc420,_0x209b02=[];let _0x4fb263=this[_0x426e27(0x291)];_0x1ce94b[_0x426e27(0x1d5)](_0x4640e7=>{const _0x13c12f=_0x426e27;let _0x1d4048;if(_0x4fb263[_0x13c12f(0x1a3)]){let _0x2156fb=this[_0x13c12f(0x14e)]['transformMutationsWithChangeset'](_0x4640e7,_0x4fb263);if(!(0x0,_0x22113f[_0x13c12f(0x47a)])(_0x2156fb))throw _0x2156fb[_0x13c12f(0x1fa)];_0x1d4048=_0x2156fb[_0x13c12f(0x1ed)],_0x4fb263=_0x2156fb[_0x13c12f(0x172)];}else _0x1d4048=_0x4640e7;this['_executeRemoteChangeset'](_0x1d4048);}),this[_0x426e27(0x162)]&&this[_0x426e27(0x490)](),this[_0x426e27(0x207)]&&_0x209b02[_0x426e27(0x1a3)]&&(_0x209b02[0x0]['baseRev']=this[_0x426e27(0x4c9)]());let _0x284771;if(this[_0x426e27(0x207)]&&_0x4fb263[_0x426e27(0x1a3)]!==0x0)_0x284771=this[_0x426e27(0x31f)]['createInstance'](_0x4bf776,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],_0x209b02[0x0],_0x4fb263,this[_0x426e27(0x1c4)],void 0x0);else{if(this[_0x426e27(0x207)]&&_0x4fb263[_0x426e27(0x1a3)]===0x0)_0x209b02[0x0]['baseRev']=this[_0x426e27(0x4c9)](),_0x284771=this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x56a83c,this['unitID'],this[_0x426e27(0x2f7)],_0x209b02[0x0],this[_0x426e27(0x1c4)]);else{if(_0x4fb263['length']!==0x0){let _0x3723e2=this['_injector'][_0x426e27(0x251)](_0xdaecc2,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],_0x4fb263,this[_0x426e27(0x1c4)]);_0x3723e2[_0x426e27(0x297)](),_0x284771=_0x3723e2;}else _0x284771=this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x558869,this[_0x426e27(0x266)],this['type'],this['_handler']);}}return _0x284771[_0x426e27(0x170)](),_0x284771;}catch(_0x1ffe4e){return this[_0x426e27(0x3f1)]['error'](_0x426e27(0x36a),_0x426e27(0x22c),_0x1ffe4e),this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x57790d,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],this['_awaitingChangeset'],this[_0x426e27(0x291)],this['_handler'],!0x1);}}[_0x388c16(0x308)](){const _0x41dc5d=_0x388c16;throw Error(_0x41dc5d(0x1ae));}[_0x388c16(0x330)](_0x5999c4){const _0x329ec1=_0x388c16;return this[_0x329ec1(0x291)]['push'](_0x5999c4),this;}[_0x388c16(0x293)](_0x540f9d){const _0x3335a0=_0x388c16;return this['_queuedRemoteChangesets'][_0x3335a0(0x221)](_0x540f9d),this;}[_0x388c16(0x1c0)](_0x18b304){const _0x38cbb5=_0x388c16;if(this[_0x38cbb5(0x207)])return this[_0x38cbb5(0x162)]=this[_0x38cbb5(0x207)],this[_0x38cbb5(0x207)]=null,this;throw Error(_0x38cbb5(0x153));}[_0x388c16(0x39c)](_0x32fdb3){const _0x53ede2=_0x388c16;return this['_onConflict'](!!(_0x32fdb3!=null&&_0x32fdb3[_0x53ede2(0x21d)]));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0xf8dc2a=_0x388c16;return this[_0xf8dc2a(0x31f)]['createInstance'](_0x150e04,this[_0xf8dc2a(0x266)],this[_0xf8dc2a(0x2f7)],this[_0xf8dc2a(0x207)],this['_pendingMutations'],this[_0xf8dc2a(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x35e)](_0x43ba2d){const _0x33e5a=_0x388c16;return this['_injector'][_0x33e5a(0x251)](_0x57790d,this[_0x33e5a(0x266)],this[_0x33e5a(0x2f7)],this[_0x33e5a(0x207)],this[_0x33e5a(0x291)],this[_0x33e5a(0x1c4)],_0x43ba2d);}};_0x25a93f=_0x3ecedb([_0x4923f4(0x7,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x8,(0x0,_0x4c9691['Inject'])(_0x22113f['RevisionService'])),_0x4923f4(0x9,_0x4c9691['ILogService']),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xc,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x25a93f);function _0x1b9146(_0x530140,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x16de27,_0x371478){const _0x4f398a=_0x388c16;return _0x5f5dd1&&_0x16de27[_0x4f398a(0x1a3)]?_0x530140[_0x4f398a(0x251)](_0x4bf776,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x16de27,_0x371478,void 0x0):_0x5f5dd1?_0x530140[_0x4f398a(0x251)](_0x56a83c,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x371478):_0x16de27[_0x4f398a(0x1a3)]?_0x530140['createInstance'](_0xdaecc2,_0x5ea494,_0x2ecf90,_0x16de27,_0x371478):_0x530140[_0x4f398a(0x251)](_0x558869,_0x5ea494,_0x2ecf90,_0x371478);}let _0x44af68=class extends _0x4c9691[_0x388c16(0x433)]{get[_0x388c16(0x242)](){const _0x8d943d=_0x388c16;return this[_0x8d943d(0x393)];}constructor(_0x556a48,_0x2e188b,_0x2e642e,_0x241d38,_0x21903d,_0x281495,_0x524952,_0x4cd299,_0x2e4c7f,_0xe9861e,_0x40eccc,_0x50cac9,_0xac7189,_0x5b5276){const _0x98a333=_0x388c16;super(),this[_0x98a333(0x266)]=_0x556a48,this[_0x98a333(0x217)]=_0x2e188b,this[_0x98a333(0x2de)]=_0x2e642e,this[_0x98a333(0x31f)]=_0x241d38,this['_compressMutationService']=_0x21903d,this[_0x98a333(0x351)]=_0x281495,this[_0x98a333(0x3c5)]=_0x524952,this[_0x98a333(0x1f3)]=_0x4cd299,this[_0x98a333(0x371)]=_0x2e4c7f,this['_logService']=_0xe9861e,this[_0x98a333(0x2bd)]=_0x40eccc,this[_0x98a333(0x2d5)]=_0x50cac9,this['_singleActiveUnitService']=_0xac7189,this[_0x98a333(0x403)]=_0x5b5276,_0x167995(this,_0x98a333(0x368),new _0x1d90a6[(_0x98a333(0x26f))](null)),_0x167995(this,_0x98a333(0x2a8),this[_0x98a333(0x368)]['asObservable']()),_0x167995(this,_0x98a333(0x393),void 0x0),_0x167995(this,_0x98a333(0x3b9),!0x1),_0x167995(this,_0x98a333(0x355),''),_0x167995(this,_0x98a333(0x420),0x0),_0x167995(this,_0x98a333(0x18e),this[_0x98a333(0x2a8)][_0x98a333(0x3f8)]((0x0,_0x1d90a6[_0x98a333(0x1da)])(_0x965f39=>_0x965f39?_0x965f39[_0x98a333(0x282)]:_0x44ebbd[_0x98a333(0x2a5)]),(0x0,_0x1d90a6['shareReplay'])(0x1))),_0x167995(this,'_transitionLocked',!0x1),_0x167995(this,'_remoteChangesetQueue',[]);}async['init'](){const _0x27c617=_0x388c16;if(this[_0x27c617(0x242)])throw Error(_0x27c617(0x2a0));await this[_0x27c617(0x15d)]();}[_0x388c16(0x1a0)](){return this['_collaborationPaused']=!0x0,(0x0,_0x4c9691['toDisposable'])(()=>{const _0x4f9413=_0x2f25;this[_0x4f9413(0x3b9)]=!0x1,this[_0x4f9413(0x4ec)]();});}[_0x388c16(0x4dc)](_0x58f277){const _0x37f7f4=_0x388c16;this[_0x37f7f4(0x19c)](_0x58f277);}[_0x388c16(0x1d6)](_0x491482){this['_state']=_0x491482,this['_state$']['next'](_0x491482);}async[_0x388c16(0x15d)](){const _0x2d7a96=_0x388c16;if(this[_0x2d7a96(0x1d6)](await this[_0x2d7a96(0x4d1)]()),this[_0x2d7a96(0x37b)]){var _0x3543c0;(_0x3543c0=this[_0x2d7a96(0x37b)])==null||_0x3543c0[_0x2d7a96(0x194)](this[_0x2d7a96(0x266)]),this[_0x2d7a96(0x435)](this[_0x2d7a96(0x37b)][_0x2d7a96(0x26b)](this[_0x2d7a96(0x266)])['subscribe'](_0x1596a7=>{const _0xad36b9=_0x2d7a96;this[_0xad36b9(0x3f1)][_0xad36b9(0x24e)](_0xad36b9(0x4c8),_0xad36b9(0x362),_0x1596a7),_0x1596a7===_0x129273[_0xad36b9(0x4a2)]?(this[_0xad36b9(0x1f3)][_0xad36b9(0x14f)]({'id':_0x577fae[_0xad36b9(0x4c4)]}),this[_0xad36b9(0x2d5)]['updatePermissionPoint'](new _0x190d88[(_0xad36b9(0x495))](this[_0xad36b9(0x266)])['id'],!0x1),this['_permissionService'][_0xad36b9(0x375)](!0x1)):(this[_0xad36b9(0x2d5)][_0xad36b9(0x180)](new _0x190d88[(_0xad36b9(0x495))](this[_0xad36b9(0x266)])['id'],!0x0),this[_0xad36b9(0x2d5)][_0xad36b9(0x375)](!0x0));}));}let _0x242d1f=!0x1;return this[_0x2d7a96(0x435)](this[_0x2d7a96(0x217)]['sessionStatus$']['subscribe'](_0x2c4d26=>{const _0x37b0ed=_0x2d7a96;_0x2c4d26===_0x16446d[_0x37b0ed(0x1a5)]?this[_0x37b0ed(0x2c9)](_0x242d1f):_0x2c4d26===_0x16446d[_0x37b0ed(0x2a5)]&&(_0x242d1f=!0x0,this['_toggleOffline']());})),this[_0x2d7a96(0x435)](this[_0x2d7a96(0x217)][_0x2d7a96(0x458)][_0x2d7a96(0x339)](_0x331894=>{const _0x3c517d=_0x2d7a96;try{switch(_0x331894[_0x3c517d(0x1d3)]){case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x261)]:this[_0x3c517d(0x33d)]((0x0,_0x22113f[_0x3c517d(0x17f)])(_0x331894[_0x3c517d(0x1d1)]));break;case _0x22113f[_0x3c517d(0x3f5)]['CHANGESET_ACK']:this[_0x3c517d(0x499)](_0x331894['data']);break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x3a3)]:this['_onRemoteRejected']();break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x35b)]:this['_onRemoteRetry'](_0x331894[_0x3c517d(0x1d1)]);break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x2e5)]:this['_onFetchMissResult'](_0x331894['data'][_0x3c517d(0x1e4)][_0x3c517d(0x1da)](_0x5f0c06=>(0x0,_0x22113f[_0x3c517d(0x17f)])(_0x5f0c06)));break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x4c0)]:this[_0x3c517d(0x267)]({'isPermissionRej':!0x0});break;case _0x22113f['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x41969f){throw console['error']('Error\x20on\x20receiving\x20event',_0x41969f),_0x41969f;}})),this[_0x2d7a96(0x393)];}[_0x388c16(0x340)](){const _0x2af25f=_0x388c16;this[_0x2af25f(0x3f6)]=!0x1;}[_0x388c16(0x3b6)](){const _0x4c2672=_0x388c16;if(this[_0x4c2672(0x3f6)])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x4c2672(0x3f6)]=!0x0;}[_0x388c16(0x19c)](_0xb97f64){const _0x49c4c8=_0x388c16;this[_0x49c4c8(0x3b6)](),this[_0x49c4c8(0x1d6)](this[_0x49c4c8(0x393)][_0x49c4c8(0x330)](_0xb97f64)),this[_0x49c4c8(0x340)]();}['_onRemoteChangeset'](_0x32bc0b){const _0x19e098=_0x388c16;if(!(_0x32bc0b[_0x19e098(0x35d)]<=this['_revisionService'][_0x19e098(0x4ee)](this[_0x19e098(0x266)]))){if(this['_collaborationPaused']){this[_0x19e098(0x3b3)][_0x19e098(0x221)](_0x32bc0b);return;}this['_applyRemoteChangeset'](_0x32bc0b);}}[_0x388c16(0x4ec)](){const _0x4381b6=_0x388c16;this['_remoteChangesetQueue'][_0x4381b6(0x1d5)](_0x5f4b89=>this[_0x4381b6(0x42a)](_0x5f4b89)),this[_0x4381b6(0x3b3)]=[];}[_0x388c16(0x42a)](_0x175dc){const _0x3547dc=_0x388c16;let _0x204104=this['_compressMutationService'][_0x3547dc(0x359)][_0x3547dc(0x185)](this[_0x3547dc(0x3a8)]['interceptor'][_0x3547dc(0x4b4)]()[_0x3547dc(0x40f)])(_0x175dc[_0x3547dc(0x27b)],null)||_0x175dc[_0x3547dc(0x27b)],_0x4f438c={..._0x175dc,'mutations':_0x204104};this[_0x3547dc(0x3b6)](),this[_0x3547dc(0x1d6)](this[_0x3547dc(0x393)][_0x3547dc(0x293)](_0x4f438c)),this['_unlockTransition']();}['_onRemoteACK'](_0x564b23){const _0x4f1293=_0x388c16;this[_0x4f1293(0x3b6)](),this[_0x4f1293(0x1d6)](this[_0x4f1293(0x393)][_0x4f1293(0x1c0)](_0x564b23)),this[_0x4f1293(0x340)]();}[_0x388c16(0x267)](_0x5eacbf){const _0x3a5030=_0x388c16;this['_lockTransition'](),this['_updateState'](this[_0x3a5030(0x393)]['onRemoteRej'](_0x5eacbf)),this['_unlockTransition']();}[_0x388c16(0x270)](_0x3daec7){const _0x5a9178=_0x388c16;this[_0x5a9178(0x3b6)](),this[_0x5a9178(0x1d6)](this['_state'][_0x5a9178(0x4aa)](_0x3daec7)),this[_0x5a9178(0x340)]();}[_0x388c16(0x3d2)](_0x326314){const _0x40c338=_0x388c16;if(!(this[_0x40c338(0x393)]instanceof _0x25a93f))throw TypeError(_0x40c338(0x1a2));let _0x49e526=_0x326314[_0x40c338(0x1da)](_0x596301=>{const _0x12454f=_0x40c338;let _0xa52f18=this['_compressMutationService'][_0x12454f(0x359)]['fetchThroughInterceptors'](this[_0x12454f(0x3a8)][_0x12454f(0x359)][_0x12454f(0x4b4)]()[_0x12454f(0x40f)])(_0x596301[_0x12454f(0x27b)],null)||_0x596301['mutations'];return{..._0x596301,'mutations':_0xa52f18};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x40c338(0x257)](_0x49e526)),this[_0x40c338(0x340)]();}[_0x388c16(0x488)](){const _0x204f78=_0x388c16;this['_lockTransition'](),this['_updateState'](this[_0x204f78(0x393)][_0x204f78(0x1ca)]()),this['_unlockTransition']();}[_0x388c16(0x2c9)](_0x447330=!0x1){const _0x51a601=_0x388c16;this[_0x51a601(0x3b6)](),this[_0x51a601(0x1d6)](this['_state']['toggleOnline']()),this['_unlockTransition']();let _0x3f652b=this[_0x51a601(0x393)];_0x447330&&_0x3f652b instanceof _0x558869&&(this[_0x51a601(0x3b6)](),this[_0x51a601(0x1d6)](_0x3f652b[_0x51a601(0x1b7)]()),this[_0x51a601(0x340)]());}async[_0x388c16(0x4d1)](){return new Promise(_0x4d0b7e=>{const _0x1cf402=_0x2f25;this[_0x1cf402(0x217)]['sessionStatus$']['pipe']((0x0,_0x1d90a6[_0x1cf402(0x468)])(0x1))['subscribe'](async _0x2f376a=>{const _0xbcad82=_0x1cf402;_0x4d0b7e(await this[_0xbcad82(0x3f3)](_0x2f376a===_0x16446d[_0xbcad82(0x1a5)]));});});}['_createHandler'](){let _0x5a75e6=this['unitID'];return{'onStateChange':(_0x326f1c,_0x24a60a)=>{const _0x3d75be=_0x2f25;if(_0x326f1c!==this[_0x3d75be(0x393)])throw Error(_0x3d75be(0x4c3)+_0x326f1c[_0x3d75be(0x282)]+_0x3d75be(0x3cc)+_0x24a60a['status']+_0x3d75be(0x1ba)+this['_state'][_0x3d75be(0x282)]);this[_0x3d75be(0x1d6)](_0x24a60a);},'onSendChangeset':_0x45cb88=>{const _0x6e9bc2=_0x2f25;_0x45cb88[_0x6e9bc2(0x1a4)]||(_0x45cb88[_0x6e9bc2(0x1a4)]=this[_0x6e9bc2(0x355)],_0x45cb88['reqId']=++this[_0x6e9bc2(0x420)]);let _0xf9f50f={'eventID':_0x22113f[_0x6e9bc2(0x3f5)][_0x6e9bc2(0x4a3)],'data':{'unitID':_0x45cb88[_0x6e9bc2(0x266)],'unitType':this['_type'],'changeset':_0x45cb88,'memberID':this[_0x6e9bc2(0x217)][_0x6e9bc2(0x3db)]()}};this[_0x6e9bc2(0x217)][_0x6e9bc2(0x302)](_0xf9f50f,this['unitID']);},'onMissingChangesets':({from:_0x2dd945,to:_0x40adb0})=>{const _0x563d4c=_0x2f25;this['_logService'][_0x563d4c(0x24e)](_0x563d4c(0x4c8),_0x563d4c(0x4d7)+_0x2dd945+_0x563d4c(0x32c)+_0x40adb0);let _0x434578={'eventID':_0x22113f[_0x563d4c(0x3f5)]['FETCH_MISSING'],'data':{'unitID':_0x5a75e6,'unitType':this[_0x563d4c(0x2de)],'from':_0x2dd945,'to':_0x40adb0}};this[_0x563d4c(0x217)]['send'](_0x434578,this[_0x563d4c(0x266)]);}};}async[_0x388c16(0x3f3)](_0x44e22b){const _0x4763df=_0x388c16;var _0x2a170c,_0x1f3e57,_0x1c2b9a;let _0x1d8fe2=await((_0x2a170c=this[_0x4763df(0x403)])==null?void 0x0:_0x2a170c[_0x4763df(0x348)](this['unitID'])),_0x4e2a44=(_0x1f3e57=_0x1d8fe2==null?void 0x0:_0x1d8fe2['mutations'])==null?[]:_0x1f3e57,_0x1251c8=(_0x1c2b9a=_0x1d8fe2==null?void 0x0:_0x1d8fe2[_0x4763df(0x43b)])==null?null:_0x1c2b9a,_0x4f5189=!!(_0x1251c8!=null&&_0x1251c8['sid'])&&!!(_0x1251c8!=null&&_0x1251c8[_0x4763df(0x1a9)]);this[_0x4763df(0x355)]=_0x4f5189?_0x1251c8[_0x4763df(0x1a4)]:(0x0,_0x22113f[_0x4763df(0x2cc)])(),this[_0x4763df(0x420)]=_0x4f5189?_0x1251c8[_0x4763df(0x1a9)]:0x0;let _0x4c2242=this[_0x4763df(0x266)];try{this[_0x4763df(0x1af)](_0x1251c8,_0x4e2a44);}catch(_0x5bb26b){this['_logService'][_0x4763df(0x1fa)](_0x5bb26b);}let _0x27e04c=this[_0x4763df(0x1d7)]();if(_0x44e22b){let _0x17e022=_0x1b9146(this[_0x4763df(0x31f)],_0x4c2242,this['_type'],_0x1251c8,_0x4e2a44,_0x27e04c);return _0x17e022 instanceof _0xdaecc2?_0x17e022['_schedule']():(_0x17e022 instanceof _0x4bf776||_0x17e022 instanceof _0x56a83c)&&_0x17e022['resend'](),_0x17e022;}return this['_injector'][_0x4763df(0x251)](_0x150e04,_0x4c2242,this[_0x4763df(0x2de)],_0x1251c8,_0x4e2a44,_0x27e04c);}['_replayCachedMutations'](_0x116533,_0x3c28e9){const _0xc8a35e=_0x388c16;var _0x525755,_0x8a3d7b;let _0x28470b=this['_compressMutationService'][_0xc8a35e(0x359)][_0xc8a35e(0x185)](this[_0xc8a35e(0x3a8)]['interceptor']['getInterceptPoints']()[_0xc8a35e(0x40f)]);(_0x525755=_0x28470b((_0x116533==null?void 0x0:_0x116533[_0xc8a35e(0x27b)])||[],null))==null||_0x525755[_0xc8a35e(0x1d5)](_0xcf8bcf=>this[_0xc8a35e(0x2bd)][_0xc8a35e(0x4ef)](_0xcf8bcf['id'],_0xcf8bcf['params'])),(_0x8a3d7b=_0x28470b(_0x3c28e9||[],null))==null||_0x8a3d7b[_0xc8a35e(0x1d5)](_0x59bef7=>this[_0xc8a35e(0x2bd)][_0xc8a35e(0x4ef)](_0x59bef7['id'],_0x59bef7[_0xc8a35e(0x1bb)]));}};_0x44af68=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691['Inject'])(_0x4c9691['Injector'])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x20f)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x4c9691['ICommandService']),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xfce292)),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x44af68);let _0x1782f4=class extends _0x44af68{constructor(_0x14eb2d,_0x4b6273,_0x130817,_0x5c577a,_0x106306,_0x337549,_0x4ac038,_0x1b789f,_0x1f7f00,_0x1372c6,_0xc60491,_0x4bd97b,_0x15bef4,_0x519117){const _0x2dd3ee=_0x388c16;super(_0x14eb2d,_0x130817,_0x4b6273,_0x5c577a,_0x106306,_0x337549,_0x4ac038,_0x1b789f,_0x1f7f00,_0x1372c6,_0xc60491,_0x4bd97b,_0x15bef4,_0x519117),this[_0x2dd3ee(0x266)]=_0x14eb2d,this['type']=_0x4b6273,_0x167995(this,_0x2dd3ee(0x36b),null);}[_0x388c16(0x3cd)](_0x160d1b){const _0x45c8c9=_0x388c16;this[_0x45c8c9(0x36b)]=_0x160d1b;}[_0x388c16(0x16e)](){const _0x5628f2=_0x388c16;this[_0x5628f2(0x36b)]=null,super['dispose']();}[_0x388c16(0x1d7)](){const _0xdeb764=_0x388c16;let _0x16e509=super[_0xdeb764(0x1d7)]();return _0x16e509[_0xdeb764(0x4f4)]=_0x2d6a19=>{const _0x4299f7=_0xdeb764;var _0xf2289e,_0x4fa273;return(_0xf2289e=this[_0x4299f7(0x36b)])==null||(_0x4fa273=_0xf2289e[_0x4299f7(0x4f4)])==null?void 0x0:_0x4fa273[_0x4299f7(0x48c)](_0xf2289e,_0x2d6a19);},_0x16e509[_0xdeb764(0x24f)]=_0x44c3a0=>{const _0x6582a=_0xdeb764;var _0x288f87,_0x8ae8cf;return(_0x288f87=this[_0x6582a(0x36b)])==null||(_0x8ae8cf=_0x288f87[_0x6582a(0x24f)])==null?void 0x0:_0x8ae8cf['call'](_0x288f87,_0x44c3a0);},_0x16e509[_0xdeb764(0x388)]=_0x3234fc=>{const _0x426e26=_0xdeb764;var _0x59033b,_0x335c6a;return(_0x59033b=this[_0x426e26(0x36b)])==null||(_0x335c6a=_0x59033b[_0x426e26(0x388)])==null?void 0x0:_0x335c6a['call'](_0x59033b,_0x3234fc);},_0x16e509['onSyncEditingCollabCursor']=_0x16bea6=>{const _0x34ef1f=_0xdeb764;var _0x26d473,_0x9a9b28;return(_0x26d473=this['_handlerCallback'])==null||(_0x9a9b28=_0x26d473[_0x34ef1f(0x3c4)])==null?void 0x0:_0x9a9b28[_0x34ef1f(0x48c)](_0x26d473,_0x16bea6);},_0x16e509['onTransformRemoteChangesetByIMECache']=_0x9e5552=>{const _0x6a7fe7=_0xdeb764;var _0x3f95b8,_0x1f198e,_0x52dacf;if(!((_0x3f95b8=this[_0x6a7fe7(0x36b)])!=null&&_0x3f95b8[_0x6a7fe7(0x219)]))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f198e=this[_0x6a7fe7(0x36b)])==null||(_0x52dacf=_0x1f198e[_0x6a7fe7(0x219)])==null?void 0x0:_0x52dacf[_0x6a7fe7(0x48c)](_0x1f198e,_0x9e5552);},_0x16e509['onTransformRemoteChangesetByStateCache']=_0x2365b7=>{const _0x576941=_0xdeb764;var _0x42e0ea,_0x21725e,_0x3dbab6;if(!((_0x42e0ea=this['_handlerCallback'])!=null&&_0x42e0ea[_0x576941(0x43c)]))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x21725e=this[_0x576941(0x36b)])==null||(_0x3dbab6=_0x21725e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3dbab6[_0x576941(0x48c)](_0x21725e,_0x2365b7);},_0x16e509;}async[_0x388c16(0x15d)](){const _0x2e1267=_0x388c16;let _0xaa4455=await super[_0x2e1267(0x15d)]();return this[_0x2e1267(0x435)](this[_0x2e1267(0x2bd)]['onMutationExecutedForCollab']((_0x5f558e,_0x2261b9)=>{const _0x5da4e2=_0x2e1267;if(_0x5f558e['type']!==_0x4c9691[_0x5da4e2(0x3b1)]['MUTATION']||_0x2261b9!=null&&_0x2261b9[_0x5da4e2(0x2cb)]||_0x2261b9!=null&&_0x2261b9[_0x5da4e2(0x289)]||_0x5f558e['id']===_0x30758f['RichTextEditingMutation']['id'])return;let _0x5ca18e=_0x5f558e[_0x5da4e2(0x1bb)];if((_0x5ca18e==null?void 0x0:_0x5ca18e[_0x5da4e2(0x1bc)])!==this[_0x5da4e2(0x266)])return;let _0x432c0e=_0x5f558e,_0x17e854=this[_0x5da4e2(0x3a8)]['interceptor'][_0x5da4e2(0x185)](this[_0x5da4e2(0x3a8)][_0x5da4e2(0x359)]['getInterceptPoints']()[_0x5da4e2(0x3d3)])([_0x432c0e],this[_0x5da4e2(0x371)])||[_0x432c0e];this['_onLocalMutation'](_0x17e854[0x0]);})),_0xaa4455;}};_0x1782f4=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['CompressMutationService'])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xfce292)),_0x4923f4(0xd,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x1782f4);let _0x1a46eb=class extends _0x44af68{constructor(_0x58e5ce,_0x33e9bb,_0xfaccc8,_0x2c6dea,_0x245e96,_0x31563f,_0x377b3f,_0x1ce9ae,_0x2974e7,_0x79a60f,_0x353b7c,_0x33d100,_0x26ad2c,_0x94298d,_0x582607){const _0x3fc660=_0x388c16;super(_0x58e5ce,_0xfaccc8,_0x33e9bb,_0x2c6dea,_0x245e96,_0x31563f,_0x377b3f,_0x2974e7,_0x79a60f,_0x353b7c,_0x33d100,_0x26ad2c,_0x94298d,_0x582607),this['unitID']=_0x58e5ce,this['type']=_0x33e9bb,this[_0x3fc660(0x2aa)]=_0x1ce9ae;}['_createHandler'](){const _0x387c70=_0x388c16;let _0x36e964=super[_0x387c70(0x1d7)]();return _0x36e964['onTransformSelections']=_0x4e6f4d=>this[_0x387c70(0x2aa)][_0x387c70(0x1db)](_0x4e6f4d),_0x36e964;}async[_0x388c16(0x15d)](){const _0x548bc9=_0x388c16;let _0x1cf35f=await super[_0x548bc9(0x15d)]();return this['disposeWithMe'](this['_commandService'][_0x548bc9(0x1e3)]((_0x491a1f,_0x5e212c)=>{const _0x41821f=_0x548bc9;if(_0x491a1f[_0x41821f(0x2f7)]!==_0x4c9691[_0x41821f(0x3b1)][_0x41821f(0x2c1)]||_0x5e212c!=null&&_0x5e212c[_0x41821f(0x2cb)]||_0x5e212c!=null&&_0x5e212c[_0x41821f(0x289)])return;let _0x4df62a=_0x491a1f[_0x41821f(0x1bb)];if((_0x4df62a==null?void 0x0:_0x4df62a[_0x41821f(0x1bc)])!==this[_0x41821f(0x266)])return;let _0x3cdefb=_0x491a1f,_0xf28cfb=this[_0x41821f(0x3a8)][_0x41821f(0x359)]['fetchThroughInterceptors'](this[_0x41821f(0x3a8)][_0x41821f(0x359)][_0x41821f(0x4b4)]()[_0x41821f(0x3d3)])([_0x3cdefb],this[_0x41821f(0x371)])||[_0x3cdefb];this['_onLocalMutation'](_0xf28cfb[0x0]);})),_0x1cf35f;}};_0x1a46eb=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['CompressMutationService'])),_0x4923f4(0x5,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4d2785)),_0x4923f4(0x8,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x9,_0x4c9691['IUniverInstanceService']),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xc,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xd,(0x0,_0x4c9691['Optional'])(_0xfce292)),_0x4923f4(0xe,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x1a46eb);let _0x38a135=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x38e));function _0x1efbe8(_0x4855f9){const _0x1fd2f0=_0x388c16;let _0x42f8f2=_0x4855f9[_0x1fd2f0(0x1d1)],_0x44775c=JSON['parse'](_0x42f8f2);switch(_0x44775c[_0x1fd2f0(0x239)]){case _0x4e3953[_0x1fd2f0(0x333)]:case _0x4e3953['HELLO']:{let _0x38d53c=_0x44775c[_0x1fd2f0(0x1e8)];return{..._0x44775c,'data':_0x38d53c,'cmd':_0x44775c[_0x1fd2f0(0x239)]};}case _0x4e3953[_0x1fd2f0(0x3dd)]:{let _0x53dbd8=_0x44775c[_0x1fd2f0(0x264)];return{..._0x44775c,'data':_0x53dbd8,'cmd':_0x44775c[_0x1fd2f0(0x239)]};}case _0x4e3953[_0x1fd2f0(0x16f)]:{let _0x49e354=_0x44775c['collaMsg'];switch(_0x49e354['eventID']){case _0x22113f['CollaborationEvent'][_0x1fd2f0(0x4c0)]:var _0x56b593;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x56b593=_0x49e354['permissionRejEvent'])==null?void 0x0:_0x56b593['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f['CollaborationEvent']['CHANGESET_ACK']:var _0xc2d1d7;return{..._0x44775c,'data':{..._0x49e354,'data':(_0xc2d1d7=_0x49e354[_0x1fd2f0(0x175)])==null?void 0x0:_0xc2d1d7['cs']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x261)]:var _0x52e6c8;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x52e6c8=_0x49e354[_0x1fd2f0(0x1cb)])==null?void 0x0:_0x52e6c8['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x3a3)]:var _0x5be21d;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x5be21d=_0x49e354['csRejEvent'])==null?void 0x0:_0x5be21d['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x35b)]:var _0xd0296b;return{..._0x44775c,'data':{..._0x49e354,'data':(_0xd0296b=_0x49e354[_0x1fd2f0(0x45f)])==null?void 0x0:_0xd0296b['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x275)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['updateCursorEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x4f1)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['joinEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x1b6)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x1a6)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['LIVESHARE_NEW_HOST']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x337)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f['CollaborationEvent'][_0x1fd2f0(0x404)]:case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x229)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x422)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['LIVESHARE_TERMINATE']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['liveShareNewHost']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)]['MSG_FOR_ERROR']:return{..._0x44775c,'data':_0x49e354,'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x21e)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['commentUpdateEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['UPDATE_PERMISSION_OBJ']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['updatePermissionObjEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['SHOULD_CLOSE_CONN']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['shouldCloseConn']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x29a)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['uniscriptRunEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};default:return _0x44775c;}}default:return _0x44775c;}}function _0x51f47f(_0x26058a){const _0x56a036=_0x388c16;switch(_0x26058a[_0x56a036(0x239)]){case _0x4e3953[_0x56a036(0x333)]:case _0x4e3953[_0x56a036(0x3a2)]:return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a['routeKey']});case _0x4e3953[_0x56a036(0x4b9)]:{let _0x4b3d7d;switch(_0x26058a['data'][_0x56a036(0x1d3)]){case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x275)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)]['UPDATE_CURSOR'],'updateCursorEvent':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1b6)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1b6)],'leaveEvent':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)]['USERS_ENTER']:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x4f1)],'joinEvent':_0x26058a[_0x56a036(0x1d1)]['data']};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1cd)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent'][_0x56a036(0x1cd)],'liveShareNewHost':_0x26058a['data'][_0x56a036(0x1d1)]};break;case _0x22113f['CollaborationEvent'][_0x56a036(0x229)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x229)],'liveShareOperation':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)]['LIVESHARE_TERMINATE']:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x4e2)],'liveShareTerminate':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x37c)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x404)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent'][_0x56a036(0x404)]};break;default:_0x4b3d7d={'eventID':_0x26058a[_0x56a036(0x1d1)]['eventID']};}return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a[_0x56a036(0x25b)],'collaMsg':_0x4b3d7d});}case _0x4e3953[_0x56a036(0x3dd)]:return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a['routeKey'],'joinReq':_0x26058a[_0x56a036(0x1d1)]});case _0x4e3953['LEAVE']:return JSON['stringify']({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a[_0x56a036(0x25b)],'leaveReq':_0x26058a['data']});default:throw Error(_0x56a036(0x2d7));}}let _0x542253=(0x0,_0x4c9691[_0x388c16(0x4ad)])(_0x388c16(0x25c));function _0x571d5c(_0x221be3,_0x138776,_0x4d377b){const _0x3a5597=_0x388c16;return _0x221be3+'/'+_0x138776+'/unit/'+_0x4d377b+_0x3a5597(0x396);}let _0x3f3356=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x1b7082,_0x10e947,_0x220e3c,_0x2386ab,_0x311fcc){const _0x45461c=_0x388c16;super(),this[_0x45461c(0x31f)]=_0x1b7082,this['_httpService']=_0x10e947,this[_0x45461c(0x28a)]=_0x220e3c,this[_0x45461c(0x3f1)]=_0x2386ab,this[_0x45461c(0x478)]=_0x311fcc;}[_0x388c16(0x16b)](_0x488322){const _0x457577=_0x388c16;let _0x2d5807=this[_0x457577(0x31f)][_0x457577(0x1c6)](_0x750beb['ISocketService']);if(!_0x2d5807)throw Error(_0x457577(0x193));let _0x3e4651=_0x2d5807['createSocket'](_0x488322);if(!_0x3e4651)throw Error(_0x457577(0x2c5));let _0x3e9c15=new _0x4c9691[(_0x457577(0x356))](),_0x504641=new _0x1d90a6[(_0x457577(0x310))]();_0x3e9c15[_0x457577(0x156)](_0x3e4651['close$'][_0x457577(0x339)](_0x3505cd=>_0x504641['next'](_0x3505cd))),_0x3e9c15['add']((0x0,_0x4c9691[_0x457577(0x49f)])(()=>_0x504641[_0x457577(0x303)]()));let _0x7c3ccb=new _0x1d90a6['Subject']();_0x3e9c15[_0x457577(0x156)](_0x3e4651[_0x457577(0x29d)][_0x457577(0x339)](_0x174c6e=>_0x7c3ccb[_0x457577(0x2fd)](_0x174c6e))),_0x3e9c15[_0x457577(0x156)]((0x0,_0x4c9691['toDisposable'])(()=>_0x7c3ccb[_0x457577(0x303)]()));let _0x2fc499=new _0x1d90a6['Subject']();_0x3e9c15[_0x457577(0x156)](_0x3e4651['message$']['subscribe'](_0x1981d7=>{const _0x399231=_0x457577;let _0x331d30=_0x1efbe8(_0x1981d7);_0x2fc499[_0x399231(0x2fd)](_0x331d30);})),_0x3e9c15[_0x457577(0x156)]((0x0,_0x4c9691[_0x457577(0x49f)])(()=>_0x2fc499[_0x457577(0x303)]()));let _0x57bf41,_0x2282d4=()=>{const _0x8f4311=_0x457577;_0x7c3ccb[_0x8f4311(0x2fd)](new Event(_0x8f4311(0x4d9))),_0x504641['next'](new Event(_0x8f4311(0x4d9))),_0x57bf41[_0x8f4311(0x28b)]();};return _0x57bf41={'memberID':'','close$':_0x504641[_0x457577(0x377)](),'error$':_0x7c3ccb[_0x457577(0x377)](),'open$':_0x3e4651['open$'],'message$':_0x2fc499[_0x457577(0x377)](),'send':_0x2ee14e=>{const _0x505d9f=_0x457577;if(_0x2ee14e[_0x505d9f(0x239)]===_0x4e3953[_0x505d9f(0x4b9)]){if(_0x2ee14e[_0x505d9f(0x1d1)]['eventID']===_0x22113f[_0x505d9f(0x3f5)][_0x505d9f(0x4a3)]){this[_0x505d9f(0x387)](_0x57bf41,_0x2ee14e[_0x505d9f(0x1d1)])[_0x505d9f(0x2b5)](_0x3758f9=>{const _0x1f0242=_0x505d9f;this[_0x1f0242(0x3f1)][_0x1f0242(0x1fa)](_0x3758f9),_0x2282d4();});return;}if(_0x2ee14e['data'][_0x505d9f(0x1d3)]===_0x22113f[_0x505d9f(0x3f5)][_0x505d9f(0x306)]){let _0xe4228b=_0x2ee14e['data'];this[_0x505d9f(0x425)](_0xe4228b)[_0x505d9f(0x358)](_0x3846da=>{const _0x4edeb7=_0x505d9f;_0x2fc499[_0x4edeb7(0x2fd)]({'cmd':_0x4e3953[_0x4edeb7(0x16f)],'code':_0x47fe30['OK'],'routeKey':_0xe4228b[_0x4edeb7(0x1d1)][_0x4edeb7(0x266)],'routeType':'','data':{'eventID':_0x22113f['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3846da}}});})['catch'](_0x5562d0=>{const _0x23fcd4=_0x505d9f;this[_0x23fcd4(0x3f1)][_0x23fcd4(0x1fa)](_0x5562d0),_0x2282d4();});return;}}_0x3e4651[_0x505d9f(0x302)](_0x51f47f(_0x2ee14e));},'close':()=>{const _0x32c71a=_0x457577;_0x3e4651[_0x32c71a(0x28b)](),_0x3e9c15[_0x32c71a(0x16e)]();}},_0x57bf41;}async[_0x388c16(0x387)](_0x2d33c3,_0x2284fb){const _0x14b28a=_0x388c16;var _0x2fce34;let {unitType:_0x338c4a,unitID:_0x17c07e,changeset:_0x58c4a2}=_0x2284fb['data'],_0x5e64af={'unitID':_0x17c07e,'memberID':_0x2d33c3[_0x14b28a(0x379)],'type':_0x338c4a,'changeset':(0x0,_0x22113f[_0x14b28a(0x469)])(_0x58c4a2)},_0x519757=this[_0x14b28a(0x28a)][_0x14b28a(0x438)](_0x52c9fb),_0x499d43=_0x571d5c((_0x2fce34=_0x519757==null?void 0x0:_0x519757['collabSubmitChangesetUrl'])==null?'/universer-api/comb':_0x2fce34,_0x338c4a,_0x17c07e);try{await this['_httpService'][_0x14b28a(0x34f)](_0x499d43,{'body':_0x5e64af});}catch(_0x41e5df){throw this[_0x14b28a(0x3f1)][_0x14b28a(0x1fa)](_0x14b28a(0x195),_0x14b28a(0x1e2)),_0x41e5df;}}async['_fetchMissChangesets'](_0x308be2){const _0x207946=_0x388c16;let {unitID:_0x2c45d0,from:_0x1096f3,to:_0x58b874,unitType:_0x59625f}=_0x308be2[_0x207946(0x1d1)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2c45d0,'type':_0x59625f,'from':_0x1096f3,'to':_0x58b874}))[_0x207946(0x1e4)]['map'](_0x52cf5c=>((_0x52cf5c[_0x207946(0x27b)]===null||_0x52cf5c[_0x207946(0x27b)]===void 0x0)&&(_0x52cf5c[_0x207946(0x27b)]=[]),_0x52cf5c));}};_0x3f3356=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x4,_0x22113f[_0x388c16(0x482)])],_0x3f3356);let _0x8dbac3=class extends _0x4c9691[_0x388c16(0x292)]{get[_0x388c16(0x186)](){const _0x386216=_0x388c16;return this[_0x386216(0x357)][_0x386216(0x4a5)]();}constructor(_0x26fbd4,_0x30f383,_0x38f1fe,_0x578389,_0x2c12de,_0x22154e){const _0xc2a0f4=_0x388c16;super(),this[_0xc2a0f4(0x31f)]=_0x26fbd4,this[_0xc2a0f4(0x3f1)]=_0x30f383,this['_configService']=_0x38f1fe,this['_socketService']=_0x578389,this[_0xc2a0f4(0x1ec)]=_0x2c12de,this[_0xc2a0f4(0x4b3)]=_0x22154e,_0x167995(this,_0xc2a0f4(0x357),new _0x1d90a6['BehaviorSubject'](void 0x0)),_0x167995(this,'socket$',this[_0xc2a0f4(0x357)][_0xc2a0f4(0x377)]()),_0x167995(this,_0xc2a0f4(0x4b7),null),_0x167995(this,_0xc2a0f4(0x25d),new Map()),_0x167995(this,'_status$',new _0x1d90a6[(_0xc2a0f4(0x26f))](_0x16446d[_0xc2a0f4(0x392)])),_0x167995(this,'status$',this[_0xc2a0f4(0x23f)][_0xc2a0f4(0x377)]()),_0x167995(this,_0xc2a0f4(0x44c),!0x1),_0x167995(this,_0xc2a0f4(0x271),void 0x0),_0x167995(this,_0xc2a0f4(0x47d),0x0),_0x167995(this,'_sendHeartbeatTimer',void 0x0),_0x167995(this,_0xc2a0f4(0x18f),void 0x0),this[_0xc2a0f4(0x3fd)]();}[_0x388c16(0x3fd)](){const _0x4778cf=_0x388c16;this[_0x4778cf(0x4b3)]&&this['disposeWithMe'](this[_0x4778cf(0x4b3)]['online$'][_0x4778cf(0x339)](_0x3f48af=>{const _0x4b1015=_0x4778cf;_0x3f48af&&!this['_socket']&&this['reconnect'](),_0x3f48af||this[_0x4b1015(0x201)]();}));}[_0x388c16(0x16e)](){const _0x3b7a26=_0x388c16;super['dispose'](),this[_0x3b7a26(0x4c5)](),this[_0x3b7a26(0x479)](),this['_clearHeartbeatTimer'](),this[_0x3b7a26(0x25d)][_0x3b7a26(0x1d5)](_0x467416=>_0x467416['dispose']()),this[_0x3b7a26(0x25d)][_0x3b7a26(0x3c8)](),this[_0x3b7a26(0x23f)][_0x3b7a26(0x303)]();}async[_0x388c16(0x326)](_0x11758a){const _0x66c45a=_0x388c16;if(this[_0x66c45a(0x25d)]['has'](_0x11758a))return this[_0x66c45a(0x25d)][_0x66c45a(0x1c6)](_0x11758a);this['_tryEnsureSocket']();let _0x4f2fb3=this[_0x66c45a(0x31f)][_0x66c45a(0x251)](_0x4da542,_0x11758a,this['_socket$'][_0x66c45a(0x377)]());return this['_sessions'][_0x66c45a(0x163)](_0x11758a,_0x4f2fb3),_0x4f2fb3;}[_0x388c16(0x376)](_0x17dc6e){const _0x2ba992=_0x388c16;let _0x1cfdfd=this['_sessions'][_0x2ba992(0x1c6)](_0x17dc6e);if(_0x1cfdfd&&(this[_0x2ba992(0x25d)][_0x2ba992(0x18b)](_0x17dc6e),_0x1cfdfd[_0x2ba992(0x28b)]()),!this['_sessions'][_0x2ba992(0x42b)]){var _0x16394b;(_0x16394b=this[_0x2ba992(0x186)])==null||_0x16394b[_0x2ba992(0x28b)]();}}[_0x388c16(0x3f0)](){const _0x5bf22=_0x388c16;this[_0x5bf22(0x47d)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x5bf22(0x2b8)]();}['_clearRetryConnectingTimer'](){const _0x2bf262=_0x388c16;this[_0x2bf262(0x271)]!=null&&(clearTimeout(this[_0x2bf262(0x271)]),this[_0x2bf262(0x271)]=null);}async['_createSocket'](){const _0x4ade1d=_0x388c16;var _0x4b45b6;let _0x2bba3e=this[_0x4ade1d(0x28a)][_0x4ade1d(0x438)](_0x52c9fb),_0x13f363=(_0x4b45b6=_0x2bba3e==null?void 0x0:_0x2bba3e[_0x4ade1d(0x280)])==null?_0x1049c0:_0x4b45b6,_0x4a6f0b=await this['_socketService'][_0x4ade1d(0x47b)](_0x13f363);return this[_0x4ade1d(0x4b7)]=_0x4a6f0b,_0x4a6f0b;}async[_0x388c16(0x34d)](){const _0x623bae=_0x388c16;try{var _0x1bcbfa,_0x9da353;let _0x5c1dd1=(_0x1bcbfa=(_0x9da353=this[_0x623bae(0x186)])==null?this[_0x623bae(0x4b7)]:_0x9da353)==null?await this[_0x623bae(0x32a)]():_0x1bcbfa;if(_0x5c1dd1){let _0x3dacb1=_0x5c1dd1[_0x623bae(0x302)];_0x5c1dd1[_0x623bae(0x302)]=_0x122dc5=>(_0x122dc5[_0x623bae(0x239)]!==_0x4e3953[_0x623bae(0x2f4)]&&this[_0x623bae(0x31e)](),_0x3dacb1[_0x623bae(0x313)](_0x5c1dd1,[_0x122dc5])),_0x5c1dd1[_0x623bae(0x4bc)][_0x623bae(0x339)](_0x46fac9=>this['_onMessage'](_0x5c1dd1,_0x46fac9)),_0x5c1dd1['error$'][_0x623bae(0x3f8)]((0x0,_0x29e3de['take'])(0x1))[_0x623bae(0x339)](_0x3c0f50=>this[_0x623bae(0x3f1)][_0x623bae(0x1fa)]('[CollaborationSessionService]:\x20socket\x20error',_0x3c0f50)),_0x5c1dd1['open$'][_0x623bae(0x3f8)]((0x0,_0x29e3de[_0x623bae(0x468)])(0x1))[_0x623bae(0x339)](()=>{const _0x55d65e=_0x623bae;this[_0x55d65e(0x1ff)](_0x5c1dd1);}),_0x5c1dd1[_0x623bae(0x24d)][_0x623bae(0x3f8)]((0x0,_0x29e3de['take'])(0x1))[_0x623bae(0x339)](_0x19edbb=>{const _0x3789df=_0x623bae;this['_logService'][_0x3789df(0x24e)](_0x3789df(0x4d4),_0x3789df(0x152),_0x19edbb),this[_0x3789df(0x46b)]();});}}catch(_0x43a6dc){this[_0x623bae(0x3f1)][_0x623bae(0x1fa)](_0x43a6dc),this[_0x623bae(0x46b)]();}}[_0x388c16(0x1ff)](_0x2e6ce0){const _0x57e917=_0x388c16;this[_0x57e917(0x3f1)][_0x57e917(0x24e)]('[CollaborationSessionService]',_0x57e917(0x423)),_0x2e6ce0[_0x57e917(0x302)]({'cmd':_0x4e3953['HELLO']}),this[_0x57e917(0x31e)]();}[_0x388c16(0x201)](){const _0x5da1b8=_0x388c16;this[_0x5da1b8(0x44c)]=!0x1,this[_0x5da1b8(0x4b7)]=null,this[_0x5da1b8(0x23f)][_0x5da1b8(0x2fd)](_0x16446d[_0x5da1b8(0x2a5)]),this['_socket$'][_0x5da1b8(0x2fd)](null),this[_0x5da1b8(0x479)](),this[_0x5da1b8(0x459)]();}[_0x388c16(0x46b)](){const _0xf15d58=_0x388c16;var _0x2bda24;this[_0xf15d58(0x201)](),this[_0xf15d58(0x47d)]<((_0x2bda24=this[_0xf15d58(0x28a)][_0xf15d58(0x438)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x2bda24)?(this['_collaborationUIEventService'][_0xf15d58(0x14f)]({'id':_0x577fae[_0xf15d58(0x498)]}),this['_tryReconnect']()):this[_0xf15d58(0x1ec)]['emitEvent']({'id':_0x577fae[_0xf15d58(0x41f)]});}['_tryReconnect'](){const _0x46db6e=_0x388c16;var _0x184ba2;let _0x4dc620=this[_0x46db6e(0x47d)],_0x45e96e=this[_0x46db6e(0x28a)]['getConfig'](_0x52c9fb),_0x39bdd0=_0x4dc620===0x0?0x0:((_0x184ba2=_0x45e96e==null?void 0x0:_0x45e96e['retryConnectingInterval'])==null?0x4e20:_0x184ba2)*0x2**_0x4dc620;this[_0x46db6e(0x271)]=setTimeout(()=>{const _0x2832e0=_0x46db6e;clearTimeout(this[_0x2832e0(0x271)]),this[_0x2832e0(0x271)]=null,this[_0x2832e0(0x34d)]();},_0x39bdd0),this[_0x46db6e(0x47d)]+=0x1;}[_0x388c16(0x169)](_0x2f63c1,_0x45fe98){const _0x10470f=_0x388c16;let {cmd:_0x2974e6}=_0x45fe98;_0x2974e6===_0x4e3953[_0x10470f(0x3a2)]&&!this['_socketReady']&&(_0x2f63c1[_0x10470f(0x379)]=_0x45fe98['data'][_0x10470f(0x379)],this[_0x10470f(0x357)][_0x10470f(0x2fd)](_0x2f63c1),this[_0x10470f(0x23f)][_0x10470f(0x2fd)](_0x16446d['ONLINE']),this[_0x10470f(0x44c)]=!0x0,this['_candidateSocket']=null),_0x2974e6===_0x4e3953[_0x10470f(0x333)]&&this['_clearTimeoutTimer'](),this[_0x10470f(0x31e)]();}[_0x388c16(0x31e)](){const _0x53ed7a=_0x388c16;var _0x1e2748;this[_0x53ed7a(0x459)](),this[_0x53ed7a(0x2ec)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1e2748=this[_0x53ed7a(0x28a)][_0x53ed7a(0x438)](_0x53ed7a(0x38c)))==null?0x7530:_0x1e2748);}[_0x388c16(0x3d1)](){const _0x54dfff=_0x388c16;this[_0x54dfff(0x186)][_0x54dfff(0x302)]({'cmd':_0x4e3953['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x53447e=_0x388c16;var _0x9a71c7;this[_0x53447e(0x18f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x9a71c7=this[_0x53447e(0x28a)][_0x53447e(0x438)]('HEARTBEAT_TIMEOUT'))==null?_0x1790d5:_0x9a71c7);}[_0x388c16(0x459)](){const _0x34e27f=_0x388c16;this[_0x34e27f(0x2ec)]!=null&&(clearTimeout(this[_0x34e27f(0x2ec)]),this['_sendHeartbeatTimer']=null);}[_0x388c16(0x479)](){const _0x1f99fe=_0x388c16;this[_0x1f99fe(0x18f)]!=null&&(clearTimeout(this[_0x1f99fe(0x18f)]),this[_0x1f99fe(0x18f)]=null);}};_0x8dbac3=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x3,_0x542253),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0x38a135))],_0x8dbac3);let _0x8eab61=class extends _0x4c9691[_0x388c16(0x433)]{constructor(_0x9b31f6,_0x5b705b,_0x486c00,_0xf105b8){const _0x3ea86b=_0x388c16;var _0x9f87bc;super(),this[_0x3ea86b(0x31f)]=_0x9b31f6,this[_0x3ea86b(0x3fe)]=_0x5b705b,this[_0x3ea86b(0x28a)]=_0x486c00,this['_univerInstanceService']=_0xf105b8,_0x167995(this,_0x3ea86b(0x30f),new Map()),_0x167995(this,_0x3ea86b(0x315),new _0x1d90a6[(_0x3ea86b(0x310))]()),_0x167995(this,_0x3ea86b(0x1c8),this[_0x3ea86b(0x315)][_0x3ea86b(0x377)]()),((_0x9f87bc=this[_0x3ea86b(0x28a)][_0x3ea86b(0x438)](_0x3ea86b(0x448)))==null?void 0x0:_0x9f87bc[_0x3ea86b(0x1aa)])!==!0x1&&this['_init']();}[_0x388c16(0x16e)](){const _0x41ac00=_0x388c16;super[_0x41ac00(0x16e)](),this[_0x41ac00(0x30f)][_0x41ac00(0x1d5)](_0x212384=>_0x212384['dispose']()),this['_entities'][_0x41ac00(0x3c8)]();}['getCollabEntity'](_0x35cd9d){const _0xd88924=_0x388c16;var _0x3a6f66;return(_0x3a6f66=this[_0xd88924(0x30f)][_0xd88924(0x1c6)](_0x35cd9d))==null?null:_0x3a6f66;}[_0x388c16(0x174)](_0xfabc65){const _0x5a1ec6=_0x388c16;let _0xb8959f=this[_0x5a1ec6(0x341)](_0xfabc65);return _0xb8959f?(0x0,_0x1d90a6['of'])(_0xb8959f):this[_0x5a1ec6(0x315)][_0x5a1ec6(0x3f8)]((0x0,_0x29e3de['filter'])(_0x34fd08=>_0x34fd08[_0x5a1ec6(0x266)]===_0xfabc65));}[_0x388c16(0x294)](_0x381590){const _0x49757e=_0x388c16;return(0x0,_0x1d90a6[_0x49757e(0x2ce)])(this[_0x49757e(0x174)](_0x381590)[_0x49757e(0x3f8)]((0x0,_0x29e3de['map'])(()=>void 0x0)));}['_init'](){const _0xcc99af=_0x388c16;this['_univerInstanceService'][_0xcc99af(0x408)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x464)])[_0xcc99af(0x3f8)]((0x0,_0x1d90a6[_0xcc99af(0x199)])(this[_0xcc99af(0x473)]),(0x0,_0x29e3de[_0xcc99af(0x32e)])(0x10))[_0xcc99af(0x339)](async _0x210c6d=>{const _0x29559b=_0xcc99af;let _0x517c97=_0x210c6d['getUnitId'](),_0x13d56e=await this[_0x29559b(0x44d)](_0x517c97,_0x194d58[_0x29559b(0x464)]);this[_0x29559b(0x30f)][_0x29559b(0x163)](_0x517c97,_0x13d56e);}),this[_0xcc99af(0x371)][_0xcc99af(0x408)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x38b)])['pipe']((0x0,_0x1d90a6[_0xcc99af(0x199)])(this['dispose$']),(0x0,_0x29e3de[_0xcc99af(0x32e)])(0x10))[_0xcc99af(0x3f8)]((0x0,_0x29e3de[_0xcc99af(0x33f)])(_0x5c272a=>!_0x5c272a[_0xcc99af(0x323)]()[_0xcc99af(0x1c9)]('__')))[_0xcc99af(0x339)](async _0x1fdd70=>{const _0x209b0c=_0xcc99af;let _0x4a3f49=_0x1fdd70[_0x209b0c(0x323)](),_0x293bb4=await this[_0x209b0c(0x44d)](_0x4a3f49,_0x194d58['UNIVER_DOC']);this['_entities'][_0x209b0c(0x163)](_0x4a3f49,_0x293bb4);}),(0x0,_0x1d90a6['merge'])(this[_0xcc99af(0x371)][_0xcc99af(0x1b4)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x464)]),this[_0xcc99af(0x371)][_0xcc99af(0x1b4)](_0x4c9691['UniverInstanceType']['UNIVER_DOC']))['pipe']((0x0,_0x1d90a6[_0xcc99af(0x199)])(this[_0xcc99af(0x473)]))[_0xcc99af(0x339)](_0x5e1154=>{const _0x19be80=_0xcc99af;let _0x4f8328=_0x5e1154['getUnitId'](),_0xffd3ff=this['_entities'][_0x19be80(0x1c6)](_0x4f8328);_0xffd3ff&&(_0xffd3ff[_0x19be80(0x16e)](),this[_0x19be80(0x30f)][_0x19be80(0x18b)](_0x4f8328));});}async['_startCollaboration'](_0x27e42f,_0x50b332){const _0x553057=_0x388c16;let _0x678a61=await this['_collabSessionService']['requireSession'](_0x27e42f),_0x2fca58=this['_injector']['createInstance'](this[_0x553057(0x440)](_0x50b332),_0x27e42f,_0x50b332,_0x678a61);return await _0x2fca58[_0x553057(0x4ed)](),this['_entityInit$'][_0x553057(0x2fd)](_0x2fca58),_0x2fca58;}['_getCtorByUniverType'](_0x294ddd){const _0x1f4400=_0x388c16;switch(_0x294ddd){case _0x194d58['UNIVER_DOC']:return _0x1782f4;case _0x194d58[_0x1f4400(0x464)]:return _0x1a46eb;default:throw Error(_0x1f4400(0x335)+_0x294ddd);}}};_0x8eab61=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['Injector'])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x8dbac3)),_0x4923f4(0x2,_0x4c9691['IConfigService']),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x384)])],_0x8eab61);var _0x4fc999=_0x388c16(0x241),_0x22bf0b=_0x388c16(0x1b3);let _0x197e21=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0xa0f9b8,_0x578e4a){const _0x4d127c=_0x388c16;super(),this[_0x4d127c(0x371)]=_0xa0f9b8,this['_configService']=_0x578e4a,this[_0x4d127c(0x15d)]();}[_0x388c16(0x15d)](){const _0x490cd4=_0x388c16;this['disposeWithMe'](this['_univerInstanceService'][_0x490cd4(0x407)][_0x490cd4(0x339)](()=>{const _0x11e124=_0x490cd4;var _0x362c36;let _0x3afb98=this[_0x11e124(0x371)][_0x11e124(0x2e3)](),_0x2d5f8e=(_0x362c36=this[_0x11e124(0x28a)][_0x11e124(0x438)](_0x11e124(0x2c4)))==null?'Univer':_0x362c36;_0x3afb98 instanceof _0x4c9691[_0x11e124(0x160)]&&(_0x2d5f8e=_0x3afb98[_0x11e124(0x417)]),document[_0x11e124(0x246)]=_0x2d5f8e;}));}};_0x197e21=_0x3ecedb([_0x4923f4(0x0,_0x4c9691['IUniverInstanceService']),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x28d)])],_0x197e21);let _0x593144=class{constructor(_0x3552b7,_0x3df2c7,_0x333c11){const _0x136c47=_0x388c16;this['_configService']=_0x3552b7,this[_0x136c47(0x3c2)]=_0x3df2c7,this[_0x136c47(0x3fb)]=_0x333c11,this[_0x136c47(0x4ed)]();}[_0x388c16(0x4ed)](){const _0xb4d6d8=_0x388c16;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x21cc92,_0x4af0ac)=>_0x4af0ac(_0x21cc92)[_0xb4d6d8(0x3f8)]((0x0,_0x1d90a6['concatMap'])(async _0x2034b0=>{const _0x22234d=_0xb4d6d8;let _0x473587=_0x2034b0;if(_0x473587[_0x22234d(0x282)]===0x191){if(typeof window>'u')throw Error(_0x22234d(0x22b));if(window[_0x22234d(0x4f6)](this[_0x22234d(0x3fb)]['t']('auth.needGotoLoginAlert'))){let _0x36bc67=window[_0x22234d(0x45d)](window[_0x22234d(0x496)][_0x22234d(0x456)]);window[_0x22234d(0x496)][_0x22234d(0x456)]=this[_0x22234d(0x3ff)]()+_0x22234d(0x276)+_0x36bc67;}}return _0x473587;}))});}[_0x388c16(0x3ff)](){const _0x254b0e=_0x388c16;var _0xce29fe;let _0x43fe03=this['_configService'][_0x254b0e(0x438)](_0x52c9fb);return(_0xce29fe=_0x43fe03==null?void 0x0:_0x43fe03['loginUrlKey'])==null?_0x254b0e(0x1dc):_0xce29fe;}};_0x593144=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['LocaleService']))],_0x593144);let _0x164e3a=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x42c2ff,_0x417d0b){const _0x38a771=_0x388c16;super(),this[_0x38a771(0x300)]=_0x42c2ff,this[_0x38a771(0x28a)]=_0x417d0b,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x5c4ceb=_0x388c16;let _0xc2fd80=this;this['disposeWithMe'](this[_0x5c4ceb(0x300)][_0x5c4ceb(0x47f)]({'priority':0x3e7,'interceptor':(0x0,_0x750beb[_0x5c4ceb(0x1ab)])({'isMatch'(_0x254626){const _0x5e998e=_0x5c4ceb;var _0x5608d2;if(_0x254626[_0x5e998e(0x350)]==='POST'&&(_0x5608d2=_0x254626['requestParams'])!=null&&_0x5608d2[_0x5e998e(0x401)]){let {objectID:_0x155e4c,objectType:_0x2bd3a3}=_0x254626[_0x5e998e(0x1ac)]['body']||{};if(!_0x155e4c||_0x2bd3a3===void 0x0)return!0x1;let _0x4095b3=_0xc2fd80['_getAPIPrefixPath']()+'/'+_0x2bd3a3+_0x5e998e(0x20d)+_0x155e4c+_0x5e998e(0x24a);if(_0x254626['url']===_0x4095b3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x7f5551){const _0x10af9e=_0x5c4ceb;var _0x402b2f;return(_0x402b2f=_0x7f5551[_0x10af9e(0x1ac)])==null?void 0x0:_0x402b2f['body'];},'mergeParamsToRequest'(_0x2817c6,_0x3867ae){const _0x2bf09f=_0x5c4ceb;let _0xd9ffb0=_0xc2fd80['_getAPIPrefixPath']()+_0x2bf09f(0x402),_0x2701e7=_0x2817c6['reduce']((_0x4c527e,_0x22b892)=>{const _0x23a50b=_0x2bf09f;let {unitID:_0x51fce4,objectID:_0x8a33c1,objectType:_0x39f95b,actions:_0x12afc6}=_0x22b892;return _0x4c527e[_0x51fce4]||(_0x4c527e[_0x51fce4]={}),_0x4c527e[_0x51fce4][_0x8a33c1]||(_0x4c527e[_0x51fce4][_0x8a33c1]={'objectID':_0x8a33c1,'objectType':_0x39f95b,'actions':[]}),_0x4c527e[_0x51fce4][_0x8a33c1][_0x23a50b(0x2e4)][_0x23a50b(0x221)](..._0x12afc6),_0x4c527e;},{}),_0x435ffa=[];for(let _0x56c205 in _0x2701e7)for(let _0x4ba982 in _0x2701e7[_0x56c205]){let {actions:_0x1918f1,objectType:_0x3652c1}=_0x2701e7[_0x56c205][_0x4ba982],_0xa6c14c=[...new Set(_0x1918f1)];_0x435ffa[_0x2bf09f(0x221)]({'unitID':_0x56c205,'objectID':_0x4ba982,'objectType':_0x3652c1,'actions':_0xa6c14c});}return new _0x750beb[(_0x2bf09f(0x3af))]('POST',_0xd9ffb0,{'headers':_0x3867ae['headers'],'withCredentials':_0x3867ae['withCredentials'],'responseType':_0x3867ae[_0x2bf09f(0x1d9)],'body':{'requests':_0x435ffa}});}},{'distributeResult'(_0x5c5e66,_0x4c563e){let {objectActions:_0x412fcc}=_0x5c5e66;return _0x4c563e['map'](_0x3aad97=>{const _0x7f2b4=_0x2f25;let {unitID:_0x336dfa,objectID:_0x4b93f0,actions:_0x4d8a23}=_0x3aad97,_0x203b0=_0x412fcc[_0x7f2b4(0x332)](_0x2d78ce=>_0x2d78ce[_0x7f2b4(0x266)]===_0x336dfa&&_0x2d78ce[_0x7f2b4(0x494)]===_0x4b93f0);return{'config':_0x3aad97,'result':{'actions':_0x4d8a23[_0x7f2b4(0x1da)](_0x2da1d6=>_0x203b0==null?void 0x0:_0x203b0[_0x7f2b4(0x2e4)][_0x7f2b4(0x332)](_0x41abf5=>_0x41abf5[_0x7f2b4(0x46c)]===_0x2da1d6))[_0x7f2b4(0x33f)](_0x1037d5=>!!_0x1037d5),'error':_0x5c5e66['error']}};});}})}));}[_0x388c16(0x3cb)](){const _0x1151f0=_0x388c16;var _0x25528f;let _0x1651e8=this['_configService'][_0x1151f0(0x438)](_0x52c9fb);return(_0x25528f=_0x1651e8==null?void 0x0:_0x1651e8['authzUrl'])==null?_0x1151f0(0x2f5):_0x25528f;}async[_0x388c16(0x434)](_0x519321){const _0x400fc1=_0x388c16;let _0x4e7eba=this[_0x400fc1(0x3cb)]()+'/'+_0x519321[_0x400fc1(0x4de)]+'/object';return(await this[_0x400fc1(0x300)][_0x400fc1(0x34f)](_0x4e7eba,{'body':_0x519321}))[_0x400fc1(0x401)][_0x400fc1(0x494)]||'';}async[_0x388c16(0x2d0)](_0x4db085){const _0x20d2bc=_0x388c16;let _0x288392=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x20d2bc(0x300)][_0x20d2bc(0x34f)](_0x288392,{'body':_0x4db085}))[_0x20d2bc(0x401)][_0x20d2bc(0x41e)];}async['update'](_0x29e385){const _0x5ea3be=_0x388c16;var _0x2b138f;let _0x16dbdc=this[_0x5ea3be(0x3cb)]()+'/'+_0x29e385[_0x5ea3be(0x4de)]+_0x5ea3be(0x20d)+_0x29e385[_0x5ea3be(0x494)],_0x27b3a2=await this[_0x5ea3be(0x300)][_0x5ea3be(0x216)](_0x16dbdc,{'body':_0x29e385});if((_0x27b3a2==null||(_0x2b138f=_0x27b3a2['body'])==null||(_0x2b138f=_0x2b138f['error'])==null?void 0x0:_0x2b138f[_0x5ea3be(0x309)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x388c16(0x413)](_0x43fac5){const _0x3923a3=_0x388c16;let _0x3c55b8=this[_0x3923a3(0x3cb)]()+'/'+_0x43fac5[_0x3923a3(0x4de)]+_0x3923a3(0x20d)+_0x43fac5['objectID']+_0x3923a3(0x24a);return(await this[_0x3923a3(0x300)][_0x3923a3(0x34f)](_0x3c55b8,{'body':_0x43fac5}))[_0x3923a3(0x401)][_0x3923a3(0x2e4)];}async[_0x388c16(0x3a0)](_0x53a447){const _0x37f4d2=_0x388c16;let _0x4db934=this['_getAPIPrefixPath']()+_0x37f4d2(0x402);return(await this[_0x37f4d2(0x300)][_0x37f4d2(0x34f)](_0x4db934,{'body':{'requests':_0x53a447}}))[_0x37f4d2(0x401)][_0x37f4d2(0x272)];}async[_0x388c16(0x2a9)](_0x39db52){const _0x255b96=_0x388c16;let _0x56ed61=this[_0x255b96(0x3cb)]()+'/'+_0x39db52[_0x255b96(0x4de)]+_0x255b96(0x405),_0xa2e8be=await this[_0x255b96(0x300)][_0x255b96(0x34f)](_0x56ed61,{'body':_0x39db52});return{'roles':_0xa2e8be[_0x255b96(0x401)]['roles'],'actions':_0xa2e8be[_0x255b96(0x401)][_0x255b96(0x2e4)]};}async['deleteCollaborator'](_0x7dfff8){const _0x21f50d=_0x388c16;let _0x1708ef=this[_0x21f50d(0x3cb)]()+_0x21f50d(0x489);await this[_0x21f50d(0x300)]['delete'](_0x1708ef,{'params':{'collaboratorID':_0x7dfff8[_0x21f50d(0x475)],'objectID':_0x7dfff8['objectID'],'unitID':_0x7dfff8[_0x21f50d(0x266)]}});}async[_0x388c16(0x29f)](_0x13e839){const _0x132e99=_0x388c16;let _0x227de4=this[_0x132e99(0x3cb)]()+_0x132e99(0x489);await this[_0x132e99(0x300)][_0x132e99(0x1f1)](_0x227de4,{'body':_0x13e839});}async[_0x388c16(0x2be)](_0x41df39){const _0x42e8d9=_0x388c16;let _0x1a1cc1=this[_0x42e8d9(0x3cb)]()+_0x42e8d9(0x489);await this[_0x42e8d9(0x300)]['post'](_0x1a1cc1,{'body':_0x41df39});}async['listCollaborators'](_0x459662){const _0x1be3c1=_0x388c16;let _0x3b362b=this[_0x1be3c1(0x3cb)]()+_0x1be3c1(0x489);return(await this[_0x1be3c1(0x300)][_0x1be3c1(0x1c6)](_0x3b362b,{'params':{'objectID':_0x459662[_0x1be3c1(0x494)],'unitID':_0x459662[_0x1be3c1(0x266)]}}))[_0x1be3c1(0x401)][_0x1be3c1(0x279)];}async['putCollaborators'](_0x2cb427){const _0x2e888a=_0x388c16;let _0x40bf1e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2e888a(0x300)][_0x2e888a(0x216)](_0x40bf1e,{'body':_0x2cb427});}};_0x164e3a=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x28d)]))],_0x164e3a);var _0x2c2800=_0x5841b6(()=>{}),_0x46bfe1=_0x5841b6((_0x16d902,_0x359803)=>{(function(_0x40f7cb,_0x26ba00){const _0x1934a6=_0x2f25;typeof _0x16d902==_0x1934a6(0x2cd)?_0x359803[_0x1934a6(0x19d)]=_0x16d902=_0x26ba00():typeof define==_0x1934a6(0x4f0)&&define[_0x1934a6(0x2d8)]?define([],_0x26ba00):_0x40f7cb[_0x1934a6(0x1ee)]=_0x26ba00();}(_0x16d902,function(){var _0x28f5fe=_0x28f5fe||function(_0x14113a,_0xf02a48){const _0x120193=_0x2f25;var _0x24da58;if(typeof window<'u'&&window['crypto']&&(_0x24da58=window[_0x120193(0x2eb)]),typeof self<'u'&&self['crypto']&&(_0x24da58=self[_0x120193(0x2eb)]),typeof globalThis<'u'&&globalThis[_0x120193(0x2eb)]&&(_0x24da58=globalThis[_0x120193(0x2eb)]),!_0x24da58&&typeof window<'u'&&window[_0x120193(0x442)]&&(_0x24da58=window['msCrypto']),!_0x24da58&&typeof global<'u'&&global[_0x120193(0x2eb)]&&(_0x24da58=global[_0x120193(0x2eb)]),!_0x24da58&&typeof require==_0x120193(0x4f0))try{_0x24da58=_0x2c2800();}catch{}var _0x3f2265=function(){const _0x23e875=_0x120193;if(_0x24da58){if(typeof _0x24da58['getRandomValues']==_0x23e875(0x4f0))try{return _0x24da58[_0x23e875(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24da58['randomBytes']=='function')try{return _0x24da58['randomBytes'](0x4)['readInt32LE']();}catch{}}throw Error(_0x23e875(0x34a));},_0x2da216=Object[_0x120193(0x434)]||(function(){function _0x93f076(){}return function(_0x5354ed){const _0x2d7e2c=_0x2f25;var _0x44f9cb;return _0x93f076[_0x2d7e2c(0x3b4)]=_0x5354ed,_0x44f9cb=new _0x93f076(),_0x93f076['prototype']=null,_0x44f9cb;};}()),_0x336614={},_0x4d972e=_0x336614[_0x120193(0x27e)]={},_0x3652c8=_0x4d972e[_0x120193(0x15f)]=(function(){return{'extend':function(_0x4a733e){const _0x5afee0=_0x2f25;var _0x426b2b=_0x2da216(this);return _0x4a733e&&_0x426b2b[_0x5afee0(0x1fe)](_0x4a733e),(!_0x426b2b[_0x5afee0(0x213)](_0x5afee0(0x4ed))||this['init']===_0x426b2b[_0x5afee0(0x4ed)])&&(_0x426b2b['init']=function(){const _0x507b5f=_0x5afee0;_0x426b2b[_0x507b5f(0x210)][_0x507b5f(0x4ed)][_0x507b5f(0x313)](this,arguments);}),_0x426b2b['init'][_0x5afee0(0x3b4)]=_0x426b2b,_0x426b2b[_0x5afee0(0x210)]=this,_0x426b2b;},'create':function(){const _0xe0f417=_0x2f25;var _0x2c857f=this[_0xe0f417(0x287)]();return _0x2c857f[_0xe0f417(0x4ed)][_0xe0f417(0x313)](_0x2c857f,arguments),_0x2c857f;},'init':function(){},'mixIn':function(_0x554cf7){const _0x435a1e=_0x2f25;for(var _0x413505 in _0x554cf7)_0x554cf7[_0x435a1e(0x213)](_0x413505)&&(this[_0x413505]=_0x554cf7[_0x413505]);_0x554cf7[_0x435a1e(0x213)](_0x435a1e(0x42d))&&(this[_0x435a1e(0x42d)]=_0x554cf7[_0x435a1e(0x42d)]);},'clone':function(){const _0x294271=_0x2f25;return this[_0x294271(0x4ed)][_0x294271(0x3b4)][_0x294271(0x287)](this);}};}()),_0x7ba536=_0x4d972e[_0x120193(0x23a)]=_0x3652c8['extend']({'init':function(_0x2c10e0,_0xd16360){const _0x14be76=_0x120193;_0x2c10e0=this[_0x14be76(0x2d6)]=_0x2c10e0||[],_0xd16360==_0xf02a48?this[_0x14be76(0x2c7)]=_0x2c10e0[_0x14be76(0x1a3)]*0x4:this[_0x14be76(0x2c7)]=_0xd16360;},'toString':function(_0x5de0e9){const _0x19fd58=_0x120193;return(_0x5de0e9||_0x4781bd)[_0x19fd58(0x1f7)](this);},'concat':function(_0x477329){const _0x50ce8c=_0x120193;var _0x4ecd66=this[_0x50ce8c(0x2d6)],_0x39fa4d=_0x477329[_0x50ce8c(0x2d6)],_0x5e975e=this[_0x50ce8c(0x2c7)],_0xd54a5b=_0x477329[_0x50ce8c(0x2c7)];if(this[_0x50ce8c(0x21f)](),_0x5e975e%0x4)for(var _0x2c32b3=0x0;_0x2c32b3<_0xd54a5b;_0x2c32b3++){var _0x34b582=_0x39fa4d[_0x2c32b3>>>0x2]>>>0x18-_0x2c32b3%0x4*0x8&0xff;_0x4ecd66[_0x5e975e+_0x2c32b3>>>0x2]|=_0x34b582<<0x18-(_0x5e975e+_0x2c32b3)%0x4*0x8;}else{for(var _0x1b5888=0x0;_0x1b5888<_0xd54a5b;_0x1b5888+=0x4)_0x4ecd66[_0x5e975e+_0x1b5888>>>0x2]=_0x39fa4d[_0x1b5888>>>0x2];}return this[_0x50ce8c(0x2c7)]+=_0xd54a5b,this;},'clamp':function(){const _0x10bd86=_0x120193;var _0x10ba15=this['words'],_0x5f1f84=this[_0x10bd86(0x2c7)];_0x10ba15[_0x5f1f84>>>0x2]&=0xffffffff<<0x20-_0x5f1f84%0x4*0x8,_0x10ba15['length']=_0x14113a[_0x10bd86(0x317)](_0x5f1f84/0x4);},'clone':function(){const _0x58d4b4=_0x120193;var _0x485a76=_0x3652c8[_0x58d4b4(0x4a4)]['call'](this);return _0x485a76[_0x58d4b4(0x2d6)]=this[_0x58d4b4(0x2d6)][_0x58d4b4(0x342)](0x0),_0x485a76;},'random':function(_0x194fef){const _0x2846cd=_0x120193;for(var _0x4c3386=[],_0x8baaf9=0x0;_0x8baaf9<_0x194fef;_0x8baaf9+=0x4)_0x4c3386['push'](_0x3f2265());return new _0x7ba536[(_0x2846cd(0x4ed))](_0x4c3386,_0x194fef);}}),_0x25d875=_0x336614[_0x120193(0x281)]={},_0x4781bd=_0x25d875[_0x120193(0x4db)]={'stringify':function(_0x86236d){const _0x215af6=_0x120193;for(var _0x33a2c1=_0x86236d[_0x215af6(0x2d6)],_0x374476=_0x86236d[_0x215af6(0x2c7)],_0x219ea3=[],_0x131dab=0x0;_0x131dab<_0x374476;_0x131dab++){var _0x37efbb=_0x33a2c1[_0x131dab>>>0x2]>>>0x18-_0x131dab%0x4*0x8&0xff;_0x219ea3[_0x215af6(0x221)]((_0x37efbb>>>0x4)[_0x215af6(0x42d)](0x10)),_0x219ea3[_0x215af6(0x221)]((_0x37efbb&0xf)[_0x215af6(0x42d)](0x10));}return _0x219ea3[_0x215af6(0x3a4)]('');},'parse':function(_0x51fc62){const _0x2efb3e=_0x120193;for(var _0x5db1de=_0x51fc62[_0x2efb3e(0x1a3)],_0x3659fa=[],_0x4270b3=0x0;_0x4270b3<_0x5db1de;_0x4270b3+=0x2)_0x3659fa[_0x4270b3>>>0x3]|=parseInt(_0x51fc62[_0x2efb3e(0x151)](_0x4270b3,0x2),0x10)<<0x18-_0x4270b3%0x8*0x4;return new _0x7ba536[(_0x2efb3e(0x4ed))](_0x3659fa,_0x5db1de/0x2);}},_0x398fb5=_0x25d875[_0x120193(0x345)]={'stringify':function(_0x3d8cc0){const _0x17358f=_0x120193;for(var _0x2327df=_0x3d8cc0[_0x17358f(0x2d6)],_0x5f35b9=_0x3d8cc0[_0x17358f(0x2c7)],_0x440163=[],_0x3a9666=0x0;_0x3a9666<_0x5f35b9;_0x3a9666++){var _0x43db6b=_0x2327df[_0x3a9666>>>0x2]>>>0x18-_0x3a9666%0x4*0x8&0xff;_0x440163['push'](String[_0x17358f(0x360)](_0x43db6b));}return _0x440163[_0x17358f(0x3a4)]('');},'parse':function(_0x29987c){const _0x446e5b=_0x120193;for(var _0x3cd249=_0x29987c['length'],_0x344d26=[],_0x4ac81b=0x0;_0x4ac81b<_0x3cd249;_0x4ac81b++)_0x344d26[_0x4ac81b>>>0x2]|=(_0x29987c[_0x446e5b(0x256)](_0x4ac81b)&0xff)<<0x18-_0x4ac81b%0x4*0x8;return new _0x7ba536[(_0x446e5b(0x4ed))](_0x344d26,_0x3cd249);}},_0x4ab15e=_0x25d875[_0x120193(0x154)]={'stringify':function(_0x48311a){const _0x80ac75=_0x120193;try{return decodeURIComponent(escape(_0x398fb5[_0x80ac75(0x1f7)](_0x48311a)));}catch{throw Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x857292){const _0x17ceb7=_0x120193;return _0x398fb5[_0x17ceb7(0x382)](unescape(encodeURIComponent(_0x857292)));}},_0x4395eb=_0x4d972e['BufferedBlockAlgorithm']=_0x3652c8['extend']({'reset':function(){const _0xce9e76=_0x120193;this[_0xce9e76(0x203)]=new _0x7ba536[(_0xce9e76(0x4ed))](),this[_0xce9e76(0x226)]=0x0;},'_append':function(_0x5860c0){const _0xc8bb=_0x120193;typeof _0x5860c0=='string'&&(_0x5860c0=_0x4ab15e[_0xc8bb(0x382)](_0x5860c0)),this[_0xc8bb(0x203)][_0xc8bb(0x2b1)](_0x5860c0),this['_nDataBytes']+=_0x5860c0[_0xc8bb(0x2c7)];},'_process':function(_0x59925e){const _0x13d644=_0x120193;var _0x515c41,_0x321b13=this['_data'],_0x14b4dc=_0x321b13[_0x13d644(0x2d6)],_0xdd9414=_0x321b13[_0x13d644(0x2c7)],_0x5c4ae8=this['blockSize'],_0x48efb5=_0xdd9414/(_0x5c4ae8*0x4);_0x48efb5=_0x59925e?_0x14113a['ceil'](_0x48efb5):_0x14113a[_0x13d644(0x3d4)]((_0x48efb5|0x0)-this[_0x13d644(0x1eb)],0x0);var _0x4541b7=_0x48efb5*_0x5c4ae8,_0x114898=_0x14113a[_0x13d644(0x41c)](_0x4541b7*0x4,_0xdd9414);if(_0x4541b7){for(var _0x4a141e=0x0;_0x4a141e<_0x4541b7;_0x4a141e+=_0x5c4ae8)this[_0x13d644(0x34b)](_0x14b4dc,_0x4a141e);_0x515c41=_0x14b4dc[_0x13d644(0x2ff)](0x0,_0x4541b7),_0x321b13[_0x13d644(0x2c7)]-=_0x114898;}return new _0x7ba536[(_0x13d644(0x4ed))](_0x515c41,_0x114898);},'clone':function(){const _0x49e640=_0x120193;var _0x42eb66=_0x3652c8[_0x49e640(0x4a4)][_0x49e640(0x48c)](this);return _0x42eb66[_0x49e640(0x203)]=this[_0x49e640(0x203)][_0x49e640(0x4a4)](),_0x42eb66;},'_minBufferSize':0x0});_0x4d972e[_0x120193(0x1e5)]=_0x4395eb[_0x120193(0x287)]({'cfg':_0x3652c8[_0x120193(0x287)](),'init':function(_0x644664){const _0x257d76=_0x120193;this['cfg']=this['cfg'][_0x257d76(0x287)](_0x644664),this[_0x257d76(0x460)]();},'reset':function(){const _0x13215b=_0x120193;_0x4395eb[_0x13215b(0x460)][_0x13215b(0x48c)](this),this[_0x13215b(0x259)]();},'update':function(_0x95df63){const _0x5447e5=_0x120193;return this['_append'](_0x95df63),this[_0x5447e5(0x3e2)](),this;},'finalize':function(_0x58ee67){const _0x182100=_0x120193;return _0x58ee67&&this[_0x182100(0x2cf)](_0x58ee67),this[_0x182100(0x220)]();},'blockSize':0x200/0x20,'_createHelper':function(_0x10b820){return function(_0x40dc3f,_0x4ba8c5){const _0x329089=_0x2f25;return new _0x10b820['init'](_0x4ba8c5)[_0x329089(0x412)](_0x40dc3f);};},'_createHmacHelper':function(_0x33abc2){return function(_0x32411f,_0x3aaf71){const _0x25594e=_0x2f25;return new _0x3fdf5c['HMAC'][(_0x25594e(0x4ed))](_0x33abc2,_0x3aaf71)[_0x25594e(0x412)](_0x32411f);};}});var _0x3fdf5c=_0x336614[_0x120193(0x214)]={};return _0x336614;}(Math);return _0x28f5fe;}));}),_0x2096e9=_0x5841b6((_0x17fd23,_0x1bb272)=>{(function(_0x3a051a,_0x2888e1){const _0x2a1468=_0x2f25;typeof _0x17fd23==_0x2a1468(0x2cd)?_0x1bb272[_0x2a1468(0x19d)]=_0x17fd23=_0x2888e1(_0x46bfe1()):typeof define==_0x2a1468(0x4f0)&&define[_0x2a1468(0x2d8)]?define([_0x2a1468(0x414)],_0x2888e1):_0x2888e1(_0x3a051a[_0x2a1468(0x1ee)]);}(_0x17fd23,function(_0x12d5dd){const _0x44e94f=_0x2f25;return(function(){const _0x53a4a5=_0x2f25;var _0x3f5145=_0x12d5dd,_0x2bf9b8=_0x3f5145[_0x53a4a5(0x27e)][_0x53a4a5(0x23a)],_0x343936=_0x3f5145['enc'];_0x343936[_0x53a4a5(0x240)]={'stringify':function(_0x41ad7c){const _0x3ec949=_0x53a4a5;var _0x1f4eb9=_0x41ad7c[_0x3ec949(0x2d6)],_0x4f0c97=_0x41ad7c[_0x3ec949(0x2c7)],_0x4e83a6=this[_0x3ec949(0x176)];_0x41ad7c[_0x3ec949(0x21f)]();for(var _0x244e52=[],_0x1dcff7=0x0;_0x1dcff7<_0x4f0c97;_0x1dcff7+=0x3)for(var _0x43b8f9=_0x1f4eb9[_0x1dcff7>>>0x2]>>>0x18-_0x1dcff7%0x4*0x8&0xff,_0xd24ce4=_0x1f4eb9[_0x1dcff7+0x1>>>0x2]>>>0x18-(_0x1dcff7+0x1)%0x4*0x8&0xff,_0x5b5fa6=_0x1f4eb9[_0x1dcff7+0x2>>>0x2]>>>0x18-(_0x1dcff7+0x2)%0x4*0x8&0xff,_0x3955e3=_0x43b8f9<<0x10|_0xd24ce4<<0x8|_0x5b5fa6,_0x521067=0x0;_0x521067<0x4&&_0x1dcff7+_0x521067*0.75<_0x4f0c97;_0x521067++)_0x244e52[_0x3ec949(0x221)](_0x4e83a6['charAt'](_0x3955e3>>>0x6*(0x3-_0x521067)&0x3f));var _0x16b952=_0x4e83a6[_0x3ec949(0x418)](0x40);if(_0x16b952){for(;_0x244e52[_0x3ec949(0x1a3)]%0x4;)_0x244e52['push'](_0x16b952);}return _0x244e52[_0x3ec949(0x3a4)]('');},'parse':function(_0x7a1972){const _0x247bbb=_0x53a4a5;var _0x2c151d=_0x7a1972[_0x247bbb(0x1a3)],_0xe3b04d=this['_map'],_0x11f23b=this['_reverseMap'];if(!_0x11f23b){_0x11f23b=this['_reverseMap']=[];for(var _0x51325c=0x0;_0x51325c<_0xe3b04d[_0x247bbb(0x1a3)];_0x51325c++)_0x11f23b[_0xe3b04d[_0x247bbb(0x256)](_0x51325c)]=_0x51325c;}var _0x5219b9=_0xe3b04d[_0x247bbb(0x418)](0x40);if(_0x5219b9){var _0x207e84=_0x7a1972['indexOf'](_0x5219b9);_0x207e84!==-0x1&&(_0x2c151d=_0x207e84);}return _0x2b9682(_0x7a1972,_0x2c151d,_0x11f23b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2b9682(_0x4d4dff,_0x530bb1,_0x297fbe){const _0x5e4279=_0x53a4a5;for(var _0x2a9505=[],_0x307d9a=0x0,_0x44ae61=0x0;_0x44ae61<_0x530bb1;_0x44ae61++)if(_0x44ae61%0x4){var _0x2d776a=_0x297fbe[_0x4d4dff[_0x5e4279(0x256)](_0x44ae61-0x1)]<<_0x44ae61%0x4*0x2|_0x297fbe[_0x4d4dff['charCodeAt'](_0x44ae61)]>>>0x6-_0x44ae61%0x4*0x2;_0x2a9505[_0x307d9a>>>0x2]|=_0x2d776a<<0x18-_0x307d9a%0x4*0x8,_0x307d9a++;}return _0x2bf9b8[_0x5e4279(0x434)](_0x2a9505,_0x307d9a);}}()),_0x12d5dd[_0x44e94f(0x281)][_0x44e94f(0x240)];}));}),_0x486abd=_0x5841b6((_0x1c1b88,_0x41d371)=>{(function(_0x2e8cbd,_0x530452){const _0x481cf6=_0x2f25;typeof _0x1c1b88=='object'?_0x41d371[_0x481cf6(0x19d)]=_0x1c1b88=_0x530452(_0x46bfe1()):typeof define==_0x481cf6(0x4f0)&&define[_0x481cf6(0x2d8)]?define(['./core'],_0x530452):_0x530452(_0x2e8cbd[_0x481cf6(0x1ee)]);}(_0x1c1b88,function(_0x278035){return function(_0x43d75e){const _0x5a2e5a=_0x2f25;var _0x2f6fa3=_0x278035,_0x3e968a=_0x2f6fa3['lib'],_0xaf34bf=_0x3e968a[_0x5a2e5a(0x23a)],_0x3bcf80=_0x3e968a[_0x5a2e5a(0x1e5)],_0x58ac7a=_0x2f6fa3[_0x5a2e5a(0x214)],_0x5bc57a=[];(function(){const _0x3f6276=_0x5a2e5a;for(var _0x16c429=0x0;_0x16c429<0x40;_0x16c429++)_0x5bc57a[_0x16c429]=_0x43d75e[_0x3f6276(0x1f0)](_0x43d75e[_0x3f6276(0x30a)](_0x16c429+0x1))*0x100000000|0x0;}());var _0x28905d=_0x58ac7a[_0x5a2e5a(0x46f)]=_0x3bcf80['extend']({'_doReset':function(){const _0x260e01=_0x5a2e5a;this[_0x260e01(0x17b)]=new _0xaf34bf[(_0x260e01(0x4ed))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ca848,_0x22847a){const _0x3056b1=_0x5a2e5a;for(var _0x1c03a2=0x0;_0x1c03a2<0x10;_0x1c03a2++){var _0x10d9f9=_0x22847a+_0x1c03a2,_0x22f6f1=_0x1ca848[_0x10d9f9];_0x1ca848[_0x10d9f9]=(_0x22f6f1<<0x8|_0x22f6f1>>>0x18)&0xff00ff|(_0x22f6f1<<0x18|_0x22f6f1>>>0x8)&0xff00ff00;}var _0x5e19bc=this[_0x3056b1(0x17b)][_0x3056b1(0x2d6)],_0x2afc26=_0x1ca848[_0x22847a+0x0],_0x4c94ed=_0x1ca848[_0x22847a+0x1],_0x15c969=_0x1ca848[_0x22847a+0x2],_0x8ffb16=_0x1ca848[_0x22847a+0x3],_0x14f5e8=_0x1ca848[_0x22847a+0x4],_0x23d5ad=_0x1ca848[_0x22847a+0x5],_0x39cf59=_0x1ca848[_0x22847a+0x6],_0x2ff9fa=_0x1ca848[_0x22847a+0x7],_0x5793fe=_0x1ca848[_0x22847a+0x8],_0x2adde9=_0x1ca848[_0x22847a+0x9],_0x303445=_0x1ca848[_0x22847a+0xa],_0xd7cbe9=_0x1ca848[_0x22847a+0xb],_0x58835d=_0x1ca848[_0x22847a+0xc],_0x4e801c=_0x1ca848[_0x22847a+0xd],_0x2128e9=_0x1ca848[_0x22847a+0xe],_0x37ae24=_0x1ca848[_0x22847a+0xf],_0xb2524a=_0x5e19bc[0x0],_0x215d28=_0x5e19bc[0x1],_0x4452f1=_0x5e19bc[0x2],_0x3a3751=_0x5e19bc[0x3];_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2afc26,0x7,_0x5bc57a[0x0]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x4c94ed,0xc,_0x5bc57a[0x1]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x15c969,0x11,_0x5bc57a[0x2]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x8ffb16,0x16,_0x5bc57a[0x3]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x14f5e8,0x7,_0x5bc57a[0x4]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x23d5ad,0xc,_0x5bc57a[0x5]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x39cf59,0x11,_0x5bc57a[0x6]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2ff9fa,0x16,_0x5bc57a[0x7]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x5793fe,0x7,_0x5bc57a[0x8]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2adde9,0xc,_0x5bc57a[0x9]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x303445,0x11,_0x5bc57a[0xa]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0xd7cbe9,0x16,_0x5bc57a[0xb]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x58835d,0x7,_0x5bc57a[0xc]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x4e801c,0xc,_0x5bc57a[0xd]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2128e9,0x11,_0x5bc57a[0xe]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x37ae24,0x16,_0x5bc57a[0xf]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4c94ed,0x5,_0x5bc57a[0x10]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x39cf59,0x9,_0x5bc57a[0x11]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0xd7cbe9,0xe,_0x5bc57a[0x12]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2afc26,0x14,_0x5bc57a[0x13]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x23d5ad,0x5,_0x5bc57a[0x14]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x303445,0x9,_0x5bc57a[0x15]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x37ae24,0xe,_0x5bc57a[0x16]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x14f5e8,0x14,_0x5bc57a[0x17]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2adde9,0x5,_0x5bc57a[0x18]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2128e9,0x9,_0x5bc57a[0x19]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x8ffb16,0xe,_0x5bc57a[0x1a]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x5793fe,0x14,_0x5bc57a[0x1b]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4e801c,0x5,_0x5bc57a[0x1c]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x15c969,0x9,_0x5bc57a[0x1d]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2ff9fa,0xe,_0x5bc57a[0x1e]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x58835d,0x14,_0x5bc57a[0x1f]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x23d5ad,0x4,_0x5bc57a[0x20]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x5793fe,0xb,_0x5bc57a[0x21]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0xd7cbe9,0x10,_0x5bc57a[0x22]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2128e9,0x17,_0x5bc57a[0x23]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4c94ed,0x4,_0x5bc57a[0x24]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x14f5e8,0xb,_0x5bc57a[0x25]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2ff9fa,0x10,_0x5bc57a[0x26]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x303445,0x17,_0x5bc57a[0x27]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4e801c,0x4,_0x5bc57a[0x28]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2afc26,0xb,_0x5bc57a[0x29]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x8ffb16,0x10,_0x5bc57a[0x2a]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x39cf59,0x17,_0x5bc57a[0x2b]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2adde9,0x4,_0x5bc57a[0x2c]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x58835d,0xb,_0x5bc57a[0x2d]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x37ae24,0x10,_0x5bc57a[0x2e]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x15c969,0x17,_0x5bc57a[0x2f]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2afc26,0x6,_0x5bc57a[0x30]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2ff9fa,0xa,_0x5bc57a[0x31]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2128e9,0xf,_0x5bc57a[0x32]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x23d5ad,0x15,_0x5bc57a[0x33]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x58835d,0x6,_0x5bc57a[0x34]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x8ffb16,0xa,_0x5bc57a[0x35]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x303445,0xf,_0x5bc57a[0x36]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x4c94ed,0x15,_0x5bc57a[0x37]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x5793fe,0x6,_0x5bc57a[0x38]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x37ae24,0xa,_0x5bc57a[0x39]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x39cf59,0xf,_0x5bc57a[0x3a]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x4e801c,0x15,_0x5bc57a[0x3b]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x14f5e8,0x6,_0x5bc57a[0x3c]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0xd7cbe9,0xa,_0x5bc57a[0x3d]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x15c969,0xf,_0x5bc57a[0x3e]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2adde9,0x15,_0x5bc57a[0x3f]),_0x5e19bc[0x0]=_0x5e19bc[0x0]+_0xb2524a|0x0,_0x5e19bc[0x1]=_0x5e19bc[0x1]+_0x215d28|0x0,_0x5e19bc[0x2]=_0x5e19bc[0x2]+_0x4452f1|0x0,_0x5e19bc[0x3]=_0x5e19bc[0x3]+_0x3a3751|0x0;},'_doFinalize':function(){const _0x3a031f=_0x5a2e5a;var _0x39ef5c=this[_0x3a031f(0x203)],_0x2c5f0d=_0x39ef5c[_0x3a031f(0x2d6)],_0x211df0=this[_0x3a031f(0x226)]*0x8,_0x18e49f=_0x39ef5c[_0x3a031f(0x2c7)]*0x8;_0x2c5f0d[_0x18e49f>>>0x5]|=0x80<<0x18-_0x18e49f%0x20;var _0x15d4f3=_0x43d75e[_0x3a031f(0x419)](_0x211df0/0x100000000),_0x62653a=_0x211df0;_0x2c5f0d[(_0x18e49f+0x40>>>0x9<<0x4)+0xf]=(_0x15d4f3<<0x8|_0x15d4f3>>>0x18)&0xff00ff|(_0x15d4f3<<0x18|_0x15d4f3>>>0x8)&0xff00ff00,_0x2c5f0d[(_0x18e49f+0x40>>>0x9<<0x4)+0xe]=(_0x62653a<<0x8|_0x62653a>>>0x18)&0xff00ff|(_0x62653a<<0x18|_0x62653a>>>0x8)&0xff00ff00,_0x39ef5c['sigBytes']=(_0x2c5f0d[_0x3a031f(0x1a3)]+0x1)*0x4,this['_process']();for(var _0x212ae3=this[_0x3a031f(0x17b)],_0x245cf7=_0x212ae3[_0x3a031f(0x2d6)],_0x348abb=0x0;_0x348abb<0x4;_0x348abb++){var _0x45fc0d=_0x245cf7[_0x348abb];_0x245cf7[_0x348abb]=(_0x45fc0d<<0x8|_0x45fc0d>>>0x18)&0xff00ff|(_0x45fc0d<<0x18|_0x45fc0d>>>0x8)&0xff00ff00;}return _0x212ae3;},'clone':function(){const _0x5d4814=_0x5a2e5a;var _0x174017=_0x3bcf80['clone'][_0x5d4814(0x48c)](this);return _0x174017['_hash']=this[_0x5d4814(0x17b)][_0x5d4814(0x4a4)](),_0x174017;}});function _0x2bb9ad(_0x318e2e,_0x583974,_0x2564cd,_0x5a8262,_0x11032f,_0x2cce82,_0x1690e0){var _0x5ee733=_0x318e2e+(_0x583974&_0x2564cd|~_0x583974&_0x5a8262)+_0x11032f+_0x1690e0;return(_0x5ee733<<_0x2cce82|_0x5ee733>>>0x20-_0x2cce82)+_0x583974;}function _0x4f03ad(_0x13bc79,_0x271be9,_0x59484f,_0x3d26c7,_0x5336dd,_0x490cf6,_0x41c3e7){var _0x372d99=_0x13bc79+(_0x271be9&_0x3d26c7|_0x59484f&~_0x3d26c7)+_0x5336dd+_0x41c3e7;return(_0x372d99<<_0x490cf6|_0x372d99>>>0x20-_0x490cf6)+_0x271be9;}function _0x4cfadd(_0x3a260f,_0x126e03,_0x329c8a,_0x6fa85b,_0x1144c6,_0x5aab70,_0x302c73){var _0x3753f2=_0x3a260f+(_0x126e03^_0x329c8a^_0x6fa85b)+_0x1144c6+_0x302c73;return(_0x3753f2<<_0x5aab70|_0x3753f2>>>0x20-_0x5aab70)+_0x126e03;}function _0x5c5f55(_0x5236c9,_0x187e00,_0x594da9,_0x3cc0b6,_0x4f8e70,_0x1788f4,_0x47319e){var _0x257d15=_0x5236c9+(_0x594da9^(_0x187e00|~_0x3cc0b6))+_0x4f8e70+_0x47319e;return(_0x257d15<<_0x1788f4|_0x257d15>>>0x20-_0x1788f4)+_0x187e00;}_0x2f6fa3[_0x5a2e5a(0x46f)]=_0x3bcf80[_0x5a2e5a(0x211)](_0x28905d),_0x2f6fa3['HmacMD5']=_0x3bcf80[_0x5a2e5a(0x436)](_0x28905d);}(Math),_0x278035['MD5'];}));}),_0x4090e2=_0x5841b6((_0x35266d,_0x2aa484)=>{(function(_0x58426d,_0x3473e8){const _0x148af6=_0x2f25;typeof _0x35266d==_0x148af6(0x2cd)?_0x2aa484['exports']=_0x35266d=_0x3473e8(_0x46bfe1()):typeof define==_0x148af6(0x4f0)&&define[_0x148af6(0x2d8)]?define([_0x148af6(0x414)],_0x3473e8):_0x3473e8(_0x58426d[_0x148af6(0x1ee)]);}(_0x35266d,function(_0x51322c){const _0x343e96=_0x2f25;return(function(){const _0x3c77d3=_0x2f25;var _0x4e4bbb=_0x51322c,_0x400039=_0x4e4bbb['lib'],_0x4197c9=_0x400039[_0x3c77d3(0x23a)],_0x33c020=_0x400039[_0x3c77d3(0x1e5)],_0x5276dc=_0x4e4bbb[_0x3c77d3(0x214)],_0x28c151=[],_0x9ff724=_0x5276dc[_0x3c77d3(0x4a1)]=_0x33c020[_0x3c77d3(0x287)]({'_doReset':function(){const _0x431a08=_0x3c77d3;this['_hash']=new _0x4197c9[(_0x431a08(0x4ed))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1dd7a7,_0x858371){const _0x309005=_0x3c77d3;for(var _0x1cc545=this[_0x309005(0x17b)][_0x309005(0x2d6)],_0x521634=_0x1cc545[0x0],_0x502d79=_0x1cc545[0x1],_0x5a196a=_0x1cc545[0x2],_0x3accd0=_0x1cc545[0x3],_0x5e6a31=_0x1cc545[0x4],_0x35ffb4=0x0;_0x35ffb4<0x50;_0x35ffb4++){if(_0x35ffb4<0x10)_0x28c151[_0x35ffb4]=_0x1dd7a7[_0x858371+_0x35ffb4]|0x0;else{var _0x53059c=_0x28c151[_0x35ffb4-0x3]^_0x28c151[_0x35ffb4-0x8]^_0x28c151[_0x35ffb4-0xe]^_0x28c151[_0x35ffb4-0x10];_0x28c151[_0x35ffb4]=_0x53059c<<0x1|_0x53059c>>>0x1f;}var _0x56bb14=(_0x521634<<0x5|_0x521634>>>0x1b)+_0x5e6a31+_0x28c151[_0x35ffb4];_0x35ffb4<0x14?_0x56bb14+=(_0x502d79&_0x5a196a|~_0x502d79&_0x3accd0)+0x5a827999:_0x35ffb4<0x28?_0x56bb14+=(_0x502d79^_0x5a196a^_0x3accd0)+0x6ed9eba1:_0x35ffb4<0x3c?_0x56bb14+=(_0x502d79&_0x5a196a|_0x502d79&_0x3accd0|_0x5a196a&_0x3accd0)-0x70e44324:_0x56bb14+=(_0x502d79^_0x5a196a^_0x3accd0)-0x359d3e2a,_0x5e6a31=_0x3accd0,_0x3accd0=_0x5a196a,_0x5a196a=_0x502d79<<0x1e|_0x502d79>>>0x2,_0x502d79=_0x521634,_0x521634=_0x56bb14;}_0x1cc545[0x0]=_0x1cc545[0x0]+_0x521634|0x0,_0x1cc545[0x1]=_0x1cc545[0x1]+_0x502d79|0x0,_0x1cc545[0x2]=_0x1cc545[0x2]+_0x5a196a|0x0,_0x1cc545[0x3]=_0x1cc545[0x3]+_0x3accd0|0x0,_0x1cc545[0x4]=_0x1cc545[0x4]+_0x5e6a31|0x0;},'_doFinalize':function(){const _0x3e540d=_0x3c77d3;var _0x58d11c=this['_data'],_0x43da01=_0x58d11c[_0x3e540d(0x2d6)],_0x29b0a9=this[_0x3e540d(0x226)]*0x8,_0x238f32=_0x58d11c[_0x3e540d(0x2c7)]*0x8;return _0x43da01[_0x238f32>>>0x5]|=0x80<<0x18-_0x238f32%0x20,_0x43da01[(_0x238f32+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e540d(0x419)](_0x29b0a9/0x100000000),_0x43da01[(_0x238f32+0x40>>>0x9<<0x4)+0xf]=_0x29b0a9,_0x58d11c[_0x3e540d(0x2c7)]=_0x43da01[_0x3e540d(0x1a3)]*0x4,this['_process'](),this[_0x3e540d(0x17b)];},'clone':function(){const _0x1fc73b=_0x3c77d3;var _0x222d35=_0x33c020['clone']['call'](this);return _0x222d35[_0x1fc73b(0x17b)]=this[_0x1fc73b(0x17b)][_0x1fc73b(0x4a4)](),_0x222d35;}});_0x4e4bbb[_0x3c77d3(0x4a1)]=_0x33c020[_0x3c77d3(0x211)](_0x9ff724),_0x4e4bbb[_0x3c77d3(0x1f5)]=_0x33c020[_0x3c77d3(0x436)](_0x9ff724);}()),_0x51322c[_0x343e96(0x4a1)];}));}),_0x3beb81=_0x5841b6((_0x2a0bf7,_0xab207f)=>{(function(_0x52e620,_0x2c9200){const _0x375965=_0x2f25;typeof _0x2a0bf7=='object'?_0xab207f[_0x375965(0x19d)]=_0x2a0bf7=_0x2c9200(_0x46bfe1()):typeof define==_0x375965(0x4f0)&&define[_0x375965(0x2d8)]?define(['./core'],_0x2c9200):_0x2c9200(_0x52e620[_0x375965(0x1ee)]);}(_0x2a0bf7,function(_0xb661fd){(function(){const _0x30205c=_0x2f25;var _0x483200=_0xb661fd,_0x492964=_0x483200[_0x30205c(0x27e)][_0x30205c(0x15f)],_0x47a1a8=_0x483200[_0x30205c(0x281)][_0x30205c(0x154)],_0x4d615a=_0x483200[_0x30205c(0x214)];_0x4d615a[_0x30205c(0x466)]=_0x492964[_0x30205c(0x287)]({'init':function(_0x249972,_0x49771c){const _0x19291e=_0x30205c;_0x249972=this[_0x19291e(0x439)]=new _0x249972[(_0x19291e(0x4ed))](),typeof _0x49771c==_0x19291e(0x3e4)&&(_0x49771c=_0x47a1a8['parse'](_0x49771c));var _0x7b483a=_0x249972[_0x19291e(0x44f)],_0x425ddf=_0x7b483a*0x4;_0x49771c[_0x19291e(0x2c7)]>_0x425ddf&&(_0x49771c=_0x249972['finalize'](_0x49771c)),_0x49771c[_0x19291e(0x21f)]();for(var _0xff25ff=this[_0x19291e(0x487)]=_0x49771c[_0x19291e(0x4a4)](),_0x1ceacf=this['_iKey']=_0x49771c['clone'](),_0x199971=_0xff25ff[_0x19291e(0x2d6)],_0x573afc=_0x1ceacf[_0x19291e(0x2d6)],_0x1af592=0x0;_0x1af592<_0x7b483a;_0x1af592++)_0x199971[_0x1af592]^=0x5c5c5c5c,_0x573afc[_0x1af592]^=0x36363636;_0xff25ff[_0x19291e(0x2c7)]=_0x1ceacf[_0x19291e(0x2c7)]=_0x425ddf,this[_0x19291e(0x460)]();},'reset':function(){const _0x5a1d99=_0x30205c;var _0x2efc40=this[_0x5a1d99(0x439)];_0x2efc40[_0x5a1d99(0x460)](),_0x2efc40[_0x5a1d99(0x192)](this[_0x5a1d99(0x249)]);},'update':function(_0x24231b){const _0x1cfa2c=_0x30205c;return this[_0x1cfa2c(0x439)][_0x1cfa2c(0x192)](_0x24231b),this;},'finalize':function(_0x3ba864){const _0x29869f=_0x30205c;var _0x468576=this['_hasher'],_0x2bb85e=_0x468576['finalize'](_0x3ba864);return _0x468576[_0x29869f(0x460)](),_0x468576[_0x29869f(0x412)](this[_0x29869f(0x487)][_0x29869f(0x4a4)]()[_0x29869f(0x2b1)](_0x2bb85e));}});}());}));}),_0x49e176=_0x5841b6((_0xcd0fa0,_0x12c666)=>{(function(_0x1220e2,_0x42ba78,_0x2ab387){const _0x40dc26=_0x2f25;typeof _0xcd0fa0==_0x40dc26(0x2cd)?_0x12c666[_0x40dc26(0x19d)]=_0xcd0fa0=_0x42ba78(_0x46bfe1(),_0x4090e2(),_0x3beb81()):typeof define=='function'&&define[_0x40dc26(0x2d8)]?define([_0x40dc26(0x414),_0x40dc26(0x49b),_0x40dc26(0x40e)],_0x42ba78):_0x42ba78(_0x1220e2[_0x40dc26(0x1ee)]);}(_0xcd0fa0,function(_0x1494bd){const _0x6a5f07=_0x2f25;return(function(){const _0x2a7754=_0x2f25;var _0x144f19=_0x1494bd,_0x1f3e25=_0x144f19['lib'],_0x5e77ce=_0x1f3e25[_0x2a7754(0x15f)],_0x5c7b11=_0x1f3e25[_0x2a7754(0x23a)],_0x155356=_0x144f19[_0x2a7754(0x214)],_0x548a4f=_0x155356['MD5'],_0x32f090=_0x155356['EvpKDF']=_0x5e77ce['extend']({'cfg':_0x5e77ce[_0x2a7754(0x287)]({'keySize':0x80/0x20,'hasher':_0x548a4f,'iterations':0x1}),'init':function(_0x2be604){const _0x2e604b=_0x2a7754;this[_0x2e604b(0x30c)]=this[_0x2e604b(0x30c)][_0x2e604b(0x287)](_0x2be604);},'compute':function(_0x2ed113,_0x729c79){const _0x48a407=_0x2a7754;for(var _0x40e8fc,_0x54f5e7=this[_0x48a407(0x30c)],_0x480091=_0x54f5e7[_0x48a407(0x1ef)][_0x48a407(0x434)](),_0x4532ed=_0x5c7b11[_0x48a407(0x434)](),_0x4774a3=_0x4532ed[_0x48a407(0x2d6)],_0xb9f78c=_0x54f5e7['keySize'],_0x393266=_0x54f5e7[_0x48a407(0x150)];_0x4774a3[_0x48a407(0x1a3)]<_0xb9f78c;){_0x40e8fc&&_0x480091[_0x48a407(0x192)](_0x40e8fc),_0x40e8fc=_0x480091[_0x48a407(0x192)](_0x2ed113)['finalize'](_0x729c79),_0x480091[_0x48a407(0x460)]();for(var _0x1ca4b5=0x1;_0x1ca4b5<_0x393266;_0x1ca4b5++)_0x40e8fc=_0x480091['finalize'](_0x40e8fc),_0x480091[_0x48a407(0x460)]();_0x4532ed[_0x48a407(0x2b1)](_0x40e8fc);}return _0x4532ed[_0x48a407(0x2c7)]=_0xb9f78c*0x4,_0x4532ed;}});_0x144f19[_0x2a7754(0x451)]=function(_0x4e6365,_0x1905ce,_0x229718){const _0x5acc57=_0x2a7754;return _0x32f090['create'](_0x229718)[_0x5acc57(0x3ae)](_0x4e6365,_0x1905ce);};}()),_0x1494bd[_0x6a5f07(0x451)];}));}),_0x30dad6=_0x5841b6((_0x4d3be4,_0x779a0f)=>{(function(_0x20614a,_0x1a9021,_0x3ea25d){const _0x3b1435=_0x2f25;typeof _0x4d3be4==_0x3b1435(0x2cd)?_0x779a0f[_0x3b1435(0x19d)]=_0x4d3be4=_0x1a9021(_0x46bfe1(),_0x49e176()):typeof define==_0x3b1435(0x4f0)&&define['amd']?define([_0x3b1435(0x414),_0x3b1435(0x20b)],_0x1a9021):_0x1a9021(_0x20614a[_0x3b1435(0x1ee)]);}(_0x4d3be4,function(_0x4024ad){_0x4024ad['lib']['Cipher']||function(_0x299668){const _0x564874=_0x2f25;var _0x39014a=_0x4024ad,_0x5e459f=_0x39014a[_0x564874(0x27e)],_0x389aad=_0x5e459f[_0x564874(0x15f)],_0x13369=_0x5e459f[_0x564874(0x23a)],_0xd653f8=_0x5e459f[_0x564874(0x26a)],_0x1a617f=_0x39014a[_0x564874(0x281)];_0x1a617f[_0x564874(0x154)];var _0x3ee2f8=_0x1a617f[_0x564874(0x240)],_0x350659=_0x39014a[_0x564874(0x214)]['EvpKDF'],_0xc7810=_0x5e459f[_0x564874(0x2d3)]=_0xd653f8[_0x564874(0x287)]({'cfg':_0x389aad['extend'](),'createEncryptor':function(_0x5705e6,_0x4f69cf){const _0x2d191c=_0x564874;return this[_0x2d191c(0x434)](this['_ENC_XFORM_MODE'],_0x5705e6,_0x4f69cf);},'createDecryptor':function(_0x5dd83d,_0x35fe08){const _0x191ebd=_0x564874;return this['create'](this[_0x191ebd(0x2f1)],_0x5dd83d,_0x35fe08);},'init':function(_0x27f27f,_0x418835,_0x32d454){const _0x183c0d=_0x564874;this[_0x183c0d(0x30c)]=this[_0x183c0d(0x30c)][_0x183c0d(0x287)](_0x32d454),this['_xformMode']=_0x27f27f,this[_0x183c0d(0x3ac)]=_0x418835,this['reset']();},'reset':function(){const _0x11c7e2=_0x564874;_0xd653f8[_0x11c7e2(0x460)][_0x11c7e2(0x48c)](this),this['_doReset']();},'process':function(_0x4e146d){const _0x4e8309=_0x564874;return this[_0x4e8309(0x2cf)](_0x4e146d),this[_0x4e8309(0x3e2)]();},'finalize':function(_0xeeafe2){const _0x416cd0=_0x564874;return _0xeeafe2&&this[_0x416cd0(0x2cf)](_0xeeafe2),this['_doFinalize']();},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3c4099(_0x558d3f){const _0x1c7227=_0x2f25;return typeof _0x558d3f==_0x1c7227(0x3e4)?_0x51f6b3:_0x1e97ed;}return function(_0x477cb6){return{'encrypt':function(_0x3141b4,_0x3c76a9,_0x34ab0a){const _0x4b798a=_0x2f25;return _0x3c4099(_0x3c76a9)[_0x4b798a(0x40d)](_0x477cb6,_0x3141b4,_0x3c76a9,_0x34ab0a);},'decrypt':function(_0x2f9347,_0x248096,_0x41afd1){const _0x563ded=_0x2f25;return _0x3c4099(_0x248096)[_0x563ded(0x40c)](_0x477cb6,_0x2f9347,_0x248096,_0x41afd1);}};};}())});_0x5e459f[_0x564874(0x182)]=_0xc7810['extend']({'_doFinalize':function(){return this['_process'](!0x0);},'blockSize':0x1});var _0x597e30=_0x39014a['mode']={},_0x8ed904=_0x5e459f[_0x564874(0x2d1)]=_0x389aad['extend']({'createEncryptor':function(_0x5038da,_0xcbde4f){const _0x2bff42=_0x564874;return this[_0x2bff42(0x29b)][_0x2bff42(0x434)](_0x5038da,_0xcbde4f);},'createDecryptor':function(_0x5336ac,_0x5d20b1){const _0x524603=_0x564874;return this[_0x524603(0x1c7)][_0x524603(0x434)](_0x5336ac,_0x5d20b1);},'init':function(_0x30d159,_0x3e17d2){const _0x4c85de=_0x564874;this[_0x4c85de(0x24c)]=_0x30d159,this[_0x4c85de(0x476)]=_0x3e17d2;}}),_0x30a061=_0x597e30[_0x564874(0x46a)]=(function(){const _0x4013ca=_0x564874;var _0xdd62f8=_0x8ed904[_0x4013ca(0x287)]();_0xdd62f8[_0x4013ca(0x29b)]=_0xdd62f8[_0x4013ca(0x287)]({'processBlock':function(_0x188465,_0x3f01ca){const _0xa89210=_0x4013ca;var _0x30cb47=this[_0xa89210(0x24c)],_0xa7a97f=_0x30cb47[_0xa89210(0x44f)];_0x150246['call'](this,_0x188465,_0x3f01ca,_0xa7a97f),_0x30cb47[_0xa89210(0x3c1)](_0x188465,_0x3f01ca),this[_0xa89210(0x4c2)]=_0x188465[_0xa89210(0x342)](_0x3f01ca,_0x3f01ca+_0xa7a97f);}}),_0xdd62f8['Decryptor']=_0xdd62f8[_0x4013ca(0x287)]({'processBlock':function(_0x25b50e,_0x5093dc){const _0x5b869e=_0x4013ca;var _0x1fe6ea=this[_0x5b869e(0x24c)],_0x4710e0=_0x1fe6ea[_0x5b869e(0x44f)],_0x3c063a=_0x25b50e[_0x5b869e(0x342)](_0x5093dc,_0x5093dc+_0x4710e0);_0x1fe6ea[_0x5b869e(0x304)](_0x25b50e,_0x5093dc),_0x150246[_0x5b869e(0x48c)](this,_0x25b50e,_0x5093dc,_0x4710e0),this[_0x5b869e(0x4c2)]=_0x3c063a;}});function _0x150246(_0x450ce6,_0x1f8c5e,_0x45c6aa){const _0x13d93a=_0x4013ca;var _0x64f2eb,_0x5db35e=this[_0x13d93a(0x476)];_0x5db35e?(_0x64f2eb=_0x5db35e,this['_iv']=_0x299668):_0x64f2eb=this[_0x13d93a(0x4c2)];for(var _0xf3cd7d=0x0;_0xf3cd7d<_0x45c6aa;_0xf3cd7d++)_0x450ce6[_0x1f8c5e+_0xf3cd7d]^=_0x64f2eb[_0xf3cd7d];}return _0xdd62f8;}()),_0x2fe93e=_0x39014a[_0x564874(0x27a)]={},_0x3a3dbd=_0x2fe93e['Pkcs7']={'pad':function(_0x6c4aad,_0x1fad6b){const _0x58719b=_0x564874;for(var _0xff3537=_0x1fad6b*0x4,_0x570d6c=_0xff3537-_0x6c4aad[_0x58719b(0x2c7)]%_0xff3537,_0x368575=_0x570d6c<<0x18|_0x570d6c<<0x10|_0x570d6c<<0x8|_0x570d6c,_0x44771b=[],_0x21deb5=0x0;_0x21deb5<_0x570d6c;_0x21deb5+=0x4)_0x44771b[_0x58719b(0x221)](_0x368575);var _0x558bc1=_0x13369[_0x58719b(0x434)](_0x44771b,_0x570d6c);_0x6c4aad['concat'](_0x558bc1);},'unpad':function(_0x95c603){const _0x4d23de=_0x564874;var _0x38a8be=_0x95c603['words'][_0x95c603[_0x4d23de(0x2c7)]-0x1>>>0x2]&0xff;_0x95c603[_0x4d23de(0x2c7)]-=_0x38a8be;}};_0x5e459f['BlockCipher']=_0xc7810[_0x564874(0x287)]({'cfg':_0xc7810[_0x564874(0x30c)][_0x564874(0x287)]({'mode':_0x30a061,'padding':_0x3a3dbd}),'reset':function(){const _0x5d6b9e=_0x564874;var _0x59c3be;_0xc7810[_0x5d6b9e(0x460)][_0x5d6b9e(0x48c)](this);var _0x5204b8=this[_0x5d6b9e(0x30c)],_0x3c552f=_0x5204b8['iv'],_0x37e7b2=_0x5204b8['mode'];this[_0x5d6b9e(0x338)]==this[_0x5d6b9e(0x4e3)]?_0x59c3be=_0x37e7b2[_0x5d6b9e(0x48e)]:(_0x59c3be=_0x37e7b2[_0x5d6b9e(0x471)],this[_0x5d6b9e(0x1eb)]=0x1),this[_0x5d6b9e(0x41a)]&&this[_0x5d6b9e(0x41a)][_0x5d6b9e(0x3e6)]==_0x59c3be?this[_0x5d6b9e(0x41a)][_0x5d6b9e(0x4ed)](this,_0x3c552f&&_0x3c552f[_0x5d6b9e(0x2d6)]):(this[_0x5d6b9e(0x41a)]=_0x59c3be[_0x5d6b9e(0x48c)](_0x37e7b2,this,_0x3c552f&&_0x3c552f[_0x5d6b9e(0x2d6)]),this['_mode'][_0x5d6b9e(0x3e6)]=_0x59c3be);},'_doProcessBlock':function(_0x67bc65,_0x1b1804){const _0x2b9216=_0x564874;this[_0x2b9216(0x41a)][_0x2b9216(0x483)](_0x67bc65,_0x1b1804);},'_doFinalize':function(){const _0x581b57=_0x564874;var _0x2eb434,_0x424e19=this[_0x581b57(0x30c)][_0x581b57(0x343)];return this[_0x581b57(0x338)]==this[_0x581b57(0x4e3)]?(_0x424e19['pad'](this[_0x581b57(0x203)],this[_0x581b57(0x44f)]),_0x2eb434=this[_0x581b57(0x3e2)](!0x0)):(_0x2eb434=this[_0x581b57(0x3e2)](!0x0),_0x424e19['unpad'](_0x2eb434)),_0x2eb434;},'blockSize':0x80/0x20});var _0x2c3b29=_0x5e459f[_0x564874(0x39e)]=_0x389aad[_0x564874(0x287)]({'init':function(_0x349581){const _0x3b9604=_0x564874;this[_0x3b9604(0x1fe)](_0x349581);},'toString':function(_0x3427ef){return(_0x3427ef||this['formatter'])['stringify'](this);}}),_0x3a5ba2=_0x39014a['format']={},_0x4f1dc3=_0x3a5ba2[_0x564874(0x386)]={'stringify':function(_0x12479d){const _0x17e08d=_0x564874;var _0xc90fbd,_0x277c92=_0x12479d[_0x17e08d(0x474)],_0x4c3589=_0x12479d['salt'];return _0xc90fbd=_0x4c3589?_0x13369[_0x17e08d(0x434)]([0x53616c74,0x65645f5f])[_0x17e08d(0x2b1)](_0x4c3589)[_0x17e08d(0x2b1)](_0x277c92):_0x277c92,_0xc90fbd['toString'](_0x3ee2f8);},'parse':function(_0xc03bbb){const _0x7fea97=_0x564874;var _0x150274,_0x3feb16=_0x3ee2f8[_0x7fea97(0x382)](_0xc03bbb),_0x29724e=_0x3feb16[_0x7fea97(0x2d6)];return _0x29724e[0x0]==0x53616c74&&_0x29724e[0x1]==0x65645f5f&&(_0x150274=_0x13369[_0x7fea97(0x434)](_0x29724e['slice'](0x2,0x4)),_0x29724e[_0x7fea97(0x2ff)](0x0,0x4),_0x3feb16['sigBytes']-=0x10),_0x2c3b29['create']({'ciphertext':_0x3feb16,'salt':_0x150274});}},_0x1e97ed=_0x5e459f[_0x564874(0x3ec)]=_0x389aad[_0x564874(0x287)]({'cfg':_0x389aad[_0x564874(0x287)]({'format':_0x4f1dc3}),'encrypt':function(_0x240cdf,_0x55ead3,_0x338b1b,_0x25fe43){const _0x24484f=_0x564874;_0x25fe43=this[_0x24484f(0x30c)][_0x24484f(0x287)](_0x25fe43);var _0x125263=_0x240cdf[_0x24484f(0x48e)](_0x338b1b,_0x25fe43),_0x195bed=_0x125263[_0x24484f(0x412)](_0x55ead3),_0x2a0c18=_0x125263['cfg'];return _0x2c3b29[_0x24484f(0x434)]({'ciphertext':_0x195bed,'key':_0x338b1b,'iv':_0x2a0c18['iv'],'algorithm':_0x240cdf,'mode':_0x2a0c18['mode'],'padding':_0x2a0c18[_0x24484f(0x343)],'blockSize':_0x240cdf['blockSize'],'formatter':_0x25fe43[_0x24484f(0x3bd)]});},'decrypt':function(_0x3505ef,_0xff1f7,_0x385887,_0x4077de){const _0x43a42c=_0x564874;return _0x4077de=this[_0x43a42c(0x30c)]['extend'](_0x4077de),_0xff1f7=this[_0x43a42c(0x161)](_0xff1f7,_0x4077de['format']),_0x3505ef[_0x43a42c(0x471)](_0x385887,_0x4077de)['finalize'](_0xff1f7[_0x43a42c(0x474)]);},'_parse':function(_0x50d0bf,_0x414fdc){const _0x51e22a=_0x564874;return typeof _0x50d0bf==_0x51e22a(0x3e4)?_0x414fdc[_0x51e22a(0x382)](_0x50d0bf,this):_0x50d0bf;}}),_0x3efed5=_0x39014a['kdf']={},_0xe74f03=_0x3efed5[_0x564874(0x386)]={'execute':function(_0xcd3dd6,_0x151f7e,_0x43af01,_0x104c31,_0x153b36){const _0x48be11=_0x564874;if(_0x104c31||(_0x104c31=_0x13369[_0x48be11(0x331)](0x40/0x8)),_0x153b36)var _0x3b19e6=_0x350659[_0x48be11(0x434)]({'keySize':_0x151f7e+_0x43af01,'hasher':_0x153b36})[_0x48be11(0x3ae)](_0xcd3dd6,_0x104c31);else var _0x3b19e6=_0x350659[_0x48be11(0x434)]({'keySize':_0x151f7e+_0x43af01})[_0x48be11(0x3ae)](_0xcd3dd6,_0x104c31);var _0x219bb1=_0x13369['create'](_0x3b19e6[_0x48be11(0x2d6)][_0x48be11(0x342)](_0x151f7e),_0x43af01*0x4);return _0x3b19e6[_0x48be11(0x2c7)]=_0x151f7e*0x4,_0x2c3b29[_0x48be11(0x434)]({'key':_0x3b19e6,'iv':_0x219bb1,'salt':_0x104c31});}},_0x51f6b3=_0x5e459f[_0x564874(0x449)]=_0x1e97ed[_0x564874(0x287)]({'cfg':_0x1e97ed['cfg'][_0x564874(0x287)]({'kdf':_0xe74f03}),'encrypt':function(_0x2f6738,_0x345206,_0x974f2b,_0x9fcd83){const _0x140cd7=_0x564874;_0x9fcd83=this[_0x140cd7(0x30c)][_0x140cd7(0x287)](_0x9fcd83);var _0x57729a=_0x9fcd83['kdf'][_0x140cd7(0x3dc)](_0x974f2b,_0x2f6738['keySize'],_0x2f6738[_0x140cd7(0x25f)],_0x9fcd83[_0x140cd7(0x3d0)],_0x9fcd83[_0x140cd7(0x1ef)]);_0x9fcd83['iv']=_0x57729a['iv'];var _0x366eba=_0x1e97ed[_0x140cd7(0x40d)][_0x140cd7(0x48c)](this,_0x2f6738,_0x345206,_0x57729a['key'],_0x9fcd83);return _0x366eba[_0x140cd7(0x1fe)](_0x57729a),_0x366eba;},'decrypt':function(_0x31a386,_0x16609b,_0x14e97f,_0x1f6a7e){const _0x58adbd=_0x564874;_0x1f6a7e=this[_0x58adbd(0x30c)][_0x58adbd(0x287)](_0x1f6a7e),_0x16609b=this['_parse'](_0x16609b,_0x1f6a7e['format']);var _0x54ddad=_0x1f6a7e[_0x58adbd(0x18c)]['execute'](_0x14e97f,_0x31a386[_0x58adbd(0x336)],_0x31a386[_0x58adbd(0x25f)],_0x16609b[_0x58adbd(0x3d0)],_0x1f6a7e[_0x58adbd(0x1ef)]);return _0x1f6a7e['iv']=_0x54ddad['iv'],_0x1e97ed[_0x58adbd(0x40c)]['call'](this,_0x31a386,_0x16609b,_0x54ddad[_0x58adbd(0x224)],_0x1f6a7e);}});}();}));}),_0x57ab38=_0x5841b6((_0x1c127d,_0x5c561a)=>{(function(_0x1bd865,_0x3675c1,_0x3ea3ed){const _0x2ba1e3=_0x2f25;typeof _0x1c127d==_0x2ba1e3(0x2cd)?_0x5c561a[_0x2ba1e3(0x19d)]=_0x1c127d=_0x3675c1(_0x46bfe1(),_0x2096e9(),_0x486abd(),_0x49e176(),_0x30dad6()):typeof define=='function'&&define[_0x2ba1e3(0x2d8)]?define([_0x2ba1e3(0x414),'./enc-base64',_0x2ba1e3(0x3e3),_0x2ba1e3(0x20b),_0x2ba1e3(0x3ef)],_0x3675c1):_0x3675c1(_0x1bd865[_0x2ba1e3(0x1ee)]);}(_0x1c127d,function(_0x18f5f7){const _0x4c82c9=_0x2f25;return(function(){const _0x38e84a=_0x2f25;var _0x400397=_0x18f5f7,_0x1d3959=_0x400397[_0x38e84a(0x27e)][_0x38e84a(0x4cc)],_0x475720=_0x400397[_0x38e84a(0x214)],_0x91bf30=[],_0x383ae3=[],_0x53b130=[],_0x169305=[],_0x3d7939=[],_0xdcf92e=[],_0x1ffa63=[],_0x5880ca=[],_0x432560=[],_0x498214=[];(function(){for(var _0x468acc=[],_0x2f65d0=0x0;_0x2f65d0<0x100;_0x2f65d0++)_0x2f65d0<0x80?_0x468acc[_0x2f65d0]=_0x2f65d0<<0x1:_0x468acc[_0x2f65d0]=_0x2f65d0<<0x1^0x11b;for(var _0x50e557=0x0,_0x548981=0x0,_0x2f65d0=0x0;_0x2f65d0<0x100;_0x2f65d0++){var _0x1ada41=_0x548981^_0x548981<<0x1^_0x548981<<0x2^_0x548981<<0x3^_0x548981<<0x4;_0x1ada41=_0x1ada41>>>0x8^_0x1ada41&0xff^0x63,_0x91bf30[_0x50e557]=_0x1ada41,_0x383ae3[_0x1ada41]=_0x50e557;var _0xa56550=_0x468acc[_0x50e557],_0x12dca7=_0x468acc[_0xa56550],_0x1ff9e9=_0x468acc[_0x12dca7],_0x40faa2=_0x468acc[_0x1ada41]*0x101^_0x1ada41*0x1010100;_0x53b130[_0x50e557]=_0x40faa2<<0x18|_0x40faa2>>>0x8,_0x169305[_0x50e557]=_0x40faa2<<0x10|_0x40faa2>>>0x10,_0x3d7939[_0x50e557]=_0x40faa2<<0x8|_0x40faa2>>>0x18,_0xdcf92e[_0x50e557]=_0x40faa2;var _0x40faa2=_0x1ff9e9*0x1010101^_0x12dca7*0x10001^_0xa56550*0x101^_0x50e557*0x1010100;_0x1ffa63[_0x1ada41]=_0x40faa2<<0x18|_0x40faa2>>>0x8,_0x5880ca[_0x1ada41]=_0x40faa2<<0x10|_0x40faa2>>>0x10,_0x432560[_0x1ada41]=_0x40faa2<<0x8|_0x40faa2>>>0x18,_0x498214[_0x1ada41]=_0x40faa2,_0x50e557?(_0x50e557=_0xa56550^_0x468acc[_0x468acc[_0x468acc[_0x1ff9e9^_0xa56550]]],_0x548981^=_0x468acc[_0x468acc[_0x548981]]):_0x50e557=_0x548981=0x1;}}());var _0x3c258c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bf9a3=_0x475720[_0x38e84a(0x36e)]=_0x1d3959[_0x38e84a(0x287)]({'_doReset':function(){const _0x49cc3d=_0x38e84a;var _0x2bd194;if(!(this[_0x49cc3d(0x4cd)]&&this['_keyPriorReset']===this['_key'])){for(var _0x293fe0=this['_keyPriorReset']=this[_0x49cc3d(0x3ac)],_0x33463d=_0x293fe0['words'],_0x720a15=_0x293fe0[_0x49cc3d(0x2c7)]/0x4,_0x316a1b=((this[_0x49cc3d(0x4cd)]=_0x720a15+0x6)+0x1)*0x4,_0x390ad9=this[_0x49cc3d(0x22f)]=[],_0x21607a=0x0;_0x21607a<_0x316a1b;_0x21607a++)_0x21607a<_0x720a15?_0x390ad9[_0x21607a]=_0x33463d[_0x21607a]:(_0x2bd194=_0x390ad9[_0x21607a-0x1],_0x21607a%_0x720a15?_0x720a15>0x6&&_0x21607a%_0x720a15==0x4&&(_0x2bd194=_0x91bf30[_0x2bd194>>>0x18]<<0x18|_0x91bf30[_0x2bd194>>>0x10&0xff]<<0x10|_0x91bf30[_0x2bd194>>>0x8&0xff]<<0x8|_0x91bf30[_0x2bd194&0xff]):(_0x2bd194=_0x2bd194<<0x8|_0x2bd194>>>0x18,_0x2bd194=_0x91bf30[_0x2bd194>>>0x18]<<0x18|_0x91bf30[_0x2bd194>>>0x10&0xff]<<0x10|_0x91bf30[_0x2bd194>>>0x8&0xff]<<0x8|_0x91bf30[_0x2bd194&0xff],_0x2bd194^=_0x3c258c[_0x21607a/_0x720a15|0x0]<<0x18),_0x390ad9[_0x21607a]=_0x390ad9[_0x21607a-_0x720a15]^_0x2bd194);for(var _0x2d679e=this[_0x49cc3d(0x1bd)]=[],_0x33c94e=0x0;_0x33c94e<_0x316a1b;_0x33c94e++){var _0x21607a=_0x316a1b-_0x33c94e;if(_0x33c94e%0x4)var _0x2bd194=_0x390ad9[_0x21607a];else var _0x2bd194=_0x390ad9[_0x21607a-0x4];_0x33c94e<0x4||_0x21607a<=0x4?_0x2d679e[_0x33c94e]=_0x2bd194:_0x2d679e[_0x33c94e]=_0x1ffa63[_0x91bf30[_0x2bd194>>>0x18]]^_0x5880ca[_0x91bf30[_0x2bd194>>>0x10&0xff]]^_0x432560[_0x91bf30[_0x2bd194>>>0x8&0xff]]^_0x498214[_0x91bf30[_0x2bd194&0xff]];}}},'encryptBlock':function(_0x215df2,_0x342270){const _0x1758b5=_0x38e84a;this[_0x1758b5(0x3e1)](_0x215df2,_0x342270,this[_0x1758b5(0x22f)],_0x53b130,_0x169305,_0x3d7939,_0xdcf92e,_0x91bf30);},'decryptBlock':function(_0x4c8c06,_0x17be20){const _0x2bd0ff=_0x38e84a;var _0x268336=_0x4c8c06[_0x17be20+0x1];_0x4c8c06[_0x17be20+0x1]=_0x4c8c06[_0x17be20+0x3],_0x4c8c06[_0x17be20+0x3]=_0x268336,this[_0x2bd0ff(0x3e1)](_0x4c8c06,_0x17be20,this['_invKeySchedule'],_0x1ffa63,_0x5880ca,_0x432560,_0x498214,_0x383ae3);var _0x268336=_0x4c8c06[_0x17be20+0x1];_0x4c8c06[_0x17be20+0x1]=_0x4c8c06[_0x17be20+0x3],_0x4c8c06[_0x17be20+0x3]=_0x268336;},'_doCryptBlock':function(_0x41f7a2,_0x3fe8c4,_0x59f75a,_0x10a34e,_0x196f9b,_0x119278,_0x44c132,_0x296568){const _0x176c70=_0x38e84a;for(var _0x23be55=this[_0x176c70(0x4cd)],_0x3f9495=_0x41f7a2[_0x3fe8c4]^_0x59f75a[0x0],_0x35db5c=_0x41f7a2[_0x3fe8c4+0x1]^_0x59f75a[0x1],_0x36edc1=_0x41f7a2[_0x3fe8c4+0x2]^_0x59f75a[0x2],_0x4bd8dc=_0x41f7a2[_0x3fe8c4+0x3]^_0x59f75a[0x3],_0x263428=0x4,_0x3f1dad=0x1;_0x3f1dad<_0x23be55;_0x3f1dad++){var _0x26ced7=_0x10a34e[_0x3f9495>>>0x18]^_0x196f9b[_0x35db5c>>>0x10&0xff]^_0x119278[_0x36edc1>>>0x8&0xff]^_0x44c132[_0x4bd8dc&0xff]^_0x59f75a[_0x263428++],_0x39e152=_0x10a34e[_0x35db5c>>>0x18]^_0x196f9b[_0x36edc1>>>0x10&0xff]^_0x119278[_0x4bd8dc>>>0x8&0xff]^_0x44c132[_0x3f9495&0xff]^_0x59f75a[_0x263428++],_0x159967=_0x10a34e[_0x36edc1>>>0x18]^_0x196f9b[_0x4bd8dc>>>0x10&0xff]^_0x119278[_0x3f9495>>>0x8&0xff]^_0x44c132[_0x35db5c&0xff]^_0x59f75a[_0x263428++],_0xdcac31=_0x10a34e[_0x4bd8dc>>>0x18]^_0x196f9b[_0x3f9495>>>0x10&0xff]^_0x119278[_0x35db5c>>>0x8&0xff]^_0x44c132[_0x36edc1&0xff]^_0x59f75a[_0x263428++];_0x3f9495=_0x26ced7,_0x35db5c=_0x39e152,_0x36edc1=_0x159967,_0x4bd8dc=_0xdcac31;}var _0x26ced7=(_0x296568[_0x3f9495>>>0x18]<<0x18|_0x296568[_0x35db5c>>>0x10&0xff]<<0x10|_0x296568[_0x36edc1>>>0x8&0xff]<<0x8|_0x296568[_0x4bd8dc&0xff])^_0x59f75a[_0x263428++],_0x39e152=(_0x296568[_0x35db5c>>>0x18]<<0x18|_0x296568[_0x36edc1>>>0x10&0xff]<<0x10|_0x296568[_0x4bd8dc>>>0x8&0xff]<<0x8|_0x296568[_0x3f9495&0xff])^_0x59f75a[_0x263428++],_0x159967=(_0x296568[_0x36edc1>>>0x18]<<0x18|_0x296568[_0x4bd8dc>>>0x10&0xff]<<0x10|_0x296568[_0x3f9495>>>0x8&0xff]<<0x8|_0x296568[_0x35db5c&0xff])^_0x59f75a[_0x263428++],_0xdcac31=(_0x296568[_0x4bd8dc>>>0x18]<<0x18|_0x296568[_0x3f9495>>>0x10&0xff]<<0x10|_0x296568[_0x35db5c>>>0x8&0xff]<<0x8|_0x296568[_0x36edc1&0xff])^_0x59f75a[_0x263428++];_0x41f7a2[_0x3fe8c4]=_0x26ced7,_0x41f7a2[_0x3fe8c4+0x1]=_0x39e152,_0x41f7a2[_0x3fe8c4+0x2]=_0x159967,_0x41f7a2[_0x3fe8c4+0x3]=_0xdcac31;},'keySize':0x100/0x20});_0x400397['AES']=_0x1d3959[_0x38e84a(0x211)](_0x4bf9a3);}()),_0x18f5f7[_0x4c82c9(0x36e)];}));}),_0x90bd8b=_0x5841b6((_0x18e8b8,_0x40eb49)=>{(function(_0x10d60a,_0x3271de){const _0x60fd9=_0x2f25;typeof _0x18e8b8==_0x60fd9(0x2cd)?_0x40eb49[_0x60fd9(0x19d)]=_0x18e8b8=_0x3271de(_0x46bfe1()):typeof define=='function'&&define['amd']?define(['./core'],_0x3271de):_0x3271de(_0x10d60a[_0x60fd9(0x1ee)]);}(_0x18e8b8,function(_0x3492e8){const _0x4d2e9d=_0x2f25;return _0x3492e8[_0x4d2e9d(0x281)][_0x4d2e9d(0x154)];}));}),_0x3220f4=_0x5841b6((_0x30d255,_0xfea098)=>{(function(_0x2879c0,_0x1dab0c){const _0x36fc15=_0x2f25;typeof _0x30d255==_0x36fc15(0x2cd)?_0xfea098[_0x36fc15(0x19d)]=_0x30d255=_0x1dab0c(_0x46bfe1()):typeof define==_0x36fc15(0x4f0)&&define[_0x36fc15(0x2d8)]?define([_0x36fc15(0x414)],_0x1dab0c):_0x1dab0c(_0x2879c0[_0x36fc15(0x1ee)]);}(_0x30d255,function(_0x12fc9c){const _0x16db9d=_0x2f25;return(function(){const _0x4247c4=_0x2f25;if(typeof ArrayBuffer==_0x4247c4(0x4f0)){var _0x20c830=_0x12fc9c[_0x4247c4(0x27e)][_0x4247c4(0x23a)],_0x413a2f=_0x20c830[_0x4247c4(0x4ed)],_0x3e8e7a=_0x20c830[_0x4247c4(0x4ed)]=function(_0x48737f){const _0x3a429d=_0x4247c4;if(_0x48737f instanceof ArrayBuffer&&(_0x48737f=new Uint8Array(_0x48737f)),(_0x48737f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x48737f instanceof Uint8ClampedArray||_0x48737f instanceof Int16Array||_0x48737f instanceof Uint16Array||_0x48737f instanceof Int32Array||_0x48737f instanceof Uint32Array||_0x48737f instanceof Float32Array||_0x48737f instanceof Float64Array)&&(_0x48737f=new Uint8Array(_0x48737f[_0x3a429d(0x2ad)],_0x48737f['byteOffset'],_0x48737f[_0x3a429d(0x2b6)])),_0x48737f instanceof Uint8Array){for(var _0x3cf9b3=_0x48737f[_0x3a429d(0x2b6)],_0x5a4b89=[],_0x19cd22=0x0;_0x19cd22<_0x3cf9b3;_0x19cd22++)_0x5a4b89[_0x19cd22>>>0x2]|=_0x48737f[_0x19cd22]<<0x18-_0x19cd22%0x4*0x8;_0x413a2f[_0x3a429d(0x48c)](this,_0x5a4b89,_0x3cf9b3);}else _0x413a2f[_0x3a429d(0x313)](this,arguments);};_0x3e8e7a['prototype']=_0x20c830;}}()),_0x12fc9c[_0x16db9d(0x27e)][_0x16db9d(0x23a)];}));}),_0xd776f2=_0x5841b6((_0x347e5d,_0x48c669)=>{(function(_0x411b65,_0x3a01ab,_0x582ce0){const _0x12d57f=_0x2f25;typeof _0x347e5d==_0x12d57f(0x2cd)?_0x48c669[_0x12d57f(0x19d)]=_0x347e5d=_0x3a01ab(_0x46bfe1(),_0x30dad6()):typeof define==_0x12d57f(0x4f0)&&define['amd']?define([_0x12d57f(0x414),_0x12d57f(0x3ef)],_0x3a01ab):_0x3a01ab(_0x411b65[_0x12d57f(0x1ee)]);}(_0x347e5d,function(_0x40ed78){const _0x532f53=_0x2f25;return _0x40ed78[_0x532f53(0x27a)][_0x532f53(0x465)]={'pad':function(){},'unpad':function(){}},_0x40ed78['pad'][_0x532f53(0x465)];}));}),_0x21252b=_0x26a9ac(_0x57ab38()),_0x42fc35=_0x26a9ac(_0x2096e9()),_0xc42a8e=_0x26a9ac(_0x90bd8b()),_0x3b36db=_0x26a9ac(_0x3220f4()),_0x270798=_0x26a9ac(_0xd776f2());function _0xd707f5(_0x4c3017,_0x19d104){const _0x30b090=_0x388c16;let _0x2d5763=_0x19d104-_0x4c3017[_0x30b090(0x1a3)]%_0x19d104;return _0x4c3017+String['fromCharCode'](_0x2d5763)[_0x30b090(0x4d2)](_0x2d5763);}function _0xaf9bcd(_0x1a7c95,_0x258239){const _0x4b4c2e=_0x388c16;let _0x7f47b9=_0x3b36db['default'][_0x4b4c2e(0x331)](0x10),_0xe969db=_0xd707f5(_0x1a7c95,0x10),_0x567d87=_0x21252b[_0x4b4c2e(0x34c)][_0x4b4c2e(0x40d)](_0xc42a8e[_0x4b4c2e(0x34c)][_0x4b4c2e(0x382)](_0xe969db),_0x42fc35[_0x4b4c2e(0x34c)][_0x4b4c2e(0x382)](_0x258239),{'iv':_0x7f47b9,'padding':_0x270798[_0x4b4c2e(0x34c)]});return _0x7f47b9['concat'](_0x567d87[_0x4b4c2e(0x474)])[_0x4b4c2e(0x42d)](_0x42fc35[_0x4b4c2e(0x34c)]);}function _0x4ccba9(){const _0x1a515e=_0x388c16;let _0x29f5d8=(0x0,_0x2f0cd5['getGlobalObject'])()['__Key__'];if(typeof window<'u'&&window[_0x1a515e(0x496)]!==void 0x0&&_0x29f5d8){let _0x417fa6={'time':Math[_0x1a515e(0x419)](Date[_0x1a515e(0x329)]()/0x3e8),'domain':location[_0x1a515e(0x445)]};return _0xaf9bcd(JSON['stringify'](_0x417fa6),_0x29f5d8);}}let _0x429086=class{constructor(_0x2ef57d){const _0x3584d8=_0x388c16;this[_0x3584d8(0x3c2)]=_0x2ef57d,this[_0x3584d8(0x353)]();}[_0x388c16(0x353)](){const _0x738c55=_0x388c16;this[_0x738c55(0x3c2)]['registerHTTPInterceptor']({'interceptor':(_0x2001ad,_0x1e5cd2)=>{const _0x4fafae=_0x738c55;let _0x5fb9a2=_0x2001ad[_0x4fafae(0x3e7)],_0x5a8043=_0x4ccba9();return _0x5a8043&&_0x5fb9a2[_0x4fafae(0x163)]('x-univer-host',_0x5a8043),_0x1e5cd2(_0x2001ad);}});}};_0x429086=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0x429086);let _0x2f1390=class extends _0x4c9691['RxDisposable']{constructor(_0x48bdb5,_0x4eccab,_0x2fe286){const _0x4adbe6=_0x388c16;super(),this['_logService']=_0x48bdb5,this[_0x4adbe6(0x444)]=_0x4eccab,this[_0x4adbe6(0x403)]=_0x2fe286,_0x167995(this,_0x4adbe6(0x432),new _0x1d90a6[(_0x4adbe6(0x26f))](null)),_0x167995(this,_0x4adbe6(0x2c6),this[_0x4adbe6(0x432)]['asObservable']());}async['loadUnitOfRevision'](_0x4cab77,_0x1517a2,_0x2a6d96){const _0x47dc3f=_0x388c16;this['_unitInfo$']['next']({'unitId':_0x4cab77,'type':_0x1517a2});let _0x30bf25=null;switch(_0x1517a2){case _0x194d58[_0x47dc3f(0x464)]:_0x30bf25=await this[_0x47dc3f(0x444)][_0x47dc3f(0x322)](_0x4cab77,_0x2a6d96);break;case _0x194d58[_0x47dc3f(0x38b)]:_0x30bf25=await this[_0x47dc3f(0x444)]['loadDoc'](_0x4cab77,_0x2a6d96);break;default:this[_0x47dc3f(0x3f1)][_0x47dc3f(0x1fa)](_0x47dc3f(0x167),_0x47dc3f(0x3be));break;}return _0x30bf25;}async[_0x388c16(0x3a9)](_0x20d852,_0x5b313c,_0x254332){const _0x3002ba=_0x388c16;var _0x3d9bf9;this[_0x3002ba(0x432)][_0x3002ba(0x2fd)]({'unitId':_0x20d852,'type':_0x5b313c,'subUnitId':_0x254332});let _0x5707f6=0x0,_0x3b2282=await((_0x3d9bf9=this[_0x3002ba(0x403)])==null?void 0x0:_0x3d9bf9[_0x3002ba(0x348)](_0x20d852));return _0x3b2282&&(_0x3b2282[_0x3002ba(0x43b)]||_0x3b2282['mutations'][_0x3002ba(0x1a3)]!==0x0)&&(_0x5707f6=_0x3b2282[_0x3002ba(0x4e9)]),_0x5707f6===0x0&&this[_0x3002ba(0x3f1)][_0x3002ba(0x24e)](_0x3002ba(0x167),_0x3002ba(0x159)),this[_0x3002ba(0x2a1)](_0x20d852,_0x5b313c,_0x5707f6);}};_0x2f1390=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x4e0)])),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x2f1390);let _0x24ca88=[_0x388c16(0x27f),_0x388c16(0x21a),_0x388c16(0x197),_0x388c16(0x19b),_0x388c16(0x318)],_0x3e0ef6=class{constructor(_0x508035,_0x33f969,_0x233afb){const _0x556669=_0x388c16;this[_0x556669(0x3c2)]=_0x508035,this[_0x556669(0x28a)]=_0x33f969,this['_univerInstanceService']=_0x233afb,_0x167995(this,_0x556669(0x3bf),0x0),_0x167995(this,_0x556669(0x480),new _0x1d90a6[(_0x556669(0x310))]()),_0x167995(this,'change$',this[_0x556669(0x480)]),_0x167995(this,_0x556669(0x4af),new Map());}[_0x388c16(0x2a4)](_0x66e1cf){const _0x5c5c42=_0x388c16;this[_0x5c5c42(0x3bf)]=_0x66e1cf,this[_0x5c5c42(0x480)]['next'](_0x66e1cf);}['getImageSourceCache'](_0x31e5be,_0x5df379){const _0x52df25=_0x388c16;if(_0x5df379===_0xac2517[_0x52df25(0x19f)]['BASE64']){let _0x151844=new Image();return _0x151844[_0x52df25(0x2a7)]=_0x31e5be,_0x151844;}return this[_0x52df25(0x4af)][_0x52df25(0x1c6)](_0x31e5be);}[_0x388c16(0x364)](_0x4cff07,_0x52477e,_0xb10d68){const _0xcbf81d=_0x388c16;_0x52477e===_0xac2517[_0xcbf81d(0x19f)][_0xcbf81d(0x395)]||_0xb10d68==null||this[_0xcbf81d(0x4af)][_0xcbf81d(0x163)](_0x4cff07,_0xb10d68);}async[_0x388c16(0x171)](_0x4f14ef){const _0x4f7d55=_0x388c16;try{let _0x2da946=this['_replaceFileID'](this[_0x4f7d55(0x46d)](),''+_0x4f14ef),_0x4caf93=(await this['_httpService'][_0x4f7d55(0x1c6)](_0x2da946))[_0x4f7d55(0x401)];if(_0x4caf93['error']&&_0x4caf93['error'][_0x4f7d55(0x309)]===_0x290029['OK']){let _0x55351f=(0x0,_0x4c9691[_0x4f7d55(0x415)])(_0x4caf93['url'],this[_0x4f7d55(0x37e)]());return Promise[_0x4f7d55(0x4e8)](_0x55351f);}return Promise['reject'](_0x4caf93['error']);}catch(_0x31373c){return Promise[_0x4f7d55(0x372)](_0x31373c);}}async[_0x388c16(0x312)](_0x5ca102){const _0x4ecf06=_0x388c16;let _0x864bd0='';if(!_0x24ca88[_0x4ecf06(0x26d)](_0x5ca102[_0x4ecf06(0x2f7)]))return this[_0x4ecf06(0x254)](),Promise[_0x4ecf06(0x372)](Error(_0xac2517[_0x4ecf06(0x426)][_0x4ecf06(0x273)]));if(_0x5ca102[_0x4ecf06(0x42b)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x4ecf06(0x372)](Error(_0xac2517[_0x4ecf06(0x426)][_0x4ecf06(0x2a6)]));try{let _0x14d61c=new FormData();_0x14d61c[_0x4ecf06(0x32d)](_0x4ecf06(0x485),_0x5ca102);let _0x257ff1=this[_0x4ecf06(0x371)][_0x4ecf06(0x2e3)](),_0x2f0a6d=_0x257ff1==null?void 0x0:_0x257ff1['getUnitId']();if(!_0x2f0a6d)throw Error(_0x4ecf06(0x299));let _0x1174d5=this[_0x4ecf06(0x2f0)]()+'?size='+_0x5ca102['size']['toString']()+_0x4ecf06(0x2b4)+_0x25178b['UnitEmbedded']+_0x4ecf06(0x26c)+encodeURIComponent(_0x2f0a6d),_0x3b4dbe={'body':_0x14d61c},_0x474a93=(await this[_0x4ecf06(0x3c2)]['post'](_0x1174d5,_0x3b4dbe))[_0x4ecf06(0x401)];if(typeof _0x474a93[_0x4ecf06(0x4ce)]!=_0x4ecf06(0x3e4))return this[_0x4ecf06(0x254)](),Promise['reject'](Error(_0xac2517[_0x4ecf06(0x426)]['ERROR_IMAGE']));_0x864bd0=_0x474a93['FileId'];}catch{return this[_0x4ecf06(0x254)](),Promise[_0x4ecf06(0x372)](Error(_0xac2517['ImageUploadStatusType'][_0x4ecf06(0x237)]));}return new Promise((_0x1c4dec,_0x13c22c)=>{const _0x12b112=_0x4ecf06;let _0x42f6a2=new FileReader();_0x42f6a2[_0x12b112(0x472)](_0x5ca102),_0x42f6a2[_0x12b112(0x181)]=_0x4dc3dc=>{const _0x330536=_0x12b112;var _0x2a8920;let _0x1fddb9=(_0x2a8920=_0x4dc3dc[_0x330536(0x461)])==null?void 0x0:_0x2a8920[_0x330536(0x3a1)];if(_0x1fddb9==null){this[_0x330536(0x254)](),_0x13c22c(Error(_0xac2517['ImageUploadStatusType'][_0x330536(0x237)]));return;}_0x1c4dec({'imageId':(0x0,_0x4c9691[_0x330536(0x17c)])(0x6),'imageSourceType':_0xac2517[_0x330536(0x19f)][_0x330536(0x383)],'source':_0x864bd0,'base64Cache':_0x1fddb9,'status':_0xac2517['ImageUploadStatusType']['SUCCUSS']}),this[_0x330536(0x254)]();};});}[_0x388c16(0x2f0)](){const _0x1acef4=_0x388c16;var _0x345abd;let _0x168493=this['_configService'][_0x1acef4(0x438)](_0x52c9fb);return(_0x345abd=_0x168493==null?void 0x0:_0x168493['uploadFileServerUrl'])==null?_0x1acef4(0x1f9):_0x345abd;}['_getSignURL'](){const _0x4e2ee1=_0x388c16;var _0x33ad0f;let _0x2be848=this[_0x4e2ee1(0x28a)][_0x4e2ee1(0x438)](_0x52c9fb);return(_0x33ad0f=_0x2be848==null?void 0x0:_0x2be848[_0x4e2ee1(0x2b3)])==null?_0x4e2ee1(0x2bc):_0x33ad0f;}[_0x388c16(0x37e)](){const _0x185bab=_0x388c16;var _0x434622;let _0x2048aa=this[_0x185bab(0x28a)]['getConfig'](_0x52c9fb);return(_0x434622=_0x2048aa==null?void 0x0:_0x2048aa[_0x185bab(0x158)])==null?location['origin']:_0x434622;}[_0x388c16(0x44b)](_0x39f01b,_0x3f097e){const _0x21dd91=_0x388c16;return _0x39f01b[_0x21dd91(0x1b1)]('{fileID}',_0x3f097e);}['_decreaseWaiting'](){const _0x246496=_0x388c16;--this[_0x246496(0x3bf)],this[_0x246496(0x480)][_0x246496(0x2fd)](this[_0x246496(0x3bf)]);}};_0x3e0ef6=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x384)]))],_0x3e0ef6);let _0x3a96dd=class{constructor(_0x4ec285,_0x505b3b){const _0x16514e=_0x388c16;this[_0x16514e(0x28a)]=_0x4ec285,this['_HTTPService']=_0x505b3b;}[_0x388c16(0x3cb)](){const _0xadf175=_0x388c16;var _0x30d7fd;let _0x12b157=this['_configService'][_0xadf175(0x438)](_0x52c9fb);return(_0x30d7fd=_0x12b157==null?void 0x0:_0x12b157[_0xadf175(0x1f8)])==null?_0xadf175(0x2f5):_0x30d7fd;}async[_0x388c16(0x2d0)](_0x41d185){const _0x55e29e=_0x388c16;let _0x495a5b=this[_0x55e29e(0x3cb)]()+_0x55e29e(0x489);return{'list':[{'title':_0x55e29e(0x320),'mentions':(await this[_0x55e29e(0x300)][_0x55e29e(0x1c6)](_0x495a5b,{'params':{'objectID':_0x41d185[_0x55e29e(0x1bc)],'unitID':_0x41d185['unitId']}}))['body'][_0x55e29e(0x279)][_0x55e29e(0x1da)](_0x2c8f80=>({'objectId':_0x2c8f80['id'],'name':_0x2c8f80[_0x55e29e(0x491)][_0x55e29e(0x417)],'metadata':{'icon':_0x2c8f80[_0x55e29e(0x491)][_0x55e29e(0x200)]},'label':_0x2c8f80['subject'][_0x55e29e(0x417)],'objectType':_0x4c9691['MentionType'][_0x55e29e(0x2ed)]})),'metadata':{},'type':_0x4c9691[_0x55e29e(0x1d0)][_0x55e29e(0x2ed)]}]};}};_0x3a96dd=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['IConfigService'])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0x3a96dd);let _0x127fd5=class extends _0x4c9691[_0x388c16(0x433)]{constructor(_0x579cdb,_0xb2aebf,_0x19a163,_0x3aa208,_0x2aec75){const _0x4e6ac1=_0x388c16;super(),this['_injector']=_0x579cdb,this['_univerInstanceService']=_0xb2aebf,this['_permissionService']=_0x19a163,this['_collaborationSessionService']=_0x3aa208,this[_0x4e6ac1(0x1ec)]=_0x2aec75,this[_0x4e6ac1(0x2f3)](),this[_0x4e6ac1(0x1f4)]();}[_0x388c16(0x1f4)](){const _0x28eb83=_0x388c16;let _0x49f0e3=async _0x5e842b=>{const _0x342248=_0x2f25;(await this[_0x342248(0x43d)][_0x342248(0x326)](_0x5e842b))[_0x342248(0x458)][_0x342248(0x3f8)]((0x0,_0x29e3de['filter'])(_0x5ca6d8=>_0x5ca6d8['eventID']===_0x22113f[_0x342248(0x3f5)]['SHOULD_CLOSE_CONN']),(0x0,_0x29e3de[_0x342248(0x199)])(this[_0x342248(0x473)]))['subscribe'](_0x1326a0=>{const _0x4d8e68=_0x342248;let {reason:_0x49fd32}=_0x1326a0['data'];this[_0x4d8e68(0x1ec)][_0x4d8e68(0x14f)]({'id':_0x577fae[_0x4d8e68(0x215)],'data':_0x49fd32}),this[_0x4d8e68(0x2d5)][_0x4d8e68(0x180)](new _0x190d88[(_0x4d8e68(0x495))](_0x5e842b)['id'],!0x1),this[_0x4d8e68(0x43d)][_0x4d8e68(0x376)](_0x5e842b);});};(0x0,_0x1d90a6[_0x28eb83(0x3a6)])(this[_0x28eb83(0x371)]['getTypeOfUnitAdded$'](_0x4c9691['UniverInstanceType']['UNIVER_SHEET']),this[_0x28eb83(0x371)][_0x28eb83(0x408)](_0x4c9691[_0x28eb83(0x385)]['UNIVER_DOC']))[_0x28eb83(0x3f8)]((0x0,_0x29e3de[_0x28eb83(0x1da)])(_0x28112d=>_0x28112d['getUnitId']()),(0x0,_0x29e3de['filter'])(_0x356b14=>!(0x0,_0x4c9691[_0x28eb83(0x262)])(_0x356b14)),(0x0,_0x29e3de[_0x28eb83(0x199)])(this[_0x28eb83(0x473)]))['subscribe'](_0x40cb6c=>{_0x49f0e3(_0x40cb6c);});}[_0x388c16(0x2f3)](){const _0x3cf992=_0x388c16;let _0x4811d4=async _0x3797f0=>{const _0x2588a0=_0x2f25;let _0xe94e3f=await this[_0x2588a0(0x43d)]['requireSession'](_0x3797f0),_0x7815be=this[_0x2588a0(0x31f)][_0x2588a0(0x1c6)](_0x190d88['SheetPermissionInitController']);_0xe94e3f[_0x2588a0(0x458)][_0x2588a0(0x3f8)]((0x0,_0x29e3de[_0x2588a0(0x33f)])(_0x1b0a4b=>_0x1b0a4b['eventID']===_0x22113f['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x29e3de[_0x2588a0(0x199)])(this['dispose$']))[_0x2588a0(0x339)](_0x34113e=>{const _0x399d3d=_0x2588a0;let {objectId:_0x14e818}=_0x34113e[_0x399d3d(0x1d1)];_0x14e818===_0x3797f0?_0x7815be['initWorkbookPermissionChange'](_0x3797f0):_0x7815be[_0x399d3d(0x2f9)](_0x3797f0,_0x14e818);});};(0x0,_0x1d90a6['merge'])(this[_0x3cf992(0x371)][_0x3cf992(0x408)](_0x4c9691[_0x3cf992(0x385)][_0x3cf992(0x464)]))[_0x3cf992(0x3f8)]((0x0,_0x29e3de[_0x3cf992(0x1da)])(_0xe79e9d=>_0xe79e9d[_0x3cf992(0x323)]()),(0x0,_0x29e3de[_0x3cf992(0x33f)])(_0x8c8f04=>!(0x0,_0x4c9691[_0x3cf992(0x262)])(_0x8c8f04)),(0x0,_0x29e3de[_0x3cf992(0x199)])(this[_0x3cf992(0x473)]))[_0x3cf992(0x339)](_0x332616=>{_0x4811d4(_0x332616);});}};_0x127fd5=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['Injector'])),_0x4923f4(0x1,_0x4c9691['IUniverInstanceService']),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x8dbac3)),_0x4923f4(0x4,(0x0,_0x4c9691['Inject'])(_0x20dd8a))],_0x127fd5);let _0xd9eff=class{constructor(_0x218863,_0x3594f0){const _0x6687e=_0x388c16;this[_0x6687e(0x28a)]=_0x218863,this[_0x6687e(0x3c2)]=_0x3594f0;}async[_0x388c16(0x1de)](_0x4b4641,_0x22d751){const _0x49947c=_0x388c16;var _0x566a50;let {unitID:_0x460cbc,type:_0xd008db,revision:_0x405d8f=0x0}=_0x22d751,_0x4d39b1=this[_0x49947c(0x437)]()+'/'+_0xd008db+_0x49947c(0x4dd)+_0x460cbc+_0x49947c(0x497)+_0x405d8f,_0x4e13b7=(await this['_httpService']['get'](_0x4d39b1))['body'],_0x5cf72f=(_0x566a50=_0x4e13b7[_0x49947c(0x31d)])==null?void 0x0:_0x566a50[_0x49947c(0x334)];if(_0x5cf72f){let _0x456b2a=_0x5cf72f==null?void 0x0:_0x5cf72f['originalMeta'];_0x5cf72f[_0x49947c(0x46e)]=_0x22113f[_0x49947c(0x391)]['encode']((0x0,_0x22113f['b64DecodeUnicode'])(_0x456b2a)),Object[_0x49947c(0x2ba)](_0x5cf72f['sheets'])['forEach'](([,_0x4501af])=>{const _0x366fad=_0x49947c;let _0x4d5492=_0x4501af['originalMeta'];_0x4501af[_0x366fad(0x46e)]=_0x22113f['textEncoder'][_0x366fad(0x3e0)]((0x0,_0x22113f['b64DecodeUnicode'])(_0x4d5492));});}return _0x4e13b7;}async[_0x388c16(0x3a5)](_0x4e5938,_0x4df4e0){const _0x32fc27=_0x388c16;let {unitID:_0x143007,type:_0x40b825,blockID:_0x98e70}=_0x4df4e0,_0xe93cdd=this['_getAPIPrefix']()+'/'+_0x40b825+_0x32fc27(0x4dd)+_0x143007+_0x32fc27(0x49d)+_0x98e70;return(await this[_0x32fc27(0x3c2)][_0x32fc27(0x1c6)](_0xe93cdd))[_0x32fc27(0x401)];}async[_0x388c16(0x27c)](_0x373468,_0x500af5){const _0x480211=_0x388c16;let {unitID:_0x507e12,type:_0x30ea8f,blockID:_0x1761ff}=_0x500af5,_0x11ddbc=this[_0x480211(0x2d4)]()+_0x480211(0x49d)+_0x30ea8f+_0x480211(0x4dd)+_0x507e12+_0x480211(0x49d)+_0x1761ff;return(await this['_httpService'][_0x480211(0x1c6)](_0x11ddbc))[_0x480211(0x401)];}async['fetchMissingChangesets'](_0x4f94ef,_0x4233e6){const _0x412a8d=_0x388c16;let {unitID:_0x7fb187,type:_0x408698,from:_0x5489b2,to:_0x5bc441}=_0x4233e6,_0x914684=this['_getAPIPrefix']()+'/'+_0x408698+_0x412a8d(0x4dd)+_0x7fb187+_0x412a8d(0x157)+_0x5489b2+_0x412a8d(0x493)+_0x5bc441;return(await this[_0x412a8d(0x3c2)][_0x412a8d(0x1c6)](_0x914684))[_0x412a8d(0x401)];}[_0x388c16(0x437)](){const _0x3e1da0=_0x388c16;var _0x1ad66c;return(_0x1ad66c=this['_configService'][_0x3e1da0(0x438)](_0x3e1da0(0x3aa)))==null?this[_0x3e1da0(0x2d4)]():_0x1ad66c;}[_0x388c16(0x2d4)](){const _0x1549a5=_0x388c16;var _0xcf0297;let _0x3db12d=this['_configService'][_0x1549a5(0x438)](_0x52c9fb);return(_0xcf0297=_0x3db12d==null?void 0x0:_0x3db12d[_0x1549a5(0x26e)])==null?_0x1549a5(0x295):_0xcf0297;}async[_0x388c16(0x238)](_0x5f3270,_0x44af58){const _0x6e7fa2=_0x388c16;let _0x23b31a=_0x6e7fa2(0x35c)+_0x44af58[_0x6e7fa2(0x2f7)]+_0x6e7fa2(0x4dd)+_0x44af58[_0x6e7fa2(0x266)]+_0x6e7fa2(0x316);return(await this[_0x6e7fa2(0x3c2)]['get'](_0x23b31a,{'params':{'resourceId':JSON[_0x6e7fa2(0x1f7)](_0x44af58['resourceIDs'])}}))[_0x6e7fa2(0x401)];}[_0x388c16(0x411)](){const _0x1e061a=_0x388c16;throw Error(_0x1e061a(0x33e));}[_0x388c16(0x3c3)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0x9a0c27=_0x388c16;throw Error(_0x9a0c27(0x33e));}['saveChangeset'](){const _0x5477fb=_0x388c16;throw Error(_0x5477fb(0x33e));}[_0x388c16(0x4df)](){const _0x5c6834=_0x388c16;throw Error(_0x5c6834(0x33e));}[_0x388c16(0x398)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0xd9eff=_0x3ecedb([_0x4923f4(0x0,_0x4c9691['IConfigService']),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0xd9eff);let _0x3feeff=class extends _0x4c9691[_0x388c16(0x4bd)]{constructor(_0xdb7de2,_0x11f85e,_0x560c86,_0x3febb2,_0x304d23){super(_0xdb7de2,_0x11f85e,_0x560c86),this['_transformService']=_0x3febb2,this['_logService']=_0x304d23;}['transformUndoRedo'](_0x3763f4,_0x3609db){const _0x16a329=_0x388c16;let _0x5f342d=this[_0x16a329(0x1d8)](_0x3763f4);if(_0x5f342d)try{let _0x37fc66=this[_0x16a329(0x29c)](_0x5f342d,_0x3609db);this[_0x16a329(0x4e4)](_0x3763f4,_0x37fc66);}catch(_0x47c357){this['_logService'][_0x16a329(0x1fa)]('[CollaborationUndoRedoService]',_0x47c357),this[_0x16a329(0x296)](_0x3763f4);}let _0x478a10=this[_0x16a329(0x1fb)](_0x3763f4);if(_0x478a10)try{let _0x1198f4=this['_transformStack'](_0x478a10,_0x3609db);this[_0x16a329(0x4b6)](_0x3763f4,_0x1198f4);}catch(_0x73d88a){this[_0x16a329(0x3f1)][_0x16a329(0x1fa)](_0x73d88a),this['_clearRedo'](_0x3763f4);}}[_0x388c16(0x296)](_0x3ceaa3){const _0x26d27a=_0x388c16;let _0x259cc9=this['_getUndoStack'](_0x3ceaa3);_0x259cc9&&(_0x259cc9[_0x26d27a(0x1a3)]=0x0,this[_0x26d27a(0x4a6)]());}[_0x388c16(0x286)](_0x19a8cd){const _0x4c904e=_0x388c16;let _0x14350b=this[_0x4c904e(0x1fb)](_0x19a8cd);_0x14350b&&(_0x14350b[_0x4c904e(0x1a3)]=0x0,this[_0x4c904e(0x4a6)]());}[_0x388c16(0x4e4)](_0x4d59a2,_0x31107a){const _0x125a05=_0x388c16;this[_0x125a05(0x2dc)][_0x125a05(0x163)](_0x4d59a2,_0x31107a),this[_0x125a05(0x4a6)]();}[_0x388c16(0x4b6)](_0x309909,_0x2f0b56){const _0x42e190=_0x388c16;this['_redoStacks'][_0x42e190(0x163)](_0x309909,_0x2f0b56),this['_updateStatus']();}[_0x388c16(0x29c)](_0x3c9c40,_0x4ab764){const _0x242148=_0x388c16;let _0x2b0310=[],_0x3be8c1=_0x4ab764,_0x2ac412=_0x4ab764;for(let _0x486646=_0x3c9c40[_0x242148(0x1a3)]-0x1;_0x486646>=0x0;_0x486646--){let {unitID:_0x28daf8,undoMutations:_0x4182af,redoMutations:_0x28df51}=_0x3c9c40[_0x486646],_0x9eb42a=this['_transformService'][_0x242148(0x409)](_0x3be8c1,_0x4182af),_0x1adf98=this['_transformService'][_0x242148(0x409)](_0x2ac412,_0x28df51);if((0x0,_0x22113f[_0x242148(0x4c7)])(_0x9eb42a)||(0x0,_0x22113f[_0x242148(0x4c7)])(_0x1adf98)){this['_logService']['error'](_0x242148(0x31c),_0x242148(0x2c2),_0x9eb42a,_0x1adf98);break;}_0x3be8c1=_0x9eb42a[_0x242148(0x1ed)],_0x2ac412=_0x1adf98[_0x242148(0x1ed)],_0x2b0310['push']({'unitID':_0x28daf8,'undoMutations':_0x9eb42a[_0x242148(0x172)],'redoMutations':_0x1adf98[_0x242148(0x172)]});}return _0x2b0310[_0x242148(0x373)]();}};_0x3feeff=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x2,_0x4c9691['IContextService']),_0x4923f4(0x3,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x4,_0x4c9691['ILogService'])],_0x3feeff);let _0x5e5171=class extends _0x4c9691[_0x388c16(0x1fc)]{constructor(_0x443a38={},_0x280255,_0x135f3e,_0x4106b7){const _0x36376d=_0x388c16;super(),this[_0x36376d(0x4e6)]=_0x443a38,this[_0x36376d(0x3f1)]=_0x280255,this['_injector']=_0x135f3e,this[_0x36376d(0x28a)]=_0x4106b7;let {..._0x5b930d}=(0x0,_0x4c9691['merge'])({},_0x61d523,_0x443a38);if(!_0x5b930d['socketService'])throw Error(_0x36376d(0x378));this[_0x36376d(0x4e6)]=_0x5b930d,this['_configService'][_0x36376d(0x1a8)](_0x52c9fb,_0x5b930d);}['onStarting'](){const _0x6375e3=_0x388c16;this[_0x6375e3(0x3b2)](),this[_0x6375e3(0x311)]();}[_0x388c16(0x3b2)](){const _0x2acec1=_0x388c16;var _0x4ad184,_0x314b2a;this[_0x2acec1(0x31f)]['has'](_0x4c9691[_0x2acec1(0x2c3)])&&this['_logService'][_0x2acec1(0x1fa)](_0x2acec1(0x2e1),_0x2acec1(0x3eb));let _0x3b05c9=(0x0,_0x4c9691[_0x2acec1(0x1e9)])([[_0x4c9691['IUndoRedoService'],{'useClass':_0x3feeff}],[_0x8dbac3],[_0x2ca67a],[_0x4d2785],[_0x593144],[_0x429086],[_0x147ce6],[_0x127fd5],[_0x20dd8a],[_0x2f1390],[_0x542253,{'useClass':this['_config'][_0x2acec1(0x3fc)]}],[_0x22113f[_0x2acec1(0x482)],{'useClass':_0xd9eff}],[_0x4c9691[_0x2acec1(0x22a)],{'useClass':_0x164e3a}],[_0xac2517[_0x2acec1(0x325)],{'useClass':_0x3e0ef6}],[_0x4c9691[_0x2acec1(0x48b)],{'useClass':_0x3a96dd}],[_0x8eab61],[_0x197e21]],(_0x4ad184=this[_0x2acec1(0x4e6)])==null?void 0x0:_0x4ad184[_0x2acec1(0x191)]);if(!((_0x314b2a=this[_0x2acec1(0x4e6)])!=null&&_0x314b2a[_0x2acec1(0x2e0)])){let _0x38dde7=_0x3b05c9[_0x2acec1(0x189)](([_0x338007])=>_0x338007===_0xfce292);_0x38dde7!==-0x1&&_0x3b05c9[_0x2acec1(0x2ff)](_0x38dde7,0x1);}(0x0,_0x4c9691[_0x2acec1(0x1a7)])(this[_0x2acec1(0x31f)],_0x3b05c9);}['_initDependencies'](){const _0x4afedf=_0x388c16;var _0xaad36e,_0x45ce46;if(this[_0x4afedf(0x31f)][_0x4afedf(0x1c6)](_0x750beb[_0x4afedf(0x28c)])[_0x4afedf(0x47f)]({'priority':0x14,'interceptor':(0x0,_0x750beb[_0x4afedf(0x374)])({'maxParallel':0x6})}),!((_0xaad36e=this[_0x4afedf(0x4e6)])!=null&&_0xaad36e[_0x4afedf(0x4a8)])){var _0x4f4a06;(_0x4f4a06=this[_0x4afedf(0x31f)][_0x4afedf(0x1c6)](_0xd5c1f1,_0x4c9691[_0x4afedf(0x2ac)]['OPTIONAL']))==null||_0x4f4a06[_0x4afedf(0x4cf)]();}(_0x45ce46=this[_0x4afedf(0x4e6)])!=null&&_0x45ce46['enableAuthServer']&&(0x0,_0x4c9691[_0x4afedf(0x1b0)])(this[_0x4afedf(0x31f)],[[_0x593144]]),(0x0,_0x4c9691[_0x4afedf(0x1b0)])(this['_injector'],[[_0x429086],[_0x8eab61],[_0x127fd5]]);}};_0x167995(_0x5e5171,_0x388c16(0x38a),_0x388c16(0x209)),_0x167995(_0x5e5171,_0x388c16(0x305),_0x4fc999),_0x167995(_0x5e5171,'version',_0x22bf0b),_0x5e5171=_0x3ecedb([(0x0,_0x4c9691[_0x388c16(0x42c)])(_0x2f0cd5[_0x388c16(0x235)],_0x22113f[_0x388c16(0x16c)],_0x750beb[_0x388c16(0x4b0)]),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x28d)])],_0x5e5171),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x22d),{'enumerable':!0x0,'get':function(){return _0x164e3a;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x1c1),{'enumerable':!0x0,'get':function(){return _0x56a83c;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x441),{'enumerable':!0x0,'get':function(){return _0x4bf776;}}),_0x57f8cc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x52c9fb,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x298),{'enumerable':!0x0,'get':function(){return _0x8eab61;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x1a1),{'enumerable':!0x0,'get':function(){return _0x44af68;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4c1),{'enumerable':!0x0,'get':function(){return _0x3e0ef6;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x4da542;}}),Object['defineProperty'](_0x57f8cc,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x8dbac3;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x49a),{'enumerable':!0x0,'get':function(){return _0x3f3356;}}),_0x57f8cc[_0x388c16(0x3e8)]=_0x44ebbd,_0x57f8cc[_0x388c16(0x36d)]=_0x577fae,_0x57f8cc['CollaborationUIEventService']=_0x20dd8a,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4ab),{'enumerable':!0x0,'get':function(){return _0x3feeff;}}),_0x57f8cc[_0x388c16(0x250)]=_0x147ce6,Object['defineProperty'](_0x57f8cc,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x57790d;}}),_0x57f8cc[_0x388c16(0x2af)]=_0x1049c0,_0x57f8cc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x388c16(0x347),_0x57f8cc[_0x388c16(0x165)]=_0x388c16(0x3d9),Object['defineProperty'](_0x57f8cc,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x2f1390;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4a9),{'enumerable':!0x0,'get':function(){return _0x1782f4;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x4bb),{'enumerable':!0x0,'get':function(){return _0x25a93f;}}),_0x57f8cc[_0x388c16(0x204)]='HEARTBEAT_INTERVAL',_0x57f8cc[_0x388c16(0x28e)]=_0x388c16(0x36f),_0x57f8cc['ICollaborationSocketService']=_0x542253,_0x57f8cc[_0x388c16(0x32f)]=_0xd5c1f1,_0x57f8cc['INetworkConditionService']=_0x38a135,_0x57f8cc[_0x388c16(0x3d6)]=_0xfce292,_0x57f8cc[_0x388c16(0x48d)]=0x3e8,_0x57f8cc['LOCAL_CACHE_INTERVAL_KEY']=_0x388c16(0x48d),Object['defineProperty'](_0x57f8cc,_0x388c16(0x328),{'enumerable':!0x0,'get':function(){return _0x2ca67a;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4b1),{'enumerable':!0x0,'get':function(){return _0x3a96dd;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'OfflineState',{'enumerable':!0x0,'get':function(){return _0x150e04;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'PendingState',{'enumerable':!0x0,'get':function(){return _0xdaecc2;}}),_0x57f8cc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x388c16(0x4a7),_0x57f8cc[_0x388c16(0x49c)]=_0x388c16(0x390),_0x57f8cc[_0x388c16(0x196)]=_0x16446d,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x3bc),{'enumerable':!0x0,'get':function(){return _0x1a46eb;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'SheetTransformSelectionsService',{'enumerable':!0x0,'get':function(){return _0x4d2785;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0xd9eff;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x2a3),{'enumerable':!0x0,'get':function(){return _0x558869;}}),_0x57f8cc['UnitStatus']=_0x129273,Object[_0x388c16(0x2e8)](_0x57f8cc,'UniverCollaborationClientPlugin',{'enumerable':!0x0,'get':function(){return _0x5e5171;}}),_0x57f8cc[_0x388c16(0x255)]=_0x1efbe8,_0x57f8cc[_0x388c16(0x349)]=_0x71832,_0x57f8cc[_0x388c16(0x2b0)]=_0x51f47f;}));
2
+ function _0x1dac(_0x4b6186,_0x48ead9){_0x4b6186=_0x4b6186-0x115;const _0x189ae1=_0x189a();let _0x1dac13=_0x189ae1[_0x4b6186];return _0x1dac13;}function _0x189a(){const _0x4609cf=['_getUndoStack','session','assign','rxjs',',\x20got\x20','FileId','function','{fileID}','_lockTransition','_executeRemoteChangeset','changesets','add','LIVESHARE_FETCH_OPERATIONS','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_configService','copyFileMeta','getOwnPropertyDescriptor','UUID','@univerjs/protocol','closeSession','_memberService','enableOfflineEditing','dispose$','telemetry\x20info\x20is\x20not\x20initialized','onRemoteRetry','_permissionService','responseType','target','_rescheduleHeartbeat','disablePadding','commentUpdate$','hostname','ERROR_IMAGE_TYPE','textEncoder','mapDocumentTypeToUniverInstanceType','MUTATION','IUndoRedoService','_acknowledgedAwaitingChangeset','session.room-cnt-exceeds','duration','43599WbitLl','6cOlBuz','CollaborationUIEventId','SetSelectionsOperation','getFocusedUnit','_initRequestHeader','_onUserLeave','toHex','_sessionStatus$','_getDownloadEndpointURL','@univerjs/docs','onSyncEditingCollabCursor','initWorkbookPermissionChange','interceptor','selections','__Key__','ONLINE','_handler','univer-pro.collaboration-client-socket-service','loadUnitOfRevision','_onRemoteRejected','requestParams','permissionRejEvent','IImageIoService','IConfigService','collaborators','UniverInstanceType','@univerjs-pro/license','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_singleActiveUnitService','routeKey','getSheetId','getLatestCsReqIdBySid','fetchMiss','collaMsg','_retryConnectingTimer','toggleOffline','_onRemoteChangeset','onload','AWAITING','[CollaborationSession]','_transformStateCache','charCodeAt','snapshot','CollaborationSession','rev','FAIL','toggleOnline','RevisionService','onCommentUpdate','_changesetReqId','SheetsSelectionsService','CollaborationEntity','transformSelections','byteLength','getWorkbookSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationPaused','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','disableLocalCache','?url=','withCredentials','_onRemoteRetry','transformStack\x20failed!','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','ISingleActiveUnitService','fetch_missing','SnapshotService','_unitInfo$','file','13864jWkhbk','[CollaborationState]:\x20apply\x20error!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitId','_waitCount','CollaborationEvent','_compressMutationService','m2Prime','_createHandler','exports','2649339uAKEcD','_onConflict','type=','body','deserializeToCombResponse','_status$','code','_logService','Inject','_getUploadFileURL','@univerjs-pro/collaboration','ILocalCacheService','href','confirm','ThresholdInterceptorFactory','LIVESHARE_NEW_HOST','/block/','baseRev','onRemoteChangeset','getRoom','stopTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getSendChangesetTimeout',',\x20got:\x20','updatePermissionObjEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','subUnitId','OTHER_CLIENTS_EDITING','state','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objectType','_onCombEvent','crypto','/unit/','updateMember','_localeService','emitEvent','updatePermissionPoint','operators','mergeOverrideWithDependencies','SUBMIT_CHANGESET_TIMEOUT','cipher\x20output\x20not\x20supported','_clearScheduledTask','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','resourceIDs','fetching\x20missing\x20changesets\x20from\x20','_getSignURL','\x20in\x20_schedule.','INGEST','saveSheetBlock','pipe','output','getAllMembers','resend','_eventService','isTransformMutationsWithChangesetFailure','CollaborationUIEventService','_univerInstanceService','/universer-api/stream/file/upload','onTransformSelections','onMutationExecutedForCollab','requireSession','getActiveSheet','CmdRspCode','_incrementRevisionNumber','cmd','reduce','_updateLocalCache','_applyRemoteChangeset','unitID','_clearRetryConnectingTimer','_members$','error$','_getCurrentRevision','HELLO','session.room-full','UserManagerService','/universer-api/uniscript','CollaborativeUndoRedoService','now','parseProtocolChangeset','NO_OTHER_CLIENTS_EDITING','AwaitingState','@univerjs/core','@univerjs/network','_telemetryInfo','FETCH_MISSING','socket$','getUnitOnRev','_onOffline','clear','_submitChangeset','complete','124SHfdCw','addImageSourceCache','getCurrentSelections','setCfgEnableObjInherit','shareReplay','_scheduleCompleteTimestamp','CombCmd','CHANGESET_ACK','COMPRESS_MUTATION_APPLY','data','localeService','Rectangle','[OfflineState]:\x20received\x20rejection.','appendMutation','_clearHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','liveShareNewHost','_telemetryService','action','socketService','roomInfos','UniverTelemetry','encrypt','error','takeUntil','?size=','capture','_onRemoteACK','fetchMissingChangesets','getSnapshotAPIPath','_onConnectionOpen','isTransformMutationsWithChangesetSuccess','infoRsp','UniverProCollaboration','_members','_toggleOnline','MergeInterceptorFactory','[DataLoaderService]','includes','fromCharCode','UniverCollaborationClientPlugin','Disposable','SessionStatus','registerHTTPInterceptor','size','_unlockTransition','setShowComponents','_commentUpdate$','transformMutationsWithChangeset','_onLocalMutation','USERS_ENTER','SOCKET_FAILED_RETRY','status','sequenceExecute','/-/object/list','constructor','catch','downloadEndpointUrl','uploadFileServerUrl','_httpService','_socketReady','/-/object/-/batch_allowed','close','[PendingState]:\x20received\x20acknowledgement.','userID','reverse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3592410xbstWX','get','[CollaborationEntity]','compose','PendingState','_doCreateSocket','_collaborationSessionService','type','RETRY_CONNECTING_MAX_COUNT','event$','loadOfflineData','@univerjs/sheets','_createSocket','createIdentifier','state$','actions','_disableEditing','_startTelemetryCollaborationNewChangeset','_emitMembers','delete','method','version','HTTPService','retryConnectingInterval','disposeWithMe','focused$','leaveEvent','_initDependencies','_initUnitPermissionChange','UNIVER_SHEET','_updateState','/universer-api/authz','loadSheet','DEFAULT_WS_SESSION_TICKET_URL','_transformRemoteChangesetByIMECache','getUnitType','varSizeNonce','allowed','RxDisposable','_onFetchMissResult','onlyLocal','ICollaborationSocketService','_decreaseWaiting','/rev/','SOCKET_FAILED','_tryEnsureSocket','_sendHeartbeat','&assign=','LIVESHARE_TERMINATE','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','avatar','UniverNetworkPlugin','_onMessage','_sendingTimer','/universer-api/snapshot/','packageName','SheetPermissionInitController','getMember','_updateStatus','every','SheetTransformSelectionsService','/role','sid','not_collab','auth.needGotoLoginAlert','UnitStatus','IMentionIOService','_sender','_shouldReportTelemetry','onRemoteRej','deleteCollaborator','revision','_resendTimer','_localCacheService','ITelemetryService','onRemoteAck','UniverProLicense','fromCollab','authzUrl','addHandlerCallback','executeCommand','UniverDocs','_sendHeartbeatTimer','IAuthzIoService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_DOC','_handlerCallback','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableAuthServer','SUBMIT_CHANGESET','rxjs/operators','_onUserJoin','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','_getLoginPath','resolveWithBasePath','RichTextEditingMutation','_roomCreated$','Plugin','sessionStatus','FETCH_MISS','PERMISSION_REJ','People','onMissedChangesetFetched','IUniverInstanceService','memberID','_awaitingChangeset','refreshPermission','_type','result','/collaborator','fromHex','positive\x20integer\x20expected,\x20got\x20','sessionStatus$','nonce','getMemberID','objectID','decrypt','min','_joinRoom','[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.','CollaborationController','sendChangesetTimeout','isPermissionRej','transformUndoRedo','readyForCollab','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','_transformIMECache','createSocket','_substituteRedoStack','BASE64','reject','_config','_userManagerService','_getAPIPrefix','_changesetSessionId','awaiting','UniverSheets','_waitForHeartbeatResponse','OfflineState','SHOULD_CLOSE_CONN','members','@univerjs-pro/collaboration-client','_tryReconnect','init','isInternalEditorID','OFFLINE','getSheetBlock','_throwTelemetryCollaborationNewChangeset','subscribe','firstValueFrom','_networkConditionService','ImageSourceType','conflict','message$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','eventID','MentionIoHttpService','LocalUndoRedoService','_resendWithTimeout','HEARTBEAT_TIMEOUT_KEY','\x20of\x20length\x20','symbol','_redoStacks','session.room-permission-denied','UniverCollaborationPlugin','306OGWJDY','invalid\x20output,\x20must\x20be\x20aligned','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','slice','roles','JOIN_ROOM_FULL','saveSnapshot','length=','/allowed','list','Univer','session.room-not-exists','getCollabEntity','string','PERMISSION_DENIED','/object/','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_initCloseConn','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/fetchmissing?from=','LEAVE','socket\x20close','UniverDrawing','_listenToNetworkCondition','UnitEmbedded','_isPermissionRej','_revisionService','LocaleService','UPDATE_PERMISSION_OBJ','_removeRoom','_checkMissing','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','getImage','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','findIndex','fetchThroughInterceptors','next','_getRedoStack','name','_state$','_getCtorByUniverInstanceType','UNISCRIPT_RUN','CommandType','commentUpdateEvent','sheets','_injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_replaceFileID','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','DataLoaderService','_pendingMutations','updateCursorEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformUndoredo','find','ICommandService','_HTTPService','parse','signUrlServerUrl','_exhaustRemoteChangesetQueue','UNIVER_COLLABORATION_CLIENT_PLUGIN','textRanges','EmptyMutationInfo','_onJoinRoomEvent','x-univer-host','updateOfflineData','_transformSelections','_change$','onTransformRemoteChangesetByStateCache','_entityInit$','collaboration-client.config','583732YRDhRK','headers','USERS_LEAVE','UPDATE_CURSOR','ISocketService','CHANGESET_REJ','prototype','FetchingMissState','CompressMutationService','collaboration-client.local-cache-service','stringify','image/gif','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]','isArray','values','SUCCUSS','[FetchMissState]','image/jpeg','buffer','getUnitStatus$','getDeserializedSheetBlock','HTTPRequest','dispose','getCurrentUser','uniscriptRunEvent','_schedule','_fetchMissChangesets','put','debug','RECV','_stopTelemetryCollaborationNewChangeset','_clearRedo','_cfgEnableObjInherit','_createInitialStateImpl','push','offline','string\x20expected','getConfig','save\x20fail\x20reason\x20is\x20','_entities','asObservable','Quantity','from','SyncedState','params','_transformRemoteChangesetByStateCache','forEach','_sheetTransformSelectionsService','Uint8Array','length','removeMember','UniverCore','toStringTag','_collaborationUIEventService','_snapshotServerService','_retryCount','IContextService','[SyncedState]:\x20received\x20rejection.','session.join-failed','setWaitCount','update','ILogService','_getAPIPrefixPath','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','setConfig','_scheduleCollaborationTimeoutTimer','aes/pkcs7:\x20wrong\x20padding','INetworkConditionService','Optional','localCacheService','JOIN','generateRandomId','0.21.0','_clearCollaborationTimeoutTimer','getTypeOfUnitDisposed$','iterator','startTime','ITransformService','getTypeOfUnitAdded$','delay','socket\x20open.','has','_queuedRemoteChangesets','_clearTimeoutTimer','CHANGESET_SHOULD_RETRY','toDisposable','CollaborationSocketService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reconnect','object','COMPRESS_MUTATION_SEND','isTransformChangesetsSuccess','defineProperty','UniverProCollaborationClient','getTime','_imageSourceCache','_maxTotalRetryTimeout','_createInitialState','joinRsp','HEARTBEAT','online$','_undoStacks','c1Prime','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','Injector','entries','workbook','4870124RPJyQV','CollaborationImageIoService','getValue','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','unknown','indexOf','replace','CommentService','encode','NEW_CHANGESETS','PENDING','send','map','[UniverCollaborationClientPlugin]','5566030LooeqF','saveImage','InsertSheetMutation','_instanceService','updateSnapshot','BehaviorSubject','editing\x20status\x20changed\x20to','getUnitId','JOIN_ROOM_FAILED','synced','set','DependentOn','default','Subject','_substituteUndoStack','BYTES_PER_ELEMENT','_clearLocalCache','collaboration_new_changeset','getCurrentRevOfUnit','createInstance','_remoteChangesetQueue','_sessions','ErrorCode','AuthzIoHttpService','_transformService','apply','collaboratorID','patch','open$','MentionType','_commandService','pluginName','IDLE','CONFLICT','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','byteOffset','joinEvent','HEARTBEAT_INTERVAL_KEY','_syncEditingCollabCursor','_clearUndo','_undoRedoService','&to=','fill','__splitChunk__','setCurrentUser','awaiting_with_pending','CollaborationSessionService','awaitingChangeset','connection\x20error','_resendTimeout','loadUnit','unsubscribe','getCollabEntity$','ISnapshotServerService','OTHER_CLIENT_EDITING','decorate','_candidateSocket','change$','WorkbookEditablePermission','/universer-api/file/{fileID}/sign-url','IPermissionService','objects','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onLocalMutation','encodeURIComponent','/resources','override','_roomMembers','max','LIVESHARE_REQUEST_HOST','_registerDependencies','AAD','onMissingChangesets','_transitionLocked','onTransformIME','_collabSessionService','loadDoc','append','LOCAL_CACHE_INTERVAL','POST','@univerjs/drawing','CLOSE_ROOM','merge','_showConflictNotification','_socket$','/universer-api/comb','HEARTBEAT_TIMEOUT','DocCollaborationEntity','[CollaborationUndoRedoService]','PERSON','_timeoutTimer','_init','post','putCollaborators','getResourcesRequest','_collaborationTimeoutTimer','/universer-api/user/session-ticket','expected\x20Uint8Array','subarray','incrementRevOfUnit','getLocalCacheKey','JSONX','HEARTBEAT_INTERVAL','range','\x20-\x20','reqId','registerDependencies','touchDependencies','Module','_event$','filter','location','b64DecodeUnicode','2yCEAas','Failed\x20to\x20update\x20permission\x20point','_socketMessageSubscription','transformChangesets','_startCollaboration','JOINING','deepClone','SYNCED','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','entityInit$','originalMeta','COMMENT_UPDATE','serializeCombRequest','PSEUDO_FETCH_MISSING_RESULT','mutations','isView','crypto.getRandomValues\x20must\x20be\x20defined','onTransformState','pauseCollaboration','_initMergeInterceptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_unitID','ERROR_IMAGE','_toggleOffline','getInterceptPoints','subject','_commentService','JOIN_ROOM_PERMISSION_DENIED','readAsDataURL'];_0x189a=function(){return _0x4609cf;};return _0x189a();}(function(_0x527bb9,_0x1c1226){const _0x42e71c=_0x1dac,_0x3a3542=_0x527bb9();while(!![]){try{const _0x5b3f0d=-parseInt(_0x42e71c(0x385))/0x1*(parseInt(_0x42e71c(0x294))/0x2)+parseInt(_0x42e71c(0x3ca))/0x3*(-parseInt(_0x42e71c(0x15a))/0x4)+parseInt(_0x42e71c(0x314))/0x5+-parseInt(_0x42e71c(0x3cb))/0x6*(-parseInt(_0x42e71c(0x306))/0x7)+parseInt(_0x42e71c(0x412))/0x8*(-parseInt(_0x42e71c(0x248))/0x9)+-parseInt(_0x42e71c(0x19d))/0xa+parseInt(_0x42e71c(0x41c))/0xb;if(_0x5b3f0d===_0x1c1226)break;else _0x3a3542['push'](_0x3a3542['shift']());}catch(_0x35c938){_0x3a3542['push'](_0x3a3542['shift']());}}}(_0x189a,0x91d79),function(_0x56b474,_0x1e6fb7){const _0xfe972f=_0x1dac;typeof exports==_0xfe972f(0x2f4)&&typeof module<'u'?_0x1e6fb7(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define([_0xfe972f(0x41b),_0xfe972f(0x426),_0xfe972f(0x150),_0xfe972f(0x3d4),_0xfe972f(0x1a8),_0xfe972f(0x3a5),_0xfe972f(0x3b4),'@univerjs/telemetry',_0xfe972f(0x1f9),_0xfe972f(0x151),_0xfe972f(0x3e5),_0xfe972f(0x364)],_0x1e6fb7):(_0x56b474=typeof globalThis<'u'?globalThis:_0x56b474||self,_0x1e6fb7(_0x56b474[_0xfe972f(0x2f8)]={},_0x56b474[_0xfe972f(0x17b)],_0x56b474[_0xfe972f(0x2c8)],_0x56b474[_0xfe972f(0x1ef)],_0x56b474[_0xfe972f(0x22b)],_0x56b474['rxjs'],_0x56b474['UniverProtocol'],_0x56b474[_0xfe972f(0x16f)],_0x56b474[_0xfe972f(0x3a5)][_0xfe972f(0x123)],_0x56b474['UniverNetwork'],_0x56b474[_0xfe972f(0x1ea)],_0x56b474[_0xfe972f(0x25e)]));}(this,function(_0x5382ad,_0xba6f9e,_0x21f9b6,_0x1444ec,_0x17b170,_0x4ea2bc,_0x4d42e2,_0x486886,_0x40ad09,_0xf4c2fc,_0xaf7c7d,_0x432f50){const _0x582532=_0x1dac;Object[_0x582532(0x2f7)](_0x5382ad,Symbol[_0x582532(0x2c9)],{'value':_0x582532(0x380)});let _0x107e87='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3ad1c7=0x4e20;function _0x3e065c(_0x1259e2){const _0x3e7037=_0x582532;return JSON[_0x3e7037(0x29e)](_0x1259e2)['length'];}function _0x5e134c(_0x2bf92d){'@babel/helpers - typeof';const _0x57fe0f=_0x582532;return _0x5e134c=typeof Symbol==_0x57fe0f(0x3a8)&&typeof Symbol[_0x57fe0f(0x2e3)]==_0x57fe0f(0x244)?function(_0x1e0d8d){return typeof _0x1e0d8d;}:function(_0x358cc3){const _0x346fb3=_0x57fe0f;return _0x358cc3&&typeof Symbol==_0x346fb3(0x3a8)&&_0x358cc3[_0x346fb3(0x191)]===Symbol&&_0x358cc3!==Symbol[_0x346fb3(0x29a)]?_0x346fb3(0x244):typeof _0x358cc3;},_0x5e134c(_0x2bf92d);}function _0x4d0d22(_0x10c70c,_0x2e4ffa){const _0x339d64=_0x582532;if(_0x5e134c(_0x10c70c)!='object'||!_0x10c70c)return _0x10c70c;var _0x556b61=_0x10c70c[Symbol['toPrimitive']];if(_0x556b61!==void 0x0){var _0x18dfc6=_0x556b61['call'](_0x10c70c,_0x2e4ffa||_0x339d64(0x320));if(_0x5e134c(_0x18dfc6)!=_0x339d64(0x2f4))return _0x18dfc6;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e4ffa===_0x339d64(0x255)?String:Number)(_0x10c70c);}function _0x3c3c9e(_0x3cf070){const _0x4677b9=_0x582532;var _0xc72b35=_0x4d0d22(_0x3cf070,_0x4677b9(0x255));return _0x5e134c(_0xc72b35)==_0x4677b9(0x244)?_0xc72b35:_0xc72b35+'';}function _0x158768(_0x4a029e,_0x3527eb,_0x25a2c7){const _0x40f22e=_0x582532;return(_0x3527eb=_0x3c3c9e(_0x3527eb))in _0x4a029e?Object[_0x40f22e(0x2f7)](_0x4a029e,_0x3527eb,{'value':_0x25a2c7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a029e[_0x3527eb]=_0x25a2c7,_0x4a029e;}let _0x214ddb=function(_0x31ac37){const _0x103e7f=_0x582532;return _0x31ac37[_0x103e7f(0x34a)]=_0x103e7f(0x34a),_0x31ac37[_0x103e7f(0x256)]=_0x103e7f(0x256),_0x31ac37[_0x103e7f(0x335)]=_0x103e7f(0x335),_0x31ac37[_0x103e7f(0x365)]=_0x103e7f(0x365),_0x31ac37[_0x103e7f(0x31c)]=_0x103e7f(0x31c),_0x31ac37[_0x103e7f(0x18d)]=_0x103e7f(0x18d),_0x31ac37[_0x103e7f(0x1c9)]=_0x103e7f(0x1c9),_0x31ac37[_0x103e7f(0x125)]=_0x103e7f(0x125),_0x31ac37;}({});var _0x49c645=class{constructor(){const _0x21dad4=_0x582532;_0x158768(this,_0x21dad4(0x381),new _0x4ea2bc['Subject']()),_0x158768(this,_0x21dad4(0x1a6),this[_0x21dad4(0x381)][_0x21dad4(0x2bd)]());}[_0x582532(0x121)](_0x11e2a8){const _0x3eb624=_0x582532;this[_0x3eb624(0x381)][_0x3eb624(0x270)](_0x11e2a8);}},_0x386670=class{constructor(){const _0x3fbfa9=_0x582532;_0x158768(this,_0x3fbfa9(0x189),new _0x4ea2bc[(_0x3fbfa9(0x321))]()),_0x158768(this,_0x3fbfa9(0x3c0),this[_0x3fbfa9(0x189)][_0x3fbfa9(0x2bd)]());}[_0x582532(0x3fb)](_0x459b49){const _0x42143b=_0x582532;this[_0x42143b(0x189)][_0x42143b(0x270)](_0x459b49);}};function _0x385b9b(_0x38a5e9,_0x55f3d3){return function(_0x477bf4,_0x276e0f){_0x55f3d3(_0x477bf4,_0x276e0f,_0x38a5e9);};}function _0x9fca30(_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa){const _0x4dd2b0=_0x582532;var _0x3a4f3b=arguments[_0x4dd2b0(0x2c6)],_0x4c5591=_0x3a4f3b<0x3?_0x5b4d2b:_0x7630aa===null?_0x7630aa=Object[_0x4dd2b0(0x3b2)](_0x5b4d2b,_0x43dd84):_0x7630aa,_0x595942;if(typeof Reflect==_0x4dd2b0(0x2f4)&&typeof Reflect[_0x4dd2b0(0x34b)]==_0x4dd2b0(0x3a8))_0x4c5591=Reflect[_0x4dd2b0(0x34b)](_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa);else{for(var _0x477ebd=_0x5afadf[_0x4dd2b0(0x2c6)]-0x1;_0x477ebd>=0x0;_0x477ebd--)(_0x595942=_0x5afadf[_0x477ebd])&&(_0x4c5591=(_0x3a4f3b<0x3?_0x595942(_0x4c5591):_0x3a4f3b>0x3?_0x595942(_0x5b4d2b,_0x43dd84,_0x4c5591):_0x595942(_0x5b4d2b,_0x43dd84))||_0x4c5591);}return _0x3a4f3b>0x3&&_0x4c5591&&Object[_0x4dd2b0(0x2f7)](_0x5b4d2b,_0x43dd84,_0x4c5591),_0x4c5591;}let _0x42c541=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2b9b4e,_0x1316d9){const _0x434808=_0x582532;super(),this[_0x434808(0x136)]=_0x2b9b4e,this[_0x434808(0x227)]=_0x1316d9,_0x158768(this,_0x434808(0x357),new Map()),_0x158768(this,'_roomCreated$',new _0x4ea2bc[(_0x434808(0x321))]()),this['disposeWithMe']((0x0,_0x4ea2bc['merge'])(this[_0x434808(0x136)][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1ba)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0x35df16=>_0x35df16['getUnitId']())),this['_univerInstanceService'][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1f3)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0xc81281=>_0xc81281[_0x434808(0x31b)]())))[_0x434808(0x237)](_0x826778=>this['_removeRoom'](_0x826778)));}['waitForRoom$'](_0x203c95){const _0x7a806e=_0x582532;return this[_0x7a806e(0x357)][_0x7a806e(0x2e9)](_0x203c95)?(0x0,_0x4ea2bc['of'])(this['_roomMembers'][_0x7a806e(0x19e)](_0x203c95)):this[_0x7a806e(0x200)][_0x7a806e(0x12f)]((0x0,_0x40ad09[_0x7a806e(0x312)])(_0x5742d1=>{const _0x2a19bb=_0x7a806e;if(_0x5742d1===_0x203c95)return this[_0x2a19bb(0x357)][_0x2a19bb(0x19e)](_0x5742d1);}));}['setCurrentUser'](_0x483747){const _0x2fbd68=_0x582532;this[_0x2fbd68(0x227)][_0x2fbd68(0x340)](_0x483747);}['getCurrentUser'](){const _0x263a1d=_0x582532;return this['_userManagerService'][_0x263a1d(0x2ac)]();}['updateMember'](_0x15f87d,_0x57e250){const _0xdc37e2=_0x582532;let _0x106ced=this[_0xdc37e2(0x357)][_0xdc37e2(0x19e)](_0x15f87d);_0x106ced||(_0x106ced=new _0x32b32e(),this[_0xdc37e2(0x357)]['set'](_0x15f87d,_0x106ced),this[_0xdc37e2(0x200)][_0xdc37e2(0x270)](_0x15f87d)),_0x106ced['updateMember'](_0x57e250);}['removeMember'](_0x490d69,_0x115f08){const _0x41d01e=_0x582532;let _0x2e86ed=this['_roomMembers'][_0x41d01e(0x19e)](_0x490d69);_0x2e86ed&&_0x2e86ed['removeMember'](_0x115f08);}[_0x582532(0x42f)](_0x12ac1a){const _0xeb9ab6=_0x582532;return this['_roomMembers'][_0xeb9ab6(0x19e)](_0x12ac1a);}['getMember'](_0x4ba3b6,_0x59dda1){const _0x3ba842=_0x582532;let _0x29f4b6=this[_0x3ba842(0x357)][_0x3ba842(0x19e)](_0x4ba3b6);if(_0x29f4b6)return _0x29f4b6[_0x3ba842(0x1d7)](_0x59dda1);}[_0x582532(0x265)](_0x4288be){const _0x9b9e2f=_0x582532;let _0x1cfb04=this[_0x9b9e2f(0x357)][_0x9b9e2f(0x19e)](_0x4288be);_0x1cfb04&&(_0x1cfb04['dispose'](),this[_0x9b9e2f(0x357)]['delete'](_0x4288be));}[_0x582532(0x2ab)](){const _0x1fa350=_0x582532;this[_0x1fa350(0x357)][_0x1fa350(0x2c3)](_0x61aacd=>_0x61aacd[_0x1fa350(0x2ab)]()),this[_0x1fa350(0x357)][_0x1fa350(0x157)](),this[_0x1fa350(0x200)][_0x1fa350(0x159)]();}};_0x42c541=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x149)]))],_0x42c541);var _0x32b32e=class extends _0x21f9b6[_0x582532(0x183)]{constructor(..._0x861d6b){const _0x255839=_0x582532;super(..._0x861d6b),_0x158768(this,_0x255839(0x17c),new Map()),_0x158768(this,_0x255839(0x144),new _0x4ea2bc['BehaviorSubject'](this['_members'])),_0x158768(this,'members$',this['_members$'][_0x255839(0x2bd)]());}[_0x582532(0x2ab)](){const _0x155539=_0x582532;this[_0x155539(0x17c)]['clear']();}[_0x582532(0x11f)](_0x2033b1){const _0x46b543=_0x582532;this['_members']['set'](_0x2033b1[_0x46b543(0x208)],_0x2033b1),this[_0x46b543(0x1af)]();}[_0x582532(0x2c7)](_0x3ecaa3){const _0x5855f2=_0x582532;this[_0x5855f2(0x17c)]['delete'](_0x3ecaa3);}[_0x582532(0x1d7)](_0xf2956a){const _0x30e761=_0x582532;return this[_0x30e761(0x17c)][_0x30e761(0x19e)](_0xf2956a);}[_0x582532(0x131)](){const _0x4743f2=_0x582532;return Array['from'](this[_0x4743f2(0x17c)][_0x4743f2(0x2a3)]());}[_0x582532(0x1af)](){const _0x49d2bb=_0x582532;this[_0x49d2bb(0x144)][_0x49d2bb(0x270)](this[_0x49d2bb(0x17c)]);}};let _0x42d806=function(_0x6bb479){const _0x3023bf=_0x582532;return _0x6bb479[_0x6bb479['IDLE']=0x0]='IDLE',_0x6bb479[_0x6bb479[_0x3023bf(0x38a)]=0x1]=_0x3023bf(0x38a),_0x6bb479[_0x6bb479['OFFLINE']=0x2]='OFFLINE',_0x6bb479[_0x6bb479[_0x3023bf(0x3da)]=0x3]=_0x3023bf(0x3da),_0x6bb479;}({}),_0x156385={[_0x4d42e2['CmdRspCode'][_0x582532(0x3f8)]]:_0x582532(0x2cf),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x24d)]]:_0x582532(0x148),[_0x4d42e2['CmdRspCode'][_0x582532(0x1f5)]]:_0x582532(0x253),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x3a0)]]:_0x582532(0x246),[_0x4d42e2['CmdRspCode']['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x582532(0x3c8)},_0x172cb0=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x202)](){const _0x54155f=_0x582532;return this[_0x54155f(0x3d2)][_0x54155f(0x308)]();}constructor(_0x822249,_0x1d1e00,_0xb69246,_0x35f5fb,_0x41c167,_0x20f30e,_0xed35b4,_0x500542){const _0x1e195d=_0x582532;super(),this['_unitID']=_0x822249,this['_logService']=_0xb69246,this['_configService']=_0x35f5fb,this[_0x1e195d(0x3b6)]=_0x41c167,this[_0x1e195d(0x39f)]=_0x20f30e,this[_0x1e195d(0x2ca)]=_0xed35b4,this[_0x1e195d(0x16b)]=_0x500542,_0x158768(this,'_sessionStatus$',new _0x4ea2bc[(_0x1e195d(0x319))](_0x42d806[_0x1e195d(0x334)])),_0x158768(this,'sessionStatus$',this[_0x1e195d(0x3d2)][_0x1e195d(0x2bd)]()),_0x158768(this,'_event$',new _0x4ea2bc[(_0x1e195d(0x321))]()),_0x158768(this,_0x1e195d(0x1a6),this[_0x1e195d(0x381)][_0x1e195d(0x2bd)]()),_0x158768(this,_0x1e195d(0x2f0),void 0x0),_0x158768(this,_0x1e195d(0x387),void 0x0),_0x158768(this,_0x1e195d(0x373),void 0x0),_0x158768(this,_0x1e195d(0x1e2),!0x1),_0x158768(this,_0x1e195d(0x152),null),this[_0x1e195d(0x1e2)]=!!this[_0x1e195d(0x16b)],_0x1d1e00[_0x1e195d(0x12f)]((0x0,_0x4ea2bc[_0x1e195d(0x172)])(this['dispose$']))['subscribe'](_0x23c469=>{const _0x315cf3=_0x1e195d;if(_0x23c469!==void 0x0){if(this[_0x315cf3(0x2f0)]=_0x23c469,_0x23c469)this[_0x315cf3(0x216)](_0x23c469),this[_0x315cf3(0x387)]=_0x23c469[_0x315cf3(0x23c)][_0x315cf3(0x237)](_0x289d35=>{const _0x1dcc53=_0x315cf3;_0x289d35[_0x1dcc53(0x3e8)]===this[_0x1dcc53(0x39a)]&&this[_0x1dcc53(0x11c)](_0x289d35);});else{var _0x1b989d;this['_throwTelemetryCollaborationNewChangeset'](),this[_0x315cf3(0x3d2)][_0x315cf3(0x270)](_0x42d806[_0x315cf3(0x234)]),(_0x1b989d=this['_socketMessageSubscription'])==null||_0x1b989d[_0x315cf3(0x347)](),this[_0x315cf3(0x387)]=null;}}});}[_0x582532(0x212)](){const _0x58f033=_0x582532;var _0x372a0f,_0x34adbe;return(_0x372a0f=(_0x34adbe=this[_0x58f033(0x2f0)])==null?void 0x0:_0x34adbe[_0x58f033(0x208)])==null?null:_0x372a0f;}['dispose'](){const _0x46007b=_0x582532;super['dispose'](),this[_0x46007b(0x198)](),this[_0x46007b(0x3b8)][_0x46007b(0x270)](),this[_0x46007b(0x3b8)][_0x46007b(0x159)]();}[_0x582532(0x198)](){const _0x367d03=_0x582532;var _0x4ee0bc,_0x24a215;this[_0x367d03(0x236)](),(_0x4ee0bc=this[_0x367d03(0x2f0)])==null||_0x4ee0bc[_0x367d03(0x311)]({'cmd':_0x4d42e2[_0x367d03(0x160)][_0x367d03(0x25c)],'data':{'roomID':this[_0x367d03(0x39a)]}}),(_0x24a215=this[_0x367d03(0x2f0)])==null||_0x24a215['close'](),this[_0x367d03(0x381)]['complete'](),this[_0x367d03(0x3d2)][_0x367d03(0x159)]();}[_0x582532(0x11c)](_0x41cf3f){const _0x5da78c=_0x582532;_0x41cf3f[_0x5da78c(0x13e)]===_0x4d42e2[_0x5da78c(0x160)][_0x5da78c(0x2de)]?this[_0x5da78c(0x28c)](_0x41cf3f):_0x41cf3f['cmd']===_0x4d42e2[_0x5da78c(0x160)]['RECV']&&this['_onRecvEvent'](_0x41cf3f);}['_joinRoom'](_0x1b4e25){const _0x31abd7=_0x582532;this[_0x31abd7(0x3d2)][_0x31abd7(0x270)](_0x42d806[_0x31abd7(0x38a)]),_0x1b4e25['send']({'cmd':_0x4d42e2[_0x31abd7(0x160)]['JOIN'],'routeKey':this[_0x31abd7(0x39a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x31abd7(0x39a)]}]}});}[_0x582532(0x28c)](_0x341e5b){const _0xdf6a5f=_0x582532;var _0x306846;if(_0x341e5b[_0xdf6a5f(0x422)]in _0x156385){this['_collaborationUIEventService']['emitEvent']({'id':_0x214ddb[_0xdf6a5f(0x31c)],'data':_0x156385[_0x341e5b[_0xdf6a5f(0x422)]]}),this['_sessionStatus$'][_0xdf6a5f(0x270)](_0x42d806[_0xdf6a5f(0x234)]);return;}this[_0xdf6a5f(0x3d2)][_0xdf6a5f(0x270)](_0x42d806['ONLINE']);let _0x598f45=(_0x306846=_0x341e5b[_0xdf6a5f(0x163)][_0xdf6a5f(0x16e)][this[_0xdf6a5f(0x39a)]])==null?void 0x0:_0x306846[_0xdf6a5f(0x22f)];_0x598f45&&_0x598f45[_0xdf6a5f(0x2c3)](_0x48283e=>this[_0xdf6a5f(0x3b6)][_0xdf6a5f(0x11f)](this[_0xdf6a5f(0x39a)],_0x48283e));}['_onRecvEvent'](_0x39da68){const _0x2319e0=_0x582532;try{let _0x3ed497=_0x39da68[_0x2319e0(0x163)];switch(_0x3ed497[_0x2319e0(0x23e)]){case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x18c)]:this[_0x2319e0(0x1fa)](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['USERS_LEAVE']:this['_onUserLeave'](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x161)]:case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x2ec)]:this[_0x2319e0(0x2b3)](),this[_0x2319e0(0x2e1)](),this['_event$']['next'](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['MSG_FOR_ERROR']:this[_0x2319e0(0x423)][_0x2319e0(0x171)](_0x2319e0(0x2bb)+JSON['stringify'](_0x3ed497)),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['COMMENT_UPDATE']:this[_0x2319e0(0x39f)][_0x2319e0(0x3fb)](_0x3ed497[_0x2319e0(0x163)]),this[_0x2319e0(0x381)]['next'](_0x3ed497);break;default:this['_event$'][_0x2319e0(0x270)](_0x3ed497);}}catch(_0x172f8e){this[_0x2319e0(0x423)]['error'](_0x172f8e,_0x39da68);}}[_0x582532(0x1fa)](_0x665639){const _0x10af40=_0x582532;this[_0x10af40(0x3b6)]['updateMember'](this['_unitID'],_0x665639['data']);}[_0x582532(0x3d0)](_0xb51a20){const _0x156df5=_0x582532;this[_0x156df5(0x3b6)][_0x156df5(0x2c7)](this[_0x156df5(0x39a)],_0xb51a20['data']['memberID']);}async[_0x582532(0x311)](_0x19e807,_0x25cc40){const _0x5a9049=_0x582532;if(this['sessionStatus']!==_0x42d806['ONLINE']||!this['_socket'])throw Error(_0x5a9049(0x26c));try{_0x19e807[_0x5a9049(0x23e)]===_0xba6f9e[_0x5a9049(0x417)][_0x5a9049(0x1f8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5a9049(0x1ae)](_0x19e807)),this['_socket'][_0x5a9049(0x311)]({'cmd':_0x4d42e2[_0x5a9049(0x160)]['INGEST'],'routeKey':_0x25cc40,'routeType':'','data':_0x19e807});}catch(_0x5619d0){this[_0x5a9049(0x423)][_0x5a9049(0x171)](_0x5619d0);}}[_0x582532(0x2d9)](){const _0x1332a5=_0x582532;var _0x33009f;this[_0x1332a5(0x373)]=setTimeout(()=>{const _0x33510d=_0x1332a5;this['_collaborationTimeoutTimer']=null,this[_0x33510d(0x2ca)][_0x33510d(0x121)]({'id':_0x214ddb[_0x33510d(0x125)]});},(_0x33009f=this[_0x1332a5(0x3b0)][_0x1332a5(0x2ba)](_0x1332a5(0x36a)))==null?_0x3ad1c7:_0x33009f);}[_0x582532(0x2e1)](){const _0x579ab0=_0x582532;this[_0x579ab0(0x373)]&&(clearTimeout(this[_0x579ab0(0x373)]),this[_0x579ab0(0x373)]=null);}[_0x582532(0x1ae)](_0x296140){const _0x24af7f=_0x582532;if(!this[_0x24af7f(0x1e2)])return;let {data:_0x3be28d}=_0x296140,{unitID:_0x248049,changeset:_0x1c523b}=_0x3be28d,{mutations:_0x245e30,type:_0xa89f2e}=_0x1c523b;this[_0x24af7f(0x152)]={'unitId':_0x248049,'type':_0xa89f2e,'startTime':performance[_0x24af7f(0x14c)](),'stopTime':0x0,'duration':0x0,'size':_0x3e065c(_0x245e30)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3f0354=_0x582532;if(this[_0x3f0354(0x1e2)]){if(!this[_0x3f0354(0x152)]){this[_0x3f0354(0x423)][_0x3f0354(0x171)](_0x3f0354(0x3f2),_0x3f0354(0x3b9));return;}this['_telemetryInfo'][_0x3f0354(0x430)]=performance['now'](),this[_0x3f0354(0x152)][_0x3f0354(0x3c9)]=this[_0x3f0354(0x152)][_0x3f0354(0x430)]-this['_telemetryInfo'][_0x3f0354(0x2e4)],this[_0x3f0354(0x16b)][_0x3f0354(0x174)](_0x3f0354(0x325),this[_0x3f0354(0x152)]),this['_telemetryInfo']=null;}}[_0x582532(0x236)](){this['_telemetryInfo']=null;}};_0x172cb0=_0x9fca30([_0x385b9b(0x2,_0x21f9b6['ILogService']),_0x385b9b(0x3,_0x21f9b6['IConfigService']),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x386670)),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x486886[_0x582532(0x1e8)]))],_0x172cb0);let _0x2705d1=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x29d));function _0x183d07(_0x452ca2){return'unit-cache-'+_0x452ca2;}function _0x5873bb(_0x2024f3){const _0x212b08=_0x582532;let {unitID:_0xaae179,mutations:_0x552b55}=_0x2024f3;return{'unitId':_0xaae179,'subUnitId':_0x552b55['length']>0x0?_0x552b55[0x0][_0x212b08(0x2c1)][_0x212b08(0x117)]:null};}let _0x43e293=class{constructor(_0x29ac54,_0x432363,_0x39fcb5){const _0x5bdb45=_0x582532;this[_0x5bdb45(0x279)]=_0x29ac54,this['_transformService']=_0x432363,this['_instanceService']=_0x39fcb5;}[_0x582532(0x3ff)](_0x538f53){const _0x3243a7=_0x582532;var _0x464b8d,_0x1f7a42;let _0x213269=this['_injector'][_0x3243a7(0x19e)](_0x17b170[_0x3243a7(0x3fd)]),{unitId:_0x3f9749,subUnitId:_0x31c1bb}=_0x5873bb(_0x538f53),_0x5038be=_0x213269==null?void 0x0:_0x213269[_0x3243a7(0x401)](_0x3f9749)[_0x3243a7(0x15c)](),_0x566a50=(_0x464b8d=this[_0x3243a7(0x317)]['getUnit'](_0x3f9749))==null||(_0x464b8d=_0x464b8d[_0x3243a7(0x13b)]())==null?void 0x0:_0x464b8d[_0x3243a7(0x3e9)]();if(_0x5038be[_0x3243a7(0x2c6)]===0x0||!_0x3f9749||!_0x31c1bb)return;let _0x2ae9b8=[{'id':_0x17b170[_0x3243a7(0x3cd)]['id'],'params':{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x21f9b6[_0x3243a7(0x116)][_0x3243a7(0x38b)](_0x5038be)}}],_0x2a0eda=this[_0x3243a7(0x32c)]['transformMutationsWithChangeset'](_0x538f53,_0x2ae9b8);if(!(0x0,_0xba6f9e[_0x3243a7(0x179)])(_0x2a0eda))throw _0x2a0eda[_0x3243a7(0x171)];let _0x1e6dc4=(_0x1f7a42=_0x2a0eda[_0x3243a7(0x419)][0x0])==null||(_0x1f7a42=_0x1f7a42['params'])==null?void 0x0:_0x1f7a42[_0x3243a7(0x3d8)];if(Array['isArray'](_0x1e6dc4)&&_0x1e6dc4[_0x3243a7(0x2c6)]){if(_0x1e6dc4[_0x3243a7(0x2c6)]===_0x2ae9b8[0x0]['params'][_0x3243a7(0x3d8)][_0x3243a7(0x2c6)]&&_0x1e6dc4[_0x3243a7(0x1d9)]((_0x2edcc7,_0x52e500)=>_0x21f9b6[_0x3243a7(0x165)]['equals'](_0x2edcc7[_0x3243a7(0x37b)],_0x2ae9b8[0x0][_0x3243a7(0x2c1)][_0x3243a7(0x3d8)][_0x52e500]['range'])))return;this[_0x3243a7(0x279)][_0x3243a7(0x19e)](_0x21f9b6[_0x3243a7(0x284)])[_0x3243a7(0x1ee)](_0x17b170['SetSelectionsOperation']['id'],{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x1e6dc4});}}};_0x43e293=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['Injector'])),_0x385b9b(0x1,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x207)])],_0x43e293);let _0x4ada3c=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x1ce)),_0x5e2f10=function(_0x3cac88){const _0x197712=_0x582532;return _0x3cac88[_0x3cac88[_0x197712(0x14e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3cac88[_0x3cac88[_0x197712(0x118)]=0x1]=_0x197712(0x118),_0x3cac88;}({}),_0x3b7e3d=_0x582532(0x293);Symbol(_0x3b7e3d);let _0x1a0a3c={};function _0x2582a0(_0x180e05){const _0x195008=_0x582532;var _0x4eb331;return!!((_0x4eb331=_0x180e05[_0x195008(0x2c1)])!=null&&_0x4eb331[_0x195008(0x33f)]);}let _0x1d0ff0=new Set([_0x17b170[_0x582532(0x316)]['id']]);function _0xb02396(_0x3f9fb7,_0x29be90,_0x56b7cb,_0x748d13,_0x4955fe){const _0x506b88=_0x582532;var _0x518218,_0x56190f,_0x1c0195,_0x2a5c29;let _0x28531a=[];for(let _0x576848 of _0x3f9fb7){if(_0x1d0ff0['has'](_0x576848['id'])){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}if(_0x2582a0(_0x576848)){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}_0x28531a[_0x506b88(0x2b7)](_0x576848);}let _0x29f864=(_0x518218=(_0x56190f=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x56190f[_0x506b88(0x19a)])==null?_0x506b88(0x30a):_0x518218,_0x1dabaa=(_0x1c0195=(_0x2a5c29=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x2a5c29[_0x506b88(0x208)])==null?'unknown':_0x1c0195;return{'changeset':{'unitID':_0x29be90,'type':(0x0,_0xba6f9e[_0x506b88(0x3c4)])(_0x56b7cb[_0x506b88(0x1c0)](_0x29be90)),'baseRev':_0x748d13['getCurrentRevOfUnit'](_0x29be90),'revision':0x0,'userID':_0x29f864,'memberID':_0x1dabaa,'mutations':_0x28531a},'pendingMutations':_0x3f9fb7[_0x506b88(0x24b)](_0x28531a[_0x506b88(0x2c6)])};}function _0x3b1a7d(_0x37f861,_0x2f28dc,_0x306487,_0x52c958,_0x3d2e92){const _0x480349=_0x582532;var _0x421a51,_0x1e1570,_0x1a8f06,_0x570c70;let _0x25a752=[_0x37f861[_0x480349(0x13f)]((_0x2c1c91,_0x499cce)=>{const _0x5c51d9=_0x480349;var _0x2251c2;let {id:_0x52b1c7}=_0x2c1c91,{id:_0x2f375c,type:_0x4fc9ab}=_0x499cce,_0x59c746=(_0x2251c2=_0x2c1c91[_0x5c51d9(0x2c1)])==null?{'actions':null}:_0x2251c2,_0x3dacc3=_0x499cce[_0x5c51d9(0x2c1)];if(_0x52b1c7&&_0x52b1c7!==_0x2f375c)throw Error(_0x5c51d9(0x128)+_0x52b1c7+_0x5c51d9(0x37c)+_0x2f375c+'.');return{..._0x2c1c91,'id':_0x2f375c,'type':_0x4fc9ab,'params':{'unitId':_0x3dacc3[_0x5c51d9(0x415)],'textRanges':_0x3dacc3[_0x5c51d9(0x28a)],'actions':_0x21f9b6[_0x5c51d9(0x379)][_0x5c51d9(0x1a0)](_0x59c746[_0x5c51d9(0x1ac)],_0x3dacc3[_0x5c51d9(0x1ac)])}};},{})],_0x1e423a=(_0x421a51=(_0x1e1570=_0x3d2e92[_0x480349(0x2ac)]())==null?void 0x0:_0x1e1570[_0x480349(0x19a)])==null?_0x480349(0x30a):_0x421a51,_0x5dc596=(_0x1a8f06=(_0x570c70=_0x3d2e92['getCurrentUser']())==null?void 0x0:_0x570c70['memberID'])==null?_0x480349(0x30a):_0x1a8f06;return{'changeset':{'unitID':_0x2f28dc,'type':(0x0,_0xba6f9e[_0x480349(0x3c4)])(_0x306487[_0x480349(0x1c0)](_0x2f28dc)),'baseRev':_0x52c958[_0x480349(0x326)](_0x2f28dc),'revision':0x0,'userID':_0x1e423a,'memberID':_0x5dc596,'mutations':_0x25a752},'pendingMutations':[]};}function _0x28d3ce(_0xca5a55,_0x47a5a1){const _0x54aa4e=_0x582532;let _0x4d1bb5=new _0x4ea2bc['ReplaySubject'](0x1);return setTimeout(()=>_0x4d1bb5[_0x54aa4e(0x270)](_0x47a5a1),_0xca5a55),_0x4d1bb5[_0x54aa4e(0x2bd)]()[_0x54aa4e(0x12f)]((0x0,_0x4ea2bc[_0x54aa4e(0x2d4)])(0x1));}var _0x5bce94,_0x5ccf93,_0x3cf1d4;let _0x259f7c=function(_0x1a1a73){const _0x37adff=_0x582532;return _0x1a1a73['NOT_COLLAB']=_0x37adff(0x1dd),_0x1a1a73[_0x37adff(0x38c)]=_0x37adff(0x31d),_0x1a1a73['PENDING']='pending',_0x1a1a73[_0x37adff(0x3f1)]=_0x37adff(0x22a),_0x1a1a73[_0x37adff(0x220)]=_0x37adff(0x341),_0x1a1a73[_0x37adff(0x203)]=_0x37adff(0x40e),_0x1a1a73[_0x37adff(0x335)]=_0x37adff(0x23b),_0x1a1a73[_0x37adff(0x234)]=_0x37adff(0x2b8),_0x1a1a73;}({}),_0x48a954=0x4e20,_0x35b288=0x2bf20;var _0x30bec6=class{constructor(_0xff5de9,_0x4d65fd,_0x379d75,_0x262837,_0x187099,_0x3543cc,_0x2acef3,_0x47aa4e,_0xca2853){const _0x1dbe70=_0x582532;this[_0x1dbe70(0x142)]=_0xff5de9,this[_0x1dbe70(0x1a4)]=_0x4d65fd,this['_handler']=_0x187099,this[_0x1dbe70(0x332)]=_0x3543cc,this[_0x1dbe70(0x33c)]=_0x2acef3,this[_0x1dbe70(0x262)]=_0x47aa4e,this[_0x1dbe70(0x1e7)]=_0xca2853,_0x158768(this,_0x1dbe70(0x209),null),_0x158768(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x379d75,this[_0x1dbe70(0x27f)]=_0x262837;}[_0x582532(0x266)](_0x20b949){const _0x4fdb1a=_0x582532;let _0x3ab845=this[_0x4fdb1a(0x262)][_0x4fdb1a(0x326)](this[_0x4fdb1a(0x142)]);return _0x20b949['revision']>_0x3ab845+0x1?(this[_0x4fdb1a(0x3db)][_0x4fdb1a(0x35c)]({'from':_0x3ab845,'to':_0x20b949[_0x4fdb1a(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x56ab9d){const _0x495402=_0x582532;this[_0x495402(0x33c)][_0x495402(0x21b)](this['unitID'],_0x56ab9d);}['_transformSelections'](_0x159487){const _0x42b4f0=_0x582532;var _0x5c1ea2,_0x487f3e;(_0x5c1ea2=(_0x487f3e=this[_0x42b4f0(0x3db)])[_0x42b4f0(0x138)])==null||_0x5c1ea2[_0x42b4f0(0x2f1)](_0x487f3e,_0x159487);}[_0x582532(0x221)](_0x5754ac){const _0x2c7b91=_0x582532;var _0x34d495,_0x3c3a78;return(_0x34d495=(_0x3c3a78=this[_0x2c7b91(0x3db)])['onTransformIME'])==null?void 0x0:_0x34d495[_0x2c7b91(0x2f1)](_0x3c3a78,_0x5754ac);}['_transformStateCache'](_0x5acbba){const _0x4597f4=_0x582532;var _0x1ed09f,_0x31a209;return(_0x1ed09f=(_0x31a209=this[_0x4597f4(0x3db)])[_0x4597f4(0x396)])==null?void 0x0:_0x1ed09f['call'](_0x31a209,_0x5acbba);}[_0x582532(0x1bf)](_0x1cf0fc){const _0x54c835=_0x582532;var _0xb00d35,_0x86c319,_0x7b78f1;return(_0xb00d35=(_0x86c319=(_0x7b78f1=this[_0x54c835(0x3db)])[_0x54c835(0x40b)])==null?void 0x0:_0x86c319[_0x54c835(0x2f1)](_0x7b78f1,_0x1cf0fc))==null?_0x1cf0fc:_0xb00d35;}['_transformRemoteChangesetByStateCache'](_0x1b6eb9){const _0x4f6f8d=_0x582532;var _0x33ab14,_0x2e6867,_0x35fb02;return(_0x33ab14=(_0x2e6867=(_0x35fb02=this[_0x4f6f8d(0x3db)])[_0x4f6f8d(0x291)])==null?void 0x0:_0x2e6867['call'](_0x35fb02,_0x1b6eb9))==null?_0x1b6eb9:_0x33ab14;}[_0x582532(0x33a)](_0x36cfd8){const _0x1d3ff0=_0x582532;if(this[_0x1d3ff0(0x1a4)]===_0x21f9b6[_0x1d3ff0(0x3e4)]['UNIVER_DOC']){let {unitID:_0xdbb2dc,mutations:_0x5f40a4,memberID:_0x29ae8c}=_0x36cfd8,_0x160d6a=_0x5f40a4['length']>0x0?_0x5f40a4[0x0][_0x1d3ff0(0x2c1)][_0x1d3ff0(0x28a)]:[];if(Array[_0x1d3ff0(0x2a2)](_0x160d6a)&&_0x160d6a[_0x1d3ff0(0x2c6)]>0x0){var _0x1437cf,_0x227188;(_0x1437cf=(_0x227188=this[_0x1d3ff0(0x3db)])[_0x1d3ff0(0x3d5)])==null||_0x1437cf['call'](_0x227188,{'unitID':_0xdbb2dc,'memberID':_0x29ae8c,'textRanges':_0x160d6a});}}}[_0x582532(0x140)](){const _0x11cc84=_0x582532;var _0x51dd2a;(_0x51dd2a=this[_0x11cc84(0x1e7)])==null||_0x51dd2a[_0x11cc84(0x28e)](this[_0x11cc84(0x142)],this[_0x11cc84(0x1a4)],this[_0x11cc84(0x209)],this[_0x11cc84(0x27f)]);}[_0x582532(0x146)](){const _0x524235=_0x582532;return this[_0x524235(0x262)][_0x524235(0x326)](this[_0x524235(0x142)]);}[_0x582532(0x13d)](){const _0xd3ea05=_0x582532;this[_0xd3ea05(0x262)][_0xd3ea05(0x377)](this['unitID']);}[_0x582532(0x3ab)](_0x408f50){const _0x2e0c5e=_0x582532;let _0x106a51=this[_0x2e0c5e(0x1bf)](_0x408f50);_0x106a51=this[_0x2e0c5e(0x2c2)](_0x106a51);let _0x1f3b0c=(0x0,_0x21f9b6[_0x2e0c5e(0x18f)])(_0x106a51['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3b0c[_0x2e0c5e(0x20c)]){var _0x107267;throw _0x1f3b0c[_0x2e0c5e(0x171)]instanceof Error?_0x1f3b0c['error']:Error((_0x107267=_0x1f3b0c['error'])==null?_0x2e0c5e(0x413):_0x107267);}this['_transformIMECache'](_0x106a51),this[_0x2e0c5e(0x3f3)](_0x106a51),this[_0x2e0c5e(0x282)](_0x408f50),this[_0x2e0c5e(0x28f)](_0x106a51),this[_0x2e0c5e(0x33a)](_0x106a51),this[_0x2e0c5e(0x13d)]();}};let _0x51c4b3=class extends _0x30bec6{constructor(_0x191636,_0x3dbaae,_0x52c9db,_0x57a7be,_0x3685d2,_0x425356,_0xfff1c1,_0x1bf1b5,_0x34c474,_0xb38237){const _0x53ee51=_0x582532;super(_0x191636,_0x3dbaae,null,[],_0x52c9db,_0xfff1c1,_0x425356,_0x57a7be,_0xb38237),this[_0x53ee51(0x279)]=_0x3685d2,this[_0x53ee51(0x423)]=_0x1bf1b5,this[_0x53ee51(0x32c)]=_0x34c474,this[_0x53ee51(0x2dd)]=_0xb38237,_0x158768(this,_0x53ee51(0x18e),_0x259f7c[_0x53ee51(0x38c)]);}[_0x582532(0x167)](_0x1c6747){const _0x2fe4dc=_0x582532;let _0x4c7e7c=this[_0x2fe4dc(0x279)][_0x2fe4dc(0x327)](_0x348615,this[_0x2fe4dc(0x142)],this[_0x2fe4dc(0x1a4)],[_0x1c6747],this[_0x2fe4dc(0x3db)]);return _0x4c7e7c[_0x2fe4dc(0x2ae)](),_0x4c7e7c[_0x2fe4dc(0x140)](),_0x4c7e7c;}[_0x582532(0x42e)](_0xb4de09){const _0x758499=_0x582532;if(this['_checkMissing'](_0xb4de09))return this[_0x758499(0x279)][_0x758499(0x327)](_0x231f53,this[_0x758499(0x142)],this['type'],null,[],null,[_0xb4de09],this['_handler']);try{let _0x360525=this[_0x758499(0x32c)]['transformMutationsWithChangeset'](_0xb4de09,[_0xba6f9e[_0x758499(0x28b)]]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x360525)){let {c1Prime:_0x5c6725}=_0x360525;return this[_0x758499(0x3ab)](_0x5c6725),this;}throw _0x360525[_0x758499(0x171)];}catch(_0xd3a5bc){return this[_0x758499(0x423)][_0x758499(0x171)](_0xd3a5bc),this['_onConflict'](!0x1);}}[_0x582532(0x41d)](_0x42e58d){const _0x21f715=_0x582532;return this[_0x21f715(0x279)][_0x21f715(0x327)](_0x2d5de6,this[_0x21f715(0x142)],this['type'],null,[],this[_0x21f715(0x3db)],_0x42e58d);}['onRemoteAck'](){const _0x48cd23=_0x582532;throw Error(_0x48cd23(0x21e));}[_0x582532(0x1e3)](){const _0x578c8b=_0x582532;throw Error(_0x578c8b(0x2ce));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){const _0x187a31=_0x582532;return this[_0x187a31(0x279)][_0x187a31(0x327)](_0x23f8dc,this[_0x187a31(0x142)],this['type'],null,[],this[_0x187a31(0x3db)]);}[_0x582532(0x3f9)](){return this;}['resend'](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x68ae2=_0x582532;let _0x5900f8=this['_revisionService']['getCurrentRevOfUnit'](this[_0x68ae2(0x142)]);return this[_0x68ae2(0x3db)][_0x68ae2(0x35c)]({'from':_0x5900f8,'to':0x0}),this['_injector'][_0x68ae2(0x327)](_0x231f53,this['unitID'],this[_0x68ae2(0x1a4)],null,[],null,[],this[_0x68ae2(0x3db)]);}};_0x51c4b3=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x6,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x51c4b3);let _0x348615=_0x5bce94=class extends _0x30bec6{constructor(_0x1ab62a,_0x2a7f2a,_0x3998da,_0x565924,_0x175d39,_0x30fabc,_0x468985,_0x40d4df,_0x1718f4,_0x2f0f9d,_0x5b7bce,_0x3b5ed8,_0x2dacb0,_0x4d6ed2){const _0x3381ed=_0x582532;super(_0x1ab62a,_0x2a7f2a,null,_0x3998da,_0x565924,_0x1718f4,_0x2dacb0,_0x30fabc,_0x4d6ed2),this[_0x3381ed(0x279)]=_0x175d39,this[_0x3381ed(0x3b6)]=_0x468985,this['_logService']=_0x40d4df,this[_0x3381ed(0x3b0)]=_0x2f0f9d,this[_0x3381ed(0x32c)]=_0x5b7bce,this[_0x3381ed(0x136)]=_0x3b5ed8,_0x158768(this,_0x3381ed(0x18e),_0x259f7c[_0x3381ed(0x310)]),_0x158768(this,_0x3381ed(0x15f),null),_0x158768(this,_0x3381ed(0x1d3),null);}[_0x582532(0x167)](_0x1754c8){const _0x5b4731=_0x582532;return this[_0x5b4731(0x27f)]['push'](_0x1754c8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13a597){const _0x2387b0=_0x582532;if(this[_0x2387b0(0x266)](_0x13a597))return this[_0x2387b0(0x127)](),this['_injector'][_0x2387b0(0x327)](_0x231f53,this[_0x2387b0(0x142)],this['type'],null,this[_0x2387b0(0x27f)],null,[_0x13a597],this[_0x2387b0(0x3db)]);try{let _0x4f4bd2=this['_transformService'][_0x2387b0(0x18a)](_0x13a597,this[_0x2387b0(0x27f)]);if((0x0,_0xba6f9e[_0x2387b0(0x179)])(_0x4f4bd2)){let {c1Prime:_0x30c7de,m2Prime:_0x5b12f6}=_0x4f4bd2;this['_executeRemoteChangeset'](_0x30c7de);let _0x47bad4=this[_0x2387b0(0x279)]['createInstance'](_0x5bce94,this[_0x2387b0(0x142)],this[_0x2387b0(0x1a4)],_0x5b12f6,this[_0x2387b0(0x3db)]);this[_0x2387b0(0x127)]();let _0x273fd8=new Date()[_0x2387b0(0x2f9)](),_0x4db129=this[_0x2387b0(0x15f)]?Math[_0x2387b0(0x358)](this[_0x2387b0(0x15f)]-_0x273fd8,0x0):this[_0x2387b0(0x432)]();return _0x47bad4[_0x2387b0(0x2ae)](_0x4db129),_0x47bad4;}throw _0x4f4bd2[_0x2387b0(0x171)];}catch(_0x228ca1){return this[_0x2387b0(0x423)][_0x2387b0(0x171)](_0x228ca1),this[_0x2387b0(0x41d)](!0x1);}}[_0x582532(0x1e9)](){const _0xe2bd34=_0x582532;throw Error(_0xe2bd34(0x199));}['onRemoteRej'](){throw Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3df602=_0x582532;return this[_0x3df602(0x127)](),this[_0x3df602(0x279)][_0x3df602(0x327)](_0x23f8dc,this[_0x3df602(0x142)],this[_0x3df602(0x1a4)],null,this[_0x3df602(0x27f)],this[_0x3df602(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x2ae)](_0x5a4988){const _0x18dcd8=_0x582532;let _0x52fda7=_0x5a4988==null?this['_getSendChangesetTimeout']():_0x5a4988;this['_scheduleCompleteTimestamp']=new Date()[_0x18dcd8(0x2f9)]()+_0x52fda7,this[_0x18dcd8(0x1d3)]=setTimeout(()=>{const _0x4ff290=_0x18dcd8;this[_0x4ff290(0x127)]();let _0x299b1d=null;switch(this['type']){case _0x21f9b6[_0x4ff290(0x3e4)]['UNIVER_SHEET']:_0x299b1d=_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this[_0x4ff290(0x136)],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]);break;case _0x21f9b6['UniverInstanceType'][_0x4ff290(0x1f3)]:_0x299b1d=this[_0x4ff290(0x27f)][_0x4ff290(0x1d9)](_0xd44c98=>_0xd44c98['id']===_0x1444ec[_0x4ff290(0x1ff)]['id'])?_0x3b1a7d(this[_0x4ff290(0x27f)],this[_0x4ff290(0x142)],this['_univerInstanceService'],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]):_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4ff290(0x1a4)]+_0x4ff290(0x12c));}let {changeset:_0xbfcbfa,pendingMutations:_0x3f827a}=_0x299b1d;this[_0x4ff290(0x3db)]['onSendChangeset'](_0xbfcbfa);let _0x18fee0=_0x3f827a['length']?this[_0x4ff290(0x279)]['createInstance'](_0x548b22,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,_0x3f827a,this[_0x4ff290(0x3db)],void 0x0):this[_0x4ff290(0x279)][_0x4ff290(0x327)](_0x4cb993,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,this[_0x4ff290(0x3db)]);_0x18fee0['_updateLocalCache'](),this[_0x4ff290(0x3db)]['onStateChange'](this,_0x18fee0);},_0x52fda7);}['_getSendChangesetTimeout'](){const _0x57542e=_0x582532;var _0x5388d8;let _0x8e446d=this[_0x57542e(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x5388d8=_0x8e446d==null?void 0x0:_0x8e446d[_0x57542e(0x219)])==null?0x7d0:_0x5388d8;}['resend'](){const _0x16a690=_0x582532;throw Error(_0x16a690(0x115));}[_0x582532(0x127)](){const _0x410e28=_0x582532;this[_0x410e28(0x1d3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x410e28(0x1d3)]=null);}[_0x582532(0x41d)](_0x5cce5b){const _0x1f328c=_0x582532;return this[_0x1f328c(0x127)](),this[_0x1f328c(0x279)][_0x1f328c(0x327)](_0x2d5de6,this[_0x1f328c(0x142)],this['type'],null,this[_0x1f328c(0x27f)],this[_0x1f328c(0x3db)],_0x5cce5b);}};_0x348615=_0x5bce94=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x348615);let _0x4cb993=_0x5ccf93=class extends _0x30bec6{constructor(_0x5ae621,_0x121bf5,_0x262e39,_0x2b5481,_0x514f22,_0x473c76,_0x2c09a5,_0x311085,_0x322bf4,_0x276cbf,_0x5370ee){const _0x5dc3d3=_0x582532;super(_0x5ae621,_0x121bf5,_0x262e39,[],_0x2b5481,_0x2c09a5,_0x276cbf,_0x473c76,_0x5370ee),this[_0x5dc3d3(0x279)]=_0x514f22,this['_logService']=_0x311085,this[_0x5dc3d3(0x32c)]=_0x322bf4,_0x158768(this,_0x5dc3d3(0x18e),_0x259f7c[_0x5dc3d3(0x3f1)]),_0x158768(this,_0x5dc3d3(0x345),0x0),_0x158768(this,_0x5dc3d3(0x2fb),0x0),_0x158768(this,_0x5dc3d3(0x1e6),void 0x0),_0x158768(this,_0x5dc3d3(0x1e1),void 0x0);}['appendMutation'](_0x1c2523){const _0x5db447=_0x582532;this[_0x5db447(0x127)]();let _0x5ad262=this[_0x5db447(0x279)]['createInstance'](_0x548b22,this[_0x5db447(0x142)],this['type'],this[_0x5db447(0x209)],[_0x1c2523],this['_handler'],this[_0x5db447(0x1e6)]);return _0x5ad262[_0x5db447(0x140)](),_0x5ad262;}[_0x582532(0x42e)](_0x44d48b){const _0x11b52d=_0x582532;if(this['_checkMissing'](_0x44d48b))return this[_0x11b52d(0x127)](),this['_injector'][_0x11b52d(0x327)](_0x231f53,this['unitID'],this[_0x11b52d(0x1a4)],this[_0x11b52d(0x209)],[],null,[_0x44d48b],this[_0x11b52d(0x3db)]);try{let _0x47b469=this[_0x11b52d(0x32c)][_0x11b52d(0x388)]([_0x44d48b],[this[_0x11b52d(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x11b52d(0x2f6)])(_0x47b469)){let {c1Prime:_0x2c953a,c2Prime:_0x16c29a}=_0x47b469;this[_0x11b52d(0x3ab)](_0x2c953a[0x0]),_0x16c29a[0x0][_0x11b52d(0x42d)]=this[_0x11b52d(0x146)](),this['_clearScheduledTask']();let _0x4ad2ee=this[_0x11b52d(0x279)][_0x11b52d(0x327)](_0x5ccf93,this[_0x11b52d(0x142)],this['type'],_0x16c29a[0x0],this[_0x11b52d(0x3db)]);return _0x4ad2ee[_0x11b52d(0x140)](),_0x4ad2ee;}return this[_0x11b52d(0x41d)](!0x1);}catch(_0x471fbd){return this[_0x11b52d(0x423)][_0x11b52d(0x171)](_0x471fbd),this['_onConflict'](!0x1);}}[_0x582532(0x1e9)](_0xfda263){const _0x4c2b8a=_0x582532;this[_0x4c2b8a(0x127)]();let _0x52aa92=this[_0x4c2b8a(0x262)][_0x4c2b8a(0x326)](this[_0x4c2b8a(0x142)]);if(_0xfda263[_0x4c2b8a(0x1e5)]<_0x52aa92-0x1)return this;if(this[_0x4c2b8a(0x266)](_0xfda263))return this['_injector'][_0x4c2b8a(0x327)](_0x231f53,this[_0x4c2b8a(0x142)],this[_0x4c2b8a(0x1a4)],null,[],this[_0x4c2b8a(0x209)],[],this[_0x4c2b8a(0x3db)]);this[_0x4c2b8a(0x13d)]();let _0x1bec25=this[_0x4c2b8a(0x279)][_0x4c2b8a(0x327)](_0x51c4b3,this['unitID'],this[_0x4c2b8a(0x1a4)],this['_handler']);return _0x1bec25['_updateLocalCache'](),_0x1bec25;}['onRemoteRej'](_0x55fc0c){const _0x3cd3ea=_0x582532;return this[_0x3cd3ea(0x41d)](!!(_0x55fc0c!=null&&_0x55fc0c[_0x3cd3ea(0x21a)]));}[_0x582532(0x3ba)](_0x4ce1e4){const _0x379df2=_0x582532;return this[_0x379df2(0x2fb)]>_0x35b288?this['toggleOffline']():(this['_resendTimer']=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x379df2(0x345)],'reqId':_0x4ce1e4[_0x379df2(0x37d)]}),this[_0x379df2(0x1e1)]=this[_0x379df2(0x1e6)][_0x379df2(0x237)](({reqId:_0x4c25e2,timeout:_0x961807})=>{const _0x48d43d=_0x379df2;this[_0x48d43d(0x241)](_0x4c25e2,_0x961807);}),this);}['toggleOffline'](){const _0x2fc99b=_0x582532;return this[_0x2fc99b(0x127)](),this[_0x2fc99b(0x279)][_0x2fc99b(0x327)](_0x23f8dc,this[_0x2fc99b(0x142)],this[_0x2fc99b(0x1a4)],this['_awaitingChangeset'],[],this[_0x2fc99b(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x132)](){const _0x5a83d8=_0x582532;this[_0x5a83d8(0x3db)]['onSendChangeset'](this[_0x5a83d8(0x209)]);}['_onConflict'](_0x300cd1){const _0xbb9a50=_0x582532;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2d5de6,this[_0xbb9a50(0x142)],this[_0xbb9a50(0x1a4)],this[_0xbb9a50(0x209)],[],this[_0xbb9a50(0x3db)],_0x300cd1);}[_0x582532(0x241)](_0x1c096e,_0x47d51c){const _0x4dde86=_0x582532;var _0x35a75c;_0x1c096e===((_0x35a75c=this[_0x4dde86(0x209)])==null?void 0x0:_0x35a75c[_0x4dde86(0x37d)])&&(this[_0x4dde86(0x132)](),this[_0x4dde86(0x345)]=_0x47d51c===0x0?0x3e8:Math[_0x4dde86(0x215)](_0x47d51c*0x2,_0x48a954),this[_0x4dde86(0x2fb)]+=this[_0x4dde86(0x345)]);}['_clearScheduledTask'](){const _0x2e85ac=_0x582532;var _0x3b277c;(_0x3b277c=this[_0x2e85ac(0x1e1)])==null||_0x3b277c[_0x2e85ac(0x347)](),this[_0x2e85ac(0x345)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x4cb993=_0x5ccf93=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x6,_0x21f9b6['ICommandService']),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x4cb993);let _0x548b22=_0x3cf1d4=class extends _0x30bec6{constructor(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x476a10,_0x58ad0d,_0x584c6a,_0x25884a,_0xa1a8c8,_0x50b2e0,_0x43a927,_0x993219){const _0x191ba0=_0x582532;super(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x25884a,_0x43a927,_0x584c6a,_0x993219),this[_0x191ba0(0x279)]=_0x58ad0d,this[_0x191ba0(0x423)]=_0xa1a8c8,this[_0x191ba0(0x32c)]=_0x50b2e0,this[_0x191ba0(0x2dd)]=_0x993219,_0x158768(this,_0x191ba0(0x18e),_0x259f7c['AWAITING_WITH_PENDING']),_0x158768(this,'_resendTimeout',0x0),_0x158768(this,_0x191ba0(0x2fb),0x0),_0x158768(this,_0x191ba0(0x1e6),void 0x0),_0x158768(this,_0x191ba0(0x1e1),void 0x0),_0x476a10&&(this['_resendTimer']=_0x476a10,this['_sender']=this[_0x191ba0(0x1e6)]['subscribe'](({reqId:_0x30324b,timeout:_0x5b4b07})=>{const _0x5a3859=_0x191ba0;this[_0x5a3859(0x241)](_0x30324b,_0x5b4b07);}));}[_0x582532(0x167)](_0x4cf22d){const _0x3d7741=_0x582532;return this[_0x3d7741(0x27f)][_0x3d7741(0x2b7)](_0x4cf22d),this;}[_0x582532(0x42e)](_0x375667){const _0x272661=_0x582532;if(this[_0x272661(0x266)](_0x375667))return this['_clearScheduledTask'](),this['_injector'][_0x272661(0x327)](_0x231f53,this[_0x272661(0x142)],this[_0x272661(0x1a4)],this[_0x272661(0x209)],this['_pendingMutations'],null,[_0x375667],this[_0x272661(0x3db)]);try{let _0x6af304=this[_0x272661(0x32c)]['transformChangesets']([_0x375667],[this[_0x272661(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x272661(0x2f6)])(_0x6af304)){let {c1Prime:_0x40f146,c2Prime:_0x5a3f49}=_0x6af304,_0x260a89=this[_0x272661(0x32c)]['transformMutationsWithChangeset'](_0x40f146[0x0],this[_0x272661(0x27f)]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x260a89)){let {c1Prime:_0x44acfd,m2Prime:_0x2c0702}=_0x260a89;return this[_0x272661(0x3ab)](_0x44acfd),_0x5a3f49[0x0][_0x272661(0x42d)]=this['_getCurrentRevision'](),this[_0x272661(0x127)](),this['_injector'][_0x272661(0x327)](_0x3cf1d4,this['unitID'],this[_0x272661(0x1a4)],_0x5a3f49[0x0],_0x2c0702,this[_0x272661(0x3db)],void 0x0);}throw _0x260a89['error'];}throw _0x6af304[_0x272661(0x171)];}catch(_0x2435b6){return this['_logService']['error'](_0x2435b6),this[_0x272661(0x41d)](!0x1);}}[_0x582532(0x1e9)](_0x2214c6){const _0x56b1b3=_0x582532;if(this['_clearScheduledTask'](),this[_0x56b1b3(0x266)](_0x2214c6))return this['_injector'][_0x56b1b3(0x327)](_0x231f53,this[_0x56b1b3(0x142)],this['type'],null,this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x209)],[],this[_0x56b1b3(0x3db)]);this[_0x56b1b3(0x13d)]();let _0x4f8c88=this[_0x56b1b3(0x279)][_0x56b1b3(0x327)](_0x348615,this['unitID'],this['type'],this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x3db)]);return _0x4f8c88[_0x56b1b3(0x2ae)](),_0x4f8c88[_0x56b1b3(0x140)](),_0x4f8c88;}[_0x582532(0x1e3)](_0x552c10){const _0x516b8b=_0x582532;return this[_0x516b8b(0x41d)](!!(_0x552c10!=null&&_0x552c10['isPermissionRej']));}[_0x582532(0x3ba)](_0x1c22e0){const _0x153216=_0x582532;return this[_0x153216(0x2fb)]>_0x35b288?this['toggleOffline']():(this[_0x153216(0x1e6)]=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x153216(0x345)],'reqId':_0x1c22e0[_0x153216(0x37d)]}),this[_0x153216(0x1e1)]=this[_0x153216(0x1e6)][_0x153216(0x237)](({reqId:_0x4d006d,timeout:_0x251a94})=>{const _0x189237=_0x153216;this[_0x189237(0x241)](_0x4d006d,_0x251a94);}),this);}['toggleOffline'](){const _0x101e23=_0x582532;return this[_0x101e23(0x127)](),this[_0x101e23(0x279)][_0x101e23(0x327)](_0x23f8dc,this[_0x101e23(0x142)],this[_0x101e23(0x1a4)],this[_0x101e23(0x209)],this['_pendingMutations'],this[_0x101e23(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x132)](){const _0x2a3017=_0x582532;this[_0x2a3017(0x3db)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x582532(0x41d)](_0x3a429a){const _0x4adf68=_0x582532;return this[_0x4adf68(0x127)](),this[_0x4adf68(0x279)]['createInstance'](_0x2d5de6,this['unitID'],this[_0x4adf68(0x1a4)],null,this['_pendingMutations'],this['_handler'],_0x3a429a);}[_0x582532(0x241)](_0x2dc870,_0x2b422a){const _0x542b7b=_0x582532;var _0x1d6961;_0x2dc870===((_0x1d6961=this['_awaitingChangeset'])==null?void 0x0:_0x1d6961['reqId'])&&(this['resend'](),this[_0x542b7b(0x345)]=_0x2b422a===0x0?0x3e8:Math[_0x542b7b(0x215)](_0x2b422a*0x2,_0x48a954),this[_0x542b7b(0x2fb)]+=this[_0x542b7b(0x345)]);}[_0x582532(0x127)](){const _0x50fd3f=_0x582532;var _0x5d9c8d;(_0x5d9c8d=this[_0x50fd3f(0x1e1)])==null||_0x5d9c8d[_0x50fd3f(0x347)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x548b22=_0x3cf1d4=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['Injector'])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUndoRedoService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x548b22);let _0x2d5de6=class extends _0x30bec6{constructor(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x452b50=!0x1,_0x35b082,_0x980067,_0x1d57b8,_0x503f15,_0x5d7213,_0x51214e,_0x28260a){const _0x275b6a=_0x582532;super(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x980067,_0x1d57b8,_0x503f15,_0x28260a),this[_0x275b6a(0x261)]=_0x452b50,this[_0x275b6a(0x3bb)]=_0x35b082,this[_0x275b6a(0x120)]=_0x5d7213,this[_0x275b6a(0x2ca)]=_0x51214e,this[_0x275b6a(0x2dd)]=_0x28260a,_0x158768(this,_0x275b6a(0x18e),_0x259f7c[_0x275b6a(0x335)]),this[_0x275b6a(0x367)](),this[_0x275b6a(0x324)](),this['_disableEditing']();}[_0x582532(0x167)](){return this;}[_0x582532(0x42e)](){return this;}['onRemoteAck'](){return this;}[_0x582532(0x1e3)](){return this;}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x34ac66=_0x582532;throw Error(_0x34ac66(0x2ef));}[_0x582532(0x324)](){const _0x3bb7c6=_0x582532;var _0x1d57c5;(_0x1d57c5=this[_0x3bb7c6(0x1e7)])==null||_0x1d57c5[_0x3bb7c6(0x28e)](this[_0x3bb7c6(0x142)],this[_0x3bb7c6(0x1a4)],null,[]);}[_0x582532(0x367)](){const _0x542e23=_0x582532;this[_0x542e23(0x261)]?this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x256)]}):this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x335)]});}[_0x582532(0x1ad)](){const _0x487c00=_0x582532;this[_0x487c00(0x3bb)][_0x487c00(0x122)](new _0x17b170[(_0x487c00(0x34e))](this[_0x487c00(0x142)])['id'],!0x1);}};_0x2d5de6=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x350)])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6['Inject'])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0xb,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x2d5de6);let _0x23f8dc=class extends _0x30bec6{constructor(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x11adb6,_0x1c7326,_0x162a22,_0x19c429,_0x4025f4){const _0x11a97d=_0x582532;super(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x162a22,_0x19c429,_0x1c7326,_0x4025f4),this[_0x11a97d(0x279)]=_0x11adb6,_0x158768(this,'status',_0x259f7c[_0x11a97d(0x234)]);}[_0x582532(0x167)](_0x3ea730){const _0x1f2c53=_0x582532;return this[_0x1f2c53(0x27f)][_0x1f2c53(0x2b7)](_0x3ea730),this[_0x1f2c53(0x140)](),this;}[_0x582532(0x42e)](_0x2d467f){const _0x1387b2=_0x582532;throw Error(_0x1387b2(0x2a0));}[_0x582532(0x1e9)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x433db6=_0x582532;throw Error(_0x433db6(0x166));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){return this;}[_0x582532(0x3f9)](){const _0x4fe268=_0x582532;let {_injector:_0x7ae0fc,_pendingMutations:_0x5506f7,_awaitingChangeset:_0x493394,unitID:_0x183c2c,_handler:_0x1f4062,type:_0xabb73c}=this,_0x4835d9=_0xb3493c(_0x7ae0fc,_0x183c2c,_0xabb73c,_0x493394,_0x5506f7,_0x1f4062);return _0x4835d9 instanceof _0x348615?_0x4835d9['_schedule']():(_0x4835d9 instanceof _0x548b22||_0x4835d9 instanceof _0x4cb993)&&_0x4835d9[_0x4fe268(0x132)](),_0x4835d9;}[_0x582532(0x132)](){const _0x5e4bbd=_0x582532;throw Error(_0x5e4bbd(0x352));}};_0x23f8dc=_0x9fca30([_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x23f8dc);let _0x231f53=class extends _0x30bec6{constructor(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x4b94ba,_0x1cd96f,_0x35e160,_0x4a662b,_0x1aee75,_0x44fa75,_0x4f4d79,_0x546367,_0x2d8ec0,_0x43033d){const _0x444b02=_0x582532;super(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x35e160,_0x4f4d79,_0x546367,_0x1aee75,_0x43033d),this[_0x444b02(0x3c7)]=_0x4b94ba,this[_0x444b02(0x2ea)]=_0x1cd96f,this[_0x444b02(0x279)]=_0x4a662b,this['_logService']=_0x44fa75,this[_0x444b02(0x32c)]=_0x2d8ec0,this[_0x444b02(0x2dd)]=_0x43033d,_0x158768(this,_0x444b02(0x18e),_0x259f7c[_0x444b02(0x203)]);}['onMissedChangesetFetched'](_0x4c2705){const _0x3b27d8=_0x582532;try{let _0x3b940d=[..._0x4c2705,...this['_queuedRemoteChangesets']],_0x3086df=[this[_0x3b27d8(0x209)]||this[_0x3b27d8(0x3c7)]][_0x3b27d8(0x382)](_0x521c4f=>!!_0x521c4f),_0x208f1a,_0x334c7e;if(_0x3086df[_0x3b27d8(0x2c6)]){let _0x591f92=this['_transformService'][_0x3b27d8(0x388)](_0x3b940d,_0x3086df,!0x1);if(!(0x0,_0xba6f9e[_0x3b27d8(0x2f6)])(_0x591f92))throw _0x591f92[_0x3b27d8(0x171)];_0x208f1a=_0x591f92[_0x3b27d8(0x301)],_0x334c7e=_0x591f92['c2Prime'];}else _0x208f1a=_0x3b940d,_0x334c7e=[];let _0x2afad1=this[_0x3b27d8(0x27f)];_0x208f1a[_0x3b27d8(0x2c3)](_0x3e4a89=>{const _0xce38cc=_0x3b27d8;let _0x312a11;if(_0x2afad1['length']){let _0x4c7e2b=this[_0xce38cc(0x32c)][_0xce38cc(0x18a)](_0x3e4a89,_0x2afad1);if(!(0x0,_0xba6f9e[_0xce38cc(0x179)])(_0x4c7e2b))throw _0x4c7e2b[_0xce38cc(0x171)];_0x312a11=_0x4c7e2b[_0xce38cc(0x301)],_0x2afad1=_0x4c7e2b['m2Prime'];}else _0x312a11=_0x3e4a89;this['_executeRemoteChangeset'](_0x312a11);}),this[_0x3b27d8(0x3c7)]&&this[_0x3b27d8(0x13d)](),this['_awaitingChangeset']&&_0x334c7e['length']&&(_0x334c7e[0x0][_0x3b27d8(0x42d)]=this['_getCurrentRevision']());let _0x5b2675;if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]!==0x0)_0x5b2675=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x548b22,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],_0x2afad1,this['_handler'],void 0x0);else{if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]===0x0)_0x334c7e[0x0][_0x3b27d8(0x42d)]=this[_0x3b27d8(0x146)](),_0x5b2675=this['_injector']['createInstance'](_0x4cb993,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],this[_0x3b27d8(0x3db)]);else{if(_0x2afad1['length']!==0x0){let _0xb65cc=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x348615,this[_0x3b27d8(0x142)],this[_0x3b27d8(0x1a4)],_0x2afad1,this[_0x3b27d8(0x3db)]);_0xb65cc[_0x3b27d8(0x2ae)](),_0x5b2675=_0xb65cc;}else _0x5b2675=this[_0x3b27d8(0x279)]['createInstance'](_0x51c4b3,this['unitID'],this[_0x3b27d8(0x1a4)],this['_handler']);}}return _0x5b2675[_0x3b27d8(0x140)](),_0x5b2675;}catch(_0x581834){return this[_0x3b27d8(0x423)][_0x3b27d8(0x171)](_0x3b27d8(0x2a5),_0x3b27d8(0x1fb),_0x581834),this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x2d5de6,this[_0x3b27d8(0x142)],this['type'],this[_0x3b27d8(0x209)],this[_0x3b27d8(0x27f)],this[_0x3b27d8(0x3db)],!0x1);}}[_0x582532(0x132)](){const _0x527b08=_0x582532;throw Error(_0x527b08(0x21f));}[_0x582532(0x167)](_0x584773){const _0x3e095a=_0x582532;return this[_0x3e095a(0x27f)]['push'](_0x584773),this;}['onRemoteChangeset'](_0xe1d723){const _0x4fd9c3=_0x582532;return this[_0x4fd9c3(0x2ea)][_0x4fd9c3(0x2b7)](_0xe1d723),this;}[_0x582532(0x1e9)](_0x29181c){const _0x451fcf=_0x582532;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x451fcf(0x209)],this[_0x451fcf(0x209)]=null,this;throw Error(_0x451fcf(0x1f2));}[_0x582532(0x1e3)](_0x2afd4d){const _0x641db3=_0x582532;return this[_0x641db3(0x41d)](!!(_0x2afd4d!=null&&_0x2afd4d[_0x641db3(0x21a)]));}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){const _0x328a78=_0x582532;return this[_0x328a78(0x279)][_0x328a78(0x327)](_0x23f8dc,this[_0x328a78(0x142)],this[_0x328a78(0x1a4)],this[_0x328a78(0x209)],this[_0x328a78(0x27f)],this[_0x328a78(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x41d)](_0x1eddc0){const _0x206e5c=_0x582532;return this[_0x206e5c(0x279)][_0x206e5c(0x327)](_0x2d5de6,this['unitID'],this[_0x206e5c(0x1a4)],this[_0x206e5c(0x209)],this[_0x206e5c(0x27f)],this[_0x206e5c(0x3db)],_0x1eddc0);}};_0x231f53=_0x9fca30([_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xc,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x231f53);function _0xb3493c(_0x28f7ca,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0){const _0x5b03b2=_0x582532;return _0x40faf5&&_0x2ebb6e['length']?_0x28f7ca[_0x5b03b2(0x327)](_0x548b22,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0,void 0x0):_0x40faf5?_0x28f7ca['createInstance'](_0x4cb993,_0x443a9e,_0x28b251,_0x40faf5,_0x53b6b0):_0x2ebb6e['length']?_0x28f7ca['createInstance'](_0x348615,_0x443a9e,_0x28b251,_0x2ebb6e,_0x53b6b0):_0x28f7ca['createInstance'](_0x51c4b3,_0x443a9e,_0x28b251,_0x53b6b0);}let _0x20db3d=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x119)](){const _0x16d195=_0x582532;return this[_0x16d195(0x26b)];}constructor(_0x26a4d1,_0xf5a6e3,_0x50d5f8,_0x6fd0cc,_0x588da3,_0x45fa1c,_0x2f5ead,_0x472620,_0x48a7af,_0x383495,_0x3a2c94,_0x4b5044,_0x100fe9,_0xf01b31){const _0x307276=_0x582532;super(),this[_0x307276(0x142)]=_0x26a4d1,this[_0x307276(0x3a3)]=_0xf5a6e3,this[_0x307276(0x20b)]=_0x50d5f8,this['_injector']=_0x6fd0cc,this[_0x307276(0x418)]=_0x588da3,this[_0x307276(0x120)]=_0x45fa1c,this[_0x307276(0x262)]=_0x2f5ead,this['_eventService']=_0x472620,this[_0x307276(0x136)]=_0x48a7af,this[_0x307276(0x423)]=_0x383495,this[_0x307276(0x332)]=_0x3a2c94,this['_permissionService']=_0x4b5044,this['_singleActiveUnitService']=_0x100fe9,this[_0x307276(0x1e7)]=_0xf01b31,_0x158768(this,_0x307276(0x273),new _0x4ea2bc[(_0x307276(0x319))](null)),_0x158768(this,_0x307276(0x1ab),this[_0x307276(0x273)][_0x307276(0x2bd)]()),_0x158768(this,'_state',void 0x0),_0x158768(this,_0x307276(0x403),!0x1),_0x158768(this,'_changesetSessionId',''),_0x158768(this,_0x307276(0x3fc),0x0),_0x158768(this,'status$',this[_0x307276(0x1ab)][_0x307276(0x12f)]((0x0,_0x4ea2bc[_0x307276(0x312)])(_0x379ee3=>_0x379ee3?_0x379ee3[_0x307276(0x18e)]:_0x259f7c[_0x307276(0x234)]),(0x0,_0x4ea2bc[_0x307276(0x15e)])(0x1))),_0x158768(this,_0x307276(0x35d),!0x1),_0x158768(this,_0x307276(0x328),[]);}async[_0x582532(0x232)](){const _0x2d5cbf=_0x582532;if(this[_0x2d5cbf(0x119)])throw Error(_0x2d5cbf(0x399));await this[_0x2d5cbf(0x36f)]();}[_0x582532(0x397)](){const _0x186e19=_0x582532;return this[_0x186e19(0x403)]=!0x0,(0x0,_0x21f9b6[_0x186e19(0x2ed)])(()=>{const _0x18fbe3=_0x186e19;this[_0x18fbe3(0x403)]=!0x1,this[_0x18fbe3(0x288)]();});}[_0x582532(0x353)](_0x11bc01){this['_onLocalMutation'](_0x11bc01);}[_0x582532(0x1bb)](_0x401e0c){const _0x2e9e2a=_0x582532;this[_0x2e9e2a(0x26b)]=_0x401e0c,this[_0x2e9e2a(0x273)][_0x2e9e2a(0x270)](_0x401e0c);}async[_0x582532(0x36f)](){const _0x37363e=_0x582532;if(this['_updateState'](await this['_createInitialState']()),this[_0x37363e(0x3e7)]){var _0x3ffc3b;(_0x3ffc3b=this[_0x37363e(0x3e7)])==null||_0x3ffc3b['editingUnit'](this[_0x37363e(0x142)]),this['disposeWithMe'](this[_0x37363e(0x3e7)][_0x37363e(0x2a8)](this[_0x37363e(0x142)])[_0x37363e(0x237)](_0x27bf2a=>{const _0x1b53bf=_0x37363e;this[_0x1b53bf(0x423)][_0x1b53bf(0x2b1)](_0x1b53bf(0x19f),_0x1b53bf(0x31a),_0x27bf2a),_0x27bf2a===_0x5e2f10['OTHER_CLIENTS_EDITING']?(this[_0x1b53bf(0x133)][_0x1b53bf(0x121)]({'id':_0x214ddb['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b53bf(0x3bb)][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x0),this[_0x1b53bf(0x3bb)][_0x1b53bf(0x188)](!0x0));}));}let _0x4a9604=!0x1;return this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)][_0x37363e(0x210)][_0x37363e(0x237)](_0x2df962=>{const _0x611f69=_0x37363e;_0x2df962===_0x42d806[_0x611f69(0x3da)]?this['_toggleOnline'](_0x4a9604):_0x2df962===_0x42d806[_0x611f69(0x234)]&&(_0x4a9604=!0x0,this[_0x611f69(0x39c)]());})),this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)]['event$'][_0x37363e(0x237)](_0x171d9a=>{const _0x39fc32=_0x37363e;try{switch(_0x171d9a[_0x39fc32(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x30f)]:this['_onRemoteChangeset']((0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x171d9a['data']));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x161)]:this['_onRemoteACK'](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x299)]:this[_0x39fc32(0x3de)]();break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x2ec)]:this[_0x39fc32(0x408)](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x392)]:this['_onFetchMissResult'](_0x171d9a['data'][_0x39fc32(0x3ac)]['map'](_0x123b1e=>(0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x123b1e)));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x204)]:this[_0x39fc32(0x3de)]({'isPermissionRej':!0x0});break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x275)]:break;}}catch(_0x431280){throw console[_0x39fc32(0x171)]('Error\x20on\x20receiving\x20event',_0x431280),_0x431280;}})),this[_0x37363e(0x26b)];}[_0x582532(0x187)](){const _0x46e37e=_0x582532;this[_0x46e37e(0x35d)]=!0x1;}[_0x582532(0x3aa)](){const _0x5c85b5=_0x582532;if(this[_0x5c85b5(0x35d)])throw Error(_0x5c85b5(0x217));this[_0x5c85b5(0x35d)]=!0x0;}[_0x582532(0x18b)](_0x26630a){const _0x188fc4=_0x582532;this['_lockTransition'](),this[_0x188fc4(0x1bb)](this[_0x188fc4(0x26b)][_0x188fc4(0x167)](_0x26630a)),this[_0x188fc4(0x187)]();}[_0x582532(0x3ef)](_0x42340a){const _0x3aa2ab=_0x582532;if(!(_0x42340a[_0x3aa2ab(0x1e5)]<=this[_0x3aa2ab(0x262)]['getCurrentRevOfUnit'](this[_0x3aa2ab(0x142)]))){if(this[_0x3aa2ab(0x403)]){this['_remoteChangesetQueue']['push'](_0x42340a);return;}this[_0x3aa2ab(0x141)](_0x42340a);}}[_0x582532(0x288)](){const _0xab48f2=_0x582532;this['_remoteChangesetQueue'][_0xab48f2(0x2c3)](_0x43462b=>this[_0xab48f2(0x141)](_0x43462b)),this['_remoteChangesetQueue']=[];}[_0x582532(0x141)](_0x36d493){const _0xac0e7b=_0x582532;let _0x25b3d8=this['_compressMutationService']['interceptor'][_0xac0e7b(0x26f)](this['_compressMutationService'][_0xac0e7b(0x3d7)][_0xac0e7b(0x39d)]()[_0xac0e7b(0x162)])(_0x36d493[_0xac0e7b(0x393)],null)||_0x36d493['mutations'],_0xf754fb={..._0x36d493,'mutations':_0x25b3d8};this['_lockTransition'](),this[_0xac0e7b(0x1bb)](this['_state'][_0xac0e7b(0x42e)](_0xf754fb)),this[_0xac0e7b(0x187)]();}[_0x582532(0x175)](_0x336e6c){const _0x4b0dc8=_0x582532;this[_0x4b0dc8(0x3aa)](),this['_updateState'](this[_0x4b0dc8(0x26b)]['onRemoteAck'](_0x336e6c)),this['_unlockTransition']();}['_onRemoteRejected'](_0x569511){const _0x5430c5=_0x582532;this[_0x5430c5(0x3aa)](),this['_updateState'](this['_state'][_0x5430c5(0x1e3)](_0x569511)),this['_unlockTransition']();}[_0x582532(0x408)](_0x4bacd4){const _0x7d2834=_0x582532;this[_0x7d2834(0x3aa)](),this[_0x7d2834(0x1bb)](this['_state'][_0x7d2834(0x3ba)](_0x4bacd4)),this[_0x7d2834(0x187)]();}[_0x582532(0x1c4)](_0x17dd99){const _0x53161a=_0x582532;if(!(this[_0x53161a(0x26b)]instanceof _0x231f53))throw TypeError(_0x53161a(0x431));let _0x31772a=_0x17dd99[_0x53161a(0x312)](_0x215dc2=>{const _0x5538ee=_0x53161a;let _0x5ed240=this['_compressMutationService'][_0x5538ee(0x3d7)][_0x5538ee(0x26f)](this['_compressMutationService'][_0x5538ee(0x3d7)]['getInterceptPoints']()[_0x5538ee(0x162)])(_0x215dc2[_0x5538ee(0x393)],null)||_0x215dc2[_0x5538ee(0x393)];return{..._0x215dc2,'mutations':_0x5ed240};});this['_lockTransition'](),this[_0x53161a(0x1bb)](this['_state'][_0x53161a(0x206)](_0x31772a)),this[_0x53161a(0x187)]();}[_0x582532(0x39c)](){const _0x438f21=_0x582532;this[_0x438f21(0x3aa)](),this[_0x438f21(0x1bb)](this[_0x438f21(0x26b)][_0x438f21(0x3ee)]()),this[_0x438f21(0x187)]();}[_0x582532(0x17d)](_0x472ae7=!0x1){const _0x20e23d=_0x582532;this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](this['_state'][_0x20e23d(0x3f9)]()),this[_0x20e23d(0x187)]();let _0x30212b=this[_0x20e23d(0x26b)];_0x472ae7&&_0x30212b instanceof _0x51c4b3&&(this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](_0x30212b[_0x20e23d(0x3eb)]()),this[_0x20e23d(0x187)]());}async[_0x582532(0x2fc)](){return new Promise(_0x2a4efd=>{const _0x2f9c0c=_0x1dac;this[_0x2f9c0c(0x3a3)][_0x2f9c0c(0x210)][_0x2f9c0c(0x12f)]((0x0,_0x4ea2bc[_0x2f9c0c(0x2d4)])(0x1))[_0x2f9c0c(0x237)](async _0x1d923e=>{const _0x3349a4=_0x2f9c0c;_0x2a4efd(await this['_createInitialStateImpl'](_0x1d923e===_0x42d806[_0x3349a4(0x3da)]));});});}[_0x582532(0x41a)](){const _0x3002f5=_0x582532;let _0x31dbab=this[_0x3002f5(0x142)];return{'onStateChange':(_0x128359,_0x276472)=>{const _0x33b240=_0x3002f5;if(_0x128359!==this[_0x33b240(0x26b)])throw Error(_0x33b240(0x19c)+_0x128359['status']+'\x0aAfter:\x20'+_0x276472[_0x33b240(0x18e)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x33b240(0x1bb)](_0x276472);},'onSendChangeset':_0x35370d=>{const _0x2bb793=_0x3002f5;_0x35370d[_0x2bb793(0x1dc)]||(_0x35370d[_0x2bb793(0x1dc)]=this[_0x2bb793(0x229)],_0x35370d['reqId']=++this[_0x2bb793(0x3fc)]);let _0x4822a0={'eventID':_0xba6f9e[_0x2bb793(0x417)][_0x2bb793(0x1f8)],'data':{'unitID':_0x35370d[_0x2bb793(0x142)],'unitType':this['_type'],'changeset':_0x35370d,'memberID':this[_0x2bb793(0x3a3)]['getMemberID']()}};this['session'][_0x2bb793(0x311)](_0x4822a0,this[_0x2bb793(0x142)]);},'onMissingChangesets':({from:_0x516c72,to:_0x4f8067})=>{const _0x4b9f60=_0x3002f5;this[_0x4b9f60(0x423)]['debug'](_0x4b9f60(0x19f),_0x4b9f60(0x12a)+_0x516c72+'\x20to\x20'+_0x4f8067);let _0x39a23e={'eventID':_0xba6f9e[_0x4b9f60(0x417)]['FETCH_MISSING'],'data':{'unitID':_0x31dbab,'unitType':this['_type'],'from':_0x516c72,'to':_0x4f8067}};this[_0x4b9f60(0x3a3)][_0x4b9f60(0x311)](_0x39a23e,this[_0x4b9f60(0x142)]);}};}async[_0x582532(0x2b6)](_0x503ee7){const _0x27e280=_0x582532;var _0x37ad70,_0x20eb7b,_0x4c3ab0;let _0x5e64c2=await((_0x37ad70=this['_localCacheService'])==null?void 0x0:_0x37ad70[_0x27e280(0x1a7)](this[_0x27e280(0x142)])),_0x281145=(_0x20eb7b=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x393)])==null?[]:_0x20eb7b,_0x2ed360=(_0x4c3ab0=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x343)])==null?null:_0x4c3ab0,_0x3302b6=!!(_0x2ed360!=null&&_0x2ed360['sid'])&&!!(_0x2ed360!=null&&_0x2ed360[_0x27e280(0x37d)]);this[_0x27e280(0x229)]=_0x3302b6?_0x2ed360['sid']:(0x0,_0xba6f9e['uuidv4'])(),this[_0x27e280(0x3fc)]=_0x3302b6?_0x2ed360[_0x27e280(0x37d)]:0x0;let _0x29d98f=this[_0x27e280(0x142)];try{this['_replayCachedMutations'](_0x2ed360,_0x281145);}catch(_0x5e2559){this[_0x27e280(0x423)][_0x27e280(0x171)](_0x5e2559);}let _0x1b1bab=this['_createHandler']();if(_0x503ee7){let _0x39ce01=_0xb3493c(this['_injector'],_0x29d98f,this[_0x27e280(0x20b)],_0x2ed360,_0x281145,_0x1b1bab);return _0x39ce01 instanceof _0x348615?_0x39ce01[_0x27e280(0x2ae)]():(_0x39ce01 instanceof _0x548b22||_0x39ce01 instanceof _0x4cb993)&&_0x39ce01[_0x27e280(0x132)](),_0x39ce01;}return this[_0x27e280(0x279)]['createInstance'](_0x23f8dc,_0x29d98f,this['_type'],_0x2ed360,_0x281145,_0x1b1bab);}['_replayCachedMutations'](_0x378041,_0x76d9cf){const _0x10575c=_0x582532;var _0x420591,_0x49d536;let _0x38f89b=this[_0x10575c(0x418)]['interceptor'][_0x10575c(0x26f)](this[_0x10575c(0x418)][_0x10575c(0x3d7)][_0x10575c(0x39d)]()['COMPRESS_MUTATION_APPLY']);(_0x420591=_0x38f89b((_0x378041==null?void 0x0:_0x378041[_0x10575c(0x393)])||[],null))==null||_0x420591['forEach'](_0x21b9d0=>this[_0x10575c(0x332)][_0x10575c(0x1ee)](_0x21b9d0['id'],_0x21b9d0[_0x10575c(0x2c1)])),(_0x49d536=_0x38f89b(_0x76d9cf||[],null))==null||_0x49d536[_0x10575c(0x2c3)](_0x56cc4d=>this[_0x10575c(0x332)]['executeCommand'](_0x56cc4d['id'],_0x56cc4d['params']));}};_0x20db3d=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x20db3d);let _0xd1a0d8=class extends _0x20db3d{constructor(_0x10f124,_0x169208,_0x5f1b6d,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e){const _0x968c6a=_0x582532;super(_0x10f124,_0x5f1b6d,_0x169208,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e),this['unitID']=_0x10f124,this[_0x968c6a(0x1a4)]=_0x169208,_0x158768(this,_0x968c6a(0x1f4),null);}[_0x582532(0x1ed)](_0x3cdb81){const _0x27b06e=_0x582532;this[_0x27b06e(0x1f4)]=_0x3cdb81;}['dispose'](){const _0x3e57db=_0x582532;this[_0x3e57db(0x1f4)]=null,super[_0x3e57db(0x2ab)]();}[_0x582532(0x41a)](){const _0x35160a=_0x582532;let _0x31e4ea=super[_0x35160a(0x41a)]();return _0x31e4ea['onTransformIME']=_0x83cfb2=>{const _0x5ba091=_0x35160a;var _0x23da4b,_0x461fe8;return(_0x23da4b=this[_0x5ba091(0x1f4)])==null||(_0x461fe8=_0x23da4b[_0x5ba091(0x35e)])==null?void 0x0:_0x461fe8[_0x5ba091(0x2f1)](_0x23da4b,_0x83cfb2);},_0x31e4ea[_0x35160a(0x396)]=_0x454835=>{const _0x2a74b1=_0x35160a;var _0x3a5c6e,_0x10ca4f;return(_0x3a5c6e=this[_0x2a74b1(0x1f4)])==null||(_0x10ca4f=_0x3a5c6e[_0x2a74b1(0x396)])==null?void 0x0:_0x10ca4f[_0x2a74b1(0x2f1)](_0x3a5c6e,_0x454835);},_0x31e4ea[_0x35160a(0x138)]=_0x2daf09=>{const _0x1d0548=_0x35160a;var _0x504162,_0x5423ee;return(_0x504162=this[_0x1d0548(0x1f4)])==null||(_0x5423ee=_0x504162[_0x1d0548(0x138)])==null?void 0x0:_0x5423ee[_0x1d0548(0x2f1)](_0x504162,_0x2daf09);},_0x31e4ea[_0x35160a(0x3d5)]=_0x2c5b52=>{const _0x3eed36=_0x35160a;var _0x5a25cb,_0x298cc3;return(_0x5a25cb=this[_0x3eed36(0x1f4)])==null||(_0x298cc3=_0x5a25cb[_0x3eed36(0x3d5)])==null?void 0x0:_0x298cc3[_0x3eed36(0x2f1)](_0x5a25cb,_0x2c5b52);},_0x31e4ea[_0x35160a(0x40b)]=_0x1313d8=>{const _0x2a2136=_0x35160a;var _0x4651e8,_0x466d6b,_0x119823;if(!((_0x4651e8=this[_0x2a2136(0x1f4)])!=null&&_0x4651e8[_0x2a2136(0x40b)]))throw Error(_0x2a2136(0x27a));return(_0x466d6b=this[_0x2a2136(0x1f4)])==null||(_0x119823=_0x466d6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x119823[_0x2a2136(0x2f1)](_0x466d6b,_0x1313d8);},_0x31e4ea[_0x35160a(0x291)]=_0x223927=>{const _0x4ffbc5=_0x35160a;var _0x45a768,_0xc150f8,_0x4099e4;if(!((_0x45a768=this['_handlerCallback'])!=null&&_0x45a768[_0x4ffbc5(0x291)]))throw Error(_0x4ffbc5(0x2f2));return(_0xc150f8=this[_0x4ffbc5(0x1f4)])==null||(_0x4099e4=_0xc150f8[_0x4ffbc5(0x291)])==null?void 0x0:_0x4099e4[_0x4ffbc5(0x2f1)](_0xc150f8,_0x223927);},_0x31e4ea;}async[_0x582532(0x36f)](){const _0x46ef09=_0x582532;let _0x59ce32=await super[_0x46ef09(0x36f)]();return this['disposeWithMe'](this[_0x46ef09(0x332)][_0x46ef09(0x139)]((_0xe3338f,_0x1aa7aa)=>{const _0x26e996=_0x46ef09;if(_0xe3338f[_0x26e996(0x1a4)]!==_0x21f9b6[_0x26e996(0x276)]['MUTATION']||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1eb)]||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1c5)]||_0xe3338f['id']===_0x1444ec[_0x26e996(0x1ff)]['id'])return;let _0x417bfd=_0xe3338f[_0x26e996(0x2c1)];if((_0x417bfd==null?void 0x0:_0x417bfd[_0x26e996(0x415)])!==this[_0x26e996(0x142)])return;let _0x4aa6e3=_0xe3338f,_0x42a8bd=this[_0x26e996(0x418)]['interceptor']['fetchThroughInterceptors'](this[_0x26e996(0x418)][_0x26e996(0x3d7)][_0x26e996(0x39d)]()[_0x26e996(0x2f5)])([_0x4aa6e3],this[_0x26e996(0x136)])||[_0x4aa6e3];this[_0x26e996(0x18b)](_0x42a8bd[0x0]);})),_0x59ce32;}};_0xd1a0d8=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService'])),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6['ICommandService']),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xd1a0d8);let _0x33b45e=class extends _0x20db3d{constructor(_0xc4a590,_0x2e2468,_0xcaa88,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0x50c931,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc){const _0x311c7c=_0x582532;super(_0xc4a590,_0xcaa88,_0x2e2468,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc),this[_0x311c7c(0x142)]=_0xc4a590,this['type']=_0x2e2468,this['_sheetTransformSelectionsService']=_0x50c931;}[_0x582532(0x41a)](){const _0x559d13=_0x582532;let _0x3f8616=super[_0x559d13(0x41a)]();return _0x3f8616['onTransformSelections']=_0x210f73=>this[_0x559d13(0x2c4)][_0x559d13(0x3ff)](_0x210f73),_0x3f8616;}async['_init'](){const _0x8eb4eb=_0x582532;let _0x113bd8=await super[_0x8eb4eb(0x36f)]();return this[_0x8eb4eb(0x1b5)](this[_0x8eb4eb(0x332)][_0x8eb4eb(0x139)]((_0x3a20fa,_0x2e714e)=>{const _0x4b40e7=_0x8eb4eb;if(_0x3a20fa['type']!==_0x21f9b6[_0x4b40e7(0x276)][_0x4b40e7(0x3c5)]||_0x2e714e!=null&&_0x2e714e['fromCollab']||_0x2e714e!=null&&_0x2e714e['onlyLocal'])return;let _0x32b5bb=_0x3a20fa[_0x4b40e7(0x2c1)];if((_0x32b5bb==null?void 0x0:_0x32b5bb['unitId'])!==this[_0x4b40e7(0x142)])return;let _0x1b6823=_0x3a20fa,_0x5d71fa=this[_0x4b40e7(0x418)][_0x4b40e7(0x3d7)][_0x4b40e7(0x26f)](this['_compressMutationService'][_0x4b40e7(0x3d7)][_0x4b40e7(0x39d)]()[_0x4b40e7(0x2f5)])([_0x1b6823],this[_0x4b40e7(0x136)])||[_0x1b6823];this[_0x4b40e7(0x18b)](_0x5d71fa[0x0]);})),_0x113bd8;}};_0x33b45e=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x43e293)),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xe,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x33b45e);let _0x3cb508=(0x0,_0x21f9b6[_0x582532(0x1aa)])('univer-pro.collaboration-client.network-condition.service');function _0x8921cb(_0x385c33){const _0x42e667=_0x582532;let _0x1d69c5=_0x385c33[_0x42e667(0x163)],_0x3671af=JSON[_0x42e667(0x286)](_0x1d69c5);switch(_0x3671af[_0x42e667(0x13e)]){case _0x4d42e2[_0x42e667(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x42e667(0x160)][_0x42e667(0x147)]:{let _0x37fff0=_0x3671af[_0x42e667(0x17a)];return{..._0x3671af,'data':_0x37fff0,'cmd':_0x3671af['cmd']};}case _0x4d42e2['CombCmd'][_0x42e667(0x2de)]:{let _0x43e4a6=_0x3671af[_0x42e667(0x2fd)];return{..._0x3671af,'data':_0x43e4a6,'cmd':_0x3671af[_0x42e667(0x13e)]};}case _0x4d42e2['CombCmd'][_0x42e667(0x2b2)]:{let _0x5b7a8a=_0x3671af[_0x42e667(0x3ec)];switch(_0x5b7a8a[_0x42e667(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x42e667(0x204)]:var _0x4d7f46;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x4d7f46=_0x5b7a8a[_0x42e667(0x3e0)])==null?void 0x0:_0x4d7f46['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['CHANGESET_ACK']:var _0x3eccc3;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x3eccc3=_0x5b7a8a['csAckEvent'])==null?void 0x0:_0x3eccc3['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x30f)]:var _0x50ce85;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x50ce85=_0x5b7a8a['newCsEvent'])==null?void 0x0:_0x50ce85['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x299)]:var _0x596b98;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x596b98=_0x5b7a8a['csRejEvent'])==null?void 0x0:_0x596b98['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x2ec)]:var _0x1efbf2;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x1efbf2=_0x5b7a8a['csShouldRetryEvent'])==null?void 0x0:_0x1efbf2['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x297)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x280)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x18c)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x338)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x296)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x1b7)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x42b)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e['CollaborationEvent'][_0x42e667(0x3ae)]:case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x267)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['liveShareOperation']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)]['LIVESHARE_TERMINATE']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x40a)]:return{..._0x3671af,'data':_0x5b7a8a,'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x390)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x277)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x264)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x434)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['SHOULD_CLOSE_CONN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['shouldCloseConn']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['UNISCRIPT_RUN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x2ad)]},'cmd':_0x3671af[_0x42e667(0x13e)]};default:return _0x3671af;}}default:return _0x3671af;}}function _0x16a106(_0x1c0dc8){const _0x256211=_0x582532;switch(_0x1c0dc8['cmd']){case _0x4d42e2[_0x256211(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x256211(0x160)][_0x256211(0x147)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8['routeKey']});case _0x4d42e2['CombCmd'][_0x256211(0x12d)]:{let _0x1e2f9f;switch(_0x1c0dc8[_0x256211(0x163)][_0x256211(0x23e)]){case _0xba6f9e[_0x256211(0x417)][_0x256211(0x297)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x296)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x296)],'leaveEvent':_0x1c0dc8[_0x256211(0x163)]['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)],'joinEvent':_0x1c0dc8['data'][_0x256211(0x163)]};break;case _0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST']:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1c0dc8['data']['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x267)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x267)],'liveShareOperation':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)]['LIVESHARE_TERMINATE']:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x1cd)],'liveShareTerminate':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x359)]:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent'][_0x256211(0x359)],'liveShareRequestHost':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]};break;default:_0x1e2f9f={'eventID':_0x1c0dc8[_0x256211(0x163)]['eventID']};}return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'collaMsg':_0x1e2f9f});}case _0x4d42e2[_0x256211(0x160)][_0x256211(0x2de)]:return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8['cmd'],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'joinReq':_0x1c0dc8['data']});case _0x4d42e2[_0x256211(0x160)][_0x256211(0x25c)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'leaveReq':_0x1c0dc8[_0x256211(0x163)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x1b8f90=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x3dc));function _0x24b777(_0x376e03,_0x2fc268,_0x12a2ea){const _0x193c97=_0x582532;return _0x376e03+'/'+_0x2fc268+_0x193c97(0x11e)+_0x12a2ea+'/new_changes';}let _0xc1659c=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x199150,_0x527888,_0x2b584d,_0xbbc32a,_0x3bcb7d){const _0x964504=_0x582532;super(),this[_0x964504(0x279)]=_0x199150,this[_0x964504(0x195)]=_0x527888,this[_0x964504(0x3b0)]=_0x2b584d,this['_logService']=_0xbbc32a,this[_0x964504(0x2cb)]=_0x3bcb7d;}[_0x582532(0x1a2)](_0x19031d){const _0x556ba4=_0x582532;let _0x529db8=this[_0x556ba4(0x279)][_0x556ba4(0x19e)](_0xf4c2fc[_0x556ba4(0x298)]);if(!_0x529db8)throw Error(_0x556ba4(0x25a));let _0xe4d533=_0x529db8[_0x556ba4(0x222)](_0x19031d);if(!_0xe4d533)throw Error(_0x556ba4(0x169));let _0x249a19=new _0x21f9b6['DisposableCollection'](),_0x181336=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['close$'][_0x556ba4(0x237)](_0x3c07fe=>_0x181336[_0x556ba4(0x270)](_0x3c07fe))),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x181336[_0x556ba4(0x159)]()));let _0x52914d=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['error$'][_0x556ba4(0x237)](_0x1b37b2=>_0x52914d[_0x556ba4(0x270)](_0x1b37b2))),_0x249a19['add']((0x0,_0x21f9b6['toDisposable'])(()=>_0x52914d['complete']()));let _0x58a414=new _0x4ea2bc['Subject']();_0x249a19['add'](_0xe4d533['message$'][_0x556ba4(0x237)](_0xb4b92a=>{const _0x329b9a=_0x556ba4;let _0x45de10=_0x8921cb(_0xb4b92a);_0x58a414[_0x329b9a(0x270)](_0x45de10);})),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x58a414[_0x556ba4(0x159)]()));let _0x353b08,_0x4cb60b=()=>{const _0xc9bcee=_0x556ba4;_0x52914d[_0xc9bcee(0x270)](new Event(_0xc9bcee(0x344))),_0x181336['next'](new Event(_0xc9bcee(0x344))),_0x353b08[_0xc9bcee(0x198)]();};return _0x353b08={'memberID':'','close$':_0x181336[_0x556ba4(0x2bd)](),'error$':_0x52914d[_0x556ba4(0x2bd)](),'open$':_0xe4d533['open$'],'message$':_0x58a414[_0x556ba4(0x2bd)](),'send':_0x3464b3=>{const _0x24e645=_0x556ba4;if(_0x3464b3[_0x24e645(0x13e)]===_0x4d42e2[_0x24e645(0x160)][_0x24e645(0x12d)]){if(_0x3464b3['data']['eventID']===_0xba6f9e[_0x24e645(0x417)][_0x24e645(0x1f8)]){this[_0x24e645(0x158)](_0x353b08,_0x3464b3[_0x24e645(0x163)])[_0x24e645(0x192)](_0x2431ba=>{const _0x2bc1e6=_0x24e645;this['_logService'][_0x2bc1e6(0x171)](_0x2431ba),_0x4cb60b();});return;}if(_0x3464b3[_0x24e645(0x163)][_0x24e645(0x23e)]===_0xba6f9e['CollaborationEvent'][_0x24e645(0x153)]){let _0x21355d=_0x3464b3[_0x24e645(0x163)];this[_0x24e645(0x2af)](_0x21355d)['then'](_0x4fe1c8=>{const _0x35c49b=_0x24e645;_0x58a414[_0x35c49b(0x270)]({'cmd':_0x4d42e2[_0x35c49b(0x160)]['RECV'],'code':_0x4d42e2[_0x35c49b(0x13c)]['OK'],'routeKey':_0x21355d['data']['unitID'],'routeType':'','data':{'eventID':_0xba6f9e[_0x35c49b(0x417)][_0x35c49b(0x392)],'data':{'changesets':_0x4fe1c8}}});})['catch'](_0x3d1f29=>{const _0x4842e1=_0x24e645;this['_logService'][_0x4842e1(0x171)](_0x3d1f29),_0x4cb60b();});return;}}_0xe4d533[_0x24e645(0x311)](_0x16a106(_0x3464b3));},'close':()=>{const _0xf2094d=_0x556ba4;_0xe4d533[_0xf2094d(0x198)](),_0x249a19[_0xf2094d(0x2ab)]();}},_0x353b08;}async[_0x582532(0x158)](_0x25db4e,_0x479b09){const _0x58f5c6=_0x582532;var _0x55011d;let {unitType:_0x446821,unitID:_0x3a8b29,changeset:_0xce152}=_0x479b09['data'],_0x4dcd47={'unitID':_0x3a8b29,'memberID':_0x25db4e[_0x58f5c6(0x208)],'type':_0x446821,'changeset':(0x0,_0xba6f9e[_0x58f5c6(0x1fc)])(_0xce152)},_0x306f95=this['_configService']['getConfig'](_0x3b7e3d),_0x300e8a=_0x24b777((_0x55011d=_0x306f95==null?void 0x0:_0x306f95['collabSubmitChangesetUrl'])==null?_0x58f5c6(0x369):_0x55011d,_0x446821,_0x3a8b29);try{await this[_0x58f5c6(0x195)][_0x58f5c6(0x370)](_0x300e8a,{'body':_0x4dcd47});}catch(_0x2a8e95){throw this[_0x58f5c6(0x423)][_0x58f5c6(0x171)](_0x58f5c6(0x3f2),'submit\x20changeset\x20error!'),_0x2a8e95;}}async[_0x582532(0x2af)](_0x48a9a4){const _0x5635e7=_0x582532;let {unitID:_0x1c7e86,from:_0x5155ea,to:_0x5657b7,unitType:_0x1ad323}=_0x48a9a4[_0x5635e7(0x163)];return(await this[_0x5635e7(0x2cb)][_0x5635e7(0x176)]({'metadata':void 0x0},{'unitID':_0x1c7e86,'type':_0x1ad323,'from':_0x5155ea,'to':_0x5657b7}))['changesets']['map'](_0x1576f6=>((_0x1576f6[_0x5635e7(0x393)]===null||_0x1576f6[_0x5635e7(0x393)]===void 0x0)&&(_0x1576f6[_0x5635e7(0x393)]=[]),_0x1576f6));}};_0xc1659c=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x4,_0xba6f9e[_0x582532(0x349)])],_0xc1659c);let _0x457933=class extends _0x21f9b6[_0x582532(0x183)]{get[_0x582532(0x2f0)](){const _0x316d4d=_0x582532;return this['_socket$'][_0x316d4d(0x308)]();}constructor(_0x274e47,_0x156621,_0x16a7d9,_0x19677d,_0x17c6f6,_0x330429){const _0xfa7362=_0x582532;super(),this['_injector']=_0x274e47,this[_0xfa7362(0x423)]=_0x156621,this[_0xfa7362(0x3b0)]=_0x16a7d9,this['_socketService']=_0x19677d,this[_0xfa7362(0x2ca)]=_0x17c6f6,this['_networkConditionService']=_0x330429,_0x158768(this,_0xfa7362(0x368),new _0x4ea2bc[(_0xfa7362(0x319))](void 0x0)),_0x158768(this,_0xfa7362(0x154),this[_0xfa7362(0x368)][_0xfa7362(0x2bd)]()),_0x158768(this,_0xfa7362(0x34c),null),_0x158768(this,'_sessions',new Map()),_0x158768(this,_0xfa7362(0x421),new _0x4ea2bc[(_0xfa7362(0x319))](_0x42d806[_0xfa7362(0x334)])),_0x158768(this,'status$',this[_0xfa7362(0x421)][_0xfa7362(0x2bd)]()),_0x158768(this,'_socketReady',!0x1),_0x158768(this,_0xfa7362(0x3ed),void 0x0),_0x158768(this,_0xfa7362(0x2cc),0x0),_0x158768(this,_0xfa7362(0x1f0),void 0x0),_0x158768(this,_0xfa7362(0x36e),void 0x0),this[_0xfa7362(0x25f)]();}[_0x582532(0x25f)](){const _0x4447cf=_0x582532;this[_0x4447cf(0x239)]&&this['disposeWithMe'](this[_0x4447cf(0x239)][_0x4447cf(0x2ff)][_0x4447cf(0x237)](_0xe9096e=>{const _0x49c93e=_0x4447cf;_0xe9096e&&!this[_0x49c93e(0x2f0)]&&this[_0x49c93e(0x2f3)](),_0xe9096e||this[_0x49c93e(0x156)]();}));}[_0x582532(0x2ab)](){const _0xca7b81=_0x582532;super[_0xca7b81(0x2ab)](),this[_0xca7b81(0x143)](),this[_0xca7b81(0x2eb)](),this[_0xca7b81(0x168)](),this[_0xca7b81(0x329)][_0xca7b81(0x2c3)](_0x6026fc=>_0x6026fc[_0xca7b81(0x2ab)]()),this['_sessions']['clear'](),this[_0xca7b81(0x421)][_0xca7b81(0x159)]();}async[_0x582532(0x13a)](_0x208729){const _0x1a3f5a=_0x582532;if(this[_0x1a3f5a(0x329)][_0x1a3f5a(0x2e9)](_0x208729))return this['_sessions']['get'](_0x208729);this[_0x1a3f5a(0x1ca)]();let _0x4e66db=this[_0x1a3f5a(0x279)][_0x1a3f5a(0x327)](_0x172cb0,_0x208729,this[_0x1a3f5a(0x368)]['asObservable']());return this[_0x1a3f5a(0x329)][_0x1a3f5a(0x31e)](_0x208729,_0x4e66db),_0x4e66db;}[_0x582532(0x3b5)](_0x21865b){const _0x3d1083=_0x582532;let _0x53f6ad=this[_0x3d1083(0x329)][_0x3d1083(0x19e)](_0x21865b);if(_0x53f6ad&&(this['_sessions'][_0x3d1083(0x1b0)](_0x21865b),_0x53f6ad['close']()),!this[_0x3d1083(0x329)][_0x3d1083(0x186)]){var _0x2b8767;(_0x2b8767=this['_socket'])==null||_0x2b8767['close']();}}[_0x582532(0x2f3)](){const _0x1ce214=_0x582532;this[_0x1ce214(0x2cc)]=0x0,this[_0x1ce214(0x143)](),this[_0x1ce214(0x231)]();}[_0x582532(0x143)](){const _0x5a8e9a=_0x582532;this[_0x5a8e9a(0x3ed)]!=null&&(clearTimeout(this[_0x5a8e9a(0x3ed)]),this['_retryConnectingTimer']=null);}async[_0x582532(0x1a9)](){const _0x18d727=_0x582532;var _0x551242;let _0x3f2f63=this['_configService'][_0x18d727(0x2ba)](_0x3b7e3d),_0x20d39f=(_0x551242=_0x3f2f63==null?void 0x0:_0x3f2f63['collabWebSocketUrl'])==null?_0x107e87:_0x551242,_0x118078=await this['_socketService'][_0x18d727(0x222)](_0x20d39f);return this[_0x18d727(0x34c)]=_0x118078,_0x118078;}async['_tryEnsureSocket'](){const _0x3ca933=_0x582532;try{var _0x1ebc86,_0x5be31f;let _0x52a484=(_0x1ebc86=(_0x5be31f=this['_socket'])==null?this[_0x3ca933(0x34c)]:_0x5be31f)==null?await this[_0x3ca933(0x1a9)]():_0x1ebc86;if(_0x52a484){let _0x554ab8=_0x52a484[_0x3ca933(0x311)];_0x52a484['send']=_0x3653fe=>(_0x3653fe['cmd']!==_0x4d42e2[_0x3ca933(0x160)][_0x3ca933(0x25c)]&&this[_0x3ca933(0x3be)](),_0x554ab8[_0x3ca933(0x32d)](_0x52a484,[_0x3653fe])),_0x52a484[_0x3ca933(0x23c)][_0x3ca933(0x237)](_0x23ae2b=>this['_onMessage'](_0x52a484,_0x23ae2b)),_0x52a484[_0x3ca933(0x145)][_0x3ca933(0x12f)]((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x5df1a4=>this[_0x3ca933(0x423)][_0x3ca933(0x171)]('[CollaborationSessionService]:\x20socket\x20error',_0x5df1a4)),_0x52a484[_0x3ca933(0x330)][_0x3ca933(0x12f)]((0x0,_0x40ad09['take'])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x52a484);}),_0x52a484['close$']['pipe']((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x1c1e5c=>{const _0x6098ea=_0x3ca933;this[_0x6098ea(0x423)][_0x6098ea(0x2b1)](_0x6098ea(0x2a1),_0x6098ea(0x25d),_0x1c1e5c),this[_0x6098ea(0x2d6)]();});}}catch(_0x3cee88){this[_0x3ca933(0x423)][_0x3ca933(0x171)](_0x3cee88),this['_onConnectionFailed']();}}[_0x582532(0x178)](_0x3d619a){const _0x24e79c=_0x582532;this[_0x24e79c(0x423)][_0x24e79c(0x2b1)](_0x24e79c(0x2a1),_0x24e79c(0x2e8)),_0x3d619a[_0x24e79c(0x311)]({'cmd':_0x4d42e2[_0x24e79c(0x160)][_0x24e79c(0x147)]}),this[_0x24e79c(0x3be)]();}[_0x582532(0x156)](){const _0x5ba959=_0x582532;this['_socketReady']=!0x1,this[_0x5ba959(0x34c)]=null,this['_status$'][_0x5ba959(0x270)](_0x42d806[_0x5ba959(0x234)]),this[_0x5ba959(0x368)]['next'](null),this[_0x5ba959(0x2eb)](),this['_clearHeartbeatTimer']();}[_0x582532(0x2d6)](){const _0xc2c44b=_0x582532;var _0x4c41d8;this[_0xc2c44b(0x156)](),this['_retryCount']<((_0x4c41d8=this[_0xc2c44b(0x3b0)][_0xc2c44b(0x2ba)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x4c41d8)?(this[_0xc2c44b(0x2ca)]['emitEvent']({'id':_0x214ddb[_0xc2c44b(0x18d)]}),this[_0xc2c44b(0x231)]()):this[_0xc2c44b(0x2ca)][_0xc2c44b(0x121)]({'id':_0x214ddb[_0xc2c44b(0x1c9)]});}[_0x582532(0x231)](){const _0x244ed0=_0x582532;var _0x1b247e;let _0x148ed3=this[_0x244ed0(0x2cc)],_0x47e147=this[_0x244ed0(0x3b0)][_0x244ed0(0x2ba)](_0x3b7e3d),_0x4298f8=_0x148ed3===0x0?0x0:((_0x1b247e=_0x47e147==null?void 0x0:_0x47e147[_0x244ed0(0x1b4)])==null?0x4e20:_0x1b247e)*0x2**_0x148ed3;this[_0x244ed0(0x3ed)]=setTimeout(()=>{const _0x109e54=_0x244ed0;clearTimeout(this['_retryConnectingTimer']),this[_0x109e54(0x3ed)]=null,this['_tryEnsureSocket']();},_0x4298f8),this[_0x244ed0(0x2cc)]+=0x1;}[_0x582532(0x1d2)](_0x2fd457,_0x321cea){const _0x2a2e96=_0x582532;let {cmd:_0x2855ec}=_0x321cea;_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x147)]&&!this[_0x2a2e96(0x196)]&&(_0x2fd457[_0x2a2e96(0x208)]=_0x321cea[_0x2a2e96(0x163)][_0x2a2e96(0x208)],this['_socket$'][_0x2a2e96(0x270)](_0x2fd457),this[_0x2a2e96(0x421)][_0x2a2e96(0x270)](_0x42d806[_0x2a2e96(0x3da)]),this[_0x2a2e96(0x196)]=!0x0,this[_0x2a2e96(0x34c)]=null),_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x2fe)]&&this[_0x2a2e96(0x2eb)](),this[_0x2a2e96(0x3be)]();}['_rescheduleHeartbeat'](){const _0x4f430b=_0x582532;var _0x519234;this[_0x4f430b(0x168)](),this[_0x4f430b(0x1f0)]=setTimeout(()=>this[_0x4f430b(0x1cb)](),(_0x519234=this[_0x4f430b(0x3b0)][_0x4f430b(0x2ba)](_0x4f430b(0x37a)))==null?0x7530:_0x519234);}[_0x582532(0x1cb)](){const _0x51cd57=_0x582532;this[_0x51cd57(0x2f0)][_0x51cd57(0x311)]({'cmd':_0x4d42e2[_0x51cd57(0x160)][_0x51cd57(0x2fe)]}),this[_0x51cd57(0x22c)]();}[_0x582532(0x22c)](){const _0x2f4916=_0x582532;var _0x2965f2;this[_0x2f4916(0x36e)]=setTimeout(()=>this[_0x2f4916(0x2d6)](),(_0x2965f2=this['_configService']['getConfig'](_0x2f4916(0x36a)))==null?_0x3ad1c7:_0x2965f2);}[_0x582532(0x168)](){const _0x44af00=_0x582532;this[_0x44af00(0x1f0)]!=null&&(clearTimeout(this[_0x44af00(0x1f0)]),this[_0x44af00(0x1f0)]=null);}[_0x582532(0x2eb)](){const _0xeb870b=_0x582532;this[_0xeb870b(0x36e)]!=null&&(clearTimeout(this[_0xeb870b(0x36e)]),this[_0xeb870b(0x36e)]=null);}};_0x457933=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,_0x21f9b6['IConfigService']),_0x385b9b(0x3,_0x1b8f90),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x5,(0x0,_0x21f9b6['Optional'])(_0x3cb508))],_0x457933);let _0x28cc0e=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x51af53,_0x33e149,_0x16e70c,_0x34db9c){const _0x27654a=_0x582532;var _0x1bda93;super(),this['_injector']=_0x51af53,this[_0x27654a(0x35f)]=_0x33e149,this[_0x27654a(0x3b0)]=_0x16e70c,this['_univerInstanceService']=_0x34db9c,_0x158768(this,'_entities',new Map()),_0x158768(this,_0x27654a(0x292),new _0x4ea2bc[(_0x27654a(0x321))]()),_0x158768(this,_0x27654a(0x38e),this[_0x27654a(0x292)][_0x27654a(0x2bd)]()),((_0x1bda93=this[_0x27654a(0x3b0)]['getConfig'](_0x27654a(0x293)))==null?void 0x0:_0x1bda93['enableCollaboration'])!==!0x1&&this[_0x27654a(0x36f)]();}[_0x582532(0x2ab)](){const _0x4a0027=_0x582532;super[_0x4a0027(0x2ab)](),this[_0x4a0027(0x2bc)]['forEach'](_0x3fa063=>_0x3fa063['dispose']()),this[_0x4a0027(0x2bc)][_0x4a0027(0x157)]();}['getCollabEntity'](_0x5d8820){const _0x41afc6=_0x582532;var _0x5dbee9;return(_0x5dbee9=this[_0x41afc6(0x2bc)][_0x41afc6(0x19e)](_0x5d8820))==null?null:_0x5dbee9;}[_0x582532(0x348)](_0x1f517f){const _0x4b9f1b=_0x582532;let _0x27c5ee=this[_0x4b9f1b(0x254)](_0x1f517f);return _0x27c5ee?(0x0,_0x4ea2bc['of'])(_0x27c5ee):this[_0x4b9f1b(0x292)][_0x4b9f1b(0x12f)]((0x0,_0x40ad09[_0x4b9f1b(0x382)])(_0x777864=>_0x777864[_0x4b9f1b(0x142)]===_0x1f517f));}[_0x582532(0x21c)](_0x5007ab){const _0x1be260=_0x582532;return(0x0,_0x4ea2bc[_0x1be260(0x238)])(this[_0x1be260(0x348)](_0x5007ab)[_0x1be260(0x12f)]((0x0,_0x40ad09[_0x1be260(0x312)])(()=>void 0x0)));}[_0x582532(0x36f)](){const _0x9f900=_0x582532;this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc[_0x9f900(0x172)])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09['delay'])(0x10))[_0x9f900(0x237)](async _0x5c5669=>{const _0x44b92f=_0x9f900;let _0x416265=_0x5c5669['getUnitId'](),_0x146a86=await this[_0x44b92f(0x389)](_0x416265,_0x21f9b6['UniverInstanceType'][_0x44b92f(0x1ba)]);this[_0x44b92f(0x2bc)]['set'](_0x416265,_0x146a86);}),this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1f3)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09[_0x9f900(0x2e7)])(0x10))[_0x9f900(0x12f)]((0x0,_0x40ad09[_0x9f900(0x382)])(_0x277d68=>!_0x277d68[_0x9f900(0x31b)]()['startsWith']('__')))[_0x9f900(0x237)](async _0xd24bcc=>{const _0x5ca650=_0x9f900;let _0x573ec0=_0xd24bcc[_0x5ca650(0x31b)](),_0x2251a3=await this['_startCollaboration'](_0x573ec0,_0x21f9b6[_0x5ca650(0x3e4)][_0x5ca650(0x1f3)]);this['_entities']['set'](_0x573ec0,_0x2251a3);}),(0x0,_0x4ea2bc[_0x9f900(0x366)])(this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)]),this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)]['UNIVER_DOC']))[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this['dispose$']))[_0x9f900(0x237)](_0x177a7a=>{const _0x4dafdc=_0x9f900;let _0x5239bd=_0x177a7a[_0x4dafdc(0x31b)](),_0x407e1b=this[_0x4dafdc(0x2bc)]['get'](_0x5239bd);_0x407e1b&&(_0x407e1b[_0x4dafdc(0x2ab)](),this[_0x4dafdc(0x2bc)]['delete'](_0x5239bd));});}async[_0x582532(0x389)](_0x1c585b,_0x51ce10){const _0x498392=_0x582532;let _0x225ced=await this[_0x498392(0x35f)][_0x498392(0x13a)](_0x1c585b),_0x506704=this[_0x498392(0x279)][_0x498392(0x327)](this[_0x498392(0x274)](_0x51ce10),_0x1c585b,_0x51ce10,_0x225ced);return await _0x506704[_0x498392(0x232)](),this['_entityInit$']['next'](_0x506704),_0x506704;}[_0x582532(0x274)](_0x10cb28){const _0x179fa0=_0x582532;switch(_0x10cb28){case _0x21f9b6[_0x179fa0(0x3e4)]['UNIVER_DOC']:return _0xd1a0d8;case _0x21f9b6['UniverInstanceType'][_0x179fa0(0x1ba)]:return _0x33b45e;default:throw Error(_0x179fa0(0x26a)+_0x10cb28);}}};_0x28cc0e=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x207)])],_0x28cc0e);var _0x2aec61=_0x582532(0x230),_0x1c30ed=_0x582532(0x2e0);let _0x5e16b4=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2276dc,_0x61df2){const _0x19bdb3=_0x582532;super(),this[_0x19bdb3(0x136)]=_0x2276dc,this[_0x19bdb3(0x3b0)]=_0x61df2,this[_0x19bdb3(0x36f)]();}['_init'](){const _0x4cd0ad=_0x582532;this[_0x4cd0ad(0x1b5)](this[_0x4cd0ad(0x136)][_0x4cd0ad(0x1b6)][_0x4cd0ad(0x237)](()=>{const _0x1fadea=_0x4cd0ad;var _0x51b96b;let _0x336270=this[_0x1fadea(0x136)][_0x1fadea(0x3ce)](),_0x4618d8=(_0x51b96b=this[_0x1fadea(0x3b0)][_0x1fadea(0x2ba)]('DEFAULT_FILE_NAME'))==null?_0x1fadea(0x252):_0x51b96b;_0x336270 instanceof _0x21f9b6['Workbook']&&(_0x4618d8=_0x336270[_0x1fadea(0x272)]),document['title']=_0x4618d8;}));}};_0x5e16b4=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)])],_0x5e16b4);let _0x3d2f49=class{constructor(_0x51dd43,_0x2f8175,_0x563159){const _0x3495ee=_0x582532;this['_configService']=_0x51dd43,this[_0x3495ee(0x195)]=_0x2f8175,this[_0x3495ee(0x164)]=_0x563159,this[_0x3495ee(0x232)]();}[_0x582532(0x232)](){const _0x83af08=_0x582532;this[_0x83af08(0x195)][_0x83af08(0x185)]({'priority':0x1,'interceptor':(_0x49666d,_0x138292)=>_0x138292(_0x49666d)['pipe']((0x0,_0x4ea2bc['concatMap'])(async _0x538ca3=>{const _0x1b59e3=_0x83af08;let _0x231a5c=_0x538ca3;if(_0x231a5c[_0x1b59e3(0x18e)]===0x191){if(typeof window>'u')throw Error(_0x1b59e3(0x23d));if(window[_0x1b59e3(0x429)](this[_0x1b59e3(0x164)]['t'](_0x1b59e3(0x1de)))){let _0x2f5e6c=window[_0x1b59e3(0x354)](window[_0x1b59e3(0x383)][_0x1b59e3(0x428)]);window['location'][_0x1b59e3(0x428)]=this[_0x1b59e3(0x1fd)]()+_0x1b59e3(0x406)+_0x2f5e6c;}}return _0x231a5c;}))});}[_0x582532(0x1fd)](){const _0x201686=_0x582532;var _0x476484;let _0x7a2ce=this[_0x201686(0x3b0)][_0x201686(0x2ba)](_0x3b7e3d);return(_0x476484=_0x7a2ce==null?void 0x0:_0x7a2ce['loginUrlKey'])==null?'/universer-api/oidc/authpage':_0x476484;}};_0x3d2f49=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IConfigService']),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService']))],_0x3d2f49);let _0x23b744=class extends _0x21f9b6['Disposable']{constructor(_0x213693,_0xb29efb){const _0x30aa78=_0x582532;super(),this[_0x30aa78(0x285)]=_0x213693,this[_0x30aa78(0x3b0)]=_0xb29efb,_0x158768(this,_0x30aa78(0x2b5),!0x1),this[_0x30aa78(0x398)]();}[_0x582532(0x398)](){const _0x3e0550=_0x582532;let _0x3896d4=this;this[_0x3e0550(0x1b5)](this[_0x3e0550(0x285)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0xf4c2fc[_0x3e0550(0x17e)])({'isMatch'(_0x331e18){const _0x379a79=_0x3e0550;var _0x7786b9;if(_0x331e18[_0x379a79(0x1b1)]==='POST'&&(_0x7786b9=_0x331e18['requestParams'])!=null&&_0x7786b9[_0x379a79(0x41f)]){let {objectID:_0x51ac33,objectType:_0x5917c7}=_0x331e18[_0x379a79(0x3df)][_0x379a79(0x41f)]||{};if(!_0x51ac33||_0x5917c7===void 0x0)return!0x1;let _0x240696=_0x3896d4[_0x379a79(0x2d3)]()+'/'+_0x5917c7+_0x379a79(0x257)+_0x51ac33+'/allowed';if(_0x331e18['url']===_0x240696)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4de589){const _0x5d3112=_0x3e0550;var _0x5c06e8;return(_0x5c06e8=_0x4de589[_0x5d3112(0x3df)])==null?void 0x0:_0x5c06e8[_0x5d3112(0x41f)];},'mergeParamsToRequest'(_0x4c2486,_0x58c817){const _0x2f5015=_0x3e0550;let _0x38edc5=_0x3896d4[_0x2f5015(0x2d3)]()+_0x2f5015(0x197),_0x46b426=_0x4c2486['reduce']((_0x3b1deb,_0x1d9779)=>{const _0x1d7962=_0x2f5015;let {unitID:_0x6284a7,objectID:_0x1f85aa,objectType:_0xfe159e,actions:_0xff9ea0}=_0x1d9779;return _0x3b1deb[_0x6284a7]||(_0x3b1deb[_0x6284a7]={}),_0x3b1deb[_0x6284a7][_0x1f85aa]||(_0x3b1deb[_0x6284a7][_0x1f85aa]={'objectID':_0x1f85aa,'objectType':_0xfe159e,'actions':[]}),_0x3b1deb[_0x6284a7][_0x1f85aa][_0x1d7962(0x1ac)][_0x1d7962(0x2b7)](..._0xff9ea0),_0x3b1deb;},{}),_0x389ee1=[];for(let _0x2090d0 in _0x46b426)for(let _0x5f55b5 in _0x46b426[_0x2090d0]){let {actions:_0x1aa738,objectType:_0x296a0f}=_0x46b426[_0x2090d0][_0x5f55b5],_0x1ed8b9=[...new Set(_0x1aa738)];_0x389ee1[_0x2f5015(0x2b7)]({'unitID':_0x2090d0,'objectID':_0x5f55b5,'objectType':_0x296a0f,'actions':_0x1ed8b9});}return new _0xf4c2fc[(_0x2f5015(0x2aa))](_0x2f5015(0x363),_0x38edc5,{'headers':_0x58c817[_0x2f5015(0x295)],'withCredentials':_0x58c817[_0x2f5015(0x407)],'responseType':_0x58c817[_0x2f5015(0x3bc)],'body':{'requests':_0x389ee1}});}},{'distributeResult'(_0x49f6b4,_0x1a16a1){const _0x561f58=_0x3e0550;let {objectActions:_0x11a89a}=_0x49f6b4;return _0x1a16a1[_0x561f58(0x312)](_0x22adb5=>{const _0x7d100=_0x561f58;let {unitID:_0x53c07d,objectID:_0x24872c,actions:_0x541326}=_0x22adb5,_0x32fa9f=_0x11a89a[_0x7d100(0x283)](_0x1e3ec8=>_0x1e3ec8[_0x7d100(0x142)]===_0x53c07d&&_0x1e3ec8[_0x7d100(0x213)]===_0x24872c);return{'config':_0x22adb5,'result':{'actions':_0x541326['map'](_0x3e9a7a=>_0x32fa9f==null?void 0x0:_0x32fa9f[_0x7d100(0x1ac)][_0x7d100(0x283)](_0x23379f=>_0x23379f[_0x7d100(0x16c)]===_0x3e9a7a))['filter'](_0x5012e3=>!!_0x5012e3),'error':_0x49f6b4[_0x7d100(0x171)]}};});}})}));}['_getAPIPrefixPath'](){const _0x12c55f=_0x582532;var _0xdfa4cc;let _0x12c3d9=this[_0x12c55f(0x3b0)][_0x12c55f(0x2ba)](_0x3b7e3d);return(_0xdfa4cc=_0x12c3d9==null?void 0x0:_0x12c3d9[_0x12c55f(0x1ec)])==null?_0x12c55f(0x1bc):_0xdfa4cc;}async['create'](_0x3672b8){const _0x32724d=_0x582532;let _0x1c2691=this[_0x32724d(0x2d3)]()+'/'+_0x3672b8[_0x32724d(0x11b)]+'/object';return(await this[_0x32724d(0x285)][_0x32724d(0x370)](_0x1c2691,{'body':_0x3672b8}))[_0x32724d(0x41f)]['objectID']||'';}async[_0x582532(0x251)](_0x25a8a8){const _0x5135e2=_0x582532;let _0x755a28=this['_getAPIPrefixPath']()+_0x5135e2(0x190);return(await this[_0x5135e2(0x285)][_0x5135e2(0x370)](_0x755a28,{'body':_0x25a8a8}))[_0x5135e2(0x41f)][_0x5135e2(0x351)];}async[_0x582532(0x2d1)](_0x35c811){const _0x1116c1=_0x582532;var _0x15e7ed;let _0x16fa30=this[_0x1116c1(0x2d3)]()+'/'+_0x35c811[_0x1116c1(0x11b)]+'/object/'+_0x35c811[_0x1116c1(0x213)],_0x4ee158=await this[_0x1116c1(0x285)][_0x1116c1(0x2b0)](_0x16fa30,{'body':_0x35c811});if((_0x4ee158==null||(_0x15e7ed=_0x4ee158[_0x1116c1(0x41f)])==null||(_0x15e7ed=_0x15e7ed[_0x1116c1(0x171)])==null?void 0x0:_0x15e7ed[_0x1116c1(0x422)])!==0x1)throw Error(_0x1116c1(0x386));}async[_0x582532(0x1c2)](_0x3ee800){const _0x4be582=_0x582532;let _0x45a80d=this['_getAPIPrefixPath']()+'/'+_0x3ee800[_0x4be582(0x11b)]+_0x4be582(0x257)+_0x3ee800['objectID']+_0x4be582(0x250);return(await this[_0x4be582(0x285)][_0x4be582(0x370)](_0x45a80d,{'body':_0x3ee800}))[_0x4be582(0x41f)][_0x4be582(0x1ac)];}async['batchAllowed'](_0x49a5b5){const _0x80657b=_0x582532;let _0x59c25d=this[_0x80657b(0x2d3)]()+'/-/object/-/batch_allowed';return(await this[_0x80657b(0x285)][_0x80657b(0x370)](_0x59c25d,{'body':{'requests':_0x49a5b5}}))[_0x80657b(0x41f)]['objectActions'];}async['listRoles'](_0x2d6531){const _0x769ade=_0x582532;let _0x239ec2=this[_0x769ade(0x2d3)]()+'/'+_0x2d6531[_0x769ade(0x11b)]+_0x769ade(0x1db),_0x434332=await this[_0x769ade(0x285)][_0x769ade(0x370)](_0x239ec2,{'body':_0x2d6531});return{'roles':_0x434332[_0x769ade(0x41f)][_0x769ade(0x24c)],'actions':_0x434332[_0x769ade(0x41f)][_0x769ade(0x1ac)]};}async[_0x582532(0x1e4)](_0x5cc759){const _0x5b6717=_0x582532;let _0x317af8=this[_0x5b6717(0x2d3)]()+'/collaborator';await this[_0x5b6717(0x285)][_0x5b6717(0x1b0)](_0x317af8,{'params':{'collaboratorID':_0x5cc759[_0x5b6717(0x32e)],'objectID':_0x5cc759[_0x5b6717(0x213)],'unitID':_0x5cc759[_0x5b6717(0x142)]}});}async['updateCollaborator'](_0x5123bd){const _0x3a1ba8=_0x582532;let _0x6bd4d2=this[_0x3a1ba8(0x2d3)]()+'/collaborator';await this['_HTTPService'][_0x3a1ba8(0x32f)](_0x6bd4d2,{'body':_0x5123bd});}async['createCollaborator'](_0x300163){const _0x3e4cfa=_0x582532;let _0x29109c=this[_0x3e4cfa(0x2d3)]()+'/collaborator';await this[_0x3e4cfa(0x285)]['post'](_0x29109c,{'body':_0x300163});}async['listCollaborators'](_0x2dcee6){const _0x2e7663=_0x582532;var _0x1342a6;let _0x28910d=this[_0x2e7663(0x2d3)]()+_0x2e7663(0x20d),_0x134ee6=await this[_0x2e7663(0x285)]['get'](_0x28910d,{'params':{'objectID':_0x2dcee6['objectID'],'unitID':_0x2dcee6[_0x2e7663(0x142)]}});return this['setCfgEnableObjInherit']((_0x1342a6=_0x134ee6[_0x2e7663(0x41f)]['cfgEnableObjInherit'])==null?!0x1:_0x1342a6),_0x134ee6[_0x2e7663(0x41f)][_0x2e7663(0x3e3)];}async[_0x582532(0x371)](_0x272883){const _0x68c42a=_0x582532;let _0x5646c2=this[_0x68c42a(0x2d3)]()+'/collaborator';await this[_0x68c42a(0x285)][_0x68c42a(0x2b0)](_0x5646c2,{'body':_0x272883});}[_0x582532(0x15d)](_0x345801){const _0x46d200=_0x582532;this[_0x46d200(0x2b5)]=_0x345801;}['getCfgEnableObjInherit'](){return this['_cfgEnableObjInherit'];}};_0x23b744=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x3e2)]))],_0x23b744);function _0x37b175(_0x1959ed){const _0x56bd31=_0x582532;return _0x1959ed instanceof Uint8Array||ArrayBuffer[_0x56bd31(0x394)](_0x1959ed)&&_0x1959ed['constructor'][_0x56bd31(0x272)]===_0x56bd31(0x2c5)&&_0x56bd31(0x323)in _0x1959ed&&_0x1959ed[_0x56bd31(0x323)]===0x1;}function _0xd9eca4(_0x4a6d80){const _0x1cd73f=_0x582532;if(typeof _0x4a6d80!='number')throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4a6d80);if(!Number['isSafeInteger'](_0x4a6d80)||_0x4a6d80<0x0)throw RangeError(_0x1cd73f(0x20f)+_0x4a6d80);}function _0x2b212e(_0x140cd8,_0x1d08f5,_0x488135=''){const _0xad2eeb=_0x582532;let _0x24ad2d=_0x37b175(_0x140cd8),_0x18ffd7=_0x140cd8==null?void 0x0:_0x140cd8[_0xad2eeb(0x2c6)],_0x584d9e=_0x1d08f5!==void 0x0;if(!_0x24ad2d||_0x584d9e&&_0x18ffd7!==_0x1d08f5){let _0x52cf1e=_0x488135&&'\x22'+_0x488135+'\x22\x20',_0x113956=_0x584d9e?_0xad2eeb(0x243)+_0x1d08f5:'',_0x12259f=_0x24ad2d?_0xad2eeb(0x24f)+_0x18ffd7:_0xad2eeb(0x41e)+typeof _0x140cd8,_0x5e9184=_0x52cf1e+_0xad2eeb(0x375)+_0x113956+_0xad2eeb(0x3a6)+_0x12259f;throw _0x24ad2d?RangeError(_0x5e9184):TypeError(_0x5e9184);}return _0x140cd8;}function _0x50d30e(_0x37ea02){const _0x225515=_0x582532;return new Uint32Array(_0x37ea02[_0x225515(0x2a7)],_0x37ea02[_0x225515(0x337)],Math['floor'](_0x37ea02[_0x225515(0x400)]/0x4));}function _0x524ec3(..._0x569517){const _0x3ac672=_0x582532;for(let _0x225f98=0x0;_0x225f98<_0x569517[_0x3ac672(0x2c6)];_0x225f98++)_0x569517[_0x225f98][_0x3ac672(0x33e)](0x0);}let _0x4512aa=new Uint8Array(new Uint32Array([0x11223344])[_0x582532(0x2a7)])[0x0]===0x44,_0x4fcfce=_0x1e46d1=>_0x1e46d1<<0x18&0xff000000|_0x1e46d1<<0x8&0xff0000|_0x1e46d1>>>0x8&0xff00|_0x1e46d1>>>0x18&0xff,_0x32199a=_0x4512aa?_0x4a4442=>_0x4a4442:_0x5a0057=>{for(let _0x4fbd8f=0x0;_0x4fbd8f<_0x5a0057['length'];_0x4fbd8f++)_0x5a0057[_0x4fbd8f]=_0x4fcfce(_0x5a0057[_0x4fbd8f]);return _0x5a0057;};typeof Uint8Array['from']([])[_0x582532(0x3d1)]=='function'&&Uint8Array[_0x582532(0x20e)];function _0x5cc704(_0x363ee7){const _0x5b141d=_0x582532;if(typeof _0x363ee7!=_0x5b141d(0x255))throw TypeError(_0x5b141d(0x2b9));return new Uint8Array(new TextEncoder()[_0x5b141d(0x30e)](_0x363ee7));}function _0x2c06c8(_0x3a09a1,_0x4fc1a8){const _0x1c6f51=_0x582532;return!_0x3a09a1[_0x1c6f51(0x400)]||!_0x4fc1a8[_0x1c6f51(0x400)]?!0x1:_0x3a09a1['buffer']===_0x4fc1a8[_0x1c6f51(0x2a7)]&&_0x3a09a1[_0x1c6f51(0x337)]<_0x4fc1a8[_0x1c6f51(0x337)]+_0x4fc1a8['byteLength']&&_0x4fc1a8['byteOffset']<_0x3a09a1[_0x1c6f51(0x337)]+_0x3a09a1[_0x1c6f51(0x400)];}function _0x1c61a7(_0x1a1d5b,_0x5807e3){const _0x126a71=_0x582532;if(_0x2c06c8(_0x1a1d5b,_0x5807e3)&&_0x1a1d5b['byteOffset']<_0x5807e3[_0x126a71(0x337)])throw Error(_0x126a71(0x336));}function _0x3f3bb2(..._0x527e35){const _0x220d9d=_0x582532;let _0x2ca980=0x0;for(let _0x4305ab=0x0;_0x4305ab<_0x527e35[_0x220d9d(0x2c6)];_0x4305ab++){let _0x15ed96=_0x527e35[_0x4305ab];_0x2b212e(_0x15ed96),_0x2ca980+=_0x15ed96[_0x220d9d(0x2c6)];}let _0x23022b=new Uint8Array(_0x2ca980);for(let _0x4a9778=0x0,_0x273056=0x0;_0x4a9778<_0x527e35[_0x220d9d(0x2c6)];_0x4a9778++){let _0x2e739e=_0x527e35[_0x4a9778];_0x23022b[_0x220d9d(0x31e)](_0x2e739e,_0x273056),_0x273056+=_0x2e739e[_0x220d9d(0x2c6)];}return _0x23022b;}let _0x28fc36=(_0x3ce0fc,_0x28acb7)=>{const _0x478830=_0x582532;function _0x204523(_0x5c2dee,..._0x50286c){const _0x50569e=_0x1dac;if(_0x2b212e(_0x5c2dee,void 0x0,'key'),_0x3ce0fc['nonceLength']!==void 0x0){let _0x135478=_0x50286c[0x0];_0x2b212e(_0x135478,_0x3ce0fc[_0x50569e(0x1c1)]?void 0x0:_0x3ce0fc['nonceLength'],_0x50569e(0x211));}let _0x23a8ef=_0x3ce0fc['tagLength'];_0x23a8ef&&_0x50286c[0x1]!==void 0x0&&_0x2b212e(_0x50286c[0x1],void 0x0,_0x50569e(0x35b));let _0x20a3d4=_0x28acb7(_0x5c2dee,..._0x50286c),_0x1f69f4=(_0x443459,_0x212882)=>{const _0x222311=_0x50569e;if(_0x212882!==void 0x0){if(_0x443459!==0x2)throw Error(_0x222311(0x126));_0x2b212e(_0x212882,void 0x0,_0x222311(0x130));}},_0x2cb6c4=!0x1;return{'encrypt'(_0x102b94,_0x5b4f3d){const _0x5b89b2=_0x50569e;if(_0x2cb6c4)throw Error(_0x5b89b2(0x309));return _0x2cb6c4=!0x0,_0x2b212e(_0x102b94),_0x1f69f4(_0x20a3d4[_0x5b89b2(0x170)]['length'],_0x5b4f3d),_0x20a3d4[_0x5b89b2(0x170)](_0x102b94,_0x5b4f3d);},'decrypt'(_0x329304,_0x406a3d){const _0x5e0af5=_0x50569e;if(_0x2b212e(_0x329304),_0x23a8ef&&_0x329304[_0x5e0af5(0x2c6)]<_0x23a8ef)throw Error(_0x5e0af5(0x38d)+_0x23a8ef);return _0x1f69f4(_0x20a3d4['decrypt'][_0x5e0af5(0x2c6)],_0x406a3d),_0x20a3d4[_0x5e0af5(0x214)](_0x329304,_0x406a3d);}};}return Object[_0x478830(0x3a4)](_0x204523,_0x3ce0fc),_0x204523;};function _0x1a7d56(_0x5affb1,_0x2de016,_0x2a2914=!0x0){const _0xeb18be=_0x582532;if(_0x2de016===void 0x0)return new Uint8Array(_0x5affb1);if(_0x2b212e(_0x2de016,void 0x0,_0xeb18be(0x130)),_0x2de016[_0xeb18be(0x2c6)]!==_0x5affb1)throw Error(_0xeb18be(0x27d)+_0x5affb1+_0xeb18be(0x433)+_0x2de016[_0xeb18be(0x2c6)]);if(_0x2a2914&&!_0x37db50(_0x2de016))throw Error(_0xeb18be(0x249));return _0x2de016;}function _0x37db50(_0x5ec377){const _0x484fac=_0x582532;return _0x5ec377[_0x484fac(0x337)]%0x4==0x0;}function _0x11fe44(_0x489b78){const _0x2c2638=_0x582532;return Uint8Array[_0x2c2638(0x2bf)](_0x2b212e(_0x489b78));}function _0x8b606d(_0x37d8f1=0x20){const _0x44e972=_0x582532;_0xd9eca4(_0x37d8f1);let _0x3f205d=typeof globalThis==_0x44e972(0x2f4)?globalThis[_0x44e972(0x11d)]:null;if(typeof(_0x3f205d==null?void 0x0:_0x3f205d['getRandomValues'])!='function')throw Error(_0x44e972(0x395));return _0x3f205d['getRandomValues'](new Uint8Array(_0x37d8f1));}function _0x15511f(_0x339882){const _0x2c3c2f=_0x582532;if(![0x10,0x18,0x20]['includes'](_0x339882[_0x2c3c2f(0x2c6)]))throw Error(_0x2c3c2f(0x24a)+_0x339882['length']);}function _0x1b018f(_0x202a48){return _0x202a48<<0x1^0x11b&-(_0x202a48>>0x7);}function _0x12f5a0(_0x1d09c3,_0x416b8c){let _0x436761=0x0;for(;_0x416b8c>0x0;_0x416b8c>>=0x1)_0x436761^=_0x1d09c3&-(_0x416b8c&0x1),_0x1d09c3=_0x1b018f(_0x1d09c3);return _0x436761;}let _0x1a5e35=((()=>{let _0x5510b7=new Uint8Array(0x100);for(let _0xa645c9=0x0,_0x3cf41e=0x1;_0xa645c9<0x100;_0xa645c9++,_0x3cf41e^=_0x1b018f(_0x3cf41e))_0x5510b7[_0xa645c9]=_0x3cf41e;let _0x521f77=new Uint8Array(0x100);_0x521f77[0x0]=0x63;for(let _0x52f831=0x0;_0x52f831<0xff;_0x52f831++){let _0x1ecde2=_0x5510b7[0xff-_0x52f831];_0x1ecde2|=_0x1ecde2<<0x8,_0x521f77[_0x5510b7[_0x52f831]]=(_0x1ecde2^_0x1ecde2>>0x4^_0x1ecde2>>0x5^_0x1ecde2>>0x6^_0x1ecde2>>0x7^0x63)&0xff;}return _0x524ec3(_0x5510b7),_0x521f77;})()),_0x43968b=_0x1a5e35[_0x582532(0x312)]((_0x5bc5b6,_0x1484f4)=>_0x1a5e35[_0x582532(0x30b)](_0x1484f4)),_0x4d6e5b=_0x4a238f=>_0x4a238f<<0x18|_0x4a238f>>>0x8,_0x53fcd1=_0xc85dc0=>_0xc85dc0<<0x8|_0xc85dc0>>>0x18;function _0x2599ea(_0x5db2d0,_0x3d8558){const _0x5bcb4c=_0x582532;if(_0x5db2d0[_0x5bcb4c(0x2c6)]!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x5d87ab=new Uint32Array(0x100)[_0x5bcb4c(0x312)]((_0x1c4d6c,_0x24e471)=>_0x3d8558(_0x5db2d0[_0x24e471])),_0x22bb4a=_0x5d87ab[_0x5bcb4c(0x312)](_0x53fcd1),_0x35148c=_0x22bb4a[_0x5bcb4c(0x312)](_0x53fcd1),_0x305127=_0x35148c['map'](_0x53fcd1),_0x1fc7f3=new Uint32Array(0x100*0x100),_0x5e9d59=new Uint32Array(0x100*0x100),_0xcecfc2=new Uint16Array(0x100*0x100);for(let _0x3ffecf=0x0;_0x3ffecf<0x100;_0x3ffecf++)for(let _0xb59215=0x0;_0xb59215<0x100;_0xb59215++){let _0x49d40d=_0x3ffecf*0x100+_0xb59215;_0x1fc7f3[_0x49d40d]=_0x5d87ab[_0x3ffecf]^_0x22bb4a[_0xb59215],_0x5e9d59[_0x49d40d]=_0x35148c[_0x3ffecf]^_0x305127[_0xb59215],_0xcecfc2[_0x49d40d]=_0x5db2d0[_0x3ffecf]<<0x8|_0x5db2d0[_0xb59215];}return{'sbox':_0x5db2d0,'sbox2':_0xcecfc2,'T0':_0x5d87ab,'T1':_0x22bb4a,'T2':_0x35148c,'T3':_0x305127,'T01':_0x1fc7f3,'T23':_0x5e9d59};}let _0x2bb216=_0x2599ea(_0x1a5e35,_0xc15696=>_0x12f5a0(_0xc15696,0x3)<<0x18|_0xc15696<<0x10|_0xc15696<<0x8|_0x12f5a0(_0xc15696,0x2)),_0x29174a=_0x2599ea(_0x43968b,_0xa268c1=>_0x12f5a0(_0xa268c1,0xb)<<0x18|_0x12f5a0(_0xa268c1,0xd)<<0x10|_0x12f5a0(_0xa268c1,0x9)<<0x8|_0x12f5a0(_0xa268c1,0xe)),_0x4f06a7=((()=>{let _0x58d08b=new Uint8Array(0x10);for(let _0x4738f9=0x0,_0x18aa3e=0x1;_0x4738f9<0x10;_0x4738f9++,_0x18aa3e=_0x1b018f(_0x18aa3e))_0x58d08b[_0x4738f9]=_0x18aa3e;return _0x58d08b;})());function _0x5a5350(_0x2e1daa){const _0x1a50f1=_0x582532;_0x2b212e(_0x2e1daa);let _0x3d342c=_0x2e1daa[_0x1a50f1(0x2c6)];_0x15511f(_0x2e1daa);let {sbox2:_0x595cf9}=_0x2bb216,_0x36cbe7=[];(!_0x4512aa||!_0x37db50(_0x2e1daa))&&_0x36cbe7[_0x1a50f1(0x2b7)](_0x2e1daa=_0x11fe44(_0x2e1daa));let _0x20bc1a=_0x32199a(_0x50d30e(_0x2e1daa)),_0x3e4067=_0x20bc1a[_0x1a50f1(0x2c6)],_0x3147f3=_0x2b76d2=>_0x4e9853(_0x595cf9,_0x2b76d2,_0x2b76d2,_0x2b76d2,_0x2b76d2),_0x4c62ea=new Uint32Array(_0x3d342c+0x1c);_0x4c62ea[_0x1a50f1(0x31e)](_0x20bc1a);for(let _0x2798c4=_0x3e4067;_0x2798c4<_0x4c62ea['length'];_0x2798c4++){let _0x488097=_0x4c62ea[_0x2798c4-0x1];_0x2798c4%_0x3e4067===0x0?_0x488097=_0x3147f3(_0x4d6e5b(_0x488097))^_0x4f06a7[_0x2798c4/_0x3e4067-0x1]:_0x3e4067>0x6&&_0x2798c4%_0x3e4067===0x4&&(_0x488097=_0x3147f3(_0x488097)),_0x4c62ea[_0x2798c4]=_0x4c62ea[_0x2798c4-_0x3e4067]^_0x488097;}return _0x524ec3(..._0x36cbe7),_0x4c62ea;}function _0x43ba7b(_0x538286){const _0x127c83=_0x582532;let _0x597222=_0x5a5350(_0x538286),_0x9bfe7d=_0x597222[_0x127c83(0x24b)](),_0x143795=_0x597222['length'],{sbox2:_0x3af405}=_0x2bb216,{T0:_0x3eec10,T1:_0x21f010,T2:_0x3ac128,T3:_0x2ab6aa}=_0x29174a;for(let _0x4fb6d5=0x0;_0x4fb6d5<_0x143795;_0x4fb6d5+=0x4)for(let _0x52fb3f=0x0;_0x52fb3f<0x4;_0x52fb3f++)_0x9bfe7d[_0x4fb6d5+_0x52fb3f]=_0x597222[_0x143795-_0x4fb6d5-0x4+_0x52fb3f];_0x524ec3(_0x597222);for(let _0x4c2273=0x4;_0x4c2273<_0x143795-0x4;_0x4c2273++){let _0x2bd4d4=_0x9bfe7d[_0x4c2273],_0x359c23=_0x4e9853(_0x3af405,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4);_0x9bfe7d[_0x4c2273]=_0x3eec10[_0x359c23&0xff]^_0x21f010[_0x359c23>>>0x8&0xff]^_0x3ac128[_0x359c23>>>0x10&0xff]^_0x2ab6aa[_0x359c23>>>0x18];}return _0x9bfe7d;}function _0x3bc83e(_0x25d36f,_0x40ec53,_0x263691,_0x3ffa69,_0x297e8e,_0x23b143){return _0x25d36f[_0x263691<<0x8&0xff00|_0x3ffa69>>>0x8&0xff]^_0x40ec53[_0x297e8e>>>0x8&0xff00|_0x23b143>>>0x18&0xff];}function _0x4e9853(_0x30a18a,_0x22c724,_0x58bdf5,_0x5f1627,_0x47ecda){return _0x30a18a[_0x22c724&0xff|_0x58bdf5&0xff00]|_0x30a18a[_0x5f1627>>>0x10&0xff|_0x47ecda>>>0x10&0xff00]<<0x10;}function _0x42a4f2(_0x8b2762,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7){const _0x5700ef=_0x582532;let {sbox2:_0x3ae018,T01:_0x206f8d,T23:_0x4fc10e}=_0x2bb216,_0xb31bd4=0x0;_0x156c40^=_0x8b2762[_0xb31bd4++],_0x2f8aff^=_0x8b2762[_0xb31bd4++],_0x3aa835^=_0x8b2762[_0xb31bd4++],_0x3d71a7^=_0x8b2762[_0xb31bd4++];let _0x8e9559=_0x8b2762[_0x5700ef(0x2c6)]/0x4-0x2;for(let _0xc2951c=0x0;_0xc2951c<_0x8e9559;_0xc2951c++){let _0x300cc2=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),_0x5bcadd=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),_0x15b811=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),_0x484471=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835);_0x156c40=_0x300cc2,_0x2f8aff=_0x5bcadd,_0x3aa835=_0x15b811,_0x3d71a7=_0x484471;}return{'s0':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),'s1':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),'s2':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),'s3':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835)};}function _0x4537dd(_0x5043bc,_0x2c7101,_0x4920fb,_0x2a5d38,_0x22e04b){const _0x584f8c=_0x582532;let {sbox2:_0x3ced94,T01:_0x79fcf1,T23:_0x23eb7f}=_0x29174a,_0x151046=0x0;_0x2c7101^=_0x5043bc[_0x151046++],_0x4920fb^=_0x5043bc[_0x151046++],_0x2a5d38^=_0x5043bc[_0x151046++],_0x22e04b^=_0x5043bc[_0x151046++];let _0x2b1bb3=_0x5043bc[_0x584f8c(0x2c6)]/0x4-0x2;for(let _0x198297=0x0;_0x198297<_0x2b1bb3;_0x198297++){let _0x42dd3a=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),_0x4e601c=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),_0x5ef9a6=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),_0x5dd8ad=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101);_0x2c7101=_0x42dd3a,_0x4920fb=_0x4e601c,_0x2a5d38=_0x5ef9a6,_0x22e04b=_0x5dd8ad;}return{'s0':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),'s1':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),'s2':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),'s3':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101)};}function _0x5665ee(_0x38d7bc){const _0x33b95d=_0x582532;if(_0x2b212e(_0x38d7bc),_0x38d7bc[_0x33b95d(0x2c6)]%0x10!=0x0)throw Error(_0x33b95d(0x3af));}function _0x1d63e3(_0x3b504f,_0x3048ad,_0x261980){const _0x2cf438=_0x582532;_0x2b212e(_0x3b504f);let _0x158f68=_0x3b504f[_0x2cf438(0x2c6)],_0x4f6c24=_0x158f68%0x10;if(!_0x3048ad&&_0x4f6c24!==0x0)throw Error(_0x2cf438(0x258));if(_0x3048ad){let _0x1cc9a2=0x10-_0x4f6c24;_0x1cc9a2||(_0x1cc9a2=0x10),_0x158f68+=_0x1cc9a2;}_0x261980=_0x1a7d56(_0x158f68,_0x261980),_0x1c61a7(_0x3b504f,_0x261980),(!_0x4512aa||!_0x37db50(_0x3b504f))&&(_0x3b504f=_0x11fe44(_0x3b504f));let _0x4fb4d4=_0x50d30e(_0x3b504f);return _0x32199a(_0x4fb4d4),{'b':_0x4fb4d4,'o':_0x50d30e(_0x261980),'out':_0x261980};}function _0xe2a58(_0xb6937b,_0x20760b){const _0xb9be62=_0x582532;if(!_0x20760b)return _0xb6937b;let _0x4f8417=_0xb6937b[_0xb9be62(0x2c6)];if(_0x4f8417===0x0)throw Error(_0xb9be62(0x302));let _0x457a9a=_0xb6937b[_0x4f8417-0x1],_0x43e8de=0x1;_0x43e8de&=_0x457a9a-0x1>>>0x1f^0x1,_0x43e8de&=0x10-_0x457a9a>>>0x1f^0x1;for(let _0x2504a2=0x0;_0x2504a2<0x10;_0x2504a2++){let _0x353c46=_0x2504a2-_0x457a9a>>>0x1f,_0x533d3e=+((_0xb6937b[_0x4f8417-0x1-_0x2504a2]^_0x457a9a)===0x0);_0x43e8de&=_0x533d3e|_0x353c46^0x1;}if(!_0x43e8de)throw Error(_0xb9be62(0x2da));return _0xb6937b[_0xb9be62(0x376)](0x0,_0x4f8417-_0x457a9a);}function _0x142ef9(_0x441925){const _0x401e98=_0x582532;let _0x585aaf=new Uint8Array(0x10),_0x3a4758=_0x50d30e(_0x585aaf);_0x585aaf[_0x401e98(0x31e)](_0x441925);let _0x2ccb3a=0x10-_0x441925[_0x401e98(0x2c6)];for(let _0x511b31=0x10-_0x2ccb3a;_0x511b31<0x10;_0x511b31++)_0x585aaf[_0x511b31]=_0x2ccb3a;return _0x3a4758;}let _0x1cd376=_0x28fc36({'blockSize':0x10,'nonceLength':0x10},function(_0x51ec6c,_0x233b67,_0x53f855={}){const _0x25516f=_0x582532;let _0x1442a0=!_0x53f855[_0x25516f(0x3bf)];return{'encrypt'(_0x179b6b,_0x1c4ba6){const _0x19f34f=_0x25516f;let _0x4e5fee=_0x5a5350(_0x51ec6c),{b:_0x12039f,o:_0x28da20,out:_0x598d70}=_0x1d63e3(_0x179b6b,_0x1442a0,_0x1c4ba6),_0x53cf9d=_0x233b67,_0x28deb4=[_0x4e5fee];(!_0x4512aa||!_0x37db50(_0x53cf9d))&&_0x28deb4[_0x19f34f(0x2b7)](_0x53cf9d=_0x11fe44(_0x53cf9d));let _0x307dd6=_0x50d30e(_0x53cf9d);_0x32199a(_0x307dd6);let _0x368f5c=_0x307dd6[0x0],_0x2ca1bf=_0x307dd6[0x1],_0x1fc217=_0x307dd6[0x2],_0x5169a0=_0x307dd6[0x3],_0xa93538=0x0;for(;_0xa93538+0x4<=_0x12039f[_0x19f34f(0x2c6)];)_0x368f5c^=_0x12039f[_0xa93538+0x0],_0x2ca1bf^=_0x12039f[_0xa93538+0x1],_0x1fc217^=_0x12039f[_0xa93538+0x2],_0x5169a0^=_0x12039f[_0xa93538+0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;if(_0x1442a0){let _0x5211e1=_0x142ef9(_0x179b6b[_0x19f34f(0x376)](_0xa93538*0x4));_0x32199a(_0x5211e1),_0x368f5c^=_0x5211e1[0x0],_0x2ca1bf^=_0x5211e1[0x1],_0x1fc217^=_0x5211e1[0x2],_0x5169a0^=_0x5211e1[0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;}return _0x32199a(_0x28da20),_0x524ec3(..._0x28deb4),_0x598d70;},'decrypt'(_0x936a93,_0x1a49ae){const _0x54a305=_0x25516f;_0x5665ee(_0x936a93);let _0x5404b4=_0x43ba7b(_0x51ec6c),_0x46b331=_0x233b67,_0x3ea06c=[_0x5404b4];(!_0x4512aa||!_0x37db50(_0x46b331))&&_0x3ea06c[_0x54a305(0x2b7)](_0x46b331=_0x11fe44(_0x46b331));let _0x2da209=_0x50d30e(_0x46b331);_0x32199a(_0x2da209),_0x1a49ae=_0x1a7d56(_0x936a93['length'],_0x1a49ae),_0x1c61a7(_0x936a93,_0x1a49ae),(!_0x4512aa||!_0x37db50(_0x936a93))&&_0x3ea06c['push'](_0x936a93=_0x11fe44(_0x936a93));let _0x5ccd18=_0x50d30e(_0x936a93),_0x45b1b9=_0x50d30e(_0x1a49ae);_0x32199a(_0x5ccd18);let _0x2348ca=_0x2da209[0x0],_0x543eba=_0x2da209[0x1],_0x594d44=_0x2da209[0x2],_0x2bb1a4=_0x2da209[0x3];for(let _0x118bb4=0x0;_0x118bb4+0x4<=_0x5ccd18[_0x54a305(0x2c6)];){let _0x2477c9=_0x2348ca,_0x43ba60=_0x543eba,_0x5bf589=_0x594d44,_0x5c0832=_0x2bb1a4;_0x2348ca=_0x5ccd18[_0x118bb4+0x0],_0x543eba=_0x5ccd18[_0x118bb4+0x1],_0x594d44=_0x5ccd18[_0x118bb4+0x2],_0x2bb1a4=_0x5ccd18[_0x118bb4+0x3];let {s0:_0x41ee55,s1:_0x1f3131,s2:_0x4b9473,s3:_0x1054cd}=_0x4537dd(_0x5404b4,_0x2348ca,_0x543eba,_0x594d44,_0x2bb1a4);_0x45b1b9[_0x118bb4++]=_0x41ee55^_0x2477c9,_0x45b1b9[_0x118bb4++]=_0x1f3131^_0x43ba60,_0x45b1b9[_0x118bb4++]=_0x4b9473^_0x5bf589,_0x45b1b9[_0x118bb4++]=_0x1054cd^_0x5c0832;}return _0x32199a(_0x45b1b9),_0x524ec3(..._0x3ea06c),_0xe2a58(_0x1a49ae,_0x1442a0);}};});function _0x28a73e(_0x8a0a88){const _0x5bdc4d=_0x582532;let _0x172e02=atob(_0x8a0a88),_0x1b0445=new Uint8Array(_0x172e02[_0x5bdc4d(0x2c6)]);for(let _0x363c19=0x0;_0x363c19<_0x172e02[_0x5bdc4d(0x2c6)];_0x363c19++)_0x1b0445[_0x363c19]=_0x172e02[_0x5bdc4d(0x3f4)](_0x363c19);return _0x1b0445;}function _0x304433(_0x11ff17){const _0x1684c7=_0x582532;let _0x1b35c8='';for(let _0x21345a=0x0;_0x21345a<_0x11ff17[_0x1684c7(0x2c6)];_0x21345a++)_0x1b35c8+=String[_0x1684c7(0x181)](_0x11ff17[_0x21345a]);return btoa(_0x1b35c8);}function _0x202928(_0x202831,_0x349b91){const _0x209bd8=_0x582532;let _0x14e356=_0x28a73e(_0x349b91),_0x3dcbe4=_0x8b606d(0x10);return _0x304433(_0x3f3bb2(_0x3dcbe4,_0x1cd376(_0x14e356,_0x3dcbe4)[_0x209bd8(0x170)](_0x5cc704(_0x202831))));}function _0x14bffd(){const _0x246af9=_0x582532;let _0x57e86a=(0x0,_0xaf7c7d['getGlobalObject'])()[_0x246af9(0x3d9)];if(typeof window<'u'&&window[_0x246af9(0x383)]!==void 0x0&&_0x57e86a){let _0x467bde={'time':Math['floor'](Date[_0x246af9(0x14c)]()/0x3e8),'domain':location[_0x246af9(0x3c1)]};return _0x202928(JSON['stringify'](_0x467bde),_0x57e86a);}}let _0x23debf=class{constructor(_0x36eed4){const _0x40bfaf=_0x582532;this[_0x40bfaf(0x195)]=_0x36eed4,this[_0x40bfaf(0x3cf)]();}[_0x582532(0x3cf)](){const _0x4d2f94=_0x582532;this[_0x4d2f94(0x195)][_0x4d2f94(0x185)]({'interceptor':(_0x2dc6d8,_0x1ce67e)=>{const _0xc305ea=_0x4d2f94;let _0x594d28=_0x14bffd();return _0x594d28&&_0x2dc6d8['headers'][_0xc305ea(0x31e)](_0xc305ea(0x28d),_0x594d28),_0x1ce67e(_0x2dc6d8);}});}};_0x23debf=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc['HTTPService']))],_0x23debf);let _0xc0f129=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x4c76c5,_0x1d15ee,_0x53f7ed){const _0x48f1be=_0x582532;super(),this[_0x48f1be(0x423)]=_0x4c76c5,this['_snapshotService']=_0x1d15ee,this['_localCacheService']=_0x53f7ed,_0x158768(this,_0x48f1be(0x410),new _0x4ea2bc[(_0x48f1be(0x319))](null)),_0x158768(this,'unitInfo$',this['_unitInfo$']['asObservable']());}async[_0x582532(0x3dd)](_0x5bc631,_0x49f49c,_0x374797){const _0x47bb92=_0x582532;this[_0x47bb92(0x410)][_0x47bb92(0x270)]({'unitId':_0x5bc631,'type':_0x49f49c});let _0x57d0cb=null;switch(_0x49f49c){case _0x21f9b6[_0x47bb92(0x3e4)][_0x47bb92(0x1ba)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x1bd)](_0x5bc631,_0x374797);break;case _0x21f9b6['UniverInstanceType'][_0x47bb92(0x1f3)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x360)](_0x5bc631,_0x374797);break;default:this[_0x47bb92(0x423)][_0x47bb92(0x171)]('[DataLoaderService]',_0x47bb92(0x1f6));break;}return _0x57d0cb;}async[_0x582532(0x346)](_0x2adb3a,_0x41a794,_0x4f5b3a){const _0x1d1ac0=_0x582532;var _0x4aee01;this[_0x1d1ac0(0x410)]['next']({'unitId':_0x2adb3a,'type':_0x41a794,'subUnitId':_0x4f5b3a});let _0x94face=0x0,_0x2bf44c=await((_0x4aee01=this['_localCacheService'])==null?void 0x0:_0x4aee01[_0x1d1ac0(0x1a7)](_0x2adb3a));return _0x2bf44c&&(_0x2bf44c[_0x1d1ac0(0x343)]||_0x2bf44c[_0x1d1ac0(0x393)][_0x1d1ac0(0x2c6)]!==0x0)&&(_0x94face=_0x2bf44c[_0x1d1ac0(0x3f7)]),_0x94face===0x0&&this[_0x1d1ac0(0x423)][_0x1d1ac0(0x2b1)](_0x1d1ac0(0x17f),_0x1d1ac0(0x404)),this[_0x1d1ac0(0x3dd)](_0x2adb3a,_0x41a794,_0x94face);}};_0xc0f129=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x40f)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xc0f129);let _0x20a57b=['image/png',_0x582532(0x2a6),_0x582532(0x27b),_0x582532(0x29f),'image/bmp'],_0x567524=class{constructor(_0x59cf01,_0x4d66ef,_0x423e07){const _0x4d8296=_0x582532;this[_0x4d8296(0x195)]=_0x59cf01,this['_configService']=_0x4d66ef,this[_0x4d8296(0x136)]=_0x423e07,_0x158768(this,_0x4d8296(0x416),0x0),_0x158768(this,_0x4d8296(0x290),new _0x4ea2bc['Subject']()),_0x158768(this,_0x4d8296(0x34d),this[_0x4d8296(0x290)]),_0x158768(this,_0x4d8296(0x2fa),new Map());}[_0x582532(0x2d0)](_0x31aaee){const _0x56bfa6=_0x582532;this[_0x56bfa6(0x416)]=_0x31aaee,this[_0x56bfa6(0x290)][_0x56bfa6(0x270)](_0x31aaee);}['getImageSourceCache'](_0x44f755,_0x80d942){const _0x22e950=_0x582532;if(_0x80d942===_0x432f50['ImageSourceType'][_0x22e950(0x224)]){let _0x19a232=new Image();return _0x19a232['src']=_0x44f755,_0x19a232;}return this[_0x22e950(0x2fa)][_0x22e950(0x19e)](_0x44f755);}[_0x582532(0x15b)](_0x4e2e0f,_0x329b36,_0x1a754e){const _0xbb2a08=_0x582532;_0x329b36===_0x432f50[_0xbb2a08(0x23a)]['BASE64']||_0x1a754e==null||this[_0xbb2a08(0x2fa)][_0xbb2a08(0x31e)](_0x4e2e0f,_0x1a754e);}async[_0x582532(0x269)](_0x2ee489){const _0x238a60=_0x582532;try{let _0x612eb2=this[_0x238a60(0x27c)](this[_0x238a60(0x12b)](),''+_0x2ee489),_0xb12a8d=(await this['_httpService']['get'](_0x612eb2))[_0x238a60(0x41f)];if(_0xb12a8d[_0x238a60(0x171)]&&_0xb12a8d[_0x238a60(0x171)][_0x238a60(0x422)]===_0x4d42e2[_0x238a60(0x32a)]['OK']){let _0x1f6949=(0x0,_0x21f9b6[_0x238a60(0x1fe)])(_0xb12a8d['url'],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x1f6949);}return Promise[_0x238a60(0x225)](_0xb12a8d[_0x238a60(0x171)]);}catch(_0x5670fc){return Promise['reject'](_0x5670fc);}}async[_0x582532(0x315)](_0x45a0b2){const _0x298f9a=_0x582532;let _0x7fb1de='';if(!_0x20a57b[_0x298f9a(0x180)](_0x45a0b2['type']))return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)][_0x298f9a(0x3c2)]));if(_0x45a0b2[_0x298f9a(0x186)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)]['ERROR_EXCEED_SIZE']));try{let _0x15651a=new FormData();_0x15651a[_0x298f9a(0x361)](_0x298f9a(0x411),_0x45a0b2);let _0x35edb1=this['_univerInstanceService'][_0x298f9a(0x3ce)](),_0x223b53=_0x35edb1==null?void 0x0:_0x35edb1[_0x298f9a(0x31b)]();if(!_0x223b53)throw Error('unitId\x20is\x20not\x20found');let _0x4109ab=this[_0x298f9a(0x425)]()+_0x298f9a(0x173)+_0x45a0b2[_0x298f9a(0x186)]['toString']()+'&source='+_0x4d42e2['FileSource'][_0x298f9a(0x260)]+_0x298f9a(0x1cc)+encodeURIComponent(_0x223b53),_0x12c897={'body':_0x15651a},_0x132e18=(await this[_0x298f9a(0x195)][_0x298f9a(0x370)](_0x4109ab,_0x12c897))[_0x298f9a(0x41f)];if(typeof _0x132e18[_0x298f9a(0x3a7)]!=_0x298f9a(0x255))return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));_0x7fb1de=_0x132e18['FileId'];}catch{return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));}return new Promise((_0x440d97,_0x5c5c9b)=>{const _0x5f2f27=_0x298f9a;let _0x152f8f=new FileReader();_0x152f8f[_0x5f2f27(0x3a1)](_0x45a0b2),_0x152f8f[_0x5f2f27(0x3f0)]=_0xe8a163=>{const _0x4ae741=_0x5f2f27;var _0x38a0a1;let _0x449474=(_0x38a0a1=_0xe8a163[_0x4ae741(0x3bd)])==null?void 0x0:_0x38a0a1[_0x4ae741(0x20c)];if(_0x449474==null){this['_decreaseWaiting'](),_0x5c5c9b(Error(_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x39b)]));return;}_0x440d97({'imageId':(0x0,_0x21f9b6[_0x4ae741(0x2df)])(0x6),'imageSourceType':_0x432f50[_0x4ae741(0x23a)][_0x4ae741(0x3b3)],'source':_0x7fb1de,'base64Cache':_0x449474,'status':_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x2a4)]}),this[_0x4ae741(0x1c7)]();};});}[_0x582532(0x425)](){const _0x12da30=_0x582532;var _0x4c0d02;let _0x3363b6=this[_0x12da30(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x4c0d02=_0x3363b6==null?void 0x0:_0x3363b6[_0x12da30(0x194)])==null?_0x12da30(0x137):_0x4c0d02;}[_0x582532(0x12b)](){const _0x5ebfe3=_0x582532;var _0x17ab87;let _0x939138=this[_0x5ebfe3(0x3b0)][_0x5ebfe3(0x2ba)](_0x3b7e3d);return(_0x17ab87=_0x939138==null?void 0x0:_0x939138[_0x5ebfe3(0x287)])==null?_0x5ebfe3(0x34f):_0x17ab87;}[_0x582532(0x3d3)](){const _0x5533aa=_0x582532;var _0x2bbb83;let _0x388621=this['_configService']['getConfig'](_0x3b7e3d);return(_0x2bbb83=_0x388621==null?void 0x0:_0x388621[_0x5533aa(0x193)])==null?location['origin']:_0x2bbb83;}['_replaceFileID'](_0x5c47a0,_0x38f5f9){const _0x44e421=_0x582532;return _0x5c47a0[_0x44e421(0x30c)](_0x44e421(0x3a9),_0x38f5f9);}[_0x582532(0x1c7)](){const _0x5c7d5a=_0x582532;--this['_waitCount'],this['_change$'][_0x5c7d5a(0x270)](this[_0x5c7d5a(0x416)]);}};_0x567524=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x207)]))],_0x567524);let _0x51ebde=class{constructor(_0x119f07,_0x17a32c){const _0x40875b=_0x582532;this['_configService']=_0x119f07,this[_0x40875b(0x285)]=_0x17a32c;}[_0x582532(0x2d3)](){const _0x390e02=_0x582532;var _0x4c1e97;let _0x4b114=this[_0x390e02(0x3b0)][_0x390e02(0x2ba)](_0x3b7e3d);return(_0x4c1e97=_0x4b114==null?void 0x0:_0x4b114[_0x390e02(0x1ec)])==null?'/universer-api/authz':_0x4c1e97;}async[_0x582532(0x251)](_0x30726f){const _0x19770a=_0x582532;let _0x2eb54c=this[_0x19770a(0x2d3)]()+'/collaborator';return{'list':[{'title':_0x19770a(0x205),'mentions':(await this[_0x19770a(0x285)]['get'](_0x2eb54c,{'params':{'objectID':_0x30726f[_0x19770a(0x415)],'unitID':_0x30726f[_0x19770a(0x415)]}}))['body']['collaborators']['map'](_0x30c717=>({'objectId':_0x30c717['id'],'name':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x272)],'metadata':{'icon':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x1d0)]},'label':_0x30c717[_0x19770a(0x39e)]['name'],'objectType':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]})),'metadata':{},'type':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]}]};}};_0x51ebde=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['IConfigService'])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x51ebde);let _0x2ff624=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x2567eb,_0x42d4fc,_0x3afe36,_0xcac7e9,_0x40f732){const _0x521472=_0x582532;super(),this[_0x521472(0x279)]=_0x2567eb,this[_0x521472(0x136)]=_0x42d4fc,this[_0x521472(0x3bb)]=_0x3afe36,this[_0x521472(0x1a3)]=_0xcac7e9,this[_0x521472(0x2ca)]=_0x40f732,this[_0x521472(0x1b9)](),this['_initCloseConn']();}[_0x582532(0x259)](){const _0x508611=_0x582532;let _0x41f917=async _0x1beff0=>{const _0x38543c=_0x1dac;(await this['_collaborationSessionService'][_0x38543c(0x13a)](_0x1beff0))[_0x38543c(0x1a6)][_0x38543c(0x12f)]((0x0,_0x40ad09[_0x38543c(0x382)])(_0x26c956=>_0x26c956[_0x38543c(0x23e)]===_0xba6f9e[_0x38543c(0x417)][_0x38543c(0x22e)]),(0x0,_0x40ad09[_0x38543c(0x172)])(this[_0x38543c(0x3b8)]))[_0x38543c(0x237)](_0x3e88f0=>{const _0x566816=_0x38543c;let {reason:_0x381427}=_0x3e88f0[_0x566816(0x163)];this[_0x566816(0x2ca)][_0x566816(0x121)]({'id':_0x214ddb[_0x566816(0x365)],'data':_0x381427}),this[_0x566816(0x3bb)]['updatePermissionPoint'](new _0x17b170['WorkbookEditablePermission'](_0x1beff0)['id'],!0x1),this['_collaborationSessionService'][_0x566816(0x3b5)](_0x1beff0);});};(0x0,_0x4ea2bc[_0x508611(0x366)])(this[_0x508611(0x136)]['getTypeOfUnitAdded$'](_0x21f9b6['UniverInstanceType'][_0x508611(0x1ba)]),this['_univerInstanceService'][_0x508611(0x2e6)](_0x21f9b6[_0x508611(0x3e4)]['UNIVER_DOC']))[_0x508611(0x12f)]((0x0,_0x40ad09['map'])(_0x353819=>_0x353819['getUnitId']()),(0x0,_0x40ad09[_0x508611(0x382)])(_0x57f6d4=>!(0x0,_0x21f9b6[_0x508611(0x233)])(_0x57f6d4)),(0x0,_0x40ad09['takeUntil'])(this[_0x508611(0x3b8)]))[_0x508611(0x237)](_0x305db0=>{_0x41f917(_0x305db0);});}[_0x582532(0x1b9)](){const _0x1c7330=_0x582532;let _0x3e9e1e=async _0x2f2e48=>{const _0x4b74d9=_0x1dac;let _0x3d9a6a=await this['_collaborationSessionService'][_0x4b74d9(0x13a)](_0x2f2e48),_0x21542c=this[_0x4b74d9(0x279)]['get'](_0x17b170[_0x4b74d9(0x1d6)]);_0x3d9a6a[_0x4b74d9(0x1a6)][_0x4b74d9(0x12f)]((0x0,_0x40ad09['filter'])(_0x47ade5=>_0x47ade5[_0x4b74d9(0x23e)]===_0xba6f9e['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x40ad09[_0x4b74d9(0x172)])(this[_0x4b74d9(0x3b8)]))[_0x4b74d9(0x237)](_0x3dc6cd=>{const _0x3200b2=_0x4b74d9;let {objectId:_0x362ae3}=_0x3dc6cd['data'];_0x362ae3===_0x2f2e48?_0x21542c[_0x3200b2(0x3d6)](_0x2f2e48):_0x21542c[_0x3200b2(0x20a)](_0x2f2e48,_0x362ae3);});};(0x0,_0x4ea2bc[_0x1c7330(0x366)])(this['_univerInstanceService'][_0x1c7330(0x2e6)](_0x21f9b6[_0x1c7330(0x3e4)]['UNIVER_SHEET']))[_0x1c7330(0x12f)]((0x0,_0x40ad09[_0x1c7330(0x312)])(_0x16f855=>_0x16f855[_0x1c7330(0x31b)]()),(0x0,_0x40ad09['filter'])(_0x437e61=>!(0x0,_0x21f9b6[_0x1c7330(0x233)])(_0x437e61)),(0x0,_0x40ad09['takeUntil'])(this[_0x1c7330(0x3b8)]))[_0x1c7330(0x237)](_0xfa03ba=>{_0x3e9e1e(_0xfa03ba);});}};_0x2ff624=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x49c645))],_0x2ff624);let _0x583f98=class{constructor(_0x488d32,_0x4e759d){const _0x5ba7c7=_0x582532;this[_0x5ba7c7(0x3b0)]=_0x488d32,this['_httpService']=_0x4e759d;}async[_0x582532(0x155)](_0x12fad3,_0x2e09f0){const _0x4eccee=_0x582532;var _0x48ee03;let {unitID:_0x25aeb5,type:_0x42bdee,revision:_0x55a56e=0x0}=_0x2e09f0,_0x5349d4=this[_0x4eccee(0x177)]()+'/'+_0x42bdee+'/unit/'+_0x25aeb5+_0x4eccee(0x1c8)+_0x55a56e,_0x1ecb54=(await this['_httpService'][_0x4eccee(0x19e)](_0x5349d4))[_0x4eccee(0x41f)],_0x5e3968=(_0x48ee03=_0x1ecb54[_0x4eccee(0x3f5)])==null?void 0x0:_0x48ee03[_0x4eccee(0x305)];if(_0x5e3968){let _0x58f4d3=_0x5e3968==null?void 0x0:_0x5e3968['originalMeta'];_0x5e3968['originalMeta']=_0xba6f9e[_0x4eccee(0x3c3)][_0x4eccee(0x30e)]((0x0,_0xba6f9e[_0x4eccee(0x384)])(_0x58f4d3)),Object[_0x4eccee(0x304)](_0x5e3968[_0x4eccee(0x278)])[_0x4eccee(0x2c3)](([,_0x5bfcbf])=>{const _0x2979aa=_0x4eccee;let _0x519785=_0x5bfcbf[_0x2979aa(0x38f)];_0x5bfcbf['originalMeta']=_0xba6f9e['textEncoder']['encode']((0x0,_0xba6f9e[_0x2979aa(0x384)])(_0x519785));});}return _0x1ecb54;}async[_0x582532(0x235)](_0x113abe,_0x177128){const _0x33110e=_0x582532;let {unitID:_0x2eaa90,type:_0xaa9c5d,blockID:_0x4c0b84}=_0x177128,_0x5d88a0=this[_0x33110e(0x228)]()+'/'+_0xaa9c5d+_0x33110e(0x11e)+_0x2eaa90+_0x33110e(0x42c)+_0x4c0b84;return(await this[_0x33110e(0x195)]['get'](_0x5d88a0))['body'];}async[_0x582532(0x2a9)](_0x2db860,_0x8f1534){const _0x59e13d=_0x582532;let {unitID:_0x2af368,type:_0x32c5c0,blockID:_0x120bb3}=_0x8f1534,_0xc5a377=this['_getAPIPrefix']()+'/block/'+_0x32c5c0+_0x59e13d(0x11e)+_0x2af368+_0x59e13d(0x42c)+_0x120bb3;return(await this[_0x59e13d(0x195)][_0x59e13d(0x19e)](_0xc5a377))[_0x59e13d(0x41f)];}async[_0x582532(0x176)](_0x5a9330,_0x46e10f){const _0x4aa548=_0x582532;let {unitID:_0x26eb6c,type:_0xac34c0,from:_0x3cfbbe,to:_0x23b9a6}=_0x46e10f,_0x1684aa=this['_getAPIPrefix']()+'/'+_0xac34c0+'/unit/'+_0x26eb6c+_0x4aa548(0x25b)+_0x3cfbbe+_0x4aa548(0x33d)+_0x23b9a6;return(await this[_0x4aa548(0x195)][_0x4aa548(0x19e)](_0x1684aa))['body'];}[_0x582532(0x177)](){const _0x173883=_0x582532;var _0x21e5a7;return(_0x21e5a7=this['_configService']['getConfig'](_0x173883(0x268)))==null?this[_0x173883(0x228)]():_0x21e5a7;}[_0x582532(0x228)](){const _0x409884=_0x582532;var _0x834c38;let _0x235f3c=this[_0x409884(0x3b0)][_0x409884(0x2ba)](_0x3b7e3d);return(_0x834c38=_0x235f3c==null?void 0x0:_0x235f3c['snapshotServerUrl'])==null?'/universer-api/snapshot':_0x834c38;}async[_0x582532(0x372)](_0x3f1365,_0x718086){const _0x4dc852=_0x582532;let _0x14fb0d=_0x4dc852(0x1d4)+_0x718086[_0x4dc852(0x1a4)]+_0x4dc852(0x11e)+_0x718086[_0x4dc852(0x142)]+_0x4dc852(0x355);return(await this[_0x4dc852(0x195)][_0x4dc852(0x19e)](_0x14fb0d,{'params':{'resourceId':JSON['stringify'](_0x718086[_0x4dc852(0x129)])}}))[_0x4dc852(0x41f)];}[_0x582532(0x24e)](){const _0x4a8d54=_0x582532;throw Error(_0x4a8d54(0x2d5));}[_0x582532(0x318)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x12e)](){const _0x3e0669=_0x582532;throw Error(_0x3e0669(0x2d5));}['saveChangeset'](){const _0x4385af=_0x582532;throw Error(_0x4385af(0x2d5));}[_0x582532(0x3b1)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x3ea)](){const _0x3a541f=_0x582532;throw Error(_0x3a541f(0x2d5));}};_0x583f98=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x583f98);let _0x42923c=class extends _0x21f9b6[_0x582532(0x240)]{constructor(_0x5b491f,_0x255d61,_0x11b184,_0x5cbc43,_0x5084e4){const _0x5223d4=_0x582532;super(_0x5b491f,_0x255d61,_0x11b184),this['_transformService']=_0x5cbc43,this[_0x5223d4(0x423)]=_0x5084e4;}[_0x582532(0x21b)](_0x256da3,_0x1ead75){const _0x34022c=_0x582532;let _0x1482a3=this[_0x34022c(0x3a2)](_0x256da3);if(_0x1482a3)try{let _0x14822e=this['_transformStack'](_0x1482a3,_0x1ead75);this['_substituteUndoStack'](_0x256da3,_0x14822e);}catch(_0x254aef){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x34022c(0x36c),_0x254aef),this[_0x34022c(0x33b)](_0x256da3);}let _0x35562c=this[_0x34022c(0x271)](_0x256da3);if(_0x35562c)try{let _0xef1f6b=this[_0x34022c(0x26d)](_0x35562c,_0x1ead75);this['_substituteRedoStack'](_0x256da3,_0xef1f6b);}catch(_0x2f0ba2){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x2f0ba2),this[_0x34022c(0x2b4)](_0x256da3);}}[_0x582532(0x33b)](_0x7e3b6f){const _0x15de06=_0x582532;let _0x532ed8=this[_0x15de06(0x3a2)](_0x7e3b6f);_0x532ed8&&(_0x532ed8[_0x15de06(0x2c6)]=0x0,this[_0x15de06(0x1d8)]());}[_0x582532(0x2b4)](_0x4ef4e4){const _0xdfbc8f=_0x582532;let _0x39a6ad=this['_getRedoStack'](_0x4ef4e4);_0x39a6ad&&(_0x39a6ad[_0xdfbc8f(0x2c6)]=0x0,this[_0xdfbc8f(0x1d8)]());}[_0x582532(0x322)](_0x5434bb,_0x3995ce){const _0x2acdf1=_0x582532;this[_0x2acdf1(0x300)][_0x2acdf1(0x31e)](_0x5434bb,_0x3995ce),this['_updateStatus']();}[_0x582532(0x223)](_0x2c8d3e,_0x2b411d){const _0x17efbc=_0x582532;this[_0x17efbc(0x245)][_0x17efbc(0x31e)](_0x2c8d3e,_0x2b411d),this[_0x17efbc(0x1d8)]();}[_0x582532(0x26d)](_0x4e2a3c,_0x1b1886){const _0x57759a=_0x582532;let _0x493079=[],_0x31827b=_0x1b1886,_0x49ec64=_0x1b1886;for(let _0xc2ab7=_0x4e2a3c['length']-0x1;_0xc2ab7>=0x0;_0xc2ab7--){let {unitID:_0x549ac4,undoMutations:_0x50f208,redoMutations:_0x5cd67a}=_0x4e2a3c[_0xc2ab7],_0x757007=this['_transformService'][_0x57759a(0x18a)](_0x31827b,_0x50f208),_0x211e5e=this[_0x57759a(0x32c)][_0x57759a(0x18a)](_0x49ec64,_0x5cd67a);if((0x0,_0xba6f9e[_0x57759a(0x134)])(_0x757007)||(0x0,_0xba6f9e[_0x57759a(0x134)])(_0x211e5e)){this[_0x57759a(0x423)][_0x57759a(0x171)]('[CollaborationUndoRedoService]',_0x57759a(0x409),_0x757007,_0x211e5e);break;}_0x31827b=_0x757007[_0x57759a(0x301)],_0x49ec64=_0x211e5e[_0x57759a(0x301)],_0x493079['push']({'unitID':_0x549ac4,'undoMutations':_0x757007[_0x57759a(0x419)],'redoMutations':_0x211e5e['m2Prime']});}return _0x493079[_0x57759a(0x19b)]();}};_0x42923c=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x2cd)]),_0x385b9b(0x3,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x4,_0x21f9b6[_0x582532(0x2d2)])],_0x42923c);let _0x10a260=class extends _0x21f9b6[_0x582532(0x201)]{constructor(_0x27815d={},_0x3ac0ff,_0x344d62,_0x5db8b2){const _0x5c6ace=_0x582532;super(),this[_0x5c6ace(0x226)]=_0x27815d,this['_logService']=_0x3ac0ff,this[_0x5c6ace(0x279)]=_0x344d62,this[_0x5c6ace(0x3b0)]=_0x5db8b2;let {..._0x5e6d3d}=(0x0,_0x21f9b6['merge'])({},_0x1a0a3c,_0x27815d);if(!_0x5e6d3d[_0x5c6ace(0x16d)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5e6d3d,this[_0x5c6ace(0x3b0)][_0x5c6ace(0x2d8)](_0x3b7e3d,_0x5e6d3d);}['onStarting'](){const _0x467e47=_0x582532;this[_0x467e47(0x35a)](),this[_0x467e47(0x1b8)]();}[_0x582532(0x35a)](){const _0x25fa56=_0x582532;var _0x5658e6,_0x8385e5;this[_0x25fa56(0x279)][_0x25fa56(0x2e9)](_0x21f9b6[_0x25fa56(0x3c6)])&&this[_0x25fa56(0x423)][_0x25fa56(0x171)](_0x25fa56(0x313),_0x25fa56(0x21d));let _0x2df68c=(0x0,_0x21f9b6[_0x25fa56(0x124)])([[_0x21f9b6[_0x25fa56(0x3c6)],{'useClass':_0x42923c}],[_0x457933],[_0x42c541],[_0x43e293],[_0x3d2f49],[_0x23debf],[_0x386670],[_0x2ff624],[_0x49c645],[_0xc0f129],[_0x1b8f90,{'useClass':this[_0x25fa56(0x226)][_0x25fa56(0x16d)]}],[_0xba6f9e[_0x25fa56(0x349)],{'useClass':_0x583f98}],[_0x21f9b6[_0x25fa56(0x1f1)],{'useClass':_0x23b744}],[_0x432f50[_0x25fa56(0x3e1)],{'useClass':_0x567524}],[_0x21f9b6[_0x25fa56(0x1e0)],{'useClass':_0x51ebde}],[_0x28cc0e],[_0x5e16b4]],(_0x5658e6=this['_config'])==null?void 0x0:_0x5658e6[_0x25fa56(0x356)]);if(!((_0x8385e5=this[_0x25fa56(0x226)])!=null&&_0x8385e5['enableSingleActiveInstanceLock'])){let _0x4454a2=_0x2df68c[_0x25fa56(0x26e)](([_0x4e8457])=>_0x4e8457===_0x4ada3c);_0x4454a2!==-0x1&&_0x2df68c['splice'](_0x4454a2,0x1);}(0x0,_0x21f9b6[_0x25fa56(0x37e)])(this[_0x25fa56(0x279)],_0x2df68c);}[_0x582532(0x1b8)](){const _0x292f3e=_0x582532;var _0x55f659,_0x4fa2c8;if(this[_0x292f3e(0x279)][_0x292f3e(0x19e)](_0xf4c2fc[_0x292f3e(0x1b3)])[_0x292f3e(0x185)]({'priority':0x14,'interceptor':(0x0,_0xf4c2fc[_0x292f3e(0x42a)])({'maxParallel':0x6})}),!((_0x55f659=this[_0x292f3e(0x226)])!=null&&_0x55f659[_0x292f3e(0x3b7)])){var _0x4c4737;(_0x4c4737=this['_injector'][_0x292f3e(0x19e)](_0x2705d1,_0x21f9b6[_0x292f3e(0x2be)]['OPTIONAL']))==null||_0x4c4737[_0x292f3e(0x405)]();}(_0x4fa2c8=this[_0x292f3e(0x226)])!=null&&_0x4fa2c8[_0x292f3e(0x1f7)]&&(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x3d2f49]]),(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x23debf],[_0x28cc0e],[_0x2ff624]]);}};_0x158768(_0x10a260,_0x582532(0x333),_0x582532(0x289)),_0x158768(_0x10a260,_0x582532(0x1d5),_0x2aec61),_0x158768(_0x10a260,_0x582532(0x1b2),_0x1c30ed),_0x10a260=_0x9fca30([(0x0,_0x21f9b6[_0x582532(0x31f)])(_0xaf7c7d['UniverLicensePlugin'],_0xba6f9e[_0x582532(0x247)],_0xf4c2fc[_0x582532(0x1d1)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x3e2)])],_0x10a260),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x32b),{'enumerable':!0x0,'get':function(){return _0x23b744;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14f),{'enumerable':!0x0,'get':function(){return _0x4cb993;}}),Object[_0x582532(0x2f7)](_0x5382ad,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x548b22;}}),_0x5382ad[_0x582532(0x11a)]=_0x3b7e3d,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x218),{'enumerable':!0x0,'get':function(){return _0x28cc0e;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x3fe),{'enumerable':!0x0,'get':function(){return _0x20db3d;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x307),{'enumerable':!0x0,'get':function(){return _0x567524;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x3f6),{'enumerable':!0x0,'get':function(){return _0x172cb0;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x342),{'enumerable':!0x0,'get':function(){return _0x457933;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2ee),{'enumerable':!0x0,'get':function(){return _0xc1659c;}}),_0x5382ad['CollaborationStatus']=_0x259f7c,_0x5382ad[_0x582532(0x3cc)]=_0x214ddb,_0x5382ad[_0x582532(0x135)]=_0x49c645,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14b),{'enumerable':!0x0,'get':function(){return _0x42923c;}}),_0x5382ad[_0x582532(0x30d)]=_0x386670,Object['defineProperty'](_0x5382ad,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x2d5de6;}}),_0x5382ad[_0x582532(0x281)]=_0x107e87,_0x5382ad[_0x582532(0x414)]=_0x582532(0x14a),_0x5382ad[_0x582532(0x1be)]=_0x582532(0x374),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x27e),{'enumerable':!0x0,'get':function(){return _0xc0f129;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x36b),{'enumerable':!0x0,'get':function(){return _0xd1a0d8;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x29b),{'enumerable':!0x0,'get':function(){return _0x231f53;}}),_0x5382ad[_0x582532(0x339)]='HEARTBEAT_INTERVAL',_0x5382ad[_0x582532(0x242)]=_0x582532(0x36a),_0x5382ad[_0x582532(0x1c6)]=_0x1b8f90,_0x5382ad[_0x582532(0x427)]=_0x2705d1,_0x5382ad[_0x582532(0x2db)]=_0x3cb508,_0x5382ad[_0x582532(0x40d)]=_0x4ada3c,_0x5382ad[_0x582532(0x362)]=0x3e8,_0x5382ad[_0x582532(0x2d7)]=_0x582532(0x362),Object[_0x582532(0x2f7)](_0x5382ad,'MemberService',{'enumerable':!0x0,'get':function(){return _0x42c541;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x23f),{'enumerable':!0x0,'get':function(){return _0x51ebde;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x22d),{'enumerable':!0x0,'get':function(){return _0x23f8dc;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x1a1),{'enumerable':!0x0,'get':function(){return _0x348615;}}),_0x5382ad[_0x582532(0x3e6)]=_0x582532(0x402),_0x5382ad[_0x582532(0x40c)]=_0x582532(0x1a5),_0x5382ad[_0x582532(0x184)]=_0x42d806,Object['defineProperty'](_0x5382ad,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x33b45e;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x1da),{'enumerable':!0x0,'get':function(){return _0x43e293;}}),Object['defineProperty'](_0x5382ad,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x583f98;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2c0),{'enumerable':!0x0,'get':function(){return _0x51c4b3;}}),_0x5382ad[_0x582532(0x1df)]=_0x5e2f10,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x182),{'enumerable':!0x0,'get':function(){return _0x10a260;}}),_0x5382ad[_0x582532(0x420)]=_0x8921cb,_0x5382ad[_0x582532(0x378)]=_0x183d07,_0x5382ad[_0x582532(0x391)]=_0x16a106;}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x555a(_0x1dd1e5,_0x3c7421){_0x1dd1e5=_0x1dd1e5-0x1ac;const _0x131112=_0x1311();let _0x555acd=_0x131112[_0x1dd1e5];return _0x555acd;}(function(_0x52a9a0,_0x528d23){const _0x19e357=_0x555a,_0x2e6698=_0x52a9a0();while(!![]){try{const _0x4cbcf3=-parseInt(_0x19e357(0x1f9))/0x1*(parseInt(_0x19e357(0x1b2))/0x2)+parseInt(_0x19e357(0x1cc))/0x3+parseInt(_0x19e357(0x1c7))/0x4+parseInt(_0x19e357(0x1dc))/0x5*(parseInt(_0x19e357(0x1b1))/0x6)+-parseInt(_0x19e357(0x1fb))/0x7*(-parseInt(_0x19e357(0x1b5))/0x8)+parseInt(_0x19e357(0x1f6))/0x9+parseInt(_0x19e357(0x1cb))/0xa*(-parseInt(_0x19e357(0x1fa))/0xb);if(_0x4cbcf3===_0x528d23)break;else _0x2e6698['push'](_0x2e6698['shift']());}catch(_0xf5e7de){_0x2e6698['push'](_0x2e6698['shift']());}}}(_0x1311,0x836b7),function(_0x393f0d,_0x1fa784){const _0x541e54=_0x555a;typeof exports==_0x541e54(0x1d4)&&typeof module<'u'?_0x1fa784(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x541e54(0x1ad)&&define[_0x541e54(0x1ae)]?define([_0x541e54(0x1f1),_0x541e54(0x1ee),_0x541e54(0x1bb),_0x541e54(0x1d9),_0x541e54(0x1f0),'rxjs'],_0x1fa784):(_0x393f0d=typeof globalThis<'u'?globalThis:_0x393f0d||self,_0x1fa784(_0x393f0d[_0x541e54(0x1d0)]={},_0x393f0d[_0x541e54(0x1ce)],_0x393f0d[_0x541e54(0x1af)],_0x393f0d[_0x541e54(0x1d5)],_0x393f0d[_0x541e54(0x1ba)],_0x393f0d[_0x541e54(0x1c6)]));}(this,function(_0x463447,_0x17ef91,_0x2863bb,_0x10420c,_0x21e1fa,_0x9c6145){const _0x36d1fb=_0x555a;Object['defineProperty'](_0x463447,Symbol[_0x36d1fb(0x1c1)],{'value':_0x36d1fb(0x1ca)});var _0x164e2b=class extends _0x2863bb['FEnum']{get[_0x36d1fb(0x1b9)](){const _0x364452=_0x36d1fb;return _0x17ef91[_0x364452(0x1b9)];}};_0x2863bb['FEnum']['extend'](_0x164e2b);var _0x3c7766=class extends _0x2863bb[_0x36d1fb(0x1e7)]{get[_0x36d1fb(0x1e3)](){const _0x4e160b=_0x36d1fb;return _0x4e160b(0x1e3);}};_0x2863bb['FEventName'][_0x36d1fb(0x1d6)](_0x3c7766);function _0x568f4d(_0x38d29c,_0x2a32bd){return function(_0x17ec83,_0x22d40d){_0x2a32bd(_0x17ec83,_0x22d40d,_0x38d29c);};}function _0x1806cf(_0x3cc1a9,_0x59cfab,_0x23147e,_0x14ca9f){const _0x417e3a=_0x36d1fb;var _0x40bc91=arguments[_0x417e3a(0x1b0)],_0x38951b=_0x40bc91<0x3?_0x59cfab:_0x14ca9f===null?_0x14ca9f=Object[_0x417e3a(0x1f5)](_0x59cfab,_0x23147e):_0x14ca9f,_0x32978f;if(typeof Reflect=='object'&&typeof Reflect[_0x417e3a(0x1ed)]==_0x417e3a(0x1ad))_0x38951b=Reflect[_0x417e3a(0x1ed)](_0x3cc1a9,_0x59cfab,_0x23147e,_0x14ca9f);else{for(var _0x3d5a6e=_0x3cc1a9[_0x417e3a(0x1b0)]-0x1;_0x3d5a6e>=0x0;_0x3d5a6e--)(_0x32978f=_0x3cc1a9[_0x3d5a6e])&&(_0x38951b=(_0x40bc91<0x3?_0x32978f(_0x38951b):_0x40bc91>0x3?_0x32978f(_0x59cfab,_0x23147e,_0x38951b):_0x32978f(_0x59cfab,_0x23147e))||_0x38951b);}return _0x40bc91>0x3&&_0x38951b&&Object['defineProperty'](_0x59cfab,_0x23147e,_0x38951b),_0x38951b;}let _0x52d035=class extends _0x2863bb[_0x36d1fb(0x1be)]{constructor(_0x210fcd,_0x34782f,_0x7b944b,_0x1b41b8,_0x55cc37){const _0x2683d4=_0x36d1fb;super(),this[_0x2683d4(0x1c9)]=_0x210fcd,this[_0x2683d4(0x1f4)]=_0x34782f,this[_0x2683d4(0x1db)]=_0x7b944b,this[_0x2683d4(0x1ea)]=_0x1b41b8,this[_0x2683d4(0x1bf)]=_0x55cc37;}async[_0x36d1fb(0x1b7)](){return this['loadActiveSheetAsync']();}async[_0x36d1fb(0x1cf)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x36d1fb(0x1f2)](_0x5237c7){const _0x3c2c04=_0x36d1fb;return this[_0x3c2c04(0x1bd)](_0x5237c7);}async[_0x36d1fb(0x1bd)](_0x1b43f1,_0x3e427d){const _0x566987=_0x36d1fb;return await this['_snapshotService']['loadSheet'](_0x1b43f1,0x0,_0x3e427d)?(await this[_0x566987(0x1bf)][_0x566987(0x1cd)](_0x1b43f1),this[_0x566987(0x1c9)][_0x566987(0x1c4)](_0x1b43f1)):null;}[_0x36d1fb(0x1da)](_0x4b4a74,_0x5af400){const _0x26ef3d=_0x36d1fb;return(0x0,_0x10420c['toDisposable'])(this[_0x26ef3d(0x1f4)]['get'](_0x17ef91[_0x26ef3d(0x1b3)])[_0x26ef3d(0x1df)](_0x4b4a74)[_0x26ef3d(0x1e0)]((0x0,_0x9c6145[_0x26ef3d(0x1eb)])(_0x742a14=>_0x742a14[_0x26ef3d(0x1ef)]))[_0x26ef3d(0x1f8)](_0x4c83c3=>_0x5af400(Array[_0x26ef3d(0x1e2)](_0x4c83c3[_0x26ef3d(0x1e4)]()))));}[_0x36d1fb(0x1b8)](_0x586eab){const _0x30be2f=_0x36d1fb;var _0x343583;let _0x26840d;if(_0x586eab)_0x26840d=_0x586eab;else{let _0x2a0a31=this[_0x30be2f(0x1db)][_0x30be2f(0x1b4)]();_0x26840d=_0x2a0a31==null?void 0x0:_0x2a0a31[_0x30be2f(0x1ec)]();}if(!_0x26840d)return _0x17ef91[_0x30be2f(0x1b9)][_0x30be2f(0x1d2)];let _0x86f298=this[_0x30be2f(0x1bf)][_0x30be2f(0x1de)](_0x26840d);return(_0x343583=_0x86f298==null?void 0x0:_0x86f298['state']['status'])==null?_0x17ef91[_0x30be2f(0x1b9)][_0x30be2f(0x1d2)]:_0x343583;}};_0x52d035=_0x1806cf([_0x568f4d(0x1,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x10420c[_0x36d1fb(0x1bc)])),_0x568f4d(0x2,_0x10420c[_0x36d1fb(0x1e8)]),_0x568f4d(0x3,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x21e1fa['SnapshotService'])),_0x568f4d(0x4,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x17ef91[_0x36d1fb(0x1f7)]))],_0x52d035);var _0x32c84f=class extends _0x2863bb[_0x36d1fb(0x1d7)]{[_0x36d1fb(0x1c5)](_0x384d20){const _0x24c5aa=_0x36d1fb;let _0x164339=_0x384d20[_0x24c5aa(0x1d8)](_0x17ef91[_0x24c5aa(0x1f7)]);this['disposeWithMe'](this[_0x24c5aa(0x1e6)](this[_0x24c5aa(0x1c0)]['CollaborationStatusChanged'],()=>{const _0x3d0b96=_0x24c5aa;let _0x25b89c=new _0x10420c[(_0x3d0b96(0x1fc))](),_0x51c04c=_0x164339['entityInit$'][_0x3d0b96(0x1f8)](_0x414fa5=>{const _0x49888e=_0x3d0b96;let _0x4454bc=_0x414fa5[_0x49888e(0x1c2)]['subscribe'](_0x370284=>{const _0x101997=_0x49888e;let _0x1d12a2={'unitId':_0x414fa5[_0x101997(0x1f3)],'status':_0x370284};this[_0x101997(0x1c3)](this[_0x101997(0x1c0)][_0x101997(0x1e3)],_0x1d12a2);});_0x25b89c[_0x49888e(0x1e1)]((0x0,_0x10420c[_0x49888e(0x1b6)])(_0x4454bc));});return _0x25b89c['add']((0x0,_0x10420c[_0x3d0b96(0x1b6)])(_0x51c04c)),_0x25b89c;}));}['getCollaboration'](){const _0x4a9d14=_0x36d1fb;return this['_injector'][_0x4a9d14(0x1e5)](_0x52d035,{'getUniverSheet':_0x4e19cc=>this[_0x4a9d14(0x1c4)](_0x4e19cc)});}[_0x36d1fb(0x1c8)](_0x4ee2be,_0xe27a2,_0x2247f1){const _0xeef512=_0x36d1fb;return this[_0xeef512(0x1f4)][_0xeef512(0x1d8)](_0x17ef91[_0xeef512(0x1d3)])[_0xeef512(0x1dd)](_0x4ee2be,_0xe27a2,_0x2247f1);}['loadServerUnitOfRevision'](_0x3d9065,_0xaf15c3,_0x4861da){const _0x292898=_0x36d1fb;return this[_0x292898(0x1f4)]['get'](_0x17ef91[_0x292898(0x1d3)])[_0x292898(0x1e9)](_0x3d9065,_0xaf15c3,_0x4861da);}};_0x2863bb[_0x36d1fb(0x1d7)]['extend'](_0x32c84f),Object[_0x36d1fb(0x1d1)](_0x463447,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x52d035;}});}));function _0x1311(){const _0x1c434b=['getCollaborationStatus','CollaborationStatus','UniverProCollaboration','@univerjs/core/facade','Injector','loadSheetAsync','FBase','_collaborationController','Event','toStringTag','status$','fireEvent','getUniverSheet','_initialize','rxjs','3192352oNSMiW','loadServerUnit','_handler','Module','1983370BwXEZi','744306SiGtjS','readyForCollab','UniverProCollaborationClient','loadActiveSheetAsync','UniverProCollaborationClientFacade','defineProperty','NOT_COLLAB','DataLoaderService','object','UniverCore','extend','FUniver','get','@univerjs/core','subscribeCollaborators','_univerInstanceService','5KoogTZ','loadUnit','getCollabEntity','waitForRoom$','pipe','add','from','CollaborationStatusChanged','values','createInstance','registerEventHandler','FEventName','IUniverInstanceService','loadUnitOfRevision','_snapshotService','switchMap','getUnitId','decorate','@univerjs-pro/collaboration-client','members$','@univerjs-pro/collaboration','exports','loadSheet','unitID','_injector','getOwnPropertyDescriptor','7607781XeedYA','CollaborationController','subscribe','2xbIbTj','132hAoBmE','67459DrxbZN','DisposableCollection','Inject','function','amd','UniverCoreFacade','length','5457468JEGUGB','345314yfqQZs','MemberService','getFocusedUnit','384eEVreu','toDisposable','loadActiveSheet'];_0x1311=function(){return _0x1c434b;};return _0x1311();}
5
+ function _0x1786(_0x42ac8b,_0x442bad){_0x42ac8b=_0x42ac8b-0x1b3;const _0x465f91=_0x465f();let _0x178653=_0x465f91[_0x42ac8b];return _0x178653;}function _0x465f(){const _0x574421=['CollaborationStatusChanged','FCollaboration','getUnitId','rxjs','subscribeCollaborators','71BIXsFO','from','get','status','length','loadUnit','exports','values','@univerjs-pro/collaboration-client','85NDSxsg','FEnum','members$','_snapshotService','toDisposable','460350LVDAhT','loadServerUnit','loadSheet','7381680aQrXfE','_collaborationController','DisposableCollection','function','amd','CollaborationController','unitID','fireEvent','loadSheetAsync','UniverProCollaborationClientFacade','FEventName','createInstance','loadActiveSheetAsync','object','UniverCoreFacade','readyForCollab','_univerInstanceService','Inject','SnapshotService','2314602caHyKQ','@univerjs/core/facade','_injector','entityInit$','NOT_COLLAB','FBase','FUniver','subscribe','@univerjs-pro/collaboration','Event','getOwnPropertyDescriptor','defineProperty','loadUnitOfRevision','Module','24YmZqEx','_handler','Injector','380429fGArEb','2260EGDVac','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','IUniverInstanceService','waitForRoom$','DataLoaderService','5558SAUZcK','add','getCollaboration','1220124rQupYu','extend','decorate','CollaborationStatus','loadServerUnitOfRevision','MemberService','getFocusedUnit','getUniverSheet','state'];_0x465f=function(){return _0x574421;};return _0x465f();}(function(_0x588cef,_0x551514){const _0x1be84f=_0x1786,_0x1753c0=_0x588cef();while(!![]){try{const _0x37e259=parseInt(_0x1be84f(0x1fa))/0x1*(parseInt(_0x1be84f(0x1e9))/0x2)+-parseInt(_0x1be84f(0x1bb))/0x3+parseInt(_0x1be84f(0x1e3))/0x4*(-parseInt(_0x1be84f(0x1b6))/0x5)+-parseInt(_0x1be84f(0x1ec))/0x6+-parseInt(_0x1be84f(0x1e2))/0x7*(parseInt(_0x1be84f(0x1df))/0x8)+-parseInt(_0x1be84f(0x1d1))/0x9+parseInt(_0x1be84f(0x1be))/0xa;if(_0x37e259===_0x551514)break;else _0x1753c0['push'](_0x1753c0['shift']());}catch(_0x4e8225){_0x1753c0['push'](_0x1753c0['shift']());}}}(_0x465f,0x24571),function(_0x3e96c0,_0x5e67b3){const _0x1bb46c=_0x1786;typeof exports==_0x1bb46c(0x1cb)&&typeof module<'u'?_0x5e67b3(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x1bb46c(0x1c1)&&define[_0x1bb46c(0x1c2)]?define([_0x1bb46c(0x1b3),_0x1bb46c(0x1b5),_0x1bb46c(0x1d2),'@univerjs/core',_0x1bb46c(0x1d9),'rxjs'],_0x5e67b3):(_0x3e96c0=typeof globalThis<'u'?globalThis:_0x3e96c0||self,_0x5e67b3(_0x3e96c0[_0x1bb46c(0x1c7)]={},_0x3e96c0['UniverProCollaborationClient'],_0x3e96c0[_0x1bb46c(0x1cc)],_0x3e96c0['UniverCore'],_0x3e96c0['UniverProCollaboration'],_0x3e96c0[_0x1bb46c(0x1f8)]));}(this,function(_0x2ae065,_0x21c4b2,_0x2ada40,_0x6da4ff,_0x5a386d,_0x5930bc){const _0x4d33f7=_0x1786;Object['defineProperty'](_0x2ae065,Symbol['toStringTag'],{'value':_0x4d33f7(0x1de)});var _0x5b379d=class extends _0x2ada40['FEnum']{get['CollaborationStatus'](){const _0x403540=_0x4d33f7;return _0x21c4b2[_0x403540(0x1ef)];}};_0x2ada40[_0x4d33f7(0x1b7)][_0x4d33f7(0x1ed)](_0x5b379d);var _0x10e2a9=class extends _0x2ada40['FEventName']{get[_0x4d33f7(0x1f5)](){const _0x5d6328=_0x4d33f7;return _0x5d6328(0x1f5);}};_0x2ada40[_0x4d33f7(0x1c8)][_0x4d33f7(0x1ed)](_0x10e2a9);function _0x39c035(_0x2d58bb,_0x21511e){return function(_0xa3f24d,_0x401f36){_0x21511e(_0xa3f24d,_0x401f36,_0x2d58bb);};}function _0x48052d(_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581){const _0x34da51=_0x4d33f7;var _0x3d786e=arguments[_0x34da51(0x1fe)],_0x3d1e=_0x3d786e<0x3?_0x2902d5:_0x5aa581===null?_0x5aa581=Object[_0x34da51(0x1db)](_0x2902d5,_0x5e7906):_0x5aa581,_0x2e1e97;if(typeof Reflect==_0x34da51(0x1cb)&&typeof Reflect[_0x34da51(0x1ee)]==_0x34da51(0x1c1))_0x3d1e=Reflect['decorate'](_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581);else{for(var _0x5003e1=_0x86cb5d[_0x34da51(0x1fe)]-0x1;_0x5003e1>=0x0;_0x5003e1--)(_0x2e1e97=_0x86cb5d[_0x5003e1])&&(_0x3d1e=(_0x3d786e<0x3?_0x2e1e97(_0x3d1e):_0x3d786e>0x3?_0x2e1e97(_0x2902d5,_0x5e7906,_0x3d1e):_0x2e1e97(_0x2902d5,_0x5e7906))||_0x3d1e);}return _0x3d786e>0x3&&_0x3d1e&&Object['defineProperty'](_0x2902d5,_0x5e7906,_0x3d1e),_0x3d1e;}let _0x727f90=class extends _0x2ada40[_0x4d33f7(0x1d6)]{constructor(_0x3a9287,_0x18db48,_0x33b5e7,_0x5b6b0a,_0x5920a9){const _0x20cd0b=_0x4d33f7;super(),this[_0x20cd0b(0x1e0)]=_0x3a9287,this[_0x20cd0b(0x1d3)]=_0x18db48,this['_univerInstanceService']=_0x33b5e7,this[_0x20cd0b(0x1b9)]=_0x5b6b0a,this['_collaborationController']=_0x5920a9;}async['loadActiveSheet'](){const _0x17fe6e=_0x4d33f7;return this[_0x17fe6e(0x1ca)]();}async[_0x4d33f7(0x1ca)](){const _0x2ee707=_0x4d33f7;throw Error(_0x2ee707(0x1e4));}async[_0x4d33f7(0x1bd)](_0xb96f53){const _0x56cda4=_0x4d33f7;return this[_0x56cda4(0x1c6)](_0xb96f53);}async[_0x4d33f7(0x1c6)](_0x2055b6,_0x4d262d){const _0x83ccad=_0x4d33f7;return await this[_0x83ccad(0x1b9)][_0x83ccad(0x1bd)](_0x2055b6,0x0,_0x4d262d)?(await this[_0x83ccad(0x1bf)][_0x83ccad(0x1cd)](_0x2055b6),this[_0x83ccad(0x1e0)][_0x83ccad(0x1f3)](_0x2055b6)):null;}[_0x4d33f7(0x1f9)](_0x4453e7,_0x58e132){const _0x5b1ae8=_0x4d33f7;return(0x0,_0x6da4ff[_0x5b1ae8(0x1ba)])(this['_injector'][_0x5b1ae8(0x1fc)](_0x21c4b2[_0x5b1ae8(0x1f1)])[_0x5b1ae8(0x1e7)](_0x4453e7)['pipe']((0x0,_0x5930bc[_0x5b1ae8(0x1e5)])(_0x3479bd=>_0x3479bd[_0x5b1ae8(0x1b8)]))[_0x5b1ae8(0x1d8)](_0x24f2e4=>_0x58e132(Array[_0x5b1ae8(0x1fb)](_0x24f2e4[_0x5b1ae8(0x1b4)]()))));}['getCollaborationStatus'](_0x50be58){const _0x2ab72f=_0x4d33f7;var _0x2ec159;let _0x3116f3;if(_0x50be58)_0x3116f3=_0x50be58;else{let _0x40f2df=this[_0x2ab72f(0x1ce)][_0x2ab72f(0x1f2)]();_0x3116f3=_0x40f2df==null?void 0x0:_0x40f2df[_0x2ab72f(0x1f7)]();}if(!_0x3116f3)return _0x21c4b2[_0x2ab72f(0x1ef)][_0x2ab72f(0x1d5)];let _0x5ab197=this['_collaborationController']['getCollabEntity'](_0x3116f3);return(_0x2ec159=_0x5ab197==null?void 0x0:_0x5ab197[_0x2ab72f(0x1f4)][_0x2ab72f(0x1fd)])==null?_0x21c4b2['CollaborationStatus'][_0x2ab72f(0x1d5)]:_0x2ec159;}};_0x727f90=_0x48052d([_0x39c035(0x1,(0x0,_0x6da4ff['Inject'])(_0x6da4ff[_0x4d33f7(0x1e1)])),_0x39c035(0x2,_0x6da4ff[_0x4d33f7(0x1e6)]),_0x39c035(0x3,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x5a386d[_0x4d33f7(0x1d0)])),_0x39c035(0x4,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x21c4b2[_0x4d33f7(0x1c3)]))],_0x727f90);var _0x5da8ef=class extends _0x2ada40[_0x4d33f7(0x1d7)]{['_initialize'](_0x4a806d){const _0x193153=_0x4d33f7;let _0x4ff669=_0x4a806d[_0x193153(0x1fc)](_0x21c4b2['CollaborationController']);this['disposeWithMe'](this['registerEventHandler'](this[_0x193153(0x1da)][_0x193153(0x1f5)],()=>{const _0x5601fb=_0x193153;let _0x1d4079=new _0x6da4ff[(_0x5601fb(0x1c0))](),_0x13c898=_0x4ff669[_0x5601fb(0x1d4)][_0x5601fb(0x1d8)](_0x542b86=>{const _0x4ee6e0=_0x5601fb;let _0x34621e=_0x542b86['status$']['subscribe'](_0x134dd1=>{const _0x5a085c=_0x1786;let _0x153e69={'unitId':_0x542b86[_0x5a085c(0x1c4)],'status':_0x134dd1};this[_0x5a085c(0x1c5)](this[_0x5a085c(0x1da)][_0x5a085c(0x1f5)],_0x153e69);});_0x1d4079[_0x4ee6e0(0x1ea)]((0x0,_0x6da4ff[_0x4ee6e0(0x1ba)])(_0x34621e));});return _0x1d4079['add']((0x0,_0x6da4ff['toDisposable'])(_0x13c898)),_0x1d4079;}));}[_0x4d33f7(0x1eb)](){const _0x2433e3=_0x4d33f7;return this[_0x2433e3(0x1d3)][_0x2433e3(0x1c9)](_0x727f90,{'getUniverSheet':_0x128374=>this[_0x2433e3(0x1f3)](_0x128374)});}[_0x4d33f7(0x1bc)](_0x3ddfd3,_0x4bd757,_0xb4605b){const _0x539e41=_0x4d33f7;return this['_injector']['get'](_0x21c4b2['DataLoaderService'])[_0x539e41(0x1ff)](_0x3ddfd3,_0x4bd757,_0xb4605b);}[_0x4d33f7(0x1f0)](_0x55cdb5,_0x48689a,_0x1f223f){const _0x6bf600=_0x4d33f7;return this[_0x6bf600(0x1d3)][_0x6bf600(0x1fc)](_0x21c4b2[_0x6bf600(0x1e8)])[_0x6bf600(0x1dd)](_0x55cdb5,_0x48689a,_0x1f223f);}};_0x2ada40[_0x4d33f7(0x1d7)][_0x4d33f7(0x1ed)](_0x5da8ef),Object[_0x4d33f7(0x1dc)](_0x2ae065,_0x4d33f7(0x1f6),{'enumerable':!0x0,'get':function(){return _0x727f90;}});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- (function(_0x1392d0,_0x815005){const _0xf15b67=_0xff8c,_0x5a94bb=_0x1392d0();while(!![]){try{const _0x5f4c3e=-parseInt(_0xf15b67(0x33c))/0x1*(parseInt(_0xf15b67(0x35a))/0x2)+parseInt(_0xf15b67(0x2b0))/0x3*(-parseInt(_0xf15b67(0x258))/0x4)+-parseInt(_0xf15b67(0x1b5))/0x5+parseInt(_0xf15b67(0x459))/0x6+parseInt(_0xf15b67(0x3e1))/0x7+-parseInt(_0xf15b67(0x23f))/0x8*(parseInt(_0xf15b67(0x2d7))/0x9)+parseInt(_0xf15b67(0x309))/0xa;if(_0x5f4c3e===_0x815005)break;else _0x5a94bb['push'](_0x5a94bb['shift']());}catch(_0x2baf60){_0x5a94bb['push'](_0x5a94bb['shift']());}}}(_0x178d,0x2570d),function(_0x2fdb2a,_0x528d4b){const _0x54ecd9=_0xff8c;typeof exports==_0x54ecd9(0x207)&&typeof module<'u'?_0x528d4b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`)):typeof define==_0x54ecd9(0x441)&&define[_0x54ecd9(0x492)]?define([_0x54ecd9(0x279),_0x54ecd9(0x23c),'@univerjs/core','@univerjs/ui',_0x54ecd9(0x34b),_0x54ecd9(0x46f),_0x54ecd9(0x334),_0x54ecd9(0x2f0),_0x54ecd9(0x1f1),_0x54ecd9(0x2a2),'@univerjs/engine-render',_0x54ecd9(0x218),_0x54ecd9(0x30e),_0x54ecd9(0x244),_0x54ecd9(0x3de),_0x54ecd9(0x406),_0x54ecd9(0x299),_0x54ecd9(0x1ff),_0x54ecd9(0x363)],_0x528d4b):(_0x2fdb2a=typeof globalThis<'u'?globalThis:_0x2fdb2a||self,_0x528d4b(_0x2fdb2a[_0x54ecd9(0x21f)]={},_0x2fdb2a['UniverProCollaborationClient'],_0x2fdb2a[_0x54ecd9(0x429)],_0x2fdb2a['UniverUi'],_0x2fdb2a[_0x54ecd9(0x34b)],_0x2fdb2a[_0x54ecd9(0x43a)],_0x2fdb2a['React'],_0x2fdb2a[_0x54ecd9(0x370)],_0x2fdb2a[_0x54ecd9(0x301)],_0x2fdb2a['UniverSheets'],_0x2fdb2a[_0x54ecd9(0x498)],_0x2fdb2a[_0x54ecd9(0x1a1)],_0x2fdb2a[_0x54ecd9(0x321)],_0x2fdb2a[_0x54ecd9(0x46d)],_0x2fdb2a[_0x54ecd9(0x425)],_0x2fdb2a[_0x54ecd9(0x3d6)],_0x2fdb2a[_0x54ecd9(0x281)],_0x2fdb2a['rxjs'][_0x54ecd9(0x2a5)],_0x2fdb2a[_0x54ecd9(0x37a)]));}(this,function(_0x4bdf46,_0x3839b9,_0x412392,_0x197442,_0x1af95b,_0x39ba33,_0x41dd93,_0xec8f0c,_0x3d3cc4,_0x36e5e1,_0x6b7952,_0x1aaf00,_0x493739,_0x556f51,_0x584220,_0x5bad8c,_0x3eef3a,_0x5a2ef1,_0x2e45e6){const _0x2c832d=_0xff8c;Object[_0x2c832d(0x361)](_0x4bdf46,Symbol['toStringTag'],{'value':'Module'});function _0xe4b778({ref:_0x36c7fc,..._0x587935}){const _0x2bd681=_0x2c832d;let {icon:_0x3f07ed,id:_0x3f611f,className:_0xc0840d,extend:_0x5abbbf,..._0x442d0a}=_0x587935,_0x4546fa=(_0x2bd681(0x2ff)+_0x3f611f+'\x20'+(_0xc0840d||''))[_0x2bd681(0x25d)](),_0x5564c9=(0x0,_0x41dd93[_0x2bd681(0x4b2)])('_'+_0xbf0d7());return _0x240f6f(_0x3f07ed,''+_0x3f611f,{'defIds':_0x3f07ed['defIds'],'idSuffix':_0x5564c9['current']},{'ref':_0x36c7fc,'className':_0x4546fa,..._0x442d0a},_0x5abbbf);}function _0x240f6f(_0xa7189e,_0x5ec8e0,_0xb39865,_0xe5bd7a,_0x508609){const _0x5d0656=_0x2c832d;return(0x0,_0x41dd93['createElement'])(_0xa7189e[_0x5d0656(0x499)],{'key':_0x5ec8e0,..._0x3e2625(_0xa7189e,_0xb39865,_0x508609),..._0xe5bd7a},(_0x203da1(_0xa7189e,_0xb39865)['children']||[])[_0x5d0656(0x464)]((_0x25f654,_0x56ebac)=>_0x240f6f(_0x25f654,_0x5ec8e0+'-'+_0xa7189e['tag']+'-'+_0x56ebac,_0xb39865,void 0x0,_0x508609)));}function _0x3e2625(_0x4e46f2,_0x396b23,_0x1e610a){const _0x4da0b6=_0x2c832d;let _0x39676d={..._0x4e46f2[_0x4da0b6(0x230)]};_0x1e610a!=null&&_0x1e610a[_0x4da0b6(0x3f4)]&&_0x39676d[_0x4da0b6(0x3be)]==='colorChannel1'&&(_0x39676d[_0x4da0b6(0x3be)]=_0x1e610a[_0x4da0b6(0x3f4)]),_0x4e46f2[_0x4da0b6(0x499)]===_0x4da0b6(0x1bd)&&_0x39676d['id']&&(_0x39676d['id']+=_0x396b23['idSuffix']),Object[_0x4da0b6(0x473)](_0x39676d)[_0x4da0b6(0x341)](([_0x2f6345,_0x5e6200])=>{const _0x3b64aa=_0x4da0b6;_0x2f6345===_0x3b64aa(0x1bd)&&typeof _0x5e6200==_0x3b64aa(0x1ba)&&(_0x39676d[_0x2f6345]=_0x5e6200[_0x3b64aa(0x23e)](/url\(#(.*)\)/,'url(#$1'+_0x396b23['idSuffix']+')'));});let {defIds:_0x5e336a}=_0x396b23;return!_0x5e336a||_0x5e336a['length']===0x0?_0x39676d:(_0x4e46f2['tag']==='use'&&_0x39676d[_0x4da0b6(0x247)]&&(_0x39676d['xlink:href']+=_0x396b23[_0x4da0b6(0x261)]),Object['entries'](_0x39676d)['forEach'](([_0x2f91a7,_0x197521])=>{const _0x49adae=_0x4da0b6;typeof _0x197521==_0x49adae(0x1ba)&&(_0x39676d[_0x2f91a7]=_0x197521[_0x49adae(0x23e)](/url\(#(.*)\)/,_0x49adae(0x28a)+_0x396b23[_0x49adae(0x261)]+')'));}),_0x39676d);}function _0x203da1(_0x2cbb4b,_0x3f03ab){const _0x4eb7c2=_0x2c832d;var _0xa4daed;let {defIds:_0x330fa5}=_0x3f03ab;return!_0x330fa5||_0x330fa5[_0x4eb7c2(0x1e6)]===0x0?_0x2cbb4b:_0x2cbb4b[_0x4eb7c2(0x499)]===_0x4eb7c2(0x2ac)&&(_0xa4daed=_0x2cbb4b[_0x4eb7c2(0x2e6)])!=null&&_0xa4daed[_0x4eb7c2(0x1e6)]?{..._0x2cbb4b,'children':_0x2cbb4b['children']['map'](_0x5d3ff7=>typeof _0x5d3ff7[_0x4eb7c2(0x230)]['id']==_0x4eb7c2(0x1ba)&&_0x330fa5&&_0x330fa5['includes'](_0x5d3ff7[_0x4eb7c2(0x230)]['id'])?{..._0x5d3ff7,'attrs':{..._0x5d3ff7[_0x4eb7c2(0x230)],'id':_0x5d3ff7['attrs']['id']+_0x3f03ab[_0x4eb7c2(0x261)]}}:_0x5d3ff7)}:_0x2cbb4b;}function _0xbf0d7(){const _0xc4a080=_0x2c832d;return Math[_0xc4a080(0x1dd)]()[_0xc4a080(0x263)](0x24)[_0xc4a080(0x25e)](0x2,0x8);}_0xe4b778[_0x2c832d(0x25a)]=_0x2c832d(0x482);let _0x2ccd5e={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x1e0),'width':'1em','height':_0x2c832d(0x311)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x3f2),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8)}}]}]}],'defIds':[_0x2c832d(0x337)]},_0x206c92=(0x0,_0x41dd93[_0x2c832d(0x2fd)])(function(_0x5566b3,_0x48aeb0){const _0xe07734=_0x2c832d;return(0x0,_0x41dd93[_0xe07734(0x310)])(_0xe4b778,Object[_0xe07734(0x32d)]({},_0x5566b3,{'id':'off-line-icon','ref':_0x48aeb0,'icon':_0x2ccd5e}));});_0x206c92[_0x2c832d(0x25a)]=_0x2c832d(0x1b2);let _0x5e8e3d={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x40c),'width':_0x2c832d(0x311),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c832d(0x326)},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x20b),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2c832d(0x2ac),'attrs':{},'children':[{'tag':_0x2c832d(0x277),'attrs':{'id':_0x2c832d(0x3f6)},'children':[{'tag':'path','attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2c832d(0x3f6)]},_0x4ca495=(0x0,_0x41dd93['forwardRef'])(function(_0x12fa26,_0x2eb8ac){const _0x3abf78=_0x2c832d;return(0x0,_0x41dd93[_0x3abf78(0x310)])(_0xe4b778,Object[_0x3abf78(0x32d)]({},_0x12fa26,{'id':_0x3abf78(0x351),'ref':_0x2eb8ac,'icon':_0x5e8e3d}));});_0x4ca495[_0x2c832d(0x25a)]=_0x2c832d(0x1a0);function _0x4e19d0(_0x3a4399){const _0x2d68bb=_0x2c832d;switch(_0x3a4399){case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x289)]:return _0x2d68bb(0x27b);case _0x3839b9['CollaborationStatus'][_0x2d68bb(0x3a6)]:return _0x2d68bb(0x43e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x414)]:return'collabStatus.fetchMiss';case _0x3839b9[_0x2d68bb(0x2b6)]['NOT_COLLAB']:return _0x2d68bb(0x426);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x1c8)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x47b)]:return _0x2d68bb(0x38e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x493)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x42b)]:return'collabStatus.synced';}}function _0x2e5e12(_0x4d5491){const _0x217ba2=_0x2c832d;let {status$:_0x435c9a}=_0x4d5491,_0x17b16f=(0x0,_0x197442['useObservable'])(_0x435c9a,_0x3839b9[_0x217ba2(0x2b6)][_0x217ba2(0x222)]),_0x1a9ada=(0x0,_0x197442['useDependency'])(_0x412392['LocaleService']),_0x2d7f0c=(0x0,_0x197442[_0x217ba2(0x3d9)])(_0x3839b9[_0x217ba2(0x37f)]),_0x2227ba=_0x17b16f!==_0x3839b9['CollaborationStatus']['OFFLINE'],_0x21b371=_0x1a9ada['t'](_0x4e19d0(_0x17b16f)),_0x294cf8=_0x2227ba?(0x0,_0xec8f0c['jsx'])(_0x4ca495,{}):(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x206c92,{}),_0xbc7ce4=(0x0,_0x41dd93[_0x217ba2(0x2fb)])(()=>{const _0x2f18ed=_0x217ba2;_0x2227ba||_0x2d7f0c[_0x2f18ed(0x39c)]();},[_0x2227ba,_0x2d7f0c]);function _0x5cdb4b(){const _0x12bc6c=_0x217ba2;return(0x0,_0xec8f0c[_0x12bc6c(0x39b)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x3f7),'onClick':_0xbc7ce4,'children':[(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':(0x0,_0x39ba33[_0x12bc6c(0x34e)])(_0x12bc6c(0x24f),{'univer-text-green-500':_0x2227ba,'univer-text-red-500':!_0x2227ba}),'children':_0x294cf8}),(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x30b),'children':_0x21b371})]});}return _0x2227ba?_0x5cdb4b():(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x39ba33[_0x217ba2(0x451)],{'title':_0x1a9ada['t'](_0x217ba2(0x3b3)),'children':_0x5cdb4b()});}function _0x38acbe(_0x3c162a){'@babel/helpers - typeof';const _0x2dd107=_0x2c832d;return _0x38acbe=typeof Symbol==_0x2dd107(0x441)&&typeof Symbol[_0x2dd107(0x347)]==_0x2dd107(0x26d)?function(_0x1d3f67){return typeof _0x1d3f67;}:function(_0x2c35e4){const _0x2d429d=_0x2dd107;return _0x2c35e4&&typeof Symbol==_0x2d429d(0x441)&&_0x2c35e4[_0x2d429d(0x249)]===Symbol&&_0x2c35e4!==Symbol[_0x2d429d(0x278)]?_0x2d429d(0x26d):typeof _0x2c35e4;},_0x38acbe(_0x3c162a);}function _0x5dc897(_0x28a693,_0x252bd4){const _0x28c637=_0x2c832d;if(_0x38acbe(_0x28a693)!='object'||!_0x28a693)return _0x28a693;var _0x237dee=_0x28a693[Symbol[_0x28c637(0x3a7)]];if(_0x237dee!==void 0x0){var _0x2fd15a=_0x237dee[_0x28c637(0x3a9)](_0x28a693,_0x252bd4||_0x28c637(0x2c8));if(_0x38acbe(_0x2fd15a)!=_0x28c637(0x207))return _0x2fd15a;throw TypeError(_0x28c637(0x254));}return(_0x252bd4===_0x28c637(0x1ba)?String:Number)(_0x28a693);}function _0x4e7b89(_0x3cbe0b){const _0x4377b2=_0x2c832d;var _0xf5954f=_0x5dc897(_0x3cbe0b,_0x4377b2(0x1ba));return _0x38acbe(_0xf5954f)==_0x4377b2(0x26d)?_0xf5954f:_0xf5954f+'';}function _0x4a0977(_0x223235,_0x41c30d,_0x15f8e5){return(_0x41c30d=_0x4e7b89(_0x41c30d))in _0x223235?Object['defineProperty'](_0x223235,_0x41c30d,{'value':_0x15f8e5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x223235[_0x41c30d]=_0x15f8e5,_0x223235;}function _0x144f1b(_0x47e639,_0x31249a){return function(_0x433476,_0x42875c){_0x31249a(_0x433476,_0x42875c,_0x47e639);};}function _0x568561(_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86){const _0x91ac43=_0x2c832d;var _0x40424d=arguments[_0x91ac43(0x1e6)],_0x438277=_0x40424d<0x3?_0x1dad74:_0x295d86===null?_0x295d86=Object[_0x91ac43(0x320)](_0x1dad74,_0x5b14e8):_0x295d86,_0x92b869;if(typeof Reflect==_0x91ac43(0x207)&&typeof Reflect[_0x91ac43(0x1bb)]=='function')_0x438277=Reflect[_0x91ac43(0x1bb)](_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86);else{for(var _0xc8e714=_0x2642f6[_0x91ac43(0x1e6)]-0x1;_0xc8e714>=0x0;_0xc8e714--)(_0x92b869=_0x2642f6[_0xc8e714])&&(_0x438277=(_0x40424d<0x3?_0x92b869(_0x438277):_0x40424d>0x3?_0x92b869(_0x1dad74,_0x5b14e8,_0x438277):_0x92b869(_0x1dad74,_0x5b14e8))||_0x438277);}return _0x40424d>0x3&&_0x438277&&Object[_0x91ac43(0x361)](_0x1dad74,_0x5b14e8,_0x438277),_0x438277;}let _0x51fe36=class extends _0x412392['Disposable']{constructor(_0x5cadb5,_0x2b7ce9,_0x4d8385,_0x2d6edb){const _0x14b7d7=_0x2c832d;super(),this[_0x14b7d7(0x206)]=_0x5cadb5,this[_0x14b7d7(0x3b8)]=_0x2b7ce9,this[_0x14b7d7(0x389)]=_0x4d8385,this['_uiPartsService']=_0x2d6edb,_0x4a0977(this,_0x14b7d7(0x471),new _0x1af95b[(_0x14b7d7(0x3d7))](_0x3839b9[_0x14b7d7(0x2b6)][_0x14b7d7(0x222)])),this[_0x14b7d7(0x1df)](),this[_0x14b7d7(0x390)]();}[_0x2c832d(0x390)](){const _0x425ce4=_0x2c832d;this['disposeWithMe'](this[_0x425ce4(0x206)][_0x425ce4(0x1f5)][_0x425ce4(0x1ed)]((0x0,_0x1af95b['switchMap'])(()=>{const _0x58e5c8=_0x425ce4;let _0x5cd474=this['_univerInstanceService'][_0x58e5c8(0x4a0)]();return _0x5cd474?this[_0x58e5c8(0x389)]['getCollabEntity$'](_0x5cd474[_0x58e5c8(0x418)]()):(0x0,_0x1af95b['of'])(null);}),(0x0,_0x1af95b[_0x425ce4(0x2e1)])(_0x43394d=>_0x43394d?_0x43394d[_0x425ce4(0x34f)]:(0x0,_0x1af95b['of'])(_0x3839b9[_0x425ce4(0x2b6)][_0x425ce4(0x222)])))[_0x425ce4(0x2ef)](_0x26901f=>{const _0x98ac4=_0x425ce4;this[_0x98ac4(0x471)][_0x98ac4(0x34a)](_0x26901f);}));}[_0x2c832d(0x1df)](){const _0x1c757f=_0x2c832d;this[_0x1c757f(0x319)](this[_0x1c757f(0x4a5)][_0x1c757f(0x495)](_0x197442['BuiltInUIPart'][_0x1c757f(0x386)],()=>(0x0,_0x197442[_0x1c757f(0x30d)])(_0x409b3f({'status$':this['_status$'][_0x1c757f(0x280)]()}),this['_injector'])));}};_0x51fe36=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9['CollaborationController'])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x1bf)])],_0x51fe36);function _0x409b3f(_0x42363e){let {status$:_0x5d12f3}=_0x42363e;return function(){const _0x57423d=_0xff8c;return(0x0,_0xec8f0c[_0x57423d(0x1db)])(_0x2e5e12,{'status$':_0x5d12f3});};}let _0x8c589b=(0x0,_0x412392[_0x2c832d(0x35d)])(_0x2c832d(0x3c0)),_0x2109df=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x3f4370,_0x452d40,_0x5c861a,_0x1e7bfd,_0x1ca64b){const _0xc97d17=_0x2c832d;super(),this[_0xc97d17(0x423)]=_0x3f4370,this[_0xc97d17(0x436)]=_0x452d40,this[_0xc97d17(0x3b6)]=_0x5c861a,this['_dataLoaderService']=_0x1e7bfd,_0x1ca64b?_0x1ca64b==null||_0x1ca64b[_0xc97d17(0x2c3)]()['then'](()=>this['_init']()):(this[_0xc97d17(0x436)][_0xc97d17(0x456)]('[CollaborationDataLoaderController]',_0xc97d17(0x2ea)),this[_0xc97d17(0x21c)]());}async[_0x2c832d(0x21c)](){const _0x564ec6=_0x2c832d;let _0x4734ad=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x36c)),_0x3c5773=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x199)),_0x5da80f=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x417));if(!_0x4734ad||!_0x3c5773){this[_0x564ec6(0x436)][_0x564ec6(0x456)](_0x564ec6(0x2bd),_0x564ec6(0x240));return;}let _0x1dcb4e=await this['_dataLoaderService'][_0x564ec6(0x2ce)](_0x4734ad,Number(_0x3c5773),_0x5da80f);_0x1dcb4e&&_0x1dcb4e instanceof _0x412392[_0x564ec6(0x3c6)]&&this[_0x564ec6(0x33e)](_0x1dcb4e);}async['_setupSubUnitSync'](_0x563676){const _0x2d4bd1=_0x2c832d;await this[_0x2d4bd1(0x276)](_0x563676),_0x563676[_0x2d4bd1(0x1a9)][_0x2d4bd1(0x1ed)]((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](_0x3cb0f5=>{_0x3cb0f5&&this['_updateURLWithCurrentState'](_0x3cb0f5);}),this[_0x2d4bd1(0x423)][_0x2d4bd1(0x1e7)]['pipe']((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](()=>this[_0x2d4bd1(0x276)](_0x563676));}[_0x2c832d(0x437)](_0xf3c661,_0x2eb34a=!0x1){const _0x645c9c=_0x2c832d;let _0x2c00a7=this[_0x645c9c(0x423)]['getParam'](_0x645c9c(0x417));_0xf3c661[_0x645c9c(0x38d)]()!==_0x2c00a7&&this[_0x645c9c(0x423)][_0x645c9c(0x1a6)](_0x645c9c(0x417),_0xf3c661[_0x645c9c(0x38d)](),_0x2eb34a);}async['_updateSubUnitFromURLParams'](_0x5a1f3d){const _0x4d5bfc=_0x2c832d;var _0x15cc2c;let _0x3b87e9=this[_0x4d5bfc(0x423)][_0x4d5bfc(0x25f)](_0x4d5bfc(0x417));if(!_0x3b87e9||!_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x3b87e9)){let _0x24f313=_0x5a1f3d[_0x4d5bfc(0x224)]()[0x0],_0x27270d=_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x24f313);if(!_0x27270d)return;this[_0x4d5bfc(0x437)](_0x27270d,!0x0),await this['_commandService']['executeCommand'](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x24f313});return;}((_0x15cc2c=_0x5a1f3d[_0x4d5bfc(0x48f)]())==null?void 0x0:_0x15cc2c[_0x4d5bfc(0x38d)]())!==_0x3b87e9&&await this[_0x4d5bfc(0x3b6)][_0x4d5bfc(0x2d6)](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x3b87e9});}};_0x2109df=_0x568561([_0x144f1b(0x0,_0x8c589b),_0x144f1b(0x1,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x360)])),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x20d)])(_0x3d3cc4['IRemoteInstanceService']))],_0x2109df);var _0x29c032='@univerjs-pro/collaboration-client-ui',_0x35beee=_0x2c832d(0x257);let _0x3d1d63=class extends _0x412392['RxDisposable']{constructor(_0x564d80,_0x44621c){const _0x2ab993=_0x2c832d;super(),this[_0x2ab993(0x318)]=_0x564d80,this['_imageIoService']=_0x44621c,this[_0x2ab993(0x21c)]();}['_init'](){const _0x3f8733=_0x2c832d;let _0x31866e=this;this[_0x3f8733(0x319)](this[_0x3f8733(0x318)][_0x3f8733(0x412)]({'onBeforePasteImage':async _0x337244=>{const _0x2baae9=_0x3f8733;let _0x1635d2=await _0x31866e[_0x2baae9(0x3cb)][_0x2baae9(0x205)](_0x337244);return _0x1635d2?{'source':_0x1635d2[_0x2baae9(0x497)],'imageSourceType':_0x1635d2[_0x2baae9(0x287)]}:null;}}));}};_0x3d1d63=_0x568561([_0x144f1b(0x0,_0x493739[_0x2c832d(0x4a2)]),_0x144f1b(0x1,_0x556f51[_0x2c832d(0x1da)])],_0x3d1d63);let _0x2df781=['purple.300','jiqing.500',_0x2c832d(0x267),_0x2c832d(0x2f6),_0x2c832d(0x3db),_0x2c832d(0x489)];var _0x4ad64a=class extends _0x412392[_0x2c832d(0x29e)]{constructor(..._0x5e1730){const _0x2461c7=_0x2c832d;super(..._0x5e1730),_0x4a0977(this,'_assignedColors',new Map()),_0x4a0977(this,_0x2461c7(0x2dd),0x0);}['assignAColorForMemberID'](_0x3a8544){const _0x5dd90f=_0x2c832d;if(this[_0x5dd90f(0x331)][_0x5dd90f(0x27c)](_0x3a8544))return this[_0x5dd90f(0x331)][_0x5dd90f(0x24d)](_0x3a8544);let _0x158f71=_0x2df781[this[_0x5dd90f(0x2dd)]];return this[_0x5dd90f(0x2dd)]=(this[_0x5dd90f(0x2dd)]+0x1)%_0x2df781[_0x5dd90f(0x1e6)],this[_0x5dd90f(0x331)]['set'](_0x3a8544,_0x158f71),_0x158f71;}},_0x573e6b=function(_0x36341c){const _0x10ac47=_0x2c832d;return _0x36341c['Active']='1',_0x36341c[_0x10ac47(0x21a)]='0',_0x36341c;}(_0x573e6b||{});function _0x17be86(_0x54ca13){const _0x1cc3c7=_0x2c832d;let _0x120dd5='';for(let _0x3713aa of _0x54ca13){let {startOffset:_0x2a3046,endOffset:_0x1cc35c,isActive:_0x3727c6,rangeType:_0x40550c,segmentId:_0x4c18d1,segmentPage:_0x3bb238}=_0x3713aa;_0x120dd5[_0x1cc3c7(0x1e6)]&&(_0x120dd5+=','),_0x120dd5+=_0x2a3046+':'+_0x1cc35c+':'+(_0x3727c6?_0x573e6b['Active']:_0x573e6b[_0x1cc3c7(0x21a)])+':'+_0x40550c+':'+_0x4c18d1+':'+_0x3bb238;}return _0x120dd5;}function _0xe8c5f2(_0xd6e311){const _0x11d47d=_0x2c832d;let _0xb0b110=_0xd6e311['split'](','),_0x4f4751=[];for(let _0x302e55 of _0xb0b110){let [_0x9f4661,_0x1e9e3d,_0x2dd8a9,_0x2a63c4,_0x5cc43c,_0x3e4071]=_0x302e55[_0x11d47d(0x49f)](':');_0x4f4751[_0x11d47d(0x1ee)]({'startOffset':Number(_0x9f4661),'endOffset':Number(_0x1e9e3d),'collapsed':_0x9f4661===_0x1e9e3d,'isActive':_0x2dd8a9===_0x573e6b[_0x11d47d(0x293)],'rangeType':_0x2a63c4===_0x412392['DOC_RANGE_TYPE'][_0x11d47d(0x246)]?_0x412392[_0x11d47d(0x398)][_0x11d47d(0x246)]:_0x412392[_0x11d47d(0x398)]['RECT'],'segmentId':typeof _0x5cc43c==_0x11d47d(0x1ba)?String(_0x5cc43c):'','segmentPage':Number(_0x3e4071==null?-0x1:_0x3e4071)});}return _0x4f4751['some'](_0x461781=>_0x461781['isActive'])||(_0x4f4751[0x0]['isActive']=!0x0),_0x4f4751;}var _0x1fb69b=class extends _0x412392[_0x2c832d(0x2df)]{constructor(..._0x186721){const _0xce53eb=_0x2c832d;super(..._0x186721),_0x4a0977(this,_0xce53eb(0x248),new _0x1af95b[(_0xce53eb(0x3d7))](null)),_0x4a0977(this,_0xce53eb(0x21b),this[_0xce53eb(0x248)]['asObservable']());}[_0x2c832d(0x3b0)](_0x2b6740){const _0x5886d2=_0x2c832d;let {unitID:_0x214141,memberID:_0x5c2e1e,textRanges:_0x454c1b}=_0x2b6740,_0x34392a=_0x17be86(_0x454c1b);if(_0x34392a==='')return;let _0x4c0be6={'unitID':_0x214141,'memberID':_0x5c2e1e,'selection':_0x34392a};this[_0x5886d2(0x248)][_0x5886d2(0x34a)](_0x4c0be6);}};let _0x56c11f=class extends _0x412392['RxDisposable']{get['cursorInfo'](){const _0x295d3f=_0x2c832d;return this[_0x295d3f(0x355)]['getValue']();}get[_0x2c832d(0x3ad)](){const _0x584ee3=_0x2c832d;return this['_roomMembers$'][_0x584ee3(0x42c)]();}constructor(_0x3d61cf,_0x3477ed,_0x1f2441,_0x4b4efb,_0x8ba546,_0x37db4d,_0xc2421c,_0x1ebfc8,_0x3c233b){const _0xba8cce=_0x2c832d;super(),this[_0xba8cce(0x3a5)]=_0x3d61cf,this[_0xba8cce(0x479)]=_0x3477ed,this[_0xba8cce(0x3b8)]=_0x1f2441,this[_0xba8cce(0x2c2)]=_0x4b4efb,this['_memberService']=_0x8ba546,this[_0xba8cce(0x22a)]=_0x37db4d,this[_0xba8cce(0x32c)]=_0xc2421c,this[_0xba8cce(0x206)]=_0x1ebfc8,this['_commandService']=_0x3c233b,_0x4a0977(this,_0xba8cce(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,'_cursorInfo$',new _0x1af95b[(_0xba8cce(0x3d7))](new Map())),_0x4a0977(this,_0xba8cce(0x1e3),this[_0xba8cce(0x355)]['asObservable']()),_0x4a0977(this,_0xba8cce(0x472),new _0x1af95b[(_0xba8cce(0x3d7))]([])),_0x4a0977(this,'roomMembers$',this[_0xba8cce(0x472)]['pipe']((0x0,_0x1af95b[_0xba8cce(0x3e2)])(0x12c))),_0x4a0977(this,_0xba8cce(0x3cc),(0x0,_0x412392[_0xba8cce(0x46e)])(_0x169118=>{const _0x24878a=_0xba8cce;let _0x12deb6={'eventID':_0x584220['CollaborationEvent'][_0x24878a(0x1a8)],'data':{'unitID':this[_0x24878a(0x3a5)],'memberID':this['_session']['getMemberID'](),'selection':_0x17be86(_0x169118)}};this[_0x24878a(0x479)]['send'](_0x12deb6,this[_0x24878a(0x3a5)]);},0x64));}['dispose'](){const _0x40789e=_0x2c832d;super[_0x40789e(0x43c)](),this[_0x40789e(0x355)][_0x40789e(0x34a)](new Map()),this['_cursorInfo$'][_0x40789e(0x46c)](),this[_0x40789e(0x472)]['next']([]),this['_roomMembers$'][_0x40789e(0x46c)]();}[_0x2c832d(0x305)](){const _0x5aa727=_0x2c832d;this['_init']||(this['_init']=!0x0,this['_session'][_0x5aa727(0x356)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))['subscribe'](_0x10a04f=>{const _0xf3dd51=_0x5aa727;_0x10a04f===_0x3839b9[_0xf3dd51(0x1f7)][_0xf3dd51(0x2a6)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5aa727(0x479)][_0x5aa727(0x1b0)][_0x5aa727(0x1ed)]((0x0,_0x1af95b['takeUntil'])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x10c243=>{const _0x1a00d8=_0x5aa727;let _0x207d0b=_0x10c243[_0x1a00d8(0x40b)];_0x207d0b===_0x584220['CollaborationEvent'][_0x1a00d8(0x1a8)]&&this[_0x1a00d8(0x2f4)](_0x10c243),_0x207d0b===_0x584220[_0x1a00d8(0x410)][_0x1a00d8(0x384)]&&this[_0x1a00d8(0x2af)](_0x10c243);}),this['disposeWithMe'](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x3a7e8a=>{const _0x1e422c=_0x5aa727;let _0x68397a=_0x3a7e8a[_0x1e422c(0x29c)];_0x68397a!=null&&this[_0x1e422c(0x202)]&&_0x3a7e8a['id']===_0x5bad8c[_0x1e422c(0x367)]['id']&&_0x68397a[_0x1e422c(0x366)]===this['unitID']&&_0x68397a[_0x1e422c(0x2da)]===!0x1&&_0x68397a[_0x1e422c(0x239)][_0x1e422c(0x1e6)]>0x0&&this[_0x1e422c(0x3cc)](_0x68397a[_0x1e422c(0x239)]);})),this[_0x5aa727(0x22a)][_0x5aa727(0x21b)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x63c5da=>{const _0x3cdcd0=_0x5aa727;if((_0x63c5da==null?void 0x0:_0x63c5da[_0x3cdcd0(0x3a5)])!==this[_0x3cdcd0(0x3a5)])return;let _0x4b5661={'eventID':_0x584220[_0x3cdcd0(0x410)]['UPDATE_CURSOR'],'data':_0x63c5da};this[_0x3cdcd0(0x2f4)](_0x4b5661);}),this[_0x5aa727(0x319)](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x312ea1=>{const _0x2c5133=_0x5aa727;if(_0x312ea1[_0x2c5133(0x29c)]==null)return;let _0x2b7a14=_0x312ea1[_0x2c5133(0x29c)];if(_0x312ea1['id']!==_0x5bad8c[_0x2c5133(0x3ac)]['id']||_0x2b7a14[_0x2c5133(0x366)]!==this[_0x2c5133(0x3a5)])return;let _0x3d7194={'id':'doc.mutation.rich-text-editing','params':_0x2b7a14},_0x4f3fd2=this[_0x2c5133(0x37e)];for(let [_0x4b8328,_0x39b019]of _0x4f3fd2){let _0x2fdec6={'id':_0x2c5133(0x44a),'params':{'unitId':this[_0x2c5133(0x3a5)],'actions':null,'textRanges':_0x39b019['ranges']}},_0x4b3dc3=this[_0x2c5133(0x32c)][_0x2c5133(0x48b)](_0x3d7194,_0x2fdec6,!0x1);if((0x0,_0x584220[_0x2c5133(0x270)])(_0x4b3dc3))throw _0x4b3dc3[_0x2c5133(0x286)];_0x4f3fd2[_0x2c5133(0x2c9)](_0x4b8328,{..._0x39b019,'ranges':_0x4b3dc3[_0x2c5133(0x39a)]['params']['textRanges']});}queueMicrotask(()=>{const _0x391745=_0x2c5133;this[_0x391745(0x355)][_0x391745(0x34a)](_0x4f3fd2);});})));}[_0x2c832d(0x2f4)](_0x984952){const _0x4772af=_0x2c832d;var _0x30341d,_0x18685d;let {memberID:_0x37f48c,selection:_0x56d379}=_0x984952[_0x4772af(0x496)],_0x261701=_0xe8c5f2(_0x56d379),_0x4ea620=(_0x30341d=(_0x18685d=this[_0x4772af(0x454)][_0x4772af(0x38f)](this['unitID'],_0x37f48c))==null?void 0x0:_0x18685d[_0x4772af(0x2b7)])==null?'Unknown\x20user':_0x30341d,_0xde7537={'color':this['_colorAssignService'][_0x4772af(0x300)](_0x37f48c),'name':_0x4ea620,'ranges':_0x261701},_0x55b222=this[_0x4772af(0x37e)];_0x55b222[_0x4772af(0x2c9)](_0x37f48c,_0xde7537),this[_0x4772af(0x355)][_0x4772af(0x34a)](_0x55b222);}[_0x2c832d(0x2af)](_0x71b779){const _0x2883ad=_0x2c832d;let {memberID:_0x61bf49}=_0x71b779[_0x2883ad(0x496)],_0x5a480b=this[_0x2883ad(0x37e)];_0x5a480b[_0x2883ad(0x44c)](_0x61bf49),this[_0x2883ad(0x355)][_0x2883ad(0x34a)](_0x5a480b);}[_0x2c832d(0x1d5)](){const _0x5ba697=_0x2c832d;var _0x21b3b6;if(this[_0x5ba697(0x202)]=!0x0,((_0x21b3b6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x21b3b6[_0x5ba697(0x418)]())!==this[_0x5ba697(0x3a5)])return;let _0x43cda8=this['_injector'][_0x5ba697(0x24d)](_0x5bad8c[_0x5ba697(0x2ec)])[_0x5ba697(0x3d0)]();Array['isArray'](_0x43cda8)&&_0x43cda8['length']>0x0&&this['_updateLocalCursor'](_0x43cda8);}[_0x2c832d(0x24a)](){const _0x1fcc7e=_0x2c832d;this[_0x1fcc7e(0x202)]=!0x1;}};_0x56c11f=_0x568561([_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,(0x0,_0x412392['Inject'])(_0x1fb69b)),_0x144f1b(0x6,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x7,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x8,_0x412392[_0x2c832d(0x335)])],_0x56c11f);let _0x145f34=()=>{let _0x33afdd=[],_0x4472d1=!0x1;return _0x454827=>{const _0x5600d8=_0xff8c;_0x33afdd[_0x5600d8(0x1ee)](_0x454827),_0x4472d1||(_0x4472d1=!0x0,setTimeout(()=>{const _0x1115f7=_0x5600d8;_0x33afdd[_0x1115f7(0x341)](_0x15e179=>_0x15e179()),_0x33afdd=[],_0x4472d1=!0x1;}));};},_0x66be99=class extends _0x412392[_0x2c832d(0x2df)]{get['cursorInfo'](){const _0xe2f175=_0x2c832d;return this['_cursorInfo$'][_0xe2f175(0x42c)]();}get['roomMembers'](){const _0x40db0a=_0x2c832d;return this[_0x40db0a(0x472)]['getValue']();}constructor(_0x5d908d,_0x189fdd,_0xd94cf1,_0x7d1824,_0xbd01f5,_0x11bcf8,_0x2fa631,_0x312344){const _0x4f3db0=_0x2c832d;super(),this[_0x4f3db0(0x3a5)]=_0x5d908d,this['_session']=_0x189fdd,this['_injector']=_0xd94cf1,this[_0x4f3db0(0x2c2)]=_0x7d1824,this['_memberService']=_0xbd01f5,this['_univerInstanceService']=_0x11bcf8,this[_0x4f3db0(0x3b6)]=_0x2fa631,this[_0x4f3db0(0x33b)]=_0x312344,_0x4a0977(this,_0x4f3db0(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,_0x4f3db0(0x355),new _0x1af95b[(_0x4f3db0(0x3d7))](new Map())),_0x4a0977(this,_0x4f3db0(0x1e3),this[_0x4f3db0(0x355)][_0x4f3db0(0x280)]()),_0x4a0977(this,_0x4f3db0(0x472),new _0x1af95b[(_0x4f3db0(0x3d7))]([])),_0x4a0977(this,_0x4f3db0(0x265),this[_0x4f3db0(0x472)][_0x4f3db0(0x1ed)]((0x0,_0x1af95b[_0x4f3db0(0x3e2)])(0x12c))),_0x4a0977(this,_0x4f3db0(0x3cc),(0x0,_0x412392['debounce'])((_0x38f0ff,_0x3dfba0)=>{const _0x2c9d84=_0x4f3db0;let _0x24a1c0={'eventID':_0x584220[_0x2c9d84(0x410)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c9d84(0x3a5)],'memberID':this[_0x2c9d84(0x479)]['getMemberID'](),'selection':(0x0,_0x3eef3a['serializeRangeWithSheet'])(_0x38f0ff,_0x3dfba0[_0x2c9d84(0x25c)])}};this[_0x2c9d84(0x479)][_0x2c9d84(0x3e8)](_0x24a1c0,this[_0x2c9d84(0x3a5)]);},0x64));}[_0x2c832d(0x43c)](){const _0x15a4b4=_0x2c832d;super[_0x15a4b4(0x43c)](),this[_0x15a4b4(0x355)][_0x15a4b4(0x34a)](new Map()),this['_cursorInfo$']['complete'](),this[_0x15a4b4(0x472)][_0x15a4b4(0x34a)]([]),this['_roomMembers$'][_0x15a4b4(0x46c)]();}[_0x2c832d(0x305)](){const _0x2b9a69=_0x2c832d;this[_0x2b9a69(0x21c)]||(this[_0x2b9a69(0x21c)]=!0x0,this[_0x2b9a69(0x479)][_0x2b9a69(0x356)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0x350f2c=>{const _0x4311f6=_0x2b9a69;_0x350f2c===_0x3839b9[_0x4311f6(0x1f7)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2b9a69(0x1b0)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0xde394a=>{const _0xb8472a=_0x2b9a69;let _0x5bcbc3=_0xde394a[_0xb8472a(0x40b)];_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['UPDATE_CURSOR']&&this[_0xb8472a(0x2f4)](_0xde394a),_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['USERS_LEAVE']&&this[_0xb8472a(0x2af)](_0xde394a);}),this[_0x2b9a69(0x49c)](),this['disposeWithMe'](this[_0x2b9a69(0x3b6)]['onCommandExecuted'](_0x1989e0=>{const _0x4f84ee=_0x2b9a69;if(this[_0x4f84ee(0x202)]&&_0x1989e0['id']===_0x36e5e1[_0x4f84ee(0x446)]['id']&&_0x1989e0[_0x4f84ee(0x29c)][_0x4f84ee(0x366)]===this['unitID']){let _0x36b1e5=_0x1989e0[_0x4f84ee(0x29c)];this[_0x4f84ee(0x3cc)](_0x36b1e5[_0x4f84ee(0x29f)],_0x36b1e5[_0x4f84ee(0x26e)][0x0]);}})));}[_0x2c832d(0x2f4)](_0x484688){const _0x4c9af=_0x2c832d;var _0x3a8dfb,_0x219863;let {memberID:_0x335525,selection:_0x4c04a4}=_0x484688['data'],{sheetName:_0x16385b,range:_0x45aa0a}=(0x0,_0x3eef3a[_0x4c9af(0x433)])(_0x4c04a4),_0x1126b1={'name':(_0x3a8dfb=(_0x219863=this[_0x4c9af(0x454)]['getMember'](this[_0x4c9af(0x3a5)],_0x335525))==null?void 0x0:_0x219863[_0x4c9af(0x2b7)])==null?_0x4c9af(0x3a3):_0x3a8dfb,'range':this['_getMergeRange'](_0x16385b,_0x45aa0a),'sheetID':_0x16385b,'color':this[_0x4c9af(0x2c2)][_0x4c9af(0x300)](_0x335525),'selection':_0x4c04a4},_0xad093a=this[_0x4c9af(0x37e)];_0xad093a['set'](_0x335525,_0x1126b1),this[_0x4c9af(0x355)][_0x4c9af(0x34a)](_0xad093a);}[_0x2c832d(0x2af)](_0x34dcb8){const _0x95f9f8=_0x2c832d;let {memberID:_0x15cf2f}=_0x34dcb8[_0x95f9f8(0x496)],_0x90fabb=this['cursorInfo'];_0x90fabb[_0x95f9f8(0x44c)](_0x15cf2f),this[_0x95f9f8(0x355)][_0x95f9f8(0x34a)](_0x90fabb);}[_0x2c832d(0x259)](_0x42ee86,_0x3966c8){const _0x34799b=_0x2c832d;var _0x518c0d;let _0x9fe70c=(_0x518c0d=this[_0x34799b(0x206)][_0x34799b(0x252)](this[_0x34799b(0x3a5)]))==null||(_0x518c0d=_0x518c0d[_0x34799b(0x2a9)](_0x42ee86))==null?void 0x0:_0x518c0d[_0x34799b(0x3fa)]();return(_0x9fe70c==null?void 0x0:_0x9fe70c[_0x34799b(0x215)](_0x126c45=>_0x412392[_0x34799b(0x392)]['contains'](_0x126c45,_0x3966c8)))||_0x3966c8;}['_onRefRangeChange'](){const _0x40ef54=_0x2c832d;let _0x3f9201=new _0x412392[(_0x40ef54(0x236))](),_0x5bec7f=_0x145f34(),_0x3e6881=()=>{const _0x4d67d5=_0x40ef54;_0x3f9201[_0x4d67d5(0x43c)]();let _0x4465c1=(_0x14b258,_0x7c09dd,_0x36555a,_0x178861)=>{const _0xb7e809=_0x4d67d5;let _0x1d9022=[];switch(_0x14b258['id']){case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x39e)]:_0x1d9022=(0x0,_0x36e5e1['handleDeleteRangeMoveLeft'])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)]['DeleteRangeMoveUpCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x2d4)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x2d0)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x316)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x3dd)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x235)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3ba)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x242)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x223)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x1fe)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId']['MoveRangeCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x36d)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x47f)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x3e4)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3d1)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x444)])(_0x14b258,_0x178861);break;}let _0x522c7d=(0x0,_0x36e5e1['runRefRangeMutations'])(_0x1d9022,_0x178861),_0x27be13=this[_0xb7e809(0x37e)][_0xb7e809(0x24d)](_0x7c09dd);if(_0x27be13&&_0x522c7d){let _0x4f62fc={..._0x27be13,'range':_0x522c7d};this[_0xb7e809(0x37e)][_0xb7e809(0x2c9)](_0x7c09dd,_0x4f62fc),_0x5bec7f(()=>{const _0x17ec8d=_0xb7e809;let _0x264ed3=this[_0x17ec8d(0x33b)][_0x17ec8d(0x396)](_0x522c7d,_0x43cdd8=>(_0x264ed3[_0x17ec8d(0x43c)](),_0x4465c1(_0x43cdd8,_0x7c09dd,_0x36555a,_0x522c7d)));_0x3f9201[_0x17ec8d(0x36a)](_0x264ed3);});}return{'redos':[],'undos':[]};};this[_0x4d67d5(0x37e)][_0x4d67d5(0x341)]((_0x3e43ea,_0x7d8252)=>{const _0x3dc77a=_0x4d67d5;let {range:_0x326f18,sheetID:_0x532950}=_0x3e43ea,_0x461c4=this['_refRangeService'][_0x3dc77a(0x396)](_0x326f18,_0x352910=>(_0x461c4[_0x3dc77a(0x43c)](),_0x4465c1(_0x352910,_0x7d8252,_0x532950,_0x326f18)));_0x3f9201[_0x3dc77a(0x36a)](_0x461c4);});};this[_0x40ef54(0x319)]((0x0,_0x412392[_0x40ef54(0x1fa)])(this[_0x40ef54(0x355)][_0x40ef54(0x2ef)](()=>{_0x3e6881();})));}[_0x2c832d(0x1d5)](){const _0x225d6a=_0x2c832d;var _0x47eed0,_0x25caa5;if(this[_0x225d6a(0x202)]=!0x0,((_0x47eed0=this[_0x225d6a(0x206)]['getFocusedUnit']())==null?void 0x0:_0x47eed0['getUnitId']())!==this[_0x225d6a(0x3a5)])return;let _0x2ae040=(_0x25caa5=this[_0x225d6a(0x3b8)][_0x225d6a(0x24d)](_0x36e5e1['SheetsSelectionsService'])[_0x225d6a(0x1ab)]())==null?void 0x0:_0x25caa5[0x0],_0x16ec7a=this[_0x225d6a(0x206)][_0x225d6a(0x306)](_0x412392[_0x225d6a(0x32f)]['UNIVER_SHEET'])[_0x225d6a(0x48f)]();_0x2ae040&&_0x16ec7a&&this[_0x225d6a(0x3cc)](_0x16ec7a['getSheetId'](),_0x2ae040);}[_0x2c832d(0x24a)](){const _0x274a8a=_0x2c832d;this[_0x274a8a(0x202)]=!0x1;}};_0x66be99=_0x568561([_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x6,_0x412392['ICommandService']),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x36e5e1[_0x2c832d(0x2cb)]))],_0x66be99);let _0x270b73=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x56e6b4,_0x4b3324,_0x4fe39e){const _0x10af7a=_0x2c832d;super(),this['_univerInstanceService']=_0x56e6b4,this[_0x10af7a(0x3b8)]=_0x4b3324,this['_collabSessionService']=_0x4fe39e,_0x4a0977(this,_0x10af7a(0x36e),new Map()),_0x4a0977(this,_0x10af7a(0x40f),new _0x1af95b[(_0x10af7a(0x350))]()),this[_0x10af7a(0x21c)]();}[_0x2c832d(0x43c)](){const _0x153945=_0x2c832d;super['dispose'](),this[_0x153945(0x40f)][_0x153945(0x46c)](),this[_0x153945(0x36e)][_0x153945(0x341)](_0x4e208d=>_0x4e208d[_0x153945(0x43c)]());}[_0x2c832d(0x38c)](_0x3120f2){const _0x336074=_0x2c832d;return this[_0x336074(0x36e)][_0x336074(0x27c)](_0x3120f2)?this[_0x336074(0x36e)][_0x336074(0x24d)](_0x3120f2)['cursorInfo$']:this['_entityInit$']['pipe']((0x0,_0x1af95b[_0x336074(0x2cf)])(_0x14ece3=>_0x14ece3[_0x336074(0x3a5)]===_0x3120f2),(0x0,_0x1af95b['switchMap'])(_0x1d77fc=>_0x1d77fc[_0x336074(0x1e3)]));}[_0x2c832d(0x21c)](){const _0x173dc3=_0x2c832d;this[_0x173dc3(0x206)]['getTypeOfUnitAdded$'](_0x412392['UniverInstanceType']['UNIVER_SHEET'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))['subscribe'](async _0x125b8a=>{const _0x484719=_0x173dc3;let _0x243971=_0x125b8a[_0x484719(0x418)](),_0xf46322=await this[_0x484719(0x292)](_0x243971);this[_0x484719(0x40f)]['next'](_0xf46322),this[_0x484719(0x36e)][_0x484719(0x2c9)](_0x243971,_0xf46322);}),this[_0x173dc3(0x206)][_0x173dc3(0x443)](_0x412392[_0x173dc3(0x32f)]['UNIVER_DOC'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b['filter'])(_0x55ad62=>!_0x55ad62[_0x173dc3(0x418)]()[_0x173dc3(0x1c6)]('__')))[_0x173dc3(0x2ef)](async _0x492b7b=>{const _0x3ef25a=_0x173dc3;let _0x43d975=_0x492b7b['getUnitId'](),_0x31f141=await this[_0x3ef25a(0x245)](_0x43d975);this[_0x3ef25a(0x40f)][_0x3ef25a(0x34a)](_0x31f141),this[_0x3ef25a(0x36e)][_0x3ef25a(0x2c9)](_0x43d975,_0x31f141);}),(0x0,_0x1af95b[_0x173dc3(0x203)])(this[_0x173dc3(0x206)][_0x173dc3(0x317)](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x1a2)]),this[_0x173dc3(0x206)]['getTypeOfUnitDisposed$'](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x348)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x2ef)](_0x5ccf34=>{const _0x5ef6b0=_0x173dc3;let _0x4ffa5b=_0x5ccf34[_0x5ef6b0(0x418)](),_0x57242f=this[_0x5ef6b0(0x36e)][_0x5ef6b0(0x24d)](_0x4ffa5b);_0x57242f&&(_0x57242f[_0x5ef6b0(0x43c)](),this[_0x5ef6b0(0x36e)]['delete'](_0x4ffa5b));});}async[_0x2c832d(0x292)](_0x499016){const _0xef4ac1=_0x2c832d;let _0x164861=await this[_0xef4ac1(0x1ae)][_0xef4ac1(0x271)](_0x499016),_0x6af485=this[_0xef4ac1(0x3b8)][_0xef4ac1(0x3bc)](_0x66be99,_0x499016,_0x164861);return _0x6af485[_0xef4ac1(0x305)](),_0x6af485;}async[_0x2c832d(0x245)](_0x47a6a5){const _0x221e89=_0x2c832d;let _0x331ccf=await this[_0x221e89(0x1ae)]['requireSession'](_0x47a6a5),_0x29fc1e=this[_0x221e89(0x3b8)][_0x221e89(0x3bc)](_0x56c11f,_0x47a6a5,_0x331ccf);return _0x29fc1e[_0x221e89(0x305)](),_0x29fc1e;}};_0x270b73=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationSessionService']))],_0x270b73);function _0x3b878e(_0x27fb96,_0x2224d9){const _0x3da9d0=_0x2c832d;var _0x26c0ac,_0x5d79ea,_0x3d0153;let {radius:_0x4a5d52,width:_0x53ee44,height:_0x1907a0}=_0x2224d9;_0x4a5d52=(_0x26c0ac=_0x4a5d52)==null?0x0:_0x26c0ac,_0x53ee44=(_0x5d79ea=_0x53ee44)==null?0x1e:_0x5d79ea,_0x1907a0=(_0x3d0153=_0x1907a0)==null?0x1e:_0x3d0153;let _0x3a3cb6=0x0,_0x16051d=0x0,_0x56a317=0x0;_0x3a3cb6=_0x16051d=_0x56a317=Math[_0x3da9d0(0x26f)](_0x4a5d52,_0x53ee44/0x2,_0x1907a0/0x2),_0x27fb96[_0x3da9d0(0x35f)](),_0x27fb96[_0x3da9d0(0x208)](_0x3a3cb6,0x0),_0x27fb96['lineTo'](_0x53ee44-_0x16051d,0x0),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x16051d,_0x16051d,_0x16051d,Math['PI']*0x3/0x2,0x0,!0x1),_0x27fb96['lineTo'](_0x53ee44,_0x1907a0-_0x56a317),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x56a317,_0x1907a0-_0x56a317,_0x56a317,0x0,Math['PI']/0x2,!0x1),_0x27fb96['lineTo'](0x0,_0x1907a0),_0x27fb96[_0x3da9d0(0x3c2)](0x0,_0x3a3cb6),_0x27fb96['arc'](_0x3a3cb6,_0x3a3cb6,_0x3a3cb6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27fb96[_0x3da9d0(0x448)](),_0x2224d9[_0x3da9d0(0x3be)]&&(_0x27fb96[_0x3da9d0(0x226)](),_0x27fb96[_0x3da9d0(0x2fa)]=_0x2224d9[_0x3da9d0(0x3be)],_0x2224d9[_0x3da9d0(0x217)]===_0x3da9d0(0x31e)?_0x27fb96[_0x3da9d0(0x3be)](_0x3da9d0(0x31e)):_0x27fb96[_0x3da9d0(0x3be)](),_0x27fb96[_0x3da9d0(0x422)]());}var _0x2c341e=class _0x241ae4 extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x8ae16e,_0x38b2e1){const _0x18a56b=_0x2c832d;super(_0x8ae16e,_0x38b2e1),_0x4a0977(this,_0x18a56b(0x438),void 0x0),_0x4a0977(this,_0x18a56b(0x41e),void 0x0),this[_0x18a56b(0x438)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x438)],this[_0x18a56b(0x41e)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x41e)];}static[_0x2c832d(0x1b8)](_0x51a489,_0x26de4d){const _0x1ec98f=_0x2c832d;let {text:_0x65ded4,color:_0x477cff}=_0x26de4d;_0x51a489['save'](),_0x51a489[_0x1ec98f(0x432)]=_0x1ec98f(0x400);let _0x33428d=_0x51a489[_0x1ec98f(0x1a7)](_0x65ded4)[_0x1ec98f(0x405)];if(_0x3b878e(_0x51a489,{'height':0x14,'radius':0x4,'width':Math[_0x1ec98f(0x26f)](_0x33428d+0x8,0xc8),'fill':_0x477cff,'evented':!0x1}),_0x51a489[_0x1ec98f(0x2fa)]=_0x1ec98f(0x1c3),_0x33428d>0xc0){let _0x170b9a='',_0x166434=0x0;for(let _0x15618d of _0x65ded4){let _0x5d989a=_0x51a489[_0x1ec98f(0x1a7)](_0x15618d)['width'];if(_0x166434+_0x5d989a<=0xc0-_0x51a489[_0x1ec98f(0x1a7)](_0x1ec98f(0x2bc))[_0x1ec98f(0x405)])_0x170b9a+=_0x15618d,_0x166434+=_0x5d989a;else{_0x170b9a+='...';break;}}_0x51a489[_0x1ec98f(0x467)](_0x170b9a,0x4,0xf);}else _0x51a489['fillText'](_0x65ded4,0x4,0xf);_0x51a489[_0x1ec98f(0x422)]();}[_0x2c832d(0x2e3)](_0x57002c){_0x241ae4['drawWith'](_0x57002c,this);}};let _0x2a500b=_0x2c832d(0x1de);var _0x52dc37=class{constructor(_0x4c1342,_0x330827,_0x487a15,_0x1b0b93){const _0x44fe63=_0x2c832d;this[_0x44fe63(0x256)]=_0x4c1342,this[_0x44fe63(0x3ab)]=_0x330827,this[_0x44fe63(0x272)]=_0x487a15,this[_0x44fe63(0x352)]=_0x1b0b93,_0x4a0977(this,_0x44fe63(0x3cf),[]),_0x4a0977(this,_0x44fe63(0x234),null),_0x4a0977(this,'_textBubble',null),_0x4a0977(this,_0x44fe63(0x19c),null),_0x4a0977(this,_0x44fe63(0x346),null),_0x4a0977(this,'_eventUnsubscribe',null),this['_render']();}set['_hover'](_0x304a87){const _0x284e28=_0x2c832d;_0x304a87?(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x1f2)](),this[_0x284e28(0x4ad)]&&this[_0x284e28(0x4ad)]['show']()):(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x251)](),this['_textBubble']&&this['_textBubble'][_0x284e28(0x1f2)]());}['dispose'](){const _0x2b4573=_0x2c832d;for(let _0x2e36c3 of this['_shapes'])_0x2e36c3[_0x2b4573(0x43c)]();this[_0x2b4573(0x4ad)]&&this[_0x2b4573(0x4ad)]['dispose'](),this['_anchorDot']&&this[_0x2b4573(0x19c)][_0x2b4573(0x43c)](),this[_0x2b4573(0x234)]&&this[_0x2b4573(0x234)][_0x2b4573(0x43c)](),this[_0x2b4573(0x3fe)]&&this[_0x2b4573(0x3fe)]();}['_render'](){const _0x34a616=_0x2c832d;let {_docSkeleton:_0x10cac7,_document:_0x408981}=this,{color:_0x53119d,name:_0x23a2d6,ranges:_0x4a93d7}=this['_cursor'],_0x573501=_0x408981['getOffsetConfig'](),{docsLeft:_0x4fc525,docsTop:_0x16ea09}=_0x573501,_0x2ae7b9=new _0x493739[(_0x34a616(0x3eb))](_0x573501,_0x10cac7);for(let {startOffset:_0x54c94e,endOffset:_0x127e45,rangeType:_0x933a78,segmentId:_0x4cb7ee,segmentPage:_0x44dede,collapsed:_0x53e076,isActive:_0x4a9f08}of _0x4a93d7){let _0x1c9202=_0x10cac7[_0x34a616(0x38b)](_0x54c94e,!0x0,_0x4cb7ee,_0x44dede),_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45,!0x0,_0x4cb7ee,_0x44dede);if(_0x47b672==null&&(_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45-0x1,!0x1,_0x4cb7ee,_0x44dede)),_0x4a9f08){let {contentBoxPointGroup:_0x16abd9}=_0x2ae7b9['getRangePointData'](_0x47b672,_0x47b672);if(_0x16abd9[_0x34a616(0x1e6)]===0x0)continue;this['_drawAnchor'](_0x53119d,_0x16abd9,_0x4fc525,_0x16ea09,_0x23a2d6),this[_0x34a616(0x3fe)]=this[_0x34a616(0x394)]();}if(_0x1c9202&&_0x47b672){if(_0x933a78===_0x412392['DOC_RANGE_TYPE'][_0x34a616(0x2f2)]){var _0x1abf0f;let {pointGroup:_0x14f88e}=(_0x1abf0f=new _0x493739[(_0x34a616(0x2d9))](_0x573501,_0x10cac7)[_0x34a616(0x4aa)](_0x1c9202,_0x47b672))==null?{}:_0x1abf0f;if(_0x14f88e==null||_0x14f88e['length']===0x0)continue;this[_0x34a616(0x427)](_0x53119d,_0x14f88e,_0x4fc525,_0x16ea09);}else{if(!_0x53e076){let {borderBoxPointGroup:_0xe47d35}=_0x2ae7b9[_0x34a616(0x4aa)](_0x1c9202,_0x47b672);if(_0xe47d35[_0x34a616(0x1e6)]===0x0)continue;this[_0x34a616(0x33f)](_0x53119d,_0xe47d35,_0x4fc525,_0x16ea09);}}}}}[_0x2c832d(0x453)](_0x593966,_0x1efef3,_0x5c6158,_0x47056f,_0x152dc5){const _0x88890f=_0x2c832d;let {left:_0x5e4d59,top:_0x11f912,height:_0xbc4612}=this['_getAnchorBounding'](_0x1efef3),_0x4f1953=1.5/this[_0x88890f(0x3e0)](),_0x149cb5=new _0x6b7952[(_0x88890f(0x3bb))](_0x2a500b+(0x0,_0x412392[_0x88890f(0x29a)])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f,'height':_0xbc4612,'width':1.5,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'strokeWidth':_0x4f1953,'stroke':_0x88890f(0x430),'evented':!0x0});this['_anchor']=_0x149cb5,this[_0x88890f(0x3ab)]['addObject'](_0x149cb5,_0x493739[_0x88890f(0x1a3)]);let _0xdb4ef2=new _0x6b7952['Rect'](_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392[_0x88890f(0x1c2)][_0x88890f(0x19b)],0x0),'strokeWidth':0x0,'stroke':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'evented':!0x1});this[_0x88890f(0x19c)]=_0xdb4ef2,this[_0x88890f(0x3ab)]['addObject'](_0xdb4ef2,_0x493739[_0x88890f(0x1a3)]);let _0x4a2fba=new _0x2c341e(_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x14,'text':_0x152dc5,'color':_0x593966});this['_textBubble']=_0x4a2fba,this[_0x88890f(0x3ab)]['addObject'](_0x4a2fba,_0x493739['TEXT_RANGE_LAYER_INDEX']),this[_0x88890f(0x269)]=!0x1;}[_0x2c832d(0x394)](){const _0x3bf672=_0x2c832d;let _0x187a03=this['_anchor'][_0x3bf672(0x20c)]['subscribeEvent'](()=>{const _0x7e97c1=_0x3bf672;this[_0x7e97c1(0x269)]=!0x0;}),_0x56ac18=this[_0x3bf672(0x234)][_0x3bf672(0x3d5)]['subscribeEvent'](()=>{const _0x432a17=_0x3bf672;this[_0x432a17(0x346)]&&clearTimeout(this[_0x432a17(0x346)]),this[_0x432a17(0x346)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x472e64=_0x3bf672;_0x187a03[_0x472e64(0x212)](),_0x56ac18[_0x472e64(0x212)]();};}['_drawTextRange'](_0x135edc,_0x6c2f63,_0x5951b8,_0x70493){const _0x1e03aa=_0x2c832d;let _0xa94fb5=0.2,_0x300d6a=new _0x412392[(_0x1e03aa(0x452))](_0x135edc)[_0x1e03aa(0x465)](_0xa94fb5)[_0x1e03aa(0x385)](),_0x638d1=new _0x6b7952[(_0x1e03aa(0x458))](_0x1e03aa(0x3d8)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x6c2f63,'fill':_0x300d6a||(0x0,_0x6b7952[_0x1e03aa(0x283)])(_0x412392['COLORS'][_0x1e03aa(0x19b)],_0xa94fb5),'left':_0x5951b8,'top':_0x70493,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x638d1),this[_0x1e03aa(0x3ab)]['addObject'](_0x638d1,_0x493739[_0x1e03aa(0x1a3)]);}[_0x2c832d(0x427)](_0x2fd9ef,_0x24e17a,_0x14e0c3,_0x1073fe){const _0xa77391=_0x2c832d;let _0x39f04e=0.2,_0x2bcabf=new _0x412392[(_0xa77391(0x452))](_0x2fd9ef)[_0xa77391(0x465)](_0x39f04e)[_0xa77391(0x385)](),_0x210f33=new _0x6b7952[(_0xa77391(0x458))](_0xa77391(0x4b5)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x24e17a,'fill':_0x2bcabf||(0x0,_0x6b7952['getColor'])(_0x412392[_0xa77391(0x1c2)][_0xa77391(0x19b)],_0x39f04e),'left':_0x14e0c3,'top':_0x1073fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa77391(0x3cf)]['push'](_0x210f33),this['_scene']['addObject'](_0x210f33,_0x493739[_0xa77391(0x1a3)]);}['_getAnchorBounding'](_0x59a421){let _0x4fbbaf=_0x59a421[0x0],_0x43991d=_0x4fbbaf[0x0],_0x2d41bd=_0x4fbbaf[0x2],{x:_0xe3dc6,y:_0x301be3}=_0x43991d,{x:_0x20a790,y:_0x31c791}=_0x2d41bd;return{'left':_0xe3dc6,'top':_0x301be3,'width':_0x20a790-_0xe3dc6,'height':_0x31c791-_0x301be3};}[_0x2c832d(0x3e0)](){const _0x3f404c=_0x2c832d;let {scaleX:_0xa221c3,scaleY:_0x470248}=this['_scene'][_0x3f404c(0x35c)]();return Math[_0x3f404c(0x1d9)](_0xa221c3,_0x470248);}};let _0x3e3eab=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x35af49,_0x2661f4,_0x4b42fc,_0x30ee99,_0x2732a4){const _0xbeae94=_0x2c832d;super(),this[_0xbeae94(0x1d6)]=_0x35af49,this[_0xbeae94(0x204)]=_0x2661f4,this['_collabCursorController']=_0x4b42fc,this[_0xbeae94(0x3b6)]=_0x30ee99,this[_0xbeae94(0x262)]=_0x2732a4,_0x4a0977(this,_0xbeae94(0x3c4),[]),_0x4a0977(this,_0xbeae94(0x31a),[]),this['_init']();}[_0x2c832d(0x21c)](){const _0x8c1e6f=_0x2c832d;let _0x48800e=this[_0x8c1e6f(0x1d6)][_0x8c1e6f(0x366)],_0x58a877=this['_docSkeletonManagerService'];this[_0x8c1e6f(0x319)]((0x0,_0x1af95b['combineLatest'])([this[_0x8c1e6f(0x3e5)][_0x8c1e6f(0x38c)](_0x48800e),this[_0x8c1e6f(0x262)][_0x8c1e6f(0x49a)]])[_0x8c1e6f(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x45c4e8,_0x769228])=>({'skeleton':_0x58a877[_0x8c1e6f(0x2b2)](),'cursors':[..._0x45c4e8[_0x8c1e6f(0x383)]()]['flatMap'](_0x184b16=>({..._0x184b16,'color':this[_0x8c1e6f(0x262)][_0x8c1e6f(0x38a)](_0x184b16[_0x8c1e6f(0x438)])}))})))[_0x8c1e6f(0x2ef)](_0x85469e=>{const _0x5aaacf=_0x8c1e6f;if(this[_0x5aaacf(0x3c3)](),_0x85469e){let {skeleton:_0x3139a8,cursors:_0x4e5c46}=_0x85469e;this[_0x5aaacf(0x1b7)](_0x3139a8,_0x4e5c46);}})),this['_initResize'](),this[_0x8c1e6f(0x231)]();}[_0x2c832d(0x1b7)](_0x4fe464,_0x3a296a){const _0x56c267=_0x2c832d;let {scene:_0xf99016,mainComponent:_0x5ee3da}=this[_0x56c267(0x1d6)];this[_0x56c267(0x3c4)]=_0x3a296a['map'](_0xa5e08d=>new _0x52dc37(_0xa5e08d,_0xf99016,_0x4fe464,_0x5ee3da)),this[_0x56c267(0x31a)]=_0x3a296a;}['_refreshCollabCursors'](){const _0x36d009=_0x2c832d;this[_0x36d009(0x3c3)]();let {scene:_0x568eed,mainComponent:_0x44ec5b}=this[_0x36d009(0x1d6)],_0x32c3a6=this[_0x36d009(0x204)]['getSkeleton']();this[_0x36d009(0x3c4)]=this[_0x36d009(0x31a)][_0x36d009(0x464)](_0x3df546=>new _0x52dc37(_0x3df546,_0x568eed,_0x32c3a6,_0x44ec5b));}['_removeCollabCursors'](){const _0x483fe0=_0x2c832d;this[_0x483fe0(0x3c4)][_0x483fe0(0x341)](_0x2cc1ba=>_0x2cc1ba[_0x483fe0(0x43c)]()),this[_0x483fe0(0x3c4)]=[];}[_0x2c832d(0x231)](){const _0x167b4b=_0x2c832d;let _0x121bef=[_0x493739[_0x167b4b(0x2d1)]['id']];this[_0x167b4b(0x319)](this[_0x167b4b(0x3b6)][_0x167b4b(0x30a)](_0x5d498d=>{const _0x30720e=_0x167b4b;_0x121bef['includes'](_0x5d498d['id'])&&_0x5d498d[_0x30720e(0x29c)][_0x30720e(0x366)]===this[_0x30720e(0x1d6)][_0x30720e(0x366)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x167564=_0x2c832d;this[_0x167564(0x319)]((0x0,_0x412392[_0x167564(0x374)])(this[_0x167564(0x1d6)][_0x167564(0x1e4)][_0x167564(0x2b1)])[_0x167564(0x1ed)]((0x0,_0x5a2ef1[_0x167564(0x2cf)])(_0x3d334e=>_0x3d334e[_0x167564(0x199)]===_0x6b7952[_0x167564(0x487)]['resize']),(0x0,_0x5a2ef1['throttleTime'])(0x10))[_0x167564(0x2ef)](()=>{const _0xd381e8=_0x167564;this[_0xd381e8(0x43f)]();}));}};_0x3e3eab=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x5bad8c[_0x2c832d(0x2a3)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,_0x412392['ICommandService']),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x2f1)]))],_0x3e3eab);var _0x1c5797=class extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x3e2e39,_0x3f2e5b){const _0x1fd753=_0x2c832d;if(super(_0x3e2e39,_0x3f2e5b),_0x4a0977(this,_0x1fd753(0x399),void 0x0),_0x4a0977(this,_0x1fd753(0x19f),!0x1),_0x4a0977(this,_0x1fd753(0x2b5),void 0x0),_0x4a0977(this,_0x1fd753(0x3a2),''),_0x4a0977(this,'_labelPosition','top'),_0x4a0977(this,'_backgroundColor',void 0x0),_0x4a0977(this,_0x1fd753(0x1f8),void 0x0),_0x4a0977(this,_0x1fd753(0x1ca),void 0x0),_0x4a0977(this,'_highlightSecond',0x4),_0x4a0977(this,_0x1fd753(0x4b4),void 0x0),_0x4a0977(this,_0x1fd753(0x2c5),void 0x0),_0x4a0977(this,'_isBlinkVisible',!0x0),_0x4a0977(this,'_offsetY',0x0),_0x3f2e5b){var _0x8b4d96;if(this[_0x1fd753(0x1f0)](_0x3f2e5b),_0x3f2e5b[_0x1fd753(0x291)]&&((_0x8b4d96=_0x3f2e5b[_0x1fd753(0x29d)])==null?this[_0x1fd753(0x402)]:_0x8b4d96)){var _0x2b7fcd;this[_0x1fd753(0x358)]((_0x2b7fcd=_0x3f2e5b[_0x1fd753(0x29d)])==null?this['_highlightSecond']:_0x2b7fcd);}}this['onPointerEnter$'][_0x1fd753(0x2d8)](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x0})),this[_0x1fd753(0x3d5)]['subscribeEvent'](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x1}));}['setOffsetY'](_0x2d9525){const _0x2b2033=_0x2c832d;this[_0x2b2033(0x1c4)]=_0x2d9525;}['setShapeProps'](_0x4b2d62){const _0x5d0696=_0x2c832d;var _0x3e939d,_0x448aaf,_0x2429d3,_0x301e7e,_0x2e6181,_0x33969a,_0x3a376e;this[_0x5d0696(0x399)]=(_0x3e939d=_0x4b2d62[_0x5d0696(0x438)])==null?this[_0x5d0696(0x399)]:_0x3e939d,this[_0x5d0696(0x19f)]=(_0x448aaf=_0x4b2d62[_0x5d0696(0x37b)])==null?this['_hovered']:_0x448aaf,this[_0x5d0696(0x2b5)]=(_0x2429d3=_0x4b2d62['range'])==null?this[_0x5d0696(0x2b5)]:_0x2429d3,this['_name']=(_0x301e7e=_0x4b2d62['name'])==null?this[_0x5d0696(0x3a2)]:_0x301e7e,this[_0x5d0696(0x3c9)]=(_0x2e6181=_0x4b2d62[_0x5d0696(0x344)])==null?this[_0x5d0696(0x3c9)]:_0x2e6181,this[_0x5d0696(0x19a)]=(_0x33969a=_0x4b2d62[_0x5d0696(0x44d)])==null?this[_0x5d0696(0x19a)]:_0x33969a,this['_showText']=(_0x3a376e=_0x4b2d62[_0x5d0696(0x1c0)])==null?this['_showText']:_0x3a376e,_0x4b2d62['highlightSecond']!==void 0x0&&(this[_0x5d0696(0x402)]=_0x4b2d62[_0x5d0696(0x29d)]),_0x4b2d62[_0x5d0696(0x291)]!==void 0x0&&(this[_0x5d0696(0x1ca)]=_0x4b2d62['highlight']),_0x4b2d62[_0x5d0696(0x36f)]!==void 0x0&&(this[_0x5d0696(0x1c4)]=_0x4b2d62['offsetY']),this[_0x5d0696(0x219)]({'width':_0x4b2d62[_0x5d0696(0x405)],'height':_0x4b2d62[_0x5d0696(0x228)]});}[_0x2c832d(0x2e2)](_0x2ba731){const _0x16cbec=_0x2c832d;let {row:_0x4354f7,column:_0x93aa74}=_0x2ba731;if(_0x4354f7>=this['_range'][_0x16cbec(0x45d)]&&_0x4354f7<=this['_range'][_0x16cbec(0x397)]&&_0x93aa74>=this[_0x16cbec(0x2b5)][_0x16cbec(0x253)]&&_0x93aa74<=this[_0x16cbec(0x2b5)][_0x16cbec(0x35e)]){this[_0x16cbec(0x1f0)]({'hovered':!0x0});return;}this[_0x16cbec(0x1f0)]({'hovered':!0x1});}[_0x2c832d(0x358)](_0x27849){const _0x508be7=_0x2c832d;this[_0x508be7(0x2dc)](),this['_isBlinkVisible']=!0x0,this[_0x508be7(0x2c5)]=window[_0x508be7(0x333)](()=>{const _0x415925=_0x508be7;this[_0x415925(0x303)]=!this[_0x415925(0x303)],this[_0x415925(0x45e)](!0x0);},0x1f4),this[_0x508be7(0x4b4)]=window[_0x508be7(0x2e5)](()=>{const _0xd75849=_0x508be7;this[_0xd75849(0x2dc)](),this[_0xd75849(0x303)]=!0x0,this[_0xd75849(0x45e)](!0x0);},_0x27849*0x3e8);}['_stopBlinking'](){const _0x26cb7b=_0x2c832d;this[_0x26cb7b(0x2c5)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x26cb7b(0x2c5)]=void 0x0),this[_0x26cb7b(0x4b4)]&&(window[_0x26cb7b(0x4a1)](this[_0x26cb7b(0x4b4)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5c88f8){return!0x1;}[_0x2c832d(0x43c)](){const _0xe1c64b=_0x2c832d;this[_0xe1c64b(0x2dc)](),super['dispose']();}[_0x2c832d(0x2e3)](_0xfe1209){const _0x29b163=_0x2c832d;var _0x26ce4f;let _0x397231=this[_0x29b163(0x399)],_0x293a0d=this[_0x29b163(0x19a)];if(this[_0x29b163(0x1ca)]&&!this[_0x29b163(0x303)]&&(_0x397231=this[_0x29b163(0x221)](this[_0x29b163(0x399)]),_0x293a0d=this['_backgroundColor']?this[_0x29b163(0x221)](this[_0x29b163(0x19a)]):void 0x0),_0x6b7952[_0x29b163(0x3bb)][_0x29b163(0x1b8)](_0xfe1209,{'width':this[_0x29b163(0x405)],'height':this[_0x29b163(0x228)],'strokeWidth':(_0x26ce4f=this[_0x29b163(0x478)])==null?1.5:_0x26ce4f,'stroke':_0x397231,'evented':!0x1,'fill':_0x293a0d}),this[_0x29b163(0x19f)]||this[_0x29b163(0x1f8)]){var _0xa96007;_0xfe1209['save'](),_0xfe1209[_0x29b163(0x462)](0x1,0x0,0x0,0x1,this[_0x29b163(0x405)],(this[_0x29b163(0x3c9)]===_0x29b163(0x2ee)?0x0:-0x14)+((_0xa96007=this[_0x29b163(0x1c4)])==null?0x0:_0xa96007)),_0x2c341e[_0x29b163(0x1b8)](_0xfe1209,{'text':this[_0x29b163(0x3a2)],'color':_0x397231}),_0xfe1209[_0x29b163(0x422)]();}}[_0x2c832d(0x221)](_0x2853a1){const _0x2585c3=_0x2c832d;return _0x2853a1[_0x2585c3(0x1c6)]('#')?_0x2585c3(0x25b)+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x1,0x3),0x10)+',\x20'+Number[_0x2585c3(0x1f9)](_0x2853a1[_0x2585c3(0x2db)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x5,0x7),0x10)+_0x2585c3(0x1d3):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x288))?_0x2853a1[_0x2585c3(0x23e)](/[\d.]+\)$/g,'0.2)'):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x45f))?_0x2853a1['replace'](_0x2585c3(0x45f),_0x2585c3(0x288))[_0x2585c3(0x23e)](')',_0x2585c3(0x1d3)):_0x2853a1;}};let _0x19300d=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x889b10,_0x2ba4c8,_0x3d3860,_0x23b493){const _0x47c220=_0x2c832d;super(),this[_0x47c220(0x1d6)]=_0x889b10,this[_0x47c220(0x31c)]=_0x2ba4c8,this['_collabCursorController']=_0x3d3860,this[_0x47c220(0x262)]=_0x23b493,_0x4a0977(this,_0x47c220(0x31a),new Set()),_0x4a0977(this,_0x47c220(0x28e),null),this[_0x47c220(0x21c)]();}[_0x2c832d(0x21c)](){const _0x47baca=_0x2c832d;this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['pipe']((0x0,_0x5a2ef1[_0x47baca(0x37d)])(this[_0x47baca(0x378)]),(0x0,_0x5a2ef1[_0x47baca(0x2e1)])(_0xc91c2c=>{const _0x397876=_0x47baca;if(_0xc91c2c){let _0x3f50bf=_0xc91c2c['sheetId'];return(0x0,_0x1af95b[_0x397876(0x373)])(this[_0x397876(0x3e5)][_0x397876(0x38c)](this[_0x397876(0x1d6)][_0x397876(0x366)]),this[_0x397876(0x262)][_0x397876(0x49a)])[_0x397876(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x193895,_0x259f23])=>{const _0x3c235e=_0x397876;let _0x37a0f1=new Map();return _0x193895[_0x3c235e(0x341)]((_0x3155c5,_0x1b2d2a)=>{const _0x4378ba=_0x3c235e;if(_0x3155c5[_0x4378ba(0x32e)]===_0x3f50bf){let _0x36a546={..._0x3155c5};_0x36a546[_0x4378ba(0x438)]=this['_themeService'][_0x4378ba(0x38a)](_0x3155c5[_0x4378ba(0x438)]),_0x37a0f1[_0x4378ba(0x2c9)](_0x1b2d2a,_0x36a546);}}),{'skeleton':_0xc91c2c,'cursors':_0x37a0f1};}));}return(0x0,_0x1af95b['of'])({'skeleton':null,'cursors':new Map()});}))[_0x47baca(0x2ef)](({skeleton:_0x21a561,cursors:_0x3faa41})=>{const _0x1f73e3=_0x47baca;this[_0x1f73e3(0x3c3)](),_0x21a561&&this['_updateCollabCursors'](_0x21a561,_0x3faa41);}),this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['subscribe'](_0x877919=>{const _0x2f5f77=_0x47baca;if(_0x877919==null)return;let {skeleton:_0x3d2072}=_0x877919,{scene:_0x473e7e}=this[_0x2f5f77(0x1d6)];_0x473e7e[_0x2f5f77(0x2de)][_0x2f5f77(0x2d8)]((0x0,_0x412392['debounce'])(_0x18633d=>{const _0x1540d0=_0x2f5f77;var _0x46b32a,_0x4350cc;let {offsetX:_0x260d44,offsetY:_0x1b4e7e}=_0x18633d,{x:_0x28a155,y:_0x46b4f1}=_0x473e7e[_0x1540d0(0x449)](_0x6b7952['Vector2']['FromArray']([_0x260d44,_0x1b4e7e])),{scaleX:_0x1d56ff,scaleY:_0x9bb788}=_0x473e7e[_0x1540d0(0x35c)](),_0x5d5c93=_0x473e7e[_0x1540d0(0x4af)](_0x6b7952[_0x1540d0(0x3ce)][_0x1540d0(0x3b1)]),_0x55ae09=_0x473e7e[_0x1540d0(0x3f3)](_0x6b7952[_0x1540d0(0x243)][_0x1540d0(0x365)]([_0x28a155,_0x46b4f1]),_0x5d5c93),_0x1facd8=_0x3d2072['getCellPositionByOffset'](_0x260d44,_0x1b4e7e,_0x1d56ff,_0x9bb788,_0x55ae09);((_0x46b32a=this[_0x1540d0(0x28e)])==null?void 0x0:_0x46b32a[_0x1540d0(0x380)])===_0x1facd8['column']&&((_0x4350cc=this['_lastPointer'])==null?void 0x0:_0x4350cc[_0x1540d0(0x2e8)])===_0x1facd8[_0x1540d0(0x2e8)]||this[_0x1540d0(0x31a)][_0x1540d0(0x341)](_0x11382f=>{_0x11382f['onMouseMove'](_0x1facd8);});},0x64));});}['_updateCollabCursors'](_0x4b1614,_0x45211e){const _0x2a7980=_0x2c832d;let _0x2f5b8a=this[_0x2a7980(0x31c)][_0x2a7980(0x3a0)]();if(!_0x2f5b8a)return;let _0x460ed1=this[_0x2a7980(0x40e)]();if(!_0x460ed1)return;this['_cursors']['forEach'](_0x5c4b0b=>{_0x5c4b0b['makeDirty']();});let {scene:_0x56eba1}=_0x460ed1,_0x281ab2=_0x2cdc88(Array['from'](_0x45211e[_0x2a7980(0x383)]()))[_0x2a7980(0x464)](_0x5b2fa9=>{const _0x5ce57d=_0x2a7980;let {color:_0x49dfb5,range:_0x3238c5,name:_0x8c90c8,selection:_0x3074a3,sheetID:_0x56fa47}=_0x5b2fa9,{startColumn:_0x537ad6,startRow:_0x1876f5,endColumn:_0x406c0e,endRow:_0x364f93}=_0x3238c5,_0x3aa9a6=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x1876f5,_0x537ad6,_0x56eba1,_0x2f5b8a),_0x1addf8=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x364f93,_0x406c0e,_0x56eba1,_0x2f5b8a),{columnHeaderHeightAndMarginTop:_0x48f13b}=_0x2f5b8a,{startX:_0x397237,startY:_0x5d66ff}=_0x3aa9a6,{endX:_0x27a337,endY:_0x3caf4d}=_0x1addf8,_0x3b2d96=_0x27a337-_0x397237,_0x16b5fb=_0x3caf4d-_0x5d66ff;return new _0x1c5797(_0x8c90c8,{'labelPosition':_0x5d66ff-_0x48f13b>=0x14?_0x5ce57d(0x469):'bottom','sheetID':_0x56fa47,'range':_0x3238c5,'color':_0x49dfb5,'name':_0x8c90c8,'selection':_0x3074a3,'left':_0x397237,'top':_0x5d66ff,'width':_0x3b2d96,'height':_0x16b5fb,'evented':!0x1,'zIndex':0x1389});});_0x56eba1['addObjects'](_0x281ab2,0x1),this['_cursors']=new Set(_0x281ab2);}['_removeCollabCursors'](){const _0x1492b4=_0x2c832d;var _0x5bb3bb;(_0x5bb3bb=this[_0x1492b4(0x31a)])==null||_0x5bb3bb[_0x1492b4(0x341)](_0x15c642=>_0x15c642[_0x1492b4(0x43c)]());}[_0x2c832d(0x40e)](){const _0x2202b7=_0x2c832d;return(0x0,_0x2e45e6['getSheetObject'])(this[_0x2202b7(0x1d6)][_0x2202b7(0x36c)],this[_0x2202b7(0x1d6)]);}};_0x19300d=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x2e45e6[_0x2c832d(0x1fb)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x2f1)]))],_0x19300d);function _0x2cdc88(_0x78978){const _0x286b90=_0x2c832d;let _0x29a75c=new Map();return _0x78978[_0x286b90(0x341)](_0x704099=>{const _0x2d374f=_0x286b90;if(_0x29a75c[_0x2d374f(0x27c)](_0x704099[_0x2d374f(0x21e)])){let _0x812324=_0x29a75c[_0x2d374f(0x24d)](_0x704099['selection']);_0x812324[_0x2d374f(0x2b7)]+=',\x20'+_0x704099[_0x2d374f(0x2b7)];}else _0x29a75c[_0x2d374f(0x2c9)](_0x704099[_0x2d374f(0x21e)],_0x704099);}),Array[_0x286b90(0x238)](_0x29a75c[_0x286b90(0x383)]());}let _0x3a5846=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x54305e,_0x40314d,_0x434ef5,_0x32fe32,_0x2aa916,_0x77f0b8){const _0x2c9e0c=_0x2c832d;super(),this['_beforeCloseService']=_0x54305e,this[_0x2c9e0c(0x3cd)]=_0x40314d,this['_collaborationUIEventService']=_0x434ef5,this[_0x2c9e0c(0x2aa)]=_0x32fe32,this[_0x2c9e0c(0x304)]=_0x2aa916,this['_localeService']=_0x77f0b8,this[_0x2c9e0c(0x260)](),this[_0x2c9e0c(0x393)]();}[_0x2c832d(0x260)](){const _0x3e2934=_0x2c832d;this['disposeWithMe'](this['_beforeCloseService'][_0x3e2934(0x41d)](()=>{const _0x169dc5=_0x3e2934;if(this[_0x169dc5(0x3cd)][_0x169dc5(0x45b)][_0x169dc5(0x48a)])return this[_0x169dc5(0x2c6)]['t'](_0x169dc5(0x255));}));}['_initEvent'](){const _0x5ad39c=_0x2c832d;this[_0x5ad39c(0x319)](this[_0x5ad39c(0x2ba)][_0x5ad39c(0x1b0)]['subscribe'](_0xabb2d2=>{const _0x1cebfe=_0x5ad39c;_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x2a8)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0x1cebfe(0x2f3))}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x3ee)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Warning'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x28d)),'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x1cc)),'type':_0x1cebfe(0x286),'duration':0x0}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['CONFLICT']&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33['MessageType'][_0x1cebfe(0x1d8)],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))+'('+_0xabb2d2[_0x1cebfe(0x496)]+')'}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['JOIN_ROOM_FAILED']&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0xabb2d2[_0x1cebfe(0x496)]||'')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x1e2)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t']('session.will-retry')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x266)]&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Error'],'content':this['_localeService']['t'](_0x1cebfe(0x447))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x4ab)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType']['Error'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x439))});}));}};_0x3a5846=_0x568561([_0x144f1b(0x0,_0x197442[_0x2c832d(0x3fc)]),_0x144f1b(0x1,_0x3839b9[_0x2c832d(0x391)]),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x3c8)])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x4,_0x197442[_0x2c832d(0x2f8)]),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x3a5846);let _0x45e6c7='collaboration-client-ui.config';Symbol(_0x45e6c7);let _0x43887c={},_0x564baf=class{constructor(_0x120a99,_0x5a537a){const _0x4cfb80=_0x2c832d;this[_0x4cfb80(0x32c)]=_0x120a99,this[_0x4cfb80(0x4a6)]=_0x5a537a;}[_0x2c832d(0x4a9)](_0x3e2769){const _0x6dd024=_0x2c832d;this[_0x6dd024(0x2f9)](_0x3e2769),this[_0x6dd024(0x2a0)](_0x3e2769);}[_0x2c832d(0x3c1)](_0x59644a){const _0x52a360=_0x2c832d;let {unitID:_0x4c4f6b}=_0x59644a,{redoCache:_0x3076e5}=this[_0x52a360(0x4a6)][_0x52a360(0x48c)](_0x4c4f6b)[_0x52a360(0x468)](_0x493739[_0x52a360(0x376)])[_0x52a360(0x200)]();if(_0x3076e5[_0x52a360(0x1e6)]===0x0)return _0x59644a;let _0x1d5119=_0x412392[_0x52a360(0x39d)]['deepClone'](_0x59644a[_0x52a360(0x294)][0x0]);for(let _0x435a32=0x0;_0x435a32<_0x3076e5[_0x52a360(0x1e6)];_0x435a32++){let _0x2a95c9={'id':_0x52a360(0x44a),'params':{..._0x3076e5[_0x435a32]}},_0x36977a=this[_0x52a360(0x32c)][_0x52a360(0x48b)](_0x1d5119,_0x2a95c9,!0x1);if((0x0,_0x584220[_0x52a360(0x270)])(_0x36977a))throw _0x36977a[_0x52a360(0x286)];_0x1d5119=_0x36977a[_0x52a360(0x284)];}return{..._0x412392[_0x52a360(0x39d)][_0x52a360(0x3ff)](_0x59644a),'mutations':[_0x1d5119]};}['_transformUndoRedoStack'](_0x6f80a5){const _0x30b5bc=_0x2c832d;let {unitID:_0x4288cf}=_0x6f80a5,_0x4da1f8=this[_0x30b5bc(0x4a6)][_0x30b5bc(0x48c)](_0x4288cf)[_0x30b5bc(0x468)](_0x493739[_0x30b5bc(0x376)]),{undoCache:_0x53868b,redoCache:_0x3c1ed8}=_0x4da1f8[_0x30b5bc(0x200)]();if(_0x53868b[_0x30b5bc(0x1e6)]===0x0||_0x3c1ed8[_0x30b5bc(0x1e6)]===0x0)return;let _0x42fd04=[],_0x1fb0e1=[],_0xb8278c=_0x412392['Tools'][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]),_0x5b0e6a=_0x412392[_0x30b5bc(0x39d)][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]);for(let _0x48a9d7=_0x53868b['length']-0x1;_0x48a9d7>=0x0;_0x48a9d7--){let _0x1bf178={'id':'doc.mutation.rich-text-editing','params':{..._0x53868b[_0x48a9d7]}},_0x4be818={'id':_0x30b5bc(0x44a),'params':{..._0x3c1ed8[_0x48a9d7]}},_0x30604e=this[_0x30b5bc(0x32c)][_0x30b5bc(0x48b)](_0xb8278c,_0x1bf178,!0x1),_0x2d1e71=this['_transformService'][_0x30b5bc(0x48b)](_0x5b0e6a,_0x4be818,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x30604e))throw _0x30604e[_0x30b5bc(0x286)];if((0x0,_0x584220[_0x30b5bc(0x270)])(_0x2d1e71))throw _0x2d1e71[_0x30b5bc(0x286)];_0x42fd04[_0x30b5bc(0x1dc)](_0x30604e[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0x1fb0e1['unshift'](_0x2d1e71[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0xb8278c=_0x30604e['m1Prime'],_0x5b0e6a=_0x2d1e71[_0x30b5bc(0x284)];}_0x4da1f8[_0x30b5bc(0x2b4)]({'undoCache':_0x42fd04,'redoCache':_0x1fb0e1});}[_0x2c832d(0x2a0)](_0x2d1286){const _0x2c0ca6=_0x2c832d;let {unitID:_0x3a9d28}=_0x2d1286,_0x52e784=this[_0x2c0ca6(0x4a6)]['getRenderById'](_0x3a9d28)[_0x2c0ca6(0x468)](_0x493739[_0x2c0ca6(0x376)]),_0x1df6df=_0x52e784['getActiveRange']();if(_0x1df6df==null)return;let _0x4e102f=[{'id':_0x2c0ca6(0x44a),'params':{'unitId':_0x2d1286[_0x2c0ca6(0x3a5)],'actions':null,'textRanges':[_0x1df6df]}}],_0x1fdc54=this['_transformService']['transformMutationsWithChangeset'](_0x2d1286,_0x4e102f);if(!(0x0,_0x584220['isTransformMutationsWithChangesetSuccess'])(_0x1fdc54))throw _0x1fdc54[_0x2c0ca6(0x286)];let _0x41a691=_0x1fdc54[_0x2c0ca6(0x39a)][0x0]['params'][_0x2c0ca6(0x475)];Array['isArray'](_0x41a691)&&_0x41a691[_0x2c0ca6(0x1e6)]&&_0x52e784[_0x2c0ca6(0x2c7)](_0x41a691[0x0]);}};_0x564baf=_0x568561([_0x144f1b(0x0,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)])],_0x564baf);let _0xcacb51=class{constructor(_0x2bde94,_0x101315,_0x5c8c43){const _0x4f10fb=_0x2c832d;this[_0x4f10fb(0x3b8)]=_0x2bde94,this['_transformService']=_0x101315,this[_0x4f10fb(0x3b7)]=_0x5c8c43;}['transformStateCache'](_0x46bd0a){this['_transformHistoryAndStateStack'](_0x46bd0a);}[_0x2c832d(0x3c1)](_0x4eb7d8){const _0x5484e1=_0x2c832d;let {unitID:_0x359948}=_0x4eb7d8,{collaboration:_0x384db7}=this[_0x5484e1(0x3b7)]['getStateCache'](_0x359948);if(_0x384db7['length']===0x0)return _0x4eb7d8;let _0x55f792=_0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8[_0x5484e1(0x294)][0x0]);for(let _0x2fcd0e=0x0;_0x2fcd0e<_0x384db7[_0x5484e1(0x1e6)];_0x2fcd0e++){let _0x4a6aca={'id':_0x5484e1(0x44a),'params':{'unitId':_0x384db7[_0x2fcd0e][_0x5484e1(0x366)],..._0x384db7[_0x2fcd0e][_0x5484e1(0x2d2)]}},_0x2000e9=this[_0x5484e1(0x32c)]['transformMutation'](_0x55f792,_0x4a6aca,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x2000e9))throw _0x2000e9[_0x5484e1(0x286)];_0x55f792=_0x2000e9[_0x5484e1(0x284)];}return{..._0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8),'mutations':[_0x55f792]};}[_0x2c832d(0x41f)](_0x3c4dbd){const _0x27b8f9=_0x2c832d;let {unitID:_0x5d1b7d}=_0x3c4dbd,{history:_0x4ae092,collaboration:_0x4a2457}=this['_docStateChangeManagerService'][_0x27b8f9(0x19e)](_0x5d1b7d);if(_0x4ae092[_0x27b8f9(0x1e6)]===0x0&&_0x4a2457[_0x27b8f9(0x1e6)]===0x0)return;let _0x191269=[],_0x381be6=[],_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392['Tools']['deepClone'](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0x52964e=_0x4ae092[_0x27b8f9(0x1e6)]-0x1;_0x52964e>=0x0;_0x52964e--){let _0x548bfe={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4ae092[_0x52964e][_0x27b8f9(0x366)],..._0x4ae092[_0x52964e][_0x27b8f9(0x407)]}},_0x4ca958={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ae092[_0x52964e]['unitId'],..._0x4ae092[_0x52964e][_0x27b8f9(0x2d2)]}},_0x254e6d=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0xfbc186,_0x548bfe,!0x1),_0x8e17b2=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x4ca958,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x254e6d))throw _0x254e6d[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x8e17b2))throw _0x8e17b2[_0x27b8f9(0x286)];_0x191269[_0x27b8f9(0x1dc)]({..._0x4ae092[_0x52964e],'undoState':_0x254e6d[_0x27b8f9(0x39a)]['params'],'redoState':_0x8e17b2[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x254e6d[_0x27b8f9(0x284)],_0x7506af=_0x8e17b2[_0x27b8f9(0x284)];}_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0xed96fb=_0x4a2457['length']-0x1;_0xed96fb>=0x0;_0xed96fb--){let _0x140564={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4a2457[_0xed96fb][_0x27b8f9(0x366)],..._0x4a2457[_0xed96fb][_0x27b8f9(0x407)]}},_0x33787a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a2457[_0xed96fb]['unitId'],..._0x4a2457[_0xed96fb][_0x27b8f9(0x2d2)]}},_0x2c7c3c=this['_transformService']['transformMutation'](_0xfbc186,_0x140564,!0x1),_0x3c07aa=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x33787a,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x2c7c3c))throw _0x2c7c3c[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x3c07aa))throw _0x3c07aa[_0x27b8f9(0x286)];_0x381be6[_0x27b8f9(0x1dc)]({..._0x4a2457[_0xed96fb],'undoState':_0x2c7c3c['m2Prime'][_0x27b8f9(0x29c)],'redoState':_0x3c07aa[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x2c7c3c[_0x27b8f9(0x284)],_0x7506af=_0x3c07aa[_0x27b8f9(0x284)];}this[_0x27b8f9(0x3b7)][_0x27b8f9(0x3bd)](_0x5d1b7d,{'history':_0x191269,'collaboration':_0x381be6});}};_0xcacb51=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x493739[_0x2c832d(0x32a)]))],_0xcacb51);let _0x2842fb=class{constructor(_0x4b0f3f,_0x2e42fb){const _0x1bd5a0=_0x2c832d;this[_0x1bd5a0(0x3b8)]=_0x4b0f3f,this[_0x1bd5a0(0x32c)]=_0x2e42fb;}['transformSelections'](_0x2c73f9){const _0x237f30=_0x2c832d;var _0x297a7e;let _0x28cedf=this[_0x237f30(0x3b8)]['get'](_0x5bad8c['DocSelectionManagerService']),_0x5e069f=(_0x297a7e=_0x28cedf[_0x237f30(0x3d0)]())==null?[]:_0x297a7e;if(_0x5e069f['length']===0x0)return;let _0x1641b2=_0x2c73f9['unitID'],_0x22f77b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1641b2,'actions':null,'textRanges':_0x5e069f}}],_0x42495b=this[_0x237f30(0x32c)][_0x237f30(0x33a)](_0x2c73f9,_0x22f77b);if(!(0x0,_0x584220[_0x237f30(0x1ce)])(_0x42495b))throw _0x42495b['error'];let _0x14f65c=_0x42495b[_0x237f30(0x39a)][0x0][_0x237f30(0x29c)][_0x237f30(0x475)];Array[_0x237f30(0x285)](_0x14f65c)&&_0x14f65c[_0x237f30(0x1e6)]&&_0x28cedf[_0x237f30(0x457)](_0x14f65c,{'unitId':_0x1641b2,'subUnitId':_0x1641b2},!0x1);}};_0x2842fb=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)])],_0x2842fb);let _0x524fbf=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x47a250,_0x1652df,_0x42e607,_0x1c4d0d,_0x5c39dc,_0x566ee9,_0x34727b,_0x3bc5ba){const _0x337e43=_0x2c832d;super(),this[_0x337e43(0x3b7)]=_0x47a250,this[_0x337e43(0x389)]=_0x1652df,this['_docTransformIMECacheService']=_0x42e607,this[_0x337e43(0x1b4)]=_0x1c4d0d,this['_docTransformSelectionsService']=_0x5c39dc,this['_docSyncEditingCollabCursorService']=_0x566ee9,this['_messageService']=_0x34727b,this[_0x337e43(0x2c6)]=_0x3bc5ba,_0x4a0977(this,_0x337e43(0x471),new _0x1af95b[(_0x337e43(0x3d7))](_0x3839b9[_0x337e43(0x2b6)][_0x337e43(0x222)])),this[_0x337e43(0x40d)]();}[_0x2c832d(0x40d)](){const _0x1cef1d=_0x2c832d;this[_0x1cef1d(0x319)](this[_0x1cef1d(0x389)]['entityInit$'][_0x1cef1d(0x2ef)](_0x340687=>{const _0x581bd6=_0x1cef1d;let _0x2e3e77=this['_docStateChangeManagerService'][_0x581bd6(0x274)][_0x581bd6(0x2ef)](_0x13a398=>{const _0x3223f3=_0x581bd6;if(_0x13a398==null)return;let {unitId:_0x22868e,redoState:_0x3e51a1,commandId:_0x53f95e}=_0x13a398;if(_0x22868e!==_0x340687['unitID'])return;let _0x5ccda9={'id':_0x53f95e,'type':_0x412392[_0x3223f3(0x1c5)]['MUTATION'],'params':{'unitId':_0x22868e,'actions':_0x3e51a1[_0x3223f3(0x329)],'textRanges':null}};_0x340687[_0x3223f3(0x3bf)](_0x5ccda9);});_0x340687[_0x581bd6(0x319)](_0x2e3e77),_0x340687 instanceof _0x3839b9[_0x581bd6(0x1b9)]&&_0x340687[_0x581bd6(0x3a1)]({'onTransformIME':_0x3d5bf2=>this[_0x581bd6(0x460)]['transformIMECache'](_0x3d5bf2),'onTransformState':_0x8470d5=>this[_0x581bd6(0x1b4)][_0x581bd6(0x42a)](_0x8470d5),'onTransformSelections':_0x2f833e=>this[_0x581bd6(0x364)][_0x581bd6(0x3f5)](_0x2f833e),'onSyncEditingCollabCursor':_0x5ae4f2=>this[_0x581bd6(0x2bf)]['syncEditingCollabCursor'](_0x5ae4f2),'onTransformRemoteChangesetByIMECache':_0x3519fc=>this['_docTransformIMECacheService'][_0x581bd6(0x3c1)](_0x3519fc),'onTransformRemoteChangesetByStateCache':_0x20ef24=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x20ef24)});}));}};_0x524fbf=_0x568561([_0x144f1b(0x0,(0x0,_0x412392['Inject'])(_0x493739[_0x2c832d(0x32a)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationController'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x564baf)),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0xcacb51)),_0x144f1b(0x4,(0x0,_0x412392['Inject'])(_0x2842fb)),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1fb69b)),_0x144f1b(0x6,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x524fbf);let _0x5325d3=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x27b851,_0x5095a7,_0xc77870,_0x4e433f){const _0x42a2ed=_0x2c832d;super(),this[_0x42a2ed(0x3b8)]=_0x27b851,this[_0x42a2ed(0x1ea)]=_0x5095a7,this[_0x42a2ed(0x436)]=_0xc77870,this['_collaborationSessionService']=_0x4e433f,_0x4a0977(this,'_memberID',void 0x0),this[_0x42a2ed(0x21c)]();}[_0x2c832d(0x21c)](){const _0x51396c=_0x2c832d;this[_0x51396c(0x1d4)](),this[_0x51396c(0x388)](),this[_0x51396c(0x372)](),this['_initUserListener']();}[_0x2c832d(0x2bb)](){const _0x35ba3f=_0x2c832d;this[_0x35ba3f(0x319)](this[_0x35ba3f(0x2be)][_0x35ba3f(0x290)][_0x35ba3f(0x2ef)](_0x27facb=>{const _0x2fdd8e=_0x35ba3f;this[_0x2fdd8e(0x442)]=_0x27facb==null?void 0x0:_0x27facb[_0x2fdd8e(0x4a3)];}));}[_0x2c832d(0x1d4)](){const _0x2a28f7=_0x2c832d;let _0x1082e5=_0x4081af=>{const _0x393a79=_0xff8c;var _0x2b0140;this['_uploadLog'](_0x393a79(0x286),_0x393a79(0x354)+_0x4081af[_0x393a79(0x474)]+_0x393a79(0x342)+_0x4081af['filename']+':'+_0x4081af[_0x393a79(0x46b)]+':'+_0x4081af[_0x393a79(0x3c7)]+'\x0a'+(((_0x2b0140=_0x4081af['error'])==null?void 0x0:_0x2b0140[_0x393a79(0x419)])||''));};window[_0x2a28f7(0x42d)]('error',_0x1082e5),this[_0x2a28f7(0x319)](()=>{const _0x2bad16=_0x2a28f7;window[_0x2bad16(0x476)](_0x2bad16(0x286),_0x1082e5);});}[_0x2c832d(0x388)](){const _0x5eaa7e=_0x2c832d;let _0x438d85=_0x3a8fe6=>{const _0x5efbd3=_0xff8c;this[_0x5efbd3(0x43d)](_0x5efbd3(0x286),'[Unhandled\x20Rejection]:\x20'+_0x3a8fe6[_0x5efbd3(0x2fe)]);};window[_0x5eaa7e(0x42d)]('unhandledrejection',_0x438d85),this[_0x5eaa7e(0x319)](()=>{const _0xe3a030=_0x5eaa7e;window[_0xe3a030(0x476)](_0xe3a030(0x250),_0x438d85);});}[_0x2c832d(0x372)](){const _0x5be6ad=_0x2c832d;let _0xb14842=this[_0x5be6ad(0x436)][_0x5be6ad(0x286)][_0x5be6ad(0x3af)](this[_0x5be6ad(0x436)]);this[_0x5be6ad(0x436)][_0x5be6ad(0x286)]=(..._0x53863e)=>{const _0x38a16f=_0x5be6ad;let _0x436b67=_0x53863e[_0x38a16f(0x464)](_0x393333=>_0x393333 instanceof Error?_0x393333[_0x38a16f(0x474)]+'\x0a'+_0x393333[_0x38a16f(0x419)]:String(_0x393333))[_0x38a16f(0x2f7)]('\x20');this[_0x38a16f(0x43d)](_0x38a16f(0x286),_0x38a16f(0x1c9)+_0x436b67),_0xb14842(..._0x53863e);},this[_0x5be6ad(0x319)](()=>{const _0x15b424=_0x5be6ad;this[_0x15b424(0x436)][_0x15b424(0x286)]=_0xb14842;});}['_uploadLog'](_0x18d3d8,_0xe92647){const _0x4c8196=_0x2c832d;try{let _0x30c6f1={'userId':this[_0x4c8196(0x442)],'logLabel':_0x18d3d8,'content':_0xe92647};this['_httpService']['post'](_0x4c8196(0x268),{'body':_0x30c6f1})['catch'](()=>{});}catch{}}};_0x5325d3=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00['HTTPService'])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x37f)]))],_0x5325d3);let _0x32a119=function(_0x43665a){const _0x2f9e39=_0x2c832d;return _0x43665a[_0x43665a[_0x2f9e39(0x39f)]=0x0]=_0x2f9e39(0x39f),_0x43665a[_0x43665a['OK']=0x1]='OK',_0x43665a[_0x43665a['INTERNAL_ERROR']=0x2]=_0x2f9e39(0x494),_0x43665a[_0x43665a[_0x2f9e39(0x1ad)]=0x3]=_0x2f9e39(0x1ad),_0x43665a[_0x43665a[_0x2f9e39(0x435)]=0x4]=_0x2f9e39(0x435),_0x43665a[_0x43665a[_0x2f9e39(0x381)]=0x5]=_0x2f9e39(0x381),_0x43665a[_0x43665a[_0x2f9e39(0x491)]=0x6]='ALREADY_EXISTS',_0x43665a[_0x43665a[_0x2f9e39(0x466)]=0x7]=_0x2f9e39(0x466),_0x43665a[_0x43665a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x43665a[_0x43665a[_0x2f9e39(0x1f6)]=0x9]='COMPLETION_FINISHED',_0x43665a[_0x43665a[_0x2f9e39(0x404)]=0xa]=_0x2f9e39(0x404),_0x43665a[_0x43665a[_0x2f9e39(0x2c0)]=0xb]=_0x2f9e39(0x2c0),_0x43665a[_0x43665a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2f9e39(0x2ca),_0x43665a[_0x43665a[_0x2f9e39(0x264)]=0xd]=_0x2f9e39(0x264),_0x43665a[_0x43665a[_0x2f9e39(0x213)]=0xe]=_0x2f9e39(0x213),_0x43665a[_0x43665a[_0x2f9e39(0x375)]=0xf]=_0x2f9e39(0x375),_0x43665a[_0x43665a[_0x2f9e39(0x1ec)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x43665a[_0x43665a['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2f9e39(0x1cb),_0x43665a[_0x43665a[_0x2f9e39(0x323)]=0x65]=_0x2f9e39(0x323),_0x43665a[_0x43665a[_0x2f9e39(0x37c)]=0xc9]=_0x2f9e39(0x37c),_0x43665a[_0x43665a[_0x2f9e39(0x349)]=0xca]=_0x2f9e39(0x349),_0x43665a[_0x43665a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2f9e39(0x340),_0x43665a[_0x43665a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2f9e39(0x1e5),_0x43665a[_0x43665a[_0x2f9e39(0x1a4)]=0x1772]=_0x2f9e39(0x1a4),_0x43665a[_0x43665a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2f9e39(0x2b9),_0x43665a[_0x43665a[_0x2f9e39(0x3ed)]=0x1b59]=_0x2f9e39(0x3ed),_0x43665a[_0x43665a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2f9e39(0x3ea),_0x43665a[_0x43665a[_0x2f9e39(0x463)]=0x1b5b]=_0x2f9e39(0x463),_0x43665a[_0x43665a[_0x2f9e39(0x42e)]=0x1b5c]=_0x2f9e39(0x42e),_0x43665a[_0x43665a[_0x2f9e39(0x225)]=0x1b5d]=_0x2f9e39(0x225),_0x43665a[_0x43665a[_0x2f9e39(0x227)]=0x1f41]=_0x2f9e39(0x227),_0x43665a[_0x43665a[_0x2f9e39(0x1b6)]=0x2329]=_0x2f9e39(0x1b6),_0x43665a[_0x43665a[_0x2f9e39(0x1af)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x43665a[_0x43665a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2f9e39(0x434),_0x43665a[_0x43665a[_0x2f9e39(0x2a1)]=0x232c]=_0x2f9e39(0x2a1),_0x43665a[_0x43665a[_0x2f9e39(0x371)]=0x232d]=_0x2f9e39(0x371),_0x43665a[_0x43665a[_0x2f9e39(0x1d7)]=0x2711]=_0x2f9e39(0x1d7),_0x43665a[_0x43665a[_0x2f9e39(0x214)]=0x2712]=_0x2f9e39(0x214),_0x43665a[_0x43665a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2f9e39(0x369),_0x43665a[_0x43665a[_0x2f9e39(0x24e)]=0x2714]=_0x2f9e39(0x24e),_0x43665a[_0x43665a[_0x2f9e39(0x1f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x43665a[_0x43665a[_0x2f9e39(0x27e)]=0x271b]=_0x2f9e39(0x27e),_0x43665a[_0x43665a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2f9e39(0x2cd),_0x43665a[_0x43665a[_0x2f9e39(0x209)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x43665a[_0x43665a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2f9e39(0x1b3),_0x43665a[_0x43665a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2f9e39(0x3b5),_0x43665a[_0x43665a[_0x2f9e39(0x19d)]=0x2720]=_0x2f9e39(0x19d),_0x43665a[_0x43665a[_0x2f9e39(0x31d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x43665a[_0x43665a[_0x2f9e39(0x483)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x43665a[_0x43665a[_0x2f9e39(0x3b4)]=0x2ee2]='INVALID_INVITE_CODE',_0x43665a[_0x43665a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2f9e39(0x332),_0x43665a[_0x43665a[_0x2f9e39(0x1d1)]=0x2ee4]=_0x2f9e39(0x1d1),_0x43665a[_0x43665a[_0x2f9e39(0x48e)]=0x2ee5]=_0x2f9e39(0x48e),_0x43665a[_0x43665a[_0x2f9e39(0x23b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2ae)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2d3)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x296)]=0x36b1]=_0x2f9e39(0x296),_0x43665a[_0x43665a[_0x2f9e39(0x345)]=0x36b2]=_0x2f9e39(0x345),_0x43665a[_0x43665a[_0x2f9e39(0x4a7)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x43665a[_0x43665a[_0x2f9e39(0x415)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x43665a[_0x43665a[_0x2f9e39(0x1e1)]=0x36b5]=_0x2f9e39(0x1e1),_0x43665a[_0x43665a[_0x2f9e39(0x2e7)]=0x36b6]=_0x2f9e39(0x2e7),_0x43665a[_0x43665a[_0x2f9e39(0x211)]=0x36b7]=_0x2f9e39(0x211),_0x43665a[_0x43665a[_0x2f9e39(0x450)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x43665a[_0x43665a[_0x2f9e39(0x298)]=0x3715]=_0x2f9e39(0x298),_0x43665a[_0x43665a['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x2f9e39(0x420),_0x43665a[_0x43665a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x2f9e39(0x44f),_0x43665a[_0x43665a[_0x2f9e39(0x33d)]=0x37dd]=_0x2f9e39(0x33d),_0x43665a[_0x43665a['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x43665a[_0x43665a[_0x2f9e39(0x40a)]=0x3a9a]=_0x2f9e39(0x40a),_0x43665a[_0x43665a[_0x2f9e39(0x308)]=0x3a9b]=_0x2f9e39(0x308),_0x43665a[_0x43665a[_0x2f9e39(0x3d3)]=0x3a9c]=_0x2f9e39(0x3d3),_0x43665a[_0x43665a[_0x2f9e39(0x359)]=0x3a9d]=_0x2f9e39(0x359),_0x43665a[_0x43665a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2f9e39(0x3ef),_0x43665a[_0x43665a[_0x2f9e39(0x23d)]=0x3a9f]=_0x2f9e39(0x23d),_0x43665a[_0x43665a['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2f9e39(0x4ae),_0x43665a[_0x43665a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43665a;}({});function _0x1b274c(_0xf8a65c){const _0x5baf2d=_0x2c832d;var _0x3a4059,_0x6cfd20;let _0x5b96ec=(_0x3a4059=_0xf8a65c['stageInfo'])==null?void 0x0:_0x3a4059[_0x5baf2d(0x233)],_0x40dc45=((_0x6cfd20=_0xf8a65c[_0x5baf2d(0x46a)])==null?void 0x0:_0x6cfd20['totalFormulasToCalculate'])||0x0;return _0x5b96ec===_0x3eef3a[_0x5baf2d(0x282)]['START_CALCULATION']&&_0x40dc45>0x0;}function _0x324149(_0xbb2aec){const _0x3a818c=_0x2c832d;return _0xbb2aec[_0x3a818c(0x2c1)]===_0x3eef3a[_0x3a818c(0x2ad)][_0x3a818c(0x31b)];}let _0x381f4e=class extends _0x412392['Disposable']{constructor(_0x4f9596,_0x480af2,_0x4f21f6,_0x56c08b,_0x1b92ab,_0x40cc24,_0x134de5){const _0x31bfad=_0x2c832d;super(),this[_0x31bfad(0x2aa)]=_0x4f9596,this['_commandService']=_0x480af2,this[_0x31bfad(0x44e)]=_0x4f21f6,this[_0x31bfad(0x1ea)]=_0x56c08b,this[_0x31bfad(0x206)]=_0x1b92ab,this['_logService']=_0x40cc24,this[_0x31bfad(0x2c6)]=_0x134de5,_0x4a0977(this,'_pollingInterval',null),_0x4a0977(this,_0x31bfad(0x324),0x0),_0x4a0977(this,_0x31bfad(0x2a7),0x0),_0x4a0977(this,_0x31bfad(0x273),[]),_0x4a0977(this,_0x31bfad(0x382),0x0),this[_0x31bfad(0x210)]();}['_initCommandInterceptor'](){const _0x8422a7=_0x2c832d;this[_0x8422a7(0x319)](this[_0x8422a7(0x3b6)]['beforeCommandExecuted']((_0x359d45,_0x1467e8)=>{const _0x4a9aee=_0x8422a7;var _0x31d52b;if(_0x359d45['id']!==_0x3eef3a[_0x4a9aee(0x322)]['id'])return;let _0x2cf2f5=_0x359d45[_0x4a9aee(0x29c)];if(this['_hasFormulaInDirtyRanges']((_0x31d52b=_0x2cf2f5[_0x4a9aee(0x2fc)])==null?[]:_0x31d52b)&&!this[_0x4a9aee(0x22d)]())throw this[_0x4a9aee(0x314)](_0x359d45,_0x1467e8),this[_0x4a9aee(0x27a)](),new _0x412392[(_0x4a9aee(0x48d))]();})),this[_0x8422a7(0x319)](this['_commandService']['onCommandExecuted']((_0x193f06,_0x302f40)=>{const _0x387760=_0x8422a7;if(_0x193f06['id']!==_0x3eef3a[_0x387760(0x34c)]['id'])return;let _0x4e5f8b=_0x193f06[_0x387760(0x29c)];if(_0x1b274c(_0x4e5f8b)){let _0x3fc97a=(0x0,_0x412392['generateRandomId'])();this[_0x387760(0x273)][_0x387760(0x1ee)](_0x3fc97a),this[_0x387760(0x41c)](_0x3fc97a);}else{if(_0x324149(_0x4e5f8b)&&this[_0x387760(0x273)][_0x387760(0x1e6)]>0x0){let _0x2567f7=this[_0x387760(0x273)][_0x387760(0x22f)]();this['_releaseCalculationLimit'](_0x2567f7);}}}));}[_0x2c832d(0x43c)](){const _0x4f9a1f=_0x2c832d;super['dispose'](),this[_0x4f9a1f(0x428)](),this[_0x4f9a1f(0x273)]=[],this[_0x4f9a1f(0x2a7)]=0x0,this[_0x4f9a1f(0x324)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x2c832d(0x314)](_0x363923,_0x3ca14e){const _0x364506=_0x2c832d;for(let _0x42913f=0x0;_0x42913f<0x1e;_0x42913f++)try{if(await this['_getFormulaLimitStatus'](),this[_0x364506(0x22d)]()){this[_0x364506(0x36b)](_0x363923,_0x3ca14e),this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t'](_0x364506(0x312)),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x275)]});return;}await new Promise(_0xc0dd85=>{const _0x1ad9fa=_0x364506;this[_0x1ad9fa(0x3ca)]=window[_0x1ad9fa(0x2e5)](_0xc0dd85,0x3e8);});}catch(_0x3fac32){this[_0x364506(0x436)]['error'](_0x3fac32);}this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t']('formula.calculation.unable'),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x1d8)]});}[_0x2c832d(0x36b)](_0x3033e4,_0x1b6e46){const _0x4add4d=_0x2c832d;try{this['_commandService'][_0x4add4d(0x2d6)](_0x3033e4['id'],_0x3033e4[_0x4add4d(0x29c)],_0x1b6e46);}catch(_0x78c37){this[_0x4add4d(0x436)][_0x4add4d(0x286)](_0x78c37);}}[_0x2c832d(0x339)](_0x35cdce,_0x10cd2f){const _0x24bcde=_0x2c832d;_0x10cd2f<this[_0x24bcde(0x382)]||(this['_lastResponseTimestamp']=_0x10cd2f,this['_maxFormulaLimit']=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x4a4)]),this[_0x24bcde(0x2a7)]=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x35b)]));}async['_startCalculationLimit'](_0xf4f313){const _0x10d4d8=_0x2c832d;let _0x3daac2=Date[_0x10d4d8(0x2ed)]();try{var _0x43da57,_0x51d4a9;let _0x15c939=((_0x43da57=this[_0x10d4d8(0x44e)][_0x10d4d8(0x1aa)](_0x3839b9[_0x10d4d8(0x377)]))==null?void 0x0:_0x43da57[_0x10d4d8(0x2e0)])||'/universer-api/license/formula/limit/start',_0x41be66=(await this[_0x10d4d8(0x1ea)][_0x10d4d8(0x2f5)](_0x15c939,{'body':JSON[_0x10d4d8(0x47d)]({'taskId':_0xf4f313})}))[_0x10d4d8(0x21d)];if(((_0x51d4a9=_0x41be66[_0x10d4d8(0x286)])==null?void 0x0:_0x51d4a9[_0x10d4d8(0x28f)])!==_0x32a119['OK'])return;this[_0x10d4d8(0x339)](_0x41be66[_0x10d4d8(0x32b)],_0x3daac2);}catch(_0x7268e7){this[_0x10d4d8(0x436)][_0x10d4d8(0x286)](_0x7268e7);}}async[_0x2c832d(0x3d2)](_0x549b36){const _0x4a809b=_0x2c832d;let _0x4931e8=Date[_0x4a809b(0x2ed)]();try{var _0x5174d5,_0x5699af;let _0x35ede1=((_0x5174d5=this[_0x4a809b(0x44e)]['getConfig'](_0x3839b9[_0x4a809b(0x377)]))==null?void 0x0:_0x5174d5[_0x4a809b(0x1f3)])||_0x4a809b(0x24c),_0x463cf5=_0x549b36?_0x35ede1+_0x4a809b(0x395)+encodeURIComponent(_0x549b36):_0x35ede1,_0x51ae92=(await this[_0x4a809b(0x1ea)][_0x4a809b(0x24d)](_0x463cf5))['body'];if(((_0x5699af=_0x51ae92[_0x4a809b(0x286)])==null?void 0x0:_0x5699af['code'])!==_0x32a119['OK'])return;this[_0x4a809b(0x339)](_0x51ae92[_0x4a809b(0x32b)],_0x4931e8);}catch(_0x1c8c8a){this['_logService'][_0x4a809b(0x286)](_0x1c8c8a);}}async[_0x2c832d(0x1ef)](_0xaeb0c3){const _0x1a048a=_0x2c832d;let _0x408d86=Date[_0x1a048a(0x2ed)]();try{var _0x307667,_0x3e0e47;let _0x2cc5ae=((_0x307667=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x307667['releaseFormulaLimitUrl'])||_0x1a048a(0x2ab),_0x5c11c8=(await this[_0x1a048a(0x1ea)]['post'](_0x2cc5ae,{'body':JSON['stringify']({'taskId':_0xaeb0c3})}))[_0x1a048a(0x21d)];if(((_0x3e0e47=_0x5c11c8[_0x1a048a(0x286)])==null?void 0x0:_0x3e0e47[_0x1a048a(0x28f)])!==_0x32a119['OK'])return;this[_0x1a048a(0x339)](_0x5c11c8[_0x1a048a(0x32b)],_0x408d86);}catch(_0x2db552){this[_0x1a048a(0x436)][_0x1a048a(0x286)](_0x2db552);}}[_0x2c832d(0x22d)](){const _0x202862=_0x2c832d;return this[_0x202862(0x324)]===0x0?!0x0:this[_0x202862(0x324)]-this[_0x202862(0x2a7)]>0x0;}[_0x2c832d(0x428)](){const _0x3ce997=_0x2c832d;this[_0x3ce997(0x3ca)]&&(clearTimeout(this[_0x3ce997(0x3ca)]),this[_0x3ce997(0x3ca)]=null);}[_0x2c832d(0x27a)](){const _0x4173ba=_0x2c832d;this[_0x4173ba(0x2aa)][_0x4173ba(0x251)]({'content':this[_0x4173ba(0x2c6)]['t'](_0x4173ba(0x3c5)),'type':_0x39ba33['MessageType'][_0x4173ba(0x44b)]});}[_0x2c832d(0x3da)](_0x249914){const _0x2aa197=_0x2c832d;for(let _0x5d8da3 of _0x249914){let {unitId:_0x12265f,sheetId:_0x10247e,range:_0x56d544}=_0x5d8da3,_0x12042b=this[_0x2aa197(0x206)]['getUnit'](_0x12265f);if(!_0x12042b)continue;let _0x49244f=_0x12042b['getSheetBySheetId'](_0x10247e);if(!_0x49244f)continue;let _0x290f0e=_0x49244f[_0x2aa197(0x307)]();for(let _0x50ea9e=_0x56d544['startRow'];_0x50ea9e<=_0x56d544['endRow'];_0x50ea9e++)for(let _0xc547a9=_0x56d544[_0x2aa197(0x253)];_0xc547a9<=_0x56d544[_0x2aa197(0x35e)];_0xc547a9++){let _0x425cfd=_0x290f0e[_0x2aa197(0x42c)](_0x50ea9e,_0xc547a9);if(_0x425cfd&&((0x0,_0x412392[_0x2aa197(0x26a)])(_0x425cfd['f'])||(0x0,_0x412392[_0x2aa197(0x3d4)])(_0x425cfd['si'])))return!0x0;}}return!0x1;}};_0x381f4e=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x197442[_0x2c832d(0x49d)])),_0x144f1b(0x1,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x4,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x5,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x6,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['LocaleService']))],_0x381f4e);let _0x490512=class extends _0x412392['Disposable']{constructor(_0x391c05,_0x4c51db,_0x2de54f){const _0x47a776=_0x2c832d;super(),this[_0x47a776(0x44e)]=_0x391c05,this[_0x47a776(0x42f)]=_0x4c51db,this['_revisionService']=_0x2de54f,_0x4a0977(this,_0x47a776(0x2a4),new Map()),_0x4a0977(this,_0x47a776(0x295),new Map()),_0x4a0977(this,_0x47a776(0x3e6),!0x1);}[_0x2c832d(0x2e9)](){const _0x3a2124=_0x2c832d;this[_0x3a2124(0x3e6)]=!0x0;}[_0x2c832d(0x3e7)](){this['_disabled']=!0x1;}get[_0x2c832d(0x45b)](){const _0x5f572d=_0x2c832d;return this[_0x5f572d(0x295)];}[_0x2c832d(0x43c)](){const _0x1e6a04=_0x2c832d;this['exhaustSavingTask']()['then'](()=>super[_0x1e6a04(0x43c)]());}async[_0x2c832d(0x1be)](_0x3a12ee){const _0x22fad6=_0x2c832d;return this[_0x22fad6(0x3e6)]?null:this[_0x22fad6(0x42f)][_0x22fad6(0x3b2)]((0x0,_0x3839b9[_0x22fad6(0x416)])(_0x3a12ee));}async[_0x2c832d(0x237)](_0x3b74d8,_0x59f3ee){const _0x15e3a3=_0x2c832d;return!!this[_0x15e3a3(0x42f)][_0x15e3a3(0x408)](_0x3b74d8,_0x59f3ee);}[_0x2c832d(0x3fb)](_0x306593,_0x5818b3,_0x4f23ba,_0x524981){const _0x44dd28=_0x2c832d;let _0x437286=this[_0x44dd28(0x353)]['getCurrentRevOfUnit'](_0x306593);this[_0x44dd28(0x2a4)][_0x44dd28(0x2c9)](_0x306593,{'unitID':_0x306593,'type':_0x5818b3,'awaitingChangeset':_0x4f23ba,'mutations':_0x524981,'rev':_0x437286}),this[_0x44dd28(0x295)][_0x44dd28(0x27c)](_0x306593)||this[_0x44dd28(0x328)](_0x306593);}[_0x2c832d(0x328)](_0x3411dc){const _0x4da5d3=_0x2c832d;let _0x40e695=this['_getSaveTimeout']();_0x40e695===0x0?this[_0x4da5d3(0x1cd)](_0x3411dc):this['_saveTaskMap'][_0x4da5d3(0x2c9)](_0x3411dc,setTimeout(()=>this[_0x4da5d3(0x1cd)](_0x3411dc),_0x40e695));}[_0x2c832d(0x28c)](){const _0x2c34ac=_0x2c832d;var _0x4196a2;return(_0x4196a2=this[_0x2c34ac(0x44e)][_0x2c34ac(0x1aa)](_0x3839b9[_0x2c34ac(0x302)]))==null?_0x3839b9[_0x2c34ac(0x3ae)]:_0x4196a2;}['_saveCache'](_0x1b4a91){const _0x551440=_0x2c832d;let _0x2b528a=this[_0x551440(0x295)][_0x551440(0x24d)](_0x1b4a91);return _0x2b528a!==void 0x0&&window[_0x551440(0x4a1)](_0x2b528a),this[_0x551440(0x42f)][_0x551440(0x408)]((0x0,_0x3839b9['getLocalCacheKey'])(_0x1b4a91),this['_cachedData'][_0x551440(0x24d)](_0x1b4a91))[_0x551440(0x486)](()=>this[_0x551440(0x295)]['delete'](_0x1b4a91));}async[_0x2c832d(0x22e)](){const _0x504a12=_0x2c832d;let _0x7d90e7=[];this[_0x504a12(0x295)][_0x504a12(0x341)]((_0x44a9ef,_0x25975a)=>{const _0x59c90c=_0x504a12;window[_0x59c90c(0x4a1)](_0x44a9ef),_0x7d90e7[_0x59c90c(0x1ee)](this[_0x59c90c(0x1cd)](_0x25975a)[_0x59c90c(0x486)](()=>{const _0xa0593b=_0x59c90c;this[_0xa0593b(0x295)][_0xa0593b(0x44c)](_0x25975a);}));}),await Promise['all'](_0x7d90e7);}};_0x490512=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x1,_0x412392['ILocalStorageService']),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x584220['RevisionService']))],_0x490512);var _0x2f801c=class extends _0x412392[_0x2c832d(0x2df)]{constructor(){const _0x18e055=_0x2c832d;super(),_0x4a0977(this,_0x18e055(0x1e7),void 0x0),this['urlChange$']=(0x0,_0x1af95b['fromEvent'])(window,_0x18e055(0x470))[_0x18e055(0x1ed)]((0x0,_0x1af95b[_0x18e055(0x37d)])(this[_0x18e055(0x378)]),(0x0,_0x1af95b[_0x18e055(0x481)])(0x1),(0x0,_0x1af95b['mapTo'])(void 0x0));}[_0x2c832d(0x1a6)](_0x5a5a5d,_0x1e4657,_0x49bad8=!0x1){const _0x5c703a=_0x2c832d;let _0x642509=new URL(window[_0x5c703a(0x297)][_0x5c703a(0x343)]);_0x642509[_0x5c703a(0x480)][_0x5c703a(0x2c9)](_0x5a5a5d,_0x1e4657),_0x49bad8?window['history'][_0x5c703a(0x1fc)]('','',_0x642509[_0x5c703a(0x263)]()):window['history'][_0x5c703a(0x41b)]('','',_0x642509['toString']());}[_0x2c832d(0x409)](_0x56a534,_0x1aebcd=!0x1){const _0x26cdd2=_0x2c832d;let _0x5a24f8=new URL(window['location']['href']);_0x5a24f8[_0x26cdd2(0x480)][_0x26cdd2(0x44c)](_0x56a534),_0x1aebcd?window[_0x26cdd2(0x3e9)][_0x26cdd2(0x1fc)]('','',_0x5a24f8[_0x26cdd2(0x263)]()):window[_0x26cdd2(0x3e9)][_0x26cdd2(0x41b)]('','',_0x5a24f8[_0x26cdd2(0x263)]());}[_0x2c832d(0x25f)](_0x5dd86c){const _0x4b68c3=_0x2c832d;var _0x439fc2;return(_0x439fc2=new URL(window['location'][_0x4b68c3(0x343)])[_0x4b68c3(0x480)]['get'](_0x5dd86c))==null?void 0x0:_0x439fc2;}};let _0x2383b6=class extends _0x412392['Plugin']{constructor(_0x1f408e=_0x43887c,_0xc42a9f,_0x254b2c,_0xbee01){const _0x3dc0bc=_0x2c832d;super(),this['_config']=_0x1f408e,this[_0x3dc0bc(0x4a6)]=_0xc42a9f,this[_0x3dc0bc(0x3b8)]=_0x254b2c,this['_configService']=_0xbee01;let {..._0x17699b}=(0x0,_0x412392[_0x3dc0bc(0x203)])({},_0x43887c,this[_0x3dc0bc(0x3f8)]);this['_configService']['setConfig'](_0x45e6c7,_0x17699b);}[_0x2c832d(0x1cf)](){const _0x4f08d8=_0x2c832d;this[_0x4f08d8(0x216)](),this[_0x4f08d8(0x241)]();}[_0x2c832d(0x455)](){const _0x429316=_0x2c832d;this[_0x429316(0x26b)]();}[_0x2c832d(0x216)](){const _0x5b9f89=_0x2c832d;var _0x2a7bd6;let _0x400de4=[[_0x4ad64a],[_0x381f4e],[_0x2842fb],[_0x564baf],[_0xcacb51],[_0x1fb69b],[_0x8c589b,{'useClass':_0x2f801c}],[_0x1aaf00[_0x5b9f89(0x1a5)],{'useClass':_0x1aaf00[_0x5b9f89(0x401)]}],[_0x3839b9[_0x5b9f89(0x391)],{'useClass':_0x490512}],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x270b73],[_0x3d1d63],[_0x2109df]];this[_0x5b9f89(0x3f8)][_0x5b9f89(0x315)]&&_0x400de4[_0x5b9f89(0x1ee)]([_0x5325d3]),(0x0,_0x412392[_0x5b9f89(0x477)])(this['_injector'],(0x0,_0x412392[_0x5b9f89(0x485)])(_0x400de4,(_0x2a7bd6=this[_0x5b9f89(0x3f8)])==null?void 0x0:_0x2a7bd6[_0x5b9f89(0x4b1)]));}[_0x2c832d(0x26b)](){const _0x63aac1=_0x2c832d;this['disposeWithMe'](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392[_0x63aac1(0x32f)][_0x63aac1(0x1a2)],[_0x3e3eab])),this[_0x63aac1(0x319)](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392['UniverInstanceType']['UNIVER_SHEET'],[_0x19300d]));}['_initDependencies'](){const _0x549631=_0x2c832d;(0x0,_0x412392['touchDependencies'])(this[_0x549631(0x3b8)],[[_0x270b73],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x2109df],[_0x381f4e]]),this[_0x549631(0x3f8)]['enableFrontendLog']&&(0x0,_0x412392[_0x549631(0x327)])(this[_0x549631(0x3b8)],[[_0x5325d3]]);}};_0x4a0977(_0x2383b6,_0x2c832d(0x1c7),_0x2c832d(0x22c)),_0x4a0977(_0x2383b6,_0x2c832d(0x27f),_0x29c032),_0x4a0977(_0x2383b6,'version',_0x35beee),_0x2383b6=_0x568561([(0x0,_0x412392[_0x2c832d(0x445)])(_0x3839b9[_0x2c832d(0x3b9)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,_0x412392[_0x2c832d(0x49b)])],_0x2383b6);let _0x5c710b=class extends _0x3839b9[_0x2c832d(0x3a4)]{constructor(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3){super(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3);}async['createSocket'](_0x505e92){const _0x16496=_0x2c832d;let _0x4605ce=await this['_getSessionTicket'](),_0x12712c=this[_0x16496(0x45a)](_0x505e92,_0x4605ce);return this[_0x16496(0x338)](_0x12712c);}[_0x2c832d(0x45a)](_0x390e17,_0x24d4fc){const _0x4c3460=_0x2c832d;let _0x5c7d23=typeof window>'u'?new URL(_0x390e17):new URL(_0x390e17,window[_0x4c3460(0x297)][_0x4c3460(0x379)]);_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)](_0x4c3460(0x4b0),_0x24d4fc);let _0x3baed0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c3460(0x297)][_0x4c3460(0x1d0)]);return _0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))&&_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)]('runId',_0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))),_0x5c7d23['toString']();}async[_0x2c832d(0x488)](){const _0x4a5740=_0x2c832d;var _0x110cfb,_0x487347,_0x1ce08c;let _0x537013=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x40f0b8=(_0x110cfb=_0x537013==null?void 0x0:_0x537013[_0x4a5740(0x232)])==null?_0x3839b9[_0x4a5740(0x490)]:_0x110cfb;return(_0x487347=(_0x1ce08c=(await this[_0x4a5740(0x1ea)][_0x4a5740(0x24d)](_0x40f0b8,{'headers':{'Content-Type':_0x4a5740(0x3f1)}}))[_0x4a5740(0x21d)])==null?void 0x0:_0x1ce08c[_0x4a5740(0x20e)])==null?'':_0x487347;}};_0x5c710b=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,_0x412392['ILogService']),_0x144f1b(0x4,_0x584220['ISnapshotServerService'])],_0x5c710b);let _0x160a0f=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0xed4db0,_0x5a84e0,_0x55303e){const _0x55acee=_0x2c832d;super(),this[_0x55acee(0x24b)]=_0xed4db0,this[_0x55acee(0x1ea)]=_0x5a84e0,this[_0x55acee(0x44e)]=_0x55303e;}async[_0x2c832d(0x431)](_0x52f092,_0xdd806,_0x3c98af,..._0x5c42f6){const _0xe41a69=_0x2c832d;var _0x9638d5,_0x34b2b6,_0x58e6aa,_0x229643;let _0x598069=this[_0xe41a69(0x24b)]['getFocusedUnit']();if(!_0x598069)throw Error(_0xe41a69(0x2c4));let _0x187d4b=((_0x9638d5=this[_0xe41a69(0x44e)]['getConfig'](_0x3839b9['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x3839b9[_0xe41a69(0x4ac)]:_0x9638d5)+'/'+_0x52f092+_0xe41a69(0x2e4)+_0xdd806,_0x2ff607={'scriptId':_0x52f092,'runId':(_0x34b2b6=new URL(window[_0xe41a69(0x297)][_0xe41a69(0x343)])[_0xe41a69(0x480)][_0xe41a69(0x24d)]('runId'))==null?'':_0x34b2b6,'function':_0xdd806,'unitId':_0x598069[_0xe41a69(0x418)](),'argsOfFunction':JSON[_0xe41a69(0x47d)](_0x5c42f6),'invokeId':(_0x58e6aa=_0x3c98af['invokeId'])==null?'':_0x58e6aa,'executionId':(_0x229643=_0x3c98af['executionId'])==null?'':_0x229643};try{let _0x5a0ddb=await this[_0xe41a69(0x1ea)][_0xe41a69(0x2f5)](_0x187d4b,{'body':_0x2ff607});return _0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)]&&_0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)][_0xe41a69(0x28f)]!==_0x32a119['OK']?_0xe41a69(0x3f9):_0x5a0ddb['body']['result'];}catch{return'Failed';}}};_0x160a0f=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)])],_0x160a0f);var _0x4b1d71=function(_0x3c1f3f){const _0x100dc2=_0x2c832d;return _0x3c1f3f[_0x3c1f3f[_0x100dc2(0x1b1)]=0x0]=_0x100dc2(0x1b1),_0x3c1f3f[_0x3c1f3f['LEAVE']=0x1]='LEAVE',_0x3c1f3f[_0x3c1f3f[_0x100dc2(0x43b)]=0x2]=_0x100dc2(0x43b),_0x3c1f3f;}(_0x4b1d71||{});let _0x3277b1=0x7530,_0x186652=_0x2c832d(0x325);var _0x1e3d69=class extends _0x412392[_0x2c832d(0x29e)]{constructor(){const _0x5e0a9c=_0x2c832d;super(),_0x4a0977(this,_0x5e0a9c(0x2eb),(0x0,_0x412392['generateRandomId'])()),_0x4a0977(this,_0x5e0a9c(0x362),new Set()),_0x4a0977(this,'_unitOnClients',new Map()),_0x4a0977(this,_0x5e0a9c(0x440),null),_0x4a0977(this,_0x5e0a9c(0x27d),new Map()),_0x4a0977(this,_0x5e0a9c(0x47e),new Map()),this[_0x5e0a9c(0x21c)]();}[_0x2c832d(0x43c)](){const _0xb6aaa7=_0x2c832d;super['dispose'](),this['_clearOtherTimers'][_0xb6aaa7(0x341)]((_0x19744b,_0x25058c)=>this[_0xb6aaa7(0x31f)](_0x25058c)),this[_0xb6aaa7(0x440)]&&window['clearInterval'](this[_0xb6aaa7(0x440)]);}['getUnitStatus$'](_0x36e4bf){const _0x3aec2a=_0x2c832d;return this[_0x3aec2a(0x29b)](_0x36e4bf)[_0x3aec2a(0x1ed)]((0x0,_0x1af95b[_0x3aec2a(0x3fd)])());}['editingUnit'](_0x35828f){const _0x561b77=_0x2c832d;this['_selfUnitIDs'][_0x561b77(0x48a)]===0x0&&this[_0x561b77(0x201)](),this['_selfUnitIDs'][_0x561b77(0x36a)](_0x35828f),this[_0x561b77(0x413)]({'type':_0x4b1d71[_0x561b77(0x1b1)],'memberID':this[_0x561b77(0x2eb)],'unitIDs':[_0x35828f],'isForwarded':!0x1});}['disposeUnit'](_0x30ab96){const _0x4c5218=_0x2c832d;this['_selfUnitIDs'][_0x4c5218(0x44c)](_0x30ab96),this[_0x4c5218(0x362)][_0x4c5218(0x48a)]===0x0&&this[_0x4c5218(0x440)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c832d(0x21c)](){const _0x747d37=_0x2c832d;this[_0x747d37(0x319)]((0x0,_0x412392[_0x747d37(0x1fa)])((0x0,_0x1af95b[_0x747d37(0x411)])(window,_0x747d37(0x3dc))[_0x747d37(0x2ef)](_0x4e0d95=>{const _0xf8bb97=_0x747d37;if(_0x4e0d95[_0xf8bb97(0x3f0)]!==_0x186652||!_0x4e0d95[_0xf8bb97(0x30f)])return;let _0x23f301=JSON[_0xf8bb97(0x336)](_0x4e0d95[_0xf8bb97(0x30f)]);this[_0xf8bb97(0x1e9)](_0x23f301);}))),window[_0x747d37(0x42d)]('unload',()=>this[_0x747d37(0x413)]({'type':_0x4b1d71['LEAVE'],'memberID':this[_0x747d37(0x2eb)],'unitIDs':Array[_0x747d37(0x238)](this[_0x747d37(0x362)])}));}[_0x2c832d(0x1e9)](_0x1502dd){const _0x3ecc2b=_0x2c832d;switch(_0x1502dd[_0x3ecc2b(0x199)]){case _0x4b1d71[_0x3ecc2b(0x1b1)]:this[_0x3ecc2b(0x34d)](_0x1502dd);break;case _0x4b1d71['LEAVE']:this[_0x3ecc2b(0x3aa)](_0x1502dd);break;case _0x4b1d71[_0x3ecc2b(0x43b)]:this[_0x3ecc2b(0x47a)](_0x1502dd);break;}}[_0x2c832d(0x34d)](_0xf0c75){const _0x1db770=_0x2c832d;let {unitIDs:_0x4973d7,memberID:_0x11164a,isForwarded:_0x39ff39}=_0xf0c75;_0x4973d7['forEach'](_0x4fd6c4=>{const _0x56d87d=_0xff8c;if(!_0x39ff39&&this[_0x56d87d(0x41a)]['has'](_0x4fd6c4)&&this[_0x56d87d(0x29b)](_0x4fd6c4)[_0x56d87d(0x34a)](_0x3839b9['UnitStatus'][_0x56d87d(0x49e)]),!this[_0x56d87d(0x41a)][_0x56d87d(0x27c)](_0x4fd6c4)||!this[_0x56d87d(0x41a)][_0x56d87d(0x24d)](_0x4fd6c4)[_0x56d87d(0x27c)](_0x11164a)){let _0x1437fa=this['_unitOnClients']['get'](_0x4fd6c4)||new Set();_0x1437fa[_0x56d87d(0x36a)](_0x11164a),this[_0x56d87d(0x41a)][_0x56d87d(0x2c9)](_0x4fd6c4,_0x1437fa),this['_scheduleClearOtherTimer'](_0x11164a);}}),_0x39ff39||this[_0x1db770(0x413)]({'type':_0x4b1d71[_0x1db770(0x1b1)],'memberID':this[_0x1db770(0x2eb)],'unitIDs':[...this[_0x1db770(0x362)]],'isForwarded':!0x0});}[_0x2c832d(0x3df)](_0x1f4294){const _0x31083b=_0x2c832d;this[_0x31083b(0x31f)](_0x1f4294);let _0x28848d=window[_0x31083b(0x2e5)](()=>{const _0x5197e0=_0x31083b;this[_0x5197e0(0x41a)][_0x5197e0(0x341)](_0x45bd9a=>{const _0x2a02f9=_0x5197e0;_0x45bd9a[_0x2a02f9(0x44c)](_0x1f4294);});},_0x3277b1*0x2);this[_0x31083b(0x27d)][_0x31083b(0x2c9)](_0x1f4294,_0x28848d);}[_0x2c832d(0x31f)](_0x181a85){const _0x523a79=_0x2c832d;if(this[_0x523a79(0x27d)][_0x523a79(0x27c)](_0x181a85)){let _0x36a4f2=this['_clearOtherTimers'][_0x523a79(0x24d)](_0x181a85);_0x36a4f2&&window['clearTimeout'](_0x36a4f2),this[_0x523a79(0x27d)][_0x523a79(0x2c9)](_0x181a85,null);}}[_0x2c832d(0x3aa)](_0xd73bb7){const _0x3ee694=_0x2c832d;let {memberID:_0x338de5,unitIDs:_0x5d2e02}=_0xd73bb7;_0x5d2e02[_0x3ee694(0x341)](_0x445658=>{const _0x2346e6=_0x3ee694;var _0x4b4fa0;let _0x2ccc09=this['_unitOnClients']['get'](_0x445658);_0x2ccc09&&(_0x2ccc09[_0x2346e6(0x44c)](_0x338de5),(_0x4b4fa0=this[_0x2346e6(0x29b)](_0x445658))==null||_0x4b4fa0['next'](_0x2ccc09['size']===0x0?_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x421)]:_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x49e)]));}),this[_0x3ee694(0x31f)](_0x338de5);}[_0x2c832d(0x47a)](_0xb150f6){const _0x23d8d5=_0x2c832d;this[_0x23d8d5(0x3df)](_0xb150f6['memberID']);}[_0x2c832d(0x413)](_0x3f4508){const _0x4170a8=_0x2c832d;localStorage[_0x4170a8(0x408)](_0x186652,JSON['stringify'](_0x3f4508));}[_0x2c832d(0x201)](){const _0x45082a=_0x2c832d;this[_0x45082a(0x440)]=window[_0x45082a(0x333)](()=>{const _0x4c58d9=_0x45082a;this[_0x4c58d9(0x413)]({'type':_0x4b1d71[_0x4c58d9(0x43b)],'memberID':this[_0x4c58d9(0x2eb)]});},_0x3277b1);}['_ensureSubject'](_0x2e5e4c){const _0x199b6d=_0x2c832d;return this[_0x199b6d(0x47e)][_0x199b6d(0x27c)](_0x2e5e4c)||this['_unitStatus'][_0x199b6d(0x2c9)](_0x2e5e4c,new _0x1af95b[(_0x199b6d(0x3d7))](_0x3839b9['UnitStatus'][_0x199b6d(0x421)])),this[_0x199b6d(0x47e)][_0x199b6d(0x24d)](_0x2e5e4c);}};Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x313),{'enumerable':!0x0,'get':function(){return _0x5c710b;}}),Object[_0x2c832d(0x361)](_0x4bdf46,'CollaborationDataLoaderController',{'enumerable':!0x0,'get':function(){return _0x2109df;}}),Object['defineProperty'](_0x4bdf46,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x51fe36;}}),_0x4bdf46[_0x2c832d(0x1bc)]=_0x8c589b,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x23a),{'enumerable':!0x0,'get':function(){return _0x160a0f;}}),_0x4bdf46[_0x2c832d(0x424)]=_0x1c5797,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x3a8),{'enumerable':!0x0,'get':function(){return _0x2383b6;}}),_0x4bdf46['WebBrowserSingleActiveUnitService']=_0x1e3d69,_0x4bdf46[_0x2c832d(0x3e3)]=_0x2f801c;}));function _0xff8c(_0x49b17b,_0x2b9df1){_0x49b17b=_0x49b17b-0x199;const _0x178d38=_0x178d();let _0xff8c1a=_0x178d38[_0x49b17b];return _0xff8c1a;}function _0x178d(){const _0xf3e4a4=['_id','DocSelectionManagerService','now','bottom','subscribe','react/jsx-runtime','ThemeService','RECT','collaboration.single-unit.warning','_onCursorUpdate','post','red.300','join','INotificationService','_transformUndoRedoStack','fillStyle','useCallback','dirtyRanges','forwardRef','reason','univerjs-icon\x20univerjs-icon-','assignAColorForMemberID','UniverRpc','LOCAL_CACHE_INTERVAL_KEY','_isBlinkVisible','_notificationService','init','getCurrentUnitForType','getCellMatrix','REDEMPTION_CODE_FULLY_REDEEMED','2775780sWgCnR','onCommandExecuted','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','connectInjector','@univerjs/docs-ui','newValue','createElement','1em','formula.calculation.started','BrowserCollaborationSocketService','_checkAndWaitForCalculationPermission','enableFrontendLog','handleInsertCol','getTypeOfUnitDisposed$','_docClipboardService','disposeWithMe','_cursors','SUCCESS','_sheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','evenodd','_removeClearOtherTimer','getOwnPropertyDescriptor','UniverDocsUi','SetFormulaCalculationStartMutation','ERROR_AGAIN','_maxFormulaLimit','ACTIVE_UNIT_EVENT_CHANNEL','url(#on-line-icon_clip0_910_349)','touchDependencies','_scheduleSaving','actions','DocStateChangeManagerService','limitInfo','_transformService','assign','sheetID','UniverInstanceType','UnitStatus','_assignedColors','INVITE_CODE_REQUIRED','setInterval','react','ICommandService','parse','off-line-icon_clip0_910_343','_doCreateSocket','_setFormulaLimitStatus','transformMutationsWithChangeset','_refRangeService','4mVCEtt','ENTITLE_NEED_BILLING_ADDRESS','_setupSubUnitSync','_drawTextRange','CHANGESET_REVISION_CONFILICT','forEach','\x20at\x20','href','labelPosition','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_hideTimer','iterator','UNIVER_SHEET','USER_IS_ANONYMOUS','next','rxjs','SetFormulaCalculationNotificationMutation','_handleJoinEvent','clsx','status$','Subject','on-line-icon','_document','_revisionService','[Window\x20Error]:\x20','_cursorInfo$','sessionStatus$','HTTPService','_startBlinking','REDEMPTION_USER_NOT_ELIGIBLE','38966QbCEJA','currentUsage','getAncestorScale','createIdentifier','endColumn','beginPath','DataLoaderService','defineProperty','_selfUnitIDs','@univerjs/sheets-ui','_docTransformSelectionsService','FromArray','unitId','SetTextSelectionsOperation','IRenderManagerService','YUUMI_RATE_OVER_LIMIT','add','_applyCommand','unit','handleMoveRange','_entities','offsetY','React','LICENSE_DISTRO_REJECTED','_monkeyPatchLogService','combineLatest','fromEventSubject','AUTHORIZE_CODE_ILLEGAL','DocIMEInputManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','dispose$','origin','UniverSheetsUi','hovered','USER_NOT_FOUND','takeUntil','cursorInfo','CollaborationSessionService','column','UNAUTHENTICATED','_lastResponseTimestamp','values','USERS_LEAVE','toRgbString','HEADER_MENU','registerRenderModule','_initUnhandledRejectionListener','_collaborationController','getColorFromTheme','findNodePositionByCharIndex','getCollabCursors$','getSheetId','collabStatus.syncing','getMember','_initStatusListener','ILocalCacheService','Rectangle','_initEvent','_handleHover','?taskId=','registerRefRange','endRow','DOC_RANGE_TYPE','_color','m2Prime','jsxs','reconnect','Tools','DeleteRangeMoveLeftCommandId','UNDEFINED','getCurrentSkeleton','addHandlerCallback','_name','Unknown\x20user','CollaborationSocketService','unitID','CONFLICT','toPrimitive','UniverCollaborationClientUIPlugin','call','_handleLeaveEvent','_scene','RichTextEditingMutation','roomMembers','LOCAL_CACHE_INTERVAL','bind','syncEditingCollabCursor','VIEW_MAIN','getItem','collab-client.tooltip.reconnect','INVALID_INVITE_CODE','YUUMI_AI_RUN_FAILED','_commandService','_docStateChangeManagerService','_injector','UniverCollaborationClientPlugin','InsertRangeMoveRightCommandId','Rect','createInstance','setStateCache','fill','onLocalMutation','uni.network.url-service','transformRemoteChangeset','lineTo','_removeCollabCursors','_cursorShapes','formula.calculation.waiting','Workbook','colno','CollaborationUIEventService','_labelPosition','_pollingInterval','_imageIoService','_updateLocalCursor','_localCacheService','SHEET_VIEWPORT_KEY','_shapes','getDocRanges','RemoveRowCommandId','_getFormulaLimitStatus','REDEMPTION_CODE_NOT_STARTED','isFormulaId','onPointerLeave$','UniverDocs','BehaviorSubject','collab-text-range-','useDependency','_hasFormulaInDirtyRanges','blue.400','storage','InsertRangeMoveDownCommandId','@univerjs-pro/collaboration','_scheduleClearOtherTimer','_getScale','1614536oFBGjO','debounceTime','WebURLService','handleIRemoveCol','_collabCursorController','_disabled','enableLocalCache','send','history','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToCursor','http://www.w3.org/2000/svg','APPLY_REJECT','CLOSE_ROOM','REDEMPTION_USER_REDEEM_TIMES_EXCEED','key','application/json','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','getVpScrollXYInfoByPosToVp','colorChannel1','transformSelections','on-line-icon_clip0_910_349','univer-flex\x20univer-items-center','_config','Failed','getMergeData','updateOfflineData','IBeforeCloseService','distinctUntilChanged','_eventUnsubscribe','deepClone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebSocketService','_highlightSecond','EffectRefRangId','LOGIN_FAILED','width','@univerjs/docs','undoState','setItem','removeParam','REDEMPTION_CODE_INACTIVE','eventID','0\x200\x2017\x2016','_initEntityListener','_getSheetObject','_entityInit$','CollaborationEvent','fromEvent','addClipboardHook','_send','FETCH_MISS','PAYMENT_CHANNEL_NOT_SUPPORT','getLocalCacheKey','subunit','getUnitId','stack','_unitOnClients','pushState','_startCalculationLimit','registerBeforeClose','text','_transformHistoryAndStateStack','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','restore','_urlService','SheetCollabCursorShape','UniverProCollaboration','collabStatus.notCollab','_drawRectRange','_clearPolling','UniverCore','transformStateCache','PENDING','getValue','addEventListener','APPLY_PERMISSION_DENIED','_localStorageService','rgba(255,\x20255,\x20255,\x200.01)','runOnServer','font','deserializeRangeWithSheet','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','_logService','_updateURLWithCurrentState','color','session.collaboration-timeout','UniverDesign','HEARTBEAT','dispose','_uploadLog','collabStatus.conflict','_refreshCollabCursors','_heartbeatTimer','function','_memberID','getTypeOfUnitAdded$','handleIRemoveRow','DependentOn','SetSelectionsOperation','session.connection-failed','closePath','getRelativeToViewportCoord','doc.mutation.rich-text-editing','Loading','delete','backgroundColor','_configService','ENTITLE_INSUFFICIENT_QUOTA','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Tooltip','ColorKit','_drawAnchor','_memberService','onRendered','debug','replaceDocRanges','RegularPolygon','1112106pmqmEz','_createSocketURL','saveTaskMap','Warning','startRow','makeDirty','rgb','_docTransformIMECacheService','white','transform','APPLY_REVISION_CONFILICT','map','setAlpha','INVALID_ARGUMENT','fillText','with','top','stageInfo','lineno','complete','UniverDrawing','debounce','@univerjs/design','popstate','_status$','_roomMembers$','entries','message','textRanges','removeEventListener','registerDependencies','strokeWidth','_session','_handleHeartbeatEvent','AWAITING_WITH_PENDING','round','stringify','_unitStatus','RemoveColCommandId','searchParams','shareReplay','UniverIcon','INVITE_CODE_HAS_BEEN_UES','none','mergeOverrideWithDependencies','then','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','yellow.400','size','transformMutation','getRenderById','CanceledError','INVITE_CODE_ALREADY_BOUND','getActiveSheet','DEFAULT_WS_SESSION_TICKET_URL','ALREADY_EXISTS','amd','SYNCED','INTERNAL_ERROR','registerComponent','data','source','UniverEngineRender','tag','currentTheme$','IConfigService','_onRefRangeChange','IMessageService','OTHER_CLIENTS_EDITING','split','getFocusedUnit','clearTimeout','IDocClipboardService','memberID','maxFormulaLimit','_uiPartsService','_renderManagerService','ENTITLE_DUP_SUBSCRIPTION','div','transformIMECache','getRangePointData','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_textBubble','DATA_SOURCE_TOO_LARGE','getViewport','sessionTicket','override','useRef','ILogService','_blinkTimer','collab-rect-range-','type','_backgroundColor','black','_anchorDot','YUUMI_CONNECTOR_URL_NOT_FOUND','getStateCache','_hovered','OnLineIcon','UniverNetwork','UNIVER_DOC','TEXT_RANGE_LAYER_INDEX','SNAPSHOT_HAS_BEEN_REMOVED','ISocketService','setParam','measureText','UPDATE_CURSOR','activeSheet$','getConfig','getCurrentSelections','IUniverInstanceService','PERMISSION_DENIED','_collabSessionService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','event$','JOIN','OffLineIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docTransformStateCacheService','501765wPzMyI','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','drawWith','DocCollaborationEntity','string','decorate','IURLService','mask','loadOfflineData','IUIPartsService','showText','LocaleService','COLORS','#FFF','_offsetY','CommandType','startsWith','pluginName','AWAITING','[LogService\x20Error]:\x20','_highlight','CURRENT_STATUS_CANNOT_OPERATE','permission.content','_saveCache','isTransformMutationsWithChangesetSuccess','onStarting','search','USER_NOT_INVITED_CODE','currentColor',',\x200.2)','_initWindowErrorListener','_toggleOnline','_context','YUUMI_UNABLE_LOAD_URL','Error','max','IImageIoService','jsx','unshift','random','collab-text-anchor-','_initStatusComponent','0\x200\x2016\x2016','ENTITLE_INVALID_COUPON_CODE','SOCKET_FAILED_RETRY','cursorInfo$','engine','SNAPSHOT_INVALID_SNAPSHOT','length','urlChange$','M0\x200H16V16H0z','_handleEvent','_httpService','getCoordByCell','LOGIN_TOKEN_PROCESSING_FAILED','pipe','push','_releaseCalculationLimit','setShapeProps','@univerjs/rpc','hide','getFormulaLimitStatusUrl','YUUMI_NO_CUBOID_FOR_QUESTION','focused$','COMPLETION_FINISHED','SessionStatus','_showText','parseInt','toDisposable','SheetSkeletonManagerService','replaceState','Shape','handleInsertRow','rxjs/operators','getUndoRedoMutationParamsCache','_scheduleHeartbeat','_online','merge','_docSkeletonManagerService','saveImage','_univerInstanceService','object','moveTo','YUUMI_ALL_TABLES_IS_INVALID','svg','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','onPointerEnter$','Optional','ticket','path','_initCommandInterceptor','ENTITLE_COUPON_USED_UP','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','find','_registerDependencies','fillRule','@univerjs/network','transformByState','Inactive','collabCursorState$','_init','body','selection','UniverProCollaborationClientUi','CollaborationUIEventId','_getLighterColor','NOT_COLLAB','InsertRowCommandId','getUnhiddenWorksheets','APPLY_DUPLICATED','save','CONNECTOR_DATA_TOO_LARGE','height','collaboration.closeRoom','_syncEditingCollabCursorService','Injector','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_checkCalculationAvailable','exhaustSavingTask','shift','attrs','_initCommandExecutedListener','wsSessionTicketUrl','stage','_anchor','handleInsertRangeMoveDown','DisposableCollection','saveOfflineData','from','ranges','RemoteUniscriptService','WECHAT_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','REDEMPTION_CODE_HAS_BEEN_CREATED','replace','849336QyUptz','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','handleInsertRangeMoveRight','Vector2','@univerjs/drawing','_startDocCollabCursor','TEXT','xlink:href','_collabCursorState$','constructor','_toggleOffline','_instanceService','/universer-api/license/formula/limit/status','get','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-mr-2\x20univer-flex\x20univer-text-xl','unhandledrejection','show','getUniverSheetInstance','startColumn','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','collaboration.offline-data-not-saved','_cursor','0.20.0','12aXxOtX','_getMergeRange','displayName','rgba(','range','trim','substring','getParam','_setupBeforeClosingHandler','idSuffix','_themeService','toString','EMAIL_VERIFY_CODE_MISMATCH','roomMembers$','SOCKET_FAILED','green.600','/universer-api/frontend/logs','_hover','isFormulaString','_registerRenderDependencies','MemberService','symbol','selections','min','isTransformMutationFailure','requireSession','_docSkeleton','_taskIds','docStateChange$','Success','_updateSubUnitFromURLParams','clipPath','prototype','exports','_showGuardMessage','collabStatus.offline','has','_clearOtherTimers','YUUMI_ASYNCIO_CANCELLED','packageName','asObservable','UniverEngineFormula','FormulaExecuteStageType','getColor','m1Prime','isArray','error','imageSourceType','rgba','OFFLINE','url(#$1','ITransformService','_getSaveTimeout','permission.title','_lastPointer','code','socket$','highlight','_startSheetCollabCursor','Active','mutations','_saveTaskMap','ENTITLE_CAN_NOT_BUY_LOWER_OTP','location','ENTITLE_CHAT_LIMIT_EXCEED','@univerjs/engine-formula','generateRandomId','_ensureSubject','params','highlightSecond','Disposable','subUnitId','_transformPreviousActiveRange','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/sheets','DocSkeletonManagerService','_cachedData','operators','ONLINE','_currentUsage','OTHER_CLIENT_EDITING','getSheetBySheetId','_messageService','/universer-api/license/formula/limit/done','defs','FormulaExecutedStateType','MOBILE_HAS_BEEN_BOUND','_onCursorDelete','149601NjnSPC','onTransformChange$','getSkeleton','MessageType','setUndoRedoMutationParamsCache','_range','CollaborationStatus','name','runId','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','_initUserListener','...','[CollaborationDataLoaderController]','_collaborationSessionService','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','functionsExecutedState','_colorAssignService','whenReady','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_blinkIntervalTimer','_localeService','setActiveRange','default','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RefRangeService','currentSkeleton$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadUnit','filter','InsertColCommandId','SetDocZoomRatioOperation','redoState','EMAIL_HAS_BEEN_BOUND','handleDeleteRangeMoveUp','Inject','executeCommand','18SFJlXL','subscribeEvent','NodePositionConvertToRectRange','isEditing','slice','_stopBlinking','_colorIndex','onPointerMove$','RxDisposable','startFormulaLimitUrl','switchMap','onMouseMove','_draw','/run/','setTimeout','children','ENTITLE_COUPON_EXPIRED','row','disableLocalCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'];_0x178d=function(){return _0xf3e4a4;};return _0x178d();}
8
+ function _0x1170(){const _0x378a22=['unitId','getColor','min','RxDisposable','WebSocketService','UniverSheets','RichTextEditingMutation','_configService','size','UNIVER_SHEET','_removeCollabCursors','addObject','key','m1Prime','resize','result','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','engine','1em','rgba(255,\x20255,\x20255,\x200.01)','UniverSheetsUi','_renderManagerService','replaceDocRanges','getTypeOfUnitDisposed$','/universer-api/license/formula/limit/start','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','eventID','MessageType','drawWith','_initCommandExecutedListener','off-line-icon_clip0_910_343','jsx','Rectangle','roomMembers$','mask','join','ErrorCode','UniverNetwork','UniverProtocol','handleInsertRangeMoveDown','Success','status$','textRanges','collaboration.closeRoom','_blinkIntervalTimer','evenodd','prototype','setTimeout','SYNCED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','getActiveRange','addObjects','_assignedColors','on-line-icon_clip0_910_349','isTransformMutationFailure','createInstance','_updateSubUnitFromURLParams','saveOfflineData','PERMISSION_DENIED','_getAnchorBounding','_monkeyPatchLogService','path','requireSession','ONLINE','_startDocCollabCursor','_collabCursorState$','_colorIndex','UniverCollaborationClientPlugin','getSheetObject','maxFormulaLimit','createElement','_entityInit$','ranges','Disposable','subUnitId','searchParams','_refreshCollabCursors','[Window\x20Error]:\x20','0.21.0','toRgbString','_getSheetObject','registerBeforeClose','popstate','moveTo','forwardRef','iterator','_notificationService','_toggleOnline','on-line-icon','isActive','_updateLocalCursor','_anchor','selection','_getLighterColor','location','replace','debug','univer-h-8\x20univer-w-8\x20univer-rounded-lg','InsertRangeMoveRightCommandId','_stopBlinking','/universer-api/license/formula/limit/status','unload','black','setUndoRedoMutationParamsCache','3YPMfgM','getCurrentUnitForType','\x20at\x20','_handleEvent','DataLoaderService','has','getParam','replaceState','defs','focused$','_setFormulaLimitStatus','restore','_drawAnchor','show','_color','post','handleIRemoveRow','_onCursorDelete','random','LEAVE','substring','_initResize','Inactive','currentSkeleton$','_document','transform','debounce','stringify','UniverProCollaboration','AWAITING_WITH_PENDING','forEach','SheetsSelectionsService','code','split','call','FormulaExecuteStageType','Injector','memberID','_context','_online','setShapeProps','i18nKey','red.300','_revisionService','getUnitStatus$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','_maxFormulaLimit','dispose$','onStarting','collabStatus.offline','@univerjs/protocol','_initUnhandledRejectionListener','_initCommandInterceptor','loadUnit','onCommandExecuted','length','transformMutation','_startCalculationLimit','init','_localCacheService','green.600','map','string','780gpdRRC','@univerjs-pro/collaboration-client','url(#on-line-icon_clip0_910_349)','round','_initEvent','top','_pollingInterval','ILocalCacheService','_highlight','SetSelectionsOperation','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setItem','undoState','\x20-\x20','type','tag','filter','version','_commandService','constructor','toPrimitive','stage','useRef','switchMap','_heartbeatTimer','SOCKET_FAILED','@univerjs/drawing','_shapes','unsubscribe','_toggleOffline','currentTheme$','getUniverSheetInstance','transformStateCache','Active','_logService','391844abOGYV','getDocRanges','getOwnPropertyDescriptor','UniverCore','Module','Inject','_collaborationUIEventService','data','univer-border-none\x20univer-bg-transparent','session.collaboration-timeout','InsertRowCommandId','removeEventListener','storage','_releaseCalculationLimit','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','runId','collabStatus.fetchMiss','startsWith','_themeService','_disabled','USERS_LEAVE','Shape','sessionTicket','UniverProCollaborationClient','some','IRenderManagerService','getMember','_labelPosition','SheetCollabCursorShape','_taskIds','_saveCache','editingUnit','_registerDependencies','takeUntil','_createSocketURL','_getSaveTimeout','_config','event$','_cursors','_name','assignAColorForMemberID','functionsExecutedState','merge','?taskId=','getRenderById','bottom','unhandledrejection','exports','UniverCollaborationClientUIPlugin','shift','pushState','RemoteUniscriptService','runOnServer','_transformService','FromArray','collab-text-range-','packageName','colorClass','_hovered','rgb','preventDefault','get','getCellMatrix','startRow','useObservable','_scheduleHeartbeat','transformMutationsWithChangeset','_initEntityListener','lineTo','SetFormulaCalculationStartMutation','INotificationService','values','entityInit$','error','UniverEngineFormula','createSocket','UnitStatus','0.2)','clipPath','amd','IRemoteInstanceService','CollaborationSessionService','univer-text-orange-500','attrs','DeleteRangeMoveLeftCommandId','OnLineIcon','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_docClipboardService','m2Prime','_handleHover','/universer-api/frontend/logs','useMemo','_unitStatus','fromEvent','labelPosition','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_highlightSecond','collabStatus.syncing','limitInfo','white','_univerInstanceService','#0B9EFB','BehaviorSubject','releaseFormulaLimitUrl','translate(.97)','_memberID','univer-text-blue-500','width','SessionStatus','function','_messageService','hovered','_range','updateOfflineData','sessionStatus$','getRangePointData','whenReady','registerRefRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','div','includes','COLORS','6ExVLxz','...','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docTransformSelectionsService','_setupBeforeClosingHandler','connectInjector','DocStateChangeManagerService','startFormulaLimitUrl','getSheetId','BrowserCollaborationSocketService','3320MPDiAF','_isBlinkVisible','collaboration.offline-data-not-saved','CLOSE_ROOM','_instanceService','setActiveRange','unitID','serializeRangeWithSheet','InsertRangeMoveDownCommandId','name','reconnect','transformSelections','Error','syncEditingCollabCursor','DesktopCollaborationStatusDisplayController','RefRangeService','Workbook','_registerRenderDependencies','getSkeleton','_onRefRangeChange','getConfig','formula.calculation.started','SOCKET_FAILED_RETRY','shareReplay','decorate','_cursorShapes','_showGuardMessage','_anchorDot','loadOfflineData','enableFrontendLog','_showText','getFocusedUnit','docStateChange$','_offsetY','operators','ISocketService','DocSkeletonManagerService','wsSessionTicketUrl','_init','href','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loading-multi-icon','backgroundColor','transformByState','purple.300','isArray','5408520mIddGV','_imageIoService','highlight','IMessageService','getRelativeToViewportCoord','mapTo','_blinkTimer','LOCAL_CACHE_INTERVAL','_startBlinking','closePath','sheetId','ThemeService','onLocalMutation','CollaborationController','getFormulaLimitStatusUrl','findNodePositionByCharIndex','getViewport','_onCursorUpdate','addEventListener','row','body','SetDocZoomRatioOperation','getItem','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','getStateCache','_lastPointer','history','HTTPService','jiqing.500','endRow','getCoordByCell','DocIMEInputManagerService','UniverProCollaborationClientUi','ITransformService','imageSourceType','RegularPolygon','subunit','_initDependencies','dispose','message','@univerjs/sheets','_textBubble','color','Failed','setInterval','_collabCursorController','_scheduleClearOtherTimer','session.will-retry','_unitOnClients','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','univer-text-green-500','CollaborationSocketService','lineno','default','_uiPartsService','_hover','_currentUsage','_clearPolling','Enter','isFormulaId','[Unhandled\x20Rejection]:\x20','_saveTaskMap','endColumn','_getSessionTicket','_scheduleSaving','OTHER_CLIENT_EDITING','roomMembers','DependentOn','highlightSecond','height','setParam','offsetY','SetWorksheetActivateCommand',',\x200.2)','push','distinctUntilChanged','combineLatest','_memberService','collabStatus.synced','set','currentColor','deepClone','0\x200\x2016\x2016','SUBMIT_CHANGESET_TIMEOUT','_handleJoinEvent','Tools','registerComponent','@univerjs/ui','_transformUndoRedoStack','filename','collab-client.tooltip.reconnect','_roomMembers$','CONFLICT','entries','univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-red-500','NOT_COLLAB','totalFormulasToCalculate','UniverDocsUi','CollaborationEvent','PENDING','_docSkeletonManagerService','colorChannel1','spin','beginPath','exhaustSavingTask','save','all','asObservable','beforeCommandExecuted','_cursor','RemoveColCommandId','setAlpha','cursorInfo$','_clearOtherTimers','React','_id','_cachedData','6540940siLseu','FETCH_MISS','true','ILocalStorageService','_draw','yellow.400','_startSheetCollabCursor','10984784lqCUHX','EffectRefRangId','session.connection-failed','currentUsage','throttleTime','generateRandomId','parse','getUnhiddenWorksheets','getOffsetConfig','override','executionId','UniverDocs','_session','current','text','Unknown\x20user','217413WoMGzS','strokeWidth','_checkAndWaitForCalculationPermission','_docStateChangeManagerService','getColorFromTheme','_ensureSubject','RECT','svg','SetTextSelectionsOperation','@univerjs/core','getValue','AWAITING','IURLService','Loading','symbol','reason','toString','Warning','saveTaskMap','getUnit','params','_updateURLWithCurrentState','[CollaborationDataLoaderController]','redoState','onRendered','_entities','@univerjs/sheets-ui','M0\x200H16V16H0z','saveImage','_cursorInfo$','defineProperty','collabStatus.notCollab','_collabSessionService','fillRule','rgba(','urlChange$','stageInfo','clsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_applyCommand','setOffsetY','HEARTBEAT','UniverInstanceType','object','_send','univer-inline-flex\x20univer-items-center\x20univer-justify-center','Tooltip','_httpService','SHEET_VIEWPORT_KEY','IConfigService','BuiltInUIPart','slice','DocSelectionManagerService','indicator','children','ICommandService','_collaborationSessionService','getUnitId','getCollabEntity$','complete','deserializeRangeWithSheet','doc.mutation.rich-text-editing','rxjs','Rect','TEXT','range','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','LocaleService','unshift','_refRangeService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','unit','status','onPointerLeave$','SUCCESS','url(#$1','_lastResponseTimestamp','disposeWithMe','_getFormulaLimitStatus','handleIRemoveCol','clickable','delete','Vector2','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_transformPreviousActiveRange','CollaborationUIEventId','_drawTextRange','getTypeOfUnitAdded$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN','search','TEXT_RANGE_LAYER_INDEX','Optional','JOIN_ROOM_FAILED','UniverRpc','_initWindowErrorListener','arc','span','@univerjs/docs-ui','measureText','parseInt','_initStatusListener','next','getSheetBySheetId','@univerjs-pro/collaboration-client-ui','pipe','[LogService\x20Error]:\x20','_status$','_backgroundColor','_urlService','fillText','collab-text-anchor-','#FFF','debounceTime','isEditing','CollaborationStatus','transformIMECache','useDependency','_selfUnitIDs','fill','clearInterval','touchDependencies','cursorInfo','mergeOverrideWithDependencies','UniverDrawing','mutations','SheetSkeletonManagerService','assign','handleDeleteRangeMoveLeft','triggerDblclick','IUIPartsService','now','UNIVER_DOC','UPDATE_CURSOR','handleMoveRange','column','DocCollaborationEntity','NO_OTHER_CLIENTS_EDITING','dirtyRanges','_initStatusComponent','displayName','WebBrowserSingleActiveUnitService','univer-m-0\x20univer-p-0','none','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','MemberService','polite','_localeService','transformRemoteChangeset','_docTransformStateCacheService','START_CALCULATION','formula.calculation.waiting','RevisionService','_updateCollabCursors','_getScale','_scene','ILogService','_initUserListener','_injector','InsertColCommandId','getUndoRedoMutationParamsCache','application/json','clearTimeout','getMemberID','1729211fueeNA','idSuffix','_uploadLog','_hasFormulaInDirtyRanges','handleDeleteRangeMoveUp','send','DOC_RANGE_TYPE','subscribeEvent','onPointerMove$','_getMergeRange','ISnapshotServerService','origin','_render','_eventUnsubscribe','handleInsertRow','_colorAssignService','stack','_drawRectRange','formula.calculation.unable','univer-appearance-none','then','use','useCallback','WebURLService','pluginName','onMouseMove','LoadingMultiIcon','fillStyle','_hideTimer','IUniverInstanceService','subscribe','with','_checkCalculationAvailable','newValue','static','catch','tooltipKey','_dataLoaderService','actions','registerDependencies','_handleHeartbeatEvent','executeCommand','@univerjs/rpc','_docTransformIMECacheService','rgba','@univerjs/docs','button'];_0x1170=function(){return _0x378a22;};return _0x1170();}function _0x3eb0(_0x35607c,_0x23c8bd){_0x35607c=_0x35607c-0xe1;const _0x117080=_0x1170();let _0x3eb0f0=_0x117080[_0x35607c];return _0x3eb0f0;}(function(_0x296b3b,_0x260d6e){const _0x2a6984=_0x3eb0,_0x4aced1=_0x296b3b();while(!![]){try{const _0x50422f=-parseInt(_0x2a6984(0x2c1))/0x1+-parseInt(_0x2a6984(0x3bd))/0x2*(parseInt(_0x2a6984(0x359))/0x3)+-parseInt(_0x2a6984(0x18d))/0x4+parseInt(_0x2a6984(0x15e))/0x5*(-parseInt(_0x2a6984(0x154))/0x6)+parseInt(_0x2a6984(0x205))/0x7+parseInt(_0x2a6984(0x20c))/0x8+parseInt(_0x2a6984(0x21c))/0x9*(parseInt(_0x2a6984(0x399))/0xa);if(_0x50422f===_0x260d6e)break;else _0x4aced1['push'](_0x4aced1['shift']());}catch(_0x435e9c){_0x4aced1['push'](_0x4aced1['shift']());}}}(_0x1170,0xdf1ad),function(_0x6306fa,_0x4882cc){const _0x58ff26=_0x3eb0;typeof exports=='object'&&typeof module<'u'?_0x4882cc(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define=='function'&&define[_0x58ff26(0x126)]?define([_0x58ff26(0x106),_0x58ff26(0x39a),_0x58ff26(0x225),_0x58ff26(0x1e6),_0x58ff26(0x25a),'@univerjs/design','react','react/jsx-runtime',_0x58ff26(0x2eb),_0x58ff26(0x1b6),'@univerjs/engine-render','@univerjs/network',_0x58ff26(0x27f),_0x58ff26(0x3b4),'@univerjs-pro/collaboration',_0x58ff26(0x2ee),'@univerjs/engine-formula','rxjs/operators',_0x58ff26(0x236),_0x58ff26(0x38c)],_0x4882cc):(_0x6306fa=typeof globalThis<'u'?globalThis:_0x6306fa||self,_0x4882cc(_0x6306fa[_0x58ff26(0x1ae)]={},_0x6306fa[_0x58ff26(0xee)],_0x6306fa[_0x58ff26(0x3c0)],_0x6306fa['UniverUi'],_0x6306fa['rxjs'],_0x6306fa['UniverDesign'],_0x6306fa[_0x58ff26(0x202)],_0x6306fa['React'],_0x6306fa[_0x58ff26(0x27b)],_0x6306fa[_0x58ff26(0x2f5)],_0x6306fa['UniverEngineRender'],_0x6306fa[_0x58ff26(0x315)],_0x6306fa[_0x58ff26(0x1f1)],_0x6306fa[_0x58ff26(0x299)],_0x6306fa[_0x58ff26(0x375)],_0x6306fa[_0x58ff26(0x217)],_0x6306fa[_0x58ff26(0x121)],_0x6306fa[_0x58ff26(0x25a)][_0x58ff26(0x180)],_0x6306fa[_0x58ff26(0x304)],_0x6306fa[_0x58ff26(0x316)]));}(this,function(_0x59af53,_0x5ba2ed,_0x3789e1,_0x28956d,_0x4a289e,_0x239455,_0x148fc0,_0x4f8cd5,_0x47f4ed,_0x5081db,_0x4b5cb2,_0x2ccad2,_0x4d692e,_0x5be687,_0x136fe4,_0x43a715,_0x12c154,_0x21659b,_0x35b411,_0x53e205){const _0x486c12=_0x3eb0;Object[_0x486c12(0x23a)](_0x59af53,Symbol['toStringTag'],{'value':_0x486c12(0x3c1)});function _0x412b8c({ref:_0x154f47,..._0x25e30b}){const _0xa16a68=_0x486c12;let {icon:_0x19d2e2,id:_0x5beaa6,className:_0x146bf8,extend:_0x1372c7,..._0xcd47e}=_0x25e30b,_0x5e1dab=(_0xa16a68(0x1bf)+_0x5beaa6+'\x20'+(_0x146bf8||''))['trim'](),_0x557b89=(0x0,_0x148fc0[_0xa16a68(0x3b0)])('_'+_0x4f713d());return _0x1d17e3(_0x19d2e2,''+_0x5beaa6,{'defIds':_0x19d2e2['defIds'],'idSuffix':_0x557b89[_0xa16a68(0x219)]},{'ref':_0x154f47,'className':_0x5e1dab,..._0xcd47e},_0x1372c7);}function _0x1d17e3(_0x48101e,_0x4fd882,_0x2d5cf1,_0x2b51e0,_0x79df68){const _0x4dfba9=_0x486c12;return(0x0,_0x148fc0[_0x4dfba9(0x337)])(_0x48101e[_0x4dfba9(0x3a9)],{'key':_0x4fd882,..._0x5dc3d1(_0x48101e,_0x2d5cf1,_0x79df68),..._0x2b51e0},(_0x1a2ec5(_0x48101e,_0x2d5cf1)[_0x4dfba9(0x252)]||[])[_0x4dfba9(0x397)]((_0x2c0f73,_0x20abe1)=>_0x1d17e3(_0x2c0f73,_0x4fd882+'-'+_0x48101e[_0x4dfba9(0x3a9)]+'-'+_0x20abe1,_0x2d5cf1,void 0x0,_0x79df68)));}function _0x5dc3d1(_0x53bb14,_0x42d6a3,_0x2ce14d){const _0x2d683a=_0x486c12;let _0x146a44={..._0x53bb14[_0x2d683a(0x12a)]};_0x2ce14d!=null&&_0x2ce14d[_0x2d683a(0x1f5)]&&_0x146a44['fill']===_0x2d683a(0x1f5)&&(_0x146a44[_0x2d683a(0x294)]=_0x2ce14d[_0x2d683a(0x1f5)]),_0x53bb14['tag']===_0x2d683a(0x312)&&_0x146a44['id']&&(_0x146a44['id']+=_0x42d6a3[_0x2d683a(0x2c2)]),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0xe7a392,_0x2ca131])=>{const _0x26c455=_0x2d683a;_0xe7a392==='mask'&&typeof _0x2ca131==_0x26c455(0x398)&&(_0x146a44[_0xe7a392]=_0x2ca131['replace'](/url\(#(.*)\)/,_0x26c455(0x268)+_0x42d6a3[_0x26c455(0x2c2)]+')'));});let {defIds:_0x1917b4}=_0x42d6a3;return!_0x1917b4||_0x1917b4[_0x2d683a(0x391)]===0x0?_0x146a44:(_0x53bb14[_0x2d683a(0x3a9)]===_0x2d683a(0x2d6)&&_0x146a44['xlink:href']&&(_0x146a44[_0x2d683a(0x3a3)]+=_0x42d6a3['idSuffix']),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0x54f5ab,_0x538ae7])=>{const _0x5301cc=_0x2d683a;typeof _0x538ae7==_0x5301cc(0x398)&&(_0x146a44[_0x54f5ab]=_0x538ae7[_0x5301cc(0x350)](/url\(#(.*)\)/,_0x5301cc(0x268)+_0x42d6a3['idSuffix']+')'));}),_0x146a44);}function _0x1a2ec5(_0x54de95,_0x58162d){const _0x845b84=_0x486c12;var _0x469d35;let {defIds:_0xf4bd05}=_0x58162d;return!_0xf4bd05||_0xf4bd05[_0x845b84(0x391)]===0x0?_0x54de95:_0x54de95[_0x845b84(0x3a9)]===_0x845b84(0x361)&&(_0x469d35=_0x54de95[_0x845b84(0x252)])!=null&&_0x469d35[_0x845b84(0x391)]?{..._0x54de95,'children':_0x54de95['children'][_0x845b84(0x397)](_0x2dd4ec=>typeof _0x2dd4ec[_0x845b84(0x12a)]['id']==_0x845b84(0x398)&&_0xf4bd05&&_0xf4bd05['includes'](_0x2dd4ec[_0x845b84(0x12a)]['id'])?{..._0x2dd4ec,'attrs':{..._0x2dd4ec[_0x845b84(0x12a)],'id':_0x2dd4ec[_0x845b84(0x12a)]['id']+_0x58162d[_0x845b84(0x2c2)]}}:_0x2dd4ec)}:_0x54de95;}function _0x4f713d(){const _0x31c3e4=_0x486c12;return Math[_0x31c3e4(0x36b)]()[_0x31c3e4(0x22c)](0x24)[_0x31c3e4(0x36d)](0x2,0x8);}_0x412b8c[_0x486c12(0x2a9)]='UniverIcon';let _0x2b3a9b={'tag':'svg','attrs':{'xmlns':_0x486c12(0x12d),'fill':_0x486c12(0x2ac),'viewBox':'0\x200\x2016\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x2ad),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':_0x486c12(0x39c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x486c12(0x30e)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5bf108=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x5ec82c,_0x5760eb){const _0x41540e=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object[_0x41540e(0x29c)]({},_0x5ec82c,{'id':'off-line-icon','ref':_0x5760eb,'icon':_0x2b3a9b}));});_0x5bf108[_0x486c12(0x2a9)]='OffLineIcon';let _0x682c12={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':_0x486c12(0x39b)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x300),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x486c12(0x361),'attrs':{},'children':[{'tag':_0x486c12(0x125),'attrs':{'id':_0x486c12(0x326)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237),'transform':_0x486c12(0x141)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x19e81b=(0x0,_0x148fc0['forwardRef'])(function(_0x2ff1fe,_0x2fc17d){const _0x181945=_0x486c12;return(0x0,_0x148fc0[_0x181945(0x337)])(_0x412b8c,Object[_0x181945(0x29c)]({},_0x2ff1fe,{'id':_0x181945(0x349),'ref':_0x2fc17d,'icon':_0x682c12}));});_0x19e81b[_0x486c12(0x2a9)]=_0x486c12(0x12c);let _0x24b25b={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':_0x486c12(0x1e1),'width':'1em','height':_0x486c12(0x302)},'children':[{'tag':'path','attrs':{'fill':_0x486c12(0x13e),'d':_0x486c12(0x156),'fillOpacity':0.2,'fillRule':_0x486c12(0x31d),'clipRule':_0x486c12(0x31d)}},{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13e),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x486c12(0x31d),'clipRule':'evenodd'}}]},_0x423b97=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x49fb54,_0x4dce00){const _0xa107f6=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object['assign']({},_0x49fb54,{'id':_0xa107f6(0x188),'ref':_0x4dce00,'icon':_0x24b25b}));});_0x423b97[_0x486c12(0x2a9)]=_0x486c12(0x2db);function _0x83fed(_0x3c8afd){const _0x48f29f=_0x486c12;switch(_0x3c8afd){case _0x5ba2ed[_0x48f29f(0x290)]['OFFLINE']:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x1ee),'i18nKey':_0x48f29f(0x38b),'tooltipKey':_0x48f29f(0x1e9),'clickable':!0x0,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1eb)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x129),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x206)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x48f29f(0xe7),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x1ef)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x48f29f(0x23b),'clickable':!0x1,'indicator':'static'};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x227)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x376)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':_0x48f29f(0x143),'i18nKey':_0x48f29f(0x13a),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x320)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1f3)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':_0x48f29f(0x1c1),'i18nKey':_0x48f29f(0x1dd),'clickable':!0x1,'indicator':'static'};}}function _0x4b4d17(_0x3874b3){const _0x4bc170=_0x486c12;let {status$:_0x2e19d7}=_0x3874b3,_0xd06cd1=(0x0,_0x28956d[_0x4bc170(0x117)])(_0x2e19d7,_0x5ba2ed['CollaborationStatus'][_0x4bc170(0x1ef)]),_0x29b6df=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x3789e1[_0x4bc170(0x260)]),_0x451b6b=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x5ba2ed[_0x4bc170(0x128)]),_0x2057b4=(0x0,_0x148fc0[_0x4bc170(0x133)])(()=>_0x83fed(_0xd06cd1),[_0xd06cd1]),_0x1db9ad=_0xd06cd1!==_0x5ba2ed['CollaborationStatus']['OFFLINE'],_0x315680=_0x29b6df['t'](_0x2057b4[_0x4bc170(0x382)]),_0x41b92c=_0x2057b4['tooltipKey']?_0x29b6df['t'](_0x2057b4[_0x4bc170(0x2e5)]):_0x315680,_0xab70f6=(0x0,_0x148fc0[_0x4bc170(0x2d7)])(()=>{const _0x204bbc=_0x4bc170;_0x1db9ad||_0x451b6b[_0x204bbc(0x168)]();},[_0x1db9ad,_0x451b6b]),_0x5725f6=(0x0,_0x148fc0['useCallback'])(_0x5ce383=>{const _0x933650=_0x4bc170;!_0x1db9ad&&(_0x5ce383['key']===_0x933650(0x1c9)||_0x5ce383[_0x933650(0x2fc)]==='\x20')&&(_0x5ce383[_0x933650(0x113)](),_0x451b6b[_0x933650(0x168)]());},[_0x1db9ad,_0x451b6b]),_0x50a6cf=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x270),_0x2057b4[_0x4bc170(0x110)],{'univer-animate-spin':_0x2057b4[_0x4bc170(0x251)]===_0x4bc170(0x1f6),'univer-animate-pulse':_0x2057b4[_0x4bc170(0x251)]==='pulse'}),'aria-hidden':_0x4bc170(0x207),'children':_0x2057b4['icon']}),_0x2fe446=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])(_0x4bc170(0x1ed),_0x4bc170(0x352),'univer-transition-all\x20univer-duration-200',_0x4bc170(0x263),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2057b4[_0x4bc170(0x26d)],'univer-cursor-default':!_0x2057b4[_0x4bc170(0x26d)]}),'children':_0x50a6cf});return _0x2057b4[_0x4bc170(0x26d)]?(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455[_0x4bc170(0x24a)],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x4bc170(0x2ef),{'type':_0x4bc170(0x2ef),'onClick':_0xab70f6,'onKeyDown':_0x5725f6,'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x3c5),_0x4bc170(0x2ab),_0x4bc170(0x2d4)),'aria-label':_0x315680+_0x4bc170(0x3a7)+_0x41b92c,'role':_0x4bc170(0x265),'aria-live':_0x4bc170(0x2af),'aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})}):(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455['Tooltip'],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x151),{'className':(0x0,_0x239455['clsx'])(_0x4bc170(0x249),_0x4bc170(0x3c5),_0x4bc170(0x2ab)),'aria-label':_0x315680,'role':_0x4bc170(0x265),'aria-live':'polite','aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})});}function _0x34d6b5(_0x272f63){'@babel/helpers - typeof';const _0x5a4d0b=_0x486c12;return _0x34d6b5=typeof Symbol==_0x5a4d0b(0x146)&&typeof Symbol[_0x5a4d0b(0x346)]==_0x5a4d0b(0x22a)?function(_0x2a9e15){return typeof _0x2a9e15;}:function(_0x1a5c22){const _0x704a1c=_0x5a4d0b;return _0x1a5c22&&typeof Symbol==_0x704a1c(0x146)&&_0x1a5c22[_0x704a1c(0x3ad)]===Symbol&&_0x1a5c22!==Symbol[_0x704a1c(0x31e)]?_0x704a1c(0x22a):typeof _0x1a5c22;},_0x34d6b5(_0x272f63);}function _0x408cfb(_0xc296c3,_0x4ad84f){const _0x2e0150=_0x486c12;if(_0x34d6b5(_0xc296c3)!='object'||!_0xc296c3)return _0xc296c3;var _0x50fb4b=_0xc296c3[Symbol[_0x2e0150(0x3ae)]];if(_0x50fb4b!==void 0x0){var _0x3f4347=_0x50fb4b[_0x2e0150(0x37b)](_0xc296c3,_0x4ad84f||_0x2e0150(0x1c4));if(_0x34d6b5(_0x3f4347)!='object')return _0x3f4347;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4ad84f===_0x2e0150(0x398)?String:Number)(_0xc296c3);}function _0x21d468(_0xccac71){const _0x4e6f8d=_0x486c12;var _0x43a763=_0x408cfb(_0xccac71,_0x4e6f8d(0x398));return _0x34d6b5(_0x43a763)=='symbol'?_0x43a763:_0x43a763+'';}function _0x28a1e3(_0x47a4f7,_0x3c1a41,_0x56bb84){const _0x344b5e=_0x486c12;return(_0x3c1a41=_0x21d468(_0x3c1a41))in _0x47a4f7?Object[_0x344b5e(0x23a)](_0x47a4f7,_0x3c1a41,{'value':_0x56bb84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47a4f7[_0x3c1a41]=_0x56bb84,_0x47a4f7;}function _0x5dbd47(_0x34596a,_0x1f6e8d){return function(_0x559663,_0x42ad4d){_0x1f6e8d(_0x559663,_0x42ad4d,_0x34596a);};}function _0x2eed91(_0x4c7584,_0x33ebea,_0x358666,_0x3807b2){const _0x11a992=_0x486c12;var _0x4c9261=arguments[_0x11a992(0x391)],_0x24db04=_0x4c9261<0x3?_0x33ebea:_0x3807b2===null?_0x3807b2=Object[_0x11a992(0x3bf)](_0x33ebea,_0x358666):_0x3807b2,_0x5aecbc;if(typeof Reflect==_0x11a992(0x247)&&typeof Reflect[_0x11a992(0x176)]=='function')_0x24db04=Reflect[_0x11a992(0x176)](_0x4c7584,_0x33ebea,_0x358666,_0x3807b2);else{for(var _0x4dd6ae=_0x4c7584['length']-0x1;_0x4dd6ae>=0x0;_0x4dd6ae--)(_0x5aecbc=_0x4c7584[_0x4dd6ae])&&(_0x24db04=(_0x4c9261<0x3?_0x5aecbc(_0x24db04):_0x4c9261>0x3?_0x5aecbc(_0x33ebea,_0x358666,_0x24db04):_0x5aecbc(_0x33ebea,_0x358666))||_0x24db04);}return _0x4c9261>0x3&&_0x24db04&&Object[_0x11a992(0x23a)](_0x33ebea,_0x358666,_0x24db04),_0x24db04;}let _0x2f2efb=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x357c19,_0x2f27fb,_0x4e1788,_0x48c92e){const _0x2ec5fc=_0x486c12;super(),this[_0x2ec5fc(0x13d)]=_0x357c19,this[_0x2ec5fc(0x2bb)]=_0x2f27fb,this[_0x2ec5fc(0xe5)]=_0x4e1788,this['_uiPartsService']=_0x48c92e,_0x28a1e3(this,_0x2ec5fc(0x288),new _0x4a289e[(_0x2ec5fc(0x13f))](_0x5ba2ed['CollaborationStatus'][_0x2ec5fc(0x1ef)])),this['_initStatusComponent'](),this['_initStatusListener']();}[_0x486c12(0x282)](){const _0xbd4315=_0x486c12;this[_0xbd4315(0x26a)](this[_0xbd4315(0x13d)][_0xbd4315(0x362)]['pipe']((0x0,_0x4a289e[_0xbd4315(0x3b1)])(()=>{const _0x462cef=_0xbd4315;let _0x4a6d3e=this['_univerInstanceService'][_0x462cef(0x17d)]();return _0x4a6d3e?this[_0x462cef(0xe5)][_0x462cef(0x256)](_0x4a6d3e[_0x462cef(0x255)]()):(0x0,_0x4a289e['of'])(null);}),(0x0,_0x4a289e[_0xbd4315(0x3b1)])(_0x39ed51=>_0x39ed51?_0x39ed51[_0xbd4315(0x319)]:(0x0,_0x4a289e['of'])(_0x5ba2ed['CollaborationStatus'][_0xbd4315(0x1ef)])))[_0xbd4315(0x2df)](_0x47115a=>{this['_status$']['next'](_0x47115a);}));}[_0x486c12(0x2a8)](){const _0x5456e3=_0x486c12;this['disposeWithMe'](this[_0x5456e3(0x1c5)][_0x5456e3(0x1e5)](_0x28956d[_0x5456e3(0x24e)]['HEADER_MENU'],()=>(0x0,_0x28956d[_0x5456e3(0x159)])(_0xe0157a({'status$':this['_status$']['asObservable']()}),this[_0x5456e3(0x2bb)])));}};_0x2f2efb=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationController'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x29f)])],_0x2f2efb);function _0xe0157a(_0x42b58a){let {status$:_0x43724c}=_0x42b58a;return function(){const _0x18ce6b=_0x3eb0;return(0x0,_0x4f8cd5[_0x18ce6b(0x30f)])(_0x4b4d17,{'status$':_0x43724c});};}let _0x1b48a9=(0x0,_0x3789e1['createIdentifier'])('uni.network.url-service'),_0xe6e34a=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x20f4ed,_0xdd982c,_0x32038e,_0x418b08,_0x3e178a){const _0x40a6b9=_0x486c12;super(),this[_0x40a6b9(0x28a)]=_0x20f4ed,this[_0x40a6b9(0x3bc)]=_0xdd982c,this['_commandService']=_0x32038e,this[_0x40a6b9(0x2e6)]=_0x418b08,_0x3e178a?_0x3e178a==null||_0x3e178a[_0x40a6b9(0x14d)]()[_0x40a6b9(0x2d5)](()=>this[_0x40a6b9(0x184)]()):(this[_0x40a6b9(0x3bc)][_0x40a6b9(0x351)](_0x40a6b9(0x232),_0x40a6b9(0x14f)),this[_0x40a6b9(0x184)]());}async[_0x486c12(0x184)](){const _0x3c4c7e=_0x486c12;let _0x22c0be=this[_0x3c4c7e(0x28a)]['getParam']('unit'),_0x232282=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x3a8)),_0x47beb9=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x1b2));if(!_0x22c0be||!_0x232282){this[_0x3c4c7e(0x3bc)][_0x3c4c7e(0x351)](_0x3c4c7e(0x232),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x40c4d4=await this[_0x3c4c7e(0x2e6)][_0x3c4c7e(0x38f)](_0x22c0be,Number(_0x232282),_0x47beb9);_0x40c4d4&&_0x40c4d4 instanceof _0x3789e1[_0x3c4c7e(0x16e)]&&this['_setupSubUnitSync'](_0x40c4d4);}async['_setupSubUnitSync'](_0x322c77){const _0x5a594e=_0x486c12;await this[_0x5a594e(0x329)](_0x322c77),_0x322c77['activeSheet$'][_0x5a594e(0x286)]((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](_0x12b1a3=>{_0x12b1a3&&this['_updateURLWithCurrentState'](_0x12b1a3);}),this[_0x5a594e(0x28a)][_0x5a594e(0x23f)]['pipe']((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](()=>this[_0x5a594e(0x329)](_0x322c77));}[_0x486c12(0x231)](_0x3cdc47,_0x49e237=!0x1){const _0x10a993=_0x486c12;let _0x3df033=this[_0x10a993(0x28a)][_0x10a993(0x35f)](_0x10a993(0x1b2));_0x3cdc47[_0x10a993(0x15c)]()!==_0x3df033&&this[_0x10a993(0x28a)][_0x10a993(0x1d5)](_0x10a993(0x1b2),_0x3cdc47[_0x10a993(0x15c)](),_0x49e237);}async[_0x486c12(0x329)](_0x41c689){const _0x39567c=_0x486c12;var _0x3bce0e;let _0x25a182=this[_0x39567c(0x28a)][_0x39567c(0x35f)]('subunit');if(!_0x25a182||!_0x41c689[_0x39567c(0x284)](_0x25a182)){let _0x5dfa08=_0x41c689[_0x39567c(0x213)]()[0x0],_0x28212a=_0x41c689[_0x39567c(0x284)](_0x5dfa08);if(!_0x28212a)return;this[_0x39567c(0x231)](_0x28212a,!0x0),await this[_0x39567c(0x3ac)][_0x39567c(0x2ea)](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689[_0x39567c(0x255)](),'subUnitId':_0x5dfa08});return;}((_0x3bce0e=_0x41c689['getActiveSheet']())==null?void 0x0:_0x3bce0e[_0x39567c(0x15c)]())!==_0x25a182&&await this[_0x39567c(0x3ac)]['executeCommand'](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689['getUnitId'](),'subUnitId':_0x25a182});}};_0xe6e34a=_0x2eed91([_0x5dbd47(0x0,_0x1b48a9),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x35d)])),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x279)])(_0x47f4ed[_0x486c12(0x127)]))],_0xe6e34a);var _0x606168=_0x486c12(0x285),_0x34f54e=_0x486c12(0x33f);let _0x560036=class extends _0x3789e1['RxDisposable']{constructor(_0x1d10c6,_0x208f3f){const _0x5bd632=_0x486c12;super(),this['_docClipboardService']=_0x1d10c6,this[_0x5bd632(0x18e)]=_0x208f3f,this[_0x5bd632(0x184)]();}['_init'](){const _0x5d4c82=_0x486c12;let _0x26defa=this;this['disposeWithMe'](this[_0x5d4c82(0x12f)]['addClipboardHook']({'onBeforePasteImage':async _0x44a74f=>{const _0x4df972=_0x5d4c82;let _0x1b5cab=await _0x26defa['_imageIoService'][_0x4df972(0x238)](_0x44a74f);return _0x1b5cab?{'source':_0x1b5cab['source'],'imageSourceType':_0x1b5cab[_0x4df972(0x1b0)]}:null;}}));}};_0x560036=_0x2eed91([_0x5dbd47(0x0,_0x4d692e['IDocClipboardService']),_0x5dbd47(0x1,_0x5be687['IImageIoService'])],_0x560036);let _0x4cbed8=[_0x486c12(0x18b),_0x486c12(0x1aa),_0x486c12(0x396),_0x486c12(0x383),'blue.400',_0x486c12(0x20a)];var _0x3e01b5=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(..._0xa81c6f){const _0xa93aa4=_0x486c12;super(..._0xa81c6f),_0x28a1e3(this,'_assignedColors',new Map()),_0x28a1e3(this,_0xa93aa4(0x333),0x0);}[_0x486c12(0xff)](_0xb79f37){const _0x3b2466=_0x486c12;if(this[_0x3b2466(0x325)]['has'](_0xb79f37))return this[_0x3b2466(0x325)]['get'](_0xb79f37);let _0x16fc3a=_0x4cbed8[this['_colorIndex']];return this[_0x3b2466(0x333)]=(this[_0x3b2466(0x333)]+0x1)%_0x4cbed8[_0x3b2466(0x391)],this[_0x3b2466(0x325)][_0x3b2466(0x1de)](_0xb79f37,_0x16fc3a),_0x16fc3a;}},_0x32684e=function(_0x785c03){const _0x37459d=_0x486c12;return _0x785c03[_0x37459d(0x3bb)]='1',_0x785c03[_0x37459d(0x36f)]='0',_0x785c03;}(_0x32684e||{});function _0x5138d6(_0x5258d5){const _0x3e8632=_0x486c12;let _0x2d9314='';for(let _0x2cc0d3 of _0x5258d5){let {startOffset:_0x1304b6,endOffset:_0x11ebb8,isActive:_0x46ce0d,rangeType:_0x3a4701,segmentId:_0x2ca50e,segmentPage:_0x59f267}=_0x2cc0d3;_0x2d9314['length']&&(_0x2d9314+=','),_0x2d9314+=_0x1304b6+':'+_0x11ebb8+':'+(_0x46ce0d?_0x32684e[_0x3e8632(0x3bb)]:_0x32684e[_0x3e8632(0x36f)])+':'+_0x3a4701+':'+_0x2ca50e+':'+_0x59f267;}return _0x2d9314;}function _0x429d89(_0xae8d4f){const _0x476aa1=_0x486c12;let _0x15fe18=_0xae8d4f[_0x476aa1(0x37a)](','),_0x2996ed=[];for(let _0x41595e of _0x15fe18){let [_0x2ba73d,_0x429348,_0x249a9d,_0x146f29,_0x163b2f,_0x59f943]=_0x41595e[_0x476aa1(0x37a)](':');_0x2996ed[_0x476aa1(0x1d9)]({'startOffset':Number(_0x2ba73d),'endOffset':Number(_0x429348),'collapsed':_0x2ba73d===_0x429348,'isActive':_0x249a9d===_0x32684e[_0x476aa1(0x3bb)],'rangeType':_0x146f29===_0x3789e1[_0x476aa1(0x2c7)]['TEXT']?_0x3789e1[_0x476aa1(0x2c7)][_0x476aa1(0x25c)]:_0x3789e1[_0x476aa1(0x2c7)]['RECT'],'segmentId':typeof _0x163b2f==_0x476aa1(0x398)?String(_0x163b2f):'','segmentPage':Number(_0x59f943==null?-0x1:_0x59f943)});}return _0x2996ed[_0x476aa1(0xef)](_0x253325=>_0x253325[_0x476aa1(0x34a)])||(_0x2996ed[0x0][_0x476aa1(0x34a)]=!0x0),_0x2996ed;}var _0xb4d8f5=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(..._0x2ee086){const _0x716738=_0x486c12;super(..._0x2ee086),_0x28a1e3(this,'_collabCursorState$',new _0x4a289e['BehaviorSubject'](null)),_0x28a1e3(this,'collabCursorState$',this[_0x716738(0x332)][_0x716738(0x1fb)]());}[_0x486c12(0x16b)](_0x30068a){const _0x2eef3e=_0x486c12;let {unitID:_0x4ce52a,memberID:_0x2c9828,textRanges:_0x5d9b2d}=_0x30068a,_0x2570dd=_0x5138d6(_0x5d9b2d);if(_0x2570dd==='')return;let _0x44014c={'unitID':_0x4ce52a,'memberID':_0x2c9828,'selection':_0x2570dd};this['_collabCursorState$'][_0x2eef3e(0x283)](_0x44014c);}};let _0x443cbb=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x251928=_0x486c12;return this[_0x251928(0x239)][_0x251928(0x226)]();}get['roomMembers'](){const _0x4f9e82=_0x486c12;return this[_0x4f9e82(0x1ea)][_0x4f9e82(0x226)]();}constructor(_0x52bcce,_0x131d5f,_0x4489b5,_0x2fd13c,_0x11d727,_0x2526be,_0x1272cd,_0xff233d,_0x1258ed){const _0x53f315=_0x486c12;super(),this['unitID']=_0x52bcce,this['_session']=_0x131d5f,this['_injector']=_0x4489b5,this['_colorAssignService']=_0x2fd13c,this[_0x53f315(0x1dc)]=_0x11d727,this['_syncEditingCollabCursorService']=_0x2526be,this[_0x53f315(0x10c)]=_0x1272cd,this[_0x53f315(0x13d)]=_0xff233d,this[_0x53f315(0x3ac)]=_0x1258ed,_0x28a1e3(this,_0x53f315(0x380),!0x1),_0x28a1e3(this,_0x53f315(0x184),!0x1),_0x28a1e3(this,_0x53f315(0x239),new _0x4a289e['BehaviorSubject'](new Map())),_0x28a1e3(this,_0x53f315(0x200),this[_0x53f315(0x239)]['asObservable']()),_0x28a1e3(this,_0x53f315(0x1ea),new _0x4a289e['BehaviorSubject']([])),_0x28a1e3(this,_0x53f315(0x311),this[_0x53f315(0x1ea)][_0x53f315(0x286)]((0x0,_0x4a289e[_0x53f315(0x28e)])(0x12c))),_0x28a1e3(this,_0x53f315(0x34b),(0x0,_0x3789e1[_0x53f315(0x373)])(_0x173009=>{const _0x583fc3=_0x53f315;let _0x53924={'eventID':_0x136fe4[_0x583fc3(0x1f2)][_0x583fc3(0x2a2)],'data':{'unitID':this[_0x583fc3(0x164)],'memberID':this[_0x583fc3(0x218)][_0x583fc3(0x2c0)](),'selection':_0x5138d6(_0x173009)}};this['_session'][_0x583fc3(0x2c6)](_0x53924,this[_0x583fc3(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x3e9109=_0x486c12;super[_0x3e9109(0x1b4)](),this[_0x3e9109(0x239)][_0x3e9109(0x283)](new Map()),this[_0x3e9109(0x239)]['complete'](),this[_0x3e9109(0x1ea)][_0x3e9109(0x283)]([]),this[_0x3e9109(0x1ea)]['complete']();}[_0x486c12(0x394)](){const _0x19f062=_0x486c12;this[_0x19f062(0x184)]||(this[_0x19f062(0x184)]=!0x0,this[_0x19f062(0x218)][_0x19f062(0x14b)][_0x19f062(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x27b979=>{const _0x27336d=_0x19f062;_0x27b979===_0x5ba2ed[_0x27336d(0x145)]['ONLINE']?this[_0x27336d(0x348)]():this[_0x27336d(0x3b7)]();}),this[_0x19f062(0x218)][_0x19f062(0xfc)][_0x19f062(0x286)]((0x0,_0x4a289e[_0x19f062(0xf8)])(this['dispose$']))[_0x19f062(0x2df)](_0x492d51=>{const _0xb02562=_0x19f062;let _0x4d10df=_0x492d51['eventID'];_0x4d10df===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x492d51),_0x4d10df===_0x136fe4[_0xb02562(0x1f2)][_0xb02562(0xeb)]&&this[_0xb02562(0x36a)](_0x492d51);}),this[_0x19f062(0x26a)](this['_commandService'][_0x19f062(0x390)](_0x131ebe=>{const _0x3874aa=_0x19f062;let _0x1d1624=_0x131ebe[_0x3874aa(0x230)];_0x1d1624!=null&&this['_online']&&_0x131ebe['id']===_0x43a715[_0x3874aa(0x224)]['id']&&_0x1d1624[_0x3874aa(0x2f0)]===this['unitID']&&_0x1d1624[_0x3874aa(0x28f)]===!0x1&&_0x1d1624['ranges']['length']>0x0&&this[_0x3874aa(0x34b)](_0x1d1624[_0x3874aa(0x339)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe']((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x4b8b36=>{const _0xe67b1b=_0x19f062;if((_0x4b8b36==null?void 0x0:_0x4b8b36[_0xe67b1b(0x164)])!==this['unitID'])return;let _0x26c39e={'eventID':_0x136fe4[_0xe67b1b(0x1f2)][_0xe67b1b(0x2a2)],'data':_0x4b8b36};this[_0xe67b1b(0x19e)](_0x26c39e);}),this[_0x19f062(0x26a)](this[_0x19f062(0x3ac)]['onCommandExecuted'](_0x3bd3ce=>{const _0x17e757=_0x19f062;if(_0x3bd3ce['params']==null)return;let _0x2bb3af=_0x3bd3ce[_0x17e757(0x230)];if(_0x3bd3ce['id']!==_0x43a715[_0x17e757(0x2f6)]['id']||_0x2bb3af['unitId']!==this[_0x17e757(0x164)])return;let _0xdf87a7={'id':_0x17e757(0x259),'params':_0x2bb3af},_0x232d06=this[_0x17e757(0x297)];for(let [_0x39850f,_0x308d7b]of _0x232d06){let _0x355df0={'id':_0x17e757(0x259),'params':{'unitId':this[_0x17e757(0x164)],'actions':null,'textRanges':_0x308d7b[_0x17e757(0x339)]}},_0x5a2aa0=this[_0x17e757(0x10c)][_0x17e757(0x392)](_0xdf87a7,_0x355df0,!0x1);if((0x0,_0x136fe4[_0x17e757(0x327)])(_0x5a2aa0))throw _0x5a2aa0[_0x17e757(0x120)];_0x232d06[_0x17e757(0x1de)](_0x39850f,{..._0x308d7b,'ranges':_0x5a2aa0[_0x17e757(0x130)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4341b6=_0x17e757;this[_0x4341b6(0x239)][_0x4341b6(0x283)](_0x232d06);});})));}[_0x486c12(0x19e)](_0x27c495){const _0x4cb6f2=_0x486c12;var _0xada09,_0x2a9074;let {memberID:_0x4c460e,selection:_0x8f2140}=_0x27c495['data'],_0x2212b4=_0x429d89(_0x8f2140),_0x1e3a10=(_0xada09=(_0x2a9074=this[_0x4cb6f2(0x1dc)]['getMember'](this[_0x4cb6f2(0x164)],_0x4c460e))==null?void 0x0:_0x2a9074[_0x4cb6f2(0x167)])==null?_0x4cb6f2(0x21b):_0xada09,_0x4072f8={'color':this[_0x4cb6f2(0x2d0)][_0x4cb6f2(0xff)](_0x4c460e),'name':_0x1e3a10,'ranges':_0x2212b4},_0x51d523=this[_0x4cb6f2(0x297)];_0x51d523[_0x4cb6f2(0x1de)](_0x4c460e,_0x4072f8),this[_0x4cb6f2(0x239)][_0x4cb6f2(0x283)](_0x51d523);}[_0x486c12(0x36a)](_0x373a7d){const _0x703077=_0x486c12;let {memberID:_0x17c173}=_0x373a7d[_0x703077(0x3c4)],_0xdc4cc0=this[_0x703077(0x297)];_0xdc4cc0[_0x703077(0x26e)](_0x17c173),this[_0x703077(0x239)][_0x703077(0x283)](_0xdc4cc0);}['_toggleOnline'](){const _0x18bb2f=_0x486c12;var _0x516587;if(this[_0x18bb2f(0x380)]=!0x0,((_0x516587=this[_0x18bb2f(0x13d)][_0x18bb2f(0x17d)]())==null?void 0x0:_0x516587[_0x18bb2f(0x255)]())!==this[_0x18bb2f(0x164)])return;let _0x1fe2b1=this['_injector'][_0x18bb2f(0x114)](_0x43a715[_0x18bb2f(0x250)])[_0x18bb2f(0x3be)]();Array['isArray'](_0x1fe2b1)&&_0x1fe2b1['length']>0x0&&this['_updateLocalCursor'](_0x1fe2b1);}['_toggleOffline'](){const _0x3b6b00=_0x486c12;this[_0x3b6b00(0x380)]=!0x1;}};_0x443cbb=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0xb4d8f5)),_0x5dbd47(0x6,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x7,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x8,_0x3789e1[_0x486c12(0x253)])],_0x443cbb);let _0x54474f=()=>{let _0x2e032d=[],_0x2bfdf4=!0x1;return _0x5e1ead=>{_0x2e032d['push'](_0x5e1ead),_0x2bfdf4||(_0x2bfdf4=!0x0,setTimeout(()=>{const _0x5085a4=_0x3eb0;_0x2e032d[_0x5085a4(0x377)](_0x5c9302=>_0x5c9302()),_0x2e032d=[],_0x2bfdf4=!0x1;}));};},_0x35ff85=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x557e5e=_0x486c12;return this[_0x557e5e(0x239)][_0x557e5e(0x226)]();}get[_0x486c12(0x1d1)](){const _0x3ad4da=_0x486c12;return this[_0x3ad4da(0x1ea)][_0x3ad4da(0x226)]();}constructor(_0x4634e9,_0x12a1c3,_0x109dae,_0x9189d1,_0x31007c,_0x3ab41d,_0x1e09d9,_0x21594e){const _0x2ea6a5=_0x486c12;super(),this[_0x2ea6a5(0x164)]=_0x4634e9,this['_session']=_0x12a1c3,this[_0x2ea6a5(0x2bb)]=_0x109dae,this[_0x2ea6a5(0x2d0)]=_0x9189d1,this[_0x2ea6a5(0x1dc)]=_0x31007c,this[_0x2ea6a5(0x13d)]=_0x3ab41d,this[_0x2ea6a5(0x3ac)]=_0x1e09d9,this['_refRangeService']=_0x21594e,_0x28a1e3(this,_0x2ea6a5(0x380),!0x1),_0x28a1e3(this,_0x2ea6a5(0x184),!0x1),_0x28a1e3(this,'_cursorInfo$',new _0x4a289e[(_0x2ea6a5(0x13f))](new Map())),_0x28a1e3(this,_0x2ea6a5(0x200),this[_0x2ea6a5(0x239)][_0x2ea6a5(0x1fb)]()),_0x28a1e3(this,'_roomMembers$',new _0x4a289e[(_0x2ea6a5(0x13f))]([])),_0x28a1e3(this,_0x2ea6a5(0x311),this[_0x2ea6a5(0x1ea)]['pipe']((0x0,_0x4a289e[_0x2ea6a5(0x28e)])(0x12c))),_0x28a1e3(this,_0x2ea6a5(0x34b),(0x0,_0x3789e1['debounce'])((_0x27abfc,_0x40ab46)=>{const _0x3d6e67=_0x2ea6a5;let _0x121ef3={'eventID':_0x136fe4[_0x3d6e67(0x1f2)][_0x3d6e67(0x2a2)],'data':{'unitID':this[_0x3d6e67(0x164)],'memberID':this[_0x3d6e67(0x218)]['getMemberID'](),'selection':(0x0,_0x12c154[_0x3d6e67(0x165)])(_0x27abfc,_0x40ab46[_0x3d6e67(0x25d)])}};this['_session']['send'](_0x121ef3,this[_0x3d6e67(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x270a13=_0x486c12;super[_0x270a13(0x1b4)](),this[_0x270a13(0x239)][_0x270a13(0x283)](new Map()),this[_0x270a13(0x239)][_0x270a13(0x257)](),this['_roomMembers$']['next']([]),this[_0x270a13(0x1ea)][_0x270a13(0x257)]();}[_0x486c12(0x394)](){const _0x5f425d=_0x486c12;this[_0x5f425d(0x184)]||(this[_0x5f425d(0x184)]=!0x0,this[_0x5f425d(0x218)]['sessionStatus$'][_0x5f425d(0x286)]((0x0,_0x4a289e['takeUntil'])(this['dispose$']))[_0x5f425d(0x2df)](_0x26ec04=>{const _0x4728a5=_0x5f425d;_0x26ec04===_0x5ba2ed['SessionStatus'][_0x4728a5(0x330)]?this[_0x4728a5(0x348)]():this['_toggleOffline']();}),this[_0x5f425d(0x218)][_0x5f425d(0xfc)][_0x5f425d(0x286)]((0x0,_0x4a289e[_0x5f425d(0xf8)])(this[_0x5f425d(0x389)]))[_0x5f425d(0x2df)](_0x207e0f=>{const _0x329e62=_0x5f425d;let _0x1cff83=_0x207e0f[_0x329e62(0x30a)];_0x1cff83===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x329e62(0x19e)](_0x207e0f),_0x1cff83===_0x136fe4['CollaborationEvent']['USERS_LEAVE']&&this[_0x329e62(0x36a)](_0x207e0f);}),this[_0x5f425d(0x171)](),this[_0x5f425d(0x26a)](this[_0x5f425d(0x3ac)][_0x5f425d(0x390)](_0x58fa97=>{const _0x394126=_0x5f425d;if(this[_0x394126(0x380)]&&_0x58fa97['id']===_0x5081db[_0x394126(0x3a2)]['id']&&_0x58fa97[_0x394126(0x230)][_0x394126(0x2f0)]===this[_0x394126(0x164)]){let _0x36fe10=_0x58fa97['params'];this[_0x394126(0x34b)](_0x36fe10[_0x394126(0x33b)],_0x36fe10['selections'][0x0]);}})));}[_0x486c12(0x19e)](_0x302a25){const _0xaa2a92=_0x486c12;var _0x16a206,_0x3208f7;let {memberID:_0x521d7d,selection:_0xc5707b}=_0x302a25[_0xaa2a92(0x3c4)],{sheetName:_0x53ebec,range:_0x154280}=(0x0,_0x12c154[_0xaa2a92(0x258)])(_0xc5707b),_0x235b8e={'name':(_0x16a206=(_0x3208f7=this['_memberService'][_0xaa2a92(0xf1)](this[_0xaa2a92(0x164)],_0x521d7d))==null?void 0x0:_0x3208f7[_0xaa2a92(0x167)])==null?_0xaa2a92(0x21b):_0x16a206,'range':this[_0xaa2a92(0x2ca)](_0x53ebec,_0x154280),'sheetID':_0x53ebec,'color':this[_0xaa2a92(0x2d0)][_0xaa2a92(0xff)](_0x521d7d),'selection':_0xc5707b},_0x10ce8d=this[_0xaa2a92(0x297)];_0x10ce8d[_0xaa2a92(0x1de)](_0x521d7d,_0x235b8e),this[_0xaa2a92(0x239)][_0xaa2a92(0x283)](_0x10ce8d);}[_0x486c12(0x36a)](_0x158f55){const _0x4aa443=_0x486c12;let {memberID:_0xfab6c9}=_0x158f55[_0x4aa443(0x3c4)],_0xd04186=this[_0x4aa443(0x297)];_0xd04186[_0x4aa443(0x26e)](_0xfab6c9),this[_0x4aa443(0x239)][_0x4aa443(0x283)](_0xd04186);}[_0x486c12(0x2ca)](_0x397d71,_0x65c539){const _0x486ca6=_0x486c12;var _0x1eb8b3;let _0x4f3cc6=(_0x1eb8b3=this['_univerInstanceService'][_0x486ca6(0x3b9)](this[_0x486ca6(0x164)]))==null||(_0x1eb8b3=_0x1eb8b3[_0x486ca6(0x284)](_0x397d71))==null?void 0x0:_0x1eb8b3['getMergeData']();return(_0x4f3cc6==null?void 0x0:_0x4f3cc6['find'](_0x4c5232=>_0x3789e1[_0x486ca6(0x310)]['contains'](_0x4c5232,_0x65c539)))||_0x65c539;}[_0x486c12(0x171)](){const _0x24fc46=_0x486c12;let _0x1de951=new _0x3789e1['DisposableCollection'](),_0xc23063=_0x54474f(),_0x1cfdc3=()=>{const _0x518b4d=_0x3eb0;_0x1de951['dispose']();let _0x5d91ee=(_0x486fdf,_0x551ae8,_0x4d7cd9,_0x4f28b6)=>{const _0x190e0d=_0x3eb0;let _0x4893b4=[];switch(_0x486fdf['id']){case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x12b)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x29d)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['DeleteRangeMoveUpCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2c5)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x2bc)]:_0x4893b4=(0x0,_0x5081db['handleInsertCol'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x166)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x317)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x353)]:_0x4893b4=(0x0,_0x5081db['handleInsertRangeMoveRight'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x3c7)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2cf)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['MoveRangeCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2a3)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x1fe)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x26c)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['RemoveRowCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x369)])(_0x486fdf,_0x4f28b6);break;}let _0x4d6a1d=(0x0,_0x5081db['runRefRangeMutations'])(_0x4893b4,_0x4f28b6),_0x343478=this['cursorInfo'][_0x190e0d(0x114)](_0x551ae8);if(_0x343478&&_0x4d6a1d){let _0x885a1c={..._0x343478,'range':_0x4d6a1d};this[_0x190e0d(0x297)][_0x190e0d(0x1de)](_0x551ae8,_0x885a1c),_0xc23063(()=>{const _0x577f23=_0x190e0d;let _0x29c0dc=this[_0x577f23(0x262)][_0x577f23(0x14e)](_0x4d6a1d,_0x1a11d7=>(_0x29c0dc[_0x577f23(0x1b4)](),_0x5d91ee(_0x1a11d7,_0x551ae8,_0x4d7cd9,_0x4d6a1d)));_0x1de951['add'](_0x29c0dc);});}return{'redos':[],'undos':[]};};this[_0x518b4d(0x297)][_0x518b4d(0x377)]((_0x2b29ab,_0x1345e3)=>{const _0x845aa4=_0x518b4d;let {range:_0x3404d3,sheetID:_0x2f9556}=_0x2b29ab,_0xc7475e=this['_refRangeService'][_0x845aa4(0x14e)](_0x3404d3,_0x28faf9=>(_0xc7475e[_0x845aa4(0x1b4)](),_0x5d91ee(_0x28faf9,_0x1345e3,_0x2f9556,_0x3404d3)));_0x1de951['add'](_0xc7475e);});};this['disposeWithMe']((0x0,_0x3789e1['toDisposable'])(this['_cursorInfo$'][_0x24fc46(0x2df)](()=>{_0x1cfdc3();})));}[_0x486c12(0x348)](){const _0x18aa1d=_0x486c12;var _0x5d0bb7,_0x58819d;if(this[_0x18aa1d(0x380)]=!0x0,((_0x5d0bb7=this[_0x18aa1d(0x13d)][_0x18aa1d(0x17d)]())==null?void 0x0:_0x5d0bb7[_0x18aa1d(0x255)]())!==this[_0x18aa1d(0x164)])return;let _0xb09e00=(_0x58819d=this[_0x18aa1d(0x2bb)][_0x18aa1d(0x114)](_0x5081db[_0x18aa1d(0x378)])['getCurrentSelections']())==null?void 0x0:_0x58819d[0x0],_0x29fa3c=this['_univerInstanceService'][_0x18aa1d(0x35a)](_0x3789e1[_0x18aa1d(0x246)][_0x18aa1d(0x2f9)])['getActiveSheet']();_0xb09e00&&_0x29fa3c&&this[_0x18aa1d(0x34b)](_0x29fa3c[_0x18aa1d(0x15c)](),_0xb09e00);}[_0x486c12(0x3b7)](){this['_online']=!0x1;}};_0x35ff85=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x6,_0x3789e1['ICommandService']),_0x5dbd47(0x7,(0x0,_0x3789e1['Inject'])(_0x5081db[_0x486c12(0x16d)]))],_0x35ff85);let _0x59bc3e=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5b1676,_0x4d8b34,_0x57bcac){const _0x1cbf1=_0x486c12;super(),this[_0x1cbf1(0x13d)]=_0x5b1676,this['_injector']=_0x4d8b34,this[_0x1cbf1(0x23c)]=_0x57bcac,_0x28a1e3(this,_0x1cbf1(0x235),new Map()),_0x28a1e3(this,_0x1cbf1(0x338),new _0x4a289e['Subject']()),this['_init']();}[_0x486c12(0x1b4)](){const _0x5a8f65=_0x486c12;super[_0x5a8f65(0x1b4)](),this[_0x5a8f65(0x338)][_0x5a8f65(0x257)](),this[_0x5a8f65(0x235)][_0x5a8f65(0x377)](_0x891527=>_0x891527[_0x5a8f65(0x1b4)]());}['getCollabCursors$'](_0xaac18e){const _0x450c12=_0x486c12;return this[_0x450c12(0x235)][_0x450c12(0x35e)](_0xaac18e)?this['_entities'][_0x450c12(0x114)](_0xaac18e)[_0x450c12(0x200)]:this['_entityInit$']['pipe']((0x0,_0x4a289e['filter'])(_0x516596=>_0x516596[_0x450c12(0x164)]===_0xaac18e),(0x0,_0x4a289e[_0x450c12(0x3b1)])(_0x2d4b09=>_0x2d4b09[_0x450c12(0x200)]));}['_init'](){const _0x120b07=_0x486c12;this[_0x120b07(0x13d)][_0x120b07(0x274)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2f9)])[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this[_0x120b07(0x389)]))[_0x120b07(0x2df)](async _0x4176f6=>{const _0x1725cf=_0x120b07;let _0xf9fbbb=_0x4176f6[_0x1725cf(0x255)](),_0x3dba44=await this[_0x1725cf(0x20b)](_0xf9fbbb);this[_0x1725cf(0x338)][_0x1725cf(0x283)](_0x3dba44),this[_0x1725cf(0x235)][_0x1725cf(0x1de)](_0xf9fbbb,_0x3dba44);}),this[_0x120b07(0x13d)]['getTypeOfUnitAdded$'](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)])[_0x120b07(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x120b07(0x389)]))['pipe']((0x0,_0x4a289e[_0x120b07(0x3aa)])(_0x1df644=>!_0x1df644[_0x120b07(0x255)]()[_0x120b07(0xe8)]('__')))[_0x120b07(0x2df)](async _0x3896fb=>{const _0x35f852=_0x120b07;let _0x2b3962=_0x3896fb[_0x35f852(0x255)](),_0x105b95=await this[_0x35f852(0x331)](_0x2b3962);this['_entityInit$'][_0x35f852(0x283)](_0x105b95),this[_0x35f852(0x235)][_0x35f852(0x1de)](_0x2b3962,_0x105b95);}),(0x0,_0x4a289e[_0x120b07(0x101)])(this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)]),this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)]['UNIVER_SHEET']))[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this['dispose$']))[_0x120b07(0x2df)](_0x3c892d=>{const _0x39af94=_0x120b07;let _0x52b57b=_0x3c892d['getUnitId'](),_0x33e041=this[_0x39af94(0x235)][_0x39af94(0x114)](_0x52b57b);_0x33e041&&(_0x33e041[_0x39af94(0x1b4)](),this[_0x39af94(0x235)][_0x39af94(0x26e)](_0x52b57b));});}async['_startSheetCollabCursor'](_0x53111c){const _0x155f91=_0x486c12;let _0x7d5ef9=await this[_0x155f91(0x23c)][_0x155f91(0x32f)](_0x53111c),_0x2bcc3b=this[_0x155f91(0x2bb)][_0x155f91(0x328)](_0x35ff85,_0x53111c,_0x7d5ef9);return _0x2bcc3b[_0x155f91(0x394)](),_0x2bcc3b;}async[_0x486c12(0x331)](_0x31011d){const _0x38265a=_0x486c12;let _0x2af25c=await this['_collabSessionService'][_0x38265a(0x32f)](_0x31011d),_0x259f3a=this[_0x38265a(0x2bb)][_0x38265a(0x328)](_0x443cbb,_0x31011d,_0x2af25c);return _0x259f3a[_0x38265a(0x394)](),_0x259f3a;}};_0x59bc3e=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x59bc3e);function _0x2b2b89(_0xe705a3,_0x64ea77){const _0x320958=_0x486c12;var _0x313a87,_0x34160e,_0x394d5f;let {radius:_0x327d74,width:_0x53222c,height:_0x4c72da}=_0x64ea77;_0x327d74=(_0x313a87=_0x327d74)==null?0x0:_0x313a87,_0x53222c=(_0x34160e=_0x53222c)==null?0x1e:_0x34160e,_0x4c72da=(_0x394d5f=_0x4c72da)==null?0x1e:_0x394d5f;let _0x42fa09=0x0,_0x391d75=0x0,_0x2f5dba=0x0;_0x42fa09=_0x391d75=_0x2f5dba=Math[_0x320958(0x2f2)](_0x327d74,_0x53222c/0x2,_0x4c72da/0x2),_0xe705a3[_0x320958(0x1f7)](),_0xe705a3[_0x320958(0x344)](_0x42fa09,0x0),_0xe705a3['lineTo'](_0x53222c-_0x391d75,0x0),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x391d75,_0x391d75,_0x391d75,Math['PI']*0x3/0x2,0x0,!0x1),_0xe705a3[_0x320958(0x11b)](_0x53222c,_0x4c72da-_0x2f5dba),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x2f5dba,_0x4c72da-_0x2f5dba,_0x2f5dba,0x0,Math['PI']/0x2,!0x1),_0xe705a3[_0x320958(0x11b)](0x0,_0x4c72da),_0xe705a3[_0x320958(0x11b)](0x0,_0x42fa09),_0xe705a3[_0x320958(0x27d)](_0x42fa09,_0x42fa09,_0x42fa09,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe705a3[_0x320958(0x196)](),_0x64ea77[_0x320958(0x294)]&&(_0xe705a3[_0x320958(0x1f9)](),_0xe705a3['fillStyle']=_0x64ea77['fill'],_0x64ea77[_0x320958(0x23d)]==='evenodd'?_0xe705a3[_0x320958(0x294)]('evenodd'):_0xe705a3['fill'](),_0xe705a3[_0x320958(0x364)]());}var _0x31aed2=class _0x3f0e2d extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0x254e33,_0x3a6150){const _0x4f0b33=_0x486c12;super(_0x254e33,_0x3a6150),_0x28a1e3(this,'color',void 0x0),_0x28a1e3(this,_0x4f0b33(0x21a),void 0x0),this[_0x4f0b33(0x1b8)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x1b8)],this[_0x4f0b33(0x21a)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x21a)];}static[_0x486c12(0x30c)](_0x1b1d84,_0xc70b39){const _0x1186cc=_0x486c12;let {text:_0x1071db,color:_0x9dd47a}=_0xc70b39;_0x1b1d84[_0x1186cc(0x1f9)](),_0x1b1d84['font']=_0x1186cc(0xe4);let _0x494478=_0x1b1d84[_0x1186cc(0x280)](_0x1071db)[_0x1186cc(0x144)];if(_0x2b2b89(_0x1b1d84,{'height':0x14,'radius':0x4,'width':Math[_0x1186cc(0x2f2)](_0x494478+0x8,0xc8),'fill':_0x9dd47a,'evented':!0x1}),_0x1b1d84[_0x1186cc(0x2dc)]=_0x1186cc(0x28d),_0x494478>0xc0){let _0x1e03f7='',_0x160878=0x0;for(let _0x3b3695 of _0x1071db){let _0xeb4548=_0x1b1d84[_0x1186cc(0x280)](_0x3b3695)[_0x1186cc(0x144)];if(_0x160878+_0xeb4548<=0xc0-_0x1b1d84['measureText'](_0x1186cc(0x155))[_0x1186cc(0x144)])_0x1e03f7+=_0x3b3695,_0x160878+=_0xeb4548;else{_0x1e03f7+='...';break;}}_0x1b1d84[_0x1186cc(0x28b)](_0x1e03f7,0x4,0xf);}else _0x1b1d84[_0x1186cc(0x28b)](_0x1071db,0x4,0xf);_0x1b1d84[_0x1186cc(0x364)]();}[_0x486c12(0x209)](_0x450793){_0x3f0e2d['drawWith'](_0x450793,this);}};let _0x41be05=_0x486c12(0x28c);var _0x210b6c=class{constructor(_0x18d080,_0x2e3fc3,_0x2ffa8a,_0x6278b){const _0x1862e4=_0x486c12;this[_0x1862e4(0x1fd)]=_0x18d080,this[_0x1862e4(0x2b8)]=_0x2e3fc3,this['_docSkeleton']=_0x2ffa8a,this[_0x1862e4(0x371)]=_0x6278b,_0x28a1e3(this,_0x1862e4(0x3b5),[]),_0x28a1e3(this,'_anchor',null),_0x28a1e3(this,_0x1862e4(0x1b7),null),_0x28a1e3(this,_0x1862e4(0x179),null),_0x28a1e3(this,_0x1862e4(0x2dd),null),_0x28a1e3(this,_0x1862e4(0x2ce),null),this[_0x1862e4(0x2cd)]();}set[_0x486c12(0x1c6)](_0x29f3fe){const _0x2a1958=_0x486c12;_0x29f3fe?(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)]['hide'](),this[_0x2a1958(0x1b7)]&&this['_textBubble']['show']()):(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)][_0x2a1958(0x366)](),this['_textBubble']&&this[_0x2a1958(0x1b7)][_0x2a1958(0xe3)]());}[_0x486c12(0x1b4)](){const _0x21608d=_0x486c12;for(let _0x547474 of this[_0x21608d(0x3b5)])_0x547474[_0x21608d(0x1b4)]();this[_0x21608d(0x1b7)]&&this[_0x21608d(0x1b7)][_0x21608d(0x1b4)](),this[_0x21608d(0x179)]&&this['_anchorDot'][_0x21608d(0x1b4)](),this[_0x21608d(0x34c)]&&this[_0x21608d(0x34c)][_0x21608d(0x1b4)](),this[_0x21608d(0x2ce)]&&this[_0x21608d(0x2ce)]();}['_render'](){const _0x24f58a=_0x486c12;let {_docSkeleton:_0x1a3e87,_document:_0x539462}=this,{color:_0x159c2f,name:_0x5a2577,ranges:_0x15cbbb}=this[_0x24f58a(0x1fd)],_0x4545ce=_0x539462[_0x24f58a(0x214)](),{docsLeft:_0xb94453,docsTop:_0x22f4ed}=_0x4545ce,_0xe8fd6a=new _0x4d692e['NodePositionConvertToCursor'](_0x4545ce,_0x1a3e87);for(let {startOffset:_0x35ba82,endOffset:_0x182245,rangeType:_0x8149be,segmentId:_0x3c067d,segmentPage:_0x122592,collapsed:_0x28179e,isActive:_0x33914c}of _0x15cbbb){let _0x1cf936=_0x1a3e87[_0x24f58a(0x19c)](_0x35ba82,!0x0,_0x3c067d,_0x122592),_0x56dde4=_0x1a3e87[_0x24f58a(0x19c)](_0x182245,!0x0,_0x3c067d,_0x122592);if(_0x56dde4==null&&(_0x56dde4=_0x1a3e87['findNodePositionByCharIndex'](_0x182245-0x1,!0x1,_0x3c067d,_0x122592)),_0x33914c){let {contentBoxPointGroup:_0x540b07}=_0xe8fd6a['getRangePointData'](_0x56dde4,_0x56dde4);if(_0x540b07[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x365)](_0x159c2f,_0x540b07,_0xb94453,_0x22f4ed,_0x5a2577),this[_0x24f58a(0x2ce)]=this['_handleHover']();}if(_0x1cf936&&_0x56dde4){if(_0x8149be===_0x3789e1[_0x24f58a(0x2c7)][_0x24f58a(0x222)]){var _0x338d97;let {pointGroup:_0x55b21b}=(_0x338d97=new _0x4d692e['NodePositionConvertToRectRange'](_0x4545ce,_0x1a3e87)['getRangePointData'](_0x1cf936,_0x56dde4))==null?{}:_0x338d97;if(_0x55b21b==null||_0x55b21b[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x2d2)](_0x159c2f,_0x55b21b,_0xb94453,_0x22f4ed);}else{if(!_0x28179e){let {borderBoxPointGroup:_0x326434}=_0xe8fd6a[_0x24f58a(0x14c)](_0x1cf936,_0x56dde4);if(_0x326434['length']===0x0)continue;this[_0x24f58a(0x273)](_0x159c2f,_0x326434,_0xb94453,_0x22f4ed);}}}}}[_0x486c12(0x365)](_0x1a806c,_0x41656c,_0x4beb98,_0x33090d,_0x410445){const _0x13f2c2=_0x486c12;let {left:_0x4c3193,top:_0x586718,height:_0x4dfa26}=this[_0x13f2c2(0x32c)](_0x41656c),_0x278608=1.5/this[_0x13f2c2(0x2b7)](),_0x24a261=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d,'height':_0x4dfa26,'width':1.5,'fill':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':_0x278608,'stroke':_0x13f2c2(0x303),'evented':!0x0});this[_0x13f2c2(0x34c)]=_0x24a261,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x24a261,_0x4d692e[_0x13f2c2(0x278)]);let _0x16f567=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1a806c||(0x0,_0x4b5cb2['getColor'])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':0x0,'stroke':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'evented':!0x1});this[_0x13f2c2(0x179)]=_0x16f567,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x16f567,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);let _0x1af2eb=new _0x31aed2(_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x14,'text':_0x410445,'color':_0x1a806c});this[_0x13f2c2(0x1b7)]=_0x1af2eb,this['_scene'][_0x13f2c2(0x2fb)](_0x1af2eb,_0x4d692e[_0x13f2c2(0x278)]),this[_0x13f2c2(0x1c6)]=!0x1;}[_0x486c12(0x131)](){const _0x1f4857=_0x486c12;let _0xc75d6=this[_0x1f4857(0x34c)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x441bbc=_0x1f4857;this[_0x441bbc(0x1c6)]=!0x0;}),_0x4516a3=this[_0x1f4857(0x34c)][_0x1f4857(0x266)][_0x1f4857(0x2c8)](()=>{const _0x6e1f2d=_0x1f4857;this[_0x6e1f2d(0x2dd)]&&clearTimeout(this[_0x6e1f2d(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x1cec1e=_0x6e1f2d;this[_0x1cec1e(0x1c6)]=!0x1;},0x7d0);});return()=>{const _0x1ab6cc=_0x1f4857;_0xc75d6[_0x1ab6cc(0x3b6)](),_0x4516a3['unsubscribe']();};}[_0x486c12(0x273)](_0x16400b,_0x3962db,_0x4e3f67,_0x1b0fbe){const _0x12f50b=_0x486c12;let _0x2ee898=0.2,_0x5e47ff=new _0x3789e1['ColorKit'](_0x16400b)[_0x12f50b(0x1ff)](_0x2ee898)[_0x12f50b(0x340)](),_0x5a672d=new _0x4b5cb2[(_0x12f50b(0x1b1))](_0x12f50b(0x10e)+(0x0,_0x3789e1[_0x12f50b(0x211)])(0x6),{'pointsGroup':_0x3962db,'fill':_0x5e47ff||(0x0,_0x4b5cb2['getColor'])(_0x3789e1['COLORS']['black'],_0x2ee898),'left':_0x4e3f67,'top':_0x1b0fbe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12f50b(0x3b5)][_0x12f50b(0x1d9)](_0x5a672d),this[_0x12f50b(0x2b8)][_0x12f50b(0x2fb)](_0x5a672d,_0x4d692e[_0x12f50b(0x278)]);}[_0x486c12(0x2d2)](_0x311592,_0x1a9843,_0x50b8cb,_0x49f096){const _0x20eaeb=_0x486c12;let _0x38c4db=0.2,_0x29cb5b=new _0x3789e1['ColorKit'](_0x311592)[_0x20eaeb(0x1ff)](_0x38c4db)['toRgbString'](),_0x5260d9=new _0x4b5cb2[(_0x20eaeb(0x1b1))](_0x20eaeb(0x25f)+(0x0,_0x3789e1[_0x20eaeb(0x211)])(0x6),{'pointsGroup':_0x1a9843,'fill':_0x29cb5b||(0x0,_0x4b5cb2[_0x20eaeb(0x2f1)])(_0x3789e1[_0x20eaeb(0x153)][_0x20eaeb(0x357)],_0x38c4db),'left':_0x50b8cb,'top':_0x49f096,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20eaeb(0x3b5)][_0x20eaeb(0x1d9)](_0x5260d9),this[_0x20eaeb(0x2b8)][_0x20eaeb(0x2fb)](_0x5260d9,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);}[_0x486c12(0x32c)](_0x337fb7){let _0x13106f=_0x337fb7[0x0],_0x4d5153=_0x13106f[0x0],_0x51eca9=_0x13106f[0x2],{x:_0x430fe6,y:_0x1f926b}=_0x4d5153,{x:_0x33dcc1,y:_0x1327a9}=_0x51eca9;return{'left':_0x430fe6,'top':_0x1f926b,'width':_0x33dcc1-_0x430fe6,'height':_0x1327a9-_0x1f926b};}[_0x486c12(0x2b7)](){const _0x4ef09f=_0x486c12;let {scaleX:_0x15c31d,scaleY:_0x429363}=this['_scene'][_0x4ef09f(0x186)]();return Math['max'](_0x15c31d,_0x429363);}};let _0x8c0b72=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x583e0c,_0x35a3c5,_0x482636,_0x408868,_0x44a3d1){const _0x21ac07=_0x486c12;super(),this[_0x21ac07(0x37f)]=_0x583e0c,this[_0x21ac07(0x1f4)]=_0x35a3c5,this[_0x21ac07(0x1bb)]=_0x482636,this[_0x21ac07(0x3ac)]=_0x408868,this[_0x21ac07(0xe9)]=_0x44a3d1,_0x28a1e3(this,_0x21ac07(0x177),[]),_0x28a1e3(this,_0x21ac07(0xfd),[]),this[_0x21ac07(0x184)]();}['_init'](){const _0x238841=_0x486c12;let _0x369cd5=this[_0x238841(0x37f)]['unitId'],_0x3b404e=this[_0x238841(0x1f4)];this['disposeWithMe']((0x0,_0x4a289e[_0x238841(0x1db)])([this[_0x238841(0x1bb)]['getCollabCursors$'](_0x369cd5),this[_0x238841(0xe9)][_0x238841(0x3b8)]])[_0x238841(0x286)]((0x0,_0x21659b[_0x238841(0x397)])(([_0x36aa5e,_0x300c26])=>({'skeleton':_0x3b404e['getSkeleton'](),'cursors':[..._0x36aa5e[_0x238841(0x11e)]()]['flatMap'](_0x346453=>({..._0x346453,'color':this[_0x238841(0xe9)][_0x238841(0x220)](_0x346453[_0x238841(0x1b8)])}))})))[_0x238841(0x2df)](_0x3ca73a=>{if(this['_removeCollabCursors'](),_0x3ca73a){let {skeleton:_0x1a9e69,cursors:_0xab6dd7}=_0x3ca73a;this['_updateCollabCursors'](_0x1a9e69,_0xab6dd7);}})),this[_0x238841(0x36e)](),this[_0x238841(0x30d)]();}[_0x486c12(0x2b6)](_0x5df0b8,_0x51f6b9){const _0x2d0652=_0x486c12;let {scene:_0x7ff283,mainComponent:_0x8ad69c}=this[_0x2d0652(0x37f)];this[_0x2d0652(0x177)]=_0x51f6b9[_0x2d0652(0x397)](_0x47c2f7=>new _0x210b6c(_0x47c2f7,_0x7ff283,_0x5df0b8,_0x8ad69c)),this[_0x2d0652(0xfd)]=_0x51f6b9;}[_0x486c12(0x33d)](){const _0x59dedb=_0x486c12;this[_0x59dedb(0x2fa)]();let {scene:_0x57638a,mainComponent:_0x148049}=this[_0x59dedb(0x37f)],_0x3416b1=this[_0x59dedb(0x1f4)][_0x59dedb(0x170)]();this[_0x59dedb(0x177)]=this[_0x59dedb(0xfd)]['map'](_0x9a669c=>new _0x210b6c(_0x9a669c,_0x57638a,_0x3416b1,_0x148049));}[_0x486c12(0x2fa)](){const _0x24ef6b=_0x486c12;this[_0x24ef6b(0x177)][_0x24ef6b(0x377)](_0x210b37=>_0x210b37[_0x24ef6b(0x1b4)]()),this[_0x24ef6b(0x177)]=[];}['_initCommandExecutedListener'](){const _0x141e75=_0x486c12;let _0x5783f6=[_0x4d692e[_0x141e75(0x1a2)]['id']];this[_0x141e75(0x26a)](this[_0x141e75(0x3ac)][_0x141e75(0x390)](_0x336e7f=>{const _0x11bc21=_0x141e75;_0x5783f6[_0x11bc21(0x152)](_0x336e7f['id'])&&_0x336e7f['params'][_0x11bc21(0x2f0)]===this[_0x11bc21(0x37f)][_0x11bc21(0x2f0)]&&this[_0x11bc21(0x33d)]();}));}[_0x486c12(0x36e)](){const _0x2eaff6=_0x486c12;this['disposeWithMe']((0x0,_0x3789e1[_0x2eaff6(0x322)])(this['_context'][_0x2eaff6(0x301)]['onTransformChange$'])[_0x2eaff6(0x286)]((0x0,_0x21659b[_0x2eaff6(0x3aa)])(_0x27bee3=>_0x27bee3[_0x2eaff6(0x3a8)]===_0x4b5cb2[_0x2eaff6(0x321)][_0x2eaff6(0x2fe)]),(0x0,_0x21659b[_0x2eaff6(0x210)])(0x10))[_0x2eaff6(0x2df)](()=>{this['_refreshCollabCursors']();}));}};_0x8c0b72=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x43a715[_0x486c12(0x182)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x3789e1['ThemeService']))],_0x8c0b72);var _0x573714=class extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0xb16d59,_0x1e0d6b){const _0x33e25a=_0x486c12;if(super(_0xb16d59,_0x1e0d6b),_0x28a1e3(this,_0x33e25a(0x367),void 0x0),_0x28a1e3(this,_0x33e25a(0x111),!0x1),_0x28a1e3(this,_0x33e25a(0x149),void 0x0),_0x28a1e3(this,'_name',''),_0x28a1e3(this,_0x33e25a(0xf2),_0x33e25a(0x39e)),_0x28a1e3(this,'_backgroundColor',void 0x0),_0x28a1e3(this,'_showText',void 0x0),_0x28a1e3(this,_0x33e25a(0x3a1),void 0x0),_0x28a1e3(this,_0x33e25a(0x139),0x4),_0x28a1e3(this,_0x33e25a(0x193),void 0x0),_0x28a1e3(this,_0x33e25a(0x31c),void 0x0),_0x28a1e3(this,_0x33e25a(0x15f),!0x0),_0x28a1e3(this,_0x33e25a(0x17f),0x0),_0x1e0d6b){var _0x1749e8;if(this[_0x33e25a(0x381)](_0x1e0d6b),_0x1e0d6b[_0x33e25a(0x18f)]&&((_0x1749e8=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0x1749e8)){var _0xf2b536;this['_startBlinking']((_0xf2b536=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0xf2b536);}}this['onPointerEnter$'][_0x33e25a(0x2c8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x33e25a(0x266)][_0x33e25a(0x2c8)](()=>this[_0x33e25a(0x381)]({'hovered':!0x1}));}[_0x486c12(0x244)](_0x5abd76){this['_offsetY']=_0x5abd76;}[_0x486c12(0x381)](_0x284966){const _0x5f5b66=_0x486c12;var _0xf8407f,_0x341771,_0x110675,_0x3317c3,_0x5c34e7,_0xf17ea3,_0x494891;this[_0x5f5b66(0x367)]=(_0xf8407f=_0x284966['color'])==null?this[_0x5f5b66(0x367)]:_0xf8407f,this[_0x5f5b66(0x111)]=(_0x341771=_0x284966[_0x5f5b66(0x148)])==null?this[_0x5f5b66(0x111)]:_0x341771,this[_0x5f5b66(0x149)]=(_0x110675=_0x284966[_0x5f5b66(0x25d)])==null?this[_0x5f5b66(0x149)]:_0x110675,this[_0x5f5b66(0xfe)]=(_0x3317c3=_0x284966[_0x5f5b66(0x167)])==null?this['_name']:_0x3317c3,this[_0x5f5b66(0xf2)]=(_0x5c34e7=_0x284966[_0x5f5b66(0x136)])==null?this[_0x5f5b66(0xf2)]:_0x5c34e7,this[_0x5f5b66(0x289)]=(_0xf17ea3=_0x284966[_0x5f5b66(0x189)])==null?this[_0x5f5b66(0x289)]:_0xf17ea3,this[_0x5f5b66(0x17c)]=(_0x494891=_0x284966['showText'])==null?this[_0x5f5b66(0x17c)]:_0x494891,_0x284966['highlightSecond']!==void 0x0&&(this[_0x5f5b66(0x139)]=_0x284966[_0x5f5b66(0x1d3)]),_0x284966[_0x5f5b66(0x18f)]!==void 0x0&&(this[_0x5f5b66(0x3a1)]=_0x284966['highlight']),_0x284966[_0x5f5b66(0x1d6)]!==void 0x0&&(this[_0x5f5b66(0x17f)]=_0x284966[_0x5f5b66(0x1d6)]),this[_0x5f5b66(0x18a)]({'width':_0x284966[_0x5f5b66(0x144)],'height':_0x284966['height']});}[_0x486c12(0x2da)](_0x2ae81b){const _0x1f5bd4=_0x486c12;let {row:_0x345c1f,column:_0x95d49}=_0x2ae81b;if(_0x345c1f>=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x116)]&&_0x345c1f<=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x1ab)]&&_0x95d49>=this[_0x1f5bd4(0x149)]['startColumn']&&_0x95d49<=this['_range'][_0x1f5bd4(0x1cd)]){this[_0x1f5bd4(0x381)]({'hovered':!0x0});return;}this[_0x1f5bd4(0x381)]({'hovered':!0x1});}[_0x486c12(0x195)](_0x5abec8){const _0x3ff4c7=_0x486c12;this[_0x3ff4c7(0x354)](),this[_0x3ff4c7(0x15f)]=!0x0,this[_0x3ff4c7(0x31c)]=window[_0x3ff4c7(0x1ba)](()=>{const _0x386772=_0x3ff4c7;this['_isBlinkVisible']=!this[_0x386772(0x15f)],this['makeDirty'](!0x0);},0x1f4),this[_0x3ff4c7(0x193)]=window[_0x3ff4c7(0x31f)](()=>{const _0x42ec7c=_0x3ff4c7;this[_0x42ec7c(0x354)](),this[_0x42ec7c(0x15f)]=!0x0,this['makeDirty'](!0x0);},_0x5abec8*0x3e8);}[_0x486c12(0x354)](){const _0x1766e8=_0x486c12;this[_0x1766e8(0x31c)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x1766e8(0x31c)]=void 0x0),this[_0x1766e8(0x193)]&&(window[_0x1766e8(0x2bf)](this[_0x1766e8(0x193)]),this[_0x1766e8(0x193)]=void 0x0);}[_0x486c12(0x29e)](_0x521dd2){return!0x1;}[_0x486c12(0x1b4)](){const _0x1d6344=_0x486c12;this[_0x1d6344(0x354)](),super[_0x1d6344(0x1b4)]();}[_0x486c12(0x209)](_0x44abf6){const _0x427c55=_0x486c12;var _0x260ed1;let _0x19294b=this[_0x427c55(0x367)],_0xa22401=this['_backgroundColor'];if(this[_0x427c55(0x3a1)]&&!this[_0x427c55(0x15f)]&&(_0x19294b=this[_0x427c55(0x34e)](this[_0x427c55(0x367)]),_0xa22401=this[_0x427c55(0x289)]?this[_0x427c55(0x34e)](this['_backgroundColor']):void 0x0),_0x4b5cb2[_0x427c55(0x25b)][_0x427c55(0x30c)](_0x44abf6,{'width':this['width'],'height':this[_0x427c55(0x1d4)],'strokeWidth':(_0x260ed1=this[_0x427c55(0x21d)])==null?1.5:_0x260ed1,'stroke':_0x19294b,'evented':!0x1,'fill':_0xa22401}),this[_0x427c55(0x111)]||this[_0x427c55(0x17c)]){var _0x1bc6e3;_0x44abf6['save'](),_0x44abf6[_0x427c55(0x372)](0x1,0x0,0x0,0x1,this[_0x427c55(0x144)],(this['_labelPosition']===_0x427c55(0x104)?0x0:-0x14)+((_0x1bc6e3=this['_offsetY'])==null?0x0:_0x1bc6e3)),_0x31aed2[_0x427c55(0x30c)](_0x44abf6,{'text':this[_0x427c55(0xfe)],'color':_0x19294b}),_0x44abf6[_0x427c55(0x364)]();}}[_0x486c12(0x34e)](_0x5e4b04){const _0x3b8cde=_0x486c12;return _0x5e4b04[_0x3b8cde(0xe8)]('#')?_0x3b8cde(0x23e)+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x5e4b04[_0x3b8cde(0x24f)](0x3,0x5),0x10)+',\x20'+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x5,0x7),0x10)+_0x3b8cde(0x1d8):_0x5e4b04['startsWith'](_0x3b8cde(0x2ed))?_0x5e4b04[_0x3b8cde(0x350)](/[\d.]+\)$/g,_0x3b8cde(0x124)):_0x5e4b04['startsWith']('rgb')?_0x5e4b04[_0x3b8cde(0x350)](_0x3b8cde(0x112),_0x3b8cde(0x2ed))['replace'](')',_0x3b8cde(0x1d8)):_0x5e4b04;}};let _0x4d3930=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5786b5,_0x220fb4,_0x598bcc,_0x42204d){const _0x34141e=_0x486c12;super(),this[_0x34141e(0x37f)]=_0x5786b5,this[_0x34141e(0x1a4)]=_0x220fb4,this[_0x34141e(0x1bb)]=_0x598bcc,this[_0x34141e(0xe9)]=_0x42204d,_0x28a1e3(this,_0x34141e(0xfd),new Set()),_0x28a1e3(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x50ad64=_0x486c12;this[_0x50ad64(0x1a4)][_0x50ad64(0x370)][_0x50ad64(0x286)]((0x0,_0x21659b['takeUntil'])(this[_0x50ad64(0x389)]),(0x0,_0x21659b['switchMap'])(_0x544d38=>{const _0x335084=_0x50ad64;if(_0x544d38){let _0x4e8cce=_0x544d38[_0x335084(0x197)];return(0x0,_0x4a289e[_0x335084(0x1db)])(this[_0x335084(0x1bb)]['getCollabCursors$'](this[_0x335084(0x37f)][_0x335084(0x2f0)]),this[_0x335084(0xe9)][_0x335084(0x3b8)])[_0x335084(0x286)]((0x0,_0x21659b[_0x335084(0x397)])(([_0x5739a6,_0x2fa677])=>{const _0x2cf6d9=_0x335084;let _0x2668e4=new Map();return _0x5739a6[_0x2cf6d9(0x377)]((_0xa33950,_0x5af9ba)=>{const _0x31d74b=_0x2cf6d9;if(_0xa33950['sheetID']===_0x4e8cce){let _0x107cfb={..._0xa33950};_0x107cfb[_0x31d74b(0x1b8)]=this[_0x31d74b(0xe9)][_0x31d74b(0x220)](_0xa33950[_0x31d74b(0x1b8)]),_0x2668e4[_0x31d74b(0x1de)](_0x5af9ba,_0x107cfb);}}),{'skeleton':_0x544d38,'cursors':_0x2668e4};}));}return(0x0,_0x4a289e['of'])({'skeleton':null,'cursors':new Map()});}))[_0x50ad64(0x2df)](({skeleton:_0x2f4ead,cursors:_0x4e48c5})=>{const _0xf76e27=_0x50ad64;this[_0xf76e27(0x2fa)](),_0x2f4ead&&this[_0xf76e27(0x2b6)](_0x2f4ead,_0x4e48c5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x50ad64(0x2df)](_0x18443c=>{const _0x735014=_0x50ad64;if(_0x18443c==null)return;let {skeleton:_0x24a58c}=_0x18443c,{scene:_0x3167a0}=this[_0x735014(0x37f)];_0x3167a0[_0x735014(0x2c9)]['subscribeEvent']((0x0,_0x3789e1[_0x735014(0x373)])(_0x4fbf28=>{const _0x296de0=_0x735014;var _0x2e1f31,_0x4202d5;let {offsetX:_0x29993a,offsetY:_0x23c54f}=_0x4fbf28,{x:_0x401955,y:_0x583c35}=_0x3167a0[_0x296de0(0x191)](_0x4b5cb2[_0x296de0(0x26f)][_0x296de0(0x10d)]([_0x29993a,_0x23c54f])),{scaleX:_0xf62b14,scaleY:_0x5863df}=_0x3167a0[_0x296de0(0x186)](),_0x2b3971=_0x3167a0[_0x296de0(0x19d)](_0x4b5cb2[_0x296de0(0x24c)]['VIEW_MAIN']),_0x4de390=_0x3167a0[_0x296de0(0x137)](_0x4b5cb2['Vector2'][_0x296de0(0x10d)]([_0x401955,_0x583c35]),_0x2b3971),_0x37e856=_0x24a58c['getCellPositionByOffset'](_0x29993a,_0x23c54f,_0xf62b14,_0x5863df,_0x4de390);((_0x2e1f31=this[_0x296de0(0x1a7)])==null?void 0x0:_0x2e1f31[_0x296de0(0x2a4)])===_0x37e856['column']&&((_0x4202d5=this['_lastPointer'])==null?void 0x0:_0x4202d5[_0x296de0(0x1a0)])===_0x37e856['row']||this[_0x296de0(0xfd)][_0x296de0(0x377)](_0x1a2ccd=>{const _0x1198d3=_0x296de0;_0x1a2ccd[_0x1198d3(0x2da)](_0x37e856);});},0x64));});}[_0x486c12(0x2b6)](_0x1e8151,_0x2ba9a1){const _0x56e68b=_0x486c12;let _0x307601=this[_0x56e68b(0x1a4)]['getCurrentSkeleton']();if(!_0x307601)return;let _0x5a1c51=this[_0x56e68b(0x341)]();if(!_0x5a1c51)return;this[_0x56e68b(0xfd)]['forEach'](_0x5480dd=>{_0x5480dd['makeDirty']();});let {scene:_0x3104bf}=_0x5a1c51,_0x922b36=_0x172d5f(Array['from'](_0x2ba9a1[_0x56e68b(0x11e)]()))[_0x56e68b(0x397)](_0x3746a9=>{const _0x23a721=_0x56e68b;let {color:_0x445a53,range:_0x3e67bc,name:_0x10d9de,selection:_0x574084,sheetID:_0x52fe64}=_0x3746a9,{startColumn:_0xf47ac9,startRow:_0x571e9b,endColumn:_0x5f296c,endRow:_0x4d5ee0}=_0x3e67bc,_0x4e1f78=(0x0,_0x35b411['getCoordByCell'])(_0x571e9b,_0xf47ac9,_0x3104bf,_0x307601),_0x2a1efc=(0x0,_0x35b411[_0x23a721(0x1ac)])(_0x4d5ee0,_0x5f296c,_0x3104bf,_0x307601),{columnHeaderHeightAndMarginTop:_0x39d5cc}=_0x307601,{startX:_0x4413f5,startY:_0x18d29c}=_0x4e1f78,{endX:_0x5042c4,endY:_0x88a6b}=_0x2a1efc,_0x1a7d5f=_0x5042c4-_0x4413f5,_0x284116=_0x88a6b-_0x18d29c;return new _0x573714(_0x10d9de,{'labelPosition':_0x18d29c-_0x39d5cc>=0x14?_0x23a721(0x39e):_0x23a721(0x104),'sheetID':_0x52fe64,'range':_0x3e67bc,'color':_0x445a53,'name':_0x10d9de,'selection':_0x574084,'left':_0x4413f5,'top':_0x18d29c,'width':_0x1a7d5f,'height':_0x284116,'evented':!0x1,'zIndex':0x1389});});_0x3104bf[_0x56e68b(0x324)](_0x922b36,0x1),this[_0x56e68b(0xfd)]=new Set(_0x922b36);}['_removeCollabCursors'](){const _0x6e67f4=_0x486c12;var _0x495fdc;(_0x495fdc=this[_0x6e67f4(0xfd)])==null||_0x495fdc['forEach'](_0x3417b8=>_0x3417b8[_0x6e67f4(0x1b4)]());}[_0x486c12(0x341)](){const _0x2d40ae=_0x486c12;return(0x0,_0x35b411[_0x2d40ae(0x335)])(this[_0x2d40ae(0x37f)][_0x2d40ae(0x264)],this['_context']);}};_0x4d3930=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x35b411[_0x486c12(0x29b)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x198)]))],_0x4d3930);function _0x172d5f(_0x462b4a){const _0x1c11e8=_0x486c12;let _0xa8874e=new Map();return _0x462b4a[_0x1c11e8(0x377)](_0xdd5fa7=>{const _0x5dc12a=_0x1c11e8;if(_0xa8874e[_0x5dc12a(0x35e)](_0xdd5fa7[_0x5dc12a(0x34d)])){let _0x452694=_0xa8874e[_0x5dc12a(0x114)](_0xdd5fa7[_0x5dc12a(0x34d)]);_0x452694[_0x5dc12a(0x167)]+=',\x20'+_0xdd5fa7[_0x5dc12a(0x167)];}else _0xa8874e['set'](_0xdd5fa7['selection'],_0xdd5fa7);}),Array['from'](_0xa8874e[_0x1c11e8(0x11e)]());}let _0x3bb688=class extends _0x3789e1['Disposable']{constructor(_0x28e265,_0x548d2b,_0x5da078,_0x226fe5,_0x476fd4,_0x199c42){const _0x1aa432=_0x486c12;super(),this['_beforeCloseService']=_0x28e265,this[_0x1aa432(0x395)]=_0x548d2b,this[_0x1aa432(0x3c3)]=_0x5da078,this[_0x1aa432(0x147)]=_0x226fe5,this[_0x1aa432(0x347)]=_0x476fd4,this[_0x1aa432(0x2b0)]=_0x199c42,this[_0x1aa432(0x158)](),this[_0x1aa432(0x39d)]();}[_0x486c12(0x158)](){const _0x19237b=_0x486c12;this['disposeWithMe'](this['_beforeCloseService'][_0x19237b(0x342)](()=>{const _0x58227d=_0x19237b;if(this[_0x58227d(0x395)][_0x58227d(0x22e)]['size'])return this[_0x58227d(0x2b0)]['t'](_0x58227d(0x160));}));}[_0x486c12(0x39d)](){const _0x51e10b=_0x486c12;this[_0x51e10b(0x26a)](this[_0x51e10b(0x3c3)]['event$']['subscribe'](_0x1f4207=>{const _0x1dd249=_0x51e10b;_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1d0)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x161)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x32b)]&&this[_0x1dd249(0x347)][_0x1dd249(0x366)]({'title':this[_0x1dd249(0x2b0)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1dd249(0x120),'duration':0x0}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1eb)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))+'('+_0x1f4207[_0x1dd249(0x3c4)]+')'}),_0x1f4207['id']===_0x5ba2ed['CollaborationUIEventId'][_0x1dd249(0x27a)]&&this['_messageService'][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1f4207[_0x1dd249(0x3c4)]||'')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x174)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t'](_0x1dd249(0x1bd))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x3b3)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x20e))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1e2)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x3c6))});}));}};_0x3bb688=_0x2eed91([_0x5dbd47(0x0,_0x28956d['IBeforeCloseService']),_0x5dbd47(0x1,_0x5ba2ed[_0x486c12(0x3a0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationUIEventService'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x4,_0x28956d[_0x486c12(0x11d)]),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x3bb688);let _0x529e28='collaboration-client-ui.config';Symbol(_0x529e28);let _0x157272={},_0x1dc143=class{constructor(_0x316ab1,_0x6c5b5d){const _0x324d4e=_0x486c12;this[_0x324d4e(0x10c)]=_0x316ab1,this[_0x324d4e(0x305)]=_0x6c5b5d;}[_0x486c12(0x291)](_0x30c14f){const _0x29f88d=_0x486c12;this[_0x29f88d(0x1e7)](_0x30c14f),this[_0x29f88d(0x271)](_0x30c14f);}['transformRemoteChangeset'](_0x2ffaa7){const _0x417436=_0x486c12;let {unitID:_0xfa1e24}=_0x2ffaa7,{redoCache:_0x452345}=this[_0x417436(0x305)][_0x417436(0x103)](_0xfa1e24)['with'](_0x4d692e[_0x417436(0x1ad)])[_0x417436(0x2bd)]();if(_0x452345[_0x417436(0x391)]===0x0)return _0x2ffaa7;let _0x31d3d1=_0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7[_0x417436(0x29a)][0x0]);for(let _0x4d5bbc=0x0;_0x4d5bbc<_0x452345['length'];_0x4d5bbc++){let _0x32cfa2={'id':_0x417436(0x259),'params':{..._0x452345[_0x4d5bbc]}},_0x410c73=this[_0x417436(0x10c)][_0x417436(0x392)](_0x31d3d1,_0x32cfa2,!0x1);if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x410c73))throw _0x410c73[_0x417436(0x120)];_0x31d3d1=_0x410c73[_0x417436(0x2fd)];}return{..._0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7),'mutations':[_0x31d3d1]};}[_0x486c12(0x1e7)](_0x981f2c){const _0xcacea=_0x486c12;let {unitID:_0x3f3b40}=_0x981f2c,_0x492f6a=this[_0xcacea(0x305)][_0xcacea(0x103)](_0x3f3b40)[_0xcacea(0x2e0)](_0x4d692e['DocIMEInputManagerService']),{undoCache:_0x1355e3,redoCache:_0x35f486}=_0x492f6a[_0xcacea(0x2bd)]();if(_0x1355e3['length']===0x0||_0x35f486['length']===0x0)return;let _0x35621a=[],_0x19eb0d=[],_0x51b906=_0x3789e1[_0xcacea(0x1e4)][_0xcacea(0x1e0)](_0x981f2c[_0xcacea(0x29a)][0x0]),_0x3dfaaf=_0x3789e1['Tools'][_0xcacea(0x1e0)](_0x981f2c['mutations'][0x0]);for(let _0x43824f=_0x1355e3['length']-0x1;_0x43824f>=0x0;_0x43824f--){let _0x357152={'id':'doc.mutation.rich-text-editing','params':{..._0x1355e3[_0x43824f]}},_0x2aee85={'id':_0xcacea(0x259),'params':{..._0x35f486[_0x43824f]}},_0x24754f=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x51b906,_0x357152,!0x1),_0x5d6704=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x3dfaaf,_0x2aee85,!0x1);if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x24754f))throw _0x24754f[_0xcacea(0x120)];if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x5d6704))throw _0x5d6704['error'];_0x35621a[_0xcacea(0x261)](_0x24754f[_0xcacea(0x130)]['params']),_0x19eb0d[_0xcacea(0x261)](_0x5d6704[_0xcacea(0x130)][_0xcacea(0x230)]),_0x51b906=_0x24754f[_0xcacea(0x2fd)],_0x3dfaaf=_0x5d6704[_0xcacea(0x2fd)];}_0x492f6a[_0xcacea(0x358)]({'undoCache':_0x35621a,'redoCache':_0x19eb0d});}[_0x486c12(0x271)](_0x30a90c){const _0x357bfd=_0x486c12;let {unitID:_0x13dea0}=_0x30a90c,_0x414888=this[_0x357bfd(0x305)]['getRenderById'](_0x13dea0)[_0x357bfd(0x2e0)](_0x4d692e[_0x357bfd(0x1ad)]),_0x1bc9d1=_0x414888[_0x357bfd(0x323)]();if(_0x1bc9d1==null)return;let _0x154f20=[{'id':_0x357bfd(0x259),'params':{'unitId':_0x30a90c[_0x357bfd(0x164)],'actions':null,'textRanges':[_0x1bc9d1]}}],_0x504c1c=this[_0x357bfd(0x10c)][_0x357bfd(0x119)](_0x30a90c,_0x154f20);if(!(0x0,_0x136fe4[_0x357bfd(0x12e)])(_0x504c1c))throw _0x504c1c[_0x357bfd(0x120)];let _0xce8f73=_0x504c1c[_0x357bfd(0x130)][0x0]['params'][_0x357bfd(0x31a)];Array[_0x357bfd(0x18c)](_0xce8f73)&&_0xce8f73[_0x357bfd(0x391)]&&_0x414888[_0x357bfd(0x163)](_0xce8f73[0x0]);}};_0x1dc143=_0x2eed91([_0x5dbd47(0x0,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)])],_0x1dc143);let _0x4e2c0d=class{constructor(_0x27d192,_0x30d9a4,_0xf15f23){const _0xd152ed=_0x486c12;this[_0xd152ed(0x2bb)]=_0x27d192,this[_0xd152ed(0x10c)]=_0x30d9a4,this[_0xd152ed(0x21f)]=_0xf15f23;}[_0x486c12(0x3ba)](_0x9e0321){const _0x374891=_0x486c12;this[_0x374891(0x138)](_0x9e0321);}[_0x486c12(0x2b1)](_0x83b2ae){const _0x1b73d7=_0x486c12;let {unitID:_0x311984}=_0x83b2ae,{collaboration:_0x44e473}=this[_0x1b73d7(0x21f)][_0x1b73d7(0x1a6)](_0x311984);if(_0x44e473[_0x1b73d7(0x391)]===0x0)return _0x83b2ae;let _0x4d014c=_0x3789e1[_0x1b73d7(0x1e4)][_0x1b73d7(0x1e0)](_0x83b2ae[_0x1b73d7(0x29a)][0x0]);for(let _0x13616d=0x0;_0x13616d<_0x44e473['length'];_0x13616d++){let _0x1edf21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44e473[_0x13616d][_0x1b73d7(0x2f0)],..._0x44e473[_0x13616d][_0x1b73d7(0x233)]}},_0x2c024b=this[_0x1b73d7(0x10c)]['transformMutation'](_0x4d014c,_0x1edf21,!0x1);if((0x0,_0x136fe4[_0x1b73d7(0x327)])(_0x2c024b))throw _0x2c024b[_0x1b73d7(0x120)];_0x4d014c=_0x2c024b['m1Prime'];}return{..._0x3789e1['Tools']['deepClone'](_0x83b2ae),'mutations':[_0x4d014c]};}['_transformHistoryAndStateStack'](_0x9ed3b8){const _0x2de605=_0x486c12;let {unitID:_0x53c774}=_0x9ed3b8,{history:_0x37fb20,collaboration:_0x342682}=this[_0x2de605(0x21f)][_0x2de605(0x1a6)](_0x53c774);if(_0x37fb20[_0x2de605(0x391)]===0x0&&_0x342682[_0x2de605(0x391)]===0x0)return;let _0x20c38a=[],_0x482565=[],_0x41df6e=_0x3789e1['Tools'][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0x5f4282=_0x37fb20[_0x2de605(0x391)]-0x1;_0x5f4282>=0x0;_0x5f4282--){let _0x550fec={'id':_0x2de605(0x259),'params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x3a6)]}},_0x3e4b1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x233)]}},_0x285154=this['_transformService'][_0x2de605(0x392)](_0x41df6e,_0x550fec,!0x1),_0x4699b1=this['_transformService']['transformMutation'](_0x36b6ed,_0x3e4b1d,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x285154))throw _0x285154[_0x2de605(0x120)];if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4699b1))throw _0x4699b1[_0x2de605(0x120)];_0x20c38a[_0x2de605(0x261)]({..._0x37fb20[_0x5f4282],'undoState':_0x285154[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x4699b1[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x285154['m1Prime'],_0x36b6ed=_0x4699b1['m1Prime'];}_0x41df6e=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8['mutations'][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)]['deepClone'](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0xd0ab15=_0x342682[_0x2de605(0x391)]-0x1;_0xd0ab15>=0x0;_0xd0ab15--){let _0x587335={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x3a6)]}},_0x2cb1ae={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x233)]}},_0x4a3bde=this[_0x2de605(0x10c)]['transformMutation'](_0x41df6e,_0x587335,!0x1),_0x5054d8=this['_transformService']['transformMutation'](_0x36b6ed,_0x2cb1ae,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4a3bde))throw _0x4a3bde['error'];if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x5054d8))throw _0x5054d8[_0x2de605(0x120)];_0x482565['unshift']({..._0x342682[_0xd0ab15],'undoState':_0x4a3bde[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x5054d8[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x4a3bde['m1Prime'],_0x36b6ed=_0x5054d8[_0x2de605(0x2fd)];}this['_docStateChangeManagerService']['setStateCache'](_0x53c774,{'history':_0x20c38a,'collaboration':_0x482565});}};_0x4e2c0d=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4['ITransformService']),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)]))],_0x4e2c0d);let _0x115b18=class{constructor(_0x99f86e,_0x4ae26d){const _0xe3756c=_0x486c12;this[_0xe3756c(0x2bb)]=_0x99f86e,this[_0xe3756c(0x10c)]=_0x4ae26d;}[_0x486c12(0x169)](_0x28294b){const _0x33de51=_0x486c12;var _0x4ea723;let _0x5b48d9=this[_0x33de51(0x2bb)][_0x33de51(0x114)](_0x43a715[_0x33de51(0x250)]),_0x57a36f=(_0x4ea723=_0x5b48d9['getDocRanges']())==null?[]:_0x4ea723;if(_0x57a36f['length']===0x0)return;let _0x2d7aa=_0x28294b[_0x33de51(0x164)],_0x554c4e=[{'id':_0x33de51(0x259),'params':{'unitId':_0x2d7aa,'actions':null,'textRanges':_0x57a36f}}],_0x730645=this[_0x33de51(0x10c)][_0x33de51(0x119)](_0x28294b,_0x554c4e);if(!(0x0,_0x136fe4[_0x33de51(0x12e)])(_0x730645))throw _0x730645[_0x33de51(0x120)];let _0x4756d8=_0x730645[_0x33de51(0x130)][0x0][_0x33de51(0x230)]['textRanges'];Array['isArray'](_0x4756d8)&&_0x4756d8[_0x33de51(0x391)]&&_0x5b48d9[_0x33de51(0x306)](_0x4756d8,{'unitId':_0x2d7aa,'subUnitId':_0x2d7aa},!0x1);}};_0x115b18=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4[_0x486c12(0x1af)])],_0x115b18);let _0x27249b=class extends _0x3789e1['Disposable']{constructor(_0x3e5bf8,_0x5c57c7,_0x4a4265,_0x4c5283,_0x5edf8f,_0x110aca,_0x4efb86,_0x1248ec){const _0x164e76=_0x486c12;super(),this[_0x164e76(0x21f)]=_0x3e5bf8,this[_0x164e76(0xe5)]=_0x5c57c7,this[_0x164e76(0x2ec)]=_0x4a4265,this[_0x164e76(0x2b2)]=_0x4c5283,this[_0x164e76(0x157)]=_0x5edf8f,this['_docSyncEditingCollabCursorService']=_0x110aca,this[_0x164e76(0x147)]=_0x4efb86,this[_0x164e76(0x2b0)]=_0x1248ec,_0x28a1e3(this,'_status$',new _0x4a289e[(_0x164e76(0x13f))](_0x5ba2ed[_0x164e76(0x290)][_0x164e76(0x1ef)])),this[_0x164e76(0x11a)]();}[_0x486c12(0x11a)](){const _0xe1a8da=_0x486c12;this[_0xe1a8da(0x26a)](this[_0xe1a8da(0xe5)][_0xe1a8da(0x11f)][_0xe1a8da(0x2df)](_0x411399=>{const _0x520906=_0xe1a8da;let _0x116ad3=this[_0x520906(0x21f)][_0x520906(0x17e)][_0x520906(0x2df)](_0x1ba696=>{const _0x528465=_0x520906;if(_0x1ba696==null)return;let {unitId:_0x455bf1,redoState:_0x12e489,commandId:_0x100191}=_0x1ba696;if(_0x455bf1!==_0x411399[_0x528465(0x164)])return;let _0x2f8095={'id':_0x100191,'type':_0x3789e1['CommandType']['MUTATION'],'params':{'unitId':_0x455bf1,'actions':_0x12e489[_0x528465(0x2e7)],'textRanges':null}};_0x411399[_0x528465(0x199)](_0x2f8095);});_0x411399['disposeWithMe'](_0x116ad3),_0x411399 instanceof _0x5ba2ed[_0x520906(0x2a5)]&&_0x411399['addHandlerCallback']({'onTransformIME':_0x889800=>this[_0x520906(0x2ec)][_0x520906(0x291)](_0x889800),'onTransformState':_0x347202=>this[_0x520906(0x2b2)][_0x520906(0x3ba)](_0x347202),'onTransformSelections':_0x5a92f0=>this[_0x520906(0x157)][_0x520906(0x169)](_0x5a92f0),'onSyncEditingCollabCursor':_0x458f6d=>this[_0x520906(0x1a5)][_0x520906(0x16b)](_0x458f6d),'onTransformRemoteChangesetByIMECache':_0x320201=>this[_0x520906(0x2ec)][_0x520906(0x2b1)](_0x320201),'onTransformRemoteChangesetByStateCache':_0x3ff69e=>this[_0x520906(0x2b2)][_0x520906(0x2b1)](_0x3ff69e)});}));}};_0x27249b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x19a)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x1dc143)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x4e2c0d)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x115b18)),_0x5dbd47(0x5,(0x0,_0x3789e1['Inject'])(_0xb4d8f5)),_0x5dbd47(0x6,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x7,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x27249b);let _0x558a6b=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x3c6f07,_0x40d970,_0x555e97,_0xe099e1){const _0x2c6d3b=_0x486c12;super(),this[_0x2c6d3b(0x2bb)]=_0x3c6f07,this[_0x2c6d3b(0x24b)]=_0x40d970,this[_0x2c6d3b(0x3bc)]=_0x555e97,this[_0x2c6d3b(0x254)]=_0xe099e1,_0x28a1e3(this,_0x2c6d3b(0x142),void 0x0),this['_init']();}[_0x486c12(0x184)](){const _0x2729a2=_0x486c12;this['_initWindowErrorListener'](),this[_0x2729a2(0x38d)](),this[_0x2729a2(0x32d)](),this[_0x2729a2(0x2ba)]();}[_0x486c12(0x2ba)](){const _0x1a1432=_0x486c12;this[_0x1a1432(0x26a)](this['_collaborationSessionService']['socket$'][_0x1a1432(0x2df)](_0x48041f=>{const _0x3d44f8=_0x1a1432;this[_0x3d44f8(0x142)]=_0x48041f==null?void 0x0:_0x48041f['memberID'];}));}[_0x486c12(0x27c)](){const _0x11f724=_0x486c12;let _0x5dd5dd=_0x5d125b=>{const _0x5d97b6=_0x3eb0;var _0x12bec3;this[_0x5d97b6(0x2c3)]('error',_0x5d97b6(0x33e)+_0x5d125b[_0x5d97b6(0x1b5)]+_0x5d97b6(0x35b)+_0x5d125b[_0x5d97b6(0x1e8)]+':'+_0x5d125b[_0x5d97b6(0x1c3)]+':'+_0x5d125b['colno']+'\x0a'+(((_0x12bec3=_0x5d125b[_0x5d97b6(0x120)])==null?void 0x0:_0x12bec3[_0x5d97b6(0x2d1)])||''));};window[_0x11f724(0x19f)](_0x11f724(0x120),_0x5dd5dd),this[_0x11f724(0x26a)](()=>{const _0x3d00b2=_0x11f724;window[_0x3d00b2(0x3c8)](_0x3d00b2(0x120),_0x5dd5dd);});}[_0x486c12(0x38d)](){const _0x3db13f=_0x486c12;let _0x12d373=_0x469d6d=>{const _0x4ed178=_0x3eb0;this[_0x4ed178(0x2c3)](_0x4ed178(0x120),_0x4ed178(0x1cb)+_0x469d6d[_0x4ed178(0x22b)]);};window[_0x3db13f(0x19f)](_0x3db13f(0x105),_0x12d373),this[_0x3db13f(0x26a)](()=>{const _0x2d0a6d=_0x3db13f;window[_0x2d0a6d(0x3c8)](_0x2d0a6d(0x105),_0x12d373);});}[_0x486c12(0x32d)](){const _0x5e8175=_0x486c12;let _0x103845=this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]['bind'](this[_0x5e8175(0x3bc)]);this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]=(..._0x337617)=>{const _0x51b125=_0x5e8175;let _0x56cdf1=_0x337617[_0x51b125(0x397)](_0x21e969=>_0x21e969 instanceof Error?_0x21e969[_0x51b125(0x1b5)]+'\x0a'+_0x21e969['stack']:String(_0x21e969))[_0x51b125(0x313)]('\x20');this['_uploadLog'](_0x51b125(0x120),_0x51b125(0x287)+_0x56cdf1),_0x103845(..._0x337617);},this['disposeWithMe'](()=>{const _0x3c3917=_0x5e8175;this[_0x3c3917(0x3bc)][_0x3c3917(0x120)]=_0x103845;});}['_uploadLog'](_0x332185,_0x3452ea){const _0x129fd0=_0x486c12;try{let _0x24d2d9={'userId':this[_0x129fd0(0x142)],'logLabel':_0x332185,'content':_0x3452ea};this['_httpService'][_0x129fd0(0x368)](_0x129fd0(0x132),{'body':_0x24d2d9})[_0x129fd0(0x2e4)](()=>{});}catch{}}};_0x558a6b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x558a6b);function _0x41a53b(_0xfb89fd){const _0x333910=_0x486c12;var _0x35dca6,_0x2d1e52;let _0x1f75ea=(_0x35dca6=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x35dca6[_0x333910(0x3af)],_0x24c6e8=((_0x2d1e52=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x2d1e52[_0x333910(0x1f0)])||0x0;return _0x1f75ea===_0x12c154[_0x333910(0x37c)][_0x333910(0x2b3)]&&_0x24c6e8>0x0;}function _0x30afc0(_0xa7bf90){const _0x3e2292=_0x486c12;return _0xa7bf90[_0x3e2292(0x100)]===_0x12c154['FormulaExecutedStateType'][_0x3e2292(0x267)];}let _0x3c0988=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x5ccb1b,_0x59a544,_0x4358ad,_0x1dcd3c,_0x358c22,_0x481255,_0x4b8e61){const _0x3a4425=_0x486c12;super(),this[_0x3a4425(0x147)]=_0x5ccb1b,this[_0x3a4425(0x3ac)]=_0x59a544,this[_0x3a4425(0x2f7)]=_0x4358ad,this['_httpService']=_0x1dcd3c,this[_0x3a4425(0x13d)]=_0x358c22,this[_0x3a4425(0x3bc)]=_0x481255,this['_localeService']=_0x4b8e61,_0x28a1e3(this,_0x3a4425(0x39f),null),_0x28a1e3(this,_0x3a4425(0x388),0x0),_0x28a1e3(this,_0x3a4425(0x1c7),0x0),_0x28a1e3(this,_0x3a4425(0xf4),[]),_0x28a1e3(this,_0x3a4425(0x269),0x0),this[_0x3a4425(0x38e)]();}[_0x486c12(0x38e)](){const _0x5f0ea2=_0x486c12;this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)][_0x5f0ea2(0x1fc)]((_0x305dc2,_0xd91981)=>{const _0x15ec04=_0x5f0ea2;var _0x45f92a;if(_0x305dc2['id']!==_0x12c154[_0x15ec04(0x11c)]['id'])return;let _0x140b2f=_0x305dc2[_0x15ec04(0x230)];if(this['_hasFormulaInDirtyRanges']((_0x45f92a=_0x140b2f[_0x15ec04(0x2a7)])==null?[]:_0x45f92a)&&!this[_0x15ec04(0x2e1)]())throw this[_0x15ec04(0x21e)](_0x305dc2,_0xd91981),this[_0x15ec04(0x178)](),new _0x3789e1['CanceledError']();})),this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)]['onCommandExecuted']((_0x4581b3,_0x2c1f5d)=>{const _0x395327=_0x5f0ea2;if(_0x4581b3['id']!==_0x12c154['SetFormulaCalculationNotificationMutation']['id'])return;let _0x5a954d=_0x4581b3[_0x395327(0x230)];if(_0x41a53b(_0x5a954d)){let _0x85e801=(0x0,_0x3789e1[_0x395327(0x211)])();this[_0x395327(0xf4)]['push'](_0x85e801),this['_startCalculationLimit'](_0x85e801);}else{if(_0x30afc0(_0x5a954d)&&this['_taskIds'][_0x395327(0x391)]>0x0){let _0x50a7c5=this['_taskIds'][_0x395327(0x108)]();this[_0x395327(0xe2)](_0x50a7c5);}}}));}['dispose'](){const _0x2ecfe0=_0x486c12;super['dispose'](),this[_0x2ecfe0(0x1c8)](),this[_0x2ecfe0(0xf4)]=[],this[_0x2ecfe0(0x1c7)]=0x0,this[_0x2ecfe0(0x388)]=0x0,this[_0x2ecfe0(0x269)]=0x0;}async[_0x486c12(0x21e)](_0x262399,_0xb6cf1c){const _0x1dba60=_0x486c12;for(let _0x574ebf=0x0;_0x574ebf<0x1e;_0x574ebf++)try{if(await this[_0x1dba60(0x26b)](),this[_0x1dba60(0x2e1)]()){this[_0x1dba60(0x243)](_0x262399,_0xb6cf1c),this[_0x1dba60(0x147)][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x173)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x318)]});return;}await new Promise(_0x267921=>{const _0x26160a=_0x1dba60;this[_0x26160a(0x39f)]=window['setTimeout'](_0x267921,0x3e8);});}catch(_0x438bc5){this[_0x1dba60(0x3bc)]['error'](_0x438bc5);}this['_messageService'][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x2d3)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x16a)]});}[_0x486c12(0x243)](_0x15f251,_0x133396){const _0xe7df52=_0x486c12;try{this['_commandService']['executeCommand'](_0x15f251['id'],_0x15f251['params'],_0x133396);}catch(_0x284dd3){this['_logService'][_0xe7df52(0x120)](_0x284dd3);}}[_0x486c12(0x363)](_0x548c07,_0x13a9ba){const _0x541435=_0x486c12;_0x13a9ba<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x13a9ba,this[_0x541435(0x388)]=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x336)]),this['_currentUsage']=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x20f)]));}async[_0x486c12(0x393)](_0x1d0c00){const _0x1d3c2d=_0x486c12;let _0x4eaf65=Date['now']();try{var _0x12470d,_0x184031;let _0x5b35c0=((_0x12470d=this[_0x1d3c2d(0x2f7)]['getConfig'](_0x5ba2ed[_0x1d3c2d(0x275)]))==null?void 0x0:_0x12470d[_0x1d3c2d(0x15b)])||_0x1d3c2d(0x308),_0x547230=(await this['_httpService']['post'](_0x5b35c0,{'body':JSON[_0x1d3c2d(0x374)]({'taskId':_0x1d0c00})}))[_0x1d3c2d(0x1a1)];if(((_0x184031=_0x547230['error'])==null?void 0x0:_0x184031[_0x1d3c2d(0x379)])!==_0x53e205[_0x1d3c2d(0x314)]['OK'])return;this[_0x1d3c2d(0x363)](_0x547230[_0x1d3c2d(0x13b)],_0x4eaf65);}catch(_0xb2e5db){this[_0x1d3c2d(0x3bc)][_0x1d3c2d(0x120)](_0xb2e5db);}}async[_0x486c12(0x26b)](_0x686d5f){const _0xcd475c=_0x486c12;let _0x4792ac=Date['now']();try{var _0x213fb7,_0x3c6e0c;let _0xd797c8=((_0x213fb7=this[_0xcd475c(0x2f7)][_0xcd475c(0x172)](_0x5ba2ed[_0xcd475c(0x275)]))==null?void 0x0:_0x213fb7[_0xcd475c(0x19b)])||_0xcd475c(0x355),_0x31000d=_0x686d5f?_0xd797c8+_0xcd475c(0x102)+encodeURIComponent(_0x686d5f):_0xd797c8,_0x461b68=(await this['_httpService'][_0xcd475c(0x114)](_0x31000d))[_0xcd475c(0x1a1)];if(((_0x3c6e0c=_0x461b68[_0xcd475c(0x120)])==null?void 0x0:_0x3c6e0c[_0xcd475c(0x379)])!==_0x53e205[_0xcd475c(0x314)]['OK'])return;this[_0xcd475c(0x363)](_0x461b68[_0xcd475c(0x13b)],_0x4792ac);}catch(_0x3b7f9e){this[_0xcd475c(0x3bc)]['error'](_0x3b7f9e);}}async[_0x486c12(0xe2)](_0x49ff96){const _0x41e0f3=_0x486c12;let _0x5bb5f9=Date[_0x41e0f3(0x2a0)]();try{var _0x11a615,_0x3faf12;let _0x16320a=((_0x11a615=this[_0x41e0f3(0x2f7)]['getConfig'](_0x5ba2ed[_0x41e0f3(0x275)]))==null?void 0x0:_0x11a615[_0x41e0f3(0x140)])||'/universer-api/license/formula/limit/done',_0x5b1c9d=(await this[_0x41e0f3(0x24b)][_0x41e0f3(0x368)](_0x16320a,{'body':JSON[_0x41e0f3(0x374)]({'taskId':_0x49ff96})}))['body'];if(((_0x3faf12=_0x5b1c9d['error'])==null?void 0x0:_0x3faf12[_0x41e0f3(0x379)])!==_0x53e205[_0x41e0f3(0x314)]['OK'])return;this[_0x41e0f3(0x363)](_0x5b1c9d[_0x41e0f3(0x13b)],_0x5bb5f9);}catch(_0x3b3096){this[_0x41e0f3(0x3bc)][_0x41e0f3(0x120)](_0x3b3096);}}[_0x486c12(0x2e1)](){const _0x24b62a=_0x486c12;return this[_0x24b62a(0x388)]===0x0?!0x0:this[_0x24b62a(0x388)]-this[_0x24b62a(0x1c7)]>0x0;}[_0x486c12(0x1c8)](){const _0x5d0264=_0x486c12;this[_0x5d0264(0x39f)]&&(clearTimeout(this['_pollingInterval']),this[_0x5d0264(0x39f)]=null);}[_0x486c12(0x178)](){const _0x5ef60c=_0x486c12;this[_0x5ef60c(0x147)][_0x5ef60c(0x366)]({'content':this['_localeService']['t'](_0x5ef60c(0x2b4)),'type':_0x239455[_0x5ef60c(0x30b)][_0x5ef60c(0x229)]});}[_0x486c12(0x2c4)](_0x2f40aa){const _0x58e4fc=_0x486c12;for(let _0x4eafe8 of _0x2f40aa){let {unitId:_0x434404,sheetId:_0xe2e04c,range:_0x5a7316}=_0x4eafe8,_0xe23547=this['_univerInstanceService'][_0x58e4fc(0x22f)](_0x434404);if(!_0xe23547)continue;let _0x49629e=_0xe23547['getSheetBySheetId'](_0xe2e04c);if(!_0x49629e)continue;let _0x1c9777=_0x49629e[_0x58e4fc(0x115)]();for(let _0x428936=_0x5a7316[_0x58e4fc(0x116)];_0x428936<=_0x5a7316[_0x58e4fc(0x1ab)];_0x428936++)for(let _0x791ad8=_0x5a7316['startColumn'];_0x791ad8<=_0x5a7316['endColumn'];_0x791ad8++){let _0x21895d=_0x1c9777[_0x58e4fc(0x226)](_0x428936,_0x791ad8);if(_0x21895d&&((0x0,_0x3789e1['isFormulaString'])(_0x21895d['f'])||(0x0,_0x3789e1[_0x58e4fc(0x1ca)])(_0x21895d['si'])))return!0x0;}}return!0x1;}};_0x3c0988=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x28956d[_0x486c12(0x190)])),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x4,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x5,_0x3789e1['ILogService']),_0x5dbd47(0x6,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1['LocaleService']))],_0x3c0988);let _0x49419b=class extends _0x3789e1['Disposable']{constructor(_0x346635,_0x507546,_0x1423a4){const _0x3117e2=_0x486c12;super(),this[_0x3117e2(0x2f7)]=_0x346635,this['_localStorageService']=_0x507546,this['_revisionService']=_0x1423a4,_0x28a1e3(this,_0x3117e2(0x204),new Map()),_0x28a1e3(this,_0x3117e2(0x1cc),new Map()),_0x28a1e3(this,_0x3117e2(0xea),!0x1);}['disableLocalCache'](){const _0x299471=_0x486c12;this[_0x299471(0xea)]=!0x0;}['enableLocalCache'](){const _0x3838d3=_0x486c12;this[_0x3838d3(0xea)]=!0x1;}get[_0x486c12(0x22e)](){const _0x210bb0=_0x486c12;return this[_0x210bb0(0x1cc)];}[_0x486c12(0x1b4)](){const _0x32421f=_0x486c12;this[_0x32421f(0x1f8)]()['then'](()=>super[_0x32421f(0x1b4)]());}async[_0x486c12(0x17a)](_0x2a4257){const _0xfe53a7=_0x486c12;return this[_0xfe53a7(0xea)]?null:this['_localStorageService'][_0xfe53a7(0x1a3)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x2a4257));}async[_0x486c12(0x32a)](_0x4b1ab9,_0x54b9f7){return!!this['_localStorageService']['setItem'](_0x4b1ab9,_0x54b9f7);}[_0x486c12(0x14a)](_0x53b4c3,_0x1d8705,_0x5cdca9,_0x381cad){const _0x54ddb5=_0x486c12;let _0x2e3cd9=this[_0x54ddb5(0x384)]['getCurrentRevOfUnit'](_0x53b4c3);this[_0x54ddb5(0x204)]['set'](_0x53b4c3,{'unitID':_0x53b4c3,'type':_0x1d8705,'awaitingChangeset':_0x5cdca9,'mutations':_0x381cad,'rev':_0x2e3cd9}),this[_0x54ddb5(0x1cc)][_0x54ddb5(0x35e)](_0x53b4c3)||this[_0x54ddb5(0x1cf)](_0x53b4c3);}[_0x486c12(0x1cf)](_0x245429){const _0x3b3194=_0x486c12;let _0x19e80f=this['_getSaveTimeout']();_0x19e80f===0x0?this['_saveCache'](_0x245429):this[_0x3b3194(0x1cc)][_0x3b3194(0x1de)](_0x245429,setTimeout(()=>this[_0x3b3194(0xf5)](_0x245429),_0x19e80f));}[_0x486c12(0xfa)](){const _0xe35530=_0x486c12;var _0x19a71c;return(_0x19a71c=this['_configService'][_0xe35530(0x172)](_0x5ba2ed[_0xe35530(0x3a4)]))==null?_0x5ba2ed[_0xe35530(0x194)]:_0x19a71c;}[_0x486c12(0xf5)](_0x39367a){const _0x23a805=_0x486c12;let _0x5a18c0=this[_0x23a805(0x1cc)][_0x23a805(0x114)](_0x39367a);return _0x5a18c0!==void 0x0&&window[_0x23a805(0x2bf)](_0x5a18c0),this['_localStorageService'][_0x23a805(0x3a5)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x39367a),this[_0x23a805(0x204)]['get'](_0x39367a))[_0x23a805(0x2d5)](()=>this[_0x23a805(0x1cc)][_0x23a805(0x26e)](_0x39367a));}async[_0x486c12(0x1f8)](){const _0x4e8654=_0x486c12;let _0x220d2e=[];this[_0x4e8654(0x1cc)][_0x4e8654(0x377)]((_0x2ec676,_0x2392c4)=>{const _0x2d5642=_0x4e8654;window['clearTimeout'](_0x2ec676),_0x220d2e[_0x2d5642(0x1d9)](this[_0x2d5642(0xf5)](_0x2392c4)[_0x2d5642(0x2d5)](()=>{const _0x5e2b8e=_0x2d5642;this[_0x5e2b8e(0x1cc)][_0x5e2b8e(0x26e)](_0x2392c4);}));}),await Promise[_0x4e8654(0x1fa)](_0x220d2e);}};_0x49419b=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x208)]),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x136fe4[_0x486c12(0x2b5)]))],_0x49419b);var _0x5b0485=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(){const _0x4fa941=_0x486c12;super(),_0x28a1e3(this,_0x4fa941(0x23f),void 0x0),this[_0x4fa941(0x23f)]=(0x0,_0x4a289e[_0x4fa941(0x135)])(window,_0x4fa941(0x343))['pipe']((0x0,_0x4a289e['takeUntil'])(this['dispose$']),(0x0,_0x4a289e[_0x4fa941(0x175)])(0x1),(0x0,_0x4a289e[_0x4fa941(0x192)])(void 0x0));}[_0x486c12(0x1d5)](_0x560112,_0x3f6c19,_0x14129e=!0x1){const _0x60e71d=_0x486c12;let _0x35a2fa=new URL(window[_0x60e71d(0x34f)][_0x60e71d(0x185)]);_0x35a2fa['searchParams']['set'](_0x560112,_0x3f6c19),_0x14129e?window[_0x60e71d(0x1a8)][_0x60e71d(0x360)]('','',_0x35a2fa[_0x60e71d(0x22c)]()):window[_0x60e71d(0x1a8)][_0x60e71d(0x109)]('','',_0x35a2fa[_0x60e71d(0x22c)]());}['removeParam'](_0x21ecf7,_0x39176f=!0x1){const _0x25f08e=_0x486c12;let _0x52cf29=new URL(window[_0x25f08e(0x34f)][_0x25f08e(0x185)]);_0x52cf29[_0x25f08e(0x33c)][_0x25f08e(0x26e)](_0x21ecf7),_0x39176f?window[_0x25f08e(0x1a8)]['replaceState']('','',_0x52cf29[_0x25f08e(0x22c)]()):window[_0x25f08e(0x1a8)][_0x25f08e(0x109)]('','',_0x52cf29['toString']());}['getParam'](_0x46710a){const _0x513557=_0x486c12;var _0x2bea5e;return(_0x2bea5e=new URL(window[_0x513557(0x34f)][_0x513557(0x185)])[_0x513557(0x33c)][_0x513557(0x114)](_0x46710a))==null?void 0x0:_0x2bea5e;}};let _0x4c8995=class extends _0x3789e1['Plugin']{constructor(_0x334f78=_0x157272,_0x3785,_0x3c3d32,_0x28af26){const _0x9c7c45=_0x486c12;super(),this[_0x9c7c45(0xfb)]=_0x334f78,this[_0x9c7c45(0x305)]=_0x3785,this[_0x9c7c45(0x2bb)]=_0x3c3d32,this['_configService']=_0x28af26;let {..._0x591ac8}=(0x0,_0x3789e1[_0x9c7c45(0x101)])({},_0x157272,this[_0x9c7c45(0xfb)]);this[_0x9c7c45(0x2f7)]['setConfig'](_0x529e28,_0x591ac8);}[_0x486c12(0x38a)](){const _0x338265=_0x486c12;this[_0x338265(0xf7)](),this[_0x338265(0x1b3)]();}[_0x486c12(0x234)](){const _0x480da0=_0x486c12;this[_0x480da0(0x16f)]();}[_0x486c12(0xf7)](){const _0x4dea67=_0x486c12;var _0x83d2a0;let _0x1aa8d7=[[_0x3e01b5],[_0x3c0988],[_0x115b18],[_0x1dc143],[_0x4e2c0d],[_0xb4d8f5],[_0x1b48a9,{'useClass':_0x5b0485}],[_0x2ccad2[_0x4dea67(0x181)],{'useClass':_0x2ccad2[_0x4dea67(0x2f4)]}],[_0x5ba2ed[_0x4dea67(0x3a0)],{'useClass':_0x49419b}],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0x59bc3e],[_0x560036],[_0xe6e34a]];this['_config'][_0x4dea67(0x17b)]&&_0x1aa8d7[_0x4dea67(0x1d9)]([_0x558a6b]),(0x0,_0x3789e1[_0x4dea67(0x2e8)])(this[_0x4dea67(0x2bb)],(0x0,_0x3789e1[_0x4dea67(0x298)])(_0x1aa8d7,(_0x83d2a0=this[_0x4dea67(0xfb)])==null?void 0x0:_0x83d2a0[_0x4dea67(0x215)]));}[_0x486c12(0x16f)](){const _0x397303=_0x486c12;this[_0x397303(0x26a)](this[_0x397303(0x305)]['registerRenderModule'](_0x3789e1['UniverInstanceType'][_0x397303(0x2a1)],[_0x8c0b72])),this[_0x397303(0x26a)](this['_renderManagerService']['registerRenderModule'](_0x3789e1[_0x397303(0x246)]['UNIVER_SHEET'],[_0x4d3930]));}['_initDependencies'](){const _0x554a4c=_0x486c12;(0x0,_0x3789e1[_0x554a4c(0x296)])(this[_0x554a4c(0x2bb)],[[_0x59bc3e],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0xe6e34a],[_0x3c0988]]),this[_0x554a4c(0xfb)][_0x554a4c(0x17b)]&&(0x0,_0x3789e1['touchDependencies'])(this[_0x554a4c(0x2bb)],[[_0x558a6b]]);}};_0x28a1e3(_0x4c8995,_0x486c12(0x2d9),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x28a1e3(_0x4c8995,_0x486c12(0x10f),_0x606168),_0x28a1e3(_0x4c8995,_0x486c12(0x3ab),_0x34f54e),_0x4c8995=_0x2eed91([(0x0,_0x3789e1[_0x486c12(0x1d2)])(_0x5ba2ed[_0x486c12(0x334)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x24d)])],_0x4c8995);let _0x7679a8=class extends _0x5ba2ed[_0x486c12(0x1c2)]{constructor(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c){super(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c);}async[_0x486c12(0x122)](_0x140943){const _0x438b1c=_0x486c12;let _0x5cc25e=await this['_getSessionTicket'](),_0x38630b=this[_0x438b1c(0xf9)](_0x140943,_0x5cc25e);return this['_doCreateSocket'](_0x38630b);}['_createSocketURL'](_0x59f37c,_0x5beb49){const _0x3504b9=_0x486c12;let _0x147e2c=typeof window>'u'?new URL(_0x59f37c):new URL(_0x59f37c,window['location'][_0x3504b9(0x2cc)]);_0x147e2c['searchParams'][_0x3504b9(0x1de)](_0x3504b9(0xed),_0x5beb49);let _0x3dee12=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3504b9(0x34f)][_0x3504b9(0x277)]);return _0x3dee12[_0x3504b9(0x114)]('runId')&&_0x147e2c[_0x3504b9(0x33c)][_0x3504b9(0x1de)](_0x3504b9(0xe6),_0x3dee12[_0x3504b9(0x114)](_0x3504b9(0xe6))),_0x147e2c[_0x3504b9(0x22c)]();}async[_0x486c12(0x1ce)](){const _0x2cd3db=_0x486c12;var _0x46bb87,_0x426580,_0x266441;let _0x49ce9a=this['_configService'][_0x2cd3db(0x172)](_0x5ba2ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a4cda=(_0x46bb87=_0x49ce9a==null?void 0x0:_0x49ce9a[_0x2cd3db(0x183)])==null?_0x5ba2ed['DEFAULT_WS_SESSION_TICKET_URL']:_0x46bb87;return(_0x426580=(_0x266441=(await this[_0x2cd3db(0x24b)]['get'](_0x1a4cda,{'headers':{'Content-Type':_0x2cd3db(0x2be)}}))[_0x2cd3db(0x1a1)])==null?void 0x0:_0x266441['ticket'])==null?'':_0x426580;}};_0x7679a8=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,_0x3789e1['ILogService']),_0x5dbd47(0x4,_0x136fe4[_0x486c12(0x2cb)])],_0x7679a8);let _0x4caaa6=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x511213,_0x1ab376,_0x1d115e){const _0x391bec=_0x486c12;super(),this[_0x391bec(0x162)]=_0x511213,this[_0x391bec(0x24b)]=_0x1ab376,this[_0x391bec(0x2f7)]=_0x1d115e;}async[_0x486c12(0x10b)](_0x41c07f,_0x429439,_0x496744,..._0x56b0ed){const _0x1bb5b2=_0x486c12;var _0x244cf6,_0x1103b9,_0x2010bc,_0x659e8b;let _0x45bd9f=this[_0x1bb5b2(0x162)][_0x1bb5b2(0x17d)]();if(!_0x45bd9f)throw Error(_0x1bb5b2(0x187));let _0x3b442f=((_0x244cf6=this[_0x1bb5b2(0x2f7)][_0x1bb5b2(0x172)](_0x5ba2ed[_0x1bb5b2(0x242)]))==null?_0x5ba2ed[_0x1bb5b2(0x309)]:_0x244cf6)+'/'+_0x41c07f+'/run/'+_0x429439,_0x437771={'scriptId':_0x41c07f,'runId':(_0x1103b9=new URL(window[_0x1bb5b2(0x34f)][_0x1bb5b2(0x185)])[_0x1bb5b2(0x33c)][_0x1bb5b2(0x114)](_0x1bb5b2(0xe6)))==null?'':_0x1103b9,'function':_0x429439,'unitId':_0x45bd9f[_0x1bb5b2(0x255)](),'argsOfFunction':JSON[_0x1bb5b2(0x374)](_0x56b0ed),'invokeId':(_0x2010bc=_0x496744['invokeId'])==null?'':_0x2010bc,'executionId':(_0x659e8b=_0x496744[_0x1bb5b2(0x216)])==null?'':_0x659e8b};try{let _0x1dc12c=await this[_0x1bb5b2(0x24b)][_0x1bb5b2(0x368)](_0x3b442f,{'body':_0x437771});return _0x1dc12c['body'][_0x1bb5b2(0x120)]&&_0x1dc12c[_0x1bb5b2(0x1a1)]['error'][_0x1bb5b2(0x379)]!==_0x53e205['ErrorCode']['OK']?'Failed':_0x1dc12c[_0x1bb5b2(0x1a1)][_0x1bb5b2(0x2ff)];}catch{return _0x1bb5b2(0x1b9);}}};_0x4caaa6=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1['IConfigService'])],_0x4caaa6);var _0x4626a9=function(_0x3795b4){const _0x705879=_0x486c12;return _0x3795b4[_0x3795b4[_0x705879(0x276)]=0x0]=_0x705879(0x276),_0x3795b4[_0x3795b4[_0x705879(0x36c)]=0x1]=_0x705879(0x36c),_0x3795b4[_0x3795b4['HEARTBEAT']=0x2]=_0x705879(0x245),_0x3795b4;}(_0x4626a9||{});let _0x4e3ed2=0x7530,_0x4653ed=_0x486c12(0x25e);var _0x12c06f=class extends _0x3789e1['Disposable']{constructor(){const _0x21ed61=_0x486c12;super(),_0x28a1e3(this,_0x21ed61(0x203),(0x0,_0x3789e1[_0x21ed61(0x211)])()),_0x28a1e3(this,'_selfUnitIDs',new Set()),_0x28a1e3(this,'_unitOnClients',new Map()),_0x28a1e3(this,_0x21ed61(0x3b2),null),_0x28a1e3(this,_0x21ed61(0x201),new Map()),_0x28a1e3(this,_0x21ed61(0x134),new Map()),this[_0x21ed61(0x184)]();}[_0x486c12(0x1b4)](){const _0x3632c3=_0x486c12;super[_0x3632c3(0x1b4)](),this['_clearOtherTimers'][_0x3632c3(0x377)]((_0x11b291,_0xbd5cbd)=>this[_0x3632c3(0x387)](_0xbd5cbd)),this['_heartbeatTimer']&&window[_0x3632c3(0x295)](this[_0x3632c3(0x3b2)]);}[_0x486c12(0x385)](_0x5b2872){const _0x51a467=_0x486c12;return this[_0x51a467(0x221)](_0x5b2872)[_0x51a467(0x286)]((0x0,_0x4a289e[_0x51a467(0x1da)])());}[_0x486c12(0xf6)](_0x427fd9){const _0x2944d5=_0x486c12;this[_0x2944d5(0x293)][_0x2944d5(0x2f8)]===0x0&&this[_0x2944d5(0x118)](),this['_selfUnitIDs'][_0x2944d5(0x150)](_0x427fd9),this['_send']({'type':_0x4626a9[_0x2944d5(0x276)],'memberID':this[_0x2944d5(0x203)],'unitIDs':[_0x427fd9],'isForwarded':!0x1});}['disposeUnit'](_0x32d735){const _0x22b5d0=_0x486c12;this[_0x22b5d0(0x293)][_0x22b5d0(0x26e)](_0x32d735),this[_0x22b5d0(0x293)][_0x22b5d0(0x2f8)]===0x0&&this[_0x22b5d0(0x3b2)]&&window['clearInterval'](this[_0x22b5d0(0x3b2)]);}['_init'](){const _0x49d701=_0x486c12;this[_0x49d701(0x26a)]((0x0,_0x3789e1['toDisposable'])((0x0,_0x4a289e['fromEvent'])(window,_0x49d701(0xe1))['subscribe'](_0x4853d6=>{const _0x16f3cc=_0x49d701;if(_0x4853d6[_0x16f3cc(0x2fc)]!==_0x4653ed||!_0x4853d6[_0x16f3cc(0x2e2)])return;let _0x3dce19=JSON[_0x16f3cc(0x212)](_0x4853d6[_0x16f3cc(0x2e2)]);this[_0x16f3cc(0x35c)](_0x3dce19);}))),window['addEventListener'](_0x49d701(0x356),()=>this[_0x49d701(0x248)]({'type':_0x4626a9[_0x49d701(0x36c)],'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x486c12(0x35c)](_0xb7cee1){const _0x35570f=_0x486c12;switch(_0xb7cee1[_0x35570f(0x3a8)]){case _0x4626a9[_0x35570f(0x276)]:this[_0x35570f(0x1e3)](_0xb7cee1);break;case _0x4626a9[_0x35570f(0x36c)]:this['_handleLeaveEvent'](_0xb7cee1);break;case _0x4626a9['HEARTBEAT']:this[_0x35570f(0x2e9)](_0xb7cee1);break;}}[_0x486c12(0x1e3)](_0x1f523a){const _0x524630=_0x486c12;let {unitIDs:_0x4b5674,memberID:_0x2bd38e,isForwarded:_0x24899c}=_0x1f523a;_0x4b5674[_0x524630(0x377)](_0x5b4d53=>{const _0x218589=_0x524630;if(!_0x24899c&&this['_unitOnClients'][_0x218589(0x35e)](_0x5b4d53)&&this[_0x218589(0x221)](_0x5b4d53)['next'](_0x5ba2ed[_0x218589(0x123)][_0x218589(0x386)]),!this[_0x218589(0x1be)][_0x218589(0x35e)](_0x5b4d53)||!this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)[_0x218589(0x35e)](_0x2bd38e)){let _0x3bb28e=this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)||new Set();_0x3bb28e[_0x218589(0x150)](_0x2bd38e),this['_unitOnClients']['set'](_0x5b4d53,_0x3bb28e),this['_scheduleClearOtherTimer'](_0x2bd38e);}}),_0x24899c||this[_0x524630(0x248)]({'type':_0x4626a9['JOIN'],'memberID':this['_id'],'unitIDs':[...this[_0x524630(0x293)]],'isForwarded':!0x0});}[_0x486c12(0x1bc)](_0x3d07e2){const _0x12fca4=_0x486c12;this[_0x12fca4(0x387)](_0x3d07e2);let _0x2d7612=window[_0x12fca4(0x31f)](()=>{const _0x372f9c=_0x12fca4;this['_unitOnClients'][_0x372f9c(0x377)](_0x558b82=>{const _0x48d6d3=_0x372f9c;_0x558b82[_0x48d6d3(0x26e)](_0x3d07e2);});},_0x4e3ed2*0x2);this[_0x12fca4(0x201)][_0x12fca4(0x1de)](_0x3d07e2,_0x2d7612);}[_0x486c12(0x387)](_0x6dbc1c){const _0x1f42bc=_0x486c12;if(this[_0x1f42bc(0x201)][_0x1f42bc(0x35e)](_0x6dbc1c)){let _0x179dff=this[_0x1f42bc(0x201)]['get'](_0x6dbc1c);_0x179dff&&window[_0x1f42bc(0x2bf)](_0x179dff),this[_0x1f42bc(0x201)]['set'](_0x6dbc1c,null);}}['_handleLeaveEvent'](_0x20f780){let {memberID:_0x47de61,unitIDs:_0x3c2fcc}=_0x20f780;_0x3c2fcc['forEach'](_0x3794f1=>{const _0xb69dde=_0x3eb0;var _0x3ab9d3;let _0x4e9709=this[_0xb69dde(0x1be)][_0xb69dde(0x114)](_0x3794f1);_0x4e9709&&(_0x4e9709[_0xb69dde(0x26e)](_0x47de61),(_0x3ab9d3=this[_0xb69dde(0x221)](_0x3794f1))==null||_0x3ab9d3[_0xb69dde(0x283)](_0x4e9709['size']===0x0?_0x5ba2ed[_0xb69dde(0x123)][_0xb69dde(0x2a6)]:_0x5ba2ed['UnitStatus'][_0xb69dde(0x386)]));}),this['_removeClearOtherTimer'](_0x47de61);}[_0x486c12(0x2e9)](_0x21a671){const _0x150ab2=_0x486c12;this['_scheduleClearOtherTimer'](_0x21a671[_0x150ab2(0x37e)]);}[_0x486c12(0x248)](_0x524f86){const _0x22d454=_0x486c12;localStorage['setItem'](_0x4653ed,JSON[_0x22d454(0x374)](_0x524f86));}[_0x486c12(0x118)](){const _0x1ec70e=_0x486c12;this['_heartbeatTimer']=window[_0x1ec70e(0x1ba)](()=>{const _0x13062d=_0x1ec70e;this['_send']({'type':_0x4626a9[_0x13062d(0x245)],'memberID':this[_0x13062d(0x203)]});},_0x4e3ed2);}[_0x486c12(0x221)](_0x2e8c7c){const _0x1f9807=_0x486c12;return this[_0x1f9807(0x134)][_0x1f9807(0x35e)](_0x2e8c7c)||this[_0x1f9807(0x134)][_0x1f9807(0x1de)](_0x2e8c7c,new _0x4a289e['BehaviorSubject'](_0x5ba2ed['UnitStatus'][_0x1f9807(0x2a6)])),this[_0x1f9807(0x134)][_0x1f9807(0x114)](_0x2e8c7c);}};Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x15d),{'enumerable':!0x0,'get':function(){return _0x7679a8;}}),Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x1c0),{'enumerable':!0x0,'get':function(){return _0xe6e34a;}}),Object['defineProperty'](_0x59af53,_0x486c12(0x16c),{'enumerable':!0x0,'get':function(){return _0x2f2efb;}}),_0x59af53[_0x486c12(0x228)]=_0x1b48a9,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x10a),{'enumerable':!0x0,'get':function(){return _0x4caaa6;}}),_0x59af53[_0x486c12(0xf3)]=_0x573714,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x107),{'enumerable':!0x0,'get':function(){return _0x4c8995;}}),_0x59af53[_0x486c12(0x2aa)]=_0x12c06f,_0x59af53[_0x486c12(0x2d8)]=_0x5b0485;}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x3156(){var _0x36f77a=['object','@univerjs/core/facade','2870444uXQixl','RemoteUniscriptService','3CdWiKE','function','30327770IuUdNb','356377MnoukH','1156630LgAcLM','694485qRlXsb','@univerjs-pro/collaboration-client-ui','runOnServer','FUniver','13436048Wlaakq','333naqAJZ','36XvyQCw','445420fCFSpT','extend','UniverCoreFacade','3WLvlat'];_0x3156=function(){return _0x36f77a;};return _0x3156();}function _0x4374(_0x4e5ff9,_0x247924){_0x4e5ff9=_0x4e5ff9-0xe1;var _0x3156a1=_0x3156();var _0x4374e1=_0x3156a1[_0x4e5ff9];return _0x4374e1;}(function(_0x22f6c,_0x589c5c){var _0x219764=_0x4374,_0x30e331=_0x22f6c();while(!![]){try{var _0x4df205=-parseInt(_0x219764(0xf2))/0x1*(-parseInt(_0x219764(0xe2))/0x2)+-parseInt(_0x219764(0xed))/0x3*(parseInt(_0x219764(0xf0))/0x4)+parseInt(_0x219764(0xe3))/0x5+parseInt(_0x219764(0xe9))/0x6*(parseInt(_0x219764(0xe1))/0x7)+-parseInt(_0x219764(0xe7))/0x8+parseInt(_0x219764(0xe8))/0x9*(-parseInt(_0x219764(0xea))/0xa)+parseInt(_0x219764(0xf4))/0xb;if(_0x4df205===_0x589c5c)break;else _0x30e331['push'](_0x30e331['shift']());}catch(_0x5675cb){_0x30e331['push'](_0x30e331['shift']());}}}(_0x3156,0xd9947),function(_0x4de3e4,_0x2a681d){var _0x2d1810=_0x4374;typeof exports==_0x2d1810(0xee)&&typeof module<'u'?_0x2a681d(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x2d1810(0xf3)&&define['amd']?define([_0x2d1810(0xe4),_0x2d1810(0xef)],_0x2a681d):(_0x4de3e4=typeof globalThis<'u'?globalThis:_0x4de3e4||self,_0x2a681d(_0x4de3e4['UniverProCollaborationClientUi'],_0x4de3e4[_0x2d1810(0xec)]));}(this,function(_0x1002a6,_0x253232){var _0x213173=_0x4374,_0x2182f5=class extends _0x253232['FUniver']{[_0x213173(0xe5)](_0x1c64b8,_0x1aa195,..._0x145ec0){var _0x2988b8=_0x213173;return this['_injector']['get'](_0x1002a6[_0x2988b8(0xf1)])[_0x2988b8(0xe5)](_0x1c64b8,_0x1aa195,{},..._0x145ec0);}};_0x253232[_0x213173(0xe6)][_0x213173(0xeb)](_0x2182f5);}));
11
+ (function(_0x5506b9,_0x517984){var _0x370a75=_0x484b,_0x492708=_0x5506b9();while(!![]){try{var _0x42edf1=parseInt(_0x370a75(0x8c))/0x1+-parseInt(_0x370a75(0x8d))/0x2*(parseInt(_0x370a75(0x78))/0x3)+parseInt(_0x370a75(0x85))/0x4*(-parseInt(_0x370a75(0x88))/0x5)+parseInt(_0x370a75(0x79))/0x6+parseInt(_0x370a75(0x8b))/0x7*(parseInt(_0x370a75(0x7d))/0x8)+-parseInt(_0x370a75(0x7e))/0x9+-parseInt(_0x370a75(0x7a))/0xa*(-parseInt(_0x370a75(0x89))/0xb);if(_0x42edf1===_0x517984)break;else _0x492708['push'](_0x492708['shift']());}catch(_0x4ce3d0){_0x492708['push'](_0x492708['shift']());}}}(_0x1779,0x4bc9e),function(_0x39050b,_0x22c7c1){var _0x2b468b=_0x484b;typeof exports==_0x2b468b(0x7b)&&typeof module<'u'?_0x22c7c1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define=='function'&&define[_0x2b468b(0x8a)]?define([_0x2b468b(0x82),'@univerjs/core/facade'],_0x22c7c1):(_0x39050b=typeof globalThis<'u'?globalThis:_0x39050b||self,_0x22c7c1(_0x39050b[_0x2b468b(0x81)],_0x39050b[_0x2b468b(0x80)]));}(this,function(_0x5179e1,_0x7dae9c){var _0x5c5123=_0x484b,_0x1094e9=class extends _0x7dae9c[_0x5c5123(0x84)]{['runOnServer'](_0x23fdcb,_0x3921b8,..._0x9d145){var _0x323cca=_0x5c5123;return this[_0x323cca(0x83)][_0x323cca(0x7f)](_0x5179e1[_0x323cca(0x87)])[_0x323cca(0x7c)](_0x23fdcb,_0x3921b8,{},..._0x9d145);}};_0x7dae9c[_0x5c5123(0x84)][_0x5c5123(0x86)](_0x1094e9);}));function _0x484b(_0x6efd47,_0x2fb122){_0x6efd47=_0x6efd47-0x78;var _0x177950=_0x1779();var _0x484bdd=_0x177950[_0x6efd47];return _0x484bdd;}function _0x1779(){var _0x24c3a1=['amd','28UEKFOB','38153LmGzSQ','179182sWuBAK','15NfvTRX','477084qjoTTw','211420EEHpzj','object','runOnServer','55736zXYIku','5564295RKExFO','get','UniverCoreFacade','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','_injector','FUniver','4276MDchNo','extend','RemoteUniscriptService','175EJuDeO','660byFjNJ'];_0x1779=function(){return _0x24c3a1;};return _0x1779();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));