@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-055c47d → 0.6.10-experimental.20250411-f5b7b16

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 _0x4a7870=_0x4e95;(function(_0x5a9c85,_0x1f4112){var _0x3351f1=_0x4e95,_0x315559=_0x5a9c85();while(!![]){try{var _0x4cc88c=parseInt(_0x3351f1(0x192))/0x1*(parseInt(_0x3351f1(0x258))/0x2)+-parseInt(_0x3351f1(0x36b))/0x3*(parseInt(_0x3351f1(0x1f1))/0x4)+parseInt(_0x3351f1(0x2ea))/0x5*(parseInt(_0x3351f1(0xf4))/0x6)+-parseInt(_0x3351f1(0x1ec))/0x7*(parseInt(_0x3351f1(0xd8))/0x8)+-parseInt(_0x3351f1(0x332))/0x9*(parseInt(_0x3351f1(0x1dd))/0xa)+-parseInt(_0x3351f1(0x2d4))/0xb+parseInt(_0x3351f1(0x8e))/0xc*(parseInt(_0x3351f1(0x27a))/0xd);if(_0x4cc88c===_0x1f4112)break;else _0x315559['push'](_0x315559['shift']());}catch(_0x1e8540){_0x315559['push'](_0x315559['shift']());}}}(_0x3925,0xd98ef));var wi=Object['defineProperty'],Pi=(_0x173299,_0x17dcf1,_0x455005)=>_0x17dcf1 in _0x173299?wi(_0x173299,_0x17dcf1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x455005}):_0x173299[_0x17dcf1]=_0x455005,N=(_0x33d682,_0x391e27,_0x3c2784)=>Pi(_0x33d682,typeof _0x391e27!=_0x4a7870(0x6b)?_0x391e27+'':_0x391e27,_0x3c2784);import{createIdentifier as _0x50755d,Inject as _0x1f73e,Injector as _0xdfa2fc,IConfigService as _0x146073,ILogService as _0x3f1fd1,Disposable as _0x5927c9,DisposableCollection as _0x3746ac,toDisposable as _0x3dddbd,IUniverInstanceService as _0x4e4cca,UserManagerService as _0x5a70ad,UniverInstanceType as _0x56caf9,LocaleService as _0x2129f6,Optional as _0x1717ac,RxDisposable as _0x552706,Tools as _0x18a052,Rectangle as _0xb7a376,ICommandService as _0x56813b,JSONX as _0x13eed4,CommandType as _0x53d0d8,IUndoRedoService as _0x261476,IPermissionService as _0x41bc55,sequenceExecute as _0x4af293,Workbook as _0x5627c0,MentionType as _0x4b3471,isInternalEditorID as _0x410ce2,LocalUndoRedoService as _0xe3e69c,IContextService as _0x3e60f3,DependentOn as _0x1b5f52,Plugin as _0x18700e,merge as _0x402b2b,mergeOverrideWithDependencies as _0x31921a,IAuthzIoService as _0x1b51d2,IMentionIOService as _0x3de170,registerDependencies as _0x56d5bf,Quantity as _0x1240a1,touchDependencies as _0x1f409e}from'@univerjs/core';import{Subject as _0x4231ca,merge as _0xb58c91,of as _0x5d0831,BehaviorSubject as _0x5b211c,takeUntil as _0x328750,ReplaySubject as _0x25adf1,take as _0x42a029,map as _0x3870f1,shareReplay as _0x5eba4c,firstValueFrom as _0x5b3aa8,concatMap as _0x120f3c}from'rxjs';import{map as _0x1a9763,take as _0x45c262,filter as _0x41c382,delay as _0x390e12,takeUntil as _0xf5ca8a}from'rxjs/operators';import{CollaborationEvent as _0x16fad4,ISnapshotServerService as _0x243317,parseChangesetToProtocol as _0x32fb77,ITransformService as _0x4bd349,isTransformMutationsWithChangesetSuccess as _0x440389,mapDocumentTypeToUniverType as _0x26060b,RevisionService as _0x2abea1,isTransformChangesetsSuccess as _0x314f92,CompressMutationService as _0x5d7acb,parseProtocolChangeset as _0x1cd4e3,SnapshotService as _0x55dbca,textEncoder as _0x279e49,b64DecodeUnicode as _0x236eb4,isTransformMutationsWithChangesetFailure as _0x3021c2,UniverCollaborationPlugin as _0x4c7214}from'@univerjs-pro/collaboration';import{HTTPService as _0x12260a,ISocketService as _0x49fc7d,MergeInterceptorFactory as _0x1cc760,HTTPRequest as _0x3a3f2d,UniverNetworkPlugin as _0x288b24,ThresholdInterceptorFactory as _0x238506}from'@univerjs/network';import{ITelemetryService as _0x175885}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xcb1441}from'@univerjs/docs';import{SheetsSelectionsService as _0x5f0705,SetSelectionsOperation as _0x135405,InsertSheetMutation as _0xc7c33d,EmptyMutation as _0x550e04,WorkbookEditablePermission as _0x46236e,SheetPermissionInitController as _0x2d9a69}from'@univerjs/sheets';import{ImageSourceType as _0x51f4cb,ImageUploadStatusType as _0x1ab0eb,IImageIoService as _0x442fbc}from'@univerjs/drawing';import{getGlobalObject as _0x1e19d9}from'@univerjs-pro/license';const mn=_0x4a7870(0x2a3),gn=_0x4a7870(0x1a8),Sn=_0x4a7870(0x299),Lr=_0x4a7870(0x261),En=0x7d0,In=_0x4a7870(0x165),Tn=_0x4a7870(0x168),xr='/universer-api/user/session-ticket',Cn=_0x4a7870(0x69),Rn=0x7530,mi=_0x4a7870(0x13c),gi=0x4e20,bn=0x4e20,yn=_0x4a7870(0x91),On=0x3,Mr=_0x4a7870(0x2d0),kr=0x3e8,Nn=_0x4a7870(0x254),Dn=_0x4a7870(0x363),Un=_0x4a7870(0x190),An='/universer-api/oidc/authpage',$r=_0x4a7870(0x30c),Hr=_0x4a7870(0x207);var Si=(_0x500f71=>(_0x500f71[_0x500f71['UNDEFINED']=0x0]=_0x4a7870(0x12d),_0x500f71[_0x500f71['OK']=0x1]='OK',_0x500f71[_0x500f71[_0x4a7870(0x283)]=0x2]=_0x4a7870(0x283),_0x500f71[_0x500f71[_0x4a7870(0x157)]=0x3]='PERMISSION_DENIED',_0x500f71[_0x500f71[_0x4a7870(0xa7)]=0x4]=_0x4a7870(0xa7),_0x500f71[_0x500f71['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x500f71[_0x500f71[_0x4a7870(0x7f)]=0x6]=_0x4a7870(0x7f),_0x500f71[_0x500f71[_0x4a7870(0x25d)]=0x7]=_0x4a7870(0x25d),_0x500f71[_0x500f71['TOO_MANY_REQUESTS']=0x8]=_0x4a7870(0x2de),_0x500f71[_0x500f71[_0x4a7870(0x12f)]=0x9]=_0x4a7870(0x12f),_0x500f71[_0x500f71['LOGIN_FAILED']=0xa]=_0x4a7870(0x28b),_0x500f71[_0x500f71[_0x4a7870(0x1e7)]=0x1389]=_0x4a7870(0x1e7),_0x500f71[_0x500f71['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x500f71[_0x500f71[_0x4a7870(0x1f7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x500f71[_0x500f71['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a7870(0x1b3),_0x500f71[_0x500f71['APPLY_REJECT']=0x1b59]=_0x4a7870(0x26e),_0x500f71[_0x500f71[_0x4a7870(0xde)]=0x1b5a]=_0x4a7870(0xde),_0x500f71[_0x500f71[_0x4a7870(0x7c)]=0x1b5b]=_0x4a7870(0x7c),_0x500f71[_0x500f71[_0x4a7870(0x1d8)]=0x1b5c]=_0x4a7870(0x1d8),_0x500f71[_0x500f71['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x500f71[_0x500f71['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4a7870(0x1ad),_0x500f71[_0x500f71[_0x4a7870(0x292)]=0x2329]=_0x4a7870(0x292),_0x500f71[_0x500f71[_0x4a7870(0x85)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x500f71[_0x500f71[_0x4a7870(0x178)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x500f71[_0x500f71['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a7870(0x1f6),_0x500f71[_0x500f71[_0x4a7870(0x2e8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x500f71[_0x500f71[_0x4a7870(0x7d)]=0x2711]=_0x4a7870(0x7d),_0x500f71[_0x500f71['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4a7870(0x270),_0x500f71[_0x500f71[_0x4a7870(0x2f9)]=0x2713]=_0x4a7870(0x2f9),_0x500f71[_0x500f71[_0x4a7870(0x23f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x500f71[_0x500f71[_0x4a7870(0x2e0)]=0x2af9]=_0x4a7870(0x2e0),_0x500f71[_0x500f71[_0x4a7870(0x102)]=0x2ee1]=_0x4a7870(0x102),_0x500f71[_0x500f71[_0x4a7870(0x173)]=0x2ee2]='INVALID_INVITE_CODE',_0x500f71[_0x500f71[_0x4a7870(0x257)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x500f71[_0x500f71[_0x4a7870(0xaf)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x500f71[_0x500f71['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a7870(0x2ee),_0x500f71[_0x500f71['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x500f71[_0x500f71[_0x4a7870(0x213)]=0x32ca]=_0x4a7870(0x213),_0x500f71[_0x500f71['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x500f71[_0x500f71[_0x4a7870(0x224)]=-0x1]=_0x4a7870(0x224),_0x500f71))(Si||{}),Q=(_0x5d59ef=>(_0x5d59ef[_0x5d59ef['UNIVER_UNKNOWN']=0x0]=_0x4a7870(0x9a),_0x5d59ef[_0x5d59ef[_0x4a7870(0x20b)]=0x1]=_0x4a7870(0x20b),_0x5d59ef[_0x5d59ef[_0x4a7870(0xd1)]=0x2]=_0x4a7870(0xd1),_0x5d59ef[_0x5d59ef[_0x4a7870(0x348)]=0x3]=_0x4a7870(0x348),_0x5d59ef[_0x5d59ef[_0x4a7870(0x10b)]=0x4]=_0x4a7870(0x10b),_0x5d59ef[_0x5d59ef[_0x4a7870(0x224)]=-0x1]=_0x4a7870(0x224),_0x5d59ef))(Q||{}),F=(_0x178998=>(_0x178998[_0x178998[_0x4a7870(0xa1)]=0x0]=_0x4a7870(0xa1),_0x178998[_0x178998[_0x4a7870(0x301)]=0x1]=_0x4a7870(0x301),_0x178998[_0x178998[_0x4a7870(0x13a)]=0x2]=_0x4a7870(0x13a),_0x178998[_0x178998[_0x4a7870(0x247)]=0x3]=_0x4a7870(0x247),_0x178998[_0x178998[_0x4a7870(0x219)]=0x4]=_0x4a7870(0x219),_0x178998[_0x178998['HEARTBEAT']=0x5]='HEARTBEAT',_0x178998[_0x178998[_0x4a7870(0x1df)]=0x6]=_0x4a7870(0x1df),_0x178998[_0x178998[_0x4a7870(0x224)]=-0x1]=_0x4a7870(0x224),_0x178998))(F||{}),ge=(_0xe3cc65=>(_0xe3cc65[_0xe3cc65['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0xe3cc65[_0xe3cc65['OK']=0x1]='OK',_0xe3cc65[_0xe3cc65['FAIL']=0x2]=_0x4a7870(0x298),_0xe3cc65[_0xe3cc65['JOIN_ROOM_FULL']=0x3e9]=_0x4a7870(0xea),_0xe3cc65[_0xe3cc65[_0x4a7870(0x334)]=0x3ea]=_0x4a7870(0x334),_0xe3cc65[_0xe3cc65[_0x4a7870(0xa4)]=0x3eb]=_0x4a7870(0xa4),_0xe3cc65[_0xe3cc65['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4a7870(0x170),_0xe3cc65[_0xe3cc65[_0x4a7870(0x224)]=-0x1]=_0x4a7870(0x224),_0xe3cc65))(ge||{}),Ei=(_0x40113d=>(_0x40113d[_0x40113d['Undefined']=0x0]='Undefined',_0x40113d[_0x40113d['HttpImport']=0x1]=_0x4a7870(0x2d6),_0x40113d[_0x40113d[_0x4a7870(0x262)]=0x2]=_0x4a7870(0x262),_0x40113d[_0x40113d['UnitEmbedded']=0x3]=_0x4a7870(0xe6),_0x40113d[_0x40113d['UnitSnapshot']=0x4]=_0x4a7870(0x181),_0x40113d[_0x40113d[_0x4a7870(0x1e2)]=0x5]='UserProfileImg',_0x40113d[_0x40113d[_0x4a7870(0x224)]=-0x1]=_0x4a7870(0x224),_0x40113d))(Ei||{});const q=_0x4a7870(0x205),wn={};var re=(_0x5ad71e=>(_0x5ad71e[_0x4a7870(0x8a)]=_0x4a7870(0x8a),_0x5ad71e[_0x4a7870(0x157)]=_0x4a7870(0x157),_0x5ad71e[_0x4a7870(0x176)]=_0x4a7870(0x176),_0x5ad71e[_0x4a7870(0x35d)]=_0x4a7870(0x35d),_0x5ad71e[_0x4a7870(0x2c8)]=_0x4a7870(0x2c8),_0x5ad71e[_0x4a7870(0x113)]=_0x4a7870(0x113),_0x5ad71e[_0x4a7870(0x336)]=_0x4a7870(0x336),_0x5ad71e[_0x4a7870(0x19d)]=_0x4a7870(0x19d),_0x5ad71e))(re||{});class pe{constructor(){var _0x1d636d=_0x4a7870;N(this,'_event$',new _0x4231ca()),N(this,'event$',this[_0x1d636d(0x326)][_0x1d636d(0x240)]());}[_0x4a7870(0x93)](_0x2b8142){this['_event$']['next'](_0x2b8142);}}const Pn=_0x50755d(_0x4a7870(0xd3));function Ln(_0x22e5e2){var _0xd2e736=_0x4a7870,_0x4bbc0b,_0x55ca5e,_0x19a862,_0xcec23c,_0x12f0d5;const _0x1cd188=_0x22e5e2['data'],_0x58c085=JSON['parse'](_0x1cd188);switch(_0x58c085[_0xd2e736(0x112)]){case F[_0xd2e736(0x2a7)]:case F[_0xd2e736(0x301)]:{const _0x49eda7=_0x58c085[_0xd2e736(0x367)];return{..._0x58c085,'data':_0x49eda7,'cmd':_0x58c085[_0xd2e736(0x112)]};}case F['JOIN']:{const _0x45246f=_0x58c085[_0xd2e736(0xd9)];return{..._0x58c085,'data':_0x45246f,'cmd':_0x58c085[_0xd2e736(0x112)]};}case F[_0xd2e736(0x1df)]:{const _0x559183=_0x58c085[_0xd2e736(0x180)];switch(_0x559183[_0xd2e736(0x2a2)]){case _0x16fad4['PERMISSION_REJ']:return{..._0x58c085,'data':{..._0x559183,'data':(_0x4bbc0b=_0x559183['permissionRejEvent'])==null?void 0x0:_0x4bbc0b['cs']},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x1f3)]:return{..._0x58c085,'data':{..._0x559183,'data':(_0x55ca5e=_0x559183[_0xd2e736(0xb6)])==null?void 0x0:_0x55ca5e['cs']},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x18c)]:return{..._0x58c085,'data':{..._0x559183,'data':(_0x19a862=_0x559183[_0xd2e736(0x2f3)])==null?void 0x0:_0x19a862['cs']},'cmd':_0x58c085['cmd']};case _0x16fad4['CHANGESET_REJ']:return{..._0x58c085,'data':{..._0x559183,'data':(_0xcec23c=_0x559183['csRejEvent'])==null?void 0x0:_0xcec23c['cs']},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x2df)]:return{..._0x58c085,'data':{..._0x559183,'data':(_0x12f0d5=_0x559183[_0xd2e736(0x111)])==null?void 0x0:_0x12f0d5['cs']},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x346)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0xda)]},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x28e)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0x2d8)]},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x200)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0x2be)]},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x6c)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0xb3)]},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x239)]:case _0x16fad4[_0xd2e736(0x307)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183['liveShareOperation']},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x160)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183['liveShareNewHost']},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0xc0)]:return{..._0x58c085,'data':_0x559183,'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x16c)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183['commentUpdateEvent']},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4['UPDATE_PERMISSION_OBJ']:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183['updatePermissionObjEvent']},'cmd':_0x58c085[_0xd2e736(0x112)]};case _0x16fad4[_0xd2e736(0x155)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0x324)]},'cmd':_0x58c085['cmd']};case _0x16fad4[_0xd2e736(0x309)]:return{..._0x58c085,'data':{..._0x559183,'data':_0x559183[_0xd2e736(0x26d)]},'cmd':_0x58c085['cmd']};default:return _0x58c085;}}default:return _0x58c085;}}function xn(_0x2a4869){var _0x169215=_0x4a7870;switch(_0x2a4869[_0x169215(0x112)]){case F[_0x169215(0x2a7)]:case F['HELLO']:return JSON[_0x169215(0x1bb)]({'cmd':_0x2a4869[_0x169215(0x112)],'routeKey':_0x2a4869[_0x169215(0x333)]});case F[_0x169215(0x219)]:{let _0x1d5cae;switch(_0x2a4869[_0x169215(0x361)][_0x169215(0x2a2)]){case _0x16fad4[_0x169215(0x346)]:{_0x1d5cae={'eventID':_0x16fad4['UPDATE_CURSOR'],'updateCursorEvent':_0x2a4869[_0x169215(0x361)][_0x169215(0x361)]};break;}case _0x16fad4[_0x169215(0x200)]:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x200)],'leaveEvent':_0x2a4869[_0x169215(0x361)][_0x169215(0x361)]};break;}case _0x16fad4['USERS_ENTER']:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x28e)],'joinEvent':_0x2a4869[_0x169215(0x361)][_0x169215(0x361)]};break;}case _0x16fad4[_0x169215(0x6c)]:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x6c)],'liveShareNewHost':_0x2a4869[_0x169215(0x361)]['data']};break;}case _0x16fad4[_0x169215(0x307)]:{_0x1d5cae={'eventID':_0x16fad4['LIVESHARE_OPERATION'],'liveShareOperation':_0x2a4869[_0x169215(0x361)]['data']};break;}case _0x16fad4[_0x169215(0x160)]:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x160)],'liveShareTerminate':_0x2a4869[_0x169215(0x361)][_0x169215(0x361)]};break;}case _0x16fad4[_0x169215(0x32c)]:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x32c)],'liveShareRequestHost':_0x2a4869[_0x169215(0x361)]['data']};break;}case _0x16fad4[_0x169215(0x239)]:{_0x1d5cae={'eventID':_0x16fad4[_0x169215(0x239)]};break;}default:_0x1d5cae={'eventID':_0x2a4869[_0x169215(0x361)][_0x169215(0x2a2)]};}return JSON[_0x169215(0x1bb)]({'cmd':_0x2a4869[_0x169215(0x112)],'routeKey':_0x2a4869[_0x169215(0x333)],'collaMsg':_0x1d5cae});}case F[_0x169215(0x13a)]:return JSON[_0x169215(0x1bb)]({'cmd':_0x2a4869[_0x169215(0x112)],'routeKey':_0x2a4869['routeKey'],'joinReq':_0x2a4869[_0x169215(0x361)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x2a4869[_0x169215(0x112)],'routeKey':_0x2a4869['routeKey'],'leaveReq':_0x2a4869[_0x169215(0x361)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Mn=Object[_0x4a7870(0x31c)],kn=(_0x5c0708,_0x5eeb44,_0x917c66,_0x109970)=>{for(var _0x3ba245=_0x109970>0x1?void 0x0:_0x109970?Mn(_0x5eeb44,_0x917c66):_0x5eeb44,_0x44b89d=_0x5c0708['length']-0x1,_0x78c213;_0x44b89d>=0x0;_0x44b89d--)(_0x78c213=_0x5c0708[_0x44b89d])&&(_0x3ba245=_0x78c213(_0x3ba245)||_0x3ba245);return _0x3ba245;},Ae=(_0x2676f6,_0xd92468)=>(_0x269b1b,_0x13fda2)=>_0xd92468(_0x269b1b,_0x13fda2,_0x2676f6);const Ii=_0x50755d(_0x4a7870(0x284));function $n(_0x2aa8e7,_0x5061ba,_0x235c67){var _0x10747d=_0x4a7870;return _0x2aa8e7+'/'+_0x5061ba+'/unit/'+_0x235c67+_0x10747d(0x82);}let Gt=class extends _0x5927c9{constructor(_0x2565db,_0x527174,_0x30b892,_0x37ee5a,_0x24c45c){var _0x5aa866=_0x4a7870;super(),this[_0x5aa866(0x12b)]=_0x2565db,this[_0x5aa866(0x1aa)]=_0x527174,this['_configService']=_0x30b892,this['_logService']=_0x37ee5a,this[_0x5aa866(0x10c)]=_0x24c45c;}[_0x4a7870(0x1b2)](_0x2c013f){var _0x226fcd=_0x4a7870;const _0x45e62d=this[_0x226fcd(0x12b)]['get'](_0x49fc7d);if(!_0x45e62d)throw new Error(_0x226fcd(0x27e));const _0x50abb1=_0x45e62d[_0x226fcd(0xf7)](_0x2c013f);if(!_0x50abb1)throw new Error(_0x226fcd(0x147));const _0x134eae=new _0x3746ac(),_0x10ad0d=new _0x4231ca();_0x134eae[_0x226fcd(0x217)](_0x50abb1[_0x226fcd(0x142)][_0x226fcd(0x34a)](_0x5f5883=>_0x10ad0d[_0x226fcd(0x331)](_0x5f5883))),_0x134eae[_0x226fcd(0x217)](_0x3dddbd(()=>_0x10ad0d['complete']()));const _0x22afa5=new _0x4231ca();_0x134eae[_0x226fcd(0x217)](_0x50abb1[_0x226fcd(0x208)][_0x226fcd(0x34a)](_0x57462d=>_0x22afa5[_0x226fcd(0x331)](_0x57462d))),_0x134eae[_0x226fcd(0x217)](_0x3dddbd(()=>_0x22afa5[_0x226fcd(0xeb)]()));const _0x33a4f1=new _0x4231ca();_0x134eae[_0x226fcd(0x217)](_0x50abb1[_0x226fcd(0x27f)]['subscribe'](_0x1c683c=>{const _0x58b0b0=Ln(_0x1c683c);_0x33a4f1['next'](_0x58b0b0);})),_0x134eae[_0x226fcd(0x217)](_0x3dddbd(()=>_0x33a4f1['complete']()));let _0x47d32d;const _0x254f67=()=>{var _0x17aa80=_0x226fcd;_0x22afa5[_0x17aa80(0x331)](new Event('connection\x20error')),_0x10ad0d[_0x17aa80(0x331)](new Event(_0x17aa80(0x23b))),_0x47d32d[_0x17aa80(0x34f)]();};return _0x47d32d={'memberID':'','close$':_0x10ad0d[_0x226fcd(0x240)](),'error$':_0x22afa5[_0x226fcd(0x240)](),'open$':_0x50abb1[_0x226fcd(0x229)],'message$':_0x33a4f1[_0x226fcd(0x240)](),'send':_0x19a5af=>{var _0x4cfda5=_0x226fcd;if(_0x19a5af[_0x4cfda5(0x112)]===F[_0x4cfda5(0x219)]){if(_0x19a5af[_0x4cfda5(0x361)][_0x4cfda5(0x2a2)]===_0x16fad4['SUBMIT_CHANGESET']){this[_0x4cfda5(0x1b8)](_0x47d32d,_0x19a5af['data'])[_0x4cfda5(0xb5)](_0x4b5638=>{var _0x3635fd=_0x4cfda5;this['_logService'][_0x3635fd(0x95)](_0x4b5638),_0x254f67();});return;}if(_0x19a5af[_0x4cfda5(0x361)][_0x4cfda5(0x2a2)]===_0x16fad4[_0x4cfda5(0x24a)]){const _0x4c6671=_0x19a5af[_0x4cfda5(0x361)];this[_0x4cfda5(0xae)](_0x4c6671)[_0x4cfda5(0x269)](_0x63943=>{var _0x2c861b=_0x4cfda5;_0x33a4f1['next']({'cmd':F[_0x2c861b(0x1df)],'code':ge['OK'],'routeKey':_0x4c6671[_0x2c861b(0x361)][_0x2c861b(0x2da)],'routeType':'','data':{'eventID':_0x16fad4['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x63943}}});})[_0x4cfda5(0xb5)](_0x170af4=>{var _0x2e4421=_0x4cfda5;this[_0x2e4421(0x2d5)][_0x2e4421(0x95)](_0x170af4),_0x254f67();});return;}}_0x50abb1[_0x4cfda5(0x149)](xn(_0x19a5af));},'close':()=>{var _0x1a8352=_0x226fcd;_0x50abb1[_0x1a8352(0x34f)](),_0x134eae[_0x1a8352(0x31b)]();}},_0x47d32d;}async['_submitChangeset'](_0x155942,_0x44c7e5){var _0x59da57=_0x4a7870,_0x5ce3a6,_0x378482;const {unitType:_0x1c3a0d,unitID:_0x309f97,changeset:_0x55b51f}=_0x44c7e5[_0x59da57(0x361)],_0x257d5a={'unitID':_0x309f97,'memberID':_0x155942['memberID'],'type':_0x1c3a0d,'changeset':_0x32fb77(_0x55b51f)},_0x3261fc=this[_0x59da57(0x79)][_0x59da57(0x2fd)](Nn),_0x4a2431=this[_0x59da57(0x79)]['getConfig'](q),_0x5e0c23=$n((_0x378482=(_0x5ce3a6=_0x4a2431==null?void 0x0:_0x4a2431[_0x59da57(0x223)])!=null?_0x5ce3a6:_0x3261fc)!=null?_0x378482:Dn,_0x1c3a0d,_0x309f97);try{await this[_0x59da57(0x1aa)][_0x59da57(0x169)](_0x5e0c23,{'body':_0x257d5a});}catch(_0x356117){throw this['_logService']['error'](_0x59da57(0xc6),_0x59da57(0x1d4)),_0x356117;}}async[_0x4a7870(0xae)](_0xcab355){var _0x50e83f=_0x4a7870;const {unitID:_0x27b9c1,from:_0x5eb2d9,to:_0x33cd48,unitType:_0x2861ec}=_0xcab355['data'];return(await this[_0x50e83f(0x10c)][_0x50e83f(0x1ca)]({'metadata':void 0x0},{'unitID':_0x27b9c1,'type':_0x2861ec,'from':_0x5eb2d9,'to':_0x33cd48}))[_0x50e83f(0x20a)];}};Gt=kn([Ae(0x0,_0x1f73e(_0xdfa2fc)),Ae(0x1,_0x1f73e(_0x12260a)),Ae(0x2,_0x146073),Ae(0x3,_0x3f1fd1),Ae(0x4,_0x243317)],Gt);const Hn=_0x4a7870(0x187);function Bn(_0x5ecb8b){var _0x339163=_0x4a7870;return JSON[_0x339163(0x1bb)](_0x5ecb8b)['length'];}class Ti{constructor(){var _0x387f16=_0x4a7870;N(this,_0x387f16(0x2cf),new _0x4231ca()),N(this,_0x387f16(0xf3),this[_0x387f16(0x2cf)][_0x387f16(0x240)]());}['onCommentUpdate'](_0x390d63){var _0x19825a=_0x4a7870;this[_0x19825a(0x2cf)][_0x19825a(0x331)](_0x390d63);}}var jn=Object[_0x4a7870(0x31c)],Fn=(_0xfff4fc,_0x360a7f,_0x555a3c,_0x587ef8)=>{var _0x1eca03=_0x4a7870;for(var _0x4f5d78=_0x587ef8>0x1?void 0x0:_0x587ef8?jn(_0x360a7f,_0x555a3c):_0x360a7f,_0x2f8427=_0xfff4fc[_0x1eca03(0x30e)]-0x1,_0x1810f0;_0x2f8427>=0x0;_0x2f8427--)(_0x1810f0=_0xfff4fc[_0x2f8427])&&(_0x4f5d78=_0x1810f0(_0x4f5d78)||_0x4f5d78);return _0x4f5d78;},Wt=(_0x332f8e,_0x60621c)=>(_0x395e4a,_0x28bf5f)=>_0x60621c(_0x395e4a,_0x28bf5f,_0x332f8e);let Le=class extends _0x5927c9{constructor(_0x4cfbd2,_0x1b2fc4){var _0x3a6e1c=_0x4a7870;super(),N(this,_0x3a6e1c(0x163),new Map()),N(this,'_roomCreated$',new _0x4231ca()),(this['_univerInstanceService']=_0x4cfbd2,this['_userManagerService']=_0x1b2fc4,this[_0x3a6e1c(0x106)](_0xb58c91(this[_0x3a6e1c(0x26a)][_0x3a6e1c(0x214)](_0x56caf9[_0x3a6e1c(0xd1)])[_0x3a6e1c(0x300)](_0x1a9763(_0x5482b6=>_0x5482b6[_0x3a6e1c(0x13d)]())),this[_0x3a6e1c(0x26a)][_0x3a6e1c(0x214)](_0x56caf9['UNIVER_DOC'])[_0x3a6e1c(0x300)](_0x1a9763(_0x54d2bf=>_0x54d2bf[_0x3a6e1c(0x13d)]())),this[_0x3a6e1c(0x26a)][_0x3a6e1c(0x214)](_0x56caf9[_0x3a6e1c(0x348)])[_0x3a6e1c(0x300)](_0x1a9763(_0x20121b=>_0x20121b['getUnitId']())))[_0x3a6e1c(0x34a)](_0x30d9c1=>this[_0x3a6e1c(0x2b2)](_0x30d9c1))));}['waitForRoom$'](_0x3fdef6){var _0x3ecd7d=_0x4a7870;return this[_0x3ecd7d(0x163)]['has'](_0x3fdef6)?_0x5d0831(this[_0x3ecd7d(0x163)][_0x3ecd7d(0xcf)](_0x3fdef6)):this[_0x3ecd7d(0x23d)][_0x3ecd7d(0x300)](_0x1a9763(_0x319a1c=>{var _0x1668f3=_0x3ecd7d;if(_0x319a1c===_0x3fdef6)return this['_roomMembers'][_0x1668f3(0xcf)](_0x319a1c);}));}[_0x4a7870(0x1a6)](_0x17aad9){var _0xfe3bd6=_0x4a7870;this[_0xfe3bd6(0x329)]['setCurrentUser'](_0x17aad9);}[_0x4a7870(0x17a)](){var _0x18f617=_0x4a7870;return this[_0x18f617(0x329)]['getCurrentUser']();}[_0x4a7870(0x27d)](_0x296d76,_0x2e3ebb){var _0x9042a3=_0x4a7870;let _0x1e0685=this[_0x9042a3(0x163)][_0x9042a3(0xcf)](_0x296d76);_0x1e0685||(_0x1e0685=new Vn(),this[_0x9042a3(0x163)]['set'](_0x296d76,_0x1e0685),this[_0x9042a3(0x23d)][_0x9042a3(0x331)](_0x296d76)),_0x1e0685[_0x9042a3(0x27d)](_0x2e3ebb);}[_0x4a7870(0x1c3)](_0x5e87cc,_0x241bd9){var _0x12f71a=_0x4a7870;const _0x285c2e=this['_roomMembers'][_0x12f71a(0xcf)](_0x5e87cc);_0x285c2e&&_0x285c2e[_0x12f71a(0x1c3)](_0x241bd9);}[_0x4a7870(0x9d)](_0xd35331){var _0x51e613=_0x4a7870;return this[_0x51e613(0x163)][_0x51e613(0xcf)](_0xd35331);}[_0x4a7870(0x20c)](_0x40f12b,_0x1c35d1){var _0x5b3853=_0x4a7870;const _0x38a764=this[_0x5b3853(0x163)]['get'](_0x40f12b);if(_0x38a764)return _0x38a764['getMember'](_0x1c35d1);}[_0x4a7870(0x2b2)](_0x1b479d){var _0x335cf4=_0x4a7870;const _0x3f6b42=this[_0x335cf4(0x163)][_0x335cf4(0xcf)](_0x1b479d);_0x3f6b42&&(_0x3f6b42[_0x335cf4(0x31b)](),this[_0x335cf4(0x163)][_0x335cf4(0x362)](_0x1b479d));}[_0x4a7870(0x31b)](){var _0x4ffb03=_0x4a7870;this[_0x4ffb03(0x163)][_0x4ffb03(0x15d)](_0x488ab1=>_0x488ab1[_0x4ffb03(0x31b)]()),this['_roomMembers'][_0x4ffb03(0x154)](),this[_0x4ffb03(0x23d)][_0x4ffb03(0xeb)]();}};Le=Fn([Wt(0x0,_0x4e4cca),Wt(0x1,_0x1f73e(_0x5a70ad))],Le);class Vn extends _0x5927c9{constructor(){var _0x39542f=_0x4a7870;super(...arguments),N(this,_0x39542f(0x1c8),new Map()),N(this,_0x39542f(0xdf),new _0x5b211c(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x4a7870(0x31b)](){var _0x2ba835=_0x4a7870;this[_0x2ba835(0x1c8)][_0x2ba835(0x154)]();}[_0x4a7870(0x27d)](_0x4d023d){var _0x2cd25a=_0x4a7870;this['_members'][_0x2cd25a(0x12c)](_0x4d023d[_0x2cd25a(0x1d5)],_0x4d023d),this['_emitMembers']();}[_0x4a7870(0x1c3)](_0x17d567){var _0x474d8f=_0x4a7870;this[_0x474d8f(0x1c8)][_0x474d8f(0x362)](_0x17d567);}[_0x4a7870(0x20c)](_0x4db8b2){var _0x39a854=_0x4a7870;return this[_0x39a854(0x1c8)][_0x39a854(0xcf)](_0x4db8b2);}['getAllMembers'](){var _0x2720e9=_0x4a7870;return Array[_0x2720e9(0x17b)](this[_0x2720e9(0x1c8)][_0x2720e9(0x20f)]());}[_0x4a7870(0xfb)](){var _0x307414=_0x4a7870;this[_0x307414(0xdf)][_0x307414(0x331)](this[_0x307414(0x1c8)]);}}var Gn=Object[_0x4a7870(0x31c)],Wn=(_0x3410ed,_0x3e9e26,_0x4ada4f,_0x2d27af)=>{for(var _0x25a475=_0x2d27af>0x1?void 0x0:_0x2d27af?Gn(_0x3e9e26,_0x4ada4f):_0x3e9e26,_0x538464=_0x3410ed['length']-0x1,_0x117945;_0x538464>=0x0;_0x538464--)(_0x117945=_0x3410ed[_0x538464])&&(_0x25a475=_0x117945(_0x25a475)||_0x25a475);return _0x25a475;},me=(_0x232ee7,_0x33c2ac)=>(_0x3e3f75,_0x170b1a)=>_0x33c2ac(_0x3e3f75,_0x170b1a,_0x232ee7),Ee=(_0x221da8=>(_0x221da8[_0x221da8[_0x4a7870(0x312)]=0x0]=_0x4a7870(0x312),_0x221da8[_0x221da8['JOINING']=0x1]=_0x4a7870(0x1e6),_0x221da8[_0x221da8['OFFLINE']=0x2]=_0x4a7870(0xbe),_0x221da8[_0x221da8['ONLINE']=0x3]=_0x4a7870(0xcb),_0x221da8))(Ee||{});const Kt={[ge[_0x4a7870(0x298)]]:_0x4a7870(0x16f),[ge[_0x4a7870(0xea)]]:'session.room-full',[ge[_0x4a7870(0x334)]]:'session.room-not-exists',[ge[_0x4a7870(0xa4)]]:_0x4a7870(0x183),[ge[_0x4a7870(0x170)]]:_0x4a7870(0x77)};let Et=class extends _0x552706{constructor(_0x2ce937,_0x480d6f,_0x19536d,_0x4c0900,_0x312138,_0x405f62,_0x51d21c,_0x103178,_0x846193){var _0x524557=_0x4a7870;super(),N(this,_0x524557(0x285),new _0x5b211c(0x0)),N(this,'sessionStatus$',this[_0x524557(0x285)][_0x524557(0x240)]()),N(this,_0x524557(0x326),new _0x4231ca()),N(this,_0x524557(0x2a9),this['_event$'][_0x524557(0x240)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x524557(0x7a)),N(this,_0x524557(0x18f),!0x1),N(this,_0x524557(0x29c),null),(this[_0x524557(0x2c4)]=_0x2ce937,this['_logService']=_0x19536d,this[_0x524557(0x79)]=_0x4c0900,this[_0x524557(0x2f4)]=_0x312138,this[_0x524557(0x206)]=_0x405f62,this['_commentService']=_0x51d21c,this[_0x524557(0x352)]=_0x103178,this[_0x524557(0x29e)]=_0x846193,this['_shouldReportTelemetry']=!!this[_0x524557(0x29e)],_0x480d6f[_0x524557(0x300)](_0x328750(this[_0x524557(0x347)]))[_0x524557(0x34a)](_0x14f83d=>{var _0x5b6a97=_0x524557,_0x39e321;typeof _0x14f83d>'u'||(this[_0x5b6a97(0x25e)]=_0x14f83d,_0x14f83d?(this[_0x5b6a97(0x24b)](_0x14f83d),this[_0x5b6a97(0x237)]=_0x14f83d[_0x5b6a97(0x27f)][_0x5b6a97(0x34a)](_0x3381d9=>{var _0x367ae0=_0x5b6a97;_0x3381d9[_0x367ae0(0x333)]===this['_unitID']&&this['_onCombEvent'](_0x3381d9);})):(this[_0x5b6a97(0x16b)](),this[_0x5b6a97(0x285)][_0x5b6a97(0x331)](0x2),(_0x39e321=this[_0x5b6a97(0x237)])==null||_0x39e321[_0x5b6a97(0x1f9)](),this['_socketMessageSubscription']=null));}));}get[_0x4a7870(0x1f5)](){var _0x408640=_0x4a7870;return this[_0x408640(0x285)][_0x408640(0xb0)]();}['getMemberID'](){var _0x2902d5=_0x4a7870,_0xec24b5,_0x43e624;return(_0x43e624=(_0xec24b5=this[_0x2902d5(0x25e)])==null?void 0x0:_0xec24b5['memberID'])!=null?_0x43e624:null;}[_0x4a7870(0x31b)](){var _0x5b7471=_0x4a7870;super[_0x5b7471(0x31b)](),this[_0x5b7471(0x347)][_0x5b7471(0x331)](),this[_0x5b7471(0x347)][_0x5b7471(0xeb)]();}['close'](){var _0x39dde4=_0x4a7870,_0x239e69,_0xfa590;this[_0x39dde4(0x16b)](),(_0x239e69=this[_0x39dde4(0x25e)])==null||_0x239e69[_0x39dde4(0x149)]({'cmd':F[_0x39dde4(0x247)],'data':{'roomID':this[_0x39dde4(0x2c4)]}}),(_0xfa590=this['_socket'])==null||_0xfa590['close'](),this[_0x39dde4(0x326)]['complete'](),this[_0x39dde4(0x285)]['complete'](),this[_0x39dde4(0x31b)]();}[_0x4a7870(0xbb)](_0x1ea5f2){var _0x5cd5d7=_0x4a7870;_0x1ea5f2[_0x5cd5d7(0x112)]===F['JOIN']?this[_0x5cd5d7(0xa8)](_0x1ea5f2):_0x1ea5f2[_0x5cd5d7(0x112)]===F[_0x5cd5d7(0x1df)]&&this[_0x5cd5d7(0x1a4)](_0x1ea5f2);}['_joinRoom'](_0x5ebf91){var _0x563cc6=_0x4a7870;this[_0x563cc6(0x285)]['next'](0x1),_0x5ebf91[_0x563cc6(0x149)]({'cmd':F['JOIN'],'routeKey':this[_0x563cc6(0x2c4)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4a7870(0xa8)](_0x49e06d){var _0x46b7ed=_0x4a7870,_0x5f34f7;if(_0x49e06d[_0x46b7ed(0x227)]in Kt){this['_collaborationUIEventService'][_0x46b7ed(0x93)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x49e06d[_0x46b7ed(0x227)]]}),this['_sessionStatus$'][_0x46b7ed(0x331)](0x2);return;}this[_0x46b7ed(0x285)][_0x46b7ed(0x331)](0x3);const _0x56bf73=(_0x5f34f7=_0x49e06d[_0x46b7ed(0x361)][_0x46b7ed(0xe1)][this['_unitID']])==null?void 0x0:_0x5f34f7['members'];_0x56bf73&&_0x56bf73[_0x46b7ed(0x15d)](_0x2a421b=>this[_0x46b7ed(0x206)][_0x46b7ed(0x27d)](this[_0x46b7ed(0x2c4)],_0x2a421b));}['_onRecvEvent'](_0x3ee435){var _0x1131b2=_0x4a7870;try{const _0x5ad7a4=_0x3ee435[_0x1131b2(0x361)];switch(_0x5ad7a4[_0x1131b2(0x2a2)]){case _0x16fad4[_0x1131b2(0x28e)]:this[_0x1131b2(0xa6)](_0x5ad7a4),this[_0x1131b2(0x326)][_0x1131b2(0x331)](_0x5ad7a4);break;case _0x16fad4[_0x1131b2(0x200)]:this[_0x1131b2(0x30d)](_0x5ad7a4),this[_0x1131b2(0x326)][_0x1131b2(0x331)](_0x5ad7a4);break;case _0x16fad4[_0x1131b2(0x1f3)]:case _0x16fad4['CHANGESET_SHOULD_RETRY']:this[_0x1131b2(0x1da)](),this[_0x1131b2(0xee)](),this[_0x1131b2(0x326)][_0x1131b2(0x331)](_0x5ad7a4);break;case _0x16fad4[_0x1131b2(0xc0)]:this['_logService'][_0x1131b2(0x95)](_0x1131b2(0x7b)+JSON['stringify'](_0x5ad7a4)),this['_event$'][_0x1131b2(0x331)](_0x5ad7a4);break;case _0x16fad4[_0x1131b2(0x16c)]:this[_0x1131b2(0x2b9)]['onCommentUpdate'](_0x5ad7a4[_0x1131b2(0x361)]),this['_event$'][_0x1131b2(0x331)](_0x5ad7a4);break;default:this[_0x1131b2(0x326)][_0x1131b2(0x331)](_0x5ad7a4);}}catch(_0x567fd5){this[_0x1131b2(0x2d5)][_0x1131b2(0x95)](_0x567fd5,_0x3ee435);}}[_0x4a7870(0xa6)](_0x1f1f4e){var _0x13e683=_0x4a7870;this[_0x13e683(0x206)][_0x13e683(0x27d)](this[_0x13e683(0x2c4)],_0x1f1f4e[_0x13e683(0x361)]);}[_0x4a7870(0x30d)](_0x3b17e6){var _0x12e1e3=_0x4a7870;this[_0x12e1e3(0x206)]['removeMember'](this[_0x12e1e3(0x2c4)],_0x3b17e6[_0x12e1e3(0x361)]['memberID']);}async['send'](_0x243c5b,_0x5bc915){var _0x194dc7=_0x4a7870;if(this[_0x194dc7(0x1f5)]!==0x3||!this[_0x194dc7(0x25e)])throw new Error(_0x194dc7(0x321));try{_0x243c5b[_0x194dc7(0x2a2)]===_0x16fad4[_0x194dc7(0x1e8)]&&(this[_0x194dc7(0x294)](),this[_0x194dc7(0x2ec)](_0x243c5b)),this[_0x194dc7(0x25e)][_0x194dc7(0x149)]({'cmd':F[_0x194dc7(0x219)],'routeKey':_0x5bc915,'routeType':'','data':_0x243c5b});}catch(_0x2f586a){this[_0x194dc7(0x2d5)][_0x194dc7(0x95)](_0x2f586a);}}[_0x4a7870(0x294)](){var _0x39e1ce=_0x4a7870,_0x57d764;this[_0x39e1ce(0x7a)]=setTimeout(()=>{var _0x207d3c=_0x39e1ce;this[_0x207d3c(0x7a)]=null,this['_collaborationUIEventService'][_0x207d3c(0x93)]({'id':re[_0x207d3c(0x19d)]});},(_0x57d764=this[_0x39e1ce(0x79)][_0x39e1ce(0x2fd)](mi))!=null?_0x57d764:gi);}[_0x4a7870(0xee)](){var _0xe08aa4=_0x4a7870;this[_0xe08aa4(0x7a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xe08aa4(0x7a)]=null);}[_0x4a7870(0x2ec)](_0x5015c3){var _0x4f0621=_0x4a7870;if(!this['_shouldReportTelemetry'])return;const {data:_0x363b6e}=_0x5015c3,{unitID:_0x3439ee,changeset:_0x191c68}=_0x363b6e,{mutations:_0xebbe0a,type:_0x134dbb}=_0x191c68;this['_telemetryInfo']={'unitId':_0x3439ee,'type':_0x134dbb,'startTime':performance[_0x4f0621(0x2ac)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xebbe0a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1cfaff=_0x4a7870;if(this[_0x1cfaff(0x18f)]){if(!this[_0x1cfaff(0x29c)]){this[_0x1cfaff(0x2d5)][_0x1cfaff(0x95)]('[CollaborationSession]',_0x1cfaff(0x6e));return;}this[_0x1cfaff(0x29c)]['stopTime']=performance[_0x1cfaff(0x2ac)](),this['_telemetryInfo'][_0x1cfaff(0x2d3)]=this[_0x1cfaff(0x29c)][_0x1cfaff(0x25c)]-this[_0x1cfaff(0x29c)][_0x1cfaff(0x13f)],this[_0x1cfaff(0x29e)]['capture'](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x4a7870(0x16b)](){var _0x45b1c1=_0x4a7870;this[_0x45b1c1(0x29c)]=null;}};Et=Wn([me(0x2,_0x3f1fd1),me(0x3,_0x146073),me(0x4,_0x1f73e(_0x2129f6)),me(0x5,_0x1f73e(Le)),me(0x6,_0x1f73e(Ti)),me(0x7,_0x1f73e(pe)),me(0x8,_0x1717ac(_0x175885))],Et);var Kn=Object[_0x4a7870(0x31c)],Yn=(_0x859374,_0x1aacef,_0x818d81,_0x19d8b1)=>{for(var _0x16eeaa=_0x19d8b1>0x1?void 0x0:_0x19d8b1?Kn(_0x1aacef,_0x818d81):_0x1aacef,_0x145fce=_0x859374['length']-0x1,_0x3c5e22;_0x145fce>=0x0;_0x145fce--)(_0x3c5e22=_0x859374[_0x145fce])&&(_0x16eeaa=_0x3c5e22(_0x16eeaa)||_0x16eeaa);return _0x16eeaa;},be=(_0x4f02bb,_0x934067)=>(_0x16f643,_0x31179e)=>_0x934067(_0x16f643,_0x31179e,_0x4f02bb);let xe=class extends _0x5927c9{constructor(_0x2ad240,_0x22308a,_0xa5624,_0xeed64f,_0x2c3540,_0x1b450c){var _0x5023c5=_0x4a7870;super(),N(this,'_socket$',new _0x5b211c(void 0x0)),N(this,'socket$',this[_0x5023c5(0xce)][_0x5023c5(0x240)]()),N(this,_0x5023c5(0x22f),null),N(this,_0x5023c5(0x24f),new Map()),N(this,_0x5023c5(0x24c),new _0x5b211c(Ee[_0x5023c5(0x312)])),N(this,_0x5023c5(0x230),this['_status$'][_0x5023c5(0x240)]()),N(this,_0x5023c5(0x231),!0x1),N(this,_0x5023c5(0xcc)),N(this,'_retryCount',0x0),N(this,_0x5023c5(0x314)),N(this,_0x5023c5(0x36a)),(this[_0x5023c5(0x12b)]=_0x2ad240,this[_0x5023c5(0x2d5)]=_0x22308a,this[_0x5023c5(0x79)]=_0xa5624,this[_0x5023c5(0x296)]=_0xeed64f,this[_0x5023c5(0x352)]=_0x2c3540,this[_0x5023c5(0x137)]=_0x1b450c,this[_0x5023c5(0x1ed)]());}get[_0x4a7870(0x25e)](){var _0x46071d=_0x4a7870;return this['_socket$'][_0x46071d(0xb0)]();}['_listenToNetworkCondition'](){var _0x37efe5=_0x4a7870;this[_0x37efe5(0x137)]&&this['disposeWithMe'](this[_0x37efe5(0x137)]['online$'][_0x37efe5(0x34a)](_0x90b02=>{var _0x2e705a=_0x37efe5;_0x90b02&&!this[_0x2e705a(0x25e)]&&this['reconnect'](),_0x90b02||this[_0x2e705a(0x2bd)]();}));}[_0x4a7870(0x31b)](){var _0x56fbd0=_0x4a7870;super[_0x56fbd0(0x31b)](),this['_clearRetryConnectingTimer'](),this[_0x56fbd0(0x14c)](),this[_0x56fbd0(0x364)](),this[_0x56fbd0(0x24f)][_0x56fbd0(0x15d)](_0x2e884e=>_0x2e884e['dispose']()),this[_0x56fbd0(0x24f)][_0x56fbd0(0x154)](),this[_0x56fbd0(0x24c)][_0x56fbd0(0xeb)]();}async[_0x4a7870(0x2e4)](_0x5cb016){var _0x59c282=_0x4a7870;if(this['_sessions'][_0x59c282(0x27b)](_0x5cb016))return this['_sessions'][_0x59c282(0xcf)](_0x5cb016);this[_0x59c282(0x29b)]();const _0x3212c3=this[_0x59c282(0x12b)][_0x59c282(0x70)](Et,_0x5cb016,this[_0x59c282(0xce)]['asObservable']());return this[_0x59c282(0x24f)][_0x59c282(0x12c)](_0x5cb016,_0x3212c3),_0x3212c3;}[_0x4a7870(0x241)](_0x391bfe){var _0x1ee38e=_0x4a7870,_0x414d1c;const _0x1ee4de=this[_0x1ee38e(0x24f)][_0x1ee38e(0xcf)](_0x391bfe);_0x1ee4de&&(this[_0x1ee38e(0x24f)][_0x1ee38e(0x362)](_0x391bfe),_0x1ee4de[_0x1ee38e(0x34f)]()),this[_0x1ee38e(0x24f)][_0x1ee38e(0x2ce)]||(_0x414d1c=this[_0x1ee38e(0x25e)])==null||_0x414d1c[_0x1ee38e(0x34f)]();}[_0x4a7870(0x16e)](){var _0x5be73c=_0x4a7870;this[_0x5be73c(0x32e)]=0x0,this[_0x5be73c(0xe4)](),this['_tryReconnect']();}[_0x4a7870(0xe4)](){var _0x400b4a=_0x4a7870;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x400b4a(0xcc)]),this[_0x400b4a(0xcc)]=null);}async[_0x4a7870(0x226)](){var _0x2ba60d=_0x4a7870,_0xd32797,_0x1816d6;const _0x1f4c49=this[_0x2ba60d(0x79)]['getConfig'](In),_0x1d4d2b=this[_0x2ba60d(0x79)][_0x2ba60d(0x2fd)](q),_0x454dc6=(_0x1816d6=(_0xd32797=_0x1d4d2b==null?void 0x0:_0x1d4d2b[_0x2ba60d(0x2fe)])!=null?_0xd32797:_0x1f4c49)!=null?_0x1816d6:Tn,_0x474afc=await this[_0x2ba60d(0x296)]['createSocket'](_0x454dc6);return this[_0x2ba60d(0x22f)]=_0x474afc,_0x474afc;}async[_0x4a7870(0x29b)](){var _0x29c936=_0x4a7870,_0x2a7bc9,_0x34ad57;try{const _0x2f6b50=(_0x34ad57=(_0x2a7bc9=this[_0x29c936(0x25e)])!=null?_0x2a7bc9:this[_0x29c936(0x22f)])!=null?_0x34ad57:await this['_createSocket']();if(_0x2f6b50){const _0x14a977=_0x2f6b50[_0x29c936(0x149)];_0x2f6b50[_0x29c936(0x149)]=_0x32b6a4=>(this[_0x29c936(0xe9)](),_0x14a977[_0x29c936(0x162)](_0x2f6b50,[_0x32b6a4])),_0x2f6b50[_0x29c936(0x27f)][_0x29c936(0x34a)](_0x1fc174=>this[_0x29c936(0x28f)](_0x2f6b50,_0x1fc174)),_0x2f6b50[_0x29c936(0x208)][_0x29c936(0x300)](_0x45c262(0x1))[_0x29c936(0x34a)](_0x5ecf47=>this['_logService'][_0x29c936(0x95)](_0x29c936(0x235),_0x5ecf47)),_0x2f6b50['open$'][_0x29c936(0x300)](_0x45c262(0x1))[_0x29c936(0x34a)](()=>{var _0x1dd8f8=_0x29c936;this[_0x1dd8f8(0xba)](_0x2f6b50);}),_0x2f6b50[_0x29c936(0x142)][_0x29c936(0x300)](_0x45c262(0x1))['subscribe'](_0xc0b38=>{var _0xa5142e=_0x29c936;this[_0xa5142e(0x2d5)][_0xa5142e(0x343)](_0xa5142e(0x31e),_0xa5142e(0xf2),_0xc0b38),this[_0xa5142e(0x355)]();});}}catch(_0x169585){this['_logService'][_0x29c936(0x95)](_0x169585),this[_0x29c936(0x355)]();}}[_0x4a7870(0xba)](_0x432897){var _0x51486c=_0x4a7870;this[_0x51486c(0x2d5)]['debug'](_0x51486c(0x31e),_0x51486c(0xfa)),_0x432897[_0x51486c(0x149)]({'cmd':F[_0x51486c(0x301)]}),this['_rescheduleHeartbeat']();}[_0x4a7870(0x2bd)](){var _0x14aa0d=_0x4a7870;this[_0x14aa0d(0x231)]=!0x1,this['_candidateSocket']=null,this[_0x14aa0d(0x24c)][_0x14aa0d(0x331)](Ee[_0x14aa0d(0xbe)]),this[_0x14aa0d(0xce)][_0x14aa0d(0x331)](null),this[_0x14aa0d(0x14c)](),this[_0x14aa0d(0x364)]();}[_0x4a7870(0x355)](){var _0x257971=_0x4a7870,_0x3c7785;this[_0x257971(0x2bd)](),this['_retryCount']<((_0x3c7785=this['_configService'][_0x257971(0x2fd)](yn))!=null?_0x3c7785:On)?(this['_collaborationUIEventService'][_0x257971(0x93)]({'id':re[_0x257971(0x113)]}),this['_tryReconnect']()):this[_0x257971(0x352)][_0x257971(0x93)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0x109807=_0x4a7870,_0x510e58;const _0x4b4ba5=this[_0x109807(0x32e)],_0xc39a83=this[_0x109807(0x79)][_0x109807(0x2fd)](q),_0x3293ee=_0x4b4ba5===0x0?0x0:((_0x510e58=_0xc39a83==null?void 0x0:_0xc39a83[_0x109807(0x94)])!=null?_0x510e58:bn)*0x2**_0x4b4ba5;this[_0x109807(0xcc)]=setTimeout(()=>{var _0x3aea33=_0x109807;clearTimeout(this[_0x3aea33(0xcc)]),this[_0x3aea33(0xcc)]=null,this[_0x3aea33(0x29b)]();},_0x3293ee),this[_0x109807(0x32e)]+=0x1;}[_0x4a7870(0x28f)](_0x31263c,_0x96e0a4){var _0x25bdb5=_0x4a7870;const {cmd:_0x6da094}=_0x96e0a4;_0x6da094===F['HELLO']&&!this['_socketReady']&&(_0x31263c['memberID']=_0x96e0a4[_0x25bdb5(0x361)][_0x25bdb5(0x1d5)],this[_0x25bdb5(0xce)][_0x25bdb5(0x331)](_0x31263c),this[_0x25bdb5(0x24c)]['next'](Ee[_0x25bdb5(0xcb)]),this[_0x25bdb5(0x231)]=!0x0,this[_0x25bdb5(0x22f)]=null),_0x6da094===F[_0x25bdb5(0x2a7)]&&this[_0x25bdb5(0x14c)](),this[_0x25bdb5(0xe9)]();}[_0x4a7870(0xe9)](){var _0x467342=_0x4a7870,_0x5d319e;this[_0x467342(0x364)](),this[_0x467342(0x314)]=setTimeout(()=>this[_0x467342(0x105)](),(_0x5d319e=this[_0x467342(0x79)][_0x467342(0x2fd)](Cn))!=null?_0x5d319e:Rn);}[_0x4a7870(0x105)](){var _0x11df3d=_0x4a7870;this['_socket'][_0x11df3d(0x149)]({'cmd':F['HEARTBEAT']}),this[_0x11df3d(0xa5)]();}[_0x4a7870(0xa5)](){var _0x11887e=_0x4a7870,_0xa5e76b;this[_0x11887e(0x36a)]=setTimeout(()=>this[_0x11887e(0x355)](),(_0xa5e76b=this[_0x11887e(0x79)][_0x11887e(0x2fd)](mi))!=null?_0xa5e76b:gi);}[_0x4a7870(0x364)](){var _0x12065d=_0x4a7870;this[_0x12065d(0x314)]!=null&&(clearTimeout(this[_0x12065d(0x314)]),this[_0x12065d(0x314)]=null);}['_clearTimeoutTimer'](){var _0x3ff398=_0x4a7870;this[_0x3ff398(0x36a)]!=null&&(clearTimeout(this[_0x3ff398(0x36a)]),this[_0x3ff398(0x36a)]=null);}};xe=Yn([be(0x0,_0x1f73e(_0xdfa2fc)),be(0x1,_0x3f1fd1),be(0x2,_0x146073),be(0x3,Ii),be(0x4,_0x1f73e(pe)),be(0x5,_0x1717ac(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x4a7870(0xb7)]((t+0x100)[_0x4a7870(0x1dc)](0x10)['slice'](0x1));function qn(_0x1dbdfe,_0x3207e7=0x0){var _0xac1a10=_0x4a7870;return(V[_0x1dbdfe[_0x3207e7+0x0]]+V[_0x1dbdfe[_0x3207e7+0x1]]+V[_0x1dbdfe[_0x3207e7+0x2]]+V[_0x1dbdfe[_0x3207e7+0x3]]+'-'+V[_0x1dbdfe[_0x3207e7+0x4]]+V[_0x1dbdfe[_0x3207e7+0x5]]+'-'+V[_0x1dbdfe[_0x3207e7+0x6]]+V[_0x1dbdfe[_0x3207e7+0x7]]+'-'+V[_0x1dbdfe[_0x3207e7+0x8]]+V[_0x1dbdfe[_0x3207e7+0x9]]+'-'+V[_0x1dbdfe[_0x3207e7+0xa]]+V[_0x1dbdfe[_0x3207e7+0xb]]+V[_0x1dbdfe[_0x3207e7+0xc]]+V[_0x1dbdfe[_0x3207e7+0xd]]+V[_0x1dbdfe[_0x3207e7+0xe]]+V[_0x1dbdfe[_0x3207e7+0xf]])[_0xac1a10(0x246)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4ef5df=_0x4a7870;if(!ut){if(typeof crypto>'u'||!crypto[_0x4ef5df(0x152)])throw new Error(_0x4ef5df(0xa3));ut=crypto['getRandomValues'][_0x4ef5df(0x242)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x4a7870(0x90)]&&crypto[_0x4a7870(0x90)][_0x4a7870(0x242)](crypto),Yt={'randomUUID':Xn};function Zn(_0x370cff,_0x3d4fa7,_0x39d97a){var _0x2ed770=_0x4a7870,_0x1b73ab,_0x20ebe9,_0x275a89;if(Yt[_0x2ed770(0x90)]&&!_0x370cff)return Yt['randomUUID']();_0x370cff=_0x370cff||{};const _0x19bc5d=(_0x275a89=(_0x20ebe9=_0x370cff['random'])!=null?_0x20ebe9:(_0x1b73ab=_0x370cff[_0x2ed770(0x145)])==null?void 0x0:_0x1b73ab['call'](_0x370cff))!=null?_0x275a89:Jn();if(_0x19bc5d[_0x2ed770(0x30e)]<0x10)throw new Error(_0x2ed770(0x2c3));return _0x19bc5d[0x6]=_0x19bc5d[0x6]&0xf|0x40,_0x19bc5d[0x8]=_0x19bc5d[0x8]&0x3f|0x80,qn(_0x19bc5d);}const J=_0x50755d(_0x4a7870(0x366));function Br(_0x5b683c){var _0x1a6da2=_0x4a7870;return _0x1a6da2(0x33e)+_0x5b683c;}var Qn=Object[_0x4a7870(0x31c)],es=(_0x3ee468,_0xef3dcd,_0x503445,_0x2595b1)=>{for(var _0xc050e4=_0x2595b1>0x1?void 0x0:_0x2595b1?Qn(_0xef3dcd,_0x503445):_0xef3dcd,_0x177a9e=_0x3ee468['length']-0x1,_0x345169;_0x177a9e>=0x0;_0x177a9e--)(_0x345169=_0x3ee468[_0x177a9e])&&(_0xc050e4=_0x345169(_0xc050e4)||_0xc050e4);return _0xc050e4;},dt=(_0x58a990,_0x3da1d2)=>(_0x388748,_0xa52c8b)=>_0x3da1d2(_0x388748,_0xa52c8b,_0x58a990);function ts(_0x364672){var _0x4a31c3=_0x4a7870;const {unitID:_0x28723d,mutations:_0x29a799}=_0x364672;return{'unitId':_0x28723d,'subUnitId':_0x29a799[0x0][_0x4a31c3(0x291)][_0x4a31c3(0x356)]};}let it=class{constructor(_0x4ffa26,_0xc673bd,_0x3c3ea4){var _0x5cbf1e=_0x4a7870;this['_injector']=_0x4ffa26,this[_0x5cbf1e(0x122)]=_0xc673bd,this['_instanceService']=_0x3c3ea4;}[_0x4a7870(0x202)](_0x98fc96){var _0x32fee5=_0x4a7870,_0x58e279,_0x3596b0,_0x224efe,_0x13e694;const _0x55a9c1=this[_0x32fee5(0x12b)][_0x32fee5(0xcf)](_0x5f0705),{unitId:_0x553f8c,subUnitId:_0x4c4784}=ts(_0x98fc96),_0x3af889=_0x55a9c1==null?void 0x0:_0x55a9c1['getWorkbookSelections'](_0x553f8c)[_0x32fee5(0x22e)](),_0x2f4dc1=(_0x3596b0=(_0x58e279=this[_0x32fee5(0x2f5)][_0x32fee5(0x109)](_0x553f8c))==null?void 0x0:_0x58e279['getActiveSheet']())==null?void 0x0:_0x3596b0[_0x32fee5(0x74)]();if(_0x3af889[_0x32fee5(0x30e)]===0x0||!_0x553f8c||!_0x4c4784)return;const _0x3d95eb=[{'id':_0x135405['id'],'params':{'unitId':_0x553f8c,'subUnitId':_0x2f4dc1,'selections':_0x18a052[_0x32fee5(0x2c9)](_0x3af889)}}],_0x3d3f71=this[_0x32fee5(0x122)][_0x32fee5(0x88)](_0x98fc96,_0x3d95eb);if(!_0x440389(_0x3d3f71))throw _0x3d3f71[_0x32fee5(0x95)];const _0x5e2966=(_0x13e694=(_0x224efe=_0x3d3f71[_0x32fee5(0x236)][0x0])==null?void 0x0:_0x224efe[_0x32fee5(0x291)])==null?void 0x0:_0x13e694['selections'];if(Array['isArray'](_0x5e2966)&&_0x5e2966[_0x32fee5(0x30e)]){if(_0x5e2966['length']===_0x3d95eb[0x0][_0x32fee5(0x291)][_0x32fee5(0x84)][_0x32fee5(0x30e)]&&_0x5e2966[_0x32fee5(0x34e)]((_0x19be7c,_0x51a0cf)=>_0xb7a376[_0x32fee5(0x245)](_0x19be7c[_0x32fee5(0xd2)],_0x3d95eb[0x0][_0x32fee5(0x291)]['selections'][_0x51a0cf]['range'])))return;this['_injector'][_0x32fee5(0xcf)](_0x56813b)['executeCommand'](_0x135405['id'],{'unitId':_0x553f8c,'subUnitId':_0x2f4dc1,'selections':_0x5e2966});}}};it=es([dt(0x0,_0x1f73e(_0xdfa2fc)),dt(0x1,_0x4bd349),dt(0x2,_0x4e4cca)],it);const ht=_0x50755d('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x4b5c26=>(_0x4b5c26[_0x4b5c26['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4a7870(0x28c),_0x4b5c26[_0x4b5c26[_0x4a7870(0x1e4)]=0x1]=_0x4a7870(0x1e4),_0x4b5c26))(Ci||{});const is=new Set([_0xc7c33d['id']]);function qt(_0x582405,_0x22ea61,_0x35aa87,_0x1034cb,_0x28961c){var _0x99ed06=_0x4a7870,_0x189a9c,_0x10ae83,_0x5c331b,_0x3e99dd;const _0x1d99fa=[];for(const _0x46e947 of _0x582405)if(is['has'](_0x46e947['id'])){if(_0x1d99fa[_0x99ed06(0x30e)]>0x0)break;_0x1d99fa[_0x99ed06(0xb7)](_0x46e947);break;}else _0x1d99fa[_0x99ed06(0xb7)](_0x46e947);const _0x165f39=(_0x10ae83=(_0x189a9c=_0x28961c[_0x99ed06(0x17a)]())==null?void 0x0:_0x189a9c[_0x99ed06(0x30b)])!=null?_0x10ae83:_0x99ed06(0x75),_0x1f44d2=(_0x3e99dd=(_0x5c331b=_0x28961c[_0x99ed06(0x17a)]())==null?void 0x0:_0x5c331b[_0x99ed06(0x1d5)])!=null?_0x3e99dd:_0x99ed06(0x75);return{'changeset':{'unitID':_0x22ea61,'type':_0x26060b(_0x35aa87[_0x99ed06(0x124)](_0x22ea61)),'baseRev':_0x1034cb[_0x99ed06(0x32f)](_0x22ea61),'revision':0x0,'userID':_0x165f39,'memberID':_0x1f44d2,'mutations':_0x1d99fa},'pendingMutations':_0x582405[_0x99ed06(0x2c7)](_0x1d99fa[_0x99ed06(0x30e)])};}function ns(_0x361f2a,_0x254640,_0x4be676,_0x55fd06,_0xaad13d){var _0x2f5272=_0x4a7870,_0x341efa,_0x506b06,_0xb85c41,_0x54834d;const _0x284f54=[_0x361f2a[_0x2f5272(0x2aa)]((_0x5534f0,_0x2654e9)=>{var _0x78dde9=_0x2f5272,_0x8f75a5;const {id:_0x140023}=_0x5534f0,{id:_0x4d3097,type:_0x47eba5}=_0x2654e9,_0x28a4f8=(_0x8f75a5=_0x5534f0['params'])!=null?_0x8f75a5:{'actions':null},_0x4048bd=_0x2654e9[_0x78dde9(0x291)];if(_0x140023&&_0x140023!==_0x4d3097)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x140023+_0x78dde9(0x252)+_0x4d3097+'.');return{..._0x5534f0,'id':_0x4d3097,'type':_0x47eba5,'params':{'unitId':_0x4048bd[_0x78dde9(0x98)],'textRanges':_0x4048bd['textRanges'],'actions':_0x13eed4[_0x78dde9(0x78)](_0x28a4f8[_0x78dde9(0x2a4)],_0x4048bd[_0x78dde9(0x2a4)])}};},{})],_0x3e268a=(_0x506b06=(_0x341efa=_0xaad13d['getCurrentUser']())==null?void 0x0:_0x341efa[_0x2f5272(0x30b)])!=null?_0x506b06:_0x2f5272(0x75),_0x336570=(_0x54834d=(_0xb85c41=_0xaad13d[_0x2f5272(0x17a)]())==null?void 0x0:_0xb85c41[_0x2f5272(0x1d5)])!=null?_0x54834d:'unknown';return{'changeset':{'unitID':_0x254640,'type':_0x26060b(_0x4be676[_0x2f5272(0x124)](_0x254640)),'baseRev':_0x55fd06[_0x2f5272(0x32f)](_0x254640),'revision':0x0,'userID':_0x3e268a,'memberID':_0x336570,'mutations':_0x284f54},'pendingMutations':[]};}function Ri(_0x381ec8,_0x37dea6){var _0x3d9bbc=_0x4a7870;const _0x31e1a1=new _0x25adf1(0x1);return setTimeout(()=>_0x31e1a1[_0x3d9bbc(0x331)](_0x37dea6),_0x381ec8),_0x31e1a1[_0x3d9bbc(0x240)]()[_0x3d9bbc(0x300)](_0x42a029(0x1));}const ss={'id':_0x550e04['id'],'type':_0x53d0d8[_0x4a7870(0x133)],'params':{}};var rs=Object[_0x4a7870(0x31c)],Te=(_0x8dcfc8,_0x2a391f,_0x2b4b71,_0x3f1f35)=>{var _0x19d7c8=_0x4a7870;for(var _0x51a310=_0x3f1f35>0x1?void 0x0:_0x3f1f35?rs(_0x2a391f,_0x2b4b71):_0x2a391f,_0xc7a9ee=_0x8dcfc8[_0x19d7c8(0x30e)]-0x1,_0x5b6a67;_0xc7a9ee>=0x0;_0xc7a9ee--)(_0x5b6a67=_0x8dcfc8[_0xc7a9ee])&&(_0x51a310=_0x5b6a67(_0x51a310)||_0x51a310);return _0x51a310;},P=(_0x42c7d7,_0x310052)=>(_0x2c3651,_0x2c74d8)=>_0x310052(_0x2c3651,_0x2c74d8,_0x42c7d7),bi=(_0x4d4d38=>(_0x4d4d38[_0x4a7870(0x350)]=_0x4a7870(0x308),_0x4d4d38[_0x4a7870(0x2b1)]='synced',_0x4d4d38[_0x4a7870(0x119)]=_0x4a7870(0x311),_0x4d4d38[_0x4a7870(0xaa)]=_0x4a7870(0x354),_0x4d4d38[_0x4a7870(0xf1)]=_0x4a7870(0x193),_0x4d4d38[_0x4a7870(0xb4)]=_0x4a7870(0x1a2),_0x4d4d38[_0x4a7870(0x176)]=_0x4a7870(0x234),_0x4d4d38['OFFLINE']=_0x4a7870(0x1cf),_0x4d4d38))(bi||{});const yi=0xea60;class Ce{constructor(_0x3d6cc7,_0x419632,_0x87703a,_0x228a1b,_0x5a78e1,_0x4fe550,_0x4c7937,_0x1fe665,_0xe931){var _0x594ab=_0x4a7870;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x594ab(0x2da)]=_0x3d6cc7,this[_0x594ab(0xbf)]=_0x419632,this[_0x594ab(0x2f0)]=_0x5a78e1,this[_0x594ab(0xec)]=_0x4fe550,this['_undoRedoService']=_0x4c7937,this[_0x594ab(0x140)]=_0x1fe665,this[_0x594ab(0x1b1)]=_0xe931,this[_0x594ab(0x18e)]=_0x87703a,this[_0x594ab(0x131)]=_0x228a1b);}['_checkMissing'](_0x192eca){var _0x4dda57=_0x4a7870;const _0x3c5636=this[_0x4dda57(0x140)][_0x4dda57(0x32f)](this[_0x4dda57(0x2da)]);return _0x192eca[_0x4dda57(0x158)]>_0x3c5636+0x1?(this[_0x4dda57(0x2f0)][_0x4dda57(0x136)]({'from':_0x3c5636,'to':_0x192eca[_0x4dda57(0x158)]-0x1}),!0x0):!0x1;}[_0x4a7870(0x2cd)](_0x4d41f0){var _0x5203ad=_0x4a7870;this['_undoRedoService'][_0x5203ad(0x2ba)](this['unitID'],_0x4d41f0);}['_transformSelections'](_0x138a61){var _0x499124=_0x4a7870,_0x116b02,_0x4a989d;(_0x4a989d=(_0x116b02=this[_0x499124(0x2f0)])[_0x499124(0x2b5)])==null||_0x4a989d[_0x499124(0x31f)](_0x116b02,_0x138a61);}[_0x4a7870(0x330)](_0x873fbe){var _0xe9efbf=_0x4a7870,_0xb47ca2,_0x265b57;return(_0x265b57=(_0xb47ca2=this['_handler'])[_0xe9efbf(0x289)])==null?void 0x0:_0x265b57[_0xe9efbf(0x31f)](_0xb47ca2,_0x873fbe);}[_0x4a7870(0x167)](_0x27522e){var _0x4234c4=_0x4a7870,_0x310126,_0x1c8026;return(_0x1c8026=(_0x310126=this[_0x4234c4(0x2f0)])[_0x4234c4(0xf0)])==null?void 0x0:_0x1c8026[_0x4234c4(0x31f)](_0x310126,_0x27522e);}[_0x4a7870(0x17c)](_0x3dced8){var _0x59d0aa=_0x4a7870,_0x31adfa,_0x471979,_0xd9754f;return(_0xd9754f=(_0x471979=(_0x31adfa=this['_handler'])[_0x59d0aa(0xa0)])==null?void 0x0:_0x471979['call'](_0x31adfa,_0x3dced8))!=null?_0xd9754f:_0x3dced8;}[_0x4a7870(0x1b9)](_0x379cf4){var _0x2fe024=_0x4a7870,_0xab1990,_0x50df87,_0x5d4ccb;return(_0x5d4ccb=(_0x50df87=(_0xab1990=this[_0x2fe024(0x2f0)])[_0x2fe024(0x359)])==null?void 0x0:_0x50df87[_0x2fe024(0x31f)](_0xab1990,_0x379cf4))!=null?_0x5d4ccb:_0x379cf4;}[_0x4a7870(0x9b)](_0x3e76e5){var _0x4f945a=_0x4a7870,_0x21fe45,_0x48b195;if(this[_0x4f945a(0xbf)]===Q[_0x4f945a(0x20b)]){const {unitID:_0xa79f8c,mutations:_0x3cc705,memberID:_0x1b55f2}=_0x3e76e5,_0x52eca5=_0x3cc705[0x0][_0x4f945a(0x291)]['textRanges'];Array[_0x4f945a(0x256)](_0x52eca5)&&_0x52eca5[_0x4f945a(0x30e)]>0x0&&((_0x48b195=(_0x21fe45=this[_0x4f945a(0x2f0)])[_0x4f945a(0x337)])==null||_0x48b195[_0x4f945a(0x31f)](_0x21fe45,{'unitID':_0xa79f8c,'memberID':_0x1b55f2,'textRanges':_0x52eca5}));}}[_0x4a7870(0x1eb)](){var _0x4f7428=_0x4a7870,_0x42f8c9;(_0x42f8c9=this[_0x4f7428(0x1b1)])==null||_0x42f8c9[_0x4f7428(0x35b)](this['unitID'],this[_0x4f7428(0xbf)],this[_0x4f7428(0x18e)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x510e23=_0x4a7870;return this[_0x510e23(0x140)]['getCurrentRevOfUnit'](this[_0x510e23(0x2da)]);}[_0x4a7870(0xb8)](){var _0x22a621=_0x4a7870;this['_revisionService'][_0x22a621(0x365)](this['unitID']);}[_0x4a7870(0x211)](_0x28a21d){var _0x442b04=_0x4a7870,_0x1c8b6b;let _0x507f38=this[_0x442b04(0x17c)](_0x28a21d);_0x507f38=this['_transformRemoteChangesetByStateCache'](_0x507f38);const _0x4212af=_0x4af293(_0x507f38[_0x442b04(0x305)],this[_0x442b04(0xec)],{'fromCollab':!0x0});if(!_0x4212af[_0x442b04(0x2b8)])throw _0x4212af[_0x442b04(0x95)]instanceof Error?_0x4212af[_0x442b04(0x95)]:new Error((_0x1c8b6b=_0x4212af['error'])!=null?_0x1c8b6b:_0x442b04(0x172));this[_0x442b04(0x330)](_0x507f38),this[_0x442b04(0x167)](_0x507f38),this['_transformUndoredo'](_0x28a21d),this[_0x442b04(0x2e2)](_0x507f38),this[_0x442b04(0x9b)](_0x507f38),this[_0x442b04(0xb8)]();}}let Ne=class extends Ce{constructor(_0x12f65c,_0x4d783b,_0xcd091f,_0x21e183,_0x69ae6a,_0xd86f02,_0x452676,_0x240f96,_0xa146c4,_0x2065bf){var _0x3e65c5=_0x4a7870;super(_0x12f65c,_0x4d783b,null,[],_0xcd091f,_0x452676,_0xd86f02,_0x21e183,_0x2065bf),N(this,_0x3e65c5(0x101),_0x3e65c5(0xfd)),(this[_0x3e65c5(0x12b)]=_0x69ae6a,this[_0x3e65c5(0x2d5)]=_0x240f96,this[_0x3e65c5(0x122)]=_0xa146c4,this[_0x3e65c5(0x264)]=_0x2065bf);}['appendMutation'](_0x15cfad){var _0x29937b=_0x4a7870;const _0x4a105c=this['_injector'][_0x29937b(0x70)](ae,this['unitID'],this[_0x29937b(0xbf)],[_0x15cfad],this['_handler']);return _0x4a105c['_schedule'](),_0x4a105c[_0x29937b(0x1eb)](),_0x4a105c;}[_0x4a7870(0x134)](_0x100934){var _0xd3dac4=_0x4a7870;if(this[_0xd3dac4(0x18d)](_0x100934))return this[_0xd3dac4(0x12b)][_0xd3dac4(0x70)](ee,this[_0xd3dac4(0x2da)],this[_0xd3dac4(0xbf)],null,[],null,[_0x100934],this[_0xd3dac4(0x2f0)]);try{const _0x3eb4bd=this[_0xd3dac4(0x122)][_0xd3dac4(0x88)](_0x100934,[ss]);if(_0x440389(_0x3eb4bd)){const {c1Prime:_0x33240e}=_0x3eb4bd;return this[_0xd3dac4(0x211)](_0x33240e),this;}throw _0x3eb4bd[_0xd3dac4(0x95)];}catch(_0x164112){return this[_0xd3dac4(0x2d5)][_0xd3dac4(0x95)](_0x164112),this[_0xd3dac4(0x2fa)](!0x1);}}[_0x4a7870(0x2fa)](_0x38e691){var _0x32d776=_0x4a7870;return this[_0x32d776(0x12b)][_0x32d776(0x70)](ue,this[_0x32d776(0x2da)],this[_0x32d776(0xbf)],null,[],this['_handler'],_0x38e691);}['onRemoteAck'](){var _0x5116ee=_0x4a7870;throw new Error(_0x5116ee(0x2b3));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4a7870(0x188)](){return this;}[_0x4a7870(0x196)](){var _0x50f55b=_0x4a7870;return this[_0x50f55b(0x12b)]['createInstance'](de,this[_0x50f55b(0x2da)],this['type'],null,[],this[_0x50f55b(0x2f0)]);}[_0x4a7870(0x116)](){return this;}[_0x4a7870(0x1bd)](){var _0x1690dd=_0x4a7870;throw new Error(_0x1690dd(0x1bc));}[_0x4a7870(0x83)](){var _0x5b9ad3=_0x4a7870;const _0x2f0c01=this[_0x5b9ad3(0x140)][_0x5b9ad3(0x32f)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x2f0c01,'to':0x0}),this[_0x5b9ad3(0x12b)][_0x5b9ad3(0x70)](ee,this['unitID'],this[_0x5b9ad3(0xbf)],null,[],null,[],this[_0x5b9ad3(0x2f0)]);}};Ne=Te([P(0x3,_0x1f73e(_0x2abea1)),P(0x4,_0x1f73e(_0xdfa2fc)),P(0x5,_0x261476),P(0x6,_0x56813b),P(0x7,_0x3f1fd1),P(0x8,_0x4bd349),P(0x9,_0x1717ac(J))],Ne);let ae=class extends Ce{constructor(_0x11a15a,_0x2c290e,_0x5886db,_0x27f4fe,_0x139812,_0x17e888,_0x4a5932,_0x2296ce,_0x2e7a22,_0xeda41f,_0x1cf0fe,_0xc22f1b,_0x5d8f84,_0x409d27){var _0x13c523=_0x4a7870;super(_0x11a15a,_0x2c290e,null,_0x5886db,_0x27f4fe,_0x2e7a22,_0x5d8f84,_0x17e888,_0x409d27),N(this,_0x13c523(0x101),_0x13c523(0x311)),N(this,_0x13c523(0x6d),null),N(this,_0x13c523(0x1a7),null),(this['_injector']=_0x139812,this['_memberService']=_0x4a5932,this['_logService']=_0x2296ce,this[_0x13c523(0x79)]=_0xeda41f,this[_0x13c523(0x122)]=_0x1cf0fe,this[_0x13c523(0x26a)]=_0xc22f1b);}[_0x4a7870(0x281)](_0x5dc7ef){var _0x4f5839=_0x4a7870;return this[_0x4f5839(0x131)][_0x4f5839(0xb7)](_0x5dc7ef),this[_0x4f5839(0x1eb)](),this;}['onRemoteChangeset'](_0x45803c){var _0x7991a8=_0x4a7870;if(this[_0x7991a8(0x18d)](_0x45803c))return this[_0x7991a8(0x360)](),this[_0x7991a8(0x12b)][_0x7991a8(0x70)](ee,this[_0x7991a8(0x2da)],this[_0x7991a8(0xbf)],null,this[_0x7991a8(0x131)],null,[_0x45803c],this[_0x7991a8(0x2f0)]);try{const _0x1ee4b9=this[_0x7991a8(0x122)][_0x7991a8(0x88)](_0x45803c,this[_0x7991a8(0x131)]);if(_0x440389(_0x1ee4b9)){const {c1Prime:_0x11bbc9,m2Prime:_0x38d6db}=_0x1ee4b9;this[_0x7991a8(0x211)](_0x11bbc9);const _0x28c322=this[_0x7991a8(0x12b)][_0x7991a8(0x70)](ae,this[_0x7991a8(0x2da)],this[_0x7991a8(0xbf)],_0x38d6db,this['_handler']);this[_0x7991a8(0x360)]();const _0x2bd671=new Date()[_0x7991a8(0x287)](),_0x237b65=this[_0x7991a8(0x6d)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x2bd671,0x0):this['_getSendChangesetTimeout']();return _0x28c322[_0x7991a8(0x2dc)](_0x237b65),_0x28c322;}throw _0x1ee4b9['error'];}catch(_0x446a0b){return this[_0x7991a8(0x2d5)][_0x7991a8(0x95)](_0x446a0b),this['_onConflict'](!0x1);}}[_0x4a7870(0xf6)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4a7870(0x2b0)](){var _0x236787=_0x4a7870;throw new Error(_0x236787(0x185));}[_0x4a7870(0x188)](){return this;}[_0x4a7870(0x196)](){var _0x5797f5=_0x4a7870;return this[_0x5797f5(0x360)](),this[_0x5797f5(0x12b)][_0x5797f5(0x70)](de,this[_0x5797f5(0x2da)],this['type'],null,this[_0x5797f5(0x131)],this[_0x5797f5(0x2f0)]);}[_0x4a7870(0x116)](){return this;}['_schedule'](_0x332acb){var _0x3117df=_0x4a7870;const _0x231cb7=_0x332acb!=null?_0x332acb:this[_0x3117df(0x29a)]();this[_0x3117df(0x6d)]=new Date()[_0x3117df(0x287)]()+_0x231cb7,this[_0x3117df(0x1a7)]=setTimeout(()=>{var _0x4ed1b4=_0x3117df;this[_0x4ed1b4(0x360)]();let _0x50ab80=null;switch(this['type']){case Q[_0x4ed1b4(0xd1)]:{_0x50ab80=qt(this[_0x4ed1b4(0x131)],this[_0x4ed1b4(0x2da)],this['_univerInstanceService'],this[_0x4ed1b4(0x140)],this[_0x4ed1b4(0x206)]);break;}case Q[_0x4ed1b4(0x20b)]:{this[_0x4ed1b4(0x131)][_0x4ed1b4(0x34e)](_0x331a29=>_0x331a29['id']===_0xcb1441['id'])?_0x50ab80=ns(this[_0x4ed1b4(0x131)],this[_0x4ed1b4(0x2da)],this[_0x4ed1b4(0x26a)],this[_0x4ed1b4(0x140)],this[_0x4ed1b4(0x206)]):_0x50ab80=qt(this[_0x4ed1b4(0x131)],this[_0x4ed1b4(0x2da)],this[_0x4ed1b4(0x26a)],this['_revisionService'],this[_0x4ed1b4(0x206)]);break;}default:throw new Error(_0x4ed1b4(0x27c)+this[_0x4ed1b4(0xbf)]+_0x4ed1b4(0x2d1));}const {changeset:_0x4201a1,pendingMutations:_0x5db163}=_0x50ab80;this['_handler'][_0x4ed1b4(0x110)](_0x4201a1);const _0x2d0328=_0x5db163[_0x4ed1b4(0x30e)]?this['_injector']['createInstance'](oe,this[_0x4ed1b4(0x2da)],this[_0x4ed1b4(0xbf)],_0x4201a1,_0x5db163,this[_0x4ed1b4(0x2f0)],void 0x0):this[_0x4ed1b4(0x12b)]['createInstance'](le,this[_0x4ed1b4(0x2da)],this['type'],_0x4201a1,this[_0x4ed1b4(0x2f0)]);_0x2d0328[_0x4ed1b4(0x1eb)](),this[_0x4ed1b4(0x2f0)][_0x4ed1b4(0x11e)](this,_0x2d0328);},_0x231cb7);}[_0x4a7870(0x29a)](){var _0x14100d=_0x4a7870,_0x26b1cc;const _0x2ce5a4=this['_configService'][_0x14100d(0x2fd)](q);return(_0x26b1cc=_0x2ce5a4==null?void 0x0:_0x2ce5a4[_0x14100d(0x15a)])!=null?_0x26b1cc:En;}['resend'](){var _0x5700fb=_0x4a7870;throw new Error(_0x5700fb(0x26b));}['_clearScheduledTask'](){var _0x2c1072=_0x4a7870;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2c1072(0x1a7)]),this[_0x2c1072(0x1a7)]=null);}['_onConflict'](_0x4b61eb){var _0x129544=_0x4a7870;return this['_clearScheduledTask'](),this[_0x129544(0x12b)][_0x129544(0x70)](ue,this['unitID'],this[_0x129544(0xbf)],null,this['_pendingMutations'],this[_0x129544(0x2f0)],_0x4b61eb);}};ae=Te([P(0x4,_0x1f73e(_0xdfa2fc)),P(0x5,_0x1f73e(_0x2abea1)),P(0x6,_0x1f73e(Le)),P(0x7,_0x3f1fd1),P(0x8,_0x56813b),P(0x9,_0x146073),P(0xa,_0x4bd349),P(0xb,_0x4e4cca),P(0xc,_0x261476),P(0xd,_0x1717ac(J))],ae);let le=class extends Ce{constructor(_0x4e0b26,_0x56d4a4,_0x17efb9,_0x45e99c,_0x25ee58,_0x2e38d7,_0x4464ee,_0x247d16,_0x5a269d,_0x185c14,_0x805065){var _0xd8ca42=_0x4a7870;super(_0x4e0b26,_0x56d4a4,_0x17efb9,[],_0x45e99c,_0x4464ee,_0x185c14,_0x2e38d7,_0x805065),N(this,'status',_0xd8ca42(0x354)),N(this,'_resendTimeout',0x0),N(this,_0xd8ca42(0x16a)),N(this,_0xd8ca42(0x328)),(this[_0xd8ca42(0x12b)]=_0x25ee58,this[_0xd8ca42(0x2d5)]=_0x247d16,this[_0xd8ca42(0x122)]=_0x5a269d);}[_0x4a7870(0x281)](_0x1e00bd){var _0x4b05e2=_0x4a7870;this[_0x4b05e2(0x360)]();const _0x520d5b=this[_0x4b05e2(0x12b)]['createInstance'](oe,this[_0x4b05e2(0x2da)],this[_0x4b05e2(0xbf)],this[_0x4b05e2(0x18e)],[_0x1e00bd],this[_0x4b05e2(0x2f0)],this[_0x4b05e2(0x16a)]);return _0x520d5b[_0x4b05e2(0x1eb)](),_0x520d5b;}[_0x4a7870(0x134)](_0x58c6d2){var _0x38b075=_0x4a7870;if(this[_0x38b075(0x18d)](_0x58c6d2))return this[_0x38b075(0x360)](),this[_0x38b075(0x12b)][_0x38b075(0x70)](ee,this[_0x38b075(0x2da)],this['type'],this[_0x38b075(0x18e)],[],null,[_0x58c6d2],this[_0x38b075(0x2f0)]);try{const _0x18feb0=this['_transformService'][_0x38b075(0x34b)]([_0x58c6d2],[this[_0x38b075(0x18e)]],!0x1);if(_0x314f92(_0x18feb0)){const {c1Prime:_0x2f7815,c2Prime:_0x2a7a2b}=_0x18feb0;this[_0x38b075(0x211)](_0x2f7815[0x0]),_0x2a7a2b[0x0][_0x38b075(0xfe)]=this[_0x38b075(0x139)](),this[_0x38b075(0x360)]();const _0x20256d=this[_0x38b075(0x12b)][_0x38b075(0x70)](le,this[_0x38b075(0x2da)],this['type'],_0x2a7a2b[0x0],this[_0x38b075(0x2f0)]);return _0x20256d[_0x38b075(0x1eb)](),_0x20256d;}return this[_0x38b075(0x2fa)](!0x1);}catch(_0x2038ef){return this[_0x38b075(0x2d5)][_0x38b075(0x95)](_0x2038ef),this[_0x38b075(0x2fa)](!0x1);}}['onRemoteAck'](_0x2a76c7){var _0x55f4a5=_0x4a7870;this[_0x55f4a5(0x360)]();const _0x380cee=this[_0x55f4a5(0x140)][_0x55f4a5(0x32f)](this[_0x55f4a5(0x2da)]);if(_0x2a76c7['revision']<_0x380cee-0x1)return this;if(this[_0x55f4a5(0x18d)](_0x2a76c7))return this[_0x55f4a5(0x12b)][_0x55f4a5(0x70)](ee,this[_0x55f4a5(0x2da)],this[_0x55f4a5(0xbf)],null,[],this['_awaitingChangeset'],[],this[_0x55f4a5(0x2f0)]);this[_0x55f4a5(0xb8)]();const _0x3e02ea=this[_0x55f4a5(0x12b)][_0x55f4a5(0x70)](Ne,this[_0x55f4a5(0x2da)],this[_0x55f4a5(0xbf)],this[_0x55f4a5(0x2f0)]);return _0x3e02ea[_0x55f4a5(0x1eb)](),_0x3e02ea;}[_0x4a7870(0x2b0)](_0xf71dee){var _0x4d857d=_0x4a7870;return this[_0x4d857d(0x2fa)](!!(_0xf71dee!=null&&_0xf71dee[_0x4d857d(0xe8)]));}[_0x4a7870(0x188)](_0x36b69b){var _0x2894e8=_0x4a7870;return this[_0x2894e8(0x22c)]>yi?this[_0x2894e8(0x196)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x2894e8(0x22c)],'reqId':_0x36b69b[_0x2894e8(0x135)]}),this['_sender']=this[_0x2894e8(0x16a)][_0x2894e8(0x34a)](({reqId:_0x4df2ba,timeout:_0x4d415b})=>{this['_resendWithTimeout'](_0x4df2ba,_0x4d415b);}),this);}[_0x4a7870(0x196)](){var _0x38373f=_0x4a7870;return this['_clearScheduledTask'](),this[_0x38373f(0x12b)]['createInstance'](de,this[_0x38373f(0x2da)],this[_0x38373f(0xbf)],this[_0x38373f(0x18e)],[],this[_0x38373f(0x2f0)]);}[_0x4a7870(0x116)](){return this;}[_0x4a7870(0x1bd)](){var _0xb9dcd8=_0x4a7870;this[_0xb9dcd8(0x2f0)][_0xb9dcd8(0x110)](this[_0xb9dcd8(0x18e)]);}[_0x4a7870(0x2fa)](_0x3443dc){var _0x48f671=_0x4a7870;return this[_0x48f671(0x360)](),this['_injector'][_0x48f671(0x70)](ue,this[_0x48f671(0x2da)],this['type'],this['_awaitingChangeset'],[],this[_0x48f671(0x2f0)],_0x3443dc);}[_0x4a7870(0x1b6)](_0x18f471,_0xc08beb){var _0x5f3e64=_0x4a7870,_0x1be4c3;_0x18f471===((_0x1be4c3=this['_awaitingChangeset'])==null?void 0x0:_0x1be4c3[_0x5f3e64(0x135)])&&(this['resend'](),this[_0x5f3e64(0x22c)]=_0xc08beb===0x0?0x3e8:_0xc08beb*0x2);}[_0x4a7870(0x360)](){var _0x399512=_0x4a7870,_0x532b1d;(_0x532b1d=this[_0x399512(0x328)])==null||_0x532b1d[_0x399512(0x1f9)](),this[_0x399512(0x22c)]=0x0;}};le=Te([P(0x4,_0x1f73e(_0xdfa2fc)),P(0x5,_0x1f73e(_0x2abea1)),P(0x6,_0x56813b),P(0x7,_0x3f1fd1),P(0x8,_0x4bd349),P(0x9,_0x261476),P(0xa,_0x1717ac(J))],le);let oe=class extends Ce{constructor(_0x3a5f8b,_0x2b75cf,_0x5dfa51,_0x1dd305,_0x481b45,_0x18a277,_0x2400ce,_0x4e4920,_0x560f89,_0x5c4634,_0x281b16,_0x4275e2,_0x33c8f1){var _0x5a4f5c=_0x4a7870;super(_0x3a5f8b,_0x2b75cf,_0x5dfa51,_0x1dd305,_0x481b45,_0x560f89,_0x4275e2,_0x4e4920,_0x33c8f1),N(this,_0x5a4f5c(0x101),_0x5a4f5c(0x193)),N(this,_0x5a4f5c(0x22c),0x0),N(this,_0x5a4f5c(0x16a)),N(this,'_sender'),(this[_0x5a4f5c(0x12b)]=_0x2400ce,this[_0x5a4f5c(0x2d5)]=_0x5c4634,this[_0x5a4f5c(0x122)]=_0x281b16,this[_0x5a4f5c(0x264)]=_0x33c8f1,_0x18a277&&(this[_0x5a4f5c(0x16a)]=_0x18a277,this[_0x5a4f5c(0x328)]=this[_0x5a4f5c(0x16a)]['subscribe'](({reqId:_0x2b324c,timeout:_0x160769})=>{var _0x219aaf=_0x5a4f5c;this[_0x219aaf(0x1b6)](_0x2b324c,_0x160769);})));}['appendMutation'](_0x54d7e5){var _0x44de15=_0x4a7870;return this[_0x44de15(0x131)][_0x44de15(0xb7)](_0x54d7e5),this;}['onRemoteChangeset'](_0x53c2a7){var _0x2d1a87=_0x4a7870;if(this[_0x2d1a87(0x18d)](_0x53c2a7))return this[_0x2d1a87(0x360)](),this[_0x2d1a87(0x12b)]['createInstance'](ee,this[_0x2d1a87(0x2da)],this[_0x2d1a87(0xbf)],this[_0x2d1a87(0x18e)],this[_0x2d1a87(0x131)],null,[_0x53c2a7],this['_handler']);try{const _0x30c34b=this['_transformService'][_0x2d1a87(0x34b)]([_0x53c2a7],[this[_0x2d1a87(0x18e)]],!0x1);if(_0x314f92(_0x30c34b)){const {c1Prime:_0x8a8f18,c2Prime:_0x3fd887}=_0x30c34b,_0x5f5714=this[_0x2d1a87(0x122)]['transformMutationsWithChangeset'](_0x8a8f18[0x0],this[_0x2d1a87(0x131)]);if(_0x440389(_0x5f5714)){const {c1Prime:_0x438e2f,m2Prime:_0x58e1d5}=_0x5f5714;return this[_0x2d1a87(0x211)](_0x438e2f),_0x3fd887[0x0][_0x2d1a87(0xfe)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x2d1a87(0x12b)]['createInstance'](oe,this[_0x2d1a87(0x2da)],this[_0x2d1a87(0xbf)],_0x3fd887[0x0],_0x58e1d5,this[_0x2d1a87(0x2f0)],void 0x0);}throw _0x5f5714[_0x2d1a87(0x95)];}throw _0x30c34b[_0x2d1a87(0x95)];}catch(_0xc0a85e){return this[_0x2d1a87(0x2d5)]['error'](_0xc0a85e),this['_onConflict'](!0x1);}}[_0x4a7870(0xf6)](_0x34d1f9){var _0x2ef7eb=_0x4a7870;if(this['_clearScheduledTask'](),this[_0x2ef7eb(0x18d)](_0x34d1f9))return this[_0x2ef7eb(0x12b)][_0x2ef7eb(0x70)](ee,this[_0x2ef7eb(0x2da)],this[_0x2ef7eb(0xbf)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x2ef7eb(0x2f0)]);this[_0x2ef7eb(0xb8)]();const _0x4acd67=this[_0x2ef7eb(0x12b)][_0x2ef7eb(0x70)](ae,this[_0x2ef7eb(0x2da)],this[_0x2ef7eb(0xbf)],this['_pendingMutations'],this['_handler']);return _0x4acd67[_0x2ef7eb(0x2dc)](),_0x4acd67[_0x2ef7eb(0x1eb)](),_0x4acd67;}['onRemoteRej'](_0x250a07){var _0x420058=_0x4a7870;return this[_0x420058(0x2fa)](!!(_0x250a07!=null&&_0x250a07[_0x420058(0xe8)]));}['onRemoteRetry'](_0x1c9fb3){var _0x56be83=_0x4a7870;return this[_0x56be83(0x22c)]>yi?this[_0x56be83(0x196)]():(this[_0x56be83(0x16a)]=Ri(this[_0x56be83(0x22c)],{'timeout':this[_0x56be83(0x22c)],'reqId':_0x1c9fb3[_0x56be83(0x135)]}),this['_sender']=this[_0x56be83(0x16a)]['subscribe'](({reqId:_0x1e9c1a,timeout:_0x2a1877})=>{var _0x5bcf33=_0x56be83;this[_0x5bcf33(0x1b6)](_0x1e9c1a,_0x2a1877);}),this);}[_0x4a7870(0x196)](){var _0x26d0ac=_0x4a7870;return this[_0x26d0ac(0x360)](),this['_injector'][_0x26d0ac(0x70)](de,this['unitID'],this['type'],this[_0x26d0ac(0x18e)],this[_0x26d0ac(0x131)],this['_handler']);}[_0x4a7870(0x116)](){return this;}[_0x4a7870(0x1bd)](){var _0x513ba3=_0x4a7870;this['_handler'][_0x513ba3(0x110)](this[_0x513ba3(0x18e)]);}[_0x4a7870(0x2fa)](_0x1ee1c9){var _0x5052a5=_0x4a7870;return this[_0x5052a5(0x360)](),this['_injector'][_0x5052a5(0x70)](ue,this['unitID'],this[_0x5052a5(0xbf)],null,this['_pendingMutations'],this[_0x5052a5(0x2f0)],_0x1ee1c9);}['_resendWithTimeout'](_0x32932c,_0x12e22d){var _0x34cf8f=_0x4a7870,_0x26b139;_0x32932c===((_0x26b139=this['_awaitingChangeset'])==null?void 0x0:_0x26b139[_0x34cf8f(0x135)])&&(this['resend'](),this['_resendTimeout']=_0x12e22d===0x0?0x3e8:_0x12e22d*0x2);}[_0x4a7870(0x360)](){var _0x3b87b6=_0x4a7870,_0x6edcfa;(_0x6edcfa=this['_sender'])==null||_0x6edcfa[_0x3b87b6(0x1f9)](),this[_0x3b87b6(0x22c)]=0x0;}};oe=Te([P(0x6,_0x1f73e(_0xdfa2fc)),P(0x7,_0x1f73e(_0x2abea1)),P(0x8,_0x56813b),P(0x9,_0x3f1fd1),P(0xa,_0x4bd349),P(0xb,_0x261476),P(0xc,_0x1717ac(J))],oe);let ue=class extends Ce{constructor(_0x3f2b6a,_0x14a2a6,_0x5d0d09,_0x465ab6,_0x21c0ed,_0x19abe5=!0x1,_0x4db9c1,_0x1cc369,_0xdca3cd,_0x500bc5,_0x3425d8,_0xd60093,_0x3a9d77){var _0x3c1f6a=_0x4a7870;super(_0x3f2b6a,_0x14a2a6,_0x5d0d09,_0x465ab6,_0x21c0ed,_0x1cc369,_0xdca3cd,_0x500bc5,_0x3a9d77),N(this,_0x3c1f6a(0x101),_0x3c1f6a(0x234)),(this['_isPermissionRej']=_0x19abe5,this[_0x3c1f6a(0x104)]=_0x4db9c1,this['_localeService']=_0x3425d8,this['_collaborationUIEventService']=_0xd60093,this['localCacheService']=_0x3a9d77,this[_0x3c1f6a(0x267)](),this['_clearLocalCache'](),this[_0x3c1f6a(0x272)]());}['appendMutation'](){return this;}[_0x4a7870(0x134)](){return this;}[_0x4a7870(0xf6)](){return this;}['onRemoteRej'](){return this;}[_0x4a7870(0x188)](){return this;}[_0x4a7870(0x196)](){return this;}[_0x4a7870(0x116)](){return this;}[_0x4a7870(0x1bd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a7870(0x182)](){var _0x539a7f=_0x4a7870,_0x5db941;(_0x5db941=this[_0x539a7f(0x1b1)])==null||_0x5db941[_0x539a7f(0x35b)](this[_0x539a7f(0x2da)],this[_0x539a7f(0xbf)],null,[]);}[_0x4a7870(0x267)](){var _0x586c3a=_0x4a7870;this[_0x586c3a(0x156)]?this[_0x586c3a(0x352)][_0x586c3a(0x93)]({'id':re['PERMISSION_DENIED']}):this[_0x586c3a(0x352)][_0x586c3a(0x93)]({'id':re[_0x586c3a(0x176)]});}[_0x4a7870(0x272)](){var _0x47538d=_0x4a7870;this['_permissionService'][_0x47538d(0x13b)](new _0x46236e(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x1f73e(_0x41bc55)),P(0x7,_0x56813b),P(0x8,_0x261476),P(0x9,_0x1f73e(_0x2abea1)),P(0xa,_0x1f73e(_0x2129f6)),P(0xb,_0x1f73e(pe)),P(0xc,_0x1717ac(J))],ue);let de=class extends Ce{constructor(_0x4498fa,_0x5185b1,_0x3a2642,_0xb379b0,_0x22c476,_0x44d98c,_0x54f763,_0x3ae7b0,_0x1e204e,_0x45332b){var _0x3a5d2b=_0x4a7870;super(_0x4498fa,_0x5185b1,_0x3a2642,_0xb379b0,_0x22c476,_0x3ae7b0,_0x1e204e,_0x54f763,_0x45332b),N(this,_0x3a5d2b(0x101),_0x3a5d2b(0x1cf)),this[_0x3a5d2b(0x12b)]=_0x44d98c;}[_0x4a7870(0x281)](_0x4d02c3){var _0x15cb26=_0x4a7870;return this[_0x15cb26(0x131)][_0x15cb26(0xb7)](_0x4d02c3),this[_0x15cb26(0x1eb)](),this;}['onRemoteChangeset'](_0x3bf7f6){var _0x4d05d9=_0x4a7870;throw new Error(_0x4d05d9(0x33f));}[_0x4a7870(0xf6)](){var _0x2c9921=_0x4a7870;throw new Error(_0x2c9921(0x353));}[_0x4a7870(0x2b0)](){var _0x23e5ea=_0x4a7870;throw new Error(_0x23e5ea(0x276));}[_0x4a7870(0x188)](){return this;}[_0x4a7870(0x196)](){return this;}['toggleOnline'](){var _0x428ef7=_0x4a7870;const {_injector:_0x5aee7f,_pendingMutations:_0x5edb4f,_awaitingChangeset:_0x14ad7b,unitID:_0x4694f1,_handler:_0x1139b4,type:_0x2a3fe3}=this,_0x35754c=Oi(_0x5aee7f,_0x4694f1,_0x2a3fe3,_0x14ad7b,_0x5edb4f,_0x1139b4);return _0x35754c instanceof ae?_0x35754c[_0x428ef7(0x2dc)]():(_0x35754c instanceof oe||_0x35754c instanceof le)&&_0x35754c['resend'](),_0x35754c;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x1f73e(_0xdfa2fc)),P(0x6,_0x1f73e(_0x2abea1)),P(0x7,_0x56813b),P(0x8,_0x261476),P(0x9,_0x1717ac(J))],de);let ee=class extends Ce{constructor(_0x8212de,_0xa57fa7,_0x22aed5,_0x5d5812,_0x48041d,_0x37fb51,_0x39d135,_0x2e5142,_0x2d9462,_0x469360,_0x51a07a,_0x509971,_0x46c290,_0x417897){var _0x10c1ea=_0x4a7870;super(_0x8212de,_0xa57fa7,_0x22aed5,_0x5d5812,_0x39d135,_0x51a07a,_0x509971,_0x2d9462,_0x417897),N(this,_0x10c1ea(0x101),_0x10c1ea(0x1a2)),(this['_acknowledgedAwaitingChangeset']=_0x48041d,this['_queuedRemoteChangesets']=_0x37fb51,this[_0x10c1ea(0x12b)]=_0x2e5142,this['_logService']=_0x469360,this[_0x10c1ea(0x122)]=_0x46c290,this[_0x10c1ea(0x264)]=_0x417897);}['onMissedChangesetFetched'](_0x567bef){var _0x1df0f8=_0x4a7870;try{const _0x4bea58=[..._0x567bef,...this['_queuedRemoteChangesets']],_0x16445c=[this[_0x1df0f8(0x18e)]||this['_acknowledgedAwaitingChangeset']][_0x1df0f8(0x278)](_0x5f2379=>!!_0x5f2379);let _0x198ba6,_0x3e70ec;if(_0x16445c[_0x1df0f8(0x30e)]){const _0x5e2d92=this['_transformService'][_0x1df0f8(0x34b)](_0x4bea58,_0x16445c,!0x1);if(!_0x314f92(_0x5e2d92))throw _0x5e2d92[_0x1df0f8(0x95)];_0x198ba6=_0x5e2d92['c1Prime'],_0x3e70ec=_0x5e2d92['c2Prime'];}else _0x198ba6=_0x4bea58,_0x3e70ec=[];let _0x10ec8f=this[_0x1df0f8(0x131)];_0x198ba6['forEach'](_0x206757=>{var _0xba1868=_0x1df0f8;let _0x366c1a;if(_0x10ec8f[_0xba1868(0x30e)]){const _0x25294c=this['_transformService'][_0xba1868(0x88)](_0x206757,_0x10ec8f);if(!_0x440389(_0x25294c))throw _0x25294c[_0xba1868(0x95)];_0x366c1a=_0x25294c['c1Prime'],_0x10ec8f=_0x25294c['m2Prime'];}else _0x366c1a=_0x206757;this['_executeRemoteChangeset'](_0x366c1a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1df0f8(0xb8)](),this['_awaitingChangeset']&&_0x3e70ec['length']&&(_0x3e70ec[0x0]['baseRev']=this[_0x1df0f8(0x139)]());let _0x543e60;if(this[_0x1df0f8(0x18e)]&&_0x10ec8f[_0x1df0f8(0x30e)]!==0x0)_0x543e60=this[_0x1df0f8(0x12b)][_0x1df0f8(0x70)](oe,this[_0x1df0f8(0x2da)],this[_0x1df0f8(0xbf)],_0x3e70ec[0x0],_0x10ec8f,this['_handler'],void 0x0);else{if(this[_0x1df0f8(0x18e)]&&_0x10ec8f[_0x1df0f8(0x30e)]===0x0)_0x3e70ec[0x0][_0x1df0f8(0xfe)]=this[_0x1df0f8(0x139)](),_0x543e60=this[_0x1df0f8(0x12b)][_0x1df0f8(0x70)](le,this[_0x1df0f8(0x2da)],this[_0x1df0f8(0xbf)],_0x3e70ec[0x0],this[_0x1df0f8(0x2f0)]);else{if(_0x10ec8f[_0x1df0f8(0x30e)]!==0x0){const _0x12f799=this[_0x1df0f8(0x12b)][_0x1df0f8(0x70)](ae,this['unitID'],this[_0x1df0f8(0xbf)],_0x10ec8f,this[_0x1df0f8(0x2f0)]);_0x12f799[_0x1df0f8(0x2dc)](),_0x543e60=_0x12f799;}else _0x543e60=this['_injector'][_0x1df0f8(0x70)](Ne,this[_0x1df0f8(0x2da)],this['type'],this[_0x1df0f8(0x2f0)]);}}return _0x543e60[_0x1df0f8(0x1eb)](),_0x543e60;}catch(_0x1c4f40){return this['_logService']['error'](_0x1df0f8(0x1f0),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1c4f40),this['_injector'][_0x1df0f8(0x70)](ue,this[_0x1df0f8(0x2da)],this[_0x1df0f8(0xbf)],this[_0x1df0f8(0x18e)],this['_pendingMutations'],this[_0x1df0f8(0x2f0)],!0x1);}}[_0x4a7870(0x1bd)](){var _0x447afc=_0x4a7870;throw new Error(_0x447afc(0x12a));}[_0x4a7870(0x281)](_0xcd3c65){var _0x56a9b5=_0x4a7870;return this[_0x56a9b5(0x131)][_0x56a9b5(0xb7)](_0xcd3c65),this;}['onRemoteChangeset'](_0xfa7630){var _0x411c24=_0x4a7870;return this['_queuedRemoteChangesets'][_0x411c24(0xb7)](_0xfa7630),this;}[_0x4a7870(0xf6)](_0x3dc14f){var _0x59a2fb=_0x4a7870;if(this[_0x59a2fb(0x18e)])return this['_acknowledgedAwaitingChangeset']=this[_0x59a2fb(0x18e)],this[_0x59a2fb(0x18e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x13f610){var _0x42251f=_0x4a7870;return this[_0x42251f(0x2fa)](!!(_0x13f610!=null&&_0x13f610[_0x42251f(0xe8)]));}[_0x4a7870(0x188)](){return this;}[_0x4a7870(0x196)](){var _0xd1ad8f=_0x4a7870;return this[_0xd1ad8f(0x12b)][_0xd1ad8f(0x70)](de,this[_0xd1ad8f(0x2da)],this[_0xd1ad8f(0xbf)],this[_0xd1ad8f(0x18e)],this[_0xd1ad8f(0x131)],this[_0xd1ad8f(0x2f0)]);}[_0x4a7870(0x116)](){return this;}['_onConflict'](_0x147c84){var _0x369751=_0x4a7870;return this[_0x369751(0x12b)][_0x369751(0x70)](ue,this['unitID'],this['type'],this[_0x369751(0x18e)],this['_pendingMutations'],this['_handler'],_0x147c84);}};ee=Te([P(0x7,_0x1f73e(_0xdfa2fc)),P(0x8,_0x1f73e(_0x2abea1)),P(0x9,_0x3f1fd1),P(0xa,_0x56813b),P(0xb,_0x261476),P(0xc,_0x4bd349),P(0xd,_0x1717ac(J))],ee);function Oi(_0x4b170d,_0x139651,_0x5bdfeb,_0x102e95,_0x25dd84,_0x103691){var _0x13ecc7=_0x4a7870;return _0x102e95&&_0x25dd84[_0x13ecc7(0x30e)]?_0x4b170d[_0x13ecc7(0x70)](oe,_0x139651,_0x5bdfeb,_0x102e95,_0x25dd84,_0x103691,void 0x0):_0x102e95?_0x4b170d['createInstance'](le,_0x139651,_0x5bdfeb,_0x102e95,_0x103691):_0x25dd84['length']?_0x4b170d['createInstance'](ae,_0x139651,_0x5bdfeb,_0x25dd84,_0x103691):_0x4b170d[_0x13ecc7(0x70)](Ne,_0x139651,_0x5bdfeb,_0x103691);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x1ee6d3,_0x34ee88,_0x515b6b,_0x540fc1)=>{var _0x245869=_0x4a7870;for(var _0x5a1db5=_0x540fc1>0x1?void 0x0:_0x540fc1?as(_0x34ee88,_0x515b6b):_0x34ee88,_0x244bed=_0x1ee6d3[_0x245869(0x30e)]-0x1,_0x97561d;_0x244bed>=0x0;_0x244bed--)(_0x97561d=_0x1ee6d3[_0x244bed])&&(_0x5a1db5=_0x97561d(_0x5a1db5)||_0x5a1db5);return _0x5a1db5;},H=(_0x2057ca,_0x20dc3a)=>(_0xa9e0eb,_0x1ada0a)=>_0x20dc3a(_0xa9e0eb,_0x1ada0a,_0x2057ca);let nt=class extends _0x552706{constructor(_0x49e447,_0x493e1b,_0x209342,_0xff21fe,_0x166c19,_0x4031e5,_0x40cfad,_0x1426f9,_0xee8e40,_0x3cdafe,_0x6d6ed9,_0x15d3aa,_0x5ee4d1){var _0x55abb9=_0x4a7870;super(),N(this,_0x55abb9(0x76),new _0x5b211c(null)),N(this,_0x55abb9(0x10f),this[_0x55abb9(0x76)][_0x55abb9(0x240)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x55abb9(0x10f)][_0x55abb9(0x300)](_0x3870f1(_0x3ab8e8=>_0x3ab8e8?_0x3ab8e8[_0x55abb9(0x101)]:bi[_0x55abb9(0xbe)]),_0x5eba4c(0x1))),N(this,_0x55abb9(0x36c),!0x1),N(this,_0x55abb9(0x194),[]),(this[_0x55abb9(0x2da)]=_0x49e447,this[_0x55abb9(0x2c1)]=_0x493e1b,this[_0x55abb9(0xe3)]=_0x209342,this[_0x55abb9(0x12b)]=_0xff21fe,this['_compressMutationService']=_0x166c19,this[_0x55abb9(0x2f4)]=_0x4031e5,this['_revisionService']=_0x40cfad,this[_0x55abb9(0x2f2)]=_0x1426f9,this[_0x55abb9(0x2d5)]=_0xee8e40,this[_0x55abb9(0xec)]=_0x3cdafe,this[_0x55abb9(0x104)]=_0x6d6ed9,this['_singleActiveUnitService']=_0x15d3aa,this[_0x55abb9(0x1b1)]=_0x5ee4d1);}get[_0x4a7870(0x117)](){var _0x155673=_0x4a7870;return this[_0x155673(0x2a6)];}async[_0x4a7870(0x89)](){var _0x3a507c=_0x4a7870;if(this[_0x3a507c(0x117)])throw new Error(_0x3a507c(0x9f));await this['_init']();}['pauseCollaboration'](){var _0x13122e=_0x4a7870;return this[_0x13122e(0x216)]=!0x0,_0x3dddbd(()=>{var _0x228ea6=_0x13122e;this[_0x228ea6(0x216)]=!0x1,this[_0x228ea6(0x35a)]();});}[_0x4a7870(0x340)](_0x4c523a){var _0x3bfcbc=_0x4a7870;this[_0x3bfcbc(0x345)](_0x4c523a);}[_0x4a7870(0x10a)](_0x5d31de){var _0x25a311=_0x4a7870;this[_0x25a311(0x2a6)]=_0x5d31de,this[_0x25a311(0x76)]['next'](_0x5d31de);}async[_0x4a7870(0x35e)](){var _0x1c08a3=_0x4a7870,_0x13e839;this[_0x1c08a3(0x10a)](await this[_0x1c08a3(0x73)]()),this['_singleActiveUnitService']&&((_0x13e839=this['_singleActiveUnitService'])==null||_0x13e839['editingUnit'](this[_0x1c08a3(0x2da)]),this[_0x1c08a3(0x106)](this[_0x1c08a3(0x189)]['getUnitStatus$'](this[_0x1c08a3(0x2da)])[_0x1c08a3(0x34a)](_0x58ba68=>{var _0x452ab0=_0x1c08a3;this['_logService']['debug'](_0x452ab0(0xc7),_0x452ab0(0xcd),_0x58ba68),_0x58ba68===Ci[_0x452ab0(0x1e4)]?(this[_0x452ab0(0x2f2)]['emitEvent']({'id':re[_0x452ab0(0x8a)]}),this[_0x452ab0(0x104)][_0x452ab0(0x13b)](new _0x46236e(this[_0x452ab0(0x2da)])['id'],!0x1),this[_0x452ab0(0x104)]['setShowComponents'](!0x1)):(this[_0x452ab0(0x104)][_0x452ab0(0x13b)](new _0x46236e(this[_0x452ab0(0x2da)])['id'],!0x0),this[_0x452ab0(0x104)][_0x452ab0(0xd5)](!0x0));})));let _0x4cf7e1=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x1c08a3(0x34a)](_0x2f6d1e=>{var _0x59db4a=_0x1c08a3;_0x2f6d1e===Ee[_0x59db4a(0xcb)]?this[_0x59db4a(0x15b)](_0x4cf7e1):_0x2f6d1e===Ee[_0x59db4a(0xbe)]&&(_0x4cf7e1=!0x0,this['_toggleOffline']());})),this[_0x1c08a3(0x106)](this[_0x1c08a3(0x2c1)][_0x1c08a3(0x2a9)][_0x1c08a3(0x34a)](_0x314171=>{var _0x18f83e=_0x1c08a3;try{switch(_0x314171[_0x18f83e(0x2a2)]){case _0x16fad4[_0x18f83e(0x18c)]:{this[_0x18f83e(0x238)](_0x1cd4e3(_0x314171['data']));break;}case _0x16fad4[_0x18f83e(0x1f3)]:{this[_0x18f83e(0x18b)](_0x314171[_0x18f83e(0x361)]);break;}case _0x16fad4[_0x18f83e(0xe0)]:{this[_0x18f83e(0x177)]();break;}case _0x16fad4[_0x18f83e(0x2df)]:{this[_0x18f83e(0x243)](_0x314171[_0x18f83e(0x361)]);break;}case _0x16fad4['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x314171[_0x18f83e(0x361)][_0x18f83e(0x20a)]['map'](_0xa3ffe2=>_0x1cd4e3(_0xa3ffe2)));break;}case _0x16fad4[_0x18f83e(0x319)]:{this[_0x18f83e(0x177)]({'isPermissionRej':!0x0});break;}case _0x16fad4[_0x18f83e(0x309)]:break;}}catch(_0x441a71){throw console[_0x18f83e(0x95)]('Error\x20on\x20receiving\x20event',_0x441a71),_0x441a71;}})),this[_0x1c08a3(0x2a6)];}['_unlockTransition'](){var _0x1ece06=_0x4a7870;this[_0x1ece06(0x36c)]=!0x1;}[_0x4a7870(0x1c1)](){var _0x1916a8=_0x4a7870;if(this[_0x1916a8(0x36c)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x4a7870(0x345)](_0x3691f7){var _0x5362ac=_0x4a7870;this[_0x5362ac(0x1c1)](),this[_0x5362ac(0x10a)](this[_0x5362ac(0x2a6)]['appendMutation'](_0x3691f7)),this[_0x5362ac(0xfc)]();}[_0x4a7870(0x238)](_0x36f4c3){var _0x37a84f=_0x4a7870;if(!(_0x36f4c3[_0x37a84f(0x158)]<=this[_0x37a84f(0x140)][_0x37a84f(0x32f)](this[_0x37a84f(0x2da)]))){if(this[_0x37a84f(0x216)]){this[_0x37a84f(0x194)][_0x37a84f(0xb7)](_0x36f4c3);return;}this['_applyRemoteChangeset'](_0x36f4c3);}}[_0x4a7870(0x35a)](){var _0x7e96a2=_0x4a7870;this[_0x7e96a2(0x194)][_0x7e96a2(0x15d)](_0x46d351=>this[_0x7e96a2(0x1d6)](_0x46d351)),this[_0x7e96a2(0x194)]=[];}[_0x4a7870(0x1d6)](_0x141eb7){var _0x455b65=_0x4a7870;const _0xfa5780=this[_0x455b65(0x71)][_0x455b65(0x87)]['fetchThroughInterceptors'](this[_0x455b65(0x71)]['interceptor'][_0x455b65(0x2ff)]()[_0x455b65(0x2a1)])(_0x141eb7[_0x455b65(0x305)],null)||_0x141eb7[_0x455b65(0x305)],_0x12c155={..._0x141eb7,'mutations':_0xfa5780};this['_lockTransition'](),this[_0x455b65(0x10a)](this[_0x455b65(0x2a6)][_0x455b65(0x134)](_0x12c155)),this[_0x455b65(0xfc)]();}[_0x4a7870(0x18b)](_0x436a75){var _0x99091e=_0x4a7870;this['_lockTransition'](),this[_0x99091e(0x10a)](this[_0x99091e(0x2a6)][_0x99091e(0xf6)](_0x436a75)),this['_unlockTransition']();}['_onRemoteRejected'](_0x305f3e){var _0x5abec5=_0x4a7870;this[_0x5abec5(0x1c1)](),this[_0x5abec5(0x10a)](this[_0x5abec5(0x2a6)][_0x5abec5(0x2b0)](_0x305f3e)),this['_unlockTransition']();}['_onRemoteRetry'](_0x13b9e3){var _0x5066e9=_0x4a7870;this['_lockTransition'](),this[_0x5066e9(0x10a)](this[_0x5066e9(0x2a6)][_0x5066e9(0x188)](_0x13b9e3)),this[_0x5066e9(0xfc)]();}['_onFetchMissResult'](_0x1c6196){var _0x4dfef9=_0x4a7870;if(!(this['_state']instanceof ee))throw new TypeError(_0x4dfef9(0x22b));const _0xf4ee65=_0x1c6196[_0x4dfef9(0x8d)](_0x200d87=>{var _0x3f8784=_0x4dfef9;const _0x4eaac7=this[_0x3f8784(0x71)][_0x3f8784(0x87)][_0x3f8784(0x1ba)](this[_0x3f8784(0x71)][_0x3f8784(0x87)][_0x3f8784(0x2ff)]()[_0x3f8784(0x2a1)])(_0x200d87[_0x3f8784(0x305)],null)||_0x200d87['mutations'];return{..._0x200d87,'mutations':_0x4eaac7};});this[_0x4dfef9(0x1c1)](),this[_0x4dfef9(0x10a)](this['_state'][_0x4dfef9(0x17d)](_0xf4ee65)),this[_0x4dfef9(0xfc)]();}[_0x4a7870(0x1bf)](){var _0x19e7f6=_0x4a7870;this[_0x19e7f6(0x1c1)](),this[_0x19e7f6(0x10a)](this[_0x19e7f6(0x2a6)][_0x19e7f6(0x196)]()),this[_0x19e7f6(0xfc)]();}[_0x4a7870(0x15b)](_0x2e16de=!0x1){var _0x54efd7=_0x4a7870;this[_0x54efd7(0x1c1)](),this[_0x54efd7(0x10a)](this[_0x54efd7(0x2a6)][_0x54efd7(0x116)]()),this[_0x54efd7(0xfc)]();const _0x593230=this[_0x54efd7(0x2a6)];_0x2e16de&&_0x593230 instanceof Ne&&(this['_lockTransition'](),this['_updateState'](_0x593230[_0x54efd7(0x83)]()),this[_0x54efd7(0xfc)]());}async[_0x4a7870(0x73)](){return new Promise(_0x189924=>{var _0x423500=_0x4e95;this[_0x423500(0x2c1)][_0x423500(0x2db)][_0x423500(0x300)](_0x42a029(0x1))[_0x423500(0x34a)](async _0x1f0976=>{var _0x15c97e=_0x423500;_0x189924(await this[_0x15c97e(0x72)](_0x1f0976===Ee[_0x15c97e(0xcb)]));});});}[_0x4a7870(0x250)](){const _0x3b9696=this['unitID'];return{'onStateChange':(_0x398c9c,_0x56e3ce)=>{var _0x3f04cd=_0x4e95;if(_0x398c9c!==this[_0x3f04cd(0x2a6)])throw new Error(_0x3f04cd(0x1fe)+_0x398c9c[_0x3f04cd(0x101)]+_0x3f04cd(0x2bc)+_0x56e3ce[_0x3f04cd(0x101)]+_0x3f04cd(0x335)+this['_state'][_0x3f04cd(0x101)]);this[_0x3f04cd(0x10a)](_0x56e3ce);},'onSendChangeset':_0x2dd594=>{var _0x5e65e9=_0x4e95;_0x2dd594[_0x5e65e9(0x108)]||(_0x2dd594[_0x5e65e9(0x108)]=this[_0x5e65e9(0x2eb)],_0x2dd594[_0x5e65e9(0x135)]=++this[_0x5e65e9(0x11a)]);const _0xfd7d18={'eventID':_0x16fad4[_0x5e65e9(0x1e8)],'data':{'unitID':_0x2dd594[_0x5e65e9(0x2da)],'unitType':this['_type'],'changeset':_0x2dd594,'memberID':this[_0x5e65e9(0x2c1)][_0x5e65e9(0xf5)]()}};this[_0x5e65e9(0x2c1)]['send'](_0xfd7d18,this[_0x5e65e9(0x2da)]);},'onMissingChangesets':({from:_0x31ff0e,to:_0x5b2147})=>{var _0x1e23f9=_0x4e95;this['_logService']['debug'](_0x1e23f9(0xc7),'fetching\x20missing\x20changesets\x20from\x20'+_0x31ff0e+'\x20to\x20'+_0x5b2147);const _0x1018af={'eventID':_0x16fad4[_0x1e23f9(0x24a)],'data':{'unitID':_0x3b9696,'unitType':this[_0x1e23f9(0xe3)],'from':_0x31ff0e,'to':_0x5b2147}};this[_0x1e23f9(0x2c1)][_0x1e23f9(0x149)](_0x1018af,this[_0x1e23f9(0x2da)]);}};}async[_0x4a7870(0x72)](_0x47a362){var _0x563590=_0x4a7870,_0x43d6c4,_0x15a04a,_0x24219d;const _0x47a107=await((_0x43d6c4=this['_localCacheService'])==null?void 0x0:_0x43d6c4[_0x563590(0x203)](this[_0x563590(0x2da)])),_0x12b22e=(_0x15a04a=_0x47a107==null?void 0x0:_0x47a107[_0x563590(0x305)])!=null?_0x15a04a:[],_0x3687bd=(_0x24219d=_0x47a107==null?void 0x0:_0x47a107[_0x563590(0x1c4)])!=null?_0x24219d:null,_0xefa7b5=!!(_0x3687bd!=null&&_0x3687bd[_0x563590(0x108)])&&!!(_0x3687bd!=null&&_0x3687bd['reqId']);this[_0x563590(0x2eb)]=_0xefa7b5?_0x3687bd[_0x563590(0x108)]:Zn(),this[_0x563590(0x11a)]=_0xefa7b5?_0x3687bd[_0x563590(0x135)]:0x0;const _0x2cedf4=this[_0x563590(0x2da)];try{this[_0x563590(0x17f)](_0x3687bd,_0x12b22e);}catch(_0x57837e){this[_0x563590(0x2d5)][_0x563590(0x95)](_0x57837e);}const _0x130605=this[_0x563590(0x250)]();if(_0x47a362){const _0x13f7ba=Oi(this['_injector'],_0x2cedf4,this[_0x563590(0xe3)],_0x3687bd,_0x12b22e,_0x130605);return _0x13f7ba instanceof ae?_0x13f7ba[_0x563590(0x2dc)]():(_0x13f7ba instanceof oe||_0x13f7ba instanceof le)&&_0x13f7ba['resend'](),_0x13f7ba;}return this[_0x563590(0x12b)][_0x563590(0x70)](de,_0x2cedf4,this['_type'],_0x3687bd,_0x12b22e,_0x130605);}[_0x4a7870(0x17f)](_0x1e1994,_0x5710d0){var _0x478c38=_0x4a7870,_0x4fd751,_0x44d516;const _0xeb2953=this[_0x478c38(0x71)][_0x478c38(0x87)][_0x478c38(0x1ba)](this[_0x478c38(0x71)][_0x478c38(0x87)][_0x478c38(0x2ff)]()[_0x478c38(0x2a1)]);(_0x4fd751=_0xeb2953((_0x1e1994==null?void 0x0:_0x1e1994[_0x478c38(0x305)])||[],null))==null||_0x4fd751['forEach'](_0x324490=>this[_0x478c38(0xec)]['executeCommand'](_0x324490['id'],_0x324490[_0x478c38(0x291)])),(_0x44d516=_0xeb2953(_0x5710d0||[],null))==null||_0x44d516[_0x478c38(0x15d)](_0x19a528=>this[_0x478c38(0xec)]['executeCommand'](_0x19a528['id'],_0x19a528[_0x478c38(0x291)]));}};nt=Lt([H(0x3,_0x1f73e(_0xdfa2fc)),H(0x4,_0x1f73e(_0x5d7acb)),H(0x5,_0x1f73e(_0x2129f6)),H(0x6,_0x1f73e(_0x2abea1)),H(0x7,_0x1f73e(pe)),H(0x8,_0x3f1fd1),H(0x9,_0x56813b),H(0xa,_0x41bc55),H(0xb,_0x1717ac(ht)),H(0xc,_0x1717ac(J))],nt);let It=class extends nt{constructor(_0xdf2d40,_0x212698,_0xb8059c,_0x4b43df,_0x5d54e3,_0x92ac79,_0x41d773,_0x46bcdc,_0x3694c9,_0x34de78,_0x2f0402,_0x111bdb,_0xa41639){var _0x1f4d19=_0x4a7870;super(_0xdf2d40,_0xb8059c,_0x212698,_0x4b43df,_0x5d54e3,_0x92ac79,_0x41d773,_0x46bcdc,_0x3694c9,_0x34de78,_0x2f0402,_0x111bdb,_0xa41639),N(this,_0x1f4d19(0x1fa),null),(this[_0x1f4d19(0x2da)]=_0xdf2d40,this[_0x1f4d19(0xbf)]=_0x212698);}[_0x4a7870(0x1f2)](_0x2ceebf){var _0x1b6b78=_0x4a7870;this[_0x1b6b78(0x1fa)]=_0x2ceebf;}[_0x4a7870(0x31b)](){var _0x3208a4=_0x4a7870;this[_0x3208a4(0x1fa)]=null,super[_0x3208a4(0x31b)]();}[_0x4a7870(0x250)](){var _0x26a832=_0x4a7870;const _0x316d87=super[_0x26a832(0x250)]();return _0x316d87[_0x26a832(0x289)]=_0x179cf2=>{var _0x2b89a3=_0x26a832,_0x39f934,_0x1a6c49;return(_0x1a6c49=(_0x39f934=this[_0x2b89a3(0x1fa)])==null?void 0x0:_0x39f934[_0x2b89a3(0x289)])==null?void 0x0:_0x1a6c49[_0x2b89a3(0x31f)](_0x39f934,_0x179cf2);},_0x316d87[_0x26a832(0xf0)]=_0x2ba15e=>{var _0x1c8006=_0x26a832,_0x225a09,_0x3247d6;return(_0x3247d6=(_0x225a09=this[_0x1c8006(0x1fa)])==null?void 0x0:_0x225a09['onTransformState'])==null?void 0x0:_0x3247d6[_0x1c8006(0x31f)](_0x225a09,_0x2ba15e);},_0x316d87[_0x26a832(0x2b5)]=_0x15cfb6=>{var _0x4abe52=_0x26a832,_0x1b3367,_0x8f6084;return(_0x8f6084=(_0x1b3367=this[_0x4abe52(0x1fa)])==null?void 0x0:_0x1b3367['onTransformSelections'])==null?void 0x0:_0x8f6084[_0x4abe52(0x31f)](_0x1b3367,_0x15cfb6);},_0x316d87[_0x26a832(0x337)]=_0x4e232f=>{var _0x53c219=_0x26a832,_0x403caf,_0x1341e2;return(_0x1341e2=(_0x403caf=this['_handlerCallback'])==null?void 0x0:_0x403caf[_0x53c219(0x337)])==null?void 0x0:_0x1341e2[_0x53c219(0x31f)](_0x403caf,_0x4e232f);},_0x316d87[_0x26a832(0xa0)]=_0x5056b8=>{var _0x2480ee=_0x26a832,_0x26dbd8,_0x585d12,_0x3cff76;if(!((_0x26dbd8=this[_0x2480ee(0x1fa)])!=null&&_0x26dbd8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2480ee(0x2d7));return(_0x3cff76=(_0x585d12=this[_0x2480ee(0x1fa)])==null?void 0x0:_0x585d12[_0x2480ee(0xa0)])==null?void 0x0:_0x3cff76[_0x2480ee(0x31f)](_0x585d12,_0x5056b8);},_0x316d87[_0x26a832(0x359)]=_0x590e9b=>{var _0x5af147=_0x26a832,_0x46c3a9,_0x104637,_0x515f32;if(!((_0x46c3a9=this[_0x5af147(0x1fa)])!=null&&_0x46c3a9[_0x5af147(0x359)]))throw new Error(_0x5af147(0x322));return(_0x515f32=(_0x104637=this[_0x5af147(0x1fa)])==null?void 0x0:_0x104637[_0x5af147(0x359)])==null?void 0x0:_0x515f32[_0x5af147(0x31f)](_0x104637,_0x590e9b);},_0x316d87;}async[_0x4a7870(0x35e)](){var _0x215855=_0x4a7870;const _0x24a2c3=await super[_0x215855(0x35e)]();return this[_0x215855(0x106)](this[_0x215855(0xec)][_0x215855(0x304)]((_0x5099f4,_0x3e1e5d)=>{var _0x5a6088=_0x215855;if(_0x5099f4[_0x5a6088(0xbf)]!==_0x53d0d8['MUTATION']||_0x3e1e5d!=null&&_0x3e1e5d[_0x5a6088(0x7e)]||_0x3e1e5d!=null&&_0x3e1e5d[_0x5a6088(0x10d)]||_0x5099f4['id']===_0xcb1441['id'])return;const _0x12b3d9=_0x5099f4[_0x5a6088(0x291)];if((_0x12b3d9==null?void 0x0:_0x12b3d9['unitId'])!==this[_0x5a6088(0x2da)])return;const _0x3a8421=_0x5099f4,_0x194369=this[_0x5a6088(0x71)][_0x5a6088(0x87)]['fetchThroughInterceptors'](this[_0x5a6088(0x71)]['interceptor'][_0x5a6088(0x2ff)]()['COMPRESS_MUTATION_SEND'])([_0x3a8421],null)||[_0x3a8421];this[_0x5a6088(0x345)](_0x194369[0x0]);})),_0x24a2c3;}};It=Lt([H(0x3,_0x1f73e(_0xdfa2fc)),H(0x4,_0x1f73e(_0x5d7acb)),H(0x5,_0x1f73e(_0x2129f6)),H(0x6,_0x1f73e(_0x2abea1)),H(0x7,_0x1f73e(pe)),H(0x8,_0x3f1fd1),H(0x9,_0x56813b),H(0xa,_0x41bc55),H(0xb,_0x1717ac(ht)),H(0xc,_0x1717ac(J))],It);let Tt=class extends nt{constructor(_0x539d18,_0x14d961,_0x3d561a,_0x315f3d,_0xf06537,_0x2b331c,_0xfbe033,_0x502d2d,_0xf7a264,_0xb637b5,_0x20d118,_0x56c194,_0x31767a,_0x375713){var _0x517bad=_0x4a7870;super(_0x539d18,_0x3d561a,_0x14d961,_0x315f3d,_0xf06537,_0x2b331c,_0xfbe033,_0xf7a264,_0xb637b5,_0x20d118,_0x56c194,_0x31767a,_0x375713),this[_0x517bad(0x2da)]=_0x539d18,this[_0x517bad(0xbf)]=_0x14d961,this[_0x517bad(0xb1)]=_0x502d2d;}['_createHandler'](){var _0x5403b4=_0x4a7870;const _0x2182a7=super['_createHandler']();return _0x2182a7[_0x5403b4(0x2b5)]=_0x6940a7=>this[_0x5403b4(0xb1)][_0x5403b4(0x202)](_0x6940a7),_0x2182a7;}async[_0x4a7870(0x35e)](){var _0x8d79f0=_0x4a7870;const _0x3babbc=await super['_init']();return this['disposeWithMe'](this[_0x8d79f0(0xec)][_0x8d79f0(0x304)]((_0x2850ad,_0x285d45)=>{var _0x4f3e6a=_0x8d79f0;if(_0x2850ad[_0x4f3e6a(0xbf)]!==_0x53d0d8[_0x4f3e6a(0x133)]||_0x285d45!=null&&_0x285d45[_0x4f3e6a(0x7e)]||_0x285d45!=null&&_0x285d45[_0x4f3e6a(0x10d)])return;const _0x24f9f8=_0x2850ad['params'];if((_0x24f9f8==null?void 0x0:_0x24f9f8[_0x4f3e6a(0x98)])!==this['unitID'])return;const _0x59c875=_0x2850ad,_0x72a6bf=this['_compressMutationService'][_0x4f3e6a(0x87)][_0x4f3e6a(0x1ba)](this[_0x4f3e6a(0x71)][_0x4f3e6a(0x87)][_0x4f3e6a(0x2ff)]()[_0x4f3e6a(0xbc)])([_0x59c875],null)||[_0x59c875];this[_0x4f3e6a(0x345)](_0x72a6bf[0x0]);})),_0x3babbc;}};Tt=Lt([H(0x3,_0x1f73e(_0xdfa2fc)),H(0x4,_0x1f73e(_0x5d7acb)),H(0x5,_0x1f73e(_0x2129f6)),H(0x6,_0x1f73e(_0x2abea1)),H(0x7,_0x1f73e(it)),H(0x8,_0x1f73e(pe)),H(0x9,_0x3f1fd1),H(0xa,_0x56813b),H(0xb,_0x41bc55),H(0xc,_0x1717ac(ht)),H(0xd,_0x1717ac(J))],Tt);var os=Object[_0x4a7870(0x31c)],cs=(_0x156dfd,_0x5bfb74,_0x180171,_0x11faf6)=>{var _0x2498e6=_0x4a7870;for(var _0x506dea=_0x11faf6>0x1?void 0x0:_0x11faf6?os(_0x5bfb74,_0x180171):_0x5bfb74,_0x3ab5e8=_0x156dfd[_0x2498e6(0x30e)]-0x1,_0x53a8d3;_0x3ab5e8>=0x0;_0x3ab5e8--)(_0x53a8d3=_0x156dfd[_0x3ab5e8])&&(_0x506dea=_0x53a8d3(_0x506dea)||_0x506dea);return _0x506dea;},ft=(_0x1b475d,_0x40f3b0)=>(_0x38a7c5,_0x58c5be)=>_0x40f3b0(_0x38a7c5,_0x58c5be,_0x1b475d);let st=class extends _0x552706{constructor(_0x13b760,_0x500e8e,_0x51538b){var _0x2b4ec4=_0x4a7870;super(),N(this,_0x2b4ec4(0x1c9),new Map()),N(this,_0x2b4ec4(0x310),new _0x4231ca()),N(this,'entityInit$',this['_entityInit$'][_0x2b4ec4(0x240)]()),(this[_0x2b4ec4(0x12b)]=_0x13b760,this['_collabSessionService']=_0x500e8e,this[_0x2b4ec4(0x26a)]=_0x51538b,this[_0x2b4ec4(0x35e)]());}[_0x4a7870(0x31b)](){var _0x25a902=_0x4a7870;super['dispose'](),this[_0x25a902(0x1c9)][_0x25a902(0x15d)](_0x113e82=>_0x113e82['dispose']()),this['_entities'][_0x25a902(0x154)]();}[_0x4a7870(0x316)](_0x3f008e){var _0x55b777=_0x4a7870,_0x2d82fc;return(_0x2d82fc=this['_entities'][_0x55b777(0xcf)](_0x3f008e))!=null?_0x2d82fc:null;}[_0x4a7870(0x35c)](_0x290c88){var _0xdc907d=_0x4a7870;const _0x5ec5e1=this[_0xdc907d(0x316)](_0x290c88);return _0x5ec5e1?_0x5d0831(_0x5ec5e1):this['_entityInit$'][_0xdc907d(0x300)](_0x41c382(_0xbb6a26=>_0xbb6a26[_0xdc907d(0x2da)]===_0x290c88));}['readyForCollab'](_0x6646a0){return _0x5b3aa8(this['getCollabEntity$'](_0x6646a0)['pipe'](_0x1a9763(()=>{})));}[_0x4a7870(0x35e)](){var _0x2242b2=_0x4a7870;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x56caf9['UNIVER_SHEET'])[_0x2242b2(0x300)](_0x328750(this[_0x2242b2(0x347)]),_0x390e12(0x10))['subscribe'](async _0x9f5681=>{var _0x1d1360=_0x2242b2;const _0x5b1221=_0x9f5681['getUnitId'](),_0x11f069=await this['_startCollaboration'](_0x5b1221,Q[_0x1d1360(0xd1)]);this['_entities'][_0x1d1360(0x12c)](_0x5b1221,_0x11f069);}),this[_0x2242b2(0x26a)][_0x2242b2(0xdd)](_0x56caf9[_0x2242b2(0x20b)])['pipe'](_0x328750(this['dispose$']),_0x390e12(0x10))[_0x2242b2(0x300)](_0x41c382(_0x38b95b=>!_0x38b95b[_0x2242b2(0x13d)]()[_0x2242b2(0xa9)]('__')))[_0x2242b2(0x34a)](async _0x2128b4=>{var _0x568451=_0x2242b2;const _0x587899=_0x2128b4[_0x568451(0x13d)](),_0x201244=await this[_0x568451(0x302)](_0x587899,Q[_0x568451(0x20b)]);this[_0x568451(0x1c9)][_0x568451(0x12c)](_0x587899,_0x201244);}),_0xb58c91(this[_0x2242b2(0x26a)]['getTypeOfUnitDisposed$'](_0x56caf9[_0x2242b2(0xd1)]),this['_univerInstanceService'][_0x2242b2(0x214)](_0x56caf9['UNIVER_DOC']))[_0x2242b2(0x300)](_0x328750(this[_0x2242b2(0x347)]))[_0x2242b2(0x34a)](_0x418749=>{var _0x3cc6d4=_0x2242b2;const _0x13fd6e=_0x418749[_0x3cc6d4(0x13d)](),_0x2e90ae=this[_0x3cc6d4(0x1c9)][_0x3cc6d4(0xcf)](_0x13fd6e);_0x2e90ae&&(_0x2e90ae[_0x3cc6d4(0x31b)](),this[_0x3cc6d4(0x1c9)][_0x3cc6d4(0x362)](_0x13fd6e));});}async[_0x4a7870(0x302)](_0x3716d0,_0x2a7391){var _0x3a8c14=_0x4a7870;const _0xce456a=await this[_0x3a8c14(0x1d2)][_0x3a8c14(0x2e4)](_0x3716d0),_0x1e8ea3=this[_0x3a8c14(0x12b)][_0x3a8c14(0x70)](this[_0x3a8c14(0x125)](_0x2a7391),_0x3716d0,_0x2a7391,_0xce456a);return await _0x1e8ea3[_0x3a8c14(0x89)](),this[_0x3a8c14(0x310)][_0x3a8c14(0x331)](_0x1e8ea3),_0x1e8ea3;}[_0x4a7870(0x125)](_0x58d004){var _0x2d8e4d=_0x4a7870;switch(_0x58d004){case Q[_0x2d8e4d(0x20b)]:return It;case Q[_0x2d8e4d(0xd1)]:return Tt;default:throw new Error(_0x2d8e4d(0x2a5)+_0x58d004);}}};st=cs([ft(0x0,_0x1f73e(_0xdfa2fc)),ft(0x1,_0x1f73e(xe)),ft(0x2,_0x4e4cca)],st);var hs=Object[_0x4a7870(0x31c)],_s=(_0x1f11ea,_0x2137b3,_0x3a35cf,_0x4ad2de)=>{for(var _0x1f1bd2=_0x4ad2de>0x1?void 0x0:_0x4ad2de?hs(_0x2137b3,_0x3a35cf):_0x2137b3,_0x3d85c6=_0x1f11ea['length']-0x1,_0x4fd45e;_0x3d85c6>=0x0;_0x3d85c6--)(_0x4fd45e=_0x1f11ea[_0x3d85c6])&&(_0x1f1bd2=_0x4fd45e(_0x1f1bd2)||_0x1f1bd2);return _0x1f1bd2;},zt=(_0x419a58,_0x2803d7)=>(_0x272be1,_0x4b88d2)=>_0x2803d7(_0x272be1,_0x4b88d2,_0x419a58);const ls='DEFAULT_FILE_NAME',us=_0x4a7870(0x1be);let Ct=class extends _0x5927c9{constructor(_0x317271,_0x558421){var _0x23fd02=_0x4a7870;super(),this[_0x23fd02(0x26a)]=_0x317271,this[_0x23fd02(0x79)]=_0x558421,this[_0x23fd02(0x35e)]();}[_0x4a7870(0x35e)](){var _0x205c42=_0x4a7870;this['disposeWithMe'](this[_0x205c42(0x26a)][_0x205c42(0xdb)][_0x205c42(0x34a)](()=>{var _0x71c6fd=_0x205c42,_0x4aa773;const _0x49de89=this[_0x71c6fd(0x26a)][_0x71c6fd(0x1ea)]();let _0x364b91=(_0x4aa773=this[_0x71c6fd(0x79)][_0x71c6fd(0x2fd)](ls))!=null?_0x4aa773:us;_0x49de89 instanceof _0x5627c0&&(_0x364b91=_0x49de89[_0x71c6fd(0x129)]),document[_0x71c6fd(0x325)]=_0x364b91;}));}};Ct=_s([zt(0x0,_0x4e4cca),zt(0x1,_0x146073)],Ct);var ds=Object[_0x4a7870(0x31c)],fs=(_0x23c255,_0x538283,_0x425141,_0x57e5af)=>{for(var _0x372d06=_0x57e5af>0x1?void 0x0:_0x57e5af?ds(_0x538283,_0x425141):_0x538283,_0x314070=_0x23c255['length']-0x1,_0x25105f;_0x314070>=0x0;_0x314070--)(_0x25105f=_0x23c255[_0x314070])&&(_0x372d06=_0x25105f(_0x372d06)||_0x372d06);return _0x372d06;},vt=(_0x6d82f7,_0x29c012)=>(_0xa9930b,_0x4eaeb1)=>_0x29c012(_0xa9930b,_0x4eaeb1,_0x6d82f7);let rt=class{constructor(_0x2b6eb0,_0x3ea624,_0x238ed8){var _0x5ab509=_0x4a7870;this[_0x5ab509(0x79)]=_0x2b6eb0,this[_0x5ab509(0x1aa)]=_0x3ea624,this[_0x5ab509(0x103)]=_0x238ed8,this[_0x5ab509(0x89)]();}[_0x4a7870(0x89)](){var _0x33ef61=_0x4a7870;this[_0x33ef61(0x1aa)][_0x33ef61(0x282)]({'priority':0x1,'interceptor':(_0x3ae799,_0x25aba6)=>_0x25aba6(_0x3ae799)[_0x33ef61(0x300)](_0x120f3c(async _0x3ad997=>{var _0xdfdb59=_0x33ef61;const _0x579a4d=_0x3ad997;if(_0x579a4d[_0xdfdb59(0x101)]===0x191){if(typeof window>'u')throw new Error(_0xdfdb59(0x10e));if(window[_0xdfdb59(0x28a)](this[_0xdfdb59(0x103)]['t']('auth.needGotoLoginAlert'))){const _0x514122=window[_0xdfdb59(0x12e)](window[_0xdfdb59(0x23c)][_0xdfdb59(0x1ae)]);window['location'][_0xdfdb59(0x1ae)]=this[_0xdfdb59(0x164)]()+_0xdfdb59(0x1d0)+_0x514122;}}return _0x579a4d;}))});}[_0x4a7870(0x164)](){var _0x111db5=_0x4a7870,_0x489cd9,_0x5608f4;const _0x41fe6e=this[_0x111db5(0x79)][_0x111db5(0x2fd)](Un),_0x23753a=this[_0x111db5(0x79)][_0x111db5(0x2fd)](q);return(_0x5608f4=(_0x489cd9=_0x23753a==null?void 0x0:_0x23753a[_0x111db5(0x288)])!=null?_0x489cd9:_0x41fe6e)!=null?_0x5608f4:An;}};rt=fs([vt(0x0,_0x146073),vt(0x1,_0x1f73e(_0x12260a)),vt(0x2,_0x1f73e(_0x2129f6))],rt);var vs=Object[_0x4a7870(0x31c)],ps=(_0x1d7f3d,_0x1abb07,_0xee1409,_0x445040)=>{for(var _0xb57339=_0x445040>0x1?void 0x0:_0x445040?vs(_0x1abb07,_0xee1409):_0x1abb07,_0x1388dd=_0x1d7f3d['length']-0x1,_0x498349;_0x1388dd>=0x0;_0x1388dd--)(_0x498349=_0x1d7f3d[_0x1388dd])&&(_0xb57339=_0x498349(_0xb57339)||_0xb57339);return _0xb57339;},Jt=(_0x5d988c,_0x41283f)=>(_0x42ce88,_0x436200)=>_0x41283f(_0x42ce88,_0x436200,_0x5d988c);const Ni=_0x4a7870(0x368),ms=_0x4a7870(0x265);let Rt=class extends _0x5927c9{constructor(_0x2ac2db,_0xebb917){var _0x24e125=_0x4a7870;super(),this[_0x24e125(0x1f4)]=_0x2ac2db,this['_configService']=_0xebb917,this[_0x24e125(0x171)]();}[_0x4a7870(0x171)](){var _0x467d23=_0x4a7870;const _0x455333=this;this['disposeWithMe'](this[_0x467d23(0x1f4)][_0x467d23(0x282)]({'priority':0x3e7,'interceptor':_0x1cc760({'isMatch'(_0x37c82b){var _0x3853da=_0x467d23,_0x14ea2b;if(_0x37c82b[_0x3853da(0x2e9)]===_0x3853da(0x2a8)&&((_0x14ea2b=_0x37c82b[_0x3853da(0x179)])!=null&&_0x14ea2b['body'])){const {objectID:_0x1cb588,objectType:_0x4a80bf}=_0x37c82b[_0x3853da(0x179)][_0x3853da(0x13e)]||{};if(!_0x1cb588||_0x4a80bf===void 0x0)return!0x1;const _0x55cd4e=_0x455333['_getAPIPrefixPath']()+'/'+_0x4a80bf+_0x3853da(0x2fc)+_0x1cb588+_0x3853da(0x1ef);if(_0x37c82b[_0x3853da(0x273)]===_0x55cd4e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2efa83){var _0x1a061e=_0x467d23,_0x3627ca;return(_0x3627ca=_0x2efa83[_0x1a061e(0x179)])==null?void 0x0:_0x3627ca[_0x1a061e(0x13e)];},'mergeParamsToRequest'(_0x4a43b4,_0x1e7495){var _0x26c380=_0x467d23;const _0x593fad=_0x455333[_0x26c380(0x26c)]()+'/-/object/-/batch_allowed',_0x1aa36b=_0x4a43b4[_0x26c380(0x2aa)]((_0xa37753,_0x19ee83)=>{var _0x47aa86=_0x26c380;const {unitID:_0x2595ba,objectID:_0x4bdba,objectType:_0x2bab2b,actions:_0x12ba97}=_0x19ee83;return _0xa37753[_0x2595ba]||(_0xa37753[_0x2595ba]={}),_0xa37753[_0x2595ba][_0x4bdba]||(_0xa37753[_0x2595ba][_0x4bdba]={'objectID':_0x4bdba,'objectType':_0x2bab2b,'actions':[]}),_0xa37753[_0x2595ba][_0x4bdba][_0x47aa86(0x2a4)][_0x47aa86(0xb7)](..._0x12ba97),_0xa37753;},{}),_0x5672e=[];for(const _0x3c92ab in _0x1aa36b)for(const _0x519374 in _0x1aa36b[_0x3c92ab]){const {actions:_0x5f9e48,objectType:_0x15686d}=_0x1aa36b[_0x3c92ab][_0x519374],_0x4bfc87=[...new Set(_0x5f9e48)];_0x5672e[_0x26c380(0xb7)]({'unitID':_0x3c92ab,'objectID':_0x519374,'objectType':_0x15686d,'actions':_0x4bfc87});}return new _0x3a3f2d(_0x26c380(0x2a8),_0x593fad,{'headers':_0x1e7495[_0x26c380(0xe2)],'withCredentials':_0x1e7495[_0x26c380(0x100)],'responseType':_0x1e7495[_0x26c380(0x21b)],'body':{'requests':_0x5672e}});}},{'distributeResult'(_0x4484a8,_0x14d55a){var _0x4682bd=_0x467d23;const {objectActions:_0x72b6a9}=_0x4484a8;return _0x14d55a[_0x4682bd(0x8d)](_0x5140a1=>{var _0x3ba87d=_0x4682bd;const {unitID:_0x44f0bf,objectID:_0x261ade,actions:_0x51ac52}=_0x5140a1,_0x534924=_0x72b6a9[_0x3ba87d(0x1de)](_0x2ae1d1=>_0x2ae1d1[_0x3ba87d(0x2da)]===_0x44f0bf&&_0x2ae1d1['objectID']===_0x261ade),_0x23982d=_0x51ac52[_0x3ba87d(0x8d)](_0x8d7454=>_0x534924==null?void 0x0:_0x534924[_0x3ba87d(0x2a4)]['find'](_0x196062=>_0x196062[_0x3ba87d(0x21e)]===_0x8d7454))[_0x3ba87d(0x278)](_0x427d38=>!!_0x427d38);return{'config':_0x5140a1,'result':{'actions':_0x23982d,'error':_0x4484a8[_0x3ba87d(0x95)]}};});}})}));}[_0x4a7870(0x26c)](){var _0x1c5deb=_0x4a7870,_0x52bf2f,_0x8fa2ba;const _0x567d2f=this[_0x1c5deb(0x79)][_0x1c5deb(0x2fd)](Ni),_0x4df044=this['_configService'][_0x1c5deb(0x2fd)](q);return(_0x8fa2ba=(_0x52bf2f=_0x4df044==null?void 0x0:_0x4df044[_0x1c5deb(0xc5)])!=null?_0x52bf2f:_0x567d2f)!=null?_0x8fa2ba:ms;}async[_0x4a7870(0x209)](_0x515526){var _0x25f72=_0x4a7870;const _0x1b2a81=this[_0x25f72(0x26c)]()+'/'+_0x515526['objectType']+'/object';return(await this[_0x25f72(0x1f4)][_0x25f72(0x169)](_0x1b2a81,{'body':_0x515526}))[_0x25f72(0x13e)]['objectID']||'';}async[_0x4a7870(0xc9)](_0x11f442){var _0x15e6ec=_0x4a7870;const _0xf55fe9=this[_0x15e6ec(0x26c)]()+'/-/object/list';return(await this[_0x15e6ec(0x1f4)][_0x15e6ec(0x169)](_0xf55fe9,{'body':_0x11f442}))['body'][_0x15e6ec(0x1ff)];}async['update'](_0x16899a){var _0x11fffe=_0x4a7870,_0x527817,_0x4c01db;const _0x20aca9=this[_0x11fffe(0x26c)]()+'/'+_0x16899a[_0x11fffe(0x17e)]+_0x11fffe(0x2fc)+_0x16899a[_0x11fffe(0x228)],_0x5c1a51=await this[_0x11fffe(0x1f4)]['put'](_0x20aca9,{'body':_0x16899a});if(((_0x4c01db=(_0x527817=_0x5c1a51==null?void 0x0:_0x5c1a51[_0x11fffe(0x13e)])==null?void 0x0:_0x527817['error'])==null?void 0x0:_0x4c01db['code'])!==0x1)throw new Error(_0x11fffe(0x1ac));}async[_0x4a7870(0x2c6)](_0x183451){var _0x1092a8=_0x4a7870;const _0x1c9300=this[_0x1092a8(0x26c)]()+'/'+_0x183451[_0x1092a8(0x17e)]+'/object/'+_0x183451['objectID']+'/allowed';return(await this[_0x1092a8(0x1f4)][_0x1092a8(0x169)](_0x1c9300,{'body':_0x183451}))[_0x1092a8(0x13e)][_0x1092a8(0x2a4)];}async[_0x4a7870(0x1cc)](_0x2d7078){var _0x3d1f70=_0x4a7870;const _0xbfd145=this[_0x3d1f70(0x26c)]()+_0x3d1f70(0x2f1);return(await this[_0x3d1f70(0x1f4)][_0x3d1f70(0x169)](_0xbfd145,{'body':{'requests':_0x2d7078}}))[_0x3d1f70(0x13e)]['objectActions'];}async[_0x4a7870(0x2e6)](_0x60415e){var _0xbb3eca=_0x4a7870;const _0x1d26fc=this[_0xbb3eca(0x26c)]()+'/'+_0x60415e[_0xbb3eca(0x17e)]+_0xbb3eca(0x253),_0x27d46e=await this['_HTTPService'][_0xbb3eca(0x169)](_0x1d26fc,{'body':_0x60415e});return{'roles':_0x27d46e[_0xbb3eca(0x13e)][_0xbb3eca(0x11c)],'actions':_0x27d46e[_0xbb3eca(0x13e)][_0xbb3eca(0x2a4)]};}async[_0x4a7870(0x2d2)](_0x236f37){var _0xc3546a=_0x4a7870;const _0x2f3e50=this[_0xc3546a(0x26c)]()+_0xc3546a(0x318);await this['_HTTPService'][_0xc3546a(0x362)](_0x2f3e50,{'params':{'collaboratorID':_0x236f37[_0xc3546a(0xe7)],'objectID':_0x236f37['objectID'],'unitID':_0x236f37[_0xc3546a(0x2da)]}});}async[_0x4a7870(0x339)](_0x2708a3){var _0x487c9a=_0x4a7870;const _0x162e9f=this[_0x487c9a(0x26c)]()+_0x487c9a(0x318);await this['_HTTPService'][_0x487c9a(0x266)](_0x162e9f,{'body':_0x2708a3});}async[_0x4a7870(0x1c7)](_0x49d5cd){var _0x4e0e64=_0x4a7870;const _0xc5bcf5=this[_0x4e0e64(0x26c)]()+_0x4e0e64(0x318);await this[_0x4e0e64(0x1f4)]['post'](_0xc5bcf5,{'body':_0x49d5cd});}async[_0x4a7870(0x259)](_0x40a0c6){var _0x5abfd3=_0x4a7870;const _0x384480=this[_0x5abfd3(0x26c)]()+_0x5abfd3(0x318);return(await this[_0x5abfd3(0x1f4)][_0x5abfd3(0xcf)](_0x384480,{'params':{'objectID':_0x40a0c6['objectID'],'unitID':_0x40a0c6[_0x5abfd3(0x2da)]}}))[_0x5abfd3(0x13e)][_0x5abfd3(0x153)];}async[_0x4a7870(0x8c)](_0xb5fe64){var _0x5d653d=_0x4a7870;const _0x4c0ea0=this['_getAPIPrefixPath']()+_0x5d653d(0x318);await this['_HTTPService'][_0x5d653d(0x2c0)](_0x4c0ea0,{'body':_0xb5fe64});}};Rt=ps([Jt(0x0,_0x1f73e(_0x12260a)),Jt(0x1,_0x1f73e(_0x146073))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0xf11f5e){var _0x126131=_0x4a7870;return _0xf11f5e&&_0xf11f5e[_0x126131(0x2e3)]&&Object[_0x126131(0x107)][_0x126131(0x1fd)][_0x126131(0x31f)](_0xf11f5e,'default')?_0xf11f5e[_0x126131(0x8b)]:_0xf11f5e;}var Ve={'exports':{}};function gs(_0x1e50ae){var _0x7f915f=_0x4a7870;throw new Error(_0x7f915f(0x320)+_0x1e50ae+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x29d25b=_0x4a7870;return Xt||(Xt=0x1,function(_0x4c0420,_0x416e0d){(function(_0x523285,_0x123862){var _0x2b95a1=_0x4e95;_0x4c0420[_0x2b95a1(0x349)]=_0x123862();}(Ss,function(){var _0x1e1520=_0x1e1520||function(_0x2d772c,_0x391e16){var _0x312108=_0x4e95,_0x561799;if(typeof window<'u'&&window[_0x312108(0x141)]&&(_0x561799=window[_0x312108(0x141)]),typeof self<'u'&&self[_0x312108(0x141)]&&(_0x561799=self[_0x312108(0x141)]),typeof globalThis<'u'&&globalThis[_0x312108(0x141)]&&(_0x561799=globalThis['crypto']),!_0x561799&&typeof window<'u'&&window[_0x312108(0x218)]&&(_0x561799=window[_0x312108(0x218)]),!_0x561799&&typeof pt<'u'&&pt['crypto']&&(_0x561799=pt[_0x312108(0x141)]),!_0x561799&&typeof gs==_0x312108(0x31d))try{_0x561799=require(_0x312108(0x141));}catch{}var _0x39536c=function(){var _0x491961=_0x312108;if(_0x561799){if(typeof _0x561799['getRandomValues']==_0x491961(0x31d))try{return _0x561799[_0x491961(0x152)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x561799[_0x491961(0xd7)]==_0x491961(0x31d))try{return _0x561799['randomBytes'](0x4)[_0x491961(0x191)]();}catch{}}throw new Error(_0x491961(0xad));},_0x5b663e=Object[_0x312108(0x209)]||(function(){function _0x2c5f37(){}return function(_0x1e74c3){var _0x107244=_0x4e95,_0x4099ef;return _0x2c5f37[_0x107244(0x107)]=_0x1e74c3,_0x4099ef=new _0x2c5f37(),_0x2c5f37[_0x107244(0x107)]=null,_0x4099ef;};}()),_0x20d136={},_0x2fd9db=_0x20d136[_0x312108(0xd6)]={},_0x13d0bb=_0x2fd9db[_0x312108(0x132)]=(function(){return{'extend':function(_0x4c39e2){var _0x475852=_0x4e95,_0x23b140=_0x5b663e(this);return _0x4c39e2&&_0x23b140['mixIn'](_0x4c39e2),(!_0x23b140['hasOwnProperty'](_0x475852(0x89))||this['init']===_0x23b140['init'])&&(_0x23b140[_0x475852(0x89)]=function(){var _0x30ca70=_0x475852;_0x23b140[_0x30ca70(0x175)][_0x30ca70(0x89)][_0x30ca70(0x162)](this,arguments);}),_0x23b140[_0x475852(0x89)][_0x475852(0x107)]=_0x23b140,_0x23b140[_0x475852(0x175)]=this,_0x23b140;},'create':function(){var _0x167aa1=_0x4e95,_0x4f5f8e=this[_0x167aa1(0x1e5)]();return _0x4f5f8e[_0x167aa1(0x89)]['apply'](_0x4f5f8e,arguments),_0x4f5f8e;},'init':function(){},'mixIn':function(_0x37815e){var _0xcd31d7=_0x4e95;for(var _0xf64050 in _0x37815e)_0x37815e[_0xcd31d7(0x1fd)](_0xf64050)&&(this[_0xf64050]=_0x37815e[_0xf64050]);_0x37815e[_0xcd31d7(0x1fd)]('toString')&&(this['toString']=_0x37815e[_0xcd31d7(0x1dc)]);},'clone':function(){var _0x4775b9=_0x4e95;return this[_0x4775b9(0x89)][_0x4775b9(0x107)][_0x4775b9(0x1e5)](this);}};}()),_0x1aa780=_0x2fd9db['WordArray']=_0x13d0bb['extend']({'init':function(_0x21a433,_0x3c3862){var _0xff9327=_0x312108;_0x21a433=this[_0xff9327(0x1db)]=_0x21a433||[],_0x3c3862!=_0x391e16?this[_0xff9327(0x130)]=_0x3c3862:this['sigBytes']=_0x21a433[_0xff9327(0x30e)]*0x4;},'toString':function(_0x4f6c83){return(_0x4f6c83||_0xe39b7d)['stringify'](this);},'concat':function(_0x8aa7c0){var _0x1774af=_0x312108,_0x371f45=this[_0x1774af(0x1db)],_0xe8426=_0x8aa7c0[_0x1774af(0x1db)],_0x4feaf6=this[_0x1774af(0x130)],_0xaab6a1=_0x8aa7c0[_0x1774af(0x130)];if(this[_0x1774af(0x295)](),_0x4feaf6%0x4)for(var _0x4c8505=0x0;_0x4c8505<_0xaab6a1;_0x4c8505++){var _0x558f6c=_0xe8426[_0x4c8505>>>0x2]>>>0x18-_0x4c8505%0x4*0x8&0xff;_0x371f45[_0x4feaf6+_0x4c8505>>>0x2]|=_0x558f6c<<0x18-(_0x4feaf6+_0x4c8505)%0x4*0x8;}else{for(var _0x1baccb=0x0;_0x1baccb<_0xaab6a1;_0x1baccb+=0x4)_0x371f45[_0x4feaf6+_0x1baccb>>>0x2]=_0xe8426[_0x1baccb>>>0x2];}return this['sigBytes']+=_0xaab6a1,this;},'clamp':function(){var _0x1ff5b6=_0x312108,_0x147a95=this['words'],_0x34b786=this['sigBytes'];_0x147a95[_0x34b786>>>0x2]&=0xffffffff<<0x20-_0x34b786%0x4*0x8,_0x147a95[_0x1ff5b6(0x30e)]=_0x2d772c[_0x1ff5b6(0x1a3)](_0x34b786/0x4);},'clone':function(){var _0x5878b6=_0x312108,_0x42a570=_0x13d0bb['clone']['call'](this);return _0x42a570[_0x5878b6(0x1db)]=this[_0x5878b6(0x1db)][_0x5878b6(0x2c7)](0x0),_0x42a570;},'random':function(_0x1c6f9d){var _0x4713a6=_0x312108;for(var _0x1961cc=[],_0x44626c=0x0;_0x44626c<_0x1c6f9d;_0x44626c+=0x4)_0x1961cc['push'](_0x39536c());return new _0x1aa780[(_0x4713a6(0x89))](_0x1961cc,_0x1c6f9d);}}),_0x3527a8=_0x20d136[_0x312108(0x2cb)]={},_0xe39b7d=_0x3527a8['Hex']={'stringify':function(_0x46ecf6){var _0x240b79=_0x312108;for(var _0x5ad6e4=_0x46ecf6[_0x240b79(0x1db)],_0x3f7c0b=_0x46ecf6['sigBytes'],_0x56b88a=[],_0x31c798=0x0;_0x31c798<_0x3f7c0b;_0x31c798++){var _0x68bd64=_0x5ad6e4[_0x31c798>>>0x2]>>>0x18-_0x31c798%0x4*0x8&0xff;_0x56b88a[_0x240b79(0xb7)]((_0x68bd64>>>0x4)[_0x240b79(0x1dc)](0x10)),_0x56b88a[_0x240b79(0xb7)]((_0x68bd64&0xf)[_0x240b79(0x1dc)](0x10));}return _0x56b88a[_0x240b79(0x341)]('');},'parse':function(_0xe3fccf){var _0x5b10cc=_0x312108;for(var _0x579e7b=_0xe3fccf['length'],_0x1dbc24=[],_0x187cff=0x0;_0x187cff<_0x579e7b;_0x187cff+=0x2)_0x1dbc24[_0x187cff>>>0x3]|=parseInt(_0xe3fccf['substr'](_0x187cff,0x2),0x10)<<0x18-_0x187cff%0x8*0x4;return new _0x1aa780[(_0x5b10cc(0x89))](_0x1dbc24,_0x579e7b/0x2);}},_0x1e5a52=_0x3527a8[_0x312108(0x21f)]={'stringify':function(_0x30b6e2){var _0x18901f=_0x312108;for(var _0x1f227e=_0x30b6e2[_0x18901f(0x1db)],_0x2ed66e=_0x30b6e2[_0x18901f(0x130)],_0x391747=[],_0x9f7fb1=0x0;_0x9f7fb1<_0x2ed66e;_0x9f7fb1++){var _0x34fbad=_0x1f227e[_0x9f7fb1>>>0x2]>>>0x18-_0x9f7fb1%0x4*0x8&0xff;_0x391747[_0x18901f(0xb7)](String['fromCharCode'](_0x34fbad));}return _0x391747[_0x18901f(0x341)]('');},'parse':function(_0x4b029d){var _0x3a5e9f=_0x312108;for(var _0x13d345=_0x4b029d[_0x3a5e9f(0x30e)],_0x230fcc=[],_0x70ab86=0x0;_0x70ab86<_0x13d345;_0x70ab86++)_0x230fcc[_0x70ab86>>>0x2]|=(_0x4b029d['charCodeAt'](_0x70ab86)&0xff)<<0x18-_0x70ab86%0x4*0x8;return new _0x1aa780['init'](_0x230fcc,_0x13d345);}},_0x59cbc4=_0x3527a8[_0x312108(0x26f)]={'stringify':function(_0x2aa2ca){var _0x44f792=_0x312108;try{return decodeURIComponent(escape(_0x1e5a52[_0x44f792(0x1bb)](_0x2aa2ca)));}catch{throw new Error(_0x44f792(0x86));}},'parse':function(_0x236583){return _0x1e5a52['parse'](unescape(encodeURIComponent(_0x236583)));}},_0x3174fb=_0x2fd9db[_0x312108(0x80)]=_0x13d0bb[_0x312108(0x1e5)]({'reset':function(){var _0x2f31bb=_0x312108;this[_0x2f31bb(0x199)]=new _0x1aa780[(_0x2f31bb(0x89))](),this[_0x2f31bb(0xd0)]=0x0;},'_append':function(_0x16ee94){var _0x1b9a2c=_0x312108;typeof _0x16ee94==_0x1b9a2c(0x32d)&&(_0x16ee94=_0x59cbc4['parse'](_0x16ee94)),this['_data'][_0x1b9a2c(0x24e)](_0x16ee94),this['_nDataBytes']+=_0x16ee94[_0x1b9a2c(0x130)];},'_process':function(_0x193337){var _0xb4dba5=_0x312108,_0x5ce88f,_0x4a58bc=this[_0xb4dba5(0x199)],_0x162319=_0x4a58bc[_0xb4dba5(0x1db)],_0x10cbd7=_0x4a58bc[_0xb4dba5(0x130)],_0xbb67c0=this['blockSize'],_0x37ea81=_0xbb67c0*0x4,_0x173ad3=_0x10cbd7/_0x37ea81;_0x193337?_0x173ad3=_0x2d772c[_0xb4dba5(0x1a3)](_0x173ad3):_0x173ad3=_0x2d772c[_0xb4dba5(0x15f)]((_0x173ad3|0x0)-this[_0xb4dba5(0x2ed)],0x0);var _0x311e80=_0x173ad3*_0xbb67c0,_0x281ed4=_0x2d772c[_0xb4dba5(0x11d)](_0x311e80*0x4,_0x10cbd7);if(_0x311e80){for(var _0x587261=0x0;_0x587261<_0x311e80;_0x587261+=_0xbb67c0)this['_doProcessBlock'](_0x162319,_0x587261);_0x5ce88f=_0x162319['splice'](0x0,_0x311e80),_0x4a58bc['sigBytes']-=_0x281ed4;}return new _0x1aa780['init'](_0x5ce88f,_0x281ed4);},'clone':function(){var _0xf2d756=_0x312108,_0x18a7d8=_0x13d0bb['clone'][_0xf2d756(0x31f)](this);return _0x18a7d8[_0xf2d756(0x199)]=this[_0xf2d756(0x199)][_0xf2d756(0x1d1)](),_0x18a7d8;},'_minBufferSize':0x0});_0x2fd9db[_0x312108(0x20d)]=_0x3174fb['extend']({'cfg':_0x13d0bb[_0x312108(0x1e5)](),'init':function(_0x32479e){var _0x1b71c5=_0x312108;this[_0x1b71c5(0xa2)]=this[_0x1b71c5(0xa2)]['extend'](_0x32479e),this['reset']();},'reset':function(){var _0x2513af=_0x312108;_0x3174fb[_0x2513af(0x220)]['call'](this),this[_0x2513af(0x255)]();},'update':function(_0x47e618){var _0x52cb37=_0x312108;return this['_append'](_0x47e618),this[_0x52cb37(0x201)](),this;},'finalize':function(_0x581db7){var _0x2d3ccf=_0x312108;_0x581db7&&this[_0x2d3ccf(0x25a)](_0x581db7);var _0x38d3a1=this[_0x2d3ccf(0x19c)]();return _0x38d3a1;},'blockSize':0x10,'_createHelper':function(_0x5718b7){return function(_0x43a6f1,_0x39f90b){var _0xabaad5=_0x4e95;return new _0x5718b7[(_0xabaad5(0x89))](_0x39f90b)['finalize'](_0x43a6f1);};},'_createHmacHelper':function(_0x43a130){return function(_0x3ef0f3,_0x14f0c6){var _0x1b7926=_0x4e95;return new _0x521859[(_0x1b7926(0x1a5))][(_0x1b7926(0x89))](_0x43a130,_0x14f0c6)[_0x1b7926(0x1fc)](_0x3ef0f3);};}});var _0x521859=_0x20d136[_0x312108(0x30a)]={};return _0x20d136;}(Math);return _0x1e1520;}));}(Ge)),Ge[_0x29d25b(0x349)];}var We={'exports':{}},Es=We[_0x4a7870(0x349)],Zt;function Di(){var _0x40a2a1=_0x4a7870;return Zt||(Zt=0x1,function(_0x2bb68a,_0x464c53){(function(_0x494b84,_0x3ab6e3){var _0x127b36=_0x4e95;_0x2bb68a[_0x127b36(0x349)]=_0x3ab6e3(ie());}(Es,function(_0x50451e){return(function(){var _0x5be9d5=_0x4e95,_0x2cb0ac=_0x50451e,_0xa0b03=_0x2cb0ac['lib'],_0x4e8abf=_0xa0b03[_0x5be9d5(0x297)],_0x129824=_0x2cb0ac[_0x5be9d5(0x2cb)];_0x129824['Base64']={'stringify':function(_0x405202){var _0x510707=_0x5be9d5,_0x215763=_0x405202['words'],_0x2940f7=_0x405202[_0x510707(0x130)],_0x2d5e6f=this[_0x510707(0x204)];_0x405202[_0x510707(0x295)]();for(var _0x49891c=[],_0x34e685=0x0;_0x34e685<_0x2940f7;_0x34e685+=0x3)for(var _0x53588d=_0x215763[_0x34e685>>>0x2]>>>0x18-_0x34e685%0x4*0x8&0xff,_0x29ddfc=_0x215763[_0x34e685+0x1>>>0x2]>>>0x18-(_0x34e685+0x1)%0x4*0x8&0xff,_0x5ee498=_0x215763[_0x34e685+0x2>>>0x2]>>>0x18-(_0x34e685+0x2)%0x4*0x8&0xff,_0x49ffab=_0x53588d<<0x10|_0x29ddfc<<0x8|_0x5ee498,_0x3bacbf=0x0;_0x3bacbf<0x4&&_0x34e685+_0x3bacbf*0.75<_0x2940f7;_0x3bacbf++)_0x49891c[_0x510707(0xb7)](_0x2d5e6f[_0x510707(0x210)](_0x49ffab>>>0x6*(0x3-_0x3bacbf)&0x3f));var _0x530746=_0x2d5e6f['charAt'](0x40);if(_0x530746){for(;_0x49891c[_0x510707(0x30e)]%0x4;)_0x49891c[_0x510707(0xb7)](_0x530746);}return _0x49891c[_0x510707(0x341)]('');},'parse':function(_0x570bd1){var _0xb2034f=_0x5be9d5,_0x3ef810=_0x570bd1[_0xb2034f(0x30e)],_0x49fb34=this[_0xb2034f(0x204)],_0x2af64d=this['_reverseMap'];if(!_0x2af64d){_0x2af64d=this[_0xb2034f(0x1ee)]=[];for(var _0x3871b1=0x0;_0x3871b1<_0x49fb34['length'];_0x3871b1++)_0x2af64d[_0x49fb34['charCodeAt'](_0x3871b1)]=_0x3871b1;}var _0x4772c7=_0x49fb34['charAt'](0x40);if(_0x4772c7){var _0xb8a195=_0x570bd1[_0xb2034f(0x1b0)](_0x4772c7);_0xb8a195!==-0x1&&(_0x3ef810=_0xb8a195);}return _0x4e6af1(_0x570bd1,_0x3ef810,_0x2af64d);},'_map':_0x5be9d5(0x1ab)};function _0x4e6af1(_0x2450bb,_0x1b0ade,_0x1d89c8){var _0x1a8e15=_0x5be9d5;for(var _0x2057b0=[],_0x3221b4=0x0,_0x2fb4a7=0x0;_0x2fb4a7<_0x1b0ade;_0x2fb4a7++)if(_0x2fb4a7%0x4){var _0xafa835=_0x1d89c8[_0x2450bb[_0x1a8e15(0x19b)](_0x2fb4a7-0x1)]<<_0x2fb4a7%0x4*0x2,_0x233875=_0x1d89c8[_0x2450bb['charCodeAt'](_0x2fb4a7)]>>>0x6-_0x2fb4a7%0x4*0x2,_0x175245=_0xafa835|_0x233875;_0x2057b0[_0x3221b4>>>0x2]|=_0x175245<<0x18-_0x3221b4%0x4*0x8,_0x3221b4++;}return _0x4e8abf['create'](_0x2057b0,_0x3221b4);}}()),_0x50451e['enc']['Base64'];}));}(We)),We[_0x40a2a1(0x349)];}var Ke={'exports':{}},Is=Ke[_0x4a7870(0x349)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x453f9d,_0x7326bf){(function(_0x4d8df5,_0x565160){_0x453f9d['exports']=_0x565160(ie());}(Is,function(_0x5f4ff2){return function(_0x24d0dc){var _0x3bc6e1=_0x4e95,_0x2343ad=_0x5f4ff2,_0x14dfab=_0x2343ad[_0x3bc6e1(0xd6)],_0x530bd8=_0x14dfab[_0x3bc6e1(0x297)],_0x772bfc=_0x14dfab[_0x3bc6e1(0x20d)],_0x449445=_0x2343ad['algo'],_0x40df66=[];(function(){var _0x56d6a1=_0x3bc6e1;for(var _0x1e7d30=0x0;_0x1e7d30<0x40;_0x1e7d30++)_0x40df66[_0x1e7d30]=_0x24d0dc[_0x56d6a1(0x268)](_0x24d0dc['sin'](_0x1e7d30+0x1))*0x100000000|0x0;}());var _0x401bde=_0x449445[_0x3bc6e1(0x2bb)]=_0x772bfc['extend']({'_doReset':function(){var _0x700403=_0x3bc6e1;this[_0x700403(0x327)]=new _0x530bd8[(_0x700403(0x89))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x175782,_0x245a46){var _0x448a12=_0x3bc6e1;for(var _0x4b2ca1=0x0;_0x4b2ca1<0x10;_0x4b2ca1++){var _0x4d997f=_0x245a46+_0x4b2ca1,_0x48bebd=_0x175782[_0x4d997f];_0x175782[_0x4d997f]=(_0x48bebd<<0x8|_0x48bebd>>>0x18)&0xff00ff|(_0x48bebd<<0x18|_0x48bebd>>>0x8)&0xff00ff00;}var _0x4fb963=this[_0x448a12(0x327)]['words'],_0x56bae7=_0x175782[_0x245a46+0x0],_0x748639=_0x175782[_0x245a46+0x1],_0x3e53ae=_0x175782[_0x245a46+0x2],_0x39c640=_0x175782[_0x245a46+0x3],_0x1d53c3=_0x175782[_0x245a46+0x4],_0x317d9b=_0x175782[_0x245a46+0x5],_0xddcaa=_0x175782[_0x245a46+0x6],_0x28ef2c=_0x175782[_0x245a46+0x7],_0x5f2630=_0x175782[_0x245a46+0x8],_0x4be949=_0x175782[_0x245a46+0x9],_0x143e60=_0x175782[_0x245a46+0xa],_0x45c068=_0x175782[_0x245a46+0xb],_0xe74fd8=_0x175782[_0x245a46+0xc],_0x6c1043=_0x175782[_0x245a46+0xd],_0xb236a5=_0x175782[_0x245a46+0xe],_0x1f297d=_0x175782[_0x245a46+0xf],_0x4d40fa=_0x4fb963[0x0],_0x47fe4d=_0x4fb963[0x1],_0x4917de=_0x4fb963[0x2],_0xfa9eb1=_0x4fb963[0x3];_0x4d40fa=_0x3504dd(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x56bae7,0x7,_0x40df66[0x0]),_0xfa9eb1=_0x3504dd(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x748639,0xc,_0x40df66[0x1]),_0x4917de=_0x3504dd(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x3e53ae,0x11,_0x40df66[0x2]),_0x47fe4d=_0x3504dd(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x39c640,0x16,_0x40df66[0x3]),_0x4d40fa=_0x3504dd(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x1d53c3,0x7,_0x40df66[0x4]),_0xfa9eb1=_0x3504dd(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x317d9b,0xc,_0x40df66[0x5]),_0x4917de=_0x3504dd(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0xddcaa,0x11,_0x40df66[0x6]),_0x47fe4d=_0x3504dd(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x28ef2c,0x16,_0x40df66[0x7]),_0x4d40fa=_0x3504dd(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x5f2630,0x7,_0x40df66[0x8]),_0xfa9eb1=_0x3504dd(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x4be949,0xc,_0x40df66[0x9]),_0x4917de=_0x3504dd(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x143e60,0x11,_0x40df66[0xa]),_0x47fe4d=_0x3504dd(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x45c068,0x16,_0x40df66[0xb]),_0x4d40fa=_0x3504dd(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0xe74fd8,0x7,_0x40df66[0xc]),_0xfa9eb1=_0x3504dd(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x6c1043,0xc,_0x40df66[0xd]),_0x4917de=_0x3504dd(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0xb236a5,0x11,_0x40df66[0xe]),_0x47fe4d=_0x3504dd(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x1f297d,0x16,_0x40df66[0xf]),_0x4d40fa=_0x299e5e(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x748639,0x5,_0x40df66[0x10]),_0xfa9eb1=_0x299e5e(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0xddcaa,0x9,_0x40df66[0x11]),_0x4917de=_0x299e5e(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x45c068,0xe,_0x40df66[0x12]),_0x47fe4d=_0x299e5e(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x56bae7,0x14,_0x40df66[0x13]),_0x4d40fa=_0x299e5e(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x317d9b,0x5,_0x40df66[0x14]),_0xfa9eb1=_0x299e5e(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x143e60,0x9,_0x40df66[0x15]),_0x4917de=_0x299e5e(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x1f297d,0xe,_0x40df66[0x16]),_0x47fe4d=_0x299e5e(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x1d53c3,0x14,_0x40df66[0x17]),_0x4d40fa=_0x299e5e(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4be949,0x5,_0x40df66[0x18]),_0xfa9eb1=_0x299e5e(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0xb236a5,0x9,_0x40df66[0x19]),_0x4917de=_0x299e5e(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x39c640,0xe,_0x40df66[0x1a]),_0x47fe4d=_0x299e5e(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x5f2630,0x14,_0x40df66[0x1b]),_0x4d40fa=_0x299e5e(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x6c1043,0x5,_0x40df66[0x1c]),_0xfa9eb1=_0x299e5e(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x3e53ae,0x9,_0x40df66[0x1d]),_0x4917de=_0x299e5e(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x28ef2c,0xe,_0x40df66[0x1e]),_0x47fe4d=_0x299e5e(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0xe74fd8,0x14,_0x40df66[0x1f]),_0x4d40fa=_0xace7af(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x317d9b,0x4,_0x40df66[0x20]),_0xfa9eb1=_0xace7af(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x5f2630,0xb,_0x40df66[0x21]),_0x4917de=_0xace7af(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x45c068,0x10,_0x40df66[0x22]),_0x47fe4d=_0xace7af(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0xb236a5,0x17,_0x40df66[0x23]),_0x4d40fa=_0xace7af(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x748639,0x4,_0x40df66[0x24]),_0xfa9eb1=_0xace7af(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x1d53c3,0xb,_0x40df66[0x25]),_0x4917de=_0xace7af(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x28ef2c,0x10,_0x40df66[0x26]),_0x47fe4d=_0xace7af(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x143e60,0x17,_0x40df66[0x27]),_0x4d40fa=_0xace7af(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x6c1043,0x4,_0x40df66[0x28]),_0xfa9eb1=_0xace7af(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x56bae7,0xb,_0x40df66[0x29]),_0x4917de=_0xace7af(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x39c640,0x10,_0x40df66[0x2a]),_0x47fe4d=_0xace7af(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0xddcaa,0x17,_0x40df66[0x2b]),_0x4d40fa=_0xace7af(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4be949,0x4,_0x40df66[0x2c]),_0xfa9eb1=_0xace7af(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0xe74fd8,0xb,_0x40df66[0x2d]),_0x4917de=_0xace7af(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x1f297d,0x10,_0x40df66[0x2e]),_0x47fe4d=_0xace7af(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x3e53ae,0x17,_0x40df66[0x2f]),_0x4d40fa=_0x165fec(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x56bae7,0x6,_0x40df66[0x30]),_0xfa9eb1=_0x165fec(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x28ef2c,0xa,_0x40df66[0x31]),_0x4917de=_0x165fec(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0xb236a5,0xf,_0x40df66[0x32]),_0x47fe4d=_0x165fec(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x317d9b,0x15,_0x40df66[0x33]),_0x4d40fa=_0x165fec(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0xe74fd8,0x6,_0x40df66[0x34]),_0xfa9eb1=_0x165fec(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x39c640,0xa,_0x40df66[0x35]),_0x4917de=_0x165fec(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x143e60,0xf,_0x40df66[0x36]),_0x47fe4d=_0x165fec(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x748639,0x15,_0x40df66[0x37]),_0x4d40fa=_0x165fec(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x5f2630,0x6,_0x40df66[0x38]),_0xfa9eb1=_0x165fec(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x1f297d,0xa,_0x40df66[0x39]),_0x4917de=_0x165fec(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0xddcaa,0xf,_0x40df66[0x3a]),_0x47fe4d=_0x165fec(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x6c1043,0x15,_0x40df66[0x3b]),_0x4d40fa=_0x165fec(_0x4d40fa,_0x47fe4d,_0x4917de,_0xfa9eb1,_0x1d53c3,0x6,_0x40df66[0x3c]),_0xfa9eb1=_0x165fec(_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x4917de,_0x45c068,0xa,_0x40df66[0x3d]),_0x4917de=_0x165fec(_0x4917de,_0xfa9eb1,_0x4d40fa,_0x47fe4d,_0x3e53ae,0xf,_0x40df66[0x3e]),_0x47fe4d=_0x165fec(_0x47fe4d,_0x4917de,_0xfa9eb1,_0x4d40fa,_0x4be949,0x15,_0x40df66[0x3f]),_0x4fb963[0x0]=_0x4fb963[0x0]+_0x4d40fa|0x0,_0x4fb963[0x1]=_0x4fb963[0x1]+_0x47fe4d|0x0,_0x4fb963[0x2]=_0x4fb963[0x2]+_0x4917de|0x0,_0x4fb963[0x3]=_0x4fb963[0x3]+_0xfa9eb1|0x0;},'_doFinalize':function(){var _0x20a1fe=_0x3bc6e1,_0x192e19=this[_0x20a1fe(0x199)],_0x66212e=_0x192e19[_0x20a1fe(0x1db)],_0x365296=this[_0x20a1fe(0xd0)]*0x8,_0x4c7f96=_0x192e19[_0x20a1fe(0x130)]*0x8;_0x66212e[_0x4c7f96>>>0x5]|=0x80<<0x18-_0x4c7f96%0x20;var _0x4cf68f=_0x24d0dc[_0x20a1fe(0x1c2)](_0x365296/0x100000000),_0x3f4506=_0x365296;_0x66212e[(_0x4c7f96+0x40>>>0x9<<0x4)+0xf]=(_0x4cf68f<<0x8|_0x4cf68f>>>0x18)&0xff00ff|(_0x4cf68f<<0x18|_0x4cf68f>>>0x8)&0xff00ff00,_0x66212e[(_0x4c7f96+0x40>>>0x9<<0x4)+0xe]=(_0x3f4506<<0x8|_0x3f4506>>>0x18)&0xff00ff|(_0x3f4506<<0x18|_0x3f4506>>>0x8)&0xff00ff00,_0x192e19[_0x20a1fe(0x130)]=(_0x66212e['length']+0x1)*0x4,this[_0x20a1fe(0x201)]();for(var _0x439108=this[_0x20a1fe(0x327)],_0x326d50=_0x439108['words'],_0x3a49e7=0x0;_0x3a49e7<0x4;_0x3a49e7++){var _0x59b98b=_0x326d50[_0x3a49e7];_0x326d50[_0x3a49e7]=(_0x59b98b<<0x8|_0x59b98b>>>0x18)&0xff00ff|(_0x59b98b<<0x18|_0x59b98b>>>0x8)&0xff00ff00;}return _0x439108;},'clone':function(){var _0x2a3b75=_0x3bc6e1,_0x5aaef1=_0x772bfc[_0x2a3b75(0x1d1)][_0x2a3b75(0x31f)](this);return _0x5aaef1[_0x2a3b75(0x327)]=this[_0x2a3b75(0x327)][_0x2a3b75(0x1d1)](),_0x5aaef1;}});function _0x3504dd(_0x223e77,_0x3940c9,_0x24d5da,_0x3b9b95,_0x317553,_0x3f33cd,_0x3526f4){var _0x5f2ad8=_0x223e77+(_0x3940c9&_0x24d5da|~_0x3940c9&_0x3b9b95)+_0x317553+_0x3526f4;return(_0x5f2ad8<<_0x3f33cd|_0x5f2ad8>>>0x20-_0x3f33cd)+_0x3940c9;}function _0x299e5e(_0x59b2f6,_0x3752f6,_0x547a2a,_0x5a6ceb,_0x42fd8c,_0x5210d4,_0x4f84aa){var _0x25c637=_0x59b2f6+(_0x3752f6&_0x5a6ceb|_0x547a2a&~_0x5a6ceb)+_0x42fd8c+_0x4f84aa;return(_0x25c637<<_0x5210d4|_0x25c637>>>0x20-_0x5210d4)+_0x3752f6;}function _0xace7af(_0x51de55,_0x2c3a2c,_0x35be4c,_0x15fa8c,_0x44495c,_0x4f97ec,_0x1ea2a0){var _0x5d353e=_0x51de55+(_0x2c3a2c^_0x35be4c^_0x15fa8c)+_0x44495c+_0x1ea2a0;return(_0x5d353e<<_0x4f97ec|_0x5d353e>>>0x20-_0x4f97ec)+_0x2c3a2c;}function _0x165fec(_0x4b6f3d,_0x576410,_0xbc1e7a,_0xb907a,_0x9bb930,_0x2e237c,_0x594dfd){var _0x4d8c6d=_0x4b6f3d+(_0xbc1e7a^(_0x576410|~_0xb907a))+_0x9bb930+_0x594dfd;return(_0x4d8c6d<<_0x2e237c|_0x4d8c6d>>>0x20-_0x2e237c)+_0x576410;}_0x2343ad[_0x3bc6e1(0x2bb)]=_0x772bfc[_0x3bc6e1(0x1c5)](_0x401bde),_0x2343ad[_0x3bc6e1(0x198)]=_0x772bfc[_0x3bc6e1(0x33c)](_0x401bde);}(Math),_0x5f4ff2['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x4a7870(0x349)],ei;function Rs(){return ei||(ei=0x1,function(_0x4fac9c,_0x3f98c5){(function(_0x4f88ef,_0x10382b){var _0x291b77=_0x4e95;_0x4fac9c[_0x291b77(0x349)]=_0x10382b(ie());}(Cs,function(_0x2db3a2){return(function(){var _0x40f9fd=_0x4e95,_0x4d25d4=_0x2db3a2,_0x1319ff=_0x4d25d4[_0x40f9fd(0xd6)],_0x4a35b0=_0x1319ff['WordArray'],_0x4079b4=_0x1319ff[_0x40f9fd(0x20d)],_0x23d18f=_0x4d25d4[_0x40f9fd(0x30a)],_0x46d681=[],_0x2dc401=_0x23d18f['SHA1']=_0x4079b4[_0x40f9fd(0x1e5)]({'_doReset':function(){var _0x330957=_0x40f9fd;this['_hash']=new _0x4a35b0[(_0x330957(0x89))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x115d29,_0x1e6e16){var _0x4bc6fb=_0x40f9fd;for(var _0x4ef088=this[_0x4bc6fb(0x327)][_0x4bc6fb(0x1db)],_0x378a60=_0x4ef088[0x0],_0x56b78c=_0x4ef088[0x1],_0x511bfd=_0x4ef088[0x2],_0x5dd870=_0x4ef088[0x3],_0x5eac58=_0x4ef088[0x4],_0xfe828f=0x0;_0xfe828f<0x50;_0xfe828f++){if(_0xfe828f<0x10)_0x46d681[_0xfe828f]=_0x115d29[_0x1e6e16+_0xfe828f]|0x0;else{var _0x13d473=_0x46d681[_0xfe828f-0x3]^_0x46d681[_0xfe828f-0x8]^_0x46d681[_0xfe828f-0xe]^_0x46d681[_0xfe828f-0x10];_0x46d681[_0xfe828f]=_0x13d473<<0x1|_0x13d473>>>0x1f;}var _0x3fd01d=(_0x378a60<<0x5|_0x378a60>>>0x1b)+_0x5eac58+_0x46d681[_0xfe828f];_0xfe828f<0x14?_0x3fd01d+=(_0x56b78c&_0x511bfd|~_0x56b78c&_0x5dd870)+0x5a827999:_0xfe828f<0x28?_0x3fd01d+=(_0x56b78c^_0x511bfd^_0x5dd870)+0x6ed9eba1:_0xfe828f<0x3c?_0x3fd01d+=(_0x56b78c&_0x511bfd|_0x56b78c&_0x5dd870|_0x511bfd&_0x5dd870)-0x70e44324:_0x3fd01d+=(_0x56b78c^_0x511bfd^_0x5dd870)-0x359d3e2a,_0x5eac58=_0x5dd870,_0x5dd870=_0x511bfd,_0x511bfd=_0x56b78c<<0x1e|_0x56b78c>>>0x2,_0x56b78c=_0x378a60,_0x378a60=_0x3fd01d;}_0x4ef088[0x0]=_0x4ef088[0x0]+_0x378a60|0x0,_0x4ef088[0x1]=_0x4ef088[0x1]+_0x56b78c|0x0,_0x4ef088[0x2]=_0x4ef088[0x2]+_0x511bfd|0x0,_0x4ef088[0x3]=_0x4ef088[0x3]+_0x5dd870|0x0,_0x4ef088[0x4]=_0x4ef088[0x4]+_0x5eac58|0x0;},'_doFinalize':function(){var _0x22f077=_0x40f9fd,_0x4d7231=this[_0x22f077(0x199)],_0x1caee7=_0x4d7231[_0x22f077(0x1db)],_0x3ac1ef=this[_0x22f077(0xd0)]*0x8,_0x28e567=_0x4d7231[_0x22f077(0x130)]*0x8;return _0x1caee7[_0x28e567>>>0x5]|=0x80<<0x18-_0x28e567%0x20,_0x1caee7[(_0x28e567+0x40>>>0x9<<0x4)+0xe]=Math[_0x22f077(0x1c2)](_0x3ac1ef/0x100000000),_0x1caee7[(_0x28e567+0x40>>>0x9<<0x4)+0xf]=_0x3ac1ef,_0x4d7231['sigBytes']=_0x1caee7[_0x22f077(0x30e)]*0x4,this['_process'](),this[_0x22f077(0x327)];},'clone':function(){var _0x535b77=_0x40f9fd,_0x4610e7=_0x4079b4[_0x535b77(0x1d1)]['call'](this);return _0x4610e7[_0x535b77(0x327)]=this[_0x535b77(0x327)][_0x535b77(0x1d1)](),_0x4610e7;}});_0x4d25d4[_0x40f9fd(0xc2)]=_0x4079b4['_createHelper'](_0x2dc401),_0x4d25d4['HmacSHA1']=_0x4079b4[_0x40f9fd(0x33c)](_0x2dc401);}()),_0x2db3a2['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze['exports'],ti;function ys(){return ti||(ti=0x1,function(_0xd8d5d5,_0x2b7932){(function(_0xa53596,_0x4aa65f){var _0xa33c9a=_0x4e95;_0xd8d5d5[_0xa33c9a(0x349)]=_0x4aa65f(ie());}(bs,function(_0x576a2a){(function(){var _0x2d22d5=_0x4e95,_0x34278b=_0x576a2a,_0x341fd2=_0x34278b['lib'],_0x5b3203=_0x341fd2['Base'],_0x3937b3=_0x34278b[_0x2d22d5(0x2cb)],_0x2193c7=_0x3937b3[_0x2d22d5(0x26f)],_0x3965a1=_0x34278b[_0x2d22d5(0x30a)];_0x3965a1['HMAC']=_0x5b3203[_0x2d22d5(0x1e5)]({'init':function(_0x474a01,_0x340dab){var _0x1d4aac=_0x2d22d5;_0x474a01=this[_0x1d4aac(0x2ae)]=new _0x474a01[(_0x1d4aac(0x89))](),typeof _0x340dab==_0x1d4aac(0x32d)&&(_0x340dab=_0x2193c7['parse'](_0x340dab));var _0x215def=_0x474a01['blockSize'],_0x10eb42=_0x215def*0x4;_0x340dab['sigBytes']>_0x10eb42&&(_0x340dab=_0x474a01['finalize'](_0x340dab)),_0x340dab[_0x1d4aac(0x295)]();for(var _0x52ae26=this['_oKey']=_0x340dab[_0x1d4aac(0x1d1)](),_0x35c1fe=this['_iKey']=_0x340dab['clone'](),_0x3b5a61=_0x52ae26['words'],_0x369360=_0x35c1fe[_0x1d4aac(0x1db)],_0x4c7b11=0x0;_0x4c7b11<_0x215def;_0x4c7b11++)_0x3b5a61[_0x4c7b11]^=0x5c5c5c5c,_0x369360[_0x4c7b11]^=0x36363636;_0x52ae26[_0x1d4aac(0x130)]=_0x35c1fe[_0x1d4aac(0x130)]=_0x10eb42,this[_0x1d4aac(0x220)]();},'reset':function(){var _0x13fe36=_0x2d22d5,_0x4b9b90=this[_0x13fe36(0x2ae)];_0x4b9b90[_0x13fe36(0x220)](),_0x4b9b90[_0x13fe36(0x313)](this[_0x13fe36(0x215)]);},'update':function(_0x5958e8){var _0xcd88ec=_0x2d22d5;return this[_0xcd88ec(0x2ae)][_0xcd88ec(0x313)](_0x5958e8),this;},'finalize':function(_0x37d931){var _0x10f5c8=_0x2d22d5,_0x1300bc=this[_0x10f5c8(0x2ae)],_0x54fde0=_0x1300bc['finalize'](_0x37d931);_0x1300bc[_0x10f5c8(0x220)]();var _0x4f111e=_0x1300bc[_0x10f5c8(0x1fc)](this[_0x10f5c8(0x317)][_0x10f5c8(0x1d1)]()[_0x10f5c8(0x24e)](_0x54fde0));return _0x4f111e;}});}());}));}(ze)),ze['exports'];}var Os=Ye[_0x4a7870(0x349)],ii;function Ui(){var _0xbe1ffb=_0x4a7870;return ii||(ii=0x1,function(_0x1b7b9a,_0x5a4d7c){(function(_0x30993c,_0x2a98fb,_0x395c01){var _0x513979=_0x4e95;_0x1b7b9a[_0x513979(0x349)]=_0x2a98fb(ie(),Rs(),ys());}(Os,function(_0x1f61c3){return(function(){var _0x3b9f51=_0x4e95,_0x4d93d6=_0x1f61c3,_0x201eb8=_0x4d93d6[_0x3b9f51(0xd6)],_0x1cac95=_0x201eb8['Base'],_0xa60c3e=_0x201eb8['WordArray'],_0xd88ff6=_0x4d93d6[_0x3b9f51(0x30a)],_0x33461f=_0xd88ff6[_0x3b9f51(0x2bb)],_0x24508c=_0xd88ff6[_0x3b9f51(0x161)]=_0x1cac95[_0x3b9f51(0x1e5)]({'cfg':_0x1cac95['extend']({'keySize':0x80/0x20,'hasher':_0x33461f,'iterations':0x1}),'init':function(_0x4cc11b){var _0x25ff10=_0x3b9f51;this[_0x25ff10(0xa2)]=this['cfg'][_0x25ff10(0x1e5)](_0x4cc11b);},'compute':function(_0x17e585,_0x9d9128){var _0x2e1157=_0x3b9f51;for(var _0x19b9d7,_0x91f20=this[_0x2e1157(0xa2)],_0x116bc0=_0x91f20['hasher'][_0x2e1157(0x209)](),_0x2047f6=_0xa60c3e[_0x2e1157(0x209)](),_0x36338d=_0x2047f6[_0x2e1157(0x1db)],_0x22bdc2=_0x91f20[_0x2e1157(0xe5)],_0x3cced4=_0x91f20['iterations'];_0x36338d[_0x2e1157(0x30e)]<_0x22bdc2;){_0x19b9d7&&_0x116bc0['update'](_0x19b9d7),_0x19b9d7=_0x116bc0[_0x2e1157(0x313)](_0x17e585)[_0x2e1157(0x1fc)](_0x9d9128),_0x116bc0[_0x2e1157(0x220)]();for(var _0xb6ccdd=0x1;_0xb6ccdd<_0x3cced4;_0xb6ccdd++)_0x19b9d7=_0x116bc0['finalize'](_0x19b9d7),_0x116bc0[_0x2e1157(0x220)]();_0x2047f6[_0x2e1157(0x24e)](_0x19b9d7);}return _0x2047f6['sigBytes']=_0x22bdc2*0x4,_0x2047f6;}});_0x4d93d6[_0x3b9f51(0x161)]=function(_0x49ecde,_0x4d0876,_0x4910a4){var _0x3152f2=_0x3b9f51;return _0x24508c[_0x3152f2(0x209)](_0x4910a4)[_0x3152f2(0x2e1)](_0x49ecde,_0x4d0876);};}()),_0x1f61c3['EvpKDF'];}));}(Ye)),Ye[_0xbe1ffb(0x349)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x34db6b=_0x4a7870;return ni||(ni=0x1,function(_0x1dfc19,_0xab31de){(function(_0x22f1fe,_0x579891,_0x280554){var _0x424b0a=_0x4e95;_0x1dfc19[_0x424b0a(0x349)]=_0x579891(ie(),Ui());}(Ns,function(_0x5555b1){var _0xa805ee=_0x4e95;_0x5555b1[_0xa805ee(0xd6)][_0xa805ee(0x11b)]||function(_0x286ea4){var _0x3520ea=_0xa805ee,_0x2433e9=_0x5555b1,_0x4e9bd5=_0x2433e9[_0x3520ea(0xd6)],_0x5f0dc6=_0x4e9bd5['Base'],_0x171796=_0x4e9bd5['WordArray'],_0x51f2d1=_0x4e9bd5[_0x3520ea(0x80)],_0x4de106=_0x2433e9['enc'];_0x4de106['Utf8'];var _0x45188a=_0x4de106[_0x3520ea(0x260)],_0x12ab97=_0x2433e9[_0x3520ea(0x30a)],_0x1733bc=_0x12ab97[_0x3520ea(0x161)],_0x2cbc5f=_0x4e9bd5['Cipher']=_0x51f2d1[_0x3520ea(0x1e5)]({'cfg':_0x5f0dc6[_0x3520ea(0x1e5)](),'createEncryptor':function(_0x11261f,_0x28841c){var _0x360b20=_0x3520ea;return this[_0x360b20(0x209)](this[_0x360b20(0x1e3)],_0x11261f,_0x28841c);},'createDecryptor':function(_0x4beb22,_0x21d824){var _0x268352=_0x3520ea;return this[_0x268352(0x209)](this['_DEC_XFORM_MODE'],_0x4beb22,_0x21d824);},'init':function(_0x5b5d66,_0x4a6ff7,_0x2ac14d){var _0x2ba78c=_0x3520ea;this['cfg']=this[_0x2ba78c(0xa2)][_0x2ba78c(0x1e5)](_0x2ac14d),this['_xformMode']=_0x5b5d66,this[_0x2ba78c(0x14a)]=_0x4a6ff7,this[_0x2ba78c(0x220)]();},'reset':function(){var _0x2316b0=_0x3520ea;_0x51f2d1[_0x2316b0(0x220)][_0x2316b0(0x31f)](this),this['_doReset']();},'process':function(_0x4c1341){var _0x3695fe=_0x3520ea;return this[_0x3695fe(0x25a)](_0x4c1341),this[_0x3695fe(0x201)]();},'finalize':function(_0x2e52ef){_0x2e52ef&&this['_append'](_0x2e52ef);var _0x3608ae=this['_doFinalize']();return _0x3608ae;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3e61d3(_0x5943fb){var _0x94c4b8=_0x4e95;return typeof _0x5943fb==_0x94c4b8(0x32d)?_0x4514ab:_0x59ca05;}return function(_0x71951d){return{'encrypt':function(_0x54237e,_0x5a4d4d,_0xc27aa8){var _0x26029f=_0x4e95;return _0x3e61d3(_0x5a4d4d)[_0x26029f(0xbd)](_0x71951d,_0x54237e,_0x5a4d4d,_0xc27aa8);},'decrypt':function(_0x3d0173,_0x1bfa2a,_0x1deb4d){var _0x438146=_0x4e95;return _0x3e61d3(_0x1bfa2a)[_0x438146(0xb2)](_0x71951d,_0x3d0173,_0x1bfa2a,_0x1deb4d);}};};}())});_0x4e9bd5['StreamCipher']=_0x2cbc5f[_0x3520ea(0x1e5)]({'_doFinalize':function(){var _0x2f6859=this['_process'](!0x0);return _0x2f6859;},'blockSize':0x1});var _0x357e10=_0x2433e9[_0x3520ea(0xef)]={},_0x20c87a=_0x4e9bd5[_0x3520ea(0x14d)]=_0x5f0dc6['extend']({'createEncryptor':function(_0x1bffee,_0x34c739){var _0x56dc0e=_0x3520ea;return this[_0x56dc0e(0x274)][_0x56dc0e(0x209)](_0x1bffee,_0x34c739);},'createDecryptor':function(_0x11af18,_0x335791){var _0x328628=_0x3520ea;return this[_0x328628(0x1e1)]['create'](_0x11af18,_0x335791);},'init':function(_0x1b3831,_0x5749a9){var _0x417b69=_0x3520ea;this['_cipher']=_0x1b3831,this[_0x417b69(0x159)]=_0x5749a9;}}),_0x5021ef=_0x357e10[_0x3520ea(0x2cc)]=(function(){var _0x4bc950=_0x3520ea,_0x191972=_0x20c87a[_0x4bc950(0x1e5)]();_0x191972[_0x4bc950(0x274)]=_0x191972[_0x4bc950(0x1e5)]({'processBlock':function(_0x366d56,_0x5877e6){var _0x313fdd=_0x4bc950,_0x266b39=this[_0x313fdd(0x2f7)],_0x33b36d=_0x266b39[_0x313fdd(0x186)];_0x359976[_0x313fdd(0x31f)](this,_0x366d56,_0x5877e6,_0x33b36d),_0x266b39['encryptBlock'](_0x366d56,_0x5877e6),this[_0x313fdd(0x1cd)]=_0x366d56[_0x313fdd(0x2c7)](_0x5877e6,_0x5877e6+_0x33b36d);}}),_0x191972[_0x4bc950(0x1e1)]=_0x191972[_0x4bc950(0x1e5)]({'processBlock':function(_0x2125a4,_0x514079){var _0x448101=_0x4bc950,_0x4e9ec1=this['_cipher'],_0x419ad7=_0x4e9ec1[_0x448101(0x186)],_0xae5eb9=_0x2125a4[_0x448101(0x2c7)](_0x514079,_0x514079+_0x419ad7);_0x4e9ec1[_0x448101(0xac)](_0x2125a4,_0x514079),_0x359976[_0x448101(0x31f)](this,_0x2125a4,_0x514079,_0x419ad7),this['_prevBlock']=_0xae5eb9;}});function _0x359976(_0x345898,_0x5d8418,_0x95cc1f){var _0x3d943e=_0x4bc950,_0x44b818,_0x3d5508=this[_0x3d943e(0x159)];_0x3d5508?(_0x44b818=_0x3d5508,this[_0x3d943e(0x159)]=_0x286ea4):_0x44b818=this['_prevBlock'];for(var _0x460bcf=0x0;_0x460bcf<_0x95cc1f;_0x460bcf++)_0x345898[_0x5d8418+_0x460bcf]^=_0x44b818[_0x460bcf];}return _0x191972;}()),_0x5364ec=_0x2433e9['pad']={},_0x45b24b=_0x5364ec[_0x3520ea(0x121)]={'pad':function(_0x55be4a,_0x2513c9){var _0x5c9ebf=_0x3520ea;for(var _0x187a7b=_0x2513c9*0x4,_0x2d4caf=_0x187a7b-_0x55be4a[_0x5c9ebf(0x130)]%_0x187a7b,_0x4cfef2=_0x2d4caf<<0x18|_0x2d4caf<<0x10|_0x2d4caf<<0x8|_0x2d4caf,_0x3a019d=[],_0x9ff0a0=0x0;_0x9ff0a0<_0x2d4caf;_0x9ff0a0+=0x4)_0x3a019d['push'](_0x4cfef2);var _0x363de6=_0x171796[_0x5c9ebf(0x209)](_0x3a019d,_0x2d4caf);_0x55be4a['concat'](_0x363de6);},'unpad':function(_0xb5e10f){var _0x306b35=_0x3520ea,_0x3c042c=_0xb5e10f[_0x306b35(0x1db)][_0xb5e10f[_0x306b35(0x130)]-0x1>>>0x2]&0xff;_0xb5e10f[_0x306b35(0x130)]-=_0x3c042c;}};_0x4e9bd5[_0x3520ea(0x118)]=_0x2cbc5f['extend']({'cfg':_0x2cbc5f['cfg'][_0x3520ea(0x1e5)]({'mode':_0x5021ef,'padding':_0x45b24b}),'reset':function(){var _0x890b85=_0x3520ea,_0x1c9882;_0x2cbc5f['reset']['call'](this);var _0x375706=this[_0x890b85(0xa2)],_0x18cef2=_0x375706['iv'],_0xf96164=_0x375706[_0x890b85(0xef)];this[_0x890b85(0x23a)]==this[_0x890b85(0x1e3)]?_0x1c9882=_0xf96164['createEncryptor']:(_0x1c9882=_0xf96164[_0x890b85(0x1a9)],this[_0x890b85(0x2ed)]=0x1),this['_mode']&&this[_0x890b85(0x96)][_0x890b85(0x1d9)]==_0x1c9882?this[_0x890b85(0x96)][_0x890b85(0x89)](this,_0x18cef2&&_0x18cef2[_0x890b85(0x1db)]):(this['_mode']=_0x1c9882[_0x890b85(0x31f)](_0xf96164,this,_0x18cef2&&_0x18cef2[_0x890b85(0x1db)]),this[_0x890b85(0x96)]['__creator']=_0x1c9882);},'_doProcessBlock':function(_0x2328fc,_0x5a30a4){var _0x22735c=_0x3520ea;this[_0x22735c(0x96)]['processBlock'](_0x2328fc,_0x5a30a4);},'_doFinalize':function(){var _0x2d9d14=_0x3520ea,_0x3faf69,_0x170533=this[_0x2d9d14(0xa2)][_0x2d9d14(0x2dd)];return this[_0x2d9d14(0x23a)]==this[_0x2d9d14(0x1e3)]?(_0x170533[_0x2d9d14(0x2f6)](this[_0x2d9d14(0x199)],this[_0x2d9d14(0x186)]),_0x3faf69=this[_0x2d9d14(0x201)](!0x0)):(_0x3faf69=this[_0x2d9d14(0x201)](!0x0),_0x170533[_0x2d9d14(0x286)](_0x3faf69)),_0x3faf69;},'blockSize':0x80/0x20});var _0x81ce92=_0x4e9bd5[_0x3520ea(0x29d)]=_0x5f0dc6[_0x3520ea(0x1e5)]({'init':function(_0x176f41){var _0x9002a6=_0x3520ea;this[_0x9002a6(0x19e)](_0x176f41);},'toString':function(_0x270a51){var _0x1b1d1a=_0x3520ea;return(_0x270a51||this['formatter'])[_0x1b1d1a(0x1bb)](this);}}),_0x1f67c0=_0x2433e9['format']={},_0x5a58a5=_0x1f67c0[_0x3520ea(0xd4)]={'stringify':function(_0x44628e){var _0x4985be=_0x3520ea,_0x38c6b3,_0x50244e=_0x44628e['ciphertext'],_0x265547=_0x44628e['salt'];return _0x265547?_0x38c6b3=_0x171796['create']([0x53616c74,0x65645f5f])['concat'](_0x265547)['concat'](_0x50244e):_0x38c6b3=_0x50244e,_0x38c6b3[_0x4985be(0x1dc)](_0x45188a);},'parse':function(_0xd35176){var _0xe44f1b=_0x3520ea,_0x458867,_0x5b319f=_0x45188a[_0xe44f1b(0x249)](_0xd35176),_0x3e7f80=_0x5b319f[_0xe44f1b(0x1db)];return _0x3e7f80[0x0]==0x53616c74&&_0x3e7f80[0x1]==0x65645f5f&&(_0x458867=_0x171796[_0xe44f1b(0x209)](_0x3e7f80[_0xe44f1b(0x2c7)](0x2,0x4)),_0x3e7f80[_0xe44f1b(0x81)](0x0,0x4),_0x5b319f[_0xe44f1b(0x130)]-=0x10),_0x81ce92['create']({'ciphertext':_0x5b319f,'salt':_0x458867});}},_0x59ca05=_0x4e9bd5[_0x3520ea(0x28d)]=_0x5f0dc6['extend']({'cfg':_0x5f0dc6[_0x3520ea(0x1e5)]({'format':_0x5a58a5}),'encrypt':function(_0x5c5c3b,_0x2e8dc9,_0x20010a,_0x2cc807){var _0x1cab0e=_0x3520ea;_0x2cc807=this[_0x1cab0e(0xa2)][_0x1cab0e(0x1e5)](_0x2cc807);var _0x1f0bc0=_0x5c5c3b[_0x1cab0e(0x1d3)](_0x20010a,_0x2cc807),_0x1d958a=_0x1f0bc0[_0x1cab0e(0x1fc)](_0x2e8dc9),_0x2659ff=_0x1f0bc0[_0x1cab0e(0xa2)];return _0x81ce92[_0x1cab0e(0x209)]({'ciphertext':_0x1d958a,'key':_0x20010a,'iv':_0x2659ff['iv'],'algorithm':_0x5c5c3b,'mode':_0x2659ff[_0x1cab0e(0xef)],'padding':_0x2659ff[_0x1cab0e(0x2dd)],'blockSize':_0x5c5c3b['blockSize'],'formatter':_0x2cc807['format']});},'decrypt':function(_0x2a90d3,_0x4f3949,_0x3b40c0,_0x34d974){var _0x8fb4d5=_0x3520ea;_0x34d974=this[_0x8fb4d5(0xa2)][_0x8fb4d5(0x1e5)](_0x34d974),_0x4f3949=this['_parse'](_0x4f3949,_0x34d974[_0x8fb4d5(0x2ab)]);var _0x227b33=_0x2a90d3[_0x8fb4d5(0x1a9)](_0x3b40c0,_0x34d974)[_0x8fb4d5(0x1fc)](_0x4f3949['ciphertext']);return _0x227b33;},'_parse':function(_0x1c02be,_0x5bb62f){var _0x15c713=_0x3520ea;return typeof _0x1c02be=='string'?_0x5bb62f[_0x15c713(0x249)](_0x1c02be,this):_0x1c02be;}}),_0x5ccd9b=_0x2433e9[_0x3520ea(0x221)]={},_0x2a448a=_0x5ccd9b['OpenSSL']={'execute':function(_0x55feae,_0x259237,_0x34d3d1,_0xba6a6e,_0x48edbe){var _0x530db4=_0x3520ea;if(_0xba6a6e||(_0xba6a6e=_0x171796['random'](0x40/0x8)),_0x48edbe)var _0x4b7dea=_0x1733bc['create']({'keySize':_0x259237+_0x34d3d1,'hasher':_0x48edbe})[_0x530db4(0x2e1)](_0x55feae,_0xba6a6e);else var _0x4b7dea=_0x1733bc['create']({'keySize':_0x259237+_0x34d3d1})[_0x530db4(0x2e1)](_0x55feae,_0xba6a6e);var _0x1dbe7c=_0x171796['create'](_0x4b7dea[_0x530db4(0x1db)][_0x530db4(0x2c7)](_0x259237),_0x34d3d1*0x4);return _0x4b7dea[_0x530db4(0x130)]=_0x259237*0x4,_0x81ce92[_0x530db4(0x209)]({'key':_0x4b7dea,'iv':_0x1dbe7c,'salt':_0xba6a6e});}},_0x4514ab=_0x4e9bd5[_0x3520ea(0x369)]=_0x59ca05[_0x3520ea(0x1e5)]({'cfg':_0x59ca05[_0x3520ea(0xa2)][_0x3520ea(0x1e5)]({'kdf':_0x2a448a}),'encrypt':function(_0xae68a8,_0x25e08b,_0x10d07f,_0x2448a3){var _0x12623f=_0x3520ea;_0x2448a3=this['cfg'][_0x12623f(0x1e5)](_0x2448a3);var _0x5472c0=_0x2448a3[_0x12623f(0x221)][_0x12623f(0xc4)](_0x10d07f,_0xae68a8[_0x12623f(0xe5)],_0xae68a8[_0x12623f(0x68)],_0x2448a3[_0x12623f(0x6a)],_0x2448a3[_0x12623f(0x31a)]);_0x2448a3['iv']=_0x5472c0['iv'];var _0x3143ef=_0x59ca05['encrypt'][_0x12623f(0x31f)](this,_0xae68a8,_0x25e08b,_0x5472c0[_0x12623f(0x1e0)],_0x2448a3);return _0x3143ef[_0x12623f(0x19e)](_0x5472c0),_0x3143ef;},'decrypt':function(_0x552da6,_0x48b963,_0x5f07c2,_0x45c19f){var _0xa7db6e=_0x3520ea;_0x45c19f=this['cfg'][_0xa7db6e(0x1e5)](_0x45c19f),_0x48b963=this['_parse'](_0x48b963,_0x45c19f['format']);var _0x35a54c=_0x45c19f[_0xa7db6e(0x221)][_0xa7db6e(0xc4)](_0x5f07c2,_0x552da6[_0xa7db6e(0xe5)],_0x552da6[_0xa7db6e(0x68)],_0x48b963[_0xa7db6e(0x6a)],_0x45c19f['hasher']);_0x45c19f['iv']=_0x35a54c['iv'];var _0x45bc24=_0x59ca05[_0xa7db6e(0xb2)][_0xa7db6e(0x31f)](this,_0x552da6,_0x48b963,_0x35a54c[_0xa7db6e(0x1e0)],_0x45c19f);return _0x45bc24;}});}();}));}(Je)),Je[_0x34db6b(0x349)];}var Ds=Ve['exports'],si;function Us(){var _0x29c6c6=_0x4a7870;return si||(si=0x1,function(_0xae13de,_0x451eaf){(function(_0x34ccd7,_0x4152d6,_0x14fc75){var _0x22b2ff=_0x4e95;_0xae13de[_0x22b2ff(0x349)]=_0x4152d6(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x5711b9){var _0x11e7e8=_0x4e95;return(function(){var _0x44d9d1=_0x4e95,_0x19b5af=_0x5711b9,_0x911af1=_0x19b5af[_0x44d9d1(0xd6)],_0x405c80=_0x911af1[_0x44d9d1(0x118)],_0x1f0760=_0x19b5af[_0x44d9d1(0x30a)],_0x173ac8=[],_0xbe1736=[],_0x13f041=[],_0x1f11ba=[],_0x48c9c1=[],_0x5160a1=[],_0x20d2ba=[],_0x58b1f9=[],_0x2cfd59=[],_0x3b8d07=[];(function(){for(var _0x450a90=[],_0x4030fa=0x0;_0x4030fa<0x100;_0x4030fa++)_0x4030fa<0x80?_0x450a90[_0x4030fa]=_0x4030fa<<0x1:_0x450a90[_0x4030fa]=_0x4030fa<<0x1^0x11b;for(var _0x370b8c=0x0,_0x386a4b=0x0,_0x4030fa=0x0;_0x4030fa<0x100;_0x4030fa++){var _0xa019a5=_0x386a4b^_0x386a4b<<0x1^_0x386a4b<<0x2^_0x386a4b<<0x3^_0x386a4b<<0x4;_0xa019a5=_0xa019a5>>>0x8^_0xa019a5&0xff^0x63,_0x173ac8[_0x370b8c]=_0xa019a5,_0xbe1736[_0xa019a5]=_0x370b8c;var _0x4abc61=_0x450a90[_0x370b8c],_0x41c291=_0x450a90[_0x4abc61],_0x5ee57a=_0x450a90[_0x41c291],_0x4776f5=_0x450a90[_0xa019a5]*0x101^_0xa019a5*0x1010100;_0x13f041[_0x370b8c]=_0x4776f5<<0x18|_0x4776f5>>>0x8,_0x1f11ba[_0x370b8c]=_0x4776f5<<0x10|_0x4776f5>>>0x10,_0x48c9c1[_0x370b8c]=_0x4776f5<<0x8|_0x4776f5>>>0x18,_0x5160a1[_0x370b8c]=_0x4776f5;var _0x4776f5=_0x5ee57a*0x1010101^_0x41c291*0x10001^_0x4abc61*0x101^_0x370b8c*0x1010100;_0x20d2ba[_0xa019a5]=_0x4776f5<<0x18|_0x4776f5>>>0x8,_0x58b1f9[_0xa019a5]=_0x4776f5<<0x10|_0x4776f5>>>0x10,_0x2cfd59[_0xa019a5]=_0x4776f5<<0x8|_0x4776f5>>>0x18,_0x3b8d07[_0xa019a5]=_0x4776f5,_0x370b8c?(_0x370b8c=_0x4abc61^_0x450a90[_0x450a90[_0x450a90[_0x5ee57a^_0x4abc61]]],_0x386a4b^=_0x450a90[_0x450a90[_0x386a4b]]):_0x370b8c=_0x386a4b=0x1;}}());var _0x4ded0d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2449ec=_0x1f0760[_0x44d9d1(0x150)]=_0x405c80[_0x44d9d1(0x1e5)]({'_doReset':function(){var _0x90b83e=_0x44d9d1,_0x1d848a;if(!(this[_0x90b83e(0x303)]&&this[_0x90b83e(0x344)]===this[_0x90b83e(0x14a)])){for(var _0x14eeda=this['_keyPriorReset']=this[_0x90b83e(0x14a)],_0x165bae=_0x14eeda[_0x90b83e(0x1db)],_0x3ac07b=_0x14eeda[_0x90b83e(0x130)]/0x4,_0x47bb19=this[_0x90b83e(0x303)]=_0x3ac07b+0x6,_0x4bffc1=(_0x47bb19+0x1)*0x4,_0x5deb48=this[_0x90b83e(0x1fb)]=[],_0x4bc747=0x0;_0x4bc747<_0x4bffc1;_0x4bc747++)_0x4bc747<_0x3ac07b?_0x5deb48[_0x4bc747]=_0x165bae[_0x4bc747]:(_0x1d848a=_0x5deb48[_0x4bc747-0x1],_0x4bc747%_0x3ac07b?_0x3ac07b>0x6&&_0x4bc747%_0x3ac07b==0x4&&(_0x1d848a=_0x173ac8[_0x1d848a>>>0x18]<<0x18|_0x173ac8[_0x1d848a>>>0x10&0xff]<<0x10|_0x173ac8[_0x1d848a>>>0x8&0xff]<<0x8|_0x173ac8[_0x1d848a&0xff]):(_0x1d848a=_0x1d848a<<0x8|_0x1d848a>>>0x18,_0x1d848a=_0x173ac8[_0x1d848a>>>0x18]<<0x18|_0x173ac8[_0x1d848a>>>0x10&0xff]<<0x10|_0x173ac8[_0x1d848a>>>0x8&0xff]<<0x8|_0x173ac8[_0x1d848a&0xff],_0x1d848a^=_0x4ded0d[_0x4bc747/_0x3ac07b|0x0]<<0x18),_0x5deb48[_0x4bc747]=_0x5deb48[_0x4bc747-_0x3ac07b]^_0x1d848a);for(var _0x32d17f=this[_0x90b83e(0x21a)]=[],_0xbef34b=0x0;_0xbef34b<_0x4bffc1;_0xbef34b++){var _0x4bc747=_0x4bffc1-_0xbef34b;if(_0xbef34b%0x4)var _0x1d848a=_0x5deb48[_0x4bc747];else var _0x1d848a=_0x5deb48[_0x4bc747-0x4];_0xbef34b<0x4||_0x4bc747<=0x4?_0x32d17f[_0xbef34b]=_0x1d848a:_0x32d17f[_0xbef34b]=_0x20d2ba[_0x173ac8[_0x1d848a>>>0x18]]^_0x58b1f9[_0x173ac8[_0x1d848a>>>0x10&0xff]]^_0x2cfd59[_0x173ac8[_0x1d848a>>>0x8&0xff]]^_0x3b8d07[_0x173ac8[_0x1d848a&0xff]];}}},'encryptBlock':function(_0x4c7b94,_0x4363fe){var _0x5837ab=_0x44d9d1;this['_doCryptBlock'](_0x4c7b94,_0x4363fe,this[_0x5837ab(0x1fb)],_0x13f041,_0x1f11ba,_0x48c9c1,_0x5160a1,_0x173ac8);},'decryptBlock':function(_0x51b97f,_0xbc7d2){var _0x56d660=_0x44d9d1,_0x11f3e2=_0x51b97f[_0xbc7d2+0x1];_0x51b97f[_0xbc7d2+0x1]=_0x51b97f[_0xbc7d2+0x3],_0x51b97f[_0xbc7d2+0x3]=_0x11f3e2,this[_0x56d660(0x126)](_0x51b97f,_0xbc7d2,this[_0x56d660(0x21a)],_0x20d2ba,_0x58b1f9,_0x2cfd59,_0x3b8d07,_0xbe1736);var _0x11f3e2=_0x51b97f[_0xbc7d2+0x1];_0x51b97f[_0xbc7d2+0x1]=_0x51b97f[_0xbc7d2+0x3],_0x51b97f[_0xbc7d2+0x3]=_0x11f3e2;},'_doCryptBlock':function(_0x12d436,_0xf79963,_0x2b259e,_0x3af5dc,_0x4d35c7,_0x8708cf,_0x34ad82,_0x53f3b9){var _0x3b927b=_0x44d9d1;for(var _0x5aa526=this[_0x3b927b(0x303)],_0x44bc4f=_0x12d436[_0xf79963]^_0x2b259e[0x0],_0x4e5a0c=_0x12d436[_0xf79963+0x1]^_0x2b259e[0x1],_0x62ac04=_0x12d436[_0xf79963+0x2]^_0x2b259e[0x2],_0x45949b=_0x12d436[_0xf79963+0x3]^_0x2b259e[0x3],_0x511233=0x4,_0x1ec8b1=0x1;_0x1ec8b1<_0x5aa526;_0x1ec8b1++){var _0x29056c=_0x3af5dc[_0x44bc4f>>>0x18]^_0x4d35c7[_0x4e5a0c>>>0x10&0xff]^_0x8708cf[_0x62ac04>>>0x8&0xff]^_0x34ad82[_0x45949b&0xff]^_0x2b259e[_0x511233++],_0x1c64d8=_0x3af5dc[_0x4e5a0c>>>0x18]^_0x4d35c7[_0x62ac04>>>0x10&0xff]^_0x8708cf[_0x45949b>>>0x8&0xff]^_0x34ad82[_0x44bc4f&0xff]^_0x2b259e[_0x511233++],_0x4214f9=_0x3af5dc[_0x62ac04>>>0x18]^_0x4d35c7[_0x45949b>>>0x10&0xff]^_0x8708cf[_0x44bc4f>>>0x8&0xff]^_0x34ad82[_0x4e5a0c&0xff]^_0x2b259e[_0x511233++],_0x30f161=_0x3af5dc[_0x45949b>>>0x18]^_0x4d35c7[_0x44bc4f>>>0x10&0xff]^_0x8708cf[_0x4e5a0c>>>0x8&0xff]^_0x34ad82[_0x62ac04&0xff]^_0x2b259e[_0x511233++];_0x44bc4f=_0x29056c,_0x4e5a0c=_0x1c64d8,_0x62ac04=_0x4214f9,_0x45949b=_0x30f161;}var _0x29056c=(_0x53f3b9[_0x44bc4f>>>0x18]<<0x18|_0x53f3b9[_0x4e5a0c>>>0x10&0xff]<<0x10|_0x53f3b9[_0x62ac04>>>0x8&0xff]<<0x8|_0x53f3b9[_0x45949b&0xff])^_0x2b259e[_0x511233++],_0x1c64d8=(_0x53f3b9[_0x4e5a0c>>>0x18]<<0x18|_0x53f3b9[_0x62ac04>>>0x10&0xff]<<0x10|_0x53f3b9[_0x45949b>>>0x8&0xff]<<0x8|_0x53f3b9[_0x44bc4f&0xff])^_0x2b259e[_0x511233++],_0x4214f9=(_0x53f3b9[_0x62ac04>>>0x18]<<0x18|_0x53f3b9[_0x45949b>>>0x10&0xff]<<0x10|_0x53f3b9[_0x44bc4f>>>0x8&0xff]<<0x8|_0x53f3b9[_0x4e5a0c&0xff])^_0x2b259e[_0x511233++],_0x30f161=(_0x53f3b9[_0x45949b>>>0x18]<<0x18|_0x53f3b9[_0x44bc4f>>>0x10&0xff]<<0x10|_0x53f3b9[_0x4e5a0c>>>0x8&0xff]<<0x8|_0x53f3b9[_0x62ac04&0xff])^_0x2b259e[_0x511233++];_0x12d436[_0xf79963]=_0x29056c,_0x12d436[_0xf79963+0x1]=_0x1c64d8,_0x12d436[_0xf79963+0x2]=_0x4214f9,_0x12d436[_0xf79963+0x3]=_0x30f161;},'keySize':0x100/0x20});_0x19b5af['AES']=_0x405c80[_0x44d9d1(0x1c5)](_0x2449ec);}()),_0x5711b9[_0x11e7e8(0x150)];}));}(Ve)),Ve[_0x29c6c6(0x349)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0x347353=_0x4a7870;return ai||(ai=0x1,function(_0x2e7370,_0x52a996){(function(_0x2ddcac,_0x2cdf2d){var _0x1a101b=_0x4e95;_0x2e7370[_0x1a101b(0x349)]=_0x2cdf2d(ie());}(Ls,function(_0x3cfb19){var _0xecc35d=_0x4e95;return _0x3cfb19[_0xecc35d(0x2cb)][_0xecc35d(0x26f)];}));}(Xe)),Xe[_0x347353(0x349)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x4a7870(0x349)],oi;function Hs(){var _0x4b6bba=_0x4a7870;return oi||(oi=0x1,function(_0x493a51,_0x3104ec){(function(_0x1c4660,_0x27b6ba){var _0x450518=_0x4e95;_0x493a51[_0x450518(0x349)]=_0x27b6ba(ie());}($s,function(_0x7950f6){var _0x498c8f=_0x4e95;return(function(){var _0x4c931d=_0x4e95;if(typeof ArrayBuffer=='function'){var _0x4e9390=_0x7950f6,_0x34ef50=_0x4e9390['lib'],_0x392488=_0x34ef50[_0x4c931d(0x297)],_0x37f4e0=_0x392488[_0x4c931d(0x89)],_0x30d59b=_0x392488[_0x4c931d(0x89)]=function(_0x597ea9){var _0x2518fc=_0x4c931d;if(_0x597ea9 instanceof ArrayBuffer&&(_0x597ea9=new Uint8Array(_0x597ea9)),(_0x597ea9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x597ea9 instanceof Uint8ClampedArray||_0x597ea9 instanceof Int16Array||_0x597ea9 instanceof Uint16Array||_0x597ea9 instanceof Int32Array||_0x597ea9 instanceof Uint32Array||_0x597ea9 instanceof Float32Array||_0x597ea9 instanceof Float64Array)&&(_0x597ea9=new Uint8Array(_0x597ea9[_0x2518fc(0x293)],_0x597ea9[_0x2518fc(0x2b6)],_0x597ea9[_0x2518fc(0x271)])),_0x597ea9 instanceof Uint8Array){for(var _0x3163d6=_0x597ea9['byteLength'],_0x4510d6=[],_0x4a4e0a=0x0;_0x4a4e0a<_0x3163d6;_0x4a4e0a++)_0x4510d6[_0x4a4e0a>>>0x2]|=_0x597ea9[_0x4a4e0a]<<0x18-_0x4a4e0a%0x4*0x8;_0x37f4e0[_0x2518fc(0x31f)](this,_0x4510d6,_0x3163d6);}else _0x37f4e0[_0x2518fc(0x162)](this,arguments);};_0x30d59b[_0x4c931d(0x107)]=_0x392488;}}()),_0x7950f6[_0x498c8f(0xd6)][_0x498c8f(0x297)];}));}(Ze)),Ze[_0x4b6bba(0x349)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x11b068=_0x4a7870;return ci||(ci=0x1,function(_0x13191f,_0x1b4920){(function(_0x4c1bde,_0x3fdaf3,_0x80bc0){var _0xbd2594=_0x4e95;_0x13191f[_0xbd2594(0x349)]=_0x3fdaf3(ie(),Ai());}(Fs,function(_0x3b7aef){var _0x4573aa=_0x4e95;return _0x3b7aef[_0x4573aa(0x2f6)][_0x4573aa(0x2c5)]={'pad':function(){},'unpad':function(){}},_0x3b7aef[_0x4573aa(0x2f6)][_0x4573aa(0x2c5)];}));}(Qe)),Qe[_0x11b068(0x349)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x34c550,_0x53e8b2){var _0x169005=_0x4a7870;const _0x262d1a=_0x53e8b2-_0x34c550[_0x169005(0x30e)]%_0x53e8b2,_0x4b3002=String['fromCharCode'](_0x262d1a)['repeat'](_0x262d1a);return _0x34c550+_0x4b3002;}function Ys(_0x4393ec,_0x1bd040){var _0x17f4a0=_0x4a7870;const _0x27b26f=js['random'](0x10),_0x51f828=Ks(_0x4393ec,0x10),_0x502c5e=ws[_0x17f4a0(0xbd)](ks[_0x17f4a0(0x249)](_0x51f828),ri[_0x17f4a0(0x249)](_0x1bd040),{'iv':_0x27b26f,'padding':Ws});return _0x27b26f[_0x17f4a0(0x24e)](_0x502c5e[_0x17f4a0(0xc3)])['toString'](ri);}function qs(){var _0x3a3211=_0x4a7870;const _0x652028=_0x1e19d9()[_0x3a3211(0x22d)];if(_0x652028){const _0x6d6b95={'time':Math[_0x3a3211(0x1c2)](Date['now']()/0x3e8),'domain':location[_0x3a3211(0xf8)]};return Ys(JSON[_0x3a3211(0x1bb)](_0x6d6b95),_0x652028);}}function _0x3925(){var _0x69ef8b=['_onOffline','leaveEvent','pluginName','put','session','ERROR_IMAGE_TYPE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_unitID','NoPadding','allowed','slice','JOIN_ROOM_FAILED','deepClone','/fetchmissing?from=','enc','CBC','_transformUndoredo','size','_commentUpdate$','LOCAL_CACHE_INTERVAL','\x20in\x20_schedule.','deleteCollaborator','duration','11110979mwKdaM','_logService','HttpImport','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','joinEvent','append','unitID','sessionStatus$','_schedule','padding','TOO_MANY_REQUESTS','CHANGESET_SHOULD_RETRY','PY_RUNTIME_SCRIPT_ERROR','compute','_transformSelections','__esModule','requireSession','origin','listRoles','defineProperty','LICENSE_DISTRO_REJECTED','method','10GjPALC','_changesetSessionId','_startTelemetryCollaborationNewChangeset','_minBufferSize','INVITE_CODE_ALREADY_BOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','_handler','/-/object/-/batch_allowed','_eventService','newCsEvent','_localeService','_instanceService','pad','_cipher','getSheetBlock','YUUMI_RATE_OVER_LIMIT','_onConflict','getLatestCsReqIdBySid','/object/','getConfig','collabWebSocketUrl','getInterceptPoints','pipe','HELLO','_startCollaboration','_nRounds','onCommandExecuted','mutations','_substituteUndoStack','LIVESHARE_OPERATION','not_collab','UNISCRIPT_RUN','algo','userID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onUserLeave','length','getResourcesRequest','_entityInit$','pending','IDLE','update','_sendHeartbeatTimer','snapshot','getCollabEntity','_oKey','/collaborator','PERMISSION_REJ','hasher','dispose','getOwnPropertyDescriptor','function','[CollaborationSessionService]','call','Could\x20not\x20dynamically\x20require\x20\x22','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','setWaitCount','shouldCloseConn','title','_event$','_hash','_sender','_userManagerService','_clearUndo','_getSignURL','LIVESHARE_REQUEST_HOST','string','_retryCount','getCurrentRevOfUnit','_transformIMECache','next','2012805yaoutB','routeKey','JOIN_ROOM_NOT_EXISTS','\x0aCurrent:\x20','SOCKET_FAILED','onSyncEditingCollabCursor','_config','updateCollaborator','refreshPermission','_initDependencies','_createHmacHelper','_initCloseConn','unit-cache-','[OfflineState]:\x20received\x20changeset.','onLocalMutation','join','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','debug','_keyPriorReset','_onLocalMutation','UPDATE_CURSOR','dispose$','UNIVER_SLIDE','exports','subscribe','transformChangesets','reject','encode','every','close','NOT_COLLAB','change$','_collaborationUIEventService','[OfflineState]:\x20received\x20acknowledgement.','awaiting','_onConnectionFailed','subUnitId','People','/universer-api/snapshot/','onTransformRemoteChangesetByStateCache','_exhaustRemoteChangesetQueue','updateOfflineData','getCollabEntity$','CLOSE_ROOM','_init','_waitCount','_clearScheduledTask','data','delete','/universer-api/comb','_clearHeartbeatTimer','incrementRevOfUnit','collaboration-client.local-cache-service','infoRsp','AUTHZ_URL_KEY','PasswordBasedCipher','_timeoutTimer','947061IGdnYb','_transitionLocked','_loadSheet','_clearRedo','ivSize','HEARTBEAT_INTERVAL','salt','symbol','LIVESHARE_NEW_HOST','_scheduleCompleteTimestamp','telemetry\x20info\x20is\x20not\x20initialized','override','createInstance','_compressMutationService','_createInitialStateImpl','_createInitialState','getSheetId','unknown','_state$','session.room-cnt-exceeds','compose','_configService','_collaborationTimeoutTimer','save\x20fail\x20reason\x20is\x20','APPLY_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','fromCollab','ALREADY_EXISTS','BufferedBlockAlgorithm','splice','/new_changes','fetchMiss','selections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Malformed\x20UTF-8\x20data','interceptor','transformMutationsWithChangeset','init','OTHER_CLIENT_EDITING','default','putCollaborators','map','2532qbCxPR','entries','randomUUID','RETRY_CONNECTING_MAX_COUNT','&assign=','emitEvent','retryConnectingInterval','error','_mode','_initRequestHeader','unitId','getSnapshotAPIPath','UNIVER_UNKNOWN','_syncEditingCollabCursor','sheets','getRoom','/universer-api/stream/file/upload','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onTransformRemoteChangesetByIMECache','UNKNOWN_CMD','cfg','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','JOIN_ROOM_PERMISSION_DENIED','_waitForHeartbeatResponse','_onUserJoin','NOT_FOUND','_onJoinRoomEvent','startsWith','AWAITING','copyFileMeta','decryptBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_fetchMissChangesets','USER_NOT_INVITED_CODE','getValue','_sheetTransformSelectionsService','decrypt','liveShareNewHost','FETCH_MISS','catch','csAckEvent','push','_incrementRevisionNumber','reverse','_onConnectionOpen','_onCombEvent','COMPRESS_MUTATION_SEND','encrypt','OFFLINE','type','MSG_FOR_ERROR','image/png','SHA1','ciphertext','execute','authzUrl','[CollaborationSession]','[CollaborationEntity]','BASE64','list','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ONLINE','_retryConnectingTimer','editing\x20status\x20changed\x20to','_socket$','get','_nDataBytes','UNIVER_SHEET','range','univer-pro.collaboration-client.network-condition.service','OpenSSL','setShowComponents','lib','randomBytes','416KIVcwe','joinRsp','updateCursorEvent','focused$','json','getTypeOfUnitAdded$','APPLY_NON_SEQUENTIAL_REVISION','_members$','CHANGESET_REJ','roomInfos','headers','_type','_clearRetryConnectingTimer','keySize','UnitEmbedded','collaboratorID','isPermissionRej','_rescheduleHeartbeat','JOIN_ROOM_FULL','complete','_commandService','saveSheetBlock','_clearCollaborationTimeoutTimer','mode','onTransformState','AWAITING_WITH_PENDING','socket\x20close','commentUpdate$','1376400dySwsY','getMemberID','onRemoteAck','createSocket','hostname','getUnitOnRev','socket\x20open.','_emitMembers','_unlockTransition','synced','baseRev','&to=','withCredentials','status','INVITE_CODE_HAS_BEEN_UES','localeService','_permissionService','_sendHeartbeat','disposeWithMe','prototype','sid','getUnit','_updateState','UNIVER_PROJECT','_snapshotServerService','onlyLocal','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','state$','onSendChangeset','csShouldRetryEvent','cmd','SOCKET_FAILED_RETRY','replace','onload','toggleOnline','state','BlockCipher','PENDING','_changesetReqId','Cipher','roles','min','onStateChange','src','_replaceFileID','Pkcs7','_transformService','originalMeta','getUnitType','_getCtorByUniverType','_doCryptBlock','image/gif','rev','name','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','set','UNDEFINED','encodeURIComponent','COMPLETION_FINISHED','sigBytes','_pendingMutations','Base','MUTATION','onRemoteChangeset','reqId','onMissingChangesets','_networkConditionService','c1Prime','_getCurrentRevision','JOIN','updatePermissionPoint','HEARTBEAT_TIMEOUT','getUnitId','body','startTime','_revisionService','crypto','close$','_getUndoStack','[CollaborationUndoRedoService]','rng','transformStack\x20failed!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/unit/','send','_key','_decreaseWaiting','_clearTimeoutTimer','BlockCipherMode','_getAPIPrefix','[DataLoaderService]','AES','&source=','getRandomValues','collaborators','clear','SHOULD_CLOSE_CONN','_isPermissionRej','PERMISSION_DENIED','revision','_iv','sendChangesetTimeout','_toggleOnline','ERROR_IMAGE','forEach','subject','max','LIVESHARE_TERMINATE','EvpKDF','apply','_roomMembers','_getLoginPath','COLLAB_WEB_SOCKET_URL','_getDownloadEndpointURL','_transformStateCache','ws://127.0.0.1:8000/universer-api/comb/connect','post','_resendTimer','_throwTelemetryCollaborationNewChangeset','COMMENT_UPDATE','_updateStatus','reconnect','session.join-failed','GLOBAL_ROOMS_CNT_EXCEEDS','_initMergeInterceptor','[CollaborationState]:\x20apply\x20error!','INVALID_INVITE_CODE','initWorkbookPermissionChange','$super','CONFLICT','_onRemoteRejected','LICENSE_IMPORT_SIZE_EXCEEDED','requestParams','getCurrentUser','from','_transformRemoteChangesetByIMECache','onMissedChangesetFetched','objectType','_replayCachedMutations','collaMsg','UnitSnapshot','_clearLocalCache','session.room-permission-denied','getImage','[PendingState]:\x20received\x20rejection.','blockSize','collaboration_new_changeset','onRemoteRetry','_singleActiveUnitService','UPDATE_PERMISSION_OBJ','_onRemoteACK','NEW_CHANGESETS','_checkMissing','_awaitingChangeset','_shouldReportTelemetry','LOGIN_URL_KEY','readInt32LE','43525ibzTyf','awaiting_with_pending','_remoteChangesetQueue','image/jpg','toggleOffline','signUrlServerUrl','HmacMD5','_data','UUID','charCodeAt','_doFinalize','SUBMIT_CHANGESET_TIMEOUT','mixIn','enableOfflineEditing','?size=','/resources','fetch_missing','ceil','_onRecvEvent','HMAC','setCurrentUser','_sendingTimer','/universer-api/snapshot','createDecryptor','_httpService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Failed\x20to\x20update\x20permission\x20point','CONNECTOR_DATA_TOO_LARGE','href','{fileID}','indexOf','_localCacheService','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','getImageSourceCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_resendWithTimeout','getDeserializedSheetBlock','_submitChangeset','_transformRemoteChangesetByStateCache','fetchThroughInterceptors','stringify','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','resend','Univer','_toggleOffline','file','_lockTransition','floor','removeMember','awaitingChangeset','_createHelper','socketService','createCollaborator','_members','_entities','fetchMissingChangesets','image/bmp','batchAllowed','_prevBlock','_imageSourceCache','offline','?url=','clone','_collabSessionService','createEncryptor','submit\x20changeset\x20error!','memberID','_applyRemoteChangeset','FileId','APPLY_PERMISSION_DENIED','__creator','_stopTelemetryCollaborationNewChangeset','words','toString','50PzAeRi','find','RECV','key','Decryptor','UserProfileImg','_ENC_XFORM_MODE','OTHER_CLIENTS_EDITING','extend','JOINING','CHANGESET_REVISION_CONFILICT','SUBMIT_CHANGESET','_transformStack','getFocusedUnit','_updateLocalCache','167377KPaoma','_listenToNetworkCondition','_reverseMap','/allowed','[FetchMissState]','20XvlRjp','addHandlerCallback','CHANGESET_ACK','_HTTPService','sessionStatus','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','readAsDataURL','unsubscribe','_handlerCallback','_keySchedule','finalize','hasOwnProperty','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','objects','USERS_LEAVE','_process','transformSelections','loadOfflineData','_map','collaboration-client.config','_memberService','/universer-api/uniscript','error$','create','changesets','UNIVER_DOC','getMember','Hasher','_getRedoStack','values','charAt','_executeRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','_iKey','_collaborationPaused','add','msCrypto','INGEST','_invKeySchedule','responseType','loadDoc','uploadFileServerUrl','action','Latin1','reset','kdf','downloadEndpointUrl','collabSubmitChangesetUrl','UNRECOGNIZED','_change$','_createSocket','code','objectID','open$','x-univer-host','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_resendTimeout','__Key__','getCurrentSelections','_candidateSocket','status$','_socketReady','_unitInfo$','unitInfo$','conflict','[CollaborationSessionService]:\x20socket\x20error','m2Prime','_socketMessageSubscription','_onRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','_xformMode','connection\x20error','location','_roomCreated$','saveImage','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','closeSession','bind','_onRemoteRetry','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','equals','toLowerCase','LEAVE','_initUnitPermissionChange','parse','FETCH_MISSING','_joinRoom','_status$','/universer-api/file/{fileID}/sign-url','concat','_sessions','_createHandler','SUCCUSS','\x20-\x20','/role','COLLAB_SUBMIT_CHANGESET_URL','_doReset','isArray','INVITE_CODE_REQUIRED','30tXtMGB','listCollaborators','_append','avatar','stopTime','INVALID_ARGUMENT','_socket','image/jpeg','Base64','SEND_CHANGESET_TIMEOUT','HttpExport','loadSheet','localCacheService','/universer-api/authz','patch','_showConflictNotification','abs','then','_univerInstanceService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','uniscriptRunEvent','APPLY_REJECT','Utf8','YUUMI_URL_COL_OUT_OF_RANGE','byteLength','_disableEditing','url','Encryptor','unitId\x20is\x20not\x20found','[OfflineState]:\x20received\x20rejection.','/block/','filter','_substituteRedoStack','291395SVSlHh','has','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateMember','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','message$','generateRandomId','appendMutation','registerHTTPInterceptor','INTERNAL_ERROR','univer-pro.collaboration-client-socket-service','_sessionStatus$','unpad','getTime','loginUrlKey','onTransformIME','confirm','LOGIN_FAILED','NO_OTHER_CLIENTS_EDITING','SerializableCipher','USERS_ENTER','_onMessage','_snapshotService','params','LICENSE_MAX_UNITS_EXCEEDED','buffer','_scheduleCollaborationTimeoutTimer','clamp','_socketService','WordArray','FAIL','SNAPSHOT_URL_KEY','_getSendChangesetTimeout','_tryEnsureSocket','_telemetryInfo','CipherParams','_telemetryService','setConfig','findIndex','COMPRESS_MUTATION_APPLY','eventID','SNAPSHOT_SERVER_URL_KEY','actions','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state','HEARTBEAT','POST','event$','reduce','format','now','_getUploadFileURL','_hasher','_collaborationSessionService','onRemoteRej','SYNCED','_removeRoom','[SyncedState]:\x20received\x20acknowledgement.','enableAuthServer','onTransformSelections','byteOffset','enableSingleActiveInstanceLock','result','_commentService','transformUndoRedo','MD5','\x0aAfter:\x20'];_0x3925=function(){return _0x69ef8b;};return _0x3925();}function _0x4e95(_0xa58b52,_0x5ad386){var _0x392554=_0x3925();return _0x4e95=function(_0x4e9503,_0x11f05e){_0x4e9503=_0x4e9503-0x67;var _0x4dabe8=_0x392554[_0x4e9503];return _0x4dabe8;},_0x4e95(_0xa58b52,_0x5ad386);}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x54b213,_0x4e7b4d,_0x31bf26,_0x281967)=>{var _0x525d4f=_0x4a7870;for(var _0x486cb6=_0x281967>0x1?void 0x0:_0x281967?zs(_0x4e7b4d,_0x31bf26):_0x4e7b4d,_0xe3d16f=_0x54b213[_0x525d4f(0x30e)]-0x1,_0xe27dc4;_0xe3d16f>=0x0;_0xe3d16f--)(_0xe27dc4=_0x54b213[_0xe3d16f])&&(_0x486cb6=_0xe27dc4(_0x486cb6)||_0x486cb6);return _0x486cb6;},Xs=(_0x2979cd,_0x5c3ee9)=>(_0x535fcd,_0x47b42a)=>_0x5c3ee9(_0x535fcd,_0x47b42a,_0x2979cd);let at=class{constructor(_0x1be315){var _0x55387a=_0x4a7870;this[_0x55387a(0x1aa)]=_0x1be315,this[_0x55387a(0x97)]();}['_initRequestHeader'](){var _0x534309=_0x4a7870;this[_0x534309(0x1aa)][_0x534309(0x282)]({'interceptor':(_0x351182,_0x5be2a2)=>{var _0x3903fd=_0x534309;const _0x379580=_0x351182[_0x3903fd(0xe2)],_0x5a3db1=qs();return _0x5a3db1&&_0x379580[_0x3903fd(0x12c)](_0x3903fd(0x22a),_0x5a3db1),_0x5be2a2(_0x351182);}});}};at=Js([Xs(0x0,_0x1f73e(_0x12260a))],at);var Zs=Object[_0x4a7870(0x31c)],Qs=(_0x3ebc6b,_0x129cb1,_0x16c025,_0x4e3d2a)=>{var _0x27dc1d=_0x4a7870;for(var _0x33d369=_0x4e3d2a>0x1?void 0x0:_0x4e3d2a?Zs(_0x129cb1,_0x16c025):_0x129cb1,_0x59096d=_0x3ebc6b[_0x27dc1d(0x30e)]-0x1,_0x4734d2;_0x59096d>=0x0;_0x59096d--)(_0x4734d2=_0x3ebc6b[_0x59096d])&&(_0x33d369=_0x4734d2(_0x33d369)||_0x33d369);return _0x33d369;},mt=(_0x3a32d4,_0x14d10b)=>(_0x1aa550,_0x3de69a)=>_0x14d10b(_0x1aa550,_0x3de69a,_0x3a32d4);let bt=class extends _0x552706{constructor(_0x51e7e6,_0x14b27f,_0x3b9708){var _0x407e6b=_0x4a7870;super(),N(this,_0x407e6b(0x232),new _0x5b211c(null)),N(this,_0x407e6b(0x233),this['_unitInfo$'][_0x407e6b(0x240)]()),(this[_0x407e6b(0x2d5)]=_0x51e7e6,this[_0x407e6b(0x290)]=_0x14b27f,this['_localCacheService']=_0x3b9708);}async['loadUnit'](_0x3bbc3a,_0x1c6f19,_0xae8433){var _0x12b1fb=_0x4a7870;this[_0x12b1fb(0x232)]['next']({'unitId':_0x3bbc3a,'type':_0x1c6f19,'subUnitId':_0xae8433});let _0x256c62=null;switch(_0x1c6f19){case Q['UNIVER_SHEET']:{_0x256c62=await this[_0x12b1fb(0x36d)](_0x3bbc3a);break;}case Q['UNIVER_DOC']:{_0x256c62=await this['_loadDoc'](_0x3bbc3a);break;}default:{this['_logService'][_0x12b1fb(0x95)](_0x12b1fb(0x14f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x256c62;}async[_0x4a7870(0x36d)](_0x249895){var _0x37d29d=_0x4a7870,_0x3083c1;let _0x1c19db=0x0;const _0x2321e7=await((_0x3083c1=this[_0x37d29d(0x1b1)])==null?void 0x0:_0x3083c1['loadOfflineData'](_0x249895));return _0x2321e7&&(_0x2321e7[_0x37d29d(0x1c4)]||_0x2321e7['mutations'][_0x37d29d(0x30e)]!==0x0)&&(_0x1c19db=_0x2321e7[_0x37d29d(0x128)]),_0x1c19db===0x0&&this['_logService'][_0x37d29d(0x343)](_0x37d29d(0x14f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x37d29d(0x263)](_0x249895,_0x1c19db);}async['_loadDoc'](_0x17f6f4){var _0x36ee28=_0x4a7870,_0x2bf515;let _0x4000d3=0x0;const _0x18d249=await((_0x2bf515=this[_0x36ee28(0x1b1)])==null?void 0x0:_0x2bf515[_0x36ee28(0x203)](_0x17f6f4));return _0x18d249&&(_0x18d249['awaitingChangeset']||_0x18d249['mutations']['length']!==0x0)&&(_0x4000d3=_0x18d249[_0x36ee28(0x128)]),_0x4000d3===0x0&&this[_0x36ee28(0x2d5)][_0x36ee28(0x343)](_0x36ee28(0x14f),_0x36ee28(0x342)),this[_0x36ee28(0x290)][_0x36ee28(0x21c)](_0x17f6f4,_0x4000d3);}};bt=Qs([mt(0x0,_0x3f1fd1),mt(0x1,_0x1f73e(_0x55dbca)),mt(0x2,_0x1717ac(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x38b445,_0x363d8a,_0x4d046d,_0x564bea)=>{var _0xfdef72=_0x4a7870;for(var _0x3441a5=_0x564bea>0x1?void 0x0:_0x564bea?er(_0x363d8a,_0x4d046d):_0x363d8a,_0x491113=_0x38b445[_0xfdef72(0x30e)]-0x1,_0x47e7fa;_0x491113>=0x0;_0x491113--)(_0x47e7fa=_0x38b445[_0x491113])&&(_0x3441a5=_0x47e7fa(_0x3441a5)||_0x3441a5);return _0x3441a5;},gt=(_0x246d65,_0x35559a)=>(_0x157bb0,_0xf17624)=>_0x35559a(_0x157bb0,_0xf17624,_0x246d65);const ir=[_0x4a7870(0xc1),_0x4a7870(0x25f),_0x4a7870(0x195),_0x4a7870(0x127),_0x4a7870(0x1cb)],nr=0x5*0x400*0x400,sr=_0x4a7870(0x1b5),rr=_0x4a7870(0x9e),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x4a7870(0x24d);let yt=class{constructor(_0x52879,_0x559c0a,_0x591782){var _0x2d5d5e=_0x4a7870;N(this,_0x2d5d5e(0x35f),0x0),N(this,_0x2d5d5e(0x225),new _0x4231ca()),N(this,_0x2d5d5e(0x351),this[_0x2d5d5e(0x225)]),N(this,'_imageSourceCache',new Map()),(this[_0x2d5d5e(0x1aa)]=_0x52879,this[_0x2d5d5e(0x79)]=_0x559c0a,this[_0x2d5d5e(0x26a)]=_0x591782);}[_0x4a7870(0x323)](_0x238991){var _0x546029=_0x4a7870;this['_waitCount']=_0x238991,this[_0x546029(0x225)][_0x546029(0x331)](_0x238991);}[_0x4a7870(0x1b4)](_0x4c5d59,_0x2663b8){var _0x5c1fe6=_0x4a7870;if(_0x2663b8===_0x51f4cb['BASE64']){const _0x3a14c2=new Image();return _0x3a14c2[_0x5c1fe6(0x11f)]=_0x4c5d59,_0x3a14c2;}return this['_imageSourceCache'][_0x5c1fe6(0xcf)](_0x4c5d59);}['addImageSourceCache'](_0x6e3bb5,_0x1305ec,_0x2309ce){var _0x605b78=_0x4a7870;_0x1305ec===_0x51f4cb[_0x605b78(0xc8)]||_0x2309ce==null||this[_0x605b78(0x1ce)][_0x605b78(0x12c)](_0x6e3bb5,_0x2309ce);}async[_0x4a7870(0x184)](_0x52456a){var _0x165a15=_0x4a7870;try{const _0x3e376e=this[_0x165a15(0x120)](this[_0x165a15(0x32b)](),''+_0x52456a),_0x3c218d=(await this[_0x165a15(0x1aa)][_0x165a15(0xcf)](_0x3e376e))['body'];if(_0x3c218d[_0x165a15(0x95)]&&_0x3c218d[_0x165a15(0x95)][_0x165a15(0x227)]===Si['OK']){const _0x10da57=new URL(_0x3c218d[_0x165a15(0x273)],this[_0x165a15(0x166)]())[_0x165a15(0x1dc)]();return Promise['resolve'](_0x10da57);}return Promise[_0x165a15(0x34c)](_0x3c218d['error']);}catch(_0x388d78){return Promise[_0x165a15(0x34c)](_0x388d78);}}async[_0x4a7870(0x23e)](_0x57f9a2){var _0x39c0f2=_0x4a7870;let _0x1a47c9='';if(!ir['includes'](_0x57f9a2[_0x39c0f2(0xbf)]))return this[_0x39c0f2(0x14b)](),Promise[_0x39c0f2(0x34c)](new Error(_0x1ab0eb[_0x39c0f2(0x2c2)]));if(_0x57f9a2[_0x39c0f2(0x2ce)]>nr)return this[_0x39c0f2(0x14b)](),Promise[_0x39c0f2(0x34c)](new Error(_0x1ab0eb['ERROR_EXCEED_SIZE']));try{const _0x804647=new FormData();_0x804647[_0x39c0f2(0x2d9)](_0x39c0f2(0x1c0),_0x57f9a2);const _0x1caee5=this[_0x39c0f2(0x26a)][_0x39c0f2(0x1ea)](),_0x23138e=_0x1caee5==null?void 0x0:_0x1caee5[_0x39c0f2(0x13d)]();if(!_0x23138e)throw new Error(_0x39c0f2(0x275));const _0xe5d0ab=this[_0x39c0f2(0x2ad)]()+_0x39c0f2(0x1a0)+_0x57f9a2[_0x39c0f2(0x2ce)][_0x39c0f2(0x1dc)]()+_0x39c0f2(0x151)+Ei[_0x39c0f2(0xe6)]+_0x39c0f2(0x92)+encodeURIComponent(_0x23138e),_0x7f93a0=await(await fetch(_0xe5d0ab,{'method':_0x39c0f2(0x2a8),'body':_0x804647}))[_0x39c0f2(0xdc)]();if(typeof _0x7f93a0[_0x39c0f2(0x1d7)]!=_0x39c0f2(0x32d))return this[_0x39c0f2(0x14b)](),Promise[_0x39c0f2(0x34c)](new Error(_0x1ab0eb[_0x39c0f2(0x15c)]));_0x1a47c9=_0x7f93a0[_0x39c0f2(0x1d7)];}catch{return this['_decreaseWaiting'](),Promise[_0x39c0f2(0x34c)](new Error(_0x1ab0eb[_0x39c0f2(0x15c)]));}return new Promise((_0x14581e,_0x489236)=>{var _0xff46bd=_0x39c0f2;const _0x34218c=new FileReader();_0x34218c[_0xff46bd(0x1f8)](_0x57f9a2),_0x34218c[_0xff46bd(0x115)]=_0x3b8aac=>{var _0x2a055f=_0xff46bd,_0x2e7d95;const _0x22c418=(_0x2e7d95=_0x3b8aac['target'])==null?void 0x0:_0x2e7d95[_0x2a055f(0x2b8)];if(_0x22c418==null){this[_0x2a055f(0x14b)](),_0x489236(new Error(_0x1ab0eb['ERROR_IMAGE']));return;}const _0x584bd6=_0x18a052[_0x2a055f(0x280)](0x6);_0x14581e({'imageId':_0x584bd6,'imageSourceType':_0x51f4cb[_0x2a055f(0x19a)],'source':_0x1a47c9,'base64Cache':_0x22c418,'status':_0x1ab0eb[_0x2a055f(0x251)]}),this[_0x2a055f(0x14b)]();};});}[_0x4a7870(0x2ad)](){var _0x18e7cf=_0x4a7870,_0x5e7b11,_0x455073;const _0x2ef306=this[_0x18e7cf(0x79)]['getConfig'](sr),_0x2acd32=this['_configService']['getConfig'](q);return(_0x455073=(_0x5e7b11=_0x2acd32==null?void 0x0:_0x2acd32[_0x18e7cf(0x21d)])!=null?_0x5e7b11:_0x2ef306)!=null?_0x455073:rr;}[_0x4a7870(0x32b)](){var _0x32c7f6=_0x4a7870,_0x54ff09,_0x31e02b;const _0x4606af=this['_configService'][_0x32c7f6(0x2fd)](ar),_0x45d09c=this[_0x32c7f6(0x79)][_0x32c7f6(0x2fd)](q);return(_0x31e02b=(_0x54ff09=_0x45d09c==null?void 0x0:_0x45d09c[_0x32c7f6(0x197)])!=null?_0x54ff09:_0x4606af)!=null?_0x31e02b:or;}[_0x4a7870(0x166)](){var _0x833df2=_0x4a7870,_0x24e785;const _0x86c6c=this[_0x833df2(0x79)]['getConfig'](q);return(_0x24e785=_0x86c6c==null?void 0x0:_0x86c6c[_0x833df2(0x222)])!=null?_0x24e785:location[_0x833df2(0x2e5)];}['_replaceFileID'](_0x5b5d6e,_0x5ab5a1){var _0x2ebc40=_0x4a7870;return _0x5b5d6e[_0x2ebc40(0x114)](_0x2ebc40(0x1af),_0x5ab5a1);}[_0x4a7870(0x14b)](){var _0x1ba200=_0x4a7870;this[_0x1ba200(0x35f)]-=0x1,this[_0x1ba200(0x225)][_0x1ba200(0x331)](this[_0x1ba200(0x35f)]);}};yt=tr([gt(0x0,_0x1f73e(_0x12260a)),gt(0x1,_0x146073),gt(0x2,_0x1f73e(_0x4e4cca))],yt);var cr=Object[_0x4a7870(0x31c)],hr=(_0x501760,_0x2332a3,_0x53c181,_0x5d7ad1)=>{var _0x43ce5a=_0x4a7870;for(var _0x1e76da=_0x5d7ad1>0x1?void 0x0:_0x5d7ad1?cr(_0x2332a3,_0x53c181):_0x2332a3,_0x1fb0cd=_0x501760[_0x43ce5a(0x30e)]-0x1,_0x2b1f39;_0x1fb0cd>=0x0;_0x1fb0cd--)(_0x2b1f39=_0x501760[_0x1fb0cd])&&(_0x1e76da=_0x2b1f39(_0x1e76da)||_0x1e76da);return _0x1e76da;},hi=(_0x50a595,_0xf0e62f)=>(_0x3c578,_0x4ce6e2)=>_0xf0e62f(_0x3c578,_0x4ce6e2,_0x50a595);const _r=_0x4a7870(0x265);let Ot=class{constructor(_0x12d9e0,_0x3aee37){var _0x3efae7=_0x4a7870;this[_0x3efae7(0x79)]=_0x12d9e0,this[_0x3efae7(0x1f4)]=_0x3aee37;}[_0x4a7870(0x26c)](){var _0x58d397=_0x4a7870,_0x575a1a,_0x4725f7;const _0x126e41=this[_0x58d397(0x79)]['getConfig'](Ni),_0x4f114a=this[_0x58d397(0x79)][_0x58d397(0x2fd)](q);return(_0x4725f7=(_0x575a1a=_0x4f114a==null?void 0x0:_0x4f114a[_0x58d397(0xc5)])!=null?_0x575a1a:_0x126e41)!=null?_0x4725f7:_r;}async[_0x4a7870(0xc9)](_0x443a94){var _0x3298bf=_0x4a7870;const _0xbc838f=this[_0x3298bf(0x26c)]()+_0x3298bf(0x318);return{'list':[{'title':_0x3298bf(0x357),'mentions':(await this['_HTTPService'][_0x3298bf(0xcf)](_0xbc838f,{'params':{'objectID':_0x443a94[_0x3298bf(0x98)],'unitID':_0x443a94[_0x3298bf(0x98)]}}))[_0x3298bf(0x13e)][_0x3298bf(0x153)]['map'](_0x55101c=>({'objectId':_0x55101c['id'],'name':_0x55101c[_0x3298bf(0x15e)][_0x3298bf(0x129)],'metadata':{'icon':_0x55101c[_0x3298bf(0x15e)][_0x3298bf(0x25b)]},'label':_0x55101c['subject'][_0x3298bf(0x129)],'objectType':_0x4b3471['PERSON']})),'metadata':{},'type':_0x4b3471['PERSON']}]};}};Ot=hr([hi(0x0,_0x1f73e(_0x146073)),hi(0x1,_0x1f73e(_0x12260a))],Ot);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x3bea33,_0x3b2f2d,_0x30b368,_0x2942ea)=>{var _0x452036=_0x4a7870;for(var _0x293d04=_0x2942ea>0x1?void 0x0:_0x2942ea?lr(_0x3b2f2d,_0x30b368):_0x3b2f2d,_0x373c99=_0x3bea33[_0x452036(0x30e)]-0x1,_0x49aef6;_0x373c99>=0x0;_0x373c99--)(_0x49aef6=_0x3bea33[_0x373c99])&&(_0x293d04=_0x49aef6(_0x293d04)||_0x293d04);return _0x293d04;},we=(_0x42725c,_0x439a60)=>(_0x2b5224,_0xce258e)=>_0x439a60(_0x2b5224,_0xce258e,_0x42725c);let ot=class extends _0x552706{constructor(_0x59aa3e,_0x2c04ca,_0x458e00,_0x469c06,_0x3e4ddb){var _0x1cf549=_0x4a7870;super(),this[_0x1cf549(0x12b)]=_0x59aa3e,this[_0x1cf549(0x26a)]=_0x2c04ca,this[_0x1cf549(0x104)]=_0x458e00,this['_collaborationSessionService']=_0x469c06,this['_collaborationUIEventService']=_0x3e4ddb,this[_0x1cf549(0x248)](),this[_0x1cf549(0x33d)]();}[_0x4a7870(0x33d)](){var _0x3bf905=_0x4a7870;const _0xbbfbf0=async _0x4531c6=>{var _0x5ada54=_0x4e95;(await this['_collaborationSessionService'][_0x5ada54(0x2e4)](_0x4531c6))[_0x5ada54(0x2a9)]['pipe'](_0x41c382(_0x35b5af=>_0x35b5af[_0x5ada54(0x2a2)]===_0x16fad4['SHOULD_CLOSE_CONN']),_0xf5ca8a(this[_0x5ada54(0x347)]))[_0x5ada54(0x34a)](_0x1c4147=>{var _0x4471c4=_0x5ada54;const _0x1e80f7=_0x1c4147,{reason:_0x1fd891}=_0x1e80f7['data'];this[_0x4471c4(0x352)][_0x4471c4(0x93)]({'id':re[_0x4471c4(0x35d)],'data':_0x1fd891}),this[_0x4471c4(0x104)]['updatePermissionPoint'](new _0x46236e(_0x4531c6)['id'],!0x1),this[_0x4471c4(0x2af)][_0x4471c4(0x241)](_0x4531c6);});};_0xb58c91(this[_0x3bf905(0x26a)]['getTypeOfUnitAdded$'](_0x56caf9[_0x3bf905(0xd1)]),this[_0x3bf905(0x26a)][_0x3bf905(0xdd)](_0x56caf9[_0x3bf905(0x20b)]))[_0x3bf905(0x300)](_0x1a9763(_0x803b92=>_0x803b92['getUnitId']()),_0x41c382(_0x130f27=>!_0x410ce2(_0x130f27)),_0xf5ca8a(this[_0x3bf905(0x347)]))['subscribe'](_0xfdc18=>{_0xbbfbf0(_0xfdc18);});}[_0x4a7870(0x248)](){var _0x6d6a2f=_0x4a7870;const _0x2938fa=async _0x21f98b=>{var _0x55e174=_0x4e95;const _0x4dcd5c=await this['_collaborationSessionService'][_0x55e174(0x2e4)](_0x21f98b),_0x5c3015=this[_0x55e174(0x12b)]['get'](_0x2d9a69);_0x4dcd5c['event$'][_0x55e174(0x300)](_0x41c382(_0x3529a0=>_0x3529a0['eventID']===_0x16fad4[_0x55e174(0x18a)]),_0xf5ca8a(this[_0x55e174(0x347)]))[_0x55e174(0x34a)](_0x4ce56d=>{var _0x588e02=_0x55e174;const _0x5a6534=_0x4ce56d,{objectId:_0xc35a26}=_0x5a6534[_0x588e02(0x361)];_0xc35a26===_0x21f98b?_0x5c3015[_0x588e02(0x174)](_0x21f98b):_0x5c3015[_0x588e02(0x33a)](_0x21f98b,_0xc35a26);});};_0xb58c91(this[_0x6d6a2f(0x26a)][_0x6d6a2f(0xdd)](_0x56caf9[_0x6d6a2f(0xd1)]))[_0x6d6a2f(0x300)](_0x1a9763(_0x2e8174=>_0x2e8174[_0x6d6a2f(0x13d)]()),_0x41c382(_0xfb74a3=>!_0x410ce2(_0xfb74a3)),_0xf5ca8a(this[_0x6d6a2f(0x347)]))[_0x6d6a2f(0x34a)](_0x49e3a1=>{_0x2938fa(_0x49e3a1);});}};ot=ur([we(0x0,_0x1f73e(_0xdfa2fc)),we(0x1,_0x4e4cca),we(0x2,_0x41bc55),we(0x3,_0x1f73e(xe)),we(0x4,_0x1f73e(pe))],ot);var dr=Object[_0x4a7870(0x31c)],fr=(_0x37cece,_0x36bde6,_0x4e5e14,_0x491e44)=>{var _0x2d3ed8=_0x4a7870;for(var _0x4fae89=_0x491e44>0x1?void 0x0:_0x491e44?dr(_0x36bde6,_0x4e5e14):_0x36bde6,_0x5b4059=_0x37cece[_0x2d3ed8(0x30e)]-0x1,_0x35ebae;_0x5b4059>=0x0;_0x5b4059--)(_0x35ebae=_0x37cece[_0x5b4059])&&(_0x4fae89=_0x35ebae(_0x4fae89)||_0x4fae89);return _0x4fae89;},_i=(_0x47b1c3,_0x32dfb1)=>(_0x3c57af,_0x256111)=>_0x32dfb1(_0x3c57af,_0x256111,_0x47b1c3);let Nt=class{constructor(_0x3dfb9e,_0x37dcf6){var _0x28750e=_0x4a7870;this[_0x28750e(0x79)]=_0x3dfb9e,this['_httpService']=_0x37dcf6;}async[_0x4a7870(0xf9)](_0x409057,_0x1439ce){var _0x3d9957=_0x4a7870,_0x388030;const {unitID:_0x4dcebd,type:_0x11049e,revision:_0x3e97e4=0x0}=_0x1439ce,_0x4d6bb6=this['getSnapshotAPIPath']()+'/'+_0x11049e+_0x3d9957(0x148)+_0x4dcebd+'/rev/'+_0x3e97e4,_0x2deb83=(await this[_0x3d9957(0x1aa)][_0x3d9957(0xcf)](_0x4d6bb6))[_0x3d9957(0x13e)],_0x28a276=(_0x388030=_0x2deb83[_0x3d9957(0x315)])==null?void 0x0:_0x388030['workbook'];if(_0x28a276){const _0xe28f02=_0x28a276==null?void 0x0:_0x28a276[_0x3d9957(0x123)],_0x4f54e7=_0x279e49[_0x3d9957(0x34d)](_0x236eb4(_0xe28f02));_0x28a276[_0x3d9957(0x123)]=_0x4f54e7,Object[_0x3d9957(0x8f)](_0x28a276[_0x3d9957(0x9c)])[_0x3d9957(0x15d)](([,_0x1dc27f])=>{var _0x5938a9=_0x3d9957;const _0x433089=_0x1dc27f[_0x5938a9(0x123)],_0x5bfcc2=_0x279e49[_0x5938a9(0x34d)](_0x236eb4(_0x433089));_0x1dc27f[_0x5938a9(0x123)]=_0x5bfcc2;});}return _0x2deb83;}async[_0x4a7870(0x2f8)](_0xd421d5,_0x356a26){var _0x314642=_0x4a7870;const {unitID:_0x50cca6,type:_0x3d68c6,blockID:_0x45cb06}=_0x356a26,_0xfb78c9=this['_getAPIPrefix']()+'/'+_0x3d68c6+_0x314642(0x148)+_0x50cca6+_0x314642(0x277)+_0x45cb06;return(await this[_0x314642(0x1aa)]['get'](_0xfb78c9))[_0x314642(0x13e)];}async[_0x4a7870(0x1b7)](_0x1381ae,_0x491fa5){var _0x46a16c=_0x4a7870;const {unitID:_0x49c5e4,type:_0x37e8e5,blockID:_0x47863d}=_0x491fa5,_0x23682c=this[_0x46a16c(0x14e)]()+_0x46a16c(0x277)+_0x37e8e5+_0x46a16c(0x148)+_0x49c5e4+'/block/'+_0x47863d;return(await this[_0x46a16c(0x1aa)][_0x46a16c(0xcf)](_0x23682c))[_0x46a16c(0x13e)];}async[_0x4a7870(0x1ca)](_0x5d9d2e,_0xb86521){var _0x4cf71b=_0x4a7870;const {unitID:_0x45e5dc,type:_0x5c755c,from:_0x3291c8,to:_0x1f69e6}=_0xb86521,_0x317edb=this[_0x4cf71b(0x14e)]()+'/'+_0x5c755c+'/unit/'+_0x45e5dc+_0x4cf71b(0x2ca)+_0x3291c8+_0x4cf71b(0xff)+_0x1f69e6;return(await this[_0x4cf71b(0x1aa)]['get'](_0x317edb))[_0x4cf71b(0x13e)];}[_0x4a7870(0x99)](){var _0x22f871=_0x4a7870,_0x116ec2;return(_0x116ec2=this[_0x22f871(0x79)]['getConfig'](Sn))!=null?_0x116ec2:this[_0x22f871(0x14e)]();}[_0x4a7870(0x14e)](){var _0x726df1=_0x4a7870,_0x6abc90,_0x4886fd;const _0x424c12=this[_0x726df1(0x79)][_0x726df1(0x2fd)](mn),_0x274d79=this[_0x726df1(0x79)][_0x726df1(0x2fd)](q);return(_0x4886fd=(_0x6abc90=_0x274d79==null?void 0x0:_0x274d79['snapshotServerUrl'])!=null?_0x6abc90:_0x424c12)!=null?_0x4886fd:gn;}async[_0x4a7870(0x30f)](_0x80038c,_0x4dba4a){var _0x5cd30c=_0x4a7870;const _0x10b61a=_0x5cd30c(0x358)+_0x4dba4a[_0x5cd30c(0xbf)]+_0x5cd30c(0x148)+_0x4dba4a[_0x5cd30c(0x2da)]+_0x5cd30c(0x1a1);return(await this['_httpService'][_0x5cd30c(0xcf)](_0x10b61a,{'params':{'resourceId':JSON['stringify'](_0x4dba4a['resourceIDs'])}}))[_0x5cd30c(0x13e)];}['saveSnapshot'](){var _0x7453cc=_0x4a7870;throw new Error(_0x7453cc(0x212));}[_0x4a7870(0xed)](){var _0x1a1670=_0x4a7870;throw new Error(_0x1a1670(0x212));}['saveChangeset'](){var _0x27b8ec=_0x4a7870;throw new Error(_0x27b8ec(0x212));}[_0x4a7870(0xab)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a7870(0x2fb)](){var _0xeb2b4c=_0x4a7870;throw new Error(_0xeb2b4c(0x212));}};Nt=fr([_i(0x0,_0x146073),_i(0x1,_0x1f73e(_0x12260a))],Nt);var vr=Object[_0x4a7870(0x31c)],pr=(_0x10f98b,_0xc0a652,_0x3a1879,_0x34e5fd)=>{var _0x1c7732=_0x4a7870;for(var _0x43a66a=_0x34e5fd>0x1?void 0x0:_0x34e5fd?vr(_0xc0a652,_0x3a1879):_0xc0a652,_0x1827dd=_0x10f98b[_0x1c7732(0x30e)]-0x1,_0x579e27;_0x1827dd>=0x0;_0x1827dd--)(_0x579e27=_0x10f98b[_0x1827dd])&&(_0x43a66a=_0x579e27(_0x43a66a)||_0x43a66a);return _0x43a66a;},Pe=(_0x12c11c,_0x573027)=>(_0x515c95,_0xc98d5d)=>_0x573027(_0x515c95,_0xc98d5d,_0x12c11c);let Dt=class extends _0xe3e69c{constructor(_0x7097bc,_0x4d7085,_0x56c1a7,_0x1d0838,_0x183b9f){var _0x3f99bb=_0x4a7870;super(_0x7097bc,_0x4d7085,_0x56c1a7),this['_transformService']=_0x1d0838,this[_0x3f99bb(0x2d5)]=_0x183b9f;}[_0x4a7870(0x2ba)](_0xe11174,_0x18d07f){var _0x319512=_0x4a7870;const _0x5bb6f9=this[_0x319512(0x143)](_0xe11174);if(_0x5bb6f9)try{const _0x59e7e1=this[_0x319512(0x1e9)](_0x5bb6f9,_0x18d07f);this[_0x319512(0x306)](_0xe11174,_0x59e7e1);}catch(_0x1a5612){this['_logService'][_0x319512(0x95)](_0x319512(0x144),_0x1a5612),this[_0x319512(0x32a)](_0xe11174);}const _0x45078f=this[_0x319512(0x20e)](_0xe11174);if(_0x45078f)try{const _0x14acfb=this[_0x319512(0x1e9)](_0x45078f,_0x18d07f);this['_substituteRedoStack'](_0xe11174,_0x14acfb);}catch(_0x3d2714){this[_0x319512(0x2d5)][_0x319512(0x95)](_0x3d2714),this[_0x319512(0x67)](_0xe11174);}}['_clearUndo'](_0x45429d){var _0x2fc1a3=_0x4a7870;const _0x3ac097=this[_0x2fc1a3(0x143)](_0x45429d);_0x3ac097&&(_0x3ac097[_0x2fc1a3(0x30e)]=0x0,this[_0x2fc1a3(0x16d)]());}[_0x4a7870(0x67)](_0x24d8ae){var _0x39cb9a=_0x4a7870;const _0x1aada4=this[_0x39cb9a(0x20e)](_0x24d8ae);_0x1aada4&&(_0x1aada4['length']=0x0,this[_0x39cb9a(0x16d)]());}[_0x4a7870(0x306)](_0x15f4b6,_0x186c69){var _0xcea988=_0x4a7870;this['_undoStacks'][_0xcea988(0x12c)](_0x15f4b6,_0x186c69),this['_updateStatus']();}[_0x4a7870(0x279)](_0x5ab712,_0x337272){var _0x48976d=_0x4a7870;this['_redoStacks'][_0x48976d(0x12c)](_0x5ab712,_0x337272),this['_updateStatus']();}[_0x4a7870(0x1e9)](_0x54a78b,_0x236fe9){var _0x3892a6=_0x4a7870;const _0x5eea16=[];let _0x61f0f6=_0x236fe9,_0x5b9575=_0x236fe9;for(let _0x41434b=_0x54a78b['length']-0x1;_0x41434b>=0x0;_0x41434b--){const {unitID:_0x432522,undoMutations:_0x997262,redoMutations:_0x4b2a93}=_0x54a78b[_0x41434b],_0x4cd6b6=this[_0x3892a6(0x122)]['transformMutationsWithChangeset'](_0x61f0f6,_0x997262),_0x3b04a0=this[_0x3892a6(0x122)][_0x3892a6(0x88)](_0x5b9575,_0x4b2a93);if(_0x3021c2(_0x4cd6b6)||_0x3021c2(_0x3b04a0)){this[_0x3892a6(0x2d5)][_0x3892a6(0x95)](_0x3892a6(0x144),_0x3892a6(0x146),_0x4cd6b6,_0x3b04a0);break;}_0x61f0f6=_0x4cd6b6[_0x3892a6(0x138)],_0x5b9575=_0x3b04a0[_0x3892a6(0x138)],_0x5eea16[_0x3892a6(0xb7)]({'unitID':_0x432522,'undoMutations':_0x4cd6b6[_0x3892a6(0x236)],'redoMutations':_0x3b04a0['m2Prime']});}return _0x5eea16[_0x3892a6(0xb9)]();}};Dt=pr([Pe(0x0,_0x4e4cca),Pe(0x1,_0x56813b),Pe(0x2,_0x3e60f3),Pe(0x3,_0x4bd349),Pe(0x4,_0x3f1fd1)],Dt);var mr=Object[_0x4a7870(0x2e7)],gr=Object[_0x4a7870(0x31c)],Sr=(_0x5310cc,_0x1417b9,_0x1fbb69)=>_0x1417b9 in _0x5310cc?mr(_0x5310cc,_0x1417b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fbb69}):_0x5310cc[_0x1417b9]=_0x1fbb69,Er=(_0x59f1a2,_0x2c0607,_0x187709,_0x1e4881)=>{for(var _0x489eba=_0x1e4881>0x1?void 0x0:_0x1e4881?gr(_0x2c0607,_0x187709):_0x2c0607,_0x20e083=_0x59f1a2['length']-0x1,_0x116174;_0x20e083>=0x0;_0x20e083--)(_0x116174=_0x59f1a2[_0x20e083])&&(_0x489eba=_0x116174(_0x489eba)||_0x489eba);return _0x489eba;},St=(_0xacaa3c,_0x2165d6)=>(_0x2b976c,_0x4deb1c)=>_0x2165d6(_0x2b976c,_0x4deb1c,_0xacaa3c),Ir=(_0x12a10f,_0x2c1f1d,_0x8dc261)=>Sr(_0x12a10f,_0x2c1f1d+'',_0x8dc261);const Tr=_0x4a7870(0x2ef);let Ut=class extends _0x18700e{constructor(_0x476382,_0x3815df,_0x5c1540,_0x461941){var _0x42bdf5=_0x4a7870;super(),N(this,_0x42bdf5(0x338)),(this[_0x42bdf5(0x2d5)]=_0x3815df,this[_0x42bdf5(0x12b)]=_0x5c1540,this['_configService']=_0x461941);const {..._0xdac6fb}=_0x402b2b({},wn,_0x476382);if(!_0xdac6fb[_0x42bdf5(0x1c6)])throw new Error(_0x42bdf5(0x244));this['_config']=_0xdac6fb,this['_configService'][_0x42bdf5(0x29f)](q,_0xdac6fb);}['onStarting'](){var _0x543d83=_0x4a7870;this['_registerDependencies'](),this[_0x543d83(0x33b)]();}['_registerDependencies'](){var _0x769676=_0x4a7870,_0x253c23,_0x5a0e82;this[_0x769676(0x12b)][_0x769676(0x27b)](_0x261476)&&this[_0x769676(0x2d5)][_0x769676(0x95)]('[UniverCollaborationClientPlugin]',_0x769676(0xca));const _0x551871=_0x31921a([[_0x261476,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x769676(0x338)][_0x769676(0x1c6)]}],[_0x243317,{'useClass':Nt}],[_0x1b51d2,{'useClass':Rt}],[_0x442fbc,{'useClass':yt}],[_0x3de170,{'useClass':Ot}],[st],[Ct]],(_0x253c23=this[_0x769676(0x338)])==null?void 0x0:_0x253c23[_0x769676(0x6f)]);if(!((_0x5a0e82=this[_0x769676(0x338)])!=null&&_0x5a0e82[_0x769676(0x2b7)])){const _0x2b266c=_0x551871[_0x769676(0x2a0)](([_0x47eb4c])=>_0x47eb4c===ht);_0x2b266c!==-0x1&&_0x551871[_0x769676(0x81)](_0x2b266c,0x1);}_0x56d5bf(this['_injector'],_0x551871);}['_initDependencies'](){var _0x1769b3=_0x4a7870,_0x1a46a8,_0x2aa9ef,_0x16e901;this['_injector'][_0x1769b3(0xcf)](_0x12260a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x238506({'maxParallel':0x6})}),(_0x1a46a8=this[_0x1769b3(0x338)])!=null&&_0x1a46a8[_0x1769b3(0x19f)]||(_0x2aa9ef=this['_injector'][_0x1769b3(0xcf)](J,_0x1240a1['OPTIONAL']))==null||_0x2aa9ef['disableLocalCache'](),(_0x16e901=this[_0x1769b3(0x338)])!=null&&_0x16e901[_0x1769b3(0x2b4)]&&_0x1f409e(this['_injector'],[[rt]]),_0x1f409e(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,_0x4a7870(0x2bf),Tr),Ut=Er([_0x1b5f52(_0x4c7214,_0x288b24),St(0x1,_0x3f1fd1),St(0x2,_0x1f73e(_0xdfa2fc)),St(0x3,_0x146073)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0x40e481=_0x1459;(function(_0x5adee3,_0x1adb96){var _0x2b0f82=_0x1459,_0x315396=_0x5adee3();while(!![]){try{var _0x1c9df4=parseInt(_0x2b0f82(0x3a2))/0x1+-parseInt(_0x2b0f82(0x303))/0x2+-parseInt(_0x2b0f82(0x3a0))/0x3+parseInt(_0x2b0f82(0x339))/0x4*(-parseInt(_0x2b0f82(0x22a))/0x5)+parseInt(_0x2b0f82(0x39e))/0x6*(parseInt(_0x2b0f82(0x28b))/0x7)+parseInt(_0x2b0f82(0x28c))/0x8+-parseInt(_0x2b0f82(0xe6))/0x9;if(_0x1c9df4===_0x1adb96)break;else _0x315396['push'](_0x315396['shift']());}catch(_0x3b74e9){_0x315396['push'](_0x315396['shift']());}}}(_0x5f35,0x22342));var wi=Object[_0x40e481(0x21a)],Pi=(_0x8722d7,_0x101f9b,_0x54f56a)=>_0x101f9b in _0x8722d7?wi(_0x8722d7,_0x101f9b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54f56a}):_0x8722d7[_0x101f9b]=_0x54f56a,N=(_0x10e9a1,_0x50ebe6,_0x1eacd6)=>Pi(_0x10e9a1,typeof _0x50ebe6!=_0x40e481(0x278)?_0x50ebe6+'':_0x50ebe6,_0x1eacd6);import{createIdentifier as _0x392ccb,Inject as _0x41febc,Injector as _0x414ea7,IConfigService as _0x1356ee,ILogService as _0xcdb88,Disposable as _0x484e8c,DisposableCollection as _0x27fc27,toDisposable as _0x2c0721,IUniverInstanceService as _0x26a8c2,UserManagerService as _0x49b9a0,UniverInstanceType as _0x596901,LocaleService as _0x5ceb9f,Optional as _0x397f30,RxDisposable as _0x2dee07,Tools as _0x456a73,Rectangle as _0x1df3ab,ICommandService as _0x2f806f,JSONX as _0x278209,CommandType as _0xe7c659,IUndoRedoService as _0x47f0e4,IPermissionService as _0x372d75,sequenceExecute as _0x280d62,Workbook as _0x485333,MentionType as _0x4f203d,isInternalEditorID as _0x52f6ea,LocalUndoRedoService as _0x1a4901,IContextService as _0x18a9d3,DependentOn as _0x570937,Plugin as _0x33a101,merge as _0x57512e,mergeOverrideWithDependencies as _0x139878,IAuthzIoService as _0x51a334,IMentionIOService as _0x53963b,registerDependencies as _0x1f7c45,Quantity as _0x573acf,touchDependencies as _0x45206c}from'@univerjs/core';import{Subject as _0xba51b2,merge as _0x1cc183,of as _0x29c1e2,BehaviorSubject as _0x21691d,takeUntil as _0x338d32,ReplaySubject as _0x3314aa,take as _0x48d365,map as _0x5f33f7,shareReplay as _0x8c0763,firstValueFrom as _0x327c79,concatMap as _0x5cca15}from'rxjs';import{map as _0x3b053e,take as _0x1935b8,filter as _0xe0b521,delay as _0x52bbcc,takeUntil as _0x3c76cd}from'rxjs/operators';import{CollaborationEvent as _0x3c9809,ISnapshotServerService as _0x348bba,parseChangesetToProtocol as _0x1225e4,ITransformService as _0x671f8c,isTransformMutationsWithChangesetSuccess as _0x2f923c,mapDocumentTypeToUniverType as _0x16fc42,RevisionService as _0x1de1e7,isTransformChangesetsSuccess as _0x40f543,CompressMutationService as _0x48e687,parseProtocolChangeset as _0x28e2c6,SnapshotService as _0x163755,textEncoder as _0x4746e7,b64DecodeUnicode as _0x42a91f,isTransformMutationsWithChangesetFailure as _0x269671,UniverCollaborationPlugin as _0x9e1780}from'@univerjs-pro/collaboration';import{HTTPService as _0x30b709,ISocketService as _0x41470c,MergeInterceptorFactory as _0x2e6923,HTTPRequest as _0x543717,UniverNetworkPlugin as _0x226205,ThresholdInterceptorFactory as _0x44a925}from'@univerjs/network';import{ITelemetryService as _0x337e91}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a29dc}from'@univerjs/docs';import{SheetsSelectionsService as _0x30f1af,SetSelectionsOperation as _0x11ff75,InsertSheetMutation as _0x4a110e,EmptyMutation as _0x258c66,WorkbookEditablePermission as _0x4d71f4,SheetPermissionInitController as _0x1c9bfd}from'@univerjs/sheets';import{ImageSourceType as _0x45f636,ImageUploadStatusType as _0x31ebd9,IImageIoService as _0x3a7abf}from'@univerjs/drawing';import{getGlobalObject as _0x32cfe3}from'@univerjs-pro/license';const mn=_0x40e481(0x132),gn=_0x40e481(0x1cb),Sn=_0x40e481(0x207),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x40e481(0x29e),xr=_0x40e481(0x3a3),Cn=_0x40e481(0x18e),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Mr=_0x40e481(0x2dc),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x40e481(0x384),Un='LOGIN_URL_KEY',An=_0x40e481(0x201),$r=_0x40e481(0x2c2),Hr=_0x40e481(0x399);var Si=(_0xadbdbf=>(_0xadbdbf[_0xadbdbf[_0x40e481(0x148)]=0x0]=_0x40e481(0x148),_0xadbdbf[_0xadbdbf['OK']=0x1]='OK',_0xadbdbf[_0xadbdbf[_0x40e481(0x386)]=0x2]=_0x40e481(0x386),_0xadbdbf[_0xadbdbf['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xadbdbf[_0xadbdbf['NOT_FOUND']=0x4]='NOT_FOUND',_0xadbdbf[_0xadbdbf[_0x40e481(0x2b8)]=0x5]=_0x40e481(0x2b8),_0xadbdbf[_0xadbdbf[_0x40e481(0x1c9)]=0x6]=_0x40e481(0x1c9),_0xadbdbf[_0xadbdbf[_0x40e481(0x22d)]=0x7]=_0x40e481(0x22d),_0xadbdbf[_0xadbdbf[_0x40e481(0x15e)]=0x8]=_0x40e481(0x15e),_0xadbdbf[_0xadbdbf['COMPLETION_FINISHED']=0x9]=_0x40e481(0x140),_0xadbdbf[_0xadbdbf[_0x40e481(0x3cf)]=0xa]=_0x40e481(0x3cf),_0xadbdbf[_0xadbdbf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x40e481(0x137),_0xadbdbf[_0xadbdbf[_0x40e481(0x306)]=0x1771]=_0x40e481(0x306),_0xadbdbf[_0xadbdbf[_0x40e481(0x107)]=0x1772]=_0x40e481(0x107),_0xadbdbf[_0xadbdbf[_0x40e481(0x180)]=0x1773]=_0x40e481(0x180),_0xadbdbf[_0xadbdbf['APPLY_REJECT']=0x1b59]=_0x40e481(0x3d6),_0xadbdbf[_0xadbdbf[_0x40e481(0x14b)]=0x1b5a]=_0x40e481(0x14b),_0xadbdbf[_0xadbdbf[_0x40e481(0x3dd)]=0x1b5b]=_0x40e481(0x3dd),_0xadbdbf[_0xadbdbf[_0x40e481(0x21f)]=0x1b5c]=_0x40e481(0x21f),_0xadbdbf[_0xadbdbf[_0x40e481(0x2cf)]=0x1b5d]='APPLY_DUPLICATED',_0xadbdbf[_0xadbdbf[_0x40e481(0x168)]=0x1f41]=_0x40e481(0x168),_0xadbdbf[_0xadbdbf[_0x40e481(0x28e)]=0x2329]=_0x40e481(0x28e),_0xadbdbf[_0xadbdbf[_0x40e481(0x220)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xadbdbf[_0xadbdbf['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x40e481(0x14f),_0xadbdbf[_0xadbdbf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40e481(0x321),_0xadbdbf[_0xadbdbf[_0x40e481(0x251)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xadbdbf[_0xadbdbf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x40e481(0x195),_0xadbdbf[_0xadbdbf[_0x40e481(0x1f3)]=0x2712]=_0x40e481(0x1f3),_0xadbdbf[_0xadbdbf[_0x40e481(0x261)]=0x2713]=_0x40e481(0x261),_0xadbdbf[_0xadbdbf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x40e481(0x3d8),_0xadbdbf[_0xadbdbf[_0x40e481(0x269)]=0x2af9]=_0x40e481(0x269),_0xadbdbf[_0xadbdbf[_0x40e481(0x31e)]=0x2ee1]=_0x40e481(0x31e),_0xadbdbf[_0xadbdbf[_0x40e481(0x2e2)]=0x2ee2]='INVALID_INVITE_CODE',_0xadbdbf[_0xadbdbf['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xadbdbf[_0xadbdbf[_0x40e481(0x27c)]=0x2ee4]=_0x40e481(0x27c),_0xadbdbf[_0xadbdbf['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x40e481(0x10a),_0xadbdbf[_0xadbdbf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x40e481(0xe2),_0xadbdbf[_0xadbdbf[_0x40e481(0x17d)]=0x32ca]=_0x40e481(0x17d),_0xadbdbf[_0xadbdbf[_0x40e481(0x164)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xadbdbf[_0xadbdbf[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0xadbdbf))(Si||{}),Q=(_0x501d9a=>(_0x501d9a[_0x501d9a['UNIVER_UNKNOWN']=0x0]=_0x40e481(0x35c),_0x501d9a[_0x501d9a[_0x40e481(0x316)]=0x1]=_0x40e481(0x316),_0x501d9a[_0x501d9a[_0x40e481(0x358)]=0x2]=_0x40e481(0x358),_0x501d9a[_0x501d9a[_0x40e481(0x356)]=0x3]=_0x40e481(0x356),_0x501d9a[_0x501d9a['UNIVER_PROJECT']=0x4]=_0x40e481(0x218),_0x501d9a[_0x501d9a[_0x40e481(0x1a6)]=-0x1]='UNRECOGNIZED',_0x501d9a))(Q||{}),F=(_0x2deae8=>(_0x2deae8[_0x2deae8[_0x40e481(0x28f)]=0x0]=_0x40e481(0x28f),_0x2deae8[_0x2deae8[_0x40e481(0x3a4)]=0x1]=_0x40e481(0x3a4),_0x2deae8[_0x2deae8['JOIN']=0x2]=_0x40e481(0x385),_0x2deae8[_0x2deae8['LEAVE']=0x3]=_0x40e481(0x1c6),_0x2deae8[_0x2deae8[_0x40e481(0x115)]=0x4]=_0x40e481(0x115),_0x2deae8[_0x2deae8['HEARTBEAT']=0x5]=_0x40e481(0x1a1),_0x2deae8[_0x2deae8[_0x40e481(0xfb)]=0x6]=_0x40e481(0xfb),_0x2deae8[_0x2deae8[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0x2deae8))(F||{}),ge=(_0x531742=>(_0x531742[_0x531742[_0x40e481(0xfd)]=0x0]='UNKNOWN_CODE',_0x531742[_0x531742['OK']=0x1]='OK',_0x531742[_0x531742[_0x40e481(0x1b7)]=0x2]=_0x40e481(0x1b7),_0x531742[_0x531742[_0x40e481(0x2ad)]=0x3e9]=_0x40e481(0x2ad),_0x531742[_0x531742[_0x40e481(0x198)]=0x3ea]=_0x40e481(0x198),_0x531742[_0x531742[_0x40e481(0x2f5)]=0x3eb]=_0x40e481(0x2f5),_0x531742[_0x531742['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x40e481(0x10d),_0x531742[_0x531742[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0x531742))(ge||{}),Ei=(_0x317d18=>(_0x317d18[_0x317d18[_0x40e481(0x28a)]=0x0]=_0x40e481(0x28a),_0x317d18[_0x317d18[_0x40e481(0x2c7)]=0x1]=_0x40e481(0x2c7),_0x317d18[_0x317d18[_0x40e481(0x2e8)]=0x2]=_0x40e481(0x2e8),_0x317d18[_0x317d18[_0x40e481(0x291)]=0x3]=_0x40e481(0x291),_0x317d18[_0x317d18[_0x40e481(0x29c)]=0x4]=_0x40e481(0x29c),_0x317d18[_0x317d18[_0x40e481(0x245)]=0x5]=_0x40e481(0x245),_0x317d18[_0x317d18['UNRECOGNIZED']=-0x1]=_0x40e481(0x1a6),_0x317d18))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x13762f=>(_0x13762f[_0x40e481(0x2b2)]=_0x40e481(0x2b2),_0x13762f['PERMISSION_DENIED']='PERMISSION_DENIED',_0x13762f[_0x40e481(0x282)]='CONFLICT',_0x13762f['CLOSE_ROOM']=_0x40e481(0x2b6),_0x13762f[_0x40e481(0x105)]=_0x40e481(0x105),_0x13762f[_0x40e481(0x172)]=_0x40e481(0x172),_0x13762f[_0x40e481(0x309)]='SOCKET_FAILED',_0x13762f[_0x40e481(0x380)]='SUBMIT_CHANGESET_TIMEOUT',_0x13762f))(re||{});class pe{constructor(){var _0x5bde3c=_0x40e481;N(this,'_event$',new _0xba51b2()),N(this,'event$',this[_0x5bde3c(0x344)][_0x5bde3c(0x1b9)]());}['emitEvent'](_0x1e2f77){var _0x32eecd=_0x40e481;this['_event$'][_0x32eecd(0x377)](_0x1e2f77);}}const Pn=_0x392ccb(_0x40e481(0x108));function Ln(_0x3ec8e0){var _0x4380e2=_0x40e481,_0x2af99b,_0x1c3282,_0x12d3b9,_0x567770,_0x3a3ea4;const _0x10b90a=_0x3ec8e0['data'],_0x1d7ae2=JSON[_0x4380e2(0x2e4)](_0x10b90a);switch(_0x1d7ae2[_0x4380e2(0x2d7)]){case F['HEARTBEAT']:case F[_0x4380e2(0x3a4)]:{const _0x456ead=_0x1d7ae2[_0x4380e2(0x264)];return{..._0x1d7ae2,'data':_0x456ead,'cmd':_0x1d7ae2['cmd']};}case F[_0x4380e2(0x385)]:{const _0x46115a=_0x1d7ae2[_0x4380e2(0x14a)];return{..._0x1d7ae2,'data':_0x46115a,'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};}case F['RECV']:{const _0x2c8b24=_0x1d7ae2['collaMsg'];switch(_0x2c8b24[_0x4380e2(0x24c)]){case _0x3c9809[_0x4380e2(0x213)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x2af99b=_0x2c8b24[_0x4380e2(0x216)])==null?void 0x0:_0x2af99b['cs']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x219)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x1c3282=_0x2c8b24[_0x4380e2(0x1de)])==null?void 0x0:_0x1c3282['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x333)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x12d3b9=_0x2c8b24[_0x4380e2(0x2ca)])==null?void 0x0:_0x12d3b9['cs']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x116)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x567770=_0x2c8b24[_0x4380e2(0x24e)])==null?void 0x0:_0x567770['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x262)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x3a3ea4=_0x2c8b24[_0x4380e2(0x21e)])==null?void 0x0:_0x3a3ea4['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x33b)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x17f)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x294)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0xee)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x280)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x1a7)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x21b)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x36e)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x349)]:case _0x3c9809[_0x4380e2(0x3bb)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x2ce)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x35a)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x36e)]},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x32b)]:return{..._0x1d7ae2,'data':_0x2c8b24,'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x104)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24['commentUpdateEvent']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x326)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x332)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809['SHOULD_CLOSE_CONN']:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x1fb)]},'cmd':_0x1d7ae2['cmd']};case _0x3c9809['UNISCRIPT_RUN']:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x25c)]},'cmd':_0x1d7ae2['cmd']};default:return _0x1d7ae2;}}default:return _0x1d7ae2;}}function xn(_0x163898){var _0x203a44=_0x40e481;switch(_0x163898[_0x203a44(0x2d7)]){case F['HEARTBEAT']:case F[_0x203a44(0x3a4)]:return JSON[_0x203a44(0x353)]({'cmd':_0x163898['cmd'],'routeKey':_0x163898[_0x203a44(0x151)]});case F[_0x203a44(0x115)]:{let _0x2a35ec;switch(_0x163898[_0x203a44(0x3a1)][_0x203a44(0x24c)]){case _0x3c9809[_0x203a44(0x33b)]:{_0x2a35ec={'eventID':_0x3c9809['UPDATE_CURSOR'],'updateCursorEvent':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809['USERS_LEAVE']:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x280)],'leaveEvent':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809['USERS_ENTER']:{_0x2a35ec={'eventID':_0x3c9809['USERS_ENTER'],'joinEvent':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809[_0x203a44(0x21b)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x21b)],'liveShareNewHost':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809[_0x203a44(0x3bb)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x3bb)],'liveShareOperation':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809['LIVESHARE_TERMINATE']:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x35a)],'liveShareTerminate':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809[_0x203a44(0x372)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x372)],'liveShareRequestHost':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809[_0x203a44(0x349)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x349)]};break;}default:_0x2a35ec={'eventID':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x24c)]};}return JSON[_0x203a44(0x353)]({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898[_0x203a44(0x151)],'collaMsg':_0x2a35ec});}case F[_0x203a44(0x385)]:return JSON[_0x203a44(0x353)]({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898[_0x203a44(0x151)],'joinReq':_0x163898['data']});case F[_0x203a44(0x1c6)]:return JSON['stringify']({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898['routeKey'],'leaveReq':_0x163898[_0x203a44(0x3a1)]});default:throw new Error(_0x203a44(0x2f6));}}var Mn=Object[_0x40e481(0x237)],kn=(_0x3917c7,_0x2dff12,_0x28083f,_0x188e0a)=>{var _0x2af164=_0x40e481;for(var _0x5903d6=_0x188e0a>0x1?void 0x0:_0x188e0a?Mn(_0x2dff12,_0x28083f):_0x2dff12,_0x1000a2=_0x3917c7[_0x2af164(0x299)]-0x1,_0x22bdb9;_0x1000a2>=0x0;_0x1000a2--)(_0x22bdb9=_0x3917c7[_0x1000a2])&&(_0x5903d6=_0x22bdb9(_0x5903d6)||_0x5903d6);return _0x5903d6;},Ae=(_0x320af3,_0x1717e1)=>(_0x1c9026,_0x2c8dbe)=>_0x1717e1(_0x1c9026,_0x2c8dbe,_0x320af3);const Ii=_0x392ccb(_0x40e481(0x274));function $n(_0x247e75,_0x42d082,_0x1855b4){var _0x1bea16=_0x40e481;return _0x247e75+'/'+_0x42d082+'/unit/'+_0x1855b4+_0x1bea16(0x234);}let Gt=class extends _0x484e8c{constructor(_0x25be04,_0x50e05e,_0x439ef0,_0x5495b3,_0x59c848){var _0x40c5c2=_0x40e481;super(),this[_0x40c5c2(0x2bb)]=_0x25be04,this[_0x40c5c2(0x15a)]=_0x50e05e,this[_0x40c5c2(0x221)]=_0x439ef0,this[_0x40c5c2(0x13c)]=_0x5495b3,this[_0x40c5c2(0x298)]=_0x59c848;}[_0x40e481(0x1a8)](_0x376378){var _0xaef29b=_0x40e481;const _0x22aeb0=this[_0xaef29b(0x2bb)][_0xaef29b(0x1da)](_0x41470c);if(!_0x22aeb0)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x254e8e=_0x22aeb0[_0xaef29b(0x2ac)](_0x376378);if(!_0x254e8e)throw new Error(_0xaef29b(0x315));const _0xe66406=new _0x27fc27(),_0x575b1d=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e['close$'][_0xaef29b(0x38c)](_0x1bb764=>_0x575b1d['next'](_0x1bb764))),_0xe66406[_0xaef29b(0x1c4)](_0x2c0721(()=>_0x575b1d[_0xaef29b(0x3b9)]()));const _0x441650=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e['error$']['subscribe'](_0x50f15a=>_0x441650[_0xaef29b(0x377)](_0x50f15a))),_0xe66406['add'](_0x2c0721(()=>_0x441650[_0xaef29b(0x3b9)]()));const _0xf0ebed=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e[_0xaef29b(0x106)]['subscribe'](_0x493f38=>{var _0x388882=_0xaef29b;const _0x5f0a2d=Ln(_0x493f38);_0xf0ebed[_0x388882(0x377)](_0x5f0a2d);})),_0xe66406[_0xaef29b(0x1c4)](_0x2c0721(()=>_0xf0ebed[_0xaef29b(0x3b9)]()));let _0x9d1c1a;const _0x246b55=()=>{var _0x1c4840=_0xaef29b;_0x441650['next'](new Event(_0x1c4840(0x211))),_0x575b1d[_0x1c4840(0x377)](new Event(_0x1c4840(0x211))),_0x9d1c1a[_0x1c4840(0x185)]();};return _0x9d1c1a={'memberID':'','close$':_0x575b1d[_0xaef29b(0x1b9)](),'error$':_0x441650[_0xaef29b(0x1b9)](),'open$':_0x254e8e['open$'],'message$':_0xf0ebed[_0xaef29b(0x1b9)](),'send':_0x440c7a=>{var _0x5bc00e=_0xaef29b;if(_0x440c7a[_0x5bc00e(0x2d7)]===F['INGEST']){if(_0x440c7a[_0x5bc00e(0x3a1)]['eventID']===_0x3c9809[_0x5bc00e(0x3ac)]){this[_0x5bc00e(0x122)](_0x9d1c1a,_0x440c7a['data'])[_0x5bc00e(0x383)](_0x4b411c=>{var _0xb4a568=_0x5bc00e;this[_0xb4a568(0x13c)]['error'](_0x4b411c),_0x246b55();});return;}if(_0x440c7a['data'][_0x5bc00e(0x24c)]===_0x3c9809[_0x5bc00e(0x1ca)]){const _0x550538=_0x440c7a[_0x5bc00e(0x3a1)];this[_0x5bc00e(0x370)](_0x550538)[_0x5bc00e(0x1c2)](_0x42f26b=>{var _0x3d0c5c=_0x5bc00e;_0xf0ebed[_0x3d0c5c(0x377)]({'cmd':F[_0x3d0c5c(0xfb)],'code':ge['OK'],'routeKey':_0x550538['data']['unitID'],'routeType':'','data':{'eventID':_0x3c9809['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x42f26b}}});})['catch'](_0x1fa766=>{var _0x4f8916=_0x5bc00e;this[_0x4f8916(0x13c)][_0x4f8916(0x30a)](_0x1fa766),_0x246b55();});return;}}_0x254e8e[_0x5bc00e(0x119)](xn(_0x440c7a));},'close':()=>{_0x254e8e['close'](),_0xe66406['dispose']();}},_0x9d1c1a;}async['_submitChangeset'](_0x153198,_0x10529){var _0x1202dd=_0x40e481,_0x52979a,_0x1b68fa;const {unitType:_0xeddc76,unitID:_0x30b066,changeset:_0xdc6ad9}=_0x10529[_0x1202dd(0x3a1)],_0x22332a={'unitID':_0x30b066,'memberID':_0x153198[_0x1202dd(0x229)],'type':_0xeddc76,'changeset':_0x1225e4(_0xdc6ad9)},_0x1f9e88=this[_0x1202dd(0x221)][_0x1202dd(0x3da)](Nn),_0x29afe2=this['_configService'][_0x1202dd(0x3da)](q),_0x4be5df=$n((_0x1b68fa=(_0x52979a=_0x29afe2==null?void 0x0:_0x29afe2['collabSubmitChangesetUrl'])!=null?_0x52979a:_0x1f9e88)!=null?_0x1b68fa:Dn,_0xeddc76,_0x30b066);try{await this[_0x1202dd(0x15a)][_0x1202dd(0x1bb)](_0x4be5df,{'body':_0x22332a});}catch(_0x3433d4){throw this[_0x1202dd(0x13c)]['error']('[CollaborationSession]',_0x1202dd(0xed)),_0x3433d4;}}async[_0x40e481(0x370)](_0x185671){var _0x1727c4=_0x40e481;const {unitID:_0x236b65,from:_0x1cb67f,to:_0x29fd3e,unitType:_0xd290d9}=_0x185671[_0x1727c4(0x3a1)];return(await this[_0x1727c4(0x298)][_0x1727c4(0x169)]({'metadata':void 0x0},{'unitID':_0x236b65,'type':_0xd290d9,'from':_0x1cb67f,'to':_0x29fd3e}))[_0x1727c4(0x1f2)];}};Gt=kn([Ae(0x0,_0x41febc(_0x414ea7)),Ae(0x1,_0x41febc(_0x30b709)),Ae(0x2,_0x1356ee),Ae(0x3,_0xcdb88),Ae(0x4,_0x348bba)],Gt);const Hn=_0x40e481(0x388);function Bn(_0x28fc2f){var _0x2148ac=_0x40e481;return JSON[_0x2148ac(0x353)](_0x28fc2f)[_0x2148ac(0x299)];}class Ti{constructor(){var _0x1c075b=_0x40e481;N(this,_0x1c075b(0x1df),new _0xba51b2()),N(this,_0x1c075b(0x145),this[_0x1c075b(0x1df)][_0x1c075b(0x1b9)]());}['onCommentUpdate'](_0x4d0bb9){var _0xbe1f96=_0x40e481;this[_0xbe1f96(0x1df)][_0xbe1f96(0x377)](_0x4d0bb9);}}var jn=Object[_0x40e481(0x237)],Fn=(_0xa27691,_0x2a23cc,_0x481599,_0x103adb)=>{var _0x4e4c94=_0x40e481;for(var _0x54d2e5=_0x103adb>0x1?void 0x0:_0x103adb?jn(_0x2a23cc,_0x481599):_0x2a23cc,_0x54f14c=_0xa27691[_0x4e4c94(0x299)]-0x1,_0x48f285;_0x54f14c>=0x0;_0x54f14c--)(_0x48f285=_0xa27691[_0x54f14c])&&(_0x54d2e5=_0x48f285(_0x54d2e5)||_0x54d2e5);return _0x54d2e5;},Wt=(_0x1371e5,_0x358b92)=>(_0xec211b,_0x56f709)=>_0x358b92(_0xec211b,_0x56f709,_0x1371e5);let Le=class extends _0x484e8c{constructor(_0x598a30,_0x28b9ff){var _0x5768bb=_0x40e481;super(),N(this,_0x5768bb(0x28d),new Map()),N(this,_0x5768bb(0x1c8),new _0xba51b2()),(this['_univerInstanceService']=_0x598a30,this[_0x5768bb(0x1d6)]=_0x28b9ff,this[_0x5768bb(0x3aa)](_0x1cc183(this['_univerInstanceService'][_0x5768bb(0x2f4)](_0x596901['UNIVER_SHEET'])['pipe'](_0x3b053e(_0x44833c=>_0x44833c[_0x5768bb(0x382)]())),this[_0x5768bb(0x18b)][_0x5768bb(0x2f4)](_0x596901[_0x5768bb(0x316)])[_0x5768bb(0x30c)](_0x3b053e(_0x451952=>_0x451952[_0x5768bb(0x382)]())),this[_0x5768bb(0x18b)][_0x5768bb(0x2f4)](_0x596901[_0x5768bb(0x356)])[_0x5768bb(0x30c)](_0x3b053e(_0x2f2f9f=>_0x2f2f9f[_0x5768bb(0x382)]())))['subscribe'](_0x36a17a=>this[_0x5768bb(0x1f6)](_0x36a17a))));}['waitForRoom$'](_0x836cd8){var _0x1770b7=_0x40e481;return this['_roomMembers']['has'](_0x836cd8)?_0x29c1e2(this[_0x1770b7(0x28d)][_0x1770b7(0x1da)](_0x836cd8)):this['_roomCreated$'][_0x1770b7(0x30c)](_0x3b053e(_0x26ab6d=>{var _0x1d46d1=_0x1770b7;if(_0x26ab6d===_0x836cd8)return this[_0x1d46d1(0x28d)][_0x1d46d1(0x1da)](_0x26ab6d);}));}[_0x40e481(0x1a2)](_0x28ddd2){var _0x54b384=_0x40e481;this[_0x54b384(0x1d6)][_0x54b384(0x1a2)](_0x28ddd2);}['getCurrentUser'](){var _0x463325=_0x40e481;return this[_0x463325(0x1d6)][_0x463325(0x2d4)]();}[_0x40e481(0x17c)](_0x1f0171,_0x2e2c76){var _0x2d8260=_0x40e481;let _0x5d97a5=this['_roomMembers'][_0x2d8260(0x1da)](_0x1f0171);_0x5d97a5||(_0x5d97a5=new Vn(),this[_0x2d8260(0x28d)]['set'](_0x1f0171,_0x5d97a5),this['_roomCreated$'][_0x2d8260(0x377)](_0x1f0171)),_0x5d97a5[_0x2d8260(0x17c)](_0x2e2c76);}[_0x40e481(0x19a)](_0x1f006f,_0xc38055){var _0x106ec1=_0x40e481;const _0x1907a7=this[_0x106ec1(0x28d)]['get'](_0x1f006f);_0x1907a7&&_0x1907a7[_0x106ec1(0x19a)](_0xc38055);}[_0x40e481(0x176)](_0x37a45f){var _0x5b49d7=_0x40e481;return this[_0x5b49d7(0x28d)][_0x5b49d7(0x1da)](_0x37a45f);}[_0x40e481(0x293)](_0x3a8ac5,_0xeef399){var _0x1da325=_0x40e481;const _0x5a6973=this['_roomMembers'][_0x1da325(0x1da)](_0x3a8ac5);if(_0x5a6973)return _0x5a6973[_0x1da325(0x293)](_0xeef399);}[_0x40e481(0x1f6)](_0x705c47){var _0x8e1394=_0x40e481;const _0x5567f0=this[_0x8e1394(0x28d)][_0x8e1394(0x1da)](_0x705c47);_0x5567f0&&(_0x5567f0[_0x8e1394(0x205)](),this[_0x8e1394(0x28d)][_0x8e1394(0x233)](_0x705c47));}[_0x40e481(0x205)](){var _0x3a8570=_0x40e481;this[_0x3a8570(0x28d)][_0x3a8570(0x109)](_0x27f9c7=>_0x27f9c7[_0x3a8570(0x205)]()),this[_0x3a8570(0x28d)][_0x3a8570(0x111)](),this['_roomCreated$'][_0x3a8570(0x3b9)]();}};Le=Fn([Wt(0x0,_0x26a8c2),Wt(0x1,_0x41febc(_0x49b9a0))],Le);class Vn extends _0x484e8c{constructor(){var _0x3f0c5e=_0x40e481;super(...arguments),N(this,_0x3f0c5e(0x3c2),new Map()),N(this,_0x3f0c5e(0x23b),new _0x21691d(this[_0x3f0c5e(0x3c2)])),N(this,_0x3f0c5e(0x193),this[_0x3f0c5e(0x23b)][_0x3f0c5e(0x1b9)]());}['dispose'](){var _0x270c41=_0x40e481;this[_0x270c41(0x3c2)][_0x270c41(0x111)]();}[_0x40e481(0x17c)](_0x341136){var _0x264aaa=_0x40e481;this[_0x264aaa(0x3c2)]['set'](_0x341136[_0x264aaa(0x229)],_0x341136),this[_0x264aaa(0x135)]();}[_0x40e481(0x19a)](_0x1822a5){var _0x58457a=_0x40e481;this[_0x58457a(0x3c2)][_0x58457a(0x233)](_0x1822a5);}[_0x40e481(0x293)](_0x78094){var _0x3a5f09=_0x40e481;return this[_0x3a5f09(0x3c2)][_0x3a5f09(0x1da)](_0x78094);}[_0x40e481(0x312)](){var _0x1eebfc=_0x40e481;return Array[_0x1eebfc(0x304)](this[_0x1eebfc(0x3c2)][_0x1eebfc(0x284)]());}[_0x40e481(0x135)](){var _0xb2576e=_0x40e481;this[_0xb2576e(0x23b)][_0xb2576e(0x377)](this['_members']);}}var Gn=Object[_0x40e481(0x237)],Wn=(_0x5e8c28,_0x103f98,_0x4b33d4,_0x4ac47f)=>{var _0x187cc0=_0x40e481;for(var _0x44eec5=_0x4ac47f>0x1?void 0x0:_0x4ac47f?Gn(_0x103f98,_0x4b33d4):_0x103f98,_0x20b027=_0x5e8c28[_0x187cc0(0x299)]-0x1,_0x3ffee6;_0x20b027>=0x0;_0x20b027--)(_0x3ffee6=_0x5e8c28[_0x20b027])&&(_0x44eec5=_0x3ffee6(_0x44eec5)||_0x44eec5);return _0x44eec5;},me=(_0x11a1e3,_0x5b10de)=>(_0x103ef5,_0x236892)=>_0x5b10de(_0x103ef5,_0x236892,_0x11a1e3),Ee=(_0x488a60=>(_0x488a60[_0x488a60[_0x40e481(0x335)]=0x0]='IDLE',_0x488a60[_0x488a60[_0x40e481(0x3cc)]=0x1]='JOINING',_0x488a60[_0x488a60[_0x40e481(0x374)]=0x2]=_0x40e481(0x374),_0x488a60[_0x488a60[_0x40e481(0x2e6)]=0x3]=_0x40e481(0x2e6),_0x488a60))(Ee||{});const Kt={[ge[_0x40e481(0x1b7)]]:_0x40e481(0x270),[ge[_0x40e481(0x2ad)]]:_0x40e481(0x15f),[ge[_0x40e481(0x198)]]:_0x40e481(0x239),[ge[_0x40e481(0x2f5)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x2dee07{constructor(_0x55965e,_0x219af0,_0x264df4,_0x3ed525,_0x3c0bf6,_0x3a43d1,_0x3be39e,_0x1b6341,_0x62b701){var _0x37337f=_0x40e481;super(),N(this,_0x37337f(0x249),new _0x21691d(0x0)),N(this,_0x37337f(0x250),this[_0x37337f(0x249)]['asObservable']()),N(this,_0x37337f(0x344),new _0xba51b2()),N(this,'event$',this[_0x37337f(0x344)][_0x37337f(0x1b9)]()),N(this,_0x37337f(0x1e7)),N(this,_0x37337f(0x3ab)),N(this,_0x37337f(0x342)),N(this,_0x37337f(0x397),!0x1),N(this,'_telemetryInfo',null),(this[_0x37337f(0x1ef)]=_0x55965e,this[_0x37337f(0x13c)]=_0x264df4,this[_0x37337f(0x221)]=_0x3ed525,this[_0x37337f(0x375)]=_0x3c0bf6,this[_0x37337f(0x33a)]=_0x3a43d1,this[_0x37337f(0x319)]=_0x3be39e,this[_0x37337f(0x3df)]=_0x1b6341,this[_0x37337f(0x203)]=_0x62b701,this[_0x37337f(0x397)]=!!this[_0x37337f(0x203)],_0x219af0[_0x37337f(0x30c)](_0x338d32(this[_0x37337f(0x1cd)]))[_0x37337f(0x38c)](_0x22d659=>{var _0x5af282=_0x37337f,_0x3601ad;typeof _0x22d659>'u'||(this[_0x5af282(0x1e7)]=_0x22d659,_0x22d659?(this[_0x5af282(0x317)](_0x22d659),this[_0x5af282(0x3ab)]=_0x22d659['message$']['subscribe'](_0x42fcf7=>{var _0x4e3ff2=_0x5af282;_0x42fcf7['routeKey']===this[_0x4e3ff2(0x1ef)]&&this['_onCombEvent'](_0x42fcf7);})):(this[_0x5af282(0x2aa)](),this[_0x5af282(0x249)][_0x5af282(0x377)](0x2),(_0x3601ad=this[_0x5af282(0x3ab)])==null||_0x3601ad[_0x5af282(0x1e6)](),this['_socketMessageSubscription']=null));}));}get[_0x40e481(0x2d1)](){return this['_sessionStatus$']['getValue']();}[_0x40e481(0x1c3)](){var _0x5aba01=_0x40e481,_0x14b56b,_0x562dcb;return(_0x562dcb=(_0x14b56b=this[_0x5aba01(0x1e7)])==null?void 0x0:_0x14b56b[_0x5aba01(0x229)])!=null?_0x562dcb:null;}['dispose'](){var _0x4c97af=_0x40e481;super[_0x4c97af(0x205)](),this[_0x4c97af(0x1cd)][_0x4c97af(0x377)](),this[_0x4c97af(0x1cd)][_0x4c97af(0x3b9)]();}[_0x40e481(0x185)](){var _0x351e3b=_0x40e481,_0x8d95a1,_0x4c4037;this[_0x351e3b(0x2aa)](),(_0x8d95a1=this['_socket'])==null||_0x8d95a1[_0x351e3b(0x119)]({'cmd':F[_0x351e3b(0x1c6)],'data':{'roomID':this[_0x351e3b(0x1ef)]}}),(_0x4c4037=this['_socket'])==null||_0x4c4037[_0x351e3b(0x185)](),this['_event$'][_0x351e3b(0x3b9)](),this[_0x351e3b(0x249)][_0x351e3b(0x3b9)](),this[_0x351e3b(0x205)]();}['_onCombEvent'](_0x454177){var _0x4bfb9c=_0x40e481;_0x454177[_0x4bfb9c(0x2d7)]===F[_0x4bfb9c(0x385)]?this[_0x4bfb9c(0x2b5)](_0x454177):_0x454177[_0x4bfb9c(0x2d7)]===F[_0x4bfb9c(0xfb)]&&this[_0x4bfb9c(0x16e)](_0x454177);}[_0x40e481(0x317)](_0x43b427){var _0x16dbff=_0x40e481;this['_sessionStatus$'][_0x16dbff(0x377)](0x1),_0x43b427[_0x16dbff(0x119)]({'cmd':F[_0x16dbff(0x385)],'routeKey':this[_0x16dbff(0x1ef)],'routeType':'','data':{'rooms':[{'roomID':this[_0x16dbff(0x1ef)]}]}});}[_0x40e481(0x2b5)](_0x200349){var _0x626a00=_0x40e481,_0x439c8a;if(_0x200349[_0x626a00(0x313)]in Kt){this[_0x626a00(0x3df)][_0x626a00(0x258)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x200349['code']]}),this[_0x626a00(0x249)]['next'](0x2);return;}this[_0x626a00(0x249)]['next'](0x3);const _0x25934d=(_0x439c8a=_0x200349[_0x626a00(0x3a1)][_0x626a00(0x31d)][this['_unitID']])==null?void 0x0:_0x439c8a[_0x626a00(0x19f)];_0x25934d&&_0x25934d[_0x626a00(0x109)](_0x3d5640=>this[_0x626a00(0x33a)]['updateMember'](this[_0x626a00(0x1ef)],_0x3d5640));}[_0x40e481(0x16e)](_0x1ee9f9){var _0x123bcf=_0x40e481;try{const _0x5d4394=_0x1ee9f9[_0x123bcf(0x3a1)];switch(_0x5d4394[_0x123bcf(0x24c)]){case _0x3c9809[_0x123bcf(0x294)]:this[_0x123bcf(0x355)](_0x5d4394),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;case _0x3c9809['USERS_LEAVE']:this[_0x123bcf(0x310)](_0x5d4394),this[_0x123bcf(0x344)]['next'](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x219)]:case _0x3c9809[_0x123bcf(0x262)]:this[_0x123bcf(0x20f)](),this[_0x123bcf(0x314)](),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x32b)]:this['_logService'][_0x123bcf(0x30a)](_0x123bcf(0x30f)+JSON['stringify'](_0x5d4394)),this[_0x123bcf(0x344)]['next'](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x104)]:this[_0x123bcf(0x319)][_0x123bcf(0x103)](_0x5d4394['data']),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;default:this['_event$'][_0x123bcf(0x377)](_0x5d4394);}}catch(_0x237d5c){this[_0x123bcf(0x13c)][_0x123bcf(0x30a)](_0x237d5c,_0x1ee9f9);}}[_0x40e481(0x355)](_0x3e9321){var _0x45aafc=_0x40e481;this[_0x45aafc(0x33a)][_0x45aafc(0x17c)](this[_0x45aafc(0x1ef)],_0x3e9321[_0x45aafc(0x3a1)]);}[_0x40e481(0x310)](_0x34659e){var _0x18e1e0=_0x40e481;this[_0x18e1e0(0x33a)][_0x18e1e0(0x19a)](this[_0x18e1e0(0x1ef)],_0x34659e[_0x18e1e0(0x3a1)][_0x18e1e0(0x229)]);}async['send'](_0x2c30a4,_0x5b6078){var _0x91913c=_0x40e481;if(this[_0x91913c(0x2d1)]!==0x3||!this[_0x91913c(0x1e7)])throw new Error(_0x91913c(0x1d0));try{_0x2c30a4[_0x91913c(0x24c)]===_0x3c9809[_0x91913c(0x3ac)]&&(this[_0x91913c(0x241)](),this[_0x91913c(0x3bc)](_0x2c30a4)),this[_0x91913c(0x1e7)][_0x91913c(0x119)]({'cmd':F[_0x91913c(0x115)],'routeKey':_0x5b6078,'routeType':'','data':_0x2c30a4});}catch(_0x20f168){this[_0x91913c(0x13c)][_0x91913c(0x30a)](_0x20f168);}}['_scheduleCollaborationTimeoutTimer'](){var _0x246997=_0x40e481,_0xbe2fd4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x485ec2=_0x1459;this[_0x485ec2(0x342)]=null,this['_collaborationUIEventService'][_0x485ec2(0x258)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0xbe2fd4=this[_0x246997(0x221)]['getConfig'](mi))!=null?_0xbe2fd4:gi);}[_0x40e481(0x314)](){var _0x1fb724=_0x40e481;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1fb724(0x342)]),this[_0x1fb724(0x342)]=null);}[_0x40e481(0x3bc)](_0x2843b1){var _0xd30d4e=_0x40e481;if(!this[_0xd30d4e(0x397)])return;const {data:_0x17159e}=_0x2843b1,{unitID:_0x38e74e,changeset:_0x378f52}=_0x17159e,{mutations:_0x287a03,type:_0x1f3c37}=_0x378f52;this[_0xd30d4e(0x3e0)]={'unitId':_0x38e74e,'type':_0x1f3c37,'startTime':performance[_0xd30d4e(0x32d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x287a03)};}[_0x40e481(0x20f)](){var _0x52600e=_0x40e481;if(this[_0x52600e(0x397)]){if(!this['_telemetryInfo']){this[_0x52600e(0x13c)][_0x52600e(0x30a)](_0x52600e(0x228),_0x52600e(0x24f));return;}this[_0x52600e(0x3e0)][_0x52600e(0x12f)]=performance[_0x52600e(0x32d)](),this[_0x52600e(0x3e0)]['duration']=this['_telemetryInfo'][_0x52600e(0x12f)]-this[_0x52600e(0x3e0)]['startTime'],this[_0x52600e(0x203)]['capture'](Hn,this[_0x52600e(0x3e0)]),this[_0x52600e(0x3e0)]=null;}}[_0x40e481(0x2aa)](){var _0x9433f3=_0x40e481;this[_0x9433f3(0x3e0)]=null;}};Et=Wn([me(0x2,_0xcdb88),me(0x3,_0x1356ee),me(0x4,_0x41febc(_0x5ceb9f)),me(0x5,_0x41febc(Le)),me(0x6,_0x41febc(Ti)),me(0x7,_0x41febc(pe)),me(0x8,_0x397f30(_0x337e91))],Et);var Kn=Object[_0x40e481(0x237)],Yn=(_0x5b22db,_0x1b69b2,_0x46bf70,_0x2b34cb)=>{for(var _0x4ab422=_0x2b34cb>0x1?void 0x0:_0x2b34cb?Kn(_0x1b69b2,_0x46bf70):_0x1b69b2,_0x2987a2=_0x5b22db['length']-0x1,_0x5ae5e9;_0x2987a2>=0x0;_0x2987a2--)(_0x5ae5e9=_0x5b22db[_0x2987a2])&&(_0x4ab422=_0x5ae5e9(_0x4ab422)||_0x4ab422);return _0x4ab422;},be=(_0x29e496,_0x236f9b)=>(_0x209a12,_0x77f2b6)=>_0x236f9b(_0x209a12,_0x77f2b6,_0x29e496);let xe=class extends _0x484e8c{constructor(_0xb7be12,_0x1fceb2,_0x4c61b8,_0x178733,_0x23d90e,_0x41911a){var _0x5b5a60=_0x40e481;super(),N(this,_0x5b5a60(0x152),new _0x21691d(void 0x0)),N(this,'socket$',this[_0x5b5a60(0x152)][_0x5b5a60(0x1b9)]()),N(this,_0x5b5a60(0x123),null),N(this,_0x5b5a60(0x3b5),new Map()),N(this,_0x5b5a60(0x13b),new _0x21691d(Ee[_0x5b5a60(0x335)])),N(this,_0x5b5a60(0x268),this[_0x5b5a60(0x13b)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5b5a60(0x38a),0x0),N(this,_0x5b5a60(0x1c0)),N(this,_0x5b5a60(0x173)),(this[_0x5b5a60(0x2bb)]=_0xb7be12,this[_0x5b5a60(0x13c)]=_0x1fceb2,this[_0x5b5a60(0x221)]=_0x4c61b8,this['_socketService']=_0x178733,this[_0x5b5a60(0x3df)]=_0x23d90e,this['_networkConditionService']=_0x41911a,this[_0x5b5a60(0x1ec)]());}get[_0x40e481(0x1e7)](){var _0x5d8700=_0x40e481;return this[_0x5d8700(0x152)][_0x5d8700(0x186)]();}[_0x40e481(0x1ec)](){var _0x1a171f=_0x40e481;this[_0x1a171f(0x1b8)]&&this[_0x1a171f(0x3aa)](this[_0x1a171f(0x1b8)][_0x1a171f(0x118)][_0x1a171f(0x38c)](_0x43678e=>{var _0x57fd27=_0x1a171f;_0x43678e&&!this[_0x57fd27(0x1e7)]&&this['reconnect'](),_0x43678e||this[_0x57fd27(0x1d5)]();}));}['dispose'](){var _0x13c8a2=_0x40e481;super[_0x13c8a2(0x205)](),this[_0x13c8a2(0x1a5)](),this[_0x13c8a2(0x39a)](),this[_0x13c8a2(0x149)](),this[_0x13c8a2(0x3b5)][_0x13c8a2(0x109)](_0x29e046=>_0x29e046[_0x13c8a2(0x205)]()),this[_0x13c8a2(0x3b5)]['clear'](),this['_status$'][_0x13c8a2(0x3b9)]();}async[_0x40e481(0x134)](_0x4cfb11){var _0x212b7d=_0x40e481;if(this[_0x212b7d(0x3b5)][_0x212b7d(0x15b)](_0x4cfb11))return this[_0x212b7d(0x3b5)][_0x212b7d(0x1da)](_0x4cfb11);this[_0x212b7d(0x36c)]();const _0x12f0f1=this[_0x212b7d(0x2bb)][_0x212b7d(0x3ae)](Et,_0x4cfb11,this[_0x212b7d(0x152)][_0x212b7d(0x1b9)]());return this[_0x212b7d(0x3b5)]['set'](_0x4cfb11,_0x12f0f1),_0x12f0f1;}['closeSession'](_0xe40026){var _0x1cbf55=_0x40e481,_0x2aaf23;const _0x37bf22=this['_sessions']['get'](_0xe40026);_0x37bf22&&(this[_0x1cbf55(0x3b5)][_0x1cbf55(0x233)](_0xe40026),_0x37bf22[_0x1cbf55(0x185)]()),this[_0x1cbf55(0x3b5)]['size']||(_0x2aaf23=this[_0x1cbf55(0x1e7)])==null||_0x2aaf23[_0x1cbf55(0x185)]();}[_0x40e481(0x1ad)](){var _0x579a4b=_0x40e481;this[_0x579a4b(0x38a)]=0x0,this[_0x579a4b(0x1a5)](),this[_0x579a4b(0x2bc)]();}[_0x40e481(0x1a5)](){var _0x3622ff=_0x40e481;this[_0x3622ff(0xf4)]!=null&&(clearTimeout(this[_0x3622ff(0xf4)]),this[_0x3622ff(0xf4)]=null);}async[_0x40e481(0x2d2)](){var _0x32be01=_0x40e481,_0x4143da,_0x3fab59;const _0x38c4e4=this[_0x32be01(0x221)][_0x32be01(0x3da)](In),_0x95509b=this[_0x32be01(0x221)]['getConfig'](q),_0x3cbbc7=(_0x3fab59=(_0x4143da=_0x95509b==null?void 0x0:_0x95509b['collabWebSocketUrl'])!=null?_0x4143da:_0x38c4e4)!=null?_0x3fab59:Tn,_0x23cb55=await this[_0x32be01(0x285)][_0x32be01(0x2ac)](_0x3cbbc7);return this['_candidateSocket']=_0x23cb55,_0x23cb55;}async['_tryEnsureSocket'](){var _0x4e0728=_0x40e481,_0x518939,_0x477c93;try{const _0x4cad93=(_0x477c93=(_0x518939=this[_0x4e0728(0x1e7)])!=null?_0x518939:this[_0x4e0728(0x123)])!=null?_0x477c93:await this['_createSocket']();if(_0x4cad93){const _0x141878=_0x4cad93['send'];_0x4cad93['send']=_0x3c9299=>(this['_rescheduleHeartbeat'](),_0x141878['apply'](_0x4cad93,[_0x3c9299])),_0x4cad93[_0x4e0728(0x106)]['subscribe'](_0x442d59=>this[_0x4e0728(0x1ae)](_0x4cad93,_0x442d59)),_0x4cad93[_0x4e0728(0x27e)][_0x4e0728(0x30c)](_0x1935b8(0x1))['subscribe'](_0xb333b2=>this['_logService']['error'](_0x4e0728(0xf1),_0xb333b2)),_0x4cad93[_0x4e0728(0x2df)]['pipe'](_0x1935b8(0x1))[_0x4e0728(0x38c)](()=>{this['_onConnectionOpen'](_0x4cad93);}),_0x4cad93[_0x4e0728(0x1ee)][_0x4e0728(0x30c)](_0x1935b8(0x1))[_0x4e0728(0x38c)](_0x498eed=>{var _0x1d4214=_0x4e0728;this[_0x1d4214(0x13c)][_0x1d4214(0x21c)]('[CollaborationSessionService]',_0x1d4214(0x26b),_0x498eed),this[_0x1d4214(0x281)]();});}}catch(_0x589fb8){this[_0x4e0728(0x13c)][_0x4e0728(0x30a)](_0x589fb8),this[_0x4e0728(0x281)]();}}[_0x40e481(0xff)](_0x29c5cf){var _0x478373=_0x40e481;this[_0x478373(0x13c)]['debug'](_0x478373(0x266),'socket\x20open.'),_0x29c5cf['send']({'cmd':F[_0x478373(0x3a4)]}),this[_0x478373(0x18d)]();}[_0x40e481(0x1d5)](){var _0x4e2bb1=_0x40e481;this[_0x4e2bb1(0x1e4)]=!0x1,this[_0x4e2bb1(0x123)]=null,this[_0x4e2bb1(0x13b)][_0x4e2bb1(0x377)](Ee[_0x4e2bb1(0x374)]),this[_0x4e2bb1(0x152)][_0x4e2bb1(0x377)](null),this[_0x4e2bb1(0x39a)](),this['_clearHeartbeatTimer']();}[_0x40e481(0x281)](){var _0x4725d9=_0x40e481,_0x4d629b;this[_0x4725d9(0x1d5)](),this[_0x4725d9(0x38a)]<((_0x4d629b=this[_0x4725d9(0x221)][_0x4725d9(0x3da)](yn))!=null?_0x4d629b:On)?(this[_0x4725d9(0x3df)][_0x4725d9(0x258)]({'id':re[_0x4725d9(0x172)]}),this[_0x4725d9(0x2bc)]()):this[_0x4725d9(0x3df)]['emitEvent']({'id':re[_0x4725d9(0x309)]});}[_0x40e481(0x2bc)](){var _0x462215=_0x40e481,_0x120bc0;const _0x40d9ab=this[_0x462215(0x38a)],_0x1daf0c=this[_0x462215(0x221)][_0x462215(0x3da)](q),_0x2baf8a=_0x40d9ab===0x0?0x0:((_0x120bc0=_0x1daf0c==null?void 0x0:_0x1daf0c[_0x462215(0x359)])!=null?_0x120bc0:bn)*0x2**_0x40d9ab;this[_0x462215(0xf4)]=setTimeout(()=>{var _0x346b9b=_0x462215;clearTimeout(this[_0x346b9b(0xf4)]),this[_0x346b9b(0xf4)]=null,this[_0x346b9b(0x36c)]();},_0x2baf8a),this[_0x462215(0x38a)]+=0x1;}['_onMessage'](_0x2813af,_0x1106ce){var _0x271d06=_0x40e481;const {cmd:_0x97677d}=_0x1106ce;_0x97677d===F['HELLO']&&!this[_0x271d06(0x1e4)]&&(_0x2813af[_0x271d06(0x229)]=_0x1106ce['data'][_0x271d06(0x229)],this[_0x271d06(0x152)][_0x271d06(0x377)](_0x2813af),this[_0x271d06(0x13b)][_0x271d06(0x377)](Ee[_0x271d06(0x2e6)]),this['_socketReady']=!0x0,this[_0x271d06(0x123)]=null),_0x97677d===F[_0x271d06(0x1a1)]&&this[_0x271d06(0x39a)](),this[_0x271d06(0x18d)]();}[_0x40e481(0x18d)](){var _0x35d6d3=_0x40e481,_0x513e84;this['_clearHeartbeatTimer'](),this[_0x35d6d3(0x1c0)]=setTimeout(()=>this[_0x35d6d3(0x1bd)](),(_0x513e84=this[_0x35d6d3(0x221)][_0x35d6d3(0x3da)](Cn))!=null?_0x513e84:Rn);}[_0x40e481(0x1bd)](){var _0x1898b1=_0x40e481;this[_0x1898b1(0x1e7)][_0x1898b1(0x119)]({'cmd':F[_0x1898b1(0x1a1)]}),this[_0x1898b1(0x1ac)]();}[_0x40e481(0x1ac)](){var _0x35264f=_0x40e481,_0x591d54;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x591d54=this[_0x35264f(0x221)][_0x35264f(0x3da)](mi))!=null?_0x591d54:gi);}['_clearHeartbeatTimer'](){var _0x5cd997=_0x40e481;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5cd997(0x1c0)]=null);}[_0x40e481(0x39a)](){var _0x199ce6=_0x40e481;this[_0x199ce6(0x173)]!=null&&(clearTimeout(this[_0x199ce6(0x173)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x41febc(_0x414ea7)),be(0x1,_0xcdb88),be(0x2,_0x1356ee),be(0x3,Ii),be(0x4,_0x41febc(pe)),be(0x5,_0x397f30(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x40e481(0xeb)]((t+0x100)[_0x40e481(0x3ba)](0x10)[_0x40e481(0x238)](0x1));function qn(_0xfa8959,_0x3ac44c=0x0){return(V[_0xfa8959[_0x3ac44c+0x0]]+V[_0xfa8959[_0x3ac44c+0x1]]+V[_0xfa8959[_0x3ac44c+0x2]]+V[_0xfa8959[_0x3ac44c+0x3]]+'-'+V[_0xfa8959[_0x3ac44c+0x4]]+V[_0xfa8959[_0x3ac44c+0x5]]+'-'+V[_0xfa8959[_0x3ac44c+0x6]]+V[_0xfa8959[_0x3ac44c+0x7]]+'-'+V[_0xfa8959[_0x3ac44c+0x8]]+V[_0xfa8959[_0x3ac44c+0x9]]+'-'+V[_0xfa8959[_0x3ac44c+0xa]]+V[_0xfa8959[_0x3ac44c+0xb]]+V[_0xfa8959[_0x3ac44c+0xc]]+V[_0xfa8959[_0x3ac44c+0xd]]+V[_0xfa8959[_0x3ac44c+0xe]]+V[_0xfa8959[_0x3ac44c+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x472e10=_0x40e481;if(!ut){if(typeof crypto>'u'||!crypto[_0x472e10(0x2da)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x472e10(0x2da)][_0x472e10(0x1cc)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x40e481(0x324)]&&crypto['randomUUID'][_0x40e481(0x1cc)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3b88c6,_0x52def9,_0x30e80a){var _0x27755b=_0x40e481,_0x2874db,_0x2d5a88,_0x434bb6;if(Yt['randomUUID']&&!_0x3b88c6)return Yt[_0x27755b(0x324)]();_0x3b88c6=_0x3b88c6||{};const _0x3bb9f2=(_0x434bb6=(_0x2d5a88=_0x3b88c6[_0x27755b(0x37f)])!=null?_0x2d5a88:(_0x2874db=_0x3b88c6[_0x27755b(0xef)])==null?void 0x0:_0x2874db['call'](_0x3b88c6))!=null?_0x434bb6:Jn();if(_0x3bb9f2[_0x27755b(0x299)]<0x10)throw new Error(_0x27755b(0xf6));return _0x3bb9f2[0x6]=_0x3bb9f2[0x6]&0xf|0x40,_0x3bb9f2[0x8]=_0x3bb9f2[0x8]&0x3f|0x80,qn(_0x3bb9f2);}const J=_0x392ccb('collaboration-client.local-cache-service');function Br(_0x220795){return'unit-cache-'+_0x220795;}var Qn=Object[_0x40e481(0x237)],es=(_0xa309b5,_0x3bcc21,_0x24883e,_0x2eb547)=>{for(var _0x236c1b=_0x2eb547>0x1?void 0x0:_0x2eb547?Qn(_0x3bcc21,_0x24883e):_0x3bcc21,_0x1d9346=_0xa309b5['length']-0x1,_0x5f3bb8;_0x1d9346>=0x0;_0x1d9346--)(_0x5f3bb8=_0xa309b5[_0x1d9346])&&(_0x236c1b=_0x5f3bb8(_0x236c1b)||_0x236c1b);return _0x236c1b;},dt=(_0x4cfbc5,_0x46af59)=>(_0x1ad8b8,_0x2d3de0)=>_0x46af59(_0x1ad8b8,_0x2d3de0,_0x4cfbc5);function ts(_0x581dfb){var _0x1f1680=_0x40e481;const {unitID:_0x15bac4,mutations:_0x316296}=_0x581dfb;return{'unitId':_0x15bac4,'subUnitId':_0x316296[0x0][_0x1f1680(0x1eb)]['subUnitId']};}let it=class{constructor(_0x4819eb,_0x2c0f23,_0x299a41){this['_injector']=_0x4819eb,this['_transformService']=_0x2c0f23,this['_instanceService']=_0x299a41;}[_0x40e481(0x2a9)](_0xbec02c){var _0xc0ebd5=_0x40e481,_0x5dfbc8,_0x1d85ec,_0x496679,_0x5cf9c0;const _0x52f116=this[_0xc0ebd5(0x2bb)][_0xc0ebd5(0x1da)](_0x30f1af),{unitId:_0x3b2139,subUnitId:_0x68ec3e}=ts(_0xbec02c),_0x2e4410=_0x52f116==null?void 0x0:_0x52f116[_0xc0ebd5(0x246)](_0x3b2139)['getCurrentSelections'](),_0x1e2595=(_0x1d85ec=(_0x5dfbc8=this[_0xc0ebd5(0x327)][_0xc0ebd5(0x16a)](_0x3b2139))==null?void 0x0:_0x5dfbc8[_0xc0ebd5(0x1d7)]())==null?void 0x0:_0x1d85ec[_0xc0ebd5(0x23d)]();if(_0x2e4410[_0xc0ebd5(0x299)]===0x0||!_0x3b2139||!_0x68ec3e)return;const _0x467ec7=[{'id':_0x11ff75['id'],'params':{'unitId':_0x3b2139,'subUnitId':_0x1e2595,'selections':_0x456a73[_0xc0ebd5(0x202)](_0x2e4410)}}],_0x5b82b6=this[_0xc0ebd5(0x1b5)][_0xc0ebd5(0x1dd)](_0xbec02c,_0x467ec7);if(!_0x2f923c(_0x5b82b6))throw _0x5b82b6[_0xc0ebd5(0x30a)];const _0x3ea711=(_0x5cf9c0=(_0x496679=_0x5b82b6[_0xc0ebd5(0x113)][0x0])==null?void 0x0:_0x496679[_0xc0ebd5(0x1eb)])==null?void 0x0:_0x5cf9c0[_0xc0ebd5(0x302)];if(Array['isArray'](_0x3ea711)&&_0x3ea711[_0xc0ebd5(0x299)]){if(_0x3ea711[_0xc0ebd5(0x299)]===_0x467ec7[0x0][_0xc0ebd5(0x1eb)][_0xc0ebd5(0x302)][_0xc0ebd5(0x299)]&&_0x3ea711[_0xc0ebd5(0x286)]((_0x30af5b,_0x51c013)=>_0x1df3ab['equals'](_0x30af5b[_0xc0ebd5(0x271)],_0x467ec7[0x0][_0xc0ebd5(0x1eb)][_0xc0ebd5(0x302)][_0x51c013]['range'])))return;this[_0xc0ebd5(0x2bb)]['get'](_0x2f806f)['executeCommand'](_0x11ff75['id'],{'unitId':_0x3b2139,'subUnitId':_0x1e2595,'selections':_0x3ea711});}}};it=es([dt(0x0,_0x41febc(_0x414ea7)),dt(0x1,_0x671f8c),dt(0x2,_0x26a8c2)],it);const ht=_0x392ccb('univer-pro.collaboration-client.single-active-unit-service');function _0x5f35(){var _0x245598=['slice','session.room-not-exists','StreamCipher','_members$','_executeRemoteChangeset','getSheetId','sendChangesetTimeout','location','collaboratorID','_scheduleCollaborationTimeoutTimer','_cipher','_waitCount','session','UserProfileImg','getWorkbookSelections','AWAITING','signUrlServerUrl','_sessionStatus$','UUID','status','eventID','mutations','csRejEvent','telemetry\x20info\x20is\x20not\x20initialized','sessionStatus$','LICENSE_DISTRO_REJECTED','ERROR_EXCEED_SIZE','fetchMiss','Pkcs7','/block/','onRemoteAck','_exhaustRemoteChangesetQueue','emitEvent','onTransformRemoteChangesetByIMECache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onSendChangeset','uniscriptRunEvent','snapshot','json','interceptor','WordArray','YUUMI_RATE_OVER_LIMIT','CHANGESET_SHOULD_RETRY','event$','infoRsp','onRemoteChangeset','[CollaborationSessionService]','onSyncEditingCollabCursor','status$','PY_RUNTIME_SCRIPT_ERROR','_mode','socket\x20close','onRemoteRetry','&source=','string','_collabSessionService','session.join-failed','range','salt','[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.','univer-pro.collaboration-client-socket-service','deleteCollaborator','unknown','_isPermissionRej','symbol','closeSession','_xformMode','uploadFileServerUrl','USER_NOT_INVITED_CODE','processBlock','error$','cfg','USERS_LEAVE','_onConnectionFailed','CONFLICT','[SyncedState]:\x20received\x20rejection.','values','_socketService','every','append','_collaborationSessionService','name','Undefined','2989zWeSXu','429440ztZabZ','_roomMembers','LICENSE_MAX_UNITS_EXCEEDED','UNKNOWN_CMD','onload','UnitEmbedded','awaitingChangeset','getMember','USERS_ENTER','baseRev','offline','[CollaborationUndoRedoService]','_snapshotServerService','length','NO_OTHER_CLIENTS_EDITING','_hasher','UnitSnapshot','_data','ws://127.0.0.1:8000/universer-api/comb/connect','getUnitStatus$','objectID','transformStack\x20failed!','startsWith','_init','_initUnitPermissionChange','onRemoteRej','_updateLocalCache','pending','{fileID}','transformSelections','_throwTelemetryCollaborationNewChangeset','Latin1','createSocket','JOIN_ROOM_FULL','charAt','_sendingTimer','clone','synced','OTHER_CLIENT_EDITING','_minBufferSize','Could\x20not\x20dynamically\x20require\x20\x22','_onJoinRoomEvent','CLOSE_ROOM','enableAuthServer','UNAUTHENTICATED','confirm','[PendingState]:\x20received\x20rejection.','_injector','_tryReconnect','updatePermissionPoint','onMissingChangesets','_createHelper','reject','resourceIDs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_transformIMECache','_state','ERROR_IMAGE_TYPE','/-/object/list','HttpImport','_HTTPService','update','newCsEvent','awaiting','/universer-api/stream/file/upload','_keyPriorReset','liveShareOperation','APPLY_DUPLICATED','_undoRedoService','sessionStatus','_createSocket','_clearScheduledTask','getCurrentUser','fetchThroughInterceptors','getCollabEntity$','cmd','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Base64','getRandomValues','_getDownloadEndpointURL','LOCAL_CACHE_INTERVAL','getTime','unitId','open$','_snapshotService','_awaitingChangeset','INVALID_INVITE_CODE','readAsDataURL','parse','workbook','ONLINE','repeat','HttpExport','getUnitType','blockSize','_clearUndo','ivSize','PENDING','not_collab','/allowed','_map','registerHTTPInterceptor','AWAITING_WITH_PENDING','key','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','loginUrlKey','editing\x20status\x20changed\x20to','origin','failed\x20to\x20apply\x20missed\x20changesets!','_resendTimer','put','fetching\x20missing\x20changesets\x20from\x20','hostname','[CollaborationState]:\x20apply\x20error!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','resend','selections','168466aodiks','from','__Key__','SNAPSHOT_INVALID_SNAPSHOT','_lockTransition','_permissionService','SOCKET_FAILED','error','prototype','pipe','type','image/jpeg','save\x20fail\x20reason\x20is\x20','_onUserLeave','SHOULD_CLOSE_CONN','getAllMembers','code','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_DOC','_joinRoom','_registerDependencies','_commentService','OTHER_CLIENTS_EDITING','getInterceptPoints','_changesetReqId','roomInfos','INVITE_CODE_HAS_BEEN_UES','Decryptor','loadSheet','LICENSE_EXPORT_SIZE_EXCEEDED','image/png','splice','randomUUID','enableOfflineEditing','UPDATE_PERMISSION_OBJ','_instanceService','clamp','_getUndoStack','_onRemoteRejected','MSG_FOR_ERROR','DEFAULT_FILE_NAME','now','objectType','_hash','Error\x20on\x20receiving\x20event','UNIVER_COLLABORATION_CLIENT_PLUGIN','updatePermissionObjEvent','NEW_CHANGESETS','override','IDLE','_localCacheService','_sender','unpad','55856TYgNhk','_memberService','UPDATE_CURSOR','byteLength','_showConflictNotification','_remoteChangesetQueue','charCodeAt','_invKeySchedule','_transformRemoteChangesetByStateCache','_collaborationTimeoutTimer','[DataLoaderService]','_event$','x-univer-host','POST','_handlerCallback','buffer','LIVESHARE_FETCH_OPERATIONS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','appendMutation','_unlockTransition','?size=','EvpKDF','conflict','&assign=','_syncEditingCollabCursor','originalMeta','stringify','_change$','_onUserJoin','UNIVER_SLIDE','SUCCUSS','UNIVER_SHEET','retryConnectingInterval','LIVESHARE_TERMINATE','default','UNIVER_UNKNOWN','getCollabEntity','_clearLocalCache','[SyncedState]:\x20received\x20acknowledgement.','sigBytes','batchAllowed','_loadDoc','exports','transformChangesets','__esModule','createDecryptor','_getRedoStack','_transformRemoteChangesetByIMECache','reqId','_append','c1Prime','_tryEnsureSocket','_substituteRedoStack','liveShareNewHost','hasher','_fetchMissChangesets','BASE64','LIVESHARE_REQUEST_HOST','transformUndoRedo','OFFLINE','_localeService','reset','next','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE','Malformed\x20UTF-8\x20data','_initDependencies','getImage','onlyLocal','url','random','SUBMIT_CHANGESET_TIMEOUT','localCacheService','getUnitId','catch','/universer-api/comb','JOIN','INTERNAL_ERROR','concat','collaboration_new_changeset','_oKey','_retryCount','/object','subscribe','set','__creator','_state$','_reverseMap','HmacMD5','floor','patch','editingUnit','loadDoc','state$','_shouldReportTelemetry','encryptBlock','/universer-api/uniscript','_clearTimeoutTimer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_unitInfo$','_parse','2454swBbWp','href','31347TZcgND','data','273210sFndpJ','/universer-api/user/session-ticket','HELLO','method','snapshotServerUrl','_schedule','toggleOffline','HmacSHA1','disposeWithMe','_socketMessageSubscription','SUBMIT_CHANGESET','findIndex','createInstance','src','\x0aCurrent:\x20','_doReset','AES','image/gif','copyFileMeta','_sessions','_onRemoteChangeset','isPermissionRej','_createHmacHelper','complete','toString','LIVESHARE_OPERATION','_startTelemetryCollaborationNewChangeset','keySize','execute','PSEUDO_FETCH_MISSING_RESULT','extend','encrypt','_members','headers','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sin','_iKey','_initRequestHeader','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','updateCollaborator','sid','_updateState','JOINING','_clearRedo','FileId','LOGIN_FAILED','createCollaborator','PasswordBasedCipher','iterations','/collaborator','_handler','_scheduleCompleteTimestamp','APPLY_REJECT','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','_replaceFileID','getConfig','list','_keySchedule','APPLY_REVISION_CONFILICT','HMAC','_collaborationUIEventService','_telemetryInfo','[FetchMissState]','saveChangeset','onCommandExecuted','WECHAT_HAS_BEEN_BOUND','refreshPermission','substr','_toggleOnline','1395369QJwgBO','requestParams','isArray','onTransformIME','/universer-api/authz','push','NoPadding','submit\x20changeset\x20error!','joinEvent','rng','filter','[CollaborationSessionService]:\x20socket\x20error','_transformStack','_transitionLocked','_retryConnectingTimer','_onLocalMutation','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onTransformSelections','SerializableCipher','reverse','_replayCachedMutations','RECV','People','UNKNOWN_CODE','words','_onConnectionOpen','_getCurrentRevision','onMissedChangesetFetched','_sheetTransformSelectionsService','onCommentUpdate','COMMENT_UPDATE','JOIN_ROOM_FAILED','message$','SNAPSHOT_HAS_BEEN_REMOVED','univer-pro.collaboration-client.network-condition.service','forEach','INVITE_CODE_ALREADY_BOUND','COMPRESS_MUTATION_SEND','_iv','GLOBAL_ROOMS_CNT_EXCEEDS','crypto','file','[CollaborationEntity]','clear','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','m2Prime','getResourcesRequest','INGEST','CHANGESET_REJ','_onConflict','online$','send','getSheetBlock','entries','_decreaseWaiting','image/bmp','_getCtorByUniverType','saveSnapshot','OPTIONAL','_undoStacks','_submitChangeset','_candidateSocket','_toggleOffline','getCurrentRevOfUnit','result','init','_incrementRevisionNumber','localeService','rev','getUnitOnRev','_getAPIPrefix','map','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','stopTime','onTransformRemoteChangesetByStateCache','COMPRESS_MUTATION_APPLY','SNAPSHOT_SERVER_URL_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','requireSession','_emitMembers','saveImage','CHANGESET_REVISION_CONFILICT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','compute','socketService','_status$','_logService','_applyRemoteChangeset','authzUrl','_singleActiveUnitService','COMPLETION_FINISHED','abs','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_doCryptBlock','\x20in\x20_schedule.','commentUpdate$','getFocusedUnit','setShowComponents','UNDEFINED','_clearHeartbeatTimer','joinRsp','APPLY_NON_SEQUENTIAL_REVISION','BlockCipher','_onRemoteRetry','/unit/','LICENSE_IMPORT_SIZE_EXCEEDED','_doFinalize','routeKey','_socket$','enc','avatar','textRanges','objectActions','MUTATION','updateOfflineData','body','_httpService','has','_changesetSessionId','algo','TOO_MANY_REQUESTS','session.room-full','createEncryptor','fetch_missing','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/resources','EMAIL_HAS_BEEN_BOUND','/-/object/-/batch_allowed','collaborators','_updateStatus','CONNECTOR_DATA_TOO_LARGE','fetchMissingChangesets','getUnit','Cipher','_entityInit$','/fetchmissing?from=','_onRecvEvent','Utf8','reduce','function','SOCKET_FAILED_RETRY','_timeoutTimer','pauseCollaboration','size','getRoom','getSnapshotAPIPath','_transformSelections','_acknowledgedAwaitingChangeset','_resendWithTimeout','msCrypto','updateMember','MOBILE_HAS_BEEN_BOUND','randomBytes','updateCursorEvent','ENSURE_SNAPSHOT_EXECUTION','state','focused$','Univer','_config','close','getValue','/role','_createInitialState','_onRemoteACK','\x0aAfter:\x20','_univerInstanceService','_revisionService','_rescheduleHeartbeat','HEARTBEAT_INTERVAL','&to=','addImageSourceCache','_compressMutationService','userID','members$','apply','YUUMI_UNABLE_LOAD_URL','Hasher','_commandService','JOIN_ROOM_NOT_EXISTS','_prevBlock','removeMember','_getAPIPrefixPath','_entities','_startCollaboration','setConfig','members','[PendingState]:\x20received\x20acknowledgement.','HEARTBEAT','setCurrentUser','hasOwnProperty','_nDataBytes','_clearRetryConnectingTimer','UNRECOGNIZED','leaveEvent','_doCreateSocket','getLatestCsReqIdBySid','saveSheetBlock','_getSignURL','_waitForHeartbeatResponse','reconnect','_onMessage','_ENC_XFORM_MODE','fromCharCode','downloadEndpointUrl','_initMergeInterceptor','_doProcessBlock','auth.needGotoLoginAlert','_transformService','pad','FAIL','_networkConditionService','asObservable','Hex','post','onStarting','_sendHeartbeat','onTransformState','ceil','_sendHeartbeatTimer','SHA1','then','getMemberID','add','_queuedRemoteChangesets','LEAVE','format','_roomCreated$','ALREADY_EXISTS','FETCH_MISSING','/universer-api/snapshot','bind','dispose$','formatter','awaiting_with_pending','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','MD5','create','_pendingMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onOffline','_userManagerService','getActiveSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getSendChangesetTimeout','get','_DEC_XFORM_MODE','[UniverCollaborationClientPlugin]','transformMutationsWithChangeset','csAckEvent','_commentUpdate$','kdf','generateRandomId','encode','/universer-api/file/{fileID}/sign-url','_socketReady','revision','unsubscribe','_socket','_type','_checkMissing','resolve','params','_listenToNetworkCondition','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','_unitID','actions','fromCollab','changesets','YUUMI_URL_COL_OUT_OF_RANGE','_transformStateCache','initWorkbookPermissionChange','_removeRoom','finalize','_createInitialStateImpl','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_getLoginPath','shouldCloseConn','_imageSourceCache','title','Encryptor','Base','enableSingleActiveInstanceLock','/universer-api/oidc/authpage','deepClone','_telemetryService','unitID','dispose','toggleOnline','SNAPSHOT_URL_KEY','subject','max','withCredentials','call','image/jpg','onLocalMutation','listCollaborators','_stopTelemetryCollaborationNewChangeset','action','connection\x20error','_onFetchMissResult','PERMISSION_REJ','UNISCRIPT_RUN','_getUploadFileURL','permissionRejEvent','PERSON','UNIVER_PROJECT','CHANGESET_ACK','defineProperty','LIVESHARE_NEW_HOST','debug','_createHandler','csShouldRetryEvent','APPLY_PERMISSION_DENIED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_configService','OpenSSL','$super','_resendTimeout','replace','unitId\x20is\x20not\x20found','_collaborationPaused','[CollaborationSession]','memberID','40XGwQFL','join','_nRounds','INVALID_ARGUMENT','_key','lib','getTypeOfUnitAdded$','_process','allowed','delete','/new_changes','decrypt','byteOffset','getOwnPropertyDescriptor'];_0x5f35=function(){return _0x245598;};return _0x5f35();}var Ci=(_0x50955a=>(_0x50955a[_0x50955a[_0x40e481(0x29a)]=0x0]=_0x40e481(0x29a),_0x50955a[_0x50955a[_0x40e481(0x31a)]=0x1]='OTHER_CLIENTS_EDITING',_0x50955a))(Ci||{});const is=new Set([_0x4a110e['id']]);function qt(_0x5040eb,_0x1c07bd,_0x351504,_0x534d1c,_0x5579c6){var _0x17a4f0=_0x40e481,_0x192d73,_0x442060,_0x49f984,_0x416421;const _0x2915bc=[];for(const _0x455295 of _0x5040eb)if(is[_0x17a4f0(0x15b)](_0x455295['id'])){if(_0x2915bc[_0x17a4f0(0x299)]>0x0)break;_0x2915bc[_0x17a4f0(0xeb)](_0x455295);break;}else _0x2915bc[_0x17a4f0(0xeb)](_0x455295);const _0x3a3616=(_0x442060=(_0x192d73=_0x5579c6['getCurrentUser']())==null?void 0x0:_0x192d73[_0x17a4f0(0x192)])!=null?_0x442060:_0x17a4f0(0x276),_0x456c3e=(_0x416421=(_0x49f984=_0x5579c6[_0x17a4f0(0x2d4)]())==null?void 0x0:_0x49f984[_0x17a4f0(0x229)])!=null?_0x416421:'unknown';return{'changeset':{'unitID':_0x1c07bd,'type':_0x16fc42(_0x351504[_0x17a4f0(0x2e9)](_0x1c07bd)),'baseRev':_0x534d1c[_0x17a4f0(0x125)](_0x1c07bd),'revision':0x0,'userID':_0x3a3616,'memberID':_0x456c3e,'mutations':_0x2915bc},'pendingMutations':_0x5040eb[_0x17a4f0(0x238)](_0x2915bc['length'])};}function ns(_0xf43c36,_0x25e14d,_0x1b3fbb,_0x169dc7,_0x346a09){var _0x2e6079=_0x40e481,_0x240674,_0x4e8f86,_0x3c4ea3,_0x53fd74;const _0x32d8c5=[_0xf43c36[_0x2e6079(0x170)]((_0x5130bd,_0x209aa5)=>{var _0x3c3360=_0x2e6079,_0x3b0f2e;const {id:_0x562942}=_0x5130bd,{id:_0x33fa41,type:_0x406073}=_0x209aa5,_0x103f10=(_0x3b0f2e=_0x5130bd[_0x3c3360(0x1eb)])!=null?_0x3b0f2e:{'actions':null},_0x3ec249=_0x209aa5[_0x3c3360(0x1eb)];if(_0x562942&&_0x562942!==_0x33fa41)throw new Error(_0x3c3360(0x142)+_0x562942+'\x20-\x20'+_0x33fa41+'.');return{..._0x5130bd,'id':_0x33fa41,'type':_0x406073,'params':{'unitId':_0x3ec249[_0x3c3360(0x2de)],'textRanges':_0x3ec249[_0x3c3360(0x155)],'actions':_0x278209['compose'](_0x103f10[_0x3c3360(0x1f0)],_0x3ec249['actions'])}};},{})],_0x17546f=(_0x4e8f86=(_0x240674=_0x346a09[_0x2e6079(0x2d4)]())==null?void 0x0:_0x240674[_0x2e6079(0x192)])!=null?_0x4e8f86:'unknown',_0x5399bf=(_0x53fd74=(_0x3c4ea3=_0x346a09[_0x2e6079(0x2d4)]())==null?void 0x0:_0x3c4ea3[_0x2e6079(0x229)])!=null?_0x53fd74:_0x2e6079(0x276);return{'changeset':{'unitID':_0x25e14d,'type':_0x16fc42(_0x1b3fbb['getUnitType'](_0x25e14d)),'baseRev':_0x169dc7[_0x2e6079(0x125)](_0x25e14d),'revision':0x0,'userID':_0x17546f,'memberID':_0x5399bf,'mutations':_0x32d8c5},'pendingMutations':[]};}function Ri(_0xe66e8a,_0x5f3c22){var _0x3783cd=_0x40e481;const _0x23acdf=new _0x3314aa(0x1);return setTimeout(()=>_0x23acdf['next'](_0x5f3c22),_0xe66e8a),_0x23acdf[_0x3783cd(0x1b9)]()[_0x3783cd(0x30c)](_0x48d365(0x1));}const ss={'id':_0x258c66['id'],'type':_0xe7c659['MUTATION'],'params':{}};var rs=Object[_0x40e481(0x237)],Te=(_0x523ffa,_0x20b4c1,_0x51849d,_0x3a9b23)=>{var _0x3c9189=_0x40e481;for(var _0x15c373=_0x3a9b23>0x1?void 0x0:_0x3a9b23?rs(_0x20b4c1,_0x51849d):_0x20b4c1,_0x54a922=_0x523ffa[_0x3c9189(0x299)]-0x1,_0x28402;_0x54a922>=0x0;_0x54a922--)(_0x28402=_0x523ffa[_0x54a922])&&(_0x15c373=_0x28402(_0x15c373)||_0x15c373);return _0x15c373;},P=(_0x485353,_0x572ad6)=>(_0x48887c,_0xb1eba4)=>_0x572ad6(_0x48887c,_0xb1eba4,_0x485353),bi=(_0x4c202f=>(_0x4c202f['NOT_COLLAB']=_0x40e481(0x2ee),_0x4c202f['SYNCED']=_0x40e481(0x2b1),_0x4c202f[_0x40e481(0x2ed)]='pending',_0x4c202f[_0x40e481(0x247)]=_0x40e481(0x2cb),_0x4c202f[_0x40e481(0x2f2)]=_0x40e481(0x1cf),_0x4c202f['FETCH_MISS']=_0x40e481(0x161),_0x4c202f[_0x40e481(0x282)]=_0x40e481(0x34f),_0x4c202f[_0x40e481(0x374)]=_0x40e481(0x296),_0x4c202f))(bi||{});const yi=0xea60;class Ce{constructor(_0x3fb436,_0x4a19de,_0x39a43b,_0x2aeb31,_0x33e80c,_0x27776f,_0x39a064,_0x28afd9,_0x4c382a){var _0x3829f5=_0x40e481;N(this,_0x3829f5(0x2e1),null),N(this,_0x3829f5(0x1d3),[]),(this['unitID']=_0x3fb436,this['type']=_0x4a19de,this[_0x3829f5(0x3d4)]=_0x33e80c,this[_0x3829f5(0x197)]=_0x27776f,this[_0x3829f5(0x2d0)]=_0x39a064,this[_0x3829f5(0x18c)]=_0x28afd9,this[_0x3829f5(0x336)]=_0x4c382a,this[_0x3829f5(0x2e1)]=_0x39a43b,this[_0x3829f5(0x1d3)]=_0x2aeb31);}[_0x40e481(0x1e9)](_0x2aaade){var _0xca091d=_0x40e481;const _0x149c4c=this[_0xca091d(0x18c)][_0xca091d(0x125)](this['unitID']);return _0x2aaade['revision']>_0x149c4c+0x1?(this[_0xca091d(0x3d4)][_0xca091d(0x2be)]({'from':_0x149c4c,'to':_0x2aaade[_0xca091d(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2a7830){var _0x3176e3=_0x40e481;this[_0x3176e3(0x2d0)][_0x3176e3(0x373)](this['unitID'],_0x2a7830);}[_0x40e481(0x178)](_0x52d5d1){var _0x421316=_0x40e481,_0x109166,_0x5823d7;(_0x5823d7=(_0x109166=this[_0x421316(0x3d4)])[_0x421316(0xf7)])==null||_0x5823d7[_0x421316(0x20b)](_0x109166,_0x52d5d1);}[_0x40e481(0x2c3)](_0xe2bdd){var _0x4e88b9=_0x40e481,_0x118ce5,_0x372e37;return(_0x372e37=(_0x118ce5=this[_0x4e88b9(0x3d4)])[_0x4e88b9(0xe9)])==null?void 0x0:_0x372e37[_0x4e88b9(0x20b)](_0x118ce5,_0xe2bdd);}[_0x40e481(0x1f4)](_0x4763c9){var _0x2f1252=_0x40e481,_0x3dbdcb,_0x207efd;return(_0x207efd=(_0x3dbdcb=this[_0x2f1252(0x3d4)])['onTransformState'])==null?void 0x0:_0x207efd[_0x2f1252(0x20b)](_0x3dbdcb,_0x4763c9);}['_transformRemoteChangesetByIMECache'](_0x2aab12){var _0x28e982=_0x40e481,_0x31db14,_0xd3071b,_0x379c06;return(_0x379c06=(_0xd3071b=(_0x31db14=this[_0x28e982(0x3d4)])[_0x28e982(0x259)])==null?void 0x0:_0xd3071b['call'](_0x31db14,_0x2aab12))!=null?_0x379c06:_0x2aab12;}['_transformRemoteChangesetByStateCache'](_0x477ff9){var _0x5b3f37=_0x40e481,_0xe21333,_0xfc9b2e,_0xd8848f;return(_0xd8848f=(_0xfc9b2e=(_0xe21333=this[_0x5b3f37(0x3d4)])[_0x5b3f37(0x130)])==null?void 0x0:_0xfc9b2e[_0x5b3f37(0x20b)](_0xe21333,_0x477ff9))!=null?_0xd8848f:_0x477ff9;}['_syncEditingCollabCursor'](_0x243cff){var _0x29848a=_0x40e481,_0x1f6ec7,_0x4a9678;if(this[_0x29848a(0x30d)]===Q[_0x29848a(0x316)]){const {unitID:_0x3392a5,mutations:_0x4f5f27,memberID:_0x40d42f}=_0x243cff,_0x244c01=_0x4f5f27[0x0]['params'][_0x29848a(0x155)];Array[_0x29848a(0xe8)](_0x244c01)&&_0x244c01[_0x29848a(0x299)]>0x0&&((_0x4a9678=(_0x1f6ec7=this[_0x29848a(0x3d4)])[_0x29848a(0x267)])==null||_0x4a9678['call'](_0x1f6ec7,{'unitID':_0x3392a5,'memberID':_0x40d42f,'textRanges':_0x244c01}));}}[_0x40e481(0x2a6)](){var _0x5f2cd4=_0x40e481,_0x4ea446;(_0x4ea446=this[_0x5f2cd4(0x336)])==null||_0x4ea446[_0x5f2cd4(0x158)](this['unitID'],this[_0x5f2cd4(0x30d)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x39ed97=_0x40e481;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x39ed97(0x204)]);}[_0x40e481(0x128)](){var _0x5bd554=_0x40e481;this[_0x5bd554(0x18c)]['incrementRevOfUnit'](this[_0x5bd554(0x204)]);}['_executeRemoteChangeset'](_0x44fa61){var _0x5c359a=_0x40e481,_0x9ff35b;let _0x28187c=this[_0x5c359a(0x368)](_0x44fa61);_0x28187c=this[_0x5c359a(0x341)](_0x28187c);const _0x18ee79=_0x280d62(_0x28187c[_0x5c359a(0x24d)],this[_0x5c359a(0x197)],{'fromCollab':!0x0});if(!_0x18ee79[_0x5c359a(0x126)])throw _0x18ee79[_0x5c359a(0x30a)]instanceof Error?_0x18ee79['error']:new Error((_0x9ff35b=_0x18ee79['error'])!=null?_0x9ff35b:_0x5c359a(0x2ff));this['_transformIMECache'](_0x28187c),this['_transformStateCache'](_0x28187c),this['_transformUndoredo'](_0x44fa61),this[_0x5c359a(0x178)](_0x28187c),this[_0x5c359a(0x351)](_0x28187c),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x1cb355,_0x41b41d,_0x369306,_0x279b2f,_0x175805,_0x3f4e06,_0x542916,_0xce6cdd,_0x4945b3,_0x1e8d07){var _0x24cc00=_0x40e481;super(_0x1cb355,_0x41b41d,null,[],_0x369306,_0x542916,_0x3f4e06,_0x279b2f,_0x1e8d07),N(this,_0x24cc00(0x24b),_0x24cc00(0x2b1)),(this[_0x24cc00(0x2bb)]=_0x175805,this['_logService']=_0xce6cdd,this[_0x24cc00(0x1b5)]=_0x4945b3,this[_0x24cc00(0x381)]=_0x1e8d07);}[_0x40e481(0x34b)](_0x1b5d1c){var _0x3bde29=_0x40e481;const _0x336643=this['_injector'][_0x3bde29(0x3ae)](ae,this['unitID'],this[_0x3bde29(0x30d)],[_0x1b5d1c],this[_0x3bde29(0x3d4)]);return _0x336643['_schedule'](),_0x336643[_0x3bde29(0x2a6)](),_0x336643;}['onRemoteChangeset'](_0x2077b1){var _0x413b36=_0x40e481;if(this[_0x413b36(0x1e9)](_0x2077b1))return this[_0x413b36(0x2bb)]['createInstance'](ee,this[_0x413b36(0x204)],this[_0x413b36(0x30d)],null,[],null,[_0x2077b1],this[_0x413b36(0x3d4)]);try{const _0x5ad08c=this[_0x413b36(0x1b5)]['transformMutationsWithChangeset'](_0x2077b1,[ss]);if(_0x2f923c(_0x5ad08c)){const {c1Prime:_0x1ea827}=_0x5ad08c;return this['_executeRemoteChangeset'](_0x1ea827),this;}throw _0x5ad08c[_0x413b36(0x30a)];}catch(_0x51c8f7){return this[_0x413b36(0x13c)][_0x413b36(0x30a)](_0x51c8f7),this[_0x413b36(0x117)](!0x1);}}[_0x40e481(0x117)](_0x290eea){var _0x33272a=_0x40e481;return this['_injector'][_0x33272a(0x3ae)](ue,this[_0x33272a(0x204)],this[_0x33272a(0x30d)],null,[],this[_0x33272a(0x3d4)],_0x290eea);}[_0x40e481(0x256)](){var _0x3e3f61=_0x40e481;throw new Error(_0x3e3f61(0x35f));}[_0x40e481(0x2a5)](){var _0x4eeed9=_0x40e481;throw new Error(_0x4eeed9(0x283));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x8e3b34=_0x40e481;return this[_0x8e3b34(0x2bb)]['createInstance'](de,this['unitID'],this[_0x8e3b34(0x30d)],null,[],this[_0x8e3b34(0x3d4)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x40e481(0x253)](){var _0x522bb1=_0x40e481;const _0x1d1ca2=this[_0x522bb1(0x18c)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x522bb1(0x3d4)][_0x522bb1(0x2be)]({'from':_0x1d1ca2,'to':0x0}),this[_0x522bb1(0x2bb)][_0x522bb1(0x3ae)](ee,this[_0x522bb1(0x204)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x41febc(_0x1de1e7)),P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x47f0e4),P(0x6,_0x2f806f),P(0x7,_0xcdb88),P(0x8,_0x671f8c),P(0x9,_0x397f30(J))],Ne);let ae=class extends Ce{constructor(_0x309980,_0x243ba9,_0x36abaa,_0x355a05,_0x3ef100,_0x9b2b29,_0x4ec14c,_0x2574b0,_0x38b8ed,_0x316b91,_0x5a3afa,_0x10de2e,_0x20518a,_0x110a1d){var _0x5f53be=_0x40e481;super(_0x309980,_0x243ba9,null,_0x36abaa,_0x355a05,_0x38b8ed,_0x20518a,_0x9b2b29,_0x110a1d),N(this,_0x5f53be(0x24b),_0x5f53be(0x2a7)),N(this,_0x5f53be(0x3d5),null),N(this,_0x5f53be(0x2af),null),(this[_0x5f53be(0x2bb)]=_0x3ef100,this[_0x5f53be(0x33a)]=_0x4ec14c,this[_0x5f53be(0x13c)]=_0x2574b0,this[_0x5f53be(0x221)]=_0x316b91,this[_0x5f53be(0x1b5)]=_0x5a3afa,this[_0x5f53be(0x18b)]=_0x10de2e);}[_0x40e481(0x34b)](_0x499305){var _0x39f7b8=_0x40e481;return this['_pendingMutations']['push'](_0x499305),this[_0x39f7b8(0x2a6)](),this;}['onRemoteChangeset'](_0x216dee){var _0x588017=_0x40e481;if(this[_0x588017(0x1e9)](_0x216dee))return this['_clearScheduledTask'](),this[_0x588017(0x2bb)][_0x588017(0x3ae)](ee,this[_0x588017(0x204)],this[_0x588017(0x30d)],null,this['_pendingMutations'],null,[_0x216dee],this[_0x588017(0x3d4)]);try{const _0x11dc37=this['_transformService'][_0x588017(0x1dd)](_0x216dee,this[_0x588017(0x1d3)]);if(_0x2f923c(_0x11dc37)){const {c1Prime:_0x35b413,m2Prime:_0x3b3645}=_0x11dc37;this['_executeRemoteChangeset'](_0x35b413);const _0x351e89=this[_0x588017(0x2bb)][_0x588017(0x3ae)](ae,this['unitID'],this[_0x588017(0x30d)],_0x3b3645,this[_0x588017(0x3d4)]);this[_0x588017(0x2d3)]();const _0x103e43=new Date()[_0x588017(0x2dd)](),_0x41a58f=this[_0x588017(0x3d5)]?Math[_0x588017(0x209)](this[_0x588017(0x3d5)]-_0x103e43,0x0):this[_0x588017(0x1d9)]();return _0x351e89['_schedule'](_0x41a58f),_0x351e89;}throw _0x11dc37['error'];}catch(_0x1ad97e){return this[_0x588017(0x13c)]['error'](_0x1ad97e),this[_0x588017(0x117)](!0x1);}}['onRemoteAck'](){var _0x33462b=_0x40e481;throw new Error(_0x33462b(0x1a0));}[_0x40e481(0x2a5)](){var _0x2b75b7=_0x40e481;throw new Error(_0x2b75b7(0x2ba));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x5332ec=_0x40e481;return this[_0x5332ec(0x2d3)](),this[_0x5332ec(0x2bb)][_0x5332ec(0x3ae)](de,this[_0x5332ec(0x204)],this[_0x5332ec(0x30d)],null,this[_0x5332ec(0x1d3)],this['_handler']);}['toggleOnline'](){return this;}[_0x40e481(0x3a7)](_0x8730cf){var _0x2c79f2=_0x40e481;const _0x191db4=_0x8730cf!=null?_0x8730cf:this['_getSendChangesetTimeout']();this[_0x2c79f2(0x3d5)]=new Date()[_0x2c79f2(0x2dd)]()+_0x191db4,this[_0x2c79f2(0x2af)]=setTimeout(()=>{var _0xe10844=_0x2c79f2;this['_clearScheduledTask']();let _0x47cb36=null;switch(this[_0xe10844(0x30d)]){case Q['UNIVER_SHEET']:{_0x47cb36=qt(this['_pendingMutations'],this[_0xe10844(0x204)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case Q[_0xe10844(0x316)]:{this['_pendingMutations'][_0xe10844(0x286)](_0x2cac4d=>_0x2cac4d['id']===_0x3a29dc['id'])?_0x47cb36=ns(this[_0xe10844(0x1d3)],this[_0xe10844(0x204)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x47cb36=qt(this['_pendingMutations'],this[_0xe10844(0x204)],this[_0xe10844(0x18b)],this['_revisionService'],this[_0xe10844(0x33a)]);break;}default:throw new Error(_0xe10844(0x300)+this['type']+_0xe10844(0x144));}const {changeset:_0xd32df0,pendingMutations:_0x1409e9}=_0x47cb36;this['_handler'][_0xe10844(0x25b)](_0xd32df0);const _0x36295f=_0x1409e9[_0xe10844(0x299)]?this[_0xe10844(0x2bb)][_0xe10844(0x3ae)](oe,this[_0xe10844(0x204)],this[_0xe10844(0x30d)],_0xd32df0,_0x1409e9,this[_0xe10844(0x3d4)],void 0x0):this['_injector'][_0xe10844(0x3ae)](le,this['unitID'],this[_0xe10844(0x30d)],_0xd32df0,this[_0xe10844(0x3d4)]);_0x36295f[_0xe10844(0x2a6)](),this[_0xe10844(0x3d4)]['onStateChange'](this,_0x36295f);},_0x191db4);}[_0x40e481(0x1d9)](){var _0x284b33=_0x40e481,_0x5d47ac;const _0x2b311a=this['_configService'][_0x284b33(0x3da)](q);return(_0x5d47ac=_0x2b311a==null?void 0x0:_0x2b311a[_0x284b33(0x23e)])!=null?_0x5d47ac:En;}[_0x40e481(0x301)](){var _0x40325f=_0x40e481;throw new Error(_0x40325f(0x1ed));}[_0x40e481(0x2d3)](){var _0x270ba1=_0x40e481;this[_0x270ba1(0x2af)]!=null&&(clearTimeout(this[_0x270ba1(0x2af)]),this['_sendingTimer']=null);}[_0x40e481(0x117)](_0x29300e){var _0x3fc240=_0x40e481;return this[_0x3fc240(0x2d3)](),this[_0x3fc240(0x2bb)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x3fc240(0x1d3)],this['_handler'],_0x29300e);}};ae=Te([P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x41febc(_0x1de1e7)),P(0x6,_0x41febc(Le)),P(0x7,_0xcdb88),P(0x8,_0x2f806f),P(0x9,_0x1356ee),P(0xa,_0x671f8c),P(0xb,_0x26a8c2),P(0xc,_0x47f0e4),P(0xd,_0x397f30(J))],ae);let le=class extends Ce{constructor(_0x4ebb80,_0x56c2d4,_0x38aaa1,_0x3b869c,_0x29f84e,_0x5ace40,_0xa6b651,_0x3bc0ae,_0x82e099,_0x1a564c,_0x33380c){var _0x324ac7=_0x40e481;super(_0x4ebb80,_0x56c2d4,_0x38aaa1,[],_0x3b869c,_0xa6b651,_0x1a564c,_0x5ace40,_0x33380c),N(this,'status',_0x324ac7(0x2cb)),N(this,'_resendTimeout',0x0),N(this,_0x324ac7(0x2fb)),N(this,_0x324ac7(0x337)),(this['_injector']=_0x29f84e,this[_0x324ac7(0x13c)]=_0x3bc0ae,this[_0x324ac7(0x1b5)]=_0x82e099);}[_0x40e481(0x34b)](_0xfce8a5){var _0x58f26f=_0x40e481;this[_0x58f26f(0x2d3)]();const _0x2c09f0=this[_0x58f26f(0x2bb)]['createInstance'](oe,this['unitID'],this[_0x58f26f(0x30d)],this[_0x58f26f(0x2e1)],[_0xfce8a5],this[_0x58f26f(0x3d4)],this[_0x58f26f(0x2fb)]);return _0x2c09f0[_0x58f26f(0x2a6)](),_0x2c09f0;}[_0x40e481(0x265)](_0x1be1b6){var _0x4959af=_0x40e481;if(this[_0x4959af(0x1e9)](_0x1be1b6))return this[_0x4959af(0x2d3)](),this[_0x4959af(0x2bb)][_0x4959af(0x3ae)](ee,this[_0x4959af(0x204)],this[_0x4959af(0x30d)],this[_0x4959af(0x2e1)],[],null,[_0x1be1b6],this[_0x4959af(0x3d4)]);try{const _0x18d5b6=this['_transformService']['transformChangesets']([_0x1be1b6],[this[_0x4959af(0x2e1)]],!0x1);if(_0x40f543(_0x18d5b6)){const {c1Prime:_0x40cd69,c2Prime:_0x153de9}=_0x18d5b6;this['_executeRemoteChangeset'](_0x40cd69[0x0]),_0x153de9[0x0][_0x4959af(0x295)]=this[_0x4959af(0x100)](),this[_0x4959af(0x2d3)]();const _0x51df39=this['_injector']['createInstance'](le,this[_0x4959af(0x204)],this[_0x4959af(0x30d)],_0x153de9[0x0],this[_0x4959af(0x3d4)]);return _0x51df39[_0x4959af(0x2a6)](),_0x51df39;}return this[_0x4959af(0x117)](!0x1);}catch(_0x55b09a){return this['_logService'][_0x4959af(0x30a)](_0x55b09a),this[_0x4959af(0x117)](!0x1);}}[_0x40e481(0x256)](_0x3a3336){var _0x560491=_0x40e481;this[_0x560491(0x2d3)]();const _0x2474fa=this[_0x560491(0x18c)][_0x560491(0x125)](this[_0x560491(0x204)]);if(_0x3a3336['revision']<_0x2474fa-0x1)return this;if(this[_0x560491(0x1e9)](_0x3a3336))return this[_0x560491(0x2bb)][_0x560491(0x3ae)](ee,this[_0x560491(0x204)],this[_0x560491(0x30d)],null,[],this[_0x560491(0x2e1)],[],this[_0x560491(0x3d4)]);this[_0x560491(0x128)]();const _0x1c360e=this['_injector'][_0x560491(0x3ae)](Ne,this[_0x560491(0x204)],this['type'],this['_handler']);return _0x1c360e[_0x560491(0x2a6)](),_0x1c360e;}[_0x40e481(0x2a5)](_0x31b9ec){var _0x56eb15=_0x40e481;return this[_0x56eb15(0x117)](!!(_0x31b9ec!=null&&_0x31b9ec[_0x56eb15(0x3b7)]));}[_0x40e481(0x26c)](_0xe7bad0){var _0x313c3e=_0x40e481;return this[_0x313c3e(0x224)]>yi?this[_0x313c3e(0x3a8)]():(this[_0x313c3e(0x2fb)]=Ri(this[_0x313c3e(0x224)],{'timeout':this[_0x313c3e(0x224)],'reqId':_0xe7bad0[_0x313c3e(0x369)]}),this[_0x313c3e(0x337)]=this[_0x313c3e(0x2fb)][_0x313c3e(0x38c)](({reqId:_0x1c36c7,timeout:_0x5e5b53})=>{this['_resendWithTimeout'](_0x1c36c7,_0x5e5b53);}),this);}[_0x40e481(0x3a8)](){var _0x11eda7=_0x40e481;return this[_0x11eda7(0x2d3)](),this[_0x11eda7(0x2bb)]['createInstance'](de,this['unitID'],this[_0x11eda7(0x30d)],this[_0x11eda7(0x2e1)],[],this[_0x11eda7(0x3d4)]);}[_0x40e481(0x206)](){return this;}[_0x40e481(0x301)](){var _0x1cd45e=_0x40e481;this[_0x1cd45e(0x3d4)][_0x1cd45e(0x25b)](this[_0x1cd45e(0x2e1)]);}['_onConflict'](_0x15490c){var _0x2c1e7a=_0x40e481;return this[_0x2c1e7a(0x2d3)](),this['_injector'][_0x2c1e7a(0x3ae)](ue,this['unitID'],this[_0x2c1e7a(0x30d)],this[_0x2c1e7a(0x2e1)],[],this['_handler'],_0x15490c);}['_resendWithTimeout'](_0x39c471,_0x4e6d8a){var _0x44ee2b=_0x40e481,_0x3d753c;_0x39c471===((_0x3d753c=this['_awaitingChangeset'])==null?void 0x0:_0x3d753c[_0x44ee2b(0x369)])&&(this['resend'](),this[_0x44ee2b(0x224)]=_0x4e6d8a===0x0?0x3e8:_0x4e6d8a*0x2);}[_0x40e481(0x2d3)](){var _0x2f328b=_0x40e481,_0x3ef5e6;(_0x3ef5e6=this[_0x2f328b(0x337)])==null||_0x3ef5e6['unsubscribe'](),this[_0x2f328b(0x224)]=0x0;}};le=Te([P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x41febc(_0x1de1e7)),P(0x6,_0x2f806f),P(0x7,_0xcdb88),P(0x8,_0x671f8c),P(0x9,_0x47f0e4),P(0xa,_0x397f30(J))],le);let oe=class extends Ce{constructor(_0x38b158,_0x2ca6c0,_0x3d8ee4,_0x400dfa,_0x46eab9,_0xf19680,_0x4b623f,_0x203e40,_0xbb4f90,_0x3c31ca,_0x4d84ab,_0xfe6f59,_0x3da3df){var _0x3da8f4=_0x40e481;super(_0x38b158,_0x2ca6c0,_0x3d8ee4,_0x400dfa,_0x46eab9,_0xbb4f90,_0xfe6f59,_0x203e40,_0x3da3df),N(this,'status',_0x3da8f4(0x1cf)),N(this,_0x3da8f4(0x224),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3da8f4(0x2bb)]=_0x4b623f,this[_0x3da8f4(0x13c)]=_0x3c31ca,this[_0x3da8f4(0x1b5)]=_0x4d84ab,this['localCacheService']=_0x3da3df,_0xf19680&&(this[_0x3da8f4(0x2fb)]=_0xf19680,this[_0x3da8f4(0x337)]=this[_0x3da8f4(0x2fb)][_0x3da8f4(0x38c)](({reqId:_0x438420,timeout:_0x9f4ff6})=>{var _0x2852bd=_0x3da8f4;this[_0x2852bd(0x17a)](_0x438420,_0x9f4ff6);})));}[_0x40e481(0x34b)](_0x27b473){var _0x4dfcc2=_0x40e481;return this[_0x4dfcc2(0x1d3)][_0x4dfcc2(0xeb)](_0x27b473),this;}[_0x40e481(0x265)](_0x8071e){var _0x1047ff=_0x40e481;if(this['_checkMissing'](_0x8071e))return this[_0x1047ff(0x2d3)](),this[_0x1047ff(0x2bb)][_0x1047ff(0x3ae)](ee,this[_0x1047ff(0x204)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x8071e],this[_0x1047ff(0x3d4)]);try{const _0x2386ff=this[_0x1047ff(0x1b5)][_0x1047ff(0x364)]([_0x8071e],[this['_awaitingChangeset']],!0x1);if(_0x40f543(_0x2386ff)){const {c1Prime:_0x28f065,c2Prime:_0x16592c}=_0x2386ff,_0x2fa20b=this[_0x1047ff(0x1b5)][_0x1047ff(0x1dd)](_0x28f065[0x0],this[_0x1047ff(0x1d3)]);if(_0x2f923c(_0x2fa20b)){const {c1Prime:_0x53a56c,m2Prime:_0x1f4dfb}=_0x2fa20b;return this[_0x1047ff(0x23c)](_0x53a56c),_0x16592c[0x0][_0x1047ff(0x295)]=this['_getCurrentRevision'](),this[_0x1047ff(0x2d3)](),this[_0x1047ff(0x2bb)][_0x1047ff(0x3ae)](oe,this[_0x1047ff(0x204)],this[_0x1047ff(0x30d)],_0x16592c[0x0],_0x1f4dfb,this[_0x1047ff(0x3d4)],void 0x0);}throw _0x2fa20b[_0x1047ff(0x30a)];}throw _0x2386ff[_0x1047ff(0x30a)];}catch(_0x12eda2){return this[_0x1047ff(0x13c)][_0x1047ff(0x30a)](_0x12eda2),this[_0x1047ff(0x117)](!0x1);}}[_0x40e481(0x256)](_0x28f127){var _0x1f9e98=_0x40e481;if(this['_clearScheduledTask'](),this[_0x1f9e98(0x1e9)](_0x28f127))return this['_injector'][_0x1f9e98(0x3ae)](ee,this[_0x1f9e98(0x204)],this[_0x1f9e98(0x30d)],null,this[_0x1f9e98(0x1d3)],this[_0x1f9e98(0x2e1)],[],this[_0x1f9e98(0x3d4)]);this[_0x1f9e98(0x128)]();const _0x83960b=this['_injector'][_0x1f9e98(0x3ae)](ae,this[_0x1f9e98(0x204)],this[_0x1f9e98(0x30d)],this['_pendingMutations'],this[_0x1f9e98(0x3d4)]);return _0x83960b['_schedule'](),_0x83960b[_0x1f9e98(0x2a6)](),_0x83960b;}[_0x40e481(0x2a5)](_0x2a83d6){var _0x3309a0=_0x40e481;return this[_0x3309a0(0x117)](!!(_0x2a83d6!=null&&_0x2a83d6[_0x3309a0(0x3b7)]));}[_0x40e481(0x26c)](_0x5c5d5e){var _0x55d1d3=_0x40e481;return this[_0x55d1d3(0x224)]>yi?this[_0x55d1d3(0x3a8)]():(this[_0x55d1d3(0x2fb)]=Ri(this[_0x55d1d3(0x224)],{'timeout':this[_0x55d1d3(0x224)],'reqId':_0x5c5d5e[_0x55d1d3(0x369)]}),this[_0x55d1d3(0x337)]=this[_0x55d1d3(0x2fb)]['subscribe'](({reqId:_0x448b22,timeout:_0x369d8d})=>{var _0x22a886=_0x55d1d3;this[_0x22a886(0x17a)](_0x448b22,_0x369d8d);}),this);}[_0x40e481(0x3a8)](){var _0x1c6ad4=_0x40e481;return this['_clearScheduledTask'](),this[_0x1c6ad4(0x2bb)][_0x1c6ad4(0x3ae)](de,this[_0x1c6ad4(0x204)],this[_0x1c6ad4(0x30d)],this['_awaitingChangeset'],this[_0x1c6ad4(0x1d3)],this[_0x1c6ad4(0x3d4)]);}[_0x40e481(0x206)](){return this;}['resend'](){var _0x11ff7f=_0x40e481;this[_0x11ff7f(0x3d4)][_0x11ff7f(0x25b)](this[_0x11ff7f(0x2e1)]);}[_0x40e481(0x117)](_0x2a8185){var _0x17e976=_0x40e481;return this['_clearScheduledTask'](),this[_0x17e976(0x2bb)]['createInstance'](ue,this[_0x17e976(0x204)],this[_0x17e976(0x30d)],null,this[_0x17e976(0x1d3)],this[_0x17e976(0x3d4)],_0x2a8185);}[_0x40e481(0x17a)](_0x211819,_0x1433e6){var _0x58dfec=_0x40e481,_0xecf135;_0x211819===((_0xecf135=this[_0x58dfec(0x2e1)])==null?void 0x0:_0xecf135[_0x58dfec(0x369)])&&(this[_0x58dfec(0x301)](),this[_0x58dfec(0x224)]=_0x1433e6===0x0?0x3e8:_0x1433e6*0x2);}['_clearScheduledTask'](){var _0x5955dd=_0x40e481,_0x361bb2;(_0x361bb2=this[_0x5955dd(0x337)])==null||_0x361bb2[_0x5955dd(0x1e6)](),this[_0x5955dd(0x224)]=0x0;}};oe=Te([P(0x6,_0x41febc(_0x414ea7)),P(0x7,_0x41febc(_0x1de1e7)),P(0x8,_0x2f806f),P(0x9,_0xcdb88),P(0xa,_0x671f8c),P(0xb,_0x47f0e4),P(0xc,_0x397f30(J))],oe);let ue=class extends Ce{constructor(_0x18aa76,_0x21a490,_0x41fcc9,_0x20d2b1,_0x3ce0bc,_0x16d645=!0x1,_0x41f1db,_0x78da1e,_0x3374ad,_0x259061,_0x1d1f77,_0x5dc410,_0x5da5c6){var _0x571738=_0x40e481;super(_0x18aa76,_0x21a490,_0x41fcc9,_0x20d2b1,_0x3ce0bc,_0x78da1e,_0x3374ad,_0x259061,_0x5da5c6),N(this,_0x571738(0x24b),_0x571738(0x34f)),(this[_0x571738(0x277)]=_0x16d645,this[_0x571738(0x308)]=_0x41f1db,this[_0x571738(0x375)]=_0x1d1f77,this['_collaborationUIEventService']=_0x5dc410,this[_0x571738(0x381)]=_0x5da5c6,this[_0x571738(0x33d)](),this[_0x571738(0x35e)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x40e481(0x265)](){return this;}[_0x40e481(0x256)](){return this;}['onRemoteRej'](){return this;}[_0x40e481(0x26c)](){return this;}['toggleOffline'](){return this;}[_0x40e481(0x206)](){return this;}[_0x40e481(0x301)](){var _0x1855d8=_0x40e481;throw new Error(_0x1855d8(0x34a));}['_clearLocalCache'](){var _0x589e3b=_0x40e481,_0x2a9f23;(_0x2a9f23=this['_localCacheService'])==null||_0x2a9f23[_0x589e3b(0x158)](this[_0x589e3b(0x204)],this['type'],null,[]);}['_showConflictNotification'](){var _0x1a5027=_0x40e481;this[_0x1a5027(0x277)]?this[_0x1a5027(0x3df)][_0x1a5027(0x258)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x1a5027(0x282)]});}['_disableEditing'](){var _0x2fb860=_0x40e481;this[_0x2fb860(0x308)][_0x2fb860(0x2bd)](new _0x4d71f4(this[_0x2fb860(0x204)])['id'],!0x1);}};ue=Te([P(0x6,_0x41febc(_0x372d75)),P(0x7,_0x2f806f),P(0x8,_0x47f0e4),P(0x9,_0x41febc(_0x1de1e7)),P(0xa,_0x41febc(_0x5ceb9f)),P(0xb,_0x41febc(pe)),P(0xc,_0x397f30(J))],ue);let de=class extends Ce{constructor(_0xb21e47,_0x11584f,_0x492521,_0x5791a4,_0x27825e,_0x4e4c85,_0x218efb,_0x5603d2,_0x3c203b,_0x27a2f5){var _0x50b24f=_0x40e481;super(_0xb21e47,_0x11584f,_0x492521,_0x5791a4,_0x27825e,_0x5603d2,_0x3c203b,_0x218efb,_0x27a2f5),N(this,'status',_0x50b24f(0x296)),this[_0x50b24f(0x2bb)]=_0x4e4c85;}[_0x40e481(0x34b)](_0x3d0508){var _0x291659=_0x40e481;return this[_0x291659(0x1d3)][_0x291659(0xeb)](_0x3d0508),this[_0x291659(0x2a6)](),this;}[_0x40e481(0x265)](_0x2883a4){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40e481(0x256)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){return this;}[_0x40e481(0x206)](){var _0x18118d=_0x40e481;const {_injector:_0x3a97a7,_pendingMutations:_0x29567b,_awaitingChangeset:_0x1c1c2c,unitID:_0x55b98a,_handler:_0x5003b2,type:_0x12ed7e}=this,_0x364206=Oi(_0x3a97a7,_0x55b98a,_0x12ed7e,_0x1c1c2c,_0x29567b,_0x5003b2);return _0x364206 instanceof ae?_0x364206[_0x18118d(0x3a7)]():(_0x364206 instanceof oe||_0x364206 instanceof le)&&_0x364206[_0x18118d(0x301)](),_0x364206;}[_0x40e481(0x301)](){var _0x3d2c9b=_0x40e481;throw new Error(_0x3d2c9b(0x378));}};de=Te([P(0x5,_0x41febc(_0x414ea7)),P(0x6,_0x41febc(_0x1de1e7)),P(0x7,_0x2f806f),P(0x8,_0x47f0e4),P(0x9,_0x397f30(J))],de);let ee=class extends Ce{constructor(_0x2ce56d,_0xf54ddd,_0x27a92f,_0x4c577c,_0x2ff708,_0x432a23,_0x19a3b0,_0x16766e,_0x166168,_0x493fdf,_0x56dba5,_0x5ee94c,_0x549186,_0x5e30d1){var _0x318647=_0x40e481;super(_0x2ce56d,_0xf54ddd,_0x27a92f,_0x4c577c,_0x19a3b0,_0x56dba5,_0x5ee94c,_0x166168,_0x5e30d1),N(this,_0x318647(0x24b),_0x318647(0x161)),(this['_acknowledgedAwaitingChangeset']=_0x2ff708,this[_0x318647(0x1c5)]=_0x432a23,this['_injector']=_0x16766e,this[_0x318647(0x13c)]=_0x493fdf,this[_0x318647(0x1b5)]=_0x549186,this[_0x318647(0x381)]=_0x5e30d1);}[_0x40e481(0x101)](_0x2d23a3){var _0x40d9c7=_0x40e481;try{const _0x35538c=[..._0x2d23a3,...this[_0x40d9c7(0x1c5)]],_0x3faf0b=[this[_0x40d9c7(0x2e1)]||this[_0x40d9c7(0x179)]][_0x40d9c7(0xf0)](_0x5eb695=>!!_0x5eb695);let _0x433542,_0x1b0927;if(_0x3faf0b[_0x40d9c7(0x299)]){const _0x48bcdc=this[_0x40d9c7(0x1b5)][_0x40d9c7(0x364)](_0x35538c,_0x3faf0b,!0x1);if(!_0x40f543(_0x48bcdc))throw _0x48bcdc[_0x40d9c7(0x30a)];_0x433542=_0x48bcdc[_0x40d9c7(0x36b)],_0x1b0927=_0x48bcdc['c2Prime'];}else _0x433542=_0x35538c,_0x1b0927=[];let _0x21133a=this[_0x40d9c7(0x1d3)];_0x433542[_0x40d9c7(0x109)](_0x1093ce=>{var _0x29d088=_0x40d9c7;let _0xf6769;if(_0x21133a[_0x29d088(0x299)]){const _0x4f8aad=this[_0x29d088(0x1b5)][_0x29d088(0x1dd)](_0x1093ce,_0x21133a);if(!_0x2f923c(_0x4f8aad))throw _0x4f8aad[_0x29d088(0x30a)];_0xf6769=_0x4f8aad[_0x29d088(0x36b)],_0x21133a=_0x4f8aad['m2Prime'];}else _0xf6769=_0x1093ce;this['_executeRemoteChangeset'](_0xf6769);}),this[_0x40d9c7(0x179)]&&this[_0x40d9c7(0x128)](),this['_awaitingChangeset']&&_0x1b0927['length']&&(_0x1b0927[0x0]['baseRev']=this[_0x40d9c7(0x100)]());let _0x1a5993;if(this[_0x40d9c7(0x2e1)]&&_0x21133a[_0x40d9c7(0x299)]!==0x0)_0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](oe,this['unitID'],this[_0x40d9c7(0x30d)],_0x1b0927[0x0],_0x21133a,this[_0x40d9c7(0x3d4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x21133a['length']===0x0)_0x1b0927[0x0][_0x40d9c7(0x295)]=this[_0x40d9c7(0x100)](),_0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](le,this[_0x40d9c7(0x204)],this['type'],_0x1b0927[0x0],this['_handler']);else{if(_0x21133a[_0x40d9c7(0x299)]!==0x0){const _0x3659af=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](ae,this[_0x40d9c7(0x204)],this['type'],_0x21133a,this[_0x40d9c7(0x3d4)]);_0x3659af[_0x40d9c7(0x3a7)](),_0x1a5993=_0x3659af;}else _0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](Ne,this[_0x40d9c7(0x204)],this['type'],this['_handler']);}}return _0x1a5993[_0x40d9c7(0x2a6)](),_0x1a5993;}catch(_0x511ec8){return this['_logService'][_0x40d9c7(0x30a)](_0x40d9c7(0x3e1),_0x40d9c7(0x2fa),_0x511ec8),this['_injector'][_0x40d9c7(0x3ae)](ue,this[_0x40d9c7(0x204)],this[_0x40d9c7(0x30d)],this[_0x40d9c7(0x2e1)],this[_0x40d9c7(0x1d3)],this[_0x40d9c7(0x3d4)],!0x1);}}[_0x40e481(0x301)](){var _0x55a97e=_0x40e481;throw new Error(_0x55a97e(0x3c4));}[_0x40e481(0x34b)](_0xa7cf3e){var _0x3432b0=_0x40e481;return this[_0x3432b0(0x1d3)][_0x3432b0(0xeb)](_0xa7cf3e),this;}[_0x40e481(0x265)](_0xedf61){var _0x565a85=_0x40e481;return this[_0x565a85(0x1c5)][_0x565a85(0xeb)](_0xedf61),this;}[_0x40e481(0x256)](_0x2467d5){var _0x427330=_0x40e481;if(this[_0x427330(0x2e1)])return this[_0x427330(0x179)]=this[_0x427330(0x2e1)],this[_0x427330(0x2e1)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x40e481(0x2a5)](_0x46fb3e){var _0xd0157a=_0x40e481;return this[_0xd0157a(0x117)](!!(_0x46fb3e!=null&&_0x46fb3e[_0xd0157a(0x3b7)]));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x5a3465=_0x40e481;return this[_0x5a3465(0x2bb)]['createInstance'](de,this[_0x5a3465(0x204)],this[_0x5a3465(0x30d)],this['_awaitingChangeset'],this[_0x5a3465(0x1d3)],this[_0x5a3465(0x3d4)]);}['toggleOnline'](){return this;}[_0x40e481(0x117)](_0x524e09){var _0x1d2ca8=_0x40e481;return this[_0x1d2ca8(0x2bb)][_0x1d2ca8(0x3ae)](ue,this[_0x1d2ca8(0x204)],this[_0x1d2ca8(0x30d)],this[_0x1d2ca8(0x2e1)],this[_0x1d2ca8(0x1d3)],this[_0x1d2ca8(0x3d4)],_0x524e09);}};ee=Te([P(0x7,_0x41febc(_0x414ea7)),P(0x8,_0x41febc(_0x1de1e7)),P(0x9,_0xcdb88),P(0xa,_0x2f806f),P(0xb,_0x47f0e4),P(0xc,_0x671f8c),P(0xd,_0x397f30(J))],ee);function Oi(_0x396bfb,_0x35cc3b,_0x50e75a,_0x11e2c2,_0x48f136,_0xea1975){var _0x198d8e=_0x40e481;return _0x11e2c2&&_0x48f136[_0x198d8e(0x299)]?_0x396bfb[_0x198d8e(0x3ae)](oe,_0x35cc3b,_0x50e75a,_0x11e2c2,_0x48f136,_0xea1975,void 0x0):_0x11e2c2?_0x396bfb[_0x198d8e(0x3ae)](le,_0x35cc3b,_0x50e75a,_0x11e2c2,_0xea1975):_0x48f136[_0x198d8e(0x299)]?_0x396bfb['createInstance'](ae,_0x35cc3b,_0x50e75a,_0x48f136,_0xea1975):_0x396bfb[_0x198d8e(0x3ae)](Ne,_0x35cc3b,_0x50e75a,_0xea1975);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x287232,_0x47bc87,_0x30e174,_0x19a31f)=>{var _0x1f1013=_0x40e481;for(var _0x3de359=_0x19a31f>0x1?void 0x0:_0x19a31f?as(_0x47bc87,_0x30e174):_0x47bc87,_0x54f693=_0x287232[_0x1f1013(0x299)]-0x1,_0x1c7e9f;_0x54f693>=0x0;_0x54f693--)(_0x1c7e9f=_0x287232[_0x54f693])&&(_0x3de359=_0x1c7e9f(_0x3de359)||_0x3de359);return _0x3de359;},H=(_0x548d2e,_0x30990d)=>(_0x5075ce,_0x56cd68)=>_0x30990d(_0x5075ce,_0x56cd68,_0x548d2e);let nt=class extends _0x2dee07{constructor(_0xbe06db,_0x4b21d7,_0x227bf4,_0x5ca5a6,_0x583af5,_0x3a2d55,_0x1ac6c1,_0x5ef5ee,_0x4ce822,_0x48226f,_0x322f09,_0x1e5903,_0x5d1126){var _0x4f2f20=_0x40e481;super(),N(this,_0x4f2f20(0x38f),new _0x21691d(null)),N(this,_0x4f2f20(0x396),this[_0x4f2f20(0x38f)][_0x4f2f20(0x1b9)]()),N(this,_0x4f2f20(0x2c4)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4f2f20(0x31c),0x0),N(this,_0x4f2f20(0x268),this[_0x4f2f20(0x396)][_0x4f2f20(0x30c)](_0x5f33f7(_0x35aa52=>_0x35aa52?_0x35aa52[_0x4f2f20(0x24b)]:bi['OFFLINE']),_0x8c0763(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4f2f20(0x33e),[]),(this[_0x4f2f20(0x204)]=_0xbe06db,this['session']=_0x4b21d7,this[_0x4f2f20(0x1e8)]=_0x227bf4,this['_injector']=_0x5ca5a6,this[_0x4f2f20(0x191)]=_0x583af5,this[_0x4f2f20(0x375)]=_0x3a2d55,this[_0x4f2f20(0x18c)]=_0x1ac6c1,this['_eventService']=_0x5ef5ee,this[_0x4f2f20(0x13c)]=_0x4ce822,this[_0x4f2f20(0x197)]=_0x48226f,this['_permissionService']=_0x322f09,this[_0x4f2f20(0x13f)]=_0x1e5903,this['_localCacheService']=_0x5d1126);}get[_0x40e481(0x181)](){return this['_state'];}async[_0x40e481(0x127)](){var _0x2fa0cb=_0x40e481;if(this[_0x2fa0cb(0x181)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2fa0cb(0x2a3)]();}[_0x40e481(0x174)](){var _0x287ce3=_0x40e481;return this[_0x287ce3(0x227)]=!0x0,_0x2c0721(()=>{var _0x2d37ee=_0x287ce3;this[_0x2d37ee(0x227)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x40e481(0x20d)](_0x1506ce){var _0x2b7349=_0x40e481;this[_0x2b7349(0xf5)](_0x1506ce);}['_updateState'](_0x2fca44){var _0x1b5c4e=_0x40e481;this[_0x1b5c4e(0x2c4)]=_0x2fca44,this[_0x1b5c4e(0x38f)][_0x1b5c4e(0x377)](_0x2fca44);}async[_0x40e481(0x2a3)](){var _0x3320fd=_0x40e481,_0x242785;this[_0x3320fd(0x3cb)](await this[_0x3320fd(0x188)]()),this[_0x3320fd(0x13f)]&&((_0x242785=this[_0x3320fd(0x13f)])==null||_0x242785[_0x3320fd(0x394)](this[_0x3320fd(0x204)]),this[_0x3320fd(0x3aa)](this['_singleActiveUnitService'][_0x3320fd(0x29f)](this[_0x3320fd(0x204)])[_0x3320fd(0x38c)](_0x375c7f=>{var _0x339800=_0x3320fd;this['_logService'][_0x339800(0x21c)](_0x339800(0x110),_0x339800(0x2f8),_0x375c7f),_0x375c7f===Ci[_0x339800(0x31a)]?(this['_eventService'][_0x339800(0x258)]({'id':re[_0x339800(0x2b2)]}),this[_0x339800(0x308)]['updatePermissionPoint'](new _0x4d71f4(this['unitID'])['id'],!0x1),this['_permissionService'][_0x339800(0x147)](!0x1)):(this[_0x339800(0x308)][_0x339800(0x2bd)](new _0x4d71f4(this['unitID'])['id'],!0x0),this[_0x339800(0x308)][_0x339800(0x147)](!0x0));})));let _0x3d4cce=!0x1;return this[_0x3320fd(0x3aa)](this[_0x3320fd(0x244)][_0x3320fd(0x250)][_0x3320fd(0x38c)](_0x527dde=>{var _0x4d2127=_0x3320fd;_0x527dde===Ee[_0x4d2127(0x2e6)]?this[_0x4d2127(0xe5)](_0x3d4cce):_0x527dde===Ee['OFFLINE']&&(_0x3d4cce=!0x0,this[_0x4d2127(0x124)]());})),this[_0x3320fd(0x3aa)](this['session'][_0x3320fd(0x263)][_0x3320fd(0x38c)](_0x1d1041=>{var _0x5c09cd=_0x3320fd;try{switch(_0x1d1041[_0x5c09cd(0x24c)]){case _0x3c9809['NEW_CHANGESETS']:{this[_0x5c09cd(0x3b6)](_0x28e2c6(_0x1d1041[_0x5c09cd(0x3a1)]));break;}case _0x3c9809[_0x5c09cd(0x219)]:{this[_0x5c09cd(0x189)](_0x1d1041[_0x5c09cd(0x3a1)]);break;}case _0x3c9809[_0x5c09cd(0x116)]:{this[_0x5c09cd(0x32a)]();break;}case _0x3c9809[_0x5c09cd(0x262)]:{this[_0x5c09cd(0x14d)](_0x1d1041['data']);break;}case _0x3c9809[_0x5c09cd(0x3bf)]:{this[_0x5c09cd(0x212)](_0x1d1041['data']['changesets']['map'](_0x4787ca=>_0x28e2c6(_0x4787ca)));break;}case _0x3c9809[_0x5c09cd(0x213)]:{this[_0x5c09cd(0x32a)]({'isPermissionRej':!0x0});break;}case _0x3c9809[_0x5c09cd(0x214)]:break;}}catch(_0x238299){throw console[_0x5c09cd(0x30a)](_0x5c09cd(0x330),_0x238299),_0x238299;}})),this['_state'];}[_0x40e481(0x34c)](){var _0xecf0d3=_0x40e481;this[_0xecf0d3(0xf3)]=!0x1;}[_0x40e481(0x307)](){var _0x5b713b=_0x40e481;if(this[_0x5b713b(0xf3)])throw new Error(_0x5b713b(0x273));this[_0x5b713b(0xf3)]=!0x0;}['_onLocalMutation'](_0x5e62a0){var _0x38e1a0=_0x40e481;this['_lockTransition'](),this[_0x38e1a0(0x3cb)](this[_0x38e1a0(0x2c4)]['appendMutation'](_0x5e62a0)),this[_0x38e1a0(0x34c)]();}['_onRemoteChangeset'](_0x2752bd){var _0x573cd3=_0x40e481;if(!(_0x2752bd[_0x573cd3(0x1e5)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x573cd3(0x227)]){this['_remoteChangesetQueue'][_0x573cd3(0xeb)](_0x2752bd);return;}this[_0x573cd3(0x13d)](_0x2752bd);}}[_0x40e481(0x257)](){var _0x5642b7=_0x40e481;this['_remoteChangesetQueue']['forEach'](_0x1d4009=>this[_0x5642b7(0x13d)](_0x1d4009)),this[_0x5642b7(0x33e)]=[];}[_0x40e481(0x13d)](_0x344286){var _0x3d29fc=_0x40e481;const _0x28e52f=this[_0x3d29fc(0x191)]['interceptor'][_0x3d29fc(0x2d5)](this[_0x3d29fc(0x191)][_0x3d29fc(0x25f)][_0x3d29fc(0x31b)]()['COMPRESS_MUTATION_APPLY'])(_0x344286['mutations'],null)||_0x344286[_0x3d29fc(0x24d)],_0x500c22={..._0x344286,'mutations':_0x28e52f};this[_0x3d29fc(0x307)](),this[_0x3d29fc(0x3cb)](this[_0x3d29fc(0x2c4)][_0x3d29fc(0x265)](_0x500c22)),this['_unlockTransition']();}['_onRemoteACK'](_0x26fa9d){var _0x217286=_0x40e481;this[_0x217286(0x307)](),this['_updateState'](this['_state']['onRemoteAck'](_0x26fa9d)),this[_0x217286(0x34c)]();}[_0x40e481(0x32a)](_0x48776e){var _0x334d3e=_0x40e481;this['_lockTransition'](),this['_updateState'](this[_0x334d3e(0x2c4)][_0x334d3e(0x2a5)](_0x48776e)),this[_0x334d3e(0x34c)]();}[_0x40e481(0x14d)](_0x452eaa){var _0x5639ea=_0x40e481;this['_lockTransition'](),this['_updateState'](this[_0x5639ea(0x2c4)][_0x5639ea(0x26c)](_0x452eaa)),this[_0x5639ea(0x34c)]();}[_0x40e481(0x212)](_0x306301){var _0x36021a=_0x40e481;if(!(this['_state']instanceof ee))throw new TypeError(_0x36021a(0x162));const _0x54d4e=_0x306301[_0x36021a(0x12d)](_0x6f9a3f=>{var _0x1ce468=_0x36021a;const _0x579710=this[_0x1ce468(0x191)][_0x1ce468(0x25f)][_0x1ce468(0x2d5)](this[_0x1ce468(0x191)][_0x1ce468(0x25f)]['getInterceptPoints']()[_0x1ce468(0x131)])(_0x6f9a3f[_0x1ce468(0x24d)],null)||_0x6f9a3f[_0x1ce468(0x24d)];return{..._0x6f9a3f,'mutations':_0x579710};});this['_lockTransition'](),this['_updateState'](this[_0x36021a(0x2c4)][_0x36021a(0x101)](_0x54d4e)),this['_unlockTransition']();}['_toggleOffline'](){var _0x2e6d91=_0x40e481;this['_lockTransition'](),this[_0x2e6d91(0x3cb)](this['_state'][_0x2e6d91(0x3a8)]()),this[_0x2e6d91(0x34c)]();}[_0x40e481(0xe5)](_0x4975ec=!0x1){var _0x1175f3=_0x40e481;this['_lockTransition'](),this[_0x1175f3(0x3cb)](this['_state'][_0x1175f3(0x206)]()),this[_0x1175f3(0x34c)]();const _0x5260f1=this[_0x1175f3(0x2c4)];_0x4975ec&&_0x5260f1 instanceof Ne&&(this['_lockTransition'](),this[_0x1175f3(0x3cb)](_0x5260f1[_0x1175f3(0x253)]()),this[_0x1175f3(0x34c)]());}async['_createInitialState'](){return new Promise(_0xbd199e=>{var _0x5a59a8=_0x1459;this[_0x5a59a8(0x244)][_0x5a59a8(0x250)][_0x5a59a8(0x30c)](_0x48d365(0x1))[_0x5a59a8(0x38c)](async _0x2f43f2=>{var _0x3ea234=_0x5a59a8;_0xbd199e(await this[_0x3ea234(0x1f8)](_0x2f43f2===Ee[_0x3ea234(0x2e6)]));});});}[_0x40e481(0x21d)](){var _0x30a117=_0x40e481;const _0x1d4450=this[_0x30a117(0x204)];return{'onStateChange':(_0x2cd228,_0x1da86f)=>{var _0x493267=_0x30a117;if(_0x2cd228!==this['_state'])throw new Error(_0x493267(0x1d4)+_0x2cd228[_0x493267(0x24b)]+_0x493267(0x18a)+_0x1da86f[_0x493267(0x24b)]+_0x493267(0x3b0)+this['_state'][_0x493267(0x24b)]);this[_0x493267(0x3cb)](_0x1da86f);},'onSendChangeset':_0x39536f=>{var _0x407c11=_0x30a117;_0x39536f['sid']||(_0x39536f[_0x407c11(0x3ca)]=this[_0x407c11(0x15c)],_0x39536f[_0x407c11(0x369)]=++this[_0x407c11(0x31c)]);const _0x25764b={'eventID':_0x3c9809[_0x407c11(0x3ac)],'data':{'unitID':_0x39536f['unitID'],'unitType':this[_0x407c11(0x1e8)],'changeset':_0x39536f,'memberID':this[_0x407c11(0x244)]['getMemberID']()}};this[_0x407c11(0x244)][_0x407c11(0x119)](_0x25764b,this['unitID']);},'onMissingChangesets':({from:_0x3ee535,to:_0x4d08fd})=>{var _0x4f6bd0=_0x30a117;this[_0x4f6bd0(0x13c)][_0x4f6bd0(0x21c)]('[CollaborationEntity]',_0x4f6bd0(0x2fd)+_0x3ee535+'\x20to\x20'+_0x4d08fd);const _0x372e1a={'eventID':_0x3c9809[_0x4f6bd0(0x1ca)],'data':{'unitID':_0x1d4450,'unitType':this[_0x4f6bd0(0x1e8)],'from':_0x3ee535,'to':_0x4d08fd}};this[_0x4f6bd0(0x244)][_0x4f6bd0(0x119)](_0x372e1a,this[_0x4f6bd0(0x204)]);}};}async[_0x40e481(0x1f8)](_0x53f8c0){var _0x3c151a=_0x40e481,_0x6122e9,_0x15fee4,_0x191b08;const _0x561c51=await((_0x6122e9=this[_0x3c151a(0x336)])==null?void 0x0:_0x6122e9['loadOfflineData'](this[_0x3c151a(0x204)])),_0x19214e=(_0x15fee4=_0x561c51==null?void 0x0:_0x561c51[_0x3c151a(0x24d)])!=null?_0x15fee4:[],_0x58f905=(_0x191b08=_0x561c51==null?void 0x0:_0x561c51[_0x3c151a(0x292)])!=null?_0x191b08:null,_0x3d7167=!!(_0x58f905!=null&&_0x58f905[_0x3c151a(0x3ca)])&&!!(_0x58f905!=null&&_0x58f905[_0x3c151a(0x369)]);this[_0x3c151a(0x15c)]=_0x3d7167?_0x58f905[_0x3c151a(0x3ca)]:Zn(),this[_0x3c151a(0x31c)]=_0x3d7167?_0x58f905[_0x3c151a(0x369)]:0x0;const _0x33f4bc=this[_0x3c151a(0x204)];try{this[_0x3c151a(0xfa)](_0x58f905,_0x19214e);}catch(_0x5a0d3a){this[_0x3c151a(0x13c)][_0x3c151a(0x30a)](_0x5a0d3a);}const _0x48830f=this[_0x3c151a(0x21d)]();if(_0x53f8c0){const _0x4d5b37=Oi(this[_0x3c151a(0x2bb)],_0x33f4bc,this[_0x3c151a(0x1e8)],_0x58f905,_0x19214e,_0x48830f);return _0x4d5b37 instanceof ae?_0x4d5b37['_schedule']():(_0x4d5b37 instanceof oe||_0x4d5b37 instanceof le)&&_0x4d5b37[_0x3c151a(0x301)](),_0x4d5b37;}return this[_0x3c151a(0x2bb)][_0x3c151a(0x3ae)](de,_0x33f4bc,this[_0x3c151a(0x1e8)],_0x58f905,_0x19214e,_0x48830f);}['_replayCachedMutations'](_0x2a770f,_0x4339b4){var _0x44d6bb=_0x40e481,_0x4223a0,_0x57c6a8;const _0x162863=this[_0x44d6bb(0x191)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x44d6bb(0x25f)][_0x44d6bb(0x31b)]()[_0x44d6bb(0x131)]);(_0x4223a0=_0x162863((_0x2a770f==null?void 0x0:_0x2a770f[_0x44d6bb(0x24d)])||[],null))==null||_0x4223a0['forEach'](_0x1a06b8=>this[_0x44d6bb(0x197)]['executeCommand'](_0x1a06b8['id'],_0x1a06b8[_0x44d6bb(0x1eb)])),(_0x57c6a8=_0x162863(_0x4339b4||[],null))==null||_0x57c6a8[_0x44d6bb(0x109)](_0x8fc22d=>this[_0x44d6bb(0x197)]['executeCommand'](_0x8fc22d['id'],_0x8fc22d[_0x44d6bb(0x1eb)]));}};nt=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(pe)),H(0x8,_0xcdb88),H(0x9,_0x2f806f),H(0xa,_0x372d75),H(0xb,_0x397f30(ht)),H(0xc,_0x397f30(J))],nt);let It=class extends nt{constructor(_0x2cacd2,_0x3449f0,_0x21251a,_0x8dc1c3,_0x1af047,_0xa25754,_0x560d9b,_0x2c23f2,_0x15c221,_0x2422cc,_0x73485d,_0x13838d,_0x34277a){var _0x1ff87a=_0x40e481;super(_0x2cacd2,_0x21251a,_0x3449f0,_0x8dc1c3,_0x1af047,_0xa25754,_0x560d9b,_0x2c23f2,_0x15c221,_0x2422cc,_0x73485d,_0x13838d,_0x34277a),N(this,_0x1ff87a(0x347),null),(this[_0x1ff87a(0x204)]=_0x2cacd2,this[_0x1ff87a(0x30d)]=_0x3449f0);}['addHandlerCallback'](_0x3f21b8){var _0x560089=_0x40e481;this[_0x560089(0x347)]=_0x3f21b8;}[_0x40e481(0x205)](){this['_handlerCallback']=null,super['dispose']();}[_0x40e481(0x21d)](){var _0x255241=_0x40e481;const _0x24e863=super[_0x255241(0x21d)]();return _0x24e863[_0x255241(0xe9)]=_0xef2f5e=>{var _0x2d2c63,_0x555c74;return(_0x555c74=(_0x2d2c63=this['_handlerCallback'])==null?void 0x0:_0x2d2c63['onTransformIME'])==null?void 0x0:_0x555c74['call'](_0x2d2c63,_0xef2f5e);},_0x24e863['onTransformState']=_0x5ee01d=>{var _0x5c0783=_0x255241,_0x41b10a,_0x2d6395;return(_0x2d6395=(_0x41b10a=this[_0x5c0783(0x347)])==null?void 0x0:_0x41b10a[_0x5c0783(0x1be)])==null?void 0x0:_0x2d6395[_0x5c0783(0x20b)](_0x41b10a,_0x5ee01d);},_0x24e863['onTransformSelections']=_0x4c0026=>{var _0x21253e=_0x255241,_0xc3d800,_0x335e4c;return(_0x335e4c=(_0xc3d800=this[_0x21253e(0x347)])==null?void 0x0:_0xc3d800[_0x21253e(0xf7)])==null?void 0x0:_0x335e4c[_0x21253e(0x20b)](_0xc3d800,_0x4c0026);},_0x24e863[_0x255241(0x267)]=_0x184caa=>{var _0x248566=_0x255241,_0x2e4bf6,_0x21a7d6;return(_0x21a7d6=(_0x2e4bf6=this[_0x248566(0x347)])==null?void 0x0:_0x2e4bf6['onSyncEditingCollabCursor'])==null?void 0x0:_0x21a7d6[_0x248566(0x20b)](_0x2e4bf6,_0x184caa);},_0x24e863[_0x255241(0x259)]=_0x322cc9=>{var _0x2f1ae5=_0x255241,_0x53d19c,_0x407f30,_0x400c84;if(!((_0x53d19c=this['_handlerCallback'])!=null&&_0x53d19c[_0x2f1ae5(0x259)]))throw new Error(_0x2f1ae5(0x138));return(_0x400c84=(_0x407f30=this[_0x2f1ae5(0x347)])==null?void 0x0:_0x407f30[_0x2f1ae5(0x259)])==null?void 0x0:_0x400c84[_0x2f1ae5(0x20b)](_0x407f30,_0x322cc9);},_0x24e863[_0x255241(0x130)]=_0x5e5c6a=>{var _0xcfc02c=_0x255241,_0x2ae6c0,_0x4f6a6b,_0x2143a2;if(!((_0x2ae6c0=this[_0xcfc02c(0x347)])!=null&&_0x2ae6c0['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2143a2=(_0x4f6a6b=this[_0xcfc02c(0x347)])==null?void 0x0:_0x4f6a6b['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2143a2[_0xcfc02c(0x20b)](_0x4f6a6b,_0x5e5c6a);},_0x24e863;}async[_0x40e481(0x2a3)](){var _0x402d80=_0x40e481;const _0x3f1df5=await super[_0x402d80(0x2a3)]();return this[_0x402d80(0x3aa)](this[_0x402d80(0x197)][_0x402d80(0x3e3)]((_0x361b6c,_0x3fc49a)=>{var _0x23780e=_0x402d80;if(_0x361b6c[_0x23780e(0x30d)]!==_0xe7c659[_0x23780e(0x157)]||_0x3fc49a!=null&&_0x3fc49a[_0x23780e(0x1f1)]||_0x3fc49a!=null&&_0x3fc49a['onlyLocal']||_0x361b6c['id']===_0x3a29dc['id'])return;const _0x2c71d3=_0x361b6c['params'];if((_0x2c71d3==null?void 0x0:_0x2c71d3[_0x23780e(0x2de)])!==this[_0x23780e(0x204)])return;const _0x32649a=_0x361b6c,_0xd18bf1=this['_compressMutationService'][_0x23780e(0x25f)]['fetchThroughInterceptors'](this[_0x23780e(0x191)][_0x23780e(0x25f)]['getInterceptPoints']()[_0x23780e(0x10b)])([_0x32649a],null)||[_0x32649a];this[_0x23780e(0xf5)](_0xd18bf1[0x0]);})),_0x3f1df5;}};It=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(pe)),H(0x8,_0xcdb88),H(0x9,_0x2f806f),H(0xa,_0x372d75),H(0xb,_0x397f30(ht)),H(0xc,_0x397f30(J))],It);let Tt=class extends nt{constructor(_0xde08a7,_0x40543e,_0x3b19fc,_0x52b453,_0x331dd1,_0x1e9afc,_0x1f3353,_0x2a3c3d,_0x370617,_0x58ba13,_0xec66b2,_0xd6d24a,_0x54ec5a,_0x304c15){var _0x318b95=_0x40e481;super(_0xde08a7,_0x3b19fc,_0x40543e,_0x52b453,_0x331dd1,_0x1e9afc,_0x1f3353,_0x370617,_0x58ba13,_0xec66b2,_0xd6d24a,_0x54ec5a,_0x304c15),this['unitID']=_0xde08a7,this['type']=_0x40543e,this[_0x318b95(0x102)]=_0x2a3c3d;}['_createHandler'](){var _0xe0ed20=_0x40e481;const _0xe87cc2=super[_0xe0ed20(0x21d)]();return _0xe87cc2[_0xe0ed20(0xf7)]=_0xe2257c=>this[_0xe0ed20(0x102)][_0xe0ed20(0x2a9)](_0xe2257c),_0xe87cc2;}async[_0x40e481(0x2a3)](){var _0x1e2279=_0x40e481;const _0x2c7db3=await super['_init']();return this[_0x1e2279(0x3aa)](this[_0x1e2279(0x197)][_0x1e2279(0x3e3)]((_0x2649c1,_0x1136ac)=>{var _0x12c3cd=_0x1e2279;if(_0x2649c1[_0x12c3cd(0x30d)]!==_0xe7c659[_0x12c3cd(0x157)]||_0x1136ac!=null&&_0x1136ac['fromCollab']||_0x1136ac!=null&&_0x1136ac[_0x12c3cd(0x37d)])return;const _0x482db9=_0x2649c1[_0x12c3cd(0x1eb)];if((_0x482db9==null?void 0x0:_0x482db9['unitId'])!==this[_0x12c3cd(0x204)])return;const _0x40fc50=_0x2649c1,_0x2d55aa=this[_0x12c3cd(0x191)][_0x12c3cd(0x25f)][_0x12c3cd(0x2d5)](this[_0x12c3cd(0x191)][_0x12c3cd(0x25f)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x40fc50],null)||[_0x40fc50];this[_0x12c3cd(0xf5)](_0x2d55aa[0x0]);})),_0x2c7db3;}};Tt=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(it)),H(0x8,_0x41febc(pe)),H(0x9,_0xcdb88),H(0xa,_0x2f806f),H(0xb,_0x372d75),H(0xc,_0x397f30(ht)),H(0xd,_0x397f30(J))],Tt);var os=Object[_0x40e481(0x237)],cs=(_0x14b3db,_0x1e5069,_0x25b131,_0x483b62)=>{for(var _0x2e1d56=_0x483b62>0x1?void 0x0:_0x483b62?os(_0x1e5069,_0x25b131):_0x1e5069,_0x51b639=_0x14b3db['length']-0x1,_0x39680d;_0x51b639>=0x0;_0x51b639--)(_0x39680d=_0x14b3db[_0x51b639])&&(_0x2e1d56=_0x39680d(_0x2e1d56)||_0x2e1d56);return _0x2e1d56;},ft=(_0x517ada,_0xc8ca9b)=>(_0x2b655c,_0xf7bad2)=>_0xc8ca9b(_0x2b655c,_0xf7bad2,_0x517ada);let st=class extends _0x2dee07{constructor(_0x7fa364,_0x24ee66,_0x4d9c0e){var _0x5afee5=_0x40e481;super(),N(this,_0x5afee5(0x19c),new Map()),N(this,_0x5afee5(0x16c),new _0xba51b2()),N(this,'entityInit$',this[_0x5afee5(0x16c)]['asObservable']()),(this[_0x5afee5(0x2bb)]=_0x7fa364,this[_0x5afee5(0x26f)]=_0x24ee66,this[_0x5afee5(0x18b)]=_0x4d9c0e,this[_0x5afee5(0x2a3)]());}[_0x40e481(0x205)](){var _0x30f7ef=_0x40e481;super[_0x30f7ef(0x205)](),this[_0x30f7ef(0x19c)][_0x30f7ef(0x109)](_0x29586e=>_0x29586e[_0x30f7ef(0x205)]()),this[_0x30f7ef(0x19c)]['clear']();}[_0x40e481(0x35d)](_0x9cb9c){var _0x1a4bf1=_0x40e481,_0x2b44f5;return(_0x2b44f5=this[_0x1a4bf1(0x19c)][_0x1a4bf1(0x1da)](_0x9cb9c))!=null?_0x2b44f5:null;}[_0x40e481(0x2d6)](_0x27ffb2){var _0xde31dd=_0x40e481;const _0x3fff59=this[_0xde31dd(0x35d)](_0x27ffb2);return _0x3fff59?_0x29c1e2(_0x3fff59):this[_0xde31dd(0x16c)][_0xde31dd(0x30c)](_0xe0b521(_0x128089=>_0x128089[_0xde31dd(0x204)]===_0x27ffb2));}['readyForCollab'](_0x192a4a){var _0x155b97=_0x40e481;return _0x327c79(this['getCollabEntity$'](_0x192a4a)[_0x155b97(0x30c)](_0x3b053e(()=>{})));}[_0x40e481(0x2a3)](){var _0x1e47e5=_0x40e481;this[_0x1e47e5(0x18b)][_0x1e47e5(0x230)](_0x596901[_0x1e47e5(0x358)])['pipe'](_0x338d32(this['dispose$']),_0x52bbcc(0x10))[_0x1e47e5(0x38c)](async _0x5279e2=>{var _0x3f499e=_0x1e47e5;const _0xd034c3=_0x5279e2[_0x3f499e(0x382)](),_0x11a4d3=await this['_startCollaboration'](_0xd034c3,Q[_0x3f499e(0x358)]);this[_0x3f499e(0x19c)][_0x3f499e(0x38d)](_0xd034c3,_0x11a4d3);}),this[_0x1e47e5(0x18b)][_0x1e47e5(0x230)](_0x596901[_0x1e47e5(0x316)])[_0x1e47e5(0x30c)](_0x338d32(this[_0x1e47e5(0x1cd)]),_0x52bbcc(0x10))['pipe'](_0xe0b521(_0x3c641e=>!_0x3c641e[_0x1e47e5(0x382)]()[_0x1e47e5(0x2a2)]('__')))[_0x1e47e5(0x38c)](async _0x3ce296=>{var _0x39ce34=_0x1e47e5;const _0x445115=_0x3ce296[_0x39ce34(0x382)](),_0x556770=await this[_0x39ce34(0x19d)](_0x445115,Q[_0x39ce34(0x316)]);this[_0x39ce34(0x19c)]['set'](_0x445115,_0x556770);}),_0x1cc183(this[_0x1e47e5(0x18b)]['getTypeOfUnitDisposed$'](_0x596901[_0x1e47e5(0x358)]),this['_univerInstanceService'][_0x1e47e5(0x2f4)](_0x596901[_0x1e47e5(0x316)]))['pipe'](_0x338d32(this['dispose$']))[_0x1e47e5(0x38c)](_0x2f3639=>{var _0x5bf7d5=_0x1e47e5;const _0x44318b=_0x2f3639['getUnitId'](),_0x263ead=this[_0x5bf7d5(0x19c)][_0x5bf7d5(0x1da)](_0x44318b);_0x263ead&&(_0x263ead[_0x5bf7d5(0x205)](),this['_entities'][_0x5bf7d5(0x233)](_0x44318b));});}async[_0x40e481(0x19d)](_0x54235f,_0x3b437b){var _0x4e9815=_0x40e481;const _0x41693e=await this['_collabSessionService'][_0x4e9815(0x134)](_0x54235f),_0x599f26=this[_0x4e9815(0x2bb)][_0x4e9815(0x3ae)](this[_0x4e9815(0x11e)](_0x3b437b),_0x54235f,_0x3b437b,_0x41693e);return await _0x599f26['init'](),this[_0x4e9815(0x16c)][_0x4e9815(0x377)](_0x599f26),_0x599f26;}['_getCtorByUniverType'](_0x528f34){var _0x46be40=_0x40e481;switch(_0x528f34){case Q['UNIVER_DOC']:return It;case Q[_0x46be40(0x358)]:return Tt;default:throw new Error(_0x46be40(0x3c8)+_0x528f34);}}};st=cs([ft(0x0,_0x41febc(_0x414ea7)),ft(0x1,_0x41febc(xe)),ft(0x2,_0x26a8c2)],st);var hs=Object[_0x40e481(0x237)],_s=(_0x1b0637,_0x33dd9b,_0x3fee5f,_0x409605)=>{for(var _0x86ffb7=_0x409605>0x1?void 0x0:_0x409605?hs(_0x33dd9b,_0x3fee5f):_0x33dd9b,_0xd232c7=_0x1b0637['length']-0x1,_0x43fbc5;_0xd232c7>=0x0;_0xd232c7--)(_0x43fbc5=_0x1b0637[_0xd232c7])&&(_0x86ffb7=_0x43fbc5(_0x86ffb7)||_0x86ffb7);return _0x86ffb7;},zt=(_0x9dad06,_0x44d1ab)=>(_0x28c0e5,_0x2e6b04)=>_0x44d1ab(_0x28c0e5,_0x2e6b04,_0x9dad06);const ls=_0x40e481(0x32c),us=_0x40e481(0x183);let Ct=class extends _0x484e8c{constructor(_0x3bd55a,_0x593ceb){var _0x2b9b4e=_0x40e481;super(),this[_0x2b9b4e(0x18b)]=_0x3bd55a,this[_0x2b9b4e(0x221)]=_0x593ceb,this[_0x2b9b4e(0x2a3)]();}[_0x40e481(0x2a3)](){var _0x355dad=_0x40e481;this[_0x355dad(0x3aa)](this[_0x355dad(0x18b)][_0x355dad(0x182)][_0x355dad(0x38c)](()=>{var _0x4c1df8=_0x355dad,_0x2ab75d;const _0x521db7=this[_0x4c1df8(0x18b)][_0x4c1df8(0x146)]();let _0x2024f8=(_0x2ab75d=this[_0x4c1df8(0x221)][_0x4c1df8(0x3da)](ls))!=null?_0x2ab75d:us;_0x521db7 instanceof _0x485333&&(_0x2024f8=_0x521db7[_0x4c1df8(0x289)]),document[_0x4c1df8(0x1fd)]=_0x2024f8;}));}};Ct=_s([zt(0x0,_0x26a8c2),zt(0x1,_0x1356ee)],Ct);var ds=Object[_0x40e481(0x237)],fs=(_0x54c931,_0x1bf273,_0x50f956,_0xf574c5)=>{var _0x577696=_0x40e481;for(var _0x3a4c12=_0xf574c5>0x1?void 0x0:_0xf574c5?ds(_0x1bf273,_0x50f956):_0x1bf273,_0x1ac105=_0x54c931[_0x577696(0x299)]-0x1,_0x27d2b7;_0x1ac105>=0x0;_0x1ac105--)(_0x27d2b7=_0x54c931[_0x1ac105])&&(_0x3a4c12=_0x27d2b7(_0x3a4c12)||_0x3a4c12);return _0x3a4c12;},vt=(_0x463922,_0x36b1d9)=>(_0x1e12c8,_0x3d7032)=>_0x36b1d9(_0x1e12c8,_0x3d7032,_0x463922);let rt=class{constructor(_0x2071e0,_0x422ae3,_0x16b478){var _0x3aeba9=_0x40e481;this[_0x3aeba9(0x221)]=_0x2071e0,this['_httpService']=_0x422ae3,this[_0x3aeba9(0x129)]=_0x16b478,this[_0x3aeba9(0x127)]();}[_0x40e481(0x127)](){var _0x21eb03=_0x40e481;this['_httpService'][_0x21eb03(0x2f1)]({'priority':0x1,'interceptor':(_0x531015,_0x51c92f)=>_0x51c92f(_0x531015)[_0x21eb03(0x30c)](_0x5cca15(async _0x1d6aec=>{var _0x5d5add=_0x21eb03;const _0x2f3987=_0x1d6aec;if(_0x2f3987['status']===0x191){if(typeof window>'u')throw new Error(_0x5d5add(0x112));if(window[_0x5d5add(0x2b9)](this[_0x5d5add(0x129)]['t'](_0x5d5add(0x1b4)))){const _0x4a84b2=window['encodeURIComponent'](window[_0x5d5add(0x23f)][_0x5d5add(0x39f)]);window[_0x5d5add(0x23f)][_0x5d5add(0x39f)]=this[_0x5d5add(0x1fa)]()+'?url='+_0x4a84b2;}}return _0x2f3987;}))});}[_0x40e481(0x1fa)](){var _0x530a60=_0x40e481,_0xa128d2,_0x1aede3;const _0x1ffdf6=this[_0x530a60(0x221)]['getConfig'](Un),_0x35f272=this[_0x530a60(0x221)][_0x530a60(0x3da)](q);return(_0x1aede3=(_0xa128d2=_0x35f272==null?void 0x0:_0x35f272[_0x530a60(0x2f7)])!=null?_0xa128d2:_0x1ffdf6)!=null?_0x1aede3:An;}};rt=fs([vt(0x0,_0x1356ee),vt(0x1,_0x41febc(_0x30b709)),vt(0x2,_0x41febc(_0x5ceb9f))],rt);var vs=Object[_0x40e481(0x237)],ps=(_0x34c6d8,_0x441ab1,_0xff649a,_0x1b59d6)=>{for(var _0x4fe609=_0x1b59d6>0x1?void 0x0:_0x1b59d6?vs(_0x441ab1,_0xff649a):_0x441ab1,_0x1b59e9=_0x34c6d8['length']-0x1,_0x24f28b;_0x1b59e9>=0x0;_0x1b59e9--)(_0x24f28b=_0x34c6d8[_0x1b59e9])&&(_0x4fe609=_0x24f28b(_0x4fe609)||_0x4fe609);return _0x4fe609;},Jt=(_0x397b9d,_0x58548d)=>(_0x39f684,_0x2eb05e)=>_0x58548d(_0x39f684,_0x2eb05e,_0x397b9d);const Ni='AUTHZ_URL_KEY',ms=_0x40e481(0xea);let Rt=class extends _0x484e8c{constructor(_0x5e387b,_0x165b53){var _0x52dcda=_0x40e481;super(),this[_0x52dcda(0x2c8)]=_0x5e387b,this[_0x52dcda(0x221)]=_0x165b53,this[_0x52dcda(0x1b2)]();}[_0x40e481(0x1b2)](){var _0x5b9c99=_0x40e481;const _0x4a99bf=this;this['disposeWithMe'](this[_0x5b9c99(0x2c8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2e6923({'isMatch'(_0x473043){var _0x39a760=_0x5b9c99,_0x5e5353;if(_0x473043[_0x39a760(0x3a5)]==='POST'&&((_0x5e5353=_0x473043['requestParams'])!=null&&_0x5e5353[_0x39a760(0x159)])){const {objectID:_0x220229,objectType:_0x2e12c1}=_0x473043[_0x39a760(0xe7)][_0x39a760(0x159)]||{};if(!_0x220229||_0x2e12c1===void 0x0)return!0x1;const _0x5520e3=_0x4a99bf[_0x39a760(0x19b)]()+'/'+_0x2e12c1+'/object/'+_0x220229+_0x39a760(0x2ef);if(_0x473043['url']===_0x5520e3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x372158){var _0x522e39=_0x5b9c99,_0x3a6e50;return(_0x3a6e50=_0x372158[_0x522e39(0xe7)])==null?void 0x0:_0x3a6e50[_0x522e39(0x159)];},'mergeParamsToRequest'(_0x2f392e,_0x501896){var _0x422298=_0x5b9c99;const _0x206a8b=_0x4a99bf[_0x422298(0x19b)]()+_0x422298(0x165),_0x3ebe44=_0x2f392e[_0x422298(0x170)]((_0x7ea986,_0xfb8c89)=>{var _0x2cd2fb=_0x422298;const {unitID:_0xb29041,objectID:_0x3c583c,objectType:_0x31f972,actions:_0x2c87de}=_0xfb8c89;return _0x7ea986[_0xb29041]||(_0x7ea986[_0xb29041]={}),_0x7ea986[_0xb29041][_0x3c583c]||(_0x7ea986[_0xb29041][_0x3c583c]={'objectID':_0x3c583c,'objectType':_0x31f972,'actions':[]}),_0x7ea986[_0xb29041][_0x3c583c][_0x2cd2fb(0x1f0)][_0x2cd2fb(0xeb)](..._0x2c87de),_0x7ea986;},{}),_0x264287=[];for(const _0x32334d in _0x3ebe44)for(const _0x3f6d3d in _0x3ebe44[_0x32334d]){const {actions:_0x5cdd2e,objectType:_0x4f9a13}=_0x3ebe44[_0x32334d][_0x3f6d3d],_0x4510b3=[...new Set(_0x5cdd2e)];_0x264287[_0x422298(0xeb)]({'unitID':_0x32334d,'objectID':_0x3f6d3d,'objectType':_0x4f9a13,'actions':_0x4510b3});}return new _0x543717(_0x422298(0x346),_0x206a8b,{'headers':_0x501896['headers'],'withCredentials':_0x501896[_0x422298(0x20a)],'responseType':_0x501896['responseType'],'body':{'requests':_0x264287}});}},{'distributeResult'(_0x151736,_0x1c14de){const {objectActions:_0x570347}=_0x151736;return _0x1c14de['map'](_0xea438b=>{var _0x4fe432=_0x1459;const {unitID:_0x13a8e4,objectID:_0x48a470,actions:_0x323f7f}=_0xea438b,_0x2d2574=_0x570347['find'](_0x609442=>_0x609442[_0x4fe432(0x204)]===_0x13a8e4&&_0x609442[_0x4fe432(0x2a0)]===_0x48a470),_0x1c5797=_0x323f7f['map'](_0x5d6411=>_0x2d2574==null?void 0x0:_0x2d2574['actions']['find'](_0x56cb18=>_0x56cb18[_0x4fe432(0x210)]===_0x5d6411))[_0x4fe432(0xf0)](_0x29879c=>!!_0x29879c);return{'config':_0xea438b,'result':{'actions':_0x1c5797,'error':_0x151736['error']}};});}})}));}[_0x40e481(0x19b)](){var _0x554138=_0x40e481,_0x534328,_0x979fff;const _0x313111=this[_0x554138(0x221)][_0x554138(0x3da)](Ni),_0x5e9b3a=this[_0x554138(0x221)][_0x554138(0x3da)](q);return(_0x979fff=(_0x534328=_0x5e9b3a==null?void 0x0:_0x5e9b3a[_0x554138(0x13e)])!=null?_0x534328:_0x313111)!=null?_0x979fff:ms;}async['create'](_0x255465){var _0x5127c5=_0x40e481;const _0x430777=this[_0x5127c5(0x19b)]()+'/'+_0x255465[_0x5127c5(0x32e)]+_0x5127c5(0x38b);return(await this[_0x5127c5(0x2c8)][_0x5127c5(0x1bb)](_0x430777,{'body':_0x255465}))[_0x5127c5(0x159)][_0x5127c5(0x2a0)]||'';}async[_0x40e481(0x3db)](_0x480fc0){var _0x17495f=_0x40e481;const _0x6e232a=this['_getAPIPrefixPath']()+_0x17495f(0x2c6);return(await this['_HTTPService']['post'](_0x6e232a,{'body':_0x480fc0}))[_0x17495f(0x159)]['objects'];}async[_0x40e481(0x2c9)](_0xf0f26f){var _0x2a1d14=_0x40e481,_0x1e804c,_0x3bccc7;const _0x5c8def=this[_0x2a1d14(0x19b)]()+'/'+_0xf0f26f[_0x2a1d14(0x32e)]+'/object/'+_0xf0f26f[_0x2a1d14(0x2a0)],_0x20ecc7=await this['_HTTPService'][_0x2a1d14(0x2fc)](_0x5c8def,{'body':_0xf0f26f});if(((_0x3bccc7=(_0x1e804c=_0x20ecc7==null?void 0x0:_0x20ecc7[_0x2a1d14(0x159)])==null?void 0x0:_0x1e804c['error'])==null?void 0x0:_0x3bccc7[_0x2a1d14(0x313)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x40e481(0x232)](_0x507428){var _0x1a0969=_0x40e481;const _0xf24634=this[_0x1a0969(0x19b)]()+'/'+_0x507428[_0x1a0969(0x32e)]+'/object/'+_0x507428[_0x1a0969(0x2a0)]+_0x1a0969(0x2ef);return(await this[_0x1a0969(0x2c8)]['post'](_0xf24634,{'body':_0x507428}))[_0x1a0969(0x159)][_0x1a0969(0x1f0)];}async[_0x40e481(0x361)](_0x7af411){var _0x5d8659=_0x40e481;const _0x304bb1=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5d8659(0x2c8)]['post'](_0x304bb1,{'body':{'requests':_0x7af411}}))[_0x5d8659(0x159)][_0x5d8659(0x156)];}async['listRoles'](_0x125f12){var _0xb57f4f=_0x40e481;const _0x1dce52=this['_getAPIPrefixPath']()+'/'+_0x125f12[_0xb57f4f(0x32e)]+_0xb57f4f(0x187),_0x97ab39=await this[_0xb57f4f(0x2c8)][_0xb57f4f(0x1bb)](_0x1dce52,{'body':_0x125f12});return{'roles':_0x97ab39[_0xb57f4f(0x159)]['roles'],'actions':_0x97ab39[_0xb57f4f(0x159)]['actions']};}async[_0x40e481(0x275)](_0x3a9b53){var _0x93279e=_0x40e481;const _0x52a9ff=this[_0x93279e(0x19b)]()+'/collaborator';await this[_0x93279e(0x2c8)][_0x93279e(0x233)](_0x52a9ff,{'params':{'collaboratorID':_0x3a9b53[_0x93279e(0x240)],'objectID':_0x3a9b53[_0x93279e(0x2a0)],'unitID':_0x3a9b53[_0x93279e(0x204)]}});}async[_0x40e481(0x3c9)](_0x2a0bd1){var _0x172789=_0x40e481;const _0x184a58=this[_0x172789(0x19b)]()+_0x172789(0x3d3);await this['_HTTPService'][_0x172789(0x393)](_0x184a58,{'body':_0x2a0bd1});}async[_0x40e481(0x3d0)](_0xbdc378){var _0xe743b=_0x40e481;const _0x2fcd25=this[_0xe743b(0x19b)]()+_0xe743b(0x3d3);await this[_0xe743b(0x2c8)][_0xe743b(0x1bb)](_0x2fcd25,{'body':_0xbdc378});}async[_0x40e481(0x20e)](_0x216e99){var _0x4c498e=_0x40e481;const _0x592e3d=this[_0x4c498e(0x19b)]()+_0x4c498e(0x3d3);return(await this[_0x4c498e(0x2c8)]['get'](_0x592e3d,{'params':{'objectID':_0x216e99['objectID'],'unitID':_0x216e99[_0x4c498e(0x204)]}}))[_0x4c498e(0x159)]['collaborators'];}async['putCollaborators'](_0x239474){var _0x854fff=_0x40e481;const _0xc5216f=this['_getAPIPrefixPath']()+_0x854fff(0x3d3);await this[_0x854fff(0x2c8)][_0x854fff(0x2fc)](_0xc5216f,{'body':_0x239474});}};Rt=ps([Jt(0x0,_0x41febc(_0x30b709)),Jt(0x1,_0x41febc(_0x1356ee))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3b1db2){var _0x5c9122=_0x40e481;return _0x3b1db2&&_0x3b1db2[_0x5c9122(0x365)]&&Object['prototype'][_0x5c9122(0x1a3)][_0x5c9122(0x20b)](_0x3b1db2,_0x5c9122(0x35b))?_0x3b1db2[_0x5c9122(0x35b)]:_0x3b1db2;}var Ve={'exports':{}};function gs(_0x12b3d4){var _0x2c49ca=_0x40e481;throw new Error(_0x2c49ca(0x2b4)+_0x12b3d4+_0x2c49ca(0x2d8));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x21a53c,_0x2ae17e){(function(_0x555115,_0x3ce573){var _0x32077d=_0x1459;_0x21a53c[_0x32077d(0x363)]=_0x3ce573();}(Ss,function(){var _0xb78605=_0xb78605||function(_0x64ea85,_0xfb00a9){var _0x501bae=_0x1459,_0x3477a3;if(typeof window<'u'&&window[_0x501bae(0x10e)]&&(_0x3477a3=window[_0x501bae(0x10e)]),typeof self<'u'&&self[_0x501bae(0x10e)]&&(_0x3477a3=self[_0x501bae(0x10e)]),typeof globalThis<'u'&&globalThis[_0x501bae(0x10e)]&&(_0x3477a3=globalThis[_0x501bae(0x10e)]),!_0x3477a3&&typeof window<'u'&&window['msCrypto']&&(_0x3477a3=window[_0x501bae(0x17b)]),!_0x3477a3&&typeof pt<'u'&&pt['crypto']&&(_0x3477a3=pt['crypto']),!_0x3477a3&&typeof gs==_0x501bae(0x171))try{_0x3477a3=require(_0x501bae(0x10e));}catch{}var _0x39de22=function(){var _0xc4e998=_0x501bae;if(_0x3477a3){if(typeof _0x3477a3[_0xc4e998(0x2da)]==_0xc4e998(0x171))try{return _0x3477a3[_0xc4e998(0x2da)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3477a3['randomBytes']=='function')try{return _0x3477a3[_0xc4e998(0x17e)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1fe7ff=Object[_0x501bae(0x1d2)]||(function(){function _0x537f04(){}return function(_0x41f0d2){var _0x1dedbd=_0x1459,_0x1199c1;return _0x537f04[_0x1dedbd(0x30b)]=_0x41f0d2,_0x1199c1=new _0x537f04(),_0x537f04[_0x1dedbd(0x30b)]=null,_0x1199c1;};}()),_0x3c4f94={},_0x2c1184=_0x3c4f94[_0x501bae(0x22f)]={},_0x594197=_0x2c1184[_0x501bae(0x1ff)]=(function(){return{'extend':function(_0x5339c9){var _0x3ed542=_0x1459,_0x2a16d7=_0x1fe7ff(this);return _0x5339c9&&_0x2a16d7['mixIn'](_0x5339c9),(!_0x2a16d7[_0x3ed542(0x1a3)](_0x3ed542(0x127))||this[_0x3ed542(0x127)]===_0x2a16d7[_0x3ed542(0x127)])&&(_0x2a16d7[_0x3ed542(0x127)]=function(){var _0x46f5f9=_0x3ed542;_0x2a16d7[_0x46f5f9(0x223)]['init'][_0x46f5f9(0x194)](this,arguments);}),_0x2a16d7[_0x3ed542(0x127)][_0x3ed542(0x30b)]=_0x2a16d7,_0x2a16d7[_0x3ed542(0x223)]=this,_0x2a16d7;},'create':function(){var _0x27520b=_0x1459,_0x26c57c=this[_0x27520b(0x3c0)]();return _0x26c57c[_0x27520b(0x127)][_0x27520b(0x194)](_0x26c57c,arguments),_0x26c57c;},'init':function(){},'mixIn':function(_0x54ac92){var _0x52f035=_0x1459;for(var _0x263294 in _0x54ac92)_0x54ac92[_0x52f035(0x1a3)](_0x263294)&&(this[_0x263294]=_0x54ac92[_0x263294]);_0x54ac92[_0x52f035(0x1a3)]('toString')&&(this[_0x52f035(0x3ba)]=_0x54ac92['toString']);},'clone':function(){var _0x257234=_0x1459;return this[_0x257234(0x127)]['prototype'][_0x257234(0x3c0)](this);}};}()),_0x59d0e4=_0x2c1184[_0x501bae(0x260)]=_0x594197[_0x501bae(0x3c0)]({'init':function(_0x4d8c5c,_0xc5ba99){var _0x2fcf35=_0x501bae;_0x4d8c5c=this['words']=_0x4d8c5c||[],_0xc5ba99!=_0xfb00a9?this['sigBytes']=_0xc5ba99:this['sigBytes']=_0x4d8c5c[_0x2fcf35(0x299)]*0x4;},'toString':function(_0x4a1c33){return(_0x4a1c33||_0x1d91fb)['stringify'](this);},'concat':function(_0x4b5000){var _0x4dc0e9=_0x501bae,_0xb5db42=this[_0x4dc0e9(0xfe)],_0x47cb23=_0x4b5000['words'],_0x1f1d89=this[_0x4dc0e9(0x360)],_0xa3f61c=_0x4b5000[_0x4dc0e9(0x360)];if(this['clamp'](),_0x1f1d89%0x4)for(var _0x18c95c=0x0;_0x18c95c<_0xa3f61c;_0x18c95c++){var _0x4f006=_0x47cb23[_0x18c95c>>>0x2]>>>0x18-_0x18c95c%0x4*0x8&0xff;_0xb5db42[_0x1f1d89+_0x18c95c>>>0x2]|=_0x4f006<<0x18-(_0x1f1d89+_0x18c95c)%0x4*0x8;}else{for(var _0x4f17a4=0x0;_0x4f17a4<_0xa3f61c;_0x4f17a4+=0x4)_0xb5db42[_0x1f1d89+_0x4f17a4>>>0x2]=_0x47cb23[_0x4f17a4>>>0x2];}return this[_0x4dc0e9(0x360)]+=_0xa3f61c,this;},'clamp':function(){var _0x3808c8=_0x501bae,_0x368bd1=this[_0x3808c8(0xfe)],_0x5ddc61=this[_0x3808c8(0x360)];_0x368bd1[_0x5ddc61>>>0x2]&=0xffffffff<<0x20-_0x5ddc61%0x4*0x8,_0x368bd1[_0x3808c8(0x299)]=_0x64ea85[_0x3808c8(0x1bf)](_0x5ddc61/0x4);},'clone':function(){var _0x25ebdf=_0x501bae,_0x3f09f5=_0x594197[_0x25ebdf(0x2b0)]['call'](this);return _0x3f09f5[_0x25ebdf(0xfe)]=this[_0x25ebdf(0xfe)][_0x25ebdf(0x238)](0x0),_0x3f09f5;},'random':function(_0x3e556c){var _0x36b908=_0x501bae;for(var _0x4f9a60=[],_0xff55d0=0x0;_0xff55d0<_0x3e556c;_0xff55d0+=0x4)_0x4f9a60[_0x36b908(0xeb)](_0x39de22());return new _0x59d0e4[(_0x36b908(0x127))](_0x4f9a60,_0x3e556c);}}),_0x18fc4c=_0x3c4f94[_0x501bae(0x153)]={},_0x1d91fb=_0x18fc4c[_0x501bae(0x1ba)]={'stringify':function(_0x441055){var _0x233659=_0x501bae;for(var _0x31cf78=_0x441055[_0x233659(0xfe)],_0x1ef9a4=_0x441055[_0x233659(0x360)],_0x2efbd4=[],_0x4aba31=0x0;_0x4aba31<_0x1ef9a4;_0x4aba31++){var _0x946224=_0x31cf78[_0x4aba31>>>0x2]>>>0x18-_0x4aba31%0x4*0x8&0xff;_0x2efbd4[_0x233659(0xeb)]((_0x946224>>>0x4)['toString'](0x10)),_0x2efbd4[_0x233659(0xeb)]((_0x946224&0xf)[_0x233659(0x3ba)](0x10));}return _0x2efbd4[_0x233659(0x22b)]('');},'parse':function(_0x561d30){var _0x90e4d2=_0x501bae;for(var _0xb028b1=_0x561d30[_0x90e4d2(0x299)],_0x17cde2=[],_0x25ba6a=0x0;_0x25ba6a<_0xb028b1;_0x25ba6a+=0x2)_0x17cde2[_0x25ba6a>>>0x3]|=parseInt(_0x561d30[_0x90e4d2(0xe4)](_0x25ba6a,0x2),0x10)<<0x18-_0x25ba6a%0x8*0x4;return new _0x59d0e4[(_0x90e4d2(0x127))](_0x17cde2,_0xb028b1/0x2);}},_0x52e68e=_0x18fc4c[_0x501bae(0x2ab)]={'stringify':function(_0x48ba38){var _0x261042=_0x501bae;for(var _0x1f95dd=_0x48ba38[_0x261042(0xfe)],_0x520b0b=_0x48ba38[_0x261042(0x360)],_0x129aa6=[],_0x3b00f4=0x0;_0x3b00f4<_0x520b0b;_0x3b00f4++){var _0x4e722b=_0x1f95dd[_0x3b00f4>>>0x2]>>>0x18-_0x3b00f4%0x4*0x8&0xff;_0x129aa6[_0x261042(0xeb)](String['fromCharCode'](_0x4e722b));}return _0x129aa6[_0x261042(0x22b)]('');},'parse':function(_0x5682e3){var _0x4c81d1=_0x501bae;for(var _0x5e7668=_0x5682e3[_0x4c81d1(0x299)],_0x5743dc=[],_0x536a13=0x0;_0x536a13<_0x5e7668;_0x536a13++)_0x5743dc[_0x536a13>>>0x2]|=(_0x5682e3[_0x4c81d1(0x33f)](_0x536a13)&0xff)<<0x18-_0x536a13%0x4*0x8;return new _0x59d0e4['init'](_0x5743dc,_0x5e7668);}},_0x4fdf0a=_0x18fc4c[_0x501bae(0x16f)]={'stringify':function(_0x47d99d){var _0x2f345f=_0x501bae;try{return decodeURIComponent(escape(_0x52e68e[_0x2f345f(0x353)](_0x47d99d)));}catch{throw new Error(_0x2f345f(0x37a));}},'parse':function(_0x5e4f6f){var _0x541297=_0x501bae;return _0x52e68e[_0x541297(0x2e4)](unescape(encodeURIComponent(_0x5e4f6f)));}},_0x99a715=_0x2c1184['BufferedBlockAlgorithm']=_0x594197[_0x501bae(0x3c0)]({'reset':function(){var _0x31e75c=_0x501bae;this[_0x31e75c(0x29d)]=new _0x59d0e4[(_0x31e75c(0x127))](),this[_0x31e75c(0x1a4)]=0x0;},'_append':function(_0x83577e){var _0x4ed889=_0x501bae;typeof _0x83577e==_0x4ed889(0x26e)&&(_0x83577e=_0x4fdf0a[_0x4ed889(0x2e4)](_0x83577e)),this[_0x4ed889(0x29d)][_0x4ed889(0x387)](_0x83577e),this[_0x4ed889(0x1a4)]+=_0x83577e[_0x4ed889(0x360)];},'_process':function(_0x4f4698){var _0x5af14c=_0x501bae,_0x30feb6,_0x7831f3=this[_0x5af14c(0x29d)],_0x2d4886=_0x7831f3[_0x5af14c(0xfe)],_0xaac485=_0x7831f3[_0x5af14c(0x360)],_0xf9887a=this[_0x5af14c(0x2ea)],_0xef2e83=_0xf9887a*0x4,_0x1dab40=_0xaac485/_0xef2e83;_0x4f4698?_0x1dab40=_0x64ea85[_0x5af14c(0x1bf)](_0x1dab40):_0x1dab40=_0x64ea85[_0x5af14c(0x209)]((_0x1dab40|0x0)-this[_0x5af14c(0x2b3)],0x0);var _0x3bfc2a=_0x1dab40*_0xf9887a,_0x279aab=_0x64ea85['min'](_0x3bfc2a*0x4,_0xaac485);if(_0x3bfc2a){for(var _0x266a2=0x0;_0x266a2<_0x3bfc2a;_0x266a2+=_0xf9887a)this[_0x5af14c(0x1b3)](_0x2d4886,_0x266a2);_0x30feb6=_0x2d4886[_0x5af14c(0x323)](0x0,_0x3bfc2a),_0x7831f3[_0x5af14c(0x360)]-=_0x279aab;}return new _0x59d0e4[(_0x5af14c(0x127))](_0x30feb6,_0x279aab);},'clone':function(){var _0x337442=_0x501bae,_0x136f63=_0x594197[_0x337442(0x2b0)][_0x337442(0x20b)](this);return _0x136f63['_data']=this[_0x337442(0x29d)]['clone'](),_0x136f63;},'_minBufferSize':0x0});_0x2c1184[_0x501bae(0x196)]=_0x99a715[_0x501bae(0x3c0)]({'cfg':_0x594197[_0x501bae(0x3c0)](),'init':function(_0x596100){var _0x42057a=_0x501bae;this[_0x42057a(0x27f)]=this[_0x42057a(0x27f)][_0x42057a(0x3c0)](_0x596100),this['reset']();},'reset':function(){var _0x4a0ebf=_0x501bae;_0x99a715[_0x4a0ebf(0x376)][_0x4a0ebf(0x20b)](this),this[_0x4a0ebf(0x3b1)]();},'update':function(_0x334a2c){var _0x40d686=_0x501bae;return this[_0x40d686(0x36a)](_0x334a2c),this[_0x40d686(0x231)](),this;},'finalize':function(_0x527eb4){var _0xbd155e=_0x501bae;_0x527eb4&&this[_0xbd155e(0x36a)](_0x527eb4);var _0x8f347c=this[_0xbd155e(0x150)]();return _0x8f347c;},'blockSize':0x10,'_createHelper':function(_0x1104fa){return function(_0xa08c1a,_0x2e3771){var _0xa475d6=_0x1459;return new _0x1104fa[(_0xa475d6(0x127))](_0x2e3771)[_0xa475d6(0x1f7)](_0xa08c1a);};},'_createHmacHelper':function(_0x1e6e31){return function(_0x3d7dc0,_0x48bebb){var _0x23ee1e=_0x1459;return new _0x4d08fa[(_0x23ee1e(0x3de))][(_0x23ee1e(0x127))](_0x1e6e31,_0x48bebb)['finalize'](_0x3d7dc0);};}});var _0x4d08fa=_0x3c4f94['algo']={};return _0x3c4f94;}(Math);return _0xb78605;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x554541=_0x40e481;return Zt||(Zt=0x1,function(_0x1e2f4e,_0xdac056){(function(_0xad1979,_0x5c3990){_0x1e2f4e['exports']=_0x5c3990(ie());}(Es,function(_0x4abc6e){var _0x72acf4=_0x1459;return(function(){var _0x24c868=_0x1459,_0x2fc237=_0x4abc6e,_0x13094c=_0x2fc237[_0x24c868(0x22f)],_0x3e25bf=_0x13094c[_0x24c868(0x260)],_0x15a4f0=_0x2fc237['enc'];_0x15a4f0[_0x24c868(0x2d9)]={'stringify':function(_0x43307f){var _0x1e6fd2=_0x24c868,_0xd12dd1=_0x43307f[_0x1e6fd2(0xfe)],_0x554320=_0x43307f['sigBytes'],_0x2e7c50=this['_map'];_0x43307f['clamp']();for(var _0xc77db8=[],_0x5e8cb3=0x0;_0x5e8cb3<_0x554320;_0x5e8cb3+=0x3)for(var _0x2e1464=_0xd12dd1[_0x5e8cb3>>>0x2]>>>0x18-_0x5e8cb3%0x4*0x8&0xff,_0x598de1=_0xd12dd1[_0x5e8cb3+0x1>>>0x2]>>>0x18-(_0x5e8cb3+0x1)%0x4*0x8&0xff,_0x3e9b29=_0xd12dd1[_0x5e8cb3+0x2>>>0x2]>>>0x18-(_0x5e8cb3+0x2)%0x4*0x8&0xff,_0x27c9e3=_0x2e1464<<0x10|_0x598de1<<0x8|_0x3e9b29,_0x4c579c=0x0;_0x4c579c<0x4&&_0x5e8cb3+_0x4c579c*0.75<_0x554320;_0x4c579c++)_0xc77db8['push'](_0x2e7c50[_0x1e6fd2(0x2ae)](_0x27c9e3>>>0x6*(0x3-_0x4c579c)&0x3f));var _0x25e15f=_0x2e7c50[_0x1e6fd2(0x2ae)](0x40);if(_0x25e15f){for(;_0xc77db8['length']%0x4;)_0xc77db8[_0x1e6fd2(0xeb)](_0x25e15f);}return _0xc77db8[_0x1e6fd2(0x22b)]('');},'parse':function(_0xf9a9e3){var _0x4c0de3=_0x24c868,_0xd11fc7=_0xf9a9e3[_0x4c0de3(0x299)],_0x51a683=this[_0x4c0de3(0x2f0)],_0x1a8bcb=this[_0x4c0de3(0x390)];if(!_0x1a8bcb){_0x1a8bcb=this[_0x4c0de3(0x390)]=[];for(var _0x4309ce=0x0;_0x4309ce<_0x51a683[_0x4c0de3(0x299)];_0x4309ce++)_0x1a8bcb[_0x51a683[_0x4c0de3(0x33f)](_0x4309ce)]=_0x4309ce;}var _0x4df97a=_0x51a683[_0x4c0de3(0x2ae)](0x40);if(_0x4df97a){var _0x4b1a7d=_0xf9a9e3['indexOf'](_0x4df97a);_0x4b1a7d!==-0x1&&(_0xd11fc7=_0x4b1a7d);}return _0x51976f(_0xf9a9e3,_0xd11fc7,_0x1a8bcb);},'_map':_0x24c868(0x1f9)};function _0x51976f(_0x37a67f,_0x218d8b,_0x3b254a){var _0x554403=_0x24c868;for(var _0x567c78=[],_0x4c58e0=0x0,_0x246c16=0x0;_0x246c16<_0x218d8b;_0x246c16++)if(_0x246c16%0x4){var _0x5d00f8=_0x3b254a[_0x37a67f[_0x554403(0x33f)](_0x246c16-0x1)]<<_0x246c16%0x4*0x2,_0x29367b=_0x3b254a[_0x37a67f[_0x554403(0x33f)](_0x246c16)]>>>0x6-_0x246c16%0x4*0x2,_0x98df71=_0x5d00f8|_0x29367b;_0x567c78[_0x4c58e0>>>0x2]|=_0x98df71<<0x18-_0x4c58e0%0x4*0x8,_0x4c58e0++;}return _0x3e25bf[_0x554403(0x1d2)](_0x567c78,_0x4c58e0);}}()),_0x4abc6e[_0x72acf4(0x153)][_0x72acf4(0x2d9)];}));}(We)),We[_0x554541(0x363)];}var Ke={'exports':{}},Is=Ke[_0x40e481(0x363)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0xad664a,_0x3a3583){(function(_0x54a7b9,_0x5b1186){var _0xf8b9e1=_0x1459;_0xad664a[_0xf8b9e1(0x363)]=_0x5b1186(ie());}(Is,function(_0xc0ce3){return function(_0x4406a8){var _0x34f249=_0x1459,_0x394431=_0xc0ce3,_0x3cbd31=_0x394431[_0x34f249(0x22f)],_0x1d8e05=_0x3cbd31['WordArray'],_0x3cfaec=_0x3cbd31[_0x34f249(0x196)],_0x355387=_0x394431[_0x34f249(0x15d)],_0x4a06aa=[];(function(){var _0x221ebe=_0x34f249;for(var _0x39070f=0x0;_0x39070f<0x40;_0x39070f++)_0x4a06aa[_0x39070f]=_0x4406a8[_0x221ebe(0x141)](_0x4406a8[_0x221ebe(0x3c5)](_0x39070f+0x1))*0x100000000|0x0;}());var _0x18880a=_0x355387[_0x34f249(0x1d1)]=_0x3cfaec[_0x34f249(0x3c0)]({'_doReset':function(){var _0x4ccff0=_0x34f249;this['_hash']=new _0x1d8e05[(_0x4ccff0(0x127))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2b771f,_0x2ff4b7){var _0x414341=_0x34f249;for(var _0x180757=0x0;_0x180757<0x10;_0x180757++){var _0xc5796d=_0x2ff4b7+_0x180757,_0x16ad51=_0x2b771f[_0xc5796d];_0x2b771f[_0xc5796d]=(_0x16ad51<<0x8|_0x16ad51>>>0x18)&0xff00ff|(_0x16ad51<<0x18|_0x16ad51>>>0x8)&0xff00ff00;}var _0x361d3d=this[_0x414341(0x32f)][_0x414341(0xfe)],_0x2be33f=_0x2b771f[_0x2ff4b7+0x0],_0x431343=_0x2b771f[_0x2ff4b7+0x1],_0x9a61e0=_0x2b771f[_0x2ff4b7+0x2],_0x1c4628=_0x2b771f[_0x2ff4b7+0x3],_0x3afac6=_0x2b771f[_0x2ff4b7+0x4],_0x13f59f=_0x2b771f[_0x2ff4b7+0x5],_0x4374b2=_0x2b771f[_0x2ff4b7+0x6],_0x35fa00=_0x2b771f[_0x2ff4b7+0x7],_0x31d329=_0x2b771f[_0x2ff4b7+0x8],_0x5b78b9=_0x2b771f[_0x2ff4b7+0x9],_0x2df8bc=_0x2b771f[_0x2ff4b7+0xa],_0x574bf0=_0x2b771f[_0x2ff4b7+0xb],_0x8b2397=_0x2b771f[_0x2ff4b7+0xc],_0x3120a0=_0x2b771f[_0x2ff4b7+0xd],_0x240975=_0x2b771f[_0x2ff4b7+0xe],_0x57be2f=_0x2b771f[_0x2ff4b7+0xf],_0x42f753=_0x361d3d[0x0],_0x57782c=_0x361d3d[0x1],_0x17c75a=_0x361d3d[0x2],_0x183a21=_0x361d3d[0x3];_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x2be33f,0x7,_0x4a06aa[0x0]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x431343,0xc,_0x4a06aa[0x1]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x9a61e0,0x11,_0x4a06aa[0x2]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x1c4628,0x16,_0x4a06aa[0x3]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3afac6,0x7,_0x4a06aa[0x4]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x13f59f,0xc,_0x4a06aa[0x5]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x4374b2,0x11,_0x4a06aa[0x6]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x35fa00,0x16,_0x4a06aa[0x7]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x31d329,0x7,_0x4a06aa[0x8]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x5b78b9,0xc,_0x4a06aa[0x9]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x2df8bc,0x11,_0x4a06aa[0xa]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x574bf0,0x16,_0x4a06aa[0xb]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x8b2397,0x7,_0x4a06aa[0xc]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x3120a0,0xc,_0x4a06aa[0xd]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x240975,0x11,_0x4a06aa[0xe]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x57be2f,0x16,_0x4a06aa[0xf]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x431343,0x5,_0x4a06aa[0x10]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x4374b2,0x9,_0x4a06aa[0x11]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x574bf0,0xe,_0x4a06aa[0x12]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x2be33f,0x14,_0x4a06aa[0x13]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x13f59f,0x5,_0x4a06aa[0x14]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x2df8bc,0x9,_0x4a06aa[0x15]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x57be2f,0xe,_0x4a06aa[0x16]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x3afac6,0x14,_0x4a06aa[0x17]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x5b78b9,0x5,_0x4a06aa[0x18]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x240975,0x9,_0x4a06aa[0x19]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x1c4628,0xe,_0x4a06aa[0x1a]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x31d329,0x14,_0x4a06aa[0x1b]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3120a0,0x5,_0x4a06aa[0x1c]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x9a61e0,0x9,_0x4a06aa[0x1d]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x35fa00,0xe,_0x4a06aa[0x1e]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x8b2397,0x14,_0x4a06aa[0x1f]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x13f59f,0x4,_0x4a06aa[0x20]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x31d329,0xb,_0x4a06aa[0x21]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x574bf0,0x10,_0x4a06aa[0x22]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x240975,0x17,_0x4a06aa[0x23]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x431343,0x4,_0x4a06aa[0x24]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x3afac6,0xb,_0x4a06aa[0x25]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x35fa00,0x10,_0x4a06aa[0x26]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x2df8bc,0x17,_0x4a06aa[0x27]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3120a0,0x4,_0x4a06aa[0x28]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x2be33f,0xb,_0x4a06aa[0x29]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x1c4628,0x10,_0x4a06aa[0x2a]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x4374b2,0x17,_0x4a06aa[0x2b]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x5b78b9,0x4,_0x4a06aa[0x2c]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x8b2397,0xb,_0x4a06aa[0x2d]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x57be2f,0x10,_0x4a06aa[0x2e]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x9a61e0,0x17,_0x4a06aa[0x2f]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x2be33f,0x6,_0x4a06aa[0x30]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x35fa00,0xa,_0x4a06aa[0x31]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x240975,0xf,_0x4a06aa[0x32]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x13f59f,0x15,_0x4a06aa[0x33]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x8b2397,0x6,_0x4a06aa[0x34]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x1c4628,0xa,_0x4a06aa[0x35]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x2df8bc,0xf,_0x4a06aa[0x36]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x431343,0x15,_0x4a06aa[0x37]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x31d329,0x6,_0x4a06aa[0x38]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x57be2f,0xa,_0x4a06aa[0x39]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x4374b2,0xf,_0x4a06aa[0x3a]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x3120a0,0x15,_0x4a06aa[0x3b]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3afac6,0x6,_0x4a06aa[0x3c]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x574bf0,0xa,_0x4a06aa[0x3d]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x9a61e0,0xf,_0x4a06aa[0x3e]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x5b78b9,0x15,_0x4a06aa[0x3f]),_0x361d3d[0x0]=_0x361d3d[0x0]+_0x42f753|0x0,_0x361d3d[0x1]=_0x361d3d[0x1]+_0x57782c|0x0,_0x361d3d[0x2]=_0x361d3d[0x2]+_0x17c75a|0x0,_0x361d3d[0x3]=_0x361d3d[0x3]+_0x183a21|0x0;},'_doFinalize':function(){var _0x339b86=_0x34f249,_0x20dc7a=this['_data'],_0x40ed0c=_0x20dc7a[_0x339b86(0xfe)],_0x17e48c=this[_0x339b86(0x1a4)]*0x8,_0x876519=_0x20dc7a['sigBytes']*0x8;_0x40ed0c[_0x876519>>>0x5]|=0x80<<0x18-_0x876519%0x20;var _0x4b647c=_0x4406a8['floor'](_0x17e48c/0x100000000),_0xe509be=_0x17e48c;_0x40ed0c[(_0x876519+0x40>>>0x9<<0x4)+0xf]=(_0x4b647c<<0x8|_0x4b647c>>>0x18)&0xff00ff|(_0x4b647c<<0x18|_0x4b647c>>>0x8)&0xff00ff00,_0x40ed0c[(_0x876519+0x40>>>0x9<<0x4)+0xe]=(_0xe509be<<0x8|_0xe509be>>>0x18)&0xff00ff|(_0xe509be<<0x18|_0xe509be>>>0x8)&0xff00ff00,_0x20dc7a[_0x339b86(0x360)]=(_0x40ed0c['length']+0x1)*0x4,this[_0x339b86(0x231)]();for(var _0x586e93=this['_hash'],_0x39c62f=_0x586e93['words'],_0x2a0688=0x0;_0x2a0688<0x4;_0x2a0688++){var _0x474917=_0x39c62f[_0x2a0688];_0x39c62f[_0x2a0688]=(_0x474917<<0x8|_0x474917>>>0x18)&0xff00ff|(_0x474917<<0x18|_0x474917>>>0x8)&0xff00ff00;}return _0x586e93;},'clone':function(){var _0x35376c=_0x34f249,_0x42e439=_0x3cfaec[_0x35376c(0x2b0)][_0x35376c(0x20b)](this);return _0x42e439['_hash']=this[_0x35376c(0x32f)][_0x35376c(0x2b0)](),_0x42e439;}});function _0x862eb6(_0x1dfe90,_0x5582c7,_0x411e87,_0x11f3b7,_0x5c212f,_0x3bb69c,_0x4b99a3){var _0x10197d=_0x1dfe90+(_0x5582c7&_0x411e87|~_0x5582c7&_0x11f3b7)+_0x5c212f+_0x4b99a3;return(_0x10197d<<_0x3bb69c|_0x10197d>>>0x20-_0x3bb69c)+_0x5582c7;}function _0x19ae0f(_0x5dfc44,_0xe1dc1c,_0x218260,_0x45844e,_0x291758,_0x1290e2,_0x1fec2f){var _0x4a81ef=_0x5dfc44+(_0xe1dc1c&_0x45844e|_0x218260&~_0x45844e)+_0x291758+_0x1fec2f;return(_0x4a81ef<<_0x1290e2|_0x4a81ef>>>0x20-_0x1290e2)+_0xe1dc1c;}function _0x499bed(_0x1217df,_0x4377b8,_0x469358,_0x32aaee,_0x2e830a,_0x23709f,_0x2ba644){var _0x1b72ac=_0x1217df+(_0x4377b8^_0x469358^_0x32aaee)+_0x2e830a+_0x2ba644;return(_0x1b72ac<<_0x23709f|_0x1b72ac>>>0x20-_0x23709f)+_0x4377b8;}function _0x28aec0(_0xa563d6,_0x4116e8,_0x11dcc4,_0xe2cb6c,_0x26b517,_0x4c5b10,_0xdff67d){var _0x3e9ecf=_0xa563d6+(_0x11dcc4^(_0x4116e8|~_0xe2cb6c))+_0x26b517+_0xdff67d;return(_0x3e9ecf<<_0x4c5b10|_0x3e9ecf>>>0x20-_0x4c5b10)+_0x4116e8;}_0x394431[_0x34f249(0x1d1)]=_0x3cfaec[_0x34f249(0x2bf)](_0x18880a),_0x394431[_0x34f249(0x391)]=_0x3cfaec[_0x34f249(0x3b8)](_0x18880a);}(Math),_0xc0ce3['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x40e481(0x363)],ei;function Rs(){var _0x4cc459=_0x40e481;return ei||(ei=0x1,function(_0x11dc60,_0x1aedde){(function(_0x1bf943,_0x3afb63){var _0x441e21=_0x1459;_0x11dc60[_0x441e21(0x363)]=_0x3afb63(ie());}(Cs,function(_0x2d5b4f){var _0x37ba5e=_0x1459;return(function(){var _0x4a7864=_0x1459,_0x166d32=_0x2d5b4f,_0x4f2497=_0x166d32[_0x4a7864(0x22f)],_0x5b6fa4=_0x4f2497['WordArray'],_0x4dbfa7=_0x4f2497['Hasher'],_0x5abc03=_0x166d32['algo'],_0x569d9d=[],_0x54cf34=_0x5abc03['SHA1']=_0x4dbfa7['extend']({'_doReset':function(){var _0x116c67=_0x4a7864;this[_0x116c67(0x32f)]=new _0x5b6fa4[(_0x116c67(0x127))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x30d79f,_0x583ab9){var _0x217c2d=_0x4a7864;for(var _0x56ff4a=this['_hash'][_0x217c2d(0xfe)],_0x41bc27=_0x56ff4a[0x0],_0x1cc4e3=_0x56ff4a[0x1],_0x3eed70=_0x56ff4a[0x2],_0x10f346=_0x56ff4a[0x3],_0x4ba902=_0x56ff4a[0x4],_0x52ccc0=0x0;_0x52ccc0<0x50;_0x52ccc0++){if(_0x52ccc0<0x10)_0x569d9d[_0x52ccc0]=_0x30d79f[_0x583ab9+_0x52ccc0]|0x0;else{var _0x178880=_0x569d9d[_0x52ccc0-0x3]^_0x569d9d[_0x52ccc0-0x8]^_0x569d9d[_0x52ccc0-0xe]^_0x569d9d[_0x52ccc0-0x10];_0x569d9d[_0x52ccc0]=_0x178880<<0x1|_0x178880>>>0x1f;}var _0x51da20=(_0x41bc27<<0x5|_0x41bc27>>>0x1b)+_0x4ba902+_0x569d9d[_0x52ccc0];_0x52ccc0<0x14?_0x51da20+=(_0x1cc4e3&_0x3eed70|~_0x1cc4e3&_0x10f346)+0x5a827999:_0x52ccc0<0x28?_0x51da20+=(_0x1cc4e3^_0x3eed70^_0x10f346)+0x6ed9eba1:_0x52ccc0<0x3c?_0x51da20+=(_0x1cc4e3&_0x3eed70|_0x1cc4e3&_0x10f346|_0x3eed70&_0x10f346)-0x70e44324:_0x51da20+=(_0x1cc4e3^_0x3eed70^_0x10f346)-0x359d3e2a,_0x4ba902=_0x10f346,_0x10f346=_0x3eed70,_0x3eed70=_0x1cc4e3<<0x1e|_0x1cc4e3>>>0x2,_0x1cc4e3=_0x41bc27,_0x41bc27=_0x51da20;}_0x56ff4a[0x0]=_0x56ff4a[0x0]+_0x41bc27|0x0,_0x56ff4a[0x1]=_0x56ff4a[0x1]+_0x1cc4e3|0x0,_0x56ff4a[0x2]=_0x56ff4a[0x2]+_0x3eed70|0x0,_0x56ff4a[0x3]=_0x56ff4a[0x3]+_0x10f346|0x0,_0x56ff4a[0x4]=_0x56ff4a[0x4]+_0x4ba902|0x0;},'_doFinalize':function(){var _0x5af0ca=_0x4a7864,_0x397043=this['_data'],_0x2a0ef4=_0x397043['words'],_0x49207c=this[_0x5af0ca(0x1a4)]*0x8,_0x400c56=_0x397043[_0x5af0ca(0x360)]*0x8;return _0x2a0ef4[_0x400c56>>>0x5]|=0x80<<0x18-_0x400c56%0x20,_0x2a0ef4[(_0x400c56+0x40>>>0x9<<0x4)+0xe]=Math[_0x5af0ca(0x392)](_0x49207c/0x100000000),_0x2a0ef4[(_0x400c56+0x40>>>0x9<<0x4)+0xf]=_0x49207c,_0x397043[_0x5af0ca(0x360)]=_0x2a0ef4[_0x5af0ca(0x299)]*0x4,this['_process'](),this[_0x5af0ca(0x32f)];},'clone':function(){var _0x4a06ef=_0x4a7864,_0x12cc8f=_0x4dbfa7[_0x4a06ef(0x2b0)][_0x4a06ef(0x20b)](this);return _0x12cc8f[_0x4a06ef(0x32f)]=this[_0x4a06ef(0x32f)][_0x4a06ef(0x2b0)](),_0x12cc8f;}});_0x166d32[_0x4a7864(0x1c1)]=_0x4dbfa7[_0x4a7864(0x2bf)](_0x54cf34),_0x166d32[_0x4a7864(0x3a9)]=_0x4dbfa7[_0x4a7864(0x3b8)](_0x54cf34);}()),_0x2d5b4f[_0x37ba5e(0x1c1)];}));}(qe)),qe[_0x4cc459(0x363)];}var ze={'exports':{}},bs=ze[_0x40e481(0x363)],ti;function ys(){var _0x220fad=_0x40e481;return ti||(ti=0x1,function(_0x5b6062,_0x5201f5){(function(_0x11eb9f,_0x2b9800){var _0x4e50b9=_0x1459;_0x5b6062[_0x4e50b9(0x363)]=_0x2b9800(ie());}(bs,function(_0x26ba59){(function(){var _0x267a55=_0x1459,_0x5f3f9d=_0x26ba59,_0x255900=_0x5f3f9d[_0x267a55(0x22f)],_0x5c8dd9=_0x255900[_0x267a55(0x1ff)],_0xd05bcc=_0x5f3f9d[_0x267a55(0x153)],_0x2d56f4=_0xd05bcc['Utf8'],_0x6347ab=_0x5f3f9d[_0x267a55(0x15d)];_0x6347ab[_0x267a55(0x3de)]=_0x5c8dd9[_0x267a55(0x3c0)]({'init':function(_0x3bf72f,_0xf41bad){var _0x5a5a96=_0x267a55;_0x3bf72f=this[_0x5a5a96(0x29b)]=new _0x3bf72f[(_0x5a5a96(0x127))](),typeof _0xf41bad==_0x5a5a96(0x26e)&&(_0xf41bad=_0x2d56f4[_0x5a5a96(0x2e4)](_0xf41bad));var _0x434d78=_0x3bf72f[_0x5a5a96(0x2ea)],_0x2f448d=_0x434d78*0x4;_0xf41bad[_0x5a5a96(0x360)]>_0x2f448d&&(_0xf41bad=_0x3bf72f[_0x5a5a96(0x1f7)](_0xf41bad)),_0xf41bad[_0x5a5a96(0x328)]();for(var _0x19364d=this[_0x5a5a96(0x389)]=_0xf41bad[_0x5a5a96(0x2b0)](),_0x2bf6fa=this[_0x5a5a96(0x3c6)]=_0xf41bad[_0x5a5a96(0x2b0)](),_0x25ca43=_0x19364d[_0x5a5a96(0xfe)],_0x22bd0d=_0x2bf6fa[_0x5a5a96(0xfe)],_0x3b46fe=0x0;_0x3b46fe<_0x434d78;_0x3b46fe++)_0x25ca43[_0x3b46fe]^=0x5c5c5c5c,_0x22bd0d[_0x3b46fe]^=0x36363636;_0x19364d['sigBytes']=_0x2bf6fa[_0x5a5a96(0x360)]=_0x2f448d,this[_0x5a5a96(0x376)]();},'reset':function(){var _0x250be6=_0x267a55,_0x2da493=this[_0x250be6(0x29b)];_0x2da493[_0x250be6(0x376)](),_0x2da493['update'](this[_0x250be6(0x3c6)]);},'update':function(_0x2b1fc3){var _0x23b9f7=_0x267a55;return this[_0x23b9f7(0x29b)][_0x23b9f7(0x2c9)](_0x2b1fc3),this;},'finalize':function(_0x7b96f4){var _0x5a4419=_0x267a55,_0x114b7d=this['_hasher'],_0x42289b=_0x114b7d[_0x5a4419(0x1f7)](_0x7b96f4);_0x114b7d[_0x5a4419(0x376)]();var _0x4baf09=_0x114b7d['finalize'](this['_oKey'][_0x5a4419(0x2b0)]()[_0x5a4419(0x387)](_0x42289b));return _0x4baf09;}});}());}));}(ze)),ze[_0x220fad(0x363)];}var Os=Ye[_0x40e481(0x363)],ii;function Ui(){var _0x2b00cc=_0x40e481;return ii||(ii=0x1,function(_0x4639bf,_0x2ab41e){(function(_0x5147b4,_0x1efb01,_0x4e7338){var _0x110673=_0x1459;_0x4639bf[_0x110673(0x363)]=_0x1efb01(ie(),Rs(),ys());}(Os,function(_0x5ed97d){var _0x21c787=_0x1459;return(function(){var _0x32a508=_0x1459,_0x44bdd2=_0x5ed97d,_0x16747c=_0x44bdd2[_0x32a508(0x22f)],_0x4fdc41=_0x16747c[_0x32a508(0x1ff)],_0x274d67=_0x16747c[_0x32a508(0x260)],_0x5a6dde=_0x44bdd2[_0x32a508(0x15d)],_0x3adfb7=_0x5a6dde[_0x32a508(0x1d1)],_0x32a7e9=_0x5a6dde[_0x32a508(0x34e)]=_0x4fdc41[_0x32a508(0x3c0)]({'cfg':_0x4fdc41[_0x32a508(0x3c0)]({'keySize':0x80/0x20,'hasher':_0x3adfb7,'iterations':0x1}),'init':function(_0x32c96b){var _0x14c8e8=_0x32a508;this[_0x14c8e8(0x27f)]=this[_0x14c8e8(0x27f)][_0x14c8e8(0x3c0)](_0x32c96b);},'compute':function(_0xc38c38,_0x1055c4){var _0x2bb510=_0x32a508;for(var _0x1aff61,_0x3dc49f=this[_0x2bb510(0x27f)],_0x4306b9=_0x3dc49f['hasher'][_0x2bb510(0x1d2)](),_0x1d9951=_0x274d67[_0x2bb510(0x1d2)](),_0x3238cd=_0x1d9951[_0x2bb510(0xfe)],_0x4711ae=_0x3dc49f['keySize'],_0x2f1c83=_0x3dc49f[_0x2bb510(0x3d2)];_0x3238cd[_0x2bb510(0x299)]<_0x4711ae;){_0x1aff61&&_0x4306b9[_0x2bb510(0x2c9)](_0x1aff61),_0x1aff61=_0x4306b9[_0x2bb510(0x2c9)](_0xc38c38)[_0x2bb510(0x1f7)](_0x1055c4),_0x4306b9[_0x2bb510(0x376)]();for(var _0x53a6b1=0x1;_0x53a6b1<_0x2f1c83;_0x53a6b1++)_0x1aff61=_0x4306b9[_0x2bb510(0x1f7)](_0x1aff61),_0x4306b9[_0x2bb510(0x376)]();_0x1d9951[_0x2bb510(0x387)](_0x1aff61);}return _0x1d9951[_0x2bb510(0x360)]=_0x4711ae*0x4,_0x1d9951;}});_0x44bdd2[_0x32a508(0x34e)]=function(_0x411884,_0x5d02e2,_0x5e27b8){var _0x494ba0=_0x32a508;return _0x32a7e9[_0x494ba0(0x1d2)](_0x5e27b8)[_0x494ba0(0x139)](_0x411884,_0x5d02e2);};}()),_0x5ed97d[_0x21c787(0x34e)];}));}(Ye)),Ye[_0x2b00cc(0x363)];}var Je={'exports':{}},Ns=Je[_0x40e481(0x363)],ni;function Ai(){var _0x419ee7=_0x40e481;return ni||(ni=0x1,function(_0x4583b8,_0x270794){(function(_0x26b6da,_0x1db550,_0x2a099e){var _0x4dd6b4=_0x1459;_0x4583b8[_0x4dd6b4(0x363)]=_0x1db550(ie(),Ui());}(Ns,function(_0x503100){var _0xcfc360=_0x1459;_0x503100['lib'][_0xcfc360(0x16b)]||function(_0x13cf7e){var _0xdd61b0=_0xcfc360,_0x41173c=_0x503100,_0x56cd27=_0x41173c['lib'],_0x2fd4fd=_0x56cd27[_0xdd61b0(0x1ff)],_0x5baa5f=_0x56cd27[_0xdd61b0(0x260)],_0xacfc57=_0x56cd27['BufferedBlockAlgorithm'],_0x2f0d8c=_0x41173c[_0xdd61b0(0x153)];_0x2f0d8c[_0xdd61b0(0x16f)];var _0x36082a=_0x2f0d8c[_0xdd61b0(0x2d9)],_0x35d521=_0x41173c[_0xdd61b0(0x15d)],_0x1982c1=_0x35d521[_0xdd61b0(0x34e)],_0x34f2d3=_0x56cd27[_0xdd61b0(0x16b)]=_0xacfc57['extend']({'cfg':_0x2fd4fd[_0xdd61b0(0x3c0)](),'createEncryptor':function(_0x534ce3,_0x23d9d0){var _0xf9c5c5=_0xdd61b0;return this[_0xf9c5c5(0x1d2)](this[_0xf9c5c5(0x1af)],_0x534ce3,_0x23d9d0);},'createDecryptor':function(_0x45f4ad,_0x5266c1){var _0x59487d=_0xdd61b0;return this['create'](this[_0x59487d(0x1db)],_0x45f4ad,_0x5266c1);},'init':function(_0x127faf,_0xe96e0f,_0x48b3c8){var _0x3c6578=_0xdd61b0;this[_0x3c6578(0x27f)]=this['cfg'][_0x3c6578(0x3c0)](_0x48b3c8),this[_0x3c6578(0x27a)]=_0x127faf,this[_0x3c6578(0x22e)]=_0xe96e0f,this[_0x3c6578(0x376)]();},'reset':function(){var _0x4ccf7e=_0xdd61b0;_0xacfc57['reset'][_0x4ccf7e(0x20b)](this),this[_0x4ccf7e(0x3b1)]();},'process':function(_0x4c6baf){var _0x14c22b=_0xdd61b0;return this[_0x14c22b(0x36a)](_0x4c6baf),this['_process']();},'finalize':function(_0x36a4e6){_0x36a4e6&&this['_append'](_0x36a4e6);var _0x30ac10=this['_doFinalize']();return _0x30ac10;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b1d79(_0x1eac98){var _0x39f4c5=_0x1459;return typeof _0x1eac98==_0x39f4c5(0x26e)?_0x47aeaf:_0x346df9;}return function(_0x3d26ed){return{'encrypt':function(_0x14c79c,_0x5374dc,_0xd15184){return _0x1b1d79(_0x5374dc)['encrypt'](_0x3d26ed,_0x14c79c,_0x5374dc,_0xd15184);},'decrypt':function(_0x368805,_0x17026a,_0x37a4a6){var _0x8f6358=_0x1459;return _0x1b1d79(_0x17026a)[_0x8f6358(0x235)](_0x3d26ed,_0x368805,_0x17026a,_0x37a4a6);}};};}())});_0x56cd27[_0xdd61b0(0x23a)]=_0x34f2d3[_0xdd61b0(0x3c0)]({'_doFinalize':function(){var _0x1a7f6a=this['_process'](!0x0);return _0x1a7f6a;},'blockSize':0x1});var _0x1bddee=_0x41173c['mode']={},_0x49c48f=_0x56cd27['BlockCipherMode']=_0x2fd4fd[_0xdd61b0(0x3c0)]({'createEncryptor':function(_0x106a59,_0x221c7c){var _0x22a69d=_0xdd61b0;return this['Encryptor'][_0x22a69d(0x1d2)](_0x106a59,_0x221c7c);},'createDecryptor':function(_0x37d632,_0x26ad91){var _0x32c7de=_0xdd61b0;return this[_0x32c7de(0x31f)][_0x32c7de(0x1d2)](_0x37d632,_0x26ad91);},'init':function(_0x11ee22,_0x26822e){this['_cipher']=_0x11ee22,this['_iv']=_0x26822e;}}),_0x109c66=_0x1bddee['CBC']=(function(){var _0x52d6e6=_0xdd61b0,_0x17c0c2=_0x49c48f['extend']();_0x17c0c2[_0x52d6e6(0x1fe)]=_0x17c0c2[_0x52d6e6(0x3c0)]({'processBlock':function(_0xba578b,_0x563270){var _0x5ed12e=_0x52d6e6,_0x49ad07=this[_0x5ed12e(0x242)],_0x1fad44=_0x49ad07['blockSize'];_0xce13d4[_0x5ed12e(0x20b)](this,_0xba578b,_0x563270,_0x1fad44),_0x49ad07[_0x5ed12e(0x398)](_0xba578b,_0x563270),this[_0x5ed12e(0x199)]=_0xba578b[_0x5ed12e(0x238)](_0x563270,_0x563270+_0x1fad44);}}),_0x17c0c2[_0x52d6e6(0x31f)]=_0x17c0c2[_0x52d6e6(0x3c0)]({'processBlock':function(_0x2aeaa5,_0x25718a){var _0x15b1c1=_0x52d6e6,_0x2a8b9a=this[_0x15b1c1(0x242)],_0x4f98bd=_0x2a8b9a['blockSize'],_0x5bebd1=_0x2aeaa5['slice'](_0x25718a,_0x25718a+_0x4f98bd);_0x2a8b9a['decryptBlock'](_0x2aeaa5,_0x25718a),_0xce13d4[_0x15b1c1(0x20b)](this,_0x2aeaa5,_0x25718a,_0x4f98bd),this[_0x15b1c1(0x199)]=_0x5bebd1;}});function _0xce13d4(_0x40478a,_0xeebb5c,_0x5bf57a){var _0x100e45=_0x52d6e6,_0x1ff941,_0x5db118=this[_0x100e45(0x10c)];_0x5db118?(_0x1ff941=_0x5db118,this['_iv']=_0x13cf7e):_0x1ff941=this[_0x100e45(0x199)];for(var _0x1dae40=0x0;_0x1dae40<_0x5bf57a;_0x1dae40++)_0x40478a[_0xeebb5c+_0x1dae40]^=_0x1ff941[_0x1dae40];}return _0x17c0c2;}()),_0x10d713=_0x41173c[_0xdd61b0(0x1b6)]={},_0x104f55=_0x10d713[_0xdd61b0(0x254)]={'pad':function(_0x39d23f,_0x3a8e26){var _0x4703cf=_0xdd61b0;for(var _0xa5a3d8=_0x3a8e26*0x4,_0x516b48=_0xa5a3d8-_0x39d23f['sigBytes']%_0xa5a3d8,_0x2e3f2=_0x516b48<<0x18|_0x516b48<<0x10|_0x516b48<<0x8|_0x516b48,_0x170202=[],_0x552a89=0x0;_0x552a89<_0x516b48;_0x552a89+=0x4)_0x170202[_0x4703cf(0xeb)](_0x2e3f2);var _0x23b240=_0x5baa5f[_0x4703cf(0x1d2)](_0x170202,_0x516b48);_0x39d23f['concat'](_0x23b240);},'unpad':function(_0x11a60c){var _0x15baec=_0xdd61b0,_0x9662e=_0x11a60c[_0x15baec(0xfe)][_0x11a60c[_0x15baec(0x360)]-0x1>>>0x2]&0xff;_0x11a60c[_0x15baec(0x360)]-=_0x9662e;}};_0x56cd27[_0xdd61b0(0x14c)]=_0x34f2d3[_0xdd61b0(0x3c0)]({'cfg':_0x34f2d3[_0xdd61b0(0x27f)]['extend']({'mode':_0x109c66,'padding':_0x104f55}),'reset':function(){var _0x4cb784=_0xdd61b0,_0x17611f;_0x34f2d3[_0x4cb784(0x376)][_0x4cb784(0x20b)](this);var _0x17b90a=this['cfg'],_0x19dfaf=_0x17b90a['iv'],_0x570017=_0x17b90a['mode'];this[_0x4cb784(0x27a)]==this[_0x4cb784(0x1af)]?_0x17611f=_0x570017[_0x4cb784(0x160)]:(_0x17611f=_0x570017[_0x4cb784(0x366)],this[_0x4cb784(0x2b3)]=0x1),this['_mode']&&this[_0x4cb784(0x26a)][_0x4cb784(0x38e)]==_0x17611f?this[_0x4cb784(0x26a)][_0x4cb784(0x127)](this,_0x19dfaf&&_0x19dfaf[_0x4cb784(0xfe)]):(this[_0x4cb784(0x26a)]=_0x17611f['call'](_0x570017,this,_0x19dfaf&&_0x19dfaf[_0x4cb784(0xfe)]),this[_0x4cb784(0x26a)][_0x4cb784(0x38e)]=_0x17611f);},'_doProcessBlock':function(_0x435ebb,_0x40ee3f){var _0x13adc0=_0xdd61b0;this[_0x13adc0(0x26a)][_0x13adc0(0x27d)](_0x435ebb,_0x40ee3f);},'_doFinalize':function(){var _0x158a30=_0xdd61b0,_0x447784,_0x27ac0c=this[_0x158a30(0x27f)]['padding'];return this['_xformMode']==this[_0x158a30(0x1af)]?(_0x27ac0c[_0x158a30(0x1b6)](this[_0x158a30(0x29d)],this[_0x158a30(0x2ea)]),_0x447784=this[_0x158a30(0x231)](!0x0)):(_0x447784=this[_0x158a30(0x231)](!0x0),_0x27ac0c[_0x158a30(0x338)](_0x447784)),_0x447784;},'blockSize':0x80/0x20});var _0x20bdbd=_0x56cd27['CipherParams']=_0x2fd4fd[_0xdd61b0(0x3c0)]({'init':function(_0x5d75a3){this['mixIn'](_0x5d75a3);},'toString':function(_0x196e4f){var _0x1500f0=_0xdd61b0;return(_0x196e4f||this[_0x1500f0(0x1ce)])[_0x1500f0(0x353)](this);}}),_0x240b18=_0x41173c[_0xdd61b0(0x1c7)]={},_0xae6f82=_0x240b18[_0xdd61b0(0x222)]={'stringify':function(_0x5bfddb){var _0x3bfd5d=_0xdd61b0,_0x2cefff,_0x34bc1c=_0x5bfddb['ciphertext'],_0x422827=_0x5bfddb[_0x3bfd5d(0x272)];return _0x422827?_0x2cefff=_0x5baa5f[_0x3bfd5d(0x1d2)]([0x53616c74,0x65645f5f])[_0x3bfd5d(0x387)](_0x422827)['concat'](_0x34bc1c):_0x2cefff=_0x34bc1c,_0x2cefff['toString'](_0x36082a);},'parse':function(_0x5f76e6){var _0x1e648a=_0xdd61b0,_0x46134d,_0x1466d3=_0x36082a[_0x1e648a(0x2e4)](_0x5f76e6),_0x1878a6=_0x1466d3[_0x1e648a(0xfe)];return _0x1878a6[0x0]==0x53616c74&&_0x1878a6[0x1]==0x65645f5f&&(_0x46134d=_0x5baa5f[_0x1e648a(0x1d2)](_0x1878a6[_0x1e648a(0x238)](0x2,0x4)),_0x1878a6[_0x1e648a(0x323)](0x0,0x4),_0x1466d3[_0x1e648a(0x360)]-=0x10),_0x20bdbd['create']({'ciphertext':_0x1466d3,'salt':_0x46134d});}},_0x346df9=_0x56cd27[_0xdd61b0(0xf8)]=_0x2fd4fd[_0xdd61b0(0x3c0)]({'cfg':_0x2fd4fd[_0xdd61b0(0x3c0)]({'format':_0xae6f82}),'encrypt':function(_0x3892a4,_0x2e843f,_0x655a60,_0x22b5f6){var _0x109c19=_0xdd61b0;_0x22b5f6=this[_0x109c19(0x27f)][_0x109c19(0x3c0)](_0x22b5f6);var _0x16bcac=_0x3892a4[_0x109c19(0x160)](_0x655a60,_0x22b5f6),_0x1dc7c3=_0x16bcac['finalize'](_0x2e843f),_0x29eece=_0x16bcac[_0x109c19(0x27f)];return _0x20bdbd[_0x109c19(0x1d2)]({'ciphertext':_0x1dc7c3,'key':_0x655a60,'iv':_0x29eece['iv'],'algorithm':_0x3892a4,'mode':_0x29eece['mode'],'padding':_0x29eece['padding'],'blockSize':_0x3892a4[_0x109c19(0x2ea)],'formatter':_0x22b5f6[_0x109c19(0x1c7)]});},'decrypt':function(_0xb78386,_0x57f9ac,_0x2fdac5,_0x349053){var _0xd39dd8=_0xdd61b0;_0x349053=this[_0xd39dd8(0x27f)][_0xd39dd8(0x3c0)](_0x349053),_0x57f9ac=this[_0xd39dd8(0x39d)](_0x57f9ac,_0x349053[_0xd39dd8(0x1c7)]);var _0x526762=_0xb78386['createDecryptor'](_0x2fdac5,_0x349053)['finalize'](_0x57f9ac['ciphertext']);return _0x526762;},'_parse':function(_0x402e25,_0x585dd7){var _0x486df2=_0xdd61b0;return typeof _0x402e25==_0x486df2(0x26e)?_0x585dd7[_0x486df2(0x2e4)](_0x402e25,this):_0x402e25;}}),_0x394b68=_0x41173c[_0xdd61b0(0x1e0)]={},_0x31c135=_0x394b68[_0xdd61b0(0x222)]={'execute':function(_0x533f92,_0x317b5a,_0x3025a8,_0x12cd3b,_0x2b565c){var _0x3ba4b1=_0xdd61b0;if(_0x12cd3b||(_0x12cd3b=_0x5baa5f['random'](0x40/0x8)),_0x2b565c)var _0x530bc1=_0x1982c1[_0x3ba4b1(0x1d2)]({'keySize':_0x317b5a+_0x3025a8,'hasher':_0x2b565c})['compute'](_0x533f92,_0x12cd3b);else var _0x530bc1=_0x1982c1[_0x3ba4b1(0x1d2)]({'keySize':_0x317b5a+_0x3025a8})[_0x3ba4b1(0x139)](_0x533f92,_0x12cd3b);var _0x5a91a7=_0x5baa5f['create'](_0x530bc1['words'][_0x3ba4b1(0x238)](_0x317b5a),_0x3025a8*0x4);return _0x530bc1['sigBytes']=_0x317b5a*0x4,_0x20bdbd[_0x3ba4b1(0x1d2)]({'key':_0x530bc1,'iv':_0x5a91a7,'salt':_0x12cd3b});}},_0x47aeaf=_0x56cd27[_0xdd61b0(0x3d1)]=_0x346df9[_0xdd61b0(0x3c0)]({'cfg':_0x346df9[_0xdd61b0(0x27f)]['extend']({'kdf':_0x31c135}),'encrypt':function(_0x566ddb,_0x5e2d44,_0x3ced88,_0x5f36c9){var _0x5fb0a5=_0xdd61b0;_0x5f36c9=this[_0x5fb0a5(0x27f)]['extend'](_0x5f36c9);var _0x4e9dd0=_0x5f36c9[_0x5fb0a5(0x1e0)]['execute'](_0x3ced88,_0x566ddb['keySize'],_0x566ddb[_0x5fb0a5(0x2ec)],_0x5f36c9[_0x5fb0a5(0x272)],_0x5f36c9[_0x5fb0a5(0x36f)]);_0x5f36c9['iv']=_0x4e9dd0['iv'];var _0x3fe462=_0x346df9[_0x5fb0a5(0x3c1)][_0x5fb0a5(0x20b)](this,_0x566ddb,_0x5e2d44,_0x4e9dd0[_0x5fb0a5(0x2f3)],_0x5f36c9);return _0x3fe462['mixIn'](_0x4e9dd0),_0x3fe462;},'decrypt':function(_0x4b5eb5,_0x413fd1,_0x4515b6,_0xb724c4){var _0x30dfca=_0xdd61b0;_0xb724c4=this[_0x30dfca(0x27f)]['extend'](_0xb724c4),_0x413fd1=this[_0x30dfca(0x39d)](_0x413fd1,_0xb724c4[_0x30dfca(0x1c7)]);var _0x282670=_0xb724c4[_0x30dfca(0x1e0)][_0x30dfca(0x3be)](_0x4515b6,_0x4b5eb5[_0x30dfca(0x3bd)],_0x4b5eb5[_0x30dfca(0x2ec)],_0x413fd1[_0x30dfca(0x272)],_0xb724c4[_0x30dfca(0x36f)]);_0xb724c4['iv']=_0x282670['iv'];var _0xa33cd0=_0x346df9[_0x30dfca(0x235)]['call'](this,_0x4b5eb5,_0x413fd1,_0x282670[_0x30dfca(0x2f3)],_0xb724c4);return _0xa33cd0;}});}();}));}(Je)),Je[_0x419ee7(0x363)];}var Ds=Ve['exports'],si;function Us(){var _0x25f5cc=_0x40e481;return si||(si=0x1,function(_0x1b2e90,_0x4ea11b){(function(_0x27105d,_0x3355c3,_0x18e74c){var _0x3192c7=_0x1459;_0x1b2e90[_0x3192c7(0x363)]=_0x3355c3(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x5cf7e9){return(function(){var _0x42b64c=_0x1459,_0x21bf93=_0x5cf7e9,_0x4c48a1=_0x21bf93['lib'],_0x56e048=_0x4c48a1[_0x42b64c(0x14c)],_0x4e6a1b=_0x21bf93[_0x42b64c(0x15d)],_0x42b48a=[],_0x400bc0=[],_0x3cad78=[],_0x3d5096=[],_0x39cb91=[],_0x1c4c86=[],_0x2db74c=[],_0x2a092f=[],_0xd6aa2a=[],_0x2e1e7d=[];(function(){for(var _0x2d4f9c=[],_0x34d5df=0x0;_0x34d5df<0x100;_0x34d5df++)_0x34d5df<0x80?_0x2d4f9c[_0x34d5df]=_0x34d5df<<0x1:_0x2d4f9c[_0x34d5df]=_0x34d5df<<0x1^0x11b;for(var _0xe050bf=0x0,_0x5bbd96=0x0,_0x34d5df=0x0;_0x34d5df<0x100;_0x34d5df++){var _0x45b80e=_0x5bbd96^_0x5bbd96<<0x1^_0x5bbd96<<0x2^_0x5bbd96<<0x3^_0x5bbd96<<0x4;_0x45b80e=_0x45b80e>>>0x8^_0x45b80e&0xff^0x63,_0x42b48a[_0xe050bf]=_0x45b80e,_0x400bc0[_0x45b80e]=_0xe050bf;var _0x516642=_0x2d4f9c[_0xe050bf],_0x6700f1=_0x2d4f9c[_0x516642],_0x1e5f1e=_0x2d4f9c[_0x6700f1],_0x1b9660=_0x2d4f9c[_0x45b80e]*0x101^_0x45b80e*0x1010100;_0x3cad78[_0xe050bf]=_0x1b9660<<0x18|_0x1b9660>>>0x8,_0x3d5096[_0xe050bf]=_0x1b9660<<0x10|_0x1b9660>>>0x10,_0x39cb91[_0xe050bf]=_0x1b9660<<0x8|_0x1b9660>>>0x18,_0x1c4c86[_0xe050bf]=_0x1b9660;var _0x1b9660=_0x1e5f1e*0x1010101^_0x6700f1*0x10001^_0x516642*0x101^_0xe050bf*0x1010100;_0x2db74c[_0x45b80e]=_0x1b9660<<0x18|_0x1b9660>>>0x8,_0x2a092f[_0x45b80e]=_0x1b9660<<0x10|_0x1b9660>>>0x10,_0xd6aa2a[_0x45b80e]=_0x1b9660<<0x8|_0x1b9660>>>0x18,_0x2e1e7d[_0x45b80e]=_0x1b9660,_0xe050bf?(_0xe050bf=_0x516642^_0x2d4f9c[_0x2d4f9c[_0x2d4f9c[_0x1e5f1e^_0x516642]]],_0x5bbd96^=_0x2d4f9c[_0x2d4f9c[_0x5bbd96]]):_0xe050bf=_0x5bbd96=0x1;}}());var _0x47718a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3bccac=_0x4e6a1b[_0x42b64c(0x3b2)]=_0x56e048[_0x42b64c(0x3c0)]({'_doReset':function(){var _0x4ebcc5=_0x42b64c,_0x5d9b52;if(!(this[_0x4ebcc5(0x22c)]&&this[_0x4ebcc5(0x2cd)]===this[_0x4ebcc5(0x22e)])){for(var _0x2d799e=this['_keyPriorReset']=this['_key'],_0x23c7f8=_0x2d799e[_0x4ebcc5(0xfe)],_0x44d8e3=_0x2d799e[_0x4ebcc5(0x360)]/0x4,_0x4d03dc=this[_0x4ebcc5(0x22c)]=_0x44d8e3+0x6,_0x255b1b=(_0x4d03dc+0x1)*0x4,_0x168802=this['_keySchedule']=[],_0x223084=0x0;_0x223084<_0x255b1b;_0x223084++)_0x223084<_0x44d8e3?_0x168802[_0x223084]=_0x23c7f8[_0x223084]:(_0x5d9b52=_0x168802[_0x223084-0x1],_0x223084%_0x44d8e3?_0x44d8e3>0x6&&_0x223084%_0x44d8e3==0x4&&(_0x5d9b52=_0x42b48a[_0x5d9b52>>>0x18]<<0x18|_0x42b48a[_0x5d9b52>>>0x10&0xff]<<0x10|_0x42b48a[_0x5d9b52>>>0x8&0xff]<<0x8|_0x42b48a[_0x5d9b52&0xff]):(_0x5d9b52=_0x5d9b52<<0x8|_0x5d9b52>>>0x18,_0x5d9b52=_0x42b48a[_0x5d9b52>>>0x18]<<0x18|_0x42b48a[_0x5d9b52>>>0x10&0xff]<<0x10|_0x42b48a[_0x5d9b52>>>0x8&0xff]<<0x8|_0x42b48a[_0x5d9b52&0xff],_0x5d9b52^=_0x47718a[_0x223084/_0x44d8e3|0x0]<<0x18),_0x168802[_0x223084]=_0x168802[_0x223084-_0x44d8e3]^_0x5d9b52);for(var _0x25fdbd=this[_0x4ebcc5(0x340)]=[],_0x3aa9c8=0x0;_0x3aa9c8<_0x255b1b;_0x3aa9c8++){var _0x223084=_0x255b1b-_0x3aa9c8;if(_0x3aa9c8%0x4)var _0x5d9b52=_0x168802[_0x223084];else var _0x5d9b52=_0x168802[_0x223084-0x4];_0x3aa9c8<0x4||_0x223084<=0x4?_0x25fdbd[_0x3aa9c8]=_0x5d9b52:_0x25fdbd[_0x3aa9c8]=_0x2db74c[_0x42b48a[_0x5d9b52>>>0x18]]^_0x2a092f[_0x42b48a[_0x5d9b52>>>0x10&0xff]]^_0xd6aa2a[_0x42b48a[_0x5d9b52>>>0x8&0xff]]^_0x2e1e7d[_0x42b48a[_0x5d9b52&0xff]];}}},'encryptBlock':function(_0x34bbf1,_0xd720f4){var _0x303d17=_0x42b64c;this[_0x303d17(0x143)](_0x34bbf1,_0xd720f4,this[_0x303d17(0x3dc)],_0x3cad78,_0x3d5096,_0x39cb91,_0x1c4c86,_0x42b48a);},'decryptBlock':function(_0xf29ba6,_0x388194){var _0xba097e=_0x42b64c,_0x207a2e=_0xf29ba6[_0x388194+0x1];_0xf29ba6[_0x388194+0x1]=_0xf29ba6[_0x388194+0x3],_0xf29ba6[_0x388194+0x3]=_0x207a2e,this[_0xba097e(0x143)](_0xf29ba6,_0x388194,this[_0xba097e(0x340)],_0x2db74c,_0x2a092f,_0xd6aa2a,_0x2e1e7d,_0x400bc0);var _0x207a2e=_0xf29ba6[_0x388194+0x1];_0xf29ba6[_0x388194+0x1]=_0xf29ba6[_0x388194+0x3],_0xf29ba6[_0x388194+0x3]=_0x207a2e;},'_doCryptBlock':function(_0x24e3c2,_0x4e7a16,_0x4cd5c1,_0x4ccf22,_0x53bb78,_0x18e45c,_0xa494fc,_0x102499){var _0x5728f5=_0x42b64c;for(var _0x221767=this[_0x5728f5(0x22c)],_0x5ef636=_0x24e3c2[_0x4e7a16]^_0x4cd5c1[0x0],_0x4f4160=_0x24e3c2[_0x4e7a16+0x1]^_0x4cd5c1[0x1],_0x47b718=_0x24e3c2[_0x4e7a16+0x2]^_0x4cd5c1[0x2],_0x55614d=_0x24e3c2[_0x4e7a16+0x3]^_0x4cd5c1[0x3],_0x4dcc3d=0x4,_0x30e44f=0x1;_0x30e44f<_0x221767;_0x30e44f++){var _0x57ca5c=_0x4ccf22[_0x5ef636>>>0x18]^_0x53bb78[_0x4f4160>>>0x10&0xff]^_0x18e45c[_0x47b718>>>0x8&0xff]^_0xa494fc[_0x55614d&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x3bb802=_0x4ccf22[_0x4f4160>>>0x18]^_0x53bb78[_0x47b718>>>0x10&0xff]^_0x18e45c[_0x55614d>>>0x8&0xff]^_0xa494fc[_0x5ef636&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x332226=_0x4ccf22[_0x47b718>>>0x18]^_0x53bb78[_0x55614d>>>0x10&0xff]^_0x18e45c[_0x5ef636>>>0x8&0xff]^_0xa494fc[_0x4f4160&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x33121b=_0x4ccf22[_0x55614d>>>0x18]^_0x53bb78[_0x5ef636>>>0x10&0xff]^_0x18e45c[_0x4f4160>>>0x8&0xff]^_0xa494fc[_0x47b718&0xff]^_0x4cd5c1[_0x4dcc3d++];_0x5ef636=_0x57ca5c,_0x4f4160=_0x3bb802,_0x47b718=_0x332226,_0x55614d=_0x33121b;}var _0x57ca5c=(_0x102499[_0x5ef636>>>0x18]<<0x18|_0x102499[_0x4f4160>>>0x10&0xff]<<0x10|_0x102499[_0x47b718>>>0x8&0xff]<<0x8|_0x102499[_0x55614d&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x3bb802=(_0x102499[_0x4f4160>>>0x18]<<0x18|_0x102499[_0x47b718>>>0x10&0xff]<<0x10|_0x102499[_0x55614d>>>0x8&0xff]<<0x8|_0x102499[_0x5ef636&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x332226=(_0x102499[_0x47b718>>>0x18]<<0x18|_0x102499[_0x55614d>>>0x10&0xff]<<0x10|_0x102499[_0x5ef636>>>0x8&0xff]<<0x8|_0x102499[_0x4f4160&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x33121b=(_0x102499[_0x55614d>>>0x18]<<0x18|_0x102499[_0x5ef636>>>0x10&0xff]<<0x10|_0x102499[_0x4f4160>>>0x8&0xff]<<0x8|_0x102499[_0x47b718&0xff])^_0x4cd5c1[_0x4dcc3d++];_0x24e3c2[_0x4e7a16]=_0x57ca5c,_0x24e3c2[_0x4e7a16+0x1]=_0x3bb802,_0x24e3c2[_0x4e7a16+0x2]=_0x332226,_0x24e3c2[_0x4e7a16+0x3]=_0x33121b;},'keySize':0x100/0x20});_0x21bf93[_0x42b64c(0x3b2)]=_0x56e048['_createHelper'](_0x3bccac);}()),_0x5cf7e9['AES'];}));}(Ve)),Ve[_0x25f5cc(0x363)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0x50a78c=_0x40e481;return ai||(ai=0x1,function(_0x2837c8,_0x542e28){(function(_0x2ec8af,_0x5df1a5){var _0x2b34f8=_0x1459;_0x2837c8[_0x2b34f8(0x363)]=_0x5df1a5(ie());}(Ls,function(_0x27fd9f){var _0x436a1b=_0x1459;return _0x27fd9f[_0x436a1b(0x153)][_0x436a1b(0x16f)];}));}(Xe)),Xe[_0x50a78c(0x363)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x40e481(0x363)],oi;function Hs(){var _0x56a769=_0x40e481;return oi||(oi=0x1,function(_0x2c1f94,_0x2e034e){(function(_0x22264a,_0x5eece0){var _0x201c3a=_0x1459;_0x2c1f94[_0x201c3a(0x363)]=_0x5eece0(ie());}($s,function(_0x15a2a4){var _0x7adc92=_0x1459;return(function(){var _0x1488b0=_0x1459;if(typeof ArrayBuffer==_0x1488b0(0x171)){var _0x3e990f=_0x15a2a4,_0x21dedb=_0x3e990f[_0x1488b0(0x22f)],_0x55e64f=_0x21dedb[_0x1488b0(0x260)],_0x719546=_0x55e64f[_0x1488b0(0x127)],_0x43059f=_0x55e64f[_0x1488b0(0x127)]=function(_0x566e1c){var _0xa94a6d=_0x1488b0;if(_0x566e1c instanceof ArrayBuffer&&(_0x566e1c=new Uint8Array(_0x566e1c)),(_0x566e1c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x566e1c instanceof Uint8ClampedArray||_0x566e1c instanceof Int16Array||_0x566e1c instanceof Uint16Array||_0x566e1c instanceof Int32Array||_0x566e1c instanceof Uint32Array||_0x566e1c instanceof Float32Array||_0x566e1c instanceof Float64Array)&&(_0x566e1c=new Uint8Array(_0x566e1c[_0xa94a6d(0x348)],_0x566e1c[_0xa94a6d(0x236)],_0x566e1c[_0xa94a6d(0x33c)])),_0x566e1c instanceof Uint8Array){for(var _0x546cbc=_0x566e1c[_0xa94a6d(0x33c)],_0x3ded41=[],_0x4f3641=0x0;_0x4f3641<_0x546cbc;_0x4f3641++)_0x3ded41[_0x4f3641>>>0x2]|=_0x566e1c[_0x4f3641]<<0x18-_0x4f3641%0x4*0x8;_0x719546[_0xa94a6d(0x20b)](this,_0x3ded41,_0x546cbc);}else _0x719546[_0xa94a6d(0x194)](this,arguments);};_0x43059f[_0x1488b0(0x30b)]=_0x55e64f;}}()),_0x15a2a4['lib'][_0x7adc92(0x260)];}));}(Ze)),Ze[_0x56a769(0x363)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x40e481(0x363)],ci;function Vs(){var _0x30111c=_0x40e481;return ci||(ci=0x1,function(_0x24f40b,_0x42eecd){(function(_0x1599d3,_0x9b373,_0x2ba443){_0x24f40b['exports']=_0x9b373(ie(),Ai());}(Fs,function(_0x10a3d2){var _0x402d9d=_0x1459;return _0x10a3d2[_0x402d9d(0x1b6)][_0x402d9d(0xec)]={'pad':function(){},'unpad':function(){}},_0x10a3d2[_0x402d9d(0x1b6)]['NoPadding'];}));}(Qe)),Qe[_0x30111c(0x363)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x4413fb,_0x3bd8f7){var _0x53bb66=_0x40e481;const _0x249b48=_0x3bd8f7-_0x4413fb['length']%_0x3bd8f7,_0x36f73c=String[_0x53bb66(0x1b0)](_0x249b48)[_0x53bb66(0x2e7)](_0x249b48);return _0x4413fb+_0x36f73c;}function Ys(_0x1ea0df,_0x4e6a38){var _0xf418d7=_0x40e481;const _0x4ab760=js[_0xf418d7(0x37f)](0x10),_0x3ae079=Ks(_0x1ea0df,0x10),_0x1adeac=ws[_0xf418d7(0x3c1)](ks[_0xf418d7(0x2e4)](_0x3ae079),ri['parse'](_0x4e6a38),{'iv':_0x4ab760,'padding':Ws});return _0x4ab760['concat'](_0x1adeac['ciphertext'])[_0xf418d7(0x3ba)](ri);}function qs(){var _0x2b200b=_0x40e481;const _0x2e6edb=_0x32cfe3()[_0x2b200b(0x305)];if(_0x2e6edb){const _0xfdcdcd={'time':Math['floor'](Date[_0x2b200b(0x32d)]()/0x3e8),'domain':location[_0x2b200b(0x2fe)]};return Ys(JSON[_0x2b200b(0x353)](_0xfdcdcd),_0x2e6edb);}}var zs=Object[_0x40e481(0x237)],Js=(_0x4aaa9a,_0x284b37,_0x1b5c1a,_0x1b763e)=>{var _0x16b2bc=_0x40e481;for(var _0x58cd1a=_0x1b763e>0x1?void 0x0:_0x1b763e?zs(_0x284b37,_0x1b5c1a):_0x284b37,_0xd211ec=_0x4aaa9a[_0x16b2bc(0x299)]-0x1,_0x5e730b;_0xd211ec>=0x0;_0xd211ec--)(_0x5e730b=_0x4aaa9a[_0xd211ec])&&(_0x58cd1a=_0x5e730b(_0x58cd1a)||_0x58cd1a);return _0x58cd1a;},Xs=(_0x386a9e,_0x3f86cf)=>(_0x376bc7,_0x5d68ed)=>_0x3f86cf(_0x376bc7,_0x5d68ed,_0x386a9e);let at=class{constructor(_0x5ddb25){var _0x43c125=_0x40e481;this[_0x43c125(0x15a)]=_0x5ddb25,this[_0x43c125(0x3c7)]();}['_initRequestHeader'](){var _0x16cc66=_0x40e481;this[_0x16cc66(0x15a)][_0x16cc66(0x2f1)]({'interceptor':(_0x16b16d,_0x400b6a)=>{var _0x35e64a=_0x16cc66;const _0x19d762=_0x16b16d[_0x35e64a(0x3c3)],_0x1d6aff=qs();return _0x1d6aff&&_0x19d762[_0x35e64a(0x38d)](_0x35e64a(0x345),_0x1d6aff),_0x400b6a(_0x16b16d);}});}};at=Js([Xs(0x0,_0x41febc(_0x30b709))],at);var Zs=Object[_0x40e481(0x237)],Qs=(_0x5d7419,_0x4631aa,_0x10ccda,_0x51bd9b)=>{var _0x4219bd=_0x40e481;for(var _0x59abda=_0x51bd9b>0x1?void 0x0:_0x51bd9b?Zs(_0x4631aa,_0x10ccda):_0x4631aa,_0x2d3778=_0x5d7419[_0x4219bd(0x299)]-0x1,_0x398fd2;_0x2d3778>=0x0;_0x2d3778--)(_0x398fd2=_0x5d7419[_0x2d3778])&&(_0x59abda=_0x398fd2(_0x59abda)||_0x59abda);return _0x59abda;},mt=(_0xe3b542,_0x5617d6)=>(_0x2b11bb,_0x5c2ae5)=>_0x5617d6(_0x2b11bb,_0x5c2ae5,_0xe3b542);let bt=class extends _0x2dee07{constructor(_0x10fee0,_0x57d488,_0x4121bb){var _0x15e180=_0x40e481;super(),N(this,_0x15e180(0x39c),new _0x21691d(null)),N(this,'unitInfo$',this[_0x15e180(0x39c)][_0x15e180(0x1b9)]()),(this[_0x15e180(0x13c)]=_0x10fee0,this[_0x15e180(0x2e0)]=_0x57d488,this[_0x15e180(0x336)]=_0x4121bb);}async['loadUnit'](_0x54f8e2,_0x15ba4d,_0xd96fdd){var _0x7f42b4=_0x40e481;this[_0x7f42b4(0x39c)]['next']({'unitId':_0x54f8e2,'type':_0x15ba4d,'subUnitId':_0xd96fdd});let _0x3e4758=null;switch(_0x15ba4d){case Q[_0x7f42b4(0x358)]:{_0x3e4758=await this['_loadSheet'](_0x54f8e2);break;}case Q[_0x7f42b4(0x316)]:{_0x3e4758=await this[_0x7f42b4(0x362)](_0x54f8e2);break;}default:{this['_logService'][_0x7f42b4(0x30a)](_0x7f42b4(0x343),_0x7f42b4(0x39b));break;}}return _0x3e4758;}async['_loadSheet'](_0x534822){var _0x2f5624=_0x40e481,_0x10b60c;let _0x2c1198=0x0;const _0x3ddb7a=await((_0x10b60c=this['_localCacheService'])==null?void 0x0:_0x10b60c['loadOfflineData'](_0x534822));return _0x3ddb7a&&(_0x3ddb7a[_0x2f5624(0x292)]||_0x3ddb7a[_0x2f5624(0x24d)][_0x2f5624(0x299)]!==0x0)&&(_0x2c1198=_0x3ddb7a[_0x2f5624(0x12a)]),_0x2c1198===0x0&&this[_0x2f5624(0x13c)]['debug'](_0x2f5624(0x343),_0x2f5624(0x133)),this[_0x2f5624(0x2e0)][_0x2f5624(0x320)](_0x534822,_0x2c1198);}async[_0x40e481(0x362)](_0xf0a583){var _0x4057a1=_0x40e481,_0x1dae60;let _0x38d5d7=0x0;const _0x5d2783=await((_0x1dae60=this[_0x4057a1(0x336)])==null?void 0x0:_0x1dae60['loadOfflineData'](_0xf0a583));return _0x5d2783&&(_0x5d2783[_0x4057a1(0x292)]||_0x5d2783['mutations'][_0x4057a1(0x299)]!==0x0)&&(_0x38d5d7=_0x5d2783['rev']),_0x38d5d7===0x0&&this['_logService'][_0x4057a1(0x21c)]('[DataLoaderService]',_0x4057a1(0x133)),this[_0x4057a1(0x2e0)][_0x4057a1(0x395)](_0xf0a583,_0x38d5d7);}};bt=Qs([mt(0x0,_0xcdb88),mt(0x1,_0x41febc(_0x163755)),mt(0x2,_0x397f30(J))],bt);var er=Object[_0x40e481(0x237)],tr=(_0x43a5f9,_0x535ad6,_0x1292e6,_0x49d086)=>{var _0x441fa9=_0x40e481;for(var _0x149438=_0x49d086>0x1?void 0x0:_0x49d086?er(_0x535ad6,_0x1292e6):_0x535ad6,_0x49ccaf=_0x43a5f9[_0x441fa9(0x299)]-0x1,_0x494fb1;_0x49ccaf>=0x0;_0x49ccaf--)(_0x494fb1=_0x43a5f9[_0x49ccaf])&&(_0x149438=_0x494fb1(_0x149438)||_0x149438);return _0x149438;},gt=(_0x239c06,_0x1eeb18)=>(_0x563664,_0x451355)=>_0x1eeb18(_0x563664,_0x451355,_0x239c06);const ir=[_0x40e481(0x322),_0x40e481(0x30e),_0x40e481(0x20c),_0x40e481(0x3b3),_0x40e481(0x11d)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x40e481(0x2cc),ar=_0x40e481(0x25a),or=_0x40e481(0x1e3);let yt=class{constructor(_0x33fab0,_0x180b7a,_0x2a8503){var _0x3ce25b=_0x40e481;N(this,_0x3ce25b(0x243),0x0),N(this,_0x3ce25b(0x354),new _0xba51b2()),N(this,'change$',this[_0x3ce25b(0x354)]),N(this,_0x3ce25b(0x1fc),new Map()),(this['_httpService']=_0x33fab0,this[_0x3ce25b(0x221)]=_0x180b7a,this[_0x3ce25b(0x18b)]=_0x2a8503);}['setWaitCount'](_0x3d43bd){var _0x2921e0=_0x40e481;this[_0x2921e0(0x243)]=_0x3d43bd,this[_0x2921e0(0x354)][_0x2921e0(0x377)](_0x3d43bd);}['getImageSourceCache'](_0x237d53,_0x11d523){var _0x224192=_0x40e481;if(_0x11d523===_0x45f636[_0x224192(0x371)]){const _0x318552=new Image();return _0x318552[_0x224192(0x3af)]=_0x237d53,_0x318552;}return this[_0x224192(0x1fc)][_0x224192(0x1da)](_0x237d53);}[_0x40e481(0x190)](_0x4ae8f7,_0x5d5255,_0x15245b){var _0x54a9a8=_0x40e481;_0x5d5255===_0x45f636[_0x54a9a8(0x371)]||_0x15245b==null||this[_0x54a9a8(0x1fc)][_0x54a9a8(0x38d)](_0x4ae8f7,_0x15245b);}async[_0x40e481(0x37c)](_0x4397ac){var _0x152452=_0x40e481;try{const _0x5b752f=this[_0x152452(0x3d9)](this['_getSignURL'](),''+_0x4397ac),_0x148432=(await this['_httpService'][_0x152452(0x1da)](_0x5b752f))[_0x152452(0x159)];if(_0x148432[_0x152452(0x30a)]&&_0x148432[_0x152452(0x30a)][_0x152452(0x313)]===Si['OK']){const _0x51ac2a=new URL(_0x148432[_0x152452(0x37e)],this[_0x152452(0x2db)]())[_0x152452(0x3ba)]();return Promise[_0x152452(0x1ea)](_0x51ac2a);}return Promise['reject'](_0x148432['error']);}catch(_0x4fb5a){return Promise['reject'](_0x4fb5a);}}async[_0x40e481(0x136)](_0x34bb46){var _0x5b4b45=_0x40e481;let _0x35106e='';if(!ir['includes'](_0x34bb46['type']))return this[_0x5b4b45(0x11c)](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9[_0x5b4b45(0x2c5)]));if(_0x34bb46['size']>nr)return this[_0x5b4b45(0x11c)](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9[_0x5b4b45(0x252)]));try{const _0x5274d2=new FormData();_0x5274d2[_0x5b4b45(0x287)](_0x5b4b45(0x10f),_0x34bb46);const _0x11c886=this[_0x5b4b45(0x18b)][_0x5b4b45(0x146)](),_0x387ec4=_0x11c886==null?void 0x0:_0x11c886['getUnitId']();if(!_0x387ec4)throw new Error(_0x5b4b45(0x226));const _0x1f553a=this[_0x5b4b45(0x215)]()+_0x5b4b45(0x34d)+_0x34bb46[_0x5b4b45(0x175)][_0x5b4b45(0x3ba)]()+_0x5b4b45(0x26d)+Ei['UnitEmbedded']+_0x5b4b45(0x350)+encodeURIComponent(_0x387ec4),_0x87d753=await(await fetch(_0x1f553a,{'method':_0x5b4b45(0x346),'body':_0x5274d2}))[_0x5b4b45(0x25e)]();if(typeof _0x87d753[_0x5b4b45(0x3ce)]!='string')return this['_decreaseWaiting'](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9['ERROR_IMAGE']));_0x35106e=_0x87d753[_0x5b4b45(0x3ce)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9['ERROR_IMAGE']));}return new Promise((_0x4e17a5,_0x463b7d)=>{var _0x1ac06e=_0x5b4b45;const _0xf5e0fc=new FileReader();_0xf5e0fc[_0x1ac06e(0x2e3)](_0x34bb46),_0xf5e0fc[_0x1ac06e(0x290)]=_0x35e1ae=>{var _0x2dd81f=_0x1ac06e,_0x4a3a57;const _0x21cdc1=(_0x4a3a57=_0x35e1ae['target'])==null?void 0x0:_0x4a3a57[_0x2dd81f(0x126)];if(_0x21cdc1==null){this[_0x2dd81f(0x11c)](),_0x463b7d(new Error(_0x31ebd9[_0x2dd81f(0x379)]));return;}const _0x1734e2=_0x456a73[_0x2dd81f(0x1e1)](0x6);_0x4e17a5({'imageId':_0x1734e2,'imageSourceType':_0x45f636[_0x2dd81f(0x24a)],'source':_0x35106e,'base64Cache':_0x21cdc1,'status':_0x31ebd9[_0x2dd81f(0x357)]}),this['_decreaseWaiting']();};});}[_0x40e481(0x215)](){var _0x162e68=_0x40e481,_0x11536a,_0x10311d;const _0x58cfec=this[_0x162e68(0x221)][_0x162e68(0x3da)](sr),_0x33533d=this[_0x162e68(0x221)][_0x162e68(0x3da)](q);return(_0x10311d=(_0x11536a=_0x33533d==null?void 0x0:_0x33533d[_0x162e68(0x27b)])!=null?_0x11536a:_0x58cfec)!=null?_0x10311d:rr;}[_0x40e481(0x1ab)](){var _0x436ed4=_0x40e481,_0x2ad8fc,_0x5c1d6d;const _0xa9b339=this[_0x436ed4(0x221)][_0x436ed4(0x3da)](ar),_0x2e83b2=this[_0x436ed4(0x221)][_0x436ed4(0x3da)](q);return(_0x5c1d6d=(_0x2ad8fc=_0x2e83b2==null?void 0x0:_0x2e83b2[_0x436ed4(0x248)])!=null?_0x2ad8fc:_0xa9b339)!=null?_0x5c1d6d:or;}[_0x40e481(0x2db)](){var _0x49d22d=_0x40e481,_0xb4a651;const _0x16d057=this[_0x49d22d(0x221)]['getConfig'](q);return(_0xb4a651=_0x16d057==null?void 0x0:_0x16d057[_0x49d22d(0x1b1)])!=null?_0xb4a651:location[_0x49d22d(0x2f9)];}[_0x40e481(0x3d9)](_0x2fbee4,_0x14a297){var _0x140edf=_0x40e481;return _0x2fbee4[_0x140edf(0x225)](_0x140edf(0x2a8),_0x14a297);}['_decreaseWaiting'](){var _0x35cd02=_0x40e481;this[_0x35cd02(0x243)]-=0x1,this[_0x35cd02(0x354)][_0x35cd02(0x377)](this[_0x35cd02(0x243)]);}};yt=tr([gt(0x0,_0x41febc(_0x30b709)),gt(0x1,_0x1356ee),gt(0x2,_0x41febc(_0x26a8c2))],yt);var cr=Object[_0x40e481(0x237)],hr=(_0xce77bd,_0x6812f0,_0x41bbde,_0x219fb5)=>{var _0x23dd70=_0x40e481;for(var _0x3d551c=_0x219fb5>0x1?void 0x0:_0x219fb5?cr(_0x6812f0,_0x41bbde):_0x6812f0,_0xdd454f=_0xce77bd[_0x23dd70(0x299)]-0x1,_0xd7c6e5;_0xdd454f>=0x0;_0xdd454f--)(_0xd7c6e5=_0xce77bd[_0xdd454f])&&(_0x3d551c=_0xd7c6e5(_0x3d551c)||_0x3d551c);return _0x3d551c;},hi=(_0x65cc77,_0xf7ebd4)=>(_0x182ab8,_0x5c47b9)=>_0xf7ebd4(_0x182ab8,_0x5c47b9,_0x65cc77);const _r=_0x40e481(0xea);let Ot=class{constructor(_0x1aabbb,_0x548621){var _0x226ee9=_0x40e481;this[_0x226ee9(0x221)]=_0x1aabbb,this[_0x226ee9(0x2c8)]=_0x548621;}[_0x40e481(0x19b)](){var _0x51aa42=_0x40e481,_0x45ae11,_0x4bd091;const _0x44acc9=this[_0x51aa42(0x221)][_0x51aa42(0x3da)](Ni),_0x5ce224=this['_configService']['getConfig'](q);return(_0x4bd091=(_0x45ae11=_0x5ce224==null?void 0x0:_0x5ce224[_0x51aa42(0x13e)])!=null?_0x45ae11:_0x44acc9)!=null?_0x4bd091:_r;}async['list'](_0x17d7df){var _0x37ed9a=_0x40e481;const _0x36e0eb=this['_getAPIPrefixPath']()+_0x37ed9a(0x3d3);return{'list':[{'title':_0x37ed9a(0xfc),'mentions':(await this[_0x37ed9a(0x2c8)]['get'](_0x36e0eb,{'params':{'objectID':_0x17d7df[_0x37ed9a(0x2de)],'unitID':_0x17d7df['unitId']}}))[_0x37ed9a(0x159)][_0x37ed9a(0x166)][_0x37ed9a(0x12d)](_0x26d35d=>({'objectId':_0x26d35d['id'],'name':_0x26d35d['subject']['name'],'metadata':{'icon':_0x26d35d[_0x37ed9a(0x208)][_0x37ed9a(0x154)]},'label':_0x26d35d['subject']['name'],'objectType':_0x4f203d[_0x37ed9a(0x217)]})),'metadata':{},'type':_0x4f203d[_0x37ed9a(0x217)]}]};}};Ot=hr([hi(0x0,_0x41febc(_0x1356ee)),hi(0x1,_0x41febc(_0x30b709))],Ot);var lr=Object[_0x40e481(0x237)],ur=(_0x5e7852,_0x17e611,_0x4e8b1d,_0x3ab38f)=>{var _0x28f40f=_0x40e481;for(var _0x323099=_0x3ab38f>0x1?void 0x0:_0x3ab38f?lr(_0x17e611,_0x4e8b1d):_0x17e611,_0x35cc49=_0x5e7852[_0x28f40f(0x299)]-0x1,_0x1e2d61;_0x35cc49>=0x0;_0x35cc49--)(_0x1e2d61=_0x5e7852[_0x35cc49])&&(_0x323099=_0x1e2d61(_0x323099)||_0x323099);return _0x323099;},we=(_0x1eb2be,_0x4d8d3b)=>(_0x40e41c,_0x3c6d4c)=>_0x4d8d3b(_0x40e41c,_0x3c6d4c,_0x1eb2be);let ot=class extends _0x2dee07{constructor(_0x48793e,_0x9187ad,_0x1b9120,_0x4c9e4c,_0x3204ef){var _0x40a7ee=_0x40e481;super(),this['_injector']=_0x48793e,this[_0x40a7ee(0x18b)]=_0x9187ad,this[_0x40a7ee(0x308)]=_0x1b9120,this['_collaborationSessionService']=_0x4c9e4c,this[_0x40a7ee(0x3df)]=_0x3204ef,this[_0x40a7ee(0x2a4)](),this[_0x40a7ee(0x3d7)]();}[_0x40e481(0x3d7)](){var _0x52fd4f=_0x40e481;const _0x127d27=async _0x14a524=>{var _0x418395=_0x1459;(await this[_0x418395(0x288)][_0x418395(0x134)](_0x14a524))['event$'][_0x418395(0x30c)](_0xe0b521(_0x2df7af=>_0x2df7af[_0x418395(0x24c)]===_0x3c9809[_0x418395(0x311)]),_0x3c76cd(this[_0x418395(0x1cd)]))[_0x418395(0x38c)](_0x2bacbf=>{var _0x1b43bc=_0x418395;const _0x170146=_0x2bacbf,{reason:_0x227786}=_0x170146[_0x1b43bc(0x3a1)];this[_0x1b43bc(0x3df)]['emitEvent']({'id':re[_0x1b43bc(0x2b6)],'data':_0x227786}),this[_0x1b43bc(0x308)][_0x1b43bc(0x2bd)](new _0x4d71f4(_0x14a524)['id'],!0x1),this['_collaborationSessionService'][_0x1b43bc(0x279)](_0x14a524);});};_0x1cc183(this[_0x52fd4f(0x18b)][_0x52fd4f(0x230)](_0x596901[_0x52fd4f(0x358)]),this[_0x52fd4f(0x18b)][_0x52fd4f(0x230)](_0x596901[_0x52fd4f(0x316)]))[_0x52fd4f(0x30c)](_0x3b053e(_0x530e2c=>_0x530e2c[_0x52fd4f(0x382)]()),_0xe0b521(_0x27ac89=>!_0x52f6ea(_0x27ac89)),_0x3c76cd(this[_0x52fd4f(0x1cd)]))['subscribe'](_0x1581f2=>{_0x127d27(_0x1581f2);});}['_initUnitPermissionChange'](){var _0x275fc2=_0x40e481;const _0x2a2e24=async _0x338260=>{var _0x8f12f1=_0x1459;const _0x728f1=await this[_0x8f12f1(0x288)]['requireSession'](_0x338260),_0x29581b=this[_0x8f12f1(0x2bb)][_0x8f12f1(0x1da)](_0x1c9bfd);_0x728f1[_0x8f12f1(0x263)]['pipe'](_0xe0b521(_0x5155ac=>_0x5155ac[_0x8f12f1(0x24c)]===_0x3c9809['UPDATE_PERMISSION_OBJ']),_0x3c76cd(this[_0x8f12f1(0x1cd)]))[_0x8f12f1(0x38c)](_0x16c3f7=>{var _0x18204a=_0x8f12f1;const _0x799078=_0x16c3f7,{objectId:_0x30646e}=_0x799078['data'];_0x30646e===_0x338260?_0x29581b[_0x18204a(0x1f5)](_0x338260):_0x29581b[_0x18204a(0xe3)](_0x338260,_0x30646e);});};_0x1cc183(this[_0x275fc2(0x18b)][_0x275fc2(0x230)](_0x596901[_0x275fc2(0x358)]))['pipe'](_0x3b053e(_0x38905a=>_0x38905a[_0x275fc2(0x382)]()),_0xe0b521(_0x11a111=>!_0x52f6ea(_0x11a111)),_0x3c76cd(this['dispose$']))[_0x275fc2(0x38c)](_0x3275d3=>{_0x2a2e24(_0x3275d3);});}};ot=ur([we(0x0,_0x41febc(_0x414ea7)),we(0x1,_0x26a8c2),we(0x2,_0x372d75),we(0x3,_0x41febc(xe)),we(0x4,_0x41febc(pe))],ot);var dr=Object[_0x40e481(0x237)],fr=(_0x141483,_0x43efcd,_0x17d38c,_0x4400f5)=>{var _0xba3881=_0x40e481;for(var _0x44257a=_0x4400f5>0x1?void 0x0:_0x4400f5?dr(_0x43efcd,_0x17d38c):_0x43efcd,_0x3606fd=_0x141483[_0xba3881(0x299)]-0x1,_0x20eb3d;_0x3606fd>=0x0;_0x3606fd--)(_0x20eb3d=_0x141483[_0x3606fd])&&(_0x44257a=_0x20eb3d(_0x44257a)||_0x44257a);return _0x44257a;},_i=(_0x387444,_0x18200f)=>(_0x424e72,_0x3fa7cf)=>_0x18200f(_0x424e72,_0x3fa7cf,_0x387444);let Nt=class{constructor(_0x4d5e68,_0x61648b){var _0xeea86c=_0x40e481;this['_configService']=_0x4d5e68,this[_0xeea86c(0x15a)]=_0x61648b;}async[_0x40e481(0x12b)](_0x339d10,_0x4487e9){var _0xf464b6=_0x40e481,_0x132378;const {unitID:_0x548185,type:_0x23a918,revision:_0x2c2899=0x0}=_0x4487e9,_0x136782=this[_0xf464b6(0x177)]()+'/'+_0x23a918+_0xf464b6(0x14e)+_0x548185+'/rev/'+_0x2c2899,_0x3c705f=(await this[_0xf464b6(0x15a)][_0xf464b6(0x1da)](_0x136782))[_0xf464b6(0x159)],_0x260d88=(_0x132378=_0x3c705f[_0xf464b6(0x25d)])==null?void 0x0:_0x132378[_0xf464b6(0x2e5)];if(_0x260d88){const _0x2c129b=_0x260d88==null?void 0x0:_0x260d88[_0xf464b6(0x352)],_0x2400e9=_0x4746e7[_0xf464b6(0x1e2)](_0x42a91f(_0x2c129b));_0x260d88['originalMeta']=_0x2400e9,Object[_0xf464b6(0x11b)](_0x260d88['sheets'])[_0xf464b6(0x109)](([,_0x518a75])=>{var _0xc01588=_0xf464b6;const _0x2c7ac6=_0x518a75[_0xc01588(0x352)],_0x4cb9f8=_0x4746e7['encode'](_0x42a91f(_0x2c7ac6));_0x518a75['originalMeta']=_0x4cb9f8;});}return _0x3c705f;}async[_0x40e481(0x11a)](_0x3c44a4,_0x186f7c){var _0x2784ab=_0x40e481;const {unitID:_0x4dc1f4,type:_0x313871,blockID:_0x295ecc}=_0x186f7c,_0x58744b=this['_getAPIPrefix']()+'/'+_0x313871+_0x2784ab(0x14e)+_0x4dc1f4+_0x2784ab(0x255)+_0x295ecc;return(await this[_0x2784ab(0x15a)][_0x2784ab(0x1da)](_0x58744b))[_0x2784ab(0x159)];}async['getDeserializedSheetBlock'](_0x27b41d,_0x1ffe75){var _0x175740=_0x40e481;const {unitID:_0x4d80ca,type:_0xada8c6,blockID:_0x56ae28}=_0x1ffe75,_0x8b9308=this[_0x175740(0x12c)]()+_0x175740(0x255)+_0xada8c6+_0x175740(0x14e)+_0x4d80ca+'/block/'+_0x56ae28;return(await this[_0x175740(0x15a)][_0x175740(0x1da)](_0x8b9308))[_0x175740(0x159)];}async['fetchMissingChangesets'](_0x3f4a12,_0x41fb14){var _0x3d7892=_0x40e481;const {unitID:_0x1f6c90,type:_0x4538a1,from:_0x291302,to:_0x2467b6}=_0x41fb14,_0x548779=this[_0x3d7892(0x12c)]()+'/'+_0x4538a1+_0x3d7892(0x14e)+_0x1f6c90+_0x3d7892(0x16d)+_0x291302+_0x3d7892(0x18f)+_0x2467b6;return(await this[_0x3d7892(0x15a)][_0x3d7892(0x1da)](_0x548779))[_0x3d7892(0x159)];}[_0x40e481(0x177)](){var _0x367e06=_0x40e481,_0x3e8adb;return(_0x3e8adb=this[_0x367e06(0x221)][_0x367e06(0x3da)](Sn))!=null?_0x3e8adb:this[_0x367e06(0x12c)]();}[_0x40e481(0x12c)](){var _0x98de56=_0x40e481,_0x12c7f3,_0x509bd4;const _0x1ff83e=this[_0x98de56(0x221)][_0x98de56(0x3da)](mn),_0x29dbcd=this[_0x98de56(0x221)][_0x98de56(0x3da)](q);return(_0x509bd4=(_0x12c7f3=_0x29dbcd==null?void 0x0:_0x29dbcd[_0x98de56(0x3a6)])!=null?_0x12c7f3:_0x1ff83e)!=null?_0x509bd4:gn;}async[_0x40e481(0x114)](_0x4f46cf,_0x5083c5){var _0x1e018f=_0x40e481;const _0x2314f6='/universer-api/snapshot/'+_0x5083c5['type']+_0x1e018f(0x14e)+_0x5083c5['unitID']+_0x1e018f(0x163);return(await this[_0x1e018f(0x15a)]['get'](_0x2314f6,{'params':{'resourceId':JSON[_0x1e018f(0x353)](_0x5083c5[_0x1e018f(0x2c1)])}}))['body'];}[_0x40e481(0x11f)](){var _0x112816=_0x40e481;throw new Error(_0x112816(0x12e));}[_0x40e481(0x1aa)](){var _0xdb9f92=_0x40e481;throw new Error(_0xdb9f92(0x12e));}[_0x40e481(0x3e2)](){var _0x2b92f5=_0x40e481;throw new Error(_0x2b92f5(0x12e));}[_0x40e481(0x3b4)](){var _0xd7dc21=_0x40e481;throw new Error(_0xd7dc21(0x12e));}[_0x40e481(0x1a9)](){var _0xf9a00a=_0x40e481;throw new Error(_0xf9a00a(0x12e));}};Nt=fr([_i(0x0,_0x1356ee),_i(0x1,_0x41febc(_0x30b709))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x6a3055,_0x46567a,_0x52c22f,_0x51ca2e)=>{var _0x4ffc4c=_0x40e481;for(var _0x24565f=_0x51ca2e>0x1?void 0x0:_0x51ca2e?vr(_0x46567a,_0x52c22f):_0x46567a,_0x49b3a3=_0x6a3055[_0x4ffc4c(0x299)]-0x1,_0x45c1f2;_0x49b3a3>=0x0;_0x49b3a3--)(_0x45c1f2=_0x6a3055[_0x49b3a3])&&(_0x24565f=_0x45c1f2(_0x24565f)||_0x24565f);return _0x24565f;},Pe=(_0xe9cd1f,_0x2dc8b4)=>(_0x24b278,_0x1468fb)=>_0x2dc8b4(_0x24b278,_0x1468fb,_0xe9cd1f);let Dt=class extends _0x1a4901{constructor(_0xcb4a32,_0x12e6fa,_0x514d1d,_0x1c5fd3,_0x419027){var _0x4b5389=_0x40e481;super(_0xcb4a32,_0x12e6fa,_0x514d1d),this[_0x4b5389(0x1b5)]=_0x1c5fd3,this[_0x4b5389(0x13c)]=_0x419027;}[_0x40e481(0x373)](_0x26b904,_0xe4d1ef){var _0x30e9eb=_0x40e481;const _0x547512=this[_0x30e9eb(0x329)](_0x26b904);if(_0x547512)try{const _0x50e893=this[_0x30e9eb(0xf2)](_0x547512,_0xe4d1ef);this['_substituteUndoStack'](_0x26b904,_0x50e893);}catch(_0x4f0609){this[_0x30e9eb(0x13c)][_0x30e9eb(0x30a)](_0x30e9eb(0x297),_0x4f0609),this[_0x30e9eb(0x2eb)](_0x26b904);}const _0x1afcf9=this[_0x30e9eb(0x367)](_0x26b904);if(_0x1afcf9)try{const _0x29f014=this['_transformStack'](_0x1afcf9,_0xe4d1ef);this[_0x30e9eb(0x36d)](_0x26b904,_0x29f014);}catch(_0xa7ca72){this[_0x30e9eb(0x13c)][_0x30e9eb(0x30a)](_0xa7ca72),this[_0x30e9eb(0x3cd)](_0x26b904);}}[_0x40e481(0x2eb)](_0x4d2dc6){var _0x20c043=_0x40e481;const _0x3a9d8a=this[_0x20c043(0x329)](_0x4d2dc6);_0x3a9d8a&&(_0x3a9d8a[_0x20c043(0x299)]=0x0,this[_0x20c043(0x167)]());}['_clearRedo'](_0x21b136){var _0x10ae1a=_0x40e481;const _0x5a06ea=this[_0x10ae1a(0x367)](_0x21b136);_0x5a06ea&&(_0x5a06ea[_0x10ae1a(0x299)]=0x0,this[_0x10ae1a(0x167)]());}['_substituteUndoStack'](_0x26d41c,_0x49f1a6){var _0x19dd79=_0x40e481;this[_0x19dd79(0x121)][_0x19dd79(0x38d)](_0x26d41c,_0x49f1a6),this[_0x19dd79(0x167)]();}['_substituteRedoStack'](_0x1b9e67,_0x3eccfe){var _0x53bbc2=_0x40e481;this['_redoStacks'][_0x53bbc2(0x38d)](_0x1b9e67,_0x3eccfe),this['_updateStatus']();}[_0x40e481(0xf2)](_0x1d7f3b,_0x5942ab){var _0x9292ba=_0x40e481;const _0x45d76a=[];let _0x35aacd=_0x5942ab,_0x3d44c5=_0x5942ab;for(let _0x826cc2=_0x1d7f3b[_0x9292ba(0x299)]-0x1;_0x826cc2>=0x0;_0x826cc2--){const {unitID:_0x395dc0,undoMutations:_0x3a0028,redoMutations:_0x388dd8}=_0x1d7f3b[_0x826cc2],_0x1e39b3=this[_0x9292ba(0x1b5)][_0x9292ba(0x1dd)](_0x35aacd,_0x3a0028),_0x2173d7=this[_0x9292ba(0x1b5)][_0x9292ba(0x1dd)](_0x3d44c5,_0x388dd8);if(_0x269671(_0x1e39b3)||_0x269671(_0x2173d7)){this[_0x9292ba(0x13c)]['error']('[CollaborationUndoRedoService]',_0x9292ba(0x2a1),_0x1e39b3,_0x2173d7);break;}_0x35aacd=_0x1e39b3[_0x9292ba(0x36b)],_0x3d44c5=_0x2173d7[_0x9292ba(0x36b)],_0x45d76a[_0x9292ba(0xeb)]({'unitID':_0x395dc0,'undoMutations':_0x1e39b3[_0x9292ba(0x113)],'redoMutations':_0x2173d7[_0x9292ba(0x113)]});}return _0x45d76a[_0x9292ba(0xf9)]();}};function _0x1459(_0x44fbbc,_0x2899e4){var _0x5f35c9=_0x5f35();return _0x1459=function(_0x14593d,_0xe819a3){_0x14593d=_0x14593d-0xe2;var _0x4fddac=_0x5f35c9[_0x14593d];return _0x4fddac;},_0x1459(_0x44fbbc,_0x2899e4);}Dt=pr([Pe(0x0,_0x26a8c2),Pe(0x1,_0x2f806f),Pe(0x2,_0x18a9d3),Pe(0x3,_0x671f8c),Pe(0x4,_0xcdb88)],Dt);var mr=Object[_0x40e481(0x21a)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x491fe5,_0x510ab9,_0x5c0911)=>_0x510ab9 in _0x491fe5?mr(_0x491fe5,_0x510ab9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c0911}):_0x491fe5[_0x510ab9]=_0x5c0911,Er=(_0x17b622,_0x10b3ec,_0x2f131c,_0x36a3e4)=>{var _0x24f9c4=_0x40e481;for(var _0x4d2def=_0x36a3e4>0x1?void 0x0:_0x36a3e4?gr(_0x10b3ec,_0x2f131c):_0x10b3ec,_0x4a7022=_0x17b622[_0x24f9c4(0x299)]-0x1,_0x39324f;_0x4a7022>=0x0;_0x4a7022--)(_0x39324f=_0x17b622[_0x4a7022])&&(_0x4d2def=_0x39324f(_0x4d2def)||_0x4d2def);return _0x4d2def;},St=(_0x219787,_0x1b8a72)=>(_0x1d5cf1,_0x25bdde)=>_0x1b8a72(_0x1d5cf1,_0x25bdde,_0x219787),Ir=(_0x237cca,_0x27cef6,_0x2d559f)=>Sr(_0x237cca,_0x27cef6+'',_0x2d559f);const Tr=_0x40e481(0x331);let Ut=class extends _0x33a101{constructor(_0x386e4d,_0xe48c5c,_0x8b089f,_0x2a7e3e){var _0x368b2b=_0x40e481;super(),N(this,_0x368b2b(0x184)),(this[_0x368b2b(0x13c)]=_0xe48c5c,this[_0x368b2b(0x2bb)]=_0x8b089f,this[_0x368b2b(0x221)]=_0x2a7e3e);const {..._0x1ce840}=_0x57512e({},wn,_0x386e4d);if(!_0x1ce840[_0x368b2b(0x13a)])throw new Error(_0x368b2b(0x1d8));this['_config']=_0x1ce840,this['_configService'][_0x368b2b(0x19e)](q,_0x1ce840);}[_0x40e481(0x1bc)](){var _0x5bec3e=_0x40e481;this[_0x5bec3e(0x318)](),this[_0x5bec3e(0x37b)]();}[_0x40e481(0x318)](){var _0x294f4f=_0x40e481,_0x228460,_0x3fde35;this[_0x294f4f(0x2bb)][_0x294f4f(0x15b)](_0x47f0e4)&&this['_logService'][_0x294f4f(0x30a)](_0x294f4f(0x1dc),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x45505d=_0x139878([[_0x47f0e4,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x294f4f(0x184)][_0x294f4f(0x13a)]}],[_0x348bba,{'useClass':Nt}],[_0x51a334,{'useClass':Rt}],[_0x3a7abf,{'useClass':yt}],[_0x53963b,{'useClass':Ot}],[st],[Ct]],(_0x228460=this[_0x294f4f(0x184)])==null?void 0x0:_0x228460[_0x294f4f(0x334)]);if(!((_0x3fde35=this[_0x294f4f(0x184)])!=null&&_0x3fde35[_0x294f4f(0x200)])){const _0x12c784=_0x45505d[_0x294f4f(0x3ad)](([_0x5a1e99])=>_0x5a1e99===ht);_0x12c784!==-0x1&&_0x45505d['splice'](_0x12c784,0x1);}_0x1f7c45(this[_0x294f4f(0x2bb)],_0x45505d);}[_0x40e481(0x37b)](){var _0xcbdf9e=_0x40e481,_0x3e08f2,_0x43dda5,_0x1fc19c;this[_0xcbdf9e(0x2bb)]['get'](_0x30b709)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x44a925({'maxParallel':0x6})}),(_0x3e08f2=this['_config'])!=null&&_0x3e08f2[_0xcbdf9e(0x325)]||(_0x43dda5=this[_0xcbdf9e(0x2bb)]['get'](J,_0x573acf[_0xcbdf9e(0x120)]))==null||_0x43dda5['disableLocalCache'](),(_0x1fc19c=this['_config'])!=null&&_0x1fc19c[_0xcbdf9e(0x2b7)]&&_0x45206c(this[_0xcbdf9e(0x2bb)],[[rt]]),_0x45206c(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x570937(_0x9e1780,_0x226205),St(0x1,_0xcdb88),St(0x2,_0x41febc(_0x414ea7)),St(0x3,_0x1356ee)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};