@univerjs-pro/collaboration-client 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506021607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1c66a7=_0x1aa6;(function(_0x25c4be,_0x2a3494){var _0x33e715=_0x1aa6,_0x538fff=_0x25c4be();while(!![]){try{var _0x16dc43=parseInt(_0x33e715(0x268))/0x1+-parseInt(_0x33e715(0x482))/0x2*(-parseInt(_0x33e715(0x3f6))/0x3)+-parseInt(_0x33e715(0x1f4))/0x4*(parseInt(_0x33e715(0x2ae))/0x5)+-parseInt(_0x33e715(0x295))/0x6+-parseInt(_0x33e715(0x1e9))/0x7*(-parseInt(_0x33e715(0x33f))/0x8)+parseInt(_0x33e715(0x39e))/0x9+-parseInt(_0x33e715(0x45b))/0xa;if(_0x16dc43===_0x2a3494)break;else _0x538fff['push'](_0x538fff['shift']());}catch(_0x512f31){_0x538fff['push'](_0x538fff['shift']());}}}(_0x4ec6,0x1e71b));var Dt=Object[_0x1c66a7(0x223)],At=(_0x2cf3af,_0x404882,_0x23b120)=>_0x404882 in _0x2cf3af?Dt(_0x2cf3af,_0x404882,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b120}):_0x2cf3af[_0x404882]=_0x23b120,A=(_0x1c0107,_0x525b52,_0x47c946)=>At(_0x1c0107,typeof _0x525b52!=_0x1c66a7(0x1fb)?_0x525b52+'':_0x525b52,_0x47c946);Object[_0x1c66a7(0x223)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x1c66a7(0x3dd)),$=require(_0x1c66a7(0x1f8)),V=require(_0x1c66a7(0x1ca)),I=require(_0x1c66a7(0x49e)),Y=require('@univerjs/network'),Pt=require(_0x1c66a7(0x2ea)),ht=require(_0x1c66a7(0x1cd)),X=require('@univerjs/sheets'),z=require(_0x1c66a7(0x22e)),wt=require(_0x1c66a7(0x40e)),_t=_0x1c66a7(0x29b),Lt=_0x1c66a7(0x37b),lt=_0x1c66a7(0x388),Mt=_0x1c66a7(0x2df),xt=0x7d0,ut=_0x1c66a7(0x3ac),dt=_0x1c66a7(0x442),kt=_0x1c66a7(0x144),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x1c66a7(0x410),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x1c66a7(0x364),Ft=0x3e8,pt=_0x1c66a7(0x49f),Vt='/universer-api/comb',It='LOGIN_URL_KEY',Wt=_0x1c66a7(0x380),Gt=_0x1c66a7(0x461),Kt=_0x1c66a7(0x3ef);var gt=(_0x448eb=>(_0x448eb[_0x448eb[_0x1c66a7(0x1fc)]=0x0]=_0x1c66a7(0x1fc),_0x448eb[_0x448eb['OK']=0x1]='OK',_0x448eb[_0x448eb[_0x1c66a7(0x2b3)]=0x2]=_0x1c66a7(0x2b3),_0x448eb[_0x448eb[_0x1c66a7(0x2bd)]=0x3]=_0x1c66a7(0x2bd),_0x448eb[_0x448eb[_0x1c66a7(0x366)]=0x4]=_0x1c66a7(0x366),_0x448eb[_0x448eb[_0x1c66a7(0x46b)]=0x5]=_0x1c66a7(0x46b),_0x448eb[_0x448eb[_0x1c66a7(0x1f2)]=0x6]=_0x1c66a7(0x1f2),_0x448eb[_0x448eb['INVALID_ARGUMENT']=0x7]=_0x1c66a7(0x2a3),_0x448eb[_0x448eb[_0x1c66a7(0x46e)]=0x8]='TOO_MANY_REQUESTS',_0x448eb[_0x448eb[_0x1c66a7(0x2e6)]=0x9]=_0x1c66a7(0x2e6),_0x448eb[_0x448eb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x448eb[_0x448eb['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x448eb[_0x448eb[_0x1c66a7(0x1fe)]=0x1771]=_0x1c66a7(0x1fe),_0x448eb[_0x448eb[_0x1c66a7(0x1db)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x448eb[_0x448eb['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c66a7(0x1c8),_0x448eb[_0x448eb[_0x1c66a7(0x2ca)]=0x1b59]=_0x1c66a7(0x2ca),_0x448eb[_0x448eb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1c66a7(0x41b),_0x448eb[_0x448eb[_0x1c66a7(0x1e1)]=0x1b5b]=_0x1c66a7(0x1e1),_0x448eb[_0x448eb['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1c66a7(0x142),_0x448eb[_0x448eb['APPLY_DUPLICATED']=0x1b5d]=_0x1c66a7(0x1ac),_0x448eb[_0x448eb['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c66a7(0x3c2),_0x448eb[_0x448eb[_0x1c66a7(0x174)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x448eb[_0x448eb[_0x1c66a7(0x302)]=0x232a]=_0x1c66a7(0x302),_0x448eb[_0x448eb[_0x1c66a7(0x413)]=0x232b]=_0x1c66a7(0x413),_0x448eb[_0x448eb[_0x1c66a7(0x3c3)]=0x232c]=_0x1c66a7(0x3c3),_0x448eb[_0x448eb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1c66a7(0x2aa),_0x448eb[_0x448eb[_0x1c66a7(0x238)]=0x2711]=_0x1c66a7(0x238),_0x448eb[_0x448eb[_0x1c66a7(0x27a)]=0x2712]=_0x1c66a7(0x27a),_0x448eb[_0x448eb[_0x1c66a7(0x498)]=0x2713]=_0x1c66a7(0x498),_0x448eb[_0x448eb[_0x1c66a7(0x1d1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x448eb[_0x448eb['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x448eb[_0x448eb['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x448eb[_0x448eb[_0x1c66a7(0x191)]=0x271c]=_0x1c66a7(0x191),_0x448eb[_0x448eb[_0x1c66a7(0x1ab)]=0x271d]=_0x1c66a7(0x1ab),_0x448eb[_0x448eb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x448eb[_0x448eb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1c66a7(0x3c7),_0x448eb[_0x448eb[_0x1c66a7(0x1f0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x448eb[_0x448eb[_0x1c66a7(0x3f3)]=0x2ee1]=_0x1c66a7(0x3f3),_0x448eb[_0x448eb[_0x1c66a7(0x377)]=0x2ee2]='INVALID_INVITE_CODE',_0x448eb[_0x448eb[_0x1c66a7(0x473)]=0x2ee3]=_0x1c66a7(0x473),_0x448eb[_0x448eb[_0x1c66a7(0x370)]=0x2ee4]=_0x1c66a7(0x370),_0x448eb[_0x448eb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x448eb[_0x448eb[_0x1c66a7(0x157)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x448eb[_0x448eb[_0x1c66a7(0x15a)]=0x32ca]=_0x1c66a7(0x15a),_0x448eb[_0x448eb['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1c66a7(0x1b3),_0x448eb[_0x448eb[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x448eb))(gt||{}),J=(_0x3c3d0f=>(_0x3c3d0f[_0x3c3d0f['UNIVER_UNKNOWN']=0x0]=_0x1c66a7(0x254),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x455)]=0x1]=_0x1c66a7(0x455),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x1dc)]=0x2]='UNIVER_SHEET',_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x3d9)]=0x3]=_0x1c66a7(0x3d9),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x306)]=0x4]=_0x1c66a7(0x306),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x3c3d0f))(J||{}),W=(_0x52e18b=>(_0x52e18b[_0x52e18b['UNKNOWN_CMD']=0x0]=_0x1c66a7(0x1ae),_0x52e18b[_0x52e18b[_0x1c66a7(0x2fa)]=0x1]=_0x1c66a7(0x2fa),_0x52e18b[_0x52e18b['JOIN']=0x2]=_0x1c66a7(0x24d),_0x52e18b[_0x52e18b[_0x1c66a7(0x43f)]=0x3]=_0x1c66a7(0x43f),_0x52e18b[_0x52e18b[_0x1c66a7(0x4b8)]=0x4]=_0x1c66a7(0x4b8),_0x52e18b[_0x52e18b[_0x1c66a7(0x464)]=0x5]=_0x1c66a7(0x464),_0x52e18b[_0x52e18b[_0x1c66a7(0x335)]=0x6]=_0x1c66a7(0x335),_0x52e18b[_0x52e18b['UNRECOGNIZED']=-0x1]=_0x1c66a7(0x253),_0x52e18b))(W||{}),oe=(_0x4701b7=>(_0x4701b7[_0x4701b7[_0x1c66a7(0x2c1)]=0x0]='UNKNOWN_CODE',_0x4701b7[_0x4701b7['OK']=0x1]='OK',_0x4701b7[_0x4701b7[_0x1c66a7(0x177)]=0x2]=_0x1c66a7(0x177),_0x4701b7[_0x4701b7[_0x1c66a7(0x336)]=0x3e9]=_0x1c66a7(0x336),_0x4701b7[_0x4701b7['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1c66a7(0x4ae),_0x4701b7[_0x4701b7[_0x1c66a7(0x1b7)]=0x3eb]=_0x1c66a7(0x1b7),_0x4701b7[_0x4701b7[_0x1c66a7(0x1ef)]=0x3ec]=_0x1c66a7(0x1ef),_0x4701b7[_0x4701b7['UNRECOGNIZED']=-0x1]=_0x1c66a7(0x253),_0x4701b7))(oe||{}),Et=(_0x35f098=>(_0x35f098[_0x35f098['Undefined']=0x0]=_0x1c66a7(0x33e),_0x35f098[_0x35f098[_0x1c66a7(0x449)]=0x1]='HttpImport',_0x35f098[_0x35f098[_0x1c66a7(0x3e5)]=0x2]='HttpExport',_0x35f098[_0x35f098[_0x1c66a7(0x16a)]=0x3]=_0x1c66a7(0x16a),_0x35f098[_0x35f098['UnitSnapshot']=0x4]='UnitSnapshot',_0x35f098[_0x35f098[_0x1c66a7(0x402)]=0x5]=_0x1c66a7(0x402),_0x35f098[_0x35f098[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x35f098))(Et||{});const K=_0x1c66a7(0x29e),Yt={};var Z=(_0x525703=>(_0x525703[_0x1c66a7(0x3f7)]=_0x1c66a7(0x3f7),_0x525703[_0x1c66a7(0x2bd)]=_0x1c66a7(0x2bd),_0x525703[_0x1c66a7(0x1e2)]=_0x1c66a7(0x1e2),_0x525703['CLOSE_ROOM']='CLOSE_ROOM',_0x525703['JOIN_ROOM_FAILED']=_0x1c66a7(0x232),_0x525703[_0x1c66a7(0x3a7)]=_0x1c66a7(0x3a7),_0x525703[_0x1c66a7(0x489)]='SOCKET_FAILED',_0x525703['SUBMIT_CHANGESET_TIMEOUT']=_0x1c66a7(0x384),_0x525703))(Z||{});class ee{constructor(){var _0xfa6e64=_0x1c66a7;A(this,_0xfa6e64(0x184),new $[(_0xfa6e64(0x2bf))]()),A(this,_0xfa6e64(0x1e5),this['_event$']['asObservable']());}[_0x1c66a7(0x2c0)](_0x49d482){var _0x38be69=_0x1c66a7;this['_event$'][_0x38be69(0x18f)](_0x49d482);}}const mt=a[_0x1c66a7(0x4a4)]('univer-pro.collaboration-client.network-condition.service');function _0x4ec6(){var _0x1f4ab4=['joinEvent','[CollaborationSessionService]:\x20socket\x20error','SUBMIT_CHANGESET_TIMEOUT','delete','ERROR_IMAGE','downloadEndpointUrl','SNAPSHOT_URL_KEY','location','_snapshotServerService','confirm','updatePermissionObjEvent','/role','max','PasswordBasedCipher','CollaborativeUndoRedoService','ImageSourceType','_replayCachedMutations','snapshot','abs','collaborators','onRemoteRej','clear','/object/','[OfflineState]:\x20received\x20changeset.','registerHTTPInterceptor','isTransformMutationsWithChangesetSuccess','SheetCollaborationEntity','LocaleService','1778940foxVaf','SnapshotServerOverHTTPService','message$','map','toggleOnline','setShowComponents','dispose$','data','values','SOCKET_FAILED_RETRY','onload','UNISCRIPT_RUN','_keySchedule','?url=','COLLAB_WEB_SOCKET_URL','csAckEvent','UnitStatus','COLLAB_WEB_SOCKET_URL_KEY','_onJoinRoomEvent','baseRev','complete','/object','/-/object/list','csShouldRetryEvent','error','getConfig','_sender','loadOfflineData','Encryptor','_sendingTimer','_reverseMap','withCredentials','LIVESHARE_NEW_HOST','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_state$','_sessions','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','FileId','getCurrentRevOfUnit','ivSize','YUUMI_AI_RUN_FAILED','then','Optional','_transformIMECache','awaiting_with_pending','_changesetSessionId','PSEUDO_FETCH_MISSING_RESULT','_startTelemetryCollaborationNewChangeset','_tryReconnect','batchAllowed','CommentService','encryptBlock','compose','authzUrl','isPermissionRej','Tools','msCrypto','_onConnectionFailed','UNIVER_SLIDE','WordArray','/universer-api/authz','_waitCount','@univerjs/core','_DEC_XFORM_MODE','image/png','_undoRedoService','_entities','?size=','ERROR_EXCEED_SIZE','algo','HttpExport','WorkbookEditablePermission','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Base64','UPDATE_CURSOR','status','concatMap','_onUserLeave','mode','random','/universer-api/uniscript','disposeWithMe','onTransformRemoteChangesetByIMECache','hasher','INVITE_CODE_HAS_BEEN_UES','/collaborator','socket\x20open.','740322YUDDMv','OTHER_CLIENT_EDITING','open$','_invKeySchedule','params','encodeURIComponent','&to=','sin','ISnapshotServerService','result','subscribe','toDisposable','UserProfileImg','Disposable','selections','INetworkConditionService','UniverCollaborationClientPlugin','getLocalCacheKey','getTypeOfUnitAdded$','_iv','SUCCUSS','Pkcs7','univer-pro.collaboration-client-socket-service','keySize','@univerjs-pro/license','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HEARTBEAT_TIMEOUT','filter','blockSize','LICENSE_IMPORT_SIZE_EXCEEDED','updateOfflineData','_unitInfo$','enc','onStateChange','_config','_doProcessBlock','__Key__','APPLY_NON_SEQUENTIAL_REVISION','mapDocumentTypeToUniverType','_socketService','error$','getRoom','copyFileMeta','push','onRemoteAck','_pendingMutations','LIVESHARE_TERMINATE','_minBufferSize','_onConnectionOpen','updateCursorEvent','m2Prime','allowed','_compressMutationService','createSocket','exports','_getCtorByUniverType','forEach','submit\x20changeset\x20error!','_incrementRevisionNumber','_clearHeartbeatTimer','pluginName','_state','liveShareOperation','_retryConnectingTimer','_changesetReqId','iterations','_hash','hasOwnProperty','SheetTransformSelectionsService','_nRounds','MentionType','mixIn','localeService','LEAVE','_members','_applyRemoteChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_clearRedo','JSONX','getUnitOnRev','AWAITING','_doFinalize','onTransformRemoteChangesetByStateCache','HttpImport','BlockCipherMode','_initRequestHeader','[PendingState]:\x20unhandled\x20univer\x20type:\x20','addHandlerCallback','CommandType','send','_HTTPService','entityInit$','MergeInterceptorFactory','createEncryptor','_transitionLocked','UNIVER_DOC','_stopTelemetryCollaborationNewChangeset','ConflictState','_doCreateSocket','_collaborationUIEventService','loginUrlKey','4771650fmVfuW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_hasher','FetchingMissState','_collaborationTimeoutTimer','session.room-not-exists','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x20-\x20','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HEARTBEAT','onMissingChangesets','fetchMissingChangesets','MemberService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AwaitingWithPendingState','getRandomValues','UNAUTHENTICATED','[CollaborationSessionService]','_tryEnsureSocket','TOO_MANY_REQUESTS','execute','COLLAB_SUBMIT_CHANGESET_URL_KEY','buffer','AWAITING_WITH_PENDING','INVITE_CODE_REQUIRED','socketService','put','permissionRejEvent','_disableEditing','RETRY_CONNECTING_MAX_COUNT_KEY','memberID','_createSocket','_onLocalMutation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','csRejEvent','replace','_telemetryService','JOINING','EvpKDF','2uJbrQf','transformChangesets','ReplaySubject','_socket','status$','b64DecodeUnicode','action','SOCKET_FAILED','_keyPriorReset','_listenToNetworkCondition','_instanceService','_lockTransition','UPDATE_PERMISSION_OBJ','People','onMissedChangesetFetched','offline','UniverNetworkPlugin','IImageIoService','_unitID','getUnitId','_socketMessageSubscription','words','YUUMI_RATE_OVER_LIMIT','LIVESHARE_REQUEST_HOST','transformStack\x20failed!','getImage','{fileID}','_transformStateCache','@univerjs-pro/collaboration','COLLAB_SUBMIT_CHANGESET_URL','_transformStack','setConfig','ILocalCacheService','Hasher','createIdentifier','_scheduleCollaborationTimeoutTimer','getTime','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_updateLocalCache','loadUnit','RichTextEditingMutation','file','isTransformChangesetsSuccess','\x0aCurrent:\x20','JOIN_ROOM_NOT_EXISTS','fetchThroughInterceptors','_resendTimer','_getDownloadEndpointURL','updateCollaborator','DEFAULT_WS_SESSION_TICKET_URL','_networkConditionService','_revisionService','ERROR_IMAGE_TYPE','/block/','INGEST','Workbook','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createCollaborator','splice','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearUndo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','APPLY_PERMISSION_DENIED','socket\x20close','/universer-api/user/session-ticket','init','NO_OTHER_CLIENTS_EDITING','POST','catch','c2Prime','Base','_collaborationPaused','_append','fetching\x20missing\x20changesets\x20from\x20','SyncedState','incrementRevOfUnit','_onRemoteRetry','fetch_missing','CollaborationEvent','_process','onLocalMutation','charAt','_shouldReportTelemetry','WECHAT_HAS_BEEN_BOUND','_getUploadFileURL','synced','MOBILE_HAS_BEEN_BOUND','SheetsSelectionsService','cmd','registerDependencies','SUBMIT_CHANGESET','ITransformService','routeKey','readyForCollab','getUnitType','_throwTelemetryCollaborationNewChangeset','resolve','_onConflict','Utf8','/unit/','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.join-failed','UnitEmbedded','CollaborationEntity','debug','ceil','BufferedBlockAlgorithm','image/gif','_awaitingChangeset','_clearScheduledTask','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LICENSE_MAX_UNITS_EXCEEDED','_createInitialState','OpenSSL','FAIL','LIVESHARE_FETCH_OPERATIONS','string','changesets','mutations','HmacMD5','_prevBlock','COMPRESS_MUTATION_SEND','_sessionStatus$','objectType','onlyLocal','editingUnit','SHA1','_event$','&source=','delay','OTHER_CLIENTS_EDITING','awaitingChangeset','__creator','subject','getOwnPropertyDescriptor','apply','getDeserializedSheetBlock','collabWebSocketUrl','next','_createHandler','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Could\x20not\x20dynamically\x20require\x20\x22','lib','_substituteUndoStack','not_collab','_clearTimeoutTimer','requestParams','commentUpdate$','_change$','touchDependencies','RxDisposable','setCurrentUser','/resources','_undoStacks','_clearCollaborationTimeoutTimer','ImageUploadStatusType','mergeOverrideWithDependencies','onStarting','pipe','roles','_getLoginPath','Inject','DEFAULT_COLLAB_WEB_SOCKET_URL','failed\x20to\x20apply\x20missed\x20changesets!','startTime','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','updateSnapshot','UNKNOWN_CMD','getFocusedUnit','method','textRanges','loadUnitOfRevision','EMAIL_HAS_BEEN_BOUND','appendMutation','concat','_type','JOIN_ROOM_PERMISSION_DENIED','name','PendingState','Malformed\x20UTF-8\x20data','MUTATION','unitInfo$','Plugin','CollaborationImageIoService','BehaviorSubject','length','create','key','_permissionService','default','/universer-api/stream/file/upload','salt','CHANGESET_SHOULD_RETRY','ENSURE_SNAPSHOT_EXECUTION','SessionStatus','rxjs/operators','[DataLoaderService]','format','@univerjs/docs','duration','_getRedoStack','_onMessage','YUUMI_SUBSCRIPTION_NOT_FOUND','fetchMiss','NOT_COLLAB','_nDataBytes','_onRemoteACK','_entityInit$','onTransformState','_memberService','SHOULD_CLOSE_CONN','_onRemoteRejected','SNAPSHOT_HAS_BEEN_REMOVED','UNIVER_SHEET','crypto','byteLength','unsubscribe','interceptor','APPLY_REVISION_CONFILICT','CONFLICT','getTypeOfUnitDisposed$','change$','event$','enableCollaboration','textEncoder','onSendChangeset','896IBnveW','padding','_socket$','sequenceExecute','patch','retryConnectingInterval','GLOBAL_ROOMS_CNT_EXCEEDS','PY_RUNTIME_SCRIPT_ERROR','refreshPermission','ALREADY_EXISTS','RevisionService','569608wTcYTU','workbook','connection\x20error','executeCommand','rxjs','_fetchMissChangesets','CBC','symbol','UNDEFINED','update','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','call','session.room-full','createDecryptor','_onRecvEvent','_univerInstanceService','_createHmacHelper','[CollaborationUndoRedoService]','merge','_retryCount','_data','rev','/universer-api/snapshot/','userID','EmptyMutation','AuthzIoHttpService','_candidateSocket','_updateState','sigBytes','getWorkbookSelections','unitId\x20is\x20not\x20found','_updateStatus','Decryptor','slice','randomBytes','reset','_transformSelections','eventID','_substituteRedoStack','newCsEvent','toString','add','_resendTimeout','_key','onTransformIME','objects','defineProperty','[CollaborationEntity]','_transformService','isInternalEditorID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onFetchMissResult','IPermissionService','_initMergeInterceptor','responseType','collabSubmitChangesetUrl','close','@univerjs/drawing','takeUntil','SheetPermissionInitController','type','JOIN_ROOM_FAILED','asObservable','_unlockTransition','resend','$super','joinRsp','YUUMI_UNABLE_LOAD_URL','transformMutationsWithChangeset','AUTHZ_URL_KEY','_acknowledgedAwaitingChangeset','univer-pro.collaboration-client.single-active-unit-service','UniverInstanceType','deserializeToCombResponse','_transformUndoredo','HTTPRequest','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CipherParams','getAllMembers','[CollaborationSession]','getCurrentUser','UserManagerService','_commandService','shareReplay','getInterceptPoints','_sendHeartbeat','_localCacheService','stopTime','JOIN','session.room-cnt-exceeds','ciphertext','unitId','image/jpg','includes','UNRECOGNIZED','UNIVER_UNKNOWN','onSyncEditingCollabCursor','/allowed','origin','charCodeAt','indexOf','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateMember','IUndoRedoService','_isPermissionRej','close$','InsertSheetMutation','_mode','_handler','_onOffline','CollaborationSessionService','_registerDependencies','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HMAC','OfflineState','190124QpBCNn','updatePermissionPoint','_roomCreated$','saveImage','_emitMembers','_configService','liveShareNewHost','readAsDataURL','_replaceFileID','_joinRoom','onRemoteRetry','UniverCollaborationPlugin','find','NoPadding','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IMentionIOService','take','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','_xformMode','_remoteChangesetQueue','actions','originalMeta','MD5','dispose','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','FETCH_MISS','_socketReady','getUnitStatus$','enableOfflineEditing','OFFLINE','_waitForHeartbeatResponse','onRemoteChangeset','_ENC_XFORM_MODE','_parse','transformSelections','_redoStacks','_onRemoteChangeset','image/jpeg','_showConflictNotification','_singleActiveUnitService','unit-cache-','size','\x20in\x20_schedule.','476856kvXMsY','/new_changes','_executeRemoteChangeset','CollaborationUIEventService','ISocketService','CollaborationController','SNAPSHOT_SERVER_URL_KEY','_toggleOffline','_getSendChangesetTimeout','collaboration-client.config','/rev/','sessionStatus$','objectID','leaveEvent','INVALID_ARGUMENT','BlockCipher','_commentService','join','_snapshotService','DependentOn','from','LICENSE_DISTRO_REJECTED','append','transformUndoRedo','pending','5DJTLnb','_resendWithTimeout','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_initDependencies','listCollaborators','INTERNAL_ERROR','CHANGESET_ACK','_doCryptBlock','members$','CompressMutationService','_onCombEvent','_map','get','session','_collabSessionService','PERMISSION_DENIED','_onUserJoin','Subject','emitEvent','UNKNOWN_CODE','CollaborationSocketService','socket$','_getSignURL','target','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IUniverInstanceService','ILogService','_sendHeartbeatTimer','APPLY_REJECT','clamp','_startCollaboration','reconnect','_submitChangeset','_injector','[PendingState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20acknowledgement.','list','_scheduleCompleteTimestamp','_handlerCallback','PERSON','_sheetTransformSelectionsService','CLOSE_ROOM','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getMemberID','floor','getResourcesRequest','[FetchMissState]','reqId','_localeService','SEND_CHANGESET_TIMEOUT','_createInitialStateImpl','DisposableCollection','_initCloseConn','\x20to\x20','PERMISSION_REJ','getImageSourceCache','COMPLETION_FINISHED','isArray','disableLocalCache','generateRandomId','@univerjs/telemetry','startsWith','onCommandExecuted','LIVESHARE_OPERATION','conflict','c1Prime','reject','title','Cipher','getSheetId','getSnapshotAPIPath','_syncEditingCollabCursor','focused$','addImageSourceCache','finalize','_removeRoom','HELLO','/universer-api/file/{fileID}/sign-url','findIndex','CollaborationStatus','removeMember','_createHelper','clone','post','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','decryptBlock','enableAuthServer','DataLoaderService','UNIVER_PROJECT','fromCharCode','putCollaborators','_logService','_timeoutTimer','_schedule','_imageSourceCache','_collaborationSessionService','extend','getMember','_eventService','_members$','_getAPIPrefixPath','SnapshotService','parse','src','Quantity','_initUnitPermissionChange','getCurrentSelections','_doReset','_getCurrentRevision','&assign=','ICommandService','Failed\x20to\x20update\x20permission\x20point','USERS_LEAVE','localCacheService','AES','_httpService','HTTPService','encode','USERS_ENTER','awaiting','_checkMissing','encrypt','revision','unitID','compute','_exhaustRemoteChangesetQueue','stringify','serializeCombRequest','LOGIN_URL_KEY','decrypt','state','now','CollaborationSession','_roomMembers','MentionIoHttpService','RECV','JOIN_ROOM_FULL','repeat','initWorkbookPermissionChange','_init','IConfigService','[CollaborationState]:\x20apply\x20error!','ISingleActiveUnitService','every','Undefined','11824LMdwDU','_getAPIPrefix','sheets','IDLE','body','reduce','requireSession','uploadFileServerUrl','Injector','SetSelectionsOperation','SerializableCipher','_status$','cfg','_telemetryInfo','NEW_CHANGESETS','BASE64','closeSession','_transformRemoteChangesetByIMECache','_userManagerService','set','Latin1','onTransformSelections','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','CHANGESET_REJ','AwaitingState','readInt32LE','_iKey','PENDING','unknown','toggleOffline','telemetry\x20info\x20is\x20not\x20initialized','unpad','prototype','createInstance','members','FETCH_MISSING','LOCAL_CACHE_INTERVAL','equals','NOT_FOUND','url','_commentUpdate$','loadDoc','function','kdf','pad','code','_getUndoStack','__esModule','USER_NOT_INVITED_CODE','_rescheduleHeartbeat','_clearRetryConnectingTimer','snapshotServerUrl','LOCAL_CACHE_INTERVAL_KEY','_decreaseWaiting','signUrlServerUrl','INVALID_INVITE_CODE','has','getCollabEntity','_queuedRemoteChangesets','/universer-api/snapshot','[OfflineState]:\x20received\x20rejection.','shouldCloseConn','DocCollaborationEntity','range','/universer-api/oidc/authpage','COMMENT_UPDATE'];_0x4ec6=function(){return _0x1f4ab4;};return _0x4ec6();}function Ct(_0x2d4a71){var _0x1b8108=_0x1c66a7,_0x4cbe5c,_0x5506c8,_0x33ab91,_0x22ae3a,_0x4636e4;const _0x1efe85=_0x2d4a71[_0x1b8108(0x3a5)],_0x4763bd=JSON[_0x1b8108(0x314)](_0x1efe85);switch(_0x4763bd[_0x1b8108(0x15c)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x9db698=_0x4763bd['infoRsp'];return{..._0x4763bd,'data':_0x9db698,'cmd':_0x4763bd[_0x1b8108(0x15c)]};}case W[_0x1b8108(0x24d)]:{const _0x4a41fb=_0x4763bd[_0x1b8108(0x237)];return{..._0x4763bd,'data':_0x4a41fb,'cmd':_0x4763bd['cmd']};}case W[_0x1b8108(0x335)]:{const _0x5a9f5e=_0x4763bd['collaMsg'];switch(_0x5a9f5e[_0x1b8108(0x21a)]){case I[_0x1b8108(0x152)]['PERMISSION_REJ']:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x4cbe5c=_0x5a9f5e[_0x1b8108(0x476)])==null?void 0x0:_0x4cbe5c['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x2b4)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x5506c8=_0x5a9f5e[_0x1b8108(0x3ad)])==null?void 0x0:_0x5506c8['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x34d)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x33ab91=_0x5a9f5e[_0x1b8108(0x21c)])==null?void 0x0:_0x33ab91['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x357)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x22ae3a=_0x5a9f5e[_0x1b8108(0x47d)])==null?void 0x0:_0x22ae3a['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x1c7)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x4636e4=_0x5a9f5e[_0x1b8108(0x3b5)])==null?void 0x0:_0x4636e4['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I['CollaborationEvent'][_0x1b8108(0x3e9)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x427)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I['CollaborationEvent'][_0x1b8108(0x324)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x382)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x31e)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x2a2)]},'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x3be)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x26e)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x178)]:case I[_0x1b8108(0x152)][_0x1b8108(0x2ed)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x434)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x424)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x26e)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x1ff)]:return{..._0x4763bd,'data':_0x5a9f5e,'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x381)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e['commentUpdateEvent']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x48e)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x38c)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)]['SHOULD_CLOSE_CONN']:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x37d)]},'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x3a9)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e['uniscriptRunEvent']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};default:return _0x4763bd;}}default:return _0x4763bd;}}function Tt(_0x5d237b){var _0x47c0b5=_0x1c66a7;switch(_0x5d237b['cmd']){case W[_0x47c0b5(0x464)]:case W['HELLO']:return JSON[_0x47c0b5(0x32c)]({'cmd':_0x5d237b[_0x47c0b5(0x15c)],'routeKey':_0x5d237b[_0x47c0b5(0x160)]});case W[_0x47c0b5(0x4b8)]:{let _0x5c708a;switch(_0x5d237b['data']['eventID']){case I[_0x47c0b5(0x152)][_0x47c0b5(0x3e9)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x3e9)],'updateCursorEvent':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x31e)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x31e)],'leaveEvent':_0x5d237b['data'][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x324)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x324)],'joinEvent':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x3be)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x3be)],'liveShareNewHost':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)]['LIVESHARE_OPERATION']:{_0x5c708a={'eventID':I['CollaborationEvent'][_0x47c0b5(0x2ed)],'liveShareOperation':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I['CollaborationEvent'][_0x47c0b5(0x424)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x424)],'liveShareTerminate':_0x5d237b['data'][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x499)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x178)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5c708a={'eventID':_0x5d237b['data'][_0x47c0b5(0x21a)]};}return JSON['stringify']({'cmd':_0x5d237b['cmd'],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'collaMsg':_0x5c708a});}case W['JOIN']:return JSON[_0x47c0b5(0x32c)]({'cmd':_0x5d237b['cmd'],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'joinReq':_0x5d237b[_0x47c0b5(0x3a5)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x5d237b[_0x47c0b5(0x15c)],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'leaveReq':_0x5d237b[_0x47c0b5(0x3a5)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x1c66a7(0x18b)],zt=(_0x5f581f,_0x485b65,_0x496a0d,_0x51eaf4)=>{var _0x132258=_0x1c66a7;for(var _0x13dd7f=_0x51eaf4>0x1?void 0x0:_0x51eaf4?qt(_0x485b65,_0x496a0d):_0x485b65,_0x342fd3=_0x5f581f[_0x132258(0x1c0)]-0x1,_0x5a1e31;_0x342fd3>=0x0;_0x342fd3--)(_0x5a1e31=_0x5f581f[_0x342fd3])&&(_0x13dd7f=_0x5a1e31(_0x13dd7f)||_0x13dd7f);return _0x13dd7f;},_e=(_0x2bcdcd,_0x301ae5)=>(_0x58659c,_0x1d8d7b)=>_0x301ae5(_0x58659c,_0x1d8d7b,_0x2bcdcd);const He=a[_0x1c66a7(0x4a4)](_0x1c66a7(0x40c));function Jt(_0x3f9b20,_0x5abe0f,_0x3c1426){var _0x18eebc=_0x1c66a7;return _0x3f9b20+'/'+_0x5abe0f+_0x18eebc(0x167)+_0x3c1426+_0x18eebc(0x296);}exports['CollaborationSocketService']=class extends a[_0x1c66a7(0x403)]{constructor(_0xa7c889,_0x2c7587,_0x2e05f6,_0x40fade,_0x440214){var _0x59f4ec=_0x1c66a7;super(),this['_injector']=_0xa7c889,this[_0x59f4ec(0x321)]=_0x2c7587,this[_0x59f4ec(0x26d)]=_0x2e05f6,this[_0x59f4ec(0x309)]=_0x40fade,this[_0x59f4ec(0x38a)]=_0x440214;}[_0x1c66a7(0x458)](_0x5953c4){var _0x1379db=_0x1c66a7;const _0x789139=this[_0x1379db(0x2cf)]['get'](Y[_0x1379db(0x299)]);if(!_0x789139)throw new Error(_0x1379db(0x40f));const _0x210188=_0x789139[_0x1379db(0x42b)](_0x5953c4);if(!_0x210188)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3e3df4=new a[(_0x1379db(0x2e1))](),_0xd63545=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x25e)][_0x1379db(0x400)](_0x5dcdde=>_0xd63545[_0x1379db(0x18f)](_0x5dcdde))),_0x3e3df4['add'](a['toDisposable'](()=>_0xd63545['complete']()));const _0x3e2fd6=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x41e)][_0x1379db(0x400)](_0x19ca6b=>_0x3e2fd6[_0x1379db(0x18f)](_0x19ca6b))),_0x3e3df4[_0x1379db(0x21e)](a[_0x1379db(0x401)](()=>_0x3e2fd6[_0x1379db(0x3b2)]()));const _0x1f6f2a=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x3a0)][_0x1379db(0x400)](_0x4d7c81=>{var _0x4e735c=_0x1379db;const _0x23c561=Ct(_0x4d7c81);_0x1f6f2a[_0x4e735c(0x18f)](_0x23c561);})),_0x3e3df4['add'](a[_0x1379db(0x401)](()=>_0x1f6f2a['complete']()));let _0xfaa37e;const _0x4457b1=()=>{var _0x5d1bd0=_0x1379db;_0x3e2fd6[_0x5d1bd0(0x18f)](new Event(_0x5d1bd0(0x1f6))),_0xd63545[_0x5d1bd0(0x18f)](new Event('connection\x20error')),_0xfaa37e[_0x5d1bd0(0x22d)]();};return _0xfaa37e={'memberID':'','close$':_0xd63545[_0x1379db(0x233)](),'error$':_0x3e2fd6[_0x1379db(0x233)](),'open$':_0x210188[_0x1379db(0x3f8)],'message$':_0x1f6f2a['asObservable'](),'send':_0x3c565f=>{var _0x26ecc4=_0x1379db;if(_0x3c565f[_0x26ecc4(0x15c)]===W[_0x26ecc4(0x4b8)]){if(_0x3c565f[_0x26ecc4(0x3a5)][_0x26ecc4(0x21a)]===I[_0x26ecc4(0x152)]['SUBMIT_CHANGESET']){this[_0x26ecc4(0x2ce)](_0xfaa37e,_0x3c565f[_0x26ecc4(0x3a5)])[_0x26ecc4(0x148)](_0x53563d=>{var _0x4f9b16=_0x26ecc4;this[_0x4f9b16(0x309)][_0x4f9b16(0x3b6)](_0x53563d),_0x4457b1();});return;}if(_0x3c565f[_0x26ecc4(0x3a5)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x3ed62a=_0x3c565f['data'];this['_fetchMissChangesets'](_0x3ed62a)[_0x26ecc4(0x3c8)](_0xc2ada1=>{var _0x28d8ba=_0x26ecc4;_0x1f6f2a['next']({'cmd':W[_0x28d8ba(0x335)],'code':oe['OK'],'routeKey':_0x3ed62a[_0x28d8ba(0x3a5)]['unitID'],'routeType':'','data':{'eventID':I[_0x28d8ba(0x152)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xc2ada1}}});})[_0x26ecc4(0x148)](_0x582434=>{var _0x1154d0=_0x26ecc4;this['_logService'][_0x1154d0(0x3b6)](_0x582434),_0x4457b1();});return;}}_0x210188[_0x26ecc4(0x44f)](Tt(_0x3c565f));},'close':()=>{var _0x3b620d=_0x1379db;_0x210188[_0x3b620d(0x22d)](),_0x3e3df4[_0x3b620d(0x280)]();}},_0xfaa37e;}async[_0x1c66a7(0x2ce)](_0x3732ad,_0x5054a4){var _0x123829=_0x1c66a7,_0x125307,_0x32b0ad;const {unitType:_0x1ffd2e,unitID:_0x452e4,changeset:_0x2e107a}=_0x5054a4[_0x123829(0x3a5)],_0x35c9c5={'unitID':_0x452e4,'memberID':_0x3732ad[_0x123829(0x479)],'type':_0x1ffd2e,'changeset':I['parseChangesetToProtocol'](_0x2e107a)},_0x7e575f=this[_0x123829(0x26d)][_0x123829(0x3b7)](pt),_0x53f0cf=this[_0x123829(0x26d)][_0x123829(0x3b7)](K),_0x2e7495=Jt((_0x32b0ad=(_0x125307=_0x53f0cf==null?void 0x0:_0x53f0cf[_0x123829(0x22c)])!=null?_0x125307:_0x7e575f)!=null?_0x32b0ad:Vt,_0x1ffd2e,_0x452e4);try{await this[_0x123829(0x321)]['post'](_0x2e7495,{'body':_0x35c9c5});}catch(_0x529b7f){throw this[_0x123829(0x309)][_0x123829(0x3b6)](_0x123829(0x244),_0x123829(0x42f)),_0x529b7f;}}async[_0x1c66a7(0x1f9)](_0x3f0bdc){var _0x225f50=_0x1c66a7;const {unitID:_0x1c2fe1,from:_0x368f3f,to:_0x4e0d4c,unitType:_0x37a0d7}=_0x3f0bdc[_0x225f50(0x3a5)];return(await this[_0x225f50(0x38a)][_0x225f50(0x466)]({'metadata':void 0x0},{'unitID':_0x1c2fe1,'type':_0x37a0d7,'from':_0x368f3f,'to':_0x4e0d4c}))['changesets'];}},exports[_0x1c66a7(0x2c2)]=zt([_e(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),_e(0x1,a[_0x1c66a7(0x1a6)](Y[_0x1c66a7(0x322)])),_e(0x2,a[_0x1c66a7(0x33a)]),_e(0x3,a[_0x1c66a7(0x2c8)]),_e(0x4,I[_0x1c66a7(0x3fe)])],exports['CollaborationSocketService']);const Xt='collaboration_new_changeset';function Zt(_0x298902){var _0x2a2ea2=_0x1c66a7;return JSON[_0x2a2ea2(0x32c)](_0x298902)[_0x2a2ea2(0x1c0)];}class $e{constructor(){var _0x2fb577=_0x1c66a7;A(this,_0x2fb577(0x368),new $['Subject']()),A(this,_0x2fb577(0x198),this[_0x2fb577(0x368)][_0x2fb577(0x233)]());}['onCommentUpdate'](_0x23c412){var _0x3f3af9=_0x1c66a7;this[_0x3f3af9(0x368)][_0x3f3af9(0x18f)](_0x23c412);}}var Qt=Object[_0x1c66a7(0x18b)],ei=(_0x4a6087,_0x3d279d,_0x1edc70,_0x159428)=>{var _0x2fcc64=_0x1c66a7;for(var _0x18312c=_0x159428>0x1?void 0x0:_0x159428?Qt(_0x3d279d,_0x1edc70):_0x3d279d,_0x8f38b4=_0x4a6087[_0x2fcc64(0x1c0)]-0x1,_0x241424;_0x8f38b4>=0x0;_0x8f38b4--)(_0x241424=_0x4a6087[_0x8f38b4])&&(_0x18312c=_0x241424(_0x18312c)||_0x18312c);return _0x18312c;},We=(_0x329a3c,_0x1eea0e)=>(_0x296ef2,_0x72ba78)=>_0x1eea0e(_0x296ef2,_0x72ba78,_0x329a3c);exports[_0x1c66a7(0x467)]=class extends a[_0x1c66a7(0x403)]{constructor(_0x4c16ae,_0x10e7e0){var _0x24d2ed=_0x1c66a7;super(),A(this,_0x24d2ed(0x333),new Map()),A(this,_0x24d2ed(0x26a),new $[(_0x24d2ed(0x2bf))]()),(this[_0x24d2ed(0x204)]=_0x4c16ae,this[_0x24d2ed(0x351)]=_0x10e7e0,this[_0x24d2ed(0x3f0)]($[_0x24d2ed(0x207)](this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V[_0x24d2ed(0x3a1)](_0x5e33e4=>_0x5e33e4['getUnitId']())),this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a[_0x24d2ed(0x23d)][_0x24d2ed(0x455)])[_0x24d2ed(0x1a3)](V[_0x24d2ed(0x3a1)](_0x42b6cd=>_0x42b6cd[_0x24d2ed(0x495)]())),this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a[_0x24d2ed(0x23d)][_0x24d2ed(0x3d9)])[_0x24d2ed(0x1a3)](V[_0x24d2ed(0x3a1)](_0x16ae63=>_0x16ae63[_0x24d2ed(0x495)]())))['subscribe'](_0x11f2ac=>this[_0x24d2ed(0x2f9)](_0x11f2ac))));}['waitForRoom$'](_0x1ec964){var _0x2188dc=_0x1c66a7;return this['_roomMembers'][_0x2188dc(0x378)](_0x1ec964)?$['of'](this[_0x2188dc(0x333)][_0x2188dc(0x2ba)](_0x1ec964)):this[_0x2188dc(0x26a)][_0x2188dc(0x1a3)](V['map'](_0x375caa=>{var _0xcc6759=_0x2188dc;if(_0x375caa===_0x1ec964)return this['_roomMembers'][_0xcc6759(0x2ba)](_0x375caa);}));}[_0x1c66a7(0x19c)](_0x59c2f1){var _0xac85be=_0x1c66a7;this[_0xac85be(0x351)]['setCurrentUser'](_0x59c2f1);}['getCurrentUser'](){var _0x39c234=_0x1c66a7;return this['_userManagerService'][_0x39c234(0x245)]();}['updateMember'](_0x1ef757,_0x288415){var _0x272052=_0x1c66a7;let _0x22e0b1=this[_0x272052(0x333)]['get'](_0x1ef757);_0x22e0b1||(_0x22e0b1=new ti(),this[_0x272052(0x333)]['set'](_0x1ef757,_0x22e0b1),this[_0x272052(0x26a)][_0x272052(0x18f)](_0x1ef757)),_0x22e0b1[_0x272052(0x25b)](_0x288415);}[_0x1c66a7(0x2fe)](_0x304f80,_0x97b1a4){var _0x35ab7f=_0x1c66a7;const _0xb77a41=this['_roomMembers'][_0x35ab7f(0x2ba)](_0x304f80);_0xb77a41&&_0xb77a41[_0x35ab7f(0x2fe)](_0x97b1a4);}[_0x1c66a7(0x41f)](_0x4765df){var _0x2cb883=_0x1c66a7;return this[_0x2cb883(0x333)][_0x2cb883(0x2ba)](_0x4765df);}[_0x1c66a7(0x30f)](_0x183b29,_0x46c61d){var _0x426778=_0x1c66a7;const _0x26d47e=this['_roomMembers'][_0x426778(0x2ba)](_0x183b29);if(_0x26d47e)return _0x26d47e[_0x426778(0x30f)](_0x46c61d);}[_0x1c66a7(0x2f9)](_0x4c7b8e){var _0x1ffe9d=_0x1c66a7;const _0x5cf612=this[_0x1ffe9d(0x333)][_0x1ffe9d(0x2ba)](_0x4c7b8e);_0x5cf612&&(_0x5cf612[_0x1ffe9d(0x280)](),this[_0x1ffe9d(0x333)]['delete'](_0x4c7b8e));}['dispose'](){var _0x3e2d76=_0x1c66a7;this['_roomMembers'][_0x3e2d76(0x42e)](_0x279e96=>_0x279e96[_0x3e2d76(0x280)]()),this[_0x3e2d76(0x333)]['clear'](),this[_0x3e2d76(0x26a)][_0x3e2d76(0x3b2)]();}},exports['MemberService']=ei([We(0x0,a[_0x1c66a7(0x2c7)]),We(0x1,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x246)]))],exports[_0x1c66a7(0x467)]);class ti extends a[_0x1c66a7(0x403)]{constructor(){var _0x104ac7=_0x1c66a7;super(...arguments),A(this,_0x104ac7(0x440),new Map()),A(this,_0x104ac7(0x311),new $['BehaviorSubject'](this[_0x104ac7(0x440)])),A(this,_0x104ac7(0x2b6),this[_0x104ac7(0x311)][_0x104ac7(0x233)]());}['dispose'](){var _0x2c8d9b=_0x1c66a7;this[_0x2c8d9b(0x440)][_0x2c8d9b(0x397)]();}[_0x1c66a7(0x25b)](_0x24bdae){var _0x506649=_0x1c66a7;this[_0x506649(0x440)][_0x506649(0x352)](_0x24bdae[_0x506649(0x479)],_0x24bdae),this[_0x506649(0x26c)]();}['removeMember'](_0x534780){this['_members']['delete'](_0x534780);}[_0x1c66a7(0x30f)](_0x242381){var _0x2f77f5=_0x1c66a7;return this['_members'][_0x2f77f5(0x2ba)](_0x242381);}[_0x1c66a7(0x243)](){var _0x565796=_0x1c66a7;return Array[_0x565796(0x2a9)](this[_0x565796(0x440)][_0x565796(0x3a6)]());}[_0x1c66a7(0x26c)](){var _0x184b3a=_0x1c66a7;this[_0x184b3a(0x311)][_0x184b3a(0x18f)](this[_0x184b3a(0x440)]);}}function _0x1aa6(_0xea0b0f,_0x26d4a2){var _0x4ec67f=_0x4ec6();return _0x1aa6=function(_0x1aa69c,_0x4df3c2){_0x1aa69c=_0x1aa69c-0x13f;var _0x2ebb2b=_0x4ec67f[_0x1aa69c];return _0x2ebb2b;},_0x1aa6(_0xea0b0f,_0x26d4a2);}var ii=Object[_0x1c66a7(0x18b)],ni=(_0x3f78bd,_0x4bafb3,_0x4a837d,_0x56fea6)=>{var _0x4bf312=_0x1c66a7;for(var _0x1c01b1=_0x56fea6>0x1?void 0x0:_0x56fea6?ii(_0x4bafb3,_0x4a837d):_0x4bafb3,_0x4b59c7=_0x3f78bd[_0x4bf312(0x1c0)]-0x1,_0x4dd429;_0x4b59c7>=0x0;_0x4b59c7--)(_0x4dd429=_0x3f78bd[_0x4b59c7])&&(_0x1c01b1=_0x4dd429(_0x1c01b1)||_0x1c01b1);return _0x1c01b1;},se=(_0x202b43,_0x4b9108)=>(_0x3184ee,_0x361160)=>_0x4b9108(_0x3184ee,_0x361160,_0x202b43),re=(_0x4f60f0=>(_0x4f60f0[_0x4f60f0[_0x1c66a7(0x342)]=0x0]=_0x1c66a7(0x342),_0x4f60f0[_0x4f60f0[_0x1c66a7(0x480)]=0x1]='JOINING',_0x4f60f0[_0x4f60f0[_0x1c66a7(0x287)]=0x2]='OFFLINE',_0x4f60f0[_0x4f60f0[_0x1c66a7(0x279)]=0x3]='ONLINE',_0x4f60f0))(re||{});const Ge={[oe[_0x1c66a7(0x177)]]:_0x1c66a7(0x169),[oe['JOIN_ROOM_FULL']]:_0x1c66a7(0x201),[oe[_0x1c66a7(0x4ae)]]:_0x1c66a7(0x460),[oe[_0x1c66a7(0x1b7)]]:'session.room-permission-denied',[oe[_0x1c66a7(0x1ef)]]:_0x1c66a7(0x24e)};exports['CollaborationSession']=class extends a[_0x1c66a7(0x19b)]{constructor(_0x2d034f,_0x285922,_0x5288b7,_0xc4422f,_0x311555,_0x26e62a,_0x72ff9d,_0x809484,_0x263fa4){var _0x49a5dc=_0x1c66a7;super(),A(this,_0x49a5dc(0x17f),new $['BehaviorSubject'](0x0)),A(this,_0x49a5dc(0x2a0),this['_sessionStatus$'][_0x49a5dc(0x233)]()),A(this,_0x49a5dc(0x184),new $[(_0x49a5dc(0x2bf))]()),A(this,'event$',this['_event$'][_0x49a5dc(0x233)]()),A(this,_0x49a5dc(0x485)),A(this,_0x49a5dc(0x496)),A(this,_0x49a5dc(0x45f)),A(this,_0x49a5dc(0x156),!0x1),A(this,_0x49a5dc(0x34c),null),(this['_unitID']=_0x2d034f,this['_logService']=_0x5288b7,this['_configService']=_0xc4422f,this[_0x49a5dc(0x2de)]=_0x311555,this[_0x49a5dc(0x1d8)]=_0x26e62a,this[_0x49a5dc(0x2a5)]=_0x72ff9d,this[_0x49a5dc(0x459)]=_0x809484,this[_0x49a5dc(0x47f)]=_0x263fa4,this[_0x49a5dc(0x156)]=!!this[_0x49a5dc(0x47f)],_0x285922[_0x49a5dc(0x1a3)]($[_0x49a5dc(0x22f)](this[_0x49a5dc(0x3a4)]))['subscribe'](_0x59f428=>{var _0x4fef6f=_0x49a5dc,_0x3369d3;typeof _0x59f428>'u'||(this[_0x4fef6f(0x485)]=_0x59f428,_0x59f428?(this['_joinRoom'](_0x59f428),this[_0x4fef6f(0x496)]=_0x59f428['message$'][_0x4fef6f(0x400)](_0x586401=>{var _0x58ba09=_0x4fef6f;_0x586401[_0x58ba09(0x160)]===this[_0x58ba09(0x494)]&&this['_onCombEvent'](_0x586401);})):(this[_0x4fef6f(0x163)](),this[_0x4fef6f(0x17f)][_0x4fef6f(0x18f)](0x2),(_0x3369d3=this['_socketMessageSubscription'])==null||_0x3369d3[_0x4fef6f(0x1df)](),this[_0x4fef6f(0x496)]=null));}));}get['sessionStatus'](){var _0x3c60d6=_0x1c66a7;return this[_0x3c60d6(0x17f)]['getValue']();}[_0x1c66a7(0x2d9)](){var _0x3aa97e=_0x1c66a7,_0xfe8b75,_0x1c7c35;return(_0x1c7c35=(_0xfe8b75=this[_0x3aa97e(0x485)])==null?void 0x0:_0xfe8b75['memberID'])!=null?_0x1c7c35:null;}[_0x1c66a7(0x280)](){var _0x3c9b8f=_0x1c66a7;super[_0x3c9b8f(0x280)](),this[_0x3c9b8f(0x3a4)][_0x3c9b8f(0x18f)](),this[_0x3c9b8f(0x3a4)][_0x3c9b8f(0x3b2)]();}[_0x1c66a7(0x22d)](){var _0x135798=_0x1c66a7,_0x354cb1,_0x2dac51;this[_0x135798(0x163)](),(_0x354cb1=this[_0x135798(0x485)])==null||_0x354cb1[_0x135798(0x44f)]({'cmd':W[_0x135798(0x43f)],'data':{'roomID':this[_0x135798(0x494)]}}),(_0x2dac51=this[_0x135798(0x485)])==null||_0x2dac51[_0x135798(0x22d)](),this[_0x135798(0x184)]['complete'](),this[_0x135798(0x17f)][_0x135798(0x3b2)](),this[_0x135798(0x280)]();}[_0x1c66a7(0x2b8)](_0x3cea5b){var _0x4d1375=_0x1c66a7;_0x3cea5b['cmd']===W[_0x4d1375(0x24d)]?this['_onJoinRoomEvent'](_0x3cea5b):_0x3cea5b['cmd']===W[_0x4d1375(0x335)]&&this['_onRecvEvent'](_0x3cea5b);}[_0x1c66a7(0x271)](_0x5e89c1){var _0xe1948=_0x1c66a7;this[_0xe1948(0x17f)]['next'](0x1),_0x5e89c1[_0xe1948(0x44f)]({'cmd':W[_0xe1948(0x24d)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xe1948(0x494)]}]}});}[_0x1c66a7(0x3b0)](_0x4188e0){var _0x19c504=_0x1c66a7,_0x30e08c;if(_0x4188e0[_0x19c504(0x36d)]in Ge){this['_collaborationUIEventService'][_0x19c504(0x2c0)]({'id':Z[_0x19c504(0x232)],'data':Ge[_0x4188e0[_0x19c504(0x36d)]]}),this[_0x19c504(0x17f)][_0x19c504(0x18f)](0x2);return;}this[_0x19c504(0x17f)][_0x19c504(0x18f)](0x3);const _0x2930c6=(_0x30e08c=_0x4188e0[_0x19c504(0x3a5)]['roomInfos'][this[_0x19c504(0x494)]])==null?void 0x0:_0x30e08c[_0x19c504(0x362)];_0x2930c6&&_0x2930c6[_0x19c504(0x42e)](_0x58f86e=>this['_memberService'][_0x19c504(0x25b)](this[_0x19c504(0x494)],_0x58f86e));}[_0x1c66a7(0x203)](_0x137a40){var _0x38bf8a=_0x1c66a7;try{const _0x26793d=_0x137a40[_0x38bf8a(0x3a5)];switch(_0x26793d[_0x38bf8a(0x21a)]){case I[_0x38bf8a(0x152)][_0x38bf8a(0x324)]:this['_onUserJoin'](_0x26793d),this['_event$'][_0x38bf8a(0x18f)](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x31e)]:this[_0x38bf8a(0x3ec)](_0x26793d),this[_0x38bf8a(0x184)]['next'](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x2b4)]:case I[_0x38bf8a(0x152)][_0x38bf8a(0x1c7)]:this[_0x38bf8a(0x456)](),this['_clearCollaborationTimeoutTimer'](),this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);break;case I['CollaborationEvent'][_0x38bf8a(0x1ff)]:this[_0x38bf8a(0x309)][_0x38bf8a(0x3b6)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x26793d)),this['_event$'][_0x38bf8a(0x18f)](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x381)]:this['_commentService']['onCommentUpdate'](_0x26793d['data']),this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);break;default:this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);}}catch(_0x18a33a){this['_logService'][_0x38bf8a(0x3b6)](_0x18a33a,_0x137a40);}}[_0x1c66a7(0x2be)](_0x51db83){var _0x86a723=_0x1c66a7;this[_0x86a723(0x1d8)]['updateMember'](this['_unitID'],_0x51db83[_0x86a723(0x3a5)]);}[_0x1c66a7(0x3ec)](_0x3aff1b){var _0x3a07de=_0x1c66a7;this[_0x3a07de(0x1d8)][_0x3a07de(0x2fe)](this[_0x3a07de(0x494)],_0x3aff1b[_0x3a07de(0x3a5)]['memberID']);}async[_0x1c66a7(0x44f)](_0x3ebf47,_0x191bd4){var _0x3f7f3d=_0x1c66a7;if(this['sessionStatus']!==0x3||!this[_0x3f7f3d(0x485)])throw new Error(_0x3f7f3d(0x2b0));try{_0x3ebf47['eventID']===I[_0x3f7f3d(0x152)][_0x3f7f3d(0x15e)]&&(this[_0x3f7f3d(0x4a5)](),this['_startTelemetryCollaborationNewChangeset'](_0x3ebf47)),this['_socket'][_0x3f7f3d(0x44f)]({'cmd':W[_0x3f7f3d(0x4b8)],'routeKey':_0x191bd4,'routeType':'','data':_0x3ebf47});}catch(_0x42e7c9){this[_0x3f7f3d(0x309)][_0x3f7f3d(0x3b6)](_0x42e7c9);}}[_0x1c66a7(0x4a5)](){var _0x3ffb75=_0x1c66a7,_0x2b6b0c;this[_0x3ffb75(0x45f)]=setTimeout(()=>{var _0x5b299a=_0x3ffb75;this[_0x5b299a(0x45f)]=null,this[_0x5b299a(0x459)][_0x5b299a(0x2c0)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2b6b0c=this[_0x3ffb75(0x26d)][_0x3ffb75(0x3b7)](ke))!=null?_0x2b6b0c:St);}[_0x1c66a7(0x19f)](){var _0x56e24a=_0x1c66a7;this[_0x56e24a(0x45f)]&&(clearTimeout(this[_0x56e24a(0x45f)]),this[_0x56e24a(0x45f)]=null);}[_0x1c66a7(0x3ce)](_0x1369d0){var _0x172836=_0x1c66a7;if(!this[_0x172836(0x156)])return;const {data:_0x5db2db}=_0x1369d0,{unitID:_0x585acf,changeset:_0x4883d5}=_0x5db2db,{mutations:_0x26f54b,type:_0x2bae65}=_0x4883d5;this[_0x172836(0x34c)]={'unitId':_0x585acf,'type':_0x2bae65,'startTime':performance[_0x172836(0x331)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x26f54b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x14a6c0=_0x1c66a7;if(this[_0x14a6c0(0x156)]){if(!this[_0x14a6c0(0x34c)]){this[_0x14a6c0(0x309)]['error'](_0x14a6c0(0x244),_0x14a6c0(0x35e));return;}this['_telemetryInfo']['stopTime']=performance[_0x14a6c0(0x331)](),this[_0x14a6c0(0x34c)][_0x14a6c0(0x1ce)]=this[_0x14a6c0(0x34c)][_0x14a6c0(0x24c)]-this[_0x14a6c0(0x34c)][_0x14a6c0(0x1a9)],this['_telemetryService']['capture'](Xt,this[_0x14a6c0(0x34c)]),this[_0x14a6c0(0x34c)]=null;}}[_0x1c66a7(0x163)](){this['_telemetryInfo']=null;}},exports[_0x1c66a7(0x332)]=ni([se(0x2,a[_0x1c66a7(0x2c8)]),se(0x3,a[_0x1c66a7(0x33a)]),se(0x4,a[_0x1c66a7(0x1a6)](a['LocaleService'])),se(0x5,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x467)])),se(0x6,a[_0x1c66a7(0x1a6)]($e)),se(0x7,a[_0x1c66a7(0x1a6)](ee)),se(0x8,a[_0x1c66a7(0x3c9)](Pt['ITelemetryService']))],exports[_0x1c66a7(0x332)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x1b29e1,_0x4bf7ba,_0x4cb436,_0x54ff23)=>{for(var _0x15d682=_0x54ff23>0x1?void 0x0:_0x54ff23?ri(_0x4bf7ba,_0x4cb436):_0x4bf7ba,_0x2d37ad=_0x1b29e1['length']-0x1,_0x582c89;_0x2d37ad>=0x0;_0x2d37ad--)(_0x582c89=_0x1b29e1[_0x2d37ad])&&(_0x15d682=_0x582c89(_0x15d682)||_0x15d682);return _0x15d682;},he=(_0x134afb,_0x51ad43)=>(_0x295dc7,_0x28aaba)=>_0x51ad43(_0x295dc7,_0x28aaba,_0x134afb);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x378c9f,_0x44664e,_0x1b88f7,_0x9340d0,_0x5da508,_0x4129ad){var _0x34386c=_0x1c66a7;super(),A(this,_0x34386c(0x1eb),new $['BehaviorSubject'](void 0x0)),A(this,_0x34386c(0x2c3),this[_0x34386c(0x1eb)][_0x34386c(0x233)]()),A(this,_0x34386c(0x20f),null),A(this,_0x34386c(0x3c1),new Map()),A(this,_0x34386c(0x34a),new $[(_0x34386c(0x1bf))](re[_0x34386c(0x342)])),A(this,_0x34386c(0x486),this['_status$'][_0x34386c(0x233)]()),A(this,_0x34386c(0x284),!0x1),A(this,_0x34386c(0x435)),A(this,_0x34386c(0x208),0x0),A(this,_0x34386c(0x2c9)),A(this,_0x34386c(0x30a)),(this[_0x34386c(0x2cf)]=_0x378c9f,this[_0x34386c(0x309)]=_0x44664e,this[_0x34386c(0x26d)]=_0x1b88f7,this[_0x34386c(0x41d)]=_0x9340d0,this['_collaborationUIEventService']=_0x5da508,this[_0x34386c(0x4b4)]=_0x4129ad,this[_0x34386c(0x48b)]());}get[_0x1c66a7(0x485)](){var _0x902d51=_0x1c66a7;return this[_0x902d51(0x1eb)]['getValue']();}['_listenToNetworkCondition'](){var _0x33c5e9=_0x1c66a7;this['_networkConditionService']&&this[_0x33c5e9(0x3f0)](this[_0x33c5e9(0x4b4)]['online$']['subscribe'](_0x1c73f0=>{var _0xb386d3=_0x33c5e9;_0x1c73f0&&!this[_0xb386d3(0x485)]&&this['reconnect'](),_0x1c73f0||this[_0xb386d3(0x262)]();}));}[_0x1c66a7(0x280)](){var _0x2b8854=_0x1c66a7;super[_0x2b8854(0x280)](),this[_0x2b8854(0x372)](),this['_clearTimeoutTimer'](),this[_0x2b8854(0x431)](),this[_0x2b8854(0x3c1)][_0x2b8854(0x42e)](_0x3a612b=>_0x3a612b[_0x2b8854(0x280)]()),this['_sessions'][_0x2b8854(0x397)](),this['_status$']['complete']();}async[_0x1c66a7(0x345)](_0x209756){var _0x192b66=_0x1c66a7;if(this[_0x192b66(0x3c1)][_0x192b66(0x378)](_0x209756))return this[_0x192b66(0x3c1)][_0x192b66(0x2ba)](_0x209756);this[_0x192b66(0x46d)]();const _0x2e3b92=this['_injector']['createInstance'](exports[_0x192b66(0x332)],_0x209756,this['_socket$'][_0x192b66(0x233)]());return this[_0x192b66(0x3c1)][_0x192b66(0x352)](_0x209756,_0x2e3b92),_0x2e3b92;}[_0x1c66a7(0x34f)](_0x4c9f4f){var _0x10ca53=_0x1c66a7,_0x388bb3;const _0x113b65=this[_0x10ca53(0x3c1)]['get'](_0x4c9f4f);_0x113b65&&(this['_sessions'][_0x10ca53(0x385)](_0x4c9f4f),_0x113b65[_0x10ca53(0x22d)]()),this['_sessions'][_0x10ca53(0x293)]||(_0x388bb3=this[_0x10ca53(0x485)])==null||_0x388bb3[_0x10ca53(0x22d)]();}[_0x1c66a7(0x2cd)](){var _0x2b5f81=_0x1c66a7;this[_0x2b5f81(0x208)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2b5f81(0x3cf)]();}['_clearRetryConnectingTimer'](){var _0x5eb1aa=_0x1c66a7;this[_0x5eb1aa(0x435)]!=null&&(clearTimeout(this[_0x5eb1aa(0x435)]),this['_retryConnectingTimer']=null);}async[_0x1c66a7(0x47a)](){var _0x5aad4d=_0x1c66a7,_0x36cbaa,_0x3ee044;const _0x161057=this['_configService'][_0x5aad4d(0x3b7)](ut),_0x2af077=this[_0x5aad4d(0x26d)]['getConfig'](K),_0x4774c5=(_0x3ee044=(_0x36cbaa=_0x2af077==null?void 0x0:_0x2af077[_0x5aad4d(0x18e)])!=null?_0x36cbaa:_0x161057)!=null?_0x3ee044:dt,_0x4e262a=await this[_0x5aad4d(0x41d)]['createSocket'](_0x4774c5);return this[_0x5aad4d(0x20f)]=_0x4e262a,_0x4e262a;}async[_0x1c66a7(0x46d)](){var _0x169924=_0x1c66a7,_0x2c2c24,_0x140fc5;try{const _0x323735=(_0x140fc5=(_0x2c2c24=this[_0x169924(0x485)])!=null?_0x2c2c24:this[_0x169924(0x20f)])!=null?_0x140fc5:await this[_0x169924(0x47a)]();if(_0x323735){const _0x5b2c92=_0x323735[_0x169924(0x44f)];_0x323735[_0x169924(0x44f)]=_0x166ca9=>(this[_0x169924(0x371)](),_0x5b2c92[_0x169924(0x18c)](_0x323735,[_0x166ca9])),_0x323735[_0x169924(0x3a0)]['subscribe'](_0x41dae2=>this[_0x169924(0x1d0)](_0x323735,_0x41dae2)),_0x323735[_0x169924(0x41e)][_0x169924(0x1a3)](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](_0x4fe22b=>this[_0x169924(0x309)][_0x169924(0x3b6)](_0x169924(0x383),_0x4fe22b)),_0x323735[_0x169924(0x3f8)][_0x169924(0x1a3)](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](()=>{var _0x3223bc=_0x169924;this[_0x3223bc(0x426)](_0x323735);}),_0x323735['close$']['pipe'](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](_0x38fd2f=>{var _0x3af3b0=_0x169924;this['_logService']['debug'](_0x3af3b0(0x46c),_0x3af3b0(0x143),_0x38fd2f),this['_onConnectionFailed']();});}}catch(_0x351c2d){this[_0x169924(0x309)][_0x169924(0x3b6)](_0x351c2d),this[_0x169924(0x3d8)]();}}['_onConnectionOpen'](_0x9ed5c1){var _0x4ee098=_0x1c66a7;this[_0x4ee098(0x309)][_0x4ee098(0x16c)]('[CollaborationSessionService]',_0x4ee098(0x3f5)),_0x9ed5c1[_0x4ee098(0x44f)]({'cmd':W['HELLO']}),this[_0x4ee098(0x371)]();}[_0x1c66a7(0x262)](){var _0xce7a94=_0x1c66a7;this['_socketReady']=!0x1,this[_0xce7a94(0x20f)]=null,this[_0xce7a94(0x34a)]['next'](re[_0xce7a94(0x287)]),this['_socket$'][_0xce7a94(0x18f)](null),this[_0xce7a94(0x196)](),this[_0xce7a94(0x431)]();}[_0x1c66a7(0x3d8)](){var _0x38fea9=_0x1c66a7,_0x3a5399;this[_0x38fea9(0x262)](),this[_0x38fea9(0x208)]<((_0x3a5399=this[_0x38fea9(0x26d)][_0x38fea9(0x3b7)](ft))!=null?_0x3a5399:jt)?(this[_0x38fea9(0x459)][_0x38fea9(0x2c0)]({'id':Z[_0x38fea9(0x3a7)]}),this[_0x38fea9(0x3cf)]()):this[_0x38fea9(0x459)][_0x38fea9(0x2c0)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x24b144=_0x1c66a7,_0x3e7aa7;const _0x38842e=this[_0x24b144(0x208)],_0x2d26d4=this[_0x24b144(0x26d)]['getConfig'](K),_0x687d5=_0x38842e===0x0?0x0:((_0x3e7aa7=_0x2d26d4==null?void 0x0:_0x2d26d4[_0x24b144(0x1ee)])!=null?_0x3e7aa7:$t)*0x2**_0x38842e;this[_0x24b144(0x435)]=setTimeout(()=>{var _0x1a52fa=_0x24b144;clearTimeout(this[_0x1a52fa(0x435)]),this[_0x1a52fa(0x435)]=null,this['_tryEnsureSocket']();},_0x687d5),this[_0x24b144(0x208)]+=0x1;}[_0x1c66a7(0x1d0)](_0x498f51,_0x3eea95){var _0x224660=_0x1c66a7;const {cmd:_0x3de616}=_0x3eea95;_0x3de616===W[_0x224660(0x2fa)]&&!this[_0x224660(0x284)]&&(_0x498f51['memberID']=_0x3eea95['data'][_0x224660(0x479)],this[_0x224660(0x1eb)][_0x224660(0x18f)](_0x498f51),this[_0x224660(0x34a)][_0x224660(0x18f)](re[_0x224660(0x279)]),this[_0x224660(0x284)]=!0x0,this[_0x224660(0x20f)]=null),_0x3de616===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x224660(0x371)]();}['_rescheduleHeartbeat'](){var _0x259d34=_0x1c66a7,_0xdb10c0;this[_0x259d34(0x431)](),this[_0x259d34(0x2c9)]=setTimeout(()=>this[_0x259d34(0x24a)](),(_0xdb10c0=this[_0x259d34(0x26d)][_0x259d34(0x3b7)](vt))!=null?_0xdb10c0:Ht);}[_0x1c66a7(0x24a)](){var _0x600f97=_0x1c66a7;this[_0x600f97(0x485)][_0x600f97(0x44f)]({'cmd':W[_0x600f97(0x464)]}),this[_0x600f97(0x288)]();}[_0x1c66a7(0x288)](){var _0x4ae4a0=_0x1c66a7,_0x453b76;this['_timeoutTimer']=setTimeout(()=>this[_0x4ae4a0(0x3d8)](),(_0x453b76=this[_0x4ae4a0(0x26d)][_0x4ae4a0(0x3b7)](ke))!=null?_0x453b76:St);}[_0x1c66a7(0x431)](){var _0x208b61=_0x1c66a7;this[_0x208b61(0x2c9)]!=null&&(clearTimeout(this[_0x208b61(0x2c9)]),this[_0x208b61(0x2c9)]=null);}[_0x1c66a7(0x196)](){var _0x46465f=_0x1c66a7;this[_0x46465f(0x30a)]!=null&&(clearTimeout(this[_0x46465f(0x30a)]),this[_0x46465f(0x30a)]=null);}},exports[_0x1c66a7(0x263)]=si([he(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),he(0x1,a[_0x1c66a7(0x2c8)]),he(0x2,a[_0x1c66a7(0x33a)]),he(0x3,He),he(0x4,a[_0x1c66a7(0x1a6)](ee)),he(0x5,a[_0x1c66a7(0x3c9)](mt))],exports[_0x1c66a7(0x263)]);const q=a[_0x1c66a7(0x4a4)]('collaboration-client.local-cache-service');function oi(_0x57505a){var _0x4afa2c=_0x1c66a7;return _0x4afa2c(0x292)+_0x57505a;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0xa62f0a,_0x5c42de,_0x41933b,_0x3bb406)=>{for(var _0x8f16f3=_0x3bb406>0x1?void 0x0:_0x3bb406?ai(_0x5c42de,_0x41933b):_0x5c42de,_0x6af490=_0xa62f0a['length']-0x1,_0xceb2b4;_0x6af490>=0x0;_0x6af490--)(_0xceb2b4=_0xa62f0a[_0x6af490])&&(_0x8f16f3=_0xceb2b4(_0x8f16f3)||_0x8f16f3);return _0x8f16f3;},De=(_0x59c8de,_0x1bfa15)=>(_0x2f911c,_0x287a5e)=>_0x1bfa15(_0x2f911c,_0x287a5e,_0x59c8de);function hi(_0x262717){var _0x14246e=_0x1c66a7;const {unitID:_0x23358f,mutations:_0x176664}=_0x262717;return{'unitId':_0x23358f,'subUnitId':_0x176664[0x0][_0x14246e(0x3fa)]['subUnitId']};}exports[_0x1c66a7(0x43a)]=class{constructor(_0x31579e,_0x4e332f,_0xf4c291){var _0x2fd45f=_0x1c66a7;this[_0x2fd45f(0x2cf)]=_0x31579e,this[_0x2fd45f(0x225)]=_0x4e332f,this['_instanceService']=_0xf4c291;}['transformSelections'](_0x3724a3){var _0x31bb71=_0x1c66a7,_0x31fd40,_0x2423da,_0x54be63,_0x544e16;const _0x467656=this[_0x31bb71(0x2cf)][_0x31bb71(0x2ba)](X[_0x31bb71(0x15b)]),{unitId:_0x5c20c5,subUnitId:_0x10a829}=hi(_0x3724a3),_0x3e78c2=_0x467656==null?void 0x0:_0x467656[_0x31bb71(0x212)](_0x5c20c5)[_0x31bb71(0x318)](),_0x226c98=(_0x2423da=(_0x31fd40=this[_0x31bb71(0x48c)]['getUnit'](_0x5c20c5))==null?void 0x0:_0x31fd40['getActiveSheet']())==null?void 0x0:_0x2423da[_0x31bb71(0x2f3)]();if(_0x3e78c2[_0x31bb71(0x1c0)]===0x0||!_0x5c20c5||!_0x10a829)return;const _0x2a8611=[{'id':X[_0x31bb71(0x348)]['id'],'params':{'unitId':_0x5c20c5,'subUnitId':_0x226c98,'selections':a[_0x31bb71(0x3d6)]['deepClone'](_0x3e78c2)}}],_0x432cca=this['_transformService'][_0x31bb71(0x239)](_0x3724a3,_0x2a8611);if(!I[_0x31bb71(0x39b)](_0x432cca))throw _0x432cca[_0x31bb71(0x3b6)];const _0x55b686=(_0x544e16=(_0x54be63=_0x432cca[_0x31bb71(0x428)][0x0])==null?void 0x0:_0x54be63[_0x31bb71(0x3fa)])==null?void 0x0:_0x544e16['selections'];if(Array[_0x31bb71(0x2e7)](_0x55b686)&&_0x55b686['length']){if(_0x55b686[_0x31bb71(0x1c0)]===_0x2a8611[0x0]['params'][_0x31bb71(0x404)][_0x31bb71(0x1c0)]&&_0x55b686[_0x31bb71(0x33d)]((_0x44d40f,_0x281132)=>a['Rectangle'][_0x31bb71(0x365)](_0x44d40f[_0x31bb71(0x37f)],_0x2a8611[0x0]['params']['selections'][_0x281132]['range'])))return;this[_0x31bb71(0x2cf)][_0x31bb71(0x2ba)](a['ICommandService'])[_0x31bb71(0x1f7)](X[_0x31bb71(0x348)]['id'],{'unitId':_0x5c20c5,'subUnitId':_0x226c98,'selections':_0x55b686});}}},exports[_0x1c66a7(0x43a)]=ci([De(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),De(0x1,I[_0x1c66a7(0x15f)]),De(0x2,a[_0x1c66a7(0x2c7)])],exports[_0x1c66a7(0x43a)]);const de=a[_0x1c66a7(0x4a4)](_0x1c66a7(0x23c));var je=(_0xc0cc=>(_0xc0cc[_0xc0cc[_0x1c66a7(0x146)]=0x0]=_0x1c66a7(0x146),_0xc0cc[_0xc0cc[_0x1c66a7(0x187)]=0x1]=_0x1c66a7(0x187),_0xc0cc))(je||{});const _i=new Set([X[_0x1c66a7(0x25f)]['id']]);function Ke(_0x5a7482,_0x5ad04f,_0x57dc11,_0x278559,_0xb5237e){var _0x501fd3=_0x1c66a7,_0x1133ad,_0x5eba99,_0x58df4e,_0x115d2b;const _0x4873f7=[];for(const _0x4655f0 of _0x5a7482)if(_i[_0x501fd3(0x378)](_0x4655f0['id'])){if(_0x4873f7['length']>0x0)break;_0x4873f7[_0x501fd3(0x421)](_0x4655f0);break;}else _0x4873f7[_0x501fd3(0x421)](_0x4655f0);const _0x568443=(_0x5eba99=(_0x1133ad=_0xb5237e[_0x501fd3(0x245)]())==null?void 0x0:_0x1133ad[_0x501fd3(0x20c)])!=null?_0x5eba99:'unknown',_0x32954f=(_0x115d2b=(_0x58df4e=_0xb5237e[_0x501fd3(0x245)]())==null?void 0x0:_0x58df4e[_0x501fd3(0x479)])!=null?_0x115d2b:_0x501fd3(0x35c);return{'changeset':{'unitID':_0x5ad04f,'type':I[_0x501fd3(0x41c)](_0x57dc11[_0x501fd3(0x162)](_0x5ad04f)),'baseRev':_0x278559['getCurrentRevOfUnit'](_0x5ad04f),'revision':0x0,'userID':_0x568443,'memberID':_0x32954f,'mutations':_0x4873f7},'pendingMutations':_0x5a7482['slice'](_0x4873f7[_0x501fd3(0x1c0)])};}function li(_0x45daf7,_0x57fa9e,_0x182ad4,_0x4f091d,_0x4eb4c3){var _0x1fa958=_0x1c66a7,_0x47625e,_0x478892,_0xcb0714,_0x1fe49e;const _0xf75cfa=[_0x45daf7[_0x1fa958(0x344)]((_0xc0783c,_0x4494f1)=>{var _0x436bc5=_0x1fa958,_0x3d554d;const {id:_0x46bf35}=_0xc0783c,{id:_0x2e30aa,type:_0xe23bdd}=_0x4494f1,_0x37e335=(_0x3d554d=_0xc0783c[_0x436bc5(0x3fa)])!=null?_0x3d554d:{'actions':null},_0xe06b57=_0x4494f1[_0x436bc5(0x3fa)];if(_0x46bf35&&_0x46bf35!==_0x2e30aa)throw new Error(_0x436bc5(0x227)+_0x46bf35+_0x436bc5(0x462)+_0x2e30aa+'.');return{..._0xc0783c,'id':_0x2e30aa,'type':_0xe23bdd,'params':{'unitId':_0xe06b57[_0x436bc5(0x250)],'textRanges':_0xe06b57[_0x436bc5(0x1b1)],'actions':a[_0x436bc5(0x444)][_0x436bc5(0x3d3)](_0x37e335[_0x436bc5(0x27d)],_0xe06b57['actions'])}};},{})],_0x409a2c=(_0x478892=(_0x47625e=_0x4eb4c3['getCurrentUser']())==null?void 0x0:_0x47625e[_0x1fa958(0x20c)])!=null?_0x478892:'unknown',_0x16a664=(_0x1fe49e=(_0xcb0714=_0x4eb4c3[_0x1fa958(0x245)]())==null?void 0x0:_0xcb0714[_0x1fa958(0x479)])!=null?_0x1fe49e:_0x1fa958(0x35c);return{'changeset':{'unitID':_0x57fa9e,'type':I[_0x1fa958(0x41c)](_0x182ad4['getUnitType'](_0x57fa9e)),'baseRev':_0x4f091d[_0x1fa958(0x3c5)](_0x57fa9e),'revision':0x0,'userID':_0x409a2c,'memberID':_0x16a664,'mutations':_0xf75cfa},'pendingMutations':[]};}function bt(_0x2ee865,_0x50f86d){var _0x2f4048=_0x1c66a7;const _0xa58e22=new $[(_0x2f4048(0x484))](0x1);return setTimeout(()=>_0xa58e22['next'](_0x50f86d),_0x2ee865),_0xa58e22[_0x2f4048(0x233)]()['pipe']($[_0x2f4048(0x278)](0x1));}const ui={'id':X[_0x1c66a7(0x20d)]['id'],'type':a[_0x1c66a7(0x44e)][_0x1c66a7(0x1bb)],'params':{}};var di=Object[_0x1c66a7(0x18b)],ae=(_0x4a9774,_0x45ef67,_0x4f721a,_0x10125b)=>{for(var _0x58534f=_0x10125b>0x1?void 0x0:_0x10125b?di(_0x45ef67,_0x4f721a):_0x45ef67,_0x48033c=_0x4a9774['length']-0x1,_0x398847;_0x48033c>=0x0;_0x48033c--)(_0x398847=_0x4a9774[_0x48033c])&&(_0x58534f=_0x398847(_0x58534f)||_0x58534f);return _0x58534f;},w=(_0x26c8dc,_0x572469)=>(_0x4801ab,_0x590304)=>_0x572469(_0x4801ab,_0x590304,_0x26c8dc),Be=(_0x3e3511=>(_0x3e3511[_0x1c66a7(0x1d3)]=_0x1c66a7(0x195),_0x3e3511['SYNCED']=_0x1c66a7(0x159),_0x3e3511[_0x1c66a7(0x35b)]=_0x1c66a7(0x2ad),_0x3e3511[_0x1c66a7(0x446)]=_0x1c66a7(0x325),_0x3e3511[_0x1c66a7(0x472)]='awaiting_with_pending',_0x3e3511[_0x1c66a7(0x283)]=_0x1c66a7(0x151),_0x3e3511[_0x1c66a7(0x1e2)]=_0x1c66a7(0x2ee),_0x3e3511[_0x1c66a7(0x287)]=_0x1c66a7(0x491),_0x3e3511))(Be||{});const Rt=0xea60;class ce{constructor(_0x3f54b7,_0x256151,_0x26f47f,_0x22c1a5,_0x1fe350,_0x1d5d37,_0x5d67c1,_0x15a6a2,_0x59f512){var _0x3cc569=_0x1c66a7;A(this,_0x3cc569(0x170),null),A(this,_0x3cc569(0x423),[]),(this[_0x3cc569(0x329)]=_0x3f54b7,this[_0x3cc569(0x231)]=_0x256151,this['_handler']=_0x1fe350,this[_0x3cc569(0x247)]=_0x1d5d37,this['_undoRedoService']=_0x5d67c1,this[_0x3cc569(0x4b5)]=_0x15a6a2,this[_0x3cc569(0x24b)]=_0x59f512,this[_0x3cc569(0x170)]=_0x26f47f,this[_0x3cc569(0x423)]=_0x22c1a5);}['_checkMissing'](_0x223d93){var _0x24941d=_0x1c66a7;const _0x269bb4=this[_0x24941d(0x4b5)][_0x24941d(0x3c5)](this['unitID']);return _0x223d93[_0x24941d(0x328)]>_0x269bb4+0x1?(this[_0x24941d(0x261)]['onMissingChangesets']({'from':_0x269bb4,'to':_0x223d93[_0x24941d(0x328)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x40a9be){var _0x49c17d=_0x1c66a7;this[_0x49c17d(0x3e0)][_0x49c17d(0x2ac)](this[_0x49c17d(0x329)],_0x40a9be);}[_0x1c66a7(0x219)](_0x745740){var _0x3b8abf=_0x1c66a7,_0x4bb81a,_0x172a09;(_0x172a09=(_0x4bb81a=this[_0x3b8abf(0x261)])['onTransformSelections'])==null||_0x172a09[_0x3b8abf(0x200)](_0x4bb81a,_0x745740);}[_0x1c66a7(0x3ca)](_0x5af64b){var _0x10cb68=_0x1c66a7,_0x17adf3,_0x4002a3;return(_0x4002a3=(_0x17adf3=this[_0x10cb68(0x261)])[_0x10cb68(0x221)])==null?void 0x0:_0x4002a3[_0x10cb68(0x200)](_0x17adf3,_0x5af64b);}[_0x1c66a7(0x49d)](_0x1f4c5d){var _0x202097=_0x1c66a7,_0x7dfed0,_0x186b35;return(_0x186b35=(_0x7dfed0=this['_handler'])['onTransformState'])==null?void 0x0:_0x186b35[_0x202097(0x200)](_0x7dfed0,_0x1f4c5d);}['_transformRemoteChangesetByIMECache'](_0x43ba2b){var _0x2a7cf6=_0x1c66a7,_0x3db93b,_0x31da60,_0x2b7a1f;return(_0x2b7a1f=(_0x31da60=(_0x3db93b=this[_0x2a7cf6(0x261)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x31da60['call'](_0x3db93b,_0x43ba2b))!=null?_0x2b7a1f:_0x43ba2b;}['_transformRemoteChangesetByStateCache'](_0x39b77e){var _0x5282b4=_0x1c66a7,_0x13a9f4,_0x1de8c8,_0x1f5044;return(_0x1f5044=(_0x1de8c8=(_0x13a9f4=this['_handler'])[_0x5282b4(0x448)])==null?void 0x0:_0x1de8c8['call'](_0x13a9f4,_0x39b77e))!=null?_0x1f5044:_0x39b77e;}[_0x1c66a7(0x2f5)](_0x4d7f11){var _0x696653=_0x1c66a7,_0x502b28,_0x2da9f7;if(this[_0x696653(0x231)]===J[_0x696653(0x455)]){const {unitID:_0xb17e81,mutations:_0x1b07b4,memberID:_0x157ca9}=_0x4d7f11,_0x1786da=_0x1b07b4[0x0]['params']['textRanges'];Array[_0x696653(0x2e7)](_0x1786da)&&_0x1786da[_0x696653(0x1c0)]>0x0&&((_0x2da9f7=(_0x502b28=this[_0x696653(0x261)])['onSyncEditingCollabCursor'])==null||_0x2da9f7['call'](_0x502b28,{'unitID':_0xb17e81,'memberID':_0x157ca9,'textRanges':_0x1786da}));}}[_0x1c66a7(0x4a8)](){var _0x384f35=_0x1c66a7,_0x35a9c2;(_0x35a9c2=this[_0x384f35(0x24b)])==null||_0x35a9c2[_0x384f35(0x414)](this['unitID'],this['type'],this[_0x384f35(0x170)],this[_0x384f35(0x423)]);}['_getCurrentRevision'](){var _0x5bfad2=_0x1c66a7;return this['_revisionService'][_0x5bfad2(0x3c5)](this['unitID']);}['_incrementRevisionNumber'](){var _0x4d4045=_0x1c66a7;this[_0x4d4045(0x4b5)][_0x4d4045(0x14f)](this[_0x4d4045(0x329)]);}[_0x1c66a7(0x297)](_0x1d942b){var _0xd5689=_0x1c66a7,_0x11d9c9;let _0x363e4a=this[_0xd5689(0x350)](_0x1d942b);_0x363e4a=this['_transformRemoteChangesetByStateCache'](_0x363e4a);const _0xd5b5b8=a[_0xd5689(0x1ec)](_0x363e4a[_0xd5689(0x17b)],this[_0xd5689(0x247)],{'fromCollab':!0x0});if(!_0xd5b5b8[_0xd5689(0x3ff)])throw _0xd5b5b8[_0xd5689(0x3b6)]instanceof Error?_0xd5b5b8[_0xd5689(0x3b6)]:new Error((_0x11d9c9=_0xd5b5b8['error'])!=null?_0x11d9c9:_0xd5689(0x33b));this[_0xd5689(0x3ca)](_0x363e4a),this['_transformStateCache'](_0x363e4a),this[_0xd5689(0x23f)](_0x1d942b),this[_0xd5689(0x219)](_0x363e4a),this['_syncEditingCollabCursor'](_0x363e4a),this[_0xd5689(0x430)]();}}exports[_0x1c66a7(0x14e)]=class extends ce{constructor(_0x2e9e3f,_0x4e6a62,_0xa2ea95,_0x29a392,_0x2eec06,_0x15febd,_0x540845,_0x446bb8,_0x340f3f,_0x3a3a2e){var _0x179d28=_0x1c66a7;super(_0x2e9e3f,_0x4e6a62,null,[],_0xa2ea95,_0x540845,_0x15febd,_0x29a392,_0x3a3a2e),A(this,_0x179d28(0x3ea),_0x179d28(0x159)),(this['_injector']=_0x2eec06,this[_0x179d28(0x309)]=_0x446bb8,this[_0x179d28(0x225)]=_0x340f3f,this[_0x179d28(0x31f)]=_0x3a3a2e);}[_0x1c66a7(0x1b4)](_0x1524a2){var _0x1cd84b=_0x1c66a7;const _0x2c068e=this[_0x1cd84b(0x2cf)][_0x1cd84b(0x361)](exports[_0x1cd84b(0x1b9)],this[_0x1cd84b(0x329)],this[_0x1cd84b(0x231)],[_0x1524a2],this[_0x1cd84b(0x261)]);return _0x2c068e['_schedule'](),_0x2c068e[_0x1cd84b(0x4a8)](),_0x2c068e;}[_0x1c66a7(0x289)](_0x281983){var _0x10a303=_0x1c66a7;if(this[_0x10a303(0x326)](_0x281983))return this['_injector'][_0x10a303(0x361)](exports[_0x10a303(0x45e)],this[_0x10a303(0x329)],this['type'],null,[],null,[_0x281983],this[_0x10a303(0x261)]);try{const _0x5d8b2e=this[_0x10a303(0x225)][_0x10a303(0x239)](_0x281983,[ui]);if(I[_0x10a303(0x39b)](_0x5d8b2e)){const {c1Prime:_0x5c624f}=_0x5d8b2e;return this[_0x10a303(0x297)](_0x5c624f),this;}throw _0x5d8b2e[_0x10a303(0x3b6)];}catch(_0x4a6bb4){return this[_0x10a303(0x309)]['error'](_0x4a6bb4),this[_0x10a303(0x165)](!0x1);}}['_onConflict'](_0x103566){var _0x25f818=_0x1c66a7;return this[_0x25f818(0x2cf)]['createInstance'](exports[_0x25f818(0x457)],this[_0x25f818(0x329)],this[_0x25f818(0x231)],null,[],this[_0x25f818(0x261)],_0x103566);}[_0x1c66a7(0x422)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x241204=_0x1c66a7;return this[_0x241204(0x2cf)]['createInstance'](exports[_0x241204(0x267)],this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x1c66a7(0x235)](){var _0x3e4cf6=_0x1c66a7;throw new Error(_0x3e4cf6(0x25a));}['fetchMiss'](){var _0x55b767=_0x1c66a7;const _0x5321cc=this[_0x55b767(0x4b5)][_0x55b767(0x3c5)](this['unitID']);return this[_0x55b767(0x261)][_0x55b767(0x465)]({'from':_0x5321cc,'to':0x0}),this[_0x55b767(0x2cf)][_0x55b767(0x361)](exports[_0x55b767(0x45e)],this['unitID'],this[_0x55b767(0x231)],null,[],null,[],this[_0x55b767(0x261)]);}},exports[_0x1c66a7(0x14e)]=ae([w(0x3,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x4,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x1c66a7(0x31c)]),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,I[_0x1c66a7(0x15f)]),w(0x9,a[_0x1c66a7(0x3c9)](q))],exports['SyncedState']),exports[_0x1c66a7(0x1b9)]=class extends ce{constructor(_0x1705d0,_0x155aaa,_0x4d3c90,_0x9e4f15,_0x46659a,_0x3c129c,_0x152e5d,_0x51e47e,_0x3d3abf,_0x4de212,_0x48446e,_0x531235,_0x581b59,_0x107599){var _0x290098=_0x1c66a7;super(_0x1705d0,_0x155aaa,null,_0x4d3c90,_0x9e4f15,_0x3d3abf,_0x581b59,_0x3c129c,_0x107599),A(this,_0x290098(0x3ea),_0x290098(0x2ad)),A(this,_0x290098(0x2d3),null),A(this,_0x290098(0x3bb),null),(this[_0x290098(0x2cf)]=_0x46659a,this['_memberService']=_0x152e5d,this[_0x290098(0x309)]=_0x51e47e,this[_0x290098(0x26d)]=_0x4de212,this['_transformService']=_0x48446e,this[_0x290098(0x204)]=_0x531235);}['appendMutation'](_0x1a9236){var _0x352dd5=_0x1c66a7;return this[_0x352dd5(0x423)][_0x352dd5(0x421)](_0x1a9236),this[_0x352dd5(0x4a8)](),this;}[_0x1c66a7(0x289)](_0x5cc752){var _0x9db640=_0x1c66a7;if(this['_checkMissing'](_0x5cc752))return this['_clearScheduledTask'](),this[_0x9db640(0x2cf)]['createInstance'](exports[_0x9db640(0x45e)],this[_0x9db640(0x329)],this['type'],null,this[_0x9db640(0x423)],null,[_0x5cc752],this[_0x9db640(0x261)]);try{const _0x4855d5=this[_0x9db640(0x225)][_0x9db640(0x239)](_0x5cc752,this[_0x9db640(0x423)]);if(I[_0x9db640(0x39b)](_0x4855d5)){const {c1Prime:_0x4c04ff,m2Prime:_0x2b2d2d}=_0x4855d5;this[_0x9db640(0x297)](_0x4c04ff);const _0xfccb3e=this[_0x9db640(0x2cf)][_0x9db640(0x361)](exports[_0x9db640(0x1b9)],this[_0x9db640(0x329)],this[_0x9db640(0x231)],_0x2b2d2d,this[_0x9db640(0x261)]);this[_0x9db640(0x171)]();const _0x476078=new Date()[_0x9db640(0x4a6)](),_0x507de3=this[_0x9db640(0x2d3)]?Math['max'](this[_0x9db640(0x2d3)]-_0x476078,0x0):this[_0x9db640(0x29d)]();return _0xfccb3e[_0x9db640(0x30b)](_0x507de3),_0xfccb3e;}throw _0x4855d5['error'];}catch(_0x610ebe){return this[_0x9db640(0x309)][_0x9db640(0x3b6)](_0x610ebe),this[_0x9db640(0x165)](!0x1);}}[_0x1c66a7(0x422)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1c66a7(0x396)](){var _0x1ab64b=_0x1c66a7;throw new Error(_0x1ab64b(0x2d0));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x479b38=_0x1c66a7;return this[_0x479b38(0x171)](),this[_0x479b38(0x2cf)][_0x479b38(0x361)](exports[_0x479b38(0x267)],this[_0x479b38(0x329)],this['type'],null,this[_0x479b38(0x423)],this[_0x479b38(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x30b)](_0x5cd347){var _0x4fc56b=_0x1c66a7;const _0x54baee=_0x5cd347!=null?_0x5cd347:this[_0x4fc56b(0x29d)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4fc56b(0x4a6)]()+_0x54baee,this['_sendingTimer']=setTimeout(()=>{var _0x2a973a=_0x4fc56b;this['_clearScheduledTask']();let _0x2c457f=null;switch(this['type']){case J[_0x2a973a(0x1dc)]:{_0x2c457f=Ke(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this[_0x2a973a(0x204)],this['_revisionService'],this['_memberService']);break;}case J['UNIVER_DOC']:{this['_pendingMutations'][_0x2a973a(0x33d)](_0x4be725=>_0x4be725['id']===ht[_0x2a973a(0x4aa)]['id'])?_0x2c457f=li(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this[_0x2a973a(0x204)],this[_0x2a973a(0x4b5)],this['_memberService']):_0x2c457f=Ke(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this['_univerInstanceService'],this[_0x2a973a(0x4b5)],this['_memberService']);break;}default:throw new Error(_0x2a973a(0x44c)+this[_0x2a973a(0x231)]+_0x2a973a(0x294));}const {changeset:_0x2f023,pendingMutations:_0x5d9d32}=_0x2c457f;this[_0x2a973a(0x261)][_0x2a973a(0x1e8)](_0x2f023);const _0x116097=_0x5d9d32[_0x2a973a(0x1c0)]?this['_injector'][_0x2a973a(0x361)](exports[_0x2a973a(0x469)],this[_0x2a973a(0x329)],this['type'],_0x2f023,_0x5d9d32,this[_0x2a973a(0x261)],void 0x0):this[_0x2a973a(0x2cf)][_0x2a973a(0x361)](exports[_0x2a973a(0x358)],this[_0x2a973a(0x329)],this[_0x2a973a(0x231)],_0x2f023,this[_0x2a973a(0x261)]);_0x116097[_0x2a973a(0x4a8)](),this[_0x2a973a(0x261)][_0x2a973a(0x417)](this,_0x116097);},_0x54baee);}[_0x1c66a7(0x29d)](){var _0x2b4b9f=_0x1c66a7,_0x5b1259;const _0x29d2ed=this[_0x2b4b9f(0x26d)][_0x2b4b9f(0x3b7)](K);return(_0x5b1259=_0x29d2ed==null?void 0x0:_0x29d2ed['sendChangesetTimeout'])!=null?_0x5b1259:xt;}[_0x1c66a7(0x235)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1c66a7(0x171)](){var _0x2fdf44=_0x1c66a7;this[_0x2fdf44(0x3bb)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1c66a7(0x165)](_0x2219b1){var _0x74bf21=_0x1c66a7;return this[_0x74bf21(0x171)](),this[_0x74bf21(0x2cf)][_0x74bf21(0x361)](exports['ConflictState'],this[_0x74bf21(0x329)],this[_0x74bf21(0x231)],null,this[_0x74bf21(0x423)],this[_0x74bf21(0x261)],_0x2219b1);}},exports[_0x1c66a7(0x1b9)]=ae([w(0x4,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x5,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x6,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x467)])),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,a[_0x1c66a7(0x31c)]),w(0x9,a[_0x1c66a7(0x33a)]),w(0xa,I['ITransformService']),w(0xb,a[_0x1c66a7(0x2c7)]),w(0xc,a[_0x1c66a7(0x25c)]),w(0xd,a['Optional'](q))],exports[_0x1c66a7(0x1b9)]),exports['AwaitingState']=class extends ce{constructor(_0x482bf9,_0x2b2605,_0x57fb8a,_0x2a5f0a,_0x116128,_0x4cbcaa,_0x3be444,_0x247b39,_0x14c65d,_0x421f00,_0x4ea927){var _0x43401c=_0x1c66a7;super(_0x482bf9,_0x2b2605,_0x57fb8a,[],_0x2a5f0a,_0x3be444,_0x421f00,_0x4cbcaa,_0x4ea927),A(this,_0x43401c(0x3ea),_0x43401c(0x325)),A(this,_0x43401c(0x21f),0x0),A(this,_0x43401c(0x4b0)),A(this,_0x43401c(0x3b8)),(this[_0x43401c(0x2cf)]=_0x116128,this['_logService']=_0x247b39,this[_0x43401c(0x225)]=_0x14c65d);}[_0x1c66a7(0x1b4)](_0x4a1f2a){var _0x5acbc2=_0x1c66a7;this[_0x5acbc2(0x171)]();const _0x4b1d8a=this[_0x5acbc2(0x2cf)][_0x5acbc2(0x361)](exports[_0x5acbc2(0x469)],this['unitID'],this[_0x5acbc2(0x231)],this[_0x5acbc2(0x170)],[_0x4a1f2a],this['_handler'],this[_0x5acbc2(0x4b0)]);return _0x4b1d8a[_0x5acbc2(0x4a8)](),_0x4b1d8a;}[_0x1c66a7(0x289)](_0x4ad7a1){var _0x79b5c0=_0x1c66a7;if(this[_0x79b5c0(0x326)](_0x4ad7a1))return this[_0x79b5c0(0x171)](),this['_injector'][_0x79b5c0(0x361)](exports[_0x79b5c0(0x45e)],this['unitID'],this[_0x79b5c0(0x231)],this['_awaitingChangeset'],[],null,[_0x4ad7a1],this[_0x79b5c0(0x261)]);try{const _0x227c15=this[_0x79b5c0(0x225)][_0x79b5c0(0x483)]([_0x4ad7a1],[this[_0x79b5c0(0x170)]],!0x1);if(I[_0x79b5c0(0x4ac)](_0x227c15)){const {c1Prime:_0x40c3a1,c2Prime:_0x3c6c7b}=_0x227c15;this[_0x79b5c0(0x297)](_0x40c3a1[0x0]),_0x3c6c7b[0x0][_0x79b5c0(0x3b1)]=this[_0x79b5c0(0x31a)](),this[_0x79b5c0(0x171)]();const _0x76066d=this['_injector'][_0x79b5c0(0x361)](exports[_0x79b5c0(0x358)],this['unitID'],this[_0x79b5c0(0x231)],_0x3c6c7b[0x0],this[_0x79b5c0(0x261)]);return _0x76066d['_updateLocalCache'](),_0x76066d;}return this['_onConflict'](!0x1);}catch(_0xf9a72c){return this['_logService']['error'](_0xf9a72c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1cde7a){var _0xf297d5=_0x1c66a7;this[_0xf297d5(0x171)]();const _0x4ca30a=this[_0xf297d5(0x4b5)][_0xf297d5(0x3c5)](this[_0xf297d5(0x329)]);if(_0x1cde7a[_0xf297d5(0x328)]<_0x4ca30a-0x1)return this;if(this[_0xf297d5(0x326)](_0x1cde7a))return this[_0xf297d5(0x2cf)][_0xf297d5(0x361)](exports['FetchingMissState'],this[_0xf297d5(0x329)],this[_0xf297d5(0x231)],null,[],this[_0xf297d5(0x170)],[],this['_handler']);this[_0xf297d5(0x430)]();const _0x5e5b8e=this['_injector'][_0xf297d5(0x361)](exports[_0xf297d5(0x14e)],this['unitID'],this['type'],this[_0xf297d5(0x261)]);return _0x5e5b8e[_0xf297d5(0x4a8)](),_0x5e5b8e;}[_0x1c66a7(0x396)](_0xbfddb0){return this['_onConflict'](!!(_0xbfddb0!=null&&_0xbfddb0['isPermissionRej']));}[_0x1c66a7(0x272)](_0x3158ce){var _0x11776e=_0x1c66a7;return this[_0x11776e(0x21f)]>Rt?this[_0x11776e(0x35d)]():(this[_0x11776e(0x4b0)]=bt(this[_0x11776e(0x21f)],{'timeout':this[_0x11776e(0x21f)],'reqId':_0x3158ce[_0x11776e(0x2dd)]}),this[_0x11776e(0x3b8)]=this[_0x11776e(0x4b0)][_0x11776e(0x400)](({reqId:_0x226631,timeout:_0x55a2e6})=>{var _0x416eb9=_0x11776e;this[_0x416eb9(0x2af)](_0x226631,_0x55a2e6);}),this);}['toggleOffline'](){var _0xfbf3c0=_0x1c66a7;return this[_0xfbf3c0(0x171)](),this['_injector']['createInstance'](exports[_0xfbf3c0(0x267)],this[_0xfbf3c0(0x329)],this['type'],this[_0xfbf3c0(0x170)],[],this[_0xfbf3c0(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}['resend'](){var _0x2f4d66=_0x1c66a7;this[_0x2f4d66(0x261)][_0x2f4d66(0x1e8)](this['_awaitingChangeset']);}['_onConflict'](_0x357177){var _0x408baa=_0x1c66a7;return this[_0x408baa(0x171)](),this['_injector'][_0x408baa(0x361)](exports[_0x408baa(0x457)],this[_0x408baa(0x329)],this[_0x408baa(0x231)],this[_0x408baa(0x170)],[],this[_0x408baa(0x261)],_0x357177);}[_0x1c66a7(0x2af)](_0xf991d5,_0x36ef2c){var _0x59f28d=_0x1c66a7,_0x52ccb4;_0xf991d5===((_0x52ccb4=this[_0x59f28d(0x170)])==null?void 0x0:_0x52ccb4['reqId'])&&(this['resend'](),this[_0x59f28d(0x21f)]=_0x36ef2c===0x0?0x3e8:_0x36ef2c*0x2);}[_0x1c66a7(0x171)](){var _0x14c392=_0x1c66a7,_0x1577b3;(_0x1577b3=this[_0x14c392(0x3b8)])==null||_0x1577b3[_0x14c392(0x1df)](),this[_0x14c392(0x21f)]=0x0;}},exports[_0x1c66a7(0x358)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](I[_0x1c66a7(0x1f3)])),w(0x6,a[_0x1c66a7(0x31c)]),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,I[_0x1c66a7(0x15f)]),w(0x9,a[_0x1c66a7(0x25c)]),w(0xa,a[_0x1c66a7(0x3c9)](q))],exports[_0x1c66a7(0x358)]),exports[_0x1c66a7(0x469)]=class extends ce{constructor(_0x17f69d,_0x22a256,_0x1c5bdd,_0x32a13c,_0xbf2249,_0x17700c,_0x1ebda1,_0x49bafb,_0x194f02,_0x147744,_0xfe230b,_0x4c0cca,_0x50b124){var _0x46f11d=_0x1c66a7;super(_0x17f69d,_0x22a256,_0x1c5bdd,_0x32a13c,_0xbf2249,_0x194f02,_0x4c0cca,_0x49bafb,_0x50b124),A(this,_0x46f11d(0x3ea),_0x46f11d(0x3cb)),A(this,_0x46f11d(0x21f),0x0),A(this,'_resendTimer'),A(this,_0x46f11d(0x3b8)),(this[_0x46f11d(0x2cf)]=_0x1ebda1,this['_logService']=_0x147744,this[_0x46f11d(0x225)]=_0xfe230b,this[_0x46f11d(0x31f)]=_0x50b124,_0x17700c&&(this['_resendTimer']=_0x17700c,this[_0x46f11d(0x3b8)]=this[_0x46f11d(0x4b0)]['subscribe'](({reqId:_0x6f00a5,timeout:_0xaf390c})=>{var _0x5e228f=_0x46f11d;this[_0x5e228f(0x2af)](_0x6f00a5,_0xaf390c);})));}[_0x1c66a7(0x1b4)](_0x174670){var _0xa6f53d=_0x1c66a7;return this[_0xa6f53d(0x423)]['push'](_0x174670),this;}[_0x1c66a7(0x289)](_0x2e59eb){var _0x384528=_0x1c66a7;if(this[_0x384528(0x326)](_0x2e59eb))return this[_0x384528(0x171)](),this[_0x384528(0x2cf)]['createInstance'](exports[_0x384528(0x45e)],this[_0x384528(0x329)],this['type'],this[_0x384528(0x170)],this[_0x384528(0x423)],null,[_0x2e59eb],this[_0x384528(0x261)]);try{const _0x4340af=this[_0x384528(0x225)][_0x384528(0x483)]([_0x2e59eb],[this[_0x384528(0x170)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x4340af)){const {c1Prime:_0x555093,c2Prime:_0x2ca72a}=_0x4340af,_0x51eba1=this[_0x384528(0x225)][_0x384528(0x239)](_0x555093[0x0],this[_0x384528(0x423)]);if(I[_0x384528(0x39b)](_0x51eba1)){const {c1Prime:_0x1bf414,m2Prime:_0x10204d}=_0x51eba1;return this[_0x384528(0x297)](_0x1bf414),_0x2ca72a[0x0][_0x384528(0x3b1)]=this['_getCurrentRevision'](),this[_0x384528(0x171)](),this[_0x384528(0x2cf)]['createInstance'](exports[_0x384528(0x469)],this[_0x384528(0x329)],this[_0x384528(0x231)],_0x2ca72a[0x0],_0x10204d,this[_0x384528(0x261)],void 0x0);}throw _0x51eba1['error'];}throw _0x4340af[_0x384528(0x3b6)];}catch(_0x37238e){return this['_logService'][_0x384528(0x3b6)](_0x37238e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x210951){var _0x4d9024=_0x1c66a7;if(this[_0x4d9024(0x171)](),this[_0x4d9024(0x326)](_0x210951))return this[_0x4d9024(0x2cf)][_0x4d9024(0x361)](exports[_0x4d9024(0x45e)],this[_0x4d9024(0x329)],this[_0x4d9024(0x231)],null,this[_0x4d9024(0x423)],this[_0x4d9024(0x170)],[],this[_0x4d9024(0x261)]);this['_incrementRevisionNumber']();const _0x41d217=this[_0x4d9024(0x2cf)][_0x4d9024(0x361)](exports[_0x4d9024(0x1b9)],this[_0x4d9024(0x329)],this['type'],this[_0x4d9024(0x423)],this['_handler']);return _0x41d217['_schedule'](),_0x41d217[_0x4d9024(0x4a8)](),_0x41d217;}[_0x1c66a7(0x396)](_0x52ffca){var _0x5ad255=_0x1c66a7;return this[_0x5ad255(0x165)](!!(_0x52ffca!=null&&_0x52ffca[_0x5ad255(0x3d5)]));}[_0x1c66a7(0x272)](_0xfc64dc){var _0x1e42c2=_0x1c66a7;return this[_0x1e42c2(0x21f)]>Rt?this[_0x1e42c2(0x35d)]():(this[_0x1e42c2(0x4b0)]=bt(this[_0x1e42c2(0x21f)],{'timeout':this['_resendTimeout'],'reqId':_0xfc64dc['reqId']}),this[_0x1e42c2(0x3b8)]=this[_0x1e42c2(0x4b0)]['subscribe'](({reqId:_0xf724,timeout:_0x4a4f5c})=>{this['_resendWithTimeout'](_0xf724,_0x4a4f5c);}),this);}[_0x1c66a7(0x35d)](){var _0x1ef5e7=_0x1c66a7;return this[_0x1ef5e7(0x171)](),this['_injector']['createInstance'](exports[_0x1ef5e7(0x267)],this[_0x1ef5e7(0x329)],this[_0x1ef5e7(0x231)],this[_0x1ef5e7(0x170)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x1c66a7(0x235)](){var _0x5e91e9=_0x1c66a7;this[_0x5e91e9(0x261)][_0x5e91e9(0x1e8)](this[_0x5e91e9(0x170)]);}[_0x1c66a7(0x165)](_0x37e55f){var _0x528895=_0x1c66a7;return this[_0x528895(0x171)](),this[_0x528895(0x2cf)][_0x528895(0x361)](exports[_0x528895(0x457)],this[_0x528895(0x329)],this[_0x528895(0x231)],null,this[_0x528895(0x423)],this['_handler'],_0x37e55f);}[_0x1c66a7(0x2af)](_0x29c9dd,_0x14a7e6){var _0x3e4add=_0x1c66a7,_0x652b46;_0x29c9dd===((_0x652b46=this['_awaitingChangeset'])==null?void 0x0:_0x652b46['reqId'])&&(this[_0x3e4add(0x235)](),this[_0x3e4add(0x21f)]=_0x14a7e6===0x0?0x3e8:_0x14a7e6*0x2);}[_0x1c66a7(0x171)](){var _0x482fbe=_0x1c66a7,_0x8bdaec;(_0x8bdaec=this[_0x482fbe(0x3b8)])==null||_0x8bdaec['unsubscribe'](),this[_0x482fbe(0x21f)]=0x0;}},exports[_0x1c66a7(0x469)]=ae([w(0x6,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x7,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x8,a['ICommandService']),w(0x9,a[_0x1c66a7(0x2c8)]),w(0xa,I[_0x1c66a7(0x15f)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x1c66a7(0x3c9)](q))],exports['AwaitingWithPendingState']),exports[_0x1c66a7(0x457)]=class extends ce{constructor(_0x20ed92,_0xd2414d,_0xe3e3b1,_0x1e72bf,_0x2681a3,_0x4f6d94=!0x1,_0x47fff8,_0x1174c1,_0x5760a7,_0x539a5a,_0x63cb38,_0x3e4416,_0x40c401){var _0x4d9264=_0x1c66a7;super(_0x20ed92,_0xd2414d,_0xe3e3b1,_0x1e72bf,_0x2681a3,_0x1174c1,_0x5760a7,_0x539a5a,_0x40c401),A(this,_0x4d9264(0x3ea),_0x4d9264(0x2ee)),(this['_isPermissionRej']=_0x4f6d94,this[_0x4d9264(0x1c3)]=_0x47fff8,this[_0x4d9264(0x2de)]=_0x63cb38,this[_0x4d9264(0x459)]=_0x3e4416,this[_0x4d9264(0x31f)]=_0x40c401,this[_0x4d9264(0x290)](),this[_0x4d9264(0x356)](),this[_0x4d9264(0x477)]());}[_0x1c66a7(0x1b4)](){return this;}['onRemoteChangeset'](){return this;}[_0x1c66a7(0x422)](){return this;}[_0x1c66a7(0x396)](){return this;}[_0x1c66a7(0x272)](){return this;}['toggleOffline'](){return this;}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x235)](){var _0x214e1c=_0x1c66a7;throw new Error(_0x214e1c(0x281));}[_0x1c66a7(0x356)](){var _0x19aad9=_0x1c66a7,_0x4cb42b;(_0x4cb42b=this['_localCacheService'])==null||_0x4cb42b['updateOfflineData'](this[_0x19aad9(0x329)],this[_0x19aad9(0x231)],null,[]);}[_0x1c66a7(0x290)](){var _0x46d30b=_0x1c66a7;this[_0x46d30b(0x25d)]?this[_0x46d30b(0x459)][_0x46d30b(0x2c0)]({'id':Z[_0x46d30b(0x2bd)]}):this[_0x46d30b(0x459)][_0x46d30b(0x2c0)]({'id':Z['CONFLICT']});}['_disableEditing'](){var _0x493967=_0x1c66a7;this[_0x493967(0x1c3)][_0x493967(0x269)](new X[(_0x493967(0x3e6))](this[_0x493967(0x329)])['id'],!0x1);}},exports['ConflictState']=ae([w(0x6,a[_0x1c66a7(0x1a6)](a['IPermissionService'])),w(0x7,a[_0x1c66a7(0x31c)]),w(0x8,a[_0x1c66a7(0x25c)]),w(0x9,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0xa,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),w(0xb,a[_0x1c66a7(0x1a6)](ee)),w(0xc,a[_0x1c66a7(0x3c9)](q))],exports[_0x1c66a7(0x457)]),exports[_0x1c66a7(0x267)]=class extends ce{constructor(_0x3eed59,_0x1ed4c3,_0x5f407c,_0x573f5d,_0x125826,_0x300abf,_0x2fc6bd,_0x4eca8e,_0x263c58,_0x271fce){var _0xb66fe9=_0x1c66a7;super(_0x3eed59,_0x1ed4c3,_0x5f407c,_0x573f5d,_0x125826,_0x4eca8e,_0x263c58,_0x2fc6bd,_0x271fce),A(this,_0xb66fe9(0x3ea),_0xb66fe9(0x491)),this[_0xb66fe9(0x2cf)]=_0x300abf;}[_0x1c66a7(0x1b4)](_0x38ffb9){var _0x11b712=_0x1c66a7;return this[_0x11b712(0x423)]['push'](_0x38ffb9),this[_0x11b712(0x4a8)](),this;}[_0x1c66a7(0x289)](_0x16e1c7){var _0xcb0a1d=_0x1c66a7;throw new Error(_0xcb0a1d(0x399));}['onRemoteAck'](){var _0x91d353=_0x1c66a7;throw new Error(_0x91d353(0x2d1));}[_0x1c66a7(0x396)](){var _0x28da0a=_0x1c66a7;throw new Error(_0x28da0a(0x37c));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){return this;}[_0x1c66a7(0x3a2)](){var _0x250999=_0x1c66a7;const {_injector:_0x51a81f,_pendingMutations:_0x539087,_awaitingChangeset:_0x563458,unitID:_0xb065e2,_handler:_0x549189,type:_0x3b213a}=this,_0x49ed01=Ot(_0x51a81f,_0xb065e2,_0x3b213a,_0x563458,_0x539087,_0x549189);return _0x49ed01 instanceof exports['PendingState']?_0x49ed01[_0x250999(0x30b)]():(_0x49ed01 instanceof exports[_0x250999(0x469)]||_0x49ed01 instanceof exports[_0x250999(0x358)])&&_0x49ed01['resend'](),_0x49ed01;}[_0x1c66a7(0x235)](){var _0x28a980=_0x1c66a7;throw new Error(_0x28a980(0x3e7));}},exports[_0x1c66a7(0x267)]=ae([w(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x6,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1c66a7(0x25c)]),w(0x9,a['Optional'](q))],exports[_0x1c66a7(0x267)]),exports[_0x1c66a7(0x45e)]=class extends ce{constructor(_0x339ce0,_0x546464,_0x383a04,_0x4e57df,_0x2e9d3d,_0x1bb13f,_0x3f7ffd,_0x58741d,_0x3ffb65,_0x35cf37,_0x38b713,_0x3a7546,_0x3487d2,_0x2a1cb5){var _0x46b066=_0x1c66a7;super(_0x339ce0,_0x546464,_0x383a04,_0x4e57df,_0x3f7ffd,_0x38b713,_0x3a7546,_0x3ffb65,_0x2a1cb5),A(this,'status',_0x46b066(0x151)),(this[_0x46b066(0x23b)]=_0x2e9d3d,this['_queuedRemoteChangesets']=_0x1bb13f,this[_0x46b066(0x2cf)]=_0x58741d,this[_0x46b066(0x309)]=_0x35cf37,this['_transformService']=_0x3487d2,this[_0x46b066(0x31f)]=_0x2a1cb5);}[_0x1c66a7(0x490)](_0x4f97b9){var _0x5742b9=_0x1c66a7;try{const _0x17b389=[..._0x4f97b9,...this[_0x5742b9(0x37a)]],_0x24a9a6=[this[_0x5742b9(0x170)]||this[_0x5742b9(0x23b)]][_0x5742b9(0x411)](_0x434eb0=>!!_0x434eb0);let _0xe1bd6d,_0x31844a;if(_0x24a9a6[_0x5742b9(0x1c0)]){const _0x3a27bb=this[_0x5742b9(0x225)][_0x5742b9(0x483)](_0x17b389,_0x24a9a6,!0x1);if(!I[_0x5742b9(0x4ac)](_0x3a27bb))throw _0x3a27bb[_0x5742b9(0x3b6)];_0xe1bd6d=_0x3a27bb[_0x5742b9(0x2ef)],_0x31844a=_0x3a27bb[_0x5742b9(0x149)];}else _0xe1bd6d=_0x17b389,_0x31844a=[];let _0x392be5=this[_0x5742b9(0x423)];_0xe1bd6d['forEach'](_0x37e3bc=>{var _0x4004ca=_0x5742b9;let _0x566af1;if(_0x392be5[_0x4004ca(0x1c0)]){const _0x4312c5=this[_0x4004ca(0x225)][_0x4004ca(0x239)](_0x37e3bc,_0x392be5);if(!I[_0x4004ca(0x39b)](_0x4312c5))throw _0x4312c5['error'];_0x566af1=_0x4312c5[_0x4004ca(0x2ef)],_0x392be5=_0x4312c5[_0x4004ca(0x428)];}else _0x566af1=_0x37e3bc;this[_0x4004ca(0x297)](_0x566af1);}),this[_0x5742b9(0x23b)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x31844a[_0x5742b9(0x1c0)]&&(_0x31844a[0x0][_0x5742b9(0x3b1)]=this[_0x5742b9(0x31a)]());let _0x46d3d7;if(this[_0x5742b9(0x170)]&&_0x392be5['length']!==0x0)_0x46d3d7=this['_injector']['createInstance'](exports[_0x5742b9(0x469)],this['unitID'],this[_0x5742b9(0x231)],_0x31844a[0x0],_0x392be5,this[_0x5742b9(0x261)],void 0x0);else{if(this[_0x5742b9(0x170)]&&_0x392be5[_0x5742b9(0x1c0)]===0x0)_0x31844a[0x0][_0x5742b9(0x3b1)]=this[_0x5742b9(0x31a)](),_0x46d3d7=this['_injector'][_0x5742b9(0x361)](exports[_0x5742b9(0x358)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],_0x31844a[0x0],this['_handler']);else{if(_0x392be5[_0x5742b9(0x1c0)]!==0x0){const _0x502c0a=this['_injector'][_0x5742b9(0x361)](exports[_0x5742b9(0x1b9)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],_0x392be5,this[_0x5742b9(0x261)]);_0x502c0a[_0x5742b9(0x30b)](),_0x46d3d7=_0x502c0a;}else _0x46d3d7=this[_0x5742b9(0x2cf)][_0x5742b9(0x361)](exports[_0x5742b9(0x14e)],this['unitID'],this[_0x5742b9(0x231)],this[_0x5742b9(0x261)]);}}return _0x46d3d7[_0x5742b9(0x4a8)](),_0x46d3d7;}catch(_0x3f4f4b){return this['_logService'][_0x5742b9(0x3b6)](_0x5742b9(0x2dc),_0x5742b9(0x1a8),_0x3f4f4b),this[_0x5742b9(0x2cf)][_0x5742b9(0x361)](exports[_0x5742b9(0x457)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],this[_0x5742b9(0x170)],this['_pendingMutations'],this[_0x5742b9(0x261)],!0x1);}}[_0x1c66a7(0x235)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1c66a7(0x1b4)](_0x136a13){var _0x3abb13=_0x1c66a7;return this[_0x3abb13(0x423)][_0x3abb13(0x421)](_0x136a13),this;}[_0x1c66a7(0x289)](_0x513249){var _0x10985b=_0x1c66a7;return this[_0x10985b(0x37a)][_0x10985b(0x421)](_0x513249),this;}[_0x1c66a7(0x422)](_0x5d0ed3){var _0x4d362c=_0x1c66a7;if(this[_0x4d362c(0x170)])return this[_0x4d362c(0x23b)]=this[_0x4d362c(0x170)],this[_0x4d362c(0x170)]=null,this;throw new Error(_0x4d362c(0x47c));}['onRemoteRej'](_0x15a863){var _0x2a04bf=_0x1c66a7;return this[_0x2a04bf(0x165)](!!(_0x15a863!=null&&_0x15a863[_0x2a04bf(0x3d5)]));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x49afac=_0x1c66a7;return this[_0x49afac(0x2cf)][_0x49afac(0x361)](exports[_0x49afac(0x267)],this['unitID'],this[_0x49afac(0x231)],this[_0x49afac(0x170)],this['_pendingMutations'],this[_0x49afac(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x165)](_0xfe062b){var _0x56723e=_0x1c66a7;return this[_0x56723e(0x2cf)][_0x56723e(0x361)](exports[_0x56723e(0x457)],this['unitID'],this['type'],this[_0x56723e(0x170)],this[_0x56723e(0x423)],this['_handler'],_0xfe062b);}},exports[_0x1c66a7(0x45e)]=ae([w(0x7,a['Inject'](a['Injector'])),w(0x8,a['Inject'](I[_0x1c66a7(0x1f3)])),w(0x9,a[_0x1c66a7(0x2c8)]),w(0xa,a[_0x1c66a7(0x31c)]),w(0xb,a[_0x1c66a7(0x25c)]),w(0xc,I[_0x1c66a7(0x15f)]),w(0xd,a[_0x1c66a7(0x3c9)](q))],exports['FetchingMissState']);function Ot(_0x1c1760,_0x416100,_0x12f991,_0x38d5ca,_0x459922,_0x505f11){var _0x10378d=_0x1c66a7;return _0x38d5ca&&_0x459922[_0x10378d(0x1c0)]?_0x1c1760[_0x10378d(0x361)](exports['AwaitingWithPendingState'],_0x416100,_0x12f991,_0x38d5ca,_0x459922,_0x505f11,void 0x0):_0x38d5ca?_0x1c1760[_0x10378d(0x361)](exports[_0x10378d(0x358)],_0x416100,_0x12f991,_0x38d5ca,_0x505f11):_0x459922[_0x10378d(0x1c0)]?_0x1c1760['createInstance'](exports[_0x10378d(0x1b9)],_0x416100,_0x12f991,_0x459922,_0x505f11):_0x1c1760[_0x10378d(0x361)](exports['SyncedState'],_0x416100,_0x12f991,_0x505f11);}var vi=Object[_0x1c66a7(0x18b)],Fe=(_0x371ac0,_0x263026,_0x3d57f5,_0x1c9eee)=>{var _0x1d5627=_0x1c66a7;for(var _0x193556=_0x1c9eee>0x1?void 0x0:_0x1c9eee?vi(_0x263026,_0x3d57f5):_0x263026,_0x329654=_0x371ac0[_0x1d5627(0x1c0)]-0x1,_0x1e0f7e;_0x329654>=0x0;_0x329654--)(_0x1e0f7e=_0x371ac0[_0x329654])&&(_0x193556=_0x1e0f7e(_0x193556)||_0x193556);return _0x193556;},j=(_0x1f0e7c,_0x2ded9d)=>(_0x12f9c7,_0x35f4bf)=>_0x2ded9d(_0x12f9c7,_0x35f4bf,_0x1f0e7c);exports[_0x1c66a7(0x16b)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0x460356,_0x14b2de,_0x512ff3,_0x4d0435,_0x4f5ddb,_0x5a6438,_0x1e8a70,_0x1d494e,_0x13b6d2,_0x281259,_0x4c6496,_0x4a27a1,_0x367a6e){var _0x5a0df8=_0x1c66a7;super(),A(this,'_state$',new $[(_0x5a0df8(0x1bf))](null)),A(this,'state$',this[_0x5a0df8(0x3c0)]['asObservable']()),A(this,'_state'),A(this,_0x5a0df8(0x14b),!0x1),A(this,_0x5a0df8(0x3cc),''),A(this,'_changesetReqId',0x0),A(this,_0x5a0df8(0x486),this['state$'][_0x5a0df8(0x1a3)]($['map'](_0x190da3=>_0x190da3?_0x190da3[_0x5a0df8(0x3ea)]:Be['OFFLINE']),$[_0x5a0df8(0x248)](0x1))),A(this,_0x5a0df8(0x454),!0x1),A(this,_0x5a0df8(0x27c),[]),(this['unitID']=_0x460356,this[_0x5a0df8(0x2bb)]=_0x14b2de,this[_0x5a0df8(0x1b6)]=_0x512ff3,this[_0x5a0df8(0x2cf)]=_0x4d0435,this[_0x5a0df8(0x42a)]=_0x4f5ddb,this[_0x5a0df8(0x2de)]=_0x5a6438,this[_0x5a0df8(0x4b5)]=_0x1e8a70,this[_0x5a0df8(0x310)]=_0x1d494e,this['_logService']=_0x13b6d2,this[_0x5a0df8(0x247)]=_0x281259,this[_0x5a0df8(0x1c3)]=_0x4c6496,this[_0x5a0df8(0x291)]=_0x4a27a1,this['_localCacheService']=_0x367a6e);}get['state'](){return this['_state'];}async[_0x1c66a7(0x145)](){var _0x2cdc7b=_0x1c66a7;if(this[_0x2cdc7b(0x330)])throw new Error(_0x2cdc7b(0x265));await this[_0x2cdc7b(0x339)]();}['pauseCollaboration'](){var _0x2667ee=_0x1c66a7;return this['_collaborationPaused']=!0x0,a[_0x2667ee(0x401)](()=>{var _0x5e6d60=_0x2667ee;this[_0x5e6d60(0x14b)]=!0x1,this[_0x5e6d60(0x32b)]();});}[_0x1c66a7(0x154)](_0x5548dd){var _0x2a8659=_0x1c66a7;this[_0x2a8659(0x47b)](_0x5548dd);}[_0x1c66a7(0x210)](_0xeb1942){var _0x25d007=_0x1c66a7;this[_0x25d007(0x433)]=_0xeb1942,this[_0x25d007(0x3c0)]['next'](_0xeb1942);}async[_0x1c66a7(0x339)](){var _0x54e383=_0x1c66a7,_0x4669fd;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4669fd=this[_0x54e383(0x291)])==null||_0x4669fd[_0x54e383(0x182)](this[_0x54e383(0x329)]),this[_0x54e383(0x3f0)](this[_0x54e383(0x291)][_0x54e383(0x285)](this[_0x54e383(0x329)])[_0x54e383(0x400)](_0x14961a=>{var _0x60fca6=_0x54e383;this['_logService'][_0x60fca6(0x16c)](_0x60fca6(0x224),'editing\x20status\x20changed\x20to',_0x14961a),_0x14961a===je[_0x60fca6(0x187)]?(this[_0x60fca6(0x310)]['emitEvent']({'id':Z[_0x60fca6(0x3f7)]}),this['_permissionService'][_0x60fca6(0x269)](new X[(_0x60fca6(0x3e6))](this[_0x60fca6(0x329)])['id'],!0x1),this[_0x60fca6(0x1c3)][_0x60fca6(0x3a3)](!0x1)):(this['_permissionService'][_0x60fca6(0x269)](new X[(_0x60fca6(0x3e6))](this[_0x60fca6(0x329)])['id'],!0x0),this[_0x60fca6(0x1c3)][_0x60fca6(0x3a3)](!0x0));})));let _0x573d17=!0x1;return this[_0x54e383(0x3f0)](this['session'][_0x54e383(0x2a0)]['subscribe'](_0x297be7=>{var _0x3fb68d=_0x54e383;_0x297be7===re[_0x3fb68d(0x279)]?this['_toggleOnline'](_0x573d17):_0x297be7===re[_0x3fb68d(0x287)]&&(_0x573d17=!0x0,this[_0x3fb68d(0x29c)]());})),this[_0x54e383(0x3f0)](this[_0x54e383(0x2bb)][_0x54e383(0x1e5)]['subscribe'](_0x43a13a=>{var _0x33ba10=_0x54e383;try{switch(_0x43a13a[_0x33ba10(0x21a)]){case I['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I['parseProtocolChangeset'](_0x43a13a[_0x33ba10(0x3a5)]));break;}case I['CollaborationEvent'][_0x33ba10(0x2b4)]:{this[_0x33ba10(0x1d5)](_0x43a13a['data']);break;}case I[_0x33ba10(0x152)][_0x33ba10(0x357)]:{this[_0x33ba10(0x1da)]();break;}case I[_0x33ba10(0x152)][_0x33ba10(0x1c7)]:{this['_onRemoteRetry'](_0x43a13a[_0x33ba10(0x3a5)]);break;}case I['CollaborationEvent'][_0x33ba10(0x3cd)]:{this[_0x33ba10(0x228)](_0x43a13a[_0x33ba10(0x3a5)][_0x33ba10(0x17a)][_0x33ba10(0x3a1)](_0x33202d=>I['parseProtocolChangeset'](_0x33202d)));break;}case I[_0x33ba10(0x152)][_0x33ba10(0x2e4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x33ba10(0x152)][_0x33ba10(0x3a9)]:break;}}catch(_0x514918){throw console['error']('Error\x20on\x20receiving\x20event',_0x514918),_0x514918;}})),this['_state'];}[_0x1c66a7(0x234)](){var _0x2b8155=_0x1c66a7;this[_0x2b8155(0x454)]=!0x1;}[_0x1c66a7(0x48d)](){var _0x1aacc5=_0x1c66a7;if(this[_0x1aacc5(0x454)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1aacc5(0x454)]=!0x0;}[_0x1c66a7(0x47b)](_0x18fdd7){var _0x121935=_0x1c66a7;this[_0x121935(0x48d)](),this[_0x121935(0x210)](this[_0x121935(0x433)][_0x121935(0x1b4)](_0x18fdd7)),this[_0x121935(0x234)]();}[_0x1c66a7(0x28e)](_0x7f1b3b){var _0x331b99=_0x1c66a7;if(!(_0x7f1b3b[_0x331b99(0x328)]<=this[_0x331b99(0x4b5)][_0x331b99(0x3c5)](this[_0x331b99(0x329)]))){if(this['_collaborationPaused']){this[_0x331b99(0x27c)]['push'](_0x7f1b3b);return;}this[_0x331b99(0x441)](_0x7f1b3b);}}[_0x1c66a7(0x32b)](){var _0x14e675=_0x1c66a7;this[_0x14e675(0x27c)][_0x14e675(0x42e)](_0x1453e3=>this[_0x14e675(0x441)](_0x1453e3)),this[_0x14e675(0x27c)]=[];}[_0x1c66a7(0x441)](_0x7dae3c){var _0x49db14=_0x1c66a7;const _0x26479f=this['_compressMutationService'][_0x49db14(0x1e0)][_0x49db14(0x4af)](this[_0x49db14(0x42a)][_0x49db14(0x1e0)][_0x49db14(0x249)]()[_0x49db14(0x282)])(_0x7dae3c[_0x49db14(0x17b)],null)||_0x7dae3c[_0x49db14(0x17b)],_0x178edc={..._0x7dae3c,'mutations':_0x26479f};this[_0x49db14(0x48d)](),this[_0x49db14(0x210)](this['_state']['onRemoteChangeset'](_0x178edc)),this[_0x49db14(0x234)]();}['_onRemoteACK'](_0x13edde){var _0x351cc4=_0x1c66a7;this[_0x351cc4(0x48d)](),this['_updateState'](this['_state'][_0x351cc4(0x422)](_0x13edde)),this[_0x351cc4(0x234)]();}[_0x1c66a7(0x1da)](_0x1f3a3a){var _0x1c6940=_0x1c66a7;this[_0x1c6940(0x48d)](),this[_0x1c6940(0x210)](this['_state'][_0x1c6940(0x396)](_0x1f3a3a)),this[_0x1c6940(0x234)]();}[_0x1c66a7(0x150)](_0x3284bd){var _0x45573d=_0x1c66a7;this['_lockTransition'](),this[_0x45573d(0x210)](this[_0x45573d(0x433)]['onRemoteRetry'](_0x3284bd)),this[_0x45573d(0x234)]();}[_0x1c66a7(0x228)](_0x4e915b){var _0x19cad1=_0x1c66a7;if(!(this['_state']instanceof exports[_0x19cad1(0x45e)]))throw new TypeError(_0x19cad1(0x2c6));const _0x884c68=_0x4e915b[_0x19cad1(0x3a1)](_0x311269=>{var _0x596e02=_0x19cad1;const _0x2aadbc=this[_0x596e02(0x42a)][_0x596e02(0x1e0)][_0x596e02(0x4af)](this[_0x596e02(0x42a)][_0x596e02(0x1e0)]['getInterceptPoints']()[_0x596e02(0x282)])(_0x311269['mutations'],null)||_0x311269[_0x596e02(0x17b)];return{..._0x311269,'mutations':_0x2aadbc};});this[_0x19cad1(0x48d)](),this['_updateState'](this[_0x19cad1(0x433)][_0x19cad1(0x490)](_0x884c68)),this[_0x19cad1(0x234)]();}['_toggleOffline'](){var _0x140e96=_0x1c66a7;this[_0x140e96(0x48d)](),this['_updateState'](this['_state'][_0x140e96(0x35d)]()),this[_0x140e96(0x234)]();}['_toggleOnline'](_0x4ec172=!0x1){var _0x22bad3=_0x1c66a7;this[_0x22bad3(0x48d)](),this['_updateState'](this[_0x22bad3(0x433)][_0x22bad3(0x3a2)]()),this[_0x22bad3(0x234)]();const _0x24dd11=this[_0x22bad3(0x433)];_0x4ec172&&_0x24dd11 instanceof exports['SyncedState']&&(this[_0x22bad3(0x48d)](),this[_0x22bad3(0x210)](_0x24dd11[_0x22bad3(0x1d2)]()),this[_0x22bad3(0x234)]());}async[_0x1c66a7(0x175)](){return new Promise(_0x27cc15=>{var _0xb52058=_0x1aa6;this[_0xb52058(0x2bb)][_0xb52058(0x2a0)][_0xb52058(0x1a3)]($['take'](0x1))[_0xb52058(0x400)](async _0x48bb4a=>{var _0xa185d8=_0xb52058;_0x27cc15(await this[_0xa185d8(0x2e0)](_0x48bb4a===re[_0xa185d8(0x279)]));});});}['_createHandler'](){const _0xe740df=this['unitID'];return{'onStateChange':(_0x3df2fd,_0x3ca633)=>{var _0x346a18=_0x1aa6;if(_0x3df2fd!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3df2fd[_0x346a18(0x3ea)]+'\x0aAfter:\x20'+_0x3ca633['status']+_0x346a18(0x4ad)+this['_state'][_0x346a18(0x3ea)]);this[_0x346a18(0x210)](_0x3ca633);},'onSendChangeset':_0x592369=>{var _0x4317ed=_0x1aa6;_0x592369['sid']||(_0x592369['sid']=this[_0x4317ed(0x3cc)],_0x592369['reqId']=++this[_0x4317ed(0x436)]);const _0x1374c2={'eventID':I[_0x4317ed(0x152)][_0x4317ed(0x15e)],'data':{'unitID':_0x592369[_0x4317ed(0x329)],'unitType':this[_0x4317ed(0x1b6)],'changeset':_0x592369,'memberID':this['session']['getMemberID']()}};this[_0x4317ed(0x2bb)][_0x4317ed(0x44f)](_0x1374c2,this[_0x4317ed(0x329)]);},'onMissingChangesets':({from:_0x5e1092,to:_0x4f0000})=>{var _0x34ecb9=_0x1aa6;this[_0x34ecb9(0x309)]['debug']('[CollaborationEntity]',_0x34ecb9(0x14d)+_0x5e1092+_0x34ecb9(0x2e3)+_0x4f0000);const _0x1f3137={'eventID':I[_0x34ecb9(0x152)][_0x34ecb9(0x363)],'data':{'unitID':_0xe740df,'unitType':this['_type'],'from':_0x5e1092,'to':_0x4f0000}};this[_0x34ecb9(0x2bb)][_0x34ecb9(0x44f)](_0x1f3137,this[_0x34ecb9(0x329)]);}};}async['_createInitialStateImpl'](_0x406f57){var _0x55d0bc=_0x1c66a7,_0x3e67c9,_0x58d4ac,_0x49ba8c;const _0xff4b73=await((_0x3e67c9=this[_0x55d0bc(0x24b)])==null?void 0x0:_0x3e67c9[_0x55d0bc(0x3b9)](this[_0x55d0bc(0x329)])),_0x3e516b=(_0x58d4ac=_0xff4b73==null?void 0x0:_0xff4b73[_0x55d0bc(0x17b)])!=null?_0x58d4ac:[],_0x5ea3c8=(_0x49ba8c=_0xff4b73==null?void 0x0:_0xff4b73[_0x55d0bc(0x188)])!=null?_0x49ba8c:null,_0x2480fa=!!(_0x5ea3c8!=null&&_0x5ea3c8[_0x55d0bc(0x172)])&&!!(_0x5ea3c8!=null&&_0x5ea3c8[_0x55d0bc(0x2dd)]);this[_0x55d0bc(0x3cc)]=_0x2480fa?_0x5ea3c8[_0x55d0bc(0x172)]:I['uuidv4'](),this[_0x55d0bc(0x436)]=_0x2480fa?_0x5ea3c8[_0x55d0bc(0x2dd)]:0x0;const _0x294ada=this['unitID'];try{this[_0x55d0bc(0x392)](_0x5ea3c8,_0x3e516b);}catch(_0x3ff2ac){this[_0x55d0bc(0x309)][_0x55d0bc(0x3b6)](_0x3ff2ac);}const _0x341392=this['_createHandler']();if(_0x406f57){const _0x217158=Ot(this[_0x55d0bc(0x2cf)],_0x294ada,this['_type'],_0x5ea3c8,_0x3e516b,_0x341392);return _0x217158 instanceof exports['PendingState']?_0x217158[_0x55d0bc(0x30b)]():(_0x217158 instanceof exports[_0x55d0bc(0x469)]||_0x217158 instanceof exports['AwaitingState'])&&_0x217158[_0x55d0bc(0x235)](),_0x217158;}return this[_0x55d0bc(0x2cf)][_0x55d0bc(0x361)](exports[_0x55d0bc(0x267)],_0x294ada,this[_0x55d0bc(0x1b6)],_0x5ea3c8,_0x3e516b,_0x341392);}['_replayCachedMutations'](_0x4c3631,_0xece4b6){var _0x499354=_0x1c66a7,_0x452530,_0x58c4b9;const _0x3c34fd=this[_0x499354(0x42a)]['interceptor'][_0x499354(0x4af)](this[_0x499354(0x42a)][_0x499354(0x1e0)][_0x499354(0x249)]()['COMPRESS_MUTATION_APPLY']);(_0x452530=_0x3c34fd((_0x4c3631==null?void 0x0:_0x4c3631[_0x499354(0x17b)])||[],null))==null||_0x452530[_0x499354(0x42e)](_0x8f863b=>this[_0x499354(0x247)][_0x499354(0x1f7)](_0x8f863b['id'],_0x8f863b[_0x499354(0x3fa)])),(_0x58c4b9=_0x3c34fd(_0xece4b6||[],null))==null||_0x58c4b9[_0x499354(0x42e)](_0x2919dd=>this[_0x499354(0x247)]['executeCommand'](_0x2919dd['id'],_0x2919dd[_0x499354(0x3fa)]));}},exports[_0x1c66a7(0x16b)]=Fe([j(0x3,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),j(0x4,a['Inject'](I[_0x1c66a7(0x2b7)])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a[_0x1c66a7(0x1a6)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x1c66a7(0x31c)]),j(0xa,a[_0x1c66a7(0x229)]),j(0xb,a[_0x1c66a7(0x3c9)](de)),j(0xc,a['Optional'](q))],exports[_0x1c66a7(0x16b)]),exports[_0x1c66a7(0x37e)]=class extends exports[_0x1c66a7(0x16b)]{constructor(_0x58332b,_0x3144d0,_0x2479db,_0x103f97,_0xbb9b73,_0x4aa427,_0x478b78,_0x8a7172,_0x4d4d89,_0x5a6371,_0x4cbb09,_0x3afda2,_0xf29e37){var _0x56bc38=_0x1c66a7;super(_0x58332b,_0x2479db,_0x3144d0,_0x103f97,_0xbb9b73,_0x4aa427,_0x478b78,_0x8a7172,_0x4d4d89,_0x5a6371,_0x4cbb09,_0x3afda2,_0xf29e37),A(this,_0x56bc38(0x2d4),null),(this[_0x56bc38(0x329)]=_0x58332b,this[_0x56bc38(0x231)]=_0x3144d0);}[_0x1c66a7(0x44d)](_0x1c8db4){var _0x349c62=_0x1c66a7;this[_0x349c62(0x2d4)]=_0x1c8db4;}[_0x1c66a7(0x280)](){this['_handlerCallback']=null,super['dispose']();}[_0x1c66a7(0x190)](){var _0x8565d8=_0x1c66a7;const _0x212b03=super[_0x8565d8(0x190)]();return _0x212b03['onTransformIME']=_0x534a11=>{var _0x308716=_0x8565d8,_0x390c94,_0x1b52a4;return(_0x1b52a4=(_0x390c94=this[_0x308716(0x2d4)])==null?void 0x0:_0x390c94[_0x308716(0x221)])==null?void 0x0:_0x1b52a4[_0x308716(0x200)](_0x390c94,_0x534a11);},_0x212b03['onTransformState']=_0x237a33=>{var _0x390df3=_0x8565d8,_0x1267e4,_0x440451;return(_0x440451=(_0x1267e4=this[_0x390df3(0x2d4)])==null?void 0x0:_0x1267e4[_0x390df3(0x1d7)])==null?void 0x0:_0x440451[_0x390df3(0x200)](_0x1267e4,_0x237a33);},_0x212b03[_0x8565d8(0x354)]=_0x5b091b=>{var _0x1756c7=_0x8565d8,_0x5a9e1f,_0xbf5db3;return(_0xbf5db3=(_0x5a9e1f=this[_0x1756c7(0x2d4)])==null?void 0x0:_0x5a9e1f[_0x1756c7(0x354)])==null?void 0x0:_0xbf5db3[_0x1756c7(0x200)](_0x5a9e1f,_0x5b091b);},_0x212b03[_0x8565d8(0x255)]=_0x5170b6=>{var _0x5c8362=_0x8565d8,_0x34b879,_0x7c118;return(_0x7c118=(_0x34b879=this[_0x5c8362(0x2d4)])==null?void 0x0:_0x34b879[_0x5c8362(0x255)])==null?void 0x0:_0x7c118[_0x5c8362(0x200)](_0x34b879,_0x5170b6);},_0x212b03['onTransformRemoteChangesetByIMECache']=_0x50aeb8=>{var _0x5624bd=_0x8565d8,_0x27a565,_0x231089,_0x281faa;if(!((_0x27a565=this[_0x5624bd(0x2d4)])!=null&&_0x27a565['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5624bd(0x355));return(_0x281faa=(_0x231089=this[_0x5624bd(0x2d4)])==null?void 0x0:_0x231089[_0x5624bd(0x3f1)])==null?void 0x0:_0x281faa[_0x5624bd(0x200)](_0x231089,_0x50aeb8);},_0x212b03['onTransformRemoteChangesetByStateCache']=_0x30f76a=>{var _0x464d57=_0x8565d8,_0x453efc,_0x4ac26c,_0x27725a;if(!((_0x453efc=this[_0x464d57(0x2d4)])!=null&&_0x453efc[_0x464d57(0x448)]))throw new Error(_0x464d57(0x1aa));return(_0x27725a=(_0x4ac26c=this[_0x464d57(0x2d4)])==null?void 0x0:_0x4ac26c[_0x464d57(0x448)])==null?void 0x0:_0x27725a[_0x464d57(0x200)](_0x4ac26c,_0x30f76a);},_0x212b03;}async[_0x1c66a7(0x339)](){var _0xd692ae=_0x1c66a7;const _0x4a247d=await super[_0xd692ae(0x339)]();return this['disposeWithMe'](this[_0xd692ae(0x247)]['onCommandExecuted']((_0x1c918a,_0x320c2b)=>{var _0x430456=_0xd692ae;if(_0x1c918a[_0x430456(0x231)]!==a['CommandType']['MUTATION']||_0x320c2b!=null&&_0x320c2b['fromCollab']||_0x320c2b!=null&&_0x320c2b[_0x430456(0x181)]||_0x1c918a['id']===ht[_0x430456(0x4aa)]['id'])return;const _0x2f82b0=_0x1c918a[_0x430456(0x3fa)];if((_0x2f82b0==null?void 0x0:_0x2f82b0['unitId'])!==this[_0x430456(0x329)])return;const _0x4b9293=_0x1c918a,_0x33d0a1=this['_compressMutationService'][_0x430456(0x1e0)][_0x430456(0x4af)](this[_0x430456(0x42a)][_0x430456(0x1e0)][_0x430456(0x249)]()[_0x430456(0x17e)])([_0x4b9293],null)||[_0x4b9293];this[_0x430456(0x47b)](_0x33d0a1[0x0]);})),_0x4a247d;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x1c66a7(0x347)])),j(0x4,a['Inject'](I[_0x1c66a7(0x2b7)])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),j(0x7,a[_0x1c66a7(0x1a6)](ee)),j(0x8,a[_0x1c66a7(0x2c8)]),j(0x9,a['ICommandService']),j(0xa,a[_0x1c66a7(0x229)]),j(0xb,a[_0x1c66a7(0x3c9)](de)),j(0xc,a[_0x1c66a7(0x3c9)](q))],exports['DocCollaborationEntity']),exports[_0x1c66a7(0x39c)]=class extends exports[_0x1c66a7(0x16b)]{constructor(_0x36c8f6,_0x5f0ab1,_0x2d8def,_0x1c3323,_0x2d2702,_0x431bd6,_0xc4041f,_0x2527b7,_0x2ac630,_0x4e40b1,_0x8a4f7b,_0x10adba,_0x57c9ce,_0x3025df){var _0x180607=_0x1c66a7;super(_0x36c8f6,_0x2d8def,_0x5f0ab1,_0x1c3323,_0x2d2702,_0x431bd6,_0xc4041f,_0x2ac630,_0x4e40b1,_0x8a4f7b,_0x10adba,_0x57c9ce,_0x3025df),this['unitID']=_0x36c8f6,this['type']=_0x5f0ab1,this[_0x180607(0x2d6)]=_0x2527b7;}[_0x1c66a7(0x190)](){var _0xb224bb=_0x1c66a7;const _0x371357=super[_0xb224bb(0x190)]();return _0x371357[_0xb224bb(0x354)]=_0x57461e=>this['_sheetTransformSelectionsService'][_0xb224bb(0x28c)](_0x57461e),_0x371357;}async['_init'](){var _0x102e81=_0x1c66a7;const _0x368657=await super[_0x102e81(0x339)]();return this[_0x102e81(0x3f0)](this[_0x102e81(0x247)][_0x102e81(0x2ec)]((_0x5cefc4,_0x5e1921)=>{var _0x2694dc=_0x102e81;if(_0x5cefc4[_0x2694dc(0x231)]!==a['CommandType'][_0x2694dc(0x1bb)]||_0x5e1921!=null&&_0x5e1921['fromCollab']||_0x5e1921!=null&&_0x5e1921[_0x2694dc(0x181)])return;const _0x70c0f5=_0x5cefc4[_0x2694dc(0x3fa)];if((_0x70c0f5==null?void 0x0:_0x70c0f5[_0x2694dc(0x250)])!==this[_0x2694dc(0x329)])return;const _0x363513=_0x5cefc4,_0x25e576=this[_0x2694dc(0x42a)]['interceptor'][_0x2694dc(0x4af)](this[_0x2694dc(0x42a)][_0x2694dc(0x1e0)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x363513],null)||[_0x363513];this[_0x2694dc(0x47b)](_0x25e576[0x0]);})),_0x368657;}},exports[_0x1c66a7(0x39c)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a['Inject'](I[_0x1c66a7(0x1f3)])),j(0x7,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x43a)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x1c66a7(0x2c8)]),j(0xa,a[_0x1c66a7(0x31c)]),j(0xb,a[_0x1c66a7(0x229)]),j(0xc,a[_0x1c66a7(0x3c9)](de)),j(0xd,a[_0x1c66a7(0x3c9)](q))],exports['SheetCollaborationEntity']);var Si=Object[_0x1c66a7(0x18b)],fi=(_0x214b3d,_0x2fe3eb,_0x38a2bf,_0x4facc7)=>{var _0x2c948e=_0x1c66a7;for(var _0x23ba6b=_0x4facc7>0x1?void 0x0:_0x4facc7?Si(_0x2fe3eb,_0x38a2bf):_0x2fe3eb,_0x2815d8=_0x214b3d[_0x2c948e(0x1c0)]-0x1,_0x4705ef;_0x2815d8>=0x0;_0x2815d8--)(_0x4705ef=_0x214b3d[_0x2815d8])&&(_0x23ba6b=_0x4705ef(_0x23ba6b)||_0x23ba6b);return _0x23ba6b;},Se=(_0x4fdefe,_0x308f8c)=>(_0x3bc49f,_0x170aab)=>_0x308f8c(_0x3bc49f,_0x170aab,_0x4fdefe);exports[_0x1c66a7(0x29a)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0xa9e4c1,_0x1ba94e,_0x2ffc79,_0x461e6d){var _0x16b799=_0x1c66a7,_0x512f61;super(),A(this,_0x16b799(0x3e1),new Map()),A(this,_0x16b799(0x1d6),new $['Subject']()),A(this,_0x16b799(0x451),this[_0x16b799(0x1d6)]['asObservable']()),(this[_0x16b799(0x2cf)]=_0xa9e4c1,this[_0x16b799(0x2bc)]=_0x1ba94e,this[_0x16b799(0x26d)]=_0x2ffc79,this[_0x16b799(0x204)]=_0x461e6d,((_0x512f61=this[_0x16b799(0x26d)][_0x16b799(0x3b7)](K))==null?void 0x0:_0x512f61[_0x16b799(0x1e6)])!==!0x1&&this['_init']());}[_0x1c66a7(0x280)](){var _0x2edc5d=_0x1c66a7;super['dispose'](),this[_0x2edc5d(0x3e1)][_0x2edc5d(0x42e)](_0x3837a8=>_0x3837a8[_0x2edc5d(0x280)]()),this[_0x2edc5d(0x3e1)][_0x2edc5d(0x397)]();}[_0x1c66a7(0x379)](_0x41a71a){var _0x42fe73=_0x1c66a7,_0x4c62d4;return(_0x4c62d4=this[_0x42fe73(0x3e1)]['get'](_0x41a71a))!=null?_0x4c62d4:null;}['getCollabEntity$'](_0x4c8c74){var _0x493227=_0x1c66a7;const _0x9b0d4=this[_0x493227(0x379)](_0x4c8c74);return _0x9b0d4?$['of'](_0x9b0d4):this[_0x493227(0x1d6)][_0x493227(0x1a3)](V['filter'](_0x4fce7c=>_0x4fce7c['unitID']===_0x4c8c74));}[_0x1c66a7(0x161)](_0x194ae7){var _0x50cb77=_0x1c66a7;return $['firstValueFrom'](this['getCollabEntity$'](_0x194ae7)[_0x50cb77(0x1a3)](V[_0x50cb77(0x3a1)](()=>{})));}[_0x1c66a7(0x339)](){var _0x1aee6f=_0x1c66a7;this[_0x1aee6f(0x204)][_0x1aee6f(0x408)](a[_0x1aee6f(0x23d)]['UNIVER_SHEET'])[_0x1aee6f(0x1a3)]($['takeUntil'](this[_0x1aee6f(0x3a4)]),V[_0x1aee6f(0x186)](0x10))[_0x1aee6f(0x400)](async _0xab466c=>{var _0x3ed2c0=_0x1aee6f;const _0x409b0f=_0xab466c['getUnitId'](),_0x26c3a8=await this[_0x3ed2c0(0x2cc)](_0x409b0f,J[_0x3ed2c0(0x1dc)]);this[_0x3ed2c0(0x3e1)][_0x3ed2c0(0x352)](_0x409b0f,_0x26c3a8);}),this['_univerInstanceService'][_0x1aee6f(0x408)](a['UniverInstanceType'][_0x1aee6f(0x455)])[_0x1aee6f(0x1a3)]($[_0x1aee6f(0x22f)](this[_0x1aee6f(0x3a4)]),V[_0x1aee6f(0x186)](0x10))[_0x1aee6f(0x1a3)](V['filter'](_0x563431=>!_0x563431[_0x1aee6f(0x495)]()[_0x1aee6f(0x2eb)]('__')))['subscribe'](async _0x457b8f=>{var _0x168e12=_0x1aee6f;const _0x269868=_0x457b8f[_0x168e12(0x495)](),_0x272bb7=await this[_0x168e12(0x2cc)](_0x269868,J['UNIVER_DOC']);this['_entities']['set'](_0x269868,_0x272bb7);}),$[_0x1aee6f(0x207)](this[_0x1aee6f(0x204)][_0x1aee6f(0x1e3)](a[_0x1aee6f(0x23d)][_0x1aee6f(0x1dc)]),this[_0x1aee6f(0x204)][_0x1aee6f(0x1e3)](a[_0x1aee6f(0x23d)][_0x1aee6f(0x455)]))[_0x1aee6f(0x1a3)]($[_0x1aee6f(0x22f)](this[_0x1aee6f(0x3a4)]))['subscribe'](_0x590ec2=>{var _0x33f8c5=_0x1aee6f;const _0x3eb711=_0x590ec2['getUnitId'](),_0x5963bc=this[_0x33f8c5(0x3e1)][_0x33f8c5(0x2ba)](_0x3eb711);_0x5963bc&&(_0x5963bc[_0x33f8c5(0x280)](),this[_0x33f8c5(0x3e1)][_0x33f8c5(0x385)](_0x3eb711));});}async[_0x1c66a7(0x2cc)](_0x3be544,_0x29fa2f){var _0x1c93f0=_0x1c66a7;const _0x248ed=await this['_collabSessionService'][_0x1c93f0(0x345)](_0x3be544),_0x9950cf=this[_0x1c93f0(0x2cf)][_0x1c93f0(0x361)](this[_0x1c93f0(0x42d)](_0x29fa2f),_0x3be544,_0x29fa2f,_0x248ed);return await _0x9950cf[_0x1c93f0(0x145)](),this[_0x1c93f0(0x1d6)]['next'](_0x9950cf),_0x9950cf;}[_0x1c66a7(0x42d)](_0x4d9ac2){var _0x3338aa=_0x1c66a7;switch(_0x4d9ac2){case J[_0x3338aa(0x455)]:return exports[_0x3338aa(0x37e)];case J[_0x3338aa(0x1dc)]:return exports[_0x3338aa(0x39c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4d9ac2);}}},exports[_0x1c66a7(0x29a)]=fi([Se(0x0,a['Inject'](a[_0x1c66a7(0x347)])),Se(0x1,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x263)])),Se(0x2,a[_0x1c66a7(0x33a)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x1c66a7(0x29a)]);var pi=Object[_0x1c66a7(0x18b)],Ii=(_0x19a465,_0x16be04,_0x9ceae7,_0x36f482)=>{var _0x47db9c=_0x1c66a7;for(var _0x373411=_0x36f482>0x1?void 0x0:_0x36f482?pi(_0x16be04,_0x9ceae7):_0x16be04,_0x20a17d=_0x19a465[_0x47db9c(0x1c0)]-0x1,_0x1551f4;_0x20a17d>=0x0;_0x20a17d--)(_0x1551f4=_0x19a465[_0x20a17d])&&(_0x373411=_0x1551f4(_0x373411)||_0x373411);return _0x373411;},Ye=(_0x3be594,_0x5ef9d5)=>(_0x5215a9,_0x85b6c1)=>_0x5ef9d5(_0x5215a9,_0x85b6c1,_0x3be594);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x1c66a7(0x403)]{constructor(_0x4ef116,_0x1401d6){var _0x518b79=_0x1c66a7;super(),this[_0x518b79(0x204)]=_0x4ef116,this['_configService']=_0x1401d6,this['_init']();}['_init'](){var _0x2c8b17=_0x1c66a7;this['disposeWithMe'](this[_0x2c8b17(0x204)][_0x2c8b17(0x2f6)][_0x2c8b17(0x400)](()=>{var _0x1a33a5=_0x2c8b17,_0x30848c;const _0x49db27=this[_0x1a33a5(0x204)]['getFocusedUnit']();let _0x318748=(_0x30848c=this[_0x1a33a5(0x26d)]['getConfig'](gi))!=null?_0x30848c:Ei;_0x49db27 instanceof a[_0x1a33a5(0x4b9)]&&(_0x318748=_0x49db27[_0x1a33a5(0x1b8)]),document[_0x1a33a5(0x2f1)]=_0x318748;}));}};xe=Ii([Ye(0x0,a[_0x1c66a7(0x2c7)]),Ye(0x1,a[_0x1c66a7(0x33a)])],xe);var mi=Object[_0x1c66a7(0x18b)],Ci=(_0x2dcf91,_0x2dd1a3,_0x11e837,_0x40a947)=>{var _0x3400fc=_0x1c66a7;for(var _0x1d8eed=_0x40a947>0x1?void 0x0:_0x40a947?mi(_0x2dd1a3,_0x11e837):_0x2dd1a3,_0x4ff0d9=_0x2dcf91[_0x3400fc(0x1c0)]-0x1,_0x46cdc0;_0x4ff0d9>=0x0;_0x4ff0d9--)(_0x46cdc0=_0x2dcf91[_0x4ff0d9])&&(_0x1d8eed=_0x46cdc0(_0x1d8eed)||_0x1d8eed);return _0x1d8eed;},Ae=(_0x47795a,_0x5931dd)=>(_0x5e5796,_0x3d8d19)=>_0x5931dd(_0x5e5796,_0x3d8d19,_0x47795a);let ye=class{constructor(_0x2c2723,_0x312f3d,_0x4f308a){var _0x466fa4=_0x1c66a7;this[_0x466fa4(0x26d)]=_0x2c2723,this['_httpService']=_0x312f3d,this[_0x466fa4(0x43e)]=_0x4f308a,this[_0x466fa4(0x145)]();}[_0x1c66a7(0x145)](){var _0x3d9487=_0x1c66a7;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1517dc,_0x5381de)=>_0x5381de(_0x1517dc)[_0x3d9487(0x1a3)]($[_0x3d9487(0x3eb)](async _0x4abf32=>{var _0x2d5afd=_0x3d9487;const _0x2e7bd4=_0x4abf32;if(_0x2e7bd4[_0x2d5afd(0x3ea)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2d5afd(0x38b)](this[_0x2d5afd(0x43e)]['t']('auth.needGotoLoginAlert'))){const _0x156959=window[_0x2d5afd(0x3fb)](window[_0x2d5afd(0x389)]['href']);window[_0x2d5afd(0x389)]['href']=this[_0x2d5afd(0x1a5)]()+_0x2d5afd(0x3ab)+_0x156959;}}return _0x2e7bd4;}))});}[_0x1c66a7(0x1a5)](){var _0x45a8ee=_0x1c66a7,_0x3376ca,_0x517601;const _0x4b4e97=this[_0x45a8ee(0x26d)]['getConfig'](It),_0x4b3ce3=this[_0x45a8ee(0x26d)][_0x45a8ee(0x3b7)](K);return(_0x517601=(_0x3376ca=_0x4b3ce3==null?void 0x0:_0x4b3ce3[_0x45a8ee(0x45a)])!=null?_0x3376ca:_0x4b4e97)!=null?_0x517601:Wt;}};ye=Ci([Ae(0x0,a[_0x1c66a7(0x33a)]),Ae(0x1,a['Inject'](Y[_0x1c66a7(0x322)])),Ae(0x2,a[_0x1c66a7(0x1a6)](a['LocaleService']))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x4b015b,_0x10a3d5,_0x4d7f1f,_0x291ae5)=>{var _0xfd1496=_0x1c66a7;for(var _0x3eaf60=_0x291ae5>0x1?void 0x0:_0x291ae5?Ti(_0x10a3d5,_0x4d7f1f):_0x10a3d5,_0x3d906a=_0x4b015b[_0xfd1496(0x1c0)]-0x1,_0x56925a;_0x3d906a>=0x0;_0x3d906a--)(_0x56925a=_0x4b015b[_0x3d906a])&&(_0x3eaf60=_0x56925a(_0x3eaf60)||_0x3eaf60);return _0x3eaf60;},qe=(_0x46c158,_0x15c806)=>(_0x450280,_0x1d0710)=>_0x15c806(_0x450280,_0x1d0710,_0x46c158);const Ve=_0x1c66a7(0x23a),Ri=_0x1c66a7(0x3db);exports[_0x1c66a7(0x20e)]=class extends a[_0x1c66a7(0x403)]{constructor(_0x3fe421,_0x46b7b9){var _0x7422f8=_0x1c66a7;super(),this['_HTTPService']=_0x3fe421,this[_0x7422f8(0x26d)]=_0x46b7b9,this[_0x7422f8(0x22a)]();}[_0x1c66a7(0x22a)](){var _0x4e05d3=_0x1c66a7;const _0xe6652f=this;this[_0x4e05d3(0x3f0)](this[_0x4e05d3(0x450)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y[_0x4e05d3(0x452)]({'isMatch'(_0x48979a){var _0x58c6d8=_0x4e05d3,_0x372a05;if(_0x48979a[_0x58c6d8(0x1b0)]==='POST'&&((_0x372a05=_0x48979a['requestParams'])!=null&&_0x372a05[_0x58c6d8(0x343)])){const {objectID:_0xd22c28,objectType:_0x4caced}=_0x48979a[_0x58c6d8(0x197)][_0x58c6d8(0x343)]||{};if(!_0xd22c28||_0x4caced===void 0x0)return!0x1;const _0x201084=_0xe6652f[_0x58c6d8(0x312)]()+'/'+_0x4caced+'/object/'+_0xd22c28+_0x58c6d8(0x256);if(_0x48979a[_0x58c6d8(0x367)]===_0x201084)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e0acf){var _0x314773=_0x4e05d3,_0xcdefda;return(_0xcdefda=_0x4e0acf['requestParams'])==null?void 0x0:_0xcdefda[_0x314773(0x343)];},'mergeParamsToRequest'(_0x59a3ad,_0x2b9563){var _0x45bb04=_0x4e05d3;const _0x2e2aa7=_0xe6652f['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x40e348=_0x59a3ad['reduce']((_0xc7ea34,_0x222771)=>{var _0x174dc6=_0x1aa6;const {unitID:_0x5622eb,objectID:_0x1060fe,objectType:_0x4cd841,actions:_0x25e052}=_0x222771;return _0xc7ea34[_0x5622eb]||(_0xc7ea34[_0x5622eb]={}),_0xc7ea34[_0x5622eb][_0x1060fe]||(_0xc7ea34[_0x5622eb][_0x1060fe]={'objectID':_0x1060fe,'objectType':_0x4cd841,'actions':[]}),_0xc7ea34[_0x5622eb][_0x1060fe][_0x174dc6(0x27d)][_0x174dc6(0x421)](..._0x25e052),_0xc7ea34;},{}),_0x5995f4=[];for(const _0x16e7ba in _0x40e348)for(const _0x416630 in _0x40e348[_0x16e7ba]){const {actions:_0xa234f9,objectType:_0x19cfdd}=_0x40e348[_0x16e7ba][_0x416630],_0x1d4d99=[...new Set(_0xa234f9)];_0x5995f4[_0x45bb04(0x421)]({'unitID':_0x16e7ba,'objectID':_0x416630,'objectType':_0x19cfdd,'actions':_0x1d4d99});}return new Y[(_0x45bb04(0x240))](_0x45bb04(0x147),_0x2e2aa7,{'headers':_0x2b9563['headers'],'withCredentials':_0x2b9563[_0x45bb04(0x3bd)],'responseType':_0x2b9563[_0x45bb04(0x22b)],'body':{'requests':_0x5995f4}});}},{'distributeResult'(_0x1f6236,_0x484c76){var _0x31cc20=_0x4e05d3;const {objectActions:_0x591e95}=_0x1f6236;return _0x484c76[_0x31cc20(0x3a1)](_0x25fac3=>{var _0x4070e1=_0x31cc20;const {unitID:_0x436294,objectID:_0x781ec2,actions:_0x1c4656}=_0x25fac3,_0x1637d3=_0x591e95[_0x4070e1(0x274)](_0xff446f=>_0xff446f[_0x4070e1(0x329)]===_0x436294&&_0xff446f[_0x4070e1(0x2a1)]===_0x781ec2),_0x3c60c2=_0x1c4656[_0x4070e1(0x3a1)](_0x250994=>_0x1637d3==null?void 0x0:_0x1637d3[_0x4070e1(0x27d)][_0x4070e1(0x274)](_0x2a047d=>_0x2a047d[_0x4070e1(0x488)]===_0x250994))[_0x4070e1(0x411)](_0x577e1b=>!!_0x577e1b);return{'config':_0x25fac3,'result':{'actions':_0x3c60c2,'error':_0x1f6236[_0x4070e1(0x3b6)]}};});}})}));}[_0x1c66a7(0x312)](){var _0x378b9f=_0x1c66a7,_0x42c2d8,_0x17f032;const _0x4a6721=this[_0x378b9f(0x26d)][_0x378b9f(0x3b7)](Ve),_0x618136=this[_0x378b9f(0x26d)][_0x378b9f(0x3b7)](K);return(_0x17f032=(_0x42c2d8=_0x618136==null?void 0x0:_0x618136[_0x378b9f(0x3d4)])!=null?_0x42c2d8:_0x4a6721)!=null?_0x17f032:Ri;}async['create'](_0x201035){var _0x2d4b6f=_0x1c66a7;const _0x4dc3eb=this[_0x2d4b6f(0x312)]()+'/'+_0x201035[_0x2d4b6f(0x180)]+_0x2d4b6f(0x3b3);return(await this[_0x2d4b6f(0x450)][_0x2d4b6f(0x301)](_0x4dc3eb,{'body':_0x201035}))[_0x2d4b6f(0x343)]['objectID']||'';}async['list'](_0x4ce021){var _0x3917f6=_0x1c66a7;const _0x28e37a=this[_0x3917f6(0x312)]()+_0x3917f6(0x3b4);return(await this[_0x3917f6(0x450)][_0x3917f6(0x301)](_0x28e37a,{'body':_0x4ce021}))[_0x3917f6(0x343)][_0x3917f6(0x222)];}async[_0x1c66a7(0x1fd)](_0x399b8f){var _0x89c3ed=_0x1c66a7,_0x14044e,_0x26d3f2;const _0x12f1f8=this[_0x89c3ed(0x312)]()+'/'+_0x399b8f['objectType']+_0x89c3ed(0x398)+_0x399b8f[_0x89c3ed(0x2a1)],_0x801c58=await this['_HTTPService'][_0x89c3ed(0x475)](_0x12f1f8,{'body':_0x399b8f});if(((_0x26d3f2=(_0x14044e=_0x801c58==null?void 0x0:_0x801c58['body'])==null?void 0x0:_0x14044e[_0x89c3ed(0x3b6)])==null?void 0x0:_0x26d3f2[_0x89c3ed(0x36d)])!==0x1)throw new Error(_0x89c3ed(0x31d));}async[_0x1c66a7(0x429)](_0x71543a){var _0x30ff85=_0x1c66a7;const _0x2613d4=this['_getAPIPrefixPath']()+'/'+_0x71543a[_0x30ff85(0x180)]+_0x30ff85(0x398)+_0x71543a['objectID']+_0x30ff85(0x256);return(await this[_0x30ff85(0x450)][_0x30ff85(0x301)](_0x2613d4,{'body':_0x71543a}))[_0x30ff85(0x343)][_0x30ff85(0x27d)];}async[_0x1c66a7(0x3d0)](_0x150343){var _0x312c27=_0x1c66a7;const _0x2d2a4a=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x312c27(0x450)]['post'](_0x2d2a4a,{'body':{'requests':_0x150343}}))[_0x312c27(0x343)]['objectActions'];}async['listRoles'](_0x4097d7){var _0x4b9edc=_0x1c66a7;const _0x3039b3=this[_0x4b9edc(0x312)]()+'/'+_0x4097d7[_0x4b9edc(0x180)]+_0x4b9edc(0x38d),_0x55ea15=await this[_0x4b9edc(0x450)]['post'](_0x3039b3,{'body':_0x4097d7});return{'roles':_0x55ea15['body'][_0x4b9edc(0x1a4)],'actions':_0x55ea15[_0x4b9edc(0x343)][_0x4b9edc(0x27d)]};}async['deleteCollaborator'](_0x2169bf){var _0x3e0bb0=_0x1c66a7;const _0xca547f=this[_0x3e0bb0(0x312)]()+'/collaborator';await this[_0x3e0bb0(0x450)]['delete'](_0xca547f,{'params':{'collaboratorID':_0x2169bf['collaboratorID'],'objectID':_0x2169bf['objectID'],'unitID':_0x2169bf[_0x3e0bb0(0x329)]}});}async[_0x1c66a7(0x4b2)](_0x21744a){var _0x2145ac=_0x1c66a7;const _0xf917d0=this['_getAPIPrefixPath']()+_0x2145ac(0x3f4);await this[_0x2145ac(0x450)][_0x2145ac(0x1ed)](_0xf917d0,{'body':_0x21744a});}async[_0x1c66a7(0x4bb)](_0x5073a8){var _0x3403f8=_0x1c66a7;const _0x3c4130=this['_getAPIPrefixPath']()+_0x3403f8(0x3f4);await this['_HTTPService'][_0x3403f8(0x301)](_0x3c4130,{'body':_0x5073a8});}async[_0x1c66a7(0x2b2)](_0x5a8fe3){var _0x369028=_0x1c66a7;const _0x162acc=this[_0x369028(0x312)]()+'/collaborator';return(await this[_0x369028(0x450)][_0x369028(0x2ba)](_0x162acc,{'params':{'objectID':_0x5a8fe3[_0x369028(0x2a1)],'unitID':_0x5a8fe3[_0x369028(0x329)]}}))[_0x369028(0x343)][_0x369028(0x395)];}async[_0x1c66a7(0x308)](_0x4d7d9c){var _0x2ffdb5=_0x1c66a7;const _0x4c4de9=this['_getAPIPrefixPath']()+_0x2ffdb5(0x3f4);await this['_HTTPService']['put'](_0x4c4de9,{'body':_0x4d7d9c});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x1c66a7(0x1a6)](Y['HTTPService'])),qe(0x1,a['Inject'](a[_0x1c66a7(0x33a)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5da96f){var _0x9587d2=_0x1c66a7;return _0x5da96f&&_0x5da96f[_0x9587d2(0x36f)]&&Object[_0x9587d2(0x360)][_0x9587d2(0x439)][_0x9587d2(0x200)](_0x5da96f,'default')?_0x5da96f[_0x9587d2(0x1c4)]:_0x5da96f;}var fe={'exports':{}};function Oi(_0x5b3ee8){var _0x191ba4=_0x1c66a7;throw new Error(_0x191ba4(0x192)+_0x5b3ee8+_0x191ba4(0x141));}var pe={'exports':{}},yi=pe[_0x1c66a7(0x42c)],ze;function Q(){var _0x5a1b7e=_0x1c66a7;return ze||(ze=0x1,function(_0x3d380a,_0x345e9d){(function(_0xf5e217,_0x6d3da3){var _0x5ddf9a=_0x1aa6;_0x3d380a[_0x5ddf9a(0x42c)]=_0x6d3da3();}(yi,function(){var _0x2a7d5b=_0x2a7d5b||function(_0x2f63d1,_0x360d77){var _0x2f4788=_0x1aa6,_0x3aa2f8;if(typeof window<'u'&&window['crypto']&&(_0x3aa2f8=window[_0x2f4788(0x1dd)]),typeof self<'u'&&self[_0x2f4788(0x1dd)]&&(_0x3aa2f8=self[_0x2f4788(0x1dd)]),typeof globalThis<'u'&&globalThis[_0x2f4788(0x1dd)]&&(_0x3aa2f8=globalThis[_0x2f4788(0x1dd)]),!_0x3aa2f8&&typeof window<'u'&&window[_0x2f4788(0x3d7)]&&(_0x3aa2f8=window['msCrypto']),!_0x3aa2f8&&typeof Pe<'u'&&Pe[_0x2f4788(0x1dd)]&&(_0x3aa2f8=Pe['crypto']),!_0x3aa2f8&&typeof Oi=='function')try{_0x3aa2f8=require(_0x2f4788(0x1dd));}catch{}var _0x277d7e=function(){var _0x109875=_0x2f4788;if(_0x3aa2f8){if(typeof _0x3aa2f8[_0x109875(0x46a)]==_0x109875(0x36a))try{return _0x3aa2f8[_0x109875(0x46a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3aa2f8[_0x109875(0x217)]==_0x109875(0x36a))try{return _0x3aa2f8['randomBytes'](0x4)[_0x109875(0x359)]();}catch{}}throw new Error(_0x109875(0x173));},_0x5d494d=Object[_0x2f4788(0x1c1)]||(function(){function _0x587fe3(){}return function(_0x1fdcd4){var _0x17d476=_0x1aa6,_0x4a0aab;return _0x587fe3[_0x17d476(0x360)]=_0x1fdcd4,_0x4a0aab=new _0x587fe3(),_0x587fe3[_0x17d476(0x360)]=null,_0x4a0aab;};}()),_0x1f5c63={},_0x355bfd=_0x1f5c63[_0x2f4788(0x193)]={},_0x5b84d6=_0x355bfd[_0x2f4788(0x14a)]=(function(){return{'extend':function(_0xae27c){var _0x2f0c08=_0x1aa6,_0x17c7ca=_0x5d494d(this);return _0xae27c&&_0x17c7ca['mixIn'](_0xae27c),(!_0x17c7ca[_0x2f0c08(0x439)](_0x2f0c08(0x145))||this['init']===_0x17c7ca[_0x2f0c08(0x145)])&&(_0x17c7ca[_0x2f0c08(0x145)]=function(){var _0x55d1a4=_0x2f0c08;_0x17c7ca[_0x55d1a4(0x236)]['init'][_0x55d1a4(0x18c)](this,arguments);}),_0x17c7ca[_0x2f0c08(0x145)]['prototype']=_0x17c7ca,_0x17c7ca['$super']=this,_0x17c7ca;},'create':function(){var _0x46ba64=_0x1aa6,_0x101c71=this[_0x46ba64(0x30e)]();return _0x101c71['init'][_0x46ba64(0x18c)](_0x101c71,arguments),_0x101c71;},'init':function(){},'mixIn':function(_0x116b04){var _0x285ce5=_0x1aa6;for(var _0x5eb548 in _0x116b04)_0x116b04[_0x285ce5(0x439)](_0x5eb548)&&(this[_0x5eb548]=_0x116b04[_0x5eb548]);_0x116b04[_0x285ce5(0x439)](_0x285ce5(0x21d))&&(this[_0x285ce5(0x21d)]=_0x116b04[_0x285ce5(0x21d)]);},'clone':function(){var _0x3c5d86=_0x1aa6;return this['init'][_0x3c5d86(0x360)]['extend'](this);}};}()),_0x56ba2f=_0x355bfd[_0x2f4788(0x3da)]=_0x5b84d6[_0x2f4788(0x30e)]({'init':function(_0x3de5b4,_0x3d974e){var _0x48a207=_0x2f4788;_0x3de5b4=this[_0x48a207(0x497)]=_0x3de5b4||[],_0x3d974e!=_0x360d77?this[_0x48a207(0x211)]=_0x3d974e:this[_0x48a207(0x211)]=_0x3de5b4['length']*0x4;},'toString':function(_0x1135ab){var _0x38f1bf=_0x2f4788;return(_0x1135ab||_0x1fbf70)[_0x38f1bf(0x32c)](this);},'concat':function(_0x34c69e){var _0x1a1eb2=_0x2f4788,_0x2c4005=this[_0x1a1eb2(0x497)],_0x5d8f2e=_0x34c69e[_0x1a1eb2(0x497)],_0x1c8766=this[_0x1a1eb2(0x211)],_0x546330=_0x34c69e[_0x1a1eb2(0x211)];if(this[_0x1a1eb2(0x2cb)](),_0x1c8766%0x4)for(var _0x825842=0x0;_0x825842<_0x546330;_0x825842++){var _0x2dafaa=_0x5d8f2e[_0x825842>>>0x2]>>>0x18-_0x825842%0x4*0x8&0xff;_0x2c4005[_0x1c8766+_0x825842>>>0x2]|=_0x2dafaa<<0x18-(_0x1c8766+_0x825842)%0x4*0x8;}else{for(var _0x360ed1=0x0;_0x360ed1<_0x546330;_0x360ed1+=0x4)_0x2c4005[_0x1c8766+_0x360ed1>>>0x2]=_0x5d8f2e[_0x360ed1>>>0x2];}return this[_0x1a1eb2(0x211)]+=_0x546330,this;},'clamp':function(){var _0x3c23f2=_0x2f4788,_0x3688a5=this[_0x3c23f2(0x497)],_0x6daedc=this['sigBytes'];_0x3688a5[_0x6daedc>>>0x2]&=0xffffffff<<0x20-_0x6daedc%0x4*0x8,_0x3688a5[_0x3c23f2(0x1c0)]=_0x2f63d1[_0x3c23f2(0x16d)](_0x6daedc/0x4);},'clone':function(){var _0x28e70f=_0x2f4788,_0xed8b65=_0x5b84d6[_0x28e70f(0x300)][_0x28e70f(0x200)](this);return _0xed8b65[_0x28e70f(0x497)]=this['words'][_0x28e70f(0x216)](0x0),_0xed8b65;},'random':function(_0x18d97e){var _0x24fcbb=_0x2f4788;for(var _0x365fb7=[],_0x201241=0x0;_0x201241<_0x18d97e;_0x201241+=0x4)_0x365fb7[_0x24fcbb(0x421)](_0x277d7e());return new _0x56ba2f[(_0x24fcbb(0x145))](_0x365fb7,_0x18d97e);}}),_0x4de860=_0x1f5c63[_0x2f4788(0x416)]={},_0x1fbf70=_0x4de860['Hex']={'stringify':function(_0x31a71d){var _0x2a2fa3=_0x2f4788;for(var _0x179cad=_0x31a71d['words'],_0x548b31=_0x31a71d['sigBytes'],_0x55d15d=[],_0x3e136a=0x0;_0x3e136a<_0x548b31;_0x3e136a++){var _0x24a911=_0x179cad[_0x3e136a>>>0x2]>>>0x18-_0x3e136a%0x4*0x8&0xff;_0x55d15d[_0x2a2fa3(0x421)]((_0x24a911>>>0x4)[_0x2a2fa3(0x21d)](0x10)),_0x55d15d['push']((_0x24a911&0xf)[_0x2a2fa3(0x21d)](0x10));}return _0x55d15d[_0x2a2fa3(0x2a6)]('');},'parse':function(_0x4d897c){var _0x10259a=_0x2f4788;for(var _0x20b2e6=_0x4d897c[_0x10259a(0x1c0)],_0x4b01d7=[],_0x2b6333=0x0;_0x2b6333<_0x20b2e6;_0x2b6333+=0x2)_0x4b01d7[_0x2b6333>>>0x3]|=parseInt(_0x4d897c['substr'](_0x2b6333,0x2),0x10)<<0x18-_0x2b6333%0x8*0x4;return new _0x56ba2f[(_0x10259a(0x145))](_0x4b01d7,_0x20b2e6/0x2);}},_0x4e2a16=_0x4de860[_0x2f4788(0x353)]={'stringify':function(_0x29a37d){var _0x73110b=_0x2f4788;for(var _0x48a687=_0x29a37d['words'],_0x23d75b=_0x29a37d['sigBytes'],_0x434725=[],_0x13c0e2=0x0;_0x13c0e2<_0x23d75b;_0x13c0e2++){var _0x3b6776=_0x48a687[_0x13c0e2>>>0x2]>>>0x18-_0x13c0e2%0x4*0x8&0xff;_0x434725[_0x73110b(0x421)](String[_0x73110b(0x307)](_0x3b6776));}return _0x434725[_0x73110b(0x2a6)]('');},'parse':function(_0x352487){var _0x2ab064=_0x2f4788;for(var _0x2e8929=_0x352487[_0x2ab064(0x1c0)],_0x51cf51=[],_0x52f977=0x0;_0x52f977<_0x2e8929;_0x52f977++)_0x51cf51[_0x52f977>>>0x2]|=(_0x352487[_0x2ab064(0x258)](_0x52f977)&0xff)<<0x18-_0x52f977%0x4*0x8;return new _0x56ba2f['init'](_0x51cf51,_0x2e8929);}},_0x2df421=_0x4de860[_0x2f4788(0x166)]={'stringify':function(_0x2dc751){var _0x3cfd94=_0x2f4788;try{return decodeURIComponent(escape(_0x4e2a16[_0x3cfd94(0x32c)](_0x2dc751)));}catch{throw new Error(_0x3cfd94(0x1ba));}},'parse':function(_0x515ca0){var _0x39faf8=_0x2f4788;return _0x4e2a16[_0x39faf8(0x314)](unescape(encodeURIComponent(_0x515ca0)));}},_0x5ed631=_0x355bfd[_0x2f4788(0x16e)]=_0x5b84d6['extend']({'reset':function(){var _0x27a0b7=_0x2f4788;this['_data']=new _0x56ba2f[(_0x27a0b7(0x145))](),this[_0x27a0b7(0x1d4)]=0x0;},'_append':function(_0x4b3d13){var _0x3cef1d=_0x2f4788;typeof _0x4b3d13=='string'&&(_0x4b3d13=_0x2df421['parse'](_0x4b3d13)),this[_0x3cef1d(0x209)][_0x3cef1d(0x1b5)](_0x4b3d13),this['_nDataBytes']+=_0x4b3d13[_0x3cef1d(0x211)];},'_process':function(_0x50b3bb){var _0x2d2ce4=_0x2f4788,_0x3eac92,_0x3429ca=this[_0x2d2ce4(0x209)],_0xc0b422=_0x3429ca[_0x2d2ce4(0x497)],_0x448c51=_0x3429ca[_0x2d2ce4(0x211)],_0x267854=this['blockSize'],_0x18588d=_0x267854*0x4,_0x4ad50a=_0x448c51/_0x18588d;_0x50b3bb?_0x4ad50a=_0x2f63d1[_0x2d2ce4(0x16d)](_0x4ad50a):_0x4ad50a=_0x2f63d1[_0x2d2ce4(0x38e)]((_0x4ad50a|0x0)-this[_0x2d2ce4(0x425)],0x0);var _0x4e1a1a=_0x4ad50a*_0x267854,_0x14c071=_0x2f63d1['min'](_0x4e1a1a*0x4,_0x448c51);if(_0x4e1a1a){for(var _0x4e75fa=0x0;_0x4e75fa<_0x4e1a1a;_0x4e75fa+=_0x267854)this[_0x2d2ce4(0x419)](_0xc0b422,_0x4e75fa);_0x3eac92=_0xc0b422[_0x2d2ce4(0x4bc)](0x0,_0x4e1a1a),_0x3429ca[_0x2d2ce4(0x211)]-=_0x14c071;}return new _0x56ba2f[(_0x2d2ce4(0x145))](_0x3eac92,_0x14c071);},'clone':function(){var _0x44819b=_0x2f4788,_0x37c7d4=_0x5b84d6[_0x44819b(0x300)]['call'](this);return _0x37c7d4['_data']=this[_0x44819b(0x209)][_0x44819b(0x300)](),_0x37c7d4;},'_minBufferSize':0x0});_0x355bfd[_0x2f4788(0x4a3)]=_0x5ed631[_0x2f4788(0x30e)]({'cfg':_0x5b84d6['extend'](),'init':function(_0xb498f1){var _0x41b7c6=_0x2f4788;this[_0x41b7c6(0x34b)]=this[_0x41b7c6(0x34b)][_0x41b7c6(0x30e)](_0xb498f1),this[_0x41b7c6(0x218)]();},'reset':function(){var _0x26cd6d=_0x2f4788;_0x5ed631['reset'][_0x26cd6d(0x200)](this),this[_0x26cd6d(0x319)]();},'update':function(_0x4f2dc1){var _0x4fce64=_0x2f4788;return this['_append'](_0x4f2dc1),this[_0x4fce64(0x153)](),this;},'finalize':function(_0x482e20){var _0x608f9b=_0x2f4788;_0x482e20&&this[_0x608f9b(0x14c)](_0x482e20);var _0x155c15=this['_doFinalize']();return _0x155c15;},'blockSize':0x10,'_createHelper':function(_0x2ca35d){return function(_0x165de7,_0x356aa4){var _0x3772df=_0x1aa6;return new _0x2ca35d[(_0x3772df(0x145))](_0x356aa4)[_0x3772df(0x2f8)](_0x165de7);};},'_createHmacHelper':function(_0x35684d){return function(_0x3f26b0,_0x4fd9fe){var _0x37cd47=_0x1aa6;return new _0x254c00[(_0x37cd47(0x266))]['init'](_0x35684d,_0x4fd9fe)[_0x37cd47(0x2f8)](_0x3f26b0);};}});var _0x254c00=_0x1f5c63[_0x2f4788(0x3e4)]={};return _0x1f5c63;}(Math);return _0x2a7d5b;}));}(pe)),pe[_0x5a1b7e(0x42c)];}var Ie={'exports':{}},Ni=Ie[_0x1c66a7(0x42c)],Je;function yt(){var _0x46d5a1=_0x1c66a7;return Je||(Je=0x1,function(_0x1a9d7c,_0x52f3c6){(function(_0x382d55,_0x317087){var _0x11f222=_0x1aa6;_0x1a9d7c[_0x11f222(0x42c)]=_0x317087(Q());}(Ni,function(_0x104bbc){var _0x1d7056=_0x1aa6;return(function(){var _0x4fd266=_0x1aa6,_0x55c300=_0x104bbc,_0x18ea12=_0x55c300[_0x4fd266(0x193)],_0x148e43=_0x18ea12['WordArray'],_0x443ba0=_0x55c300[_0x4fd266(0x416)];_0x443ba0[_0x4fd266(0x3e8)]={'stringify':function(_0x3d98be){var _0x424db2=_0x4fd266,_0x486f13=_0x3d98be[_0x424db2(0x497)],_0x2b3cec=_0x3d98be[_0x424db2(0x211)],_0x2254f0=this[_0x424db2(0x2b9)];_0x3d98be[_0x424db2(0x2cb)]();for(var _0x30d404=[],_0x5ec689=0x0;_0x5ec689<_0x2b3cec;_0x5ec689+=0x3)for(var _0x753d7=_0x486f13[_0x5ec689>>>0x2]>>>0x18-_0x5ec689%0x4*0x8&0xff,_0x92ea3e=_0x486f13[_0x5ec689+0x1>>>0x2]>>>0x18-(_0x5ec689+0x1)%0x4*0x8&0xff,_0x192922=_0x486f13[_0x5ec689+0x2>>>0x2]>>>0x18-(_0x5ec689+0x2)%0x4*0x8&0xff,_0x57b1b8=_0x753d7<<0x10|_0x92ea3e<<0x8|_0x192922,_0x3cceff=0x0;_0x3cceff<0x4&&_0x5ec689+_0x3cceff*0.75<_0x2b3cec;_0x3cceff++)_0x30d404[_0x424db2(0x421)](_0x2254f0[_0x424db2(0x155)](_0x57b1b8>>>0x6*(0x3-_0x3cceff)&0x3f));var _0x16be4a=_0x2254f0[_0x424db2(0x155)](0x40);if(_0x16be4a){for(;_0x30d404[_0x424db2(0x1c0)]%0x4;)_0x30d404['push'](_0x16be4a);}return _0x30d404[_0x424db2(0x2a6)]('');},'parse':function(_0x3347de){var _0x179f5e=_0x4fd266,_0xa4108a=_0x3347de[_0x179f5e(0x1c0)],_0xcc8c2b=this[_0x179f5e(0x2b9)],_0x3e89c2=this['_reverseMap'];if(!_0x3e89c2){_0x3e89c2=this[_0x179f5e(0x3bc)]=[];for(var _0x477dcc=0x0;_0x477dcc<_0xcc8c2b[_0x179f5e(0x1c0)];_0x477dcc++)_0x3e89c2[_0xcc8c2b[_0x179f5e(0x258)](_0x477dcc)]=_0x477dcc;}var _0x56f2fe=_0xcc8c2b[_0x179f5e(0x155)](0x40);if(_0x56f2fe){var _0x487830=_0x3347de[_0x179f5e(0x259)](_0x56f2fe);_0x487830!==-0x1&&(_0xa4108a=_0x487830);}return _0x2efc65(_0x3347de,_0xa4108a,_0x3e89c2);},'_map':_0x4fd266(0x241)};function _0x2efc65(_0x45e5bc,_0xe05cd,_0x1e25a3){var _0x2b2e21=_0x4fd266;for(var _0x1b2528=[],_0x2ce43c=0x0,_0x28cd39=0x0;_0x28cd39<_0xe05cd;_0x28cd39++)if(_0x28cd39%0x4){var _0x1e92bf=_0x1e25a3[_0x45e5bc['charCodeAt'](_0x28cd39-0x1)]<<_0x28cd39%0x4*0x2,_0x25077f=_0x1e25a3[_0x45e5bc[_0x2b2e21(0x258)](_0x28cd39)]>>>0x6-_0x28cd39%0x4*0x2,_0x3045a8=_0x1e92bf|_0x25077f;_0x1b2528[_0x2ce43c>>>0x2]|=_0x3045a8<<0x18-_0x2ce43c%0x4*0x8,_0x2ce43c++;}return _0x148e43[_0x2b2e21(0x1c1)](_0x1b2528,_0x2ce43c);}}()),_0x104bbc[_0x1d7056(0x416)]['Base64'];}));}(Ie)),Ie[_0x46d5a1(0x42c)];}var ge={'exports':{}},Ui=ge[_0x1c66a7(0x42c)],Xe;function Di(){var _0x83729e=_0x1c66a7;return Xe||(Xe=0x1,function(_0x286af9,_0x4bb773){(function(_0x2b6b7f,_0x4c3ea7){_0x286af9['exports']=_0x4c3ea7(Q());}(Ui,function(_0x1dc57d){return function(_0x582afc){var _0x25550f=_0x1aa6,_0x5c5e0c=_0x1dc57d,_0x40489f=_0x5c5e0c[_0x25550f(0x193)],_0x315ec4=_0x40489f[_0x25550f(0x3da)],_0xe03513=_0x40489f[_0x25550f(0x4a3)],_0x35a49e=_0x5c5e0c[_0x25550f(0x3e4)],_0x29f341=[];(function(){var _0x25b046=_0x25550f;for(var _0x1c2c4f=0x0;_0x1c2c4f<0x40;_0x1c2c4f++)_0x29f341[_0x1c2c4f]=_0x582afc[_0x25b046(0x394)](_0x582afc[_0x25b046(0x3fd)](_0x1c2c4f+0x1))*0x100000000|0x0;}());var _0x3dcf69=_0x35a49e[_0x25550f(0x27f)]=_0xe03513[_0x25550f(0x30e)]({'_doReset':function(){var _0x342950=_0x25550f;this['_hash']=new _0x315ec4[(_0x342950(0x145))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x23f75c,_0xcd49fd){var _0x41fbee=_0x25550f;for(var _0x12fc09=0x0;_0x12fc09<0x10;_0x12fc09++){var _0x3b2cdc=_0xcd49fd+_0x12fc09,_0xa8519f=_0x23f75c[_0x3b2cdc];_0x23f75c[_0x3b2cdc]=(_0xa8519f<<0x8|_0xa8519f>>>0x18)&0xff00ff|(_0xa8519f<<0x18|_0xa8519f>>>0x8)&0xff00ff00;}var _0x35e494=this[_0x41fbee(0x438)][_0x41fbee(0x497)],_0x15dffb=_0x23f75c[_0xcd49fd+0x0],_0x493514=_0x23f75c[_0xcd49fd+0x1],_0x1dbf87=_0x23f75c[_0xcd49fd+0x2],_0xf3aad3=_0x23f75c[_0xcd49fd+0x3],_0xf251b7=_0x23f75c[_0xcd49fd+0x4],_0x25d5fe=_0x23f75c[_0xcd49fd+0x5],_0x4880ce=_0x23f75c[_0xcd49fd+0x6],_0x5ac60b=_0x23f75c[_0xcd49fd+0x7],_0x1b5b75=_0x23f75c[_0xcd49fd+0x8],_0x2a8f7e=_0x23f75c[_0xcd49fd+0x9],_0x1d901b=_0x23f75c[_0xcd49fd+0xa],_0xc95960=_0x23f75c[_0xcd49fd+0xb],_0x3f3305=_0x23f75c[_0xcd49fd+0xc],_0x2fe91c=_0x23f75c[_0xcd49fd+0xd],_0x83e218=_0x23f75c[_0xcd49fd+0xe],_0x40e069=_0x23f75c[_0xcd49fd+0xf],_0x1ffc4a=_0x35e494[0x0],_0x264548=_0x35e494[0x1],_0x16645a=_0x35e494[0x2],_0x15ff53=_0x35e494[0x3];_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x15dffb,0x7,_0x29f341[0x0]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x493514,0xc,_0x29f341[0x1]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1dbf87,0x11,_0x29f341[0x2]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xf3aad3,0x16,_0x29f341[0x3]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0xf251b7,0x7,_0x29f341[0x4]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x25d5fe,0xc,_0x29f341[0x5]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x4880ce,0x11,_0x29f341[0x6]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x5ac60b,0x16,_0x29f341[0x7]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x1b5b75,0x7,_0x29f341[0x8]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x2a8f7e,0xc,_0x29f341[0x9]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1d901b,0x11,_0x29f341[0xa]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xc95960,0x16,_0x29f341[0xb]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x3f3305,0x7,_0x29f341[0xc]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x2fe91c,0xc,_0x29f341[0xd]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x83e218,0x11,_0x29f341[0xe]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x40e069,0x16,_0x29f341[0xf]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x493514,0x5,_0x29f341[0x10]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x4880ce,0x9,_0x29f341[0x11]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xc95960,0xe,_0x29f341[0x12]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x15dffb,0x14,_0x29f341[0x13]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x25d5fe,0x5,_0x29f341[0x14]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1d901b,0x9,_0x29f341[0x15]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x40e069,0xe,_0x29f341[0x16]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xf251b7,0x14,_0x29f341[0x17]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2a8f7e,0x5,_0x29f341[0x18]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x83e218,0x9,_0x29f341[0x19]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xf3aad3,0xe,_0x29f341[0x1a]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1b5b75,0x14,_0x29f341[0x1b]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2fe91c,0x5,_0x29f341[0x1c]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1dbf87,0x9,_0x29f341[0x1d]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x5ac60b,0xe,_0x29f341[0x1e]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x3f3305,0x14,_0x29f341[0x1f]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x25d5fe,0x4,_0x29f341[0x20]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1b5b75,0xb,_0x29f341[0x21]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xc95960,0x10,_0x29f341[0x22]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x83e218,0x17,_0x29f341[0x23]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x493514,0x4,_0x29f341[0x24]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xf251b7,0xb,_0x29f341[0x25]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x5ac60b,0x10,_0x29f341[0x26]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1d901b,0x17,_0x29f341[0x27]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2fe91c,0x4,_0x29f341[0x28]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x15dffb,0xb,_0x29f341[0x29]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xf3aad3,0x10,_0x29f341[0x2a]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x4880ce,0x17,_0x29f341[0x2b]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2a8f7e,0x4,_0x29f341[0x2c]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x3f3305,0xb,_0x29f341[0x2d]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x40e069,0x10,_0x29f341[0x2e]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1dbf87,0x17,_0x29f341[0x2f]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x15dffb,0x6,_0x29f341[0x30]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x5ac60b,0xa,_0x29f341[0x31]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x83e218,0xf,_0x29f341[0x32]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x25d5fe,0x15,_0x29f341[0x33]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x3f3305,0x6,_0x29f341[0x34]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xf3aad3,0xa,_0x29f341[0x35]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1d901b,0xf,_0x29f341[0x36]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x493514,0x15,_0x29f341[0x37]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x1b5b75,0x6,_0x29f341[0x38]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x40e069,0xa,_0x29f341[0x39]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x4880ce,0xf,_0x29f341[0x3a]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x2fe91c,0x15,_0x29f341[0x3b]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0xf251b7,0x6,_0x29f341[0x3c]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xc95960,0xa,_0x29f341[0x3d]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1dbf87,0xf,_0x29f341[0x3e]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x2a8f7e,0x15,_0x29f341[0x3f]),_0x35e494[0x0]=_0x35e494[0x0]+_0x1ffc4a|0x0,_0x35e494[0x1]=_0x35e494[0x1]+_0x264548|0x0,_0x35e494[0x2]=_0x35e494[0x2]+_0x16645a|0x0,_0x35e494[0x3]=_0x35e494[0x3]+_0x15ff53|0x0;},'_doFinalize':function(){var _0x9a02bc=_0x25550f,_0x4a4fd6=this[_0x9a02bc(0x209)],_0x29b9d3=_0x4a4fd6['words'],_0x561842=this[_0x9a02bc(0x1d4)]*0x8,_0x3a2040=_0x4a4fd6['sigBytes']*0x8;_0x29b9d3[_0x3a2040>>>0x5]|=0x80<<0x18-_0x3a2040%0x20;var _0x54e3d1=_0x582afc[_0x9a02bc(0x2da)](_0x561842/0x100000000),_0x31c108=_0x561842;_0x29b9d3[(_0x3a2040+0x40>>>0x9<<0x4)+0xf]=(_0x54e3d1<<0x8|_0x54e3d1>>>0x18)&0xff00ff|(_0x54e3d1<<0x18|_0x54e3d1>>>0x8)&0xff00ff00,_0x29b9d3[(_0x3a2040+0x40>>>0x9<<0x4)+0xe]=(_0x31c108<<0x8|_0x31c108>>>0x18)&0xff00ff|(_0x31c108<<0x18|_0x31c108>>>0x8)&0xff00ff00,_0x4a4fd6[_0x9a02bc(0x211)]=(_0x29b9d3['length']+0x1)*0x4,this['_process']();for(var _0x565b16=this[_0x9a02bc(0x438)],_0x58182a=_0x565b16['words'],_0x51b708=0x0;_0x51b708<0x4;_0x51b708++){var _0x2c8857=_0x58182a[_0x51b708];_0x58182a[_0x51b708]=(_0x2c8857<<0x8|_0x2c8857>>>0x18)&0xff00ff|(_0x2c8857<<0x18|_0x2c8857>>>0x8)&0xff00ff00;}return _0x565b16;},'clone':function(){var _0x1bc4fc=_0x25550f,_0x2985a4=_0xe03513[_0x1bc4fc(0x300)]['call'](this);return _0x2985a4[_0x1bc4fc(0x438)]=this[_0x1bc4fc(0x438)]['clone'](),_0x2985a4;}});function _0x452438(_0x7a1f5e,_0x33fa99,_0x5b21d6,_0x40750f,_0x2ec88b,_0x19f12f,_0x1dec33){var _0xcce55e=_0x7a1f5e+(_0x33fa99&_0x5b21d6|~_0x33fa99&_0x40750f)+_0x2ec88b+_0x1dec33;return(_0xcce55e<<_0x19f12f|_0xcce55e>>>0x20-_0x19f12f)+_0x33fa99;}function _0x55a9b1(_0x3ee16d,_0x32e962,_0x5caa04,_0x10fc08,_0x1c5c12,_0x23391e,_0x1e00f0){var _0x46e480=_0x3ee16d+(_0x32e962&_0x10fc08|_0x5caa04&~_0x10fc08)+_0x1c5c12+_0x1e00f0;return(_0x46e480<<_0x23391e|_0x46e480>>>0x20-_0x23391e)+_0x32e962;}function _0x1d8d71(_0x2f1dc5,_0x6fb6ff,_0x195285,_0xc0a17a,_0x2eeeb3,_0x179cd7,_0x531c2f){var _0x329ab4=_0x2f1dc5+(_0x6fb6ff^_0x195285^_0xc0a17a)+_0x2eeeb3+_0x531c2f;return(_0x329ab4<<_0x179cd7|_0x329ab4>>>0x20-_0x179cd7)+_0x6fb6ff;}function _0x2464e1(_0x37977f,_0xa5ddf8,_0x59fe46,_0x3670fe,_0x989566,_0x140627,_0x471fa9){var _0x5a84e6=_0x37977f+(_0x59fe46^(_0xa5ddf8|~_0x3670fe))+_0x989566+_0x471fa9;return(_0x5a84e6<<_0x140627|_0x5a84e6>>>0x20-_0x140627)+_0xa5ddf8;}_0x5c5e0c[_0x25550f(0x27f)]=_0xe03513[_0x25550f(0x2ff)](_0x3dcf69),_0x5c5e0c[_0x25550f(0x17c)]=_0xe03513[_0x25550f(0x205)](_0x3dcf69);}(Math),_0x1dc57d['MD5'];}));}(ge)),ge[_0x83729e(0x42c)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x2574df=_0x1c66a7;return Ze||(Ze=0x1,function(_0x2117ed,_0x116840){(function(_0x1d0ede,_0x4fc104){_0x2117ed['exports']=_0x4fc104(Q());}(Ai,function(_0x5e9d3c){var _0x5b6818=_0x1aa6;return(function(){var _0x76fcb7=_0x1aa6,_0x1017ea=_0x5e9d3c,_0x3de956=_0x1017ea[_0x76fcb7(0x193)],_0x4e7eeb=_0x3de956[_0x76fcb7(0x3da)],_0x1d20a9=_0x3de956[_0x76fcb7(0x4a3)],_0x1380e8=_0x1017ea[_0x76fcb7(0x3e4)],_0x44b6f3=[],_0x4ec814=_0x1380e8[_0x76fcb7(0x183)]=_0x1d20a9[_0x76fcb7(0x30e)]({'_doReset':function(){this['_hash']=new _0x4e7eeb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf0d982,_0x3410a6){var _0x1771fd=_0x76fcb7;for(var _0x40af05=this[_0x1771fd(0x438)]['words'],_0x1c3eec=_0x40af05[0x0],_0x46a5fa=_0x40af05[0x1],_0x33f7f2=_0x40af05[0x2],_0x24e151=_0x40af05[0x3],_0xeb2315=_0x40af05[0x4],_0x50a93a=0x0;_0x50a93a<0x50;_0x50a93a++){if(_0x50a93a<0x10)_0x44b6f3[_0x50a93a]=_0xf0d982[_0x3410a6+_0x50a93a]|0x0;else{var _0x4b4fd4=_0x44b6f3[_0x50a93a-0x3]^_0x44b6f3[_0x50a93a-0x8]^_0x44b6f3[_0x50a93a-0xe]^_0x44b6f3[_0x50a93a-0x10];_0x44b6f3[_0x50a93a]=_0x4b4fd4<<0x1|_0x4b4fd4>>>0x1f;}var _0x6b304b=(_0x1c3eec<<0x5|_0x1c3eec>>>0x1b)+_0xeb2315+_0x44b6f3[_0x50a93a];_0x50a93a<0x14?_0x6b304b+=(_0x46a5fa&_0x33f7f2|~_0x46a5fa&_0x24e151)+0x5a827999:_0x50a93a<0x28?_0x6b304b+=(_0x46a5fa^_0x33f7f2^_0x24e151)+0x6ed9eba1:_0x50a93a<0x3c?_0x6b304b+=(_0x46a5fa&_0x33f7f2|_0x46a5fa&_0x24e151|_0x33f7f2&_0x24e151)-0x70e44324:_0x6b304b+=(_0x46a5fa^_0x33f7f2^_0x24e151)-0x359d3e2a,_0xeb2315=_0x24e151,_0x24e151=_0x33f7f2,_0x33f7f2=_0x46a5fa<<0x1e|_0x46a5fa>>>0x2,_0x46a5fa=_0x1c3eec,_0x1c3eec=_0x6b304b;}_0x40af05[0x0]=_0x40af05[0x0]+_0x1c3eec|0x0,_0x40af05[0x1]=_0x40af05[0x1]+_0x46a5fa|0x0,_0x40af05[0x2]=_0x40af05[0x2]+_0x33f7f2|0x0,_0x40af05[0x3]=_0x40af05[0x3]+_0x24e151|0x0,_0x40af05[0x4]=_0x40af05[0x4]+_0xeb2315|0x0;},'_doFinalize':function(){var _0x2033e0=_0x76fcb7,_0x578dfd=this[_0x2033e0(0x209)],_0x401d87=_0x578dfd[_0x2033e0(0x497)],_0xfe4f97=this[_0x2033e0(0x1d4)]*0x8,_0x2fa017=_0x578dfd['sigBytes']*0x8;return _0x401d87[_0x2fa017>>>0x5]|=0x80<<0x18-_0x2fa017%0x20,_0x401d87[(_0x2fa017+0x40>>>0x9<<0x4)+0xe]=Math[_0x2033e0(0x2da)](_0xfe4f97/0x100000000),_0x401d87[(_0x2fa017+0x40>>>0x9<<0x4)+0xf]=_0xfe4f97,_0x578dfd['sigBytes']=_0x401d87[_0x2033e0(0x1c0)]*0x4,this['_process'](),this[_0x2033e0(0x438)];},'clone':function(){var _0x290f42=_0x76fcb7,_0x27593e=_0x1d20a9[_0x290f42(0x300)][_0x290f42(0x200)](this);return _0x27593e[_0x290f42(0x438)]=this[_0x290f42(0x438)][_0x290f42(0x300)](),_0x27593e;}});_0x1017ea[_0x76fcb7(0x183)]=_0x1d20a9[_0x76fcb7(0x2ff)](_0x4ec814),_0x1017ea['HmacSHA1']=_0x1d20a9[_0x76fcb7(0x205)](_0x4ec814);}()),_0x5e9d3c[_0x5b6818(0x183)];}));}(me)),me[_0x2574df(0x42c)];}var Ce={'exports':{}},wi=Ce[_0x1c66a7(0x42c)],Qe;function Li(){var _0x33d79d=_0x1c66a7;return Qe||(Qe=0x1,function(_0x344457,_0x924cea){(function(_0x3223c9,_0x3e81a5){var _0x3940fb=_0x1aa6;_0x344457[_0x3940fb(0x42c)]=_0x3e81a5(Q());}(wi,function(_0xba0c5e){(function(){var _0x534aea=_0x1aa6,_0x4645b4=_0xba0c5e,_0x307b4e=_0x4645b4[_0x534aea(0x193)],_0x3310a8=_0x307b4e[_0x534aea(0x14a)],_0xd0b940=_0x4645b4[_0x534aea(0x416)],_0x58eaf0=_0xd0b940[_0x534aea(0x166)],_0x414ff5=_0x4645b4[_0x534aea(0x3e4)];_0x414ff5[_0x534aea(0x266)]=_0x3310a8['extend']({'init':function(_0x184578,_0x1d079f){var _0x5ba096=_0x534aea;_0x184578=this['_hasher']=new _0x184578[(_0x5ba096(0x145))](),typeof _0x1d079f==_0x5ba096(0x179)&&(_0x1d079f=_0x58eaf0[_0x5ba096(0x314)](_0x1d079f));var _0x4c0844=_0x184578[_0x5ba096(0x412)],_0x267105=_0x4c0844*0x4;_0x1d079f[_0x5ba096(0x211)]>_0x267105&&(_0x1d079f=_0x184578[_0x5ba096(0x2f8)](_0x1d079f)),_0x1d079f[_0x5ba096(0x2cb)]();for(var _0x52b936=this['_oKey']=_0x1d079f[_0x5ba096(0x300)](),_0x222ae8=this[_0x5ba096(0x35a)]=_0x1d079f[_0x5ba096(0x300)](),_0x4f055c=_0x52b936[_0x5ba096(0x497)],_0x5b5557=_0x222ae8[_0x5ba096(0x497)],_0x237dcb=0x0;_0x237dcb<_0x4c0844;_0x237dcb++)_0x4f055c[_0x237dcb]^=0x5c5c5c5c,_0x5b5557[_0x237dcb]^=0x36363636;_0x52b936[_0x5ba096(0x211)]=_0x222ae8['sigBytes']=_0x267105,this[_0x5ba096(0x218)]();},'reset':function(){var _0x54e458=_0x534aea,_0x1d5ff3=this[_0x54e458(0x45d)];_0x1d5ff3[_0x54e458(0x218)](),_0x1d5ff3['update'](this['_iKey']);},'update':function(_0x1d7ae4){var _0x44ce86=_0x534aea;return this[_0x44ce86(0x45d)][_0x44ce86(0x1fd)](_0x1d7ae4),this;},'finalize':function(_0x44d539){var _0x5cb8d9=_0x534aea,_0x53246c=this['_hasher'],_0xbd1dda=_0x53246c[_0x5cb8d9(0x2f8)](_0x44d539);_0x53246c[_0x5cb8d9(0x218)]();var _0x461304=_0x53246c[_0x5cb8d9(0x2f8)](this['_oKey']['clone']()['concat'](_0xbd1dda));return _0x461304;}});}());}));}(Ce)),Ce[_0x33d79d(0x42c)];}var Mi=Ee[_0x1c66a7(0x42c)],et;function Nt(){return et||(et=0x1,function(_0x387802,_0x1beb58){(function(_0x191580,_0x500208,_0x1b9d05){var _0x3c04a4=_0x1aa6;_0x387802[_0x3c04a4(0x42c)]=_0x500208(Q(),Pi(),Li());}(Mi,function(_0x4c76a4){var _0x15f7d2=_0x1aa6;return(function(){var _0x26c8a1=_0x1aa6,_0x18d3fc=_0x4c76a4,_0x5c208a=_0x18d3fc[_0x26c8a1(0x193)],_0x34491c=_0x5c208a[_0x26c8a1(0x14a)],_0x4e2b9f=_0x5c208a[_0x26c8a1(0x3da)],_0x498674=_0x18d3fc['algo'],_0x2e3597=_0x498674[_0x26c8a1(0x27f)],_0x25a51b=_0x498674[_0x26c8a1(0x481)]=_0x34491c['extend']({'cfg':_0x34491c[_0x26c8a1(0x30e)]({'keySize':0x80/0x20,'hasher':_0x2e3597,'iterations':0x1}),'init':function(_0x70c77f){var _0x10e7d9=_0x26c8a1;this['cfg']=this[_0x10e7d9(0x34b)][_0x10e7d9(0x30e)](_0x70c77f);},'compute':function(_0x2301e4,_0x49ecb2){var _0x4b5d04=_0x26c8a1;for(var _0x2f144d,_0x2215a1=this[_0x4b5d04(0x34b)],_0x222f4f=_0x2215a1['hasher']['create'](),_0xb504be=_0x4e2b9f[_0x4b5d04(0x1c1)](),_0x422142=_0xb504be['words'],_0x524c76=_0x2215a1[_0x4b5d04(0x40d)],_0x41d97b=_0x2215a1[_0x4b5d04(0x437)];_0x422142[_0x4b5d04(0x1c0)]<_0x524c76;){_0x2f144d&&_0x222f4f['update'](_0x2f144d),_0x2f144d=_0x222f4f[_0x4b5d04(0x1fd)](_0x2301e4)['finalize'](_0x49ecb2),_0x222f4f['reset']();for(var _0x1eb5a0=0x1;_0x1eb5a0<_0x41d97b;_0x1eb5a0++)_0x2f144d=_0x222f4f[_0x4b5d04(0x2f8)](_0x2f144d),_0x222f4f['reset']();_0xb504be[_0x4b5d04(0x1b5)](_0x2f144d);}return _0xb504be[_0x4b5d04(0x211)]=_0x524c76*0x4,_0xb504be;}});_0x18d3fc['EvpKDF']=function(_0x2819d9,_0x25e1b6,_0x555029){var _0x5a5491=_0x26c8a1;return _0x25a51b['create'](_0x555029)[_0x5a5491(0x32a)](_0x2819d9,_0x25e1b6);};}()),_0x4c76a4[_0x15f7d2(0x481)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x1c66a7(0x42c)],tt;function Ut(){var _0x2f8b73=_0x1c66a7;return tt||(tt=0x1,function(_0x40270,_0x117e5a){(function(_0x31e0c0,_0x588438,_0x1340fe){var _0x42a93e=_0x1aa6;_0x40270[_0x42a93e(0x42c)]=_0x588438(Q(),Nt());}(xi,function(_0x20b82c){var _0x416e76=_0x1aa6;_0x20b82c[_0x416e76(0x193)][_0x416e76(0x2f2)]||function(_0x5ad674){var _0x2ac89f=_0x416e76,_0x15b7ee=_0x20b82c,_0x194f4f=_0x15b7ee[_0x2ac89f(0x193)],_0x77e9d3=_0x194f4f[_0x2ac89f(0x14a)],_0x52361f=_0x194f4f[_0x2ac89f(0x3da)],_0x22ba72=_0x194f4f['BufferedBlockAlgorithm'],_0x1c3985=_0x15b7ee[_0x2ac89f(0x416)];_0x1c3985['Utf8'];var _0x1dc540=_0x1c3985[_0x2ac89f(0x3e8)],_0x401e9e=_0x15b7ee[_0x2ac89f(0x3e4)],_0x1df25a=_0x401e9e[_0x2ac89f(0x481)],_0x342bf5=_0x194f4f['Cipher']=_0x22ba72[_0x2ac89f(0x30e)]({'cfg':_0x77e9d3[_0x2ac89f(0x30e)](),'createEncryptor':function(_0x2dae72,_0xae9f82){var _0x123d88=_0x2ac89f;return this[_0x123d88(0x1c1)](this[_0x123d88(0x28a)],_0x2dae72,_0xae9f82);},'createDecryptor':function(_0x45e375,_0x36a029){var _0x39cf8a=_0x2ac89f;return this[_0x39cf8a(0x1c1)](this[_0x39cf8a(0x3de)],_0x45e375,_0x36a029);},'init':function(_0x2223d6,_0x42054b,_0x96e64f){var _0xeb2613=_0x2ac89f;this['cfg']=this[_0xeb2613(0x34b)][_0xeb2613(0x30e)](_0x96e64f),this[_0xeb2613(0x27b)]=_0x2223d6,this['_key']=_0x42054b,this[_0xeb2613(0x218)]();},'reset':function(){var _0x320f17=_0x2ac89f;_0x22ba72[_0x320f17(0x218)][_0x320f17(0x200)](this),this[_0x320f17(0x319)]();},'process':function(_0x24e4af){var _0x9f62e=_0x2ac89f;return this['_append'](_0x24e4af),this[_0x9f62e(0x153)]();},'finalize':function(_0x5194e9){var _0x5341e4=_0x2ac89f;_0x5194e9&&this['_append'](_0x5194e9);var _0x3fb459=this[_0x5341e4(0x447)]();return _0x3fb459;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4fdb7d(_0x640ff1){var _0x3c0be6=_0x1aa6;return typeof _0x640ff1==_0x3c0be6(0x179)?_0x4bd259:_0x439dfa;}return function(_0x29c23a){return{'encrypt':function(_0x939111,_0xab0b86,_0x43ff8d){var _0x14de9d=_0x1aa6;return _0x4fdb7d(_0xab0b86)[_0x14de9d(0x327)](_0x29c23a,_0x939111,_0xab0b86,_0x43ff8d);},'decrypt':function(_0x29b385,_0x2ccacf,_0x258c9a){var _0x51c8c4=_0x1aa6;return _0x4fdb7d(_0x2ccacf)[_0x51c8c4(0x32f)](_0x29c23a,_0x29b385,_0x2ccacf,_0x258c9a);}};};}())});_0x194f4f['StreamCipher']=_0x342bf5[_0x2ac89f(0x30e)]({'_doFinalize':function(){var _0x3850a5=this['_process'](!0x0);return _0x3850a5;},'blockSize':0x1});var _0x2b0b9a=_0x15b7ee[_0x2ac89f(0x3ed)]={},_0x2f2bbf=_0x194f4f[_0x2ac89f(0x44a)]=_0x77e9d3[_0x2ac89f(0x30e)]({'createEncryptor':function(_0x32757f,_0x2ae802){var _0x26503a=_0x2ac89f;return this[_0x26503a(0x3ba)][_0x26503a(0x1c1)](_0x32757f,_0x2ae802);},'createDecryptor':function(_0x5be34a,_0x71a8cc){var _0x22e420=_0x2ac89f;return this['Decryptor'][_0x22e420(0x1c1)](_0x5be34a,_0x71a8cc);},'init':function(_0x23dde6,_0x49b832){var _0x26b8e5=_0x2ac89f;this['_cipher']=_0x23dde6,this[_0x26b8e5(0x409)]=_0x49b832;}}),_0x411c99=_0x2b0b9a[_0x2ac89f(0x1fa)]=(function(){var _0x4e7150=_0x2ac89f,_0x1bc04c=_0x2f2bbf['extend']();_0x1bc04c[_0x4e7150(0x3ba)]=_0x1bc04c['extend']({'processBlock':function(_0x13af00,_0x31c77f){var _0x4b5ce3=_0x4e7150,_0x62e22b=this['_cipher'],_0x2076ae=_0x62e22b['blockSize'];_0x52e6c4[_0x4b5ce3(0x200)](this,_0x13af00,_0x31c77f,_0x2076ae),_0x62e22b[_0x4b5ce3(0x3d2)](_0x13af00,_0x31c77f),this[_0x4b5ce3(0x17d)]=_0x13af00[_0x4b5ce3(0x216)](_0x31c77f,_0x31c77f+_0x2076ae);}}),_0x1bc04c[_0x4e7150(0x215)]=_0x1bc04c['extend']({'processBlock':function(_0x5f4469,_0x24b4a4){var _0x391ce5=_0x4e7150,_0x4e1667=this['_cipher'],_0x1d1184=_0x4e1667[_0x391ce5(0x412)],_0x3edfd1=_0x5f4469[_0x391ce5(0x216)](_0x24b4a4,_0x24b4a4+_0x1d1184);_0x4e1667[_0x391ce5(0x303)](_0x5f4469,_0x24b4a4),_0x52e6c4[_0x391ce5(0x200)](this,_0x5f4469,_0x24b4a4,_0x1d1184),this[_0x391ce5(0x17d)]=_0x3edfd1;}});function _0x52e6c4(_0x4950cb,_0x12b030,_0x3ca379){var _0x4b6278=_0x4e7150,_0x166742,_0x46ca64=this[_0x4b6278(0x409)];_0x46ca64?(_0x166742=_0x46ca64,this[_0x4b6278(0x409)]=_0x5ad674):_0x166742=this[_0x4b6278(0x17d)];for(var _0x1a35ca=0x0;_0x1a35ca<_0x3ca379;_0x1a35ca++)_0x4950cb[_0x12b030+_0x1a35ca]^=_0x166742[_0x1a35ca];}return _0x1bc04c;}()),_0x5d8da9=_0x15b7ee[_0x2ac89f(0x36c)]={},_0x474ed8=_0x5d8da9[_0x2ac89f(0x40b)]={'pad':function(_0x10bf7e,_0x2a1f6a){var _0x1a1f64=_0x2ac89f;for(var _0x4a4ed3=_0x2a1f6a*0x4,_0x300d5c=_0x4a4ed3-_0x10bf7e['sigBytes']%_0x4a4ed3,_0x1d7f16=_0x300d5c<<0x18|_0x300d5c<<0x10|_0x300d5c<<0x8|_0x300d5c,_0x23854e=[],_0x4d5bd5=0x0;_0x4d5bd5<_0x300d5c;_0x4d5bd5+=0x4)_0x23854e[_0x1a1f64(0x421)](_0x1d7f16);var _0x2ef6b4=_0x52361f[_0x1a1f64(0x1c1)](_0x23854e,_0x300d5c);_0x10bf7e[_0x1a1f64(0x1b5)](_0x2ef6b4);},'unpad':function(_0x28629c){var _0x35edda=_0x2ac89f,_0x5b3964=_0x28629c[_0x35edda(0x497)][_0x28629c['sigBytes']-0x1>>>0x2]&0xff;_0x28629c[_0x35edda(0x211)]-=_0x5b3964;}};_0x194f4f['BlockCipher']=_0x342bf5[_0x2ac89f(0x30e)]({'cfg':_0x342bf5[_0x2ac89f(0x34b)][_0x2ac89f(0x30e)]({'mode':_0x411c99,'padding':_0x474ed8}),'reset':function(){var _0xfa92a1=_0x2ac89f,_0x5ce9db;_0x342bf5[_0xfa92a1(0x218)][_0xfa92a1(0x200)](this);var _0x26d115=this[_0xfa92a1(0x34b)],_0x1df214=_0x26d115['iv'],_0x5bd2ec=_0x26d115[_0xfa92a1(0x3ed)];this['_xformMode']==this[_0xfa92a1(0x28a)]?_0x5ce9db=_0x5bd2ec[_0xfa92a1(0x453)]:(_0x5ce9db=_0x5bd2ec[_0xfa92a1(0x202)],this[_0xfa92a1(0x425)]=0x1),this['_mode']&&this[_0xfa92a1(0x260)][_0xfa92a1(0x189)]==_0x5ce9db?this[_0xfa92a1(0x260)][_0xfa92a1(0x145)](this,_0x1df214&&_0x1df214[_0xfa92a1(0x497)]):(this[_0xfa92a1(0x260)]=_0x5ce9db[_0xfa92a1(0x200)](_0x5bd2ec,this,_0x1df214&&_0x1df214[_0xfa92a1(0x497)]),this[_0xfa92a1(0x260)][_0xfa92a1(0x189)]=_0x5ce9db);},'_doProcessBlock':function(_0x5e2964,_0x5bbb16){var _0x25d99f=_0x2ac89f;this[_0x25d99f(0x260)]['processBlock'](_0x5e2964,_0x5bbb16);},'_doFinalize':function(){var _0x399c57=_0x2ac89f,_0x17b03b,_0x1b5d71=this[_0x399c57(0x34b)][_0x399c57(0x1ea)];return this[_0x399c57(0x27b)]==this[_0x399c57(0x28a)]?(_0x1b5d71[_0x399c57(0x36c)](this[_0x399c57(0x209)],this[_0x399c57(0x412)]),_0x17b03b=this['_process'](!0x0)):(_0x17b03b=this[_0x399c57(0x153)](!0x0),_0x1b5d71[_0x399c57(0x35f)](_0x17b03b)),_0x17b03b;},'blockSize':0x80/0x20});var _0x1ed1a6=_0x194f4f[_0x2ac89f(0x242)]=_0x77e9d3[_0x2ac89f(0x30e)]({'init':function(_0x33be49){this['mixIn'](_0x33be49);},'toString':function(_0x26848d){var _0x5d1bcb=_0x2ac89f;return(_0x26848d||this['formatter'])[_0x5d1bcb(0x32c)](this);}}),_0x102242=_0x15b7ee[_0x2ac89f(0x1cc)]={},_0x2d1aba=_0x102242[_0x2ac89f(0x176)]={'stringify':function(_0x6426e7){var _0x3af10c=_0x2ac89f,_0x5e8804,_0x106b50=_0x6426e7[_0x3af10c(0x24f)],_0x5af363=_0x6426e7[_0x3af10c(0x1c6)];return _0x5af363?_0x5e8804=_0x52361f[_0x3af10c(0x1c1)]([0x53616c74,0x65645f5f])[_0x3af10c(0x1b5)](_0x5af363)[_0x3af10c(0x1b5)](_0x106b50):_0x5e8804=_0x106b50,_0x5e8804[_0x3af10c(0x21d)](_0x1dc540);},'parse':function(_0x56a181){var _0x47893d=_0x2ac89f,_0x229e06,_0x259ee7=_0x1dc540['parse'](_0x56a181),_0x2b66c8=_0x259ee7['words'];return _0x2b66c8[0x0]==0x53616c74&&_0x2b66c8[0x1]==0x65645f5f&&(_0x229e06=_0x52361f[_0x47893d(0x1c1)](_0x2b66c8[_0x47893d(0x216)](0x2,0x4)),_0x2b66c8[_0x47893d(0x4bc)](0x0,0x4),_0x259ee7[_0x47893d(0x211)]-=0x10),_0x1ed1a6['create']({'ciphertext':_0x259ee7,'salt':_0x229e06});}},_0x439dfa=_0x194f4f[_0x2ac89f(0x349)]=_0x77e9d3[_0x2ac89f(0x30e)]({'cfg':_0x77e9d3['extend']({'format':_0x2d1aba}),'encrypt':function(_0x51ba29,_0x1e60df,_0x3c256e,_0xad851){var _0x1a50cb=_0x2ac89f;_0xad851=this['cfg'][_0x1a50cb(0x30e)](_0xad851);var _0xc05f2b=_0x51ba29['createEncryptor'](_0x3c256e,_0xad851),_0x32f019=_0xc05f2b[_0x1a50cb(0x2f8)](_0x1e60df),_0x5899e8=_0xc05f2b['cfg'];return _0x1ed1a6[_0x1a50cb(0x1c1)]({'ciphertext':_0x32f019,'key':_0x3c256e,'iv':_0x5899e8['iv'],'algorithm':_0x51ba29,'mode':_0x5899e8[_0x1a50cb(0x3ed)],'padding':_0x5899e8[_0x1a50cb(0x1ea)],'blockSize':_0x51ba29['blockSize'],'formatter':_0xad851[_0x1a50cb(0x1cc)]});},'decrypt':function(_0x47e715,_0x7ce26c,_0x1f0acb,_0x3ca6d4){var _0x5080db=_0x2ac89f;_0x3ca6d4=this['cfg'][_0x5080db(0x30e)](_0x3ca6d4),_0x7ce26c=this[_0x5080db(0x28b)](_0x7ce26c,_0x3ca6d4[_0x5080db(0x1cc)]);var _0xdf6c9b=_0x47e715[_0x5080db(0x202)](_0x1f0acb,_0x3ca6d4)['finalize'](_0x7ce26c[_0x5080db(0x24f)]);return _0xdf6c9b;},'_parse':function(_0x5880df,_0x334a4a){var _0x2e3496=_0x2ac89f;return typeof _0x5880df==_0x2e3496(0x179)?_0x334a4a[_0x2e3496(0x314)](_0x5880df,this):_0x5880df;}}),_0x26bd59=_0x15b7ee[_0x2ac89f(0x36b)]={},_0x821f8d=_0x26bd59[_0x2ac89f(0x176)]={'execute':function(_0x3cfb59,_0xb5bc26,_0x5c3f74,_0x24c20b,_0x10295a){var _0x5b670d=_0x2ac89f;if(_0x24c20b||(_0x24c20b=_0x52361f[_0x5b670d(0x3ee)](0x40/0x8)),_0x10295a)var _0x9cc188=_0x1df25a[_0x5b670d(0x1c1)]({'keySize':_0xb5bc26+_0x5c3f74,'hasher':_0x10295a})[_0x5b670d(0x32a)](_0x3cfb59,_0x24c20b);else var _0x9cc188=_0x1df25a['create']({'keySize':_0xb5bc26+_0x5c3f74})[_0x5b670d(0x32a)](_0x3cfb59,_0x24c20b);var _0x5644ab=_0x52361f[_0x5b670d(0x1c1)](_0x9cc188[_0x5b670d(0x497)][_0x5b670d(0x216)](_0xb5bc26),_0x5c3f74*0x4);return _0x9cc188[_0x5b670d(0x211)]=_0xb5bc26*0x4,_0x1ed1a6['create']({'key':_0x9cc188,'iv':_0x5644ab,'salt':_0x24c20b});}},_0x4bd259=_0x194f4f[_0x2ac89f(0x38f)]=_0x439dfa[_0x2ac89f(0x30e)]({'cfg':_0x439dfa[_0x2ac89f(0x34b)][_0x2ac89f(0x30e)]({'kdf':_0x821f8d}),'encrypt':function(_0x5238b9,_0x4a8cc9,_0x435058,_0x26dd83){var _0x5944bd=_0x2ac89f;_0x26dd83=this['cfg'][_0x5944bd(0x30e)](_0x26dd83);var _0x285078=_0x26dd83[_0x5944bd(0x36b)]['execute'](_0x435058,_0x5238b9[_0x5944bd(0x40d)],_0x5238b9[_0x5944bd(0x3c6)],_0x26dd83[_0x5944bd(0x1c6)],_0x26dd83['hasher']);_0x26dd83['iv']=_0x285078['iv'];var _0x54153c=_0x439dfa[_0x5944bd(0x327)][_0x5944bd(0x200)](this,_0x5238b9,_0x4a8cc9,_0x285078[_0x5944bd(0x1c2)],_0x26dd83);return _0x54153c[_0x5944bd(0x43d)](_0x285078),_0x54153c;},'decrypt':function(_0x1a7ba7,_0x550bd4,_0x597f1c,_0x4eba3c){var _0x37c3b7=_0x2ac89f;_0x4eba3c=this[_0x37c3b7(0x34b)][_0x37c3b7(0x30e)](_0x4eba3c),_0x550bd4=this[_0x37c3b7(0x28b)](_0x550bd4,_0x4eba3c[_0x37c3b7(0x1cc)]);var _0x4a8556=_0x4eba3c[_0x37c3b7(0x36b)][_0x37c3b7(0x46f)](_0x597f1c,_0x1a7ba7[_0x37c3b7(0x40d)],_0x1a7ba7[_0x37c3b7(0x3c6)],_0x550bd4[_0x37c3b7(0x1c6)],_0x4eba3c[_0x37c3b7(0x3f2)]);_0x4eba3c['iv']=_0x4a8556['iv'];var _0x40f288=_0x439dfa[_0x37c3b7(0x32f)]['call'](this,_0x1a7ba7,_0x550bd4,_0x4a8556[_0x37c3b7(0x1c2)],_0x4eba3c);return _0x40f288;}});}();}));}(Te)),Te[_0x2f8b73(0x42c)];}var ki=fe['exports'],it;function Hi(){return it||(it=0x1,function(_0xcc5cbd,_0x43d183){(function(_0x2b7a26,_0x5a5392,_0x4aee4c){var _0x18b607=_0x1aa6;_0xcc5cbd[_0x18b607(0x42c)]=_0x5a5392(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x5415f1){var _0x4ef620=_0x1aa6;return(function(){var _0x4489bb=_0x1aa6,_0x28f7ad=_0x5415f1,_0x397937=_0x28f7ad[_0x4489bb(0x193)],_0xca630f=_0x397937[_0x4489bb(0x2a4)],_0x5584c6=_0x28f7ad[_0x4489bb(0x3e4)],_0xc883b9=[],_0x4332c6=[],_0x1c7e4f=[],_0x839193=[],_0x363b80=[],_0x78c1e5=[],_0x327a54=[],_0x6c1fcc=[],_0x5b1a98=[],_0x2021a1=[];(function(){for(var _0x2aab5c=[],_0x116f6d=0x0;_0x116f6d<0x100;_0x116f6d++)_0x116f6d<0x80?_0x2aab5c[_0x116f6d]=_0x116f6d<<0x1:_0x2aab5c[_0x116f6d]=_0x116f6d<<0x1^0x11b;for(var _0x4f826f=0x0,_0x5a4ef9=0x0,_0x116f6d=0x0;_0x116f6d<0x100;_0x116f6d++){var _0x31700c=_0x5a4ef9^_0x5a4ef9<<0x1^_0x5a4ef9<<0x2^_0x5a4ef9<<0x3^_0x5a4ef9<<0x4;_0x31700c=_0x31700c>>>0x8^_0x31700c&0xff^0x63,_0xc883b9[_0x4f826f]=_0x31700c,_0x4332c6[_0x31700c]=_0x4f826f;var _0x1991dc=_0x2aab5c[_0x4f826f],_0x2fad04=_0x2aab5c[_0x1991dc],_0x4af824=_0x2aab5c[_0x2fad04],_0x12ba77=_0x2aab5c[_0x31700c]*0x101^_0x31700c*0x1010100;_0x1c7e4f[_0x4f826f]=_0x12ba77<<0x18|_0x12ba77>>>0x8,_0x839193[_0x4f826f]=_0x12ba77<<0x10|_0x12ba77>>>0x10,_0x363b80[_0x4f826f]=_0x12ba77<<0x8|_0x12ba77>>>0x18,_0x78c1e5[_0x4f826f]=_0x12ba77;var _0x12ba77=_0x4af824*0x1010101^_0x2fad04*0x10001^_0x1991dc*0x101^_0x4f826f*0x1010100;_0x327a54[_0x31700c]=_0x12ba77<<0x18|_0x12ba77>>>0x8,_0x6c1fcc[_0x31700c]=_0x12ba77<<0x10|_0x12ba77>>>0x10,_0x5b1a98[_0x31700c]=_0x12ba77<<0x8|_0x12ba77>>>0x18,_0x2021a1[_0x31700c]=_0x12ba77,_0x4f826f?(_0x4f826f=_0x1991dc^_0x2aab5c[_0x2aab5c[_0x2aab5c[_0x4af824^_0x1991dc]]],_0x5a4ef9^=_0x2aab5c[_0x2aab5c[_0x5a4ef9]]):_0x4f826f=_0x5a4ef9=0x1;}}());var _0x1bc5a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bc350=_0x5584c6[_0x4489bb(0x320)]=_0xca630f['extend']({'_doReset':function(){var _0x45a4b5=_0x4489bb,_0x4af7cd;if(!(this[_0x45a4b5(0x43b)]&&this[_0x45a4b5(0x48a)]===this[_0x45a4b5(0x220)])){for(var _0x4b860b=this[_0x45a4b5(0x48a)]=this['_key'],_0x7f3cd7=_0x4b860b['words'],_0x332604=_0x4b860b[_0x45a4b5(0x211)]/0x4,_0xac701=this['_nRounds']=_0x332604+0x6,_0x5f4a99=(_0xac701+0x1)*0x4,_0x354a1c=this['_keySchedule']=[],_0x564b87=0x0;_0x564b87<_0x5f4a99;_0x564b87++)_0x564b87<_0x332604?_0x354a1c[_0x564b87]=_0x7f3cd7[_0x564b87]:(_0x4af7cd=_0x354a1c[_0x564b87-0x1],_0x564b87%_0x332604?_0x332604>0x6&&_0x564b87%_0x332604==0x4&&(_0x4af7cd=_0xc883b9[_0x4af7cd>>>0x18]<<0x18|_0xc883b9[_0x4af7cd>>>0x10&0xff]<<0x10|_0xc883b9[_0x4af7cd>>>0x8&0xff]<<0x8|_0xc883b9[_0x4af7cd&0xff]):(_0x4af7cd=_0x4af7cd<<0x8|_0x4af7cd>>>0x18,_0x4af7cd=_0xc883b9[_0x4af7cd>>>0x18]<<0x18|_0xc883b9[_0x4af7cd>>>0x10&0xff]<<0x10|_0xc883b9[_0x4af7cd>>>0x8&0xff]<<0x8|_0xc883b9[_0x4af7cd&0xff],_0x4af7cd^=_0x1bc5a1[_0x564b87/_0x332604|0x0]<<0x18),_0x354a1c[_0x564b87]=_0x354a1c[_0x564b87-_0x332604]^_0x4af7cd);for(var _0x2d3520=this['_invKeySchedule']=[],_0x5398f7=0x0;_0x5398f7<_0x5f4a99;_0x5398f7++){var _0x564b87=_0x5f4a99-_0x5398f7;if(_0x5398f7%0x4)var _0x4af7cd=_0x354a1c[_0x564b87];else var _0x4af7cd=_0x354a1c[_0x564b87-0x4];_0x5398f7<0x4||_0x564b87<=0x4?_0x2d3520[_0x5398f7]=_0x4af7cd:_0x2d3520[_0x5398f7]=_0x327a54[_0xc883b9[_0x4af7cd>>>0x18]]^_0x6c1fcc[_0xc883b9[_0x4af7cd>>>0x10&0xff]]^_0x5b1a98[_0xc883b9[_0x4af7cd>>>0x8&0xff]]^_0x2021a1[_0xc883b9[_0x4af7cd&0xff]];}}},'encryptBlock':function(_0x305938,_0x2775ec){var _0x5bdc8f=_0x4489bb;this[_0x5bdc8f(0x2b5)](_0x305938,_0x2775ec,this[_0x5bdc8f(0x3aa)],_0x1c7e4f,_0x839193,_0x363b80,_0x78c1e5,_0xc883b9);},'decryptBlock':function(_0xfba91d,_0x4382fb){var _0x41968a=_0x4489bb,_0x15d5dd=_0xfba91d[_0x4382fb+0x1];_0xfba91d[_0x4382fb+0x1]=_0xfba91d[_0x4382fb+0x3],_0xfba91d[_0x4382fb+0x3]=_0x15d5dd,this[_0x41968a(0x2b5)](_0xfba91d,_0x4382fb,this[_0x41968a(0x3f9)],_0x327a54,_0x6c1fcc,_0x5b1a98,_0x2021a1,_0x4332c6);var _0x15d5dd=_0xfba91d[_0x4382fb+0x1];_0xfba91d[_0x4382fb+0x1]=_0xfba91d[_0x4382fb+0x3],_0xfba91d[_0x4382fb+0x3]=_0x15d5dd;},'_doCryptBlock':function(_0x1f78d2,_0xda42a9,_0x2984b4,_0x774d13,_0xaadd46,_0x95ddfe,_0x562744,_0x5553fd){var _0x3232bc=_0x4489bb;for(var _0x33fcff=this[_0x3232bc(0x43b)],_0x10d3e8=_0x1f78d2[_0xda42a9]^_0x2984b4[0x0],_0x2d0295=_0x1f78d2[_0xda42a9+0x1]^_0x2984b4[0x1],_0x4ae4b5=_0x1f78d2[_0xda42a9+0x2]^_0x2984b4[0x2],_0x3d54a5=_0x1f78d2[_0xda42a9+0x3]^_0x2984b4[0x3],_0x22bb80=0x4,_0x5e0560=0x1;_0x5e0560<_0x33fcff;_0x5e0560++){var _0x332a44=_0x774d13[_0x10d3e8>>>0x18]^_0xaadd46[_0x2d0295>>>0x10&0xff]^_0x95ddfe[_0x4ae4b5>>>0x8&0xff]^_0x562744[_0x3d54a5&0xff]^_0x2984b4[_0x22bb80++],_0x50d434=_0x774d13[_0x2d0295>>>0x18]^_0xaadd46[_0x4ae4b5>>>0x10&0xff]^_0x95ddfe[_0x3d54a5>>>0x8&0xff]^_0x562744[_0x10d3e8&0xff]^_0x2984b4[_0x22bb80++],_0x506078=_0x774d13[_0x4ae4b5>>>0x18]^_0xaadd46[_0x3d54a5>>>0x10&0xff]^_0x95ddfe[_0x10d3e8>>>0x8&0xff]^_0x562744[_0x2d0295&0xff]^_0x2984b4[_0x22bb80++],_0x698b26=_0x774d13[_0x3d54a5>>>0x18]^_0xaadd46[_0x10d3e8>>>0x10&0xff]^_0x95ddfe[_0x2d0295>>>0x8&0xff]^_0x562744[_0x4ae4b5&0xff]^_0x2984b4[_0x22bb80++];_0x10d3e8=_0x332a44,_0x2d0295=_0x50d434,_0x4ae4b5=_0x506078,_0x3d54a5=_0x698b26;}var _0x332a44=(_0x5553fd[_0x10d3e8>>>0x18]<<0x18|_0x5553fd[_0x2d0295>>>0x10&0xff]<<0x10|_0x5553fd[_0x4ae4b5>>>0x8&0xff]<<0x8|_0x5553fd[_0x3d54a5&0xff])^_0x2984b4[_0x22bb80++],_0x50d434=(_0x5553fd[_0x2d0295>>>0x18]<<0x18|_0x5553fd[_0x4ae4b5>>>0x10&0xff]<<0x10|_0x5553fd[_0x3d54a5>>>0x8&0xff]<<0x8|_0x5553fd[_0x10d3e8&0xff])^_0x2984b4[_0x22bb80++],_0x506078=(_0x5553fd[_0x4ae4b5>>>0x18]<<0x18|_0x5553fd[_0x3d54a5>>>0x10&0xff]<<0x10|_0x5553fd[_0x10d3e8>>>0x8&0xff]<<0x8|_0x5553fd[_0x2d0295&0xff])^_0x2984b4[_0x22bb80++],_0x698b26=(_0x5553fd[_0x3d54a5>>>0x18]<<0x18|_0x5553fd[_0x10d3e8>>>0x10&0xff]<<0x10|_0x5553fd[_0x2d0295>>>0x8&0xff]<<0x8|_0x5553fd[_0x4ae4b5&0xff])^_0x2984b4[_0x22bb80++];_0x1f78d2[_0xda42a9]=_0x332a44,_0x1f78d2[_0xda42a9+0x1]=_0x50d434,_0x1f78d2[_0xda42a9+0x2]=_0x506078,_0x1f78d2[_0xda42a9+0x3]=_0x698b26;},'keySize':0x100/0x20});_0x28f7ad['AES']=_0xca630f[_0x4489bb(0x2ff)](_0x4bc350);}()),_0x5415f1[_0x4ef620(0x320)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x1c66a7(0x42c)],rt;function Vi(){var _0x74582a=_0x1c66a7;return rt||(rt=0x1,function(_0xd1bd5f,_0x1009c0){(function(_0x3e730c,_0x538de3){var _0x2ff28a=_0x1aa6;_0xd1bd5f[_0x2ff28a(0x42c)]=_0x538de3(Q());}(Fi,function(_0x54eec3){var _0x4152d9=_0x1aa6;return _0x54eec3[_0x4152d9(0x416)][_0x4152d9(0x166)];}));}(be)),be[_0x74582a(0x42c)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){var _0x198c1a=_0x1c66a7;return st||(st=0x1,function(_0x22dcec,_0x252503){(function(_0x575453,_0x501e05){_0x22dcec['exports']=_0x501e05(Q());}(Ki,function(_0x8d638d){var _0x172f28=_0x1aa6;return(function(){var _0x42dd00=_0x1aa6;if(typeof ArrayBuffer==_0x42dd00(0x36a)){var _0x1b6c9b=_0x8d638d,_0x1c76d8=_0x1b6c9b[_0x42dd00(0x193)],_0x2874f9=_0x1c76d8[_0x42dd00(0x3da)],_0x131136=_0x2874f9[_0x42dd00(0x145)],_0xbf9f0f=_0x2874f9[_0x42dd00(0x145)]=function(_0x2094a8){var _0x4b66a1=_0x42dd00;if(_0x2094a8 instanceof ArrayBuffer&&(_0x2094a8=new Uint8Array(_0x2094a8)),(_0x2094a8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2094a8 instanceof Uint8ClampedArray||_0x2094a8 instanceof Int16Array||_0x2094a8 instanceof Uint16Array||_0x2094a8 instanceof Int32Array||_0x2094a8 instanceof Uint32Array||_0x2094a8 instanceof Float32Array||_0x2094a8 instanceof Float64Array)&&(_0x2094a8=new Uint8Array(_0x2094a8[_0x4b66a1(0x471)],_0x2094a8['byteOffset'],_0x2094a8[_0x4b66a1(0x1de)])),_0x2094a8 instanceof Uint8Array){for(var _0x2a9325=_0x2094a8[_0x4b66a1(0x1de)],_0x58a44d=[],_0x583a7b=0x0;_0x583a7b<_0x2a9325;_0x583a7b++)_0x58a44d[_0x583a7b>>>0x2]|=_0x2094a8[_0x583a7b]<<0x18-_0x583a7b%0x4*0x8;_0x131136[_0x4b66a1(0x200)](this,_0x58a44d,_0x2a9325);}else _0x131136[_0x4b66a1(0x18c)](this,arguments);};_0xbf9f0f[_0x42dd00(0x360)]=_0x2874f9;}}()),_0x8d638d[_0x172f28(0x193)][_0x172f28(0x3da)];}));}(Re)),Re[_0x198c1a(0x42c)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x1c66a7(0x42c)],ot;function Xi(){var _0x396054=_0x1c66a7;return ot||(ot=0x1,function(_0x20eeaf,_0x598640){(function(_0x1afc4c,_0x202229,_0x2ec85c){var _0x54beb3=_0x1aa6;_0x20eeaf[_0x54beb3(0x42c)]=_0x202229(Q(),Ut());}(Ji,function(_0x3a0bd5){var _0x5b9ec2=_0x1aa6;return _0x3a0bd5[_0x5b9ec2(0x36c)][_0x5b9ec2(0x275)]={'pad':function(){},'unpad':function(){}},_0x3a0bd5[_0x5b9ec2(0x36c)][_0x5b9ec2(0x275)];}));}(Oe)),Oe[_0x396054(0x42c)];}var Zi=Xi();const Qi=ve(Zi);function en(_0xcb16fb,_0x1ed8ba){var _0x256554=_0x1c66a7;const _0x36ed71=_0x1ed8ba-_0xcb16fb[_0x256554(0x1c0)]%_0x1ed8ba,_0x209616=String['fromCharCode'](_0x36ed71)[_0x256554(0x337)](_0x36ed71);return _0xcb16fb+_0x209616;}function tn(_0x5ad104,_0x8f294b){var _0x872c71=_0x1c66a7;const _0x546c68=zi[_0x872c71(0x3ee)](0x10),_0x48bafa=en(_0x5ad104,0x10),_0x51bad2=ji[_0x872c71(0x327)](Gi[_0x872c71(0x314)](_0x48bafa),nt[_0x872c71(0x314)](_0x8f294b),{'iv':_0x546c68,'padding':Qi});return _0x546c68[_0x872c71(0x1b5)](_0x51bad2['ciphertext'])['toString'](nt);}function nn(){var _0x4d6c36=_0x1c66a7;const _0xcc9bd4=wt['getGlobalObject']()[_0x4d6c36(0x41a)];if(_0xcc9bd4){const _0x58cbc2={'time':Math[_0x4d6c36(0x2da)](Date[_0x4d6c36(0x331)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x4d6c36(0x32c)](_0x58cbc2),_0xcc9bd4);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x49d97b,_0x575332,_0x5da4a1,_0x533a33)=>{var _0x19baad=_0x1c66a7;for(var _0x4b00ed=_0x533a33>0x1?void 0x0:_0x533a33?rn(_0x575332,_0x5da4a1):_0x575332,_0x315c75=_0x49d97b[_0x19baad(0x1c0)]-0x1,_0x482456;_0x315c75>=0x0;_0x315c75--)(_0x482456=_0x49d97b[_0x315c75])&&(_0x4b00ed=_0x482456(_0x4b00ed)||_0x4b00ed);return _0x4b00ed;},on=(_0x5bc151,_0x352fbb)=>(_0x12b590,_0x565596)=>_0x352fbb(_0x12b590,_0x565596,_0x5bc151);let Ne=class{constructor(_0x34bbc4){var _0x5dd281=_0x1c66a7;this[_0x5dd281(0x321)]=_0x34bbc4,this[_0x5dd281(0x44b)]();}['_initRequestHeader'](){var _0x214153=_0x1c66a7;this[_0x214153(0x321)][_0x214153(0x39a)]({'interceptor':(_0x1533bb,_0x282aed)=>{var _0x521804=_0x214153;const _0x23c18f=_0x1533bb['headers'],_0x188d91=nn();return _0x188d91&&_0x23c18f[_0x521804(0x352)]('x-univer-host',_0x188d91),_0x282aed(_0x1533bb);}});}};Ne=sn([on(0x0,a[_0x1c66a7(0x1a6)](Y[_0x1c66a7(0x322)]))],Ne);var an=Object[_0x1c66a7(0x18b)],cn=(_0x413a46,_0x129a6f,_0x168154,_0x3b715f)=>{var _0x1f2647=_0x1c66a7;for(var _0x42ed9b=_0x3b715f>0x1?void 0x0:_0x3b715f?an(_0x129a6f,_0x168154):_0x129a6f,_0x5237e8=_0x413a46[_0x1f2647(0x1c0)]-0x1,_0x918981;_0x5237e8>=0x0;_0x5237e8--)(_0x918981=_0x413a46[_0x5237e8])&&(_0x42ed9b=_0x918981(_0x42ed9b)||_0x42ed9b);return _0x42ed9b;},we=(_0x2e2418,_0x4d0b97)=>(_0x52c2e7,_0xe910a2)=>_0x4d0b97(_0x52c2e7,_0xe910a2,_0x2e2418);exports[_0x1c66a7(0x305)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0x2c457d,_0x136f1d,_0x28789f){var _0x453d13=_0x1c66a7;super(),A(this,_0x453d13(0x415),new $[(_0x453d13(0x1bf))](null)),A(this,_0x453d13(0x1bc),this[_0x453d13(0x415)][_0x453d13(0x233)]()),(this['_logService']=_0x2c457d,this[_0x453d13(0x2a7)]=_0x136f1d,this['_localCacheService']=_0x28789f);}async[_0x1c66a7(0x1b2)](_0x20a387,_0x25b4cf,_0x349ca7){var _0x45c232=_0x1c66a7;this[_0x45c232(0x415)][_0x45c232(0x18f)]({'unitId':_0x20a387,'type':_0x25b4cf});let _0x27df04=null;switch(_0x25b4cf){case J[_0x45c232(0x1dc)]:{_0x27df04=await this[_0x45c232(0x2a7)]['loadSheet'](_0x20a387,_0x349ca7);break;}case J[_0x45c232(0x455)]:{_0x27df04=await this['_snapshotService'][_0x45c232(0x369)](_0x20a387,_0x349ca7);break;}default:{this[_0x45c232(0x309)][_0x45c232(0x3b6)](_0x45c232(0x1cb),_0x45c232(0x4ba));break;}}return _0x27df04;}async[_0x1c66a7(0x4a9)](_0x20b519,_0x1ba6e2,_0xf3dbb0){var _0x1590c6=_0x1c66a7,_0x1cdd03;this[_0x1590c6(0x415)][_0x1590c6(0x18f)]({'unitId':_0x20b519,'type':_0x1ba6e2,'subUnitId':_0xf3dbb0});let _0x3707dd=0x0;const _0x61b574=await((_0x1cdd03=this[_0x1590c6(0x24b)])==null?void 0x0:_0x1cdd03[_0x1590c6(0x3b9)](_0x20b519));return _0x61b574&&(_0x61b574['awaitingChangeset']||_0x61b574[_0x1590c6(0x17b)][_0x1590c6(0x1c0)]!==0x0)&&(_0x3707dd=_0x61b574[_0x1590c6(0x20a)]),_0x3707dd===0x0&&this['_logService']['debug'](_0x1590c6(0x1cb),_0x1590c6(0x168)),this[_0x1590c6(0x1b2)](_0x20b519,_0x1ba6e2,_0x3707dd);}},exports[_0x1c66a7(0x305)]=cn([we(0x0,a[_0x1c66a7(0x2c8)]),we(0x1,a['Inject'](I[_0x1c66a7(0x313)])),we(0x2,a['Optional'](q))],exports['DataLoaderService']);var hn=Object['getOwnPropertyDescriptor'],_n=(_0xea4af2,_0x567a8e,_0x4585d0,_0x5cb2a9)=>{var _0x5392cb=_0x1c66a7;for(var _0x477752=_0x5cb2a9>0x1?void 0x0:_0x5cb2a9?hn(_0x567a8e,_0x4585d0):_0x567a8e,_0x11f467=_0xea4af2[_0x5392cb(0x1c0)]-0x1,_0x2a5d7f;_0x11f467>=0x0;_0x11f467--)(_0x2a5d7f=_0xea4af2[_0x11f467])&&(_0x477752=_0x2a5d7f(_0x477752)||_0x477752);return _0x477752;},Le=(_0x14dc48,_0x2f7466)=>(_0x5d9a98,_0x4f18d6)=>_0x2f7466(_0x5d9a98,_0x4f18d6,_0x14dc48);const ln=[_0x1c66a7(0x3df),_0x1c66a7(0x28f),_0x1c66a7(0x251),_0x1c66a7(0x16f),'image/bmp'],un=0x5*0x400*0x400,dn=_0x1c66a7(0x4a7),vn=_0x1c66a7(0x1c5),Sn=_0x1c66a7(0x3bf),fn=_0x1c66a7(0x2fb);exports[_0x1c66a7(0x1be)]=class{constructor(_0x53e696,_0x3dd59a,_0x207cca){var _0x2ecfac=_0x1c66a7;A(this,_0x2ecfac(0x3dc),0x0),A(this,_0x2ecfac(0x199),new $[(_0x2ecfac(0x2bf))]()),A(this,_0x2ecfac(0x1e4),this[_0x2ecfac(0x199)]),A(this,_0x2ecfac(0x30c),new Map()),(this[_0x2ecfac(0x321)]=_0x53e696,this[_0x2ecfac(0x26d)]=_0x3dd59a,this[_0x2ecfac(0x204)]=_0x207cca);}['setWaitCount'](_0x3a605e){var _0x277f1c=_0x1c66a7;this[_0x277f1c(0x3dc)]=_0x3a605e,this[_0x277f1c(0x199)][_0x277f1c(0x18f)](_0x3a605e);}[_0x1c66a7(0x2e5)](_0x3b647a,_0xa707c4){var _0x498829=_0x1c66a7;if(_0xa707c4===z[_0x498829(0x391)]['BASE64']){const _0x4a1965=new Image();return _0x4a1965[_0x498829(0x315)]=_0x3b647a,_0x4a1965;}return this[_0x498829(0x30c)]['get'](_0x3b647a);}[_0x1c66a7(0x2f7)](_0x20f87d,_0x1003cd,_0x2f9a2b){var _0x273b3d=_0x1c66a7;_0x1003cd===z[_0x273b3d(0x391)][_0x273b3d(0x34e)]||_0x2f9a2b==null||this[_0x273b3d(0x30c)][_0x273b3d(0x352)](_0x20f87d,_0x2f9a2b);}async[_0x1c66a7(0x49b)](_0x189a60){var _0x2de455=_0x1c66a7;try{const _0x1407f1=this[_0x2de455(0x270)](this[_0x2de455(0x2c4)](),''+_0x189a60),_0x93706=(await this[_0x2de455(0x321)]['get'](_0x1407f1))[_0x2de455(0x343)];if(_0x93706['error']&&_0x93706['error'][_0x2de455(0x36d)]===gt['OK']){const _0x455634=new URL(_0x93706['url'],this[_0x2de455(0x4b1)]())[_0x2de455(0x21d)]();return Promise[_0x2de455(0x164)](_0x455634);}return Promise[_0x2de455(0x2f0)](_0x93706[_0x2de455(0x3b6)]);}catch(_0x5e4b79){return Promise[_0x2de455(0x2f0)](_0x5e4b79);}}async[_0x1c66a7(0x26b)](_0x2ed887){var _0x5efdfe=_0x1c66a7;let _0x354dae='';if(!ln[_0x5efdfe(0x252)](_0x2ed887[_0x5efdfe(0x231)]))return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x4b6)]));if(_0x2ed887['size']>un)return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x3e3)]));try{const _0x496884=new FormData();_0x496884[_0x5efdfe(0x2ab)](_0x5efdfe(0x4ab),_0x2ed887);const _0x71f7ce=this['_univerInstanceService'][_0x5efdfe(0x1af)](),_0x2fa59e=_0x71f7ce==null?void 0x0:_0x71f7ce['getUnitId']();if(!_0x2fa59e)throw new Error(_0x5efdfe(0x213));const _0x52d273=this['_getUploadFileURL']()+_0x5efdfe(0x3e2)+_0x2ed887['size']['toString']()+_0x5efdfe(0x185)+Et[_0x5efdfe(0x16a)]+_0x5efdfe(0x31b)+encodeURIComponent(_0x2fa59e),_0x3548f8={'body':_0x496884},_0x258db4=(await this[_0x5efdfe(0x321)][_0x5efdfe(0x301)](_0x52d273,_0x3548f8))['body'];if(typeof _0x258db4[_0x5efdfe(0x3c4)]!=_0x5efdfe(0x179))return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x386)]));_0x354dae=_0x258db4[_0x5efdfe(0x3c4)];}catch{return this['_decreaseWaiting'](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x386)]));}return new Promise((_0x13505b,_0x72e9db)=>{var _0x39a45b=_0x5efdfe;const _0x4ec23b=new FileReader();_0x4ec23b[_0x39a45b(0x26f)](_0x2ed887),_0x4ec23b[_0x39a45b(0x3a8)]=_0x38230f=>{var _0x42fd12=_0x39a45b,_0xf6b0ee;const _0x57b0c9=(_0xf6b0ee=_0x38230f[_0x42fd12(0x2c5)])==null?void 0x0:_0xf6b0ee['result'];if(_0x57b0c9==null){this[_0x42fd12(0x375)](),_0x72e9db(new Error(z['ImageUploadStatusType'][_0x42fd12(0x386)]));return;}const _0x593ecd=a['Tools'][_0x42fd12(0x2e9)](0x6);_0x13505b({'imageId':_0x593ecd,'imageSourceType':z[_0x42fd12(0x391)]['UUID'],'source':_0x354dae,'base64Cache':_0x57b0c9,'status':z[_0x42fd12(0x1a0)][_0x42fd12(0x40a)]}),this[_0x42fd12(0x375)]();};});}[_0x1c66a7(0x158)](){var _0x8937a0=_0x1c66a7,_0xfa8348,_0x43d415;const _0x205670=this[_0x8937a0(0x26d)]['getConfig'](dn),_0x731c96=this[_0x8937a0(0x26d)][_0x8937a0(0x3b7)](K);return(_0x43d415=(_0xfa8348=_0x731c96==null?void 0x0:_0x731c96[_0x8937a0(0x346)])!=null?_0xfa8348:_0x205670)!=null?_0x43d415:vn;}[_0x1c66a7(0x2c4)](){var _0x45e9d7=_0x1c66a7,_0x1f6914,_0x2e76eb;const _0x218dd4=this['_configService']['getConfig'](Sn),_0x2af4d9=this[_0x45e9d7(0x26d)]['getConfig'](K);return(_0x2e76eb=(_0x1f6914=_0x2af4d9==null?void 0x0:_0x2af4d9[_0x45e9d7(0x376)])!=null?_0x1f6914:_0x218dd4)!=null?_0x2e76eb:fn;}['_getDownloadEndpointURL'](){var _0xfdd9f6=_0x1c66a7,_0x4d47fc;const _0x4a5c6d=this[_0xfdd9f6(0x26d)]['getConfig'](K);return(_0x4d47fc=_0x4a5c6d==null?void 0x0:_0x4a5c6d[_0xfdd9f6(0x387)])!=null?_0x4d47fc:location[_0xfdd9f6(0x257)];}[_0x1c66a7(0x270)](_0xc315aa,_0x5be9cd){var _0x140562=_0x1c66a7;return _0xc315aa[_0x140562(0x47e)](_0x140562(0x49c),_0x5be9cd);}[_0x1c66a7(0x375)](){var _0x5629c7=_0x1c66a7;this[_0x5629c7(0x3dc)]-=0x1,this[_0x5629c7(0x199)][_0x5629c7(0x18f)](this[_0x5629c7(0x3dc)]);}},exports['CollaborationImageIoService']=_n([Le(0x0,a['Inject'](Y[_0x1c66a7(0x322)])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x2c7)]))],exports['CollaborationImageIoService']);var pn=Object[_0x1c66a7(0x18b)],In=(_0x5d53af,_0x3b0a87,_0x4e8784,_0x4b6724)=>{for(var _0x33e3dc=_0x4b6724>0x1?void 0x0:_0x4b6724?pn(_0x3b0a87,_0x4e8784):_0x3b0a87,_0x37dc35=_0x5d53af['length']-0x1,_0x4e6d14;_0x37dc35>=0x0;_0x37dc35--)(_0x4e6d14=_0x5d53af[_0x37dc35])&&(_0x33e3dc=_0x4e6d14(_0x33e3dc)||_0x33e3dc);return _0x33e3dc;},at=(_0x537032,_0x8a8ff7)=>(_0x171376,_0x3e27cc)=>_0x8a8ff7(_0x171376,_0x3e27cc,_0x537032);const gn=_0x1c66a7(0x3db);exports[_0x1c66a7(0x334)]=class{constructor(_0x526f08,_0x2460ac){var _0x1c7351=_0x1c66a7;this[_0x1c7351(0x26d)]=_0x526f08,this[_0x1c7351(0x450)]=_0x2460ac;}['_getAPIPrefixPath'](){var _0x4c8c39=_0x1c66a7,_0x5013ea,_0x17f62c;const _0x58a7ba=this[_0x4c8c39(0x26d)][_0x4c8c39(0x3b7)](Ve),_0x7e39e4=this[_0x4c8c39(0x26d)][_0x4c8c39(0x3b7)](K);return(_0x17f62c=(_0x5013ea=_0x7e39e4==null?void 0x0:_0x7e39e4[_0x4c8c39(0x3d4)])!=null?_0x5013ea:_0x58a7ba)!=null?_0x17f62c:gn;}async[_0x1c66a7(0x2d2)](_0xaa0e41){var _0x4651b7=_0x1c66a7;const _0x13d3b2=this['_getAPIPrefixPath']()+_0x4651b7(0x3f4);return{'list':[{'title':_0x4651b7(0x48f),'mentions':(await this[_0x4651b7(0x450)][_0x4651b7(0x2ba)](_0x13d3b2,{'params':{'objectID':_0xaa0e41[_0x4651b7(0x250)],'unitID':_0xaa0e41[_0x4651b7(0x250)]}}))['body'][_0x4651b7(0x395)]['map'](_0x24a8ce=>({'objectId':_0x24a8ce['id'],'name':_0x24a8ce[_0x4651b7(0x18a)][_0x4651b7(0x1b8)],'metadata':{'icon':_0x24a8ce[_0x4651b7(0x18a)]['avatar']},'label':_0x24a8ce['subject'][_0x4651b7(0x1b8)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x4651b7(0x43c)][_0x4651b7(0x2d5)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x1c66a7(0x1a6)](a['IConfigService'])),at(0x1,a['Inject'](Y['HTTPService']))],exports[_0x1c66a7(0x334)]);var En=Object['getOwnPropertyDescriptor'],mn=(_0x49693d,_0x1789cc,_0x1e1956,_0x3f163a)=>{var _0x251c41=_0x1c66a7;for(var _0x590324=_0x3f163a>0x1?void 0x0:_0x3f163a?En(_0x1789cc,_0x1e1956):_0x1789cc,_0x3aab93=_0x49693d[_0x251c41(0x1c0)]-0x1,_0x4ddfc4;_0x3aab93>=0x0;_0x3aab93--)(_0x4ddfc4=_0x49693d[_0x3aab93])&&(_0x590324=_0x4ddfc4(_0x590324)||_0x590324);return _0x590324;},le=(_0x31a5e9,_0x59e880)=>(_0x1e21a1,_0x4d0489)=>_0x59e880(_0x1e21a1,_0x4d0489,_0x31a5e9);let Ue=class extends a[_0x1c66a7(0x19b)]{constructor(_0x470272,_0x2fad9c,_0x83efd9,_0x3c021f,_0x1aee3e){var _0x238361=_0x1c66a7;super(),this[_0x238361(0x2cf)]=_0x470272,this['_univerInstanceService']=_0x2fad9c,this[_0x238361(0x1c3)]=_0x83efd9,this[_0x238361(0x30d)]=_0x3c021f,this[_0x238361(0x459)]=_0x1aee3e,this[_0x238361(0x317)](),this[_0x238361(0x2e2)]();}['_initCloseConn'](){var _0x4aa0b9=_0x1c66a7;const _0x496a71=async _0x5d99cd=>{var _0x536157=_0x1aa6;(await this[_0x536157(0x30d)][_0x536157(0x345)](_0x5d99cd))[_0x536157(0x1e5)]['pipe'](V[_0x536157(0x411)](_0x156607=>_0x156607[_0x536157(0x21a)]===I['CollaborationEvent'][_0x536157(0x1d9)]),V['takeUntil'](this[_0x536157(0x3a4)]))[_0x536157(0x400)](_0x57621a=>{var _0x1a5fd5=_0x536157;const _0x10fc1c=_0x57621a,{reason:_0x5219a7}=_0x10fc1c[_0x1a5fd5(0x3a5)];this['_collaborationUIEventService'][_0x1a5fd5(0x2c0)]({'id':Z[_0x1a5fd5(0x2d7)],'data':_0x5219a7}),this[_0x1a5fd5(0x1c3)]['updatePermissionPoint'](new X[(_0x1a5fd5(0x3e6))](_0x5d99cd)['id'],!0x1),this[_0x1a5fd5(0x30d)][_0x1a5fd5(0x34f)](_0x5d99cd);});};$[_0x4aa0b9(0x207)](this[_0x4aa0b9(0x204)][_0x4aa0b9(0x408)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x4aa0b9(0x204)][_0x4aa0b9(0x408)](a[_0x4aa0b9(0x23d)]['UNIVER_DOC']))['pipe'](V['map'](_0x2d50e1=>_0x2d50e1[_0x4aa0b9(0x495)]()),V[_0x4aa0b9(0x411)](_0x239449=>!a[_0x4aa0b9(0x226)](_0x239449)),V[_0x4aa0b9(0x22f)](this[_0x4aa0b9(0x3a4)]))[_0x4aa0b9(0x400)](_0x33cc4b=>{_0x496a71(_0x33cc4b);});}[_0x1c66a7(0x317)](){var _0x34ac59=_0x1c66a7;const _0x3c72ee=async _0x4cce79=>{var _0xa44ac7=_0x1aa6;const _0x502a58=await this[_0xa44ac7(0x30d)][_0xa44ac7(0x345)](_0x4cce79),_0x2c61a3=this[_0xa44ac7(0x2cf)][_0xa44ac7(0x2ba)](X[_0xa44ac7(0x230)]);_0x502a58[_0xa44ac7(0x1e5)][_0xa44ac7(0x1a3)](V[_0xa44ac7(0x411)](_0x530ce4=>_0x530ce4[_0xa44ac7(0x21a)]===I['CollaborationEvent'][_0xa44ac7(0x48e)]),V['takeUntil'](this['dispose$']))[_0xa44ac7(0x400)](_0x63e4de=>{var _0x56584c=_0xa44ac7;const _0x3befb1=_0x63e4de,{objectId:_0x41e3fd}=_0x3befb1['data'];_0x41e3fd===_0x4cce79?_0x2c61a3[_0x56584c(0x338)](_0x4cce79):_0x2c61a3[_0x56584c(0x1f1)](_0x4cce79,_0x41e3fd);});};$[_0x34ac59(0x207)](this[_0x34ac59(0x204)]['getTypeOfUnitAdded$'](a[_0x34ac59(0x23d)][_0x34ac59(0x1dc)]))[_0x34ac59(0x1a3)](V[_0x34ac59(0x3a1)](_0x4c4e04=>_0x4c4e04[_0x34ac59(0x495)]()),V['filter'](_0x22e28e=>!a[_0x34ac59(0x226)](_0x22e28e)),V[_0x34ac59(0x22f)](this['dispose$']))[_0x34ac59(0x400)](_0x1fbc2a=>{_0x3c72ee(_0x1fbc2a);});}};Ue=mn([le(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),le(0x1,a[_0x1c66a7(0x2c7)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x263)])),le(0x4,a[_0x1c66a7(0x1a6)](ee))],Ue);var Cn=Object[_0x1c66a7(0x18b)],Tn=(_0x79c630,_0x73815f,_0xd70f84,_0x20aecc)=>{for(var _0x5c162f=_0x20aecc>0x1?void 0x0:_0x20aecc?Cn(_0x73815f,_0xd70f84):_0x73815f,_0x35240a=_0x79c630['length']-0x1,_0x552608;_0x35240a>=0x0;_0x35240a--)(_0x552608=_0x79c630[_0x35240a])&&(_0x5c162f=_0x552608(_0x5c162f)||_0x5c162f);return _0x5c162f;},ct=(_0x2d19be,_0x14b7e4)=>(_0x2249e2,_0x5e5d2b)=>_0x14b7e4(_0x2249e2,_0x5e5d2b,_0x2d19be);exports['SnapshotServerOverHTTPService']=class{constructor(_0x1d8db9,_0x42ef2e){var _0x4f08c9=_0x1c66a7;this[_0x4f08c9(0x26d)]=_0x1d8db9,this['_httpService']=_0x42ef2e;}async[_0x1c66a7(0x445)](_0x1208f9,_0x48af11){var _0x470aff=_0x1c66a7,_0x3ef2a2;const {unitID:_0x5332c8,type:_0x2ede73,revision:_0x511dbb=0x0}=_0x48af11,_0x166389=this[_0x470aff(0x2f4)]()+'/'+_0x2ede73+_0x470aff(0x167)+_0x5332c8+_0x470aff(0x29f)+_0x511dbb,_0x5718a7=(await this['_httpService'][_0x470aff(0x2ba)](_0x166389))[_0x470aff(0x343)],_0x490e05=(_0x3ef2a2=_0x5718a7[_0x470aff(0x393)])==null?void 0x0:_0x3ef2a2[_0x470aff(0x1f5)];if(_0x490e05){const _0xfb761f=_0x490e05==null?void 0x0:_0x490e05[_0x470aff(0x27e)],_0x3bf57d=I['textEncoder'][_0x470aff(0x323)](I[_0x470aff(0x487)](_0xfb761f));_0x490e05[_0x470aff(0x27e)]=_0x3bf57d,Object['entries'](_0x490e05[_0x470aff(0x341)])['forEach'](([,_0x3df431])=>{var _0xc66abc=_0x470aff;const _0x354f3c=_0x3df431[_0xc66abc(0x27e)],_0xa8ee49=I[_0xc66abc(0x1e7)][_0xc66abc(0x323)](I[_0xc66abc(0x487)](_0x354f3c));_0x3df431['originalMeta']=_0xa8ee49;});}return _0x5718a7;}async['getSheetBlock'](_0x115837,_0x4fe5df){var _0x3336c5=_0x1c66a7;const {unitID:_0x4d7626,type:_0x4112db,blockID:_0x3d3d80}=_0x4fe5df,_0x1a6ee5=this[_0x3336c5(0x340)]()+'/'+_0x4112db+_0x3336c5(0x167)+_0x4d7626+_0x3336c5(0x4b7)+_0x3d3d80;return(await this[_0x3336c5(0x321)][_0x3336c5(0x2ba)](_0x1a6ee5))[_0x3336c5(0x343)];}async[_0x1c66a7(0x18d)](_0x3710c0,_0xd3e6b5){var _0x39f4d5=_0x1c66a7;const {unitID:_0xeaf184,type:_0x2b0ca7,blockID:_0x4dca1f}=_0xd3e6b5,_0x1a2036=this[_0x39f4d5(0x340)]()+_0x39f4d5(0x4b7)+_0x2b0ca7+_0x39f4d5(0x167)+_0xeaf184+_0x39f4d5(0x4b7)+_0x4dca1f;return(await this[_0x39f4d5(0x321)]['get'](_0x1a2036))[_0x39f4d5(0x343)];}async[_0x1c66a7(0x466)](_0x4f6fc3,_0x2da8e3){var _0x454ae0=_0x1c66a7;const {unitID:_0x515bf4,type:_0x4e1d6a,from:_0x42c3c7,to:_0x3e8f72}=_0x2da8e3,_0xa61b11=this['_getAPIPrefix']()+'/'+_0x4e1d6a+_0x454ae0(0x167)+_0x515bf4+'/fetchmissing?from='+_0x42c3c7+_0x454ae0(0x3fc)+_0x3e8f72;return(await this[_0x454ae0(0x321)][_0x454ae0(0x2ba)](_0xa61b11))['body'];}[_0x1c66a7(0x2f4)](){var _0x4d8f5f=_0x1c66a7,_0x60c37;return(_0x60c37=this[_0x4d8f5f(0x26d)][_0x4d8f5f(0x3b7)](lt))!=null?_0x60c37:this['_getAPIPrefix']();}[_0x1c66a7(0x340)](){var _0x37ab30=_0x1c66a7,_0xc787f3,_0x59aece;const _0x573529=this[_0x37ab30(0x26d)]['getConfig'](_t),_0x340fa0=this[_0x37ab30(0x26d)][_0x37ab30(0x3b7)](K);return(_0x59aece=(_0xc787f3=_0x340fa0==null?void 0x0:_0x340fa0[_0x37ab30(0x373)])!=null?_0xc787f3:_0x573529)!=null?_0x59aece:Lt;}async[_0x1c66a7(0x2db)](_0x2aba66,_0x350c21){var _0x4b493d=_0x1c66a7;const _0x4668e0=_0x4b493d(0x20b)+_0x350c21[_0x4b493d(0x231)]+_0x4b493d(0x167)+_0x350c21[_0x4b493d(0x329)]+_0x4b493d(0x19d);return(await this['_httpService'][_0x4b493d(0x2ba)](_0x4668e0,{'params':{'resourceId':JSON['stringify'](_0x350c21['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x36fe86=_0x1c66a7;throw new Error(_0x36fe86(0x468));}[_0x1c66a7(0x1ad)](){var _0xf22d8c=_0x1c66a7;throw new Error(_0xf22d8c(0x468));}['saveSheetBlock'](){var _0x4c8924=_0x1c66a7;throw new Error(_0x4c8924(0x468));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1c66a7(0x420)](){var _0x1d6090=_0x1c66a7;throw new Error(_0x1d6090(0x468));}['getLatestCsReqIdBySid'](){var _0x297171=_0x1c66a7;throw new Error(_0x297171(0x468));}},exports[_0x1c66a7(0x39f)]=Tn([ct(0x0,a[_0x1c66a7(0x33a)]),ct(0x1,a['Inject'](Y[_0x1c66a7(0x322)]))],exports[_0x1c66a7(0x39f)]);var bn=Object[_0x1c66a7(0x18b)],Rn=(_0xd011d,_0x35d808,_0x370cce,_0x2ba3c3)=>{for(var _0x2f7502=_0x2ba3c3>0x1?void 0x0:_0x2ba3c3?bn(_0x35d808,_0x370cce):_0x35d808,_0x56a25c=_0xd011d['length']-0x1,_0x110a69;_0x56a25c>=0x0;_0x56a25c--)(_0x110a69=_0xd011d[_0x56a25c])&&(_0x2f7502=_0x110a69(_0x2f7502)||_0x2f7502);return _0x2f7502;},ue=(_0x520708,_0x3a4b7e)=>(_0x16af7b,_0x4695df)=>_0x3a4b7e(_0x16af7b,_0x4695df,_0x520708);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x1b1f3d,_0x20050d,_0x198778,_0x15e1da,_0x5f06c3){var _0x4c201f=_0x1c66a7;super(_0x1b1f3d,_0x20050d,_0x198778),this[_0x4c201f(0x225)]=_0x15e1da,this[_0x4c201f(0x309)]=_0x5f06c3;}[_0x1c66a7(0x2ac)](_0x15c861,_0x202bd4){var _0x265e61=_0x1c66a7;const _0x436a75=this[_0x265e61(0x36e)](_0x15c861);if(_0x436a75)try{const _0x53d256=this[_0x265e61(0x4a0)](_0x436a75,_0x202bd4);this[_0x265e61(0x194)](_0x15c861,_0x53d256);}catch(_0x332e8e){this[_0x265e61(0x309)]['error'](_0x265e61(0x206),_0x332e8e),this[_0x265e61(0x140)](_0x15c861);}const _0x26794b=this[_0x265e61(0x1cf)](_0x15c861);if(_0x26794b)try{const _0x3685e2=this['_transformStack'](_0x26794b,_0x202bd4);this[_0x265e61(0x21b)](_0x15c861,_0x3685e2);}catch(_0x2b3844){this['_logService'][_0x265e61(0x3b6)](_0x2b3844),this[_0x265e61(0x443)](_0x15c861);}}[_0x1c66a7(0x140)](_0x28457e){var _0x5e69b4=_0x1c66a7;const _0x4446b7=this['_getUndoStack'](_0x28457e);_0x4446b7&&(_0x4446b7[_0x5e69b4(0x1c0)]=0x0,this[_0x5e69b4(0x214)]());}[_0x1c66a7(0x443)](_0xb04e0b){var _0x3a33dd=_0x1c66a7;const _0x5dafdd=this[_0x3a33dd(0x1cf)](_0xb04e0b);_0x5dafdd&&(_0x5dafdd['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x645e74,_0x32f3e3){var _0x355541=_0x1c66a7;this[_0x355541(0x19e)][_0x355541(0x352)](_0x645e74,_0x32f3e3),this[_0x355541(0x214)]();}[_0x1c66a7(0x21b)](_0x3e8074,_0x1fe19f){var _0x143a76=_0x1c66a7;this[_0x143a76(0x28d)]['set'](_0x3e8074,_0x1fe19f),this[_0x143a76(0x214)]();}[_0x1c66a7(0x4a0)](_0xa137e5,_0x364ad6){var _0x52e8d7=_0x1c66a7;const _0x15d033=[];let _0x12871e=_0x364ad6,_0x203e82=_0x364ad6;for(let _0x3a1aab=_0xa137e5['length']-0x1;_0x3a1aab>=0x0;_0x3a1aab--){const {unitID:_0x5b8f68,undoMutations:_0x1dc511,redoMutations:_0x37cbb0}=_0xa137e5[_0x3a1aab],_0x52f7f1=this[_0x52e8d7(0x225)][_0x52e8d7(0x239)](_0x12871e,_0x1dc511),_0x175afe=this[_0x52e8d7(0x225)]['transformMutationsWithChangeset'](_0x203e82,_0x37cbb0);if(I['isTransformMutationsWithChangesetFailure'](_0x52f7f1)||I['isTransformMutationsWithChangesetFailure'](_0x175afe)){this['_logService'][_0x52e8d7(0x3b6)](_0x52e8d7(0x206),_0x52e8d7(0x49a),_0x52f7f1,_0x175afe);break;}_0x12871e=_0x52f7f1['c1Prime'],_0x203e82=_0x175afe[_0x52e8d7(0x2ef)],_0x15d033['push']({'unitID':_0x5b8f68,'undoMutations':_0x52f7f1[_0x52e8d7(0x428)],'redoMutations':_0x175afe[_0x52e8d7(0x428)]});}return _0x15d033['reverse']();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x1c66a7(0x2c7)]),ue(0x1,a[_0x1c66a7(0x31c)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x1c66a7(0x15f)]),ue(0x4,a[_0x1c66a7(0x2c8)])],exports[_0x1c66a7(0x390)]);var On=Object['defineProperty'],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x1d2241,_0xe82a2f,_0x31a2fa)=>_0xe82a2f in _0x1d2241?On(_0x1d2241,_0xe82a2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31a2fa}):_0x1d2241[_0xe82a2f]=_0x31a2fa,Un=(_0x174047,_0x2cad89,_0x279b0b,_0x257813)=>{var _0x4073d9=_0x1c66a7;for(var _0x4b256a=_0x257813>0x1?void 0x0:_0x257813?yn(_0x2cad89,_0x279b0b):_0x2cad89,_0x1b5cab=_0x174047[_0x4073d9(0x1c0)]-0x1,_0x7f396c;_0x1b5cab>=0x0;_0x1b5cab--)(_0x7f396c=_0x174047[_0x1b5cab])&&(_0x4b256a=_0x7f396c(_0x4b256a)||_0x4b256a);return _0x4b256a;},Me=(_0x204009,_0x4139c2)=>(_0x420896,_0x254f48)=>_0x4139c2(_0x420896,_0x254f48,_0x204009),Dn=(_0x30818a,_0xd8cfaf,_0x3df0aa)=>Nn(_0x30818a,_0xd8cfaf+'',_0x3df0aa);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x1c66a7(0x406)]=class extends a[_0x1c66a7(0x1bd)]{constructor(_0x503283,_0x3b342a,_0x36dfeb,_0x49d094){var _0x1082f6=_0x1c66a7;super(),A(this,'_config'),(this['_logService']=_0x3b342a,this[_0x1082f6(0x2cf)]=_0x36dfeb,this[_0x1082f6(0x26d)]=_0x49d094);const {..._0x43d0de}=a[_0x1082f6(0x207)]({},Yt,_0x503283);if(!_0x43d0de[_0x1082f6(0x474)])throw new Error(_0x1082f6(0x463));this[_0x1082f6(0x418)]=_0x43d0de,this[_0x1082f6(0x26d)][_0x1082f6(0x4a1)](K,_0x43d0de);}[_0x1c66a7(0x1a2)](){var _0x1e69d0=_0x1c66a7;this[_0x1e69d0(0x264)](),this[_0x1e69d0(0x2b1)]();}[_0x1c66a7(0x264)](){var _0x2f1e0b=_0x1c66a7,_0xf9100c,_0x2e2c21;this[_0x2f1e0b(0x2cf)]['has'](a['IUndoRedoService'])&&this[_0x2f1e0b(0x309)][_0x2f1e0b(0x3b6)]('[UniverCollaborationClientPlugin]',_0x2f1e0b(0x276));const _0x5c45f8=a[_0x2f1e0b(0x1a1)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2f1e0b(0x263)]],[exports['MemberService']],[exports[_0x2f1e0b(0x43a)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x2f1e0b(0x305)]],[He,{'useClass':this[_0x2f1e0b(0x418)][_0x2f1e0b(0x474)]}],[I[_0x2f1e0b(0x3fe)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x2f1e0b(0x20e)]}],[z[_0x2f1e0b(0x493)],{'useClass':exports[_0x2f1e0b(0x1be)]}],[a[_0x2f1e0b(0x277)],{'useClass':exports[_0x2f1e0b(0x334)]}],[exports[_0x2f1e0b(0x29a)]],[xe]],(_0xf9100c=this[_0x2f1e0b(0x418)])==null?void 0x0:_0xf9100c['override']);if(!((_0x2e2c21=this[_0x2f1e0b(0x418)])!=null&&_0x2e2c21['enableSingleActiveInstanceLock'])){const _0x394f9d=_0x5c45f8[_0x2f1e0b(0x2fc)](([_0x62e527])=>_0x62e527===de);_0x394f9d!==-0x1&&_0x5c45f8[_0x2f1e0b(0x4bc)](_0x394f9d,0x1);}a[_0x2f1e0b(0x15d)](this[_0x2f1e0b(0x2cf)],_0x5c45f8);}[_0x1c66a7(0x2b1)](){var _0x56fe47=_0x1c66a7,_0x5f6f0,_0x1230b2,_0xd2c178;this[_0x56fe47(0x2cf)][_0x56fe47(0x2ba)](Y[_0x56fe47(0x322)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5f6f0=this['_config'])!=null&&_0x5f6f0[_0x56fe47(0x286)]||(_0x1230b2=this[_0x56fe47(0x2cf)][_0x56fe47(0x2ba)](q,a[_0x56fe47(0x316)]['OPTIONAL']))==null||_0x1230b2[_0x56fe47(0x2e8)](),(_0xd2c178=this[_0x56fe47(0x418)])!=null&&_0xd2c178[_0x56fe47(0x304)]&&a[_0x56fe47(0x19a)](this[_0x56fe47(0x2cf)],[[ye]]),a[_0x56fe47(0x19a)](this[_0x56fe47(0x2cf)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x1c66a7(0x406)],_0x1c66a7(0x432),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x1c66a7(0x2a8)](I[_0x1c66a7(0x273)],Y[_0x1c66a7(0x492)]),Me(0x1,a[_0x1c66a7(0x2c8)]),Me(0x2,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),Me(0x3,a[_0x1c66a7(0x33a)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports[_0x1c66a7(0x2d8)]=K,exports[_0x1c66a7(0x470)]=pt,exports[_0x1c66a7(0x3af)]=ut,exports[_0x1c66a7(0x2fd)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x1c66a7(0x298)]=ee,exports[_0x1c66a7(0x3d1)]=$e,exports[_0x1c66a7(0x1a7)]=dt,exports[_0x1c66a7(0x45c)]=Kt,exports[_0x1c66a7(0x4b3)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports[_0x1c66a7(0x4a2)]=q,exports[_0x1c66a7(0x405)]=mt,exports[_0x1c66a7(0x33c)]=de,exports[_0x1c66a7(0x364)]=Ft,exports[_0x1c66a7(0x374)]=Bt,exports[_0x1c66a7(0x32e)]=It,exports[_0x1c66a7(0x13f)]=Gt,exports[_0x1c66a7(0x478)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x1c66a7(0x29b)]=_t,exports[_0x1c66a7(0x388)]=lt,exports[_0x1c66a7(0x1c9)]=re,exports[_0x1c66a7(0x3ae)]=je,exports[_0x1c66a7(0x23e)]=Ct,exports[_0x1c66a7(0x407)]=oi,exports[_0x1c66a7(0x32d)]=Tt;
1
+ 'use strict';var _0x5aed06=_0x156c;(function(_0x2f4fdb,_0x2f5075){var _0x1f91e9=_0x156c,_0x3f089e=_0x2f4fdb();while(!![]){try{var _0x49d4a1=-parseInt(_0x1f91e9(0x2d8))/0x1+parseInt(_0x1f91e9(0x371))/0x2*(-parseInt(_0x1f91e9(0x2bb))/0x3)+parseInt(_0x1f91e9(0x297))/0x4*(-parseInt(_0x1f91e9(0x2d5))/0x5)+-parseInt(_0x1f91e9(0x176))/0x6+-parseInt(_0x1f91e9(0x3fe))/0x7*(parseInt(_0x1f91e9(0x1d9))/0x8)+parseInt(_0x1f91e9(0x347))/0x9+parseInt(_0x1f91e9(0x23b))/0xa;if(_0x49d4a1===_0x2f5075)break;else _0x3f089e['push'](_0x3f089e['shift']());}catch(_0x3cf962){_0x3f089e['push'](_0x3f089e['shift']());}}}(_0x4ec2,0xd7299));var Dt=Object[_0x5aed06(0x211)],At=(_0x1f2c5b,_0x1e39a7,_0x4c361e)=>_0x1e39a7 in _0x1f2c5b?Dt(_0x1f2c5b,_0x1e39a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c361e}):_0x1f2c5b[_0x1e39a7]=_0x4c361e,A=(_0x418328,_0x556031,_0x477d23)=>At(_0x418328,typeof _0x556031!=_0x5aed06(0x283)?_0x556031+'':_0x556031,_0x477d23);Object[_0x5aed06(0x211)](exports,Symbol[_0x5aed06(0x17b)],{'value':_0x5aed06(0x17d)});const a=require(_0x5aed06(0x1ff)),$=require('rxjs'),V=require(_0x5aed06(0x1aa)),I=require('@univerjs-pro/collaboration'),Y=require(_0x5aed06(0x22d)),Pt=require(_0x5aed06(0x4c3)),ht=require(_0x5aed06(0x251)),X=require(_0x5aed06(0x2ab)),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x5aed06(0x23e),Lt=_0x5aed06(0x25b),lt='SNAPSHOT_URL_KEY',Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x5aed06(0x381),dt=_0x5aed06(0x36a),kt=_0x5aed06(0x386),vt=_0x5aed06(0x24f),Ht=0x7530,ke=_0x5aed06(0x412),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x5aed06(0x333),Ft=0x3e8,pt=_0x5aed06(0x373),Vt=_0x5aed06(0x25e),It='LOGIN_URL_KEY',Wt=_0x5aed06(0x3fc),Gt=_0x5aed06(0x3c8),Kt='/universer-api/uniscript';var gt=(_0x1ad05f=>(_0x1ad05f[_0x1ad05f['UNDEFINED']=0x0]=_0x5aed06(0x48d),_0x1ad05f[_0x1ad05f['OK']=0x1]='OK',_0x1ad05f[_0x1ad05f[_0x5aed06(0x401)]=0x2]=_0x5aed06(0x401),_0x1ad05f[_0x1ad05f[_0x5aed06(0x349)]=0x3]=_0x5aed06(0x349),_0x1ad05f[_0x1ad05f[_0x5aed06(0x25f)]=0x4]=_0x5aed06(0x25f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x4cd)]=0x5]=_0x5aed06(0x4cd),_0x1ad05f[_0x1ad05f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x1ad05f[_0x1ad05f['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1ad05f[_0x1ad05f[_0x5aed06(0x3b5)]=0x8]=_0x5aed06(0x3b5),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1ae)]=0x9]=_0x5aed06(0x1ae),_0x1ad05f[_0x1ad05f[_0x5aed06(0x4a9)]=0xa]='LOGIN_FAILED',_0x1ad05f[_0x1ad05f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5aed06(0x3a2),_0x1ad05f[_0x1ad05f[_0x5aed06(0x2b2)]=0x1771]=_0x5aed06(0x2b2),_0x1ad05f[_0x1ad05f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5aed06(0x4cf),_0x1ad05f[_0x1ad05f[_0x5aed06(0x356)]=0x1773]=_0x5aed06(0x356),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3e4)]=0x1b59]=_0x5aed06(0x3e4),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1d5)]=0x1b5a]=_0x5aed06(0x1d5),_0x1ad05f[_0x1ad05f[_0x5aed06(0x432)]=0x1b5b]=_0x5aed06(0x432),_0x1ad05f[_0x1ad05f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1ad05f[_0x1ad05f[_0x5aed06(0x345)]=0x1b5d]=_0x5aed06(0x345),_0x1ad05f[_0x1ad05f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5aed06(0x31b),_0x1ad05f[_0x1ad05f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5aed06(0x3d1),_0x1ad05f[_0x1ad05f[_0x5aed06(0x424)]=0x232a]=_0x5aed06(0x424),_0x1ad05f[_0x1ad05f[_0x5aed06(0x236)]=0x232b]=_0x5aed06(0x236),_0x1ad05f[_0x1ad05f[_0x5aed06(0x223)]=0x232c]=_0x5aed06(0x223),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3c9)]=0x232d]=_0x5aed06(0x3c9),_0x1ad05f[_0x1ad05f[_0x5aed06(0x472)]=0x2711]=_0x5aed06(0x472),_0x1ad05f[_0x1ad05f[_0x5aed06(0x17f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1ad05f[_0x1ad05f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5aed06(0x48c),_0x1ad05f[_0x1ad05f[_0x5aed06(0x487)]=0x2714]=_0x5aed06(0x487),_0x1ad05f[_0x1ad05f[_0x5aed06(0x437)]=0x271a]=_0x5aed06(0x437),_0x1ad05f[_0x1ad05f[_0x5aed06(0x276)]=0x271b]=_0x5aed06(0x276),_0x1ad05f[_0x1ad05f[_0x5aed06(0x31d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1ad05f[_0x1ad05f[_0x5aed06(0x4d6)]=0x271d]=_0x5aed06(0x4d6),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3f2)]=0x271e]=_0x5aed06(0x3f2),_0x1ad05f[_0x1ad05f[_0x5aed06(0x1b3)]=0x271f]=_0x5aed06(0x1b3),_0x1ad05f[_0x1ad05f[_0x5aed06(0x380)]=0x2af9]=_0x5aed06(0x380),_0x1ad05f[_0x1ad05f[_0x5aed06(0x429)]=0x2ee1]=_0x5aed06(0x429),_0x1ad05f[_0x1ad05f['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1ad05f[_0x1ad05f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5aed06(0x31f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x358)]=0x2ee4]=_0x5aed06(0x358),_0x1ad05f[_0x1ad05f[_0x5aed06(0x3b7)]=0x2ee5]=_0x5aed06(0x3b7),_0x1ad05f[_0x1ad05f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5aed06(0x3bd),_0x1ad05f[_0x1ad05f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5aed06(0x34f),_0x1ad05f[_0x1ad05f[_0x5aed06(0x235)]=0x32cb]=_0x5aed06(0x235),_0x1ad05f[_0x1ad05f[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x1ad05f))(gt||{}),J=(_0x28ef56=>(_0x28ef56[_0x28ef56['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x28ef56[_0x28ef56[_0x5aed06(0x1f3)]=0x1]=_0x5aed06(0x1f3),_0x28ef56[_0x28ef56[_0x5aed06(0x1de)]=0x2]=_0x5aed06(0x1de),_0x28ef56[_0x28ef56['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x28ef56[_0x28ef56[_0x5aed06(0x474)]=0x4]='UNIVER_PROJECT',_0x28ef56[_0x28ef56[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x28ef56))(J||{}),W=(_0x28bfc6=>(_0x28bfc6[_0x28bfc6[_0x5aed06(0x4dc)]=0x0]=_0x5aed06(0x4dc),_0x28bfc6[_0x28bfc6[_0x5aed06(0x1f5)]=0x1]=_0x5aed06(0x1f5),_0x28bfc6[_0x28bfc6['JOIN']=0x2]=_0x5aed06(0x1ba),_0x28bfc6[_0x28bfc6[_0x5aed06(0x47c)]=0x3]=_0x5aed06(0x47c),_0x28bfc6[_0x28bfc6[_0x5aed06(0x368)]=0x4]=_0x5aed06(0x368),_0x28bfc6[_0x28bfc6[_0x5aed06(0x40a)]=0x5]=_0x5aed06(0x40a),_0x28bfc6[_0x28bfc6['RECV']=0x6]=_0x5aed06(0x224),_0x28bfc6[_0x28bfc6[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x28bfc6))(W||{}),oe=(_0x4514f9=>(_0x4514f9[_0x4514f9[_0x5aed06(0x4b0)]=0x0]=_0x5aed06(0x4b0),_0x4514f9[_0x4514f9['OK']=0x1]='OK',_0x4514f9[_0x4514f9[_0x5aed06(0x249)]=0x2]='FAIL',_0x4514f9[_0x4514f9['JOIN_ROOM_FULL']=0x3e9]=_0x5aed06(0x27e),_0x4514f9[_0x4514f9['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5aed06(0x46c),_0x4514f9[_0x4514f9[_0x5aed06(0x3d3)]=0x3eb]=_0x5aed06(0x3d3),_0x4514f9[_0x4514f9[_0x5aed06(0x422)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4514f9[_0x4514f9[_0x5aed06(0x35e)]=-0x1]='UNRECOGNIZED',_0x4514f9))(oe||{}),Et=(_0x2ce8e9=>(_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x238)]=0x0]=_0x5aed06(0x238),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x38a)]=0x1]=_0x5aed06(0x38a),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x311)]=0x2]='HttpExport',_0x2ce8e9[_0x2ce8e9['UnitEmbedded']=0x3]=_0x5aed06(0x201),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x231)]=0x4]=_0x5aed06(0x231),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x3a5)]=0x5]=_0x5aed06(0x3a5),_0x2ce8e9[_0x2ce8e9[_0x5aed06(0x35e)]=-0x1]=_0x5aed06(0x35e),_0x2ce8e9))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x27859b=>(_0x27859b[_0x5aed06(0x216)]=_0x5aed06(0x216),_0x27859b[_0x5aed06(0x349)]=_0x5aed06(0x349),_0x27859b[_0x5aed06(0x256)]=_0x5aed06(0x256),_0x27859b[_0x5aed06(0x4b3)]='CLOSE_ROOM',_0x27859b[_0x5aed06(0x434)]='JOIN_ROOM_FAILED',_0x27859b[_0x5aed06(0x4da)]=_0x5aed06(0x4da),_0x27859b['SOCKET_FAILED']=_0x5aed06(0x257),_0x27859b['SUBMIT_CHANGESET_TIMEOUT']=_0x5aed06(0x21d),_0x27859b))(Z||{});class ee{constructor(){var _0x889276=_0x5aed06;A(this,_0x889276(0x42c),new $[(_0x889276(0x2fd))]()),A(this,_0x889276(0x2fb),this['_event$'][_0x889276(0x3a8)]());}['emitEvent'](_0x4209b9){var _0x4a7e3f=_0x5aed06;this[_0x4a7e3f(0x42c)][_0x4a7e3f(0x193)](_0x4209b9);}}const mt=a[_0x5aed06(0x258)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x508242){var _0x4af6d4=_0x5aed06,_0x279caa,_0x5a6716,_0x3da2a5,_0x567533,_0x2df126;const _0x3c3338=_0x508242['data'],_0x31fc96=JSON[_0x4af6d4(0x274)](_0x3c3338);switch(_0x31fc96['cmd']){case W[_0x4af6d4(0x40a)]:case W[_0x4af6d4(0x1f5)]:{const _0x4828e8=_0x31fc96[_0x4af6d4(0x1d4)];return{..._0x31fc96,'data':_0x4828e8,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};}case W[_0x4af6d4(0x1ba)]:{const _0x2c94bc=_0x31fc96['joinRsp'];return{..._0x31fc96,'data':_0x2c94bc,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};}case W['RECV']:{const _0x3dad85=_0x31fc96[_0x4af6d4(0x32b)];switch(_0x3dad85[_0x4af6d4(0x264)]){case I[_0x4af6d4(0x1eb)]['PERMISSION_REJ']:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x279caa=_0x3dad85[_0x4af6d4(0x2de)])==null?void 0x0:_0x279caa['cs']},'cmd':_0x31fc96['cmd']};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x491)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x5a6716=_0x3dad85[_0x4af6d4(0x4c0)])==null?void 0x0:_0x5a6716['cs']},'cmd':_0x31fc96['cmd']};case I['CollaborationEvent'][_0x4af6d4(0x3b9)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x3da2a5=_0x3dad85[_0x4af6d4(0x2e7)])==null?void 0x0:_0x3da2a5['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x47f)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x567533=_0x3dad85[_0x4af6d4(0x320)])==null?void 0x0:_0x567533['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x4e7)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':(_0x2df126=_0x3dad85[_0x4af6d4(0x4a2)])==null?void 0x0:_0x2df126['cs']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x189)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x3ee)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x3f8)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x20e)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['leaveEvent']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)]['LIVESHARE_NEW_HOST']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x24b)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x2c8)]:case I[_0x4af6d4(0x1eb)]['LIVESHARE_OPERATION']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x313)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)]['LIVESHARE_TERMINATE']:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['liveShareNewHost']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x31fc96,'data':_0x3dad85,'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x44e)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x3ad)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent'][_0x4af6d4(0x178)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85['updatePermissionObjEvent']},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I[_0x4af6d4(0x1eb)][_0x4af6d4(0x19b)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x367)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};case I['CollaborationEvent'][_0x4af6d4(0x37f)]:return{..._0x31fc96,'data':{..._0x3dad85,'data':_0x3dad85[_0x4af6d4(0x476)]},'cmd':_0x31fc96[_0x4af6d4(0x32d)]};default:return _0x31fc96;}}default:return _0x31fc96;}}function Tt(_0x19f6ba){var _0x10ba8b=_0x5aed06;switch(_0x19f6ba[_0x10ba8b(0x32d)]){case W[_0x10ba8b(0x40a)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x19f6ba['cmd'],'routeKey':_0x19f6ba[_0x10ba8b(0x233)]});case W[_0x10ba8b(0x368)]:{let _0x3f81f8;switch(_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x264)]){case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x44c)]:{_0x3f81f8={'eventID':I['CollaborationEvent'][_0x10ba8b(0x44c)],'updateCursorEvent':_0x19f6ba['data'][_0x10ba8b(0x268)]};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x20e)]:{_0x3f81f8={'eventID':I['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent'][_0x10ba8b(0x3ee)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3ee)],'joinEvent':_0x19f6ba['data'][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x2a6)],'liveShareNewHost':_0x19f6ba['data']['data']};break;}case I[_0x10ba8b(0x1eb)]['LIVESHARE_OPERATION']:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x19f6ba[_0x10ba8b(0x268)]['data']};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x2ca)]:{_0x3f81f8={'eventID':I['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3e7)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)][_0x10ba8b(0x3e7)],'liveShareRequestHost':_0x19f6ba[_0x10ba8b(0x268)][_0x10ba8b(0x268)]};break;}case I['CollaborationEvent'][_0x10ba8b(0x2c8)]:{_0x3f81f8={'eventID':I[_0x10ba8b(0x1eb)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3f81f8={'eventID':_0x19f6ba['data'][_0x10ba8b(0x264)]};}return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'collaMsg':_0x3f81f8});}case W[_0x10ba8b(0x1ba)]:return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'joinReq':_0x19f6ba[_0x10ba8b(0x268)]});case W[_0x10ba8b(0x47c)]:return JSON[_0x10ba8b(0x463)]({'cmd':_0x19f6ba[_0x10ba8b(0x32d)],'routeKey':_0x19f6ba[_0x10ba8b(0x233)],'leaveReq':_0x19f6ba['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x3f6db4,_0x12444d,_0x44b701,_0x59b16c)=>{for(var _0xe61138=_0x59b16c>0x1?void 0x0:_0x59b16c?qt(_0x12444d,_0x44b701):_0x12444d,_0x1fa299=_0x3f6db4['length']-0x1,_0x398045;_0x1fa299>=0x0;_0x1fa299--)(_0x398045=_0x3f6db4[_0x1fa299])&&(_0xe61138=_0x398045(_0xe61138)||_0xe61138);return _0xe61138;},_e=(_0x15c200,_0x30cf32)=>(_0x28949a,_0x490e26)=>_0x30cf32(_0x28949a,_0x490e26,_0x15c200);const He=a['createIdentifier'](_0x5aed06(0x473));function Jt(_0x5d1604,_0x138bf8,_0x7e7f01){var _0x313506=_0x5aed06;return _0x5d1604+'/'+_0x138bf8+_0x313506(0x39c)+_0x7e7f01+'/new_changes';}exports[_0x5aed06(0x396)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x19298b,_0x160e12,_0x4f8936,_0x53e206,_0x9846aa){var _0x4711fd=_0x5aed06;super(),this['_injector']=_0x19298b,this[_0x4711fd(0x38b)]=_0x160e12,this[_0x4711fd(0x26c)]=_0x4f8936,this[_0x4711fd(0x496)]=_0x53e206,this['_snapshotServerService']=_0x9846aa;}[_0x5aed06(0x30b)](_0x1a1b96){var _0x59d884=_0x5aed06;const _0x1153f4=this[_0x59d884(0x1a3)][_0x59d884(0x4d1)](Y[_0x59d884(0x495)]);if(!_0x1153f4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4f66bb=_0x1153f4['createSocket'](_0x1a1b96);if(!_0x4f66bb)throw new Error(_0x59d884(0x46e));const _0x213644=new a[(_0x59d884(0x4d0))](),_0x52fa2b=new $['Subject']();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x4c9)][_0x59d884(0x284)](_0x1bc3ba=>_0x52fa2b['next'](_0x1bc3ba))),_0x213644[_0x59d884(0x192)](a[_0x59d884(0x1ec)](()=>_0x52fa2b[_0x59d884(0x4c7)]()));const _0x5912ad=new $[(_0x59d884(0x2fd))]();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x4b5)][_0x59d884(0x284)](_0x24804d=>_0x5912ad[_0x59d884(0x193)](_0x24804d))),_0x213644[_0x59d884(0x192)](a[_0x59d884(0x1ec)](()=>_0x5912ad[_0x59d884(0x4c7)]()));const _0x19023a=new $[(_0x59d884(0x2fd))]();_0x213644[_0x59d884(0x192)](_0x4f66bb[_0x59d884(0x1fa)][_0x59d884(0x284)](_0x3c6dc2=>{const _0x3c7b1b=Ct(_0x3c6dc2);_0x19023a['next'](_0x3c7b1b);})),_0x213644['add'](a['toDisposable'](()=>_0x19023a['complete']()));let _0x58ad84;const _0x6d4e76=()=>{var _0x245ed5=_0x59d884;_0x5912ad['next'](new Event(_0x245ed5(0x2ee))),_0x52fa2b[_0x245ed5(0x193)](new Event(_0x245ed5(0x2ee))),_0x58ad84[_0x245ed5(0x3e0)]();};return _0x58ad84={'memberID':'','close$':_0x52fa2b[_0x59d884(0x3a8)](),'error$':_0x5912ad[_0x59d884(0x3a8)](),'open$':_0x4f66bb[_0x59d884(0x4b7)],'message$':_0x19023a[_0x59d884(0x3a8)](),'send':_0x4084bf=>{var _0x1fa749=_0x59d884;if(_0x4084bf[_0x1fa749(0x32d)]===W[_0x1fa749(0x368)]){if(_0x4084bf[_0x1fa749(0x268)][_0x1fa749(0x264)]===I['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x1fa749(0x29b)](_0x58ad84,_0x4084bf[_0x1fa749(0x268)])[_0x1fa749(0x3e5)](_0x4bcd3f=>{var _0xf70648=_0x1fa749;this[_0xf70648(0x496)][_0xf70648(0x3ac)](_0x4bcd3f),_0x6d4e76();});return;}if(_0x4084bf[_0x1fa749(0x268)][_0x1fa749(0x264)]===I['CollaborationEvent'][_0x1fa749(0x17c)]){const _0x4290b2=_0x4084bf[_0x1fa749(0x268)];this['_fetchMissChangesets'](_0x4290b2)[_0x1fa749(0x215)](_0x57e9e4=>{var _0x41ab72=_0x1fa749;_0x19023a[_0x41ab72(0x193)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x4290b2[_0x41ab72(0x268)]['unitID'],'routeType':'','data':{'eventID':I[_0x41ab72(0x1eb)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x57e9e4}}});})[_0x1fa749(0x3e5)](_0x3bf71a=>{var _0x451215=_0x1fa749;this[_0x451215(0x496)][_0x451215(0x3ac)](_0x3bf71a),_0x6d4e76();});return;}}_0x4f66bb['send'](Tt(_0x4084bf));},'close':()=>{var _0x5a4ce1=_0x59d884;_0x4f66bb[_0x5a4ce1(0x3e0)](),_0x213644[_0x5a4ce1(0x456)]();}},_0x58ad84;}async[_0x5aed06(0x29b)](_0x596920,_0xa23bf7){var _0x4328c6=_0x5aed06,_0x2628b8,_0xf58179;const {unitType:_0xc6e073,unitID:_0x2bee5c,changeset:_0x5200c7}=_0xa23bf7[_0x4328c6(0x268)],_0x362af9={'unitID':_0x2bee5c,'memberID':_0x596920['memberID'],'type':_0xc6e073,'changeset':I['parseChangesetToProtocol'](_0x5200c7)},_0x22975d=this[_0x4328c6(0x26c)][_0x4328c6(0x327)](pt),_0x115695=this[_0x4328c6(0x26c)]['getConfig'](K),_0x9d56c3=Jt((_0xf58179=(_0x2628b8=_0x115695==null?void 0x0:_0x115695[_0x4328c6(0x3cd)])!=null?_0x2628b8:_0x22975d)!=null?_0xf58179:Vt,_0xc6e073,_0x2bee5c);try{await this[_0x4328c6(0x38b)]['post'](_0x9d56c3,{'body':_0x362af9});}catch(_0x5c2f1c){throw this[_0x4328c6(0x496)]['error']('[CollaborationSession]',_0x4328c6(0x360)),_0x5c2f1c;}}async[_0x5aed06(0x203)](_0x4ae24c){var _0x4472c6=_0x5aed06;const {unitID:_0x2e59fd,from:_0x1f7c21,to:_0x2fb0d1,unitType:_0x256bf8}=_0x4ae24c[_0x4472c6(0x268)];return(await this[_0x4472c6(0x2f1)][_0x4472c6(0x453)]({'metadata':void 0x0},{'unitID':_0x2e59fd,'type':_0x256bf8,'from':_0x1f7c21,'to':_0x2fb0d1}))[_0x4472c6(0x246)];}},exports[_0x5aed06(0x396)]=zt([_e(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),_e(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x5aed06(0x2c4)]),_e(0x4,I['ISnapshotServerService'])],exports[_0x5aed06(0x396)]);const Xt=_0x5aed06(0x1b1);function Zt(_0x4ffacf){var _0x5baa38=_0x5aed06;return JSON[_0x5baa38(0x463)](_0x4ffacf)[_0x5baa38(0x24e)];}class $e{constructor(){var _0x948b89=_0x5aed06;A(this,_0x948b89(0x478),new $['Subject']()),A(this,_0x948b89(0x1e5),this[_0x948b89(0x478)]['asObservable']());}['onCommentUpdate'](_0x3bf8bc){var _0x16eea7=_0x5aed06;this[_0x16eea7(0x478)][_0x16eea7(0x193)](_0x3bf8bc);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x506579,_0x538c7a,_0x30b8be,_0x45d77a)=>{for(var _0x48798e=_0x45d77a>0x1?void 0x0:_0x45d77a?Qt(_0x538c7a,_0x30b8be):_0x538c7a,_0x22e9b7=_0x506579['length']-0x1,_0x9e5702;_0x22e9b7>=0x0;_0x22e9b7--)(_0x9e5702=_0x506579[_0x22e9b7])&&(_0x48798e=_0x9e5702(_0x48798e)||_0x48798e);return _0x48798e;},We=(_0x2ed93b,_0x382102)=>(_0x54e0a5,_0xa8ca1c)=>_0x382102(_0x54e0a5,_0xa8ca1c,_0x2ed93b);exports[_0x5aed06(0x195)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x995747,_0x4d5fd3){var _0x5b17d3=_0x5aed06;super(),A(this,_0x5b17d3(0x3a1),new Map()),A(this,_0x5b17d3(0x3ec),new $[(_0x5b17d3(0x2fd))]()),(this['_univerInstanceService']=_0x995747,this[_0x5b17d3(0x1c2)]=_0x4d5fd3,this[_0x5b17d3(0x3ed)]($['merge'](this[_0x5b17d3(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x5b17d3(0x3b6)][_0x5b17d3(0x1de)])[_0x5b17d3(0x280)](V[_0x5b17d3(0x33c)](_0x188c34=>_0x188c34['getUnitId']())),this[_0x5b17d3(0x3a6)][_0x5b17d3(0x20a)](a[_0x5b17d3(0x3b6)][_0x5b17d3(0x1f3)])['pipe'](V[_0x5b17d3(0x33c)](_0x47dfdb=>_0x47dfdb[_0x5b17d3(0x2f0)]())),this[_0x5b17d3(0x3a6)][_0x5b17d3(0x20a)](a[_0x5b17d3(0x3b6)]['UNIVER_SLIDE'])[_0x5b17d3(0x280)](V[_0x5b17d3(0x33c)](_0x4f92fa=>_0x4f92fa['getUnitId']())))[_0x5b17d3(0x284)](_0x382a0f=>this['_removeRoom'](_0x382a0f))));}[_0x5aed06(0x188)](_0x8c6f13){var _0x23e195=_0x5aed06;return this[_0x23e195(0x3a1)][_0x23e195(0x3c3)](_0x8c6f13)?$['of'](this[_0x23e195(0x3a1)][_0x23e195(0x4d1)](_0x8c6f13)):this['_roomCreated$'][_0x23e195(0x280)](V[_0x23e195(0x33c)](_0x400508=>{var _0x4c749f=_0x23e195;if(_0x400508===_0x8c6f13)return this[_0x4c749f(0x3a1)]['get'](_0x400508);}));}[_0x5aed06(0x25d)](_0x5a8187){var _0x4f53db=_0x5aed06;this[_0x4f53db(0x1c2)][_0x4f53db(0x25d)](_0x5a8187);}[_0x5aed06(0x30c)](){return this['_userManagerService']['getCurrentUser']();}[_0x5aed06(0x255)](_0xf8e6cb,_0x594aa2){var _0x162c96=_0x5aed06;let _0x36dce4=this[_0x162c96(0x3a1)][_0x162c96(0x4d1)](_0xf8e6cb);_0x36dce4||(_0x36dce4=new ti(),this['_roomMembers'][_0x162c96(0x426)](_0xf8e6cb,_0x36dce4),this[_0x162c96(0x3ec)][_0x162c96(0x193)](_0xf8e6cb)),_0x36dce4[_0x162c96(0x255)](_0x594aa2);}[_0x5aed06(0x302)](_0x857fa0,_0x2889c0){var _0x2fc932=_0x5aed06;const _0x3cdc90=this['_roomMembers'][_0x2fc932(0x4d1)](_0x857fa0);_0x3cdc90&&_0x3cdc90['removeMember'](_0x2889c0);}[_0x5aed06(0x450)](_0x36817e){var _0x4c4c43=_0x5aed06;return this['_roomMembers'][_0x4c4c43(0x4d1)](_0x36817e);}['getMember'](_0x4baf1e,_0x5e04bd){var _0x3890ef=_0x5aed06;const _0x542397=this['_roomMembers'][_0x3890ef(0x4d1)](_0x4baf1e);if(_0x542397)return _0x542397['getMember'](_0x5e04bd);}['_removeRoom'](_0x587eab){var _0x441b1a=_0x5aed06;const _0x5e3589=this[_0x441b1a(0x3a1)][_0x441b1a(0x4d1)](_0x587eab);_0x5e3589&&(_0x5e3589[_0x441b1a(0x456)](),this[_0x441b1a(0x3a1)][_0x441b1a(0x438)](_0x587eab));}['dispose'](){var _0x1ad866=_0x5aed06;this['_roomMembers'][_0x1ad866(0x4d4)](_0x182629=>_0x182629[_0x1ad866(0x456)]()),this[_0x1ad866(0x3a1)][_0x1ad866(0x19c)](),this['_roomCreated$'][_0x1ad866(0x4c7)]();}},exports[_0x5aed06(0x195)]=ei([We(0x0,a[_0x5aed06(0x3aa)]),We(0x1,a['Inject'](a[_0x5aed06(0x47a)]))],exports['MemberService']);class ti extends a[_0x5aed06(0x43b)]{constructor(){var _0x553733=_0x5aed06;super(...arguments),A(this,_0x553733(0x1c5),new Map()),A(this,_0x553733(0x196),new $[(_0x553733(0x490))](this[_0x553733(0x1c5)])),A(this,_0x553733(0x202),this[_0x553733(0x196)][_0x553733(0x3a8)]());}[_0x5aed06(0x456)](){var _0x183874=_0x5aed06;this['_members'][_0x183874(0x19c)]();}['updateMember'](_0x22a6d1){var _0x4103f8=_0x5aed06;this[_0x4103f8(0x1c5)][_0x4103f8(0x426)](_0x22a6d1[_0x4103f8(0x419)],_0x22a6d1),this[_0x4103f8(0x227)]();}[_0x5aed06(0x302)](_0x1558c3){var _0x4a577c=_0x5aed06;this[_0x4a577c(0x1c5)]['delete'](_0x1558c3);}[_0x5aed06(0x173)](_0xf2b687){var _0x1d0491=_0x5aed06;return this['_members'][_0x1d0491(0x4d1)](_0xf2b687);}[_0x5aed06(0x322)](){var _0xd7c6=_0x5aed06;return Array[_0xd7c6(0x2c9)](this[_0xd7c6(0x1c5)][_0xd7c6(0x273)]());}[_0x5aed06(0x227)](){var _0x14ef38=_0x5aed06;this[_0x14ef38(0x196)][_0x14ef38(0x193)](this['_members']);}}var ii=Object[_0x5aed06(0x206)],ni=(_0x6a8665,_0x2bc9a8,_0x285c3f,_0x26235b)=>{var _0x5449bf=_0x5aed06;for(var _0x1cb0a7=_0x26235b>0x1?void 0x0:_0x26235b?ii(_0x2bc9a8,_0x285c3f):_0x2bc9a8,_0x2c53ab=_0x6a8665[_0x5449bf(0x24e)]-0x1,_0x1d40f6;_0x2c53ab>=0x0;_0x2c53ab--)(_0x1d40f6=_0x6a8665[_0x2c53ab])&&(_0x1cb0a7=_0x1d40f6(_0x1cb0a7)||_0x1cb0a7);return _0x1cb0a7;},se=(_0x298e08,_0x34f031)=>(_0x101e1b,_0x2c7aad)=>_0x34f031(_0x101e1b,_0x2c7aad,_0x298e08),re=(_0x44d622=>(_0x44d622[_0x44d622[_0x5aed06(0x47e)]=0x0]=_0x5aed06(0x47e),_0x44d622[_0x44d622[_0x5aed06(0x344)]=0x1]=_0x5aed06(0x344),_0x44d622[_0x44d622[_0x5aed06(0x4ad)]=0x2]=_0x5aed06(0x4ad),_0x44d622[_0x44d622[_0x5aed06(0x49b)]=0x3]=_0x5aed06(0x49b),_0x44d622))(re||{});const Ge={[oe[_0x5aed06(0x249)]]:_0x5aed06(0x22b),[oe[_0x5aed06(0x27e)]]:_0x5aed06(0x29c),[oe[_0x5aed06(0x46c)]]:_0x5aed06(0x26d),[oe[_0x5aed06(0x3d3)]]:_0x5aed06(0x1a6),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5aed06(0x2b8)};exports['CollaborationSession']=class extends a[_0x5aed06(0x33e)]{constructor(_0x56d2cd,_0x389206,_0x44daca,_0x353b32,_0x1d937f,_0x2c8103,_0x5f3200,_0x514c55,_0x36c84d){var _0x59d451=_0x5aed06;super(),A(this,_0x59d451(0x4b6),new $[(_0x59d451(0x490))](0x0)),A(this,_0x59d451(0x198),this[_0x59d451(0x4b6)][_0x59d451(0x3a8)]()),A(this,_0x59d451(0x42c),new $[(_0x59d451(0x2fd))]()),A(this,_0x59d451(0x2fb),this['_event$'][_0x59d451(0x3a8)]()),A(this,_0x59d451(0x1da)),A(this,_0x59d451(0x4e0)),A(this,_0x59d451(0x2ad)),A(this,_0x59d451(0x3e3),!0x1),A(this,'_telemetryInfo',null),(this[_0x59d451(0x1fb)]=_0x56d2cd,this[_0x59d451(0x496)]=_0x44daca,this[_0x59d451(0x26c)]=_0x353b32,this[_0x59d451(0x446)]=_0x1d937f,this[_0x59d451(0x2bf)]=_0x2c8103,this[_0x59d451(0x20c)]=_0x5f3200,this[_0x59d451(0x45c)]=_0x514c55,this[_0x59d451(0x1ed)]=_0x36c84d,this[_0x59d451(0x3e3)]=!!this[_0x59d451(0x1ed)],_0x389206[_0x59d451(0x280)]($[_0x59d451(0x3cb)](this[_0x59d451(0x3c4)]))['subscribe'](_0x12174c=>{var _0xe3eced=_0x59d451,_0xf5ad0e;typeof _0x12174c>'u'||(this[_0xe3eced(0x1da)]=_0x12174c,_0x12174c?(this[_0xe3eced(0x388)](_0x12174c),this[_0xe3eced(0x4e0)]=_0x12174c[_0xe3eced(0x1fa)][_0xe3eced(0x284)](_0x20d1e2=>{var _0x3b5948=_0xe3eced;_0x20d1e2[_0x3b5948(0x233)]===this[_0x3b5948(0x1fb)]&&this[_0x3b5948(0x493)](_0x20d1e2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xe3eced(0x4b6)][_0xe3eced(0x193)](0x2),(_0xf5ad0e=this['_socketMessageSubscription'])==null||_0xf5ad0e[_0xe3eced(0x41f)](),this[_0xe3eced(0x4e0)]=null));}));}get[_0x5aed06(0x278)](){var _0x3717d6=_0x5aed06;return this[_0x3717d6(0x4b6)]['getValue']();}[_0x5aed06(0x18b)](){var _0x1ee691=_0x5aed06,_0x1be640,_0x58e6c0;return(_0x58e6c0=(_0x1be640=this[_0x1ee691(0x1da)])==null?void 0x0:_0x1be640[_0x1ee691(0x419)])!=null?_0x58e6c0:null;}['dispose'](){var _0x4d9611=_0x5aed06;super[_0x4d9611(0x456)](),this['dispose$'][_0x4d9611(0x193)](),this[_0x4d9611(0x3c4)][_0x4d9611(0x4c7)]();}[_0x5aed06(0x3e0)](){var _0x2d76ff=_0x5aed06,_0x522247,_0x2fd00a;this[_0x2d76ff(0x2dc)](),(_0x522247=this[_0x2d76ff(0x1da)])==null||_0x522247[_0x2d76ff(0x336)]({'cmd':W[_0x2d76ff(0x47c)],'data':{'roomID':this[_0x2d76ff(0x1fb)]}}),(_0x2fd00a=this[_0x2d76ff(0x1da)])==null||_0x2fd00a[_0x2d76ff(0x3e0)](),this['_event$']['complete'](),this[_0x2d76ff(0x4b6)][_0x2d76ff(0x4c7)](),this[_0x2d76ff(0x456)]();}[_0x5aed06(0x493)](_0xc7c48b){var _0x56feae=_0x5aed06;_0xc7c48b['cmd']===W['JOIN']?this[_0x56feae(0x2ae)](_0xc7c48b):_0xc7c48b[_0x56feae(0x32d)]===W['RECV']&&this['_onRecvEvent'](_0xc7c48b);}[_0x5aed06(0x388)](_0x46a6d6){var _0x3fc1f4=_0x5aed06;this['_sessionStatus$'][_0x3fc1f4(0x193)](0x1),_0x46a6d6[_0x3fc1f4(0x336)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fc1f4(0x1fb)]}]}});}[_0x5aed06(0x2ae)](_0x1e7c28){var _0x237bbe=_0x5aed06,_0xa3e3c2;if(_0x1e7c28[_0x237bbe(0x290)]in Ge){this[_0x237bbe(0x45c)][_0x237bbe(0x182)]({'id':Z[_0x237bbe(0x434)],'data':Ge[_0x1e7c28[_0x237bbe(0x290)]]}),this[_0x237bbe(0x4b6)]['next'](0x2);return;}this[_0x237bbe(0x4b6)]['next'](0x3);const _0xca565f=(_0xa3e3c2=_0x1e7c28[_0x237bbe(0x268)][_0x237bbe(0x4b9)][this['_unitID']])==null?void 0x0:_0xa3e3c2[_0x237bbe(0x26e)];_0xca565f&&_0xca565f[_0x237bbe(0x4d4)](_0x2c500f=>this[_0x237bbe(0x2bf)][_0x237bbe(0x255)](this[_0x237bbe(0x1fb)],_0x2c500f));}['_onRecvEvent'](_0x74767){var _0x331c98=_0x5aed06;try{const _0x100c73=_0x74767[_0x331c98(0x268)];switch(_0x100c73[_0x331c98(0x264)]){case I[_0x331c98(0x1eb)][_0x331c98(0x3ee)]:this[_0x331c98(0x3f4)](_0x100c73),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x20e)]:this['_onUserLeave'](_0x100c73),this[_0x331c98(0x42c)]['next'](_0x100c73);break;case I[_0x331c98(0x1eb)]['CHANGESET_ACK']:case I[_0x331c98(0x1eb)][_0x331c98(0x4e7)]:this[_0x331c98(0x1bb)](),this['_clearCollaborationTimeoutTimer'](),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x423)]:this[_0x331c98(0x496)][_0x331c98(0x3ac)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x331c98(0x463)](_0x100c73)),this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);break;case I[_0x331c98(0x1eb)][_0x331c98(0x44e)]:this[_0x331c98(0x20c)][_0x331c98(0x1a5)](_0x100c73[_0x331c98(0x268)]),this['_event$'][_0x331c98(0x193)](_0x100c73);break;default:this[_0x331c98(0x42c)][_0x331c98(0x193)](_0x100c73);}}catch(_0x46eb37){this[_0x331c98(0x496)][_0x331c98(0x3ac)](_0x46eb37,_0x74767);}}[_0x5aed06(0x3f4)](_0xd5fc68){var _0x3ab863=_0x5aed06;this['_memberService']['updateMember'](this[_0x3ab863(0x1fb)],_0xd5fc68['data']);}['_onUserLeave'](_0x2a73f3){var _0x4f96bb=_0x5aed06;this[_0x4f96bb(0x2bf)][_0x4f96bb(0x302)](this[_0x4f96bb(0x1fb)],_0x2a73f3[_0x4f96bb(0x268)][_0x4f96bb(0x419)]);}async['send'](_0x42c146,_0x17d522){var _0x3b04ca=_0x5aed06;if(this[_0x3b04ca(0x278)]!==0x3||!this[_0x3b04ca(0x1da)])throw new Error(_0x3b04ca(0x1ef));try{_0x42c146[_0x3b04ca(0x264)]===I[_0x3b04ca(0x1eb)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3b04ca(0x21c)](_0x42c146)),this[_0x3b04ca(0x1da)][_0x3b04ca(0x336)]({'cmd':W[_0x3b04ca(0x368)],'routeKey':_0x17d522,'routeType':'','data':_0x42c146});}catch(_0x4eac34){this[_0x3b04ca(0x496)]['error'](_0x4eac34);}}[_0x5aed06(0x3bf)](){var _0x59d2ac=_0x5aed06,_0xdac857;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x17ad0f=_0x156c;this['_collaborationTimeoutTimer']=null,this[_0x17ad0f(0x45c)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0xdac857=this[_0x59d2ac(0x26c)][_0x59d2ac(0x327)](ke))!=null?_0xdac857:St);}[_0x5aed06(0x3c7)](){var _0x48de32=_0x5aed06;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x48de32(0x2ad)]),this['_collaborationTimeoutTimer']=null);}[_0x5aed06(0x21c)](_0x4e8d5c){var _0x439c7f=_0x5aed06;if(!this[_0x439c7f(0x3e3)])return;const {data:_0x2304aa}=_0x4e8d5c,{unitID:_0xb463fc,changeset:_0x2be0df}=_0x2304aa,{mutations:_0x46e4aa,type:_0x320aa0}=_0x2be0df;this[_0x439c7f(0x328)]={'unitId':_0xb463fc,'type':_0x320aa0,'startTime':performance[_0x439c7f(0x39d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x46e4aa)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1c9b1f=_0x5aed06;if(this[_0x1c9b1f(0x3e3)]){if(!this[_0x1c9b1f(0x328)]){this[_0x1c9b1f(0x496)][_0x1c9b1f(0x3ac)](_0x1c9b1f(0x184),_0x1c9b1f(0x357));return;}this[_0x1c9b1f(0x328)][_0x1c9b1f(0x39a)]=performance[_0x1c9b1f(0x39d)](),this[_0x1c9b1f(0x328)][_0x1c9b1f(0x237)]=this[_0x1c9b1f(0x328)][_0x1c9b1f(0x39a)]-this[_0x1c9b1f(0x328)][_0x1c9b1f(0x1bf)],this[_0x1c9b1f(0x1ed)]['capture'](Xt,this[_0x1c9b1f(0x328)]),this['_telemetryInfo']=null;}}[_0x5aed06(0x2dc)](){var _0x5ea973=_0x5aed06;this[_0x5ea973(0x328)]=null;}},exports[_0x5aed06(0x310)]=ni([se(0x2,a[_0x5aed06(0x2c4)]),se(0x3,a['IConfigService']),se(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),se(0x5,a['Inject'](exports[_0x5aed06(0x195)])),se(0x6,a[_0x5aed06(0x46b)]($e)),se(0x7,a[_0x5aed06(0x46b)](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports[_0x5aed06(0x310)]);var ri=Object[_0x5aed06(0x206)],si=(_0xdc1849,_0xf1391,_0x143b1f,_0x31ab1a)=>{var _0x58ffd8=_0x5aed06;for(var _0x1f8c40=_0x31ab1a>0x1?void 0x0:_0x31ab1a?ri(_0xf1391,_0x143b1f):_0xf1391,_0x54bd62=_0xdc1849[_0x58ffd8(0x24e)]-0x1,_0x1b107e;_0x54bd62>=0x0;_0x54bd62--)(_0x1b107e=_0xdc1849[_0x54bd62])&&(_0x1f8c40=_0x1b107e(_0x1f8c40)||_0x1f8c40);return _0x1f8c40;},he=(_0xc02040,_0x46da0d)=>(_0x63055,_0x494b5e)=>_0x46da0d(_0x63055,_0x494b5e,_0xc02040);exports[_0x5aed06(0x2a5)]=class extends a[_0x5aed06(0x43b)]{constructor(_0x589ae5,_0x1e37e5,_0x1e945c,_0x44c84e,_0x4771e8,_0x18e7b8){var _0x4dd9aa=_0x5aed06;super(),A(this,'_socket$',new $[(_0x4dd9aa(0x490))](void 0x0)),A(this,_0x4dd9aa(0x296),this[_0x4dd9aa(0x3be)][_0x4dd9aa(0x3a8)]()),A(this,_0x4dd9aa(0x4d9),null),A(this,_0x4dd9aa(0x214),new Map()),A(this,_0x4dd9aa(0x3f9),new $['BehaviorSubject'](re[_0x4dd9aa(0x47e)])),A(this,_0x4dd9aa(0x1a0),this[_0x4dd9aa(0x3f9)][_0x4dd9aa(0x3a8)]()),A(this,_0x4dd9aa(0x1c0),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x4dd9aa(0x4e1)),(this[_0x4dd9aa(0x1a3)]=_0x589ae5,this[_0x4dd9aa(0x496)]=_0x1e37e5,this['_configService']=_0x1e945c,this[_0x4dd9aa(0x253)]=_0x44c84e,this[_0x4dd9aa(0x45c)]=_0x4771e8,this[_0x4dd9aa(0x1c6)]=_0x18e7b8,this[_0x4dd9aa(0x3fd)]());}get['_socket'](){var _0x27b559=_0x5aed06;return this[_0x27b559(0x3be)][_0x27b559(0x4e4)]();}['_listenToNetworkCondition'](){var _0x2f2858=_0x5aed06;this[_0x2f2858(0x1c6)]&&this['disposeWithMe'](this[_0x2f2858(0x1c6)]['online$'][_0x2f2858(0x284)](_0x2ee4b9=>{var _0x5222bd=_0x2f2858;_0x2ee4b9&&!this[_0x5222bd(0x1da)]&&this[_0x5222bd(0x41a)](),_0x2ee4b9||this['_onOffline']();}));}[_0x5aed06(0x456)](){var _0x2e7f37=_0x5aed06;super[_0x2e7f37(0x456)](),this['_clearRetryConnectingTimer'](),this[_0x2e7f37(0x483)](),this['_clearHeartbeatTimer'](),this[_0x2e7f37(0x214)][_0x2e7f37(0x4d4)](_0x3f27e7=>_0x3f27e7[_0x2e7f37(0x456)]()),this[_0x2e7f37(0x214)][_0x2e7f37(0x19c)](),this[_0x2e7f37(0x3f9)][_0x2e7f37(0x4c7)]();}async['requireSession'](_0x33938a){var _0x5525ae=_0x5aed06;if(this[_0x5525ae(0x214)][_0x5525ae(0x3c3)](_0x33938a))return this[_0x5525ae(0x214)][_0x5525ae(0x4d1)](_0x33938a);this[_0x5525ae(0x2a3)]();const _0x19702e=this[_0x5525ae(0x1a3)]['createInstance'](exports[_0x5525ae(0x310)],_0x33938a,this[_0x5525ae(0x3be)][_0x5525ae(0x3a8)]());return this[_0x5525ae(0x214)][_0x5525ae(0x426)](_0x33938a,_0x19702e),_0x19702e;}[_0x5aed06(0x1f8)](_0x1bd4be){var _0x313942=_0x5aed06,_0x29702e;const _0x3f2a94=this['_sessions'][_0x313942(0x4d1)](_0x1bd4be);_0x3f2a94&&(this[_0x313942(0x214)][_0x313942(0x438)](_0x1bd4be),_0x3f2a94[_0x313942(0x3e0)]()),this[_0x313942(0x214)][_0x313942(0x4c8)]||(_0x29702e=this[_0x313942(0x1da)])==null||_0x29702e[_0x313942(0x3e0)]();}[_0x5aed06(0x41a)](){var _0x31aef9=_0x5aed06;this[_0x31aef9(0x397)]=0x0,this[_0x31aef9(0x27a)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x480953=_0x5aed06;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x480953(0x2e1)]),this[_0x480953(0x2e1)]=null);}async[_0x5aed06(0x4a4)](){var _0x4273ca=_0x5aed06,_0x273212,_0x3dc456;const _0x4cc9cc=this[_0x4273ca(0x26c)][_0x4273ca(0x327)](ut),_0x236dee=this[_0x4273ca(0x26c)]['getConfig'](K),_0xa16572=(_0x3dc456=(_0x273212=_0x236dee==null?void 0x0:_0x236dee[_0x4273ca(0x24a)])!=null?_0x273212:_0x4cc9cc)!=null?_0x3dc456:dt,_0x4a737e=await this[_0x4273ca(0x253)][_0x4273ca(0x443)](_0xa16572);return this[_0x4273ca(0x4d9)]=_0x4a737e,_0x4a737e;}async['_tryEnsureSocket'](){var _0x458916=_0x5aed06,_0x381a58,_0x331ecc;try{const _0x244d2d=(_0x331ecc=(_0x381a58=this[_0x458916(0x1da)])!=null?_0x381a58:this['_candidateSocket'])!=null?_0x331ecc:await this[_0x458916(0x4a4)]();if(_0x244d2d){const _0x219587=_0x244d2d[_0x458916(0x336)];_0x244d2d[_0x458916(0x336)]=_0x193c55=>(this['_rescheduleHeartbeat'](),_0x219587[_0x458916(0x3d0)](_0x244d2d,[_0x193c55])),_0x244d2d[_0x458916(0x1fa)][_0x458916(0x284)](_0x3ee44c=>this[_0x458916(0x3fb)](_0x244d2d,_0x3ee44c)),_0x244d2d[_0x458916(0x4b5)]['pipe'](V[_0x458916(0x29e)](0x1))[_0x458916(0x284)](_0x197114=>this[_0x458916(0x496)]['error'](_0x458916(0x174),_0x197114)),_0x244d2d[_0x458916(0x4b7)][_0x458916(0x280)](V['take'](0x1))['subscribe'](()=>{var _0x8725f=_0x458916;this[_0x8725f(0x2a1)](_0x244d2d);}),_0x244d2d['close$']['pipe'](V['take'](0x1))['subscribe'](_0x1363ca=>{var _0x346951=_0x458916;this[_0x346951(0x496)][_0x346951(0x43f)](_0x346951(0x469),_0x346951(0x28e),_0x1363ca),this[_0x346951(0x2a7)]();});}}catch(_0x4b5bbc){this[_0x458916(0x496)][_0x458916(0x3ac)](_0x4b5bbc),this[_0x458916(0x2a7)]();}}['_onConnectionOpen'](_0x25df35){var _0x8527a0=_0x5aed06;this[_0x8527a0(0x496)][_0x8527a0(0x43f)](_0x8527a0(0x469),_0x8527a0(0x341)),_0x25df35[_0x8527a0(0x336)]({'cmd':W[_0x8527a0(0x1f5)]}),this[_0x8527a0(0x1fd)]();}[_0x5aed06(0x392)](){var _0x15ea0f=_0x5aed06;this[_0x15ea0f(0x1c0)]=!0x1,this[_0x15ea0f(0x4d9)]=null,this[_0x15ea0f(0x3f9)][_0x15ea0f(0x193)](re['OFFLINE']),this[_0x15ea0f(0x3be)][_0x15ea0f(0x193)](null),this[_0x15ea0f(0x483)](),this['_clearHeartbeatTimer']();}[_0x5aed06(0x2a7)](){var _0x1f7c95=_0x5aed06,_0x354f77;this[_0x1f7c95(0x392)](),this[_0x1f7c95(0x397)]<((_0x354f77=this[_0x1f7c95(0x26c)][_0x1f7c95(0x327)](ft))!=null?_0x354f77:jt)?(this['_collaborationUIEventService'][_0x1f7c95(0x182)]({'id':Z[_0x1f7c95(0x4da)]}),this[_0x1f7c95(0x34d)]()):this[_0x1f7c95(0x45c)][_0x1f7c95(0x182)]({'id':Z[_0x1f7c95(0x257)]});}[_0x5aed06(0x34d)](){var _0x5beb34=_0x5aed06,_0x4f62c1;const _0x5b4e84=this[_0x5beb34(0x397)],_0x4d5abb=this['_configService']['getConfig'](K),_0x10d2ca=_0x5b4e84===0x0?0x0:((_0x4f62c1=_0x4d5abb==null?void 0x0:_0x4d5abb[_0x5beb34(0x489)])!=null?_0x4f62c1:$t)*0x2**_0x5b4e84;this[_0x5beb34(0x2e1)]=setTimeout(()=>{var _0x467751=_0x5beb34;clearTimeout(this[_0x467751(0x2e1)]),this[_0x467751(0x2e1)]=null,this[_0x467751(0x2a3)]();},_0x10d2ca),this[_0x5beb34(0x397)]+=0x1;}[_0x5aed06(0x3fb)](_0x50a1dd,_0xc4c1c9){var _0x3cb766=_0x5aed06;const {cmd:_0x20fcd4}=_0xc4c1c9;_0x20fcd4===W[_0x3cb766(0x1f5)]&&!this['_socketReady']&&(_0x50a1dd[_0x3cb766(0x419)]=_0xc4c1c9['data']['memberID'],this[_0x3cb766(0x3be)][_0x3cb766(0x193)](_0x50a1dd),this[_0x3cb766(0x3f9)][_0x3cb766(0x193)](re[_0x3cb766(0x49b)]),this[_0x3cb766(0x1c0)]=!0x0,this[_0x3cb766(0x4d9)]=null),_0x20fcd4===W[_0x3cb766(0x40a)]&&this[_0x3cb766(0x483)](),this[_0x3cb766(0x1fd)]();}[_0x5aed06(0x1fd)](){var _0x26a6db=_0x5aed06,_0x5ee366;this[_0x26a6db(0x451)](),this[_0x26a6db(0x239)]=setTimeout(()=>this[_0x26a6db(0x3c2)](),(_0x5ee366=this[_0x26a6db(0x26c)][_0x26a6db(0x327)](vt))!=null?_0x5ee366:Ht);}['_sendHeartbeat'](){var _0x165e22=_0x5aed06;this['_socket'][_0x165e22(0x336)]({'cmd':W['HEARTBEAT']}),this[_0x165e22(0x199)]();}['_waitForHeartbeatResponse'](){var _0x5690b6=_0x5aed06,_0x1da72f;this[_0x5690b6(0x4e1)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1da72f=this[_0x5690b6(0x26c)]['getConfig'](ke))!=null?_0x1da72f:St);}['_clearHeartbeatTimer'](){var _0x293e4f=_0x5aed06;this[_0x293e4f(0x239)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x844a0c=_0x5aed06;this[_0x844a0c(0x4e1)]!=null&&(clearTimeout(this[_0x844a0c(0x4e1)]),this[_0x844a0c(0x4e1)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),he(0x1,a['ILogService']),he(0x2,a[_0x5aed06(0x3a7)]),he(0x3,He),he(0x4,a[_0x5aed06(0x46b)](ee)),he(0x5,a[_0x5aed06(0x36d)](mt))],exports[_0x5aed06(0x2a5)]);const q=a[_0x5aed06(0x258)](_0x5aed06(0x318));function oi(_0x27e4bf){var _0x3790f4=_0x5aed06;return _0x3790f4(0x19f)+_0x27e4bf;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3891b8,_0x513dbc,_0x43ba4a,_0x5ee398)=>{var _0x49ce04=_0x5aed06;for(var _0x47aa62=_0x5ee398>0x1?void 0x0:_0x5ee398?ai(_0x513dbc,_0x43ba4a):_0x513dbc,_0x376ae3=_0x3891b8[_0x49ce04(0x24e)]-0x1,_0x36b182;_0x376ae3>=0x0;_0x376ae3--)(_0x36b182=_0x3891b8[_0x376ae3])&&(_0x47aa62=_0x36b182(_0x47aa62)||_0x47aa62);return _0x47aa62;},De=(_0x1994d3,_0x5269c0)=>(_0x401db6,_0x5effa8)=>_0x5269c0(_0x401db6,_0x5effa8,_0x1994d3);function hi(_0x47a885){var _0x19e717=_0x5aed06;const {unitID:_0x543a38,mutations:_0xae64d1}=_0x47a885;return{'unitId':_0x543a38,'subUnitId':_0xae64d1[0x0]['params'][_0x19e717(0x430)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x5856e6,_0x2ab4ae,_0x27b4ee){var _0x315e81=_0x5aed06;this['_injector']=_0x5856e6,this[_0x315e81(0x4be)]=_0x2ab4ae,this['_instanceService']=_0x27b4ee;}['transformSelections'](_0x28021a){var _0x1c4a84=_0x5aed06,_0x2a4c04,_0x2344fe,_0x2cc7b0,_0x55711a;const _0x297594=this[_0x1c4a84(0x1a3)][_0x1c4a84(0x4d1)](X[_0x1c4a84(0x1e0)]),{unitId:_0x418264,subUnitId:_0x58bc58}=hi(_0x28021a),_0x120d43=_0x297594==null?void 0x0:_0x297594['getWorkbookSelections'](_0x418264)[_0x1c4a84(0x241)](),_0x6fd555=(_0x2344fe=(_0x2a4c04=this[_0x1c4a84(0x4ab)]['getUnit'](_0x418264))==null?void 0x0:_0x2a4c04[_0x1c4a84(0x340)]())==null?void 0x0:_0x2344fe[_0x1c4a84(0x185)]();if(_0x120d43[_0x1c4a84(0x24e)]===0x0||!_0x418264||!_0x58bc58)return;const _0x47fbc6=[{'id':X[_0x1c4a84(0x1cd)]['id'],'params':{'unitId':_0x418264,'subUnitId':_0x6fd555,'selections':a['Tools']['deepClone'](_0x120d43)}}],_0x3cfdf7=this['_transformService'][_0x1c4a84(0x2d7)](_0x28021a,_0x47fbc6);if(!I[_0x1c4a84(0x4a6)](_0x3cfdf7))throw _0x3cfdf7[_0x1c4a84(0x3ac)];const _0x114ad7=(_0x55711a=(_0x2cc7b0=_0x3cfdf7[_0x1c4a84(0x1c9)][0x0])==null?void 0x0:_0x2cc7b0['params'])==null?void 0x0:_0x55711a['selections'];if(Array[_0x1c4a84(0x3f3)](_0x114ad7)&&_0x114ad7[_0x1c4a84(0x24e)]){if(_0x114ad7[_0x1c4a84(0x24e)]===_0x47fbc6[0x0][_0x1c4a84(0x3b1)]['selections'][_0x1c4a84(0x24e)]&&_0x114ad7[_0x1c4a84(0x455)]((_0x2437c8,_0x59aa5e)=>a['Rectangle']['equals'](_0x2437c8[_0x1c4a84(0x2c7)],_0x47fbc6[0x0][_0x1c4a84(0x3b1)]['selections'][_0x59aa5e]['range'])))return;this['_injector'][_0x1c4a84(0x4d1)](a[_0x1c4a84(0x2e5)])['executeCommand'](X[_0x1c4a84(0x1cd)]['id'],{'unitId':_0x418264,'subUnitId':_0x6fd555,'selections':_0x114ad7});}}},exports[_0x5aed06(0x494)]=ci([De(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),De(0x1,I[_0x5aed06(0x48e)]),De(0x2,a[_0x5aed06(0x3aa)])],exports[_0x5aed06(0x494)]);const de=a[_0x5aed06(0x258)](_0x5aed06(0x3c0));var je=(_0x35e734=>(_0x35e734[_0x35e734[_0x5aed06(0x262)]=0x0]=_0x5aed06(0x262),_0x35e734[_0x35e734[_0x5aed06(0x3d5)]=0x1]=_0x5aed06(0x3d5),_0x35e734))(je||{});const _i=new Set([X[_0x5aed06(0x47d)]['id']]);function Ke(_0x5d69ac,_0x14d050,_0x45c633,_0x5e7004,_0x59b8bc){var _0x21587e=_0x5aed06,_0x25f39b,_0x6449fe,_0x3c3ce0,_0x493944;const _0x35b946=[];for(const _0x437542 of _0x5d69ac)if(_i['has'](_0x437542['id'])){if(_0x35b946[_0x21587e(0x24e)]>0x0)break;_0x35b946[_0x21587e(0x2a4)](_0x437542);break;}else _0x35b946[_0x21587e(0x2a4)](_0x437542);const _0x3c9481=(_0x6449fe=(_0x25f39b=_0x59b8bc[_0x21587e(0x30c)]())==null?void 0x0:_0x25f39b[_0x21587e(0x361)])!=null?_0x6449fe:_0x21587e(0x4d5),_0x3ad403=(_0x493944=(_0x3c3ce0=_0x59b8bc['getCurrentUser']())==null?void 0x0:_0x3c3ce0[_0x21587e(0x419)])!=null?_0x493944:_0x21587e(0x4d5);return{'changeset':{'unitID':_0x14d050,'type':I[_0x21587e(0x33f)](_0x45c633['getUnitType'](_0x14d050)),'baseRev':_0x5e7004[_0x21587e(0x1d6)](_0x14d050),'revision':0x0,'userID':_0x3c9481,'memberID':_0x3ad403,'mutations':_0x35b946},'pendingMutations':_0x5d69ac[_0x21587e(0x1fc)](_0x35b946[_0x21587e(0x24e)])};}function li(_0x3b4620,_0x3c02b8,_0x1d3c04,_0x39c315,_0x5d2cf2){var _0x1667ff=_0x5aed06,_0x215e35,_0x13d5c6,_0x52307d,_0x5a3da5;const _0x5598af=[_0x3b4620['reduce']((_0x6e3ee6,_0x1ba4bb)=>{var _0x5bbcc5=_0x156c,_0x57808a;const {id:_0x144d57}=_0x6e3ee6,{id:_0x53f215,type:_0x2b0ef1}=_0x1ba4bb,_0x35281a=(_0x57808a=_0x6e3ee6[_0x5bbcc5(0x3b1)])!=null?_0x57808a:{'actions':null},_0x13cea1=_0x1ba4bb[_0x5bbcc5(0x3b1)];if(_0x144d57&&_0x144d57!==_0x53f215)throw new Error(_0x5bbcc5(0x45f)+_0x144d57+_0x5bbcc5(0x400)+_0x53f215+'.');return{..._0x6e3ee6,'id':_0x53f215,'type':_0x2b0ef1,'params':{'unitId':_0x13cea1[_0x5bbcc5(0x3a3)],'textRanges':_0x13cea1[_0x5bbcc5(0x32f)],'actions':a[_0x5bbcc5(0x263)][_0x5bbcc5(0x1e1)](_0x35281a[_0x5bbcc5(0x186)],_0x13cea1[_0x5bbcc5(0x186)])}};},{})],_0x395735=(_0x13d5c6=(_0x215e35=_0x5d2cf2[_0x1667ff(0x30c)]())==null?void 0x0:_0x215e35[_0x1667ff(0x361)])!=null?_0x13d5c6:_0x1667ff(0x4d5),_0x2ca0be=(_0x5a3da5=(_0x52307d=_0x5d2cf2[_0x1667ff(0x30c)]())==null?void 0x0:_0x52307d[_0x1667ff(0x419)])!=null?_0x5a3da5:'unknown';return{'changeset':{'unitID':_0x3c02b8,'type':I['mapDocumentTypeToUniverType'](_0x1d3c04['getUnitType'](_0x3c02b8)),'baseRev':_0x39c315['getCurrentRevOfUnit'](_0x3c02b8),'revision':0x0,'userID':_0x395735,'memberID':_0x2ca0be,'mutations':_0x5598af},'pendingMutations':[]};}function bt(_0x48fce7,_0x2a41b5){var _0x1772a0=_0x5aed06;const _0x23aeef=new $[(_0x1772a0(0x200))](0x1);return setTimeout(()=>_0x23aeef['next'](_0x2a41b5),_0x48fce7),_0x23aeef[_0x1772a0(0x3a8)]()[_0x1772a0(0x280)]($['take'](0x1));}const ui={'id':X[_0x5aed06(0x374)]['id'],'type':a[_0x5aed06(0x21a)][_0x5aed06(0x18c)],'params':{}};var di=Object[_0x5aed06(0x206)],ae=(_0x2e5f19,_0x2293b9,_0x15746f,_0x37efea)=>{for(var _0x7f0b35=_0x37efea>0x1?void 0x0:_0x37efea?di(_0x2293b9,_0x15746f):_0x2293b9,_0x5b3bf9=_0x2e5f19['length']-0x1,_0x47c6b9;_0x5b3bf9>=0x0;_0x5b3bf9--)(_0x47c6b9=_0x2e5f19[_0x5b3bf9])&&(_0x7f0b35=_0x47c6b9(_0x7f0b35)||_0x7f0b35);return _0x7f0b35;},w=(_0x269c59,_0x660f61)=>(_0x5a9b70,_0x315b2e)=>_0x660f61(_0x5a9b70,_0x315b2e,_0x269c59),Be=(_0x453a34=>(_0x453a34[_0x5aed06(0x3c6)]=_0x5aed06(0x2cf),_0x453a34[_0x5aed06(0x4bf)]=_0x5aed06(0x3eb),_0x453a34[_0x5aed06(0x37a)]=_0x5aed06(0x1c1),_0x453a34[_0x5aed06(0x1ad)]=_0x5aed06(0x40b),_0x453a34[_0x5aed06(0x3d6)]=_0x5aed06(0x2b6),_0x453a34[_0x5aed06(0x413)]=_0x5aed06(0x350),_0x453a34[_0x5aed06(0x256)]='conflict',_0x453a34['OFFLINE']=_0x5aed06(0x315),_0x453a34))(Be||{});const Rt=0xea60;class ce{constructor(_0x4e7eb2,_0x9d97d,_0x46fc6d,_0x44a426,_0x3e187d,_0x248ef9,_0xb5cb85,_0x3d9fb8,_0x5274ec){var _0x1d4ebf=_0x5aed06;A(this,_0x1d4ebf(0x22a),null),A(this,_0x1d4ebf(0x366),[]),(this[_0x1d4ebf(0x2c5)]=_0x4e7eb2,this['type']=_0x9d97d,this['_handler']=_0x3e187d,this[_0x1d4ebf(0x38d)]=_0x248ef9,this[_0x1d4ebf(0x210)]=_0xb5cb85,this[_0x1d4ebf(0x2f7)]=_0x3d9fb8,this[_0x1d4ebf(0x49c)]=_0x5274ec,this['_awaitingChangeset']=_0x46fc6d,this['_pendingMutations']=_0x44a426);}[_0x5aed06(0x1d3)](_0x475dd5){var _0x539e29=_0x5aed06;const _0x4811cf=this[_0x539e29(0x2f7)][_0x539e29(0x1d6)](this['unitID']);return _0x475dd5['revision']>_0x4811cf+0x1?(this[_0x539e29(0x1db)]['onMissingChangesets']({'from':_0x4811cf,'to':_0x475dd5[_0x539e29(0x3c5)]-0x1}),!0x0):!0x1;}[_0x5aed06(0x323)](_0x229f86){var _0x102c06=_0x5aed06;this[_0x102c06(0x210)][_0x102c06(0x461)](this['unitID'],_0x229f86);}['_transformSelections'](_0x20e0bd){var _0x53df61=_0x5aed06,_0x48cbc5,_0x165cdc;(_0x165cdc=(_0x48cbc5=this['_handler'])[_0x53df61(0x1ab)])==null||_0x165cdc['call'](_0x48cbc5,_0x20e0bd);}[_0x5aed06(0x454)](_0x3c4c64){var _0x4de3ab=_0x5aed06,_0x27254,_0x28358c;return(_0x28358c=(_0x27254=this[_0x4de3ab(0x1db)])[_0x4de3ab(0x300)])==null?void 0x0:_0x28358c[_0x4de3ab(0x254)](_0x27254,_0x3c4c64);}[_0x5aed06(0x2b1)](_0x132497){var _0x1c5368=_0x5aed06,_0x3dd50d,_0x100a8d;return(_0x100a8d=(_0x3dd50d=this[_0x1c5368(0x1db)])[_0x1c5368(0x270)])==null?void 0x0:_0x100a8d['call'](_0x3dd50d,_0x132497);}['_transformRemoteChangesetByIMECache'](_0x1a634a){var _0x3c54fa=_0x5aed06,_0x3edebb,_0x195d10,_0x3c97a7;return(_0x3c97a7=(_0x195d10=(_0x3edebb=this[_0x3c54fa(0x1db)])[_0x3c54fa(0x3d2)])==null?void 0x0:_0x195d10[_0x3c54fa(0x254)](_0x3edebb,_0x1a634a))!=null?_0x3c97a7:_0x1a634a;}[_0x5aed06(0x427)](_0x36fb9a){var _0x2bcb48=_0x5aed06,_0xf33759,_0x22f51e,_0x30cd95;return(_0x30cd95=(_0x22f51e=(_0xf33759=this[_0x2bcb48(0x1db)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x22f51e[_0x2bcb48(0x254)](_0xf33759,_0x36fb9a))!=null?_0x30cd95:_0x36fb9a;}[_0x5aed06(0x3dd)](_0x3753e3){var _0x5c1250=_0x5aed06,_0x17570c,_0x1ee3ba;if(this[_0x5c1250(0x3f6)]===J[_0x5c1250(0x1f3)]){const {unitID:_0x4e51a0,mutations:_0x38fc57,memberID:_0x36830d}=_0x3753e3,_0x15171d=_0x38fc57[0x0][_0x5c1250(0x3b1)][_0x5c1250(0x32f)];Array[_0x5c1250(0x3f3)](_0x15171d)&&_0x15171d[_0x5c1250(0x24e)]>0x0&&((_0x1ee3ba=(_0x17570c=this[_0x5c1250(0x1db)])[_0x5c1250(0x314)])==null||_0x1ee3ba[_0x5c1250(0x254)](_0x17570c,{'unitID':_0x4e51a0,'memberID':_0x36830d,'textRanges':_0x15171d}));}}[_0x5aed06(0x308)](){var _0x2cc9ff=_0x5aed06,_0x2a7998;(_0x2a7998=this['_localCacheService'])==null||_0x2a7998[_0x2cc9ff(0x2d9)](this['unitID'],this['type'],this[_0x2cc9ff(0x22a)],this[_0x2cc9ff(0x366)]);}[_0x5aed06(0x41b)](){var _0x2b46cd=_0x5aed06;return this[_0x2b46cd(0x2f7)]['getCurrentRevOfUnit'](this[_0x2b46cd(0x2c5)]);}[_0x5aed06(0x2df)](){var _0x1668a3=_0x5aed06;this[_0x1668a3(0x2f7)][_0x1668a3(0x28b)](this[_0x1668a3(0x2c5)]);}[_0x5aed06(0x2cd)](_0x1bb0d7){var _0x3241dc=_0x5aed06,_0x224c8a;let _0x3b4c5e=this[_0x3241dc(0x1b5)](_0x1bb0d7);_0x3b4c5e=this[_0x3241dc(0x427)](_0x3b4c5e);const _0xdfad95=a[_0x3241dc(0x3f0)](_0x3b4c5e[_0x3241dc(0x42d)],this[_0x3241dc(0x38d)],{'fromCollab':!0x0});if(!_0xdfad95['result'])throw _0xdfad95[_0x3241dc(0x3ac)]instanceof Error?_0xdfad95[_0x3241dc(0x3ac)]:new Error((_0x224c8a=_0xdfad95[_0x3241dc(0x3ac)])!=null?_0x224c8a:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x3b4c5e),this['_transformStateCache'](_0x3b4c5e),this[_0x3241dc(0x323)](_0x1bb0d7),this['_transformSelections'](_0x3b4c5e),this[_0x3241dc(0x3dd)](_0x3b4c5e),this['_incrementRevisionNumber']();}}exports[_0x5aed06(0x28a)]=class extends ce{constructor(_0x5c1e86,_0x9a28a1,_0x1b2b31,_0x16dca6,_0x5260dc,_0x23e4f7,_0x314f38,_0xe1036,_0x3c368d,_0x5edd20){var _0x3ce6ca=_0x5aed06;super(_0x5c1e86,_0x9a28a1,null,[],_0x1b2b31,_0x314f38,_0x23e4f7,_0x16dca6,_0x5edd20),A(this,'status',_0x3ce6ca(0x3eb)),(this[_0x3ce6ca(0x1a3)]=_0x5260dc,this[_0x3ce6ca(0x496)]=_0xe1036,this[_0x3ce6ca(0x4be)]=_0x3c368d,this['localCacheService']=_0x5edd20);}['appendMutation'](_0x5ef22a){var _0x2bd3e2=_0x5aed06;const _0x58a1d8=this[_0x2bd3e2(0x1a3)][_0x2bd3e2(0x3d9)](exports[_0x2bd3e2(0x26f)],this[_0x2bd3e2(0x2c5)],this['type'],[_0x5ef22a],this[_0x2bd3e2(0x1db)]);return _0x58a1d8['_schedule'](),_0x58a1d8[_0x2bd3e2(0x308)](),_0x58a1d8;}[_0x5aed06(0x428)](_0x4b249f){var _0x10276b=_0x5aed06;if(this[_0x10276b(0x1d3)](_0x4b249f))return this[_0x10276b(0x1a3)][_0x10276b(0x3d9)](exports['FetchingMissState'],this[_0x10276b(0x2c5)],this[_0x10276b(0x3f6)],null,[],null,[_0x4b249f],this[_0x10276b(0x1db)]);try{const _0x2ed26a=this[_0x10276b(0x4be)][_0x10276b(0x2d7)](_0x4b249f,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0x2ed26a)){const {c1Prime:_0x26df7c}=_0x2ed26a;return this[_0x10276b(0x2cd)](_0x26df7c),this;}throw _0x2ed26a[_0x10276b(0x3ac)];}catch(_0x44a007){return this['_logService'][_0x10276b(0x3ac)](_0x44a007),this[_0x10276b(0x343)](!0x1);}}['_onConflict'](_0x243859){var _0x4be0df=_0x5aed06;return this[_0x4be0df(0x1a3)][_0x4be0df(0x3d9)](exports[_0x4be0df(0x3bb)],this[_0x4be0df(0x2c5)],this['type'],null,[],this['_handler'],_0x243859);}[_0x5aed06(0x425)](){var _0x14f658=_0x5aed06;throw new Error(_0x14f658(0x2e2));}[_0x5aed06(0x41e)](){var _0xb987b3=_0x5aed06;throw new Error(_0xb987b3(0x23f));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x9ecffe=_0x5aed06;return this[_0x9ecffe(0x1a3)][_0x9ecffe(0x3d9)](exports['OfflineState'],this[_0x9ecffe(0x2c5)],this[_0x9ecffe(0x3f6)],null,[],this['_handler']);}[_0x5aed06(0x369)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x391)](){var _0x35b3c9=_0x5aed06;const _0x4d8b55=this[_0x35b3c9(0x2f7)][_0x35b3c9(0x1d6)](this[_0x35b3c9(0x2c5)]);return this['_handler'][_0x35b3c9(0x3ae)]({'from':_0x4d8b55,'to':0x0}),this[_0x35b3c9(0x1a3)][_0x35b3c9(0x3d9)](exports[_0x35b3c9(0x4d2)],this[_0x35b3c9(0x2c5)],this[_0x35b3c9(0x3f6)],null,[],null,[],this[_0x35b3c9(0x1db)]);}},exports['SyncedState']=ae([w(0x3,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4d7)])),w(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x5,a[_0x5aed06(0x44d)]),w(0x6,a['ICommandService']),w(0x7,a[_0x5aed06(0x2c4)]),w(0x8,I[_0x5aed06(0x48e)]),w(0x9,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x28a)]),exports[_0x5aed06(0x26f)]=class extends ce{constructor(_0x138a45,_0x3a0ed1,_0x502a2e,_0x5db7c9,_0x48b2b5,_0x400a4c,_0x33b682,_0x41d165,_0x203b60,_0xf1126,_0x4e46,_0x3a1575,_0x2c1c61,_0x3a84a8){var _0x3aaedf=_0x5aed06;super(_0x138a45,_0x3a0ed1,null,_0x502a2e,_0x5db7c9,_0x203b60,_0x2c1c61,_0x400a4c,_0x3a84a8),A(this,_0x3aaedf(0x282),_0x3aaedf(0x1c1)),A(this,_0x3aaedf(0x4dd),null),A(this,_0x3aaedf(0x468),null),(this[_0x3aaedf(0x1a3)]=_0x48b2b5,this[_0x3aaedf(0x2bf)]=_0x33b682,this[_0x3aaedf(0x496)]=_0x41d165,this[_0x3aaedf(0x26c)]=_0xf1126,this['_transformService']=_0x4e46,this['_univerInstanceService']=_0x3a1575);}[_0x5aed06(0x4ce)](_0x339d09){var _0x57723a=_0x5aed06;return this[_0x57723a(0x366)][_0x57723a(0x2a4)](_0x339d09),this[_0x57723a(0x308)](),this;}[_0x5aed06(0x428)](_0x59714b){var _0x452663=_0x5aed06;if(this[_0x452663(0x1d3)](_0x59714b))return this[_0x452663(0x4d3)](),this[_0x452663(0x1a3)][_0x452663(0x3d9)](exports[_0x452663(0x4d2)],this[_0x452663(0x2c5)],this['type'],null,this['_pendingMutations'],null,[_0x59714b],this[_0x452663(0x1db)]);try{const _0x285e37=this[_0x452663(0x4be)][_0x452663(0x2d7)](_0x59714b,this[_0x452663(0x366)]);if(I[_0x452663(0x4a6)](_0x285e37)){const {c1Prime:_0x323b2f,m2Prime:_0x2050f7}=_0x285e37;this[_0x452663(0x2cd)](_0x323b2f);const _0x5aedf0=this[_0x452663(0x1a3)][_0x452663(0x3d9)](exports[_0x452663(0x26f)],this['unitID'],this[_0x452663(0x3f6)],_0x2050f7,this[_0x452663(0x1db)]);this[_0x452663(0x4d3)]();const _0x1f6a38=new Date()[_0x452663(0x287)](),_0x258192=this[_0x452663(0x4dd)]?Math[_0x452663(0x20f)](this[_0x452663(0x4dd)]-_0x1f6a38,0x0):this[_0x452663(0x4e3)]();return _0x5aedf0[_0x452663(0x1ca)](_0x258192),_0x5aedf0;}throw _0x285e37[_0x452663(0x3ac)];}catch(_0x2aae42){return this['_logService'][_0x452663(0x3ac)](_0x2aae42),this[_0x452663(0x343)](!0x1);}}[_0x5aed06(0x425)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5aed06(0x41e)](){var _0x4a20c8=_0x5aed06;throw new Error(_0x4a20c8(0x34c));}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){var _0x59bd20=_0x5aed06;return this[_0x59bd20(0x4d3)](),this['_injector'][_0x59bd20(0x3d9)](exports[_0x59bd20(0x212)],this[_0x59bd20(0x2c5)],this[_0x59bd20(0x3f6)],null,this['_pendingMutations'],this['_handler']);}[_0x5aed06(0x369)](){return this;}['_schedule'](_0x4f4414){var _0x31d6f7=_0x5aed06;const _0x41e5d5=_0x4f4414!=null?_0x4f4414:this[_0x31d6f7(0x4e3)]();this[_0x31d6f7(0x4dd)]=new Date()[_0x31d6f7(0x287)]()+_0x41e5d5,this['_sendingTimer']=setTimeout(()=>{var _0x2e8bb2=_0x31d6f7;this[_0x2e8bb2(0x4d3)]();let _0x2dba73=null;switch(this[_0x2e8bb2(0x3f6)]){case J[_0x2e8bb2(0x1de)]:{_0x2dba73=Ke(this['_pendingMutations'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this['_revisionService'],this['_memberService']);break;}case J['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x3b07d0=>_0x3b07d0['id']===ht[_0x2e8bb2(0x269)]['id'])?_0x2dba73=li(this['_pendingMutations'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this[_0x2e8bb2(0x2f7)],this[_0x2e8bb2(0x2bf)]):_0x2dba73=Ke(this[_0x2e8bb2(0x366)],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3a6)],this[_0x2e8bb2(0x2f7)],this[_0x2e8bb2(0x2bf)]);break;}default:throw new Error(_0x2e8bb2(0x175)+this[_0x2e8bb2(0x3f6)]+'\x20in\x20_schedule.');}const {changeset:_0x362e27,pendingMutations:_0x558306}=_0x2dba73;this[_0x2e8bb2(0x1db)][_0x2e8bb2(0x21b)](_0x362e27);const _0x5db3c8=_0x558306[_0x2e8bb2(0x24e)]?this[_0x2e8bb2(0x1a3)][_0x2e8bb2(0x3d9)](exports['AwaitingWithPendingState'],this[_0x2e8bb2(0x2c5)],this[_0x2e8bb2(0x3f6)],_0x362e27,_0x558306,this[_0x2e8bb2(0x1db)],void 0x0):this[_0x2e8bb2(0x1a3)][_0x2e8bb2(0x3d9)](exports['AwaitingState'],this['unitID'],this[_0x2e8bb2(0x3f6)],_0x362e27,this[_0x2e8bb2(0x1db)]);_0x5db3c8['_updateLocalCache'](),this['_handler'][_0x2e8bb2(0x334)](this,_0x5db3c8);},_0x41e5d5);}[_0x5aed06(0x4e3)](){var _0x15136f=_0x5aed06,_0x1304ff;const _0x2d0a05=this[_0x15136f(0x26c)][_0x15136f(0x327)](K);return(_0x1304ff=_0x2d0a05==null?void 0x0:_0x2d0a05[_0x15136f(0x39e)])!=null?_0x1304ff:xt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x4d3)](){var _0x4d5f45=_0x5aed06;this[_0x4d5f45(0x468)]!=null&&(clearTimeout(this[_0x4d5f45(0x468)]),this[_0x4d5f45(0x468)]=null);}['_onConflict'](_0x696104){var _0x19b72f=_0x5aed06;return this[_0x19b72f(0x4d3)](),this[_0x19b72f(0x1a3)][_0x19b72f(0x3d9)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x19b72f(0x366)],this[_0x19b72f(0x1db)],_0x696104);}},exports[_0x5aed06(0x26f)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a[_0x5aed06(0x46b)](exports[_0x5aed06(0x195)])),w(0x7,a[_0x5aed06(0x2c4)]),w(0x8,a[_0x5aed06(0x2e5)]),w(0x9,a['IConfigService']),w(0xa,I[_0x5aed06(0x48e)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x5aed06(0x44d)]),w(0xd,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x26f)]),exports[_0x5aed06(0x294)]=class extends ce{constructor(_0x27e0a1,_0x7c8969,_0x52a476,_0x1f3240,_0x472dfb,_0x160099,_0x3cf400,_0x5016b4,_0x248c0d,_0x337abf,_0x74135f){var _0x5e2d8c=_0x5aed06;super(_0x27e0a1,_0x7c8969,_0x52a476,[],_0x1f3240,_0x3cf400,_0x337abf,_0x160099,_0x74135f),A(this,'status','awaiting'),A(this,_0x5e2d8c(0x1b9),0x0),A(this,'_resendTimer'),A(this,_0x5e2d8c(0x39b)),(this[_0x5e2d8c(0x1a3)]=_0x472dfb,this[_0x5e2d8c(0x496)]=_0x5016b4,this[_0x5e2d8c(0x4be)]=_0x248c0d);}['appendMutation'](_0x100380){var _0x196c47=_0x5aed06;this[_0x196c47(0x4d3)]();const _0x3839fc=this['_injector'][_0x196c47(0x3d9)](exports[_0x196c47(0x2fa)],this[_0x196c47(0x2c5)],this[_0x196c47(0x3f6)],this[_0x196c47(0x22a)],[_0x100380],this['_handler'],this[_0x196c47(0x1c3)]);return _0x3839fc['_updateLocalCache'](),_0x3839fc;}['onRemoteChangeset'](_0x37526e){var _0x2feaa9=_0x5aed06;if(this[_0x2feaa9(0x1d3)](_0x37526e))return this['_clearScheduledTask'](),this[_0x2feaa9(0x1a3)][_0x2feaa9(0x3d9)](exports['FetchingMissState'],this[_0x2feaa9(0x2c5)],this[_0x2feaa9(0x3f6)],this[_0x2feaa9(0x22a)],[],null,[_0x37526e],this[_0x2feaa9(0x1db)]);try{const _0x37f956=this[_0x2feaa9(0x4be)][_0x2feaa9(0x346)]([_0x37526e],[this[_0x2feaa9(0x22a)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x37f956)){const {c1Prime:_0x1040f4,c2Prime:_0x499d76}=_0x37f956;this[_0x2feaa9(0x2cd)](_0x1040f4[0x0]),_0x499d76[0x0][_0x2feaa9(0x2d3)]=this[_0x2feaa9(0x41b)](),this[_0x2feaa9(0x4d3)]();const _0x4bf227=this[_0x2feaa9(0x1a3)][_0x2feaa9(0x3d9)](exports[_0x2feaa9(0x294)],this[_0x2feaa9(0x2c5)],this[_0x2feaa9(0x3f6)],_0x499d76[0x0],this[_0x2feaa9(0x1db)]);return _0x4bf227[_0x2feaa9(0x308)](),_0x4bf227;}return this[_0x2feaa9(0x343)](!0x1);}catch(_0x54620b){return this['_logService'][_0x2feaa9(0x3ac)](_0x54620b),this[_0x2feaa9(0x343)](!0x1);}}['onRemoteAck'](_0x28569f){var _0x3a5881=_0x5aed06;this[_0x3a5881(0x4d3)]();const _0x2613ec=this['_revisionService'][_0x3a5881(0x1d6)](this[_0x3a5881(0x2c5)]);if(_0x28569f[_0x3a5881(0x3c5)]<_0x2613ec-0x1)return this;if(this[_0x3a5881(0x1d3)](_0x28569f))return this[_0x3a5881(0x1a3)][_0x3a5881(0x3d9)](exports[_0x3a5881(0x4d2)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x3a5881(0x1db)]);this[_0x3a5881(0x2df)]();const _0x31544e=this[_0x3a5881(0x1a3)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x3a5881(0x3f6)],this[_0x3a5881(0x1db)]);return _0x31544e[_0x3a5881(0x308)](),_0x31544e;}[_0x5aed06(0x41e)](_0x3bd1f1){var _0x3dacc5=_0x5aed06;return this[_0x3dacc5(0x343)](!!(_0x3bd1f1!=null&&_0x3bd1f1[_0x3dacc5(0x277)]));}[_0x5aed06(0x470)](_0x2604b4){var _0x3ee1f6=_0x5aed06;return this[_0x3ee1f6(0x1b9)]>Rt?this['toggleOffline']():(this[_0x3ee1f6(0x1c3)]=bt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x2604b4[_0x3ee1f6(0x441)]}),this[_0x3ee1f6(0x39b)]=this['_resendTimer']['subscribe'](({reqId:_0x288696,timeout:_0x16c934})=>{var _0x3811cd=_0x3ee1f6;this[_0x3811cd(0x2d1)](_0x288696,_0x16c934);}),this);}[_0x5aed06(0x26b)](){var _0x2f99f1=_0x5aed06;return this[_0x2f99f1(0x4d3)](),this['_injector']['createInstance'](exports[_0x2f99f1(0x212)],this[_0x2f99f1(0x2c5)],this[_0x2f99f1(0x3f6)],this[_0x2f99f1(0x22a)],[],this[_0x2f99f1(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x2a8)](){var _0xca17f2=_0x5aed06;this[_0xca17f2(0x1db)][_0xca17f2(0x21b)](this[_0xca17f2(0x22a)]);}[_0x5aed06(0x343)](_0xcaf2b1){var _0x8af10e=_0x5aed06;return this[_0x8af10e(0x4d3)](),this[_0x8af10e(0x1a3)][_0x8af10e(0x3d9)](exports[_0x8af10e(0x3bb)],this[_0x8af10e(0x2c5)],this[_0x8af10e(0x3f6)],this[_0x8af10e(0x22a)],[],this[_0x8af10e(0x1db)],_0xcaf2b1);}[_0x5aed06(0x2d1)](_0x1b6aea,_0x4cfe8c){var _0x445fb2=_0x5aed06,_0x49387d;_0x1b6aea===((_0x49387d=this[_0x445fb2(0x22a)])==null?void 0x0:_0x49387d[_0x445fb2(0x441)])&&(this['resend'](),this[_0x445fb2(0x1b9)]=_0x4cfe8c===0x0?0x3e8:_0x4cfe8c*0x2);}[_0x5aed06(0x4d3)](){var _0x1dc74c=_0x5aed06,_0x322b55;(_0x322b55=this['_sender'])==null||_0x322b55[_0x1dc74c(0x41f)](),this['_resendTimeout']=0x0;}},exports[_0x5aed06(0x294)]=ae([w(0x4,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x5,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4d7)])),w(0x6,a[_0x5aed06(0x2e5)]),w(0x7,a['ILogService']),w(0x8,I[_0x5aed06(0x48e)]),w(0x9,a[_0x5aed06(0x44d)]),w(0xa,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x294)]),exports[_0x5aed06(0x2fa)]=class extends ce{constructor(_0x4db40e,_0x3f18ca,_0x16a62e,_0x379dda,_0x15d190,_0x3fb5ed,_0x45ec0b,_0x481050,_0x4535d9,_0x5cfcb9,_0x59773d,_0x1529d7,_0x39f77f){var _0x52e085=_0x5aed06;super(_0x4db40e,_0x3f18ca,_0x16a62e,_0x379dda,_0x15d190,_0x4535d9,_0x1529d7,_0x481050,_0x39f77f),A(this,_0x52e085(0x282),'awaiting_with_pending'),A(this,_0x52e085(0x1b9),0x0),A(this,_0x52e085(0x1c3)),A(this,_0x52e085(0x39b)),(this[_0x52e085(0x1a3)]=_0x45ec0b,this[_0x52e085(0x496)]=_0x5cfcb9,this[_0x52e085(0x4be)]=_0x59773d,this[_0x52e085(0x49a)]=_0x39f77f,_0x3fb5ed&&(this[_0x52e085(0x1c3)]=_0x3fb5ed,this['_sender']=this[_0x52e085(0x1c3)][_0x52e085(0x284)](({reqId:_0x30dae1,timeout:_0xf41f43})=>{var _0xb5c3c4=_0x52e085;this[_0xb5c3c4(0x2d1)](_0x30dae1,_0xf41f43);})));}['appendMutation'](_0x578b82){var _0x3b8a8d=_0x5aed06;return this['_pendingMutations'][_0x3b8a8d(0x2a4)](_0x578b82),this;}[_0x5aed06(0x428)](_0x4cc7a2){var _0x24c202=_0x5aed06;if(this[_0x24c202(0x1d3)](_0x4cc7a2))return this[_0x24c202(0x4d3)](),this[_0x24c202(0x1a3)][_0x24c202(0x3d9)](exports[_0x24c202(0x4d2)],this[_0x24c202(0x2c5)],this[_0x24c202(0x3f6)],this['_awaitingChangeset'],this[_0x24c202(0x366)],null,[_0x4cc7a2],this[_0x24c202(0x1db)]);try{const _0x124c85=this[_0x24c202(0x4be)][_0x24c202(0x346)]([_0x4cc7a2],[this['_awaitingChangeset']],!0x1);if(I['isTransformChangesetsSuccess'](_0x124c85)){const {c1Prime:_0x7484d3,c2Prime:_0x25df3a}=_0x124c85,_0xb94409=this[_0x24c202(0x4be)][_0x24c202(0x2d7)](_0x7484d3[0x0],this['_pendingMutations']);if(I[_0x24c202(0x4a6)](_0xb94409)){const {c1Prime:_0x61dc93,m2Prime:_0xb378dc}=_0xb94409;return this[_0x24c202(0x2cd)](_0x61dc93),_0x25df3a[0x0]['baseRev']=this[_0x24c202(0x41b)](),this[_0x24c202(0x4d3)](),this[_0x24c202(0x1a3)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x24c202(0x3f6)],_0x25df3a[0x0],_0xb378dc,this[_0x24c202(0x1db)],void 0x0);}throw _0xb94409[_0x24c202(0x3ac)];}throw _0x124c85['error'];}catch(_0x46e484){return this[_0x24c202(0x496)]['error'](_0x46e484),this[_0x24c202(0x343)](!0x1);}}[_0x5aed06(0x425)](_0x331e46){var _0x4fc702=_0x5aed06;if(this[_0x4fc702(0x4d3)](),this['_checkMissing'](_0x331e46))return this[_0x4fc702(0x1a3)][_0x4fc702(0x3d9)](exports[_0x4fc702(0x4d2)],this[_0x4fc702(0x2c5)],this[_0x4fc702(0x3f6)],null,this[_0x4fc702(0x366)],this['_awaitingChangeset'],[],this[_0x4fc702(0x1db)]);this['_incrementRevisionNumber']();const _0x440f93=this[_0x4fc702(0x1a3)][_0x4fc702(0x3d9)](exports[_0x4fc702(0x26f)],this['unitID'],this[_0x4fc702(0x3f6)],this[_0x4fc702(0x366)],this['_handler']);return _0x440f93[_0x4fc702(0x1ca)](),_0x440f93['_updateLocalCache'](),_0x440f93;}[_0x5aed06(0x41e)](_0x8a624e){var _0x5deddf=_0x5aed06;return this[_0x5deddf(0x343)](!!(_0x8a624e!=null&&_0x8a624e[_0x5deddf(0x277)]));}[_0x5aed06(0x470)](_0x143649){var _0xe1bb16=_0x5aed06;return this[_0xe1bb16(0x1b9)]>Rt?this[_0xe1bb16(0x26b)]():(this['_resendTimer']=bt(this[_0xe1bb16(0x1b9)],{'timeout':this[_0xe1bb16(0x1b9)],'reqId':_0x143649['reqId']}),this[_0xe1bb16(0x39b)]=this['_resendTimer'][_0xe1bb16(0x284)](({reqId:_0x3dabeb,timeout:_0x18161c})=>{var _0x152da1=_0xe1bb16;this[_0x152da1(0x2d1)](_0x3dabeb,_0x18161c);}),this);}[_0x5aed06(0x26b)](){var _0x30b5a5=_0x5aed06;return this[_0x30b5a5(0x4d3)](),this[_0x30b5a5(0x1a3)][_0x30b5a5(0x3d9)](exports[_0x30b5a5(0x212)],this[_0x30b5a5(0x2c5)],this[_0x30b5a5(0x3f6)],this[_0x30b5a5(0x22a)],this[_0x30b5a5(0x366)],this[_0x30b5a5(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x2a8)](){var _0x217e4a=_0x5aed06;this[_0x217e4a(0x1db)][_0x217e4a(0x21b)](this[_0x217e4a(0x22a)]);}[_0x5aed06(0x343)](_0x2ccc56){var _0x2e6c7e=_0x5aed06;return this[_0x2e6c7e(0x4d3)](),this[_0x2e6c7e(0x1a3)][_0x2e6c7e(0x3d9)](exports['ConflictState'],this[_0x2e6c7e(0x2c5)],this[_0x2e6c7e(0x3f6)],null,this[_0x2e6c7e(0x366)],this[_0x2e6c7e(0x1db)],_0x2ccc56);}[_0x5aed06(0x2d1)](_0x362c4f,_0x1bf3f3){var _0x369232=_0x5aed06,_0x3f9c05;_0x362c4f===((_0x3f9c05=this[_0x369232(0x22a)])==null?void 0x0:_0x3f9c05[_0x369232(0x441)])&&(this[_0x369232(0x2a8)](),this['_resendTimeout']=_0x1bf3f3===0x0?0x3e8:_0x1bf3f3*0x2);}[_0x5aed06(0x4d3)](){var _0x1b5612=_0x5aed06,_0x10ebd4;(_0x10ebd4=this['_sender'])==null||_0x10ebd4[_0x1b5612(0x41f)](),this[_0x1b5612(0x1b9)]=0x0;}},exports[_0x5aed06(0x2fa)]=ae([w(0x6,a['Inject'](a['Injector'])),w(0x7,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0x8,a[_0x5aed06(0x2e5)]),w(0x9,a[_0x5aed06(0x2c4)]),w(0xa,I[_0x5aed06(0x48e)]),w(0xb,a[_0x5aed06(0x44d)]),w(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2fa)]),exports[_0x5aed06(0x3bb)]=class extends ce{constructor(_0x55b966,_0x3be233,_0x273d13,_0xe4bc1f,_0x39ba72,_0x1d024b=!0x1,_0x32fd47,_0x36d814,_0x12624b,_0x1ce939,_0xa39e57,_0x2f6256,_0x5f1dd0){var _0x196de8=_0x5aed06;super(_0x55b966,_0x3be233,_0x273d13,_0xe4bc1f,_0x39ba72,_0x36d814,_0x12624b,_0x1ce939,_0x5f1dd0),A(this,'status',_0x196de8(0x213)),(this[_0x196de8(0x29a)]=_0x1d024b,this['_permissionService']=_0x32fd47,this[_0x196de8(0x446)]=_0xa39e57,this[_0x196de8(0x45c)]=_0x2f6256,this[_0x196de8(0x49a)]=_0x5f1dd0,this[_0x196de8(0x32c)](),this[_0x196de8(0x1f0)](),this[_0x196de8(0x45e)]());}['appendMutation'](){return this;}[_0x5aed06(0x428)](){return this;}[_0x5aed06(0x425)](){return this;}['onRemoteRej'](){return this;}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){return this;}[_0x5aed06(0x369)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x1f0)](){var _0xd92f2e=_0x5aed06,_0x121112;(_0x121112=this[_0xd92f2e(0x49c)])==null||_0x121112[_0xd92f2e(0x2d9)](this[_0xd92f2e(0x2c5)],this[_0xd92f2e(0x3f6)],null,[]);}[_0x5aed06(0x32c)](){var _0x3580de=_0x5aed06;this[_0x3580de(0x29a)]?this[_0x3580de(0x45c)]['emitEvent']({'id':Z[_0x3580de(0x349)]}):this['_collaborationUIEventService'][_0x3580de(0x182)]({'id':Z[_0x3580de(0x256)]});}[_0x5aed06(0x45e)](){var _0xb8d881=_0x5aed06;this[_0xb8d881(0x303)]['updatePermissionPoint'](new X[(_0xb8d881(0x45b))](this['unitID'])['id'],!0x1);}},exports[_0x5aed06(0x3bb)]=ae([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x5aed06(0x2e5)]),w(0x8,a[_0x5aed06(0x44d)]),w(0x9,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0xa,a[_0x5aed06(0x46b)](a['LocaleService'])),w(0xb,a[_0x5aed06(0x46b)](ee)),w(0xc,a[_0x5aed06(0x36d)](q))],exports['ConflictState']),exports[_0x5aed06(0x212)]=class extends ce{constructor(_0x1f48eb,_0x15c520,_0x3d91e5,_0x25d4a4,_0x354a4b,_0x1d5b40,_0x4cc63e,_0x1f6418,_0x389e1c,_0x155516){var _0xc2780d=_0x5aed06;super(_0x1f48eb,_0x15c520,_0x3d91e5,_0x25d4a4,_0x354a4b,_0x1f6418,_0x389e1c,_0x4cc63e,_0x155516),A(this,_0xc2780d(0x282),_0xc2780d(0x315)),this[_0xc2780d(0x1a3)]=_0x1d5b40;}[_0x5aed06(0x4ce)](_0x1af2a4){var _0x58c07f=_0x5aed06;return this[_0x58c07f(0x366)][_0x58c07f(0x2a4)](_0x1af2a4),this[_0x58c07f(0x308)](),this;}[_0x5aed06(0x428)](_0x4b4e6a){var _0x1db604=_0x5aed06;throw new Error(_0x1db604(0x362));}[_0x5aed06(0x425)](){var _0x52827b=_0x5aed06;throw new Error(_0x52827b(0x17e));}[_0x5aed06(0x41e)](){var _0x410013=_0x5aed06;throw new Error(_0x410013(0x3bc));}[_0x5aed06(0x470)](){return this;}[_0x5aed06(0x26b)](){return this;}[_0x5aed06(0x369)](){var _0x116663=_0x5aed06;const {_injector:_0x4ce111,_pendingMutations:_0x52eec5,_awaitingChangeset:_0x3c35e5,unitID:_0x1d90ed,_handler:_0x2a321a,type:_0x33462b}=this,_0x4cec77=Ot(_0x4ce111,_0x1d90ed,_0x33462b,_0x3c35e5,_0x52eec5,_0x2a321a);return _0x4cec77 instanceof exports[_0x116663(0x26f)]?_0x4cec77['_schedule']():(_0x4cec77 instanceof exports[_0x116663(0x2fa)]||_0x4cec77 instanceof exports[_0x116663(0x294)])&&_0x4cec77['resend'](),_0x4cec77;}[_0x5aed06(0x2a8)](){var _0x5f3b64=_0x5aed06;throw new Error(_0x5f3b64(0x319));}},exports['OfflineState']=ae([w(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x6,a['Inject'](I[_0x5aed06(0x4d7)])),w(0x7,a[_0x5aed06(0x2e5)]),w(0x8,a[_0x5aed06(0x44d)]),w(0x9,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x212)]),exports[_0x5aed06(0x4d2)]=class extends ce{constructor(_0x325a81,_0x398f80,_0x56f12b,_0x205b45,_0x1a5312,_0x10a20e,_0xe26f4b,_0x157121,_0x4487d9,_0x5de862,_0x548dbc,_0x927ab,_0x223721,_0x2ddbd4){var _0x484ba0=_0x5aed06;super(_0x325a81,_0x398f80,_0x56f12b,_0x205b45,_0xe26f4b,_0x548dbc,_0x927ab,_0x4487d9,_0x2ddbd4),A(this,_0x484ba0(0x282),_0x484ba0(0x350)),(this['_acknowledgedAwaitingChangeset']=_0x1a5312,this[_0x484ba0(0x31c)]=_0x10a20e,this[_0x484ba0(0x1a3)]=_0x157121,this[_0x484ba0(0x496)]=_0x5de862,this['_transformService']=_0x223721,this['localCacheService']=_0x2ddbd4);}['onMissedChangesetFetched'](_0x588dcc){var _0x2929ed=_0x5aed06;try{const _0x4f85e2=[..._0x588dcc,...this[_0x2929ed(0x31c)]],_0x3c153e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2929ed(0x4c1)](_0x2f01ad=>!!_0x2f01ad);let _0x203e02,_0x3ca60f;if(_0x3c153e[_0x2929ed(0x24e)]){const _0x1d123a=this[_0x2929ed(0x4be)][_0x2929ed(0x346)](_0x4f85e2,_0x3c153e,!0x1);if(!I['isTransformChangesetsSuccess'](_0x1d123a))throw _0x1d123a[_0x2929ed(0x3ac)];_0x203e02=_0x1d123a['c1Prime'],_0x3ca60f=_0x1d123a[_0x2929ed(0x3e9)];}else _0x203e02=_0x4f85e2,_0x3ca60f=[];let _0x254819=this[_0x2929ed(0x366)];_0x203e02[_0x2929ed(0x4d4)](_0x4af437=>{var _0x305538=_0x2929ed;let _0x2728d4;if(_0x254819['length']){const _0x394f2e=this[_0x305538(0x4be)][_0x305538(0x2d7)](_0x4af437,_0x254819);if(!I['isTransformMutationsWithChangesetSuccess'](_0x394f2e))throw _0x394f2e[_0x305538(0x3ac)];_0x2728d4=_0x394f2e[_0x305538(0x460)],_0x254819=_0x394f2e[_0x305538(0x1c9)];}else _0x2728d4=_0x4af437;this[_0x305538(0x2cd)](_0x2728d4);}),this[_0x2929ed(0x2dd)]&&this[_0x2929ed(0x2df)](),this[_0x2929ed(0x22a)]&&_0x3ca60f[_0x2929ed(0x24e)]&&(_0x3ca60f[0x0]['baseRev']=this[_0x2929ed(0x41b)]());let _0x25ba97;if(this[_0x2929ed(0x22a)]&&_0x254819[_0x2929ed(0x24e)]!==0x0)_0x25ba97=this[_0x2929ed(0x1a3)][_0x2929ed(0x3d9)](exports[_0x2929ed(0x2fa)],this[_0x2929ed(0x2c5)],this['type'],_0x3ca60f[0x0],_0x254819,this[_0x2929ed(0x1db)],void 0x0);else{if(this[_0x2929ed(0x22a)]&&_0x254819[_0x2929ed(0x24e)]===0x0)_0x3ca60f[0x0]['baseRev']=this[_0x2929ed(0x41b)](),_0x25ba97=this['_injector'][_0x2929ed(0x3d9)](exports[_0x2929ed(0x294)],this['unitID'],this[_0x2929ed(0x3f6)],_0x3ca60f[0x0],this[_0x2929ed(0x1db)]);else{if(_0x254819[_0x2929ed(0x24e)]!==0x0){const _0x30491d=this['_injector'][_0x2929ed(0x3d9)](exports[_0x2929ed(0x26f)],this[_0x2929ed(0x2c5)],this[_0x2929ed(0x3f6)],_0x254819,this[_0x2929ed(0x1db)]);_0x30491d['_schedule'](),_0x25ba97=_0x30491d;}else _0x25ba97=this[_0x2929ed(0x1a3)][_0x2929ed(0x3d9)](exports['SyncedState'],this['unitID'],this['type'],this[_0x2929ed(0x1db)]);}}return _0x25ba97[_0x2929ed(0x308)](),_0x25ba97;}catch(_0x5cf905){return this[_0x2929ed(0x496)][_0x2929ed(0x3ac)](_0x2929ed(0x1f2),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5cf905),this[_0x2929ed(0x1a3)]['createInstance'](exports[_0x2929ed(0x3bb)],this['unitID'],this[_0x2929ed(0x3f6)],this['_awaitingChangeset'],this[_0x2929ed(0x366)],this[_0x2929ed(0x1db)],!0x1);}}[_0x5aed06(0x2a8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5aed06(0x4ce)](_0x4ad968){var _0x1ec643=_0x5aed06;return this[_0x1ec643(0x366)]['push'](_0x4ad968),this;}[_0x5aed06(0x428)](_0x32cd54){var _0x2ae0cf=_0x5aed06;return this['_queuedRemoteChangesets'][_0x2ae0cf(0x2a4)](_0x32cd54),this;}['onRemoteAck'](_0x4ba195){var _0x32ef6e=_0x5aed06;if(this[_0x32ef6e(0x22a)])return this['_acknowledgedAwaitingChangeset']=this[_0x32ef6e(0x22a)],this['_awaitingChangeset']=null,this;throw new Error(_0x32ef6e(0x1f4));}[_0x5aed06(0x41e)](_0x219e2d){var _0x4216b0=_0x5aed06;return this[_0x4216b0(0x343)](!!(_0x219e2d!=null&&_0x219e2d[_0x4216b0(0x277)]));}['onRemoteRetry'](){return this;}[_0x5aed06(0x26b)](){var _0x2ec016=_0x5aed06;return this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x2ec016(0x3f6)],this[_0x2ec016(0x22a)],this[_0x2ec016(0x366)],this[_0x2ec016(0x1db)]);}[_0x5aed06(0x369)](){return this;}[_0x5aed06(0x343)](_0x5d59c6){var _0x41287d=_0x5aed06;return this[_0x41287d(0x1a3)][_0x41287d(0x3d9)](exports[_0x41287d(0x3bb)],this['unitID'],this[_0x41287d(0x3f6)],this[_0x41287d(0x22a)],this[_0x41287d(0x366)],this[_0x41287d(0x1db)],_0x5d59c6);}},exports[_0x5aed06(0x4d2)]=ae([w(0x7,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),w(0x8,a[_0x5aed06(0x46b)](I['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x5aed06(0x2e5)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x5aed06(0x48e)]),w(0xd,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x4d2)]);function Ot(_0x28bd0b,_0xe7c569,_0x43ca2a,_0x2b0aff,_0x2ddd17,_0x3863b7){var _0x551f71=_0x5aed06;return _0x2b0aff&&_0x2ddd17['length']?_0x28bd0b[_0x551f71(0x3d9)](exports[_0x551f71(0x2fa)],_0xe7c569,_0x43ca2a,_0x2b0aff,_0x2ddd17,_0x3863b7,void 0x0):_0x2b0aff?_0x28bd0b[_0x551f71(0x3d9)](exports['AwaitingState'],_0xe7c569,_0x43ca2a,_0x2b0aff,_0x3863b7):_0x2ddd17[_0x551f71(0x24e)]?_0x28bd0b[_0x551f71(0x3d9)](exports['PendingState'],_0xe7c569,_0x43ca2a,_0x2ddd17,_0x3863b7):_0x28bd0b[_0x551f71(0x3d9)](exports[_0x551f71(0x28a)],_0xe7c569,_0x43ca2a,_0x3863b7);}var vi=Object[_0x5aed06(0x206)],Fe=(_0x5c279f,_0x4c8f3c,_0x4a9b6a,_0x376bc5)=>{var _0x5b14de=_0x5aed06;for(var _0xd98e2b=_0x376bc5>0x1?void 0x0:_0x376bc5?vi(_0x4c8f3c,_0x4a9b6a):_0x4c8f3c,_0x9034f9=_0x5c279f[_0x5b14de(0x24e)]-0x1,_0x766a38;_0x9034f9>=0x0;_0x9034f9--)(_0x766a38=_0x5c279f[_0x9034f9])&&(_0xd98e2b=_0x766a38(_0xd98e2b)||_0xd98e2b);return _0xd98e2b;},j=(_0x38b7f1,_0x16ba35)=>(_0x354b9a,_0x50e285)=>_0x16ba35(_0x354b9a,_0x50e285,_0x38b7f1);exports['CollaborationEntity']=class extends a[_0x5aed06(0x33e)]{constructor(_0x40e627,_0x39e4b1,_0x1b4db1,_0x55d9ee,_0x2569c8,_0x41706b,_0x5f2f26,_0x54e958,_0x24f92b,_0x1eb874,_0x21389d,_0x41de67,_0x59f8f7){var _0x4913d=_0x5aed06;super(),A(this,_0x4913d(0x2af),new $['BehaviorSubject'](null)),A(this,_0x4913d(0x1ac),this[_0x4913d(0x2af)][_0x4913d(0x3a8)]()),A(this,_0x4913d(0x402)),A(this,_0x4913d(0x4db),!0x1),A(this,_0x4913d(0x439),''),A(this,'_changesetReqId',0x0),A(this,_0x4913d(0x1a0),this[_0x4913d(0x1ac)][_0x4913d(0x280)]($[_0x4913d(0x33c)](_0x252303=>_0x252303?_0x252303[_0x4913d(0x282)]:Be[_0x4913d(0x4ad)]),$[_0x4913d(0x3ca)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x4913d(0x244),[]),(this[_0x4913d(0x2c5)]=_0x40e627,this[_0x4913d(0x3e2)]=_0x39e4b1,this[_0x4913d(0x2f9)]=_0x1b4db1,this[_0x4913d(0x1a3)]=_0x55d9ee,this[_0x4913d(0x181)]=_0x2569c8,this['_localeService']=_0x41706b,this[_0x4913d(0x2f7)]=_0x5f2f26,this[_0x4913d(0x38f)]=_0x54e958,this['_logService']=_0x24f92b,this[_0x4913d(0x38d)]=_0x1eb874,this['_permissionService']=_0x21389d,this[_0x4913d(0x45a)]=_0x41de67,this[_0x4913d(0x49c)]=_0x59f8f7);}get[_0x5aed06(0x2ea)](){return this['_state'];}async[_0x5aed06(0x21f)](){var _0x48f95e=_0x5aed06;if(this[_0x48f95e(0x2ea)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5aed06(0x18f)](){var _0x26388a=_0x5aed06;return this[_0x26388a(0x4db)]=!0x0,a[_0x26388a(0x1ec)](()=>{var _0x1828d6=_0x26388a;this[_0x1828d6(0x4db)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5aed06(0x321)](_0x44c660){var _0x51a5d3=_0x5aed06;this[_0x51a5d3(0x2fe)](_0x44c660);}['_updateState'](_0x49fc15){var _0xbcf7e7=_0x5aed06;this[_0xbcf7e7(0x402)]=_0x49fc15,this['_state$'][_0xbcf7e7(0x193)](_0x49fc15);}async['_init'](){var _0x4b6e0b=_0x5aed06,_0x43458d;this[_0x4b6e0b(0x4a5)](await this['_createInitialState']()),this[_0x4b6e0b(0x45a)]&&((_0x43458d=this['_singleActiveUnitService'])==null||_0x43458d[_0x4b6e0b(0x29d)](this[_0x4b6e0b(0x2c5)]),this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x45a)][_0x4b6e0b(0x23a)](this[_0x4b6e0b(0x2c5)])['subscribe'](_0x3d6dda=>{var _0xb586fc=_0x4b6e0b;this['_logService']['debug'](_0xb586fc(0x1e6),_0xb586fc(0x326),_0x3d6dda),_0x3d6dda===je[_0xb586fc(0x3d5)]?(this[_0xb586fc(0x38f)][_0xb586fc(0x182)]({'id':Z[_0xb586fc(0x216)]}),this[_0xb586fc(0x303)][_0xb586fc(0x36c)](new X[(_0xb586fc(0x45b))](this[_0xb586fc(0x2c5)])['id'],!0x1),this['_permissionService'][_0xb586fc(0x218)](!0x1)):(this[_0xb586fc(0x303)]['updatePermissionPoint'](new X[(_0xb586fc(0x45b))](this[_0xb586fc(0x2c5)])['id'],!0x0),this[_0xb586fc(0x303)][_0xb586fc(0x218)](!0x0));})));let _0x2b0da3=!0x1;return this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x3e2)]['sessionStatus$']['subscribe'](_0x4d415b=>{var _0x39eec7=_0x4b6e0b;_0x4d415b===re['ONLINE']?this[_0x39eec7(0x27b)](_0x2b0da3):_0x4d415b===re[_0x39eec7(0x4ad)]&&(_0x2b0da3=!0x0,this['_toggleOffline']());})),this[_0x4b6e0b(0x3ed)](this[_0x4b6e0b(0x3e2)][_0x4b6e0b(0x2fb)]['subscribe'](_0x46770c=>{var _0xb69409=_0x4b6e0b;try{switch(_0x46770c[_0xb69409(0x264)]){case I[_0xb69409(0x1eb)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I[_0xb69409(0x225)](_0x46770c['data']));break;}case I[_0xb69409(0x1eb)][_0xb69409(0x491)]:{this[_0xb69409(0x3d8)](_0x46770c[_0xb69409(0x268)]);break;}case I[_0xb69409(0x1eb)]['CHANGESET_REJ']:{this[_0xb69409(0x411)]();break;}case I[_0xb69409(0x1eb)][_0xb69409(0x4e7)]:{this[_0xb69409(0x377)](_0x46770c[_0xb69409(0x268)]);break;}case I[_0xb69409(0x1eb)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xb69409(0x275)](_0x46770c[_0xb69409(0x268)]['changesets'][_0xb69409(0x33c)](_0x14e847=>I[_0xb69409(0x225)](_0x14e847)));break;}case I[_0xb69409(0x1eb)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0xb69409(0x1eb)][_0xb69409(0x37f)]:break;}}catch(_0x3f9897){throw console[_0xb69409(0x3ac)](_0xb69409(0x40d),_0x3f9897),_0x3f9897;}})),this[_0x4b6e0b(0x402)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x5aed06(0x351)](){var _0xc9107=_0x5aed06;if(this[_0xc9107(0x339)])throw new Error(_0xc9107(0x299));this[_0xc9107(0x339)]=!0x0;}[_0x5aed06(0x2fe)](_0x1c1b10){var _0x108ee0=_0x5aed06;this[_0x108ee0(0x351)](),this[_0x108ee0(0x4a5)](this['_state']['appendMutation'](_0x1c1b10)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x24118c){var _0x44422f=_0x5aed06;if(!(_0x24118c[_0x44422f(0x3c5)]<=this[_0x44422f(0x2f7)][_0x44422f(0x1d6)](this[_0x44422f(0x2c5)]))){if(this[_0x44422f(0x4db)]){this[_0x44422f(0x244)]['push'](_0x24118c);return;}this[_0x44422f(0x332)](_0x24118c);}}[_0x5aed06(0x48b)](){var _0x5d006b=_0x5aed06;this[_0x5d006b(0x244)][_0x5d006b(0x4d4)](_0x351f85=>this['_applyRemoteChangeset'](_0x351f85)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x451482){var _0x32d993=_0x5aed06;const _0x5cb730=this[_0x32d993(0x181)]['interceptor'][_0x32d993(0x1e8)](this['_compressMutationService'][_0x32d993(0x1cf)][_0x32d993(0x3dc)]()[_0x32d993(0x2ec)])(_0x451482[_0x32d993(0x42d)],null)||_0x451482[_0x32d993(0x42d)],_0x4ac05a={..._0x451482,'mutations':_0x5cb730};this[_0x32d993(0x351)](),this[_0x32d993(0x4a5)](this[_0x32d993(0x402)][_0x32d993(0x428)](_0x4ac05a)),this[_0x32d993(0x37e)]();}[_0x5aed06(0x3d8)](_0x49975f){var _0x59f475=_0x5aed06;this[_0x59f475(0x351)](),this[_0x59f475(0x4a5)](this[_0x59f475(0x402)]['onRemoteAck'](_0x49975f)),this[_0x59f475(0x37e)]();}[_0x5aed06(0x411)](_0x4a4789){var _0x5dede0=_0x5aed06;this[_0x5dede0(0x351)](),this[_0x5dede0(0x4a5)](this[_0x5dede0(0x402)][_0x5dede0(0x41e)](_0x4a4789)),this[_0x5dede0(0x37e)]();}[_0x5aed06(0x377)](_0x35e7a2){var _0x125025=_0x5aed06;this[_0x125025(0x351)](),this[_0x125025(0x4a5)](this[_0x125025(0x402)]['onRemoteRetry'](_0x35e7a2)),this['_unlockTransition']();}[_0x5aed06(0x275)](_0x4e1c4e){var _0x6c84ec=_0x5aed06;if(!(this[_0x6c84ec(0x402)]instanceof exports[_0x6c84ec(0x4d2)]))throw new TypeError(_0x6c84ec(0x4a7));const _0x4ebcc0=_0x4e1c4e['map'](_0x5e86e3=>{var _0x59ae4e=_0x6c84ec;const _0x44ab61=this[_0x59ae4e(0x181)][_0x59ae4e(0x1cf)][_0x59ae4e(0x1e8)](this[_0x59ae4e(0x181)]['interceptor']['getInterceptPoints']()[_0x59ae4e(0x2ec)])(_0x5e86e3[_0x59ae4e(0x42d)],null)||_0x5e86e3[_0x59ae4e(0x42d)];return{..._0x5e86e3,'mutations':_0x44ab61};});this[_0x6c84ec(0x351)](),this[_0x6c84ec(0x4a5)](this['_state'][_0x6c84ec(0x4de)](_0x4ebcc0)),this['_unlockTransition']();}[_0x5aed06(0x1a9)](){var _0x33e5a3=_0x5aed06;this[_0x33e5a3(0x351)](),this['_updateState'](this[_0x33e5a3(0x402)][_0x33e5a3(0x26b)]()),this[_0x33e5a3(0x37e)]();}['_toggleOnline'](_0x5a0a07=!0x1){var _0x5b77ef=_0x5aed06;this['_lockTransition'](),this[_0x5b77ef(0x4a5)](this['_state'][_0x5b77ef(0x369)]()),this[_0x5b77ef(0x37e)]();const _0x2fbbdd=this[_0x5b77ef(0x402)];_0x5a0a07&&_0x2fbbdd instanceof exports[_0x5b77ef(0x28a)]&&(this[_0x5b77ef(0x351)](),this[_0x5b77ef(0x4a5)](_0x2fbbdd[_0x5b77ef(0x391)]()),this['_unlockTransition']());}async[_0x5aed06(0x342)](){return new Promise(_0x238189=>{var _0x56dc7f=_0x156c;this[_0x56dc7f(0x3e2)][_0x56dc7f(0x198)][_0x56dc7f(0x280)]($[_0x56dc7f(0x29e)](0x1))['subscribe'](async _0x2ae96c=>{var _0x53ed8a=_0x56dc7f;_0x238189(await this[_0x53ed8a(0x1a7)](_0x2ae96c===re[_0x53ed8a(0x49b)]));});});}[_0x5aed06(0x20d)](){const _0x4146f5=this['unitID'];return{'onStateChange':(_0x3f6a9d,_0x26a365)=>{var _0x12d3a4=_0x156c;if(_0x3f6a9d!==this[_0x12d3a4(0x402)])throw new Error(_0x12d3a4(0x2b0)+_0x3f6a9d[_0x12d3a4(0x282)]+_0x12d3a4(0x28d)+_0x26a365[_0x12d3a4(0x282)]+'\x0aCurrent:\x20'+this[_0x12d3a4(0x402)][_0x12d3a4(0x282)]);this[_0x12d3a4(0x4a5)](_0x26a365);},'onSendChangeset':_0x13bfae=>{var _0xc9d38e=_0x156c;_0x13bfae[_0xc9d38e(0x435)]||(_0x13bfae['sid']=this[_0xc9d38e(0x439)],_0x13bfae[_0xc9d38e(0x441)]=++this[_0xc9d38e(0x18d)]);const _0xcd47e9={'eventID':I[_0xc9d38e(0x1eb)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x13bfae[_0xc9d38e(0x2c5)],'unitType':this[_0xc9d38e(0x2f9)],'changeset':_0x13bfae,'memberID':this[_0xc9d38e(0x3e2)][_0xc9d38e(0x18b)]()}};this['session'][_0xc9d38e(0x336)](_0xcd47e9,this['unitID']);},'onMissingChangesets':({from:_0x27e520,to:_0x4b5449})=>{var _0x49be7f=_0x156c;this[_0x49be7f(0x496)][_0x49be7f(0x43f)](_0x49be7f(0x1e6),_0x49be7f(0x4bd)+_0x27e520+_0x49be7f(0x220)+_0x4b5449);const _0x60e13f={'eventID':I[_0x49be7f(0x1eb)][_0x49be7f(0x17c)],'data':{'unitID':_0x4146f5,'unitType':this['_type'],'from':_0x27e520,'to':_0x4b5449}};this[_0x49be7f(0x3e2)]['send'](_0x60e13f,this[_0x49be7f(0x2c5)]);}};}async['_createInitialStateImpl'](_0x52f85){var _0x3f1fe7=_0x5aed06,_0x2b4f03,_0x45664e,_0x3a8691;const _0x5a64a8=await((_0x2b4f03=this[_0x3f1fe7(0x49c)])==null?void 0x0:_0x2b4f03[_0x3f1fe7(0x222)](this[_0x3f1fe7(0x2c5)])),_0x1e7da4=(_0x45664e=_0x5a64a8==null?void 0x0:_0x5a64a8['mutations'])!=null?_0x45664e:[],_0x194875=(_0x3a8691=_0x5a64a8==null?void 0x0:_0x5a64a8[_0x3f1fe7(0x30e)])!=null?_0x3a8691:null,_0x815af=!!(_0x194875!=null&&_0x194875['sid'])&&!!(_0x194875!=null&&_0x194875[_0x3f1fe7(0x441)]);this['_changesetSessionId']=_0x815af?_0x194875['sid']:I[_0x3f1fe7(0x3b4)](),this[_0x3f1fe7(0x18d)]=_0x815af?_0x194875[_0x3f1fe7(0x441)]:0x0;const _0x52d742=this[_0x3f1fe7(0x2c5)];try{this[_0x3f1fe7(0x475)](_0x194875,_0x1e7da4);}catch(_0x50c5e7){this[_0x3f1fe7(0x496)][_0x3f1fe7(0x3ac)](_0x50c5e7);}const _0x46fd2c=this[_0x3f1fe7(0x20d)]();if(_0x52f85){const _0x5b6a74=Ot(this[_0x3f1fe7(0x1a3)],_0x52d742,this['_type'],_0x194875,_0x1e7da4,_0x46fd2c);return _0x5b6a74 instanceof exports[_0x3f1fe7(0x26f)]?_0x5b6a74[_0x3f1fe7(0x1ca)]():(_0x5b6a74 instanceof exports[_0x3f1fe7(0x2fa)]||_0x5b6a74 instanceof exports[_0x3f1fe7(0x294)])&&_0x5b6a74[_0x3f1fe7(0x2a8)](),_0x5b6a74;}return this[_0x3f1fe7(0x1a3)][_0x3f1fe7(0x3d9)](exports['OfflineState'],_0x52d742,this[_0x3f1fe7(0x2f9)],_0x194875,_0x1e7da4,_0x46fd2c);}[_0x5aed06(0x475)](_0x32ff00,_0x153ae4){var _0x36e625=_0x5aed06,_0x315e52,_0x37711d;const _0x4d3056=this[_0x36e625(0x181)][_0x36e625(0x1cf)][_0x36e625(0x1e8)](this[_0x36e625(0x181)]['interceptor'][_0x36e625(0x3dc)]()[_0x36e625(0x2ec)]);(_0x315e52=_0x4d3056((_0x32ff00==null?void 0x0:_0x32ff00[_0x36e625(0x42d)])||[],null))==null||_0x315e52[_0x36e625(0x4d4)](_0x1eab91=>this[_0x36e625(0x38d)][_0x36e625(0x187)](_0x1eab91['id'],_0x1eab91[_0x36e625(0x3b1)])),(_0x37711d=_0x4d3056(_0x153ae4||[],null))==null||_0x37711d['forEach'](_0x426e90=>this[_0x36e625(0x38d)][_0x36e625(0x187)](_0x426e90['id'],_0x426e90[_0x36e625(0x3b1)]));}},exports[_0x5aed06(0x2d2)]=Fe([j(0x3,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a['Inject'](a[_0x5aed06(0x180)])),j(0x6,a[_0x5aed06(0x46b)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x5aed06(0x2e5)]),j(0xa,a[_0x5aed06(0x1b6)]),j(0xb,a[_0x5aed06(0x36d)](de)),j(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2d2)]),exports['DocCollaborationEntity']=class extends exports[_0x5aed06(0x2d2)]{constructor(_0x346437,_0x579000,_0x2cc501,_0x39692a,_0xaea942,_0x92c76e,_0x34957c,_0x32628d,_0x16e0d7,_0x34dc81,_0x5c2204,_0x28f1fb,_0x164ba0){var _0x510673=_0x5aed06;super(_0x346437,_0x2cc501,_0x579000,_0x39692a,_0xaea942,_0x92c76e,_0x34957c,_0x32628d,_0x16e0d7,_0x34dc81,_0x5c2204,_0x28f1fb,_0x164ba0),A(this,'_handlerCallback',null),(this[_0x510673(0x2c5)]=_0x346437,this[_0x510673(0x3f6)]=_0x579000);}[_0x5aed06(0x3f5)](_0x5e8c36){var _0x14d128=_0x5aed06;this[_0x14d128(0x2aa)]=_0x5e8c36;}[_0x5aed06(0x456)](){var _0x2cf4a9=_0x5aed06;this[_0x2cf4a9(0x2aa)]=null,super[_0x2cf4a9(0x456)]();}[_0x5aed06(0x20d)](){var _0x2d16ac=_0x5aed06;const _0x1dfb12=super[_0x2d16ac(0x20d)]();return _0x1dfb12[_0x2d16ac(0x300)]=_0x59438d=>{var _0x51349b=_0x2d16ac,_0x2c12ba,_0x46c698;return(_0x46c698=(_0x2c12ba=this['_handlerCallback'])==null?void 0x0:_0x2c12ba['onTransformIME'])==null?void 0x0:_0x46c698[_0x51349b(0x254)](_0x2c12ba,_0x59438d);},_0x1dfb12[_0x2d16ac(0x270)]=_0x1d7515=>{var _0x1c89e4=_0x2d16ac,_0x3b2321,_0x4daf60;return(_0x4daf60=(_0x3b2321=this[_0x1c89e4(0x2aa)])==null?void 0x0:_0x3b2321[_0x1c89e4(0x270)])==null?void 0x0:_0x4daf60[_0x1c89e4(0x254)](_0x3b2321,_0x1d7515);},_0x1dfb12['onTransformSelections']=_0xa2733f=>{var _0x53d8cb=_0x2d16ac,_0x1f8635,_0x2f6a84;return(_0x2f6a84=(_0x1f8635=this[_0x53d8cb(0x2aa)])==null?void 0x0:_0x1f8635['onTransformSelections'])==null?void 0x0:_0x2f6a84[_0x53d8cb(0x254)](_0x1f8635,_0xa2733f);},_0x1dfb12[_0x2d16ac(0x314)]=_0x56e087=>{var _0x526a86=_0x2d16ac,_0x24cf6c,_0x42db9e;return(_0x42db9e=(_0x24cf6c=this[_0x526a86(0x2aa)])==null?void 0x0:_0x24cf6c[_0x526a86(0x314)])==null?void 0x0:_0x42db9e[_0x526a86(0x254)](_0x24cf6c,_0x56e087);},_0x1dfb12[_0x2d16ac(0x3d2)]=_0x1fbfcd=>{var _0x3012bc=_0x2d16ac,_0x1d7c84,_0x142a3f,_0x426110;if(!((_0x1d7c84=this[_0x3012bc(0x2aa)])!=null&&_0x1d7c84[_0x3012bc(0x3d2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x426110=(_0x142a3f=this['_handlerCallback'])==null?void 0x0:_0x142a3f['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x426110[_0x3012bc(0x254)](_0x142a3f,_0x1fbfcd);},_0x1dfb12[_0x2d16ac(0x431)]=_0x891794=>{var _0xd91211=_0x2d16ac,_0x4b51c1,_0x11eb7a,_0x264113;if(!((_0x4b51c1=this[_0xd91211(0x2aa)])!=null&&_0x4b51c1[_0xd91211(0x431)]))throw new Error(_0xd91211(0x393));return(_0x264113=(_0x11eb7a=this[_0xd91211(0x2aa)])==null?void 0x0:_0x11eb7a[_0xd91211(0x431)])==null?void 0x0:_0x264113['call'](_0x11eb7a,_0x891794);},_0x1dfb12;}async[_0x5aed06(0x4cb)](){var _0x1d4dcc=_0x5aed06;const _0xe7d7fe=await super[_0x1d4dcc(0x4cb)]();return this[_0x1d4dcc(0x3ed)](this[_0x1d4dcc(0x38d)][_0x1d4dcc(0x1af)]((_0x1eb2b8,_0x38d5e5)=>{var _0x3cfde0=_0x1d4dcc;if(_0x1eb2b8[_0x3cfde0(0x3f6)]!==a[_0x3cfde0(0x21a)]['MUTATION']||_0x38d5e5!=null&&_0x38d5e5[_0x3cfde0(0x389)]||_0x38d5e5!=null&&_0x38d5e5[_0x3cfde0(0x3e8)]||_0x1eb2b8['id']===ht[_0x3cfde0(0x269)]['id'])return;const _0x3792bf=_0x1eb2b8[_0x3cfde0(0x3b1)];if((_0x3792bf==null?void 0x0:_0x3792bf[_0x3cfde0(0x3a3)])!==this[_0x3cfde0(0x2c5)])return;const _0x3ca18c=_0x1eb2b8,_0x38c177=this[_0x3cfde0(0x181)][_0x3cfde0(0x1cf)][_0x3cfde0(0x1e8)](this['_compressMutationService'][_0x3cfde0(0x1cf)][_0x3cfde0(0x3dc)]()[_0x3cfde0(0x448)])([_0x3ca18c],null)||[_0x3ca18c];this[_0x3cfde0(0x2fe)](_0x38c177[0x0]);})),_0xe7d7fe;}},exports[_0x5aed06(0x3da)]=Fe([j(0x3,a['Inject'](a[_0x5aed06(0x31e)])),j(0x4,a[_0x5aed06(0x46b)](I[_0x5aed06(0x1b4)])),j(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),j(0x6,a[_0x5aed06(0x46b)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x5aed06(0x2c4)]),j(0x9,a[_0x5aed06(0x2e5)]),j(0xa,a[_0x5aed06(0x1b6)]),j(0xb,a[_0x5aed06(0x36d)](de)),j(0xc,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x3da)]),exports[_0x5aed06(0x49e)]=class extends exports['CollaborationEntity']{constructor(_0x3f52f7,_0x293af4,_0x55bc78,_0xc3724d,_0x52fdbf,_0x4567e0,_0x1d7fdb,_0x36db74,_0x5290b1,_0x24882e,_0x1ccbeb,_0xa52d1c,_0x515ced,_0x2aae69){var _0xb18ea8=_0x5aed06;super(_0x3f52f7,_0x55bc78,_0x293af4,_0xc3724d,_0x52fdbf,_0x4567e0,_0x1d7fdb,_0x5290b1,_0x24882e,_0x1ccbeb,_0xa52d1c,_0x515ced,_0x2aae69),this[_0xb18ea8(0x2c5)]=_0x3f52f7,this[_0xb18ea8(0x3f6)]=_0x293af4,this[_0xb18ea8(0x306)]=_0x36db74;}[_0x5aed06(0x20d)](){var _0x5eee37=_0x5aed06;const _0x108a3a=super[_0x5eee37(0x20d)]();return _0x108a3a[_0x5eee37(0x1ab)]=_0x1bff26=>this['_sheetTransformSelectionsService'][_0x5eee37(0x197)](_0x1bff26),_0x108a3a;}async[_0x5aed06(0x4cb)](){var _0x20242e=_0x5aed06;const _0x25d9ff=await super[_0x20242e(0x4cb)]();return this[_0x20242e(0x3ed)](this['_commandService'][_0x20242e(0x1af)]((_0x1ee7a7,_0x58ae44)=>{var _0xed7cb9=_0x20242e;if(_0x1ee7a7[_0xed7cb9(0x3f6)]!==a[_0xed7cb9(0x21a)][_0xed7cb9(0x18c)]||_0x58ae44!=null&&_0x58ae44[_0xed7cb9(0x389)]||_0x58ae44!=null&&_0x58ae44[_0xed7cb9(0x3e8)])return;const _0x1247a9=_0x1ee7a7[_0xed7cb9(0x3b1)];if((_0x1247a9==null?void 0x0:_0x1247a9[_0xed7cb9(0x3a3)])!==this[_0xed7cb9(0x2c5)])return;const _0x326061=_0x1ee7a7,_0x106f04=this[_0xed7cb9(0x181)][_0xed7cb9(0x1cf)][_0xed7cb9(0x1e8)](this[_0xed7cb9(0x181)]['interceptor'][_0xed7cb9(0x3dc)]()[_0xed7cb9(0x448)])([_0x326061],null)||[_0x326061];this[_0xed7cb9(0x2fe)](_0x106f04[0x0]);})),_0x25d9ff;}},exports[_0x5aed06(0x49e)]=Fe([j(0x3,a[_0x5aed06(0x46b)](a['Injector'])),j(0x4,a['Inject'](I[_0x5aed06(0x1b4)])),j(0x5,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)])),j(0x6,a['Inject'](I['RevisionService'])),j(0x7,a['Inject'](exports[_0x5aed06(0x494)])),j(0x8,a[_0x5aed06(0x46b)](ee)),j(0x9,a[_0x5aed06(0x2c4)]),j(0xa,a[_0x5aed06(0x2e5)]),j(0xb,a[_0x5aed06(0x1b6)]),j(0xc,a[_0x5aed06(0x36d)](de)),j(0xd,a['Optional'](q))],exports[_0x5aed06(0x49e)]);var Si=Object[_0x5aed06(0x206)],fi=(_0x275dee,_0x163e5c,_0x140b47,_0x9dd6f6)=>{for(var _0x207dc9=_0x9dd6f6>0x1?void 0x0:_0x9dd6f6?Si(_0x163e5c,_0x140b47):_0x163e5c,_0x30ea72=_0x275dee['length']-0x1,_0x485375;_0x30ea72>=0x0;_0x30ea72--)(_0x485375=_0x275dee[_0x30ea72])&&(_0x207dc9=_0x485375(_0x207dc9)||_0x207dc9);return _0x207dc9;},Se=(_0x2a3c48,_0x3326e4)=>(_0x59f2dc,_0x40f661)=>_0x3326e4(_0x59f2dc,_0x40f661,_0x2a3c48);exports[_0x5aed06(0x331)]=class extends a['RxDisposable']{constructor(_0x255ea3,_0x5e4348,_0x25eba6,_0x513b8d){var _0x34efba=_0x5aed06,_0x5843d7;super(),A(this,_0x34efba(0x479),new Map()),A(this,_0x34efba(0x3de),new $[(_0x34efba(0x2fd))]()),A(this,_0x34efba(0x471),this['_entityInit$'][_0x34efba(0x3a8)]()),(this[_0x34efba(0x1a3)]=_0x255ea3,this[_0x34efba(0x304)]=_0x5e4348,this[_0x34efba(0x26c)]=_0x25eba6,this[_0x34efba(0x3a6)]=_0x513b8d,((_0x5843d7=this[_0x34efba(0x26c)]['getConfig'](K))==null?void 0x0:_0x5843d7[_0x34efba(0x354)])!==!0x1&&this[_0x34efba(0x4cb)]());}[_0x5aed06(0x456)](){var _0x1c4584=_0x5aed06;super['dispose'](),this[_0x1c4584(0x479)][_0x1c4584(0x4d4)](_0xfab029=>_0xfab029['dispose']()),this['_entities'][_0x1c4584(0x19c)]();}['getCollabEntity'](_0x57ae09){var _0x4a9f55=_0x5aed06,_0x155cdc;return(_0x155cdc=this[_0x4a9f55(0x479)][_0x4a9f55(0x4d1)](_0x57ae09))!=null?_0x155cdc:null;}[_0x5aed06(0x465)](_0xdcc059){var _0x49c474=_0x5aed06;const _0xb415f3=this[_0x49c474(0x1d7)](_0xdcc059);return _0xb415f3?$['of'](_0xb415f3):this[_0x49c474(0x3de)][_0x49c474(0x280)](V[_0x49c474(0x4c1)](_0x147aae=>_0x147aae[_0x49c474(0x2c5)]===_0xdcc059));}[_0x5aed06(0x40f)](_0x560c9f){var _0x38027b=_0x5aed06;return $['firstValueFrom'](this['getCollabEntity$'](_0x560c9f)[_0x38027b(0x280)](V[_0x38027b(0x33c)](()=>{})));}['_init'](){var _0x368037=_0x5aed06;this[_0x368037(0x3a6)][_0x368037(0x48a)](a[_0x368037(0x3b6)][_0x368037(0x1de)])[_0x368037(0x280)]($[_0x368037(0x3cb)](this[_0x368037(0x3c4)]),V[_0x368037(0x4d8)](0x10))['subscribe'](async _0x2a4ea0=>{var _0x43b1bd=_0x368037;const _0x16b4e2=_0x2a4ea0[_0x43b1bd(0x2f0)](),_0x1bb545=await this[_0x43b1bd(0x482)](_0x16b4e2,J[_0x43b1bd(0x1de)]);this[_0x43b1bd(0x479)][_0x43b1bd(0x426)](_0x16b4e2,_0x1bb545);}),this[_0x368037(0x3a6)]['getTypeOfUnitAdded$'](a[_0x368037(0x3b6)][_0x368037(0x1f3)])[_0x368037(0x280)]($[_0x368037(0x3cb)](this[_0x368037(0x3c4)]),V[_0x368037(0x4d8)](0x10))[_0x368037(0x280)](V[_0x368037(0x4c1)](_0x2ecb5a=>!_0x2ecb5a['getUnitId']()[_0x368037(0x376)]('__')))[_0x368037(0x284)](async _0x3631ef=>{var _0xba6d19=_0x368037;const _0x39f3db=_0x3631ef[_0xba6d19(0x2f0)](),_0x14c365=await this[_0xba6d19(0x482)](_0x39f3db,J[_0xba6d19(0x1f3)]);this[_0xba6d19(0x479)][_0xba6d19(0x426)](_0x39f3db,_0x14c365);}),$[_0x368037(0x286)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x368037(0x3b6)]['UNIVER_SHEET']),this[_0x368037(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x368037(0x3b6)][_0x368037(0x1f3)]))[_0x368037(0x280)]($['takeUntil'](this[_0x368037(0x3c4)]))[_0x368037(0x284)](_0x2a7211=>{var _0x34d505=_0x368037;const _0x146a91=_0x2a7211[_0x34d505(0x2f0)](),_0x31d9c7=this['_entities'][_0x34d505(0x4d1)](_0x146a91);_0x31d9c7&&(_0x31d9c7[_0x34d505(0x456)](),this['_entities']['delete'](_0x146a91));});}async[_0x5aed06(0x482)](_0x4f4595,_0x95ac05){var _0x1ab146=_0x5aed06;const _0x45e654=await this[_0x1ab146(0x304)][_0x1ab146(0x1e2)](_0x4f4595),_0x32f5ba=this[_0x1ab146(0x1a3)]['createInstance'](this['_getCtorByUniverType'](_0x95ac05),_0x4f4595,_0x95ac05,_0x45e654);return await _0x32f5ba[_0x1ab146(0x21f)](),this['_entityInit$']['next'](_0x32f5ba),_0x32f5ba;}[_0x5aed06(0x335)](_0x516198){var _0x485870=_0x5aed06;switch(_0x516198){case J[_0x485870(0x1f3)]:return exports['DocCollaborationEntity'];case J[_0x485870(0x1de)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x485870(0x1a1)+_0x516198);}}},exports[_0x5aed06(0x331)]=fi([Se(0x0,a[_0x5aed06(0x46b)](a['Injector'])),Se(0x1,a['Inject'](exports['CollaborationSessionService'])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x5aed06(0x3aa)])],exports['CollaborationController']);var pi=Object[_0x5aed06(0x206)],Ii=(_0x24dee9,_0x29e696,_0x102462,_0x52aba6)=>{var _0x829bf1=_0x5aed06;for(var _0x3ef9c6=_0x52aba6>0x1?void 0x0:_0x52aba6?pi(_0x29e696,_0x102462):_0x29e696,_0x604e9=_0x24dee9[_0x829bf1(0x24e)]-0x1,_0x4eeba6;_0x604e9>=0x0;_0x604e9--)(_0x4eeba6=_0x24dee9[_0x604e9])&&(_0x3ef9c6=_0x4eeba6(_0x3ef9c6)||_0x3ef9c6);return _0x3ef9c6;},Ye=(_0x140b61,_0x2a3019)=>(_0x38cd69,_0x3c918e)=>_0x2a3019(_0x38cd69,_0x3c918e,_0x140b61);const gi='DEFAULT_FILE_NAME',Ei=_0x5aed06(0x2a2);let xe=class extends a[_0x5aed06(0x43b)]{constructor(_0x2951c8,_0xe36b92){var _0x16cf88=_0x5aed06;super(),this[_0x16cf88(0x3a6)]=_0x2951c8,this['_configService']=_0xe36b92,this[_0x16cf88(0x4cb)]();}[_0x5aed06(0x4cb)](){var _0x54688e=_0x5aed06;this[_0x54688e(0x3ed)](this[_0x54688e(0x3a6)][_0x54688e(0x27f)][_0x54688e(0x284)](()=>{var _0x24716d=_0x54688e,_0x3fa289;const _0x3e5107=this['_univerInstanceService']['getFocusedUnit']();let _0x4a1075=(_0x3fa289=this[_0x24716d(0x26c)][_0x24716d(0x327)](gi))!=null?_0x3fa289:Ei;_0x3e5107 instanceof a[_0x24716d(0x338)]&&(_0x4a1075=_0x3e5107[_0x24716d(0x4a1)]),document['title']=_0x4a1075;}));}};xe=Ii([Ye(0x0,a[_0x5aed06(0x3aa)]),Ye(0x1,a[_0x5aed06(0x3a7)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x2f18cc,_0x3f2b2a,_0x382e0c,_0x23a7d6)=>{for(var _0x15a163=_0x23a7d6>0x1?void 0x0:_0x23a7d6?mi(_0x3f2b2a,_0x382e0c):_0x3f2b2a,_0x51fe43=_0x2f18cc['length']-0x1,_0x2bcc82;_0x51fe43>=0x0;_0x51fe43--)(_0x2bcc82=_0x2f18cc[_0x51fe43])&&(_0x15a163=_0x2bcc82(_0x15a163)||_0x15a163);return _0x15a163;},Ae=(_0x4a7174,_0xbd1401)=>(_0x383b5d,_0x1bffbd)=>_0xbd1401(_0x383b5d,_0x1bffbd,_0x4a7174);let ye=class{constructor(_0x84b832,_0x2c9b04,_0x4e3071){var _0x1fb7b6=_0x5aed06;this[_0x1fb7b6(0x26c)]=_0x84b832,this[_0x1fb7b6(0x38b)]=_0x2c9b04,this['localeService']=_0x4e3071,this[_0x1fb7b6(0x21f)]();}['init'](){var _0x2da1a1=_0x5aed06;this[_0x2da1a1(0x38b)][_0x2da1a1(0x47b)]({'priority':0x1,'interceptor':(_0x3708b0,_0x3afe04)=>_0x3afe04(_0x3708b0)['pipe']($[_0x2da1a1(0x395)](async _0xbebf52=>{var _0x2de411=_0x2da1a1;const _0x3048db=_0xbebf52;if(_0x3048db['status']===0x191){if(typeof window>'u')throw new Error(_0x2de411(0x2d6));if(window[_0x2de411(0x3ff)](this[_0x2de411(0x394)]['t'](_0x2de411(0x281)))){const _0x43cde5=window[_0x2de411(0x22e)](window[_0x2de411(0x229)][_0x2de411(0x2fc)]);window['location'][_0x2de411(0x2fc)]=this[_0x2de411(0x1dd)]()+'?url='+_0x43cde5;}}return _0x3048db;}))});}['_getLoginPath'](){var _0xffc89b=_0x5aed06,_0x5b58c5,_0x1a4682;const _0x10af14=this[_0xffc89b(0x26c)][_0xffc89b(0x327)](It),_0x4385c4=this[_0xffc89b(0x26c)][_0xffc89b(0x327)](K);return(_0x1a4682=(_0x5b58c5=_0x4385c4==null?void 0x0:_0x4385c4[_0xffc89b(0x190)])!=null?_0x5b58c5:_0x10af14)!=null?_0x1a4682:Wt;}};ye=Ci([Ae(0x0,a[_0x5aed06(0x3a7)]),Ae(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),Ae(0x2,a[_0x5aed06(0x46b)](a[_0x5aed06(0x180)]))],ye);var Ti=Object[_0x5aed06(0x206)],bi=(_0x145219,_0xeb8c37,_0x14d0b,_0x3e5a83)=>{var _0x467ec9=_0x5aed06;for(var _0x1ed05f=_0x3e5a83>0x1?void 0x0:_0x3e5a83?Ti(_0xeb8c37,_0x14d0b):_0xeb8c37,_0x54a04f=_0x145219[_0x467ec9(0x24e)]-0x1,_0xbe6e3f;_0x54a04f>=0x0;_0x54a04f--)(_0xbe6e3f=_0x145219[_0x54a04f])&&(_0x1ed05f=_0xbe6e3f(_0x1ed05f)||_0x1ed05f);return _0x1ed05f;},qe=(_0x403603,_0xca6a57)=>(_0x46c7c8,_0x3671e1)=>_0xca6a57(_0x46c7c8,_0x3671e1,_0x403603);function _0x156c(_0xbb43ce,_0x37223e){var _0x4ec268=_0x4ec2();return _0x156c=function(_0x156c99,_0x16543e){_0x156c99=_0x156c99-0x173;var _0x4215df=_0x4ec268[_0x156c99];return _0x4215df;},_0x156c(_0xbb43ce,_0x37223e);}const Ve='AUTHZ_URL_KEY',Ri=_0x5aed06(0x293);exports['AuthzIoHttpService']=class extends a[_0x5aed06(0x43b)]{constructor(_0x75fc1d,_0x1041b1){var _0x1ba10b=_0x5aed06;super(),this['_HTTPService']=_0x75fc1d,this[_0x1ba10b(0x26c)]=_0x1041b1,this[_0x1ba10b(0x2b9)]();}[_0x5aed06(0x2b9)](){var _0x5e9cbc=_0x5aed06;const _0x4c9c4a=this;this['disposeWithMe'](this[_0x5e9cbc(0x2e4)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y[_0x5e9cbc(0x2f5)]({'isMatch'(_0x2ef393){var _0x1d33dd=_0x5e9cbc,_0x15aadb;if(_0x2ef393[_0x1d33dd(0x3a4)]==='POST'&&((_0x15aadb=_0x2ef393[_0x1d33dd(0x265)])!=null&&_0x15aadb[_0x1d33dd(0x20b)])){const {objectID:_0x19e15a,objectType:_0x361962}=_0x2ef393[_0x1d33dd(0x265)][_0x1d33dd(0x20b)]||{};if(!_0x19e15a||_0x361962===void 0x0)return!0x1;const _0x29022a=_0x4c9c4a[_0x1d33dd(0x260)]()+'/'+_0x361962+_0x1d33dd(0x2a9)+_0x19e15a+_0x1d33dd(0x452);if(_0x2ef393['url']===_0x29022a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x248895){var _0x3c4b50=_0x5e9cbc,_0x52fb1a;return(_0x52fb1a=_0x248895['requestParams'])==null?void 0x0:_0x52fb1a[_0x3c4b50(0x20b)];},'mergeParamsToRequest'(_0x1710a2,_0x1d38fe){var _0x226abb=_0x5e9cbc;const _0x523b50=_0x4c9c4a[_0x226abb(0x260)]()+_0x226abb(0x267),_0xa51566=_0x1710a2['reduce']((_0x1346e9,_0xd17045)=>{var _0x475740=_0x226abb;const {unitID:_0x154902,objectID:_0x42b53a,objectType:_0x1d88ee,actions:_0x4382ac}=_0xd17045;return _0x1346e9[_0x154902]||(_0x1346e9[_0x154902]={}),_0x1346e9[_0x154902][_0x42b53a]||(_0x1346e9[_0x154902][_0x42b53a]={'objectID':_0x42b53a,'objectType':_0x1d88ee,'actions':[]}),_0x1346e9[_0x154902][_0x42b53a][_0x475740(0x186)][_0x475740(0x2a4)](..._0x4382ac),_0x1346e9;},{}),_0x4fa0d9=[];for(const _0x235928 in _0xa51566)for(const _0xf845f7 in _0xa51566[_0x235928]){const {actions:_0x4731f3,objectType:_0x4bad78}=_0xa51566[_0x235928][_0xf845f7],_0x283543=[...new Set(_0x4731f3)];_0x4fa0d9[_0x226abb(0x2a4)]({'unitID':_0x235928,'objectID':_0xf845f7,'objectType':_0x4bad78,'actions':_0x283543});}return new Y[(_0x226abb(0x1dc))](_0x226abb(0x2f2),_0x523b50,{'headers':_0x1d38fe[_0x226abb(0x35f)],'withCredentials':_0x1d38fe['withCredentials'],'responseType':_0x1d38fe[_0x226abb(0x444)],'body':{'requests':_0x4fa0d9}});}},{'distributeResult'(_0x164eab,_0x434e73){var _0x27f72a=_0x5e9cbc;const {objectActions:_0x9bb02a}=_0x164eab;return _0x434e73[_0x27f72a(0x33c)](_0x5d39c7=>{var _0x116a50=_0x27f72a;const {unitID:_0x9cf502,objectID:_0x2b6185,actions:_0x578041}=_0x5d39c7,_0x438cd8=_0x9bb02a[_0x116a50(0x44b)](_0x356a18=>_0x356a18[_0x116a50(0x2c5)]===_0x9cf502&&_0x356a18['objectID']===_0x2b6185),_0x4d0650=_0x578041[_0x116a50(0x33c)](_0x5b7e85=>_0x438cd8==null?void 0x0:_0x438cd8[_0x116a50(0x186)][_0x116a50(0x44b)](_0x57f27d=>_0x57f27d['action']===_0x5b7e85))['filter'](_0x45079b=>!!_0x45079b);return{'config':_0x5d39c7,'result':{'actions':_0x4d0650,'error':_0x164eab[_0x116a50(0x3ac)]}};});}})}));}[_0x5aed06(0x260)](){var _0x10177d=_0x5aed06,_0x141fc6,_0x4e2508;const _0x4804ae=this['_configService'][_0x10177d(0x327)](Ve),_0x4b877c=this['_configService'][_0x10177d(0x327)](K);return(_0x4e2508=(_0x141fc6=_0x4b877c==null?void 0x0:_0x4b877c['authzUrl'])!=null?_0x141fc6:_0x4804ae)!=null?_0x4e2508:Ri;}async[_0x5aed06(0x399)](_0x962e11){var _0xd6f2cb=_0x5aed06;const _0x166606=this[_0xd6f2cb(0x260)]()+'/'+_0x962e11[_0xd6f2cb(0x417)]+'/object';return(await this['_HTTPService']['post'](_0x166606,{'body':_0x962e11}))['body'][_0xd6f2cb(0x4ca)]||'';}async[_0x5aed06(0x3ba)](_0x1a109e){var _0x11f3b7=_0x5aed06;const _0x53b84f=this[_0x11f3b7(0x260)]()+'/-/object/list';return(await this[_0x11f3b7(0x2e4)][_0x11f3b7(0x4b1)](_0x53b84f,{'body':_0x1a109e}))[_0x11f3b7(0x20b)][_0x11f3b7(0x2ac)];}async[_0x5aed06(0x477)](_0x412f64){var _0x18b483=_0x5aed06,_0x19a312,_0x36d076;const _0xa9af95=this['_getAPIPrefixPath']()+'/'+_0x412f64[_0x18b483(0x417)]+_0x18b483(0x2a9)+_0x412f64['objectID'],_0x50dec1=await this[_0x18b483(0x2e4)][_0x18b483(0x35c)](_0xa9af95,{'body':_0x412f64});if(((_0x36d076=(_0x19a312=_0x50dec1==null?void 0x0:_0x50dec1[_0x18b483(0x20b)])==null?void 0x0:_0x19a312[_0x18b483(0x3ac)])==null?void 0x0:_0x36d076[_0x18b483(0x290)])!==0x1)throw new Error(_0x18b483(0x325));}async[_0x5aed06(0x4ae)](_0x511496){var _0x34675f=_0x5aed06;const _0x527f8a=this['_getAPIPrefixPath']()+'/'+_0x511496[_0x34675f(0x417)]+_0x34675f(0x2a9)+_0x511496['objectID']+'/allowed';return(await this[_0x34675f(0x2e4)]['post'](_0x527f8a,{'body':_0x511496}))[_0x34675f(0x20b)]['actions'];}async[_0x5aed06(0x42f)](_0x1c8b5f){var _0x392306=_0x5aed06;const _0x4945af=this[_0x392306(0x260)]()+_0x392306(0x267);return(await this['_HTTPService'][_0x392306(0x4b1)](_0x4945af,{'body':{'requests':_0x1c8b5f}}))[_0x392306(0x20b)][_0x392306(0x252)];}async[_0x5aed06(0x436)](_0x14ab0c){var _0x25ed8d=_0x5aed06;const _0x4f5113=this[_0x25ed8d(0x260)]()+'/'+_0x14ab0c[_0x25ed8d(0x417)]+_0x25ed8d(0x4c2),_0x337ba2=await this['_HTTPService'][_0x25ed8d(0x4b1)](_0x4f5113,{'body':_0x14ab0c});return{'roles':_0x337ba2[_0x25ed8d(0x20b)][_0x25ed8d(0x42b)],'actions':_0x337ba2[_0x25ed8d(0x20b)][_0x25ed8d(0x186)]};}async[_0x5aed06(0x38c)](_0x40ee07){var _0x15364f=_0x5aed06;const _0x44dfcb=this[_0x15364f(0x260)]()+_0x15364f(0x228);await this[_0x15364f(0x2e4)][_0x15364f(0x438)](_0x44dfcb,{'params':{'collaboratorID':_0x40ee07[_0x15364f(0x492)],'objectID':_0x40ee07['objectID'],'unitID':_0x40ee07[_0x15364f(0x2c5)]}});}async[_0x5aed06(0x3b3)](_0x586b44){var _0x3ecb23=_0x5aed06;const _0x20d1a4=this[_0x3ecb23(0x260)]()+_0x3ecb23(0x228);await this[_0x3ecb23(0x2e4)][_0x3ecb23(0x46a)](_0x20d1a4,{'body':_0x586b44});}async[_0x5aed06(0x353)](_0x2f228b){var _0x9c4179=_0x5aed06;const _0x35ff2b=this[_0x9c4179(0x260)]()+_0x9c4179(0x228);await this[_0x9c4179(0x2e4)][_0x9c4179(0x4b1)](_0x35ff2b,{'body':_0x2f228b});}async['listCollaborators'](_0x428cbb){var _0x14f595=_0x5aed06;const _0x10b519=this[_0x14f595(0x260)]()+_0x14f595(0x228);return(await this[_0x14f595(0x2e4)][_0x14f595(0x4d1)](_0x10b519,{'params':{'objectID':_0x428cbb[_0x14f595(0x4ca)],'unitID':_0x428cbb[_0x14f595(0x2c5)]}}))['body']['collaborators'];}async[_0x5aed06(0x1b0)](_0x35f542){var _0x137bf0=_0x5aed06;const _0x5327f7=this[_0x137bf0(0x260)]()+'/collaborator';await this['_HTTPService'][_0x137bf0(0x35c)](_0x5327f7,{'body':_0x35f542});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)])),qe(0x1,a[_0x5aed06(0x46b)](a[_0x5aed06(0x3a7)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4bab0e){var _0x5a0e18=_0x5aed06;return _0x4bab0e&&_0x4bab0e[_0x5a0e18(0x370)]&&Object[_0x5a0e18(0x242)][_0x5a0e18(0x498)]['call'](_0x4bab0e,_0x5a0e18(0x457))?_0x4bab0e[_0x5a0e18(0x457)]:_0x4bab0e;}var fe={'exports':{}};function Oi(_0x4ece65){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4ece65+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},yi=pe[_0x5aed06(0x418)],ze;function Q(){return ze||(ze=0x1,function(_0x4e6cad,_0x4c8ea8){(function(_0x42919c,_0x3b47b9){var _0x1b55a5=_0x156c;_0x4e6cad[_0x1b55a5(0x418)]=_0x3b47b9();}(yi,function(){var _0x51f3a4=_0x51f3a4||function(_0x2ff409,_0x3fb4be){var _0x151c76=_0x156c,_0x1fa5b5;if(typeof window<'u'&&window[_0x151c76(0x38e)]&&(_0x1fa5b5=window[_0x151c76(0x38e)]),typeof self<'u'&&self['crypto']&&(_0x1fa5b5=self[_0x151c76(0x38e)]),typeof globalThis<'u'&&globalThis[_0x151c76(0x38e)]&&(_0x1fa5b5=globalThis[_0x151c76(0x38e)]),!_0x1fa5b5&&typeof window<'u'&&window[_0x151c76(0x21e)]&&(_0x1fa5b5=window['msCrypto']),!_0x1fa5b5&&typeof Pe<'u'&&Pe['crypto']&&(_0x1fa5b5=Pe['crypto']),!_0x1fa5b5&&typeof Oi==_0x151c76(0x2d0))try{_0x1fa5b5=require(_0x151c76(0x38e));}catch{}var _0x51ac75=function(){var _0x5444cb=_0x151c76;if(_0x1fa5b5){if(typeof _0x1fa5b5[_0x5444cb(0x248)]==_0x5444cb(0x2d0))try{return _0x1fa5b5[_0x5444cb(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fa5b5[_0x5444cb(0x48f)]==_0x5444cb(0x2d0))try{return _0x1fa5b5[_0x5444cb(0x48f)](0x4)[_0x5444cb(0x43c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5372ac=Object[_0x151c76(0x399)]||(function(){function _0x2d03fb(){}return function(_0x87ac85){var _0x381efb=_0x156c,_0x27b82e;return _0x2d03fb[_0x381efb(0x242)]=_0x87ac85,_0x27b82e=new _0x2d03fb(),_0x2d03fb['prototype']=null,_0x27b82e;};}()),_0x3f2d62={},_0x4e6bf4=_0x3f2d62[_0x151c76(0x359)]={},_0x29b0f1=_0x4e6bf4['Base']=(function(){return{'extend':function(_0x339686){var _0x28bae2=_0x156c,_0x3905bf=_0x5372ac(this);return _0x339686&&_0x3905bf[_0x28bae2(0x442)](_0x339686),(!_0x3905bf[_0x28bae2(0x498)](_0x28bae2(0x21f))||this['init']===_0x3905bf[_0x28bae2(0x21f)])&&(_0x3905bf['init']=function(){var _0x3b3183=_0x28bae2;_0x3905bf[_0x3b3183(0x3cc)][_0x3b3183(0x21f)][_0x3b3183(0x3d0)](this,arguments);}),_0x3905bf[_0x28bae2(0x21f)][_0x28bae2(0x242)]=_0x3905bf,_0x3905bf['$super']=this,_0x3905bf;},'create':function(){var _0x215f52=this['extend']();return _0x215f52['init']['apply'](_0x215f52,arguments),_0x215f52;},'init':function(){},'mixIn':function(_0x4a807b){var _0x782d4e=_0x156c;for(var _0x49f34c in _0x4a807b)_0x4a807b['hasOwnProperty'](_0x49f34c)&&(this[_0x49f34c]=_0x4a807b[_0x49f34c]);_0x4a807b[_0x782d4e(0x498)](_0x782d4e(0x383))&&(this[_0x782d4e(0x383)]=_0x4a807b[_0x782d4e(0x383)]);},'clone':function(){var _0x184e2a=_0x156c;return this[_0x184e2a(0x21f)][_0x184e2a(0x242)][_0x184e2a(0x330)](this);}};}()),_0x2270f9=_0x4e6bf4[_0x151c76(0x385)]=_0x29b0f1[_0x151c76(0x330)]({'init':function(_0x9bdd89,_0x43a227){var _0x1d0b77=_0x151c76;_0x9bdd89=this[_0x1d0b77(0x3a0)]=_0x9bdd89||[],_0x43a227!=_0x3fb4be?this[_0x1d0b77(0x379)]=_0x43a227:this[_0x1d0b77(0x379)]=_0x9bdd89['length']*0x4;},'toString':function(_0x3de7f9){var _0x47351d=_0x151c76;return(_0x3de7f9||_0x157c2b)[_0x47351d(0x463)](this);},'concat':function(_0x2763dc){var _0x46557c=_0x151c76,_0x3c7069=this[_0x46557c(0x3a0)],_0x3ce051=_0x2763dc[_0x46557c(0x3a0)],_0xfaa7c2=this['sigBytes'],_0x338385=_0x2763dc[_0x46557c(0x379)];if(this['clamp'](),_0xfaa7c2%0x4)for(var _0x289dfb=0x0;_0x289dfb<_0x338385;_0x289dfb++){var _0x75d1bc=_0x3ce051[_0x289dfb>>>0x2]>>>0x18-_0x289dfb%0x4*0x8&0xff;_0x3c7069[_0xfaa7c2+_0x289dfb>>>0x2]|=_0x75d1bc<<0x18-(_0xfaa7c2+_0x289dfb)%0x4*0x8;}else{for(var _0x1f0ae0=0x0;_0x1f0ae0<_0x338385;_0x1f0ae0+=0x4)_0x3c7069[_0xfaa7c2+_0x1f0ae0>>>0x2]=_0x3ce051[_0x1f0ae0>>>0x2];}return this[_0x46557c(0x379)]+=_0x338385,this;},'clamp':function(){var _0x9fc1ce=_0x151c76,_0x231f83=this[_0x9fc1ce(0x3a0)],_0x1fc66d=this['sigBytes'];_0x231f83[_0x1fc66d>>>0x2]&=0xffffffff<<0x20-_0x1fc66d%0x4*0x8,_0x231f83[_0x9fc1ce(0x24e)]=_0x2ff409[_0x9fc1ce(0x4bc)](_0x1fc66d/0x4);},'clone':function(){var _0x482abb=_0x151c76,_0x4d348f=_0x29b0f1['clone'][_0x482abb(0x254)](this);return _0x4d348f['words']=this[_0x482abb(0x3a0)][_0x482abb(0x1fc)](0x0),_0x4d348f;},'random':function(_0x59446d){var _0x221518=_0x151c76;for(var _0x1fc29a=[],_0x1ae9df=0x0;_0x1ae9df<_0x59446d;_0x1ae9df+=0x4)_0x1fc29a[_0x221518(0x2a4)](_0x51ac75());return new _0x2270f9['init'](_0x1fc29a,_0x59446d);}}),_0x427e84=_0x3f2d62['enc']={},_0x157c2b=_0x427e84[_0x151c76(0x2e0)]={'stringify':function(_0x105704){var _0x2c9c4d=_0x151c76;for(var _0x3a8ef2=_0x105704[_0x2c9c4d(0x3a0)],_0x1672dc=_0x105704[_0x2c9c4d(0x379)],_0x36d62e=[],_0x5a2d6e=0x0;_0x5a2d6e<_0x1672dc;_0x5a2d6e++){var _0xf9f36f=_0x3a8ef2[_0x5a2d6e>>>0x2]>>>0x18-_0x5a2d6e%0x4*0x8&0xff;_0x36d62e[_0x2c9c4d(0x2a4)]((_0xf9f36f>>>0x4)[_0x2c9c4d(0x383)](0x10)),_0x36d62e['push']((_0xf9f36f&0xf)[_0x2c9c4d(0x383)](0x10));}return _0x36d62e[_0x2c9c4d(0x1f9)]('');},'parse':function(_0x43dd95){var _0x934882=_0x151c76;for(var _0x5c2d24=_0x43dd95['length'],_0x388829=[],_0xfb2f4c=0x0;_0xfb2f4c<_0x5c2d24;_0xfb2f4c+=0x2)_0x388829[_0xfb2f4c>>>0x3]|=parseInt(_0x43dd95[_0x934882(0x3b8)](_0xfb2f4c,0x2),0x10)<<0x18-_0xfb2f4c%0x8*0x4;return new _0x2270f9[(_0x934882(0x21f))](_0x388829,_0x5c2d24/0x2);}},_0x4e47f1=_0x427e84[_0x151c76(0x217)]={'stringify':function(_0x5c3768){var _0x5935fa=_0x151c76;for(var _0x12c84f=_0x5c3768['words'],_0x4230f7=_0x5c3768[_0x5935fa(0x379)],_0x3343c3=[],_0x114ae4=0x0;_0x114ae4<_0x4230f7;_0x114ae4++){var _0x21224d=_0x12c84f[_0x114ae4>>>0x2]>>>0x18-_0x114ae4%0x4*0x8&0xff;_0x3343c3[_0x5935fa(0x2a4)](String[_0x5935fa(0x177)](_0x21224d));}return _0x3343c3[_0x5935fa(0x1f9)]('');},'parse':function(_0x9ef141){var _0x12f44d=_0x151c76;for(var _0x3f0917=_0x9ef141[_0x12f44d(0x24e)],_0xaac854=[],_0x37fb23=0x0;_0x37fb23<_0x3f0917;_0x37fb23++)_0xaac854[_0x37fb23>>>0x2]|=(_0x9ef141[_0x12f44d(0x245)](_0x37fb23)&0xff)<<0x18-_0x37fb23%0x4*0x8;return new _0x2270f9[(_0x12f44d(0x21f))](_0xaac854,_0x3f0917);}},_0x2d2087=_0x427e84['Utf8']={'stringify':function(_0x5dc28){var _0x591313=_0x151c76;try{return decodeURIComponent(escape(_0x4e47f1['stringify'](_0x5dc28)));}catch{throw new Error(_0x591313(0x28f));}},'parse':function(_0x1d24f5){var _0x3b83ec=_0x151c76;return _0x4e47f1[_0x3b83ec(0x274)](unescape(encodeURIComponent(_0x1d24f5)));}},_0x5f16cf=_0x4e6bf4[_0x151c76(0x405)]=_0x29b0f1[_0x151c76(0x330)]({'reset':function(){var _0x456257=_0x151c76;this['_data']=new _0x2270f9[(_0x456257(0x21f))](),this[_0x456257(0x226)]=0x0;},'_append':function(_0x521ef2){var _0x22f3d2=_0x151c76;typeof _0x521ef2==_0x22f3d2(0x30d)&&(_0x521ef2=_0x2d2087[_0x22f3d2(0x274)](_0x521ef2)),this['_data'][_0x22f3d2(0x2a0)](_0x521ef2),this['_nDataBytes']+=_0x521ef2[_0x22f3d2(0x379)];},'_process':function(_0x1ab306){var _0x805335=_0x151c76,_0x2a9d00,_0x62dbaa=this[_0x805335(0x363)],_0x593d65=_0x62dbaa[_0x805335(0x3a0)],_0x236c9e=_0x62dbaa['sigBytes'],_0x4316e2=this[_0x805335(0x488)],_0x2701d8=_0x4316e2*0x4,_0x4cb722=_0x236c9e/_0x2701d8;_0x1ab306?_0x4cb722=_0x2ff409['ceil'](_0x4cb722):_0x4cb722=_0x2ff409[_0x805335(0x20f)]((_0x4cb722|0x0)-this[_0x805335(0x35a)],0x0);var _0x5aa4d4=_0x4cb722*_0x4316e2,_0x1c43b5=_0x2ff409['min'](_0x5aa4d4*0x4,_0x236c9e);if(_0x5aa4d4){for(var _0xbd5857=0x0;_0xbd5857<_0x5aa4d4;_0xbd5857+=_0x4316e2)this[_0x805335(0x390)](_0x593d65,_0xbd5857);_0x2a9d00=_0x593d65[_0x805335(0x42a)](0x0,_0x5aa4d4),_0x62dbaa['sigBytes']-=_0x1c43b5;}return new _0x2270f9[(_0x805335(0x21f))](_0x2a9d00,_0x1c43b5);},'clone':function(){var _0x5ea2c1=_0x151c76,_0x5072c2=_0x29b0f1[_0x5ea2c1(0x1e4)][_0x5ea2c1(0x254)](this);return _0x5072c2[_0x5ea2c1(0x363)]=this['_data']['clone'](),_0x5072c2;},'_minBufferSize':0x0});_0x4e6bf4[_0x151c76(0x32a)]=_0x5f16cf[_0x151c76(0x330)]({'cfg':_0x29b0f1['extend'](),'init':function(_0x47338e){var _0x1af3c4=_0x151c76;this[_0x1af3c4(0x2e3)]=this[_0x1af3c4(0x2e3)]['extend'](_0x47338e),this[_0x1af3c4(0x23c)]();},'reset':function(){var _0x393421=_0x151c76;_0x5f16cf['reset'][_0x393421(0x254)](this),this[_0x393421(0x378)]();},'update':function(_0x17d947){var _0x2433b3=_0x151c76;return this[_0x2433b3(0x295)](_0x17d947),this[_0x2433b3(0x406)](),this;},'finalize':function(_0x1463b1){var _0x38629b=_0x151c76;_0x1463b1&&this[_0x38629b(0x295)](_0x1463b1);var _0x2bfa6a=this[_0x38629b(0x364)]();return _0x2bfa6a;},'blockSize':0x10,'_createHelper':function(_0x325783){return function(_0x237e4f,_0x22d890){var _0x5b4520=_0x156c;return new _0x325783[(_0x5b4520(0x21f))](_0x22d890)[_0x5b4520(0x3b2)](_0x237e4f);};},'_createHmacHelper':function(_0x1e9fd0){return function(_0x7a45d5,_0x304504){var _0x267504=_0x156c;return new _0x93af64[(_0x267504(0x25a))][(_0x267504(0x21f))](_0x1e9fd0,_0x304504)[_0x267504(0x3b2)](_0x7a45d5);};}});var _0x93af64=_0x3f2d62['algo']={};return _0x3f2d62;}(Math);return _0x51f3a4;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie[_0x5aed06(0x418)],Je;function yt(){return Je||(Je=0x1,function(_0x1faf82,_0x1a576f){(function(_0xd8bc4b,_0x4d7621){var _0x1eef47=_0x156c;_0x1faf82[_0x1eef47(0x418)]=_0x4d7621(Q());}(Ni,function(_0x334905){var _0x24a08d=_0x156c;return(function(){var _0x87f2c2=_0x156c,_0x15d8e3=_0x334905,_0x17eb6f=_0x15d8e3[_0x87f2c2(0x359)],_0x4b8d70=_0x17eb6f[_0x87f2c2(0x385)],_0x4f5d57=_0x15d8e3[_0x87f2c2(0x22f)];_0x4f5d57[_0x87f2c2(0x2c2)]={'stringify':function(_0x2d66ca){var _0x3846d8=_0x87f2c2,_0x10e1c5=_0x2d66ca[_0x3846d8(0x3a0)],_0x43abf2=_0x2d66ca[_0x3846d8(0x379)],_0x22c2eb=this[_0x3846d8(0x207)];_0x2d66ca[_0x3846d8(0x4ac)]();for(var _0x4ed0b3=[],_0xbde1dc=0x0;_0xbde1dc<_0x43abf2;_0xbde1dc+=0x3)for(var _0x40e8c5=_0x10e1c5[_0xbde1dc>>>0x2]>>>0x18-_0xbde1dc%0x4*0x8&0xff,_0x3e8c70=_0x10e1c5[_0xbde1dc+0x1>>>0x2]>>>0x18-(_0xbde1dc+0x1)%0x4*0x8&0xff,_0x3bf80f=_0x10e1c5[_0xbde1dc+0x2>>>0x2]>>>0x18-(_0xbde1dc+0x2)%0x4*0x8&0xff,_0x38fc28=_0x40e8c5<<0x10|_0x3e8c70<<0x8|_0x3bf80f,_0x439788=0x0;_0x439788<0x4&&_0xbde1dc+_0x439788*0.75<_0x43abf2;_0x439788++)_0x4ed0b3[_0x3846d8(0x2a4)](_0x22c2eb[_0x3846d8(0x375)](_0x38fc28>>>0x6*(0x3-_0x439788)&0x3f));var _0x1d873e=_0x22c2eb[_0x3846d8(0x375)](0x40);if(_0x1d873e){for(;_0x4ed0b3[_0x3846d8(0x24e)]%0x4;)_0x4ed0b3[_0x3846d8(0x2a4)](_0x1d873e);}return _0x4ed0b3[_0x3846d8(0x1f9)]('');},'parse':function(_0x1bb1d3){var _0x190dad=_0x87f2c2,_0x692daf=_0x1bb1d3['length'],_0x38c6cd=this[_0x190dad(0x207)],_0x4bf562=this[_0x190dad(0x4b4)];if(!_0x4bf562){_0x4bf562=this['_reverseMap']=[];for(var _0x1e2301=0x0;_0x1e2301<_0x38c6cd[_0x190dad(0x24e)];_0x1e2301++)_0x4bf562[_0x38c6cd[_0x190dad(0x245)](_0x1e2301)]=_0x1e2301;}var _0x1ea2bc=_0x38c6cd[_0x190dad(0x375)](0x40);if(_0x1ea2bc){var _0x4cb2fc=_0x1bb1d3[_0x190dad(0x415)](_0x1ea2bc);_0x4cb2fc!==-0x1&&(_0x692daf=_0x4cb2fc);}return _0xb7ef2a(_0x1bb1d3,_0x692daf,_0x4bf562);},'_map':_0x87f2c2(0x1bd)};function _0xb7ef2a(_0x138cba,_0x35ff59,_0x3b87d7){var _0x2a3cca=_0x87f2c2;for(var _0x896cf8=[],_0x5b46ed=0x0,_0x5bccfa=0x0;_0x5bccfa<_0x35ff59;_0x5bccfa++)if(_0x5bccfa%0x4){var _0x6dd36e=_0x3b87d7[_0x138cba[_0x2a3cca(0x245)](_0x5bccfa-0x1)]<<_0x5bccfa%0x4*0x2,_0x5ab6f1=_0x3b87d7[_0x138cba[_0x2a3cca(0x245)](_0x5bccfa)]>>>0x6-_0x5bccfa%0x4*0x2,_0x5aabf5=_0x6dd36e|_0x5ab6f1;_0x896cf8[_0x5b46ed>>>0x2]|=_0x5aabf5<<0x18-_0x5b46ed%0x4*0x8,_0x5b46ed++;}return _0x4b8d70['create'](_0x896cf8,_0x5b46ed);}}()),_0x334905['enc'][_0x24a08d(0x2c2)];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){return Xe||(Xe=0x1,function(_0x27cbc5,_0x1c5bb6){(function(_0x386d5a,_0x2cb464){var _0x2b9ae6=_0x156c;_0x27cbc5[_0x2b9ae6(0x418)]=_0x2cb464(Q());}(Ui,function(_0x25b848){var _0x2296c4=_0x156c;return function(_0x139e00){var _0x49b223=_0x156c,_0x4b6e59=_0x25b848,_0x9eeb8e=_0x4b6e59[_0x49b223(0x359)],_0x2280a7=_0x9eeb8e['WordArray'],_0x57e3d4=_0x9eeb8e[_0x49b223(0x32a)],_0x3d7cbc=_0x4b6e59[_0x49b223(0x466)],_0x314911=[];(function(){var _0x2b8b5a=_0x49b223;for(var _0x3d3856=0x0;_0x3d3856<0x40;_0x3d3856++)_0x314911[_0x3d3856]=_0x139e00['abs'](_0x139e00[_0x2b8b5a(0x1e7)](_0x3d3856+0x1))*0x100000000|0x0;}());var _0x2b2ad7=_0x3d7cbc[_0x49b223(0x497)]=_0x57e3d4[_0x49b223(0x330)]({'_doReset':function(){var _0x3d930b=_0x49b223;this[_0x3d930b(0x2b5)]=new _0x2280a7[(_0x3d930b(0x21f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4cee51,_0x50e86d){var _0x25bc5d=_0x49b223;for(var _0x2b422a=0x0;_0x2b422a<0x10;_0x2b422a++){var _0x3f7876=_0x50e86d+_0x2b422a,_0x59257e=_0x4cee51[_0x3f7876];_0x4cee51[_0x3f7876]=(_0x59257e<<0x8|_0x59257e>>>0x18)&0xff00ff|(_0x59257e<<0x18|_0x59257e>>>0x8)&0xff00ff00;}var _0x12b75c=this['_hash'][_0x25bc5d(0x3a0)],_0x40452e=_0x4cee51[_0x50e86d+0x0],_0x1aae26=_0x4cee51[_0x50e86d+0x1],_0x88e159=_0x4cee51[_0x50e86d+0x2],_0x555814=_0x4cee51[_0x50e86d+0x3],_0x1773ef=_0x4cee51[_0x50e86d+0x4],_0x56f18b=_0x4cee51[_0x50e86d+0x5],_0xab1346=_0x4cee51[_0x50e86d+0x6],_0x3d381f=_0x4cee51[_0x50e86d+0x7],_0x35a2eb=_0x4cee51[_0x50e86d+0x8],_0x52073e=_0x4cee51[_0x50e86d+0x9],_0x15c2ad=_0x4cee51[_0x50e86d+0xa],_0xd0fef5=_0x4cee51[_0x50e86d+0xb],_0x3253aa=_0x4cee51[_0x50e86d+0xc],_0x13003e=_0x4cee51[_0x50e86d+0xd],_0xac196e=_0x4cee51[_0x50e86d+0xe],_0x41cd9e=_0x4cee51[_0x50e86d+0xf],_0x1b15ee=_0x12b75c[0x0],_0x5d7c2b=_0x12b75c[0x1],_0x438359=_0x12b75c[0x2],_0xa3bd58=_0x12b75c[0x3];_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x40452e,0x7,_0x314911[0x0]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x1aae26,0xc,_0x314911[0x1]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x88e159,0x11,_0x314911[0x2]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x555814,0x16,_0x314911[0x3]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1773ef,0x7,_0x314911[0x4]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x56f18b,0xc,_0x314911[0x5]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xab1346,0x11,_0x314911[0x6]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x3d381f,0x16,_0x314911[0x7]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x35a2eb,0x7,_0x314911[0x8]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x52073e,0xc,_0x314911[0x9]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x15c2ad,0x11,_0x314911[0xa]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xd0fef5,0x16,_0x314911[0xb]),_0x1b15ee=_0x5d60d5(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x3253aa,0x7,_0x314911[0xc]),_0xa3bd58=_0x5d60d5(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x13003e,0xc,_0x314911[0xd]),_0x438359=_0x5d60d5(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xac196e,0x11,_0x314911[0xe]),_0x5d7c2b=_0x5d60d5(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x41cd9e,0x16,_0x314911[0xf]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1aae26,0x5,_0x314911[0x10]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xab1346,0x9,_0x314911[0x11]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xd0fef5,0xe,_0x314911[0x12]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x40452e,0x14,_0x314911[0x13]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x56f18b,0x5,_0x314911[0x14]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x15c2ad,0x9,_0x314911[0x15]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x41cd9e,0xe,_0x314911[0x16]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x1773ef,0x14,_0x314911[0x17]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x52073e,0x5,_0x314911[0x18]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xac196e,0x9,_0x314911[0x19]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x555814,0xe,_0x314911[0x1a]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x35a2eb,0x14,_0x314911[0x1b]),_0x1b15ee=_0x497b05(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x13003e,0x5,_0x314911[0x1c]),_0xa3bd58=_0x497b05(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x88e159,0x9,_0x314911[0x1d]),_0x438359=_0x497b05(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x3d381f,0xe,_0x314911[0x1e]),_0x5d7c2b=_0x497b05(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x3253aa,0x14,_0x314911[0x1f]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x56f18b,0x4,_0x314911[0x20]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x35a2eb,0xb,_0x314911[0x21]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xd0fef5,0x10,_0x314911[0x22]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xac196e,0x17,_0x314911[0x23]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1aae26,0x4,_0x314911[0x24]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x1773ef,0xb,_0x314911[0x25]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x3d381f,0x10,_0x314911[0x26]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x15c2ad,0x17,_0x314911[0x27]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x13003e,0x4,_0x314911[0x28]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x40452e,0xb,_0x314911[0x29]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x555814,0x10,_0x314911[0x2a]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0xab1346,0x17,_0x314911[0x2b]),_0x1b15ee=_0x782fad(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x52073e,0x4,_0x314911[0x2c]),_0xa3bd58=_0x782fad(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x3253aa,0xb,_0x314911[0x2d]),_0x438359=_0x782fad(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x41cd9e,0x10,_0x314911[0x2e]),_0x5d7c2b=_0x782fad(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x88e159,0x17,_0x314911[0x2f]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x40452e,0x6,_0x314911[0x30]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x3d381f,0xa,_0x314911[0x31]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xac196e,0xf,_0x314911[0x32]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x56f18b,0x15,_0x314911[0x33]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x3253aa,0x6,_0x314911[0x34]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x555814,0xa,_0x314911[0x35]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x15c2ad,0xf,_0x314911[0x36]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x1aae26,0x15,_0x314911[0x37]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x35a2eb,0x6,_0x314911[0x38]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0x41cd9e,0xa,_0x314911[0x39]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0xab1346,0xf,_0x314911[0x3a]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x13003e,0x15,_0x314911[0x3b]),_0x1b15ee=_0x2f81dd(_0x1b15ee,_0x5d7c2b,_0x438359,_0xa3bd58,_0x1773ef,0x6,_0x314911[0x3c]),_0xa3bd58=_0x2f81dd(_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x438359,_0xd0fef5,0xa,_0x314911[0x3d]),_0x438359=_0x2f81dd(_0x438359,_0xa3bd58,_0x1b15ee,_0x5d7c2b,_0x88e159,0xf,_0x314911[0x3e]),_0x5d7c2b=_0x2f81dd(_0x5d7c2b,_0x438359,_0xa3bd58,_0x1b15ee,_0x52073e,0x15,_0x314911[0x3f]),_0x12b75c[0x0]=_0x12b75c[0x0]+_0x1b15ee|0x0,_0x12b75c[0x1]=_0x12b75c[0x1]+_0x5d7c2b|0x0,_0x12b75c[0x2]=_0x12b75c[0x2]+_0x438359|0x0,_0x12b75c[0x3]=_0x12b75c[0x3]+_0xa3bd58|0x0;},'_doFinalize':function(){var _0x2c88d9=_0x49b223,_0xd3942a=this[_0x2c88d9(0x363)],_0x634770=_0xd3942a[_0x2c88d9(0x3a0)],_0xa3888e=this[_0x2c88d9(0x226)]*0x8,_0x34d553=_0xd3942a['sigBytes']*0x8;_0x634770[_0x34d553>>>0x5]|=0x80<<0x18-_0x34d553%0x20;var _0x3219a7=_0x139e00[_0x2c88d9(0x250)](_0xa3888e/0x100000000),_0x573f2a=_0xa3888e;_0x634770[(_0x34d553+0x40>>>0x9<<0x4)+0xf]=(_0x3219a7<<0x8|_0x3219a7>>>0x18)&0xff00ff|(_0x3219a7<<0x18|_0x3219a7>>>0x8)&0xff00ff00,_0x634770[(_0x34d553+0x40>>>0x9<<0x4)+0xe]=(_0x573f2a<<0x8|_0x573f2a>>>0x18)&0xff00ff|(_0x573f2a<<0x18|_0x573f2a>>>0x8)&0xff00ff00,_0xd3942a[_0x2c88d9(0x379)]=(_0x634770[_0x2c88d9(0x24e)]+0x1)*0x4,this[_0x2c88d9(0x406)]();for(var _0x5434ee=this[_0x2c88d9(0x2b5)],_0x499d2f=_0x5434ee[_0x2c88d9(0x3a0)],_0x3dd1df=0x0;_0x3dd1df<0x4;_0x3dd1df++){var _0x20ca37=_0x499d2f[_0x3dd1df];_0x499d2f[_0x3dd1df]=(_0x20ca37<<0x8|_0x20ca37>>>0x18)&0xff00ff|(_0x20ca37<<0x18|_0x20ca37>>>0x8)&0xff00ff00;}return _0x5434ee;},'clone':function(){var _0x5d3507=_0x49b223,_0x42191b=_0x57e3d4[_0x5d3507(0x1e4)]['call'](this);return _0x42191b[_0x5d3507(0x2b5)]=this['_hash'][_0x5d3507(0x1e4)](),_0x42191b;}});function _0x5d60d5(_0x2d955d,_0x7779f,_0x5ad038,_0x539121,_0x1ef370,_0x52f4f1,_0x5e18a5){var _0xdaea3d=_0x2d955d+(_0x7779f&_0x5ad038|~_0x7779f&_0x539121)+_0x1ef370+_0x5e18a5;return(_0xdaea3d<<_0x52f4f1|_0xdaea3d>>>0x20-_0x52f4f1)+_0x7779f;}function _0x497b05(_0x36660b,_0x252a2d,_0x405559,_0x18f414,_0x4de274,_0x2cd968,_0x44faac){var _0x146f78=_0x36660b+(_0x252a2d&_0x18f414|_0x405559&~_0x18f414)+_0x4de274+_0x44faac;return(_0x146f78<<_0x2cd968|_0x146f78>>>0x20-_0x2cd968)+_0x252a2d;}function _0x782fad(_0x1745b9,_0x48d066,_0x23035e,_0x47e50e,_0x7c0ecd,_0x14eedb,_0x524681){var _0x30d706=_0x1745b9+(_0x48d066^_0x23035e^_0x47e50e)+_0x7c0ecd+_0x524681;return(_0x30d706<<_0x14eedb|_0x30d706>>>0x20-_0x14eedb)+_0x48d066;}function _0x2f81dd(_0x4bef07,_0x3adc2e,_0x2ccc6d,_0x55a677,_0x26a61e,_0x1033cf,_0x3cfbb0){var _0x394ed9=_0x4bef07+(_0x2ccc6d^(_0x3adc2e|~_0x55a677))+_0x26a61e+_0x3cfbb0;return(_0x394ed9<<_0x1033cf|_0x394ed9>>>0x20-_0x1033cf)+_0x3adc2e;}_0x4b6e59[_0x49b223(0x497)]=_0x57e3d4['_createHelper'](_0x2b2ad7),_0x4b6e59['HmacMD5']=_0x57e3d4[_0x49b223(0x421)](_0x2b2ad7);}(Math),_0x25b848[_0x2296c4(0x497)];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x5aed06(0x418)],Ze;function Pi(){var _0x51c2fd=_0x5aed06;return Ze||(Ze=0x1,function(_0x5ca785,_0x4cea5d){(function(_0x16aaa8,_0x12afb3){var _0x2b058f=_0x156c;_0x5ca785[_0x2b058f(0x418)]=_0x12afb3(Q());}(Ai,function(_0x5c2ea1){return(function(){var _0x106b6d=_0x156c,_0x175d7d=_0x5c2ea1,_0xd9b666=_0x175d7d[_0x106b6d(0x359)],_0x145533=_0xd9b666[_0x106b6d(0x385)],_0x141d40=_0xd9b666[_0x106b6d(0x32a)],_0x10d9fc=_0x175d7d[_0x106b6d(0x466)],_0x3a102b=[],_0x125ece=_0x10d9fc[_0x106b6d(0x4c5)]=_0x141d40[_0x106b6d(0x330)]({'_doReset':function(){var _0x783b9f=_0x106b6d;this['_hash']=new _0x145533[(_0x783b9f(0x21f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a0240,_0x2b9b98){var _0x4d2a55=_0x106b6d;for(var _0x3b39f1=this[_0x4d2a55(0x2b5)][_0x4d2a55(0x3a0)],_0x5bf638=_0x3b39f1[0x0],_0x6c9307=_0x3b39f1[0x1],_0x3e0fe4=_0x3b39f1[0x2],_0x2ffbb5=_0x3b39f1[0x3],_0x51eba2=_0x3b39f1[0x4],_0x24fbaf=0x0;_0x24fbaf<0x50;_0x24fbaf++){if(_0x24fbaf<0x10)_0x3a102b[_0x24fbaf]=_0x1a0240[_0x2b9b98+_0x24fbaf]|0x0;else{var _0x40a6c9=_0x3a102b[_0x24fbaf-0x3]^_0x3a102b[_0x24fbaf-0x8]^_0x3a102b[_0x24fbaf-0xe]^_0x3a102b[_0x24fbaf-0x10];_0x3a102b[_0x24fbaf]=_0x40a6c9<<0x1|_0x40a6c9>>>0x1f;}var _0xbd24fd=(_0x5bf638<<0x5|_0x5bf638>>>0x1b)+_0x51eba2+_0x3a102b[_0x24fbaf];_0x24fbaf<0x14?_0xbd24fd+=(_0x6c9307&_0x3e0fe4|~_0x6c9307&_0x2ffbb5)+0x5a827999:_0x24fbaf<0x28?_0xbd24fd+=(_0x6c9307^_0x3e0fe4^_0x2ffbb5)+0x6ed9eba1:_0x24fbaf<0x3c?_0xbd24fd+=(_0x6c9307&_0x3e0fe4|_0x6c9307&_0x2ffbb5|_0x3e0fe4&_0x2ffbb5)-0x70e44324:_0xbd24fd+=(_0x6c9307^_0x3e0fe4^_0x2ffbb5)-0x359d3e2a,_0x51eba2=_0x2ffbb5,_0x2ffbb5=_0x3e0fe4,_0x3e0fe4=_0x6c9307<<0x1e|_0x6c9307>>>0x2,_0x6c9307=_0x5bf638,_0x5bf638=_0xbd24fd;}_0x3b39f1[0x0]=_0x3b39f1[0x0]+_0x5bf638|0x0,_0x3b39f1[0x1]=_0x3b39f1[0x1]+_0x6c9307|0x0,_0x3b39f1[0x2]=_0x3b39f1[0x2]+_0x3e0fe4|0x0,_0x3b39f1[0x3]=_0x3b39f1[0x3]+_0x2ffbb5|0x0,_0x3b39f1[0x4]=_0x3b39f1[0x4]+_0x51eba2|0x0;},'_doFinalize':function(){var _0x175b50=_0x106b6d,_0x12b063=this['_data'],_0x5de1bd=_0x12b063[_0x175b50(0x3a0)],_0x2cd270=this[_0x175b50(0x226)]*0x8,_0x5488fc=_0x12b063[_0x175b50(0x379)]*0x8;return _0x5de1bd[_0x5488fc>>>0x5]|=0x80<<0x18-_0x5488fc%0x20,_0x5de1bd[(_0x5488fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x175b50(0x250)](_0x2cd270/0x100000000),_0x5de1bd[(_0x5488fc+0x40>>>0x9<<0x4)+0xf]=_0x2cd270,_0x12b063[_0x175b50(0x379)]=_0x5de1bd[_0x175b50(0x24e)]*0x4,this['_process'](),this[_0x175b50(0x2b5)];},'clone':function(){var _0x313f53=_0x106b6d,_0x52754b=_0x141d40[_0x313f53(0x1e4)][_0x313f53(0x254)](this);return _0x52754b[_0x313f53(0x2b5)]=this[_0x313f53(0x2b5)]['clone'](),_0x52754b;}});_0x175d7d[_0x106b6d(0x4c5)]=_0x141d40[_0x106b6d(0x324)](_0x125ece),_0x175d7d[_0x106b6d(0x462)]=_0x141d40[_0x106b6d(0x421)](_0x125ece);}()),_0x5c2ea1['SHA1'];}));}(me)),me[_0x51c2fd(0x418)];}var Ce={'exports':{}},wi=Ce[_0x5aed06(0x418)],Qe;function Li(){var _0x17515f=_0x5aed06;return Qe||(Qe=0x1,function(_0x5e668c,_0x5cda3b){(function(_0x31abcc,_0x498f8b){_0x5e668c['exports']=_0x498f8b(Q());}(wi,function(_0x467ef5){(function(){var _0x36d5b3=_0x156c,_0xaf0c8f=_0x467ef5,_0x1832a1=_0xaf0c8f[_0x36d5b3(0x359)],_0x338a14=_0x1832a1[_0x36d5b3(0x4b8)],_0x2531da=_0xaf0c8f[_0x36d5b3(0x22f)],_0x4c9da4=_0x2531da[_0x36d5b3(0x348)],_0x2cd370=_0xaf0c8f[_0x36d5b3(0x466)];_0x2cd370[_0x36d5b3(0x25a)]=_0x338a14['extend']({'init':function(_0x437379,_0x3d59ca){var _0x4bcdf3=_0x36d5b3;_0x437379=this['_hasher']=new _0x437379[(_0x4bcdf3(0x21f))](),typeof _0x3d59ca==_0x4bcdf3(0x30d)&&(_0x3d59ca=_0x4c9da4[_0x4bcdf3(0x274)](_0x3d59ca));var _0x3fabc8=_0x437379['blockSize'],_0x39e8cc=_0x3fabc8*0x4;_0x3d59ca[_0x4bcdf3(0x379)]>_0x39e8cc&&(_0x3d59ca=_0x437379[_0x4bcdf3(0x3b2)](_0x3d59ca)),_0x3d59ca[_0x4bcdf3(0x4ac)]();for(var _0xf82d30=this[_0x4bcdf3(0x4c6)]=_0x3d59ca[_0x4bcdf3(0x1e4)](),_0x29371b=this['_iKey']=_0x3d59ca[_0x4bcdf3(0x1e4)](),_0x4552f0=_0xf82d30['words'],_0x5f314e=_0x29371b[_0x4bcdf3(0x3a0)],_0x4dfabe=0x0;_0x4dfabe<_0x3fabc8;_0x4dfabe++)_0x4552f0[_0x4dfabe]^=0x5c5c5c5c,_0x5f314e[_0x4dfabe]^=0x36363636;_0xf82d30[_0x4bcdf3(0x379)]=_0x29371b['sigBytes']=_0x39e8cc,this[_0x4bcdf3(0x23c)]();},'reset':function(){var _0x46227e=_0x36d5b3,_0x451bbe=this[_0x46227e(0x36b)];_0x451bbe['reset'](),_0x451bbe[_0x46227e(0x477)](this['_iKey']);},'update':function(_0x28c33a){var _0x1058b3=_0x36d5b3;return this[_0x1058b3(0x36b)][_0x1058b3(0x477)](_0x28c33a),this;},'finalize':function(_0x45817e){var _0x5d32e6=_0x36d5b3,_0x4f9e48=this[_0x5d32e6(0x36b)],_0x23f5a3=_0x4f9e48[_0x5d32e6(0x3b2)](_0x45817e);_0x4f9e48[_0x5d32e6(0x23c)]();var _0x5eff66=_0x4f9e48[_0x5d32e6(0x3b2)](this[_0x5d32e6(0x4c6)][_0x5d32e6(0x1e4)]()['concat'](_0x23f5a3));return _0x5eff66;}});}());}));}(Ce)),Ce[_0x17515f(0x418)];}var Mi=Ee['exports'],et;function Nt(){var _0x5411b0=_0x5aed06;return et||(et=0x1,function(_0xe0d4c4,_0x3f4f05){(function(_0xec5255,_0x3ce6ac,_0x31c797){var _0x4bfca1=_0x156c;_0xe0d4c4[_0x4bfca1(0x418)]=_0x3ce6ac(Q(),Pi(),Li());}(Mi,function(_0x47bbf8){var _0x58173d=_0x156c;return(function(){var _0x221827=_0x156c,_0x466b10=_0x47bbf8,_0x582d7a=_0x466b10[_0x221827(0x359)],_0x1d3bc2=_0x582d7a[_0x221827(0x4b8)],_0x315c65=_0x582d7a[_0x221827(0x385)],_0x529e74=_0x466b10['algo'],_0x2e83eb=_0x529e74[_0x221827(0x497)],_0x20dfe9=_0x529e74[_0x221827(0x408)]=_0x1d3bc2['extend']({'cfg':_0x1d3bc2[_0x221827(0x330)]({'keySize':0x80/0x20,'hasher':_0x2e83eb,'iterations':0x1}),'init':function(_0x2b87c6){var _0x39b15e=_0x221827;this[_0x39b15e(0x2e3)]=this[_0x39b15e(0x2e3)][_0x39b15e(0x330)](_0x2b87c6);},'compute':function(_0x36a427,_0x4aa88b){var _0xf4780b=_0x221827;for(var _0x6e4b40,_0x152621=this[_0xf4780b(0x2e3)],_0x2b7ff5=_0x152621[_0xf4780b(0x1a4)][_0xf4780b(0x399)](),_0x21b36c=_0x315c65[_0xf4780b(0x399)](),_0x3ad1be=_0x21b36c[_0xf4780b(0x3a0)],_0x12c3de=_0x152621[_0xf4780b(0x316)],_0x5f2941=_0x152621['iterations'];_0x3ad1be[_0xf4780b(0x24e)]<_0x12c3de;){_0x6e4b40&&_0x2b7ff5[_0xf4780b(0x477)](_0x6e4b40),_0x6e4b40=_0x2b7ff5[_0xf4780b(0x477)](_0x36a427)[_0xf4780b(0x3b2)](_0x4aa88b),_0x2b7ff5[_0xf4780b(0x23c)]();for(var _0x4ad678=0x1;_0x4ad678<_0x5f2941;_0x4ad678++)_0x6e4b40=_0x2b7ff5[_0xf4780b(0x3b2)](_0x6e4b40),_0x2b7ff5[_0xf4780b(0x23c)]();_0x21b36c['concat'](_0x6e4b40);}return _0x21b36c[_0xf4780b(0x379)]=_0x12c3de*0x4,_0x21b36c;}});_0x466b10[_0x221827(0x408)]=function(_0x8c9acf,_0x5ece02,_0x155ad5){return _0x20dfe9['create'](_0x155ad5)['compute'](_0x8c9acf,_0x5ece02);};}()),_0x47bbf8[_0x58173d(0x408)];}));}(Ee)),Ee[_0x5411b0(0x418)];}var Te={'exports':{}},xi=Te[_0x5aed06(0x418)],tt;function Ut(){return tt||(tt=0x1,function(_0x3f3978,_0x181761){(function(_0x85a626,_0x3dcf45,_0x171633){var _0x2048cf=_0x156c;_0x3f3978[_0x2048cf(0x418)]=_0x3dcf45(Q(),Nt());}(xi,function(_0x1344b3){var _0x133a9e=_0x156c;_0x1344b3[_0x133a9e(0x359)]['Cipher']||function(_0x4094da){var _0x3149f5=_0x133a9e,_0x41cc39=_0x1344b3,_0x1b9010=_0x41cc39[_0x3149f5(0x359)],_0x4187f0=_0x1b9010['Base'],_0x61bd6a=_0x1b9010[_0x3149f5(0x385)],_0x4fe941=_0x1b9010[_0x3149f5(0x405)],_0x4bf140=_0x41cc39[_0x3149f5(0x22f)];_0x4bf140['Utf8'];var _0x599fc6=_0x4bf140[_0x3149f5(0x2c2)],_0x5a0559=_0x41cc39[_0x3149f5(0x466)],_0x40325b=_0x5a0559[_0x3149f5(0x408)],_0x526030=_0x1b9010[_0x3149f5(0x3c1)]=_0x4fe941[_0x3149f5(0x330)]({'cfg':_0x4187f0[_0x3149f5(0x330)](),'createEncryptor':function(_0x1221ef,_0x166037){var _0x35d78c=_0x3149f5;return this[_0x35d78c(0x399)](this[_0x35d78c(0x272)],_0x1221ef,_0x166037);},'createDecryptor':function(_0x49f6ed,_0x189861){var _0x31f370=_0x3149f5;return this[_0x31f370(0x399)](this[_0x31f370(0x2e8)],_0x49f6ed,_0x189861);},'init':function(_0x50f21c,_0x39f93c,_0x325894){var _0x3301c8=_0x3149f5;this[_0x3301c8(0x2e3)]=this['cfg'][_0x3301c8(0x330)](_0x325894),this['_xformMode']=_0x50f21c,this[_0x3301c8(0x219)]=_0x39f93c,this['reset']();},'reset':function(){var _0x468de8=_0x3149f5;_0x4fe941[_0x468de8(0x23c)]['call'](this),this[_0x468de8(0x378)]();},'process':function(_0x31f092){var _0xcdbaca=_0x3149f5;return this[_0xcdbaca(0x295)](_0x31f092),this['_process']();},'finalize':function(_0x25fbf9){var _0x449d5f=_0x3149f5;_0x25fbf9&&this[_0x449d5f(0x295)](_0x25fbf9);var _0x111777=this['_doFinalize']();return _0x111777;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xf8cf16(_0x19e830){var _0x3491fe=_0x156c;return typeof _0x19e830==_0x3491fe(0x30d)?_0xe36da1:_0x42c280;}return function(_0x227f42){return{'encrypt':function(_0x245c10,_0x269c77,_0xac8ce1){return _0xf8cf16(_0x269c77)['encrypt'](_0x227f42,_0x245c10,_0x269c77,_0xac8ce1);},'decrypt':function(_0x81a513,_0x29f988,_0xdf8899){var _0xe768f6=_0x156c;return _0xf8cf16(_0x29f988)[_0xe768f6(0x247)](_0x227f42,_0x81a513,_0x29f988,_0xdf8899);}};};}())});_0x1b9010[_0x3149f5(0x317)]=_0x526030[_0x3149f5(0x330)]({'_doFinalize':function(){var _0x187410=_0x3149f5,_0x3c6a22=this[_0x187410(0x406)](!0x0);return _0x3c6a22;},'blockSize':0x1});var _0x19e405=_0x41cc39[_0x3149f5(0x3cf)]={},_0x2abf0e=_0x1b9010['BlockCipherMode']=_0x4187f0[_0x3149f5(0x330)]({'createEncryptor':function(_0x2ccf03,_0x5c6b9d){var _0x20b10a=_0x3149f5;return this[_0x20b10a(0x1b7)][_0x20b10a(0x399)](_0x2ccf03,_0x5c6b9d);},'createDecryptor':function(_0x6f459c,_0x31de2d){var _0xd29d92=_0x3149f5;return this[_0xd29d92(0x2d4)]['create'](_0x6f459c,_0x31de2d);},'init':function(_0x1c0de5,_0x18093d){var _0x37b213=_0x3149f5;this[_0x37b213(0x1a8)]=_0x1c0de5,this[_0x37b213(0x26a)]=_0x18093d;}}),_0x2eba29=_0x19e405['CBC']=(function(){var _0x35b951=_0x3149f5,_0x2033a8=_0x2abf0e['extend']();_0x2033a8[_0x35b951(0x1b7)]=_0x2033a8[_0x35b951(0x330)]({'processBlock':function(_0x3902f6,_0x52496b){var _0x45c962=_0x35b951,_0x4a64a6=this[_0x45c962(0x1a8)],_0x46de74=_0x4a64a6[_0x45c962(0x488)];_0x2a991e[_0x45c962(0x254)](this,_0x3902f6,_0x52496b,_0x46de74),_0x4a64a6[_0x45c962(0x3df)](_0x3902f6,_0x52496b),this[_0x45c962(0x420)]=_0x3902f6['slice'](_0x52496b,_0x52496b+_0x46de74);}}),_0x2033a8[_0x35b951(0x2d4)]=_0x2033a8[_0x35b951(0x330)]({'processBlock':function(_0x11a38a,_0x3554e9){var _0x256598=_0x35b951,_0xf9f050=this[_0x256598(0x1a8)],_0xf89f62=_0xf9f050[_0x256598(0x488)],_0x55fb3c=_0x11a38a[_0x256598(0x1fc)](_0x3554e9,_0x3554e9+_0xf89f62);_0xf9f050[_0x256598(0x285)](_0x11a38a,_0x3554e9),_0x2a991e[_0x256598(0x254)](this,_0x11a38a,_0x3554e9,_0xf89f62),this['_prevBlock']=_0x55fb3c;}});function _0x2a991e(_0x45a146,_0x17adc0,_0x3d438e){var _0x273d26=_0x35b951,_0x10fa5e,_0x46f7da=this[_0x273d26(0x26a)];_0x46f7da?(_0x10fa5e=_0x46f7da,this[_0x273d26(0x26a)]=_0x4094da):_0x10fa5e=this[_0x273d26(0x420)];for(var _0x147fc4=0x0;_0x147fc4<_0x3d438e;_0x147fc4++)_0x45a146[_0x17adc0+_0x147fc4]^=_0x10fa5e[_0x147fc4];}return _0x2033a8;}()),_0x2ea306=_0x41cc39['pad']={},_0x16523e=_0x2ea306[_0x3149f5(0x2f8)]={'pad':function(_0x7992ba,_0x3b6d3e){var _0x89fbbc=_0x3149f5;for(var _0x16bbee=_0x3b6d3e*0x4,_0x559ed8=_0x16bbee-_0x7992ba['sigBytes']%_0x16bbee,_0x3f6db2=_0x559ed8<<0x18|_0x559ed8<<0x10|_0x559ed8<<0x8|_0x559ed8,_0x3093fe=[],_0x3d62c4=0x0;_0x3d62c4<_0x559ed8;_0x3d62c4+=0x4)_0x3093fe[_0x89fbbc(0x2a4)](_0x3f6db2);var _0x21a599=_0x61bd6a[_0x89fbbc(0x399)](_0x3093fe,_0x559ed8);_0x7992ba[_0x89fbbc(0x2a0)](_0x21a599);},'unpad':function(_0x348bf1){var _0x514b8d=_0x3149f5,_0x4b35ee=_0x348bf1['words'][_0x348bf1[_0x514b8d(0x379)]-0x1>>>0x2]&0xff;_0x348bf1['sigBytes']-=_0x4b35ee;}};_0x1b9010[_0x3149f5(0x35b)]=_0x526030[_0x3149f5(0x330)]({'cfg':_0x526030['cfg'][_0x3149f5(0x330)]({'mode':_0x2eba29,'padding':_0x16523e}),'reset':function(){var _0x30671b=_0x3149f5,_0x4214ba;_0x526030[_0x30671b(0x23c)][_0x30671b(0x254)](this);var _0x3ac7ab=this['cfg'],_0x474c6f=_0x3ac7ab['iv'],_0x484444=_0x3ac7ab[_0x30671b(0x3cf)];this[_0x30671b(0x17a)]==this[_0x30671b(0x272)]?_0x4214ba=_0x484444[_0x30671b(0x440)]:(_0x4214ba=_0x484444[_0x30671b(0x240)],this[_0x30671b(0x35a)]=0x1),this[_0x30671b(0x33a)]&&this[_0x30671b(0x33a)][_0x30671b(0x3f7)]==_0x4214ba?this[_0x30671b(0x33a)][_0x30671b(0x21f)](this,_0x474c6f&&_0x474c6f[_0x30671b(0x3a0)]):(this[_0x30671b(0x33a)]=_0x4214ba[_0x30671b(0x254)](_0x484444,this,_0x474c6f&&_0x474c6f['words']),this['_mode'][_0x30671b(0x3f7)]=_0x4214ba);},'_doProcessBlock':function(_0x359f19,_0x3c555c){var _0x10cfe1=_0x3149f5;this[_0x10cfe1(0x33a)][_0x10cfe1(0x458)](_0x359f19,_0x3c555c);},'_doFinalize':function(){var _0x14237c=_0x3149f5,_0x22d2f2,_0x379e89=this[_0x14237c(0x2e3)][_0x14237c(0x36f)];return this[_0x14237c(0x17a)]==this[_0x14237c(0x272)]?(_0x379e89['pad'](this[_0x14237c(0x363)],this[_0x14237c(0x488)]),_0x22d2f2=this[_0x14237c(0x406)](!0x0)):(_0x22d2f2=this[_0x14237c(0x406)](!0x0),_0x379e89[_0x14237c(0x2ce)](_0x22d2f2)),_0x22d2f2;},'blockSize':0x80/0x20});var _0xda9ff5=_0x1b9010[_0x3149f5(0x2ff)]=_0x4187f0[_0x3149f5(0x330)]({'init':function(_0xbb8126){var _0x81cab8=_0x3149f5;this[_0x81cab8(0x442)](_0xbb8126);},'toString':function(_0x1ced80){var _0x2ea7a3=_0x3149f5;return(_0x1ced80||this['formatter'])[_0x2ea7a3(0x463)](this);}}),_0x505d33=_0x41cc39[_0x3149f5(0x404)]={},_0xb13ebc=_0x505d33[_0x3149f5(0x1bc)]={'stringify':function(_0x4d3fee){var _0x2569e3=_0x3149f5,_0x1df1b8,_0x42cb87=_0x4d3fee[_0x2569e3(0x25c)],_0x6b5ed4=_0x4d3fee['salt'];return _0x6b5ed4?_0x1df1b8=_0x61bd6a['create']([0x53616c74,0x65645f5f])[_0x2569e3(0x2a0)](_0x6b5ed4)[_0x2569e3(0x2a0)](_0x42cb87):_0x1df1b8=_0x42cb87,_0x1df1b8[_0x2569e3(0x383)](_0x599fc6);},'parse':function(_0x4dfde3){var _0x3d5d63=_0x3149f5,_0x267bcc,_0x2173a3=_0x599fc6['parse'](_0x4dfde3),_0x5ca2ec=_0x2173a3[_0x3d5d63(0x3a0)];return _0x5ca2ec[0x0]==0x53616c74&&_0x5ca2ec[0x1]==0x65645f5f&&(_0x267bcc=_0x61bd6a[_0x3d5d63(0x399)](_0x5ca2ec['slice'](0x2,0x4)),_0x5ca2ec[_0x3d5d63(0x42a)](0x0,0x4),_0x2173a3[_0x3d5d63(0x379)]-=0x10),_0xda9ff5[_0x3d5d63(0x399)]({'ciphertext':_0x2173a3,'salt':_0x267bcc});}},_0x42c280=_0x1b9010[_0x3149f5(0x312)]=_0x4187f0[_0x3149f5(0x330)]({'cfg':_0x4187f0[_0x3149f5(0x330)]({'format':_0xb13ebc}),'encrypt':function(_0xc26b69,_0x3c6ede,_0x13b96d,_0x681f5b){var _0x19a996=_0x3149f5;_0x681f5b=this[_0x19a996(0x2e3)]['extend'](_0x681f5b);var _0x23274d=_0xc26b69[_0x19a996(0x440)](_0x13b96d,_0x681f5b),_0x44bdeb=_0x23274d[_0x19a996(0x3b2)](_0x3c6ede),_0x4333fc=_0x23274d[_0x19a996(0x2e3)];return _0xda9ff5['create']({'ciphertext':_0x44bdeb,'key':_0x13b96d,'iv':_0x4333fc['iv'],'algorithm':_0xc26b69,'mode':_0x4333fc[_0x19a996(0x3cf)],'padding':_0x4333fc[_0x19a996(0x36f)],'blockSize':_0xc26b69[_0x19a996(0x488)],'formatter':_0x681f5b[_0x19a996(0x404)]});},'decrypt':function(_0x1ee099,_0x1a04b5,_0x313354,_0x29684d){var _0x4455bb=_0x3149f5;_0x29684d=this[_0x4455bb(0x2e3)][_0x4455bb(0x330)](_0x29684d),_0x1a04b5=this[_0x4455bb(0x1d1)](_0x1a04b5,_0x29684d[_0x4455bb(0x404)]);var _0x588b40=_0x1ee099[_0x4455bb(0x240)](_0x313354,_0x29684d)['finalize'](_0x1a04b5[_0x4455bb(0x25c)]);return _0x588b40;},'_parse':function(_0x6a7b58,_0x2222df){var _0x527fc4=_0x3149f5;return typeof _0x6a7b58=='string'?_0x2222df[_0x527fc4(0x274)](_0x6a7b58,this):_0x6a7b58;}}),_0x2db06e=_0x41cc39[_0x3149f5(0x1d2)]={},_0xb6bcda=_0x2db06e[_0x3149f5(0x1bc)]={'execute':function(_0x3a1738,_0x378ca2,_0x440bdc,_0x19047f,_0x55f502){var _0x5d6e6d=_0x3149f5;if(_0x19047f||(_0x19047f=_0x61bd6a['random'](0x40/0x8)),_0x55f502)var _0x175d1c=_0x40325b[_0x5d6e6d(0x399)]({'keySize':_0x378ca2+_0x440bdc,'hasher':_0x55f502})['compute'](_0x3a1738,_0x19047f);else var _0x175d1c=_0x40325b[_0x5d6e6d(0x399)]({'keySize':_0x378ca2+_0x440bdc})[_0x5d6e6d(0x410)](_0x3a1738,_0x19047f);var _0x3fcc60=_0x61bd6a[_0x5d6e6d(0x399)](_0x175d1c['words']['slice'](_0x378ca2),_0x440bdc*0x4);return _0x175d1c[_0x5d6e6d(0x379)]=_0x378ca2*0x4,_0xda9ff5['create']({'key':_0x175d1c,'iv':_0x3fcc60,'salt':_0x19047f});}},_0xe36da1=_0x1b9010[_0x3149f5(0x355)]=_0x42c280[_0x3149f5(0x330)]({'cfg':_0x42c280['cfg'][_0x3149f5(0x330)]({'kdf':_0xb6bcda}),'encrypt':function(_0x4507c3,_0xb5d29,_0x4213b3,_0x2b929b){var _0x26420d=_0x3149f5;_0x2b929b=this[_0x26420d(0x2e3)]['extend'](_0x2b929b);var _0x348bda=_0x2b929b[_0x26420d(0x1d2)][_0x26420d(0x1fe)](_0x4213b3,_0x4507c3[_0x26420d(0x316)],_0x4507c3[_0x26420d(0x33b)],_0x2b929b[_0x26420d(0x398)],_0x2b929b['hasher']);_0x2b929b['iv']=_0x348bda['iv'];var _0x2d2ed3=_0x42c280[_0x26420d(0x41d)][_0x26420d(0x254)](this,_0x4507c3,_0xb5d29,_0x348bda[_0x26420d(0x23d)],_0x2b929b);return _0x2d2ed3[_0x26420d(0x442)](_0x348bda),_0x2d2ed3;},'decrypt':function(_0x37238d,_0xe66ec5,_0x5263a6,_0x98a70a){var _0x21c0a7=_0x3149f5;_0x98a70a=this['cfg'][_0x21c0a7(0x330)](_0x98a70a),_0xe66ec5=this[_0x21c0a7(0x1d1)](_0xe66ec5,_0x98a70a[_0x21c0a7(0x404)]);var _0x298d80=_0x98a70a['kdf'][_0x21c0a7(0x1fe)](_0x5263a6,_0x37238d[_0x21c0a7(0x316)],_0x37238d['ivSize'],_0xe66ec5[_0x21c0a7(0x398)],_0x98a70a[_0x21c0a7(0x1a4)]);_0x98a70a['iv']=_0x298d80['iv'];var _0x2fbec9=_0x42c280['decrypt'][_0x21c0a7(0x254)](this,_0x37238d,_0xe66ec5,_0x298d80['key'],_0x98a70a);return _0x2fbec9;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x5aed06(0x418)],it;function Hi(){return it||(it=0x1,function(_0x1f049d,_0x52d243){(function(_0x5ed48d,_0x210b67,_0x5cc5c0){var _0x2c4d37=_0x156c;_0x1f049d[_0x2c4d37(0x418)]=_0x210b67(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3a2ddf){var _0x3f575e=_0x156c;return(function(){var _0x39c9ff=_0x156c,_0x14a657=_0x3a2ddf,_0x2c1829=_0x14a657['lib'],_0x42b121=_0x2c1829['BlockCipher'],_0x4c20ff=_0x14a657[_0x39c9ff(0x466)],_0x402678=[],_0x5c7260=[],_0x1793f5=[],_0x316439=[],_0x585f37=[],_0x3f432f=[],_0x465628=[],_0x1b3d5e=[],_0x13451a=[],_0x5b54f0=[];(function(){for(var _0x2074f1=[],_0x26473a=0x0;_0x26473a<0x100;_0x26473a++)_0x26473a<0x80?_0x2074f1[_0x26473a]=_0x26473a<<0x1:_0x2074f1[_0x26473a]=_0x26473a<<0x1^0x11b;for(var _0x2734a1=0x0,_0x4f9b9f=0x0,_0x26473a=0x0;_0x26473a<0x100;_0x26473a++){var _0x25bda5=_0x4f9b9f^_0x4f9b9f<<0x1^_0x4f9b9f<<0x2^_0x4f9b9f<<0x3^_0x4f9b9f<<0x4;_0x25bda5=_0x25bda5>>>0x8^_0x25bda5&0xff^0x63,_0x402678[_0x2734a1]=_0x25bda5,_0x5c7260[_0x25bda5]=_0x2734a1;var _0x4672c4=_0x2074f1[_0x2734a1],_0x32c271=_0x2074f1[_0x4672c4],_0x58c5ca=_0x2074f1[_0x32c271],_0x20f2b0=_0x2074f1[_0x25bda5]*0x101^_0x25bda5*0x1010100;_0x1793f5[_0x2734a1]=_0x20f2b0<<0x18|_0x20f2b0>>>0x8,_0x316439[_0x2734a1]=_0x20f2b0<<0x10|_0x20f2b0>>>0x10,_0x585f37[_0x2734a1]=_0x20f2b0<<0x8|_0x20f2b0>>>0x18,_0x3f432f[_0x2734a1]=_0x20f2b0;var _0x20f2b0=_0x58c5ca*0x1010101^_0x32c271*0x10001^_0x4672c4*0x101^_0x2734a1*0x1010100;_0x465628[_0x25bda5]=_0x20f2b0<<0x18|_0x20f2b0>>>0x8,_0x1b3d5e[_0x25bda5]=_0x20f2b0<<0x10|_0x20f2b0>>>0x10,_0x13451a[_0x25bda5]=_0x20f2b0<<0x8|_0x20f2b0>>>0x18,_0x5b54f0[_0x25bda5]=_0x20f2b0,_0x2734a1?(_0x2734a1=_0x4672c4^_0x2074f1[_0x2074f1[_0x2074f1[_0x58c5ca^_0x4672c4]]],_0x4f9b9f^=_0x2074f1[_0x2074f1[_0x4f9b9f]]):_0x2734a1=_0x4f9b9f=0x1;}}());var _0x18561d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xacb10=_0x4c20ff[_0x39c9ff(0x46f)]=_0x42b121['extend']({'_doReset':function(){var _0x332dad=_0x39c9ff,_0x5e274f;if(!(this[_0x332dad(0x1cb)]&&this[_0x332dad(0x208)]===this[_0x332dad(0x219)])){for(var _0x5441d9=this[_0x332dad(0x208)]=this[_0x332dad(0x219)],_0x33b97b=_0x5441d9[_0x332dad(0x3a0)],_0x43e382=_0x5441d9['sigBytes']/0x4,_0x135582=this[_0x332dad(0x1cb)]=_0x43e382+0x6,_0x5f1d65=(_0x135582+0x1)*0x4,_0x331802=this[_0x332dad(0x292)]=[],_0x13922e=0x0;_0x13922e<_0x5f1d65;_0x13922e++)_0x13922e<_0x43e382?_0x331802[_0x13922e]=_0x33b97b[_0x13922e]:(_0x5e274f=_0x331802[_0x13922e-0x1],_0x13922e%_0x43e382?_0x43e382>0x6&&_0x13922e%_0x43e382==0x4&&(_0x5e274f=_0x402678[_0x5e274f>>>0x18]<<0x18|_0x402678[_0x5e274f>>>0x10&0xff]<<0x10|_0x402678[_0x5e274f>>>0x8&0xff]<<0x8|_0x402678[_0x5e274f&0xff]):(_0x5e274f=_0x5e274f<<0x8|_0x5e274f>>>0x18,_0x5e274f=_0x402678[_0x5e274f>>>0x18]<<0x18|_0x402678[_0x5e274f>>>0x10&0xff]<<0x10|_0x402678[_0x5e274f>>>0x8&0xff]<<0x8|_0x402678[_0x5e274f&0xff],_0x5e274f^=_0x18561d[_0x13922e/_0x43e382|0x0]<<0x18),_0x331802[_0x13922e]=_0x331802[_0x13922e-_0x43e382]^_0x5e274f);for(var _0xc56521=this[_0x332dad(0x1f7)]=[],_0x330c6f=0x0;_0x330c6f<_0x5f1d65;_0x330c6f++){var _0x13922e=_0x5f1d65-_0x330c6f;if(_0x330c6f%0x4)var _0x5e274f=_0x331802[_0x13922e];else var _0x5e274f=_0x331802[_0x13922e-0x4];_0x330c6f<0x4||_0x13922e<=0x4?_0xc56521[_0x330c6f]=_0x5e274f:_0xc56521[_0x330c6f]=_0x465628[_0x402678[_0x5e274f>>>0x18]]^_0x1b3d5e[_0x402678[_0x5e274f>>>0x10&0xff]]^_0x13451a[_0x402678[_0x5e274f>>>0x8&0xff]]^_0x5b54f0[_0x402678[_0x5e274f&0xff]];}}},'encryptBlock':function(_0x158161,_0x398061){var _0x4d2c0d=_0x39c9ff;this[_0x4d2c0d(0x194)](_0x158161,_0x398061,this[_0x4d2c0d(0x292)],_0x1793f5,_0x316439,_0x585f37,_0x3f432f,_0x402678);},'decryptBlock':function(_0x2658c3,_0x23bee2){var _0x596839=_0x39c9ff,_0x3a831a=_0x2658c3[_0x23bee2+0x1];_0x2658c3[_0x23bee2+0x1]=_0x2658c3[_0x23bee2+0x3],_0x2658c3[_0x23bee2+0x3]=_0x3a831a,this[_0x596839(0x194)](_0x2658c3,_0x23bee2,this[_0x596839(0x1f7)],_0x465628,_0x1b3d5e,_0x13451a,_0x5b54f0,_0x5c7260);var _0x3a831a=_0x2658c3[_0x23bee2+0x1];_0x2658c3[_0x23bee2+0x1]=_0x2658c3[_0x23bee2+0x3],_0x2658c3[_0x23bee2+0x3]=_0x3a831a;},'_doCryptBlock':function(_0x1deb6b,_0x21177e,_0x1d964a,_0x644e,_0x3ac5f7,_0x19e9e5,_0x214843,_0x34e712){var _0x64d412=_0x39c9ff;for(var _0x24c7ab=this[_0x64d412(0x1cb)],_0x42fff6=_0x1deb6b[_0x21177e]^_0x1d964a[0x0],_0x2ea248=_0x1deb6b[_0x21177e+0x1]^_0x1d964a[0x1],_0x59322e=_0x1deb6b[_0x21177e+0x2]^_0x1d964a[0x2],_0xafe6d3=_0x1deb6b[_0x21177e+0x3]^_0x1d964a[0x3],_0x132d84=0x4,_0x2ca9f1=0x1;_0x2ca9f1<_0x24c7ab;_0x2ca9f1++){var _0x4dc10d=_0x644e[_0x42fff6>>>0x18]^_0x3ac5f7[_0x2ea248>>>0x10&0xff]^_0x19e9e5[_0x59322e>>>0x8&0xff]^_0x214843[_0xafe6d3&0xff]^_0x1d964a[_0x132d84++],_0x22baac=_0x644e[_0x2ea248>>>0x18]^_0x3ac5f7[_0x59322e>>>0x10&0xff]^_0x19e9e5[_0xafe6d3>>>0x8&0xff]^_0x214843[_0x42fff6&0xff]^_0x1d964a[_0x132d84++],_0xae3081=_0x644e[_0x59322e>>>0x18]^_0x3ac5f7[_0xafe6d3>>>0x10&0xff]^_0x19e9e5[_0x42fff6>>>0x8&0xff]^_0x214843[_0x2ea248&0xff]^_0x1d964a[_0x132d84++],_0x3afc58=_0x644e[_0xafe6d3>>>0x18]^_0x3ac5f7[_0x42fff6>>>0x10&0xff]^_0x19e9e5[_0x2ea248>>>0x8&0xff]^_0x214843[_0x59322e&0xff]^_0x1d964a[_0x132d84++];_0x42fff6=_0x4dc10d,_0x2ea248=_0x22baac,_0x59322e=_0xae3081,_0xafe6d3=_0x3afc58;}var _0x4dc10d=(_0x34e712[_0x42fff6>>>0x18]<<0x18|_0x34e712[_0x2ea248>>>0x10&0xff]<<0x10|_0x34e712[_0x59322e>>>0x8&0xff]<<0x8|_0x34e712[_0xafe6d3&0xff])^_0x1d964a[_0x132d84++],_0x22baac=(_0x34e712[_0x2ea248>>>0x18]<<0x18|_0x34e712[_0x59322e>>>0x10&0xff]<<0x10|_0x34e712[_0xafe6d3>>>0x8&0xff]<<0x8|_0x34e712[_0x42fff6&0xff])^_0x1d964a[_0x132d84++],_0xae3081=(_0x34e712[_0x59322e>>>0x18]<<0x18|_0x34e712[_0xafe6d3>>>0x10&0xff]<<0x10|_0x34e712[_0x42fff6>>>0x8&0xff]<<0x8|_0x34e712[_0x2ea248&0xff])^_0x1d964a[_0x132d84++],_0x3afc58=(_0x34e712[_0xafe6d3>>>0x18]<<0x18|_0x34e712[_0x42fff6>>>0x10&0xff]<<0x10|_0x34e712[_0x2ea248>>>0x8&0xff]<<0x8|_0x34e712[_0x59322e&0xff])^_0x1d964a[_0x132d84++];_0x1deb6b[_0x21177e]=_0x4dc10d,_0x1deb6b[_0x21177e+0x1]=_0x22baac,_0x1deb6b[_0x21177e+0x2]=_0xae3081,_0x1deb6b[_0x21177e+0x3]=_0x3afc58;},'keySize':0x100/0x20});_0x14a657[_0x39c9ff(0x46f)]=_0x42b121[_0x39c9ff(0x324)](_0xacb10);}()),_0x3a2ddf[_0x3f575e(0x46f)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x5aed06(0x418)],rt;function Vi(){var _0x1ea3ae=_0x5aed06;return rt||(rt=0x1,function(_0xea3308,_0x370f72){(function(_0x57dfaa,_0x1adbf4){var _0x132c6a=_0x156c;_0xea3308[_0x132c6a(0x418)]=_0x1adbf4(Q());}(Fi,function(_0x4e366f){return _0x4e366f['enc']['Utf8'];}));}(be)),be[_0x1ea3ae(0x418)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x5aed06(0x418)],st;function Yi(){var _0x982668=_0x5aed06;return st||(st=0x1,function(_0x142228,_0x2d56cd){(function(_0x3b1057,_0x2eee93){var _0x27a2c2=_0x156c;_0x142228[_0x27a2c2(0x418)]=_0x2eee93(Q());}(Ki,function(_0x534ffc){var _0x2c8f0a=_0x156c;return(function(){var _0x421e35=_0x156c;if(typeof ArrayBuffer=='function'){var _0x40e21b=_0x534ffc,_0x176d91=_0x40e21b[_0x421e35(0x359)],_0x1507b4=_0x176d91[_0x421e35(0x385)],_0x19304a=_0x1507b4['init'],_0x2bf38e=_0x1507b4['init']=function(_0x5334cb){var _0x5a12d7=_0x421e35;if(_0x5334cb instanceof ArrayBuffer&&(_0x5334cb=new Uint8Array(_0x5334cb)),(_0x5334cb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5334cb instanceof Uint8ClampedArray||_0x5334cb instanceof Int16Array||_0x5334cb instanceof Uint16Array||_0x5334cb instanceof Int32Array||_0x5334cb instanceof Uint32Array||_0x5334cb instanceof Float32Array||_0x5334cb instanceof Float64Array)&&(_0x5334cb=new Uint8Array(_0x5334cb[_0x5a12d7(0x4a3)],_0x5334cb[_0x5a12d7(0x3b0)],_0x5334cb[_0x5a12d7(0x288)])),_0x5334cb instanceof Uint8Array){for(var _0x3ce02a=_0x5334cb[_0x5a12d7(0x288)],_0x5bfa14=[],_0x3e014c=0x0;_0x3e014c<_0x3ce02a;_0x3e014c++)_0x5bfa14[_0x3e014c>>>0x2]|=_0x5334cb[_0x3e014c]<<0x18-_0x3e014c%0x4*0x8;_0x19304a[_0x5a12d7(0x254)](this,_0x5bfa14,_0x3ce02a);}else _0x19304a[_0x5a12d7(0x3d0)](this,arguments);};_0x2bf38e[_0x421e35(0x242)]=_0x1507b4;}}()),_0x534ffc[_0x2c8f0a(0x359)][_0x2c8f0a(0x385)];}));}(Re)),Re[_0x982668(0x418)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x5aed06(0x418)],ot;function Xi(){var _0x1a2697=_0x5aed06;return ot||(ot=0x1,function(_0x494838,_0x56904a){(function(_0x43c7ee,_0x270414,_0x1ce47){_0x494838['exports']=_0x270414(Q(),Ut());}(Ji,function(_0x5088d3){var _0x16f622=_0x156c;return _0x5088d3['pad'][_0x16f622(0x4bb)]={'pad':function(){},'unpad':function(){}},_0x5088d3[_0x16f622(0x29f)][_0x16f622(0x4bb)];}));}(Oe)),Oe[_0x1a2697(0x418)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x2e9a65,_0x2637a5){var _0x1ae5f0=_0x5aed06;const _0x3052fb=_0x2637a5-_0x2e9a65[_0x1ae5f0(0x24e)]%_0x2637a5,_0x2b2cbb=String[_0x1ae5f0(0x177)](_0x3052fb)[_0x1ae5f0(0x43d)](_0x3052fb);return _0x2e9a65+_0x2b2cbb;}function tn(_0x179332,_0x3c260b){var _0x188bc9=_0x5aed06;const _0x5c0e3e=zi['random'](0x10),_0x150da5=en(_0x179332,0x10),_0x418012=ji[_0x188bc9(0x41d)](Gi[_0x188bc9(0x274)](_0x150da5),nt['parse'](_0x3c260b),{'iv':_0x5c0e3e,'padding':Qi});return _0x5c0e3e[_0x188bc9(0x2a0)](_0x418012['ciphertext'])[_0x188bc9(0x383)](nt);}function nn(){var _0x32a922=_0x5aed06;const _0x35043d=wt['getGlobalObject']()[_0x32a922(0x1b2)];if(_0x35043d){const _0x4031f6={'time':Math[_0x32a922(0x250)](Date[_0x32a922(0x39d)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x32a922(0x463)](_0x4031f6),_0x35043d);}}var rn=Object[_0x5aed06(0x206)],sn=(_0x21c1f8,_0x27dee4,_0x426185,_0x3364fd)=>{var _0x122af9=_0x5aed06;for(var _0x2f61f8=_0x3364fd>0x1?void 0x0:_0x3364fd?rn(_0x27dee4,_0x426185):_0x27dee4,_0x3238a4=_0x21c1f8[_0x122af9(0x24e)]-0x1,_0x577574;_0x3238a4>=0x0;_0x3238a4--)(_0x577574=_0x21c1f8[_0x3238a4])&&(_0x2f61f8=_0x577574(_0x2f61f8)||_0x2f61f8);return _0x2f61f8;},on=(_0x1dc936,_0x4b3fc1)=>(_0x510c3f,_0x5e17e4)=>_0x4b3fc1(_0x510c3f,_0x5e17e4,_0x1dc936);let Ne=class{constructor(_0x2825c6){var _0x25c994=_0x5aed06;this[_0x25c994(0x38b)]=_0x2825c6,this[_0x25c994(0x209)]();}[_0x5aed06(0x209)](){var _0xd0b7dc=_0x5aed06;this[_0xd0b7dc(0x38b)][_0xd0b7dc(0x47b)]({'interceptor':(_0x1b6e1f,_0x558154)=>{var _0x1934b3=_0xd0b7dc;const _0x47a710=_0x1b6e1f[_0x1934b3(0x35f)],_0x1130fa=nn();return _0x1130fa&&_0x47a710['set'](_0x1934b3(0x2db),_0x1130fa),_0x558154(_0x1b6e1f);}});}};Ne=sn([on(0x0,a['Inject'](Y[_0x5aed06(0x414)]))],Ne);var an=Object[_0x5aed06(0x206)],cn=(_0x3d8550,_0x229a62,_0x509dcd,_0x5cd515)=>{var _0x47f1e8=_0x5aed06;for(var _0x38b107=_0x5cd515>0x1?void 0x0:_0x5cd515?an(_0x229a62,_0x509dcd):_0x229a62,_0x3a1653=_0x3d8550[_0x47f1e8(0x24e)]-0x1,_0x596fb2;_0x3a1653>=0x0;_0x3a1653--)(_0x596fb2=_0x3d8550[_0x3a1653])&&(_0x38b107=_0x596fb2(_0x38b107)||_0x38b107);return _0x38b107;},we=(_0x4e8db0,_0x3116ca)=>(_0x1d73d9,_0x15e632)=>_0x3116ca(_0x1d73d9,_0x15e632,_0x4e8db0);function _0x4ec2(){var _0x53f26c=['_transformUndoredo','_createHelper','Failed\x20to\x20update\x20permission\x20point','editing\x20status\x20changed\x20to','getConfig','_telemetryInfo','_initUnitPermissionChange','Hasher','collaMsg','_showConflictNotification','cmd','EXCHANGE_SIGN_URL_SERVER_URL_KEY','textRanges','extend','CollaborationController','_applyRemoteChangeset','LOCAL_CACHE_INTERVAL','onStateChange','_getCtorByUniverType','send','_unitInfo$','Workbook','_transitionLocked','_mode','ivSize','map','_registerDependencies','RxDisposable','mapDocumentTypeToUniverType','getActiveSheet','socket\x20open.','_createInitialState','_onConflict','JOINING','APPLY_DUPLICATED','transformChangesets','4639734yFEfGp','Utf8','PERMISSION_DENIED','_change$','SEND_CHANGESET_TIMEOUT_KEY','[PendingState]:\x20received\x20rejection.','_tryReconnect','_getRedoStack','MOBILE_HAS_BEEN_BOUND','fetch_missing','_lockTransition','_getUndoStack','createCollaborator','enableCollaboration','PasswordBasedCipher','ENSURE_SNAPSHOT_EXECUTION','telemetry\x20info\x20is\x20not\x20initialized','USER_NOT_INVITED_CODE','lib','_minBufferSize','BlockCipher','put','[DataLoaderService]','UNRECOGNIZED','headers','submit\x20changeset\x20error!','userID','[OfflineState]:\x20received\x20changeset.','_data','_doFinalize','SNAPSHOT_URL_KEY','_pendingMutations','shouldCloseConn','INGEST','toggleOnline','ws://127.0.0.1:8000/universer-api/comb/connect','_hasher','updatePermissionPoint','Optional','INetworkConditionService','padding','__esModule','127082fNvgGX','onload','COLLAB_SUBMIT_CHANGESET_URL','EmptyMutation','charAt','startsWith','_onRemoteRetry','_doReset','sigBytes','PENDING','getImageSourceCache','saveSheetBlock','disableLocalCache','_unlockTransition','UNISCRIPT_RUN','PY_RUNTIME_SCRIPT_ERROR','COLLAB_WEB_SOCKET_URL','signUrlServerUrl','toString','reject','WordArray','/universer-api/user/session-ticket','src','_joinRoom','fromCollab','HttpImport','_httpService','deleteCollaborator','_commandService','crypto','_eventService','_doProcessBlock','fetchMiss','_onOffline','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','localeService','concatMap','CollaborationSocketService','_retryCount','salt','create','stopTime','_sender','/unit/','now','sendChangesetTimeout','ImageUploadStatusType','words','_roomMembers','CHANGESET_REVISION_CONFILICT','unitId','method','UserProfileImg','_univerInstanceService','IConfigService','asObservable','getImage','IUniverInstanceService','_clearRedo','error','commentUpdateEvent','onMissingChangesets','UUID','byteOffset','params','finalize','updateCollaborator','uuidv4','TOO_MANY_REQUESTS','UniverInstanceType','INVITE_CODE_ALREADY_BOUND','substr','NEW_CHANGESETS','list','ConflictState','[OfflineState]:\x20received\x20rejection.','WECHAT_HAS_BEEN_BOUND','_socket$','_scheduleCollaborationTimeoutTimer','univer-pro.collaboration-client.single-active-unit-service','Cipher','_sendHeartbeat','has','dispose$','revision','NOT_COLLAB','_clearCollaborationTimeoutTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_DISTRO_REJECTED','shareReplay','takeUntil','$super','collabSubmitChangesetUrl','originalMeta','mode','apply','LICENSE_MAX_UNITS_EXCEEDED','onTransformRemoteChangesetByIMECache','JOIN_ROOM_PERMISSION_DENIED','ERROR_EXCEED_SIZE','OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','collaborators','_onRemoteACK','createInstance','DocCollaborationEntity','readAsDataURL','getInterceptPoints','_syncEditingCollabCursor','_entityInit$','encryptBlock','close','_getDownloadEndpointURL','session','_shouldReportTelemetry','APPLY_REJECT','catch','MentionIoHttpService','LIVESHARE_REQUEST_HOST','onlyLocal','c2Prime','registerDependencies','synced','_roomCreated$','disposeWithMe','USERS_ENTER','change$','sequenceExecute','UniverCollaborationClientPlugin','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isArray','_onUserJoin','addHandlerCallback','type','__creator','joinEvent','_status$','ISnapshotServerService','_onMessage','/universer-api/oidc/authpage','_listenToNetworkCondition','372785PhIKCQ','confirm','\x20-\x20','INTERNAL_ERROR','_state','initWorkbookPermissionChange','format','BufferedBlockAlgorithm','_process','image/bmp','EvpKDF','_updateStatus','HEARTBEAT','awaiting','sheets','Error\x20on\x20receiving\x20event','&to=','readyForCollab','compute','_onRemoteRejected','HEARTBEAT_TIMEOUT','FETCH_MISS','HTTPService','indexOf','saveSnapshot','objectType','exports','memberID','reconnect','_getCurrentRevision','serializeCombRequest','encrypt','onRemoteRej','unsubscribe','_prevBlock','_createHmacHelper','GLOBAL_ROOMS_CNT_EXCEEDS','MSG_FOR_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRemoteAck','set','_transformRemoteChangesetByStateCache','onRemoteChangeset','INVITE_CODE_HAS_BEEN_UES','splice','roles','_event$','mutations','_decreaseWaiting','batchAllowed','subUnitId','onTransformRemoteChangesetByStateCache','APPLY_REVISION_CONFILICT','addImageSourceCache','JOIN_ROOM_FAILED','sid','listRoles','YUUMI_NO_CUBOID_FOR_QUESTION','delete','_changesetSessionId','FileId','Disposable','readInt32LE','repeat','SnapshotServerOverHTTPService','debug','createEncryptor','reqId','mixIn','createSocket','responseType','b64DecodeUnicode','_localeService','IAuthzIoService','COMPRESS_MUTATION_SEND','includes','loadSheet','find','UPDATE_CURSOR','IUndoRedoService','COMMENT_UPDATE','COLLAB_SUBMIT_CHANGESET_URL_KEY','getRoom','_clearHeartbeatTimer','/allowed','fetchMissingChangesets','_transformIMECache','every','dispose','default','processBlock','{fileID}','_singleActiveUnitService','WorkbookEditablePermission','_collaborationUIEventService','People','_disableEditing','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','c1Prime','transformUndoRedo','HmacSHA1','stringify','ERROR_IMAGE','getCollabEntity$','algo','_collaborationSessionService','_sendingTimer','[CollaborationSessionService]','patch','Inject','JOIN_ROOM_NOT_EXISTS','_getUploadFileURL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','AES','onRemoteRetry','entityInit$','YUUMI_UNABLE_LOAD_URL','univer-pro.collaboration-client-socket-service','UNIVER_PROJECT','_replayCachedMutations','uniscriptRunEvent','update','_commentUpdate$','_entities','UserManagerService','registerHTTPInterceptor','LEAVE','InsertSheetMutation','IDLE','CHANGESET_REJ','touchDependencies','/rev/','_startCollaboration','_clearTimeoutTimer','target','_imageSourceCache','_snapshotService','YUUMI_SUBSCRIPTION_NOT_FOUND','blockSize','retryConnectingInterval','getTypeOfUnitAdded$','_exhaustRemoteChangesetQueue','YUUMI_RATE_OVER_LIMIT','UNDEFINED','ITransformService','randomBytes','BehaviorSubject','CHANGESET_ACK','collaboratorID','_onCombEvent','SheetTransformSelectionsService','ISocketService','_logService','MD5','hasOwnProperty','_initDependencies','localCacheService','ONLINE','_localCacheService','file','SheetCollaborationEntity','_undoStacks','CollaborationUIEventId','name','csShouldRetryEvent','buffer','_createSocket','_updateState','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SnapshotService','LOGIN_FAILED','snapshot','_instanceService','clamp','OFFLINE','allowed','SUCCUSS','UNKNOWN_CODE','post','result','CLOSE_ROOM','_reverseMap','error$','_sessionStatus$','open$','Base','roomInfos','reverse','NoPadding','ceil','fetching\x20missing\x20changesets\x20from\x20','_transformService','SYNCED','csAckEvent','filter','/role','@univerjs/telemetry','IMentionIOService','SHA1','_oKey','complete','size','close$','objectID','_init','Quantity','UNAUTHENTICATED','appendMutation','SNAPSHOT_HAS_BEEN_REMOVED','DisposableCollection','get','FetchingMissState','_clearScheduledTask','forEach','unknown','YUUMI_ALL_TABLES_IS_INVALID','RevisionService','delay','_candidateSocket','SOCKET_FAILED_RETRY','_collaborationPaused','UNKNOWN_CMD','_scheduleCompleteTimestamp','onMissedChangesetFetched','[CollaborationUndoRedoService]','_socketMessageSubscription','_timeoutTimer','AuthzIoHttpService','_getSendChangesetTimeout','getValue','CollaborativeUndoRedoService','getSnapshotAPIPath','CHANGESET_SHOULD_RETRY','getMember','[CollaborationSessionService]:\x20socket\x20error','[PendingState]:\x20unhandled\x20univer\x20type:\x20','7099524UTTzVz','fromCharCode','UPDATE_PERMISSION_OBJ','BASE64','_xformMode','toStringTag','FETCH_MISSING','Module','[OfflineState]:\x20received\x20acknowledgement.','YUUMI_URL_COL_OUT_OF_RANGE','LocaleService','_compressMutationService','emitEvent','resolve','[CollaborationSession]','getSheetId','actions','executeCommand','waitForRoom$','updateCursorEvent','HEARTBEAT_TIMEOUT_KEY','getMemberID','MUTATION','_changesetReqId','textEncoder','pauseCollaboration','loginUrlKey','UniverCollaborationPlugin','add','next','_doCryptBlock','MemberService','_members$','transformSelections','sessionStatus$','_waitForHeartbeatResponse','loadUnit','SHOULD_CLOSE_CONN','clear','/universer-api/snapshot/','rev','unit-cache-','status$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','&source=','_injector','hasher','onCommentUpdate','session.room-permission-denied','_createInitialStateImpl','_cipher','_toggleOffline','rxjs/operators','onTransformSelections','state$','AWAITING','COMPLETION_FINISHED','onCommandExecuted','putCollaborators','collaboration_new_changeset','__Key__','YUUMI_AI_RUN_FAILED','CompressMutationService','_transformRemoteChangesetByIMECache','IPermissionService','Encryptor','_config','_resendTimeout','JOIN','_stopTelemetryCollaborationNewChangeset','OpenSSL','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnitOnRev','startTime','_socketReady','pending','_userManagerService','_resendTimer','copyFileMeta','_members','_networkConditionService','UniverNetworkPlugin','_transformStack','m2Prime','_schedule','_nRounds','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SetSelectionsOperation','subject','interceptor','[UniverCollaborationClientPlugin]','_parse','kdf','_checkMissing','infoRsp','APPLY_NON_SEQUENTIAL_REVISION','getCurrentRevOfUnit','getCollabEntity','downloadEndpointUrl','112WBicGh','_socket','_handler','HTTPRequest','_getLoginPath','UNIVER_SHEET','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SheetsSelectionsService','compose','requireSession','CollaborationUIEventService','clone','commentUpdate$','[CollaborationEntity]','sin','fetchThroughInterceptors','_waitCount','isTransformMutationsWithChangesetFailure','CollaborationEvent','toDisposable','_telemetryService','enableOfflineEditing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearLocalCache','AUTHZ_URL_KEY','[FetchMissState]','UNIVER_DOC','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','HELLO','Tools','_invKeySchedule','closeSession','join','message$','_unitID','slice','_rescheduleHeartbeat','execute','@univerjs/core','ReplaySubject','UnitEmbedded','members$','_fetchMissChangesets','url','DependentOn','getOwnPropertyDescriptor','_map','_keyPriorReset','_initRequestHeader','getTypeOfUnitDisposed$','body','_commentService','_createHandler','USERS_LEAVE','max','_undoRedoService','defineProperty','OfflineState','conflict','_sessions','then','OTHER_CLIENT_EDITING','Latin1','setShowComponents','_key','CommandType','onSendChangeset','_startTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET_TIMEOUT','msCrypto','init','\x20to\x20','_substituteUndoStack','loadOfflineData','LICENSE_EXPORT_SIZE_EXCEEDED','RECV','parseProtocolChangeset','_nDataBytes','_emitMembers','/collaborator','location','_awaitingChangeset','session.join-failed','ImageSourceType','@univerjs/network','encodeURIComponent','enc','_getAPIPrefix','UnitSnapshot','PERSON','routeKey','COLLAB_WEB_SOCKET_URL_KEY','EMAIL_HAS_BEEN_BOUND','LICENSE_IMPORT_SIZE_EXCEEDED','duration','Undefined','_sendHeartbeatTimer','getUnitStatus$','46668060HBOnqm','reset','key','SNAPSHOT_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','createDecryptor','getCurrentSelections','prototype','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_remoteChangesetQueue','charCodeAt','changesets','decrypt','getRandomValues','FAIL','collabWebSocketUrl','liveShareNewHost','override','LocalUndoRedoService','length','HEARTBEAT_INTERVAL','floor','@univerjs/docs','objectActions','_socketService','call','updateMember','CONFLICT','SOCKET_FAILED','createIdentifier','image/jpg','HMAC','/universer-api/snapshot','ciphertext','setCurrentUser','/universer-api/comb','NOT_FOUND','_getAPIPrefixPath','_getSignURL','NO_OTHER_CLIENTS_EDITING','JSONX','eventID','requestParams','IContextService','/-/object/-/batch_allowed','data','RichTextEditingMutation','_iv','toggleOffline','_configService','session.room-not-exists','members','PendingState','onTransformState','unitId\x20is\x20not\x20found','_ENC_XFORM_MODE','values','parse','_onFetchMissResult','YUUMI_ASYNCIO_CANCELLED','isPermissionRej','sessionStatus','saveImage','_clearRetryConnectingTimer','_toggleOnline','loadUnitOfRevision','DEFAULT_WS_SESSION_TICKET_URL','JOIN_ROOM_FULL','focused$','pipe','auth.needGotoLoginAlert','status','symbol','subscribe','decryptBlock','merge','getTime','byteLength','HEARTBEAT_INTERVAL_KEY','SyncedState','incrementRevOfUnit','avatar','\x0aAfter:\x20','socket\x20close','Malformed\x20UTF-8\x20data','code','isInternalEditorID','_keySchedule','/universer-api/authz','AwaitingState','_append','socket$','8gTKJoC','LOCAL_CACHE_INTERVAL_KEY','[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.','_isPermissionRej','_submitChangeset','session.room-full','editingUnit','take','pad','concat','_onConnectionOpen','Univer','_tryEnsureSocket','push','CollaborationSessionService','LIVESHARE_NEW_HOST','_onConnectionFailed','resend','/object/','_handlerCallback','@univerjs/sheets','objects','_collaborationTimeoutTimer','_onJoinRoomEvent','_state$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','SNAPSHOT_INVALID_SNAPSHOT','encode','image/jpeg','_hash','awaiting_with_pending','origin','session.room-cnt-exceeds','_initMergeInterceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','21GrNCHn','uploadFileServerUrl','CollaborationImageIoService','pluginName','_memberService','/universer-api/file/{fileID}/sign-url','updateSnapshot','Base64','authzUrl','ILogService','unitID','IImageIoService','range','LIVESHARE_FETCH_OPERATIONS','from','LIVESHARE_TERMINATE','snapshotServerUrl','DataLoaderService','_executeRemoteChangeset','unpad','not_collab','function','_resendWithTimeout','CollaborationEntity','baseRev','Decryptor','2886340GSXrXe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','transformMutationsWithChangeset','772880EpjMSr','updateOfflineData','_replaceFileID','x-univer-host','_throwTelemetryCollaborationNewChangeset','_acknowledgedAwaitingChangeset','permissionRejEvent','_incrementRevisionNumber','Hex','_retryConnectingTimer','[SyncedState]:\x20received\x20acknowledgement.','cfg','_HTTPService','ICommandService','deserializeToCombResponse','newCsEvent','_DEC_XFORM_MODE','getLatestCsReqIdBySid','state','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','LOGIN_URL_KEY','connection\x20error','getDeserializedSheetBlock','getUnitId','_snapshotServerService','POST','image/gif','/universer-api/stream/file/upload','MergeInterceptorFactory','_initCloseConn','_revisionService','Pkcs7','_type','AwaitingWithPendingState','event$','href','Subject','_onLocalMutation','CipherParams','onTransformIME','?size=','removeMember','_permissionService','_collabSessionService','ICollaborationSocketService','_sheetTransformSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','_updateLocalCache','mergeOverrideWithDependencies','CommentService','_doCreateSocket','getCurrentUser','string','awaitingChangeset','socketService','CollaborationSession','HttpExport','SerializableCipher','liveShareOperation','onSyncEditingCollabCursor','offline','keySize','StreamCipher','collaboration-client.local-cache-service','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','_queuedRemoteChangesets','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Injector','INVITE_CODE_REQUIRED','csRejEvent','onLocalMutation','getAllMembers'];_0x4ec2=function(){return _0x53f26c;};return _0x4ec2();}exports[_0x5aed06(0x2cc)]=class extends a[_0x5aed06(0x33e)]{constructor(_0x4bdab0,_0xa6500,_0xf99b5f){var _0x3b99c7=_0x5aed06;super(),A(this,_0x3b99c7(0x337),new $[(_0x3b99c7(0x490))](null)),A(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x3b99c7(0x496)]=_0x4bdab0,this[_0x3b99c7(0x486)]=_0xa6500,this[_0x3b99c7(0x49c)]=_0xf99b5f);}async['loadUnitOfRevision'](_0xdecceb,_0x98b5ec,_0x48a400){var _0x55a4a9=_0x5aed06;this[_0x55a4a9(0x337)][_0x55a4a9(0x193)]({'unitId':_0xdecceb,'type':_0x98b5ec});let _0x35ba5d=null;switch(_0x98b5ec){case J[_0x55a4a9(0x1de)]:{_0x35ba5d=await this[_0x55a4a9(0x486)][_0x55a4a9(0x44a)](_0xdecceb,_0x48a400);break;}case J[_0x55a4a9(0x1f3)]:{_0x35ba5d=await this[_0x55a4a9(0x486)]['loadDoc'](_0xdecceb,_0x48a400);break;}default:{this[_0x55a4a9(0x496)][_0x55a4a9(0x3ac)](_0x55a4a9(0x35d),_0x55a4a9(0x243));break;}}return _0x35ba5d;}async[_0x5aed06(0x19a)](_0x22c249,_0x33bd3a,_0x4ba939){var _0x295f4d=_0x5aed06,_0x3eac65;this[_0x295f4d(0x337)][_0x295f4d(0x193)]({'unitId':_0x22c249,'type':_0x33bd3a,'subUnitId':_0x4ba939});let _0x278678=0x0;const _0x23dab7=await((_0x3eac65=this[_0x295f4d(0x49c)])==null?void 0x0:_0x3eac65['loadOfflineData'](_0x22c249));return _0x23dab7&&(_0x23dab7[_0x295f4d(0x30e)]||_0x23dab7[_0x295f4d(0x42d)][_0x295f4d(0x24e)]!==0x0)&&(_0x278678=_0x23dab7[_0x295f4d(0x19e)]),_0x278678===0x0&&this[_0x295f4d(0x496)][_0x295f4d(0x43f)](_0x295f4d(0x35d),_0x295f4d(0x2ba)),this[_0x295f4d(0x27c)](_0x22c249,_0x33bd3a,_0x278678);}},exports[_0x5aed06(0x2cc)]=cn([we(0x0,a[_0x5aed06(0x2c4)]),we(0x1,a[_0x5aed06(0x46b)](I[_0x5aed06(0x4a8)])),we(0x2,a[_0x5aed06(0x36d)](q))],exports[_0x5aed06(0x2cc)]);var hn=Object[_0x5aed06(0x206)],_n=(_0x229ba6,_0x10719e,_0xbc98a7,_0x4e63ac)=>{for(var _0x548cd=_0x4e63ac>0x1?void 0x0:_0x4e63ac?hn(_0x10719e,_0xbc98a7):_0x10719e,_0x204212=_0x229ba6['length']-0x1,_0x2477f6;_0x204212>=0x0;_0x204212--)(_0x2477f6=_0x229ba6[_0x204212])&&(_0x548cd=_0x2477f6(_0x548cd)||_0x548cd);return _0x548cd;},Le=(_0x439d41,_0x28ed3e)=>(_0x56c7f0,_0x3257bc)=>_0x28ed3e(_0x56c7f0,_0x3257bc,_0x439d41);const ln=['image/png',_0x5aed06(0x2b4),_0x5aed06(0x259),_0x5aed06(0x2f3),_0x5aed06(0x407)],un=0x5*0x400*0x400,dn=_0x5aed06(0x2eb),vn=_0x5aed06(0x2f4),Sn=_0x5aed06(0x32e),fn=_0x5aed06(0x2c0);exports['CollaborationImageIoService']=class{constructor(_0x1ccbce,_0x3cbb8d,_0x2031d8){var _0x3ccc06=_0x5aed06;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x3ccc06(0x2fd))]()),A(this,_0x3ccc06(0x3ef),this[_0x3ccc06(0x34a)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1ccbce,this[_0x3ccc06(0x26c)]=_0x3cbb8d,this[_0x3ccc06(0x3a6)]=_0x2031d8);}['setWaitCount'](_0x302954){var _0x51b4ea=_0x5aed06;this[_0x51b4ea(0x1e9)]=_0x302954,this['_change$']['next'](_0x302954);}[_0x5aed06(0x37b)](_0xf40803,_0x5ba612){var _0x2d6722=_0x5aed06;if(_0x5ba612===z[_0x2d6722(0x22c)][_0x2d6722(0x179)]){const _0x5d1096=new Image();return _0x5d1096[_0x2d6722(0x387)]=_0xf40803,_0x5d1096;}return this[_0x2d6722(0x485)][_0x2d6722(0x4d1)](_0xf40803);}[_0x5aed06(0x433)](_0x38dab8,_0x331ea0,_0x3f0954){var _0x2b0930=_0x5aed06;_0x331ea0===z['ImageSourceType'][_0x2b0930(0x179)]||_0x3f0954==null||this[_0x2b0930(0x485)]['set'](_0x38dab8,_0x3f0954);}async[_0x5aed06(0x3a9)](_0x276e71){var _0x217d11=_0x5aed06;try{const _0x744bb5=this[_0x217d11(0x2da)](this['_getSignURL'](),''+_0x276e71),_0x49e863=(await this[_0x217d11(0x38b)]['get'](_0x744bb5))['body'];if(_0x49e863[_0x217d11(0x3ac)]&&_0x49e863['error'][_0x217d11(0x290)]===gt['OK']){const _0x2382a1=new URL(_0x49e863[_0x217d11(0x204)],this[_0x217d11(0x3e1)]())[_0x217d11(0x383)]();return Promise[_0x217d11(0x183)](_0x2382a1);}return Promise[_0x217d11(0x384)](_0x49e863['error']);}catch(_0x10b70e){return Promise[_0x217d11(0x384)](_0x10b70e);}}async[_0x5aed06(0x279)](_0x2039b7){var _0x259678=_0x5aed06;let _0xd9e7ef='';if(!ln[_0x259678(0x449)](_0x2039b7[_0x259678(0x3f6)]))return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)]['ERROR_IMAGE_TYPE']));if(_0x2039b7[_0x259678(0x4c8)]>un)return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)][_0x259678(0x3d4)]));try{const _0x212019=new FormData();_0x212019['append'](_0x259678(0x49d),_0x2039b7);const _0xc60f95=this[_0x259678(0x3a6)]['getFocusedUnit'](),_0x1b420c=_0xc60f95==null?void 0x0:_0xc60f95[_0x259678(0x2f0)]();if(!_0x1b420c)throw new Error(_0x259678(0x271));const _0x2da837=this[_0x259678(0x46d)]()+_0x259678(0x301)+_0x2039b7['size'][_0x259678(0x383)]()+_0x259678(0x1a2)+Et[_0x259678(0x201)]+'&assign='+encodeURIComponent(_0x1b420c),_0x182281={'body':_0x212019},_0x3f1598=(await this[_0x259678(0x38b)][_0x259678(0x4b1)](_0x2da837,_0x182281))[_0x259678(0x20b)];if(typeof _0x3f1598[_0x259678(0x43a)]!=_0x259678(0x30d))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x259678(0x39f)]['ERROR_IMAGE']));_0xd9e7ef=_0x3f1598['FileId'];}catch{return this[_0x259678(0x42e)](),Promise[_0x259678(0x384)](new Error(z[_0x259678(0x39f)][_0x259678(0x464)]));}return new Promise((_0x15a2f3,_0x29c294)=>{var _0x10e232=_0x259678;const _0x596cfe=new FileReader();_0x596cfe[_0x10e232(0x3db)](_0x2039b7),_0x596cfe[_0x10e232(0x372)]=_0x3e227d=>{var _0x1e8fef=_0x10e232,_0x1a6d8b;const _0x3889fd=(_0x1a6d8b=_0x3e227d[_0x1e8fef(0x484)])==null?void 0x0:_0x1a6d8b[_0x1e8fef(0x4b2)];if(_0x3889fd==null){this['_decreaseWaiting'](),_0x29c294(new Error(z['ImageUploadStatusType'][_0x1e8fef(0x464)]));return;}const _0x3afac4=a[_0x1e8fef(0x1f6)]['generateRandomId'](0x6);_0x15a2f3({'imageId':_0x3afac4,'imageSourceType':z[_0x1e8fef(0x22c)][_0x1e8fef(0x3af)],'source':_0xd9e7ef,'base64Cache':_0x3889fd,'status':z[_0x1e8fef(0x39f)][_0x1e8fef(0x4af)]}),this['_decreaseWaiting']();};});}[_0x5aed06(0x46d)](){var _0x54adce=_0x5aed06,_0x3bb25b,_0x4019ee;const _0x53fed1=this[_0x54adce(0x26c)][_0x54adce(0x327)](dn),_0x54c35c=this[_0x54adce(0x26c)][_0x54adce(0x327)](K);return(_0x4019ee=(_0x3bb25b=_0x54c35c==null?void 0x0:_0x54c35c[_0x54adce(0x2bc)])!=null?_0x3bb25b:_0x53fed1)!=null?_0x4019ee:vn;}[_0x5aed06(0x261)](){var _0x21913c=_0x5aed06,_0x78df37,_0x365136;const _0x23c934=this[_0x21913c(0x26c)][_0x21913c(0x327)](Sn),_0x3f8577=this[_0x21913c(0x26c)][_0x21913c(0x327)](K);return(_0x365136=(_0x78df37=_0x3f8577==null?void 0x0:_0x3f8577[_0x21913c(0x382)])!=null?_0x78df37:_0x23c934)!=null?_0x365136:fn;}[_0x5aed06(0x3e1)](){var _0x45fc63=_0x5aed06,_0x5655a9;const _0x2962f1=this[_0x45fc63(0x26c)][_0x45fc63(0x327)](K);return(_0x5655a9=_0x2962f1==null?void 0x0:_0x2962f1[_0x45fc63(0x1d8)])!=null?_0x5655a9:location[_0x45fc63(0x2b7)];}['_replaceFileID'](_0x4698f3,_0x5ac45c){var _0x354c57=_0x5aed06;return _0x4698f3['replace'](_0x354c57(0x459),_0x5ac45c);}[_0x5aed06(0x42e)](){var _0x52d1e4=_0x5aed06;this[_0x52d1e4(0x1e9)]-=0x1,this[_0x52d1e4(0x34a)][_0x52d1e4(0x193)](this[_0x52d1e4(0x1e9)]);}},exports[_0x5aed06(0x2bd)]=_n([Le(0x0,a['Inject'](Y[_0x5aed06(0x414)])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x5aed06(0x46b)](a['IUniverInstanceService']))],exports[_0x5aed06(0x2bd)]);var pn=Object[_0x5aed06(0x206)],In=(_0x1b4e8d,_0x27082b,_0x4c5959,_0x3ce0df)=>{for(var _0x3f68ae=_0x3ce0df>0x1?void 0x0:_0x3ce0df?pn(_0x27082b,_0x4c5959):_0x27082b,_0x4b0050=_0x1b4e8d['length']-0x1,_0x3dd4c8;_0x4b0050>=0x0;_0x4b0050--)(_0x3dd4c8=_0x1b4e8d[_0x4b0050])&&(_0x3f68ae=_0x3dd4c8(_0x3f68ae)||_0x3f68ae);return _0x3f68ae;},at=(_0x15ccd5,_0x1caf4f)=>(_0x5cb8b2,_0x52ea58)=>_0x1caf4f(_0x5cb8b2,_0x52ea58,_0x15ccd5);const gn='/universer-api/authz';exports[_0x5aed06(0x3e6)]=class{constructor(_0x2c45a1,_0x7ebe28){var _0x20f73c=_0x5aed06;this['_configService']=_0x2c45a1,this[_0x20f73c(0x2e4)]=_0x7ebe28;}[_0x5aed06(0x260)](){var _0x4134bf=_0x5aed06,_0x4e2284,_0x1f0ca0;const _0x12f5d6=this['_configService'][_0x4134bf(0x327)](Ve),_0x4f73c2=this[_0x4134bf(0x26c)][_0x4134bf(0x327)](K);return(_0x1f0ca0=(_0x4e2284=_0x4f73c2==null?void 0x0:_0x4f73c2[_0x4134bf(0x2c3)])!=null?_0x4e2284:_0x12f5d6)!=null?_0x1f0ca0:gn;}async[_0x5aed06(0x3ba)](_0x1dd8ff){var _0x2cb0a8=_0x5aed06;const _0x56214f=this['_getAPIPrefixPath']()+_0x2cb0a8(0x228);return{'list':[{'title':_0x2cb0a8(0x45d),'mentions':(await this[_0x2cb0a8(0x2e4)]['get'](_0x56214f,{'params':{'objectID':_0x1dd8ff[_0x2cb0a8(0x3a3)],'unitID':_0x1dd8ff[_0x2cb0a8(0x3a3)]}}))['body'][_0x2cb0a8(0x3d7)][_0x2cb0a8(0x33c)](_0x75b6aa=>({'objectId':_0x75b6aa['id'],'name':_0x75b6aa[_0x2cb0a8(0x1ce)]['name'],'metadata':{'icon':_0x75b6aa[_0x2cb0a8(0x1ce)][_0x2cb0a8(0x28c)]},'label':_0x75b6aa[_0x2cb0a8(0x1ce)][_0x2cb0a8(0x4a1)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType'][_0x2cb0a8(0x232)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x5aed06(0x46b)](a['IConfigService'])),at(0x1,a[_0x5aed06(0x46b)](Y[_0x5aed06(0x414)]))],exports[_0x5aed06(0x3e6)]);var En=Object[_0x5aed06(0x206)],mn=(_0x4d32e0,_0x5b4926,_0x3b30d0,_0x138ecd)=>{var _0x1d280c=_0x5aed06;for(var _0x12e15b=_0x138ecd>0x1?void 0x0:_0x138ecd?En(_0x5b4926,_0x3b30d0):_0x5b4926,_0x505d71=_0x4d32e0[_0x1d280c(0x24e)]-0x1,_0x3d664f;_0x505d71>=0x0;_0x505d71--)(_0x3d664f=_0x4d32e0[_0x505d71])&&(_0x12e15b=_0x3d664f(_0x12e15b)||_0x12e15b);return _0x12e15b;},le=(_0x4d6c15,_0x1b0bc5)=>(_0x34a5ca,_0x3c6d4c)=>_0x1b0bc5(_0x34a5ca,_0x3c6d4c,_0x4d6c15);let Ue=class extends a[_0x5aed06(0x33e)]{constructor(_0x545b16,_0xc3fcd3,_0x25c8c8,_0x225734,_0x476343){var _0x1f721f=_0x5aed06;super(),this[_0x1f721f(0x1a3)]=_0x545b16,this[_0x1f721f(0x3a6)]=_0xc3fcd3,this[_0x1f721f(0x303)]=_0x25c8c8,this[_0x1f721f(0x467)]=_0x225734,this['_collaborationUIEventService']=_0x476343,this[_0x1f721f(0x329)](),this[_0x1f721f(0x2f6)]();}['_initCloseConn'](){var _0x9388c7=_0x5aed06;const _0x270990=async _0x5bcdb8=>{var _0xa049f=_0x156c;(await this['_collaborationSessionService'][_0xa049f(0x1e2)](_0x5bcdb8))[_0xa049f(0x2fb)][_0xa049f(0x280)](V[_0xa049f(0x4c1)](_0x85d622=>_0x85d622['eventID']===I[_0xa049f(0x1eb)][_0xa049f(0x19b)]),V['takeUntil'](this[_0xa049f(0x3c4)]))['subscribe'](_0x3695af=>{var _0xb3de36=_0xa049f;const _0x43a8f2=_0x3695af,{reason:_0x5866b5}=_0x43a8f2['data'];this[_0xb3de36(0x45c)]['emitEvent']({'id':Z[_0xb3de36(0x4b3)],'data':_0x5866b5}),this[_0xb3de36(0x303)][_0xb3de36(0x36c)](new X['WorkbookEditablePermission'](_0x5bcdb8)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5bcdb8);});};$[_0x9388c7(0x286)](this['_univerInstanceService'][_0x9388c7(0x48a)](a[_0x9388c7(0x3b6)][_0x9388c7(0x1de)]),this['_univerInstanceService'][_0x9388c7(0x48a)](a['UniverInstanceType'][_0x9388c7(0x1f3)]))[_0x9388c7(0x280)](V[_0x9388c7(0x33c)](_0x299f13=>_0x299f13[_0x9388c7(0x2f0)]()),V[_0x9388c7(0x4c1)](_0x7ae3ec=>!a['isInternalEditorID'](_0x7ae3ec)),V[_0x9388c7(0x3cb)](this[_0x9388c7(0x3c4)]))['subscribe'](_0x2e95ab=>{_0x270990(_0x2e95ab);});}[_0x5aed06(0x329)](){var _0x2a7f08=_0x5aed06;const _0x1e7175=async _0x4d20d2=>{var _0x5b02ad=_0x156c;const _0x569f96=await this[_0x5b02ad(0x467)]['requireSession'](_0x4d20d2),_0x16bbb9=this[_0x5b02ad(0x1a3)][_0x5b02ad(0x4d1)](X['SheetPermissionInitController']);_0x569f96[_0x5b02ad(0x2fb)][_0x5b02ad(0x280)](V['filter'](_0x438f8c=>_0x438f8c[_0x5b02ad(0x264)]===I[_0x5b02ad(0x1eb)]['UPDATE_PERMISSION_OBJ']),V[_0x5b02ad(0x3cb)](this[_0x5b02ad(0x3c4)]))[_0x5b02ad(0x284)](_0x2355af=>{var _0x44643f=_0x5b02ad;const _0xe53a36=_0x2355af,{objectId:_0x154391}=_0xe53a36['data'];_0x154391===_0x4d20d2?_0x16bbb9[_0x44643f(0x403)](_0x4d20d2):_0x16bbb9['refreshPermission'](_0x4d20d2,_0x154391);});};$[_0x2a7f08(0x286)](this[_0x2a7f08(0x3a6)][_0x2a7f08(0x48a)](a[_0x2a7f08(0x3b6)][_0x2a7f08(0x1de)]))[_0x2a7f08(0x280)](V[_0x2a7f08(0x33c)](_0x368a29=>_0x368a29[_0x2a7f08(0x2f0)]()),V[_0x2a7f08(0x4c1)](_0x57fa3a=>!a[_0x2a7f08(0x291)](_0x57fa3a)),V[_0x2a7f08(0x3cb)](this['dispose$']))[_0x2a7f08(0x284)](_0x2321ec=>{_0x1e7175(_0x2321ec);});}};Ue=mn([le(0x0,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x5aed06(0x1b6)]),le(0x3,a['Inject'](exports[_0x5aed06(0x2a5)])),le(0x4,a[_0x5aed06(0x46b)](ee))],Ue);var Cn=Object[_0x5aed06(0x206)],Tn=(_0x4c89d7,_0x472b85,_0x92aa0a,_0x41f6d2)=>{var _0x3c95c9=_0x5aed06;for(var _0x131aa0=_0x41f6d2>0x1?void 0x0:_0x41f6d2?Cn(_0x472b85,_0x92aa0a):_0x472b85,_0x5d2fef=_0x4c89d7[_0x3c95c9(0x24e)]-0x1,_0x2f0847;_0x5d2fef>=0x0;_0x5d2fef--)(_0x2f0847=_0x4c89d7[_0x5d2fef])&&(_0x131aa0=_0x2f0847(_0x131aa0)||_0x131aa0);return _0x131aa0;},ct=(_0x33e577,_0x29736f)=>(_0x31b227,_0x3390f9)=>_0x29736f(_0x31b227,_0x3390f9,_0x33e577);exports['SnapshotServerOverHTTPService']=class{constructor(_0x131c3e,_0x57dc72){var _0x34a05c=_0x5aed06;this[_0x34a05c(0x26c)]=_0x131c3e,this[_0x34a05c(0x38b)]=_0x57dc72;}async[_0x5aed06(0x1be)](_0x54265b,_0x347c8e){var _0xae660d=_0x5aed06,_0x4976d4;const {unitID:_0x2ab779,type:_0x1b2988,revision:_0x290d1b=0x0}=_0x347c8e,_0x408f5d=this[_0xae660d(0x4e6)]()+'/'+_0x1b2988+_0xae660d(0x39c)+_0x2ab779+_0xae660d(0x481)+_0x290d1b,_0x1e9908=(await this[_0xae660d(0x38b)][_0xae660d(0x4d1)](_0x408f5d))[_0xae660d(0x20b)],_0x13e9b9=(_0x4976d4=_0x1e9908[_0xae660d(0x4aa)])==null?void 0x0:_0x4976d4['workbook'];if(_0x13e9b9){const _0x3af0b2=_0x13e9b9==null?void 0x0:_0x13e9b9[_0xae660d(0x3ce)],_0x47f043=I[_0xae660d(0x18e)][_0xae660d(0x2b3)](I[_0xae660d(0x445)](_0x3af0b2));_0x13e9b9[_0xae660d(0x3ce)]=_0x47f043,Object['entries'](_0x13e9b9[_0xae660d(0x40c)])[_0xae660d(0x4d4)](([,_0x544bce])=>{var _0x1e5887=_0xae660d;const _0x326774=_0x544bce[_0x1e5887(0x3ce)],_0xa4fd3a=I[_0x1e5887(0x18e)][_0x1e5887(0x2b3)](I['b64DecodeUnicode'](_0x326774));_0x544bce[_0x1e5887(0x3ce)]=_0xa4fd3a;});}return _0x1e9908;}async['getSheetBlock'](_0x51903d,_0x1ed740){var _0x5811b9=_0x5aed06;const {unitID:_0x2559db,type:_0x4ffc30,blockID:_0x7dcf5e}=_0x1ed740,_0x4ca913=this['_getAPIPrefix']()+'/'+_0x4ffc30+'/unit/'+_0x2559db+'/block/'+_0x7dcf5e;return(await this['_httpService']['get'](_0x4ca913))[_0x5811b9(0x20b)];}async[_0x5aed06(0x2ef)](_0x5de857,_0x3ac8a2){var _0x6de74d=_0x5aed06;const {unitID:_0xb5c6c5,type:_0x310ad3,blockID:_0x3d7fee}=_0x3ac8a2,_0x5df88a=this[_0x6de74d(0x230)]()+'/block/'+_0x310ad3+_0x6de74d(0x39c)+_0xb5c6c5+'/block/'+_0x3d7fee;return(await this['_httpService'][_0x6de74d(0x4d1)](_0x5df88a))['body'];}async[_0x5aed06(0x453)](_0x3d4b8b,_0x333bae){var _0x3e8e0d=_0x5aed06;const {unitID:_0x4ea001,type:_0xff0011,from:_0xd8042c,to:_0x1cdce0}=_0x333bae,_0x1d662f=this[_0x3e8e0d(0x230)]()+'/'+_0xff0011+_0x3e8e0d(0x39c)+_0x4ea001+'/fetchmissing?from='+_0xd8042c+_0x3e8e0d(0x40e)+_0x1cdce0;return(await this[_0x3e8e0d(0x38b)][_0x3e8e0d(0x4d1)](_0x1d662f))[_0x3e8e0d(0x20b)];}[_0x5aed06(0x4e6)](){var _0x44c53e=_0x5aed06,_0xcb6ea7;return(_0xcb6ea7=this[_0x44c53e(0x26c)]['getConfig'](lt))!=null?_0xcb6ea7:this['_getAPIPrefix']();}[_0x5aed06(0x230)](){var _0x984ce4=_0x5aed06,_0x20a225,_0x10caef;const _0x210038=this['_configService']['getConfig'](_t),_0x853324=this[_0x984ce4(0x26c)][_0x984ce4(0x327)](K);return(_0x10caef=(_0x20a225=_0x853324==null?void 0x0:_0x853324[_0x984ce4(0x2cb)])!=null?_0x20a225:_0x210038)!=null?_0x10caef:Lt;}async['getResourcesRequest'](_0x5b5dc8,_0x2ae370){var _0x43b111=_0x5aed06;const _0x14accf=_0x43b111(0x19d)+_0x2ae370['type']+_0x43b111(0x39c)+_0x2ae370[_0x43b111(0x2c5)]+'/resources';return(await this[_0x43b111(0x38b)][_0x43b111(0x4d1)](_0x14accf,{'params':{'resourceId':JSON[_0x43b111(0x463)](_0x2ae370['resourceIDs'])}}))[_0x43b111(0x20b)];}[_0x5aed06(0x416)](){var _0x290e5e=_0x5aed06;throw new Error(_0x290e5e(0x1cc));}[_0x5aed06(0x2c1)](){var _0x454ad2=_0x5aed06;throw new Error(_0x454ad2(0x1cc));}[_0x5aed06(0x37c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x30e9f2=_0x5aed06;throw new Error(_0x30e9f2(0x1cc));}[_0x5aed06(0x1c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5aed06(0x2e9)](){var _0x1d9d8e=_0x5aed06;throw new Error(_0x1d9d8e(0x1cc));}},exports[_0x5aed06(0x43e)]=Tn([ct(0x0,a[_0x5aed06(0x3a7)]),ct(0x1,a['Inject'](Y['HTTPService']))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x5aed06(0x206)],Rn=(_0x4af4f3,_0x41d60a,_0x27a20a,_0x590955)=>{var _0x48a78a=_0x5aed06;for(var _0x12a3c1=_0x590955>0x1?void 0x0:_0x590955?bn(_0x41d60a,_0x27a20a):_0x41d60a,_0x4940f1=_0x4af4f3[_0x48a78a(0x24e)]-0x1,_0x60b885;_0x4940f1>=0x0;_0x4940f1--)(_0x60b885=_0x4af4f3[_0x4940f1])&&(_0x12a3c1=_0x60b885(_0x12a3c1)||_0x12a3c1);return _0x12a3c1;},ue=(_0x5366af,_0xf15903)=>(_0x267349,_0x23ffa0)=>_0xf15903(_0x267349,_0x23ffa0,_0x5366af);exports[_0x5aed06(0x4e5)]=class extends a[_0x5aed06(0x24d)]{constructor(_0x1d1f64,_0x32075c,_0x52b6ed,_0x44e3cd,_0xe4edf4){var _0x1d9275=_0x5aed06;super(_0x1d1f64,_0x32075c,_0x52b6ed),this[_0x1d9275(0x4be)]=_0x44e3cd,this[_0x1d9275(0x496)]=_0xe4edf4;}[_0x5aed06(0x461)](_0x2f6f7b,_0x58bfaa){var _0x3cd399=_0x5aed06;const _0x468178=this['_getUndoStack'](_0x2f6f7b);if(_0x468178)try{const _0x86f10=this[_0x3cd399(0x1c8)](_0x468178,_0x58bfaa);this[_0x3cd399(0x221)](_0x2f6f7b,_0x86f10);}catch(_0x40945a){this[_0x3cd399(0x496)][_0x3cd399(0x3ac)]('[CollaborationUndoRedoService]',_0x40945a),this['_clearUndo'](_0x2f6f7b);}const _0x26d878=this[_0x3cd399(0x34e)](_0x2f6f7b);if(_0x26d878)try{const _0x1dc90c=this[_0x3cd399(0x1c8)](_0x26d878,_0x58bfaa);this['_substituteRedoStack'](_0x2f6f7b,_0x1dc90c);}catch(_0x557c89){this[_0x3cd399(0x496)][_0x3cd399(0x3ac)](_0x557c89),this[_0x3cd399(0x3ab)](_0x2f6f7b);}}['_clearUndo'](_0x49a4d6){var _0x450112=_0x5aed06;const _0x52813a=this[_0x450112(0x352)](_0x49a4d6);_0x52813a&&(_0x52813a['length']=0x0,this[_0x450112(0x409)]());}[_0x5aed06(0x3ab)](_0x2841f6){var _0x3695c7=_0x5aed06;const _0xd29ac1=this[_0x3695c7(0x34e)](_0x2841f6);_0xd29ac1&&(_0xd29ac1[_0x3695c7(0x24e)]=0x0,this[_0x3695c7(0x409)]());}['_substituteUndoStack'](_0x4eac27,_0x2727c6){var _0x3562de=_0x5aed06;this[_0x3562de(0x49f)][_0x3562de(0x426)](_0x4eac27,_0x2727c6),this[_0x3562de(0x409)]();}['_substituteRedoStack'](_0x587e6e,_0x2d7b0a){var _0x493e2a=_0x5aed06;this['_redoStacks'][_0x493e2a(0x426)](_0x587e6e,_0x2d7b0a),this[_0x493e2a(0x409)]();}[_0x5aed06(0x1c8)](_0x4e45fb,_0x366e2d){var _0x346cc4=_0x5aed06;const _0x4c9f39=[];let _0x21b6b9=_0x366e2d,_0x4801b7=_0x366e2d;for(let _0x2702c5=_0x4e45fb[_0x346cc4(0x24e)]-0x1;_0x2702c5>=0x0;_0x2702c5--){const {unitID:_0x791d68,undoMutations:_0x56151d,redoMutations:_0xfb1da8}=_0x4e45fb[_0x2702c5],_0x5b0f25=this['_transformService'][_0x346cc4(0x2d7)](_0x21b6b9,_0x56151d),_0x13dbb3=this[_0x346cc4(0x4be)][_0x346cc4(0x2d7)](_0x4801b7,_0xfb1da8);if(I[_0x346cc4(0x1ea)](_0x5b0f25)||I['isTransformMutationsWithChangesetFailure'](_0x13dbb3)){this[_0x346cc4(0x496)][_0x346cc4(0x3ac)](_0x346cc4(0x4df),'transformStack\x20failed!',_0x5b0f25,_0x13dbb3);break;}_0x21b6b9=_0x5b0f25[_0x346cc4(0x460)],_0x4801b7=_0x13dbb3[_0x346cc4(0x460)],_0x4c9f39['push']({'unitID':_0x791d68,'undoMutations':_0x5b0f25['m2Prime'],'redoMutations':_0x13dbb3['m2Prime']});}return _0x4c9f39[_0x346cc4(0x4ba)]();}},exports[_0x5aed06(0x4e5)]=Rn([ue(0x0,a[_0x5aed06(0x3aa)]),ue(0x1,a[_0x5aed06(0x2e5)]),ue(0x2,a[_0x5aed06(0x266)]),ue(0x3,I[_0x5aed06(0x48e)]),ue(0x4,a[_0x5aed06(0x2c4)])],exports[_0x5aed06(0x4e5)]);var On=Object[_0x5aed06(0x211)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x356e70,_0x1b4ed9,_0x2eb996)=>_0x1b4ed9 in _0x356e70?On(_0x356e70,_0x1b4ed9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eb996}):_0x356e70[_0x1b4ed9]=_0x2eb996,Un=(_0x951c86,_0x51c512,_0x39de8b,_0x58b021)=>{var _0x4693d0=_0x5aed06;for(var _0xb3b73d=_0x58b021>0x1?void 0x0:_0x58b021?yn(_0x51c512,_0x39de8b):_0x51c512,_0x142ef9=_0x951c86[_0x4693d0(0x24e)]-0x1,_0x3f14f2;_0x142ef9>=0x0;_0x142ef9--)(_0x3f14f2=_0x951c86[_0x142ef9])&&(_0xb3b73d=_0x3f14f2(_0xb3b73d)||_0xb3b73d);return _0xb3b73d;},Me=(_0x301f84,_0x36201b)=>(_0x15fc00,_0xd10a61)=>_0x36201b(_0x15fc00,_0xd10a61,_0x301f84),Dn=(_0x17f92f,_0x3854b1,_0x1dabc0)=>Nn(_0x17f92f,_0x3854b1+'',_0x1dabc0);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x5aed06(0x3f1)]=class extends a['Plugin']{constructor(_0x17fdf1,_0x27e93b,_0x5b2954,_0x4377ee){var _0x125d9c=_0x5aed06;super(),A(this,'_config'),(this['_logService']=_0x27e93b,this[_0x125d9c(0x1a3)]=_0x5b2954,this[_0x125d9c(0x26c)]=_0x4377ee);const {..._0x365288}=a[_0x125d9c(0x286)]({},Yt,_0x17fdf1);if(!_0x365288[_0x125d9c(0x30f)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x125d9c(0x1b8)]=_0x365288,this[_0x125d9c(0x26c)]['setConfig'](K,_0x365288);}['onStarting'](){var _0x1726b8=_0x5aed06;this[_0x1726b8(0x33d)](),this[_0x1726b8(0x499)]();}['_registerDependencies'](){var _0x27a25a=_0x5aed06,_0x2c04ee,_0x154914;this[_0x27a25a(0x1a3)][_0x27a25a(0x3c3)](a['IUndoRedoService'])&&this[_0x27a25a(0x496)][_0x27a25a(0x3ac)](_0x27a25a(0x1d0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x599478=a[_0x27a25a(0x309)]([[a[_0x27a25a(0x44d)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x27a25a(0x2a5)]],[exports[_0x27a25a(0x195)]],[exports[_0x27a25a(0x494)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this['_config'][_0x27a25a(0x30f)]}],[I[_0x27a25a(0x3fa)],{'useClass':exports[_0x27a25a(0x43e)]}],[a[_0x27a25a(0x447)],{'useClass':exports[_0x27a25a(0x4e2)]}],[z[_0x27a25a(0x2c6)],{'useClass':exports[_0x27a25a(0x2bd)]}],[a[_0x27a25a(0x4c4)],{'useClass':exports[_0x27a25a(0x3e6)]}],[exports[_0x27a25a(0x331)]],[xe]],(_0x2c04ee=this[_0x27a25a(0x1b8)])==null?void 0x0:_0x2c04ee[_0x27a25a(0x24c)]);if(!((_0x154914=this[_0x27a25a(0x1b8)])!=null&&_0x154914['enableSingleActiveInstanceLock'])){const _0x46682f=_0x599478['findIndex'](([_0x346689])=>_0x346689===de);_0x46682f!==-0x1&&_0x599478[_0x27a25a(0x42a)](_0x46682f,0x1);}a[_0x27a25a(0x3ea)](this[_0x27a25a(0x1a3)],_0x599478);}[_0x5aed06(0x499)](){var _0x2d0e89=_0x5aed06,_0x3d0337,_0x19f4f4,_0x81995f;this[_0x2d0e89(0x1a3)]['get'](Y['HTTPService'])[_0x2d0e89(0x47b)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3d0337=this['_config'])!=null&&_0x3d0337[_0x2d0e89(0x1ee)]||(_0x19f4f4=this[_0x2d0e89(0x1a3)][_0x2d0e89(0x4d1)](q,a[_0x2d0e89(0x4cc)]['OPTIONAL']))==null||_0x19f4f4[_0x2d0e89(0x37d)](),(_0x81995f=this['_config'])!=null&&_0x81995f['enableAuthServer']&&a[_0x2d0e89(0x480)](this[_0x2d0e89(0x1a3)],[[ye]]),a[_0x2d0e89(0x480)](this[_0x2d0e89(0x1a3)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x5aed06(0x3f1)],_0x5aed06(0x2be),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x5aed06(0x205)](I[_0x5aed06(0x191)],Y[_0x5aed06(0x1c7)]),Me(0x1,a[_0x5aed06(0x2c4)]),Me(0x2,a[_0x5aed06(0x46b)](a[_0x5aed06(0x31e)])),Me(0x3,a[_0x5aed06(0x3a7)])],exports[_0x5aed06(0x3f1)]),exports[_0x5aed06(0x1f1)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0x5aed06(0x44f)]=pt,exports[_0x5aed06(0x234)]=ut,exports[_0x5aed06(0x31a)]=Be,exports[_0x5aed06(0x4a0)]=Z,exports[_0x5aed06(0x1e3)]=ee,exports[_0x5aed06(0x30a)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x5aed06(0x1df)]=Kt,exports[_0x5aed06(0x27d)]=kt,exports[_0x5aed06(0x289)]=vt,exports[_0x5aed06(0x18a)]=ke,exports[_0x5aed06(0x305)]=He,exports['ILocalCacheService']=q,exports[_0x5aed06(0x36e)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x5aed06(0x298)]=Bt,exports[_0x5aed06(0x2ed)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x5aed06(0x307)]=ft,exports[_0x5aed06(0x34b)]=Mt,exports[_0x5aed06(0x23e)]=_t,exports[_0x5aed06(0x365)]=lt,exports['SessionStatus']=re,exports['UnitStatus']=je,exports[_0x5aed06(0x2e6)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x5aed06(0x41c)]=Tt;