@univerjs-pro/collaboration-client 0.8.0 → 0.8.1-nightly.202506131607

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 _0x1f410c=_0x27f1;(function(_0x4c6095,_0x2d43f8){var _0x177829=_0x27f1,_0x3c8a0a=_0x4c6095();while(!![]){try{var _0x5d9ba3=parseInt(_0x177829(0x392))/0x1+-parseInt(_0x177829(0x3ad))/0x2*(-parseInt(_0x177829(0x46d))/0x3)+-parseInt(_0x177829(0x47a))/0x4+parseInt(_0x177829(0x441))/0x5+-parseInt(_0x177829(0x3c5))/0x6*(-parseInt(_0x177829(0x2ec))/0x7)+-parseInt(_0x177829(0x22c))/0x8*(-parseInt(_0x177829(0x340))/0x9)+-parseInt(_0x177829(0x409))/0xa;if(_0x5d9ba3===_0x2d43f8)break;else _0x3c8a0a['push'](_0x3c8a0a['shift']());}catch(_0x2a07aa){_0x3c8a0a['push'](_0x3c8a0a['shift']());}}}(_0x4034,0x4fdea));var Di=Object[_0x1f410c(0x3b4)],Ui=(_0x368d73,_0x34ae21,_0x273259)=>_0x34ae21 in _0x368d73?Di(_0x368d73,_0x34ae21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273259}):_0x368d73[_0x34ae21]=_0x273259,N=(_0x1d0518,_0x3f9c6b,_0x563e3d)=>Ui(_0x1d0518,typeof _0x3f9c6b!='symbol'?_0x3f9c6b+'':_0x3f9c6b,_0x563e3d);import{createIdentifier as _0x2b7bcb,Inject as _0x1d307d,Injector as _0x1f649f,IConfigService as _0x22f7d3,ILogService as _0x419223,Disposable as _0x2d82af,DisposableCollection as _0x231f11,toDisposable as _0x381912,IUniverInstanceService as _0x505288,UserManagerService as _0x2e6851,UniverInstanceType as _0xd9e05c,LocaleService as _0x4c667f,Optional as _0x1c555d,RxDisposable as _0x2296f2,Tools as _0x888782,Rectangle as _0x2480d1,ICommandService as _0x435e17,JSONX as _0x1607d8,CommandType as _0x496c2c,IUndoRedoService as _0x2aacb6,IPermissionService as _0x42cef7,sequenceExecute as _0x377b5c,Workbook as _0x2fc179,MentionType as _0x48eb78,isInternalEditorID as _0x1e8b05,LocalUndoRedoService as _0x374b3a,IContextService as _0x5bc123,DependentOn as _0x55a2dc,Plugin as _0xd01ba0,merge as _0x5a7505,mergeOverrideWithDependencies as _0x160589,IAuthzIoService as _0x2f52c6,IMentionIOService as _0x2fad51,registerDependencies as _0x309664,Quantity as _0x4f4b83,touchDependencies as _0x4fb74e}from'@univerjs/core';import{Subject as _0x12df33,merge as _0x3da0cd,of as _0x512995,BehaviorSubject as _0x3ad19d,takeUntil as _0x3fc9bb,ReplaySubject as _0x47f35c,take as _0x16a73a,map as _0x440c6b,shareReplay as _0x233441,firstValueFrom as _0x37d6a0,concatMap as _0x37fff4}from'rxjs';import{map as _0x5a3746,take as _0x30f56f,filter as _0x3bc823,delay as _0x3c8a64,takeUntil as _0x5bf295}from'rxjs/operators';import{CollaborationEvent as _0x3c0371,ISnapshotServerService as _0x3c9739,parseChangesetToProtocol as _0x5b0ef9,ITransformService as _0x402e01,isTransformMutationsWithChangesetSuccess as _0x20cff5,mapDocumentTypeToUniverType as _0x56f215,RevisionService as _0xd49e7,isTransformChangesetsSuccess as _0xeee444,CompressMutationService as _0x3da6ce,parseProtocolChangeset as _0x28f714,uuidv4 as _0x4f4bda,SnapshotService as _0x1772ac,textEncoder as _0x336e25,b64DecodeUnicode as _0x372aa0,isTransformMutationsWithChangesetFailure as _0x59d287,UniverCollaborationPlugin as _0x131076}from'@univerjs-pro/collaboration';import{HTTPService as _0x23fee9,ISocketService as _0x45de68,MergeInterceptorFactory as _0x450f07,HTTPRequest as _0x566b0e,UniverNetworkPlugin as _0x1059b9,ThresholdInterceptorFactory as _0x311a92}from'@univerjs/network';import{ITelemetryService as _0x3b3ebe}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4b50f8}from'@univerjs/docs';import{SheetsSelectionsService as _0x793bad,SetSelectionsOperation as _0x33a069,InsertSheetMutation as _0x30ade4,EmptyMutation as _0x292b4e,WorkbookEditablePermission as _0x44663c,SheetPermissionInitController as _0x4fc439}from'@univerjs/sheets';import{ImageSourceType as _0x2ab728,ImageUploadStatusType as _0x44c606,IImageIoService as _0x1284da}from'@univerjs/drawing';import{getGlobalObject as _0x48d3ae}from'@univerjs-pro/license';const fs=_0x1f410c(0x3d4),vs=_0x1f410c(0x468),ps=_0x1f410c(0x215),yr=_0x1f410c(0x44a),ms=0x7d0,gs=_0x1f410c(0x1f1),Ss=_0x1f410c(0x1a9),Nr=_0x1f410c(0x381),Es=_0x1f410c(0x38f),Is=0x7530,fi=_0x1f410c(0x3d6),vi=0x4e20,Ts=0x4e20,Cs=_0x1f410c(0x2d2),Rs=0x3,Dr=_0x1f410c(0x2fa),Ur=0x3e8,bs=_0x1f410c(0x24f),Os='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x1f410c(0x44d),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr='/universer-api/uniscript';var pi=(_0x3bef62=>(_0x3bef62[_0x3bef62[_0x1f410c(0x1d2)]=0x0]=_0x1f410c(0x1d2),_0x3bef62[_0x3bef62['OK']=0x1]='OK',_0x3bef62[_0x3bef62[_0x1f410c(0x3c7)]=0x2]='INTERNAL_ERROR',_0x3bef62[_0x3bef62['PERMISSION_DENIED']=0x3]=_0x1f410c(0x2ff),_0x3bef62[_0x3bef62[_0x1f410c(0x471)]=0x4]=_0x1f410c(0x471),_0x3bef62[_0x3bef62[_0x1f410c(0x2a6)]=0x5]=_0x1f410c(0x2a6),_0x3bef62[_0x3bef62[_0x1f410c(0x31e)]=0x6]=_0x1f410c(0x31e),_0x3bef62[_0x3bef62[_0x1f410c(0x19e)]=0x7]=_0x1f410c(0x19e),_0x3bef62[_0x3bef62[_0x1f410c(0x47e)]=0x8]='TOO_MANY_REQUESTS',_0x3bef62[_0x3bef62['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3bef62[_0x3bef62[_0x1f410c(0x39d)]=0xa]=_0x1f410c(0x39d),_0x3bef62[_0x3bef62[_0x1f410c(0x33a)]=0x1389]=_0x1f410c(0x33a),_0x3bef62[_0x3bef62[_0x1f410c(0x232)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3bef62[_0x3bef62[_0x1f410c(0x2bf)]=0x1772]=_0x1f410c(0x2bf),_0x3bef62[_0x3bef62[_0x1f410c(0x2f2)]=0x1773]=_0x1f410c(0x2f2),_0x3bef62[_0x3bef62[_0x1f410c(0x430)]=0x1b59]=_0x1f410c(0x430),_0x3bef62[_0x3bef62[_0x1f410c(0x45a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3bef62[_0x3bef62['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f410c(0x3c4),_0x3bef62[_0x3bef62['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1f410c(0x469),_0x3bef62[_0x3bef62[_0x1f410c(0x3d5)]=0x1b5d]=_0x1f410c(0x3d5),_0x3bef62[_0x3bef62[_0x1f410c(0x224)]=0x1f41]=_0x1f410c(0x224),_0x3bef62[_0x3bef62[_0x1f410c(0x24a)]=0x2329]=_0x1f410c(0x24a),_0x3bef62[_0x3bef62[_0x1f410c(0x278)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3bef62[_0x3bef62[_0x1f410c(0x33f)]=0x232b]=_0x1f410c(0x33f),_0x3bef62[_0x3bef62['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bef62[_0x3bef62['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bef62[_0x3bef62[_0x1f410c(0x201)]=0x2711]=_0x1f410c(0x201),_0x3bef62[_0x3bef62[_0x1f410c(0x37f)]=0x2712]=_0x1f410c(0x37f),_0x3bef62[_0x3bef62['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1f410c(0x2fd),_0x3bef62[_0x3bef62[_0x1f410c(0x324)]=0x2714]=_0x1f410c(0x324),_0x3bef62[_0x3bef62['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1f410c(0x217),_0x3bef62[_0x3bef62[_0x1f410c(0x314)]=0x271b]=_0x1f410c(0x314),_0x3bef62[_0x3bef62[_0x1f410c(0x30c)]=0x271c]=_0x1f410c(0x30c),_0x3bef62[_0x3bef62[_0x1f410c(0x302)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3bef62[_0x3bef62[_0x1f410c(0x36c)]=0x271e]=_0x1f410c(0x36c),_0x3bef62[_0x3bef62[_0x1f410c(0x3ef)]=0x271f]=_0x1f410c(0x3ef),_0x3bef62[_0x3bef62[_0x1f410c(0x460)]=0x2af9]=_0x1f410c(0x460),_0x3bef62[_0x3bef62[_0x1f410c(0x291)]=0x2ee1]=_0x1f410c(0x291),_0x3bef62[_0x3bef62['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x3bef62[_0x3bef62[_0x1f410c(0x432)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3bef62[_0x3bef62['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1f410c(0x2c3),_0x3bef62[_0x3bef62[_0x1f410c(0x306)]=0x2ee5]=_0x1f410c(0x306),_0x3bef62[_0x3bef62[_0x1f410c(0x334)]=0x32c9]=_0x1f410c(0x334),_0x3bef62[_0x3bef62[_0x1f410c(0x287)]=0x32ca]=_0x1f410c(0x287),_0x3bef62[_0x3bef62[_0x1f410c(0x40f)]=0x32cb]=_0x1f410c(0x40f),_0x3bef62[_0x3bef62[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x3bef62))(pi||{}),Z=(_0x4e44de=>(_0x4e44de[_0x4e44de[_0x1f410c(0x28e)]=0x0]=_0x1f410c(0x28e),_0x4e44de[_0x4e44de[_0x1f410c(0x212)]=0x1]=_0x1f410c(0x212),_0x4e44de[_0x4e44de['UNIVER_SHEET']=0x2]=_0x1f410c(0x3af),_0x4e44de[_0x4e44de[_0x1f410c(0x1f9)]=0x3]=_0x1f410c(0x1f9),_0x4e44de[_0x4e44de['UNIVER_PROJECT']=0x4]=_0x1f410c(0x470),_0x4e44de[_0x4e44de[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x4e44de))(Z||{}),F=(_0x507a67=>(_0x507a67[_0x507a67[_0x1f410c(0x374)]=0x0]='UNKNOWN_CMD',_0x507a67[_0x507a67[_0x1f410c(0x1b2)]=0x1]=_0x1f410c(0x1b2),_0x507a67[_0x507a67[_0x1f410c(0x186)]=0x2]=_0x1f410c(0x186),_0x507a67[_0x507a67[_0x1f410c(0x2e7)]=0x3]=_0x1f410c(0x2e7),_0x507a67[_0x507a67['INGEST']=0x4]=_0x1f410c(0x275),_0x507a67[_0x507a67[_0x1f410c(0x472)]=0x5]=_0x1f410c(0x472),_0x507a67[_0x507a67[_0x1f410c(0x3a2)]=0x6]=_0x1f410c(0x3a2),_0x507a67[_0x507a67[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x507a67))(F||{}),me=(_0x5d3f7c=>(_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x35d)]=0x0]='UNKNOWN_CODE',_0x5d3f7c[_0x5d3f7c['OK']=0x1]='OK',_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x2ce)]=0x2]=_0x1f410c(0x2ce),_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x24d)]=0x3e9]=_0x1f410c(0x24d),_0x5d3f7c[_0x5d3f7c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1f410c(0x45d),_0x5d3f7c[_0x5d3f7c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1f410c(0x2fb),_0x5d3f7c[_0x5d3f7c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1f410c(0x32e),_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x3c9)]=-0x1]=_0x1f410c(0x3c9),_0x5d3f7c))(me||{}),mi=(_0xcec4f7=>(_0xcec4f7[_0xcec4f7[_0x1f410c(0x1c6)]=0x0]=_0x1f410c(0x1c6),_0xcec4f7[_0xcec4f7[_0x1f410c(0x2d5)]=0x1]=_0x1f410c(0x2d5),_0xcec4f7[_0xcec4f7[_0x1f410c(0x3ae)]=0x2]=_0x1f410c(0x3ae),_0xcec4f7[_0xcec4f7['UnitEmbedded']=0x3]=_0x1f410c(0x2b9),_0xcec4f7[_0xcec4f7[_0x1f410c(0x243)]=0x4]=_0x1f410c(0x243),_0xcec4f7[_0xcec4f7[_0x1f410c(0x28a)]=0x5]=_0x1f410c(0x28a),_0xcec4f7[_0xcec4f7[_0x1f410c(0x3c9)]=-0x1]=_0x1f410c(0x3c9),_0xcec4f7))(mi||{});const K=_0x1f410c(0x240),Ds={};var ne=(_0x152388=>(_0x152388[_0x1f410c(0x39f)]=_0x1f410c(0x39f),_0x152388[_0x1f410c(0x2ff)]=_0x1f410c(0x2ff),_0x152388[_0x1f410c(0x2f0)]=_0x1f410c(0x2f0),_0x152388[_0x1f410c(0x2ed)]=_0x1f410c(0x2ed),_0x152388['JOIN_ROOM_FAILED']=_0x1f410c(0x37e),_0x152388['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x152388['SOCKET_FAILED']='SOCKET_FAILED',_0x152388[_0x1f410c(0x45b)]=_0x1f410c(0x45b),_0x152388))(ne||{});class ve{constructor(){var _0x2d6075=_0x1f410c;N(this,_0x2d6075(0x437),new _0x12df33()),N(this,'event$',this['_event$'][_0x2d6075(0x18b)]());}['emitEvent'](_0x4256c7){var _0x4daffb=_0x1f410c;this[_0x4daffb(0x437)][_0x4daffb(0x252)](_0x4256c7);}}const Us=_0x2b7bcb(_0x1f410c(0x426));function As(_0x48341d){var _0x22af20=_0x1f410c,_0x2e2af8,_0x1ad4b1,_0x5baad6,_0x4f5f93,_0x466473;const _0x28c7bc=_0x48341d[_0x22af20(0x2ad)],_0x56cbfa=JSON['parse'](_0x28c7bc);switch(_0x56cbfa[_0x22af20(0x1cd)]){case F[_0x22af20(0x472)]:case F['HELLO']:{const _0x16887c=_0x56cbfa[_0x22af20(0x3db)];return{..._0x56cbfa,'data':_0x16887c,'cmd':_0x56cbfa[_0x22af20(0x1cd)]};}case F[_0x22af20(0x186)]:{const _0x2a6c89=_0x56cbfa['joinRsp'];return{..._0x56cbfa,'data':_0x2a6c89,'cmd':_0x56cbfa['cmd']};}case F[_0x22af20(0x3a2)]:{const _0xf39a07=_0x56cbfa[_0x22af20(0x1a1)];switch(_0xf39a07['eventID']){case _0x3c0371['PERMISSION_REJ']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x2e2af8=_0xf39a07[_0x22af20(0x19b)])==null?void 0x0:_0x2e2af8['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371['CHANGESET_ACK']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x1ad4b1=_0xf39a07['csAckEvent'])==null?void 0x0:_0x1ad4b1['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x449)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x5baad6=_0xf39a07[_0x22af20(0x1a5)])==null?void 0x0:_0x5baad6['cs']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x36d)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x4f5f93=_0xf39a07['csRejEvent'])==null?void 0x0:_0x4f5f93['cs']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x35b)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x466473=_0xf39a07[_0x22af20(0x21f)])==null?void 0x0:_0x466473['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x192)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x2b6)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['USERS_ENTER']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['joinEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x44e)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['leaveEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x323)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x358)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x229)]:case _0x3c0371[_0x22af20(0x219)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x387)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['LIVESHARE_TERMINATE']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x358)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['MSG_FOR_ERROR']:return{..._0x56cbfa,'data':_0xf39a07,'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x301)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x417)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x299)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['updatePermissionObjEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x421)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x25e)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x3be)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x362)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};default:return _0x56cbfa;}}default:return _0x56cbfa;}}function ws(_0x5c8866){var _0x24c01a=_0x1f410c;switch(_0x5c8866[_0x24c01a(0x1cd)]){case F[_0x24c01a(0x472)]:case F[_0x24c01a(0x1b2)]:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)]});case F[_0x24c01a(0x275)]:{let _0x1cd5d5;switch(_0x5c8866['data'][_0x24c01a(0x1a8)]){case _0x3c0371['UPDATE_CURSOR']:{_0x1cd5d5={'eventID':_0x3c0371['UPDATE_CURSOR'],'updateCursorEvent':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x44e)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x44e)],'leaveEvent':_0x5c8866['data']['data']};break;}case _0x3c0371['USERS_ENTER']:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x363)],'joinEvent':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x323)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x323)],'liveShareNewHost':_0x5c8866['data'][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x219)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x219)],'liveShareOperation':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x2f8)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x2f8)],'liveShareTerminate':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x250)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x250)],'liveShareRequestHost':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371['LIVESHARE_FETCH_OPERATIONS']:{_0x1cd5d5={'eventID':_0x3c0371['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1cd5d5={'eventID':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x1a8)]};}return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'collaMsg':_0x1cd5d5});}case F['JOIN']:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'joinReq':_0x5c8866[_0x24c01a(0x2ad)]});case F[_0x24c01a(0x2e7)]:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'leaveReq':_0x5c8866[_0x24c01a(0x2ad)]});default:throw new Error(_0x24c01a(0x45e));}}var Ps=Object[_0x1f410c(0x2a4)],Ls=(_0x22f02b,_0x3b7368,_0xe7f106,_0x164f06)=>{for(var _0x3b2640=_0x164f06>0x1?void 0x0:_0x164f06?Ps(_0x3b7368,_0xe7f106):_0x3b7368,_0x4c104f=_0x22f02b['length']-0x1,_0x4cfd20;_0x4c104f>=0x0;_0x4c104f--)(_0x4cfd20=_0x22f02b[_0x4c104f])&&(_0x3b2640=_0x4cfd20(_0x3b2640)||_0x3b2640);return _0x3b2640;},Ue=(_0x445f13,_0x2fd1b5)=>(_0x2ffcca,_0x3363db)=>_0x2fd1b5(_0x2ffcca,_0x3363db,_0x445f13);const gi=_0x2b7bcb(_0x1f410c(0x1d9));function Ms(_0x3dbb06,_0xc51e57,_0x13626c){var _0x294057=_0x1f410c;return _0x3dbb06+'/'+_0xc51e57+'/unit/'+_0x13626c+_0x294057(0x3e3);}let Ft=class extends _0x2d82af{constructor(_0x6e0b60,_0x5ae5e7,_0x5be064,_0xcf36d0,_0x3d40de){var _0x3ddc22=_0x1f410c;super(),this['_injector']=_0x6e0b60,this[_0x3ddc22(0x395)]=_0x5ae5e7,this['_configService']=_0x5be064,this['_logService']=_0xcf36d0,this[_0x3ddc22(0x22d)]=_0x3d40de;}[_0x1f410c(0x300)](_0x61a4c5){var _0x2e7fe2=_0x1f410c;const _0x477da7=this[_0x2e7fe2(0x3e9)][_0x2e7fe2(0x1f6)](_0x45de68);if(!_0x477da7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xf0d768=_0x477da7['createSocket'](_0x61a4c5);if(!_0xf0d768)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xecbe9e=new _0x231f11(),_0x170133=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x279)]['subscribe'](_0x2d782b=>_0x170133[_0x2e7fe2(0x252)](_0x2d782b))),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0x170133[_0x2e7fe2(0x1d3)]()));const _0xf8439b=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x1fc)][_0x2e7fe2(0x2f1)](_0x39731=>_0xf8439b['next'](_0x39731))),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0xf8439b['complete']()));const _0x11cf58=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x394)]['subscribe'](_0x1d6031=>{var _0x268ceb=_0x2e7fe2;const _0x2cda4b=As(_0x1d6031);_0x11cf58[_0x268ceb(0x252)](_0x2cda4b);})),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0x11cf58[_0x2e7fe2(0x1d3)]()));let _0x425966;const _0x1f4082=()=>{var _0x286ee9=_0x2e7fe2;_0xf8439b['next'](new Event(_0x286ee9(0x39a))),_0x170133[_0x286ee9(0x252)](new Event('connection\x20error')),_0x425966['close']();};return _0x425966={'memberID':'','close$':_0x170133[_0x2e7fe2(0x18b)](),'error$':_0xf8439b['asObservable'](),'open$':_0xf0d768[_0x2e7fe2(0x3e6)],'message$':_0x11cf58[_0x2e7fe2(0x18b)](),'send':_0xf6ee42=>{var _0x157450=_0x2e7fe2;if(_0xf6ee42[_0x157450(0x1cd)]===F[_0x157450(0x275)]){if(_0xf6ee42[_0x157450(0x2ad)][_0x157450(0x1a8)]===_0x3c0371[_0x157450(0x410)]){this[_0x157450(0x332)](_0x425966,_0xf6ee42[_0x157450(0x2ad)])[_0x157450(0x427)](_0x1d68a4=>{var _0x32676c=_0x157450;this[_0x32676c(0x320)]['error'](_0x1d68a4),_0x1f4082();});return;}if(_0xf6ee42['data']['eventID']===_0x3c0371[_0x157450(0x39c)]){const _0x337a62=_0xf6ee42[_0x157450(0x2ad)];this['_fetchMissChangesets'](_0x337a62)['then'](_0x90bc47=>{var _0x30666c=_0x157450;_0x11cf58[_0x30666c(0x252)]({'cmd':F[_0x30666c(0x3a2)],'code':me['OK'],'routeKey':_0x337a62[_0x30666c(0x2ad)][_0x30666c(0x47c)],'routeType':'','data':{'eventID':_0x3c0371[_0x30666c(0x41b)],'data':{'changesets':_0x90bc47}}});})[_0x157450(0x427)](_0x489049=>{var _0x1f130a=_0x157450;this[_0x1f130a(0x320)][_0x1f130a(0x1a2)](_0x489049),_0x1f4082();});return;}}_0xf0d768[_0x157450(0x266)](ws(_0xf6ee42));},'close':()=>{var _0x3f0bad=_0x2e7fe2;_0xf0d768[_0x3f0bad(0x3bb)](),_0xecbe9e[_0x3f0bad(0x30a)]();}},_0x425966;}async['_submitChangeset'](_0x562ce5,_0x379b73){var _0x5082b6=_0x1f410c,_0x487655,_0x2a8340;const {unitType:_0x36e652,unitID:_0x28e657,changeset:_0x17abee}=_0x379b73[_0x5082b6(0x2ad)],_0x8c64ca={'unitID':_0x28e657,'memberID':_0x562ce5[_0x5082b6(0x42e)],'type':_0x36e652,'changeset':_0x5b0ef9(_0x17abee)},_0x503dfe=this[_0x5082b6(0x3bc)][_0x5082b6(0x1e6)](bs),_0x3cb95a=this[_0x5082b6(0x3bc)]['getConfig'](K),_0x37beae=Ms((_0x2a8340=(_0x487655=_0x3cb95a==null?void 0x0:_0x3cb95a[_0x5082b6(0x26a)])!=null?_0x487655:_0x503dfe)!=null?_0x2a8340:Os,_0x36e652,_0x28e657);try{await this[_0x5082b6(0x395)]['post'](_0x37beae,{'body':_0x8c64ca});}catch(_0x2b5518){throw this['_logService'][_0x5082b6(0x1a2)](_0x5082b6(0x19d),_0x5082b6(0x402)),_0x2b5518;}}async[_0x1f410c(0x286)](_0x38c64d){var _0x131431=_0x1f410c;const {unitID:_0x545549,from:_0x119af6,to:_0x58dd2e,unitType:_0x3e7ec3}=_0x38c64d[_0x131431(0x2ad)];return(await this[_0x131431(0x22d)][_0x131431(0x47d)]({'metadata':void 0x0},{'unitID':_0x545549,'type':_0x3e7ec3,'from':_0x119af6,'to':_0x58dd2e}))[_0x131431(0x3ce)];}};Ft=Ls([Ue(0x0,_0x1d307d(_0x1f649f)),Ue(0x1,_0x1d307d(_0x23fee9)),Ue(0x2,_0x22f7d3),Ue(0x3,_0x419223),Ue(0x4,_0x3c9739)],Ft);const xs=_0x1f410c(0x1df);function ks(_0x5c0e69){var _0x176abb=_0x1f410c;return JSON['stringify'](_0x5c0e69)[_0x176abb(0x380)];}class Si{constructor(){var _0x36a0f0=_0x1f410c;N(this,_0x36a0f0(0x2c4),new _0x12df33()),N(this,_0x36a0f0(0x2ee),this[_0x36a0f0(0x2c4)][_0x36a0f0(0x18b)]());}[_0x1f410c(0x3a7)](_0x2b1106){var _0x2fe1df=_0x1f410c;this[_0x2fe1df(0x2c4)][_0x2fe1df(0x252)](_0x2b1106);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x3d5eac,_0x5428ba,_0x1ca013,_0x381523)=>{var _0x36e0f9=_0x1f410c;for(var _0x1e2720=_0x381523>0x1?void 0x0:_0x381523?$s(_0x5428ba,_0x1ca013):_0x5428ba,_0x3b4ff0=_0x3d5eac[_0x36e0f9(0x380)]-0x1,_0x1d2803;_0x3b4ff0>=0x0;_0x3b4ff0--)(_0x1d2803=_0x3d5eac[_0x3b4ff0])&&(_0x1e2720=_0x1d2803(_0x1e2720)||_0x1e2720);return _0x1e2720;},Vt=(_0x345f12,_0x7ddced)=>(_0x161bf9,_0x49542d)=>_0x7ddced(_0x161bf9,_0x49542d,_0x345f12);let Pe=class extends _0x2d82af{constructor(_0x56e12e,_0x3a8aef){var _0x2c51fd=_0x1f410c;super(),N(this,_0x2c51fd(0x180),new Map()),N(this,'_roomCreated$',new _0x12df33()),(this[_0x2c51fd(0x181)]=_0x56e12e,this[_0x2c51fd(0x416)]=_0x3a8aef,this['disposeWithMe'](_0x3da0cd(this[_0x2c51fd(0x181)]['getTypeOfUnitDisposed$'](_0xd9e05c['UNIVER_SHEET'])[_0x2c51fd(0x2c5)](_0x5a3746(_0x3a49f3=>_0x3a49f3[_0x2c51fd(0x31c)]())),this['_univerInstanceService'][_0x2c51fd(0x446)](_0xd9e05c['UNIVER_DOC'])[_0x2c51fd(0x2c5)](_0x5a3746(_0x451308=>_0x451308[_0x2c51fd(0x31c)]())),this[_0x2c51fd(0x181)][_0x2c51fd(0x446)](_0xd9e05c[_0x2c51fd(0x1f9)])['pipe'](_0x5a3746(_0x596360=>_0x596360['getUnitId']())))[_0x2c51fd(0x2f1)](_0x3f5154=>this[_0x2c51fd(0x3bd)](_0x3f5154))));}['waitForRoom$'](_0x3c93ac){var _0x744de3=_0x1f410c;return this['_roomMembers']['has'](_0x3c93ac)?_0x512995(this[_0x744de3(0x180)][_0x744de3(0x1f6)](_0x3c93ac)):this['_roomCreated$'][_0x744de3(0x2c5)](_0x5a3746(_0x434331=>{var _0x449e80=_0x744de3;if(_0x434331===_0x3c93ac)return this[_0x449e80(0x180)][_0x449e80(0x1f6)](_0x434331);}));}[_0x1f410c(0x39b)](_0x4ffa32){var _0x347d64=_0x1f410c;this[_0x347d64(0x416)]['setCurrentUser'](_0x4ffa32);}[_0x1f410c(0x407)](){var _0x540e4b=_0x1f410c;return this['_userManagerService'][_0x540e4b(0x407)]();}[_0x1f410c(0x330)](_0x1f8b34,_0x40d60f){var _0x5c6739=_0x1f410c;let _0x5ed45c=this[_0x5c6739(0x180)][_0x5c6739(0x1f6)](_0x1f8b34);_0x5ed45c||(_0x5ed45c=new Bs(),this[_0x5c6739(0x180)][_0x5c6739(0x32a)](_0x1f8b34,_0x5ed45c),this[_0x5c6739(0x220)][_0x5c6739(0x252)](_0x1f8b34)),_0x5ed45c[_0x5c6739(0x330)](_0x40d60f);}[_0x1f410c(0x473)](_0x35d6df,_0x1cde22){var _0x3ed6c3=_0x1f410c;const _0x7aa5d=this[_0x3ed6c3(0x180)][_0x3ed6c3(0x1f6)](_0x35d6df);_0x7aa5d&&_0x7aa5d[_0x3ed6c3(0x473)](_0x1cde22);}[_0x1f410c(0x29a)](_0x109ee0){var _0x233fe0=_0x1f410c;return this[_0x233fe0(0x180)][_0x233fe0(0x1f6)](_0x109ee0);}[_0x1f410c(0x1ef)](_0x1c5cb7,_0x1585af){var _0x3911df=_0x1f410c;const _0x4502ea=this['_roomMembers'][_0x3911df(0x1f6)](_0x1c5cb7);if(_0x4502ea)return _0x4502ea[_0x3911df(0x1ef)](_0x1585af);}[_0x1f410c(0x3bd)](_0x2c989d){var _0x3a799a=_0x1f410c;const _0x1ab604=this[_0x3a799a(0x180)][_0x3a799a(0x1f6)](_0x2c989d);_0x1ab604&&(_0x1ab604['dispose'](),this[_0x3a799a(0x180)][_0x3a799a(0x41d)](_0x2c989d));}['dispose'](){var _0x1a93b1=_0x1f410c;this[_0x1a93b1(0x180)][_0x1a93b1(0x2c8)](_0x1c5ef0=>_0x1c5ef0[_0x1a93b1(0x30a)]()),this['_roomMembers'][_0x1a93b1(0x34d)](),this['_roomCreated$'][_0x1a93b1(0x1d3)]();}};Pe=Hs([Vt(0x0,_0x505288),Vt(0x1,_0x1d307d(_0x2e6851))],Pe);class Bs extends _0x2d82af{constructor(){var _0x2bed5f=_0x1f410c;super(...arguments),N(this,_0x2bed5f(0x46e),new Map()),N(this,_0x2bed5f(0x268),new _0x3ad19d(this[_0x2bed5f(0x46e)])),N(this,_0x2bed5f(0x22f),this[_0x2bed5f(0x268)]['asObservable']());}['dispose'](){var _0xdc8836=_0x1f410c;this[_0xdc8836(0x46e)][_0xdc8836(0x34d)]();}[_0x1f410c(0x330)](_0x163556){var _0x1d0a2f=_0x1f410c;this[_0x1d0a2f(0x46e)]['set'](_0x163556[_0x1d0a2f(0x42e)],_0x163556),this['_emitMembers']();}[_0x1f410c(0x473)](_0x49cebe){var _0x2d1cf0=_0x1f410c;this[_0x2d1cf0(0x46e)]['delete'](_0x49cebe);}[_0x1f410c(0x1ef)](_0x3e67d7){var _0x2de575=_0x1f410c;return this[_0x2de575(0x46e)][_0x2de575(0x1f6)](_0x3e67d7);}[_0x1f410c(0x265)](){var _0x40c96d=_0x1f410c;return Array[_0x40c96d(0x20b)](this['_members']['values']());}[_0x1f410c(0x241)](){var _0x136fd8=_0x1f410c;this[_0x136fd8(0x268)][_0x136fd8(0x252)](this[_0x136fd8(0x46e)]);}}var js=Object[_0x1f410c(0x2a4)],Fs=(_0x2af964,_0x2dacf4,_0x70bb89,_0x5265f5)=>{for(var _0x10ca7e=_0x5265f5>0x1?void 0x0:_0x5265f5?js(_0x2dacf4,_0x70bb89):_0x2dacf4,_0x3a7f17=_0x2af964['length']-0x1,_0x2ac676;_0x3a7f17>=0x0;_0x3a7f17--)(_0x2ac676=_0x2af964[_0x3a7f17])&&(_0x10ca7e=_0x2ac676(_0x10ca7e)||_0x10ca7e);return _0x10ca7e;},pe=(_0x4b1739,_0x330658)=>(_0x258a65,_0x442cc9)=>_0x330658(_0x258a65,_0x442cc9,_0x4b1739),Se=(_0x434f3d=>(_0x434f3d[_0x434f3d[_0x1f410c(0x1de)]=0x0]='IDLE',_0x434f3d[_0x434f3d['JOINING']=0x1]='JOINING',_0x434f3d[_0x434f3d[_0x1f410c(0x1bc)]=0x2]='OFFLINE',_0x434f3d[_0x434f3d[_0x1f410c(0x384)]=0x3]=_0x1f410c(0x384),_0x434f3d))(Se||{});const Gt={[me[_0x1f410c(0x2ce)]]:'session.join-failed',[me[_0x1f410c(0x24d)]]:_0x1f410c(0x445),[me[_0x1f410c(0x45d)]]:_0x1f410c(0x40a),[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x1f410c(0x32e)]]:_0x1f410c(0x1f5)};let gt=class extends _0x2296f2{constructor(_0x1095e2,_0x2d6abf,_0x1846fd,_0x19c698,_0x2196d1,_0x59705e,_0x415945,_0x153486,_0x26a3fa){var _0x4ace42=_0x1f410c;super(),N(this,_0x4ace42(0x1d0),new _0x3ad19d(0x0)),N(this,_0x4ace42(0x27b),this[_0x4ace42(0x1d0)][_0x4ace42(0x18b)]()),N(this,_0x4ace42(0x437),new _0x12df33()),N(this,_0x4ace42(0x38c),this[_0x4ace42(0x437)][_0x4ace42(0x18b)]()),N(this,_0x4ace42(0x1b1)),N(this,_0x4ace42(0x42c)),N(this,'_collaborationTimeoutTimer'),N(this,_0x4ace42(0x378),!0x1),N(this,'_telemetryInfo',null),(this[_0x4ace42(0x401)]=_0x1095e2,this[_0x4ace42(0x320)]=_0x1846fd,this[_0x4ace42(0x3bc)]=_0x19c698,this[_0x4ace42(0x249)]=_0x2196d1,this[_0x4ace42(0x434)]=_0x59705e,this[_0x4ace42(0x2cf)]=_0x415945,this[_0x4ace42(0x425)]=_0x153486,this[_0x4ace42(0x478)]=_0x26a3fa,this[_0x4ace42(0x378)]=!!this['_telemetryService'],_0x2d6abf[_0x4ace42(0x2c5)](_0x3fc9bb(this[_0x4ace42(0x36b)]))[_0x4ace42(0x2f1)](_0x139567=>{var _0xd507bc=_0x4ace42,_0x1988fa;typeof _0x139567>'u'||(this[_0xd507bc(0x1b1)]=_0x139567,_0x139567?(this['_joinRoom'](_0x139567),this[_0xd507bc(0x42c)]=_0x139567[_0xd507bc(0x394)]['subscribe'](_0x284759=>{var _0x47ec9d=_0xd507bc;_0x284759[_0x47ec9d(0x230)]===this[_0x47ec9d(0x401)]&&this['_onCombEvent'](_0x284759);})):(this[_0xd507bc(0x1bf)](),this[_0xd507bc(0x1d0)][_0xd507bc(0x252)](0x2),(_0x1988fa=this[_0xd507bc(0x42c)])==null||_0x1988fa['unsubscribe'](),this[_0xd507bc(0x42c)]=null));}));}get['sessionStatus'](){var _0x2e15ec=_0x1f410c;return this[_0x2e15ec(0x1d0)]['getValue']();}[_0x1f410c(0x2dd)](){var _0x4690ca=_0x1f410c,_0x182dd9,_0x3567c4;return(_0x3567c4=(_0x182dd9=this[_0x4690ca(0x1b1)])==null?void 0x0:_0x182dd9['memberID'])!=null?_0x3567c4:null;}[_0x1f410c(0x30a)](){var _0x13391a=_0x1f410c;super[_0x13391a(0x30a)](),this['dispose$'][_0x13391a(0x252)](),this['dispose$'][_0x13391a(0x1d3)]();}[_0x1f410c(0x3bb)](){var _0x2cd517=_0x1f410c,_0x3fb423,_0x2e4b2e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3fb423=this[_0x2cd517(0x1b1)])==null||_0x3fb423[_0x2cd517(0x266)]({'cmd':F[_0x2cd517(0x2e7)],'data':{'roomID':this[_0x2cd517(0x401)]}}),(_0x2e4b2e=this[_0x2cd517(0x1b1)])==null||_0x2e4b2e[_0x2cd517(0x3bb)](),this['_event$'][_0x2cd517(0x1d3)](),this[_0x2cd517(0x1d0)]['complete'](),this[_0x2cd517(0x30a)]();}['_onCombEvent'](_0x25d681){var _0x111968=_0x1f410c;_0x25d681[_0x111968(0x1cd)]===F[_0x111968(0x186)]?this[_0x111968(0x474)](_0x25d681):_0x25d681[_0x111968(0x1cd)]===F['RECV']&&this[_0x111968(0x440)](_0x25d681);}['_joinRoom'](_0x4752a5){var _0x15fb97=_0x1f410c;this[_0x15fb97(0x1d0)]['next'](0x1),_0x4752a5[_0x15fb97(0x266)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x15fb97(0x401)]}]}});}[_0x1f410c(0x474)](_0x2e38bc){var _0x2e6725=_0x1f410c,_0x38d4a2;if(_0x2e38bc[_0x2e6725(0x2a7)]in Gt){this[_0x2e6725(0x425)]['emitEvent']({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x2e38bc[_0x2e6725(0x2a7)]]}),this['_sessionStatus$'][_0x2e6725(0x252)](0x2);return;}this[_0x2e6725(0x1d0)][_0x2e6725(0x252)](0x3);const _0x33171c=(_0x38d4a2=_0x2e38bc[_0x2e6725(0x2ad)][_0x2e6725(0x29d)][this[_0x2e6725(0x401)]])==null?void 0x0:_0x38d4a2[_0x2e6725(0x36e)];_0x33171c&&_0x33171c[_0x2e6725(0x2c8)](_0x2cc923=>this[_0x2e6725(0x434)][_0x2e6725(0x330)](this[_0x2e6725(0x401)],_0x2cc923));}[_0x1f410c(0x440)](_0x1889a0){var _0x171d8f=_0x1f410c;try{const _0xb67f41=_0x1889a0[_0x171d8f(0x2ad)];switch(_0xb67f41['eventID']){case _0x3c0371[_0x171d8f(0x363)]:this['_onUserJoin'](_0xb67f41),this[_0x171d8f(0x437)][_0x171d8f(0x252)](_0xb67f41);break;case _0x3c0371['USERS_LEAVE']:this[_0x171d8f(0x31d)](_0xb67f41),this[_0x171d8f(0x437)]['next'](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x183)]:case _0x3c0371[_0x171d8f(0x35b)]:this[_0x171d8f(0x38a)](),this[_0x171d8f(0x475)](),this[_0x171d8f(0x437)][_0x171d8f(0x252)](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x465)]:this[_0x171d8f(0x320)]['error'](_0x171d8f(0x2b8)+JSON[_0x171d8f(0x322)](_0xb67f41)),this[_0x171d8f(0x437)]['next'](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x301)]:this[_0x171d8f(0x2cf)][_0x171d8f(0x3a7)](_0xb67f41[_0x171d8f(0x2ad)]),this['_event$'][_0x171d8f(0x252)](_0xb67f41);break;default:this[_0x171d8f(0x437)]['next'](_0xb67f41);}}catch(_0x24866b){this[_0x171d8f(0x320)][_0x171d8f(0x1a2)](_0x24866b,_0x1889a0);}}[_0x1f410c(0x2d4)](_0x4a7d8b){var _0x8acad1=_0x1f410c;this['_memberService'][_0x8acad1(0x330)](this[_0x8acad1(0x401)],_0x4a7d8b['data']);}[_0x1f410c(0x31d)](_0x10fbcb){var _0x401292=_0x1f410c;this[_0x401292(0x434)]['removeMember'](this[_0x401292(0x401)],_0x10fbcb[_0x401292(0x2ad)][_0x401292(0x42e)]);}async[_0x1f410c(0x266)](_0x379a06,_0x28de7d){var _0x7f62b7=_0x1f410c;if(this[_0x7f62b7(0x18d)]!==0x3||!this['_socket'])throw new Error(_0x7f62b7(0x423));try{_0x379a06[_0x7f62b7(0x1a8)]===_0x3c0371[_0x7f62b7(0x410)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x7f62b7(0x263)](_0x379a06)),this[_0x7f62b7(0x1b1)][_0x7f62b7(0x266)]({'cmd':F[_0x7f62b7(0x275)],'routeKey':_0x28de7d,'routeType':'','data':_0x379a06});}catch(_0x102010){this[_0x7f62b7(0x320)]['error'](_0x102010);}}[_0x1f410c(0x2af)](){var _0x1f6a8d=_0x1f410c,_0x486c42;this[_0x1f6a8d(0x2bc)]=setTimeout(()=>{var _0x47494c=_0x1f6a8d;this[_0x47494c(0x2bc)]=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x47494c(0x45b)]});},(_0x486c42=this['_configService'][_0x1f6a8d(0x1e6)](fi))!=null?_0x486c42:vi);}[_0x1f410c(0x475)](){var _0x2a6edf=_0x1f410c;this[_0x2a6edf(0x2bc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1f410c(0x263)](_0x571524){var _0x1469fc=_0x1f410c;if(!this[_0x1469fc(0x378)])return;const {data:_0x3fca4a}=_0x571524,{unitID:_0x23c421,changeset:_0x657424}=_0x3fca4a,{mutations:_0x15c3ed,type:_0x234a6b}=_0x657424;this['_telemetryInfo']={'unitId':_0x23c421,'type':_0x234a6b,'startTime':performance[_0x1469fc(0x3de)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x15c3ed)};}[_0x1f410c(0x38a)](){var _0x5d08c4=_0x1f410c;if(this[_0x5d08c4(0x378)]){if(!this[_0x5d08c4(0x3f7)]){this[_0x5d08c4(0x320)]['error']('[CollaborationSession]',_0x5d08c4(0x398));return;}this[_0x5d08c4(0x3f7)][_0x5d08c4(0x461)]=performance['now'](),this[_0x5d08c4(0x3f7)][_0x5d08c4(0x22e)]=this[_0x5d08c4(0x3f7)]['stopTime']-this[_0x5d08c4(0x3f7)]['startTime'],this['_telemetryService'][_0x5d08c4(0x273)](xs,this[_0x5d08c4(0x3f7)]),this[_0x5d08c4(0x3f7)]=null;}}[_0x1f410c(0x1bf)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x419223),pe(0x3,_0x22f7d3),pe(0x4,_0x1d307d(_0x4c667f)),pe(0x5,_0x1d307d(Pe)),pe(0x6,_0x1d307d(Si)),pe(0x7,_0x1d307d(ve)),pe(0x8,_0x1c555d(_0x3b3ebe))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x230b34,_0x9e8aa5,_0xfd246c,_0x17c163)=>{var _0x5a8c8d=_0x1f410c;for(var _0x329f93=_0x17c163>0x1?void 0x0:_0x17c163?Vs(_0x9e8aa5,_0xfd246c):_0x9e8aa5,_0x3c091c=_0x230b34[_0x5a8c8d(0x380)]-0x1,_0x5da34b;_0x3c091c>=0x0;_0x3c091c--)(_0x5da34b=_0x230b34[_0x3c091c])&&(_0x329f93=_0x5da34b(_0x329f93)||_0x329f93);return _0x329f93;},Re=(_0x5cd7ab,_0x2a949e)=>(_0x3d84cf,_0x49744f)=>_0x2a949e(_0x3d84cf,_0x49744f,_0x5cd7ab);let Le=class extends _0x2d82af{constructor(_0x4dd7b4,_0x3411a4,_0x26563a,_0x367df3,_0x4c542b,_0x262f63){var _0x5f0963=_0x1f410c;super(),N(this,'_socket$',new _0x3ad19d(void 0x0)),N(this,_0x5f0963(0x310),this[_0x5f0963(0x1e5)]['asObservable']()),N(this,_0x5f0963(0x352),null),N(this,_0x5f0963(0x357),new Map()),N(this,'_status$',new _0x3ad19d(Se[_0x5f0963(0x1de)])),N(this,'status$',this[_0x5f0963(0x304)][_0x5f0963(0x18b)]()),N(this,_0x5f0963(0x368),!0x1),N(this,_0x5f0963(0x2f9)),N(this,_0x5f0963(0x335),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x4dd7b4,this[_0x5f0963(0x320)]=_0x3411a4,this[_0x5f0963(0x3bc)]=_0x26563a,this[_0x5f0963(0x3fc)]=_0x367df3,this[_0x5f0963(0x425)]=_0x4c542b,this[_0x5f0963(0x1da)]=_0x262f63,this[_0x5f0963(0x247)]());}get['_socket'](){var _0xcec492=_0x1f410c;return this[_0xcec492(0x1e5)]['getValue']();}[_0x1f410c(0x247)](){var _0x458dc8=_0x1f410c;this[_0x458dc8(0x1da)]&&this[_0x458dc8(0x1b4)](this[_0x458dc8(0x1da)][_0x458dc8(0x414)][_0x458dc8(0x2f1)](_0x305a82=>{var _0x3a132f=_0x458dc8;_0x305a82&&!this[_0x3a132f(0x1b1)]&&this[_0x3a132f(0x290)](),_0x305a82||this[_0x3a132f(0x2c9)]();}));}[_0x1f410c(0x30a)](){var _0x51fc82=_0x1f410c;super[_0x51fc82(0x30a)](),this[_0x51fc82(0x1a7)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x40947d=>_0x40947d[_0x51fc82(0x30a)]()),this[_0x51fc82(0x357)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x5660ea){var _0x429dcd=_0x1f410c;if(this[_0x429dcd(0x357)]['has'](_0x5660ea))return this[_0x429dcd(0x357)]['get'](_0x5660ea);this[_0x429dcd(0x452)]();const _0x421353=this[_0x429dcd(0x3e9)][_0x429dcd(0x40e)](gt,_0x5660ea,this[_0x429dcd(0x1e5)]['asObservable']());return this['_sessions'][_0x429dcd(0x32a)](_0x5660ea,_0x421353),_0x421353;}[_0x1f410c(0x38d)](_0x5bdb24){var _0x818944=_0x1f410c,_0x4a8274;const _0x1ebc28=this[_0x818944(0x357)]['get'](_0x5bdb24);_0x1ebc28&&(this[_0x818944(0x357)][_0x818944(0x41d)](_0x5bdb24),_0x1ebc28['close']()),this[_0x818944(0x357)][_0x818944(0x34f)]||(_0x4a8274=this[_0x818944(0x1b1)])==null||_0x4a8274[_0x818944(0x3bb)]();}['reconnect'](){var _0x231ff7=_0x1f410c;this[_0x231ff7(0x335)]=0x0,this[_0x231ff7(0x1a7)](),this[_0x231ff7(0x3a3)]();}[_0x1f410c(0x1a7)](){var _0x465181=_0x1f410c;this[_0x465181(0x2f9)]!=null&&(clearTimeout(this[_0x465181(0x2f9)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x53e648=_0x1f410c,_0xe8bbe9,_0x5c03a6;const _0x1d76a4=this[_0x53e648(0x3bc)][_0x53e648(0x1e6)](gs),_0x23d97a=this[_0x53e648(0x3bc)]['getConfig'](K),_0x5777d5=(_0x5c03a6=(_0xe8bbe9=_0x23d97a==null?void 0x0:_0x23d97a[_0x53e648(0x2ea)])!=null?_0xe8bbe9:_0x1d76a4)!=null?_0x5c03a6:Ss,_0x26fe7b=await this[_0x53e648(0x3fc)][_0x53e648(0x1b5)](_0x5777d5);return this['_candidateSocket']=_0x26fe7b,_0x26fe7b;}async[_0x1f410c(0x452)](){var _0x3d6f1e=_0x1f410c,_0x254c63,_0x173741;try{const _0x238295=(_0x173741=(_0x254c63=this['_socket'])!=null?_0x254c63:this[_0x3d6f1e(0x352)])!=null?_0x173741:await this[_0x3d6f1e(0x1e2)]();if(_0x238295){const _0x4fc8e9=_0x238295[_0x3d6f1e(0x266)];_0x238295['send']=_0x4417da=>(this[_0x3d6f1e(0x431)](),_0x4fc8e9['apply'](_0x238295,[_0x4417da])),_0x238295[_0x3d6f1e(0x394)][_0x3d6f1e(0x2f1)](_0x3a1d0f=>this[_0x3d6f1e(0x3f8)](_0x238295,_0x3a1d0f)),_0x238295[_0x3d6f1e(0x1fc)][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))[_0x3d6f1e(0x2f1)](_0x3776f8=>this[_0x3d6f1e(0x320)][_0x3d6f1e(0x1a2)]('[CollaborationSessionService]:\x20socket\x20error',_0x3776f8)),_0x238295['open$'][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))['subscribe'](()=>{var _0x5dc9ec=_0x3d6f1e;this[_0x5dc9ec(0x1aa)](_0x238295);}),_0x238295[_0x3d6f1e(0x279)][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))['subscribe'](_0x20889c=>{var _0xaa993b=_0x3d6f1e;this[_0xaa993b(0x320)]['debug'](_0xaa993b(0x32b),_0xaa993b(0x1ca),_0x20889c),this[_0xaa993b(0x26b)]();});}}catch(_0x43969a){this[_0x3d6f1e(0x320)][_0x3d6f1e(0x1a2)](_0x43969a),this['_onConnectionFailed']();}}[_0x1f410c(0x1aa)](_0x4eec15){var _0x40a543=_0x1f410c;this[_0x40a543(0x320)][_0x40a543(0x25c)](_0x40a543(0x32b),_0x40a543(0x457)),_0x4eec15[_0x40a543(0x266)]({'cmd':F['HELLO']}),this[_0x40a543(0x431)]();}['_onOffline'](){var _0x2919e5=_0x1f410c;this['_socketReady']=!0x1,this[_0x2919e5(0x352)]=null,this[_0x2919e5(0x304)][_0x2919e5(0x252)](Se['OFFLINE']),this[_0x2919e5(0x1e5)][_0x2919e5(0x252)](null),this['_clearTimeoutTimer'](),this[_0x2919e5(0x1d8)]();}[_0x1f410c(0x26b)](){var _0x3d664d=_0x1f410c,_0x4fc982;this[_0x3d664d(0x2c9)](),this[_0x3d664d(0x335)]<((_0x4fc982=this[_0x3d664d(0x3bc)]['getConfig'](Cs))!=null?_0x4fc982:Rs)?(this['_collaborationUIEventService'][_0x3d664d(0x1bb)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x3d664d(0x3a3)]()):this[_0x3d664d(0x425)]['emitEvent']({'id':ne['SOCKET_FAILED']});}[_0x1f410c(0x3a3)](){var _0x3f01c0=_0x1f410c,_0xfbed90;const _0x2e5291=this[_0x3f01c0(0x335)],_0x2d7feb=this[_0x3f01c0(0x3bc)][_0x3f01c0(0x1e6)](K),_0x7a22ee=_0x2e5291===0x0?0x0:((_0xfbed90=_0x2d7feb==null?void 0x0:_0x2d7feb[_0x3f01c0(0x35a)])!=null?_0xfbed90:Ts)*0x2**_0x2e5291;this[_0x3f01c0(0x2f9)]=setTimeout(()=>{var _0x585bf7=_0x3f01c0;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x585bf7(0x452)]();},_0x7a22ee),this[_0x3f01c0(0x335)]+=0x1;}[_0x1f410c(0x3f8)](_0x32cf06,_0x451603){var _0x40951d=_0x1f410c;const {cmd:_0x54ec4a}=_0x451603;_0x54ec4a===F[_0x40951d(0x1b2)]&&!this[_0x40951d(0x368)]&&(_0x32cf06[_0x40951d(0x42e)]=_0x451603['data']['memberID'],this['_socket$'][_0x40951d(0x252)](_0x32cf06),this[_0x40951d(0x304)][_0x40951d(0x252)](Se['ONLINE']),this[_0x40951d(0x368)]=!0x0,this['_candidateSocket']=null),_0x54ec4a===F[_0x40951d(0x472)]&&this[_0x40951d(0x18f)](),this['_rescheduleHeartbeat']();}[_0x1f410c(0x431)](){var _0x25951e=_0x1f410c,_0x3123d5;this[_0x25951e(0x1d8)](),this[_0x25951e(0x1ae)]=setTimeout(()=>this[_0x25951e(0x2ab)](),(_0x3123d5=this[_0x25951e(0x3bc)][_0x25951e(0x1e6)](Es))!=null?_0x3123d5:Is);}[_0x1f410c(0x2ab)](){var _0x16be8a=_0x1f410c;this[_0x16be8a(0x1b1)][_0x16be8a(0x266)]({'cmd':F[_0x16be8a(0x472)]}),this[_0x16be8a(0x1ba)]();}[_0x1f410c(0x1ba)](){var _0xa6ef60=_0x1f410c,_0x28c94e;this['_timeoutTimer']=setTimeout(()=>this[_0xa6ef60(0x26b)](),(_0x28c94e=this['_configService']['getConfig'](fi))!=null?_0x28c94e:vi);}[_0x1f410c(0x1d8)](){var _0x367527=_0x1f410c;this[_0x367527(0x1ae)]!=null&&(clearTimeout(this[_0x367527(0x1ae)]),this[_0x367527(0x1ae)]=null);}[_0x1f410c(0x18f)](){var _0x518a73=_0x1f410c;this[_0x518a73(0x443)]!=null&&(clearTimeout(this[_0x518a73(0x443)]),this[_0x518a73(0x443)]=null);}};Le=Gs([Re(0x0,_0x1d307d(_0x1f649f)),Re(0x1,_0x419223),Re(0x2,_0x22f7d3),Re(0x3,gi),Re(0x4,_0x1d307d(ve)),Re(0x5,_0x1c555d(Us))],Le);const J=_0x2b7bcb(_0x1f410c(0x2ac));function Pr(_0x50a693){var _0x10b503=_0x1f410c;return _0x10b503(0x3d9)+_0x50a693;}var Ws=Object[_0x1f410c(0x2a4)],Ys=(_0x43502f,_0x32883d,_0x40e923,_0x2e3e38)=>{var _0x1c6f78=_0x1f410c;for(var _0x23ff35=_0x2e3e38>0x1?void 0x0:_0x2e3e38?Ws(_0x32883d,_0x40e923):_0x32883d,_0x29dcdf=_0x43502f[_0x1c6f78(0x380)]-0x1,_0x201cf1;_0x29dcdf>=0x0;_0x29dcdf--)(_0x201cf1=_0x43502f[_0x29dcdf])&&(_0x23ff35=_0x201cf1(_0x23ff35)||_0x23ff35);return _0x23ff35;},ut=(_0x255344,_0x25d02c)=>(_0x46e2f9,_0xf7125)=>_0x25d02c(_0x46e2f9,_0xf7125,_0x255344);function Ks(_0x18720b){var _0x55a786=_0x1f410c;const {unitID:_0x3c279e,mutations:_0x446afd}=_0x18720b;return{'unitId':_0x3c279e,'subUnitId':_0x446afd[0x0]['params'][_0x55a786(0x476)]};}let it=class{constructor(_0x4b0562,_0x171bf3,_0x5009b5){var _0x39a40e=_0x1f410c;this[_0x39a40e(0x3e9)]=_0x4b0562,this[_0x39a40e(0x228)]=_0x171bf3,this['_instanceService']=_0x5009b5;}[_0x1f410c(0x189)](_0x16da39){var _0x590ee2=_0x1f410c,_0x4d63bf,_0x3a923a,_0x4b6d59,_0x271970;const _0x1eab9f=this[_0x590ee2(0x3e9)]['get'](_0x793bad),{unitId:_0x3e18bb,subUnitId:_0x5c4bf7}=Ks(_0x16da39),_0x4d07d7=_0x1eab9f==null?void 0x0:_0x1eab9f[_0x590ee2(0x20a)](_0x3e18bb)['getCurrentSelections'](),_0x192e24=(_0x3a923a=(_0x4d63bf=this[_0x590ee2(0x45c)]['getUnit'](_0x3e18bb))==null?void 0x0:_0x4d63bf[_0x590ee2(0x295)]())==null?void 0x0:_0x3a923a[_0x590ee2(0x261)]();if(_0x4d07d7['length']===0x0||!_0x3e18bb||!_0x5c4bf7)return;const _0x1d89a3=[{'id':_0x33a069['id'],'params':{'unitId':_0x3e18bb,'subUnitId':_0x192e24,'selections':_0x888782[_0x590ee2(0x1be)](_0x4d07d7)}}],_0x52ee81=this[_0x590ee2(0x228)][_0x590ee2(0x3f1)](_0x16da39,_0x1d89a3);if(!_0x20cff5(_0x52ee81))throw _0x52ee81[_0x590ee2(0x1a2)];const _0x56d965=(_0x271970=(_0x4b6d59=_0x52ee81[_0x590ee2(0x277)][0x0])==null?void 0x0:_0x4b6d59['params'])==null?void 0x0:_0x271970[_0x590ee2(0x317)];if(Array[_0x590ee2(0x2c6)](_0x56d965)&&_0x56d965[_0x590ee2(0x380)]){if(_0x56d965[_0x590ee2(0x380)]===_0x1d89a3[0x0][_0x590ee2(0x41f)][_0x590ee2(0x317)]['length']&&_0x56d965[_0x590ee2(0x21d)]((_0x12109c,_0x86b130)=>_0x2480d1[_0x590ee2(0x296)](_0x12109c[_0x590ee2(0x33e)],_0x1d89a3[0x0][_0x590ee2(0x41f)][_0x590ee2(0x317)][_0x86b130]['range'])))return;this[_0x590ee2(0x3e9)][_0x590ee2(0x1f6)](_0x435e17)[_0x590ee2(0x2d3)](_0x33a069['id'],{'unitId':_0x3e18bb,'subUnitId':_0x192e24,'selections':_0x56d965});}}};it=Ys([ut(0x0,_0x1d307d(_0x1f649f)),ut(0x1,_0x402e01),ut(0x2,_0x505288)],it);const ht=_0x2b7bcb('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x55d9e0=>(_0x55d9e0[_0x55d9e0[_0x1f410c(0x3b1)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x55d9e0[_0x55d9e0[_0x1f410c(0x36f)]=0x1]=_0x1f410c(0x36f),_0x55d9e0))(Ei||{});const qs=new Set([_0x30ade4['id']]);function Wt(_0x589805,_0x2edc5e,_0x45443e,_0x308d17,_0x590dbf){var _0x511fb4=_0x1f410c,_0x25619a,_0x57cb9d,_0x50345f,_0x280c00;const _0xbd6a22=[];for(const _0x2d50e9 of _0x589805)if(qs['has'](_0x2d50e9['id'])){if(_0xbd6a22['length']>0x0)break;_0xbd6a22[_0x511fb4(0x2dc)](_0x2d50e9);break;}else _0xbd6a22[_0x511fb4(0x2dc)](_0x2d50e9);const _0x2c440a=(_0x57cb9d=(_0x25619a=_0x590dbf[_0x511fb4(0x407)]())==null?void 0x0:_0x25619a[_0x511fb4(0x355)])!=null?_0x57cb9d:_0x511fb4(0x2db),_0xcdfc0a=(_0x280c00=(_0x50345f=_0x590dbf[_0x511fb4(0x407)]())==null?void 0x0:_0x50345f[_0x511fb4(0x42e)])!=null?_0x280c00:_0x511fb4(0x2db);return{'changeset':{'unitID':_0x2edc5e,'type':_0x56f215(_0x45443e[_0x511fb4(0x3d7)](_0x2edc5e)),'baseRev':_0x308d17[_0x511fb4(0x47f)](_0x2edc5e),'revision':0x0,'userID':_0x2c440a,'memberID':_0xcdfc0a,'mutations':_0xbd6a22},'pendingMutations':_0x589805[_0x511fb4(0x30e)](_0xbd6a22['length'])};}function zs(_0x2b6ba8,_0x5d98a6,_0x16d59e,_0x2981d7,_0x84ade2){var _0xcb0f7=_0x1f410c,_0x559438,_0x5be43d,_0x1fbb95,_0xce0825;const _0x5b2e10=[_0x2b6ba8['reduce']((_0x31aec4,_0x475443)=>{var _0x105a54=_0x27f1,_0x115487;const {id:_0x24dd67}=_0x31aec4,{id:_0x318d6c,type:_0x3e71be}=_0x475443,_0x4ccba4=(_0x115487=_0x31aec4['params'])!=null?_0x115487:{'actions':null},_0x42e097=_0x475443[_0x105a54(0x41f)];if(_0x24dd67&&_0x24dd67!==_0x318d6c)throw new Error(_0x105a54(0x32c)+_0x24dd67+'\x20-\x20'+_0x318d6c+'.');return{..._0x31aec4,'id':_0x318d6c,'type':_0x3e71be,'params':{'unitId':_0x42e097[_0x105a54(0x391)],'textRanges':_0x42e097[_0x105a54(0x260)],'actions':_0x1607d8[_0x105a54(0x2aa)](_0x4ccba4[_0x105a54(0x1e3)],_0x42e097['actions'])}};},{})],_0x2ae782=(_0x5be43d=(_0x559438=_0x84ade2[_0xcb0f7(0x407)]())==null?void 0x0:_0x559438[_0xcb0f7(0x355)])!=null?_0x5be43d:_0xcb0f7(0x2db),_0x4de960=(_0xce0825=(_0x1fbb95=_0x84ade2[_0xcb0f7(0x407)]())==null?void 0x0:_0x1fbb95['memberID'])!=null?_0xce0825:_0xcb0f7(0x2db);return{'changeset':{'unitID':_0x5d98a6,'type':_0x56f215(_0x16d59e['getUnitType'](_0x5d98a6)),'baseRev':_0x2981d7[_0xcb0f7(0x47f)](_0x5d98a6),'revision':0x0,'userID':_0x2ae782,'memberID':_0x4de960,'mutations':_0x5b2e10},'pendingMutations':[]};}function Ii(_0x4b04cf,_0x28e84c){var _0x2c793d=_0x1f410c;const _0x41bf21=new _0x47f35c(0x1);return setTimeout(()=>_0x41bf21[_0x2c793d(0x252)](_0x28e84c),_0x4b04cf),_0x41bf21[_0x2c793d(0x18b)]()[_0x2c793d(0x2c5)](_0x16a73a(0x1));}const Js={'id':_0x292b4e['id'],'type':_0x496c2c[_0x1f410c(0x200)],'params':{}};var Xs=Object[_0x1f410c(0x2a4)],Ie=(_0x3cef1e,_0x23380a,_0x512de6,_0x570a9e)=>{var _0xbe7259=_0x1f410c;for(var _0x570355=_0x570a9e>0x1?void 0x0:_0x570a9e?Xs(_0x23380a,_0x512de6):_0x23380a,_0x39611a=_0x3cef1e[_0xbe7259(0x380)]-0x1,_0x145d04;_0x39611a>=0x0;_0x39611a--)(_0x145d04=_0x3cef1e[_0x39611a])&&(_0x570355=_0x145d04(_0x570355)||_0x570355);return _0x570355;},P=(_0x47c8da,_0x21be02)=>(_0x24f73e,_0x3c88fa)=>_0x21be02(_0x24f73e,_0x3c88fa,_0x47c8da),Ti=(_0x1130fc=>(_0x1130fc[_0x1f410c(0x3ca)]=_0x1f410c(0x206),_0x1130fc['SYNCED']=_0x1f410c(0x210),_0x1130fc[_0x1f410c(0x1ce)]=_0x1f410c(0x213),_0x1130fc['AWAITING']=_0x1f410c(0x2d0),_0x1130fc[_0x1f410c(0x373)]=_0x1f410c(0x44c),_0x1130fc[_0x1f410c(0x227)]=_0x1f410c(0x262),_0x1130fc[_0x1f410c(0x2f0)]=_0x1f410c(0x46a),_0x1130fc['OFFLINE']=_0x1f410c(0x480),_0x1130fc))(Ti||{});const Ci=0xea60;class Te{constructor(_0x53c210,_0x2bae4d,_0x11efad,_0x4061f5,_0x27b89d,_0x4f65d2,_0x34b8f5,_0x458c00,_0x5d4972){var _0x4e6788=_0x1f410c;N(this,_0x4e6788(0x389),null),N(this,'_pendingMutations',[]),(this[_0x4e6788(0x47c)]=_0x53c210,this[_0x4e6788(0x37c)]=_0x2bae4d,this[_0x4e6788(0x385)]=_0x27b89d,this[_0x4e6788(0x191)]=_0x4f65d2,this[_0x4e6788(0x329)]=_0x34b8f5,this[_0x4e6788(0x3fb)]=_0x458c00,this[_0x4e6788(0x2a0)]=_0x5d4972,this['_awaitingChangeset']=_0x11efad,this[_0x4e6788(0x303)]=_0x4061f5);}[_0x1f410c(0x23f)](_0x6c2a61){var _0x610a0c=_0x1f410c;const _0x4ea1c8=this[_0x610a0c(0x3fb)]['getCurrentRevOfUnit'](this['unitID']);return _0x6c2a61[_0x610a0c(0x462)]>_0x4ea1c8+0x1?(this['_handler'][_0x610a0c(0x400)]({'from':_0x4ea1c8,'to':_0x6c2a61['revision']-0x1}),!0x0):!0x1;}[_0x1f410c(0x27c)](_0x2d2c38){var _0x2d007a=_0x1f410c;this['_undoRedoService'][_0x2d007a(0x1c8)](this[_0x2d007a(0x47c)],_0x2d2c38);}[_0x1f410c(0x34b)](_0x5149e1){var _0x423f84,_0x4bc7c6;(_0x4bc7c6=(_0x423f84=this['_handler'])['onTransformSelections'])==null||_0x4bc7c6['call'](_0x423f84,_0x5149e1);}['_transformIMECache'](_0x327cc8){var _0x2b96a2=_0x1f410c,_0x450293,_0x319b68;return(_0x319b68=(_0x450293=this[_0x2b96a2(0x385)])[_0x2b96a2(0x369)])==null?void 0x0:_0x319b68[_0x2b96a2(0x208)](_0x450293,_0x327cc8);}[_0x1f410c(0x3a9)](_0x3ab607){var _0x581a6a=_0x1f410c,_0x18bb11,_0x4fe19f;return(_0x4fe19f=(_0x18bb11=this['_handler'])['onTransformState'])==null?void 0x0:_0x4fe19f[_0x581a6a(0x208)](_0x18bb11,_0x3ab607);}['_transformRemoteChangesetByIMECache'](_0x4cb404){var _0x1d5b2d=_0x1f410c,_0x51e7f1,_0x4b6ac3,_0x40d9e2;return(_0x40d9e2=(_0x4b6ac3=(_0x51e7f1=this[_0x1d5b2d(0x385)])[_0x1d5b2d(0x288)])==null?void 0x0:_0x4b6ac3['call'](_0x51e7f1,_0x4cb404))!=null?_0x40d9e2:_0x4cb404;}['_transformRemoteChangesetByStateCache'](_0x17087e){var _0x190398=_0x1f410c,_0x216638,_0x6ab5bf,_0x8e1be;return(_0x8e1be=(_0x6ab5bf=(_0x216638=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x6ab5bf[_0x190398(0x208)](_0x216638,_0x17087e))!=null?_0x8e1be:_0x17087e;}[_0x1f410c(0x28b)](_0x37403c){var _0x4a6373=_0x1f410c,_0x4fc3f7,_0x287142;if(this['type']===Z[_0x4a6373(0x212)]){const {unitID:_0x59d772,mutations:_0x26c958,memberID:_0x3955e2}=_0x37403c,_0x1314d3=_0x26c958[0x0][_0x4a6373(0x41f)][_0x4a6373(0x260)];Array[_0x4a6373(0x2c6)](_0x1314d3)&&_0x1314d3[_0x4a6373(0x380)]>0x0&&((_0x287142=(_0x4fc3f7=this[_0x4a6373(0x385)])['onSyncEditingCollabCursor'])==null||_0x287142[_0x4a6373(0x208)](_0x4fc3f7,{'unitID':_0x59d772,'memberID':_0x3955e2,'textRanges':_0x1314d3}));}}[_0x1f410c(0x283)](){var _0x13d27b=_0x1f410c,_0x3b8395;(_0x3b8395=this[_0x13d27b(0x2a0)])==null||_0x3b8395[_0x13d27b(0x38e)](this[_0x13d27b(0x47c)],this[_0x13d27b(0x37c)],this[_0x13d27b(0x389)],this[_0x13d27b(0x303)]);}['_getCurrentRevision'](){var _0x50d68f=_0x1f410c;return this['_revisionService'][_0x50d68f(0x47f)](this['unitID']);}['_incrementRevisionNumber'](){var _0x247f61=_0x1f410c;this['_revisionService'][_0x247f61(0x3f2)](this[_0x247f61(0x47c)]);}[_0x1f410c(0x284)](_0x22b6ef){var _0x5c0c1e=_0x1f410c,_0x13d067;let _0x49290e=this['_transformRemoteChangesetByIMECache'](_0x22b6ef);_0x49290e=this[_0x5c0c1e(0x182)](_0x49290e);const _0x3b51f4=_0x377b5c(_0x49290e[_0x5c0c1e(0x2c2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3b51f4[_0x5c0c1e(0x419)])throw _0x3b51f4[_0x5c0c1e(0x1a2)]instanceof Error?_0x3b51f4[_0x5c0c1e(0x1a2)]:new Error((_0x13d067=_0x3b51f4['error'])!=null?_0x13d067:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x49290e),this[_0x5c0c1e(0x3a9)](_0x49290e),this[_0x5c0c1e(0x27c)](_0x22b6ef),this['_transformSelections'](_0x49290e),this[_0x5c0c1e(0x28b)](_0x49290e),this[_0x5c0c1e(0x264)]();}}let ye=class extends Te{constructor(_0xcbd81,_0x23b9ae,_0x41d687,_0x2a2f75,_0x1ae47d,_0x521ff6,_0x27ce71,_0x27a8b9,_0x4e042b,_0x1c56b6){var _0x2f6914=_0x1f410c;super(_0xcbd81,_0x23b9ae,null,[],_0x41d687,_0x27ce71,_0x521ff6,_0x2a2f75,_0x1c56b6),N(this,'status',_0x2f6914(0x210)),(this['_injector']=_0x1ae47d,this[_0x2f6914(0x320)]=_0x27a8b9,this[_0x2f6914(0x228)]=_0x4e042b,this['localCacheService']=_0x1c56b6);}[_0x1f410c(0x1d5)](_0xe1316e){var _0x36891f=_0x1f410c;const _0x31c6b7=this['_injector'][_0x36891f(0x40e)](re,this[_0x36891f(0x47c)],this[_0x36891f(0x37c)],[_0xe1316e],this[_0x36891f(0x385)]);return _0x31c6b7[_0x36891f(0x216)](),_0x31c6b7[_0x36891f(0x283)](),_0x31c6b7;}[_0x1f410c(0x198)](_0x2674ac){var _0x5b07d8=_0x1f410c;if(this['_checkMissing'](_0x2674ac))return this[_0x5b07d8(0x3e9)]['createInstance'](Q,this[_0x5b07d8(0x47c)],this['type'],null,[],null,[_0x2674ac],this[_0x5b07d8(0x385)]);try{const _0x1146b8=this[_0x5b07d8(0x228)][_0x5b07d8(0x3f1)](_0x2674ac,[Js]);if(_0x20cff5(_0x1146b8)){const {c1Prime:_0x22e843}=_0x1146b8;return this[_0x5b07d8(0x284)](_0x22e843),this;}throw _0x1146b8[_0x5b07d8(0x1a2)];}catch(_0x45e46e){return this[_0x5b07d8(0x320)][_0x5b07d8(0x1a2)](_0x45e46e),this[_0x5b07d8(0x27a)](!0x1);}}['_onConflict'](_0x3877b3){var _0x50b6c4=_0x1f410c;return this[_0x50b6c4(0x3e9)]['createInstance'](le,this[_0x50b6c4(0x47c)],this['type'],null,[],this[_0x50b6c4(0x385)],_0x3877b3);}[_0x1f410c(0x333)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1217ec=_0x1f410c;throw new Error(_0x1217ec(0x348));}[_0x1f410c(0x346)](){return this;}[_0x1f410c(0x2d8)](){var _0x242946=_0x1f410c;return this[_0x242946(0x3e9)][_0x242946(0x40e)](ue,this[_0x242946(0x47c)],this[_0x242946(0x37c)],null,[],this[_0x242946(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){var _0x20bf45=_0x1f410c;throw new Error(_0x20bf45(0x345));}['fetchMiss'](){var _0x4ae40b=_0x1f410c;const _0x484f63=this[_0x4ae40b(0x3fb)][_0x4ae40b(0x47f)](this[_0x4ae40b(0x47c)]);return this[_0x4ae40b(0x385)][_0x4ae40b(0x400)]({'from':_0x484f63,'to':0x0}),this['_injector'][_0x4ae40b(0x40e)](Q,this['unitID'],this[_0x4ae40b(0x37c)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x1d307d(_0xd49e7)),P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x2aacb6),P(0x6,_0x435e17),P(0x7,_0x419223),P(0x8,_0x402e01),P(0x9,_0x1c555d(J))],ye);let re=class extends Te{constructor(_0x48ff1b,_0x4b1c2e,_0x336b03,_0x158dcf,_0x4b2c94,_0x5b0e9f,_0xc41851,_0x4e0cd4,_0x116295,_0x30e81a,_0x1f9edc,_0x1f49a9,_0x1d6414,_0x2ac2a5){var _0x46a255=_0x1f410c;super(_0x48ff1b,_0x4b1c2e,null,_0x336b03,_0x158dcf,_0x116295,_0x1d6414,_0x5b0e9f,_0x2ac2a5),N(this,_0x46a255(0x256),_0x46a255(0x213)),N(this,_0x46a255(0x2b4),null),N(this,'_sendingTimer',null),(this['_injector']=_0x4b2c94,this[_0x46a255(0x434)]=_0xc41851,this[_0x46a255(0x320)]=_0x4e0cd4,this[_0x46a255(0x3bc)]=_0x30e81a,this[_0x46a255(0x228)]=_0x1f9edc,this[_0x46a255(0x181)]=_0x1f49a9);}[_0x1f410c(0x1d5)](_0x1ed82a){var _0x40224f=_0x1f410c;return this[_0x40224f(0x303)][_0x40224f(0x2dc)](_0x1ed82a),this[_0x40224f(0x283)](),this;}[_0x1f410c(0x198)](_0x4ac767){var _0x1e9746=_0x1f410c;if(this['_checkMissing'](_0x4ac767))return this[_0x1e9746(0x2f7)](),this['_injector'][_0x1e9746(0x40e)](Q,this[_0x1e9746(0x47c)],this[_0x1e9746(0x37c)],null,this[_0x1e9746(0x303)],null,[_0x4ac767],this[_0x1e9746(0x385)]);try{const _0x3cbec3=this[_0x1e9746(0x228)][_0x1e9746(0x3f1)](_0x4ac767,this[_0x1e9746(0x303)]);if(_0x20cff5(_0x3cbec3)){const {c1Prime:_0x5765ed,m2Prime:_0x41bc21}=_0x3cbec3;this[_0x1e9746(0x284)](_0x5765ed);const _0x44e312=this['_injector']['createInstance'](re,this[_0x1e9746(0x47c)],this['type'],_0x41bc21,this[_0x1e9746(0x385)]);this[_0x1e9746(0x2f7)]();const _0x5b6198=new Date()[_0x1e9746(0x187)](),_0x2340ea=this[_0x1e9746(0x2b4)]?Math['max'](this[_0x1e9746(0x2b4)]-_0x5b6198,0x0):this['_getSendChangesetTimeout']();return _0x44e312[_0x1e9746(0x216)](_0x2340ea),_0x44e312;}throw _0x3cbec3[_0x1e9746(0x1a2)];}catch(_0x5279fe){return this[_0x1e9746(0x320)][_0x1e9746(0x1a2)](_0x5279fe),this[_0x1e9746(0x27a)](!0x1);}}[_0x1f410c(0x333)](){var _0x2fac82=_0x1f410c;throw new Error(_0x2fac82(0x3b5));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f410c(0x2d8)](){var _0xb65ea1=_0x1f410c;return this[_0xb65ea1(0x2f7)](),this[_0xb65ea1(0x3e9)][_0xb65ea1(0x40e)](ue,this[_0xb65ea1(0x47c)],this['type'],null,this[_0xb65ea1(0x303)],this['_handler']);}['toggleOnline'](){return this;}[_0x1f410c(0x216)](_0x45f6e0){var _0x2e1249=_0x1f410c;const _0x6b6e78=_0x45f6e0!=null?_0x45f6e0:this[_0x2e1249(0x274)]();this[_0x2e1249(0x2b4)]=new Date()['getTime']()+_0x6b6e78,this[_0x2e1249(0x2e2)]=setTimeout(()=>{var _0x19bff0=_0x2e1249;this[_0x19bff0(0x2f7)]();let _0x20159f=null;switch(this[_0x19bff0(0x37c)]){case Z['UNIVER_SHEET']:{_0x20159f=Wt(this['_pendingMutations'],this[_0x19bff0(0x47c)],this[_0x19bff0(0x181)],this[_0x19bff0(0x3fb)],this[_0x19bff0(0x434)]);break;}case Z[_0x19bff0(0x212)]:{this[_0x19bff0(0x303)][_0x19bff0(0x21d)](_0x3e42b1=>_0x3e42b1['id']===_0x4b50f8['id'])?_0x20159f=zs(this[_0x19bff0(0x303)],this[_0x19bff0(0x47c)],this['_univerInstanceService'],this[_0x19bff0(0x3fb)],this[_0x19bff0(0x434)]):_0x20159f=Wt(this[_0x19bff0(0x303)],this[_0x19bff0(0x47c)],this[_0x19bff0(0x181)],this[_0x19bff0(0x3fb)],this['_memberService']);break;}default:throw new Error(_0x19bff0(0x451)+this[_0x19bff0(0x37c)]+'\x20in\x20_schedule.');}const {changeset:_0x2d3a0f,pendingMutations:_0x3530fd}=_0x20159f;this[_0x19bff0(0x385)][_0x19bff0(0x342)](_0x2d3a0f);const _0x29d419=_0x3530fd['length']?this['_injector'][_0x19bff0(0x40e)](ae,this[_0x19bff0(0x47c)],this[_0x19bff0(0x37c)],_0x2d3a0f,_0x3530fd,this[_0x19bff0(0x385)],void 0x0):this[_0x19bff0(0x3e9)][_0x19bff0(0x40e)](_e,this[_0x19bff0(0x47c)],this[_0x19bff0(0x37c)],_0x2d3a0f,this[_0x19bff0(0x385)]);_0x29d419[_0x19bff0(0x283)](),this[_0x19bff0(0x385)]['onStateChange'](this,_0x29d419);},_0x6b6e78);}[_0x1f410c(0x274)](){var _0x13e518=_0x1f410c,_0x3c6e09;const _0x4818ff=this['_configService'][_0x13e518(0x1e6)](K);return(_0x3c6e09=_0x4818ff==null?void 0x0:_0x4818ff[_0x13e518(0x24e)])!=null?_0x3c6e09:ms;}[_0x1f410c(0x477)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x3e4e91=_0x1f410c;this[_0x3e4e91(0x2e2)]!=null&&(clearTimeout(this[_0x3e4e91(0x2e2)]),this[_0x3e4e91(0x2e2)]=null);}['_onConflict'](_0x2c4790){var _0x1b4e77=_0x1f410c;return this[_0x1b4e77(0x2f7)](),this[_0x1b4e77(0x3e9)]['createInstance'](le,this[_0x1b4e77(0x47c)],this['type'],null,this[_0x1b4e77(0x303)],this['_handler'],_0x2c4790);}};re=Ie([P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x1d307d(_0xd49e7)),P(0x6,_0x1d307d(Pe)),P(0x7,_0x419223),P(0x8,_0x435e17),P(0x9,_0x22f7d3),P(0xa,_0x402e01),P(0xb,_0x505288),P(0xc,_0x2aacb6),P(0xd,_0x1c555d(J))],re);let _e=class extends Te{constructor(_0x2ef56c,_0x1ee82c,_0x212132,_0x163b25,_0x1f827e,_0x4b7e42,_0x241921,_0x51e6bb,_0x4cc28a,_0x450257,_0xd427c){var _0x1b3509=_0x1f410c;super(_0x2ef56c,_0x1ee82c,_0x212132,[],_0x163b25,_0x241921,_0x450257,_0x4b7e42,_0xd427c),N(this,'status',_0x1b3509(0x2d0)),N(this,_0x1b3509(0x3a8),0x0),N(this,_0x1b3509(0x214)),N(this,_0x1b3509(0x1e9)),(this[_0x1b3509(0x3e9)]=_0x1f827e,this[_0x1b3509(0x320)]=_0x51e6bb,this[_0x1b3509(0x228)]=_0x4cc28a);}[_0x1f410c(0x1d5)](_0x22e440){var _0xd59ad3=_0x1f410c;this[_0xd59ad3(0x2f7)]();const _0x1f04bf=this[_0xd59ad3(0x3e9)][_0xd59ad3(0x40e)](ae,this[_0xd59ad3(0x47c)],this[_0xd59ad3(0x37c)],this[_0xd59ad3(0x389)],[_0x22e440],this[_0xd59ad3(0x385)],this[_0xd59ad3(0x214)]);return _0x1f04bf[_0xd59ad3(0x283)](),_0x1f04bf;}[_0x1f410c(0x198)](_0x40dabe){var _0x2cbf76=_0x1f410c;if(this[_0x2cbf76(0x23f)](_0x40dabe))return this[_0x2cbf76(0x2f7)](),this[_0x2cbf76(0x3e9)]['createInstance'](Q,this[_0x2cbf76(0x47c)],this['type'],this['_awaitingChangeset'],[],null,[_0x40dabe],this[_0x2cbf76(0x385)]);try{const _0x1c83e1=this[_0x2cbf76(0x228)][_0x2cbf76(0x3e0)]([_0x40dabe],[this[_0x2cbf76(0x389)]],!0x1);if(_0xeee444(_0x1c83e1)){const {c1Prime:_0x573a63,c2Prime:_0x5a66b5}=_0x1c83e1;this['_executeRemoteChangeset'](_0x573a63[0x0]),_0x5a66b5[0x0][_0x2cbf76(0x254)]=this[_0x2cbf76(0x3e4)](),this[_0x2cbf76(0x2f7)]();const _0x1e1a75=this['_injector'][_0x2cbf76(0x40e)](_e,this['unitID'],this['type'],_0x5a66b5[0x0],this[_0x2cbf76(0x385)]);return _0x1e1a75[_0x2cbf76(0x283)](),_0x1e1a75;}return this['_onConflict'](!0x1);}catch(_0x2c11b4){return this[_0x2cbf76(0x320)][_0x2cbf76(0x1a2)](_0x2c11b4),this[_0x2cbf76(0x27a)](!0x1);}}['onRemoteAck'](_0x213116){var _0x5ade48=_0x1f410c;this[_0x5ade48(0x2f7)]();const _0x34666=this[_0x5ade48(0x3fb)]['getCurrentRevOfUnit'](this[_0x5ade48(0x47c)]);if(_0x213116[_0x5ade48(0x462)]<_0x34666-0x1)return this;if(this[_0x5ade48(0x23f)](_0x213116))return this[_0x5ade48(0x3e9)]['createInstance'](Q,this[_0x5ade48(0x47c)],this['type'],null,[],this[_0x5ade48(0x389)],[],this['_handler']);this[_0x5ade48(0x264)]();const _0x29340c=this['_injector'][_0x5ade48(0x40e)](ye,this['unitID'],this['type'],this[_0x5ade48(0x385)]);return _0x29340c[_0x5ade48(0x283)](),_0x29340c;}[_0x1f410c(0x2a1)](_0x46bce9){var _0x222db7=_0x1f410c;return this[_0x222db7(0x27a)](!!(_0x46bce9!=null&&_0x46bce9['isPermissionRej']));}[_0x1f410c(0x346)](_0x1cbc68){var _0x3e9a6f=_0x1f410c;return this[_0x3e9a6f(0x3a8)]>Ci?this[_0x3e9a6f(0x2d8)]():(this[_0x3e9a6f(0x214)]=Ii(this[_0x3e9a6f(0x3a8)],{'timeout':this['_resendTimeout'],'reqId':_0x1cbc68[_0x3e9a6f(0x3d1)]}),this[_0x3e9a6f(0x1e9)]=this[_0x3e9a6f(0x214)][_0x3e9a6f(0x2f1)](({reqId:_0x52d5f8,timeout:_0x40556e})=>{var _0x2e3132=_0x3e9a6f;this[_0x2e3132(0x1a0)](_0x52d5f8,_0x40556e);}),this);}['toggleOffline'](){var _0xbe1230=_0x1f410c;return this[_0xbe1230(0x2f7)](),this[_0xbe1230(0x3e9)]['createInstance'](ue,this[_0xbe1230(0x47c)],this[_0xbe1230(0x37c)],this['_awaitingChangeset'],[],this[_0xbe1230(0x385)]);}[_0x1f410c(0x3b6)](){return this;}['resend'](){var _0x4dfa6e=_0x1f410c;this[_0x4dfa6e(0x385)][_0x4dfa6e(0x342)](this[_0x4dfa6e(0x389)]);}[_0x1f410c(0x27a)](_0x54810c){var _0x49fd88=_0x1f410c;return this[_0x49fd88(0x2f7)](),this[_0x49fd88(0x3e9)][_0x49fd88(0x40e)](le,this[_0x49fd88(0x47c)],this['type'],this[_0x49fd88(0x389)],[],this[_0x49fd88(0x385)],_0x54810c);}[_0x1f410c(0x1a0)](_0x46f655,_0x2ae8af){var _0x386110=_0x1f410c,_0x66f603;_0x46f655===((_0x66f603=this[_0x386110(0x389)])==null?void 0x0:_0x66f603[_0x386110(0x3d1)])&&(this[_0x386110(0x477)](),this[_0x386110(0x3a8)]=_0x2ae8af===0x0?0x3e8:_0x2ae8af*0x2);}[_0x1f410c(0x2f7)](){var _0x1df0ee=_0x1f410c,_0x1394c6;(_0x1394c6=this[_0x1df0ee(0x1e9)])==null||_0x1394c6['unsubscribe'](),this[_0x1df0ee(0x3a8)]=0x0;}};_e=Ie([P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x1d307d(_0xd49e7)),P(0x6,_0x435e17),P(0x7,_0x419223),P(0x8,_0x402e01),P(0x9,_0x2aacb6),P(0xa,_0x1c555d(J))],_e);let ae=class extends Te{constructor(_0x3329ee,_0x4946f8,_0x317201,_0x5a24d9,_0x577bac,_0x43aa3d,_0x521bcc,_0x55b6b2,_0x156efa,_0x2f4d83,_0x13e943,_0x17da51,_0x36e5b7){var _0x4e0b97=_0x1f410c;super(_0x3329ee,_0x4946f8,_0x317201,_0x5a24d9,_0x577bac,_0x156efa,_0x17da51,_0x55b6b2,_0x36e5b7),N(this,_0x4e0b97(0x256),_0x4e0b97(0x44c)),N(this,_0x4e0b97(0x3a8),0x0),N(this,_0x4e0b97(0x214)),N(this,_0x4e0b97(0x1e9)),(this[_0x4e0b97(0x3e9)]=_0x521bcc,this[_0x4e0b97(0x320)]=_0x2f4d83,this['_transformService']=_0x13e943,this[_0x4e0b97(0x1e7)]=_0x36e5b7,_0x43aa3d&&(this[_0x4e0b97(0x214)]=_0x43aa3d,this['_sender']=this[_0x4e0b97(0x214)]['subscribe'](({reqId:_0x113baa,timeout:_0x2e5a88})=>{var _0x795118=_0x4e0b97;this[_0x795118(0x1a0)](_0x113baa,_0x2e5a88);})));}['appendMutation'](_0x4081e1){var _0x303e89=_0x1f410c;return this[_0x303e89(0x303)]['push'](_0x4081e1),this;}[_0x1f410c(0x198)](_0x547144){var _0x5c6b67=_0x1f410c;if(this[_0x5c6b67(0x23f)](_0x547144))return this['_clearScheduledTask'](),this[_0x5c6b67(0x3e9)]['createInstance'](Q,this[_0x5c6b67(0x47c)],this[_0x5c6b67(0x37c)],this[_0x5c6b67(0x389)],this['_pendingMutations'],null,[_0x547144],this[_0x5c6b67(0x385)]);try{const _0x2347d9=this[_0x5c6b67(0x228)][_0x5c6b67(0x3e0)]([_0x547144],[this['_awaitingChangeset']],!0x1);if(_0xeee444(_0x2347d9)){const {c1Prime:_0x5c2007,c2Prime:_0x152bec}=_0x2347d9,_0x374a0b=this[_0x5c6b67(0x228)][_0x5c6b67(0x3f1)](_0x5c2007[0x0],this[_0x5c6b67(0x303)]);if(_0x20cff5(_0x374a0b)){const {c1Prime:_0xb1740f,m2Prime:_0xedf255}=_0x374a0b;return this[_0x5c6b67(0x284)](_0xb1740f),_0x152bec[0x0][_0x5c6b67(0x254)]=this[_0x5c6b67(0x3e4)](),this[_0x5c6b67(0x2f7)](),this[_0x5c6b67(0x3e9)][_0x5c6b67(0x40e)](ae,this[_0x5c6b67(0x47c)],this[_0x5c6b67(0x37c)],_0x152bec[0x0],_0xedf255,this[_0x5c6b67(0x385)],void 0x0);}throw _0x374a0b[_0x5c6b67(0x1a2)];}throw _0x2347d9[_0x5c6b67(0x1a2)];}catch(_0x2ea98e){return this[_0x5c6b67(0x320)][_0x5c6b67(0x1a2)](_0x2ea98e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xdf23fe){var _0x15114d=_0x1f410c;if(this[_0x15114d(0x2f7)](),this[_0x15114d(0x23f)](_0xdf23fe))return this[_0x15114d(0x3e9)]['createInstance'](Q,this[_0x15114d(0x47c)],this[_0x15114d(0x37c)],null,this[_0x15114d(0x303)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x391e1c=this[_0x15114d(0x3e9)][_0x15114d(0x40e)](re,this[_0x15114d(0x47c)],this['type'],this['_pendingMutations'],this[_0x15114d(0x385)]);return _0x391e1c[_0x15114d(0x216)](),_0x391e1c[_0x15114d(0x283)](),_0x391e1c;}[_0x1f410c(0x2a1)](_0x3504d3){var _0x50d3de=_0x1f410c;return this[_0x50d3de(0x27a)](!!(_0x3504d3!=null&&_0x3504d3[_0x50d3de(0x3f3)]));}[_0x1f410c(0x346)](_0x274db7){var _0x470f08=_0x1f410c;return this[_0x470f08(0x3a8)]>Ci?this[_0x470f08(0x2d8)]():(this[_0x470f08(0x214)]=Ii(this['_resendTimeout'],{'timeout':this[_0x470f08(0x3a8)],'reqId':_0x274db7[_0x470f08(0x3d1)]}),this['_sender']=this['_resendTimer'][_0x470f08(0x2f1)](({reqId:_0x14433f,timeout:_0x1f7b37})=>{var _0x185a92=_0x470f08;this[_0x185a92(0x1a0)](_0x14433f,_0x1f7b37);}),this);}[_0x1f410c(0x2d8)](){var _0x2868a1=_0x1f410c;return this[_0x2868a1(0x2f7)](),this[_0x2868a1(0x3e9)]['createInstance'](ue,this[_0x2868a1(0x47c)],this[_0x2868a1(0x37c)],this[_0x2868a1(0x389)],this[_0x2868a1(0x303)],this[_0x2868a1(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){var _0x3a33cb=_0x1f410c;this[_0x3a33cb(0x385)][_0x3a33cb(0x342)](this[_0x3a33cb(0x389)]);}[_0x1f410c(0x27a)](_0x5ae314){var _0x419367=_0x1f410c;return this[_0x419367(0x2f7)](),this[_0x419367(0x3e9)]['createInstance'](le,this[_0x419367(0x47c)],this[_0x419367(0x37c)],null,this[_0x419367(0x303)],this['_handler'],_0x5ae314);}[_0x1f410c(0x1a0)](_0x12a936,_0x31a474){var _0x315060=_0x1f410c,_0x54b0df;_0x12a936===((_0x54b0df=this['_awaitingChangeset'])==null?void 0x0:_0x54b0df[_0x315060(0x3d1)])&&(this[_0x315060(0x477)](),this[_0x315060(0x3a8)]=_0x31a474===0x0?0x3e8:_0x31a474*0x2);}[_0x1f410c(0x2f7)](){var _0x573da4=_0x1f410c,_0x52c6eb;(_0x52c6eb=this[_0x573da4(0x1e9)])==null||_0x52c6eb[_0x573da4(0x1fa)](),this[_0x573da4(0x3a8)]=0x0;}};ae=Ie([P(0x6,_0x1d307d(_0x1f649f)),P(0x7,_0x1d307d(_0xd49e7)),P(0x8,_0x435e17),P(0x9,_0x419223),P(0xa,_0x402e01),P(0xb,_0x2aacb6),P(0xc,_0x1c555d(J))],ae);let le=class extends Te{constructor(_0x1d93e5,_0xf4c2b4,_0x46bd7f,_0x326bf8,_0x3d93f1,_0x342e79=!0x1,_0x2400ce,_0x34602d,_0x5a9dfc,_0x4561d5,_0xc86f7f,_0x45e27d,_0x3ba633){var _0x23cb64=_0x1f410c;super(_0x1d93e5,_0xf4c2b4,_0x46bd7f,_0x326bf8,_0x3d93f1,_0x34602d,_0x5a9dfc,_0x4561d5,_0x3ba633),N(this,_0x23cb64(0x256),_0x23cb64(0x46a)),(this[_0x23cb64(0x43c)]=_0x342e79,this[_0x23cb64(0x259)]=_0x2400ce,this[_0x23cb64(0x249)]=_0xc86f7f,this[_0x23cb64(0x425)]=_0x45e27d,this[_0x23cb64(0x1e7)]=_0x3ba633,this['_showConflictNotification'](),this[_0x23cb64(0x194)](),this[_0x23cb64(0x3b3)]());}[_0x1f410c(0x1d5)](){return this;}[_0x1f410c(0x198)](){return this;}[_0x1f410c(0x333)](){return this;}['onRemoteRej'](){return this;}[_0x1f410c(0x346)](){return this;}[_0x1f410c(0x2d8)](){return this;}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f410c(0x194)](){var _0x8ccca1=_0x1f410c,_0x2fd2d9;(_0x2fd2d9=this[_0x8ccca1(0x2a0)])==null||_0x2fd2d9[_0x8ccca1(0x38e)](this[_0x8ccca1(0x47c)],this[_0x8ccca1(0x37c)],null,[]);}[_0x1f410c(0x2d6)](){var _0x4565bb=_0x1f410c;this[_0x4565bb(0x43c)]?this['_collaborationUIEventService'][_0x4565bb(0x1bb)]({'id':ne[_0x4565bb(0x2ff)]}):this[_0x4565bb(0x425)][_0x4565bb(0x1bb)]({'id':ne['CONFLICT']});}['_disableEditing'](){var _0x1403cd=_0x1f410c;this[_0x1403cd(0x259)]['updatePermissionPoint'](new _0x44663c(this[_0x1403cd(0x47c)])['id'],!0x1);}};le=Ie([P(0x6,_0x1d307d(_0x42cef7)),P(0x7,_0x435e17),P(0x8,_0x2aacb6),P(0x9,_0x1d307d(_0xd49e7)),P(0xa,_0x1d307d(_0x4c667f)),P(0xb,_0x1d307d(ve)),P(0xc,_0x1c555d(J))],le);let ue=class extends Te{constructor(_0x74c926,_0x31f53a,_0x4fb64e,_0x2a041b,_0x1039db,_0x4cb1f2,_0x2f2469,_0xab5eb5,_0x295535,_0x295cea){var _0xccc404=_0x1f410c;super(_0x74c926,_0x31f53a,_0x4fb64e,_0x2a041b,_0x1039db,_0xab5eb5,_0x295535,_0x2f2469,_0x295cea),N(this,_0xccc404(0x256),_0xccc404(0x480)),this['_injector']=_0x4cb1f2;}['appendMutation'](_0x4fbd11){var _0x4e7a1b=_0x1f410c;return this[_0x4e7a1b(0x303)][_0x4e7a1b(0x2dc)](_0x4fbd11),this[_0x4e7a1b(0x283)](),this;}[_0x1f410c(0x198)](_0x3aa0b8){var _0x327ddb=_0x1f410c;throw new Error(_0x327ddb(0x1dc));}[_0x1f410c(0x333)](){var _0x580a21=_0x1f410c;throw new Error(_0x580a21(0x272));}[_0x1f410c(0x2a1)](){var _0x1c7b02=_0x1f410c;throw new Error(_0x1c7b02(0x30b));}[_0x1f410c(0x346)](){return this;}['toggleOffline'](){return this;}[_0x1f410c(0x3b6)](){var _0x217cbd=_0x1f410c;const {_injector:_0x568c21,_pendingMutations:_0x56a921,_awaitingChangeset:_0x393b13,unitID:_0x365fd6,_handler:_0x46ec06,type:_0x363728}=this,_0x3fbf80=Ri(_0x568c21,_0x365fd6,_0x363728,_0x393b13,_0x56a921,_0x46ec06);return _0x3fbf80 instanceof re?_0x3fbf80['_schedule']():(_0x3fbf80 instanceof ae||_0x3fbf80 instanceof _e)&&_0x3fbf80[_0x217cbd(0x477)](),_0x3fbf80;}[_0x1f410c(0x477)](){var _0x4a068e=_0x1f410c;throw new Error(_0x4a068e(0x422));}};ue=Ie([P(0x5,_0x1d307d(_0x1f649f)),P(0x6,_0x1d307d(_0xd49e7)),P(0x7,_0x435e17),P(0x8,_0x2aacb6),P(0x9,_0x1c555d(J))],ue);let Q=class extends Te{constructor(_0x1e8159,_0x104e4e,_0x801ded,_0x58f115,_0xec463e,_0x5542cc,_0x55cce0,_0x53244d,_0x179452,_0x533c8c,_0x6ad707,_0x2e179a,_0x1932f0,_0xff328d){var _0x34aaad=_0x1f410c;super(_0x1e8159,_0x104e4e,_0x801ded,_0x58f115,_0x55cce0,_0x6ad707,_0x2e179a,_0x179452,_0xff328d),N(this,_0x34aaad(0x256),_0x34aaad(0x262)),(this[_0x34aaad(0x2a8)]=_0xec463e,this[_0x34aaad(0x29f)]=_0x5542cc,this[_0x34aaad(0x3e9)]=_0x53244d,this[_0x34aaad(0x320)]=_0x533c8c,this[_0x34aaad(0x228)]=_0x1932f0,this[_0x34aaad(0x1e7)]=_0xff328d);}['onMissedChangesetFetched'](_0x3a3c4d){var _0x5d78e8=_0x1f410c;try{const _0x483395=[..._0x3a3c4d,...this[_0x5d78e8(0x29f)]],_0x305afd=[this[_0x5d78e8(0x389)]||this['_acknowledgedAwaitingChangeset']][_0x5d78e8(0x32f)](_0x4dc08=>!!_0x4dc08);let _0x5a822f,_0x4743b9;if(_0x305afd[_0x5d78e8(0x380)]){const _0xb0c353=this[_0x5d78e8(0x228)][_0x5d78e8(0x3e0)](_0x483395,_0x305afd,!0x1);if(!_0xeee444(_0xb0c353))throw _0xb0c353[_0x5d78e8(0x1a2)];_0x5a822f=_0xb0c353[_0x5d78e8(0x444)],_0x4743b9=_0xb0c353[_0x5d78e8(0x405)];}else _0x5a822f=_0x483395,_0x4743b9=[];let _0x36e8c5=this['_pendingMutations'];_0x5a822f['forEach'](_0x2347b0=>{var _0x14c7dd=_0x5d78e8;let _0x2bf543;if(_0x36e8c5[_0x14c7dd(0x380)]){const _0x2d7aab=this[_0x14c7dd(0x228)][_0x14c7dd(0x3f1)](_0x2347b0,_0x36e8c5);if(!_0x20cff5(_0x2d7aab))throw _0x2d7aab[_0x14c7dd(0x1a2)];_0x2bf543=_0x2d7aab[_0x14c7dd(0x444)],_0x36e8c5=_0x2d7aab[_0x14c7dd(0x277)];}else _0x2bf543=_0x2347b0;this[_0x14c7dd(0x284)](_0x2bf543);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5d78e8(0x264)](),this[_0x5d78e8(0x389)]&&_0x4743b9[_0x5d78e8(0x380)]&&(_0x4743b9[0x0][_0x5d78e8(0x254)]=this[_0x5d78e8(0x3e4)]());let _0x61e2a9;if(this[_0x5d78e8(0x389)]&&_0x36e8c5[_0x5d78e8(0x380)]!==0x0)_0x61e2a9=this[_0x5d78e8(0x3e9)][_0x5d78e8(0x40e)](ae,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x4743b9[0x0],_0x36e8c5,this[_0x5d78e8(0x385)],void 0x0);else{if(this[_0x5d78e8(0x389)]&&_0x36e8c5[_0x5d78e8(0x380)]===0x0)_0x4743b9[0x0][_0x5d78e8(0x254)]=this[_0x5d78e8(0x3e4)](),_0x61e2a9=this['_injector']['createInstance'](_e,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x4743b9[0x0],this['_handler']);else{if(_0x36e8c5['length']!==0x0){const _0x191b1=this[_0x5d78e8(0x3e9)]['createInstance'](re,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x36e8c5,this['_handler']);_0x191b1[_0x5d78e8(0x216)](),_0x61e2a9=_0x191b1;}else _0x61e2a9=this[_0x5d78e8(0x3e9)][_0x5d78e8(0x40e)](ye,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],this[_0x5d78e8(0x385)]);}}return _0x61e2a9[_0x5d78e8(0x283)](),_0x61e2a9;}catch(_0x247168){return this[_0x5d78e8(0x320)][_0x5d78e8(0x1a2)](_0x5d78e8(0x388),_0x5d78e8(0x23a),_0x247168),this['_injector'][_0x5d78e8(0x40e)](le,this[_0x5d78e8(0x47c)],this['type'],this[_0x5d78e8(0x389)],this[_0x5d78e8(0x303)],this[_0x5d78e8(0x385)],!0x1);}}[_0x1f410c(0x477)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x4bc603){var _0x4769c9=_0x1f410c;return this[_0x4769c9(0x303)][_0x4769c9(0x2dc)](_0x4bc603),this;}[_0x1f410c(0x198)](_0x59e6b7){var _0x3fb723=_0x1f410c;return this[_0x3fb723(0x29f)][_0x3fb723(0x2dc)](_0x59e6b7),this;}[_0x1f410c(0x333)](_0x3968e1){var _0x1c43c8=_0x1f410c;if(this[_0x1c43c8(0x389)])return this[_0x1c43c8(0x2a8)]=this['_awaitingChangeset'],this[_0x1c43c8(0x389)]=null,this;throw new Error(_0x1c43c8(0x372));}['onRemoteRej'](_0x273951){var _0x547d5a=_0x1f410c;return this[_0x547d5a(0x27a)](!!(_0x273951!=null&&_0x273951[_0x547d5a(0x3f3)]));}[_0x1f410c(0x346)](){return this;}['toggleOffline'](){var _0x528ead=_0x1f410c;return this['_injector'][_0x528ead(0x40e)](ue,this[_0x528ead(0x47c)],this[_0x528ead(0x37c)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x528ead(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x27a)](_0x222801){var _0x47fd79=_0x1f410c;return this[_0x47fd79(0x3e9)][_0x47fd79(0x40e)](le,this[_0x47fd79(0x47c)],this[_0x47fd79(0x37c)],this[_0x47fd79(0x389)],this[_0x47fd79(0x303)],this[_0x47fd79(0x385)],_0x222801);}};Q=Ie([P(0x7,_0x1d307d(_0x1f649f)),P(0x8,_0x1d307d(_0xd49e7)),P(0x9,_0x419223),P(0xa,_0x435e17),P(0xb,_0x2aacb6),P(0xc,_0x402e01),P(0xd,_0x1c555d(J))],Q);function Ri(_0x3dcb78,_0x2317e8,_0x465fce,_0x53b680,_0x5d1c0a,_0x579059){var _0x808963=_0x1f410c;return _0x53b680&&_0x5d1c0a[_0x808963(0x380)]?_0x3dcb78[_0x808963(0x40e)](ae,_0x2317e8,_0x465fce,_0x53b680,_0x5d1c0a,_0x579059,void 0x0):_0x53b680?_0x3dcb78['createInstance'](_e,_0x2317e8,_0x465fce,_0x53b680,_0x579059):_0x5d1c0a['length']?_0x3dcb78[_0x808963(0x40e)](re,_0x2317e8,_0x465fce,_0x5d1c0a,_0x579059):_0x3dcb78['createInstance'](ye,_0x2317e8,_0x465fce,_0x579059);}var Zs=Object[_0x1f410c(0x2a4)],wt=(_0x15f476,_0x3327e0,_0x4bde69,_0x5214e6)=>{var _0x5e030a=_0x1f410c;for(var _0x27089e=_0x5214e6>0x1?void 0x0:_0x5214e6?Zs(_0x3327e0,_0x4bde69):_0x3327e0,_0x50bf7c=_0x15f476[_0x5e030a(0x380)]-0x1,_0x369b4a;_0x50bf7c>=0x0;_0x50bf7c--)(_0x369b4a=_0x15f476[_0x50bf7c])&&(_0x27089e=_0x369b4a(_0x27089e)||_0x27089e);return _0x27089e;},H=(_0x369bd4,_0x457dd2)=>(_0x2210f,_0x1e7015)=>_0x457dd2(_0x2210f,_0x1e7015,_0x369bd4);let st=class extends _0x2296f2{constructor(_0x4648c8,_0x1ebf1e,_0x440848,_0x561746,_0x3e31ba,_0x432c62,_0x3e5cae,_0x1f0da8,_0x36942a,_0x1952ec,_0x39fe64,_0x352509,_0x4d07fd){var _0x4e1b54=_0x1f410c;super(),N(this,_0x4e1b54(0x2ca),new _0x3ad19d(null)),N(this,_0x4e1b54(0x31b),this[_0x4e1b54(0x2ca)][_0x4e1b54(0x18b)]()),N(this,_0x4e1b54(0x38b)),N(this,_0x4e1b54(0x3e8),!0x1),N(this,_0x4e1b54(0x428),''),N(this,'_changesetReqId',0x0),N(this,_0x4e1b54(0x390),this[_0x4e1b54(0x31b)][_0x4e1b54(0x2c5)](_0x440c6b(_0x47f377=>_0x47f377?_0x47f377[_0x4e1b54(0x256)]:Ti[_0x4e1b54(0x1bc)]),_0x233441(0x1))),N(this,_0x4e1b54(0x2a3),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x4e1b54(0x47c)]=_0x4648c8,this[_0x4e1b54(0x36a)]=_0x1ebf1e,this[_0x4e1b54(0x294)]=_0x440848,this[_0x4e1b54(0x3e9)]=_0x561746,this[_0x4e1b54(0x2b1)]=_0x3e31ba,this[_0x4e1b54(0x249)]=_0x432c62,this[_0x4e1b54(0x3fb)]=_0x3e5cae,this[_0x4e1b54(0x429)]=_0x1f0da8,this[_0x4e1b54(0x320)]=_0x36942a,this[_0x4e1b54(0x191)]=_0x1952ec,this['_permissionService']=_0x39fe64,this['_singleActiveUnitService']=_0x352509,this['_localCacheService']=_0x4d07fd);}get[_0x1f410c(0x1ac)](){var _0xe8eddf=_0x1f410c;return this[_0xe8eddf(0x38b)];}async[_0x1f410c(0x3ac)](){var _0x594436=_0x1f410c;if(this[_0x594436(0x1ac)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x594436(0x442)]();}['pauseCollaboration'](){var _0xd6d5b1=_0x1f410c;return this[_0xd6d5b1(0x3e8)]=!0x0,_0x381912(()=>{var _0x21ca61=_0xd6d5b1;this[_0x21ca61(0x3e8)]=!0x1,this[_0x21ca61(0x40b)]();});}[_0x1f410c(0x28f)](_0x29d5ed){this['_onLocalMutation'](_0x29d5ed);}[_0x1f410c(0x424)](_0x1a3edf){var _0xcae50f=_0x1f410c;this[_0xcae50f(0x38b)]=_0x1a3edf,this[_0xcae50f(0x2ca)][_0xcae50f(0x252)](_0x1a3edf);}async[_0x1f410c(0x442)](){var _0x5bc328=_0x1f410c,_0x59e98d;this[_0x5bc328(0x424)](await this[_0x5bc328(0x3ab)]()),this[_0x5bc328(0x22a)]&&((_0x59e98d=this[_0x5bc328(0x22a)])==null||_0x59e98d[_0x5bc328(0x26f)](this['unitID']),this[_0x5bc328(0x1b4)](this[_0x5bc328(0x22a)][_0x5bc328(0x285)](this[_0x5bc328(0x47c)])[_0x5bc328(0x2f1)](_0x4138e9=>{var _0x4296c3=_0x5bc328;this[_0x4296c3(0x320)]['debug'](_0x4296c3(0x218),_0x4296c3(0x19c),_0x4138e9),_0x4138e9===Ei[_0x4296c3(0x36f)]?(this[_0x4296c3(0x429)][_0x4296c3(0x1bb)]({'id':ne[_0x4296c3(0x39f)]}),this[_0x4296c3(0x259)]['updatePermissionPoint'](new _0x44663c(this[_0x4296c3(0x47c)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x4296c3(0x259)][_0x4296c3(0x308)](new _0x44663c(this['unitID'])['id'],!0x0),this[_0x4296c3(0x259)][_0x4296c3(0x1e4)](!0x0));})));let _0x7afa71=!0x1;return this[_0x5bc328(0x1b4)](this[_0x5bc328(0x36a)][_0x5bc328(0x27b)][_0x5bc328(0x2f1)](_0x1d52ca=>{var _0x5e1ea8=_0x5bc328;_0x1d52ca===Se['ONLINE']?this[_0x5e1ea8(0x30f)](_0x7afa71):_0x1d52ca===Se[_0x5e1ea8(0x1bc)]&&(_0x7afa71=!0x0,this[_0x5e1ea8(0x3e2)]());})),this[_0x5bc328(0x1b4)](this['session'][_0x5bc328(0x38c)]['subscribe'](_0xc1ac6d=>{var _0x25ca0c=_0x5bc328;try{switch(_0xc1ac6d[_0x25ca0c(0x1a8)]){case _0x3c0371['NEW_CHANGESETS']:{this[_0x25ca0c(0x1d6)](_0x28f714(_0xc1ac6d[_0x25ca0c(0x2ad)]));break;}case _0x3c0371[_0x25ca0c(0x183)]:{this['_onRemoteACK'](_0xc1ac6d[_0x25ca0c(0x2ad)]);break;}case _0x3c0371[_0x25ca0c(0x36d)]:{this[_0x25ca0c(0x321)]();break;}case _0x3c0371[_0x25ca0c(0x35b)]:{this[_0x25ca0c(0x1f3)](_0xc1ac6d['data']);break;}case _0x3c0371[_0x25ca0c(0x41b)]:{this[_0x25ca0c(0x3d0)](_0xc1ac6d[_0x25ca0c(0x2ad)][_0x25ca0c(0x3ce)][_0x25ca0c(0x382)](_0x2104d7=>_0x28f714(_0x2104d7)));break;}case _0x3c0371[_0x25ca0c(0x366)]:{this[_0x25ca0c(0x321)]({'isPermissionRej':!0x0});break;}case _0x3c0371[_0x25ca0c(0x3be)]:break;}}catch(_0x29e207){throw console['error']('Error\x20on\x20receiving\x20event',_0x29e207),_0x29e207;}})),this[_0x5bc328(0x38b)];}[_0x1f410c(0x305)](){var _0x4f0106=_0x1f410c;this[_0x4f0106(0x2a3)]=!0x1;}['_lockTransition'](){var _0x15333a=_0x1f410c;if(this[_0x15333a(0x2a3)])throw new Error(_0x15333a(0x309));this[_0x15333a(0x2a3)]=!0x0;}['_onLocalMutation'](_0x5dd5f5){var _0x21d024=_0x1f410c;this[_0x21d024(0x3a4)](),this['_updateState'](this[_0x21d024(0x38b)]['appendMutation'](_0x5dd5f5)),this[_0x21d024(0x305)]();}[_0x1f410c(0x1d6)](_0x2f1a3a){var _0xed977=_0x1f410c;if(!(_0x2f1a3a[_0xed977(0x462)]<=this[_0xed977(0x3fb)][_0xed977(0x47f)](this[_0xed977(0x47c)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x2f1a3a);return;}this[_0xed977(0x3cd)](_0x2f1a3a);}}['_exhaustRemoteChangesetQueue'](){var _0x1c4465=_0x1f410c;this[_0x1c4465(0x1e1)]['forEach'](_0x523a7d=>this[_0x1c4465(0x3cd)](_0x523a7d)),this[_0x1c4465(0x1e1)]=[];}['_applyRemoteChangeset'](_0x9fc0c5){var _0x171701=_0x1f410c;const _0x4d04c2=this[_0x171701(0x2b1)][_0x171701(0x270)][_0x171701(0x1c4)](this[_0x171701(0x2b1)][_0x171701(0x270)][_0x171701(0x455)]()[_0x171701(0x2cd)])(_0x9fc0c5[_0x171701(0x2c2)],null)||_0x9fc0c5['mutations'],_0x4ed8f3={..._0x9fc0c5,'mutations':_0x4d04c2};this['_lockTransition'](),this[_0x171701(0x424)](this[_0x171701(0x38b)][_0x171701(0x198)](_0x4ed8f3)),this[_0x171701(0x305)]();}[_0x1f410c(0x3ff)](_0x42cbbf){var _0x2d2c2b=_0x1f410c;this[_0x2d2c2b(0x3a4)](),this[_0x2d2c2b(0x424)](this[_0x2d2c2b(0x38b)][_0x2d2c2b(0x333)](_0x42cbbf)),this[_0x2d2c2b(0x305)]();}[_0x1f410c(0x321)](_0x4e117b){var _0x506021=_0x1f410c;this[_0x506021(0x3a4)](),this[_0x506021(0x424)](this['_state'][_0x506021(0x2a1)](_0x4e117b)),this['_unlockTransition']();}['_onRemoteRetry'](_0x26d4fe){var _0x5e988d=_0x1f410c;this[_0x5e988d(0x3a4)](),this[_0x5e988d(0x424)](this[_0x5e988d(0x38b)][_0x5e988d(0x346)](_0x26d4fe)),this['_unlockTransition']();}[_0x1f410c(0x3d0)](_0x142aad){var _0x181afa=_0x1f410c;if(!(this[_0x181afa(0x38b)]instanceof Q))throw new TypeError(_0x181afa(0x26e));const _0x1d8af5=_0x142aad['map'](_0x357876=>{var _0x553d6f=_0x181afa;const _0x34ef39=this['_compressMutationService'][_0x553d6f(0x270)][_0x553d6f(0x1c4)](this[_0x553d6f(0x2b1)][_0x553d6f(0x270)][_0x553d6f(0x455)]()[_0x553d6f(0x2cd)])(_0x357876[_0x553d6f(0x2c2)],null)||_0x357876[_0x553d6f(0x2c2)];return{..._0x357876,'mutations':_0x34ef39};});this[_0x181afa(0x3a4)](),this['_updateState'](this[_0x181afa(0x38b)][_0x181afa(0x2bb)](_0x1d8af5)),this['_unlockTransition']();}[_0x1f410c(0x3e2)](){var _0x2c06cc=_0x1f410c;this[_0x2c06cc(0x3a4)](),this[_0x2c06cc(0x424)](this[_0x2c06cc(0x38b)][_0x2c06cc(0x2d8)]()),this[_0x2c06cc(0x305)]();}[_0x1f410c(0x30f)](_0x3aacc6=!0x1){var _0x393ea3=_0x1f410c;this[_0x393ea3(0x3a4)](),this[_0x393ea3(0x424)](this[_0x393ea3(0x38b)][_0x393ea3(0x3b6)]()),this[_0x393ea3(0x305)]();const _0x1061ed=this['_state'];_0x3aacc6&&_0x1061ed instanceof ye&&(this[_0x393ea3(0x3a4)](),this[_0x393ea3(0x424)](_0x1061ed[_0x393ea3(0x235)]()),this[_0x393ea3(0x305)]());}async[_0x1f410c(0x3ab)](){return new Promise(_0x443ba3=>{var _0xd881af=_0x27f1;this[_0xd881af(0x36a)][_0xd881af(0x27b)][_0xd881af(0x2c5)](_0x16a73a(0x1))['subscribe'](async _0x529665=>{var _0xc82b5d=_0xd881af;_0x443ba3(await this[_0xc82b5d(0x436)](_0x529665===Se[_0xc82b5d(0x384)]));});});}[_0x1f410c(0x204)](){var _0x39c2af=_0x1f410c;const _0x18bb10=this[_0x39c2af(0x47c)];return{'onStateChange':(_0x5ecbb1,_0x3f2bec)=>{var _0x5c19f9=_0x39c2af;if(_0x5ecbb1!==this[_0x5c19f9(0x38b)])throw new Error(_0x5c19f9(0x2cc)+_0x5ecbb1[_0x5c19f9(0x256)]+_0x5c19f9(0x454)+_0x3f2bec['status']+_0x5c19f9(0x318)+this['_state'][_0x5c19f9(0x256)]);this['_updateState'](_0x3f2bec);},'onSendChangeset':_0x40ece3=>{var _0x253adc=_0x39c2af;_0x40ece3[_0x253adc(0x3b7)]||(_0x40ece3['sid']=this['_changesetSessionId'],_0x40ece3[_0x253adc(0x3d1)]=++this[_0x253adc(0x3ee)]);const _0x512a8b={'eventID':_0x3c0371[_0x253adc(0x410)],'data':{'unitID':_0x40ece3[_0x253adc(0x47c)],'unitType':this[_0x253adc(0x294)],'changeset':_0x40ece3,'memberID':this[_0x253adc(0x36a)][_0x253adc(0x2dd)]()}};this['session']['send'](_0x512a8b,this[_0x253adc(0x47c)]);},'onMissingChangesets':({from:_0x2bf10a,to:_0x33c271})=>{var _0x40ad1f=_0x39c2af;this[_0x40ad1f(0x320)]['debug'](_0x40ad1f(0x218),_0x40ad1f(0x2f5)+_0x2bf10a+_0x40ad1f(0x43a)+_0x33c271);const _0x21f23e={'eventID':_0x3c0371[_0x40ad1f(0x39c)],'data':{'unitID':_0x18bb10,'unitType':this[_0x40ad1f(0x294)],'from':_0x2bf10a,'to':_0x33c271}};this[_0x40ad1f(0x36a)]['send'](_0x21f23e,this[_0x40ad1f(0x47c)]);}};}async[_0x1f410c(0x436)](_0x92805f){var _0xd6428e=_0x1f410c,_0x3a05fd,_0x881e94,_0x5de856;const _0x18e86c=await((_0x3a05fd=this[_0xd6428e(0x2a0)])==null?void 0x0:_0x3a05fd[_0xd6428e(0x207)](this[_0xd6428e(0x47c)])),_0x104def=(_0x881e94=_0x18e86c==null?void 0x0:_0x18e86c[_0xd6428e(0x2c2)])!=null?_0x881e94:[],_0x1f3f31=(_0x5de856=_0x18e86c==null?void 0x0:_0x18e86c['awaitingChangeset'])!=null?_0x5de856:null,_0x520c86=!!(_0x1f3f31!=null&&_0x1f3f31[_0xd6428e(0x3b7)])&&!!(_0x1f3f31!=null&&_0x1f3f31[_0xd6428e(0x3d1)]);this['_changesetSessionId']=_0x520c86?_0x1f3f31[_0xd6428e(0x3b7)]:_0x4f4bda(),this[_0xd6428e(0x3ee)]=_0x520c86?_0x1f3f31[_0xd6428e(0x3d1)]:0x0;const _0x287f3=this[_0xd6428e(0x47c)];try{this['_replayCachedMutations'](_0x1f3f31,_0x104def);}catch(_0x51c521){this['_logService']['error'](_0x51c521);}const _0x50d763=this[_0xd6428e(0x204)]();if(_0x92805f){const _0x27ef97=Ri(this[_0xd6428e(0x3e9)],_0x287f3,this[_0xd6428e(0x294)],_0x1f3f31,_0x104def,_0x50d763);return _0x27ef97 instanceof re?_0x27ef97['_schedule']():(_0x27ef97 instanceof ae||_0x27ef97 instanceof _e)&&_0x27ef97['resend'](),_0x27ef97;}return this[_0xd6428e(0x3e9)][_0xd6428e(0x40e)](ue,_0x287f3,this['_type'],_0x1f3f31,_0x104def,_0x50d763);}[_0x1f410c(0x42f)](_0x41348c,_0x5cea6b){var _0x436bbe=_0x1f410c,_0x2b30ed,_0x5b9b28;const _0x3c67bb=this[_0x436bbe(0x2b1)][_0x436bbe(0x270)][_0x436bbe(0x1c4)](this[_0x436bbe(0x2b1)][_0x436bbe(0x270)][_0x436bbe(0x455)]()[_0x436bbe(0x2cd)]);(_0x2b30ed=_0x3c67bb((_0x41348c==null?void 0x0:_0x41348c[_0x436bbe(0x2c2)])||[],null))==null||_0x2b30ed[_0x436bbe(0x2c8)](_0xe108e6=>this[_0x436bbe(0x191)][_0x436bbe(0x2d3)](_0xe108e6['id'],_0xe108e6[_0x436bbe(0x41f)])),(_0x5b9b28=_0x3c67bb(_0x5cea6b||[],null))==null||_0x5b9b28[_0x436bbe(0x2c8)](_0x3850f5=>this[_0x436bbe(0x191)][_0x436bbe(0x2d3)](_0x3850f5['id'],_0x3850f5[_0x436bbe(0x41f)]));}};st=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(ve)),H(0x8,_0x419223),H(0x9,_0x435e17),H(0xa,_0x42cef7),H(0xb,_0x1c555d(ht)),H(0xc,_0x1c555d(J))],st);let St=class extends st{constructor(_0x57d503,_0x1dd951,_0x14403e,_0x557463,_0x48c91a,_0x280bf4,_0x555e9e,_0x240938,_0x3bc08e,_0x38ce4b,_0x162bdc,_0x5e2ee7,_0x2f48b8){var _0x2a2eab=_0x1f410c;super(_0x57d503,_0x14403e,_0x1dd951,_0x557463,_0x48c91a,_0x280bf4,_0x555e9e,_0x240938,_0x3bc08e,_0x38ce4b,_0x162bdc,_0x5e2ee7,_0x2f48b8),N(this,'_handlerCallback',null),(this[_0x2a2eab(0x47c)]=_0x57d503,this[_0x2a2eab(0x37c)]=_0x1dd951);}[_0x1f410c(0x370)](_0x1925a7){var _0x5afb39=_0x1f410c;this[_0x5afb39(0x35f)]=_0x1925a7;}['dispose'](){var _0x100e23=_0x1f410c;this[_0x100e23(0x35f)]=null,super['dispose']();}['_createHandler'](){var _0x1dabb3=_0x1f410c;const _0x210857=super['_createHandler']();return _0x210857[_0x1dabb3(0x369)]=_0x2d2c07=>{var _0x1feae3=_0x1dabb3,_0x5ecc7b,_0x2c3967;return(_0x2c3967=(_0x5ecc7b=this[_0x1feae3(0x35f)])==null?void 0x0:_0x5ecc7b[_0x1feae3(0x369)])==null?void 0x0:_0x2c3967[_0x1feae3(0x208)](_0x5ecc7b,_0x2d2c07);},_0x210857[_0x1dabb3(0x1c5)]=_0xe1575f=>{var _0x40fd5f=_0x1dabb3,_0x170a34,_0xfabf19;return(_0xfabf19=(_0x170a34=this['_handlerCallback'])==null?void 0x0:_0x170a34[_0x40fd5f(0x1c5)])==null?void 0x0:_0xfabf19[_0x40fd5f(0x208)](_0x170a34,_0xe1575f);},_0x210857[_0x1dabb3(0x464)]=_0x3be3cc=>{var _0xc308a5=_0x1dabb3,_0x30c0a8,_0x1aeed4;return(_0x1aeed4=(_0x30c0a8=this[_0xc308a5(0x35f)])==null?void 0x0:_0x30c0a8[_0xc308a5(0x464)])==null?void 0x0:_0x1aeed4[_0xc308a5(0x208)](_0x30c0a8,_0x3be3cc);},_0x210857['onSyncEditingCollabCursor']=_0x4880c2=>{var _0x590d2a=_0x1dabb3,_0x1719c2,_0x1b7fe1;return(_0x1b7fe1=(_0x1719c2=this[_0x590d2a(0x35f)])==null?void 0x0:_0x1719c2[_0x590d2a(0x199)])==null?void 0x0:_0x1b7fe1[_0x590d2a(0x208)](_0x1719c2,_0x4880c2);},_0x210857[_0x1dabb3(0x288)]=_0xc85faf=>{var _0x5acd64=_0x1dabb3,_0x51fca5,_0x442339,_0x57acb1;if(!((_0x51fca5=this[_0x5acd64(0x35f)])!=null&&_0x51fca5['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5acd64(0x3bf));return(_0x57acb1=(_0x442339=this[_0x5acd64(0x35f)])==null?void 0x0:_0x442339[_0x5acd64(0x288)])==null?void 0x0:_0x57acb1[_0x5acd64(0x208)](_0x442339,_0xc85faf);},_0x210857[_0x1dabb3(0x27d)]=_0x9f9ee8=>{var _0x5c48c2=_0x1dabb3,_0x11434c,_0x4af9dc,_0x43ebf6;if(!((_0x11434c=this['_handlerCallback'])!=null&&_0x11434c[_0x5c48c2(0x27d)]))throw new Error(_0x5c48c2(0x1ab));return(_0x43ebf6=(_0x4af9dc=this[_0x5c48c2(0x35f)])==null?void 0x0:_0x4af9dc['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x43ebf6['call'](_0x4af9dc,_0x9f9ee8);},_0x210857;}async[_0x1f410c(0x442)](){var _0x4c0b34=_0x1f410c;const _0x36801a=await super[_0x4c0b34(0x442)]();return this[_0x4c0b34(0x1b4)](this[_0x4c0b34(0x191)][_0x4c0b34(0x1cb)]((_0x5177b8,_0x441f41)=>{var _0x543fbb=_0x4c0b34;if(_0x5177b8[_0x543fbb(0x37c)]!==_0x496c2c[_0x543fbb(0x200)]||_0x441f41!=null&&_0x441f41[_0x543fbb(0x393)]||_0x441f41!=null&&_0x441f41['onlyLocal']||_0x5177b8['id']===_0x4b50f8['id'])return;const _0x2e655e=_0x5177b8[_0x543fbb(0x41f)];if((_0x2e655e==null?void 0x0:_0x2e655e[_0x543fbb(0x391)])!==this[_0x543fbb(0x47c)])return;const _0x54607f=_0x5177b8,_0xbae9e9=this[_0x543fbb(0x2b1)]['interceptor']['fetchThroughInterceptors'](this[_0x543fbb(0x2b1)]['interceptor']['getInterceptPoints']()[_0x543fbb(0x450)])([_0x54607f],null)||[_0x54607f];this['_onLocalMutation'](_0xbae9e9[0x0]);})),_0x36801a;}};St=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(ve)),H(0x8,_0x419223),H(0x9,_0x435e17),H(0xa,_0x42cef7),H(0xb,_0x1c555d(ht)),H(0xc,_0x1c555d(J))],St);let Et=class extends st{constructor(_0x21008c,_0x56390d,_0x4ba043,_0x16f21a,_0x35db38,_0x1d0026,_0x15c294,_0x14c3f6,_0x1af28c,_0x59e1b1,_0x1bea1b,_0x436007,_0x24a59f,_0x56c80a){var _0x594c5a=_0x1f410c;super(_0x21008c,_0x4ba043,_0x56390d,_0x16f21a,_0x35db38,_0x1d0026,_0x15c294,_0x1af28c,_0x59e1b1,_0x1bea1b,_0x436007,_0x24a59f,_0x56c80a),this[_0x594c5a(0x47c)]=_0x21008c,this[_0x594c5a(0x37c)]=_0x56390d,this['_sheetTransformSelectionsService']=_0x14c3f6;}[_0x1f410c(0x204)](){var _0x1a8b9f=_0x1f410c;const _0x2680da=super[_0x1a8b9f(0x204)]();return _0x2680da[_0x1a8b9f(0x464)]=_0x4b8b01=>this[_0x1a8b9f(0x353)][_0x1a8b9f(0x189)](_0x4b8b01),_0x2680da;}async['_init'](){var _0x18612a=_0x1f410c;const _0x424bc0=await super[_0x18612a(0x442)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x4aa38a,_0x4ab393)=>{var _0x135e53=_0x18612a;if(_0x4aa38a[_0x135e53(0x37c)]!==_0x496c2c[_0x135e53(0x200)]||_0x4ab393!=null&&_0x4ab393[_0x135e53(0x393)]||_0x4ab393!=null&&_0x4ab393[_0x135e53(0x3f0)])return;const _0x4c3f5e=_0x4aa38a[_0x135e53(0x41f)];if((_0x4c3f5e==null?void 0x0:_0x4c3f5e['unitId'])!==this[_0x135e53(0x47c)])return;const _0x1d99a2=_0x4aa38a,_0x42e7dd=this[_0x135e53(0x2b1)][_0x135e53(0x270)][_0x135e53(0x1c4)](this['_compressMutationService'][_0x135e53(0x270)][_0x135e53(0x455)]()['COMPRESS_MUTATION_SEND'])([_0x1d99a2],null)||[_0x1d99a2];this[_0x135e53(0x293)](_0x42e7dd[0x0]);})),_0x424bc0;}};Et=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(it)),H(0x8,_0x1d307d(ve)),H(0x9,_0x419223),H(0xa,_0x435e17),H(0xb,_0x42cef7),H(0xc,_0x1c555d(ht)),H(0xd,_0x1c555d(J))],Et);var Qs=Object[_0x1f410c(0x2a4)],en=(_0x4c2134,_0x10e34e,_0x746a54,_0x22d954)=>{for(var _0x12dd8d=_0x22d954>0x1?void 0x0:_0x22d954?Qs(_0x10e34e,_0x746a54):_0x10e34e,_0x2cf26a=_0x4c2134['length']-0x1,_0xb1108b;_0x2cf26a>=0x0;_0x2cf26a--)(_0xb1108b=_0x4c2134[_0x2cf26a])&&(_0x12dd8d=_0xb1108b(_0x12dd8d)||_0x12dd8d);return _0x12dd8d;},Be=(_0x17fdd3,_0x15122e)=>(_0x3e6d4e,_0x32b9d1)=>_0x15122e(_0x3e6d4e,_0x32b9d1,_0x17fdd3);let nt=class extends _0x2296f2{constructor(_0xe19817,_0x34255a,_0x3742c5,_0x1b9da8){var _0x4ca621=_0x1f410c,_0x5e9866;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x12df33()),N(this,_0x4ca621(0x315),this['_entityInit$']['asObservable']()),(this[_0x4ca621(0x3e9)]=_0xe19817,this['_collabSessionService']=_0x34255a,this['_configService']=_0x3742c5,this[_0x4ca621(0x181)]=_0x1b9da8,((_0x5e9866=this[_0x4ca621(0x3bc)][_0x4ca621(0x1e6)](K))==null?void 0x0:_0x5e9866[_0x4ca621(0x40d)])!==!0x1&&this[_0x4ca621(0x442)]());}[_0x1f410c(0x30a)](){var _0x3115b5=_0x1f410c;super[_0x3115b5(0x30a)](),this[_0x3115b5(0x23b)]['forEach'](_0x462727=>_0x462727['dispose']()),this['_entities']['clear']();}[_0x1f410c(0x311)](_0x5a8d90){var _0x4418b9=_0x1f410c,_0x273161;return(_0x273161=this['_entities'][_0x4418b9(0x1f6)](_0x5a8d90))!=null?_0x273161:null;}[_0x1f410c(0x1db)](_0x306a08){var _0x146d89=_0x1f410c;const _0x42341b=this['getCollabEntity'](_0x306a08);return _0x42341b?_0x512995(_0x42341b):this['_entityInit$'][_0x146d89(0x2c5)](_0x3bc823(_0x93a40d=>_0x93a40d[_0x146d89(0x47c)]===_0x306a08));}[_0x1f410c(0x1b3)](_0x581ade){var _0x4348eb=_0x1f410c;return _0x37d6a0(this['getCollabEntity$'](_0x581ade)[_0x4348eb(0x2c5)](_0x5a3746(()=>{})));}[_0x1f410c(0x442)](){var _0x23403b=_0x1f410c;this[_0x23403b(0x181)][_0x23403b(0x459)](_0xd9e05c[_0x23403b(0x3af)])['pipe'](_0x3fc9bb(this[_0x23403b(0x36b)]),_0x3c8a64(0x10))[_0x23403b(0x2f1)](async _0x537aa6=>{var _0x6a7355=_0x23403b;const _0xc3434=_0x537aa6[_0x6a7355(0x31c)](),_0xceafec=await this[_0x6a7355(0x397)](_0xc3434,Z[_0x6a7355(0x3af)]);this[_0x6a7355(0x23b)]['set'](_0xc3434,_0xceafec);}),this[_0x23403b(0x181)]['getTypeOfUnitAdded$'](_0xd9e05c[_0x23403b(0x212)])['pipe'](_0x3fc9bb(this[_0x23403b(0x36b)]),_0x3c8a64(0x10))[_0x23403b(0x2c5)](_0x3bc823(_0x252fb7=>!_0x252fb7['getUnitId']()[_0x23403b(0x319)]('__')))['subscribe'](async _0x5a9754=>{var _0x2a757e=_0x23403b;const _0x560223=_0x5a9754['getUnitId'](),_0x4b5fc4=await this[_0x2a757e(0x397)](_0x560223,Z['UNIVER_DOC']);this[_0x2a757e(0x23b)][_0x2a757e(0x32a)](_0x560223,_0x4b5fc4);}),_0x3da0cd(this[_0x23403b(0x181)][_0x23403b(0x446)](_0xd9e05c[_0x23403b(0x3af)]),this[_0x23403b(0x181)][_0x23403b(0x446)](_0xd9e05c['UNIVER_DOC']))[_0x23403b(0x2c5)](_0x3fc9bb(this[_0x23403b(0x36b)]))[_0x23403b(0x2f1)](_0x1b6427=>{var _0x573b07=_0x23403b;const _0x244e98=_0x1b6427[_0x573b07(0x31c)](),_0x1d0124=this[_0x573b07(0x23b)][_0x573b07(0x1f6)](_0x244e98);_0x1d0124&&(_0x1d0124[_0x573b07(0x30a)](),this[_0x573b07(0x23b)]['delete'](_0x244e98));});}async[_0x1f410c(0x397)](_0x1f623a,_0xf073ea){var _0x3d4b8d=_0x1f410c;const _0x5bef59=await this['_collabSessionService'][_0x3d4b8d(0x2b0)](_0x1f623a),_0x314c72=this['_injector']['createInstance'](this[_0x3d4b8d(0x3d2)](_0xf073ea),_0x1f623a,_0xf073ea,_0x5bef59);return await _0x314c72[_0x3d4b8d(0x3ac)](),this[_0x3d4b8d(0x406)]['next'](_0x314c72),_0x314c72;}['_getCtorByUniverType'](_0x24875a){var _0x4cc4c1=_0x1f410c;switch(_0x24875a){case Z[_0x4cc4c1(0x212)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x4cc4c1(0x2a2)+_0x24875a);}}};nt=en([Be(0x0,_0x1d307d(_0x1f649f)),Be(0x1,_0x1d307d(Le)),Be(0x2,_0x22f7d3),Be(0x3,_0x505288)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3e6cf8,_0x2136d3,_0x59de3d,_0x54eef3)=>{var _0x2f14eb=_0x1f410c;for(var _0x5a13fb=_0x54eef3>0x1?void 0x0:_0x54eef3?tn(_0x2136d3,_0x59de3d):_0x2136d3,_0x498d8f=_0x3e6cf8[_0x2f14eb(0x380)]-0x1,_0x55b00f;_0x498d8f>=0x0;_0x498d8f--)(_0x55b00f=_0x3e6cf8[_0x498d8f])&&(_0x5a13fb=_0x55b00f(_0x5a13fb)||_0x5a13fb);return _0x5a13fb;},Yt=(_0x36a3c0,_0x2e20d8)=>(_0x6d79c0,_0x333416)=>_0x2e20d8(_0x6d79c0,_0x333416,_0x36a3c0);const nn=_0x1f410c(0x37b),rn='Univer';let It=class extends _0x2d82af{constructor(_0x1dbdb9,_0x54f679){var _0x6c825b=_0x1f410c;super(),this['_univerInstanceService']=_0x1dbdb9,this[_0x6c825b(0x3bc)]=_0x54f679,this[_0x6c825b(0x442)]();}[_0x1f410c(0x442)](){var _0x745baf=_0x1f410c;this['disposeWithMe'](this[_0x745baf(0x181)]['focused$'][_0x745baf(0x2f1)](()=>{var _0x10a67e=_0x745baf,_0x52a275;const _0x42098b=this[_0x10a67e(0x181)]['getFocusedUnit']();let _0x182b50=(_0x52a275=this[_0x10a67e(0x3bc)][_0x10a67e(0x1e6)](nn))!=null?_0x52a275:rn;_0x42098b instanceof _0x2fc179&&(_0x182b50=_0x42098b[_0x10a67e(0x242)]),document['title']=_0x182b50;}));}};It=sn([Yt(0x0,_0x505288),Yt(0x1,_0x22f7d3)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x4efc46,_0x4704e4,_0x5f5d13,_0x2cc6c9)=>{var _0x2a7624=_0x1f410c;for(var _0x3fe61f=_0x2cc6c9>0x1?void 0x0:_0x2cc6c9?an(_0x4704e4,_0x5f5d13):_0x4704e4,_0x554959=_0x4efc46[_0x2a7624(0x380)]-0x1,_0x417af9;_0x554959>=0x0;_0x554959--)(_0x417af9=_0x4efc46[_0x554959])&&(_0x3fe61f=_0x417af9(_0x3fe61f)||_0x3fe61f);return _0x3fe61f;},dt=(_0x14a44b,_0x10c3be)=>(_0x43cfea,_0x3b3425)=>_0x10c3be(_0x43cfea,_0x3b3425,_0x14a44b);let rt=class{constructor(_0x35f736,_0x4cff62,_0x342ee7){var _0x19d42a=_0x1f410c;this[_0x19d42a(0x3bc)]=_0x35f736,this['_httpService']=_0x4cff62,this[_0x19d42a(0x3c8)]=_0x342ee7,this['init']();}[_0x1f410c(0x3ac)](){var _0x1fec4=_0x1f410c;this[_0x1fec4(0x395)][_0x1fec4(0x18e)]({'priority':0x1,'interceptor':(_0x110c4a,_0x1155af)=>_0x1155af(_0x110c4a)[_0x1fec4(0x2c5)](_0x37fff4(async _0x107d7e=>{var _0x4a1296=_0x1fec4;const _0x3dc46d=_0x107d7e;if(_0x3dc46d[_0x4a1296(0x256)]===0x191){if(typeof window>'u')throw new Error(_0x4a1296(0x3dd));if(window[_0x4a1296(0x1c1)](this[_0x4a1296(0x3c8)]['t'](_0x4a1296(0x2e8)))){const _0x5bf7ec=window[_0x4a1296(0x3cf)](window['location'][_0x4a1296(0x244)]);window[_0x4a1296(0x231)][_0x4a1296(0x244)]=this[_0x4a1296(0x367)]()+_0x4a1296(0x19a)+_0x5bf7ec;}}return _0x3dc46d;}))});}[_0x1f410c(0x367)](){var _0x3ac18a=_0x1f410c,_0xf884d4,_0x382242;const _0x54a988=this[_0x3ac18a(0x3bc)][_0x3ac18a(0x1e6)](ys),_0x4552ab=this[_0x3ac18a(0x3bc)][_0x3ac18a(0x1e6)](K);return(_0x382242=(_0xf884d4=_0x4552ab==null?void 0x0:_0x4552ab[_0x3ac18a(0x297)])!=null?_0xf884d4:_0x54a988)!=null?_0x382242:Ns;}};function _0x27f1(_0x6ce5db,_0x4a9152){var _0x403475=_0x4034();return _0x27f1=function(_0x27f123,_0x17ccab){_0x27f123=_0x27f123-0x180;var _0x54df23=_0x403475[_0x27f123];return _0x54df23;},_0x27f1(_0x6ce5db,_0x4a9152);}rt=on([dt(0x0,_0x22f7d3),dt(0x1,_0x1d307d(_0x23fee9)),dt(0x2,_0x1d307d(_0x4c667f))],rt);var cn=Object[_0x1f410c(0x2a4)],hn=(_0x9d66c1,_0x3e9250,_0x51f53a,_0x1fe04b)=>{var _0x33595f=_0x1f410c;for(var _0x8371df=_0x1fe04b>0x1?void 0x0:_0x1fe04b?cn(_0x3e9250,_0x51f53a):_0x3e9250,_0x2fa55e=_0x9d66c1[_0x33595f(0x380)]-0x1,_0x59e5d2;_0x2fa55e>=0x0;_0x2fa55e--)(_0x59e5d2=_0x9d66c1[_0x2fa55e])&&(_0x8371df=_0x59e5d2(_0x8371df)||_0x8371df);return _0x8371df;},Kt=(_0x574e52,_0x14a07b)=>(_0x49def6,_0x512eaf)=>_0x14a07b(_0x49def6,_0x512eaf,_0x574e52);const bi=_0x1f410c(0x467),_n=_0x1f410c(0x46b);let Tt=class extends _0x2d82af{constructor(_0x43e450,_0x327646){var _0x16fd11=_0x1f410c;super(),this['_HTTPService']=_0x43e450,this[_0x16fd11(0x3bc)]=_0x327646,this[_0x16fd11(0x25f)]();}['_initMergeInterceptor'](){var _0x1eca96=_0x1f410c;const _0x63c4b7=this;this[_0x1eca96(0x1b4)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x450f07({'isMatch'(_0x2e8ce6){var _0xee0e99=_0x1eca96,_0x435e64;if(_0x2e8ce6['method']===_0xee0e99(0x42a)&&((_0x435e64=_0x2e8ce6[_0xee0e99(0x354)])!=null&&_0x435e64[_0xee0e99(0x3b9)])){const {objectID:_0x3afa81,objectType:_0x4ca719}=_0x2e8ce6['requestParams']['body']||{};if(!_0x3afa81||_0x4ca719===void 0x0)return!0x1;const _0x40fa26=_0x63c4b7[_0xee0e99(0x221)]()+'/'+_0x4ca719+'/object/'+_0x3afa81+_0xee0e99(0x1f0);if(_0x2e8ce6[_0xee0e99(0x1f7)]===_0x40fa26)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x500438){var _0x13ac13=_0x1eca96,_0xd4e7cb;return(_0xd4e7cb=_0x500438[_0x13ac13(0x354)])==null?void 0x0:_0xd4e7cb['body'];},'mergeParamsToRequest'(_0x527059,_0x34609c){var _0x2d1872=_0x1eca96;const _0x105008=_0x63c4b7[_0x2d1872(0x221)]()+_0x2d1872(0x280),_0x2c2593=_0x527059['reduce']((_0x4f8402,_0x590035)=>{const {unitID:_0x511be8,objectID:_0x40260b,objectType:_0xed7a7e,actions:_0x42fc4a}=_0x590035;return _0x4f8402[_0x511be8]||(_0x4f8402[_0x511be8]={}),_0x4f8402[_0x511be8][_0x40260b]||(_0x4f8402[_0x511be8][_0x40260b]={'objectID':_0x40260b,'objectType':_0xed7a7e,'actions':[]}),_0x4f8402[_0x511be8][_0x40260b]['actions']['push'](..._0x42fc4a),_0x4f8402;},{}),_0x4f34ab=[];for(const _0x2560ad in _0x2c2593)for(const _0x3d1e3b in _0x2c2593[_0x2560ad]){const {actions:_0x9d9d3d,objectType:_0x14406c}=_0x2c2593[_0x2560ad][_0x3d1e3b],_0x34e0b2=[...new Set(_0x9d9d3d)];_0x4f34ab['push']({'unitID':_0x2560ad,'objectID':_0x3d1e3b,'objectType':_0x14406c,'actions':_0x34e0b2});}return new _0x566b0e(_0x2d1872(0x42a),_0x105008,{'headers':_0x34609c[_0x2d1872(0x2be)],'withCredentials':_0x34609c[_0x2d1872(0x19f)],'responseType':_0x34609c[_0x2d1872(0x1fd)],'body':{'requests':_0x4f34ab}});}},{'distributeResult'(_0x1e15aa,_0x2af336){var _0x51b5dc=_0x1eca96;const {objectActions:_0x50449d}=_0x1e15aa;return _0x2af336[_0x51b5dc(0x382)](_0x44274d=>{var _0x570bec=_0x51b5dc;const {unitID:_0x20f10a,objectID:_0x15cd9e,actions:_0x5046db}=_0x44274d,_0x5331d9=_0x50449d['find'](_0x3ef516=>_0x3ef516[_0x570bec(0x47c)]===_0x20f10a&&_0x3ef516[_0x570bec(0x3b0)]===_0x15cd9e),_0x2e4b7d=_0x5046db[_0x570bec(0x382)](_0x517956=>_0x5331d9==null?void 0x0:_0x5331d9[_0x570bec(0x1e3)][_0x570bec(0x2e0)](_0x5594fe=>_0x5594fe['action']===_0x517956))['filter'](_0x13a6f5=>!!_0x13a6f5);return{'config':_0x44274d,'result':{'actions':_0x2e4b7d,'error':_0x1e15aa['error']}};});}})}));}[_0x1f410c(0x221)](){var _0x898653=_0x1f410c,_0x4e4720,_0x4d306a;const _0xa30cf3=this[_0x898653(0x3bc)][_0x898653(0x1e6)](bi),_0x4f4b39=this[_0x898653(0x3bc)]['getConfig'](K);return(_0x4d306a=(_0x4e4720=_0x4f4b39==null?void 0x0:_0x4f4b39[_0x898653(0x42b)])!=null?_0x4e4720:_0xa30cf3)!=null?_0x4d306a:_n;}async[_0x1f410c(0x2fc)](_0x3bde48){var _0x4d7b40=_0x1f410c;const _0x4fb112=this[_0x4d7b40(0x221)]()+'/'+_0x3bde48[_0x4d7b40(0x20f)]+_0x4d7b40(0x1f8);return(await this[_0x4d7b40(0x43e)][_0x4d7b40(0x1b0)](_0x4fb112,{'body':_0x3bde48}))['body'][_0x4d7b40(0x3b0)]||'';}async[_0x1f410c(0x37d)](_0x3a84f6){var _0x2785a8=_0x1f410c;const _0x3edc46=this['_getAPIPrefixPath']()+_0x2785a8(0x3a6);return(await this[_0x2785a8(0x43e)][_0x2785a8(0x1b0)](_0x3edc46,{'body':_0x3a84f6}))[_0x2785a8(0x3b9)][_0x2785a8(0x399)];}async[_0x1f410c(0x188)](_0x45dbbb){var _0x1bfeed=_0x1f410c,_0x439a75,_0x486c2c;const _0x556c78=this[_0x1bfeed(0x221)]()+'/'+_0x45dbbb[_0x1bfeed(0x20f)]+_0x1bfeed(0x479)+_0x45dbbb[_0x1bfeed(0x3b0)],_0x3003a9=await this[_0x1bfeed(0x43e)][_0x1bfeed(0x238)](_0x556c78,{'body':_0x45dbbb});if(((_0x486c2c=(_0x439a75=_0x3003a9==null?void 0x0:_0x3003a9['body'])==null?void 0x0:_0x439a75[_0x1bfeed(0x1a2)])==null?void 0x0:_0x486c2c[_0x1bfeed(0x2a7)])!==0x1)throw new Error(_0x1bfeed(0x3e1));}async[_0x1f410c(0x1ad)](_0x524dec){var _0xb6859d=_0x1f410c;const _0x570ce2=this[_0xb6859d(0x221)]()+'/'+_0x524dec['objectType']+'/object/'+_0x524dec[_0xb6859d(0x3b0)]+_0xb6859d(0x1f0);return(await this[_0xb6859d(0x43e)]['post'](_0x570ce2,{'body':_0x524dec}))['body'][_0xb6859d(0x1e3)];}async[_0x1f410c(0x466)](_0x48ee01){var _0x697953=_0x1f410c;const _0x4d093d=this['_getAPIPrefixPath']()+_0x697953(0x280);return(await this[_0x697953(0x43e)][_0x697953(0x1b0)](_0x4d093d,{'body':{'requests':_0x48ee01}}))['body'][_0x697953(0x1cc)];}async[_0x1f410c(0x223)](_0x3a95ff){var _0x962105=_0x1f410c;const _0x2cbe44=this['_getAPIPrefixPath']()+'/'+_0x3a95ff[_0x962105(0x20f)]+_0x962105(0x2e1),_0x2da6f6=await this[_0x962105(0x43e)][_0x962105(0x1b0)](_0x2cbe44,{'body':_0x3a95ff});return{'roles':_0x2da6f6[_0x962105(0x3b9)][_0x962105(0x292)],'actions':_0x2da6f6[_0x962105(0x3b9)]['actions']};}async[_0x1f410c(0x1ee)](_0x364acd){var _0xb46b41=_0x1f410c;const _0x59e8c5=this[_0xb46b41(0x221)]()+_0xb46b41(0x327);await this['_HTTPService'][_0xb46b41(0x41d)](_0x59e8c5,{'params':{'collaboratorID':_0x364acd[_0xb46b41(0x20d)],'objectID':_0x364acd[_0xb46b41(0x3b0)],'unitID':_0x364acd[_0xb46b41(0x47c)]}});}async[_0x1f410c(0x413)](_0x3bcb20){var _0x4d131e=_0x1f410c;const _0x208888=this[_0x4d131e(0x221)]()+_0x4d131e(0x327);await this['_HTTPService']['patch'](_0x208888,{'body':_0x3bcb20});}async[_0x1f410c(0x44f)](_0x1e116c){var _0x500cca=_0x1f410c;const _0x17324b=this[_0x500cca(0x221)]()+_0x500cca(0x327);await this['_HTTPService'][_0x500cca(0x1b0)](_0x17324b,{'body':_0x1e116c});}async['listCollaborators'](_0x59e633){var _0x6a3cc5=_0x1f410c;const _0x21b4f9=this[_0x6a3cc5(0x221)]()+'/collaborator';return(await this[_0x6a3cc5(0x43e)]['get'](_0x21b4f9,{'params':{'objectID':_0x59e633[_0x6a3cc5(0x3b0)],'unitID':_0x59e633[_0x6a3cc5(0x47c)]}}))[_0x6a3cc5(0x3b9)][_0x6a3cc5(0x3ed)];}async[_0x1f410c(0x202)](_0x374c00){var _0xfc6116=_0x1f410c;const _0x518405=this[_0xfc6116(0x221)]()+_0xfc6116(0x327);await this[_0xfc6116(0x43e)][_0xfc6116(0x238)](_0x518405,{'body':_0x374c00});}};Tt=hn([Kt(0x0,_0x1d307d(_0x23fee9)),Kt(0x1,_0x1d307d(_0x22f7d3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x303c20){var _0x472868=_0x1f410c;return _0x303c20&&_0x303c20['__esModule']&&Object[_0x472868(0x21e)][_0x472868(0x2fe)]['call'](_0x303c20,_0x472868(0x1c3))?_0x303c20['default']:_0x303c20;}var Ve={'exports':{}};function ln(_0x5a3941){var _0x537519=_0x1f410c;throw new Error(_0x537519(0x412)+_0x5a3941+_0x537519(0x185));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){return qt||(qt=0x1,function(_0x3c6031,_0x3bac8d){(function(_0x547fe4,_0x3b40b6){_0x3c6031['exports']=_0x3b40b6();}(un,function(){var _0x2a6e38=_0x2a6e38||function(_0x1713af,_0x54ab79){var _0x595bbd=_0x27f1,_0x13993c;if(typeof window<'u'&&window['crypto']&&(_0x13993c=window[_0x595bbd(0x351)]),typeof self<'u'&&self[_0x595bbd(0x351)]&&(_0x13993c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x595bbd(0x351)]&&(_0x13993c=globalThis['crypto']),!_0x13993c&&typeof window<'u'&&window['msCrypto']&&(_0x13993c=window[_0x595bbd(0x226)]),!_0x13993c&&typeof ft<'u'&&ft[_0x595bbd(0x351)]&&(_0x13993c=ft[_0x595bbd(0x351)]),!_0x13993c&&typeof ln==_0x595bbd(0x418))try{_0x13993c=require('crypto');}catch{}var _0x39454c=function(){var _0x248a63=_0x595bbd;if(_0x13993c){if(typeof _0x13993c[_0x248a63(0x350)]==_0x248a63(0x418))try{return _0x13993c[_0x248a63(0x350)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x13993c[_0x248a63(0x233)]=='function')try{return _0x13993c[_0x248a63(0x233)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2c00d5=Object['create']||(function(){function _0x3ac955(){}return function(_0xeea3f7){var _0x2efb77=_0x27f1,_0x178bd7;return _0x3ac955[_0x2efb77(0x21e)]=_0xeea3f7,_0x178bd7=new _0x3ac955(),_0x3ac955[_0x2efb77(0x21e)]=null,_0x178bd7;};}()),_0x500570={},_0x495cb2=_0x500570['lib']={},_0x38e4f5=_0x495cb2[_0x595bbd(0x2df)]=(function(){return{'extend':function(_0x59b89c){var _0x289e19=_0x27f1,_0x512113=_0x2c00d5(this);return _0x59b89c&&_0x512113[_0x289e19(0x197)](_0x59b89c),(!_0x512113[_0x289e19(0x2fe)]('init')||this[_0x289e19(0x3ac)]===_0x512113[_0x289e19(0x3ac)])&&(_0x512113[_0x289e19(0x3ac)]=function(){var _0x38f25a=_0x289e19;_0x512113[_0x38f25a(0x316)][_0x38f25a(0x3ac)]['apply'](this,arguments);}),_0x512113['init'][_0x289e19(0x21e)]=_0x512113,_0x512113['$super']=this,_0x512113;},'create':function(){var _0x41900e=_0x27f1,_0x9258a8=this[_0x41900e(0x184)]();return _0x9258a8['init']['apply'](_0x9258a8,arguments),_0x9258a8;},'init':function(){},'mixIn':function(_0x4dfff1){var _0x1d5365=_0x27f1;for(var _0x3b1608 in _0x4dfff1)_0x4dfff1['hasOwnProperty'](_0x3b1608)&&(this[_0x3b1608]=_0x4dfff1[_0x3b1608]);_0x4dfff1[_0x1d5365(0x2fe)](_0x1d5365(0x33b))&&(this[_0x1d5365(0x33b)]=_0x4dfff1[_0x1d5365(0x33b)]);},'clone':function(){var _0x3ad517=_0x27f1;return this[_0x3ad517(0x3ac)]['prototype'][_0x3ad517(0x184)](this);}};}()),_0x4ff3eb=_0x495cb2[_0x595bbd(0x225)]=_0x38e4f5[_0x595bbd(0x184)]({'init':function(_0x2d95a1,_0x31a6c6){var _0x5cc0d3=_0x595bbd;_0x2d95a1=this['words']=_0x2d95a1||[],_0x31a6c6!=_0x54ab79?this[_0x5cc0d3(0x3c0)]=_0x31a6c6:this[_0x5cc0d3(0x3c0)]=_0x2d95a1['length']*0x4;},'toString':function(_0x21a656){var _0x564b6e=_0x595bbd;return(_0x21a656||_0x25f146)[_0x564b6e(0x322)](this);},'concat':function(_0xbbc475){var _0x2a3b1a=_0x595bbd,_0x2e7bf8=this['words'],_0x3d96f7=_0xbbc475[_0x2a3b1a(0x1dd)],_0x274f8c=this[_0x2a3b1a(0x3c0)],_0x2dddd4=_0xbbc475[_0x2a3b1a(0x3c0)];if(this['clamp'](),_0x274f8c%0x4)for(var _0x5bf826=0x0;_0x5bf826<_0x2dddd4;_0x5bf826++){var _0x47389a=_0x3d96f7[_0x5bf826>>>0x2]>>>0x18-_0x5bf826%0x4*0x8&0xff;_0x2e7bf8[_0x274f8c+_0x5bf826>>>0x2]|=_0x47389a<<0x18-(_0x274f8c+_0x5bf826)%0x4*0x8;}else{for(var _0x3fc74d=0x0;_0x3fc74d<_0x2dddd4;_0x3fc74d+=0x4)_0x2e7bf8[_0x274f8c+_0x3fc74d>>>0x2]=_0x3d96f7[_0x3fc74d>>>0x2];}return this[_0x2a3b1a(0x3c0)]+=_0x2dddd4,this;},'clamp':function(){var _0x2c7573=_0x595bbd,_0x2ea601=this[_0x2c7573(0x1dd)],_0x2e7fbd=this[_0x2c7573(0x3c0)];_0x2ea601[_0x2e7fbd>>>0x2]&=0xffffffff<<0x20-_0x2e7fbd%0x4*0x8,_0x2ea601['length']=_0x1713af['ceil'](_0x2e7fbd/0x4);},'clone':function(){var _0x4768fd=_0x595bbd,_0x2da0bf=_0x38e4f5[_0x4768fd(0x349)]['call'](this);return _0x2da0bf[_0x4768fd(0x1dd)]=this[_0x4768fd(0x1dd)][_0x4768fd(0x30e)](0x0),_0x2da0bf;},'random':function(_0x16a811){var _0x1abde7=_0x595bbd;for(var _0x19c4d3=[],_0x7d3a57=0x0;_0x7d3a57<_0x16a811;_0x7d3a57+=0x4)_0x19c4d3[_0x1abde7(0x2dc)](_0x39454c());return new _0x4ff3eb['init'](_0x19c4d3,_0x16a811);}}),_0x517b97=_0x500570[_0x595bbd(0x339)]={},_0x25f146=_0x517b97['Hex']={'stringify':function(_0x19dae4){var _0x226091=_0x595bbd;for(var _0xd556a6=_0x19dae4['words'],_0x3f0838=_0x19dae4[_0x226091(0x3c0)],_0x27e7f8=[],_0x562902=0x0;_0x562902<_0x3f0838;_0x562902++){var _0x5c6b53=_0xd556a6[_0x562902>>>0x2]>>>0x18-_0x562902%0x4*0x8&0xff;_0x27e7f8[_0x226091(0x2dc)]((_0x5c6b53>>>0x4)['toString'](0x10)),_0x27e7f8[_0x226091(0x2dc)]((_0x5c6b53&0xf)[_0x226091(0x33b)](0x10));}return _0x27e7f8['join']('');},'parse':function(_0x5c752e){var _0xf441dc=_0x595bbd;for(var _0xb40fb1=_0x5c752e[_0xf441dc(0x380)],_0x32dd86=[],_0x766350=0x0;_0x766350<_0xb40fb1;_0x766350+=0x2)_0x32dd86[_0x766350>>>0x3]|=parseInt(_0x5c752e[_0xf441dc(0x3df)](_0x766350,0x2),0x10)<<0x18-_0x766350%0x8*0x4;return new _0x4ff3eb[(_0xf441dc(0x3ac))](_0x32dd86,_0xb40fb1/0x2);}},_0x1de7fa=_0x517b97[_0x595bbd(0x21a)]={'stringify':function(_0x4cea0b){var _0x25cbfc=_0x595bbd;for(var _0x1f26c9=_0x4cea0b[_0x25cbfc(0x1dd)],_0x10f1a6=_0x4cea0b[_0x25cbfc(0x3c0)],_0x18920f=[],_0xdf7b87=0x0;_0xdf7b87<_0x10f1a6;_0xdf7b87++){var _0x414d57=_0x1f26c9[_0xdf7b87>>>0x2]>>>0x18-_0xdf7b87%0x4*0x8&0xff;_0x18920f['push'](String[_0x25cbfc(0x3f4)](_0x414d57));}return _0x18920f[_0x25cbfc(0x1a3)]('');},'parse':function(_0x150425){var _0x4b4978=_0x595bbd;for(var _0x31f356=_0x150425[_0x4b4978(0x380)],_0x231f52=[],_0x3e0eb0=0x0;_0x3e0eb0<_0x31f356;_0x3e0eb0++)_0x231f52[_0x3e0eb0>>>0x2]|=(_0x150425[_0x4b4978(0x2eb)](_0x3e0eb0)&0xff)<<0x18-_0x3e0eb0%0x4*0x8;return new _0x4ff3eb[(_0x4b4978(0x3ac))](_0x231f52,_0x31f356);}},_0x402f78=_0x517b97['Utf8']={'stringify':function(_0x17f922){var _0x495350=_0x595bbd;try{return decodeURIComponent(escape(_0x1de7fa[_0x495350(0x322)](_0x17f922)));}catch{throw new Error(_0x495350(0x271));}},'parse':function(_0x3203f7){var _0x30b658=_0x595bbd;return _0x1de7fa[_0x30b658(0x2b7)](unescape(encodeURIComponent(_0x3203f7)));}},_0xac82fd=_0x495cb2[_0x595bbd(0x27e)]=_0x38e4f5[_0x595bbd(0x184)]({'reset':function(){var _0x4aa917=_0x595bbd;this[_0x4aa917(0x190)]=new _0x4ff3eb[(_0x4aa917(0x3ac))](),this[_0x4aa917(0x298)]=0x0;},'_append':function(_0x1f87a3){var _0x5afcfe=_0x595bbd;typeof _0x1f87a3==_0x5afcfe(0x3a5)&&(_0x1f87a3=_0x402f78[_0x5afcfe(0x2b7)](_0x1f87a3)),this[_0x5afcfe(0x190)]['concat'](_0x1f87a3),this[_0x5afcfe(0x298)]+=_0x1f87a3[_0x5afcfe(0x3c0)];},'_process':function(_0x2e0dc3){var _0x30ec09=_0x595bbd,_0x48b213,_0x45d8b6=this[_0x30ec09(0x190)],_0x4eafc3=_0x45d8b6[_0x30ec09(0x1dd)],_0xa43b0a=_0x45d8b6[_0x30ec09(0x3c0)],_0x36a545=this[_0x30ec09(0x234)],_0x13aa34=_0x36a545*0x4,_0x5870d2=_0xa43b0a/_0x13aa34;_0x2e0dc3?_0x5870d2=_0x1713af[_0x30ec09(0x257)](_0x5870d2):_0x5870d2=_0x1713af[_0x30ec09(0x236)]((_0x5870d2|0x0)-this['_minBufferSize'],0x0);var _0xc50a19=_0x5870d2*_0x36a545,_0x17de97=_0x1713af[_0x30ec09(0x3c2)](_0xc50a19*0x4,_0xa43b0a);if(_0xc50a19){for(var _0x1676ac=0x0;_0x1676ac<_0xc50a19;_0x1676ac+=_0x36a545)this[_0x30ec09(0x47b)](_0x4eafc3,_0x1676ac);_0x48b213=_0x4eafc3[_0x30ec09(0x23c)](0x0,_0xc50a19),_0x45d8b6[_0x30ec09(0x3c0)]-=_0x17de97;}return new _0x4ff3eb[(_0x30ec09(0x3ac))](_0x48b213,_0x17de97);},'clone':function(){var _0x41e3dc=_0x595bbd,_0x9ee3ba=_0x38e4f5['clone'][_0x41e3dc(0x208)](this);return _0x9ee3ba[_0x41e3dc(0x190)]=this['_data'][_0x41e3dc(0x349)](),_0x9ee3ba;},'_minBufferSize':0x0});_0x495cb2[_0x595bbd(0x2cb)]=_0xac82fd[_0x595bbd(0x184)]({'cfg':_0x38e4f5['extend'](),'init':function(_0x10e8dc){var _0x58808e=_0x595bbd;this[_0x58808e(0x2ba)]=this[_0x58808e(0x2ba)][_0x58808e(0x184)](_0x10e8dc),this[_0x58808e(0x2f4)]();},'reset':function(){var _0x3a1258=_0x595bbd;_0xac82fd[_0x3a1258(0x2f4)][_0x3a1258(0x208)](this),this['_doReset']();},'update':function(_0x1046a1){var _0x536064=_0x595bbd;return this[_0x536064(0x1b9)](_0x1046a1),this[_0x536064(0x361)](),this;},'finalize':function(_0x44244b){var _0x59017d=_0x595bbd;_0x44244b&&this['_append'](_0x44244b);var _0x5323fc=this[_0x59017d(0x1af)]();return _0x5323fc;},'blockSize':0x10,'_createHelper':function(_0x595243){return function(_0x4351d5,_0x12f90a){var _0x1fb24a=_0x27f1;return new _0x595243[(_0x1fb24a(0x3ac))](_0x12f90a)[_0x1fb24a(0x33c)](_0x4351d5);};},'_createHmacHelper':function(_0x2789a2){return function(_0x3641e5,_0x4b384e){var _0x11aa4c=_0x27f1;return new _0x2a52be['HMAC'][(_0x11aa4c(0x3ac))](_0x2789a2,_0x4b384e)[_0x11aa4c(0x33c)](_0x3641e5);};}});var _0x2a52be=_0x500570['algo']={};return _0x500570;}(Math);return _0x2a6e38;}));}(Ge)),Ge['exports'];}var We={'exports':{}},dn=We[_0x1f410c(0x3c3)],zt;function Oi(){return zt||(zt=0x1,function(_0x2fc1c5,_0x22847a){(function(_0x495bca,_0x599a12){var _0x190dad=_0x27f1;_0x2fc1c5[_0x190dad(0x3c3)]=_0x599a12(te());}(dn,function(_0x263fa9){var _0x207805=_0x27f1;return(function(){var _0x28a2cf=_0x27f1,_0x4bb453=_0x263fa9,_0x2bdcc3=_0x4bb453['lib'],_0x2dc18b=_0x2bdcc3[_0x28a2cf(0x225)],_0x517380=_0x4bb453[_0x28a2cf(0x339)];_0x517380[_0x28a2cf(0x420)]={'stringify':function(_0x35bc69){var _0x97bbe8=_0x28a2cf,_0x1c48be=_0x35bc69[_0x97bbe8(0x1dd)],_0x137333=_0x35bc69[_0x97bbe8(0x3c0)],_0x4fd7b7=this['_map'];_0x35bc69[_0x97bbe8(0x3aa)]();for(var _0x10fbd5=[],_0x48a71d=0x0;_0x48a71d<_0x137333;_0x48a71d+=0x3)for(var _0x9af064=_0x1c48be[_0x48a71d>>>0x2]>>>0x18-_0x48a71d%0x4*0x8&0xff,_0x34d556=_0x1c48be[_0x48a71d+0x1>>>0x2]>>>0x18-(_0x48a71d+0x1)%0x4*0x8&0xff,_0x21dfb6=_0x1c48be[_0x48a71d+0x2>>>0x2]>>>0x18-(_0x48a71d+0x2)%0x4*0x8&0xff,_0x288036=_0x9af064<<0x10|_0x34d556<<0x8|_0x21dfb6,_0x4edf1b=0x0;_0x4edf1b<0x4&&_0x48a71d+_0x4edf1b*0.75<_0x137333;_0x4edf1b++)_0x10fbd5[_0x97bbe8(0x2dc)](_0x4fd7b7[_0x97bbe8(0x2c1)](_0x288036>>>0x6*(0x3-_0x4edf1b)&0x3f));var _0x517e35=_0x4fd7b7['charAt'](0x40);if(_0x517e35){for(;_0x10fbd5[_0x97bbe8(0x380)]%0x4;)_0x10fbd5['push'](_0x517e35);}return _0x10fbd5['join']('');},'parse':function(_0x1d5423){var _0x3bb44e=_0x28a2cf,_0x51f997=_0x1d5423[_0x3bb44e(0x380)],_0x22fe12=this[_0x3bb44e(0x408)],_0x33b549=this[_0x3bb44e(0x447)];if(!_0x33b549){_0x33b549=this['_reverseMap']=[];for(var _0x4615a1=0x0;_0x4615a1<_0x22fe12[_0x3bb44e(0x380)];_0x4615a1++)_0x33b549[_0x22fe12['charCodeAt'](_0x4615a1)]=_0x4615a1;}var _0x35ac3d=_0x22fe12['charAt'](0x40);if(_0x35ac3d){var _0x30696d=_0x1d5423[_0x3bb44e(0x35e)](_0x35ac3d);_0x30696d!==-0x1&&(_0x51f997=_0x30696d);}return _0x2e849b(_0x1d5423,_0x51f997,_0x33b549);},'_map':_0x28a2cf(0x42d)};function _0x2e849b(_0x13e14e,_0x3c613d,_0x5b35dc){for(var _0x54e72d=[],_0x1910de=0x0,_0xf8dd2e=0x0;_0xf8dd2e<_0x3c613d;_0xf8dd2e++)if(_0xf8dd2e%0x4){var _0x1f7ca2=_0x5b35dc[_0x13e14e['charCodeAt'](_0xf8dd2e-0x1)]<<_0xf8dd2e%0x4*0x2,_0x2cab52=_0x5b35dc[_0x13e14e['charCodeAt'](_0xf8dd2e)]>>>0x6-_0xf8dd2e%0x4*0x2,_0x35a3f7=_0x1f7ca2|_0x2cab52;_0x54e72d[_0x1910de>>>0x2]|=_0x35a3f7<<0x18-_0x1910de%0x4*0x8,_0x1910de++;}return _0x2dc18b['create'](_0x54e72d,_0x1910de);}}()),_0x263fa9[_0x207805(0x339)][_0x207805(0x420)];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye[_0x1f410c(0x3c3)],Jt;function vn(){var _0x35c8ce=_0x1f410c;return Jt||(Jt=0x1,function(_0x449fce,_0x4a6060){(function(_0x481a3e,_0x16e68a){var _0x28ffb9=_0x27f1;_0x449fce[_0x28ffb9(0x3c3)]=_0x16e68a(te());}(fn,function(_0xce7197){return function(_0xe8a12a){var _0x1bff29=_0x27f1,_0x192c15=_0xce7197,_0x5d6b90=_0x192c15[_0x1bff29(0x1d1)],_0x4240ef=_0x5d6b90[_0x1bff29(0x225)],_0x3abb4a=_0x5d6b90[_0x1bff29(0x2cb)],_0x14f6f8=_0x192c15[_0x1bff29(0x211)],_0x36d38e=[];(function(){var _0x4e6691=_0x1bff29;for(var _0x20a552=0x0;_0x20a552<0x40;_0x20a552++)_0x36d38e[_0x20a552]=_0xe8a12a[_0x4e6691(0x1ea)](_0xe8a12a[_0x4e6691(0x3c6)](_0x20a552+0x1))*0x100000000|0x0;}());var _0x4c2e32=_0x14f6f8[_0x1bff29(0x3fe)]=_0x3abb4a[_0x1bff29(0x184)]({'_doReset':function(){var _0x26111d=_0x1bff29;this[_0x26111d(0x3dc)]=new _0x4240ef[(_0x26111d(0x3ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fb632,_0xa4fcf7){var _0x714335=_0x1bff29;for(var _0x3e38f1=0x0;_0x3e38f1<0x10;_0x3e38f1++){var _0x918c35=_0xa4fcf7+_0x3e38f1,_0x5672e7=_0x3fb632[_0x918c35];_0x3fb632[_0x918c35]=(_0x5672e7<<0x8|_0x5672e7>>>0x18)&0xff00ff|(_0x5672e7<<0x18|_0x5672e7>>>0x8)&0xff00ff00;}var _0xa997d9=this[_0x714335(0x3dc)][_0x714335(0x1dd)],_0x24dc4e=_0x3fb632[_0xa4fcf7+0x0],_0x46a0aa=_0x3fb632[_0xa4fcf7+0x1],_0x3281c1=_0x3fb632[_0xa4fcf7+0x2],_0x52f5c9=_0x3fb632[_0xa4fcf7+0x3],_0x388c01=_0x3fb632[_0xa4fcf7+0x4],_0x2d5908=_0x3fb632[_0xa4fcf7+0x5],_0x3510b3=_0x3fb632[_0xa4fcf7+0x6],_0x36ec0e=_0x3fb632[_0xa4fcf7+0x7],_0x5c2efe=_0x3fb632[_0xa4fcf7+0x8],_0x4d3c80=_0x3fb632[_0xa4fcf7+0x9],_0x37dc12=_0x3fb632[_0xa4fcf7+0xa],_0x33ccf9=_0x3fb632[_0xa4fcf7+0xb],_0x3af2c4=_0x3fb632[_0xa4fcf7+0xc],_0x589902=_0x3fb632[_0xa4fcf7+0xd],_0x231faf=_0x3fb632[_0xa4fcf7+0xe],_0x4abb24=_0x3fb632[_0xa4fcf7+0xf],_0x436aa6=_0xa997d9[0x0],_0x2e56db=_0xa997d9[0x1],_0x2061d1=_0xa997d9[0x2],_0x1b5fdd=_0xa997d9[0x3];_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x24dc4e,0x7,_0x36d38e[0x0]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x46a0aa,0xc,_0x36d38e[0x1]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3281c1,0x11,_0x36d38e[0x2]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x52f5c9,0x16,_0x36d38e[0x3]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x388c01,0x7,_0x36d38e[0x4]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x2d5908,0xc,_0x36d38e[0x5]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3510b3,0x11,_0x36d38e[0x6]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x36ec0e,0x16,_0x36d38e[0x7]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x5c2efe,0x7,_0x36d38e[0x8]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x4d3c80,0xc,_0x36d38e[0x9]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x37dc12,0x11,_0x36d38e[0xa]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x33ccf9,0x16,_0x36d38e[0xb]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x3af2c4,0x7,_0x36d38e[0xc]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x589902,0xc,_0x36d38e[0xd]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x231faf,0x11,_0x36d38e[0xe]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x4abb24,0x16,_0x36d38e[0xf]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x46a0aa,0x5,_0x36d38e[0x10]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3510b3,0x9,_0x36d38e[0x11]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x33ccf9,0xe,_0x36d38e[0x12]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x24dc4e,0x14,_0x36d38e[0x13]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x2d5908,0x5,_0x36d38e[0x14]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x37dc12,0x9,_0x36d38e[0x15]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x4abb24,0xe,_0x36d38e[0x16]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x388c01,0x14,_0x36d38e[0x17]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x4d3c80,0x5,_0x36d38e[0x18]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x231faf,0x9,_0x36d38e[0x19]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x52f5c9,0xe,_0x36d38e[0x1a]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x5c2efe,0x14,_0x36d38e[0x1b]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x589902,0x5,_0x36d38e[0x1c]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3281c1,0x9,_0x36d38e[0x1d]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x36ec0e,0xe,_0x36d38e[0x1e]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3af2c4,0x14,_0x36d38e[0x1f]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x2d5908,0x4,_0x36d38e[0x20]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x5c2efe,0xb,_0x36d38e[0x21]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x33ccf9,0x10,_0x36d38e[0x22]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x231faf,0x17,_0x36d38e[0x23]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x46a0aa,0x4,_0x36d38e[0x24]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x388c01,0xb,_0x36d38e[0x25]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x36ec0e,0x10,_0x36d38e[0x26]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x37dc12,0x17,_0x36d38e[0x27]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x589902,0x4,_0x36d38e[0x28]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x24dc4e,0xb,_0x36d38e[0x29]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x52f5c9,0x10,_0x36d38e[0x2a]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3510b3,0x17,_0x36d38e[0x2b]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x4d3c80,0x4,_0x36d38e[0x2c]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3af2c4,0xb,_0x36d38e[0x2d]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x4abb24,0x10,_0x36d38e[0x2e]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3281c1,0x17,_0x36d38e[0x2f]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x24dc4e,0x6,_0x36d38e[0x30]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x36ec0e,0xa,_0x36d38e[0x31]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x231faf,0xf,_0x36d38e[0x32]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2d5908,0x15,_0x36d38e[0x33]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x3af2c4,0x6,_0x36d38e[0x34]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x52f5c9,0xa,_0x36d38e[0x35]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x37dc12,0xf,_0x36d38e[0x36]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x46a0aa,0x15,_0x36d38e[0x37]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x5c2efe,0x6,_0x36d38e[0x38]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x4abb24,0xa,_0x36d38e[0x39]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3510b3,0xf,_0x36d38e[0x3a]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x589902,0x15,_0x36d38e[0x3b]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x388c01,0x6,_0x36d38e[0x3c]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x33ccf9,0xa,_0x36d38e[0x3d]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3281c1,0xf,_0x36d38e[0x3e]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x4d3c80,0x15,_0x36d38e[0x3f]),_0xa997d9[0x0]=_0xa997d9[0x0]+_0x436aa6|0x0,_0xa997d9[0x1]=_0xa997d9[0x1]+_0x2e56db|0x0,_0xa997d9[0x2]=_0xa997d9[0x2]+_0x2061d1|0x0,_0xa997d9[0x3]=_0xa997d9[0x3]+_0x1b5fdd|0x0;},'_doFinalize':function(){var _0x552b0e=_0x1bff29,_0xff29d0=this[_0x552b0e(0x190)],_0x575346=_0xff29d0[_0x552b0e(0x1dd)],_0x5ba582=this[_0x552b0e(0x298)]*0x8,_0x3dda49=_0xff29d0['sigBytes']*0x8;_0x575346[_0x3dda49>>>0x5]|=0x80<<0x18-_0x3dda49%0x20;var _0xb4217f=_0xe8a12a[_0x552b0e(0x411)](_0x5ba582/0x100000000),_0x5986be=_0x5ba582;_0x575346[(_0x3dda49+0x40>>>0x9<<0x4)+0xf]=(_0xb4217f<<0x8|_0xb4217f>>>0x18)&0xff00ff|(_0xb4217f<<0x18|_0xb4217f>>>0x8)&0xff00ff00,_0x575346[(_0x3dda49+0x40>>>0x9<<0x4)+0xe]=(_0x5986be<<0x8|_0x5986be>>>0x18)&0xff00ff|(_0x5986be<<0x18|_0x5986be>>>0x8)&0xff00ff00,_0xff29d0[_0x552b0e(0x3c0)]=(_0x575346['length']+0x1)*0x4,this['_process']();for(var _0x1c0a84=this['_hash'],_0x17e09a=_0x1c0a84[_0x552b0e(0x1dd)],_0xd3df83=0x0;_0xd3df83<0x4;_0xd3df83++){var _0x20104d=_0x17e09a[_0xd3df83];_0x17e09a[_0xd3df83]=(_0x20104d<<0x8|_0x20104d>>>0x18)&0xff00ff|(_0x20104d<<0x18|_0x20104d>>>0x8)&0xff00ff00;}return _0x1c0a84;},'clone':function(){var _0x435ac4=_0x1bff29,_0x547eac=_0x3abb4a[_0x435ac4(0x349)][_0x435ac4(0x208)](this);return _0x547eac[_0x435ac4(0x3dc)]=this[_0x435ac4(0x3dc)][_0x435ac4(0x349)](),_0x547eac;}});function _0x39a928(_0x33b2ae,_0x1cfc2c,_0x98d044,_0x29e0fa,_0x3eb44e,_0xd07c,_0x3e1ee3){var _0x22258b=_0x33b2ae+(_0x1cfc2c&_0x98d044|~_0x1cfc2c&_0x29e0fa)+_0x3eb44e+_0x3e1ee3;return(_0x22258b<<_0xd07c|_0x22258b>>>0x20-_0xd07c)+_0x1cfc2c;}function _0x293038(_0x47d63c,_0x238e3c,_0x52d7ec,_0xbea386,_0x2171a8,_0x56b4a0,_0x19ac98){var _0x3d76dd=_0x47d63c+(_0x238e3c&_0xbea386|_0x52d7ec&~_0xbea386)+_0x2171a8+_0x19ac98;return(_0x3d76dd<<_0x56b4a0|_0x3d76dd>>>0x20-_0x56b4a0)+_0x238e3c;}function _0x31a49a(_0x257c68,_0x48ed46,_0x11b913,_0x2a7af2,_0x17de51,_0xfaaf43,_0xbc6b78){var _0x3fc051=_0x257c68+(_0x48ed46^_0x11b913^_0x2a7af2)+_0x17de51+_0xbc6b78;return(_0x3fc051<<_0xfaaf43|_0x3fc051>>>0x20-_0xfaaf43)+_0x48ed46;}function _0x2b9a24(_0x2a77f3,_0x5227ee,_0x512903,_0x1e5b51,_0x2bf6ef,_0x53895b,_0x1a7735){var _0x460967=_0x2a77f3+(_0x512903^(_0x5227ee|~_0x1e5b51))+_0x2bf6ef+_0x1a7735;return(_0x460967<<_0x53895b|_0x460967>>>0x20-_0x53895b)+_0x5227ee;}_0x192c15[_0x1bff29(0x3fe)]=_0x3abb4a[_0x1bff29(0x2e4)](_0x4c2e32),_0x192c15[_0x1bff29(0x2b2)]=_0x3abb4a[_0x1bff29(0x2e3)](_0x4c2e32);}(Math),_0xce7197['MD5'];}));}(Ye)),Ye[_0x35c8ce(0x3c3)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1f410c(0x3c3)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x3ccb05,_0x21ce36){(function(_0x13d7bf,_0x4d2bdc){var _0xfb0be9=_0x27f1;_0x3ccb05[_0xfb0be9(0x3c3)]=_0x4d2bdc(te());}(pn,function(_0x446188){var _0x1c4749=_0x27f1;return(function(){var _0x549fef=_0x27f1,_0x2d3c67=_0x446188,_0xea06a9=_0x2d3c67[_0x549fef(0x1d1)],_0x14320b=_0xea06a9[_0x549fef(0x225)],_0x2e1815=_0xea06a9[_0x549fef(0x2cb)],_0x2b3a3b=_0x2d3c67['algo'],_0x1b7305=[],_0x45f135=_0x2b3a3b[_0x549fef(0x1b6)]=_0x2e1815[_0x549fef(0x184)]({'_doReset':function(){var _0x139097=_0x549fef;this[_0x139097(0x3dc)]=new _0x14320b[(_0x139097(0x3ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15cea2,_0x53d564){var _0x556d2b=_0x549fef;for(var _0x52c129=this[_0x556d2b(0x3dc)]['words'],_0x8a419b=_0x52c129[0x0],_0x316976=_0x52c129[0x1],_0x5bb4db=_0x52c129[0x2],_0x56fee7=_0x52c129[0x3],_0x1ac97a=_0x52c129[0x4],_0x206c32=0x0;_0x206c32<0x50;_0x206c32++){if(_0x206c32<0x10)_0x1b7305[_0x206c32]=_0x15cea2[_0x53d564+_0x206c32]|0x0;else{var _0x22b0e5=_0x1b7305[_0x206c32-0x3]^_0x1b7305[_0x206c32-0x8]^_0x1b7305[_0x206c32-0xe]^_0x1b7305[_0x206c32-0x10];_0x1b7305[_0x206c32]=_0x22b0e5<<0x1|_0x22b0e5>>>0x1f;}var _0x7be335=(_0x8a419b<<0x5|_0x8a419b>>>0x1b)+_0x1ac97a+_0x1b7305[_0x206c32];_0x206c32<0x14?_0x7be335+=(_0x316976&_0x5bb4db|~_0x316976&_0x56fee7)+0x5a827999:_0x206c32<0x28?_0x7be335+=(_0x316976^_0x5bb4db^_0x56fee7)+0x6ed9eba1:_0x206c32<0x3c?_0x7be335+=(_0x316976&_0x5bb4db|_0x316976&_0x56fee7|_0x5bb4db&_0x56fee7)-0x70e44324:_0x7be335+=(_0x316976^_0x5bb4db^_0x56fee7)-0x359d3e2a,_0x1ac97a=_0x56fee7,_0x56fee7=_0x5bb4db,_0x5bb4db=_0x316976<<0x1e|_0x316976>>>0x2,_0x316976=_0x8a419b,_0x8a419b=_0x7be335;}_0x52c129[0x0]=_0x52c129[0x0]+_0x8a419b|0x0,_0x52c129[0x1]=_0x52c129[0x1]+_0x316976|0x0,_0x52c129[0x2]=_0x52c129[0x2]+_0x5bb4db|0x0,_0x52c129[0x3]=_0x52c129[0x3]+_0x56fee7|0x0,_0x52c129[0x4]=_0x52c129[0x4]+_0x1ac97a|0x0;},'_doFinalize':function(){var _0x59badc=_0x549fef,_0x9bcef8=this[_0x59badc(0x190)],_0x5398e5=_0x9bcef8[_0x59badc(0x1dd)],_0x31fe7b=this[_0x59badc(0x298)]*0x8,_0x1cda29=_0x9bcef8[_0x59badc(0x3c0)]*0x8;return _0x5398e5[_0x1cda29>>>0x5]|=0x80<<0x18-_0x1cda29%0x20,_0x5398e5[(_0x1cda29+0x40>>>0x9<<0x4)+0xe]=Math[_0x59badc(0x411)](_0x31fe7b/0x100000000),_0x5398e5[(_0x1cda29+0x40>>>0x9<<0x4)+0xf]=_0x31fe7b,_0x9bcef8[_0x59badc(0x3c0)]=_0x5398e5[_0x59badc(0x380)]*0x4,this[_0x59badc(0x361)](),this[_0x59badc(0x3dc)];},'clone':function(){var _0x4042de=_0x549fef,_0x562107=_0x2e1815['clone']['call'](this);return _0x562107[_0x4042de(0x3dc)]=this[_0x4042de(0x3dc)]['clone'](),_0x562107;}});_0x2d3c67[_0x549fef(0x1b6)]=_0x2e1815[_0x549fef(0x2e4)](_0x45f135),_0x2d3c67[_0x549fef(0x41c)]=_0x2e1815[_0x549fef(0x2e3)](_0x45f135);}()),_0x446188[_0x1c4749(0x1b6)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze[_0x1f410c(0x3c3)],Zt;function Sn(){var _0x463870=_0x1f410c;return Zt||(Zt=0x1,function(_0x4a4468,_0x2dc5c6){(function(_0x1b7486,_0x278856){var _0x24b5e0=_0x27f1;_0x4a4468[_0x24b5e0(0x3c3)]=_0x278856(te());}(gn,function(_0xb261b0){(function(){var _0x2a3d75=_0x27f1,_0x3c0310=_0xb261b0,_0x1b7304=_0x3c0310['lib'],_0x11b8b9=_0x1b7304[_0x2a3d75(0x2df)],_0x5893db=_0x3c0310['enc'],_0x3e485d=_0x5893db[_0x2a3d75(0x2a9)],_0x49b0ba=_0x3c0310[_0x2a3d75(0x211)];_0x49b0ba[_0x2a3d75(0x3e5)]=_0x11b8b9[_0x2a3d75(0x184)]({'init':function(_0x55828a,_0x1e3f37){var _0x1ff9ed=_0x2a3d75;_0x55828a=this[_0x1ff9ed(0x31a)]=new _0x55828a[(_0x1ff9ed(0x3ac))](),typeof _0x1e3f37==_0x1ff9ed(0x3a5)&&(_0x1e3f37=_0x3e485d[_0x1ff9ed(0x2b7)](_0x1e3f37));var _0x294813=_0x55828a[_0x1ff9ed(0x234)],_0x1e3d6c=_0x294813*0x4;_0x1e3f37[_0x1ff9ed(0x3c0)]>_0x1e3d6c&&(_0x1e3f37=_0x55828a[_0x1ff9ed(0x33c)](_0x1e3f37)),_0x1e3f37['clamp']();for(var _0x3ce7af=this['_oKey']=_0x1e3f37[_0x1ff9ed(0x349)](),_0x100861=this[_0x1ff9ed(0x2ae)]=_0x1e3f37[_0x1ff9ed(0x349)](),_0x37f4e2=_0x3ce7af[_0x1ff9ed(0x1dd)],_0x7651bb=_0x100861[_0x1ff9ed(0x1dd)],_0x509c5a=0x0;_0x509c5a<_0x294813;_0x509c5a++)_0x37f4e2[_0x509c5a]^=0x5c5c5c5c,_0x7651bb[_0x509c5a]^=0x36363636;_0x3ce7af['sigBytes']=_0x100861['sigBytes']=_0x1e3d6c,this[_0x1ff9ed(0x2f4)]();},'reset':function(){var _0x6f4982=_0x2a3d75,_0x4c40ec=this[_0x6f4982(0x31a)];_0x4c40ec['reset'](),_0x4c40ec['update'](this[_0x6f4982(0x2ae)]);},'update':function(_0x130e82){var _0x220459=_0x2a3d75;return this['_hasher'][_0x220459(0x188)](_0x130e82),this;},'finalize':function(_0x4887a0){var _0x1bc5fe=_0x2a3d75,_0x32b25a=this[_0x1bc5fe(0x31a)],_0x334aaf=_0x32b25a[_0x1bc5fe(0x33c)](_0x4887a0);_0x32b25a[_0x1bc5fe(0x2f4)]();var _0x584abe=_0x32b25a[_0x1bc5fe(0x33c)](this[_0x1bc5fe(0x46f)][_0x1bc5fe(0x349)]()[_0x1bc5fe(0x2c0)](_0x334aaf));return _0x584abe;}});}());}));}(ze)),ze[_0x463870(0x3c3)];}var En=Ke['exports'],Qt;function yi(){var _0x3b0e6a=_0x1f410c;return Qt||(Qt=0x1,function(_0xb7f408,_0x4c160e){(function(_0x4d5111,_0x585b1f,_0x1e4f31){_0xb7f408['exports']=_0x585b1f(te(),mn(),Sn());}(En,function(_0x4dafb9){var _0x447340=_0x27f1;return(function(){var _0x19c7f9=_0x27f1,_0x54b51f=_0x4dafb9,_0x35d20e=_0x54b51f[_0x19c7f9(0x1d1)],_0x400e3a=_0x35d20e[_0x19c7f9(0x2df)],_0x11e40c=_0x35d20e[_0x19c7f9(0x225)],_0x6eff9c=_0x54b51f[_0x19c7f9(0x211)],_0x390b3c=_0x6eff9c[_0x19c7f9(0x3fe)],_0xdc9a1a=_0x6eff9c['EvpKDF']=_0x400e3a[_0x19c7f9(0x184)]({'cfg':_0x400e3a[_0x19c7f9(0x184)]({'keySize':0x80/0x20,'hasher':_0x390b3c,'iterations':0x1}),'init':function(_0xcd8ca2){var _0x25b814=_0x19c7f9;this[_0x25b814(0x2ba)]=this[_0x25b814(0x2ba)][_0x25b814(0x184)](_0xcd8ca2);},'compute':function(_0x3b06bf,_0x7ff7c1){var _0x2b6855=_0x19c7f9;for(var _0x2ad800,_0x3511d4=this['cfg'],_0x23c533=_0x3511d4['hasher'][_0x2b6855(0x2fc)](),_0x5b37fb=_0x11e40c[_0x2b6855(0x2fc)](),_0x316e6b=_0x5b37fb['words'],_0x36f730=_0x3511d4['keySize'],_0x168942=_0x3511d4['iterations'];_0x316e6b['length']<_0x36f730;){_0x2ad800&&_0x23c533[_0x2b6855(0x188)](_0x2ad800),_0x2ad800=_0x23c533[_0x2b6855(0x188)](_0x3b06bf)[_0x2b6855(0x33c)](_0x7ff7c1),_0x23c533['reset']();for(var _0x90f199=0x1;_0x90f199<_0x168942;_0x90f199++)_0x2ad800=_0x23c533[_0x2b6855(0x33c)](_0x2ad800),_0x23c533[_0x2b6855(0x2f4)]();_0x5b37fb[_0x2b6855(0x2c0)](_0x2ad800);}return _0x5b37fb[_0x2b6855(0x3c0)]=_0x36f730*0x4,_0x5b37fb;}});_0x54b51f[_0x19c7f9(0x337)]=function(_0x45b597,_0x50dfb8,_0x5c7daf){var _0x16b14d=_0x19c7f9;return _0xdc9a1a[_0x16b14d(0x2fc)](_0x5c7daf)['compute'](_0x45b597,_0x50dfb8);};}()),_0x4dafb9[_0x447340(0x337)];}));}(Ke)),Ke[_0x3b0e6a(0x3c3)];}var Je={'exports':{}},In=Je[_0x1f410c(0x3c3)],ei;function Ni(){var _0x374e8c=_0x1f410c;return ei||(ei=0x1,function(_0x10ea45,_0x2a9369){(function(_0x2c3d8f,_0x4400e2,_0x31f2ac){_0x10ea45['exports']=_0x4400e2(te(),yi());}(In,function(_0xcacf58){var _0xf32538=_0x27f1;_0xcacf58['lib'][_0xf32538(0x281)]||function(_0x5c1b9b){var _0x4e411b=_0xf32538,_0x50f1f2=_0xcacf58,_0x2d6d33=_0x50f1f2[_0x4e411b(0x1d1)],_0x50e8a1=_0x2d6d33[_0x4e411b(0x2df)],_0x477bb0=_0x2d6d33[_0x4e411b(0x225)],_0x14eb60=_0x2d6d33[_0x4e411b(0x27e)],_0x5995de=_0x50f1f2[_0x4e411b(0x339)];_0x5995de[_0x4e411b(0x2a9)];var _0x3765cb=_0x5995de[_0x4e411b(0x420)],_0x4585fd=_0x50f1f2[_0x4e411b(0x211)],_0x30e314=_0x4585fd[_0x4e411b(0x337)],_0x592c26=_0x2d6d33['Cipher']=_0x14eb60['extend']({'cfg':_0x50e8a1[_0x4e411b(0x184)](),'createEncryptor':function(_0x568cd8,_0x3ed96c){var _0x1a1450=_0x4e411b;return this[_0x1a1450(0x2fc)](this['_ENC_XFORM_MODE'],_0x568cd8,_0x3ed96c);},'createDecryptor':function(_0x12f8ee,_0x473234){var _0x518fdc=_0x4e411b;return this[_0x518fdc(0x2fc)](this['_DEC_XFORM_MODE'],_0x12f8ee,_0x473234);},'init':function(_0x12d161,_0x3dcbc2,_0x837175){var _0x1769a1=_0x4e411b;this[_0x1769a1(0x2ba)]=this[_0x1769a1(0x2ba)][_0x1769a1(0x184)](_0x837175),this[_0x1769a1(0x34a)]=_0x12d161,this[_0x1769a1(0x1e8)]=_0x3dcbc2,this[_0x1769a1(0x2f4)]();},'reset':function(){var _0x57b4a6=_0x4e411b;_0x14eb60[_0x57b4a6(0x2f4)]['call'](this),this[_0x57b4a6(0x39e)]();},'process':function(_0x3b4d9a){var _0x12afd3=_0x4e411b;return this['_append'](_0x3b4d9a),this[_0x12afd3(0x361)]();},'finalize':function(_0xe47bd){var _0x1089e1=_0x4e411b;_0xe47bd&&this[_0x1089e1(0x1b9)](_0xe47bd);var _0x534fb6=this[_0x1089e1(0x1af)]();return _0x534fb6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5d74dd(_0x2d19a4){var _0x2b7fc6=_0x27f1;return typeof _0x2d19a4==_0x2b7fc6(0x3a5)?_0x29b0b5:_0x187a2c;}return function(_0xb984c){return{'encrypt':function(_0x5e8f78,_0x2baf30,_0x576c9e){var _0x1b9294=_0x27f1;return _0x5d74dd(_0x2baf30)[_0x1b9294(0x33d)](_0xb984c,_0x5e8f78,_0x2baf30,_0x576c9e);},'decrypt':function(_0x1027fc,_0x3e6585,_0x372f36){var _0x357c88=_0x27f1;return _0x5d74dd(_0x3e6585)[_0x357c88(0x196)](_0xb984c,_0x1027fc,_0x3e6585,_0x372f36);}};};}())});_0x2d6d33[_0x4e411b(0x1fe)]=_0x592c26['extend']({'_doFinalize':function(){var _0x5a86b4=_0x4e411b,_0x4dacb8=this[_0x5a86b4(0x361)](!0x0);return _0x4dacb8;},'blockSize':0x1});var _0x38be30=_0x50f1f2['mode']={},_0x2d6594=_0x2d6d33['BlockCipherMode']=_0x50e8a1[_0x4e411b(0x184)]({'createEncryptor':function(_0x420497,_0x326f6f){var _0x53a92e=_0x4e411b;return this[_0x53a92e(0x209)]['create'](_0x420497,_0x326f6f);},'createDecryptor':function(_0x3c9fa1,_0x78d2e0){var _0x9045da=_0x4e411b;return this[_0x9045da(0x43f)][_0x9045da(0x2fc)](_0x3c9fa1,_0x78d2e0);},'init':function(_0x31b1bf,_0x911b7d){var _0x28ae22=_0x4e411b;this[_0x28ae22(0x28d)]=_0x31b1bf,this['_iv']=_0x911b7d;}}),_0x305eda=_0x38be30['CBC']=(function(){var _0x4ea960=_0x4e411b,_0x4f1a34=_0x2d6594['extend']();_0x4f1a34[_0x4ea960(0x209)]=_0x4f1a34[_0x4ea960(0x184)]({'processBlock':function(_0x13832f,_0xd6b6fa){var _0x58e2c7=_0x4ea960,_0x2e5438=this[_0x58e2c7(0x28d)],_0x313156=_0x2e5438['blockSize'];_0x31390e[_0x58e2c7(0x208)](this,_0x13832f,_0xd6b6fa,_0x313156),_0x2e5438[_0x58e2c7(0x3ba)](_0x13832f,_0xd6b6fa),this['_prevBlock']=_0x13832f['slice'](_0xd6b6fa,_0xd6b6fa+_0x313156);}}),_0x4f1a34[_0x4ea960(0x43f)]=_0x4f1a34[_0x4ea960(0x184)]({'processBlock':function(_0x49f1bd,_0x23faf9){var _0x45f92d=_0x4ea960,_0x4f2de8=this[_0x45f92d(0x28d)],_0x571004=_0x4f2de8[_0x45f92d(0x234)],_0x4d6023=_0x49f1bd['slice'](_0x23faf9,_0x23faf9+_0x571004);_0x4f2de8[_0x45f92d(0x307)](_0x49f1bd,_0x23faf9),_0x31390e[_0x45f92d(0x208)](this,_0x49f1bd,_0x23faf9,_0x571004),this[_0x45f92d(0x246)]=_0x4d6023;}});function _0x31390e(_0x12c2e2,_0x512e1f,_0x2d8fc4){var _0x381de0=_0x4ea960,_0x32bfa5,_0x58c8a7=this[_0x381de0(0x336)];_0x58c8a7?(_0x32bfa5=_0x58c8a7,this['_iv']=_0x5c1b9b):_0x32bfa5=this[_0x381de0(0x246)];for(var _0x3b6f32=0x0;_0x3b6f32<_0x2d8fc4;_0x3b6f32++)_0x12c2e2[_0x512e1f+_0x3b6f32]^=_0x32bfa5[_0x3b6f32];}return _0x4f1a34;}()),_0x1de174=_0x50f1f2[_0x4e411b(0x1c2)]={},_0x1d2a8b=_0x1de174[_0x4e411b(0x375)]={'pad':function(_0x14fd6d,_0x39b264){var _0x26a1e3=_0x4e411b;for(var _0x568b72=_0x39b264*0x4,_0x2ac7c7=_0x568b72-_0x14fd6d[_0x26a1e3(0x3c0)]%_0x568b72,_0x8bf880=_0x2ac7c7<<0x18|_0x2ac7c7<<0x10|_0x2ac7c7<<0x8|_0x2ac7c7,_0x569bdc=[],_0x208590=0x0;_0x208590<_0x2ac7c7;_0x208590+=0x4)_0x569bdc['push'](_0x8bf880);var _0x3cf81a=_0x477bb0[_0x26a1e3(0x2fc)](_0x569bdc,_0x2ac7c7);_0x14fd6d['concat'](_0x3cf81a);},'unpad':function(_0x2b0c1a){var _0x2615a3=_0x4e411b,_0xc85b82=_0x2b0c1a[_0x2615a3(0x1dd)][_0x2b0c1a[_0x2615a3(0x3c0)]-0x1>>>0x2]&0xff;_0x2b0c1a[_0x2615a3(0x3c0)]-=_0xc85b82;}};_0x2d6d33[_0x4e411b(0x453)]=_0x592c26[_0x4e411b(0x184)]({'cfg':_0x592c26[_0x4e411b(0x2ba)][_0x4e411b(0x184)]({'mode':_0x305eda,'padding':_0x1d2a8b}),'reset':function(){var _0x165e61=_0x4e411b,_0x6b7954;_0x592c26[_0x165e61(0x2f4)][_0x165e61(0x208)](this);var _0x132601=this[_0x165e61(0x2ba)],_0x55a8c9=_0x132601['iv'],_0x3e33a0=_0x132601['mode'];this['_xformMode']==this[_0x165e61(0x276)]?_0x6b7954=_0x3e33a0[_0x165e61(0x29e)]:(_0x6b7954=_0x3e33a0[_0x165e61(0x338)],this['_minBufferSize']=0x1),this[_0x165e61(0x344)]&&this[_0x165e61(0x344)][_0x165e61(0x377)]==_0x6b7954?this[_0x165e61(0x344)][_0x165e61(0x3ac)](this,_0x55a8c9&&_0x55a8c9[_0x165e61(0x1dd)]):(this[_0x165e61(0x344)]=_0x6b7954['call'](_0x3e33a0,this,_0x55a8c9&&_0x55a8c9[_0x165e61(0x1dd)]),this[_0x165e61(0x344)][_0x165e61(0x377)]=_0x6b7954);},'_doProcessBlock':function(_0x15a2a7,_0x431c83){var _0xf422f=_0x4e411b;this['_mode'][_0xf422f(0x1eb)](_0x15a2a7,_0x431c83);},'_doFinalize':function(){var _0x31c306=_0x4e411b,_0x38dbc4,_0x34c0c3=this[_0x31c306(0x2ba)][_0x31c306(0x2a5)];return this[_0x31c306(0x34a)]==this[_0x31c306(0x276)]?(_0x34c0c3[_0x31c306(0x1c2)](this[_0x31c306(0x190)],this['blockSize']),_0x38dbc4=this[_0x31c306(0x361)](!0x0)):(_0x38dbc4=this[_0x31c306(0x361)](!0x0),_0x34c0c3[_0x31c306(0x269)](_0x38dbc4)),_0x38dbc4;},'blockSize':0x80/0x20});var _0x25634c=_0x2d6d33[_0x4e411b(0x448)]=_0x50e8a1[_0x4e411b(0x184)]({'init':function(_0xfa7901){var _0xccc317=_0x4e411b;this[_0xccc317(0x197)](_0xfa7901);},'toString':function(_0xfb4ca1){var _0x2b068b=_0x4e411b;return(_0xfb4ca1||this[_0x2b068b(0x2d1)])[_0x2b068b(0x322)](this);}}),_0x4c21c6=_0x50f1f2[_0x4e411b(0x37a)]={},_0x39a6c1=_0x4c21c6[_0x4e411b(0x3f5)]={'stringify':function(_0x412c2c){var _0x128069=_0x4e411b,_0x587d55,_0x22a665=_0x412c2c['ciphertext'],_0x1155c3=_0x412c2c[_0x128069(0x3f9)];return _0x1155c3?_0x587d55=_0x477bb0[_0x128069(0x2fc)]([0x53616c74,0x65645f5f])[_0x128069(0x2c0)](_0x1155c3)['concat'](_0x22a665):_0x587d55=_0x22a665,_0x587d55['toString'](_0x3765cb);},'parse':function(_0x4c2d70){var _0x341d17=_0x4e411b,_0x359c1e,_0x45aebf=_0x3765cb['parse'](_0x4c2d70),_0x14dd82=_0x45aebf[_0x341d17(0x1dd)];return _0x14dd82[0x0]==0x53616c74&&_0x14dd82[0x1]==0x65645f5f&&(_0x359c1e=_0x477bb0['create'](_0x14dd82[_0x341d17(0x30e)](0x2,0x4)),_0x14dd82['splice'](0x0,0x4),_0x45aebf[_0x341d17(0x3c0)]-=0x10),_0x25634c[_0x341d17(0x2fc)]({'ciphertext':_0x45aebf,'salt':_0x359c1e});}},_0x187a2c=_0x2d6d33['SerializableCipher']=_0x50e8a1[_0x4e411b(0x184)]({'cfg':_0x50e8a1[_0x4e411b(0x184)]({'format':_0x39a6c1}),'encrypt':function(_0x2ac6e3,_0x474e5a,_0x4e24e8,_0x145db4){var _0x56b0a7=_0x4e411b;_0x145db4=this[_0x56b0a7(0x2ba)][_0x56b0a7(0x184)](_0x145db4);var _0x22fc95=_0x2ac6e3[_0x56b0a7(0x29e)](_0x4e24e8,_0x145db4),_0x13cabd=_0x22fc95['finalize'](_0x474e5a),_0x2b6872=_0x22fc95[_0x56b0a7(0x2ba)];return _0x25634c[_0x56b0a7(0x2fc)]({'ciphertext':_0x13cabd,'key':_0x4e24e8,'iv':_0x2b6872['iv'],'algorithm':_0x2ac6e3,'mode':_0x2b6872[_0x56b0a7(0x20c)],'padding':_0x2b6872['padding'],'blockSize':_0x2ac6e3[_0x56b0a7(0x234)],'formatter':_0x145db4[_0x56b0a7(0x37a)]});},'decrypt':function(_0x46b519,_0x15fd06,_0x4fdd1d,_0x5286d2){var _0x2b315e=_0x4e411b;_0x5286d2=this[_0x2b315e(0x2ba)][_0x2b315e(0x184)](_0x5286d2),_0x15fd06=this[_0x2b315e(0x379)](_0x15fd06,_0x5286d2[_0x2b315e(0x37a)]);var _0x5d3c70=_0x46b519[_0x2b315e(0x338)](_0x4fdd1d,_0x5286d2)[_0x2b315e(0x33c)](_0x15fd06[_0x2b315e(0x2e6)]);return _0x5d3c70;},'_parse':function(_0x387b42,_0x274aba){var _0x1dd7ae=_0x4e411b;return typeof _0x387b42=='string'?_0x274aba[_0x1dd7ae(0x2b7)](_0x387b42,this):_0x387b42;}}),_0x468780=_0x50f1f2[_0x4e411b(0x3eb)]={},_0x43a7e3=_0x468780[_0x4e411b(0x3f5)]={'execute':function(_0x339e99,_0xa9a410,_0x377180,_0x23de76,_0x107b16){var _0x1ac6c4=_0x4e411b;if(_0x23de76||(_0x23de76=_0x477bb0[_0x1ac6c4(0x35c)](0x40/0x8)),_0x107b16)var _0x1d6a73=_0x30e314['create']({'keySize':_0xa9a410+_0x377180,'hasher':_0x107b16})['compute'](_0x339e99,_0x23de76);else var _0x1d6a73=_0x30e314[_0x1ac6c4(0x2fc)]({'keySize':_0xa9a410+_0x377180})['compute'](_0x339e99,_0x23de76);var _0x438382=_0x477bb0['create'](_0x1d6a73[_0x1ac6c4(0x1dd)][_0x1ac6c4(0x30e)](_0xa9a410),_0x377180*0x4);return _0x1d6a73[_0x1ac6c4(0x3c0)]=_0xa9a410*0x4,_0x25634c[_0x1ac6c4(0x2fc)]({'key':_0x1d6a73,'iv':_0x438382,'salt':_0x23de76});}},_0x29b0b5=_0x2d6d33[_0x4e411b(0x3a0)]=_0x187a2c[_0x4e411b(0x184)]({'cfg':_0x187a2c[_0x4e411b(0x2ba)][_0x4e411b(0x184)]({'kdf':_0x43a7e3}),'encrypt':function(_0x1104b6,_0x388d4c,_0x443887,_0x1c0f5d){var _0xcf3b84=_0x4e411b;_0x1c0f5d=this[_0xcf3b84(0x2ba)][_0xcf3b84(0x184)](_0x1c0f5d);var _0x4abe70=_0x1c0f5d[_0xcf3b84(0x3eb)]['execute'](_0x443887,_0x1104b6[_0xcf3b84(0x245)],_0x1104b6['ivSize'],_0x1c0f5d[_0xcf3b84(0x3f9)],_0x1c0f5d[_0xcf3b84(0x433)]);_0x1c0f5d['iv']=_0x4abe70['iv'];var _0x409450=_0x187a2c[_0xcf3b84(0x33d)][_0xcf3b84(0x208)](this,_0x1104b6,_0x388d4c,_0x4abe70[_0xcf3b84(0x267)],_0x1c0f5d);return _0x409450[_0xcf3b84(0x197)](_0x4abe70),_0x409450;},'decrypt':function(_0x1511fa,_0x4e610d,_0x3c6fff,_0x27511c){var _0x523a16=_0x4e411b;_0x27511c=this[_0x523a16(0x2ba)][_0x523a16(0x184)](_0x27511c),_0x4e610d=this[_0x523a16(0x379)](_0x4e610d,_0x27511c['format']);var _0x3f6fca=_0x27511c[_0x523a16(0x3eb)][_0x523a16(0x253)](_0x3c6fff,_0x1511fa[_0x523a16(0x245)],_0x1511fa[_0x523a16(0x3b8)],_0x4e610d['salt'],_0x27511c[_0x523a16(0x433)]);_0x27511c['iv']=_0x3f6fca['iv'];var _0x2ab314=_0x187a2c['decrypt'][_0x523a16(0x208)](this,_0x1511fa,_0x4e610d,_0x3f6fca[_0x523a16(0x267)],_0x27511c);return _0x2ab314;}});}();}));}(Je)),Je[_0x374e8c(0x3c3)];}var Tn=Ve[_0x1f410c(0x3c3)],ti;function Cn(){return ti||(ti=0x1,function(_0x331e6c,_0x3c9f3){(function(_0x50051b,_0x19f4c5,_0x5b1874){var _0x22c836=_0x27f1;_0x331e6c[_0x22c836(0x3c3)]=_0x19f4c5(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0xa4f5d2){var _0x516833=_0x27f1;return(function(){var _0xffdf2f=_0x27f1,_0x18986f=_0xa4f5d2,_0x35c28e=_0x18986f['lib'],_0x4a4a17=_0x35c28e[_0xffdf2f(0x453)],_0x352b35=_0x18986f['algo'],_0x4eab13=[],_0x30001f=[],_0xebaa09=[],_0xd9981d=[],_0x1fcf35=[],_0x4f6c60=[],_0x586a1d=[],_0x4e266c=[],_0x38fadb=[],_0x507d3d=[];(function(){for(var _0x3ced15=[],_0x4c1640=0x0;_0x4c1640<0x100;_0x4c1640++)_0x4c1640<0x80?_0x3ced15[_0x4c1640]=_0x4c1640<<0x1:_0x3ced15[_0x4c1640]=_0x4c1640<<0x1^0x11b;for(var _0x174419=0x0,_0x39040e=0x0,_0x4c1640=0x0;_0x4c1640<0x100;_0x4c1640++){var _0x4f934f=_0x39040e^_0x39040e<<0x1^_0x39040e<<0x2^_0x39040e<<0x3^_0x39040e<<0x4;_0x4f934f=_0x4f934f>>>0x8^_0x4f934f&0xff^0x63,_0x4eab13[_0x174419]=_0x4f934f,_0x30001f[_0x4f934f]=_0x174419;var _0x4bf9cd=_0x3ced15[_0x174419],_0x57839e=_0x3ced15[_0x4bf9cd],_0x1edf59=_0x3ced15[_0x57839e],_0x5d137f=_0x3ced15[_0x4f934f]*0x101^_0x4f934f*0x1010100;_0xebaa09[_0x174419]=_0x5d137f<<0x18|_0x5d137f>>>0x8,_0xd9981d[_0x174419]=_0x5d137f<<0x10|_0x5d137f>>>0x10,_0x1fcf35[_0x174419]=_0x5d137f<<0x8|_0x5d137f>>>0x18,_0x4f6c60[_0x174419]=_0x5d137f;var _0x5d137f=_0x1edf59*0x1010101^_0x57839e*0x10001^_0x4bf9cd*0x101^_0x174419*0x1010100;_0x586a1d[_0x4f934f]=_0x5d137f<<0x18|_0x5d137f>>>0x8,_0x4e266c[_0x4f934f]=_0x5d137f<<0x10|_0x5d137f>>>0x10,_0x38fadb[_0x4f934f]=_0x5d137f<<0x8|_0x5d137f>>>0x18,_0x507d3d[_0x4f934f]=_0x5d137f,_0x174419?(_0x174419=_0x4bf9cd^_0x3ced15[_0x3ced15[_0x3ced15[_0x1edf59^_0x4bf9cd]]],_0x39040e^=_0x3ced15[_0x3ced15[_0x39040e]]):_0x174419=_0x39040e=0x1;}}());var _0x1d69ce=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x43a906=_0x352b35[_0xffdf2f(0x415)]=_0x4a4a17['extend']({'_doReset':function(){var _0x1ed942=_0xffdf2f,_0x25b3e0;if(!(this[_0x1ed942(0x40c)]&&this[_0x1ed942(0x3d8)]===this[_0x1ed942(0x1e8)])){for(var _0x5c77f9=this[_0x1ed942(0x3d8)]=this[_0x1ed942(0x1e8)],_0x1c1efd=_0x5c77f9['words'],_0x22c179=_0x5c77f9[_0x1ed942(0x3c0)]/0x4,_0x56d004=this[_0x1ed942(0x40c)]=_0x22c179+0x6,_0x3b857f=(_0x56d004+0x1)*0x4,_0x437571=this['_keySchedule']=[],_0x4148e5=0x0;_0x4148e5<_0x3b857f;_0x4148e5++)_0x4148e5<_0x22c179?_0x437571[_0x4148e5]=_0x1c1efd[_0x4148e5]:(_0x25b3e0=_0x437571[_0x4148e5-0x1],_0x4148e5%_0x22c179?_0x22c179>0x6&&_0x4148e5%_0x22c179==0x4&&(_0x25b3e0=_0x4eab13[_0x25b3e0>>>0x18]<<0x18|_0x4eab13[_0x25b3e0>>>0x10&0xff]<<0x10|_0x4eab13[_0x25b3e0>>>0x8&0xff]<<0x8|_0x4eab13[_0x25b3e0&0xff]):(_0x25b3e0=_0x25b3e0<<0x8|_0x25b3e0>>>0x18,_0x25b3e0=_0x4eab13[_0x25b3e0>>>0x18]<<0x18|_0x4eab13[_0x25b3e0>>>0x10&0xff]<<0x10|_0x4eab13[_0x25b3e0>>>0x8&0xff]<<0x8|_0x4eab13[_0x25b3e0&0xff],_0x25b3e0^=_0x1d69ce[_0x4148e5/_0x22c179|0x0]<<0x18),_0x437571[_0x4148e5]=_0x437571[_0x4148e5-_0x22c179]^_0x25b3e0);for(var _0x14a0b1=this[_0x1ed942(0x328)]=[],_0x2fad33=0x0;_0x2fad33<_0x3b857f;_0x2fad33++){var _0x4148e5=_0x3b857f-_0x2fad33;if(_0x2fad33%0x4)var _0x25b3e0=_0x437571[_0x4148e5];else var _0x25b3e0=_0x437571[_0x4148e5-0x4];_0x2fad33<0x4||_0x4148e5<=0x4?_0x14a0b1[_0x2fad33]=_0x25b3e0:_0x14a0b1[_0x2fad33]=_0x586a1d[_0x4eab13[_0x25b3e0>>>0x18]]^_0x4e266c[_0x4eab13[_0x25b3e0>>>0x10&0xff]]^_0x38fadb[_0x4eab13[_0x25b3e0>>>0x8&0xff]]^_0x507d3d[_0x4eab13[_0x25b3e0&0xff]];}}},'encryptBlock':function(_0x49674d,_0x1ed6a6){var _0x430836=_0xffdf2f;this[_0x430836(0x251)](_0x49674d,_0x1ed6a6,this['_keySchedule'],_0xebaa09,_0xd9981d,_0x1fcf35,_0x4f6c60,_0x4eab13);},'decryptBlock':function(_0x4e1216,_0x35f5d3){var _0xe337d3=_0xffdf2f,_0x470d53=_0x4e1216[_0x35f5d3+0x1];_0x4e1216[_0x35f5d3+0x1]=_0x4e1216[_0x35f5d3+0x3],_0x4e1216[_0x35f5d3+0x3]=_0x470d53,this[_0xe337d3(0x251)](_0x4e1216,_0x35f5d3,this[_0xe337d3(0x328)],_0x586a1d,_0x4e266c,_0x38fadb,_0x507d3d,_0x30001f);var _0x470d53=_0x4e1216[_0x35f5d3+0x1];_0x4e1216[_0x35f5d3+0x1]=_0x4e1216[_0x35f5d3+0x3],_0x4e1216[_0x35f5d3+0x3]=_0x470d53;},'_doCryptBlock':function(_0x47c584,_0xa65a1d,_0xc267fc,_0x36ca25,_0x312850,_0x498c11,_0x3ff04b,_0x5bc19b){var _0x774511=_0xffdf2f;for(var _0x184e4f=this[_0x774511(0x40c)],_0x2c19af=_0x47c584[_0xa65a1d]^_0xc267fc[0x0],_0x26fb72=_0x47c584[_0xa65a1d+0x1]^_0xc267fc[0x1],_0x55160e=_0x47c584[_0xa65a1d+0x2]^_0xc267fc[0x2],_0x4d1f02=_0x47c584[_0xa65a1d+0x3]^_0xc267fc[0x3],_0x372ef4=0x4,_0x20e429=0x1;_0x20e429<_0x184e4f;_0x20e429++){var _0x55504e=_0x36ca25[_0x2c19af>>>0x18]^_0x312850[_0x26fb72>>>0x10&0xff]^_0x498c11[_0x55160e>>>0x8&0xff]^_0x3ff04b[_0x4d1f02&0xff]^_0xc267fc[_0x372ef4++],_0x8973f=_0x36ca25[_0x26fb72>>>0x18]^_0x312850[_0x55160e>>>0x10&0xff]^_0x498c11[_0x4d1f02>>>0x8&0xff]^_0x3ff04b[_0x2c19af&0xff]^_0xc267fc[_0x372ef4++],_0x15d320=_0x36ca25[_0x55160e>>>0x18]^_0x312850[_0x4d1f02>>>0x10&0xff]^_0x498c11[_0x2c19af>>>0x8&0xff]^_0x3ff04b[_0x26fb72&0xff]^_0xc267fc[_0x372ef4++],_0x1b3755=_0x36ca25[_0x4d1f02>>>0x18]^_0x312850[_0x2c19af>>>0x10&0xff]^_0x498c11[_0x26fb72>>>0x8&0xff]^_0x3ff04b[_0x55160e&0xff]^_0xc267fc[_0x372ef4++];_0x2c19af=_0x55504e,_0x26fb72=_0x8973f,_0x55160e=_0x15d320,_0x4d1f02=_0x1b3755;}var _0x55504e=(_0x5bc19b[_0x2c19af>>>0x18]<<0x18|_0x5bc19b[_0x26fb72>>>0x10&0xff]<<0x10|_0x5bc19b[_0x55160e>>>0x8&0xff]<<0x8|_0x5bc19b[_0x4d1f02&0xff])^_0xc267fc[_0x372ef4++],_0x8973f=(_0x5bc19b[_0x26fb72>>>0x18]<<0x18|_0x5bc19b[_0x55160e>>>0x10&0xff]<<0x10|_0x5bc19b[_0x4d1f02>>>0x8&0xff]<<0x8|_0x5bc19b[_0x2c19af&0xff])^_0xc267fc[_0x372ef4++],_0x15d320=(_0x5bc19b[_0x55160e>>>0x18]<<0x18|_0x5bc19b[_0x4d1f02>>>0x10&0xff]<<0x10|_0x5bc19b[_0x2c19af>>>0x8&0xff]<<0x8|_0x5bc19b[_0x26fb72&0xff])^_0xc267fc[_0x372ef4++],_0x1b3755=(_0x5bc19b[_0x4d1f02>>>0x18]<<0x18|_0x5bc19b[_0x2c19af>>>0x10&0xff]<<0x10|_0x5bc19b[_0x26fb72>>>0x8&0xff]<<0x8|_0x5bc19b[_0x55160e&0xff])^_0xc267fc[_0x372ef4++];_0x47c584[_0xa65a1d]=_0x55504e,_0x47c584[_0xa65a1d+0x1]=_0x8973f,_0x47c584[_0xa65a1d+0x2]=_0x15d320,_0x47c584[_0xa65a1d+0x3]=_0x1b3755;},'keySize':0x100/0x20});_0x18986f[_0xffdf2f(0x415)]=_0x4a4a17[_0xffdf2f(0x2e4)](_0x43a906);}()),_0xa4f5d2[_0x516833(0x415)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x1f410c(0x3c3)],si;function Nn(){var _0x46cf1d=_0x1f410c;return si||(si=0x1,function(_0x29badc,_0x4ec9f7){(function(_0x3b3017,_0x55e7f4){_0x29badc['exports']=_0x55e7f4(te());}(yn,function(_0x1db26){var _0x577d6d=_0x27f1;return _0x1db26[_0x577d6d(0x339)]['Utf8'];}));}(Xe)),Xe[_0x46cf1d(0x3c3)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){return ni||(ni=0x1,function(_0x40098b,_0x3b92a8){(function(_0x6485c,_0xd0d8ff){_0x40098b['exports']=_0xd0d8ff(te());}(An,function(_0x15edca){var _0x58e71a=_0x27f1;return(function(){var _0x410034=_0x27f1;if(typeof ArrayBuffer==_0x410034(0x418)){var _0x3e22c7=_0x15edca,_0x10316d=_0x3e22c7[_0x410034(0x1d1)],_0x7e9915=_0x10316d[_0x410034(0x225)],_0x30b3c8=_0x7e9915[_0x410034(0x3ac)],_0x3763f6=_0x7e9915[_0x410034(0x3ac)]=function(_0x113e45){var _0x444397=_0x410034;if(_0x113e45 instanceof ArrayBuffer&&(_0x113e45=new Uint8Array(_0x113e45)),(_0x113e45 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x113e45 instanceof Uint8ClampedArray||_0x113e45 instanceof Int16Array||_0x113e45 instanceof Uint16Array||_0x113e45 instanceof Int32Array||_0x113e45 instanceof Uint32Array||_0x113e45 instanceof Float32Array||_0x113e45 instanceof Float64Array)&&(_0x113e45=new Uint8Array(_0x113e45['buffer'],_0x113e45[_0x444397(0x1cf)],_0x113e45[_0x444397(0x3cb)])),_0x113e45 instanceof Uint8Array){for(var _0x100df3=_0x113e45[_0x444397(0x3cb)],_0xe74035=[],_0xdc43f6=0x0;_0xdc43f6<_0x100df3;_0xdc43f6++)_0xe74035[_0xdc43f6>>>0x2]|=_0x113e45[_0xdc43f6]<<0x18-_0xdc43f6%0x4*0x8;_0x30b3c8['call'](this,_0xe74035,_0x100df3);}else _0x30b3c8[_0x444397(0x2e5)](this,arguments);};_0x3763f6[_0x410034(0x21e)]=_0x7e9915;}}()),_0x15edca[_0x58e71a(0x1d1)]['WordArray'];}));}(Ze)),Ze['exports'];}var Pn=wn();function _0x4034(){var _0xbcab4e=['PSEUDO_FETCH_MISSING_RESULT','HmacSHA1','delete','/rev/','params','Base64','SHOULD_CLOSE_CONN','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_updateState','_collaborationUIEventService','univer-pro.collaboration-client.network-condition.service','catch','_changesetSessionId','_eventService','POST','authzUrl','_socketMessageSubscription','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','memberID','_replayCachedMutations','APPLY_REJECT','_rescheduleHeartbeat','INVITE_CODE_REQUIRED','hasher','_memberService','_updateStatus','_createInitialStateImpl','_event$','_replaceFileID','saveSheetBlock','\x20to\x20','signUrlServerUrl','_isPermissionRej','_undoStacks','_HTTPService','Decryptor','_onRecvEvent','3013240iLBBqQ','_init','_timeoutTimer','c1Prime','session.room-full','getTypeOfUnitDisposed$','_reverseMap','CipherParams','NEW_CHANGESETS','SEND_CHANGESET_TIMEOUT','image/png','awaiting_with_pending','/universer-api/oidc/authpage','USERS_LEAVE','createCollaborator','COMPRESS_MUTATION_SEND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_tryEnsureSocket','BlockCipher','\x0aAfter:\x20','getInterceptPoints','_clearRedo','socket\x20open.','loadSheet','getTypeOfUnitAdded$','APPLY_NON_SEQUENTIAL_REVISION','SUBMIT_CHANGESET_TIMEOUT','_instanceService','JOIN_ROOM_NOT_EXISTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','stopTime','revision','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformSelections','MSG_FOR_ERROR','batchAllowed','AUTHZ_URL_KEY','/universer-api/snapshot','APPLY_PERMISSION_DENIED','conflict','/universer-api/authz','setWaitCount','1737HYYvpD','_members','_oKey','UNIVER_PROJECT','NOT_FOUND','HEARTBEAT','removeMember','_onJoinRoomEvent','_clearCollaborationTimeoutTimer','subUnitId','resend','_telemetryService','/object/','2346684likyeN','_doProcessBlock','unitID','fetchMissingChangesets','TOO_MANY_REQUESTS','getCurrentRevOfUnit','offline','_roomMembers','_univerInstanceService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','extend','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN','getTime','update','transformSelections','&source=','asObservable','?size=','sessionStatus','registerHTTPInterceptor','_clearTimeoutTimer','_data','_commandService','UPDATE_CURSOR','_getUploadFileURL','_clearLocalCache','PERSON','decrypt','mixIn','onRemoteChangeset','onSyncEditingCollabCursor','?url=','permissionRejEvent','editing\x20status\x20changed\x20to','[CollaborationSession]','INVALID_ARGUMENT','withCredentials','_resendWithTimeout','collaMsg','error','join','file','newCsEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRetryConnectingTimer','eventID','ws://127.0.0.1:8000/universer-api/comb/connect','_onConnectionOpen','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','state','allowed','_sendHeartbeatTimer','_doFinalize','post','_socket','HELLO','readyForCollab','disposeWithMe','createSocket','SHA1','onload','disableLocalCache','_append','_waitForHeartbeatResponse','emitEvent','OFFLINE','_getSignURL','deepClone','_throwTelemetryCollaborationNewChangeset','_initCloseConn','confirm','pad','default','fetchThroughInterceptors','onTransformState','Undefined','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','transformUndoRedo','reverse','socket\x20close','onCommandExecuted','objectActions','cmd','PENDING','byteOffset','_sessionStatus$','lib','UNDEFINED','complete','[CollaborationUndoRedoService]','appendMutation','_onRemoteChangeset','enableAuthServer','_clearHeartbeatTimer','univer-pro.collaboration-client-socket-service','_networkConditionService','getCollabEntity$','[OfflineState]:\x20received\x20changeset.','words','IDLE','collaboration_new_changeset','/universer-api/stream/file/upload','_remoteChangesetQueue','_createSocket','actions','setShowComponents','_socket$','getConfig','localCacheService','_key','_sender','abs','processBlock','_initRequestHeader','enableOfflineEditing','deleteCollaborator','getMember','/allowed','COLLAB_WEB_SOCKET_URL','replace','_onRemoteRetry','findIndex','session.room-cnt-exceeds','get','url','/object','UNIVER_SLIDE','unsubscribe','FileId','error$','responseType','StreamCipher','_config','MUTATION','YUUMI_UNABLE_LOAD_URL','putCollaborators','add','_createHandler','/resources','not_collab','loadOfflineData','call','Encryptor','getWorkbookSelections','from','mode','collaboratorID','BASE64','objectType','synced','algo','UNIVER_DOC','pending','_resendTimer','SNAPSHOT_URL_KEY','_schedule','YUUMI_NO_CUBOID_FOR_QUESTION','[CollaborationEntity]','LIVESHARE_OPERATION','Latin1','_waitCount','target','every','prototype','csShouldRetryEvent','_roomCreated$','_getAPIPrefixPath','/block/','listRoles','CONNECTOR_DATA_TOO_LARGE','WordArray','msCrypto','FETCH_MISS','_transformService','LIVESHARE_FETCH_OPERATIONS','_singleActiveUnitService','[UniverCollaborationClientPlugin]','8zJDwJf','_snapshotServerService','duration','members$','routeKey','location','SNAPSHOT_INVALID_SNAPSHOT','randomBytes','blockSize','fetchMiss','max','_substituteRedoStack','put','loadUnitOfRevision','failed\x20to\x20apply\x20missed\x20changesets!','_entities','splice','rev','getImage','_checkMissing','collaboration-client.config','_emitMembers','name','UnitSnapshot','href','keySize','_prevBlock','_listenToNetworkCondition','getSnapshotAPIPath','_localeService','LICENSE_MAX_UNITS_EXCEEDED','ERROR_IMAGE','transformStack\x20failed!','JOIN_ROOM_FULL','sendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL','LIVESHARE_REQUEST_HOST','_doCryptBlock','next','execute','baseRev','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','status','ceil','saveImage','_permissionService','/universer-api/file/{fileID}/sign-url','_change$','debug','initWorkbookPermissionChange','shouldCloseConn','_initMergeInterceptor','textRanges','getSheetId','fetch_missing','_startTelemetryCollaborationNewChangeset','_incrementRevisionNumber','getAllMembers','send','key','_members$','unpad','collabSubmitChangesetUrl','_onConnectionFailed','_collaborationSessionService','_snapshotService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','editingUnit','interceptor','Malformed\x20UTF-8\x20data','[OfflineState]:\x20received\x20acknowledgement.','capture','_getSendChangesetTimeout','INGEST','_ENC_XFORM_MODE','m2Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','close$','_onConflict','sessionStatus$','_transformUndoredo','onTransformRemoteChangesetByStateCache','BufferedBlockAlgorithm','avatar','/-/object/-/batch_allowed','Cipher','addImageSourceCache','_updateLocalCache','_executeRemoteChangeset','getUnitStatus$','_fetchMissChangesets','MOBILE_HAS_BEEN_BOUND','onTransformRemoteChangesetByIMECache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UserProfileImg','_syncEditingCollabCursor','readAsDataURL','_cipher','UNIVER_UNKNOWN','onLocalMutation','reconnect','INVITE_CODE_HAS_BEEN_UES','roles','_onLocalMutation','_type','getActiveSheet','equals','loginUrlKey','_nDataBytes','UPDATE_PERMISSION_OBJ','getRoom','_getDownloadEndpointURL','NoPadding','roomInfos','createEncryptor','_queuedRemoteChangesets','_localCacheService','onRemoteRej','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transitionLocked','getOwnPropertyDescriptor','padding','UNAUTHENTICATED','code','_acknowledgedAwaitingChangeset','Utf8','compose','_sendHeartbeat','collaboration-client.local-cache-service','data','_iKey','_scheduleCollaborationTimeoutTimer','requireSession','_compressMutationService','HmacMD5','getImageSourceCache','_scheduleCompleteTimestamp','socketService','updateCursorEvent','parse','save\x20fail\x20reason\x20is\x20','UnitEmbedded','cfg','onMissedChangesetFetched','_collaborationTimeoutTimer','{fileID}','headers','SNAPSHOT_HAS_BEEN_REMOVED','concat','charAt','mutations','USER_NOT_INVITED_CODE','_commentUpdate$','pipe','isArray','x-univer-host','forEach','_onOffline','_state$','Hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','COMPRESS_MUTATION_APPLY','FAIL','_commentService','awaiting','formatter','RETRY_CONNECTING_MAX_COUNT','executeCommand','_onUserJoin','HttpImport','_showConflictNotification','append','toggleOffline','_getRedoStack','loadUnit','unknown','push','getMemberID','change$','Base','find','/role','_sendingTimer','_createHmacHelper','_createHelper','apply','ciphertext','LEAVE','auth.needGotoLoginAlert','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabWebSocketUrl','charCodeAt','7KIgzRw','CLOSE_ROOM','commentUpdate$','OPTIONAL','CONFLICT','subscribe','ENSURE_SNAPSHOT_EXECUTION','originalMeta','reset','fetching\x20missing\x20changesets\x20from\x20','encode','_clearScheduledTask','LIVESHARE_TERMINATE','_retryConnectingTimer','LOCAL_CACHE_INTERVAL','JOIN_ROOM_PERMISSION_DENIED','create','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','PERMISSION_DENIED','_doCreateSocket','COMMENT_UPDATE','YUUMI_ALL_TABLES_IS_INVALID','_pendingMutations','_status$','_unlockTransition','INVITE_CODE_ALREADY_BOUND','decryptBlock','updatePermissionPoint','[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.','dispose','[OfflineState]:\x20received\x20rejection.','YUUMI_TABLE_NOT_FOUND_IN_UNIT','has','slice','_toggleOnline','socket$','getCollabEntity','_initDependencies','pluginName','YUUMI_ASYNCIO_CANCELLED','entityInit$','$super','selections','\x0aCurrent:\x20','startsWith','_hasher','state$','getUnitId','_onUserLeave','ALREADY_EXISTS','uploadFileServerUrl','_logService','_onRemoteRejected','stringify','LIVESHARE_NEW_HOST','YUUMI_SUBSCRIPTION_NOT_FOUND','_unitInfo$','ERROR_IMAGE_TYPE','/collaborator','_invKeySchedule','_undoRedoService','set','[CollaborationSessionService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_getUndoStack','GLOBAL_ROOMS_CNT_EXCEEDS','filter','updateMember','_clearUndo','_submitChangeset','onRemoteAck','WECHAT_HAS_BEEN_BOUND','_retryCount','_iv','EvpKDF','createDecryptor','enc','CHANGESET_REVISION_CONFILICT','toString','finalize','encrypt','range','LICENSE_IMPORT_SIZE_EXCEEDED','3024774vnACqt','[DataLoaderService]','onSendChangeset','onStarting','_mode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRetry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20rejection.','clone','_xformMode','_transformSelections','image/jpeg','clear','reject','size','getRandomValues','crypto','_candidateSocket','_sheetTransformSelectionsService','requestParams','userID','loadDoc','_sessions','liveShareNewHost','entries','retryConnectingInterval','CHANGESET_SHOULD_RETRY','random','UNKNOWN_CODE','indexOf','_handlerCallback','&assign=','_process','uniscriptRunEvent','USERS_ENTER','workbook','image/bmp','PERMISSION_REJ','_getLoginPath','_socketReady','onTransformIME','session','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CHANGESET_REJ','members','OTHER_CLIENTS_EDITING','addHandlerCallback','_transformStack','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','AWAITING_WITH_PENDING','UNKNOWN_CMD','Pkcs7','_imageSourceCache','__creator','_shouldReportTelemetry','_parse','format','DEFAULT_FILE_NAME','type','list','JOIN_ROOM_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','length','/universer-api/user/session-ticket','map','getLatestCsReqIdBySid','ONLINE','_handler','setConfig','liveShareOperation','[FetchMissState]','_awaitingChangeset','_stopTelemetryCollaborationNewChangeset','_state','event$','closeSession','updateOfflineData','HEARTBEAT_INTERVAL','status$','unitId','100463IfKuxD','fromCollab','message$','_httpService','origin','_startCollaboration','telemetry\x20info\x20is\x20not\x20initialized','objects','connection\x20error','setCurrentUser','FETCH_MISSING','LOGIN_FAILED','_doReset','OTHER_CLIENT_EDITING','PasswordBasedCipher','override','RECV','_tryReconnect','_lockTransition','string','/-/object/list','onCommentUpdate','_resendTimeout','_transformStateCache','clamp','_createInitialState','init','68onwmgx','HttpExport','UNIVER_SHEET','objectID','NO_OTHER_CLIENTS_EDITING','_getAPIPrefix','_disableEditing','defineProperty','[PendingState]:\x20received\x20acknowledgement.','toggleOnline','sid','ivSize','body','encryptBlock','close','_configService','_removeRoom','UNISCRIPT_RUN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','sigBytes','/unit/','min','exports','APPLY_REVISION_CONFILICT','2990796undceq','sin','INTERNAL_ERROR','localeService','UNRECOGNIZED','NOT_COLLAB','byteLength','_initUnitPermissionChange','_applyRemoteChangeset','changesets','encodeURIComponent','_onFetchMissResult','reqId','_getCtorByUniverType','downloadEndpointUrl','SNAPSHOT_SERVER_URL_KEY','APPLY_DUPLICATED','HEARTBEAT_TIMEOUT','getUnitType','_keyPriorReset','unit-cache-','includes','infoRsp','_hash','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','now','substr','transformChangesets','Failed\x20to\x20update\x20permission\x20point','_toggleOffline','/new_changes','_getCurrentRevision','HMAC','open$','awaitingChangeset','_collaborationPaused','_injector','ERROR_EXCEED_SIZE','kdf','_decreaseWaiting','collaborators','_changesetReqId','YUUMI_AI_RUN_FAILED','onlyLocal','transformMutationsWithChangeset','incrementRevOfUnit','isPermissionRej','fromCharCode','OpenSSL','/fetchmissing?from=','_telemetryInfo','_onMessage','salt','snapshotServerUrl','_revisionService','_socketService','saveSnapshot','MD5','_onRemoteACK','onMissingChangesets','_unitID','submit\x20changeset\x20error!','snapshot','__Key__','c2Prime','_entityInit$','getCurrentUser','_map','6435320DXxlql','session.room-not-exists','_exhaustRemoteChangesetQueue','_nRounds','enableCollaboration','createInstance','EMAIL_HAS_BEEN_BOUND','SUBMIT_CHANGESET','floor','Could\x20not\x20dynamically\x20require\x20\x22','updateCollaborator','online$','AES','_userManagerService','commentUpdateEvent','function','result','subject'];_0x4034=function(){return _0xbcab4e;};return _0x4034();}const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1f410c(0x3c3)],ri;function xn(){var _0x36b515=_0x1f410c;return ri||(ri=0x1,function(_0x53bdd2,_0x387308){(function(_0xe1341a,_0x5428b4,_0x367502){var _0x1342d1=_0x27f1;_0x53bdd2[_0x1342d1(0x3c3)]=_0x5428b4(te(),Ni());}(Mn,function(_0x581e3f){var _0x2ab318=_0x27f1;return _0x581e3f[_0x2ab318(0x1c2)][_0x2ab318(0x29c)]={'pad':function(){},'unpad':function(){}},_0x581e3f[_0x2ab318(0x1c2)][_0x2ab318(0x29c)];}));}(Qe)),Qe[_0x36b515(0x3c3)];}var kn=xn();const $n=$e(kn);function Hn(_0x238b5f,_0x2b84a1){var _0x26a553=_0x1f410c;const _0x9c551c=_0x2b84a1-_0x238b5f[_0x26a553(0x380)]%_0x2b84a1,_0x4ea00d=String[_0x26a553(0x3f4)](_0x9c551c)['repeat'](_0x9c551c);return _0x238b5f+_0x4ea00d;}function Bn(_0x4f7241,_0x33a461){var _0x1c5a96=_0x1f410c;const _0x277a88=Ln[_0x1c5a96(0x35c)](0x10),_0x232b81=Hn(_0x4f7241,0x10),_0x20e47b=bn['encrypt'](Un[_0x1c5a96(0x2b7)](_0x232b81),ii[_0x1c5a96(0x2b7)](_0x33a461),{'iv':_0x277a88,'padding':$n});return _0x277a88[_0x1c5a96(0x2c0)](_0x20e47b[_0x1c5a96(0x2e6)])[_0x1c5a96(0x33b)](ii);}function jn(){var _0x59d3bf=_0x1f410c;const _0x4ad8bc=_0x48d3ae()[_0x59d3bf(0x404)];if(_0x4ad8bc){const _0x3f06cf={'time':Math[_0x59d3bf(0x411)](Date[_0x59d3bf(0x3de)]()/0x3e8),'domain':location['hostname']};return Bn(JSON['stringify'](_0x3f06cf),_0x4ad8bc);}}var Fn=Object[_0x1f410c(0x2a4)],Vn=(_0x44c75d,_0x18e4aa,_0x2c433f,_0x57fb11)=>{for(var _0x1ce327=_0x57fb11>0x1?void 0x0:_0x57fb11?Fn(_0x18e4aa,_0x2c433f):_0x18e4aa,_0x154538=_0x44c75d['length']-0x1,_0x3ff1d1;_0x154538>=0x0;_0x154538--)(_0x3ff1d1=_0x44c75d[_0x154538])&&(_0x1ce327=_0x3ff1d1(_0x1ce327)||_0x1ce327);return _0x1ce327;},Gn=(_0x212d74,_0x4ebe32)=>(_0xf8ca25,_0x34cbb3)=>_0x4ebe32(_0xf8ca25,_0x34cbb3,_0x212d74);let at=class{constructor(_0x11dbae){var _0x10d58a=_0x1f410c;this[_0x10d58a(0x395)]=_0x11dbae,this[_0x10d58a(0x1ec)]();}[_0x1f410c(0x1ec)](){var _0x59b51c=_0x1f410c;this['_httpService'][_0x59b51c(0x18e)]({'interceptor':(_0x4e0352,_0x1a7c4d)=>{var _0x2a2c4a=_0x59b51c;const _0x676c00=_0x4e0352['headers'],_0x225b74=jn();return _0x225b74&&_0x676c00[_0x2a2c4a(0x32a)](_0x2a2c4a(0x2c7),_0x225b74),_0x1a7c4d(_0x4e0352);}});}};at=Vn([Gn(0x0,_0x1d307d(_0x23fee9))],at);var Wn=Object[_0x1f410c(0x2a4)],Yn=(_0x2c1a61,_0x34347e,_0x2cf67a,_0x121551)=>{for(var _0x386e1d=_0x121551>0x1?void 0x0:_0x121551?Wn(_0x34347e,_0x2cf67a):_0x34347e,_0x3d13a5=_0x2c1a61['length']-0x1,_0x2c0fd8;_0x3d13a5>=0x0;_0x3d13a5--)(_0x2c0fd8=_0x2c1a61[_0x3d13a5])&&(_0x386e1d=_0x2c0fd8(_0x386e1d)||_0x386e1d);return _0x386e1d;},vt=(_0x37b191,_0x121683)=>(_0x3b0b90,_0x221622)=>_0x121683(_0x3b0b90,_0x221622,_0x37b191);let Ct=class extends _0x2296f2{constructor(_0x242b4d,_0x54a4f2,_0x53a818){var _0x57f27b=_0x1f410c;super(),N(this,'_unitInfo$',new _0x3ad19d(null)),N(this,'unitInfo$',this[_0x57f27b(0x325)]['asObservable']()),(this['_logService']=_0x242b4d,this['_snapshotService']=_0x54a4f2,this[_0x57f27b(0x2a0)]=_0x53a818);}async['loadUnitOfRevision'](_0x54e69f,_0x261152,_0x364c18){var _0x42a3d4=_0x1f410c;this['_unitInfo$'][_0x42a3d4(0x252)]({'unitId':_0x54e69f,'type':_0x261152});let _0x2921b6=null;switch(_0x261152){case Z[_0x42a3d4(0x3af)]:{_0x2921b6=await this[_0x42a3d4(0x26d)][_0x42a3d4(0x458)](_0x54e69f,_0x364c18);break;}case Z[_0x42a3d4(0x212)]:{_0x2921b6=await this[_0x42a3d4(0x26d)][_0x42a3d4(0x356)](_0x54e69f,_0x364c18);break;}default:{this[_0x42a3d4(0x320)][_0x42a3d4(0x1a2)](_0x42a3d4(0x341),_0x42a3d4(0x1a6));break;}}return _0x2921b6;}async[_0x1f410c(0x2da)](_0x57d7e4,_0x4eb7b6,_0x10e543){var _0x11be4b=_0x1f410c,_0x2d4754;this[_0x11be4b(0x325)][_0x11be4b(0x252)]({'unitId':_0x57d7e4,'type':_0x4eb7b6,'subUnitId':_0x10e543});let _0x3c6200=0x0;const _0x153276=await((_0x2d4754=this[_0x11be4b(0x2a0)])==null?void 0x0:_0x2d4754[_0x11be4b(0x207)](_0x57d7e4));return _0x153276&&(_0x153276[_0x11be4b(0x3e7)]||_0x153276[_0x11be4b(0x2c2)][_0x11be4b(0x380)]!==0x0)&&(_0x3c6200=_0x153276[_0x11be4b(0x23d)]),_0x3c6200===0x0&&this['_logService'][_0x11be4b(0x25c)](_0x11be4b(0x341),_0x11be4b(0x1c7)),this[_0x11be4b(0x239)](_0x57d7e4,_0x4eb7b6,_0x3c6200);}};Ct=Yn([vt(0x0,_0x419223),vt(0x1,_0x1d307d(_0x1772ac)),vt(0x2,_0x1c555d(J))],Ct);var Kn=Object[_0x1f410c(0x2a4)],qn=(_0x36e0fb,_0x12e391,_0x147a8f,_0x483ebe)=>{var _0x5551f7=_0x1f410c;for(var _0x3d0092=_0x483ebe>0x1?void 0x0:_0x483ebe?Kn(_0x12e391,_0x147a8f):_0x12e391,_0x55533c=_0x36e0fb[_0x5551f7(0x380)]-0x1,_0x502cc8;_0x55533c>=0x0;_0x55533c--)(_0x502cc8=_0x36e0fb[_0x55533c])&&(_0x3d0092=_0x502cc8(_0x3d0092)||_0x3d0092);return _0x3d0092;},pt=(_0x59eb5,_0x9d9ab3)=>(_0x44bf25,_0x5bb630)=>_0x9d9ab3(_0x44bf25,_0x5bb630,_0x59eb5);const zn=[_0x1f410c(0x44b),_0x1f410c(0x34c),'image/jpg','image/gif',_0x1f410c(0x365)],Jn=0x5*0x400*0x400,Xn=_0x1f410c(0x2e9),Zn=_0x1f410c(0x1e0),Qn=_0x1f410c(0x289),er=_0x1f410c(0x25a);let Rt=class{constructor(_0x309873,_0x3cf44c,_0x3afdd0){var _0x231362=_0x1f410c;N(this,_0x231362(0x21b),0x0),N(this,'_change$',new _0x12df33()),N(this,_0x231362(0x2de),this[_0x231362(0x25b)]),N(this,_0x231362(0x376),new Map()),(this[_0x231362(0x395)]=_0x309873,this[_0x231362(0x3bc)]=_0x3cf44c,this[_0x231362(0x181)]=_0x3afdd0);}[_0x1f410c(0x46c)](_0x4db20c){var _0x251d48=_0x1f410c;this[_0x251d48(0x21b)]=_0x4db20c,this[_0x251d48(0x25b)][_0x251d48(0x252)](_0x4db20c);}[_0x1f410c(0x2b3)](_0x95c6e2,_0x411451){var _0x127924=_0x1f410c;if(_0x411451===_0x2ab728['BASE64']){const _0x245205=new Image();return _0x245205['src']=_0x95c6e2,_0x245205;}return this['_imageSourceCache'][_0x127924(0x1f6)](_0x95c6e2);}[_0x1f410c(0x282)](_0x4a3bbc,_0x38cd7d,_0x2f29fd){var _0x2da878=_0x1f410c;_0x38cd7d===_0x2ab728[_0x2da878(0x20e)]||_0x2f29fd==null||this[_0x2da878(0x376)][_0x2da878(0x32a)](_0x4a3bbc,_0x2f29fd);}async[_0x1f410c(0x23e)](_0x285d6f){var _0x4387a1=_0x1f410c;try{const _0xd47dca=this[_0x4387a1(0x438)](this['_getSignURL'](),''+_0x285d6f),_0x539c83=(await this['_httpService'][_0x4387a1(0x1f6)](_0xd47dca))[_0x4387a1(0x3b9)];if(_0x539c83[_0x4387a1(0x1a2)]&&_0x539c83[_0x4387a1(0x1a2)][_0x4387a1(0x2a7)]===pi['OK']){const _0x52cb45=new URL(_0x539c83[_0x4387a1(0x1f7)],this[_0x4387a1(0x29b)]())[_0x4387a1(0x33b)]();return Promise['resolve'](_0x52cb45);}return Promise['reject'](_0x539c83[_0x4387a1(0x1a2)]);}catch(_0x3aaffe){return Promise[_0x4387a1(0x34e)](_0x3aaffe);}}async[_0x1f410c(0x258)](_0xd1f869){var _0x657794=_0x1f410c;let _0x5071c7='';if(!zn[_0x657794(0x3da)](_0xd1f869[_0x657794(0x37c)]))return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x326)]));if(_0xd1f869['size']>Jn)return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x3ea)]));try{const _0x229233=new FormData();_0x229233[_0x657794(0x2d7)](_0x657794(0x1a4),_0xd1f869);const _0x4aab77=this[_0x657794(0x181)]['getFocusedUnit'](),_0x8ce993=_0x4aab77==null?void 0x0:_0x4aab77[_0x657794(0x31c)]();if(!_0x8ce993)throw new Error('unitId\x20is\x20not\x20found');const _0x6c96b6=this[_0x657794(0x193)]()+_0x657794(0x18c)+_0xd1f869[_0x657794(0x34f)]['toString']()+_0x657794(0x18a)+mi['UnitEmbedded']+_0x657794(0x360)+encodeURIComponent(_0x8ce993),_0x160ca0={'body':_0x229233},_0x589acd=(await this[_0x657794(0x395)]['post'](_0x6c96b6,_0x160ca0))['body'];if(typeof _0x589acd[_0x657794(0x1fb)]!=_0x657794(0x3a5))return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x24b)]));_0x5071c7=_0x589acd[_0x657794(0x1fb)];}catch{return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x24b)]));}return new Promise((_0x268759,_0x22226a)=>{var _0xd442f8=_0x657794;const _0x3c8b4f=new FileReader();_0x3c8b4f[_0xd442f8(0x28c)](_0xd1f869),_0x3c8b4f[_0xd442f8(0x1b7)]=_0x446ba7=>{var _0x4b3302=_0xd442f8,_0x1e1758;const _0x3764b1=(_0x1e1758=_0x446ba7[_0x4b3302(0x21c)])==null?void 0x0:_0x1e1758[_0x4b3302(0x419)];if(_0x3764b1==null){this[_0x4b3302(0x3ec)](),_0x22226a(new Error(_0x44c606[_0x4b3302(0x24b)]));return;}const _0xf5ba6a=_0x888782['generateRandomId'](0x6);_0x268759({'imageId':_0xf5ba6a,'imageSourceType':_0x2ab728['UUID'],'source':_0x5071c7,'base64Cache':_0x3764b1,'status':_0x44c606['SUCCUSS']}),this[_0x4b3302(0x3ec)]();};});}[_0x1f410c(0x193)](){var _0x39b40f=_0x1f410c,_0x4084c9,_0x15bbae;const _0xe7bdd0=this['_configService'][_0x39b40f(0x1e6)](Xn),_0x5ec27d=this[_0x39b40f(0x3bc)][_0x39b40f(0x1e6)](K);return(_0x15bbae=(_0x4084c9=_0x5ec27d==null?void 0x0:_0x5ec27d[_0x39b40f(0x31f)])!=null?_0x4084c9:_0xe7bdd0)!=null?_0x15bbae:Zn;}[_0x1f410c(0x1bd)](){var _0x8814b3=_0x1f410c,_0x29db1d,_0x5666e4;const _0x232005=this[_0x8814b3(0x3bc)][_0x8814b3(0x1e6)](Qn),_0x52c295=this[_0x8814b3(0x3bc)][_0x8814b3(0x1e6)](K);return(_0x5666e4=(_0x29db1d=_0x52c295==null?void 0x0:_0x52c295[_0x8814b3(0x43b)])!=null?_0x29db1d:_0x232005)!=null?_0x5666e4:er;}[_0x1f410c(0x29b)](){var _0x616e86=_0x1f410c,_0xfd3f6b;const _0x54398c=this[_0x616e86(0x3bc)][_0x616e86(0x1e6)](K);return(_0xfd3f6b=_0x54398c==null?void 0x0:_0x54398c[_0x616e86(0x3d3)])!=null?_0xfd3f6b:location[_0x616e86(0x396)];}[_0x1f410c(0x438)](_0x32b3be,_0x13f522){var _0x2b212e=_0x1f410c;return _0x32b3be[_0x2b212e(0x1f2)](_0x2b212e(0x2bd),_0x13f522);}[_0x1f410c(0x3ec)](){var _0x5bfdf7=_0x1f410c;this[_0x5bfdf7(0x21b)]-=0x1,this[_0x5bfdf7(0x25b)]['next'](this['_waitCount']);}};Rt=qn([pt(0x0,_0x1d307d(_0x23fee9)),pt(0x1,_0x22f7d3),pt(0x2,_0x1d307d(_0x505288))],Rt);var tr=Object[_0x1f410c(0x2a4)],ir=(_0x5752fc,_0x2e3a5b,_0xfe3606,_0x106374)=>{var _0x5090b9=_0x1f410c;for(var _0x299212=_0x106374>0x1?void 0x0:_0x106374?tr(_0x2e3a5b,_0xfe3606):_0x2e3a5b,_0x5b5568=_0x5752fc[_0x5090b9(0x380)]-0x1,_0x2a561b;_0x5b5568>=0x0;_0x5b5568--)(_0x2a561b=_0x5752fc[_0x5b5568])&&(_0x299212=_0x2a561b(_0x299212)||_0x299212);return _0x299212;},ai=(_0x572f4e,_0x3a29f3)=>(_0x5c14c5,_0x34efed)=>_0x3a29f3(_0x5c14c5,_0x34efed,_0x572f4e);const sr=_0x1f410c(0x46b);let bt=class{constructor(_0x178f99,_0x27a76a){var _0x35e066=_0x1f410c;this[_0x35e066(0x3bc)]=_0x178f99,this[_0x35e066(0x43e)]=_0x27a76a;}[_0x1f410c(0x221)](){var _0x5c8426=_0x1f410c,_0x54f497,_0x27d9bc;const _0x340bb6=this[_0x5c8426(0x3bc)][_0x5c8426(0x1e6)](bi),_0x15dbdf=this[_0x5c8426(0x3bc)][_0x5c8426(0x1e6)](K);return(_0x27d9bc=(_0x54f497=_0x15dbdf==null?void 0x0:_0x15dbdf[_0x5c8426(0x42b)])!=null?_0x54f497:_0x340bb6)!=null?_0x27d9bc:sr;}async[_0x1f410c(0x37d)](_0x26992b){var _0x4e7690=_0x1f410c;const _0x6619f2=this[_0x4e7690(0x221)]()+_0x4e7690(0x327);return{'list':[{'title':'People','mentions':(await this[_0x4e7690(0x43e)][_0x4e7690(0x1f6)](_0x6619f2,{'params':{'objectID':_0x26992b[_0x4e7690(0x391)],'unitID':_0x26992b[_0x4e7690(0x391)]}}))[_0x4e7690(0x3b9)][_0x4e7690(0x3ed)][_0x4e7690(0x382)](_0x5cc38f=>({'objectId':_0x5cc38f['id'],'name':_0x5cc38f[_0x4e7690(0x41a)][_0x4e7690(0x242)],'metadata':{'icon':_0x5cc38f[_0x4e7690(0x41a)][_0x4e7690(0x27f)]},'label':_0x5cc38f[_0x4e7690(0x41a)]['name'],'objectType':_0x48eb78[_0x4e7690(0x195)]})),'metadata':{},'type':_0x48eb78[_0x4e7690(0x195)]}]};}};bt=ir([ai(0x0,_0x1d307d(_0x22f7d3)),ai(0x1,_0x1d307d(_0x23fee9))],bt);var nr=Object[_0x1f410c(0x2a4)],rr=(_0x4d27f1,_0x1113a9,_0x49c2e7,_0x19d5f0)=>{var _0x9469a1=_0x1f410c;for(var _0x1ba2f9=_0x19d5f0>0x1?void 0x0:_0x19d5f0?nr(_0x1113a9,_0x49c2e7):_0x1113a9,_0x300d26=_0x4d27f1[_0x9469a1(0x380)]-0x1,_0x1ad477;_0x300d26>=0x0;_0x300d26--)(_0x1ad477=_0x4d27f1[_0x300d26])&&(_0x1ba2f9=_0x1ad477(_0x1ba2f9)||_0x1ba2f9);return _0x1ba2f9;},Ae=(_0x4d210c,_0x3d7b87)=>(_0x32684c,_0x4ebddf)=>_0x3d7b87(_0x32684c,_0x4ebddf,_0x4d210c);let ot=class extends _0x2296f2{constructor(_0x21f227,_0x44c19b,_0x4d90c9,_0x2f59dd,_0x373bc3){var _0x568b7f=_0x1f410c;super(),this['_injector']=_0x21f227,this[_0x568b7f(0x181)]=_0x44c19b,this['_permissionService']=_0x4d90c9,this['_collaborationSessionService']=_0x2f59dd,this['_collaborationUIEventService']=_0x373bc3,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1f410c(0x1c0)](){var _0x61e5d7=_0x1f410c;const _0x1067a9=async _0x4b24fb=>{var _0x6d8e2a=_0x27f1;(await this[_0x6d8e2a(0x26c)][_0x6d8e2a(0x2b0)](_0x4b24fb))['event$'][_0x6d8e2a(0x2c5)](_0x3bc823(_0x383539=>_0x383539[_0x6d8e2a(0x1a8)]===_0x3c0371[_0x6d8e2a(0x421)]),_0x5bf295(this[_0x6d8e2a(0x36b)]))[_0x6d8e2a(0x2f1)](_0x7e9f7b=>{var _0x2dc2eb=_0x6d8e2a;const _0x6e6c20=_0x7e9f7b,{reason:_0x4b1b3c}=_0x6e6c20[_0x2dc2eb(0x2ad)];this[_0x2dc2eb(0x425)][_0x2dc2eb(0x1bb)]({'id':ne['CLOSE_ROOM'],'data':_0x4b1b3c}),this[_0x2dc2eb(0x259)][_0x2dc2eb(0x308)](new _0x44663c(_0x4b24fb)['id'],!0x1),this[_0x2dc2eb(0x26c)][_0x2dc2eb(0x38d)](_0x4b24fb);});};_0x3da0cd(this[_0x61e5d7(0x181)][_0x61e5d7(0x459)](_0xd9e05c[_0x61e5d7(0x3af)]),this[_0x61e5d7(0x181)][_0x61e5d7(0x459)](_0xd9e05c[_0x61e5d7(0x212)]))[_0x61e5d7(0x2c5)](_0x5a3746(_0xd485d6=>_0xd485d6[_0x61e5d7(0x31c)]()),_0x3bc823(_0x3fe588=>!_0x1e8b05(_0x3fe588)),_0x5bf295(this[_0x61e5d7(0x36b)]))[_0x61e5d7(0x2f1)](_0x47ccec=>{_0x1067a9(_0x47ccec);});}[_0x1f410c(0x3cc)](){var _0x498768=_0x1f410c;const _0x3e7dfe=async _0x4e8e09=>{var _0x5398ca=_0x27f1;const _0x27435e=await this[_0x5398ca(0x26c)][_0x5398ca(0x2b0)](_0x4e8e09),_0x5c1117=this['_injector'][_0x5398ca(0x1f6)](_0x4fc439);_0x27435e['event$']['pipe'](_0x3bc823(_0x98ae68=>_0x98ae68[_0x5398ca(0x1a8)]===_0x3c0371[_0x5398ca(0x299)]),_0x5bf295(this[_0x5398ca(0x36b)]))['subscribe'](_0x5719e9=>{var _0x6376fb=_0x5398ca;const _0x76c335=_0x5719e9,{objectId:_0x36fc16}=_0x76c335[_0x6376fb(0x2ad)];_0x36fc16===_0x4e8e09?_0x5c1117[_0x6376fb(0x25d)](_0x4e8e09):_0x5c1117['refreshPermission'](_0x4e8e09,_0x36fc16);});};_0x3da0cd(this[_0x498768(0x181)][_0x498768(0x459)](_0xd9e05c['UNIVER_SHEET']))[_0x498768(0x2c5)](_0x5a3746(_0x5a388a=>_0x5a388a[_0x498768(0x31c)]()),_0x3bc823(_0x11974b=>!_0x1e8b05(_0x11974b)),_0x5bf295(this['dispose$']))[_0x498768(0x2f1)](_0x587b77=>{_0x3e7dfe(_0x587b77);});}};ot=rr([Ae(0x0,_0x1d307d(_0x1f649f)),Ae(0x1,_0x505288),Ae(0x2,_0x42cef7),Ae(0x3,_0x1d307d(Le)),Ae(0x4,_0x1d307d(ve))],ot);var ar=Object[_0x1f410c(0x2a4)],or=(_0xe6ac5d,_0x2b6f14,_0x5d04ea,_0x4f8af9)=>{var _0xc8fd43=_0x1f410c;for(var _0x1cabb8=_0x4f8af9>0x1?void 0x0:_0x4f8af9?ar(_0x2b6f14,_0x5d04ea):_0x2b6f14,_0x4c3eb1=_0xe6ac5d[_0xc8fd43(0x380)]-0x1,_0x331163;_0x4c3eb1>=0x0;_0x4c3eb1--)(_0x331163=_0xe6ac5d[_0x4c3eb1])&&(_0x1cabb8=_0x331163(_0x1cabb8)||_0x1cabb8);return _0x1cabb8;},oi=(_0x5aef5d,_0x4cf485)=>(_0x396722,_0x13e14d)=>_0x4cf485(_0x396722,_0x13e14d,_0x5aef5d);let Ot=class{constructor(_0x1df26a,_0x366be7){var _0x5a3375=_0x1f410c;this[_0x5a3375(0x3bc)]=_0x1df26a,this[_0x5a3375(0x395)]=_0x366be7;}async['getUnitOnRev'](_0x3ac05b,_0x10d1ea){var _0x418bf0=_0x1f410c,_0x2af249;const {unitID:_0x2d59cd,type:_0x188fdf,revision:_0x2b8b64=0x0}=_0x10d1ea,_0x1c9a1c=this[_0x418bf0(0x248)]()+'/'+_0x188fdf+_0x418bf0(0x3c1)+_0x2d59cd+_0x418bf0(0x41e)+_0x2b8b64,_0x15e6e8=(await this[_0x418bf0(0x395)][_0x418bf0(0x1f6)](_0x1c9a1c))[_0x418bf0(0x3b9)],_0x12859b=(_0x2af249=_0x15e6e8[_0x418bf0(0x403)])==null?void 0x0:_0x2af249[_0x418bf0(0x364)];if(_0x12859b){const _0x3962aa=_0x12859b==null?void 0x0:_0x12859b[_0x418bf0(0x2f3)],_0x318e42=_0x336e25[_0x418bf0(0x2f6)](_0x372aa0(_0x3962aa));_0x12859b[_0x418bf0(0x2f3)]=_0x318e42,Object[_0x418bf0(0x359)](_0x12859b['sheets'])[_0x418bf0(0x2c8)](([,_0x45a925])=>{var _0x380f4a=_0x418bf0;const _0x5f4608=_0x45a925[_0x380f4a(0x2f3)],_0x5ce9c4=_0x336e25[_0x380f4a(0x2f6)](_0x372aa0(_0x5f4608));_0x45a925[_0x380f4a(0x2f3)]=_0x5ce9c4;});}return _0x15e6e8;}async['getSheetBlock'](_0x491238,_0x3129c9){var _0x4beabb=_0x1f410c;const {unitID:_0x4809e7,type:_0x4f2b5d,blockID:_0x19a22a}=_0x3129c9,_0x19b857=this[_0x4beabb(0x3b2)]()+'/'+_0x4f2b5d+_0x4beabb(0x3c1)+_0x4809e7+'/block/'+_0x19a22a;return(await this[_0x4beabb(0x395)]['get'](_0x19b857))[_0x4beabb(0x3b9)];}async['getDeserializedSheetBlock'](_0x23b082,_0x58b0c8){var _0x3d3edc=_0x1f410c;const {unitID:_0x5c4bea,type:_0x63013,blockID:_0xff7fc6}=_0x58b0c8,_0x26b5d4=this['_getAPIPrefix']()+_0x3d3edc(0x222)+_0x63013+_0x3d3edc(0x3c1)+_0x5c4bea+_0x3d3edc(0x222)+_0xff7fc6;return(await this[_0x3d3edc(0x395)][_0x3d3edc(0x1f6)](_0x26b5d4))['body'];}async[_0x1f410c(0x47d)](_0x1a2db9,_0x2aa1ea){var _0xda4779=_0x1f410c;const {unitID:_0x1bd8d1,type:_0x86b1f8,from:_0x19a76f,to:_0x1effa4}=_0x2aa1ea,_0x469947=this[_0xda4779(0x3b2)]()+'/'+_0x86b1f8+_0xda4779(0x3c1)+_0x1bd8d1+_0xda4779(0x3f6)+_0x19a76f+'&to='+_0x1effa4;return(await this['_httpService'][_0xda4779(0x1f6)](_0x469947))[_0xda4779(0x3b9)];}[_0x1f410c(0x248)](){var _0x3f4197=_0x1f410c,_0x5bd190;return(_0x5bd190=this[_0x3f4197(0x3bc)][_0x3f4197(0x1e6)](ps))!=null?_0x5bd190:this[_0x3f4197(0x3b2)]();}[_0x1f410c(0x3b2)](){var _0x434085=_0x1f410c,_0x40087b,_0x32419e;const _0x2a7218=this[_0x434085(0x3bc)][_0x434085(0x1e6)](fs),_0x3b6c1f=this['_configService'][_0x434085(0x1e6)](K);return(_0x32419e=(_0x40087b=_0x3b6c1f==null?void 0x0:_0x3b6c1f[_0x434085(0x3fa)])!=null?_0x40087b:_0x2a7218)!=null?_0x32419e:vs;}async['getResourcesRequest'](_0x2ca8f2,_0x22f9be){var _0x4af849=_0x1f410c;const _0x132085='/universer-api/snapshot/'+_0x22f9be['type']+_0x4af849(0x3c1)+_0x22f9be[_0x4af849(0x47c)]+_0x4af849(0x205);return(await this[_0x4af849(0x395)][_0x4af849(0x1f6)](_0x132085,{'params':{'resourceId':JSON[_0x4af849(0x322)](_0x22f9be['resourceIDs'])}}))['body'];}[_0x1f410c(0x3fd)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x2b942d=_0x1f410c;throw new Error(_0x2b942d(0x347));}[_0x1f410c(0x439)](){var _0x1f2ad2=_0x1f410c;throw new Error(_0x1f2ad2(0x347));}['saveChangeset'](){var _0x10443f=_0x1f410c;throw new Error(_0x10443f(0x347));}['copyFileMeta'](){var _0x53927a=_0x1f410c;throw new Error(_0x53927a(0x347));}[_0x1f410c(0x383)](){var _0x43f8a0=_0x1f410c;throw new Error(_0x43f8a0(0x347));}};Ot=or([oi(0x0,_0x22f7d3),oi(0x1,_0x1d307d(_0x23fee9))],Ot);var cr=Object[_0x1f410c(0x2a4)],hr=(_0x22b62b,_0x4d5427,_0x3475cb,_0x16742c)=>{var _0x47e679=_0x1f410c;for(var _0x458da3=_0x16742c>0x1?void 0x0:_0x16742c?cr(_0x4d5427,_0x3475cb):_0x4d5427,_0x20d52a=_0x22b62b[_0x47e679(0x380)]-0x1,_0x3eeabf;_0x20d52a>=0x0;_0x20d52a--)(_0x3eeabf=_0x22b62b[_0x20d52a])&&(_0x458da3=_0x3eeabf(_0x458da3)||_0x458da3);return _0x458da3;},we=(_0x3900b0,_0x321486)=>(_0x530042,_0x551819)=>_0x321486(_0x530042,_0x551819,_0x3900b0);let yt=class extends _0x374b3a{constructor(_0x1b9191,_0x1c06c3,_0x3360c3,_0x396034,_0x4a2da2){var _0x168d53=_0x1f410c;super(_0x1b9191,_0x1c06c3,_0x3360c3),this[_0x168d53(0x228)]=_0x396034,this[_0x168d53(0x320)]=_0x4a2da2;}['transformUndoRedo'](_0x309a8c,_0x4f268a){var _0x45b2b3=_0x1f410c;const _0x2083cb=this[_0x45b2b3(0x32d)](_0x309a8c);if(_0x2083cb)try{const _0x431e8b=this[_0x45b2b3(0x371)](_0x2083cb,_0x4f268a);this['_substituteUndoStack'](_0x309a8c,_0x431e8b);}catch(_0x1824b4){this[_0x45b2b3(0x320)][_0x45b2b3(0x1a2)]('[CollaborationUndoRedoService]',_0x1824b4),this[_0x45b2b3(0x331)](_0x309a8c);}const _0x3e580b=this[_0x45b2b3(0x2d9)](_0x309a8c);if(_0x3e580b)try{const _0x2e77bd=this[_0x45b2b3(0x371)](_0x3e580b,_0x4f268a);this[_0x45b2b3(0x237)](_0x309a8c,_0x2e77bd);}catch(_0x1485e5){this[_0x45b2b3(0x320)][_0x45b2b3(0x1a2)](_0x1485e5),this[_0x45b2b3(0x456)](_0x309a8c);}}['_clearUndo'](_0x3d5614){var _0x5c04ce=_0x1f410c;const _0x4bd1a3=this[_0x5c04ce(0x32d)](_0x3d5614);_0x4bd1a3&&(_0x4bd1a3['length']=0x0,this[_0x5c04ce(0x435)]());}['_clearRedo'](_0x26d63d){var _0x2d6dd3=_0x1f410c;const _0x1a0396=this[_0x2d6dd3(0x2d9)](_0x26d63d);_0x1a0396&&(_0x1a0396['length']=0x0,this[_0x2d6dd3(0x435)]());}['_substituteUndoStack'](_0x256db1,_0x1c1b41){var _0x3f758f=_0x1f410c;this[_0x3f758f(0x43d)][_0x3f758f(0x32a)](_0x256db1,_0x1c1b41),this[_0x3f758f(0x435)]();}[_0x1f410c(0x237)](_0x48301d,_0x203538){var _0x5ed9cd=_0x1f410c;this['_redoStacks'][_0x5ed9cd(0x32a)](_0x48301d,_0x203538),this[_0x5ed9cd(0x435)]();}['_transformStack'](_0x173860,_0x343fdc){var _0x224757=_0x1f410c;const _0x25cb17=[];let _0x4da53e=_0x343fdc,_0x136d6a=_0x343fdc;for(let _0x10acc3=_0x173860[_0x224757(0x380)]-0x1;_0x10acc3>=0x0;_0x10acc3--){const {unitID:_0x490eaa,undoMutations:_0x10fe08,redoMutations:_0x3bdd2c}=_0x173860[_0x10acc3],_0x543616=this['_transformService'][_0x224757(0x3f1)](_0x4da53e,_0x10fe08),_0xb6710a=this[_0x224757(0x228)][_0x224757(0x3f1)](_0x136d6a,_0x3bdd2c);if(_0x59d287(_0x543616)||_0x59d287(_0xb6710a)){this['_logService'][_0x224757(0x1a2)](_0x224757(0x1d4),_0x224757(0x24c),_0x543616,_0xb6710a);break;}_0x4da53e=_0x543616['c1Prime'],_0x136d6a=_0xb6710a[_0x224757(0x444)],_0x25cb17[_0x224757(0x2dc)]({'unitID':_0x490eaa,'undoMutations':_0x543616[_0x224757(0x277)],'redoMutations':_0xb6710a[_0x224757(0x277)]});}return _0x25cb17[_0x224757(0x1c9)]();}};yt=hr([we(0x0,_0x505288),we(0x1,_0x435e17),we(0x2,_0x5bc123),we(0x3,_0x402e01),we(0x4,_0x419223)],yt);var _r=Object[_0x1f410c(0x3b4)],lr=Object[_0x1f410c(0x2a4)],ur=(_0x361416,_0x56dc38,_0x157572)=>_0x56dc38 in _0x361416?_r(_0x361416,_0x56dc38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x157572}):_0x361416[_0x56dc38]=_0x157572,dr=(_0x30e735,_0x3948c1,_0x32267b,_0x365b10)=>{for(var _0x36bb68=_0x365b10>0x1?void 0x0:_0x365b10?lr(_0x3948c1,_0x32267b):_0x3948c1,_0x116281=_0x30e735['length']-0x1,_0x2b3157;_0x116281>=0x0;_0x116281--)(_0x2b3157=_0x30e735[_0x116281])&&(_0x36bb68=_0x2b3157(_0x36bb68)||_0x36bb68);return _0x36bb68;},mt=(_0x3bc62f,_0x413362)=>(_0x420c5b,_0x16e8cf)=>_0x413362(_0x420c5b,_0x16e8cf,_0x3bc62f),fr=(_0x5121e5,_0x170fc9,_0x296743)=>ur(_0x5121e5,_0x170fc9+'',_0x296743);const vr=_0x1f410c(0x463);let Nt=class extends _0xd01ba0{constructor(_0x53c1e7,_0x44197e,_0x2f7899,_0x37ad7a){var _0x46ccba=_0x1f410c;super(),N(this,'_config'),(this[_0x46ccba(0x320)]=_0x44197e,this[_0x46ccba(0x3e9)]=_0x2f7899,this[_0x46ccba(0x3bc)]=_0x37ad7a);const {..._0x34b085}=_0x5a7505({},Ds,_0x53c1e7);if(!_0x34b085[_0x46ccba(0x2b5)])throw new Error(_0x46ccba(0x255));this['_config']=_0x34b085,this[_0x46ccba(0x3bc)][_0x46ccba(0x386)](K,_0x34b085);}[_0x1f410c(0x343)](){var _0x38cd3f=_0x1f410c;this[_0x38cd3f(0x45f)](),this[_0x38cd3f(0x312)]();}[_0x1f410c(0x45f)](){var _0x5226dc=_0x1f410c,_0x3d8578,_0x5438c1;this[_0x5226dc(0x3e9)][_0x5226dc(0x30d)](_0x2aacb6)&&this[_0x5226dc(0x320)][_0x5226dc(0x1a2)](_0x5226dc(0x22b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x56e6cc=_0x160589([[_0x2aacb6,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5226dc(0x1ff)][_0x5226dc(0x2b5)]}],[_0x3c9739,{'useClass':Ot}],[_0x2f52c6,{'useClass':Tt}],[_0x1284da,{'useClass':Rt}],[_0x2fad51,{'useClass':bt}],[nt],[It]],(_0x3d8578=this[_0x5226dc(0x1ff)])==null?void 0x0:_0x3d8578[_0x5226dc(0x3a1)]);if(!((_0x5438c1=this['_config'])!=null&&_0x5438c1['enableSingleActiveInstanceLock'])){const _0x1359c2=_0x56e6cc[_0x5226dc(0x1f4)](([_0x110340])=>_0x110340===ht);_0x1359c2!==-0x1&&_0x56e6cc[_0x5226dc(0x23c)](_0x1359c2,0x1);}_0x309664(this[_0x5226dc(0x3e9)],_0x56e6cc);}['_initDependencies'](){var _0x66c47e=_0x1f410c,_0x558754,_0x4c4a1a,_0x2567f3;this[_0x66c47e(0x3e9)][_0x66c47e(0x1f6)](_0x23fee9)[_0x66c47e(0x18e)]({'priority':0x14,'interceptor':_0x311a92({'maxParallel':0x6})}),(_0x558754=this[_0x66c47e(0x1ff)])!=null&&_0x558754[_0x66c47e(0x1ed)]||(_0x4c4a1a=this[_0x66c47e(0x3e9)]['get'](J,_0x4f4b83[_0x66c47e(0x2ef)]))==null||_0x4c4a1a[_0x66c47e(0x1b8)](),(_0x2567f3=this[_0x66c47e(0x1ff)])!=null&&_0x2567f3[_0x66c47e(0x1d7)]&&_0x4fb74e(this[_0x66c47e(0x3e9)],[[rt]]),_0x4fb74e(this[_0x66c47e(0x3e9)],[[at],[nt],[ot]]);}};fr(Nt,_0x1f410c(0x313),vr),Nt=dr([_0x55a2dc(_0x131076,_0x1059b9),mt(0x1,_0x419223),mt(0x2,_0x1d307d(_0x1f649f)),mt(0x3,_0x22f7d3)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0xd5ee09=_0x7476;(function(_0x44abe8,_0x407df6){var _0x419837=_0x7476,_0xe083b3=_0x44abe8();while(!![]){try{var _0x346ad8=-parseInt(_0x419837(0x2b6))/0x1+parseInt(_0x419837(0x3b0))/0x2*(-parseInt(_0x419837(0x3de))/0x3)+parseInt(_0x419837(0x20c))/0x4+parseInt(_0x419837(0x415))/0x5*(parseInt(_0x419837(0x22d))/0x6)+-parseInt(_0x419837(0x4b8))/0x7+-parseInt(_0x419837(0x3ef))/0x8*(-parseInt(_0x419837(0x2a4))/0x9)+-parseInt(_0x419837(0x462))/0xa*(parseInt(_0x419837(0x309))/0xb);if(_0x346ad8===_0x407df6)break;else _0xe083b3['push'](_0xe083b3['shift']());}catch(_0x25a285){_0xe083b3['push'](_0xe083b3['shift']());}}}(_0x4224,0x296f2));var Di=Object[_0xd5ee09(0x239)],Ui=(_0x380b71,_0x388c5b,_0x29c202)=>_0x388c5b in _0x380b71?Di(_0x380b71,_0x388c5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29c202}):_0x380b71[_0x388c5b]=_0x29c202,N=(_0x14d5b2,_0x57aa4c,_0x15c7a6)=>Ui(_0x14d5b2,typeof _0x57aa4c!=_0xd5ee09(0x22e)?_0x57aa4c+'':_0x57aa4c,_0x15c7a6);import{createIdentifier as _0x49f103,Inject as _0x199fa9,Injector as _0x124e81,IConfigService as _0x1c6f4e,ILogService as _0x142315,Disposable as _0x4723d5,DisposableCollection as _0x5806ba,toDisposable as _0x52714e,IUniverInstanceService as _0x1eb849,UserManagerService as _0x3f0335,UniverInstanceType as _0xc04d0b,LocaleService as _0x5cb077,Optional as _0x401b03,RxDisposable as _0x5886ed,Tools as _0x1506c2,Rectangle as _0x15fe34,ICommandService as _0x47befc,JSONX as _0x502fbb,CommandType as _0x7b2811,IUndoRedoService as _0x2585d4,IPermissionService as _0x14230b,sequenceExecute as _0x1f1a35,Workbook as _0x22c841,MentionType as _0x1d9cc7,isInternalEditorID as _0x516639,LocalUndoRedoService as _0x5f0b7e,IContextService as _0x5c70bb,DependentOn as _0x430a32,Plugin as _0x43b3bf,merge as _0x6d5c5f,mergeOverrideWithDependencies as _0x4e6809,IAuthzIoService as _0x3d9490,IMentionIOService as _0x3a40c2,registerDependencies as _0x13a54d,Quantity as _0x5130a8,touchDependencies as _0x2c717e}from'@univerjs/core';import{Subject as _0x37c8b6,merge as _0x57e17c,of as _0x47b546,BehaviorSubject as _0x2508bb,takeUntil as _0x479829,ReplaySubject as _0x118b10,take as _0x419df9,map as _0x1cb9fd,shareReplay as _0x1038b3,firstValueFrom as _0x43cddb,concatMap as _0x40c0bb}from'rxjs';import{map as _0x51be5d,take as _0x3065f8,filter as _0x278279,delay as _0x3946d9,takeUntil as _0x15e230}from'rxjs/operators';import{CollaborationEvent as _0x5307c5,ISnapshotServerService as _0x1cbacd,parseChangesetToProtocol as _0xcb7641,ITransformService as _0x4f8203,isTransformMutationsWithChangesetSuccess as _0x267e97,mapDocumentTypeToUniverType as _0x83968f,RevisionService as _0x5a2a9b,isTransformChangesetsSuccess as _0x158657,CompressMutationService as _0x3f3267,parseProtocolChangeset as _0x54594c,uuidv4 as _0x528078,SnapshotService as _0x473d39,textEncoder as _0x44da99,b64DecodeUnicode as _0xe9569c,isTransformMutationsWithChangesetFailure as _0x478b43,UniverCollaborationPlugin as _0x198c0c}from'@univerjs-pro/collaboration';import{HTTPService as _0x2c5a05,ISocketService as _0x3a2f1f,MergeInterceptorFactory as _0x32177c,HTTPRequest as _0x439a9e,UniverNetworkPlugin as _0xf800e7,ThresholdInterceptorFactory as _0x34605d}from'@univerjs/network';import{ITelemetryService as _0x41a231}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x9da716}from'@univerjs/docs';import{SheetsSelectionsService as _0x357071,SetSelectionsOperation as _0x4c6f4b,InsertSheetMutation as _0x34ff22,EmptyMutation as _0x5e0bef,WorkbookEditablePermission as _0x391ed6,SheetPermissionInitController as _0x363c7c}from'@univerjs/sheets';import{ImageSourceType as _0x11199b,ImageUploadStatusType as _0x2c6c8b,IImageIoService as _0x26e271}from'@univerjs/drawing';import{getGlobalObject as _0xdecffd}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0xd5ee09(0x4b2),ps=_0xd5ee09(0x31f),yr=_0xd5ee09(0x214),ms=0x7d0,gs=_0xd5ee09(0x28c),Ss=_0xd5ee09(0x20b),Nr=_0xd5ee09(0x3a2),Es=_0xd5ee09(0x262),Is=0x7530,fi=_0xd5ee09(0x480),vi=0x4e20,Ts=0x4e20,Cs=_0xd5ee09(0x47c),Rs=0x3,Dr=_0xd5ee09(0x2f7),Ur=0x3e8,bs=_0xd5ee09(0x249),Os=_0xd5ee09(0x3f3),ys=_0xd5ee09(0x4d0),Ns=_0xd5ee09(0x381),Ar=_0xd5ee09(0x1fe),wr=_0xd5ee09(0x3bb);var pi=(_0x1351cd=>(_0x1351cd[_0x1351cd[_0xd5ee09(0x1cd)]=0x0]=_0xd5ee09(0x1cd),_0x1351cd[_0x1351cd['OK']=0x1]='OK',_0x1351cd[_0x1351cd[_0xd5ee09(0x3f9)]=0x2]=_0xd5ee09(0x3f9),_0x1351cd[_0x1351cd[_0xd5ee09(0x267)]=0x3]='PERMISSION_DENIED',_0x1351cd[_0x1351cd['NOT_FOUND']=0x4]=_0xd5ee09(0x2a1),_0x1351cd[_0x1351cd[_0xd5ee09(0x253)]=0x5]=_0xd5ee09(0x253),_0x1351cd[_0x1351cd['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x1351cd[_0x1351cd[_0xd5ee09(0x1e6)]=0x7]='INVALID_ARGUMENT',_0x1351cd[_0x1351cd[_0xd5ee09(0x387)]=0x8]=_0xd5ee09(0x387),_0x1351cd[_0x1351cd['COMPLETION_FINISHED']=0x9]=_0xd5ee09(0x284),_0x1351cd[_0x1351cd[_0xd5ee09(0x350)]=0xa]=_0xd5ee09(0x350),_0x1351cd[_0x1351cd['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1351cd[_0x1351cd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xd5ee09(0x377),_0x1351cd[_0x1351cd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xd5ee09(0x423),_0x1351cd[_0x1351cd[_0xd5ee09(0x369)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1351cd[_0x1351cd[_0xd5ee09(0x2bd)]=0x1b59]='APPLY_REJECT',_0x1351cd[_0x1351cd[_0xd5ee09(0x37c)]=0x1b5a]=_0xd5ee09(0x37c),_0x1351cd[_0x1351cd[_0xd5ee09(0x2be)]=0x1b5b]=_0xd5ee09(0x2be),_0x1351cd[_0x1351cd[_0xd5ee09(0x3fd)]=0x1b5c]=_0xd5ee09(0x3fd),_0x1351cd[_0x1351cd[_0xd5ee09(0x2f0)]=0x1b5d]=_0xd5ee09(0x2f0),_0x1351cd[_0x1351cd[_0xd5ee09(0x287)]=0x1f41]=_0xd5ee09(0x287),_0x1351cd[_0x1351cd[_0xd5ee09(0x372)]=0x2329]=_0xd5ee09(0x372),_0x1351cd[_0x1351cd[_0xd5ee09(0x20f)]=0x232a]=_0xd5ee09(0x20f),_0x1351cd[_0x1351cd[_0xd5ee09(0x25d)]=0x232b]=_0xd5ee09(0x25d),_0x1351cd[_0x1351cd[_0xd5ee09(0x3b2)]=0x232c]=_0xd5ee09(0x3b2),_0x1351cd[_0x1351cd[_0xd5ee09(0x21e)]=0x232d]=_0xd5ee09(0x21e),_0x1351cd[_0x1351cd['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xd5ee09(0x4b4),_0x1351cd[_0x1351cd[_0xd5ee09(0x1e1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1351cd[_0x1351cd['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1351cd[_0x1351cd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xd5ee09(0x413),_0x1351cd[_0x1351cd[_0xd5ee09(0x1fd)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1351cd[_0x1351cd[_0xd5ee09(0x449)]=0x271b]=_0xd5ee09(0x449),_0x1351cd[_0x1351cd[_0xd5ee09(0x438)]=0x271c]=_0xd5ee09(0x438),_0x1351cd[_0x1351cd[_0xd5ee09(0x1e3)]=0x271d]=_0xd5ee09(0x1e3),_0x1351cd[_0x1351cd[_0xd5ee09(0x292)]=0x271e]=_0xd5ee09(0x292),_0x1351cd[_0x1351cd[_0xd5ee09(0x44e)]=0x271f]=_0xd5ee09(0x44e),_0x1351cd[_0x1351cd[_0xd5ee09(0x2a2)]=0x2af9]=_0xd5ee09(0x2a2),_0x1351cd[_0x1351cd[_0xd5ee09(0x290)]=0x2ee1]=_0xd5ee09(0x290),_0x1351cd[_0x1351cd[_0xd5ee09(0x40e)]=0x2ee2]=_0xd5ee09(0x40e),_0x1351cd[_0x1351cd[_0xd5ee09(0x2c0)]=0x2ee3]=_0xd5ee09(0x2c0),_0x1351cd[_0x1351cd['USER_NOT_INVITED_CODE']=0x2ee4]=_0xd5ee09(0x2c3),_0x1351cd[_0x1351cd[_0xd5ee09(0x2b4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1351cd[_0x1351cd['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1351cd[_0x1351cd['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xd5ee09(0x4be),_0x1351cd[_0x1351cd[_0xd5ee09(0x4d1)]=0x32cb]=_0xd5ee09(0x4d1),_0x1351cd[_0x1351cd[_0xd5ee09(0x1ed)]=-0x1]=_0xd5ee09(0x1ed),_0x1351cd))(pi||{}),Z=(_0x40075d=>(_0x40075d[_0x40075d['UNIVER_UNKNOWN']=0x0]=_0xd5ee09(0x432),_0x40075d[_0x40075d[_0xd5ee09(0x324)]=0x1]=_0xd5ee09(0x324),_0x40075d[_0x40075d[_0xd5ee09(0x409)]=0x2]='UNIVER_SHEET',_0x40075d[_0x40075d[_0xd5ee09(0x2b2)]=0x3]=_0xd5ee09(0x2b2),_0x40075d[_0x40075d[_0xd5ee09(0x2c9)]=0x4]=_0xd5ee09(0x2c9),_0x40075d[_0x40075d[_0xd5ee09(0x1ed)]=-0x1]=_0xd5ee09(0x1ed),_0x40075d))(Z||{}),F=(_0x2495d5=>(_0x2495d5[_0x2495d5['UNKNOWN_CMD']=0x0]=_0xd5ee09(0x24a),_0x2495d5[_0x2495d5[_0xd5ee09(0x1f1)]=0x1]=_0xd5ee09(0x1f1),_0x2495d5[_0x2495d5[_0xd5ee09(0x32e)]=0x2]=_0xd5ee09(0x32e),_0x2495d5[_0x2495d5[_0xd5ee09(0x439)]=0x3]=_0xd5ee09(0x439),_0x2495d5[_0x2495d5[_0xd5ee09(0x1fb)]=0x4]=_0xd5ee09(0x1fb),_0x2495d5[_0x2495d5[_0xd5ee09(0x1ff)]=0x5]=_0xd5ee09(0x1ff),_0x2495d5[_0x2495d5[_0xd5ee09(0x46f)]=0x6]=_0xd5ee09(0x46f),_0x2495d5[_0x2495d5['UNRECOGNIZED']=-0x1]=_0xd5ee09(0x1ed),_0x2495d5))(F||{}),me=(_0x4cebd7=>(_0x4cebd7[_0x4cebd7[_0xd5ee09(0x30a)]=0x0]=_0xd5ee09(0x30a),_0x4cebd7[_0x4cebd7['OK']=0x1]='OK',_0x4cebd7[_0x4cebd7[_0xd5ee09(0x4e3)]=0x2]=_0xd5ee09(0x4e3),_0x4cebd7[_0x4cebd7[_0xd5ee09(0x424)]=0x3e9]=_0xd5ee09(0x424),_0x4cebd7[_0x4cebd7[_0xd5ee09(0x254)]=0x3ea]=_0xd5ee09(0x254),_0x4cebd7[_0x4cebd7[_0xd5ee09(0x25e)]=0x3eb]=_0xd5ee09(0x25e),_0x4cebd7[_0x4cebd7[_0xd5ee09(0x2f1)]=0x3ec]=_0xd5ee09(0x2f1),_0x4cebd7[_0x4cebd7[_0xd5ee09(0x1ed)]=-0x1]='UNRECOGNIZED',_0x4cebd7))(me||{}),mi=(_0x46c6d2=>(_0x46c6d2[_0x46c6d2['Undefined']=0x0]=_0xd5ee09(0x252),_0x46c6d2[_0x46c6d2[_0xd5ee09(0x2c8)]=0x1]=_0xd5ee09(0x2c8),_0x46c6d2[_0x46c6d2[_0xd5ee09(0x1f7)]=0x2]='HttpExport',_0x46c6d2[_0x46c6d2[_0xd5ee09(0x29c)]=0x3]=_0xd5ee09(0x29c),_0x46c6d2[_0x46c6d2[_0xd5ee09(0x49e)]=0x4]=_0xd5ee09(0x49e),_0x46c6d2[_0x46c6d2['UserProfileImg']=0x5]='UserProfileImg',_0x46c6d2[_0x46c6d2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x46c6d2))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x4153b9=>(_0x4153b9[_0xd5ee09(0x442)]=_0xd5ee09(0x442),_0x4153b9[_0xd5ee09(0x267)]='PERMISSION_DENIED',_0x4153b9[_0xd5ee09(0x2ce)]=_0xd5ee09(0x2ce),_0x4153b9[_0xd5ee09(0x4c6)]='CLOSE_ROOM',_0x4153b9['JOIN_ROOM_FAILED']=_0xd5ee09(0x3aa),_0x4153b9[_0xd5ee09(0x23e)]=_0xd5ee09(0x23e),_0x4153b9['SOCKET_FAILED']=_0xd5ee09(0x441),_0x4153b9[_0xd5ee09(0x36d)]='SUBMIT_CHANGESET_TIMEOUT',_0x4153b9))(ne||{});class ve{constructor(){var _0x28123c=_0xd5ee09;N(this,_0x28123c(0x477),new _0x37c8b6()),N(this,_0x28123c(0x3f5),this[_0x28123c(0x477)][_0x28123c(0x4cb)]());}[_0xd5ee09(0x48e)](_0x4a77c1){var _0x283bc7=_0xd5ee09;this['_event$'][_0x283bc7(0x465)](_0x4a77c1);}}const Us=_0x49f103(_0xd5ee09(0x4ab));function As(_0x526cf2){var _0x490442=_0xd5ee09,_0x58856e,_0xbaa161,_0x20f0e2,_0x14de7d,_0x510614;const _0x19b95f=_0x526cf2['data'],_0x8930ed=JSON[_0x490442(0x225)](_0x19b95f);switch(_0x8930ed['cmd']){case F[_0x490442(0x1ff)]:case F[_0x490442(0x1f1)]:{const _0x1694f5=_0x8930ed[_0x490442(0x42f)];return{..._0x8930ed,'data':_0x1694f5,'cmd':_0x8930ed[_0x490442(0x3fb)]};}case F[_0x490442(0x32e)]:{const _0x3d804d=_0x8930ed[_0x490442(0x1f5)];return{..._0x8930ed,'data':_0x3d804d,'cmd':_0x8930ed[_0x490442(0x3fb)]};}case F['RECV']:{const _0x78c6c5=_0x8930ed[_0x490442(0x316)];switch(_0x78c6c5[_0x490442(0x305)]){case _0x5307c5[_0x490442(0x1ef)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':(_0x58856e=_0x78c6c5[_0x490442(0x404)])==null?void 0x0:_0x58856e['cs']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x1e2)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':(_0xbaa161=_0x78c6c5[_0x490442(0x3c1)])==null?void 0x0:_0xbaa161['cs']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x2b7)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':(_0x20f0e2=_0x78c6c5['newCsEvent'])==null?void 0x0:_0x20f0e2['cs']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x31d)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':(_0x14de7d=_0x78c6c5[_0x490442(0x3f7)])==null?void 0x0:_0x14de7d['cs']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5['CHANGESET_SHOULD_RETRY']:return{..._0x8930ed,'data':{..._0x78c6c5,'data':(_0x510614=_0x78c6c5[_0x490442(0x3d0)])==null?void 0x0:_0x510614['cs']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x321)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x440)]},'cmd':_0x8930ed['cmd']};case _0x5307c5[_0x490442(0x4dd)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5['joinEvent']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x359)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x21f)]},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x271)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5['liveShareNewHost']},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x200)]:case _0x5307c5[_0x490442(0x3ce)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x42a)]},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x275)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x25c)]},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x434)]:return{..._0x8930ed,'data':_0x78c6c5,'cmd':_0x8930ed['cmd']};case _0x5307c5[_0x490442(0x22a)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x312)]},'cmd':_0x8930ed['cmd']};case _0x5307c5[_0x490442(0x3e6)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x4b1)]},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x244)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x35a)]},'cmd':_0x8930ed[_0x490442(0x3fb)]};case _0x5307c5[_0x490442(0x486)]:return{..._0x8930ed,'data':{..._0x78c6c5,'data':_0x78c6c5[_0x490442(0x395)]},'cmd':_0x8930ed['cmd']};default:return _0x8930ed;}}default:return _0x8930ed;}}function ws(_0x12afaf){var _0x9d993b=_0xd5ee09;switch(_0x12afaf[_0x9d993b(0x3fb)]){case F['HEARTBEAT']:case F[_0x9d993b(0x1f1)]:return JSON[_0x9d993b(0x215)]({'cmd':_0x12afaf[_0x9d993b(0x3fb)],'routeKey':_0x12afaf['routeKey']});case F[_0x9d993b(0x1fb)]:{let _0x5e0834;switch(_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x305)]){case _0x5307c5[_0x9d993b(0x321)]:{_0x5e0834={'eventID':_0x5307c5['UPDATE_CURSOR'],'updateCursorEvent':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x2dc)]};break;}case _0x5307c5[_0x9d993b(0x359)]:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x359)],'leaveEvent':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x2dc)]};break;}case _0x5307c5[_0x9d993b(0x4dd)]:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x4dd)],'joinEvent':_0x12afaf['data'][_0x9d993b(0x2dc)]};break;}case _0x5307c5['LIVESHARE_NEW_HOST']:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x271)],'liveShareNewHost':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x2dc)]};break;}case _0x5307c5[_0x9d993b(0x3ce)]:{_0x5e0834={'eventID':_0x5307c5['LIVESHARE_OPERATION'],'liveShareOperation':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x2dc)]};break;}case _0x5307c5[_0x9d993b(0x275)]:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x275)],'liveShareTerminate':_0x12afaf['data'][_0x9d993b(0x2dc)]};break;}case _0x5307c5['LIVESHARE_REQUEST_HOST']:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x444)],'liveShareRequestHost':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x2dc)]};break;}case _0x5307c5[_0x9d993b(0x200)]:{_0x5e0834={'eventID':_0x5307c5[_0x9d993b(0x200)]};break;}default:_0x5e0834={'eventID':_0x12afaf[_0x9d993b(0x2dc)][_0x9d993b(0x305)]};}return JSON[_0x9d993b(0x215)]({'cmd':_0x12afaf['cmd'],'routeKey':_0x12afaf[_0x9d993b(0x232)],'collaMsg':_0x5e0834});}case F[_0x9d993b(0x32e)]:return JSON[_0x9d993b(0x215)]({'cmd':_0x12afaf[_0x9d993b(0x3fb)],'routeKey':_0x12afaf[_0x9d993b(0x232)],'joinReq':_0x12afaf[_0x9d993b(0x2dc)]});case F[_0x9d993b(0x439)]:return JSON[_0x9d993b(0x215)]({'cmd':_0x12afaf[_0x9d993b(0x3fb)],'routeKey':_0x12afaf[_0x9d993b(0x232)],'leaveReq':_0x12afaf[_0x9d993b(0x2dc)]});default:throw new Error(_0x9d993b(0x4c1));}}var Ps=Object[_0xd5ee09(0x43b)],Ls=(_0xc9f89f,_0x3404dc,_0x5ddbc1,_0x2ce67c)=>{var _0x2345c0=_0xd5ee09;for(var _0x36f310=_0x2ce67c>0x1?void 0x0:_0x2ce67c?Ps(_0x3404dc,_0x5ddbc1):_0x3404dc,_0x18ee2b=_0xc9f89f[_0x2345c0(0x3a7)]-0x1,_0x390b72;_0x18ee2b>=0x0;_0x18ee2b--)(_0x390b72=_0xc9f89f[_0x18ee2b])&&(_0x36f310=_0x390b72(_0x36f310)||_0x36f310);return _0x36f310;},Ue=(_0x3d174b,_0x21c57d)=>(_0x2bda36,_0x1178b0)=>_0x21c57d(_0x2bda36,_0x1178b0,_0x3d174b);const gi=_0x49f103(_0xd5ee09(0x3b5));function Ms(_0x575d7b,_0xb78a5f,_0x5ec270){var _0x4fa0af=_0xd5ee09;return _0x575d7b+'/'+_0xb78a5f+_0x4fa0af(0x39e)+_0x5ec270+_0x4fa0af(0x366);}let Ft=class extends _0x4723d5{constructor(_0x1f4719,_0xf8dc55,_0x4522dc,_0x9daef0,_0x7d6fc3){var _0x1fb909=_0xd5ee09;super(),this['_injector']=_0x1f4719,this[_0x1fb909(0x478)]=_0xf8dc55,this[_0x1fb909(0x311)]=_0x4522dc,this[_0x1fb909(0x422)]=_0x9daef0,this['_snapshotServerService']=_0x7d6fc3;}['_doCreateSocket'](_0x544d07){var _0x3d2064=_0xd5ee09;const _0x46fb5a=this[_0x3d2064(0x234)]['get'](_0x3a2f1f);if(!_0x46fb5a)throw new Error(_0x3d2064(0x4a8));const _0x3bd940=_0x46fb5a['createSocket'](_0x544d07);if(!_0x3bd940)throw new Error(_0x3d2064(0x48b));const _0x219e40=new _0x5806ba(),_0x44b3ca=new _0x37c8b6();_0x219e40[_0x3d2064(0x3c6)](_0x3bd940['close$'][_0x3d2064(0x242)](_0x4d13ce=>_0x44b3ca[_0x3d2064(0x465)](_0x4d13ce))),_0x219e40[_0x3d2064(0x3c6)](_0x52714e(()=>_0x44b3ca[_0x3d2064(0x20e)]()));const _0x1b52a1=new _0x37c8b6();_0x219e40[_0x3d2064(0x3c6)](_0x3bd940['error$'][_0x3d2064(0x242)](_0x4e5344=>_0x1b52a1[_0x3d2064(0x465)](_0x4e5344))),_0x219e40[_0x3d2064(0x3c6)](_0x52714e(()=>_0x1b52a1[_0x3d2064(0x20e)]()));const _0x2c417c=new _0x37c8b6();_0x219e40['add'](_0x3bd940[_0x3d2064(0x378)][_0x3d2064(0x242)](_0x42f860=>{var _0x1f3d3d=_0x3d2064;const _0x2bce6a=As(_0x42f860);_0x2c417c[_0x1f3d3d(0x465)](_0x2bce6a);})),_0x219e40[_0x3d2064(0x3c6)](_0x52714e(()=>_0x2c417c[_0x3d2064(0x20e)]()));let _0xd18f1e;const _0x3e9daf=()=>{var _0x5bf8f4=_0x3d2064;_0x1b52a1[_0x5bf8f4(0x465)](new Event('connection\x20error')),_0x44b3ca['next'](new Event('connection\x20error')),_0xd18f1e[_0x5bf8f4(0x471)]();};return _0xd18f1e={'memberID':'','close$':_0x44b3ca[_0x3d2064(0x4cb)](),'error$':_0x1b52a1[_0x3d2064(0x4cb)](),'open$':_0x3bd940[_0x3d2064(0x35e)],'message$':_0x2c417c[_0x3d2064(0x4cb)](),'send':_0x374cb2=>{var _0x2b24ae=_0x3d2064;if(_0x374cb2[_0x2b24ae(0x3fb)]===F['INGEST']){if(_0x374cb2[_0x2b24ae(0x2dc)][_0x2b24ae(0x305)]===_0x5307c5[_0x2b24ae(0x1d5)]){this[_0x2b24ae(0x1f8)](_0xd18f1e,_0x374cb2[_0x2b24ae(0x2dc)])['catch'](_0x57cc98=>{var _0x1f0369=_0x2b24ae;this[_0x1f0369(0x422)][_0x1f0369(0x363)](_0x57cc98),_0x3e9daf();});return;}if(_0x374cb2[_0x2b24ae(0x2dc)][_0x2b24ae(0x305)]===_0x5307c5['FETCH_MISSING']){const _0x182bcd=_0x374cb2['data'];this[_0x2b24ae(0x4d2)](_0x182bcd)['then'](_0x23bd72=>{var _0x567c2b=_0x2b24ae;_0x2c417c[_0x567c2b(0x465)]({'cmd':F[_0x567c2b(0x46f)],'code':me['OK'],'routeKey':_0x182bcd[_0x567c2b(0x2dc)][_0x567c2b(0x446)],'routeType':'','data':{'eventID':_0x5307c5[_0x567c2b(0x42c)],'data':{'changesets':_0x23bd72}}});})[_0x2b24ae(0x3b9)](_0x1b2e1c=>{this['_logService']['error'](_0x1b2e1c),_0x3e9daf();});return;}}_0x3bd940[_0x2b24ae(0x340)](ws(_0x374cb2));},'close':()=>{var _0xa6d58d=_0x3d2064;_0x3bd940[_0xa6d58d(0x471)](),_0x219e40[_0xa6d58d(0x47b)]();}},_0xd18f1e;}async[_0xd5ee09(0x1f8)](_0x484898,_0x5b058f){var _0x2601f0=_0xd5ee09,_0x4e9724,_0x492570;const {unitType:_0x285930,unitID:_0x2c6362,changeset:_0x383e6a}=_0x5b058f[_0x2601f0(0x2dc)],_0x41ed54={'unitID':_0x2c6362,'memberID':_0x484898[_0x2601f0(0x317)],'type':_0x285930,'changeset':_0xcb7641(_0x383e6a)},_0x47f4c8=this[_0x2601f0(0x311)]['getConfig'](bs),_0x16d525=this[_0x2601f0(0x311)]['getConfig'](K),_0x17359d=Ms((_0x492570=(_0x4e9724=_0x16d525==null?void 0x0:_0x16d525['collabSubmitChangesetUrl'])!=null?_0x4e9724:_0x47f4c8)!=null?_0x492570:Os,_0x285930,_0x2c6362);try{await this[_0x2601f0(0x478)][_0x2601f0(0x41d)](_0x17359d,{'body':_0x41ed54});}catch(_0x52cd30){throw this[_0x2601f0(0x422)][_0x2601f0(0x363)]('[CollaborationSession]',_0x2601f0(0x36f)),_0x52cd30;}}async[_0xd5ee09(0x4d2)](_0x1b7c26){var _0x284e46=_0xd5ee09;const {unitID:_0xfcdd38,from:_0x5ddd3a,to:_0x5f1e80,unitType:_0x1c0f9e}=_0x1b7c26[_0x284e46(0x2dc)];return(await this[_0x284e46(0x375)][_0x284e46(0x2d9)]({'metadata':void 0x0},{'unitID':_0xfcdd38,'type':_0x1c0f9e,'from':_0x5ddd3a,'to':_0x5f1e80}))[_0x284e46(0x4b5)];}};Ft=Ls([Ue(0x0,_0x199fa9(_0x124e81)),Ue(0x1,_0x199fa9(_0x2c5a05)),Ue(0x2,_0x1c6f4e),Ue(0x3,_0x142315),Ue(0x4,_0x1cbacd)],Ft);const xs=_0xd5ee09(0x27b);function ks(_0x29c609){var _0x187de6=_0xd5ee09;return JSON[_0x187de6(0x215)](_0x29c609)[_0x187de6(0x3a7)];}class Si{constructor(){var _0x43cab6=_0xd5ee09;N(this,_0x43cab6(0x3cd),new _0x37c8b6()),N(this,_0x43cab6(0x4a0),this[_0x43cab6(0x3cd)][_0x43cab6(0x4cb)]());}[_0xd5ee09(0x201)](_0x330c17){var _0x269a1d=_0xd5ee09;this[_0x269a1d(0x3cd)]['next'](_0x330c17);}}var $s=Object[_0xd5ee09(0x43b)],Hs=(_0x2e8357,_0x59460b,_0x2ca7eb,_0x4b1f16)=>{for(var _0x3db21f=_0x4b1f16>0x1?void 0x0:_0x4b1f16?$s(_0x59460b,_0x2ca7eb):_0x59460b,_0x595bc2=_0x2e8357['length']-0x1,_0x57a5e0;_0x595bc2>=0x0;_0x595bc2--)(_0x57a5e0=_0x2e8357[_0x595bc2])&&(_0x3db21f=_0x57a5e0(_0x3db21f)||_0x3db21f);return _0x3db21f;},Vt=(_0x2737cb,_0x20e6cf)=>(_0x3e7431,_0x5757f0)=>_0x20e6cf(_0x3e7431,_0x5757f0,_0x2737cb);let Pe=class extends _0x4723d5{constructor(_0x360000,_0x1ac41a){var _0xd22035=_0xd5ee09;super(),N(this,_0xd22035(0x2e5),new Map()),N(this,_0xd22035(0x402),new _0x37c8b6()),(this['_univerInstanceService']=_0x360000,this[_0xd22035(0x3af)]=_0x1ac41a,this[_0xd22035(0x32a)](_0x57e17c(this[_0xd22035(0x45f)][_0xd22035(0x289)](_0xc04d0b[_0xd22035(0x409)])[_0xd22035(0x448)](_0x51be5d(_0x4a75b0=>_0x4a75b0[_0xd22035(0x41b)]())),this[_0xd22035(0x45f)]['getTypeOfUnitDisposed$'](_0xc04d0b[_0xd22035(0x324)])['pipe'](_0x51be5d(_0x14dc4f=>_0x14dc4f['getUnitId']())),this[_0xd22035(0x45f)]['getTypeOfUnitDisposed$'](_0xc04d0b[_0xd22035(0x2b2)])['pipe'](_0x51be5d(_0x1f1711=>_0x1f1711[_0xd22035(0x41b)]())))[_0xd22035(0x242)](_0x5a73e3=>this[_0xd22035(0x212)](_0x5a73e3))));}[_0xd5ee09(0x42b)](_0x17e1f7){var _0x52c06c=_0xd5ee09;return this[_0x52c06c(0x2e5)]['has'](_0x17e1f7)?_0x47b546(this[_0x52c06c(0x2e5)][_0x52c06c(0x41c)](_0x17e1f7)):this[_0x52c06c(0x402)][_0x52c06c(0x448)](_0x51be5d(_0x26f40d=>{var _0x10aef9=_0x52c06c;if(_0x26f40d===_0x17e1f7)return this[_0x10aef9(0x2e5)][_0x10aef9(0x41c)](_0x26f40d);}));}[_0xd5ee09(0x3ed)](_0x1f2d0c){var _0x159d79=_0xd5ee09;this[_0x159d79(0x3af)][_0x159d79(0x3ed)](_0x1f2d0c);}['getCurrentUser'](){var _0x25c59d=_0xd5ee09;return this['_userManagerService'][_0x25c59d(0x32b)]();}[_0xd5ee09(0x30f)](_0x3921d2,_0x60af96){var _0x23d182=_0xd5ee09;let _0x3cbeec=this['_roomMembers']['get'](_0x3921d2);_0x3cbeec||(_0x3cbeec=new Bs(),this['_roomMembers'][_0x23d182(0x34e)](_0x3921d2,_0x3cbeec),this[_0x23d182(0x402)][_0x23d182(0x465)](_0x3921d2)),_0x3cbeec[_0x23d182(0x30f)](_0x60af96);}[_0xd5ee09(0x274)](_0x4b9ba8,_0x446903){var _0x7c3198=_0xd5ee09;const _0x26aef2=this['_roomMembers'][_0x7c3198(0x41c)](_0x4b9ba8);_0x26aef2&&_0x26aef2[_0x7c3198(0x274)](_0x446903);}[_0xd5ee09(0x46e)](_0x59e1c6){var _0x4c4435=_0xd5ee09;return this[_0x4c4435(0x2e5)]['get'](_0x59e1c6);}[_0xd5ee09(0x411)](_0x288825,_0x4505d2){var _0x3501e9=_0xd5ee09;const _0xf64eb4=this[_0x3501e9(0x2e5)][_0x3501e9(0x41c)](_0x288825);if(_0xf64eb4)return _0xf64eb4['getMember'](_0x4505d2);}[_0xd5ee09(0x212)](_0x567cff){var _0x8c43a=_0xd5ee09;const _0x201be5=this[_0x8c43a(0x2e5)][_0x8c43a(0x41c)](_0x567cff);_0x201be5&&(_0x201be5[_0x8c43a(0x47b)](),this[_0x8c43a(0x2e5)][_0x8c43a(0x46a)](_0x567cff));}['dispose'](){var _0x43ca00=_0xd5ee09;this['_roomMembers'][_0x43ca00(0x259)](_0x3987b9=>_0x3987b9[_0x43ca00(0x47b)]()),this[_0x43ca00(0x2e5)]['clear'](),this['_roomCreated$'][_0x43ca00(0x20e)]();}};Pe=Hs([Vt(0x0,_0x1eb849),Vt(0x1,_0x199fa9(_0x3f0335))],Pe);class Bs extends _0x4723d5{constructor(){var _0x46274a=_0xd5ee09;super(...arguments),N(this,_0x46274a(0x367),new Map()),N(this,_0x46274a(0x4cc),new _0x2508bb(this['_members'])),N(this,_0x46274a(0x2c6),this[_0x46274a(0x4cc)][_0x46274a(0x4cb)]());}[_0xd5ee09(0x47b)](){var _0x40b259=_0xd5ee09;this[_0x40b259(0x367)]['clear']();}[_0xd5ee09(0x30f)](_0x3268eb){var _0x440bbd=_0xd5ee09;this[_0x440bbd(0x367)][_0x440bbd(0x34e)](_0x3268eb['memberID'],_0x3268eb),this[_0x440bbd(0x38b)]();}[_0xd5ee09(0x274)](_0x30028e){var _0x3014ba=_0xd5ee09;this[_0x3014ba(0x367)][_0x3014ba(0x46a)](_0x30028e);}[_0xd5ee09(0x411)](_0x1ffce6){var _0x5796db=_0xd5ee09;return this['_members'][_0x5796db(0x41c)](_0x1ffce6);}[_0xd5ee09(0x398)](){var _0x141042=_0xd5ee09;return Array[_0x141042(0x277)](this[_0x141042(0x367)][_0x141042(0x3ea)]());}[_0xd5ee09(0x38b)](){var _0x58ec7f=_0xd5ee09;this['_members$'][_0x58ec7f(0x465)](this[_0x58ec7f(0x367)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x18e592,_0x140017,_0x10528e,_0x4830e2)=>{var _0x346a06=_0xd5ee09;for(var _0x112370=_0x4830e2>0x1?void 0x0:_0x4830e2?js(_0x140017,_0x10528e):_0x140017,_0x364f48=_0x18e592[_0x346a06(0x3a7)]-0x1,_0x246761;_0x364f48>=0x0;_0x364f48--)(_0x246761=_0x18e592[_0x364f48])&&(_0x112370=_0x246761(_0x112370)||_0x112370);return _0x112370;},pe=(_0x45ce8f,_0x2bc9d3)=>(_0x38dcc6,_0xfd234c)=>_0x2bc9d3(_0x38dcc6,_0xfd234c,_0x45ce8f),Se=(_0x8f1723=>(_0x8f1723[_0x8f1723['IDLE']=0x0]=_0xd5ee09(0x286),_0x8f1723[_0x8f1723[_0xd5ee09(0x380)]=0x1]=_0xd5ee09(0x380),_0x8f1723[_0x8f1723[_0xd5ee09(0x221)]=0x2]=_0xd5ee09(0x221),_0x8f1723[_0x8f1723[_0xd5ee09(0x265)]=0x3]=_0xd5ee09(0x265),_0x8f1723))(Se||{});const Gt={[me[_0xd5ee09(0x4e3)]]:_0xd5ee09(0x468),[me[_0xd5ee09(0x424)]]:'session.room-full',[me[_0xd5ee09(0x254)]]:_0xd5ee09(0x458),[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0xd5ee09(0x2f1)]]:_0xd5ee09(0x37f)};let gt=class extends _0x5886ed{constructor(_0x49dee7,_0x20c65a,_0x4a0605,_0x52d0cb,_0x374560,_0x1abbd7,_0xbe3417,_0x3181df,_0x17cfde){var _0x54470b=_0xd5ee09;super(),N(this,_0x54470b(0x233),new _0x2508bb(0x0)),N(this,_0x54470b(0x32c),this[_0x54470b(0x233)]['asObservable']()),N(this,_0x54470b(0x477),new _0x37c8b6()),N(this,_0x54470b(0x3f5),this['_event$'][_0x54470b(0x4cb)]()),N(this,'_socket'),N(this,_0x54470b(0x391)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x54470b(0x400),null),(this['_unitID']=_0x49dee7,this[_0x54470b(0x422)]=_0x4a0605,this[_0x54470b(0x311)]=_0x52d0cb,this['_localeService']=_0x374560,this[_0x54470b(0x47e)]=_0x1abbd7,this[_0x54470b(0x37e)]=_0xbe3417,this[_0x54470b(0x3b7)]=_0x3181df,this['_telemetryService']=_0x17cfde,this['_shouldReportTelemetry']=!!this[_0x54470b(0x41e)],_0x20c65a['pipe'](_0x479829(this[_0x54470b(0x3c3)]))[_0x54470b(0x242)](_0x49b48b=>{var _0x3d2ac6=_0x54470b,_0x1d0d26;typeof _0x49b48b>'u'||(this[_0x3d2ac6(0x37d)]=_0x49b48b,_0x49b48b?(this['_joinRoom'](_0x49b48b),this[_0x3d2ac6(0x391)]=_0x49b48b['message$']['subscribe'](_0x2acb52=>{var _0x4f3b48=_0x3d2ac6;_0x2acb52[_0x4f3b48(0x232)]===this['_unitID']&&this[_0x4f3b48(0x357)](_0x2acb52);})):(this[_0x3d2ac6(0x35d)](),this[_0x3d2ac6(0x233)]['next'](0x2),(_0x1d0d26=this['_socketMessageSubscription'])==null||_0x1d0d26[_0x3d2ac6(0x211)](),this['_socketMessageSubscription']=null));}));}get[_0xd5ee09(0x46d)](){var _0x3eedcc=_0xd5ee09;return this['_sessionStatus$'][_0x3eedcc(0x1e5)]();}[_0xd5ee09(0x301)](){var _0x3bcd48=_0xd5ee09,_0x5f0b2a,_0x201095;return(_0x201095=(_0x5f0b2a=this[_0x3bcd48(0x37d)])==null?void 0x0:_0x5f0b2a[_0x3bcd48(0x317)])!=null?_0x201095:null;}[_0xd5ee09(0x47b)](){var _0x448f24=_0xd5ee09;super[_0x448f24(0x47b)](),this[_0x448f24(0x3c3)][_0x448f24(0x465)](),this['dispose$'][_0x448f24(0x20e)]();}[_0xd5ee09(0x471)](){var _0x5b0aef=_0xd5ee09,_0x1f5e6a,_0x214bb5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1f5e6a=this['_socket'])==null||_0x1f5e6a[_0x5b0aef(0x340)]({'cmd':F[_0x5b0aef(0x439)],'data':{'roomID':this[_0x5b0aef(0x403)]}}),(_0x214bb5=this[_0x5b0aef(0x37d)])==null||_0x214bb5[_0x5b0aef(0x471)](),this[_0x5b0aef(0x477)]['complete'](),this[_0x5b0aef(0x233)][_0x5b0aef(0x20e)](),this['dispose']();}[_0xd5ee09(0x357)](_0x5bc46e){var _0x7e04b8=_0xd5ee09;_0x5bc46e['cmd']===F[_0x7e04b8(0x32e)]?this[_0x7e04b8(0x332)](_0x5bc46e):_0x5bc46e['cmd']===F[_0x7e04b8(0x46f)]&&this[_0x7e04b8(0x313)](_0x5bc46e);}['_joinRoom'](_0x427cf5){var _0x27bbcd=_0xd5ee09;this[_0x27bbcd(0x233)]['next'](0x1),_0x427cf5[_0x27bbcd(0x340)]({'cmd':F[_0x27bbcd(0x32e)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xd5ee09(0x332)](_0x203867){var _0x3af82b=_0xd5ee09,_0x12faac;if(_0x203867[_0x3af82b(0x1d1)]in Gt){this[_0x3af82b(0x3b7)]['emitEvent']({'id':ne[_0x3af82b(0x3aa)],'data':Gt[_0x203867[_0x3af82b(0x1d1)]]}),this[_0x3af82b(0x233)][_0x3af82b(0x465)](0x2);return;}this[_0x3af82b(0x233)][_0x3af82b(0x465)](0x3);const _0xd0e271=(_0x12faac=_0x203867[_0x3af82b(0x2dc)][_0x3af82b(0x2d2)][this[_0x3af82b(0x403)]])==null?void 0x0:_0x12faac[_0x3af82b(0x303)];_0xd0e271&&_0xd0e271[_0x3af82b(0x259)](_0x10099f=>this['_memberService']['updateMember'](this[_0x3af82b(0x403)],_0x10099f));}[_0xd5ee09(0x313)](_0x27256d){var _0x3bb9df=_0xd5ee09;try{const _0x375193=_0x27256d[_0x3bb9df(0x2dc)];switch(_0x375193[_0x3bb9df(0x305)]){case _0x5307c5[_0x3bb9df(0x4dd)]:this['_onUserJoin'](_0x375193),this[_0x3bb9df(0x477)]['next'](_0x375193);break;case _0x5307c5[_0x3bb9df(0x359)]:this['_onUserLeave'](_0x375193),this[_0x3bb9df(0x477)][_0x3bb9df(0x465)](_0x375193);break;case _0x5307c5['CHANGESET_ACK']:case _0x5307c5[_0x3bb9df(0x3cc)]:this[_0x3bb9df(0x4c5)](),this[_0x3bb9df(0x218)](),this[_0x3bb9df(0x477)][_0x3bb9df(0x465)](_0x375193);break;case _0x5307c5[_0x3bb9df(0x434)]:this[_0x3bb9df(0x422)][_0x3bb9df(0x363)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x375193)),this[_0x3bb9df(0x477)][_0x3bb9df(0x465)](_0x375193);break;case _0x5307c5[_0x3bb9df(0x22a)]:this['_commentService'][_0x3bb9df(0x201)](_0x375193[_0x3bb9df(0x2dc)]),this['_event$']['next'](_0x375193);break;default:this[_0x3bb9df(0x477)][_0x3bb9df(0x465)](_0x375193);}}catch(_0x1f0a26){this['_logService']['error'](_0x1f0a26,_0x27256d);}}[_0xd5ee09(0x406)](_0x2e565d){var _0x214f48=_0xd5ee09;this[_0x214f48(0x47e)]['updateMember'](this[_0x214f48(0x403)],_0x2e565d['data']);}[_0xd5ee09(0x24b)](_0x5a5407){var _0x413923=_0xd5ee09;this[_0x413923(0x47e)][_0x413923(0x274)](this[_0x413923(0x403)],_0x5a5407['data']['memberID']);}async[_0xd5ee09(0x340)](_0x4c5e0f,_0x5b21af){var _0x5afdd3=_0xd5ee09;if(this[_0x5afdd3(0x46d)]!==0x3||!this[_0x5afdd3(0x37d)])throw new Error(_0x5afdd3(0x496));try{_0x4c5e0f['eventID']===_0x5307c5[_0x5afdd3(0x1d5)]&&(this[_0x5afdd3(0x485)](),this[_0x5afdd3(0x1f6)](_0x4c5e0f)),this[_0x5afdd3(0x37d)][_0x5afdd3(0x340)]({'cmd':F['INGEST'],'routeKey':_0x5b21af,'routeType':'','data':_0x4c5e0f});}catch(_0x476611){this[_0x5afdd3(0x422)][_0x5afdd3(0x363)](_0x476611);}}[_0xd5ee09(0x485)](){var _0x4471b0=_0xd5ee09,_0x51a6c2;this[_0x4471b0(0x257)]=setTimeout(()=>{var _0x4e6784=_0x4471b0;this[_0x4e6784(0x257)]=null,this[_0x4e6784(0x3b7)]['emitEvent']({'id':ne[_0x4e6784(0x36d)]});},(_0x51a6c2=this[_0x4471b0(0x311)][_0x4471b0(0x2ae)](fi))!=null?_0x51a6c2:vi);}['_clearCollaborationTimeoutTimer'](){var _0x11ca5e=_0xd5ee09;this[_0x11ca5e(0x257)]&&(clearTimeout(this[_0x11ca5e(0x257)]),this[_0x11ca5e(0x257)]=null);}[_0xd5ee09(0x1f6)](_0x56b3e2){var _0x35069f=_0xd5ee09;if(!this[_0x35069f(0x3a8)])return;const {data:_0x1536c0}=_0x56b3e2,{unitID:_0x1ef377,changeset:_0x1fcd69}=_0x1536c0,{mutations:_0x1f97d2,type:_0x59bf94}=_0x1fcd69;this['_telemetryInfo']={'unitId':_0x1ef377,'type':_0x59bf94,'startTime':performance[_0x35069f(0x44c)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x1f97d2)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2baaf4=_0xd5ee09;if(this[_0x2baaf4(0x3a8)]){if(!this[_0x2baaf4(0x400)]){this[_0x2baaf4(0x422)][_0x2baaf4(0x363)](_0x2baaf4(0x3e1),_0x2baaf4(0x1ce));return;}this[_0x2baaf4(0x400)]['stopTime']=performance[_0x2baaf4(0x44c)](),this[_0x2baaf4(0x400)]['duration']=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x2baaf4(0x346)],this[_0x2baaf4(0x41e)]['capture'](xs,this[_0x2baaf4(0x400)]),this[_0x2baaf4(0x400)]=null;}}[_0xd5ee09(0x35d)](){var _0x2b5c07=_0xd5ee09;this[_0x2b5c07(0x400)]=null;}};gt=Fs([pe(0x2,_0x142315),pe(0x3,_0x1c6f4e),pe(0x4,_0x199fa9(_0x5cb077)),pe(0x5,_0x199fa9(Pe)),pe(0x6,_0x199fa9(Si)),pe(0x7,_0x199fa9(ve)),pe(0x8,_0x401b03(_0x41a231))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x26723f,_0xdbcc1c,_0x2b1605,_0x512692)=>{var _0x4e5bcf=_0xd5ee09;for(var _0xfd70aa=_0x512692>0x1?void 0x0:_0x512692?Vs(_0xdbcc1c,_0x2b1605):_0xdbcc1c,_0x51c446=_0x26723f[_0x4e5bcf(0x3a7)]-0x1,_0x19c660;_0x51c446>=0x0;_0x51c446--)(_0x19c660=_0x26723f[_0x51c446])&&(_0xfd70aa=_0x19c660(_0xfd70aa)||_0xfd70aa);return _0xfd70aa;},Re=(_0x36fce7,_0x41bf02)=>(_0x2dee7f,_0x1c5152)=>_0x41bf02(_0x2dee7f,_0x1c5152,_0x36fce7);let Le=class extends _0x4723d5{constructor(_0x30ccbc,_0x477a16,_0x150f9f,_0x14eb12,_0x1ae7dc,_0x14e7ea){var _0x3b0f2d=_0xd5ee09;super(),N(this,_0x3b0f2d(0x236),new _0x2508bb(void 0x0)),N(this,'socket$',this[_0x3b0f2d(0x236)][_0x3b0f2d(0x4cb)]()),N(this,_0x3b0f2d(0x3bd),null),N(this,_0x3b0f2d(0x2ec),new Map()),N(this,'_status$',new _0x2508bb(Se[_0x3b0f2d(0x286)])),N(this,_0x3b0f2d(0x1e4),this[_0x3b0f2d(0x35f)][_0x3b0f2d(0x4cb)]()),N(this,_0x3b0f2d(0x260),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3b0f2d(0x261),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x30ccbc,this[_0x3b0f2d(0x422)]=_0x477a16,this[_0x3b0f2d(0x311)]=_0x150f9f,this['_socketService']=_0x14eb12,this['_collaborationUIEventService']=_0x1ae7dc,this['_networkConditionService']=_0x14e7ea,this[_0x3b0f2d(0x2fb)]());}get[_0xd5ee09(0x37d)](){var _0x1e64ce=_0xd5ee09;return this[_0x1e64ce(0x236)]['getValue']();}[_0xd5ee09(0x2fb)](){var _0x45dce1=_0xd5ee09;this[_0x45dce1(0x484)]&&this[_0x45dce1(0x32a)](this[_0x45dce1(0x484)]['online$']['subscribe'](_0x3fb770=>{var _0x5158a1=_0x45dce1;_0x3fb770&&!this[_0x5158a1(0x37d)]&&this[_0x5158a1(0x38e)](),_0x3fb770||this[_0x5158a1(0x4ae)]();}));}[_0xd5ee09(0x47b)](){var _0x14e8a1=_0xd5ee09;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x14e8a1(0x213)](),this[_0x14e8a1(0x3ec)](),this[_0x14e8a1(0x2ec)]['forEach'](_0x5b4e74=>_0x5b4e74['dispose']()),this[_0x14e8a1(0x2ec)][_0x14e8a1(0x356)](),this['_status$'][_0x14e8a1(0x20e)]();}async[_0xd5ee09(0x45e)](_0x1ee488){var _0x147df5=_0xd5ee09;if(this['_sessions'][_0x147df5(0x1cf)](_0x1ee488))return this[_0x147df5(0x2ec)][_0x147df5(0x41c)](_0x1ee488);this[_0x147df5(0x208)]();const _0x1c2e34=this['_injector'][_0x147df5(0x2de)](gt,_0x1ee488,this[_0x147df5(0x236)][_0x147df5(0x4cb)]());return this[_0x147df5(0x2ec)][_0x147df5(0x34e)](_0x1ee488,_0x1c2e34),_0x1c2e34;}[_0xd5ee09(0x499)](_0x4942d1){var _0x4f2aae=_0xd5ee09,_0x5ba002;const _0x18bd47=this['_sessions'][_0x4f2aae(0x41c)](_0x4942d1);_0x18bd47&&(this['_sessions']['delete'](_0x4942d1),_0x18bd47[_0x4f2aae(0x471)]()),this[_0x4f2aae(0x2ec)]['size']||(_0x5ba002=this[_0x4f2aae(0x37d)])==null||_0x5ba002[_0x4f2aae(0x471)]();}[_0xd5ee09(0x38e)](){var _0x2779e8=_0xd5ee09;this[_0x2779e8(0x261)]=0x0,this[_0x2779e8(0x25b)](),this[_0x2779e8(0x40d)]();}['_clearRetryConnectingTimer'](){var _0x37254a=_0xd5ee09;this[_0x37254a(0x33c)]!=null&&(clearTimeout(this[_0x37254a(0x33c)]),this[_0x37254a(0x33c)]=null);}async['_createSocket'](){var _0x43756b=_0xd5ee09,_0x57eea0,_0x13e2df;const _0x20a095=this[_0x43756b(0x311)]['getConfig'](gs),_0x36029d=this['_configService'][_0x43756b(0x2ae)](K),_0xe1ce21=(_0x13e2df=(_0x57eea0=_0x36029d==null?void 0x0:_0x36029d[_0x43756b(0x279)])!=null?_0x57eea0:_0x20a095)!=null?_0x13e2df:Ss,_0x2bbab5=await this[_0x43756b(0x435)][_0x43756b(0x30b)](_0xe1ce21);return this['_candidateSocket']=_0x2bbab5,_0x2bbab5;}async[_0xd5ee09(0x208)](){var _0x38359e=_0xd5ee09,_0x4204c5,_0x17fc17;try{const _0x31af9b=(_0x17fc17=(_0x4204c5=this[_0x38359e(0x37d)])!=null?_0x4204c5:this[_0x38359e(0x3bd)])!=null?_0x17fc17:await this[_0x38359e(0x4b6)]();if(_0x31af9b){const _0x2f2bb8=_0x31af9b['send'];_0x31af9b[_0x38359e(0x340)]=_0x2edadb=>(this[_0x38359e(0x453)](),_0x2f2bb8[_0x38359e(0x2eb)](_0x31af9b,[_0x2edadb])),_0x31af9b['message$'][_0x38359e(0x242)](_0x3c5fdb=>this[_0x38359e(0x3c9)](_0x31af9b,_0x3c5fdb)),_0x31af9b[_0x38359e(0x2e4)]['pipe'](_0x3065f8(0x1))[_0x38359e(0x242)](_0x46150e=>this[_0x38359e(0x422)][_0x38359e(0x363)](_0x38359e(0x490),_0x46150e)),_0x31af9b['open$'][_0x38359e(0x448)](_0x3065f8(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x31af9b);}),_0x31af9b[_0x38359e(0x35b)][_0x38359e(0x448)](_0x3065f8(0x1))[_0x38359e(0x242)](_0x22b735=>{var _0xf2d531=_0x38359e;this[_0xf2d531(0x422)][_0xf2d531(0x39d)](_0xf2d531(0x3e4),_0xf2d531(0x401),_0x22b735),this[_0xf2d531(0x248)]();});}}catch(_0x2d77b2){this[_0x38359e(0x422)][_0x38359e(0x363)](_0x2d77b2),this['_onConnectionFailed']();}}[_0xd5ee09(0x310)](_0x16d349){var _0xf18182=_0xd5ee09;this['_logService']['debug'](_0xf18182(0x3e4),_0xf18182(0x206)),_0x16d349[_0xf18182(0x340)]({'cmd':F['HELLO']}),this[_0xf18182(0x453)]();}[_0xd5ee09(0x4ae)](){var _0x2117fd=_0xd5ee09;this['_socketReady']=!0x1,this[_0x2117fd(0x3bd)]=null,this[_0x2117fd(0x35f)][_0x2117fd(0x465)](Se['OFFLINE']),this[_0x2117fd(0x236)][_0x2117fd(0x465)](null),this[_0x2117fd(0x213)](),this[_0x2117fd(0x3ec)]();}[_0xd5ee09(0x248)](){var _0x4ffa2c=_0xd5ee09,_0x66243a;this[_0x4ffa2c(0x4ae)](),this[_0x4ffa2c(0x261)]<((_0x66243a=this[_0x4ffa2c(0x311)][_0x4ffa2c(0x2ae)](Cs))!=null?_0x66243a:Rs)?(this[_0x4ffa2c(0x3b7)][_0x4ffa2c(0x48e)]({'id':ne[_0x4ffa2c(0x23e)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x4ffa2c(0x48e)]({'id':ne[_0x4ffa2c(0x441)]});}['_tryReconnect'](){var _0x58da38=_0xd5ee09,_0x2a8247;const _0x489887=this['_retryCount'],_0x56772c=this[_0x58da38(0x311)]['getConfig'](K),_0x4a8393=_0x489887===0x0?0x0:((_0x2a8247=_0x56772c==null?void 0x0:_0x56772c['retryConnectingInterval'])!=null?_0x2a8247:Ts)*0x2**_0x489887;this[_0x58da38(0x33c)]=setTimeout(()=>{var _0x1deefb=_0x58da38;clearTimeout(this[_0x1deefb(0x33c)]),this[_0x1deefb(0x33c)]=null,this[_0x1deefb(0x208)]();},_0x4a8393),this[_0x58da38(0x261)]+=0x1;}[_0xd5ee09(0x3c9)](_0x2726a0,_0x302e1b){var _0x5f5299=_0xd5ee09;const {cmd:_0x1ce1da}=_0x302e1b;_0x1ce1da===F['HELLO']&&!this[_0x5f5299(0x260)]&&(_0x2726a0[_0x5f5299(0x317)]=_0x302e1b['data'][_0x5f5299(0x317)],this[_0x5f5299(0x236)][_0x5f5299(0x465)](_0x2726a0),this[_0x5f5299(0x35f)]['next'](Se[_0x5f5299(0x265)]),this['_socketReady']=!0x0,this[_0x5f5299(0x3bd)]=null),_0x1ce1da===F[_0x5f5299(0x1ff)]&&this[_0x5f5299(0x213)](),this[_0x5f5299(0x453)]();}[_0xd5ee09(0x453)](){var _0x52cafb=_0xd5ee09,_0x4618fd;this[_0x52cafb(0x3ec)](),this[_0x52cafb(0x492)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4618fd=this[_0x52cafb(0x311)][_0x52cafb(0x2ae)](Es))!=null?_0x4618fd:Is);}[_0xd5ee09(0x27d)](){var _0x4087df=_0xd5ee09;this[_0x4087df(0x37d)][_0x4087df(0x340)]({'cmd':F[_0x4087df(0x1ff)]}),this[_0x4087df(0x320)]();}[_0xd5ee09(0x320)](){var _0x12b307=_0xd5ee09,_0x278973;this[_0x12b307(0x1e9)]=setTimeout(()=>this[_0x12b307(0x248)](),(_0x278973=this[_0x12b307(0x311)][_0x12b307(0x2ae)](fi))!=null?_0x278973:vi);}['_clearHeartbeatTimer'](){var _0x553a3b=_0xd5ee09;this[_0x553a3b(0x492)]!=null&&(clearTimeout(this[_0x553a3b(0x492)]),this[_0x553a3b(0x492)]=null);}[_0xd5ee09(0x213)](){var _0x479ab8=_0xd5ee09;this[_0x479ab8(0x1e9)]!=null&&(clearTimeout(this[_0x479ab8(0x1e9)]),this[_0x479ab8(0x1e9)]=null);}};Le=Gs([Re(0x0,_0x199fa9(_0x124e81)),Re(0x1,_0x142315),Re(0x2,_0x1c6f4e),Re(0x3,gi),Re(0x4,_0x199fa9(ve)),Re(0x5,_0x401b03(Us))],Le);const J=_0x49f103(_0xd5ee09(0x3f6));function Pr(_0x3ad74f){var _0x3f4c1d=_0xd5ee09;return _0x3f4c1d(0x3e2)+_0x3ad74f;}var Ws=Object[_0xd5ee09(0x43b)],Ys=(_0x44dfb5,_0x1b1745,_0x386cc2,_0x175c28)=>{for(var _0x46a8f7=_0x175c28>0x1?void 0x0:_0x175c28?Ws(_0x1b1745,_0x386cc2):_0x1b1745,_0x4bf6f9=_0x44dfb5['length']-0x1,_0x4fffd5;_0x4bf6f9>=0x0;_0x4bf6f9--)(_0x4fffd5=_0x44dfb5[_0x4bf6f9])&&(_0x46a8f7=_0x4fffd5(_0x46a8f7)||_0x46a8f7);return _0x46a8f7;},ut=(_0x5c442c,_0x3a13bc)=>(_0x2723bf,_0x1c00b3)=>_0x3a13bc(_0x2723bf,_0x1c00b3,_0x5c442c);function Ks(_0x1abf5c){var _0x3ac73c=_0xd5ee09;const {unitID:_0x5c0c11,mutations:_0xeb8a8b}=_0x1abf5c;return{'unitId':_0x5c0c11,'subUnitId':_0xeb8a8b[0x0][_0x3ac73c(0x460)][_0x3ac73c(0x379)]};}let it=class{constructor(_0x2e5ac7,_0x4f733d,_0x2273c3){var _0xbf31b4=_0xd5ee09;this[_0xbf31b4(0x234)]=_0x2e5ac7,this['_transformService']=_0x4f733d,this['_instanceService']=_0x2273c3;}[_0xd5ee09(0x1df)](_0x29ba1d){var _0x2afdbf=_0xd5ee09,_0x15f35e,_0x538cc2,_0x218f83,_0x4df772;const _0x32baaa=this[_0x2afdbf(0x234)]['get'](_0x357071),{unitId:_0x535d2,subUnitId:_0x788b8b}=Ks(_0x29ba1d),_0x232d50=_0x32baaa==null?void 0x0:_0x32baaa[_0x2afdbf(0x461)](_0x535d2)[_0x2afdbf(0x240)](),_0x4dafa4=(_0x538cc2=(_0x15f35e=this[_0x2afdbf(0x3d8)]['getUnit'](_0x535d2))==null?void 0x0:_0x15f35e[_0x2afdbf(0x4a2)]())==null?void 0x0:_0x538cc2[_0x2afdbf(0x4b9)]();if(_0x232d50[_0x2afdbf(0x3a7)]===0x0||!_0x535d2||!_0x788b8b)return;const _0x246dc2=[{'id':_0x4c6f4b['id'],'params':{'unitId':_0x535d2,'subUnitId':_0x4dafa4,'selections':_0x1506c2[_0x2afdbf(0x4b3)](_0x232d50)}}],_0x727172=this[_0x2afdbf(0x34b)][_0x2afdbf(0x203)](_0x29ba1d,_0x246dc2);if(!_0x267e97(_0x727172))throw _0x727172[_0x2afdbf(0x363)];const _0x1d544a=(_0x4df772=(_0x218f83=_0x727172[_0x2afdbf(0x268)][0x0])==null?void 0x0:_0x218f83[_0x2afdbf(0x460)])==null?void 0x0:_0x4df772[_0x2afdbf(0x315)];if(Array[_0x2afdbf(0x2fc)](_0x1d544a)&&_0x1d544a[_0x2afdbf(0x3a7)]){if(_0x1d544a['length']===_0x246dc2[0x0][_0x2afdbf(0x460)][_0x2afdbf(0x315)][_0x2afdbf(0x3a7)]&&_0x1d544a[_0x2afdbf(0x2f6)]((_0x1c2977,_0x24db04)=>_0x15fe34[_0x2afdbf(0x28b)](_0x1c2977[_0x2afdbf(0x302)],_0x246dc2[0x0][_0x2afdbf(0x460)][_0x2afdbf(0x315)][_0x24db04]['range'])))return;this[_0x2afdbf(0x234)][_0x2afdbf(0x41c)](_0x47befc)[_0x2afdbf(0x2e8)](_0x4c6f4b['id'],{'unitId':_0x535d2,'subUnitId':_0x4dafa4,'selections':_0x1d544a});}}};it=Ys([ut(0x0,_0x199fa9(_0x124e81)),ut(0x1,_0x4f8203),ut(0x2,_0x1eb849)],it);const ht=_0x49f103(_0xd5ee09(0x336));var Ei=(_0x466e38=>(_0x466e38[_0x466e38['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xd5ee09(0x314),_0x466e38[_0x466e38['OTHER_CLIENTS_EDITING']=0x1]=_0xd5ee09(0x258),_0x466e38))(Ei||{});const qs=new Set([_0x34ff22['id']]);function Wt(_0x59ee7c,_0xc5ce7,_0x2df123,_0x150465,_0x5c35ed){var _0x4b3984=_0xd5ee09,_0x4696ea,_0xc5b1a,_0x582488,_0x3be8e0;const _0x3104c0=[];for(const _0x5638c8 of _0x59ee7c)if(qs['has'](_0x5638c8['id'])){if(_0x3104c0['length']>0x0)break;_0x3104c0[_0x4b3984(0x29a)](_0x5638c8);break;}else _0x3104c0[_0x4b3984(0x29a)](_0x5638c8);const _0x9d76a9=(_0xc5b1a=(_0x4696ea=_0x5c35ed['getCurrentUser']())==null?void 0x0:_0x4696ea['userID'])!=null?_0xc5b1a:_0x4b3984(0x352),_0x36ce6c=(_0x3be8e0=(_0x582488=_0x5c35ed[_0x4b3984(0x32b)]())==null?void 0x0:_0x582488[_0x4b3984(0x317)])!=null?_0x3be8e0:'unknown';return{'changeset':{'unitID':_0xc5ce7,'type':_0x83968f(_0x2df123['getUnitType'](_0xc5ce7)),'baseRev':_0x150465[_0x4b3984(0x220)](_0xc5ce7),'revision':0x0,'userID':_0x9d76a9,'memberID':_0x36ce6c,'mutations':_0x3104c0},'pendingMutations':_0x59ee7c['slice'](_0x3104c0[_0x4b3984(0x3a7)])};}function zs(_0x5ab232,_0x518e7f,_0x51275a,_0x1d017a,_0x45a252){var _0x33d094=_0xd5ee09,_0x567981,_0x3cbf46,_0x321594,_0x449655;const _0x52d668=[_0x5ab232['reduce']((_0x52d9c4,_0xb18271)=>{var _0x513339=_0x7476,_0x5970ea;const {id:_0x202467}=_0x52d9c4,{id:_0x91d5ff,type:_0x207b34}=_0xb18271,_0x232e14=(_0x5970ea=_0x52d9c4[_0x513339(0x460)])!=null?_0x5970ea:{'actions':null},_0x31e431=_0xb18271[_0x513339(0x460)];if(_0x202467&&_0x202467!==_0x91d5ff)throw new Error(_0x513339(0x2f3)+_0x202467+_0x513339(0x30c)+_0x91d5ff+'.');return{..._0x52d9c4,'id':_0x91d5ff,'type':_0x207b34,'params':{'unitId':_0x31e431[_0x513339(0x319)],'textRanges':_0x31e431[_0x513339(0x3ad)],'actions':_0x502fbb[_0x513339(0x2d4)](_0x232e14[_0x513339(0x2a3)],_0x31e431[_0x513339(0x2a3)])}};},{})],_0x40546e=(_0x3cbf46=(_0x567981=_0x45a252[_0x33d094(0x32b)]())==null?void 0x0:_0x567981[_0x33d094(0x339)])!=null?_0x3cbf46:'unknown',_0x3e7bc6=(_0x449655=(_0x321594=_0x45a252[_0x33d094(0x32b)]())==null?void 0x0:_0x321594[_0x33d094(0x317)])!=null?_0x449655:_0x33d094(0x352);return{'changeset':{'unitID':_0x518e7f,'type':_0x83968f(_0x51275a['getUnitType'](_0x518e7f)),'baseRev':_0x1d017a['getCurrentRevOfUnit'](_0x518e7f),'revision':0x0,'userID':_0x40546e,'memberID':_0x3e7bc6,'mutations':_0x52d668},'pendingMutations':[]};}function Ii(_0xd89c62,_0x41040d){var _0x496157=_0xd5ee09;const _0x12e7b4=new _0x118b10(0x1);return setTimeout(()=>_0x12e7b4[_0x496157(0x465)](_0x41040d),_0xd89c62),_0x12e7b4['asObservable']()['pipe'](_0x419df9(0x1));}const Js={'id':_0x5e0bef['id'],'type':_0x7b2811[_0xd5ee09(0x3db)],'params':{}};var Xs=Object[_0xd5ee09(0x43b)],Ie=(_0x55a72d,_0x5564d,_0x3e83b5,_0x1a1712)=>{for(var _0x271b25=_0x1a1712>0x1?void 0x0:_0x1a1712?Xs(_0x5564d,_0x3e83b5):_0x5564d,_0x116787=_0x55a72d['length']-0x1,_0x167ff9;_0x116787>=0x0;_0x116787--)(_0x167ff9=_0x55a72d[_0x116787])&&(_0x271b25=_0x167ff9(_0x271b25)||_0x271b25);return _0x271b25;},P=(_0x9580fe,_0x23deaf)=>(_0x5888ba,_0x438bdd)=>_0x23deaf(_0x5888ba,_0x438bdd,_0x9580fe),Ti=(_0xc2d21e=>(_0xc2d21e[_0xd5ee09(0x2d5)]=_0xd5ee09(0x48a),_0xc2d21e[_0xd5ee09(0x399)]=_0xd5ee09(0x433),_0xc2d21e[_0xd5ee09(0x1de)]='pending',_0xc2d21e[_0xd5ee09(0x295)]=_0xd5ee09(0x482),_0xc2d21e[_0xd5ee09(0x47f)]=_0xd5ee09(0x497),_0xc2d21e[_0xd5ee09(0x26f)]=_0xd5ee09(0x31c),_0xc2d21e[_0xd5ee09(0x2ce)]=_0xd5ee09(0x49a),_0xc2d21e[_0xd5ee09(0x221)]=_0xd5ee09(0x294),_0xc2d21e))(Ti||{});const Ci=0xea60;class Te{constructor(_0x342772,_0x532033,_0x30f2e1,_0x37f90c,_0xd43c5f,_0x54b320,_0x4a18cb,_0x1f9d2e,_0x391d3d){var _0x2fb53f=_0xd5ee09;N(this,_0x2fb53f(0x2c5),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x342772,this[_0x2fb53f(0x328)]=_0x532033,this[_0x2fb53f(0x1f2)]=_0xd43c5f,this['_commandService']=_0x54b320,this[_0x2fb53f(0x40c)]=_0x4a18cb,this[_0x2fb53f(0x376)]=_0x1f9d2e,this[_0x2fb53f(0x34d)]=_0x391d3d,this['_awaitingChangeset']=_0x30f2e1,this[_0x2fb53f(0x250)]=_0x37f90c);}[_0xd5ee09(0x397)](_0x1567ed){var _0x17c476=_0xd5ee09;const _0x24afc5=this[_0x17c476(0x376)]['getCurrentRevOfUnit'](this[_0x17c476(0x446)]);return _0x1567ed[_0x17c476(0x436)]>_0x24afc5+0x1?(this['_handler'][_0x17c476(0x335)]({'from':_0x24afc5,'to':_0x1567ed[_0x17c476(0x436)]-0x1}),!0x0):!0x1;}[_0xd5ee09(0x457)](_0x15a3e5){var _0x518d04=_0xd5ee09;this[_0x518d04(0x40c)][_0x518d04(0x238)](this[_0x518d04(0x446)],_0x15a3e5);}['_transformSelections'](_0x350c43){var _0x52abfa=_0xd5ee09,_0x1501b5,_0x3595d1;(_0x3595d1=(_0x1501b5=this[_0x52abfa(0x1f2)])[_0x52abfa(0x419)])==null||_0x3595d1[_0x52abfa(0x4de)](_0x1501b5,_0x350c43);}['_transformIMECache'](_0x13b0f6){var _0x5e7038=_0xd5ee09,_0x16c89b,_0x2eccc6;return(_0x2eccc6=(_0x16c89b=this[_0x5e7038(0x1f2)])[_0x5e7038(0x493)])==null?void 0x0:_0x2eccc6[_0x5e7038(0x4de)](_0x16c89b,_0x13b0f6);}['_transformStateCache'](_0xeb1d13){var _0x47cfa7=_0xd5ee09,_0x33552b,_0x5012c3;return(_0x5012c3=(_0x33552b=this[_0x47cfa7(0x1f2)])[_0x47cfa7(0x49b)])==null?void 0x0:_0x5012c3[_0x47cfa7(0x4de)](_0x33552b,_0xeb1d13);}[_0xd5ee09(0x1e0)](_0x241696){var _0x5bb89d=_0xd5ee09,_0x459845,_0x1228bd,_0x41200f;return(_0x41200f=(_0x1228bd=(_0x459845=this[_0x5bb89d(0x1f2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1228bd['call'](_0x459845,_0x241696))!=null?_0x41200f:_0x241696;}[_0xd5ee09(0x45c)](_0xfb1f91){var _0x15f402=_0xd5ee09,_0x14d64e,_0x4c2dd5,_0x155e2f;return(_0x155e2f=(_0x4c2dd5=(_0x14d64e=this[_0x15f402(0x1f2)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c2dd5[_0x15f402(0x4de)](_0x14d64e,_0xfb1f91))!=null?_0x155e2f:_0xfb1f91;}['_syncEditingCollabCursor'](_0x2dc941){var _0x71730d=_0xd5ee09,_0x5525c8,_0x504ed9;if(this[_0x71730d(0x328)]===Z[_0x71730d(0x324)]){const {unitID:_0x3ff293,mutations:_0x26cb13,memberID:_0x2f5972}=_0x2dc941,_0x35b47f=_0x26cb13[0x0]['params'][_0x71730d(0x3ad)];Array[_0x71730d(0x2fc)](_0x35b47f)&&_0x35b47f['length']>0x0&&((_0x504ed9=(_0x5525c8=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x504ed9[_0x71730d(0x4de)](_0x5525c8,{'unitID':_0x3ff293,'memberID':_0x2f5972,'textRanges':_0x35b47f}));}}['_updateLocalCache'](){var _0x1c977c=_0xd5ee09,_0x4bba8e;(_0x4bba8e=this[_0x1c977c(0x34d)])==null||_0x4bba8e[_0x1c977c(0x46c)](this[_0x1c977c(0x446)],this[_0x1c977c(0x328)],this[_0x1c977c(0x2c5)],this['_pendingMutations']);}[_0xd5ee09(0x3c7)](){var _0x47102a=_0xd5ee09;return this[_0x47102a(0x376)][_0x47102a(0x220)](this[_0x47102a(0x446)]);}['_incrementRevisionNumber'](){var _0x36a4f3=_0xd5ee09;this[_0x36a4f3(0x376)][_0x36a4f3(0x494)](this['unitID']);}[_0xd5ee09(0x428)](_0x49a0df){var _0x4881a0=_0xd5ee09,_0x540a81;let _0x522f29=this[_0x4881a0(0x1e0)](_0x49a0df);_0x522f29=this[_0x4881a0(0x45c)](_0x522f29);const _0x407f2b=_0x1f1a35(_0x522f29[_0x4881a0(0x21c)],this[_0x4881a0(0x3ca)],{'fromCollab':!0x0});if(!_0x407f2b[_0x4881a0(0x226)])throw _0x407f2b[_0x4881a0(0x363)]instanceof Error?_0x407f2b[_0x4881a0(0x363)]:new Error((_0x540a81=_0x407f2b[_0x4881a0(0x363)])!=null?_0x540a81:_0x4881a0(0x2bb));this[_0x4881a0(0x24d)](_0x522f29),this[_0x4881a0(0x207)](_0x522f29),this[_0x4881a0(0x457)](_0x49a0df),this[_0x4881a0(0x2a7)](_0x522f29),this['_syncEditingCollabCursor'](_0x522f29),this[_0x4881a0(0x27c)]();}}let ye=class extends Te{constructor(_0x23fa12,_0x6eaf3e,_0x149213,_0x351292,_0x25d83c,_0xff75f3,_0x49f78d,_0x5a4b1b,_0x5a4fcc,_0x591cd6){var _0x57e153=_0xd5ee09;super(_0x23fa12,_0x6eaf3e,null,[],_0x149213,_0x49f78d,_0xff75f3,_0x351292,_0x591cd6),N(this,_0x57e153(0x2b0),'synced'),(this['_injector']=_0x25d83c,this[_0x57e153(0x422)]=_0x5a4b1b,this[_0x57e153(0x34b)]=_0x5a4fcc,this[_0x57e153(0x45a)]=_0x591cd6);}[_0xd5ee09(0x2a0)](_0x148db0){var _0x43ca04=_0xd5ee09;const _0x354672=this[_0x43ca04(0x234)][_0x43ca04(0x2de)](re,this[_0x43ca04(0x446)],this[_0x43ca04(0x328)],[_0x148db0],this['_handler']);return _0x354672['_schedule'](),_0x354672[_0x43ca04(0x2a9)](),_0x354672;}[_0xd5ee09(0x470)](_0x52b26a){var _0x3cded0=_0xd5ee09;if(this[_0x3cded0(0x397)](_0x52b26a))return this[_0x3cded0(0x234)]['createInstance'](Q,this[_0x3cded0(0x446)],this['type'],null,[],null,[_0x52b26a],this[_0x3cded0(0x1f2)]);try{const _0x2a174e=this[_0x3cded0(0x34b)][_0x3cded0(0x203)](_0x52b26a,[Js]);if(_0x267e97(_0x2a174e)){const {c1Prime:_0x36cec2}=_0x2a174e;return this['_executeRemoteChangeset'](_0x36cec2),this;}throw _0x2a174e[_0x3cded0(0x363)];}catch(_0x4bf9c2){return this[_0x3cded0(0x422)]['error'](_0x4bf9c2),this[_0x3cded0(0x23f)](!0x1);}}['_onConflict'](_0x1e40b0){var _0x200540=_0xd5ee09;return this[_0x200540(0x234)][_0x200540(0x2de)](le,this['unitID'],this[_0x200540(0x328)],null,[],this['_handler'],_0x1e40b0);}['onRemoteAck'](){var _0x3387e1=_0xd5ee09;throw new Error(_0x3387e1(0x38c));}[_0xd5ee09(0x396)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xd5ee09(0x39f)](){var _0x7804d9=_0xd5ee09;return this[_0x7804d9(0x234)][_0x7804d9(0x2de)](ue,this[_0x7804d9(0x446)],this[_0x7804d9(0x328)],null,[],this[_0x7804d9(0x1f2)]);}['toggleOnline'](){return this;}[_0xd5ee09(0x3c8)](){var _0x1c7eee=_0xd5ee09;throw new Error(_0x1c7eee(0x388));}[_0xd5ee09(0x1d0)](){var _0x342cde=_0xd5ee09;const _0x6ee9c0=this[_0x342cde(0x376)]['getCurrentRevOfUnit'](this[_0x342cde(0x446)]);return this['_handler'][_0x342cde(0x335)]({'from':_0x6ee9c0,'to':0x0}),this[_0x342cde(0x234)]['createInstance'](Q,this[_0x342cde(0x446)],this['type'],null,[],null,[],this[_0x342cde(0x1f2)]);}};ye=Ie([P(0x3,_0x199fa9(_0x5a2a9b)),P(0x4,_0x199fa9(_0x124e81)),P(0x5,_0x2585d4),P(0x6,_0x47befc),P(0x7,_0x142315),P(0x8,_0x4f8203),P(0x9,_0x401b03(J))],ye);let re=class extends Te{constructor(_0x2dd59c,_0x2524ae,_0x5dc755,_0x22a16b,_0x10b44e,_0x530d08,_0x10066c,_0x3b89a2,_0x14c2fc,_0x3f6459,_0x118a4d,_0x531dd1,_0x33e287,_0xcf4bd6){var _0x4b2325=_0xd5ee09;super(_0x2dd59c,_0x2524ae,null,_0x5dc755,_0x22a16b,_0x14c2fc,_0x33e287,_0x530d08,_0xcf4bd6),N(this,_0x4b2325(0x2b0),_0x4b2325(0x2e6)),N(this,_0x4b2325(0x390),null),N(this,'_sendingTimer',null),(this[_0x4b2325(0x234)]=_0x10b44e,this[_0x4b2325(0x47e)]=_0x10066c,this['_logService']=_0x3b89a2,this['_configService']=_0x3f6459,this['_transformService']=_0x118a4d,this[_0x4b2325(0x45f)]=_0x531dd1);}['appendMutation'](_0x56acdd){var _0x20dc8c=_0xd5ee09;return this['_pendingMutations'][_0x20dc8c(0x29a)](_0x56acdd),this[_0x20dc8c(0x2a9)](),this;}['onRemoteChangeset'](_0x3c7cac){var _0x3c1264=_0xd5ee09;if(this['_checkMissing'](_0x3c7cac))return this['_clearScheduledTask'](),this[_0x3c1264(0x234)][_0x3c1264(0x2de)](Q,this[_0x3c1264(0x446)],this[_0x3c1264(0x328)],null,this[_0x3c1264(0x250)],null,[_0x3c7cac],this[_0x3c1264(0x1f2)]);try{const _0x5e6f36=this[_0x3c1264(0x34b)]['transformMutationsWithChangeset'](_0x3c7cac,this[_0x3c1264(0x250)]);if(_0x267e97(_0x5e6f36)){const {c1Prime:_0xa598c2,m2Prime:_0x4badd2}=_0x5e6f36;this['_executeRemoteChangeset'](_0xa598c2);const _0x28b4b1=this[_0x3c1264(0x234)][_0x3c1264(0x2de)](re,this[_0x3c1264(0x446)],this[_0x3c1264(0x328)],_0x4badd2,this[_0x3c1264(0x1f2)]);this[_0x3c1264(0x39c)]();const _0x4cbff4=new Date()[_0x3c1264(0x1d3)](),_0x40a53b=this[_0x3c1264(0x390)]?Math['max'](this[_0x3c1264(0x390)]-_0x4cbff4,0x0):this['_getSendChangesetTimeout']();return _0x28b4b1[_0x3c1264(0x476)](_0x40a53b),_0x28b4b1;}throw _0x5e6f36['error'];}catch(_0x264f3f){return this[_0x3c1264(0x422)]['error'](_0x264f3f),this['_onConflict'](!0x1);}}[_0xd5ee09(0x2cb)](){var _0x5e837a=_0xd5ee09;throw new Error(_0x5e837a(0x349));}[_0xd5ee09(0x396)](){var _0x2c6a60=_0xd5ee09;throw new Error(_0x2c6a60(0x31b));}[_0xd5ee09(0x2ba)](){return this;}['toggleOffline'](){var _0x4f167c=_0xd5ee09;return this[_0x4f167c(0x39c)](),this[_0x4f167c(0x234)]['createInstance'](ue,this[_0x4f167c(0x446)],this[_0x4f167c(0x328)],null,this['_pendingMutations'],this[_0x4f167c(0x1f2)]);}[_0xd5ee09(0x2c2)](){return this;}[_0xd5ee09(0x476)](_0x5d9e3c){var _0x48cd8f=_0xd5ee09;const _0x1a5d79=_0x5d9e3c!=null?_0x5d9e3c:this[_0x48cd8f(0x288)]();this[_0x48cd8f(0x390)]=new Date()[_0x48cd8f(0x1d3)]()+_0x1a5d79,this[_0x48cd8f(0x229)]=setTimeout(()=>{var _0x23dbd3=_0x48cd8f;this['_clearScheduledTask']();let _0x3be88f=null;switch(this['type']){case Z[_0x23dbd3(0x409)]:{_0x3be88f=Wt(this[_0x23dbd3(0x250)],this[_0x23dbd3(0x446)],this[_0x23dbd3(0x45f)],this[_0x23dbd3(0x376)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this[_0x23dbd3(0x250)][_0x23dbd3(0x2f6)](_0x4a2afe=>_0x4a2afe['id']===_0x9da716['id'])?_0x3be88f=zs(this[_0x23dbd3(0x250)],this[_0x23dbd3(0x446)],this['_univerInstanceService'],this[_0x23dbd3(0x376)],this[_0x23dbd3(0x47e)]):_0x3be88f=Wt(this[_0x23dbd3(0x250)],this[_0x23dbd3(0x446)],this[_0x23dbd3(0x45f)],this[_0x23dbd3(0x376)],this[_0x23dbd3(0x47e)]);break;}default:throw new Error(_0x23dbd3(0x3da)+this['type']+_0x23dbd3(0x304));}const {changeset:_0x43de07,pendingMutations:_0x29230a}=_0x3be88f;this[_0x23dbd3(0x1f2)]['onSendChangeset'](_0x43de07);const _0x18039a=_0x29230a['length']?this[_0x23dbd3(0x234)][_0x23dbd3(0x2de)](ae,this[_0x23dbd3(0x446)],this[_0x23dbd3(0x328)],_0x43de07,_0x29230a,this[_0x23dbd3(0x1f2)],void 0x0):this[_0x23dbd3(0x234)][_0x23dbd3(0x2de)](_e,this[_0x23dbd3(0x446)],this[_0x23dbd3(0x328)],_0x43de07,this[_0x23dbd3(0x1f2)]);_0x18039a[_0x23dbd3(0x2a9)](),this[_0x23dbd3(0x1f2)][_0x23dbd3(0x4ba)](this,_0x18039a);},_0x1a5d79);}[_0xd5ee09(0x288)](){var _0x2dc246=_0xd5ee09,_0x1f194b;const _0x2aa6b6=this[_0x2dc246(0x311)][_0x2dc246(0x2ae)](K);return(_0x1f194b=_0x2aa6b6==null?void 0x0:_0x2aa6b6[_0x2dc246(0x2f9)])!=null?_0x1f194b:ms;}['resend'](){var _0x3d2b40=_0xd5ee09;throw new Error(_0x3d2b40(0x202));}[_0xd5ee09(0x39c)](){var _0x5870c2=_0xd5ee09;this[_0x5870c2(0x229)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5870c2(0x229)]=null);}[_0xd5ee09(0x23f)](_0x617699){var _0x5d1306=_0xd5ee09;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this[_0x5d1306(0x446)],this['type'],null,this[_0x5d1306(0x250)],this[_0x5d1306(0x1f2)],_0x617699);}};re=Ie([P(0x4,_0x199fa9(_0x124e81)),P(0x5,_0x199fa9(_0x5a2a9b)),P(0x6,_0x199fa9(Pe)),P(0x7,_0x142315),P(0x8,_0x47befc),P(0x9,_0x1c6f4e),P(0xa,_0x4f8203),P(0xb,_0x1eb849),P(0xc,_0x2585d4),P(0xd,_0x401b03(J))],re);let _e=class extends Te{constructor(_0x1e34a4,_0x27773d,_0x40011c,_0x2cd946,_0x5cbf83,_0x7266e3,_0x234e28,_0x4165d3,_0x2bd2bb,_0x3811ae,_0x430a7c){var _0x5b7f7c=_0xd5ee09;super(_0x1e34a4,_0x27773d,_0x40011c,[],_0x2cd946,_0x234e28,_0x3811ae,_0x7266e3,_0x430a7c),N(this,_0x5b7f7c(0x2b0),_0x5b7f7c(0x482)),N(this,_0x5b7f7c(0x2d8),0x0),N(this,_0x5b7f7c(0x3e3)),N(this,'_sender'),(this['_injector']=_0x5cbf83,this[_0x5b7f7c(0x422)]=_0x4165d3,this[_0x5b7f7c(0x34b)]=_0x2bd2bb);}[_0xd5ee09(0x2a0)](_0x38d668){var _0x32a78b=_0xd5ee09;this[_0x32a78b(0x39c)]();const _0x8c5d1d=this[_0x32a78b(0x234)][_0x32a78b(0x2de)](ae,this[_0x32a78b(0x446)],this[_0x32a78b(0x328)],this[_0x32a78b(0x2c5)],[_0x38d668],this[_0x32a78b(0x1f2)],this[_0x32a78b(0x3e3)]);return _0x8c5d1d[_0x32a78b(0x2a9)](),_0x8c5d1d;}[_0xd5ee09(0x470)](_0x2dde37){var _0x7f7517=_0xd5ee09;if(this[_0x7f7517(0x397)](_0x2dde37))return this[_0x7f7517(0x39c)](),this[_0x7f7517(0x234)]['createInstance'](Q,this[_0x7f7517(0x446)],this[_0x7f7517(0x328)],this['_awaitingChangeset'],[],null,[_0x2dde37],this[_0x7f7517(0x1f2)]);try{const _0x542d6d=this[_0x7f7517(0x34b)][_0x7f7517(0x29f)]([_0x2dde37],[this[_0x7f7517(0x2c5)]],!0x1);if(_0x158657(_0x542d6d)){const {c1Prime:_0x41718b,c2Prime:_0x15aec4}=_0x542d6d;this[_0x7f7517(0x428)](_0x41718b[0x0]),_0x15aec4[0x0][_0x7f7517(0x2fd)]=this['_getCurrentRevision'](),this[_0x7f7517(0x39c)]();const _0x178c8b=this[_0x7f7517(0x234)]['createInstance'](_e,this[_0x7f7517(0x446)],this[_0x7f7517(0x328)],_0x15aec4[0x0],this[_0x7f7517(0x1f2)]);return _0x178c8b['_updateLocalCache'](),_0x178c8b;}return this[_0x7f7517(0x23f)](!0x1);}catch(_0x4d1809){return this['_logService'][_0x7f7517(0x363)](_0x4d1809),this[_0x7f7517(0x23f)](!0x1);}}['onRemoteAck'](_0x51aa5c){var _0x5299ef=_0xd5ee09;this[_0x5299ef(0x39c)]();const _0x505f5d=this[_0x5299ef(0x376)][_0x5299ef(0x220)](this[_0x5299ef(0x446)]);if(_0x51aa5c['revision']<_0x505f5d-0x1)return this;if(this['_checkMissing'](_0x51aa5c))return this[_0x5299ef(0x234)][_0x5299ef(0x2de)](Q,this[_0x5299ef(0x446)],this[_0x5299ef(0x328)],null,[],this[_0x5299ef(0x2c5)],[],this[_0x5299ef(0x1f2)]);this[_0x5299ef(0x27c)]();const _0x5971de=this[_0x5299ef(0x234)]['createInstance'](ye,this['unitID'],this[_0x5299ef(0x328)],this[_0x5299ef(0x1f2)]);return _0x5971de[_0x5299ef(0x2a9)](),_0x5971de;}['onRemoteRej'](_0x5130b4){var _0x52f868=_0xd5ee09;return this[_0x52f868(0x23f)](!!(_0x5130b4!=null&&_0x5130b4[_0x52f868(0x282)]));}[_0xd5ee09(0x2ba)](_0x2c674e){var _0x402c2c=_0xd5ee09;return this[_0x402c2c(0x2d8)]>Ci?this[_0x402c2c(0x39f)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this[_0x402c2c(0x2d8)],'reqId':_0x2c674e[_0x402c2c(0x34f)]}),this[_0x402c2c(0x3d7)]=this[_0x402c2c(0x3e3)]['subscribe'](({reqId:_0x55a460,timeout:_0x286b22})=>{var _0x3c5c64=_0x402c2c;this[_0x3c5c64(0x4d3)](_0x55a460,_0x286b22);}),this);}[_0xd5ee09(0x39f)](){var _0x55baef=_0xd5ee09;return this[_0x55baef(0x39c)](),this[_0x55baef(0x234)]['createInstance'](ue,this[_0x55baef(0x446)],this[_0x55baef(0x328)],this['_awaitingChangeset'],[],this[_0x55baef(0x1f2)]);}[_0xd5ee09(0x2c2)](){return this;}[_0xd5ee09(0x3c8)](){var _0xb08adc=_0xd5ee09;this[_0xb08adc(0x1f2)][_0xb08adc(0x341)](this['_awaitingChangeset']);}[_0xd5ee09(0x23f)](_0x54303d){var _0x2e69ad=_0xd5ee09;return this[_0x2e69ad(0x39c)](),this['_injector'][_0x2e69ad(0x2de)](le,this[_0x2e69ad(0x446)],this[_0x2e69ad(0x328)],this['_awaitingChangeset'],[],this[_0x2e69ad(0x1f2)],_0x54303d);}[_0xd5ee09(0x4d3)](_0x33916a,_0x4ee315){var _0x2326c0=_0xd5ee09,_0x14ff9e;_0x33916a===((_0x14ff9e=this[_0x2326c0(0x2c5)])==null?void 0x0:_0x14ff9e[_0x2326c0(0x34f)])&&(this['resend'](),this[_0x2326c0(0x2d8)]=_0x4ee315===0x0?0x3e8:_0x4ee315*0x2);}['_clearScheduledTask'](){var _0x2ecffb=_0xd5ee09,_0x22821a;(_0x22821a=this[_0x2ecffb(0x3d7)])==null||_0x22821a['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x199fa9(_0x124e81)),P(0x5,_0x199fa9(_0x5a2a9b)),P(0x6,_0x47befc),P(0x7,_0x142315),P(0x8,_0x4f8203),P(0x9,_0x2585d4),P(0xa,_0x401b03(J))],_e);let ae=class extends Te{constructor(_0x57d73e,_0x41f834,_0x14ce6b,_0x27c876,_0x2c1d10,_0x3513d7,_0x567d4b,_0x112985,_0x51f962,_0xe0aba,_0x3a94cd,_0x552f74,_0x118395){var _0x3daa2e=_0xd5ee09;super(_0x57d73e,_0x41f834,_0x14ce6b,_0x27c876,_0x2c1d10,_0x51f962,_0x552f74,_0x112985,_0x118395),N(this,_0x3daa2e(0x2b0),'awaiting_with_pending'),N(this,_0x3daa2e(0x2d8),0x0),N(this,_0x3daa2e(0x3e3)),N(this,_0x3daa2e(0x3d7)),(this[_0x3daa2e(0x234)]=_0x567d4b,this[_0x3daa2e(0x422)]=_0xe0aba,this[_0x3daa2e(0x34b)]=_0x3a94cd,this[_0x3daa2e(0x45a)]=_0x118395,_0x3513d7&&(this[_0x3daa2e(0x3e3)]=_0x3513d7,this['_sender']=this['_resendTimer'][_0x3daa2e(0x242)](({reqId:_0x526cfc,timeout:_0x514646})=>{var _0x1a703e=_0x3daa2e;this[_0x1a703e(0x4d3)](_0x526cfc,_0x514646);})));}['appendMutation'](_0xcf468c){var _0xf7fb82=_0xd5ee09;return this[_0xf7fb82(0x250)][_0xf7fb82(0x29a)](_0xcf468c),this;}[_0xd5ee09(0x470)](_0x4456f5){var _0x4b06e8=_0xd5ee09;if(this['_checkMissing'](_0x4456f5))return this['_clearScheduledTask'](),this[_0x4b06e8(0x234)]['createInstance'](Q,this[_0x4b06e8(0x446)],this[_0x4b06e8(0x328)],this[_0x4b06e8(0x2c5)],this[_0x4b06e8(0x250)],null,[_0x4456f5],this['_handler']);try{const _0xc28142=this[_0x4b06e8(0x34b)][_0x4b06e8(0x29f)]([_0x4456f5],[this['_awaitingChangeset']],!0x1);if(_0x158657(_0xc28142)){const {c1Prime:_0x39226a,c2Prime:_0x5c52fb}=_0xc28142,_0x133f10=this[_0x4b06e8(0x34b)][_0x4b06e8(0x203)](_0x39226a[0x0],this[_0x4b06e8(0x250)]);if(_0x267e97(_0x133f10)){const {c1Prime:_0x3c421c,m2Prime:_0x29ceb0}=_0x133f10;return this[_0x4b06e8(0x428)](_0x3c421c),_0x5c52fb[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x4b06e8(0x39c)](),this[_0x4b06e8(0x234)][_0x4b06e8(0x2de)](ae,this['unitID'],this[_0x4b06e8(0x328)],_0x5c52fb[0x0],_0x29ceb0,this[_0x4b06e8(0x1f2)],void 0x0);}throw _0x133f10[_0x4b06e8(0x363)];}throw _0xc28142['error'];}catch(_0x58bbf4){return this[_0x4b06e8(0x422)][_0x4b06e8(0x363)](_0x58bbf4),this[_0x4b06e8(0x23f)](!0x1);}}[_0xd5ee09(0x2cb)](_0x44947f){var _0x5af8b1=_0xd5ee09;if(this[_0x5af8b1(0x39c)](),this[_0x5af8b1(0x397)](_0x44947f))return this[_0x5af8b1(0x234)]['createInstance'](Q,this[_0x5af8b1(0x446)],this[_0x5af8b1(0x328)],null,this[_0x5af8b1(0x250)],this[_0x5af8b1(0x2c5)],[],this['_handler']);this[_0x5af8b1(0x27c)]();const _0x3b934a=this[_0x5af8b1(0x234)][_0x5af8b1(0x2de)](re,this['unitID'],this[_0x5af8b1(0x328)],this[_0x5af8b1(0x250)],this[_0x5af8b1(0x1f2)]);return _0x3b934a[_0x5af8b1(0x476)](),_0x3b934a[_0x5af8b1(0x2a9)](),_0x3b934a;}['onRemoteRej'](_0x4c50e3){var _0x419ee1=_0xd5ee09;return this[_0x419ee1(0x23f)](!!(_0x4c50e3!=null&&_0x4c50e3['isPermissionRej']));}['onRemoteRetry'](_0x2055ca){var _0x4ba496=_0xd5ee09;return this[_0x4ba496(0x2d8)]>Ci?this[_0x4ba496(0x39f)]():(this[_0x4ba496(0x3e3)]=Ii(this[_0x4ba496(0x2d8)],{'timeout':this[_0x4ba496(0x2d8)],'reqId':_0x2055ca[_0x4ba496(0x34f)]}),this[_0x4ba496(0x3d7)]=this[_0x4ba496(0x3e3)][_0x4ba496(0x242)](({reqId:_0x329ca1,timeout:_0x1a8434})=>{var _0x322398=_0x4ba496;this[_0x322398(0x4d3)](_0x329ca1,_0x1a8434);}),this);}['toggleOffline'](){var _0x564866=_0xd5ee09;return this['_clearScheduledTask'](),this['_injector'][_0x564866(0x2de)](ue,this[_0x564866(0x446)],this[_0x564866(0x328)],this[_0x564866(0x2c5)],this['_pendingMutations'],this['_handler']);}[_0xd5ee09(0x2c2)](){return this;}[_0xd5ee09(0x3c8)](){var _0x592fd9=_0xd5ee09;this[_0x592fd9(0x1f2)][_0x592fd9(0x341)](this[_0x592fd9(0x2c5)]);}['_onConflict'](_0x53e2a5){var _0x38fd3b=_0xd5ee09;return this[_0x38fd3b(0x39c)](),this[_0x38fd3b(0x234)][_0x38fd3b(0x2de)](le,this[_0x38fd3b(0x446)],this['type'],null,this[_0x38fd3b(0x250)],this[_0x38fd3b(0x1f2)],_0x53e2a5);}[_0xd5ee09(0x4d3)](_0x1c8e22,_0xafff67){var _0x4d5a94=_0xd5ee09,_0x2c094a;_0x1c8e22===((_0x2c094a=this[_0x4d5a94(0x2c5)])==null?void 0x0:_0x2c094a[_0x4d5a94(0x34f)])&&(this[_0x4d5a94(0x3c8)](),this[_0x4d5a94(0x2d8)]=_0xafff67===0x0?0x3e8:_0xafff67*0x2);}[_0xd5ee09(0x39c)](){var _0x3ea943=_0xd5ee09,_0x592f03;(_0x592f03=this[_0x3ea943(0x3d7)])==null||_0x592f03[_0x3ea943(0x211)](),this[_0x3ea943(0x2d8)]=0x0;}};ae=Ie([P(0x6,_0x199fa9(_0x124e81)),P(0x7,_0x199fa9(_0x5a2a9b)),P(0x8,_0x47befc),P(0x9,_0x142315),P(0xa,_0x4f8203),P(0xb,_0x2585d4),P(0xc,_0x401b03(J))],ae);let le=class extends Te{constructor(_0x54970e,_0x5b2971,_0x137421,_0x5bfba7,_0x1ea5d3,_0x115610=!0x1,_0x21430e,_0x4b1cd1,_0x378d8d,_0x2d92ef,_0x241795,_0x18fede,_0xea5c9d){var _0x2d8496=_0xd5ee09;super(_0x54970e,_0x5b2971,_0x137421,_0x5bfba7,_0x1ea5d3,_0x4b1cd1,_0x378d8d,_0x2d92ef,_0xea5c9d),N(this,'status',_0x2d8496(0x49a)),(this[_0x2d8496(0x3d6)]=_0x115610,this['_permissionService']=_0x21430e,this['_localeService']=_0x241795,this['_collaborationUIEventService']=_0x18fede,this['localCacheService']=_0xea5c9d,this['_showConflictNotification'](),this[_0x2d8496(0x410)](),this[_0x2d8496(0x489)]());}[_0xd5ee09(0x2a0)](){return this;}[_0xd5ee09(0x470)](){return this;}[_0xd5ee09(0x2cb)](){return this;}[_0xd5ee09(0x396)](){return this;}[_0xd5ee09(0x2ba)](){return this;}[_0xd5ee09(0x39f)](){return this;}[_0xd5ee09(0x2c2)](){return this;}['resend'](){var _0x20a262=_0xd5ee09;throw new Error(_0x20a262(0x1cb));}[_0xd5ee09(0x410)](){var _0x406013=_0xd5ee09,_0x29e51b;(_0x29e51b=this['_localCacheService'])==null||_0x29e51b[_0x406013(0x46c)](this[_0x406013(0x446)],this[_0x406013(0x328)],null,[]);}[_0xd5ee09(0x385)](){var _0x2621d0=_0xd5ee09;this[_0x2621d0(0x3d6)]?this[_0x2621d0(0x3b7)][_0x2621d0(0x48e)]({'id':ne[_0x2621d0(0x267)]}):this[_0x2621d0(0x3b7)][_0x2621d0(0x48e)]({'id':ne[_0x2621d0(0x2ce)]});}[_0xd5ee09(0x489)](){var _0x280431=_0xd5ee09;this[_0x280431(0x345)][_0x280431(0x2ed)](new _0x391ed6(this[_0x280431(0x446)])['id'],!0x1);}};le=Ie([P(0x6,_0x199fa9(_0x14230b)),P(0x7,_0x47befc),P(0x8,_0x2585d4),P(0x9,_0x199fa9(_0x5a2a9b)),P(0xa,_0x199fa9(_0x5cb077)),P(0xb,_0x199fa9(ve)),P(0xc,_0x401b03(J))],le);let ue=class extends Te{constructor(_0x3d4b79,_0x5a856f,_0x357383,_0x2a3b38,_0x37e883,_0x253b21,_0x2811ad,_0x58e8e0,_0x5b8a35,_0x2e43a3){var _0x471206=_0xd5ee09;super(_0x3d4b79,_0x5a856f,_0x357383,_0x2a3b38,_0x37e883,_0x58e8e0,_0x5b8a35,_0x2811ad,_0x2e43a3),N(this,_0x471206(0x2b0),'offline'),this[_0x471206(0x234)]=_0x253b21;}[_0xd5ee09(0x2a0)](_0x2f037c){var _0x427185=_0xd5ee09;return this[_0x427185(0x250)][_0x427185(0x29a)](_0x2f037c),this[_0x427185(0x2a9)](),this;}['onRemoteChangeset'](_0x314b41){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xd5ee09(0x2cb)](){var _0x55e023=_0xd5ee09;throw new Error(_0x55e023(0x447));}[_0xd5ee09(0x396)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0xd5ee09(0x2c2)](){var _0xbe5f71=_0xd5ee09;const {_injector:_0x2fe944,_pendingMutations:_0xbf6d59,_awaitingChangeset:_0x2d8301,unitID:_0x2feda3,_handler:_0x4d0ee1,type:_0x388eee}=this,_0x39eb2b=Ri(_0x2fe944,_0x2feda3,_0x388eee,_0x2d8301,_0xbf6d59,_0x4d0ee1);return _0x39eb2b instanceof re?_0x39eb2b[_0xbe5f71(0x476)]():(_0x39eb2b instanceof ae||_0x39eb2b instanceof _e)&&_0x39eb2b[_0xbe5f71(0x3c8)](),_0x39eb2b;}[_0xd5ee09(0x3c8)](){var _0x4e198c=_0xd5ee09;throw new Error(_0x4e198c(0x2d6));}};ue=Ie([P(0x5,_0x199fa9(_0x124e81)),P(0x6,_0x199fa9(_0x5a2a9b)),P(0x7,_0x47befc),P(0x8,_0x2585d4),P(0x9,_0x401b03(J))],ue);let Q=class extends Te{constructor(_0x80c856,_0x4cd5f7,_0xc46006,_0x453162,_0x2a7aea,_0x326329,_0x3bb7ab,_0x7946c4,_0x3251a1,_0x32f94e,_0x1274fa,_0x1f734c,_0x130953,_0x2d1a39){var _0x5a9677=_0xd5ee09;super(_0x80c856,_0x4cd5f7,_0xc46006,_0x453162,_0x3bb7ab,_0x1274fa,_0x1f734c,_0x3251a1,_0x2d1a39),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x2a7aea,this[_0x5a9677(0x28f)]=_0x326329,this[_0x5a9677(0x234)]=_0x7946c4,this[_0x5a9677(0x422)]=_0x32f94e,this['_transformService']=_0x130953,this[_0x5a9677(0x45a)]=_0x2d1a39);}[_0xd5ee09(0x3c0)](_0x500bd8){var _0x45edf1=_0xd5ee09;try{const _0x1bbfef=[..._0x500bd8,...this['_queuedRemoteChangesets']],_0x1bff62=[this[_0x45edf1(0x2c5)]||this[_0x45edf1(0x452)]][_0x45edf1(0x21b)](_0x155b0c=>!!_0x155b0c);let _0x3ec0b5,_0x3de617;if(_0x1bff62[_0x45edf1(0x3a7)]){const _0x548b52=this[_0x45edf1(0x34b)][_0x45edf1(0x29f)](_0x1bbfef,_0x1bff62,!0x1);if(!_0x158657(_0x548b52))throw _0x548b52[_0x45edf1(0x363)];_0x3ec0b5=_0x548b52[_0x45edf1(0x483)],_0x3de617=_0x548b52[_0x45edf1(0x1da)];}else _0x3ec0b5=_0x1bbfef,_0x3de617=[];let _0x26c6b8=this[_0x45edf1(0x250)];_0x3ec0b5[_0x45edf1(0x259)](_0x54878d=>{var _0x50c063=_0x45edf1;let _0x5b8c38;if(_0x26c6b8[_0x50c063(0x3a7)]){const _0x4c1524=this[_0x50c063(0x34b)][_0x50c063(0x203)](_0x54878d,_0x26c6b8);if(!_0x267e97(_0x4c1524))throw _0x4c1524['error'];_0x5b8c38=_0x4c1524['c1Prime'],_0x26c6b8=_0x4c1524[_0x50c063(0x268)];}else _0x5b8c38=_0x54878d;this['_executeRemoteChangeset'](_0x5b8c38);}),this['_acknowledgedAwaitingChangeset']&&this[_0x45edf1(0x27c)](),this[_0x45edf1(0x2c5)]&&_0x3de617[_0x45edf1(0x3a7)]&&(_0x3de617[0x0][_0x45edf1(0x2fd)]=this[_0x45edf1(0x3c7)]());let _0x210c31;if(this['_awaitingChangeset']&&_0x26c6b8[_0x45edf1(0x3a7)]!==0x0)_0x210c31=this[_0x45edf1(0x234)][_0x45edf1(0x2de)](ae,this[_0x45edf1(0x446)],this[_0x45edf1(0x328)],_0x3de617[0x0],_0x26c6b8,this[_0x45edf1(0x1f2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x26c6b8[_0x45edf1(0x3a7)]===0x0)_0x3de617[0x0][_0x45edf1(0x2fd)]=this[_0x45edf1(0x3c7)](),_0x210c31=this[_0x45edf1(0x234)][_0x45edf1(0x2de)](_e,this[_0x45edf1(0x446)],this['type'],_0x3de617[0x0],this[_0x45edf1(0x1f2)]);else{if(_0x26c6b8['length']!==0x0){const _0x2971dd=this[_0x45edf1(0x234)]['createInstance'](re,this['unitID'],this[_0x45edf1(0x328)],_0x26c6b8,this[_0x45edf1(0x1f2)]);_0x2971dd[_0x45edf1(0x476)](),_0x210c31=_0x2971dd;}else _0x210c31=this[_0x45edf1(0x234)][_0x45edf1(0x2de)](ye,this[_0x45edf1(0x446)],this[_0x45edf1(0x328)],this['_handler']);}}return _0x210c31[_0x45edf1(0x2a9)](),_0x210c31;}catch(_0x48195e){return this[_0x45edf1(0x422)]['error'](_0x45edf1(0x3f0),_0x45edf1(0x27a),_0x48195e),this[_0x45edf1(0x234)][_0x45edf1(0x2de)](le,this[_0x45edf1(0x446)],this[_0x45edf1(0x328)],this[_0x45edf1(0x2c5)],this[_0x45edf1(0x250)],this[_0x45edf1(0x1f2)],!0x1);}}[_0xd5ee09(0x3c8)](){var _0x5391a0=_0xd5ee09;throw new Error(_0x5391a0(0x451));}['appendMutation'](_0x972872){var _0x4eed67=_0xd5ee09;return this[_0x4eed67(0x250)][_0x4eed67(0x29a)](_0x972872),this;}[_0xd5ee09(0x470)](_0x2462f0){var _0x55b543=_0xd5ee09;return this[_0x55b543(0x28f)][_0x55b543(0x29a)](_0x2462f0),this;}[_0xd5ee09(0x2cb)](_0x4b7883){var _0x1fb1ad=_0xd5ee09;if(this[_0x1fb1ad(0x2c5)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x1fb1ad(0x3eb));}[_0xd5ee09(0x396)](_0x58f668){var _0x3a229d=_0xd5ee09;return this[_0x3a229d(0x23f)](!!(_0x58f668!=null&&_0x58f668[_0x3a229d(0x282)]));}[_0xd5ee09(0x2ba)](){return this;}['toggleOffline'](){var _0x32c187=_0xd5ee09;return this[_0x32c187(0x234)][_0x32c187(0x2de)](ue,this[_0x32c187(0x446)],this[_0x32c187(0x328)],this[_0x32c187(0x2c5)],this[_0x32c187(0x250)],this[_0x32c187(0x1f2)]);}['toggleOnline'](){return this;}[_0xd5ee09(0x23f)](_0x50d799){var _0x29b051=_0xd5ee09;return this[_0x29b051(0x234)][_0x29b051(0x2de)](le,this[_0x29b051(0x446)],this['type'],this[_0x29b051(0x2c5)],this[_0x29b051(0x250)],this[_0x29b051(0x1f2)],_0x50d799);}};Q=Ie([P(0x7,_0x199fa9(_0x124e81)),P(0x8,_0x199fa9(_0x5a2a9b)),P(0x9,_0x142315),P(0xa,_0x47befc),P(0xb,_0x2585d4),P(0xc,_0x4f8203),P(0xd,_0x401b03(J))],Q);function Ri(_0x51c88b,_0x550145,_0x550b2b,_0xf22a9c,_0x23c25d,_0x1b38bd){var _0x20c65f=_0xd5ee09;return _0xf22a9c&&_0x23c25d[_0x20c65f(0x3a7)]?_0x51c88b[_0x20c65f(0x2de)](ae,_0x550145,_0x550b2b,_0xf22a9c,_0x23c25d,_0x1b38bd,void 0x0):_0xf22a9c?_0x51c88b['createInstance'](_e,_0x550145,_0x550b2b,_0xf22a9c,_0x1b38bd):_0x23c25d[_0x20c65f(0x3a7)]?_0x51c88b[_0x20c65f(0x2de)](re,_0x550145,_0x550b2b,_0x23c25d,_0x1b38bd):_0x51c88b['createInstance'](ye,_0x550145,_0x550b2b,_0x1b38bd);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x29f3f1,_0x50b6e5,_0x40a597,_0x5143e5)=>{var _0xb29383=_0xd5ee09;for(var _0x9b5f5b=_0x5143e5>0x1?void 0x0:_0x5143e5?Zs(_0x50b6e5,_0x40a597):_0x50b6e5,_0x3694ef=_0x29f3f1[_0xb29383(0x3a7)]-0x1,_0x4ee44f;_0x3694ef>=0x0;_0x3694ef--)(_0x4ee44f=_0x29f3f1[_0x3694ef])&&(_0x9b5f5b=_0x4ee44f(_0x9b5f5b)||_0x9b5f5b);return _0x9b5f5b;},H=(_0x57d73a,_0x16a29e)=>(_0x4081f6,_0xc34774)=>_0x16a29e(_0x4081f6,_0xc34774,_0x57d73a);let st=class extends _0x5886ed{constructor(_0x2db362,_0x8e36d,_0x1cb8d2,_0x4785fe,_0x1995bd,_0x1ff44f,_0x49ec7b,_0x29a32b,_0x402092,_0x4893c1,_0x380a85,_0x26c2f8,_0x2e23c3){var _0x59b8c7=_0xd5ee09;super(),N(this,_0x59b8c7(0x4e2),new _0x2508bb(null)),N(this,_0x59b8c7(0x291),this['_state$']['asObservable']()),N(this,_0x59b8c7(0x2c7)),N(this,_0x59b8c7(0x2fa),!0x1),N(this,_0x59b8c7(0x456),''),N(this,_0x59b8c7(0x354),0x0),N(this,'status$',this[_0x59b8c7(0x291)][_0x59b8c7(0x448)](_0x1cb9fd(_0x5a8da1=>_0x5a8da1?_0x5a8da1[_0x59b8c7(0x2b0)]:Ti['OFFLINE']),_0x1038b3(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x59b8c7(0x474),[]),(this['unitID']=_0x2db362,this['session']=_0x8e36d,this[_0x59b8c7(0x373)]=_0x1cb8d2,this[_0x59b8c7(0x234)]=_0x4785fe,this[_0x59b8c7(0x2dd)]=_0x1995bd,this[_0x59b8c7(0x285)]=_0x1ff44f,this[_0x59b8c7(0x376)]=_0x49ec7b,this['_eventService']=_0x29a32b,this['_logService']=_0x402092,this[_0x59b8c7(0x3ca)]=_0x4893c1,this[_0x59b8c7(0x345)]=_0x380a85,this[_0x59b8c7(0x2af)]=_0x26c2f8,this[_0x59b8c7(0x34d)]=_0x2e23c3);}get[_0xd5ee09(0x48f)](){var _0x5d6b98=_0xd5ee09;return this[_0x5d6b98(0x2c7)];}async[_0xd5ee09(0x22c)](){var _0x1eb5da=_0xd5ee09;if(this[_0x1eb5da(0x48f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x10bcf7=_0xd5ee09;return this[_0x10bcf7(0x2fa)]=!0x0,_0x52714e(()=>{var _0x32e7da=_0x10bcf7;this[_0x32e7da(0x2fa)]=!0x1,this[_0x32e7da(0x263)]();});}['onLocalMutation'](_0xe0b24f){var _0x27af38=_0xd5ee09;this[_0x27af38(0x498)](_0xe0b24f);}['_updateState'](_0x3f6bce){var _0x1f86f2=_0xd5ee09;this[_0x1f86f2(0x2c7)]=_0x3f6bce,this[_0x1f86f2(0x4e2)][_0x1f86f2(0x465)](_0x3f6bce);}async[_0xd5ee09(0x2cc)](){var _0x253337=_0xd5ee09,_0x4686e5;this[_0x253337(0x2ff)](await this[_0x253337(0x374)]()),this[_0x253337(0x2af)]&&((_0x4686e5=this[_0x253337(0x2af)])==null||_0x4686e5[_0x253337(0x2f2)](this[_0x253337(0x446)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x253337(0x446)])['subscribe'](_0xcf5968=>{var _0x3f2bc5=_0x253337;this[_0x3f2bc5(0x422)][_0x3f2bc5(0x39d)](_0x3f2bc5(0x334),_0x3f2bc5(0x293),_0xcf5968),_0xcf5968===Ei[_0x3f2bc5(0x258)]?(this[_0x3f2bc5(0x437)]['emitEvent']({'id':ne[_0x3f2bc5(0x442)]}),this[_0x3f2bc5(0x345)][_0x3f2bc5(0x2ed)](new _0x391ed6(this[_0x3f2bc5(0x446)])['id'],!0x1),this[_0x3f2bc5(0x345)]['setShowComponents'](!0x1)):(this[_0x3f2bc5(0x345)][_0x3f2bc5(0x2ed)](new _0x391ed6(this[_0x3f2bc5(0x446)])['id'],!0x0),this['_permissionService'][_0x3f2bc5(0x4bc)](!0x0));})));let _0x26849f=!0x1;return this['disposeWithMe'](this[_0x253337(0x228)][_0x253337(0x32c)][_0x253337(0x242)](_0xd6fbba=>{var _0x495cb5=_0x253337;_0xd6fbba===Se[_0x495cb5(0x265)]?this['_toggleOnline'](_0x26849f):_0xd6fbba===Se[_0x495cb5(0x221)]&&(_0x26849f=!0x0,this['_toggleOffline']());})),this[_0x253337(0x32a)](this['session'][_0x253337(0x3f5)][_0x253337(0x242)](_0x40d985=>{var _0xc914b0=_0x253337;try{switch(_0x40d985['eventID']){case _0x5307c5[_0xc914b0(0x2b7)]:{this[_0xc914b0(0x426)](_0x54594c(_0x40d985['data']));break;}case _0x5307c5[_0xc914b0(0x1e2)]:{this['_onRemoteACK'](_0x40d985[_0xc914b0(0x2dc)]);break;}case _0x5307c5['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5307c5[_0xc914b0(0x3cc)]:{this[_0xc914b0(0x466)](_0x40d985[_0xc914b0(0x2dc)]);break;}case _0x5307c5[_0xc914b0(0x42c)]:{this['_onFetchMissResult'](_0x40d985[_0xc914b0(0x2dc)][_0xc914b0(0x4b5)][_0xc914b0(0x205)](_0x4ca5a5=>_0x54594c(_0x4ca5a5)));break;}case _0x5307c5[_0xc914b0(0x1ef)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5307c5[_0xc914b0(0x486)]:break;}}catch(_0x421c06){throw console[_0xc914b0(0x363)](_0xc914b0(0x4c7),_0x421c06),_0x421c06;}})),this[_0x253337(0x2c7)];}[_0xd5ee09(0x368)](){var _0x544ef7=_0xd5ee09;this[_0x544ef7(0x4a7)]=!0x1;}['_lockTransition'](){var _0x5598e3=_0xd5ee09;if(this['_transitionLocked'])throw new Error(_0x5598e3(0x38a));this['_transitionLocked']=!0x0;}[_0xd5ee09(0x498)](_0x3f7502){var _0x17dde8=_0xd5ee09;this['_lockTransition'](),this[_0x17dde8(0x2ff)](this[_0x17dde8(0x2c7)]['appendMutation'](_0x3f7502)),this[_0x17dde8(0x368)]();}[_0xd5ee09(0x426)](_0x6b88f6){var _0x31a702=_0xd5ee09;if(!(_0x6b88f6[_0x31a702(0x436)]<=this[_0x31a702(0x376)][_0x31a702(0x220)](this[_0x31a702(0x446)]))){if(this[_0x31a702(0x2fa)]){this[_0x31a702(0x474)][_0x31a702(0x29a)](_0x6b88f6);return;}this[_0x31a702(0x39b)](_0x6b88f6);}}[_0xd5ee09(0x263)](){var _0x633b6c=_0xd5ee09;this['_remoteChangesetQueue']['forEach'](_0x46f4d5=>this[_0x633b6c(0x39b)](_0x46f4d5)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x5871ed){var _0x4a9585=_0xd5ee09;const _0x16bcc0=this[_0x4a9585(0x2dd)][_0x4a9585(0x407)][_0x4a9585(0x1ca)](this[_0x4a9585(0x2dd)][_0x4a9585(0x407)][_0x4a9585(0x326)]()['COMPRESS_MUTATION_APPLY'])(_0x5871ed[_0x4a9585(0x21c)],null)||_0x5871ed[_0x4a9585(0x21c)],_0x4a8725={..._0x5871ed,'mutations':_0x16bcc0};this['_lockTransition'](),this[_0x4a9585(0x2ff)](this[_0x4a9585(0x2c7)]['onRemoteChangeset'](_0x4a8725)),this['_unlockTransition']();}[_0xd5ee09(0x4c2)](_0x53a7f3){var _0x1796bd=_0xd5ee09;this[_0x1796bd(0x2ef)](),this[_0x1796bd(0x2ff)](this['_state'][_0x1796bd(0x2cb)](_0x53a7f3)),this[_0x1796bd(0x368)]();}['_onRemoteRejected'](_0x440bf9){var _0x25d5b3=_0xd5ee09;this[_0x25d5b3(0x2ef)](),this[_0x25d5b3(0x2ff)](this[_0x25d5b3(0x2c7)]['onRemoteRej'](_0x440bf9)),this[_0x25d5b3(0x368)]();}['_onRemoteRetry'](_0x2d1191){var _0x4bf3b2=_0xd5ee09;this[_0x4bf3b2(0x2ef)](),this[_0x4bf3b2(0x2ff)](this[_0x4bf3b2(0x2c7)][_0x4bf3b2(0x2ba)](_0x2d1191)),this[_0x4bf3b2(0x368)]();}[_0xd5ee09(0x2cd)](_0x6a21bf){var _0x46b505=_0xd5ee09;if(!(this[_0x46b505(0x2c7)]instanceof Q))throw new TypeError(_0x46b505(0x246));const _0x1cc6c3=_0x6a21bf['map'](_0x68fcbe=>{var _0x40bc05=_0x46b505;const _0x70d34f=this[_0x40bc05(0x2dd)][_0x40bc05(0x407)][_0x40bc05(0x1ca)](this[_0x40bc05(0x2dd)][_0x40bc05(0x407)][_0x40bc05(0x326)]()[_0x40bc05(0x26b)])(_0x68fcbe[_0x40bc05(0x21c)],null)||_0x68fcbe['mutations'];return{..._0x68fcbe,'mutations':_0x70d34f};});this[_0x46b505(0x2ef)](),this[_0x46b505(0x2ff)](this[_0x46b505(0x2c7)][_0x46b505(0x3c0)](_0x1cc6c3)),this[_0x46b505(0x368)]();}[_0xd5ee09(0x280)](){var _0x18f514=_0xd5ee09;this['_lockTransition'](),this[_0x18f514(0x2ff)](this['_state']['toggleOffline']()),this[_0x18f514(0x368)]();}[_0xd5ee09(0x36b)](_0x1b136d=!0x1){var _0x1d9b6b=_0xd5ee09;this['_lockTransition'](),this[_0x1d9b6b(0x2ff)](this[_0x1d9b6b(0x2c7)][_0x1d9b6b(0x2c2)]()),this[_0x1d9b6b(0x368)]();const _0x408755=this[_0x1d9b6b(0x2c7)];_0x1b136d&&_0x408755 instanceof ye&&(this[_0x1d9b6b(0x2ef)](),this[_0x1d9b6b(0x2ff)](_0x408755[_0x1d9b6b(0x1d0)]()),this[_0x1d9b6b(0x368)]());}async[_0xd5ee09(0x374)](){return new Promise(_0x4c413d=>{var _0x4d6862=_0x7476;this['session']['sessionStatus$'][_0x4d6862(0x448)](_0x419df9(0x1))['subscribe'](async _0xc12cd5=>{var _0x41b9fe=_0x4d6862;_0x4c413d(await this[_0x41b9fe(0x48d)](_0xc12cd5===Se[_0x41b9fe(0x265)]));});});}[_0xd5ee09(0x32d)](){var _0x1dfa8d=_0xd5ee09;const _0x20f409=this[_0x1dfa8d(0x446)];return{'onStateChange':(_0xec20e9,_0x59c43e)=>{var _0xfe17b7=_0x1dfa8d;if(_0xec20e9!==this[_0xfe17b7(0x2c7)])throw new Error(_0xfe17b7(0x464)+_0xec20e9['status']+_0xfe17b7(0x49c)+_0x59c43e[_0xfe17b7(0x2b0)]+_0xfe17b7(0x2b5)+this[_0xfe17b7(0x2c7)]['status']);this[_0xfe17b7(0x2ff)](_0x59c43e);},'onSendChangeset':_0x476306=>{var _0x3d4275=_0x1dfa8d;_0x476306[_0x3d4275(0x2bc)]||(_0x476306[_0x3d4275(0x2bc)]=this['_changesetSessionId'],_0x476306['reqId']=++this[_0x3d4275(0x354)]);const _0x53bc1f={'eventID':_0x5307c5['SUBMIT_CHANGESET'],'data':{'unitID':_0x476306[_0x3d4275(0x446)],'unitType':this[_0x3d4275(0x373)],'changeset':_0x476306,'memberID':this[_0x3d4275(0x228)][_0x3d4275(0x301)]()}};this['session'][_0x3d4275(0x340)](_0x53bc1f,this[_0x3d4275(0x446)]);},'onMissingChangesets':({from:_0x1226ea,to:_0x69ff96})=>{var _0xf1bd08=_0x1dfa8d;this['_logService'][_0xf1bd08(0x39d)](_0xf1bd08(0x334),_0xf1bd08(0x4a1)+_0x1226ea+_0xf1bd08(0x36c)+_0x69ff96);const _0x4e5e83={'eventID':_0x5307c5[_0xf1bd08(0x469)],'data':{'unitID':_0x20f409,'unitType':this[_0xf1bd08(0x373)],'from':_0x1226ea,'to':_0x69ff96}};this[_0xf1bd08(0x228)]['send'](_0x4e5e83,this['unitID']);}};}async[_0xd5ee09(0x48d)](_0x556f4c){var _0x1c3940=_0xd5ee09,_0x50d0cd,_0x4d3be6,_0x50ba5b;const _0x16cced=await((_0x50d0cd=this['_localCacheService'])==null?void 0x0:_0x50d0cd[_0x1c3940(0x34a)](this['unitID'])),_0x4f34df=(_0x4d3be6=_0x16cced==null?void 0x0:_0x16cced['mutations'])!=null?_0x4d3be6:[],_0xfc7010=(_0x50ba5b=_0x16cced==null?void 0x0:_0x16cced['awaitingChangeset'])!=null?_0x50ba5b:null,_0x29f267=!!(_0xfc7010!=null&&_0xfc7010[_0x1c3940(0x2bc)])&&!!(_0xfc7010!=null&&_0xfc7010[_0x1c3940(0x34f)]);this[_0x1c3940(0x456)]=_0x29f267?_0xfc7010[_0x1c3940(0x2bc)]:_0x528078(),this[_0x1c3940(0x354)]=_0x29f267?_0xfc7010[_0x1c3940(0x34f)]:0x0;const _0x423608=this[_0x1c3940(0x446)];try{this[_0x1c3940(0x306)](_0xfc7010,_0x4f34df);}catch(_0xb621c1){this[_0x1c3940(0x422)][_0x1c3940(0x363)](_0xb621c1);}const _0x5c889d=this['_createHandler']();if(_0x556f4c){const _0x50169f=Ri(this['_injector'],_0x423608,this['_type'],_0xfc7010,_0x4f34df,_0x5c889d);return _0x50169f instanceof re?_0x50169f[_0x1c3940(0x476)]():(_0x50169f instanceof ae||_0x50169f instanceof _e)&&_0x50169f[_0x1c3940(0x3c8)](),_0x50169f;}return this[_0x1c3940(0x234)][_0x1c3940(0x2de)](ue,_0x423608,this[_0x1c3940(0x373)],_0xfc7010,_0x4f34df,_0x5c889d);}[_0xd5ee09(0x306)](_0x274bf3,_0x572635){var _0x41a046=_0xd5ee09,_0x3463c2,_0x2d98ee;const _0x3a2142=this[_0x41a046(0x2dd)]['interceptor'][_0x41a046(0x1ca)](this['_compressMutationService'][_0x41a046(0x407)]['getInterceptPoints']()[_0x41a046(0x26b)]);(_0x3463c2=_0x3a2142((_0x274bf3==null?void 0x0:_0x274bf3[_0x41a046(0x21c)])||[],null))==null||_0x3463c2[_0x41a046(0x259)](_0x4ec622=>this[_0x41a046(0x3ca)][_0x41a046(0x2e8)](_0x4ec622['id'],_0x4ec622[_0x41a046(0x460)])),(_0x2d98ee=_0x3a2142(_0x572635||[],null))==null||_0x2d98ee[_0x41a046(0x259)](_0x5d3e33=>this['_commandService'][_0x41a046(0x2e8)](_0x5d3e33['id'],_0x5d3e33[_0x41a046(0x460)]));}};st=wt([H(0x3,_0x199fa9(_0x124e81)),H(0x4,_0x199fa9(_0x3f3267)),H(0x5,_0x199fa9(_0x5cb077)),H(0x6,_0x199fa9(_0x5a2a9b)),H(0x7,_0x199fa9(ve)),H(0x8,_0x142315),H(0x9,_0x47befc),H(0xa,_0x14230b),H(0xb,_0x401b03(ht)),H(0xc,_0x401b03(J))],st);let St=class extends st{constructor(_0x3b54c7,_0x470222,_0x48263e,_0x1bba27,_0x483678,_0x400e2a,_0x4d0a45,_0x3366ee,_0x1e33bb,_0x5d8063,_0x2379e9,_0x5382c6,_0x28ad4d){var _0x480137=_0xd5ee09;super(_0x3b54c7,_0x48263e,_0x470222,_0x1bba27,_0x483678,_0x400e2a,_0x4d0a45,_0x3366ee,_0x1e33bb,_0x5d8063,_0x2379e9,_0x5382c6,_0x28ad4d),N(this,_0x480137(0x2cf),null),(this[_0x480137(0x446)]=_0x3b54c7,this[_0x480137(0x328)]=_0x470222);}['addHandlerCallback'](_0x55f4b0){var _0x2d511d=_0xd5ee09;this[_0x2d511d(0x2cf)]=_0x55f4b0;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0xd5ee09(0x32d)](){var _0x2f66fd=_0xd5ee09;const _0x6c734e=super['_createHandler']();return _0x6c734e[_0x2f66fd(0x493)]=_0x51ff77=>{var _0x5c5b3b=_0x2f66fd,_0x1483f0,_0x56e36d;return(_0x56e36d=(_0x1483f0=this[_0x5c5b3b(0x2cf)])==null?void 0x0:_0x1483f0[_0x5c5b3b(0x493)])==null?void 0x0:_0x56e36d[_0x5c5b3b(0x4de)](_0x1483f0,_0x51ff77);},_0x6c734e[_0x2f66fd(0x49b)]=_0x4e0ca0=>{var _0x3b6d97=_0x2f66fd,_0x503bf2,_0x18d82c;return(_0x18d82c=(_0x503bf2=this[_0x3b6d97(0x2cf)])==null?void 0x0:_0x503bf2[_0x3b6d97(0x49b)])==null?void 0x0:_0x18d82c['call'](_0x503bf2,_0x4e0ca0);},_0x6c734e['onTransformSelections']=_0x2ca8ea=>{var _0x1cc83d=_0x2f66fd,_0x284dac,_0x311ba0;return(_0x311ba0=(_0x284dac=this[_0x1cc83d(0x2cf)])==null?void 0x0:_0x284dac[_0x1cc83d(0x419)])==null?void 0x0:_0x311ba0[_0x1cc83d(0x4de)](_0x284dac,_0x2ca8ea);},_0x6c734e[_0x2f66fd(0x33d)]=_0x41c56e=>{var _0x75d1cd=_0x2f66fd,_0x483ef3,_0x3dd86e;return(_0x3dd86e=(_0x483ef3=this['_handlerCallback'])==null?void 0x0:_0x483ef3[_0x75d1cd(0x33d)])==null?void 0x0:_0x3dd86e[_0x75d1cd(0x4de)](_0x483ef3,_0x41c56e);},_0x6c734e[_0x2f66fd(0x276)]=_0x32a7b5=>{var _0x1ce251=_0x2f66fd,_0x320ee0,_0x50de5f,_0x2b98fb;if(!((_0x320ee0=this[_0x1ce251(0x2cf)])!=null&&_0x320ee0[_0x1ce251(0x276)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2b98fb=(_0x50de5f=this['_handlerCallback'])==null?void 0x0:_0x50de5f[_0x1ce251(0x276)])==null?void 0x0:_0x2b98fb[_0x1ce251(0x4de)](_0x50de5f,_0x32a7b5);},_0x6c734e['onTransformRemoteChangesetByStateCache']=_0x205bff=>{var _0xc9deff=_0x2f66fd,_0x1bd026,_0x5e2dba,_0x6ba2d;if(!((_0x1bd026=this['_handlerCallback'])!=null&&_0x1bd026['onTransformRemoteChangesetByStateCache']))throw new Error(_0xc9deff(0x25f));return(_0x6ba2d=(_0x5e2dba=this[_0xc9deff(0x2cf)])==null?void 0x0:_0x5e2dba[_0xc9deff(0x3e8)])==null?void 0x0:_0x6ba2d[_0xc9deff(0x4de)](_0x5e2dba,_0x205bff);},_0x6c734e;}async['_init'](){var _0x4e35b0=_0xd5ee09;const _0x2b6db9=await super[_0x4e35b0(0x2cc)]();return this[_0x4e35b0(0x32a)](this[_0x4e35b0(0x3ca)][_0x4e35b0(0x209)]((_0x49f1ad,_0x15f310)=>{var _0x3fa4e8=_0x4e35b0;if(_0x49f1ad['type']!==_0x7b2811['MUTATION']||_0x15f310!=null&&_0x15f310['fromCollab']||_0x15f310!=null&&_0x15f310[_0x3fa4e8(0x4a6)]||_0x49f1ad['id']===_0x9da716['id'])return;const _0x23457f=_0x49f1ad[_0x3fa4e8(0x460)];if((_0x23457f==null?void 0x0:_0x23457f[_0x3fa4e8(0x319)])!==this[_0x3fa4e8(0x446)])return;const _0x501909=_0x49f1ad,_0x3a162b=this['_compressMutationService']['interceptor'][_0x3fa4e8(0x1ca)](this[_0x3fa4e8(0x2dd)][_0x3fa4e8(0x407)][_0x3fa4e8(0x326)]()['COMPRESS_MUTATION_SEND'])([_0x501909],null)||[_0x501909];this[_0x3fa4e8(0x498)](_0x3a162b[0x0]);})),_0x2b6db9;}};St=wt([H(0x3,_0x199fa9(_0x124e81)),H(0x4,_0x199fa9(_0x3f3267)),H(0x5,_0x199fa9(_0x5cb077)),H(0x6,_0x199fa9(_0x5a2a9b)),H(0x7,_0x199fa9(ve)),H(0x8,_0x142315),H(0x9,_0x47befc),H(0xa,_0x14230b),H(0xb,_0x401b03(ht)),H(0xc,_0x401b03(J))],St);let Et=class extends st{constructor(_0x1a13c8,_0x52a950,_0x463d7e,_0x6cf809,_0x4376f8,_0x36367e,_0x15e5d9,_0x16b4ec,_0x360a70,_0x2dc8fa,_0x4c1a53,_0x19e68c,_0x4bf751,_0x50a31a){var _0x52f264=_0xd5ee09;super(_0x1a13c8,_0x463d7e,_0x52a950,_0x6cf809,_0x4376f8,_0x36367e,_0x15e5d9,_0x360a70,_0x2dc8fa,_0x4c1a53,_0x19e68c,_0x4bf751,_0x50a31a),this['unitID']=_0x1a13c8,this['type']=_0x52a950,this[_0x52f264(0x4db)]=_0x16b4ec;}[_0xd5ee09(0x32d)](){var _0x35885f=_0xd5ee09;const _0x50f14b=super[_0x35885f(0x32d)]();return _0x50f14b[_0x35885f(0x419)]=_0x50287b=>this['_sheetTransformSelectionsService'][_0x35885f(0x1df)](_0x50287b),_0x50f14b;}async['_init'](){var _0x574d80=_0xd5ee09;const _0x23e241=await super[_0x574d80(0x2cc)]();return this[_0x574d80(0x32a)](this[_0x574d80(0x3ca)][_0x574d80(0x209)]((_0x37f342,_0x55c667)=>{var _0x3f7ada=_0x574d80;if(_0x37f342[_0x3f7ada(0x328)]!==_0x7b2811[_0x3f7ada(0x3db)]||_0x55c667!=null&&_0x55c667[_0x3f7ada(0x243)]||_0x55c667!=null&&_0x55c667['onlyLocal'])return;const _0x538274=_0x37f342[_0x3f7ada(0x460)];if((_0x538274==null?void 0x0:_0x538274[_0x3f7ada(0x319)])!==this[_0x3f7ada(0x446)])return;const _0x1bbe9f=_0x37f342,_0x2c4f29=this[_0x3f7ada(0x2dd)]['interceptor'][_0x3f7ada(0x1ca)](this[_0x3f7ada(0x2dd)][_0x3f7ada(0x407)][_0x3f7ada(0x326)]()[_0x3f7ada(0x45b)])([_0x1bbe9f],null)||[_0x1bbe9f];this['_onLocalMutation'](_0x2c4f29[0x0]);})),_0x23e241;}};Et=wt([H(0x3,_0x199fa9(_0x124e81)),H(0x4,_0x199fa9(_0x3f3267)),H(0x5,_0x199fa9(_0x5cb077)),H(0x6,_0x199fa9(_0x5a2a9b)),H(0x7,_0x199fa9(it)),H(0x8,_0x199fa9(ve)),H(0x9,_0x142315),H(0xa,_0x47befc),H(0xb,_0x14230b),H(0xc,_0x401b03(ht)),H(0xd,_0x401b03(J))],Et);var Qs=Object[_0xd5ee09(0x43b)],en=(_0x3f7cf7,_0x3c5c1e,_0x198fef,_0x2b860c)=>{for(var _0x27a47f=_0x2b860c>0x1?void 0x0:_0x2b860c?Qs(_0x3c5c1e,_0x198fef):_0x3c5c1e,_0x2d39af=_0x3f7cf7['length']-0x1,_0x58eaf3;_0x2d39af>=0x0;_0x2d39af--)(_0x58eaf3=_0x3f7cf7[_0x2d39af])&&(_0x27a47f=_0x58eaf3(_0x27a47f)||_0x27a47f);return _0x27a47f;},Be=(_0x314058,_0x2f4a20)=>(_0x4422c2,_0x134437)=>_0x2f4a20(_0x4422c2,_0x134437,_0x314058);let nt=class extends _0x5886ed{constructor(_0x53ab7a,_0x5eb665,_0x229cef,_0x3b4a5d){var _0x33ee4e=_0xd5ee09,_0x3dbe45;super(),N(this,_0x33ee4e(0x2a5),new Map()),N(this,_0x33ee4e(0x1d8),new _0x37c8b6()),N(this,'entityInit$',this['_entityInit$'][_0x33ee4e(0x4cb)]()),(this[_0x33ee4e(0x234)]=_0x53ab7a,this[_0x33ee4e(0x29d)]=_0x5eb665,this[_0x33ee4e(0x311)]=_0x229cef,this[_0x33ee4e(0x45f)]=_0x3b4a5d,((_0x3dbe45=this[_0x33ee4e(0x311)][_0x33ee4e(0x2ae)](K))==null?void 0x0:_0x3dbe45[_0x33ee4e(0x2e3)])!==!0x1&&this[_0x33ee4e(0x2cc)]());}['dispose'](){var _0x12ee3a=_0xd5ee09;super[_0x12ee3a(0x47b)](),this[_0x12ee3a(0x2a5)][_0x12ee3a(0x259)](_0x2f2a24=>_0x2f2a24[_0x12ee3a(0x47b)]()),this[_0x12ee3a(0x2a5)]['clear']();}[_0xd5ee09(0x2a8)](_0x45abab){var _0x55349f=_0xd5ee09,_0x5c5f68;return(_0x5c5f68=this[_0x55349f(0x2a5)]['get'](_0x45abab))!=null?_0x5c5f68:null;}[_0xd5ee09(0x3d3)](_0x40acff){var _0x46f493=_0xd5ee09;const _0x1042b5=this[_0x46f493(0x2a8)](_0x40acff);return _0x1042b5?_0x47b546(_0x1042b5):this[_0x46f493(0x1d8)][_0x46f493(0x448)](_0x278279(_0x20a27c=>_0x20a27c[_0x46f493(0x446)]===_0x40acff));}[_0xd5ee09(0x325)](_0x2777c5){return _0x43cddb(this['getCollabEntity$'](_0x2777c5)['pipe'](_0x51be5d(()=>{})));}[_0xd5ee09(0x2cc)](){var _0x409974=_0xd5ee09;this[_0x409974(0x45f)][_0x409974(0x2ea)](_0xc04d0b['UNIVER_SHEET'])[_0x409974(0x448)](_0x479829(this[_0x409974(0x3c3)]),_0x3946d9(0x10))[_0x409974(0x242)](async _0x20566f=>{var _0x49e664=_0x409974;const _0x561176=_0x20566f[_0x49e664(0x41b)](),_0x103c1a=await this[_0x49e664(0x247)](_0x561176,Z[_0x49e664(0x409)]);this[_0x49e664(0x2a5)][_0x49e664(0x34e)](_0x561176,_0x103c1a);}),this[_0x409974(0x45f)][_0x409974(0x2ea)](_0xc04d0b[_0x409974(0x324)])[_0x409974(0x448)](_0x479829(this[_0x409974(0x3c3)]),_0x3946d9(0x10))['pipe'](_0x278279(_0x55c97d=>!_0x55c97d[_0x409974(0x41b)]()[_0x409974(0x393)]('__')))['subscribe'](async _0x35a72c=>{var _0x7ac3e4=_0x409974;const _0x42b96e=_0x35a72c[_0x7ac3e4(0x41b)](),_0x26110d=await this['_startCollaboration'](_0x42b96e,Z[_0x7ac3e4(0x324)]);this[_0x7ac3e4(0x2a5)]['set'](_0x42b96e,_0x26110d);}),_0x57e17c(this['_univerInstanceService'][_0x409974(0x289)](_0xc04d0b[_0x409974(0x409)]),this[_0x409974(0x45f)][_0x409974(0x289)](_0xc04d0b['UNIVER_DOC']))['pipe'](_0x479829(this[_0x409974(0x3c3)]))[_0x409974(0x242)](_0x526342=>{var _0x1cfa80=_0x409974;const _0x3dbfc7=_0x526342[_0x1cfa80(0x41b)](),_0x54c7bd=this['_entities'][_0x1cfa80(0x41c)](_0x3dbfc7);_0x54c7bd&&(_0x54c7bd[_0x1cfa80(0x47b)](),this[_0x1cfa80(0x2a5)][_0x1cfa80(0x46a)](_0x3dbfc7));});}async[_0xd5ee09(0x247)](_0xced8a0,_0x58c253){var _0x51482e=_0xd5ee09;const _0xc3cfed=await this['_collabSessionService'][_0x51482e(0x45e)](_0xced8a0),_0x20faeb=this['_injector']['createInstance'](this[_0x51482e(0x2f8)](_0x58c253),_0xced8a0,_0x58c253,_0xc3cfed);return await _0x20faeb[_0x51482e(0x22c)](),this[_0x51482e(0x1d8)]['next'](_0x20faeb),_0x20faeb;}[_0xd5ee09(0x2f8)](_0x4a709c){var _0x2df105=_0xd5ee09;switch(_0x4a709c){case Z[_0x2df105(0x324)]:return St;case Z[_0x2df105(0x409)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4a709c);}}};nt=en([Be(0x0,_0x199fa9(_0x124e81)),Be(0x1,_0x199fa9(Le)),Be(0x2,_0x1c6f4e),Be(0x3,_0x1eb849)],nt);var tn=Object[_0xd5ee09(0x43b)],sn=(_0x40b70c,_0x37f407,_0x15861b,_0x52288e)=>{var _0x2721d3=_0xd5ee09;for(var _0x3ac5d4=_0x52288e>0x1?void 0x0:_0x52288e?tn(_0x37f407,_0x15861b):_0x37f407,_0x3c955b=_0x40b70c[_0x2721d3(0x3a7)]-0x1,_0x460901;_0x3c955b>=0x0;_0x3c955b--)(_0x460901=_0x40b70c[_0x3c955b])&&(_0x3ac5d4=_0x460901(_0x3ac5d4)||_0x3ac5d4);return _0x3ac5d4;},Yt=(_0x100bfa,_0x40e1bf)=>(_0x5c6d5b,_0x3909e1)=>_0x40e1bf(_0x5c6d5b,_0x3909e1,_0x100bfa);const nn=_0xd5ee09(0x333),rn=_0xd5ee09(0x3a3);let It=class extends _0x4723d5{constructor(_0xe74cc9,_0x49a623){var _0x5375ab=_0xd5ee09;super(),this[_0x5375ab(0x45f)]=_0xe74cc9,this[_0x5375ab(0x311)]=_0x49a623,this[_0x5375ab(0x2cc)]();}[_0xd5ee09(0x2cc)](){var _0x238284=_0xd5ee09;this[_0x238284(0x32a)](this[_0x238284(0x45f)][_0x238284(0x417)]['subscribe'](()=>{var _0x5448cf=_0x238284,_0xb7c0dd;const _0x30c867=this[_0x5448cf(0x45f)][_0x5448cf(0x389)]();let _0x40b475=(_0xb7c0dd=this['_configService']['getConfig'](nn))!=null?_0xb7c0dd:rn;_0x30c867 instanceof _0x22c841&&(_0x40b475=_0x30c867[_0x5448cf(0x264)]),document[_0x5448cf(0x3e0)]=_0x40b475;}));}};It=sn([Yt(0x0,_0x1eb849),Yt(0x1,_0x1c6f4e)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x57ce1d,_0x2a3490,_0x1a4558,_0x270307)=>{var _0x297bbe=_0xd5ee09;for(var _0x3f6e4a=_0x270307>0x1?void 0x0:_0x270307?an(_0x2a3490,_0x1a4558):_0x2a3490,_0x178e46=_0x57ce1d[_0x297bbe(0x3a7)]-0x1,_0xf8cfc8;_0x178e46>=0x0;_0x178e46--)(_0xf8cfc8=_0x57ce1d[_0x178e46])&&(_0x3f6e4a=_0xf8cfc8(_0x3f6e4a)||_0x3f6e4a);return _0x3f6e4a;},dt=(_0xc79243,_0xf5d153)=>(_0x5e245c,_0x14a524)=>_0xf5d153(_0x5e245c,_0x14a524,_0xc79243);let rt=class{constructor(_0x17788f,_0x5f4e87,_0x2483a6){var _0x3c7a91=_0xd5ee09;this[_0x3c7a91(0x311)]=_0x17788f,this[_0x3c7a91(0x478)]=_0x5f4e87,this[_0x3c7a91(0x4c0)]=_0x2483a6,this[_0x3c7a91(0x22c)]();}[_0xd5ee09(0x22c)](){var _0x3eeeb2=_0xd5ee09;this['_httpService'][_0x3eeeb2(0x318)]({'priority':0x1,'interceptor':(_0x28e335,_0x33c431)=>_0x33c431(_0x28e335)[_0x3eeeb2(0x448)](_0x40c0bb(async _0x221a03=>{var _0x371237=_0x3eeeb2;const _0x243206=_0x221a03;if(_0x243206[_0x371237(0x2b0)]===0x191){if(typeof window>'u')throw new Error(_0x371237(0x44a));if(window[_0x371237(0x342)](this[_0x371237(0x4c0)]['t'](_0x371237(0x3cf)))){const _0x3cbe50=window['encodeURIComponent'](window[_0x371237(0x347)][_0x371237(0x443)]);window[_0x371237(0x347)][_0x371237(0x443)]=this['_getLoginPath']()+_0x371237(0x450)+_0x3cbe50;}}return _0x243206;}))});}[_0xd5ee09(0x3b1)](){var _0x1ec4ea=_0xd5ee09,_0x19f017,_0x4009af;const _0x286d8a=this['_configService']['getConfig'](ys),_0x349a3c=this[_0x1ec4ea(0x311)][_0x1ec4ea(0x2ae)](K);return(_0x4009af=(_0x19f017=_0x349a3c==null?void 0x0:_0x349a3c[_0x1ec4ea(0x2df)])!=null?_0x19f017:_0x286d8a)!=null?_0x4009af:Ns;}};rt=on([dt(0x0,_0x1c6f4e),dt(0x1,_0x199fa9(_0x2c5a05)),dt(0x2,_0x199fa9(_0x5cb077))],rt);var cn=Object[_0xd5ee09(0x43b)],hn=(_0x412864,_0x2efe56,_0x385bd9,_0x332362)=>{for(var _0x248540=_0x332362>0x1?void 0x0:_0x332362?cn(_0x2efe56,_0x385bd9):_0x2efe56,_0x361104=_0x412864['length']-0x1,_0xa1e475;_0x361104>=0x0;_0x361104--)(_0xa1e475=_0x412864[_0x361104])&&(_0x248540=_0xa1e475(_0x248540)||_0x248540);return _0x248540;},Kt=(_0x1f227b,_0x64fb66)=>(_0x358e82,_0x11cb79)=>_0x64fb66(_0x358e82,_0x11cb79,_0x1f227b);const bi='AUTHZ_URL_KEY',_n=_0xd5ee09(0x33b);let Tt=class extends _0x4723d5{constructor(_0x5995f4,_0x136ab2){var _0x6028f7=_0xd5ee09;super(),this[_0x6028f7(0x37b)]=_0x5995f4,this[_0x6028f7(0x311)]=_0x136ab2,this[_0x6028f7(0x26c)]();}[_0xd5ee09(0x26c)](){var _0x2111b7=_0xd5ee09;const _0x441ab6=this;this[_0x2111b7(0x32a)](this[_0x2111b7(0x37b)][_0x2111b7(0x318)]({'priority':0x3e7,'interceptor':_0x32177c({'isMatch'(_0x3b485f){var _0x1f706b=_0x2111b7,_0x3a4e3c;if(_0x3b485f[_0x1f706b(0x3f4)]===_0x1f706b(0x4ad)&&((_0x3a4e3c=_0x3b485f['requestParams'])!=null&&_0x3a4e3c['body'])){const {objectID:_0x4b24ac,objectType:_0x256c63}=_0x3b485f[_0x1f706b(0x353)]['body']||{};if(!_0x4b24ac||_0x256c63===void 0x0)return!0x1;const _0x1d69f9=_0x441ab6['_getAPIPrefixPath']()+'/'+_0x256c63+_0x1f706b(0x1fa)+_0x4b24ac+_0x1f706b(0x487);if(_0x3b485f[_0x1f706b(0x33f)]===_0x1d69f9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c4bf4){var _0x42715a=_0x2111b7,_0x374221;return(_0x374221=_0x5c4bf4[_0x42715a(0x353)])==null?void 0x0:_0x374221[_0x42715a(0x3dd)];},'mergeParamsToRequest'(_0x19e443,_0x1d7be7){var _0x4d87a1=_0x2111b7;const _0x536bbf=_0x441ab6['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x581be4=_0x19e443[_0x4d87a1(0x256)]((_0xfdd7f1,_0x24749a)=>{var _0x512263=_0x4d87a1;const {unitID:_0x309dc4,objectID:_0x643e8f,objectType:_0x15f85b,actions:_0x4469ad}=_0x24749a;return _0xfdd7f1[_0x309dc4]||(_0xfdd7f1[_0x309dc4]={}),_0xfdd7f1[_0x309dc4][_0x643e8f]||(_0xfdd7f1[_0x309dc4][_0x643e8f]={'objectID':_0x643e8f,'objectType':_0x15f85b,'actions':[]}),_0xfdd7f1[_0x309dc4][_0x643e8f]['actions'][_0x512263(0x29a)](..._0x4469ad),_0xfdd7f1;},{}),_0x319f19=[];for(const _0x2901c8 in _0x581be4)for(const _0x40bb6d in _0x581be4[_0x2901c8]){const {actions:_0x3b91bd,objectType:_0x44d860}=_0x581be4[_0x2901c8][_0x40bb6d],_0x3199c3=[...new Set(_0x3b91bd)];_0x319f19['push']({'unitID':_0x2901c8,'objectID':_0x40bb6d,'objectType':_0x44d860,'actions':_0x3199c3});}return new _0x439a9e(_0x4d87a1(0x4ad),_0x536bbf,{'headers':_0x1d7be7[_0x4d87a1(0x272)],'withCredentials':_0x1d7be7['withCredentials'],'responseType':_0x1d7be7[_0x4d87a1(0x3df)],'body':{'requests':_0x319f19}});}},{'distributeResult'(_0x11415f,_0x2d9517){var _0x2e4253=_0x2111b7;const {objectActions:_0x29ae31}=_0x11415f;return _0x2d9517[_0x2e4253(0x205)](_0x8674f4=>{var _0x5dbe2f=_0x2e4253;const {unitID:_0x5a71f2,objectID:_0xdd4349,actions:_0x5c4be3}=_0x8674f4,_0x8be9bc=_0x29ae31[_0x5dbe2f(0x37a)](_0x11ee0d=>_0x11ee0d[_0x5dbe2f(0x446)]===_0x5a71f2&&_0x11ee0d[_0x5dbe2f(0x3d2)]===_0xdd4349),_0x2afe7d=_0x5c4be3['map'](_0x5269b9=>_0x8be9bc==null?void 0x0:_0x8be9bc['actions']['find'](_0x37a6a8=>_0x37a6a8['action']===_0x5269b9))[_0x5dbe2f(0x21b)](_0x1763e7=>!!_0x1763e7);return{'config':_0x8674f4,'result':{'actions':_0x2afe7d,'error':_0x11415f['error']}};});}})}));}[_0xd5ee09(0x1d2)](){var _0x3a9c98=_0xd5ee09,_0x5c9fd9,_0x15e509;const _0x276a2d=this[_0x3a9c98(0x311)]['getConfig'](bi),_0x4e1c12=this[_0x3a9c98(0x311)]['getConfig'](K);return(_0x15e509=(_0x5c9fd9=_0x4e1c12==null?void 0x0:_0x4e1c12['authzUrl'])!=null?_0x5c9fd9:_0x276a2d)!=null?_0x15e509:_n;}async[_0xd5ee09(0x28e)](_0x3db837){var _0x51fcd5=_0xd5ee09;const _0x4e92f1=this[_0x51fcd5(0x1d2)]()+'/'+_0x3db837[_0x51fcd5(0x1f0)]+_0x51fcd5(0x475);return(await this[_0x51fcd5(0x37b)]['post'](_0x4e92f1,{'body':_0x3db837}))[_0x51fcd5(0x3dd)][_0x51fcd5(0x3d2)]||'';}async['list'](_0x5d71d0){var _0x37c38e=_0xd5ee09;const _0x34e54b=this[_0x37c38e(0x1d2)]()+_0x37c38e(0x20a);return(await this[_0x37c38e(0x37b)][_0x37c38e(0x41d)](_0x34e54b,{'body':_0x5d71d0}))[_0x37c38e(0x3dd)][_0x37c38e(0x27e)];}async[_0xd5ee09(0x2c4)](_0xac0be8){var _0x4eaf51=_0xd5ee09,_0x25ca0b,_0x1e0120;const _0xadada5=this['_getAPIPrefixPath']()+'/'+_0xac0be8[_0x4eaf51(0x1f0)]+'/object/'+_0xac0be8['objectID'],_0x238898=await this['_HTTPService'][_0x4eaf51(0x344)](_0xadada5,{'body':_0xac0be8});if(((_0x1e0120=(_0x25ca0b=_0x238898==null?void 0x0:_0x238898[_0x4eaf51(0x3dd)])==null?void 0x0:_0x25ca0b[_0x4eaf51(0x363)])==null?void 0x0:_0x1e0120[_0x4eaf51(0x1d1)])!==0x1)throw new Error(_0x4eaf51(0x38d));}async['allowed'](_0x1a01ad){var _0x580c2c=_0xd5ee09;const _0x413c58=this[_0x580c2c(0x1d2)]()+'/'+_0x1a01ad['objectType']+_0x580c2c(0x1fa)+_0x1a01ad[_0x580c2c(0x3d2)]+_0x580c2c(0x487);return(await this[_0x580c2c(0x37b)]['post'](_0x413c58,{'body':_0x1a01ad}))[_0x580c2c(0x3dd)][_0x580c2c(0x2a3)];}async[_0xd5ee09(0x3ae)](_0x50c2bd){var _0x479e23=_0xd5ee09;const _0x4c3878=this[_0x479e23(0x1d2)]()+'/-/object/-/batch_allowed';return(await this[_0x479e23(0x37b)][_0x479e23(0x41d)](_0x4c3878,{'body':{'requests':_0x50c2bd}}))[_0x479e23(0x3dd)][_0x479e23(0x2d1)];}async[_0xd5ee09(0x36a)](_0x1335c2){var _0x4ca2ca=_0xd5ee09;const _0xe5ffb6=this[_0x4ca2ca(0x1d2)]()+'/'+_0x1335c2['objectType']+_0x4ca2ca(0x382),_0x2ae510=await this[_0x4ca2ca(0x37b)][_0x4ca2ca(0x41d)](_0xe5ffb6,{'body':_0x1335c2});return{'roles':_0x2ae510['body']['roles'],'actions':_0x2ae510['body']['actions']};}async['deleteCollaborator'](_0x3627f9){var _0x3abee6=_0xd5ee09;const _0x5168c9=this['_getAPIPrefixPath']()+_0x3abee6(0x3fc);await this['_HTTPService'][_0x3abee6(0x46a)](_0x5168c9,{'params':{'collaboratorID':_0x3627f9['collaboratorID'],'objectID':_0x3627f9[_0x3abee6(0x3d2)],'unitID':_0x3627f9['unitID']}});}async[_0xd5ee09(0x20d)](_0x44f119){var _0x37a7af=_0xd5ee09;const _0xddf190=this[_0x37a7af(0x1d2)]()+_0x37a7af(0x3fc);await this[_0x37a7af(0x37b)][_0x37a7af(0x4c9)](_0xddf190,{'body':_0x44f119});}async[_0xd5ee09(0x3ac)](_0x3ee5e0){var _0x55612e=_0xd5ee09;const _0x105e78=this[_0x55612e(0x1d2)]()+_0x55612e(0x3fc);await this[_0x55612e(0x37b)][_0x55612e(0x41d)](_0x105e78,{'body':_0x3ee5e0});}async[_0xd5ee09(0x43e)](_0x540f3f){var _0x52e09e=_0xd5ee09;const _0x3aa035=this[_0x52e09e(0x1d2)]()+_0x52e09e(0x3fc);return(await this[_0x52e09e(0x37b)][_0x52e09e(0x41c)](_0x3aa035,{'params':{'objectID':_0x540f3f[_0x52e09e(0x3d2)],'unitID':_0x540f3f['unitID']}}))[_0x52e09e(0x3dd)][_0x52e09e(0x3e7)];}async[_0xd5ee09(0x4cd)](_0x38cd55){var _0x2e2a26=_0xd5ee09;const _0x4f42e3=this[_0x2e2a26(0x1d2)]()+'/collaborator';await this[_0x2e2a26(0x37b)][_0x2e2a26(0x344)](_0x4f42e3,{'body':_0x38cd55});}};Tt=hn([Kt(0x0,_0x199fa9(_0x2c5a05)),Kt(0x1,_0x199fa9(_0x1c6f4e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x556d5b){var _0x5042fa=_0xd5ee09;return _0x556d5b&&_0x556d5b[_0x5042fa(0x394)]&&Object[_0x5042fa(0x4a4)][_0x5042fa(0x23d)][_0x5042fa(0x4de)](_0x556d5b,_0x5042fa(0x1e7))?_0x556d5b[_0x5042fa(0x1e7)]:_0x556d5b;}var Ve={'exports':{}};function ln(_0x48c586){var _0x34d2ce=_0xd5ee09;throw new Error(_0x34d2ce(0x2e2)+_0x48c586+_0x34d2ce(0x3a1));}var Ge={'exports':{}},un=Ge[_0xd5ee09(0x1fc)],qt;function te(){var _0xecf083=_0xd5ee09;return qt||(qt=0x1,function(_0x7a0605,_0x38a818){(function(_0x3704d2,_0x386d3b){var _0xcc6398=_0x7476;_0x7a0605[_0xcc6398(0x1fc)]=_0x386d3b();}(un,function(){var _0x25b20f=_0x25b20f||function(_0x5c813b,_0x5c6667){var _0xed045=_0x7476,_0x938dbc;if(typeof window<'u'&&window[_0xed045(0x245)]&&(_0x938dbc=window[_0xed045(0x245)]),typeof self<'u'&&self['crypto']&&(_0x938dbc=self[_0xed045(0x245)]),typeof globalThis<'u'&&globalThis[_0xed045(0x245)]&&(_0x938dbc=globalThis[_0xed045(0x245)]),!_0x938dbc&&typeof window<'u'&&window[_0xed045(0x278)]&&(_0x938dbc=window[_0xed045(0x278)]),!_0x938dbc&&typeof ft<'u'&&ft[_0xed045(0x245)]&&(_0x938dbc=ft['crypto']),!_0x938dbc&&typeof ln==_0xed045(0x2e9))try{_0x938dbc=require('crypto');}catch{}var _0xb8668d=function(){var _0x17c804=_0xed045;if(_0x938dbc){if(typeof _0x938dbc[_0x17c804(0x2d0)]==_0x17c804(0x2e9))try{return _0x938dbc['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x938dbc[_0x17c804(0x307)]==_0x17c804(0x2e9))try{return _0x938dbc[_0x17c804(0x307)](0x4)[_0x17c804(0x3bf)]();}catch{}}throw new Error(_0x17c804(0x3f2));},_0x26bf30=Object[_0xed045(0x28e)]||(function(){function _0x566937(){}return function(_0x3255d4){var _0x4a2f13=_0x7476,_0x3a0b69;return _0x566937['prototype']=_0x3255d4,_0x3a0b69=new _0x566937(),_0x566937[_0x4a2f13(0x4a4)]=null,_0x3a0b69;};}()),_0x39b15c={},_0x5d35c9=_0x39b15c[_0xed045(0x3b4)]={},_0x21c1d4=_0x5d35c9[_0xed045(0x2ad)]=(function(){return{'extend':function(_0x5e9aab){var _0x36b12a=_0x7476,_0x383189=_0x26bf30(this);return _0x5e9aab&&_0x383189[_0x36b12a(0x3ff)](_0x5e9aab),(!_0x383189[_0x36b12a(0x23d)](_0x36b12a(0x22c))||this[_0x36b12a(0x22c)]===_0x383189['init'])&&(_0x383189[_0x36b12a(0x22c)]=function(){var _0x5b5601=_0x36b12a;_0x383189['$super'][_0x5b5601(0x22c)]['apply'](this,arguments);}),_0x383189[_0x36b12a(0x22c)][_0x36b12a(0x4a4)]=_0x383189,_0x383189[_0x36b12a(0x338)]=this,_0x383189;},'create':function(){var _0x47286c=_0x7476,_0x113a07=this[_0x47286c(0x43f)]();return _0x113a07[_0x47286c(0x22c)][_0x47286c(0x2eb)](_0x113a07,arguments),_0x113a07;},'init':function(){},'mixIn':function(_0xab47cb){var _0x37d61c=_0x7476;for(var _0x489460 in _0xab47cb)_0xab47cb[_0x37d61c(0x23d)](_0x489460)&&(this[_0x489460]=_0xab47cb[_0x489460]);_0xab47cb['hasOwnProperty'](_0x37d61c(0x23c))&&(this[_0x37d61c(0x23c)]=_0xab47cb['toString']);},'clone':function(){var _0x1b2a4e=_0x7476;return this[_0x1b2a4e(0x22c)][_0x1b2a4e(0x4a4)][_0x1b2a4e(0x43f)](this);}};}()),_0xaf9135=_0x5d35c9[_0xed045(0x4d8)]=_0x21c1d4[_0xed045(0x43f)]({'init':function(_0x140baa,_0x33303){var _0x52cc19=_0xed045;_0x140baa=this[_0x52cc19(0x255)]=_0x140baa||[],_0x33303!=_0x5c6667?this[_0x52cc19(0x42d)]=_0x33303:this[_0x52cc19(0x42d)]=_0x140baa[_0x52cc19(0x3a7)]*0x4;},'toString':function(_0x485398){var _0x93dff7=_0xed045;return(_0x485398||_0x1f63db)[_0x93dff7(0x215)](this);},'concat':function(_0x16a6c5){var _0x1e7d49=_0xed045,_0x1ccf6b=this[_0x1e7d49(0x255)],_0x1110d3=_0x16a6c5[_0x1e7d49(0x255)],_0x4a99a4=this[_0x1e7d49(0x42d)],_0x1c1766=_0x16a6c5['sigBytes'];if(this[_0x1e7d49(0x2b8)](),_0x4a99a4%0x4)for(var _0x58affe=0x0;_0x58affe<_0x1c1766;_0x58affe++){var _0x2a780f=_0x1110d3[_0x58affe>>>0x2]>>>0x18-_0x58affe%0x4*0x8&0xff;_0x1ccf6b[_0x4a99a4+_0x58affe>>>0x2]|=_0x2a780f<<0x18-(_0x4a99a4+_0x58affe)%0x4*0x8;}else{for(var _0x4c99f2=0x0;_0x4c99f2<_0x1c1766;_0x4c99f2+=0x4)_0x1ccf6b[_0x4a99a4+_0x4c99f2>>>0x2]=_0x1110d3[_0x4c99f2>>>0x2];}return this[_0x1e7d49(0x42d)]+=_0x1c1766,this;},'clamp':function(){var _0x2a739c=_0xed045,_0x24b0a1=this[_0x2a739c(0x255)],_0x220a8d=this['sigBytes'];_0x24b0a1[_0x220a8d>>>0x2]&=0xffffffff<<0x20-_0x220a8d%0x4*0x8,_0x24b0a1['length']=_0x5c813b['ceil'](_0x220a8d/0x4);},'clone':function(){var _0x48f515=_0xed045,_0x20e7ed=_0x21c1d4['clone'][_0x48f515(0x4de)](this);return _0x20e7ed[_0x48f515(0x255)]=this['words']['slice'](0x0),_0x20e7ed;},'random':function(_0x494151){var _0x204260=_0xed045;for(var _0x103ea0=[],_0x34637f=0x0;_0x34637f<_0x494151;_0x34637f+=0x4)_0x103ea0['push'](_0xb8668d());return new _0xaf9135[(_0x204260(0x22c))](_0x103ea0,_0x494151);}}),_0x521cd1=_0x39b15c['enc']={},_0x1f63db=_0x521cd1[_0xed045(0x4dc)]={'stringify':function(_0x5ddd3d){var _0x8270bd=_0xed045;for(var _0x21a6c3=_0x5ddd3d[_0x8270bd(0x255)],_0x5c45f4=_0x5ddd3d[_0x8270bd(0x42d)],_0x1426bb=[],_0x2010ef=0x0;_0x2010ef<_0x5c45f4;_0x2010ef++){var _0x43c04f=_0x21a6c3[_0x2010ef>>>0x2]>>>0x18-_0x2010ef%0x4*0x8&0xff;_0x1426bb[_0x8270bd(0x29a)]((_0x43c04f>>>0x4)[_0x8270bd(0x23c)](0x10)),_0x1426bb[_0x8270bd(0x29a)]((_0x43c04f&0xf)[_0x8270bd(0x23c)](0x10));}return _0x1426bb[_0x8270bd(0x327)]('');},'parse':function(_0x13ed23){var _0x2a8d84=_0xed045;for(var _0x5e01d2=_0x13ed23[_0x2a8d84(0x3a7)],_0x500004=[],_0x236f62=0x0;_0x236f62<_0x5e01d2;_0x236f62+=0x2)_0x500004[_0x236f62>>>0x3]|=parseInt(_0x13ed23[_0x2a8d84(0x364)](_0x236f62,0x2),0x10)<<0x18-_0x236f62%0x8*0x4;return new _0xaf9135[(_0x2a8d84(0x22c))](_0x500004,_0x5e01d2/0x2);}},_0x15feb2=_0x521cd1[_0xed045(0x371)]={'stringify':function(_0x5351d4){var _0x53d8f3=_0xed045;for(var _0x13ac01=_0x5351d4[_0x53d8f3(0x255)],_0x36a09e=_0x5351d4[_0x53d8f3(0x42d)],_0xb0dab0=[],_0x2c75d7=0x0;_0x2c75d7<_0x36a09e;_0x2c75d7++){var _0x38efd7=_0x13ac01[_0x2c75d7>>>0x2]>>>0x18-_0x2c75d7%0x4*0x8&0xff;_0xb0dab0[_0x53d8f3(0x29a)](String[_0x53d8f3(0x361)](_0x38efd7));}return _0xb0dab0['join']('');},'parse':function(_0x4f3615){var _0x5d42b2=_0xed045;for(var _0x1792c2=_0x4f3615[_0x5d42b2(0x3a7)],_0x4c188c=[],_0x7e80d7=0x0;_0x7e80d7<_0x1792c2;_0x7e80d7++)_0x4c188c[_0x7e80d7>>>0x2]|=(_0x4f3615[_0x5d42b2(0x2bf)](_0x7e80d7)&0xff)<<0x18-_0x7e80d7%0x4*0x8;return new _0xaf9135[(_0x5d42b2(0x22c))](_0x4c188c,_0x1792c2);}},_0x92e7e9=_0x521cd1['Utf8']={'stringify':function(_0x4cd49b){var _0x2c1e83=_0xed045;try{return decodeURIComponent(escape(_0x15feb2['stringify'](_0x4cd49b)));}catch{throw new Error(_0x2c1e83(0x4d4));}},'parse':function(_0x535721){var _0x39a866=_0xed045;return _0x15feb2[_0x39a866(0x225)](unescape(encodeURIComponent(_0x535721)));}},_0x1cd122=_0x5d35c9[_0xed045(0x298)]=_0x21c1d4[_0xed045(0x43f)]({'reset':function(){var _0x5645ab=_0xed045;this[_0x5645ab(0x1f3)]=new _0xaf9135[(_0x5645ab(0x22c))](),this[_0x5645ab(0x204)]=0x0;},'_append':function(_0x59d75d){var _0x26ee5f=_0xed045;typeof _0x59d75d==_0x26ee5f(0x2ca)&&(_0x59d75d=_0x92e7e9[_0x26ee5f(0x225)](_0x59d75d)),this[_0x26ee5f(0x1f3)][_0x26ee5f(0x472)](_0x59d75d),this[_0x26ee5f(0x204)]+=_0x59d75d[_0x26ee5f(0x42d)];},'_process':function(_0x431f9c){var _0x205371=_0xed045,_0x4e037e,_0x1ed5a3=this['_data'],_0x3b085f=_0x1ed5a3[_0x205371(0x255)],_0xde3f24=_0x1ed5a3['sigBytes'],_0x5d5232=this[_0x205371(0x467)],_0x4dd878=_0x5d5232*0x4,_0x19dfb5=_0xde3f24/_0x4dd878;_0x431f9c?_0x19dfb5=_0x5c813b[_0x205371(0x3e5)](_0x19dfb5):_0x19dfb5=_0x5c813b['max']((_0x19dfb5|0x0)-this[_0x205371(0x1d7)],0x0);var _0x5e80ac=_0x19dfb5*_0x5d5232,_0x2ce0b4=_0x5c813b['min'](_0x5e80ac*0x4,_0xde3f24);if(_0x5e80ac){for(var _0x222947=0x0;_0x222947<_0x5e80ac;_0x222947+=_0x5d5232)this[_0x205371(0x3d4)](_0x3b085f,_0x222947);_0x4e037e=_0x3b085f[_0x205371(0x365)](0x0,_0x5e80ac),_0x1ed5a3[_0x205371(0x42d)]-=_0x2ce0b4;}return new _0xaf9135[(_0x205371(0x22c))](_0x4e037e,_0x2ce0b4);},'clone':function(){var _0x26ae59=_0xed045,_0x1241b5=_0x21c1d4[_0x26ae59(0x39a)][_0x26ae59(0x4de)](this);return _0x1241b5[_0x26ae59(0x1f3)]=this[_0x26ae59(0x1f3)]['clone'](),_0x1241b5;},'_minBufferSize':0x0});_0x5d35c9[_0xed045(0x370)]=_0x1cd122['extend']({'cfg':_0x21c1d4[_0xed045(0x43f)](),'init':function(_0x3b6f9c){var _0x26829e=_0xed045;this[_0x26829e(0x3d1)]=this[_0x26829e(0x3d1)][_0x26829e(0x43f)](_0x3b6f9c),this[_0x26829e(0x360)]();},'reset':function(){var _0x25176b=_0xed045;_0x1cd122[_0x25176b(0x360)][_0x25176b(0x4de)](this),this[_0x25176b(0x27f)]();},'update':function(_0x5a6ccd){var _0x390780=_0xed045;return this[_0x390780(0x4cf)](_0x5a6ccd),this[_0x390780(0x41a)](),this;},'finalize':function(_0x2a8f9c){var _0x18681b=_0xed045;_0x2a8f9c&&this[_0x18681b(0x4cf)](_0x2a8f9c);var _0xefc753=this[_0x18681b(0x2ee)]();return _0xefc753;},'blockSize':0x10,'_createHelper':function(_0x5f227e){return function(_0x5aeaec,_0x527059){var _0x1101f9=_0x7476;return new _0x5f227e[(_0x1101f9(0x22c))](_0x527059)['finalize'](_0x5aeaec);};},'_createHmacHelper':function(_0x5cf355){return function(_0x15ccbf,_0x21a044){var _0x89792b=_0x7476;return new _0x26115f[(_0x89792b(0x36e))][(_0x89792b(0x22c))](_0x5cf355,_0x21a044)[_0x89792b(0x227)](_0x15ccbf);};}});var _0x26115f=_0x39b15c[_0xed045(0x479)]={};return _0x39b15c;}(Math);return _0x25b20f;}));}(Ge)),Ge[_0xecf083(0x1fc)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x1780c0=_0xd5ee09;return zt||(zt=0x1,function(_0xc2a90f,_0x582819){(function(_0x4b0dd8,_0x297ec5){var _0x5f2e18=_0x7476;_0xc2a90f[_0x5f2e18(0x1fc)]=_0x297ec5(te());}(dn,function(_0x5a5d51){var _0x59bdbe=_0x7476;return(function(){var _0x4f362f=_0x7476,_0x59bf1a=_0x5a5d51,_0x1aced0=_0x59bf1a[_0x4f362f(0x3b4)],_0xa52307=_0x1aced0[_0x4f362f(0x4d8)],_0x3ac521=_0x59bf1a[_0x4f362f(0x3c4)];_0x3ac521[_0x4f362f(0x40f)]={'stringify':function(_0x1101cf){var _0x43ea5c=_0x4f362f,_0x46a74c=_0x1101cf[_0x43ea5c(0x255)],_0x3dbdcc=_0x1101cf[_0x43ea5c(0x42d)],_0x28907b=this[_0x43ea5c(0x3f8)];_0x1101cf[_0x43ea5c(0x2b8)]();for(var _0x17d90b=[],_0x563271=0x0;_0x563271<_0x3dbdcc;_0x563271+=0x3)for(var _0x2e78a3=_0x46a74c[_0x563271>>>0x2]>>>0x18-_0x563271%0x4*0x8&0xff,_0x4792ae=_0x46a74c[_0x563271+0x1>>>0x2]>>>0x18-(_0x563271+0x1)%0x4*0x8&0xff,_0x14db6d=_0x46a74c[_0x563271+0x2>>>0x2]>>>0x18-(_0x563271+0x2)%0x4*0x8&0xff,_0x2dd4e4=_0x2e78a3<<0x10|_0x4792ae<<0x8|_0x14db6d,_0x5e9d0a=0x0;_0x5e9d0a<0x4&&_0x563271+_0x5e9d0a*0.75<_0x3dbdcc;_0x5e9d0a++)_0x17d90b[_0x43ea5c(0x29a)](_0x28907b['charAt'](_0x2dd4e4>>>0x6*(0x3-_0x5e9d0a)&0x3f));var _0x9e1a9f=_0x28907b[_0x43ea5c(0x3ba)](0x40);if(_0x9e1a9f){for(;_0x17d90b[_0x43ea5c(0x3a7)]%0x4;)_0x17d90b[_0x43ea5c(0x29a)](_0x9e1a9f);}return _0x17d90b[_0x43ea5c(0x327)]('');},'parse':function(_0x4d0c9f){var _0x493a57=_0x4f362f,_0x3fd61f=_0x4d0c9f[_0x493a57(0x3a7)],_0x40b2fc=this[_0x493a57(0x3f8)],_0x348581=this[_0x493a57(0x300)];if(!_0x348581){_0x348581=this[_0x493a57(0x300)]=[];for(var _0x2f6d53=0x0;_0x2f6d53<_0x40b2fc[_0x493a57(0x3a7)];_0x2f6d53++)_0x348581[_0x40b2fc[_0x493a57(0x2bf)](_0x2f6d53)]=_0x2f6d53;}var _0x4a6419=_0x40b2fc[_0x493a57(0x3ba)](0x40);if(_0x4a6419){var _0x2cd2e9=_0x4d0c9f[_0x493a57(0x4af)](_0x4a6419);_0x2cd2e9!==-0x1&&(_0x3fd61f=_0x2cd2e9);}return _0x17bc49(_0x4d0c9f,_0x3fd61f,_0x348581);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x17bc49(_0x33fa28,_0x4e1efb,_0x32be9e){var _0x322be1=_0x4f362f;for(var _0x2c230b=[],_0x2e2942=0x0,_0x3f2617=0x0;_0x3f2617<_0x4e1efb;_0x3f2617++)if(_0x3f2617%0x4){var _0x2775be=_0x32be9e[_0x33fa28[_0x322be1(0x2bf)](_0x3f2617-0x1)]<<_0x3f2617%0x4*0x2,_0x2a206c=_0x32be9e[_0x33fa28[_0x322be1(0x2bf)](_0x3f2617)]>>>0x6-_0x3f2617%0x4*0x2,_0x5118ed=_0x2775be|_0x2a206c;_0x2c230b[_0x2e2942>>>0x2]|=_0x5118ed<<0x18-_0x2e2942%0x4*0x8,_0x2e2942++;}return _0xa52307[_0x322be1(0x28e)](_0x2c230b,_0x2e2942);}}()),_0x5a5d51[_0x59bdbe(0x3c4)][_0x59bdbe(0x40f)];}));}(We)),We[_0x1780c0(0x1fc)];}var Ye={'exports':{}},fn=Ye[_0xd5ee09(0x1fc)],Jt;function vn(){return Jt||(Jt=0x1,function(_0x4a54c2,_0x132281){(function(_0x781bf4,_0x5b7ae0){_0x4a54c2['exports']=_0x5b7ae0(te());}(fn,function(_0x110c35){var _0x38ab57=_0x7476;return function(_0x3bd039){var _0x9ed2c2=_0x7476,_0x785867=_0x110c35,_0x1abee6=_0x785867[_0x9ed2c2(0x3b4)],_0x1985e2=_0x1abee6['WordArray'],_0x18a69e=_0x1abee6[_0x9ed2c2(0x370)],_0xef4a43=_0x785867['algo'],_0x544c6a=[];(function(){var _0x47450e=_0x9ed2c2;for(var _0x4a1781=0x0;_0x4a1781<0x40;_0x4a1781++)_0x544c6a[_0x4a1781]=_0x3bd039['abs'](_0x3bd039[_0x47450e(0x1f4)](_0x4a1781+0x1))*0x100000000|0x0;}());var _0x320382=_0xef4a43[_0x9ed2c2(0x362)]=_0x18a69e[_0x9ed2c2(0x43f)]({'_doReset':function(){var _0x1c96dd=_0x9ed2c2;this['_hash']=new _0x1985e2[(_0x1c96dd(0x22c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54b8cd,_0x1d32b7){var _0x9f46ea=_0x9ed2c2;for(var _0xd08975=0x0;_0xd08975<0x10;_0xd08975++){var _0x1f7b2c=_0x1d32b7+_0xd08975,_0x213832=_0x54b8cd[_0x1f7b2c];_0x54b8cd[_0x1f7b2c]=(_0x213832<<0x8|_0x213832>>>0x18)&0xff00ff|(_0x213832<<0x18|_0x213832>>>0x8)&0xff00ff00;}var _0x1ce093=this[_0x9f46ea(0x3e9)][_0x9f46ea(0x255)],_0x35b45d=_0x54b8cd[_0x1d32b7+0x0],_0x567455=_0x54b8cd[_0x1d32b7+0x1],_0x53a804=_0x54b8cd[_0x1d32b7+0x2],_0x41c6e5=_0x54b8cd[_0x1d32b7+0x3],_0x2fecad=_0x54b8cd[_0x1d32b7+0x4],_0x311f54=_0x54b8cd[_0x1d32b7+0x5],_0x547573=_0x54b8cd[_0x1d32b7+0x6],_0x1ae585=_0x54b8cd[_0x1d32b7+0x7],_0x11baea=_0x54b8cd[_0x1d32b7+0x8],_0x1ab467=_0x54b8cd[_0x1d32b7+0x9],_0x5254db=_0x54b8cd[_0x1d32b7+0xa],_0x3bb9c2=_0x54b8cd[_0x1d32b7+0xb],_0x35c53c=_0x54b8cd[_0x1d32b7+0xc],_0x1a4443=_0x54b8cd[_0x1d32b7+0xd],_0x5292fd=_0x54b8cd[_0x1d32b7+0xe],_0xc1adca=_0x54b8cd[_0x1d32b7+0xf],_0x2017f6=_0x1ce093[0x0],_0x211c31=_0x1ce093[0x1],_0x47a4de=_0x1ce093[0x2],_0x245064=_0x1ce093[0x3];_0x2017f6=_0x14b4b7(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x35b45d,0x7,_0x544c6a[0x0]),_0x245064=_0x14b4b7(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x567455,0xc,_0x544c6a[0x1]),_0x47a4de=_0x14b4b7(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x53a804,0x11,_0x544c6a[0x2]),_0x211c31=_0x14b4b7(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x41c6e5,0x16,_0x544c6a[0x3]),_0x2017f6=_0x14b4b7(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x2fecad,0x7,_0x544c6a[0x4]),_0x245064=_0x14b4b7(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x311f54,0xc,_0x544c6a[0x5]),_0x47a4de=_0x14b4b7(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x547573,0x11,_0x544c6a[0x6]),_0x211c31=_0x14b4b7(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x1ae585,0x16,_0x544c6a[0x7]),_0x2017f6=_0x14b4b7(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x11baea,0x7,_0x544c6a[0x8]),_0x245064=_0x14b4b7(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x1ab467,0xc,_0x544c6a[0x9]),_0x47a4de=_0x14b4b7(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x5254db,0x11,_0x544c6a[0xa]),_0x211c31=_0x14b4b7(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x3bb9c2,0x16,_0x544c6a[0xb]),_0x2017f6=_0x14b4b7(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x35c53c,0x7,_0x544c6a[0xc]),_0x245064=_0x14b4b7(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x1a4443,0xc,_0x544c6a[0xd]),_0x47a4de=_0x14b4b7(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x5292fd,0x11,_0x544c6a[0xe]),_0x211c31=_0x14b4b7(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0xc1adca,0x16,_0x544c6a[0xf]),_0x2017f6=_0x518327(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x567455,0x5,_0x544c6a[0x10]),_0x245064=_0x518327(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x547573,0x9,_0x544c6a[0x11]),_0x47a4de=_0x518327(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x3bb9c2,0xe,_0x544c6a[0x12]),_0x211c31=_0x518327(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x35b45d,0x14,_0x544c6a[0x13]),_0x2017f6=_0x518327(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x311f54,0x5,_0x544c6a[0x14]),_0x245064=_0x518327(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x5254db,0x9,_0x544c6a[0x15]),_0x47a4de=_0x518327(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0xc1adca,0xe,_0x544c6a[0x16]),_0x211c31=_0x518327(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x2fecad,0x14,_0x544c6a[0x17]),_0x2017f6=_0x518327(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x1ab467,0x5,_0x544c6a[0x18]),_0x245064=_0x518327(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x5292fd,0x9,_0x544c6a[0x19]),_0x47a4de=_0x518327(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x41c6e5,0xe,_0x544c6a[0x1a]),_0x211c31=_0x518327(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x11baea,0x14,_0x544c6a[0x1b]),_0x2017f6=_0x518327(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x1a4443,0x5,_0x544c6a[0x1c]),_0x245064=_0x518327(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x53a804,0x9,_0x544c6a[0x1d]),_0x47a4de=_0x518327(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x1ae585,0xe,_0x544c6a[0x1e]),_0x211c31=_0x518327(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x35c53c,0x14,_0x544c6a[0x1f]),_0x2017f6=_0x29cf4d(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x311f54,0x4,_0x544c6a[0x20]),_0x245064=_0x29cf4d(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x11baea,0xb,_0x544c6a[0x21]),_0x47a4de=_0x29cf4d(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x3bb9c2,0x10,_0x544c6a[0x22]),_0x211c31=_0x29cf4d(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x5292fd,0x17,_0x544c6a[0x23]),_0x2017f6=_0x29cf4d(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x567455,0x4,_0x544c6a[0x24]),_0x245064=_0x29cf4d(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x2fecad,0xb,_0x544c6a[0x25]),_0x47a4de=_0x29cf4d(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x1ae585,0x10,_0x544c6a[0x26]),_0x211c31=_0x29cf4d(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x5254db,0x17,_0x544c6a[0x27]),_0x2017f6=_0x29cf4d(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x1a4443,0x4,_0x544c6a[0x28]),_0x245064=_0x29cf4d(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x35b45d,0xb,_0x544c6a[0x29]),_0x47a4de=_0x29cf4d(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x41c6e5,0x10,_0x544c6a[0x2a]),_0x211c31=_0x29cf4d(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x547573,0x17,_0x544c6a[0x2b]),_0x2017f6=_0x29cf4d(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x1ab467,0x4,_0x544c6a[0x2c]),_0x245064=_0x29cf4d(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x35c53c,0xb,_0x544c6a[0x2d]),_0x47a4de=_0x29cf4d(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0xc1adca,0x10,_0x544c6a[0x2e]),_0x211c31=_0x29cf4d(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x53a804,0x17,_0x544c6a[0x2f]),_0x2017f6=_0x56620a(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x35b45d,0x6,_0x544c6a[0x30]),_0x245064=_0x56620a(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x1ae585,0xa,_0x544c6a[0x31]),_0x47a4de=_0x56620a(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x5292fd,0xf,_0x544c6a[0x32]),_0x211c31=_0x56620a(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x311f54,0x15,_0x544c6a[0x33]),_0x2017f6=_0x56620a(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x35c53c,0x6,_0x544c6a[0x34]),_0x245064=_0x56620a(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x41c6e5,0xa,_0x544c6a[0x35]),_0x47a4de=_0x56620a(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x5254db,0xf,_0x544c6a[0x36]),_0x211c31=_0x56620a(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x567455,0x15,_0x544c6a[0x37]),_0x2017f6=_0x56620a(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x11baea,0x6,_0x544c6a[0x38]),_0x245064=_0x56620a(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0xc1adca,0xa,_0x544c6a[0x39]),_0x47a4de=_0x56620a(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x547573,0xf,_0x544c6a[0x3a]),_0x211c31=_0x56620a(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x1a4443,0x15,_0x544c6a[0x3b]),_0x2017f6=_0x56620a(_0x2017f6,_0x211c31,_0x47a4de,_0x245064,_0x2fecad,0x6,_0x544c6a[0x3c]),_0x245064=_0x56620a(_0x245064,_0x2017f6,_0x211c31,_0x47a4de,_0x3bb9c2,0xa,_0x544c6a[0x3d]),_0x47a4de=_0x56620a(_0x47a4de,_0x245064,_0x2017f6,_0x211c31,_0x53a804,0xf,_0x544c6a[0x3e]),_0x211c31=_0x56620a(_0x211c31,_0x47a4de,_0x245064,_0x2017f6,_0x1ab467,0x15,_0x544c6a[0x3f]),_0x1ce093[0x0]=_0x1ce093[0x0]+_0x2017f6|0x0,_0x1ce093[0x1]=_0x1ce093[0x1]+_0x211c31|0x0,_0x1ce093[0x2]=_0x1ce093[0x2]+_0x47a4de|0x0,_0x1ce093[0x3]=_0x1ce093[0x3]+_0x245064|0x0;},'_doFinalize':function(){var _0x5b5801=_0x9ed2c2,_0x431855=this[_0x5b5801(0x1f3)],_0x247389=_0x431855['words'],_0x1c0d81=this[_0x5b5801(0x204)]*0x8,_0x43e8d9=_0x431855[_0x5b5801(0x42d)]*0x8;_0x247389[_0x43e8d9>>>0x5]|=0x80<<0x18-_0x43e8d9%0x20;var _0xb6b048=_0x3bd039[_0x5b5801(0x49f)](_0x1c0d81/0x100000000),_0x40e300=_0x1c0d81;_0x247389[(_0x43e8d9+0x40>>>0x9<<0x4)+0xf]=(_0xb6b048<<0x8|_0xb6b048>>>0x18)&0xff00ff|(_0xb6b048<<0x18|_0xb6b048>>>0x8)&0xff00ff00,_0x247389[(_0x43e8d9+0x40>>>0x9<<0x4)+0xe]=(_0x40e300<<0x8|_0x40e300>>>0x18)&0xff00ff|(_0x40e300<<0x18|_0x40e300>>>0x8)&0xff00ff00,_0x431855[_0x5b5801(0x42d)]=(_0x247389[_0x5b5801(0x3a7)]+0x1)*0x4,this['_process']();for(var _0x66f782=this['_hash'],_0x5cdeff=_0x66f782[_0x5b5801(0x255)],_0x3f67f5=0x0;_0x3f67f5<0x4;_0x3f67f5++){var _0x5e4fb0=_0x5cdeff[_0x3f67f5];_0x5cdeff[_0x3f67f5]=(_0x5e4fb0<<0x8|_0x5e4fb0>>>0x18)&0xff00ff|(_0x5e4fb0<<0x18|_0x5e4fb0>>>0x8)&0xff00ff00;}return _0x66f782;},'clone':function(){var _0x458c58=_0x9ed2c2,_0x49abad=_0x18a69e[_0x458c58(0x39a)]['call'](this);return _0x49abad['_hash']=this['_hash'][_0x458c58(0x39a)](),_0x49abad;}});function _0x14b4b7(_0x2fbc94,_0x31955b,_0x104874,_0x226467,_0xab5daf,_0x6c496a,_0x1e7ffa){var _0x2c6ddf=_0x2fbc94+(_0x31955b&_0x104874|~_0x31955b&_0x226467)+_0xab5daf+_0x1e7ffa;return(_0x2c6ddf<<_0x6c496a|_0x2c6ddf>>>0x20-_0x6c496a)+_0x31955b;}function _0x518327(_0x5554e7,_0x188645,_0x3b9f58,_0x2d8626,_0x497c32,_0xa11337,_0xfc13d2){var _0xf1fc1e=_0x5554e7+(_0x188645&_0x2d8626|_0x3b9f58&~_0x2d8626)+_0x497c32+_0xfc13d2;return(_0xf1fc1e<<_0xa11337|_0xf1fc1e>>>0x20-_0xa11337)+_0x188645;}function _0x29cf4d(_0x5cdc87,_0x168d40,_0x42e4a9,_0x18ecf2,_0x20e6fc,_0x3511c7,_0x5adafa){var _0x5c1f7f=_0x5cdc87+(_0x168d40^_0x42e4a9^_0x18ecf2)+_0x20e6fc+_0x5adafa;return(_0x5c1f7f<<_0x3511c7|_0x5c1f7f>>>0x20-_0x3511c7)+_0x168d40;}function _0x56620a(_0x3bc1e7,_0x19e2ea,_0x10cbc5,_0x44a93a,_0x3336fd,_0x4e67d1,_0x5dd92c){var _0x169f92=_0x3bc1e7+(_0x10cbc5^(_0x19e2ea|~_0x44a93a))+_0x3336fd+_0x5dd92c;return(_0x169f92<<_0x4e67d1|_0x169f92>>>0x20-_0x4e67d1)+_0x19e2ea;}_0x785867[_0x9ed2c2(0x362)]=_0x18a69e[_0x9ed2c2(0x4c3)](_0x320382),_0x785867[_0x9ed2c2(0x355)]=_0x18a69e[_0x9ed2c2(0x3a6)](_0x320382);}(Math),_0x110c35[_0x38ab57(0x362)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){return Xt||(Xt=0x1,function(_0x5802c0,_0x1dc19a){(function(_0x86a369,_0xa52414){var _0x5d3255=_0x7476;_0x5802c0[_0x5d3255(0x1fc)]=_0xa52414(te());}(pn,function(_0x5e43a6){var _0x26e3b1=_0x7476;return(function(){var _0xc62e0e=_0x7476,_0x444149=_0x5e43a6,_0x3dd3a1=_0x444149[_0xc62e0e(0x3b4)],_0x4226c1=_0x3dd3a1['WordArray'],_0x425472=_0x3dd3a1[_0xc62e0e(0x370)],_0x231393=_0x444149[_0xc62e0e(0x479)],_0x219333=[],_0x38d2c1=_0x231393[_0xc62e0e(0x2e7)]=_0x425472[_0xc62e0e(0x43f)]({'_doReset':function(){var _0x1e3a54=_0xc62e0e;this[_0x1e3a54(0x3e9)]=new _0x4226c1[(_0x1e3a54(0x22c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x56aa2d,_0x14fbc2){for(var _0xe1d9b7=this['_hash']['words'],_0x242e29=_0xe1d9b7[0x0],_0x2eca05=_0xe1d9b7[0x1],_0x130826=_0xe1d9b7[0x2],_0x574c1e=_0xe1d9b7[0x3],_0x30bb38=_0xe1d9b7[0x4],_0x39ef6f=0x0;_0x39ef6f<0x50;_0x39ef6f++){if(_0x39ef6f<0x10)_0x219333[_0x39ef6f]=_0x56aa2d[_0x14fbc2+_0x39ef6f]|0x0;else{var _0x182fc4=_0x219333[_0x39ef6f-0x3]^_0x219333[_0x39ef6f-0x8]^_0x219333[_0x39ef6f-0xe]^_0x219333[_0x39ef6f-0x10];_0x219333[_0x39ef6f]=_0x182fc4<<0x1|_0x182fc4>>>0x1f;}var _0x1b285a=(_0x242e29<<0x5|_0x242e29>>>0x1b)+_0x30bb38+_0x219333[_0x39ef6f];_0x39ef6f<0x14?_0x1b285a+=(_0x2eca05&_0x130826|~_0x2eca05&_0x574c1e)+0x5a827999:_0x39ef6f<0x28?_0x1b285a+=(_0x2eca05^_0x130826^_0x574c1e)+0x6ed9eba1:_0x39ef6f<0x3c?_0x1b285a+=(_0x2eca05&_0x130826|_0x2eca05&_0x574c1e|_0x130826&_0x574c1e)-0x70e44324:_0x1b285a+=(_0x2eca05^_0x130826^_0x574c1e)-0x359d3e2a,_0x30bb38=_0x574c1e,_0x574c1e=_0x130826,_0x130826=_0x2eca05<<0x1e|_0x2eca05>>>0x2,_0x2eca05=_0x242e29,_0x242e29=_0x1b285a;}_0xe1d9b7[0x0]=_0xe1d9b7[0x0]+_0x242e29|0x0,_0xe1d9b7[0x1]=_0xe1d9b7[0x1]+_0x2eca05|0x0,_0xe1d9b7[0x2]=_0xe1d9b7[0x2]+_0x130826|0x0,_0xe1d9b7[0x3]=_0xe1d9b7[0x3]+_0x574c1e|0x0,_0xe1d9b7[0x4]=_0xe1d9b7[0x4]+_0x30bb38|0x0;},'_doFinalize':function(){var _0x1e39c4=_0xc62e0e,_0x5b5974=this[_0x1e39c4(0x1f3)],_0x33de0d=_0x5b5974[_0x1e39c4(0x255)],_0x2d8a76=this[_0x1e39c4(0x204)]*0x8,_0x6e8c8c=_0x5b5974['sigBytes']*0x8;return _0x33de0d[_0x6e8c8c>>>0x5]|=0x80<<0x18-_0x6e8c8c%0x20,_0x33de0d[(_0x6e8c8c+0x40>>>0x9<<0x4)+0xe]=Math[_0x1e39c4(0x49f)](_0x2d8a76/0x100000000),_0x33de0d[(_0x6e8c8c+0x40>>>0x9<<0x4)+0xf]=_0x2d8a76,_0x5b5974['sigBytes']=_0x33de0d[_0x1e39c4(0x3a7)]*0x4,this[_0x1e39c4(0x41a)](),this[_0x1e39c4(0x3e9)];},'clone':function(){var _0x325239=_0xc62e0e,_0x21f579=_0x425472[_0x325239(0x39a)]['call'](this);return _0x21f579['_hash']=this[_0x325239(0x3e9)][_0x325239(0x39a)](),_0x21f579;}});_0x444149[_0xc62e0e(0x2e7)]=_0x425472['_createHelper'](_0x38d2c1),_0x444149[_0xc62e0e(0x405)]=_0x425472[_0xc62e0e(0x3a6)](_0x38d2c1);}()),_0x5e43a6[_0x26e3b1(0x2e7)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze[_0xd5ee09(0x1fc)],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x58d82b,_0x54845d){(function(_0x5b1cf6,_0x207380){var _0x25de20=_0x7476;_0x58d82b[_0x25de20(0x1fc)]=_0x207380(te());}(gn,function(_0x48fa3b){(function(){var _0x160d7c=_0x7476,_0x31fdf2=_0x48fa3b,_0x22a69f=_0x31fdf2[_0x160d7c(0x3b4)],_0x9e964e=_0x22a69f[_0x160d7c(0x2ad)],_0x35dcdc=_0x31fdf2['enc'],_0xcf45c6=_0x35dcdc[_0x160d7c(0x24f)],_0x10a157=_0x31fdf2[_0x160d7c(0x479)];_0x10a157['HMAC']=_0x9e964e['extend']({'init':function(_0x313d24,_0x22058c){var _0xb60d82=_0x160d7c;_0x313d24=this[_0xb60d82(0x323)]=new _0x313d24[(_0xb60d82(0x22c))](),typeof _0x22058c==_0xb60d82(0x2ca)&&(_0x22058c=_0xcf45c6[_0xb60d82(0x225)](_0x22058c));var _0x57b7a1=_0x313d24[_0xb60d82(0x467)],_0x253aef=_0x57b7a1*0x4;_0x22058c[_0xb60d82(0x42d)]>_0x253aef&&(_0x22058c=_0x313d24[_0xb60d82(0x227)](_0x22058c)),_0x22058c[_0xb60d82(0x2b8)]();for(var _0x4f7523=this[_0xb60d82(0x454)]=_0x22058c[_0xb60d82(0x39a)](),_0x1e92c6=this[_0xb60d82(0x31e)]=_0x22058c['clone'](),_0x5743bd=_0x4f7523[_0xb60d82(0x255)],_0x335204=_0x1e92c6[_0xb60d82(0x255)],_0x474140=0x0;_0x474140<_0x57b7a1;_0x474140++)_0x5743bd[_0x474140]^=0x5c5c5c5c,_0x335204[_0x474140]^=0x36363636;_0x4f7523[_0xb60d82(0x42d)]=_0x1e92c6[_0xb60d82(0x42d)]=_0x253aef,this[_0xb60d82(0x360)]();},'reset':function(){var _0x4d54aa=_0x160d7c,_0x4752df=this['_hasher'];_0x4752df['reset'](),_0x4752df[_0x4d54aa(0x2c4)](this[_0x4d54aa(0x31e)]);},'update':function(_0x187f38){return this['_hasher']['update'](_0x187f38),this;},'finalize':function(_0x361e11){var _0x5acfdb=_0x160d7c,_0x2acff8=this[_0x5acfdb(0x323)],_0x349dfb=_0x2acff8['finalize'](_0x361e11);_0x2acff8[_0x5acfdb(0x360)]();var _0x1c748f=_0x2acff8[_0x5acfdb(0x227)](this['_oKey'][_0x5acfdb(0x39a)]()[_0x5acfdb(0x472)](_0x349dfb));return _0x1c748f;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0xd5ee09(0x1fc)],Qt;function yi(){return Qt||(Qt=0x1,function(_0xbda6d0,_0x1f4106){(function(_0x5156f6,_0x5d0d94,_0x2d46c2){var _0x18ad9f=_0x7476;_0xbda6d0[_0x18ad9f(0x1fc)]=_0x5d0d94(te(),mn(),Sn());}(En,function(_0x20de2f){var _0x186964=_0x7476;return(function(){var _0x2d0caa=_0x7476,_0x43fd69=_0x20de2f,_0x5f543d=_0x43fd69['lib'],_0x55f526=_0x5f543d[_0x2d0caa(0x2ad)],_0xf0ecf9=_0x5f543d[_0x2d0caa(0x4d8)],_0x5e549f=_0x43fd69[_0x2d0caa(0x479)],_0xf1ed9=_0x5e549f['MD5'],_0x415382=_0x5e549f[_0x2d0caa(0x1ea)]=_0x55f526[_0x2d0caa(0x43f)]({'cfg':_0x55f526[_0x2d0caa(0x43f)]({'keySize':0x80/0x20,'hasher':_0xf1ed9,'iterations':0x1}),'init':function(_0x364bbb){var _0x18fa40=_0x2d0caa;this[_0x18fa40(0x3d1)]=this[_0x18fa40(0x3d1)][_0x18fa40(0x43f)](_0x364bbb);},'compute':function(_0x2c6787,_0x20e076){var _0x56ddbd=_0x2d0caa;for(var _0x215b9c,_0x503a10=this['cfg'],_0x236d5a=_0x503a10['hasher']['create'](),_0x1f327f=_0xf0ecf9[_0x56ddbd(0x28e)](),_0x5a060d=_0x1f327f[_0x56ddbd(0x255)],_0x418458=_0x503a10[_0x56ddbd(0x4b7)],_0x476d9c=_0x503a10['iterations'];_0x5a060d[_0x56ddbd(0x3a7)]<_0x418458;){_0x215b9c&&_0x236d5a['update'](_0x215b9c),_0x215b9c=_0x236d5a['update'](_0x2c6787)[_0x56ddbd(0x227)](_0x20e076),_0x236d5a[_0x56ddbd(0x360)]();for(var _0x251709=0x1;_0x251709<_0x476d9c;_0x251709++)_0x215b9c=_0x236d5a[_0x56ddbd(0x227)](_0x215b9c),_0x236d5a['reset']();_0x1f327f[_0x56ddbd(0x472)](_0x215b9c);}return _0x1f327f['sigBytes']=_0x418458*0x4,_0x1f327f;}});_0x43fd69[_0x2d0caa(0x1ea)]=function(_0x1410b,_0x732bc7,_0x408e63){var _0x10b688=_0x2d0caa;return _0x415382[_0x10b688(0x28e)](_0x408e63)[_0x10b688(0x3c5)](_0x1410b,_0x732bc7);};}()),_0x20de2f[_0x186964(0x1ea)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x7efef6=_0xd5ee09;return ei||(ei=0x1,function(_0x2cbef6,_0x4ec8e4){(function(_0x3fd2bb,_0x42268b,_0x4d3890){var _0x437def=_0x7476;_0x2cbef6[_0x437def(0x1fc)]=_0x42268b(te(),yi());}(In,function(_0x3186df){var _0x5e4dfd=_0x7476;_0x3186df[_0x5e4dfd(0x3b4)][_0x5e4dfd(0x4d6)]||function(_0x27b451){var _0x2c3575=_0x5e4dfd,_0x512c83=_0x3186df,_0x4b353a=_0x512c83[_0x2c3575(0x3b4)],_0xaadc2=_0x4b353a[_0x2c3575(0x2ad)],_0x298935=_0x4b353a[_0x2c3575(0x4d8)],_0x2b40c9=_0x4b353a[_0x2c3575(0x298)],_0x2ea701=_0x512c83[_0x2c3575(0x3c4)];_0x2ea701['Utf8'];var _0x228cbc=_0x2ea701['Base64'],_0x14e792=_0x512c83[_0x2c3575(0x479)],_0x2bca08=_0x14e792['EvpKDF'],_0x2a8bca=_0x4b353a[_0x2c3575(0x4d6)]=_0x2b40c9['extend']({'cfg':_0xaadc2[_0x2c3575(0x43f)](),'createEncryptor':function(_0x2da47c,_0x481bb1){return this['create'](this['_ENC_XFORM_MODE'],_0x2da47c,_0x481bb1);},'createDecryptor':function(_0x8a4ced,_0x46f13a){var _0x5b4271=_0x2c3575;return this[_0x5b4271(0x28e)](this[_0x5b4271(0x45d)],_0x8a4ced,_0x46f13a);},'init':function(_0x1e0b60,_0x173ef7,_0x1c31d8){var _0x3b2a35=_0x2c3575;this[_0x3b2a35(0x3d1)]=this[_0x3b2a35(0x3d1)][_0x3b2a35(0x43f)](_0x1c31d8),this[_0x3b2a35(0x4d7)]=_0x1e0b60,this['_key']=_0x173ef7,this['reset']();},'reset':function(){var _0x1b6f66=_0x2c3575;_0x2b40c9['reset'][_0x1b6f66(0x4de)](this),this[_0x1b6f66(0x27f)]();},'process':function(_0x1c0a9d){var _0x977cfe=_0x2c3575;return this[_0x977cfe(0x4cf)](_0x1c0a9d),this[_0x977cfe(0x41a)]();},'finalize':function(_0x523695){var _0x47c33f=_0x2c3575;_0x523695&&this[_0x47c33f(0x4cf)](_0x523695);var _0x2204d3=this[_0x47c33f(0x2ee)]();return _0x2204d3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x319e03(_0x1a548a){var _0x2809c7=_0x7476;return typeof _0x1a548a==_0x2809c7(0x2ca)?_0xb3859b:_0x4e030d;}return function(_0x50542c){return{'encrypt':function(_0x125635,_0x2b223b,_0x368c93){var _0x3cc17f=_0x7476;return _0x319e03(_0x2b223b)[_0x3cc17f(0x3bc)](_0x50542c,_0x125635,_0x2b223b,_0x368c93);},'decrypt':function(_0x32803d,_0x1d4f7d,_0xd80729){var _0x48909c=_0x7476;return _0x319e03(_0x1d4f7d)[_0x48909c(0x495)](_0x50542c,_0x32803d,_0x1d4f7d,_0xd80729);}};};}())});_0x4b353a[_0x2c3575(0x26e)]=_0x2a8bca[_0x2c3575(0x43f)]({'_doFinalize':function(){var _0x45dfcd=_0x2c3575,_0x1f49c0=this[_0x45dfcd(0x41a)](!0x0);return _0x1f49c0;},'blockSize':0x1});var _0xafc9b5=_0x512c83['mode']={},_0x1c7bf4=_0x4b353a['BlockCipherMode']=_0xaadc2[_0x2c3575(0x43f)]({'createEncryptor':function(_0x152bf0,_0x2082ef){var _0x44d2dc=_0x2c3575;return this['Encryptor'][_0x44d2dc(0x28e)](_0x152bf0,_0x2082ef);},'createDecryptor':function(_0x50f908,_0x2f5262){var _0x2b0ff1=_0x2c3575;return this[_0x2b0ff1(0x2d3)][_0x2b0ff1(0x28e)](_0x50f908,_0x2f5262);},'init':function(_0x55ed8d,_0x2fdf32){var _0x2a7e99=_0x2c3575;this[_0x2a7e99(0x455)]=_0x55ed8d,this['_iv']=_0x2fdf32;}}),_0x2d4763=_0xafc9b5['CBC']=(function(){var _0x5dae5a=_0x2c3575,_0xc4ac2e=_0x1c7bf4[_0x5dae5a(0x43f)]();_0xc4ac2e[_0x5dae5a(0x386)]=_0xc4ac2e['extend']({'processBlock':function(_0x2bf48a,_0x580cc8){var _0x46507e=_0x5dae5a,_0x37bf1e=this[_0x46507e(0x455)],_0x442292=_0x37bf1e[_0x46507e(0x467)];_0x41c392[_0x46507e(0x4de)](this,_0x2bf48a,_0x580cc8,_0x442292),_0x37bf1e[_0x46507e(0x1d6)](_0x2bf48a,_0x580cc8),this['_prevBlock']=_0x2bf48a[_0x46507e(0x4bb)](_0x580cc8,_0x580cc8+_0x442292);}}),_0xc4ac2e['Decryptor']=_0xc4ac2e['extend']({'processBlock':function(_0x1f901d,_0x55e6ad){var _0xd193df=_0x5dae5a,_0xcee70f=this[_0xd193df(0x455)],_0x9943b6=_0xcee70f['blockSize'],_0x38bf66=_0x1f901d[_0xd193df(0x4bb)](_0x55e6ad,_0x55e6ad+_0x9943b6);_0xcee70f[_0xd193df(0x43d)](_0x1f901d,_0x55e6ad),_0x41c392[_0xd193df(0x4de)](this,_0x1f901d,_0x55e6ad,_0x9943b6),this[_0xd193df(0x3ee)]=_0x38bf66;}});function _0x41c392(_0x303beb,_0x88a30c,_0x221aa9){var _0x4ab525,_0x577813=this['_iv'];_0x577813?(_0x4ab525=_0x577813,this['_iv']=_0x27b451):_0x4ab525=this['_prevBlock'];for(var _0x2b0c74=0x0;_0x2b0c74<_0x221aa9;_0x2b0c74++)_0x303beb[_0x88a30c+_0x2b0c74]^=_0x4ab525[_0x2b0c74];}return _0xc4ac2e;}()),_0xaf5829=_0x512c83['pad']={},_0x31dfdb=_0xaf5829[_0x2c3575(0x43c)]={'pad':function(_0x4d8ba3,_0x47a681){var _0x517555=_0x2c3575;for(var _0x4b0e1b=_0x47a681*0x4,_0x434e9a=_0x4b0e1b-_0x4d8ba3[_0x517555(0x42d)]%_0x4b0e1b,_0x55d567=_0x434e9a<<0x18|_0x434e9a<<0x10|_0x434e9a<<0x8|_0x434e9a,_0x3fe24b=[],_0x4526ea=0x0;_0x4526ea<_0x434e9a;_0x4526ea+=0x4)_0x3fe24b['push'](_0x55d567);var _0xb43f0b=_0x298935[_0x517555(0x28e)](_0x3fe24b,_0x434e9a);_0x4d8ba3[_0x517555(0x472)](_0xb43f0b);},'unpad':function(_0x544376){var _0x176c55=_0x2c3575,_0xa0edec=_0x544376[_0x176c55(0x255)][_0x544376[_0x176c55(0x42d)]-0x1>>>0x2]&0xff;_0x544376['sigBytes']-=_0xa0edec;}};_0x4b353a[_0x2c3575(0x2ac)]=_0x2a8bca[_0x2c3575(0x43f)]({'cfg':_0x2a8bca['cfg'][_0x2c3575(0x43f)]({'mode':_0x2d4763,'padding':_0x31dfdb}),'reset':function(){var _0x308355=_0x2c3575,_0x256ddd;_0x2a8bca['reset'][_0x308355(0x4de)](this);var _0x16f4ad=this[_0x308355(0x3d1)],_0x1c17fa=_0x16f4ad['iv'],_0x173eee=_0x16f4ad[_0x308355(0x2fe)];this[_0x308355(0x4d7)]==this['_ENC_XFORM_MODE']?_0x256ddd=_0x173eee[_0x308355(0x348)]:(_0x256ddd=_0x173eee[_0x308355(0x231)],this[_0x308355(0x1d7)]=0x1),this[_0x308355(0x44b)]&&this['_mode'][_0x308355(0x3dc)]==_0x256ddd?this['_mode']['init'](this,_0x1c17fa&&_0x1c17fa[_0x308355(0x255)]):(this[_0x308355(0x44b)]=_0x256ddd[_0x308355(0x4de)](_0x173eee,this,_0x1c17fa&&_0x1c17fa[_0x308355(0x255)]),this['_mode'][_0x308355(0x3dc)]=_0x256ddd);},'_doProcessBlock':function(_0x177c50,_0x15f41a){var _0x4550b8=_0x2c3575;this[_0x4550b8(0x44b)]['processBlock'](_0x177c50,_0x15f41a);},'_doFinalize':function(){var _0xd25ac7=_0x2c3575,_0x4ef76e,_0x1fa76c=this['cfg']['padding'];return this[_0xd25ac7(0x4d7)]==this['_ENC_XFORM_MODE']?(_0x1fa76c['pad'](this[_0xd25ac7(0x1f3)],this[_0xd25ac7(0x467)]),_0x4ef76e=this[_0xd25ac7(0x41a)](!0x0)):(_0x4ef76e=this[_0xd25ac7(0x41a)](!0x0),_0x1fa76c[_0xd25ac7(0x2e1)](_0x4ef76e)),_0x4ef76e;},'blockSize':0x80/0x20});var _0x59cf2d=_0x4b353a[_0x2c3575(0x421)]=_0xaadc2[_0x2c3575(0x43f)]({'init':function(_0x512ef1){var _0x4957b8=_0x2c3575;this[_0x4957b8(0x3ff)](_0x512ef1);},'toString':function(_0x5f40c1){var _0x584e8d=_0x2c3575;return(_0x5f40c1||this[_0x584e8d(0x281)])[_0x584e8d(0x215)](this);}}),_0x516a35=_0x512c83[_0x2c3575(0x1ec)]={},_0x34b77f=_0x516a35[_0x2c3575(0x4d5)]={'stringify':function(_0x248813){var _0x546483=_0x2c3575,_0x39b996,_0x3b64c4=_0x248813[_0x546483(0x237)],_0x43753c=_0x248813[_0x546483(0x2e0)];return _0x43753c?_0x39b996=_0x298935[_0x546483(0x28e)]([0x53616c74,0x65645f5f])[_0x546483(0x472)](_0x43753c)[_0x546483(0x472)](_0x3b64c4):_0x39b996=_0x3b64c4,_0x39b996[_0x546483(0x23c)](_0x228cbc);},'parse':function(_0xec85a0){var _0x26e351=_0x2c3575,_0x30c19a,_0x1fd135=_0x228cbc[_0x26e351(0x225)](_0xec85a0),_0x3cecea=_0x1fd135[_0x26e351(0x255)];return _0x3cecea[0x0]==0x53616c74&&_0x3cecea[0x1]==0x65645f5f&&(_0x30c19a=_0x298935['create'](_0x3cecea[_0x26e351(0x4bb)](0x2,0x4)),_0x3cecea[_0x26e351(0x365)](0x0,0x4),_0x1fd135[_0x26e351(0x42d)]-=0x10),_0x59cf2d[_0x26e351(0x28e)]({'ciphertext':_0x1fd135,'salt':_0x30c19a});}},_0x4e030d=_0x4b353a[_0x2c3575(0x241)]=_0xaadc2[_0x2c3575(0x43f)]({'cfg':_0xaadc2[_0x2c3575(0x43f)]({'format':_0x34b77f}),'encrypt':function(_0x5b01a0,_0x55586b,_0x46ec2e,_0x525381){var _0x40b7f8=_0x2c3575;_0x525381=this['cfg'][_0x40b7f8(0x43f)](_0x525381);var _0x37a14f=_0x5b01a0[_0x40b7f8(0x348)](_0x46ec2e,_0x525381),_0x476283=_0x37a14f['finalize'](_0x55586b),_0x397c77=_0x37a14f['cfg'];return _0x59cf2d[_0x40b7f8(0x28e)]({'ciphertext':_0x476283,'key':_0x46ec2e,'iv':_0x397c77['iv'],'algorithm':_0x5b01a0,'mode':_0x397c77[_0x40b7f8(0x2fe)],'padding':_0x397c77[_0x40b7f8(0x308)],'blockSize':_0x5b01a0[_0x40b7f8(0x467)],'formatter':_0x525381[_0x40b7f8(0x1ec)]});},'decrypt':function(_0x4a7338,_0x4160d9,_0x118065,_0x401449){var _0x22ce7b=_0x2c3575;_0x401449=this[_0x22ce7b(0x3d1)][_0x22ce7b(0x43f)](_0x401449),_0x4160d9=this[_0x22ce7b(0x210)](_0x4160d9,_0x401449[_0x22ce7b(0x1ec)]);var _0x58c550=_0x4a7338[_0x22ce7b(0x231)](_0x118065,_0x401449)[_0x22ce7b(0x227)](_0x4160d9[_0x22ce7b(0x237)]);return _0x58c550;},'_parse':function(_0x5b0138,_0x2fd182){var _0x17030d=_0x2c3575;return typeof _0x5b0138==_0x17030d(0x2ca)?_0x2fd182[_0x17030d(0x225)](_0x5b0138,this):_0x5b0138;}}),_0x482b4b=_0x512c83[_0x2c3575(0x270)]={},_0x13d22a=_0x482b4b[_0x2c3575(0x4d5)]={'execute':function(_0x32fe41,_0x2d06d6,_0x4196f7,_0x1ae949,_0x85924d){var _0x507431=_0x2c3575;if(_0x1ae949||(_0x1ae949=_0x298935[_0x507431(0x384)](0x40/0x8)),_0x85924d)var _0x573c94=_0x2bca08[_0x507431(0x28e)]({'keySize':_0x2d06d6+_0x4196f7,'hasher':_0x85924d})[_0x507431(0x3c5)](_0x32fe41,_0x1ae949);else var _0x573c94=_0x2bca08[_0x507431(0x28e)]({'keySize':_0x2d06d6+_0x4196f7})[_0x507431(0x3c5)](_0x32fe41,_0x1ae949);var _0x2fb245=_0x298935[_0x507431(0x28e)](_0x573c94['words'][_0x507431(0x4bb)](_0x2d06d6),_0x4196f7*0x4);return _0x573c94['sigBytes']=_0x2d06d6*0x4,_0x59cf2d[_0x507431(0x28e)]({'key':_0x573c94,'iv':_0x2fb245,'salt':_0x1ae949});}},_0xb3859b=_0x4b353a['PasswordBasedCipher']=_0x4e030d[_0x2c3575(0x43f)]({'cfg':_0x4e030d[_0x2c3575(0x3d1)][_0x2c3575(0x43f)]({'kdf':_0x13d22a}),'encrypt':function(_0x20d314,_0x190a6b,_0x5e68f6,_0x281ca7){var _0x45c15c=_0x2c3575;_0x281ca7=this['cfg'][_0x45c15c(0x43f)](_0x281ca7);var _0x21b280=_0x281ca7[_0x45c15c(0x270)][_0x45c15c(0x430)](_0x5e68f6,_0x20d314['keySize'],_0x20d314[_0x45c15c(0x3c2)],_0x281ca7[_0x45c15c(0x2e0)],_0x281ca7[_0x45c15c(0x4df)]);_0x281ca7['iv']=_0x21b280['iv'];var _0x2ae688=_0x4e030d[_0x45c15c(0x3bc)]['call'](this,_0x20d314,_0x190a6b,_0x21b280[_0x45c15c(0x224)],_0x281ca7);return _0x2ae688[_0x45c15c(0x3ff)](_0x21b280),_0x2ae688;},'decrypt':function(_0x12f71a,_0x565f8a,_0x59934c,_0xd1d694){var _0x1897ff=_0x2c3575;_0xd1d694=this['cfg'][_0x1897ff(0x43f)](_0xd1d694),_0x565f8a=this[_0x1897ff(0x210)](_0x565f8a,_0xd1d694[_0x1897ff(0x1ec)]);var _0x51e0fa=_0xd1d694[_0x1897ff(0x270)][_0x1897ff(0x430)](_0x59934c,_0x12f71a[_0x1897ff(0x4b7)],_0x12f71a['ivSize'],_0x565f8a[_0x1897ff(0x2e0)],_0xd1d694[_0x1897ff(0x4df)]);_0xd1d694['iv']=_0x51e0fa['iv'];var _0x348167=_0x4e030d[_0x1897ff(0x495)][_0x1897ff(0x4de)](this,_0x12f71a,_0x565f8a,_0x51e0fa['key'],_0xd1d694);return _0x348167;}});}();}));}(Je)),Je[_0x7efef6(0x1fc)];}var Tn=Ve[_0xd5ee09(0x1fc)],ti;function _0x4224(){var _0xa63900=['_userManagerService','2mwtmtG','_getLoginPath','LICENSE_EXPORT_SIZE_EXCEEDED','loadSheet','lib','univer-pro.collaboration-client-socket-service','image/jpeg','_collaborationUIEventService','_clearUndo','catch','charAt','/universer-api/uniscript','encrypt','_candidateSocket','size','readInt32LE','onMissedChangesetFetched','csAckEvent','ivSize','dispose$','enc','compute','add','_getCurrentRevision','resend','_onMessage','_commandService','saveChangeset','CHANGESET_SHOULD_RETRY','_commentUpdate$','LIVESHARE_OPERATION','auth.needGotoLoginAlert','csShouldRetryEvent','cfg','objectID','getCollabEntity$','_doProcessBlock','_snapshotService','_isPermissionRej','_sender','_instanceService','__Key__','[PendingState]:\x20unhandled\x20univer\x20type:\x20','MUTATION','__creator','body','11106PzJJdR','responseType','title','[CollaborationSession]','unit-cache-','_resendTimer','[CollaborationSessionService]','ceil','UPDATE_PERMISSION_OBJ','collaborators','onTransformRemoteChangesetByStateCache','_hash','values','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_clearHeartbeatTimer','setCurrentUser','_prevBlock','1590152QGLXje','[FetchMissState]','/universer-api/snapshot/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/comb','method','event$','collaboration-client.local-cache-service','csRejEvent','_map','INTERNAL_ERROR','socketService','cmd','/collaborator','APPLY_PERMISSION_DENIED','getImageSourceCache','mixIn','_telemetryInfo','socket\x20close','_roomCreated$','_unitID','permissionRejEvent','HmacSHA1','_onUserJoin','interceptor','sheets','UNIVER_SHEET','_doCryptBlock','_decreaseWaiting','_undoRedoService','_tryReconnect','INVALID_INVITE_CODE','Base64','_clearLocalCache','getMember','_getUndoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','enableOfflineEditing','1422615TolGqB','_getDownloadEndpointURL','focused$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformSelections','_process','getUnitId','get','post','_telemetryService','enableSingleActiveInstanceLock','_registerDependencies','CipherParams','_logService','SNAPSHOT_HAS_BEEN_REMOVED','JOIN_ROOM_FULL','downloadEndpointUrl','_onRemoteChangeset','includes','_executeRemoteChangeset','onStarting','liveShareOperation','waitForRoom$','PSEUDO_FETCH_MISSING_RESULT','sigBytes','_collaborationSessionService','infoRsp','execute','_initRequestHeader','UNIVER_UNKNOWN','synced','MSG_FOR_ERROR','_socketService','revision','_eventService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LEAVE','/resources','getOwnPropertyDescriptor','Pkcs7','decryptBlock','listCollaborators','extend','updateCursorEvent','SOCKET_FAILED','OTHER_CLIENT_EDITING','href','LIVESHARE_REQUEST_HOST','subject','unitID','[OfflineState]:\x20received\x20acknowledgement.','pipe','YUUMI_ASYNCIO_CANCELLED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_mode','now','workbook','YUUMI_AI_RUN_FAILED','_getSignURL','?url=','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_acknowledgedAwaitingChangeset','_rescheduleHeartbeat','_oKey','_cipher','_changesetSessionId','_transformUndoredo','session.room-not-exists','readAsDataURL','localCacheService','COMPRESS_MUTATION_SEND','_transformRemoteChangesetByStateCache','_DEC_XFORM_MODE','requireSession','_univerInstanceService','params','getWorkbookSelections','1310cdWlor','setWaitCount','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','next','_onRemoteRetry','blockSize','session.join-failed','FETCH_MISSING','delete','[CollaborationUndoRedoService]','updateOfflineData','sessionStatus','getRoom','RECV','onRemoteChangeset','close','concat','&assign=','_remoteChangesetQueue','/object','_schedule','_event$','_httpService','algo','?size=','dispose','RETRY_CONNECTING_MAX_COUNT','&to=','_memberService','AWAITING_WITH_PENDING','HEARTBEAT_TIMEOUT','image/gif','awaiting','c1Prime','_networkConditionService','_scheduleCollaborationTimeoutTimer','UNISCRIPT_RUN','/allowed','byteLength','_disableEditing','not_collab','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','loadDoc','_createInitialStateImpl','emitEvent','state','[CollaborationSessionService]:\x20socket\x20error','_change$','_sendHeartbeatTimer','onTransformIME','incrementRevOfUnit','decrypt','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaiting_with_pending','_onLocalMutation','closeSession','conflict','onTransformState','\x0aAfter:\x20','hostname','UnitSnapshot','floor','commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','getActiveSheet','_substituteRedoStack','prototype','getSnapshotAPIPath','onlyLocal','_transitionLocked','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/universer-api/file/{fileID}/sign-url','enableAuthServer','univer-pro.collaboration-client.network-condition.service','BASE64','POST','_onOffline','indexOf','replace','updatePermissionObjEvent','/universer-api/snapshot','deepClone','YUUMI_UNABLE_LOAD_URL','changesets','_createSocket','keySize','2015692mETkkG','getSheetId','onStateChange','slice','setShowComponents','_replaceFileID','MOBILE_HAS_BEEN_BOUND','_redoStacks','localeService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onRemoteACK','_createHelper','loadUnit','_stopTelemetryCollaborationNewChangeset','CLOSE_ROOM','Error\x20on\x20receiving\x20event','encode','patch','x-univer-host','asObservable','_members$','putCollaborators','buffer','_append','LOGIN_URL_KEY','EMAIL_HAS_BEEN_BOUND','_fetchMissChangesets','_resendWithTimeout','Malformed\x20UTF-8\x20data','OpenSSL','Cipher','_xformMode','WordArray','UUID','AES','_sheetTransformSelectionsService','Hex','USERS_ENTER','call','hasher','initWorkbookPermissionChange','[DataLoaderService]','_state$','FAIL','fetchThroughInterceptors','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNDEFINED','telemetry\x20info\x20is\x20not\x20initialized','has','fetchMiss','code','_getAPIPrefixPath','getTime','getSheetBlock','SUBMIT_CHANGESET','encryptBlock','_minBufferSize','_entityInit$','_undoStacks','c2Prime','updateSnapshot','_initDependencies','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','PENDING','transformSelections','_transformRemoteChangesetByIMECache','YUUMI_URL_COL_OUT_OF_RANGE','CHANGESET_ACK','YUUMI_ALL_TABLES_IS_INVALID','status$','getValue','INVALID_ARGUMENT','default','reject','_timeoutTimer','EvpKDF','origin','format','UNRECOGNIZED','_invKeySchedule','PERMISSION_REJ','objectType','HELLO','_handler','_data','sin','joinRsp','_startTelemetryCollaborationNewChangeset','HttpExport','_submitChangeset','_getAPIPrefix','/object/','INGEST','exports','YUUMI_NO_CUBOID_FOR_QUESTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HEARTBEAT','LIVESHARE_FETCH_OPERATIONS','onCommentUpdate','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','_nDataBytes','map','socket\x20open.','_transformStateCache','_tryEnsureSocket','onCommandExecuted','/-/object/list','ws://127.0.0.1:8000/universer-api/comb/connect','1232724ZrGDRe','updateCollaborator','complete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_parse','unsubscribe','_removeRoom','_clearTimeoutTimer','SEND_CHANGESET_TIMEOUT','stringify','/universer-api/stream/file/upload','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearCollaborationTimeoutTimer','_clearRedo','OPTIONAL','filter','mutations','awaitingChangeset','LICENSE_DISTRO_REJECTED','leaveEvent','getCurrentRevOfUnit','OFFLINE','snapshot','_imageSourceCache','key','parse','result','finalize','session','_sendingTimer','COMMENT_UPDATE','repeat','init','6iOtpOJ','symbol','unitId\x20is\x20not\x20found','ERROR_IMAGE_TYPE','createDecryptor','routeKey','_sessionStatus$','_injector','/rev/','_socket$','ciphertext','transformUndoRedo','defineProperty','byteOffset','change$','toString','hasOwnProperty','SOCKET_FAILED_RETRY','_onConflict','getCurrentSelections','SerializableCipher','subscribe','fromCollab','SHOULD_CLOSE_CONN','crypto','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_startCollaboration','_onConnectionFailed','COLLAB_SUBMIT_CHANGESET_URL','UNKNOWN_CMD','_onUserLeave','_keySchedule','_transformIMECache','resolve','Utf8','_pendingMutations','FileId','Undefined','UNAUTHENTICATED','JOIN_ROOM_NOT_EXISTS','words','reduce','_collaborationTimeoutTimer','OTHER_CLIENTS_EDITING','forEach','uploadFileServerUrl','_clearRetryConnectingTimer','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_socketReady','_retryCount','HEARTBEAT_INTERVAL','_exhaustRemoteChangesetQueue','name','ONLINE','entries','PERMISSION_DENIED','m2Prime','_initCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','COMPRESS_MUTATION_APPLY','_initMergeInterceptor','refreshPermission','StreamCipher','FETCH_MISS','kdf','LIVESHARE_NEW_HOST','headers','_waitCount','removeMember','LIVESHARE_TERMINATE','onTransformRemoteChangesetByIMECache','from','msCrypto','collabWebSocketUrl','failed\x20to\x20apply\x20missed\x20changesets!','collaboration_new_changeset','_incrementRevisionNumber','_sendHeartbeat','objects','_doReset','_toggleOffline','formatter','isPermissionRej','_nRounds','COMPLETION_FINISHED','_localeService','IDLE','CONNECTOR_DATA_TOO_LARGE','_getSendChangesetTimeout','getTypeOfUnitDisposed$','addImageSourceCache','equals','COLLAB_WEB_SOCKET_URL','setConfig','create','_queuedRemoteChangesets','INVITE_CODE_HAS_BEEN_UES','state$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','editing\x20status\x20changed\x20to','offline','AWAITING','_unitInfo$','rev','BufferedBlockAlgorithm','unitInfo$','push','&source=','UnitEmbedded','_collabSessionService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformChangesets','appendMutation','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','actions','9EVxtkh','_entities','_substituteUndoStack','_transformSelections','getCollabEntity','_updateLocalCache','getDeserializedSheetBlock','ERROR_EXCEED_SIZE','BlockCipher','Base','getConfig','_singleActiveUnitService','status','file','UNIVER_SLIDE','saveImage','INVITE_CODE_ALREADY_BOUND','\x0aCurrent:\x20','155216ceISPA','NEW_CHANGESETS','clamp','PERSON','onRemoteRetry','[CollaborationState]:\x20apply\x20error!','sid','APPLY_REJECT','APPLY_REVISION_CONFILICT','charCodeAt','INVITE_CODE_REQUIRED','_config','toggleOnline','USER_NOT_INVITED_CODE','update','_awaitingChangeset','members$','_state','HttpImport','UNIVER_PROJECT','string','onRemoteAck','_init','_onFetchMissResult','CONFLICT','_handlerCallback','getRandomValues','objectActions','roomInfos','Decryptor','compose','NOT_COLLAB','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','avatar','_resendTimeout','fetchMissingChangesets','getResourcesRequest','target','data','_compressMutationService','createInstance','loginUrlKey','salt','unpad','Could\x20not\x20dynamically\x20require\x20\x22','enableCollaboration','error$','_roomMembers','pending','SHA1','executeCommand','function','getTypeOfUnitAdded$','apply','_sessions','updatePermissionPoint','_doFinalize','_lockTransition','APPLY_DUPLICATED','GLOBAL_ROOMS_CNT_EXCEEDS','editingUnit','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','pluginName','every','LOCAL_CACHE_INTERVAL','_getCtorByUniverType','sendChangesetTimeout','_collaborationPaused','_listenToNetworkCondition','isArray','baseRev','mode','_updateState','_reverseMap','getMemberID','range','members','\x20in\x20_schedule.','eventID','_replayCachedMutations','randomBytes','padding','14685bgLsjS','UNKNOWN_CODE','createSocket','\x20-\x20','/block/','image/jpg','updateMember','_onConnectionOpen','_configService','commentUpdateEvent','_onRecvEvent','NO_OTHER_CLIENTS_EDITING','selections','collaMsg','memberID','registerHTTPInterceptor','unitId','generateRandomId','[PendingState]:\x20received\x20rejection.','fetch_missing','CHANGESET_REJ','_iKey','SNAPSHOT_URL_KEY','_waitForHeartbeatResponse','UPDATE_CURSOR','getImage','_hasher','UNIVER_DOC','readyForCollab','getInterceptPoints','join','type','_getUploadFileURL','disposeWithMe','getCurrentUser','sessionStatus$','_createHandler','JOIN','authzUrl','_initUnitPermissionChange','NoPadding','_onJoinRoomEvent','DEFAULT_FILE_NAME','[CollaborationEntity]','onMissingChangesets','univer-pro.collaboration-client.single-active-unit-service','snapshotServerUrl','$super','userID','getLatestCsReqIdBySid','/universer-api/authz','_retryConnectingTimer','onSyncEditingCollabCursor','_updateStatus','url','send','onSendChangeset','confirm','originalMeta','put','_permissionService','startTime','location','createEncryptor','[PendingState]:\x20received\x20acknowledgement.','loadOfflineData','_transformService','_keyPriorReset','_localCacheService','set','reqId','LOGIN_FAILED','_getRedoStack','unknown','requestParams','_changesetReqId','HmacMD5','clear','_onCombEvent','findIndex','USERS_LEAVE','shouldCloseConn','close$','list','_throwTelemetryCollaborationNewChangeset','open$','_status$','reset','fromCharCode','MD5','error','substr','splice','/new_changes','_members','_unlockTransition','ENSURE_SNAPSHOT_EXECUTION','listRoles','_toggleOnline','\x20to\x20','SUBMIT_CHANGESET_TIMEOUT','HMAC','submit\x20changeset\x20error!','Hasher','Latin1','LICENSE_MAX_UNITS_EXCEEDED','_type','_createInitialState','_snapshotServerService','_revisionService','SNAPSHOT_INVALID_SNAPSHOT','message$','subUnitId','find','_HTTPService','APPLY_NON_SEQUENTIAL_REVISION','_socket','_commentService','session.room-cnt-exceeds','JOINING','/universer-api/oidc/authpage','/role','disableLocalCache','random','_showConflictNotification','Encryptor','TOO_MANY_REQUESTS','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getFocusedUnit','[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.','_emitMembers','[SyncedState]:\x20received\x20acknowledgement.','Failed\x20to\x20update\x20permission\x20point','reconnect','image/png','_scheduleCompleteTimestamp','_socketMessageSubscription','pad','startsWith','__esModule','uniscriptRunEvent','onRemoteRej','_checkMissing','getAllMembers','SYNCED','clone','_applyRemoteChangeset','_clearScheduledTask','debug','/unit/','toggleOffline','_transformStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/user/session-ticket','Univer','onload','signUrlServerUrl','_createHmacHelper','length','_shouldReportTelemetry','getUnitOnRev','JOIN_ROOM_FAILED','ERROR_IMAGE','createCollaborator','textRanges','batchAllowed'];_0x4224=function(){return _0xa63900;};return _0x4224();}function Cn(){var _0x4dc3bc=_0xd5ee09;return ti||(ti=0x1,function(_0x136602,_0x25442b){(function(_0x99e8fe,_0x10f1c2,_0x41551b){var _0x49ead3=_0x7476;_0x136602[_0x49ead3(0x1fc)]=_0x10f1c2(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x403a6b){var _0x2257a1=_0x7476;return(function(){var _0x582bac=_0x7476,_0x2ec81b=_0x403a6b,_0x2ee2c6=_0x2ec81b[_0x582bac(0x3b4)],_0x354733=_0x2ee2c6[_0x582bac(0x2ac)],_0x1218c3=_0x2ec81b[_0x582bac(0x479)],_0x300167=[],_0x63f83b=[],_0xa1e468=[],_0x3212a1=[],_0x6a39f9=[],_0x35878f=[],_0x530475=[],_0x2b7cdd=[],_0xdd2434=[],_0x4fc5b8=[];(function(){for(var _0x51877d=[],_0x549fb2=0x0;_0x549fb2<0x100;_0x549fb2++)_0x549fb2<0x80?_0x51877d[_0x549fb2]=_0x549fb2<<0x1:_0x51877d[_0x549fb2]=_0x549fb2<<0x1^0x11b;for(var _0xb146a5=0x0,_0x23585b=0x0,_0x549fb2=0x0;_0x549fb2<0x100;_0x549fb2++){var _0x2ba501=_0x23585b^_0x23585b<<0x1^_0x23585b<<0x2^_0x23585b<<0x3^_0x23585b<<0x4;_0x2ba501=_0x2ba501>>>0x8^_0x2ba501&0xff^0x63,_0x300167[_0xb146a5]=_0x2ba501,_0x63f83b[_0x2ba501]=_0xb146a5;var _0x4f4811=_0x51877d[_0xb146a5],_0x1d88cb=_0x51877d[_0x4f4811],_0x1fe764=_0x51877d[_0x1d88cb],_0x239937=_0x51877d[_0x2ba501]*0x101^_0x2ba501*0x1010100;_0xa1e468[_0xb146a5]=_0x239937<<0x18|_0x239937>>>0x8,_0x3212a1[_0xb146a5]=_0x239937<<0x10|_0x239937>>>0x10,_0x6a39f9[_0xb146a5]=_0x239937<<0x8|_0x239937>>>0x18,_0x35878f[_0xb146a5]=_0x239937;var _0x239937=_0x1fe764*0x1010101^_0x1d88cb*0x10001^_0x4f4811*0x101^_0xb146a5*0x1010100;_0x530475[_0x2ba501]=_0x239937<<0x18|_0x239937>>>0x8,_0x2b7cdd[_0x2ba501]=_0x239937<<0x10|_0x239937>>>0x10,_0xdd2434[_0x2ba501]=_0x239937<<0x8|_0x239937>>>0x18,_0x4fc5b8[_0x2ba501]=_0x239937,_0xb146a5?(_0xb146a5=_0x4f4811^_0x51877d[_0x51877d[_0x51877d[_0x1fe764^_0x4f4811]]],_0x23585b^=_0x51877d[_0x51877d[_0x23585b]]):_0xb146a5=_0x23585b=0x1;}}());var _0x367ce7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xcbb71b=_0x1218c3[_0x582bac(0x4da)]=_0x354733['extend']({'_doReset':function(){var _0x15d65a=_0x582bac,_0x4390da;if(!(this[_0x15d65a(0x283)]&&this['_keyPriorReset']===this['_key'])){for(var _0x4178f4=this[_0x15d65a(0x34c)]=this['_key'],_0x414503=_0x4178f4[_0x15d65a(0x255)],_0x3bffaf=_0x4178f4[_0x15d65a(0x42d)]/0x4,_0x1cf94f=this['_nRounds']=_0x3bffaf+0x6,_0x41748c=(_0x1cf94f+0x1)*0x4,_0x1b7072=this[_0x15d65a(0x24c)]=[],_0x367c83=0x0;_0x367c83<_0x41748c;_0x367c83++)_0x367c83<_0x3bffaf?_0x1b7072[_0x367c83]=_0x414503[_0x367c83]:(_0x4390da=_0x1b7072[_0x367c83-0x1],_0x367c83%_0x3bffaf?_0x3bffaf>0x6&&_0x367c83%_0x3bffaf==0x4&&(_0x4390da=_0x300167[_0x4390da>>>0x18]<<0x18|_0x300167[_0x4390da>>>0x10&0xff]<<0x10|_0x300167[_0x4390da>>>0x8&0xff]<<0x8|_0x300167[_0x4390da&0xff]):(_0x4390da=_0x4390da<<0x8|_0x4390da>>>0x18,_0x4390da=_0x300167[_0x4390da>>>0x18]<<0x18|_0x300167[_0x4390da>>>0x10&0xff]<<0x10|_0x300167[_0x4390da>>>0x8&0xff]<<0x8|_0x300167[_0x4390da&0xff],_0x4390da^=_0x367ce7[_0x367c83/_0x3bffaf|0x0]<<0x18),_0x1b7072[_0x367c83]=_0x1b7072[_0x367c83-_0x3bffaf]^_0x4390da);for(var _0x49d4ec=this[_0x15d65a(0x1ee)]=[],_0x4e3bf1=0x0;_0x4e3bf1<_0x41748c;_0x4e3bf1++){var _0x367c83=_0x41748c-_0x4e3bf1;if(_0x4e3bf1%0x4)var _0x4390da=_0x1b7072[_0x367c83];else var _0x4390da=_0x1b7072[_0x367c83-0x4];_0x4e3bf1<0x4||_0x367c83<=0x4?_0x49d4ec[_0x4e3bf1]=_0x4390da:_0x49d4ec[_0x4e3bf1]=_0x530475[_0x300167[_0x4390da>>>0x18]]^_0x2b7cdd[_0x300167[_0x4390da>>>0x10&0xff]]^_0xdd2434[_0x300167[_0x4390da>>>0x8&0xff]]^_0x4fc5b8[_0x300167[_0x4390da&0xff]];}}},'encryptBlock':function(_0x4920ce,_0x35a54a){var _0x392295=_0x582bac;this[_0x392295(0x40a)](_0x4920ce,_0x35a54a,this[_0x392295(0x24c)],_0xa1e468,_0x3212a1,_0x6a39f9,_0x35878f,_0x300167);},'decryptBlock':function(_0x4b702f,_0x5a8623){var _0x1ad47a=_0x582bac,_0x41a0fa=_0x4b702f[_0x5a8623+0x1];_0x4b702f[_0x5a8623+0x1]=_0x4b702f[_0x5a8623+0x3],_0x4b702f[_0x5a8623+0x3]=_0x41a0fa,this['_doCryptBlock'](_0x4b702f,_0x5a8623,this[_0x1ad47a(0x1ee)],_0x530475,_0x2b7cdd,_0xdd2434,_0x4fc5b8,_0x63f83b);var _0x41a0fa=_0x4b702f[_0x5a8623+0x1];_0x4b702f[_0x5a8623+0x1]=_0x4b702f[_0x5a8623+0x3],_0x4b702f[_0x5a8623+0x3]=_0x41a0fa;},'_doCryptBlock':function(_0x23baf7,_0x528d4f,_0x1d22c1,_0x3f35c9,_0x5d8acb,_0x4d31b1,_0x2993c9,_0x5136a5){for(var _0x2126a3=this['_nRounds'],_0x7f46e5=_0x23baf7[_0x528d4f]^_0x1d22c1[0x0],_0x4445c7=_0x23baf7[_0x528d4f+0x1]^_0x1d22c1[0x1],_0xc15232=_0x23baf7[_0x528d4f+0x2]^_0x1d22c1[0x2],_0x141914=_0x23baf7[_0x528d4f+0x3]^_0x1d22c1[0x3],_0x973940=0x4,_0x4be6e2=0x1;_0x4be6e2<_0x2126a3;_0x4be6e2++){var _0x4f0d6d=_0x3f35c9[_0x7f46e5>>>0x18]^_0x5d8acb[_0x4445c7>>>0x10&0xff]^_0x4d31b1[_0xc15232>>>0x8&0xff]^_0x2993c9[_0x141914&0xff]^_0x1d22c1[_0x973940++],_0x3e12b9=_0x3f35c9[_0x4445c7>>>0x18]^_0x5d8acb[_0xc15232>>>0x10&0xff]^_0x4d31b1[_0x141914>>>0x8&0xff]^_0x2993c9[_0x7f46e5&0xff]^_0x1d22c1[_0x973940++],_0x34610c=_0x3f35c9[_0xc15232>>>0x18]^_0x5d8acb[_0x141914>>>0x10&0xff]^_0x4d31b1[_0x7f46e5>>>0x8&0xff]^_0x2993c9[_0x4445c7&0xff]^_0x1d22c1[_0x973940++],_0x4d1008=_0x3f35c9[_0x141914>>>0x18]^_0x5d8acb[_0x7f46e5>>>0x10&0xff]^_0x4d31b1[_0x4445c7>>>0x8&0xff]^_0x2993c9[_0xc15232&0xff]^_0x1d22c1[_0x973940++];_0x7f46e5=_0x4f0d6d,_0x4445c7=_0x3e12b9,_0xc15232=_0x34610c,_0x141914=_0x4d1008;}var _0x4f0d6d=(_0x5136a5[_0x7f46e5>>>0x18]<<0x18|_0x5136a5[_0x4445c7>>>0x10&0xff]<<0x10|_0x5136a5[_0xc15232>>>0x8&0xff]<<0x8|_0x5136a5[_0x141914&0xff])^_0x1d22c1[_0x973940++],_0x3e12b9=(_0x5136a5[_0x4445c7>>>0x18]<<0x18|_0x5136a5[_0xc15232>>>0x10&0xff]<<0x10|_0x5136a5[_0x141914>>>0x8&0xff]<<0x8|_0x5136a5[_0x7f46e5&0xff])^_0x1d22c1[_0x973940++],_0x34610c=(_0x5136a5[_0xc15232>>>0x18]<<0x18|_0x5136a5[_0x141914>>>0x10&0xff]<<0x10|_0x5136a5[_0x7f46e5>>>0x8&0xff]<<0x8|_0x5136a5[_0x4445c7&0xff])^_0x1d22c1[_0x973940++],_0x4d1008=(_0x5136a5[_0x141914>>>0x18]<<0x18|_0x5136a5[_0x7f46e5>>>0x10&0xff]<<0x10|_0x5136a5[_0x4445c7>>>0x8&0xff]<<0x8|_0x5136a5[_0xc15232&0xff])^_0x1d22c1[_0x973940++];_0x23baf7[_0x528d4f]=_0x4f0d6d,_0x23baf7[_0x528d4f+0x1]=_0x3e12b9,_0x23baf7[_0x528d4f+0x2]=_0x34610c,_0x23baf7[_0x528d4f+0x3]=_0x4d1008;},'keySize':0x100/0x20});_0x2ec81b[_0x582bac(0x4da)]=_0x354733[_0x582bac(0x4c3)](_0xcbb71b);}()),_0x403a6b[_0x2257a1(0x4da)];}));}(Ve)),Ve[_0x4dc3bc(0x1fc)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0xd5ee09(0x1fc)],si;function Nn(){var _0x1e233e=_0xd5ee09;return si||(si=0x1,function(_0x52ffa6,_0x20faf6){(function(_0xf9645d,_0x33984b){var _0x47c62e=_0x7476;_0x52ffa6[_0x47c62e(0x1fc)]=_0x33984b(te());}(yn,function(_0x188dcb){var _0xb8dc40=_0x7476;return _0x188dcb[_0xb8dc40(0x3c4)][_0xb8dc40(0x24f)];}));}(Xe)),Xe[_0x1e233e(0x1fc)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0xd5ee09(0x1fc)],ni;function wn(){var _0x12ee70=_0xd5ee09;return ni||(ni=0x1,function(_0x3122f3,_0x17aeaa){(function(_0x2cdf47,_0x4a35a8){_0x3122f3['exports']=_0x4a35a8(te());}(An,function(_0x16fb37){var _0x5745f1=_0x7476;return(function(){var _0x4da209=_0x7476;if(typeof ArrayBuffer==_0x4da209(0x2e9)){var _0x230590=_0x16fb37,_0x1a9d6f=_0x230590['lib'],_0x48964c=_0x1a9d6f[_0x4da209(0x4d8)],_0x1c24ab=_0x48964c[_0x4da209(0x22c)],_0x3954d3=_0x48964c[_0x4da209(0x22c)]=function(_0x3f2e74){var _0x593635=_0x4da209;if(_0x3f2e74 instanceof ArrayBuffer&&(_0x3f2e74=new Uint8Array(_0x3f2e74)),(_0x3f2e74 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f2e74 instanceof Uint8ClampedArray||_0x3f2e74 instanceof Int16Array||_0x3f2e74 instanceof Uint16Array||_0x3f2e74 instanceof Int32Array||_0x3f2e74 instanceof Uint32Array||_0x3f2e74 instanceof Float32Array||_0x3f2e74 instanceof Float64Array)&&(_0x3f2e74=new Uint8Array(_0x3f2e74[_0x593635(0x4ce)],_0x3f2e74[_0x593635(0x23a)],_0x3f2e74[_0x593635(0x488)])),_0x3f2e74 instanceof Uint8Array){for(var _0x126c9f=_0x3f2e74[_0x593635(0x488)],_0xf37581=[],_0x3b32cc=0x0;_0x3b32cc<_0x126c9f;_0x3b32cc++)_0xf37581[_0x3b32cc>>>0x2]|=_0x3f2e74[_0x3b32cc]<<0x18-_0x3b32cc%0x4*0x8;_0x1c24ab[_0x593635(0x4de)](this,_0xf37581,_0x126c9f);}else _0x1c24ab['apply'](this,arguments);};_0x3954d3['prototype']=_0x48964c;}}()),_0x16fb37[_0x5745f1(0x3b4)][_0x5745f1(0x4d8)];}));}(Ze)),Ze[_0x12ee70(0x1fc)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){var _0x1432dc=_0xd5ee09;return ri||(ri=0x1,function(_0x39a6e4,_0x2af7b2){(function(_0x269b76,_0x4a10d6,_0x23302c){_0x39a6e4['exports']=_0x4a10d6(te(),Ni());}(Mn,function(_0x654a34){var _0x25d1de=_0x7476;return _0x654a34[_0x25d1de(0x392)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x654a34['pad'][_0x25d1de(0x331)];}));}(Qe)),Qe[_0x1432dc(0x1fc)];}var kn=xn();const $n=$e(kn);function Hn(_0x25e9b3,_0x112411){var _0x4a755e=_0xd5ee09;const _0x4261bb=_0x112411-_0x25e9b3[_0x4a755e(0x3a7)]%_0x112411,_0x18b331=String[_0x4a755e(0x361)](_0x4261bb)[_0x4a755e(0x22b)](_0x4261bb);return _0x25e9b3+_0x18b331;}function Bn(_0x545bd7,_0x1bd36e){var _0x44f109=_0xd5ee09;const _0x19b51d=Ln[_0x44f109(0x384)](0x10),_0x1265bf=Hn(_0x545bd7,0x10),_0x3571dc=bn['encrypt'](Un[_0x44f109(0x225)](_0x1265bf),ii[_0x44f109(0x225)](_0x1bd36e),{'iv':_0x19b51d,'padding':$n});return _0x19b51d['concat'](_0x3571dc[_0x44f109(0x237)])[_0x44f109(0x23c)](ii);}function jn(){var _0x2b413a=_0xd5ee09;const _0x58fb3e=_0xdecffd()[_0x2b413a(0x3d9)];if(_0x58fb3e){const _0x120089={'time':Math[_0x2b413a(0x49f)](Date['now']()/0x3e8),'domain':location[_0x2b413a(0x49d)]};return Bn(JSON[_0x2b413a(0x215)](_0x120089),_0x58fb3e);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x1bc6c6,_0x532810,_0x2b36e1,_0x1e72d5)=>{var _0x201569=_0xd5ee09;for(var _0x50db38=_0x1e72d5>0x1?void 0x0:_0x1e72d5?Fn(_0x532810,_0x2b36e1):_0x532810,_0x40f9fa=_0x1bc6c6[_0x201569(0x3a7)]-0x1,_0x357534;_0x40f9fa>=0x0;_0x40f9fa--)(_0x357534=_0x1bc6c6[_0x40f9fa])&&(_0x50db38=_0x357534(_0x50db38)||_0x50db38);return _0x50db38;},Gn=(_0x18677b,_0x4f4110)=>(_0x5e887b,_0x4beacb)=>_0x4f4110(_0x5e887b,_0x4beacb,_0x18677b);let at=class{constructor(_0x13fdcf){var _0x437455=_0xd5ee09;this['_httpService']=_0x13fdcf,this[_0x437455(0x431)]();}['_initRequestHeader'](){var _0x10fde8=_0xd5ee09;this[_0x10fde8(0x478)][_0x10fde8(0x318)]({'interceptor':(_0x3b7ceb,_0x537d21)=>{var _0x352165=_0x10fde8;const _0x17243e=_0x3b7ceb[_0x352165(0x272)],_0x517a37=jn();return _0x517a37&&_0x17243e[_0x352165(0x34e)](_0x352165(0x4ca),_0x517a37),_0x537d21(_0x3b7ceb);}});}};at=Vn([Gn(0x0,_0x199fa9(_0x2c5a05))],at);var Wn=Object[_0xd5ee09(0x43b)],Yn=(_0x2023c5,_0x2b2470,_0x568acb,_0x58f82b)=>{for(var _0x36e29b=_0x58f82b>0x1?void 0x0:_0x58f82b?Wn(_0x2b2470,_0x568acb):_0x2b2470,_0x105d9d=_0x2023c5['length']-0x1,_0x1bbffc;_0x105d9d>=0x0;_0x105d9d--)(_0x1bbffc=_0x2023c5[_0x105d9d])&&(_0x36e29b=_0x1bbffc(_0x36e29b)||_0x36e29b);return _0x36e29b;},vt=(_0x42220f,_0x334a69)=>(_0x3a598c,_0x4f61e4)=>_0x334a69(_0x3a598c,_0x4f61e4,_0x42220f);let Ct=class extends _0x5886ed{constructor(_0x1972d2,_0x4d4491,_0x2eabf3){var _0x3b5963=_0xd5ee09;super(),N(this,_0x3b5963(0x296),new _0x2508bb(null)),N(this,_0x3b5963(0x299),this['_unitInfo$'][_0x3b5963(0x4cb)]()),(this['_logService']=_0x1972d2,this[_0x3b5963(0x3d5)]=_0x4d4491,this[_0x3b5963(0x34d)]=_0x2eabf3);}async['loadUnitOfRevision'](_0x45e3a9,_0x13e2dd,_0x54ca6a){var _0x487ad8=_0xd5ee09;this[_0x487ad8(0x296)][_0x487ad8(0x465)]({'unitId':_0x45e3a9,'type':_0x13e2dd});let _0x19d1d9=null;switch(_0x13e2dd){case Z[_0x487ad8(0x409)]:{_0x19d1d9=await this[_0x487ad8(0x3d5)][_0x487ad8(0x3b3)](_0x45e3a9,_0x54ca6a);break;}case Z[_0x487ad8(0x324)]:{_0x19d1d9=await this[_0x487ad8(0x3d5)][_0x487ad8(0x48c)](_0x45e3a9,_0x54ca6a);break;}default:{this['_logService'][_0x487ad8(0x363)](_0x487ad8(0x4e1),_0x487ad8(0x29e));break;}}return _0x19d1d9;}async[_0xd5ee09(0x4c4)](_0x2cb846,_0x2db2c4,_0x6a9f7b){var _0x49f13c=_0xd5ee09,_0x20e32a;this[_0x49f13c(0x296)][_0x49f13c(0x465)]({'unitId':_0x2cb846,'type':_0x2db2c4,'subUnitId':_0x6a9f7b});let _0xde2d3=0x0;const _0x2f546b=await((_0x20e32a=this[_0x49f13c(0x34d)])==null?void 0x0:_0x20e32a['loadOfflineData'](_0x2cb846));return _0x2f546b&&(_0x2f546b[_0x49f13c(0x21d)]||_0x2f546b['mutations'][_0x49f13c(0x3a7)]!==0x0)&&(_0xde2d3=_0x2f546b[_0x49f13c(0x297)]),_0xde2d3===0x0&&this[_0x49f13c(0x422)][_0x49f13c(0x39d)]('[DataLoaderService]',_0x49f13c(0x1dd)),this['loadUnitOfRevision'](_0x2cb846,_0x2db2c4,_0xde2d3);}};Ct=Yn([vt(0x0,_0x142315),vt(0x1,_0x199fa9(_0x473d39)),vt(0x2,_0x401b03(J))],Ct);var Kn=Object[_0xd5ee09(0x43b)],qn=(_0x43cc79,_0x58805a,_0x1a4888,_0x42d6bd)=>{var _0x55f8e7=_0xd5ee09;for(var _0x1c2e83=_0x42d6bd>0x1?void 0x0:_0x42d6bd?Kn(_0x58805a,_0x1a4888):_0x58805a,_0x3106ed=_0x43cc79[_0x55f8e7(0x3a7)]-0x1,_0x11c8fe;_0x3106ed>=0x0;_0x3106ed--)(_0x11c8fe=_0x43cc79[_0x3106ed])&&(_0x1c2e83=_0x11c8fe(_0x1c2e83)||_0x1c2e83);return _0x1c2e83;},pt=(_0x4cee75,_0x451725)=>(_0x31506c,_0x3f8cc4)=>_0x451725(_0x31506c,_0x3f8cc4,_0x4cee75);function _0x7476(_0x36d4e2,_0x28206b){var _0x42241c=_0x4224();return _0x7476=function(_0x74765c,_0x2fba58){_0x74765c=_0x74765c-0x1ca;var _0x54c287=_0x42241c[_0x74765c];return _0x54c287;},_0x7476(_0x36d4e2,_0x28206b);}const zn=[_0xd5ee09(0x38f),_0xd5ee09(0x3b6),_0xd5ee09(0x30e),_0xd5ee09(0x481),'image/bmp'],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn=_0xd5ee09(0x216),Qn=_0xd5ee09(0x418),er=_0xd5ee09(0x4a9);let Rt=class{constructor(_0xca2307,_0x1cbbfd,_0x12f4c1){var _0x3cc2f9=_0xd5ee09;N(this,_0x3cc2f9(0x273),0x0),N(this,'_change$',new _0x37c8b6()),N(this,_0x3cc2f9(0x23b),this[_0x3cc2f9(0x491)]),N(this,'_imageSourceCache',new Map()),(this[_0x3cc2f9(0x478)]=_0xca2307,this[_0x3cc2f9(0x311)]=_0x1cbbfd,this[_0x3cc2f9(0x45f)]=_0x12f4c1);}[_0xd5ee09(0x463)](_0x20b62){var _0x2181df=_0xd5ee09;this[_0x2181df(0x273)]=_0x20b62,this['_change$'][_0x2181df(0x465)](_0x20b62);}[_0xd5ee09(0x3fe)](_0x1df351,_0x327b38){var _0xce0c6a=_0xd5ee09;if(_0x327b38===_0x11199b[_0xce0c6a(0x4ac)]){const _0x73cb5e=new Image();return _0x73cb5e['src']=_0x1df351,_0x73cb5e;}return this[_0xce0c6a(0x223)][_0xce0c6a(0x41c)](_0x1df351);}[_0xd5ee09(0x28a)](_0x5ab549,_0x159782,_0x5cbaa1){var _0xfe792c=_0xd5ee09;_0x159782===_0x11199b[_0xfe792c(0x4ac)]||_0x5cbaa1==null||this[_0xfe792c(0x223)][_0xfe792c(0x34e)](_0x5ab549,_0x5cbaa1);}async[_0xd5ee09(0x322)](_0x51d7e2){var _0x514936=_0xd5ee09;try{const _0x176547=this['_replaceFileID'](this['_getSignURL'](),''+_0x51d7e2),_0x4dfa27=(await this['_httpService'][_0x514936(0x41c)](_0x176547))['body'];if(_0x4dfa27['error']&&_0x4dfa27['error'][_0x514936(0x1d1)]===pi['OK']){const _0xc3f16e=new URL(_0x4dfa27[_0x514936(0x33f)],this[_0x514936(0x416)]())[_0x514936(0x23c)]();return Promise[_0x514936(0x24e)](_0xc3f16e);}return Promise[_0x514936(0x1e8)](_0x4dfa27[_0x514936(0x363)]);}catch(_0x43ab37){return Promise[_0x514936(0x1e8)](_0x43ab37);}}async[_0xd5ee09(0x2b3)](_0x4bfab9){var _0x37f6b6=_0xd5ee09;let _0x5363bb='';if(!zn[_0x37f6b6(0x427)](_0x4bfab9[_0x37f6b6(0x328)]))return this[_0x37f6b6(0x40b)](),Promise['reject'](new Error(_0x2c6c8b[_0x37f6b6(0x230)]));if(_0x4bfab9['size']>Jn)return this['_decreaseWaiting'](),Promise[_0x37f6b6(0x1e8)](new Error(_0x2c6c8b[_0x37f6b6(0x2ab)]));try{const _0xfe5c6e=new FormData();_0xfe5c6e['append'](_0x37f6b6(0x2b1),_0x4bfab9);const _0x34bf95=this[_0x37f6b6(0x45f)][_0x37f6b6(0x389)](),_0x1e67bd=_0x34bf95==null?void 0x0:_0x34bf95['getUnitId']();if(!_0x1e67bd)throw new Error(_0x37f6b6(0x22f));const _0xbe68a=this[_0x37f6b6(0x329)]()+_0x37f6b6(0x47a)+_0x4bfab9[_0x37f6b6(0x3be)][_0x37f6b6(0x23c)]()+_0x37f6b6(0x29b)+mi[_0x37f6b6(0x29c)]+_0x37f6b6(0x473)+encodeURIComponent(_0x1e67bd),_0x1912f6={'body':_0xfe5c6e},_0x355f05=(await this['_httpService'][_0x37f6b6(0x41d)](_0xbe68a,_0x1912f6))['body'];if(typeof _0x355f05[_0x37f6b6(0x251)]!=_0x37f6b6(0x2ca))return this[_0x37f6b6(0x40b)](),Promise[_0x37f6b6(0x1e8)](new Error(_0x2c6c8b[_0x37f6b6(0x3ab)]));_0x5363bb=_0x355f05[_0x37f6b6(0x251)];}catch{return this['_decreaseWaiting'](),Promise[_0x37f6b6(0x1e8)](new Error(_0x2c6c8b[_0x37f6b6(0x3ab)]));}return new Promise((_0x331e32,_0x252de6)=>{var _0x23e3ef=_0x37f6b6;const _0x35ed64=new FileReader();_0x35ed64[_0x23e3ef(0x459)](_0x4bfab9),_0x35ed64[_0x23e3ef(0x3a4)]=_0x21a982=>{var _0x51978d=_0x23e3ef,_0x272bf6;const _0xd12c94=(_0x272bf6=_0x21a982[_0x51978d(0x2db)])==null?void 0x0:_0x272bf6['result'];if(_0xd12c94==null){this['_decreaseWaiting'](),_0x252de6(new Error(_0x2c6c8b[_0x51978d(0x3ab)]));return;}const _0x368fdb=_0x1506c2[_0x51978d(0x31a)](0x6);_0x331e32({'imageId':_0x368fdb,'imageSourceType':_0x11199b[_0x51978d(0x4d9)],'source':_0x5363bb,'base64Cache':_0xd12c94,'status':_0x2c6c8b['SUCCUSS']}),this[_0x51978d(0x40b)]();};});}[_0xd5ee09(0x329)](){var _0x1c609a=_0xd5ee09,_0x28d980,_0x24e49a;const _0xe50267=this[_0x1c609a(0x311)][_0x1c609a(0x2ae)](Xn),_0x112cf6=this[_0x1c609a(0x311)][_0x1c609a(0x2ae)](K);return(_0x24e49a=(_0x28d980=_0x112cf6==null?void 0x0:_0x112cf6[_0x1c609a(0x25a)])!=null?_0x28d980:_0xe50267)!=null?_0x24e49a:Zn;}[_0xd5ee09(0x44f)](){var _0x4dda7c=_0xd5ee09,_0x5b2515,_0x303cef;const _0x2515d0=this[_0x4dda7c(0x311)][_0x4dda7c(0x2ae)](Qn),_0x4aea19=this[_0x4dda7c(0x311)][_0x4dda7c(0x2ae)](K);return(_0x303cef=(_0x5b2515=_0x4aea19==null?void 0x0:_0x4aea19[_0x4dda7c(0x3a5)])!=null?_0x5b2515:_0x2515d0)!=null?_0x303cef:er;}[_0xd5ee09(0x416)](){var _0x182e41=_0xd5ee09,_0x2ea923;const _0x1d0e39=this[_0x182e41(0x311)][_0x182e41(0x2ae)](K);return(_0x2ea923=_0x1d0e39==null?void 0x0:_0x1d0e39[_0x182e41(0x425)])!=null?_0x2ea923:location[_0x182e41(0x1eb)];}[_0xd5ee09(0x4bd)](_0x4aab39,_0x2b2754){var _0x210022=_0xd5ee09;return _0x4aab39[_0x210022(0x4b0)]('{fileID}',_0x2b2754);}[_0xd5ee09(0x40b)](){var _0x916394=_0xd5ee09;this['_waitCount']-=0x1,this[_0x916394(0x491)][_0x916394(0x465)](this[_0x916394(0x273)]);}};Rt=qn([pt(0x0,_0x199fa9(_0x2c5a05)),pt(0x1,_0x1c6f4e),pt(0x2,_0x199fa9(_0x1eb849))],Rt);var tr=Object[_0xd5ee09(0x43b)],ir=(_0x17dfd1,_0x572a96,_0x10d0eb,_0x2dafdc)=>{var _0xebe99d=_0xd5ee09;for(var _0x43ab4c=_0x2dafdc>0x1?void 0x0:_0x2dafdc?tr(_0x572a96,_0x10d0eb):_0x572a96,_0x128771=_0x17dfd1[_0xebe99d(0x3a7)]-0x1,_0x9f171f;_0x128771>=0x0;_0x128771--)(_0x9f171f=_0x17dfd1[_0x128771])&&(_0x43ab4c=_0x9f171f(_0x43ab4c)||_0x43ab4c);return _0x43ab4c;},ai=(_0x35c598,_0x509c7d)=>(_0x3dd4b2,_0x784cab)=>_0x509c7d(_0x3dd4b2,_0x784cab,_0x35c598);const sr=_0xd5ee09(0x33b);let bt=class{constructor(_0xe0befe,_0x30085f){var _0x4e3793=_0xd5ee09;this[_0x4e3793(0x311)]=_0xe0befe,this[_0x4e3793(0x37b)]=_0x30085f;}[_0xd5ee09(0x1d2)](){var _0x11fc2d=_0xd5ee09,_0x1a2ffd,_0x4146ef;const _0x14b2f1=this[_0x11fc2d(0x311)]['getConfig'](bi),_0x15c36a=this['_configService'][_0x11fc2d(0x2ae)](K);return(_0x4146ef=(_0x1a2ffd=_0x15c36a==null?void 0x0:_0x15c36a[_0x11fc2d(0x32f)])!=null?_0x1a2ffd:_0x14b2f1)!=null?_0x4146ef:sr;}async[_0xd5ee09(0x35c)](_0x2072c0){var _0x19ffa3=_0xd5ee09;const _0x327dda=this[_0x19ffa3(0x1d2)]()+_0x19ffa3(0x3fc);return{'list':[{'title':'People','mentions':(await this[_0x19ffa3(0x37b)][_0x19ffa3(0x41c)](_0x327dda,{'params':{'objectID':_0x2072c0[_0x19ffa3(0x319)],'unitID':_0x2072c0['unitId']}}))[_0x19ffa3(0x3dd)][_0x19ffa3(0x3e7)]['map'](_0x36fc0b=>({'objectId':_0x36fc0b['id'],'name':_0x36fc0b[_0x19ffa3(0x445)]['name'],'metadata':{'icon':_0x36fc0b[_0x19ffa3(0x445)][_0x19ffa3(0x2d7)]},'label':_0x36fc0b['subject'][_0x19ffa3(0x264)],'objectType':_0x1d9cc7[_0x19ffa3(0x2b9)]})),'metadata':{},'type':_0x1d9cc7[_0x19ffa3(0x2b9)]}]};}};bt=ir([ai(0x0,_0x199fa9(_0x1c6f4e)),ai(0x1,_0x199fa9(_0x2c5a05))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x4e9884,_0x39da85,_0x206d96,_0x4678c5)=>{for(var _0xbf437c=_0x4678c5>0x1?void 0x0:_0x4678c5?nr(_0x39da85,_0x206d96):_0x39da85,_0x5ad499=_0x4e9884['length']-0x1,_0x5ce8c2;_0x5ad499>=0x0;_0x5ad499--)(_0x5ce8c2=_0x4e9884[_0x5ad499])&&(_0xbf437c=_0x5ce8c2(_0xbf437c)||_0xbf437c);return _0xbf437c;},Ae=(_0x2e1f8a,_0x578ff4)=>(_0xcc2caa,_0x3e6b2a)=>_0x578ff4(_0xcc2caa,_0x3e6b2a,_0x2e1f8a);let ot=class extends _0x5886ed{constructor(_0x3f7f78,_0xdc44b3,_0x46ac3b,_0x623020,_0x47b8af){var _0x253b43=_0xd5ee09;super(),this[_0x253b43(0x234)]=_0x3f7f78,this[_0x253b43(0x45f)]=_0xdc44b3,this['_permissionService']=_0x46ac3b,this['_collaborationSessionService']=_0x623020,this[_0x253b43(0x3b7)]=_0x47b8af,this[_0x253b43(0x330)](),this[_0x253b43(0x269)]();}[_0xd5ee09(0x269)](){var _0x42bd42=_0xd5ee09;const _0x2d89dd=async _0x17a457=>{var _0x441ce3=_0x7476;(await this[_0x441ce3(0x42e)][_0x441ce3(0x45e)](_0x17a457))[_0x441ce3(0x3f5)][_0x441ce3(0x448)](_0x278279(_0x2384e9=>_0x2384e9[_0x441ce3(0x305)]===_0x5307c5[_0x441ce3(0x244)]),_0x15e230(this[_0x441ce3(0x3c3)]))['subscribe'](_0x10f4b3=>{var _0x1f5a1e=_0x441ce3;const _0x2177c1=_0x10f4b3,{reason:_0x432d5f}=_0x2177c1[_0x1f5a1e(0x2dc)];this['_collaborationUIEventService'][_0x1f5a1e(0x48e)]({'id':ne[_0x1f5a1e(0x4c6)],'data':_0x432d5f}),this[_0x1f5a1e(0x345)][_0x1f5a1e(0x2ed)](new _0x391ed6(_0x17a457)['id'],!0x1),this[_0x1f5a1e(0x42e)][_0x1f5a1e(0x499)](_0x17a457);});};_0x57e17c(this['_univerInstanceService'][_0x42bd42(0x2ea)](_0xc04d0b[_0x42bd42(0x409)]),this[_0x42bd42(0x45f)][_0x42bd42(0x2ea)](_0xc04d0b[_0x42bd42(0x324)]))[_0x42bd42(0x448)](_0x51be5d(_0x1a627c=>_0x1a627c['getUnitId']()),_0x278279(_0x315f10=>!_0x516639(_0x315f10)),_0x15e230(this['dispose$']))[_0x42bd42(0x242)](_0x6d0d61=>{_0x2d89dd(_0x6d0d61);});}['_initUnitPermissionChange'](){var _0x3b9398=_0xd5ee09;const _0x58d302=async _0x44e1a5=>{var _0x7fc8f0=_0x7476;const _0x3ea2c4=await this[_0x7fc8f0(0x42e)]['requireSession'](_0x44e1a5),_0x4cd499=this[_0x7fc8f0(0x234)][_0x7fc8f0(0x41c)](_0x363c7c);_0x3ea2c4['event$'][_0x7fc8f0(0x448)](_0x278279(_0x310a52=>_0x310a52[_0x7fc8f0(0x305)]===_0x5307c5[_0x7fc8f0(0x3e6)]),_0x15e230(this[_0x7fc8f0(0x3c3)]))[_0x7fc8f0(0x242)](_0x3db4f4=>{var _0x29bda4=_0x7fc8f0;const _0x4713d9=_0x3db4f4,{objectId:_0x120265}=_0x4713d9['data'];_0x120265===_0x44e1a5?_0x4cd499[_0x29bda4(0x4e0)](_0x44e1a5):_0x4cd499[_0x29bda4(0x26d)](_0x44e1a5,_0x120265);});};_0x57e17c(this[_0x3b9398(0x45f)][_0x3b9398(0x2ea)](_0xc04d0b['UNIVER_SHEET']))['pipe'](_0x51be5d(_0x4fc51f=>_0x4fc51f[_0x3b9398(0x41b)]()),_0x278279(_0x304cb7=>!_0x516639(_0x304cb7)),_0x15e230(this[_0x3b9398(0x3c3)]))['subscribe'](_0x4a1cea=>{_0x58d302(_0x4a1cea);});}};ot=rr([Ae(0x0,_0x199fa9(_0x124e81)),Ae(0x1,_0x1eb849),Ae(0x2,_0x14230b),Ae(0x3,_0x199fa9(Le)),Ae(0x4,_0x199fa9(ve))],ot);var ar=Object[_0xd5ee09(0x43b)],or=(_0x534e7b,_0x52981c,_0x4bfcc3,_0x2a8501)=>{var _0x4d8dad=_0xd5ee09;for(var _0x23763e=_0x2a8501>0x1?void 0x0:_0x2a8501?ar(_0x52981c,_0x4bfcc3):_0x52981c,_0x3fe62e=_0x534e7b[_0x4d8dad(0x3a7)]-0x1,_0x36f188;_0x3fe62e>=0x0;_0x3fe62e--)(_0x36f188=_0x534e7b[_0x3fe62e])&&(_0x23763e=_0x36f188(_0x23763e)||_0x23763e);return _0x23763e;},oi=(_0x61d544,_0x11f721)=>(_0x4751b7,_0x1a439b)=>_0x11f721(_0x4751b7,_0x1a439b,_0x61d544);let Ot=class{constructor(_0x2addde,_0x41507d){var _0x2ac1d9=_0xd5ee09;this[_0x2ac1d9(0x311)]=_0x2addde,this['_httpService']=_0x41507d;}async[_0xd5ee09(0x3a9)](_0x5df732,_0x61f910){var _0x234866=_0xd5ee09,_0x12020;const {unitID:_0x1de93a,type:_0x29093b,revision:_0x1508a9=0x0}=_0x61f910,_0x4410c2=this[_0x234866(0x4a5)]()+'/'+_0x29093b+_0x234866(0x39e)+_0x1de93a+_0x234866(0x235)+_0x1508a9,_0x31f465=(await this['_httpService'][_0x234866(0x41c)](_0x4410c2))[_0x234866(0x3dd)],_0xa2a5d4=(_0x12020=_0x31f465[_0x234866(0x222)])==null?void 0x0:_0x12020[_0x234866(0x44d)];if(_0xa2a5d4){const _0x51a221=_0xa2a5d4==null?void 0x0:_0xa2a5d4[_0x234866(0x343)],_0x4b764b=_0x44da99[_0x234866(0x4c8)](_0xe9569c(_0x51a221));_0xa2a5d4['originalMeta']=_0x4b764b,Object[_0x234866(0x266)](_0xa2a5d4[_0x234866(0x408)])[_0x234866(0x259)](([,_0xea7e11])=>{var _0x28cc93=_0x234866;const _0x436945=_0xea7e11[_0x28cc93(0x343)],_0x3c4a1c=_0x44da99[_0x28cc93(0x4c8)](_0xe9569c(_0x436945));_0xea7e11[_0x28cc93(0x343)]=_0x3c4a1c;});}return _0x31f465;}async[_0xd5ee09(0x1d4)](_0x1647e6,_0x4dd54d){var _0x36fa8e=_0xd5ee09;const {unitID:_0x475b01,type:_0x22559d,blockID:_0x265bb0}=_0x4dd54d,_0x423b95=this[_0x36fa8e(0x1f9)]()+'/'+_0x22559d+'/unit/'+_0x475b01+_0x36fa8e(0x30d)+_0x265bb0;return(await this[_0x36fa8e(0x478)][_0x36fa8e(0x41c)](_0x423b95))[_0x36fa8e(0x3dd)];}async[_0xd5ee09(0x2aa)](_0x15fd9c,_0x3780b3){var _0xf6d665=_0xd5ee09;const {unitID:_0x2ed265,type:_0x59d91a,blockID:_0x4f33e4}=_0x3780b3,_0x45d983=this[_0xf6d665(0x1f9)]()+_0xf6d665(0x30d)+_0x59d91a+_0xf6d665(0x39e)+_0x2ed265+'/block/'+_0x4f33e4;return(await this[_0xf6d665(0x478)][_0xf6d665(0x41c)](_0x45d983))[_0xf6d665(0x3dd)];}async[_0xd5ee09(0x2d9)](_0x1cb4a9,_0x2d1d7e){var _0x9470f1=_0xd5ee09;const {unitID:_0x25bf89,type:_0x5cae64,from:_0x53c652,to:_0x12a0ad}=_0x2d1d7e,_0x3236f1=this[_0x9470f1(0x1f9)]()+'/'+_0x5cae64+'/unit/'+_0x25bf89+'/fetchmissing?from='+_0x53c652+_0x9470f1(0x47d)+_0x12a0ad;return(await this[_0x9470f1(0x478)][_0x9470f1(0x41c)](_0x3236f1))[_0x9470f1(0x3dd)];}[_0xd5ee09(0x4a5)](){var _0x2998eb=_0xd5ee09,_0x322229;return(_0x322229=this[_0x2998eb(0x311)][_0x2998eb(0x2ae)](ps))!=null?_0x322229:this[_0x2998eb(0x1f9)]();}[_0xd5ee09(0x1f9)](){var _0x35c9e3=_0xd5ee09,_0x558bdc,_0x77a208;const _0x561f07=this[_0x35c9e3(0x311)]['getConfig'](fs),_0x57ec55=this[_0x35c9e3(0x311)][_0x35c9e3(0x2ae)](K);return(_0x77a208=(_0x558bdc=_0x57ec55==null?void 0x0:_0x57ec55[_0x35c9e3(0x337)])!=null?_0x558bdc:_0x561f07)!=null?_0x77a208:vs;}async[_0xd5ee09(0x2da)](_0x5a028c,_0x308957){var _0x28ad58=_0xd5ee09;const _0xe085ce=_0x28ad58(0x3f1)+_0x308957[_0x28ad58(0x328)]+_0x28ad58(0x39e)+_0x308957[_0x28ad58(0x446)]+_0x28ad58(0x43a);return(await this['_httpService'][_0x28ad58(0x41c)](_0xe085ce,{'params':{'resourceId':JSON[_0x28ad58(0x215)](_0x308957['resourceIDs'])}}))[_0x28ad58(0x3dd)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xd5ee09(0x1db)](){var _0x1e3c83=_0xd5ee09;throw new Error(_0x1e3c83(0x217));}['saveSheetBlock'](){var _0x18750b=_0xd5ee09;throw new Error(_0x18750b(0x217));}[_0xd5ee09(0x3cb)](){var _0xcc3caf=_0xd5ee09;throw new Error(_0xcc3caf(0x217));}['copyFileMeta'](){var _0x4c9473=_0xd5ee09;throw new Error(_0x4c9473(0x217));}[_0xd5ee09(0x33a)](){var _0x511b80=_0xd5ee09;throw new Error(_0x511b80(0x217));}};Ot=or([oi(0x0,_0x1c6f4e),oi(0x1,_0x199fa9(_0x2c5a05))],Ot);var cr=Object[_0xd5ee09(0x43b)],hr=(_0x2b37d0,_0xf9cc75,_0x28d2c1,_0x51d5d4)=>{var _0x5f201b=_0xd5ee09;for(var _0x2b417e=_0x51d5d4>0x1?void 0x0:_0x51d5d4?cr(_0xf9cc75,_0x28d2c1):_0xf9cc75,_0x239a1e=_0x2b37d0[_0x5f201b(0x3a7)]-0x1,_0x41909b;_0x239a1e>=0x0;_0x239a1e--)(_0x41909b=_0x2b37d0[_0x239a1e])&&(_0x2b417e=_0x41909b(_0x2b417e)||_0x2b417e);return _0x2b417e;},we=(_0x3a33b6,_0x482dfa)=>(_0x375733,_0x52ba8d)=>_0x482dfa(_0x375733,_0x52ba8d,_0x3a33b6);let yt=class extends _0x5f0b7e{constructor(_0x497a1b,_0x1eeab9,_0x1734d1,_0x3100de,_0x10a356){var _0x2ad77c=_0xd5ee09;super(_0x497a1b,_0x1eeab9,_0x1734d1),this[_0x2ad77c(0x34b)]=_0x3100de,this[_0x2ad77c(0x422)]=_0x10a356;}[_0xd5ee09(0x238)](_0x5bfcd2,_0x1eac71){var _0x4238eb=_0xd5ee09;const _0x226516=this['_getUndoStack'](_0x5bfcd2);if(_0x226516)try{const _0x5a7946=this[_0x4238eb(0x3a0)](_0x226516,_0x1eac71);this[_0x4238eb(0x2a6)](_0x5bfcd2,_0x5a7946);}catch(_0xc44b59){this[_0x4238eb(0x422)]['error'](_0x4238eb(0x46b),_0xc44b59),this[_0x4238eb(0x3b8)](_0x5bfcd2);}const _0x2f43b9=this['_getRedoStack'](_0x5bfcd2);if(_0x2f43b9)try{const _0x1adfff=this['_transformStack'](_0x2f43b9,_0x1eac71);this[_0x4238eb(0x4a3)](_0x5bfcd2,_0x1adfff);}catch(_0x49fc25){this[_0x4238eb(0x422)]['error'](_0x49fc25),this[_0x4238eb(0x219)](_0x5bfcd2);}}['_clearUndo'](_0x3e8b37){var _0x1799bb=_0xd5ee09;const _0x33e21d=this[_0x1799bb(0x412)](_0x3e8b37);_0x33e21d&&(_0x33e21d[_0x1799bb(0x3a7)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3242c2){var _0x64db2b=_0xd5ee09;const _0xc8e4ba=this[_0x64db2b(0x351)](_0x3242c2);_0xc8e4ba&&(_0xc8e4ba[_0x64db2b(0x3a7)]=0x0,this[_0x64db2b(0x33e)]());}[_0xd5ee09(0x2a6)](_0xd9ddd4,_0xe363d){var _0x255a6e=_0xd5ee09;this[_0x255a6e(0x1d9)][_0x255a6e(0x34e)](_0xd9ddd4,_0xe363d),this[_0x255a6e(0x33e)]();}[_0xd5ee09(0x4a3)](_0x278751,_0x44ee58){var _0x2ab6f3=_0xd5ee09;this[_0x2ab6f3(0x4bf)]['set'](_0x278751,_0x44ee58),this[_0x2ab6f3(0x33e)]();}[_0xd5ee09(0x3a0)](_0xc17dc0,_0x1b1ae7){var _0x576a30=_0xd5ee09;const _0x35b971=[];let _0x5dd043=_0x1b1ae7,_0xd44156=_0x1b1ae7;for(let _0x152eec=_0xc17dc0['length']-0x1;_0x152eec>=0x0;_0x152eec--){const {unitID:_0x22e837,undoMutations:_0x420840,redoMutations:_0x47f0a5}=_0xc17dc0[_0x152eec],_0x153909=this[_0x576a30(0x34b)]['transformMutationsWithChangeset'](_0x5dd043,_0x420840),_0x359f7c=this[_0x576a30(0x34b)][_0x576a30(0x203)](_0xd44156,_0x47f0a5);if(_0x478b43(_0x153909)||_0x478b43(_0x359f7c)){this[_0x576a30(0x422)][_0x576a30(0x363)](_0x576a30(0x46b),'transformStack\x20failed!',_0x153909,_0x359f7c);break;}_0x5dd043=_0x153909[_0x576a30(0x483)],_0xd44156=_0x359f7c['c1Prime'],_0x35b971['push']({'unitID':_0x22e837,'undoMutations':_0x153909['m2Prime'],'redoMutations':_0x359f7c[_0x576a30(0x268)]});}return _0x35b971['reverse']();}};yt=hr([we(0x0,_0x1eb849),we(0x1,_0x47befc),we(0x2,_0x5c70bb),we(0x3,_0x4f8203),we(0x4,_0x142315)],yt);var _r=Object[_0xd5ee09(0x239)],lr=Object['getOwnPropertyDescriptor'],ur=(_0x53d46b,_0x133a31,_0x301f62)=>_0x133a31 in _0x53d46b?_r(_0x53d46b,_0x133a31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x301f62}):_0x53d46b[_0x133a31]=_0x301f62,dr=(_0x5ceca3,_0x3ab52c,_0x13b094,_0x588652)=>{var _0x5b74da=_0xd5ee09;for(var _0xdf9abe=_0x588652>0x1?void 0x0:_0x588652?lr(_0x3ab52c,_0x13b094):_0x3ab52c,_0x43664d=_0x5ceca3[_0x5b74da(0x3a7)]-0x1,_0x4db20f;_0x43664d>=0x0;_0x43664d--)(_0x4db20f=_0x5ceca3[_0x43664d])&&(_0xdf9abe=_0x4db20f(_0xdf9abe)||_0xdf9abe);return _0xdf9abe;},mt=(_0x89ca7f,_0x27c982)=>(_0x8680e3,_0x187c90)=>_0x27c982(_0x8680e3,_0x187c90,_0x89ca7f),fr=(_0x3ff3e0,_0x1ec471,_0x1ae3c6)=>ur(_0x3ff3e0,_0x1ec471+'',_0x1ae3c6);const vr=_0xd5ee09(0x26a);let Nt=class extends _0x43b3bf{constructor(_0x1bc10d,_0x1be6cf,_0xf8f820,_0x1dbea1){var _0x1369f1=_0xd5ee09;super(),N(this,_0x1369f1(0x2c1)),(this[_0x1369f1(0x422)]=_0x1be6cf,this[_0x1369f1(0x234)]=_0xf8f820,this['_configService']=_0x1dbea1);const {..._0x5590b7}=_0x6d5c5f({},Ds,_0x1bc10d);if(!_0x5590b7[_0x1369f1(0x3fa)])throw new Error(_0x1369f1(0x2f4));this[_0x1369f1(0x2c1)]=_0x5590b7,this[_0x1369f1(0x311)][_0x1369f1(0x28d)](K,_0x5590b7);}[_0xd5ee09(0x429)](){var _0x5234c9=_0xd5ee09;this[_0x5234c9(0x420)](),this[_0x5234c9(0x1dc)]();}[_0xd5ee09(0x420)](){var _0x49bb2e=_0xd5ee09,_0x3bb122,_0xd17631;this[_0x49bb2e(0x234)]['has'](_0x2585d4)&&this[_0x49bb2e(0x422)][_0x49bb2e(0x363)]('[UniverCollaborationClientPlugin]',_0x49bb2e(0x1cc));const _0x36a68e=_0x4e6809([[_0x2585d4,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x49bb2e(0x2c1)]['socketService']}],[_0x1cbacd,{'useClass':Ot}],[_0x3d9490,{'useClass':Tt}],[_0x26e271,{'useClass':Rt}],[_0x3a40c2,{'useClass':bt}],[nt],[It]],(_0x3bb122=this[_0x49bb2e(0x2c1)])==null?void 0x0:_0x3bb122['override']);if(!((_0xd17631=this[_0x49bb2e(0x2c1)])!=null&&_0xd17631[_0x49bb2e(0x41f)])){const _0x2effa5=_0x36a68e[_0x49bb2e(0x358)](([_0x3aaa96])=>_0x3aaa96===ht);_0x2effa5!==-0x1&&_0x36a68e[_0x49bb2e(0x365)](_0x2effa5,0x1);}_0x13a54d(this['_injector'],_0x36a68e);}[_0xd5ee09(0x1dc)](){var _0x1ed9a9=_0xd5ee09,_0xae7a04,_0x110224,_0x473491;this['_injector'][_0x1ed9a9(0x41c)](_0x2c5a05)[_0x1ed9a9(0x318)]({'priority':0x14,'interceptor':_0x34605d({'maxParallel':0x6})}),(_0xae7a04=this['_config'])!=null&&_0xae7a04[_0x1ed9a9(0x414)]||(_0x110224=this[_0x1ed9a9(0x234)][_0x1ed9a9(0x41c)](J,_0x5130a8[_0x1ed9a9(0x21a)]))==null||_0x110224[_0x1ed9a9(0x383)](),(_0x473491=this['_config'])!=null&&_0x473491[_0x1ed9a9(0x4aa)]&&_0x2c717e(this['_injector'],[[rt]]),_0x2c717e(this[_0x1ed9a9(0x234)],[[at],[nt],[ot]]);}};fr(Nt,_0xd5ee09(0x2f5),vr),Nt=dr([_0x430a32(_0x198c0c,_0xf800e7),mt(0x1,_0x142315),mt(0x2,_0x199fa9(_0x124e81)),mt(0x3,_0x1c6f4e)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};