@univerjs-pro/collaboration-client 0.6.9-experimental.20250408-da421ca → 0.6.9-experimental.20250409-e08c696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0xfe4f58=_0x1071;(function(_0x129144,_0x3f5067){var _0x446528=_0x1071,_0x288d5b=_0x129144();while(!![]){try{var _0x5a92c0=-parseInt(_0x446528(0x216))/0x1+parseInt(_0x446528(0x3e0))/0x2*(parseInt(_0x446528(0x1f7))/0x3)+-parseInt(_0x446528(0x4a3))/0x4*(parseInt(_0x446528(0x29b))/0x5)+-parseInt(_0x446528(0x298))/0x6*(-parseInt(_0x446528(0x2b1))/0x7)+parseInt(_0x446528(0x2a0))/0x8*(-parseInt(_0x446528(0x2d5))/0x9)+parseInt(_0x446528(0x4a9))/0xa+-parseInt(_0x446528(0x49a))/0xb*(parseInt(_0x446528(0x2c6))/0xc);if(_0x5a92c0===_0x3f5067)break;else _0x288d5b['push'](_0x288d5b['shift']());}catch(_0x3c2534){_0x288d5b['push'](_0x288d5b['shift']());}}}(_0xe5c9,0x6921b));var wi=Object[_0xfe4f58(0x33a)],Pi=(_0x3490cd,_0x5b6030,_0x5ae3ca)=>_0x5b6030 in _0x3490cd?wi(_0x3490cd,_0x5b6030,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ae3ca}):_0x3490cd[_0x5b6030]=_0x5ae3ca,N=(_0x24d3db,_0x413984,_0x52c45c)=>Pi(_0x24d3db,typeof _0x413984!=_0xfe4f58(0x3de)?_0x413984+'':_0x413984,_0x52c45c);import{createIdentifier as _0x32691d,Inject as _0xa221c6,Injector as _0x448e61,IConfigService as _0xfaee79,ILogService as _0x174c69,Disposable as _0x3413cf,DisposableCollection as _0x247307,toDisposable as _0x5d854c,IUniverInstanceService as _0x509a63,UserManagerService as _0xb819c,UniverInstanceType as _0x3d4c93,LocaleService as _0x1a6e12,Optional as _0x26efdf,RxDisposable as _0x560f21,Tools as _0x3ff519,Rectangle as _0x15235a,ICommandService as _0x2c8d8e,JSONX as _0x4bac68,CommandType as _0x9cacc5,IUndoRedoService as _0x1f3b70,IPermissionService as _0x5aa8b2,sequenceExecute as _0x243b5b,Workbook as _0x2b789c,MentionType as _0xe90163,isInternalEditorID as _0x5407f1,LocalUndoRedoService as _0x3ee999,IContextService as _0x291577,DependentOn as _0x34c21d,Plugin as _0x35d320,merge as _0x4df04c,mergeOverrideWithDependencies as _0x4d8ff0,IAuthzIoService as _0x1f7b31,IMentionIOService as _0x19b27f,registerDependencies as _0x143e2f,Quantity as _0x4cfbd4,touchDependencies as _0x340244}from'@univerjs/core';import{Subject as _0x5f3a07,merge as _0x5a4a18,of as _0x52822a,BehaviorSubject as _0xca4a9f,takeUntil as _0x180b89,ReplaySubject as _0x29d47f,take as _0x3c2962,map as _0x2a6419,shareReplay as _0x401e19,firstValueFrom as _0x11a9aa,concatMap as _0x56218d}from'rxjs';import{map as _0x18a5ad,take as _0x4e0d2a,filter as _0x1114a4,delay as _0x20c95b,takeUntil as _0x3b169b}from'rxjs/operators';import{CollaborationEvent as _0x3534fc,ISnapshotServerService as _0x34f4e9,parseChangesetToProtocol as _0x176f46,ITransformService as _0x7dec29,isTransformMutationsWithChangesetSuccess as _0x2ae41e,mapDocumentTypeToUniverType as _0x2766c1,RevisionService as _0x2c856c,isTransformChangesetsSuccess as _0x82379c,CompressMutationService as _0x5ad088,parseProtocolChangeset as _0x4bc516,SnapshotService as _0x2857a0,textEncoder as _0x249caf,b64DecodeUnicode as _0x2b59e5,isTransformMutationsWithChangesetFailure as _0x3b29be,UniverCollaborationPlugin as _0x4f5594}from'@univerjs-pro/collaboration';import{HTTPService as _0x5ef325,ISocketService as _0x23d0bb,MergeInterceptorFactory as _0x191468,HTTPRequest as _0x153af5,UniverNetworkPlugin as _0x53186b,ThresholdInterceptorFactory as _0x216236}from'@univerjs/network';import{ITelemetryService as _0x125a3e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x21d9eb}from'@univerjs/docs';import{SheetsSelectionsService as _0x27d67a,SetSelectionsOperation as _0x34ac41,InsertSheetMutation as _0x260992,EmptyMutation as _0x4051a3,WorkbookEditablePermission as _0x4b3777,SheetPermissionInitController as _0x458491}from'@univerjs/sheets';import{ImageSourceType as _0x260a85,ImageUploadStatusType as _0x52bc70,IImageIoService as _0x4cbb7c}from'@univerjs/drawing';import{getGlobalObject as _0x38eb20}from'@univerjs-pro/license';const mn=_0xfe4f58(0x21d),gn=_0xfe4f58(0x3d7),Sn=_0xfe4f58(0x346),Lr=_0xfe4f58(0x4ed),En=0x7d0,In=_0xfe4f58(0x473),Tn=_0xfe4f58(0x21f),xr=_0xfe4f58(0x2ae),Cn=_0xfe4f58(0x391),Rn=0x7530,mi=_0xfe4f58(0x326),gi=0x4e20,bn=0x4e20,yn=_0xfe4f58(0x201),On=0x3,Mr=_0xfe4f58(0x269),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0xfe4f58(0x34e),Un='LOGIN_URL_KEY',An=_0xfe4f58(0x2d7),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0xfe4f58(0x2fc);var Si=(_0x58ad25=>(_0x58ad25[_0x58ad25[_0xfe4f58(0x4b1)]=0x0]=_0xfe4f58(0x4b1),_0x58ad25[_0x58ad25['OK']=0x1]='OK',_0x58ad25[_0x58ad25['INTERNAL_ERROR']=0x2]=_0xfe4f58(0x45f),_0x58ad25[_0x58ad25['PERMISSION_DENIED']=0x3]=_0xfe4f58(0x463),_0x58ad25[_0x58ad25[_0xfe4f58(0x257)]=0x4]=_0xfe4f58(0x257),_0x58ad25[_0x58ad25[_0xfe4f58(0x3bc)]=0x5]=_0xfe4f58(0x3bc),_0x58ad25[_0x58ad25[_0xfe4f58(0x4bf)]=0x6]=_0xfe4f58(0x4bf),_0x58ad25[_0x58ad25[_0xfe4f58(0x28c)]=0x7]='INVALID_ARGUMENT',_0x58ad25[_0x58ad25[_0xfe4f58(0x398)]=0x8]=_0xfe4f58(0x398),_0x58ad25[_0x58ad25['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x58ad25[_0x58ad25[_0xfe4f58(0x20e)]=0xa]=_0xfe4f58(0x20e),_0x58ad25[_0x58ad25[_0xfe4f58(0x475)]=0x1389]=_0xfe4f58(0x475),_0x58ad25[_0x58ad25[_0xfe4f58(0x347)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x58ad25[_0x58ad25[_0xfe4f58(0x476)]=0x1772]=_0xfe4f58(0x476),_0x58ad25[_0x58ad25['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xfe4f58(0x413),_0x58ad25[_0x58ad25[_0xfe4f58(0x408)]=0x1b59]=_0xfe4f58(0x408),_0x58ad25[_0x58ad25[_0xfe4f58(0x4d4)]=0x1b5a]=_0xfe4f58(0x4d4),_0x58ad25[_0x58ad25[_0xfe4f58(0x2e8)]=0x1b5b]=_0xfe4f58(0x2e8),_0x58ad25[_0x58ad25[_0xfe4f58(0x1f6)]=0x1b5c]=_0xfe4f58(0x1f6),_0x58ad25[_0x58ad25[_0xfe4f58(0x35b)]=0x1b5d]='APPLY_DUPLICATED',_0x58ad25[_0x58ad25['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x58ad25[_0x58ad25[_0xfe4f58(0x3d5)]=0x2329]=_0xfe4f58(0x3d5),_0x58ad25[_0x58ad25[_0xfe4f58(0x3d9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x58ad25[_0x58ad25[_0xfe4f58(0x499)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x58ad25[_0x58ad25[_0xfe4f58(0x3bf)]=0x232c]=_0xfe4f58(0x3bf),_0x58ad25[_0x58ad25[_0xfe4f58(0x3e4)]=0x232d]=_0xfe4f58(0x3e4),_0x58ad25[_0x58ad25['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x58ad25[_0x58ad25['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xfe4f58(0x2e4),_0x58ad25[_0x58ad25[_0xfe4f58(0x47a)]=0x2713]=_0xfe4f58(0x47a),_0x58ad25[_0x58ad25[_0xfe4f58(0x3ff)]=0x2714]=_0xfe4f58(0x3ff),_0x58ad25[_0x58ad25[_0xfe4f58(0x4c9)]=0x2af9]=_0xfe4f58(0x4c9),_0x58ad25[_0x58ad25['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xfe4f58(0x2e7),_0x58ad25[_0x58ad25['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x58ad25[_0x58ad25['INVITE_CODE_REQUIRED']=0x2ee3]=_0xfe4f58(0x454),_0x58ad25[_0x58ad25[_0xfe4f58(0x4c7)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x58ad25[_0x58ad25['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xfe4f58(0x227),_0x58ad25[_0x58ad25['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xfe4f58(0x26f),_0x58ad25[_0x58ad25[_0xfe4f58(0x27e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x58ad25[_0x58ad25[_0xfe4f58(0x35f)]=0x32cb]=_0xfe4f58(0x35f),_0x58ad25[_0x58ad25[_0xfe4f58(0x313)]=-0x1]=_0xfe4f58(0x313),_0x58ad25))(Si||{}),Q=(_0x5c2198=>(_0x5c2198[_0x5c2198[_0xfe4f58(0x31a)]=0x0]=_0xfe4f58(0x31a),_0x5c2198[_0x5c2198[_0xfe4f58(0x3d3)]=0x1]=_0xfe4f58(0x3d3),_0x5c2198[_0x5c2198[_0xfe4f58(0x24f)]=0x2]=_0xfe4f58(0x24f),_0x5c2198[_0x5c2198['UNIVER_SLIDE']=0x3]=_0xfe4f58(0x3c7),_0x5c2198[_0x5c2198[_0xfe4f58(0x41b)]=0x4]=_0xfe4f58(0x41b),_0x5c2198[_0x5c2198[_0xfe4f58(0x313)]=-0x1]=_0xfe4f58(0x313),_0x5c2198))(Q||{}),F=(_0x3f075b=>(_0x3f075b[_0x3f075b[_0xfe4f58(0x390)]=0x0]=_0xfe4f58(0x390),_0x3f075b[_0x3f075b['HELLO']=0x1]=_0xfe4f58(0x430),_0x3f075b[_0x3f075b[_0xfe4f58(0x364)]=0x2]='JOIN',_0x3f075b[_0x3f075b[_0xfe4f58(0x3f0)]=0x3]=_0xfe4f58(0x3f0),_0x3f075b[_0x3f075b[_0xfe4f58(0x497)]=0x4]=_0xfe4f58(0x497),_0x3f075b[_0x3f075b['HEARTBEAT']=0x5]='HEARTBEAT',_0x3f075b[_0x3f075b[_0xfe4f58(0x3f9)]=0x6]=_0xfe4f58(0x3f9),_0x3f075b[_0x3f075b[_0xfe4f58(0x313)]=-0x1]=_0xfe4f58(0x313),_0x3f075b))(F||{}),ge=(_0x2aa41d=>(_0x2aa41d[_0x2aa41d[_0xfe4f58(0x2cf)]=0x0]='UNKNOWN_CODE',_0x2aa41d[_0x2aa41d['OK']=0x1]='OK',_0x2aa41d[_0x2aa41d[_0xfe4f58(0x3df)]=0x2]=_0xfe4f58(0x3df),_0x2aa41d[_0x2aa41d[_0xfe4f58(0x34d)]=0x3e9]=_0xfe4f58(0x34d),_0x2aa41d[_0x2aa41d[_0xfe4f58(0x49b)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x2aa41d[_0x2aa41d[_0xfe4f58(0x45a)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2aa41d[_0x2aa41d[_0xfe4f58(0x25a)]=0x3ec]=_0xfe4f58(0x25a),_0x2aa41d[_0x2aa41d[_0xfe4f58(0x313)]=-0x1]=_0xfe4f58(0x313),_0x2aa41d))(ge||{}),Ei=(_0x40cd5f=>(_0x40cd5f[_0x40cd5f[_0xfe4f58(0x2f2)]=0x0]=_0xfe4f58(0x2f2),_0x40cd5f[_0x40cd5f[_0xfe4f58(0x262)]=0x1]=_0xfe4f58(0x262),_0x40cd5f[_0x40cd5f[_0xfe4f58(0x369)]=0x2]=_0xfe4f58(0x369),_0x40cd5f[_0x40cd5f['UnitEmbedded']=0x3]='UnitEmbedded',_0x40cd5f[_0x40cd5f[_0xfe4f58(0x441)]=0x4]=_0xfe4f58(0x441),_0x40cd5f[_0x40cd5f[_0xfe4f58(0x419)]=0x5]='UserProfileImg',_0x40cd5f[_0x40cd5f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x40cd5f))(Ei||{});const q=_0xfe4f58(0x31e),wn={};var re=(_0x50a4e3=>(_0x50a4e3[_0xfe4f58(0x29e)]=_0xfe4f58(0x29e),_0x50a4e3[_0xfe4f58(0x463)]='PERMISSION_DENIED',_0x50a4e3[_0xfe4f58(0x4b8)]='CONFLICT',_0x50a4e3[_0xfe4f58(0x379)]='CLOSE_ROOM',_0x50a4e3['JOIN_ROOM_FAILED']=_0xfe4f58(0x324),_0x50a4e3[_0xfe4f58(0x25c)]=_0xfe4f58(0x25c),_0x50a4e3[_0xfe4f58(0x2d8)]=_0xfe4f58(0x2d8),_0x50a4e3[_0xfe4f58(0x28e)]=_0xfe4f58(0x28e),_0x50a4e3))(re||{});class pe{constructor(){var _0x2070ce=_0xfe4f58;N(this,'_event$',new _0x5f3a07()),N(this,_0x2070ce(0x392),this[_0x2070ce(0x396)][_0x2070ce(0x3fd)]());}[_0xfe4f58(0x4bb)](_0x38a223){var _0x2be811=_0xfe4f58;this[_0x2be811(0x396)][_0x2be811(0x33e)](_0x38a223);}}const Pn=_0x32691d(_0xfe4f58(0x4ef));function Ln(_0xb9421d){var _0x110185=_0xfe4f58,_0x48d7a9,_0x120762,_0x3f9cda,_0x554bcb,_0xdad3fe;const _0x5687db=_0xb9421d[_0x110185(0x23e)],_0x3b3735=JSON[_0x110185(0x4b5)](_0x5687db);switch(_0x3b3735[_0x110185(0x3b4)]){case F[_0x110185(0x3b7)]:case F[_0x110185(0x430)]:{const _0x399506=_0x3b3735['infoRsp'];return{..._0x3b3735,'data':_0x399506,'cmd':_0x3b3735['cmd']};}case F[_0x110185(0x364)]:{const _0x12fa8d=_0x3b3735['joinRsp'];return{..._0x3b3735,'data':_0x12fa8d,'cmd':_0x3b3735[_0x110185(0x3b4)]};}case F[_0x110185(0x3f9)]:{const _0x29d9dd=_0x3b3735['collaMsg'];switch(_0x29d9dd[_0x110185(0x238)]){case _0x3534fc[_0x110185(0x40d)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':(_0x48d7a9=_0x29d9dd[_0x110185(0x237)])==null?void 0x0:_0x48d7a9['cs']},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc['CHANGESET_ACK']:return{..._0x3b3735,'data':{..._0x29d9dd,'data':(_0x120762=_0x29d9dd[_0x110185(0x2f6)])==null?void 0x0:_0x120762['cs']},'cmd':_0x3b3735['cmd']};case _0x3534fc[_0x110185(0x439)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':(_0x3f9cda=_0x29d9dd[_0x110185(0x2f5)])==null?void 0x0:_0x3f9cda['cs']},'cmd':_0x3b3735['cmd']};case _0x3534fc['CHANGESET_REJ']:return{..._0x3b3735,'data':{..._0x29d9dd,'data':(_0x554bcb=_0x29d9dd[_0x110185(0x24d)])==null?void 0x0:_0x554bcb['cs']},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x4f0)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':(_0xdad3fe=_0x29d9dd[_0x110185(0x415)])==null?void 0x0:_0xdad3fe['cs']},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc['UPDATE_CURSOR']:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x435)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x327)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x4ec)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x2eb)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x328)]},'cmd':_0x3b3735['cmd']};case _0x3534fc[_0x110185(0x2bd)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x443)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x329)]:case _0x3534fc[_0x110185(0x31f)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x433)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x22e)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x443)]},'cmd':_0x3b3735['cmd']};case _0x3534fc['MSG_FOR_ERROR']:return{..._0x3b3735,'data':_0x29d9dd,'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x485)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x24c)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x288)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x221)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc['SHOULD_CLOSE_CONN']:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x36b)]},'cmd':_0x3b3735[_0x110185(0x3b4)]};case _0x3534fc[_0x110185(0x231)]:return{..._0x3b3735,'data':{..._0x29d9dd,'data':_0x29d9dd[_0x110185(0x323)]},'cmd':_0x3b3735['cmd']};default:return _0x3b3735;}}default:return _0x3b3735;}}function xn(_0x585af7){var _0x196105=_0xfe4f58;switch(_0x585af7[_0x196105(0x3b4)]){case F[_0x196105(0x3b7)]:case F[_0x196105(0x430)]:return JSON[_0x196105(0x3a8)]({'cmd':_0x585af7['cmd'],'routeKey':_0x585af7[_0x196105(0x4da)]});case F[_0x196105(0x497)]:{let _0x15ddc8;switch(_0x585af7[_0x196105(0x23e)][_0x196105(0x238)]){case _0x3534fc[_0x196105(0x1f5)]:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x1f5)],'updateCursorEvent':_0x585af7[_0x196105(0x23e)][_0x196105(0x23e)]};break;}case _0x3534fc[_0x196105(0x2eb)]:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x2eb)],'leaveEvent':_0x585af7[_0x196105(0x23e)]['data']};break;}case _0x3534fc['USERS_ENTER']:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x327)],'joinEvent':_0x585af7[_0x196105(0x23e)]['data']};break;}case _0x3534fc['LIVESHARE_NEW_HOST']:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x2bd)],'liveShareNewHost':_0x585af7[_0x196105(0x23e)][_0x196105(0x23e)]};break;}case _0x3534fc[_0x196105(0x31f)]:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x31f)],'liveShareOperation':_0x585af7['data'][_0x196105(0x23e)]};break;}case _0x3534fc[_0x196105(0x22e)]:{_0x15ddc8={'eventID':_0x3534fc['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x585af7[_0x196105(0x23e)][_0x196105(0x23e)]};break;}case _0x3534fc[_0x196105(0x33f)]:{_0x15ddc8={'eventID':_0x3534fc['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x585af7[_0x196105(0x23e)]['data']};break;}case _0x3534fc[_0x196105(0x329)]:{_0x15ddc8={'eventID':_0x3534fc[_0x196105(0x329)]};break;}default:_0x15ddc8={'eventID':_0x585af7[_0x196105(0x23e)][_0x196105(0x238)]};}return JSON[_0x196105(0x3a8)]({'cmd':_0x585af7['cmd'],'routeKey':_0x585af7[_0x196105(0x4da)],'collaMsg':_0x15ddc8});}case F[_0x196105(0x364)]:return JSON[_0x196105(0x3a8)]({'cmd':_0x585af7[_0x196105(0x3b4)],'routeKey':_0x585af7[_0x196105(0x4da)],'joinReq':_0x585af7['data']});case F[_0x196105(0x3f0)]:return JSON['stringify']({'cmd':_0x585af7[_0x196105(0x3b4)],'routeKey':_0x585af7[_0x196105(0x4da)],'leaveReq':_0x585af7[_0x196105(0x23e)]});default:throw new Error(_0x196105(0x39f));}}var Mn=Object[_0xfe4f58(0x458)],kn=(_0x457b36,_0x5e5d98,_0x500aae,_0xf968d7)=>{for(var _0x5d37e8=_0xf968d7>0x1?void 0x0:_0xf968d7?Mn(_0x5e5d98,_0x500aae):_0x5e5d98,_0x32111e=_0x457b36['length']-0x1,_0x4e781a;_0x32111e>=0x0;_0x32111e--)(_0x4e781a=_0x457b36[_0x32111e])&&(_0x5d37e8=_0x4e781a(_0x5d37e8)||_0x5d37e8);return _0x5d37e8;},Ae=(_0xff8004,_0x2405bb)=>(_0x40af3f,_0x3bc5d9)=>_0x2405bb(_0x40af3f,_0x3bc5d9,_0xff8004);const Ii=_0x32691d(_0xfe4f58(0x4d5));function $n(_0x3234d3,_0x575c7f,_0x18814f){var _0x37ee5d=_0xfe4f58;return _0x3234d3+'/'+_0x575c7f+'/unit/'+_0x18814f+_0x37ee5d(0x452);}let Gt=class extends _0x3413cf{constructor(_0x2ddb7c,_0x4918e2,_0x1ba144,_0x3d2c24,_0x3eb4ca){var _0x9866c2=_0xfe4f58;super(),this[_0x9866c2(0x421)]=_0x2ddb7c,this[_0x9866c2(0x44c)]=_0x4918e2,this['_configService']=_0x1ba144,this[_0x9866c2(0x2e2)]=_0x3d2c24,this['_snapshotServerService']=_0x3eb4ca;}['_doCreateSocket'](_0x56e04c){var _0x23878c=_0xfe4f58;const _0x2025e3=this[_0x23878c(0x421)][_0x23878c(0x304)](_0x23d0bb);if(!_0x2025e3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x30f2cd=_0x2025e3[_0x23878c(0x3d6)](_0x56e04c);if(!_0x30f2cd)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2704a8=new _0x247307(),_0x23c59b=new _0x5f3a07();_0x2704a8[_0x23878c(0x4dd)](_0x30f2cd[_0x23878c(0x4ca)][_0x23878c(0x48a)](_0x4b64a2=>_0x23c59b[_0x23878c(0x33e)](_0x4b64a2))),_0x2704a8['add'](_0x5d854c(()=>_0x23c59b[_0x23878c(0x318)]()));const _0x534969=new _0x5f3a07();_0x2704a8[_0x23878c(0x4dd)](_0x30f2cd['error$'][_0x23878c(0x48a)](_0x1274a3=>_0x534969[_0x23878c(0x33e)](_0x1274a3))),_0x2704a8['add'](_0x5d854c(()=>_0x534969[_0x23878c(0x318)]()));const _0x4b5042=new _0x5f3a07();_0x2704a8[_0x23878c(0x4dd)](_0x30f2cd[_0x23878c(0x3fe)][_0x23878c(0x48a)](_0x14058f=>{var _0x2c8d11=_0x23878c;const _0x348bd8=Ln(_0x14058f);_0x4b5042[_0x2c8d11(0x33e)](_0x348bd8);})),_0x2704a8[_0x23878c(0x4dd)](_0x5d854c(()=>_0x4b5042[_0x23878c(0x318)]()));let _0x5a5a58;const _0x25bca3=()=>{var _0x527d4d=_0x23878c;_0x534969[_0x527d4d(0x33e)](new Event(_0x527d4d(0x284))),_0x23c59b[_0x527d4d(0x33e)](new Event('connection\x20error')),_0x5a5a58['close']();};return _0x5a5a58={'memberID':'','close$':_0x23c59b[_0x23878c(0x3fd)](),'error$':_0x534969[_0x23878c(0x3fd)](),'open$':_0x30f2cd[_0x23878c(0x296)],'message$':_0x4b5042[_0x23878c(0x3fd)](),'send':_0x5628c6=>{var _0x37ff89=_0x23878c;if(_0x5628c6[_0x37ff89(0x3b4)]===F[_0x37ff89(0x497)]){if(_0x5628c6[_0x37ff89(0x23e)][_0x37ff89(0x238)]===_0x3534fc[_0x37ff89(0x39c)]){this[_0x37ff89(0x345)](_0x5a5a58,_0x5628c6['data'])['catch'](_0xd58a48=>{var _0x12fc8f=_0x37ff89;this[_0x12fc8f(0x2e2)]['error'](_0xd58a48),_0x25bca3();});return;}if(_0x5628c6[_0x37ff89(0x23e)]['eventID']===_0x3534fc[_0x37ff89(0x401)]){const _0xe407b0=_0x5628c6[_0x37ff89(0x23e)];this[_0x37ff89(0x2ba)](_0xe407b0)['then'](_0x56de32=>{var _0x51aabd=_0x37ff89;_0x4b5042['next']({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0xe407b0[_0x51aabd(0x23e)][_0x51aabd(0x375)],'routeType':'','data':{'eventID':_0x3534fc[_0x51aabd(0x2a6)],'data':{'changesets':_0x56de32}}});})['catch'](_0x8bed76=>{var _0xd5f4e0=_0x37ff89;this['_logService'][_0xd5f4e0(0x287)](_0x8bed76),_0x25bca3();});return;}}_0x30f2cd['send'](xn(_0x5628c6));},'close':()=>{var _0x54b8b9=_0x23878c;_0x30f2cd[_0x54b8b9(0x1f2)](),_0x2704a8[_0x54b8b9(0x264)]();}},_0x5a5a58;}async['_submitChangeset'](_0x3fe345,_0x18d21c){var _0x1e75f2=_0xfe4f58,_0x290bd5,_0xeba2c6;const {unitType:_0x219100,unitID:_0x438175,changeset:_0x49bb59}=_0x18d21c[_0x1e75f2(0x23e)],_0x48ab63={'unitID':_0x438175,'memberID':_0x3fe345[_0x1e75f2(0x468)],'type':_0x219100,'changeset':_0x176f46(_0x49bb59)},_0x33c462=this['_configService'][_0x1e75f2(0x252)](Nn),_0x18dada=this[_0x1e75f2(0x26e)][_0x1e75f2(0x252)](q),_0x5eb792=$n((_0xeba2c6=(_0x290bd5=_0x18dada==null?void 0x0:_0x18dada[_0x1e75f2(0x42a)])!=null?_0x290bd5:_0x33c462)!=null?_0xeba2c6:Dn,_0x219100,_0x438175);try{await this['_httpService'][_0x1e75f2(0x261)](_0x5eb792,{'body':_0x48ab63});}catch(_0x7a0509){throw this['_logService'][_0x1e75f2(0x287)](_0x1e75f2(0x4f5),_0x1e75f2(0x4c0)),_0x7a0509;}}async[_0xfe4f58(0x2ba)](_0x57c070){var _0x23ff96=_0xfe4f58;const {unitID:_0x2ab3c3,from:_0x409f84,to:_0x1eb00b,unitType:_0x2fc9c7}=_0x57c070[_0x23ff96(0x23e)];return(await this[_0x23ff96(0x220)][_0x23ff96(0x457)]({'metadata':void 0x0},{'unitID':_0x2ab3c3,'type':_0x2fc9c7,'from':_0x409f84,'to':_0x1eb00b}))[_0x23ff96(0x3ee)];}};Gt=kn([Ae(0x0,_0xa221c6(_0x448e61)),Ae(0x1,_0xa221c6(_0x5ef325)),Ae(0x2,_0xfaee79),Ae(0x3,_0x174c69),Ae(0x4,_0x34f4e9)],Gt);const Hn=_0xfe4f58(0x24a);function Bn(_0x382c81){var _0x28468e=_0xfe4f58;return JSON[_0x28468e(0x3a8)](_0x382c81)['length'];}class Ti{constructor(){var _0x55765d=_0xfe4f58;N(this,_0x55765d(0x3d8),new _0x5f3a07()),N(this,_0x55765d(0x3c3),this['_commentUpdate$'][_0x55765d(0x3fd)]());}['onCommentUpdate'](_0x4ad6d8){var _0x12289a=_0xfe4f58;this[_0x12289a(0x3d8)][_0x12289a(0x33e)](_0x4ad6d8);}}var jn=Object[_0xfe4f58(0x458)],Fn=(_0x1acc28,_0x4c6acd,_0x211dd1,_0x1691c0)=>{var _0x3be2a3=_0xfe4f58;for(var _0x2d8b05=_0x1691c0>0x1?void 0x0:_0x1691c0?jn(_0x4c6acd,_0x211dd1):_0x4c6acd,_0x4d5ad2=_0x1acc28[_0x3be2a3(0x4f4)]-0x1,_0x5f53d4;_0x4d5ad2>=0x0;_0x4d5ad2--)(_0x5f53d4=_0x1acc28[_0x4d5ad2])&&(_0x2d8b05=_0x5f53d4(_0x2d8b05)||_0x2d8b05);return _0x2d8b05;},Wt=(_0x5378e3,_0x51aef1)=>(_0x506308,_0x173c74)=>_0x51aef1(_0x506308,_0x173c74,_0x5378e3);let Le=class extends _0x3413cf{constructor(_0x2c80e1,_0x230723){var _0xe4b45c=_0xfe4f58;super(),N(this,_0xe4b45c(0x360),new Map()),N(this,_0xe4b45c(0x277),new _0x5f3a07()),(this[_0xe4b45c(0x365)]=_0x2c80e1,this[_0xe4b45c(0x4cf)]=_0x230723,this[_0xe4b45c(0x387)](_0x5a4a18(this[_0xe4b45c(0x365)][_0xe4b45c(0x465)](_0x3d4c93[_0xe4b45c(0x24f)])['pipe'](_0x18a5ad(_0x5b644b=>_0x5b644b[_0xe4b45c(0x20c)]())),this[_0xe4b45c(0x365)][_0xe4b45c(0x465)](_0x3d4c93[_0xe4b45c(0x3d3)])[_0xe4b45c(0x47c)](_0x18a5ad(_0x5b88c6=>_0x5b88c6['getUnitId']())),this[_0xe4b45c(0x365)]['getTypeOfUnitDisposed$'](_0x3d4c93[_0xe4b45c(0x3c7)])[_0xe4b45c(0x47c)](_0x18a5ad(_0x4e8d93=>_0x4e8d93['getUnitId']())))[_0xe4b45c(0x48a)](_0x4712d1=>this[_0xe4b45c(0x352)](_0x4712d1))));}[_0xfe4f58(0x2ab)](_0x37a1c9){var _0x1c9f2a=_0xfe4f58;return this['_roomMembers'][_0x1c9f2a(0x460)](_0x37a1c9)?_0x52822a(this['_roomMembers'][_0x1c9f2a(0x304)](_0x37a1c9)):this['_roomCreated$'][_0x1c9f2a(0x47c)](_0x18a5ad(_0x45a5cd=>{var _0x4cc6ab=_0x1c9f2a;if(_0x45a5cd===_0x37a1c9)return this[_0x4cc6ab(0x360)][_0x4cc6ab(0x304)](_0x45a5cd);}));}[_0xfe4f58(0x492)](_0x490fd6){var _0xa116d6=_0xfe4f58;this[_0xa116d6(0x4cf)][_0xa116d6(0x492)](_0x490fd6);}[_0xfe4f58(0x490)](){var _0x4a6eda=_0xfe4f58;return this[_0x4a6eda(0x4cf)][_0x4a6eda(0x490)]();}[_0xfe4f58(0x1fa)](_0x572da8,_0x4f5a67){var _0x48e58a=_0xfe4f58;let _0x26f2f6=this[_0x48e58a(0x360)][_0x48e58a(0x304)](_0x572da8);_0x26f2f6||(_0x26f2f6=new Vn(),this[_0x48e58a(0x360)][_0x48e58a(0x41d)](_0x572da8,_0x26f2f6),this['_roomCreated$'][_0x48e58a(0x33e)](_0x572da8)),_0x26f2f6[_0x48e58a(0x1fa)](_0x4f5a67);}[_0xfe4f58(0x4d8)](_0x1d29e3,_0x6e895){var _0x1e4075=_0xfe4f58;const _0x11dc2f=this[_0x1e4075(0x360)][_0x1e4075(0x304)](_0x1d29e3);_0x11dc2f&&_0x11dc2f[_0x1e4075(0x4d8)](_0x6e895);}['getRoom'](_0x1c4a59){var _0x105937=_0xfe4f58;return this[_0x105937(0x360)][_0x105937(0x304)](_0x1c4a59);}['getMember'](_0x18b580,_0x2c3792){var _0x5500d7=_0xfe4f58;const _0x3c9b72=this[_0x5500d7(0x360)]['get'](_0x18b580);if(_0x3c9b72)return _0x3c9b72[_0x5500d7(0x301)](_0x2c3792);}[_0xfe4f58(0x352)](_0x1b7a08){var _0x1c6a2e=_0xfe4f58;const _0x3990f2=this['_roomMembers']['get'](_0x1b7a08);_0x3990f2&&(_0x3990f2[_0x1c6a2e(0x264)](),this[_0x1c6a2e(0x360)][_0x1c6a2e(0x38d)](_0x1b7a08));}[_0xfe4f58(0x264)](){var _0x59d29e=_0xfe4f58;this[_0x59d29e(0x360)]['forEach'](_0x49bf48=>_0x49bf48['dispose']()),this[_0x59d29e(0x360)][_0x59d29e(0x208)](),this['_roomCreated$'][_0x59d29e(0x318)]();}};Le=Fn([Wt(0x0,_0x509a63),Wt(0x1,_0xa221c6(_0xb819c))],Le);class Vn extends _0x3413cf{constructor(){var _0xc930df=_0xfe4f58;super(...arguments),N(this,_0xc930df(0x456),new Map()),N(this,_0xc930df(0x498),new _0xca4a9f(this[_0xc930df(0x456)])),N(this,_0xc930df(0x42b),this[_0xc930df(0x498)][_0xc930df(0x3fd)]());}[_0xfe4f58(0x264)](){var _0x4f5d15=_0xfe4f58;this['_members'][_0x4f5d15(0x208)]();}[_0xfe4f58(0x1fa)](_0x505d0c){var _0x24076f=_0xfe4f58;this[_0x24076f(0x456)]['set'](_0x505d0c[_0x24076f(0x468)],_0x505d0c),this[_0x24076f(0x299)]();}[_0xfe4f58(0x4d8)](_0x103107){var _0x47bf95=_0xfe4f58;this['_members'][_0x47bf95(0x38d)](_0x103107);}['getMember'](_0x30a376){var _0x42fb32=_0xfe4f58;return this['_members'][_0x42fb32(0x304)](_0x30a376);}[_0xfe4f58(0x412)](){var _0x178f20=_0xfe4f58;return Array[_0x178f20(0x273)](this[_0x178f20(0x456)]['values']());}['_emitMembers'](){this['_members$']['next'](this['_members']);}}var Gn=Object[_0xfe4f58(0x458)],Wn=(_0x14d9b9,_0xaf5a5a,_0x2de64f,_0x15a1e2)=>{for(var _0x5e5f40=_0x15a1e2>0x1?void 0x0:_0x15a1e2?Gn(_0xaf5a5a,_0x2de64f):_0xaf5a5a,_0xddbeb2=_0x14d9b9['length']-0x1,_0x4df962;_0xddbeb2>=0x0;_0xddbeb2--)(_0x4df962=_0x14d9b9[_0xddbeb2])&&(_0x5e5f40=_0x4df962(_0x5e5f40)||_0x5e5f40);return _0x5e5f40;},me=(_0x1ad1c1,_0x5c7a3f)=>(_0x3dcd5c,_0x133c5b)=>_0x5c7a3f(_0x3dcd5c,_0x133c5b,_0x1ad1c1),Ee=(_0x562f67=>(_0x562f67[_0x562f67['IDLE']=0x0]=_0xfe4f58(0x488),_0x562f67[_0x562f67[_0xfe4f58(0x4aa)]=0x1]=_0xfe4f58(0x4aa),_0x562f67[_0x562f67[_0xfe4f58(0x2df)]=0x2]='OFFLINE',_0x562f67[_0x562f67[_0xfe4f58(0x367)]=0x3]='ONLINE',_0x562f67))(Ee||{});const Kt={[ge[_0xfe4f58(0x3df)]]:'session.join-failed',[ge[_0xfe4f58(0x34d)]]:_0xfe4f58(0x4e6),[ge[_0xfe4f58(0x49b)]]:_0xfe4f58(0x385),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0xfe4f58(0x36a),[ge[_0xfe4f58(0x25a)]]:_0xfe4f58(0x2a4)};let Et=class extends _0x560f21{constructor(_0x5b0995,_0x17b175,_0x194bf9,_0x1fe942,_0x24d3cb,_0x35e52e,_0xf9ed09,_0x590f46,_0x48a8be){var _0x17da2b=_0xfe4f58;super(),N(this,_0x17da2b(0x320),new _0xca4a9f(0x0)),N(this,_0x17da2b(0x495),this[_0x17da2b(0x320)]['asObservable']()),N(this,_0x17da2b(0x396),new _0x5f3a07()),N(this,_0x17da2b(0x392),this[_0x17da2b(0x396)][_0x17da2b(0x3fd)]()),N(this,_0x17da2b(0x332)),N(this,_0x17da2b(0x2c7)),N(this,_0x17da2b(0x446)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x17da2b(0x3f8),null),(this[_0x17da2b(0x27f)]=_0x5b0995,this[_0x17da2b(0x2e2)]=_0x194bf9,this[_0x17da2b(0x26e)]=_0x1fe942,this[_0x17da2b(0x290)]=_0x24d3cb,this['_memberService']=_0x35e52e,this[_0x17da2b(0x472)]=_0xf9ed09,this[_0x17da2b(0x212)]=_0x590f46,this['_telemetryService']=_0x48a8be,this[_0x17da2b(0x330)]=!!this['_telemetryService'],_0x17b175[_0x17da2b(0x47c)](_0x180b89(this[_0x17da2b(0x358)]))[_0x17da2b(0x48a)](_0x1ba80c=>{var _0x25244e=_0x17da2b,_0x7b9076;typeof _0x1ba80c>'u'||(this[_0x25244e(0x332)]=_0x1ba80c,_0x1ba80c?(this[_0x25244e(0x278)](_0x1ba80c),this['_socketMessageSubscription']=_0x1ba80c[_0x25244e(0x3fe)]['subscribe'](_0x4e7ac9=>{var _0x2702dc=_0x25244e;_0x4e7ac9[_0x2702dc(0x4da)]===this[_0x2702dc(0x27f)]&&this[_0x2702dc(0x4bc)](_0x4e7ac9);})):(this[_0x25244e(0x4cb)](),this[_0x25244e(0x320)]['next'](0x2),(_0x7b9076=this[_0x25244e(0x2c7)])==null||_0x7b9076[_0x25244e(0x317)](),this['_socketMessageSubscription']=null));}));}get[_0xfe4f58(0x37e)](){var _0x2c6a24=_0xfe4f58;return this[_0x2c6a24(0x320)][_0x2c6a24(0x3c6)]();}[_0xfe4f58(0x242)](){var _0x3c845f=_0xfe4f58,_0x14478d,_0x31746e;return(_0x31746e=(_0x14478d=this['_socket'])==null?void 0x0:_0x14478d[_0x3c845f(0x468)])!=null?_0x31746e:null;}[_0xfe4f58(0x264)](){var _0x184b39=_0xfe4f58;super[_0x184b39(0x264)](),this[_0x184b39(0x358)]['next'](),this[_0x184b39(0x358)][_0x184b39(0x318)]();}[_0xfe4f58(0x1f2)](){var _0x1161c4=_0xfe4f58,_0x21109d,_0x2d8b86;this['_throwTelemetryCollaborationNewChangeset'](),(_0x21109d=this[_0x1161c4(0x332)])==null||_0x21109d[_0x1161c4(0x3a4)]({'cmd':F[_0x1161c4(0x3f0)],'data':{'roomID':this[_0x1161c4(0x27f)]}}),(_0x2d8b86=this['_socket'])==null||_0x2d8b86[_0x1161c4(0x1f2)](),this['_event$'][_0x1161c4(0x318)](),this['_sessionStatus$'][_0x1161c4(0x318)](),this[_0x1161c4(0x264)]();}[_0xfe4f58(0x4bc)](_0x38a222){var _0x5cdeb0=_0xfe4f58;_0x38a222[_0x5cdeb0(0x3b4)]===F['JOIN']?this[_0x5cdeb0(0x3c5)](_0x38a222):_0x38a222[_0x5cdeb0(0x3b4)]===F[_0x5cdeb0(0x3f9)]&&this[_0x5cdeb0(0x218)](_0x38a222);}[_0xfe4f58(0x278)](_0x37f996){var _0x15efa5=_0xfe4f58;this[_0x15efa5(0x320)][_0x15efa5(0x33e)](0x1),_0x37f996['send']({'cmd':F['JOIN'],'routeKey':this[_0x15efa5(0x27f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x15efa5(0x27f)]}]}});}[_0xfe4f58(0x3c5)](_0x309d6a){var _0x5f5cec=_0xfe4f58,_0x272a12;if(_0x309d6a[_0x5f5cec(0x376)]in Kt){this[_0x5f5cec(0x212)]['emitEvent']({'id':re[_0x5f5cec(0x324)],'data':Kt[_0x309d6a[_0x5f5cec(0x376)]]}),this[_0x5f5cec(0x320)]['next'](0x2);return;}this['_sessionStatus$'][_0x5f5cec(0x33e)](0x3);const _0x59c6e9=(_0x272a12=_0x309d6a['data']['roomInfos'][this[_0x5f5cec(0x27f)]])==null?void 0x0:_0x272a12[_0x5f5cec(0x32f)];_0x59c6e9&&_0x59c6e9[_0x5f5cec(0x312)](_0x38490b=>this['_memberService'][_0x5f5cec(0x1fa)](this[_0x5f5cec(0x27f)],_0x38490b));}[_0xfe4f58(0x218)](_0x1edc01){var _0x346cc8=_0xfe4f58;try{const _0x15c3ee=_0x1edc01[_0x346cc8(0x23e)];switch(_0x15c3ee[_0x346cc8(0x238)]){case _0x3534fc[_0x346cc8(0x327)]:this[_0x346cc8(0x349)](_0x15c3ee),this[_0x346cc8(0x396)][_0x346cc8(0x33e)](_0x15c3ee);break;case _0x3534fc[_0x346cc8(0x2eb)]:this[_0x346cc8(0x3e2)](_0x15c3ee),this[_0x346cc8(0x396)][_0x346cc8(0x33e)](_0x15c3ee);break;case _0x3534fc[_0x346cc8(0x2ff)]:case _0x3534fc['CHANGESET_SHOULD_RETRY']:this[_0x346cc8(0x307)](),this['_clearCollaborationTimeoutTimer'](),this[_0x346cc8(0x396)][_0x346cc8(0x33e)](_0x15c3ee);break;case _0x3534fc[_0x346cc8(0x1fd)]:this[_0x346cc8(0x2e2)][_0x346cc8(0x287)](_0x346cc8(0x4b9)+JSON[_0x346cc8(0x3a8)](_0x15c3ee)),this['_event$']['next'](_0x15c3ee);break;case _0x3534fc['COMMENT_UPDATE']:this['_commentService'][_0x346cc8(0x20b)](_0x15c3ee[_0x346cc8(0x23e)]),this['_event$'][_0x346cc8(0x33e)](_0x15c3ee);break;default:this['_event$'][_0x346cc8(0x33e)](_0x15c3ee);}}catch(_0x4e42f7){this[_0x346cc8(0x2e2)]['error'](_0x4e42f7,_0x1edc01);}}['_onUserJoin'](_0x10e531){var _0x25c9bf=_0xfe4f58;this['_memberService'][_0x25c9bf(0x1fa)](this[_0x25c9bf(0x27f)],_0x10e531[_0x25c9bf(0x23e)]);}[_0xfe4f58(0x3e2)](_0x431cb5){var _0x3d0725=_0xfe4f58;this[_0x3d0725(0x38e)]['removeMember'](this['_unitID'],_0x431cb5[_0x3d0725(0x23e)][_0x3d0725(0x468)]);}async['send'](_0x10c3be,_0x33ded4){var _0x4b7aa9=_0xfe4f58;if(this[_0x4b7aa9(0x37e)]!==0x3||!this[_0x4b7aa9(0x332)])throw new Error(_0x4b7aa9(0x3b6));try{_0x10c3be[_0x4b7aa9(0x238)]===_0x3534fc[_0x4b7aa9(0x39c)]&&(this[_0x4b7aa9(0x45d)](),this['_startTelemetryCollaborationNewChangeset'](_0x10c3be)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x33ded4,'routeType':'','data':_0x10c3be});}catch(_0x4fdb90){this[_0x4b7aa9(0x2e2)][_0x4b7aa9(0x287)](_0x4fdb90);}}[_0xfe4f58(0x45d)](){var _0x51ecb5=_0xfe4f58,_0x3e6361;this[_0x51ecb5(0x446)]=setTimeout(()=>{var _0x1a792=_0x51ecb5;this['_collaborationTimeoutTimer']=null,this[_0x1a792(0x212)][_0x1a792(0x4bb)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3e6361=this['_configService'][_0x51ecb5(0x252)](mi))!=null?_0x3e6361:gi);}['_clearCollaborationTimeoutTimer'](){var _0x24a7f0=_0xfe4f58;this[_0x24a7f0(0x446)]&&(clearTimeout(this[_0x24a7f0(0x446)]),this[_0x24a7f0(0x446)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x42c342){var _0x1562d2=_0xfe4f58;if(!this[_0x1562d2(0x330)])return;const {data:_0x47e80f}=_0x42c342,{unitID:_0x1c4afd,changeset:_0xf528d2}=_0x47e80f,{mutations:_0x5d4738,type:_0x34c2c0}=_0xf528d2;this['_telemetryInfo']={'unitId':_0x1c4afd,'type':_0x34c2c0,'startTime':performance[_0x1562d2(0x2b3)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5d4738)};}[_0xfe4f58(0x307)](){var _0x2c14bb=_0xfe4f58;if(this[_0x2c14bb(0x330)]){if(!this['_telemetryInfo']){this[_0x2c14bb(0x2e2)][_0x2c14bb(0x287)](_0x2c14bb(0x4f5),_0x2c14bb(0x35c));return;}this[_0x2c14bb(0x3f8)]['stopTime']=performance[_0x2c14bb(0x2b3)](),this[_0x2c14bb(0x3f8)]['duration']=this['_telemetryInfo'][_0x2c14bb(0x1ef)]-this[_0x2c14bb(0x3f8)]['startTime'],this[_0x2c14bb(0x2dc)][_0x2c14bb(0x23c)](Hn,this[_0x2c14bb(0x3f8)]),this[_0x2c14bb(0x3f8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x362647=_0xfe4f58;this[_0x362647(0x3f8)]=null;}};Et=Wn([me(0x2,_0x174c69),me(0x3,_0xfaee79),me(0x4,_0xa221c6(_0x1a6e12)),me(0x5,_0xa221c6(Le)),me(0x6,_0xa221c6(Ti)),me(0x7,_0xa221c6(pe)),me(0x8,_0x26efdf(_0x125a3e))],Et);var Kn=Object[_0xfe4f58(0x458)],Yn=(_0x495a91,_0x53add9,_0x804f41,_0x575c92)=>{var _0xf29271=_0xfe4f58;for(var _0x3dbcfc=_0x575c92>0x1?void 0x0:_0x575c92?Kn(_0x53add9,_0x804f41):_0x53add9,_0x23f41a=_0x495a91[_0xf29271(0x4f4)]-0x1,_0x575ef0;_0x23f41a>=0x0;_0x23f41a--)(_0x575ef0=_0x495a91[_0x23f41a])&&(_0x3dbcfc=_0x575ef0(_0x3dbcfc)||_0x3dbcfc);return _0x3dbcfc;},be=(_0x449ef8,_0x4a45b6)=>(_0x59decb,_0x1e952c)=>_0x4a45b6(_0x59decb,_0x1e952c,_0x449ef8);let xe=class extends _0x3413cf{constructor(_0x48343e,_0x47faed,_0xa31592,_0x1fe470,_0x3e8b2f,_0x3d81b9){var _0x461ae5=_0xfe4f58;super(),N(this,_0x461ae5(0x4c5),new _0xca4a9f(void 0x0)),N(this,_0x461ae5(0x371),this[_0x461ae5(0x4c5)][_0x461ae5(0x3fd)]()),N(this,_0x461ae5(0x40a),null),N(this,_0x461ae5(0x4c3),new Map()),N(this,_0x461ae5(0x3ad),new _0xca4a9f(Ee[_0x461ae5(0x488)])),N(this,_0x461ae5(0x2ce),this[_0x461ae5(0x3ad)][_0x461ae5(0x3fd)]()),N(this,_0x461ae5(0x30e),!0x1),N(this,_0x461ae5(0x4db)),N(this,_0x461ae5(0x400),0x0),N(this,_0x461ae5(0x27c)),N(this,_0x461ae5(0x32b)),(this[_0x461ae5(0x421)]=_0x48343e,this[_0x461ae5(0x2e2)]=_0x47faed,this['_configService']=_0xa31592,this['_socketService']=_0x1fe470,this[_0x461ae5(0x212)]=_0x3e8b2f,this[_0x461ae5(0x2ef)]=_0x3d81b9,this[_0x461ae5(0x37d)]());}get[_0xfe4f58(0x332)](){var _0x2eefcf=_0xfe4f58;return this['_socket$'][_0x2eefcf(0x3c6)]();}[_0xfe4f58(0x37d)](){var _0x296639=_0xfe4f58;this[_0x296639(0x2ef)]&&this[_0x296639(0x387)](this[_0x296639(0x2ef)]['online$'][_0x296639(0x48a)](_0x167183=>{var _0x7425e6=_0x296639;_0x167183&&!this[_0x7425e6(0x332)]&&this[_0x7425e6(0x2cb)](),_0x167183||this[_0x7425e6(0x4c1)]();}));}[_0xfe4f58(0x264)](){var _0x11b1a0=_0xfe4f58;super[_0x11b1a0(0x264)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x11b1a0(0x343)](),this[_0x11b1a0(0x4c3)][_0x11b1a0(0x312)](_0x47afad=>_0x47afad['dispose']()),this['_sessions'][_0x11b1a0(0x208)](),this[_0x11b1a0(0x3ad)][_0x11b1a0(0x318)]();}async[_0xfe4f58(0x35a)](_0x46d94b){var _0x198ddb=_0xfe4f58;if(this[_0x198ddb(0x4c3)][_0x198ddb(0x460)](_0x46d94b))return this[_0x198ddb(0x4c3)][_0x198ddb(0x304)](_0x46d94b);this[_0x198ddb(0x3fc)]();const _0x6c006e=this['_injector'][_0x198ddb(0x2f7)](Et,_0x46d94b,this[_0x198ddb(0x4c5)]['asObservable']());return this[_0x198ddb(0x4c3)][_0x198ddb(0x41d)](_0x46d94b,_0x6c006e),_0x6c006e;}['closeSession'](_0x5bd9f2){var _0x242bad=_0xfe4f58,_0x4f18db;const _0x1f5798=this['_sessions'][_0x242bad(0x304)](_0x5bd9f2);_0x1f5798&&(this[_0x242bad(0x4c3)][_0x242bad(0x38d)](_0x5bd9f2),_0x1f5798[_0x242bad(0x1f2)]()),this[_0x242bad(0x4c3)][_0x242bad(0x21a)]||(_0x4f18db=this['_socket'])==null||_0x4f18db[_0x242bad(0x1f2)]();}[_0xfe4f58(0x2cb)](){var _0x3e8f26=_0xfe4f58;this[_0x3e8f26(0x400)]=0x0,this[_0x3e8f26(0x305)](),this['_tryReconnect']();}[_0xfe4f58(0x305)](){var _0x57c666=_0xfe4f58;this[_0x57c666(0x4db)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0xfe4f58(0x239)](){var _0x140031=_0xfe4f58,_0x18680f,_0x5562c7;const _0x3899c0=this[_0x140031(0x26e)][_0x140031(0x252)](In),_0xe51ba5=this[_0x140031(0x26e)]['getConfig'](q),_0x4b9b03=(_0x5562c7=(_0x18680f=_0xe51ba5==null?void 0x0:_0xe51ba5[_0x140031(0x351)])!=null?_0x18680f:_0x3899c0)!=null?_0x5562c7:Tn,_0x330b78=await this[_0x140031(0x319)][_0x140031(0x3d6)](_0x4b9b03);return this['_candidateSocket']=_0x330b78,_0x330b78;}async[_0xfe4f58(0x3fc)](){var _0x5ddaab=_0xfe4f58,_0xf60895,_0x743231;try{const _0x3fb852=(_0x743231=(_0xf60895=this[_0x5ddaab(0x332)])!=null?_0xf60895:this[_0x5ddaab(0x40a)])!=null?_0x743231:await this[_0x5ddaab(0x239)]();if(_0x3fb852){const _0x445db5=_0x3fb852[_0x5ddaab(0x3a4)];_0x3fb852[_0x5ddaab(0x3a4)]=_0x5c2971=>(this[_0x5ddaab(0x342)](),_0x445db5[_0x5ddaab(0x4f2)](_0x3fb852,[_0x5c2971])),_0x3fb852['message$']['subscribe'](_0x268da6=>this[_0x5ddaab(0x4d6)](_0x3fb852,_0x268da6)),_0x3fb852['error$']['pipe'](_0x4e0d2a(0x1))[_0x5ddaab(0x48a)](_0x1e7a65=>this[_0x5ddaab(0x2e2)][_0x5ddaab(0x287)](_0x5ddaab(0x282),_0x1e7a65)),_0x3fb852[_0x5ddaab(0x296)][_0x5ddaab(0x47c)](_0x4e0d2a(0x1))[_0x5ddaab(0x48a)](()=>{var _0x5a1a2f=_0x5ddaab;this[_0x5a1a2f(0x266)](_0x3fb852);}),_0x3fb852['close$']['pipe'](_0x4e0d2a(0x1))[_0x5ddaab(0x48a)](_0x398aa1=>{var _0x1185f1=_0x5ddaab;this[_0x1185f1(0x2e2)][_0x1185f1(0x2ec)](_0x1185f1(0x418),_0x1185f1(0x2cd),_0x398aa1),this[_0x1185f1(0x368)]();});}}catch(_0x462b22){this[_0x5ddaab(0x2e2)][_0x5ddaab(0x287)](_0x462b22),this[_0x5ddaab(0x368)]();}}[_0xfe4f58(0x266)](_0x31025e){var _0x4a5d9d=_0xfe4f58;this[_0x4a5d9d(0x2e2)][_0x4a5d9d(0x2ec)](_0x4a5d9d(0x418),'socket\x20open.'),_0x31025e[_0x4a5d9d(0x3a4)]({'cmd':F[_0x4a5d9d(0x430)]}),this[_0x4a5d9d(0x342)]();}['_onOffline'](){var _0x58edec=_0xfe4f58;this[_0x58edec(0x30e)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](Ee[_0x58edec(0x2df)]),this[_0x58edec(0x4c5)]['next'](null),this[_0x58edec(0x4a8)](),this['_clearHeartbeatTimer']();}[_0xfe4f58(0x368)](){var _0x2da04f=_0xfe4f58,_0x17a65b;this['_onOffline'](),this['_retryCount']<((_0x17a65b=this[_0x2da04f(0x26e)][_0x2da04f(0x252)](yn))!=null?_0x17a65b:On)?(this[_0x2da04f(0x212)]['emitEvent']({'id':re[_0x2da04f(0x25c)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x2da04f(0x4bb)]({'id':re[_0x2da04f(0x2d8)]});}['_tryReconnect'](){var _0x3dd672=_0xfe4f58,_0x47c824;const _0x2a1458=this[_0x3dd672(0x400)],_0x44cea5=this[_0x3dd672(0x26e)][_0x3dd672(0x252)](q),_0x3f2a55=_0x2a1458===0x0?0x0:((_0x47c824=_0x44cea5==null?void 0x0:_0x44cea5['retryConnectingInterval'])!=null?_0x47c824:bn)*0x2**_0x2a1458;this[_0x3dd672(0x4db)]=setTimeout(()=>{var _0xb4e742=_0x3dd672;clearTimeout(this[_0xb4e742(0x4db)]),this[_0xb4e742(0x4db)]=null,this[_0xb4e742(0x3fc)]();},_0x3f2a55),this['_retryCount']+=0x1;}[_0xfe4f58(0x4d6)](_0x4a47a1,_0x490d92){var _0x44fd7f=_0xfe4f58;const {cmd:_0x55fb82}=_0x490d92;_0x55fb82===F[_0x44fd7f(0x430)]&&!this[_0x44fd7f(0x30e)]&&(_0x4a47a1['memberID']=_0x490d92['data'][_0x44fd7f(0x468)],this['_socket$'][_0x44fd7f(0x33e)](_0x4a47a1),this[_0x44fd7f(0x3ad)][_0x44fd7f(0x33e)](Ee[_0x44fd7f(0x367)]),this[_0x44fd7f(0x30e)]=!0x0,this[_0x44fd7f(0x40a)]=null),_0x55fb82===F[_0x44fd7f(0x3b7)]&&this[_0x44fd7f(0x4a8)](),this[_0x44fd7f(0x342)]();}['_rescheduleHeartbeat'](){var _0x9fe666=_0xfe4f58,_0x6f5d8;this[_0x9fe666(0x343)](),this[_0x9fe666(0x27c)]=setTimeout(()=>this[_0x9fe666(0x451)](),(_0x6f5d8=this[_0x9fe666(0x26e)][_0x9fe666(0x252)](Cn))!=null?_0x6f5d8:Rn);}[_0xfe4f58(0x451)](){var _0x467664=_0xfe4f58;this['_socket']['send']({'cmd':F[_0x467664(0x3b7)]}),this[_0x467664(0x43c)]();}['_waitForHeartbeatResponse'](){var _0x33cbe0=_0xfe4f58,_0x9e5623;this[_0x33cbe0(0x32b)]=setTimeout(()=>this[_0x33cbe0(0x368)](),(_0x9e5623=this[_0x33cbe0(0x26e)][_0x33cbe0(0x252)](mi))!=null?_0x9e5623:gi);}['_clearHeartbeatTimer'](){var _0x3397ae=_0xfe4f58;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3397ae(0x27c)]),this[_0x3397ae(0x27c)]=null);}[_0xfe4f58(0x4a8)](){var _0x2c9042=_0xfe4f58;this[_0x2c9042(0x32b)]!=null&&(clearTimeout(this[_0x2c9042(0x32b)]),this[_0x2c9042(0x32b)]=null);}};xe=Yn([be(0x0,_0xa221c6(_0x448e61)),be(0x1,_0x174c69),be(0x2,_0xfaee79),be(0x3,Ii),be(0x4,_0xa221c6(pe)),be(0x5,_0x26efdf(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0xfe4f58(0x2b6)]((t+0x100)[_0xfe4f58(0x2d2)](0x10)[_0xfe4f58(0x4bd)](0x1));function qn(_0x48b5e2,_0x1834d9=0x0){var _0x22d228=_0xfe4f58;return(V[_0x48b5e2[_0x1834d9+0x0]]+V[_0x48b5e2[_0x1834d9+0x1]]+V[_0x48b5e2[_0x1834d9+0x2]]+V[_0x48b5e2[_0x1834d9+0x3]]+'-'+V[_0x48b5e2[_0x1834d9+0x4]]+V[_0x48b5e2[_0x1834d9+0x5]]+'-'+V[_0x48b5e2[_0x1834d9+0x6]]+V[_0x48b5e2[_0x1834d9+0x7]]+'-'+V[_0x48b5e2[_0x1834d9+0x8]]+V[_0x48b5e2[_0x1834d9+0x9]]+'-'+V[_0x48b5e2[_0x1834d9+0xa]]+V[_0x48b5e2[_0x1834d9+0xb]]+V[_0x48b5e2[_0x1834d9+0xc]]+V[_0x48b5e2[_0x1834d9+0xd]]+V[_0x48b5e2[_0x1834d9+0xe]]+V[_0x48b5e2[_0x1834d9+0xf]])[_0x22d228(0x29c)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4b72d1=_0xfe4f58;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4b72d1(0x4e5)][_0x4b72d1(0x29d)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x33230e,_0x398305,_0x23ad08){var _0x26e62d=_0xfe4f58,_0x24e147,_0x2388a7,_0x2b077d;if(Yt[_0x26e62d(0x303)]&&!_0x33230e)return Yt[_0x26e62d(0x303)]();_0x33230e=_0x33230e||{};const _0x139988=(_0x2b077d=(_0x2388a7=_0x33230e[_0x26e62d(0x275)])!=null?_0x2388a7:(_0x24e147=_0x33230e[_0x26e62d(0x235)])==null?void 0x0:_0x24e147['call'](_0x33230e))!=null?_0x2b077d:Jn();if(_0x139988[_0x26e62d(0x4f4)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x139988[0x6]=_0x139988[0x6]&0xf|0x40,_0x139988[0x8]=_0x139988[0x8]&0x3f|0x80,qn(_0x139988);}const J=_0x32691d(_0xfe4f58(0x2f9));function Br(_0x3182c2){var _0x29af80=_0xfe4f58;return _0x29af80(0x211)+_0x3182c2;}var Qn=Object[_0xfe4f58(0x458)],es=(_0x3dd5f3,_0x5134f2,_0x1e75a0,_0x407fc0)=>{for(var _0x142bef=_0x407fc0>0x1?void 0x0:_0x407fc0?Qn(_0x5134f2,_0x1e75a0):_0x5134f2,_0x1ff58c=_0x3dd5f3['length']-0x1,_0x32f206;_0x1ff58c>=0x0;_0x1ff58c--)(_0x32f206=_0x3dd5f3[_0x1ff58c])&&(_0x142bef=_0x32f206(_0x142bef)||_0x142bef);return _0x142bef;},dt=(_0x104eb0,_0x776d13)=>(_0x3216ac,_0x586f7d)=>_0x776d13(_0x3216ac,_0x586f7d,_0x104eb0);function ts(_0x3278af){var _0x5b33c7=_0xfe4f58;const {unitID:_0x389e5e,mutations:_0x5615ef}=_0x3278af;return{'unitId':_0x389e5e,'subUnitId':_0x5615ef[0x0][_0x5b33c7(0x2a3)][_0x5b33c7(0x42e)]};}let it=class{constructor(_0x2ee322,_0x335fe0,_0x39ab51){var _0x410b54=_0xfe4f58;this[_0x410b54(0x421)]=_0x2ee322,this[_0x410b54(0x2c3)]=_0x335fe0,this['_instanceService']=_0x39ab51;}[_0xfe4f58(0x338)](_0x2b2758){var _0x2dbd72=_0xfe4f58,_0x132559,_0x2c3075,_0x5b2df2,_0x179389;const _0x432da4=this[_0x2dbd72(0x421)]['get'](_0x27d67a),{unitId:_0x37f317,subUnitId:_0xb340be}=ts(_0x2b2758),_0x11e198=_0x432da4==null?void 0x0:_0x432da4[_0x2dbd72(0x411)](_0x37f317)[_0x2dbd72(0x2a9)](),_0x52bc51=(_0x2c3075=(_0x132559=this['_instanceService'][_0x2dbd72(0x258)](_0x37f317))==null?void 0x0:_0x132559[_0x2dbd72(0x4ce)]())==null?void 0x0:_0x2c3075['getSheetId']();if(_0x11e198[_0x2dbd72(0x4f4)]===0x0||!_0x37f317||!_0xb340be)return;const _0x178534=[{'id':_0x34ac41['id'],'params':{'unitId':_0x37f317,'subUnitId':_0x52bc51,'selections':_0x3ff519[_0x2dbd72(0x348)](_0x11e198)}}],_0x49d08b=this[_0x2dbd72(0x2c3)][_0x2dbd72(0x37a)](_0x2b2758,_0x178534);if(!_0x2ae41e(_0x49d08b))throw _0x49d08b['error'];const _0xd8f9a=(_0x179389=(_0x5b2df2=_0x49d08b['m2Prime'][0x0])==null?void 0x0:_0x5b2df2[_0x2dbd72(0x2a3)])==null?void 0x0:_0x179389[_0x2dbd72(0x36e)];if(Array['isArray'](_0xd8f9a)&&_0xd8f9a[_0x2dbd72(0x4f4)]){if(_0xd8f9a['length']===_0x178534[0x0][_0x2dbd72(0x2a3)][_0x2dbd72(0x36e)]['length']&&_0xd8f9a['every']((_0xe4e39f,_0x4a71cf)=>_0x15235a[_0x2dbd72(0x2ea)](_0xe4e39f[_0x2dbd72(0x4d2)],_0x178534[0x0][_0x2dbd72(0x2a3)][_0x2dbd72(0x36e)][_0x4a71cf][_0x2dbd72(0x4d2)])))return;this['_injector'][_0x2dbd72(0x304)](_0x2c8d8e)['executeCommand'](_0x34ac41['id'],{'unitId':_0x37f317,'subUnitId':_0x52bc51,'selections':_0xd8f9a});}}};it=es([dt(0x0,_0xa221c6(_0x448e61)),dt(0x1,_0x7dec29),dt(0x2,_0x509a63)],it);const ht=_0x32691d(_0xfe4f58(0x4fb));var Ci=(_0x2d3532=>(_0x2d3532[_0x2d3532[_0xfe4f58(0x36c)]=0x0]=_0xfe4f58(0x36c),_0x2d3532[_0x2d3532[_0xfe4f58(0x3d4)]=0x1]=_0xfe4f58(0x3d4),_0x2d3532))(Ci||{});const is=new Set([_0x260992['id']]);function qt(_0x3d3d85,_0x2b36f5,_0x3d9304,_0x13e109,_0x520ecb){var _0x19e707=_0xfe4f58,_0x18ebc9,_0x36c282,_0x32c599,_0x1c24cc;const _0x45cde4=[];for(const _0x887d9b of _0x3d3d85)if(is['has'](_0x887d9b['id'])){if(_0x45cde4[_0x19e707(0x4f4)]>0x0)break;_0x45cde4['push'](_0x887d9b);break;}else _0x45cde4[_0x19e707(0x2b6)](_0x887d9b);const _0x492d0a=(_0x36c282=(_0x18ebc9=_0x520ecb['getCurrentUser']())==null?void 0x0:_0x18ebc9[_0x19e707(0x37f)])!=null?_0x36c282:_0x19e707(0x2c4),_0x2cbcdb=(_0x1c24cc=(_0x32c599=_0x520ecb[_0x19e707(0x490)]())==null?void 0x0:_0x32c599[_0x19e707(0x468)])!=null?_0x1c24cc:_0x19e707(0x2c4);return{'changeset':{'unitID':_0x2b36f5,'type':_0x2766c1(_0x3d9304[_0x19e707(0x4ac)](_0x2b36f5)),'baseRev':_0x13e109['getCurrentRevOfUnit'](_0x2b36f5),'revision':0x0,'userID':_0x492d0a,'memberID':_0x2cbcdb,'mutations':_0x45cde4},'pendingMutations':_0x3d3d85[_0x19e707(0x4bd)](_0x45cde4[_0x19e707(0x4f4)])};}function ns(_0x4957af,_0x5cce6e,_0x2905d5,_0x1d2d1c,_0x478452){var _0x4d16d4=_0xfe4f58,_0x287b6b,_0x3a5025,_0x12c143,_0x44cb81;const _0x3dae0e=[_0x4957af['reduce']((_0x257e01,_0x5eb47e)=>{var _0x18ed7c=_0x1071,_0x5b35c5;const {id:_0xac0b42}=_0x257e01,{id:_0x2e4ab2,type:_0x3866dd}=_0x5eb47e,_0xf9bcd1=(_0x5b35c5=_0x257e01[_0x18ed7c(0x2a3)])!=null?_0x5b35c5:{'actions':null},_0x34ee24=_0x5eb47e['params'];if(_0xac0b42&&_0xac0b42!==_0x2e4ab2)throw new Error(_0x18ed7c(0x2dd)+_0xac0b42+_0x18ed7c(0x4cd)+_0x2e4ab2+'.');return{..._0x257e01,'id':_0x2e4ab2,'type':_0x3866dd,'params':{'unitId':_0x34ee24[_0x18ed7c(0x3b0)],'textRanges':_0x34ee24[_0x18ed7c(0x30c)],'actions':_0x4bac68[_0x18ed7c(0x402)](_0xf9bcd1[_0x18ed7c(0x2da)],_0x34ee24[_0x18ed7c(0x2da)])}};},{})],_0x5defc6=(_0x3a5025=(_0x287b6b=_0x478452[_0x4d16d4(0x490)]())==null?void 0x0:_0x287b6b['userID'])!=null?_0x3a5025:'unknown',_0x1836f0=(_0x44cb81=(_0x12c143=_0x478452[_0x4d16d4(0x490)]())==null?void 0x0:_0x12c143[_0x4d16d4(0x468)])!=null?_0x44cb81:'unknown';return{'changeset':{'unitID':_0x5cce6e,'type':_0x2766c1(_0x2905d5[_0x4d16d4(0x4ac)](_0x5cce6e)),'baseRev':_0x1d2d1c[_0x4d16d4(0x429)](_0x5cce6e),'revision':0x0,'userID':_0x5defc6,'memberID':_0x1836f0,'mutations':_0x3dae0e},'pendingMutations':[]};}function Ri(_0x192b28,_0x1cad2b){var _0x5e0153=_0xfe4f58;const _0x146b91=new _0x29d47f(0x1);return setTimeout(()=>_0x146b91[_0x5e0153(0x33e)](_0x1cad2b),_0x192b28),_0x146b91['asObservable']()[_0x5e0153(0x47c)](_0x3c2962(0x1));}const ss={'id':_0x4051a3['id'],'type':_0x9cacc5[_0xfe4f58(0x3c4)],'params':{}};var rs=Object[_0xfe4f58(0x458)],Te=(_0xca73f7,_0x57eb79,_0x460fe6,_0x444608)=>{var _0x145e25=_0xfe4f58;for(var _0x3b8cf9=_0x444608>0x1?void 0x0:_0x444608?rs(_0x57eb79,_0x460fe6):_0x57eb79,_0x322b4e=_0xca73f7[_0x145e25(0x4f4)]-0x1,_0x12a906;_0x322b4e>=0x0;_0x322b4e--)(_0x12a906=_0xca73f7[_0x322b4e])&&(_0x3b8cf9=_0x12a906(_0x3b8cf9)||_0x3b8cf9);return _0x3b8cf9;},P=(_0x34a136,_0x3794ed)=>(_0x304cfb,_0x4a6734)=>_0x3794ed(_0x304cfb,_0x4a6734,_0x34a136),bi=(_0x114b38=>(_0x114b38[_0xfe4f58(0x4ae)]=_0xfe4f58(0x22f),_0x114b38[_0xfe4f58(0x25e)]=_0xfe4f58(0x3bb),_0x114b38[_0xfe4f58(0x2e3)]='pending',_0x114b38[_0xfe4f58(0x41f)]=_0xfe4f58(0x44e),_0x114b38[_0xfe4f58(0x46e)]='awaiting_with_pending',_0x114b38[_0xfe4f58(0x469)]=_0xfe4f58(0x477),_0x114b38['CONFLICT']=_0xfe4f58(0x484),_0x114b38['OFFLINE']=_0xfe4f58(0x3b5),_0x114b38))(bi||{});const yi=0xea60;class Ce{constructor(_0x5e724c,_0x305987,_0x435ee0,_0x3db3ac,_0x46ebeb,_0x37d6d8,_0x3075e8,_0x33f73a,_0x173dc9){var _0x3b6370=_0xfe4f58;N(this,'_awaitingChangeset',null),N(this,_0x3b6370(0x321),[]),(this['unitID']=_0x5e724c,this[_0x3b6370(0x255)]=_0x305987,this[_0x3b6370(0x4e1)]=_0x46ebeb,this[_0x3b6370(0x3e7)]=_0x37d6d8,this[_0x3b6370(0x2a2)]=_0x3075e8,this[_0x3b6370(0x4b2)]=_0x33f73a,this['_localCacheService']=_0x173dc9,this['_awaitingChangeset']=_0x435ee0,this['_pendingMutations']=_0x3db3ac);}[_0xfe4f58(0x395)](_0x3d5991){var _0x165995=_0xfe4f58;const _0x22e5fc=this['_revisionService'][_0x165995(0x429)](this['unitID']);return _0x3d5991[_0x165995(0x3b8)]>_0x22e5fc+0x1?(this['_handler'][_0x165995(0x274)]({'from':_0x22e5fc,'to':_0x3d5991[_0x165995(0x3b8)]-0x1}),!0x0):!0x1;}[_0xfe4f58(0x4a1)](_0x2679cd){var _0x4e0ed2=_0xfe4f58;this[_0x4e0ed2(0x2a2)][_0x4e0ed2(0x461)](this[_0x4e0ed2(0x375)],_0x2679cd);}[_0xfe4f58(0x293)](_0x482d90){var _0x167ca1=_0xfe4f58,_0x5c5ed4,_0x1d5207;(_0x1d5207=(_0x5c5ed4=this[_0x167ca1(0x4e1)])[_0x167ca1(0x24e)])==null||_0x1d5207['call'](_0x5c5ed4,_0x482d90);}['_transformIMECache'](_0xbd5010){var _0x1327c1=_0xfe4f58,_0x2309ac,_0xfeab5a;return(_0xfeab5a=(_0x2309ac=this['_handler'])['onTransformIME'])==null?void 0x0:_0xfeab5a[_0x1327c1(0x3a0)](_0x2309ac,_0xbd5010);}[_0xfe4f58(0x2fb)](_0x47a401){var _0x2396a8=_0xfe4f58,_0x3dffb7,_0x7f1a50;return(_0x7f1a50=(_0x3dffb7=this[_0x2396a8(0x4e1)])['onTransformState'])==null?void 0x0:_0x7f1a50[_0x2396a8(0x3a0)](_0x3dffb7,_0x47a401);}[_0xfe4f58(0x3f1)](_0x3946eb){var _0x164755=_0xfe4f58,_0x6d8584,_0x1dd028,_0x59f56d;return(_0x59f56d=(_0x1dd028=(_0x6d8584=this[_0x164755(0x4e1)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1dd028[_0x164755(0x3a0)](_0x6d8584,_0x3946eb))!=null?_0x59f56d:_0x3946eb;}[_0xfe4f58(0x3a7)](_0x4cd1ac){var _0x1ffbf8=_0xfe4f58,_0x1d20ca,_0x4917f7,_0x526eb4;return(_0x526eb4=(_0x4917f7=(_0x1d20ca=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4917f7[_0x1ffbf8(0x3a0)](_0x1d20ca,_0x4cd1ac))!=null?_0x526eb4:_0x4cd1ac;}['_syncEditingCollabCursor'](_0x5c1e57){var _0x4c6745=_0xfe4f58,_0x3efa21,_0x150ed7;if(this[_0x4c6745(0x255)]===Q[_0x4c6745(0x3d3)]){const {unitID:_0x46f2d1,mutations:_0x37f97f,memberID:_0x27166c}=_0x5c1e57,_0x148368=_0x37f97f[0x0][_0x4c6745(0x2a3)]['textRanges'];Array[_0x4c6745(0x4af)](_0x148368)&&_0x148368[_0x4c6745(0x4f4)]>0x0&&((_0x150ed7=(_0x3efa21=this['_handler'])[_0x4c6745(0x350)])==null||_0x150ed7['call'](_0x3efa21,{'unitID':_0x46f2d1,'memberID':_0x27166c,'textRanges':_0x148368}));}}['_updateLocalCache'](){var _0x15dfca=_0xfe4f58,_0x303c49;(_0x303c49=this[_0x15dfca(0x44a)])==null||_0x303c49[_0x15dfca(0x26d)](this[_0x15dfca(0x375)],this[_0x15dfca(0x255)],this[_0x15dfca(0x234)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x19588f=_0xfe4f58;return this[_0x19588f(0x4b2)][_0x19588f(0x429)](this[_0x19588f(0x375)]);}[_0xfe4f58(0x410)](){var _0x4f9369=_0xfe4f58;this[_0x4f9369(0x4b2)][_0x4f9369(0x374)](this[_0x4f9369(0x375)]);}['_executeRemoteChangeset'](_0x369d0c){var _0x348e6b=_0xfe4f58,_0x37b858;let _0x4a64ed=this['_transformRemoteChangesetByIMECache'](_0x369d0c);_0x4a64ed=this[_0x348e6b(0x3a7)](_0x4a64ed);const _0x49dd5=_0x243b5b(_0x4a64ed[_0x348e6b(0x28a)],this[_0x348e6b(0x3e7)],{'fromCollab':!0x0});if(!_0x49dd5[_0x348e6b(0x48f)])throw _0x49dd5['error']instanceof Error?_0x49dd5[_0x348e6b(0x287)]:new Error((_0x37b858=_0x49dd5[_0x348e6b(0x287)])!=null?_0x37b858:_0x348e6b(0x44f));this[_0x348e6b(0x2c8)](_0x4a64ed),this['_transformStateCache'](_0x4a64ed),this[_0x348e6b(0x4a1)](_0x369d0c),this[_0x348e6b(0x293)](_0x4a64ed),this['_syncEditingCollabCursor'](_0x4a64ed),this[_0x348e6b(0x410)]();}}let Ne=class extends Ce{constructor(_0x1dc830,_0x3d1d93,_0x5f0cef,_0x17ffdc,_0x1b1c16,_0x5f068a,_0x3057a6,_0x4bfbc6,_0x56779e,_0x48e430){var _0x58086c=_0xfe4f58;super(_0x1dc830,_0x3d1d93,null,[],_0x5f0cef,_0x3057a6,_0x5f068a,_0x17ffdc,_0x48e430),N(this,_0x58086c(0x32e),'synced'),(this[_0x58086c(0x421)]=_0x1b1c16,this[_0x58086c(0x2e2)]=_0x4bfbc6,this[_0x58086c(0x2c3)]=_0x56779e,this[_0x58086c(0x4a7)]=_0x48e430);}[_0xfe4f58(0x214)](_0x4b9ed3){var _0x46348a=_0xfe4f58;const _0x55a85d=this[_0x46348a(0x421)][_0x46348a(0x2f7)](ae,this[_0x46348a(0x375)],this['type'],[_0x4b9ed3],this[_0x46348a(0x4e1)]);return _0x55a85d[_0x46348a(0x30f)](),_0x55a85d['_updateLocalCache'](),_0x55a85d;}[_0xfe4f58(0x444)](_0x1f99cf){var _0x493a04=_0xfe4f58;if(this[_0x493a04(0x395)](_0x1f99cf))return this[_0x493a04(0x421)]['createInstance'](ee,this[_0x493a04(0x375)],this[_0x493a04(0x255)],null,[],null,[_0x1f99cf],this[_0x493a04(0x4e1)]);try{const _0x11192b=this[_0x493a04(0x2c3)][_0x493a04(0x37a)](_0x1f99cf,[ss]);if(_0x2ae41e(_0x11192b)){const {c1Prime:_0x1f93ff}=_0x11192b;return this['_executeRemoteChangeset'](_0x1f93ff),this;}throw _0x11192b[_0x493a04(0x287)];}catch(_0x141d92){return this[_0x493a04(0x2e2)]['error'](_0x141d92),this[_0x493a04(0x3ec)](!0x1);}}[_0xfe4f58(0x3ec)](_0x1f59b9){var _0x11fafd=_0xfe4f58;return this[_0x11fafd(0x421)][_0x11fafd(0x2f7)](ue,this[_0x11fafd(0x375)],this[_0x11fafd(0x255)],null,[],this[_0x11fafd(0x4e1)],_0x1f59b9);}['onRemoteAck'](){var _0x39672a=_0xfe4f58;throw new Error(_0x39672a(0x280));}[_0xfe4f58(0x232)](){var _0x2ccf20=_0xfe4f58;throw new Error(_0x2ccf20(0x4fa));}[_0xfe4f58(0x306)](){return this;}[_0xfe4f58(0x4b7)](){var _0x550ed2=_0xfe4f58;return this[_0x550ed2(0x421)][_0x550ed2(0x2f7)](de,this[_0x550ed2(0x375)],this[_0x550ed2(0x255)],null,[],this[_0x550ed2(0x4e1)]);}[_0xfe4f58(0x30a)](){return this;}[_0xfe4f58(0x2c2)](){var _0x3916fa=_0xfe4f58;throw new Error(_0x3916fa(0x3a6));}['fetchMiss'](){var _0x3d8091=_0xfe4f58;const _0x50246b=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3d8091(0x375)]);return this[_0x3d8091(0x4e1)][_0x3d8091(0x274)]({'from':_0x50246b,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this[_0x3d8091(0x255)],null,[],null,[],this[_0x3d8091(0x4e1)]);}};Ne=Te([P(0x3,_0xa221c6(_0x2c856c)),P(0x4,_0xa221c6(_0x448e61)),P(0x5,_0x1f3b70),P(0x6,_0x2c8d8e),P(0x7,_0x174c69),P(0x8,_0x7dec29),P(0x9,_0x26efdf(J))],Ne);let ae=class extends Ce{constructor(_0x368c29,_0x10dbed,_0x4feba9,_0x37f568,_0xca7936,_0x9e11a1,_0xe646a,_0x49cb45,_0x593c4c,_0x1f283b,_0x5d9c2b,_0x55e248,_0x43fcca,_0x2460ec){var _0x3e5080=_0xfe4f58;super(_0x368c29,_0x10dbed,null,_0x4feba9,_0x37f568,_0x593c4c,_0x43fcca,_0x9e11a1,_0x2460ec),N(this,'status',_0x3e5080(0x462)),N(this,_0x3e5080(0x2d0),null),N(this,_0x3e5080(0x4e3),null),(this['_injector']=_0xca7936,this[_0x3e5080(0x38e)]=_0xe646a,this[_0x3e5080(0x2e2)]=_0x49cb45,this['_configService']=_0x1f283b,this[_0x3e5080(0x2c3)]=_0x5d9c2b,this[_0x3e5080(0x365)]=_0x55e248);}['appendMutation'](_0x44d1fd){var _0x48cb71=_0xfe4f58;return this[_0x48cb71(0x321)][_0x48cb71(0x2b6)](_0x44d1fd),this['_updateLocalCache'](),this;}[_0xfe4f58(0x444)](_0x41b5a1){var _0x540959=_0xfe4f58;if(this[_0x540959(0x395)](_0x41b5a1))return this[_0x540959(0x489)](),this[_0x540959(0x421)][_0x540959(0x2f7)](ee,this[_0x540959(0x375)],this['type'],null,this['_pendingMutations'],null,[_0x41b5a1],this[_0x540959(0x4e1)]);try{const _0x4b9c8f=this['_transformService']['transformMutationsWithChangeset'](_0x41b5a1,this['_pendingMutations']);if(_0x2ae41e(_0x4b9c8f)){const {c1Prime:_0x533c78,m2Prime:_0x2d9617}=_0x4b9c8f;this['_executeRemoteChangeset'](_0x533c78);const _0x168785=this[_0x540959(0x421)][_0x540959(0x2f7)](ae,this['unitID'],this[_0x540959(0x255)],_0x2d9617,this[_0x540959(0x4e1)]);this['_clearScheduledTask']();const _0x46a37b=new Date()[_0x540959(0x2de)](),_0x30ed9b=this[_0x540959(0x2d0)]?Math['max'](this[_0x540959(0x2d0)]-_0x46a37b,0x0):this[_0x540959(0x248)]();return _0x168785['_schedule'](_0x30ed9b),_0x168785;}throw _0x4b9c8f[_0x540959(0x287)];}catch(_0x47cf12){return this['_logService'][_0x540959(0x287)](_0x47cf12),this[_0x540959(0x3ec)](!0x1);}}[_0xfe4f58(0x356)](){var _0x1a2b91=_0xfe4f58;throw new Error(_0x1a2b91(0x3c8));}['onRemoteRej'](){var _0x16dec3=_0xfe4f58;throw new Error(_0x16dec3(0x29f));}[_0xfe4f58(0x306)](){return this;}[_0xfe4f58(0x4b7)](){var _0x4d7e2f=_0xfe4f58;return this[_0x4d7e2f(0x489)](),this[_0x4d7e2f(0x421)][_0x4d7e2f(0x2f7)](de,this[_0x4d7e2f(0x375)],this['type'],null,this[_0x4d7e2f(0x321)],this[_0x4d7e2f(0x4e1)]);}[_0xfe4f58(0x30a)](){return this;}[_0xfe4f58(0x30f)](_0x45a91d){var _0x3ab45a=_0xfe4f58;const _0x498cb5=_0x45a91d!=null?_0x45a91d:this[_0x3ab45a(0x248)]();this[_0x3ab45a(0x2d0)]=new Date()[_0x3ab45a(0x2de)]()+_0x498cb5,this['_sendingTimer']=setTimeout(()=>{var _0x17fda8=_0x3ab45a;this[_0x17fda8(0x489)]();let _0x23b399=null;switch(this[_0x17fda8(0x255)]){case Q['UNIVER_SHEET']:{_0x23b399=qt(this[_0x17fda8(0x321)],this[_0x17fda8(0x375)],this[_0x17fda8(0x365)],this[_0x17fda8(0x4b2)],this[_0x17fda8(0x38e)]);break;}case Q[_0x17fda8(0x3d3)]:{this[_0x17fda8(0x321)][_0x17fda8(0x311)](_0x19f281=>_0x19f281['id']===_0x21d9eb['id'])?_0x23b399=ns(this[_0x17fda8(0x321)],this[_0x17fda8(0x375)],this[_0x17fda8(0x365)],this[_0x17fda8(0x4b2)],this['_memberService']):_0x23b399=qt(this[_0x17fda8(0x321)],this['unitID'],this['_univerInstanceService'],this[_0x17fda8(0x4b2)],this[_0x17fda8(0x38e)]);break;}default:throw new Error(_0x17fda8(0x48d)+this[_0x17fda8(0x255)]+_0x17fda8(0x45b));}const {changeset:_0x9c70fc,pendingMutations:_0x11e0ce}=_0x23b399;this[_0x17fda8(0x4e1)]['onSendChangeset'](_0x9c70fc);const _0x57ae1e=_0x11e0ce[_0x17fda8(0x4f4)]?this[_0x17fda8(0x421)][_0x17fda8(0x2f7)](oe,this[_0x17fda8(0x375)],this[_0x17fda8(0x255)],_0x9c70fc,_0x11e0ce,this[_0x17fda8(0x4e1)],void 0x0):this[_0x17fda8(0x421)][_0x17fda8(0x2f7)](le,this['unitID'],this[_0x17fda8(0x255)],_0x9c70fc,this[_0x17fda8(0x4e1)]);_0x57ae1e[_0x17fda8(0x29a)](),this['_handler']['onStateChange'](this,_0x57ae1e);},_0x498cb5);}[_0xfe4f58(0x248)](){var _0x47cf79=_0xfe4f58,_0x2d8c16;const _0x45083f=this['_configService'][_0x47cf79(0x252)](q);return(_0x2d8c16=_0x45083f==null?void 0x0:_0x45083f['sendChangesetTimeout'])!=null?_0x2d8c16:En;}[_0xfe4f58(0x2c2)](){var _0x141fbf=_0xfe4f58;throw new Error(_0x141fbf(0x20d));}[_0xfe4f58(0x489)](){var _0x4f4546=_0xfe4f58;this[_0x4f4546(0x4e3)]!=null&&(clearTimeout(this[_0x4f4546(0x4e3)]),this['_sendingTimer']=null);}['_onConflict'](_0x98012a){var _0x4cd290=_0xfe4f58;return this[_0x4cd290(0x489)](),this[_0x4cd290(0x421)][_0x4cd290(0x2f7)](ue,this[_0x4cd290(0x375)],this[_0x4cd290(0x255)],null,this[_0x4cd290(0x321)],this[_0x4cd290(0x4e1)],_0x98012a);}};ae=Te([P(0x4,_0xa221c6(_0x448e61)),P(0x5,_0xa221c6(_0x2c856c)),P(0x6,_0xa221c6(Le)),P(0x7,_0x174c69),P(0x8,_0x2c8d8e),P(0x9,_0xfaee79),P(0xa,_0x7dec29),P(0xb,_0x509a63),P(0xc,_0x1f3b70),P(0xd,_0x26efdf(J))],ae);let le=class extends Ce{constructor(_0x26d4ea,_0x812e53,_0x2fb7ac,_0x5f0a79,_0x5d5d98,_0x103a51,_0x48a418,_0x1f12a5,_0x2a517b,_0x415bf2,_0xeb7685){var _0x5dd0c9=_0xfe4f58;super(_0x26d4ea,_0x812e53,_0x2fb7ac,[],_0x5f0a79,_0x48a418,_0x415bf2,_0x103a51,_0xeb7685),N(this,_0x5dd0c9(0x32e),_0x5dd0c9(0x44e)),N(this,_0x5dd0c9(0x223),0x0),N(this,'_resendTimer'),N(this,_0x5dd0c9(0x2bf)),(this[_0x5dd0c9(0x421)]=_0x5d5d98,this[_0x5dd0c9(0x2e2)]=_0x1f12a5,this[_0x5dd0c9(0x2c3)]=_0x2a517b);}[_0xfe4f58(0x214)](_0xdb26e4){var _0x419f8d=_0xfe4f58;this[_0x419f8d(0x489)]();const _0x26805d=this[_0x419f8d(0x421)]['createInstance'](oe,this['unitID'],this[_0x419f8d(0x255)],this[_0x419f8d(0x234)],[_0xdb26e4],this[_0x419f8d(0x4e1)],this[_0x419f8d(0x297)]);return _0x26805d[_0x419f8d(0x29a)](),_0x26805d;}[_0xfe4f58(0x444)](_0x19b2ec){var _0x48ed7e=_0xfe4f58;if(this[_0x48ed7e(0x395)](_0x19b2ec))return this[_0x48ed7e(0x489)](),this[_0x48ed7e(0x421)]['createInstance'](ee,this[_0x48ed7e(0x375)],this[_0x48ed7e(0x255)],this[_0x48ed7e(0x234)],[],null,[_0x19b2ec],this[_0x48ed7e(0x4e1)]);try{const _0x5eac40=this[_0x48ed7e(0x2c3)][_0x48ed7e(0x2d9)]([_0x19b2ec],[this['_awaitingChangeset']],!0x1);if(_0x82379c(_0x5eac40)){const {c1Prime:_0x214170,c2Prime:_0x3e59e6}=_0x5eac40;this[_0x48ed7e(0x30d)](_0x214170[0x0]),_0x3e59e6[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x48ed7e(0x489)]();const _0x3a8b1d=this[_0x48ed7e(0x421)][_0x48ed7e(0x2f7)](le,this[_0x48ed7e(0x375)],this[_0x48ed7e(0x255)],_0x3e59e6[0x0],this[_0x48ed7e(0x4e1)]);return _0x3a8b1d[_0x48ed7e(0x29a)](),_0x3a8b1d;}return this[_0x48ed7e(0x3ec)](!0x1);}catch(_0x248c8c){return this[_0x48ed7e(0x2e2)][_0x48ed7e(0x287)](_0x248c8c),this[_0x48ed7e(0x3ec)](!0x1);}}[_0xfe4f58(0x356)](_0x1cda0f){var _0x11c660=_0xfe4f58;this[_0x11c660(0x489)]();const _0x2f51c5=this[_0x11c660(0x4b2)][_0x11c660(0x429)](this[_0x11c660(0x375)]);if(_0x1cda0f[_0x11c660(0x3b8)]<_0x2f51c5-0x1)return this;if(this['_checkMissing'](_0x1cda0f))return this[_0x11c660(0x421)]['createInstance'](ee,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x11c660(0x4e1)]);this[_0x11c660(0x410)]();const _0x90e9e7=this[_0x11c660(0x421)]['createInstance'](Ne,this[_0x11c660(0x375)],this[_0x11c660(0x255)],this[_0x11c660(0x4e1)]);return _0x90e9e7['_updateLocalCache'](),_0x90e9e7;}[_0xfe4f58(0x232)](_0x5d6b3e){var _0xae41d9=_0xfe4f58;return this[_0xae41d9(0x3ec)](!!(_0x5d6b3e!=null&&_0x5d6b3e[_0xae41d9(0x240)]));}[_0xfe4f58(0x306)](_0x329622){var _0xc259e=_0xfe4f58;return this[_0xc259e(0x223)]>yi?this[_0xc259e(0x4b7)]():(this[_0xc259e(0x297)]=Ri(this[_0xc259e(0x223)],{'timeout':this[_0xc259e(0x223)],'reqId':_0x329622['reqId']}),this[_0xc259e(0x2bf)]=this[_0xc259e(0x297)][_0xc259e(0x48a)](({reqId:_0x17aca8,timeout:_0x2eab98})=>{var _0x429cf9=_0xc259e;this[_0x429cf9(0x442)](_0x17aca8,_0x2eab98);}),this);}[_0xfe4f58(0x4b7)](){var _0x946dae=_0xfe4f58;return this[_0x946dae(0x489)](),this['_injector'][_0x946dae(0x2f7)](de,this[_0x946dae(0x375)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0xfe4f58(0x30a)](){return this;}[_0xfe4f58(0x2c2)](){var _0x4f1987=_0xfe4f58;this[_0x4f1987(0x4e1)][_0x4f1987(0x487)](this[_0x4f1987(0x234)]);}[_0xfe4f58(0x3ec)](_0x38ae93){var _0x16b2e9=_0xfe4f58;return this[_0x16b2e9(0x489)](),this[_0x16b2e9(0x421)][_0x16b2e9(0x2f7)](ue,this[_0x16b2e9(0x375)],this[_0x16b2e9(0x255)],this['_awaitingChangeset'],[],this['_handler'],_0x38ae93);}[_0xfe4f58(0x442)](_0x35b115,_0x4b94c0){var _0x24516b=_0xfe4f58,_0x3d1a83;_0x35b115===((_0x3d1a83=this[_0x24516b(0x234)])==null?void 0x0:_0x3d1a83[_0x24516b(0x450)])&&(this[_0x24516b(0x2c2)](),this['_resendTimeout']=_0x4b94c0===0x0?0x3e8:_0x4b94c0*0x2);}[_0xfe4f58(0x489)](){var _0x313641=_0xfe4f58,_0x3be385;(_0x3be385=this[_0x313641(0x2bf)])==null||_0x3be385[_0x313641(0x317)](),this[_0x313641(0x223)]=0x0;}};le=Te([P(0x4,_0xa221c6(_0x448e61)),P(0x5,_0xa221c6(_0x2c856c)),P(0x6,_0x2c8d8e),P(0x7,_0x174c69),P(0x8,_0x7dec29),P(0x9,_0x1f3b70),P(0xa,_0x26efdf(J))],le);let oe=class extends Ce{constructor(_0x273d1e,_0x39eb11,_0x53d900,_0x55085e,_0xd4586,_0x2abe71,_0x53ca2c,_0x2dc25f,_0xb2b1f1,_0x1008c2,_0x4a0486,_0x1b2879,_0xd142d3){var _0x34c016=_0xfe4f58;super(_0x273d1e,_0x39eb11,_0x53d900,_0x55085e,_0xd4586,_0xb2b1f1,_0x1b2879,_0x2dc25f,_0xd142d3),N(this,_0x34c016(0x32e),'awaiting_with_pending'),N(this,_0x34c016(0x223),0x0),N(this,_0x34c016(0x297)),N(this,'_sender'),(this[_0x34c016(0x421)]=_0x53ca2c,this[_0x34c016(0x2e2)]=_0x1008c2,this['_transformService']=_0x4a0486,this['localCacheService']=_0xd142d3,_0x2abe71&&(this['_resendTimer']=_0x2abe71,this[_0x34c016(0x2bf)]=this[_0x34c016(0x297)][_0x34c016(0x48a)](({reqId:_0x273fda,timeout:_0x2d1307})=>{var _0x48c89c=_0x34c016;this[_0x48c89c(0x442)](_0x273fda,_0x2d1307);})));}[_0xfe4f58(0x214)](_0x3bac59){var _0x2b0603=_0xfe4f58;return this[_0x2b0603(0x321)]['push'](_0x3bac59),this;}[_0xfe4f58(0x444)](_0x8ed6f6){var _0x577736=_0xfe4f58;if(this[_0x577736(0x395)](_0x8ed6f6))return this[_0x577736(0x489)](),this['_injector'][_0x577736(0x2f7)](ee,this[_0x577736(0x375)],this['type'],this[_0x577736(0x234)],this[_0x577736(0x321)],null,[_0x8ed6f6],this[_0x577736(0x4e1)]);try{const _0x43b54d=this['_transformService'][_0x577736(0x2d9)]([_0x8ed6f6],[this[_0x577736(0x234)]],!0x1);if(_0x82379c(_0x43b54d)){const {c1Prime:_0xe68c68,c2Prime:_0x5d0560}=_0x43b54d,_0x4c8f07=this['_transformService'][_0x577736(0x37a)](_0xe68c68[0x0],this['_pendingMutations']);if(_0x2ae41e(_0x4c8f07)){const {c1Prime:_0x17f83b,m2Prime:_0xbd7817}=_0x4c8f07;return this['_executeRemoteChangeset'](_0x17f83b),_0x5d0560[0x0][_0x577736(0x334)]=this[_0x577736(0x405)](),this[_0x577736(0x489)](),this[_0x577736(0x421)][_0x577736(0x2f7)](oe,this['unitID'],this[_0x577736(0x255)],_0x5d0560[0x0],_0xbd7817,this['_handler'],void 0x0);}throw _0x4c8f07['error'];}throw _0x43b54d[_0x577736(0x287)];}catch(_0x4b5ee){return this[_0x577736(0x2e2)]['error'](_0x4b5ee),this[_0x577736(0x3ec)](!0x1);}}[_0xfe4f58(0x356)](_0x356625){var _0x1a049b=_0xfe4f58;if(this['_clearScheduledTask'](),this[_0x1a049b(0x395)](_0x356625))return this[_0x1a049b(0x421)][_0x1a049b(0x2f7)](ee,this['unitID'],this[_0x1a049b(0x255)],null,this[_0x1a049b(0x321)],this[_0x1a049b(0x234)],[],this[_0x1a049b(0x4e1)]);this['_incrementRevisionNumber']();const _0x3fe286=this[_0x1a049b(0x421)][_0x1a049b(0x2f7)](ae,this['unitID'],this[_0x1a049b(0x255)],this[_0x1a049b(0x321)],this[_0x1a049b(0x4e1)]);return _0x3fe286['_schedule'](),_0x3fe286[_0x1a049b(0x29a)](),_0x3fe286;}[_0xfe4f58(0x232)](_0x4aaae8){var _0x5b79f0=_0xfe4f58;return this[_0x5b79f0(0x3ec)](!!(_0x4aaae8!=null&&_0x4aaae8[_0x5b79f0(0x240)]));}[_0xfe4f58(0x306)](_0x4156e9){var _0x41c644=_0xfe4f58;return this[_0x41c644(0x223)]>yi?this['toggleOffline']():(this[_0x41c644(0x297)]=Ri(this[_0x41c644(0x223)],{'timeout':this[_0x41c644(0x223)],'reqId':_0x4156e9[_0x41c644(0x450)]}),this[_0x41c644(0x2bf)]=this['_resendTimer'][_0x41c644(0x48a)](({reqId:_0x2678da,timeout:_0x4e345e})=>{var _0x5b138d=_0x41c644;this[_0x5b138d(0x442)](_0x2678da,_0x4e345e);}),this);}[_0xfe4f58(0x4b7)](){var _0x5cc29e=_0xfe4f58;return this[_0x5cc29e(0x489)](),this[_0x5cc29e(0x421)][_0x5cc29e(0x2f7)](de,this[_0x5cc29e(0x375)],this[_0x5cc29e(0x255)],this[_0x5cc29e(0x234)],this[_0x5cc29e(0x321)],this[_0x5cc29e(0x4e1)]);}[_0xfe4f58(0x30a)](){return this;}[_0xfe4f58(0x2c2)](){var _0x43715d=_0xfe4f58;this[_0x43715d(0x4e1)][_0x43715d(0x487)](this['_awaitingChangeset']);}[_0xfe4f58(0x3ec)](_0x65460a){var _0x11b45f=_0xfe4f58;return this[_0x11b45f(0x489)](),this[_0x11b45f(0x421)][_0x11b45f(0x2f7)](ue,this['unitID'],this['type'],null,this[_0x11b45f(0x321)],this[_0x11b45f(0x4e1)],_0x65460a);}[_0xfe4f58(0x442)](_0x26776f,_0x4e2336){var _0x42dfe6=_0xfe4f58,_0x13a9ba;_0x26776f===((_0x13a9ba=this[_0x42dfe6(0x234)])==null?void 0x0:_0x13a9ba[_0x42dfe6(0x450)])&&(this[_0x42dfe6(0x2c2)](),this[_0x42dfe6(0x223)]=_0x4e2336===0x0?0x3e8:_0x4e2336*0x2);}[_0xfe4f58(0x489)](){var _0x238eef=_0xfe4f58,_0x1f3123;(_0x1f3123=this[_0x238eef(0x2bf)])==null||_0x1f3123[_0x238eef(0x317)](),this[_0x238eef(0x223)]=0x0;}};oe=Te([P(0x6,_0xa221c6(_0x448e61)),P(0x7,_0xa221c6(_0x2c856c)),P(0x8,_0x2c8d8e),P(0x9,_0x174c69),P(0xa,_0x7dec29),P(0xb,_0x1f3b70),P(0xc,_0x26efdf(J))],oe);let ue=class extends Ce{constructor(_0x165901,_0x35e30d,_0x2b63c2,_0xc8bb16,_0x16efb1,_0x40252b=!0x1,_0x440d35,_0x44da04,_0x416e54,_0x480e2c,_0x4bb846,_0x55b667,_0x4048a8){var _0x155bf4=_0xfe4f58;super(_0x165901,_0x35e30d,_0x2b63c2,_0xc8bb16,_0x16efb1,_0x44da04,_0x416e54,_0x480e2c,_0x4048a8),N(this,_0x155bf4(0x32e),_0x155bf4(0x484)),(this['_isPermissionRej']=_0x40252b,this[_0x155bf4(0x407)]=_0x440d35,this[_0x155bf4(0x290)]=_0x4bb846,this[_0x155bf4(0x212)]=_0x55b667,this[_0x155bf4(0x4a7)]=_0x4048a8,this[_0x155bf4(0x225)](),this[_0x155bf4(0x437)](),this[_0x155bf4(0x236)]());}[_0xfe4f58(0x214)](){return this;}[_0xfe4f58(0x444)](){return this;}[_0xfe4f58(0x356)](){return this;}[_0xfe4f58(0x232)](){return this;}[_0xfe4f58(0x306)](){return this;}[_0xfe4f58(0x4b7)](){return this;}[_0xfe4f58(0x30a)](){return this;}[_0xfe4f58(0x2c2)](){var _0x3d819e=_0xfe4f58;throw new Error(_0x3d819e(0x203));}[_0xfe4f58(0x437)](){var _0xa21ca7=_0xfe4f58,_0x322187;(_0x322187=this[_0xa21ca7(0x44a)])==null||_0x322187[_0xa21ca7(0x26d)](this['unitID'],this[_0xa21ca7(0x255)],null,[]);}[_0xfe4f58(0x225)](){var _0x50a29e=_0xfe4f58;this[_0x50a29e(0x366)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0x50a29e(0x463)]}):this['_collaborationUIEventService'][_0x50a29e(0x4bb)]({'id':re[_0x50a29e(0x4b8)]});}[_0xfe4f58(0x236)](){var _0x1afad0=_0xfe4f58;this[_0x1afad0(0x407)][_0x1afad0(0x43a)](new _0x4b3777(this[_0x1afad0(0x375)])['id'],!0x1);}};ue=Te([P(0x6,_0xa221c6(_0x5aa8b2)),P(0x7,_0x2c8d8e),P(0x8,_0x1f3b70),P(0x9,_0xa221c6(_0x2c856c)),P(0xa,_0xa221c6(_0x1a6e12)),P(0xb,_0xa221c6(pe)),P(0xc,_0x26efdf(J))],ue);let de=class extends Ce{constructor(_0x2dc240,_0x2119da,_0x5b8bfa,_0x1674eb,_0x448478,_0x2bc07e,_0x307753,_0x45f623,_0x5023bd,_0x4bfbe5){var _0x4e0633=_0xfe4f58;super(_0x2dc240,_0x2119da,_0x5b8bfa,_0x1674eb,_0x448478,_0x45f623,_0x5023bd,_0x307753,_0x4bfbe5),N(this,_0x4e0633(0x32e),'offline'),this[_0x4e0633(0x421)]=_0x2bc07e;}[_0xfe4f58(0x214)](_0x4e5d6f){var _0x3efc14=_0xfe4f58;return this[_0x3efc14(0x321)][_0x3efc14(0x2b6)](_0x4e5d6f),this[_0x3efc14(0x29a)](),this;}['onRemoteChangeset'](_0xbade41){var _0x2a91b9=_0xfe4f58;throw new Error(_0x2a91b9(0x3ba));}[_0xfe4f58(0x356)](){var _0x51f602=_0xfe4f58;throw new Error(_0x51f602(0x455));}[_0xfe4f58(0x232)](){var _0x1eb282=_0xfe4f58;throw new Error(_0x1eb282(0x200));}[_0xfe4f58(0x306)](){return this;}[_0xfe4f58(0x4b7)](){return this;}[_0xfe4f58(0x30a)](){var _0xd95621=_0xfe4f58;const {_injector:_0x24e262,_pendingMutations:_0x5a6a69,_awaitingChangeset:_0x7964f0,unitID:_0x1d5614,_handler:_0x5d1111,type:_0x57c00e}=this,_0x3d30d0=Oi(_0x24e262,_0x1d5614,_0x57c00e,_0x7964f0,_0x5a6a69,_0x5d1111);return _0x3d30d0 instanceof ae?_0x3d30d0[_0xd95621(0x30f)]():(_0x3d30d0 instanceof oe||_0x3d30d0 instanceof le)&&_0x3d30d0['resend'](),_0x3d30d0;}['resend'](){var _0x7db5aa=_0xfe4f58;throw new Error(_0x7db5aa(0x42d));}};de=Te([P(0x5,_0xa221c6(_0x448e61)),P(0x6,_0xa221c6(_0x2c856c)),P(0x7,_0x2c8d8e),P(0x8,_0x1f3b70),P(0x9,_0x26efdf(J))],de);let ee=class extends Ce{constructor(_0x3924d2,_0x26459b,_0x325c6d,_0x452310,_0x2e3917,_0x58c2e6,_0x49d4a9,_0x4e9dcc,_0x162fc5,_0x39f32e,_0x2cdf20,_0x598cb6,_0x2f3256,_0x19a61a){var _0x32b99a=_0xfe4f58;super(_0x3924d2,_0x26459b,_0x325c6d,_0x452310,_0x49d4a9,_0x2cdf20,_0x598cb6,_0x162fc5,_0x19a61a),N(this,_0x32b99a(0x32e),_0x32b99a(0x477)),(this[_0x32b99a(0x32d)]=_0x2e3917,this['_queuedRemoteChangesets']=_0x58c2e6,this[_0x32b99a(0x421)]=_0x4e9dcc,this[_0x32b99a(0x2e2)]=_0x39f32e,this[_0x32b99a(0x2c3)]=_0x2f3256,this[_0x32b99a(0x4a7)]=_0x19a61a);}[_0xfe4f58(0x2f4)](_0x5a6819){var _0x1914b2=_0xfe4f58;try{const _0x1a2af5=[..._0x5a6819,...this[_0x1914b2(0x2a8)]],_0xb5136e=[this['_awaitingChangeset']||this[_0x1914b2(0x32d)]]['filter'](_0x1c66e0=>!!_0x1c66e0);let _0x9d4f0a,_0x420d91;if(_0xb5136e[_0x1914b2(0x4f4)]){const _0x10c602=this[_0x1914b2(0x2c3)][_0x1914b2(0x2d9)](_0x1a2af5,_0xb5136e,!0x1);if(!_0x82379c(_0x10c602))throw _0x10c602[_0x1914b2(0x287)];_0x9d4f0a=_0x10c602[_0x1914b2(0x1fc)],_0x420d91=_0x10c602[_0x1914b2(0x46f)];}else _0x9d4f0a=_0x1a2af5,_0x420d91=[];let _0x166ee8=this['_pendingMutations'];_0x9d4f0a[_0x1914b2(0x312)](_0x23e3e3=>{var _0x2db147=_0x1914b2;let _0x35d3ec;if(_0x166ee8[_0x2db147(0x4f4)]){const _0xcf9d64=this[_0x2db147(0x2c3)]['transformMutationsWithChangeset'](_0x23e3e3,_0x166ee8);if(!_0x2ae41e(_0xcf9d64))throw _0xcf9d64[_0x2db147(0x287)];_0x35d3ec=_0xcf9d64[_0x2db147(0x1fc)],_0x166ee8=_0xcf9d64[_0x2db147(0x2b9)];}else _0x35d3ec=_0x23e3e3;this['_executeRemoteChangeset'](_0x35d3ec);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1914b2(0x410)](),this['_awaitingChangeset']&&_0x420d91[_0x1914b2(0x4f4)]&&(_0x420d91[0x0][_0x1914b2(0x334)]=this['_getCurrentRevision']());let _0x4e34d2;if(this['_awaitingChangeset']&&_0x166ee8[_0x1914b2(0x4f4)]!==0x0)_0x4e34d2=this[_0x1914b2(0x421)][_0x1914b2(0x2f7)](oe,this[_0x1914b2(0x375)],this[_0x1914b2(0x255)],_0x420d91[0x0],_0x166ee8,this[_0x1914b2(0x4e1)],void 0x0);else{if(this[_0x1914b2(0x234)]&&_0x166ee8['length']===0x0)_0x420d91[0x0][_0x1914b2(0x334)]=this[_0x1914b2(0x405)](),_0x4e34d2=this[_0x1914b2(0x421)]['createInstance'](le,this['unitID'],this['type'],_0x420d91[0x0],this['_handler']);else{if(_0x166ee8[_0x1914b2(0x4f4)]!==0x0){const _0x2e2d61=this[_0x1914b2(0x421)]['createInstance'](ae,this[_0x1914b2(0x375)],this['type'],_0x166ee8,this[_0x1914b2(0x4e1)]);_0x2e2d61[_0x1914b2(0x30f)](),_0x4e34d2=_0x2e2d61;}else _0x4e34d2=this['_injector']['createInstance'](Ne,this[_0x1914b2(0x375)],this['type'],this[_0x1914b2(0x4e1)]);}}return _0x4e34d2['_updateLocalCache'](),_0x4e34d2;}catch(_0x26fdbc){return this['_logService'][_0x1914b2(0x287)](_0x1914b2(0x394),_0x1914b2(0x481),_0x26fdbc),this[_0x1914b2(0x421)][_0x1914b2(0x2f7)](ue,this[_0x1914b2(0x375)],this['type'],this['_awaitingChangeset'],this[_0x1914b2(0x321)],this['_handler'],!0x1);}}[_0xfe4f58(0x2c2)](){var _0x54e2a2=_0xfe4f58;throw new Error(_0x54e2a2(0x23d));}[_0xfe4f58(0x214)](_0x49826c){var _0x3a94c0=_0xfe4f58;return this[_0x3a94c0(0x321)][_0x3a94c0(0x2b6)](_0x49826c),this;}[_0xfe4f58(0x444)](_0x4e75b9){var _0xef66d6=_0xfe4f58;return this[_0xef66d6(0x2a8)][_0xef66d6(0x2b6)](_0x4e75b9),this;}[_0xfe4f58(0x356)](_0x34dfc2){var _0x276962=_0xfe4f58;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x276962(0x234)],this[_0x276962(0x234)]=null,this;throw new Error(_0x276962(0x23a));}[_0xfe4f58(0x232)](_0x1b6078){var _0x429642=_0xfe4f58;return this[_0x429642(0x3ec)](!!(_0x1b6078!=null&&_0x1b6078['isPermissionRej']));}[_0xfe4f58(0x306)](){return this;}[_0xfe4f58(0x4b7)](){var _0x3fc553=_0xfe4f58;return this[_0x3fc553(0x421)]['createInstance'](de,this[_0x3fc553(0x375)],this[_0x3fc553(0x255)],this['_awaitingChangeset'],this[_0x3fc553(0x321)],this[_0x3fc553(0x4e1)]);}[_0xfe4f58(0x30a)](){return this;}['_onConflict'](_0x5e09d0){var _0x56c081=_0xfe4f58;return this[_0x56c081(0x421)][_0x56c081(0x2f7)](ue,this[_0x56c081(0x375)],this[_0x56c081(0x255)],this['_awaitingChangeset'],this[_0x56c081(0x321)],this['_handler'],_0x5e09d0);}};ee=Te([P(0x7,_0xa221c6(_0x448e61)),P(0x8,_0xa221c6(_0x2c856c)),P(0x9,_0x174c69),P(0xa,_0x2c8d8e),P(0xb,_0x1f3b70),P(0xc,_0x7dec29),P(0xd,_0x26efdf(J))],ee);function Oi(_0x42d2ff,_0x3bacf0,_0x2f3c74,_0x24cf3c,_0x5e4f10,_0x478909){var _0x328697=_0xfe4f58;return _0x24cf3c&&_0x5e4f10[_0x328697(0x4f4)]?_0x42d2ff[_0x328697(0x2f7)](oe,_0x3bacf0,_0x2f3c74,_0x24cf3c,_0x5e4f10,_0x478909,void 0x0):_0x24cf3c?_0x42d2ff['createInstance'](le,_0x3bacf0,_0x2f3c74,_0x24cf3c,_0x478909):_0x5e4f10['length']?_0x42d2ff[_0x328697(0x2f7)](ae,_0x3bacf0,_0x2f3c74,_0x5e4f10,_0x478909):_0x42d2ff['createInstance'](Ne,_0x3bacf0,_0x2f3c74,_0x478909);}var as=Object[_0xfe4f58(0x458)],Lt=(_0x560adc,_0x3b9009,_0x271b9e,_0x5904ee)=>{var _0x395a50=_0xfe4f58;for(var _0x531784=_0x5904ee>0x1?void 0x0:_0x5904ee?as(_0x3b9009,_0x271b9e):_0x3b9009,_0x2b1b0e=_0x560adc[_0x395a50(0x4f4)]-0x1,_0x3e333a;_0x2b1b0e>=0x0;_0x2b1b0e--)(_0x3e333a=_0x560adc[_0x2b1b0e])&&(_0x531784=_0x3e333a(_0x531784)||_0x531784);return _0x531784;},H=(_0x2d4d9c,_0x13f7fe)=>(_0x500dc6,_0x4b6bfa)=>_0x13f7fe(_0x500dc6,_0x4b6bfa,_0x2d4d9c);let nt=class extends _0x560f21{constructor(_0x908c3d,_0xb8f6bf,_0x27d6f3,_0x46f253,_0x124bae,_0x3804ce,_0x20e12b,_0x9f753d,_0x494cf0,_0x25585f,_0x3b2b4f,_0x3c6fe3,_0x5ee0cf){var _0x2825af=_0xfe4f58;super(),N(this,'_state$',new _0xca4a9f(null)),N(this,_0x2825af(0x39b),this['_state$'][_0x2825af(0x3fd)]()),N(this,'_state'),N(this,_0x2825af(0x4a6),!0x1),N(this,'_changesetSessionId',''),N(this,_0x2825af(0x205),0x0),N(this,_0x2825af(0x2ce),this[_0x2825af(0x39b)][_0x2825af(0x47c)](_0x2a6419(_0x4874ae=>_0x4874ae?_0x4874ae[_0x2825af(0x32e)]:bi[_0x2825af(0x2df)]),_0x401e19(0x1))),N(this,_0x2825af(0x2db),!0x1),N(this,_0x2825af(0x3f7),[]),(this[_0x2825af(0x375)]=_0x908c3d,this[_0x2825af(0x206)]=_0xb8f6bf,this[_0x2825af(0x210)]=_0x27d6f3,this['_injector']=_0x46f253,this[_0x2825af(0x3da)]=_0x124bae,this[_0x2825af(0x290)]=_0x3804ce,this[_0x2825af(0x4b2)]=_0x20e12b,this[_0x2825af(0x333)]=_0x9f753d,this['_logService']=_0x494cf0,this['_commandService']=_0x25585f,this[_0x2825af(0x407)]=_0x3b2b4f,this[_0x2825af(0x34b)]=_0x3c6fe3,this[_0x2825af(0x44a)]=_0x5ee0cf);}get[_0xfe4f58(0x300)](){var _0x1de62c=_0xfe4f58;return this[_0x1de62c(0x373)];}async[_0xfe4f58(0x271)](){var _0x5b1956=_0xfe4f58;if(this[_0x5b1956(0x300)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5b1956(0x409)]();}['pauseCollaboration'](){var _0x4c0529=_0xfe4f58;return this[_0x4c0529(0x4a6)]=!0x0,_0x5d854c(()=>{var _0x314d3d=_0x4c0529;this[_0x314d3d(0x4a6)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xfe4f58(0x41c)](_0x1c63c5){var _0x384f8f=_0xfe4f58;this[_0x384f8f(0x36d)](_0x1c63c5);}['_updateState'](_0x37d21b){var _0x12fecf=_0xfe4f58;this[_0x12fecf(0x373)]=_0x37d21b,this[_0x12fecf(0x423)][_0x12fecf(0x33e)](_0x37d21b);}async[_0xfe4f58(0x409)](){var _0x59509b=_0xfe4f58,_0x29a036;this[_0x59509b(0x4f1)](await this['_createInitialState']()),this[_0x59509b(0x34b)]&&((_0x29a036=this['_singleActiveUnitService'])==null||_0x29a036[_0x59509b(0x2b5)](this[_0x59509b(0x375)]),this[_0x59509b(0x387)](this[_0x59509b(0x34b)][_0x59509b(0x3d2)](this[_0x59509b(0x375)])[_0x59509b(0x48a)](_0x29834e=>{var _0x1a85da=_0x59509b;this[_0x1a85da(0x2e2)][_0x1a85da(0x2ec)](_0x1a85da(0x4e7),_0x1a85da(0x230),_0x29834e),_0x29834e===Ci[_0x1a85da(0x3d4)]?(this['_eventService'][_0x1a85da(0x4bb)]({'id':re[_0x1a85da(0x29e)]}),this[_0x1a85da(0x407)][_0x1a85da(0x43a)](new _0x4b3777(this[_0x1a85da(0x375)])['id'],!0x1),this['_permissionService'][_0x1a85da(0x246)](!0x1)):(this[_0x1a85da(0x407)][_0x1a85da(0x43a)](new _0x4b3777(this[_0x1a85da(0x375)])['id'],!0x0),this[_0x1a85da(0x407)][_0x1a85da(0x246)](!0x0));})));let _0x3db730=!0x1;return this[_0x59509b(0x387)](this[_0x59509b(0x206)][_0x59509b(0x495)][_0x59509b(0x48a)](_0x51dad5=>{var _0x1129a5=_0x59509b;_0x51dad5===Ee[_0x1129a5(0x367)]?this[_0x1129a5(0x2b2)](_0x3db730):_0x51dad5===Ee[_0x1129a5(0x2df)]&&(_0x3db730=!0x0,this[_0x1129a5(0x2a5)]());})),this[_0x59509b(0x387)](this[_0x59509b(0x206)][_0x59509b(0x392)][_0x59509b(0x48a)](_0x41e333=>{var _0xc57dc=_0x59509b;try{switch(_0x41e333[_0xc57dc(0x238)]){case _0x3534fc['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x4bc516(_0x41e333[_0xc57dc(0x23e)]));break;}case _0x3534fc['CHANGESET_ACK']:{this['_onRemoteACK'](_0x41e333[_0xc57dc(0x23e)]);break;}case _0x3534fc[_0xc57dc(0x25d)]:{this[_0xc57dc(0x380)]();break;}case _0x3534fc['CHANGESET_SHOULD_RETRY']:{this[_0xc57dc(0x35e)](_0x41e333[_0xc57dc(0x23e)]);break;}case _0x3534fc[_0xc57dc(0x2a6)]:{this[_0xc57dc(0x22b)](_0x41e333['data']['changesets'][_0xc57dc(0x38f)](_0x7c5deb=>_0x4bc516(_0x7c5deb)));break;}case _0x3534fc['PERMISSION_REJ']:{this[_0xc57dc(0x380)]({'isPermissionRej':!0x0});break;}case _0x3534fc['UNISCRIPT_RUN']:break;}}catch(_0x4a24c1){throw console['error'](_0xc57dc(0x243),_0x4a24c1),_0x4a24c1;}})),this[_0x59509b(0x373)];}[_0xfe4f58(0x294)](){var _0x473829=_0xfe4f58;this[_0x473829(0x2db)]=!0x1;}[_0xfe4f58(0x3e1)](){var _0x21035e=_0xfe4f58;if(this[_0x21035e(0x2db)])throw new Error(_0x21035e(0x219));this[_0x21035e(0x2db)]=!0x0;}[_0xfe4f58(0x36d)](_0x380184){var _0xb81b9d=_0xfe4f58;this[_0xb81b9d(0x3e1)](),this[_0xb81b9d(0x4f1)](this[_0xb81b9d(0x373)][_0xb81b9d(0x214)](_0x380184)),this['_unlockTransition']();}[_0xfe4f58(0x4a0)](_0x24805f){var _0x2f5ad5=_0xfe4f58;if(!(_0x24805f[_0x2f5ad5(0x3b8)]<=this[_0x2f5ad5(0x4b2)]['getCurrentRevOfUnit'](this[_0x2f5ad5(0x375)]))){if(this[_0x2f5ad5(0x4a6)]){this['_remoteChangesetQueue'][_0x2f5ad5(0x2b6)](_0x24805f);return;}this[_0x2f5ad5(0x2f1)](_0x24805f);}}[_0xfe4f58(0x28f)](){var _0x380c62=_0xfe4f58;this[_0x380c62(0x3f7)][_0x380c62(0x312)](_0x412fa3=>this[_0x380c62(0x2f1)](_0x412fa3)),this[_0x380c62(0x3f7)]=[];}[_0xfe4f58(0x2f1)](_0x381964){var _0x3c5dfc=_0xfe4f58;const _0x186b9d=this[_0x3c5dfc(0x3da)]['interceptor'][_0x3c5dfc(0x336)](this['_compressMutationService'][_0x3c5dfc(0x2e9)][_0x3c5dfc(0x260)]()[_0x3c5dfc(0x41e)])(_0x381964[_0x3c5dfc(0x28a)],null)||_0x381964[_0x3c5dfc(0x28a)],_0x5db45c={..._0x381964,'mutations':_0x186b9d};this[_0x3c5dfc(0x3e1)](),this[_0x3c5dfc(0x4f1)](this[_0x3c5dfc(0x373)][_0x3c5dfc(0x444)](_0x5db45c)),this[_0x3c5dfc(0x294)]();}['_onRemoteACK'](_0x5c9089){var _0x197375=_0xfe4f58;this[_0x197375(0x3e1)](),this[_0x197375(0x4f1)](this[_0x197375(0x373)][_0x197375(0x356)](_0x5c9089)),this[_0x197375(0x294)]();}[_0xfe4f58(0x380)](_0x37e1d9){var _0x2060d9=_0xfe4f58;this[_0x2060d9(0x3e1)](),this[_0x2060d9(0x4f1)](this[_0x2060d9(0x373)][_0x2060d9(0x232)](_0x37e1d9)),this[_0x2060d9(0x294)]();}['_onRemoteRetry'](_0xb00e){var _0x319163=_0xfe4f58;this[_0x319163(0x3e1)](),this['_updateState'](this['_state'][_0x319163(0x306)](_0xb00e)),this[_0x319163(0x294)]();}['_onFetchMissResult'](_0x4dedfe){var _0x47a56b=_0xfe4f58;if(!(this[_0x47a56b(0x373)]instanceof ee))throw new TypeError(_0x47a56b(0x245));const _0x34394b=_0x4dedfe[_0x47a56b(0x38f)](_0x520d73=>{var _0x129275=_0x47a56b;const _0x3ff23f=this['_compressMutationService'][_0x129275(0x2e9)][_0x129275(0x336)](this[_0x129275(0x3da)][_0x129275(0x2e9)][_0x129275(0x260)]()[_0x129275(0x41e)])(_0x520d73[_0x129275(0x28a)],null)||_0x520d73['mutations'];return{..._0x520d73,'mutations':_0x3ff23f};});this['_lockTransition'](),this[_0x47a56b(0x4f1)](this[_0x47a56b(0x373)][_0x47a56b(0x2f4)](_0x34394b)),this[_0x47a56b(0x294)]();}[_0xfe4f58(0x2a5)](){var _0x54f886=_0xfe4f58;this[_0x54f886(0x3e1)](),this[_0x54f886(0x4f1)](this[_0x54f886(0x373)][_0x54f886(0x4b7)]()),this[_0x54f886(0x294)]();}['_toggleOnline'](_0x286374=!0x1){var _0x566c7d=_0xfe4f58;this[_0x566c7d(0x3e1)](),this[_0x566c7d(0x4f1)](this['_state']['toggleOnline']()),this[_0x566c7d(0x294)]();const _0x35bd29=this[_0x566c7d(0x373)];_0x286374&&_0x35bd29 instanceof Ne&&(this[_0x566c7d(0x3e1)](),this[_0x566c7d(0x4f1)](_0x35bd29[_0x566c7d(0x4de)]()),this[_0x566c7d(0x294)]());}async[_0xfe4f58(0x2b8)](){return new Promise(_0x2c37fa=>{var _0x15790a=_0x1071;this[_0x15790a(0x206)][_0x15790a(0x495)][_0x15790a(0x47c)](_0x3c2962(0x1))[_0x15790a(0x48a)](async _0x148859=>{var _0x3d40ea=_0x15790a;_0x2c37fa(await this[_0x3d40ea(0x43d)](_0x148859===Ee[_0x3d40ea(0x367)]));});});}['_createHandler'](){var _0x5a2ad7=_0xfe4f58;const _0x4404ec=this[_0x5a2ad7(0x375)];return{'onStateChange':(_0x35bc0b,_0x28f183)=>{var _0x3cf242=_0x5a2ad7;if(_0x35bc0b!==this[_0x3cf242(0x373)])throw new Error(_0x3cf242(0x4c8)+_0x35bc0b[_0x3cf242(0x32e)]+'\x0aAfter:\x20'+_0x28f183[_0x3cf242(0x32e)]+_0x3cf242(0x39a)+this[_0x3cf242(0x373)]['status']);this[_0x3cf242(0x4f1)](_0x28f183);},'onSendChangeset':_0x23c952=>{var _0x5eb8d6=_0x5a2ad7;_0x23c952[_0x5eb8d6(0x340)]||(_0x23c952['sid']=this['_changesetSessionId'],_0x23c952[_0x5eb8d6(0x450)]=++this['_changesetReqId']);const _0x13473a={'eventID':_0x3534fc[_0x5eb8d6(0x39c)],'data':{'unitID':_0x23c952[_0x5eb8d6(0x375)],'unitType':this[_0x5eb8d6(0x210)],'changeset':_0x23c952,'memberID':this[_0x5eb8d6(0x206)][_0x5eb8d6(0x242)]()}};this[_0x5eb8d6(0x206)]['send'](_0x13473a,this[_0x5eb8d6(0x375)]);},'onMissingChangesets':({from:_0xc1bf38,to:_0x33c723})=>{var _0x37e763=_0x5a2ad7;this['_logService'][_0x37e763(0x2ec)](_0x37e763(0x4e7),_0x37e763(0x377)+_0xc1bf38+_0x37e763(0x438)+_0x33c723);const _0x2b9d34={'eventID':_0x3534fc['FETCH_MISSING'],'data':{'unitID':_0x4404ec,'unitType':this[_0x37e763(0x210)],'from':_0xc1bf38,'to':_0x33c723}};this[_0x37e763(0x206)][_0x37e763(0x3a4)](_0x2b9d34,this[_0x37e763(0x375)]);}};}async['_createInitialStateImpl'](_0x580617){var _0x5401f3=_0xfe4f58,_0xbaf297,_0x5b82a2,_0x59d19a;const _0x44aa1c=await((_0xbaf297=this['_localCacheService'])==null?void 0x0:_0xbaf297['loadOfflineData'](this[_0x5401f3(0x375)])),_0x30a902=(_0x5b82a2=_0x44aa1c==null?void 0x0:_0x44aa1c[_0x5401f3(0x28a)])!=null?_0x5b82a2:[],_0x21916f=(_0x59d19a=_0x44aa1c==null?void 0x0:_0x44aa1c[_0x5401f3(0x4a5)])!=null?_0x59d19a:null,_0x235c82=!!(_0x21916f!=null&&_0x21916f['sid'])&&!!(_0x21916f!=null&&_0x21916f['reqId']);this[_0x5401f3(0x4d9)]=_0x235c82?_0x21916f['sid']:Zn(),this[_0x5401f3(0x205)]=_0x235c82?_0x21916f[_0x5401f3(0x450)]:0x0;const _0x455eb6=this['unitID'];try{this[_0x5401f3(0x4f3)](_0x21916f,_0x30a902);}catch(_0x5a89f6){this[_0x5401f3(0x2e2)][_0x5401f3(0x287)](_0x5a89f6);}const _0x12e174=this['_createHandler']();if(_0x580617){const _0xcfa7bf=Oi(this[_0x5401f3(0x421)],_0x455eb6,this[_0x5401f3(0x210)],_0x21916f,_0x30a902,_0x12e174);return _0xcfa7bf instanceof ae?_0xcfa7bf[_0x5401f3(0x30f)]():(_0xcfa7bf instanceof oe||_0xcfa7bf instanceof le)&&_0xcfa7bf[_0x5401f3(0x2c2)](),_0xcfa7bf;}return this[_0x5401f3(0x421)][_0x5401f3(0x2f7)](de,_0x455eb6,this['_type'],_0x21916f,_0x30a902,_0x12e174);}['_replayCachedMutations'](_0x4f551f,_0xcfcd38){var _0x3c5a81=_0xfe4f58,_0x49bed9,_0x276594;const _0x576d35=this[_0x3c5a81(0x3da)][_0x3c5a81(0x2e9)][_0x3c5a81(0x336)](this[_0x3c5a81(0x3da)][_0x3c5a81(0x2e9)][_0x3c5a81(0x260)]()[_0x3c5a81(0x41e)]);(_0x49bed9=_0x576d35((_0x4f551f==null?void 0x0:_0x4f551f['mutations'])||[],null))==null||_0x49bed9[_0x3c5a81(0x312)](_0x11f703=>this[_0x3c5a81(0x3e7)]['executeCommand'](_0x11f703['id'],_0x11f703[_0x3c5a81(0x2a3)])),(_0x276594=_0x576d35(_0xcfcd38||[],null))==null||_0x276594['forEach'](_0x382dc4=>this['_commandService']['executeCommand'](_0x382dc4['id'],_0x382dc4[_0x3c5a81(0x2a3)]));}};nt=Lt([H(0x3,_0xa221c6(_0x448e61)),H(0x4,_0xa221c6(_0x5ad088)),H(0x5,_0xa221c6(_0x1a6e12)),H(0x6,_0xa221c6(_0x2c856c)),H(0x7,_0xa221c6(pe)),H(0x8,_0x174c69),H(0x9,_0x2c8d8e),H(0xa,_0x5aa8b2),H(0xb,_0x26efdf(ht)),H(0xc,_0x26efdf(J))],nt);let It=class extends nt{constructor(_0x948eaf,_0x512dfa,_0x53f19d,_0x271f9f,_0x2569ad,_0xbd3b6c,_0x5d6b1b,_0x3df948,_0x3815ed,_0x474b0d,_0x3178a0,_0x5ec4e2,_0xa34b9b){var _0x460ff8=_0xfe4f58;super(_0x948eaf,_0x53f19d,_0x512dfa,_0x271f9f,_0x2569ad,_0xbd3b6c,_0x5d6b1b,_0x3df948,_0x3815ed,_0x474b0d,_0x3178a0,_0x5ec4e2,_0xa34b9b),N(this,_0x460ff8(0x33d),null),(this[_0x460ff8(0x375)]=_0x948eaf,this[_0x460ff8(0x255)]=_0x512dfa);}[_0xfe4f58(0x4e4)](_0x2a8e38){var _0xdbc527=_0xfe4f58;this[_0xdbc527(0x33d)]=_0x2a8e38;}[_0xfe4f58(0x264)](){var _0x5c9438=_0xfe4f58;this[_0x5c9438(0x33d)]=null,super['dispose']();}[_0xfe4f58(0x283)](){var _0x1c13b7=_0xfe4f58;const _0x3066b1=super[_0x1c13b7(0x283)]();return _0x3066b1[_0x1c13b7(0x2e0)]=_0x4298e7=>{var _0x39d097=_0x1c13b7,_0x46bff9,_0xb2f057;return(_0xb2f057=(_0x46bff9=this[_0x39d097(0x33d)])==null?void 0x0:_0x46bff9[_0x39d097(0x2e0)])==null?void 0x0:_0xb2f057[_0x39d097(0x3a0)](_0x46bff9,_0x4298e7);},_0x3066b1['onTransformState']=_0x5122a4=>{var _0x34cff1=_0x1c13b7,_0x3cc0d2,_0xc8607c;return(_0xc8607c=(_0x3cc0d2=this[_0x34cff1(0x33d)])==null?void 0x0:_0x3cc0d2[_0x34cff1(0x491)])==null?void 0x0:_0xc8607c['call'](_0x3cc0d2,_0x5122a4);},_0x3066b1[_0x1c13b7(0x24e)]=_0x10e08a=>{var _0x47ce05=_0x1c13b7,_0x367f37,_0x2bca24;return(_0x2bca24=(_0x367f37=this['_handlerCallback'])==null?void 0x0:_0x367f37[_0x47ce05(0x24e)])==null?void 0x0:_0x2bca24['call'](_0x367f37,_0x10e08a);},_0x3066b1[_0x1c13b7(0x350)]=_0x493d7c=>{var _0x1d83a3=_0x1c13b7,_0x32dc5d,_0x53a872;return(_0x53a872=(_0x32dc5d=this['_handlerCallback'])==null?void 0x0:_0x32dc5d['onSyncEditingCollabCursor'])==null?void 0x0:_0x53a872[_0x1d83a3(0x3a0)](_0x32dc5d,_0x493d7c);},_0x3066b1['onTransformRemoteChangesetByIMECache']=_0x15bc4e=>{var _0x2bee73=_0x1c13b7,_0x15310f,_0x489745,_0x308aa4;if(!((_0x15310f=this['_handlerCallback'])!=null&&_0x15310f[_0x2bee73(0x3e9)]))throw new Error(_0x2bee73(0x31d));return(_0x308aa4=(_0x489745=this['_handlerCallback'])==null?void 0x0:_0x489745['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x308aa4[_0x2bee73(0x3a0)](_0x489745,_0x15bc4e);},_0x3066b1[_0x1c13b7(0x422)]=_0x1eb31d=>{var _0x3e23bb=_0x1c13b7,_0x390a7e,_0x26f4d0,_0x33d922;if(!((_0x390a7e=this['_handlerCallback'])!=null&&_0x390a7e[_0x3e23bb(0x422)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x33d922=(_0x26f4d0=this[_0x3e23bb(0x33d)])==null?void 0x0:_0x26f4d0[_0x3e23bb(0x422)])==null?void 0x0:_0x33d922[_0x3e23bb(0x3a0)](_0x26f4d0,_0x1eb31d);},_0x3066b1;}async[_0xfe4f58(0x409)](){var _0x1715fa=_0xfe4f58;const _0x1e753c=await super[_0x1715fa(0x409)]();return this[_0x1715fa(0x387)](this[_0x1715fa(0x3e7)][_0x1715fa(0x2af)]((_0x218978,_0x53f0d2)=>{var _0x1d7b5b=_0x1715fa;if(_0x218978[_0x1d7b5b(0x255)]!==_0x9cacc5[_0x1d7b5b(0x3c4)]||_0x53f0d2!=null&&_0x53f0d2[_0x1d7b5b(0x2c9)]||_0x53f0d2!=null&&_0x53f0d2[_0x1d7b5b(0x2e1)]||_0x218978['id']===_0x21d9eb['id'])return;const _0x10f205=_0x218978[_0x1d7b5b(0x2a3)];if((_0x10f205==null?void 0x0:_0x10f205['unitId'])!==this[_0x1d7b5b(0x375)])return;const _0x424407=_0x218978,_0x49f850=this[_0x1d7b5b(0x3da)][_0x1d7b5b(0x2e9)]['fetchThroughInterceptors'](this[_0x1d7b5b(0x3da)][_0x1d7b5b(0x2e9)]['getInterceptPoints']()[_0x1d7b5b(0x38b)])([_0x424407],null)||[_0x424407];this['_onLocalMutation'](_0x49f850[0x0]);})),_0x1e753c;}};It=Lt([H(0x3,_0xa221c6(_0x448e61)),H(0x4,_0xa221c6(_0x5ad088)),H(0x5,_0xa221c6(_0x1a6e12)),H(0x6,_0xa221c6(_0x2c856c)),H(0x7,_0xa221c6(pe)),H(0x8,_0x174c69),H(0x9,_0x2c8d8e),H(0xa,_0x5aa8b2),H(0xb,_0x26efdf(ht)),H(0xc,_0x26efdf(J))],It);let Tt=class extends nt{constructor(_0x55110d,_0x162a0a,_0x157a78,_0x988f77,_0x2e2f1a,_0x50594b,_0xf6a22a,_0x2ecb77,_0x255f64,_0x17c023,_0x2c4d77,_0x512536,_0x23ccef,_0x4c650){var _0x446522=_0xfe4f58;super(_0x55110d,_0x157a78,_0x162a0a,_0x988f77,_0x2e2f1a,_0x50594b,_0xf6a22a,_0x255f64,_0x17c023,_0x2c4d77,_0x512536,_0x23ccef,_0x4c650),this[_0x446522(0x375)]=_0x55110d,this['type']=_0x162a0a,this['_sheetTransformSelectionsService']=_0x2ecb77;}['_createHandler'](){var _0x3e3afc=_0xfe4f58;const _0x468319=super[_0x3e3afc(0x283)]();return _0x468319['onTransformSelections']=_0x3296c2=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3296c2),_0x468319;}async['_init'](){var _0x45747b=_0xfe4f58;const _0x317d06=await super[_0x45747b(0x409)]();return this[_0x45747b(0x387)](this[_0x45747b(0x3e7)][_0x45747b(0x2af)]((_0x58c921,_0x8e89b6)=>{var _0xb8a908=_0x45747b;if(_0x58c921['type']!==_0x9cacc5[_0xb8a908(0x3c4)]||_0x8e89b6!=null&&_0x8e89b6[_0xb8a908(0x2c9)]||_0x8e89b6!=null&&_0x8e89b6[_0xb8a908(0x2e1)])return;const _0x32758a=_0x58c921[_0xb8a908(0x2a3)];if((_0x32758a==null?void 0x0:_0x32758a[_0xb8a908(0x3b0)])!==this[_0xb8a908(0x375)])return;const _0x27de5b=_0x58c921,_0x22eb99=this[_0xb8a908(0x3da)][_0xb8a908(0x2e9)][_0xb8a908(0x336)](this[_0xb8a908(0x3da)][_0xb8a908(0x2e9)][_0xb8a908(0x260)]()[_0xb8a908(0x38b)])([_0x27de5b],null)||[_0x27de5b];this[_0xb8a908(0x36d)](_0x22eb99[0x0]);})),_0x317d06;}};Tt=Lt([H(0x3,_0xa221c6(_0x448e61)),H(0x4,_0xa221c6(_0x5ad088)),H(0x5,_0xa221c6(_0x1a6e12)),H(0x6,_0xa221c6(_0x2c856c)),H(0x7,_0xa221c6(it)),H(0x8,_0xa221c6(pe)),H(0x9,_0x174c69),H(0xa,_0x2c8d8e),H(0xb,_0x5aa8b2),H(0xc,_0x26efdf(ht)),H(0xd,_0x26efdf(J))],Tt);var os=Object[_0xfe4f58(0x458)],cs=(_0x464bd7,_0x46a794,_0x15db14,_0x302a0c)=>{var _0x3c7ab4=_0xfe4f58;for(var _0x142bb8=_0x302a0c>0x1?void 0x0:_0x302a0c?os(_0x46a794,_0x15db14):_0x46a794,_0x38bfb3=_0x464bd7[_0x3c7ab4(0x4f4)]-0x1,_0x270d61;_0x38bfb3>=0x0;_0x38bfb3--)(_0x270d61=_0x464bd7[_0x38bfb3])&&(_0x142bb8=_0x270d61(_0x142bb8)||_0x142bb8);return _0x142bb8;},ft=(_0x3266cc,_0x64d21b)=>(_0x50d595,_0x458330)=>_0x64d21b(_0x50d595,_0x458330,_0x3266cc);let st=class extends _0x560f21{constructor(_0x43afd7,_0x2606a9,_0x5c76bf){var _0x4fbba2=_0xfe4f58;super(),N(this,_0x4fbba2(0x3e8),new Map()),N(this,_0x4fbba2(0x42f),new _0x5f3a07()),N(this,_0x4fbba2(0x207),this[_0x4fbba2(0x42f)][_0x4fbba2(0x3fd)]()),(this[_0x4fbba2(0x421)]=_0x43afd7,this[_0x4fbba2(0x4c6)]=_0x2606a9,this[_0x4fbba2(0x365)]=_0x5c76bf,this[_0x4fbba2(0x409)]());}['dispose'](){var _0x5daea1=_0xfe4f58;super[_0x5daea1(0x264)](),this[_0x5daea1(0x3e8)][_0x5daea1(0x312)](_0x110f30=>_0x110f30[_0x5daea1(0x264)]()),this[_0x5daea1(0x3e8)][_0x5daea1(0x208)]();}[_0xfe4f58(0x3fb)](_0x59f5f0){var _0x53bc55=_0xfe4f58,_0xf6b747;return(_0xf6b747=this['_entities'][_0x53bc55(0x304)](_0x59f5f0))!=null?_0xf6b747:null;}[_0xfe4f58(0x3b3)](_0x410aba){var _0xf98c7e=_0xfe4f58;const _0x36f098=this[_0xf98c7e(0x3fb)](_0x410aba);return _0x36f098?_0x52822a(_0x36f098):this['_entityInit$'][_0xf98c7e(0x47c)](_0x1114a4(_0x201572=>_0x201572[_0xf98c7e(0x375)]===_0x410aba));}[_0xfe4f58(0x26c)](_0x300844){var _0x313141=_0xfe4f58;return _0x11a9aa(this[_0x313141(0x3b3)](_0x300844)['pipe'](_0x18a5ad(()=>{})));}[_0xfe4f58(0x409)](){var _0x54cb44=_0xfe4f58;this[_0x54cb44(0x365)][_0x54cb44(0x3ce)](_0x3d4c93[_0x54cb44(0x24f)])[_0x54cb44(0x47c)](_0x180b89(this[_0x54cb44(0x358)]),_0x20c95b(0x10))[_0x54cb44(0x48a)](async _0x5d93b2=>{var _0x23deab=_0x54cb44;const _0x16dcec=_0x5d93b2[_0x23deab(0x20c)](),_0x23b55a=await this['_startCollaboration'](_0x16dcec,Q[_0x23deab(0x24f)]);this['_entities'][_0x23deab(0x41d)](_0x16dcec,_0x23b55a);}),this[_0x54cb44(0x365)][_0x54cb44(0x3ce)](_0x3d4c93['UNIVER_DOC'])[_0x54cb44(0x47c)](_0x180b89(this[_0x54cb44(0x358)]),_0x20c95b(0x10))[_0x54cb44(0x47c)](_0x1114a4(_0x3d3268=>!_0x3d3268['getUnitId']()[_0x54cb44(0x217)]('__')))['subscribe'](async _0x50653c=>{var _0x2fc118=_0x54cb44;const _0x4be558=_0x50653c[_0x2fc118(0x20c)](),_0x245f50=await this['_startCollaboration'](_0x4be558,Q[_0x2fc118(0x3d3)]);this[_0x2fc118(0x3e8)][_0x2fc118(0x41d)](_0x4be558,_0x245f50);}),_0x5a4a18(this['_univerInstanceService'][_0x54cb44(0x465)](_0x3d4c93[_0x54cb44(0x24f)]),this[_0x54cb44(0x365)][_0x54cb44(0x465)](_0x3d4c93['UNIVER_DOC']))[_0x54cb44(0x47c)](_0x180b89(this[_0x54cb44(0x358)]))['subscribe'](_0xfafdaf=>{var _0x5d4547=_0x54cb44;const _0x179ffe=_0xfafdaf[_0x5d4547(0x20c)](),_0x1827e7=this[_0x5d4547(0x3e8)][_0x5d4547(0x304)](_0x179ffe);_0x1827e7&&(_0x1827e7['dispose'](),this[_0x5d4547(0x3e8)][_0x5d4547(0x38d)](_0x179ffe));});}async[_0xfe4f58(0x254)](_0x160026,_0x4d0d35){var _0xd45314=_0xfe4f58;const _0x5db3be=await this[_0xd45314(0x4c6)][_0xd45314(0x35a)](_0x160026),_0x4e85aa=this[_0xd45314(0x421)][_0xd45314(0x2f7)](this['_getCtorByUniverType'](_0x4d0d35),_0x160026,_0x4d0d35,_0x5db3be);return await _0x4e85aa[_0xd45314(0x271)](),this[_0xd45314(0x42f)][_0xd45314(0x33e)](_0x4e85aa),_0x4e85aa;}[_0xfe4f58(0x384)](_0x49bc2d){var _0x3abe86=_0xfe4f58;switch(_0x49bc2d){case Q[_0x3abe86(0x3d3)]:return It;case Q[_0x3abe86(0x24f)]:return Tt;default:throw new Error(_0x3abe86(0x41a)+_0x49bc2d);}}};st=cs([ft(0x0,_0xa221c6(_0x448e61)),ft(0x1,_0xa221c6(xe)),ft(0x2,_0x509a63)],st);var hs=Object[_0xfe4f58(0x458)],_s=(_0xd39060,_0x4f0417,_0x4018d9,_0x347136)=>{for(var _0x186176=_0x347136>0x1?void 0x0:_0x347136?hs(_0x4f0417,_0x4018d9):_0x4f0417,_0x12e0c1=_0xd39060['length']-0x1,_0x2bbc1a;_0x12e0c1>=0x0;_0x12e0c1--)(_0x2bbc1a=_0xd39060[_0x12e0c1])&&(_0x186176=_0x2bbc1a(_0x186176)||_0x186176);return _0x186176;},zt=(_0x564940,_0x4a509f)=>(_0x4dad08,_0x274c7b)=>_0x4a509f(_0x4dad08,_0x274c7b,_0x564940);const ls=_0xfe4f58(0x1fe),us=_0xfe4f58(0x3ca);let Ct=class extends _0x3413cf{constructor(_0x2c9848,_0x55814f){var _0x4c21ff=_0xfe4f58;super(),this['_univerInstanceService']=_0x2c9848,this[_0x4c21ff(0x26e)]=_0x55814f,this[_0x4c21ff(0x409)]();}[_0xfe4f58(0x409)](){var _0x2032dd=_0xfe4f58;this[_0x2032dd(0x387)](this['_univerInstanceService']['focused$'][_0x2032dd(0x48a)](()=>{var _0x42defe=_0x2032dd,_0x2018fe;const _0x2d9a9a=this['_univerInstanceService'][_0x42defe(0x3a2)]();let _0x56249e=(_0x2018fe=this[_0x42defe(0x26e)][_0x42defe(0x252)](ls))!=null?_0x2018fe:us;_0x2d9a9a instanceof _0x2b789c&&(_0x56249e=_0x2d9a9a[_0x42defe(0x40e)]),document[_0x42defe(0x4cc)]=_0x56249e;}));}};Ct=_s([zt(0x0,_0x509a63),zt(0x1,_0xfaee79)],Ct);var ds=Object[_0xfe4f58(0x458)],fs=(_0x443944,_0x118b9b,_0x315d16,_0x23f6fd)=>{var _0x15e2bd=_0xfe4f58;for(var _0x4fbc49=_0x23f6fd>0x1?void 0x0:_0x23f6fd?ds(_0x118b9b,_0x315d16):_0x118b9b,_0x4709f8=_0x443944[_0x15e2bd(0x4f4)]-0x1,_0x5b656e;_0x4709f8>=0x0;_0x4709f8--)(_0x5b656e=_0x443944[_0x4709f8])&&(_0x4fbc49=_0x5b656e(_0x4fbc49)||_0x4fbc49);return _0x4fbc49;},vt=(_0x4acf38,_0x43575e)=>(_0xd1b6b7,_0x94db74)=>_0x43575e(_0xd1b6b7,_0x94db74,_0x4acf38);let rt=class{constructor(_0x4b6782,_0x1d7f85,_0xa903b1){var _0x40935d=_0xfe4f58;this[_0x40935d(0x26e)]=_0x4b6782,this[_0x40935d(0x44c)]=_0x1d7f85,this['localeService']=_0xa903b1,this[_0x40935d(0x271)]();}[_0xfe4f58(0x271)](){var _0x63e736=_0xfe4f58;this[_0x63e736(0x44c)][_0x63e736(0x427)]({'priority':0x1,'interceptor':(_0x2bf27f,_0x5194a7)=>_0x5194a7(_0x2bf27f)[_0x63e736(0x47c)](_0x56218d(async _0x41d6f1=>{var _0x5afbc9=_0x63e736;const _0x3a8b71=_0x41d6f1;if(_0x3a8b71['status']===0x191){if(typeof window>'u')throw new Error(_0x5afbc9(0x46d));if(window[_0x5afbc9(0x267)](this[_0x5afbc9(0x470)]['t'](_0x5afbc9(0x224)))){const _0xcd5ef9=window['encodeURIComponent'](window[_0x5afbc9(0x47e)][_0x5afbc9(0x4be)]);window[_0x5afbc9(0x47e)][_0x5afbc9(0x4be)]=this[_0x5afbc9(0x436)]()+_0x5afbc9(0x2c0)+_0xcd5ef9;}}return _0x3a8b71;}))});}['_getLoginPath'](){var _0x153842=_0xfe4f58,_0x22b041,_0x30d65b;const _0x4f48b7=this[_0x153842(0x26e)][_0x153842(0x252)](Un),_0x298dc3=this['_configService'][_0x153842(0x252)](q);return(_0x30d65b=(_0x22b041=_0x298dc3==null?void 0x0:_0x298dc3[_0x153842(0x353)])!=null?_0x22b041:_0x4f48b7)!=null?_0x30d65b:An;}};rt=fs([vt(0x0,_0xfaee79),vt(0x1,_0xa221c6(_0x5ef325)),vt(0x2,_0xa221c6(_0x1a6e12))],rt);var vs=Object[_0xfe4f58(0x458)],ps=(_0x27d2e1,_0x166e7f,_0x137e58,_0x4117ce)=>{var _0x36af02=_0xfe4f58;for(var _0x54fc1b=_0x4117ce>0x1?void 0x0:_0x4117ce?vs(_0x166e7f,_0x137e58):_0x166e7f,_0x53e6ab=_0x27d2e1[_0x36af02(0x4f4)]-0x1,_0x361fa7;_0x53e6ab>=0x0;_0x53e6ab--)(_0x361fa7=_0x27d2e1[_0x53e6ab])&&(_0x54fc1b=_0x361fa7(_0x54fc1b)||_0x54fc1b);return _0x54fc1b;},Jt=(_0x46f3c1,_0x31f359)=>(_0x1e0826,_0x46b065)=>_0x31f359(_0x1e0826,_0x46b065,_0x46f3c1);const Ni=_0xfe4f58(0x448),ms='/universer-api/authz';let Rt=class extends _0x3413cf{constructor(_0x300586,_0x5b8a16){var _0x32d862=_0xfe4f58;super(),this[_0x32d862(0x44d)]=_0x300586,this[_0x32d862(0x26e)]=_0x5b8a16,this[_0x32d862(0x378)]();}[_0xfe4f58(0x378)](){var _0x3aef38=_0xfe4f58;const _0x4665dc=this;this['disposeWithMe'](this[_0x3aef38(0x44d)][_0x3aef38(0x427)]({'priority':0x3e7,'interceptor':_0x191468({'isMatch'(_0x29dfcc){var _0x27994f=_0x3aef38,_0x5ba545;if(_0x29dfcc[_0x27994f(0x259)]===_0x27994f(0x3be)&&((_0x5ba545=_0x29dfcc[_0x27994f(0x3ac)])!=null&&_0x5ba545[_0x27994f(0x4e8)])){const {objectID:_0x5049ea,objectType:_0x2a2074}=_0x29dfcc[_0x27994f(0x3ac)]['body']||{};if(!_0x5049ea||_0x2a2074===void 0x0)return!0x1;const _0x1cc3c3=_0x4665dc[_0x27994f(0x3d1)]()+'/'+_0x2a2074+_0x27994f(0x362)+_0x5049ea+'/allowed';if(_0x29dfcc[_0x27994f(0x3d0)]===_0x1cc3c3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a9c50){var _0x96576e=_0x3aef38,_0x2b7589;return(_0x2b7589=_0x3a9c50['requestParams'])==null?void 0x0:_0x2b7589[_0x96576e(0x4e8)];},'mergeParamsToRequest'(_0x19dcba,_0x42d8ab){var _0x4d3ac8=_0x3aef38;const _0x477164=_0x4665dc[_0x4d3ac8(0x3d1)]()+'/-/object/-/batch_allowed',_0x308171=_0x19dcba[_0x4d3ac8(0x1f3)]((_0x3a25c9,_0x568c6a)=>{var _0x184266=_0x4d3ac8;const {unitID:_0xf6c74,objectID:_0x16bfe7,objectType:_0xbe91ba,actions:_0x86d153}=_0x568c6a;return _0x3a25c9[_0xf6c74]||(_0x3a25c9[_0xf6c74]={}),_0x3a25c9[_0xf6c74][_0x16bfe7]||(_0x3a25c9[_0xf6c74][_0x16bfe7]={'objectID':_0x16bfe7,'objectType':_0xbe91ba,'actions':[]}),_0x3a25c9[_0xf6c74][_0x16bfe7][_0x184266(0x2da)][_0x184266(0x2b6)](..._0x86d153),_0x3a25c9;},{}),_0x3508d4=[];for(const _0x2acba9 in _0x308171)for(const _0x2bd68b in _0x308171[_0x2acba9]){const {actions:_0x39e8ad,objectType:_0x223a15}=_0x308171[_0x2acba9][_0x2bd68b],_0x368a5d=[...new Set(_0x39e8ad)];_0x3508d4[_0x4d3ac8(0x2b6)]({'unitID':_0x2acba9,'objectID':_0x2bd68b,'objectType':_0x223a15,'actions':_0x368a5d});}return new _0x153af5(_0x4d3ac8(0x3be),_0x477164,{'headers':_0x42d8ab[_0x4d3ac8(0x34c)],'withCredentials':_0x42d8ab['withCredentials'],'responseType':_0x42d8ab['responseType'],'body':{'requests':_0x3508d4}});}},{'distributeResult'(_0x3c614a,_0xb39004){var _0x474178=_0x3aef38;const {objectActions:_0x3d4d39}=_0x3c614a;return _0xb39004[_0x474178(0x38f)](_0x34e318=>{var _0x455a8a=_0x474178;const {unitID:_0x5369ff,objectID:_0x55ea4a,actions:_0xfa5824}=_0x34e318,_0x4c6b96=_0x3d4d39[_0x455a8a(0x4f9)](_0x24b36b=>_0x24b36b['unitID']===_0x5369ff&&_0x24b36b[_0x455a8a(0x26b)]===_0x55ea4a),_0x461d3e=_0xfa5824[_0x455a8a(0x38f)](_0x318a3f=>_0x4c6b96==null?void 0x0:_0x4c6b96[_0x455a8a(0x2da)][_0x455a8a(0x4f9)](_0x5550bf=>_0x5550bf['action']===_0x318a3f))['filter'](_0x2d5e60=>!!_0x2d5e60);return{'config':_0x34e318,'result':{'actions':_0x461d3e,'error':_0x3c614a[_0x455a8a(0x287)]}};});}})}));}[_0xfe4f58(0x3d1)](){var _0x264171=_0xfe4f58,_0x4059d8,_0x3e113e;const _0x530963=this[_0x264171(0x26e)][_0x264171(0x252)](Ni),_0x5d0760=this['_configService'][_0x264171(0x252)](q);return(_0x3e113e=(_0x4059d8=_0x5d0760==null?void 0x0:_0x5d0760[_0x264171(0x202)])!=null?_0x4059d8:_0x530963)!=null?_0x3e113e:ms;}async['create'](_0xd534a5){var _0x2e4e7a=_0xfe4f58;const _0x55a960=this[_0x2e4e7a(0x3d1)]()+'/'+_0xd534a5[_0x2e4e7a(0x3dd)]+_0x2e4e7a(0x4f8);return(await this['_HTTPService'][_0x2e4e7a(0x261)](_0x55a960,{'body':_0xd534a5}))[_0x2e4e7a(0x4e8)][_0x2e4e7a(0x26b)]||'';}async[_0xfe4f58(0x3b1)](_0x44c525){var _0x135a02=_0xfe4f58;const _0x146705=this['_getAPIPrefixPath']()+_0x135a02(0x3c9);return(await this[_0x135a02(0x44d)][_0x135a02(0x261)](_0x146705,{'body':_0x44c525}))[_0x135a02(0x4e8)][_0x135a02(0x493)];}async[_0xfe4f58(0x325)](_0x589d9c){var _0x331497=_0xfe4f58,_0x5d2e22,_0x22c146;const _0xddf2ff=this[_0x331497(0x3d1)]()+'/'+_0x589d9c['objectType']+'/object/'+_0x589d9c[_0x331497(0x26b)],_0x1c2376=await this['_HTTPService'][_0x331497(0x3e3)](_0xddf2ff,{'body':_0x589d9c});if(((_0x22c146=(_0x5d2e22=_0x1c2376==null?void 0x0:_0x1c2376[_0x331497(0x4e8)])==null?void 0x0:_0x5d2e22['error'])==null?void 0x0:_0x22c146[_0x331497(0x376)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xfe4f58(0x256)](_0x31de5e){var _0x315e5b=_0xfe4f58;const _0x68c599=this['_getAPIPrefixPath']()+'/'+_0x31de5e[_0x315e5b(0x3dd)]+_0x315e5b(0x362)+_0x31de5e[_0x315e5b(0x26b)]+_0x315e5b(0x213);return(await this[_0x315e5b(0x44d)][_0x315e5b(0x261)](_0x68c599,{'body':_0x31de5e}))['body'][_0x315e5b(0x2da)];}async['batchAllowed'](_0x51d915){var _0x4d870a=_0xfe4f58;const _0x486302=this[_0x4d870a(0x3d1)]()+_0x4d870a(0x3a1);return(await this[_0x4d870a(0x44d)][_0x4d870a(0x261)](_0x486302,{'body':{'requests':_0x51d915}}))[_0x4d870a(0x4e8)][_0x4d870a(0x40c)];}async[_0xfe4f58(0x480)](_0x3282c5){var _0x1a6ebb=_0xfe4f58;const _0x2154b6=this[_0x1a6ebb(0x3d1)]()+'/'+_0x3282c5[_0x1a6ebb(0x3dd)]+'/role',_0x28e286=await this[_0x1a6ebb(0x44d)][_0x1a6ebb(0x261)](_0x2154b6,{'body':_0x3282c5});return{'roles':_0x28e286['body']['roles'],'actions':_0x28e286['body'][_0x1a6ebb(0x2da)]};}async[_0xfe4f58(0x478)](_0x25bda5){var _0x51f56c=_0xfe4f58;const _0x48686b=this['_getAPIPrefixPath']()+_0x51f56c(0x471);await this[_0x51f56c(0x44d)][_0x51f56c(0x38d)](_0x48686b,{'params':{'collaboratorID':_0x25bda5[_0x51f56c(0x3db)],'objectID':_0x25bda5[_0x51f56c(0x26b)],'unitID':_0x25bda5[_0x51f56c(0x375)]}});}async[_0xfe4f58(0x4df)](_0x6ae989){var _0x5cf93=_0xfe4f58;const _0x19233c=this[_0x5cf93(0x3d1)]()+'/collaborator';await this[_0x5cf93(0x44d)][_0x5cf93(0x449)](_0x19233c,{'body':_0x6ae989});}async[_0xfe4f58(0x337)](_0xf98b1a){var _0x1820cc=_0xfe4f58;const _0x415096=this[_0x1820cc(0x3d1)]()+_0x1820cc(0x471);await this[_0x1820cc(0x44d)][_0x1820cc(0x261)](_0x415096,{'body':_0xf98b1a});}async[_0xfe4f58(0x4fc)](_0x5c91df){var _0x4d1b4e=_0xfe4f58;const _0x5950c0=this[_0x4d1b4e(0x3d1)]()+'/collaborator';return(await this[_0x4d1b4e(0x44d)]['get'](_0x5950c0,{'params':{'objectID':_0x5c91df[_0x4d1b4e(0x26b)],'unitID':_0x5c91df[_0x4d1b4e(0x375)]}}))[_0x4d1b4e(0x4e8)][_0x4d1b4e(0x354)];}async[_0xfe4f58(0x27b)](_0x4d9900){var _0x441088=_0xfe4f58;const _0x5b613e=this[_0x441088(0x3d1)]()+_0x441088(0x471);await this['_HTTPService'][_0x441088(0x3e3)](_0x5b613e,{'body':_0x4d9900});}};Rt=ps([Jt(0x0,_0xa221c6(_0x5ef325)),Jt(0x1,_0xa221c6(_0xfaee79))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x217b75){var _0x36a001=_0xfe4f58;return _0x217b75&&_0x217b75['__esModule']&&Object[_0x36a001(0x28d)]['hasOwnProperty']['call'](_0x217b75,_0x36a001(0x370))?_0x217b75[_0x36a001(0x370)]:_0x217b75;}var Ve={'exports':{}};function gs(_0x204820){var _0x570278=_0xfe4f58;throw new Error(_0x570278(0x48c)+_0x204820+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0xfe4f58(0x281)],Xt;function ie(){return Xt||(Xt=0x1,function(_0x14fa92,_0x1afb7f){(function(_0x5181fc,_0x4323bf){var _0xeefdbe=_0x1071;_0x14fa92[_0xeefdbe(0x281)]=_0x4323bf();}(Ss,function(){var _0x424389=_0x424389||function(_0x2d208d,_0x5c4a9e){var _0x35911e=_0x1071,_0x78aea1;if(typeof window<'u'&&window[_0x35911e(0x22a)]&&(_0x78aea1=window[_0x35911e(0x22a)]),typeof self<'u'&&self['crypto']&&(_0x78aea1=self[_0x35911e(0x22a)]),typeof globalThis<'u'&&globalThis[_0x35911e(0x22a)]&&(_0x78aea1=globalThis[_0x35911e(0x22a)]),!_0x78aea1&&typeof window<'u'&&window[_0x35911e(0x3ea)]&&(_0x78aea1=window[_0x35911e(0x3ea)]),!_0x78aea1&&typeof pt<'u'&&pt[_0x35911e(0x22a)]&&(_0x78aea1=pt['crypto']),!_0x78aea1&&typeof gs==_0x35911e(0x482))try{_0x78aea1=require(_0x35911e(0x22a));}catch{}var _0x52ec79=function(){var _0x50535a=_0x35911e;if(_0x78aea1){if(typeof _0x78aea1[_0x50535a(0x4e5)]==_0x50535a(0x482))try{return _0x78aea1['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x78aea1['randomBytes']==_0x50535a(0x482))try{return _0x78aea1['randomBytes'](0x4)[_0x50535a(0x2f0)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xea0ca3=Object['create']||(function(){function _0x55ea86(){}return function(_0x19d6c0){var _0x1baf30=_0x1071,_0x11c8fb;return _0x55ea86[_0x1baf30(0x28d)]=_0x19d6c0,_0x11c8fb=new _0x55ea86(),_0x55ea86['prototype']=null,_0x11c8fb;};}()),_0x50d772={},_0x1b7e75=_0x50d772[_0x35911e(0x20a)]={},_0x52a1f6=_0x1b7e75[_0x35911e(0x389)]=(function(){return{'extend':function(_0x5e0660){var _0x5909a6=_0x1071,_0x40d159=_0xea0ca3(this);return _0x5e0660&&_0x40d159[_0x5909a6(0x49f)](_0x5e0660),(!_0x40d159[_0x5909a6(0x4c2)]('init')||this[_0x5909a6(0x271)]===_0x40d159[_0x5909a6(0x271)])&&(_0x40d159[_0x5909a6(0x271)]=function(){var _0x370141=_0x5909a6;_0x40d159[_0x370141(0x2e5)][_0x370141(0x271)]['apply'](this,arguments);}),_0x40d159[_0x5909a6(0x271)]['prototype']=_0x40d159,_0x40d159[_0x5909a6(0x2e5)]=this,_0x40d159;},'create':function(){var _0x2c7b28=_0x1071,_0x4889bd=this[_0x2c7b28(0x4b0)]();return _0x4889bd[_0x2c7b28(0x271)][_0x2c7b28(0x4f2)](_0x4889bd,arguments),_0x4889bd;},'init':function(){},'mixIn':function(_0x36f1c0){var _0x140865=_0x1071;for(var _0x11b8c3 in _0x36f1c0)_0x36f1c0['hasOwnProperty'](_0x11b8c3)&&(this[_0x11b8c3]=_0x36f1c0[_0x11b8c3]);_0x36f1c0[_0x140865(0x4c2)](_0x140865(0x2d2))&&(this[_0x140865(0x2d2)]=_0x36f1c0['toString']);},'clone':function(){var _0x5f31e9=_0x1071;return this['init']['prototype'][_0x5f31e9(0x4b0)](this);}};}()),_0x58aa98=_0x1b7e75[_0x35911e(0x233)]=_0x52a1f6['extend']({'init':function(_0x41b41c,_0x5d8c95){var _0x348962=_0x35911e;_0x41b41c=this[_0x348962(0x42c)]=_0x41b41c||[],_0x5d8c95!=_0x5c4a9e?this[_0x348962(0x2b0)]=_0x5d8c95:this[_0x348962(0x2b0)]=_0x41b41c[_0x348962(0x4f4)]*0x4;},'toString':function(_0x47a28e){var _0x36b078=_0x35911e;return(_0x47a28e||_0x2a0258)[_0x36b078(0x3a8)](this);},'concat':function(_0xb95f16){var _0x55a270=_0x35911e,_0x3a28d9=this[_0x55a270(0x42c)],_0x23d1f4=_0xb95f16['words'],_0x302c05=this[_0x55a270(0x2b0)],_0x4fc292=_0xb95f16[_0x55a270(0x2b0)];if(this[_0x55a270(0x3dc)](),_0x302c05%0x4)for(var _0x4d027b=0x0;_0x4d027b<_0x4fc292;_0x4d027b++){var _0x5b9d24=_0x23d1f4[_0x4d027b>>>0x2]>>>0x18-_0x4d027b%0x4*0x8&0xff;_0x3a28d9[_0x302c05+_0x4d027b>>>0x2]|=_0x5b9d24<<0x18-(_0x302c05+_0x4d027b)%0x4*0x8;}else{for(var _0x5769d1=0x0;_0x5769d1<_0x4fc292;_0x5769d1+=0x4)_0x3a28d9[_0x302c05+_0x5769d1>>>0x2]=_0x23d1f4[_0x5769d1>>>0x2];}return this[_0x55a270(0x2b0)]+=_0x4fc292,this;},'clamp':function(){var _0x5b4426=_0x35911e,_0x288f15=this[_0x5b4426(0x42c)],_0x8b75b0=this[_0x5b4426(0x2b0)];_0x288f15[_0x8b75b0>>>0x2]&=0xffffffff<<0x20-_0x8b75b0%0x4*0x8,_0x288f15[_0x5b4426(0x4f4)]=_0x2d208d['ceil'](_0x8b75b0/0x4);},'clone':function(){var _0x39db1c=_0x35911e,_0x4a824f=_0x52a1f6[_0x39db1c(0x4f7)][_0x39db1c(0x3a0)](this);return _0x4a824f['words']=this[_0x39db1c(0x42c)][_0x39db1c(0x4bd)](0x0),_0x4a824f;},'random':function(_0x2b5af3){var _0x24b27f=_0x35911e;for(var _0x428314=[],_0x1af863=0x0;_0x1af863<_0x2b5af3;_0x1af863+=0x4)_0x428314[_0x24b27f(0x2b6)](_0x52ec79());return new _0x58aa98['init'](_0x428314,_0x2b5af3);}}),_0x37eaa9=_0x50d772[_0x35911e(0x467)]={},_0x2a0258=_0x37eaa9[_0x35911e(0x3cd)]={'stringify':function(_0xed6882){var _0xf06337=_0x35911e;for(var _0x5ef7d1=_0xed6882[_0xf06337(0x42c)],_0x553904=_0xed6882[_0xf06337(0x2b0)],_0x62c5e3=[],_0x1f0f5e=0x0;_0x1f0f5e<_0x553904;_0x1f0f5e++){var _0x1bc375=_0x5ef7d1[_0x1f0f5e>>>0x2]>>>0x18-_0x1f0f5e%0x4*0x8&0xff;_0x62c5e3['push']((_0x1bc375>>>0x4)[_0xf06337(0x2d2)](0x10)),_0x62c5e3[_0xf06337(0x2b6)]((_0x1bc375&0xf)['toString'](0x10));}return _0x62c5e3[_0xf06337(0x428)]('');},'parse':function(_0x500b9f){var _0x13f089=_0x35911e;for(var _0x4f7bae=_0x500b9f[_0x13f089(0x4f4)],_0x56d007=[],_0x1d3c00=0x0;_0x1d3c00<_0x4f7bae;_0x1d3c00+=0x2)_0x56d007[_0x1d3c00>>>0x3]|=parseInt(_0x500b9f['substr'](_0x1d3c00,0x2),0x10)<<0x18-_0x1d3c00%0x8*0x4;return new _0x58aa98[(_0x13f089(0x271))](_0x56d007,_0x4f7bae/0x2);}},_0x8ec950=_0x37eaa9[_0x35911e(0x38c)]={'stringify':function(_0x120154){var _0x15111c=_0x35911e;for(var _0x5b0e5c=_0x120154[_0x15111c(0x42c)],_0x552dab=_0x120154['sigBytes'],_0x5302d4=[],_0x17e619=0x0;_0x17e619<_0x552dab;_0x17e619++){var _0x1abd48=_0x5b0e5c[_0x17e619>>>0x2]>>>0x18-_0x17e619%0x4*0x8&0xff;_0x5302d4[_0x15111c(0x2b6)](String['fromCharCode'](_0x1abd48));}return _0x5302d4[_0x15111c(0x428)]('');},'parse':function(_0x1cc979){var _0x59949d=_0x35911e;for(var _0x5e619e=_0x1cc979['length'],_0x18e0c8=[],_0x21d9c1=0x0;_0x21d9c1<_0x5e619e;_0x21d9c1++)_0x18e0c8[_0x21d9c1>>>0x2]|=(_0x1cc979['charCodeAt'](_0x21d9c1)&0xff)<<0x18-_0x21d9c1%0x4*0x8;return new _0x58aa98[(_0x59949d(0x271))](_0x18e0c8,_0x5e619e);}},_0x1d1925=_0x37eaa9[_0x35911e(0x241)]={'stringify':function(_0x46c119){var _0x179641=_0x35911e;try{return decodeURIComponent(escape(_0x8ec950[_0x179641(0x3a8)](_0x46c119)));}catch{throw new Error(_0x179641(0x22c));}},'parse':function(_0x48719b){var _0x452fa7=_0x35911e;return _0x8ec950[_0x452fa7(0x4b5)](unescape(encodeURIComponent(_0x48719b)));}},_0x5854e8=_0x1b7e75[_0x35911e(0x3c2)]=_0x52a1f6[_0x35911e(0x4b0)]({'reset':function(){var _0x28cb99=_0x35911e;this[_0x28cb99(0x279)]=new _0x58aa98[(_0x28cb99(0x271))](),this[_0x28cb99(0x447)]=0x0;},'_append':function(_0xd5a7f1){var _0x2e9460=_0x35911e;typeof _0xd5a7f1==_0x2e9460(0x4c4)&&(_0xd5a7f1=_0x1d1925[_0x2e9460(0x4b5)](_0xd5a7f1)),this[_0x2e9460(0x279)][_0x2e9460(0x268)](_0xd5a7f1),this[_0x2e9460(0x447)]+=_0xd5a7f1[_0x2e9460(0x2b0)];},'_process':function(_0x438732){var _0x5f1c5e=_0x35911e,_0x264240,_0x46a7cd=this[_0x5f1c5e(0x279)],_0x52aeaa=_0x46a7cd['words'],_0x286124=_0x46a7cd[_0x5f1c5e(0x2b0)],_0x1fb3a0=this[_0x5f1c5e(0x2ac)],_0x558d52=_0x1fb3a0*0x4,_0x3dc432=_0x286124/_0x558d52;_0x438732?_0x3dc432=_0x2d208d[_0x5f1c5e(0x228)](_0x3dc432):_0x3dc432=_0x2d208d[_0x5f1c5e(0x33c)]((_0x3dc432|0x0)-this[_0x5f1c5e(0x34f)],0x0);var _0x33ce68=_0x3dc432*_0x1fb3a0,_0x11f24e=_0x2d208d[_0x5f1c5e(0x49c)](_0x33ce68*0x4,_0x286124);if(_0x33ce68){for(var _0x20d902=0x0;_0x20d902<_0x33ce68;_0x20d902+=_0x1fb3a0)this[_0x5f1c5e(0x215)](_0x52aeaa,_0x20d902);_0x264240=_0x52aeaa['splice'](0x0,_0x33ce68),_0x46a7cd[_0x5f1c5e(0x2b0)]-=_0x11f24e;}return new _0x58aa98['init'](_0x264240,_0x11f24e);},'clone':function(){var _0x3417cc=_0x35911e,_0xc62aef=_0x52a1f6[_0x3417cc(0x4f7)][_0x3417cc(0x3a0)](this);return _0xc62aef[_0x3417cc(0x279)]=this[_0x3417cc(0x279)][_0x3417cc(0x4f7)](),_0xc62aef;},'_minBufferSize':0x0});_0x1b7e75[_0x35911e(0x38a)]=_0x5854e8[_0x35911e(0x4b0)]({'cfg':_0x52a1f6[_0x35911e(0x4b0)](),'init':function(_0x3db6ab){var _0x37dbf0=_0x35911e;this[_0x37dbf0(0x440)]=this[_0x37dbf0(0x440)]['extend'](_0x3db6ab),this['reset']();},'reset':function(){var _0x547886=_0x35911e;_0x5854e8[_0x547886(0x40f)][_0x547886(0x3a0)](this),this[_0x547886(0x292)]();},'update':function(_0x4e00e2){var _0x26f231=_0x35911e;return this[_0x26f231(0x25f)](_0x4e00e2),this[_0x26f231(0x3f5)](),this;},'finalize':function(_0x12bd52){var _0x27a4b8=_0x35911e;_0x12bd52&&this[_0x27a4b8(0x25f)](_0x12bd52);var _0x371dc2=this[_0x27a4b8(0x37b)]();return _0x371dc2;},'blockSize':0x10,'_createHelper':function(_0xe5e9e8){return function(_0x8a3bed,_0x2b0ad0){var _0x1f96ac=_0x1071;return new _0xe5e9e8[(_0x1f96ac(0x271))](_0x2b0ad0)[_0x1f96ac(0x4d1)](_0x8a3bed);};},'_createHmacHelper':function(_0x155dfe){return function(_0x35dbc1,_0x23cb17){var _0x3385fc=_0x1071;return new _0x494989[(_0x3385fc(0x459))][(_0x3385fc(0x271))](_0x155dfe,_0x23cb17)[_0x3385fc(0x4d1)](_0x35dbc1);};}});var _0x494989=_0x50d772[_0x35911e(0x4dc)]={};return _0x50d772;}(Math);return _0x424389;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0xfe4f58(0x281)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x39cea1,_0x4315ce){(function(_0x1e6253,_0x4d51ca){var _0x35a83e=_0x1071;_0x39cea1[_0x35a83e(0x281)]=_0x4d51ca(ie());}(Es,function(_0x297cb9){var _0x30ea48=_0x1071;return(function(){var _0x2f4994=_0x1071,_0x1425df=_0x297cb9,_0x1feeb4=_0x1425df[_0x2f4994(0x20a)],_0x5785f1=_0x1feeb4[_0x2f4994(0x233)],_0x3953a7=_0x1425df[_0x2f4994(0x467)];_0x3953a7[_0x2f4994(0x432)]={'stringify':function(_0x2808e1){var _0x50fcdd=_0x2f4994,_0x157b42=_0x2808e1['words'],_0xcbf47f=_0x2808e1[_0x50fcdd(0x2b0)],_0x416b6e=this[_0x50fcdd(0x1ff)];_0x2808e1['clamp']();for(var _0x165229=[],_0xf7da15=0x0;_0xf7da15<_0xcbf47f;_0xf7da15+=0x3)for(var _0x529f68=_0x157b42[_0xf7da15>>>0x2]>>>0x18-_0xf7da15%0x4*0x8&0xff,_0x177d3b=_0x157b42[_0xf7da15+0x1>>>0x2]>>>0x18-(_0xf7da15+0x1)%0x4*0x8&0xff,_0x327075=_0x157b42[_0xf7da15+0x2>>>0x2]>>>0x18-(_0xf7da15+0x2)%0x4*0x8&0xff,_0x340fba=_0x529f68<<0x10|_0x177d3b<<0x8|_0x327075,_0x16ecab=0x0;_0x16ecab<0x4&&_0xf7da15+_0x16ecab*0.75<_0xcbf47f;_0x16ecab++)_0x165229[_0x50fcdd(0x2b6)](_0x416b6e['charAt'](_0x340fba>>>0x6*(0x3-_0x16ecab)&0x3f));var _0x1e540c=_0x416b6e[_0x50fcdd(0x474)](0x40);if(_0x1e540c){for(;_0x165229[_0x50fcdd(0x4f4)]%0x4;)_0x165229[_0x50fcdd(0x2b6)](_0x1e540c);}return _0x165229['join']('');},'parse':function(_0xec5689){var _0x302d0d=_0x2f4994,_0x28809a=_0xec5689[_0x302d0d(0x4f4)],_0x262580=this[_0x302d0d(0x1ff)],_0x5481d1=this[_0x302d0d(0x1f9)];if(!_0x5481d1){_0x5481d1=this[_0x302d0d(0x1f9)]=[];for(var _0x1328c4=0x0;_0x1328c4<_0x262580['length'];_0x1328c4++)_0x5481d1[_0x262580[_0x302d0d(0x486)](_0x1328c4)]=_0x1328c4;}var _0x4232cc=_0x262580[_0x302d0d(0x474)](0x40);if(_0x4232cc){var _0xcbfeba=_0xec5689[_0x302d0d(0x35d)](_0x4232cc);_0xcbfeba!==-0x1&&(_0x28809a=_0xcbfeba);}return _0x2c47c4(_0xec5689,_0x28809a,_0x5481d1);},'_map':_0x2f4994(0x3a3)};function _0x2c47c4(_0x3ec821,_0x2556bb,_0x5e48f4){var _0x60a347=_0x2f4994;for(var _0x21627f=[],_0x2d7beb=0x0,_0x9a45a2=0x0;_0x9a45a2<_0x2556bb;_0x9a45a2++)if(_0x9a45a2%0x4){var _0x4a353a=_0x5e48f4[_0x3ec821[_0x60a347(0x486)](_0x9a45a2-0x1)]<<_0x9a45a2%0x4*0x2,_0x1f7597=_0x5e48f4[_0x3ec821[_0x60a347(0x486)](_0x9a45a2)]>>>0x6-_0x9a45a2%0x4*0x2,_0x117b77=_0x4a353a|_0x1f7597;_0x21627f[_0x2d7beb>>>0x2]|=_0x117b77<<0x18-_0x2d7beb%0x4*0x8,_0x2d7beb++;}return _0x5785f1['create'](_0x21627f,_0x2d7beb);}}()),_0x297cb9[_0x30ea48(0x467)][_0x30ea48(0x432)];}));}(We)),We['exports'];}var Ke={'exports':{}},Is=Ke['exports'],Qt;function Ts(){var _0x38cd0f=_0xfe4f58;return Qt||(Qt=0x1,function(_0x3d1b57,_0x399ae9){(function(_0x3de91d,_0x2c1a4c){var _0x36264a=_0x1071;_0x3d1b57[_0x36264a(0x281)]=_0x2c1a4c(ie());}(Is,function(_0xfd40c2){var _0x17c78d=_0x1071;return function(_0x4858dc){var _0x5a4e30=_0x1071,_0x211283=_0xfd40c2,_0x5f1dcb=_0x211283[_0x5a4e30(0x20a)],_0x3c4948=_0x5f1dcb[_0x5a4e30(0x233)],_0x584f0e=_0x5f1dcb[_0x5a4e30(0x38a)],_0x59ed8e=_0x211283[_0x5a4e30(0x4dc)],_0x3d1f26=[];(function(){var _0x3db4e0=_0x5a4e30;for(var _0x1dd8dd=0x0;_0x1dd8dd<0x40;_0x1dd8dd++)_0x3d1f26[_0x1dd8dd]=_0x4858dc['abs'](_0x4858dc[_0x3db4e0(0x3cc)](_0x1dd8dd+0x1))*0x100000000|0x0;}());var _0x5442be=_0x59ed8e['MD5']=_0x584f0e[_0x5a4e30(0x4b0)]({'_doReset':function(){var _0x56edbd=_0x5a4e30;this[_0x56edbd(0x4e0)]=new _0x3c4948[(_0x56edbd(0x271))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fe599,_0x4e64f1){var _0x3da00c=_0x5a4e30;for(var _0x1af6d3=0x0;_0x1af6d3<0x10;_0x1af6d3++){var _0xa26f4b=_0x4e64f1+_0x1af6d3,_0x322c36=_0x3fe599[_0xa26f4b];_0x3fe599[_0xa26f4b]=(_0x322c36<<0x8|_0x322c36>>>0x18)&0xff00ff|(_0x322c36<<0x18|_0x322c36>>>0x8)&0xff00ff00;}var _0x398fad=this[_0x3da00c(0x4e0)][_0x3da00c(0x42c)],_0x4c6a57=_0x3fe599[_0x4e64f1+0x0],_0x208f3e=_0x3fe599[_0x4e64f1+0x1],_0x4daf23=_0x3fe599[_0x4e64f1+0x2],_0x4bd779=_0x3fe599[_0x4e64f1+0x3],_0x3a1542=_0x3fe599[_0x4e64f1+0x4],_0xbfcd=_0x3fe599[_0x4e64f1+0x5],_0xe17f24=_0x3fe599[_0x4e64f1+0x6],_0x18266f=_0x3fe599[_0x4e64f1+0x7],_0x14bd9d=_0x3fe599[_0x4e64f1+0x8],_0x450d27=_0x3fe599[_0x4e64f1+0x9],_0x4e1ea5=_0x3fe599[_0x4e64f1+0xa],_0x25bc0b=_0x3fe599[_0x4e64f1+0xb],_0x3025db=_0x3fe599[_0x4e64f1+0xc],_0x5c2ce2=_0x3fe599[_0x4e64f1+0xd],_0xa38b06=_0x3fe599[_0x4e64f1+0xe],_0x1a2350=_0x3fe599[_0x4e64f1+0xf],_0x340db2=_0x398fad[0x0],_0x52d6b6=_0x398fad[0x1],_0x4b7c3f=_0x398fad[0x2],_0x22861=_0x398fad[0x3];_0x340db2=_0x44e803(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x4c6a57,0x7,_0x3d1f26[0x0]),_0x22861=_0x44e803(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x208f3e,0xc,_0x3d1f26[0x1]),_0x4b7c3f=_0x44e803(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4daf23,0x11,_0x3d1f26[0x2]),_0x52d6b6=_0x44e803(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x4bd779,0x16,_0x3d1f26[0x3]),_0x340db2=_0x44e803(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x3a1542,0x7,_0x3d1f26[0x4]),_0x22861=_0x44e803(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0xbfcd,0xc,_0x3d1f26[0x5]),_0x4b7c3f=_0x44e803(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0xe17f24,0x11,_0x3d1f26[0x6]),_0x52d6b6=_0x44e803(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x18266f,0x16,_0x3d1f26[0x7]),_0x340db2=_0x44e803(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x14bd9d,0x7,_0x3d1f26[0x8]),_0x22861=_0x44e803(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x450d27,0xc,_0x3d1f26[0x9]),_0x4b7c3f=_0x44e803(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4e1ea5,0x11,_0x3d1f26[0xa]),_0x52d6b6=_0x44e803(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x25bc0b,0x16,_0x3d1f26[0xb]),_0x340db2=_0x44e803(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x3025db,0x7,_0x3d1f26[0xc]),_0x22861=_0x44e803(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x5c2ce2,0xc,_0x3d1f26[0xd]),_0x4b7c3f=_0x44e803(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0xa38b06,0x11,_0x3d1f26[0xe]),_0x52d6b6=_0x44e803(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x1a2350,0x16,_0x3d1f26[0xf]),_0x340db2=_0x248ae8(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x208f3e,0x5,_0x3d1f26[0x10]),_0x22861=_0x248ae8(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0xe17f24,0x9,_0x3d1f26[0x11]),_0x4b7c3f=_0x248ae8(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x25bc0b,0xe,_0x3d1f26[0x12]),_0x52d6b6=_0x248ae8(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x4c6a57,0x14,_0x3d1f26[0x13]),_0x340db2=_0x248ae8(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0xbfcd,0x5,_0x3d1f26[0x14]),_0x22861=_0x248ae8(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x4e1ea5,0x9,_0x3d1f26[0x15]),_0x4b7c3f=_0x248ae8(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x1a2350,0xe,_0x3d1f26[0x16]),_0x52d6b6=_0x248ae8(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x3a1542,0x14,_0x3d1f26[0x17]),_0x340db2=_0x248ae8(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x450d27,0x5,_0x3d1f26[0x18]),_0x22861=_0x248ae8(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0xa38b06,0x9,_0x3d1f26[0x19]),_0x4b7c3f=_0x248ae8(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4bd779,0xe,_0x3d1f26[0x1a]),_0x52d6b6=_0x248ae8(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x14bd9d,0x14,_0x3d1f26[0x1b]),_0x340db2=_0x248ae8(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x5c2ce2,0x5,_0x3d1f26[0x1c]),_0x22861=_0x248ae8(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x4daf23,0x9,_0x3d1f26[0x1d]),_0x4b7c3f=_0x248ae8(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x18266f,0xe,_0x3d1f26[0x1e]),_0x52d6b6=_0x248ae8(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x3025db,0x14,_0x3d1f26[0x1f]),_0x340db2=_0x4d27d2(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0xbfcd,0x4,_0x3d1f26[0x20]),_0x22861=_0x4d27d2(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x14bd9d,0xb,_0x3d1f26[0x21]),_0x4b7c3f=_0x4d27d2(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x25bc0b,0x10,_0x3d1f26[0x22]),_0x52d6b6=_0x4d27d2(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0xa38b06,0x17,_0x3d1f26[0x23]),_0x340db2=_0x4d27d2(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x208f3e,0x4,_0x3d1f26[0x24]),_0x22861=_0x4d27d2(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x3a1542,0xb,_0x3d1f26[0x25]),_0x4b7c3f=_0x4d27d2(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x18266f,0x10,_0x3d1f26[0x26]),_0x52d6b6=_0x4d27d2(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x4e1ea5,0x17,_0x3d1f26[0x27]),_0x340db2=_0x4d27d2(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x5c2ce2,0x4,_0x3d1f26[0x28]),_0x22861=_0x4d27d2(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x4c6a57,0xb,_0x3d1f26[0x29]),_0x4b7c3f=_0x4d27d2(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4bd779,0x10,_0x3d1f26[0x2a]),_0x52d6b6=_0x4d27d2(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0xe17f24,0x17,_0x3d1f26[0x2b]),_0x340db2=_0x4d27d2(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x450d27,0x4,_0x3d1f26[0x2c]),_0x22861=_0x4d27d2(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x3025db,0xb,_0x3d1f26[0x2d]),_0x4b7c3f=_0x4d27d2(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x1a2350,0x10,_0x3d1f26[0x2e]),_0x52d6b6=_0x4d27d2(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x4daf23,0x17,_0x3d1f26[0x2f]),_0x340db2=_0x585b7a(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x4c6a57,0x6,_0x3d1f26[0x30]),_0x22861=_0x585b7a(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x18266f,0xa,_0x3d1f26[0x31]),_0x4b7c3f=_0x585b7a(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0xa38b06,0xf,_0x3d1f26[0x32]),_0x52d6b6=_0x585b7a(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0xbfcd,0x15,_0x3d1f26[0x33]),_0x340db2=_0x585b7a(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x3025db,0x6,_0x3d1f26[0x34]),_0x22861=_0x585b7a(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x4bd779,0xa,_0x3d1f26[0x35]),_0x4b7c3f=_0x585b7a(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4e1ea5,0xf,_0x3d1f26[0x36]),_0x52d6b6=_0x585b7a(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x208f3e,0x15,_0x3d1f26[0x37]),_0x340db2=_0x585b7a(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x14bd9d,0x6,_0x3d1f26[0x38]),_0x22861=_0x585b7a(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x1a2350,0xa,_0x3d1f26[0x39]),_0x4b7c3f=_0x585b7a(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0xe17f24,0xf,_0x3d1f26[0x3a]),_0x52d6b6=_0x585b7a(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x5c2ce2,0x15,_0x3d1f26[0x3b]),_0x340db2=_0x585b7a(_0x340db2,_0x52d6b6,_0x4b7c3f,_0x22861,_0x3a1542,0x6,_0x3d1f26[0x3c]),_0x22861=_0x585b7a(_0x22861,_0x340db2,_0x52d6b6,_0x4b7c3f,_0x25bc0b,0xa,_0x3d1f26[0x3d]),_0x4b7c3f=_0x585b7a(_0x4b7c3f,_0x22861,_0x340db2,_0x52d6b6,_0x4daf23,0xf,_0x3d1f26[0x3e]),_0x52d6b6=_0x585b7a(_0x52d6b6,_0x4b7c3f,_0x22861,_0x340db2,_0x450d27,0x15,_0x3d1f26[0x3f]),_0x398fad[0x0]=_0x398fad[0x0]+_0x340db2|0x0,_0x398fad[0x1]=_0x398fad[0x1]+_0x52d6b6|0x0,_0x398fad[0x2]=_0x398fad[0x2]+_0x4b7c3f|0x0,_0x398fad[0x3]=_0x398fad[0x3]+_0x22861|0x0;},'_doFinalize':function(){var _0xd2a2c4=_0x5a4e30,_0x114d28=this[_0xd2a2c4(0x279)],_0x39eadc=_0x114d28[_0xd2a2c4(0x42c)],_0x3a0166=this['_nDataBytes']*0x8,_0xd3edad=_0x114d28['sigBytes']*0x8;_0x39eadc[_0xd3edad>>>0x5]|=0x80<<0x18-_0xd3edad%0x20;var _0x225418=_0x4858dc[_0xd2a2c4(0x40b)](_0x3a0166/0x100000000),_0xaa0a6b=_0x3a0166;_0x39eadc[(_0xd3edad+0x40>>>0x9<<0x4)+0xf]=(_0x225418<<0x8|_0x225418>>>0x18)&0xff00ff|(_0x225418<<0x18|_0x225418>>>0x8)&0xff00ff00,_0x39eadc[(_0xd3edad+0x40>>>0x9<<0x4)+0xe]=(_0xaa0a6b<<0x8|_0xaa0a6b>>>0x18)&0xff00ff|(_0xaa0a6b<<0x18|_0xaa0a6b>>>0x8)&0xff00ff00,_0x114d28[_0xd2a2c4(0x2b0)]=(_0x39eadc['length']+0x1)*0x4,this[_0xd2a2c4(0x3f5)]();for(var _0x43c789=this['_hash'],_0x87afc5=_0x43c789[_0xd2a2c4(0x42c)],_0x3fd462=0x0;_0x3fd462<0x4;_0x3fd462++){var _0x347550=_0x87afc5[_0x3fd462];_0x87afc5[_0x3fd462]=(_0x347550<<0x8|_0x347550>>>0x18)&0xff00ff|(_0x347550<<0x18|_0x347550>>>0x8)&0xff00ff00;}return _0x43c789;},'clone':function(){var _0x2ca0ed=_0x5a4e30,_0x59062b=_0x584f0e[_0x2ca0ed(0x4f7)][_0x2ca0ed(0x3a0)](this);return _0x59062b[_0x2ca0ed(0x4e0)]=this[_0x2ca0ed(0x4e0)]['clone'](),_0x59062b;}});function _0x44e803(_0x1f2d7b,_0x34d61e,_0x59b3ad,_0xae1548,_0x451d9b,_0x2131a7,_0x5dcc71){var _0x482997=_0x1f2d7b+(_0x34d61e&_0x59b3ad|~_0x34d61e&_0xae1548)+_0x451d9b+_0x5dcc71;return(_0x482997<<_0x2131a7|_0x482997>>>0x20-_0x2131a7)+_0x34d61e;}function _0x248ae8(_0x42825f,_0x616b6c,_0x5303bf,_0x57c3a7,_0x5be7e4,_0x3874dd,_0x3b81bf){var _0x3f8aa2=_0x42825f+(_0x616b6c&_0x57c3a7|_0x5303bf&~_0x57c3a7)+_0x5be7e4+_0x3b81bf;return(_0x3f8aa2<<_0x3874dd|_0x3f8aa2>>>0x20-_0x3874dd)+_0x616b6c;}function _0x4d27d2(_0x3a1988,_0x43e09d,_0x49529b,_0x4300a5,_0x389b1e,_0x24adb4,_0x583e9f){var _0x1f5223=_0x3a1988+(_0x43e09d^_0x49529b^_0x4300a5)+_0x389b1e+_0x583e9f;return(_0x1f5223<<_0x24adb4|_0x1f5223>>>0x20-_0x24adb4)+_0x43e09d;}function _0x585b7a(_0x43c1c0,_0xf9d4e4,_0x17bb04,_0x5ad85b,_0xc11367,_0x518c46,_0x8bedfc){var _0x2040c3=_0x43c1c0+(_0x17bb04^(_0xf9d4e4|~_0x5ad85b))+_0xc11367+_0x8bedfc;return(_0x2040c3<<_0x518c46|_0x2040c3>>>0x20-_0x518c46)+_0xf9d4e4;}_0x211283['MD5']=_0x584f0e['_createHelper'](_0x5442be),_0x211283[_0x5a4e30(0x3f6)]=_0x584f0e[_0x5a4e30(0x2f3)](_0x5442be);}(Math),_0xfd40c2[_0x17c78d(0x424)];}));}(Ke)),Ke[_0x38cd0f(0x281)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0xfe4f58(0x281)],ei;function Rs(){var _0x180251=_0xfe4f58;return ei||(ei=0x1,function(_0x37244d,_0x13649b){(function(_0x1d4c29,_0x1e5177){var _0x538e7a=_0x1071;_0x37244d[_0x538e7a(0x281)]=_0x1e5177(ie());}(Cs,function(_0x3c780f){var _0x35cac0=_0x1071;return(function(){var _0x4fe6fe=_0x1071,_0x48bb72=_0x3c780f,_0x26df8f=_0x48bb72['lib'],_0x1e35e9=_0x26df8f['WordArray'],_0x2c2ad4=_0x26df8f[_0x4fe6fe(0x38a)],_0x27d088=_0x48bb72[_0x4fe6fe(0x4dc)],_0x36f91b=[],_0xd4dda8=_0x27d088[_0x4fe6fe(0x2a1)]=_0x2c2ad4[_0x4fe6fe(0x4b0)]({'_doReset':function(){var _0xc12c18=_0x4fe6fe;this['_hash']=new _0x1e35e9[(_0xc12c18(0x271))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x53508f,_0xa4f2e3){var _0x2ab3da=_0x4fe6fe;for(var _0x16dca0=this[_0x2ab3da(0x4e0)]['words'],_0x2db75e=_0x16dca0[0x0],_0x4a688c=_0x16dca0[0x1],_0x98c89b=_0x16dca0[0x2],_0x245dfd=_0x16dca0[0x3],_0x3dc843=_0x16dca0[0x4],_0x3fa2b8=0x0;_0x3fa2b8<0x50;_0x3fa2b8++){if(_0x3fa2b8<0x10)_0x36f91b[_0x3fa2b8]=_0x53508f[_0xa4f2e3+_0x3fa2b8]|0x0;else{var _0x15afc=_0x36f91b[_0x3fa2b8-0x3]^_0x36f91b[_0x3fa2b8-0x8]^_0x36f91b[_0x3fa2b8-0xe]^_0x36f91b[_0x3fa2b8-0x10];_0x36f91b[_0x3fa2b8]=_0x15afc<<0x1|_0x15afc>>>0x1f;}var _0x30f93c=(_0x2db75e<<0x5|_0x2db75e>>>0x1b)+_0x3dc843+_0x36f91b[_0x3fa2b8];_0x3fa2b8<0x14?_0x30f93c+=(_0x4a688c&_0x98c89b|~_0x4a688c&_0x245dfd)+0x5a827999:_0x3fa2b8<0x28?_0x30f93c+=(_0x4a688c^_0x98c89b^_0x245dfd)+0x6ed9eba1:_0x3fa2b8<0x3c?_0x30f93c+=(_0x4a688c&_0x98c89b|_0x4a688c&_0x245dfd|_0x98c89b&_0x245dfd)-0x70e44324:_0x30f93c+=(_0x4a688c^_0x98c89b^_0x245dfd)-0x359d3e2a,_0x3dc843=_0x245dfd,_0x245dfd=_0x98c89b,_0x98c89b=_0x4a688c<<0x1e|_0x4a688c>>>0x2,_0x4a688c=_0x2db75e,_0x2db75e=_0x30f93c;}_0x16dca0[0x0]=_0x16dca0[0x0]+_0x2db75e|0x0,_0x16dca0[0x1]=_0x16dca0[0x1]+_0x4a688c|0x0,_0x16dca0[0x2]=_0x16dca0[0x2]+_0x98c89b|0x0,_0x16dca0[0x3]=_0x16dca0[0x3]+_0x245dfd|0x0,_0x16dca0[0x4]=_0x16dca0[0x4]+_0x3dc843|0x0;},'_doFinalize':function(){var _0x547ea8=_0x4fe6fe,_0x54c21f=this['_data'],_0x15e408=_0x54c21f[_0x547ea8(0x42c)],_0xdf94c1=this[_0x547ea8(0x447)]*0x8,_0x52646d=_0x54c21f[_0x547ea8(0x2b0)]*0x8;return _0x15e408[_0x52646d>>>0x5]|=0x80<<0x18-_0x52646d%0x20,_0x15e408[(_0x52646d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xdf94c1/0x100000000),_0x15e408[(_0x52646d+0x40>>>0x9<<0x4)+0xf]=_0xdf94c1,_0x54c21f['sigBytes']=_0x15e408[_0x547ea8(0x4f4)]*0x4,this[_0x547ea8(0x3f5)](),this[_0x547ea8(0x4e0)];},'clone':function(){var _0x12d156=_0x4fe6fe,_0x441b1a=_0x2c2ad4[_0x12d156(0x4f7)][_0x12d156(0x3a0)](this);return _0x441b1a[_0x12d156(0x4e0)]=this[_0x12d156(0x4e0)][_0x12d156(0x4f7)](),_0x441b1a;}});_0x48bb72[_0x4fe6fe(0x2a1)]=_0x2c2ad4[_0x4fe6fe(0x32c)](_0xd4dda8),_0x48bb72['HmacSHA1']=_0x2c2ad4['_createHmacHelper'](_0xd4dda8);}()),_0x3c780f[_0x35cac0(0x2a1)];}));}(qe)),qe[_0x180251(0x281)];}var ze={'exports':{}},bs=ze[_0xfe4f58(0x281)],ti;function ys(){var _0x10dd41=_0xfe4f58;return ti||(ti=0x1,function(_0x2f00c8,_0x4b3923){(function(_0x5bad02,_0x1d1449){var _0x4e53bb=_0x1071;_0x2f00c8[_0x4e53bb(0x281)]=_0x1d1449(ie());}(bs,function(_0x146b44){(function(){var _0x4649ec=_0x1071,_0x4ecb87=_0x146b44,_0x3532a2=_0x4ecb87[_0x4649ec(0x20a)],_0x483378=_0x3532a2[_0x4649ec(0x389)],_0x23c80f=_0x4ecb87[_0x4649ec(0x467)],_0x14225f=_0x23c80f[_0x4649ec(0x241)],_0x434698=_0x4ecb87[_0x4649ec(0x4dc)];_0x434698[_0x4649ec(0x459)]=_0x483378['extend']({'init':function(_0x1f705f,_0x474b16){var _0x430d29=_0x4649ec;_0x1f705f=this[_0x430d29(0x295)]=new _0x1f705f['init'](),typeof _0x474b16==_0x430d29(0x4c4)&&(_0x474b16=_0x14225f[_0x430d29(0x4b5)](_0x474b16));var _0x24b993=_0x1f705f[_0x430d29(0x2ac)],_0x43cda1=_0x24b993*0x4;_0x474b16[_0x430d29(0x2b0)]>_0x43cda1&&(_0x474b16=_0x1f705f['finalize'](_0x474b16)),_0x474b16[_0x430d29(0x3dc)]();for(var _0x1b3411=this[_0x430d29(0x445)]=_0x474b16[_0x430d29(0x4f7)](),_0x225f71=this[_0x430d29(0x48e)]=_0x474b16[_0x430d29(0x4f7)](),_0xf1cc5d=_0x1b3411[_0x430d29(0x42c)],_0xf660d9=_0x225f71['words'],_0x1cc98b=0x0;_0x1cc98b<_0x24b993;_0x1cc98b++)_0xf1cc5d[_0x1cc98b]^=0x5c5c5c5c,_0xf660d9[_0x1cc98b]^=0x36363636;_0x1b3411['sigBytes']=_0x225f71[_0x430d29(0x2b0)]=_0x43cda1,this[_0x430d29(0x40f)]();},'reset':function(){var _0x2c772e=_0x4649ec,_0x36a9f6=this[_0x2c772e(0x295)];_0x36a9f6[_0x2c772e(0x40f)](),_0x36a9f6[_0x2c772e(0x325)](this[_0x2c772e(0x48e)]);},'update':function(_0x2ae183){var _0x40445d=_0x4649ec;return this[_0x40445d(0x295)]['update'](_0x2ae183),this;},'finalize':function(_0x4d9051){var _0x246192=_0x4649ec,_0x6c0faa=this['_hasher'],_0x100dec=_0x6c0faa[_0x246192(0x4d1)](_0x4d9051);_0x6c0faa[_0x246192(0x40f)]();var _0x2cde68=_0x6c0faa[_0x246192(0x4d1)](this[_0x246192(0x445)][_0x246192(0x4f7)]()['concat'](_0x100dec));return _0x2cde68;}});}());}));}(ze)),ze[_0x10dd41(0x281)];}var Os=Ye[_0xfe4f58(0x281)],ii;function Ui(){return ii||(ii=0x1,function(_0x5c5689,_0x6e9e23){(function(_0x14f4e6,_0xe71fc0,_0x2bee81){_0x5c5689['exports']=_0xe71fc0(ie(),Rs(),ys());}(Os,function(_0x3f4332){var _0x4c37a4=_0x1071;return(function(){var _0x311f4a=_0x1071,_0x54da15=_0x3f4332,_0x388f4b=_0x54da15['lib'],_0x5649e7=_0x388f4b['Base'],_0x3dee91=_0x388f4b[_0x311f4a(0x233)],_0x5b8825=_0x54da15[_0x311f4a(0x4dc)],_0x4874c1=_0x5b8825[_0x311f4a(0x424)],_0x3b6dd9=_0x5b8825['EvpKDF']=_0x5649e7['extend']({'cfg':_0x5649e7['extend']({'keySize':0x80/0x20,'hasher':_0x4874c1,'iterations':0x1}),'init':function(_0x1ccd3a){var _0x10beb5=_0x311f4a;this[_0x10beb5(0x440)]=this[_0x10beb5(0x440)][_0x10beb5(0x4b0)](_0x1ccd3a);},'compute':function(_0x5c0280,_0x2d0275){var _0x59708a=_0x311f4a;for(var _0x5effa5,_0x24ee90=this['cfg'],_0xebd46=_0x24ee90[_0x59708a(0x331)]['create'](),_0x4e5569=_0x3dee91['create'](),_0x55fedc=_0x4e5569[_0x59708a(0x42c)],_0x4c7c1f=_0x24ee90[_0x59708a(0x2ee)],_0x508b25=_0x24ee90['iterations'];_0x55fedc[_0x59708a(0x4f4)]<_0x4c7c1f;){_0x5effa5&&_0xebd46['update'](_0x5effa5),_0x5effa5=_0xebd46[_0x59708a(0x325)](_0x5c0280)['finalize'](_0x2d0275),_0xebd46[_0x59708a(0x40f)]();for(var _0x2bf845=0x1;_0x2bf845<_0x508b25;_0x2bf845++)_0x5effa5=_0xebd46['finalize'](_0x5effa5),_0xebd46['reset']();_0x4e5569[_0x59708a(0x268)](_0x5effa5);}return _0x4e5569[_0x59708a(0x2b0)]=_0x4c7c1f*0x4,_0x4e5569;}});_0x54da15[_0x311f4a(0x2fe)]=function(_0x1d9186,_0x365011,_0x17cf16){var _0x24d130=_0x311f4a;return _0x3b6dd9[_0x24d130(0x229)](_0x17cf16)[_0x24d130(0x49d)](_0x1d9186,_0x365011);};}()),_0x3f4332[_0x4c37a4(0x2fe)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0xfe4f58(0x281)],ni;function Ai(){var _0x3f59db=_0xfe4f58;return ni||(ni=0x1,function(_0x2eac1b,_0x1f6dbf){(function(_0x57275a,_0x57fae5,_0x5ab2c9){var _0x2898ea=_0x1071;_0x2eac1b[_0x2898ea(0x281)]=_0x57fae5(ie(),Ui());}(Ns,function(_0x1e0afa){var _0x55280b=_0x1071;_0x1e0afa[_0x55280b(0x20a)][_0x55280b(0x425)]||function(_0x50bbae){var _0x428dda=_0x55280b,_0x80371=_0x1e0afa,_0xc02ec7=_0x80371[_0x428dda(0x20a)],_0x3e9980=_0xc02ec7['Base'],_0x8e4afb=_0xc02ec7[_0x428dda(0x233)],_0xf51b22=_0xc02ec7[_0x428dda(0x3c2)],_0x2ff1bc=_0x80371[_0x428dda(0x467)];_0x2ff1bc[_0x428dda(0x241)];var _0x5d5b8b=_0x2ff1bc['Base64'],_0x44cff0=_0x80371[_0x428dda(0x4dc)],_0x1b992a=_0x44cff0[_0x428dda(0x2fe)],_0x442324=_0xc02ec7[_0x428dda(0x425)]=_0xf51b22['extend']({'cfg':_0x3e9980[_0x428dda(0x4b0)](),'createEncryptor':function(_0x483cab,_0x9789ff){var _0x2e113f=_0x428dda;return this[_0x2e113f(0x229)](this[_0x2e113f(0x3a5)],_0x483cab,_0x9789ff);},'createDecryptor':function(_0x552070,_0x285db9){var _0x42d8f0=_0x428dda;return this['create'](this[_0x42d8f0(0x3bd)],_0x552070,_0x285db9);},'init':function(_0xedd05a,_0x557a49,_0x4b65dd){var _0x248103=_0x428dda;this[_0x248103(0x440)]=this[_0x248103(0x440)]['extend'](_0x4b65dd),this[_0x248103(0x2fa)]=_0xedd05a,this[_0x248103(0x2cc)]=_0x557a49,this[_0x248103(0x40f)]();},'reset':function(){var _0x54d6cd=_0x428dda;_0xf51b22[_0x54d6cd(0x40f)][_0x54d6cd(0x3a0)](this),this['_doReset']();},'process':function(_0x353e37){var _0x22c8c1=_0x428dda;return this[_0x22c8c1(0x25f)](_0x353e37),this[_0x22c8c1(0x3f5)]();},'finalize':function(_0x10a685){var _0x340cfc=_0x428dda;_0x10a685&&this[_0x340cfc(0x25f)](_0x10a685);var _0x22056d=this[_0x340cfc(0x37b)]();return _0x22056d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x49369f(_0x4b9902){return typeof _0x4b9902=='string'?_0x220eae:_0x49fa17;}return function(_0x18ce0c){return{'encrypt':function(_0x4c9648,_0x13c97a,_0x6eaf32){var _0x5d1e77=_0x1071;return _0x49369f(_0x13c97a)[_0x5d1e77(0x2b7)](_0x18ce0c,_0x4c9648,_0x13c97a,_0x6eaf32);},'decrypt':function(_0x4e1b5f,_0x27b462,_0x43cb92){return _0x49369f(_0x27b462)['decrypt'](_0x18ce0c,_0x4e1b5f,_0x27b462,_0x43cb92);}};};}())});_0xc02ec7[_0x428dda(0x251)]=_0x442324[_0x428dda(0x4b0)]({'_doFinalize':function(){var _0x4df244=this['_process'](!0x0);return _0x4df244;},'blockSize':0x1});var _0x14782d=_0x80371[_0x428dda(0x46b)]={},_0x6e5229=_0xc02ec7[_0x428dda(0x249)]=_0x3e9980[_0x428dda(0x4b0)]({'createEncryptor':function(_0x3f11af,_0x592e9f){var _0x37e02a=_0x428dda;return this[_0x37e02a(0x4d0)][_0x37e02a(0x229)](_0x3f11af,_0x592e9f);},'createDecryptor':function(_0x4bb290,_0x39faf2){var _0x24f608=_0x428dda;return this[_0x24f608(0x46a)][_0x24f608(0x229)](_0x4bb290,_0x39faf2);},'init':function(_0x4eb2ac,_0x4469e6){var _0x41852a=_0x428dda;this[_0x41852a(0x2bc)]=_0x4eb2ac,this['_iv']=_0x4469e6;}}),_0x7f777=_0x14782d['CBC']=(function(){var _0x30b3b8=_0x428dda,_0x150dc5=_0x6e5229['extend']();_0x150dc5[_0x30b3b8(0x4d0)]=_0x150dc5[_0x30b3b8(0x4b0)]({'processBlock':function(_0x575175,_0x401976){var _0x872e1a=_0x30b3b8,_0x5ae411=this[_0x872e1a(0x2bc)],_0x5bc9a3=_0x5ae411[_0x872e1a(0x2ac)];_0x454579[_0x872e1a(0x3a0)](this,_0x575175,_0x401976,_0x5bc9a3),_0x5ae411[_0x872e1a(0x344)](_0x575175,_0x401976),this[_0x872e1a(0x24b)]=_0x575175[_0x872e1a(0x4bd)](_0x401976,_0x401976+_0x5bc9a3);}}),_0x150dc5[_0x30b3b8(0x46a)]=_0x150dc5[_0x30b3b8(0x4b0)]({'processBlock':function(_0x4e2fa6,_0x1578bd){var _0x36e7c8=_0x30b3b8,_0x36876e=this[_0x36e7c8(0x2bc)],_0x175a08=_0x36876e[_0x36e7c8(0x2ac)],_0x594784=_0x4e2fa6[_0x36e7c8(0x4bd)](_0x1578bd,_0x1578bd+_0x175a08);_0x36876e['decryptBlock'](_0x4e2fa6,_0x1578bd),_0x454579[_0x36e7c8(0x3a0)](this,_0x4e2fa6,_0x1578bd,_0x175a08),this['_prevBlock']=_0x594784;}});function _0x454579(_0x1733ea,_0x65f74f,_0x3b1973){var _0x39d185=_0x30b3b8,_0xe9ac3c,_0x2700c0=this[_0x39d185(0x426)];_0x2700c0?(_0xe9ac3c=_0x2700c0,this['_iv']=_0x50bbae):_0xe9ac3c=this[_0x39d185(0x24b)];for(var _0xd2e457=0x0;_0xd2e457<_0x3b1973;_0xd2e457++)_0x1733ea[_0x65f74f+_0xd2e457]^=_0xe9ac3c[_0xd2e457];}return _0x150dc5;}()),_0x53038c=_0x80371[_0x428dda(0x3a9)]={},_0x4a662a=_0x53038c[_0x428dda(0x3cf)]={'pad':function(_0x38cb3c,_0x285e49){var _0xf1871=_0x428dda;for(var _0x28fa29=_0x285e49*0x4,_0x585b9c=_0x28fa29-_0x38cb3c[_0xf1871(0x2b0)]%_0x28fa29,_0x4454e6=_0x585b9c<<0x18|_0x585b9c<<0x10|_0x585b9c<<0x8|_0x585b9c,_0x1aa0ab=[],_0x4b023e=0x0;_0x4b023e<_0x585b9c;_0x4b023e+=0x4)_0x1aa0ab[_0xf1871(0x2b6)](_0x4454e6);var _0x1e6023=_0x8e4afb[_0xf1871(0x229)](_0x1aa0ab,_0x585b9c);_0x38cb3c[_0xf1871(0x268)](_0x1e6023);},'unpad':function(_0x466e32){var _0x336620=_0x428dda,_0x4d6baf=_0x466e32[_0x336620(0x42c)][_0x466e32[_0x336620(0x2b0)]-0x1>>>0x2]&0xff;_0x466e32[_0x336620(0x2b0)]-=_0x4d6baf;}};_0xc02ec7['BlockCipher']=_0x442324['extend']({'cfg':_0x442324[_0x428dda(0x440)][_0x428dda(0x4b0)]({'mode':_0x7f777,'padding':_0x4a662a}),'reset':function(){var _0x37a381=_0x428dda,_0x2d223d;_0x442324[_0x37a381(0x40f)][_0x37a381(0x3a0)](this);var _0x496319=this['cfg'],_0x276eaf=_0x496319['iv'],_0x29dcc7=_0x496319['mode'];this[_0x37a381(0x2fa)]==this[_0x37a381(0x3a5)]?_0x2d223d=_0x29dcc7[_0x37a381(0x314)]:(_0x2d223d=_0x29dcc7[_0x37a381(0x45e)],this[_0x37a381(0x34f)]=0x1),this[_0x37a381(0x494)]&&this['_mode'][_0x37a381(0x363)]==_0x2d223d?this[_0x37a381(0x494)][_0x37a381(0x271)](this,_0x276eaf&&_0x276eaf[_0x37a381(0x42c)]):(this[_0x37a381(0x494)]=_0x2d223d[_0x37a381(0x3a0)](_0x29dcc7,this,_0x276eaf&&_0x276eaf[_0x37a381(0x42c)]),this[_0x37a381(0x494)][_0x37a381(0x363)]=_0x2d223d);},'_doProcessBlock':function(_0xfab0bc,_0x55c2ce){var _0x42ed1c=_0x428dda;this[_0x42ed1c(0x494)]['processBlock'](_0xfab0bc,_0x55c2ce);},'_doFinalize':function(){var _0x5d4971=_0x428dda,_0x4e2beb,_0x6b9864=this[_0x5d4971(0x440)][_0x5d4971(0x1f0)];return this[_0x5d4971(0x2fa)]==this[_0x5d4971(0x3a5)]?(_0x6b9864[_0x5d4971(0x3a9)](this[_0x5d4971(0x279)],this['blockSize']),_0x4e2beb=this['_process'](!0x0)):(_0x4e2beb=this[_0x5d4971(0x3f5)](!0x0),_0x6b9864[_0x5d4971(0x4ad)](_0x4e2beb)),_0x4e2beb;},'blockSize':0x80/0x20});var _0x84be80=_0xc02ec7[_0x428dda(0x276)]=_0x3e9980[_0x428dda(0x4b0)]({'init':function(_0x3fdbdd){this['mixIn'](_0x3fdbdd);},'toString':function(_0x3a4595){var _0x35fdf6=_0x428dda;return(_0x3a4595||this[_0x35fdf6(0x27a)])['stringify'](this);}}),_0x2ec6e8=_0x80371[_0x428dda(0x30b)]={},_0x467fd7=_0x2ec6e8[_0x428dda(0x36f)]={'stringify':function(_0x19f4c5){var _0x4fbd80=_0x428dda,_0x3d95ee,_0x20edab=_0x19f4c5['ciphertext'],_0x1e125c=_0x19f4c5[_0x4fbd80(0x2bb)];return _0x1e125c?_0x3d95ee=_0x8e4afb[_0x4fbd80(0x229)]([0x53616c74,0x65645f5f])['concat'](_0x1e125c)[_0x4fbd80(0x268)](_0x20edab):_0x3d95ee=_0x20edab,_0x3d95ee[_0x4fbd80(0x2d2)](_0x5d5b8b);},'parse':function(_0x3dde6d){var _0x16eb38=_0x428dda,_0x263eb2,_0xfd705c=_0x5d5b8b[_0x16eb38(0x4b5)](_0x3dde6d),_0x5c8ff5=_0xfd705c[_0x16eb38(0x42c)];return _0x5c8ff5[0x0]==0x53616c74&&_0x5c8ff5[0x1]==0x65645f5f&&(_0x263eb2=_0x8e4afb[_0x16eb38(0x229)](_0x5c8ff5[_0x16eb38(0x4bd)](0x2,0x4)),_0x5c8ff5['splice'](0x0,0x4),_0xfd705c[_0x16eb38(0x2b0)]-=0x10),_0x84be80[_0x16eb38(0x229)]({'ciphertext':_0xfd705c,'salt':_0x263eb2});}},_0x49fa17=_0xc02ec7[_0x428dda(0x3c0)]=_0x3e9980['extend']({'cfg':_0x3e9980[_0x428dda(0x4b0)]({'format':_0x467fd7}),'encrypt':function(_0x4cbc42,_0xae977e,_0x2a9d82,_0x5e2e14){var _0x52489e=_0x428dda;_0x5e2e14=this[_0x52489e(0x440)]['extend'](_0x5e2e14);var _0x626ad7=_0x4cbc42[_0x52489e(0x314)](_0x2a9d82,_0x5e2e14),_0x35d1ab=_0x626ad7[_0x52489e(0x4d1)](_0xae977e),_0x550a52=_0x626ad7[_0x52489e(0x440)];return _0x84be80[_0x52489e(0x229)]({'ciphertext':_0x35d1ab,'key':_0x2a9d82,'iv':_0x550a52['iv'],'algorithm':_0x4cbc42,'mode':_0x550a52['mode'],'padding':_0x550a52[_0x52489e(0x1f0)],'blockSize':_0x4cbc42[_0x52489e(0x2ac)],'formatter':_0x5e2e14[_0x52489e(0x30b)]});},'decrypt':function(_0x13e0c2,_0x545f24,_0x44805a,_0x2266a0){var _0x1655b2=_0x428dda;_0x2266a0=this[_0x1655b2(0x440)]['extend'](_0x2266a0),_0x545f24=this['_parse'](_0x545f24,_0x2266a0[_0x1655b2(0x30b)]);var _0x9d21df=_0x13e0c2[_0x1655b2(0x45e)](_0x44805a,_0x2266a0)[_0x1655b2(0x4d1)](_0x545f24[_0x1655b2(0x247)]);return _0x9d21df;},'_parse':function(_0x4db84a,_0x4011d6){var _0x222651=_0x428dda;return typeof _0x4db84a=='string'?_0x4011d6[_0x222651(0x4b5)](_0x4db84a,this):_0x4db84a;}}),_0x4dfff0=_0x80371[_0x428dda(0x3ab)]={},_0x10121b=_0x4dfff0[_0x428dda(0x36f)]={'execute':function(_0x47921d,_0x3191d9,_0x422b4e,_0x873c4b,_0x2c881e){var _0x374f3=_0x428dda;if(_0x873c4b||(_0x873c4b=_0x8e4afb[_0x374f3(0x275)](0x40/0x8)),_0x2c881e)var _0x51e933=_0x1b992a[_0x374f3(0x229)]({'keySize':_0x3191d9+_0x422b4e,'hasher':_0x2c881e})[_0x374f3(0x49d)](_0x47921d,_0x873c4b);else var _0x51e933=_0x1b992a['create']({'keySize':_0x3191d9+_0x422b4e})[_0x374f3(0x49d)](_0x47921d,_0x873c4b);var _0x305ead=_0x8e4afb[_0x374f3(0x229)](_0x51e933[_0x374f3(0x42c)][_0x374f3(0x4bd)](_0x3191d9),_0x422b4e*0x4);return _0x51e933[_0x374f3(0x2b0)]=_0x3191d9*0x4,_0x84be80['create']({'key':_0x51e933,'iv':_0x305ead,'salt':_0x873c4b});}},_0x220eae=_0xc02ec7[_0x428dda(0x286)]=_0x49fa17[_0x428dda(0x4b0)]({'cfg':_0x49fa17[_0x428dda(0x440)][_0x428dda(0x4b0)]({'kdf':_0x10121b}),'encrypt':function(_0x2d671e,_0x405638,_0x1dd62a,_0x5f4818){var _0x285dc0=_0x428dda;_0x5f4818=this['cfg'][_0x285dc0(0x4b0)](_0x5f4818);var _0x11a400=_0x5f4818[_0x285dc0(0x3ab)][_0x285dc0(0x393)](_0x1dd62a,_0x2d671e['keySize'],_0x2d671e['ivSize'],_0x5f4818[_0x285dc0(0x2bb)],_0x5f4818['hasher']);_0x5f4818['iv']=_0x11a400['iv'];var _0x262e44=_0x49fa17['encrypt'][_0x285dc0(0x3a0)](this,_0x2d671e,_0x405638,_0x11a400[_0x285dc0(0x479)],_0x5f4818);return _0x262e44[_0x285dc0(0x49f)](_0x11a400),_0x262e44;},'decrypt':function(_0x545462,_0x54b02b,_0xcf22c5,_0x1a830f){var _0x5e30ca=_0x428dda;_0x1a830f=this[_0x5e30ca(0x440)][_0x5e30ca(0x4b0)](_0x1a830f),_0x54b02b=this[_0x5e30ca(0x316)](_0x54b02b,_0x1a830f[_0x5e30ca(0x30b)]);var _0x2a82d1=_0x1a830f['kdf']['execute'](_0xcf22c5,_0x545462[_0x5e30ca(0x2ee)],_0x545462[_0x5e30ca(0x431)],_0x54b02b['salt'],_0x1a830f['hasher']);_0x1a830f['iv']=_0x2a82d1['iv'];var _0x3f977f=_0x49fa17[_0x5e30ca(0x2d4)]['call'](this,_0x545462,_0x54b02b,_0x2a82d1['key'],_0x1a830f);return _0x3f977f;}});}();}));}(Je)),Je[_0x3f59db(0x281)];}var Ds=Ve[_0xfe4f58(0x281)],si;function Us(){var _0x5d4b6c=_0xfe4f58;return si||(si=0x1,function(_0x5727f3,_0x58964c){(function(_0x211b92,_0x3a2a18,_0xcd5190){var _0x15a42f=_0x1071;_0x5727f3[_0x15a42f(0x281)]=_0x3a2a18(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x34108){var _0xb895b5=_0x1071;return(function(){var _0x222021=_0x1071,_0x415136=_0x34108,_0x1b13fd=_0x415136[_0x222021(0x20a)],_0x4a3cb8=_0x1b13fd[_0x222021(0x335)],_0x5a7355=_0x415136[_0x222021(0x4dc)],_0x50f426=[],_0x189ccb=[],_0x54b988=[],_0x1b020d=[],_0x427dc0=[],_0x22802e=[],_0x2652a7=[],_0x27a019=[],_0x2ad7e2=[],_0x5bc6c5=[];(function(){for(var _0x492ce8=[],_0x454475=0x0;_0x454475<0x100;_0x454475++)_0x454475<0x80?_0x492ce8[_0x454475]=_0x454475<<0x1:_0x492ce8[_0x454475]=_0x454475<<0x1^0x11b;for(var _0x1d0bac=0x0,_0x4b3207=0x0,_0x454475=0x0;_0x454475<0x100;_0x454475++){var _0x182077=_0x4b3207^_0x4b3207<<0x1^_0x4b3207<<0x2^_0x4b3207<<0x3^_0x4b3207<<0x4;_0x182077=_0x182077>>>0x8^_0x182077&0xff^0x63,_0x50f426[_0x1d0bac]=_0x182077,_0x189ccb[_0x182077]=_0x1d0bac;var _0x19c9b3=_0x492ce8[_0x1d0bac],_0x4ca2f5=_0x492ce8[_0x19c9b3],_0x2dc06f=_0x492ce8[_0x4ca2f5],_0x15dc7c=_0x492ce8[_0x182077]*0x101^_0x182077*0x1010100;_0x54b988[_0x1d0bac]=_0x15dc7c<<0x18|_0x15dc7c>>>0x8,_0x1b020d[_0x1d0bac]=_0x15dc7c<<0x10|_0x15dc7c>>>0x10,_0x427dc0[_0x1d0bac]=_0x15dc7c<<0x8|_0x15dc7c>>>0x18,_0x22802e[_0x1d0bac]=_0x15dc7c;var _0x15dc7c=_0x2dc06f*0x1010101^_0x4ca2f5*0x10001^_0x19c9b3*0x101^_0x1d0bac*0x1010100;_0x2652a7[_0x182077]=_0x15dc7c<<0x18|_0x15dc7c>>>0x8,_0x27a019[_0x182077]=_0x15dc7c<<0x10|_0x15dc7c>>>0x10,_0x2ad7e2[_0x182077]=_0x15dc7c<<0x8|_0x15dc7c>>>0x18,_0x5bc6c5[_0x182077]=_0x15dc7c,_0x1d0bac?(_0x1d0bac=_0x19c9b3^_0x492ce8[_0x492ce8[_0x492ce8[_0x2dc06f^_0x19c9b3]]],_0x4b3207^=_0x492ce8[_0x492ce8[_0x4b3207]]):_0x1d0bac=_0x4b3207=0x1;}}());var _0x5bdc8c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x41e5df=_0x5a7355[_0x222021(0x397)]=_0x4a3cb8[_0x222021(0x4b0)]({'_doReset':function(){var _0x211734=_0x222021,_0x507aae;if(!(this[_0x211734(0x2be)]&&this['_keyPriorReset']===this[_0x211734(0x2cc)])){for(var _0x354b4d=this[_0x211734(0x46c)]=this[_0x211734(0x2cc)],_0xee2050=_0x354b4d[_0x211734(0x42c)],_0x252873=_0x354b4d['sigBytes']/0x4,_0x3ac786=this[_0x211734(0x2be)]=_0x252873+0x6,_0x218535=(_0x3ac786+0x1)*0x4,_0x2c671f=this['_keySchedule']=[],_0x51497b=0x0;_0x51497b<_0x218535;_0x51497b++)_0x51497b<_0x252873?_0x2c671f[_0x51497b]=_0xee2050[_0x51497b]:(_0x507aae=_0x2c671f[_0x51497b-0x1],_0x51497b%_0x252873?_0x252873>0x6&&_0x51497b%_0x252873==0x4&&(_0x507aae=_0x50f426[_0x507aae>>>0x18]<<0x18|_0x50f426[_0x507aae>>>0x10&0xff]<<0x10|_0x50f426[_0x507aae>>>0x8&0xff]<<0x8|_0x50f426[_0x507aae&0xff]):(_0x507aae=_0x507aae<<0x8|_0x507aae>>>0x18,_0x507aae=_0x50f426[_0x507aae>>>0x18]<<0x18|_0x50f426[_0x507aae>>>0x10&0xff]<<0x10|_0x50f426[_0x507aae>>>0x8&0xff]<<0x8|_0x50f426[_0x507aae&0xff],_0x507aae^=_0x5bdc8c[_0x51497b/_0x252873|0x0]<<0x18),_0x2c671f[_0x51497b]=_0x2c671f[_0x51497b-_0x252873]^_0x507aae);for(var _0x17abb5=this['_invKeySchedule']=[],_0x46a7c5=0x0;_0x46a7c5<_0x218535;_0x46a7c5++){var _0x51497b=_0x218535-_0x46a7c5;if(_0x46a7c5%0x4)var _0x507aae=_0x2c671f[_0x51497b];else var _0x507aae=_0x2c671f[_0x51497b-0x4];_0x46a7c5<0x4||_0x51497b<=0x4?_0x17abb5[_0x46a7c5]=_0x507aae:_0x17abb5[_0x46a7c5]=_0x2652a7[_0x50f426[_0x507aae>>>0x18]]^_0x27a019[_0x50f426[_0x507aae>>>0x10&0xff]]^_0x2ad7e2[_0x50f426[_0x507aae>>>0x8&0xff]]^_0x5bc6c5[_0x50f426[_0x507aae&0xff]];}}},'encryptBlock':function(_0x122ad5,_0x58d58e){var _0x13b7ce=_0x222021;this[_0x13b7ce(0x1fb)](_0x122ad5,_0x58d58e,this['_keySchedule'],_0x54b988,_0x1b020d,_0x427dc0,_0x22802e,_0x50f426);},'decryptBlock':function(_0x443c98,_0x2f2d07){var _0x311afd=_0x222021,_0xc39240=_0x443c98[_0x2f2d07+0x1];_0x443c98[_0x2f2d07+0x1]=_0x443c98[_0x2f2d07+0x3],_0x443c98[_0x2f2d07+0x3]=_0xc39240,this[_0x311afd(0x1fb)](_0x443c98,_0x2f2d07,this[_0x311afd(0x272)],_0x2652a7,_0x27a019,_0x2ad7e2,_0x5bc6c5,_0x189ccb);var _0xc39240=_0x443c98[_0x2f2d07+0x1];_0x443c98[_0x2f2d07+0x1]=_0x443c98[_0x2f2d07+0x3],_0x443c98[_0x2f2d07+0x3]=_0xc39240;},'_doCryptBlock':function(_0x32f2e0,_0x1aa409,_0x4d5237,_0x411b02,_0x4d0894,_0x5997f7,_0x3d5d66,_0x308ec3){var _0x563137=_0x222021;for(var _0x310bdc=this[_0x563137(0x2be)],_0x4f6016=_0x32f2e0[_0x1aa409]^_0x4d5237[0x0],_0x2fd85a=_0x32f2e0[_0x1aa409+0x1]^_0x4d5237[0x1],_0x2aef1d=_0x32f2e0[_0x1aa409+0x2]^_0x4d5237[0x2],_0x506d7b=_0x32f2e0[_0x1aa409+0x3]^_0x4d5237[0x3],_0x14878a=0x4,_0x450ced=0x1;_0x450ced<_0x310bdc;_0x450ced++){var _0x2bc085=_0x411b02[_0x4f6016>>>0x18]^_0x4d0894[_0x2fd85a>>>0x10&0xff]^_0x5997f7[_0x2aef1d>>>0x8&0xff]^_0x3d5d66[_0x506d7b&0xff]^_0x4d5237[_0x14878a++],_0x90fe71=_0x411b02[_0x2fd85a>>>0x18]^_0x4d0894[_0x2aef1d>>>0x10&0xff]^_0x5997f7[_0x506d7b>>>0x8&0xff]^_0x3d5d66[_0x4f6016&0xff]^_0x4d5237[_0x14878a++],_0x29e02a=_0x411b02[_0x2aef1d>>>0x18]^_0x4d0894[_0x506d7b>>>0x10&0xff]^_0x5997f7[_0x4f6016>>>0x8&0xff]^_0x3d5d66[_0x2fd85a&0xff]^_0x4d5237[_0x14878a++],_0x3377dc=_0x411b02[_0x506d7b>>>0x18]^_0x4d0894[_0x4f6016>>>0x10&0xff]^_0x5997f7[_0x2fd85a>>>0x8&0xff]^_0x3d5d66[_0x2aef1d&0xff]^_0x4d5237[_0x14878a++];_0x4f6016=_0x2bc085,_0x2fd85a=_0x90fe71,_0x2aef1d=_0x29e02a,_0x506d7b=_0x3377dc;}var _0x2bc085=(_0x308ec3[_0x4f6016>>>0x18]<<0x18|_0x308ec3[_0x2fd85a>>>0x10&0xff]<<0x10|_0x308ec3[_0x2aef1d>>>0x8&0xff]<<0x8|_0x308ec3[_0x506d7b&0xff])^_0x4d5237[_0x14878a++],_0x90fe71=(_0x308ec3[_0x2fd85a>>>0x18]<<0x18|_0x308ec3[_0x2aef1d>>>0x10&0xff]<<0x10|_0x308ec3[_0x506d7b>>>0x8&0xff]<<0x8|_0x308ec3[_0x4f6016&0xff])^_0x4d5237[_0x14878a++],_0x29e02a=(_0x308ec3[_0x2aef1d>>>0x18]<<0x18|_0x308ec3[_0x506d7b>>>0x10&0xff]<<0x10|_0x308ec3[_0x4f6016>>>0x8&0xff]<<0x8|_0x308ec3[_0x2fd85a&0xff])^_0x4d5237[_0x14878a++],_0x3377dc=(_0x308ec3[_0x506d7b>>>0x18]<<0x18|_0x308ec3[_0x4f6016>>>0x10&0xff]<<0x10|_0x308ec3[_0x2fd85a>>>0x8&0xff]<<0x8|_0x308ec3[_0x2aef1d&0xff])^_0x4d5237[_0x14878a++];_0x32f2e0[_0x1aa409]=_0x2bc085,_0x32f2e0[_0x1aa409+0x1]=_0x90fe71,_0x32f2e0[_0x1aa409+0x2]=_0x29e02a,_0x32f2e0[_0x1aa409+0x3]=_0x3377dc;},'keySize':0x100/0x20});_0x415136[_0x222021(0x397)]=_0x4a3cb8[_0x222021(0x32c)](_0x41e5df);}()),_0x34108[_0xb895b5(0x397)];}));}(Ve)),Ve[_0x5d4b6c(0x281)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){return ai||(ai=0x1,function(_0x237115,_0x4666b7){(function(_0x1113bd,_0x11fc9e){var _0x573627=_0x1071;_0x237115[_0x573627(0x281)]=_0x11fc9e(ie());}(Ls,function(_0x56fb84){var _0x1a759e=_0x1071;return _0x56fb84[_0x1a759e(0x467)][_0x1a759e(0x241)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0xfe4f58(0x281)],oi;function Hs(){var _0x4421b6=_0xfe4f58;return oi||(oi=0x1,function(_0x44c164,_0x31267a){(function(_0x1b41c3,_0x240fc9){_0x44c164['exports']=_0x240fc9(ie());}($s,function(_0x29ddcb){var _0x1cad7b=_0x1071;return(function(){var _0x3d7618=_0x1071;if(typeof ArrayBuffer==_0x3d7618(0x482)){var _0x4f43b4=_0x29ddcb,_0x9d4e80=_0x4f43b4[_0x3d7618(0x20a)],_0x256596=_0x9d4e80[_0x3d7618(0x233)],_0x5e9fc9=_0x256596[_0x3d7618(0x271)],_0x598191=_0x256596[_0x3d7618(0x271)]=function(_0x3e97b2){var _0x17ca5c=_0x3d7618;if(_0x3e97b2 instanceof ArrayBuffer&&(_0x3e97b2=new Uint8Array(_0x3e97b2)),(_0x3e97b2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e97b2 instanceof Uint8ClampedArray||_0x3e97b2 instanceof Int16Array||_0x3e97b2 instanceof Uint16Array||_0x3e97b2 instanceof Int32Array||_0x3e97b2 instanceof Uint32Array||_0x3e97b2 instanceof Float32Array||_0x3e97b2 instanceof Float64Array)&&(_0x3e97b2=new Uint8Array(_0x3e97b2['buffer'],_0x3e97b2[_0x17ca5c(0x322)],_0x3e97b2[_0x17ca5c(0x2ca)])),_0x3e97b2 instanceof Uint8Array){for(var _0x513169=_0x3e97b2[_0x17ca5c(0x2ca)],_0x249e68=[],_0x352b50=0x0;_0x352b50<_0x513169;_0x352b50++)_0x249e68[_0x352b50>>>0x2]|=_0x3e97b2[_0x352b50]<<0x18-_0x352b50%0x4*0x8;_0x5e9fc9[_0x17ca5c(0x3a0)](this,_0x249e68,_0x513169);}else _0x5e9fc9[_0x17ca5c(0x4f2)](this,arguments);};_0x598191[_0x3d7618(0x28d)]=_0x256596;}}()),_0x29ddcb[_0x1cad7b(0x20a)][_0x1cad7b(0x233)];}));}(Ze)),Ze[_0x4421b6(0x281)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x48a096=_0xfe4f58;return ci||(ci=0x1,function(_0x441b67,_0x42af62){(function(_0x79e08,_0x5dbef4,_0x3639b0){var _0x5e7785=_0x1071;_0x441b67[_0x5e7785(0x281)]=_0x5dbef4(ie(),Ai());}(Fs,function(_0x4d4f93){var _0x1381b2=_0x1071;return _0x4d4f93['pad'][_0x1381b2(0x33b)]={'pad':function(){},'unpad':function(){}},_0x4d4f93['pad']['NoPadding'];}));}(Qe)),Qe[_0x48a096(0x281)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0xe7d7b8,_0x42eb93){var _0x1572c1=_0xfe4f58;const _0x2e14c6=_0x42eb93-_0xe7d7b8[_0x1572c1(0x4f4)]%_0x42eb93,_0x252e48=String[_0x1572c1(0x28b)](_0x2e14c6)[_0x1572c1(0x222)](_0x2e14c6);return _0xe7d7b8+_0x252e48;}function Ys(_0x1998bd,_0x1578d3){var _0x19c533=_0xfe4f58;const _0x3c386d=js[_0x19c533(0x275)](0x10),_0x38a069=Ks(_0x1998bd,0x10),_0x14bd7e=ws[_0x19c533(0x2b7)](ks[_0x19c533(0x4b5)](_0x38a069),ri['parse'](_0x1578d3),{'iv':_0x3c386d,'padding':Ws});return _0x3c386d['concat'](_0x14bd7e[_0x19c533(0x247)])[_0x19c533(0x2d2)](ri);}function qs(){var _0x36434a=_0xfe4f58;const _0x345776=_0x38eb20()[_0x36434a(0x2ed)];if(_0x345776){const _0x56cd2b={'time':Math[_0x36434a(0x40b)](Date[_0x36434a(0x2b3)]()/0x3e8),'domain':location[_0x36434a(0x43b)]};return Ys(JSON[_0x36434a(0x3a8)](_0x56cd2b),_0x345776);}}var zs=Object[_0xfe4f58(0x458)],Js=(_0x522431,_0x110a1f,_0x17e7e3,_0xfbae68)=>{var _0x1b4551=_0xfe4f58;for(var _0x5b2063=_0xfbae68>0x1?void 0x0:_0xfbae68?zs(_0x110a1f,_0x17e7e3):_0x110a1f,_0x3b22fb=_0x522431[_0x1b4551(0x4f4)]-0x1,_0x40cbc5;_0x3b22fb>=0x0;_0x3b22fb--)(_0x40cbc5=_0x522431[_0x3b22fb])&&(_0x5b2063=_0x40cbc5(_0x5b2063)||_0x5b2063);return _0x5b2063;},Xs=(_0x4de624,_0x406944)=>(_0x1762b4,_0x1ff2ef)=>_0x406944(_0x1762b4,_0x1ff2ef,_0x4de624);let at=class{constructor(_0xd8203f){var _0x5a4e6b=_0xfe4f58;this[_0x5a4e6b(0x44c)]=_0xd8203f,this[_0x5a4e6b(0x404)]();}[_0xfe4f58(0x404)](){var _0xc274=_0xfe4f58;this['_httpService'][_0xc274(0x427)]({'interceptor':(_0x4b3df2,_0x151238)=>{var _0x4fee4c=_0xc274;const _0x1be68c=_0x4b3df2[_0x4fee4c(0x34c)],_0x367dbb=qs();return _0x367dbb&&_0x1be68c['set'](_0x4fee4c(0x1f8),_0x367dbb),_0x151238(_0x4b3df2);}});}};at=Js([Xs(0x0,_0xa221c6(_0x5ef325))],at);function _0x1071(_0x5a547f,_0x2c914f){var _0xe5c973=_0xe5c9();return _0x1071=function(_0x1071bc,_0x5607e9){_0x1071bc=_0x1071bc-0x1ef;var _0x23c0a2=_0xe5c973[_0x1071bc];return _0x23c0a2;},_0x1071(_0x5a547f,_0x2c914f);}var Zs=Object[_0xfe4f58(0x458)],Qs=(_0x30abbb,_0x55c2ac,_0xfc46ab,_0x400ea3)=>{for(var _0x209cdd=_0x400ea3>0x1?void 0x0:_0x400ea3?Zs(_0x55c2ac,_0xfc46ab):_0x55c2ac,_0x4ac29e=_0x30abbb['length']-0x1,_0x522f7a;_0x4ac29e>=0x0;_0x4ac29e--)(_0x522f7a=_0x30abbb[_0x4ac29e])&&(_0x209cdd=_0x522f7a(_0x209cdd)||_0x209cdd);return _0x209cdd;},mt=(_0x1b2747,_0x15c2e8)=>(_0x3c9901,_0x31299e)=>_0x15c2e8(_0x3c9901,_0x31299e,_0x1b2747);let bt=class extends _0x560f21{constructor(_0x539955,_0x39c557,_0x2c8d93){var _0x49000b=_0xfe4f58;super(),N(this,_0x49000b(0x2c5),new _0xca4a9f(null)),N(this,_0x49000b(0x383),this['_unitInfo$'][_0x49000b(0x3fd)]()),(this[_0x49000b(0x2e2)]=_0x539955,this[_0x49000b(0x44b)]=_0x39c557,this[_0x49000b(0x44a)]=_0x2c8d93);}async[_0xfe4f58(0x416)](_0x331516,_0x45759c,_0x427ece){var _0x2ff061=_0xfe4f58;this[_0x2ff061(0x2c5)][_0x2ff061(0x33e)]({'unitId':_0x331516,'type':_0x45759c,'subUnitId':_0x427ece});let _0x1673e3=null;switch(_0x45759c){case Q['UNIVER_SHEET']:{_0x1673e3=await this['_loadSheet'](_0x331516);break;}case Q['UNIVER_DOC']:{_0x1673e3=await this[_0x2ff061(0x341)](_0x331516);break;}default:{this[_0x2ff061(0x2e2)][_0x2ff061(0x287)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1673e3;}async[_0xfe4f58(0x310)](_0xaed402){var _0x2de636=_0xfe4f58,_0x35f7db;let _0x358ae9=0x0;const _0x219a4a=await((_0x35f7db=this['_localCacheService'])==null?void 0x0:_0x35f7db[_0x2de636(0x4b6)](_0xaed402));return _0x219a4a&&(_0x219a4a[_0x2de636(0x4a5)]||_0x219a4a[_0x2de636(0x28a)][_0x2de636(0x4f4)]!==0x0)&&(_0x358ae9=_0x219a4a['rev']),_0x358ae9===0x0&&this['_logService'][_0x2de636(0x2ec)](_0x2de636(0x483),_0x2de636(0x417)),this[_0x2de636(0x44b)][_0x2de636(0x414)](_0xaed402,_0x358ae9);}async[_0xfe4f58(0x341)](_0x1b3738){var _0x225672=_0xfe4f58,_0x215f51;let _0x17f0c3=0x0;const _0x35ed29=await((_0x215f51=this[_0x225672(0x44a)])==null?void 0x0:_0x215f51['loadOfflineData'](_0x1b3738));return _0x35ed29&&(_0x35ed29['awaitingChangeset']||_0x35ed29[_0x225672(0x28a)]['length']!==0x0)&&(_0x17f0c3=_0x35ed29[_0x225672(0x45c)]),_0x17f0c3===0x0&&this[_0x225672(0x2e2)]['debug'](_0x225672(0x483),_0x225672(0x417)),this[_0x225672(0x44b)][_0x225672(0x4d3)](_0x1b3738,_0x17f0c3);}};bt=Qs([mt(0x0,_0x174c69),mt(0x1,_0xa221c6(_0x2857a0)),mt(0x2,_0x26efdf(J))],bt);var er=Object[_0xfe4f58(0x458)],tr=(_0x36eaa7,_0x12c245,_0x152641,_0x2d0861)=>{for(var _0x408cf6=_0x2d0861>0x1?void 0x0:_0x2d0861?er(_0x12c245,_0x152641):_0x12c245,_0x4262f3=_0x36eaa7['length']-0x1,_0x1813e3;_0x4262f3>=0x0;_0x4262f3--)(_0x1813e3=_0x36eaa7[_0x4262f3])&&(_0x408cf6=_0x1813e3(_0x408cf6)||_0x408cf6);return _0x408cf6;},gt=(_0x23e346,_0x327711)=>(_0x552746,_0x1dacd0)=>_0x327711(_0x552746,_0x1dacd0,_0x23e346);const ir=['image/png','image/jpeg',_0xfe4f58(0x4d7),_0xfe4f58(0x265),_0xfe4f58(0x31b)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0xfe4f58(0x244),ar=_0xfe4f58(0x361),or=_0xfe4f58(0x26a);let yt=class{constructor(_0x4b4d6d,_0x391141,_0x209772){var _0x3e1518=_0xfe4f58;N(this,_0x3e1518(0x25b),0x0),N(this,'_change$',new _0x5f3a07()),N(this,_0x3e1518(0x315),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x3e1518(0x44c)]=_0x4b4d6d,this[_0x3e1518(0x26e)]=_0x391141,this['_univerInstanceService']=_0x209772);}[_0xfe4f58(0x291)](_0x326863){var _0x3418f4=_0xfe4f58;this[_0x3418f4(0x25b)]=_0x326863,this[_0x3418f4(0x2fd)][_0x3418f4(0x33e)](_0x326863);}['getImageSourceCache'](_0x1970c1,_0x4fe88d){var _0x147270=_0xfe4f58;if(_0x4fe88d===_0x260a85[_0x147270(0x39d)]){const _0x5a9b74=new Image();return _0x5a9b74[_0x147270(0x3ef)]=_0x1970c1,_0x5a9b74;}return this['_imageSourceCache'][_0x147270(0x304)](_0x1970c1);}[_0xfe4f58(0x420)](_0xbf7c2f,_0x308869,_0x2469d7){var _0x41f078=_0xfe4f58;_0x308869===_0x260a85['BASE64']||_0x2469d7==null||this[_0x41f078(0x466)][_0x41f078(0x41d)](_0xbf7c2f,_0x2469d7);}async[_0xfe4f58(0x1f1)](_0x3b6717){var _0x4ec90f=_0xfe4f58;try{const _0x571a5d=this[_0x4ec90f(0x204)](this[_0x4ec90f(0x289)](),''+_0x3b6717),_0x4f20b8=(await this['_httpService'][_0x4ec90f(0x304)](_0x571a5d))[_0x4ec90f(0x4e8)];if(_0x4f20b8[_0x4ec90f(0x287)]&&_0x4f20b8[_0x4ec90f(0x287)]['code']===Si['OK']){const _0x154441=new URL(_0x4f20b8['url'],this[_0x4ec90f(0x453)]())[_0x4ec90f(0x2d2)]();return Promise[_0x4ec90f(0x3af)](_0x154441);}return Promise[_0x4ec90f(0x47b)](_0x4f20b8[_0x4ec90f(0x287)]);}catch(_0x5ad416){return Promise[_0x4ec90f(0x47b)](_0x5ad416);}}async[_0xfe4f58(0x23f)](_0x3b1bc2){var _0x1872c4=_0xfe4f58;let _0x5e75dd='';if(!ir[_0x1872c4(0x386)](_0x3b1bc2[_0x1872c4(0x255)]))return this['_decreaseWaiting'](),Promise[_0x1872c4(0x47b)](new Error(_0x52bc70[_0x1872c4(0x47f)]));if(_0x3b1bc2[_0x1872c4(0x21a)]>nr)return this[_0x1872c4(0x4e9)](),Promise[_0x1872c4(0x47b)](new Error(_0x52bc70[_0x1872c4(0x263)]));try{const _0x2dcb11=new FormData();_0x2dcb11[_0x1872c4(0x23b)](_0x1872c4(0x308),_0x3b1bc2);const _0x1f4427=this[_0x1872c4(0x365)]['getFocusedUnit'](),_0x15c607=_0x1f4427==null?void 0x0:_0x1f4427['getUnitId']();if(!_0x15c607)throw new Error(_0x1872c4(0x21b));const _0x38c868=this[_0x1872c4(0x3fa)]()+_0x1872c4(0x3b2)+_0x3b1bc2['size'][_0x1872c4(0x2d2)]()+'&source='+Ei['UnitEmbedded']+_0x1872c4(0x3f3)+encodeURIComponent(_0x15c607),_0x3a1a06=await(await fetch(_0x38c868,{'method':_0x1872c4(0x3be),'body':_0x2dcb11}))[_0x1872c4(0x359)]();if(typeof _0x3a1a06['FileId']!=_0x1872c4(0x4c4))return this[_0x1872c4(0x4e9)](),Promise[_0x1872c4(0x47b)](new Error(_0x52bc70['ERROR_IMAGE']));_0x5e75dd=_0x3a1a06[_0x1872c4(0x285)];}catch{return this[_0x1872c4(0x4e9)](),Promise['reject'](new Error(_0x52bc70[_0x1872c4(0x1f4)]));}return new Promise((_0x49d887,_0x4f29e9)=>{var _0x11bde1=_0x1872c4;const _0x5d170c=new FileReader();_0x5d170c[_0x11bde1(0x21c)](_0x3b1bc2),_0x5d170c['onload']=_0x942f43=>{var _0xf204c7=_0x11bde1,_0x730b5;const _0xedb945=(_0x730b5=_0x942f43[_0xf204c7(0x253)])==null?void 0x0:_0x730b5[_0xf204c7(0x48f)];if(_0xedb945==null){this[_0xf204c7(0x4e9)](),_0x4f29e9(new Error(_0x52bc70[_0xf204c7(0x1f4)]));return;}const _0xaa8a7d=_0x3ff519['generateRandomId'](0x6);_0x49d887({'imageId':_0xaa8a7d,'imageSourceType':_0x260a85[_0xf204c7(0x37c)],'source':_0x5e75dd,'base64Cache':_0xedb945,'status':_0x52bc70[_0xf204c7(0x406)]}),this[_0xf204c7(0x4e9)]();};});}[_0xfe4f58(0x3fa)](){var _0x194d23=_0xfe4f58,_0x24aac9,_0xeb34d5;const _0x3a6a0b=this[_0x194d23(0x26e)][_0x194d23(0x252)](sr),_0x13990d=this[_0x194d23(0x26e)][_0x194d23(0x252)](q);return(_0xeb34d5=(_0x24aac9=_0x13990d==null?void 0x0:_0x13990d[_0x194d23(0x496)])!=null?_0x24aac9:_0x3a6a0b)!=null?_0xeb34d5:rr;}[_0xfe4f58(0x289)](){var _0x4b4032=_0xfe4f58,_0x1510ff,_0x40e2d2;const _0x4151e4=this[_0x4b4032(0x26e)][_0x4b4032(0x252)](ar),_0x788d79=this['_configService']['getConfig'](q);return(_0x40e2d2=(_0x1510ff=_0x788d79==null?void 0x0:_0x788d79[_0x4b4032(0x47d)])!=null?_0x1510ff:_0x4151e4)!=null?_0x40e2d2:or;}['_getDownloadEndpointURL'](){var _0x297c3f=_0xfe4f58,_0x426b35;const _0x4123c7=this[_0x297c3f(0x26e)][_0x297c3f(0x252)](q);return(_0x426b35=_0x4123c7==null?void 0x0:_0x4123c7[_0x297c3f(0x309)])!=null?_0x426b35:location[_0x297c3f(0x4ea)];}[_0xfe4f58(0x204)](_0x2bdae7,_0x466c16){var _0x488777=_0xfe4f58;return _0x2bdae7['replace'](_0x488777(0x3cb),_0x466c16);}[_0xfe4f58(0x4e9)](){var _0x5e1b0a=_0xfe4f58;this[_0x5e1b0a(0x25b)]-=0x1,this['_change$']['next'](this['_waitCount']);}};yt=tr([gt(0x0,_0xa221c6(_0x5ef325)),gt(0x1,_0xfaee79),gt(0x2,_0xa221c6(_0x509a63))],yt);var cr=Object[_0xfe4f58(0x458)],hr=(_0x52b686,_0x54f4e6,_0x4a3c1d,_0x3522b2)=>{for(var _0x524293=_0x3522b2>0x1?void 0x0:_0x3522b2?cr(_0x54f4e6,_0x4a3c1d):_0x54f4e6,_0x1aeedc=_0x52b686['length']-0x1,_0x64979a;_0x1aeedc>=0x0;_0x1aeedc--)(_0x64979a=_0x52b686[_0x1aeedc])&&(_0x524293=_0x64979a(_0x524293)||_0x524293);return _0x524293;},hi=(_0x17ebd3,_0x2ff52f)=>(_0x43e992,_0x4f5179)=>_0x2ff52f(_0x43e992,_0x4f5179,_0x17ebd3);const _r=_0xfe4f58(0x39e);let Ot=class{constructor(_0x3bae80,_0x29d807){this['_configService']=_0x3bae80,this['_HTTPService']=_0x29d807;}[_0xfe4f58(0x3d1)](){var _0x4d1081=_0xfe4f58,_0x57c3e9,_0x50658e;const _0x52eebe=this[_0x4d1081(0x26e)][_0x4d1081(0x252)](Ni),_0x175b9e=this[_0x4d1081(0x26e)]['getConfig'](q);return(_0x50658e=(_0x57c3e9=_0x175b9e==null?void 0x0:_0x175b9e[_0x4d1081(0x202)])!=null?_0x57c3e9:_0x52eebe)!=null?_0x50658e:_r;}async[_0xfe4f58(0x3b1)](_0x4d1235){var _0x415386=_0xfe4f58;const _0x33d4eb=this[_0x415386(0x3d1)]()+_0x415386(0x471);return{'list':[{'title':'People','mentions':(await this[_0x415386(0x44d)]['get'](_0x33d4eb,{'params':{'objectID':_0x4d1235[_0x415386(0x3b0)],'unitID':_0x4d1235[_0x415386(0x3b0)]}}))[_0x415386(0x4e8)][_0x415386(0x354)][_0x415386(0x38f)](_0x4012a3=>({'objectId':_0x4012a3['id'],'name':_0x4012a3[_0x415386(0x382)][_0x415386(0x40e)],'metadata':{'icon':_0x4012a3[_0x415386(0x382)][_0x415386(0x22d)]},'label':_0x4012a3[_0x415386(0x382)][_0x415386(0x40e)],'objectType':_0xe90163[_0x415386(0x3eb)]})),'metadata':{},'type':_0xe90163[_0x415386(0x3eb)]}]};}};Ot=hr([hi(0x0,_0xa221c6(_0xfaee79)),hi(0x1,_0xa221c6(_0x5ef325))],Ot);var lr=Object[_0xfe4f58(0x458)],ur=(_0x560899,_0x32a7c9,_0x3f24fd,_0x2c1670)=>{var _0x55155b=_0xfe4f58;for(var _0x5a233d=_0x2c1670>0x1?void 0x0:_0x2c1670?lr(_0x32a7c9,_0x3f24fd):_0x32a7c9,_0x569fc9=_0x560899[_0x55155b(0x4f4)]-0x1,_0x449cae;_0x569fc9>=0x0;_0x569fc9--)(_0x449cae=_0x560899[_0x569fc9])&&(_0x5a233d=_0x449cae(_0x5a233d)||_0x5a233d);return _0x5a233d;},we=(_0x8fd59b,_0x2451d0)=>(_0xd4b019,_0x1ec110)=>_0x2451d0(_0xd4b019,_0x1ec110,_0x8fd59b);let ot=class extends _0x560f21{constructor(_0x9655a2,_0x458373,_0x520762,_0x301376,_0x4af821){var _0x3e3da1=_0xfe4f58;super(),this[_0x3e3da1(0x421)]=_0x9655a2,this[_0x3e3da1(0x365)]=_0x458373,this[_0x3e3da1(0x407)]=_0x520762,this[_0x3e3da1(0x2f8)]=_0x301376,this[_0x3e3da1(0x212)]=_0x4af821,this[_0x3e3da1(0x31c)](),this[_0x3e3da1(0x2aa)]();}[_0xfe4f58(0x2aa)](){var _0x525534=_0xfe4f58;const _0x3484b2=async _0x4c5379=>{var _0x52ebe9=_0x1071;(await this['_collaborationSessionService']['requireSession'](_0x4c5379))[_0x52ebe9(0x392)][_0x52ebe9(0x47c)](_0x1114a4(_0x5c3818=>_0x5c3818['eventID']===_0x3534fc[_0x52ebe9(0x2c1)]),_0x3b169b(this[_0x52ebe9(0x358)]))[_0x52ebe9(0x48a)](_0x49776b=>{var _0x357918=_0x52ebe9;const _0x105d83=_0x49776b,{reason:_0x544233}=_0x105d83[_0x357918(0x23e)];this[_0x357918(0x212)][_0x357918(0x4bb)]({'id':re[_0x357918(0x379)],'data':_0x544233}),this[_0x357918(0x407)][_0x357918(0x43a)](new _0x4b3777(_0x4c5379)['id'],!0x1),this[_0x357918(0x2f8)]['closeSession'](_0x4c5379);});};_0x5a4a18(this[_0x525534(0x365)][_0x525534(0x3ce)](_0x3d4c93[_0x525534(0x24f)]),this[_0x525534(0x365)][_0x525534(0x3ce)](_0x3d4c93['UNIVER_DOC']))[_0x525534(0x47c)](_0x18a5ad(_0x131e84=>_0x131e84[_0x525534(0x20c)]()),_0x1114a4(_0x41b128=>!_0x5407f1(_0x41b128)),_0x3b169b(this['dispose$']))[_0x525534(0x48a)](_0x33b3cc=>{_0x3484b2(_0x33b3cc);});}[_0xfe4f58(0x31c)](){var _0x413eed=_0xfe4f58;const _0x54313f=async _0x3bb85e=>{var _0x2d79e9=_0x1071;const _0x5a914a=await this[_0x2d79e9(0x2f8)][_0x2d79e9(0x35a)](_0x3bb85e),_0x4a73c9=this[_0x2d79e9(0x421)][_0x2d79e9(0x304)](_0x458491);_0x5a914a['event$'][_0x2d79e9(0x47c)](_0x1114a4(_0x2d669d=>_0x2d669d[_0x2d79e9(0x238)]===_0x3534fc['UPDATE_PERMISSION_OBJ']),_0x3b169b(this[_0x2d79e9(0x358)]))[_0x2d79e9(0x48a)](_0x2d226b=>{var _0x4aa513=_0x2d79e9;const _0x2a1860=_0x2d226b,{objectId:_0x1c0675}=_0x2a1860['data'];_0x1c0675===_0x3bb85e?_0x4a73c9['initWorkbookPermissionChange'](_0x3bb85e):_0x4a73c9[_0x4aa513(0x27d)](_0x3bb85e,_0x1c0675);});};_0x5a4a18(this[_0x413eed(0x365)]['getTypeOfUnitAdded$'](_0x3d4c93[_0x413eed(0x24f)]))[_0x413eed(0x47c)](_0x18a5ad(_0x5bcf78=>_0x5bcf78[_0x413eed(0x20c)]()),_0x1114a4(_0x3c4c8a=>!_0x5407f1(_0x3c4c8a)),_0x3b169b(this[_0x413eed(0x358)]))['subscribe'](_0x18d6a0=>{_0x54313f(_0x18d6a0);});}};ot=ur([we(0x0,_0xa221c6(_0x448e61)),we(0x1,_0x509a63),we(0x2,_0x5aa8b2),we(0x3,_0xa221c6(xe)),we(0x4,_0xa221c6(pe))],ot);var dr=Object[_0xfe4f58(0x458)],fr=(_0x5009fe,_0x17222d,_0x4705a3,_0x152e80)=>{for(var _0x3ca22d=_0x152e80>0x1?void 0x0:_0x152e80?dr(_0x17222d,_0x4705a3):_0x17222d,_0x4fe184=_0x5009fe['length']-0x1,_0x3483c7;_0x4fe184>=0x0;_0x4fe184--)(_0x3483c7=_0x5009fe[_0x4fe184])&&(_0x3ca22d=_0x3483c7(_0x3ca22d)||_0x3ca22d);return _0x3ca22d;},_i=(_0x103c00,_0x402ac1)=>(_0x3fbdb0,_0x440fa2)=>_0x402ac1(_0x3fbdb0,_0x440fa2,_0x103c00);let Nt=class{constructor(_0x285588,_0x4487ef){var _0x4fbbe7=_0xfe4f58;this[_0x4fbbe7(0x26e)]=_0x285588,this['_httpService']=_0x4487ef;}async[_0xfe4f58(0x48b)](_0x4bb50a,_0x4664e8){var _0x439449=_0xfe4f58,_0x5df61f;const {unitID:_0x32ae36,type:_0x508033,revision:_0x464889=0x0}=_0x4664e8,_0x4f9f3b=this['getSnapshotAPIPath']()+'/'+_0x508033+'/unit/'+_0x32ae36+_0x439449(0x3c1)+_0x464889,_0x3a3305=(await this[_0x439449(0x44c)][_0x439449(0x304)](_0x4f9f3b))[_0x439449(0x4e8)],_0x3fb7b0=(_0x5df61f=_0x3a3305[_0x439449(0x20f)])==null?void 0x0:_0x5df61f[_0x439449(0x2d6)];if(_0x3fb7b0){const _0x4c1df6=_0x3fb7b0==null?void 0x0:_0x3fb7b0['originalMeta'],_0x36e291=_0x249caf[_0x439449(0x3ed)](_0x2b59e5(_0x4c1df6));_0x3fb7b0[_0x439449(0x4a2)]=_0x36e291,Object[_0x439449(0x43e)](_0x3fb7b0[_0x439449(0x43f)])['forEach'](([,_0x542c14])=>{var _0x521504=_0x439449;const _0x16aa2b=_0x542c14[_0x521504(0x4a2)],_0x1b959c=_0x249caf[_0x521504(0x3ed)](_0x2b59e5(_0x16aa2b));_0x542c14['originalMeta']=_0x1b959c;});}return _0x3a3305;}async[_0xfe4f58(0x434)](_0x2287da,_0x584242){var _0x144b38=_0xfe4f58;const {unitID:_0x4a4b79,type:_0x3c7a9a,blockID:_0x2c08d6}=_0x584242,_0x4165e7=this[_0x144b38(0x4e2)]()+'/'+_0x3c7a9a+_0x144b38(0x357)+_0x4a4b79+'/block/'+_0x2c08d6;return(await this[_0x144b38(0x44c)][_0x144b38(0x304)](_0x4165e7))[_0x144b38(0x4e8)];}async[_0xfe4f58(0x2ad)](_0x11684a,_0x1e3470){var _0x43b2d2=_0xfe4f58;const {unitID:_0x594a75,type:_0x5ad329,blockID:_0x22338d}=_0x1e3470,_0x44488b=this[_0x43b2d2(0x4e2)]()+_0x43b2d2(0x2b4)+_0x5ad329+_0x43b2d2(0x357)+_0x594a75+_0x43b2d2(0x2b4)+_0x22338d;return(await this[_0x43b2d2(0x44c)][_0x43b2d2(0x304)](_0x44488b))['body'];}async['fetchMissingChangesets'](_0x3f5bbf,_0x16c5e7){var _0x16e5fc=_0xfe4f58;const {unitID:_0xd2e733,type:_0x31d753,from:_0x1963ba,to:_0x5d9ebb}=_0x16c5e7,_0x1b72c4=this[_0x16e5fc(0x4e2)]()+'/'+_0x31d753+_0x16e5fc(0x357)+_0xd2e733+_0x16e5fc(0x3f4)+_0x1963ba+_0x16e5fc(0x3e6)+_0x5d9ebb;return(await this[_0x16e5fc(0x44c)]['get'](_0x1b72c4))[_0x16e5fc(0x4e8)];}[_0xfe4f58(0x4b3)](){var _0x208d05=_0xfe4f58,_0x4d35a5;return(_0x4d35a5=this[_0x208d05(0x26e)][_0x208d05(0x252)](Sn))!=null?_0x4d35a5:this[_0x208d05(0x4e2)]();}[_0xfe4f58(0x4e2)](){var _0x20c845=_0xfe4f58,_0x12dc96,_0x17f98c;const _0x37bd4a=this[_0x20c845(0x26e)][_0x20c845(0x252)](mn),_0x3174e7=this[_0x20c845(0x26e)][_0x20c845(0x252)](q);return(_0x17f98c=(_0x12dc96=_0x3174e7==null?void 0x0:_0x3174e7[_0x20c845(0x4eb)])!=null?_0x12dc96:_0x37bd4a)!=null?_0x17f98c:gn;}async[_0xfe4f58(0x49e)](_0x48b10d,_0x49fecf){var _0x1a8a7b=_0xfe4f58;const _0x3fdf22=_0x1a8a7b(0x302)+_0x49fecf[_0x1a8a7b(0x255)]+_0x1a8a7b(0x357)+_0x49fecf[_0x1a8a7b(0x375)]+_0x1a8a7b(0x4f6);return(await this[_0x1a8a7b(0x44c)][_0x1a8a7b(0x304)](_0x3fdf22,{'params':{'resourceId':JSON[_0x1a8a7b(0x3a8)](_0x49fecf[_0x1a8a7b(0x2d3)])}}))[_0x1a8a7b(0x4e8)];}['saveSnapshot'](){var _0x3279ad=_0xfe4f58;throw new Error(_0x3279ad(0x3f2));}[_0xfe4f58(0x34a)](){var _0x506dcd=_0xfe4f58;throw new Error(_0x506dcd(0x3f2));}[_0xfe4f58(0x21e)](){var _0x4aa600=_0xfe4f58;throw new Error(_0x4aa600(0x3f2));}['copyFileMeta'](){var _0x1ec59b=_0xfe4f58;throw new Error(_0x1ec59b(0x3f2));}[_0xfe4f58(0x250)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0xfaee79),_i(0x1,_0xa221c6(_0x5ef325))],Nt);var vr=Object[_0xfe4f58(0x458)],pr=(_0x478d34,_0x15b1f9,_0x5cabf8,_0x1bcfad)=>{var _0x5c5e7f=_0xfe4f58;for(var _0xcf2921=_0x1bcfad>0x1?void 0x0:_0x1bcfad?vr(_0x15b1f9,_0x5cabf8):_0x15b1f9,_0x404fd1=_0x478d34[_0x5c5e7f(0x4f4)]-0x1,_0x76433b;_0x404fd1>=0x0;_0x404fd1--)(_0x76433b=_0x478d34[_0x404fd1])&&(_0xcf2921=_0x76433b(_0xcf2921)||_0xcf2921);return _0xcf2921;},Pe=(_0x2f9bdb,_0x1a408a)=>(_0x502927,_0x352d79)=>_0x1a408a(_0x502927,_0x352d79,_0x2f9bdb);let Dt=class extends _0x3ee999{constructor(_0x15b866,_0x58644e,_0x1473c9,_0x3ab887,_0x1bb6c9){var _0x200742=_0xfe4f58;super(_0x15b866,_0x58644e,_0x1473c9),this[_0x200742(0x2c3)]=_0x3ab887,this['_logService']=_0x1bb6c9;}[_0xfe4f58(0x461)](_0x2b6434,_0x25fa89){var _0x310854=_0xfe4f58;const _0x3d2157=this[_0x310854(0x2e6)](_0x2b6434);if(_0x3d2157)try{const _0x29de74=this['_transformStack'](_0x3d2157,_0x25fa89);this['_substituteUndoStack'](_0x2b6434,_0x29de74);}catch(_0x30b43b){this[_0x310854(0x2e2)][_0x310854(0x287)](_0x310854(0x209),_0x30b43b),this[_0x310854(0x4a4)](_0x2b6434);}const _0x407af2=this['_getRedoStack'](_0x2b6434);if(_0x407af2)try{const _0x599e95=this[_0x310854(0x226)](_0x407af2,_0x25fa89);this['_substituteRedoStack'](_0x2b6434,_0x599e95);}catch(_0x246825){this['_logService'][_0x310854(0x287)](_0x246825),this[_0x310854(0x399)](_0x2b6434);}}[_0xfe4f58(0x4a4)](_0x5160fb){var _0x16485e=_0xfe4f58;const _0x5748cd=this['_getUndoStack'](_0x5160fb);_0x5748cd&&(_0x5748cd[_0x16485e(0x4f4)]=0x0,this[_0x16485e(0x3e5)]());}['_clearRedo'](_0x5c4e87){var _0x2bcecb=_0xfe4f58;const _0x35d69e=this['_getRedoStack'](_0x5c4e87);_0x35d69e&&(_0x35d69e['length']=0x0,this[_0x2bcecb(0x3e5)]());}['_substituteUndoStack'](_0x43d3b9,_0x51c148){var _0x5345b1=_0xfe4f58;this[_0x5345b1(0x3ae)][_0x5345b1(0x41d)](_0x43d3b9,_0x51c148),this[_0x5345b1(0x3e5)]();}['_substituteRedoStack'](_0x2898a5,_0x134615){var _0x626b0c=_0xfe4f58;this[_0x626b0c(0x4ab)][_0x626b0c(0x41d)](_0x2898a5,_0x134615),this['_updateStatus']();}[_0xfe4f58(0x226)](_0x3b497c,_0x13791c){var _0x77ed97=_0xfe4f58;const _0x2823b4=[];let _0x56ce0e=_0x13791c,_0x76cf27=_0x13791c;for(let _0x227ccd=_0x3b497c[_0x77ed97(0x4f4)]-0x1;_0x227ccd>=0x0;_0x227ccd--){const {unitID:_0x1e95e3,undoMutations:_0x377266,redoMutations:_0x8477b8}=_0x3b497c[_0x227ccd],_0xcd6344=this['_transformService'][_0x77ed97(0x37a)](_0x56ce0e,_0x377266),_0x30282b=this[_0x77ed97(0x2c3)][_0x77ed97(0x37a)](_0x76cf27,_0x8477b8);if(_0x3b29be(_0xcd6344)||_0x3b29be(_0x30282b)){this['_logService'][_0x77ed97(0x287)](_0x77ed97(0x209),'transformStack\x20failed!',_0xcd6344,_0x30282b);break;}_0x56ce0e=_0xcd6344['c1Prime'],_0x76cf27=_0x30282b[_0x77ed97(0x1fc)],_0x2823b4[_0x77ed97(0x2b6)]({'unitID':_0x1e95e3,'undoMutations':_0xcd6344[_0x77ed97(0x2b9)],'redoMutations':_0x30282b['m2Prime']});}return _0x2823b4[_0x77ed97(0x2d1)]();}};function _0xe5c9(){var _0x4614ee=['_telemetryInfo','RECV','_getUploadFileURL','getCollabEntity','_tryEnsureSocket','asObservable','message$','YUUMI_SUBSCRIPTION_NOT_FOUND','_retryCount','FETCH_MISSING','compose','override','_initRequestHeader','_getCurrentRevision','SUCCUSS','_permissionService','APPLY_REJECT','_init','_candidateSocket','floor','objectActions','PERMISSION_REJ','name','reset','_incrementRevisionNumber','getWorkbookSelections','getAllMembers','ENSURE_SNAPSHOT_EXECUTION','loadSheet','csShouldRetryEvent','loadUnit','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationSessionService]','UserProfileImg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNIVER_PROJECT','onLocalMutation','set','COMPRESS_MUTATION_APPLY','AWAITING','addImageSourceCache','_injector','onTransformRemoteChangesetByStateCache','_state$','MD5','Cipher','_iv','registerHTTPInterceptor','join','getCurrentRevOfUnit','collabSubmitChangesetUrl','members$','words','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subUnitId','_entityInit$','HELLO','ivSize','Base64','liveShareOperation','getSheetBlock','updateCursorEvent','_getLoginPath','_clearLocalCache','\x20to\x20','NEW_CHANGESETS','updatePermissionPoint','hostname','_waitForHeartbeatResponse','_createInitialStateImpl','entries','sheets','cfg','UnitSnapshot','_resendWithTimeout','liveShareNewHost','onRemoteChangeset','_oKey','_collaborationTimeoutTimer','_nDataBytes','AUTHZ_URL_KEY','patch','_localCacheService','_snapshotService','_httpService','_HTTPService','awaiting','[CollaborationState]:\x20apply\x20error!','reqId','_sendHeartbeat','/new_changes','_getDownloadEndpointURL','INVITE_CODE_REQUIRED','[OfflineState]:\x20received\x20acknowledgement.','_members','fetchMissingChangesets','getOwnPropertyDescriptor','HMAC','JOIN_ROOM_PERMISSION_DENIED','\x20in\x20_schedule.','rev','_scheduleCollaborationTimeoutTimer','createDecryptor','INTERNAL_ERROR','has','transformUndoRedo','pending','PERMISSION_DENIED','findIndex','getTypeOfUnitDisposed$','_imageSourceCache','enc','memberID','FETCH_MISS','Decryptor','mode','_keyPriorReset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','AWAITING_WITH_PENDING','c2Prime','localeService','/collaborator','_commentService','COLLAB_WEB_SOCKET_URL','charAt','CHANGESET_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','fetch_missing','deleteCollaborator','key','YUUMI_RATE_OVER_LIMIT','reject','pipe','signUrlServerUrl','location','ERROR_IMAGE_TYPE','listRoles','failed\x20to\x20apply\x20missed\x20changesets!','function','[DataLoaderService]','conflict','COMMENT_UPDATE','charCodeAt','onSendChangeset','IDLE','_clearScheduledTask','subscribe','getUnitOnRev','Could\x20not\x20dynamically\x20require\x20\x22','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_iKey','result','getCurrentUser','onTransformState','setCurrentUser','objects','_mode','sessionStatus$','uploadFileServerUrl','INGEST','_members$','LICENSE_IMPORT_SIZE_EXCEEDED','884686oULWKM','JOIN_ROOM_NOT_EXISTS','min','compute','getResourcesRequest','mixIn','_onRemoteChangeset','_transformUndoredo','originalMeta','252oTeMPi','_clearUndo','awaitingChangeset','_collaborationPaused','localCacheService','_clearTimeoutTimer','274400gQrRnR','JOINING','_redoStacks','getUnitType','unpad','NOT_COLLAB','isArray','extend','UNDEFINED','_revisionService','getSnapshotAPIPath','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','parse','loadOfflineData','toggleOffline','CONFLICT','save\x20fail\x20reason\x20is\x20','enableSingleActiveInstanceLock','emitEvent','_onCombEvent','slice','href','ALREADY_EXISTS','submit\x20changeset\x20error!','_onOffline','hasOwnProperty','_sessions','string','_socket$','_collabSessionService','USER_NOT_INVITED_CODE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','PY_RUNTIME_SCRIPT_ERROR','close$','_throwTelemetryCollaborationNewChangeset','title','\x20-\x20','getActiveSheet','_userManagerService','Encryptor','finalize','range','loadDoc','APPLY_NON_SEQUENTIAL_REVISION','univer-pro.collaboration-client-socket-service','_onMessage','image/jpg','removeMember','_changesetSessionId','routeKey','_retryConnectingTimer','algo','add','fetchMiss','updateCollaborator','_hash','_handler','_getAPIPrefix','_sendingTimer','addHandlerCallback','getRandomValues','session.room-full','[CollaborationEntity]','body','_decreaseWaiting','origin','snapshotServerUrl','joinEvent','SEND_CHANGESET_TIMEOUT','UNIVER_COLLABORATION_CLIENT_PLUGIN','univer-pro.collaboration-client.network-condition.service','CHANGESET_SHOULD_RETRY','_updateState','apply','_replayCachedMutations','length','[CollaborationSession]','/resources','clone','/object','find','[SyncedState]:\x20received\x20rejection.','univer-pro.collaboration-client.single-active-unit-service','listCollaborators','stopTime','padding','getImage','close','reduce','ERROR_IMAGE','UPDATE_CURSOR','APPLY_PERMISSION_DENIED','882kNKrAQ','x-univer-host','_reverseMap','updateMember','_doCryptBlock','c1Prime','MSG_FOR_ERROR','DEFAULT_FILE_NAME','_map','[OfflineState]:\x20received\x20rejection.','RETRY_CONNECTING_MAX_COUNT','authzUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_replaceFileID','_changesetReqId','session','entityInit$','clear','[CollaborationUndoRedoService]','lib','onCommentUpdate','getUnitId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','snapshot','_type','unit-cache-','_collaborationUIEventService','/allowed','appendMutation','_doProcessBlock','11859mWHkjV','startsWith','_onRecvEvent','[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.','size','unitId\x20is\x20not\x20found','readAsDataURL','SNAPSHOT_SERVER_URL_KEY','saveChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_snapshotServerService','updatePermissionObjEvent','repeat','_resendTimeout','auth.needGotoLoginAlert','_showConflictNotification','_transformStack','INVITE_CODE_ALREADY_BOUND','ceil','create','crypto','_onFetchMissResult','Malformed\x20UTF-8\x20data','avatar','LIVESHARE_TERMINATE','not_collab','editing\x20status\x20changed\x20to','UNISCRIPT_RUN','onRemoteRej','WordArray','_awaitingChangeset','rng','_disableEditing','permissionRejEvent','eventID','_createSocket','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','append','capture','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','data','saveImage','isPermissionRej','Utf8','getMemberID','Error\x20on\x20receiving\x20event','/universer-api/stream/file/upload','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','setShowComponents','ciphertext','_getSendChangesetTimeout','BlockCipherMode','collaboration_new_changeset','_prevBlock','commentUpdateEvent','csRejEvent','onTransformSelections','UNIVER_SHEET','getLatestCsReqIdBySid','StreamCipher','getConfig','target','_startCollaboration','type','allowed','NOT_FOUND','getUnit','method','GLOBAL_ROOMS_CNT_EXCEEDS','_waitCount','SOCKET_FAILED_RETRY','CHANGESET_REJ','SYNCED','_append','getInterceptPoints','post','HttpImport','ERROR_EXCEED_SIZE','dispose','image/gif','_onConnectionOpen','confirm','concat','LOCAL_CACHE_INTERVAL','/universer-api/file/{fileID}/sign-url','objectID','readyForCollab','updateOfflineData','_configService','WECHAT_HAS_BEEN_BOUND','setConfig','init','_invKeySchedule','from','onMissingChangesets','random','CipherParams','_roomCreated$','_joinRoom','_data','formatter','putCollaborators','_sendHeartbeatTimer','refreshPermission','MOBILE_HAS_BEEN_BOUND','_unitID','[SyncedState]:\x20received\x20acknowledgement.','exports','[CollaborationSessionService]:\x20socket\x20error','_createHandler','connection\x20error','FileId','PasswordBasedCipher','error','UPDATE_PERMISSION_OBJ','_getSignURL','mutations','fromCharCode','INVALID_ARGUMENT','prototype','SUBMIT_CHANGESET_TIMEOUT','_exhaustRemoteChangesetQueue','_localeService','setWaitCount','_doReset','_transformSelections','_unlockTransition','_hasher','open$','_resendTimer','4844274SjgTwy','_emitMembers','_updateLocalCache','46185tvqmVL','toLowerCase','bind','OTHER_CLIENT_EDITING','[PendingState]:\x20received\x20rejection.','32TXKWTS','SHA1','_undoRedoService','params','session.room-cnt-exceeds','_toggleOffline','PSEUDO_FETCH_MISSING_RESULT','_config','_queuedRemoteChangesets','getCurrentSelections','_initCloseConn','waitForRoom$','blockSize','getDeserializedSheetBlock','/universer-api/user/session-ticket','onCommandExecuted','sigBytes','7zjLVnr','_toggleOnline','now','/block/','editingUnit','push','encrypt','_createInitialState','m2Prime','_fetchMissChangesets','salt','_cipher','LIVESHARE_NEW_HOST','_nRounds','_sender','?url=','SHOULD_CLOSE_CONN','resend','_transformService','unknown','_unitInfo$','24ocDGLU','_socketMessageSubscription','_transformIMECache','fromCollab','byteLength','reconnect','_key','socket\x20close','status$','UNKNOWN_CODE','_scheduleCompleteTimestamp','reverse','toString','resourceIDs','decrypt','335394iEvoAC','workbook','/universer-api/oidc/authpage','SOCKET_FAILED','transformChangesets','actions','_transitionLocked','_telemetryService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getTime','OFFLINE','onTransformIME','onlyLocal','_logService','PENDING','YUUMI_URL_COL_OUT_OF_RANGE','$super','_getUndoStack','INVITE_CODE_HAS_BEEN_UES','APPLY_REVISION_CONFILICT','interceptor','equals','USERS_LEAVE','debug','__Key__','keySize','_networkConditionService','readInt32LE','_applyRemoteChangeset','Undefined','_createHmacHelper','onMissedChangesetFetched','newCsEvent','csAckEvent','createInstance','_collaborationSessionService','collaboration-client.local-cache-service','_xformMode','_transformStateCache','/universer-api/uniscript','_change$','EvpKDF','CHANGESET_ACK','state','getMember','/universer-api/snapshot/','randomUUID','get','_clearRetryConnectingTimer','onRemoteRetry','_stopTelemetryCollaborationNewChangeset','file','downloadEndpointUrl','toggleOnline','format','textRanges','_executeRemoteChangeset','_socketReady','_schedule','_loadSheet','every','forEach','UNRECOGNIZED','createEncryptor','change$','_parse','unsubscribe','complete','_socketService','UNIVER_UNKNOWN','image/bmp','_initUnitPermissionChange','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collaboration-client.config','LIVESHARE_OPERATION','_sessionStatus$','_pendingMutations','byteOffset','uniscriptRunEvent','JOIN_ROOM_FAILED','update','HEARTBEAT_TIMEOUT','USERS_ENTER','leaveEvent','LIVESHARE_FETCH_OPERATIONS','_registerDependencies','_timeoutTimer','_createHelper','_acknowledgedAwaitingChangeset','status','members','_shouldReportTelemetry','hasher','_socket','_eventService','baseRev','BlockCipher','fetchThroughInterceptors','createCollaborator','transformSelections','enableOfflineEditing','defineProperty','NoPadding','max','_handlerCallback','next','LIVESHARE_REQUEST_HOST','sid','_loadDoc','_rescheduleHeartbeat','_clearHeartbeatTimer','encryptBlock','_submitChangeset','SNAPSHOT_URL_KEY','SNAPSHOT_INVALID_SNAPSHOT','deepClone','_onUserJoin','saveSheetBlock','_singleActiveUnitService','headers','JOIN_ROOM_FULL','/universer-api/comb','_minBufferSize','onSyncEditingCollabCursor','collabWebSocketUrl','_removeRoom','loginUrlKey','collaborators','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onRemoteAck','/unit/','dispose$','json','requireSession','APPLY_DUPLICATED','telemetry\x20info\x20is\x20not\x20initialized','indexOf','_onRemoteRetry','EMAIL_HAS_BEEN_BOUND','_roomMembers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/object/','__creator','JOIN','_univerInstanceService','_isPermissionRej','ONLINE','_onConnectionFailed','HttpExport','session.room-permission-denied','shouldCloseConn','NO_OTHER_CLIENTS_EDITING','_onLocalMutation','selections','OpenSSL','default','socket$','_initDependencies','_state','incrementRevOfUnit','unitID','code','fetching\x20missing\x20changesets\x20from\x20','_initMergeInterceptor','CLOSE_ROOM','transformMutationsWithChangeset','_doFinalize','UUID','_listenToNetworkCondition','sessionStatus','userID','_onRemoteRejected','socketService','subject','unitInfo$','_getCtorByUniverType','session.room-not-exists','includes','disposeWithMe','disableLocalCache','Base','Hasher','COMPRESS_MUTATION_SEND','Latin1','delete','_memberService','map','UNKNOWN_CMD','HEARTBEAT_INTERVAL','event$','execute','[FetchMissState]','_checkMissing','_event$','AES','TOO_MANY_REQUESTS','_clearRedo','\x0aCurrent:\x20','state$','SUBMIT_CHANGESET','BASE64','/universer-api/authz','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','call','/-/object/-/batch_allowed','getFocusedUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','send','_ENC_XFORM_MODE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformRemoteChangesetByStateCache','stringify','pad','enableAuthServer','kdf','requestParams','_status$','_undoStacks','resolve','unitId','list','?size=','getCollabEntity$','cmd','offline','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','HEARTBEAT','revision','pluginName','[OfflineState]:\x20received\x20changeset.','synced','UNAUTHENTICATED','_DEC_XFORM_MODE','POST','LICENSE_EXPORT_SIZE_EXCEEDED','SerializableCipher','/rev/','BufferedBlockAlgorithm','commentUpdate$','MUTATION','_onJoinRoomEvent','getValue','UNIVER_SLIDE','[PendingState]:\x20received\x20acknowledgement.','/-/object/list','Univer','{fileID}','sin','Hex','getTypeOfUnitAdded$','Pkcs7','url','_getAPIPrefixPath','getUnitStatus$','UNIVER_DOC','OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','createSocket','/universer-api/snapshot','_commentUpdate$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_compressMutationService','collaboratorID','clamp','objectType','symbol','FAIL','3398AZpOym','_lockTransition','_onUserLeave','put','LICENSE_DISTRO_REJECTED','_updateStatus','&to=','_commandService','_entities','onTransformRemoteChangesetByIMECache','msCrypto','PERSON','_onConflict','encode','changesets','src','LEAVE','_transformRemoteChangesetByIMECache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','&assign=','/fetchmissing?from=','_process','HmacMD5','_remoteChangesetQueue'];_0xe5c9=function(){return _0x4614ee;};return _0xe5c9();}Dt=pr([Pe(0x0,_0x509a63),Pe(0x1,_0x2c8d8e),Pe(0x2,_0x291577),Pe(0x3,_0x7dec29),Pe(0x4,_0x174c69)],Dt);var mr=Object['defineProperty'],gr=Object[_0xfe4f58(0x458)],Sr=(_0x3ddcc1,_0x2359bb,_0x1ebab7)=>_0x2359bb in _0x3ddcc1?mr(_0x3ddcc1,_0x2359bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ebab7}):_0x3ddcc1[_0x2359bb]=_0x1ebab7,Er=(_0x33ebeb,_0x4b47cf,_0x325495,_0x3516e1)=>{var _0x4a2962=_0xfe4f58;for(var _0x5caf65=_0x3516e1>0x1?void 0x0:_0x3516e1?gr(_0x4b47cf,_0x325495):_0x4b47cf,_0x2220b3=_0x33ebeb[_0x4a2962(0x4f4)]-0x1,_0x48a614;_0x2220b3>=0x0;_0x2220b3--)(_0x48a614=_0x33ebeb[_0x2220b3])&&(_0x5caf65=_0x48a614(_0x5caf65)||_0x5caf65);return _0x5caf65;},St=(_0x5e5cc0,_0x168995)=>(_0x1efe48,_0x25fbbe)=>_0x168995(_0x1efe48,_0x25fbbe,_0x5e5cc0),Ir=(_0x20a255,_0x383b46,_0x14f9e4)=>Sr(_0x20a255,_0x383b46+'',_0x14f9e4);const Tr=_0xfe4f58(0x4ee);let Ut=class extends _0x35d320{constructor(_0x45e883,_0x1ae727,_0x42f4fe,_0x31ea05){var _0x1e25a3=_0xfe4f58;super(),N(this,_0x1e25a3(0x2a7)),(this[_0x1e25a3(0x2e2)]=_0x1ae727,this['_injector']=_0x42f4fe,this[_0x1e25a3(0x26e)]=_0x31ea05);const {..._0xbb9067}=_0x4df04c({},wn,_0x45e883);if(!_0xbb9067[_0x1e25a3(0x381)])throw new Error(_0x1e25a3(0x4b4));this[_0x1e25a3(0x2a7)]=_0xbb9067,this[_0x1e25a3(0x26e)][_0x1e25a3(0x270)](q,_0xbb9067);}['onStarting'](){var _0x3458db=_0xfe4f58;this['_registerDependencies'](),this[_0x3458db(0x372)]();}[_0xfe4f58(0x32a)](){var _0x59b6f7=_0xfe4f58,_0x519566,_0xeef367;this[_0x59b6f7(0x421)][_0x59b6f7(0x460)](_0x1f3b70)&&this[_0x59b6f7(0x2e2)][_0x59b6f7(0x287)]('[UniverCollaborationClientPlugin]',_0x59b6f7(0x355));const _0x1aeeb3=_0x4d8ff0([[_0x1f3b70,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x59b6f7(0x381)]}],[_0x34f4e9,{'useClass':Nt}],[_0x1f7b31,{'useClass':Rt}],[_0x4cbb7c,{'useClass':yt}],[_0x19b27f,{'useClass':Ot}],[st],[Ct]],(_0x519566=this[_0x59b6f7(0x2a7)])==null?void 0x0:_0x519566[_0x59b6f7(0x403)]);if(!((_0xeef367=this['_config'])!=null&&_0xeef367[_0x59b6f7(0x4ba)])){const _0x48da33=_0x1aeeb3[_0x59b6f7(0x464)](([_0x3382a3])=>_0x3382a3===ht);_0x48da33!==-0x1&&_0x1aeeb3['splice'](_0x48da33,0x1);}_0x143e2f(this[_0x59b6f7(0x421)],_0x1aeeb3);}[_0xfe4f58(0x372)](){var _0x7e2838=_0xfe4f58,_0x1d5314,_0x392980,_0x29bc07;this['_injector'][_0x7e2838(0x304)](_0x5ef325)[_0x7e2838(0x427)]({'priority':0x14,'interceptor':_0x216236({'maxParallel':0x6})}),(_0x1d5314=this[_0x7e2838(0x2a7)])!=null&&_0x1d5314[_0x7e2838(0x339)]||(_0x392980=this['_injector'][_0x7e2838(0x304)](J,_0x4cfbd4['OPTIONAL']))==null||_0x392980[_0x7e2838(0x388)](),(_0x29bc07=this[_0x7e2838(0x2a7)])!=null&&_0x29bc07[_0x7e2838(0x3aa)]&&_0x340244(this[_0x7e2838(0x421)],[[rt]]),_0x340244(this[_0x7e2838(0x421)],[[at],[st],[ot]]);}};Ir(Ut,_0xfe4f58(0x3b9),Tr),Ut=Er([_0x34c21d(_0x4f5594,_0x53186b),St(0x1,_0x174c69),St(0x2,_0xa221c6(_0x448e61)),St(0x3,_0xfaee79)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0x49a434=_0xbfbb;(function(_0x443f43,_0x32655b){var _0xf03796=_0xbfbb,_0x2ba332=_0x443f43();while(!![]){try{var _0x1728f3=-parseInt(_0xf03796(0x2ff))/0x1+parseInt(_0xf03796(0x154))/0x2+parseInt(_0xf03796(0x20d))/0x3+-parseInt(_0xf03796(0x32d))/0x4+-parseInt(_0xf03796(0x223))/0x5*(parseInt(_0xf03796(0x24d))/0x6)+parseInt(_0xf03796(0x393))/0x7+parseInt(_0xf03796(0x29a))/0x8;if(_0x1728f3===_0x32655b)break;else _0x2ba332['push'](_0x2ba332['shift']());}catch(_0x2f8299){_0x2ba332['push'](_0x2ba332['shift']());}}}(_0x5c29,0xd1002));var wi=Object[_0x49a434(0x186)],Pi=(_0x337ad5,_0xc8d2f,_0x5d07ff)=>_0xc8d2f in _0x337ad5?wi(_0x337ad5,_0xc8d2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d07ff}):_0x337ad5[_0xc8d2f]=_0x5d07ff,N=(_0x8b5434,_0x496dc7,_0x5f480a)=>Pi(_0x8b5434,typeof _0x496dc7!=_0x49a434(0x287)?_0x496dc7+'':_0x496dc7,_0x5f480a);import{createIdentifier as _0xcc459e,Inject as _0x364c0e,Injector as _0x252ee6,IConfigService as _0x279bb6,ILogService as _0x520907,Disposable as _0x125189,DisposableCollection as _0x263be3,toDisposable as _0x217cf5,IUniverInstanceService as _0x397484,UserManagerService as _0x5ca46e,UniverInstanceType as _0x16d893,LocaleService as _0xf3d969,Optional as _0x1cf777,RxDisposable as _0x23f001,Tools as _0x46fdd3,Rectangle as _0x4e04e6,ICommandService as _0x46a78a,JSONX as _0x2b3fcd,CommandType as _0x53e5a2,IUndoRedoService as _0x451587,IPermissionService as _0x4fe2b7,sequenceExecute as _0x4938ba,Workbook as _0x1fb216,MentionType as _0x598166,isInternalEditorID as _0x34ee11,LocalUndoRedoService as _0x308557,IContextService as _0xacc472,DependentOn as _0x4028d7,Plugin as _0x4ee549,merge as _0x391334,mergeOverrideWithDependencies as _0x3d28ea,IAuthzIoService as _0xdabb75,IMentionIOService as _0x947c2d,registerDependencies as _0x2bc3e3,Quantity as _0x54d8f8,touchDependencies as _0x26f90c}from'@univerjs/core';import{Subject as _0x5a5c70,merge as _0x21cc32,of as _0x5eec6a,BehaviorSubject as _0x45628f,takeUntil as _0x359337,ReplaySubject as _0x33a1f7,take as _0x32f0d3,map as _0x1e0af2,shareReplay as _0x19d6dc,firstValueFrom as _0xba970a,concatMap as _0x4f302b}from'rxjs';import{map as _0x394bed,take as _0x13b8fd,filter as _0x6e79d5,delay as _0x11af82,takeUntil as _0xea0f79}from'rxjs/operators';import{CollaborationEvent as _0x4c224c,ISnapshotServerService as _0x491500,parseChangesetToProtocol as _0x27897d,ITransformService as _0x5148b7,isTransformMutationsWithChangesetSuccess as _0xfd3d9,mapDocumentTypeToUniverType as _0x103593,RevisionService as _0x11fb78,isTransformChangesetsSuccess as _0x1c7225,CompressMutationService as _0xc619d3,parseProtocolChangeset as _0x27e673,SnapshotService as _0xf7d1ed,textEncoder as _0x2e621e,b64DecodeUnicode as _0x3682b2,isTransformMutationsWithChangesetFailure as _0xefe56e,UniverCollaborationPlugin as _0x4e6508}from'@univerjs-pro/collaboration';import{HTTPService as _0x260ed8,ISocketService as _0x40cb12,MergeInterceptorFactory as _0x3a6775,HTTPRequest as _0x2ca2ee,UniverNetworkPlugin as _0x22037d,ThresholdInterceptorFactory as _0x4a3fbc}from'@univerjs/network';import{ITelemetryService as _0xfce837}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3dcf2d}from'@univerjs/docs';import{SheetsSelectionsService as _0x11d973,SetSelectionsOperation as _0x567530,InsertSheetMutation as _0x20c603,EmptyMutation as _0x337fd5,WorkbookEditablePermission as _0x392d0e,SheetPermissionInitController as _0x167b99}from'@univerjs/sheets';import{ImageSourceType as _0x468dab,ImageUploadStatusType as _0x58bfe3,IImageIoService as _0x5b722e}from'@univerjs/drawing';import{getGlobalObject as _0x5c6942}from'@univerjs-pro/license';const mn=_0x49a434(0x1c3),gn=_0x49a434(0x1b6),Sn=_0x49a434(0x315),Lr=_0x49a434(0x149),En=0x7d0,In=_0x49a434(0x2a8),Tn=_0x49a434(0x2e6),xr='/universer-api/user/session-ticket',Cn=_0x49a434(0x2b8),Rn=0x7530,mi=_0x49a434(0x197),gi=0x4e20,bn=0x4e20,yn=_0x49a434(0x333),On=0x3,Mr=_0x49a434(0x2a9),kr=0x3e8,Nn=_0x49a434(0x11a),Dn=_0x49a434(0x27c),Un=_0x49a434(0xe3),An=_0x49a434(0xcd),$r=_0x49a434(0x1a3),Hr=_0x49a434(0x334);var Si=(_0x2979fb=>(_0x2979fb[_0x2979fb[_0x49a434(0x1e3)]=0x0]='UNDEFINED',_0x2979fb[_0x2979fb['OK']=0x1]='OK',_0x2979fb[_0x2979fb[_0x49a434(0x126)]=0x2]=_0x49a434(0x126),_0x2979fb[_0x2979fb[_0x49a434(0x310)]=0x3]=_0x49a434(0x310),_0x2979fb[_0x2979fb['NOT_FOUND']=0x4]=_0x49a434(0x1db),_0x2979fb[_0x2979fb[_0x49a434(0x2fe)]=0x5]=_0x49a434(0x2fe),_0x2979fb[_0x2979fb['ALREADY_EXISTS']=0x6]=_0x49a434(0xef),_0x2979fb[_0x2979fb[_0x49a434(0x2e0)]=0x7]='INVALID_ARGUMENT',_0x2979fb[_0x2979fb['TOO_MANY_REQUESTS']=0x8]=_0x49a434(0x10a),_0x2979fb[_0x2979fb['COMPLETION_FINISHED']=0x9]=_0x49a434(0x234),_0x2979fb[_0x2979fb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2979fb[_0x2979fb['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x49a434(0x171),_0x2979fb[_0x2979fb[_0x49a434(0x3ab)]=0x1771]=_0x49a434(0x3ab),_0x2979fb[_0x2979fb[_0x49a434(0x1c7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2979fb[_0x2979fb[_0x49a434(0x161)]=0x1773]=_0x49a434(0x161),_0x2979fb[_0x2979fb[_0x49a434(0xba)]=0x1b59]='APPLY_REJECT',_0x2979fb[_0x2979fb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x49a434(0x21a),_0x2979fb[_0x2979fb[_0x49a434(0x303)]=0x1b5b]=_0x49a434(0x303),_0x2979fb[_0x2979fb[_0x49a434(0x13b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2979fb[_0x2979fb[_0x49a434(0x280)]=0x1b5d]=_0x49a434(0x280),_0x2979fb[_0x2979fb[_0x49a434(0x14c)]=0x1f41]=_0x49a434(0x14c),_0x2979fb[_0x2979fb[_0x49a434(0x2ea)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2979fb[_0x2979fb['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x49a434(0x30b),_0x2979fb[_0x2979fb[_0x49a434(0x31d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2979fb[_0x2979fb[_0x49a434(0x1a8)]=0x232c]=_0x49a434(0x1a8),_0x2979fb[_0x2979fb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x49a434(0x129),_0x2979fb[_0x2979fb[_0x49a434(0x344)]=0x2711]=_0x49a434(0x344),_0x2979fb[_0x2979fb['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2979fb[_0x2979fb[_0x49a434(0x266)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2979fb[_0x2979fb[_0x49a434(0x134)]=0x2714]=_0x49a434(0x134),_0x2979fb[_0x2979fb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x49a434(0x35b),_0x2979fb[_0x2979fb['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x49a434(0x1f5),_0x2979fb[_0x2979fb['INVALID_INVITE_CODE']=0x2ee2]=_0x49a434(0x136),_0x2979fb[_0x2979fb[_0x49a434(0x32c)]=0x2ee3]=_0x49a434(0x32c),_0x2979fb[_0x2979fb[_0x49a434(0x363)]=0x2ee4]=_0x49a434(0x363),_0x2979fb[_0x2979fb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x49a434(0x302),_0x2979fb[_0x2979fb['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2979fb[_0x2979fb[_0x49a434(0x26b)]=0x32ca]=_0x49a434(0x26b),_0x2979fb[_0x2979fb[_0x49a434(0x1a5)]=0x32cb]=_0x49a434(0x1a5),_0x2979fb[_0x2979fb[_0x49a434(0x12e)]=-0x1]='UNRECOGNIZED',_0x2979fb))(Si||{}),Q=(_0x20a114=>(_0x20a114[_0x20a114[_0x49a434(0x14a)]=0x0]=_0x49a434(0x14a),_0x20a114[_0x20a114[_0x49a434(0xf3)]=0x1]=_0x49a434(0xf3),_0x20a114[_0x20a114['UNIVER_SHEET']=0x2]=_0x49a434(0x24a),_0x20a114[_0x20a114['UNIVER_SLIDE']=0x3]=_0x49a434(0xa1),_0x20a114[_0x20a114[_0x49a434(0x299)]=0x4]=_0x49a434(0x299),_0x20a114[_0x20a114[_0x49a434(0x12e)]=-0x1]='UNRECOGNIZED',_0x20a114))(Q||{}),F=(_0x37493d=>(_0x37493d[_0x37493d[_0x49a434(0x14b)]=0x0]='UNKNOWN_CMD',_0x37493d[_0x37493d[_0x49a434(0xf1)]=0x1]='HELLO',_0x37493d[_0x37493d['JOIN']=0x2]=_0x49a434(0x103),_0x37493d[_0x37493d[_0x49a434(0x329)]=0x3]=_0x49a434(0x329),_0x37493d[_0x37493d['INGEST']=0x4]='INGEST',_0x37493d[_0x37493d[_0x49a434(0xc9)]=0x5]=_0x49a434(0xc9),_0x37493d[_0x37493d[_0x49a434(0x2f9)]=0x6]=_0x49a434(0x2f9),_0x37493d[_0x37493d[_0x49a434(0x12e)]=-0x1]=_0x49a434(0x12e),_0x37493d))(F||{}),ge=(_0x3b5d0a=>(_0x3b5d0a[_0x3b5d0a[_0x49a434(0x13a)]=0x0]=_0x49a434(0x13a),_0x3b5d0a[_0x3b5d0a['OK']=0x1]='OK',_0x3b5d0a[_0x3b5d0a[_0x49a434(0x105)]=0x2]=_0x49a434(0x105),_0x3b5d0a[_0x3b5d0a[_0x49a434(0x21e)]=0x3e9]='JOIN_ROOM_FULL',_0x3b5d0a[_0x3b5d0a[_0x49a434(0x360)]=0x3ea]=_0x49a434(0x360),_0x3b5d0a[_0x3b5d0a[_0x49a434(0x2bb)]=0x3eb]=_0x49a434(0x2bb),_0x3b5d0a[_0x3b5d0a[_0x49a434(0x336)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3b5d0a[_0x3b5d0a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b5d0a))(ge||{}),Ei=(_0x40898f=>(_0x40898f[_0x40898f[_0x49a434(0x2b3)]=0x0]='Undefined',_0x40898f[_0x40898f[_0x49a434(0xcc)]=0x1]=_0x49a434(0xcc),_0x40898f[_0x40898f[_0x49a434(0x1b7)]=0x2]=_0x49a434(0x1b7),_0x40898f[_0x40898f[_0x49a434(0x185)]=0x3]=_0x49a434(0x185),_0x40898f[_0x40898f['UnitSnapshot']=0x4]=_0x49a434(0x2c8),_0x40898f[_0x40898f['UserProfileImg']=0x5]=_0x49a434(0x32e),_0x40898f[_0x40898f[_0x49a434(0x12e)]=-0x1]=_0x49a434(0x12e),_0x40898f))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x1a2124=>(_0x1a2124[_0x49a434(0x207)]='OTHER_CLIENT_EDITING',_0x1a2124['PERMISSION_DENIED']='PERMISSION_DENIED',_0x1a2124[_0x49a434(0x21d)]='CONFLICT',_0x1a2124[_0x49a434(0x37e)]=_0x49a434(0x37e),_0x1a2124[_0x49a434(0x165)]=_0x49a434(0x165),_0x1a2124['SOCKET_FAILED_RETRY']=_0x49a434(0x1a9),_0x1a2124[_0x49a434(0x1bc)]=_0x49a434(0x1bc),_0x1a2124[_0x49a434(0x278)]=_0x49a434(0x278),_0x1a2124))(re||{});class pe{constructor(){var _0x5c3adb=_0x49a434;N(this,_0x5c3adb(0x39b),new _0x5a5c70()),N(this,'event$',this[_0x5c3adb(0x39b)][_0x5c3adb(0x1ec)]());}[_0x49a434(0x2f2)](_0x33c865){var _0x53cb8b=_0x49a434;this[_0x53cb8b(0x39b)][_0x53cb8b(0x2c7)](_0x33c865);}}const Pn=_0xcc459e('univer-pro.collaboration-client.network-condition.service');function Ln(_0x46d694){var _0x3ef9ea=_0x49a434,_0x3e59a6,_0x4182c,_0x13c1f1,_0x11607c,_0x4ed2be;const _0x17782a=_0x46d694[_0x3ef9ea(0x1c4)],_0x615485=JSON['parse'](_0x17782a);switch(_0x615485['cmd']){case F[_0x3ef9ea(0xc9)]:case F[_0x3ef9ea(0xf1)]:{const _0x1de4f9=_0x615485['infoRsp'];return{..._0x615485,'data':_0x1de4f9,'cmd':_0x615485[_0x3ef9ea(0x28d)]};}case F['JOIN']:{const _0x3b3798=_0x615485[_0x3ef9ea(0x2a3)];return{..._0x615485,'data':_0x3b3798,'cmd':_0x615485[_0x3ef9ea(0x28d)]};}case F['RECV']:{const _0x1fac9a=_0x615485[_0x3ef9ea(0x33f)];switch(_0x1fac9a[_0x3ef9ea(0x13e)]){case _0x4c224c[_0x3ef9ea(0x1df)]:return{..._0x615485,'data':{..._0x1fac9a,'data':(_0x3e59a6=_0x1fac9a[_0x3ef9ea(0x176)])==null?void 0x0:_0x3e59a6['cs']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x267)]:return{..._0x615485,'data':{..._0x1fac9a,'data':(_0x4182c=_0x1fac9a[_0x3ef9ea(0x180)])==null?void 0x0:_0x4182c['cs']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x1dc)]:return{..._0x615485,'data':{..._0x1fac9a,'data':(_0x13c1f1=_0x1fac9a['newCsEvent'])==null?void 0x0:_0x13c1f1['cs']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c['CHANGESET_REJ']:return{..._0x615485,'data':{..._0x1fac9a,'data':(_0x11607c=_0x1fac9a[_0x3ef9ea(0x296)])==null?void 0x0:_0x11607c['cs']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x365)]:return{..._0x615485,'data':{..._0x1fac9a,'data':(_0x4ed2be=_0x1fac9a['csShouldRetryEvent'])==null?void 0x0:_0x4ed2be['cs']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x39f)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x38f)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x232)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x2d2)]},'cmd':_0x615485['cmd']};case _0x4c224c[_0x3ef9ea(0x34c)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0xe8)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x359)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x1e6)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x204)]:case _0x4c224c['LIVESHARE_OPERATION']:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a['liveShareOperation']},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x166)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x1e6)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x36a)]:return{..._0x615485,'data':_0x1fac9a,'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0x11c)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x220)]},'cmd':_0x615485['cmd']};case _0x4c224c[_0x3ef9ea(0x383)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x263)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};case _0x4c224c[_0x3ef9ea(0xd1)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x347)]},'cmd':_0x615485['cmd']};case _0x4c224c[_0x3ef9ea(0x1b1)]:return{..._0x615485,'data':{..._0x1fac9a,'data':_0x1fac9a[_0x3ef9ea(0x1a1)]},'cmd':_0x615485[_0x3ef9ea(0x28d)]};default:return _0x615485;}}default:return _0x615485;}}function xn(_0x13cbc4){var _0x167b05=_0x49a434;switch(_0x13cbc4['cmd']){case F[_0x167b05(0xc9)]:case F[_0x167b05(0xf1)]:return JSON[_0x167b05(0x243)]({'cmd':_0x13cbc4['cmd'],'routeKey':_0x13cbc4[_0x167b05(0xa5)]});case F[_0x167b05(0x36f)]:{let _0x559af0;switch(_0x13cbc4[_0x167b05(0x1c4)]['eventID']){case _0x4c224c['UPDATE_CURSOR']:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x39f)],'updateCursorEvent':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c[_0x167b05(0x34c)]:{_0x559af0={'eventID':_0x4c224c['USERS_LEAVE'],'leaveEvent':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c['USERS_ENTER']:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x232)],'joinEvent':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c[_0x167b05(0x359)]:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x359)],'liveShareNewHost':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c[_0x167b05(0xa0)]:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0xa0)],'liveShareOperation':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c['LIVESHARE_TERMINATE']:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x166)],'liveShareTerminate':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c[_0x167b05(0x39c)]:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x39c)],'liveShareRequestHost':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x1c4)]};break;}case _0x4c224c[_0x167b05(0x204)]:{_0x559af0={'eventID':_0x4c224c[_0x167b05(0x204)]};break;}default:_0x559af0={'eventID':_0x13cbc4[_0x167b05(0x1c4)][_0x167b05(0x13e)]};}return JSON['stringify']({'cmd':_0x13cbc4[_0x167b05(0x28d)],'routeKey':_0x13cbc4[_0x167b05(0xa5)],'collaMsg':_0x559af0});}case F[_0x167b05(0x103)]:return JSON['stringify']({'cmd':_0x13cbc4[_0x167b05(0x28d)],'routeKey':_0x13cbc4[_0x167b05(0xa5)],'joinReq':_0x13cbc4[_0x167b05(0x1c4)]});case F[_0x167b05(0x329)]:return JSON[_0x167b05(0x243)]({'cmd':_0x13cbc4[_0x167b05(0x28d)],'routeKey':_0x13cbc4[_0x167b05(0xa5)],'leaveReq':_0x13cbc4[_0x167b05(0x1c4)]});default:throw new Error(_0x167b05(0x229));}}function _0xbfbb(_0x4306e4,_0x25f526){var _0x5c2933=_0x5c29();return _0xbfbb=function(_0xbfbbd6,_0x3fe01a){_0xbfbbd6=_0xbfbbd6-0xa0;var _0x1d4cf1=_0x5c2933[_0xbfbbd6];return _0x1d4cf1;},_0xbfbb(_0x4306e4,_0x25f526);}var Mn=Object[_0x49a434(0x364)],kn=(_0x321e1f,_0x53a198,_0x3f48d9,_0x336887)=>{for(var _0x411a52=_0x336887>0x1?void 0x0:_0x336887?Mn(_0x53a198,_0x3f48d9):_0x53a198,_0x4b0025=_0x321e1f['length']-0x1,_0x4eb137;_0x4b0025>=0x0;_0x4b0025--)(_0x4eb137=_0x321e1f[_0x4b0025])&&(_0x411a52=_0x4eb137(_0x411a52)||_0x411a52);return _0x411a52;},Ae=(_0x23a66f,_0x1e4089)=>(_0x1d15c9,_0x1b4b12)=>_0x1e4089(_0x1d15c9,_0x1b4b12,_0x23a66f);const Ii=_0xcc459e(_0x49a434(0x252));function $n(_0x2c6757,_0x12f89b,_0x13a61e){var _0x2cc53f=_0x49a434;return _0x2c6757+'/'+_0x12f89b+_0x2cc53f(0x202)+_0x13a61e+_0x2cc53f(0x2c9);}let Gt=class extends _0x125189{constructor(_0x4ab7b3,_0x539774,_0x3e243e,_0x33067f,_0x1ee009){var _0x13c463=_0x49a434;super(),this[_0x13c463(0x2b7)]=_0x4ab7b3,this[_0x13c463(0x31c)]=_0x539774,this['_configService']=_0x3e243e,this[_0x13c463(0x309)]=_0x33067f,this[_0x13c463(0x31b)]=_0x1ee009;}[_0x49a434(0x11d)](_0x2961c4){var _0x979c4e=_0x49a434;const _0x206624=this['_injector'][_0x979c4e(0x30e)](_0x40cb12);if(!_0x206624)throw new Error(_0x979c4e(0x26a));const _0x4b9b52=_0x206624[_0x979c4e(0x156)](_0x2961c4);if(!_0x4b9b52)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1edd9d=new _0x263be3(),_0x538e9f=new _0x5a5c70();_0x1edd9d[_0x979c4e(0x178)](_0x4b9b52['close$'][_0x979c4e(0x122)](_0x557c1a=>_0x538e9f[_0x979c4e(0x2c7)](_0x557c1a))),_0x1edd9d[_0x979c4e(0x178)](_0x217cf5(()=>_0x538e9f[_0x979c4e(0x19b)]()));const _0x58d4cc=new _0x5a5c70();_0x1edd9d[_0x979c4e(0x178)](_0x4b9b52[_0x979c4e(0x1eb)][_0x979c4e(0x122)](_0x37cc2b=>_0x58d4cc[_0x979c4e(0x2c7)](_0x37cc2b))),_0x1edd9d[_0x979c4e(0x178)](_0x217cf5(()=>_0x58d4cc[_0x979c4e(0x19b)]()));const _0x27b388=new _0x5a5c70();_0x1edd9d[_0x979c4e(0x178)](_0x4b9b52[_0x979c4e(0x222)][_0x979c4e(0x122)](_0x5def02=>{var _0x1267cd=_0x979c4e;const _0x1f8b82=Ln(_0x5def02);_0x27b388[_0x1267cd(0x2c7)](_0x1f8b82);})),_0x1edd9d[_0x979c4e(0x178)](_0x217cf5(()=>_0x27b388[_0x979c4e(0x19b)]()));let _0x44a8e6;const _0x48ce0a=()=>{var _0x3b2ee4=_0x979c4e;_0x58d4cc[_0x3b2ee4(0x2c7)](new Event(_0x3b2ee4(0x221))),_0x538e9f[_0x3b2ee4(0x2c7)](new Event(_0x3b2ee4(0x221))),_0x44a8e6['close']();};return _0x44a8e6={'memberID':'','close$':_0x538e9f[_0x979c4e(0x1ec)](),'error$':_0x58d4cc[_0x979c4e(0x1ec)](),'open$':_0x4b9b52[_0x979c4e(0x1d6)],'message$':_0x27b388['asObservable'](),'send':_0x33c591=>{var _0x23370d=_0x979c4e;if(_0x33c591[_0x23370d(0x28d)]===F[_0x23370d(0x36f)]){if(_0x33c591[_0x23370d(0x1c4)]['eventID']===_0x4c224c['SUBMIT_CHANGESET']){this[_0x23370d(0x1af)](_0x44a8e6,_0x33c591['data'])[_0x23370d(0x112)](_0x5e308b=>{var _0x5ed6d5=_0x23370d;this[_0x5ed6d5(0x309)][_0x5ed6d5(0x245)](_0x5e308b),_0x48ce0a();});return;}if(_0x33c591[_0x23370d(0x1c4)][_0x23370d(0x13e)]===_0x4c224c[_0x23370d(0x297)]){const _0x42b879=_0x33c591[_0x23370d(0x1c4)];this[_0x23370d(0x35f)](_0x42b879)[_0x23370d(0x196)](_0x1c8fbc=>{var _0x3eae1a=_0x23370d;_0x27b388[_0x3eae1a(0x2c7)]({'cmd':F[_0x3eae1a(0x2f9)],'code':ge['OK'],'routeKey':_0x42b879[_0x3eae1a(0x1c4)]['unitID'],'routeType':'','data':{'eventID':_0x4c224c[_0x3eae1a(0x130)],'data':{'changesets':_0x1c8fbc}}});})[_0x23370d(0x112)](_0x4d3085=>{var _0x4ae40b=_0x23370d;this[_0x4ae40b(0x309)][_0x4ae40b(0x245)](_0x4d3085),_0x48ce0a();});return;}}_0x4b9b52[_0x23370d(0x1a6)](xn(_0x33c591));},'close':()=>{var _0x157640=_0x979c4e;_0x4b9b52['close'](),_0x1edd9d[_0x157640(0x37b)]();}},_0x44a8e6;}async[_0x49a434(0x1af)](_0x5b33d1,_0x5bc60e){var _0x5a23c6=_0x49a434,_0x576913,_0x21eff6;const {unitType:_0x276b6,unitID:_0x1f7cd3,changeset:_0x5b3e1b}=_0x5bc60e['data'],_0x239ff6={'unitID':_0x1f7cd3,'memberID':_0x5b33d1[_0x5a23c6(0x172)],'type':_0x276b6,'changeset':_0x27897d(_0x5b3e1b)},_0x5e238d=this[_0x5a23c6(0x1ba)]['getConfig'](Nn),_0x2d3a93=this[_0x5a23c6(0x1ba)][_0x5a23c6(0x2f1)](q),_0x311fb8=$n((_0x21eff6=(_0x576913=_0x2d3a93==null?void 0x0:_0x2d3a93[_0x5a23c6(0xec)])!=null?_0x576913:_0x5e238d)!=null?_0x21eff6:Dn,_0x276b6,_0x1f7cd3);try{await this['_httpService'][_0x5a23c6(0x351)](_0x311fb8,{'body':_0x239ff6});}catch(_0x13fcf0){throw this['_logService'][_0x5a23c6(0x245)]('[CollaborationSession]',_0x5a23c6(0x3a0)),_0x13fcf0;}}async[_0x49a434(0x35f)](_0x70c09){var _0x3ef85d=_0x49a434;const {unitID:_0x4718ef,from:_0x1b20b8,to:_0x230581,unitType:_0x312ea1}=_0x70c09['data'];return(await this['_snapshotServerService'][_0x3ef85d(0x298)]({'metadata':void 0x0},{'unitID':_0x4718ef,'type':_0x312ea1,'from':_0x1b20b8,'to':_0x230581}))[_0x3ef85d(0xc4)];}};Gt=kn([Ae(0x0,_0x364c0e(_0x252ee6)),Ae(0x1,_0x364c0e(_0x260ed8)),Ae(0x2,_0x279bb6),Ae(0x3,_0x520907),Ae(0x4,_0x491500)],Gt);const Hn=_0x49a434(0x2f5);function Bn(_0x2c1209){var _0x456624=_0x49a434;return JSON[_0x456624(0x243)](_0x2c1209)[_0x456624(0x1f6)];}class Ti{constructor(){var _0x6cf5e7=_0x49a434;N(this,_0x6cf5e7(0x18b),new _0x5a5c70()),N(this,'commentUpdate$',this[_0x6cf5e7(0x18b)][_0x6cf5e7(0x1ec)]());}['onCommentUpdate'](_0x1ea6c7){var _0xc9f4c3=_0x49a434;this[_0xc9f4c3(0x18b)][_0xc9f4c3(0x2c7)](_0x1ea6c7);}}var jn=Object[_0x49a434(0x364)],Fn=(_0x1556ca,_0x2637ed,_0x44dedb,_0x81b020)=>{var _0x34bf45=_0x49a434;for(var _0x17438e=_0x81b020>0x1?void 0x0:_0x81b020?jn(_0x2637ed,_0x44dedb):_0x2637ed,_0x153fb6=_0x1556ca[_0x34bf45(0x1f6)]-0x1,_0x47bc15;_0x153fb6>=0x0;_0x153fb6--)(_0x47bc15=_0x1556ca[_0x153fb6])&&(_0x17438e=_0x47bc15(_0x17438e)||_0x17438e);return _0x17438e;},Wt=(_0x209ad1,_0x171bab)=>(_0x590261,_0x23e00e)=>_0x171bab(_0x590261,_0x23e00e,_0x209ad1);let Le=class extends _0x125189{constructor(_0x495f75,_0x5213fd){var _0x3385e4=_0x49a434;super(),N(this,_0x3385e4(0x1ed),new Map()),N(this,_0x3385e4(0x1e9),new _0x5a5c70()),(this[_0x3385e4(0x2cf)]=_0x495f75,this[_0x3385e4(0xbd)]=_0x5213fd,this[_0x3385e4(0x23d)](_0x21cc32(this[_0x3385e4(0x2cf)]['getTypeOfUnitDisposed$'](_0x16d893[_0x3385e4(0x24a)])[_0x3385e4(0x15b)](_0x394bed(_0x317e65=>_0x317e65[_0x3385e4(0x217)]())),this['_univerInstanceService'][_0x3385e4(0x2a0)](_0x16d893['UNIVER_DOC'])[_0x3385e4(0x15b)](_0x394bed(_0x3964eb=>_0x3964eb['getUnitId']())),this[_0x3385e4(0x2cf)]['getTypeOfUnitDisposed$'](_0x16d893[_0x3385e4(0xa1)])[_0x3385e4(0x15b)](_0x394bed(_0x226d6f=>_0x226d6f[_0x3385e4(0x217)]())))[_0x3385e4(0x122)](_0x2b363a=>this[_0x3385e4(0x2cc)](_0x2b363a))));}['waitForRoom$'](_0x1ed9af){var _0x55deec=_0x49a434;return this[_0x55deec(0x1ed)][_0x55deec(0x3a1)](_0x1ed9af)?_0x5eec6a(this['_roomMembers'][_0x55deec(0x30e)](_0x1ed9af)):this[_0x55deec(0x1e9)]['pipe'](_0x394bed(_0x30aa63=>{var _0x16c0d2=_0x55deec;if(_0x30aa63===_0x1ed9af)return this['_roomMembers'][_0x16c0d2(0x30e)](_0x30aa63);}));}['setCurrentUser'](_0x117934){var _0x42fcd9=_0x49a434;this[_0x42fcd9(0xbd)]['setCurrentUser'](_0x117934);}[_0x49a434(0xf9)](){var _0x82a8d6=_0x49a434;return this[_0x82a8d6(0xbd)][_0x82a8d6(0xf9)]();}['updateMember'](_0x33b5cc,_0xcc495f){var _0x50c168=_0x49a434;let _0x441da6=this[_0x50c168(0x1ed)][_0x50c168(0x30e)](_0x33b5cc);_0x441da6||(_0x441da6=new Vn(),this[_0x50c168(0x1ed)][_0x50c168(0xfd)](_0x33b5cc,_0x441da6),this[_0x50c168(0x1e9)]['next'](_0x33b5cc)),_0x441da6[_0x50c168(0x141)](_0xcc495f);}[_0x49a434(0x1bf)](_0x267e57,_0x4c7d8f){var _0x22984e=_0x49a434;const _0xa5be76=this[_0x22984e(0x1ed)][_0x22984e(0x30e)](_0x267e57);_0xa5be76&&_0xa5be76[_0x22984e(0x1bf)](_0x4c7d8f);}[_0x49a434(0x19e)](_0x2d9f6f){var _0x43f3c1=_0x49a434;return this[_0x43f3c1(0x1ed)][_0x43f3c1(0x30e)](_0x2d9f6f);}[_0x49a434(0xe5)](_0x4d40d4,_0x260887){var _0x2f97ef=_0x49a434;const _0x25a46a=this[_0x2f97ef(0x1ed)][_0x2f97ef(0x30e)](_0x4d40d4);if(_0x25a46a)return _0x25a46a[_0x2f97ef(0xe5)](_0x260887);}[_0x49a434(0x2cc)](_0x5b3e8e){var _0x8c221=_0x49a434;const _0x29f06b=this[_0x8c221(0x1ed)]['get'](_0x5b3e8e);_0x29f06b&&(_0x29f06b[_0x8c221(0x37b)](),this[_0x8c221(0x1ed)][_0x8c221(0x12f)](_0x5b3e8e));}[_0x49a434(0x37b)](){var _0x1e3d11=_0x49a434;this[_0x1e3d11(0x1ed)][_0x1e3d11(0x38c)](_0x52338b=>_0x52338b[_0x1e3d11(0x37b)]()),this[_0x1e3d11(0x1ed)][_0x1e3d11(0x18e)](),this[_0x1e3d11(0x1e9)]['complete']();}};Le=Fn([Wt(0x0,_0x397484),Wt(0x1,_0x364c0e(_0x5ca46e))],Le);class Vn extends _0x125189{constructor(){var _0xa331a9=_0x49a434;super(...arguments),N(this,_0xa331a9(0x117),new Map()),N(this,'_members$',new _0x45628f(this[_0xa331a9(0x117)])),N(this,_0xa331a9(0x20c),this[_0xa331a9(0x116)][_0xa331a9(0x1ec)]());}[_0x49a434(0x37b)](){var _0x3f2235=_0x49a434;this[_0x3f2235(0x117)][_0x3f2235(0x18e)]();}['updateMember'](_0xf1c053){var _0x43fac0=_0x49a434;this[_0x43fac0(0x117)]['set'](_0xf1c053[_0x43fac0(0x172)],_0xf1c053),this[_0x43fac0(0x39e)]();}[_0x49a434(0x1bf)](_0x18113a){var _0x15c415=_0x49a434;this[_0x15c415(0x117)]['delete'](_0x18113a);}['getMember'](_0xf64acc){var _0x173eee=_0x49a434;return this['_members'][_0x173eee(0x30e)](_0xf64acc);}[_0x49a434(0xcb)](){var _0x484f99=_0x49a434;return Array[_0x484f99(0x11b)](this[_0x484f99(0x117)][_0x484f99(0x10d)]());}[_0x49a434(0x39e)](){var _0x2c6897=_0x49a434;this[_0x2c6897(0x116)][_0x2c6897(0x2c7)](this['_members']);}}var Gn=Object[_0x49a434(0x364)],Wn=(_0x1bf5e5,_0x24ab45,_0x1822fd,_0x2b0582)=>{for(var _0x377264=_0x2b0582>0x1?void 0x0:_0x2b0582?Gn(_0x24ab45,_0x1822fd):_0x24ab45,_0x386347=_0x1bf5e5['length']-0x1,_0x2eddee;_0x386347>=0x0;_0x386347--)(_0x2eddee=_0x1bf5e5[_0x386347])&&(_0x377264=_0x2eddee(_0x377264)||_0x377264);return _0x377264;},me=(_0x42098e,_0x54ecad)=>(_0x23d8c1,_0x57e90d)=>_0x54ecad(_0x23d8c1,_0x57e90d,_0x42098e),Ee=(_0x4f74ba=>(_0x4f74ba[_0x4f74ba[_0x49a434(0x268)]=0x0]=_0x49a434(0x268),_0x4f74ba[_0x4f74ba[_0x49a434(0x119)]=0x1]=_0x49a434(0x119),_0x4f74ba[_0x4f74ba[_0x49a434(0x395)]=0x2]=_0x49a434(0x395),_0x4f74ba[_0x4f74ba[_0x49a434(0x3aa)]=0x3]=_0x49a434(0x3aa),_0x4f74ba))(Ee||{});const Kt={[ge[_0x49a434(0x105)]]:_0x49a434(0x139),[ge[_0x49a434(0x21e)]]:_0x49a434(0x250),[ge[_0x49a434(0x360)]]:_0x49a434(0x191),[ge[_0x49a434(0x2bb)]]:_0x49a434(0x31f),[ge[_0x49a434(0x336)]]:'session.room-cnt-exceeds'};let Et=class extends _0x23f001{constructor(_0x1f15e8,_0x537549,_0x4dc5af,_0x53fb68,_0x1b6c9c,_0x49e977,_0x101b7f,_0x565c5e,_0x3078c4){var _0x223b94=_0x49a434;super(),N(this,'_sessionStatus$',new _0x45628f(0x0)),N(this,_0x223b94(0x146),this[_0x223b94(0x209)][_0x223b94(0x1ec)]()),N(this,_0x223b94(0x39b),new _0x5a5c70()),N(this,_0x223b94(0x375),this[_0x223b94(0x39b)][_0x223b94(0x1ec)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x223b94(0xc8)),N(this,_0x223b94(0x26d),!0x1),N(this,_0x223b94(0x324),null),(this[_0x223b94(0xd0)]=_0x1f15e8,this[_0x223b94(0x309)]=_0x4dc5af,this[_0x223b94(0x1ba)]=_0x53fb68,this[_0x223b94(0x28f)]=_0x1b6c9c,this['_memberService']=_0x49e977,this['_commentService']=_0x101b7f,this['_collaborationUIEventService']=_0x565c5e,this[_0x223b94(0x2ee)]=_0x3078c4,this['_shouldReportTelemetry']=!!this[_0x223b94(0x2ee)],_0x537549['pipe'](_0x359337(this['dispose$']))[_0x223b94(0x122)](_0x253c1b=>{var _0x88c2fb=_0x223b94,_0x3c5187;typeof _0x253c1b>'u'||(this['_socket']=_0x253c1b,_0x253c1b?(this[_0x88c2fb(0x37f)](_0x253c1b),this[_0x88c2fb(0x33a)]=_0x253c1b[_0x88c2fb(0x222)]['subscribe'](_0x3d4879=>{var _0x369818=_0x88c2fb;_0x3d4879['routeKey']===this[_0x369818(0xd0)]&&this['_onCombEvent'](_0x3d4879);})):(this[_0x88c2fb(0x12b)](),this['_sessionStatus$']['next'](0x2),(_0x3c5187=this['_socketMessageSubscription'])==null||_0x3c5187[_0x88c2fb(0x231)](),this[_0x88c2fb(0x33a)]=null));}));}get[_0x49a434(0x160)](){var _0xcf48c4=_0x49a434;return this[_0xcf48c4(0x209)][_0xcf48c4(0x1ca)]();}[_0x49a434(0x23a)](){var _0x227121=_0x49a434,_0x261fdc,_0x32269e;return(_0x32269e=(_0x261fdc=this[_0x227121(0x326)])==null?void 0x0:_0x261fdc['memberID'])!=null?_0x32269e:null;}[_0x49a434(0x37b)](){var _0x51894a=_0x49a434;super[_0x51894a(0x37b)](),this[_0x51894a(0x331)][_0x51894a(0x2c7)](),this[_0x51894a(0x331)][_0x51894a(0x19b)]();}[_0x49a434(0x2ef)](){var _0x1faaff=_0x49a434,_0x50d27d,_0x5c2bcd;this[_0x1faaff(0x12b)](),(_0x50d27d=this['_socket'])==null||_0x50d27d[_0x1faaff(0x1a6)]({'cmd':F[_0x1faaff(0x329)],'data':{'roomID':this[_0x1faaff(0xd0)]}}),(_0x5c2bcd=this['_socket'])==null||_0x5c2bcd[_0x1faaff(0x2ef)](),this[_0x1faaff(0x39b)][_0x1faaff(0x19b)](),this[_0x1faaff(0x209)][_0x1faaff(0x19b)](),this[_0x1faaff(0x37b)]();}[_0x49a434(0x114)](_0x3f5353){var _0x28514a=_0x49a434;_0x3f5353[_0x28514a(0x28d)]===F[_0x28514a(0x103)]?this[_0x28514a(0xbf)](_0x3f5353):_0x3f5353[_0x28514a(0x28d)]===F[_0x28514a(0x2f9)]&&this[_0x28514a(0x215)](_0x3f5353);}['_joinRoom'](_0x2afa19){var _0x4b801a=_0x49a434;this[_0x4b801a(0x209)][_0x4b801a(0x2c7)](0x1),_0x2afa19[_0x4b801a(0x1a6)]({'cmd':F['JOIN'],'routeKey':this[_0x4b801a(0xd0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4b801a(0xd0)]}]}});}[_0x49a434(0xbf)](_0x278f35){var _0x1e8a59=_0x49a434,_0x1d17b0;if(_0x278f35[_0x1e8a59(0xf6)]in Kt){this[_0x1e8a59(0x2d8)][_0x1e8a59(0x2f2)]({'id':re[_0x1e8a59(0x165)],'data':Kt[_0x278f35[_0x1e8a59(0xf6)]]}),this[_0x1e8a59(0x209)]['next'](0x2);return;}this[_0x1e8a59(0x209)][_0x1e8a59(0x2c7)](0x3);const _0x3fbdb1=(_0x1d17b0=_0x278f35[_0x1e8a59(0x1c4)][_0x1e8a59(0x3a2)][this[_0x1e8a59(0xd0)]])==null?void 0x0:_0x1d17b0[_0x1e8a59(0x1b2)];_0x3fbdb1&&_0x3fbdb1[_0x1e8a59(0x38c)](_0x302ee4=>this[_0x1e8a59(0x17e)]['updateMember'](this[_0x1e8a59(0xd0)],_0x302ee4));}[_0x49a434(0x215)](_0x4f0d5a){var _0x3683d5=_0x49a434;try{const _0x1ba7b1=_0x4f0d5a[_0x3683d5(0x1c4)];switch(_0x1ba7b1[_0x3683d5(0x13e)]){case _0x4c224c[_0x3683d5(0x232)]:this[_0x3683d5(0x1ce)](_0x1ba7b1),this[_0x3683d5(0x39b)][_0x3683d5(0x2c7)](_0x1ba7b1);break;case _0x4c224c[_0x3683d5(0x34c)]:this[_0x3683d5(0x193)](_0x1ba7b1),this[_0x3683d5(0x39b)]['next'](_0x1ba7b1);break;case _0x4c224c[_0x3683d5(0x267)]:case _0x4c224c[_0x3683d5(0x365)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3683d5(0x30d)](),this[_0x3683d5(0x39b)][_0x3683d5(0x2c7)](_0x1ba7b1);break;case _0x4c224c[_0x3683d5(0x36a)]:this[_0x3683d5(0x309)][_0x3683d5(0x245)](_0x3683d5(0x21c)+JSON['stringify'](_0x1ba7b1)),this[_0x3683d5(0x39b)]['next'](_0x1ba7b1);break;case _0x4c224c['COMMENT_UPDATE']:this['_commentService'][_0x3683d5(0x32b)](_0x1ba7b1[_0x3683d5(0x1c4)]),this[_0x3683d5(0x39b)][_0x3683d5(0x2c7)](_0x1ba7b1);break;default:this[_0x3683d5(0x39b)][_0x3683d5(0x2c7)](_0x1ba7b1);}}catch(_0x1546c1){this[_0x3683d5(0x309)][_0x3683d5(0x245)](_0x1546c1,_0x4f0d5a);}}[_0x49a434(0x1ce)](_0x3f6d24){var _0x28a8dc=_0x49a434;this[_0x28a8dc(0x17e)]['updateMember'](this['_unitID'],_0x3f6d24[_0x28a8dc(0x1c4)]);}['_onUserLeave'](_0x48f91c){var _0x3828b8=_0x49a434;this[_0x3828b8(0x17e)][_0x3828b8(0x1bf)](this[_0x3828b8(0xd0)],_0x48f91c[_0x3828b8(0x1c4)][_0x3828b8(0x172)]);}async[_0x49a434(0x1a6)](_0x5eb932,_0x464755){var _0x4acb69=_0x49a434;if(this[_0x4acb69(0x160)]!==0x3||!this[_0x4acb69(0x326)])throw new Error(_0x4acb69(0xb4));try{_0x5eb932['eventID']===_0x4c224c[_0x4acb69(0x3a4)]&&(this[_0x4acb69(0x2f4)](),this['_startTelemetryCollaborationNewChangeset'](_0x5eb932)),this[_0x4acb69(0x326)][_0x4acb69(0x1a6)]({'cmd':F[_0x4acb69(0x36f)],'routeKey':_0x464755,'routeType':'','data':_0x5eb932});}catch(_0x56a3a6){this['_logService']['error'](_0x56a3a6);}}[_0x49a434(0x2f4)](){var _0x596a49=_0x49a434,_0x21a632;this[_0x596a49(0xc8)]=setTimeout(()=>{var _0x398d31=_0x596a49;this['_collaborationTimeoutTimer']=null,this[_0x398d31(0x2d8)]['emitEvent']({'id':re[_0x398d31(0x278)]});},(_0x21a632=this[_0x596a49(0x1ba)][_0x596a49(0x2f1)](mi))!=null?_0x21a632:gi);}[_0x49a434(0x30d)](){var _0x55926c=_0x49a434;this[_0x55926c(0xc8)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x55926c(0xc8)]=null);}[_0x49a434(0x125)](_0x1e5ca1){var _0x2f5eb2=_0x49a434;if(!this[_0x2f5eb2(0x26d)])return;const {data:_0x21da62}=_0x1e5ca1,{unitID:_0xaf6ea6,changeset:_0x14fed0}=_0x21da62,{mutations:_0x354e5d,type:_0x38e6da}=_0x14fed0;this[_0x2f5eb2(0x324)]={'unitId':_0xaf6ea6,'type':_0x38e6da,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x354e5d)};}[_0x49a434(0xb6)](){var _0x27e7f7=_0x49a434;if(this[_0x27e7f7(0x26d)]){if(!this['_telemetryInfo']){this[_0x27e7f7(0x309)][_0x27e7f7(0x245)]('[CollaborationSession]',_0x27e7f7(0xbc));return;}this[_0x27e7f7(0x324)]['stopTime']=performance[_0x27e7f7(0x144)](),this[_0x27e7f7(0x324)][_0x27e7f7(0xff)]=this[_0x27e7f7(0x324)][_0x27e7f7(0x201)]-this[_0x27e7f7(0x324)][_0x27e7f7(0x349)],this[_0x27e7f7(0x2ee)][_0x27e7f7(0x251)](Hn,this[_0x27e7f7(0x324)]),this[_0x27e7f7(0x324)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x520907),me(0x3,_0x279bb6),me(0x4,_0x364c0e(_0xf3d969)),me(0x5,_0x364c0e(Le)),me(0x6,_0x364c0e(Ti)),me(0x7,_0x364c0e(pe)),me(0x8,_0x1cf777(_0xfce837))],Et);var Kn=Object[_0x49a434(0x364)],Yn=(_0x3f81c8,_0x2739b3,_0x78d329,_0x2c05f4)=>{for(var _0x4bd54c=_0x2c05f4>0x1?void 0x0:_0x2c05f4?Kn(_0x2739b3,_0x78d329):_0x2739b3,_0x2d2f2a=_0x3f81c8['length']-0x1,_0x46c509;_0x2d2f2a>=0x0;_0x2d2f2a--)(_0x46c509=_0x3f81c8[_0x2d2f2a])&&(_0x4bd54c=_0x46c509(_0x4bd54c)||_0x4bd54c);return _0x4bd54c;},be=(_0x597c4a,_0xef6bcb)=>(_0x59a03a,_0x47bc28)=>_0xef6bcb(_0x59a03a,_0x47bc28,_0x597c4a);let xe=class extends _0x125189{constructor(_0x4bea45,_0x33577b,_0x1ed8b1,_0x4f18ba,_0x1149fe,_0x1b5f47){var _0x362f3f=_0x49a434;super(),N(this,_0x362f3f(0x173),new _0x45628f(void 0x0)),N(this,_0x362f3f(0x271),this[_0x362f3f(0x173)][_0x362f3f(0x1ec)]()),N(this,_0x362f3f(0x2d3),null),N(this,_0x362f3f(0x33e),new Map()),N(this,_0x362f3f(0x321),new _0x45628f(Ee[_0x362f3f(0x268)])),N(this,_0x362f3f(0x2d4),this[_0x362f3f(0x321)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x362f3f(0x2bf),0x0),N(this,_0x362f3f(0x155)),N(this,_0x362f3f(0x2d5)),(this[_0x362f3f(0x2b7)]=_0x4bea45,this['_logService']=_0x33577b,this['_configService']=_0x1ed8b1,this['_socketService']=_0x4f18ba,this[_0x362f3f(0x2d8)]=_0x1149fe,this[_0x362f3f(0x35c)]=_0x1b5f47,this[_0x362f3f(0x1c1)]());}get['_socket'](){var _0x111197=_0x49a434;return this[_0x111197(0x173)]['getValue']();}['_listenToNetworkCondition'](){var _0x31bffb=_0x49a434;this[_0x31bffb(0x35c)]&&this[_0x31bffb(0x23d)](this['_networkConditionService']['online$'][_0x31bffb(0x122)](_0x593e2d=>{var _0x1af49e=_0x31bffb;_0x593e2d&&!this[_0x1af49e(0x326)]&&this['reconnect'](),_0x593e2d||this[_0x1af49e(0x374)]();}));}['dispose'](){var _0x50c371=_0x49a434;super[_0x50c371(0x37b)](),this[_0x50c371(0xaa)](),this['_clearTimeoutTimer'](),this[_0x50c371(0x289)](),this[_0x50c371(0x33e)][_0x50c371(0x38c)](_0xa35ea7=>_0xa35ea7[_0x50c371(0x37b)]()),this[_0x50c371(0x33e)][_0x50c371(0x18e)](),this['_status$'][_0x50c371(0x19b)]();}async[_0x49a434(0xd5)](_0x144602){var _0x46d438=_0x49a434;if(this['_sessions'][_0x46d438(0x3a1)](_0x144602))return this['_sessions']['get'](_0x144602);this[_0x46d438(0x307)]();const _0x19449e=this[_0x46d438(0x2b7)][_0x46d438(0x17a)](Et,_0x144602,this[_0x46d438(0x173)][_0x46d438(0x1ec)]());return this[_0x46d438(0x33e)][_0x46d438(0xfd)](_0x144602,_0x19449e),_0x19449e;}[_0x49a434(0xe7)](_0x54d26a){var _0x91b1b7=_0x49a434,_0x2c9561;const _0x20d9a8=this['_sessions'][_0x91b1b7(0x30e)](_0x54d26a);_0x20d9a8&&(this['_sessions']['delete'](_0x54d26a),_0x20d9a8[_0x91b1b7(0x2ef)]()),this['_sessions'][_0x91b1b7(0x2e1)]||(_0x2c9561=this[_0x91b1b7(0x326)])==null||_0x2c9561[_0x91b1b7(0x2ef)]();}[_0x49a434(0x10f)](){var _0x30227d=_0x49a434;this[_0x30227d(0x2bf)]=0x0,this[_0x30227d(0xaa)](),this[_0x30227d(0x2a7)]();}['_clearRetryConnectingTimer'](){var _0x29bdb6=_0x49a434;this[_0x29bdb6(0x385)]!=null&&(clearTimeout(this[_0x29bdb6(0x385)]),this[_0x29bdb6(0x385)]=null);}async[_0x49a434(0x2c0)](){var _0xb29328=_0x49a434,_0x3701b7,_0x306768;const _0x418ec6=this[_0xb29328(0x1ba)][_0xb29328(0x2f1)](In),_0x2e695a=this[_0xb29328(0x1ba)][_0xb29328(0x2f1)](q),_0x2240f2=(_0x306768=(_0x3701b7=_0x2e695a==null?void 0x0:_0x2e695a[_0xb29328(0x3ae)])!=null?_0x3701b7:_0x418ec6)!=null?_0x306768:Tn,_0x425706=await this[_0xb29328(0x22e)]['createSocket'](_0x2240f2);return this[_0xb29328(0x2d3)]=_0x425706,_0x425706;}async['_tryEnsureSocket'](){var _0x5e3898=_0x49a434,_0xc137,_0x30aa48;try{const _0x5db1ac=(_0x30aa48=(_0xc137=this[_0x5e3898(0x326)])!=null?_0xc137:this['_candidateSocket'])!=null?_0x30aa48:await this['_createSocket']();if(_0x5db1ac){const _0x4503db=_0x5db1ac[_0x5e3898(0x1a6)];_0x5db1ac[_0x5e3898(0x1a6)]=_0x43111c=>(this[_0x5e3898(0xe4)](),_0x4503db['apply'](_0x5db1ac,[_0x43111c])),_0x5db1ac[_0x5e3898(0x222)][_0x5e3898(0x122)](_0xb1efd9=>this['_onMessage'](_0x5db1ac,_0xb1efd9)),_0x5db1ac[_0x5e3898(0x1eb)][_0x5e3898(0x15b)](_0x13b8fd(0x1))[_0x5e3898(0x122)](_0x52b594=>this[_0x5e3898(0x309)][_0x5e3898(0x245)]('[CollaborationSessionService]:\x20socket\x20error',_0x52b594)),_0x5db1ac['open$'][_0x5e3898(0x15b)](_0x13b8fd(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x5db1ac);}),_0x5db1ac[_0x5e3898(0x34b)][_0x5e3898(0x15b)](_0x13b8fd(0x1))['subscribe'](_0x30a1ae=>{var _0x1c74d2=_0x5e3898;this['_logService']['debug'](_0x1c74d2(0x314),_0x1c74d2(0x1b5),_0x30a1ae),this[_0x1c74d2(0x23f)]();});}}catch(_0xea2e99){this['_logService'][_0x5e3898(0x245)](_0xea2e99),this[_0x5e3898(0x23f)]();}}[_0x49a434(0x15d)](_0x1cd0b5){var _0x4eca42=_0x49a434;this['_logService'][_0x4eca42(0x195)](_0x4eca42(0x314),_0x4eca42(0x1e2)),_0x1cd0b5[_0x4eca42(0x1a6)]({'cmd':F[_0x4eca42(0xf1)]}),this[_0x4eca42(0xe4)]();}[_0x49a434(0x374)](){var _0x4a85ce=_0x49a434;this['_socketReady']=!0x1,this[_0x4a85ce(0x2d3)]=null,this[_0x4a85ce(0x321)][_0x4a85ce(0x2c7)](Ee[_0x4a85ce(0x395)]),this[_0x4a85ce(0x173)][_0x4a85ce(0x2c7)](null),this[_0x4a85ce(0x3a7)](),this[_0x4a85ce(0x289)]();}[_0x49a434(0x23f)](){var _0x3e72bd=_0x49a434,_0x54a113;this[_0x3e72bd(0x374)](),this[_0x3e72bd(0x2bf)]<((_0x54a113=this[_0x3e72bd(0x1ba)][_0x3e72bd(0x2f1)](yn))!=null?_0x54a113:On)?(this[_0x3e72bd(0x2d8)][_0x3e72bd(0x2f2)]({'id':re[_0x3e72bd(0x1a9)]}),this[_0x3e72bd(0x2a7)]()):this[_0x3e72bd(0x2d8)][_0x3e72bd(0x2f2)]({'id':re[_0x3e72bd(0x1bc)]});}[_0x49a434(0x2a7)](){var _0x48b56a=_0x49a434,_0x4de080;const _0x36b09c=this['_retryCount'],_0x2b0c46=this[_0x48b56a(0x1ba)][_0x48b56a(0x2f1)](q),_0x43a5f2=_0x36b09c===0x0?0x0:((_0x4de080=_0x2b0c46==null?void 0x0:_0x2b0c46[_0x48b56a(0x259)])!=null?_0x4de080:bn)*0x2**_0x36b09c;this[_0x48b56a(0x385)]=setTimeout(()=>{var _0x50afa6=_0x48b56a;clearTimeout(this[_0x50afa6(0x385)]),this[_0x50afa6(0x385)]=null,this[_0x50afa6(0x307)]();},_0x43a5f2),this[_0x48b56a(0x2bf)]+=0x1;}[_0x49a434(0x352)](_0x206fea,_0x444bb6){var _0x154bd6=_0x49a434;const {cmd:_0x293d6c}=_0x444bb6;_0x293d6c===F[_0x154bd6(0xf1)]&&!this['_socketReady']&&(_0x206fea[_0x154bd6(0x172)]=_0x444bb6['data'][_0x154bd6(0x172)],this[_0x154bd6(0x173)][_0x154bd6(0x2c7)](_0x206fea),this[_0x154bd6(0x321)][_0x154bd6(0x2c7)](Ee[_0x154bd6(0x3aa)]),this[_0x154bd6(0x2eb)]=!0x0,this[_0x154bd6(0x2d3)]=null),_0x293d6c===F['HEARTBEAT']&&this[_0x154bd6(0x3a7)](),this[_0x154bd6(0xe4)]();}[_0x49a434(0xe4)](){var _0x589447=_0x49a434,_0x242678;this[_0x589447(0x289)](),this[_0x589447(0x155)]=setTimeout(()=>this[_0x589447(0x2da)](),(_0x242678=this['_configService'][_0x589447(0x2f1)](Cn))!=null?_0x242678:Rn);}[_0x49a434(0x2da)](){var _0x16c4f7=_0x49a434;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x16c4f7(0x35a)]();}['_waitForHeartbeatResponse'](){var _0x4482f7=_0x49a434,_0x2cd4c3;this[_0x4482f7(0x2d5)]=setTimeout(()=>this[_0x4482f7(0x23f)](),(_0x2cd4c3=this[_0x4482f7(0x1ba)][_0x4482f7(0x2f1)](mi))!=null?_0x2cd4c3:gi);}[_0x49a434(0x289)](){var _0x5e0d9c=_0x49a434;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5e0d9c(0x155)]),this[_0x5e0d9c(0x155)]=null);}[_0x49a434(0x3a7)](){var _0x422152=_0x49a434;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x422152(0x2d5)]),this[_0x422152(0x2d5)]=null);}};xe=Yn([be(0x0,_0x364c0e(_0x252ee6)),be(0x1,_0x520907),be(0x2,_0x279bb6),be(0x3,Ii),be(0x4,_0x364c0e(pe)),be(0x5,_0x1cf777(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x49a434(0xfe)]((t+0x100)['toString'](0x10)[_0x49a434(0x261)](0x1));function qn(_0x4f3e52,_0x5aa7a1=0x0){var _0x4c705d=_0x49a434;return(V[_0x4f3e52[_0x5aa7a1+0x0]]+V[_0x4f3e52[_0x5aa7a1+0x1]]+V[_0x4f3e52[_0x5aa7a1+0x2]]+V[_0x4f3e52[_0x5aa7a1+0x3]]+'-'+V[_0x4f3e52[_0x5aa7a1+0x4]]+V[_0x4f3e52[_0x5aa7a1+0x5]]+'-'+V[_0x4f3e52[_0x5aa7a1+0x6]]+V[_0x4f3e52[_0x5aa7a1+0x7]]+'-'+V[_0x4f3e52[_0x5aa7a1+0x8]]+V[_0x4f3e52[_0x5aa7a1+0x9]]+'-'+V[_0x4f3e52[_0x5aa7a1+0xa]]+V[_0x4f3e52[_0x5aa7a1+0xb]]+V[_0x4f3e52[_0x5aa7a1+0xc]]+V[_0x4f3e52[_0x5aa7a1+0xd]]+V[_0x4f3e52[_0x5aa7a1+0xe]]+V[_0x4f3e52[_0x5aa7a1+0xf]])[_0x4c705d(0x2bc)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x37fa30=_0x49a434;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x37fa30(0x128));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x49a434(0x380)](crypto),Yt={'randomUUID':Xn};function Zn(_0x28191e,_0xa71d43,_0x86741b){var _0x2a4349=_0x49a434,_0x1cd12e,_0x18dad9,_0x20f460;if(Yt[_0x2a4349(0x361)]&&!_0x28191e)return Yt['randomUUID']();_0x28191e=_0x28191e||{};const _0x57f65b=(_0x20f460=(_0x18dad9=_0x28191e[_0x2a4349(0x14d)])!=null?_0x18dad9:(_0x1cd12e=_0x28191e[_0x2a4349(0x254)])==null?void 0x0:_0x1cd12e[_0x2a4349(0xc5)](_0x28191e))!=null?_0x20f460:Jn();if(_0x57f65b[_0x2a4349(0x1f6)]<0x10)throw new Error(_0x2a4349(0x27a));return _0x57f65b[0x6]=_0x57f65b[0x6]&0xf|0x40,_0x57f65b[0x8]=_0x57f65b[0x8]&0x3f|0x80,qn(_0x57f65b);}const J=_0xcc459e(_0x49a434(0x1ad));function Br(_0x40ea2a){return'unit-cache-'+_0x40ea2a;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x5b6f5e,_0x473e51,_0x1eb5ee,_0x10d954)=>{var _0x517710=_0x49a434;for(var _0x43cfe7=_0x10d954>0x1?void 0x0:_0x10d954?Qn(_0x473e51,_0x1eb5ee):_0x473e51,_0x93660d=_0x5b6f5e[_0x517710(0x1f6)]-0x1,_0x3ff90f;_0x93660d>=0x0;_0x93660d--)(_0x3ff90f=_0x5b6f5e[_0x93660d])&&(_0x43cfe7=_0x3ff90f(_0x43cfe7)||_0x43cfe7);return _0x43cfe7;},dt=(_0x29b2f9,_0x18eb77)=>(_0x17f5df,_0x529322)=>_0x18eb77(_0x17f5df,_0x529322,_0x29b2f9);function ts(_0x1fc4dc){const {unitID:_0x204482,mutations:_0x137d8d}=_0x1fc4dc;return{'unitId':_0x204482,'subUnitId':_0x137d8d[0x0]['params']['subUnitId']};}let it=class{constructor(_0x26cac8,_0x2d6f7b,_0x332232){var _0x45baa3=_0x49a434;this[_0x45baa3(0x2b7)]=_0x26cac8,this[_0x45baa3(0x2d1)]=_0x2d6f7b,this[_0x45baa3(0x382)]=_0x332232;}[_0x49a434(0x25f)](_0x2b9535){var _0x294065=_0x49a434,_0x396158,_0x505aab,_0x5b22d7,_0x39767d;const _0x72b479=this[_0x294065(0x2b7)][_0x294065(0x30e)](_0x11d973),{unitId:_0x266463,subUnitId:_0x5a7f42}=ts(_0x2b9535),_0x2cc5f4=_0x72b479==null?void 0x0:_0x72b479[_0x294065(0x323)](_0x266463)[_0x294065(0x246)](),_0x2ac742=(_0x505aab=(_0x396158=this['_instanceService'][_0x294065(0xdf)](_0x266463))==null?void 0x0:_0x396158[_0x294065(0x238)]())==null?void 0x0:_0x505aab[_0x294065(0x1a2)]();if(_0x2cc5f4[_0x294065(0x1f6)]===0x0||!_0x266463||!_0x5a7f42)return;const _0x35b800=[{'id':_0x567530['id'],'params':{'unitId':_0x266463,'subUnitId':_0x2ac742,'selections':_0x46fdd3['deepClone'](_0x2cc5f4)}}],_0x71ff06=this[_0x294065(0x2d1)][_0x294065(0x369)](_0x2b9535,_0x35b800);if(!_0xfd3d9(_0x71ff06))throw _0x71ff06[_0x294065(0x245)];const _0x2c766a=(_0x39767d=(_0x5b22d7=_0x71ff06[_0x294065(0x277)][0x0])==null?void 0x0:_0x5b22d7[_0x294065(0x276)])==null?void 0x0:_0x39767d['selections'];if(Array[_0x294065(0x283)](_0x2c766a)&&_0x2c766a[_0x294065(0x1f6)]){if(_0x2c766a['length']===_0x35b800[0x0][_0x294065(0x276)][_0x294065(0x110)][_0x294065(0x1f6)]&&_0x2c766a[_0x294065(0x30a)]((_0xcb0ed5,_0x1fed55)=>_0x4e04e6[_0x294065(0x18a)](_0xcb0ed5[_0x294065(0x379)],_0x35b800[0x0][_0x294065(0x276)]['selections'][_0x1fed55]['range'])))return;this['_injector'][_0x294065(0x30e)](_0x46a78a)['executeCommand'](_0x567530['id'],{'unitId':_0x266463,'subUnitId':_0x2ac742,'selections':_0x2c766a});}}};it=es([dt(0x0,_0x364c0e(_0x252ee6)),dt(0x1,_0x5148b7),dt(0x2,_0x397484)],it);const ht=_0xcc459e(_0x49a434(0x386));var Ci=(_0x219bac=>(_0x219bac[_0x219bac['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x49a434(0x258),_0x219bac[_0x219bac[_0x49a434(0x2a4)]=0x1]='OTHER_CLIENTS_EDITING',_0x219bac))(Ci||{});const is=new Set([_0x20c603['id']]);function qt(_0x500f8a,_0x105621,_0x144848,_0xc75570,_0x5eae2a){var _0x4d4ee3=_0x49a434,_0x301605,_0x5e370c,_0x293ffb,_0x429a5c;const _0x426e59=[];for(const _0x349645 of _0x500f8a)if(is[_0x4d4ee3(0x3a1)](_0x349645['id'])){if(_0x426e59[_0x4d4ee3(0x1f6)]>0x0)break;_0x426e59[_0x4d4ee3(0xfe)](_0x349645);break;}else _0x426e59['push'](_0x349645);const _0x43f51d=(_0x5e370c=(_0x301605=_0x5eae2a['getCurrentUser']())==null?void 0x0:_0x301605[_0x4d4ee3(0x107)])!=null?_0x5e370c:_0x4d4ee3(0x29c),_0x3ee801=(_0x429a5c=(_0x293ffb=_0x5eae2a[_0x4d4ee3(0xf9)]())==null?void 0x0:_0x293ffb[_0x4d4ee3(0x172)])!=null?_0x429a5c:_0x4d4ee3(0x29c);return{'changeset':{'unitID':_0x105621,'type':_0x103593(_0x144848['getUnitType'](_0x105621)),'baseRev':_0xc75570[_0x4d4ee3(0x346)](_0x105621),'revision':0x0,'userID':_0x43f51d,'memberID':_0x3ee801,'mutations':_0x426e59},'pendingMutations':_0x500f8a[_0x4d4ee3(0x261)](_0x426e59[_0x4d4ee3(0x1f6)])};}function ns(_0x23b9ba,_0x3c68b2,_0x5082c4,_0x11f526,_0x1dbe08){var _0xacc3ef=_0x49a434,_0x1fc166,_0x3ee14e,_0x574995,_0x14055c;const _0x6b6e9c=[_0x23b9ba['reduce']((_0x1a3384,_0x4db416)=>{var _0x1f8f62=_0xbfbb,_0x359c41;const {id:_0x11e700}=_0x1a3384,{id:_0x4356da,type:_0x4accfa}=_0x4db416,_0x300835=(_0x359c41=_0x1a3384[_0x1f8f62(0x276)])!=null?_0x359c41:{'actions':null},_0x246289=_0x4db416[_0x1f8f62(0x276)];if(_0x11e700&&_0x11e700!==_0x4356da)throw new Error(_0x1f8f62(0x1fb)+_0x11e700+'\x20-\x20'+_0x4356da+'.');return{..._0x1a3384,'id':_0x4356da,'type':_0x4accfa,'params':{'unitId':_0x246289[_0x1f8f62(0x32f)],'textRanges':_0x246289['textRanges'],'actions':_0x2b3fcd['compose'](_0x300835[_0x1f8f62(0x1fe)],_0x246289[_0x1f8f62(0x1fe)])}};},{})],_0x388639=(_0x3ee14e=(_0x1fc166=_0x1dbe08['getCurrentUser']())==null?void 0x0:_0x1fc166[_0xacc3ef(0x107)])!=null?_0x3ee14e:_0xacc3ef(0x29c),_0x329bd4=(_0x14055c=(_0x574995=_0x1dbe08['getCurrentUser']())==null?void 0x0:_0x574995[_0xacc3ef(0x172)])!=null?_0x14055c:'unknown';return{'changeset':{'unitID':_0x3c68b2,'type':_0x103593(_0x5082c4['getUnitType'](_0x3c68b2)),'baseRev':_0x11f526[_0xacc3ef(0x346)](_0x3c68b2),'revision':0x0,'userID':_0x388639,'memberID':_0x329bd4,'mutations':_0x6b6e9c},'pendingMutations':[]};}function Ri(_0x7fbf58,_0x52ac73){var _0x26fad8=_0x49a434;const _0x54f216=new _0x33a1f7(0x1);return setTimeout(()=>_0x54f216[_0x26fad8(0x2c7)](_0x52ac73),_0x7fbf58),_0x54f216[_0x26fad8(0x1ec)]()[_0x26fad8(0x15b)](_0x32f0d3(0x1));}const ss={'id':_0x337fd5['id'],'type':_0x53e5a2[_0x49a434(0x306)],'params':{}};var rs=Object[_0x49a434(0x364)],Te=(_0x20c0a4,_0x217b9f,_0x16399c,_0x1aed64)=>{var _0x31da2d=_0x49a434;for(var _0x209eaa=_0x1aed64>0x1?void 0x0:_0x1aed64?rs(_0x217b9f,_0x16399c):_0x217b9f,_0x43dda2=_0x20c0a4[_0x31da2d(0x1f6)]-0x1,_0x14e52d;_0x43dda2>=0x0;_0x43dda2--)(_0x14e52d=_0x20c0a4[_0x43dda2])&&(_0x209eaa=_0x14e52d(_0x209eaa)||_0x209eaa);return _0x209eaa;},P=(_0x22762c,_0xf70316)=>(_0x240bea,_0x486e35)=>_0xf70316(_0x240bea,_0x486e35,_0x22762c),bi=(_0x5e6b44=>(_0x5e6b44[_0x49a434(0x16d)]=_0x49a434(0x2fd),_0x5e6b44['SYNCED']='synced',_0x5e6b44[_0x49a434(0x38d)]=_0x49a434(0x2a2),_0x5e6b44[_0x49a434(0x2af)]=_0x49a434(0xf0),_0x5e6b44[_0x49a434(0x2ce)]=_0x49a434(0x345),_0x5e6b44[_0x49a434(0x281)]=_0x49a434(0xb2),_0x5e6b44[_0x49a434(0x21d)]='conflict',_0x5e6b44[_0x49a434(0x395)]=_0x49a434(0x12c),_0x5e6b44))(bi||{});const yi=0xea60;class Ce{constructor(_0x24846a,_0x4da401,_0x1fef40,_0x1cb215,_0x23af28,_0x10217c,_0x349d95,_0xceca9b,_0x134a53){var _0x4f8612=_0x49a434;N(this,_0x4f8612(0x152),null),N(this,_0x4f8612(0x1f8),[]),(this[_0x4f8612(0x25b)]=_0x24846a,this[_0x4f8612(0x335)]=_0x4da401,this['_handler']=_0x23af28,this[_0x4f8612(0xe6)]=_0x10217c,this[_0x4f8612(0x377)]=_0x349d95,this[_0x4f8612(0x37c)]=_0xceca9b,this[_0x4f8612(0x362)]=_0x134a53,this['_awaitingChangeset']=_0x1fef40,this['_pendingMutations']=_0x1cb215);}[_0x49a434(0xbb)](_0x1353d9){var _0x2f1456=_0x49a434;const _0x29c1b6=this['_revisionService'][_0x2f1456(0x346)](this['unitID']);return _0x1353d9['revision']>_0x29c1b6+0x1?(this[_0x2f1456(0x24f)]['onMissingChangesets']({'from':_0x29c1b6,'to':_0x1353d9[_0x2f1456(0x308)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5253d2){var _0x2e33dc=_0x49a434;this['_undoRedoService'][_0x2e33dc(0x140)](this['unitID'],_0x5253d2);}[_0x49a434(0x2db)](_0x437071){var _0x480929=_0x49a434,_0x386301,_0x32afd2;(_0x32afd2=(_0x386301=this[_0x480929(0x24f)])[_0x480929(0x265)])==null||_0x32afd2[_0x480929(0xc5)](_0x386301,_0x437071);}[_0x49a434(0x2d6)](_0x3b56e6){var _0x2c0040=_0x49a434,_0x3da199,_0xec63da;return(_0xec63da=(_0x3da199=this['_handler'])[_0x2c0040(0xd7)])==null?void 0x0:_0xec63da['call'](_0x3da199,_0x3b56e6);}[_0x49a434(0x109)](_0xf87dfd){var _0x21372a=_0x49a434,_0xff164f,_0x7b6a63;return(_0x7b6a63=(_0xff164f=this[_0x21372a(0x24f)])['onTransformState'])==null?void 0x0:_0x7b6a63[_0x21372a(0xc5)](_0xff164f,_0xf87dfd);}[_0x49a434(0x1b9)](_0x481f1f){var _0x337c52=_0x49a434,_0x2201f6,_0x481ab1,_0x251ddb;return(_0x251ddb=(_0x481ab1=(_0x2201f6=this[_0x337c52(0x24f)])[_0x337c52(0x279)])==null?void 0x0:_0x481ab1[_0x337c52(0xc5)](_0x2201f6,_0x481f1f))!=null?_0x251ddb:_0x481f1f;}['_transformRemoteChangesetByStateCache'](_0x161776){var _0x547512=_0x49a434,_0x333f33,_0x19fd71,_0x510993;return(_0x510993=(_0x19fd71=(_0x333f33=this['_handler'])[_0x547512(0x33d)])==null?void 0x0:_0x19fd71[_0x547512(0xc5)](_0x333f33,_0x161776))!=null?_0x510993:_0x161776;}[_0x49a434(0x148)](_0x23e862){var _0x47265d=_0x49a434,_0x47bf0b,_0x183761;if(this['type']===Q[_0x47265d(0xf3)]){const {unitID:_0x3f3433,mutations:_0x2fccc8,memberID:_0x53f556}=_0x23e862,_0x3509a4=_0x2fccc8[0x0][_0x47265d(0x276)][_0x47265d(0x2de)];Array[_0x47265d(0x283)](_0x3509a4)&&_0x3509a4[_0x47265d(0x1f6)]>0x0&&((_0x183761=(_0x47bf0b=this[_0x47265d(0x24f)])['onSyncEditingCollabCursor'])==null||_0x183761[_0x47265d(0xc5)](_0x47bf0b,{'unitID':_0x3f3433,'memberID':_0x53f556,'textRanges':_0x3509a4}));}}['_updateLocalCache'](){var _0x26b114=_0x49a434,_0x4c2116;(_0x4c2116=this[_0x26b114(0x362)])==null||_0x4c2116[_0x26b114(0x27e)](this['unitID'],this[_0x26b114(0x335)],this[_0x26b114(0x152)],this[_0x26b114(0x1f8)]);}[_0x49a434(0x260)](){var _0x2d0f9c=_0x49a434;return this[_0x2d0f9c(0x37c)][_0x2d0f9c(0x346)](this[_0x2d0f9c(0x25b)]);}[_0x49a434(0x1a7)](){var _0x511d2a=_0x49a434;this[_0x511d2a(0x37c)][_0x511d2a(0x301)](this[_0x511d2a(0x25b)]);}['_executeRemoteChangeset'](_0x3a301e){var _0x3a653a=_0x49a434,_0x481d40;let _0x54af57=this[_0x3a653a(0x1b9)](_0x3a301e);_0x54af57=this['_transformRemoteChangesetByStateCache'](_0x54af57);const _0x5aa372=_0x4938ba(_0x54af57[_0x3a653a(0x157)],this[_0x3a653a(0xe6)],{'fromCollab':!0x0});if(!_0x5aa372['result'])throw _0x5aa372[_0x3a653a(0x245)]instanceof Error?_0x5aa372[_0x3a653a(0x245)]:new Error((_0x481d40=_0x5aa372['error'])!=null?_0x481d40:'[CollaborationState]:\x20apply\x20error!');this[_0x3a653a(0x2d6)](_0x54af57),this[_0x3a653a(0x109)](_0x54af57),this['_transformUndoredo'](_0x3a301e),this[_0x3a653a(0x2db)](_0x54af57),this[_0x3a653a(0x148)](_0x54af57),this[_0x3a653a(0x1a7)]();}}let Ne=class extends Ce{constructor(_0x4146c3,_0x39ad3f,_0x30780c,_0x45b6d7,_0x5b84e2,_0x5910d4,_0x2d6fcb,_0x4ccba8,_0x4f5974,_0x27fe1b){var _0x210d8f=_0x49a434;super(_0x4146c3,_0x39ad3f,null,[],_0x30780c,_0x2d6fcb,_0x5910d4,_0x45b6d7,_0x27fe1b),N(this,'status','synced'),(this['_injector']=_0x5b84e2,this[_0x210d8f(0x309)]=_0x4ccba8,this[_0x210d8f(0x2d1)]=_0x4f5974,this[_0x210d8f(0x244)]=_0x27fe1b);}[_0x49a434(0x194)](_0x46f43c){var _0xefcc80=_0x49a434;const _0x17b012=this['_injector'][_0xefcc80(0x17a)](ae,this[_0xefcc80(0x25b)],this[_0xefcc80(0x335)],[_0x46f43c],this[_0xefcc80(0x24f)]);return _0x17b012[_0xefcc80(0x34f)](),_0x17b012[_0xefcc80(0xb3)](),_0x17b012;}['onRemoteChangeset'](_0x199b5f){var _0x1eca6d=_0x49a434;if(this[_0x1eca6d(0xbb)](_0x199b5f))return this[_0x1eca6d(0x2b7)][_0x1eca6d(0x17a)](ee,this[_0x1eca6d(0x25b)],this[_0x1eca6d(0x335)],null,[],null,[_0x199b5f],this[_0x1eca6d(0x24f)]);try{const _0x2df3d7=this['_transformService'][_0x1eca6d(0x369)](_0x199b5f,[ss]);if(_0xfd3d9(_0x2df3d7)){const {c1Prime:_0x33d308}=_0x2df3d7;return this[_0x1eca6d(0x2b6)](_0x33d308),this;}throw _0x2df3d7[_0x1eca6d(0x245)];}catch(_0x113cc4){return this[_0x1eca6d(0x309)][_0x1eca6d(0x245)](_0x113cc4),this[_0x1eca6d(0x133)](!0x1);}}[_0x49a434(0x133)](_0x4a5843){var _0x14fc3c=_0x49a434;return this[_0x14fc3c(0x2b7)]['createInstance'](ue,this['unitID'],this[_0x14fc3c(0x335)],null,[],this[_0x14fc3c(0x24f)],_0x4a5843);}[_0x49a434(0x248)](){var _0x7dea8a=_0x49a434;throw new Error(_0x7dea8a(0x175));}[_0x49a434(0x37d)](){var _0x511235=_0x49a434;throw new Error(_0x511235(0x373));}[_0x49a434(0xed)](){return this;}['toggleOffline'](){var _0x122581=_0x49a434;return this[_0x122581(0x2b7)][_0x122581(0x17a)](de,this[_0x122581(0x25b)],this[_0x122581(0x335)],null,[],this['_handler']);}[_0x49a434(0x2fa)](){return this;}[_0x49a434(0x2ac)](){var _0x5c8383=_0x49a434;throw new Error(_0x5c8383(0xb9));}[_0x49a434(0x1c0)](){var _0x1ea0f9=_0x49a434;const _0x55db1a=this[_0x1ea0f9(0x37c)][_0x1ea0f9(0x346)](this[_0x1ea0f9(0x25b)]);return this['_handler'][_0x1ea0f9(0xc3)]({'from':_0x55db1a,'to':0x0}),this[_0x1ea0f9(0x2b7)][_0x1ea0f9(0x17a)](ee,this[_0x1ea0f9(0x25b)],this[_0x1ea0f9(0x335)],null,[],null,[],this[_0x1ea0f9(0x24f)]);}};Ne=Te([P(0x3,_0x364c0e(_0x11fb78)),P(0x4,_0x364c0e(_0x252ee6)),P(0x5,_0x451587),P(0x6,_0x46a78a),P(0x7,_0x520907),P(0x8,_0x5148b7),P(0x9,_0x1cf777(J))],Ne);let ae=class extends Ce{constructor(_0x22cb3c,_0x23b946,_0xe5d29c,_0x37faa8,_0x1d9897,_0x4afb52,_0x541f0a,_0x1dfdb1,_0x3e9954,_0x4c7839,_0xf74086,_0x203c19,_0x39a74e,_0x14bbfc){var _0x5ed2d6=_0x49a434;super(_0x22cb3c,_0x23b946,null,_0xe5d29c,_0x37faa8,_0x3e9954,_0x39a74e,_0x4afb52,_0x14bbfc),N(this,_0x5ed2d6(0x33c),'pending'),N(this,_0x5ed2d6(0x1e8),null),N(this,_0x5ed2d6(0x29b),null),(this[_0x5ed2d6(0x2b7)]=_0x1d9897,this[_0x5ed2d6(0x17e)]=_0x541f0a,this[_0x5ed2d6(0x309)]=_0x1dfdb1,this[_0x5ed2d6(0x1ba)]=_0x4c7839,this[_0x5ed2d6(0x2d1)]=_0xf74086,this['_univerInstanceService']=_0x203c19);}['appendMutation'](_0x361738){var _0xdddff8=_0x49a434;return this[_0xdddff8(0x1f8)]['push'](_0x361738),this[_0xdddff8(0xb3)](),this;}[_0x49a434(0x3ad)](_0x3fd061){var _0x645c05=_0x49a434;if(this[_0x645c05(0xbb)](_0x3fd061))return this[_0x645c05(0x145)](),this['_injector'][_0x645c05(0x17a)](ee,this[_0x645c05(0x25b)],this[_0x645c05(0x335)],null,this[_0x645c05(0x1f8)],null,[_0x3fd061],this[_0x645c05(0x24f)]);try{const _0x3b0c43=this[_0x645c05(0x2d1)][_0x645c05(0x369)](_0x3fd061,this[_0x645c05(0x1f8)]);if(_0xfd3d9(_0x3b0c43)){const {c1Prime:_0xa38e41,m2Prime:_0x3d1706}=_0x3b0c43;this['_executeRemoteChangeset'](_0xa38e41);const _0x2d8a81=this[_0x645c05(0x2b7)][_0x645c05(0x17a)](ae,this[_0x645c05(0x25b)],this[_0x645c05(0x335)],_0x3d1706,this[_0x645c05(0x24f)]);this[_0x645c05(0x145)]();const _0x5d7dae=new Date()['getTime'](),_0x3de7b8=this[_0x645c05(0x1e8)]?Math['max'](this[_0x645c05(0x1e8)]-_0x5d7dae,0x0):this[_0x645c05(0x10c)]();return _0x2d8a81[_0x645c05(0x34f)](_0x3de7b8),_0x2d8a81;}throw _0x3b0c43[_0x645c05(0x245)];}catch(_0xd9d521){return this[_0x645c05(0x309)][_0x645c05(0x245)](_0xd9d521),this[_0x645c05(0x133)](!0x1);}}[_0x49a434(0x248)](){var _0x2e2d05=_0x49a434;throw new Error(_0x2e2d05(0xa8));}[_0x49a434(0x37d)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x49a434(0xed)](){return this;}[_0x49a434(0x1ee)](){var _0x37ac89=_0x49a434;return this[_0x37ac89(0x145)](),this[_0x37ac89(0x2b7)][_0x37ac89(0x17a)](de,this[_0x37ac89(0x25b)],this[_0x37ac89(0x335)],null,this[_0x37ac89(0x1f8)],this['_handler']);}[_0x49a434(0x2fa)](){return this;}[_0x49a434(0x34f)](_0x1e01b8){var _0xed728d=_0x49a434;const _0x395401=_0x1e01b8!=null?_0x1e01b8:this['_getSendChangesetTimeout']();this[_0xed728d(0x1e8)]=new Date()[_0xed728d(0x311)]()+_0x395401,this[_0xed728d(0x29b)]=setTimeout(()=>{var _0x10ec35=_0xed728d;this[_0x10ec35(0x145)]();let _0x3c98e1=null;switch(this['type']){case Q[_0x10ec35(0x24a)]:{_0x3c98e1=qt(this[_0x10ec35(0x1f8)],this[_0x10ec35(0x25b)],this[_0x10ec35(0x2cf)],this[_0x10ec35(0x37c)],this[_0x10ec35(0x17e)]);break;}case Q[_0x10ec35(0xf3)]:{this[_0x10ec35(0x1f8)][_0x10ec35(0x30a)](_0x20c1d2=>_0x20c1d2['id']===_0x3dcf2d['id'])?_0x3c98e1=ns(this[_0x10ec35(0x1f8)],this[_0x10ec35(0x25b)],this[_0x10ec35(0x2cf)],this['_revisionService'],this['_memberService']):_0x3c98e1=qt(this[_0x10ec35(0x1f8)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x10ec35(0x17e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x10ec35(0x335)]+_0x10ec35(0x31a));}const {changeset:_0x9cf817,pendingMutations:_0x50b206}=_0x3c98e1;this['_handler']['onSendChangeset'](_0x9cf817);const _0x5355cf=_0x50b206[_0x10ec35(0x1f6)]?this[_0x10ec35(0x2b7)][_0x10ec35(0x17a)](oe,this[_0x10ec35(0x25b)],this[_0x10ec35(0x335)],_0x9cf817,_0x50b206,this[_0x10ec35(0x24f)],void 0x0):this[_0x10ec35(0x2b7)][_0x10ec35(0x17a)](le,this[_0x10ec35(0x25b)],this['type'],_0x9cf817,this['_handler']);_0x5355cf[_0x10ec35(0xb3)](),this[_0x10ec35(0x24f)][_0x10ec35(0xf8)](this,_0x5355cf);},_0x395401);}[_0x49a434(0x10c)](){var _0x5a6935=_0x49a434,_0x256076;const _0x28b1ff=this['_configService']['getConfig'](q);return(_0x256076=_0x28b1ff==null?void 0x0:_0x28b1ff[_0x5a6935(0x1ab)])!=null?_0x256076:En;}[_0x49a434(0x2ac)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x255795=_0x49a434;this[_0x255795(0x29b)]!=null&&(clearTimeout(this[_0x255795(0x29b)]),this['_sendingTimer']=null);}[_0x49a434(0x133)](_0x1c14b0){var _0x15cf80=_0x49a434;return this['_clearScheduledTask'](),this[_0x15cf80(0x2b7)][_0x15cf80(0x17a)](ue,this[_0x15cf80(0x25b)],this[_0x15cf80(0x335)],null,this[_0x15cf80(0x1f8)],this[_0x15cf80(0x24f)],_0x1c14b0);}};ae=Te([P(0x4,_0x364c0e(_0x252ee6)),P(0x5,_0x364c0e(_0x11fb78)),P(0x6,_0x364c0e(Le)),P(0x7,_0x520907),P(0x8,_0x46a78a),P(0x9,_0x279bb6),P(0xa,_0x5148b7),P(0xb,_0x397484),P(0xc,_0x451587),P(0xd,_0x1cf777(J))],ae);let le=class extends Ce{constructor(_0x2cab27,_0x44af2a,_0x170fbd,_0x59b975,_0x254449,_0x275817,_0x3a91e8,_0x2ce095,_0x4b108b,_0x576f93,_0xf131b8){var _0x2c6234=_0x49a434;super(_0x2cab27,_0x44af2a,_0x170fbd,[],_0x59b975,_0x3a91e8,_0x576f93,_0x275817,_0xf131b8),N(this,_0x2c6234(0x33c),_0x2c6234(0xf0)),N(this,_0x2c6234(0x389),0x0),N(this,'_resendTimer'),N(this,_0x2c6234(0x2c2)),(this[_0x2c6234(0x2b7)]=_0x254449,this['_logService']=_0x2ce095,this['_transformService']=_0x4b108b);}[_0x49a434(0x194)](_0xaf39db){var _0x2ce75e=_0x49a434;this[_0x2ce75e(0x145)]();const _0x11e4a4=this[_0x2ce75e(0x2b7)][_0x2ce75e(0x17a)](oe,this['unitID'],this['type'],this[_0x2ce75e(0x152)],[_0xaf39db],this[_0x2ce75e(0x24f)],this[_0x2ce75e(0x230)]);return _0x11e4a4['_updateLocalCache'](),_0x11e4a4;}[_0x49a434(0x3ad)](_0x1b051c){var _0x17c78c=_0x49a434;if(this[_0x17c78c(0xbb)](_0x1b051c))return this[_0x17c78c(0x145)](),this[_0x17c78c(0x2b7)]['createInstance'](ee,this['unitID'],this['type'],this[_0x17c78c(0x152)],[],null,[_0x1b051c],this[_0x17c78c(0x24f)]);try{const _0xa256d4=this['_transformService']['transformChangesets']([_0x1b051c],[this[_0x17c78c(0x152)]],!0x1);if(_0x1c7225(_0xa256d4)){const {c1Prime:_0x5088b3,c2Prime:_0x5a77a2}=_0xa256d4;this['_executeRemoteChangeset'](_0x5088b3[0x0]),_0x5a77a2[0x0][_0x17c78c(0x384)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x48ce7c=this['_injector'][_0x17c78c(0x17a)](le,this[_0x17c78c(0x25b)],this[_0x17c78c(0x335)],_0x5a77a2[0x0],this[_0x17c78c(0x24f)]);return _0x48ce7c['_updateLocalCache'](),_0x48ce7c;}return this[_0x17c78c(0x133)](!0x1);}catch(_0x20161e){return this['_logService'][_0x17c78c(0x245)](_0x20161e),this[_0x17c78c(0x133)](!0x1);}}[_0x49a434(0x248)](_0x21ca5e){var _0x2f2909=_0x49a434;this['_clearScheduledTask']();const _0xc2866b=this[_0x2f2909(0x37c)]['getCurrentRevOfUnit'](this[_0x2f2909(0x25b)]);if(_0x21ca5e['revision']<_0xc2866b-0x1)return this;if(this['_checkMissing'](_0x21ca5e))return this[_0x2f2909(0x2b7)][_0x2f2909(0x17a)](ee,this[_0x2f2909(0x25b)],this['type'],null,[],this[_0x2f2909(0x152)],[],this[_0x2f2909(0x24f)]);this[_0x2f2909(0x1a7)]();const _0x47126d=this[_0x2f2909(0x2b7)][_0x2f2909(0x17a)](Ne,this[_0x2f2909(0x25b)],this[_0x2f2909(0x335)],this[_0x2f2909(0x24f)]);return _0x47126d[_0x2f2909(0xb3)](),_0x47126d;}[_0x49a434(0x37d)](_0x5a873f){var _0x15441d=_0x49a434;return this['_onConflict'](!!(_0x5a873f!=null&&_0x5a873f[_0x15441d(0xb0)]));}[_0x49a434(0xed)](_0x4fe89c){var _0xdf0ce7=_0x49a434;return this[_0xdf0ce7(0x389)]>yi?this[_0xdf0ce7(0x1ee)]():(this['_resendTimer']=Ri(this[_0xdf0ce7(0x389)],{'timeout':this[_0xdf0ce7(0x389)],'reqId':_0x4fe89c['reqId']}),this[_0xdf0ce7(0x2c2)]=this['_resendTimer'][_0xdf0ce7(0x122)](({reqId:_0x22a6d3,timeout:_0x53749c})=>{var _0x344b07=_0xdf0ce7;this[_0x344b07(0x353)](_0x22a6d3,_0x53749c);}),this);}[_0x49a434(0x1ee)](){var _0x51cc09=_0x49a434;return this[_0x51cc09(0x145)](),this[_0x51cc09(0x2b7)]['createInstance'](de,this[_0x51cc09(0x25b)],this[_0x51cc09(0x335)],this['_awaitingChangeset'],[],this[_0x51cc09(0x24f)]);}['toggleOnline'](){return this;}['resend'](){var _0x15fb06=_0x49a434;this[_0x15fb06(0x24f)]['onSendChangeset'](this[_0x15fb06(0x152)]);}['_onConflict'](_0x5996e0){var _0x4468f8=_0x49a434;return this[_0x4468f8(0x145)](),this[_0x4468f8(0x2b7)]['createInstance'](ue,this[_0x4468f8(0x25b)],this[_0x4468f8(0x335)],this[_0x4468f8(0x152)],[],this[_0x4468f8(0x24f)],_0x5996e0);}[_0x49a434(0x353)](_0x4a3c08,_0x494d2b){var _0x1da560=_0x49a434,_0x5c0045;_0x4a3c08===((_0x5c0045=this[_0x1da560(0x152)])==null?void 0x0:_0x5c0045['reqId'])&&(this[_0x1da560(0x2ac)](),this[_0x1da560(0x389)]=_0x494d2b===0x0?0x3e8:_0x494d2b*0x2);}[_0x49a434(0x145)](){var _0x5c6713=_0x49a434,_0x2a6e62;(_0x2a6e62=this[_0x5c6713(0x2c2)])==null||_0x2a6e62['unsubscribe'](),this[_0x5c6713(0x389)]=0x0;}};le=Te([P(0x4,_0x364c0e(_0x252ee6)),P(0x5,_0x364c0e(_0x11fb78)),P(0x6,_0x46a78a),P(0x7,_0x520907),P(0x8,_0x5148b7),P(0x9,_0x451587),P(0xa,_0x1cf777(J))],le);let oe=class extends Ce{constructor(_0xf76302,_0x2bdefa,_0x84af20,_0x5cfd07,_0x4da6aa,_0x1b71b0,_0x5b229d,_0x5b58d6,_0x39e952,_0x475e1c,_0x130d75,_0x4c1ec2,_0x16ca98){var _0x59d4e6=_0x49a434;super(_0xf76302,_0x2bdefa,_0x84af20,_0x5cfd07,_0x4da6aa,_0x39e952,_0x4c1ec2,_0x5b58d6,_0x16ca98),N(this,_0x59d4e6(0x33c),'awaiting_with_pending'),N(this,_0x59d4e6(0x389),0x0),N(this,_0x59d4e6(0x230)),N(this,_0x59d4e6(0x2c2)),(this[_0x59d4e6(0x2b7)]=_0x5b229d,this['_logService']=_0x475e1c,this[_0x59d4e6(0x2d1)]=_0x130d75,this[_0x59d4e6(0x244)]=_0x16ca98,_0x1b71b0&&(this['_resendTimer']=_0x1b71b0,this[_0x59d4e6(0x2c2)]=this[_0x59d4e6(0x230)][_0x59d4e6(0x122)](({reqId:_0x1a6d72,timeout:_0x339c25})=>{this['_resendWithTimeout'](_0x1a6d72,_0x339c25);})));}[_0x49a434(0x194)](_0x5c75e7){var _0x144346=_0x49a434;return this[_0x144346(0x1f8)][_0x144346(0xfe)](_0x5c75e7),this;}[_0x49a434(0x3ad)](_0x46f640){var _0x13f382=_0x49a434;if(this[_0x13f382(0xbb)](_0x46f640))return this[_0x13f382(0x145)](),this[_0x13f382(0x2b7)]['createInstance'](ee,this[_0x13f382(0x25b)],this['type'],this[_0x13f382(0x152)],this[_0x13f382(0x1f8)],null,[_0x46f640],this[_0x13f382(0x24f)]);try{const _0x208fa2=this[_0x13f382(0x2d1)]['transformChangesets']([_0x46f640],[this[_0x13f382(0x152)]],!0x1);if(_0x1c7225(_0x208fa2)){const {c1Prime:_0x55e644,c2Prime:_0x2a4355}=_0x208fa2,_0x2dcbb2=this['_transformService'][_0x13f382(0x369)](_0x55e644[0x0],this[_0x13f382(0x1f8)]);if(_0xfd3d9(_0x2dcbb2)){const {c1Prime:_0x4d1a51,m2Prime:_0x1b44b3}=_0x2dcbb2;return this[_0x13f382(0x2b6)](_0x4d1a51),_0x2a4355[0x0][_0x13f382(0x384)]=this['_getCurrentRevision'](),this[_0x13f382(0x145)](),this['_injector']['createInstance'](oe,this['unitID'],this['type'],_0x2a4355[0x0],_0x1b44b3,this[_0x13f382(0x24f)],void 0x0);}throw _0x2dcbb2[_0x13f382(0x245)];}throw _0x208fa2[_0x13f382(0x245)];}catch(_0x314473){return this[_0x13f382(0x309)]['error'](_0x314473),this[_0x13f382(0x133)](!0x1);}}['onRemoteAck'](_0x3bcc82){var _0x2213d1=_0x49a434;if(this[_0x2213d1(0x145)](),this['_checkMissing'](_0x3bcc82))return this['_injector']['createInstance'](ee,this[_0x2213d1(0x25b)],this['type'],null,this[_0x2213d1(0x1f8)],this[_0x2213d1(0x152)],[],this[_0x2213d1(0x24f)]);this[_0x2213d1(0x1a7)]();const _0x4fc217=this[_0x2213d1(0x2b7)][_0x2213d1(0x17a)](ae,this['unitID'],this[_0x2213d1(0x335)],this['_pendingMutations'],this[_0x2213d1(0x24f)]);return _0x4fc217['_schedule'](),_0x4fc217[_0x2213d1(0xb3)](),_0x4fc217;}[_0x49a434(0x37d)](_0x374eee){var _0x39e40d=_0x49a434;return this[_0x39e40d(0x133)](!!(_0x374eee!=null&&_0x374eee[_0x39e40d(0xb0)]));}[_0x49a434(0xed)](_0x5b2d93){var _0x5f379e=_0x49a434;return this[_0x5f379e(0x389)]>yi?this[_0x5f379e(0x1ee)]():(this[_0x5f379e(0x230)]=Ri(this[_0x5f379e(0x389)],{'timeout':this[_0x5f379e(0x389)],'reqId':_0x5b2d93[_0x5f379e(0xad)]}),this[_0x5f379e(0x2c2)]=this[_0x5f379e(0x230)][_0x5f379e(0x122)](({reqId:_0x1b93f8,timeout:_0x2be30f})=>{this['_resendWithTimeout'](_0x1b93f8,_0x2be30f);}),this);}[_0x49a434(0x1ee)](){var _0x5866cf=_0x49a434;return this[_0x5866cf(0x145)](),this[_0x5866cf(0x2b7)][_0x5866cf(0x17a)](de,this[_0x5866cf(0x25b)],this['type'],this[_0x5866cf(0x152)],this[_0x5866cf(0x1f8)],this[_0x5866cf(0x24f)]);}[_0x49a434(0x2fa)](){return this;}['resend'](){var _0x2a2d37=_0x49a434;this[_0x2a2d37(0x24f)][_0x2a2d37(0x227)](this['_awaitingChangeset']);}['_onConflict'](_0x371816){var _0x4a8b05=_0x49a434;return this['_clearScheduledTask'](),this[_0x4a8b05(0x2b7)][_0x4a8b05(0x17a)](ue,this['unitID'],this[_0x4a8b05(0x335)],null,this[_0x4a8b05(0x1f8)],this[_0x4a8b05(0x24f)],_0x371816);}[_0x49a434(0x353)](_0x18512d,_0x566af3){var _0x2668d8=_0x49a434,_0x348127;_0x18512d===((_0x348127=this['_awaitingChangeset'])==null?void 0x0:_0x348127['reqId'])&&(this['resend'](),this[_0x2668d8(0x389)]=_0x566af3===0x0?0x3e8:_0x566af3*0x2);}[_0x49a434(0x145)](){var _0x4f7ba5=_0x49a434,_0x5631b7;(_0x5631b7=this[_0x4f7ba5(0x2c2)])==null||_0x5631b7[_0x4f7ba5(0x231)](),this[_0x4f7ba5(0x389)]=0x0;}};oe=Te([P(0x6,_0x364c0e(_0x252ee6)),P(0x7,_0x364c0e(_0x11fb78)),P(0x8,_0x46a78a),P(0x9,_0x520907),P(0xa,_0x5148b7),P(0xb,_0x451587),P(0xc,_0x1cf777(J))],oe);let ue=class extends Ce{constructor(_0x44ea02,_0x1ff679,_0x5e44ec,_0xed41f6,_0x2b1fe6,_0x4b258d=!0x1,_0x2c4f99,_0x1dd881,_0x462e26,_0x26259a,_0x4a2210,_0x38773e,_0x282e0a){var _0x5ceccb=_0x49a434;super(_0x44ea02,_0x1ff679,_0x5e44ec,_0xed41f6,_0x2b1fe6,_0x1dd881,_0x462e26,_0x26259a,_0x282e0a),N(this,_0x5ceccb(0x33c),'conflict'),(this[_0x5ceccb(0x304)]=_0x4b258d,this[_0x5ceccb(0x313)]=_0x2c4f99,this['_localeService']=_0x4a2210,this['_collaborationUIEventService']=_0x38773e,this['localCacheService']=_0x282e0a,this[_0x5ceccb(0x38b)](),this[_0x5ceccb(0x2d0)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x49a434(0x3ad)](){return this;}[_0x49a434(0x248)](){return this;}[_0x49a434(0x37d)](){return this;}[_0x49a434(0xed)](){return this;}[_0x49a434(0x1ee)](){return this;}[_0x49a434(0x2fa)](){return this;}['resend'](){var _0x560a32=_0x49a434;throw new Error(_0x560a32(0xa3));}['_clearLocalCache'](){var _0x5b34f5=_0x49a434,_0x2b0497;(_0x2b0497=this[_0x5b34f5(0x362)])==null||_0x2b0497[_0x5b34f5(0x27e)](this[_0x5b34f5(0x25b)],this[_0x5b34f5(0x335)],null,[]);}[_0x49a434(0x38b)](){var _0x4ba292=_0x49a434;this[_0x4ba292(0x304)]?this[_0x4ba292(0x2d8)][_0x4ba292(0x2f2)]({'id':re[_0x4ba292(0x310)]}):this[_0x4ba292(0x2d8)][_0x4ba292(0x2f2)]({'id':re[_0x4ba292(0x21d)]});}[_0x49a434(0x206)](){var _0x17d65e=_0x49a434;this[_0x17d65e(0x313)][_0x17d65e(0x214)](new _0x392d0e(this[_0x17d65e(0x25b)])['id'],!0x1);}};ue=Te([P(0x6,_0x364c0e(_0x4fe2b7)),P(0x7,_0x46a78a),P(0x8,_0x451587),P(0x9,_0x364c0e(_0x11fb78)),P(0xa,_0x364c0e(_0xf3d969)),P(0xb,_0x364c0e(pe)),P(0xc,_0x1cf777(J))],ue);let de=class extends Ce{constructor(_0xc97b72,_0x38770f,_0x50b3bf,_0x2e8a33,_0x5ba48f,_0x716a3e,_0x20dc17,_0xd88ff4,_0xbd8057,_0x29bb26){var _0x5345b9=_0x49a434;super(_0xc97b72,_0x38770f,_0x50b3bf,_0x2e8a33,_0x5ba48f,_0xd88ff4,_0xbd8057,_0x20dc17,_0x29bb26),N(this,_0x5345b9(0x33c),_0x5345b9(0x12c)),this[_0x5345b9(0x2b7)]=_0x716a3e;}[_0x49a434(0x194)](_0x5912cb){var _0x15ba25=_0x49a434;return this[_0x15ba25(0x1f8)][_0x15ba25(0xfe)](_0x5912cb),this[_0x15ba25(0xb3)](),this;}[_0x49a434(0x3ad)](_0x566367){var _0x1aac2e=_0x49a434;throw new Error(_0x1aac2e(0x295));}[_0x49a434(0x248)](){var _0x47b528=_0x49a434;throw new Error(_0x47b528(0x219));}[_0x49a434(0x37d)](){var _0x166d25=_0x49a434;throw new Error(_0x166d25(0x1c9));}[_0x49a434(0xed)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x337f4c=_0x49a434;const {_injector:_0x2f82d4,_pendingMutations:_0x6b9245,_awaitingChangeset:_0x2ee5f7,unitID:_0x2222b2,_handler:_0x428227,type:_0x1b91e1}=this,_0x412f60=Oi(_0x2f82d4,_0x2222b2,_0x1b91e1,_0x2ee5f7,_0x6b9245,_0x428227);return _0x412f60 instanceof ae?_0x412f60[_0x337f4c(0x34f)]():(_0x412f60 instanceof oe||_0x412f60 instanceof le)&&_0x412f60['resend'](),_0x412f60;}[_0x49a434(0x2ac)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x364c0e(_0x252ee6)),P(0x6,_0x364c0e(_0x11fb78)),P(0x7,_0x46a78a),P(0x8,_0x451587),P(0x9,_0x1cf777(J))],de);let ee=class extends Ce{constructor(_0x1f0c5a,_0x197691,_0x33eaab,_0x5ec3b4,_0x482b6c,_0x1e4be6,_0x3f24d8,_0xe28a1,_0x7a0678,_0x474986,_0x5a2159,_0xf2032e,_0x2278cf,_0x1296b6){var _0x1f28de=_0x49a434;super(_0x1f0c5a,_0x197691,_0x33eaab,_0x5ec3b4,_0x3f24d8,_0x5a2159,_0xf2032e,_0x7a0678,_0x1296b6),N(this,_0x1f28de(0x33c),_0x1f28de(0xb2)),(this['_acknowledgedAwaitingChangeset']=_0x482b6c,this[_0x1f28de(0x17b)]=_0x1e4be6,this[_0x1f28de(0x2b7)]=_0xe28a1,this['_logService']=_0x474986,this[_0x1f28de(0x2d1)]=_0x2278cf,this['localCacheService']=_0x1296b6);}['onMissedChangesetFetched'](_0x21e370){var _0x3d5f5f=_0x49a434;try{const _0x3aa4c7=[..._0x21e370,...this['_queuedRemoteChangesets']],_0x1aca2b=[this['_awaitingChangeset']||this[_0x3d5f5f(0x1bd)]]['filter'](_0x826729=>!!_0x826729);let _0xf450af,_0x583d3d;if(_0x1aca2b[_0x3d5f5f(0x1f6)]){const _0x344b8d=this[_0x3d5f5f(0x2d1)][_0x3d5f5f(0xab)](_0x3aa4c7,_0x1aca2b,!0x1);if(!_0x1c7225(_0x344b8d))throw _0x344b8d[_0x3d5f5f(0x245)];_0xf450af=_0x344b8d[_0x3d5f5f(0x2b5)],_0x583d3d=_0x344b8d[_0x3d5f5f(0x203)];}else _0xf450af=_0x3aa4c7,_0x583d3d=[];let _0x2a9075=this[_0x3d5f5f(0x1f8)];_0xf450af[_0x3d5f5f(0x38c)](_0xc7c773=>{var _0x290513=_0x3d5f5f;let _0x41aec7;if(_0x2a9075[_0x290513(0x1f6)]){const _0xef22bb=this[_0x290513(0x2d1)][_0x290513(0x369)](_0xc7c773,_0x2a9075);if(!_0xfd3d9(_0xef22bb))throw _0xef22bb['error'];_0x41aec7=_0xef22bb[_0x290513(0x2b5)],_0x2a9075=_0xef22bb[_0x290513(0x277)];}else _0x41aec7=_0xc7c773;this['_executeRemoteChangeset'](_0x41aec7);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3d5f5f(0x1a7)](),this[_0x3d5f5f(0x152)]&&_0x583d3d[_0x3d5f5f(0x1f6)]&&(_0x583d3d[0x0][_0x3d5f5f(0x384)]=this['_getCurrentRevision']());let _0x4a59a3;if(this[_0x3d5f5f(0x152)]&&_0x2a9075[_0x3d5f5f(0x1f6)]!==0x0)_0x4a59a3=this[_0x3d5f5f(0x2b7)]['createInstance'](oe,this[_0x3d5f5f(0x25b)],this[_0x3d5f5f(0x335)],_0x583d3d[0x0],_0x2a9075,this[_0x3d5f5f(0x24f)],void 0x0);else{if(this[_0x3d5f5f(0x152)]&&_0x2a9075[_0x3d5f5f(0x1f6)]===0x0)_0x583d3d[0x0]['baseRev']=this[_0x3d5f5f(0x260)](),_0x4a59a3=this[_0x3d5f5f(0x2b7)][_0x3d5f5f(0x17a)](le,this['unitID'],this['type'],_0x583d3d[0x0],this[_0x3d5f5f(0x24f)]);else{if(_0x2a9075[_0x3d5f5f(0x1f6)]!==0x0){const _0x4c50bf=this[_0x3d5f5f(0x2b7)][_0x3d5f5f(0x17a)](ae,this['unitID'],this[_0x3d5f5f(0x335)],_0x2a9075,this['_handler']);_0x4c50bf['_schedule'](),_0x4a59a3=_0x4c50bf;}else _0x4a59a3=this['_injector']['createInstance'](Ne,this['unitID'],this[_0x3d5f5f(0x335)],this[_0x3d5f5f(0x24f)]);}}return _0x4a59a3[_0x3d5f5f(0xb3)](),_0x4a59a3;}catch(_0x3f18ce){return this['_logService']['error'](_0x3d5f5f(0x29f),_0x3d5f5f(0x338),_0x3f18ce),this[_0x3d5f5f(0x2b7)][_0x3d5f5f(0x17a)](ue,this[_0x3d5f5f(0x25b)],this[_0x3d5f5f(0x335)],this[_0x3d5f5f(0x152)],this[_0x3d5f5f(0x1f8)],this[_0x3d5f5f(0x24f)],!0x1);}}['resend'](){var _0x3e2bb3=_0x49a434;throw new Error(_0x3e2bb3(0x158));}[_0x49a434(0x194)](_0xdced31){return this['_pendingMutations']['push'](_0xdced31),this;}[_0x49a434(0x3ad)](_0x1e050){var _0x90c351=_0x49a434;return this[_0x90c351(0x17b)]['push'](_0x1e050),this;}[_0x49a434(0x248)](_0x57e64f){var _0xfc4711=_0x49a434;if(this[_0xfc4711(0x152)])return this[_0xfc4711(0x1bd)]=this[_0xfc4711(0x152)],this['_awaitingChangeset']=null,this;throw new Error(_0xfc4711(0x294));}[_0x49a434(0x37d)](_0x218da0){var _0x10606a=_0x49a434;return this['_onConflict'](!!(_0x218da0!=null&&_0x218da0[_0x10606a(0xb0)]));}[_0x49a434(0xed)](){return this;}[_0x49a434(0x1ee)](){var _0x19ca6d=_0x49a434;return this[_0x19ca6d(0x2b7)][_0x19ca6d(0x17a)](de,this[_0x19ca6d(0x25b)],this[_0x19ca6d(0x335)],this[_0x19ca6d(0x152)],this['_pendingMutations'],this[_0x19ca6d(0x24f)]);}[_0x49a434(0x2fa)](){return this;}[_0x49a434(0x133)](_0x45f8ce){var _0x22359c=_0x49a434;return this['_injector'][_0x22359c(0x17a)](ue,this[_0x22359c(0x25b)],this[_0x22359c(0x335)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x22359c(0x24f)],_0x45f8ce);}};ee=Te([P(0x7,_0x364c0e(_0x252ee6)),P(0x8,_0x364c0e(_0x11fb78)),P(0x9,_0x520907),P(0xa,_0x46a78a),P(0xb,_0x451587),P(0xc,_0x5148b7),P(0xd,_0x1cf777(J))],ee);function Oi(_0x17eff9,_0x3f4666,_0x311ccb,_0x2d4fd8,_0x1236fb,_0x9eeed4){var _0x45aa92=_0x49a434;return _0x2d4fd8&&_0x1236fb[_0x45aa92(0x1f6)]?_0x17eff9[_0x45aa92(0x17a)](oe,_0x3f4666,_0x311ccb,_0x2d4fd8,_0x1236fb,_0x9eeed4,void 0x0):_0x2d4fd8?_0x17eff9[_0x45aa92(0x17a)](le,_0x3f4666,_0x311ccb,_0x2d4fd8,_0x9eeed4):_0x1236fb['length']?_0x17eff9[_0x45aa92(0x17a)](ae,_0x3f4666,_0x311ccb,_0x1236fb,_0x9eeed4):_0x17eff9['createInstance'](Ne,_0x3f4666,_0x311ccb,_0x9eeed4);}var as=Object[_0x49a434(0x364)],Lt=(_0x593724,_0x3daf9f,_0x197500,_0x14bb9d)=>{for(var _0x27818c=_0x14bb9d>0x1?void 0x0:_0x14bb9d?as(_0x3daf9f,_0x197500):_0x3daf9f,_0x3f2b5e=_0x593724['length']-0x1,_0xd2dc90;_0x3f2b5e>=0x0;_0x3f2b5e--)(_0xd2dc90=_0x593724[_0x3f2b5e])&&(_0x27818c=_0xd2dc90(_0x27818c)||_0x27818c);return _0x27818c;},H=(_0x5b3e36,_0x56989f)=>(_0x479cb2,_0x1638a9)=>_0x56989f(_0x479cb2,_0x1638a9,_0x5b3e36);let nt=class extends _0x23f001{constructor(_0x11ced3,_0x431aeb,_0x366e13,_0x49725b,_0x736831,_0x5beb17,_0x3dc384,_0x36cc2b,_0x3e1d04,_0xaf71f9,_0x24e6d,_0x38f787,_0x39a830){var _0x35458d=_0x49a434;super(),N(this,_0x35458d(0x235),new _0x45628f(null)),N(this,_0x35458d(0x151),this[_0x35458d(0x235)][_0x35458d(0x1ec)]()),N(this,_0x35458d(0x2dc)),N(this,_0x35458d(0x25d),!0x1),N(this,_0x35458d(0x319),''),N(this,_0x35458d(0x36e),0x0),N(this,_0x35458d(0x2d4),this[_0x35458d(0x151)][_0x35458d(0x15b)](_0x1e0af2(_0x3abc09=>_0x3abc09?_0x3abc09[_0x35458d(0x33c)]:bi[_0x35458d(0x395)]),_0x19d6dc(0x1))),N(this,_0x35458d(0x10b),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x35458d(0x25b)]=_0x11ced3,this[_0x35458d(0x168)]=_0x431aeb,this[_0x35458d(0xea)]=_0x366e13,this[_0x35458d(0x2b7)]=_0x49725b,this['_compressMutationService']=_0x736831,this[_0x35458d(0x28f)]=_0x5beb17,this[_0x35458d(0x37c)]=_0x3dc384,this[_0x35458d(0x357)]=_0x36cc2b,this['_logService']=_0x3e1d04,this['_commandService']=_0xaf71f9,this['_permissionService']=_0x24e6d,this[_0x35458d(0x26c)]=_0x38f787,this[_0x35458d(0x362)]=_0x39a830);}get[_0x49a434(0x198)](){var _0x51c99a=_0x49a434;return this[_0x51c99a(0x2dc)];}async[_0x49a434(0x1cc)](){var _0x3ee23c=_0x49a434;if(this[_0x3ee23c(0x198)])throw new Error(_0x3ee23c(0x1f3));await this['_init']();}[_0x49a434(0x15a)](){var _0x4132a2=_0x49a434;return this[_0x4132a2(0x25d)]=!0x0,_0x217cf5(()=>{var _0x1b3118=_0x4132a2;this[_0x1b3118(0x25d)]=!0x1,this[_0x1b3118(0x183)]();});}['onLocalMutation'](_0x3b173e){var _0x40ed95=_0x49a434;this[_0x40ed95(0x22f)](_0x3b173e);}[_0x49a434(0x387)](_0x2bce58){var _0x82d7d2=_0x49a434;this[_0x82d7d2(0x2dc)]=_0x2bce58,this[_0x82d7d2(0x235)][_0x82d7d2(0x2c7)](_0x2bce58);}async[_0x49a434(0x20a)](){var _0x53a687=_0x49a434,_0x4d7f66;this[_0x53a687(0x387)](await this['_createInitialState']()),this[_0x53a687(0x26c)]&&((_0x4d7f66=this[_0x53a687(0x26c)])==null||_0x4d7f66[_0x53a687(0x25a)](this[_0x53a687(0x25b)]),this[_0x53a687(0x23d)](this[_0x53a687(0x26c)][_0x53a687(0x2f0)](this[_0x53a687(0x25b)])[_0x53a687(0x122)](_0x138adb=>{var _0x4def7f=_0x53a687;this[_0x4def7f(0x309)][_0x4def7f(0x195)]('[CollaborationEntity]',_0x4def7f(0x1f9),_0x138adb),_0x138adb===Ci['OTHER_CLIENTS_EDITING']?(this[_0x4def7f(0x357)][_0x4def7f(0x2f2)]({'id':re[_0x4def7f(0x207)]}),this['_permissionService'][_0x4def7f(0x214)](new _0x392d0e(this[_0x4def7f(0x25b)])['id'],!0x1),this[_0x4def7f(0x313)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x4def7f(0x214)](new _0x392d0e(this['unitID'])['id'],!0x0),this[_0x4def7f(0x313)]['setShowComponents'](!0x0));})));let _0xbe8a46=!0x1;return this[_0x53a687(0x23d)](this[_0x53a687(0x168)][_0x53a687(0x146)][_0x53a687(0x122)](_0x323609=>{var _0x282d63=_0x53a687;_0x323609===Ee[_0x282d63(0x3aa)]?this[_0x282d63(0x2ae)](_0xbe8a46):_0x323609===Ee['OFFLINE']&&(_0xbe8a46=!0x0,this[_0x282d63(0x1ae)]());})),this[_0x53a687(0x23d)](this[_0x53a687(0x168)][_0x53a687(0x375)]['subscribe'](_0x292a3b=>{var _0x387476=_0x53a687;try{switch(_0x292a3b['eventID']){case _0x4c224c['NEW_CHANGESETS']:{this[_0x387476(0x2ba)](_0x27e673(_0x292a3b[_0x387476(0x1c4)]));break;}case _0x4c224c[_0x387476(0x267)]:{this[_0x387476(0x1f4)](_0x292a3b[_0x387476(0x1c4)]);break;}case _0x4c224c[_0x387476(0x19a)]:{this[_0x387476(0x32a)]();break;}case _0x4c224c[_0x387476(0x365)]:{this[_0x387476(0x2d7)](_0x292a3b['data']);break;}case _0x4c224c[_0x387476(0x130)]:{this[_0x387476(0x16c)](_0x292a3b[_0x387476(0x1c4)]['changesets'][_0x387476(0x2fc)](_0x1d0b6f=>_0x27e673(_0x1d0b6f)));break;}case _0x4c224c[_0x387476(0x1df)]:{this[_0x387476(0x32a)]({'isPermissionRej':!0x0});break;}case _0x4c224c[_0x387476(0x1b1)]:break;}}catch(_0x5eb5c3){throw console[_0x387476(0x245)](_0x387476(0x28b),_0x5eb5c3),_0x5eb5c3;}})),this[_0x53a687(0x2dc)];}[_0x49a434(0xb7)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x5c5210=_0x49a434;if(this[_0x5c5210(0x10b)])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[_0x5c5210(0x10b)]=!0x0;}[_0x49a434(0x22f)](_0x44d2d6){var _0x23b95a=_0x49a434;this[_0x23b95a(0xdc)](),this['_updateState'](this[_0x23b95a(0x2dc)]['appendMutation'](_0x44d2d6)),this[_0x23b95a(0xb7)]();}['_onRemoteChangeset'](_0x1fcf1b){var _0x53e061=_0x49a434;if(!(_0x1fcf1b[_0x53e061(0x308)]<=this[_0x53e061(0x37c)][_0x53e061(0x346)](this[_0x53e061(0x25b)]))){if(this[_0x53e061(0x25d)]){this[_0x53e061(0x2dd)]['push'](_0x1fcf1b);return;}this[_0x53e061(0x113)](_0x1fcf1b);}}[_0x49a434(0x183)](){var _0x369bbe=_0x49a434;this['_remoteChangesetQueue'][_0x369bbe(0x38c)](_0x57a1f2=>this[_0x369bbe(0x113)](_0x57a1f2)),this[_0x369bbe(0x2dd)]=[];}['_applyRemoteChangeset'](_0x1e1bb8){var _0x233845=_0x49a434;const _0x5dc0d8=this['_compressMutationService'][_0x233845(0x13c)][_0x233845(0x399)](this[_0x233845(0x2ad)][_0x233845(0x13c)][_0x233845(0x2be)]()[_0x233845(0x27f)])(_0x1e1bb8[_0x233845(0x157)],null)||_0x1e1bb8[_0x233845(0x157)],_0x475acd={..._0x1e1bb8,'mutations':_0x5dc0d8};this['_lockTransition'](),this[_0x233845(0x387)](this[_0x233845(0x2dc)][_0x233845(0x3ad)](_0x475acd)),this[_0x233845(0xb7)]();}[_0x49a434(0x1f4)](_0x47373c){var _0x2deb33=_0x49a434;this[_0x2deb33(0xdc)](),this[_0x2deb33(0x387)](this[_0x2deb33(0x2dc)][_0x2deb33(0x248)](_0x47373c)),this[_0x2deb33(0xb7)]();}[_0x49a434(0x32a)](_0xb77ef5){var _0x232fe9=_0x49a434;this[_0x232fe9(0xdc)](),this[_0x232fe9(0x387)](this[_0x232fe9(0x2dc)][_0x232fe9(0x37d)](_0xb77ef5)),this['_unlockTransition']();}[_0x49a434(0x2d7)](_0x42fd03){var _0x45aa02=_0x49a434;this[_0x45aa02(0xdc)](),this[_0x45aa02(0x387)](this[_0x45aa02(0x2dc)][_0x45aa02(0xed)](_0x42fd03)),this[_0x45aa02(0xb7)]();}['_onFetchMissResult'](_0x46e771){var _0x114539=_0x49a434;if(!(this[_0x114539(0x2dc)]instanceof ee))throw new TypeError(_0x114539(0x337));const _0x202859=_0x46e771[_0x114539(0x2fc)](_0x976cb6=>{var _0x47cd05=_0x114539;const _0x3eddcd=this[_0x47cd05(0x2ad)]['interceptor'][_0x47cd05(0x399)](this[_0x47cd05(0x2ad)][_0x47cd05(0x13c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x976cb6[_0x47cd05(0x157)],null)||_0x976cb6['mutations'];return{..._0x976cb6,'mutations':_0x3eddcd};});this[_0x114539(0xdc)](),this[_0x114539(0x387)](this[_0x114539(0x2dc)]['onMissedChangesetFetched'](_0x202859)),this[_0x114539(0xb7)]();}[_0x49a434(0x1ae)](){var _0x5383f8=_0x49a434;this[_0x5383f8(0xdc)](),this[_0x5383f8(0x387)](this['_state']['toggleOffline']()),this[_0x5383f8(0xb7)]();}[_0x49a434(0x2ae)](_0x5e44a6=!0x1){var _0xdef5b0=_0x49a434;this[_0xdef5b0(0xdc)](),this[_0xdef5b0(0x387)](this['_state']['toggleOnline']()),this[_0xdef5b0(0xb7)]();const _0x2dc5a7=this['_state'];_0x5e44a6&&_0x2dc5a7 instanceof Ne&&(this[_0xdef5b0(0xdc)](),this[_0xdef5b0(0x387)](_0x2dc5a7[_0xdef5b0(0x1c0)]()),this[_0xdef5b0(0xb7)]());}async[_0x49a434(0x1e4)](){return new Promise(_0x35a78e=>{var _0x2c49c5=_0xbfbb;this[_0x2c49c5(0x168)][_0x2c49c5(0x146)][_0x2c49c5(0x15b)](_0x32f0d3(0x1))['subscribe'](async _0x80fb4c=>{var _0x9b6405=_0x2c49c5;_0x35a78e(await this[_0x9b6405(0x163)](_0x80fb4c===Ee[_0x9b6405(0x3aa)]));});});}['_createHandler'](){var _0x3f5b83=_0x49a434;const _0x56f649=this[_0x3f5b83(0x25b)];return{'onStateChange':(_0x546a56,_0x3486fe)=>{var _0x52451b=_0x3f5b83;if(_0x546a56!==this[_0x52451b(0x2dc)])throw new Error(_0x52451b(0x2c4)+_0x546a56['status']+'\x0aAfter:\x20'+_0x3486fe[_0x52451b(0x33c)]+_0x52451b(0x2ca)+this[_0x52451b(0x2dc)][_0x52451b(0x33c)]);this[_0x52451b(0x387)](_0x3486fe);},'onSendChangeset':_0x3502bf=>{var _0x88f499=_0x3f5b83;_0x3502bf[_0x88f499(0x188)]||(_0x3502bf[_0x88f499(0x188)]=this[_0x88f499(0x319)],_0x3502bf[_0x88f499(0xad)]=++this[_0x88f499(0x36e)]);const _0x2410e9={'eventID':_0x4c224c[_0x88f499(0x3a4)],'data':{'unitID':_0x3502bf[_0x88f499(0x25b)],'unitType':this[_0x88f499(0xea)],'changeset':_0x3502bf,'memberID':this[_0x88f499(0x168)]['getMemberID']()}};this[_0x88f499(0x168)]['send'](_0x2410e9,this[_0x88f499(0x25b)]);},'onMissingChangesets':({from:_0x2ffeda,to:_0x49e220})=>{var _0x2ea19c=_0x3f5b83;this[_0x2ea19c(0x309)][_0x2ea19c(0x195)](_0x2ea19c(0x28e),_0x2ea19c(0x30f)+_0x2ffeda+_0x2ea19c(0x211)+_0x49e220);const _0xf10e6={'eventID':_0x4c224c[_0x2ea19c(0x297)],'data':{'unitID':_0x56f649,'unitType':this[_0x2ea19c(0xea)],'from':_0x2ffeda,'to':_0x49e220}};this[_0x2ea19c(0x168)]['send'](_0xf10e6,this['unitID']);}};}async['_createInitialStateImpl'](_0x261084){var _0x37da57=_0x49a434,_0x540929,_0x35029f,_0x175e01;const _0x46165e=await((_0x540929=this[_0x37da57(0x362)])==null?void 0x0:_0x540929[_0x37da57(0x274)](this[_0x37da57(0x25b)])),_0x526135=(_0x35029f=_0x46165e==null?void 0x0:_0x46165e[_0x37da57(0x157)])!=null?_0x35029f:[],_0xa92a44=(_0x175e01=_0x46165e==null?void 0x0:_0x46165e[_0x37da57(0x187)])!=null?_0x175e01:null,_0x50256c=!!(_0xa92a44!=null&&_0xa92a44['sid'])&&!!(_0xa92a44!=null&&_0xa92a44[_0x37da57(0xad)]);this['_changesetSessionId']=_0x50256c?_0xa92a44[_0x37da57(0x188)]:Zn(),this[_0x37da57(0x36e)]=_0x50256c?_0xa92a44[_0x37da57(0xad)]:0x0;const _0x131510=this['unitID'];try{this[_0x37da57(0x19f)](_0xa92a44,_0x526135);}catch(_0x209488){this[_0x37da57(0x309)]['error'](_0x209488);}const _0x11df66=this[_0x37da57(0xaf)]();if(_0x261084){const _0xb3b337=Oi(this[_0x37da57(0x2b7)],_0x131510,this[_0x37da57(0xea)],_0xa92a44,_0x526135,_0x11df66);return _0xb3b337 instanceof ae?_0xb3b337['_schedule']():(_0xb3b337 instanceof oe||_0xb3b337 instanceof le)&&_0xb3b337[_0x37da57(0x2ac)](),_0xb3b337;}return this[_0x37da57(0x2b7)][_0x37da57(0x17a)](de,_0x131510,this[_0x37da57(0xea)],_0xa92a44,_0x526135,_0x11df66);}[_0x49a434(0x19f)](_0x422ddf,_0x5475f5){var _0xda63e7=_0x49a434,_0x5e0460,_0xcf51af;const _0x1600f5=this['_compressMutationService']['interceptor'][_0xda63e7(0x399)](this['_compressMutationService'][_0xda63e7(0x13c)][_0xda63e7(0x2be)]()[_0xda63e7(0x27f)]);(_0x5e0460=_0x1600f5((_0x422ddf==null?void 0x0:_0x422ddf[_0xda63e7(0x157)])||[],null))==null||_0x5e0460[_0xda63e7(0x38c)](_0x1d0c67=>this[_0xda63e7(0xe6)][_0xda63e7(0x1d7)](_0x1d0c67['id'],_0x1d0c67[_0xda63e7(0x276)])),(_0xcf51af=_0x1600f5(_0x5475f5||[],null))==null||_0xcf51af[_0xda63e7(0x38c)](_0x2566bb=>this[_0xda63e7(0xe6)]['executeCommand'](_0x2566bb['id'],_0x2566bb[_0xda63e7(0x276)]));}};nt=Lt([H(0x3,_0x364c0e(_0x252ee6)),H(0x4,_0x364c0e(_0xc619d3)),H(0x5,_0x364c0e(_0xf3d969)),H(0x6,_0x364c0e(_0x11fb78)),H(0x7,_0x364c0e(pe)),H(0x8,_0x520907),H(0x9,_0x46a78a),H(0xa,_0x4fe2b7),H(0xb,_0x1cf777(ht)),H(0xc,_0x1cf777(J))],nt);let It=class extends nt{constructor(_0x3999d0,_0x281ddb,_0x8e3ece,_0x5f5062,_0x28112d,_0x5af9e9,_0x1198d0,_0x45fb6c,_0x1df106,_0x34c1d1,_0x1a064f,_0x4f927c,_0x365aff){var _0x10f3de=_0x49a434;super(_0x3999d0,_0x8e3ece,_0x281ddb,_0x5f5062,_0x28112d,_0x5af9e9,_0x1198d0,_0x45fb6c,_0x1df106,_0x34c1d1,_0x1a064f,_0x4f927c,_0x365aff),N(this,_0x10f3de(0x18d),null),(this[_0x10f3de(0x25b)]=_0x3999d0,this[_0x10f3de(0x335)]=_0x281ddb);}[_0x49a434(0x264)](_0x337ec2){var _0x3a2f39=_0x49a434;this[_0x3a2f39(0x18d)]=_0x337ec2;}['dispose'](){var _0x458875=_0x49a434;this[_0x458875(0x18d)]=null,super[_0x458875(0x37b)]();}['_createHandler'](){var _0x1b5a39=_0x49a434;const _0x271b2=super[_0x1b5a39(0xaf)]();return _0x271b2[_0x1b5a39(0xd7)]=_0x55df2b=>{var _0x3ebed4=_0x1b5a39,_0x2758bb,_0x1f1e61;return(_0x1f1e61=(_0x2758bb=this[_0x3ebed4(0x18d)])==null?void 0x0:_0x2758bb[_0x3ebed4(0xd7)])==null?void 0x0:_0x1f1e61['call'](_0x2758bb,_0x55df2b);},_0x271b2[_0x1b5a39(0x131)]=_0x332358=>{var _0xae2f19=_0x1b5a39,_0x55853d,_0x403a91;return(_0x403a91=(_0x55853d=this[_0xae2f19(0x18d)])==null?void 0x0:_0x55853d['onTransformState'])==null?void 0x0:_0x403a91[_0xae2f19(0xc5)](_0x55853d,_0x332358);},_0x271b2[_0x1b5a39(0x265)]=_0x4abf75=>{var _0x3ab90f=_0x1b5a39,_0x25517c,_0xa508ab;return(_0xa508ab=(_0x25517c=this[_0x3ab90f(0x18d)])==null?void 0x0:_0x25517c[_0x3ab90f(0x265)])==null?void 0x0:_0xa508ab[_0x3ab90f(0xc5)](_0x25517c,_0x4abf75);},_0x271b2['onSyncEditingCollabCursor']=_0x2f917d=>{var _0x12541d=_0x1b5a39,_0x287c69,_0x14aeed;return(_0x14aeed=(_0x287c69=this[_0x12541d(0x18d)])==null?void 0x0:_0x287c69[_0x12541d(0x18f)])==null?void 0x0:_0x14aeed[_0x12541d(0xc5)](_0x287c69,_0x2f917d);},_0x271b2[_0x1b5a39(0x279)]=_0xf83416=>{var _0x1ef9af=_0x1b5a39,_0x3ca105,_0x59ed5c,_0x314cec;if(!((_0x3ca105=this[_0x1ef9af(0x18d)])!=null&&_0x3ca105['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x314cec=(_0x59ed5c=this[_0x1ef9af(0x18d)])==null?void 0x0:_0x59ed5c[_0x1ef9af(0x279)])==null?void 0x0:_0x314cec[_0x1ef9af(0xc5)](_0x59ed5c,_0xf83416);},_0x271b2[_0x1b5a39(0x33d)]=_0x3de580=>{var _0x3273e4=_0x1b5a39,_0x3f26f9,_0x19b780,_0x1f158e;if(!((_0x3f26f9=this[_0x3273e4(0x18d)])!=null&&_0x3f26f9[_0x3273e4(0x33d)]))throw new Error(_0x3273e4(0xbe));return(_0x1f158e=(_0x19b780=this[_0x3273e4(0x18d)])==null?void 0x0:_0x19b780[_0x3273e4(0x33d)])==null?void 0x0:_0x1f158e['call'](_0x19b780,_0x3de580);},_0x271b2;}async[_0x49a434(0x20a)](){var _0x44f7db=_0x49a434;const _0x30a7d6=await super[_0x44f7db(0x20a)]();return this[_0x44f7db(0x23d)](this[_0x44f7db(0xe6)]['onCommandExecuted']((_0x25b9b1,_0x22263b)=>{var _0x141679=_0x44f7db;if(_0x25b9b1[_0x141679(0x335)]!==_0x53e5a2[_0x141679(0x306)]||_0x22263b!=null&&_0x22263b[_0x141679(0x2ed)]||_0x22263b!=null&&_0x22263b[_0x141679(0x249)]||_0x25b9b1['id']===_0x3dcf2d['id'])return;const _0x16b485=_0x25b9b1[_0x141679(0x276)];if((_0x16b485==null?void 0x0:_0x16b485['unitId'])!==this['unitID'])return;const _0x48f09f=_0x25b9b1,_0x9d63cc=this[_0x141679(0x2ad)]['interceptor'][_0x141679(0x399)](this[_0x141679(0x2ad)][_0x141679(0x13c)]['getInterceptPoints']()[_0x141679(0x332)])([_0x48f09f],null)||[_0x48f09f];this['_onLocalMutation'](_0x9d63cc[0x0]);})),_0x30a7d6;}};It=Lt([H(0x3,_0x364c0e(_0x252ee6)),H(0x4,_0x364c0e(_0xc619d3)),H(0x5,_0x364c0e(_0xf3d969)),H(0x6,_0x364c0e(_0x11fb78)),H(0x7,_0x364c0e(pe)),H(0x8,_0x520907),H(0x9,_0x46a78a),H(0xa,_0x4fe2b7),H(0xb,_0x1cf777(ht)),H(0xc,_0x1cf777(J))],It);let Tt=class extends nt{constructor(_0x13663f,_0x58f928,_0x1de05b,_0x25e33f,_0x260a9a,_0x1a7480,_0x3d5df6,_0x48d194,_0x3d477f,_0x5d8269,_0xca5d54,_0x40f005,_0xd0abc4,_0xad517c){var _0x44756d=_0x49a434;super(_0x13663f,_0x1de05b,_0x58f928,_0x25e33f,_0x260a9a,_0x1a7480,_0x3d5df6,_0x3d477f,_0x5d8269,_0xca5d54,_0x40f005,_0xd0abc4,_0xad517c),this['unitID']=_0x13663f,this['type']=_0x58f928,this[_0x44756d(0x367)]=_0x48d194;}[_0x49a434(0xaf)](){var _0x3194ad=_0x49a434;const _0x26bc7f=super[_0x3194ad(0xaf)]();return _0x26bc7f['onTransformSelections']=_0x53bdef=>this[_0x3194ad(0x367)]['transformSelections'](_0x53bdef),_0x26bc7f;}async[_0x49a434(0x20a)](){var _0x51dc72=_0x49a434;const _0x111ce7=await super[_0x51dc72(0x20a)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x526e4b,_0x365e30)=>{var _0x4f477d=_0x51dc72;if(_0x526e4b[_0x4f477d(0x335)]!==_0x53e5a2[_0x4f477d(0x306)]||_0x365e30!=null&&_0x365e30[_0x4f477d(0x2ed)]||_0x365e30!=null&&_0x365e30[_0x4f477d(0x249)])return;const _0x2a1d1a=_0x526e4b[_0x4f477d(0x276)];if((_0x2a1d1a==null?void 0x0:_0x2a1d1a['unitId'])!==this[_0x4f477d(0x25b)])return;const _0x221337=_0x526e4b,_0x570a01=this[_0x4f477d(0x2ad)]['interceptor'][_0x4f477d(0x399)](this[_0x4f477d(0x2ad)][_0x4f477d(0x13c)][_0x4f477d(0x2be)]()[_0x4f477d(0x332)])([_0x221337],null)||[_0x221337];this['_onLocalMutation'](_0x570a01[0x0]);})),_0x111ce7;}};Tt=Lt([H(0x3,_0x364c0e(_0x252ee6)),H(0x4,_0x364c0e(_0xc619d3)),H(0x5,_0x364c0e(_0xf3d969)),H(0x6,_0x364c0e(_0x11fb78)),H(0x7,_0x364c0e(it)),H(0x8,_0x364c0e(pe)),H(0x9,_0x520907),H(0xa,_0x46a78a),H(0xb,_0x4fe2b7),H(0xc,_0x1cf777(ht)),H(0xd,_0x1cf777(J))],Tt);var os=Object[_0x49a434(0x364)],cs=(_0x26298e,_0x5c4af8,_0x177d54,_0x38d781)=>{var _0x186895=_0x49a434;for(var _0x5c1dbd=_0x38d781>0x1?void 0x0:_0x38d781?os(_0x5c4af8,_0x177d54):_0x5c4af8,_0xb0092e=_0x26298e[_0x186895(0x1f6)]-0x1,_0x59f48b;_0xb0092e>=0x0;_0xb0092e--)(_0x59f48b=_0x26298e[_0xb0092e])&&(_0x5c1dbd=_0x59f48b(_0x5c1dbd)||_0x5c1dbd);return _0x5c1dbd;},ft=(_0x5577c8,_0x245e41)=>(_0x3f5ddf,_0x209f3f)=>_0x245e41(_0x3f5ddf,_0x209f3f,_0x5577c8);let st=class extends _0x23f001{constructor(_0x1ddeaa,_0x19eb9f,_0x30f4b8){var _0x3ed536=_0x49a434;super(),N(this,_0x3ed536(0x291),new Map()),N(this,_0x3ed536(0x2f6),new _0x5a5c70()),N(this,'entityInit$',this['_entityInit$'][_0x3ed536(0x1ec)]()),(this[_0x3ed536(0x2b7)]=_0x1ddeaa,this[_0x3ed536(0x2e3)]=_0x19eb9f,this['_univerInstanceService']=_0x30f4b8,this[_0x3ed536(0x20a)]());}[_0x49a434(0x37b)](){var _0x3f15e0=_0x49a434;super[_0x3f15e0(0x37b)](),this['_entities'][_0x3f15e0(0x38c)](_0x3f5927=>_0x3f5927['dispose']()),this[_0x3f15e0(0x291)][_0x3f15e0(0x18e)]();}[_0x49a434(0x1e0)](_0x154467){var _0x2dcfa3=_0x49a434,_0x117c59;return(_0x117c59=this['_entities'][_0x2dcfa3(0x30e)](_0x154467))!=null?_0x117c59:null;}[_0x49a434(0x1e1)](_0x283640){var _0x21d9b2=_0x49a434;const _0xa77884=this[_0x21d9b2(0x1e0)](_0x283640);return _0xa77884?_0x5eec6a(_0xa77884):this[_0x21d9b2(0x2f6)]['pipe'](_0x6e79d5(_0x25d1f4=>_0x25d1f4[_0x21d9b2(0x25b)]===_0x283640));}[_0x49a434(0x1e7)](_0x144e3a){var _0x540ed5=_0x49a434;return _0xba970a(this['getCollabEntity$'](_0x144e3a)[_0x540ed5(0x15b)](_0x394bed(()=>{})));}['_init'](){var _0x359e35=_0x49a434;this[_0x359e35(0x2cf)][_0x359e35(0x1d5)](_0x16d893[_0x359e35(0x24a)])[_0x359e35(0x15b)](_0x359337(this[_0x359e35(0x331)]),_0x11af82(0x10))[_0x359e35(0x122)](async _0x6822ed=>{var _0x4ac010=_0x359e35;const _0x25f0f8=_0x6822ed[_0x4ac010(0x217)](),_0x331f41=await this['_startCollaboration'](_0x25f0f8,Q[_0x4ac010(0x24a)]);this[_0x4ac010(0x291)][_0x4ac010(0xfd)](_0x25f0f8,_0x331f41);}),this[_0x359e35(0x2cf)][_0x359e35(0x1d5)](_0x16d893['UNIVER_DOC'])['pipe'](_0x359337(this[_0x359e35(0x331)]),_0x11af82(0x10))[_0x359e35(0x15b)](_0x6e79d5(_0x578346=>!_0x578346['getUnitId']()[_0x359e35(0x378)]('__')))[_0x359e35(0x122)](async _0x55d7b7=>{var _0xaa845b=_0x359e35;const _0x1c72db=_0x55d7b7[_0xaa845b(0x217)](),_0x1b8274=await this[_0xaa845b(0x1bb)](_0x1c72db,Q['UNIVER_DOC']);this[_0xaa845b(0x291)][_0xaa845b(0xfd)](_0x1c72db,_0x1b8274);}),_0x21cc32(this[_0x359e35(0x2cf)][_0x359e35(0x2a0)](_0x16d893[_0x359e35(0x24a)]),this[_0x359e35(0x2cf)][_0x359e35(0x2a0)](_0x16d893[_0x359e35(0xf3)]))[_0x359e35(0x15b)](_0x359337(this['dispose$']))[_0x359e35(0x122)](_0xfcd490=>{var _0x1703ce=_0x359e35;const _0x181bfb=_0xfcd490[_0x1703ce(0x217)](),_0x5a1a22=this[_0x1703ce(0x291)][_0x1703ce(0x30e)](_0x181bfb);_0x5a1a22&&(_0x5a1a22['dispose'](),this[_0x1703ce(0x291)][_0x1703ce(0x12f)](_0x181bfb));});}async[_0x49a434(0x1bb)](_0x18aadb,_0x43535b){var _0x5f2ee8=_0x49a434;const _0x3d8840=await this[_0x5f2ee8(0x2e3)][_0x5f2ee8(0xd5)](_0x18aadb),_0x48471e=this[_0x5f2ee8(0x2b7)][_0x5f2ee8(0x17a)](this['_getCtorByUniverType'](_0x43535b),_0x18aadb,_0x43535b,_0x3d8840);return await _0x48471e[_0x5f2ee8(0x1cc)](),this[_0x5f2ee8(0x2f6)][_0x5f2ee8(0x2c7)](_0x48471e),_0x48471e;}[_0x49a434(0x1d8)](_0x315b8c){var _0x392356=_0x49a434;switch(_0x315b8c){case Q['UNIVER_DOC']:return It;case Q[_0x392356(0x24a)]:return Tt;default:throw new Error(_0x392356(0x2ab)+_0x315b8c);}}};st=cs([ft(0x0,_0x364c0e(_0x252ee6)),ft(0x1,_0x364c0e(xe)),ft(0x2,_0x397484)],st);var hs=Object[_0x49a434(0x364)],_s=(_0x3bb357,_0xca718b,_0x1c6cb9,_0x48d662)=>{var _0xcc31f1=_0x49a434;for(var _0x4db518=_0x48d662>0x1?void 0x0:_0x48d662?hs(_0xca718b,_0x1c6cb9):_0xca718b,_0x246336=_0x3bb357[_0xcc31f1(0x1f6)]-0x1,_0x1c8a6a;_0x246336>=0x0;_0x246336--)(_0x1c8a6a=_0x3bb357[_0x246336])&&(_0x4db518=_0x1c8a6a(_0x4db518)||_0x4db518);return _0x4db518;},zt=(_0x470e06,_0x3bfb41)=>(_0x40a2cf,_0x3d2fe1)=>_0x3bfb41(_0x40a2cf,_0x3d2fe1,_0x470e06);const ls=_0x49a434(0xf2),us=_0x49a434(0x381);let Ct=class extends _0x125189{constructor(_0x1fa66b,_0xaa4a9b){var _0x10f37b=_0x49a434;super(),this[_0x10f37b(0x2cf)]=_0x1fa66b,this[_0x10f37b(0x1ba)]=_0xaa4a9b,this[_0x10f37b(0x20a)]();}[_0x49a434(0x20a)](){var _0x1fe654=_0x49a434;this[_0x1fe654(0x23d)](this['_univerInstanceService']['focused$'][_0x1fe654(0x122)](()=>{var _0x17bfe6=_0x1fe654,_0x48f6c7;const _0x343f91=this[_0x17bfe6(0x2cf)]['getFocusedUnit']();let _0x1341e3=(_0x48f6c7=this['_configService'][_0x17bfe6(0x2f1)](ls))!=null?_0x48f6c7:us;_0x343f91 instanceof _0x1fb216&&(_0x1341e3=_0x343f91[_0x17bfe6(0x1cf)]),document['title']=_0x1341e3;}));}};Ct=_s([zt(0x0,_0x397484),zt(0x1,_0x279bb6)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x4aab22,_0x4ea24b,_0x272b7,_0x1aca82)=>{for(var _0x57238b=_0x1aca82>0x1?void 0x0:_0x1aca82?ds(_0x4ea24b,_0x272b7):_0x4ea24b,_0x138306=_0x4aab22['length']-0x1,_0xb4b99f;_0x138306>=0x0;_0x138306--)(_0xb4b99f=_0x4aab22[_0x138306])&&(_0x57238b=_0xb4b99f(_0x57238b)||_0x57238b);return _0x57238b;},vt=(_0xda8dc2,_0x4d728d)=>(_0x90237f,_0xd03bdf)=>_0x4d728d(_0x90237f,_0xd03bdf,_0xda8dc2);let rt=class{constructor(_0x2bb2a7,_0x35aa55,_0x1f5acf){var _0x189365=_0x49a434;this['_configService']=_0x2bb2a7,this[_0x189365(0x31c)]=_0x35aa55,this[_0x189365(0x167)]=_0x1f5acf,this[_0x189365(0x1cc)]();}[_0x49a434(0x1cc)](){var _0x4f9738=_0x49a434;this[_0x4f9738(0x31c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3ca0c6,_0x1e65e4)=>_0x1e65e4(_0x3ca0c6)[_0x4f9738(0x15b)](_0x4f302b(async _0x1d78eb=>{var _0x193692=_0x4f9738;const _0x429ec4=_0x1d78eb;if(_0x429ec4['status']===0x191){if(typeof window>'u')throw new Error(_0x193692(0x342));if(window[_0x193692(0xa6)](this[_0x193692(0x167)]['t'](_0x193692(0x147)))){const _0x4f700a=window[_0x193692(0x1dd)](window['location']['href']);window[_0x193692(0x2e9)][_0x193692(0x358)]=this[_0x193692(0x21b)]()+_0x193692(0xfb)+_0x4f700a;}}return _0x429ec4;}))});}[_0x49a434(0x21b)](){var _0x54c2e1=_0x49a434,_0x53a299,_0x397878;const _0x31c1dd=this['_configService'][_0x54c2e1(0x2f1)](Un),_0x6262e0=this[_0x54c2e1(0x1ba)][_0x54c2e1(0x2f1)](q);return(_0x397878=(_0x53a299=_0x6262e0==null?void 0x0:_0x6262e0[_0x54c2e1(0x275)])!=null?_0x53a299:_0x31c1dd)!=null?_0x397878:An;}};rt=fs([vt(0x0,_0x279bb6),vt(0x1,_0x364c0e(_0x260ed8)),vt(0x2,_0x364c0e(_0xf3d969))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x50fc02,_0x162239,_0x355dfc,_0x521d11)=>{var _0x5eb539=_0x49a434;for(var _0x1e1aba=_0x521d11>0x1?void 0x0:_0x521d11?vs(_0x162239,_0x355dfc):_0x162239,_0x5aa6d3=_0x50fc02[_0x5eb539(0x1f6)]-0x1,_0xd504da;_0x5aa6d3>=0x0;_0x5aa6d3--)(_0xd504da=_0x50fc02[_0x5aa6d3])&&(_0x1e1aba=_0xd504da(_0x1e1aba)||_0x1e1aba);return _0x1e1aba;},Jt=(_0x452e17,_0x52432d)=>(_0x132799,_0x2770b5)=>_0x52432d(_0x132799,_0x2770b5,_0x452e17);const Ni=_0x49a434(0x1cb),ms=_0x49a434(0xd2);let Rt=class extends _0x125189{constructor(_0x4c37f1,_0x5a7719){var _0x581fcd=_0x49a434;super(),this['_HTTPService']=_0x4c37f1,this[_0x581fcd(0x1ba)]=_0x5a7719,this[_0x581fcd(0xae)]();}[_0x49a434(0xae)](){var _0x1ac634=_0x49a434;const _0x1624ea=this;this[_0x1ac634(0x23d)](this[_0x1ac634(0x392)][_0x1ac634(0x328)]({'priority':0x3e7,'interceptor':_0x3a6775({'isMatch'(_0x19871f){var _0xf70231=_0x1ac634,_0x1ed1ff;if(_0x19871f['method']===_0xf70231(0x3a9)&&((_0x1ed1ff=_0x19871f[_0xf70231(0x123)])!=null&&_0x1ed1ff['body'])){const {objectID:_0x4a6eab,objectType:_0x4bebff}=_0x19871f[_0xf70231(0x123)]['body']||{};if(!_0x4a6eab||_0x4bebff===void 0x0)return!0x1;const _0x54e32b=_0x1624ea[_0xf70231(0x218)]()+'/'+_0x4bebff+'/object/'+_0x4a6eab+'/allowed';if(_0x19871f[_0xf70231(0x124)]===_0x54e32b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x392459){var _0x14472d=_0x1ac634,_0x4327f9;return(_0x4327f9=_0x392459['requestParams'])==null?void 0x0:_0x4327f9[_0x14472d(0x356)];},'mergeParamsToRequest'(_0x4711e1,_0x4d3af1){var _0x2d182b=_0x1ac634;const _0x493a58=_0x1624ea[_0x2d182b(0x218)]()+'/-/object/-/batch_allowed',_0xee0e2e=_0x4711e1[_0x2d182b(0x17f)]((_0x4d7f44,_0x2b50c2)=>{var _0x603eb4=_0x2d182b;const {unitID:_0x4f5a29,objectID:_0x4a4cfe,objectType:_0xaccdc2,actions:_0x3735fd}=_0x2b50c2;return _0x4d7f44[_0x4f5a29]||(_0x4d7f44[_0x4f5a29]={}),_0x4d7f44[_0x4f5a29][_0x4a4cfe]||(_0x4d7f44[_0x4f5a29][_0x4a4cfe]={'objectID':_0x4a4cfe,'objectType':_0xaccdc2,'actions':[]}),_0x4d7f44[_0x4f5a29][_0x4a4cfe][_0x603eb4(0x1fe)]['push'](..._0x3735fd),_0x4d7f44;},{}),_0x29e5a0=[];for(const _0x2ed0fc in _0xee0e2e)for(const _0x41f320 in _0xee0e2e[_0x2ed0fc]){const {actions:_0x275352,objectType:_0x451338}=_0xee0e2e[_0x2ed0fc][_0x41f320],_0x89bdb2=[...new Set(_0x275352)];_0x29e5a0['push']({'unitID':_0x2ed0fc,'objectID':_0x41f320,'objectType':_0x451338,'actions':_0x89bdb2});}return new _0x2ca2ee(_0x2d182b(0x3a9),_0x493a58,{'headers':_0x4d3af1[_0x2d182b(0x12d)],'withCredentials':_0x4d3af1[_0x2d182b(0x325)],'responseType':_0x4d3af1[_0x2d182b(0x350)],'body':{'requests':_0x29e5a0}});}},{'distributeResult'(_0x137380,_0x4de5e9){var _0x324865=_0x1ac634;const {objectActions:_0x3b51cf}=_0x137380;return _0x4de5e9[_0x324865(0x2fc)](_0x4c7c6b=>{var _0x2b1a68=_0x324865;const {unitID:_0x120903,objectID:_0x3d646f,actions:_0xdec0d7}=_0x4c7c6b,_0x3799b0=_0x3b51cf[_0x2b1a68(0x28a)](_0x25b689=>_0x25b689[_0x2b1a68(0x25b)]===_0x120903&&_0x25b689['objectID']===_0x3d646f),_0x2301f3=_0xdec0d7['map'](_0x37882d=>_0x3799b0==null?void 0x0:_0x3799b0[_0x2b1a68(0x1fe)][_0x2b1a68(0x28a)](_0x11ff5a=>_0x11ff5a[_0x2b1a68(0x199)]===_0x37882d))[_0x2b1a68(0x240)](_0x47fbfe=>!!_0x47fbfe);return{'config':_0x4c7c6b,'result':{'actions':_0x2301f3,'error':_0x137380[_0x2b1a68(0x245)]}};});}})}));}[_0x49a434(0x218)](){var _0x4f7f3c=_0x49a434,_0x5beaa5,_0x28c697;const _0x3f910f=this[_0x4f7f3c(0x1ba)][_0x4f7f3c(0x2f1)](Ni),_0x2cf707=this['_configService'][_0x4f7f3c(0x2f1)](q);return(_0x28c697=(_0x5beaa5=_0x2cf707==null?void 0x0:_0x2cf707[_0x4f7f3c(0xb5)])!=null?_0x5beaa5:_0x3f910f)!=null?_0x28c697:ms;}async[_0x49a434(0x255)](_0x5b2204){var _0x3b386e=_0x49a434;const _0x26b838=this[_0x3b386e(0x218)]()+'/'+_0x5b2204['objectType']+_0x3b386e(0x20e);return(await this[_0x3b386e(0x392)][_0x3b386e(0x351)](_0x26b838,{'body':_0x5b2204}))[_0x3b386e(0x356)][_0x3b386e(0x388)]||'';}async[_0x49a434(0x354)](_0x4d4de8){var _0x2334ba=_0x49a434;const _0x3d05b1=this[_0x2334ba(0x218)]()+'/-/object/list';return(await this[_0x2334ba(0x392)][_0x2334ba(0x351)](_0x3d05b1,{'body':_0x4d4de8}))[_0x2334ba(0x356)]['objects'];}async[_0x49a434(0x36c)](_0x39f0ce){var _0x281649=_0x49a434,_0x1bdf0b,_0x18c996;const _0x464eb1=this[_0x281649(0x218)]()+'/'+_0x39f0ce['objectType']+_0x281649(0xda)+_0x39f0ce[_0x281649(0x388)],_0x1735b9=await this['_HTTPService'][_0x281649(0x142)](_0x464eb1,{'body':_0x39f0ce});if(((_0x18c996=(_0x1bdf0b=_0x1735b9==null?void 0x0:_0x1735b9[_0x281649(0x356)])==null?void 0x0:_0x1bdf0b['error'])==null?void 0x0:_0x18c996['code'])!==0x1)throw new Error(_0x281649(0x398));}async[_0x49a434(0x24b)](_0x803f36){var _0x3e1dd5=_0x49a434;const _0x25de4d=this[_0x3e1dd5(0x218)]()+'/'+_0x803f36[_0x3e1dd5(0x2b1)]+_0x3e1dd5(0xda)+_0x803f36[_0x3e1dd5(0x388)]+'/allowed';return(await this[_0x3e1dd5(0x392)]['post'](_0x25de4d,{'body':_0x803f36}))[_0x3e1dd5(0x356)][_0x3e1dd5(0x1fe)];}async['batchAllowed'](_0x76fefb){var _0x4fcac5=_0x49a434;const _0xaab7b=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4fcac5(0x392)][_0x4fcac5(0x351)](_0xaab7b,{'body':{'requests':_0x76fefb}}))[_0x4fcac5(0x356)][_0x4fcac5(0xa4)];}async[_0x49a434(0x256)](_0x16443f){var _0x3d70ed=_0x49a434;const _0x46d691=this[_0x3d70ed(0x218)]()+'/'+_0x16443f[_0x3d70ed(0x2b1)]+_0x3d70ed(0x355),_0x2dd409=await this[_0x3d70ed(0x392)]['post'](_0x46d691,{'body':_0x16443f});return{'roles':_0x2dd409['body'][_0x3d70ed(0x1f7)],'actions':_0x2dd409[_0x3d70ed(0x356)][_0x3d70ed(0x1fe)]};}async[_0x49a434(0x224)](_0x109a10){var _0x5e41a1=_0x49a434;const _0x331ccd=this[_0x5e41a1(0x218)]()+'/collaborator';await this[_0x5e41a1(0x392)][_0x5e41a1(0x12f)](_0x331ccd,{'params':{'collaboratorID':_0x109a10[_0x5e41a1(0x390)],'objectID':_0x109a10['objectID'],'unitID':_0x109a10[_0x5e41a1(0x25b)]}});}async['updateCollaborator'](_0x4f5104){var _0xea6b57=_0x49a434;const _0x25dc09=this[_0xea6b57(0x218)]()+_0xea6b57(0x10e);await this[_0xea6b57(0x392)][_0xea6b57(0x2e7)](_0x25dc09,{'body':_0x4f5104});}async[_0x49a434(0x396)](_0x27a6c3){var _0x15c47d=_0x49a434;const _0x31e8e1=this[_0x15c47d(0x218)]()+_0x15c47d(0x10e);await this['_HTTPService']['post'](_0x31e8e1,{'body':_0x27a6c3});}async[_0x49a434(0x22c)](_0x50baa2){var _0x35e4a3=_0x49a434;const _0x157f5b=this['_getAPIPrefixPath']()+_0x35e4a3(0x10e);return(await this[_0x35e4a3(0x392)][_0x35e4a3(0x30e)](_0x157f5b,{'params':{'objectID':_0x50baa2[_0x35e4a3(0x388)],'unitID':_0x50baa2['unitID']}}))[_0x35e4a3(0x356)][_0x35e4a3(0x1f0)];}async[_0x49a434(0x366)](_0x24bc6f){var _0x26f4d0=_0x49a434;const _0xfe98ee=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x26f4d0(0x392)]['put'](_0xfe98ee,{'body':_0x24bc6f});}};Rt=ps([Jt(0x0,_0x364c0e(_0x260ed8)),Jt(0x1,_0x364c0e(_0x279bb6))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x267444){var _0x4468f9=_0x49a434;return _0x267444&&_0x267444[_0x4468f9(0x213)]&&Object[_0x4468f9(0x2cb)][_0x4468f9(0x27d)]['call'](_0x267444,'default')?_0x267444[_0x4468f9(0x272)]:_0x267444;}var Ve={'exports':{}};function gs(_0x2069ad){var _0x30b4f2=_0x49a434;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2069ad+_0x30b4f2(0x2ec));}var Ge={'exports':{}},Ss=Ge[_0x49a434(0x286)],Xt;function ie(){var _0x5851b2=_0x49a434;return Xt||(Xt=0x1,function(_0x4a6ae9,_0x1485ba){(function(_0x47dc3e,_0x22379a){var _0x30ced0=_0xbfbb;_0x4a6ae9[_0x30ced0(0x286)]=_0x22379a();}(Ss,function(){var _0x1e8b03=_0x1e8b03||function(_0x18e906,_0x47484a){var _0x3d77d2=_0xbfbb,_0xe1e378;if(typeof window<'u'&&window[_0x3d77d2(0xf5)]&&(_0xe1e378=window[_0x3d77d2(0xf5)]),typeof self<'u'&&self[_0x3d77d2(0xf5)]&&(_0xe1e378=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3d77d2(0xf5)]&&(_0xe1e378=globalThis[_0x3d77d2(0xf5)]),!_0xe1e378&&typeof window<'u'&&window[_0x3d77d2(0x270)]&&(_0xe1e378=window[_0x3d77d2(0x270)]),!_0xe1e378&&typeof pt<'u'&&pt['crypto']&&(_0xe1e378=pt[_0x3d77d2(0xf5)]),!_0xe1e378&&typeof gs==_0x3d77d2(0x23c))try{_0xe1e378=require('crypto');}catch{}var _0x1c355c=function(){var _0x3e53a0=_0x3d77d2;if(_0xe1e378){if(typeof _0xe1e378['getRandomValues']==_0x3e53a0(0x23c))try{return _0xe1e378[_0x3e53a0(0xc7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe1e378[_0x3e53a0(0xe2)]==_0x3e53a0(0x23c))try{return _0xe1e378[_0x3e53a0(0xe2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3e53a0(0x1c2));},_0x38cf51=Object[_0x3d77d2(0x255)]||(function(){function _0x47f7fd(){}return function(_0x50cfc3){var _0x303880=_0xbfbb,_0x2259b0;return _0x47f7fd[_0x303880(0x2cb)]=_0x50cfc3,_0x2259b0=new _0x47f7fd(),_0x47f7fd['prototype']=null,_0x2259b0;};}()),_0x2f2673={},_0x27b9cd=_0x2f2673['lib']={},_0x551e1e=_0x27b9cd[_0x3d77d2(0x13f)]=(function(){return{'extend':function(_0x38d247){var _0x507f26=_0xbfbb,_0x5a4311=_0x38cf51(this);return _0x38d247&&_0x5a4311[_0x507f26(0x305)](_0x38d247),(!_0x5a4311[_0x507f26(0x27d)](_0x507f26(0x1cc))||this[_0x507f26(0x1cc)]===_0x5a4311[_0x507f26(0x1cc)])&&(_0x5a4311[_0x507f26(0x1cc)]=function(){var _0x55494a=_0x507f26;_0x5a4311['$super'][_0x55494a(0x1cc)][_0x55494a(0x28c)](this,arguments);}),_0x5a4311[_0x507f26(0x1cc)][_0x507f26(0x2cb)]=_0x5a4311,_0x5a4311[_0x507f26(0x159)]=this,_0x5a4311;},'create':function(){var _0xbc230f=_0xbfbb,_0x99b40f=this[_0xbc230f(0x397)]();return _0x99b40f[_0xbc230f(0x1cc)][_0xbc230f(0x28c)](_0x99b40f,arguments),_0x99b40f;},'init':function(){},'mixIn':function(_0x21ee41){var _0x47ac99=_0xbfbb;for(var _0x1dd1f2 in _0x21ee41)_0x21ee41[_0x47ac99(0x27d)](_0x1dd1f2)&&(this[_0x1dd1f2]=_0x21ee41[_0x1dd1f2]);_0x21ee41[_0x47ac99(0x27d)](_0x47ac99(0x14e))&&(this[_0x47ac99(0x14e)]=_0x21ee41[_0x47ac99(0x14e)]);},'clone':function(){var _0x3ecb90=_0xbfbb;return this[_0x3ecb90(0x1cc)][_0x3ecb90(0x2cb)]['extend'](this);}};}()),_0x4191c9=_0x27b9cd[_0x3d77d2(0x3a8)]=_0x551e1e['extend']({'init':function(_0x33dce9,_0x199113){var _0xe1fc1a=_0x3d77d2;_0x33dce9=this[_0xe1fc1a(0x293)]=_0x33dce9||[],_0x199113!=_0x47484a?this[_0xe1fc1a(0x2aa)]=_0x199113:this[_0xe1fc1a(0x2aa)]=_0x33dce9[_0xe1fc1a(0x1f6)]*0x4;},'toString':function(_0x3ff6e8){var _0x437e30=_0x3d77d2;return(_0x3ff6e8||_0x23718e)[_0x437e30(0x243)](this);},'concat':function(_0x2f42f5){var _0x1355c7=_0x3d77d2,_0x1f98bd=this[_0x1355c7(0x293)],_0xdb82cd=_0x2f42f5[_0x1355c7(0x293)],_0x3c30a0=this[_0x1355c7(0x2aa)],_0x518b0f=_0x2f42f5[_0x1355c7(0x2aa)];if(this[_0x1355c7(0x106)](),_0x3c30a0%0x4)for(var _0xe84459=0x0;_0xe84459<_0x518b0f;_0xe84459++){var _0x36e8a4=_0xdb82cd[_0xe84459>>>0x2]>>>0x18-_0xe84459%0x4*0x8&0xff;_0x1f98bd[_0x3c30a0+_0xe84459>>>0x2]|=_0x36e8a4<<0x18-(_0x3c30a0+_0xe84459)%0x4*0x8;}else{for(var _0x29321b=0x0;_0x29321b<_0x518b0f;_0x29321b+=0x4)_0x1f98bd[_0x3c30a0+_0x29321b>>>0x2]=_0xdb82cd[_0x29321b>>>0x2];}return this[_0x1355c7(0x2aa)]+=_0x518b0f,this;},'clamp':function(){var _0x1823df=_0x3d77d2,_0x23fa2d=this[_0x1823df(0x293)],_0x26e0d2=this[_0x1823df(0x2aa)];_0x23fa2d[_0x26e0d2>>>0x2]&=0xffffffff<<0x20-_0x26e0d2%0x4*0x8,_0x23fa2d[_0x1823df(0x1f6)]=_0x18e906['ceil'](_0x26e0d2/0x4);},'clone':function(){var _0x171d9d=_0x3d77d2,_0xc384bb=_0x551e1e['clone'][_0x171d9d(0xc5)](this);return _0xc384bb[_0x171d9d(0x293)]=this['words'][_0x171d9d(0x261)](0x0),_0xc384bb;},'random':function(_0x5c03fc){var _0x348589=_0x3d77d2;for(var _0x2a8260=[],_0x2f88f3=0x0;_0x2f88f3<_0x5c03fc;_0x2f88f3+=0x4)_0x2a8260[_0x348589(0xfe)](_0x1c355c());return new _0x4191c9[(_0x348589(0x1cc))](_0x2a8260,_0x5c03fc);}}),_0x3e7203=_0x2f2673['enc']={},_0x23718e=_0x3e7203[_0x3d77d2(0x371)]={'stringify':function(_0x539715){var _0x41d1ee=_0x3d77d2;for(var _0x566aa0=_0x539715[_0x41d1ee(0x293)],_0x574ceb=_0x539715[_0x41d1ee(0x2aa)],_0x577ce9=[],_0x5d50f8=0x0;_0x5d50f8<_0x574ceb;_0x5d50f8++){var _0x1874bc=_0x566aa0[_0x5d50f8>>>0x2]>>>0x18-_0x5d50f8%0x4*0x8&0xff;_0x577ce9[_0x41d1ee(0xfe)]((_0x1874bc>>>0x4)[_0x41d1ee(0x14e)](0x10)),_0x577ce9[_0x41d1ee(0xfe)]((_0x1874bc&0xf)[_0x41d1ee(0x14e)](0x10));}return _0x577ce9[_0x41d1ee(0x343)]('');},'parse':function(_0x498314){var _0x3a0f0e=_0x3d77d2;for(var _0x58013c=_0x498314['length'],_0x128ec2=[],_0x5b1c62=0x0;_0x5b1c62<_0x58013c;_0x5b1c62+=0x2)_0x128ec2[_0x5b1c62>>>0x3]|=parseInt(_0x498314[_0x3a0f0e(0x1fd)](_0x5b1c62,0x2),0x10)<<0x18-_0x5b1c62%0x8*0x4;return new _0x4191c9[(_0x3a0f0e(0x1cc))](_0x128ec2,_0x58013c/0x2);}},_0xb9ed56=_0x3e7203[_0x3d77d2(0xe1)]={'stringify':function(_0x3a39d7){var _0x5715b5=_0x3d77d2;for(var _0x39b1e9=_0x3a39d7['words'],_0x1aaa4f=_0x3a39d7['sigBytes'],_0x2c9513=[],_0x37c295=0x0;_0x37c295<_0x1aaa4f;_0x37c295++){var _0x2a5c83=_0x39b1e9[_0x37c295>>>0x2]>>>0x18-_0x37c295%0x4*0x8&0xff;_0x2c9513['push'](String[_0x5715b5(0xd9)](_0x2a5c83));}return _0x2c9513[_0x5715b5(0x343)]('');},'parse':function(_0x3b153f){var _0x1446b1=_0x3d77d2;for(var _0x232850=_0x3b153f[_0x1446b1(0x1f6)],_0x20eb65=[],_0xd1ce86=0x0;_0xd1ce86<_0x232850;_0xd1ce86++)_0x20eb65[_0xd1ce86>>>0x2]|=(_0x3b153f['charCodeAt'](_0xd1ce86)&0xff)<<0x18-_0xd1ce86%0x4*0x8;return new _0x4191c9['init'](_0x20eb65,_0x232850);}},_0x352813=_0x3e7203[_0x3d77d2(0x3ac)]={'stringify':function(_0x5a4bb4){var _0x1218c4=_0x3d77d2;try{return decodeURIComponent(escape(_0xb9ed56[_0x1218c4(0x243)](_0x5a4bb4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3266a1){var _0x227c3f=_0x3d77d2;return _0xb9ed56[_0x227c3f(0x2fb)](unescape(encodeURIComponent(_0x3266a1)));}},_0x265d74=_0x27b9cd[_0x3d77d2(0xd3)]=_0x551e1e[_0x3d77d2(0x397)]({'reset':function(){var _0x2df7ed=_0x3d77d2;this[_0x2df7ed(0x1f1)]=new _0x4191c9[(_0x2df7ed(0x1cc))](),this[_0x2df7ed(0x39a)]=0x0;},'_append':function(_0x8ea162){var _0x222f69=_0x3d77d2;typeof _0x8ea162==_0x222f69(0x36d)&&(_0x8ea162=_0x352813[_0x222f69(0x2fb)](_0x8ea162)),this[_0x222f69(0x1f1)][_0x222f69(0x22d)](_0x8ea162),this['_nDataBytes']+=_0x8ea162[_0x222f69(0x2aa)];},'_process':function(_0x5d9246){var _0xc927fa=_0x3d77d2,_0x308836,_0x1882eb=this[_0xc927fa(0x1f1)],_0x19cacd=_0x1882eb[_0xc927fa(0x293)],_0xb01659=_0x1882eb[_0xc927fa(0x2aa)],_0x3d21d8=this[_0xc927fa(0x1be)],_0x3951c7=_0x3d21d8*0x4,_0x1fcf9e=_0xb01659/_0x3951c7;_0x5d9246?_0x1fcf9e=_0x18e906[_0xc927fa(0x2b4)](_0x1fcf9e):_0x1fcf9e=_0x18e906[_0xc927fa(0x150)]((_0x1fcf9e|0x0)-this[_0xc927fa(0x3a3)],0x0);var _0x13d1e2=_0x1fcf9e*_0x3d21d8,_0x4649d0=_0x18e906[_0xc927fa(0x257)](_0x13d1e2*0x4,_0xb01659);if(_0x13d1e2){for(var _0x5f09fe=0x0;_0x5f09fe<_0x13d1e2;_0x5f09fe+=_0x3d21d8)this[_0xc927fa(0x1b4)](_0x19cacd,_0x5f09fe);_0x308836=_0x19cacd['splice'](0x0,_0x13d1e2),_0x1882eb[_0xc927fa(0x2aa)]-=_0x4649d0;}return new _0x4191c9['init'](_0x308836,_0x4649d0);},'clone':function(){var _0x2e775=_0x3d77d2,_0x5a1ada=_0x551e1e[_0x2e775(0xcf)][_0x2e775(0xc5)](this);return _0x5a1ada[_0x2e775(0x1f1)]=this[_0x2e775(0x1f1)][_0x2e775(0xcf)](),_0x5a1ada;},'_minBufferSize':0x0});_0x27b9cd[_0x3d77d2(0xe0)]=_0x265d74[_0x3d77d2(0x397)]({'cfg':_0x551e1e[_0x3d77d2(0x397)](),'init':function(_0x4a17b2){var _0x1b6c5b=_0x3d77d2;this[_0x1b6c5b(0x1fa)]=this['cfg'][_0x1b6c5b(0x397)](_0x4a17b2),this[_0x1b6c5b(0x143)]();},'reset':function(){var _0x575df9=_0x3d77d2;_0x265d74[_0x575df9(0x143)][_0x575df9(0xc5)](this),this[_0x575df9(0x137)]();},'update':function(_0x27a59d){var _0x3f6237=_0x3d77d2;return this[_0x3f6237(0xc0)](_0x27a59d),this[_0x3f6237(0x2df)](),this;},'finalize':function(_0x31654c){_0x31654c&&this['_append'](_0x31654c);var _0x54cadf=this['_doFinalize']();return _0x54cadf;},'blockSize':0x10,'_createHelper':function(_0x1c44ef){return function(_0x7fc770,_0x4d5d73){var _0x5acf74=_0xbfbb;return new _0x1c44ef[(_0x5acf74(0x1cc))](_0x4d5d73)[_0x5acf74(0x3a6)](_0x7fc770);};},'_createHmacHelper':function(_0x3aaee2){return function(_0x9b67fb,_0x537e67){var _0x5e9ad7=_0xbfbb;return new _0x3a863e[(_0x5e9ad7(0x138))]['init'](_0x3aaee2,_0x537e67)[_0x5e9ad7(0x3a6)](_0x9b67fb);};}});var _0x3a863e=_0x2f2673[_0x3d77d2(0x288)]={};return _0x2f2673;}(Math);return _0x1e8b03;}));}(Ge)),Ge[_0x5851b2(0x286)];}var We={'exports':{}},Es=We[_0x49a434(0x286)],Zt;function Di(){var _0x6a0a3b=_0x49a434;return Zt||(Zt=0x1,function(_0x1db8a1,_0x50a2ae){(function(_0x38c02,_0x5b9688){var _0x57cd90=_0xbfbb;_0x1db8a1[_0x57cd90(0x286)]=_0x5b9688(ie());}(Es,function(_0x1f3ed4){var _0x4c5c6b=_0xbfbb;return(function(){var _0x872299=_0xbfbb,_0x1ffd10=_0x1f3ed4,_0x32a785=_0x1ffd10[_0x872299(0x169)],_0x22d692=_0x32a785[_0x872299(0x3a8)],_0x58d2de=_0x1ffd10[_0x872299(0x226)];_0x58d2de[_0x872299(0x127)]={'stringify':function(_0x35b722){var _0x3de058=_0x872299,_0x50d9d2=_0x35b722['words'],_0x6dd08=_0x35b722[_0x3de058(0x2aa)],_0x3cd442=this['_map'];_0x35b722[_0x3de058(0x106)]();for(var _0x1a06f9=[],_0x2112ed=0x0;_0x2112ed<_0x6dd08;_0x2112ed+=0x3)for(var _0x52205a=_0x50d9d2[_0x2112ed>>>0x2]>>>0x18-_0x2112ed%0x4*0x8&0xff,_0xd159df=_0x50d9d2[_0x2112ed+0x1>>>0x2]>>>0x18-(_0x2112ed+0x1)%0x4*0x8&0xff,_0x6fe254=_0x50d9d2[_0x2112ed+0x2>>>0x2]>>>0x18-(_0x2112ed+0x2)%0x4*0x8&0xff,_0x3cf793=_0x52205a<<0x10|_0xd159df<<0x8|_0x6fe254,_0x379af2=0x0;_0x379af2<0x4&&_0x2112ed+_0x379af2*0.75<_0x6dd08;_0x379af2++)_0x1a06f9[_0x3de058(0xfe)](_0x3cd442[_0x3de058(0x341)](_0x3cf793>>>0x6*(0x3-_0x379af2)&0x3f));var _0xa9acb7=_0x3cd442[_0x3de058(0x341)](0x40);if(_0xa9acb7){for(;_0x1a06f9[_0x3de058(0x1f6)]%0x4;)_0x1a06f9['push'](_0xa9acb7);}return _0x1a06f9[_0x3de058(0x343)]('');},'parse':function(_0x44862b){var _0x5b4475=_0x872299,_0x46f101=_0x44862b['length'],_0x468987=this[_0x5b4475(0x30c)],_0x16cfb9=this[_0x5b4475(0x153)];if(!_0x16cfb9){_0x16cfb9=this[_0x5b4475(0x153)]=[];for(var _0x4445c8=0x0;_0x4445c8<_0x468987[_0x5b4475(0x1f6)];_0x4445c8++)_0x16cfb9[_0x468987[_0x5b4475(0xc1)](_0x4445c8)]=_0x4445c8;}var _0x13bfab=_0x468987[_0x5b4475(0x341)](0x40);if(_0x13bfab){var _0x12fa76=_0x44862b[_0x5b4475(0x37a)](_0x13bfab);_0x12fa76!==-0x1&&(_0x46f101=_0x12fa76);}return _0x50f504(_0x44862b,_0x46f101,_0x16cfb9);},'_map':_0x872299(0x1b3)};function _0x50f504(_0x9cd54f,_0x8f5727,_0x4f3fc0){var _0x56e887=_0x872299;for(var _0x3fd6d4=[],_0x2a6a95=0x0,_0x691b6e=0x0;_0x691b6e<_0x8f5727;_0x691b6e++)if(_0x691b6e%0x4){var _0x142661=_0x4f3fc0[_0x9cd54f[_0x56e887(0xc1)](_0x691b6e-0x1)]<<_0x691b6e%0x4*0x2,_0x1e4cb8=_0x4f3fc0[_0x9cd54f[_0x56e887(0xc1)](_0x691b6e)]>>>0x6-_0x691b6e%0x4*0x2,_0x54f87d=_0x142661|_0x1e4cb8;_0x3fd6d4[_0x2a6a95>>>0x2]|=_0x54f87d<<0x18-_0x2a6a95%0x4*0x8,_0x2a6a95++;}return _0x22d692[_0x56e887(0x255)](_0x3fd6d4,_0x2a6a95);}}()),_0x1f3ed4[_0x4c5c6b(0x226)][_0x4c5c6b(0x127)];}));}(We)),We[_0x6a0a3b(0x286)];}var Ke={'exports':{}},Is=Ke[_0x49a434(0x286)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x2e311f,_0x2eb3f9){(function(_0x5820f7,_0x1a9601){_0x2e311f['exports']=_0x1a9601(ie());}(Is,function(_0x3dc75b){var _0xa46934=_0xbfbb;return function(_0x4089de){var _0x1622d0=_0xbfbb,_0x1737e3=_0x3dc75b,_0x1d792c=_0x1737e3[_0x1622d0(0x169)],_0x4ec267=_0x1d792c[_0x1622d0(0x3a8)],_0x180265=_0x1d792c[_0x1622d0(0xe0)],_0x48b2e4=_0x1737e3[_0x1622d0(0x288)],_0x20d26d=[];(function(){var _0x2bcbc6=_0x1622d0;for(var _0x27aa78=0x0;_0x27aa78<0x40;_0x27aa78++)_0x20d26d[_0x27aa78]=_0x4089de['abs'](_0x4089de[_0x2bcbc6(0x132)](_0x27aa78+0x1))*0x100000000|0x0;}());var _0x3e26ac=_0x48b2e4[_0x1622d0(0x273)]=_0x180265[_0x1622d0(0x397)]({'_doReset':function(){var _0x8077d2=_0x1622d0;this[_0x8077d2(0xc2)]=new _0x4ec267[(_0x8077d2(0x1cc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x49997,_0x34d3e9){var _0x2c5d14=_0x1622d0;for(var _0x3a4a55=0x0;_0x3a4a55<0x10;_0x3a4a55++){var _0x4cab40=_0x34d3e9+_0x3a4a55,_0x4affb0=_0x49997[_0x4cab40];_0x49997[_0x4cab40]=(_0x4affb0<<0x8|_0x4affb0>>>0x18)&0xff00ff|(_0x4affb0<<0x18|_0x4affb0>>>0x8)&0xff00ff00;}var _0x5f3b37=this[_0x2c5d14(0xc2)][_0x2c5d14(0x293)],_0x4adffd=_0x49997[_0x34d3e9+0x0],_0x3019dd=_0x49997[_0x34d3e9+0x1],_0x3e787c=_0x49997[_0x34d3e9+0x2],_0x5d52c0=_0x49997[_0x34d3e9+0x3],_0x26bd8e=_0x49997[_0x34d3e9+0x4],_0x384e7e=_0x49997[_0x34d3e9+0x5],_0x2b6f66=_0x49997[_0x34d3e9+0x6],_0x44965c=_0x49997[_0x34d3e9+0x7],_0xece6a6=_0x49997[_0x34d3e9+0x8],_0x25b738=_0x49997[_0x34d3e9+0x9],_0x3a352a=_0x49997[_0x34d3e9+0xa],_0x5ecc79=_0x49997[_0x34d3e9+0xb],_0x29b0ae=_0x49997[_0x34d3e9+0xc],_0x3ea22e=_0x49997[_0x34d3e9+0xd],_0x538053=_0x49997[_0x34d3e9+0xe],_0x3b8e3e=_0x49997[_0x34d3e9+0xf],_0x1d13e2=_0x5f3b37[0x0],_0x233d7d=_0x5f3b37[0x1],_0x15be7f=_0x5f3b37[0x2],_0xabbea=_0x5f3b37[0x3];_0x1d13e2=_0x1465aa(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x4adffd,0x7,_0x20d26d[0x0]),_0xabbea=_0x1465aa(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x3019dd,0xc,_0x20d26d[0x1]),_0x15be7f=_0x1465aa(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3e787c,0x11,_0x20d26d[0x2]),_0x233d7d=_0x1465aa(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x5d52c0,0x16,_0x20d26d[0x3]),_0x1d13e2=_0x1465aa(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x26bd8e,0x7,_0x20d26d[0x4]),_0xabbea=_0x1465aa(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x384e7e,0xc,_0x20d26d[0x5]),_0x15be7f=_0x1465aa(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x2b6f66,0x11,_0x20d26d[0x6]),_0x233d7d=_0x1465aa(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x44965c,0x16,_0x20d26d[0x7]),_0x1d13e2=_0x1465aa(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0xece6a6,0x7,_0x20d26d[0x8]),_0xabbea=_0x1465aa(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x25b738,0xc,_0x20d26d[0x9]),_0x15be7f=_0x1465aa(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3a352a,0x11,_0x20d26d[0xa]),_0x233d7d=_0x1465aa(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x5ecc79,0x16,_0x20d26d[0xb]),_0x1d13e2=_0x1465aa(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x29b0ae,0x7,_0x20d26d[0xc]),_0xabbea=_0x1465aa(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x3ea22e,0xc,_0x20d26d[0xd]),_0x15be7f=_0x1465aa(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x538053,0x11,_0x20d26d[0xe]),_0x233d7d=_0x1465aa(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x3b8e3e,0x16,_0x20d26d[0xf]),_0x1d13e2=_0x3b73c1(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x3019dd,0x5,_0x20d26d[0x10]),_0xabbea=_0x3b73c1(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x2b6f66,0x9,_0x20d26d[0x11]),_0x15be7f=_0x3b73c1(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x5ecc79,0xe,_0x20d26d[0x12]),_0x233d7d=_0x3b73c1(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x4adffd,0x14,_0x20d26d[0x13]),_0x1d13e2=_0x3b73c1(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x384e7e,0x5,_0x20d26d[0x14]),_0xabbea=_0x3b73c1(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x3a352a,0x9,_0x20d26d[0x15]),_0x15be7f=_0x3b73c1(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3b8e3e,0xe,_0x20d26d[0x16]),_0x233d7d=_0x3b73c1(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x26bd8e,0x14,_0x20d26d[0x17]),_0x1d13e2=_0x3b73c1(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x25b738,0x5,_0x20d26d[0x18]),_0xabbea=_0x3b73c1(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x538053,0x9,_0x20d26d[0x19]),_0x15be7f=_0x3b73c1(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x5d52c0,0xe,_0x20d26d[0x1a]),_0x233d7d=_0x3b73c1(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0xece6a6,0x14,_0x20d26d[0x1b]),_0x1d13e2=_0x3b73c1(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x3ea22e,0x5,_0x20d26d[0x1c]),_0xabbea=_0x3b73c1(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x3e787c,0x9,_0x20d26d[0x1d]),_0x15be7f=_0x3b73c1(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x44965c,0xe,_0x20d26d[0x1e]),_0x233d7d=_0x3b73c1(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x29b0ae,0x14,_0x20d26d[0x1f]),_0x1d13e2=_0x2ddb0c(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x384e7e,0x4,_0x20d26d[0x20]),_0xabbea=_0x2ddb0c(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0xece6a6,0xb,_0x20d26d[0x21]),_0x15be7f=_0x2ddb0c(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x5ecc79,0x10,_0x20d26d[0x22]),_0x233d7d=_0x2ddb0c(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x538053,0x17,_0x20d26d[0x23]),_0x1d13e2=_0x2ddb0c(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x3019dd,0x4,_0x20d26d[0x24]),_0xabbea=_0x2ddb0c(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x26bd8e,0xb,_0x20d26d[0x25]),_0x15be7f=_0x2ddb0c(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x44965c,0x10,_0x20d26d[0x26]),_0x233d7d=_0x2ddb0c(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x3a352a,0x17,_0x20d26d[0x27]),_0x1d13e2=_0x2ddb0c(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x3ea22e,0x4,_0x20d26d[0x28]),_0xabbea=_0x2ddb0c(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x4adffd,0xb,_0x20d26d[0x29]),_0x15be7f=_0x2ddb0c(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x5d52c0,0x10,_0x20d26d[0x2a]),_0x233d7d=_0x2ddb0c(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x2b6f66,0x17,_0x20d26d[0x2b]),_0x1d13e2=_0x2ddb0c(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x25b738,0x4,_0x20d26d[0x2c]),_0xabbea=_0x2ddb0c(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x29b0ae,0xb,_0x20d26d[0x2d]),_0x15be7f=_0x2ddb0c(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3b8e3e,0x10,_0x20d26d[0x2e]),_0x233d7d=_0x2ddb0c(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x3e787c,0x17,_0x20d26d[0x2f]),_0x1d13e2=_0x53db83(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x4adffd,0x6,_0x20d26d[0x30]),_0xabbea=_0x53db83(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x44965c,0xa,_0x20d26d[0x31]),_0x15be7f=_0x53db83(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x538053,0xf,_0x20d26d[0x32]),_0x233d7d=_0x53db83(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x384e7e,0x15,_0x20d26d[0x33]),_0x1d13e2=_0x53db83(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x29b0ae,0x6,_0x20d26d[0x34]),_0xabbea=_0x53db83(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x5d52c0,0xa,_0x20d26d[0x35]),_0x15be7f=_0x53db83(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3a352a,0xf,_0x20d26d[0x36]),_0x233d7d=_0x53db83(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x3019dd,0x15,_0x20d26d[0x37]),_0x1d13e2=_0x53db83(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0xece6a6,0x6,_0x20d26d[0x38]),_0xabbea=_0x53db83(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x3b8e3e,0xa,_0x20d26d[0x39]),_0x15be7f=_0x53db83(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x2b6f66,0xf,_0x20d26d[0x3a]),_0x233d7d=_0x53db83(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x3ea22e,0x15,_0x20d26d[0x3b]),_0x1d13e2=_0x53db83(_0x1d13e2,_0x233d7d,_0x15be7f,_0xabbea,_0x26bd8e,0x6,_0x20d26d[0x3c]),_0xabbea=_0x53db83(_0xabbea,_0x1d13e2,_0x233d7d,_0x15be7f,_0x5ecc79,0xa,_0x20d26d[0x3d]),_0x15be7f=_0x53db83(_0x15be7f,_0xabbea,_0x1d13e2,_0x233d7d,_0x3e787c,0xf,_0x20d26d[0x3e]),_0x233d7d=_0x53db83(_0x233d7d,_0x15be7f,_0xabbea,_0x1d13e2,_0x25b738,0x15,_0x20d26d[0x3f]),_0x5f3b37[0x0]=_0x5f3b37[0x0]+_0x1d13e2|0x0,_0x5f3b37[0x1]=_0x5f3b37[0x1]+_0x233d7d|0x0,_0x5f3b37[0x2]=_0x5f3b37[0x2]+_0x15be7f|0x0,_0x5f3b37[0x3]=_0x5f3b37[0x3]+_0xabbea|0x0;},'_doFinalize':function(){var _0x14921b=_0x1622d0,_0x2a7afe=this[_0x14921b(0x1f1)],_0x219912=_0x2a7afe[_0x14921b(0x293)],_0x1b9491=this['_nDataBytes']*0x8,_0x1f15d9=_0x2a7afe['sigBytes']*0x8;_0x219912[_0x1f15d9>>>0x5]|=0x80<<0x18-_0x1f15d9%0x20;var _0x36af7b=_0x4089de[_0x14921b(0x100)](_0x1b9491/0x100000000),_0x4c9d5d=_0x1b9491;_0x219912[(_0x1f15d9+0x40>>>0x9<<0x4)+0xf]=(_0x36af7b<<0x8|_0x36af7b>>>0x18)&0xff00ff|(_0x36af7b<<0x18|_0x36af7b>>>0x8)&0xff00ff00,_0x219912[(_0x1f15d9+0x40>>>0x9<<0x4)+0xe]=(_0x4c9d5d<<0x8|_0x4c9d5d>>>0x18)&0xff00ff|(_0x4c9d5d<<0x18|_0x4c9d5d>>>0x8)&0xff00ff00,_0x2a7afe['sigBytes']=(_0x219912[_0x14921b(0x1f6)]+0x1)*0x4,this['_process']();for(var _0x308ad9=this[_0x14921b(0xc2)],_0x59ff49=_0x308ad9[_0x14921b(0x293)],_0x21a2cc=0x0;_0x21a2cc<0x4;_0x21a2cc++){var _0x28ba2a=_0x59ff49[_0x21a2cc];_0x59ff49[_0x21a2cc]=(_0x28ba2a<<0x8|_0x28ba2a>>>0x18)&0xff00ff|(_0x28ba2a<<0x18|_0x28ba2a>>>0x8)&0xff00ff00;}return _0x308ad9;},'clone':function(){var _0x23471b=_0x1622d0,_0x14037e=_0x180265[_0x23471b(0xcf)][_0x23471b(0xc5)](this);return _0x14037e[_0x23471b(0xc2)]=this[_0x23471b(0xc2)][_0x23471b(0xcf)](),_0x14037e;}});function _0x1465aa(_0x485c6c,_0x198a8b,_0x22214f,_0xfa4894,_0x174994,_0x4e631c,_0x2b7cea){var _0x167149=_0x485c6c+(_0x198a8b&_0x22214f|~_0x198a8b&_0xfa4894)+_0x174994+_0x2b7cea;return(_0x167149<<_0x4e631c|_0x167149>>>0x20-_0x4e631c)+_0x198a8b;}function _0x3b73c1(_0x5a40a4,_0x3b5e8c,_0x369288,_0x54e265,_0x590a6d,_0x26c65e,_0x2623a8){var _0x580382=_0x5a40a4+(_0x3b5e8c&_0x54e265|_0x369288&~_0x54e265)+_0x590a6d+_0x2623a8;return(_0x580382<<_0x26c65e|_0x580382>>>0x20-_0x26c65e)+_0x3b5e8c;}function _0x2ddb0c(_0xe7e3e9,_0x45b82c,_0x2ba474,_0x407c45,_0x2154e9,_0x5cc066,_0x4694f6){var _0x5e6408=_0xe7e3e9+(_0x45b82c^_0x2ba474^_0x407c45)+_0x2154e9+_0x4694f6;return(_0x5e6408<<_0x5cc066|_0x5e6408>>>0x20-_0x5cc066)+_0x45b82c;}function _0x53db83(_0x3ff61a,_0x3f706e,_0x12c85d,_0x1540d3,_0x4f013a,_0x340ed5,_0x2430d1){var _0x5cf40d=_0x3ff61a+(_0x12c85d^(_0x3f706e|~_0x1540d3))+_0x4f013a+_0x2430d1;return(_0x5cf40d<<_0x340ed5|_0x5cf40d>>>0x20-_0x340ed5)+_0x3f706e;}_0x1737e3[_0x1622d0(0x273)]=_0x180265[_0x1622d0(0x26e)](_0x3e26ac),_0x1737e3['HmacMD5']=_0x180265['_createHmacHelper'](_0x3e26ac);}(Math),_0x3dc75b[_0xa46934(0x273)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x49a434(0x286)],ei;function Rs(){var _0xdb1d0=_0x49a434;return ei||(ei=0x1,function(_0x5cd697,_0x13a957){(function(_0x2560d1,_0x4eb500){var _0x5b4710=_0xbfbb;_0x5cd697[_0x5b4710(0x286)]=_0x4eb500(ie());}(Cs,function(_0x281630){var _0xe3eac7=_0xbfbb;return(function(){var _0xa3380=_0xbfbb,_0x14ab88=_0x281630,_0x237ddb=_0x14ab88[_0xa3380(0x169)],_0x21e43f=_0x237ddb[_0xa3380(0x3a8)],_0x4f04cc=_0x237ddb['Hasher'],_0xefa25=_0x14ab88[_0xa3380(0x288)],_0x3947a1=[],_0x59f059=_0xefa25['SHA1']=_0x4f04cc[_0xa3380(0x397)]({'_doReset':function(){var _0x25c68d=_0xa3380;this[_0x25c68d(0xc2)]=new _0x21e43f[(_0x25c68d(0x1cc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x42f6a6,_0x48cc6b){var _0x1c14a6=_0xa3380;for(var _0x542a07=this[_0x1c14a6(0xc2)][_0x1c14a6(0x293)],_0x5cd736=_0x542a07[0x0],_0x5a2037=_0x542a07[0x1],_0x7a5330=_0x542a07[0x2],_0x1075cd=_0x542a07[0x3],_0x3369bf=_0x542a07[0x4],_0x5a6b6e=0x0;_0x5a6b6e<0x50;_0x5a6b6e++){if(_0x5a6b6e<0x10)_0x3947a1[_0x5a6b6e]=_0x42f6a6[_0x48cc6b+_0x5a6b6e]|0x0;else{var _0x42a91d=_0x3947a1[_0x5a6b6e-0x3]^_0x3947a1[_0x5a6b6e-0x8]^_0x3947a1[_0x5a6b6e-0xe]^_0x3947a1[_0x5a6b6e-0x10];_0x3947a1[_0x5a6b6e]=_0x42a91d<<0x1|_0x42a91d>>>0x1f;}var _0x256447=(_0x5cd736<<0x5|_0x5cd736>>>0x1b)+_0x3369bf+_0x3947a1[_0x5a6b6e];_0x5a6b6e<0x14?_0x256447+=(_0x5a2037&_0x7a5330|~_0x5a2037&_0x1075cd)+0x5a827999:_0x5a6b6e<0x28?_0x256447+=(_0x5a2037^_0x7a5330^_0x1075cd)+0x6ed9eba1:_0x5a6b6e<0x3c?_0x256447+=(_0x5a2037&_0x7a5330|_0x5a2037&_0x1075cd|_0x7a5330&_0x1075cd)-0x70e44324:_0x256447+=(_0x5a2037^_0x7a5330^_0x1075cd)-0x359d3e2a,_0x3369bf=_0x1075cd,_0x1075cd=_0x7a5330,_0x7a5330=_0x5a2037<<0x1e|_0x5a2037>>>0x2,_0x5a2037=_0x5cd736,_0x5cd736=_0x256447;}_0x542a07[0x0]=_0x542a07[0x0]+_0x5cd736|0x0,_0x542a07[0x1]=_0x542a07[0x1]+_0x5a2037|0x0,_0x542a07[0x2]=_0x542a07[0x2]+_0x7a5330|0x0,_0x542a07[0x3]=_0x542a07[0x3]+_0x1075cd|0x0,_0x542a07[0x4]=_0x542a07[0x4]+_0x3369bf|0x0;},'_doFinalize':function(){var _0x39e987=_0xa3380,_0x5b3a9c=this[_0x39e987(0x1f1)],_0x116c8a=_0x5b3a9c['words'],_0xf50a72=this[_0x39e987(0x39a)]*0x8,_0x211374=_0x5b3a9c[_0x39e987(0x2aa)]*0x8;return _0x116c8a[_0x211374>>>0x5]|=0x80<<0x18-_0x211374%0x20,_0x116c8a[(_0x211374+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xf50a72/0x100000000),_0x116c8a[(_0x211374+0x40>>>0x9<<0x4)+0xf]=_0xf50a72,_0x5b3a9c[_0x39e987(0x2aa)]=_0x116c8a[_0x39e987(0x1f6)]*0x4,this[_0x39e987(0x2df)](),this[_0x39e987(0xc2)];},'clone':function(){var _0x4c97c0=_0xa3380,_0xd8b47f=_0x4f04cc['clone']['call'](this);return _0xd8b47f['_hash']=this['_hash'][_0x4c97c0(0xcf)](),_0xd8b47f;}});_0x14ab88[_0xa3380(0x1d0)]=_0x4f04cc[_0xa3380(0x26e)](_0x59f059),_0x14ab88[_0xa3380(0x247)]=_0x4f04cc[_0xa3380(0x284)](_0x59f059);}()),_0x281630[_0xe3eac7(0x1d0)];}));}(qe)),qe[_0xdb1d0(0x286)];}var ze={'exports':{}},bs=ze[_0x49a434(0x286)],ti;function ys(){return ti||(ti=0x1,function(_0x552a51,_0x18ba62){(function(_0x7d9a79,_0x172ead){var _0x2434a6=_0xbfbb;_0x552a51[_0x2434a6(0x286)]=_0x172ead(ie());}(bs,function(_0x3d8a7a){(function(){var _0x23b8a3=_0xbfbb,_0x236cca=_0x3d8a7a,_0x4d11d8=_0x236cca[_0x23b8a3(0x169)],_0xbd71ad=_0x4d11d8[_0x23b8a3(0x13f)],_0xbcc095=_0x236cca[_0x23b8a3(0x226)],_0x1644f1=_0xbcc095['Utf8'],_0x4c9b9b=_0x236cca[_0x23b8a3(0x288)];_0x4c9b9b['HMAC']=_0xbd71ad['extend']({'init':function(_0x525e5c,_0x1b1a42){var _0xf86ce4=_0x23b8a3;_0x525e5c=this[_0xf86ce4(0x1ef)]=new _0x525e5c[(_0xf86ce4(0x1cc))](),typeof _0x1b1a42=='string'&&(_0x1b1a42=_0x1644f1[_0xf86ce4(0x2fb)](_0x1b1a42));var _0x370df8=_0x525e5c[_0xf86ce4(0x1be)],_0x4fcea2=_0x370df8*0x4;_0x1b1a42[_0xf86ce4(0x2aa)]>_0x4fcea2&&(_0x1b1a42=_0x525e5c[_0xf86ce4(0x3a6)](_0x1b1a42)),_0x1b1a42[_0xf86ce4(0x106)]();for(var _0x2b46d4=this[_0xf86ce4(0x20f)]=_0x1b1a42['clone'](),_0x48f3f9=this[_0xf86ce4(0x11e)]=_0x1b1a42['clone'](),_0x59b6bf=_0x2b46d4[_0xf86ce4(0x293)],_0x1bda3d=_0x48f3f9[_0xf86ce4(0x293)],_0x4c5936=0x0;_0x4c5936<_0x370df8;_0x4c5936++)_0x59b6bf[_0x4c5936]^=0x5c5c5c5c,_0x1bda3d[_0x4c5936]^=0x36363636;_0x2b46d4['sigBytes']=_0x48f3f9['sigBytes']=_0x4fcea2,this[_0xf86ce4(0x143)]();},'reset':function(){var _0x37a7a6=_0x23b8a3,_0x3614a4=this['_hasher'];_0x3614a4[_0x37a7a6(0x143)](),_0x3614a4[_0x37a7a6(0x36c)](this[_0x37a7a6(0x11e)]);},'update':function(_0x1f1a0e){var _0x34e301=_0x23b8a3;return this['_hasher'][_0x34e301(0x36c)](_0x1f1a0e),this;},'finalize':function(_0x3d8b69){var _0x2ae64a=_0x23b8a3,_0x154f92=this[_0x2ae64a(0x1ef)],_0x5da1a4=_0x154f92[_0x2ae64a(0x3a6)](_0x3d8b69);_0x154f92[_0x2ae64a(0x143)]();var _0x26314b=_0x154f92[_0x2ae64a(0x3a6)](this[_0x2ae64a(0x20f)]['clone']()[_0x2ae64a(0x22d)](_0x5da1a4));return _0x26314b;}});}());}));}(ze)),ze['exports'];}var Os=Ye[_0x49a434(0x286)],ii;function Ui(){return ii||(ii=0x1,function(_0x2a5a03,_0x2f85fa){(function(_0x34bce4,_0x1cb4f6,_0x3936ef){var _0x30dd6c=_0xbfbb;_0x2a5a03[_0x30dd6c(0x286)]=_0x1cb4f6(ie(),Rs(),ys());}(Os,function(_0x272de0){var _0x2825db=_0xbfbb;return(function(){var _0x276d06=_0xbfbb,_0x3ec17b=_0x272de0,_0x1975f9=_0x3ec17b['lib'],_0x3c4188=_0x1975f9['Base'],_0x547039=_0x1975f9['WordArray'],_0x2fb80b=_0x3ec17b[_0x276d06(0x288)],_0x10ecd4=_0x2fb80b[_0x276d06(0x273)],_0x45dd4f=_0x2fb80b[_0x276d06(0x241)]=_0x3c4188[_0x276d06(0x397)]({'cfg':_0x3c4188[_0x276d06(0x397)]({'keySize':0x80/0x20,'hasher':_0x10ecd4,'iterations':0x1}),'init':function(_0x28c94f){var _0x41be8e=_0x276d06;this[_0x41be8e(0x1fa)]=this[_0x41be8e(0x1fa)][_0x41be8e(0x397)](_0x28c94f);},'compute':function(_0x321afe,_0x27a1b5){var _0x15b3f9=_0x276d06;for(var _0xf60514,_0x207472=this['cfg'],_0x48a5f6=_0x207472[_0x15b3f9(0x20b)][_0x15b3f9(0x255)](),_0x2d0f2e=_0x547039[_0x15b3f9(0x255)](),_0x4999de=_0x2d0f2e[_0x15b3f9(0x293)],_0x3eb045=_0x207472[_0x15b3f9(0x24c)],_0x1f6512=_0x207472[_0x15b3f9(0x212)];_0x4999de['length']<_0x3eb045;){_0xf60514&&_0x48a5f6[_0x15b3f9(0x36c)](_0xf60514),_0xf60514=_0x48a5f6[_0x15b3f9(0x36c)](_0x321afe)['finalize'](_0x27a1b5),_0x48a5f6['reset']();for(var _0x4573ac=0x1;_0x4573ac<_0x1f6512;_0x4573ac++)_0xf60514=_0x48a5f6[_0x15b3f9(0x3a6)](_0xf60514),_0x48a5f6[_0x15b3f9(0x143)]();_0x2d0f2e['concat'](_0xf60514);}return _0x2d0f2e[_0x15b3f9(0x2aa)]=_0x3eb045*0x4,_0x2d0f2e;}});_0x3ec17b[_0x276d06(0x241)]=function(_0x30280e,_0x2f796a,_0x1bf883){var _0x485f90=_0x276d06;return _0x45dd4f[_0x485f90(0x255)](_0x1bf883)[_0x485f90(0xf4)](_0x30280e,_0x2f796a);};}()),_0x272de0[_0x2825db(0x241)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x582111=_0x49a434;return ni||(ni=0x1,function(_0x245ee4,_0x38e999){(function(_0x579136,_0x2897e0,_0x437008){var _0x49ae64=_0xbfbb;_0x245ee4[_0x49ae64(0x286)]=_0x2897e0(ie(),Ui());}(Ns,function(_0x5cbc02){var _0x300dac=_0xbfbb;_0x5cbc02[_0x300dac(0x169)]['Cipher']||function(_0xa12fa){var _0x483000=_0x300dac,_0x32abce=_0x5cbc02,_0x5f39ec=_0x32abce[_0x483000(0x169)],_0x5a742d=_0x5f39ec[_0x483000(0x13f)],_0x25ee3e=_0x5f39ec[_0x483000(0x3a8)],_0x2c654d=_0x5f39ec[_0x483000(0xd3)],_0x190cfc=_0x32abce['enc'];_0x190cfc[_0x483000(0x3ac)];var _0x28bcd2=_0x190cfc[_0x483000(0x127)],_0x8b23e5=_0x32abce[_0x483000(0x288)],_0x31b8f7=_0x8b23e5[_0x483000(0x241)],_0x5d0e40=_0x5f39ec[_0x483000(0x22b)]=_0x2c654d['extend']({'cfg':_0x5a742d[_0x483000(0x397)](),'createEncryptor':function(_0x4d60e3,_0x35013b){var _0x78843=_0x483000;return this[_0x78843(0x255)](this['_ENC_XFORM_MODE'],_0x4d60e3,_0x35013b);},'createDecryptor':function(_0x556833,_0x476a59){var _0x2e62ef=_0x483000;return this[_0x2e62ef(0x255)](this[_0x2e62ef(0x1cd)],_0x556833,_0x476a59);},'init':function(_0x42d146,_0x4405dc,_0x30d733){var _0x228a6d=_0x483000;this[_0x228a6d(0x1fa)]=this[_0x228a6d(0x1fa)][_0x228a6d(0x397)](_0x30d733),this['_xformMode']=_0x42d146,this[_0x228a6d(0x2b0)]=_0x4405dc,this[_0x228a6d(0x143)]();},'reset':function(){var _0x2bccb4=_0x483000;_0x2c654d[_0x2bccb4(0x143)][_0x2bccb4(0xc5)](this),this[_0x2bccb4(0x137)]();},'process':function(_0x2e9fed){var _0x9a4058=_0x483000;return this[_0x9a4058(0xc0)](_0x2e9fed),this[_0x9a4058(0x2df)]();},'finalize':function(_0x17e3b8){var _0x1c2414=_0x483000;_0x17e3b8&&this[_0x1c2414(0xc0)](_0x17e3b8);var _0x4cbda0=this[_0x1c2414(0x339)]();return _0x4cbda0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x582e0a(_0x60bc9f){var _0x31522e=_0xbfbb;return typeof _0x60bc9f==_0x31522e(0x36d)?_0x3754bb:_0x10eac6;}return function(_0x40a84c){return{'encrypt':function(_0x3d3b7f,_0x54eaaf,_0x1664c1){var _0x519563=_0xbfbb;return _0x582e0a(_0x54eaaf)[_0x519563(0x22a)](_0x40a84c,_0x3d3b7f,_0x54eaaf,_0x1664c1);},'decrypt':function(_0x58dd19,_0x2a9f16,_0x12ec91){var _0x5590b4=_0xbfbb;return _0x582e0a(_0x2a9f16)[_0x5590b4(0x237)](_0x40a84c,_0x58dd19,_0x2a9f16,_0x12ec91);}};};}())});_0x5f39ec[_0x483000(0x376)]=_0x5d0e40[_0x483000(0x397)]({'_doFinalize':function(){var _0x505e9b=_0x483000,_0x17b822=this[_0x505e9b(0x2df)](!0x0);return _0x17b822;},'blockSize':0x1});var _0x4df66d=_0x32abce[_0x483000(0x2c6)]={},_0xed137c=_0x5f39ec[_0x483000(0x164)]=_0x5a742d[_0x483000(0x397)]({'createEncryptor':function(_0x1b7c64,_0xded05e){var _0x348a0a=_0x483000;return this[_0x348a0a(0x1d1)]['create'](_0x1b7c64,_0xded05e);},'createDecryptor':function(_0x513460,_0x27d752){var _0x6aa4cf=_0x483000;return this[_0x6aa4cf(0x1c8)]['create'](_0x513460,_0x27d752);},'init':function(_0x6780b6,_0x116d63){var _0x5e581e=_0x483000;this[_0x5e581e(0x330)]=_0x6780b6,this['_iv']=_0x116d63;}}),_0x2f8307=_0x4df66d[_0x483000(0x17d)]=(function(){var _0x3dd56a=_0x483000,_0x291eee=_0xed137c[_0x3dd56a(0x397)]();_0x291eee[_0x3dd56a(0x1d1)]=_0x291eee[_0x3dd56a(0x397)]({'processBlock':function(_0x5eec11,_0x499098){var _0x47e86d=_0x3dd56a,_0x83917a=this['_cipher'],_0x4046b7=_0x83917a[_0x47e86d(0x1be)];_0x31821c[_0x47e86d(0xc5)](this,_0x5eec11,_0x499098,_0x4046b7),_0x83917a[_0x47e86d(0x35e)](_0x5eec11,_0x499098),this['_prevBlock']=_0x5eec11[_0x47e86d(0x261)](_0x499098,_0x499098+_0x4046b7);}}),_0x291eee[_0x3dd56a(0x1c8)]=_0x291eee[_0x3dd56a(0x397)]({'processBlock':function(_0x5b44c9,_0x58144d){var _0x2a8c1f=_0x3dd56a,_0x2d7636=this[_0x2a8c1f(0x330)],_0x5c5260=_0x2d7636[_0x2a8c1f(0x1be)],_0x58ba2f=_0x5b44c9[_0x2a8c1f(0x261)](_0x58144d,_0x58144d+_0x5c5260);_0x2d7636[_0x2a8c1f(0x2f3)](_0x5b44c9,_0x58144d),_0x31821c[_0x2a8c1f(0xc5)](this,_0x5b44c9,_0x58144d,_0x5c5260),this[_0x2a8c1f(0x120)]=_0x58ba2f;}});function _0x31821c(_0x514ae4,_0x2f7ad0,_0x22528a){var _0x4f4cf9=_0x3dd56a,_0x1b77c0,_0x4a1686=this[_0x4f4cf9(0x320)];_0x4a1686?(_0x1b77c0=_0x4a1686,this[_0x4f4cf9(0x320)]=_0xa12fa):_0x1b77c0=this[_0x4f4cf9(0x120)];for(var _0x493ca1=0x0;_0x493ca1<_0x22528a;_0x493ca1++)_0x514ae4[_0x2f7ad0+_0x493ca1]^=_0x1b77c0[_0x493ca1];}return _0x291eee;}()),_0x4f4b1c=_0x32abce[_0x483000(0xd8)]={},_0x324bf7=_0x4f4b1c[_0x483000(0x233)]={'pad':function(_0x5a8738,_0x3318ec){var _0x104124=_0x483000;for(var _0x6b884d=_0x3318ec*0x4,_0x297520=_0x6b884d-_0x5a8738[_0x104124(0x2aa)]%_0x6b884d,_0x578c55=_0x297520<<0x18|_0x297520<<0x10|_0x297520<<0x8|_0x297520,_0x4e0b9b=[],_0x4aa50c=0x0;_0x4aa50c<_0x297520;_0x4aa50c+=0x4)_0x4e0b9b['push'](_0x578c55);var _0x3483a6=_0x25ee3e[_0x104124(0x255)](_0x4e0b9b,_0x297520);_0x5a8738[_0x104124(0x22d)](_0x3483a6);},'unpad':function(_0x206a21){var _0x4b8288=_0x483000,_0x2a5c4a=_0x206a21[_0x4b8288(0x293)][_0x206a21[_0x4b8288(0x2aa)]-0x1>>>0x2]&0xff;_0x206a21[_0x4b8288(0x2aa)]-=_0x2a5c4a;}};_0x5f39ec[_0x483000(0x236)]=_0x5d0e40[_0x483000(0x397)]({'cfg':_0x5d0e40['cfg']['extend']({'mode':_0x2f8307,'padding':_0x324bf7}),'reset':function(){var _0x4b8c50=_0x483000,_0x5b0fde;_0x5d0e40[_0x4b8c50(0x143)][_0x4b8c50(0xc5)](this);var _0xd21052=this['cfg'],_0x17dc44=_0xd21052['iv'],_0x17bd0d=_0xd21052[_0x4b8c50(0x2c6)];this[_0x4b8c50(0x1a0)]==this[_0x4b8c50(0x2a1)]?_0x5b0fde=_0x17bd0d[_0x4b8c50(0x2f7)]:(_0x5b0fde=_0x17bd0d['createDecryptor'],this[_0x4b8c50(0x3a3)]=0x1),this[_0x4b8c50(0x189)]&&this[_0x4b8c50(0x189)]['__creator']==_0x5b0fde?this[_0x4b8c50(0x189)][_0x4b8c50(0x1cc)](this,_0x17dc44&&_0x17dc44[_0x4b8c50(0x293)]):(this[_0x4b8c50(0x189)]=_0x5b0fde[_0x4b8c50(0xc5)](_0x17bd0d,this,_0x17dc44&&_0x17dc44[_0x4b8c50(0x293)]),this[_0x4b8c50(0x189)][_0x4b8c50(0x370)]=_0x5b0fde);},'_doProcessBlock':function(_0x4adb69,_0x56fa17){var _0x3d8488=_0x483000;this[_0x3d8488(0x189)][_0x3d8488(0x36b)](_0x4adb69,_0x56fa17);},'_doFinalize':function(){var _0xaaa1c3=_0x483000,_0x223c19,_0x5f4f2e=this[_0xaaa1c3(0x1fa)][_0xaaa1c3(0x2e5)];return this[_0xaaa1c3(0x1a0)]==this[_0xaaa1c3(0x2a1)]?(_0x5f4f2e[_0xaaa1c3(0xd8)](this[_0xaaa1c3(0x1f1)],this[_0xaaa1c3(0x1be)]),_0x223c19=this[_0xaaa1c3(0x2df)](!0x0)):(_0x223c19=this[_0xaaa1c3(0x2df)](!0x0),_0x5f4f2e[_0xaaa1c3(0xb1)](_0x223c19)),_0x223c19;},'blockSize':0x80/0x20});var _0x5f36f1=_0x5f39ec[_0x483000(0x174)]=_0x5a742d[_0x483000(0x397)]({'init':function(_0x1f3f32){var _0x72dd7d=_0x483000;this[_0x72dd7d(0x305)](_0x1f3f32);},'toString':function(_0x541b07){var _0x4cb224=_0x483000;return(_0x541b07||this[_0x4cb224(0x2c3)])[_0x4cb224(0x243)](this);}}),_0x2f93d3=_0x32abce[_0x483000(0x322)]={},_0x24273e=_0x2f93d3['OpenSSL']={'stringify':function(_0x3eb03a){var _0x1445d4=_0x483000,_0x5781a4,_0x10dd2b=_0x3eb03a[_0x1445d4(0x21f)],_0xd16764=_0x3eb03a[_0x1445d4(0x372)];return _0xd16764?_0x5781a4=_0x25ee3e['create']([0x53616c74,0x65645f5f])[_0x1445d4(0x22d)](_0xd16764)[_0x1445d4(0x22d)](_0x10dd2b):_0x5781a4=_0x10dd2b,_0x5781a4[_0x1445d4(0x14e)](_0x28bcd2);},'parse':function(_0x11f5b1){var _0x7724a=_0x483000,_0x4fd26e,_0x1a1f75=_0x28bcd2[_0x7724a(0x2fb)](_0x11f5b1),_0x4a10bc=_0x1a1f75['words'];return _0x4a10bc[0x0]==0x53616c74&&_0x4a10bc[0x1]==0x65645f5f&&(_0x4fd26e=_0x25ee3e['create'](_0x4a10bc[_0x7724a(0x261)](0x2,0x4)),_0x4a10bc[_0x7724a(0x210)](0x0,0x4),_0x1a1f75[_0x7724a(0x2aa)]-=0x10),_0x5f36f1[_0x7724a(0x255)]({'ciphertext':_0x1a1f75,'salt':_0x4fd26e});}},_0x10eac6=_0x5f39ec['SerializableCipher']=_0x5a742d[_0x483000(0x397)]({'cfg':_0x5a742d[_0x483000(0x397)]({'format':_0x24273e}),'encrypt':function(_0x567412,_0x428328,_0x3bc6ad,_0x42663c){var _0x9f53c8=_0x483000;_0x42663c=this['cfg'][_0x9f53c8(0x397)](_0x42663c);var _0x1d7e27=_0x567412[_0x9f53c8(0x2f7)](_0x3bc6ad,_0x42663c),_0x57735a=_0x1d7e27['finalize'](_0x428328),_0x23850e=_0x1d7e27['cfg'];return _0x5f36f1['create']({'ciphertext':_0x57735a,'key':_0x3bc6ad,'iv':_0x23850e['iv'],'algorithm':_0x567412,'mode':_0x23850e['mode'],'padding':_0x23850e['padding'],'blockSize':_0x567412[_0x9f53c8(0x1be)],'formatter':_0x42663c[_0x9f53c8(0x322)]});},'decrypt':function(_0x5b898b,_0x51e0c3,_0x102c88,_0x5923f8){var _0x4a450f=_0x483000;_0x5923f8=this['cfg'][_0x4a450f(0x397)](_0x5923f8),_0x51e0c3=this[_0x4a450f(0x162)](_0x51e0c3,_0x5923f8[_0x4a450f(0x322)]);var _0xc2754=_0x5b898b[_0x4a450f(0x2b2)](_0x102c88,_0x5923f8)[_0x4a450f(0x3a6)](_0x51e0c3[_0x4a450f(0x21f)]);return _0xc2754;},'_parse':function(_0x562901,_0xd623de){var _0x23850b=_0x483000;return typeof _0x562901=='string'?_0xd623de[_0x23850b(0x2fb)](_0x562901,this):_0x562901;}}),_0x592494=_0x32abce['kdf']={},_0x4383bd=_0x592494[_0x483000(0x1aa)]={'execute':function(_0x31b172,_0x579742,_0x50ba38,_0x380926,_0xbc9868){var _0x37bfba=_0x483000;if(_0x380926||(_0x380926=_0x25ee3e['random'](0x40/0x8)),_0xbc9868)var _0x255130=_0x31b8f7[_0x37bfba(0x255)]({'keySize':_0x579742+_0x50ba38,'hasher':_0xbc9868})[_0x37bfba(0xf4)](_0x31b172,_0x380926);else var _0x255130=_0x31b8f7['create']({'keySize':_0x579742+_0x50ba38})[_0x37bfba(0xf4)](_0x31b172,_0x380926);var _0x236534=_0x25ee3e['create'](_0x255130[_0x37bfba(0x293)][_0x37bfba(0x261)](_0x579742),_0x50ba38*0x4);return _0x255130[_0x37bfba(0x2aa)]=_0x579742*0x4,_0x5f36f1['create']({'key':_0x255130,'iv':_0x236534,'salt':_0x380926});}},_0x3754bb=_0x5f39ec[_0x483000(0x16e)]=_0x10eac6[_0x483000(0x397)]({'cfg':_0x10eac6[_0x483000(0x1fa)][_0x483000(0x397)]({'kdf':_0x4383bd}),'encrypt':function(_0x44dd54,_0x20a5bd,_0x4fc78c,_0x3a5ca4){var _0x2f57f7=_0x483000;_0x3a5ca4=this[_0x2f57f7(0x1fa)][_0x2f57f7(0x397)](_0x3a5ca4);var _0x1262d9=_0x3a5ca4[_0x2f57f7(0x14f)][_0x2f57f7(0x3a5)](_0x4fc78c,_0x44dd54[_0x2f57f7(0x24c)],_0x44dd54[_0x2f57f7(0x327)],_0x3a5ca4[_0x2f57f7(0x372)],_0x3a5ca4[_0x2f57f7(0x20b)]);_0x3a5ca4['iv']=_0x1262d9['iv'];var _0x4ab787=_0x10eac6[_0x2f57f7(0x22a)][_0x2f57f7(0xc5)](this,_0x44dd54,_0x20a5bd,_0x1262d9[_0x2f57f7(0x25e)],_0x3a5ca4);return _0x4ab787[_0x2f57f7(0x305)](_0x1262d9),_0x4ab787;},'decrypt':function(_0x41984b,_0x37b85d,_0x2132c2,_0x5274e2){var _0x2e7730=_0x483000;_0x5274e2=this[_0x2e7730(0x1fa)][_0x2e7730(0x397)](_0x5274e2),_0x37b85d=this[_0x2e7730(0x162)](_0x37b85d,_0x5274e2['format']);var _0x411aa1=_0x5274e2[_0x2e7730(0x14f)][_0x2e7730(0x3a5)](_0x2132c2,_0x41984b[_0x2e7730(0x24c)],_0x41984b[_0x2e7730(0x327)],_0x37b85d[_0x2e7730(0x372)],_0x5274e2[_0x2e7730(0x20b)]);_0x5274e2['iv']=_0x411aa1['iv'];var _0x593ab2=_0x10eac6[_0x2e7730(0x237)][_0x2e7730(0xc5)](this,_0x41984b,_0x37b85d,_0x411aa1[_0x2e7730(0x25e)],_0x5274e2);return _0x593ab2;}});}();}));}(Je)),Je[_0x582111(0x286)];}var Ds=Ve['exports'],si;function Us(){var _0x41950d=_0x49a434;return si||(si=0x1,function(_0xd8ac4,_0x2b9d4b){(function(_0x177f59,_0x532a46,_0x3f0866){var _0x48af3d=_0xbfbb;_0xd8ac4[_0x48af3d(0x286)]=_0x532a46(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x5a151f){var _0x218449=_0xbfbb;return(function(){var _0x550c96=_0xbfbb,_0x575617=_0x5a151f,_0x2d922c=_0x575617[_0x550c96(0x169)],_0x37e676=_0x2d922c['BlockCipher'],_0x41120e=_0x575617[_0x550c96(0x288)],_0xd375d4=[],_0x3c235f=[],_0x378d82=[],_0x22ae83=[],_0x2dae22=[],_0x392374=[],_0x5beac3=[],_0x5438e5=[],_0x145b89=[],_0x2e46b9=[];(function(){for(var _0x1ff0fd=[],_0x222b00=0x0;_0x222b00<0x100;_0x222b00++)_0x222b00<0x80?_0x1ff0fd[_0x222b00]=_0x222b00<<0x1:_0x1ff0fd[_0x222b00]=_0x222b00<<0x1^0x11b;for(var _0x2d8c99=0x0,_0x18814b=0x0,_0x222b00=0x0;_0x222b00<0x100;_0x222b00++){var _0x401a99=_0x18814b^_0x18814b<<0x1^_0x18814b<<0x2^_0x18814b<<0x3^_0x18814b<<0x4;_0x401a99=_0x401a99>>>0x8^_0x401a99&0xff^0x63,_0xd375d4[_0x2d8c99]=_0x401a99,_0x3c235f[_0x401a99]=_0x2d8c99;var _0xa5eae2=_0x1ff0fd[_0x2d8c99],_0x92b297=_0x1ff0fd[_0xa5eae2],_0x2518e5=_0x1ff0fd[_0x92b297],_0x604767=_0x1ff0fd[_0x401a99]*0x101^_0x401a99*0x1010100;_0x378d82[_0x2d8c99]=_0x604767<<0x18|_0x604767>>>0x8,_0x22ae83[_0x2d8c99]=_0x604767<<0x10|_0x604767>>>0x10,_0x2dae22[_0x2d8c99]=_0x604767<<0x8|_0x604767>>>0x18,_0x392374[_0x2d8c99]=_0x604767;var _0x604767=_0x2518e5*0x1010101^_0x92b297*0x10001^_0xa5eae2*0x101^_0x2d8c99*0x1010100;_0x5beac3[_0x401a99]=_0x604767<<0x18|_0x604767>>>0x8,_0x5438e5[_0x401a99]=_0x604767<<0x10|_0x604767>>>0x10,_0x145b89[_0x401a99]=_0x604767<<0x8|_0x604767>>>0x18,_0x2e46b9[_0x401a99]=_0x604767,_0x2d8c99?(_0x2d8c99=_0xa5eae2^_0x1ff0fd[_0x1ff0fd[_0x1ff0fd[_0x2518e5^_0xa5eae2]]],_0x18814b^=_0x1ff0fd[_0x1ff0fd[_0x18814b]]):_0x2d8c99=_0x18814b=0x1;}}());var _0x406e13=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x22b504=_0x41120e[_0x550c96(0x108)]=_0x37e676[_0x550c96(0x397)]({'_doReset':function(){var _0x346224=_0x550c96,_0x795fc8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x346224(0x2b0)])){for(var _0x4bd294=this[_0x346224(0x2cd)]=this['_key'],_0x54cd51=_0x4bd294[_0x346224(0x293)],_0x2f1ee5=_0x4bd294[_0x346224(0x2aa)]/0x4,_0x11a3de=this[_0x346224(0x19d)]=_0x2f1ee5+0x6,_0x58e1f2=(_0x11a3de+0x1)*0x4,_0x22d5cc=this[_0x346224(0x25c)]=[],_0x1825be=0x0;_0x1825be<_0x58e1f2;_0x1825be++)_0x1825be<_0x2f1ee5?_0x22d5cc[_0x1825be]=_0x54cd51[_0x1825be]:(_0x795fc8=_0x22d5cc[_0x1825be-0x1],_0x1825be%_0x2f1ee5?_0x2f1ee5>0x6&&_0x1825be%_0x2f1ee5==0x4&&(_0x795fc8=_0xd375d4[_0x795fc8>>>0x18]<<0x18|_0xd375d4[_0x795fc8>>>0x10&0xff]<<0x10|_0xd375d4[_0x795fc8>>>0x8&0xff]<<0x8|_0xd375d4[_0x795fc8&0xff]):(_0x795fc8=_0x795fc8<<0x8|_0x795fc8>>>0x18,_0x795fc8=_0xd375d4[_0x795fc8>>>0x18]<<0x18|_0xd375d4[_0x795fc8>>>0x10&0xff]<<0x10|_0xd375d4[_0x795fc8>>>0x8&0xff]<<0x8|_0xd375d4[_0x795fc8&0xff],_0x795fc8^=_0x406e13[_0x1825be/_0x2f1ee5|0x0]<<0x18),_0x22d5cc[_0x1825be]=_0x22d5cc[_0x1825be-_0x2f1ee5]^_0x795fc8);for(var _0x47d84b=this[_0x346224(0x16f)]=[],_0xdb795c=0x0;_0xdb795c<_0x58e1f2;_0xdb795c++){var _0x1825be=_0x58e1f2-_0xdb795c;if(_0xdb795c%0x4)var _0x795fc8=_0x22d5cc[_0x1825be];else var _0x795fc8=_0x22d5cc[_0x1825be-0x4];_0xdb795c<0x4||_0x1825be<=0x4?_0x47d84b[_0xdb795c]=_0x795fc8:_0x47d84b[_0xdb795c]=_0x5beac3[_0xd375d4[_0x795fc8>>>0x18]]^_0x5438e5[_0xd375d4[_0x795fc8>>>0x10&0xff]]^_0x145b89[_0xd375d4[_0x795fc8>>>0x8&0xff]]^_0x2e46b9[_0xd375d4[_0x795fc8&0xff]];}}},'encryptBlock':function(_0x4d241f,_0x4c408d){var _0x197f6a=_0x550c96;this[_0x197f6a(0xac)](_0x4d241f,_0x4c408d,this[_0x197f6a(0x25c)],_0x378d82,_0x22ae83,_0x2dae22,_0x392374,_0xd375d4);},'decryptBlock':function(_0x1a7c1b,_0x34bd29){var _0x46d67d=_0x550c96,_0x7bb24=_0x1a7c1b[_0x34bd29+0x1];_0x1a7c1b[_0x34bd29+0x1]=_0x1a7c1b[_0x34bd29+0x3],_0x1a7c1b[_0x34bd29+0x3]=_0x7bb24,this['_doCryptBlock'](_0x1a7c1b,_0x34bd29,this[_0x46d67d(0x16f)],_0x5beac3,_0x5438e5,_0x145b89,_0x2e46b9,_0x3c235f);var _0x7bb24=_0x1a7c1b[_0x34bd29+0x1];_0x1a7c1b[_0x34bd29+0x1]=_0x1a7c1b[_0x34bd29+0x3],_0x1a7c1b[_0x34bd29+0x3]=_0x7bb24;},'_doCryptBlock':function(_0x51ef41,_0x2d40c7,_0x204571,_0x5c133b,_0x3e4ff0,_0x2aa447,_0x200653,_0x2b4dfe){var _0x584152=_0x550c96;for(var _0x5aa8f6=this[_0x584152(0x19d)],_0x1a8a23=_0x51ef41[_0x2d40c7]^_0x204571[0x0],_0x43df73=_0x51ef41[_0x2d40c7+0x1]^_0x204571[0x1],_0x4a7208=_0x51ef41[_0x2d40c7+0x2]^_0x204571[0x2],_0x2e1ae6=_0x51ef41[_0x2d40c7+0x3]^_0x204571[0x3],_0x205388=0x4,_0x3a50fd=0x1;_0x3a50fd<_0x5aa8f6;_0x3a50fd++){var _0xa1aa9d=_0x5c133b[_0x1a8a23>>>0x18]^_0x3e4ff0[_0x43df73>>>0x10&0xff]^_0x2aa447[_0x4a7208>>>0x8&0xff]^_0x200653[_0x2e1ae6&0xff]^_0x204571[_0x205388++],_0x1d46f3=_0x5c133b[_0x43df73>>>0x18]^_0x3e4ff0[_0x4a7208>>>0x10&0xff]^_0x2aa447[_0x2e1ae6>>>0x8&0xff]^_0x200653[_0x1a8a23&0xff]^_0x204571[_0x205388++],_0x30f9a5=_0x5c133b[_0x4a7208>>>0x18]^_0x3e4ff0[_0x2e1ae6>>>0x10&0xff]^_0x2aa447[_0x1a8a23>>>0x8&0xff]^_0x200653[_0x43df73&0xff]^_0x204571[_0x205388++],_0x223f9=_0x5c133b[_0x2e1ae6>>>0x18]^_0x3e4ff0[_0x1a8a23>>>0x10&0xff]^_0x2aa447[_0x43df73>>>0x8&0xff]^_0x200653[_0x4a7208&0xff]^_0x204571[_0x205388++];_0x1a8a23=_0xa1aa9d,_0x43df73=_0x1d46f3,_0x4a7208=_0x30f9a5,_0x2e1ae6=_0x223f9;}var _0xa1aa9d=(_0x2b4dfe[_0x1a8a23>>>0x18]<<0x18|_0x2b4dfe[_0x43df73>>>0x10&0xff]<<0x10|_0x2b4dfe[_0x4a7208>>>0x8&0xff]<<0x8|_0x2b4dfe[_0x2e1ae6&0xff])^_0x204571[_0x205388++],_0x1d46f3=(_0x2b4dfe[_0x43df73>>>0x18]<<0x18|_0x2b4dfe[_0x4a7208>>>0x10&0xff]<<0x10|_0x2b4dfe[_0x2e1ae6>>>0x8&0xff]<<0x8|_0x2b4dfe[_0x1a8a23&0xff])^_0x204571[_0x205388++],_0x30f9a5=(_0x2b4dfe[_0x4a7208>>>0x18]<<0x18|_0x2b4dfe[_0x2e1ae6>>>0x10&0xff]<<0x10|_0x2b4dfe[_0x1a8a23>>>0x8&0xff]<<0x8|_0x2b4dfe[_0x43df73&0xff])^_0x204571[_0x205388++],_0x223f9=(_0x2b4dfe[_0x2e1ae6>>>0x18]<<0x18|_0x2b4dfe[_0x1a8a23>>>0x10&0xff]<<0x10|_0x2b4dfe[_0x43df73>>>0x8&0xff]<<0x8|_0x2b4dfe[_0x4a7208&0xff])^_0x204571[_0x205388++];_0x51ef41[_0x2d40c7]=_0xa1aa9d,_0x51ef41[_0x2d40c7+0x1]=_0x1d46f3,_0x51ef41[_0x2d40c7+0x2]=_0x30f9a5,_0x51ef41[_0x2d40c7+0x3]=_0x223f9;},'keySize':0x100/0x20});_0x575617[_0x550c96(0x108)]=_0x37e676[_0x550c96(0x26e)](_0x22b504);}()),_0x5a151f[_0x218449(0x108)];}));}(Ve)),Ve[_0x41950d(0x286)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x49a434(0x286)],ai;function xs(){var _0x405010=_0x49a434;return ai||(ai=0x1,function(_0x4663aa,_0x5a3343){(function(_0x1e08e6,_0x36b11d){var _0x548feb=_0xbfbb;_0x4663aa[_0x548feb(0x286)]=_0x36b11d(ie());}(Ls,function(_0x5b6447){var _0x4379bc=_0xbfbb;return _0x5b6447[_0x4379bc(0x226)][_0x4379bc(0x3ac)];}));}(Xe)),Xe[_0x405010(0x286)];}var Ms=xs();function _0x5c29(){var _0x1a2178=['hasher','members$','30297sXGCjF','/object','_oKey','splice','\x20to\x20','iterations','__esModule','updatePermissionPoint','_onRecvEvent','_snapshotService','getUnitId','_getAPIPrefixPath','[OfflineState]:\x20received\x20acknowledgement.','APPLY_NON_SEQUENTIAL_REVISION','_getLoginPath','save\x20fail\x20reason\x20is\x20','CONFLICT','JOIN_ROOM_FULL','ciphertext','commentUpdateEvent','connection\x20error','message$','415MHNpUN','deleteCollaborator','json','enc','onSendChangeset','setConfig','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','encrypt','Cipher','listCollaborators','concat','_socketService','_onLocalMutation','_resendTimer','unsubscribe','USERS_ENTER','Pkcs7','COMPLETION_FINISHED','_state$','BlockCipher','decrypt','getActiveSheet','byteLength','getMemberID','_clearUndo','function','disposeWithMe','_clearRedo','_onConnectionFailed','filter','EvpKDF','reverse','stringify','localCacheService','error','getCurrentSelections','HmacSHA1','onRemoteAck','onlyLocal','UNIVER_SHEET','allowed','keySize','104298pgcrpf','loadSheet','_handler','session.room-full','capture','univer-pro.collaboration-client-socket-service','_imageSourceCache','rng','create','listRoles','min','NO_OTHER_CLIENTS_EDITING','retryConnectingInterval','editingUnit','unitID','_keySchedule','_collaborationPaused','key','transformSelections','_getCurrentRevision','slice','avatar','updatePermissionObjEvent','addHandlerCallback','onTransformSelections','YUUMI_RATE_OVER_LIMIT','CHANGESET_ACK','IDLE','_loadDoc','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MOBILE_HAS_BEEN_BOUND','_singleActiveUnitService','_shouldReportTelemetry','_createHelper','__Key__','msCrypto','socket$','default','MD5','loadOfflineData','loginUrlKey','params','m2Prime','SUBMIT_CHANGESET_TIMEOUT','onTransformRemoteChangesetByIMECache','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','sheets','/universer-api/comb','hasOwnProperty','updateOfflineData','COMPRESS_MUTATION_APPLY','APPLY_DUPLICATED','FETCH_MISS','saveSheetBlock','isArray','_createHmacHelper','getLatestCsReqIdBySid','exports','symbol','algo','_clearHeartbeatTimer','find','Error\x20on\x20receiving\x20event','apply','cmd','[CollaborationEntity]','_localeService','_getUndoStack','_entities','_replaceFileID','words','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[OfflineState]:\x20received\x20changeset.','csRejEvent','FETCH_MISSING','fetchMissingChangesets','UNIVER_PROJECT','24431792NgbjQN','_sendingTimer','unknown','addImageSourceCache','[CollaborationUndoRedoService]','[FetchMissState]','getTypeOfUnitDisposed$','_ENC_XFORM_MODE','pending','joinRsp','OTHER_CLIENTS_EDITING','_updateStatus','_substituteUndoStack','_tryReconnect','COLLAB_WEB_SOCKET_URL','LOCAL_CACHE_INTERVAL','sigBytes','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','resend','_compressMutationService','_toggleOnline','AWAITING','_key','objectType','createDecryptor','Undefined','ceil','c1Prime','_executeRemoteChangeset','_injector','HEARTBEAT_INTERVAL','_collaborationSessionService','_onRemoteChangeset','JOIN_ROOM_PERMISSION_DENIED','toLowerCase','/block/','getInterceptPoints','_retryCount','_createSocket','_substituteRedoStack','_sender','formatter','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','rev','mode','next','UnitSnapshot','/new_changes','\x0aCurrent:\x20','prototype','_removeRoom','_keyPriorReset','AWAITING_WITH_PENDING','_univerInstanceService','_clearLocalCache','_transformService','joinEvent','_candidateSocket','status$','_timeoutTimer','_transformIMECache','_onRemoteRetry','_collaborationUIEventService','/universer-api/snapshot/','_sendHeartbeat','_transformSelections','_state','_remoteChangesetQueue','textRanges','_process','INVALID_ARGUMENT','size','disableLocalCache','_collabSessionService','[UniverCollaborationClientPlugin]','padding','ws://127.0.0.1:8000/universer-api/comb/connect','patch','snapshotServerUrl','location','LICENSE_MAX_UNITS_EXCEEDED','_socketReady','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','fromCollab','_telemetryService','close','getUnitStatus$','getConfig','emitEvent','decryptBlock','_scheduleCollaborationTimeoutTimer','collaboration_new_changeset','_entityInit$','createEncryptor','unitId\x20is\x20not\x20found','RECV','toggleOnline','parse','map','not_collab','UNAUTHENTICATED','238035KauaXD','_waitCount','incrementRevOfUnit','INVITE_CODE_ALREADY_BOUND','APPLY_REVISION_CONFILICT','_isPermissionRej','mixIn','MUTATION','_tryEnsureSocket','revision','_logService','every','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_map','_clearCollaborationTimeoutTimer','get','fetching\x20missing\x20changesets\x20from\x20','PERMISSION_DENIED','getTime','&source=','_permissionService','[CollaborationSessionService]','SNAPSHOT_URL_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','signUrlServerUrl','ERROR_IMAGE','_changesetSessionId','\x20in\x20_schedule.','_snapshotServerService','_httpService','LICENSE_IMPORT_SIZE_EXCEEDED','result','session.room-permission-denied','_iv','_status$','format','getWorkbookSelections','_telemetryInfo','withCredentials','_socket','ivSize','registerHTTPInterceptor','LEAVE','_onRemoteRejected','onCommentUpdate','INVITE_CODE_REQUIRED','5257460ZjyvlE','UserProfileImg','unitId','_cipher','dispose$','COMPRESS_MUTATION_SEND','RETRY_CONNECTING_MAX_COUNT','/universer-api/uniscript','type','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','failed\x20to\x20apply\x20missed\x20changesets!','_doFinalize','_socketMessageSubscription','repeat','status','onTransformRemoteChangesetByStateCache','_sessions','collaMsg','_getAPIPrefix','charAt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','join','YUUMI_UNABLE_LOAD_URL','awaiting_with_pending','getCurrentRevOfUnit','shouldCloseConn','ERROR_EXCEED_SIZE','startTime','_getSignURL','close$','USERS_LEAVE','image/bmp','NoPadding','_schedule','responseType','post','_onMessage','_resendWithTimeout','list','/role','body','_eventService','href','LIVESHARE_NEW_HOST','_waitForHeartbeatResponse','PY_RUNTIME_SCRIPT_ERROR','_networkConditionService','_change$','encryptBlock','_fetchMissChangesets','JOIN_ROOM_NOT_EXISTS','randomUUID','_localCacheService','USER_NOT_INVITED_CODE','getOwnPropertyDescriptor','CHANGESET_SHOULD_RETRY','putCollaborators','_sheetTransformSelectionsService','includes','transformMutationsWithChangeset','MSG_FOR_ERROR','processBlock','update','string','_changesetReqId','INGEST','__creator','Hex','salt','[SyncedState]:\x20received\x20rejection.','_onOffline','event$','StreamCipher','_undoRedoService','startsWith','range','indexOf','dispose','_revisionService','onRemoteRej','CLOSE_ROOM','_joinRoom','bind','Univer','_instanceService','UPDATE_PERMISSION_OBJ','baseRev','_retryConnectingTimer','univer-pro.collaboration-client.single-active-unit-service','_updateState','objectID','_resendTimeout','getSheetBlock','_showConflictNotification','forEach','PENDING','_getUploadFileURL','updateCursorEvent','collaboratorID','SUCCUSS','_HTTPService','367577DeYuaJ','downloadEndpointUrl','OFFLINE','createCollaborator','extend','Failed\x20to\x20update\x20permission\x20point','fetchThroughInterceptors','_nDataBytes','_event$','LIVESHARE_REQUEST_HOST','getImage','_emitMembers','UPDATE_CURSOR','submit\x20changeset\x20error!','has','roomInfos','_minBufferSize','SUBMIT_CHANGESET','execute','finalize','_clearTimeoutTimer','WordArray','POST','ONLINE','SNAPSHOT_INVALID_SNAPSHOT','Utf8','onRemoteChangeset','collabWebSocketUrl','LIVESHARE_OPERATION','UNIVER_SLIDE','reject','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objectActions','routeKey','confirm','uploadFileServerUrl','[PendingState]:\x20received\x20acknowledgement.','generateRandomId','_clearRetryConnectingTimer','transformChangesets','_doCryptBlock','reqId','_initMergeInterceptor','_createHandler','isPermissionRej','unpad','fetch_missing','_updateLocalCache','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','authzUrl','_stopTelemetryCollaborationNewChangeset','_unlockTransition','/universer-api/file/{fileID}/sign-url','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REJECT','_checkMissing','telemetry\x20info\x20is\x20not\x20initialized','_userManagerService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onJoinRoomEvent','_append','charCodeAt','_hash','onMissingChangesets','changesets','call','change$','getRandomValues','_collaborationTimeoutTimer','HEARTBEAT','enableSingleActiveInstanceLock','getAllMembers','HttpImport','/universer-api/oidc/authpage','pluginName','clone','_unitID','SHOULD_CLOSE_CONN','/universer-api/authz','BufferedBlockAlgorithm','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','requireSession','_getDownloadEndpointURL','onTransformIME','pad','fromCharCode','/object/','getDeserializedSheetBlock','_lockTransition','/resources','saveChangeset','getUnit','Hasher','Latin1','randomBytes','LOGIN_URL_KEY','_rescheduleHeartbeat','getMember','_commandService','closeSession','leaveEvent','originalMeta','_type','loadDoc','collabSubmitChangesetUrl','onRemoteRetry','getResourcesRequest','ALREADY_EXISTS','awaiting','HELLO','DEFAULT_FILE_NAME','UNIVER_DOC','compute','crypto','code','?size=','onStateChange','getCurrentUser','getUnitOnRev','?url=','_decreaseWaiting','set','push','duration','floor','byteOffset','append','JOIN','_initCloseConn','FAIL','clamp','userID','AES','_transformStateCache','TOO_MANY_REQUESTS','_transitionLocked','_getSendChangesetTimeout','values','/collaborator','reconnect','selections','People','catch','_applyRemoteChangeset','_onCombEvent','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_members$','_members','_initUnitPermissionChange','JOINING','COLLAB_SUBMIT_CHANGESET_URL','from','COMMENT_UPDATE','_doCreateSocket','_iKey','encode','_prevBlock','enableAuthServer','subscribe','requestParams','url','_startTelemetryCollaborationNewChangeset','INTERNAL_ERROR','Base64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','LICENSE_DISTRO_REJECTED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_throwTelemetryCollaborationNewChangeset','offline','headers','UNRECOGNIZED','delete','PSEUDO_FETCH_MISSING_RESULT','onTransformState','sin','_onConflict','YUUMI_SUBSCRIPTION_NOT_FOUND','_registerDependencies','INVALID_INVITE_CODE','_doReset','HMAC','session.join-failed','UNKNOWN_CODE','APPLY_PERMISSION_DENIED','interceptor','FileId','eventID','Base','transformUndoRedo','updateMember','put','reset','now','_clearScheduledTask','sessionStatus$','auth.needGotoLoginAlert','_syncEditingCollabCursor','SEND_CHANGESET_TIMEOUT','UNIVER_UNKNOWN','UNKNOWN_CMD','CONNECTOR_DATA_TOO_LARGE','random','toString','kdf','max','state$','_awaitingChangeset','_reverseMap','1469342fIxAWG','_sendHeartbeatTimer','createSocket','mutations','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','$super','pauseCollaboration','pipe','src','_onConnectionOpen','[DataLoaderService]','/universer-api/stream/file/upload','sessionStatus','ENSURE_SNAPSHOT_EXECUTION','_parse','_createInitialStateImpl','BlockCipherMode','JOIN_ROOM_FAILED','LIVESHARE_TERMINATE','localeService','session','lib','entries','socketService','_onFetchMissResult','NOT_COLLAB','PasswordBasedCipher','_invKeySchedule','/rev/','CHANGESET_REVISION_CONFILICT','memberID','_socket$','CipherParams','[SyncedState]:\x20received\x20acknowledgement.','permissionRejEvent','resolve','add','/fetchmissing?from=','createInstance','_queuedRemoteChangesets','UUID','CBC','_memberService','reduce','csAckEvent','x-univer-host','initWorkbookPermissionChange','_exhaustRemoteChangesetQueue','PERSON','UnitEmbedded','defineProperty','awaitingChangeset','sid','_mode','equals','_commentUpdate$','resourceIDs','_handlerCallback','clear','onSyncEditingCollabCursor','hostname','session.room-not-exists','_loadSheet','_onUserLeave','appendMutation','debug','then','HEARTBEAT_TIMEOUT','state','action','CHANGESET_REJ','complete','readAsDataURL','_nRounds','getRoom','_replayCachedMutations','_xformMode','uniscriptRunEvent','getSheetId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initRequestHeader','EMAIL_HAS_BEEN_BOUND','send','_incrementRevisionNumber','LICENSE_EXPORT_SIZE_EXCEEDED','SOCKET_FAILED_RETRY','OpenSSL','sendChangesetTimeout','_transformStack','collaboration-client.local-cache-service','_toggleOffline','_submitChangeset','_initDependencies','UNISCRIPT_RUN','members','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doProcessBlock','socket\x20close','/universer-api/snapshot','HttpExport','getSnapshotAPIPath','_transformRemoteChangesetByIMECache','_configService','_startCollaboration','SOCKET_FAILED','_acknowledgedAwaitingChangeset','blockSize','removeMember','fetchMiss','_listenToNetworkCondition','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SNAPSHOT_SERVER_URL_KEY','data','_redoStacks','onload','SNAPSHOT_HAS_BEEN_REMOVED','Decryptor','[OfflineState]:\x20received\x20rejection.','getValue','AUTHZ_URL_KEY','init','_DEC_XFORM_MODE','_onUserJoin','name','SHA1','Encryptor','&assign=','copyFileMeta','replace','getTypeOfUnitAdded$','open$','executeCommand','_getCtorByUniverType','snapshot','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NOT_FOUND','NEW_CHANGESETS','encodeURIComponent','subject','PERMISSION_REJ','getCollabEntity','getCollabEntity$','socket\x20open.','UNDEFINED','_createInitialState','_unitInfo$','liveShareNewHost','readyForCollab','_scheduleCompleteTimestamp','_roomCreated$','_config','error$','asObservable','_roomMembers','toggleOffline','_hasher','collaborators','_data','image/gif','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRemoteACK','INVITE_CODE_HAS_BEEN_UES','length','roles','_pendingMutations','editing\x20status\x20changed\x20to','cfg','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getFocusedUnit','substr','actions','file','image/jpeg','stopTime','/unit/','c2Prime','LIVESHARE_FETCH_OPERATIONS','BASE64','_disableEditing','OTHER_CLIENT_EDITING','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sessionStatus$','_init'];_0x5c29=function(){return _0x1a2178;};return _0x5c29();}const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x49a434(0x286)],oi;function Hs(){var _0x4d3b4c=_0x49a434;return oi||(oi=0x1,function(_0xe1ea51,_0x1c63d8){(function(_0x39249e,_0x400a92){var _0x321c63=_0xbfbb;_0xe1ea51[_0x321c63(0x286)]=_0x400a92(ie());}($s,function(_0x54ae18){var _0x307dd9=_0xbfbb;return(function(){var _0x842360=_0xbfbb;if(typeof ArrayBuffer==_0x842360(0x23c)){var _0x541c78=_0x54ae18,_0x86a54f=_0x541c78[_0x842360(0x169)],_0x281813=_0x86a54f['WordArray'],_0x9a2762=_0x281813['init'],_0x34d8be=_0x281813['init']=function(_0x3226b0){var _0x5b0523=_0x842360;if(_0x3226b0 instanceof ArrayBuffer&&(_0x3226b0=new Uint8Array(_0x3226b0)),(_0x3226b0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3226b0 instanceof Uint8ClampedArray||_0x3226b0 instanceof Int16Array||_0x3226b0 instanceof Uint16Array||_0x3226b0 instanceof Int32Array||_0x3226b0 instanceof Uint32Array||_0x3226b0 instanceof Float32Array||_0x3226b0 instanceof Float64Array)&&(_0x3226b0=new Uint8Array(_0x3226b0['buffer'],_0x3226b0[_0x5b0523(0x101)],_0x3226b0['byteLength'])),_0x3226b0 instanceof Uint8Array){for(var _0x1e194f=_0x3226b0[_0x5b0523(0x239)],_0x11e150=[],_0x48cc6a=0x0;_0x48cc6a<_0x1e194f;_0x48cc6a++)_0x11e150[_0x48cc6a>>>0x2]|=_0x3226b0[_0x48cc6a]<<0x18-_0x48cc6a%0x4*0x8;_0x9a2762[_0x5b0523(0xc5)](this,_0x11e150,_0x1e194f);}else _0x9a2762[_0x5b0523(0x28c)](this,arguments);};_0x34d8be[_0x842360(0x2cb)]=_0x281813;}}()),_0x54ae18['lib'][_0x307dd9(0x3a8)];}));}(Ze)),Ze[_0x4d3b4c(0x286)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x2101a9=_0x49a434;return ci||(ci=0x1,function(_0x2de552,_0x2ac5a9){(function(_0x56da82,_0x4307e8,_0x4c36b0){_0x2de552['exports']=_0x4307e8(ie(),Ai());}(Fs,function(_0x2eade6){var _0x1ae02f=_0xbfbb;return _0x2eade6[_0x1ae02f(0xd8)][_0x1ae02f(0x34e)]={'pad':function(){},'unpad':function(){}},_0x2eade6[_0x1ae02f(0xd8)]['NoPadding'];}));}(Qe)),Qe[_0x2101a9(0x286)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x5c4215,_0x2044e6){var _0x42c3bf=_0x49a434;const _0x37219a=_0x2044e6-_0x5c4215[_0x42c3bf(0x1f6)]%_0x2044e6,_0x2a29a2=String[_0x42c3bf(0xd9)](_0x37219a)[_0x42c3bf(0x33b)](_0x37219a);return _0x5c4215+_0x2a29a2;}function Ys(_0x27600e,_0x52134b){var _0x47312d=_0x49a434;const _0x240dce=js['random'](0x10),_0x3523a7=Ks(_0x27600e,0x10),_0x38764b=ws['encrypt'](ks[_0x47312d(0x2fb)](_0x3523a7),ri[_0x47312d(0x2fb)](_0x52134b),{'iv':_0x240dce,'padding':Ws});return _0x240dce[_0x47312d(0x22d)](_0x38764b['ciphertext'])[_0x47312d(0x14e)](ri);}function qs(){var _0x2ce056=_0x49a434;const _0x270522=_0x5c6942()[_0x2ce056(0x26f)];if(_0x270522){const _0x2d32c6={'time':Math[_0x2ce056(0x100)](Date[_0x2ce056(0x144)]()/0x3e8),'domain':location[_0x2ce056(0x190)]};return Ys(JSON[_0x2ce056(0x243)](_0x2d32c6),_0x270522);}}var zs=Object[_0x49a434(0x364)],Js=(_0x11f571,_0x5713ab,_0xcbe1dc,_0x377152)=>{var _0x270a72=_0x49a434;for(var _0x1ad5b0=_0x377152>0x1?void 0x0:_0x377152?zs(_0x5713ab,_0xcbe1dc):_0x5713ab,_0x22aed3=_0x11f571[_0x270a72(0x1f6)]-0x1,_0x9c56f3;_0x22aed3>=0x0;_0x22aed3--)(_0x9c56f3=_0x11f571[_0x22aed3])&&(_0x1ad5b0=_0x9c56f3(_0x1ad5b0)||_0x1ad5b0);return _0x1ad5b0;},Xs=(_0x3b1391,_0x18b9a6)=>(_0x20ec7c,_0x2eaf01)=>_0x18b9a6(_0x20ec7c,_0x2eaf01,_0x3b1391);let at=class{constructor(_0x325bc2){var _0x3c170b=_0x49a434;this['_httpService']=_0x325bc2,this[_0x3c170b(0x1a4)]();}['_initRequestHeader'](){var _0x342092=_0x49a434;this['_httpService'][_0x342092(0x328)]({'interceptor':(_0xd2a852,_0x28544e)=>{var _0x3da6e8=_0x342092;const _0xe9ff4a=_0xd2a852['headers'],_0x5e83f8=qs();return _0x5e83f8&&_0xe9ff4a[_0x3da6e8(0xfd)](_0x3da6e8(0x181),_0x5e83f8),_0x28544e(_0xd2a852);}});}};at=Js([Xs(0x0,_0x364c0e(_0x260ed8))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x1d1689,_0x3e55bd,_0xcda563,_0x2470a4)=>{var _0x934159=_0x49a434;for(var _0x1ade44=_0x2470a4>0x1?void 0x0:_0x2470a4?Zs(_0x3e55bd,_0xcda563):_0x3e55bd,_0x49208f=_0x1d1689[_0x934159(0x1f6)]-0x1,_0x3d6f07;_0x49208f>=0x0;_0x49208f--)(_0x3d6f07=_0x1d1689[_0x49208f])&&(_0x1ade44=_0x3d6f07(_0x1ade44)||_0x1ade44);return _0x1ade44;},mt=(_0x41160e,_0x56df87)=>(_0x1cc459,_0x387b3f)=>_0x56df87(_0x1cc459,_0x387b3f,_0x41160e);let bt=class extends _0x23f001{constructor(_0x4dd861,_0x58f04a,_0x1ac5cc){var _0x3f8cc8=_0x49a434;super(),N(this,_0x3f8cc8(0x1e5),new _0x45628f(null)),N(this,'unitInfo$',this[_0x3f8cc8(0x1e5)][_0x3f8cc8(0x1ec)]()),(this[_0x3f8cc8(0x309)]=_0x4dd861,this['_snapshotService']=_0x58f04a,this['_localCacheService']=_0x1ac5cc);}async['loadUnit'](_0x281248,_0x49b20b,_0x30b371){var _0x2721e6=_0x49a434;this[_0x2721e6(0x1e5)]['next']({'unitId':_0x281248,'type':_0x49b20b,'subUnitId':_0x30b371});let _0x629067=null;switch(_0x49b20b){case Q[_0x2721e6(0x24a)]:{_0x629067=await this[_0x2721e6(0x192)](_0x281248);break;}case Q[_0x2721e6(0xf3)]:{_0x629067=await this[_0x2721e6(0x269)](_0x281248);break;}default:{this['_logService'][_0x2721e6(0x245)](_0x2721e6(0x15e),_0x2721e6(0x1da));break;}}return _0x629067;}async[_0x49a434(0x192)](_0x5abe63){var _0x49c2fd=_0x49a434,_0x3ae017;let _0xcd5a9d=0x0;const _0x4fad5c=await((_0x3ae017=this['_localCacheService'])==null?void 0x0:_0x3ae017[_0x49c2fd(0x274)](_0x5abe63));return _0x4fad5c&&(_0x4fad5c[_0x49c2fd(0x187)]||_0x4fad5c[_0x49c2fd(0x157)][_0x49c2fd(0x1f6)]!==0x0)&&(_0xcd5a9d=_0x4fad5c[_0x49c2fd(0x2c5)]),_0xcd5a9d===0x0&&this[_0x49c2fd(0x309)][_0x49c2fd(0x195)](_0x49c2fd(0x15e),_0x49c2fd(0x316)),this['_snapshotService'][_0x49c2fd(0x24e)](_0x5abe63,_0xcd5a9d);}async[_0x49a434(0x269)](_0x5db65a){var _0x504b4f=_0x49a434,_0x303048;let _0x134cae=0x0;const _0x448b8b=await((_0x303048=this['_localCacheService'])==null?void 0x0:_0x303048[_0x504b4f(0x274)](_0x5db65a));return _0x448b8b&&(_0x448b8b[_0x504b4f(0x187)]||_0x448b8b[_0x504b4f(0x157)]['length']!==0x0)&&(_0x134cae=_0x448b8b['rev']),_0x134cae===0x0&&this[_0x504b4f(0x309)][_0x504b4f(0x195)](_0x504b4f(0x15e),_0x504b4f(0x316)),this[_0x504b4f(0x216)][_0x504b4f(0xeb)](_0x5db65a,_0x134cae);}};bt=Qs([mt(0x0,_0x520907),mt(0x1,_0x364c0e(_0xf7d1ed)),mt(0x2,_0x1cf777(J))],bt);var er=Object[_0x49a434(0x364)],tr=(_0x5c1dc7,_0x529512,_0x46acef,_0x856ee1)=>{for(var _0x1cf5d7=_0x856ee1>0x1?void 0x0:_0x856ee1?er(_0x529512,_0x46acef):_0x529512,_0x44fda1=_0x5c1dc7['length']-0x1,_0x185669;_0x44fda1>=0x0;_0x44fda1--)(_0x185669=_0x5c1dc7[_0x44fda1])&&(_0x1cf5d7=_0x185669(_0x1cf5d7)||_0x1cf5d7);return _0x1cf5d7;},gt=(_0x31b7ed,_0x506044)=>(_0xf280f0,_0x30df5f)=>_0x506044(_0xf280f0,_0x30df5f,_0x31b7ed);const ir=['image/png',_0x49a434(0x200),'image/jpg',_0x49a434(0x1f2),_0x49a434(0x34d)],nr=0x5*0x400*0x400,sr=_0x49a434(0x115),rr=_0x49a434(0x15f),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x49a434(0xb8);let yt=class{constructor(_0x3c2b58,_0x43fc0d,_0x481b99){var _0x2aa57f=_0x49a434;N(this,_0x2aa57f(0x300),0x0),N(this,_0x2aa57f(0x35d),new _0x5a5c70()),N(this,_0x2aa57f(0xc6),this[_0x2aa57f(0x35d)]),N(this,_0x2aa57f(0x253),new Map()),(this['_httpService']=_0x3c2b58,this[_0x2aa57f(0x1ba)]=_0x43fc0d,this['_univerInstanceService']=_0x481b99);}['setWaitCount'](_0xc8a8fd){var _0x5b74b6=_0x49a434;this['_waitCount']=_0xc8a8fd,this[_0x5b74b6(0x35d)][_0x5b74b6(0x2c7)](_0xc8a8fd);}['getImageSourceCache'](_0x4f8b62,_0x40d38b){var _0x212cce=_0x49a434;if(_0x40d38b===_0x468dab[_0x212cce(0x205)]){const _0xdfd87d=new Image();return _0xdfd87d[_0x212cce(0x15c)]=_0x4f8b62,_0xdfd87d;}return this[_0x212cce(0x253)]['get'](_0x4f8b62);}[_0x49a434(0x29d)](_0x166e02,_0x581733,_0x174e7d){var _0x370213=_0x49a434;_0x581733===_0x468dab['BASE64']||_0x174e7d==null||this[_0x370213(0x253)][_0x370213(0xfd)](_0x166e02,_0x174e7d);}async[_0x49a434(0x39d)](_0x3f676b){var _0xefc60d=_0x49a434;try{const _0x284774=this[_0xefc60d(0x292)](this[_0xefc60d(0x34a)](),''+_0x3f676b),_0x41bbc5=(await this[_0xefc60d(0x31c)][_0xefc60d(0x30e)](_0x284774))[_0xefc60d(0x356)];if(_0x41bbc5[_0xefc60d(0x245)]&&_0x41bbc5['error'][_0xefc60d(0xf6)]===Si['OK']){const _0x4e7e18=new URL(_0x41bbc5[_0xefc60d(0x124)],this[_0xefc60d(0xd6)]())[_0xefc60d(0x14e)]();return Promise[_0xefc60d(0x177)](_0x4e7e18);}return Promise[_0xefc60d(0xa2)](_0x41bbc5[_0xefc60d(0x245)]);}catch(_0x3482ae){return Promise[_0xefc60d(0xa2)](_0x3482ae);}}async['saveImage'](_0x3237e6){var _0x270600=_0x49a434;let _0x1f4720='';if(!ir[_0x270600(0x368)](_0x3237e6['type']))return this['_decreaseWaiting'](),Promise[_0x270600(0xa2)](new Error(_0x58bfe3['ERROR_IMAGE_TYPE']));if(_0x3237e6['size']>nr)return this[_0x270600(0xfc)](),Promise[_0x270600(0xa2)](new Error(_0x58bfe3[_0x270600(0x348)]));try{const _0x2e707e=new FormData();_0x2e707e[_0x270600(0x102)](_0x270600(0x1ff),_0x3237e6);const _0x3b4114=this[_0x270600(0x2cf)][_0x270600(0x1fc)](),_0x10a182=_0x3b4114==null?void 0x0:_0x3b4114[_0x270600(0x217)]();if(!_0x10a182)throw new Error(_0x270600(0x2f8));const _0x59296a=this['_getUploadFileURL']()+_0x270600(0xf7)+_0x3237e6[_0x270600(0x2e1)][_0x270600(0x14e)]()+_0x270600(0x312)+Ei[_0x270600(0x185)]+_0x270600(0x1d2)+encodeURIComponent(_0x10a182),_0x3f022a=await(await fetch(_0x59296a,{'method':'POST','body':_0x2e707e}))[_0x270600(0x225)]();if(typeof _0x3f022a[_0x270600(0x13d)]!=_0x270600(0x36d))return this[_0x270600(0xfc)](),Promise[_0x270600(0xa2)](new Error(_0x58bfe3[_0x270600(0x318)]));_0x1f4720=_0x3f022a[_0x270600(0x13d)];}catch{return this[_0x270600(0xfc)](),Promise[_0x270600(0xa2)](new Error(_0x58bfe3[_0x270600(0x318)]));}return new Promise((_0x304ac9,_0x1bb41e)=>{var _0x2bd7df=_0x270600;const _0x4bbd36=new FileReader();_0x4bbd36[_0x2bd7df(0x19c)](_0x3237e6),_0x4bbd36[_0x2bd7df(0x1c6)]=_0x4f46ac=>{var _0x2db9c1=_0x2bd7df,_0x2a1e49;const _0xa5ebb8=(_0x2a1e49=_0x4f46ac['target'])==null?void 0x0:_0x2a1e49[_0x2db9c1(0x31e)];if(_0xa5ebb8==null){this['_decreaseWaiting'](),_0x1bb41e(new Error(_0x58bfe3['ERROR_IMAGE']));return;}const _0x14f93f=_0x46fdd3[_0x2db9c1(0xa9)](0x6);_0x304ac9({'imageId':_0x14f93f,'imageSourceType':_0x468dab[_0x2db9c1(0x17c)],'source':_0x1f4720,'base64Cache':_0xa5ebb8,'status':_0x58bfe3[_0x2db9c1(0x391)]}),this[_0x2db9c1(0xfc)]();};});}[_0x49a434(0x38e)](){var _0x1de5b8=_0x49a434,_0x52b48e,_0x31e39d;const _0x31652b=this['_configService'][_0x1de5b8(0x2f1)](sr),_0x969c72=this[_0x1de5b8(0x1ba)][_0x1de5b8(0x2f1)](q);return(_0x31e39d=(_0x52b48e=_0x969c72==null?void 0x0:_0x969c72[_0x1de5b8(0xa7)])!=null?_0x52b48e:_0x31652b)!=null?_0x31e39d:rr;}[_0x49a434(0x34a)](){var _0x146009=_0x49a434,_0x2db60e,_0x177d19;const _0x3ffe8d=this[_0x146009(0x1ba)]['getConfig'](ar),_0x6b8b65=this['_configService'][_0x146009(0x2f1)](q);return(_0x177d19=(_0x2db60e=_0x6b8b65==null?void 0x0:_0x6b8b65[_0x146009(0x317)])!=null?_0x2db60e:_0x3ffe8d)!=null?_0x177d19:or;}['_getDownloadEndpointURL'](){var _0x3bcf95=_0x49a434,_0x5e298c;const _0x52ac9f=this['_configService']['getConfig'](q);return(_0x5e298c=_0x52ac9f==null?void 0x0:_0x52ac9f[_0x3bcf95(0x394)])!=null?_0x5e298c:location['origin'];}[_0x49a434(0x292)](_0x2f5fb2,_0x37b1ad){var _0x44eac6=_0x49a434;return _0x2f5fb2[_0x44eac6(0x1d4)]('{fileID}',_0x37b1ad);}['_decreaseWaiting'](){var _0x54987d=_0x49a434;this[_0x54987d(0x300)]-=0x1,this[_0x54987d(0x35d)][_0x54987d(0x2c7)](this['_waitCount']);}};yt=tr([gt(0x0,_0x364c0e(_0x260ed8)),gt(0x1,_0x279bb6),gt(0x2,_0x364c0e(_0x397484))],yt);var cr=Object[_0x49a434(0x364)],hr=(_0x239799,_0x83d02,_0x36583f,_0x2c74ff)=>{var _0x4d5f15=_0x49a434;for(var _0x5b5dd9=_0x2c74ff>0x1?void 0x0:_0x2c74ff?cr(_0x83d02,_0x36583f):_0x83d02,_0x2ec38a=_0x239799[_0x4d5f15(0x1f6)]-0x1,_0x53071f;_0x2ec38a>=0x0;_0x2ec38a--)(_0x53071f=_0x239799[_0x2ec38a])&&(_0x5b5dd9=_0x53071f(_0x5b5dd9)||_0x5b5dd9);return _0x5b5dd9;},hi=(_0x43b479,_0x21944a)=>(_0x4c5724,_0x1aabe7)=>_0x21944a(_0x4c5724,_0x1aabe7,_0x43b479);const _r=_0x49a434(0xd2);let Ot=class{constructor(_0x4028e1,_0x26259f){var _0x52fdcf=_0x49a434;this[_0x52fdcf(0x1ba)]=_0x4028e1,this[_0x52fdcf(0x392)]=_0x26259f;}[_0x49a434(0x218)](){var _0x26d7e4=_0x49a434,_0x150ca9,_0x3f5a12;const _0x3f8ef8=this[_0x26d7e4(0x1ba)]['getConfig'](Ni),_0x2c2f3d=this[_0x26d7e4(0x1ba)][_0x26d7e4(0x2f1)](q);return(_0x3f5a12=(_0x150ca9=_0x2c2f3d==null?void 0x0:_0x2c2f3d['authzUrl'])!=null?_0x150ca9:_0x3f8ef8)!=null?_0x3f5a12:_r;}async['list'](_0x16484b){var _0x17422=_0x49a434;const _0x2269ed=this[_0x17422(0x218)]()+_0x17422(0x10e);return{'list':[{'title':_0x17422(0x111),'mentions':(await this[_0x17422(0x392)][_0x17422(0x30e)](_0x2269ed,{'params':{'objectID':_0x16484b[_0x17422(0x32f)],'unitID':_0x16484b[_0x17422(0x32f)]}}))[_0x17422(0x356)][_0x17422(0x1f0)]['map'](_0x129a8a=>({'objectId':_0x129a8a['id'],'name':_0x129a8a[_0x17422(0x1de)][_0x17422(0x1cf)],'metadata':{'icon':_0x129a8a[_0x17422(0x1de)][_0x17422(0x262)]},'label':_0x129a8a[_0x17422(0x1de)][_0x17422(0x1cf)],'objectType':_0x598166[_0x17422(0x184)]})),'metadata':{},'type':_0x598166[_0x17422(0x184)]}]};}};Ot=hr([hi(0x0,_0x364c0e(_0x279bb6)),hi(0x1,_0x364c0e(_0x260ed8))],Ot);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x577b80,_0x2fa187,_0x4b33c6,_0x11ce91)=>{var _0x585f8d=_0x49a434;for(var _0x441fd5=_0x11ce91>0x1?void 0x0:_0x11ce91?lr(_0x2fa187,_0x4b33c6):_0x2fa187,_0x1eb0af=_0x577b80[_0x585f8d(0x1f6)]-0x1,_0x52f3cf;_0x1eb0af>=0x0;_0x1eb0af--)(_0x52f3cf=_0x577b80[_0x1eb0af])&&(_0x441fd5=_0x52f3cf(_0x441fd5)||_0x441fd5);return _0x441fd5;},we=(_0x1ac07f,_0x5db726)=>(_0x2becc5,_0x1cada0)=>_0x5db726(_0x2becc5,_0x1cada0,_0x1ac07f);let ot=class extends _0x23f001{constructor(_0x310cf5,_0x4cbb92,_0x1ad538,_0x4b9d65,_0x53412d){var _0x544872=_0x49a434;super(),this[_0x544872(0x2b7)]=_0x310cf5,this['_univerInstanceService']=_0x4cbb92,this[_0x544872(0x313)]=_0x1ad538,this['_collaborationSessionService']=_0x4b9d65,this['_collaborationUIEventService']=_0x53412d,this[_0x544872(0x118)](),this[_0x544872(0x104)]();}[_0x49a434(0x104)](){var _0x5acdde=_0x49a434;const _0x3abcba=async _0x151eb7=>{var _0x299b9e=_0xbfbb;(await this['_collaborationSessionService'][_0x299b9e(0xd5)](_0x151eb7))['event$'][_0x299b9e(0x15b)](_0x6e79d5(_0x31a56e=>_0x31a56e[_0x299b9e(0x13e)]===_0x4c224c[_0x299b9e(0xd1)]),_0xea0f79(this['dispose$']))[_0x299b9e(0x122)](_0xd0b287=>{var _0x45affc=_0x299b9e;const _0x504336=_0xd0b287,{reason:_0x56f3ae}=_0x504336['data'];this[_0x45affc(0x2d8)][_0x45affc(0x2f2)]({'id':re['CLOSE_ROOM'],'data':_0x56f3ae}),this[_0x45affc(0x313)]['updatePermissionPoint'](new _0x392d0e(_0x151eb7)['id'],!0x1),this[_0x45affc(0x2b9)][_0x45affc(0xe7)](_0x151eb7);});};_0x21cc32(this[_0x5acdde(0x2cf)]['getTypeOfUnitAdded$'](_0x16d893[_0x5acdde(0x24a)]),this[_0x5acdde(0x2cf)][_0x5acdde(0x1d5)](_0x16d893[_0x5acdde(0xf3)]))[_0x5acdde(0x15b)](_0x394bed(_0x5dfaf0=>_0x5dfaf0[_0x5acdde(0x217)]()),_0x6e79d5(_0x47ed30=>!_0x34ee11(_0x47ed30)),_0xea0f79(this[_0x5acdde(0x331)]))['subscribe'](_0x5ec324=>{_0x3abcba(_0x5ec324);});}[_0x49a434(0x118)](){var _0xfbff9e=_0x49a434;const _0x42229d=async _0x22d0d4=>{var _0x18dbd0=_0xbfbb;const _0x5f5a76=await this[_0x18dbd0(0x2b9)][_0x18dbd0(0xd5)](_0x22d0d4),_0x1841e8=this[_0x18dbd0(0x2b7)][_0x18dbd0(0x30e)](_0x167b99);_0x5f5a76['event$'][_0x18dbd0(0x15b)](_0x6e79d5(_0x51fb3f=>_0x51fb3f['eventID']===_0x4c224c[_0x18dbd0(0x383)]),_0xea0f79(this['dispose$']))[_0x18dbd0(0x122)](_0x38d834=>{var _0x467269=_0x18dbd0;const _0x39ccc6=_0x38d834,{objectId:_0x58ff77}=_0x39ccc6[_0x467269(0x1c4)];_0x58ff77===_0x22d0d4?_0x1841e8[_0x467269(0x182)](_0x22d0d4):_0x1841e8['refreshPermission'](_0x22d0d4,_0x58ff77);});};_0x21cc32(this[_0xfbff9e(0x2cf)][_0xfbff9e(0x1d5)](_0x16d893['UNIVER_SHEET']))[_0xfbff9e(0x15b)](_0x394bed(_0x12824e=>_0x12824e[_0xfbff9e(0x217)]()),_0x6e79d5(_0x3cf826=>!_0x34ee11(_0x3cf826)),_0xea0f79(this[_0xfbff9e(0x331)]))[_0xfbff9e(0x122)](_0x477d23=>{_0x42229d(_0x477d23);});}};ot=ur([we(0x0,_0x364c0e(_0x252ee6)),we(0x1,_0x397484),we(0x2,_0x4fe2b7),we(0x3,_0x364c0e(xe)),we(0x4,_0x364c0e(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x5a0213,_0x44f279,_0x22e9b8,_0x5861fa)=>{var _0x1457d0=_0x49a434;for(var _0x1c1b48=_0x5861fa>0x1?void 0x0:_0x5861fa?dr(_0x44f279,_0x22e9b8):_0x44f279,_0xbdfeb3=_0x5a0213[_0x1457d0(0x1f6)]-0x1,_0x1efc41;_0xbdfeb3>=0x0;_0xbdfeb3--)(_0x1efc41=_0x5a0213[_0xbdfeb3])&&(_0x1c1b48=_0x1efc41(_0x1c1b48)||_0x1c1b48);return _0x1c1b48;},_i=(_0x426775,_0x550c9a)=>(_0x3192e5,_0x24c606)=>_0x550c9a(_0x3192e5,_0x24c606,_0x426775);let Nt=class{constructor(_0x51d76b,_0x2ecc76){var _0x302d03=_0x49a434;this[_0x302d03(0x1ba)]=_0x51d76b,this[_0x302d03(0x31c)]=_0x2ecc76;}async[_0x49a434(0xfa)](_0xe3176f,_0x169225){var _0x1c44b2=_0x49a434,_0x25bcc9;const {unitID:_0x4b22ef,type:_0x9da6e1,revision:_0x17301a=0x0}=_0x169225,_0x443371=this[_0x1c44b2(0x1b8)]()+'/'+_0x9da6e1+_0x1c44b2(0x202)+_0x4b22ef+_0x1c44b2(0x170)+_0x17301a,_0xb079a3=(await this[_0x1c44b2(0x31c)][_0x1c44b2(0x30e)](_0x443371))[_0x1c44b2(0x356)],_0x302ed7=(_0x25bcc9=_0xb079a3[_0x1c44b2(0x1d9)])==null?void 0x0:_0x25bcc9['workbook'];if(_0x302ed7){const _0x274510=_0x302ed7==null?void 0x0:_0x302ed7[_0x1c44b2(0xe9)],_0x800e56=_0x2e621e[_0x1c44b2(0x11f)](_0x3682b2(_0x274510));_0x302ed7['originalMeta']=_0x800e56,Object[_0x1c44b2(0x16a)](_0x302ed7[_0x1c44b2(0x27b)])[_0x1c44b2(0x38c)](([,_0x8a593f])=>{var _0xf95b22=_0x1c44b2;const _0x4e7c7e=_0x8a593f[_0xf95b22(0xe9)],_0x49e5ed=_0x2e621e['encode'](_0x3682b2(_0x4e7c7e));_0x8a593f[_0xf95b22(0xe9)]=_0x49e5ed;});}return _0xb079a3;}async[_0x49a434(0x38a)](_0x1cf08c,_0x32902f){var _0x260c3b=_0x49a434;const {unitID:_0x1ca366,type:_0x2a8a8e,blockID:_0x41f196}=_0x32902f,_0x298f72=this[_0x260c3b(0x340)]()+'/'+_0x2a8a8e+_0x260c3b(0x202)+_0x1ca366+_0x260c3b(0x2bd)+_0x41f196;return(await this[_0x260c3b(0x31c)][_0x260c3b(0x30e)](_0x298f72))[_0x260c3b(0x356)];}async[_0x49a434(0xdb)](_0x2c38f9,_0x563488){var _0x4232c1=_0x49a434;const {unitID:_0x283fbf,type:_0x2df2cb,blockID:_0x4b9479}=_0x563488,_0x1170d6=this[_0x4232c1(0x340)]()+_0x4232c1(0x2bd)+_0x2df2cb+_0x4232c1(0x202)+_0x283fbf+_0x4232c1(0x2bd)+_0x4b9479;return(await this[_0x4232c1(0x31c)][_0x4232c1(0x30e)](_0x1170d6))[_0x4232c1(0x356)];}async[_0x49a434(0x298)](_0x3d18f6,_0x5c7389){var _0x4e7075=_0x49a434;const {unitID:_0x241b4f,type:_0x39ea41,from:_0x5bfa2f,to:_0x345b8d}=_0x5c7389,_0x218548=this[_0x4e7075(0x340)]()+'/'+_0x39ea41+_0x4e7075(0x202)+_0x241b4f+_0x4e7075(0x179)+_0x5bfa2f+'&to='+_0x345b8d;return(await this[_0x4e7075(0x31c)][_0x4e7075(0x30e)](_0x218548))[_0x4e7075(0x356)];}[_0x49a434(0x1b8)](){var _0x14cf9b=_0x49a434,_0x2dbb29;return(_0x2dbb29=this[_0x14cf9b(0x1ba)][_0x14cf9b(0x2f1)](Sn))!=null?_0x2dbb29:this[_0x14cf9b(0x340)]();}[_0x49a434(0x340)](){var _0x34127b=_0x49a434,_0x1178da,_0x52b857;const _0x5659f7=this[_0x34127b(0x1ba)][_0x34127b(0x2f1)](mn),_0x48e57b=this['_configService'][_0x34127b(0x2f1)](q);return(_0x52b857=(_0x1178da=_0x48e57b==null?void 0x0:_0x48e57b[_0x34127b(0x2e8)])!=null?_0x1178da:_0x5659f7)!=null?_0x52b857:gn;}async[_0x49a434(0xee)](_0x201604,_0x478bfb){var _0x2e5ac0=_0x49a434;const _0x583e7d=_0x2e5ac0(0x2d9)+_0x478bfb[_0x2e5ac0(0x335)]+'/unit/'+_0x478bfb[_0x2e5ac0(0x25b)]+_0x2e5ac0(0xdd);return(await this[_0x2e5ac0(0x31c)]['get'](_0x583e7d,{'params':{'resourceId':JSON[_0x2e5ac0(0x243)](_0x478bfb[_0x2e5ac0(0x18c)])}}))[_0x2e5ac0(0x356)];}['saveSnapshot'](){var _0x4c330c=_0x49a434;throw new Error(_0x4c330c(0x12a));}[_0x49a434(0x282)](){var _0x580fa6=_0x49a434;throw new Error(_0x580fa6(0x12a));}[_0x49a434(0xde)](){var _0x130e43=_0x49a434;throw new Error(_0x130e43(0x12a));}[_0x49a434(0x1d3)](){var _0x352e3b=_0x49a434;throw new Error(_0x352e3b(0x12a));}[_0x49a434(0x285)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x279bb6),_i(0x1,_0x364c0e(_0x260ed8))],Nt);var vr=Object[_0x49a434(0x364)],pr=(_0x1605d3,_0x2a21c9,_0x48e8af,_0x34bfb5)=>{for(var _0x47a25e=_0x34bfb5>0x1?void 0x0:_0x34bfb5?vr(_0x2a21c9,_0x48e8af):_0x2a21c9,_0x4b6744=_0x1605d3['length']-0x1,_0x4e50eb;_0x4b6744>=0x0;_0x4b6744--)(_0x4e50eb=_0x1605d3[_0x4b6744])&&(_0x47a25e=_0x4e50eb(_0x47a25e)||_0x47a25e);return _0x47a25e;},Pe=(_0x15cc73,_0x570e43)=>(_0x2a7c66,_0x169ac6)=>_0x570e43(_0x2a7c66,_0x169ac6,_0x15cc73);let Dt=class extends _0x308557{constructor(_0xc67f09,_0x2895f6,_0x30614d,_0x59bae6,_0x1389b5){var _0x1de043=_0x49a434;super(_0xc67f09,_0x2895f6,_0x30614d),this[_0x1de043(0x2d1)]=_0x59bae6,this[_0x1de043(0x309)]=_0x1389b5;}['transformUndoRedo'](_0x2f2a97,_0x51f68f){var _0x2d97b5=_0x49a434;const _0x45ebf8=this[_0x2d97b5(0x290)](_0x2f2a97);if(_0x45ebf8)try{const _0x505f63=this[_0x2d97b5(0x1ac)](_0x45ebf8,_0x51f68f);this[_0x2d97b5(0x2a6)](_0x2f2a97,_0x505f63);}catch(_0x9fd13c){this['_logService'][_0x2d97b5(0x245)](_0x2d97b5(0x29e),_0x9fd13c),this[_0x2d97b5(0x23b)](_0x2f2a97);}const _0x3fed74=this['_getRedoStack'](_0x2f2a97);if(_0x3fed74)try{const _0x2cc7aa=this[_0x2d97b5(0x1ac)](_0x3fed74,_0x51f68f);this[_0x2d97b5(0x2c1)](_0x2f2a97,_0x2cc7aa);}catch(_0x3340cc){this[_0x2d97b5(0x309)][_0x2d97b5(0x245)](_0x3340cc),this[_0x2d97b5(0x23e)](_0x2f2a97);}}[_0x49a434(0x23b)](_0x584fc1){var _0x3f1401=_0x49a434;const _0x486866=this[_0x3f1401(0x290)](_0x584fc1);_0x486866&&(_0x486866[_0x3f1401(0x1f6)]=0x0,this[_0x3f1401(0x2a5)]());}[_0x49a434(0x23e)](_0x1d9ab2){var _0x1d5c3c=_0x49a434;const _0x269eb2=this['_getRedoStack'](_0x1d9ab2);_0x269eb2&&(_0x269eb2[_0x1d5c3c(0x1f6)]=0x0,this[_0x1d5c3c(0x2a5)]());}[_0x49a434(0x2a6)](_0x3a327c,_0x56e0d7){var _0x45de9d=_0x49a434;this['_undoStacks']['set'](_0x3a327c,_0x56e0d7),this[_0x45de9d(0x2a5)]();}['_substituteRedoStack'](_0x50990b,_0x27b663){var _0x3838c5=_0x49a434;this[_0x3838c5(0x1c5)]['set'](_0x50990b,_0x27b663),this[_0x3838c5(0x2a5)]();}['_transformStack'](_0x15cfb7,_0x3fd411){var _0x52e079=_0x49a434;const _0x3dfafc=[];let _0x58e50c=_0x3fd411,_0x5349b4=_0x3fd411;for(let _0x58c1d2=_0x15cfb7['length']-0x1;_0x58c1d2>=0x0;_0x58c1d2--){const {unitID:_0x2951cf,undoMutations:_0x6a1d16,redoMutations:_0x1022fe}=_0x15cfb7[_0x58c1d2],_0x107e79=this[_0x52e079(0x2d1)]['transformMutationsWithChangeset'](_0x58e50c,_0x6a1d16),_0x17697e=this[_0x52e079(0x2d1)][_0x52e079(0x369)](_0x5349b4,_0x1022fe);if(_0xefe56e(_0x107e79)||_0xefe56e(_0x17697e)){this[_0x52e079(0x309)][_0x52e079(0x245)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x107e79,_0x17697e);break;}_0x58e50c=_0x107e79[_0x52e079(0x2b5)],_0x5349b4=_0x17697e[_0x52e079(0x2b5)],_0x3dfafc[_0x52e079(0xfe)]({'unitID':_0x2951cf,'undoMutations':_0x107e79[_0x52e079(0x277)],'redoMutations':_0x17697e[_0x52e079(0x277)]});}return _0x3dfafc[_0x52e079(0x242)]();}};Dt=pr([Pe(0x0,_0x397484),Pe(0x1,_0x46a78a),Pe(0x2,_0xacc472),Pe(0x3,_0x5148b7),Pe(0x4,_0x520907)],Dt);var mr=Object['defineProperty'],gr=Object[_0x49a434(0x364)],Sr=(_0x5df8e2,_0x20904d,_0x41e4d1)=>_0x20904d in _0x5df8e2?mr(_0x5df8e2,_0x20904d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41e4d1}):_0x5df8e2[_0x20904d]=_0x41e4d1,Er=(_0xb77cd6,_0x8c5df2,_0x379ba3,_0x52991a)=>{var _0x2fcdd3=_0x49a434;for(var _0x488d4f=_0x52991a>0x1?void 0x0:_0x52991a?gr(_0x8c5df2,_0x379ba3):_0x8c5df2,_0x4590b4=_0xb77cd6[_0x2fcdd3(0x1f6)]-0x1,_0x3748d9;_0x4590b4>=0x0;_0x4590b4--)(_0x3748d9=_0xb77cd6[_0x4590b4])&&(_0x488d4f=_0x3748d9(_0x488d4f)||_0x488d4f);return _0x488d4f;},St=(_0xa60f67,_0x589b08)=>(_0x5d74ce,_0x167016)=>_0x589b08(_0x5d74ce,_0x167016,_0xa60f67),Ir=(_0x5b4f3e,_0x4ac97b,_0x268f15)=>Sr(_0x5b4f3e,_0x4ac97b+'',_0x268f15);const Tr=_0x49a434(0x208);let Ut=class extends _0x4ee549{constructor(_0x37af28,_0x578996,_0x57ee1f,_0x34bc96){var _0xd72f2f=_0x49a434;super(),N(this,'_config'),(this['_logService']=_0x578996,this[_0xd72f2f(0x2b7)]=_0x57ee1f,this[_0xd72f2f(0x1ba)]=_0x34bc96);const {..._0x2a0e9c}=_0x391334({},wn,_0x37af28);if(!_0x2a0e9c['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xd72f2f(0x1ea)]=_0x2a0e9c,this[_0xd72f2f(0x1ba)][_0xd72f2f(0x228)](q,_0x2a0e9c);}['onStarting'](){var _0x3c228b=_0x49a434;this[_0x3c228b(0x135)](),this[_0x3c228b(0x1b0)]();}[_0x49a434(0x135)](){var _0x2ad3c9=_0x49a434,_0x48538d,_0x3fdbc7;this['_injector'][_0x2ad3c9(0x3a1)](_0x451587)&&this[_0x2ad3c9(0x309)]['error'](_0x2ad3c9(0x2e4),_0x2ad3c9(0xd4));const _0x2c02bc=_0x3d28ea([[_0x451587,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x2ad3c9(0x16b)]}],[_0x491500,{'useClass':Nt}],[_0xdabb75,{'useClass':Rt}],[_0x5b722e,{'useClass':yt}],[_0x947c2d,{'useClass':Ot}],[st],[Ct]],(_0x48538d=this['_config'])==null?void 0x0:_0x48538d['override']);if(!((_0x3fdbc7=this['_config'])!=null&&_0x3fdbc7[_0x2ad3c9(0xca)])){const _0x234b71=_0x2c02bc['findIndex'](([_0x391dda])=>_0x391dda===ht);_0x234b71!==-0x1&&_0x2c02bc['splice'](_0x234b71,0x1);}_0x2bc3e3(this[_0x2ad3c9(0x2b7)],_0x2c02bc);}[_0x49a434(0x1b0)](){var _0x2ed1d1=_0x49a434,_0x1d96ae,_0x1c71d4,_0x43c07f;this[_0x2ed1d1(0x2b7)][_0x2ed1d1(0x30e)](_0x260ed8)[_0x2ed1d1(0x328)]({'priority':0x14,'interceptor':_0x4a3fbc({'maxParallel':0x6})}),(_0x1d96ae=this[_0x2ed1d1(0x1ea)])!=null&&_0x1d96ae['enableOfflineEditing']||(_0x1c71d4=this[_0x2ed1d1(0x2b7)][_0x2ed1d1(0x30e)](J,_0x54d8f8['OPTIONAL']))==null||_0x1c71d4[_0x2ed1d1(0x2e2)](),(_0x43c07f=this['_config'])!=null&&_0x43c07f[_0x2ed1d1(0x121)]&&_0x26f90c(this['_injector'],[[rt]]),_0x26f90c(this[_0x2ed1d1(0x2b7)],[[at],[st],[ot]]);}};Ir(Ut,_0x49a434(0xce),Tr),Ut=Er([_0x4028d7(_0x4e6508,_0x22037d),St(0x1,_0x520907),St(0x2,_0x364c0e(_0x252ee6)),St(0x3,_0x279bb6)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};