@univerjs-pro/collaboration-client 0.5.2 → 0.5.3-nightly.202501041605

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2a3857=_0x5b8f;(function(_0x7a1921,_0x55b062){var _0x5c899e=_0x5b8f,_0x5241f3=_0x7a1921();while(!![]){try{var _0x4e08f1=-parseInt(_0x5c899e(0x175))/0x1*(parseInt(_0x5c899e(0x3eb))/0x2)+-parseInt(_0x5c899e(0x248))/0x3+-parseInt(_0x5c899e(0x1cb))/0x4*(parseInt(_0x5c899e(0x306))/0x5)+parseInt(_0x5c899e(0x2ce))/0x6+-parseInt(_0x5c899e(0x144))/0x7*(-parseInt(_0x5c899e(0x3e8))/0x8)+parseInt(_0x5c899e(0x200))/0x9+parseInt(_0x5c899e(0x27e))/0xa;if(_0x4e08f1===_0x55b062)break;else _0x5241f3['push'](_0x5241f3['shift']());}catch(_0x22b799){_0x5241f3['push'](_0x5241f3['shift']());}}}(_0x4544,0x1b117));var $i=Object[_0x2a3857(0x239)],Hi=(_0x1bb018,_0x581ccb,_0x5ab827)=>_0x581ccb in _0x1bb018?$i(_0x1bb018,_0x581ccb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab827}):_0x1bb018[_0x581ccb]=_0x5ab827,P=(_0x4a5231,_0x5d1b7b,_0x46e8a1)=>Hi(_0x4a5231,typeof _0x5d1b7b!='symbol'?_0x5d1b7b+'':_0x5d1b7b,_0x46e8a1);import{createIdentifier as _0x357b15,Inject as _0x21b3b2,Injector as _0x548366,Disposable as _0x2e140f,DisposableCollection as _0x595a80,toDisposable as _0x30af1d,IConfigService as _0x24bebb,ILogService as _0x4e1c8f,UserManagerService as _0xba64f5,UniverInstanceType as _0x465e07,IUniverInstanceService as _0x40e127,LocaleService as _0x551f00,Optional as _0x10c77b,RxDisposable as _0x3f0249,Tools as _0x57b57d,Rectangle as _0x1aad94,ICommandService as _0xd6fdcf,JSONX as _0x32150e,CommandType as _0xab8d9d,IPermissionService as _0x1c05e3,IUndoRedoService as _0x34b8e6,sequenceExecute as _0x595582,Workbook as _0x115f48,MentionType as _0x4eb276,IAuthzIoService as _0x1ee820,isInternalEditorID as _0xc08f6c,LocalUndoRedoService as _0x2afa4d,IContextService as _0x46761c,DependentOn as _0x4f1cae,Plugin as _0x42c4cc,merge as _0x46b3fd,mergeOverrideWithDependencies as _0x1114da,IMentionIOService as _0x50db1d,registerDependencies as _0xb389a8,Quantity as _0x5e9174,touchDependencies as _0x1673c2}from'@univerjs/core';import{Subject as _0x282fa7,merge as _0xc9cdeb,of as _0x59284b,BehaviorSubject as _0x500ff8,takeUntil as _0x49b26f,ReplaySubject as _0x290582,take as _0x20e9c1,map as _0x45e7c7,shareReplay as _0x2bcada,firstValueFrom as _0x3b9423,concatMap as _0xdf9ab4}from'rxjs';import{map as _0x4bf464,take as _0x2fc287,filter as _0x5bfb9e,delay as _0x1e0965,takeUntil as _0x3ba3cf}from'rxjs/operators';import{HTTPService as _0x4fa095,ISocketService as _0x4f6f60,MergeInterceptorFactory as _0x105041,HTTPRequest as _0x4403e8,UniverNetworkPlugin as _0x5774e3,ThresholdInterceptorFactory as _0x32651a}from'@univerjs/network';import{CollaborationEvent as _0x562849,parseChangesetToProtocol as _0x1a5c1c,ISnapshotServerService as _0x2b19c8,isTransformMutationsWithChangesetSuccess as _0x17f224,ITransformService as _0x59eb83,mapDocumentTypeToUniverType as _0x5f2b7f,RevisionService as _0x49a07f,isTransformChangesetsSuccess as _0x41a995,CompressMutationService as _0x53db64,parseProtocolChangeset as _0x286142,SnapshotService as _0x2546f0,textEncoder as _0x56aad7,b64DecodeUnicode as _0x2a92b6,isTransformMutationsWithChangesetFailure as _0x3977b7,UniverCollaborationPlugin as _0x822522}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xad6476}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x117fd1}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c7668,SetSelectionsOperation as _0x4301b8,InsertSheetMutation as _0x5b2210,EmptyMutation as _0x14880c,WorkbookEditablePermission as _0x39ae2d,UnitObject as _0x4172eb,defaultWorkbookPermissionPoints as _0x5b7918,getAllWorkbookPermissionPoint as _0x3e17f7,WorksheetProtectionRuleModel as _0xc125ce,baseProtectionActions as _0xef18b8,getAllWorksheetPermissionPoint as _0x1553e5,WorksheetProtectionPointModel as _0x12954f,defaultWorksheetPermissionPoint as _0x3a77ca,getAllWorksheetPermissionPointByPointPanel as _0x7e5269,RangeProtectionRuleModel as _0x5b5e96,getAllRangePermissionPoint as _0x13122b,UniverSheetsPlugin as _0x273cfc}from'@univerjs/sheets';import{ImageSourceType as _0x1588b5,ImageUploadStatusType as _0xf0a3d5,IImageIoService as _0x667393}from'@univerjs/drawing';import{getGlobalObject as _0x57f2ea}from'@univerjs-pro/license';const Dn=_0x2a3857(0x13e),wn=_0x2a3857(0x38f),Un=_0x2a3857(0x136),_o=_0x2a3857(0x22b),An=0x7d0,xn=_0x2a3857(0x3cc),Ln=_0x2a3857(0x249),Mn=_0x2a3857(0x3f4),$n=_0x2a3857(0x33e),Hn=0x7530,Ii=_0x2a3857(0x36b),Ti=0x4e20,kn=0x4e20,jn='RETRY_CONNECTING_MAX_COUNT',Bn=0x3,lo=_0x2a3857(0x17c),uo=0x3e8,Fn=_0x2a3857(0x1ed),Vn='/universer-api/comb',Wn=_0x2a3857(0x201),Gn='/universer-api/oidc/authpage',fo=_0x2a3857(0x188),vo=_0x2a3857(0x171);var Ci=(_0x4e1310=>(_0x4e1310[_0x4e1310[_0x2a3857(0x3df)]=0x0]=_0x2a3857(0x3df),_0x4e1310[_0x4e1310['OK']=0x1]='OK',_0x4e1310[_0x4e1310[_0x2a3857(0x381)]=0x2]=_0x2a3857(0x381),_0x4e1310[_0x4e1310['PERMISSION_DENIED']=0x3]=_0x2a3857(0x13f),_0x4e1310[_0x4e1310[_0x2a3857(0x308)]=0x4]=_0x2a3857(0x308),_0x4e1310[_0x4e1310[_0x2a3857(0x164)]=0x5]=_0x2a3857(0x164),_0x4e1310[_0x4e1310[_0x2a3857(0x26a)]=0x6]=_0x2a3857(0x26a),_0x4e1310[_0x4e1310[_0x2a3857(0x29b)]=0x7]=_0x2a3857(0x29b),_0x4e1310[_0x4e1310[_0x2a3857(0x286)]=0x8]=_0x2a3857(0x286),_0x4e1310[_0x4e1310[_0x2a3857(0x3ae)]=0x9]='COMPLETION_FINISHED',_0x4e1310[_0x4e1310[_0x2a3857(0x170)]=0x1389]=_0x2a3857(0x170),_0x4e1310[_0x4e1310[_0x2a3857(0x41f)]=0x1771]=_0x2a3857(0x41f),_0x4e1310[_0x4e1310[_0x2a3857(0x277)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e1310[_0x4e1310[_0x2a3857(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4e1310[_0x4e1310[_0x2a3857(0x3bc)]=0x1b59]=_0x2a3857(0x3bc),_0x4e1310[_0x4e1310[_0x2a3857(0x2f4)]=0x1b5a]=_0x2a3857(0x2f4),_0x4e1310[_0x4e1310[_0x2a3857(0x2d1)]=0x1b5b]=_0x2a3857(0x2d1),_0x4e1310[_0x4e1310[_0x2a3857(0x198)]=0x1b5c]=_0x2a3857(0x198),_0x4e1310[_0x4e1310[_0x2a3857(0x2e8)]=0x1b5d]=_0x2a3857(0x2e8),_0x4e1310[_0x4e1310[_0x2a3857(0x3b0)]=0x1f41]=_0x2a3857(0x3b0),_0x4e1310[_0x4e1310[_0x2a3857(0x199)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x3d3)]=0x232a]=_0x2a3857(0x3d3),_0x4e1310[_0x4e1310['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x319)]=0x232c]=_0x2a3857(0x319),_0x4e1310[_0x4e1310[_0x2a3857(0x37c)]=0x232d]=_0x2a3857(0x37c),_0x4e1310[_0x4e1310[_0x2a3857(0x2aa)]=0x2711]=_0x2a3857(0x2aa),_0x4e1310[_0x4e1310[_0x2a3857(0x15d)]=0x2712]=_0x2a3857(0x15d),_0x4e1310[_0x4e1310[_0x2a3857(0x34a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e1310[_0x4e1310[_0x2a3857(0x1bf)]=0x2714]=_0x2a3857(0x1bf),_0x4e1310[_0x4e1310[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x4e1310))(Ci||{}),Q=(_0x231346=>(_0x231346[_0x231346[_0x2a3857(0x2e2)]=0x0]=_0x2a3857(0x2e2),_0x231346[_0x231346[_0x2a3857(0x1d6)]=0x1]=_0x2a3857(0x1d6),_0x231346[_0x231346['UNIVER_SHEET']=0x2]=_0x2a3857(0x292),_0x231346[_0x231346['UNIVER_SLIDE']=0x3]=_0x2a3857(0x203),_0x231346[_0x231346[_0x2a3857(0x3fe)]=0x4]=_0x2a3857(0x3fe),_0x231346[_0x231346[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x231346))(Q||{}),F=(_0x11b0c5=>(_0x11b0c5[_0x11b0c5[_0x2a3857(0x22f)]=0x0]=_0x2a3857(0x22f),_0x11b0c5[_0x11b0c5[_0x2a3857(0x121)]=0x1]=_0x2a3857(0x121),_0x11b0c5[_0x11b0c5[_0x2a3857(0x149)]=0x2]=_0x2a3857(0x149),_0x11b0c5[_0x11b0c5[_0x2a3857(0x18f)]=0x3]='LEAVE',_0x11b0c5[_0x11b0c5['INGEST']=0x4]=_0x2a3857(0x3a5),_0x11b0c5[_0x11b0c5[_0x2a3857(0x354)]=0x5]=_0x2a3857(0x354),_0x11b0c5[_0x11b0c5[_0x2a3857(0x173)]=0x6]=_0x2a3857(0x173),_0x11b0c5[_0x11b0c5[_0x2a3857(0x35d)]=-0x1]='UNRECOGNIZED',_0x11b0c5))(F||{}),Ee=(_0x39efc=>(_0x39efc[_0x39efc[_0x2a3857(0x127)]=0x0]='UNKNOWN_CODE',_0x39efc[_0x39efc['OK']=0x1]='OK',_0x39efc[_0x39efc['FAIL']=0x2]=_0x2a3857(0x296),_0x39efc[_0x39efc[_0x2a3857(0x20c)]=0x3e9]=_0x2a3857(0x20c),_0x39efc[_0x39efc[_0x2a3857(0x1af)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x39efc[_0x39efc[_0x2a3857(0x12f)]=0x3eb]=_0x2a3857(0x12f),_0x39efc[_0x39efc[_0x2a3857(0x16a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x39efc[_0x39efc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39efc))(Ee||{}),bi=(_0x226861=>(_0x226861[_0x226861[_0x2a3857(0x1a0)]=0x0]='Undefined',_0x226861[_0x226861[_0x2a3857(0x3be)]=0x1]=_0x2a3857(0x3be),_0x226861[_0x226861[_0x2a3857(0x24c)]=0x2]=_0x2a3857(0x24c),_0x226861[_0x226861[_0x2a3857(0x215)]=0x3]='UnitEmbedded',_0x226861[_0x226861[_0x2a3857(0x135)]=0x4]=_0x2a3857(0x135),_0x226861[_0x226861[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x226861))(bi||{});const Y='collaboration-client.config',zt={};var re=(_0x2a6a34=>(_0x2a6a34['OTHER_CLIENT_EDITING']=_0x2a3857(0x3c4),_0x2a6a34['PERMISSION_DENIED']=_0x2a3857(0x13f),_0x2a6a34['CONFLICT']=_0x2a3857(0x1dc),_0x2a6a34[_0x2a3857(0x165)]=_0x2a3857(0x165),_0x2a6a34[_0x2a3857(0x39e)]=_0x2a3857(0x39e),_0x2a6a34['SOCKET_FAILED_RETRY']=_0x2a3857(0x220),_0x2a6a34[_0x2a3857(0x34c)]='SOCKET_FAILED',_0x2a6a34['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x2a6a34))(re||{});class pe{constructor(){var _0x55120f=_0x2a3857;P(this,_0x55120f(0x3e6),new _0x282fa7()),P(this,'event$',this[_0x55120f(0x3e6)]['asObservable']());}[_0x2a3857(0x3db)](_0x437eaf){var _0x187df4=_0x2a3857;this[_0x187df4(0x3e6)][_0x187df4(0x386)](_0x437eaf);}}const Kn=_0x357b15(_0x2a3857(0x2e3));function _0x4544(){var _0x33b2f8=['APPLY_REJECT','setWaitCount','HttpImport','clone','socket\x20close','pauseCollaboration','univer-pro.collaboration-client.single-active-unit-service','CHANGESET_SHOULD_RETRY','OTHER_CLIENT_EDITING','isPermissionRej','randomBytes','_getCurrentRevision','_reverseMap','_submitChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ERROR_IMAGE_TYPE','COLLAB_WEB_SOCKET_URL','_univerInstanceService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_pendingMutations','textRanges','_getSessionTicket','set','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateCursorEvent','requestParams','rev','dispose','downloadEndpointUrl','resourceIDs','newCsEvent','emitEvent','state$','capture','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','/new_changes','/unit/','readAsDataURL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationState]:\x20apply\x20error!','_initUnitPermissionChange','_event$','NO_OTHER_CLIENTS_EDITING','8EbBBMv','[CollaborationSessionService]','create','162SPUNVU','refreshPermission','getCurrentUser','_toggleOffline','subType','_applyRemoteChangeset','joinRsp','csRejEvent','[SyncedState]:\x20received\x20rejection.','/universer-api/user/session-ticket','session','deepClone','getInterceptPoints','SUCCUSS','createDecryptor','UUID','fromCharCode','actions','unsubscribe','UNIVER_PROJECT','min','_transitionLocked','crypto','iterations','collabSubmitChangesetUrl','setCurrentUser','_sessions','_initRequestHeader','sigBytes','[DataLoaderService]','/object','_members','&to=','result','has','IDLE','conflict','_retryCount','requireSession','debug','override','exports','\x20-\x20','AES','image/png','_createHandler','Pkcs7','_onOffline','_onRemoteRejected','_initMergeInterceptor','toLowerCase','_sender','SNAPSHOT_INVALID_SNAPSHOT','_http','getCurrentRevOfUnit','incrementRevOfUnit','onRemoteRej','_networkConditionService','error','/universer-api/file/{fileID}/sign-url','_onFetchMissResult','mixIn','socketService','_permissionService','_getRedoStack','url','HELLO','getConfig','ceil','SUBMIT_CHANGESET_TIMEOUT','_shouldReportTelemetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNKNOWN_CODE','registerHTTPInterceptor','objectID','every','_rescheduleHeartbeat','_isPermissionRej','userID','unitID','JOIN_ROOM_PERMISSION_DENIED','readyForCollab','put','_throwTelemetryCollaborationNewChangeset','getTime','initWorkbookPermissionChange','UnitSnapshot','SNAPSHOT_URL_KEY','getWorkbookSelections','&assign=','/rev/','href','data','Latin1','/object/','SNAPSHOT_SERVER_URL_KEY','PERMISSION_DENIED','MD5','_ENC_XFORM_MODE','findIndex','_commandService','977753TmQWqz','fetchThroughInterceptors','params','JOINING','_getUploadFileURL','JOIN','_clearRedo','session.room-permission-denied','random','_socket','algo','_tryReconnect','COMPRESS_MUTATION_APPLY','Cipher','rng','LIVESHARE_FETCH_OPERATIONS','_transformRemoteChangesetByIMECache','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','replace','_lockTransition','_injector','enableSingleActiveInstanceLock','call','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_localCacheService','YUUMI_URL_COL_OUT_OF_RANGE','loadSheet','ruleRefresh','_onConflict','unitId\x20is\x20not\x20found','blockSize','_unitID','UNAUTHENTICATED','CLOSE_ROOM','filter','_getSendChangesetTimeout','forEach','unitInfo$','GLOBAL_ROOMS_CNT_EXCEEDS','removeMember','CHANGESET_ACK','listRoles','subject','_sessionStatus$','CHANGESET_REVISION_CONFILICT','/universer-api/uniscript','_handlerCallback','RECV','NEW_CHANGESETS','2696McVgcZ','_iv','_snapshotService','stringify','focused$','_revisionService','snapshotServerUrl','LOCAL_CACHE_INTERVAL','fetchMiss','onTransformRemoteChangesetByIMECache','_socketReady','transformChangesets','_entities','encode','UPDATE_PERMISSION_OBJ','offline','_memberService','toggleOffline','getPermissionPoint','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','saveChangeset','setShowComponents','_emitMembers','FileId','extend','LEAVE','WordArray','_resendTimeout','then','_candidateSocket','memberID','mode','Decryptor','OPTIONAL','APPLY_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','enableOfflineEditing','_loadSheet','save\x20fail\x20reason\x20is\x20','m2Prime','onStateChange','send','Undefined','body','_data','getLatestCsReqIdBySid','getMember','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','generateRandomId','delete','_hash','pad','_singleActiveUnitService','_HTTPService','image/bmp','_localeService','StreamCipher','JOIN_ROOM_NOT_EXISTS','Base','_collabSessionService','_getAPIPrefixPath','getTypeOfUnitAdded$','AUTHZ_URL_KEY','_socketService','_onJoinRoomEvent','_joinRoom','session.room-cnt-exceeds','CipherParams','_disableEditing','HMAC','hasher','lib','collaboration_new_changeset','YUUMI_SUBSCRIPTION_NOT_FOUND','unit-cache-','disposeWithMe','_getLoginPath','add','transformMutationsWithChangeset','getSheetId','onMissedChangesetFetched','commentUpdate$','editing\x20status\x20changed\x20to','getImageSourceCache','_config','196cxCxUj','clamp','_transformRemoteChangesetByStateCache','type','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSyncEditingCollabCursor','CHANGESET_REJ','_checkMissing','infoRsp','_redoStacks','_keyPriorReset','UNIVER_DOC','revision','/fetchmissing?from=','[OfflineState]:\x20received\x20acknowledgement.','getDeserializedSheetBlock','[CollaborationSessionService]:\x20socket\x20error','CONFLICT','_toggleOnline','init','&source=','_updateLocalCache','_loadDoc','fetchMissingChangesets','getActiveSheet','_state$','unknown','_waitForHeartbeatResponse','FETCH_MISSING','encodeURIComponent','getOwnPropertyDescriptor','BufferedBlockAlgorithm','SHA1','Worksheet','COLLAB_SUBMIT_CHANGESET_URL','/-/object/-/batch_allowed','_replaceFileID','_sendingTimer','saveImage','_commentService','hostname','_onConnectionOpen','csShouldRetryEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','catch','post','key','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','value','keySize','synced','_key','90882ThzRQl','LOGIN_URL_KEY','_collaborationSessionService','UNIVER_SLIDE','connection\x20error','_configService','status','_process','_stopTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','_clearUndo','_map','JOIN_ROOM_FULL','open$','updatePermissionPoint','_changesetReqId','title','updateMember','USERS_LEAVE','startTime','runId','UnitEmbedded','/block/','_prevBlock','getAllMembers','compose','reject','origin','_append','get','charCodeAt','objects','SOCKET_FAILED_RETRY','members','onCommentUpdate','transformUndoRedo','_commentUpdate$','bind','reqId','_onLocalMutation','_retryConnectingTimer','__esModule','mutations','SEND_CHANGESET_TIMEOUT','updateCollaborator','/universer-api/snapshot/','prototype','UNKNOWN_CMD','_transformIMECache','ENSURE_SNAPSHOT_EXECUTION','onload','updateOfflineData','OpenSSL','Hex','searchParams','onSendChangeset','_hasher','defineProperty','floor','failed\x20to\x20apply\x20missed\x20changesets!','fetching\x20missing\x20changesets\x20from\x20','_members$','_iKey','_socketMessageSubscription','getImage','Base64','AWAITING','LIVESHARE_NEW_HOST','COMMENT_UPDATE','joinEvent','_timeoutTimer','slice','253392bBTlSn','ws://127.0.0.1:8000/universer-api/comb/connect','decryptBlock','max','HttpExport','search','_collaborationPaused','/universer-api/stream/file/upload','_resendTimer','words','LIVESHARE_REQUEST_HOST','onlyLocal','interceptor','_nRounds','loadUnit','getRandomValues','status$','_state','complete','commentUpdateEvent','shouldCloseConn','_createHelper','[CollaborationUndoRedoService]','wsSessionTicketUrl','PERSON','abs','_transformSelections','_sheetTransformSelectionsService','selections','c2Prime','_waitCount','_fetchMissChangesets','getResourcesRequest','target','ALREADY_EXISTS','_transformService','COMPRESS_MUTATION_SEND','/collaborator','retryConnectingInterval','saveSnapshot','transformStack\x20failed!','push','updatePermissionObjEvent','_acknowledgedAwaitingChangeset','getValue','Hasher','socket\x20open.','SNAPSHOT_HAS_BEEN_REMOVED','getUnitStatus$','enableAuthServer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_telemetryInfo','editingUnit','name','2878330DelTMR','collaboratorID','size','_getAPIPrefix','reverse','getSheetBlock','AWAITING_WITH_PENDING','createSocket','TOO_MANY_REQUESTS','_socket$','onStarting','_incrementRevisionNumber','_nDataBytes','_updateStatus','toString','\x20in\x20_schedule.','unpad','getCollabEntity$','hasOwnProperty','_unlockTransition','UNIVER_SHEET','_type','_keySchedule','compute','FAIL','UPDATE_CURSOR','encrypt','members$','string','INVALID_ARGUMENT','range','ERROR_IMAGE','_substituteRedoStack','_decreaseWaiting','onRemoteAck','_init','error$','_entityInit$','method','_xformMode','from','_authzIoService','c1Prime','event$','YUUMI_UNABLE_LOAD_URL','_compressMutationService','_createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_invKeySchedule','[CollaborationSession]','join','[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.','list','uniscriptRunEvent','CBC','MSG_FOR_ERROR','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','unitId','closeSession','$super','_createSocketURL','onRemoteRetry','onTransformRemoteChangesetByStateCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','file','OTHER_CLIENTS_EDITING','repeat','executeCommand','POST','_onConnectionFailed','_telemetryService','BlockCipherMode','_getDownloadEndpointURL','localCacheService','csAckEvent','_onMessage','routeKey','subscribe','putCollaborators','_transformStack','1050834OoQhJo','_replayCachedMutations','Utf8','APPLY_REVISION_CONFILICT','_resendWithTimeout','apply','{fileID}','_getUndoStack','__creator','finalize','LIVESHARE_OPERATION','NoPadding','/universer-api/authz','[CollaborationEntity]','_onRemoteChangeset','state','_roomCreated$','[OfflineState]:\x20received\x20rejection.','asObservable','_imageSourceCache','UNIVER_UNKNOWN','univer-pro.collaboration-client.network-condition.service','_getSignURL','_startCollaboration','leaveEvent','_queuedRemoteChangesets','APPLY_DUPLICATED','resend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','substr','padding','univer-pro.collaboration-client-socket-service','_scheduleCompleteTimestamp','_remoteChangesetQueue','onTransformState','_startTelemetryCollaborationNewChangeset','cfg','auth.needGotoLoginAlert','APPLY_NON_SEQUENTIAL_REVISION','close$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock','objectType','withCredentials','baseRev','randomUUID','FETCH_MISS','_scheduleCollaborationTimeoutTimer','BlockCipher','onTransformIME','image/jpeg','not_collab','function','_updateState','getCollabEntity','_createInitialState','20310AEFmLf','entityInit$','NOT_FOUND','[PendingState]:\x20received\x20rejection.','session.join-failed','_tryEnsureSocket','patch','_collaborationUIEventService','_roomMembers','awaiting','_snapshotServerService','awaiting_with_pending','liveShareNewHost','roles','now','_DEC_XFORM_MODE','fetch_missing','appendMutation','batchAllowed','LICENSE_EXPORT_SIZE_EXCEEDED','MUTATION','_sendHeartbeat','_change$','_removeRoom','objectActions','reset','_substituteUndoStack','_initDependencies','execute','localeService','sendChangesetTimeout','?url=','allowed','subUnitId','stopTime','_clearScheduledTask','kdf','OFFLINE','PENDING','_registerDependencies','length','indexOf','_httpService','message$','pluginName','telemetry\x20info\x20is\x20not\x20initialized','authzUrl','_logService','_doFinalize','format','onTransformSelections','getSnapshotAPIPath','_onUserJoin','headers','BASE64','x-univer-host','HEARTBEAT_INTERVAL','salt','UNISCRIPT_RUN','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fromCollab','session.room-full','onRemoteChangeset','pending','ivSize','byteLength','PERMISSION_REJ','values','YUUMI_RATE_OVER_LIMIT','addHandlerCallback','SOCKET_FAILED','_status$','decrypt','_onCombEvent','changesets','_collaborationTimeoutTimer','SUBMIT_CHANGESET','getUnit','HEARTBEAT','_showConflictNotification','liveShareOperation','_mode','UNIVER_COLLABORATION_CLIENT_PLUGIN','_syncEditingCollabCursor','HmacSHA1','collaMsg','map','UNRECOGNIZED','createEncryptor','responseType','EvpKDF','toggleOnline','_cipher','\x0aAfter:\x20','clearUndoRedo','_awaitingChangeset','_doReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','pipe','PSEUDO_FETCH_MISSING_RESULT','HEARTBEAT_TIMEOUT','formatter','People','resolve','_undoRedoService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','?size=','socket$','ciphertext','splice','_schedule','sessionStatus$','transformSelections','getUnitType','_doCryptBlock','USERS_ENTER','_sendHeartbeatTimer','LICENSE_DISTRO_REJECTED','/allowed','SelectRange','_onUserLeave','_oKey','INTERNAL_ERROR','default','eventID','close','sessionStatus','next','uploadFileServerUrl','_unitInfo$','parse','location','_instanceService','msCrypto','clear','sid','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_doProcessBlock','_onRecvEvent','_parse','getTargetByPermissionId','_clearCollaborationTimeoutTimer','_handler','byteOffset','awaitingChangeset','_changesetSessionId','_initCloseConn','cmd','_eventService','code','JOIN_ROOM_FAILED','getTypeOfUnitDisposed$','_executeRemoteChangeset','startsWith','LIVESHARE_TERMINATE','change$','update','INGEST','createInstance','_getCtorByUniverType','collaborators','charAt','roomInfos','includes','loadOfflineData','action','COMPLETION_FINISHED','_clearHeartbeatTimer','CONNECTOR_DATA_TOO_LARGE','concat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCurrentUnitForType','getUnitId','_exhaustRemoteChangesetQueue','enc','sessionTicket','_transformStateCache','getMemberID','_userManagerService','dispose$'];_0x4544=function(){return _0x33b2f8;};return _0x4544();}function zn(_0x54b409){var _0x2306aa=_0x2a3857,_0x43c06b,_0xbad0dc,_0x50a7a3,_0x3c74e7,_0x70138e;const _0x4c0a63=_0x54b409[_0x2306aa(0x13b)],_0x4d46bf=JSON[_0x2306aa(0x389)](_0x4c0a63);switch(_0x4d46bf[_0x2306aa(0x39b)]){case F[_0x2306aa(0x354)]:case F[_0x2306aa(0x121)]:{const _0x45f629=_0x4d46bf[_0x2306aa(0x1d3)];return{..._0x4d46bf,'data':_0x45f629,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F['JOIN']:{const _0x30c4a4=_0x4d46bf[_0x2306aa(0x3f1)];return{..._0x4d46bf,'data':_0x30c4a4,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F[_0x2306aa(0x173)]:{const _0x2d7110=_0x4d46bf[_0x2306aa(0x35b)];switch(_0x2d7110[_0x2306aa(0x383)]){case _0x562849[_0x2306aa(0x348)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x43c06b=_0x2d7110['permissionRejEvent'])==null?void 0x0:_0x43c06b['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x16c)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0xbad0dc=_0x2d7110[_0x2306aa(0x2c8)])==null?void 0x0:_0xbad0dc['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x174)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x50a7a3=_0x2d7110[_0x2306aa(0x3da)])==null?void 0x0:_0x50a7a3['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x1d1)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x3c74e7=_0x2d7110[_0x2306aa(0x3f2)])==null?void 0x0:_0x3c74e7['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3c3)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x70138e=_0x2d7110[_0x2306aa(0x1f5)])==null?void 0x0:_0x70138e['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x297)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x3d4)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x37a)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x245)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x212)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2e6)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849['LIVESHARE_NEW_HOST']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110['liveShareNewHost']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x153)]:case _0x562849[_0x2306aa(0x2d8)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x356)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3a2)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x312)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x2b5)]:return{..._0x4d46bf,'data':_0x2d7110,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x244)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25b)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x183)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x272)]},'cmd':_0x4d46bf['cmd']};case _0x562849['SHOULD_CLOSE_CONN']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25c)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x340)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2b3)]},'cmd':_0x4d46bf['cmd']};default:return _0x4d46bf;}}default:return _0x4d46bf;}}function Yn(_0x50eef4){var _0x1a0147=_0x2a3857;switch(_0x50eef4['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)]});case F[_0x1a0147(0x3a5)]:{let _0x4fd299;switch(_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]){case _0x562849[_0x1a0147(0x297)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x297)],'updateCursorEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x212)]:{_0x4fd299={'eventID':_0x562849['USERS_LEAVE'],'leaveEvent':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x37a)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x37a)],'joinEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x243)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x50eef4[_0x1a0147(0x13b)]['data']};break;}case _0x562849[_0x1a0147(0x2d8)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x2d8)],'liveShareOperation':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x3a2)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x3a2)],'liveShareTerminate':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x252)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x153)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x153)]};break;}default:_0x4fd299={'eventID':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]};}return JSON['stringify']({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'collaMsg':_0x4fd299});}case F['JOIN']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'joinReq':_0x50eef4['data']});case F[_0x1a0147(0x18f)]:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)],'leaveReq':_0x50eef4[_0x1a0147(0x13b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qn=Object[_0x2a3857(0x239)],Jn=Object[_0x2a3857(0x1e9)],Xn=(_0x462080,_0x239000,_0x564636,_0x7355fe)=>{var _0x571a0f=_0x2a3857;for(var _0x4f172c=_0x7355fe>0x1?void 0x0:_0x7355fe?Jn(_0x239000,_0x564636):_0x239000,_0x3f86f7=_0x462080[_0x571a0f(0x32e)]-0x1,_0x492ac7;_0x3f86f7>=0x0;_0x3f86f7--)(_0x492ac7=_0x462080[_0x3f86f7])&&(_0x4f172c=(_0x7355fe?_0x492ac7(_0x239000,_0x564636,_0x4f172c):_0x492ac7(_0x4f172c))||_0x4f172c);return _0x7355fe&&_0x4f172c&&qn(_0x239000,_0x564636,_0x4f172c),_0x4f172c;},Ue=(_0xb483a7,_0x53418c)=>(_0x330990,_0xd2a3f6)=>_0x53418c(_0x330990,_0xd2a3f6,_0xb483a7);const Ri=_0x357b15(_0x2a3857(0x2ed));function Zn(_0x5e7e90,_0x4694ff,_0x528fa5){var _0x8614bc=_0x2a3857;return _0x5e7e90+'/'+_0x4694ff+_0x8614bc(0x3e1)+_0x528fa5+_0x8614bc(0x3e0);}let It=class extends _0x2e140f{constructor(_0x34c77d,_0x2e2a60,_0x5e96c0,_0xeff302,_0x24ddcf){var _0x5cd11d=_0x2a3857;super(),this['_injector']=_0x34c77d,this[_0x5cd11d(0x420)]=_0x2e2a60,this['_configService']=_0x5e96c0,this[_0x5cd11d(0x335)]=_0xeff302,this['_snapshotServerService']=_0x24ddcf;}[_0x2a3857(0x285)](_0x45e7f2){var _0x3f19dd=_0x2a3857;const _0x2ba3a2=this[_0x3f19dd(0x158)][_0x3f19dd(0x21d)](_0x4f6f60);if(!_0x2ba3a2)throw new Error(_0x3f19dd(0x3ce));const _0x1f042c=_0x2ba3a2[_0x3f19dd(0x285)](_0x45e7f2);if(!_0x1f042c)throw new Error(_0x3f19dd(0x1cf));const _0x41a4bb=new _0x595a80(),_0x2497da=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x2f5)][_0x3f19dd(0x2cb)](_0x599d62=>_0x2497da[_0x3f19dd(0x386)](_0x599d62))),_0x41a4bb['add'](_0x30af1d(()=>_0x2497da[_0x3f19dd(0x25a)]()));const _0x25e5bd=new _0x282fa7();_0x41a4bb['add'](_0x1f042c['error$'][_0x3f19dd(0x2cb)](_0x344837=>_0x25e5bd[_0x3f19dd(0x386)](_0x344837))),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x25e5bd[_0x3f19dd(0x25a)]()));const _0x276312=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x331)]['subscribe'](_0x3166f6=>{var _0x2cb05e=_0x3f19dd;const _0x14d4ba=zn(_0x3166f6);_0x276312[_0x2cb05e(0x386)](_0x14d4ba);})),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x276312[_0x3f19dd(0x25a)]()));let _0x42da93;const _0x119b2f=()=>{var _0xf80e04=_0x3f19dd;_0x25e5bd['next'](new Event(_0xf80e04(0x204))),_0x2497da[_0xf80e04(0x386)](new CloseEvent(_0xf80e04(0x204))),_0x42da93['close']();};return _0x42da93={'memberID':'','close$':_0x2497da['asObservable'](),'error$':_0x25e5bd[_0x3f19dd(0x2e0)](),'open$':_0x1f042c[_0x3f19dd(0x20d)],'message$':_0x276312[_0x3f19dd(0x2e0)](),'send':_0x5aab5a=>{var _0x27b48a=_0x3f19dd;if(_0x5aab5a['cmd']===F[_0x27b48a(0x3a5)]){if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x352)]){this['_submitChangeset'](_0x42da93,_0x5aab5a[_0x27b48a(0x13b)])[_0x27b48a(0x1f7)](_0x58b59f=>{var _0x463f0b=_0x27b48a;this[_0x463f0b(0x335)]['error'](_0x58b59f),_0x119b2f();});return;}if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x1e7)]){const _0x3c7622=_0x5aab5a[_0x27b48a(0x13b)];this[_0x27b48a(0x267)](_0x3c7622)[_0x27b48a(0x192)](_0x154985=>{var _0x313199=_0x27b48a;_0x276312[_0x313199(0x386)]({'cmd':F[_0x313199(0x173)],'code':Ee['OK'],'routeKey':_0x3c7622[_0x313199(0x13b)][_0x313199(0x12e)],'routeType':'','data':{'eventID':_0x562849[_0x313199(0x36a)],'data':{'changesets':_0x154985}}});})[_0x27b48a(0x1f7)](_0x57a7a0=>{var _0x447cf6=_0x27b48a;this[_0x447cf6(0x335)][_0x447cf6(0x119)](_0x57a7a0),_0x119b2f();});return;}}_0x1f042c[_0x27b48a(0x19f)](Yn(_0x5aab5a));},'close':()=>{var _0x38c328=_0x3f19dd;_0x1f042c[_0x38c328(0x384)](),_0x41a4bb[_0x38c328(0x3d7)]();}},_0x42da93;}async[_0x2a3857(0x3c9)](_0x18f12f,_0x29e2db){var _0x3ba5e4=_0x2a3857,_0x5a3691,_0x2fbadd;const {unitType:_0x58699f,unitID:_0x25e95e,changeset:_0x393dfc}=_0x29e2db[_0x3ba5e4(0x13b)],_0x1ebdbc={'unitID':_0x25e95e,'memberID':_0x18f12f['memberID'],'type':_0x58699f,'changeset':_0x1a5c1c(_0x393dfc)},_0x3dcdb1=this[_0x3ba5e4(0x205)]['getConfig'](Fn),_0x498141=this[_0x3ba5e4(0x205)][_0x3ba5e4(0x122)](Y),_0x5b486d=Zn((_0x2fbadd=(_0x5a3691=_0x498141==null?void 0x0:_0x498141[_0x3ba5e4(0x403)])!=null?_0x5a3691:_0x3dcdb1)!=null?_0x2fbadd:Vn,_0x58699f,_0x25e95e);try{await this[_0x3ba5e4(0x420)]['post'](_0x5b486d,{'body':_0x1ebdbc});}catch(_0x274dee){throw this[_0x3ba5e4(0x335)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x274dee;}}async[_0x2a3857(0x267)](_0x4b6d3b){var _0x79cc2=_0x2a3857;const {unitID:_0x478498,from:_0x23fe1f,to:_0x43c644,unitType:_0x23d12a}=_0x4b6d3b[_0x79cc2(0x13b)];return(await this[_0x79cc2(0x310)][_0x79cc2(0x1e2)]({'metadata':void 0x0},{'unitID':_0x478498,'type':_0x23d12a,'from':_0x23fe1f,'to':_0x43c644}))[_0x79cc2(0x350)];}};It=Xn([Ue(0x0,_0x21b3b2(_0x548366)),Ue(0x1,_0x21b3b2(_0x4fa095)),Ue(0x2,_0x24bebb),Ue(0x3,_0x4e1c8f),Ue(0x4,_0x2b19c8)],It);const Qn=_0x2a3857(0x1be);function es(_0x4b8df7){var _0x56a0a8=_0x2a3857;return JSON[_0x56a0a8(0x178)](_0x4b8df7)['length'];}class yi{constructor(){var _0x4769a9=_0x2a3857;P(this,'_commentUpdate$',new _0x282fa7()),P(this,_0x4769a9(0x1c7),this[_0x4769a9(0x224)]['asObservable']());}[_0x2a3857(0x222)](_0x4d9366){var _0x2b1b67=_0x2a3857;this[_0x2b1b67(0x224)]['next'](_0x4d9366);}}var ts=Object[_0x2a3857(0x239)],is=Object[_0x2a3857(0x1e9)],ns=(_0x4727ce,_0x21bda0,_0xb320eb,_0x30f8c6)=>{var _0x30ffa9=_0x2a3857;for(var _0x58cd7b=_0x30f8c6>0x1?void 0x0:_0x30f8c6?is(_0x21bda0,_0xb320eb):_0x21bda0,_0x50b548=_0x4727ce[_0x30ffa9(0x32e)]-0x1,_0x4e901c;_0x50b548>=0x0;_0x50b548--)(_0x4e901c=_0x4727ce[_0x50b548])&&(_0x58cd7b=(_0x30f8c6?_0x4e901c(_0x21bda0,_0xb320eb,_0x58cd7b):_0x4e901c(_0x58cd7b))||_0x58cd7b);return _0x30f8c6&&_0x58cd7b&&ts(_0x21bda0,_0xb320eb,_0x58cd7b),_0x58cd7b;},Yt=(_0x1bffd3,_0x1e8ff8)=>(_0xc03f96,_0x1813bc)=>_0x1e8ff8(_0xc03f96,_0x1813bc,_0x1bffd3);let xe=class extends _0x2e140f{constructor(_0x584a39,_0x3c86fc){var _0x5047e0=_0x2a3857;super(),P(this,_0x5047e0(0x30e),new Map()),P(this,_0x5047e0(0x2de),new _0x282fa7()),(this[_0x5047e0(0x3cd)]=_0x584a39,this[_0x5047e0(0x3ba)]=_0x3c86fc,this[_0x5047e0(0x1c1)](_0xc9cdeb(this['_univerInstanceService'][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x292)])[_0x5047e0(0x369)](_0x4bf464(_0x41bb28=>_0x41bb28[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07['UNIVER_DOC'])[_0x5047e0(0x369)](_0x4bf464(_0x46df92=>_0x46df92[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x203)])[_0x5047e0(0x369)](_0x4bf464(_0x4ece78=>_0x4ece78['getUnitId']())))[_0x5047e0(0x2cb)](_0x1d62f1=>this[_0x5047e0(0x31d)](_0x1d62f1))));}['waitForRoom$'](_0xbda519){var _0x1a7081=_0x2a3857;return this[_0x1a7081(0x30e)][_0x1a7081(0x40d)](_0xbda519)?_0x59284b(this[_0x1a7081(0x30e)][_0x1a7081(0x21d)](_0xbda519)):this[_0x1a7081(0x2de)][_0x1a7081(0x369)](_0x4bf464(_0x1e8d69=>{if(_0x1e8d69===_0xbda519)return this['_roomMembers']['get'](_0x1e8d69);}));}[_0x2a3857(0x404)](_0x15a74b){var _0x5a29d7=_0x2a3857;this[_0x5a29d7(0x3ba)][_0x5a29d7(0x404)](_0x15a74b);}[_0x2a3857(0x3ed)](){var _0x5df71a=_0x2a3857;return this[_0x5df71a(0x3ba)]['getCurrentUser']();}[_0x2a3857(0x211)](_0x5e5c51,_0x22739a){var _0x56311d=_0x2a3857;let _0x5b7c85=this[_0x56311d(0x30e)][_0x56311d(0x21d)](_0x5e5c51);_0x5b7c85||(_0x5b7c85=new ss(),this[_0x56311d(0x30e)][_0x56311d(0x3d2)](_0x5e5c51,_0x5b7c85),this[_0x56311d(0x2de)][_0x56311d(0x386)](_0x5e5c51)),_0x5b7c85[_0x56311d(0x211)](_0x22739a);}[_0x2a3857(0x16b)](_0x2ba221,_0x2def9e){var _0x3c5207=_0x2a3857;const _0x97ac18=this[_0x3c5207(0x30e)][_0x3c5207(0x21d)](_0x2ba221);_0x97ac18&&_0x97ac18[_0x3c5207(0x16b)](_0x2def9e);}['getRoom'](_0x19b4e4){var _0x11dcf9=_0x2a3857;return this[_0x11dcf9(0x30e)][_0x11dcf9(0x21d)](_0x19b4e4);}['getMember'](_0x40818b,_0x3368b3){var _0x3135dd=_0x2a3857;const _0x50793e=this[_0x3135dd(0x30e)]['get'](_0x40818b);if(_0x50793e)return _0x50793e['getMember'](_0x3368b3);}[_0x2a3857(0x31d)](_0x2b475a){var _0x1fb477=_0x2a3857;const _0x3420e2=this[_0x1fb477(0x30e)]['get'](_0x2b475a);_0x3420e2&&(_0x3420e2[_0x1fb477(0x3d7)](),this[_0x1fb477(0x30e)][_0x1fb477(0x1a7)](_0x2b475a));}[_0x2a3857(0x3d7)](){var _0xe1aa59=_0x2a3857;this[_0xe1aa59(0x30e)][_0xe1aa59(0x168)](_0x54c45f=>_0x54c45f[_0xe1aa59(0x3d7)]()),this['_roomMembers'][_0xe1aa59(0x38d)](),this[_0xe1aa59(0x2de)][_0xe1aa59(0x25a)]();}};xe=ns([Yt(0x0,_0x40e127),Yt(0x1,_0x21b3b2(_0xba64f5))],xe);class ss extends _0x2e140f{constructor(){var _0x2e226b=_0x2a3857;super(...arguments),P(this,'_members',new Map()),P(this,_0x2e226b(0x23d),new _0x500ff8(this[_0x2e226b(0x40a)])),P(this,_0x2e226b(0x299),this[_0x2e226b(0x23d)][_0x2e226b(0x2e0)]());}['dispose'](){var _0x49ac11=_0x2a3857;this[_0x49ac11(0x40a)][_0x49ac11(0x38d)]();}[_0x2a3857(0x211)](_0x4cc9ab){var _0x44b478=_0x2a3857;this[_0x44b478(0x40a)][_0x44b478(0x3d2)](_0x4cc9ab[_0x44b478(0x194)],_0x4cc9ab),this[_0x44b478(0x18c)]();}[_0x2a3857(0x16b)](_0x1ee413){var _0x2dbc04=_0x2a3857;this['_members'][_0x2dbc04(0x1a7)](_0x1ee413);}[_0x2a3857(0x1a4)](_0x570fdb){var _0x2e4a24=_0x2a3857;return this[_0x2e4a24(0x40a)][_0x2e4a24(0x21d)](_0x570fdb);}[_0x2a3857(0x218)](){var _0x10912b=_0x2a3857;return Array[_0x10912b(0x2a6)](this['_members'][_0x10912b(0x349)]());}[_0x2a3857(0x18c)](){var _0x5ee34b=_0x2a3857;this[_0x5ee34b(0x23d)][_0x5ee34b(0x386)](this[_0x5ee34b(0x40a)]);}}var rs=Object[_0x2a3857(0x239)],os=Object['getOwnPropertyDescriptor'],as=(_0x10b3ec,_0x29d212,_0x2857bb,_0x537e4d)=>{var _0x522f0c=_0x2a3857;for(var _0x265df0=_0x537e4d>0x1?void 0x0:_0x537e4d?os(_0x29d212,_0x2857bb):_0x29d212,_0x1de079=_0x10b3ec[_0x522f0c(0x32e)]-0x1,_0x512f5c;_0x1de079>=0x0;_0x1de079--)(_0x512f5c=_0x10b3ec[_0x1de079])&&(_0x265df0=(_0x537e4d?_0x512f5c(_0x29d212,_0x2857bb,_0x265df0):_0x512f5c(_0x265df0))||_0x265df0);return _0x537e4d&&_0x265df0&&rs(_0x29d212,_0x2857bb,_0x265df0),_0x265df0;},me=(_0x26f453,_0x329791)=>(_0x3dd337,_0x40d714)=>_0x329791(_0x3dd337,_0x40d714,_0x26f453),Te=(_0x4e109d=>(_0x4e109d[_0x4e109d[_0x2a3857(0x40e)]=0x0]='IDLE',_0x4e109d[_0x4e109d[_0x2a3857(0x147)]=0x1]='JOINING',_0x4e109d[_0x4e109d[_0x2a3857(0x32b)]=0x2]=_0x2a3857(0x32b),_0x4e109d[_0x4e109d['ONLINE']=0x3]='ONLINE',_0x4e109d))(Te||{});const qt={[Ee[_0x2a3857(0x296)]]:_0x2a3857(0x30a),[Ee[_0x2a3857(0x20c)]]:_0x2a3857(0x343),[Ee[_0x2a3857(0x1af)]]:'session.room-not-exists',[Ee[_0x2a3857(0x12f)]]:_0x2a3857(0x14b),[Ee[_0x2a3857(0x16a)]]:_0x2a3857(0x1b8)};let Tt=class extends _0x3f0249{constructor(_0x280b69,_0xaf430f,_0x56efa7,_0x304da6,_0x2706f9,_0x828c22,_0x5322c3,_0x452c64,_0x2d17d0){var _0x2dfde3=_0x2a3857;super(),P(this,'_sessionStatus$',new _0x500ff8(0x0)),P(this,_0x2dfde3(0x376),this[_0x2dfde3(0x16f)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x3e6),new _0x282fa7()),P(this,_0x2dfde3(0x2a9),this[_0x2dfde3(0x3e6)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x14d)),P(this,_0x2dfde3(0x23f)),P(this,_0x2dfde3(0x351)),P(this,_0x2dfde3(0x125),!0x1),P(this,_0x2dfde3(0x27b),null),(this[_0x2dfde3(0x163)]=_0x280b69,this[_0x2dfde3(0x335)]=_0x56efa7,this[_0x2dfde3(0x205)]=_0x304da6,this[_0x2dfde3(0x1ad)]=_0x2706f9,this[_0x2dfde3(0x185)]=_0x828c22,this[_0x2dfde3(0x1f2)]=_0x5322c3,this['_collaborationUIEventService']=_0x452c64,this['_telemetryService']=_0x2d17d0,this[_0x2dfde3(0x125)]=!!this[_0x2dfde3(0x2c4)],_0xaf430f['pipe'](_0x49b26f(this['dispose$']))['subscribe'](_0xda58fb=>{var _0x3b34c0=_0x2dfde3,_0x328a1d;typeof _0xda58fb>'u'||(this['_socket']=_0xda58fb,_0xda58fb?(this[_0x3b34c0(0x1b7)](_0xda58fb),this['_socketMessageSubscription']=_0xda58fb[_0x3b34c0(0x331)][_0x3b34c0(0x2cb)](_0x50658f=>{var _0x34a339=_0x3b34c0;_0x50658f[_0x34a339(0x2ca)]===this[_0x34a339(0x163)]&&this[_0x34a339(0x34f)](_0x50658f);})):(this[_0x3b34c0(0x132)](),this[_0x3b34c0(0x16f)][_0x3b34c0(0x386)](0x2),(_0x328a1d=this[_0x3b34c0(0x23f)])==null||_0x328a1d[_0x3b34c0(0x3fd)](),this[_0x3b34c0(0x23f)]=null));}));}get['sessionStatus'](){var _0x50c6b7=_0x2a3857;return this[_0x50c6b7(0x16f)][_0x50c6b7(0x274)]();}[_0x2a3857(0x3b9)](){var _0x1d0eb4=_0x2a3857,_0x5275df,_0x3fb6f5;return(_0x3fb6f5=(_0x5275df=this[_0x1d0eb4(0x14d)])==null?void 0x0:_0x5275df[_0x1d0eb4(0x194)])!=null?_0x3fb6f5:null;}[_0x2a3857(0x3d7)](){var _0x10a704=_0x2a3857;super[_0x10a704(0x3d7)](),this[_0x10a704(0x3bb)][_0x10a704(0x386)](),this[_0x10a704(0x3bb)][_0x10a704(0x25a)]();}[_0x2a3857(0x384)](){var _0x1996fc=_0x2a3857,_0x3c7ce8,_0x16f2c0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3c7ce8=this[_0x1996fc(0x14d)])==null||_0x3c7ce8['send']({'cmd':F[_0x1996fc(0x18f)],'data':{'roomID':this['_unitID']}}),(_0x16f2c0=this[_0x1996fc(0x14d)])==null||_0x16f2c0[_0x1996fc(0x384)](),this['_event$']['complete'](),this[_0x1996fc(0x16f)][_0x1996fc(0x25a)](),this['dispose']();}[_0x2a3857(0x34f)](_0x157a78){var _0x56c9ce=_0x2a3857;_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x149)]?this[_0x56c9ce(0x1b6)](_0x157a78):_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x173)]&&this[_0x56c9ce(0x392)](_0x157a78);}['_joinRoom'](_0x887e6e){var _0x2d936a=_0x2a3857;this['_sessionStatus$'][_0x2d936a(0x386)](0x1),_0x887e6e[_0x2d936a(0x19f)]({'cmd':F[_0x2d936a(0x149)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d936a(0x163)]}]}});}[_0x2a3857(0x1b6)](_0x1207d5){var _0x22ec97=_0x2a3857,_0x24de29;if(_0x1207d5[_0x22ec97(0x39d)]in qt){this['_collaborationUIEventService'][_0x22ec97(0x3db)]({'id':re[_0x22ec97(0x39e)],'data':qt[_0x1207d5[_0x22ec97(0x39d)]]}),this[_0x22ec97(0x16f)][_0x22ec97(0x386)](0x2);return;}this[_0x22ec97(0x16f)]['next'](0x3);const _0x35d2b2=(_0x24de29=_0x1207d5[_0x22ec97(0x13b)][_0x22ec97(0x3aa)][this[_0x22ec97(0x163)]])==null?void 0x0:_0x24de29[_0x22ec97(0x221)];_0x35d2b2&&_0x35d2b2['forEach'](_0x493376=>this[_0x22ec97(0x185)][_0x22ec97(0x211)](this['_unitID'],_0x493376));}[_0x2a3857(0x392)](_0x5ed69d){var _0x44643c=_0x2a3857;try{const _0x432a02=_0x5ed69d[_0x44643c(0x13b)];switch(_0x432a02[_0x44643c(0x383)]){case _0x562849['USERS_ENTER']:this[_0x44643c(0x33a)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x212)]:this[_0x44643c(0x37f)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x16c)]:case _0x562849['CHANGESET_SHOULD_RETRY']:this[_0x44643c(0x208)](),this[_0x44643c(0x395)](),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x2b5)]:this[_0x44643c(0x335)][_0x44643c(0x119)](_0x44643c(0x19c)+JSON[_0x44643c(0x178)](_0x432a02)),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x244)]:this[_0x44643c(0x1f2)]['onCommentUpdate'](_0x432a02[_0x44643c(0x13b)]),this[_0x44643c(0x3e6)]['next'](_0x432a02);break;default:this[_0x44643c(0x3e6)]['next'](_0x432a02);}}catch(_0xcc168d){this['_logService']['error'](_0xcc168d,_0x5ed69d);}}['_onUserJoin'](_0x67e2f0){var _0x241d76=_0x2a3857;this[_0x241d76(0x185)][_0x241d76(0x211)](this[_0x241d76(0x163)],_0x67e2f0['data']);}[_0x2a3857(0x37f)](_0x5b0171){var _0x322503=_0x2a3857;this[_0x322503(0x185)][_0x322503(0x16b)](this['_unitID'],_0x5b0171[_0x322503(0x13b)][_0x322503(0x194)]);}async[_0x2a3857(0x19f)](_0x2581dc,_0x5842ac){var _0x16c857=_0x2a3857;if(this[_0x16c857(0x385)]!==0x3||!this[_0x16c857(0x14d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2581dc[_0x16c857(0x383)]===_0x562849[_0x16c857(0x352)]&&(this[_0x16c857(0x2fd)](),this[_0x16c857(0x2f1)](_0x2581dc)),this[_0x16c857(0x14d)][_0x16c857(0x19f)]({'cmd':F['INGEST'],'routeKey':_0x5842ac,'routeType':'','data':_0x2581dc});}catch(_0x372c81){this[_0x16c857(0x335)][_0x16c857(0x119)](_0x372c81);}}[_0x2a3857(0x2fd)](){var _0x57fded=_0x2a3857,_0x2615c5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x79adbe=_0x5b8f;this[_0x79adbe(0x351)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x79adbe(0x124)]});},(_0x2615c5=this[_0x57fded(0x205)][_0x57fded(0x122)](Ii))!=null?_0x2615c5:Ti);}[_0x2a3857(0x395)](){var _0x3e8b5f=_0x2a3857;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3e8b5f(0x351)]),this[_0x3e8b5f(0x351)]=null);}[_0x2a3857(0x2f1)](_0x15e310){var _0x55c0c4=_0x2a3857;if(!this[_0x55c0c4(0x125)])return;const {data:_0x1c7039}=_0x15e310,{unitID:_0x1d5cc4,changeset:_0x3c8d33}=_0x1c7039,{mutations:_0xc9fe2f,type:_0x306498}=_0x3c8d33;this['_telemetryInfo']={'unitId':_0x1d5cc4,'type':_0x306498,'startTime':performance[_0x55c0c4(0x314)](),'stopTime':0x0,'duration':0x0,'size':es(_0xc9fe2f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1eff34=_0x2a3857;if(this[_0x1eff34(0x125)]){if(!this[_0x1eff34(0x27b)]){this['_logService']['error'](_0x1eff34(0x2af),_0x1eff34(0x333));return;}this['_telemetryInfo']['stopTime']=performance[_0x1eff34(0x314)](),this[_0x1eff34(0x27b)]['duration']=this[_0x1eff34(0x27b)][_0x1eff34(0x328)]-this[_0x1eff34(0x27b)][_0x1eff34(0x213)],this[_0x1eff34(0x2c4)][_0x1eff34(0x3dd)](Qn,this[_0x1eff34(0x27b)]),this[_0x1eff34(0x27b)]=null;}}[_0x2a3857(0x132)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x4e1c8f),me(0x3,_0x24bebb),me(0x4,_0x21b3b2(_0x551f00)),me(0x5,_0x21b3b2(xe)),me(0x6,_0x21b3b2(yi)),me(0x7,_0x21b3b2(pe)),me(0x8,_0x10c77b(_0xad6476))],Tt);var cs=Object[_0x2a3857(0x239)],hs=Object[_0x2a3857(0x1e9)],_s=(_0x1b3dd4,_0x139b54,_0x3cfd2f,_0x56f866)=>{for(var _0x30fabf=_0x56f866>0x1?void 0x0:_0x56f866?hs(_0x139b54,_0x3cfd2f):_0x139b54,_0x273b6a=_0x1b3dd4['length']-0x1,_0x3ce676;_0x273b6a>=0x0;_0x273b6a--)(_0x3ce676=_0x1b3dd4[_0x273b6a])&&(_0x30fabf=(_0x56f866?_0x3ce676(_0x139b54,_0x3cfd2f,_0x30fabf):_0x3ce676(_0x30fabf))||_0x30fabf);return _0x56f866&&_0x30fabf&&cs(_0x139b54,_0x3cfd2f,_0x30fabf),_0x30fabf;},ge=(_0x2d2e52,_0x56fdb2)=>(_0x22655b,_0x2f9193)=>_0x56fdb2(_0x22655b,_0x2f9193,_0x2d2e52);let Le=class extends _0x2e140f{constructor(_0x2c5992,_0x2596f1,_0x37954f,_0xf86b0d,_0x1f040d,_0x13bf73,_0x1e0aef){var _0x4a6950=_0x2a3857;super(),P(this,_0x4a6950(0x287),new _0x500ff8(void 0x0)),P(this,_0x4a6950(0x372),this['_socket$'][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x193),null),P(this,_0x4a6950(0x405),new Map()),P(this,_0x4a6950(0x34d),new _0x500ff8(Te[_0x4a6950(0x40e)])),P(this,_0x4a6950(0x258),this[_0x4a6950(0x34d)][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x17f),!0x1),P(this,'_retryConnectingTimer'),P(this,'_retryCount',0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x4a6950(0x246)),(this[_0x4a6950(0x158)]=_0x2c5992,this['_logService']=_0x2596f1,this[_0x4a6950(0x205)]=_0x37954f,this[_0x4a6950(0x1b5)]=_0xf86b0d,this[_0x4a6950(0x330)]=_0x1f040d,this[_0x4a6950(0x30d)]=_0x13bf73,this[_0x4a6950(0x118)]=_0x1e0aef,this['_listenToNetworkCondition']());}get[_0x2a3857(0x14d)](){var _0x1ff060=_0x2a3857;return this[_0x1ff060(0x287)][_0x1ff060(0x274)]();}['_listenToNetworkCondition'](){var _0x4b0253=_0x2a3857;this['_networkConditionService']&&this[_0x4b0253(0x1c1)](this[_0x4b0253(0x118)]['online$'][_0x4b0253(0x2cb)](_0x2e54c5=>{var _0x4c42a7=_0x4b0253;_0x2e54c5&&!this['_socket']&&this['reconnect'](),_0x2e54c5||this[_0x4c42a7(0x41a)]();}));}[_0x2a3857(0x3d7)](){var _0x5d0ad0=_0x2a3857;super['dispose'](),this['_sessions'][_0x5d0ad0(0x168)](_0x233b99=>_0x233b99[_0x5d0ad0(0x3d7)]()),this['_sessions'][_0x5d0ad0(0x38d)](),this[_0x5d0ad0(0x34d)]['complete']();}async[_0x2a3857(0x411)](_0x1bf5fd){var _0x29044a=_0x2a3857;if(this[_0x29044a(0x405)][_0x29044a(0x40d)](_0x1bf5fd))return this[_0x29044a(0x405)][_0x29044a(0x21d)](_0x1bf5fd);this[_0x29044a(0x30b)]();const _0x589d97=this['_injector'][_0x29044a(0x3a6)](Tt,_0x1bf5fd,this[_0x29044a(0x287)][_0x29044a(0x2e0)]());return this['_sessions'][_0x29044a(0x3d2)](_0x1bf5fd,_0x589d97),_0x589d97;}[_0x2a3857(0x2b8)](_0x535c22){var _0x3180aa=_0x2a3857,_0x350485;const _0x5d9182=this[_0x3180aa(0x405)][_0x3180aa(0x21d)](_0x535c22);_0x5d9182&&(this[_0x3180aa(0x405)]['delete'](_0x535c22),_0x5d9182[_0x3180aa(0x384)]()),this[_0x3180aa(0x405)][_0x3180aa(0x280)]||(_0x350485=this[_0x3180aa(0x14d)])==null||_0x350485[_0x3180aa(0x384)]();}['reconnect'](){var _0x567ce6=_0x2a3857;this['_retryCount']=0x0,this[_0x567ce6(0x228)]!=null&&(clearTimeout(this[_0x567ce6(0x228)]),this['_retryConnectingTimer']=null),this[_0x567ce6(0x14f)]();}async[_0x2a3857(0x3d1)](){var _0x26f6be=_0x2a3857,_0x103d9c,_0x4c2c66,_0x4ced32;const _0x45b512=this[_0x26f6be(0x205)][_0x26f6be(0x122)](Y),_0xbae890=(_0x103d9c=_0x45b512==null?void 0x0:_0x45b512[_0x26f6be(0x25f)])!=null?_0x103d9c:Mn;return(_0x4ced32=(_0x4c2c66=(await this[_0x26f6be(0x330)][_0x26f6be(0x21d)](_0xbae890,{'headers':{'Content-Type':'application/json'}}))[_0x26f6be(0x1a1)])==null?void 0x0:_0x4c2c66['ticket'])!=null?_0x4ced32:'';}['_createSocketURL'](_0x209d1e){var _0x3d92ff=_0x2a3857,_0x47bf36,_0x5ca9f2;const _0x3991c5=this['_configService'][_0x3d92ff(0x122)](xn),_0x3d865a=this[_0x3d92ff(0x205)][_0x3d92ff(0x122)](Y),_0x25f64c=(_0x5ca9f2=(_0x47bf36=_0x3d865a==null?void 0x0:_0x3d865a['collabWebSocketUrl'])!=null?_0x47bf36:_0x3991c5)!=null?_0x5ca9f2:Ln,_0x115280=typeof window>'u'?new URL(_0x25f64c):new URL(_0x25f64c,window['location']['origin']);_0x115280[_0x3d92ff(0x236)][_0x3d92ff(0x3d2)](_0x3d92ff(0x3b7),_0x209d1e);const _0x180a74=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d92ff(0x38a)][_0x3d92ff(0x24d)]);return _0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))&&_0x115280['searchParams'][_0x3d92ff(0x3d2)](_0x3d92ff(0x214),_0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))),_0x115280['toString']();}async[_0x2a3857(0x2ac)](){var _0x1dfcb7=_0x2a3857;const _0x2fea7a=await this[_0x1dfcb7(0x3d1)](),_0x2499f3=this[_0x1dfcb7(0x2ba)](_0x2fea7a),_0x9ef8ef=this[_0x1dfcb7(0x1b5)]['createSocket'](_0x2499f3);return this[_0x1dfcb7(0x193)]=_0x9ef8ef,_0x9ef8ef;}async['_tryEnsureSocket'](){var _0x5590b9=_0x2a3857,_0x5aaef6,_0x4c4219;try{const _0x54ecbe=(_0x4c4219=(_0x5aaef6=this[_0x5590b9(0x14d)])!=null?_0x5aaef6:this[_0x5590b9(0x193)])!=null?_0x4c4219:await this['_createSocket']();if(_0x54ecbe){const _0x2dfd44=_0x54ecbe['send'];_0x54ecbe[_0x5590b9(0x19f)]=_0x3d9e68=>(this[_0x5590b9(0x12b)](),_0x2dfd44[_0x5590b9(0x2d3)](_0x54ecbe,[_0x3d9e68])),_0x54ecbe['message$'][_0x5590b9(0x2cb)](_0x46f9c4=>this[_0x5590b9(0x2c9)](_0x54ecbe,_0x46f9c4)),_0x54ecbe[_0x5590b9(0x2a2)][_0x5590b9(0x369)](_0x2fc287(0x1))[_0x5590b9(0x2cb)](_0x36f997=>this['_logService']['error'](_0x5590b9(0x1db),_0x36f997)),_0x54ecbe[_0x5590b9(0x20d)]['pipe'](_0x2fc287(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x54ecbe);}),_0x54ecbe[_0x5590b9(0x2f5)][_0x5590b9(0x369)](_0x2fc287(0x1))['subscribe'](_0x1307f7=>{var _0x1e7dfa=_0x5590b9;this[_0x1e7dfa(0x335)][_0x1e7dfa(0x412)](_0x1e7dfa(0x3e9),_0x1e7dfa(0x3c0),_0x1307f7),this['_onConnectionFailed']();});}}catch(_0x5a7b48){this['_logService']['error'](_0x5a7b48),this[_0x5590b9(0x2c3)]();}}[_0x2a3857(0x1f4)](_0x89e05){var _0x23da93=_0x2a3857;this[_0x23da93(0x335)][_0x23da93(0x412)](_0x23da93(0x3e9),_0x23da93(0x276)),_0x89e05[_0x23da93(0x19f)]({'cmd':F['HELLO']}),this[_0x23da93(0x12b)]();}[_0x2a3857(0x41a)](){var _0x3b3af9=_0x2a3857;this[_0x3b3af9(0x17f)]=!0x1,this['_candidateSocket']=null,this[_0x3b3af9(0x34d)]['next'](Te[_0x3b3af9(0x32b)]),this[_0x3b3af9(0x287)][_0x3b3af9(0x386)](null),this['_clearTimeoutTimer'](),this[_0x3b3af9(0x3af)]();}[_0x2a3857(0x2c3)](){var _0x16f5b4=_0x2a3857,_0x4aa44f;this[_0x16f5b4(0x41a)](),this[_0x16f5b4(0x410)]<((_0x4aa44f=this['_configService'][_0x16f5b4(0x122)](jn))!=null?_0x4aa44f:Bn)?(this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x16f5b4(0x14f)]()):this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re[_0x16f5b4(0x34c)]});}['_tryReconnect'](){var _0x5e9687=_0x2a3857,_0x2ae049;const _0x15df2f=this[_0x5e9687(0x410)],_0x303a87=this['_configService'][_0x5e9687(0x122)](Y),_0x407f3a=_0x15df2f===0x0?0x0:((_0x2ae049=_0x303a87==null?void 0x0:_0x303a87[_0x5e9687(0x26e)])!=null?_0x2ae049:kn)*0x2**_0x15df2f;this[_0x5e9687(0x228)]=setTimeout(()=>{var _0x1693d4=_0x5e9687;clearTimeout(this[_0x1693d4(0x228)]),this[_0x1693d4(0x228)]=null,this['_tryEnsureSocket']();},_0x407f3a),this[_0x5e9687(0x410)]+=0x1;}[_0x2a3857(0x2c9)](_0x476750,_0x35ad8d){var _0x4bfd4a=_0x2a3857;const {cmd:_0x50da3e}=_0x35ad8d;_0x50da3e===F[_0x4bfd4a(0x121)]&&!this[_0x4bfd4a(0x17f)]&&(_0x476750[_0x4bfd4a(0x194)]=_0x35ad8d[_0x4bfd4a(0x13b)][_0x4bfd4a(0x194)],this[_0x4bfd4a(0x287)]['next'](_0x476750),this[_0x4bfd4a(0x34d)][_0x4bfd4a(0x386)](Te['ONLINE']),this[_0x4bfd4a(0x17f)]=!0x0,this[_0x4bfd4a(0x193)]=null),_0x50da3e===F[_0x4bfd4a(0x354)]&&this['_clearTimeoutTimer'](),this[_0x4bfd4a(0x12b)]();}[_0x2a3857(0x12b)](){var _0x861ac3=_0x2a3857,_0x4ffe4c;this['_clearHeartbeatTimer'](),this[_0x861ac3(0x37b)]=setTimeout(()=>this[_0x861ac3(0x31b)](),(_0x4ffe4c=this['_configService'][_0x861ac3(0x122)]($n))!=null?_0x4ffe4c:Hn);}['_sendHeartbeat'](){var _0x242596=_0x2a3857;this[_0x242596(0x14d)][_0x242596(0x19f)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2a3857(0x1e6)](){var _0x410d87=_0x2a3857,_0x3bb1b6;this[_0x410d87(0x246)]=setTimeout(()=>this[_0x410d87(0x2c3)](),(_0x3bb1b6=this[_0x410d87(0x205)][_0x410d87(0x122)](Ii))!=null?_0x3bb1b6:Ti);}['_clearHeartbeatTimer'](){var _0x33f307=_0x2a3857;this[_0x33f307(0x37b)]!=null&&(clearTimeout(this[_0x33f307(0x37b)]),this[_0x33f307(0x37b)]=null);}['_clearTimeoutTimer'](){var _0x4497a9=_0x2a3857;this[_0x4497a9(0x246)]!=null&&(clearTimeout(this[_0x4497a9(0x246)]),this[_0x4497a9(0x246)]=null);}};Le=_s([ge(0x0,_0x21b3b2(_0x548366)),ge(0x1,_0x4e1c8f),ge(0x2,_0x24bebb),ge(0x3,Ri),ge(0x4,_0x21b3b2(_0x4fa095)),ge(0x5,_0x21b3b2(pe)),ge(0x6,_0x10c77b(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x2a3857(0x28c)](0x10)[_0x2a3857(0x247)](0x1));function ls(_0x45bef5,_0x418948=0x0){var _0x27909a=_0x2a3857;return(V[_0x45bef5[_0x418948+0x0]]+V[_0x45bef5[_0x418948+0x1]]+V[_0x45bef5[_0x418948+0x2]]+V[_0x45bef5[_0x418948+0x3]]+'-'+V[_0x45bef5[_0x418948+0x4]]+V[_0x45bef5[_0x418948+0x5]]+'-'+V[_0x45bef5[_0x418948+0x6]]+V[_0x45bef5[_0x418948+0x7]]+'-'+V[_0x45bef5[_0x418948+0x8]]+V[_0x45bef5[_0x418948+0x9]]+'-'+V[_0x45bef5[_0x418948+0xa]]+V[_0x45bef5[_0x418948+0xb]]+V[_0x45bef5[_0x418948+0xc]]+V[_0x45bef5[_0x418948+0xd]]+V[_0x45bef5[_0x418948+0xe]]+V[_0x45bef5[_0x418948+0xf]])[_0x27909a(0x41d)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x63eae3=_0x2a3857;if(!dt){if(typeof crypto>'u'||!crypto[_0x63eae3(0x257)])throw new Error(_0x63eae3(0x3ca));dt=crypto[_0x63eae3(0x257)][_0x63eae3(0x225)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x2a3857(0x2fb)]&&crypto['randomUUID'][_0x2a3857(0x225)](crypto),Jt={'randomUUID':fs};function vs(_0x3521f1,_0x304f7b,_0x483fa4){var _0x2815c4=_0x2a3857;if(Jt[_0x2815c4(0x2fb)]&&!_0x304f7b&&!_0x3521f1)return Jt[_0x2815c4(0x2fb)]();_0x3521f1=_0x3521f1||{};const _0x8eeac2=_0x3521f1['random']||(_0x3521f1[_0x2815c4(0x152)]||ds)();return _0x8eeac2[0x6]=_0x8eeac2[0x6]&0xf|0x40,_0x8eeac2[0x8]=_0x8eeac2[0x8]&0x3f|0x80,ls(_0x8eeac2);}const X=_0x357b15('collaboration-client.local-cache-service');function po(_0x2a7b11){var _0x2d22c9=_0x2a3857;return _0x2d22c9(0x1c0)+_0x2a7b11;}var ps=Object[_0x2a3857(0x239)],ms=Object[_0x2a3857(0x1e9)],gs=(_0x327da7,_0x24d367,_0x56bb64,_0x55c4e5)=>{var _0x5f4a24=_0x2a3857;for(var _0x5d5137=_0x55c4e5>0x1?void 0x0:_0x55c4e5?ms(_0x24d367,_0x56bb64):_0x24d367,_0x4d1a41=_0x327da7[_0x5f4a24(0x32e)]-0x1,_0x5b2108;_0x4d1a41>=0x0;_0x4d1a41--)(_0x5b2108=_0x327da7[_0x4d1a41])&&(_0x5d5137=(_0x55c4e5?_0x5b2108(_0x24d367,_0x56bb64,_0x5d5137):_0x5b2108(_0x5d5137))||_0x5d5137);return _0x55c4e5&&_0x5d5137&&ps(_0x24d367,_0x56bb64,_0x5d5137),_0x5d5137;},ft=(_0xa82f77,_0x16a0a7)=>(_0x309ac8,_0x12fd46)=>_0x16a0a7(_0x309ac8,_0x12fd46,_0xa82f77);function Ss(_0x171a89){var _0x3285cd=_0x2a3857;const {unitID:_0x43493d,mutations:_0x376b9d}=_0x171a89;return{'unitId':_0x43493d,'subUnitId':_0x376b9d[0x0]['params'][_0x3285cd(0x327)]};}let nt=class{constructor(_0x10e7ca,_0xb3f91c,_0x106276){var _0xc79ceb=_0x2a3857;this['_injector']=_0x10e7ca,this[_0xc79ceb(0x26b)]=_0xb3f91c,this[_0xc79ceb(0x38b)]=_0x106276;}[_0x2a3857(0x377)](_0x2b1221){var _0xeaf651=_0x2a3857,_0x2a58a9,_0x41cdde,_0xd30d67,_0x1fbc48;const _0x179079=this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0x5c7668),{unitId:_0x2732d5,subUnitId:_0x42181c}=Ss(_0x2b1221),_0x147d88=_0x179079==null?void 0x0:_0x179079[_0xeaf651(0x137)](_0x2732d5)['getCurrentSelections'](),_0x58ae3a=(_0x41cdde=(_0x2a58a9=this[_0xeaf651(0x38b)][_0xeaf651(0x353)](_0x2732d5))==null?void 0x0:_0x2a58a9[_0xeaf651(0x1e3)]())==null?void 0x0:_0x41cdde[_0xeaf651(0x1c5)]();if(_0x147d88[_0xeaf651(0x32e)]===0x0||!_0x2732d5||!_0x42181c)return;const _0x3824cc=[{'id':_0x4301b8['id'],'params':{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x57b57d[_0xeaf651(0x3f6)](_0x147d88)}}],_0x13f5a9=this[_0xeaf651(0x26b)][_0xeaf651(0x1c4)](_0x2b1221,_0x3824cc);if(!_0x17f224(_0x13f5a9))throw _0x13f5a9[_0xeaf651(0x119)];const _0x53dd32=(_0x1fbc48=(_0xd30d67=_0x13f5a9[_0xeaf651(0x19d)][0x0])==null?void 0x0:_0xd30d67[_0xeaf651(0x146)])==null?void 0x0:_0x1fbc48[_0xeaf651(0x264)];if(Array['isArray'](_0x53dd32)&&_0x53dd32['length']){if(_0x53dd32['length']===_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0xeaf651(0x32e)]&&_0x53dd32[_0xeaf651(0x12a)]((_0x565516,_0x239c24)=>_0x1aad94['equals'](_0x565516[_0xeaf651(0x29c)],_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0x239c24][_0xeaf651(0x29c)])))return;this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0xd6fdcf)[_0xeaf651(0x2c1)](_0x4301b8['id'],{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x53dd32});}}};nt=gs([ft(0x0,_0x21b3b2(_0x548366)),ft(0x1,_0x59eb83),ft(0x2,_0x40e127)],nt);const _t=_0x357b15(_0x2a3857(0x3c2));var Oi=(_0x52730e=>(_0x52730e[_0x52730e[_0x2a3857(0x3e7)]=0x0]=_0x2a3857(0x3e7),_0x52730e[_0x52730e[_0x2a3857(0x2bf)]=0x1]=_0x2a3857(0x2bf),_0x52730e))(Oi||{});const Es=new Set([_0x5b2210['id']]);function Xt(_0x1d6bba,_0x58565b,_0x420452,_0x140e94,_0x3338de){var _0x3b80b0=_0x2a3857,_0x11bd44,_0x342914,_0x42c968,_0xaced27;const _0x4e51c0=[];for(const _0x198853 of _0x1d6bba)if(Es[_0x3b80b0(0x40d)](_0x198853['id'])){if(_0x4e51c0[_0x3b80b0(0x32e)]>0x0)break;_0x4e51c0[_0x3b80b0(0x271)](_0x198853);break;}else _0x4e51c0[_0x3b80b0(0x271)](_0x198853);const _0x6fd71d=(_0x342914=(_0x11bd44=_0x3338de['getCurrentUser']())==null?void 0x0:_0x11bd44[_0x3b80b0(0x12d)])!=null?_0x342914:_0x3b80b0(0x1e5),_0xa61b0a=(_0xaced27=(_0x42c968=_0x3338de[_0x3b80b0(0x3ed)]())==null?void 0x0:_0x42c968[_0x3b80b0(0x194)])!=null?_0xaced27:_0x3b80b0(0x1e5);return{'changeset':{'unitID':_0x58565b,'type':_0x5f2b7f(_0x420452[_0x3b80b0(0x378)](_0x58565b)),'baseRev':_0x140e94[_0x3b80b0(0x115)](_0x58565b),'revision':0x0,'userID':_0x6fd71d,'memberID':_0xa61b0a,'mutations':_0x4e51c0},'pendingMutations':_0x1d6bba[_0x3b80b0(0x247)](_0x4e51c0[_0x3b80b0(0x32e)])};}function Is(_0x16540c,_0x11e6ac,_0x34ea14,_0x5103a2,_0x5ba284){var _0x40e92d=_0x2a3857,_0x220ab7,_0x2a7027,_0x53a95d,_0x1565b1;const _0x217774=[_0x16540c['reduce']((_0x15837b,_0x5c2063)=>{var _0xb9d77c=_0x5b8f,_0x43d053;const {id:_0xe35ee9}=_0x15837b,{id:_0x29879e,type:_0x39f129}=_0x5c2063,_0x4d9099=(_0x43d053=_0x15837b[_0xb9d77c(0x146)])!=null?_0x43d053:{'actions':null},_0x39ae3e=_0x5c2063[_0xb9d77c(0x146)];if(_0xe35ee9&&_0xe35ee9!==_0x29879e)throw new Error(_0xb9d77c(0x126)+_0xe35ee9+_0xb9d77c(0x415)+_0x29879e+'.');return{..._0x15837b,'id':_0x29879e,'type':_0x39f129,'params':{'unitId':_0x39ae3e['unitId'],'textRanges':_0x39ae3e['textRanges'],'actions':_0x32150e[_0xb9d77c(0x219)](_0x4d9099[_0xb9d77c(0x3fc)],_0x39ae3e[_0xb9d77c(0x3fc)])}};},{})],_0x1a5414=(_0x2a7027=(_0x220ab7=_0x5ba284['getCurrentUser']())==null?void 0x0:_0x220ab7[_0x40e92d(0x12d)])!=null?_0x2a7027:'unknown',_0x226a30=(_0x1565b1=(_0x53a95d=_0x5ba284[_0x40e92d(0x3ed)]())==null?void 0x0:_0x53a95d[_0x40e92d(0x194)])!=null?_0x1565b1:'unknown';return{'changeset':{'unitID':_0x11e6ac,'type':_0x5f2b7f(_0x34ea14[_0x40e92d(0x378)](_0x11e6ac)),'baseRev':_0x5103a2['getCurrentRevOfUnit'](_0x11e6ac),'revision':0x0,'userID':_0x1a5414,'memberID':_0x226a30,'mutations':_0x217774},'pendingMutations':[]};}function Ni(_0x51809e,_0x19a36c){var _0x34900a=_0x2a3857;const _0x50e978=new _0x290582(0x1);return setTimeout(()=>_0x50e978['next'](_0x19a36c),_0x51809e),_0x50e978[_0x34900a(0x2e0)]()['pipe'](_0x20e9c1(0x1));}const Ts={'id':_0x14880c['id'],'type':_0xab8d9d[_0x2a3857(0x31a)],'params':{}};var Cs=Object[_0x2a3857(0x239)],bs=Object[_0x2a3857(0x1e9)],be=(_0x57d945,_0x11eb4a,_0x19e803,_0xdc686d)=>{var _0x5f4163=_0x2a3857;for(var _0x57d267=_0xdc686d>0x1?void 0x0:_0xdc686d?bs(_0x11eb4a,_0x19e803):_0x11eb4a,_0x3ccba3=_0x57d945[_0x5f4163(0x32e)]-0x1,_0x195d53;_0x3ccba3>=0x0;_0x3ccba3--)(_0x195d53=_0x57d945[_0x3ccba3])&&(_0x57d267=(_0xdc686d?_0x195d53(_0x11eb4a,_0x19e803,_0x57d267):_0x195d53(_0x57d267))||_0x57d267);return _0xdc686d&&_0x57d267&&Cs(_0x11eb4a,_0x19e803,_0x57d267),_0x57d267;},A=(_0x21b848,_0x34af4b)=>(_0x165464,_0x4f8563)=>_0x34af4b(_0x165464,_0x4f8563,_0x21b848),Pi=(_0x3043d3=>(_0x3043d3['NOT_COLLAB']=_0x2a3857(0x301),_0x3043d3['SYNCED']=_0x2a3857(0x1fe),_0x3043d3[_0x2a3857(0x32c)]=_0x2a3857(0x345),_0x3043d3[_0x2a3857(0x242)]=_0x2a3857(0x30f),_0x3043d3[_0x2a3857(0x284)]=_0x2a3857(0x311),_0x3043d3[_0x2a3857(0x2fc)]=_0x2a3857(0x316),_0x3043d3[_0x2a3857(0x1dc)]=_0x2a3857(0x40f),_0x3043d3[_0x2a3857(0x32b)]=_0x2a3857(0x184),_0x3043d3))(Pi||{});const Di=0xea60;class Re{constructor(_0x3f3541,_0x107249,_0x3dc53c,_0x5ae5d6,_0x2a4312,_0x26494e,_0x4fb492,_0x199f3f,_0x563fd9){var _0x124047=_0x2a3857;P(this,_0x124047(0x365),null),P(this,_0x124047(0x3cf),[]),(this[_0x124047(0x12e)]=_0x3f3541,this[_0x124047(0x1ce)]=_0x107249,this[_0x124047(0x396)]=_0x2a4312,this[_0x124047(0x143)]=_0x26494e,this[_0x124047(0x36f)]=_0x4fb492,this[_0x124047(0x17a)]=_0x199f3f,this[_0x124047(0x15c)]=_0x563fd9,this[_0x124047(0x365)]=_0x3dc53c,this['_pendingMutations']=_0x5ae5d6);}[_0x2a3857(0x1d2)](_0x30d5f8){var _0x13b3e2=_0x2a3857;const _0x14d643=this[_0x13b3e2(0x17a)][_0x13b3e2(0x115)](this[_0x13b3e2(0x12e)]);return _0x30d5f8[_0x13b3e2(0x1d7)]>_0x14d643+0x1?(this[_0x13b3e2(0x396)]['onMissingChangesets']({'from':_0x14d643,'to':_0x30d5f8['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5cae5c){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x5cae5c);}[_0x2a3857(0x262)](_0x29f547){var _0x26417a=_0x2a3857,_0x7563a3,_0x26ac08;(_0x26ac08=(_0x7563a3=this[_0x26417a(0x396)])[_0x26417a(0x338)])==null||_0x26ac08[_0x26417a(0x15a)](_0x7563a3,_0x29f547);}['_transformIMECache'](_0x467652){var _0x51e0b5=_0x2a3857,_0x174537,_0x3cf27a;return(_0x3cf27a=(_0x174537=this[_0x51e0b5(0x396)])[_0x51e0b5(0x2ff)])==null?void 0x0:_0x3cf27a[_0x51e0b5(0x15a)](_0x174537,_0x467652);}[_0x2a3857(0x3b8)](_0x3a35e7){var _0x775d4f=_0x2a3857,_0x4f9bae,_0x4b265b;return(_0x4b265b=(_0x4f9bae=this[_0x775d4f(0x396)])[_0x775d4f(0x2f0)])==null?void 0x0:_0x4b265b[_0x775d4f(0x15a)](_0x4f9bae,_0x3a35e7);}[_0x2a3857(0x154)](_0x2a1645){var _0x1f3087=_0x2a3857,_0x3ff053,_0x1af53d,_0x53d5f0;return(_0x53d5f0=(_0x1af53d=(_0x3ff053=this[_0x1f3087(0x396)])[_0x1f3087(0x17e)])==null?void 0x0:_0x1af53d[_0x1f3087(0x15a)](_0x3ff053,_0x2a1645))!=null?_0x53d5f0:_0x2a1645;}[_0x2a3857(0x1cd)](_0x8f2fe0){var _0x1a4d5b=_0x2a3857,_0x42b9e3,_0x83863f,_0x10b7c6;return(_0x10b7c6=(_0x83863f=(_0x42b9e3=this[_0x1a4d5b(0x396)])[_0x1a4d5b(0x2bc)])==null?void 0x0:_0x83863f[_0x1a4d5b(0x15a)](_0x42b9e3,_0x8f2fe0))!=null?_0x10b7c6:_0x8f2fe0;}[_0x2a3857(0x359)](_0x4a5e71){var _0x5ab30c=_0x2a3857,_0x202d51,_0x5f5236;if(this[_0x5ab30c(0x1ce)]===Q['UNIVER_DOC']){const {unitID:_0x4e4850,mutations:_0x482d5c,memberID:_0x482b36}=_0x4a5e71,_0x579741=_0x482d5c[0x0]['params'][_0x5ab30c(0x3d0)];Array['isArray'](_0x579741)&&_0x579741[_0x5ab30c(0x32e)]>0x0&&((_0x5f5236=(_0x202d51=this[_0x5ab30c(0x396)])[_0x5ab30c(0x1d0)])==null||_0x5f5236[_0x5ab30c(0x15a)](_0x202d51,{'unitID':_0x4e4850,'memberID':_0x482b36,'textRanges':_0x579741}));}}[_0x2a3857(0x1e0)](){var _0x49ea03=_0x2a3857,_0x2ba1f5;(_0x2ba1f5=this[_0x49ea03(0x15c)])==null||_0x2ba1f5[_0x49ea03(0x233)](this[_0x49ea03(0x12e)],this['type'],this['_awaitingChangeset'],this[_0x49ea03(0x3cf)]);}[_0x2a3857(0x3c7)](){var _0x5a7d2a=_0x2a3857;return this[_0x5a7d2a(0x17a)][_0x5a7d2a(0x115)](this[_0x5a7d2a(0x12e)]);}[_0x2a3857(0x289)](){var _0x2480c2=_0x2a3857;this['_revisionService'][_0x2480c2(0x116)](this[_0x2480c2(0x12e)]);}[_0x2a3857(0x3a0)](_0x4727f4){var _0x4f9877=_0x2a3857,_0x41f630;let _0x25ea07=this[_0x4f9877(0x154)](_0x4727f4);_0x25ea07=this['_transformRemoteChangesetByStateCache'](_0x25ea07);const _0x4e097e=_0x595582(_0x25ea07[_0x4f9877(0x22a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4e097e['result'])throw _0x4e097e['error']instanceof Error?_0x4e097e[_0x4f9877(0x119)]:new Error((_0x41f630=_0x4e097e['error'])!=null?_0x41f630:_0x4f9877(0x3e4));this[_0x4f9877(0x230)](_0x25ea07),this[_0x4f9877(0x3b8)](_0x25ea07),this['_transformUndoredo'](_0x4727f4),this[_0x4f9877(0x262)](_0x25ea07),this[_0x4f9877(0x359)](_0x25ea07),this['_incrementRevisionNumber']();}}let Pe=class extends Re{constructor(_0x41a4bc,_0x235fd1,_0xe56f70,_0x1a70c0,_0x3b7453,_0x165b79,_0x500bf3,_0x21819b,_0x1d680d,_0x17cb9a){var _0x50e9e4=_0x2a3857;super(_0x41a4bc,_0x235fd1,null,[],_0xe56f70,_0x500bf3,_0x165b79,_0x1a70c0,_0x17cb9a),P(this,'status','synced'),(this[_0x50e9e4(0x158)]=_0x3b7453,this['_logService']=_0x21819b,this['_transformService']=_0x1d680d,this['localCacheService']=_0x17cb9a);}[_0x2a3857(0x317)](_0x3577a3){var _0x3295af=_0x2a3857;const _0x4549c4=this[_0x3295af(0x158)]['createInstance'](oe,this[_0x3295af(0x12e)],this[_0x3295af(0x1ce)],[_0x3577a3],this[_0x3295af(0x396)]);return _0x4549c4[_0x3295af(0x375)](),_0x4549c4[_0x3295af(0x1e0)](),_0x4549c4;}[_0x2a3857(0x344)](_0x37d88e){var _0x4f69f4=_0x2a3857;if(this['_checkMissing'](_0x37d88e))return this[_0x4f69f4(0x158)][_0x4f69f4(0x3a6)](te,this[_0x4f69f4(0x12e)],this[_0x4f69f4(0x1ce)],null,[],null,[_0x37d88e],this[_0x4f69f4(0x396)]);try{const _0x3c587f=this['_transformService'][_0x4f69f4(0x1c4)](_0x37d88e,[Ts]);if(_0x17f224(_0x3c587f)){const {c1Prime:_0x1f96ea}=_0x3c587f;return this[_0x4f69f4(0x3a0)](_0x1f96ea),this;}throw _0x3c587f['error'];}catch(_0x428b9d){return this[_0x4f69f4(0x335)][_0x4f69f4(0x119)](_0x428b9d),this[_0x4f69f4(0x160)](!0x1);}}[_0x2a3857(0x160)](_0x1f75de){var _0x31da8d=_0x2a3857;return this[_0x31da8d(0x158)][_0x31da8d(0x3a6)](de,this[_0x31da8d(0x12e)],this[_0x31da8d(0x1ce)],null,[],this[_0x31da8d(0x396)],_0x1f75de);}[_0x2a3857(0x2a0)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x2f279d=_0x2a3857;throw new Error(_0x2f279d(0x3f3));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){var _0x22c260=_0x2a3857;return this[_0x22c260(0x158)][_0x22c260(0x3a6)](fe,this['unitID'],this['type'],null,[],this[_0x22c260(0x396)]);}['toggleOnline'](){return this;}[_0x2a3857(0x2e9)](){var _0xd57cd0=_0x2a3857;throw new Error(_0xd57cd0(0x2ea));}['fetchMiss'](){var _0x130b8a=_0x2a3857;const _0x1898b4=this['_revisionService'][_0x130b8a(0x115)](this[_0x130b8a(0x12e)]);return this[_0x130b8a(0x396)]['onMissingChangesets']({'from':_0x1898b4,'to':0x0}),this[_0x130b8a(0x158)][_0x130b8a(0x3a6)](te,this['unitID'],this[_0x130b8a(0x1ce)],null,[],null,[],this[_0x130b8a(0x396)]);}};Pe=be([A(0x3,_0x21b3b2(_0x49a07f)),A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x34b8e6),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x10c77b(X))],Pe);let oe=class extends Re{constructor(_0x2057b9,_0x5e8e98,_0x4fb324,_0x42643f,_0x425af8,_0x2c8af7,_0x216a40,_0x52dc7d,_0x2c4b5b,_0x5e7867,_0x43ce50,_0x1a3370,_0x1fcca5,_0x2662b1){var _0x3cc327=_0x2a3857;super(_0x2057b9,_0x5e8e98,null,_0x4fb324,_0x42643f,_0x2c4b5b,_0x1fcca5,_0x2c8af7,_0x2662b1),P(this,'status',_0x3cc327(0x345)),P(this,_0x3cc327(0x2ee),null),P(this,_0x3cc327(0x1f0),null),(this[_0x3cc327(0x158)]=_0x425af8,this[_0x3cc327(0x185)]=_0x216a40,this[_0x3cc327(0x335)]=_0x52dc7d,this[_0x3cc327(0x205)]=_0x5e7867,this['_transformService']=_0x43ce50,this['_univerInstanceService']=_0x1a3370);}[_0x2a3857(0x317)](_0x498260){var _0x12523d=_0x2a3857;return this[_0x12523d(0x3cf)][_0x12523d(0x271)](_0x498260),this[_0x12523d(0x1e0)](),this;}[_0x2a3857(0x344)](_0x154ab2){var _0x2b60c3=_0x2a3857;if(this['_checkMissing'](_0x154ab2))return this[_0x2b60c3(0x329)](),this[_0x2b60c3(0x158)]['createInstance'](te,this[_0x2b60c3(0x12e)],this[_0x2b60c3(0x1ce)],null,this[_0x2b60c3(0x3cf)],null,[_0x154ab2],this[_0x2b60c3(0x396)]);try{const _0x2e2377=this[_0x2b60c3(0x26b)]['transformMutationsWithChangeset'](_0x154ab2,this[_0x2b60c3(0x3cf)]);if(_0x17f224(_0x2e2377)){const {c1Prime:_0xd8f90a,m2Prime:_0x4a6ce5}=_0x2e2377;this[_0x2b60c3(0x3a0)](_0xd8f90a);const _0x2efa1b=this[_0x2b60c3(0x158)][_0x2b60c3(0x3a6)](oe,this[_0x2b60c3(0x12e)],this['type'],_0x4a6ce5,this[_0x2b60c3(0x396)]);this[_0x2b60c3(0x329)]();const _0x5cf7f4=new Date()[_0x2b60c3(0x133)](),_0x508fd6=this[_0x2b60c3(0x2ee)]?Math[_0x2b60c3(0x24b)](this['_scheduleCompleteTimestamp']-_0x5cf7f4,0x0):this[_0x2b60c3(0x167)]();return _0x2efa1b[_0x2b60c3(0x375)](_0x508fd6),_0x2efa1b;}throw _0x2e2377[_0x2b60c3(0x119)];}catch(_0x24779f){return this[_0x2b60c3(0x335)][_0x2b60c3(0x119)](_0x24779f),this[_0x2b60c3(0x160)](!0x1);}}[_0x2a3857(0x2a0)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x53197b=_0x2a3857;throw new Error(_0x53197b(0x309));}[_0x2a3857(0x2bb)](){return this;}['toggleOffline'](){var _0x4e9b7d=_0x2a3857;return this[_0x4e9b7d(0x329)](),this[_0x4e9b7d(0x158)][_0x4e9b7d(0x3a6)](fe,this['unitID'],this['type'],null,this[_0x4e9b7d(0x3cf)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x758b87){var _0x9f16f7=_0x2a3857;const _0x323e1b=_0x758b87!=null?_0x758b87:this['_getSendChangesetTimeout']();this[_0x9f16f7(0x2ee)]=new Date()[_0x9f16f7(0x133)]()+_0x323e1b,this[_0x9f16f7(0x1f0)]=setTimeout(()=>{var _0x584bc0=_0x9f16f7;this[_0x584bc0(0x329)]();let _0x3940fa=null;switch(this[_0x584bc0(0x1ce)]){case Q[_0x584bc0(0x292)]:{_0x3940fa=Xt(this[_0x584bc0(0x3cf)],this['unitID'],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]);break;}case Q[_0x584bc0(0x1d6)]:{this[_0x584bc0(0x3cf)]['every'](_0x40f603=>_0x40f603['id']===_0x117fd1['id'])?_0x3940fa=Is(this[_0x584bc0(0x3cf)],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]):_0x3940fa=Xt(this['_pendingMutations'],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x584bc0(0x28d));}const {changeset:_0x1aba7e,pendingMutations:_0x5e2104}=_0x3940fa;this[_0x584bc0(0x396)][_0x584bc0(0x237)](_0x1aba7e);const _0x21d92b=_0x5e2104[_0x584bc0(0x32e)]?this[_0x584bc0(0x158)]['createInstance'](ae,this[_0x584bc0(0x12e)],this[_0x584bc0(0x1ce)],_0x1aba7e,_0x5e2104,this['_handler'],void 0x0):this[_0x584bc0(0x158)][_0x584bc0(0x3a6)](ue,this[_0x584bc0(0x12e)],this['type'],_0x1aba7e,this[_0x584bc0(0x396)]);_0x21d92b['_updateLocalCache'](),this[_0x584bc0(0x396)][_0x584bc0(0x19e)](this,_0x21d92b);},_0x323e1b);}[_0x2a3857(0x167)](){var _0x4ae26b=_0x2a3857,_0x95c96f;const _0x56c973=this['_configService'][_0x4ae26b(0x122)](Y);return(_0x95c96f=_0x56c973==null?void 0x0:_0x56c973[_0x4ae26b(0x324)])!=null?_0x95c96f:An;}['resend'](){var _0x45db10=_0x2a3857;throw new Error(_0x45db10(0x1a5));}[_0x2a3857(0x329)](){var _0x4bdd12=_0x2a3857;this[_0x4bdd12(0x1f0)]!=null&&(clearTimeout(this[_0x4bdd12(0x1f0)]),this[_0x4bdd12(0x1f0)]=null);}[_0x2a3857(0x160)](_0xd288c5){var _0x5c0350=_0x2a3857;return this[_0x5c0350(0x329)](),this[_0x5c0350(0x158)]['createInstance'](de,this[_0x5c0350(0x12e)],this[_0x5c0350(0x1ce)],null,this[_0x5c0350(0x3cf)],this[_0x5c0350(0x396)],_0xd288c5);}};oe=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0x21b3b2(xe)),A(0x7,_0x4e1c8f),A(0x8,_0xd6fdcf),A(0x9,_0x24bebb),A(0xa,_0x59eb83),A(0xb,_0x40e127),A(0xc,_0x34b8e6),A(0xd,_0x10c77b(X))],oe);let ue=class extends Re{constructor(_0x136112,_0x113d22,_0x43729d,_0x242a1d,_0x42f5fa,_0x17d607,_0x28cafb,_0x30fa91,_0x347792,_0x17ed0d,_0x56bdd4){var _0x1dc1a5=_0x2a3857;super(_0x136112,_0x113d22,_0x43729d,[],_0x242a1d,_0x28cafb,_0x17ed0d,_0x17d607,_0x56bdd4),P(this,'status',_0x1dc1a5(0x30f)),P(this,'_resendTimeout',0x0),P(this,_0x1dc1a5(0x250)),P(this,_0x1dc1a5(0x41e)),(this[_0x1dc1a5(0x158)]=_0x42f5fa,this[_0x1dc1a5(0x335)]=_0x30fa91,this[_0x1dc1a5(0x26b)]=_0x347792);}['appendMutation'](_0x3cd5fd){var _0x29f855=_0x2a3857;this[_0x29f855(0x329)]();const _0x2e8539=this[_0x29f855(0x158)][_0x29f855(0x3a6)](ae,this[_0x29f855(0x12e)],this['type'],this[_0x29f855(0x365)],[_0x3cd5fd],this[_0x29f855(0x396)],this['_resendTimer']);return _0x2e8539[_0x29f855(0x1e0)](),_0x2e8539;}['onRemoteChangeset'](_0x3667fb){var _0x266e62=_0x2a3857;if(this[_0x266e62(0x1d2)](_0x3667fb))return this[_0x266e62(0x329)](),this['_injector'][_0x266e62(0x3a6)](te,this[_0x266e62(0x12e)],this['type'],this[_0x266e62(0x365)],[],null,[_0x3667fb],this[_0x266e62(0x396)]);try{const _0x2c7bfc=this['_transformService'][_0x266e62(0x180)]([_0x3667fb],[this[_0x266e62(0x365)]],!0x1);if(_0x41a995(_0x2c7bfc)){const {c1Prime:_0x7be40b,c2Prime:_0x40aa5c}=_0x2c7bfc;this[_0x266e62(0x3a0)](_0x7be40b[0x0]),_0x40aa5c[0x0][_0x266e62(0x2fa)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xa00096=this['_injector'][_0x266e62(0x3a6)](ue,this['unitID'],this[_0x266e62(0x1ce)],_0x40aa5c[0x0],this[_0x266e62(0x396)]);return _0xa00096['_updateLocalCache'](),_0xa00096;}return this[_0x266e62(0x160)](!0x1);}catch(_0x1ef8a9){return this[_0x266e62(0x335)][_0x266e62(0x119)](_0x1ef8a9),this[_0x266e62(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x548bdd){var _0x5bdf8d=_0x2a3857;this[_0x5bdf8d(0x329)]();const _0x49573c=this[_0x5bdf8d(0x17a)][_0x5bdf8d(0x115)](this[_0x5bdf8d(0x12e)]);if(_0x548bdd[_0x5bdf8d(0x1d7)]<_0x49573c-0x1)return this;if(this[_0x5bdf8d(0x1d2)](_0x548bdd))return this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](te,this[_0x5bdf8d(0x12e)],this['type'],null,[],this[_0x5bdf8d(0x365)],[],this[_0x5bdf8d(0x396)]);this[_0x5bdf8d(0x289)]();const _0x2d2f16=this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](Pe,this[_0x5bdf8d(0x12e)],this[_0x5bdf8d(0x1ce)],this[_0x5bdf8d(0x396)]);return _0x2d2f16['_updateLocalCache'](),_0x2d2f16;}[_0x2a3857(0x117)](_0x3ecce5){var _0x13a223=_0x2a3857;return this[_0x13a223(0x160)](!!(_0x3ecce5!=null&&_0x3ecce5[_0x13a223(0x3c5)]));}['onRemoteRetry'](_0x5281f5){var _0x538618=_0x2a3857;return this[_0x538618(0x191)]>Di?this[_0x538618(0x186)]():(this[_0x538618(0x250)]=Ni(this['_resendTimeout'],{'timeout':this[_0x538618(0x191)],'reqId':_0x5281f5[_0x538618(0x226)]}),this[_0x538618(0x41e)]=this[_0x538618(0x250)]['subscribe'](({reqId:_0x213748,timeout:_0x42340c})=>{var _0x3cb3a3=_0x538618;this[_0x3cb3a3(0x2d2)](_0x213748,_0x42340c);}),this);}[_0x2a3857(0x186)](){var _0x117ad8=_0x2a3857;return this[_0x117ad8(0x329)](),this[_0x117ad8(0x158)][_0x117ad8(0x3a6)](fe,this[_0x117ad8(0x12e)],this[_0x117ad8(0x1ce)],this[_0x117ad8(0x365)],[],this[_0x117ad8(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x208a09=_0x2a3857;this['_handler'][_0x208a09(0x237)](this[_0x208a09(0x365)]);}['_onConflict'](_0x143db7){var _0x10855e=_0x2a3857;return this[_0x10855e(0x329)](),this[_0x10855e(0x158)][_0x10855e(0x3a6)](de,this['unitID'],this['type'],this[_0x10855e(0x365)],[],this[_0x10855e(0x396)],_0x143db7);}['_resendWithTimeout'](_0x2cf458,_0x5560f2){var _0x2ceaec=_0x2a3857,_0x2fc667;_0x2cf458===((_0x2fc667=this[_0x2ceaec(0x365)])==null?void 0x0:_0x2fc667[_0x2ceaec(0x226)])&&(this[_0x2ceaec(0x2e9)](),this[_0x2ceaec(0x191)]=_0x5560f2===0x0?0x3e8:_0x5560f2*0x2);}[_0x2a3857(0x329)](){var _0x610e63=_0x2a3857,_0x102e57;(_0x102e57=this['_sender'])==null||_0x102e57[_0x610e63(0x3fd)](),this[_0x610e63(0x191)]=0x0;}};ue=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x34b8e6),A(0xa,_0x10c77b(X))],ue);let ae=class extends Re{constructor(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x3e57d0,_0x2b3068,_0x26689e,_0x19d5cd,_0x5de655,_0x14f00f,_0xdecefe,_0x473168){var _0x59f7de=_0x2a3857;super(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x19d5cd,_0xdecefe,_0x26689e,_0x473168),P(this,'status','awaiting_with_pending'),P(this,_0x59f7de(0x191),0x0),P(this,_0x59f7de(0x250)),P(this,_0x59f7de(0x41e)),(this['_injector']=_0x2b3068,this[_0x59f7de(0x335)]=_0x5de655,this[_0x59f7de(0x26b)]=_0x14f00f,this[_0x59f7de(0x2c7)]=_0x473168,_0x3e57d0&&(this['_resendTimer']=_0x3e57d0,this[_0x59f7de(0x41e)]=this[_0x59f7de(0x250)][_0x59f7de(0x2cb)](({reqId:_0x66b41f,timeout:_0x2c8d97})=>{var _0x440b3a=_0x59f7de;this[_0x440b3a(0x2d2)](_0x66b41f,_0x2c8d97);})));}[_0x2a3857(0x317)](_0x7c1058){var _0x5d0540=_0x2a3857;return this['_pendingMutations'][_0x5d0540(0x271)](_0x7c1058),this;}[_0x2a3857(0x344)](_0x4262f4){var _0x204334=_0x2a3857;if(this['_checkMissing'](_0x4262f4))return this[_0x204334(0x329)](),this[_0x204334(0x158)][_0x204334(0x3a6)](te,this[_0x204334(0x12e)],this['type'],this[_0x204334(0x365)],this[_0x204334(0x3cf)],null,[_0x4262f4],this['_handler']);try{const _0x4fdaa5=this[_0x204334(0x26b)][_0x204334(0x180)]([_0x4262f4],[this['_awaitingChangeset']],!0x1);if(_0x41a995(_0x4fdaa5)){const {c1Prime:_0x5c2579,c2Prime:_0x37ceb6}=_0x4fdaa5,_0x492673=this['_transformService'][_0x204334(0x1c4)](_0x5c2579[0x0],this[_0x204334(0x3cf)]);if(_0x17f224(_0x492673)){const {c1Prime:_0x301bf1,m2Prime:_0x9b216f}=_0x492673;return this[_0x204334(0x3a0)](_0x301bf1),_0x37ceb6[0x0][_0x204334(0x2fa)]=this['_getCurrentRevision'](),this[_0x204334(0x329)](),this['_injector'][_0x204334(0x3a6)](ae,this[_0x204334(0x12e)],this[_0x204334(0x1ce)],_0x37ceb6[0x0],_0x9b216f,this[_0x204334(0x396)],void 0x0);}throw _0x492673[_0x204334(0x119)];}throw _0x4fdaa5['error'];}catch(_0x42f54b){return this[_0x204334(0x335)]['error'](_0x42f54b),this[_0x204334(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x23c9d1){var _0x5ce590=_0x2a3857;if(this[_0x5ce590(0x329)](),this['_checkMissing'](_0x23c9d1))return this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](te,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],null,this[_0x5ce590(0x3cf)],this['_awaitingChangeset'],[],this[_0x5ce590(0x396)]);this[_0x5ce590(0x289)]();const _0x566bb3=this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](oe,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],this[_0x5ce590(0x3cf)],this[_0x5ce590(0x396)]);return _0x566bb3[_0x5ce590(0x375)](),_0x566bb3[_0x5ce590(0x1e0)](),_0x566bb3;}[_0x2a3857(0x117)](_0x14dbfc){var _0x288ee2=_0x2a3857;return this[_0x288ee2(0x160)](!!(_0x14dbfc!=null&&_0x14dbfc['isPermissionRej']));}[_0x2a3857(0x2bb)](_0x2361a6){var _0xa39611=_0x2a3857;return this['_resendTimeout']>Di?this[_0xa39611(0x186)]():(this[_0xa39611(0x250)]=Ni(this[_0xa39611(0x191)],{'timeout':this[_0xa39611(0x191)],'reqId':_0x2361a6[_0xa39611(0x226)]}),this[_0xa39611(0x41e)]=this['_resendTimer'][_0xa39611(0x2cb)](({reqId:_0x55fd5a,timeout:_0x473136})=>{this['_resendWithTimeout'](_0x55fd5a,_0x473136);}),this);}['toggleOffline'](){var _0x4e806a=_0x2a3857;return this[_0x4e806a(0x329)](),this[_0x4e806a(0x158)]['createInstance'](fe,this[_0x4e806a(0x12e)],this[_0x4e806a(0x1ce)],this[_0x4e806a(0x365)],this['_pendingMutations'],this[_0x4e806a(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x581f8d=_0x2a3857;this[_0x581f8d(0x396)][_0x581f8d(0x237)](this[_0x581f8d(0x365)]);}[_0x2a3857(0x160)](_0x2ee836){var _0x4b1c2c=_0x2a3857;return this[_0x4b1c2c(0x329)](),this[_0x4b1c2c(0x158)][_0x4b1c2c(0x3a6)](de,this['unitID'],this[_0x4b1c2c(0x1ce)],null,this[_0x4b1c2c(0x3cf)],this[_0x4b1c2c(0x396)],_0x2ee836);}['_resendWithTimeout'](_0x30256d,_0x42b1ae){var _0x44dff7=_0x2a3857,_0xaabd99;_0x30256d===((_0xaabd99=this[_0x44dff7(0x365)])==null?void 0x0:_0xaabd99[_0x44dff7(0x226)])&&(this[_0x44dff7(0x2e9)](),this[_0x44dff7(0x191)]=_0x42b1ae===0x0?0x3e8:_0x42b1ae*0x2);}[_0x2a3857(0x329)](){var _0x2d9276=_0x2a3857,_0x586eea;(_0x586eea=this[_0x2d9276(0x41e)])==null||_0x586eea[_0x2d9276(0x3fd)](),this[_0x2d9276(0x191)]=0x0;}};ae=be([A(0x6,_0x21b3b2(_0x548366)),A(0x7,_0x21b3b2(_0x49a07f)),A(0x8,_0xd6fdcf),A(0x9,_0x4e1c8f),A(0xa,_0x59eb83),A(0xb,_0x34b8e6),A(0xc,_0x10c77b(X))],ae);let de=class extends Re{constructor(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x1baf51=!0x1,_0xe442ed,_0x4c1884,_0x12c179,_0x3773b3,_0x44dde7,_0x5ec1e2,_0x2ad5bd){var _0x1882a6=_0x2a3857;super(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x4c1884,_0x12c179,_0x3773b3,_0x2ad5bd),P(this,_0x1882a6(0x206),_0x1882a6(0x40f)),(this[_0x1882a6(0x12c)]=_0x1baf51,this['_permissionService']=_0xe442ed,this['_localeService']=_0x44dde7,this['_collaborationUIEventService']=_0x5ec1e2,this[_0x1882a6(0x2c7)]=_0x2ad5bd,this[_0x1882a6(0x355)](),this['_clearLocalCache'](),this[_0x1882a6(0x1ba)]());}[_0x2a3857(0x317)](){return this;}[_0x2a3857(0x344)](){return this;}[_0x2a3857(0x2a0)](){return this;}[_0x2a3857(0x117)](){return this;}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1e1cca=_0x2a3857,_0x5a78ab;(_0x5a78ab=this[_0x1e1cca(0x15c)])==null||_0x5a78ab[_0x1e1cca(0x233)](this['unitID'],this[_0x1e1cca(0x1ce)],null,[]);}[_0x2a3857(0x355)](){var _0x39d928=_0x2a3857;this[_0x39d928(0x12c)]?this[_0x39d928(0x30d)][_0x39d928(0x3db)]({'id':re[_0x39d928(0x13f)]}):this[_0x39d928(0x30d)]['emitEvent']({'id':re[_0x39d928(0x1dc)]});}[_0x2a3857(0x1ba)](){var _0x36873c=_0x2a3857;this[_0x36873c(0x11e)][_0x36873c(0x20e)](new _0x39ae2d(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x21b3b2(_0x1c05e3)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x21b3b2(_0x49a07f)),A(0xa,_0x21b3b2(_0x551f00)),A(0xb,_0x21b3b2(pe)),A(0xc,_0x10c77b(X))],de);let fe=class extends Re{constructor(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x21b17d,_0xc3e42b,_0x547f2e,_0x476f8a,_0x249907){var _0x387110=_0x2a3857;super(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x547f2e,_0x476f8a,_0xc3e42b,_0x249907),P(this,_0x387110(0x206),_0x387110(0x184)),this['_injector']=_0x21b17d;}[_0x2a3857(0x317)](_0x33453a){var _0x5bc161=_0x2a3857;return this[_0x5bc161(0x3cf)]['push'](_0x33453a),this[_0x5bc161(0x1e0)](),this;}[_0x2a3857(0x344)](_0x574ec){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2a3857(0x2a0)](){var _0x41bb55=_0x2a3857;throw new Error(_0x41bb55(0x1d9));}['onRemoteRej'](){var _0x21ac64=_0x2a3857;throw new Error(_0x21ac64(0x2df));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}['toggleOnline'](){var _0x5ab340=_0x2a3857;const {_injector:_0x16ef2a,_pendingMutations:_0x229ec1,_awaitingChangeset:_0x1f0471,unitID:_0x1e522c,_handler:_0x4efce8,type:_0x3b9aa1}=this,_0x3b3149=wi(_0x16ef2a,_0x1e522c,_0x3b9aa1,_0x1f0471,_0x229ec1,_0x4efce8);return _0x3b3149 instanceof oe?_0x3b3149['_schedule']():(_0x3b3149 instanceof ae||_0x3b3149 instanceof ue)&&_0x3b3149[_0x5ab340(0x2e9)](),_0x3b3149;}[_0x2a3857(0x2e9)](){var _0x5d1a3f=_0x2a3857;throw new Error(_0x5d1a3f(0x15b));}};fe=be([A(0x5,_0x21b3b2(_0x548366)),A(0x6,_0x21b3b2(_0x49a07f)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x10c77b(X))],fe);let te=class extends Re{constructor(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0x458856,_0x486729,_0xb78378,_0x284e25,_0x456b10,_0x366523,_0x3f5a08,_0x45e503,_0x3b28c8,_0x55c6b2){var _0x25e563=_0x2a3857;super(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0xb78378,_0x3f5a08,_0x45e503,_0x456b10,_0x55c6b2),P(this,_0x25e563(0x206),_0x25e563(0x316)),(this['_acknowledgedAwaitingChangeset']=_0x458856,this[_0x25e563(0x2e7)]=_0x486729,this[_0x25e563(0x158)]=_0x284e25,this[_0x25e563(0x335)]=_0x366523,this[_0x25e563(0x26b)]=_0x3b28c8,this[_0x25e563(0x2c7)]=_0x55c6b2);}[_0x2a3857(0x1c6)](_0x52d58d){var _0x59a0d0=_0x2a3857;try{const _0x4cb99c=[..._0x52d58d,...this[_0x59a0d0(0x2e7)]],_0x6f357c=[this[_0x59a0d0(0x365)]||this['_acknowledgedAwaitingChangeset']][_0x59a0d0(0x166)](_0x5ad64d=>!!_0x5ad64d);let _0xefc925,_0x2cda01;if(_0x6f357c[_0x59a0d0(0x32e)]){const _0x4e9cd6=this[_0x59a0d0(0x26b)][_0x59a0d0(0x180)](_0x4cb99c,_0x6f357c,!0x1);if(!_0x41a995(_0x4e9cd6))throw _0x4e9cd6[_0x59a0d0(0x119)];_0xefc925=_0x4e9cd6[_0x59a0d0(0x2a8)],_0x2cda01=_0x4e9cd6[_0x59a0d0(0x265)];}else _0xefc925=_0x4cb99c,_0x2cda01=[];let _0x4a608d=this[_0x59a0d0(0x3cf)];_0xefc925[_0x59a0d0(0x168)](_0x115d6f=>{var _0x2b0b12=_0x59a0d0;let _0x631120;if(_0x4a608d[_0x2b0b12(0x32e)]){const _0x4e19cf=this['_transformService'][_0x2b0b12(0x1c4)](_0x115d6f,_0x4a608d);if(!_0x17f224(_0x4e19cf))throw _0x4e19cf[_0x2b0b12(0x119)];_0x631120=_0x4e19cf[_0x2b0b12(0x2a8)],_0x4a608d=_0x4e19cf[_0x2b0b12(0x19d)];}else _0x631120=_0x115d6f;this[_0x2b0b12(0x3a0)](_0x631120);}),this[_0x59a0d0(0x273)]&&this[_0x59a0d0(0x289)](),this[_0x59a0d0(0x365)]&&_0x2cda01[_0x59a0d0(0x32e)]&&(_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)]());let _0x3e64b6;if(this['_awaitingChangeset']&&_0x4a608d[_0x59a0d0(0x32e)]!==0x0)_0x3e64b6=this[_0x59a0d0(0x158)][_0x59a0d0(0x3a6)](ae,this[_0x59a0d0(0x12e)],this['type'],_0x2cda01[0x0],_0x4a608d,this['_handler'],void 0x0);else{if(this[_0x59a0d0(0x365)]&&_0x4a608d['length']===0x0)_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)](),_0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](ue,this['unitID'],this[_0x59a0d0(0x1ce)],_0x2cda01[0x0],this['_handler']);else{if(_0x4a608d[_0x59a0d0(0x32e)]!==0x0){const _0x3b9930=this[_0x59a0d0(0x158)]['createInstance'](oe,this['unitID'],this[_0x59a0d0(0x1ce)],_0x4a608d,this[_0x59a0d0(0x396)]);_0x3b9930['_schedule'](),_0x3e64b6=_0x3b9930;}else _0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](Pe,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_handler']);}}return _0x3e64b6[_0x59a0d0(0x1e0)](),_0x3e64b6;}catch(_0x33c353){return this[_0x59a0d0(0x335)][_0x59a0d0(0x119)]('[FetchMissState]',_0x59a0d0(0x23b),_0x33c353),this[_0x59a0d0(0x158)]['createInstance'](de,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_awaitingChangeset'],this[_0x59a0d0(0x3cf)],this[_0x59a0d0(0x396)],!0x1);}}[_0x2a3857(0x2e9)](){var _0x345b0f=_0x2a3857;throw new Error(_0x345b0f(0x2f6));}['appendMutation'](_0x10705d){var _0x24ba6a=_0x2a3857;return this[_0x24ba6a(0x3cf)]['push'](_0x10705d),this;}[_0x2a3857(0x344)](_0x3b2635){var _0x55eb4e=_0x2a3857;return this[_0x55eb4e(0x2e7)]['push'](_0x3b2635),this;}[_0x2a3857(0x2a0)](_0x5c0c67){var _0x5bcf00=_0x2a3857;if(this['_awaitingChangeset'])return this[_0x5bcf00(0x273)]=this[_0x5bcf00(0x365)],this[_0x5bcf00(0x365)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2a3857(0x117)](_0x32ff85){return this['_onConflict'](!!(_0x32ff85!=null&&_0x32ff85['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2a3857(0x186)](){var _0x27c7f7=_0x2a3857;return this[_0x27c7f7(0x158)][_0x27c7f7(0x3a6)](fe,this[_0x27c7f7(0x12e)],this[_0x27c7f7(0x1ce)],this[_0x27c7f7(0x365)],this[_0x27c7f7(0x3cf)],this['_handler']);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x160)](_0x5763c3){var _0x1d644d=_0x2a3857;return this[_0x1d644d(0x158)][_0x1d644d(0x3a6)](de,this[_0x1d644d(0x12e)],this[_0x1d644d(0x1ce)],this[_0x1d644d(0x365)],this[_0x1d644d(0x3cf)],this['_handler'],_0x5763c3);}};te=be([A(0x7,_0x21b3b2(_0x548366)),A(0x8,_0x21b3b2(_0x49a07f)),A(0x9,_0x4e1c8f),A(0xa,_0xd6fdcf),A(0xb,_0x34b8e6),A(0xc,_0x59eb83),A(0xd,_0x10c77b(X))],te);function wi(_0x5a4c59,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70){var _0x4cbfb7=_0x2a3857;return _0x3a5a59&&_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59[_0x4cbfb7(0x3a6)](ae,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70,void 0x0):_0x3a5a59?_0x5a4c59[_0x4cbfb7(0x3a6)](ue,_0x445027,_0x226485,_0x3a5a59,_0x145d70):_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59['createInstance'](oe,_0x445027,_0x226485,_0x55d874,_0x145d70):_0x5a4c59[_0x4cbfb7(0x3a6)](Pe,_0x445027,_0x226485,_0x145d70);}var Rs=Object['defineProperty'],ys=Object[_0x2a3857(0x1e9)],Mt=(_0x3ea904,_0x58e52f,_0x3cfb80,_0x10551a)=>{var _0x308364=_0x2a3857;for(var _0x2a5947=_0x10551a>0x1?void 0x0:_0x10551a?ys(_0x58e52f,_0x3cfb80):_0x58e52f,_0x3ee358=_0x3ea904[_0x308364(0x32e)]-0x1,_0x32ad56;_0x3ee358>=0x0;_0x3ee358--)(_0x32ad56=_0x3ea904[_0x3ee358])&&(_0x2a5947=(_0x10551a?_0x32ad56(_0x58e52f,_0x3cfb80,_0x2a5947):_0x32ad56(_0x2a5947))||_0x2a5947);return _0x10551a&&_0x2a5947&&Rs(_0x58e52f,_0x3cfb80,_0x2a5947),_0x2a5947;},k=(_0x25132d,_0x1ee35f)=>(_0x58c619,_0x54e159)=>_0x1ee35f(_0x58c619,_0x54e159,_0x25132d);let st=class extends _0x3f0249{constructor(_0x1f29ec,_0x85d55e,_0x18795a,_0x5e1c1b,_0x4c0774,_0x147119,_0x49f247,_0x221d69,_0x2d241f,_0x19a134,_0x571f3d,_0x25ef2f,_0x56d21b){var _0x21f8a9=_0x2a3857;super(),P(this,_0x21f8a9(0x1e4),new _0x500ff8(null)),P(this,_0x21f8a9(0x3dc),this[_0x21f8a9(0x1e4)]['asObservable']()),P(this,_0x21f8a9(0x259)),P(this,_0x21f8a9(0x24e),!0x1),P(this,_0x21f8a9(0x399),''),P(this,_0x21f8a9(0x20f),0x0),P(this,'status$',this[_0x21f8a9(0x3dc)][_0x21f8a9(0x369)](_0x45e7c7(_0x650a40=>_0x650a40?_0x650a40[_0x21f8a9(0x206)]:Pi[_0x21f8a9(0x32b)]),_0x2bcada(0x1))),P(this,_0x21f8a9(0x400),!0x1),P(this,_0x21f8a9(0x2ef),[]),(this['unitID']=_0x1f29ec,this[_0x21f8a9(0x3f5)]=_0x85d55e,this['_type']=_0x18795a,this['_injector']=_0x5e1c1b,this[_0x21f8a9(0x2ab)]=_0x4c0774,this[_0x21f8a9(0x1ad)]=_0x147119,this[_0x21f8a9(0x17a)]=_0x49f247,this[_0x21f8a9(0x39c)]=_0x221d69,this['_logService']=_0x2d241f,this['_commandService']=_0x19a134,this['_permissionService']=_0x571f3d,this['_singleActiveUnitService']=_0x25ef2f,this[_0x21f8a9(0x15c)]=_0x56d21b);}get[_0x2a3857(0x2dd)](){var _0x468306=_0x2a3857;return this[_0x468306(0x259)];}async[_0x2a3857(0x1de)](){var _0x362316=_0x2a3857;if(this[_0x362316(0x2dd)])throw new Error(_0x362316(0x341));await this[_0x362316(0x2a1)]();}[_0x2a3857(0x3c1)](){return this['_collaborationPaused']=!0x0,_0x30af1d(()=>{var _0x4d9d76=_0x5b8f;this[_0x4d9d76(0x24e)]=!0x1,this[_0x4d9d76(0x3b5)]();});}['onLocalMutation'](_0xc59779){var _0x26e147=_0x2a3857;this[_0x26e147(0x227)](_0xc59779);}['_updateState'](_0x338592){var _0x28b838=_0x2a3857;this[_0x28b838(0x259)]=_0x338592,this[_0x28b838(0x1e4)][_0x28b838(0x386)](_0x338592);}async[_0x2a3857(0x2a1)](){var _0x1ebeaf=_0x2a3857,_0x546d09;this['_updateState'](await this[_0x1ebeaf(0x305)]()),this[_0x1ebeaf(0x1aa)]&&((_0x546d09=this[_0x1ebeaf(0x1aa)])==null||_0x546d09[_0x1ebeaf(0x27c)](this[_0x1ebeaf(0x12e)]),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x1aa)][_0x1ebeaf(0x278)](this[_0x1ebeaf(0x12e)])[_0x1ebeaf(0x2cb)](_0x5a0147=>{var _0x429107=_0x1ebeaf;this[_0x429107(0x335)][_0x429107(0x412)](_0x429107(0x2db),_0x429107(0x1c8),_0x5a0147),_0x5a0147===Oi[_0x429107(0x2bf)]?(this['_eventService']['emitEvent']({'id':re[_0x429107(0x3c4)]}),this['_permissionService']['updatePermissionPoint'](new _0x39ae2d(this['unitID'])['id'],!0x1),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x1)):(this[_0x429107(0x11e)][_0x429107(0x20e)](new _0x39ae2d(this[_0x429107(0x12e)])['id'],!0x0),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x0));})));let _0x356332=!0x1;return this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x376)][_0x1ebeaf(0x2cb)](_0x3b19f5=>{var _0x25d69c=_0x1ebeaf;_0x3b19f5===Te['ONLINE']?this[_0x25d69c(0x1dd)](_0x356332):_0x3b19f5===Te[_0x25d69c(0x32b)]&&(_0x356332=!0x0,this['_toggleOffline']());})),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x2a9)]['subscribe'](_0x4fd8a2=>{var _0x421209=_0x1ebeaf;try{switch(_0x4fd8a2[_0x421209(0x383)]){case _0x562849[_0x421209(0x174)]:{this[_0x421209(0x2dc)](_0x286142(_0x4fd8a2[_0x421209(0x13b)]));break;}case _0x562849[_0x421209(0x16c)]:{this['_onRemoteACK'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x1d1)]:{this[_0x421209(0x41b)]();break;}case _0x562849[_0x421209(0x3c3)]:{this['_onRemoteRetry'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x36a)]:{this[_0x421209(0x11b)](_0x4fd8a2['data'][_0x421209(0x350)][_0x421209(0x35c)](_0x335873=>_0x286142(_0x335873)));break;}case _0x562849['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x562849['UNISCRIPT_RUN']:break;}}catch(_0x55b3ef){throw console[_0x421209(0x119)]('Error\x20on\x20receiving\x20event',_0x55b3ef),_0x55b3ef;}})),this['_state'];}[_0x2a3857(0x291)](){var _0x14c147=_0x2a3857;this[_0x14c147(0x400)]=!0x1;}[_0x2a3857(0x157)](){var _0x567516=_0x2a3857;if(this[_0x567516(0x400)])throw new Error(_0x567516(0x2b1));this[_0x567516(0x400)]=!0x0;}[_0x2a3857(0x227)](_0x474b97){var _0x5ea0ea=_0x2a3857;this[_0x5ea0ea(0x157)](),this[_0x5ea0ea(0x303)](this[_0x5ea0ea(0x259)][_0x5ea0ea(0x317)](_0x474b97)),this[_0x5ea0ea(0x291)]();}[_0x2a3857(0x2dc)](_0x548215){var _0xfc0c98=_0x2a3857;if(!(_0x548215[_0xfc0c98(0x1d7)]<=this[_0xfc0c98(0x17a)]['getCurrentRevOfUnit'](this[_0xfc0c98(0x12e)]))){if(this[_0xfc0c98(0x24e)]){this[_0xfc0c98(0x2ef)][_0xfc0c98(0x271)](_0x548215);return;}this[_0xfc0c98(0x3f0)](_0x548215);}}[_0x2a3857(0x3b5)](){var _0x7fb84e=_0x2a3857;this[_0x7fb84e(0x2ef)][_0x7fb84e(0x168)](_0x2549bf=>this[_0x7fb84e(0x3f0)](_0x2549bf)),this['_remoteChangesetQueue']=[];}[_0x2a3857(0x3f0)](_0x54e4d8){var _0x87df99=_0x2a3857;const _0x7b9a98=this[_0x87df99(0x2ab)][_0x87df99(0x254)][_0x87df99(0x145)](this[_0x87df99(0x2ab)][_0x87df99(0x254)]['getInterceptPoints']()[_0x87df99(0x150)])(_0x54e4d8[_0x87df99(0x22a)],null)||_0x54e4d8[_0x87df99(0x22a)],_0x1f092a={..._0x54e4d8,'mutations':_0x7b9a98};this[_0x87df99(0x157)](),this[_0x87df99(0x303)](this[_0x87df99(0x259)][_0x87df99(0x344)](_0x1f092a)),this['_unlockTransition']();}['_onRemoteACK'](_0x1db023){var _0x220108=_0x2a3857;this[_0x220108(0x157)](),this[_0x220108(0x303)](this[_0x220108(0x259)][_0x220108(0x2a0)](_0x1db023)),this[_0x220108(0x291)]();}[_0x2a3857(0x41b)](_0x1ab05f){var _0x272839=_0x2a3857;this[_0x272839(0x157)](),this['_updateState'](this[_0x272839(0x259)][_0x272839(0x117)](_0x1ab05f)),this[_0x272839(0x291)]();}['_onRemoteRetry'](_0x3029db){var _0x5c1aa5=_0x2a3857;this[_0x5c1aa5(0x157)](),this['_updateState'](this[_0x5c1aa5(0x259)][_0x5c1aa5(0x2bb)](_0x3029db)),this[_0x5c1aa5(0x291)]();}['_onFetchMissResult'](_0x1f930b){var _0x4be97e=_0x2a3857;if(!(this[_0x4be97e(0x259)]instanceof te))throw new TypeError(_0x4be97e(0x1fa));const _0x55022a=_0x1f930b[_0x4be97e(0x35c)](_0x532cfa=>{var _0x45dd6c=_0x4be97e;const _0x1bc8f9=this[_0x45dd6c(0x2ab)][_0x45dd6c(0x254)][_0x45dd6c(0x145)](this['_compressMutationService'][_0x45dd6c(0x254)][_0x45dd6c(0x3f7)]()[_0x45dd6c(0x150)])(_0x532cfa[_0x45dd6c(0x22a)],null)||_0x532cfa[_0x45dd6c(0x22a)];return{..._0x532cfa,'mutations':_0x1bc8f9};});this[_0x4be97e(0x157)](),this[_0x4be97e(0x303)](this[_0x4be97e(0x259)][_0x4be97e(0x1c6)](_0x55022a)),this[_0x4be97e(0x291)]();}[_0x2a3857(0x3ee)](){var _0x27dc49=_0x2a3857;this[_0x27dc49(0x157)](),this[_0x27dc49(0x303)](this['_state']['toggleOffline']()),this[_0x27dc49(0x291)]();}[_0x2a3857(0x1dd)](_0x5270ad=!0x1){var _0x1ae813=_0x2a3857;this[_0x1ae813(0x157)](),this[_0x1ae813(0x303)](this[_0x1ae813(0x259)][_0x1ae813(0x361)]()),this[_0x1ae813(0x291)]();const _0x4ed9e4=this[_0x1ae813(0x259)];_0x5270ad&&_0x4ed9e4 instanceof Pe&&(this['_lockTransition'](),this[_0x1ae813(0x303)](_0x4ed9e4[_0x1ae813(0x17d)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x14981d=>{var _0x557f31=_0x5b8f;this[_0x557f31(0x3f5)]['sessionStatus$'][_0x557f31(0x369)](_0x20e9c1(0x1))[_0x557f31(0x2cb)](async _0x45bf79=>{var _0x4d1ec1=_0x557f31;_0x14981d(await this[_0x4d1ec1(0x368)](_0x45bf79===Te['ONLINE']));});});}[_0x2a3857(0x418)](){var _0x3a6874=_0x2a3857;const _0x2da51b=this[_0x3a6874(0x12e)];return{'onStateChange':(_0x446459,_0x3843f9)=>{var _0x16cc9b=_0x3a6874;if(_0x446459!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x446459[_0x16cc9b(0x206)]+_0x16cc9b(0x363)+_0x3843f9[_0x16cc9b(0x206)]+'\x0aCurrent:\x20'+this[_0x16cc9b(0x259)]['status']);this[_0x16cc9b(0x303)](_0x3843f9);},'onSendChangeset':_0x46bc17=>{var _0x414ca5=_0x3a6874;_0x46bc17[_0x414ca5(0x38e)]||(_0x46bc17[_0x414ca5(0x38e)]=this[_0x414ca5(0x399)],_0x46bc17['reqId']=++this[_0x414ca5(0x20f)]);const _0x1f9054={'eventID':_0x562849[_0x414ca5(0x352)],'data':{'unitID':_0x46bc17['unitID'],'unitType':this[_0x414ca5(0x293)],'changeset':_0x46bc17,'memberID':this['session'][_0x414ca5(0x3b9)]()}};this[_0x414ca5(0x3f5)]['send'](_0x1f9054,this[_0x414ca5(0x12e)]);},'onMissingChangesets':({from:_0x44f004,to:_0x52b1e8})=>{var _0x310272=_0x3a6874;this['_logService'][_0x310272(0x412)](_0x310272(0x2db),_0x310272(0x23c)+_0x44f004+'\x20to\x20'+_0x52b1e8);const _0x3cfba8={'eventID':_0x562849[_0x310272(0x1e7)],'data':{'unitID':_0x2da51b,'unitType':this[_0x310272(0x293)],'from':_0x44f004,'to':_0x52b1e8}};this[_0x310272(0x3f5)]['send'](_0x3cfba8,this[_0x310272(0x12e)]);}};}async['_createInitialStateImpl'](_0x216d6d){var _0xed205c=_0x2a3857,_0x18b252,_0x1c83b2,_0x32facd;const _0x2c57c6=await((_0x18b252=this[_0xed205c(0x15c)])==null?void 0x0:_0x18b252[_0xed205c(0x3ac)](this[_0xed205c(0x12e)])),_0x20fcec=(_0x1c83b2=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x22a)])!=null?_0x1c83b2:[],_0x2205ca=(_0x32facd=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x398)])!=null?_0x32facd:null,_0x3f5984=!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x38e)])&&!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x226)]);this[_0xed205c(0x399)]=_0x3f5984?_0x2205ca[_0xed205c(0x38e)]:vs(),this[_0xed205c(0x20f)]=_0x3f5984?_0x2205ca['reqId']:0x0;const _0x2545a8=this[_0xed205c(0x12e)];try{this['_replayCachedMutations'](_0x2205ca,_0x20fcec);}catch(_0x10fc2f){this[_0xed205c(0x335)][_0xed205c(0x119)](_0x10fc2f);}const _0xfe6082=this[_0xed205c(0x418)]();if(_0x216d6d){const _0x38000c=wi(this[_0xed205c(0x158)],_0x2545a8,this['_type'],_0x2205ca,_0x20fcec,_0xfe6082);return _0x38000c instanceof oe?_0x38000c[_0xed205c(0x375)]():(_0x38000c instanceof ae||_0x38000c instanceof ue)&&_0x38000c[_0xed205c(0x2e9)](),_0x38000c;}return this[_0xed205c(0x158)][_0xed205c(0x3a6)](fe,_0x2545a8,this[_0xed205c(0x293)],_0x2205ca,_0x20fcec,_0xfe6082);}[_0x2a3857(0x2cf)](_0x2b27c8,_0x586e95){var _0x25fba3=_0x2a3857,_0x2f53c6,_0x2c48e9;const _0xab13d3=this[_0x25fba3(0x2ab)][_0x25fba3(0x254)]['fetchThroughInterceptors'](this[_0x25fba3(0x2ab)]['interceptor'][_0x25fba3(0x3f7)]()[_0x25fba3(0x150)]);(_0x2f53c6=_0xab13d3((_0x2b27c8==null?void 0x0:_0x2b27c8[_0x25fba3(0x22a)])||[],null))==null||_0x2f53c6['forEach'](_0x325cd9=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x325cd9['id'],_0x325cd9['params'])),(_0x2c48e9=_0xab13d3(_0x586e95||[],null))==null||_0x2c48e9[_0x25fba3(0x168)](_0x236f9a=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x236f9a['id'],_0x236f9a[_0x25fba3(0x146)]));}};st=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],st);let Ct=class extends st{constructor(_0x56e33c,_0x2647c2,_0x4ea707,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028){var _0x1dc5b2=_0x2a3857;super(_0x56e33c,_0x4ea707,_0x2647c2,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028),P(this,_0x1dc5b2(0x172),null),(this['unitID']=_0x56e33c,this[_0x1dc5b2(0x1ce)]=_0x2647c2);}[_0x2a3857(0x34b)](_0x314cbc){var _0x444e4d=_0x2a3857;this[_0x444e4d(0x172)]=_0x314cbc;}['dispose'](){var _0x4369d5=_0x2a3857;this['_handlerCallback']=null,super[_0x4369d5(0x3d7)]();}[_0x2a3857(0x418)](){var _0x4cefb7=_0x2a3857;const _0x57c49d=super[_0x4cefb7(0x418)]();return _0x57c49d[_0x4cefb7(0x2ff)]=_0x541694=>{var _0x55594b=_0x4cefb7,_0x237f19,_0x28e63d;return(_0x28e63d=(_0x237f19=this['_handlerCallback'])==null?void 0x0:_0x237f19[_0x55594b(0x2ff)])==null?void 0x0:_0x28e63d[_0x55594b(0x15a)](_0x237f19,_0x541694);},_0x57c49d[_0x4cefb7(0x2f0)]=_0x1d92cb=>{var _0x3ad951=_0x4cefb7,_0x445699,_0x27ce48;return(_0x27ce48=(_0x445699=this[_0x3ad951(0x172)])==null?void 0x0:_0x445699['onTransformState'])==null?void 0x0:_0x27ce48['call'](_0x445699,_0x1d92cb);},_0x57c49d[_0x4cefb7(0x338)]=_0x5f6685=>{var _0x371dad=_0x4cefb7,_0x828b14,_0x5034c8;return(_0x5034c8=(_0x828b14=this[_0x371dad(0x172)])==null?void 0x0:_0x828b14['onTransformSelections'])==null?void 0x0:_0x5034c8[_0x371dad(0x15a)](_0x828b14,_0x5f6685);},_0x57c49d['onSyncEditingCollabCursor']=_0x284965=>{var _0x3d8f93=_0x4cefb7,_0x4e9658,_0x55039b;return(_0x55039b=(_0x4e9658=this[_0x3d8f93(0x172)])==null?void 0x0:_0x4e9658[_0x3d8f93(0x1d0)])==null?void 0x0:_0x55039b[_0x3d8f93(0x15a)](_0x4e9658,_0x284965);},_0x57c49d['onTransformRemoteChangesetByIMECache']=_0x136834=>{var _0x5ed418=_0x4cefb7,_0x2bf71f,_0x3629e4,_0x55939a;if(!((_0x2bf71f=this['_handlerCallback'])!=null&&_0x2bf71f[_0x5ed418(0x17e)]))throw new Error(_0x5ed418(0x1f6));return(_0x55939a=(_0x3629e4=this['_handlerCallback'])==null?void 0x0:_0x3629e4[_0x5ed418(0x17e)])==null?void 0x0:_0x55939a[_0x5ed418(0x15a)](_0x3629e4,_0x136834);},_0x57c49d[_0x4cefb7(0x2bc)]=_0x325eb5=>{var _0x51ea2e=_0x4cefb7,_0x14deb2,_0x476ef1,_0x1a0082;if(!((_0x14deb2=this[_0x51ea2e(0x172)])!=null&&_0x14deb2[_0x51ea2e(0x2bc)]))throw new Error(_0x51ea2e(0x370));return(_0x1a0082=(_0x476ef1=this[_0x51ea2e(0x172)])==null?void 0x0:_0x476ef1['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1a0082[_0x51ea2e(0x15a)](_0x476ef1,_0x325eb5);},_0x57c49d;}async[_0x2a3857(0x2a1)](){var _0xfb83bb=_0x2a3857;const _0x3c7f95=await super['_init']();return this[_0xfb83bb(0x1c1)](this['_commandService']['onCommandExecuted']((_0x283cbb,_0x4d30a5)=>{var _0x20f92d=_0xfb83bb;if(_0x283cbb['type']!==_0xab8d9d[_0x20f92d(0x31a)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x342)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x253)]||_0x283cbb['id']===_0x117fd1['id'])return;const _0x2921f7=_0x283cbb['params'];if((_0x2921f7==null?void 0x0:_0x2921f7['unitId'])!==this['unitID'])return;const _0x1f788b=_0x283cbb,_0x47163e=this[_0x20f92d(0x2ab)][_0x20f92d(0x254)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x20f92d(0x254)][_0x20f92d(0x3f7)]()[_0x20f92d(0x26c)])([_0x1f788b],null)||[_0x1f788b];this[_0x20f92d(0x227)](_0x47163e[0x0]);})),_0x3c7f95;}};Ct=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],Ct);let bt=class extends st{constructor(_0x45f192,_0x12ea06,_0x2f4053,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x1bfd0d,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a){var _0x50b20a=_0x2a3857;super(_0x45f192,_0x2f4053,_0x12ea06,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a),this['unitID']=_0x45f192,this[_0x50b20a(0x1ce)]=_0x12ea06,this[_0x50b20a(0x263)]=_0x1bfd0d;}[_0x2a3857(0x418)](){var _0x2b142c=_0x2a3857;const _0x1ccab9=super['_createHandler']();return _0x1ccab9['onTransformSelections']=_0x2cfffc=>this[_0x2b142c(0x263)]['transformSelections'](_0x2cfffc),_0x1ccab9;}async[_0x2a3857(0x2a1)](){var _0x393bd1=_0x2a3857;const _0x2fe3e8=await super['_init']();return this['disposeWithMe'](this[_0x393bd1(0x143)]['onCommandExecuted']((_0x2e6913,_0x4d1499)=>{var _0x2c719d=_0x393bd1;if(_0x2e6913[_0x2c719d(0x1ce)]!==_0xab8d9d[_0x2c719d(0x31a)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x342)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x253)])return;const _0x4ef358=_0x2e6913[_0x2c719d(0x146)];if((_0x4ef358==null?void 0x0:_0x4ef358[_0x2c719d(0x2b7)])!==this['unitID'])return;const _0x2117d5=_0x2e6913,_0x47dc81=this[_0x2c719d(0x2ab)][_0x2c719d(0x254)]['fetchThroughInterceptors'](this[_0x2c719d(0x2ab)]['interceptor'][_0x2c719d(0x3f7)]()['COMPRESS_MUTATION_SEND'])([_0x2117d5],null)||[_0x2117d5];this[_0x2c719d(0x227)](_0x47dc81[0x0]);})),_0x2fe3e8;}};bt=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(nt)),k(0x8,_0x21b3b2(pe)),k(0x9,_0x4e1c8f),k(0xa,_0xd6fdcf),k(0xb,_0x1c05e3),k(0xc,_0x10c77b(_t)),k(0xd,_0x10c77b(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x2a3857(0x1e9)],Ps=(_0x6b645a,_0x4e9aef,_0xc4893d,_0x305a4c)=>{for(var _0x306299=_0x305a4c>0x1?void 0x0:_0x305a4c?Ns(_0x4e9aef,_0xc4893d):_0x4e9aef,_0x425f53=_0x6b645a['length']-0x1,_0x51e57d;_0x425f53>=0x0;_0x425f53--)(_0x51e57d=_0x6b645a[_0x425f53])&&(_0x306299=(_0x305a4c?_0x51e57d(_0x4e9aef,_0xc4893d,_0x306299):_0x51e57d(_0x306299))||_0x306299);return _0x305a4c&&_0x306299&&Os(_0x4e9aef,_0xc4893d,_0x306299),_0x306299;},vt=(_0x54782f,_0x967b02)=>(_0x49d68e,_0x290d43)=>_0x967b02(_0x49d68e,_0x290d43,_0x54782f);let rt=class extends _0x3f0249{constructor(_0xa550a0,_0x447dc8,_0x47de5d){var _0x19ad78=_0x2a3857;super(),P(this,_0x19ad78(0x181),new Map()),P(this,_0x19ad78(0x2a3),new _0x282fa7()),P(this,_0x19ad78(0x307),this[_0x19ad78(0x2a3)]['asObservable']()),(this[_0x19ad78(0x158)]=_0xa550a0,this[_0x19ad78(0x1b1)]=_0x447dc8,this[_0x19ad78(0x3cd)]=_0x47de5d,this[_0x19ad78(0x2a1)]());}[_0x2a3857(0x3d7)](){var _0x532f5d=_0x2a3857;super[_0x532f5d(0x3d7)](),this[_0x532f5d(0x181)][_0x532f5d(0x168)](_0x9d6f0a=>_0x9d6f0a['dispose']()),this[_0x532f5d(0x181)][_0x532f5d(0x38d)]();}['getCollabEntity'](_0x3cf098){var _0x14effc=_0x2a3857,_0x4b74bc;return(_0x4b74bc=this[_0x14effc(0x181)][_0x14effc(0x21d)](_0x3cf098))!=null?_0x4b74bc:null;}['getCollabEntity$'](_0x404c46){var _0x5b7ca4=_0x2a3857;const _0x5b4c34=this[_0x5b7ca4(0x304)](_0x404c46);return _0x5b4c34?_0x59284b(_0x5b4c34):this[_0x5b7ca4(0x2a3)][_0x5b7ca4(0x369)](_0x5bfb9e(_0x3f46d5=>_0x3f46d5[_0x5b7ca4(0x12e)]===_0x404c46));}[_0x2a3857(0x130)](_0x13ed45){var _0xc7e990=_0x2a3857;return _0x3b9423(this[_0xc7e990(0x28f)](_0x13ed45)[_0xc7e990(0x369)](_0x4bf464(()=>{})));}[_0x2a3857(0x2a1)](){var _0x4fdd02=_0x2a3857;this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07['UNIVER_SHEET'])[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]),_0x1e0965(0x10))[_0x4fdd02(0x2cb)](async _0x292a1a=>{var _0x455c15=_0x4fdd02;const _0xd1e96d=_0x292a1a[_0x455c15(0x3b4)](),_0x32d709=await this[_0x455c15(0x2e5)](_0xd1e96d,Q[_0x455c15(0x292)]);this['_entities'][_0x455c15(0x3d2)](_0xd1e96d,_0x32d709);}),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07[_0x4fdd02(0x1d6)])[_0x4fdd02(0x369)](_0x49b26f(this['dispose$']),_0x1e0965(0x10))['pipe'](_0x5bfb9e(_0x441843=>!_0x441843[_0x4fdd02(0x3b4)]()[_0x4fdd02(0x3a1)]('__')))[_0x4fdd02(0x2cb)](async _0xbe5876=>{var _0x1334a1=_0x4fdd02;const _0x5d3eee=_0xbe5876[_0x1334a1(0x3b4)](),_0x580ed9=await this[_0x1334a1(0x2e5)](_0x5d3eee,Q[_0x1334a1(0x1d6)]);this[_0x1334a1(0x181)][_0x1334a1(0x3d2)](_0x5d3eee,_0x580ed9);}),_0xc9cdeb(this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_SHEET']),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_DOC']))[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]))[_0x4fdd02(0x2cb)](_0x2c38c6=>{var _0x3cfc49=_0x4fdd02;const _0x7716c2=_0x2c38c6[_0x3cfc49(0x3b4)](),_0x488af2=this[_0x3cfc49(0x181)]['get'](_0x7716c2);_0x488af2&&(_0x488af2['dispose'](),this[_0x3cfc49(0x181)][_0x3cfc49(0x1a7)](_0x7716c2));});}async[_0x2a3857(0x2e5)](_0xfa1536,_0x47f7cd){var _0x5b02d1=_0x2a3857;const _0x2bee20=await this[_0x5b02d1(0x1b1)]['requireSession'](_0xfa1536),_0x3c1877=this[_0x5b02d1(0x158)][_0x5b02d1(0x3a6)](this[_0x5b02d1(0x3a7)](_0x47f7cd),_0xfa1536,_0x47f7cd,_0x2bee20);return await _0x3c1877[_0x5b02d1(0x1de)](),this[_0x5b02d1(0x2a3)][_0x5b02d1(0x386)](_0x3c1877),_0x3c1877;}[_0x2a3857(0x3a7)](_0x43e518){var _0x263292=_0x2a3857;switch(_0x43e518){case Q['UNIVER_DOC']:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error(_0x263292(0x2bd)+_0x43e518);}}};rt=Ps([vt(0x0,_0x21b3b2(_0x548366)),vt(0x1,_0x21b3b2(Le)),vt(0x2,_0x40e127)],rt);var Ds=Object[_0x2a3857(0x239)],ws=Object[_0x2a3857(0x1e9)],Us=(_0x4c3ce4,_0x36f714,_0x1eed1a,_0x378aec)=>{var _0x22ab70=_0x2a3857;for(var _0x260cf7=_0x378aec>0x1?void 0x0:_0x378aec?ws(_0x36f714,_0x1eed1a):_0x36f714,_0xdfeb56=_0x4c3ce4[_0x22ab70(0x32e)]-0x1,_0x48ff95;_0xdfeb56>=0x0;_0xdfeb56--)(_0x48ff95=_0x4c3ce4[_0xdfeb56])&&(_0x260cf7=(_0x378aec?_0x48ff95(_0x36f714,_0x1eed1a,_0x260cf7):_0x48ff95(_0x260cf7))||_0x260cf7);return _0x378aec&&_0x260cf7&&Ds(_0x36f714,_0x1eed1a,_0x260cf7),_0x260cf7;},Zt=(_0x2adefd,_0x164a7a)=>(_0x36b3b6,_0x11a530)=>_0x164a7a(_0x36b3b6,_0x11a530,_0x2adefd);const As='DEFAULT_FILE_NAME',xs='Univer';let Rt=class extends _0x2e140f{constructor(_0x5e548d,_0x1a172e){var _0x2b143b=_0x2a3857;super(),this[_0x2b143b(0x3cd)]=_0x5e548d,this['_configService']=_0x1a172e,this[_0x2b143b(0x2a1)]();}['_init'](){var _0x3d47c7=_0x2a3857;this['disposeWithMe'](this[_0x3d47c7(0x3cd)][_0x3d47c7(0x179)][_0x3d47c7(0x2cb)](()=>{var _0xce8287=_0x3d47c7,_0x2f2857;const _0x57b98d=this[_0xce8287(0x3cd)]['getFocusedUnit']();let _0x4adeef=(_0x2f2857=this[_0xce8287(0x205)][_0xce8287(0x122)](As))!=null?_0x2f2857:xs;_0x57b98d instanceof _0x115f48&&(_0x4adeef=_0x57b98d['name']),document[_0xce8287(0x210)]=_0x4adeef;}));}};Rt=Us([Zt(0x0,_0x40e127),Zt(0x1,_0x24bebb)],Rt);var Ls=Object[_0x2a3857(0x239)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1ea4a8,_0x27e667,_0xe74f6c,_0x4ab8a5)=>{var _0x5ceb5b=_0x2a3857;for(var _0x4b398f=_0x4ab8a5>0x1?void 0x0:_0x4ab8a5?Ms(_0x27e667,_0xe74f6c):_0x27e667,_0xc38d85=_0x1ea4a8[_0x5ceb5b(0x32e)]-0x1,_0x52e7ec;_0xc38d85>=0x0;_0xc38d85--)(_0x52e7ec=_0x1ea4a8[_0xc38d85])&&(_0x4b398f=(_0x4ab8a5?_0x52e7ec(_0x27e667,_0xe74f6c,_0x4b398f):_0x52e7ec(_0x4b398f))||_0x4b398f);return _0x4ab8a5&&_0x4b398f&&Ls(_0x27e667,_0xe74f6c,_0x4b398f),_0x4b398f;},pt=(_0x12348e,_0x163a28)=>(_0x6b2d41,_0x545a26)=>_0x163a28(_0x6b2d41,_0x545a26,_0x12348e);let ot=class{constructor(_0x1f8c79,_0x10be09,_0x2b13fa){var _0x3f5096=_0x2a3857;this[_0x3f5096(0x205)]=_0x1f8c79,this[_0x3f5096(0x330)]=_0x10be09,this[_0x3f5096(0x323)]=_0x2b13fa,this['init']();}[_0x2a3857(0x1de)](){var _0x5b6967=_0x2a3857;this[_0x5b6967(0x330)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x24c52b,_0x101dab)=>_0x101dab(_0x24c52b)[_0x5b6967(0x369)](_0xdf9ab4(async _0x464c71=>{var _0x334e86=_0x5b6967;const _0x2f768a=_0x464c71;if(_0x2f768a[_0x334e86(0x206)]===0x191){if(typeof window>'u')throw new Error(_0x334e86(0x1fb));if(window['confirm'](this[_0x334e86(0x323)]['t'](_0x334e86(0x2f3)))){const _0x316607=window[_0x334e86(0x1e8)](window[_0x334e86(0x38a)]['href']);window[_0x334e86(0x38a)][_0x334e86(0x13a)]=this['_getLoginPath']()+_0x334e86(0x325)+_0x316607;}}return _0x2f768a;}))});}[_0x2a3857(0x1c2)](){var _0x3e0963=_0x2a3857,_0x442a23,_0x530fb0;const _0x430c5e=this[_0x3e0963(0x205)][_0x3e0963(0x122)](Wn),_0x10aa4b=this[_0x3e0963(0x205)]['getConfig'](Y);return(_0x530fb0=(_0x442a23=_0x10aa4b==null?void 0x0:_0x10aa4b['loginUrlKey'])!=null?_0x442a23:_0x430c5e)!=null?_0x530fb0:Gn;}};ot=$s([pt(0x0,_0x24bebb),pt(0x1,_0x21b3b2(_0x4fa095)),pt(0x2,_0x21b3b2(_0x551f00))],ot);var Hs=Object[_0x2a3857(0x239)],ks=Object[_0x2a3857(0x1e9)],js=(_0x528c3c,_0xf15068,_0x15bbc2,_0x13998e)=>{for(var _0x57a992=_0x13998e>0x1?void 0x0:_0x13998e?ks(_0xf15068,_0x15bbc2):_0xf15068,_0x2f8682=_0x528c3c['length']-0x1,_0x383e5b;_0x2f8682>=0x0;_0x2f8682--)(_0x383e5b=_0x528c3c[_0x2f8682])&&(_0x57a992=(_0x13998e?_0x383e5b(_0xf15068,_0x15bbc2,_0x57a992):_0x383e5b(_0x57a992))||_0x57a992);return _0x13998e&&_0x57a992&&Hs(_0xf15068,_0x15bbc2,_0x57a992),_0x57a992;},Qt=(_0x4d79c1,_0xfe97da)=>(_0x1ccb84,_0x43839f)=>_0xfe97da(_0x1ccb84,_0x43839f,_0x4d79c1);const Ui=_0x2a3857(0x1b4),Bs=_0x2a3857(0x2da);let yt=class extends _0x2e140f{constructor(_0x11561d,_0x488d7b){var _0x4c917f=_0x2a3857;super(),this['_HTTPService']=_0x11561d,this[_0x4c917f(0x205)]=_0x488d7b,this[_0x4c917f(0x41c)]();}[_0x2a3857(0x41c)](){var _0x31e730=_0x2a3857;const _0x1f720e=this;this[_0x31e730(0x1c1)](this[_0x31e730(0x1ab)][_0x31e730(0x128)]({'priority':0x3e7,'interceptor':_0x105041({'isMatch'(_0x87c36a){var _0x21f627=_0x31e730,_0x1a677c;if(_0x87c36a[_0x21f627(0x2a4)]==='POST'&&((_0x1a677c=_0x87c36a[_0x21f627(0x3d5)])!=null&&_0x1a677c[_0x21f627(0x1a1)])){const {objectID:_0x1de9f4,objectType:_0x1ce262}=_0x87c36a[_0x21f627(0x3d5)][_0x21f627(0x1a1)]||{};if(!_0x1de9f4||_0x1ce262===void 0x0)return!0x1;const _0x3e0f10=_0x1f720e[_0x21f627(0x1b2)]()+'/'+_0x1ce262+_0x21f627(0x13d)+_0x1de9f4+_0x21f627(0x37d);if(_0x87c36a[_0x21f627(0x120)]===_0x3e0f10)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x41a5a1){var _0x1ee954=_0x31e730,_0x224653;return(_0x224653=_0x41a5a1[_0x1ee954(0x3d5)])==null?void 0x0:_0x224653['body'];},'mergeParamsToRequest'(_0x2d95a7,_0x4c827f){var _0x739583=_0x31e730;const _0x12bcae=_0x1f720e['_getAPIPrefixPath']()+_0x739583(0x1ee),_0x2f2800=_0x2d95a7['reduce']((_0x11c090,_0x2861b7)=>{var _0x10347f=_0x739583;const {unitID:_0xde74b8,objectID:_0x2ae822,objectType:_0x369a7d,actions:_0x22e271}=_0x2861b7;return _0x11c090[_0xde74b8]||(_0x11c090[_0xde74b8]={}),_0x11c090[_0xde74b8][_0x2ae822]||(_0x11c090[_0xde74b8][_0x2ae822]={'objectID':_0x2ae822,'objectType':_0x369a7d,'actions':[]}),_0x11c090[_0xde74b8][_0x2ae822][_0x10347f(0x3fc)][_0x10347f(0x271)](..._0x22e271),_0x11c090;},{}),_0x59f6ac=[];for(const _0x32a4c8 in _0x2f2800)for(const _0x11b8fe in _0x2f2800[_0x32a4c8]){const {actions:_0x53bbcd,objectType:_0x11a622}=_0x2f2800[_0x32a4c8][_0x11b8fe],_0x32cba6=[...new Set(_0x53bbcd)];_0x59f6ac[_0x739583(0x271)]({'unitID':_0x32a4c8,'objectID':_0x11b8fe,'objectType':_0x11a622,'actions':_0x32cba6});}return new _0x4403e8(_0x739583(0x2c2),_0x12bcae,{'headers':_0x4c827f[_0x739583(0x33b)],'withCredentials':_0x4c827f[_0x739583(0x2f9)],'responseType':_0x4c827f[_0x739583(0x35f)],'body':{'requests':_0x59f6ac}});}},{'distributeResult'(_0x241e2d,_0x41580f){var _0x518bb7=_0x31e730;const {objectActions:_0x3a1a8e}=_0x241e2d;return _0x41580f[_0x518bb7(0x35c)](_0x277412=>{var _0x3f3602=_0x518bb7;const {unitID:_0xd01bb9,objectID:_0x295708,actions:_0x245689}=_0x277412,_0x4fe570=_0x3a1a8e[_0x3f3602(0x189)](_0x58df80=>_0x58df80['unitID']===_0xd01bb9&&_0x58df80[_0x3f3602(0x129)]===_0x295708),_0x44ad18=_0x245689[_0x3f3602(0x35c)](_0x576988=>_0x4fe570==null?void 0x0:_0x4fe570[_0x3f3602(0x3fc)][_0x3f3602(0x189)](_0x83d518=>_0x83d518[_0x3f3602(0x3ad)]===_0x576988))[_0x3f3602(0x166)](_0x53f4a1=>!!_0x53f4a1);return{'config':_0x277412,'result':{'actions':_0x44ad18,'error':_0x241e2d[_0x3f3602(0x119)]}};});}})}));}[_0x2a3857(0x1b2)](){var _0x4e6a59=_0x2a3857,_0x3fb4ee,_0x1dff83;const _0x1ce4d9=this['_configService'][_0x4e6a59(0x122)](Ui),_0x2a7589=this[_0x4e6a59(0x205)][_0x4e6a59(0x122)](Y);return(_0x1dff83=(_0x3fb4ee=_0x2a7589==null?void 0x0:_0x2a7589[_0x4e6a59(0x334)])!=null?_0x3fb4ee:_0x1ce4d9)!=null?_0x1dff83:Bs;}async[_0x2a3857(0x3ea)](_0x38b18a){var _0x46ea15=_0x2a3857;const _0x5de59c=this[_0x46ea15(0x1b2)]()+'/'+_0x38b18a[_0x46ea15(0x2f8)]+_0x46ea15(0x409);return(await this[_0x46ea15(0x1ab)]['post'](_0x5de59c,{'body':_0x38b18a}))[_0x46ea15(0x1a1)][_0x46ea15(0x129)]||'';}async['list'](_0x4e9025){var _0x59977a=_0x2a3857;const _0x348f58=this[_0x59977a(0x1b2)]()+'/-/object/list';return(await this['_HTTPService'][_0x59977a(0x1f8)](_0x348f58,{'body':_0x4e9025}))[_0x59977a(0x1a1)][_0x59977a(0x21f)];}async[_0x2a3857(0x3a4)](_0x4ac845){var _0x18e6ec=_0x2a3857;const _0x2640a3=this[_0x18e6ec(0x1b2)]()+'/'+_0x4ac845[_0x18e6ec(0x2f8)]+_0x18e6ec(0x13d)+_0x4ac845[_0x18e6ec(0x129)];await this[_0x18e6ec(0x1ab)][_0x18e6ec(0x131)](_0x2640a3,{'body':_0x4ac845});}async[_0x2a3857(0x326)](_0x2f9e05){var _0x96002c=_0x2a3857;const _0x444d70=this[_0x96002c(0x1b2)]()+'/'+_0x2f9e05['objectType']+_0x96002c(0x13d)+_0x2f9e05[_0x96002c(0x129)]+_0x96002c(0x37d);return(await this[_0x96002c(0x1ab)][_0x96002c(0x1f8)](_0x444d70,{'body':_0x2f9e05}))[_0x96002c(0x1a1)][_0x96002c(0x3fc)];}async[_0x2a3857(0x318)](_0x30683b){var _0x44c583=_0x2a3857;const _0x1bd088=this[_0x44c583(0x1b2)]()+_0x44c583(0x1ee);return(await this[_0x44c583(0x1ab)]['post'](_0x1bd088,{'body':{'requests':_0x30683b}}))[_0x44c583(0x1a1)][_0x44c583(0x31e)];}async[_0x2a3857(0x16d)](_0x2a8758){var _0x2251f0=_0x2a3857;const _0x585b81=this['_getAPIPrefixPath']()+'/'+_0x2a8758[_0x2251f0(0x2f8)]+'/role',_0x12ca1e=await this[_0x2251f0(0x1ab)][_0x2251f0(0x1f8)](_0x585b81,{'body':_0x2a8758});return{'roles':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x313)],'actions':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x3fc)]};}async['deleteCollaborator'](_0x50443a){var _0x1d9ccb=_0x2a3857;const _0x36e3ac=this[_0x1d9ccb(0x1b2)]()+_0x1d9ccb(0x26d);await this['_HTTPService'][_0x1d9ccb(0x1a7)](_0x36e3ac,{'params':{'collaboratorID':_0x50443a[_0x1d9ccb(0x27f)],'objectID':_0x50443a[_0x1d9ccb(0x129)],'unitID':_0x50443a[_0x1d9ccb(0x12e)]}});}async[_0x2a3857(0x22c)](_0x1f9884){var _0x61417f=_0x2a3857;const _0x5866c5=this[_0x61417f(0x1b2)]()+'/collaborator';await this['_HTTPService'][_0x61417f(0x30c)](_0x5866c5,{'body':_0x1f9884});}async['createCollaborator'](_0x432f90){var _0x56e02d=_0x2a3857;const _0x2226d9=this[_0x56e02d(0x1b2)]()+'/collaborator';await this[_0x56e02d(0x1ab)][_0x56e02d(0x1f8)](_0x2226d9,{'body':_0x432f90});}async['listCollaborators'](_0x15e1a6){var _0x48ca35=_0x2a3857;const _0x5f581d=this[_0x48ca35(0x1b2)]()+_0x48ca35(0x26d);return(await this[_0x48ca35(0x1ab)]['get'](_0x5f581d,{'params':{'objectID':_0x15e1a6[_0x48ca35(0x129)],'unitID':_0x15e1a6[_0x48ca35(0x12e)]}}))['body'][_0x48ca35(0x3a8)];}async[_0x2a3857(0x2cc)](_0x6da29d){var _0x4f35a5=_0x2a3857;const _0x49d06e=this[_0x4f35a5(0x1b2)]()+_0x4f35a5(0x26d);await this['_HTTPService'][_0x4f35a5(0x131)](_0x49d06e,{'body':_0x6da29d});}};yt=js([Qt(0x0,_0x21b3b2(_0x4fa095)),Qt(0x1,_0x21b3b2(_0x24bebb))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3bbae1){var _0x1668ef=_0x2a3857;return _0x3bbae1&&_0x3bbae1[_0x1668ef(0x229)]&&Object[_0x1668ef(0x22e)][_0x1668ef(0x290)][_0x1668ef(0x15a)](_0x3bbae1,'default')?_0x3bbae1[_0x1668ef(0x382)]:_0x3bbae1;}var We={'exports':{}};function Fs(_0x6bb8f1){var _0x226b7e=_0x2a3857;throw new Error(_0x226b7e(0x209)+_0x6bb8f1+_0x226b7e(0x3de));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x490495=_0x2a3857;return ei||(ei=0x1,function(_0x1c5634,_0x527a8e){(function(_0x4b236b,_0x1b2cf4){var _0x3e5b5f=_0x5b8f;_0x1c5634[_0x3e5b5f(0x414)]=_0x1b2cf4();}(Vs,function(){var _0x3890a6=_0x3890a6||function(_0x55d6d6,_0x2ee6b0){var _0x5f4fe9=_0x5b8f,_0x2a1cdc;if(typeof window<'u'&&window[_0x5f4fe9(0x401)]&&(_0x2a1cdc=window[_0x5f4fe9(0x401)]),typeof self<'u'&&self[_0x5f4fe9(0x401)]&&(_0x2a1cdc=self[_0x5f4fe9(0x401)]),typeof globalThis<'u'&&globalThis[_0x5f4fe9(0x401)]&&(_0x2a1cdc=globalThis[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof window<'u'&&window[_0x5f4fe9(0x38c)]&&(_0x2a1cdc=window[_0x5f4fe9(0x38c)]),!_0x2a1cdc&&typeof mt<'u'&&mt[_0x5f4fe9(0x401)]&&(_0x2a1cdc=mt[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof Fs==_0x5f4fe9(0x302))try{_0x2a1cdc=require('crypto');}catch{}var _0x24703c=function(){var _0x2fa598=_0x5f4fe9;if(_0x2a1cdc){if(typeof _0x2a1cdc[_0x2fa598(0x257)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a1cdc[_0x2fa598(0x3c6)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x3c6)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40ff1e=Object[_0x5f4fe9(0x3ea)]||(function(){function _0x3f8dd7(){}return function(_0x5ba0aa){var _0x55b892=_0x5b8f,_0x17ca5f;return _0x3f8dd7[_0x55b892(0x22e)]=_0x5ba0aa,_0x17ca5f=new _0x3f8dd7(),_0x3f8dd7[_0x55b892(0x22e)]=null,_0x17ca5f;};}()),_0x356e13={},_0xa93cd3=_0x356e13[_0x5f4fe9(0x1bd)]={},_0x536ddb=_0xa93cd3[_0x5f4fe9(0x1b0)]=(function(){return{'extend':function(_0x5e7766){var _0x3768aa=_0x5b8f,_0xcf0bd9=_0x40ff1e(this);return _0x5e7766&&_0xcf0bd9[_0x3768aa(0x11c)](_0x5e7766),(!_0xcf0bd9[_0x3768aa(0x290)]('init')||this[_0x3768aa(0x1de)]===_0xcf0bd9[_0x3768aa(0x1de)])&&(_0xcf0bd9[_0x3768aa(0x1de)]=function(){var _0x3fecc6=_0x3768aa;_0xcf0bd9[_0x3fecc6(0x2b9)][_0x3fecc6(0x1de)][_0x3fecc6(0x2d3)](this,arguments);}),_0xcf0bd9[_0x3768aa(0x1de)][_0x3768aa(0x22e)]=_0xcf0bd9,_0xcf0bd9[_0x3768aa(0x2b9)]=this,_0xcf0bd9;},'create':function(){var _0x47334a=_0x5b8f,_0x29211b=this[_0x47334a(0x18e)]();return _0x29211b[_0x47334a(0x1de)]['apply'](_0x29211b,arguments),_0x29211b;},'init':function(){},'mixIn':function(_0x10ba5c){var _0xb8369f=_0x5b8f;for(var _0x47ca02 in _0x10ba5c)_0x10ba5c[_0xb8369f(0x290)](_0x47ca02)&&(this[_0x47ca02]=_0x10ba5c[_0x47ca02]);_0x10ba5c[_0xb8369f(0x290)](_0xb8369f(0x28c))&&(this['toString']=_0x10ba5c[_0xb8369f(0x28c)]);},'clone':function(){var _0x5d3f32=_0x5b8f;return this['init'][_0x5d3f32(0x22e)][_0x5d3f32(0x18e)](this);}};}()),_0x5b959e=_0xa93cd3[_0x5f4fe9(0x190)]=_0x536ddb[_0x5f4fe9(0x18e)]({'init':function(_0x40a289,_0x3c3776){var _0x53a612=_0x5f4fe9;_0x40a289=this[_0x53a612(0x251)]=_0x40a289||[],_0x3c3776!=_0x2ee6b0?this[_0x53a612(0x407)]=_0x3c3776:this[_0x53a612(0x407)]=_0x40a289[_0x53a612(0x32e)]*0x4;},'toString':function(_0x186bc9){var _0xc7bb69=_0x5f4fe9;return(_0x186bc9||_0x712137)[_0xc7bb69(0x178)](this);},'concat':function(_0x191c51){var _0x18aa58=_0x5f4fe9,_0x59ea58=this[_0x18aa58(0x251)],_0x513198=_0x191c51[_0x18aa58(0x251)],_0x3dc1d0=this[_0x18aa58(0x407)],_0x110bad=_0x191c51[_0x18aa58(0x407)];if(this[_0x18aa58(0x1cc)](),_0x3dc1d0%0x4)for(var _0x48ed11=0x0;_0x48ed11<_0x110bad;_0x48ed11++){var _0x247c5d=_0x513198[_0x48ed11>>>0x2]>>>0x18-_0x48ed11%0x4*0x8&0xff;_0x59ea58[_0x3dc1d0+_0x48ed11>>>0x2]|=_0x247c5d<<0x18-(_0x3dc1d0+_0x48ed11)%0x4*0x8;}else{for(var _0x26174d=0x0;_0x26174d<_0x110bad;_0x26174d+=0x4)_0x59ea58[_0x3dc1d0+_0x26174d>>>0x2]=_0x513198[_0x26174d>>>0x2];}return this[_0x18aa58(0x407)]+=_0x110bad,this;},'clamp':function(){var _0x205286=_0x5f4fe9,_0x5c28ca=this[_0x205286(0x251)],_0x2cebc0=this[_0x205286(0x407)];_0x5c28ca[_0x2cebc0>>>0x2]&=0xffffffff<<0x20-_0x2cebc0%0x4*0x8,_0x5c28ca['length']=_0x55d6d6[_0x205286(0x123)](_0x2cebc0/0x4);},'clone':function(){var _0x492192=_0x5f4fe9,_0x33717f=_0x536ddb[_0x492192(0x3bf)][_0x492192(0x15a)](this);return _0x33717f[_0x492192(0x251)]=this['words']['slice'](0x0),_0x33717f;},'random':function(_0x310bd0){var _0x221659=_0x5f4fe9;for(var _0x35c3a2=[],_0x306a47=0x0;_0x306a47<_0x310bd0;_0x306a47+=0x4)_0x35c3a2[_0x221659(0x271)](_0x24703c());return new _0x5b959e[(_0x221659(0x1de))](_0x35c3a2,_0x310bd0);}}),_0x917f71=_0x356e13[_0x5f4fe9(0x3b6)]={},_0x712137=_0x917f71[_0x5f4fe9(0x235)]={'stringify':function(_0x369965){var _0x4ef21e=_0x5f4fe9;for(var _0x2c0ed5=_0x369965[_0x4ef21e(0x251)],_0x5ef54a=_0x369965[_0x4ef21e(0x407)],_0x26abd9=[],_0x11969f=0x0;_0x11969f<_0x5ef54a;_0x11969f++){var _0x3a84a3=_0x2c0ed5[_0x11969f>>>0x2]>>>0x18-_0x11969f%0x4*0x8&0xff;_0x26abd9[_0x4ef21e(0x271)]((_0x3a84a3>>>0x4)['toString'](0x10)),_0x26abd9['push']((_0x3a84a3&0xf)[_0x4ef21e(0x28c)](0x10));}return _0x26abd9[_0x4ef21e(0x2b0)]('');},'parse':function(_0x1e9a1a){var _0xc35b4b=_0x5f4fe9;for(var _0x55dfee=_0x1e9a1a[_0xc35b4b(0x32e)],_0x412cc7=[],_0x1bee09=0x0;_0x1bee09<_0x55dfee;_0x1bee09+=0x2)_0x412cc7[_0x1bee09>>>0x3]|=parseInt(_0x1e9a1a[_0xc35b4b(0x2eb)](_0x1bee09,0x2),0x10)<<0x18-_0x1bee09%0x8*0x4;return new _0x5b959e[(_0xc35b4b(0x1de))](_0x412cc7,_0x55dfee/0x2);}},_0xfb7bfc=_0x917f71[_0x5f4fe9(0x13c)]={'stringify':function(_0x25be4f){var _0x37a54c=_0x5f4fe9;for(var _0x18cb35=_0x25be4f[_0x37a54c(0x251)],_0x1da5df=_0x25be4f[_0x37a54c(0x407)],_0x2320b2=[],_0x3c46e8=0x0;_0x3c46e8<_0x1da5df;_0x3c46e8++){var _0x19e815=_0x18cb35[_0x3c46e8>>>0x2]>>>0x18-_0x3c46e8%0x4*0x8&0xff;_0x2320b2[_0x37a54c(0x271)](String[_0x37a54c(0x3fb)](_0x19e815));}return _0x2320b2[_0x37a54c(0x2b0)]('');},'parse':function(_0xc3ef81){var _0x2d8541=_0x5f4fe9;for(var _0x196a77=_0xc3ef81[_0x2d8541(0x32e)],_0x298ccf=[],_0x5d38c0=0x0;_0x5d38c0<_0x196a77;_0x5d38c0++)_0x298ccf[_0x5d38c0>>>0x2]|=(_0xc3ef81[_0x2d8541(0x21e)](_0x5d38c0)&0xff)<<0x18-_0x5d38c0%0x4*0x8;return new _0x5b959e[(_0x2d8541(0x1de))](_0x298ccf,_0x196a77);}},_0x8efff5=_0x917f71[_0x5f4fe9(0x2d0)]={'stringify':function(_0x4f4c8d){var _0x1bd29e=_0x5f4fe9;try{return decodeURIComponent(escape(_0xfb7bfc['stringify'](_0x4f4c8d)));}catch{throw new Error(_0x1bd29e(0x390));}},'parse':function(_0x19a476){return _0xfb7bfc['parse'](unescape(encodeURIComponent(_0x19a476)));}},_0x5470b4=_0xa93cd3[_0x5f4fe9(0x1ea)]=_0x536ddb[_0x5f4fe9(0x18e)]({'reset':function(){var _0x583c4f=_0x5f4fe9;this[_0x583c4f(0x1a2)]=new _0x5b959e[(_0x583c4f(0x1de))](),this[_0x583c4f(0x28a)]=0x0;},'_append':function(_0x175e59){var _0x13a8d2=_0x5f4fe9;typeof _0x175e59==_0x13a8d2(0x29a)&&(_0x175e59=_0x8efff5['parse'](_0x175e59)),this[_0x13a8d2(0x1a2)][_0x13a8d2(0x3b1)](_0x175e59),this['_nDataBytes']+=_0x175e59[_0x13a8d2(0x407)];},'_process':function(_0x3bd982){var _0x3c9247=_0x5f4fe9,_0x39eff6,_0x2d2af2=this['_data'],_0x4c022=_0x2d2af2[_0x3c9247(0x251)],_0x40fa32=_0x2d2af2[_0x3c9247(0x407)],_0x1b413d=this[_0x3c9247(0x162)],_0x4a78ba=_0x1b413d*0x4,_0xf2dc7=_0x40fa32/_0x4a78ba;_0x3bd982?_0xf2dc7=_0x55d6d6[_0x3c9247(0x123)](_0xf2dc7):_0xf2dc7=_0x55d6d6[_0x3c9247(0x24b)]((_0xf2dc7|0x0)-this['_minBufferSize'],0x0);var _0x55efb6=_0xf2dc7*_0x1b413d,_0x3d744b=_0x55d6d6[_0x3c9247(0x3ff)](_0x55efb6*0x4,_0x40fa32);if(_0x55efb6){for(var _0x4c1f62=0x0;_0x4c1f62<_0x55efb6;_0x4c1f62+=_0x1b413d)this[_0x3c9247(0x391)](_0x4c022,_0x4c1f62);_0x39eff6=_0x4c022['splice'](0x0,_0x55efb6),_0x2d2af2['sigBytes']-=_0x3d744b;}return new _0x5b959e[(_0x3c9247(0x1de))](_0x39eff6,_0x3d744b);},'clone':function(){var _0x25a2e6=_0x5f4fe9,_0x31d372=_0x536ddb['clone'][_0x25a2e6(0x15a)](this);return _0x31d372[_0x25a2e6(0x1a2)]=this[_0x25a2e6(0x1a2)][_0x25a2e6(0x3bf)](),_0x31d372;},'_minBufferSize':0x0});_0xa93cd3[_0x5f4fe9(0x275)]=_0x5470b4[_0x5f4fe9(0x18e)]({'cfg':_0x536ddb[_0x5f4fe9(0x18e)](),'init':function(_0x3df2aa){var _0x1d4cab=_0x5f4fe9;this[_0x1d4cab(0x2f2)]=this['cfg'][_0x1d4cab(0x18e)](_0x3df2aa),this[_0x1d4cab(0x31f)]();},'reset':function(){var _0x2d350a=_0x5f4fe9;_0x5470b4['reset'][_0x2d350a(0x15a)](this),this[_0x2d350a(0x366)]();},'update':function(_0x23c852){var _0x7b755b=_0x5f4fe9;return this[_0x7b755b(0x21c)](_0x23c852),this['_process'](),this;},'finalize':function(_0x1a9402){var _0x12e5e7=_0x5f4fe9;_0x1a9402&&this[_0x12e5e7(0x21c)](_0x1a9402);var _0x3e58f9=this[_0x12e5e7(0x336)]();return _0x3e58f9;},'blockSize':0x10,'_createHelper':function(_0x466fd6){return function(_0x31cc14,_0x816c3e){var _0x4f4d7a=_0x5b8f;return new _0x466fd6[(_0x4f4d7a(0x1de))](_0x816c3e)[_0x4f4d7a(0x2d7)](_0x31cc14);};},'_createHmacHelper':function(_0xe9256a){return function(_0x330ac7,_0xe2a806){var _0x4898d7=_0x5b8f;return new _0x588f94[(_0x4898d7(0x1bb))]['init'](_0xe9256a,_0xe2a806)['finalize'](_0x330ac7);};}});var _0x588f94=_0x356e13[_0x5f4fe9(0x14e)]={};return _0x356e13;}(Math);return _0x3890a6;}));}(Ge)),Ge[_0x490495(0x414)];}var Ke={'exports':{}},Ws=Ke[_0x2a3857(0x414)],ti;function Ai(){return ti||(ti=0x1,function(_0x201b77,_0x39bde5){(function(_0x10e5a6,_0x42b47d){var _0x2862b9=_0x5b8f;_0x201b77[_0x2862b9(0x414)]=_0x42b47d(ne());}(Ws,function(_0x34e08d){var _0xb869bc=_0x5b8f;return(function(){var _0x24d2f8=_0x5b8f,_0x38065b=_0x34e08d,_0x5d5fca=_0x38065b[_0x24d2f8(0x1bd)],_0x258666=_0x5d5fca[_0x24d2f8(0x190)],_0xc4d642=_0x38065b['enc'];_0xc4d642[_0x24d2f8(0x241)]={'stringify':function(_0x12ae7e){var _0x20d8c9=_0x24d2f8,_0x1cf057=_0x12ae7e['words'],_0x25eacd=_0x12ae7e[_0x20d8c9(0x407)],_0x3d21d8=this[_0x20d8c9(0x20b)];_0x12ae7e[_0x20d8c9(0x1cc)]();for(var _0x3e234e=[],_0xf186fb=0x0;_0xf186fb<_0x25eacd;_0xf186fb+=0x3)for(var _0x3f156a=_0x1cf057[_0xf186fb>>>0x2]>>>0x18-_0xf186fb%0x4*0x8&0xff,_0x21cfaa=_0x1cf057[_0xf186fb+0x1>>>0x2]>>>0x18-(_0xf186fb+0x1)%0x4*0x8&0xff,_0x641046=_0x1cf057[_0xf186fb+0x2>>>0x2]>>>0x18-(_0xf186fb+0x2)%0x4*0x8&0xff,_0x3a3f6a=_0x3f156a<<0x10|_0x21cfaa<<0x8|_0x641046,_0x2aa1bf=0x0;_0x2aa1bf<0x4&&_0xf186fb+_0x2aa1bf*0.75<_0x25eacd;_0x2aa1bf++)_0x3e234e[_0x20d8c9(0x271)](_0x3d21d8[_0x20d8c9(0x3a9)](_0x3a3f6a>>>0x6*(0x3-_0x2aa1bf)&0x3f));var _0x210976=_0x3d21d8['charAt'](0x40);if(_0x210976){for(;_0x3e234e['length']%0x4;)_0x3e234e['push'](_0x210976);}return _0x3e234e['join']('');},'parse':function(_0x12a7b3){var _0x35678e=_0x24d2f8,_0x5b4b58=_0x12a7b3[_0x35678e(0x32e)],_0x523d92=this['_map'],_0x3f4eb6=this[_0x35678e(0x3c8)];if(!_0x3f4eb6){_0x3f4eb6=this[_0x35678e(0x3c8)]=[];for(var _0x49794c=0x0;_0x49794c<_0x523d92[_0x35678e(0x32e)];_0x49794c++)_0x3f4eb6[_0x523d92['charCodeAt'](_0x49794c)]=_0x49794c;}var _0x250759=_0x523d92[_0x35678e(0x3a9)](0x40);if(_0x250759){var _0x4e9888=_0x12a7b3[_0x35678e(0x32f)](_0x250759);_0x4e9888!==-0x1&&(_0x5b4b58=_0x4e9888);}return _0x1f8a62(_0x12a7b3,_0x5b4b58,_0x3f4eb6);},'_map':_0x24d2f8(0x155)};function _0x1f8a62(_0x3a992c,_0x3b0285,_0x331dff){var _0x20220a=_0x24d2f8;for(var _0x54b1b8=[],_0x16018c=0x0,_0x4fd4ae=0x0;_0x4fd4ae<_0x3b0285;_0x4fd4ae++)if(_0x4fd4ae%0x4){var _0x5776d7=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae-0x1)]<<_0x4fd4ae%0x4*0x2,_0xa26cd2=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae)]>>>0x6-_0x4fd4ae%0x4*0x2,_0x2bb7e7=_0x5776d7|_0xa26cd2;_0x54b1b8[_0x16018c>>>0x2]|=_0x2bb7e7<<0x18-_0x16018c%0x4*0x8,_0x16018c++;}return _0x258666[_0x20220a(0x3ea)](_0x54b1b8,_0x16018c);}}()),_0x34e08d[_0xb869bc(0x3b6)][_0xb869bc(0x241)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Gs=ze[_0x2a3857(0x414)],ii;function Ks(){var _0x47346e=_0x2a3857;return ii||(ii=0x1,function(_0xdf9609,_0x478955){(function(_0x254a3a,_0x576fdb){var _0x54a30f=_0x5b8f;_0xdf9609[_0x54a30f(0x414)]=_0x576fdb(ne());}(Gs,function(_0x4a1be7){var _0x15875f=_0x5b8f;return function(_0x34be97){var _0x5e610a=_0x5b8f,_0x15c122=_0x4a1be7,_0x386f56=_0x15c122['lib'],_0x38600d=_0x386f56[_0x5e610a(0x190)],_0x57e178=_0x386f56['Hasher'],_0x4ec2ae=_0x15c122[_0x5e610a(0x14e)],_0x3ed530=[];(function(){var _0x71b422=_0x5e610a;for(var _0x3826fb=0x0;_0x3826fb<0x40;_0x3826fb++)_0x3ed530[_0x3826fb]=_0x34be97[_0x71b422(0x261)](_0x34be97['sin'](_0x3826fb+0x1))*0x100000000|0x0;}());var _0x2e8bd0=_0x4ec2ae[_0x5e610a(0x140)]=_0x57e178['extend']({'_doReset':function(){var _0x3fb810=_0x5e610a;this[_0x3fb810(0x1a8)]=new _0x38600d[(_0x3fb810(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x332b34,_0x4affa7){var _0x48910a=_0x5e610a;for(var _0x42560b=0x0;_0x42560b<0x10;_0x42560b++){var _0x363099=_0x4affa7+_0x42560b,_0x20f96e=_0x332b34[_0x363099];_0x332b34[_0x363099]=(_0x20f96e<<0x8|_0x20f96e>>>0x18)&0xff00ff|(_0x20f96e<<0x18|_0x20f96e>>>0x8)&0xff00ff00;}var _0x2b538d=this[_0x48910a(0x1a8)]['words'],_0x44129e=_0x332b34[_0x4affa7+0x0],_0x3644e7=_0x332b34[_0x4affa7+0x1],_0x1e782a=_0x332b34[_0x4affa7+0x2],_0x5291f8=_0x332b34[_0x4affa7+0x3],_0x223f74=_0x332b34[_0x4affa7+0x4],_0x41949d=_0x332b34[_0x4affa7+0x5],_0x2d9108=_0x332b34[_0x4affa7+0x6],_0x5840f2=_0x332b34[_0x4affa7+0x7],_0x24e197=_0x332b34[_0x4affa7+0x8],_0x21326a=_0x332b34[_0x4affa7+0x9],_0x357a8e=_0x332b34[_0x4affa7+0xa],_0x2c8053=_0x332b34[_0x4affa7+0xb],_0x3d3d0e=_0x332b34[_0x4affa7+0xc],_0x1140ea=_0x332b34[_0x4affa7+0xd],_0xc8807a=_0x332b34[_0x4affa7+0xe],_0x5776d4=_0x332b34[_0x4affa7+0xf],_0x345ffe=_0x2b538d[0x0],_0x12eb22=_0x2b538d[0x1],_0x57cc76=_0x2b538d[0x2],_0x4f0c6c=_0x2b538d[0x3];_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x7,_0x3ed530[0x0]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3644e7,0xc,_0x3ed530[0x1]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0x11,_0x3ed530[0x2]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5291f8,0x16,_0x3ed530[0x3]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x7,_0x3ed530[0x4]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x41949d,0xc,_0x3ed530[0x5]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0x11,_0x3ed530[0x6]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5840f2,0x16,_0x3ed530[0x7]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x7,_0x3ed530[0x8]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x21326a,0xc,_0x3ed530[0x9]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0x11,_0x3ed530[0xa]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2c8053,0x16,_0x3ed530[0xb]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x7,_0x3ed530[0xc]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1140ea,0xc,_0x3ed530[0xd]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0x11,_0x3ed530[0xe]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5776d4,0x16,_0x3ed530[0xf]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x5,_0x3ed530[0x10]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2d9108,0x9,_0x3ed530[0x11]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0xe,_0x3ed530[0x12]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x44129e,0x14,_0x3ed530[0x13]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x5,_0x3ed530[0x14]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x357a8e,0x9,_0x3ed530[0x15]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0xe,_0x3ed530[0x16]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x223f74,0x14,_0x3ed530[0x17]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x5,_0x3ed530[0x18]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0xc8807a,0x9,_0x3ed530[0x19]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0xe,_0x3ed530[0x1a]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x24e197,0x14,_0x3ed530[0x1b]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x5,_0x3ed530[0x1c]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1e782a,0x9,_0x3ed530[0x1d]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0xe,_0x3ed530[0x1e]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3d3d0e,0x14,_0x3ed530[0x1f]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x4,_0x3ed530[0x20]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x24e197,0xb,_0x3ed530[0x21]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0x10,_0x3ed530[0x22]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0xc8807a,0x17,_0x3ed530[0x23]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x4,_0x3ed530[0x24]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x223f74,0xb,_0x3ed530[0x25]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0x10,_0x3ed530[0x26]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x357a8e,0x17,_0x3ed530[0x27]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x4,_0x3ed530[0x28]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x44129e,0xb,_0x3ed530[0x29]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0x10,_0x3ed530[0x2a]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2d9108,0x17,_0x3ed530[0x2b]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x4,_0x3ed530[0x2c]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3d3d0e,0xb,_0x3ed530[0x2d]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0x10,_0x3ed530[0x2e]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1e782a,0x17,_0x3ed530[0x2f]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x6,_0x3ed530[0x30]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5840f2,0xa,_0x3ed530[0x31]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0xf,_0x3ed530[0x32]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x41949d,0x15,_0x3ed530[0x33]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x6,_0x3ed530[0x34]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5291f8,0xa,_0x3ed530[0x35]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0xf,_0x3ed530[0x36]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3644e7,0x15,_0x3ed530[0x37]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x6,_0x3ed530[0x38]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5776d4,0xa,_0x3ed530[0x39]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0xf,_0x3ed530[0x3a]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1140ea,0x15,_0x3ed530[0x3b]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x6,_0x3ed530[0x3c]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2c8053,0xa,_0x3ed530[0x3d]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0xf,_0x3ed530[0x3e]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x21326a,0x15,_0x3ed530[0x3f]),_0x2b538d[0x0]=_0x2b538d[0x0]+_0x345ffe|0x0,_0x2b538d[0x1]=_0x2b538d[0x1]+_0x12eb22|0x0,_0x2b538d[0x2]=_0x2b538d[0x2]+_0x57cc76|0x0,_0x2b538d[0x3]=_0x2b538d[0x3]+_0x4f0c6c|0x0;},'_doFinalize':function(){var _0x487767=_0x5e610a,_0x57295a=this['_data'],_0x192a69=_0x57295a[_0x487767(0x251)],_0xdece29=this['_nDataBytes']*0x8,_0x250502=_0x57295a[_0x487767(0x407)]*0x8;_0x192a69[_0x250502>>>0x5]|=0x80<<0x18-_0x250502%0x20;var _0x51bcd2=_0x34be97[_0x487767(0x23a)](_0xdece29/0x100000000),_0x53fa11=_0xdece29;_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xf]=(_0x51bcd2<<0x8|_0x51bcd2>>>0x18)&0xff00ff|(_0x51bcd2<<0x18|_0x51bcd2>>>0x8)&0xff00ff00,_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xe]=(_0x53fa11<<0x8|_0x53fa11>>>0x18)&0xff00ff|(_0x53fa11<<0x18|_0x53fa11>>>0x8)&0xff00ff00,_0x57295a[_0x487767(0x407)]=(_0x192a69['length']+0x1)*0x4,this[_0x487767(0x207)]();for(var _0x391e48=this[_0x487767(0x1a8)],_0x32d8fb=_0x391e48[_0x487767(0x251)],_0x25b628=0x0;_0x25b628<0x4;_0x25b628++){var _0x468b04=_0x32d8fb[_0x25b628];_0x32d8fb[_0x25b628]=(_0x468b04<<0x8|_0x468b04>>>0x18)&0xff00ff|(_0x468b04<<0x18|_0x468b04>>>0x8)&0xff00ff00;}return _0x391e48;},'clone':function(){var _0x513037=_0x5e610a,_0xc433bb=_0x57e178[_0x513037(0x3bf)][_0x513037(0x15a)](this);return _0xc433bb[_0x513037(0x1a8)]=this[_0x513037(0x1a8)][_0x513037(0x3bf)](),_0xc433bb;}});function _0x31de4d(_0x111f19,_0x38ab6a,_0x18a7ca,_0x2eebd9,_0x80a0db,_0x3589dd,_0x2f1542){var _0x16b8a3=_0x111f19+(_0x38ab6a&_0x18a7ca|~_0x38ab6a&_0x2eebd9)+_0x80a0db+_0x2f1542;return(_0x16b8a3<<_0x3589dd|_0x16b8a3>>>0x20-_0x3589dd)+_0x38ab6a;}function _0x44d7c9(_0x3249bd,_0x7b450f,_0x287d3c,_0x4c5281,_0x175bdd,_0x163a8d,_0x1fae0f){var _0x17e4b9=_0x3249bd+(_0x7b450f&_0x4c5281|_0x287d3c&~_0x4c5281)+_0x175bdd+_0x1fae0f;return(_0x17e4b9<<_0x163a8d|_0x17e4b9>>>0x20-_0x163a8d)+_0x7b450f;}function _0x4af2ab(_0x33a570,_0x92b56f,_0xc741bc,_0x2b41c1,_0x271ff0,_0x21a463,_0x1ba5eb){var _0x3b6ba0=_0x33a570+(_0x92b56f^_0xc741bc^_0x2b41c1)+_0x271ff0+_0x1ba5eb;return(_0x3b6ba0<<_0x21a463|_0x3b6ba0>>>0x20-_0x21a463)+_0x92b56f;}function _0x3360af(_0x19142b,_0x4d35af,_0x54e287,_0x46fae1,_0x644b6a,_0x35c303,_0x47e18b){var _0x1ccd85=_0x19142b+(_0x54e287^(_0x4d35af|~_0x46fae1))+_0x644b6a+_0x47e18b;return(_0x1ccd85<<_0x35c303|_0x1ccd85>>>0x20-_0x35c303)+_0x4d35af;}_0x15c122[_0x5e610a(0x140)]=_0x57e178[_0x5e610a(0x25d)](_0x2e8bd0),_0x15c122['HmacMD5']=_0x57e178['_createHmacHelper'](_0x2e8bd0);}(Math),_0x4a1be7[_0x15875f(0x140)];}));}(ze)),ze[_0x47346e(0x414)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x2a3857(0x414)],ni;function Ys(){var _0x20c86c=_0x2a3857;return ni||(ni=0x1,function(_0xf3b503,_0x50d031){(function(_0x5a0795,_0x23f14c){var _0x433c40=_0x5b8f;_0xf3b503[_0x433c40(0x414)]=_0x23f14c(ne());}(zs,function(_0x4d813f){var _0x28f8bc=_0x5b8f;return(function(){var _0x4f5311=_0x5b8f,_0x22d552=_0x4d813f,_0xf89cb3=_0x22d552['lib'],_0x3f6d82=_0xf89cb3['WordArray'],_0x53344d=_0xf89cb3[_0x4f5311(0x275)],_0x22e28b=_0x22d552['algo'],_0x1878d5=[],_0x33f079=_0x22e28b['SHA1']=_0x53344d['extend']({'_doReset':function(){var _0xf3cb2e=_0x4f5311;this['_hash']=new _0x3f6d82[(_0xf3cb2e(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c0b3,_0x597563){var _0x1f986a=_0x4f5311;for(var _0x9332ff=this[_0x1f986a(0x1a8)][_0x1f986a(0x251)],_0x2d953d=_0x9332ff[0x0],_0x231c77=_0x9332ff[0x1],_0x3c57b0=_0x9332ff[0x2],_0x1f534f=_0x9332ff[0x3],_0x2bc10b=_0x9332ff[0x4],_0x27edbc=0x0;_0x27edbc<0x50;_0x27edbc++){if(_0x27edbc<0x10)_0x1878d5[_0x27edbc]=_0x48c0b3[_0x597563+_0x27edbc]|0x0;else{var _0x3fdddf=_0x1878d5[_0x27edbc-0x3]^_0x1878d5[_0x27edbc-0x8]^_0x1878d5[_0x27edbc-0xe]^_0x1878d5[_0x27edbc-0x10];_0x1878d5[_0x27edbc]=_0x3fdddf<<0x1|_0x3fdddf>>>0x1f;}var _0x3405af=(_0x2d953d<<0x5|_0x2d953d>>>0x1b)+_0x2bc10b+_0x1878d5[_0x27edbc];_0x27edbc<0x14?_0x3405af+=(_0x231c77&_0x3c57b0|~_0x231c77&_0x1f534f)+0x5a827999:_0x27edbc<0x28?_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)+0x6ed9eba1:_0x27edbc<0x3c?_0x3405af+=(_0x231c77&_0x3c57b0|_0x231c77&_0x1f534f|_0x3c57b0&_0x1f534f)-0x70e44324:_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)-0x359d3e2a,_0x2bc10b=_0x1f534f,_0x1f534f=_0x3c57b0,_0x3c57b0=_0x231c77<<0x1e|_0x231c77>>>0x2,_0x231c77=_0x2d953d,_0x2d953d=_0x3405af;}_0x9332ff[0x0]=_0x9332ff[0x0]+_0x2d953d|0x0,_0x9332ff[0x1]=_0x9332ff[0x1]+_0x231c77|0x0,_0x9332ff[0x2]=_0x9332ff[0x2]+_0x3c57b0|0x0,_0x9332ff[0x3]=_0x9332ff[0x3]+_0x1f534f|0x0,_0x9332ff[0x4]=_0x9332ff[0x4]+_0x2bc10b|0x0;},'_doFinalize':function(){var _0x5a0177=_0x4f5311,_0x229571=this[_0x5a0177(0x1a2)],_0x208a3c=_0x229571['words'],_0xcae21=this[_0x5a0177(0x28a)]*0x8,_0x2ad793=_0x229571[_0x5a0177(0x407)]*0x8;return _0x208a3c[_0x2ad793>>>0x5]|=0x80<<0x18-_0x2ad793%0x20,_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xe]=Math[_0x5a0177(0x23a)](_0xcae21/0x100000000),_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xf]=_0xcae21,_0x229571[_0x5a0177(0x407)]=_0x208a3c[_0x5a0177(0x32e)]*0x4,this['_process'](),this[_0x5a0177(0x1a8)];},'clone':function(){var _0x77e5be=_0x4f5311,_0x131645=_0x53344d[_0x77e5be(0x3bf)][_0x77e5be(0x15a)](this);return _0x131645[_0x77e5be(0x1a8)]=this[_0x77e5be(0x1a8)][_0x77e5be(0x3bf)](),_0x131645;}});_0x22d552['SHA1']=_0x53344d[_0x4f5311(0x25d)](_0x33f079),_0x22d552[_0x4f5311(0x35a)]=_0x53344d['_createHmacHelper'](_0x33f079);}()),_0x4d813f[_0x28f8bc(0x1eb)];}));}(qe)),qe[_0x20c86c(0x414)];}var Je={'exports':{}},qs=Je[_0x2a3857(0x414)],si;function Js(){var _0x74b58d=_0x2a3857;return si||(si=0x1,function(_0x24580b,_0x39a3db){(function(_0x2355ae,_0x5ae1a3){var _0x4c9f2b=_0x5b8f;_0x24580b[_0x4c9f2b(0x414)]=_0x5ae1a3(ne());}(qs,function(_0x57eda0){(function(){var _0x66e07c=_0x5b8f,_0x5b3ed9=_0x57eda0,_0x1d30fd=_0x5b3ed9[_0x66e07c(0x1bd)],_0x852f04=_0x1d30fd[_0x66e07c(0x1b0)],_0x3b823f=_0x5b3ed9[_0x66e07c(0x3b6)],_0xf80bff=_0x3b823f[_0x66e07c(0x2d0)],_0x174875=_0x5b3ed9[_0x66e07c(0x14e)];_0x174875[_0x66e07c(0x1bb)]=_0x852f04[_0x66e07c(0x18e)]({'init':function(_0x8e2ce9,_0x3e88f8){var _0xdae200=_0x66e07c;_0x8e2ce9=this[_0xdae200(0x238)]=new _0x8e2ce9[(_0xdae200(0x1de))](),typeof _0x3e88f8==_0xdae200(0x29a)&&(_0x3e88f8=_0xf80bff[_0xdae200(0x389)](_0x3e88f8));var _0x1aca4c=_0x8e2ce9['blockSize'],_0x1f8004=_0x1aca4c*0x4;_0x3e88f8['sigBytes']>_0x1f8004&&(_0x3e88f8=_0x8e2ce9[_0xdae200(0x2d7)](_0x3e88f8)),_0x3e88f8['clamp']();for(var _0x41300c=this[_0xdae200(0x380)]=_0x3e88f8[_0xdae200(0x3bf)](),_0x4bc265=this['_iKey']=_0x3e88f8['clone'](),_0x4375e3=_0x41300c['words'],_0x24a805=_0x4bc265['words'],_0x50286a=0x0;_0x50286a<_0x1aca4c;_0x50286a++)_0x4375e3[_0x50286a]^=0x5c5c5c5c,_0x24a805[_0x50286a]^=0x36363636;_0x41300c[_0xdae200(0x407)]=_0x4bc265[_0xdae200(0x407)]=_0x1f8004,this['reset']();},'reset':function(){var _0x54806a=_0x66e07c,_0x23023a=this['_hasher'];_0x23023a[_0x54806a(0x31f)](),_0x23023a['update'](this[_0x54806a(0x23e)]);},'update':function(_0x13b995){var _0x26084c=_0x66e07c;return this[_0x26084c(0x238)][_0x26084c(0x3a4)](_0x13b995),this;},'finalize':function(_0x30d84e){var _0x5b7f97=_0x66e07c,_0x121f1b=this[_0x5b7f97(0x238)],_0x2f42fd=_0x121f1b[_0x5b7f97(0x2d7)](_0x30d84e);_0x121f1b[_0x5b7f97(0x31f)]();var _0x5e78a7=_0x121f1b[_0x5b7f97(0x2d7)](this[_0x5b7f97(0x380)]['clone']()['concat'](_0x2f42fd));return _0x5e78a7;}});}());}));}(Je)),Je[_0x74b58d(0x414)];}var Xs=Ye['exports'],ri;function xi(){var _0x4de094=_0x2a3857;return ri||(ri=0x1,function(_0x3482d1,_0x16d12a){(function(_0x127c59,_0x34be83,_0x1aec17){var _0x12e66a=_0x5b8f;_0x3482d1[_0x12e66a(0x414)]=_0x34be83(ne(),Ys(),Js());}(Xs,function(_0x181921){return(function(){var _0xa4e0bd=_0x5b8f,_0x3984b3=_0x181921,_0x230752=_0x3984b3[_0xa4e0bd(0x1bd)],_0x387b19=_0x230752['Base'],_0x236ccf=_0x230752[_0xa4e0bd(0x190)],_0x35a249=_0x3984b3[_0xa4e0bd(0x14e)],_0x43fbca=_0x35a249['MD5'],_0x198ae6=_0x35a249[_0xa4e0bd(0x360)]=_0x387b19[_0xa4e0bd(0x18e)]({'cfg':_0x387b19[_0xa4e0bd(0x18e)]({'keySize':0x80/0x20,'hasher':_0x43fbca,'iterations':0x1}),'init':function(_0x174d57){var _0x56b305=_0xa4e0bd;this[_0x56b305(0x2f2)]=this['cfg']['extend'](_0x174d57);},'compute':function(_0x368515,_0x2a4676){var _0x575af6=_0xa4e0bd;for(var _0x55df41,_0x13ebd3=this[_0x575af6(0x2f2)],_0x4e09ed=_0x13ebd3['hasher'][_0x575af6(0x3ea)](),_0x3e4ef4=_0x236ccf['create'](),_0x537131=_0x3e4ef4[_0x575af6(0x251)],_0x54b4ac=_0x13ebd3[_0x575af6(0x1fd)],_0x4b6fd1=_0x13ebd3[_0x575af6(0x402)];_0x537131[_0x575af6(0x32e)]<_0x54b4ac;){_0x55df41&&_0x4e09ed[_0x575af6(0x3a4)](_0x55df41),_0x55df41=_0x4e09ed[_0x575af6(0x3a4)](_0x368515)['finalize'](_0x2a4676),_0x4e09ed[_0x575af6(0x31f)]();for(var _0x34a94b=0x1;_0x34a94b<_0x4b6fd1;_0x34a94b++)_0x55df41=_0x4e09ed['finalize'](_0x55df41),_0x4e09ed[_0x575af6(0x31f)]();_0x3e4ef4[_0x575af6(0x3b1)](_0x55df41);}return _0x3e4ef4[_0x575af6(0x407)]=_0x54b4ac*0x4,_0x3e4ef4;}});_0x3984b3[_0xa4e0bd(0x360)]=function(_0x34c0d6,_0xea1d41,_0x8e7018){var _0x475400=_0xa4e0bd;return _0x198ae6[_0x475400(0x3ea)](_0x8e7018)['compute'](_0x34c0d6,_0xea1d41);};}()),_0x181921['EvpKDF'];}));}(Ye)),Ye[_0x4de094(0x414)];}var Xe={'exports':{}},Zs=Xe['exports'],oi;function Li(){var _0x3c885b=_0x2a3857;return oi||(oi=0x1,function(_0x333efe,_0x3074b2){(function(_0x5cbb4c,_0x80763b,_0x47df77){var _0x21412a=_0x5b8f;_0x333efe[_0x21412a(0x414)]=_0x80763b(ne(),xi());}(Zs,function(_0x20dc03){var _0x32dc05=_0x5b8f;_0x20dc03['lib'][_0x32dc05(0x151)]||function(_0x2d5a83){var _0x203b55=_0x32dc05,_0x375034=_0x20dc03,_0x364e87=_0x375034[_0x203b55(0x1bd)],_0x3f94f5=_0x364e87[_0x203b55(0x1b0)],_0x37a32d=_0x364e87[_0x203b55(0x190)],_0x16c2cc=_0x364e87['BufferedBlockAlgorithm'],_0x265aef=_0x375034[_0x203b55(0x3b6)];_0x265aef['Utf8'];var _0x35e96f=_0x265aef[_0x203b55(0x241)],_0x12f119=_0x375034[_0x203b55(0x14e)],_0x116497=_0x12f119[_0x203b55(0x360)],_0x2a4f32=_0x364e87['Cipher']=_0x16c2cc[_0x203b55(0x18e)]({'cfg':_0x3f94f5['extend'](),'createEncryptor':function(_0x192adb,_0x45e7a0){var _0x1f7e8c=_0x203b55;return this[_0x1f7e8c(0x3ea)](this['_ENC_XFORM_MODE'],_0x192adb,_0x45e7a0);},'createDecryptor':function(_0x528709,_0x512786){var _0x4c98a2=_0x203b55;return this[_0x4c98a2(0x3ea)](this[_0x4c98a2(0x315)],_0x528709,_0x512786);},'init':function(_0x5ef719,_0x42ecbf,_0x138a0e){var _0xb0d9fc=_0x203b55;this[_0xb0d9fc(0x2f2)]=this[_0xb0d9fc(0x2f2)][_0xb0d9fc(0x18e)](_0x138a0e),this[_0xb0d9fc(0x2a5)]=_0x5ef719,this['_key']=_0x42ecbf,this[_0xb0d9fc(0x31f)]();},'reset':function(){var _0x3d4975=_0x203b55;_0x16c2cc[_0x3d4975(0x31f)]['call'](this),this[_0x3d4975(0x366)]();},'process':function(_0xd85532){var _0x32f7b9=_0x203b55;return this['_append'](_0xd85532),this[_0x32f7b9(0x207)]();},'finalize':function(_0x5b516d){var _0x11e1c6=_0x203b55;_0x5b516d&&this[_0x11e1c6(0x21c)](_0x5b516d);var _0x58ac23=this[_0x11e1c6(0x336)]();return _0x58ac23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x379e67(_0x4890a8){var _0x44229c=_0x5b8f;return typeof _0x4890a8==_0x44229c(0x29a)?_0x3cffba:_0x3def4a;}return function(_0xbe053d){return{'encrypt':function(_0x54736f,_0x4eff81,_0x5203d7){var _0x1fb3c4=_0x5b8f;return _0x379e67(_0x4eff81)[_0x1fb3c4(0x298)](_0xbe053d,_0x54736f,_0x4eff81,_0x5203d7);},'decrypt':function(_0x25a406,_0xa740c9,_0x23b40a){var _0x26071e=_0x5b8f;return _0x379e67(_0xa740c9)[_0x26071e(0x34e)](_0xbe053d,_0x25a406,_0xa740c9,_0x23b40a);}};};}())});_0x364e87[_0x203b55(0x1ae)]=_0x2a4f32[_0x203b55(0x18e)]({'_doFinalize':function(){var _0xcdf070=_0x203b55,_0x4c3cbf=this[_0xcdf070(0x207)](!0x0);return _0x4c3cbf;},'blockSize':0x1});var _0xfdab4c=_0x375034['mode']={},_0x3a8d41=_0x364e87[_0x203b55(0x2c5)]=_0x3f94f5['extend']({'createEncryptor':function(_0x4a1811,_0x220c2d){return this['Encryptor']['create'](_0x4a1811,_0x220c2d);},'createDecryptor':function(_0x3f89fb,_0x5e6d6e){var _0x58ef75=_0x203b55;return this[_0x58ef75(0x196)][_0x58ef75(0x3ea)](_0x3f89fb,_0x5e6d6e);},'init':function(_0x23c81a,_0x41a389){var _0x5de870=_0x203b55;this[_0x5de870(0x362)]=_0x23c81a,this[_0x5de870(0x176)]=_0x41a389;}}),_0x2d4f50=_0xfdab4c[_0x203b55(0x2b4)]=(function(){var _0x21d3bc=_0x203b55,_0x42bb7b=_0x3a8d41[_0x21d3bc(0x18e)]();_0x42bb7b['Encryptor']=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x2a504f,_0x39ca74){var _0x3fe334=_0x21d3bc,_0x4dc3fd=this[_0x3fe334(0x362)],_0x1c573f=_0x4dc3fd[_0x3fe334(0x162)];_0x1a76d1[_0x3fe334(0x15a)](this,_0x2a504f,_0x39ca74,_0x1c573f),_0x4dc3fd['encryptBlock'](_0x2a504f,_0x39ca74),this[_0x3fe334(0x217)]=_0x2a504f[_0x3fe334(0x247)](_0x39ca74,_0x39ca74+_0x1c573f);}}),_0x42bb7b[_0x21d3bc(0x196)]=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x33807b,_0xa3d7e7){var _0x357551=_0x21d3bc,_0x3dfb47=this[_0x357551(0x362)],_0x26d554=_0x3dfb47[_0x357551(0x162)],_0x512bb6=_0x33807b['slice'](_0xa3d7e7,_0xa3d7e7+_0x26d554);_0x3dfb47[_0x357551(0x24a)](_0x33807b,_0xa3d7e7),_0x1a76d1['call'](this,_0x33807b,_0xa3d7e7,_0x26d554),this['_prevBlock']=_0x512bb6;}});function _0x1a76d1(_0x21d513,_0x3632d3,_0x539a97){var _0x4d9422=_0x21d3bc,_0x13f1c2,_0x26c149=this['_iv'];_0x26c149?(_0x13f1c2=_0x26c149,this[_0x4d9422(0x176)]=_0x2d5a83):_0x13f1c2=this[_0x4d9422(0x217)];for(var _0x230a1e=0x0;_0x230a1e<_0x539a97;_0x230a1e++)_0x21d513[_0x3632d3+_0x230a1e]^=_0x13f1c2[_0x230a1e];}return _0x42bb7b;}()),_0x12fe2f=_0x375034[_0x203b55(0x1a9)]={},_0x2b14b4=_0x12fe2f[_0x203b55(0x419)]={'pad':function(_0x40b7e0,_0x5a4b61){var _0x558f55=_0x203b55;for(var _0x1d64e2=_0x5a4b61*0x4,_0x2dce8d=_0x1d64e2-_0x40b7e0['sigBytes']%_0x1d64e2,_0x1013e2=_0x2dce8d<<0x18|_0x2dce8d<<0x10|_0x2dce8d<<0x8|_0x2dce8d,_0x2f16a0=[],_0x27ba7e=0x0;_0x27ba7e<_0x2dce8d;_0x27ba7e+=0x4)_0x2f16a0[_0x558f55(0x271)](_0x1013e2);var _0x167fda=_0x37a32d[_0x558f55(0x3ea)](_0x2f16a0,_0x2dce8d);_0x40b7e0[_0x558f55(0x3b1)](_0x167fda);},'unpad':function(_0x30fc66){var _0xb87806=_0x203b55,_0x5c484e=_0x30fc66[_0xb87806(0x251)][_0x30fc66[_0xb87806(0x407)]-0x1>>>0x2]&0xff;_0x30fc66[_0xb87806(0x407)]-=_0x5c484e;}};_0x364e87[_0x203b55(0x2fe)]=_0x2a4f32[_0x203b55(0x18e)]({'cfg':_0x2a4f32[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'mode':_0x2d4f50,'padding':_0x2b14b4}),'reset':function(){var _0x137e33=_0x203b55,_0x3f38bf;_0x2a4f32[_0x137e33(0x31f)][_0x137e33(0x15a)](this);var _0x66d00a=this[_0x137e33(0x2f2)],_0x4bc7ef=_0x66d00a['iv'],_0x231e57=_0x66d00a[_0x137e33(0x195)];this['_xformMode']==this[_0x137e33(0x141)]?_0x3f38bf=_0x231e57['createEncryptor']:(_0x3f38bf=_0x231e57['createDecryptor'],this['_minBufferSize']=0x1),this[_0x137e33(0x357)]&&this[_0x137e33(0x357)][_0x137e33(0x2d6)]==_0x3f38bf?this[_0x137e33(0x357)]['init'](this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]):(this[_0x137e33(0x357)]=_0x3f38bf[_0x137e33(0x15a)](_0x231e57,this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]),this['_mode'][_0x137e33(0x2d6)]=_0x3f38bf);},'_doProcessBlock':function(_0x203382,_0x13b3ea){this['_mode']['processBlock'](_0x203382,_0x13b3ea);},'_doFinalize':function(){var _0x18ea3b=_0x203b55,_0x5bf95e,_0x1c80cf=this['cfg'][_0x18ea3b(0x2ec)];return this['_xformMode']==this[_0x18ea3b(0x141)]?(_0x1c80cf['pad'](this[_0x18ea3b(0x1a2)],this[_0x18ea3b(0x162)]),_0x5bf95e=this[_0x18ea3b(0x207)](!0x0)):(_0x5bf95e=this['_process'](!0x0),_0x1c80cf[_0x18ea3b(0x28e)](_0x5bf95e)),_0x5bf95e;},'blockSize':0x80/0x20});var _0x5bd871=_0x364e87[_0x203b55(0x1b9)]=_0x3f94f5[_0x203b55(0x18e)]({'init':function(_0x1e0b6c){var _0x12620b=_0x203b55;this[_0x12620b(0x11c)](_0x1e0b6c);},'toString':function(_0x592192){var _0x1382ad=_0x203b55;return(_0x592192||this[_0x1382ad(0x36c)])[_0x1382ad(0x178)](this);}}),_0x44317c=_0x375034[_0x203b55(0x337)]={},_0x218ef0=_0x44317c[_0x203b55(0x234)]={'stringify':function(_0x23f90d){var _0x32f783=_0x203b55,_0xf9409,_0x1df759=_0x23f90d[_0x32f783(0x373)],_0x40ecb2=_0x23f90d[_0x32f783(0x33f)];return _0x40ecb2?_0xf9409=_0x37a32d[_0x32f783(0x3ea)]([0x53616c74,0x65645f5f])['concat'](_0x40ecb2)[_0x32f783(0x3b1)](_0x1df759):_0xf9409=_0x1df759,_0xf9409['toString'](_0x35e96f);},'parse':function(_0x5f4fc1){var _0x963207=_0x203b55,_0x2cbd94,_0x3952fa=_0x35e96f['parse'](_0x5f4fc1),_0x184f37=_0x3952fa[_0x963207(0x251)];return _0x184f37[0x0]==0x53616c74&&_0x184f37[0x1]==0x65645f5f&&(_0x2cbd94=_0x37a32d[_0x963207(0x3ea)](_0x184f37['slice'](0x2,0x4)),_0x184f37['splice'](0x0,0x4),_0x3952fa[_0x963207(0x407)]-=0x10),_0x5bd871[_0x963207(0x3ea)]({'ciphertext':_0x3952fa,'salt':_0x2cbd94});}},_0x3def4a=_0x364e87['SerializableCipher']=_0x3f94f5['extend']({'cfg':_0x3f94f5['extend']({'format':_0x218ef0}),'encrypt':function(_0x38da02,_0x2710a2,_0x2a473b,_0x495305){var _0x371adf=_0x203b55;_0x495305=this[_0x371adf(0x2f2)][_0x371adf(0x18e)](_0x495305);var _0x574e1d=_0x38da02[_0x371adf(0x35e)](_0x2a473b,_0x495305),_0x1c1019=_0x574e1d[_0x371adf(0x2d7)](_0x2710a2),_0x134054=_0x574e1d[_0x371adf(0x2f2)];return _0x5bd871[_0x371adf(0x3ea)]({'ciphertext':_0x1c1019,'key':_0x2a473b,'iv':_0x134054['iv'],'algorithm':_0x38da02,'mode':_0x134054[_0x371adf(0x195)],'padding':_0x134054['padding'],'blockSize':_0x38da02['blockSize'],'formatter':_0x495305['format']});},'decrypt':function(_0x405889,_0x20b1d2,_0x2dfa51,_0x455446){var _0x3b2966=_0x203b55;_0x455446=this[_0x3b2966(0x2f2)][_0x3b2966(0x18e)](_0x455446),_0x20b1d2=this['_parse'](_0x20b1d2,_0x455446[_0x3b2966(0x337)]);var _0x16992b=_0x405889[_0x3b2966(0x3f9)](_0x2dfa51,_0x455446)[_0x3b2966(0x2d7)](_0x20b1d2[_0x3b2966(0x373)]);return _0x16992b;},'_parse':function(_0x1ef6b5,_0x19be99){var _0x4f0678=_0x203b55;return typeof _0x1ef6b5==_0x4f0678(0x29a)?_0x19be99[_0x4f0678(0x389)](_0x1ef6b5,this):_0x1ef6b5;}}),_0x135da3=_0x375034['kdf']={},_0x3f62bf=_0x135da3[_0x203b55(0x234)]={'execute':function(_0x3debf9,_0x30f543,_0x338c3b,_0x1311e6,_0x31b21a){var _0x14a18f=_0x203b55;if(_0x1311e6||(_0x1311e6=_0x37a32d['random'](0x40/0x8)),_0x31b21a)var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b,'hasher':_0x31b21a})[_0x14a18f(0x295)](_0x3debf9,_0x1311e6);else var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b})['compute'](_0x3debf9,_0x1311e6);var _0x53cc1b=_0x37a32d['create'](_0x1eff30[_0x14a18f(0x251)]['slice'](_0x30f543),_0x338c3b*0x4);return _0x1eff30[_0x14a18f(0x407)]=_0x30f543*0x4,_0x5bd871[_0x14a18f(0x3ea)]({'key':_0x1eff30,'iv':_0x53cc1b,'salt':_0x1311e6});}},_0x3cffba=_0x364e87['PasswordBasedCipher']=_0x3def4a[_0x203b55(0x18e)]({'cfg':_0x3def4a[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'kdf':_0x3f62bf}),'encrypt':function(_0x178747,_0x2a7866,_0x574203,_0x15b01b){var _0x2164c9=_0x203b55;_0x15b01b=this[_0x2164c9(0x2f2)][_0x2164c9(0x18e)](_0x15b01b);var _0x2207ef=_0x15b01b[_0x2164c9(0x32a)][_0x2164c9(0x322)](_0x574203,_0x178747['keySize'],_0x178747[_0x2164c9(0x346)],_0x15b01b['salt'],_0x15b01b[_0x2164c9(0x1bc)]);_0x15b01b['iv']=_0x2207ef['iv'];var _0x53c88b=_0x3def4a['encrypt'][_0x2164c9(0x15a)](this,_0x178747,_0x2a7866,_0x2207ef[_0x2164c9(0x1f9)],_0x15b01b);return _0x53c88b[_0x2164c9(0x11c)](_0x2207ef),_0x53c88b;},'decrypt':function(_0x369dd8,_0x5867b8,_0x5cc5f5,_0x52add2){var _0x21052d=_0x203b55;_0x52add2=this[_0x21052d(0x2f2)][_0x21052d(0x18e)](_0x52add2),_0x5867b8=this[_0x21052d(0x393)](_0x5867b8,_0x52add2[_0x21052d(0x337)]);var _0x27b285=_0x52add2['kdf']['execute'](_0x5cc5f5,_0x369dd8['keySize'],_0x369dd8[_0x21052d(0x346)],_0x5867b8[_0x21052d(0x33f)],_0x52add2[_0x21052d(0x1bc)]);_0x52add2['iv']=_0x27b285['iv'];var _0x2f249e=_0x3def4a[_0x21052d(0x34e)][_0x21052d(0x15a)](this,_0x369dd8,_0x5867b8,_0x27b285['key'],_0x52add2);return _0x2f249e;}});}();}));}(Xe)),Xe[_0x3c885b(0x414)];}var Qs=We[_0x2a3857(0x414)],ai;function er(){return ai||(ai=0x1,function(_0x1de152,_0x1ac6e5){(function(_0x686392,_0x3b465e,_0x1621a6){var _0x12dd15=_0x5b8f;_0x1de152[_0x12dd15(0x414)]=_0x3b465e(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x16b860){var _0x419a85=_0x5b8f;return(function(){var _0x3ddb2c=_0x5b8f,_0x4a9a31=_0x16b860,_0x318256=_0x4a9a31[_0x3ddb2c(0x1bd)],_0x5914d2=_0x318256[_0x3ddb2c(0x2fe)],_0x30757f=_0x4a9a31['algo'],_0x5d4907=[],_0x3bed13=[],_0x5e4c8b=[],_0x1f9471=[],_0x35f290=[],_0x4aa1e9=[],_0x4f6afe=[],_0x5ad26a=[],_0xab44a6=[],_0x40d60b=[];(function(){for(var _0x10ec93=[],_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++)_0x3ce575<0x80?_0x10ec93[_0x3ce575]=_0x3ce575<<0x1:_0x10ec93[_0x3ce575]=_0x3ce575<<0x1^0x11b;for(var _0x4b29af=0x0,_0x19429e=0x0,_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++){var _0x2b178e=_0x19429e^_0x19429e<<0x1^_0x19429e<<0x2^_0x19429e<<0x3^_0x19429e<<0x4;_0x2b178e=_0x2b178e>>>0x8^_0x2b178e&0xff^0x63,_0x5d4907[_0x4b29af]=_0x2b178e,_0x3bed13[_0x2b178e]=_0x4b29af;var _0x7ec581=_0x10ec93[_0x4b29af],_0x1f51af=_0x10ec93[_0x7ec581],_0x12f763=_0x10ec93[_0x1f51af],_0x2ca30d=_0x10ec93[_0x2b178e]*0x101^_0x2b178e*0x1010100;_0x5e4c8b[_0x4b29af]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x1f9471[_0x4b29af]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0x35f290[_0x4b29af]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x4aa1e9[_0x4b29af]=_0x2ca30d;var _0x2ca30d=_0x12f763*0x1010101^_0x1f51af*0x10001^_0x7ec581*0x101^_0x4b29af*0x1010100;_0x4f6afe[_0x2b178e]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x5ad26a[_0x2b178e]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0xab44a6[_0x2b178e]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x40d60b[_0x2b178e]=_0x2ca30d,_0x4b29af?(_0x4b29af=_0x7ec581^_0x10ec93[_0x10ec93[_0x10ec93[_0x12f763^_0x7ec581]]],_0x19429e^=_0x10ec93[_0x10ec93[_0x19429e]]):_0x4b29af=_0x19429e=0x1;}}());var _0x17d1c8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f06a0=_0x30757f['AES']=_0x5914d2[_0x3ddb2c(0x18e)]({'_doReset':function(){var _0x38350f=_0x3ddb2c,_0x4eed63;if(!(this[_0x38350f(0x255)]&&this[_0x38350f(0x1d5)]===this[_0x38350f(0x1ff)])){for(var _0x4eb637=this['_keyPriorReset']=this['_key'],_0x438e1d=_0x4eb637['words'],_0x1a2822=_0x4eb637[_0x38350f(0x407)]/0x4,_0x1fde26=this[_0x38350f(0x255)]=_0x1a2822+0x6,_0x51219a=(_0x1fde26+0x1)*0x4,_0x3b5b73=this['_keySchedule']=[],_0x1959c0=0x0;_0x1959c0<_0x51219a;_0x1959c0++)_0x1959c0<_0x1a2822?_0x3b5b73[_0x1959c0]=_0x438e1d[_0x1959c0]:(_0x4eed63=_0x3b5b73[_0x1959c0-0x1],_0x1959c0%_0x1a2822?_0x1a2822>0x6&&_0x1959c0%_0x1a2822==0x4&&(_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff]):(_0x4eed63=_0x4eed63<<0x8|_0x4eed63>>>0x18,_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff],_0x4eed63^=_0x17d1c8[_0x1959c0/_0x1a2822|0x0]<<0x18),_0x3b5b73[_0x1959c0]=_0x3b5b73[_0x1959c0-_0x1a2822]^_0x4eed63);for(var _0x47c24c=this[_0x38350f(0x2ae)]=[],_0x13bab1=0x0;_0x13bab1<_0x51219a;_0x13bab1++){var _0x1959c0=_0x51219a-_0x13bab1;if(_0x13bab1%0x4)var _0x4eed63=_0x3b5b73[_0x1959c0];else var _0x4eed63=_0x3b5b73[_0x1959c0-0x4];_0x13bab1<0x4||_0x1959c0<=0x4?_0x47c24c[_0x13bab1]=_0x4eed63:_0x47c24c[_0x13bab1]=_0x4f6afe[_0x5d4907[_0x4eed63>>>0x18]]^_0x5ad26a[_0x5d4907[_0x4eed63>>>0x10&0xff]]^_0xab44a6[_0x5d4907[_0x4eed63>>>0x8&0xff]]^_0x40d60b[_0x5d4907[_0x4eed63&0xff]];}}},'encryptBlock':function(_0x38cad2,_0x29e771){var _0x56f5ec=_0x3ddb2c;this[_0x56f5ec(0x379)](_0x38cad2,_0x29e771,this[_0x56f5ec(0x294)],_0x5e4c8b,_0x1f9471,_0x35f290,_0x4aa1e9,_0x5d4907);},'decryptBlock':function(_0x7e6cd,_0x23688f){var _0x3539f2=_0x3ddb2c,_0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd,this[_0x3539f2(0x379)](_0x7e6cd,_0x23688f,this[_0x3539f2(0x2ae)],_0x4f6afe,_0x5ad26a,_0xab44a6,_0x40d60b,_0x3bed13);var _0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd;},'_doCryptBlock':function(_0x105b17,_0x5cd29b,_0x9a313a,_0x190477,_0x425b5a,_0x35ac0a,_0xea644a,_0x4d1428){var _0x2b66be=_0x3ddb2c;for(var _0xef798c=this[_0x2b66be(0x255)],_0x2ded3c=_0x105b17[_0x5cd29b]^_0x9a313a[0x0],_0x41c6ed=_0x105b17[_0x5cd29b+0x1]^_0x9a313a[0x1],_0x45d370=_0x105b17[_0x5cd29b+0x2]^_0x9a313a[0x2],_0x1a03e9=_0x105b17[_0x5cd29b+0x3]^_0x9a313a[0x3],_0x3ccaf5=0x4,_0x59cd36=0x1;_0x59cd36<_0xef798c;_0x59cd36++){var _0xff709d=_0x190477[_0x2ded3c>>>0x18]^_0x425b5a[_0x41c6ed>>>0x10&0xff]^_0x35ac0a[_0x45d370>>>0x8&0xff]^_0xea644a[_0x1a03e9&0xff]^_0x9a313a[_0x3ccaf5++],_0x226292=_0x190477[_0x41c6ed>>>0x18]^_0x425b5a[_0x45d370>>>0x10&0xff]^_0x35ac0a[_0x1a03e9>>>0x8&0xff]^_0xea644a[_0x2ded3c&0xff]^_0x9a313a[_0x3ccaf5++],_0x2f00cf=_0x190477[_0x45d370>>>0x18]^_0x425b5a[_0x1a03e9>>>0x10&0xff]^_0x35ac0a[_0x2ded3c>>>0x8&0xff]^_0xea644a[_0x41c6ed&0xff]^_0x9a313a[_0x3ccaf5++],_0x49f3a6=_0x190477[_0x1a03e9>>>0x18]^_0x425b5a[_0x2ded3c>>>0x10&0xff]^_0x35ac0a[_0x41c6ed>>>0x8&0xff]^_0xea644a[_0x45d370&0xff]^_0x9a313a[_0x3ccaf5++];_0x2ded3c=_0xff709d,_0x41c6ed=_0x226292,_0x45d370=_0x2f00cf,_0x1a03e9=_0x49f3a6;}var _0xff709d=(_0x4d1428[_0x2ded3c>>>0x18]<<0x18|_0x4d1428[_0x41c6ed>>>0x10&0xff]<<0x10|_0x4d1428[_0x45d370>>>0x8&0xff]<<0x8|_0x4d1428[_0x1a03e9&0xff])^_0x9a313a[_0x3ccaf5++],_0x226292=(_0x4d1428[_0x41c6ed>>>0x18]<<0x18|_0x4d1428[_0x45d370>>>0x10&0xff]<<0x10|_0x4d1428[_0x1a03e9>>>0x8&0xff]<<0x8|_0x4d1428[_0x2ded3c&0xff])^_0x9a313a[_0x3ccaf5++],_0x2f00cf=(_0x4d1428[_0x45d370>>>0x18]<<0x18|_0x4d1428[_0x1a03e9>>>0x10&0xff]<<0x10|_0x4d1428[_0x2ded3c>>>0x8&0xff]<<0x8|_0x4d1428[_0x41c6ed&0xff])^_0x9a313a[_0x3ccaf5++],_0x49f3a6=(_0x4d1428[_0x1a03e9>>>0x18]<<0x18|_0x4d1428[_0x2ded3c>>>0x10&0xff]<<0x10|_0x4d1428[_0x41c6ed>>>0x8&0xff]<<0x8|_0x4d1428[_0x45d370&0xff])^_0x9a313a[_0x3ccaf5++];_0x105b17[_0x5cd29b]=_0xff709d,_0x105b17[_0x5cd29b+0x1]=_0x226292,_0x105b17[_0x5cd29b+0x2]=_0x2f00cf,_0x105b17[_0x5cd29b+0x3]=_0x49f3a6;},'keySize':0x100/0x20});_0x4a9a31[_0x3ddb2c(0x416)]=_0x5914d2[_0x3ddb2c(0x25d)](_0x5f06a0);}()),_0x16b860[_0x419a85(0x416)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x2a3857(0x414)],hi;function rr(){return hi||(hi=0x1,function(_0x5e7991,_0x4f5aea){(function(_0x517e15,_0x10dd43){var _0x53170a=_0x5b8f;_0x5e7991[_0x53170a(0x414)]=_0x10dd43(ne());}(sr,function(_0x1c067b){var _0x567165=_0x5b8f;return _0x1c067b[_0x567165(0x3b6)]['Utf8'];}));}(Ze)),Ze['exports'];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe['exports'],_i;function hr(){var _0x3d04f6=_0x2a3857;return _i||(_i=0x1,function(_0x48067a,_0x14348e){(function(_0x2cbee4,_0x5c14db){var _0x5e956c=_0x5b8f;_0x48067a[_0x5e956c(0x414)]=_0x5c14db(ne());}(cr,function(_0x8df2e8){var _0x4520fc=_0x5b8f;return(function(){var _0x50942c=_0x5b8f;if(typeof ArrayBuffer==_0x50942c(0x302)){var _0x1089bb=_0x8df2e8,_0x2d9404=_0x1089bb['lib'],_0x735b23=_0x2d9404['WordArray'],_0x56a2ad=_0x735b23[_0x50942c(0x1de)],_0x2357e8=_0x735b23['init']=function(_0x4f4d62){var _0xa4ab8a=_0x50942c;if(_0x4f4d62 instanceof ArrayBuffer&&(_0x4f4d62=new Uint8Array(_0x4f4d62)),(_0x4f4d62 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f4d62 instanceof Uint8ClampedArray||_0x4f4d62 instanceof Int16Array||_0x4f4d62 instanceof Uint16Array||_0x4f4d62 instanceof Int32Array||_0x4f4d62 instanceof Uint32Array||_0x4f4d62 instanceof Float32Array||_0x4f4d62 instanceof Float64Array)&&(_0x4f4d62=new Uint8Array(_0x4f4d62['buffer'],_0x4f4d62[_0xa4ab8a(0x397)],_0x4f4d62[_0xa4ab8a(0x347)])),_0x4f4d62 instanceof Uint8Array){for(var _0x487bb3=_0x4f4d62[_0xa4ab8a(0x347)],_0x1f1075=[],_0x3a5b61=0x0;_0x3a5b61<_0x487bb3;_0x3a5b61++)_0x1f1075[_0x3a5b61>>>0x2]|=_0x4f4d62[_0x3a5b61]<<0x18-_0x3a5b61%0x4*0x8;_0x56a2ad[_0xa4ab8a(0x15a)](this,_0x1f1075,_0x487bb3);}else _0x56a2ad[_0xa4ab8a(0x2d3)](this,arguments);};_0x2357e8[_0x50942c(0x22e)]=_0x735b23;}}()),_0x8df2e8[_0x4520fc(0x1bd)]['WordArray'];}));}(Qe)),Qe[_0x3d04f6(0x414)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et['exports'],li;function dr(){var _0x4e8901=_0x2a3857;return li||(li=0x1,function(_0x3f9aff,_0x38d2d7){(function(_0x4d2051,_0x326ad2,_0x11f8b0){var _0x34cd06=_0x5b8f;_0x3f9aff[_0x34cd06(0x414)]=_0x326ad2(ne(),Li());}(ur,function(_0x32937d){var _0x7ccb7a=_0x5b8f;return _0x32937d['pad'][_0x7ccb7a(0x2d9)]={'pad':function(){},'unpad':function(){}},_0x32937d[_0x7ccb7a(0x1a9)][_0x7ccb7a(0x2d9)];}));}(et)),et[_0x4e8901(0x414)];}var fr=dr();const vr=ke(fr);function pr(_0x1490c3,_0x3aaed4){var _0x306658=_0x2a3857;const _0x7d5c1a=_0x3aaed4-_0x1490c3['length']%_0x3aaed4,_0x27ff19=String[_0x306658(0x3fb)](_0x7d5c1a)[_0x306658(0x2c0)](_0x7d5c1a);return _0x1490c3+_0x27ff19;}function mr(_0x48e4c3,_0x5cf781){var _0x326ccd=_0x2a3857;const _0x3d5170=lr[_0x326ccd(0x14c)](0x10),_0x491643=pr(_0x48e4c3,0x10),_0x52c9c4=ir[_0x326ccd(0x298)](ar[_0x326ccd(0x389)](_0x491643),ci['parse'](_0x5cf781),{'iv':_0x3d5170,'padding':vr});return _0x3d5170['concat'](_0x52c9c4[_0x326ccd(0x373)])[_0x326ccd(0x28c)](ci);}function gr(){var _0x553a9d=_0x2a3857;const _0x177279=_0x57f2ea()['__Key__'];if(_0x177279){const _0x4584e4={'time':Math[_0x553a9d(0x23a)](Date[_0x553a9d(0x314)]()/0x3e8),'domain':location[_0x553a9d(0x1f3)]};return mr(JSON[_0x553a9d(0x178)](_0x4584e4),_0x177279);}}var Sr=Object[_0x2a3857(0x239)],Er=Object[_0x2a3857(0x1e9)],Ir=(_0x232228,_0x487382,_0x1d87ff,_0x1b0d7c)=>{for(var _0x26489b=_0x1b0d7c>0x1?void 0x0:_0x1b0d7c?Er(_0x487382,_0x1d87ff):_0x487382,_0x9fbb62=_0x232228['length']-0x1,_0x5ab610;_0x9fbb62>=0x0;_0x9fbb62--)(_0x5ab610=_0x232228[_0x9fbb62])&&(_0x26489b=(_0x1b0d7c?_0x5ab610(_0x487382,_0x1d87ff,_0x26489b):_0x5ab610(_0x26489b))||_0x26489b);return _0x1b0d7c&&_0x26489b&&Sr(_0x487382,_0x1d87ff,_0x26489b),_0x26489b;},Tr=(_0x75dc29,_0x28bb15)=>(_0x207e3c,_0x3781ff)=>_0x28bb15(_0x207e3c,_0x3781ff,_0x75dc29);let at=class{constructor(_0x40743f){var _0x37b551=_0x2a3857;this[_0x37b551(0x330)]=_0x40743f,this[_0x37b551(0x406)]();}[_0x2a3857(0x406)](){var _0x3dffb5=_0x2a3857;this['_httpService'][_0x3dffb5(0x128)]({'interceptor':(_0x64df01,_0x3804fb)=>{var _0x21676e=_0x3dffb5;const _0x2c99f0=_0x64df01['headers'],_0x98c1f3=gr();return _0x98c1f3&&_0x2c99f0['set'](_0x21676e(0x33d),_0x98c1f3),_0x3804fb(_0x64df01);}});}};at=Ir([Tr(0x0,_0x21b3b2(_0x4fa095))],at);var Cr=Object[_0x2a3857(0x239)],br=Object[_0x2a3857(0x1e9)],Rr=(_0x5239d3,_0xc2cf9a,_0x42758d,_0x54d801)=>{for(var _0x561da0=_0x54d801>0x1?void 0x0:_0x54d801?br(_0xc2cf9a,_0x42758d):_0xc2cf9a,_0x552394=_0x5239d3['length']-0x1,_0x45833d;_0x552394>=0x0;_0x552394--)(_0x45833d=_0x5239d3[_0x552394])&&(_0x561da0=(_0x54d801?_0x45833d(_0xc2cf9a,_0x42758d,_0x561da0):_0x45833d(_0x561da0))||_0x561da0);return _0x54d801&&_0x561da0&&Cr(_0xc2cf9a,_0x42758d,_0x561da0),_0x561da0;},gt=(_0x196c22,_0x5c0d45)=>(_0x4486f0,_0x35e3ab)=>_0x5c0d45(_0x4486f0,_0x35e3ab,_0x196c22);let Ot=class extends _0x3f0249{constructor(_0xab2c9e,_0x2821db,_0x133706){var _0x15e5c9=_0x2a3857;super(),P(this,'_unitInfo$',new _0x500ff8(null)),P(this,_0x15e5c9(0x169),this['_unitInfo$'][_0x15e5c9(0x2e0)]()),(this[_0x15e5c9(0x335)]=_0xab2c9e,this[_0x15e5c9(0x177)]=_0x2821db,this[_0x15e5c9(0x15c)]=_0x133706);}async[_0x2a3857(0x256)](_0x29eae3,_0xf65499,_0xbc3af2){var _0x5c64b8=_0x2a3857;this[_0x5c64b8(0x388)]['next']({'unitId':_0x29eae3,'type':_0xf65499,'subUnitId':_0xbc3af2});let _0x5af00a=null;switch(_0xf65499){case Q[_0x5c64b8(0x292)]:{_0x5af00a=await this[_0x5c64b8(0x19b)](_0x29eae3);break;}case Q[_0x5c64b8(0x1d6)]:{_0x5af00a=await this[_0x5c64b8(0x1e1)](_0x29eae3);break;}default:{this[_0x5c64b8(0x335)]['error']('[DataLoaderService]',_0x5c64b8(0x27a));break;}}return _0x5af00a;}async[_0x2a3857(0x19b)](_0x467e5c){var _0x44f7c6=_0x2a3857,_0x299cff;let _0x53aaba=0x0;const _0xce3d7f=await((_0x299cff=this[_0x44f7c6(0x15c)])==null?void 0x0:_0x299cff[_0x44f7c6(0x3ac)](_0x467e5c));return _0xce3d7f&&(_0xce3d7f[_0x44f7c6(0x398)]||_0xce3d7f['mutations'][_0x44f7c6(0x32e)]!==0x0)&&(_0x53aaba=_0xce3d7f[_0x44f7c6(0x3d6)]),_0x53aaba===0x0&&this['_logService']['debug'](_0x44f7c6(0x408),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x44f7c6(0x15e)](_0x467e5c,_0x53aaba);}async[_0x2a3857(0x1e1)](_0x3ef96a){var _0x3b8e1a=_0x2a3857,_0x3698f1;let _0x5567e1=0x0;const _0x3daca7=await((_0x3698f1=this[_0x3b8e1a(0x15c)])==null?void 0x0:_0x3698f1[_0x3b8e1a(0x3ac)](_0x3ef96a));return _0x3daca7&&(_0x3daca7[_0x3b8e1a(0x398)]||_0x3daca7['mutations'][_0x3b8e1a(0x32e)]!==0x0)&&(_0x5567e1=_0x3daca7[_0x3b8e1a(0x3d6)]),_0x5567e1===0x0&&this[_0x3b8e1a(0x335)]['debug'](_0x3b8e1a(0x408),_0x3b8e1a(0x2ad)),this['_snapshotService']['loadDoc'](_0x3ef96a,_0x5567e1);}};Ot=Rr([gt(0x0,_0x4e1c8f),gt(0x1,_0x21b3b2(_0x2546f0)),gt(0x2,_0x10c77b(X))],Ot);var yr=Object[_0x2a3857(0x239)],Or=Object[_0x2a3857(0x1e9)],Nr=(_0x4df4c8,_0x29d5d9,_0x300482,_0x3b50a3)=>{for(var _0x51245c=_0x3b50a3>0x1?void 0x0:_0x3b50a3?Or(_0x29d5d9,_0x300482):_0x29d5d9,_0x19c606=_0x4df4c8['length']-0x1,_0x1d50ab;_0x19c606>=0x0;_0x19c606--)(_0x1d50ab=_0x4df4c8[_0x19c606])&&(_0x51245c=(_0x3b50a3?_0x1d50ab(_0x29d5d9,_0x300482,_0x51245c):_0x1d50ab(_0x51245c))||_0x51245c);return _0x3b50a3&&_0x51245c&&yr(_0x29d5d9,_0x300482,_0x51245c),_0x51245c;},St=(_0x25ec0c,_0x5c74e7)=>(_0x60045a,_0x55f7ae)=>_0x5c74e7(_0x60045a,_0x55f7ae,_0x25ec0c);const Pr=[_0x2a3857(0x417),_0x2a3857(0x300),'image/jpg','image/gif',_0x2a3857(0x1ac)],Dr=0x5*0x400*0x400,wr=_0x2a3857(0x2b6),Ur=_0x2a3857(0x24f),Ar=_0x2a3857(0x3b2),xr=_0x2a3857(0x11a);let Nt=class{constructor(_0x228fd9,_0x1f17b3,_0x5af3f1){var _0x23093a=_0x2a3857;P(this,_0x23093a(0x266),0x0),P(this,_0x23093a(0x31c),new _0x282fa7()),P(this,_0x23093a(0x3a3),this[_0x23093a(0x31c)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x228fd9,this['_configService']=_0x1f17b3,this[_0x23093a(0x3cd)]=_0x5af3f1);}[_0x2a3857(0x3bd)](_0x4e474c){var _0x2dc960=_0x2a3857;this['_waitCount']=_0x4e474c,this[_0x2dc960(0x31c)][_0x2dc960(0x386)](_0x4e474c);}[_0x2a3857(0x1c9)](_0x280a08,_0xcc691d){var _0x263b37=_0x2a3857;if(_0xcc691d===_0x1588b5[_0x263b37(0x33c)]){const _0x389af3=new Image();return _0x389af3['src']=_0x280a08,_0x389af3;}return this[_0x263b37(0x2e1)]['get'](_0x280a08);}['addImageSourceCache'](_0x5a1040,_0x1f0f81,_0x4b6217){var _0x925121=_0x2a3857;_0x1f0f81===_0x1588b5[_0x925121(0x33c)]||_0x4b6217==null||this[_0x925121(0x2e1)]['set'](_0x5a1040,_0x4b6217);}async[_0x2a3857(0x240)](_0xeaa97d){var _0x21865d=_0x2a3857;try{const _0xd392bf=this['_replaceFileID'](this['_getSignURL'](),''+_0xeaa97d),_0x5dfd26=(await this[_0x21865d(0x330)][_0x21865d(0x21d)](_0xd392bf))['body'];if(_0x5dfd26['error']&&_0x5dfd26[_0x21865d(0x119)][_0x21865d(0x39d)]===Ci['OK']){const _0x44fc83=new URL(_0x5dfd26[_0x21865d(0x120)],this[_0x21865d(0x2c6)]())['toString']();return Promise[_0x21865d(0x36e)](_0x44fc83);}return Promise[_0x21865d(0x21a)](_0x5dfd26[_0x21865d(0x119)]);}catch(_0x48eeda){return Promise[_0x21865d(0x21a)](_0x48eeda);}}async[_0x2a3857(0x1f1)](_0x216b4b){var _0x196c4c=_0x2a3857;let _0x1e5158='';if(!Pr[_0x196c4c(0x3ab)](_0x216b4b[_0x196c4c(0x1ce)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5[_0x196c4c(0x3cb)]));if(_0x216b4b[_0x196c4c(0x280)]>Dr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5['ERROR_EXCEED_SIZE']));try{const _0x4b15d3=new FormData();_0x4b15d3['append'](_0x196c4c(0x2be),_0x216b4b);const _0x137053=this[_0x196c4c(0x3cd)]['getFocusedUnit'](),_0x18a701=_0x137053==null?void 0x0:_0x137053[_0x196c4c(0x3b4)]();if(!_0x18a701)throw new Error(_0x196c4c(0x161));const _0x44b407=this[_0x196c4c(0x148)]()+_0x196c4c(0x371)+_0x216b4b[_0x196c4c(0x280)][_0x196c4c(0x28c)]()+_0x196c4c(0x1df)+bi[_0x196c4c(0x215)]+_0x196c4c(0x138)+encodeURIComponent(_0x18a701),_0x5803ac=await(await fetch(_0x44b407,{'method':_0x196c4c(0x2c2),'body':_0x4b15d3}))['json']();if(typeof _0x5803ac[_0x196c4c(0x18d)]!=_0x196c4c(0x29a))return this[_0x196c4c(0x29f)](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));_0x1e5158=_0x5803ac[_0x196c4c(0x18d)];}catch{return this['_decreaseWaiting'](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));}return new Promise((_0x251f91,_0x4041a9)=>{var _0x2379d4=_0x196c4c;const _0x4cff3f=new FileReader();_0x4cff3f[_0x2379d4(0x3e2)](_0x216b4b),_0x4cff3f[_0x2379d4(0x232)]=_0x135255=>{var _0x17b951=_0x2379d4,_0x4d2e69;const _0x3b0c80=(_0x4d2e69=_0x135255[_0x17b951(0x269)])==null?void 0x0:_0x4d2e69[_0x17b951(0x40c)];if(_0x3b0c80==null){this[_0x17b951(0x29f)](),_0x4041a9(new Error(_0xf0a3d5[_0x17b951(0x29d)]));return;}const _0x165f10=_0x57b57d[_0x17b951(0x1a6)](0x6);_0x251f91({'imageId':_0x165f10,'imageSourceType':_0x1588b5[_0x17b951(0x3fa)],'source':_0x1e5158,'base64Cache':_0x3b0c80,'status':_0xf0a3d5[_0x17b951(0x3f8)]}),this[_0x17b951(0x29f)]();};});}['_getUploadFileURL'](){var _0x3e90ab=_0x2a3857,_0xc55dae,_0x1d5433;const _0x444eaa=this[_0x3e90ab(0x205)][_0x3e90ab(0x122)](wr),_0x28cdab=this['_configService']['getConfig'](Y);return(_0x1d5433=(_0xc55dae=_0x28cdab==null?void 0x0:_0x28cdab[_0x3e90ab(0x387)])!=null?_0xc55dae:_0x444eaa)!=null?_0x1d5433:Ur;}[_0x2a3857(0x2e4)](){var _0x319d86=_0x2a3857,_0x5397d7,_0x352921;const _0x44d8eb=this[_0x319d86(0x205)][_0x319d86(0x122)](Ar),_0x3e97ae=this[_0x319d86(0x205)][_0x319d86(0x122)](Y);return(_0x352921=(_0x5397d7=_0x3e97ae==null?void 0x0:_0x3e97ae['signUrlServerUrl'])!=null?_0x5397d7:_0x44d8eb)!=null?_0x352921:xr;}[_0x2a3857(0x2c6)](){var _0x47ec10=_0x2a3857,_0x4b5eda;const _0x2e542d=this[_0x47ec10(0x205)][_0x47ec10(0x122)](Y);return(_0x4b5eda=_0x2e542d==null?void 0x0:_0x2e542d[_0x47ec10(0x3d8)])!=null?_0x4b5eda:location[_0x47ec10(0x21b)];}[_0x2a3857(0x1ef)](_0x5ea76f,_0x304068){var _0x28deb1=_0x2a3857;return _0x5ea76f[_0x28deb1(0x156)](_0x28deb1(0x2d4),_0x304068);}['_decreaseWaiting'](){var _0xea919e=_0x2a3857;this[_0xea919e(0x266)]-=0x1,this[_0xea919e(0x31c)][_0xea919e(0x386)](this[_0xea919e(0x266)]);}};function _0x5b8f(_0x353fda,_0x5ab292){var _0x4544b4=_0x4544();return _0x5b8f=function(_0x5b8f35,_0x40e268){_0x5b8f35=_0x5b8f35-0x115;var _0x3d384d=_0x4544b4[_0x5b8f35];return _0x3d384d;},_0x5b8f(_0x353fda,_0x5ab292);}Nt=Nr([St(0x0,_0x21b3b2(_0x4fa095)),St(0x1,_0x24bebb),St(0x2,_0x21b3b2(_0x40e127))],Nt);var Lr=Object[_0x2a3857(0x239)],Mr=Object['getOwnPropertyDescriptor'],$r=(_0x3f8d98,_0x4cb360,_0x8d4fd8,_0x174dca)=>{var _0x479a77=_0x2a3857;for(var _0x456c34=_0x174dca>0x1?void 0x0:_0x174dca?Mr(_0x4cb360,_0x8d4fd8):_0x4cb360,_0x568883=_0x3f8d98[_0x479a77(0x32e)]-0x1,_0x42a417;_0x568883>=0x0;_0x568883--)(_0x42a417=_0x3f8d98[_0x568883])&&(_0x456c34=(_0x174dca?_0x42a417(_0x4cb360,_0x8d4fd8,_0x456c34):_0x42a417(_0x456c34))||_0x456c34);return _0x174dca&&_0x456c34&&Lr(_0x4cb360,_0x8d4fd8,_0x456c34),_0x456c34;},ui=(_0x1e32f1,_0x480871)=>(_0x439b46,_0x284396)=>_0x480871(_0x439b46,_0x284396,_0x1e32f1);const Hr='/universer-api/authz';let Pt=class{constructor(_0x31beea,_0x4b6152){var _0x27cf7b=_0x2a3857;this[_0x27cf7b(0x205)]=_0x31beea,this[_0x27cf7b(0x1ab)]=_0x4b6152;}[_0x2a3857(0x1b2)](){var _0x25689c=_0x2a3857,_0x5df409,_0x4c39ba;const _0x467fdf=this['_configService']['getConfig'](Ui),_0x394c6c=this[_0x25689c(0x205)][_0x25689c(0x122)](Y);return(_0x4c39ba=(_0x5df409=_0x394c6c==null?void 0x0:_0x394c6c[_0x25689c(0x334)])!=null?_0x5df409:_0x467fdf)!=null?_0x4c39ba:Hr;}async[_0x2a3857(0x2b2)](_0xaed120){var _0x94ea48=_0x2a3857;const _0x4b0d69=this[_0x94ea48(0x1b2)]()+'/collaborator';return{'list':[{'title':_0x94ea48(0x36d),'mentions':(await this['_HTTPService'][_0x94ea48(0x21d)](_0x4b0d69,{'params':{'objectID':_0xaed120['unitId'],'unitID':_0xaed120[_0x94ea48(0x2b7)]}}))['body'][_0x94ea48(0x3a8)]['map'](_0x121275=>({'objectId':_0x121275['id'],'name':_0x121275['subject'][_0x94ea48(0x27d)],'metadata':{'icon':_0x121275[_0x94ea48(0x16e)]['avatar']},'label':_0x121275[_0x94ea48(0x16e)]['name'],'objectType':_0x4eb276[_0x94ea48(0x260)]})),'metadata':{},'type':_0x4eb276[_0x94ea48(0x260)]}]};}};Pt=$r([ui(0x0,_0x21b3b2(_0x24bebb)),ui(0x1,_0x21b3b2(_0x4fa095))],Pt);var kr=Object[_0x2a3857(0x239)],jr=Object[_0x2a3857(0x1e9)],Br=(_0x34babb,_0x5a17e1,_0x25ccd7,_0x3a673e)=>{var _0x35e0f0=_0x2a3857;for(var _0x20e32c=_0x3a673e>0x1?void 0x0:_0x3a673e?jr(_0x5a17e1,_0x25ccd7):_0x5a17e1,_0x770c3d=_0x34babb[_0x35e0f0(0x32e)]-0x1,_0x489b33;_0x770c3d>=0x0;_0x770c3d--)(_0x489b33=_0x34babb[_0x770c3d])&&(_0x20e32c=(_0x3a673e?_0x489b33(_0x5a17e1,_0x25ccd7,_0x20e32c):_0x489b33(_0x20e32c))||_0x20e32c);return _0x3a673e&&_0x20e32c&&kr(_0x5a17e1,_0x25ccd7,_0x20e32c),_0x20e32c;},Se=(_0x1ab87a,_0x14a70c)=>(_0x1aefe9,_0x18c4af)=>_0x14a70c(_0x1aefe9,_0x18c4af,_0x1ab87a);let ct=class extends _0x3f0249{constructor(_0x5b18f4,_0x46b9ea,_0x4f59b2,_0x377bdc,_0x4d5e49,_0x4e6690,_0x2e6da5){var _0x285310=_0x2a3857;super(),this['_injector']=_0x5b18f4,this[_0x285310(0x3cd)]=_0x46b9ea,this['_permissionService']=_0x4f59b2,this['_collaborationSessionService']=_0x377bdc,this[_0x285310(0x30d)]=_0x4d5e49,this['_authzIoService']=_0x4e6690,this[_0x285310(0x36f)]=_0x2e6da5,this[_0x285310(0x3e5)](),this[_0x285310(0x39a)]();}[_0x2a3857(0x39a)](){var _0x1294ee=_0x2a3857;const _0x49ef52=async _0x55013b=>{var _0x1fbbf9=_0x5b8f;(await this[_0x1fbbf9(0x202)][_0x1fbbf9(0x411)](_0x55013b))[_0x1fbbf9(0x2a9)][_0x1fbbf9(0x369)](_0x5bfb9e(_0x525e20=>_0x525e20['eventID']===_0x562849['SHOULD_CLOSE_CONN']),_0x3ba3cf(this[_0x1fbbf9(0x3bb)]))[_0x1fbbf9(0x2cb)](_0x414334=>{var _0x8fadee=_0x1fbbf9;const _0x568997=_0x414334,{reason:_0x429f6d}=_0x568997[_0x8fadee(0x13b)];this[_0x8fadee(0x30d)][_0x8fadee(0x3db)]({'id':re[_0x8fadee(0x165)],'data':_0x429f6d}),this[_0x8fadee(0x11e)][_0x8fadee(0x20e)](new _0x39ae2d(_0x55013b)['id'],!0x1),this[_0x8fadee(0x202)][_0x8fadee(0x2b8)](_0x55013b);});};_0xc9cdeb(this[_0x1294ee(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x1294ee(0x292)]),this['_univerInstanceService'][_0x1294ee(0x1b3)](_0x465e07[_0x1294ee(0x1d6)]))[_0x1294ee(0x369)](_0x4bf464(_0x35101=>_0x35101['getUnitId']()),_0x5bfb9e(_0x3b30d3=>!_0xc08f6c(_0x3b30d3)),_0x3ba3cf(this[_0x1294ee(0x3bb)]))[_0x1294ee(0x2cb)](_0x31d968=>{_0x49ef52(_0x31d968);});}['_initUnitPermissionChange'](){var _0x297218=_0x2a3857;const _0x536dd7=async _0x20e62e=>{var _0x2e3b53=_0x5b8f;(await this[_0x2e3b53(0x202)][_0x2e3b53(0x411)](_0x20e62e))[_0x2e3b53(0x2a9)][_0x2e3b53(0x369)](_0x5bfb9e(_0x51cedb=>_0x51cedb[_0x2e3b53(0x383)]===_0x562849[_0x2e3b53(0x183)]),_0x3ba3cf(this['dispose$']))[_0x2e3b53(0x2cb)](_0x3ccf77=>{var _0x244c64=_0x2e3b53;const _0x54255d=_0x3ccf77,{objectId:_0x4ba829}=_0x54255d[_0x244c64(0x13b)];_0x4ba829===_0x20e62e?this[_0x244c64(0x134)](_0x20e62e):this[_0x244c64(0x3ec)](_0x20e62e,_0x4ba829);});};_0xc9cdeb(this[_0x297218(0x3cd)][_0x297218(0x1b3)](_0x465e07[_0x297218(0x292)]),this[_0x297218(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x297218(0x1d6)]))['pipe'](_0x4bf464(_0x4deb2f=>_0x4deb2f[_0x297218(0x3b4)]()),_0x5bfb9e(_0x37e8cf=>!_0xc08f6c(_0x37e8cf)),_0x3ba3cf(this[_0x297218(0x3bb)]))[_0x297218(0x2cb)](_0x24b775=>{_0x536dd7(_0x24b775);});}async[_0x2a3857(0x134)](_0x34d876){var _0x37b23=_0x2a3857,_0x3843b8;const _0x3b9ac7=_0x34d876||((_0x3843b8=this['_univerInstanceService'][_0x37b23(0x3b3)](_0x465e07[_0x37b23(0x292)]))==null?void 0x0:_0x3843b8['getUnitId']());_0x3b9ac7&&this[_0x37b23(0x2a7)][_0x37b23(0x326)]({'objectID':_0x3b9ac7,'objectType':_0x4172eb['Workbook'],'unitID':_0x3b9ac7,'actions':_0x5b7918})[_0x37b23(0x192)](_0x1633df=>{var _0x47b241=_0x37b23;_0x3e17f7()[_0x47b241(0x168)](_0x3babda=>{var _0xe009c1=_0x47b241;const _0x9f4cc4=new _0x3babda(_0x3b9ac7),_0x1639e4=_0x9f4cc4['subType'],_0x45e11f=_0x1633df[_0xe009c1(0x189)](_0x603048=>_0x603048[_0xe009c1(0x3ad)]===_0x1639e4);_0x45e11f&&this['_permissionService'][_0xe009c1(0x20e)](_0x9f4cc4['id'],_0x45e11f[_0xe009c1(0x326)]);});});}[_0x2a3857(0x3ec)](_0x54af81,_0xfc5ea1){var _0x12b031=_0x2a3857;const _0x3a7e89=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0xc125ce),_0x5b40c6=_0x3a7e89[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);let _0x39d907=!0x1;if(_0x5b40c6){const [_0x318d33,_0x309c2f]=_0x5b40c6;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x1ec)],'actions':_0xef18b8})[_0x12b031(0x192)](_0x48dc9b=>{var _0x2f8453=_0x12b031;let _0x2908a6='';_0x1553e5()['forEach'](_0x335b1c=>{var _0x4a2c6a=_0x5b8f,_0x128845;const _0x5603fb=new _0x335b1c(_0x54af81,_0x309c2f),_0x1f9cb5=_0x5603fb[_0x4a2c6a(0x3ef)],_0x1cf5f1=_0x48dc9b['find'](_0x44ceef=>_0x44ceef['action']===_0x1f9cb5);_0x1cf5f1&&(((_0x128845=this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x187)](_0x5603fb['id']))==null?void 0x0:_0x128845['value'])!==_0x1cf5f1[_0x4a2c6a(0x326)]&&(_0x39d907=!0x0),this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x20e)](_0x5603fb['id'],_0x1cf5f1[_0x4a2c6a(0x326)]),_0x2908a6+=_0x1cf5f1[_0x4a2c6a(0x3ad)]+'_'+_0x1cf5f1[_0x4a2c6a(0x326)]);}),_0x3a7e89[_0x2f8453(0x15f)](_0xfc5ea1+'_'+_0x2908a6),_0x39d907&&this[_0x2f8453(0x36f)][_0x2f8453(0x364)](_0x54af81);});}const _0x4d0dcc=this['_injector'][_0x12b031(0x21d)](_0x12954f)['getTargetByPermissionId'](_0x54af81,_0xfc5ea1);if(_0x4d0dcc){const [_0x31e2a5,_0x51d420]=_0x4d0dcc;this[_0x12b031(0x2a7)][_0x12b031(0x326)]({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb['Worksheet'],'actions':_0x3a77ca})[_0x12b031(0x192)](_0x2b0932=>{var _0x1d6375=_0x12b031;_0x7e5269()[_0x1d6375(0x168)](_0x1edfad=>{var _0x4d88c0=_0x1d6375,_0x3315d8;const _0x409936=new _0x1edfad(_0x54af81,_0x51d420),_0x1789cc=_0x409936[_0x4d88c0(0x3ef)],_0xedd98f=_0x2b0932[_0x4d88c0(0x189)](_0x367475=>_0x367475[_0x4d88c0(0x3ad)]===_0x1789cc);_0xedd98f&&(((_0x3315d8=this[_0x4d88c0(0x11e)][_0x4d88c0(0x187)](_0x409936['id']))==null?void 0x0:_0x3315d8['value'])!==_0xedd98f['allowed']&&(_0x39d907=!0x0),this[_0x4d88c0(0x11e)][_0x4d88c0(0x20e)](_0x409936['id'],_0xedd98f['allowed']));}),_0x39d907&&this[_0x1d6375(0x36f)][_0x1d6375(0x364)](_0x54af81);});}const _0x1daf80=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0x5b5e96),_0x28add2=_0x1daf80[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);if(_0x28add2){const [_0x2b017e,_0x3b7687]=_0x28add2;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x37e)],'actions':_0xef18b8})['then'](_0x3cc1f7=>{var _0x27246c=_0x12b031;let _0x14915b='';_0x13122b()[_0x27246c(0x168)](_0x4bd29a=>{var _0x299cc3=_0x27246c,_0x350f72;const _0x5ec6c6=new _0x4bd29a(_0x54af81,_0x3b7687,_0xfc5ea1),_0x3f5a68=_0x5ec6c6['subType'],_0x236873=_0x3cc1f7['find'](_0x25acd8=>_0x25acd8[_0x299cc3(0x3ad)]===_0x3f5a68);_0x236873&&(((_0x350f72=this[_0x299cc3(0x11e)][_0x299cc3(0x187)](_0x5ec6c6['id']))==null?void 0x0:_0x350f72[_0x299cc3(0x1fc)])!==_0x236873[_0x299cc3(0x326)]&&(_0x39d907=!0x0),this[_0x299cc3(0x11e)]['updatePermissionPoint'](_0x5ec6c6['id'],_0x236873[_0x299cc3(0x326)]),_0x14915b+=_0x236873['action']+'_'+_0x236873[_0x299cc3(0x326)]);}),_0x1daf80[_0x27246c(0x15f)](_0xfc5ea1+'_'+_0x14915b),_0x39d907&&this[_0x27246c(0x36f)][_0x27246c(0x364)](_0x54af81);});}}};ct=Br([Se(0x0,_0x21b3b2(_0x548366)),Se(0x1,_0x40e127),Se(0x2,_0x1c05e3),Se(0x3,_0x21b3b2(Le)),Se(0x4,_0x21b3b2(pe)),Se(0x5,_0x1ee820),Se(0x6,_0x34b8e6)],ct);var Fr=Object[_0x2a3857(0x239)],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x95de1e,_0x1a6343,_0x37533f,_0x3ee6ef)=>{for(var _0x44ca51=_0x3ee6ef>0x1?void 0x0:_0x3ee6ef?Vr(_0x1a6343,_0x37533f):_0x1a6343,_0x1df47c=_0x95de1e['length']-0x1,_0x39fae4;_0x1df47c>=0x0;_0x1df47c--)(_0x39fae4=_0x95de1e[_0x1df47c])&&(_0x44ca51=(_0x3ee6ef?_0x39fae4(_0x1a6343,_0x37533f,_0x44ca51):_0x39fae4(_0x44ca51))||_0x44ca51);return _0x3ee6ef&&_0x44ca51&&Fr(_0x1a6343,_0x37533f,_0x44ca51),_0x44ca51;},di=(_0x481421,_0x415b0b)=>(_0x2068e8,_0x244b67)=>_0x415b0b(_0x2068e8,_0x244b67,_0x481421);let Dt=class{constructor(_0x733a5,_0x4e1bae){var _0x1bd80a=_0x2a3857;this[_0x1bd80a(0x205)]=_0x733a5,this[_0x1bd80a(0x330)]=_0x4e1bae;}async['getUnitOnRev'](_0x4d7eb4,_0x1d1168){var _0x28ff8c=_0x2a3857,_0x391acd;const {unitID:_0x194344,type:_0x17a0d2,revision:_0x4b4c6c=0x0}=_0x1d1168,_0x1d8a0f=this[_0x28ff8c(0x339)]()+'/'+_0x17a0d2+_0x28ff8c(0x3e1)+_0x194344+_0x28ff8c(0x139)+_0x4b4c6c,_0x4313cc=(await this[_0x28ff8c(0x330)]['get'](_0x1d8a0f))['body'],_0x933c5a=(_0x391acd=_0x4313cc['snapshot'])==null?void 0x0:_0x391acd['workbook'];if(_0x933c5a){const _0x3c6b91=_0x933c5a==null?void 0x0:_0x933c5a['originalMeta'],_0x38b8a0=_0x56aad7[_0x28ff8c(0x182)](_0x2a92b6(_0x3c6b91));_0x933c5a['originalMeta']=_0x38b8a0,Object['entries'](_0x933c5a['sheets'])[_0x28ff8c(0x168)](([,_0x2ede9a])=>{const _0x3a1c2a=_0x2ede9a['originalMeta'],_0x2a6f71=_0x56aad7['encode'](_0x2a92b6(_0x3a1c2a));_0x2ede9a['originalMeta']=_0x2a6f71;});}return _0x4313cc;}async[_0x2a3857(0x283)](_0x4cd513,_0x7a6487){var _0x597759=_0x2a3857;const {unitID:_0x544f16,type:_0x289e2a,blockID:_0x40a0e1}=_0x7a6487,_0x29463a=this[_0x597759(0x281)]()+'/'+_0x289e2a+_0x597759(0x3e1)+_0x544f16+'/block/'+_0x40a0e1;return(await this[_0x597759(0x330)][_0x597759(0x21d)](_0x29463a))[_0x597759(0x1a1)];}async[_0x2a3857(0x1da)](_0x45bdea,_0x52d285){var _0x211579=_0x2a3857;const {unitID:_0x47e77a,type:_0x15be84,blockID:_0x34db9d}=_0x52d285,_0x18d472=this['_getAPIPrefix']()+_0x211579(0x216)+_0x15be84+_0x211579(0x3e1)+_0x47e77a+'/block/'+_0x34db9d;return(await this[_0x211579(0x330)][_0x211579(0x21d)](_0x18d472))[_0x211579(0x1a1)];}async['fetchMissingChangesets'](_0x211e80,_0x3701ea){var _0x87e8a2=_0x2a3857;const {unitID:_0x2c5f,type:_0xe71718,from:_0x42cb8e,to:_0x1384a0}=_0x3701ea,_0x6783c1=this[_0x87e8a2(0x281)]()+'/'+_0xe71718+_0x87e8a2(0x3e1)+_0x2c5f+_0x87e8a2(0x1d8)+_0x42cb8e+_0x87e8a2(0x40b)+_0x1384a0;return(await this['_httpService'][_0x87e8a2(0x21d)](_0x6783c1))[_0x87e8a2(0x1a1)];}[_0x2a3857(0x339)](){var _0x101534=_0x2a3857,_0x2250a1;return(_0x2250a1=this[_0x101534(0x205)]['getConfig'](Un))!=null?_0x2250a1:this['_getAPIPrefix']();}[_0x2a3857(0x281)](){var _0x30c76b=_0x2a3857,_0x1872f6,_0x2feda0;const _0x18fb03=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Dn),_0x28ab9f=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Y);return(_0x2feda0=(_0x1872f6=_0x28ab9f==null?void 0x0:_0x28ab9f[_0x30c76b(0x17b)])!=null?_0x1872f6:_0x18fb03)!=null?_0x2feda0:wn;}async[_0x2a3857(0x268)](_0x35486a,_0x36f305){var _0x82fbf2=_0x2a3857;const _0x13e4b5=_0x82fbf2(0x22d)+_0x36f305[_0x82fbf2(0x1ce)]+_0x82fbf2(0x3e1)+_0x36f305[_0x82fbf2(0x12e)]+'/resources';return(await this[_0x82fbf2(0x330)][_0x82fbf2(0x21d)](_0x13e4b5,{'params':{'resourceId':JSON['stringify'](_0x36f305[_0x82fbf2(0x3d9)])}}))[_0x82fbf2(0x1a1)];}[_0x2a3857(0x26f)](){var _0x2f4745=_0x2a3857;throw new Error(_0x2f4745(0x367));}[_0x2a3857(0x2f7)](){var _0xe3637b=_0x2a3857;throw new Error(_0xe3637b(0x367));}[_0x2a3857(0x18a)](){var _0x44a826=_0x2a3857;throw new Error(_0x44a826(0x367));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a3857(0x1a3)](){var _0x517beb=_0x2a3857;throw new Error(_0x517beb(0x367));}};Dt=Wr([di(0x0,_0x24bebb),di(0x1,_0x21b3b2(_0x4fa095))],Dt);var Gr=Object[_0x2a3857(0x239)],Kr=Object[_0x2a3857(0x1e9)],zr=(_0x1a9fdb,_0x3717e7,_0x5ba9f6,_0x82dd5e)=>{var _0x4b0b28=_0x2a3857;for(var _0x1248f2=_0x82dd5e>0x1?void 0x0:_0x82dd5e?Kr(_0x3717e7,_0x5ba9f6):_0x3717e7,_0x2c3c8a=_0x1a9fdb[_0x4b0b28(0x32e)]-0x1,_0x2fd995;_0x2c3c8a>=0x0;_0x2c3c8a--)(_0x2fd995=_0x1a9fdb[_0x2c3c8a])&&(_0x1248f2=(_0x82dd5e?_0x2fd995(_0x3717e7,_0x5ba9f6,_0x1248f2):_0x2fd995(_0x1248f2))||_0x1248f2);return _0x82dd5e&&_0x1248f2&&Gr(_0x3717e7,_0x5ba9f6,_0x1248f2),_0x1248f2;},Ae=(_0x4b250d,_0xcc9ce5)=>(_0x380eff,_0x4ce6a4)=>_0xcc9ce5(_0x380eff,_0x4ce6a4,_0x4b250d);let wt=class extends _0x2afa4d{constructor(_0x1c3647,_0x1b867e,_0x4d52b0,_0x5b9758,_0x3b565c){var _0x2b0112=_0x2a3857;super(_0x1c3647,_0x1b867e,_0x4d52b0),this['_transformService']=_0x5b9758,this[_0x2b0112(0x335)]=_0x3b565c;}[_0x2a3857(0x223)](_0x1d9c86,_0x4f545c){var _0x425334=_0x2a3857;const _0x44f82f=this['_getUndoStack'](_0x1d9c86);if(_0x44f82f)try{const _0x4126d5=this[_0x425334(0x2cd)](_0x44f82f,_0x4f545c);this[_0x425334(0x320)](_0x1d9c86,_0x4126d5);}catch(_0x2db2ed){this[_0x425334(0x335)][_0x425334(0x119)](_0x425334(0x25e),_0x2db2ed),this[_0x425334(0x20a)](_0x1d9c86);}const _0x34431d=this[_0x425334(0x11f)](_0x1d9c86);if(_0x34431d)try{const _0x54003e=this[_0x425334(0x2cd)](_0x34431d,_0x4f545c);this[_0x425334(0x29e)](_0x1d9c86,_0x54003e);}catch(_0x582143){this['_logService'][_0x425334(0x119)](_0x582143),this['_clearRedo'](_0x1d9c86);}}['_clearUndo'](_0x252824){var _0x51743e=_0x2a3857;const _0x54ffa1=this[_0x51743e(0x2d5)](_0x252824);_0x54ffa1&&(_0x54ffa1['length']=0x0,this[_0x51743e(0x28b)]());}[_0x2a3857(0x14a)](_0x4bc05a){var _0x3e40fb=_0x2a3857;const _0xf98415=this[_0x3e40fb(0x11f)](_0x4bc05a);_0xf98415&&(_0xf98415[_0x3e40fb(0x32e)]=0x0,this['_updateStatus']());}[_0x2a3857(0x320)](_0x46388b,_0x2b8649){this['_undoStacks']['set'](_0x46388b,_0x2b8649),this['_updateStatus']();}[_0x2a3857(0x29e)](_0x25d031,_0x3f5827){var _0x254fe4=_0x2a3857;this[_0x254fe4(0x1d4)]['set'](_0x25d031,_0x3f5827),this[_0x254fe4(0x28b)]();}['_transformStack'](_0xd0b6d2,_0x2b82d1){var _0x1ccea2=_0x2a3857;const _0x551ea5=[];let _0x44ab10=_0x2b82d1,_0x1c5a86=_0x2b82d1;for(let _0x4bd8bf=_0xd0b6d2[_0x1ccea2(0x32e)]-0x1;_0x4bd8bf>=0x0;_0x4bd8bf--){const {unitID:_0x32799e,undoMutations:_0x44d98b,redoMutations:_0x2e339e}=_0xd0b6d2[_0x4bd8bf],_0x5ea3d0=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x44ab10,_0x44d98b),_0x16079b=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x1c5a86,_0x2e339e);if(_0x3977b7(_0x5ea3d0)||_0x3977b7(_0x16079b)){this[_0x1ccea2(0x335)][_0x1ccea2(0x119)]('[CollaborationUndoRedoService]',_0x1ccea2(0x270),_0x5ea3d0,_0x16079b);break;}_0x44ab10=_0x5ea3d0[_0x1ccea2(0x2a8)],_0x1c5a86=_0x16079b[_0x1ccea2(0x2a8)],_0x551ea5['push']({'unitID':_0x32799e,'undoMutations':_0x5ea3d0['m2Prime'],'redoMutations':_0x16079b[_0x1ccea2(0x19d)]});}return _0x551ea5[_0x1ccea2(0x282)]();}};wt=zr([Ae(0x0,_0x40e127),Ae(0x1,_0xd6fdcf),Ae(0x2,_0x46761c),Ae(0x3,_0x59eb83),Ae(0x4,_0x4e1c8f)],wt);var Mi=Object[_0x2a3857(0x239)],Yr=Object[_0x2a3857(0x1e9)],qr=(_0x253109,_0x5b18f5,_0x17a105)=>_0x5b18f5 in _0x253109?Mi(_0x253109,_0x5b18f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17a105}):_0x253109[_0x5b18f5]=_0x17a105,Jr=(_0x423443,_0x1a857a,_0x2c85e3,_0x8d52e4)=>{var _0x52ec63=_0x2a3857;for(var _0x357895=_0x8d52e4>0x1?void 0x0:_0x8d52e4?Yr(_0x1a857a,_0x2c85e3):_0x1a857a,_0x447337=_0x423443[_0x52ec63(0x32e)]-0x1,_0x4e738c;_0x447337>=0x0;_0x447337--)(_0x4e738c=_0x423443[_0x447337])&&(_0x357895=(_0x8d52e4?_0x4e738c(_0x1a857a,_0x2c85e3,_0x357895):_0x4e738c(_0x357895))||_0x357895);return _0x8d52e4&&_0x357895&&Mi(_0x1a857a,_0x2c85e3,_0x357895),_0x357895;},Et=(_0x5d6e55,_0x11bfa6)=>(_0x15d3db,_0x1f2ab3)=>_0x11bfa6(_0x15d3db,_0x1f2ab3,_0x5d6e55),Xr=(_0x4a675f,_0x30b11b,_0x4767a1)=>qr(_0x4a675f,_0x30b11b+'',_0x4767a1);const Zr=_0x2a3857(0x358);let Ut=class extends _0x42c4cc{constructor(_0x2bc949=zt,_0x33ea8e,_0x3a26d0,_0x54342e){var _0x186e72=_0x2a3857;super(),this['_config']=_0x2bc949,this['_logService']=_0x33ea8e,this[_0x186e72(0x158)]=_0x3a26d0,this[_0x186e72(0x205)]=_0x54342e;const {..._0x4df820}=_0x46b3fd({},zt,this[_0x186e72(0x1ca)]);this['_configService']['setConfig'](Y,_0x4df820);}[_0x2a3857(0x288)](){var _0x507afd=_0x2a3857;this[_0x507afd(0x32d)](),this[_0x507afd(0x321)]();}[_0x2a3857(0x32d)](){var _0x49e420=_0x2a3857,_0x2d97b3,_0x3468d9,_0x1d6c48,_0xe938d9;this[_0x49e420(0x158)][_0x49e420(0x40d)](_0x34b8e6)&&this[_0x49e420(0x335)][_0x49e420(0x119)]('[UniverCollaborationClientPlugin]',_0x49e420(0x3e3));const _0x3142e9=_0x1114da([[_0x34b8e6,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x3468d9=(_0x2d97b3=this['_config'])==null?void 0x0:_0x2d97b3[_0x49e420(0x11d)])!=null?_0x3468d9:It}],[_0x2b19c8,{'useClass':Dt}],[_0x1ee820,{'useClass':yt}],[_0x667393,{'useClass':Nt}],[_0x50db1d,{'useClass':Pt}],[rt],[Rt]],(_0x1d6c48=this[_0x49e420(0x1ca)])==null?void 0x0:_0x1d6c48[_0x49e420(0x413)]);if(!((_0xe938d9=this[_0x49e420(0x1ca)])!=null&&_0xe938d9[_0x49e420(0x159)])){const _0x2cc2c3=_0x3142e9[_0x49e420(0x142)](([_0x5836fd])=>_0x5836fd===_t);_0x2cc2c3!==-0x1&&_0x3142e9[_0x49e420(0x374)](_0x2cc2c3,0x1);}_0xb389a8(this[_0x49e420(0x158)],_0x3142e9);}['_initDependencies'](){var _0x5956c9=_0x2a3857,_0x2ebac4,_0x4cbd26,_0x4458be;this[_0x5956c9(0x158)][_0x5956c9(0x21d)](_0x4fa095)[_0x5956c9(0x128)]({'priority':0x14,'interceptor':_0x32651a({'maxParallel':0x6})}),(_0x2ebac4=this[_0x5956c9(0x1ca)])!=null&&_0x2ebac4[_0x5956c9(0x19a)]||(_0x4cbd26=this['_injector']['get'](X,_0x5e9174[_0x5956c9(0x197)]))==null||_0x4cbd26['disableLocalCache'](),(_0x4458be=this[_0x5956c9(0x1ca)])!=null&&_0x4458be[_0x5956c9(0x279)]&&_0x1673c2(this[_0x5956c9(0x158)],[[ot]]),_0x1673c2(this[_0x5956c9(0x158)],[[at],[rt],[ct]]);}};Xr(Ut,_0x2a3857(0x332),Zr),Ut=Jr([_0x4f1cae(_0x822522,_0x273cfc,_0x5774e3),Et(0x1,_0x4e1c8f),Et(0x2,_0x21b3b2(_0x548366)),Et(0x3,_0x24bebb)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
1
+ var _0x67e149=_0x4bea;(function(_0x41218d,_0x5c1be1){var _0x19b005=_0x4bea,_0x4676b9=_0x41218d();while(!![]){try{var _0x546942=-parseInt(_0x19b005(0x3d6))/0x1*(parseInt(_0x19b005(0x2d1))/0x2)+-parseInt(_0x19b005(0x3dc))/0x3*(parseInt(_0x19b005(0x158))/0x4)+-parseInt(_0x19b005(0x236))/0x5*(-parseInt(_0x19b005(0x3c8))/0x6)+-parseInt(_0x19b005(0x2f7))/0x7+parseInt(_0x19b005(0x104))/0x8*(-parseInt(_0x19b005(0x2e6))/0x9)+-parseInt(_0x19b005(0x1e8))/0xa*(-parseInt(_0x19b005(0x337))/0xb)+parseInt(_0x19b005(0x36c))/0xc;if(_0x546942===_0x5c1be1)break;else _0x4676b9['push'](_0x4676b9['shift']());}catch(_0x45d9b0){_0x4676b9['push'](_0x4676b9['shift']());}}}(_0x513d,0xe5d0f));var $i=Object[_0x67e149(0x202)],Hi=(_0x5fee35,_0x320afd,_0x43c038)=>_0x320afd in _0x5fee35?$i(_0x5fee35,_0x320afd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c038}):_0x5fee35[_0x320afd]=_0x43c038,P=(_0x27ee95,_0x2e3b0c,_0x43dd06)=>Hi(_0x27ee95,typeof _0x2e3b0c!='symbol'?_0x2e3b0c+'':_0x2e3b0c,_0x43dd06);import{createIdentifier as _0x1494c1,Inject as _0x57db04,Injector as _0x58538f,Disposable as _0x56e9f5,DisposableCollection as _0x100300,toDisposable as _0x3a2086,IConfigService as _0x127296,ILogService as _0x5ca4d7,UserManagerService as _0x40ef6,UniverInstanceType as _0x3c6ead,IUniverInstanceService as _0x262205,LocaleService as _0x4e1aad,Optional as _0x493dfd,RxDisposable as _0x4e43a3,Tools as _0x1bd54e,Rectangle as _0x48c265,ICommandService as _0x515069,JSONX as _0xd34143,CommandType as _0x5816bc,IPermissionService as _0x1dfff9,IUndoRedoService as _0x1d537c,sequenceExecute as _0x3fa775,Workbook as _0x56da1,MentionType as _0xb92671,IAuthzIoService as _0x361a2a,isInternalEditorID as _0x3d54b8,LocalUndoRedoService as _0xcb09ae,IContextService as _0x1d70c6,DependentOn as _0x94cc1,Plugin as _0x27edd9,merge as _0x7d36b8,mergeOverrideWithDependencies as _0x1d7886,IMentionIOService as _0x26facf,registerDependencies as _0x53adb2,Quantity as _0x4a1d61,touchDependencies as _0xa5b92}from'@univerjs/core';import{Subject as _0x551eeb,merge as _0x5ab1ec,of as _0x822e5e,BehaviorSubject as _0x772e94,takeUntil as _0x5df730,ReplaySubject as _0x171a8e,take as _0x468325,map as _0x33bb0e,shareReplay as _0x37114b,firstValueFrom as _0x91aabf,concatMap as _0x27556f}from'rxjs';import{map as _0x539566,take as _0x492db6,filter as _0x4f711a,delay as _0x1d930d,takeUntil as _0x30cf90}from'rxjs/operators';import{HTTPService as _0x5a59de,ISocketService as _0x17003b,MergeInterceptorFactory as _0x2d7aa5,HTTPRequest as _0xea20fe,UniverNetworkPlugin as _0x25e510,ThresholdInterceptorFactory as _0x58116e}from'@univerjs/network';import{CollaborationEvent as _0x45ec80,parseChangesetToProtocol as _0x3261c6,ISnapshotServerService as _0x34121e,isTransformMutationsWithChangesetSuccess as _0x23f111,ITransformService as _0x4d5618,mapDocumentTypeToUniverType as _0x342544,RevisionService as _0x466d1d,isTransformChangesetsSuccess as _0x33be8e,CompressMutationService as _0x584d0a,parseProtocolChangeset as _0x27de11,SnapshotService as _0x21dacf,textEncoder as _0x236095,b64DecodeUnicode as _0x506fa5,isTransformMutationsWithChangesetFailure as _0x15d7b5,UniverCollaborationPlugin as _0xf249fd}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xa8f984}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x311c13}from'@univerjs/docs';import{SheetsSelectionsService as _0xaef689,SetSelectionsOperation as _0x4530a0,InsertSheetMutation as _0x501e9c,EmptyMutation as _0x3a3c57,WorkbookEditablePermission as _0x4cc5f9,UnitObject as _0x3d8528,defaultWorkbookPermissionPoints as _0x31d758,getAllWorkbookPermissionPoint as _0x459a3c,WorksheetProtectionRuleModel as _0x5a0fef,baseProtectionActions as _0xae7f1f,getAllWorksheetPermissionPoint as _0x3f0a3c,WorksheetProtectionPointModel as _0x57749f,defaultWorksheetPermissionPoint as _0x28e309,getAllWorksheetPermissionPointByPointPanel as _0x3304d5,RangeProtectionRuleModel as _0x1ab688,getAllRangePermissionPoint as _0x4f6115,UniverSheetsPlugin as _0x3bb86a}from'@univerjs/sheets';import{ImageSourceType as _0x57ba6a,ImageUploadStatusType as _0x17a6d6,IImageIoService as _0x3950ec}from'@univerjs/drawing';import{getGlobalObject as _0x3cc810}from'@univerjs-pro/license';const Dn=_0x67e149(0x31f),wn=_0x67e149(0x29e),Un=_0x67e149(0x1bd),_o=_0x67e149(0x28f),An=0x7d0,xn=_0x67e149(0x2e7),Ln=_0x67e149(0x36e),Mn=_0x67e149(0x143),$n=_0x67e149(0x381),Hn=0x7530,Ii=_0x67e149(0x372),Ti=0x4e20,kn=0x4e20,jn='RETRY_CONNECTING_MAX_COUNT',Bn=0x3,lo='LOCAL_CACHE_INTERVAL',uo=0x3e8,Fn='COLLAB_SUBMIT_CHANGESET_URL',Vn='/universer-api/comb',Wn=_0x67e149(0x1e6),Gn='/universer-api/oidc/authpage',fo=_0x67e149(0x27e),vo=_0x67e149(0x157);var Ci=(_0x524e37=>(_0x524e37[_0x524e37[_0x67e149(0x15e)]=0x0]=_0x67e149(0x15e),_0x524e37[_0x524e37['OK']=0x1]='OK',_0x524e37[_0x524e37[_0x67e149(0x3bf)]=0x2]='INTERNAL_ERROR',_0x524e37[_0x524e37[_0x67e149(0x196)]=0x3]=_0x67e149(0x196),_0x524e37[_0x524e37['NOT_FOUND']=0x4]=_0x67e149(0x234),_0x524e37[_0x524e37['UNAUTHENTICATED']=0x5]=_0x67e149(0x37e),_0x524e37[_0x524e37[_0x67e149(0x199)]=0x6]=_0x67e149(0x199),_0x524e37[_0x524e37['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x524e37[_0x524e37[_0x67e149(0x1d8)]=0x8]=_0x67e149(0x1d8),_0x524e37[_0x524e37[_0x67e149(0x133)]=0x9]=_0x67e149(0x133),_0x524e37[_0x524e37[_0x67e149(0x388)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x524e37[_0x524e37['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x67e149(0x3e7),_0x524e37[_0x524e37[_0x67e149(0x1c1)]=0x1772]=_0x67e149(0x1c1),_0x524e37[_0x524e37[_0x67e149(0x13b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x524e37[_0x524e37[_0x67e149(0x281)]=0x1b59]=_0x67e149(0x281),_0x524e37[_0x524e37[_0x67e149(0x3ad)]=0x1b5a]=_0x67e149(0x3ad),_0x524e37[_0x524e37[_0x67e149(0x3fc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x524e37[_0x524e37[_0x67e149(0x181)]=0x1b5c]=_0x67e149(0x181),_0x524e37[_0x524e37['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x524e37[_0x524e37['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x67e149(0x34a),_0x524e37[_0x524e37[_0x67e149(0x32b)]=0x2329]=_0x67e149(0x32b),_0x524e37[_0x524e37['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x524e37[_0x524e37[_0x67e149(0x16f)]=0x232b]=_0x67e149(0x16f),_0x524e37[_0x524e37[_0x67e149(0x298)]=0x232c]=_0x67e149(0x298),_0x524e37[_0x524e37[_0x67e149(0x333)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x524e37[_0x524e37[_0x67e149(0x198)]=0x2711]=_0x67e149(0x198),_0x524e37[_0x524e37[_0x67e149(0x34e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x524e37[_0x524e37[_0x67e149(0x335)]=0x2713]=_0x67e149(0x335),_0x524e37[_0x524e37[_0x67e149(0x306)]=0x2714]=_0x67e149(0x306),_0x524e37[_0x524e37[_0x67e149(0x332)]=-0x1]='UNRECOGNIZED',_0x524e37))(Ci||{}),Q=(_0x34794f=>(_0x34794f[_0x34794f[_0x67e149(0x165)]=0x0]=_0x67e149(0x165),_0x34794f[_0x34794f[_0x67e149(0x139)]=0x1]=_0x67e149(0x139),_0x34794f[_0x34794f[_0x67e149(0x26a)]=0x2]='UNIVER_SHEET',_0x34794f[_0x34794f[_0x67e149(0x151)]=0x3]=_0x67e149(0x151),_0x34794f[_0x34794f['UNIVER_PROJECT']=0x4]=_0x67e149(0x1e7),_0x34794f[_0x34794f[_0x67e149(0x332)]=-0x1]=_0x67e149(0x332),_0x34794f))(Q||{}),F=(_0x5cf3d0=>(_0x5cf3d0[_0x5cf3d0[_0x67e149(0x37d)]=0x0]=_0x67e149(0x37d),_0x5cf3d0[_0x5cf3d0[_0x67e149(0x305)]=0x1]='HELLO',_0x5cf3d0[_0x5cf3d0['JOIN']=0x2]=_0x67e149(0x354),_0x5cf3d0[_0x5cf3d0[_0x67e149(0x16d)]=0x3]=_0x67e149(0x16d),_0x5cf3d0[_0x5cf3d0[_0x67e149(0x336)]=0x4]='INGEST',_0x5cf3d0[_0x5cf3d0['HEARTBEAT']=0x5]=_0x67e149(0x172),_0x5cf3d0[_0x5cf3d0[_0x67e149(0x1ad)]=0x6]=_0x67e149(0x1ad),_0x5cf3d0[_0x5cf3d0[_0x67e149(0x332)]=-0x1]='UNRECOGNIZED',_0x5cf3d0))(F||{}),Ee=(_0x349197=>(_0x349197[_0x349197[_0x67e149(0x2d6)]=0x0]=_0x67e149(0x2d6),_0x349197[_0x349197['OK']=0x1]='OK',_0x349197[_0x349197[_0x67e149(0x3ae)]=0x2]=_0x67e149(0x3ae),_0x349197[_0x349197[_0x67e149(0x31a)]=0x3e9]=_0x67e149(0x31a),_0x349197[_0x349197['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x67e149(0x22b),_0x349197[_0x349197[_0x67e149(0x36b)]=0x3eb]=_0x67e149(0x36b),_0x349197[_0x349197['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x67e149(0x227),_0x349197[_0x349197['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x349197))(Ee||{}),bi=(_0x509e5f=>(_0x509e5f[_0x509e5f[_0x67e149(0x3f8)]=0x0]=_0x67e149(0x3f8),_0x509e5f[_0x509e5f[_0x67e149(0x2de)]=0x1]=_0x67e149(0x2de),_0x509e5f[_0x509e5f[_0x67e149(0x33f)]=0x2]=_0x67e149(0x33f),_0x509e5f[_0x509e5f[_0x67e149(0x258)]=0x3]=_0x67e149(0x258),_0x509e5f[_0x509e5f[_0x67e149(0x1e4)]=0x4]=_0x67e149(0x1e4),_0x509e5f[_0x509e5f[_0x67e149(0x332)]=-0x1]=_0x67e149(0x332),_0x509e5f))(bi||{});const Y=_0x67e149(0x3cc),zt={};var re=(_0x5de98e=>(_0x5de98e['OTHER_CLIENT_EDITING']=_0x67e149(0x23c),_0x5de98e['PERMISSION_DENIED']='PERMISSION_DENIED',_0x5de98e['CONFLICT']=_0x67e149(0x3c6),_0x5de98e[_0x67e149(0x176)]=_0x67e149(0x176),_0x5de98e[_0x67e149(0x362)]=_0x67e149(0x362),_0x5de98e[_0x67e149(0x3d9)]=_0x67e149(0x3d9),_0x5de98e[_0x67e149(0x1c0)]=_0x67e149(0x1c0),_0x5de98e[_0x67e149(0x2a8)]=_0x67e149(0x2a8),_0x5de98e))(re||{});class pe{constructor(){var _0x575036=_0x67e149;P(this,_0x575036(0x33d),new _0x551eeb()),P(this,_0x575036(0x3f6),this[_0x575036(0x33d)][_0x575036(0x1d6)]());}[_0x67e149(0x137)](_0x2e3af6){var _0x4881e3=_0x67e149;this[_0x4881e3(0x33d)][_0x4881e3(0x190)](_0x2e3af6);}}const Kn=_0x1494c1(_0x67e149(0x13d));function zn(_0x5a9b18){var _0x11cadb=_0x67e149,_0x115c41,_0x2d47eb,_0x1395dd,_0x5afa4d,_0x3699b3;const _0x262e7b=_0x5a9b18[_0x11cadb(0x322)],_0x5a6200=JSON['parse'](_0x262e7b);switch(_0x5a6200[_0x11cadb(0x1f7)]){case F['HEARTBEAT']:case F[_0x11cadb(0x305)]:{const _0x4f6c8d=_0x5a6200[_0x11cadb(0x12f)];return{..._0x5a6200,'data':_0x4f6c8d,'cmd':_0x5a6200[_0x11cadb(0x1f7)]};}case F[_0x11cadb(0x354)]:{const _0x3a6560=_0x5a6200[_0x11cadb(0x108)];return{..._0x5a6200,'data':_0x3a6560,'cmd':_0x5a6200[_0x11cadb(0x1f7)]};}case F[_0x11cadb(0x1ad)]:{const _0x490e49=_0x5a6200[_0x11cadb(0x1d5)];switch(_0x490e49['eventID']){case _0x45ec80['PERMISSION_REJ']:return{..._0x5a6200,'data':{..._0x490e49,'data':(_0x115c41=_0x490e49[_0x11cadb(0x3fd)])==null?void 0x0:_0x115c41['cs']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80['CHANGESET_ACK']:return{..._0x5a6200,'data':{..._0x490e49,'data':(_0x2d47eb=_0x490e49['csAckEvent'])==null?void 0x0:_0x2d47eb['cs']},'cmd':_0x5a6200['cmd']};case _0x45ec80[_0x11cadb(0x170)]:return{..._0x5a6200,'data':{..._0x490e49,'data':(_0x1395dd=_0x490e49[_0x11cadb(0x120)])==null?void 0x0:_0x1395dd['cs']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x324)]:return{..._0x5a6200,'data':{..._0x490e49,'data':(_0x5afa4d=_0x490e49[_0x11cadb(0x3eb)])==null?void 0x0:_0x5afa4d['cs']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x302)]:return{..._0x5a6200,'data':{..._0x490e49,'data':(_0x3699b3=_0x490e49[_0x11cadb(0x3cb)])==null?void 0x0:_0x3699b3['cs']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x130)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49['updateCursorEvent']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80['USERS_ENTER']:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x268)]},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x20d)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x361)]},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x18f)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49['liveShareNewHost']},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80['LIVESHARE_FETCH_OPERATIONS']:case _0x45ec80[_0x11cadb(0x2b1)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x284)]},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x3ea)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x364)]},'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x1ac)]:return{..._0x5a6200,'data':_0x490e49,'cmd':_0x5a6200[_0x11cadb(0x1f7)]};case _0x45ec80[_0x11cadb(0x366)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x338)]},'cmd':_0x5a6200['cmd']};case _0x45ec80[_0x11cadb(0x350)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49['updatePermissionObjEvent']},'cmd':_0x5a6200['cmd']};case _0x45ec80[_0x11cadb(0x177)]:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49['shouldCloseConn']},'cmd':_0x5a6200['cmd']};case _0x45ec80['UNISCRIPT_RUN']:return{..._0x5a6200,'data':{..._0x490e49,'data':_0x490e49[_0x11cadb(0x3d0)]},'cmd':_0x5a6200['cmd']};default:return _0x5a6200;}}default:return _0x5a6200;}}function Yn(_0x47c84b){var _0x12ff16=_0x67e149;switch(_0x47c84b[_0x12ff16(0x1f7)]){case F[_0x12ff16(0x172)]:case F[_0x12ff16(0x305)]:return JSON[_0x12ff16(0x271)]({'cmd':_0x47c84b[_0x12ff16(0x1f7)],'routeKey':_0x47c84b['routeKey']});case F[_0x12ff16(0x336)]:{let _0xb99f33;switch(_0x47c84b[_0x12ff16(0x322)]['eventID']){case _0x45ec80['UPDATE_CURSOR']:{_0xb99f33={'eventID':_0x45ec80[_0x12ff16(0x130)],'updateCursorEvent':_0x47c84b['data'][_0x12ff16(0x322)]};break;}case _0x45ec80[_0x12ff16(0x20d)]:{_0xb99f33={'eventID':_0x45ec80['USERS_LEAVE'],'leaveEvent':_0x47c84b['data'][_0x12ff16(0x322)]};break;}case _0x45ec80[_0x12ff16(0x2c0)]:{_0xb99f33={'eventID':_0x45ec80[_0x12ff16(0x2c0)],'joinEvent':_0x47c84b[_0x12ff16(0x322)]['data']};break;}case _0x45ec80[_0x12ff16(0x18f)]:{_0xb99f33={'eventID':_0x45ec80[_0x12ff16(0x18f)],'liveShareNewHost':_0x47c84b[_0x12ff16(0x322)]['data']};break;}case _0x45ec80[_0x12ff16(0x2b1)]:{_0xb99f33={'eventID':_0x45ec80['LIVESHARE_OPERATION'],'liveShareOperation':_0x47c84b[_0x12ff16(0x322)][_0x12ff16(0x322)]};break;}case _0x45ec80['LIVESHARE_TERMINATE']:{_0xb99f33={'eventID':_0x45ec80[_0x12ff16(0x3ea)],'liveShareTerminate':_0x47c84b[_0x12ff16(0x322)]['data']};break;}case _0x45ec80[_0x12ff16(0x1f9)]:{_0xb99f33={'eventID':_0x45ec80[_0x12ff16(0x1f9)],'liveShareRequestHost':_0x47c84b[_0x12ff16(0x322)][_0x12ff16(0x322)]};break;}case _0x45ec80[_0x12ff16(0x253)]:{_0xb99f33={'eventID':_0x45ec80['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xb99f33={'eventID':_0x47c84b[_0x12ff16(0x322)][_0x12ff16(0x14e)]};}return JSON[_0x12ff16(0x271)]({'cmd':_0x47c84b['cmd'],'routeKey':_0x47c84b[_0x12ff16(0x215)],'collaMsg':_0xb99f33});}case F[_0x12ff16(0x354)]:return JSON['stringify']({'cmd':_0x47c84b[_0x12ff16(0x1f7)],'routeKey':_0x47c84b[_0x12ff16(0x215)],'joinReq':_0x47c84b['data']});case F[_0x12ff16(0x16d)]:return JSON[_0x12ff16(0x271)]({'cmd':_0x47c84b[_0x12ff16(0x1f7)],'routeKey':_0x47c84b[_0x12ff16(0x215)],'leaveReq':_0x47c84b[_0x12ff16(0x322)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qn=Object[_0x67e149(0x202)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0xd94463,_0x2d03f3,_0x2626ce,_0x49ec3e)=>{var _0x374bf5=_0x67e149;for(var _0x1bf007=_0x49ec3e>0x1?void 0x0:_0x49ec3e?Jn(_0x2d03f3,_0x2626ce):_0x2d03f3,_0x31ff5c=_0xd94463[_0x374bf5(0x216)]-0x1,_0x3c6875;_0x31ff5c>=0x0;_0x31ff5c--)(_0x3c6875=_0xd94463[_0x31ff5c])&&(_0x1bf007=(_0x49ec3e?_0x3c6875(_0x2d03f3,_0x2626ce,_0x1bf007):_0x3c6875(_0x1bf007))||_0x1bf007);return _0x49ec3e&&_0x1bf007&&qn(_0x2d03f3,_0x2626ce,_0x1bf007),_0x1bf007;},Ue=(_0x11cd52,_0x340397)=>(_0x1004fd,_0x53c21b)=>_0x340397(_0x1004fd,_0x53c21b,_0x11cd52);const Ri=_0x1494c1(_0x67e149(0x28c));function Zn(_0x19e932,_0x3611af,_0x88d16c){var _0x1b49ae=_0x67e149;return _0x19e932+'/'+_0x3611af+_0x1b49ae(0x376)+_0x88d16c+'/new_changes';}let It=class extends _0x56e9f5{constructor(_0xa41aa1,_0x10b67d,_0x4cd521,_0x37622d,_0x5813c7){var _0x48a091=_0x67e149;super(),this[_0x48a091(0x233)]=_0xa41aa1,this['_http']=_0x10b67d,this[_0x48a091(0x263)]=_0x4cd521,this['_logService']=_0x37622d,this[_0x48a091(0x301)]=_0x5813c7;}['createSocket'](_0x3cd9da){var _0x824731=_0x67e149;const _0x474912=this[_0x824731(0x233)][_0x824731(0x188)](_0x17003b);if(!_0x474912)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32c48c=_0x474912['createSocket'](_0x3cd9da);if(!_0x32c48c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x14f50a=new _0x100300(),_0x4ba60=new _0x551eeb();_0x14f50a['add'](_0x32c48c[_0x824731(0x31d)]['subscribe'](_0xe50e8a=>_0x4ba60[_0x824731(0x190)](_0xe50e8a))),_0x14f50a['add'](_0x3a2086(()=>_0x4ba60[_0x824731(0x1f5)]()));const _0x82363e=new _0x551eeb();_0x14f50a[_0x824731(0x3b5)](_0x32c48c['error$'][_0x824731(0x224)](_0x2c825a=>_0x82363e[_0x824731(0x190)](_0x2c825a))),_0x14f50a[_0x824731(0x3b5)](_0x3a2086(()=>_0x82363e[_0x824731(0x1f5)]()));const _0x2a0fc7=new _0x551eeb();_0x14f50a[_0x824731(0x3b5)](_0x32c48c[_0x824731(0x1e5)][_0x824731(0x224)](_0x1f9a9d=>{var _0x68ed95=_0x824731;const _0x8e7b05=zn(_0x1f9a9d);_0x2a0fc7[_0x68ed95(0x190)](_0x8e7b05);})),_0x14f50a[_0x824731(0x3b5)](_0x3a2086(()=>_0x2a0fc7[_0x824731(0x1f5)]()));let _0x344282;const _0x5b52e9=()=>{var _0x3a0421=_0x824731;_0x82363e['next'](new Event(_0x3a0421(0x229))),_0x4ba60[_0x3a0421(0x190)](new CloseEvent(_0x3a0421(0x229))),_0x344282[_0x3a0421(0x2a7)]();};return _0x344282={'memberID':'','close$':_0x4ba60[_0x824731(0x1d6)](),'error$':_0x82363e[_0x824731(0x1d6)](),'open$':_0x32c48c[_0x824731(0x203)],'message$':_0x2a0fc7[_0x824731(0x1d6)](),'send':_0x4706ea=>{var _0x5452dc=_0x824731;if(_0x4706ea['cmd']===F[_0x5452dc(0x336)]){if(_0x4706ea['data'][_0x5452dc(0x14e)]===_0x45ec80[_0x5452dc(0x17b)]){this[_0x5452dc(0x1b7)](_0x344282,_0x4706ea['data'])[_0x5452dc(0x391)](_0x4fc44b=>{var _0x2d7b41=_0x5452dc;this[_0x2d7b41(0x1a4)][_0x2d7b41(0x1a1)](_0x4fc44b),_0x5b52e9();});return;}if(_0x4706ea[_0x5452dc(0x322)][_0x5452dc(0x14e)]===_0x45ec80[_0x5452dc(0x28a)]){const _0x1ae59d=_0x4706ea['data'];this[_0x5452dc(0x2ca)](_0x1ae59d)['then'](_0x49467e=>{var _0x2928b8=_0x5452dc;_0x2a0fc7[_0x2928b8(0x190)]({'cmd':F[_0x2928b8(0x1ad)],'code':Ee['OK'],'routeKey':_0x1ae59d[_0x2928b8(0x322)]['unitID'],'routeType':'','data':{'eventID':_0x45ec80[_0x2928b8(0x13e)],'data':{'changesets':_0x49467e}}});})[_0x5452dc(0x391)](_0x1bd6bd=>{var _0x4fd066=_0x5452dc;this[_0x4fd066(0x1a4)][_0x4fd066(0x1a1)](_0x1bd6bd),_0x5b52e9();});return;}}_0x32c48c[_0x5452dc(0x387)](Yn(_0x4706ea));},'close':()=>{var _0x41d6fd=_0x824731;_0x32c48c['close'](),_0x14f50a[_0x41d6fd(0x173)]();}},_0x344282;}async[_0x67e149(0x1b7)](_0x107789,_0x26a8ca){var _0x24d8e6=_0x67e149,_0x1859c1,_0x2b88b5;const {unitType:_0x1f0898,unitID:_0xbc05d2,changeset:_0x7e3a7a}=_0x26a8ca[_0x24d8e6(0x322)],_0x19591a={'unitID':_0xbc05d2,'memberID':_0x107789['memberID'],'type':_0x1f0898,'changeset':_0x3261c6(_0x7e3a7a)},_0x1d0b44=this[_0x24d8e6(0x263)][_0x24d8e6(0x357)](Fn),_0x2bb410=this['_configService'][_0x24d8e6(0x357)](Y),_0x4054b7=Zn((_0x2b88b5=(_0x1859c1=_0x2bb410==null?void 0x0:_0x2bb410[_0x24d8e6(0x266)])!=null?_0x1859c1:_0x1d0b44)!=null?_0x2b88b5:Vn,_0x1f0898,_0xbc05d2);try{await this['_http'][_0x24d8e6(0x2c1)](_0x4054b7,{'body':_0x19591a});}catch(_0x5c7483){throw this[_0x24d8e6(0x1a4)][_0x24d8e6(0x1a1)](_0x24d8e6(0x2bd),'submit\x20changeset\x20error!'),_0x5c7483;}}async[_0x67e149(0x2ca)](_0x43edef){var _0x126603=_0x67e149;const {unitID:_0x527662,from:_0x32b956,to:_0x482e25,unitType:_0x167b41}=_0x43edef[_0x126603(0x322)];return(await this[_0x126603(0x301)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x527662,'type':_0x167b41,'from':_0x32b956,'to':_0x482e25}))['changesets'];}};It=Xn([Ue(0x0,_0x57db04(_0x58538f)),Ue(0x1,_0x57db04(_0x5a59de)),Ue(0x2,_0x127296),Ue(0x3,_0x5ca4d7),Ue(0x4,_0x34121e)],It);const Qn=_0x67e149(0x297);function es(_0xbfd91e){return JSON['stringify'](_0xbfd91e)['length'];}class yi{constructor(){var _0x13634a=_0x67e149;P(this,'_commentUpdate$',new _0x551eeb()),P(this,_0x13634a(0x1e1),this['_commentUpdate$']['asObservable']());}[_0x67e149(0x24e)](_0x14e3ae){var _0x21d3f4=_0x67e149;this[_0x21d3f4(0x189)][_0x21d3f4(0x190)](_0x14e3ae);}}var ts=Object['defineProperty'],is=Object['getOwnPropertyDescriptor'],ns=(_0x44d3b0,_0x4c8e0f,_0xb79002,_0xe15967)=>{var _0xceb781=_0x67e149;for(var _0x147595=_0xe15967>0x1?void 0x0:_0xe15967?is(_0x4c8e0f,_0xb79002):_0x4c8e0f,_0x329ca7=_0x44d3b0[_0xceb781(0x216)]-0x1,_0x1dc591;_0x329ca7>=0x0;_0x329ca7--)(_0x1dc591=_0x44d3b0[_0x329ca7])&&(_0x147595=(_0xe15967?_0x1dc591(_0x4c8e0f,_0xb79002,_0x147595):_0x1dc591(_0x147595))||_0x147595);return _0xe15967&&_0x147595&&ts(_0x4c8e0f,_0xb79002,_0x147595),_0x147595;},Yt=(_0x5267a1,_0xbd586f)=>(_0x4db040,_0x9ab059)=>_0xbd586f(_0x4db040,_0x9ab059,_0x5267a1);let xe=class extends _0x56e9f5{constructor(_0x3fcd94,_0x1650e6){var _0x1ca72b=_0x67e149;super(),P(this,_0x1ca72b(0x30a),new Map()),P(this,_0x1ca72b(0x3aa),new _0x551eeb()),(this[_0x1ca72b(0x169)]=_0x3fcd94,this[_0x1ca72b(0x146)]=_0x1650e6,this[_0x1ca72b(0x2fb)](_0x5ab1ec(this[_0x1ca72b(0x169)][_0x1ca72b(0x303)](_0x3c6ead[_0x1ca72b(0x26a)])[_0x1ca72b(0x3c1)](_0x539566(_0x526e21=>_0x526e21[_0x1ca72b(0x2fc)]())),this['_univerInstanceService'][_0x1ca72b(0x303)](_0x3c6ead[_0x1ca72b(0x139)])[_0x1ca72b(0x3c1)](_0x539566(_0x27900e=>_0x27900e[_0x1ca72b(0x2fc)]())),this['_univerInstanceService'][_0x1ca72b(0x303)](_0x3c6ead[_0x1ca72b(0x151)])[_0x1ca72b(0x3c1)](_0x539566(_0x12a2b9=>_0x12a2b9[_0x1ca72b(0x2fc)]())))[_0x1ca72b(0x224)](_0x84e69f=>this['_removeRoom'](_0x84e69f))));}[_0x67e149(0x293)](_0x39ca7e){var _0xec378d=_0x67e149;return this[_0xec378d(0x30a)][_0xec378d(0x1a0)](_0x39ca7e)?_0x822e5e(this[_0xec378d(0x30a)][_0xec378d(0x188)](_0x39ca7e)):this[_0xec378d(0x3aa)][_0xec378d(0x3c1)](_0x539566(_0x4dbd1b=>{var _0xf978e1=_0xec378d;if(_0x4dbd1b===_0x39ca7e)return this[_0xf978e1(0x30a)][_0xf978e1(0x188)](_0x4dbd1b);}));}[_0x67e149(0x3a0)](_0x1957c){var _0xbc6153=_0x67e149;this['_userManagerService'][_0xbc6153(0x3a0)](_0x1957c);}[_0x67e149(0x1ee)](){var _0x4a24fd=_0x67e149;return this['_userManagerService'][_0x4a24fd(0x1ee)]();}[_0x67e149(0x124)](_0x2b9843,_0x3ac577){var _0x4088b8=_0x67e149;let _0x329b53=this[_0x4088b8(0x30a)][_0x4088b8(0x188)](_0x2b9843);_0x329b53||(_0x329b53=new ss(),this[_0x4088b8(0x30a)][_0x4088b8(0x2a2)](_0x2b9843,_0x329b53),this[_0x4088b8(0x3aa)][_0x4088b8(0x190)](_0x2b9843)),_0x329b53[_0x4088b8(0x124)](_0x3ac577);}[_0x67e149(0x1dc)](_0x8f3ec7,_0x1e7252){var _0x5cae1c=_0x67e149;const _0x281f4a=this[_0x5cae1c(0x30a)]['get'](_0x8f3ec7);_0x281f4a&&_0x281f4a[_0x5cae1c(0x1dc)](_0x1e7252);}[_0x67e149(0x3b8)](_0x4c093a){var _0x47938a=_0x67e149;return this[_0x47938a(0x30a)][_0x47938a(0x188)](_0x4c093a);}['getMember'](_0x58deef,_0x5b08a4){var _0x4dc16d=_0x67e149;const _0x2b83d2=this[_0x4dc16d(0x30a)]['get'](_0x58deef);if(_0x2b83d2)return _0x2b83d2['getMember'](_0x5b08a4);}[_0x67e149(0x355)](_0x1b6f0f){var _0x2f5680=_0x67e149;const _0x267b53=this[_0x2f5680(0x30a)][_0x2f5680(0x188)](_0x1b6f0f);_0x267b53&&(_0x267b53[_0x2f5680(0x173)](),this[_0x2f5680(0x30a)]['delete'](_0x1b6f0f));}[_0x67e149(0x173)](){var _0x438645=_0x67e149;this[_0x438645(0x30a)][_0x438645(0x1b5)](_0x23aa21=>_0x23aa21[_0x438645(0x173)]()),this[_0x438645(0x30a)]['clear'](),this[_0x438645(0x3aa)][_0x438645(0x1f5)]();}};xe=ns([Yt(0x0,_0x262205),Yt(0x1,_0x57db04(_0x40ef6))],xe);class ss extends _0x56e9f5{constructor(){var _0x4e664f=_0x67e149;super(...arguments),P(this,_0x4e664f(0x1fe),new Map()),P(this,_0x4e664f(0x2c5),new _0x772e94(this[_0x4e664f(0x1fe)])),P(this,_0x4e664f(0x225),this[_0x4e664f(0x2c5)][_0x4e664f(0x1d6)]());}[_0x67e149(0x173)](){var _0x946304=_0x67e149;this[_0x946304(0x1fe)][_0x946304(0x244)]();}[_0x67e149(0x124)](_0x14d535){var _0x5e12f0=_0x67e149;this[_0x5e12f0(0x1fe)][_0x5e12f0(0x2a2)](_0x14d535[_0x5e12f0(0x10d)],_0x14d535),this['_emitMembers']();}[_0x67e149(0x1dc)](_0x15b703){var _0x211f15=_0x67e149;this['_members'][_0x211f15(0x288)](_0x15b703);}[_0x67e149(0x232)](_0x5b9d64){var _0xa55d6a=_0x67e149;return this[_0xa55d6a(0x1fe)][_0xa55d6a(0x188)](_0x5b9d64);}['getAllMembers'](){var _0xd4fdbd=_0x67e149;return Array[_0xd4fdbd(0x35b)](this[_0xd4fdbd(0x1fe)][_0xd4fdbd(0x2ea)]());}[_0x67e149(0x113)](){var _0x4a9489=_0x67e149;this[_0x4a9489(0x2c5)][_0x4a9489(0x190)](this[_0x4a9489(0x1fe)]);}}var rs=Object[_0x67e149(0x202)],os=Object[_0x67e149(0x2b0)],as=(_0x4148db,_0x53f2f6,_0x4e1575,_0x2cf184)=>{for(var _0x1f10e2=_0x2cf184>0x1?void 0x0:_0x2cf184?os(_0x53f2f6,_0x4e1575):_0x53f2f6,_0x49bdf9=_0x4148db['length']-0x1,_0x477565;_0x49bdf9>=0x0;_0x49bdf9--)(_0x477565=_0x4148db[_0x49bdf9])&&(_0x1f10e2=(_0x2cf184?_0x477565(_0x53f2f6,_0x4e1575,_0x1f10e2):_0x477565(_0x1f10e2))||_0x1f10e2);return _0x2cf184&&_0x1f10e2&&rs(_0x53f2f6,_0x4e1575,_0x1f10e2),_0x1f10e2;},me=(_0x274f7e,_0x225d7b)=>(_0x31ceec,_0xeb43f8)=>_0x225d7b(_0x31ceec,_0xeb43f8,_0x274f7e),Te=(_0x294255=>(_0x294255[_0x294255[_0x67e149(0x33c)]=0x0]='IDLE',_0x294255[_0x294255[_0x67e149(0x3b3)]=0x1]=_0x67e149(0x3b3),_0x294255[_0x294255[_0x67e149(0x1fd)]=0x2]='OFFLINE',_0x294255[_0x294255[_0x67e149(0x3a1)]=0x3]=_0x67e149(0x3a1),_0x294255))(Te||{});const qt={[Ee[_0x67e149(0x3ae)]]:_0x67e149(0x182),[Ee[_0x67e149(0x31a)]]:_0x67e149(0x1f2),[Ee[_0x67e149(0x22b)]]:_0x67e149(0x2b8),[Ee[_0x67e149(0x36b)]]:_0x67e149(0x2b4),[Ee[_0x67e149(0x227)]]:_0x67e149(0x156)};let Tt=class extends _0x4e43a3{constructor(_0x47d777,_0x5b9d55,_0x24ff14,_0x2007a9,_0x35b2c1,_0x1cb545,_0x591dc6,_0x2ec054,_0x1f267c){var _0x51dc72=_0x67e149;super(),P(this,_0x51dc72(0x1fc),new _0x772e94(0x0)),P(this,_0x51dc72(0x377),this['_sessionStatus$'][_0x51dc72(0x1d6)]()),P(this,_0x51dc72(0x33d),new _0x551eeb()),P(this,'event$',this[_0x51dc72(0x33d)][_0x51dc72(0x1d6)]()),P(this,_0x51dc72(0x393)),P(this,'_socketMessageSubscription'),P(this,'_collaborationTimeoutTimer'),P(this,_0x51dc72(0x19f),!0x1),P(this,_0x51dc72(0x251),null),(this[_0x51dc72(0x2e2)]=_0x47d777,this['_logService']=_0x24ff14,this['_configService']=_0x2007a9,this[_0x51dc72(0x2c3)]=_0x35b2c1,this[_0x51dc72(0x3b2)]=_0x1cb545,this[_0x51dc72(0x102)]=_0x591dc6,this['_collaborationUIEventService']=_0x2ec054,this[_0x51dc72(0x304)]=_0x1f267c,this[_0x51dc72(0x19f)]=!!this[_0x51dc72(0x304)],_0x5b9d55[_0x51dc72(0x3c1)](_0x5df730(this['dispose$']))[_0x51dc72(0x224)](_0x331fbe=>{var _0x3140d5=_0x51dc72,_0x5f26f5;typeof _0x331fbe>'u'||(this[_0x3140d5(0x393)]=_0x331fbe,_0x331fbe?(this[_0x3140d5(0x35a)](_0x331fbe),this[_0x3140d5(0x325)]=_0x331fbe['message$'][_0x3140d5(0x224)](_0x1b03b8=>{var _0x344575=_0x3140d5;_0x1b03b8[_0x344575(0x215)]===this[_0x344575(0x2e2)]&&this['_onCombEvent'](_0x1b03b8);})):(this[_0x3140d5(0x1ae)](),this[_0x3140d5(0x1fc)][_0x3140d5(0x190)](0x2),(_0x5f26f5=this[_0x3140d5(0x325)])==null||_0x5f26f5[_0x3140d5(0x378)](),this[_0x3140d5(0x325)]=null));}));}get['sessionStatus'](){var _0x286a94=_0x67e149;return this[_0x286a94(0x1fc)][_0x286a94(0x1a6)]();}[_0x67e149(0x221)](){var _0x557b2a=_0x67e149,_0x3aa738,_0x3f42f8;return(_0x3f42f8=(_0x3aa738=this['_socket'])==null?void 0x0:_0x3aa738[_0x557b2a(0x10d)])!=null?_0x3f42f8:null;}['dispose'](){var _0x5d128c=_0x67e149;super[_0x5d128c(0x173)](),this[_0x5d128c(0x328)][_0x5d128c(0x190)](),this[_0x5d128c(0x328)][_0x5d128c(0x1f5)]();}[_0x67e149(0x2a7)](){var _0x42ddb2=_0x67e149,_0x1e921f,_0x3766ac;this[_0x42ddb2(0x1ae)](),(_0x1e921f=this['_socket'])==null||_0x1e921f['send']({'cmd':F[_0x42ddb2(0x16d)],'data':{'roomID':this[_0x42ddb2(0x2e2)]}}),(_0x3766ac=this[_0x42ddb2(0x393)])==null||_0x3766ac[_0x42ddb2(0x2a7)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x42ddb2(0x1f5)](),this[_0x42ddb2(0x173)]();}['_onCombEvent'](_0x583ff6){var _0x153a54=_0x67e149;_0x583ff6[_0x153a54(0x1f7)]===F[_0x153a54(0x354)]?this['_onJoinRoomEvent'](_0x583ff6):_0x583ff6[_0x153a54(0x1f7)]===F[_0x153a54(0x1ad)]&&this[_0x153a54(0x3b0)](_0x583ff6);}[_0x67e149(0x35a)](_0x43d866){var _0x4f5ca6=_0x67e149;this[_0x4f5ca6(0x1fc)][_0x4f5ca6(0x190)](0x1),_0x43d866[_0x4f5ca6(0x387)]({'cmd':F[_0x4f5ca6(0x354)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4f5ca6(0x2e2)]}]}});}['_onJoinRoomEvent'](_0x3ca2cf){var _0x276639=_0x67e149,_0x174c42;if(_0x3ca2cf[_0x276639(0x3cf)]in qt){this[_0x276639(0x2eb)][_0x276639(0x137)]({'id':re[_0x276639(0x362)],'data':qt[_0x3ca2cf['code']]}),this[_0x276639(0x1fc)]['next'](0x2);return;}this[_0x276639(0x1fc)][_0x276639(0x190)](0x3);const _0x46ec61=(_0x174c42=_0x3ca2cf[_0x276639(0x322)][_0x276639(0x153)][this[_0x276639(0x2e2)]])==null?void 0x0:_0x174c42[_0x276639(0x34b)];_0x46ec61&&_0x46ec61[_0x276639(0x1b5)](_0x1a3284=>this['_memberService'][_0x276639(0x124)](this[_0x276639(0x2e2)],_0x1a3284));}[_0x67e149(0x3b0)](_0x75897){var _0x306bf1=_0x67e149;try{const _0x1a46a5=_0x75897[_0x306bf1(0x322)];switch(_0x1a46a5[_0x306bf1(0x14e)]){case _0x45ec80[_0x306bf1(0x2c0)]:this['_onUserJoin'](_0x1a46a5),this[_0x306bf1(0x33d)][_0x306bf1(0x190)](_0x1a46a5);break;case _0x45ec80[_0x306bf1(0x20d)]:this[_0x306bf1(0x11a)](_0x1a46a5),this[_0x306bf1(0x33d)]['next'](_0x1a46a5);break;case _0x45ec80[_0x306bf1(0x260)]:case _0x45ec80['CHANGESET_SHOULD_RETRY']:this[_0x306bf1(0x1db)](),this[_0x306bf1(0x400)](),this[_0x306bf1(0x33d)][_0x306bf1(0x190)](_0x1a46a5);break;case _0x45ec80[_0x306bf1(0x1ac)]:this[_0x306bf1(0x1a4)][_0x306bf1(0x1a1)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x306bf1(0x271)](_0x1a46a5)),this[_0x306bf1(0x33d)][_0x306bf1(0x190)](_0x1a46a5);break;case _0x45ec80['COMMENT_UPDATE']:this[_0x306bf1(0x102)][_0x306bf1(0x24e)](_0x1a46a5['data']),this[_0x306bf1(0x33d)][_0x306bf1(0x190)](_0x1a46a5);break;default:this[_0x306bf1(0x33d)]['next'](_0x1a46a5);}}catch(_0x408740){this[_0x306bf1(0x1a4)][_0x306bf1(0x1a1)](_0x408740,_0x75897);}}['_onUserJoin'](_0x167d6f){var _0x117007=_0x67e149;this[_0x117007(0x3b2)][_0x117007(0x124)](this[_0x117007(0x2e2)],_0x167d6f[_0x117007(0x322)]);}[_0x67e149(0x11a)](_0x454b30){var _0x4f9baa=_0x67e149;this[_0x4f9baa(0x3b2)][_0x4f9baa(0x1dc)](this['_unitID'],_0x454b30[_0x4f9baa(0x322)]['memberID']);}async['send'](_0x3ddaaa,_0x18809a){var _0x1d0ea5=_0x67e149;if(this[_0x1d0ea5(0x24b)]!==0x3||!this[_0x1d0ea5(0x393)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3ddaaa[_0x1d0ea5(0x14e)]===_0x45ec80[_0x1d0ea5(0x17b)]&&(this[_0x1d0ea5(0x115)](),this[_0x1d0ea5(0x2a9)](_0x3ddaaa)),this[_0x1d0ea5(0x393)]['send']({'cmd':F['INGEST'],'routeKey':_0x18809a,'routeType':'','data':_0x3ddaaa});}catch(_0xf9f4c8){this[_0x1d0ea5(0x1a4)][_0x1d0ea5(0x1a1)](_0xf9f4c8);}}[_0x67e149(0x115)](){var _0x1f3f2a=_0x67e149,_0x5c84f4;this[_0x1f3f2a(0x23d)]=setTimeout(()=>{var _0x4c47c7=_0x1f3f2a;this[_0x4c47c7(0x23d)]=null,this['_collaborationUIEventService'][_0x4c47c7(0x137)]({'id':re[_0x4c47c7(0x2a8)]});},(_0x5c84f4=this[_0x1f3f2a(0x263)]['getConfig'](Ii))!=null?_0x5c84f4:Ti);}[_0x67e149(0x400)](){var _0x340fdd=_0x67e149;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x340fdd(0x23d)]),this[_0x340fdd(0x23d)]=null);}[_0x67e149(0x2a9)](_0x1d1cf4){var _0x717e9=_0x67e149;if(!this[_0x717e9(0x19f)])return;const {data:_0x3a689b}=_0x1d1cf4,{unitID:_0x35f189,changeset:_0x541fe6}=_0x3a689b,{mutations:_0x1f1124,type:_0x1592ef}=_0x541fe6;this[_0x717e9(0x251)]={'unitId':_0x35f189,'type':_0x1592ef,'startTime':performance[_0x717e9(0x2e3)](),'stopTime':0x0,'duration':0x0,'size':es(_0x1f1124)};}[_0x67e149(0x1db)](){var _0x264d1f=_0x67e149;if(this[_0x264d1f(0x19f)]){if(!this[_0x264d1f(0x251)]){this[_0x264d1f(0x1a4)][_0x264d1f(0x1a1)](_0x264d1f(0x2bd),_0x264d1f(0x218));return;}this[_0x264d1f(0x251)][_0x264d1f(0x2ae)]=performance[_0x264d1f(0x2e3)](),this[_0x264d1f(0x251)]['duration']=this[_0x264d1f(0x251)][_0x264d1f(0x2ae)]-this['_telemetryInfo'][_0x264d1f(0x351)],this[_0x264d1f(0x304)][_0x264d1f(0x2e8)](Qn,this[_0x264d1f(0x251)]),this[_0x264d1f(0x251)]=null;}}[_0x67e149(0x1ae)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x5ca4d7),me(0x3,_0x127296),me(0x4,_0x57db04(_0x4e1aad)),me(0x5,_0x57db04(xe)),me(0x6,_0x57db04(yi)),me(0x7,_0x57db04(pe)),me(0x8,_0x493dfd(_0xa8f984))],Tt);var cs=Object[_0x67e149(0x202)],hs=Object['getOwnPropertyDescriptor'],_s=(_0x3d4a5e,_0x4dc19b,_0x52a8c8,_0x9ac123)=>{for(var _0xf3d573=_0x9ac123>0x1?void 0x0:_0x9ac123?hs(_0x4dc19b,_0x52a8c8):_0x4dc19b,_0x2b1755=_0x3d4a5e['length']-0x1,_0x70b6d1;_0x2b1755>=0x0;_0x2b1755--)(_0x70b6d1=_0x3d4a5e[_0x2b1755])&&(_0xf3d573=(_0x9ac123?_0x70b6d1(_0x4dc19b,_0x52a8c8,_0xf3d573):_0x70b6d1(_0xf3d573))||_0xf3d573);return _0x9ac123&&_0xf3d573&&cs(_0x4dc19b,_0x52a8c8,_0xf3d573),_0xf3d573;},ge=(_0x4c0ff7,_0x519571)=>(_0x354739,_0x45ab73)=>_0x519571(_0x354739,_0x45ab73,_0x4c0ff7);let Le=class extends _0x56e9f5{constructor(_0x4b8d2d,_0x452e23,_0x32d82a,_0x353e0a,_0x563167,_0x4c989a,_0xc54214){var _0x4e290c=_0x67e149;super(),P(this,'_socket$',new _0x772e94(void 0x0)),P(this,_0x4e290c(0x33e),this[_0x4e290c(0x116)][_0x4e290c(0x1d6)]()),P(this,'_candidateSocket',null),P(this,'_sessions',new Map()),P(this,_0x4e290c(0x316),new _0x772e94(Te[_0x4e290c(0x33c)])),P(this,_0x4e290c(0x1df),this[_0x4e290c(0x316)][_0x4e290c(0x1d6)]()),P(this,_0x4e290c(0x28e),!0x1),P(this,_0x4e290c(0x194)),P(this,_0x4e290c(0x26e),0x0),P(this,'_sendHeartbeatTimer'),P(this,'_timeoutTimer'),(this['_injector']=_0x4b8d2d,this['_logService']=_0x452e23,this[_0x4e290c(0x263)]=_0x32d82a,this[_0x4e290c(0x277)]=_0x353e0a,this[_0x4e290c(0x39a)]=_0x563167,this[_0x4e290c(0x2eb)]=_0x4c989a,this[_0x4e290c(0x2f0)]=_0xc54214,this[_0x4e290c(0x27f)]());}get[_0x67e149(0x393)](){var _0x17d3af=_0x67e149;return this[_0x17d3af(0x116)][_0x17d3af(0x1a6)]();}[_0x67e149(0x27f)](){var _0x122ded=_0x67e149;this[_0x122ded(0x2f0)]&&this[_0x122ded(0x2fb)](this[_0x122ded(0x2f0)][_0x122ded(0x2af)][_0x122ded(0x224)](_0x1e18a0=>{var _0x19ebee=_0x122ded;_0x1e18a0&&!this[_0x19ebee(0x393)]&&this[_0x19ebee(0x152)](),_0x1e18a0||this[_0x19ebee(0x399)]();}));}[_0x67e149(0x173)](){var _0x5bfb55=_0x67e149;super[_0x5bfb55(0x173)](),this[_0x5bfb55(0x125)][_0x5bfb55(0x1b5)](_0x290197=>_0x290197['dispose']()),this['_sessions'][_0x5bfb55(0x244)](),this['_status$'][_0x5bfb55(0x1f5)]();}async[_0x67e149(0x3c0)](_0x13eb4b){var _0x1c09a4=_0x67e149;if(this['_sessions']['has'](_0x13eb4b))return this['_sessions'][_0x1c09a4(0x188)](_0x13eb4b);this[_0x1c09a4(0x329)]();const _0x55b636=this['_injector'][_0x1c09a4(0x210)](Tt,_0x13eb4b,this[_0x1c09a4(0x116)]['asObservable']());return this[_0x1c09a4(0x125)][_0x1c09a4(0x2a2)](_0x13eb4b,_0x55b636),_0x55b636;}[_0x67e149(0x128)](_0x1f338d){var _0x20b56f=_0x67e149,_0x46a284;const _0xe86b04=this[_0x20b56f(0x125)]['get'](_0x1f338d);_0xe86b04&&(this[_0x20b56f(0x125)][_0x20b56f(0x288)](_0x1f338d),_0xe86b04[_0x20b56f(0x2a7)]()),this[_0x20b56f(0x125)]['size']||(_0x46a284=this[_0x20b56f(0x393)])==null||_0x46a284[_0x20b56f(0x2a7)]();}[_0x67e149(0x152)](){var _0x2367db=_0x67e149;this[_0x2367db(0x26e)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x67e149(0x2c4)](){var _0x57b516=_0x67e149,_0x5ebfa3,_0x37d586,_0x29b57b;const _0x37357c=this[_0x57b516(0x263)][_0x57b516(0x357)](Y),_0x240ecf=(_0x5ebfa3=_0x37357c==null?void 0x0:_0x37357c[_0x57b516(0x3a9)])!=null?_0x5ebfa3:Mn;return(_0x29b57b=(_0x37d586=(await this['_httpService'][_0x57b516(0x188)](_0x240ecf,{'headers':{'Content-Type':_0x57b516(0x35c)}}))[_0x57b516(0x209)])==null?void 0x0:_0x37d586['ticket'])!=null?_0x29b57b:'';}[_0x67e149(0x195)](_0x4a0017){var _0x6fbab5=_0x67e149,_0x32fde6,_0x54f096;const _0x50cba9=this[_0x6fbab5(0x263)][_0x6fbab5(0x357)](xn),_0x14954a=this['_configService'][_0x6fbab5(0x357)](Y),_0x311291=(_0x54f096=(_0x32fde6=_0x14954a==null?void 0x0:_0x14954a[_0x6fbab5(0x3b1)])!=null?_0x32fde6:_0x50cba9)!=null?_0x54f096:Ln,_0x58cc0b=typeof window>'u'?new URL(_0x311291):new URL(_0x311291,window['location']['origin']);_0x58cc0b[_0x6fbab5(0x240)][_0x6fbab5(0x2a2)](_0x6fbab5(0x184),_0x4a0017);const _0x216bbe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x6fbab5(0x294)][_0x6fbab5(0x3fa)]);return _0x216bbe[_0x6fbab5(0x188)](_0x6fbab5(0x1b9))&&_0x58cc0b[_0x6fbab5(0x240)][_0x6fbab5(0x2a2)]('runId',_0x216bbe[_0x6fbab5(0x188)](_0x6fbab5(0x1b9))),_0x58cc0b[_0x6fbab5(0x2a6)]();}async[_0x67e149(0x326)](){var _0x34a180=_0x67e149;const _0x391494=await this['_getSessionTicket'](),_0xb72225=this[_0x34a180(0x195)](_0x391494),_0x43e5d=this[_0x34a180(0x277)][_0x34a180(0x2d0)](_0xb72225);return this[_0x34a180(0x123)]=_0x43e5d,_0x43e5d;}async[_0x67e149(0x329)](){var _0x4e835d=_0x67e149,_0x3665b0,_0x3c4ec6;try{const _0x52a2a4=(_0x3c4ec6=(_0x3665b0=this[_0x4e835d(0x393)])!=null?_0x3665b0:this[_0x4e835d(0x123)])!=null?_0x3c4ec6:await this[_0x4e835d(0x326)]();if(_0x52a2a4){const _0x2162d=_0x52a2a4[_0x4e835d(0x387)];_0x52a2a4[_0x4e835d(0x387)]=_0x2068d2=>(this[_0x4e835d(0x13c)](),_0x2162d['apply'](_0x52a2a4,[_0x2068d2])),_0x52a2a4[_0x4e835d(0x1e5)][_0x4e835d(0x224)](_0x8ee0be=>this['_onMessage'](_0x52a2a4,_0x8ee0be)),_0x52a2a4[_0x4e835d(0x347)][_0x4e835d(0x3c1)](_0x492db6(0x1))[_0x4e835d(0x224)](_0x128402=>this['_logService'][_0x4e835d(0x1a1)](_0x4e835d(0x1bf),_0x128402)),_0x52a2a4[_0x4e835d(0x203)][_0x4e835d(0x3c1)](_0x492db6(0x1))[_0x4e835d(0x224)](()=>{var _0x1d6216=_0x4e835d;this[_0x1d6216(0x237)](_0x52a2a4);}),_0x52a2a4[_0x4e835d(0x31d)]['pipe'](_0x492db6(0x1))[_0x4e835d(0x224)](_0x57a87d=>{var _0x383730=_0x4e835d;this[_0x383730(0x1a4)]['debug']('[CollaborationSessionService]','socket\x20close',_0x57a87d),this[_0x383730(0x3ef)]();});}}catch(_0x37fab6){this[_0x4e835d(0x1a4)][_0x4e835d(0x1a1)](_0x37fab6),this[_0x4e835d(0x3ef)]();}}[_0x67e149(0x237)](_0x42f2d8){var _0xfdff7e=_0x67e149;this[_0xfdff7e(0x1a4)]['debug'](_0xfdff7e(0x3f2),_0xfdff7e(0x312)),_0x42f2d8[_0xfdff7e(0x387)]({'cmd':F[_0xfdff7e(0x305)]}),this[_0xfdff7e(0x13c)]();}[_0x67e149(0x399)](){var _0x4000f2=_0x67e149;this[_0x4000f2(0x28e)]=!0x1,this[_0x4000f2(0x123)]=null,this[_0x4000f2(0x316)][_0x4000f2(0x190)](Te[_0x4000f2(0x1fd)]),this[_0x4000f2(0x116)][_0x4000f2(0x190)](null),this[_0x4000f2(0x20b)](),this['_clearHeartbeatTimer']();}[_0x67e149(0x3ef)](){var _0x587e9d=_0x67e149,_0x4eec97;this['_onOffline'](),this['_retryCount']<((_0x4eec97=this[_0x587e9d(0x263)][_0x587e9d(0x357)](jn))!=null?_0x4eec97:Bn)?(this[_0x587e9d(0x2eb)][_0x587e9d(0x137)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x587e9d(0x2eb)][_0x587e9d(0x137)]({'id':re[_0x587e9d(0x1c0)]});}[_0x67e149(0x3e6)](){var _0x3d1f3a=_0x67e149,_0x130fad;const _0x383e45=this['_retryCount'],_0x40fa9b=this[_0x3d1f3a(0x263)][_0x3d1f3a(0x357)](Y),_0xf07f23=_0x383e45===0x0?0x0:((_0x130fad=_0x40fa9b==null?void 0x0:_0x40fa9b[_0x3d1f3a(0x1ef)])!=null?_0x130fad:kn)*0x2**_0x383e45;this[_0x3d1f3a(0x194)]=setTimeout(()=>{var _0x1d8c93=_0x3d1f3a;clearTimeout(this[_0x1d8c93(0x194)]),this[_0x1d8c93(0x194)]=null,this['_tryEnsureSocket']();},_0xf07f23),this['_retryCount']+=0x1;}['_onMessage'](_0x39a53f,_0x492194){var _0x3471f2=_0x67e149;const {cmd:_0x1046f3}=_0x492194;_0x1046f3===F[_0x3471f2(0x305)]&&!this[_0x3471f2(0x28e)]&&(_0x39a53f[_0x3471f2(0x10d)]=_0x492194['data'][_0x3471f2(0x10d)],this[_0x3471f2(0x116)][_0x3471f2(0x190)](_0x39a53f),this[_0x3471f2(0x316)]['next'](Te['ONLINE']),this[_0x3471f2(0x28e)]=!0x0,this[_0x3471f2(0x123)]=null),_0x1046f3===F[_0x3471f2(0x172)]&&this[_0x3471f2(0x20b)](),this[_0x3471f2(0x13c)]();}[_0x67e149(0x13c)](){var _0x2a86dd=_0x67e149,_0x14094d;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2a86dd(0x1f8)](),(_0x14094d=this[_0x2a86dd(0x263)][_0x2a86dd(0x357)]($n))!=null?_0x14094d:Hn);}[_0x67e149(0x1f8)](){var _0x4f2c8b=_0x67e149;this[_0x4f2c8b(0x393)][_0x4f2c8b(0x387)]({'cmd':F['HEARTBEAT']}),this[_0x4f2c8b(0x2b6)]();}[_0x67e149(0x2b6)](){var _0x4e9a06=_0x67e149,_0x4251e6;this[_0x4e9a06(0x30b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4251e6=this['_configService'][_0x4e9a06(0x357)](Ii))!=null?_0x4251e6:Ti);}[_0x67e149(0x24c)](){var _0x4ad994=_0x67e149;this[_0x4ad994(0x314)]!=null&&(clearTimeout(this[_0x4ad994(0x314)]),this[_0x4ad994(0x314)]=null);}[_0x67e149(0x20b)](){var _0x246289=_0x67e149;this[_0x246289(0x30b)]!=null&&(clearTimeout(this[_0x246289(0x30b)]),this[_0x246289(0x30b)]=null);}};Le=_s([ge(0x0,_0x57db04(_0x58538f)),ge(0x1,_0x5ca4d7),ge(0x2,_0x127296),ge(0x3,Ri),ge(0x4,_0x57db04(_0x5a59de)),ge(0x5,_0x57db04(pe)),ge(0x6,_0x493dfd(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x67e149(0x276)]((n+0x100)[_0x67e149(0x2a6)](0x10)[_0x67e149(0x235)](0x1));function ls(_0x36cb8f,_0x2e6057=0x0){var _0x4602d1=_0x67e149;return(V[_0x36cb8f[_0x2e6057+0x0]]+V[_0x36cb8f[_0x2e6057+0x1]]+V[_0x36cb8f[_0x2e6057+0x2]]+V[_0x36cb8f[_0x2e6057+0x3]]+'-'+V[_0x36cb8f[_0x2e6057+0x4]]+V[_0x36cb8f[_0x2e6057+0x5]]+'-'+V[_0x36cb8f[_0x2e6057+0x6]]+V[_0x36cb8f[_0x2e6057+0x7]]+'-'+V[_0x36cb8f[_0x2e6057+0x8]]+V[_0x36cb8f[_0x2e6057+0x9]]+'-'+V[_0x36cb8f[_0x2e6057+0xa]]+V[_0x36cb8f[_0x2e6057+0xb]]+V[_0x36cb8f[_0x2e6057+0xc]]+V[_0x36cb8f[_0x2e6057+0xd]]+V[_0x36cb8f[_0x2e6057+0xe]]+V[_0x36cb8f[_0x2e6057+0xf]])[_0x4602d1(0x33b)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x7a8036=_0x67e149;if(!dt){if(typeof crypto>'u'||!crypto[_0x7a8036(0x17f)])throw new Error(_0x7a8036(0x2b9));dt=crypto[_0x7a8036(0x17f)][_0x7a8036(0x2c2)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x67e149(0x231)]&&crypto[_0x67e149(0x231)][_0x67e149(0x2c2)](crypto),Jt={'randomUUID':fs};function vs(_0x210158,_0x1d70b4,_0x23daf9){var _0x511a65=_0x67e149;if(Jt[_0x511a65(0x231)]&&!_0x1d70b4&&!_0x210158)return Jt[_0x511a65(0x231)]();_0x210158=_0x210158||{};const _0x347da9=_0x210158[_0x511a65(0x3df)]||(_0x210158[_0x511a65(0x112)]||ds)();return _0x347da9[0x6]=_0x347da9[0x6]&0xf|0x40,_0x347da9[0x8]=_0x347da9[0x8]&0x3f|0x80,ls(_0x347da9);}const X=_0x1494c1(_0x67e149(0x28b));function po(_0x5b9586){var _0x389961=_0x67e149;return _0x389961(0x3e9)+_0x5b9586;}var ps=Object[_0x67e149(0x202)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x46664e,_0xeb2957,_0x46d840,_0x265779)=>{var _0x4813a4=_0x67e149;for(var _0x1578b8=_0x265779>0x1?void 0x0:_0x265779?ms(_0xeb2957,_0x46d840):_0xeb2957,_0x183c15=_0x46664e[_0x4813a4(0x216)]-0x1,_0x3c39a7;_0x183c15>=0x0;_0x183c15--)(_0x3c39a7=_0x46664e[_0x183c15])&&(_0x1578b8=(_0x265779?_0x3c39a7(_0xeb2957,_0x46d840,_0x1578b8):_0x3c39a7(_0x1578b8))||_0x1578b8);return _0x265779&&_0x1578b8&&ps(_0xeb2957,_0x46d840,_0x1578b8),_0x1578b8;},ft=(_0x58252f,_0x14689a)=>(_0x3ab3a2,_0x24f8f4)=>_0x14689a(_0x3ab3a2,_0x24f8f4,_0x58252f);function Ss(_0x369af0){var _0x2f7b4f=_0x67e149;const {unitID:_0x4dae06,mutations:_0x3bdb71}=_0x369af0;return{'unitId':_0x4dae06,'subUnitId':_0x3bdb71[0x0][_0x2f7b4f(0x11f)][_0x2f7b4f(0x150)]};}let nt=class{constructor(_0x1bb631,_0x2daf8c,_0x1924fc){var _0x34c9ee=_0x67e149;this[_0x34c9ee(0x233)]=_0x1bb631,this[_0x34c9ee(0x14c)]=_0x2daf8c,this[_0x34c9ee(0x1cb)]=_0x1924fc;}[_0x67e149(0x25b)](_0x28cc2e){var _0x4025ab=_0x67e149,_0x11e4a3,_0x10287f,_0x1ac847,_0x3edab5;const _0x3bd9fd=this[_0x4025ab(0x233)][_0x4025ab(0x188)](_0xaef689),{unitId:_0x2611f9,subUnitId:_0x3d368a}=Ss(_0x28cc2e),_0xa02fc6=_0x3bd9fd==null?void 0x0:_0x3bd9fd[_0x4025ab(0x149)](_0x2611f9)['getCurrentSelections'](),_0x337f55=(_0x10287f=(_0x11e4a3=this[_0x4025ab(0x1cb)][_0x4025ab(0x1cd)](_0x2611f9))==null?void 0x0:_0x11e4a3['getActiveSheet']())==null?void 0x0:_0x10287f[_0x4025ab(0x280)]();if(_0xa02fc6[_0x4025ab(0x216)]===0x0||!_0x2611f9||!_0x3d368a)return;const _0x43be28=[{'id':_0x4530a0['id'],'params':{'unitId':_0x2611f9,'subUnitId':_0x337f55,'selections':_0x1bd54e[_0x4025ab(0x29d)](_0xa02fc6)}}],_0x505a21=this[_0x4025ab(0x14c)]['transformMutationsWithChangeset'](_0x28cc2e,_0x43be28);if(!_0x23f111(_0x505a21))throw _0x505a21['error'];const _0x526814=(_0x3edab5=(_0x1ac847=_0x505a21['m2Prime'][0x0])==null?void 0x0:_0x1ac847[_0x4025ab(0x11f)])==null?void 0x0:_0x3edab5[_0x4025ab(0x292)];if(Array[_0x4025ab(0x1fa)](_0x526814)&&_0x526814['length']){if(_0x526814[_0x4025ab(0x216)]===_0x43be28[0x0]['params'][_0x4025ab(0x292)][_0x4025ab(0x216)]&&_0x526814[_0x4025ab(0x1cc)]((_0x54e9c9,_0x29fe8e)=>_0x48c265['equals'](_0x54e9c9['range'],_0x43be28[0x0][_0x4025ab(0x11f)][_0x4025ab(0x292)][_0x29fe8e][_0x4025ab(0x162)])))return;this['_injector'][_0x4025ab(0x188)](_0x515069)[_0x4025ab(0x37b)](_0x4530a0['id'],{'unitId':_0x2611f9,'subUnitId':_0x337f55,'selections':_0x526814});}}};nt=gs([ft(0x0,_0x57db04(_0x58538f)),ft(0x1,_0x4d5618),ft(0x2,_0x262205)],nt);const _t=_0x1494c1(_0x67e149(0x15f));var Oi=(_0x4c7a85=>(_0x4c7a85[_0x4c7a85[_0x67e149(0x2c8)]=0x0]=_0x67e149(0x2c8),_0x4c7a85[_0x4c7a85[_0x67e149(0x3ba)]=0x1]=_0x67e149(0x3ba),_0x4c7a85))(Oi||{});const Es=new Set([_0x501e9c['id']]);function Xt(_0x5654a1,_0x532649,_0x37ad8b,_0x5a102c,_0x4516a2){var _0x4db4cb=_0x67e149,_0x16449e,_0x302240,_0xf1b17d,_0x33f0f0;const _0x1f0473=[];for(const _0xb00416 of _0x5654a1)if(Es['has'](_0xb00416['id'])){if(_0x1f0473[_0x4db4cb(0x216)]>0x0)break;_0x1f0473[_0x4db4cb(0x276)](_0xb00416);break;}else _0x1f0473[_0x4db4cb(0x276)](_0xb00416);const _0x5c60ab=(_0x302240=(_0x16449e=_0x4516a2[_0x4db4cb(0x1ee)]())==null?void 0x0:_0x16449e[_0x4db4cb(0x3a3)])!=null?_0x302240:_0x4db4cb(0x16a),_0x47eb14=(_0x33f0f0=(_0xf1b17d=_0x4516a2['getCurrentUser']())==null?void 0x0:_0xf1b17d[_0x4db4cb(0x10d)])!=null?_0x33f0f0:_0x4db4cb(0x16a);return{'changeset':{'unitID':_0x532649,'type':_0x342544(_0x37ad8b[_0x4db4cb(0x340)](_0x532649)),'baseRev':_0x5a102c[_0x4db4cb(0x15a)](_0x532649),'revision':0x0,'userID':_0x5c60ab,'memberID':_0x47eb14,'mutations':_0x1f0473},'pendingMutations':_0x5654a1['slice'](_0x1f0473[_0x4db4cb(0x216)])};}function Is(_0x419f48,_0x216042,_0x5d4994,_0x4e802b,_0x333663){var _0x586715=_0x67e149,_0x555fe2,_0x13484d,_0x1a260c,_0x47303a;const _0x5a82a4=[_0x419f48[_0x586715(0x22f)]((_0x2ea9a7,_0xa32885)=>{var _0xf648f0=_0x586715,_0x5e34a8;const {id:_0x3e5547}=_0x2ea9a7,{id:_0xf34a38,type:_0x13fddb}=_0xa32885,_0x70f6e7=(_0x5e34a8=_0x2ea9a7[_0xf648f0(0x11f)])!=null?_0x5e34a8:{'actions':null},_0x2d6aed=_0xa32885['params'];if(_0x3e5547&&_0x3e5547!==_0xf34a38)throw new Error(_0xf648f0(0x2fd)+_0x3e5547+_0xf648f0(0x122)+_0xf34a38+'.');return{..._0x2ea9a7,'id':_0xf34a38,'type':_0x13fddb,'params':{'unitId':_0x2d6aed[_0xf648f0(0x319)],'textRanges':_0x2d6aed[_0xf648f0(0x16c)],'actions':_0xd34143[_0xf648f0(0x267)](_0x70f6e7[_0xf648f0(0x346)],_0x2d6aed[_0xf648f0(0x346)])}};},{})],_0x385f84=(_0x13484d=(_0x555fe2=_0x333663[_0x586715(0x1ee)]())==null?void 0x0:_0x555fe2[_0x586715(0x3a3)])!=null?_0x13484d:'unknown',_0xa2a131=(_0x47303a=(_0x1a260c=_0x333663[_0x586715(0x1ee)]())==null?void 0x0:_0x1a260c['memberID'])!=null?_0x47303a:_0x586715(0x16a);return{'changeset':{'unitID':_0x216042,'type':_0x342544(_0x5d4994[_0x586715(0x340)](_0x216042)),'baseRev':_0x4e802b[_0x586715(0x15a)](_0x216042),'revision':0x0,'userID':_0x385f84,'memberID':_0xa2a131,'mutations':_0x5a82a4},'pendingMutations':[]};}function Ni(_0x2e35a0,_0x135b58){var _0x7d4964=_0x67e149;const _0x58d42a=new _0x171a8e(0x1);return setTimeout(()=>_0x58d42a[_0x7d4964(0x190)](_0x135b58),_0x2e35a0),_0x58d42a[_0x7d4964(0x1d6)]()[_0x7d4964(0x3c1)](_0x468325(0x1));}const Ts={'id':_0x3a3c57['id'],'type':_0x5816bc[_0x67e149(0x11c)],'params':{}};var Cs=Object[_0x67e149(0x202)],bs=Object[_0x67e149(0x2b0)],be=(_0x3a177c,_0x345aa6,_0x3f058f,_0x9c4535)=>{for(var _0x5154f1=_0x9c4535>0x1?void 0x0:_0x9c4535?bs(_0x345aa6,_0x3f058f):_0x345aa6,_0xdb3da8=_0x3a177c['length']-0x1,_0x208094;_0xdb3da8>=0x0;_0xdb3da8--)(_0x208094=_0x3a177c[_0xdb3da8])&&(_0x5154f1=(_0x9c4535?_0x208094(_0x345aa6,_0x3f058f,_0x5154f1):_0x208094(_0x5154f1))||_0x5154f1);return _0x9c4535&&_0x5154f1&&Cs(_0x345aa6,_0x3f058f,_0x5154f1),_0x5154f1;},A=(_0x28fdb9,_0x3cabbf)=>(_0x3ea9b5,_0x55c419)=>_0x3cabbf(_0x3ea9b5,_0x55c419,_0x28fdb9),Pi=(_0x3afd9=>(_0x3afd9[_0x67e149(0x27b)]=_0x67e149(0x25c),_0x3afd9[_0x67e149(0x3cd)]=_0x67e149(0x193),_0x3afd9[_0x67e149(0x35e)]=_0x67e149(0x2a3),_0x3afd9['AWAITING']='awaiting',_0x3afd9['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x3afd9[_0x67e149(0x223)]=_0x67e149(0x15b),_0x3afd9['CONFLICT']='conflict',_0x3afd9['OFFLINE']=_0x67e149(0x228),_0x3afd9))(Pi||{});const Di=0xea60;class Re{constructor(_0x1b07be,_0x27c745,_0x437955,_0x37c5d6,_0x46d765,_0x444b28,_0x3f3eff,_0x1b8d0d,_0x51bdf0){var _0x1963a1=_0x67e149;P(this,_0x1963a1(0x103),null),P(this,_0x1963a1(0x168),[]),(this[_0x1963a1(0x1d3)]=_0x1b07be,this['type']=_0x27c745,this['_handler']=_0x46d765,this[_0x1963a1(0x2ab)]=_0x444b28,this[_0x1963a1(0x2ef)]=_0x3f3eff,this[_0x1963a1(0x11e)]=_0x1b8d0d,this[_0x1963a1(0x13f)]=_0x51bdf0,this['_awaitingChangeset']=_0x437955,this[_0x1963a1(0x168)]=_0x37c5d6);}[_0x67e149(0x262)](_0x20d4f1){var _0xfeecd8=_0x67e149;const _0x305a23=this[_0xfeecd8(0x11e)][_0xfeecd8(0x15a)](this[_0xfeecd8(0x1d3)]);return _0x20d4f1[_0xfeecd8(0x114)]>_0x305a23+0x1?(this[_0xfeecd8(0x180)][_0xfeecd8(0x186)]({'from':_0x305a23,'to':_0x20d4f1[_0xfeecd8(0x114)]-0x1}),!0x0):!0x1;}[_0x67e149(0x3e1)](_0x187871){var _0x444f30=_0x67e149;this[_0x444f30(0x2ef)][_0x444f30(0x1ed)](this[_0x444f30(0x1d3)],_0x187871);}[_0x67e149(0x2d7)](_0x4f908a){var _0x4d3458=_0x67e149,_0x4ac739,_0x14822d;(_0x14822d=(_0x4ac739=this[_0x4d3458(0x180)])[_0x4d3458(0x119)])==null||_0x14822d['call'](_0x4ac739,_0x4f908a);}[_0x67e149(0x398)](_0x341e4c){var _0x5d44d0=_0x67e149,_0x23abc7,_0x849cf2;return(_0x849cf2=(_0x23abc7=this[_0x5d44d0(0x180)])[_0x5d44d0(0x2a0)])==null?void 0x0:_0x849cf2['call'](_0x23abc7,_0x341e4c);}[_0x67e149(0x18e)](_0x484e4d){var _0x36939a=_0x67e149,_0x44f6bf,_0x10c8d8;return(_0x10c8d8=(_0x44f6bf=this['_handler'])[_0x36939a(0x26d)])==null?void 0x0:_0x10c8d8[_0x36939a(0x300)](_0x44f6bf,_0x484e4d);}['_transformRemoteChangesetByIMECache'](_0x5c4aee){var _0x53b013=_0x67e149,_0x7e74b2,_0x52a383,_0x1706b7;return(_0x1706b7=(_0x52a383=(_0x7e74b2=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x52a383[_0x53b013(0x300)](_0x7e74b2,_0x5c4aee))!=null?_0x1706b7:_0x5c4aee;}['_transformRemoteChangesetByStateCache'](_0x32a75a){var _0x219ae0=_0x67e149,_0x4c5ad2,_0x40af8c,_0x372f2a;return(_0x372f2a=(_0x40af8c=(_0x4c5ad2=this[_0x219ae0(0x180)])[_0x219ae0(0x110)])==null?void 0x0:_0x40af8c[_0x219ae0(0x300)](_0x4c5ad2,_0x32a75a))!=null?_0x372f2a:_0x32a75a;}[_0x67e149(0x166)](_0x219dc4){var _0x140350=_0x67e149,_0x3ac1cc,_0x3e7600;if(this[_0x140350(0x1ea)]===Q['UNIVER_DOC']){const {unitID:_0x4c0a4f,mutations:_0x5efdda,memberID:_0x541882}=_0x219dc4,_0xe6b340=_0x5efdda[0x0][_0x140350(0x11f)]['textRanges'];Array[_0x140350(0x1fa)](_0xe6b340)&&_0xe6b340['length']>0x0&&((_0x3e7600=(_0x3ac1cc=this[_0x140350(0x180)])[_0x140350(0x1bc)])==null||_0x3e7600[_0x140350(0x300)](_0x3ac1cc,{'unitID':_0x4c0a4f,'memberID':_0x541882,'textRanges':_0xe6b340}));}}['_updateLocalCache'](){var _0x97b1d=_0x67e149,_0x574ad8;(_0x574ad8=this[_0x97b1d(0x13f)])==null||_0x574ad8['updateOfflineData'](this[_0x97b1d(0x1d3)],this['type'],this['_awaitingChangeset'],this[_0x97b1d(0x168)]);}['_getCurrentRevision'](){var _0x171ca4=_0x67e149;return this[_0x171ca4(0x11e)][_0x171ca4(0x15a)](this['unitID']);}[_0x67e149(0x344)](){var _0x3c7f16=_0x67e149;this[_0x3c7f16(0x11e)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x54298d){var _0x5a9915=_0x67e149,_0x3b7685;let _0x3da8e8=this['_transformRemoteChangesetByIMECache'](_0x54298d);_0x3da8e8=this[_0x5a9915(0x14b)](_0x3da8e8);const _0x1958f8=_0x3fa775(_0x3da8e8[_0x5a9915(0x16e)],this[_0x5a9915(0x2ab)],{'fromCollab':!0x0});if(!_0x1958f8[_0x5a9915(0x39d)])throw _0x1958f8[_0x5a9915(0x1a1)]instanceof Error?_0x1958f8[_0x5a9915(0x1a1)]:new Error((_0x3b7685=_0x1958f8['error'])!=null?_0x3b7685:_0x5a9915(0x2da));this[_0x5a9915(0x398)](_0x3da8e8),this[_0x5a9915(0x18e)](_0x3da8e8),this[_0x5a9915(0x3e1)](_0x54298d),this[_0x5a9915(0x2d7)](_0x3da8e8),this[_0x5a9915(0x166)](_0x3da8e8),this[_0x5a9915(0x344)]();}}let Pe=class extends Re{constructor(_0x1b7a2b,_0x2808ed,_0x127a84,_0x4c70a9,_0x1b1335,_0x2a309a,_0x1f5fc4,_0x7bc923,_0x4f7231,_0x41f1c2){var _0x2af589=_0x67e149;super(_0x1b7a2b,_0x2808ed,null,[],_0x127a84,_0x1f5fc4,_0x2a309a,_0x4c70a9,_0x41f1c2),P(this,_0x2af589(0x394),'synced'),(this['_injector']=_0x1b1335,this[_0x2af589(0x1a4)]=_0x7bc923,this[_0x2af589(0x14c)]=_0x4f7231,this[_0x2af589(0x138)]=_0x41f1c2);}['appendMutation'](_0x4e4751){var _0x25228=_0x67e149;const _0x32c435=this['_injector'][_0x25228(0x210)](oe,this[_0x25228(0x1d3)],this[_0x25228(0x1ea)],[_0x4e4751],this[_0x25228(0x180)]);return _0x32c435[_0x25228(0x105)](),_0x32c435[_0x25228(0x3f9)](),_0x32c435;}['onRemoteChangeset'](_0x422a65){var _0xe094de=_0x67e149;if(this[_0xe094de(0x262)](_0x422a65))return this['_injector'][_0xe094de(0x210)](te,this['unitID'],this[_0xe094de(0x1ea)],null,[],null,[_0x422a65],this[_0xe094de(0x180)]);try{const _0x546ef0=this[_0xe094de(0x14c)][_0xe094de(0x2ad)](_0x422a65,[Ts]);if(_0x23f111(_0x546ef0)){const {c1Prime:_0x8041f7}=_0x546ef0;return this['_executeRemoteChangeset'](_0x8041f7),this;}throw _0x546ef0[_0xe094de(0x1a1)];}catch(_0x136ae6){return this[_0xe094de(0x1a4)][_0xe094de(0x1a1)](_0x136ae6),this[_0xe094de(0x2aa)](!0x1);}}[_0x67e149(0x2aa)](_0x208a1d){var _0x4aa4e4=_0x67e149;return this[_0x4aa4e4(0x233)][_0x4aa4e4(0x210)](de,this[_0x4aa4e4(0x1d3)],this[_0x4aa4e4(0x1ea)],null,[],this[_0x4aa4e4(0x180)],_0x208a1d);}['onRemoteAck'](){var _0xbdc40a=_0x67e149;throw new Error(_0xbdc40a(0x2ac));}[_0x67e149(0x33a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x67e149(0x29b)](){var _0x4419f7=_0x67e149;return this[_0x4419f7(0x233)][_0x4419f7(0x210)](fe,this[_0x4419f7(0x1d3)],this[_0x4419f7(0x1ea)],null,[],this['_handler']);}[_0x67e149(0x296)](){return this;}['resend'](){var _0x5b277d=_0x67e149;throw new Error(_0x5b277d(0x3d7));}[_0x67e149(0x1fb)](){var _0x5ba6bc=_0x67e149;const _0x420fe6=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5ba6bc(0x1d3)]);return this['_handler'][_0x5ba6bc(0x186)]({'from':_0x420fe6,'to':0x0}),this['_injector'][_0x5ba6bc(0x210)](te,this[_0x5ba6bc(0x1d3)],this['type'],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x57db04(_0x466d1d)),A(0x4,_0x57db04(_0x58538f)),A(0x5,_0x1d537c),A(0x6,_0x515069),A(0x7,_0x5ca4d7),A(0x8,_0x4d5618),A(0x9,_0x493dfd(X))],Pe);let oe=class extends Re{constructor(_0x3ffe6a,_0x27592c,_0x19b3d2,_0x196e3a,_0x172d67,_0x3cd49d,_0x12eb6e,_0x5124d4,_0x598daa,_0x5f3b04,_0x3dbc34,_0x4826cd,_0x2ab4d1,_0x4d9533){var _0x57f7d9=_0x67e149;super(_0x3ffe6a,_0x27592c,null,_0x19b3d2,_0x196e3a,_0x598daa,_0x2ab4d1,_0x3cd49d,_0x4d9533),P(this,_0x57f7d9(0x394),_0x57f7d9(0x2a3)),P(this,'_scheduleCompleteTimestamp',null),P(this,_0x57f7d9(0x208),null),(this[_0x57f7d9(0x233)]=_0x172d67,this[_0x57f7d9(0x3b2)]=_0x12eb6e,this[_0x57f7d9(0x1a4)]=_0x5124d4,this[_0x57f7d9(0x263)]=_0x5f3b04,this['_transformService']=_0x3dbc34,this[_0x57f7d9(0x169)]=_0x4826cd);}[_0x67e149(0x1de)](_0x336529){var _0x4ebe9e=_0x67e149;return this[_0x4ebe9e(0x168)]['push'](_0x336529),this[_0x4ebe9e(0x3f9)](),this;}['onRemoteChangeset'](_0x22e97d){var _0xcc3574=_0x67e149;if(this['_checkMissing'](_0x22e97d))return this[_0xcc3574(0x2ed)](),this[_0xcc3574(0x233)][_0xcc3574(0x210)](te,this[_0xcc3574(0x1d3)],this[_0xcc3574(0x1ea)],null,this[_0xcc3574(0x168)],null,[_0x22e97d],this['_handler']);try{const _0x1cbcc6=this['_transformService'][_0xcc3574(0x2ad)](_0x22e97d,this['_pendingMutations']);if(_0x23f111(_0x1cbcc6)){const {c1Prime:_0x8d36a2,m2Prime:_0x33f9d6}=_0x1cbcc6;this[_0xcc3574(0x1b3)](_0x8d36a2);const _0x28d9e6=this['_injector'][_0xcc3574(0x210)](oe,this[_0xcc3574(0x1d3)],this['type'],_0x33f9d6,this['_handler']);this[_0xcc3574(0x2ed)]();const _0x2e5c26=new Date()['getTime'](),_0x373624=this['_scheduleCompleteTimestamp']?Math[_0xcc3574(0x183)](this[_0xcc3574(0x230)]-_0x2e5c26,0x0):this['_getSendChangesetTimeout']();return _0x28d9e6[_0xcc3574(0x105)](_0x373624),_0x28d9e6;}throw _0x1cbcc6[_0xcc3574(0x1a1)];}catch(_0x5c9f19){return this[_0xcc3574(0x1a4)]['error'](_0x5c9f19),this[_0xcc3574(0x2aa)](!0x1);}}[_0x67e149(0x1b6)](){var _0x358322=_0x67e149;throw new Error(_0x358322(0x2e5));}[_0x67e149(0x33a)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x67e149(0x3c4)](){return this;}['toggleOffline'](){var _0x37d368=_0x67e149;return this[_0x37d368(0x2ed)](),this[_0x37d368(0x233)]['createInstance'](fe,this[_0x37d368(0x1d3)],this[_0x37d368(0x1ea)],null,this[_0x37d368(0x168)],this[_0x37d368(0x180)]);}[_0x67e149(0x296)](){return this;}['_schedule'](_0x12f16f){var _0x53bcfe=_0x67e149;const _0x2daaf5=_0x12f16f!=null?_0x12f16f:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x53bcfe(0x11b)]()+_0x2daaf5,this[_0x53bcfe(0x208)]=setTimeout(()=>{var _0xc6e196=_0x53bcfe;this[_0xc6e196(0x2ed)]();let _0x501c38=null;switch(this['type']){case Q[_0xc6e196(0x26a)]:{_0x501c38=Xt(this[_0xc6e196(0x168)],this[_0xc6e196(0x1d3)],this[_0xc6e196(0x169)],this[_0xc6e196(0x11e)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0xc6e196(0x168)][_0xc6e196(0x1cc)](_0x56f008=>_0x56f008['id']===_0x311c13['id'])?_0x501c38=Is(this[_0xc6e196(0x168)],this['unitID'],this['_univerInstanceService'],this[_0xc6e196(0x11e)],this[_0xc6e196(0x3b2)]):_0x501c38=Xt(this[_0xc6e196(0x168)],this[_0xc6e196(0x1d3)],this['_univerInstanceService'],this[_0xc6e196(0x11e)],this['_memberService']);break;}default:throw new Error(_0xc6e196(0x1eb)+this[_0xc6e196(0x1ea)]+_0xc6e196(0x1c2));}const {changeset:_0x122500,pendingMutations:_0xe19282}=_0x501c38;this[_0xc6e196(0x180)][_0xc6e196(0x3e2)](_0x122500);const _0x3660b4=_0xe19282[_0xc6e196(0x216)]?this[_0xc6e196(0x233)]['createInstance'](ae,this[_0xc6e196(0x1d3)],this[_0xc6e196(0x1ea)],_0x122500,_0xe19282,this['_handler'],void 0x0):this[_0xc6e196(0x233)]['createInstance'](ue,this['unitID'],this[_0xc6e196(0x1ea)],_0x122500,this[_0xc6e196(0x180)]);_0x3660b4[_0xc6e196(0x3f9)](),this[_0xc6e196(0x180)][_0xc6e196(0x18b)](this,_0x3660b4);},_0x2daaf5);}[_0x67e149(0x343)](){var _0x2109a6=_0x67e149,_0x221d2a;const _0xb4999b=this[_0x2109a6(0x263)][_0x2109a6(0x357)](Y);return(_0x221d2a=_0xb4999b==null?void 0x0:_0xb4999b[_0x2109a6(0x174)])!=null?_0x221d2a:An;}['resend'](){var _0x112440=_0x67e149;throw new Error(_0x112440(0x348));}[_0x67e149(0x2ed)](){var _0x834a5c=_0x67e149;this[_0x834a5c(0x208)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x834a5c(0x208)]=null);}['_onConflict'](_0x24b984){var _0x1ca344=_0x67e149;return this['_clearScheduledTask'](),this[_0x1ca344(0x233)][_0x1ca344(0x210)](de,this[_0x1ca344(0x1d3)],this[_0x1ca344(0x1ea)],null,this[_0x1ca344(0x168)],this[_0x1ca344(0x180)],_0x24b984);}};oe=be([A(0x4,_0x57db04(_0x58538f)),A(0x5,_0x57db04(_0x466d1d)),A(0x6,_0x57db04(xe)),A(0x7,_0x5ca4d7),A(0x8,_0x515069),A(0x9,_0x127296),A(0xa,_0x4d5618),A(0xb,_0x262205),A(0xc,_0x1d537c),A(0xd,_0x493dfd(X))],oe);let ue=class extends Re{constructor(_0x12b2f5,_0x1dc48b,_0x2ca886,_0x350cd6,_0x13459d,_0x1c2a19,_0x28b91c,_0x1faac3,_0x3d0fbd,_0x115ace,_0x105b75){var _0x37b05b=_0x67e149;super(_0x12b2f5,_0x1dc48b,_0x2ca886,[],_0x350cd6,_0x28b91c,_0x115ace,_0x1c2a19,_0x105b75),P(this,'status','awaiting'),P(this,'_resendTimeout',0x0),P(this,_0x37b05b(0x2ee)),P(this,_0x37b05b(0x15d)),(this[_0x37b05b(0x233)]=_0x13459d,this[_0x37b05b(0x1a4)]=_0x1faac3,this[_0x37b05b(0x14c)]=_0x3d0fbd);}['appendMutation'](_0x404186){var _0x46ac02=_0x67e149;this[_0x46ac02(0x2ed)]();const _0x3feaae=this[_0x46ac02(0x233)][_0x46ac02(0x210)](ae,this[_0x46ac02(0x1d3)],this[_0x46ac02(0x1ea)],this['_awaitingChangeset'],[_0x404186],this['_handler'],this[_0x46ac02(0x2ee)]);return _0x3feaae[_0x46ac02(0x3f9)](),_0x3feaae;}['onRemoteChangeset'](_0xcc8c09){var _0x3e5c16=_0x67e149;if(this['_checkMissing'](_0xcc8c09))return this[_0x3e5c16(0x2ed)](),this['_injector'][_0x3e5c16(0x210)](te,this[_0x3e5c16(0x1d3)],this['type'],this[_0x3e5c16(0x103)],[],null,[_0xcc8c09],this[_0x3e5c16(0x180)]);try{const _0x436519=this[_0x3e5c16(0x14c)][_0x3e5c16(0x342)]([_0xcc8c09],[this['_awaitingChangeset']],!0x1);if(_0x33be8e(_0x436519)){const {c1Prime:_0x4dd8fd,c2Prime:_0x22c8b3}=_0x436519;this['_executeRemoteChangeset'](_0x4dd8fd[0x0]),_0x22c8b3[0x0]['baseRev']=this[_0x3e5c16(0x222)](),this[_0x3e5c16(0x2ed)]();const _0x26e61b=this[_0x3e5c16(0x233)][_0x3e5c16(0x210)](ue,this[_0x3e5c16(0x1d3)],this['type'],_0x22c8b3[0x0],this[_0x3e5c16(0x180)]);return _0x26e61b[_0x3e5c16(0x3f9)](),_0x26e61b;}return this['_onConflict'](!0x1);}catch(_0x3d78fa){return this['_logService'][_0x3e5c16(0x1a1)](_0x3d78fa),this[_0x3e5c16(0x2aa)](!0x1);}}[_0x67e149(0x1b6)](_0x34d30b){var _0x49e4ac=_0x67e149;this[_0x49e4ac(0x2ed)]();const _0x3e6041=this['_revisionService'][_0x49e4ac(0x15a)](this['unitID']);if(_0x34d30b[_0x49e4ac(0x114)]<_0x3e6041-0x1)return this;if(this[_0x49e4ac(0x262)](_0x34d30b))return this[_0x49e4ac(0x233)][_0x49e4ac(0x210)](te,this[_0x49e4ac(0x1d3)],this[_0x49e4ac(0x1ea)],null,[],this[_0x49e4ac(0x103)],[],this[_0x49e4ac(0x180)]);this[_0x49e4ac(0x344)]();const _0x2c3e52=this['_injector'][_0x49e4ac(0x210)](Pe,this[_0x49e4ac(0x1d3)],this[_0x49e4ac(0x1ea)],this[_0x49e4ac(0x180)]);return _0x2c3e52['_updateLocalCache'](),_0x2c3e52;}[_0x67e149(0x33a)](_0x706815){var _0x1d67d5=_0x67e149;return this['_onConflict'](!!(_0x706815!=null&&_0x706815[_0x1d67d5(0x3ac)]));}[_0x67e149(0x3c4)](_0x343f65){var _0x172c52=_0x67e149;return this[_0x172c52(0x367)]>Di?this['toggleOffline']():(this[_0x172c52(0x2ee)]=Ni(this[_0x172c52(0x367)],{'timeout':this[_0x172c52(0x367)],'reqId':_0x343f65[_0x172c52(0x2d8)]}),this[_0x172c52(0x15d)]=this[_0x172c52(0x2ee)][_0x172c52(0x224)](({reqId:_0x12a80b,timeout:_0x4d66e4})=>{this['_resendWithTimeout'](_0x12a80b,_0x4d66e4);}),this);}['toggleOffline'](){var _0x2500b8=_0x67e149;return this[_0x2500b8(0x2ed)](),this['_injector'][_0x2500b8(0x210)](fe,this['unitID'],this[_0x2500b8(0x1ea)],this[_0x2500b8(0x103)],[],this[_0x2500b8(0x180)]);}[_0x67e149(0x296)](){return this;}[_0x67e149(0x1c7)](){var _0x400b5b=_0x67e149;this[_0x400b5b(0x180)][_0x400b5b(0x3e2)](this[_0x400b5b(0x103)]);}[_0x67e149(0x2aa)](_0xd22d38){var _0x14102a=_0x67e149;return this['_clearScheduledTask'](),this[_0x14102a(0x233)][_0x14102a(0x210)](de,this['unitID'],this['type'],this[_0x14102a(0x103)],[],this[_0x14102a(0x180)],_0xd22d38);}[_0x67e149(0x12c)](_0x41e655,_0x56958f){var _0x1f219d=_0x67e149,_0x4540de;_0x41e655===((_0x4540de=this[_0x1f219d(0x103)])==null?void 0x0:_0x4540de[_0x1f219d(0x2d8)])&&(this[_0x1f219d(0x1c7)](),this[_0x1f219d(0x367)]=_0x56958f===0x0?0x3e8:_0x56958f*0x2);}[_0x67e149(0x2ed)](){var _0x20ed04=_0x67e149,_0x14207f;(_0x14207f=this[_0x20ed04(0x15d)])==null||_0x14207f[_0x20ed04(0x378)](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x57db04(_0x58538f)),A(0x5,_0x57db04(_0x466d1d)),A(0x6,_0x515069),A(0x7,_0x5ca4d7),A(0x8,_0x4d5618),A(0x9,_0x1d537c),A(0xa,_0x493dfd(X))],ue);let ae=class extends Re{constructor(_0x522132,_0x3b2496,_0x1303e6,_0x54818d,_0xf7f83,_0x372ef1,_0x421fa2,_0x85bfba,_0x35e693,_0x420e8b,_0x2d3d7b,_0x35311e,_0x106571){var _0x47bac9=_0x67e149;super(_0x522132,_0x3b2496,_0x1303e6,_0x54818d,_0xf7f83,_0x35e693,_0x35311e,_0x85bfba,_0x106571),P(this,'status','awaiting_with_pending'),P(this,_0x47bac9(0x367),0x0),P(this,_0x47bac9(0x2ee)),P(this,_0x47bac9(0x15d)),(this['_injector']=_0x421fa2,this[_0x47bac9(0x1a4)]=_0x420e8b,this[_0x47bac9(0x14c)]=_0x2d3d7b,this['localCacheService']=_0x106571,_0x372ef1&&(this[_0x47bac9(0x2ee)]=_0x372ef1,this['_sender']=this[_0x47bac9(0x2ee)][_0x47bac9(0x224)](({reqId:_0x20fe2b,timeout:_0xfea55b})=>{var _0x29cef2=_0x47bac9;this[_0x29cef2(0x12c)](_0x20fe2b,_0xfea55b);})));}[_0x67e149(0x1de)](_0x1e93be){var _0x29393c=_0x67e149;return this[_0x29393c(0x168)][_0x29393c(0x276)](_0x1e93be),this;}[_0x67e149(0x2db)](_0x1b89ca){var _0x4942e5=_0x67e149;if(this[_0x4942e5(0x262)](_0x1b89ca))return this['_clearScheduledTask'](),this[_0x4942e5(0x233)][_0x4942e5(0x210)](te,this[_0x4942e5(0x1d3)],this[_0x4942e5(0x1ea)],this[_0x4942e5(0x103)],this[_0x4942e5(0x168)],null,[_0x1b89ca],this[_0x4942e5(0x180)]);try{const _0x2bbcae=this[_0x4942e5(0x14c)][_0x4942e5(0x342)]([_0x1b89ca],[this[_0x4942e5(0x103)]],!0x1);if(_0x33be8e(_0x2bbcae)){const {c1Prime:_0x2e773b,c2Prime:_0x409fe1}=_0x2bbcae,_0x2af141=this[_0x4942e5(0x14c)][_0x4942e5(0x2ad)](_0x2e773b[0x0],this[_0x4942e5(0x168)]);if(_0x23f111(_0x2af141)){const {c1Prime:_0x2cc15b,m2Prime:_0x5c7ee6}=_0x2af141;return this[_0x4942e5(0x1b3)](_0x2cc15b),_0x409fe1[0x0][_0x4942e5(0x35d)]=this[_0x4942e5(0x222)](),this[_0x4942e5(0x2ed)](),this[_0x4942e5(0x233)][_0x4942e5(0x210)](ae,this['unitID'],this[_0x4942e5(0x1ea)],_0x409fe1[0x0],_0x5c7ee6,this[_0x4942e5(0x180)],void 0x0);}throw _0x2af141[_0x4942e5(0x1a1)];}throw _0x2bbcae[_0x4942e5(0x1a1)];}catch(_0x58976b){return this['_logService'][_0x4942e5(0x1a1)](_0x58976b),this[_0x4942e5(0x2aa)](!0x1);}}[_0x67e149(0x1b6)](_0x36b85f){var _0x119ea0=_0x67e149;if(this[_0x119ea0(0x2ed)](),this[_0x119ea0(0x262)](_0x36b85f))return this[_0x119ea0(0x233)][_0x119ea0(0x210)](te,this[_0x119ea0(0x1d3)],this[_0x119ea0(0x1ea)],null,this[_0x119ea0(0x168)],this['_awaitingChangeset'],[],this[_0x119ea0(0x180)]);this[_0x119ea0(0x344)]();const _0x1594e7=this['_injector']['createInstance'](oe,this[_0x119ea0(0x1d3)],this[_0x119ea0(0x1ea)],this['_pendingMutations'],this['_handler']);return _0x1594e7['_schedule'](),_0x1594e7['_updateLocalCache'](),_0x1594e7;}['onRemoteRej'](_0x38002b){var _0x47c390=_0x67e149;return this[_0x47c390(0x2aa)](!!(_0x38002b!=null&&_0x38002b[_0x47c390(0x3ac)]));}[_0x67e149(0x3c4)](_0x1ecc5f){var _0x27b91e=_0x67e149;return this[_0x27b91e(0x367)]>Di?this[_0x27b91e(0x29b)]():(this[_0x27b91e(0x2ee)]=Ni(this[_0x27b91e(0x367)],{'timeout':this[_0x27b91e(0x367)],'reqId':_0x1ecc5f[_0x27b91e(0x2d8)]}),this[_0x27b91e(0x15d)]=this['_resendTimer']['subscribe'](({reqId:_0xf389c0,timeout:_0x5f5e03})=>{this['_resendWithTimeout'](_0xf389c0,_0x5f5e03);}),this);}['toggleOffline'](){var _0x378421=_0x67e149;return this[_0x378421(0x2ed)](),this['_injector']['createInstance'](fe,this[_0x378421(0x1d3)],this[_0x378421(0x1ea)],this[_0x378421(0x103)],this[_0x378421(0x168)],this[_0x378421(0x180)]);}[_0x67e149(0x296)](){return this;}[_0x67e149(0x1c7)](){var _0x107192=_0x67e149;this['_handler'][_0x107192(0x3e2)](this[_0x107192(0x103)]);}[_0x67e149(0x2aa)](_0x492cd4){var _0x51ecfa=_0x67e149;return this[_0x51ecfa(0x2ed)](),this[_0x51ecfa(0x233)][_0x51ecfa(0x210)](de,this[_0x51ecfa(0x1d3)],this['type'],null,this['_pendingMutations'],this[_0x51ecfa(0x180)],_0x492cd4);}['_resendWithTimeout'](_0x113f6e,_0x43d435){var _0x488ff5=_0x67e149,_0x54dd34;_0x113f6e===((_0x54dd34=this['_awaitingChangeset'])==null?void 0x0:_0x54dd34['reqId'])&&(this[_0x488ff5(0x1c7)](),this[_0x488ff5(0x367)]=_0x43d435===0x0?0x3e8:_0x43d435*0x2);}[_0x67e149(0x2ed)](){var _0x127334=_0x67e149,_0x177b67;(_0x177b67=this[_0x127334(0x15d)])==null||_0x177b67['unsubscribe'](),this[_0x127334(0x367)]=0x0;}};ae=be([A(0x6,_0x57db04(_0x58538f)),A(0x7,_0x57db04(_0x466d1d)),A(0x8,_0x515069),A(0x9,_0x5ca4d7),A(0xa,_0x4d5618),A(0xb,_0x1d537c),A(0xc,_0x493dfd(X))],ae);let de=class extends Re{constructor(_0x483dae,_0x31a1d4,_0x505ddb,_0x55a65a,_0x280a5a,_0x48be26=!0x1,_0x52b3eb,_0x4ddf14,_0x52fe8c,_0x17775a,_0x52dcfb,_0x27c0c2,_0x1afd6b){var _0x1f0cd0=_0x67e149;super(_0x483dae,_0x31a1d4,_0x505ddb,_0x55a65a,_0x280a5a,_0x4ddf14,_0x52fe8c,_0x17775a,_0x1afd6b),P(this,_0x1f0cd0(0x394),_0x1f0cd0(0x3f1)),(this['_isPermissionRej']=_0x48be26,this[_0x1f0cd0(0x1a5)]=_0x52b3eb,this[_0x1f0cd0(0x2c3)]=_0x52dcfb,this[_0x1f0cd0(0x2eb)]=_0x27c0c2,this[_0x1f0cd0(0x138)]=_0x1afd6b,this[_0x1f0cd0(0x10a)](),this[_0x1f0cd0(0x1a7)](),this[_0x1f0cd0(0x11d)]());}[_0x67e149(0x1de)](){return this;}[_0x67e149(0x2db)](){return this;}[_0x67e149(0x1b6)](){return this;}[_0x67e149(0x33a)](){return this;}[_0x67e149(0x3c4)](){return this;}[_0x67e149(0x29b)](){return this;}[_0x67e149(0x296)](){return this;}[_0x67e149(0x1c7)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x67e149(0x1a7)](){var _0x2633e0=_0x67e149,_0x53435e;(_0x53435e=this[_0x2633e0(0x13f)])==null||_0x53435e['updateOfflineData'](this[_0x2633e0(0x1d3)],this[_0x2633e0(0x1ea)],null,[]);}[_0x67e149(0x10a)](){var _0x74e41=_0x67e149;this[_0x74e41(0x1f4)]?this[_0x74e41(0x2eb)][_0x74e41(0x137)]({'id':re[_0x74e41(0x196)]}):this[_0x74e41(0x2eb)][_0x74e41(0x137)]({'id':re[_0x74e41(0x3c6)]});}['_disableEditing'](){var _0xab6d6e=_0x67e149;this[_0xab6d6e(0x1a5)][_0xab6d6e(0x272)](new _0x4cc5f9(this[_0xab6d6e(0x1d3)])['id'],!0x1);}};function _0x4bea(_0x16c41c,_0x540069){var _0x513dba=_0x513d();return _0x4bea=function(_0x4bea33,_0x51ebe7){_0x4bea33=_0x4bea33-0xfb;var _0x1ebfa1=_0x513dba[_0x4bea33];return _0x1ebfa1;},_0x4bea(_0x16c41c,_0x540069);}de=be([A(0x6,_0x57db04(_0x1dfff9)),A(0x7,_0x515069),A(0x8,_0x1d537c),A(0x9,_0x57db04(_0x466d1d)),A(0xa,_0x57db04(_0x4e1aad)),A(0xb,_0x57db04(pe)),A(0xc,_0x493dfd(X))],de);let fe=class extends Re{constructor(_0x39a6dd,_0x5e73fa,_0xe833b9,_0x15a8b1,_0x336fc3,_0x48d6f9,_0x4e75d8,_0x8f205a,_0x4cc213,_0x1e9559){var _0x5bd5c2=_0x67e149;super(_0x39a6dd,_0x5e73fa,_0xe833b9,_0x15a8b1,_0x336fc3,_0x8f205a,_0x4cc213,_0x4e75d8,_0x1e9559),P(this,'status',_0x5bd5c2(0x228)),this[_0x5bd5c2(0x233)]=_0x48d6f9;}[_0x67e149(0x1de)](_0x23f0ca){var _0x295739=_0x67e149;return this[_0x295739(0x168)][_0x295739(0x276)](_0x23f0ca),this[_0x295739(0x3f9)](),this;}['onRemoteChangeset'](_0x1027a4){var _0x258cb3=_0x67e149;throw new Error(_0x258cb3(0x18c));}[_0x67e149(0x1b6)](){var _0x3ff9f1=_0x67e149;throw new Error(_0x3ff9f1(0x24d));}[_0x67e149(0x33a)](){var _0x2782bf=_0x67e149;throw new Error(_0x2782bf(0x363));}[_0x67e149(0x3c4)](){return this;}['toggleOffline'](){return this;}[_0x67e149(0x296)](){var _0x251a0b=_0x67e149;const {_injector:_0x34f353,_pendingMutations:_0x1235eb,_awaitingChangeset:_0x34a6ba,unitID:_0x4cdfcc,_handler:_0x822724,type:_0x482692}=this,_0x33c077=wi(_0x34f353,_0x4cdfcc,_0x482692,_0x34a6ba,_0x1235eb,_0x822724);return _0x33c077 instanceof oe?_0x33c077[_0x251a0b(0x105)]():(_0x33c077 instanceof ae||_0x33c077 instanceof ue)&&_0x33c077[_0x251a0b(0x1c7)](),_0x33c077;}[_0x67e149(0x1c7)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x57db04(_0x58538f)),A(0x6,_0x57db04(_0x466d1d)),A(0x7,_0x515069),A(0x8,_0x1d537c),A(0x9,_0x493dfd(X))],fe);let te=class extends Re{constructor(_0x3cf39c,_0x5757d1,_0x1fb81c,_0x4706fc,_0x4b200e,_0x1b63c2,_0x4d6484,_0x1e5957,_0x2e2b9d,_0x44c637,_0xb7376e,_0x26ddda,_0x55f8df,_0x176c77){var _0x177527=_0x67e149;super(_0x3cf39c,_0x5757d1,_0x1fb81c,_0x4706fc,_0x4d6484,_0xb7376e,_0x26ddda,_0x2e2b9d,_0x176c77),P(this,_0x177527(0x394),'fetch_missing'),(this[_0x177527(0x2f2)]=_0x4b200e,this['_queuedRemoteChangesets']=_0x1b63c2,this[_0x177527(0x233)]=_0x1e5957,this[_0x177527(0x1a4)]=_0x44c637,this[_0x177527(0x14c)]=_0x55f8df,this[_0x177527(0x138)]=_0x176c77);}[_0x67e149(0x25d)](_0xb6dacc){var _0x2b6c0f=_0x67e149;try{const _0x262909=[..._0xb6dacc,...this[_0x2b6c0f(0x252)]],_0x404ccc=[this[_0x2b6c0f(0x103)]||this[_0x2b6c0f(0x2f2)]][_0x2b6c0f(0x317)](_0x2fc968=>!!_0x2fc968);let _0x44fe2c,_0x15016e;if(_0x404ccc[_0x2b6c0f(0x216)]){const _0x3142b1=this['_transformService'][_0x2b6c0f(0x342)](_0x262909,_0x404ccc,!0x1);if(!_0x33be8e(_0x3142b1))throw _0x3142b1[_0x2b6c0f(0x1a1)];_0x44fe2c=_0x3142b1[_0x2b6c0f(0x185)],_0x15016e=_0x3142b1['c2Prime'];}else _0x44fe2c=_0x262909,_0x15016e=[];let _0x8fac79=this[_0x2b6c0f(0x168)];_0x44fe2c[_0x2b6c0f(0x1b5)](_0x30cb93=>{var _0x3fa0c8=_0x2b6c0f;let _0x1e39cf;if(_0x8fac79[_0x3fa0c8(0x216)]){const _0x38f2d4=this[_0x3fa0c8(0x14c)]['transformMutationsWithChangeset'](_0x30cb93,_0x8fac79);if(!_0x23f111(_0x38f2d4))throw _0x38f2d4['error'];_0x1e39cf=_0x38f2d4[_0x3fa0c8(0x185)],_0x8fac79=_0x38f2d4['m2Prime'];}else _0x1e39cf=_0x30cb93;this[_0x3fa0c8(0x1b3)](_0x1e39cf);}),this[_0x2b6c0f(0x2f2)]&&this[_0x2b6c0f(0x344)](),this[_0x2b6c0f(0x103)]&&_0x15016e['length']&&(_0x15016e[0x0][_0x2b6c0f(0x35d)]=this['_getCurrentRevision']());let _0x24406a;if(this[_0x2b6c0f(0x103)]&&_0x8fac79[_0x2b6c0f(0x216)]!==0x0)_0x24406a=this['_injector'][_0x2b6c0f(0x210)](ae,this['unitID'],this[_0x2b6c0f(0x1ea)],_0x15016e[0x0],_0x8fac79,this['_handler'],void 0x0);else{if(this[_0x2b6c0f(0x103)]&&_0x8fac79['length']===0x0)_0x15016e[0x0][_0x2b6c0f(0x35d)]=this[_0x2b6c0f(0x222)](),_0x24406a=this[_0x2b6c0f(0x233)][_0x2b6c0f(0x210)](ue,this['unitID'],this[_0x2b6c0f(0x1ea)],_0x15016e[0x0],this['_handler']);else{if(_0x8fac79['length']!==0x0){const _0x219f0a=this['_injector'][_0x2b6c0f(0x210)](oe,this[_0x2b6c0f(0x1d3)],this[_0x2b6c0f(0x1ea)],_0x8fac79,this[_0x2b6c0f(0x180)]);_0x219f0a[_0x2b6c0f(0x105)](),_0x24406a=_0x219f0a;}else _0x24406a=this[_0x2b6c0f(0x233)]['createInstance'](Pe,this['unitID'],this[_0x2b6c0f(0x1ea)],this[_0x2b6c0f(0x180)]);}}return _0x24406a[_0x2b6c0f(0x3f9)](),_0x24406a;}catch(_0x3bc19e){return this[_0x2b6c0f(0x1a4)][_0x2b6c0f(0x1a1)](_0x2b6c0f(0x131),_0x2b6c0f(0x38c),_0x3bc19e),this[_0x2b6c0f(0x233)]['createInstance'](de,this[_0x2b6c0f(0x1d3)],this[_0x2b6c0f(0x1ea)],this[_0x2b6c0f(0x103)],this[_0x2b6c0f(0x168)],this[_0x2b6c0f(0x180)],!0x1);}}['resend'](){var _0x421b97=_0x67e149;throw new Error(_0x421b97(0x3f5));}[_0x67e149(0x1de)](_0x2dc2d6){var _0x58baec=_0x67e149;return this[_0x58baec(0x168)]['push'](_0x2dc2d6),this;}[_0x67e149(0x2db)](_0x219efd){return this['_queuedRemoteChangesets']['push'](_0x219efd),this;}[_0x67e149(0x1b6)](_0x48f7c4){var _0x282b3e=_0x67e149;if(this['_awaitingChangeset'])return this[_0x282b3e(0x2f2)]=this['_awaitingChangeset'],this[_0x282b3e(0x103)]=null,this;throw new Error(_0x282b3e(0x34f));}[_0x67e149(0x33a)](_0x443f61){var _0x595c3b=_0x67e149;return this[_0x595c3b(0x2aa)](!!(_0x443f61!=null&&_0x443f61[_0x595c3b(0x3ac)]));}['onRemoteRetry'](){return this;}[_0x67e149(0x29b)](){var _0xbdd97e=_0x67e149;return this['_injector'][_0xbdd97e(0x210)](fe,this[_0xbdd97e(0x1d3)],this[_0xbdd97e(0x1ea)],this[_0xbdd97e(0x103)],this['_pendingMutations'],this['_handler']);}[_0x67e149(0x296)](){return this;}['_onConflict'](_0x1fd019){var _0x460c7c=_0x67e149;return this['_injector']['createInstance'](de,this[_0x460c7c(0x1d3)],this[_0x460c7c(0x1ea)],this[_0x460c7c(0x103)],this['_pendingMutations'],this[_0x460c7c(0x180)],_0x1fd019);}};te=be([A(0x7,_0x57db04(_0x58538f)),A(0x8,_0x57db04(_0x466d1d)),A(0x9,_0x5ca4d7),A(0xa,_0x515069),A(0xb,_0x1d537c),A(0xc,_0x4d5618),A(0xd,_0x493dfd(X))],te);function wi(_0x19d603,_0x4db233,_0x4d7548,_0x1acc53,_0x39c394,_0xadf22b){var _0x844fb4=_0x67e149;return _0x1acc53&&_0x39c394[_0x844fb4(0x216)]?_0x19d603['createInstance'](ae,_0x4db233,_0x4d7548,_0x1acc53,_0x39c394,_0xadf22b,void 0x0):_0x1acc53?_0x19d603[_0x844fb4(0x210)](ue,_0x4db233,_0x4d7548,_0x1acc53,_0xadf22b):_0x39c394[_0x844fb4(0x216)]?_0x19d603[_0x844fb4(0x210)](oe,_0x4db233,_0x4d7548,_0x39c394,_0xadf22b):_0x19d603[_0x844fb4(0x210)](Pe,_0x4db233,_0x4d7548,_0xadf22b);}var Rs=Object[_0x67e149(0x202)],ys=Object['getOwnPropertyDescriptor'],Mt=(_0x51b50f,_0x401f56,_0x386197,_0x3597a3)=>{var _0x5c7be4=_0x67e149;for(var _0x2d83c2=_0x3597a3>0x1?void 0x0:_0x3597a3?ys(_0x401f56,_0x386197):_0x401f56,_0x554815=_0x51b50f[_0x5c7be4(0x216)]-0x1,_0x269625;_0x554815>=0x0;_0x554815--)(_0x269625=_0x51b50f[_0x554815])&&(_0x2d83c2=(_0x3597a3?_0x269625(_0x401f56,_0x386197,_0x2d83c2):_0x269625(_0x2d83c2))||_0x2d83c2);return _0x3597a3&&_0x2d83c2&&Rs(_0x401f56,_0x386197,_0x2d83c2),_0x2d83c2;},k=(_0x1767f4,_0x413f65)=>(_0x3ccf23,_0x209cf3)=>_0x413f65(_0x3ccf23,_0x209cf3,_0x1767f4);let st=class extends _0x4e43a3{constructor(_0x378f13,_0x25d29b,_0x1416df,_0x524d58,_0x16dfdf,_0x36d389,_0xe3fc1f,_0x35b16e,_0x377dbe,_0xb97372,_0x15cfc0,_0x32e86,_0x239a6b){var _0x11fcb0=_0x67e149;super(),P(this,'_state$',new _0x772e94(null)),P(this,_0x11fcb0(0x3e5),this['_state$'][_0x11fcb0(0x1d6)]()),P(this,_0x11fcb0(0x19a)),P(this,_0x11fcb0(0x164),!0x1),P(this,_0x11fcb0(0x3e3),''),P(this,'_changesetReqId',0x0),P(this,_0x11fcb0(0x1df),this[_0x11fcb0(0x3e5)][_0x11fcb0(0x3c1)](_0x33bb0e(_0x2f0ed4=>_0x2f0ed4?_0x2f0ed4[_0x11fcb0(0x394)]:Pi['OFFLINE']),_0x37114b(0x1))),P(this,_0x11fcb0(0x2e9),!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0x11fcb0(0x1d3)]=_0x378f13,this[_0x11fcb0(0x3ed)]=_0x25d29b,this['_type']=_0x1416df,this[_0x11fcb0(0x233)]=_0x524d58,this[_0x11fcb0(0x1a3)]=_0x16dfdf,this[_0x11fcb0(0x2c3)]=_0x36d389,this['_revisionService']=_0xe3fc1f,this[_0x11fcb0(0x1b0)]=_0x35b16e,this[_0x11fcb0(0x1a4)]=_0x377dbe,this[_0x11fcb0(0x2ab)]=_0xb97372,this[_0x11fcb0(0x1a5)]=_0x15cfc0,this[_0x11fcb0(0x27c)]=_0x32e86,this[_0x11fcb0(0x13f)]=_0x239a6b);}get[_0x67e149(0x127)](){var _0x8980a6=_0x67e149;return this[_0x8980a6(0x19a)];}async['init'](){var _0x52665d=_0x67e149;if(this[_0x52665d(0x127)])throw new Error(_0x52665d(0x25a));await this[_0x52665d(0x3de)]();}[_0x67e149(0x26f)](){var _0x3108d5=_0x67e149;return this[_0x3108d5(0x164)]=!0x0,_0x3a2086(()=>{var _0x5a2733=_0x3108d5;this[_0x5a2733(0x164)]=!0x1,this[_0x5a2733(0x21f)]();});}[_0x67e149(0x238)](_0x5a33dc){var _0x3efc94=_0x67e149;this[_0x3efc94(0x100)](_0x5a33dc);}[_0x67e149(0x285)](_0x35d2b5){var _0x280940=_0x67e149;this[_0x280940(0x19a)]=_0x35d2b5,this['_state$'][_0x280940(0x190)](_0x35d2b5);}async['_init'](){var _0x1c522c=_0x67e149,_0x3a2fb1;this['_updateState'](await this[_0x1c522c(0x327)]()),this[_0x1c522c(0x27c)]&&((_0x3a2fb1=this[_0x1c522c(0x27c)])==null||_0x3a2fb1[_0x1c522c(0x242)](this['unitID']),this[_0x1c522c(0x2fb)](this['_singleActiveUnitService'][_0x1c522c(0x390)](this['unitID'])[_0x1c522c(0x224)](_0x599269=>{var _0x3de265=_0x1c522c;this[_0x3de265(0x1a4)]['debug'](_0x3de265(0x3ec),_0x3de265(0x129),_0x599269),_0x599269===Oi[_0x3de265(0x3ba)]?(this[_0x3de265(0x1b0)][_0x3de265(0x137)]({'id':re[_0x3de265(0x23c)]}),this[_0x3de265(0x1a5)][_0x3de265(0x272)](new _0x4cc5f9(this[_0x3de265(0x1d3)])['id'],!0x1),this[_0x3de265(0x1a5)][_0x3de265(0x10e)](!0x1)):(this[_0x3de265(0x1a5)]['updatePermissionPoint'](new _0x4cc5f9(this[_0x3de265(0x1d3)])['id'],!0x0),this[_0x3de265(0x1a5)][_0x3de265(0x10e)](!0x0));})));let _0x170d51=!0x1;return this[_0x1c522c(0x2fb)](this[_0x1c522c(0x3ed)][_0x1c522c(0x377)][_0x1c522c(0x224)](_0x304827=>{var _0x5f5ae2=_0x1c522c;_0x304827===Te['ONLINE']?this[_0x5f5ae2(0x3f7)](_0x170d51):_0x304827===Te['OFFLINE']&&(_0x170d51=!0x0,this[_0x5f5ae2(0x1d7)]());})),this[_0x1c522c(0x2fb)](this[_0x1c522c(0x3ed)]['event$'][_0x1c522c(0x224)](_0x53208b=>{var _0x1249a4=_0x1c522c;try{switch(_0x53208b[_0x1249a4(0x14e)]){case _0x45ec80['NEW_CHANGESETS']:{this[_0x1249a4(0x3d3)](_0x27de11(_0x53208b['data']));break;}case _0x45ec80[_0x1249a4(0x260)]:{this[_0x1249a4(0x3ab)](_0x53208b[_0x1249a4(0x322)]);break;}case _0x45ec80['CHANGESET_REJ']:{this[_0x1249a4(0x2be)]();break;}case _0x45ec80[_0x1249a4(0x302)]:{this[_0x1249a4(0x217)](_0x53208b[_0x1249a4(0x322)]);break;}case _0x45ec80[_0x1249a4(0x13e)]:{this['_onFetchMissResult'](_0x53208b[_0x1249a4(0x322)][_0x1249a4(0x21a)][_0x1249a4(0x1f0)](_0x115b68=>_0x27de11(_0x115b68)));break;}case _0x45ec80[_0x1249a4(0x3c2)]:{this[_0x1249a4(0x2be)]({'isPermissionRej':!0x0});break;}case _0x45ec80[_0x1249a4(0x35f)]:break;}}catch(_0x5e7042){throw console[_0x1249a4(0x1a1)](_0x1249a4(0x117),_0x5e7042),_0x5e7042;}})),this[_0x1c522c(0x19a)];}[_0x67e149(0x2c7)](){var _0xdb157b=_0x67e149;this[_0xdb157b(0x2e9)]=!0x1;}[_0x67e149(0x132)](){var _0x2db2eb=_0x67e149;if(this[_0x2db2eb(0x2e9)])throw new Error(_0x2db2eb(0x179));this[_0x2db2eb(0x2e9)]=!0x0;}[_0x67e149(0x100)](_0x13f2b3){var _0x3df186=_0x67e149;this[_0x3df186(0x132)](),this['_updateState'](this[_0x3df186(0x19a)][_0x3df186(0x1de)](_0x13f2b3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x67d265){var _0x31f062=_0x67e149;if(!(_0x67d265[_0x31f062(0x114)]<=this[_0x31f062(0x11e)][_0x31f062(0x15a)](this[_0x31f062(0x1d3)]))){if(this[_0x31f062(0x164)]){this[_0x31f062(0x3fe)][_0x31f062(0x276)](_0x67d265);return;}this[_0x31f062(0x27d)](_0x67d265);}}[_0x67e149(0x21f)](){var _0x218105=_0x67e149;this[_0x218105(0x3fe)][_0x218105(0x1b5)](_0xf89389=>this[_0x218105(0x27d)](_0xf89389)),this[_0x218105(0x3fe)]=[];}['_applyRemoteChangeset'](_0x128f15){var _0x3a187b=_0x67e149;const _0x55eaf7=this[_0x3a187b(0x1a3)][_0x3a187b(0x3a4)][_0x3a187b(0x269)](this['_compressMutationService'][_0x3a187b(0x3a4)]['getInterceptPoints']()[_0x3a187b(0x2f5)])(_0x128f15[_0x3a187b(0x16e)],null)||_0x128f15[_0x3a187b(0x16e)],_0x14edfc={..._0x128f15,'mutations':_0x55eaf7};this[_0x3a187b(0x132)](),this[_0x3a187b(0x285)](this[_0x3a187b(0x19a)]['onRemoteChangeset'](_0x14edfc)),this[_0x3a187b(0x2c7)]();}[_0x67e149(0x3ab)](_0x252a45){var _0x44c960=_0x67e149;this[_0x44c960(0x132)](),this[_0x44c960(0x285)](this[_0x44c960(0x19a)][_0x44c960(0x1b6)](_0x252a45)),this[_0x44c960(0x2c7)]();}['_onRemoteRejected'](_0x12a240){var _0x41ec01=_0x67e149;this[_0x41ec01(0x132)](),this[_0x41ec01(0x285)](this[_0x41ec01(0x19a)]['onRemoteRej'](_0x12a240)),this[_0x41ec01(0x2c7)]();}[_0x67e149(0x217)](_0x1e4182){var _0x9cc8eb=_0x67e149;this['_lockTransition'](),this[_0x9cc8eb(0x285)](this[_0x9cc8eb(0x19a)][_0x9cc8eb(0x3c4)](_0x1e4182)),this['_unlockTransition']();}['_onFetchMissResult'](_0x138c67){var _0x18e7e8=_0x67e149;if(!(this[_0x18e7e8(0x19a)]instanceof te))throw new TypeError(_0x18e7e8(0x160));const _0x17b3b5=_0x138c67[_0x18e7e8(0x1f0)](_0x32b1ec=>{var _0x3a1659=_0x18e7e8;const _0x166454=this[_0x3a1659(0x1a3)][_0x3a1659(0x3a4)][_0x3a1659(0x269)](this[_0x3a1659(0x1a3)][_0x3a1659(0x3a4)][_0x3a1659(0x286)]()[_0x3a1659(0x2f5)])(_0x32b1ec[_0x3a1659(0x16e)],null)||_0x32b1ec[_0x3a1659(0x16e)];return{..._0x32b1ec,'mutations':_0x166454};});this['_lockTransition'](),this[_0x18e7e8(0x285)](this[_0x18e7e8(0x19a)][_0x18e7e8(0x25d)](_0x17b3b5)),this[_0x18e7e8(0x2c7)]();}[_0x67e149(0x1d7)](){var _0x225be1=_0x67e149;this[_0x225be1(0x132)](),this['_updateState'](this['_state'][_0x225be1(0x29b)]()),this[_0x225be1(0x2c7)]();}[_0x67e149(0x3f7)](_0x3258d1=!0x1){var _0x2add3a=_0x67e149;this['_lockTransition'](),this[_0x2add3a(0x285)](this[_0x2add3a(0x19a)][_0x2add3a(0x296)]()),this['_unlockTransition']();const _0x5b04ea=this[_0x2add3a(0x19a)];_0x3258d1&&_0x5b04ea instanceof Pe&&(this[_0x2add3a(0x132)](),this[_0x2add3a(0x285)](_0x5b04ea[_0x2add3a(0x1fb)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x2a37b1=>{var _0x21670b=_0x4bea;this[_0x21670b(0x3ed)]['sessionStatus$'][_0x21670b(0x3c1)](_0x468325(0x1))[_0x21670b(0x224)](async _0x37a08c=>{var _0x3033de=_0x21670b;_0x2a37b1(await this[_0x3033de(0x17e)](_0x37a08c===Te[_0x3033de(0x3a1)]));});});}[_0x67e149(0x27a)](){var _0x2d0497=_0x67e149;const _0x11ef0b=this[_0x2d0497(0x1d3)];return{'onStateChange':(_0x8e8cba,_0x5a1fa3)=>{var _0x444cff=_0x2d0497;if(_0x8e8cba!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x8e8cba[_0x444cff(0x394)]+'\x0aAfter:\x20'+_0x5a1fa3[_0x444cff(0x394)]+'\x0aCurrent:\x20'+this['_state'][_0x444cff(0x394)]);this['_updateState'](_0x5a1fa3);},'onSendChangeset':_0x2944d6=>{var _0x2c1244=_0x2d0497;_0x2944d6[_0x2c1244(0x38b)]||(_0x2944d6[_0x2c1244(0x38b)]=this[_0x2c1244(0x3e3)],_0x2944d6['reqId']=++this[_0x2c1244(0x12b)]);const _0x359d37={'eventID':_0x45ec80[_0x2c1244(0x17b)],'data':{'unitID':_0x2944d6['unitID'],'unitType':this[_0x2c1244(0x318)],'changeset':_0x2944d6,'memberID':this[_0x2c1244(0x3ed)][_0x2c1244(0x221)]()}};this[_0x2c1244(0x3ed)]['send'](_0x359d37,this[_0x2c1244(0x1d3)]);},'onMissingChangesets':({from:_0x55b71e,to:_0x50efbe})=>{var _0x35e38f=_0x2d0497;this[_0x35e38f(0x1a4)]['debug'](_0x35e38f(0x3ec),_0x35e38f(0x330)+_0x55b71e+_0x35e38f(0x321)+_0x50efbe);const _0x1c9893={'eventID':_0x45ec80[_0x35e38f(0x28a)],'data':{'unitID':_0x11ef0b,'unitType':this[_0x35e38f(0x318)],'from':_0x55b71e,'to':_0x50efbe}};this[_0x35e38f(0x3ed)]['send'](_0x1c9893,this[_0x35e38f(0x1d3)]);}};}async[_0x67e149(0x17e)](_0x2de610){var _0x5e4f93=_0x67e149,_0x1b74a5,_0x54dce5,_0x4f6553;const _0x1fe22d=await((_0x1b74a5=this[_0x5e4f93(0x13f)])==null?void 0x0:_0x1b74a5[_0x5e4f93(0x1aa)](this[_0x5e4f93(0x1d3)])),_0x4969f5=(_0x54dce5=_0x1fe22d==null?void 0x0:_0x1fe22d[_0x5e4f93(0x16e)])!=null?_0x54dce5:[],_0x91712b=(_0x4f6553=_0x1fe22d==null?void 0x0:_0x1fe22d[_0x5e4f93(0x3ca)])!=null?_0x4f6553:null,_0x216295=!!(_0x91712b!=null&&_0x91712b[_0x5e4f93(0x38b)])&&!!(_0x91712b!=null&&_0x91712b[_0x5e4f93(0x2d8)]);this[_0x5e4f93(0x3e3)]=_0x216295?_0x91712b['sid']:vs(),this[_0x5e4f93(0x12b)]=_0x216295?_0x91712b[_0x5e4f93(0x2d8)]:0x0;const _0x28b41f=this['unitID'];try{this[_0x5e4f93(0x118)](_0x91712b,_0x4969f5);}catch(_0x4b2c77){this[_0x5e4f93(0x1a4)][_0x5e4f93(0x1a1)](_0x4b2c77);}const _0x5d056f=this[_0x5e4f93(0x27a)]();if(_0x2de610){const _0x534c1f=wi(this[_0x5e4f93(0x233)],_0x28b41f,this[_0x5e4f93(0x318)],_0x91712b,_0x4969f5,_0x5d056f);return _0x534c1f instanceof oe?_0x534c1f[_0x5e4f93(0x105)]():(_0x534c1f instanceof ae||_0x534c1f instanceof ue)&&_0x534c1f[_0x5e4f93(0x1c7)](),_0x534c1f;}return this[_0x5e4f93(0x233)][_0x5e4f93(0x210)](fe,_0x28b41f,this[_0x5e4f93(0x318)],_0x91712b,_0x4969f5,_0x5d056f);}[_0x67e149(0x118)](_0x5f1823,_0x851ad4){var _0x143f4c=_0x67e149,_0x2f303c,_0x568903;const _0x8ca34a=this[_0x143f4c(0x1a3)]['interceptor'][_0x143f4c(0x269)](this['_compressMutationService'][_0x143f4c(0x3a4)][_0x143f4c(0x286)]()[_0x143f4c(0x2f5)]);(_0x2f303c=_0x8ca34a((_0x5f1823==null?void 0x0:_0x5f1823[_0x143f4c(0x16e)])||[],null))==null||_0x2f303c['forEach'](_0x3850a8=>this[_0x143f4c(0x2ab)][_0x143f4c(0x37b)](_0x3850a8['id'],_0x3850a8['params'])),(_0x568903=_0x8ca34a(_0x851ad4||[],null))==null||_0x568903[_0x143f4c(0x1b5)](_0x3533c9=>this['_commandService']['executeCommand'](_0x3533c9['id'],_0x3533c9[_0x143f4c(0x11f)]));}};st=Mt([k(0x3,_0x57db04(_0x58538f)),k(0x4,_0x57db04(_0x584d0a)),k(0x5,_0x57db04(_0x4e1aad)),k(0x6,_0x57db04(_0x466d1d)),k(0x7,_0x57db04(pe)),k(0x8,_0x5ca4d7),k(0x9,_0x515069),k(0xa,_0x1dfff9),k(0xb,_0x493dfd(_t)),k(0xc,_0x493dfd(X))],st);let Ct=class extends st{constructor(_0x141341,_0x553782,_0x332605,_0x3c88e5,_0xd9db31,_0x4d3d45,_0xb327a2,_0x594f28,_0x2e6816,_0x1bc60e,_0x4931aa,_0x10d5a8,_0x463f7f){var _0x19cba0=_0x67e149;super(_0x141341,_0x332605,_0x553782,_0x3c88e5,_0xd9db31,_0x4d3d45,_0xb327a2,_0x594f28,_0x2e6816,_0x1bc60e,_0x4931aa,_0x10d5a8,_0x463f7f),P(this,_0x19cba0(0x3fb),null),(this[_0x19cba0(0x1d3)]=_0x141341,this[_0x19cba0(0x1ea)]=_0x553782);}[_0x67e149(0x39f)](_0x26ba87){var _0x3113af=_0x67e149;this[_0x3113af(0x3fb)]=_0x26ba87;}[_0x67e149(0x173)](){var _0x2fdcd1=_0x67e149;this[_0x2fdcd1(0x3fb)]=null,super[_0x2fdcd1(0x173)]();}['_createHandler'](){var _0x6b6fd3=_0x67e149;const _0xddb3b=super['_createHandler']();return _0xddb3b['onTransformIME']=_0x1ced50=>{var _0xfb93de=_0x4bea,_0x315615,_0x3132f5;return(_0x3132f5=(_0x315615=this['_handlerCallback'])==null?void 0x0:_0x315615[_0xfb93de(0x2a0)])==null?void 0x0:_0x3132f5[_0xfb93de(0x300)](_0x315615,_0x1ced50);},_0xddb3b[_0x6b6fd3(0x26d)]=_0x5e3f83=>{var _0x4bf9a7=_0x6b6fd3,_0x2cb844,_0x31926d;return(_0x31926d=(_0x2cb844=this[_0x4bf9a7(0x3fb)])==null?void 0x0:_0x2cb844[_0x4bf9a7(0x26d)])==null?void 0x0:_0x31926d['call'](_0x2cb844,_0x5e3f83);},_0xddb3b[_0x6b6fd3(0x119)]=_0x497348=>{var _0xd914fd=_0x6b6fd3,_0x4ad9ef,_0x5b0c8b;return(_0x5b0c8b=(_0x4ad9ef=this['_handlerCallback'])==null?void 0x0:_0x4ad9ef[_0xd914fd(0x119)])==null?void 0x0:_0x5b0c8b[_0xd914fd(0x300)](_0x4ad9ef,_0x497348);},_0xddb3b['onSyncEditingCollabCursor']=_0x4d9556=>{var _0x4233de=_0x6b6fd3,_0x22806c,_0x3e718e;return(_0x3e718e=(_0x22806c=this[_0x4233de(0x3fb)])==null?void 0x0:_0x22806c[_0x4233de(0x1bc)])==null?void 0x0:_0x3e718e[_0x4233de(0x300)](_0x22806c,_0x4d9556);},_0xddb3b['onTransformRemoteChangesetByIMECache']=_0xfda3e5=>{var _0x31c052=_0x6b6fd3,_0x58fc63,_0xeef751,_0x3711a3;if(!((_0x58fc63=this['_handlerCallback'])!=null&&_0x58fc63[_0x31c052(0x2cc)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3711a3=(_0xeef751=this[_0x31c052(0x3fb)])==null?void 0x0:_0xeef751[_0x31c052(0x2cc)])==null?void 0x0:_0x3711a3[_0x31c052(0x300)](_0xeef751,_0xfda3e5);},_0xddb3b[_0x6b6fd3(0x110)]=_0x14f8e6=>{var _0x2d0a78=_0x6b6fd3,_0x5975e8,_0x3cf223,_0xbf6c22;if(!((_0x5975e8=this[_0x2d0a78(0x3fb)])!=null&&_0x5975e8[_0x2d0a78(0x110)]))throw new Error(_0x2d0a78(0x2f3));return(_0xbf6c22=(_0x3cf223=this[_0x2d0a78(0x3fb)])==null?void 0x0:_0x3cf223[_0x2d0a78(0x110)])==null?void 0x0:_0xbf6c22[_0x2d0a78(0x300)](_0x3cf223,_0x14f8e6);},_0xddb3b;}async[_0x67e149(0x3de)](){var _0x53d19f=_0x67e149;const _0x109829=await super[_0x53d19f(0x3de)]();return this['disposeWithMe'](this[_0x53d19f(0x2ab)]['onCommandExecuted']((_0x51099c,_0x26bdc9)=>{var _0x3760df=_0x53d19f;if(_0x51099c['type']!==_0x5816bc[_0x3760df(0x11c)]||_0x26bdc9!=null&&_0x26bdc9['fromCollab']||_0x26bdc9!=null&&_0x26bdc9[_0x3760df(0x278)]||_0x51099c['id']===_0x311c13['id'])return;const _0x1f9355=_0x51099c['params'];if((_0x1f9355==null?void 0x0:_0x1f9355[_0x3760df(0x319)])!==this['unitID'])return;const _0x320782=_0x51099c,_0x4f2c8f=this[_0x3760df(0x1a3)][_0x3760df(0x3a4)][_0x3760df(0x269)](this[_0x3760df(0x1a3)][_0x3760df(0x3a4)][_0x3760df(0x286)]()[_0x3760df(0x3d2)])([_0x320782],null)||[_0x320782];this[_0x3760df(0x100)](_0x4f2c8f[0x0]);})),_0x109829;}};Ct=Mt([k(0x3,_0x57db04(_0x58538f)),k(0x4,_0x57db04(_0x584d0a)),k(0x5,_0x57db04(_0x4e1aad)),k(0x6,_0x57db04(_0x466d1d)),k(0x7,_0x57db04(pe)),k(0x8,_0x5ca4d7),k(0x9,_0x515069),k(0xa,_0x1dfff9),k(0xb,_0x493dfd(_t)),k(0xc,_0x493dfd(X))],Ct);let bt=class extends st{constructor(_0x5f294c,_0x4be84b,_0x3bb70e,_0x2bc6ef,_0x2e1ee3,_0x112a1a,_0x104116,_0x4a95ad,_0x3b21bf,_0x55723c,_0x1c6ff8,_0x183b14,_0x4f1a4f,_0x1ef1a1){var _0x5ee146=_0x67e149;super(_0x5f294c,_0x3bb70e,_0x4be84b,_0x2bc6ef,_0x2e1ee3,_0x112a1a,_0x104116,_0x3b21bf,_0x55723c,_0x1c6ff8,_0x183b14,_0x4f1a4f,_0x1ef1a1),this[_0x5ee146(0x1d3)]=_0x5f294c,this[_0x5ee146(0x1ea)]=_0x4be84b,this[_0x5ee146(0x1ba)]=_0x4a95ad;}['_createHandler'](){var _0x9edca9=_0x67e149;const _0x323d18=super[_0x9edca9(0x27a)]();return _0x323d18['onTransformSelections']=_0x2723c1=>this['_sheetTransformSelectionsService'][_0x9edca9(0x25b)](_0x2723c1),_0x323d18;}async['_init'](){var _0x4635d8=_0x67e149;const _0x2e6bfe=await super[_0x4635d8(0x3de)]();return this[_0x4635d8(0x2fb)](this[_0x4635d8(0x2ab)][_0x4635d8(0x1f3)]((_0x542020,_0x42d930)=>{var _0x1175cf=_0x4635d8;if(_0x542020[_0x1175cf(0x1ea)]!==_0x5816bc[_0x1175cf(0x11c)]||_0x42d930!=null&&_0x42d930[_0x1175cf(0x191)]||_0x42d930!=null&&_0x42d930['onlyLocal'])return;const _0x154316=_0x542020[_0x1175cf(0x11f)];if((_0x154316==null?void 0x0:_0x154316[_0x1175cf(0x319)])!==this[_0x1175cf(0x1d3)])return;const _0x4ba7f5=_0x542020,_0x363631=this[_0x1175cf(0x1a3)][_0x1175cf(0x3a4)][_0x1175cf(0x269)](this[_0x1175cf(0x1a3)]['interceptor'][_0x1175cf(0x286)]()['COMPRESS_MUTATION_SEND'])([_0x4ba7f5],null)||[_0x4ba7f5];this['_onLocalMutation'](_0x363631[0x0]);})),_0x2e6bfe;}};bt=Mt([k(0x3,_0x57db04(_0x58538f)),k(0x4,_0x57db04(_0x584d0a)),k(0x5,_0x57db04(_0x4e1aad)),k(0x6,_0x57db04(_0x466d1d)),k(0x7,_0x57db04(nt)),k(0x8,_0x57db04(pe)),k(0x9,_0x5ca4d7),k(0xa,_0x515069),k(0xb,_0x1dfff9),k(0xc,_0x493dfd(_t)),k(0xd,_0x493dfd(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x67e149(0x2b0)],Ps=(_0x4e2ac5,_0x2d2e06,_0x8a1d1f,_0xcec454)=>{var _0x291880=_0x67e149;for(var _0x46a25b=_0xcec454>0x1?void 0x0:_0xcec454?Ns(_0x2d2e06,_0x8a1d1f):_0x2d2e06,_0x4c6a03=_0x4e2ac5[_0x291880(0x216)]-0x1,_0x59f16e;_0x4c6a03>=0x0;_0x4c6a03--)(_0x59f16e=_0x4e2ac5[_0x4c6a03])&&(_0x46a25b=(_0xcec454?_0x59f16e(_0x2d2e06,_0x8a1d1f,_0x46a25b):_0x59f16e(_0x46a25b))||_0x46a25b);return _0xcec454&&_0x46a25b&&Os(_0x2d2e06,_0x8a1d1f,_0x46a25b),_0x46a25b;},vt=(_0x4051e9,_0x224bef)=>(_0x4176ce,_0x16157a)=>_0x224bef(_0x4176ce,_0x16157a,_0x4051e9);let rt=class extends _0x4e43a3{constructor(_0x5298a5,_0x997c3a,_0x50935a){var _0x592b74=_0x67e149;super(),P(this,'_entities',new Map()),P(this,_0x592b74(0x3a2),new _0x551eeb()),P(this,_0x592b74(0x147),this['_entityInit$'][_0x592b74(0x1d6)]()),(this[_0x592b74(0x233)]=_0x5298a5,this[_0x592b74(0x3ce)]=_0x997c3a,this[_0x592b74(0x169)]=_0x50935a,this[_0x592b74(0x3de)]());}['dispose'](){var _0x5ba221=_0x67e149;super[_0x5ba221(0x173)](),this[_0x5ba221(0x19c)][_0x5ba221(0x1b5)](_0x194d81=>_0x194d81[_0x5ba221(0x173)]()),this[_0x5ba221(0x19c)][_0x5ba221(0x244)]();}['getCollabEntity'](_0x22bd11){var _0x2ec374=_0x67e149,_0x37e217;return(_0x37e217=this[_0x2ec374(0x19c)][_0x2ec374(0x188)](_0x22bd11))!=null?_0x37e217:null;}[_0x67e149(0x197)](_0x3399d6){var _0x2318f8=_0x67e149;const _0x573c8c=this[_0x2318f8(0x360)](_0x3399d6);return _0x573c8c?_0x822e5e(_0x573c8c):this['_entityInit$'][_0x2318f8(0x3c1)](_0x4f711a(_0x43b74f=>_0x43b74f['unitID']===_0x3399d6));}[_0x67e149(0x28d)](_0x413807){var _0x50be51=_0x67e149;return _0x91aabf(this[_0x50be51(0x197)](_0x413807)['pipe'](_0x539566(()=>{})));}[_0x67e149(0x3de)](){var _0x30f4dd=_0x67e149;this[_0x30f4dd(0x169)][_0x30f4dd(0x31e)](_0x3c6ead[_0x30f4dd(0x26a)])[_0x30f4dd(0x3c1)](_0x5df730(this[_0x30f4dd(0x328)]),_0x1d930d(0x10))[_0x30f4dd(0x224)](async _0x22c15e=>{var _0x395629=_0x30f4dd;const _0x52b583=_0x22c15e['getUnitId'](),_0x45e9f2=await this[_0x395629(0x1ec)](_0x52b583,Q[_0x395629(0x26a)]);this[_0x395629(0x19c)][_0x395629(0x2a2)](_0x52b583,_0x45e9f2);}),this[_0x30f4dd(0x169)][_0x30f4dd(0x31e)](_0x3c6ead['UNIVER_DOC'])[_0x30f4dd(0x3c1)](_0x5df730(this[_0x30f4dd(0x328)]),_0x1d930d(0x10))[_0x30f4dd(0x3c1)](_0x4f711a(_0x304456=>!_0x304456[_0x30f4dd(0x2fc)]()[_0x30f4dd(0x290)]('__')))[_0x30f4dd(0x224)](async _0x3d8ef3=>{var _0x369507=_0x30f4dd;const _0x4aa020=_0x3d8ef3['getUnitId'](),_0x6a6c5d=await this[_0x369507(0x1ec)](_0x4aa020,Q[_0x369507(0x139)]);this['_entities'][_0x369507(0x2a2)](_0x4aa020,_0x6a6c5d);}),_0x5ab1ec(this[_0x30f4dd(0x169)]['getTypeOfUnitDisposed$'](_0x3c6ead['UNIVER_SHEET']),this[_0x30f4dd(0x169)][_0x30f4dd(0x303)](_0x3c6ead[_0x30f4dd(0x139)]))['pipe'](_0x5df730(this['dispose$']))['subscribe'](_0x520454=>{var _0x5f53e3=_0x30f4dd;const _0x1fb775=_0x520454[_0x5f53e3(0x2fc)](),_0x582f2d=this[_0x5f53e3(0x19c)][_0x5f53e3(0x188)](_0x1fb775);_0x582f2d&&(_0x582f2d[_0x5f53e3(0x173)](),this['_entities']['delete'](_0x1fb775));});}async['_startCollaboration'](_0x36068a,_0x5706bb){var _0x33e0a1=_0x67e149;const _0x413508=await this[_0x33e0a1(0x3ce)][_0x33e0a1(0x3c0)](_0x36068a),_0xc15cb0=this[_0x33e0a1(0x233)]['createInstance'](this[_0x33e0a1(0x226)](_0x5706bb),_0x36068a,_0x5706bb,_0x413508);return await _0xc15cb0[_0x33e0a1(0x20e)](),this[_0x33e0a1(0x3a2)][_0x33e0a1(0x190)](_0xc15cb0),_0xc15cb0;}[_0x67e149(0x226)](_0x556622){var _0x88b163=_0x67e149;switch(_0x556622){case Q['UNIVER_DOC']:return Ct;case Q[_0x88b163(0x26a)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x556622);}}};rt=Ps([vt(0x0,_0x57db04(_0x58538f)),vt(0x1,_0x57db04(Le)),vt(0x2,_0x262205)],rt);var Ds=Object[_0x67e149(0x202)],ws=Object[_0x67e149(0x2b0)],Us=(_0x5c0010,_0x3d7d9b,_0x766a6,_0x307fa1)=>{var _0x360f8b=_0x67e149;for(var _0x21c655=_0x307fa1>0x1?void 0x0:_0x307fa1?ws(_0x3d7d9b,_0x766a6):_0x3d7d9b,_0x570ca2=_0x5c0010[_0x360f8b(0x216)]-0x1,_0x6fc497;_0x570ca2>=0x0;_0x570ca2--)(_0x6fc497=_0x5c0010[_0x570ca2])&&(_0x21c655=(_0x307fa1?_0x6fc497(_0x3d7d9b,_0x766a6,_0x21c655):_0x6fc497(_0x21c655))||_0x21c655);return _0x307fa1&&_0x21c655&&Ds(_0x3d7d9b,_0x766a6,_0x21c655),_0x21c655;},Zt=(_0x28aee9,_0x5691fb)=>(_0x38cfd0,_0x38b764)=>_0x5691fb(_0x38cfd0,_0x38b764,_0x28aee9);const As=_0x67e149(0x320),xs='Univer';let Rt=class extends _0x56e9f5{constructor(_0x48639f,_0x4c5a71){var _0x476df6=_0x67e149;super(),this[_0x476df6(0x169)]=_0x48639f,this[_0x476df6(0x263)]=_0x4c5a71,this[_0x476df6(0x3de)]();}[_0x67e149(0x3de)](){var _0x20cdfa=_0x67e149;this[_0x20cdfa(0x2fb)](this[_0x20cdfa(0x169)]['focused$'][_0x20cdfa(0x224)](()=>{var _0x170743=_0x20cdfa,_0x333982;const _0x48b530=this[_0x170743(0x169)][_0x170743(0x1af)]();let _0x4efd66=(_0x333982=this[_0x170743(0x263)][_0x170743(0x357)](As))!=null?_0x333982:xs;_0x48b530 instanceof _0x56da1&&(_0x4efd66=_0x48b530[_0x170743(0x1be)]),document[_0x170743(0x121)]=_0x4efd66;}));}};Rt=Us([Zt(0x0,_0x262205),Zt(0x1,_0x127296)],Rt);var Ls=Object[_0x67e149(0x202)],Ms=Object[_0x67e149(0x2b0)],$s=(_0x5ffe8f,_0x35ba03,_0x10a6a0,_0x33469c)=>{var _0x2bb525=_0x67e149;for(var _0x558d61=_0x33469c>0x1?void 0x0:_0x33469c?Ms(_0x35ba03,_0x10a6a0):_0x35ba03,_0x59aaf0=_0x5ffe8f[_0x2bb525(0x216)]-0x1,_0x1ea28e;_0x59aaf0>=0x0;_0x59aaf0--)(_0x1ea28e=_0x5ffe8f[_0x59aaf0])&&(_0x558d61=(_0x33469c?_0x1ea28e(_0x35ba03,_0x10a6a0,_0x558d61):_0x1ea28e(_0x558d61))||_0x558d61);return _0x33469c&&_0x558d61&&Ls(_0x35ba03,_0x10a6a0,_0x558d61),_0x558d61;},pt=(_0x428d91,_0x24b45f)=>(_0x40f2e8,_0x1346ba)=>_0x24b45f(_0x40f2e8,_0x1346ba,_0x428d91);let ot=class{constructor(_0x3a071c,_0x13a3ea,_0x3b3e03){var _0x528243=_0x67e149;this['_configService']=_0x3a071c,this[_0x528243(0x39a)]=_0x13a3ea,this[_0x528243(0x37c)]=_0x3b3e03,this['init']();}[_0x67e149(0x20e)](){var _0x3c0436=_0x67e149;this[_0x3c0436(0x39a)][_0x3c0436(0x307)]({'priority':0x1,'interceptor':(_0xace6fd,_0x5360fe)=>_0x5360fe(_0xace6fd)[_0x3c0436(0x3c1)](_0x27556f(async _0x401317=>{var _0x51344e=_0x3c0436;const _0x7fdf68=_0x401317;if(_0x7fdf68[_0x51344e(0x394)]===0x191){if(typeof window>'u')throw new Error(_0x51344e(0x3f4));if(window[_0x51344e(0x382)](this[_0x51344e(0x37c)]['t']('auth.needGotoLoginAlert'))){const _0x5d54b9=window[_0x51344e(0x159)](window[_0x51344e(0x294)][_0x51344e(0x275)]);window[_0x51344e(0x294)][_0x51344e(0x275)]=this[_0x51344e(0x3a6)]()+_0x51344e(0x21b)+_0x5d54b9;}}return _0x7fdf68;}))});}['_getLoginPath'](){var _0x5d01b6=_0x67e149,_0x38d7e5,_0x393c05;const _0x16dba9=this[_0x5d01b6(0x263)][_0x5d01b6(0x357)](Wn),_0x4a2466=this[_0x5d01b6(0x263)][_0x5d01b6(0x357)](Y);return(_0x393c05=(_0x38d7e5=_0x4a2466==null?void 0x0:_0x4a2466[_0x5d01b6(0x3c5)])!=null?_0x38d7e5:_0x16dba9)!=null?_0x393c05:Gn;}};ot=$s([pt(0x0,_0x127296),pt(0x1,_0x57db04(_0x5a59de)),pt(0x2,_0x57db04(_0x4e1aad))],ot);var Hs=Object[_0x67e149(0x202)],ks=Object['getOwnPropertyDescriptor'],js=(_0x2eb055,_0x805ff4,_0x16b0cb,_0x212517)=>{var _0x2e30b2=_0x67e149;for(var _0x537100=_0x212517>0x1?void 0x0:_0x212517?ks(_0x805ff4,_0x16b0cb):_0x805ff4,_0x39725e=_0x2eb055[_0x2e30b2(0x216)]-0x1,_0x59c712;_0x39725e>=0x0;_0x39725e--)(_0x59c712=_0x2eb055[_0x39725e])&&(_0x537100=(_0x212517?_0x59c712(_0x805ff4,_0x16b0cb,_0x537100):_0x59c712(_0x537100))||_0x537100);return _0x212517&&_0x537100&&Hs(_0x805ff4,_0x16b0cb,_0x537100),_0x537100;},Qt=(_0x470321,_0x5d3ab7)=>(_0x58edc8,_0x53a3e1)=>_0x5d3ab7(_0x58edc8,_0x53a3e1,_0x470321);const Ui='AUTHZ_URL_KEY',Bs=_0x67e149(0x220);let yt=class extends _0x56e9f5{constructor(_0x4c33c0,_0x451ed8){var _0x12ad45=_0x67e149;super(),this[_0x12ad45(0x261)]=_0x4c33c0,this[_0x12ad45(0x263)]=_0x451ed8,this[_0x12ad45(0x1d4)]();}[_0x67e149(0x1d4)](){var _0x30f850=_0x67e149;const _0x4694ed=this;this['disposeWithMe'](this[_0x30f850(0x261)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2d7aa5({'isMatch'(_0x5df18f){var _0x573be8=_0x30f850,_0x41aeeb;if(_0x5df18f[_0x573be8(0x21e)]===_0x573be8(0x38f)&&((_0x41aeeb=_0x5df18f['requestParams'])!=null&&_0x41aeeb[_0x573be8(0x209)])){const {objectID:_0x11570a,objectType:_0x3ce97f}=_0x5df18f['requestParams'][_0x573be8(0x209)]||{};if(!_0x11570a||_0x3ce97f===void 0x0)return!0x1;const _0x356f49=_0x4694ed[_0x573be8(0x3be)]()+'/'+_0x3ce97f+_0x573be8(0x1f6)+_0x11570a+_0x573be8(0x1cf);if(_0x5df18f[_0x573be8(0x2fa)]===_0x356f49)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36cbc9){var _0x250ff3=_0x30f850,_0xe31fbe;return(_0xe31fbe=_0x36cbc9[_0x250ff3(0x375)])==null?void 0x0:_0xe31fbe[_0x250ff3(0x209)];},'mergeParamsToRequest'(_0x617200,_0x43f4a5){var _0x4c38db=_0x30f850;const _0x38612f=_0x4694ed[_0x4c38db(0x3be)]()+_0x4c38db(0x3a7),_0x2cccff=_0x617200['reduce']((_0xc5203b,_0x581f66)=>{const {unitID:_0x2c2eea,objectID:_0x38d162,objectType:_0x317976,actions:_0x1bf405}=_0x581f66;return _0xc5203b[_0x2c2eea]||(_0xc5203b[_0x2c2eea]={}),_0xc5203b[_0x2c2eea][_0x38d162]||(_0xc5203b[_0x2c2eea][_0x38d162]={'objectID':_0x38d162,'objectType':_0x317976,'actions':[]}),_0xc5203b[_0x2c2eea][_0x38d162]['actions']['push'](..._0x1bf405),_0xc5203b;},{}),_0x4612ac=[];for(const _0x26be05 in _0x2cccff)for(const _0x58e8d1 in _0x2cccff[_0x26be05]){const {actions:_0x8337ac,objectType:_0x506525}=_0x2cccff[_0x26be05][_0x58e8d1],_0x4c3041=[...new Set(_0x8337ac)];_0x4612ac['push']({'unitID':_0x26be05,'objectID':_0x58e8d1,'objectType':_0x506525,'actions':_0x4c3041});}return new _0xea20fe('POST',_0x38612f,{'headers':_0x43f4a5[_0x4c38db(0x282)],'withCredentials':_0x43f4a5[_0x4c38db(0x206)],'responseType':_0x43f4a5['responseType'],'body':{'requests':_0x4612ac}});}},{'distributeResult'(_0x312fdc,_0x14dc07){var _0x2a0d44=_0x30f850;const {objectActions:_0x15e734}=_0x312fdc;return _0x14dc07[_0x2a0d44(0x1f0)](_0x5286ee=>{var _0x59e744=_0x2a0d44;const {unitID:_0x1558cb,objectID:_0x451837,actions:_0x436f4a}=_0x5286ee,_0x470253=_0x15e734[_0x59e744(0x2d4)](_0x4c2c86=>_0x4c2c86['unitID']===_0x1558cb&&_0x4c2c86[_0x59e744(0x213)]===_0x451837),_0x37b2f5=_0x436f4a[_0x59e744(0x1f0)](_0x2b7b4a=>_0x470253==null?void 0x0:_0x470253[_0x59e744(0x346)]['find'](_0x263980=>_0x263980[_0x59e744(0x23a)]===_0x2b7b4a))['filter'](_0xab5a0d=>!!_0xab5a0d);return{'config':_0x5286ee,'result':{'actions':_0x37b2f5,'error':_0x312fdc['error']}};});}})}));}[_0x67e149(0x3be)](){var _0x40bcc6=_0x67e149,_0x505c9c,_0x17971d;const _0x36cf02=this['_configService']['getConfig'](Ui),_0x3ac25=this['_configService'][_0x40bcc6(0x357)](Y);return(_0x17971d=(_0x505c9c=_0x3ac25==null?void 0x0:_0x3ac25[_0x40bcc6(0x2cf)])!=null?_0x505c9c:_0x36cf02)!=null?_0x17971d:Bs;}async[_0x67e149(0x161)](_0x11fa85){var _0x5ec937=_0x67e149;const _0x17fc86=this[_0x5ec937(0x3be)]()+'/'+_0x11fa85[_0x5ec937(0x256)]+_0x5ec937(0x2f9);return(await this[_0x5ec937(0x261)][_0x5ec937(0x2c1)](_0x17fc86,{'body':_0x11fa85}))['body'][_0x5ec937(0x213)]||'';}async[_0x67e149(0x3f0)](_0x20be9e){var _0x37af51=_0x67e149;const _0x55d82d=this[_0x37af51(0x3be)]()+'/-/object/list';return(await this['_HTTPService'][_0x37af51(0x2c1)](_0x55d82d,{'body':_0x20be9e}))['body']['objects'];}async[_0x67e149(0x3b4)](_0x2cdf86){var _0x38e82c=_0x67e149;const _0x30b30c=this[_0x38e82c(0x3be)]()+'/'+_0x2cdf86['objectType']+'/object/'+_0x2cdf86['objectID'];await this['_HTTPService'][_0x38e82c(0x255)](_0x30b30c,{'body':_0x2cdf86});}async[_0x67e149(0x3db)](_0x3c28df){var _0x1e8cf6=_0x67e149;const _0x2f89db=this[_0x1e8cf6(0x3be)]()+'/'+_0x3c28df['objectType']+_0x1e8cf6(0x1f6)+_0x3c28df[_0x1e8cf6(0x213)]+_0x1e8cf6(0x1cf);return(await this[_0x1e8cf6(0x261)][_0x1e8cf6(0x2c1)](_0x2f89db,{'body':_0x3c28df}))[_0x1e8cf6(0x209)][_0x1e8cf6(0x346)];}async[_0x67e149(0x2ba)](_0x1599cd){var _0x48ce1d=_0x67e149;const _0x46e6ea=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x48ce1d(0x261)][_0x48ce1d(0x2c1)](_0x46e6ea,{'body':{'requests':_0x1599cd}}))['body'][_0x48ce1d(0xfe)];}async[_0x67e149(0x352)](_0x57b9b2){var _0x4efd20=_0x67e149;const _0x413fb8=this[_0x4efd20(0x3be)]()+'/'+_0x57b9b2['objectType']+_0x4efd20(0x30e),_0x33fabc=await this[_0x4efd20(0x261)][_0x4efd20(0x2c1)](_0x413fb8,{'body':_0x57b9b2});return{'roles':_0x33fabc[_0x4efd20(0x209)][_0x4efd20(0x201)],'actions':_0x33fabc['body'][_0x4efd20(0x346)]};}async[_0x67e149(0x259)](_0x2df626){var _0x18e9f4=_0x67e149;const _0x3e7fa9=this[_0x18e9f4(0x3be)]()+_0x18e9f4(0x38d);await this[_0x18e9f4(0x261)][_0x18e9f4(0x288)](_0x3e7fa9,{'params':{'collaboratorID':_0x2df626['collaboratorID'],'objectID':_0x2df626[_0x18e9f4(0x213)],'unitID':_0x2df626[_0x18e9f4(0x1d3)]}});}async[_0x67e149(0x369)](_0x424201){var _0x4243f1=_0x67e149;const _0x530e07=this[_0x4243f1(0x3be)]()+_0x4243f1(0x38d);await this[_0x4243f1(0x261)][_0x4243f1(0x2f1)](_0x530e07,{'body':_0x424201});}async[_0x67e149(0x18a)](_0x283235){var _0x138adf=_0x67e149;const _0x37356f=this[_0x138adf(0x3be)]()+_0x138adf(0x38d);await this[_0x138adf(0x261)][_0x138adf(0x2c1)](_0x37356f,{'body':_0x283235});}async[_0x67e149(0x2bb)](_0x1baa12){var _0xc2f021=_0x67e149;const _0x1a22fa=this[_0xc2f021(0x3be)]()+_0xc2f021(0x38d);return(await this['_HTTPService'][_0xc2f021(0x188)](_0x1a22fa,{'params':{'objectID':_0x1baa12[_0xc2f021(0x213)],'unitID':_0x1baa12[_0xc2f021(0x1d3)]}}))[_0xc2f021(0x209)][_0xc2f021(0x365)];}async[_0x67e149(0x32d)](_0x486549){var _0x389721=_0x67e149;const _0x20712f=this[_0x389721(0x3be)]()+_0x389721(0x38d);await this['_HTTPService']['put'](_0x20712f,{'body':_0x486549});}};yt=js([Qt(0x0,_0x57db04(_0x5a59de)),Qt(0x1,_0x57db04(_0x127296))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5cb779){var _0x3e2e04=_0x67e149;return _0x5cb779&&_0x5cb779[_0x3e2e04(0x3c3)]&&Object[_0x3e2e04(0x374)]['hasOwnProperty']['call'](_0x5cb779,_0x3e2e04(0x2a4))?_0x5cb779[_0x3e2e04(0x2a4)]:_0x5cb779;}var We={'exports':{}};function Fs(_0x501f24){var _0x1201ba=_0x67e149;throw new Error(_0x1201ba(0x19e)+_0x501f24+_0x1201ba(0x20c));}var Ge={'exports':{}},Vs=Ge[_0x67e149(0x24f)],ei;function ne(){var _0x2486ec=_0x67e149;return ei||(ei=0x1,function(_0x40c8c1,_0x319438){(function(_0x1005d7,_0x146442){_0x40c8c1['exports']=_0x146442();}(Vs,function(){var _0x18405d=_0x18405d||function(_0x547540,_0xd02459){var _0xcbdca2=_0x4bea,_0x139bc8;if(typeof window<'u'&&window[_0xcbdca2(0x1f1)]&&(_0x139bc8=window[_0xcbdca2(0x1f1)]),typeof self<'u'&&self[_0xcbdca2(0x1f1)]&&(_0x139bc8=self['crypto']),typeof globalThis<'u'&&globalThis[_0xcbdca2(0x1f1)]&&(_0x139bc8=globalThis[_0xcbdca2(0x1f1)]),!_0x139bc8&&typeof window<'u'&&window['msCrypto']&&(_0x139bc8=window[_0xcbdca2(0x26b)]),!_0x139bc8&&typeof mt<'u'&&mt['crypto']&&(_0x139bc8=mt[_0xcbdca2(0x1f1)]),!_0x139bc8&&typeof Fs==_0xcbdca2(0x12a))try{_0x139bc8=require('crypto');}catch{}var _0x4cb761=function(){var _0x277548=_0xcbdca2;if(_0x139bc8){if(typeof _0x139bc8['getRandomValues']==_0x277548(0x12a))try{return _0x139bc8[_0x277548(0x17f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x139bc8['randomBytes']==_0x277548(0x12a))try{return _0x139bc8[_0x277548(0x16b)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x277548(0x1c9));},_0x4bb475=Object['create']||(function(){function _0x2862ce(){}return function(_0x48a1a9){var _0x15faba;return _0x2862ce['prototype']=_0x48a1a9,_0x15faba=new _0x2862ce(),_0x2862ce['prototype']=null,_0x15faba;};}()),_0x598170={},_0x30eb52=_0x598170['lib']={},_0x41a5c5=_0x30eb52['Base']=(function(){return{'extend':function(_0xde3523){var _0x1370b6=_0x4bea,_0x528993=_0x4bb475(this);return _0xde3523&&_0x528993['mixIn'](_0xde3523),(!_0x528993[_0x1370b6(0x39b)](_0x1370b6(0x20e))||this['init']===_0x528993[_0x1370b6(0x20e)])&&(_0x528993[_0x1370b6(0x20e)]=function(){var _0x576477=_0x1370b6;_0x528993[_0x576477(0x389)][_0x576477(0x20e)][_0x576477(0x12d)](this,arguments);}),_0x528993[_0x1370b6(0x20e)][_0x1370b6(0x374)]=_0x528993,_0x528993[_0x1370b6(0x389)]=this,_0x528993;},'create':function(){var _0x3dff1b=_0x4bea,_0x1d22a7=this[_0x3dff1b(0x10f)]();return _0x1d22a7[_0x3dff1b(0x20e)]['apply'](_0x1d22a7,arguments),_0x1d22a7;},'init':function(){},'mixIn':function(_0x7e29df){var _0x1d0b8d=_0x4bea;for(var _0xeecc02 in _0x7e29df)_0x7e29df['hasOwnProperty'](_0xeecc02)&&(this[_0xeecc02]=_0x7e29df[_0xeecc02]);_0x7e29df['hasOwnProperty'](_0x1d0b8d(0x2a6))&&(this['toString']=_0x7e29df[_0x1d0b8d(0x2a6)]);},'clone':function(){var _0x2aa601=_0x4bea;return this[_0x2aa601(0x20e)][_0x2aa601(0x374)][_0x2aa601(0x10f)](this);}};}()),_0x194ded=_0x30eb52[_0xcbdca2(0x254)]=_0x41a5c5['extend']({'init':function(_0x1f5f08,_0x8c85a3){var _0x900e4c=_0xcbdca2;_0x1f5f08=this[_0x900e4c(0x1c4)]=_0x1f5f08||[],_0x8c85a3!=_0xd02459?this[_0x900e4c(0x107)]=_0x8c85a3:this[_0x900e4c(0x107)]=_0x1f5f08[_0x900e4c(0x216)]*0x4;},'toString':function(_0x3b8cc7){return(_0x3b8cc7||_0x12e898)['stringify'](this);},'concat':function(_0x91864){var _0x4faaca=_0xcbdca2,_0x3e76f7=this[_0x4faaca(0x1c4)],_0x5878ed=_0x91864[_0x4faaca(0x1c4)],_0x2d7e91=this['sigBytes'],_0x5a250c=_0x91864[_0x4faaca(0x107)];if(this['clamp'](),_0x2d7e91%0x4)for(var _0x37d79e=0x0;_0x37d79e<_0x5a250c;_0x37d79e++){var _0x3354da=_0x5878ed[_0x37d79e>>>0x2]>>>0x18-_0x37d79e%0x4*0x8&0xff;_0x3e76f7[_0x2d7e91+_0x37d79e>>>0x2]|=_0x3354da<<0x18-(_0x2d7e91+_0x37d79e)%0x4*0x8;}else{for(var _0x591b5d=0x0;_0x591b5d<_0x5a250c;_0x591b5d+=0x4)_0x3e76f7[_0x2d7e91+_0x591b5d>>>0x2]=_0x5878ed[_0x591b5d>>>0x2];}return this[_0x4faaca(0x107)]+=_0x5a250c,this;},'clamp':function(){var _0x23556d=_0xcbdca2,_0x22a4df=this['words'],_0x197759=this[_0x23556d(0x107)];_0x22a4df[_0x197759>>>0x2]&=0xffffffff<<0x20-_0x197759%0x4*0x8,_0x22a4df[_0x23556d(0x216)]=_0x547540[_0x23556d(0x31c)](_0x197759/0x4);},'clone':function(){var _0x3ec953=_0xcbdca2,_0x833e2c=_0x41a5c5[_0x3ec953(0x22a)][_0x3ec953(0x300)](this);return _0x833e2c[_0x3ec953(0x1c4)]=this[_0x3ec953(0x1c4)][_0x3ec953(0x235)](0x0),_0x833e2c;},'random':function(_0xe72cc3){var _0x17d53e=_0xcbdca2;for(var _0x29b3bd=[],_0x17650c=0x0;_0x17650c<_0xe72cc3;_0x17650c+=0x4)_0x29b3bd[_0x17d53e(0x276)](_0x4cb761());return new _0x194ded[(_0x17d53e(0x20e))](_0x29b3bd,_0xe72cc3);}}),_0x1f358f=_0x598170['enc']={},_0x12e898=_0x1f358f['Hex']={'stringify':function(_0xce3a62){var _0x125cb0=_0xcbdca2;for(var _0x212753=_0xce3a62['words'],_0x1c8f0f=_0xce3a62[_0x125cb0(0x107)],_0x5df17=[],_0xdb82b0=0x0;_0xdb82b0<_0x1c8f0f;_0xdb82b0++){var _0x34d069=_0x212753[_0xdb82b0>>>0x2]>>>0x18-_0xdb82b0%0x4*0x8&0xff;_0x5df17['push']((_0x34d069>>>0x4)[_0x125cb0(0x2a6)](0x10)),_0x5df17[_0x125cb0(0x276)]((_0x34d069&0xf)[_0x125cb0(0x2a6)](0x10));}return _0x5df17[_0x125cb0(0x1d9)]('');},'parse':function(_0x42fdbd){var _0x32a0fe=_0xcbdca2;for(var _0xbe9b01=_0x42fdbd[_0x32a0fe(0x216)],_0x382bb8=[],_0x929fac=0x0;_0x929fac<_0xbe9b01;_0x929fac+=0x2)_0x382bb8[_0x929fac>>>0x3]|=parseInt(_0x42fdbd['substr'](_0x929fac,0x2),0x10)<<0x18-_0x929fac%0x8*0x4;return new _0x194ded[(_0x32a0fe(0x20e))](_0x382bb8,_0xbe9b01/0x2);}},_0x49c432=_0x1f358f[_0xcbdca2(0x3f3)]={'stringify':function(_0x4cd1c9){var _0x4ad772=_0xcbdca2;for(var _0x5bc9b9=_0x4cd1c9['words'],_0x50c0e5=_0x4cd1c9[_0x4ad772(0x107)],_0x4bbe22=[],_0x54f8b8=0x0;_0x54f8b8<_0x50c0e5;_0x54f8b8++){var _0x543957=_0x5bc9b9[_0x54f8b8>>>0x2]>>>0x18-_0x54f8b8%0x4*0x8&0xff;_0x4bbe22[_0x4ad772(0x276)](String[_0x4ad772(0x2dd)](_0x543957));}return _0x4bbe22[_0x4ad772(0x1d9)]('');},'parse':function(_0x1b9685){var _0x2ceafc=_0xcbdca2;for(var _0x41713a=_0x1b9685['length'],_0x1c746e=[],_0x2bcbae=0x0;_0x2bcbae<_0x41713a;_0x2bcbae++)_0x1c746e[_0x2bcbae>>>0x2]|=(_0x1b9685[_0x2ceafc(0x331)](_0x2bcbae)&0xff)<<0x18-_0x2bcbae%0x4*0x8;return new _0x194ded[(_0x2ceafc(0x20e))](_0x1c746e,_0x41713a);}},_0x138d10=_0x1f358f[_0xcbdca2(0x175)]={'stringify':function(_0x58e8fd){var _0x1af6cf=_0xcbdca2;try{return decodeURIComponent(escape(_0x49c432['stringify'](_0x58e8fd)));}catch{throw new Error(_0x1af6cf(0x246));}},'parse':function(_0x25aa5b){var _0x117533=_0xcbdca2;return _0x49c432[_0x117533(0x386)](unescape(encodeURIComponent(_0x25aa5b)));}},_0x86ceb0=_0x30eb52[_0xcbdca2(0x17d)]=_0x41a5c5['extend']({'reset':function(){var _0xfe9a87=_0xcbdca2;this[_0xfe9a87(0x207)]=new _0x194ded['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x5152b8){var _0xdab298=_0xcbdca2;typeof _0x5152b8==_0xdab298(0x17a)&&(_0x5152b8=_0x138d10['parse'](_0x5152b8)),this['_data'][_0xdab298(0x371)](_0x5152b8),this['_nDataBytes']+=_0x5152b8['sigBytes'];},'_process':function(_0x5f1954){var _0x306862=_0xcbdca2,_0x1d01f4,_0x515d36=this['_data'],_0x232ced=_0x515d36['words'],_0x270cc4=_0x515d36['sigBytes'],_0x5bb17c=this[_0x306862(0x134)],_0x3a742d=_0x5bb17c*0x4,_0x18ca9d=_0x270cc4/_0x3a742d;_0x5f1954?_0x18ca9d=_0x547540[_0x306862(0x31c)](_0x18ca9d):_0x18ca9d=_0x547540[_0x306862(0x183)]((_0x18ca9d|0x0)-this[_0x306862(0x214)],0x0);var _0x111a4e=_0x18ca9d*_0x5bb17c,_0x4ded45=_0x547540[_0x306862(0x106)](_0x111a4e*0x4,_0x270cc4);if(_0x111a4e){for(var _0xc5c6d0=0x0;_0xc5c6d0<_0x111a4e;_0xc5c6d0+=_0x5bb17c)this[_0x306862(0x291)](_0x232ced,_0xc5c6d0);_0x1d01f4=_0x232ced['splice'](0x0,_0x111a4e),_0x515d36[_0x306862(0x107)]-=_0x4ded45;}return new _0x194ded[(_0x306862(0x20e))](_0x1d01f4,_0x4ded45);},'clone':function(){var _0x39e5b2=_0xcbdca2,_0x59418b=_0x41a5c5[_0x39e5b2(0x22a)][_0x39e5b2(0x300)](this);return _0x59418b[_0x39e5b2(0x207)]=this['_data'][_0x39e5b2(0x22a)](),_0x59418b;},'_minBufferSize':0x0});_0x30eb52[_0xcbdca2(0x23e)]=_0x86ceb0[_0xcbdca2(0x10f)]({'cfg':_0x41a5c5['extend'](),'init':function(_0xbfa94c){var _0x4bd37a=_0xcbdca2;this[_0x4bd37a(0x2e0)]=this[_0x4bd37a(0x2e0)][_0x4bd37a(0x10f)](_0xbfa94c),this[_0x4bd37a(0x205)]();},'reset':function(){var _0x2e1b37=_0xcbdca2;_0x86ceb0['reset'][_0x2e1b37(0x300)](this),this[_0x2e1b37(0x145)]();},'update':function(_0x22d84c){var _0x42dedf=_0xcbdca2;return this[_0x42dedf(0x295)](_0x22d84c),this['_process'](),this;},'finalize':function(_0x5db34c){var _0x10c15f=_0xcbdca2;_0x5db34c&&this[_0x10c15f(0x295)](_0x5db34c);var _0x133360=this['_doFinalize']();return _0x133360;},'blockSize':0x10,'_createHelper':function(_0x3cda2d){return function(_0x25678e,_0x51283b){return new _0x3cda2d['init'](_0x51283b)['finalize'](_0x25678e);};},'_createHmacHelper':function(_0x3fc158){return function(_0x3c4d77,_0x2d7a5f){return new _0x248f13['HMAC']['init'](_0x3fc158,_0x2d7a5f)['finalize'](_0x3c4d77);};}});var _0x248f13=_0x598170[_0xcbdca2(0x1c6)]={};return _0x598170;}(Math);return _0x18405d;}));}(Ge)),Ge[_0x2486ec(0x24f)];}var Ke={'exports':{}},Ws=Ke[_0x67e149(0x24f)],ti;function Ai(){return ti||(ti=0x1,function(_0x3556f0,_0x18fa31){(function(_0x1063e6,_0x3fcaa9){var _0x36ac35=_0x4bea;_0x3556f0[_0x36ac35(0x24f)]=_0x3fcaa9(ne());}(Ws,function(_0x181e89){var _0x340189=_0x4bea;return(function(){var _0x13438c=_0x4bea,_0x19fd9c=_0x181e89,_0x5a3ec3=_0x19fd9c[_0x13438c(0x2f4)],_0x10059e=_0x5a3ec3['WordArray'],_0x4f3e3c=_0x19fd9c['enc'];_0x4f3e3c['Base64']={'stringify':function(_0x3c710b){var _0x1e5ca5=_0x13438c,_0x5be1df=_0x3c710b[_0x1e5ca5(0x1c4)],_0xa277ab=_0x3c710b['sigBytes'],_0x549a47=this[_0x1e5ca5(0x126)];_0x3c710b[_0x1e5ca5(0x3d5)]();for(var _0x8b6e8d=[],_0x42d2be=0x0;_0x42d2be<_0xa277ab;_0x42d2be+=0x3)for(var _0x524d59=_0x5be1df[_0x42d2be>>>0x2]>>>0x18-_0x42d2be%0x4*0x8&0xff,_0x2f63c0=_0x5be1df[_0x42d2be+0x1>>>0x2]>>>0x18-(_0x42d2be+0x1)%0x4*0x8&0xff,_0x22eec1=_0x5be1df[_0x42d2be+0x2>>>0x2]>>>0x18-(_0x42d2be+0x2)%0x4*0x8&0xff,_0x2ee211=_0x524d59<<0x10|_0x2f63c0<<0x8|_0x22eec1,_0x175697=0x0;_0x175697<0x4&&_0x42d2be+_0x175697*0.75<_0xa277ab;_0x175697++)_0x8b6e8d[_0x1e5ca5(0x276)](_0x549a47[_0x1e5ca5(0x135)](_0x2ee211>>>0x6*(0x3-_0x175697)&0x3f));var _0x58f1eb=_0x549a47[_0x1e5ca5(0x135)](0x40);if(_0x58f1eb){for(;_0x8b6e8d['length']%0x4;)_0x8b6e8d[_0x1e5ca5(0x276)](_0x58f1eb);}return _0x8b6e8d['join']('');},'parse':function(_0x2413c2){var _0x334b9b=_0x13438c,_0x391cb5=_0x2413c2[_0x334b9b(0x216)],_0x1560d7=this[_0x334b9b(0x126)],_0x3c540d=this[_0x334b9b(0x1dd)];if(!_0x3c540d){_0x3c540d=this[_0x334b9b(0x1dd)]=[];for(var _0x891bad=0x0;_0x891bad<_0x1560d7[_0x334b9b(0x216)];_0x891bad++)_0x3c540d[_0x1560d7[_0x334b9b(0x331)](_0x891bad)]=_0x891bad;}var _0x2f4cbc=_0x1560d7[_0x334b9b(0x135)](0x40);if(_0x2f4cbc){var _0x4450e4=_0x2413c2[_0x334b9b(0x14f)](_0x2f4cbc);_0x4450e4!==-0x1&&(_0x391cb5=_0x4450e4);}return _0x539fee(_0x2413c2,_0x391cb5,_0x3c540d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x539fee(_0x8b4495,_0xf71b1f,_0x15408c){var _0x30adc6=_0x13438c;for(var _0x218ae5=[],_0x2c0cf4=0x0,_0x4b902e=0x0;_0x4b902e<_0xf71b1f;_0x4b902e++)if(_0x4b902e%0x4){var _0x7e8e54=_0x15408c[_0x8b4495[_0x30adc6(0x331)](_0x4b902e-0x1)]<<_0x4b902e%0x4*0x2,_0x58ea7a=_0x15408c[_0x8b4495[_0x30adc6(0x331)](_0x4b902e)]>>>0x6-_0x4b902e%0x4*0x2,_0x253044=_0x7e8e54|_0x58ea7a;_0x218ae5[_0x2c0cf4>>>0x2]|=_0x253044<<0x18-_0x2c0cf4%0x4*0x8,_0x2c0cf4++;}return _0x10059e['create'](_0x218ae5,_0x2c0cf4);}}()),_0x181e89['enc'][_0x340189(0x339)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Gs=ze[_0x67e149(0x24f)],ii;function Ks(){var _0x1ee284=_0x67e149;return ii||(ii=0x1,function(_0x1279f3,_0xd3446b){(function(_0x2a8234,_0x455c96){var _0x17457a=_0x4bea;_0x1279f3[_0x17457a(0x24f)]=_0x455c96(ne());}(Gs,function(_0x2ebf41){return function(_0x34d1db){var _0x561cba=_0x4bea,_0x3afb16=_0x2ebf41,_0x478bbc=_0x3afb16['lib'],_0x5d132a=_0x478bbc[_0x561cba(0x254)],_0x3cecc4=_0x478bbc[_0x561cba(0x23e)],_0x431b7a=_0x3afb16['algo'],_0x46746=[];(function(){var _0x57601b=_0x561cba;for(var _0x1e37ca=0x0;_0x1e37ca<0x40;_0x1e37ca++)_0x46746[_0x1e37ca]=_0x34d1db[_0x57601b(0x270)](_0x34d1db[_0x57601b(0x19b)](_0x1e37ca+0x1))*0x100000000|0x0;}());var _0x54a4c0=_0x431b7a[_0x561cba(0x247)]=_0x3cecc4[_0x561cba(0x10f)]({'_doReset':function(){var _0x547726=_0x561cba;this[_0x547726(0x311)]=new _0x5d132a[(_0x547726(0x20e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x51319d,_0x575454){var _0x376c15=_0x561cba;for(var _0xb89d21=0x0;_0xb89d21<0x10;_0xb89d21++){var _0x28df08=_0x575454+_0xb89d21,_0x5c85f2=_0x51319d[_0x28df08];_0x51319d[_0x28df08]=(_0x5c85f2<<0x8|_0x5c85f2>>>0x18)&0xff00ff|(_0x5c85f2<<0x18|_0x5c85f2>>>0x8)&0xff00ff00;}var _0xefec21=this[_0x376c15(0x311)][_0x376c15(0x1c4)],_0x4bcf63=_0x51319d[_0x575454+0x0],_0x3096c1=_0x51319d[_0x575454+0x1],_0x289f72=_0x51319d[_0x575454+0x2],_0x323233=_0x51319d[_0x575454+0x3],_0x434ed4=_0x51319d[_0x575454+0x4],_0x3ebfb1=_0x51319d[_0x575454+0x5],_0x2c9982=_0x51319d[_0x575454+0x6],_0x11e6fe=_0x51319d[_0x575454+0x7],_0x20c016=_0x51319d[_0x575454+0x8],_0x2e8916=_0x51319d[_0x575454+0x9],_0x5a3a00=_0x51319d[_0x575454+0xa],_0x43a9b8=_0x51319d[_0x575454+0xb],_0x325c81=_0x51319d[_0x575454+0xc],_0x596417=_0x51319d[_0x575454+0xd],_0x2f3073=_0x51319d[_0x575454+0xe],_0x3453f8=_0x51319d[_0x575454+0xf],_0x2602c4=_0xefec21[0x0],_0x38ffb8=_0xefec21[0x1],_0x585ab9=_0xefec21[0x2],_0x26bb56=_0xefec21[0x3];_0x2602c4=_0x2a3123(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x4bcf63,0x7,_0x46746[0x0]),_0x26bb56=_0x2a3123(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x3096c1,0xc,_0x46746[0x1]),_0x585ab9=_0x2a3123(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x289f72,0x11,_0x46746[0x2]),_0x38ffb8=_0x2a3123(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x323233,0x16,_0x46746[0x3]),_0x2602c4=_0x2a3123(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x434ed4,0x7,_0x46746[0x4]),_0x26bb56=_0x2a3123(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x3ebfb1,0xc,_0x46746[0x5]),_0x585ab9=_0x2a3123(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x2c9982,0x11,_0x46746[0x6]),_0x38ffb8=_0x2a3123(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x11e6fe,0x16,_0x46746[0x7]),_0x2602c4=_0x2a3123(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x20c016,0x7,_0x46746[0x8]),_0x26bb56=_0x2a3123(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x2e8916,0xc,_0x46746[0x9]),_0x585ab9=_0x2a3123(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x5a3a00,0x11,_0x46746[0xa]),_0x38ffb8=_0x2a3123(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x43a9b8,0x16,_0x46746[0xb]),_0x2602c4=_0x2a3123(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x325c81,0x7,_0x46746[0xc]),_0x26bb56=_0x2a3123(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x596417,0xc,_0x46746[0xd]),_0x585ab9=_0x2a3123(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x2f3073,0x11,_0x46746[0xe]),_0x38ffb8=_0x2a3123(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x3453f8,0x16,_0x46746[0xf]),_0x2602c4=_0x30776c(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x3096c1,0x5,_0x46746[0x10]),_0x26bb56=_0x30776c(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x2c9982,0x9,_0x46746[0x11]),_0x585ab9=_0x30776c(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x43a9b8,0xe,_0x46746[0x12]),_0x38ffb8=_0x30776c(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x4bcf63,0x14,_0x46746[0x13]),_0x2602c4=_0x30776c(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x3ebfb1,0x5,_0x46746[0x14]),_0x26bb56=_0x30776c(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x5a3a00,0x9,_0x46746[0x15]),_0x585ab9=_0x30776c(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x3453f8,0xe,_0x46746[0x16]),_0x38ffb8=_0x30776c(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x434ed4,0x14,_0x46746[0x17]),_0x2602c4=_0x30776c(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x2e8916,0x5,_0x46746[0x18]),_0x26bb56=_0x30776c(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x2f3073,0x9,_0x46746[0x19]),_0x585ab9=_0x30776c(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x323233,0xe,_0x46746[0x1a]),_0x38ffb8=_0x30776c(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x20c016,0x14,_0x46746[0x1b]),_0x2602c4=_0x30776c(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x596417,0x5,_0x46746[0x1c]),_0x26bb56=_0x30776c(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x289f72,0x9,_0x46746[0x1d]),_0x585ab9=_0x30776c(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x11e6fe,0xe,_0x46746[0x1e]),_0x38ffb8=_0x30776c(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x325c81,0x14,_0x46746[0x1f]),_0x2602c4=_0x3a0cc1(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x3ebfb1,0x4,_0x46746[0x20]),_0x26bb56=_0x3a0cc1(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x20c016,0xb,_0x46746[0x21]),_0x585ab9=_0x3a0cc1(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x43a9b8,0x10,_0x46746[0x22]),_0x38ffb8=_0x3a0cc1(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x2f3073,0x17,_0x46746[0x23]),_0x2602c4=_0x3a0cc1(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x3096c1,0x4,_0x46746[0x24]),_0x26bb56=_0x3a0cc1(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x434ed4,0xb,_0x46746[0x25]),_0x585ab9=_0x3a0cc1(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x11e6fe,0x10,_0x46746[0x26]),_0x38ffb8=_0x3a0cc1(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x5a3a00,0x17,_0x46746[0x27]),_0x2602c4=_0x3a0cc1(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x596417,0x4,_0x46746[0x28]),_0x26bb56=_0x3a0cc1(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x4bcf63,0xb,_0x46746[0x29]),_0x585ab9=_0x3a0cc1(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x323233,0x10,_0x46746[0x2a]),_0x38ffb8=_0x3a0cc1(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x2c9982,0x17,_0x46746[0x2b]),_0x2602c4=_0x3a0cc1(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x2e8916,0x4,_0x46746[0x2c]),_0x26bb56=_0x3a0cc1(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x325c81,0xb,_0x46746[0x2d]),_0x585ab9=_0x3a0cc1(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x3453f8,0x10,_0x46746[0x2e]),_0x38ffb8=_0x3a0cc1(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x289f72,0x17,_0x46746[0x2f]),_0x2602c4=_0x28f6a6(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x4bcf63,0x6,_0x46746[0x30]),_0x26bb56=_0x28f6a6(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x11e6fe,0xa,_0x46746[0x31]),_0x585ab9=_0x28f6a6(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x2f3073,0xf,_0x46746[0x32]),_0x38ffb8=_0x28f6a6(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x3ebfb1,0x15,_0x46746[0x33]),_0x2602c4=_0x28f6a6(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x325c81,0x6,_0x46746[0x34]),_0x26bb56=_0x28f6a6(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x323233,0xa,_0x46746[0x35]),_0x585ab9=_0x28f6a6(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x5a3a00,0xf,_0x46746[0x36]),_0x38ffb8=_0x28f6a6(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x3096c1,0x15,_0x46746[0x37]),_0x2602c4=_0x28f6a6(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x20c016,0x6,_0x46746[0x38]),_0x26bb56=_0x28f6a6(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x3453f8,0xa,_0x46746[0x39]),_0x585ab9=_0x28f6a6(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x2c9982,0xf,_0x46746[0x3a]),_0x38ffb8=_0x28f6a6(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x596417,0x15,_0x46746[0x3b]),_0x2602c4=_0x28f6a6(_0x2602c4,_0x38ffb8,_0x585ab9,_0x26bb56,_0x434ed4,0x6,_0x46746[0x3c]),_0x26bb56=_0x28f6a6(_0x26bb56,_0x2602c4,_0x38ffb8,_0x585ab9,_0x43a9b8,0xa,_0x46746[0x3d]),_0x585ab9=_0x28f6a6(_0x585ab9,_0x26bb56,_0x2602c4,_0x38ffb8,_0x289f72,0xf,_0x46746[0x3e]),_0x38ffb8=_0x28f6a6(_0x38ffb8,_0x585ab9,_0x26bb56,_0x2602c4,_0x2e8916,0x15,_0x46746[0x3f]),_0xefec21[0x0]=_0xefec21[0x0]+_0x2602c4|0x0,_0xefec21[0x1]=_0xefec21[0x1]+_0x38ffb8|0x0,_0xefec21[0x2]=_0xefec21[0x2]+_0x585ab9|0x0,_0xefec21[0x3]=_0xefec21[0x3]+_0x26bb56|0x0;},'_doFinalize':function(){var _0x8df927=_0x561cba,_0x1d6e06=this[_0x8df927(0x207)],_0x55ca2f=_0x1d6e06['words'],_0x1562df=this['_nDataBytes']*0x8,_0x1f9e12=_0x1d6e06['sigBytes']*0x8;_0x55ca2f[_0x1f9e12>>>0x5]|=0x80<<0x18-_0x1f9e12%0x20;var _0x42dce9=_0x34d1db[_0x8df927(0x243)](_0x1562df/0x100000000),_0x1aeec6=_0x1562df;_0x55ca2f[(_0x1f9e12+0x40>>>0x9<<0x4)+0xf]=(_0x42dce9<<0x8|_0x42dce9>>>0x18)&0xff00ff|(_0x42dce9<<0x18|_0x42dce9>>>0x8)&0xff00ff00,_0x55ca2f[(_0x1f9e12+0x40>>>0x9<<0x4)+0xe]=(_0x1aeec6<<0x8|_0x1aeec6>>>0x18)&0xff00ff|(_0x1aeec6<<0x18|_0x1aeec6>>>0x8)&0xff00ff00,_0x1d6e06[_0x8df927(0x107)]=(_0x55ca2f[_0x8df927(0x216)]+0x1)*0x4,this['_process']();for(var _0x1a0691=this[_0x8df927(0x311)],_0x360776=_0x1a0691['words'],_0x565167=0x0;_0x565167<0x4;_0x565167++){var _0xe4eae0=_0x360776[_0x565167];_0x360776[_0x565167]=(_0xe4eae0<<0x8|_0xe4eae0>>>0x18)&0xff00ff|(_0xe4eae0<<0x18|_0xe4eae0>>>0x8)&0xff00ff00;}return _0x1a0691;},'clone':function(){var _0x144364=_0x561cba,_0x14ce08=_0x3cecc4['clone'][_0x144364(0x300)](this);return _0x14ce08['_hash']=this['_hash'][_0x144364(0x22a)](),_0x14ce08;}});function _0x2a3123(_0x4e196f,_0x2928c2,_0x59aff2,_0x710b36,_0x3af91c,_0x4ed1cd,_0x4205c1){var _0x1d3371=_0x4e196f+(_0x2928c2&_0x59aff2|~_0x2928c2&_0x710b36)+_0x3af91c+_0x4205c1;return(_0x1d3371<<_0x4ed1cd|_0x1d3371>>>0x20-_0x4ed1cd)+_0x2928c2;}function _0x30776c(_0xfc7450,_0x2bb6d5,_0x457806,_0x329725,_0x11421c,_0x5e5a59,_0x3e81b5){var _0x1954b1=_0xfc7450+(_0x2bb6d5&_0x329725|_0x457806&~_0x329725)+_0x11421c+_0x3e81b5;return(_0x1954b1<<_0x5e5a59|_0x1954b1>>>0x20-_0x5e5a59)+_0x2bb6d5;}function _0x3a0cc1(_0xe9d3f7,_0x523ccd,_0x152537,_0x105d28,_0x44e5ae,_0x52edf0,_0x4123e4){var _0x2f9b1f=_0xe9d3f7+(_0x523ccd^_0x152537^_0x105d28)+_0x44e5ae+_0x4123e4;return(_0x2f9b1f<<_0x52edf0|_0x2f9b1f>>>0x20-_0x52edf0)+_0x523ccd;}function _0x28f6a6(_0x2c7f30,_0x5c4db2,_0x233d80,_0x5b7a4f,_0x2e174a,_0x58e098,_0x5d03be){var _0x52d956=_0x2c7f30+(_0x233d80^(_0x5c4db2|~_0x5b7a4f))+_0x2e174a+_0x5d03be;return(_0x52d956<<_0x58e098|_0x52d956>>>0x20-_0x58e098)+_0x5c4db2;}_0x3afb16[_0x561cba(0x247)]=_0x3cecc4['_createHelper'](_0x54a4c0),_0x3afb16['HmacMD5']=_0x3cecc4[_0x561cba(0x279)](_0x54a4c0);}(Math),_0x2ebf41['MD5'];}));}(ze)),ze[_0x1ee284(0x24f)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe['exports'],ni;function Ys(){var _0x35084f=_0x67e149;return ni||(ni=0x1,function(_0x168938,_0x46b192){(function(_0x378fa4,_0xcb5ff3){var _0x4160be=_0x4bea;_0x168938[_0x4160be(0x24f)]=_0xcb5ff3(ne());}(zs,function(_0x164711){var _0x33cdba=_0x4bea;return(function(){var _0x35ad0e=_0x4bea,_0x18addb=_0x164711,_0x241ae9=_0x18addb[_0x35ad0e(0x2f4)],_0xec381e=_0x241ae9[_0x35ad0e(0x254)],_0x3611a9=_0x241ae9[_0x35ad0e(0x23e)],_0x4fed8f=_0x18addb[_0x35ad0e(0x1c6)],_0x43351e=[],_0x168400=_0x4fed8f[_0x35ad0e(0x3bc)]=_0x3611a9[_0x35ad0e(0x10f)]({'_doReset':function(){var _0x52a272=_0x35ad0e;this[_0x52a272(0x311)]=new _0xec381e[(_0x52a272(0x20e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a72e,_0xb5bf){var _0x4c26ff=_0x35ad0e;for(var _0x282e58=this[_0x4c26ff(0x311)][_0x4c26ff(0x1c4)],_0x11efce=_0x282e58[0x0],_0x1b9f30=_0x282e58[0x1],_0x2505ad=_0x282e58[0x2],_0xd6a704=_0x282e58[0x3],_0x1b295b=_0x282e58[0x4],_0x3a1546=0x0;_0x3a1546<0x50;_0x3a1546++){if(_0x3a1546<0x10)_0x43351e[_0x3a1546]=_0x3a72e[_0xb5bf+_0x3a1546]|0x0;else{var _0x381b90=_0x43351e[_0x3a1546-0x3]^_0x43351e[_0x3a1546-0x8]^_0x43351e[_0x3a1546-0xe]^_0x43351e[_0x3a1546-0x10];_0x43351e[_0x3a1546]=_0x381b90<<0x1|_0x381b90>>>0x1f;}var _0x4d7302=(_0x11efce<<0x5|_0x11efce>>>0x1b)+_0x1b295b+_0x43351e[_0x3a1546];_0x3a1546<0x14?_0x4d7302+=(_0x1b9f30&_0x2505ad|~_0x1b9f30&_0xd6a704)+0x5a827999:_0x3a1546<0x28?_0x4d7302+=(_0x1b9f30^_0x2505ad^_0xd6a704)+0x6ed9eba1:_0x3a1546<0x3c?_0x4d7302+=(_0x1b9f30&_0x2505ad|_0x1b9f30&_0xd6a704|_0x2505ad&_0xd6a704)-0x70e44324:_0x4d7302+=(_0x1b9f30^_0x2505ad^_0xd6a704)-0x359d3e2a,_0x1b295b=_0xd6a704,_0xd6a704=_0x2505ad,_0x2505ad=_0x1b9f30<<0x1e|_0x1b9f30>>>0x2,_0x1b9f30=_0x11efce,_0x11efce=_0x4d7302;}_0x282e58[0x0]=_0x282e58[0x0]+_0x11efce|0x0,_0x282e58[0x1]=_0x282e58[0x1]+_0x1b9f30|0x0,_0x282e58[0x2]=_0x282e58[0x2]+_0x2505ad|0x0,_0x282e58[0x3]=_0x282e58[0x3]+_0xd6a704|0x0,_0x282e58[0x4]=_0x282e58[0x4]+_0x1b295b|0x0;},'_doFinalize':function(){var _0x532c0e=_0x35ad0e,_0x27b1b6=this[_0x532c0e(0x207)],_0x43cef2=_0x27b1b6['words'],_0xffede3=this[_0x532c0e(0x32e)]*0x8,_0x374113=_0x27b1b6[_0x532c0e(0x107)]*0x8;return _0x43cef2[_0x374113>>>0x5]|=0x80<<0x18-_0x374113%0x20,_0x43cef2[(_0x374113+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xffede3/0x100000000),_0x43cef2[(_0x374113+0x40>>>0x9<<0x4)+0xf]=_0xffede3,_0x27b1b6[_0x532c0e(0x107)]=_0x43cef2['length']*0x4,this[_0x532c0e(0x32c)](),this[_0x532c0e(0x311)];},'clone':function(){var _0x3074fb=_0x35ad0e,_0x556d5f=_0x3611a9[_0x3074fb(0x22a)]['call'](this);return _0x556d5f[_0x3074fb(0x311)]=this[_0x3074fb(0x311)][_0x3074fb(0x22a)](),_0x556d5f;}});_0x18addb[_0x35ad0e(0x3bc)]=_0x3611a9['_createHelper'](_0x168400),_0x18addb[_0x35ad0e(0x3d8)]=_0x3611a9[_0x35ad0e(0x279)](_0x168400);}()),_0x164711[_0x33cdba(0x3bc)];}));}(qe)),qe[_0x35084f(0x24f)];}var Je={'exports':{}},qs=Je['exports'],si;function Js(){var _0x62096b=_0x67e149;return si||(si=0x1,function(_0x51d532,_0x4c2a7a){(function(_0x507e15,_0x531ca1){var _0x22b569=_0x4bea;_0x51d532[_0x22b569(0x24f)]=_0x531ca1(ne());}(qs,function(_0x384e29){(function(){var _0x3dab62=_0x4bea,_0x1876f1=_0x384e29,_0x25864a=_0x1876f1[_0x3dab62(0x2f4)],_0xa56e07=_0x25864a[_0x3dab62(0x212)],_0x3f9940=_0x1876f1['enc'],_0x5b3c1c=_0x3f9940[_0x3dab62(0x175)],_0x19856f=_0x1876f1[_0x3dab62(0x1c6)];_0x19856f[_0x3dab62(0x148)]=_0xa56e07[_0x3dab62(0x10f)]({'init':function(_0x40a504,_0x23cb71){var _0x4f5ea0=_0x3dab62;_0x40a504=this[_0x4f5ea0(0xfc)]=new _0x40a504['init'](),typeof _0x23cb71==_0x4f5ea0(0x17a)&&(_0x23cb71=_0x5b3c1c[_0x4f5ea0(0x386)](_0x23cb71));var _0x2b3a08=_0x40a504[_0x4f5ea0(0x134)],_0x5205ca=_0x2b3a08*0x4;_0x23cb71[_0x4f5ea0(0x107)]>_0x5205ca&&(_0x23cb71=_0x40a504[_0x4f5ea0(0x3e8)](_0x23cb71)),_0x23cb71[_0x4f5ea0(0x3d5)]();for(var _0x3f5028=this['_oKey']=_0x23cb71[_0x4f5ea0(0x22a)](),_0x158d9a=this[_0x4f5ea0(0x1ab)]=_0x23cb71['clone'](),_0x5eb665=_0x3f5028[_0x4f5ea0(0x1c4)],_0x11187c=_0x158d9a[_0x4f5ea0(0x1c4)],_0x33980b=0x0;_0x33980b<_0x2b3a08;_0x33980b++)_0x5eb665[_0x33980b]^=0x5c5c5c5c,_0x11187c[_0x33980b]^=0x36363636;_0x3f5028[_0x4f5ea0(0x107)]=_0x158d9a[_0x4f5ea0(0x107)]=_0x5205ca,this['reset']();},'reset':function(){var _0x2208d8=_0x3dab62,_0x2f1d01=this[_0x2208d8(0xfc)];_0x2f1d01[_0x2208d8(0x205)](),_0x2f1d01['update'](this[_0x2208d8(0x1ab)]);},'update':function(_0x44c6ff){var _0x5cff9a=_0x3dab62;return this[_0x5cff9a(0xfc)]['update'](_0x44c6ff),this;},'finalize':function(_0x52854b){var _0x7592a7=_0x3dab62,_0x3fc923=this[_0x7592a7(0xfc)],_0x4776ee=_0x3fc923[_0x7592a7(0x3e8)](_0x52854b);_0x3fc923[_0x7592a7(0x205)]();var _0x519df4=_0x3fc923[_0x7592a7(0x3e8)](this[_0x7592a7(0x264)][_0x7592a7(0x22a)]()[_0x7592a7(0x371)](_0x4776ee));return _0x519df4;}});}());}));}(Je)),Je[_0x62096b(0x24f)];}var Xs=Ye['exports'],ri;function xi(){var _0x53a953=_0x67e149;return ri||(ri=0x1,function(_0xc6cca5,_0x6f200e){(function(_0x29b6ab,_0x4bfa19,_0x56d098){_0xc6cca5['exports']=_0x4bfa19(ne(),Ys(),Js());}(Xs,function(_0x41d2f6){return(function(){var _0x4013dc=_0x4bea,_0x21ece4=_0x41d2f6,_0x4713be=_0x21ece4[_0x4013dc(0x2f4)],_0x58cfb5=_0x4713be['Base'],_0x434712=_0x4713be['WordArray'],_0x2883c1=_0x21ece4[_0x4013dc(0x1c6)],_0x4eab52=_0x2883c1[_0x4013dc(0x247)],_0x8269bf=_0x2883c1[_0x4013dc(0x14a)]=_0x58cfb5['extend']({'cfg':_0x58cfb5[_0x4013dc(0x10f)]({'keySize':0x80/0x20,'hasher':_0x4eab52,'iterations':0x1}),'init':function(_0x2526cb){var _0x570705=_0x4013dc;this['cfg']=this[_0x570705(0x2e0)][_0x570705(0x10f)](_0x2526cb);},'compute':function(_0x124bd3,_0x1a6dec){var _0x4b7ccd=_0x4013dc;for(var _0x41c26d,_0x454064=this[_0x4b7ccd(0x2e0)],_0x32517a=_0x454064[_0x4b7ccd(0x2b3)]['create'](),_0x18c762=_0x434712[_0x4b7ccd(0x161)](),_0x377042=_0x18c762[_0x4b7ccd(0x1c4)],_0x323812=_0x454064['keySize'],_0x406291=_0x454064['iterations'];_0x377042['length']<_0x323812;){_0x41c26d&&_0x32517a['update'](_0x41c26d),_0x41c26d=_0x32517a[_0x4b7ccd(0x3b4)](_0x124bd3)['finalize'](_0x1a6dec),_0x32517a['reset']();for(var _0x1e3c71=0x1;_0x1e3c71<_0x406291;_0x1e3c71++)_0x41c26d=_0x32517a[_0x4b7ccd(0x3e8)](_0x41c26d),_0x32517a[_0x4b7ccd(0x205)]();_0x18c762[_0x4b7ccd(0x371)](_0x41c26d);}return _0x18c762[_0x4b7ccd(0x107)]=_0x323812*0x4,_0x18c762;}});_0x21ece4[_0x4013dc(0x14a)]=function(_0x6e220c,_0x4979fc,_0x5b2ac2){var _0x4d6d98=_0x4013dc;return _0x8269bf[_0x4d6d98(0x161)](_0x5b2ac2)[_0x4d6d98(0x1a8)](_0x6e220c,_0x4979fc);};}()),_0x41d2f6['EvpKDF'];}));}(Ye)),Ye[_0x53a953(0x24f)];}var Xe={'exports':{}},Zs=Xe[_0x67e149(0x24f)],oi;function Li(){var _0x35ca5d=_0x67e149;return oi||(oi=0x1,function(_0x1b6972,_0x1824fb){(function(_0x56bb8b,_0xff4932,_0x546910){_0x1b6972['exports']=_0xff4932(ne(),xi());}(Zs,function(_0x1d1e03){var _0x4a2f8e=_0x4bea;_0x1d1e03[_0x4a2f8e(0x2f4)][_0x4a2f8e(0x34c)]||function(_0x3d6f15){var _0x2cf9fc=_0x4a2f8e,_0x131e27=_0x1d1e03,_0x4972bc=_0x131e27['lib'],_0x395ad4=_0x4972bc[_0x2cf9fc(0x212)],_0x33aa42=_0x4972bc['WordArray'],_0x3e4134=_0x4972bc[_0x2cf9fc(0x17d)],_0x127783=_0x131e27[_0x2cf9fc(0x192)];_0x127783[_0x2cf9fc(0x175)];var _0x2e8a54=_0x127783[_0x2cf9fc(0x339)],_0x5436c1=_0x131e27['algo'],_0x4a738a=_0x5436c1[_0x2cf9fc(0x14a)],_0x4fe563=_0x4972bc[_0x2cf9fc(0x34c)]=_0x3e4134[_0x2cf9fc(0x10f)]({'cfg':_0x395ad4[_0x2cf9fc(0x10f)](),'createEncryptor':function(_0x28abed,_0x548463){var _0x270850=_0x2cf9fc;return this[_0x270850(0x161)](this[_0x270850(0x25f)],_0x28abed,_0x548463);},'createDecryptor':function(_0x4c1d98,_0xca00c6){var _0x37dfe8=_0x2cf9fc;return this[_0x37dfe8(0x161)](this['_DEC_XFORM_MODE'],_0x4c1d98,_0xca00c6);},'init':function(_0x4b11d2,_0x5765f1,_0xe773ad){var _0x3b4011=_0x2cf9fc;this[_0x3b4011(0x2e0)]=this[_0x3b4011(0x2e0)][_0x3b4011(0x10f)](_0xe773ad),this['_xformMode']=_0x4b11d2,this[_0x3b4011(0x3af)]=_0x5765f1,this[_0x3b4011(0x205)]();},'reset':function(){var _0x735ab5=_0x2cf9fc;_0x3e4134[_0x735ab5(0x205)][_0x735ab5(0x300)](this),this[_0x735ab5(0x145)]();},'process':function(_0x2d6fea){var _0x5c9e4f=_0x2cf9fc;return this[_0x5c9e4f(0x295)](_0x2d6fea),this['_process']();},'finalize':function(_0x35bc1e){var _0x42e53f=_0x2cf9fc;_0x35bc1e&&this[_0x42e53f(0x295)](_0x35bc1e);var _0x4765f1=this['_doFinalize']();return _0x4765f1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51e447(_0x380577){return typeof _0x380577=='string'?_0x56f95b:_0x2c6ba4;}return function(_0x64586c){return{'encrypt':function(_0x52b1e9,_0xa0034a,_0x513af7){var _0x493234=_0x4bea;return _0x51e447(_0xa0034a)[_0x493234(0x397)](_0x64586c,_0x52b1e9,_0xa0034a,_0x513af7);},'decrypt':function(_0x897fa6,_0x13b659,_0x222ec5){var _0x73732d=_0x4bea;return _0x51e447(_0x13b659)[_0x73732d(0x111)](_0x64586c,_0x897fa6,_0x13b659,_0x222ec5);}};};}())});_0x4972bc[_0x2cf9fc(0x1c3)]=_0x4fe563[_0x2cf9fc(0x10f)]({'_doFinalize':function(){var _0x1c9783=_0x2cf9fc,_0x46a8ff=this[_0x1c9783(0x32c)](!0x0);return _0x46a8ff;},'blockSize':0x1});var _0x47ba29=_0x131e27[_0x2cf9fc(0x3ff)]={},_0x79df69=_0x4972bc[_0x2cf9fc(0x309)]=_0x395ad4[_0x2cf9fc(0x10f)]({'createEncryptor':function(_0x50cb84,_0x2862c0){var _0x4bf94d=_0x2cf9fc;return this[_0x4bf94d(0x2bc)][_0x4bf94d(0x161)](_0x50cb84,_0x2862c0);},'createDecryptor':function(_0x420d36,_0x30ea80){var _0xb5e154=_0x2cf9fc;return this['Decryptor'][_0xb5e154(0x161)](_0x420d36,_0x30ea80);},'init':function(_0x3ddde2,_0x40e16c){this['_cipher']=_0x3ddde2,this['_iv']=_0x40e16c;}}),_0x144196=_0x47ba29['CBC']=(function(){var _0x1fb053=_0x2cf9fc,_0x19fd68=_0x79df69[_0x1fb053(0x10f)]();_0x19fd68[_0x1fb053(0x2bc)]=_0x19fd68['extend']({'processBlock':function(_0xb50696,_0x17b711){var _0x1d1d5f=_0x1fb053,_0x5dc6b3=this['_cipher'],_0x3cfe5d=_0x5dc6b3[_0x1d1d5f(0x134)];_0x501783[_0x1d1d5f(0x300)](this,_0xb50696,_0x17b711,_0x3cfe5d),_0x5dc6b3[_0x1d1d5f(0xfd)](_0xb50696,_0x17b711),this['_prevBlock']=_0xb50696[_0x1d1d5f(0x235)](_0x17b711,_0x17b711+_0x3cfe5d);}}),_0x19fd68[_0x1fb053(0x29a)]=_0x19fd68['extend']({'processBlock':function(_0x55d152,_0x412e46){var _0x3186bf=_0x1fb053,_0x200090=this[_0x3186bf(0x245)],_0x5b6c85=_0x200090[_0x3186bf(0x134)],_0x469994=_0x55d152[_0x3186bf(0x235)](_0x412e46,_0x412e46+_0x5b6c85);_0x200090['decryptBlock'](_0x55d152,_0x412e46),_0x501783['call'](this,_0x55d152,_0x412e46,_0x5b6c85),this['_prevBlock']=_0x469994;}});function _0x501783(_0x32d88d,_0x28a712,_0x431dd4){var _0x28d907=_0x1fb053,_0x4db0fe,_0x23e3a4=this['_iv'];_0x23e3a4?(_0x4db0fe=_0x23e3a4,this['_iv']=_0x3d6f15):_0x4db0fe=this[_0x28d907(0x29f)];for(var _0x3fe5a9=0x0;_0x3fe5a9<_0x431dd4;_0x3fe5a9++)_0x32d88d[_0x28a712+_0x3fe5a9]^=_0x4db0fe[_0x3fe5a9];}return _0x19fd68;}()),_0xcc8335=_0x131e27[_0x2cf9fc(0x2a1)]={},_0x1c92e7=_0xcc8335[_0x2cf9fc(0x12e)]={'pad':function(_0x17f46a,_0x39ca36){var _0x5da189=_0x2cf9fc;for(var _0x5a36f9=_0x39ca36*0x4,_0x57e745=_0x5a36f9-_0x17f46a[_0x5da189(0x107)]%_0x5a36f9,_0x53dd8d=_0x57e745<<0x18|_0x57e745<<0x10|_0x57e745<<0x8|_0x57e745,_0x1e98e4=[],_0x117f3f=0x0;_0x117f3f<_0x57e745;_0x117f3f+=0x4)_0x1e98e4['push'](_0x53dd8d);var _0x1bb9d1=_0x33aa42[_0x5da189(0x161)](_0x1e98e4,_0x57e745);_0x17f46a[_0x5da189(0x371)](_0x1bb9d1);},'unpad':function(_0x22618b){var _0x58cbce=_0x2cf9fc,_0x31c6e5=_0x22618b['words'][_0x22618b[_0x58cbce(0x107)]-0x1>>>0x2]&0xff;_0x22618b[_0x58cbce(0x107)]-=_0x31c6e5;}};_0x4972bc[_0x2cf9fc(0x308)]=_0x4fe563[_0x2cf9fc(0x10f)]({'cfg':_0x4fe563['cfg']['extend']({'mode':_0x144196,'padding':_0x1c92e7}),'reset':function(){var _0x4a1137=_0x2cf9fc,_0x52bd1a;_0x4fe563[_0x4a1137(0x205)]['call'](this);var _0x1b8ea6=this[_0x4a1137(0x2e0)],_0x408379=_0x1b8ea6['iv'],_0x1efc9f=_0x1b8ea6[_0x4a1137(0x3ff)];this[_0x4a1137(0x383)]==this[_0x4a1137(0x25f)]?_0x52bd1a=_0x1efc9f[_0x4a1137(0x3bb)]:(_0x52bd1a=_0x1efc9f['createDecryptor'],this[_0x4a1137(0x214)]=0x1),this[_0x4a1137(0x38a)]&&this[_0x4a1137(0x38a)][_0x4a1137(0x29c)]==_0x52bd1a?this[_0x4a1137(0x38a)][_0x4a1137(0x20e)](this,_0x408379&&_0x408379[_0x4a1137(0x1c4)]):(this[_0x4a1137(0x38a)]=_0x52bd1a[_0x4a1137(0x300)](_0x1efc9f,this,_0x408379&&_0x408379['words']),this[_0x4a1137(0x38a)][_0x4a1137(0x29c)]=_0x52bd1a);},'_doProcessBlock':function(_0x2c5894,_0x9a70cc){var _0x160787=_0x2cf9fc;this[_0x160787(0x38a)][_0x160787(0x3da)](_0x2c5894,_0x9a70cc);},'_doFinalize':function(){var _0x537fae=_0x2cf9fc,_0x5aaabd,_0xad4301=this[_0x537fae(0x2e0)][_0x537fae(0x392)];return this['_xformMode']==this[_0x537fae(0x25f)]?(_0xad4301[_0x537fae(0x2a1)](this['_data'],this[_0x537fae(0x134)]),_0x5aaabd=this[_0x537fae(0x32c)](!0x0)):(_0x5aaabd=this['_process'](!0x0),_0xad4301['unpad'](_0x5aaabd)),_0x5aaabd;},'blockSize':0x80/0x20});var _0x4a0dc3=_0x4972bc[_0x2cf9fc(0x396)]=_0x395ad4[_0x2cf9fc(0x10f)]({'init':function(_0xcc40a4){var _0x5662d9=_0x2cf9fc;this[_0x5662d9(0x211)](_0xcc40a4);},'toString':function(_0x366069){var _0x37fcd9=_0x2cf9fc;return(_0x366069||this['formatter'])[_0x37fcd9(0x271)](this);}}),_0x3b0184=_0x131e27[_0x2cf9fc(0x200)]={},_0x2b26bc=_0x3b0184[_0x2cf9fc(0x384)]={'stringify':function(_0x5dac26){var _0x1d45d5=_0x2cf9fc,_0xd946c5,_0x3d9f31=_0x5dac26[_0x1d45d5(0x2c9)],_0x4da56c=_0x5dac26['salt'];return _0x4da56c?_0xd946c5=_0x33aa42[_0x1d45d5(0x161)]([0x53616c74,0x65645f5f])[_0x1d45d5(0x371)](_0x4da56c)[_0x1d45d5(0x371)](_0x3d9f31):_0xd946c5=_0x3d9f31,_0xd946c5[_0x1d45d5(0x2a6)](_0x2e8a54);},'parse':function(_0x14db41){var _0x3e32bc=_0x2cf9fc,_0x3d6852,_0x3b0b6c=_0x2e8a54[_0x3e32bc(0x386)](_0x14db41),_0x28984a=_0x3b0b6c[_0x3e32bc(0x1c4)];return _0x28984a[0x0]==0x53616c74&&_0x28984a[0x1]==0x65645f5f&&(_0x3d6852=_0x33aa42[_0x3e32bc(0x161)](_0x28984a[_0x3e32bc(0x235)](0x2,0x4)),_0x28984a['splice'](0x0,0x4),_0x3b0b6c['sigBytes']-=0x10),_0x4a0dc3['create']({'ciphertext':_0x3b0b6c,'salt':_0x3d6852});}},_0x2c6ba4=_0x4972bc[_0x2cf9fc(0x36f)]=_0x395ad4[_0x2cf9fc(0x10f)]({'cfg':_0x395ad4[_0x2cf9fc(0x10f)]({'format':_0x2b26bc}),'encrypt':function(_0x37c28c,_0x294c87,_0x1526bc,_0x576466){var _0x195e5a=_0x2cf9fc;_0x576466=this[_0x195e5a(0x2e0)]['extend'](_0x576466);var _0x43afc0=_0x37c28c[_0x195e5a(0x3bb)](_0x1526bc,_0x576466),_0x5af98d=_0x43afc0[_0x195e5a(0x3e8)](_0x294c87),_0x29f921=_0x43afc0[_0x195e5a(0x2e0)];return _0x4a0dc3[_0x195e5a(0x161)]({'ciphertext':_0x5af98d,'key':_0x1526bc,'iv':_0x29f921['iv'],'algorithm':_0x37c28c,'mode':_0x29f921[_0x195e5a(0x3ff)],'padding':_0x29f921['padding'],'blockSize':_0x37c28c[_0x195e5a(0x134)],'formatter':_0x576466[_0x195e5a(0x200)]});},'decrypt':function(_0x405de5,_0x483b7a,_0x37b65b,_0x416360){var _0xe9b645=_0x2cf9fc;_0x416360=this['cfg'][_0xe9b645(0x10f)](_0x416360),_0x483b7a=this[_0xe9b645(0x3bd)](_0x483b7a,_0x416360[_0xe9b645(0x200)]);var _0x3a0d1b=_0x405de5[_0xe9b645(0x187)](_0x37b65b,_0x416360)[_0xe9b645(0x3e8)](_0x483b7a[_0xe9b645(0x2c9)]);return _0x3a0d1b;},'_parse':function(_0x37cec0,_0x5935c0){return typeof _0x37cec0=='string'?_0x5935c0['parse'](_0x37cec0,this):_0x37cec0;}}),_0x2e9e23=_0x131e27['kdf']={},_0x3f170b=_0x2e9e23[_0x2cf9fc(0x384)]={'execute':function(_0x274844,_0x4e2e3a,_0x1f9327,_0x4154c0,_0x29fc21){var _0x337853=_0x2cf9fc;if(_0x4154c0||(_0x4154c0=_0x33aa42['random'](0x40/0x8)),_0x29fc21)var _0x523fdb=_0x4a738a[_0x337853(0x161)]({'keySize':_0x4e2e3a+_0x1f9327,'hasher':_0x29fc21})['compute'](_0x274844,_0x4154c0);else var _0x523fdb=_0x4a738a['create']({'keySize':_0x4e2e3a+_0x1f9327})[_0x337853(0x1a8)](_0x274844,_0x4154c0);var _0x33af9a=_0x33aa42[_0x337853(0x161)](_0x523fdb['words']['slice'](_0x4e2e3a),_0x1f9327*0x4);return _0x523fdb[_0x337853(0x107)]=_0x4e2e3a*0x4,_0x4a0dc3[_0x337853(0x161)]({'key':_0x523fdb,'iv':_0x33af9a,'salt':_0x4154c0});}},_0x56f95b=_0x4972bc[_0x2cf9fc(0x2d9)]=_0x2c6ba4[_0x2cf9fc(0x10f)]({'cfg':_0x2c6ba4['cfg']['extend']({'kdf':_0x3f170b}),'encrypt':function(_0x1008a5,_0x23746b,_0x5bd17c,_0x4aa8b9){var _0x263052=_0x2cf9fc;_0x4aa8b9=this['cfg'][_0x263052(0x10f)](_0x4aa8b9);var _0x3a94b9=_0x4aa8b9[_0x263052(0x39c)][_0x263052(0x1b8)](_0x5bd17c,_0x1008a5[_0x263052(0x273)],_0x1008a5['ivSize'],_0x4aa8b9[_0x263052(0x30c)],_0x4aa8b9[_0x263052(0x2b3)]);_0x4aa8b9['iv']=_0x3a94b9['iv'];var _0x24bf06=_0x2c6ba4['encrypt']['call'](this,_0x1008a5,_0x23746b,_0x3a94b9[_0x263052(0x3b7)],_0x4aa8b9);return _0x24bf06[_0x263052(0x211)](_0x3a94b9),_0x24bf06;},'decrypt':function(_0x50508a,_0x1b2aff,_0x4725a4,_0x5f2f1a){var _0x453e45=_0x2cf9fc;_0x5f2f1a=this[_0x453e45(0x2e0)][_0x453e45(0x10f)](_0x5f2f1a),_0x1b2aff=this[_0x453e45(0x3bd)](_0x1b2aff,_0x5f2f1a[_0x453e45(0x200)]);var _0x4bd325=_0x5f2f1a[_0x453e45(0x39c)][_0x453e45(0x1b8)](_0x4725a4,_0x50508a[_0x453e45(0x273)],_0x50508a[_0x453e45(0x15c)],_0x1b2aff['salt'],_0x5f2f1a[_0x453e45(0x2b3)]);_0x5f2f1a['iv']=_0x4bd325['iv'];var _0x3847f3=_0x2c6ba4[_0x453e45(0x111)]['call'](this,_0x50508a,_0x1b2aff,_0x4bd325[_0x453e45(0x3b7)],_0x5f2f1a);return _0x3847f3;}});}();}));}(Xe)),Xe[_0x35ca5d(0x24f)];}var Qs=We[_0x67e149(0x24f)],ai;function er(){var _0x194d20=_0x67e149;return ai||(ai=0x1,function(_0x33ed7f,_0x84ae38){(function(_0x21b23d,_0x11287f,_0x14b60a){var _0x2ed24d=_0x4bea;_0x33ed7f[_0x2ed24d(0x24f)]=_0x11287f(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x2cd9b4){var _0x499acb=_0x4bea;return(function(){var _0x33674d=_0x4bea,_0x3804e8=_0x2cd9b4,_0x13aa16=_0x3804e8[_0x33674d(0x2f4)],_0x3a0937=_0x13aa16['BlockCipher'],_0x3ea44c=_0x3804e8[_0x33674d(0x1c6)],_0x2610d5=[],_0xb4cc5=[],_0x542676=[],_0x536e7c=[],_0x3dfdd9=[],_0x5525e4=[],_0x1f7403=[],_0xa9108c=[],_0x5ef4a9=[],_0x25eafc=[];(function(){for(var _0x2e7dc2=[],_0xa2d0d3=0x0;_0xa2d0d3<0x100;_0xa2d0d3++)_0xa2d0d3<0x80?_0x2e7dc2[_0xa2d0d3]=_0xa2d0d3<<0x1:_0x2e7dc2[_0xa2d0d3]=_0xa2d0d3<<0x1^0x11b;for(var _0x462315=0x0,_0x1c0895=0x0,_0xa2d0d3=0x0;_0xa2d0d3<0x100;_0xa2d0d3++){var _0x15f0c3=_0x1c0895^_0x1c0895<<0x1^_0x1c0895<<0x2^_0x1c0895<<0x3^_0x1c0895<<0x4;_0x15f0c3=_0x15f0c3>>>0x8^_0x15f0c3&0xff^0x63,_0x2610d5[_0x462315]=_0x15f0c3,_0xb4cc5[_0x15f0c3]=_0x462315;var _0x4349db=_0x2e7dc2[_0x462315],_0x320277=_0x2e7dc2[_0x4349db],_0x5359fd=_0x2e7dc2[_0x320277],_0x5eca1d=_0x2e7dc2[_0x15f0c3]*0x101^_0x15f0c3*0x1010100;_0x542676[_0x462315]=_0x5eca1d<<0x18|_0x5eca1d>>>0x8,_0x536e7c[_0x462315]=_0x5eca1d<<0x10|_0x5eca1d>>>0x10,_0x3dfdd9[_0x462315]=_0x5eca1d<<0x8|_0x5eca1d>>>0x18,_0x5525e4[_0x462315]=_0x5eca1d;var _0x5eca1d=_0x5359fd*0x1010101^_0x320277*0x10001^_0x4349db*0x101^_0x462315*0x1010100;_0x1f7403[_0x15f0c3]=_0x5eca1d<<0x18|_0x5eca1d>>>0x8,_0xa9108c[_0x15f0c3]=_0x5eca1d<<0x10|_0x5eca1d>>>0x10,_0x5ef4a9[_0x15f0c3]=_0x5eca1d<<0x8|_0x5eca1d>>>0x18,_0x25eafc[_0x15f0c3]=_0x5eca1d,_0x462315?(_0x462315=_0x4349db^_0x2e7dc2[_0x2e7dc2[_0x2e7dc2[_0x5359fd^_0x4349db]]],_0x1c0895^=_0x2e7dc2[_0x2e7dc2[_0x1c0895]]):_0x462315=_0x1c0895=0x1;}}());var _0x4d9b4e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fe40b=_0x3ea44c[_0x33674d(0x2c6)]=_0x3a0937[_0x33674d(0x10f)]({'_doReset':function(){var _0x1a4a3a=_0x33674d,_0x170ff7;if(!(this[_0x1a4a3a(0x1e0)]&&this[_0x1a4a3a(0x358)]===this[_0x1a4a3a(0x3af)])){for(var _0x3141f9=this[_0x1a4a3a(0x358)]=this['_key'],_0x5c2e94=_0x3141f9['words'],_0x22dc54=_0x3141f9[_0x1a4a3a(0x107)]/0x4,_0x23b369=this[_0x1a4a3a(0x1e0)]=_0x22dc54+0x6,_0x3edd68=(_0x23b369+0x1)*0x4,_0x467f41=this[_0x1a4a3a(0x310)]=[],_0xbb022f=0x0;_0xbb022f<_0x3edd68;_0xbb022f++)_0xbb022f<_0x22dc54?_0x467f41[_0xbb022f]=_0x5c2e94[_0xbb022f]:(_0x170ff7=_0x467f41[_0xbb022f-0x1],_0xbb022f%_0x22dc54?_0x22dc54>0x6&&_0xbb022f%_0x22dc54==0x4&&(_0x170ff7=_0x2610d5[_0x170ff7>>>0x18]<<0x18|_0x2610d5[_0x170ff7>>>0x10&0xff]<<0x10|_0x2610d5[_0x170ff7>>>0x8&0xff]<<0x8|_0x2610d5[_0x170ff7&0xff]):(_0x170ff7=_0x170ff7<<0x8|_0x170ff7>>>0x18,_0x170ff7=_0x2610d5[_0x170ff7>>>0x18]<<0x18|_0x2610d5[_0x170ff7>>>0x10&0xff]<<0x10|_0x2610d5[_0x170ff7>>>0x8&0xff]<<0x8|_0x2610d5[_0x170ff7&0xff],_0x170ff7^=_0x4d9b4e[_0xbb022f/_0x22dc54|0x0]<<0x18),_0x467f41[_0xbb022f]=_0x467f41[_0xbb022f-_0x22dc54]^_0x170ff7);for(var _0x5b8943=this[_0x1a4a3a(0x136)]=[],_0x45fc3a=0x0;_0x45fc3a<_0x3edd68;_0x45fc3a++){var _0xbb022f=_0x3edd68-_0x45fc3a;if(_0x45fc3a%0x4)var _0x170ff7=_0x467f41[_0xbb022f];else var _0x170ff7=_0x467f41[_0xbb022f-0x4];_0x45fc3a<0x4||_0xbb022f<=0x4?_0x5b8943[_0x45fc3a]=_0x170ff7:_0x5b8943[_0x45fc3a]=_0x1f7403[_0x2610d5[_0x170ff7>>>0x18]]^_0xa9108c[_0x2610d5[_0x170ff7>>>0x10&0xff]]^_0x5ef4a9[_0x2610d5[_0x170ff7>>>0x8&0xff]]^_0x25eafc[_0x2610d5[_0x170ff7&0xff]];}}},'encryptBlock':function(_0x131126,_0x1d95f){var _0x35050b=_0x33674d;this[_0x35050b(0x21c)](_0x131126,_0x1d95f,this[_0x35050b(0x310)],_0x542676,_0x536e7c,_0x3dfdd9,_0x5525e4,_0x2610d5);},'decryptBlock':function(_0x15343b,_0x1fcd2c){var _0x136e2e=_0x33674d,_0x3e9697=_0x15343b[_0x1fcd2c+0x1];_0x15343b[_0x1fcd2c+0x1]=_0x15343b[_0x1fcd2c+0x3],_0x15343b[_0x1fcd2c+0x3]=_0x3e9697,this['_doCryptBlock'](_0x15343b,_0x1fcd2c,this[_0x136e2e(0x136)],_0x1f7403,_0xa9108c,_0x5ef4a9,_0x25eafc,_0xb4cc5);var _0x3e9697=_0x15343b[_0x1fcd2c+0x1];_0x15343b[_0x1fcd2c+0x1]=_0x15343b[_0x1fcd2c+0x3],_0x15343b[_0x1fcd2c+0x3]=_0x3e9697;},'_doCryptBlock':function(_0x335fbb,_0x5e52d9,_0x46ee4a,_0x2a82a2,_0x1f9c25,_0xa2d87e,_0x1b6880,_0xc0334f){var _0x3d2dec=_0x33674d;for(var _0x1bce05=this[_0x3d2dec(0x1e0)],_0x447b21=_0x335fbb[_0x5e52d9]^_0x46ee4a[0x0],_0x2bec20=_0x335fbb[_0x5e52d9+0x1]^_0x46ee4a[0x1],_0x5d91fa=_0x335fbb[_0x5e52d9+0x2]^_0x46ee4a[0x2],_0x320cae=_0x335fbb[_0x5e52d9+0x3]^_0x46ee4a[0x3],_0x155e22=0x4,_0x44f895=0x1;_0x44f895<_0x1bce05;_0x44f895++){var _0x2d5394=_0x2a82a2[_0x447b21>>>0x18]^_0x1f9c25[_0x2bec20>>>0x10&0xff]^_0xa2d87e[_0x5d91fa>>>0x8&0xff]^_0x1b6880[_0x320cae&0xff]^_0x46ee4a[_0x155e22++],_0x33f590=_0x2a82a2[_0x2bec20>>>0x18]^_0x1f9c25[_0x5d91fa>>>0x10&0xff]^_0xa2d87e[_0x320cae>>>0x8&0xff]^_0x1b6880[_0x447b21&0xff]^_0x46ee4a[_0x155e22++],_0x5e3071=_0x2a82a2[_0x5d91fa>>>0x18]^_0x1f9c25[_0x320cae>>>0x10&0xff]^_0xa2d87e[_0x447b21>>>0x8&0xff]^_0x1b6880[_0x2bec20&0xff]^_0x46ee4a[_0x155e22++],_0x5c5b5a=_0x2a82a2[_0x320cae>>>0x18]^_0x1f9c25[_0x447b21>>>0x10&0xff]^_0xa2d87e[_0x2bec20>>>0x8&0xff]^_0x1b6880[_0x5d91fa&0xff]^_0x46ee4a[_0x155e22++];_0x447b21=_0x2d5394,_0x2bec20=_0x33f590,_0x5d91fa=_0x5e3071,_0x320cae=_0x5c5b5a;}var _0x2d5394=(_0xc0334f[_0x447b21>>>0x18]<<0x18|_0xc0334f[_0x2bec20>>>0x10&0xff]<<0x10|_0xc0334f[_0x5d91fa>>>0x8&0xff]<<0x8|_0xc0334f[_0x320cae&0xff])^_0x46ee4a[_0x155e22++],_0x33f590=(_0xc0334f[_0x2bec20>>>0x18]<<0x18|_0xc0334f[_0x5d91fa>>>0x10&0xff]<<0x10|_0xc0334f[_0x320cae>>>0x8&0xff]<<0x8|_0xc0334f[_0x447b21&0xff])^_0x46ee4a[_0x155e22++],_0x5e3071=(_0xc0334f[_0x5d91fa>>>0x18]<<0x18|_0xc0334f[_0x320cae>>>0x10&0xff]<<0x10|_0xc0334f[_0x447b21>>>0x8&0xff]<<0x8|_0xc0334f[_0x2bec20&0xff])^_0x46ee4a[_0x155e22++],_0x5c5b5a=(_0xc0334f[_0x320cae>>>0x18]<<0x18|_0xc0334f[_0x447b21>>>0x10&0xff]<<0x10|_0xc0334f[_0x2bec20>>>0x8&0xff]<<0x8|_0xc0334f[_0x5d91fa&0xff])^_0x46ee4a[_0x155e22++];_0x335fbb[_0x5e52d9]=_0x2d5394,_0x335fbb[_0x5e52d9+0x1]=_0x33f590,_0x335fbb[_0x5e52d9+0x2]=_0x5e3071,_0x335fbb[_0x5e52d9+0x3]=_0x5c5b5a;},'keySize':0x100/0x20});_0x3804e8[_0x33674d(0x2c6)]=_0x3a0937['_createHelper'](_0x2fe40b);}()),_0x2cd9b4[_0x499acb(0x2c6)];}));}(We)),We[_0x194d20(0x24f)];}var tr=er();const ir=ke(tr);var nr=Ai();const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x67e149(0x24f)],hi;function rr(){return hi||(hi=0x1,function(_0x5ff4b7,_0x4f056a){(function(_0x4b8462,_0x3da36e){var _0x4d5fb7=_0x4bea;_0x5ff4b7[_0x4d5fb7(0x24f)]=_0x3da36e(ne());}(sr,function(_0x121bab){var _0xa6df02=_0x4bea;return _0x121bab['enc'][_0xa6df02(0x175)];}));}(Ze)),Ze['exports'];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe[_0x67e149(0x24f)],_i;function hr(){var _0x19f213=_0x67e149;return _i||(_i=0x1,function(_0x2e8c6c,_0x50d659){(function(_0x836e58,_0x5a7b43){_0x2e8c6c['exports']=_0x5a7b43(ne());}(cr,function(_0x24bf20){var _0x4ae8c4=_0x4bea;return(function(){var _0x160c27=_0x4bea;if(typeof ArrayBuffer=='function'){var _0x1e9679=_0x24bf20,_0x3fc377=_0x1e9679[_0x160c27(0x2f4)],_0x107954=_0x3fc377['WordArray'],_0x1f0d48=_0x107954['init'],_0x15bd1b=_0x107954[_0x160c27(0x20e)]=function(_0x1966d9){var _0x396998=_0x160c27;if(_0x1966d9 instanceof ArrayBuffer&&(_0x1966d9=new Uint8Array(_0x1966d9)),(_0x1966d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1966d9 instanceof Uint8ClampedArray||_0x1966d9 instanceof Int16Array||_0x1966d9 instanceof Uint16Array||_0x1966d9 instanceof Int32Array||_0x1966d9 instanceof Uint32Array||_0x1966d9 instanceof Float32Array||_0x1966d9 instanceof Float64Array)&&(_0x1966d9=new Uint8Array(_0x1966d9[_0x396998(0x10b)],_0x1966d9[_0x396998(0x30d)],_0x1966d9[_0x396998(0x1ff)])),_0x1966d9 instanceof Uint8Array){for(var _0x10da25=_0x1966d9[_0x396998(0x1ff)],_0x15883a=[],_0x4d9b8e=0x0;_0x4d9b8e<_0x10da25;_0x4d9b8e++)_0x15883a[_0x4d9b8e>>>0x2]|=_0x1966d9[_0x4d9b8e]<<0x18-_0x4d9b8e%0x4*0x8;_0x1f0d48['call'](this,_0x15883a,_0x10da25);}else _0x1f0d48[_0x396998(0x12d)](this,arguments);};_0x15bd1b[_0x160c27(0x374)]=_0x107954;}}()),_0x24bf20[_0x4ae8c4(0x2f4)]['WordArray'];}));}(Qe)),Qe[_0x19f213(0x24f)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et[_0x67e149(0x24f)],li;function dr(){var _0x2afce5=_0x67e149;return li||(li=0x1,function(_0x3c92dd,_0x15986f){(function(_0x387556,_0x5aa6ae,_0x164bf1){_0x3c92dd['exports']=_0x5aa6ae(ne(),Li());}(ur,function(_0x18d6d6){var _0x265194=_0x4bea;return _0x18d6d6[_0x265194(0x2a1)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x18d6d6[_0x265194(0x2a1)][_0x265194(0x1da)];}));}(et)),et[_0x2afce5(0x24f)];}var fr=dr();const vr=ke(fr);function pr(_0x578ecf,_0xb5135a){var _0x5682c7=_0x67e149;const _0x476995=_0xb5135a-_0x578ecf['length']%_0xb5135a,_0x3b9b48=String[_0x5682c7(0x2dd)](_0x476995)[_0x5682c7(0x19d)](_0x476995);return _0x578ecf+_0x3b9b48;}function mr(_0x1e2271,_0x4e9211){var _0x562a18=_0x67e149;const _0x56b54d=lr['random'](0x10),_0x1aa793=pr(_0x1e2271,0x10),_0x3dc3be=ir[_0x562a18(0x397)](ar[_0x562a18(0x386)](_0x1aa793),ci['parse'](_0x4e9211),{'iv':_0x56b54d,'padding':vr});return _0x56b54d[_0x562a18(0x371)](_0x3dc3be['ciphertext'])[_0x562a18(0x2a6)](ci);}function gr(){var _0x4d859d=_0x67e149;const _0x4e173c=_0x3cc810()[_0x4d859d(0x30f)];if(_0x4e173c){const _0x418928={'time':Math[_0x4d859d(0x243)](Date[_0x4d859d(0x2e3)]()/0x3e8),'domain':location[_0x4d859d(0x36a)]};return mr(JSON[_0x4d859d(0x271)](_0x418928),_0x4e173c);}}var Sr=Object[_0x67e149(0x202)],Er=Object[_0x67e149(0x2b0)],Ir=(_0x53ed87,_0x594f8b,_0x1d51ea,_0x58d01a)=>{var _0x32abc4=_0x67e149;for(var _0x1eb7e9=_0x58d01a>0x1?void 0x0:_0x58d01a?Er(_0x594f8b,_0x1d51ea):_0x594f8b,_0x5dbd46=_0x53ed87[_0x32abc4(0x216)]-0x1,_0x3fcc12;_0x5dbd46>=0x0;_0x5dbd46--)(_0x3fcc12=_0x53ed87[_0x5dbd46])&&(_0x1eb7e9=(_0x58d01a?_0x3fcc12(_0x594f8b,_0x1d51ea,_0x1eb7e9):_0x3fcc12(_0x1eb7e9))||_0x1eb7e9);return _0x58d01a&&_0x1eb7e9&&Sr(_0x594f8b,_0x1d51ea,_0x1eb7e9),_0x1eb7e9;},Tr=(_0x47d4e7,_0x5b4d4e)=>(_0x1c7476,_0x4356ab)=>_0x5b4d4e(_0x1c7476,_0x4356ab,_0x47d4e7);let at=class{constructor(_0x1eb69a){var _0xec2648=_0x67e149;this[_0xec2648(0x39a)]=_0x1eb69a,this[_0xec2648(0x287)]();}[_0x67e149(0x287)](){var _0x464d0e=_0x67e149;this[_0x464d0e(0x39a)][_0x464d0e(0x307)]({'interceptor':(_0x2c634f,_0x9894c4)=>{var _0x4ee937=_0x464d0e;const _0x29f61c=_0x2c634f[_0x4ee937(0x282)],_0x17a291=gr();return _0x17a291&&_0x29f61c['set']('x-univer-host',_0x17a291),_0x9894c4(_0x2c634f);}});}};at=Ir([Tr(0x0,_0x57db04(_0x5a59de))],at);var Cr=Object[_0x67e149(0x202)],br=Object[_0x67e149(0x2b0)],Rr=(_0xa6009f,_0x58be9f,_0x4cacd1,_0x189222)=>{var _0x31108b=_0x67e149;for(var _0x13a7af=_0x189222>0x1?void 0x0:_0x189222?br(_0x58be9f,_0x4cacd1):_0x58be9f,_0x3802f3=_0xa6009f[_0x31108b(0x216)]-0x1,_0x4fc6e9;_0x3802f3>=0x0;_0x3802f3--)(_0x4fc6e9=_0xa6009f[_0x3802f3])&&(_0x13a7af=(_0x189222?_0x4fc6e9(_0x58be9f,_0x4cacd1,_0x13a7af):_0x4fc6e9(_0x13a7af))||_0x13a7af);return _0x189222&&_0x13a7af&&Cr(_0x58be9f,_0x4cacd1,_0x13a7af),_0x13a7af;},gt=(_0x530f96,_0x55a721)=>(_0x2890f6,_0x4c5a5f)=>_0x55a721(_0x2890f6,_0x4c5a5f,_0x530f96);let Ot=class extends _0x4e43a3{constructor(_0x1aa449,_0x1ac357,_0x191c5d){var _0x554b30=_0x67e149;super(),P(this,_0x554b30(0x25e),new _0x772e94(null)),P(this,_0x554b30(0x155),this[_0x554b30(0x25e)]['asObservable']()),(this[_0x554b30(0x1a4)]=_0x1aa449,this[_0x554b30(0x239)]=_0x1ac357,this[_0x554b30(0x13f)]=_0x191c5d);}async['loadUnit'](_0xf74c88,_0x3a836f,_0x12e2f4){var _0x2c6043=_0x67e149;this[_0x2c6043(0x25e)][_0x2c6043(0x190)]({'unitId':_0xf74c88,'type':_0x3a836f,'subUnitId':_0x12e2f4});let _0x3b4a8c=null;switch(_0x3a836f){case Q[_0x2c6043(0x26a)]:{_0x3b4a8c=await this['_loadSheet'](_0xf74c88);break;}case Q[_0x2c6043(0x139)]:{_0x3b4a8c=await this[_0x2c6043(0x3d1)](_0xf74c88);break;}default:{this['_logService'][_0x2c6043(0x1a1)](_0x2c6043(0x3b9),_0x2c6043(0x22e));break;}}return _0x3b4a8c;}async[_0x67e149(0x356)](_0x2ac623){var _0x8fec06=_0x67e149,_0x5ec99d;let _0x2bdc14=0x0;const _0x22ce96=await((_0x5ec99d=this[_0x8fec06(0x13f)])==null?void 0x0:_0x5ec99d[_0x8fec06(0x1aa)](_0x2ac623));return _0x22ce96&&(_0x22ce96[_0x8fec06(0x3ca)]||_0x22ce96[_0x8fec06(0x16e)][_0x8fec06(0x216)]!==0x0)&&(_0x2bdc14=_0x22ce96[_0x8fec06(0x20f)]),_0x2bdc14===0x0&&this[_0x8fec06(0x1a4)][_0x8fec06(0x3e4)]('[DataLoaderService]',_0x8fec06(0x385)),this['_snapshotService']['loadSheet'](_0x2ac623,_0x2bdc14);}async[_0x67e149(0x3d1)](_0x283c65){var _0x35da17=_0x67e149,_0x106a50;let _0x1b63b5=0x0;const _0x32a6f9=await((_0x106a50=this[_0x35da17(0x13f)])==null?void 0x0:_0x106a50[_0x35da17(0x1aa)](_0x283c65));return _0x32a6f9&&(_0x32a6f9[_0x35da17(0x3ca)]||_0x32a6f9[_0x35da17(0x16e)][_0x35da17(0x216)]!==0x0)&&(_0x1b63b5=_0x32a6f9['rev']),_0x1b63b5===0x0&&this[_0x35da17(0x1a4)]['debug']('[DataLoaderService]',_0x35da17(0x385)),this['_snapshotService'][_0x35da17(0x34d)](_0x283c65,_0x1b63b5);}};Ot=Rr([gt(0x0,_0x5ca4d7),gt(0x1,_0x57db04(_0x21dacf)),gt(0x2,_0x493dfd(X))],Ot);var yr=Object[_0x67e149(0x202)],Or=Object[_0x67e149(0x2b0)],Nr=(_0x444d8e,_0x2bb794,_0x2c52a0,_0x55967e)=>{for(var _0xb064f5=_0x55967e>0x1?void 0x0:_0x55967e?Or(_0x2bb794,_0x2c52a0):_0x2bb794,_0x46731e=_0x444d8e['length']-0x1,_0x38bacc;_0x46731e>=0x0;_0x46731e--)(_0x38bacc=_0x444d8e[_0x46731e])&&(_0xb064f5=(_0x55967e?_0x38bacc(_0x2bb794,_0x2c52a0,_0xb064f5):_0x38bacc(_0xb064f5))||_0xb064f5);return _0x55967e&&_0xb064f5&&yr(_0x2bb794,_0x2c52a0,_0xb064f5),_0xb064f5;},St=(_0xf5591f,_0xc70477)=>(_0xdfb8ae,_0x49fee8)=>_0xc70477(_0xdfb8ae,_0x49fee8,_0xf5591f);const Pr=[_0x67e149(0x3e0),_0x67e149(0x21d),'image/jpg',_0x67e149(0x24a),'image/bmp'],Dr=0x5*0x400*0x400,wr=_0x67e149(0x249),Ur=_0x67e149(0x142),Ar=_0x67e149(0x2e4),xr=_0x67e149(0x323);let Nt=class{constructor(_0x2b522c,_0x476c39,_0x5c8002){var _0xa63240=_0x67e149;P(this,_0xa63240(0x334),0x0),P(this,'_change$',new _0x551eeb()),P(this,'change$',this['_change$']),P(this,_0xa63240(0x283),new Map()),(this[_0xa63240(0x39a)]=_0x2b522c,this[_0xa63240(0x263)]=_0x476c39,this[_0xa63240(0x169)]=_0x5c8002);}['setWaitCount'](_0x5e3fe6){var _0x5d9f9b=_0x67e149;this[_0x5d9f9b(0x334)]=_0x5e3fe6,this['_change$']['next'](_0x5e3fe6);}[_0x67e149(0x204)](_0x5a0360,_0x7b6993){var _0x25280b=_0x67e149;if(_0x7b6993===_0x57ba6a[_0x25280b(0x219)]){const _0x536b46=new Image();return _0x536b46[_0x25280b(0x2e1)]=_0x5a0360,_0x536b46;}return this[_0x25280b(0x283)][_0x25280b(0x188)](_0x5a0360);}[_0x67e149(0x3ee)](_0x3de4e7,_0x25da14,_0x21bc09){var _0xd4e963=_0x67e149;_0x25da14===_0x57ba6a[_0xd4e963(0x219)]||_0x21bc09==null||this[_0xd4e963(0x283)][_0xd4e963(0x2a2)](_0x3de4e7,_0x21bc09);}async[_0x67e149(0x1c5)](_0x3b80e2){var _0x10fe51=_0x67e149;try{const _0x19e5a5=this[_0x10fe51(0x1a2)](this['_getSignURL'](),''+_0x3b80e2),_0x437357=(await this['_httpService'][_0x10fe51(0x188)](_0x19e5a5))['body'];if(_0x437357['error']&&_0x437357[_0x10fe51(0x1a1)][_0x10fe51(0x3cf)]===Ci['OK']){const _0x4ab8b7=new URL(_0x437357[_0x10fe51(0x2fa)],this['_getDownloadEndpointURL']())[_0x10fe51(0x2a6)]();return Promise[_0x10fe51(0x154)](_0x4ab8b7);}return Promise[_0x10fe51(0x10c)](_0x437357[_0x10fe51(0x1a1)]);}catch(_0xb282b7){return Promise[_0x10fe51(0x10c)](_0xb282b7);}}async[_0x67e149(0xfb)](_0xa5ef22){var _0x1b9c1a=_0x67e149;let _0x1d0bf1='';if(!Pr[_0x1b9c1a(0x17c)](_0xa5ef22[_0x1b9c1a(0x1ea)]))return this[_0x1b9c1a(0x38e)](),Promise[_0x1b9c1a(0x10c)](new Error(_0x17a6d6[_0x1b9c1a(0x1b1)]));if(_0xa5ef22[_0x1b9c1a(0x23f)]>Dr)return this[_0x1b9c1a(0x38e)](),Promise['reject'](new Error(_0x17a6d6[_0x1b9c1a(0x3c9)]));try{const _0x2fbe56=new FormData();_0x2fbe56[_0x1b9c1a(0x20a)](_0x1b9c1a(0x345),_0xa5ef22);const _0x334642=this[_0x1b9c1a(0x169)][_0x1b9c1a(0x1af)](),_0x439430=_0x334642==null?void 0x0:_0x334642[_0x1b9c1a(0x2fc)]();if(!_0x439430)throw new Error('unitId\x20is\x20not\x20found');const _0x1890af=this[_0x1b9c1a(0x163)]()+'?size='+_0xa5ef22[_0x1b9c1a(0x23f)][_0x1b9c1a(0x2a6)]()+_0x1b9c1a(0x32f)+bi['UnitEmbedded']+_0x1b9c1a(0x1e3)+encodeURIComponent(_0x439430),_0x2d6206=await(await fetch(_0x1890af,{'method':_0x1b9c1a(0x38f),'body':_0x2fbe56}))[_0x1b9c1a(0x315)]();if(typeof _0x2d6206[_0x1b9c1a(0x22c)]!=_0x1b9c1a(0x17a))return this[_0x1b9c1a(0x38e)](),Promise[_0x1b9c1a(0x10c)](new Error(_0x17a6d6[_0x1b9c1a(0x1a9)]));_0x1d0bf1=_0x2d6206['FileId'];}catch{return this[_0x1b9c1a(0x38e)](),Promise[_0x1b9c1a(0x10c)](new Error(_0x17a6d6[_0x1b9c1a(0x1a9)]));}return new Promise((_0x2041e9,_0x9ca20)=>{var _0x4b5c3c=_0x1b9c1a;const _0x3acf55=new FileReader();_0x3acf55[_0x4b5c3c(0x2f6)](_0xa5ef22),_0x3acf55[_0x4b5c3c(0x2d5)]=_0x4563b1=>{var _0x27214b=_0x4b5c3c,_0x411b85;const _0x4824d1=(_0x411b85=_0x4563b1[_0x27214b(0x37a)])==null?void 0x0:_0x411b85[_0x27214b(0x39d)];if(_0x4824d1==null){this[_0x27214b(0x38e)](),_0x9ca20(new Error(_0x17a6d6['ERROR_IMAGE']));return;}const _0x1fbfdc=_0x1bd54e[_0x27214b(0x178)](0x6);_0x2041e9({'imageId':_0x1fbfdc,'imageSourceType':_0x57ba6a[_0x27214b(0x3dd)],'source':_0x1d0bf1,'base64Cache':_0x4824d1,'status':_0x17a6d6[_0x27214b(0x39e)]}),this[_0x27214b(0x38e)]();};});}['_getUploadFileURL'](){var _0x473f4e=_0x67e149,_0x410517,_0x2c1ed2;const _0x4a37ba=this[_0x473f4e(0x263)]['getConfig'](wr),_0x29fd12=this[_0x473f4e(0x263)][_0x473f4e(0x357)](Y);return(_0x2c1ed2=(_0x410517=_0x29fd12==null?void 0x0:_0x29fd12[_0x473f4e(0x13a)])!=null?_0x410517:_0x4a37ba)!=null?_0x2c1ed2:Ur;}['_getSignURL'](){var _0x206ba1=_0x67e149,_0x519443,_0x23acab;const _0x1bfc38=this['_configService'][_0x206ba1(0x357)](Ar),_0x4e1385=this[_0x206ba1(0x263)]['getConfig'](Y);return(_0x23acab=(_0x519443=_0x4e1385==null?void 0x0:_0x4e1385[_0x206ba1(0x2cd)])!=null?_0x519443:_0x1bfc38)!=null?_0x23acab:xr;}['_getDownloadEndpointURL'](){var _0xb3612e=_0x67e149,_0xd33967;const _0x5f3787=this['_configService'][_0xb3612e(0x357)](Y);return(_0xd33967=_0x5f3787==null?void 0x0:_0x5f3787[_0xb3612e(0x359)])!=null?_0xd33967:location[_0xb3612e(0x32a)];}['_replaceFileID'](_0x4464ae,_0x135543){var _0x1f5a17=_0x67e149;return _0x4464ae[_0x1f5a17(0x101)](_0x1f5a17(0xff),_0x135543);}['_decreaseWaiting'](){var _0x4e6d99=_0x67e149;this[_0x4e6d99(0x334)]-=0x1,this[_0x4e6d99(0x250)][_0x4e6d99(0x190)](this[_0x4e6d99(0x334)]);}};Nt=Nr([St(0x0,_0x57db04(_0x5a59de)),St(0x1,_0x127296),St(0x2,_0x57db04(_0x262205))],Nt);var Lr=Object['defineProperty'],Mr=Object[_0x67e149(0x2b0)],$r=(_0x326628,_0x2c3cc9,_0x287062,_0x24b32e)=>{for(var _0x3ce3cb=_0x24b32e>0x1?void 0x0:_0x24b32e?Mr(_0x2c3cc9,_0x287062):_0x2c3cc9,_0x140f4a=_0x326628['length']-0x1,_0x5c5ae8;_0x140f4a>=0x0;_0x140f4a--)(_0x5c5ae8=_0x326628[_0x140f4a])&&(_0x3ce3cb=(_0x24b32e?_0x5c5ae8(_0x2c3cc9,_0x287062,_0x3ce3cb):_0x5c5ae8(_0x3ce3cb))||_0x3ce3cb);return _0x24b32e&&_0x3ce3cb&&Lr(_0x2c3cc9,_0x287062,_0x3ce3cb),_0x3ce3cb;},ui=(_0x2e562c,_0x42b321)=>(_0x284702,_0xf5dd36)=>_0x42b321(_0x284702,_0xf5dd36,_0x2e562c);const Hr=_0x67e149(0x220);let Pt=class{constructor(_0x587550,_0x4c6382){var _0x2b54fa=_0x67e149;this[_0x2b54fa(0x263)]=_0x587550,this[_0x2b54fa(0x261)]=_0x4c6382;}[_0x67e149(0x3be)](){var _0x5392f3=_0x67e149,_0x15875a,_0x42c08b;const _0x444292=this[_0x5392f3(0x263)][_0x5392f3(0x357)](Ui),_0x4c1fa0=this[_0x5392f3(0x263)][_0x5392f3(0x357)](Y);return(_0x42c08b=(_0x15875a=_0x4c1fa0==null?void 0x0:_0x4c1fa0[_0x5392f3(0x2cf)])!=null?_0x15875a:_0x444292)!=null?_0x42c08b:Hr;}async['list'](_0x19af24){var _0x6215f9=_0x67e149;const _0x57ef5b=this[_0x6215f9(0x3be)]()+'/collaborator';return{'list':[{'title':_0x6215f9(0x313),'mentions':(await this['_HTTPService'][_0x6215f9(0x188)](_0x57ef5b,{'params':{'objectID':_0x19af24['unitId'],'unitID':_0x19af24[_0x6215f9(0x319)]}}))[_0x6215f9(0x209)][_0x6215f9(0x365)][_0x6215f9(0x1f0)](_0x8fa2ff=>({'objectId':_0x8fa2ff['id'],'name':_0x8fa2ff[_0x6215f9(0x37f)][_0x6215f9(0x1be)],'metadata':{'icon':_0x8fa2ff[_0x6215f9(0x37f)][_0x6215f9(0x26c)]},'label':_0x8fa2ff[_0x6215f9(0x37f)][_0x6215f9(0x1be)],'objectType':_0xb92671['PERSON']})),'metadata':{},'type':_0xb92671[_0x6215f9(0x1e9)]}]};}};Pt=$r([ui(0x0,_0x57db04(_0x127296)),ui(0x1,_0x57db04(_0x5a59de))],Pt);var kr=Object[_0x67e149(0x202)],jr=Object[_0x67e149(0x2b0)],Br=(_0xca5c36,_0x1b54bc,_0x5d657a,_0x12cf62)=>{for(var _0x261fab=_0x12cf62>0x1?void 0x0:_0x12cf62?jr(_0x1b54bc,_0x5d657a):_0x1b54bc,_0x42f417=_0xca5c36['length']-0x1,_0x5e818e;_0x42f417>=0x0;_0x42f417--)(_0x5e818e=_0xca5c36[_0x42f417])&&(_0x261fab=(_0x12cf62?_0x5e818e(_0x1b54bc,_0x5d657a,_0x261fab):_0x5e818e(_0x261fab))||_0x261fab);return _0x12cf62&&_0x261fab&&kr(_0x1b54bc,_0x5d657a,_0x261fab),_0x261fab;},Se=(_0x440ed3,_0x19e0e5)=>(_0x2da221,_0x5c1822)=>_0x19e0e5(_0x2da221,_0x5c1822,_0x440ed3);let ct=class extends _0x4e43a3{constructor(_0xb04eaf,_0x1b4f85,_0x4a0eb7,_0x48a1ed,_0xb55368,_0x30009e,_0x171d8f){var _0x2dd948=_0x67e149;super(),this['_injector']=_0xb04eaf,this['_univerInstanceService']=_0x1b4f85,this[_0x2dd948(0x1a5)]=_0x4a0eb7,this['_collaborationSessionService']=_0x48a1ed,this[_0x2dd948(0x2eb)]=_0xb55368,this[_0x2dd948(0x1e2)]=_0x30009e,this[_0x2dd948(0x2ef)]=_0x171d8f,this[_0x2dd948(0x23b)](),this[_0x2dd948(0x2ce)]();}[_0x67e149(0x2ce)](){var _0x25003f=_0x67e149;const _0x22d13e=async _0x5f46bb=>{var _0xb428e1=_0x4bea;(await this['_collaborationSessionService'][_0xb428e1(0x3c0)](_0x5f46bb))['event$'][_0xb428e1(0x3c1)](_0x4f711a(_0x95ee06=>_0x95ee06[_0xb428e1(0x14e)]===_0x45ec80[_0xb428e1(0x177)]),_0x30cf90(this[_0xb428e1(0x328)]))[_0xb428e1(0x224)](_0x217906=>{var _0x3846db=_0xb428e1;const _0x40aa81=_0x217906,{reason:_0x6c6b10}=_0x40aa81['data'];this[_0x3846db(0x2eb)]['emitEvent']({'id':re[_0x3846db(0x176)],'data':_0x6c6b10}),this[_0x3846db(0x1a5)][_0x3846db(0x272)](new _0x4cc5f9(_0x5f46bb)['id'],!0x1),this[_0x3846db(0x2cb)][_0x3846db(0x128)](_0x5f46bb);});};_0x5ab1ec(this[_0x25003f(0x169)][_0x25003f(0x31e)](_0x3c6ead['UNIVER_SHEET']),this[_0x25003f(0x169)][_0x25003f(0x31e)](_0x3c6ead['UNIVER_DOC']))[_0x25003f(0x3c1)](_0x539566(_0x2e56a2=>_0x2e56a2[_0x25003f(0x2fc)]()),_0x4f711a(_0x56f6c3=>!_0x3d54b8(_0x56f6c3)),_0x30cf90(this[_0x25003f(0x328)]))[_0x25003f(0x224)](_0x55f316=>{_0x22d13e(_0x55f316);});}[_0x67e149(0x23b)](){var _0x2c31b3=_0x67e149;const _0x4a803b=async _0x45c51d=>{var _0x35e207=_0x4bea;(await this[_0x35e207(0x2cb)][_0x35e207(0x3c0)](_0x45c51d))[_0x35e207(0x3f6)][_0x35e207(0x3c1)](_0x4f711a(_0x597a02=>_0x597a02[_0x35e207(0x14e)]===_0x45ec80[_0x35e207(0x350)]),_0x30cf90(this['dispose$']))[_0x35e207(0x224)](_0x475048=>{var _0x3b2fde=_0x35e207;const _0x500d1e=_0x475048,{objectId:_0x296c90}=_0x500d1e[_0x3b2fde(0x322)];_0x296c90===_0x45c51d?this[_0x3b2fde(0x2b2)](_0x45c51d):this[_0x3b2fde(0x36d)](_0x45c51d,_0x296c90);});};_0x5ab1ec(this[_0x2c31b3(0x169)][_0x2c31b3(0x31e)](_0x3c6ead[_0x2c31b3(0x26a)]),this[_0x2c31b3(0x169)][_0x2c31b3(0x31e)](_0x3c6ead[_0x2c31b3(0x139)]))[_0x2c31b3(0x3c1)](_0x539566(_0x55fcac=>_0x55fcac[_0x2c31b3(0x2fc)]()),_0x4f711a(_0x1d960d=>!_0x3d54b8(_0x1d960d)),_0x30cf90(this[_0x2c31b3(0x328)]))[_0x2c31b3(0x224)](_0x45f180=>{_0x4a803b(_0x45f180);});}async[_0x67e149(0x2b2)](_0x30b9ca){var _0xbfe991=_0x67e149,_0x347c53;const _0x2045d5=_0x30b9ca||((_0x347c53=this[_0xbfe991(0x169)]['getCurrentUnitForType'](_0x3c6ead['UNIVER_SHEET']))==null?void 0x0:_0x347c53['getUnitId']());_0x2045d5&&this[_0xbfe991(0x1e2)][_0xbfe991(0x3db)]({'objectID':_0x2045d5,'objectType':_0x3d8528[_0xbfe991(0x22d)],'unitID':_0x2045d5,'actions':_0x31d758})[_0xbfe991(0x167)](_0x49a37d=>{var _0x537cd5=_0xbfe991;_0x459a3c()[_0x537cd5(0x1b5)](_0xbdf101=>{var _0x130136=_0x537cd5;const _0x11c5cf=new _0xbdf101(_0x2045d5),_0x3fe336=_0x11c5cf[_0x130136(0x289)],_0x4db7db=_0x49a37d[_0x130136(0x2d4)](_0x129aa3=>_0x129aa3[_0x130136(0x23a)]===_0x3fe336);_0x4db7db&&this['_permissionService'][_0x130136(0x272)](_0x11c5cf['id'],_0x4db7db[_0x130136(0x3db)]);});});}[_0x67e149(0x36d)](_0x2ac998,_0x317f91){var _0x1a53c5=_0x67e149;const _0x5b3ed7=this['_injector'][_0x1a53c5(0x188)](_0x5a0fef),_0x4d1c6f=_0x5b3ed7['getTargetByPermissionId'](_0x2ac998,_0x317f91);let _0x42726f=!0x1;if(_0x4d1c6f){const [_0x78d5dd,_0x461635]=_0x4d1c6f;this[_0x1a53c5(0x1e2)][_0x1a53c5(0x3db)]({'objectID':_0x317f91,'unitID':_0x2ac998,'objectType':_0x3d8528[_0x1a53c5(0x171)],'actions':_0xae7f1f})['then'](_0x4f9abf=>{var _0x4cd19d=_0x1a53c5;let _0x6615f7='';_0x3f0a3c()[_0x4cd19d(0x1b5)](_0x38639d=>{var _0x47308b=_0x4cd19d,_0x43ccdb;const _0x16e09c=new _0x38639d(_0x2ac998,_0x461635),_0x18bce9=_0x16e09c[_0x47308b(0x289)],_0x214367=_0x4f9abf[_0x47308b(0x2d4)](_0xd3892=>_0xd3892[_0x47308b(0x23a)]===_0x18bce9);_0x214367&&(((_0x43ccdb=this[_0x47308b(0x1a5)][_0x47308b(0x299)](_0x16e09c['id']))==null?void 0x0:_0x43ccdb[_0x47308b(0x265)])!==_0x214367[_0x47308b(0x3db)]&&(_0x42726f=!0x0),this[_0x47308b(0x1a5)][_0x47308b(0x272)](_0x16e09c['id'],_0x214367['allowed']),_0x6615f7+=_0x214367[_0x47308b(0x23a)]+'_'+_0x214367['allowed']);}),_0x5b3ed7['ruleRefresh'](_0x317f91+'_'+_0x6615f7),_0x42726f&&this[_0x4cd19d(0x2ef)][_0x4cd19d(0x144)](_0x2ac998);});}const _0x3ef443=this['_injector']['get'](_0x57749f)[_0x1a53c5(0x341)](_0x2ac998,_0x317f91);if(_0x3ef443){const [_0xb01a16,_0x1bfd15]=_0x3ef443;this['_authzIoService'][_0x1a53c5(0x3db)]({'objectID':_0x317f91,'unitID':_0x2ac998,'objectType':_0x3d8528[_0x1a53c5(0x171)],'actions':_0x28e309})['then'](_0x33ccab=>{var _0xbc9b5=_0x1a53c5;_0x3304d5()['forEach'](_0x7832a7=>{var _0x398117=_0x4bea,_0x5084cc;const _0xab4253=new _0x7832a7(_0x2ac998,_0x1bfd15),_0x18fbff=_0xab4253['subType'],_0x26cba3=_0x33ccab[_0x398117(0x2d4)](_0xe774dc=>_0xe774dc['action']===_0x18fbff);_0x26cba3&&(((_0x5084cc=this[_0x398117(0x1a5)][_0x398117(0x299)](_0xab4253['id']))==null?void 0x0:_0x5084cc[_0x398117(0x265)])!==_0x26cba3[_0x398117(0x3db)]&&(_0x42726f=!0x0),this[_0x398117(0x1a5)][_0x398117(0x272)](_0xab4253['id'],_0x26cba3['allowed']));}),_0x42726f&&this[_0xbc9b5(0x2ef)][_0xbc9b5(0x144)](_0x2ac998);});}const _0x54c78c=this[_0x1a53c5(0x233)][_0x1a53c5(0x188)](_0x1ab688),_0x18d9b1=_0x54c78c[_0x1a53c5(0x341)](_0x2ac998,_0x317f91);if(_0x18d9b1){const [_0x4e99ca,_0x4a9a24]=_0x18d9b1;this[_0x1a53c5(0x1e2)][_0x1a53c5(0x3db)]({'objectID':_0x317f91,'unitID':_0x2ac998,'objectType':_0x3d8528['SelectRange'],'actions':_0xae7f1f})['then'](_0x3216b4=>{var _0x37a837=_0x1a53c5;let _0x28ca37='';_0x4f6115()['forEach'](_0x4eb6a9=>{var _0x746c21=_0x4bea,_0x2d1229;const _0x13dea0=new _0x4eb6a9(_0x2ac998,_0x4a9a24,_0x317f91),_0x342d28=_0x13dea0[_0x746c21(0x289)],_0x5b38bf=_0x3216b4[_0x746c21(0x2d4)](_0x36d249=>_0x36d249[_0x746c21(0x23a)]===_0x342d28);_0x5b38bf&&(((_0x2d1229=this[_0x746c21(0x1a5)][_0x746c21(0x299)](_0x13dea0['id']))==null?void 0x0:_0x2d1229[_0x746c21(0x265)])!==_0x5b38bf[_0x746c21(0x3db)]&&(_0x42726f=!0x0),this['_permissionService'][_0x746c21(0x272)](_0x13dea0['id'],_0x5b38bf[_0x746c21(0x3db)]),_0x28ca37+=_0x5b38bf[_0x746c21(0x23a)]+'_'+_0x5b38bf[_0x746c21(0x3db)]);}),_0x54c78c[_0x37a837(0x2b5)](_0x317f91+'_'+_0x28ca37),_0x42726f&&this[_0x37a837(0x2ef)][_0x37a837(0x144)](_0x2ac998);});}}};ct=Br([Se(0x0,_0x57db04(_0x58538f)),Se(0x1,_0x262205),Se(0x2,_0x1dfff9),Se(0x3,_0x57db04(Le)),Se(0x4,_0x57db04(pe)),Se(0x5,_0x361a2a),Se(0x6,_0x1d537c)],ct);var Fr=Object[_0x67e149(0x202)],Vr=Object[_0x67e149(0x2b0)],Wr=(_0x42b7c2,_0xa26ca1,_0x5e8977,_0x381552)=>{var _0x235a9c=_0x67e149;for(var _0x2159db=_0x381552>0x1?void 0x0:_0x381552?Vr(_0xa26ca1,_0x5e8977):_0xa26ca1,_0xaae2a3=_0x42b7c2[_0x235a9c(0x216)]-0x1,_0x1708ac;_0xaae2a3>=0x0;_0xaae2a3--)(_0x1708ac=_0x42b7c2[_0xaae2a3])&&(_0x2159db=(_0x381552?_0x1708ac(_0xa26ca1,_0x5e8977,_0x2159db):_0x1708ac(_0x2159db))||_0x2159db);return _0x381552&&_0x2159db&&Fr(_0xa26ca1,_0x5e8977,_0x2159db),_0x2159db;},di=(_0x3ddb35,_0x507c9b)=>(_0x236008,_0x955ac7)=>_0x507c9b(_0x236008,_0x955ac7,_0x3ddb35);let Dt=class{constructor(_0x1beaf7,_0x2cad7f){var _0x5f2b12=_0x67e149;this[_0x5f2b12(0x263)]=_0x1beaf7,this[_0x5f2b12(0x39a)]=_0x2cad7f;}async[_0x67e149(0x248)](_0x2dc394,_0xf4e7f8){var _0x5caaef=_0x67e149,_0x7a3725;const {unitID:_0x3c9f81,type:_0x186a7d,revision:_0x475114=0x0}=_0xf4e7f8,_0x5e1c40=this['getSnapshotAPIPath']()+'/'+_0x186a7d+'/unit/'+_0x3c9f81+'/rev/'+_0x475114,_0x45847c=(await this[_0x5caaef(0x39a)][_0x5caaef(0x188)](_0x5e1c40))['body'],_0x254838=(_0x7a3725=_0x45847c[_0x5caaef(0x395)])==null?void 0x0:_0x7a3725[_0x5caaef(0x2bf)];if(_0x254838){const _0x2fc16c=_0x254838==null?void 0x0:_0x254838['originalMeta'],_0x57503a=_0x236095[_0x5caaef(0x2b7)](_0x506fa5(_0x2fc16c));_0x254838[_0x5caaef(0x349)]=_0x57503a,Object[_0x5caaef(0x2a5)](_0x254838['sheets'])[_0x5caaef(0x1b5)](([,_0xcd26d3])=>{var _0x2cf30c=_0x5caaef;const _0x2732c7=_0xcd26d3[_0x2cf30c(0x349)],_0x6fe12d=_0x236095[_0x2cf30c(0x2b7)](_0x506fa5(_0x2732c7));_0xcd26d3[_0x2cf30c(0x349)]=_0x6fe12d;});}return _0x45847c;}async['getSheetBlock'](_0x40eb8f,_0x3e9fe2){var _0x5893d1=_0x67e149;const {unitID:_0x3758b1,type:_0xbcef11,blockID:_0x19f272}=_0x3e9fe2,_0x5a09ab=this['_getAPIPrefix']()+'/'+_0xbcef11+_0x5893d1(0x376)+_0x3758b1+_0x5893d1(0x2df)+_0x19f272;return(await this[_0x5893d1(0x39a)][_0x5893d1(0x188)](_0x5a09ab))[_0x5893d1(0x209)];}async['getDeserializedSheetBlock'](_0x32217c,_0x14bc4a){var _0x1cf409=_0x67e149;const {unitID:_0x4afc28,type:_0xb394dc,blockID:_0xc9722d}=_0x14bc4a,_0x388598=this[_0x1cf409(0x14d)]()+_0x1cf409(0x2df)+_0xb394dc+'/unit/'+_0x4afc28+_0x1cf409(0x2df)+_0xc9722d;return(await this[_0x1cf409(0x39a)][_0x1cf409(0x188)](_0x388598))[_0x1cf409(0x209)];}async['fetchMissingChangesets'](_0x4f5fc0,_0x11abb9){var _0x46cb47=_0x67e149;const {unitID:_0x499c82,type:_0x132005,from:_0x23afb7,to:_0x4d8649}=_0x11abb9,_0x4daeaa=this['_getAPIPrefix']()+'/'+_0x132005+_0x46cb47(0x376)+_0x499c82+_0x46cb47(0x1bb)+_0x23afb7+_0x46cb47(0x2fe)+_0x4d8649;return(await this[_0x46cb47(0x39a)][_0x46cb47(0x188)](_0x4daeaa))[_0x46cb47(0x209)];}[_0x67e149(0x1b2)](){var _0x9796a5=_0x67e149,_0x28e3b3;return(_0x28e3b3=this['_configService'][_0x9796a5(0x357)](Un))!=null?_0x28e3b3:this[_0x9796a5(0x14d)]();}[_0x67e149(0x14d)](){var _0x131d28=_0x67e149,_0x102260,_0x282e2b;const _0x515850=this[_0x131d28(0x263)][_0x131d28(0x357)](Dn),_0xeb569e=this[_0x131d28(0x263)][_0x131d28(0x357)](Y);return(_0x282e2b=(_0x102260=_0xeb569e==null?void 0x0:_0xeb569e[_0x131d28(0x141)])!=null?_0x102260:_0x515850)!=null?_0x282e2b:wn;}async[_0x67e149(0x257)](_0x42f647,_0x3b817e){var _0x583a0a=_0x67e149;const _0x1e9665='/universer-api/snapshot/'+_0x3b817e[_0x583a0a(0x1ea)]+_0x583a0a(0x376)+_0x3b817e[_0x583a0a(0x1d3)]+'/resources';return(await this[_0x583a0a(0x39a)][_0x583a0a(0x188)](_0x1e9665,{'params':{'resourceId':JSON[_0x583a0a(0x271)](_0x3b817e['resourceIDs'])}}))[_0x583a0a(0x209)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x67e149(0x1d2)](){var _0x1a0820=_0x67e149;throw new Error(_0x1a0820(0x1d0));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x67e149(0x1d1)](){var _0x34c6fa=_0x67e149;throw new Error(_0x34c6fa(0x1d0));}[_0x67e149(0x31b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=Wr([di(0x0,_0x127296),di(0x1,_0x57db04(_0x5a59de))],Dt);var Gr=Object[_0x67e149(0x202)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x340924,_0x2222aa,_0x56cd09,_0x399070)=>{var _0x2e5fe9=_0x67e149;for(var _0xae28a6=_0x399070>0x1?void 0x0:_0x399070?Kr(_0x2222aa,_0x56cd09):_0x2222aa,_0x5d3d6e=_0x340924[_0x2e5fe9(0x216)]-0x1,_0x282a7a;_0x5d3d6e>=0x0;_0x5d3d6e--)(_0x282a7a=_0x340924[_0x5d3d6e])&&(_0xae28a6=(_0x399070?_0x282a7a(_0x2222aa,_0x56cd09,_0xae28a6):_0x282a7a(_0xae28a6))||_0xae28a6);return _0x399070&&_0xae28a6&&Gr(_0x2222aa,_0x56cd09,_0xae28a6),_0xae28a6;},Ae=(_0x47a5cc,_0x2df9fc)=>(_0x246821,_0x5c043b)=>_0x2df9fc(_0x246821,_0x5c043b,_0x47a5cc);let wt=class extends _0xcb09ae{constructor(_0x5033da,_0x4ed1d6,_0x39dece,_0x2e70b7,_0x1914ad){var _0x15fce1=_0x67e149;super(_0x5033da,_0x4ed1d6,_0x39dece),this[_0x15fce1(0x14c)]=_0x2e70b7,this[_0x15fce1(0x1a4)]=_0x1914ad;}['transformUndoRedo'](_0x33090f,_0x50b9e1){var _0x1e4bc7=_0x67e149;const _0x524da2=this['_getUndoStack'](_0x33090f);if(_0x524da2)try{const _0x4733a8=this[_0x1e4bc7(0x2f8)](_0x524da2,_0x50b9e1);this[_0x1e4bc7(0x2dc)](_0x33090f,_0x4733a8);}catch(_0x311698){this[_0x1e4bc7(0x1a4)]['error'](_0x1e4bc7(0x368),_0x311698),this[_0x1e4bc7(0x3b6)](_0x33090f);}const _0x4426b4=this[_0x1e4bc7(0x370)](_0x33090f);if(_0x4426b4)try{const _0x1e8b80=this[_0x1e4bc7(0x2f8)](_0x4426b4,_0x50b9e1);this['_substituteRedoStack'](_0x33090f,_0x1e8b80);}catch(_0x5d1e14){this[_0x1e4bc7(0x1a4)][_0x1e4bc7(0x1a1)](_0x5d1e14),this['_clearRedo'](_0x33090f);}}[_0x67e149(0x3b6)](_0x4e859d){var _0x5e1d9f=_0x67e149;const _0x11fb28=this['_getUndoStack'](_0x4e859d);_0x11fb28&&(_0x11fb28[_0x5e1d9f(0x216)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4bcc45){var _0x97de70=_0x67e149;const _0x140f91=this['_getRedoStack'](_0x4bcc45);_0x140f91&&(_0x140f91[_0x97de70(0x216)]=0x0,this[_0x97de70(0x1b4)]());}['_substituteUndoStack'](_0x49c977,_0x2f198e){var _0x235d22=_0x67e149;this['_undoStacks'][_0x235d22(0x2a2)](_0x49c977,_0x2f198e),this[_0x235d22(0x1b4)]();}[_0x67e149(0x2ec)](_0x89f47c,_0x120438){var _0xdd6d88=_0x67e149;this[_0xdd6d88(0x1ce)]['set'](_0x89f47c,_0x120438),this[_0xdd6d88(0x1b4)]();}[_0x67e149(0x2f8)](_0x31842a,_0x308723){var _0x2f1b62=_0x67e149;const _0x3c468e=[];let _0x38b4c1=_0x308723,_0x51ccf5=_0x308723;for(let _0x39d6bc=_0x31842a[_0x2f1b62(0x216)]-0x1;_0x39d6bc>=0x0;_0x39d6bc--){const {unitID:_0x27a0ec,undoMutations:_0x32021c,redoMutations:_0x59718b}=_0x31842a[_0x39d6bc],_0x1d55c6=this[_0x2f1b62(0x14c)][_0x2f1b62(0x2ad)](_0x38b4c1,_0x32021c),_0x1106de=this['_transformService'][_0x2f1b62(0x2ad)](_0x51ccf5,_0x59718b);if(_0x15d7b5(_0x1d55c6)||_0x15d7b5(_0x1106de)){this[_0x2f1b62(0x1a4)]['error']('[CollaborationUndoRedoService]',_0x2f1b62(0x353),_0x1d55c6,_0x1106de);break;}_0x38b4c1=_0x1d55c6[_0x2f1b62(0x185)],_0x51ccf5=_0x1106de[_0x2f1b62(0x185)],_0x3c468e[_0x2f1b62(0x276)]({'unitID':_0x27a0ec,'undoMutations':_0x1d55c6['m2Prime'],'redoMutations':_0x1106de[_0x2f1b62(0x1c8)]});}return _0x3c468e[_0x2f1b62(0x1ca)]();}};wt=zr([Ae(0x0,_0x262205),Ae(0x1,_0x515069),Ae(0x2,_0x1d70c6),Ae(0x3,_0x4d5618),Ae(0x4,_0x5ca4d7)],wt);var Mi=Object[_0x67e149(0x202)],Yr=Object[_0x67e149(0x2b0)],qr=(_0xfa864b,_0x440844,_0x3708a8)=>_0x440844 in _0xfa864b?Mi(_0xfa864b,_0x440844,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3708a8}):_0xfa864b[_0x440844]=_0x3708a8,Jr=(_0x2c418e,_0x4ba8fa,_0x59e083,_0x4eb171)=>{var _0x3b5bf1=_0x67e149;for(var _0x50a352=_0x4eb171>0x1?void 0x0:_0x4eb171?Yr(_0x4ba8fa,_0x59e083):_0x4ba8fa,_0x2f7f51=_0x2c418e[_0x3b5bf1(0x216)]-0x1,_0x33f7c2;_0x2f7f51>=0x0;_0x2f7f51--)(_0x33f7c2=_0x2c418e[_0x2f7f51])&&(_0x50a352=(_0x4eb171?_0x33f7c2(_0x4ba8fa,_0x59e083,_0x50a352):_0x33f7c2(_0x50a352))||_0x50a352);return _0x4eb171&&_0x50a352&&Mi(_0x4ba8fa,_0x59e083,_0x50a352),_0x50a352;},Et=(_0x34c4f9,_0x56f9da)=>(_0x2f6412,_0x324d25)=>_0x56f9da(_0x2f6412,_0x324d25,_0x34c4f9),Xr=(_0x309ecf,_0x246171,_0x466872)=>qr(_0x309ecf,_0x246171+'',_0x466872);function _0x513d(){var _0x4265e6=['prototype','requestParams','/unit/','sessionStatus$','unsubscribe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','target','executeCommand','localeService','UNKNOWN_CMD','UNAUTHENTICATED','subject','enableOfflineEditing','HEARTBEAT_INTERVAL','confirm','_xformMode','OpenSSL','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','send','CHANGESET_REVISION_CONFILICT','$super','_mode','sid','failed\x20to\x20apply\x20missed\x20changesets!','/collaborator','_decreaseWaiting','POST','getUnitStatus$','catch','padding','_socket','status','snapshot','CipherParams','encrypt','_transformIMECache','_onOffline','_httpService','hasOwnProperty','kdf','result','SUCCUSS','addHandlerCallback','setCurrentUser','ONLINE','_entityInit$','userID','interceptor','socketService','_getLoginPath','/-/object/-/batch_allowed','onStarting','wsSessionTicketUrl','_roomCreated$','_onRemoteACK','isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','FAIL','_key','_onRecvEvent','collabWebSocketUrl','_memberService','JOINING','update','add','_clearUndo','key','getRoom','[DataLoaderService]','OTHER_CLIENTS_EDITING','createEncryptor','SHA1','_parse','_getAPIPrefixPath','INTERNAL_ERROR','requireSession','pipe','PERMISSION_REJ','__esModule','onRemoteRetry','loginUrlKey','CONFLICT','OPTIONAL','9762OFiKtS','ERROR_EXCEED_SIZE','awaitingChangeset','csShouldRetryEvent','collaboration-client.config','SYNCED','_collabSessionService','code','uniscriptRunEvent','_loadDoc','COMPRESS_MUTATION_SEND','_onRemoteChangeset','override','clamp','97JZkJMU','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HmacSHA1','SOCKET_FAILED_RETRY','processBlock','allowed','1536564KxPNHd','UUID','_init','random','image/png','_transformUndoredo','onSendChangeset','_changesetSessionId','debug','state$','_tryReconnect','SNAPSHOT_INVALID_SNAPSHOT','finalize','unit-cache-','LIVESHARE_TERMINATE','csRejEvent','[CollaborationEntity]','session','addImageSourceCache','_onConnectionFailed','list','conflict','[CollaborationSessionService]','Latin1','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','event$','_toggleOnline','Undefined','_updateLocalCache','search','_handlerCallback','APPLY_REVISION_CONFILICT','permissionRejEvent','_remoteChangesetQueue','mode','_clearCollaborationTimeoutTimer','saveImage','_hasher','encryptBlock','objectActions','{fileID}','_onLocalMutation','replace','_commentService','_awaitingChangeset','13076456BTHPys','_schedule','min','sigBytes','joinRsp','pluginName','_showConflictNotification','buffer','reject','memberID','setShowComponents','extend','onTransformRemoteChangesetByStateCache','decrypt','rng','_emitMembers','revision','_scheduleCollaborationTimeoutTimer','_socket$','Error\x20on\x20receiving\x20event','_replayCachedMutations','onTransformSelections','_onUserLeave','getTime','MUTATION','_disableEditing','_revisionService','params','newCsEvent','title','\x20-\x20','_candidateSocket','updateMember','_sessions','_map','state','closeSession','editing\x20status\x20changed\x20to','function','_changesetReqId','_resendWithTimeout','apply','Pkcs7','infoRsp','UPDATE_CURSOR','[FetchMissState]','_lockTransition','COMPLETION_FINISHED','blockSize','charAt','_invKeySchedule','emitEvent','localCacheService','UNIVER_DOC','uploadFileServerUrl','ENSURE_SNAPSHOT_EXECUTION','_rescheduleHeartbeat','univer-pro.collaboration-client.network-condition.service','PSEUDO_FETCH_MISSING_RESULT','_localCacheService','splice','snapshotServerUrl','/universer-api/stream/file/upload','/universer-api/user/session-ticket','clearUndoRedo','_doReset','_userManagerService','entityInit$','HMAC','getWorkbookSelections','EvpKDF','_transformRemoteChangesetByStateCache','_transformService','_getAPIPrefix','eventID','indexOf','subUnitId','UNIVER_SLIDE','reconnect','roomInfos','resolve','unitInfo$','session.room-cnt-exceeds','/universer-api/uniscript','4zFVCEu','encodeURIComponent','getCurrentRevOfUnit','fetch_missing','ivSize','_sender','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','create','range','_getUploadFileURL','_collaborationPaused','UNIVER_UNKNOWN','_syncEditingCollabCursor','then','_pendingMutations','_univerInstanceService','unknown','randomBytes','textRanges','LEAVE','mutations','LICENSE_IMPORT_SIZE_EXCEEDED','NEW_CHANGESETS','Worksheet','HEARTBEAT','dispose','sendChangesetTimeout','Utf8','CLOSE_ROOM','SHOULD_CLOSE_CONN','generateRandomId','[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.','string','SUBMIT_CHANGESET','includes','BufferedBlockAlgorithm','_createInitialStateImpl','getRandomValues','_handler','APPLY_PERMISSION_DENIED','session.join-failed','max','sessionTicket','c1Prime','onMissingChangesets','createDecryptor','get','_commentUpdate$','createCollaborator','onStateChange','[OfflineState]:\x20received\x20changeset.','UNIVER_COLLABORATION_CLIENT_PLUGIN','_transformStateCache','LIVESHARE_NEW_HOST','next','fromCollab','enc','synced','_retryConnectingTimer','_createSocketURL','PERMISSION_DENIED','getCollabEntity$','YUUMI_UNABLE_LOAD_URL','ALREADY_EXISTS','_state','sin','_entities','repeat','Could\x20not\x20dynamically\x20require\x20\x22','_shouldReportTelemetry','has','error','_replaceFileID','_compressMutationService','_logService','_permissionService','getValue','_clearLocalCache','compute','ERROR_IMAGE','loadOfflineData','_iKey','MSG_FOR_ERROR','RECV','_throwTelemetryCollaborationNewChangeset','getFocusedUnit','_eventService','ERROR_IMAGE_TYPE','getSnapshotAPIPath','_executeRemoteChangeset','_updateStatus','forEach','onRemoteAck','_submitChangeset','execute','runId','_sheetTransformSelectionsService','/fetchmissing?from=','onSyncEditingCollabCursor','SNAPSHOT_URL_KEY','name','[CollaborationSessionService]:\x20socket\x20error','SOCKET_FAILED','SNAPSHOT_HAS_BEEN_REMOVED','\x20in\x20_schedule.','StreamCipher','words','getImage','algo','resend','m2Prime','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','reverse','_instanceService','every','getUnit','_redoStacks','/allowed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','copyFileMeta','saveSheetBlock','unitID','_initMergeInterceptor','collaMsg','asObservable','_toggleOffline','TOO_MANY_REQUESTS','join','NoPadding','_stopTelemetryCollaborationNewChangeset','removeMember','_reverseMap','appendMutation','status$','_nRounds','commentUpdate$','_authzIoService','&assign=','UnitSnapshot','message$','LOGIN_URL_KEY','UNIVER_PROJECT','10vwsypb','PERSON','type','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_startCollaboration','transformUndoRedo','getCurrentUser','retryConnectingInterval','map','crypto','session.room-full','onCommandExecuted','_isPermissionRej','complete','/object/','cmd','_sendHeartbeat','LIVESHARE_REQUEST_HOST','isArray','fetchMiss','_sessionStatus$','OFFLINE','_members','byteLength','format','roles','defineProperty','open$','getImageSourceCache','reset','withCredentials','_data','_sendingTimer','body','append','_clearTimeoutTimer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','USERS_LEAVE','init','rev','createInstance','mixIn','Base','objectID','_minBufferSize','routeKey','length','_onRemoteRetry','telemetry\x20info\x20is\x20not\x20initialized','BASE64','changesets','?url=','_doCryptBlock','image/jpeg','method','_exhaustRemoteChangesetQueue','/universer-api/authz','getMemberID','_getCurrentRevision','FETCH_MISS','subscribe','members$','_getCtorByUniverType','GLOBAL_ROOMS_CNT_EXCEEDS','offline','connection\x20error','clone','JOIN_ROOM_NOT_EXISTS','FileId','Workbook','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reduce','_scheduleCompleteTimestamp','randomUUID','getMember','_injector','NOT_FOUND','slice','2350AsdEyc','_onConnectionOpen','onLocalMutation','_snapshotService','action','_initUnitPermissionChange','OTHER_CLIENT_EDITING','_collaborationTimeoutTimer','Hasher','size','searchParams','enableSingleActiveInstanceLock','editingUnit','floor','clear','_cipher','Malformed\x20UTF-8\x20data','MD5','getUnitOnRev','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','image/gif','sessionStatus','_clearHeartbeatTimer','[OfflineState]:\x20received\x20acknowledgement.','onCommentUpdate','exports','_change$','_telemetryInfo','_queuedRemoteChangesets','LIVESHARE_FETCH_OPERATIONS','WordArray','put','objectType','getResourcesRequest','UnitEmbedded','deleteCollaborator','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','transformSelections','not_collab','onMissedChangesetFetched','_unitInfo$','_ENC_XFORM_MODE','CHANGESET_ACK','_HTTPService','_checkMissing','_configService','_oKey','value','collabSubmitChangesetUrl','compose','joinEvent','fetchThroughInterceptors','UNIVER_SHEET','msCrypto','avatar','onTransformState','_retryCount','pauseCollaboration','abs','stringify','updatePermissionPoint','keySize','_initDependencies','href','push','_socketService','onlyLocal','_createHmacHelper','_createHandler','NOT_COLLAB','_singleActiveUnitService','_applyRemoteChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_listenToNetworkCondition','getSheetId','APPLY_REJECT','headers','_imageSourceCache','liveShareOperation','_updateState','getInterceptPoints','_initRequestHeader','delete','subType','FETCH_MISSING','collaboration-client.local-cache-service','univer-pro.collaboration-client-socket-service','readyForCollab','_socketReady','SEND_CHANGESET_TIMEOUT','startsWith','_doProcessBlock','selections','waitForRoom$','location','_append','toggleOnline','collaboration_new_changeset','LICENSE_EXPORT_SIZE_EXCEEDED','getPermissionPoint','Decryptor','toggleOffline','__creator','deepClone','/universer-api/snapshot','_prevBlock','onTransformIME','pad','set','pending','default','entries','toString','close','SUBMIT_CHANGESET_TIMEOUT','_startTelemetryCollaborationNewChangeset','_onConflict','_commandService','[SyncedState]:\x20received\x20acknowledgement.','transformMutationsWithChangeset','stopTime','online$','getOwnPropertyDescriptor','LIVESHARE_OPERATION','initWorkbookPermissionChange','hasher','session.room-permission-denied','ruleRefresh','_waitForHeartbeatResponse','encode','session.room-not-exists','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','batchAllowed','listCollaborators','Encryptor','[CollaborationSession]','_onRemoteRejected','workbook','USERS_ENTER','post','bind','_localeService','_getSessionTicket','_members$','AES','_unlockTransition','NO_OTHER_CLIENTS_EDITING','ciphertext','_fetchMissChangesets','_collaborationSessionService','onTransformRemoteChangesetByIMECache','signUrlServerUrl','_initCloseConn','authzUrl','createSocket','8054aaEONu','_registerDependencies','_config','find','onload','UNKNOWN_CODE','_transformSelections','reqId','PasswordBasedCipher','[CollaborationState]:\x20apply\x20error!','onRemoteChangeset','_substituteUndoStack','fromCharCode','HttpImport','/block/','cfg','src','_unitID','now','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[PendingState]:\x20received\x20acknowledgement.','9wCyVnR','COLLAB_WEB_SOCKET_URL','capture','_transitionLocked','values','_collaborationUIEventService','_substituteRedoStack','_clearScheduledTask','_resendTimer','_undoRedoService','_networkConditionService','patch','_acknowledgedAwaitingChangeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','lib','COMPRESS_MUTATION_APPLY','readAsDataURL','3190796jTLFwX','_transformStack','/object','url','disposeWithMe','getUnitId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','&to=','setConfig','call','_snapshotServerService','CHANGESET_SHOULD_RETRY','getTypeOfUnitDisposed$','_telemetryService','HELLO','YUUMI_SUBSCRIPTION_NOT_FOUND','registerHTTPInterceptor','BlockCipher','BlockCipherMode','_roomMembers','_timeoutTimer','salt','byteOffset','/role','__Key__','_keySchedule','_hash','socket\x20open.','People','_sendHeartbeatTimer','json','_status$','filter','_type','unitId','JOIN_ROOM_FULL','getLatestCsReqIdBySid','ceil','close$','getTypeOfUnitAdded$','SNAPSHOT_SERVER_URL_KEY','DEFAULT_FILE_NAME','\x20to\x20','data','/universer-api/file/{fileID}/sign-url','CHANGESET_REJ','_socketMessageSubscription','_createSocket','_createInitialState','dispose$','_tryEnsureSocket','origin','LICENSE_MAX_UNITS_EXCEEDED','_process','putCollaborators','_nDataBytes','&source=','fetching\x20missing\x20changesets\x20from\x20','charCodeAt','UNRECOGNIZED','LICENSE_DISTRO_REJECTED','_waitCount','YUUMI_RATE_OVER_LIMIT','INGEST','4776101bxTrYB','commentUpdateEvent','Base64','onRemoteRej','toLowerCase','IDLE','_event$','socket$','HttpExport','getUnitType','getTargetByPermissionId','transformChangesets','_getSendChangesetTimeout','_incrementRevisionNumber','file','actions','error$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','originalMeta','CONNECTOR_DATA_TOO_LARGE','members','Cipher','loadDoc','YUUMI_URL_COL_OUT_OF_RANGE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UPDATE_PERMISSION_OBJ','startTime','listRoles','transformStack\x20failed!','JOIN','_removeRoom','_loadSheet','getConfig','_keyPriorReset','downloadEndpointUrl','_joinRoom','from','application/json','baseRev','PENDING','UNISCRIPT_RUN','getCollabEntity','leaveEvent','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20rejection.','liveShareNewHost','collaborators','COMMENT_UPDATE','_resendTimeout','[CollaborationUndoRedoService]','updateCollaborator','hostname','JOIN_ROOM_PERMISSION_DENIED','32827656emOACt','refreshPermission','ws://127.0.0.1:8000/universer-api/comb/connect','SerializableCipher','_getRedoStack','concat','HEARTBEAT_TIMEOUT','disableLocalCache'];_0x513d=function(){return _0x4265e6;};return _0x513d();}const Zr=_0x67e149(0x18d);let Ut=class extends _0x27edd9{constructor(_0x2192a0=zt,_0x53902e,_0x540ce9,_0x5a17eb){var _0x5cdac2=_0x67e149;super(),this[_0x5cdac2(0x2d3)]=_0x2192a0,this['_logService']=_0x53902e,this[_0x5cdac2(0x233)]=_0x540ce9,this[_0x5cdac2(0x263)]=_0x5a17eb;const {..._0x57e375}=_0x7d36b8({},zt,this[_0x5cdac2(0x2d3)]);this['_configService'][_0x5cdac2(0x2ff)](Y,_0x57e375);}[_0x67e149(0x3a8)](){var _0x2e8b79=_0x67e149;this[_0x2e8b79(0x2d2)](),this['_initDependencies']();}[_0x67e149(0x2d2)](){var _0x1ac37b=_0x67e149,_0x29f95e,_0x19a293,_0x446dc3,_0x20c33c;this['_injector']['has'](_0x1d537c)&&this[_0x1ac37b(0x1a4)][_0x1ac37b(0x1a1)]('[UniverCollaborationClientPlugin]',_0x1ac37b(0x379));const _0x15a4cd=_0x1d7886([[_0x1d537c,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x19a293=(_0x29f95e=this[_0x1ac37b(0x2d3)])==null?void 0x0:_0x29f95e[_0x1ac37b(0x3a5)])!=null?_0x19a293:It}],[_0x34121e,{'useClass':Dt}],[_0x361a2a,{'useClass':yt}],[_0x3950ec,{'useClass':Nt}],[_0x26facf,{'useClass':Pt}],[rt],[Rt]],(_0x446dc3=this['_config'])==null?void 0x0:_0x446dc3[_0x1ac37b(0x3d4)]);if(!((_0x20c33c=this['_config'])!=null&&_0x20c33c[_0x1ac37b(0x241)])){const _0xcf6b86=_0x15a4cd['findIndex'](([_0x162045])=>_0x162045===_t);_0xcf6b86!==-0x1&&_0x15a4cd[_0x1ac37b(0x140)](_0xcf6b86,0x1);}_0x53adb2(this['_injector'],_0x15a4cd);}[_0x67e149(0x274)](){var _0x3ced72=_0x67e149,_0x361738,_0x54751d,_0x4542fb;this[_0x3ced72(0x233)][_0x3ced72(0x188)](_0x5a59de)[_0x3ced72(0x307)]({'priority':0x14,'interceptor':_0x58116e({'maxParallel':0x6})}),(_0x361738=this['_config'])!=null&&_0x361738[_0x3ced72(0x380)]||(_0x54751d=this[_0x3ced72(0x233)][_0x3ced72(0x188)](X,_0x4a1d61[_0x3ced72(0x3c7)]))==null||_0x54751d[_0x3ced72(0x373)](),(_0x4542fb=this[_0x3ced72(0x2d3)])!=null&&_0x4542fb['enableAuthServer']&&_0xa5b92(this['_injector'],[[ot]]),_0xa5b92(this[_0x3ced72(0x233)],[[at],[rt],[ct]]);}};Xr(Ut,_0x67e149(0x109),Zr),Ut=Jr([_0x94cc1(_0xf249fd,_0x3bb86a,_0x25e510),Et(0x1,_0x5ca4d7),Et(0x2,_0x57db04(_0x58538f)),Et(0x3,_0x127296)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};