@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-055c47d → 0.6.10-experimental.20250418-8830bd4

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/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 _0x30c97e=_0x5b64;(function(_0x18235c,_0x3819ad){var _0x2f529d=_0x5b64,_0x18412f=_0x18235c();while(!![]){try{var _0x3f7838=parseInt(_0x2f529d(0x138))/0x1*(parseInt(_0x2f529d(0x399))/0x2)+parseInt(_0x2f529d(0x13c))/0x3*(parseInt(_0x2f529d(0x178))/0x4)+-parseInt(_0x2f529d(0x369))/0x5*(-parseInt(_0x2f529d(0x3b1))/0x6)+parseInt(_0x2f529d(0x335))/0x7+-parseInt(_0x2f529d(0x386))/0x8+parseInt(_0x2f529d(0x156))/0x9+-parseInt(_0x2f529d(0x14d))/0xa;if(_0x3f7838===_0x3819ad)break;else _0x18412f['push'](_0x18412f['shift']());}catch(_0x10add5){_0x18412f['push'](_0x18412f['shift']());}}}(_0x43fe,0x8fdfb));var wi=Object[_0x30c97e(0x162)],Pi=(_0x5b34e7,_0x935734,_0xbe0efa)=>_0x935734 in _0x5b34e7?wi(_0x5b34e7,_0x935734,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbe0efa}):_0x5b34e7[_0x935734]=_0xbe0efa,N=(_0xdbfb50,_0xe71794,_0x6405a8)=>Pi(_0xdbfb50,typeof _0xe71794!='symbol'?_0xe71794+'':_0xe71794,_0x6405a8);import{createIdentifier as _0x3ae368,Inject as _0x1aab8b,Injector as _0x51f454,IConfigService as _0x322b89,ILogService as _0xf9bcb3,Disposable as _0x4d3873,DisposableCollection as _0x41d728,toDisposable as _0x2d5b8d,IUniverInstanceService as _0x31aedc,UserManagerService as _0xfdfb58,UniverInstanceType as _0x4f9465,LocaleService as _0x54440b,Optional as _0x596184,RxDisposable as _0x34ea91,Tools as _0x465d47,Rectangle as _0x280ca3,ICommandService as _0xb43912,JSONX as _0x4f1190,CommandType as _0x1018f9,IUndoRedoService as _0x3e575f,IPermissionService as _0x233307,sequenceExecute as _0x5a5a75,Workbook as _0x4d0187,MentionType as _0x2f59a8,isInternalEditorID as _0x1ed416,LocalUndoRedoService as _0x5d49bd,IContextService as _0x2189ff,DependentOn as _0x409131,Plugin as _0x4aa6c9,merge as _0x216ac4,mergeOverrideWithDependencies as _0x2aa5b6,IAuthzIoService as _0x184fd2,IMentionIOService as _0x11b9c7,registerDependencies as _0x2a2947,Quantity as _0x430d08,touchDependencies as _0x48c939}from'@univerjs/core';import{Subject as _0x52da68,merge as _0x4bebd7,of as _0x23c246,BehaviorSubject as _0x3d3430,takeUntil as _0x155287,ReplaySubject as _0x1fccdb,take as _0x1cbcf0,map as _0x3708ef,shareReplay as _0x461bfd,firstValueFrom as _0xb115ad,concatMap as _0x49bb13}from'rxjs';import{map as _0x122f91,take as _0x4e7a9b,filter as _0x1d479f,delay as _0x38c479,takeUntil as _0x3df66c}from'rxjs/operators';import{CollaborationEvent as _0x4b61f7,ISnapshotServerService as _0x2ad851,parseChangesetToProtocol as _0xe531f6,ITransformService as _0x19d1d9,isTransformMutationsWithChangesetSuccess as _0x3a4a2e,mapDocumentTypeToUniverType as _0x529f3a,RevisionService as _0x5e781e,isTransformChangesetsSuccess as _0x1a3035,CompressMutationService as _0x16301a,parseProtocolChangeset as _0x14ec53,SnapshotService as _0x11acc7,textEncoder as _0x43a3ad,b64DecodeUnicode as _0x5f393a,isTransformMutationsWithChangesetFailure as _0x113704,UniverCollaborationPlugin as _0x1c91a9}from'@univerjs-pro/collaboration';import{HTTPService as _0x43eb18,ISocketService as _0x32247c,MergeInterceptorFactory as _0x3cf77e,HTTPRequest as _0x12d65b,UniverNetworkPlugin as _0x2cdfed,ThresholdInterceptorFactory as _0x54b362}from'@univerjs/network';import{ITelemetryService as _0xeab857}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5c2334}from'@univerjs/docs';import{SheetsSelectionsService as _0x49675a,SetSelectionsOperation as _0x2891da,InsertSheetMutation as _0xc931c4,EmptyMutation as _0x3713ae,WorkbookEditablePermission as _0x263feb,SheetPermissionInitController as _0x2d541d}from'@univerjs/sheets';import{ImageSourceType as _0x29118a,ImageUploadStatusType as _0x29e9a0,IImageIoService as _0xd1c0a0}from'@univerjs/drawing';import{getGlobalObject as _0x4c7089}from'@univerjs-pro/license';const mn=_0x30c97e(0x408),gn='/universer-api/snapshot',Sn=_0x30c97e(0x201),Lr=_0x30c97e(0x25c),En=0x7d0,In=_0x30c97e(0x346),Tn=_0x30c97e(0x27b),xr=_0x30c97e(0x3e1),Cn=_0x30c97e(0x300),Rn=0x7530,mi=_0x30c97e(0x3a1),gi=0x4e20,bn=0x4e20,On=_0x30c97e(0x256),yn=0x3,Mr=_0x30c97e(0x1b9),kr=0x3e8,Nn=_0x30c97e(0x2c4),Dn='/universer-api/comb',Un=_0x30c97e(0x390),An='/universer-api/oidc/authpage',$r=_0x30c97e(0x233),Hr='/universer-api/uniscript';var Si=(_0x2494d2=>(_0x2494d2[_0x2494d2['UNDEFINED']=0x0]=_0x30c97e(0x1ec),_0x2494d2[_0x2494d2['OK']=0x1]='OK',_0x2494d2[_0x2494d2[_0x30c97e(0x3b6)]=0x2]=_0x30c97e(0x3b6),_0x2494d2[_0x2494d2[_0x30c97e(0x231)]=0x3]=_0x30c97e(0x231),_0x2494d2[_0x2494d2['NOT_FOUND']=0x4]='NOT_FOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x20e)]=0x5]=_0x30c97e(0x20e),_0x2494d2[_0x2494d2['ALREADY_EXISTS']=0x6]=_0x30c97e(0x20d),_0x2494d2[_0x2494d2[_0x30c97e(0x326)]=0x7]=_0x30c97e(0x326),_0x2494d2[_0x2494d2[_0x30c97e(0x1d9)]=0x8]='TOO_MANY_REQUESTS',_0x2494d2[_0x2494d2[_0x30c97e(0x1bd)]=0x9]=_0x30c97e(0x1bd),_0x2494d2[_0x2494d2[_0x30c97e(0x1e3)]=0xa]=_0x30c97e(0x1e3),_0x2494d2[_0x2494d2[_0x30c97e(0x28f)]=0x1389]=_0x30c97e(0x28f),_0x2494d2[_0x2494d2[_0x30c97e(0x1fa)]=0x1771]=_0x30c97e(0x1fa),_0x2494d2[_0x2494d2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2494d2[_0x2494d2[_0x30c97e(0x3ec)]=0x1773]=_0x30c97e(0x3ec),_0x2494d2[_0x2494d2[_0x30c97e(0x142)]=0x1b59]=_0x30c97e(0x142),_0x2494d2[_0x2494d2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x30c97e(0x275),_0x2494d2[_0x2494d2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x30c97e(0x20b),_0x2494d2[_0x2494d2[_0x30c97e(0x1a3)]=0x1b5c]=_0x30c97e(0x1a3),_0x2494d2[_0x2494d2[_0x30c97e(0x414)]=0x1b5d]=_0x30c97e(0x414),_0x2494d2[_0x2494d2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x30c97e(0x1b2),_0x2494d2[_0x2494d2[_0x30c97e(0x2f8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2494d2[_0x2494d2[_0x30c97e(0x305)]=0x232a]=_0x30c97e(0x305),_0x2494d2[_0x2494d2[_0x30c97e(0x1a4)]=0x232b]=_0x30c97e(0x1a4),_0x2494d2[_0x2494d2[_0x30c97e(0x20c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2494d2[_0x2494d2[_0x30c97e(0x2b5)]=0x232d]=_0x30c97e(0x2b5),_0x2494d2[_0x2494d2[_0x30c97e(0x3c9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2494d2[_0x2494d2[_0x30c97e(0x353)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2494d2[_0x2494d2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x30c97e(0x2a0),_0x2494d2[_0x2494d2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x302)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2494d2[_0x2494d2[_0x30c97e(0x196)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2494d2[_0x2494d2[_0x30c97e(0x293)]=0x2af9]=_0x30c97e(0x293),_0x2494d2[_0x2494d2[_0x30c97e(0x33f)]=0x2ee1]=_0x30c97e(0x33f),_0x2494d2[_0x2494d2['INVALID_INVITE_CODE']=0x2ee2]=_0x30c97e(0x176),_0x2494d2[_0x2494d2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x30c97e(0x1ac),_0x2494d2[_0x2494d2[_0x30c97e(0x2fb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2494d2[_0x2494d2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30c97e(0x143),_0x2494d2[_0x2494d2['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x1fe)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2494d2[_0x2494d2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x30c97e(0x313),_0x2494d2[_0x2494d2[_0x30c97e(0x20a)]=-0x1]='UNRECOGNIZED',_0x2494d2))(Si||{}),Q=(_0x2c24cc=>(_0x2c24cc[_0x2c24cc[_0x30c97e(0x3fe)]=0x0]=_0x30c97e(0x3fe),_0x2c24cc[_0x2c24cc[_0x30c97e(0x1cd)]=0x1]=_0x30c97e(0x1cd),_0x2c24cc[_0x2c24cc[_0x30c97e(0x204)]=0x2]=_0x30c97e(0x204),_0x2c24cc[_0x2c24cc[_0x30c97e(0x28a)]=0x3]=_0x30c97e(0x28a),_0x2c24cc[_0x2c24cc[_0x30c97e(0x2f9)]=0x4]=_0x30c97e(0x2f9),_0x2c24cc[_0x2c24cc[_0x30c97e(0x20a)]=-0x1]=_0x30c97e(0x20a),_0x2c24cc))(Q||{}),F=(_0x51fd6a=>(_0x51fd6a[_0x51fd6a['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x51fd6a[_0x51fd6a[_0x30c97e(0x207)]=0x1]=_0x30c97e(0x207),_0x51fd6a[_0x51fd6a[_0x30c97e(0x3ab)]=0x2]=_0x30c97e(0x3ab),_0x51fd6a[_0x51fd6a[_0x30c97e(0x340)]=0x3]='LEAVE',_0x51fd6a[_0x51fd6a[_0x30c97e(0x3ad)]=0x4]=_0x30c97e(0x3ad),_0x51fd6a[_0x51fd6a[_0x30c97e(0x2c8)]=0x5]=_0x30c97e(0x2c8),_0x51fd6a[_0x51fd6a[_0x30c97e(0x3a8)]=0x6]=_0x30c97e(0x3a8),_0x51fd6a[_0x51fd6a[_0x30c97e(0x20a)]=-0x1]=_0x30c97e(0x20a),_0x51fd6a))(F||{}),ge=(_0x3015f1=>(_0x3015f1[_0x3015f1[_0x30c97e(0x1c5)]=0x0]=_0x30c97e(0x1c5),_0x3015f1[_0x3015f1['OK']=0x1]='OK',_0x3015f1[_0x3015f1[_0x30c97e(0x309)]=0x2]=_0x30c97e(0x309),_0x3015f1[_0x3015f1[_0x30c97e(0x163)]=0x3e9]=_0x30c97e(0x163),_0x3015f1[_0x3015f1[_0x30c97e(0x12c)]=0x3ea]=_0x30c97e(0x12c),_0x3015f1[_0x3015f1[_0x30c97e(0x38d)]=0x3eb]=_0x30c97e(0x38d),_0x3015f1[_0x3015f1[_0x30c97e(0x155)]=0x3ec]=_0x30c97e(0x155),_0x3015f1[_0x3015f1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3015f1))(ge||{}),Ei=(_0x375895=>(_0x375895[_0x375895[_0x30c97e(0x2eb)]=0x0]=_0x30c97e(0x2eb),_0x375895[_0x375895[_0x30c97e(0x2cc)]=0x1]='HttpImport',_0x375895[_0x375895['HttpExport']=0x2]='HttpExport',_0x375895[_0x375895['UnitEmbedded']=0x3]=_0x30c97e(0x118),_0x375895[_0x375895[_0x30c97e(0x2dc)]=0x4]='UnitSnapshot',_0x375895[_0x375895[_0x30c97e(0x3b2)]=0x5]='UserProfileImg',_0x375895[_0x375895['UNRECOGNIZED']=-0x1]=_0x30c97e(0x20a),_0x375895))(Ei||{});const q=_0x30c97e(0x150),wn={};var re=(_0x5a6cd8=>(_0x5a6cd8[_0x30c97e(0x2c9)]='OTHER_CLIENT_EDITING',_0x5a6cd8[_0x30c97e(0x231)]=_0x30c97e(0x231),_0x5a6cd8[_0x30c97e(0x126)]=_0x30c97e(0x126),_0x5a6cd8[_0x30c97e(0x2f1)]=_0x30c97e(0x2f1),_0x5a6cd8[_0x30c97e(0x16d)]='JOIN_ROOM_FAILED',_0x5a6cd8[_0x30c97e(0x131)]=_0x30c97e(0x131),_0x5a6cd8['SOCKET_FAILED']='SOCKET_FAILED',_0x5a6cd8['SUBMIT_CHANGESET_TIMEOUT']=_0x30c97e(0x2a5),_0x5a6cd8))(re||{});class pe{constructor(){var _0x314005=_0x30c97e;N(this,_0x314005(0x1e2),new _0x52da68()),N(this,_0x314005(0x376),this[_0x314005(0x1e2)][_0x314005(0x1cc)]());}['emitEvent'](_0x3c21c2){var _0x2c511b=_0x30c97e;this[_0x2c511b(0x1e2)][_0x2c511b(0x2c2)](_0x3c21c2);}}const Pn=_0x3ae368('univer-pro.collaboration-client.network-condition.service');function Ln(_0x47ce4a){var _0x20c947=_0x30c97e,_0x413dce,_0x3e3f57,_0x25708f,_0x9fdfcf,_0x16288d;const _0x26b467=_0x47ce4a[_0x20c947(0x3c2)],_0x1f5478=JSON[_0x20c947(0x2df)](_0x26b467);switch(_0x1f5478['cmd']){case F[_0x20c947(0x2c8)]:case F[_0x20c947(0x207)]:{const _0x1be5f9=_0x1f5478[_0x20c947(0x2e8)];return{..._0x1f5478,'data':_0x1be5f9,'cmd':_0x1f5478['cmd']};}case F[_0x20c947(0x3ab)]:{const _0x350b97=_0x1f5478[_0x20c947(0x33d)];return{..._0x1f5478,'data':_0x350b97,'cmd':_0x1f5478[_0x20c947(0x1ae)]};}case F['RECV']:{const _0x25d7b0=_0x1f5478[_0x20c947(0x2b6)];switch(_0x25d7b0[_0x20c947(0x29f)]){case _0x4b61f7[_0x20c947(0x40e)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x413dce=_0x25d7b0[_0x20c947(0x391)])==null?void 0x0:_0x413dce['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x38b)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x3e3f57=_0x25d7b0[_0x20c947(0x1db)])==null?void 0x0:_0x3e3f57['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x320)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x25708f=_0x25d7b0['newCsEvent'])==null?void 0x0:_0x25708f['cs']},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x21e)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x9fdfcf=_0x25d7b0['csRejEvent'])==null?void 0x0:_0x9fdfcf['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x2d2)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x16288d=_0x25d7b0[_0x20c947(0x32a)])==null?void 0x0:_0x16288d['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7['UPDATE_CURSOR']:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x1e4)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x35c)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x253)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x31b)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x285)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x3bf)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x132)]},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x3ef)]:case _0x4b61f7[_0x20c947(0x3f7)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x213)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x333)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x132)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x328)]:return{..._0x1f5478,'data':_0x25d7b0,'cmd':_0x1f5478['cmd']};case _0x4b61f7['COMMENT_UPDATE']:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x32e)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x34d)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0['updatePermissionObjEvent']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x1ce)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x3d1)]},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x3f4)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x352)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};default:return _0x1f5478;}}default:return _0x1f5478;}}function xn(_0x15e61d){var _0x34b8b0=_0x30c97e;switch(_0x15e61d[_0x34b8b0(0x1ae)]){case F[_0x34b8b0(0x2c8)]:case F[_0x34b8b0(0x207)]:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)]});case F['INGEST']:{let _0x10e8ec;switch(_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x29f)]){case _0x4b61f7[_0x34b8b0(0x387)]:{_0x10e8ec={'eventID':_0x4b61f7['UPDATE_CURSOR'],'updateCursorEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x31b)]:{_0x10e8ec={'eventID':_0x4b61f7['USERS_LEAVE'],'leaveEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x35c)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x35c)],'joinEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3bf)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3bf)],'liveShareNewHost':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3f7)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3f7)],'liveShareOperation':_0x15e61d['data'][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x333)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x333)],'liveShareTerminate':_0x15e61d['data'][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3c3)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3c3)],'liveShareRequestHost':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7['LIVESHARE_FETCH_OPERATIONS']:{_0x10e8ec={'eventID':_0x4b61f7['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x10e8ec={'eventID':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x29f)]};}return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)],'collaMsg':_0x10e8ec});}case F['JOIN']:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)],'joinReq':_0x15e61d[_0x34b8b0(0x3c2)]});case F[_0x34b8b0(0x340)]:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d['routeKey'],'leaveReq':_0x15e61d['data']});default:throw new Error(_0x34b8b0(0x2ab));}}var Mn=Object[_0x30c97e(0x1eb)],kn=(_0x119f5b,_0x548149,_0x399fe1,_0x4081b9)=>{var _0x172839=_0x30c97e;for(var _0x1cc123=_0x4081b9>0x1?void 0x0:_0x4081b9?Mn(_0x548149,_0x399fe1):_0x548149,_0x3a3c05=_0x119f5b[_0x172839(0x338)]-0x1,_0x3172b1;_0x3a3c05>=0x0;_0x3a3c05--)(_0x3172b1=_0x119f5b[_0x3a3c05])&&(_0x1cc123=_0x3172b1(_0x1cc123)||_0x1cc123);return _0x1cc123;},Ae=(_0x3d2c88,_0x801633)=>(_0x52c0ce,_0x1b165e)=>_0x801633(_0x52c0ce,_0x1b165e,_0x3d2c88);const Ii=_0x3ae368(_0x30c97e(0x413));function $n(_0xa58629,_0x177285,_0x36dc37){return _0xa58629+'/'+_0x177285+'/unit/'+_0x36dc37+'/new_changes';}let Gt=class extends _0x4d3873{constructor(_0x2a8904,_0x49faf7,_0x959168,_0x9c72d4,_0x23edde){var _0x3821ed=_0x30c97e;super(),this[_0x3821ed(0x246)]=_0x2a8904,this[_0x3821ed(0x1dd)]=_0x49faf7,this[_0x3821ed(0x15e)]=_0x959168,this[_0x3821ed(0x247)]=_0x9c72d4,this[_0x3821ed(0x18c)]=_0x23edde;}[_0x30c97e(0x310)](_0x463996){var _0x4ef922=_0x30c97e;const _0x4c3d6e=this[_0x4ef922(0x246)][_0x4ef922(0x402)](_0x32247c);if(!_0x4c3d6e)throw new Error(_0x4ef922(0x24d));const _0x31d8c8=_0x4c3d6e[_0x4ef922(0x3a2)](_0x463996);if(!_0x31d8c8)throw new Error(_0x4ef922(0x1ba));const _0x432f0d=new _0x41d728(),_0x20aef0=new _0x52da68();_0x432f0d['add'](_0x31d8c8[_0x4ef922(0x1c7)][_0x4ef922(0x3c0)](_0x5735d3=>_0x20aef0[_0x4ef922(0x2c2)](_0x5735d3))),_0x432f0d[_0x4ef922(0x2ea)](_0x2d5b8d(()=>_0x20aef0[_0x4ef922(0x10e)]()));const _0xf6bd8b=new _0x52da68();_0x432f0d[_0x4ef922(0x2ea)](_0x31d8c8['error$'][_0x4ef922(0x3c0)](_0xd6eafe=>_0xf6bd8b[_0x4ef922(0x2c2)](_0xd6eafe))),_0x432f0d[_0x4ef922(0x2ea)](_0x2d5b8d(()=>_0xf6bd8b[_0x4ef922(0x10e)]()));const _0x50d39c=new _0x52da68();_0x432f0d[_0x4ef922(0x2ea)](_0x31d8c8[_0x4ef922(0x372)]['subscribe'](_0x3ac410=>{var _0x394d82=_0x4ef922;const _0x3a1aaf=Ln(_0x3ac410);_0x50d39c[_0x394d82(0x2c2)](_0x3a1aaf);})),_0x432f0d['add'](_0x2d5b8d(()=>_0x50d39c[_0x4ef922(0x10e)]()));let _0x6898c9;const _0x580a74=()=>{var _0x3e87fa=_0x4ef922;_0xf6bd8b[_0x3e87fa(0x2c2)](new Event(_0x3e87fa(0x1ad))),_0x20aef0['next'](new Event('connection\x20error')),_0x6898c9[_0x3e87fa(0x181)]();};return _0x6898c9={'memberID':'','close$':_0x20aef0[_0x4ef922(0x1cc)](),'error$':_0xf6bd8b[_0x4ef922(0x1cc)](),'open$':_0x31d8c8[_0x4ef922(0x2a9)],'message$':_0x50d39c[_0x4ef922(0x1cc)](),'send':_0xba23a3=>{var _0x52b525=_0x4ef922;if(_0xba23a3[_0x52b525(0x1ae)]===F['INGEST']){if(_0xba23a3['data']['eventID']===_0x4b61f7[_0x52b525(0x1f8)]){this[_0x52b525(0x202)](_0x6898c9,_0xba23a3[_0x52b525(0x3c2)])['catch'](_0x1bb628=>{var _0x456bb3=_0x52b525;this[_0x456bb3(0x247)]['error'](_0x1bb628),_0x580a74();});return;}if(_0xba23a3[_0x52b525(0x3c2)][_0x52b525(0x29f)]===_0x4b61f7[_0x52b525(0x1fc)]){const _0x3f187a=_0xba23a3[_0x52b525(0x3c2)];this[_0x52b525(0x174)](_0x3f187a)['then'](_0x3b45a4=>{var _0x262859=_0x52b525;_0x50d39c[_0x262859(0x2c2)]({'cmd':F[_0x262859(0x3a8)],'code':ge['OK'],'routeKey':_0x3f187a[_0x262859(0x3c2)][_0x262859(0x1c9)],'routeType':'','data':{'eventID':_0x4b61f7[_0x262859(0x1ea)],'data':{'changesets':_0x3b45a4}}});})[_0x52b525(0x122)](_0x1b6001=>{var _0x5ccb62=_0x52b525;this[_0x5ccb62(0x247)][_0x5ccb62(0x250)](_0x1b6001),_0x580a74();});return;}}_0x31d8c8[_0x52b525(0x35d)](xn(_0xba23a3));},'close':()=>{var _0x4bf9f0=_0x4ef922;_0x31d8c8[_0x4bf9f0(0x181)](),_0x432f0d[_0x4bf9f0(0x1ee)]();}},_0x6898c9;}async[_0x30c97e(0x202)](_0x46a280,_0x56423d){var _0x1b7f88=_0x30c97e,_0x2a1be6,_0x516081;const {unitType:_0x29e5c1,unitID:_0x569885,changeset:_0x566981}=_0x56423d[_0x1b7f88(0x3c2)],_0x570814={'unitID':_0x569885,'memberID':_0x46a280[_0x1b7f88(0x2d5)],'type':_0x29e5c1,'changeset':_0xe531f6(_0x566981)},_0x26e0db=this[_0x1b7f88(0x15e)][_0x1b7f88(0x230)](Nn),_0x32563c=this[_0x1b7f88(0x15e)]['getConfig'](q),_0x257202=$n((_0x516081=(_0x2a1be6=_0x32563c==null?void 0x0:_0x32563c[_0x1b7f88(0x2c3)])!=null?_0x2a1be6:_0x26e0db)!=null?_0x516081:Dn,_0x29e5c1,_0x569885);try{await this['_httpService'][_0x1b7f88(0x255)](_0x257202,{'body':_0x570814});}catch(_0x4031f7){throw this[_0x1b7f88(0x247)][_0x1b7f88(0x250)](_0x1b7f88(0x269),_0x1b7f88(0x26b)),_0x4031f7;}}async[_0x30c97e(0x174)](_0x246e52){const {unitID:_0x85dfb4,from:_0x2269e0,to:_0xbbf647,unitType:_0x503d9e}=_0x246e52['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x85dfb4,'type':_0x503d9e,'from':_0x2269e0,'to':_0xbbf647}))['changesets'];}};Gt=kn([Ae(0x0,_0x1aab8b(_0x51f454)),Ae(0x1,_0x1aab8b(_0x43eb18)),Ae(0x2,_0x322b89),Ae(0x3,_0xf9bcb3),Ae(0x4,_0x2ad851)],Gt);const Hn=_0x30c97e(0x2f5);function Bn(_0x16c8b3){var _0x1739a6=_0x30c97e;return JSON[_0x1739a6(0x21f)](_0x16c8b3)['length'];}class Ti{constructor(){N(this,'_commentUpdate$',new _0x52da68()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x30c97e(0x14b)](_0x1778c5){var _0x293900=_0x30c97e;this[_0x293900(0x21c)]['next'](_0x1778c5);}}var jn=Object[_0x30c97e(0x1eb)],Fn=(_0x5281a8,_0x5b8426,_0x6cfd09,_0x4fad67)=>{for(var _0x199238=_0x4fad67>0x1?void 0x0:_0x4fad67?jn(_0x5b8426,_0x6cfd09):_0x5b8426,_0x1d17ce=_0x5281a8['length']-0x1,_0x3054d1;_0x1d17ce>=0x0;_0x1d17ce--)(_0x3054d1=_0x5281a8[_0x1d17ce])&&(_0x199238=_0x3054d1(_0x199238)||_0x199238);return _0x199238;},Wt=(_0x31766d,_0x3febcb)=>(_0x12117b,_0x4e9e29)=>_0x3febcb(_0x12117b,_0x4e9e29,_0x31766d);let Le=class extends _0x4d3873{constructor(_0x39d8db,_0x59c713){var _0x286c2d=_0x30c97e;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x52da68()),(this['_univerInstanceService']=_0x39d8db,this[_0x286c2d(0x34c)]=_0x59c713,this[_0x286c2d(0x152)](_0x4bebd7(this[_0x286c2d(0x10d)][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x204)])['pipe'](_0x122f91(_0x6e59ad=>_0x6e59ad[_0x286c2d(0x2ed)]())),this['_univerInstanceService'][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x1cd)])[_0x286c2d(0x2a4)](_0x122f91(_0x29f021=>_0x29f021[_0x286c2d(0x2ed)]())),this['_univerInstanceService'][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x28a)])['pipe'](_0x122f91(_0x16b767=>_0x16b767[_0x286c2d(0x2ed)]())))[_0x286c2d(0x3c0)](_0x3fd3db=>this[_0x286c2d(0x3cf)](_0x3fd3db))));}[_0x30c97e(0x354)](_0x5d0c6a){var _0x4bb2d0=_0x30c97e;return this[_0x4bb2d0(0x280)][_0x4bb2d0(0x378)](_0x5d0c6a)?_0x23c246(this[_0x4bb2d0(0x280)][_0x4bb2d0(0x402)](_0x5d0c6a)):this[_0x4bb2d0(0x3d3)][_0x4bb2d0(0x2a4)](_0x122f91(_0x3df23f=>{var _0x337d3e=_0x4bb2d0;if(_0x3df23f===_0x5d0c6a)return this[_0x337d3e(0x280)]['get'](_0x3df23f);}));}[_0x30c97e(0x27e)](_0x3d37a2){var _0x7937c4=_0x30c97e;this[_0x7937c4(0x34c)]['setCurrentUser'](_0x3d37a2);}[_0x30c97e(0x2ad)](){var _0x50fc9d=_0x30c97e;return this[_0x50fc9d(0x34c)][_0x50fc9d(0x2ad)]();}[_0x30c97e(0x38e)](_0x3f852f,_0x396c47){var _0x5df3b5=_0x30c97e;let _0x5a993a=this[_0x5df3b5(0x280)]['get'](_0x3f852f);_0x5a993a||(_0x5a993a=new Vn(),this['_roomMembers']['set'](_0x3f852f,_0x5a993a),this[_0x5df3b5(0x3d3)][_0x5df3b5(0x2c2)](_0x3f852f)),_0x5a993a['updateMember'](_0x396c47);}[_0x30c97e(0x167)](_0x4377f8,_0x559a04){var _0xcc7e7b=_0x30c97e;const _0x5875b1=this[_0xcc7e7b(0x280)][_0xcc7e7b(0x402)](_0x4377f8);_0x5875b1&&_0x5875b1[_0xcc7e7b(0x167)](_0x559a04);}[_0x30c97e(0x37c)](_0x2fd274){var _0x82acc0=_0x30c97e;return this[_0x82acc0(0x280)][_0x82acc0(0x402)](_0x2fd274);}[_0x30c97e(0x134)](_0x2d85c5,_0x4796f3){var _0x230f30=_0x30c97e;const _0x56d5bc=this['_roomMembers'][_0x230f30(0x402)](_0x2d85c5);if(_0x56d5bc)return _0x56d5bc[_0x230f30(0x134)](_0x4796f3);}['_removeRoom'](_0x2aa835){var _0x396848=_0x30c97e;const _0x48537f=this[_0x396848(0x280)][_0x396848(0x402)](_0x2aa835);_0x48537f&&(_0x48537f[_0x396848(0x1ee)](),this[_0x396848(0x280)][_0x396848(0x3eb)](_0x2aa835));}[_0x30c97e(0x1ee)](){var _0x4b5b0f=_0x30c97e;this[_0x4b5b0f(0x280)]['forEach'](_0x136759=>_0x136759[_0x4b5b0f(0x1ee)]()),this[_0x4b5b0f(0x280)][_0x4b5b0f(0x1a8)](),this[_0x4b5b0f(0x3d3)][_0x4b5b0f(0x10e)]();}};Le=Fn([Wt(0x0,_0x31aedc),Wt(0x1,_0x1aab8b(_0xfdfb58))],Le);class Vn extends _0x4d3873{constructor(){var _0x155f69=_0x30c97e;super(...arguments),N(this,_0x155f69(0x158),new Map()),N(this,_0x155f69(0x184),new _0x3d3430(this['_members'])),N(this,_0x155f69(0x189),this['_members$'][_0x155f69(0x1cc)]());}['dispose'](){this['_members']['clear']();}[_0x30c97e(0x38e)](_0x45e617){var _0x412540=_0x30c97e;this[_0x412540(0x158)][_0x412540(0x3c8)](_0x45e617['memberID'],_0x45e617),this['_emitMembers']();}['removeMember'](_0x2edc78){var _0x357cea=_0x30c97e;this[_0x357cea(0x158)]['delete'](_0x2edc78);}[_0x30c97e(0x134)](_0x2971fa){var _0xe45f49=_0x30c97e;return this['_members'][_0xe45f49(0x402)](_0x2971fa);}[_0x30c97e(0x3aa)](){var _0x22fc11=_0x30c97e;return Array[_0x22fc11(0x1a9)](this[_0x22fc11(0x158)][_0x22fc11(0x260)]());}['_emitMembers'](){var _0x245f37=_0x30c97e;this['_members$']['next'](this[_0x245f37(0x158)]);}}var Gn=Object[_0x30c97e(0x1eb)],Wn=(_0x1c94b0,_0x4ce246,_0x25be8c,_0x4d3571)=>{var _0x146831=_0x30c97e;for(var _0x12c6b4=_0x4d3571>0x1?void 0x0:_0x4d3571?Gn(_0x4ce246,_0x25be8c):_0x4ce246,_0xd2acfa=_0x1c94b0[_0x146831(0x338)]-0x1,_0x203dc9;_0xd2acfa>=0x0;_0xd2acfa--)(_0x203dc9=_0x1c94b0[_0xd2acfa])&&(_0x12c6b4=_0x203dc9(_0x12c6b4)||_0x12c6b4);return _0x12c6b4;},me=(_0x16385e,_0x3c8f3b)=>(_0x568eba,_0x3f4f36)=>_0x3c8f3b(_0x568eba,_0x3f4f36,_0x16385e),Ee=(_0x3c8d02=>(_0x3c8d02[_0x3c8d02[_0x30c97e(0x344)]=0x0]=_0x30c97e(0x344),_0x3c8d02[_0x3c8d02[_0x30c97e(0x3c1)]=0x1]=_0x30c97e(0x3c1),_0x3c8d02[_0x3c8d02[_0x30c97e(0x358)]=0x2]='OFFLINE',_0x3c8d02[_0x3c8d02[_0x30c97e(0x39c)]=0x3]=_0x30c97e(0x39c),_0x3c8d02))(Ee||{});const Kt={[ge[_0x30c97e(0x309)]]:_0x30c97e(0x371),[ge[_0x30c97e(0x163)]]:_0x30c97e(0x23b),[ge[_0x30c97e(0x12c)]]:_0x30c97e(0x2bd),[ge[_0x30c97e(0x38d)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x30c97e(0x29a)};let Et=class extends _0x34ea91{constructor(_0x2e1022,_0x3c5098,_0xcd5a14,_0x3313b6,_0x2254a5,_0x4ba5cf,_0x5683b5,_0x929d3b,_0x3adf54){var _0x2600b7=_0x30c97e;super(),N(this,'_sessionStatus$',new _0x3d3430(0x0)),N(this,_0x2600b7(0x153),this['_sessionStatus$'][_0x2600b7(0x1cc)]()),N(this,'_event$',new _0x52da68()),N(this,_0x2600b7(0x376),this[_0x2600b7(0x1e2)]['asObservable']()),N(this,_0x2600b7(0x214)),N(this,_0x2600b7(0x2d9)),N(this,_0x2600b7(0x11a)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x2600b7(0x2d6),null),(this[_0x2600b7(0x1be)]=_0x2e1022,this['_logService']=_0xcd5a14,this['_configService']=_0x3313b6,this[_0x2600b7(0x1b4)]=_0x2254a5,this['_memberService']=_0x4ba5cf,this[_0x2600b7(0x316)]=_0x5683b5,this['_collaborationUIEventService']=_0x929d3b,this['_telemetryService']=_0x3adf54,this[_0x2600b7(0x3dc)]=!!this['_telemetryService'],_0x3c5098[_0x2600b7(0x2a4)](_0x155287(this['dispose$']))['subscribe'](_0x59df20=>{var _0x23359c=_0x2600b7,_0x2e4a98;typeof _0x59df20>'u'||(this['_socket']=_0x59df20,_0x59df20?(this['_joinRoom'](_0x59df20),this[_0x23359c(0x2d9)]=_0x59df20[_0x23359c(0x372)][_0x23359c(0x3c0)](_0x5cc2d1=>{var _0x273380=_0x23359c;_0x5cc2d1['routeKey']===this['_unitID']&&this[_0x273380(0x2d3)](_0x5cc2d1);})):(this[_0x23359c(0x3d4)](),this['_sessionStatus$'][_0x23359c(0x2c2)](0x2),(_0x2e4a98=this[_0x23359c(0x2d9)])==null||_0x2e4a98[_0x23359c(0x3b5)](),this[_0x23359c(0x2d9)]=null));}));}get[_0x30c97e(0x261)](){var _0x42678d=_0x30c97e;return this[_0x42678d(0x12f)][_0x42678d(0x145)]();}['getMemberID'](){var _0x5f0575=_0x30c97e,_0x571d3d,_0x9f096a;return(_0x9f096a=(_0x571d3d=this[_0x5f0575(0x214)])==null?void 0x0:_0x571d3d[_0x5f0575(0x2d5)])!=null?_0x9f096a:null;}[_0x30c97e(0x1ee)](){var _0x370f34=_0x30c97e;super[_0x370f34(0x1ee)](),this['dispose$']['next'](),this[_0x370f34(0x363)]['complete']();}[_0x30c97e(0x181)](){var _0x473f11=_0x30c97e,_0x49de12,_0xac3d88;this[_0x473f11(0x3d4)](),(_0x49de12=this[_0x473f11(0x214)])==null||_0x49de12[_0x473f11(0x35d)]({'cmd':F[_0x473f11(0x340)],'data':{'roomID':this[_0x473f11(0x1be)]}}),(_0xac3d88=this[_0x473f11(0x214)])==null||_0xac3d88['close'](),this[_0x473f11(0x1e2)]['complete'](),this[_0x473f11(0x12f)][_0x473f11(0x10e)](),this['dispose']();}[_0x30c97e(0x2d3)](_0x1645f1){var _0xeaf039=_0x30c97e;_0x1645f1[_0xeaf039(0x1ae)]===F[_0xeaf039(0x3ab)]?this[_0xeaf039(0x3d7)](_0x1645f1):_0x1645f1[_0xeaf039(0x1ae)]===F[_0xeaf039(0x3a8)]&&this[_0xeaf039(0x3ce)](_0x1645f1);}['_joinRoom'](_0x5cbcec){var _0x3dbad9=_0x30c97e;this[_0x3dbad9(0x12f)][_0x3dbad9(0x2c2)](0x1),_0x5cbcec[_0x3dbad9(0x35d)]({'cmd':F[_0x3dbad9(0x3ab)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x30c97e(0x3d7)](_0x5efb40){var _0x53b81e=_0x30c97e,_0x3d1062;if(_0x5efb40[_0x53b81e(0x1c0)]in Kt){this[_0x53b81e(0x125)]['emitEvent']({'id':re[_0x53b81e(0x16d)],'data':Kt[_0x5efb40[_0x53b81e(0x1c0)]]}),this[_0x53b81e(0x12f)][_0x53b81e(0x2c2)](0x2);return;}this[_0x53b81e(0x12f)][_0x53b81e(0x2c2)](0x3);const _0x512eb2=(_0x3d1062=_0x5efb40['data'][_0x53b81e(0x331)][this[_0x53b81e(0x1be)]])==null?void 0x0:_0x3d1062[_0x53b81e(0x332)];_0x512eb2&&_0x512eb2['forEach'](_0x4c4860=>this[_0x53b81e(0x3c5)][_0x53b81e(0x38e)](this['_unitID'],_0x4c4860));}[_0x30c97e(0x3ce)](_0x359f2a){var _0x13d2cf=_0x30c97e;try{const _0x24769d=_0x359f2a['data'];switch(_0x24769d[_0x13d2cf(0x29f)]){case _0x4b61f7[_0x13d2cf(0x35c)]:this[_0x13d2cf(0x19f)](_0x24769d),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x31b)]:this[_0x13d2cf(0x31d)](_0x24769d),this['_event$'][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x38b)]:case _0x4b61f7[_0x13d2cf(0x2d2)]:this[_0x13d2cf(0x1f5)](),this[_0x13d2cf(0x407)](),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x328)]:this[_0x13d2cf(0x247)][_0x13d2cf(0x250)](_0x13d2cf(0x21a)+JSON[_0x13d2cf(0x21f)](_0x24769d)),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x396)]:this[_0x13d2cf(0x316)][_0x13d2cf(0x14b)](_0x24769d[_0x13d2cf(0x3c2)]),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;default:this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);}}catch(_0x427069){this[_0x13d2cf(0x247)][_0x13d2cf(0x250)](_0x427069,_0x359f2a);}}[_0x30c97e(0x19f)](_0x13ea1b){var _0x2eae25=_0x30c97e;this[_0x2eae25(0x3c5)][_0x2eae25(0x38e)](this[_0x2eae25(0x1be)],_0x13ea1b[_0x2eae25(0x3c2)]);}[_0x30c97e(0x31d)](_0x28b102){var _0x3e7dca=_0x30c97e;this[_0x3e7dca(0x3c5)][_0x3e7dca(0x167)](this[_0x3e7dca(0x1be)],_0x28b102[_0x3e7dca(0x3c2)]['memberID']);}async[_0x30c97e(0x35d)](_0x335dc3,_0x38fc32){var _0x5e49ae=_0x30c97e;if(this[_0x5e49ae(0x261)]!==0x3||!this[_0x5e49ae(0x214)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x335dc3[_0x5e49ae(0x29f)]===_0x4b61f7[_0x5e49ae(0x1f8)]&&(this[_0x5e49ae(0x112)](),this['_startTelemetryCollaborationNewChangeset'](_0x335dc3)),this[_0x5e49ae(0x214)][_0x5e49ae(0x35d)]({'cmd':F[_0x5e49ae(0x3ad)],'routeKey':_0x38fc32,'routeType':'','data':_0x335dc3});}catch(_0x210bd4){this[_0x5e49ae(0x247)][_0x5e49ae(0x250)](_0x210bd4);}}[_0x30c97e(0x112)](){var _0x1ba45b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x57fb3d=_0x5b64;this[_0x57fb3d(0x11a)]=null,this[_0x57fb3d(0x125)][_0x57fb3d(0x3cd)]({'id':re[_0x57fb3d(0x2a5)]});},(_0x1ba45b=this['_configService']['getConfig'](mi))!=null?_0x1ba45b:gi);}[_0x30c97e(0x407)](){var _0x5a2377=_0x30c97e;this[_0x5a2377(0x11a)]&&(clearTimeout(this[_0x5a2377(0x11a)]),this[_0x5a2377(0x11a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4e547e){var _0x1703d7=_0x30c97e;if(!this[_0x1703d7(0x3dc)])return;const {data:_0x5e628b}=_0x4e547e,{unitID:_0x1fe663,changeset:_0x43e0bd}=_0x5e628b,{mutations:_0x454344,type:_0x3706d3}=_0x43e0bd;this['_telemetryInfo']={'unitId':_0x1fe663,'type':_0x3706d3,'startTime':performance[_0x1703d7(0x2a6)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x454344)};}[_0x30c97e(0x1f5)](){var _0x4ea33a=_0x30c97e;if(this[_0x4ea33a(0x3dc)]){if(!this[_0x4ea33a(0x2d6)]){this['_logService'][_0x4ea33a(0x250)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ea33a(0x2d6)][_0x4ea33a(0x19e)]=performance[_0x4ea33a(0x2a6)](),this[_0x4ea33a(0x2d6)][_0x4ea33a(0x2e2)]=this[_0x4ea33a(0x2d6)][_0x4ea33a(0x19e)]-this[_0x4ea33a(0x2d6)]['startTime'],this[_0x4ea33a(0x252)][_0x4ea33a(0x191)](Hn,this['_telemetryInfo']),this[_0x4ea33a(0x2d6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4180f8=_0x30c97e;this[_0x4180f8(0x2d6)]=null;}};Et=Wn([me(0x2,_0xf9bcb3),me(0x3,_0x322b89),me(0x4,_0x1aab8b(_0x54440b)),me(0x5,_0x1aab8b(Le)),me(0x6,_0x1aab8b(Ti)),me(0x7,_0x1aab8b(pe)),me(0x8,_0x596184(_0xeab857))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x5eaf64,_0x3d0c24,_0xe83c0a,_0x4fc432)=>{for(var _0x257db1=_0x4fc432>0x1?void 0x0:_0x4fc432?Kn(_0x3d0c24,_0xe83c0a):_0x3d0c24,_0x4c150f=_0x5eaf64['length']-0x1,_0x575b0e;_0x4c150f>=0x0;_0x4c150f--)(_0x575b0e=_0x5eaf64[_0x4c150f])&&(_0x257db1=_0x575b0e(_0x257db1)||_0x257db1);return _0x257db1;},be=(_0x12af1a,_0x44b620)=>(_0x417846,_0x2f0e07)=>_0x44b620(_0x417846,_0x2f0e07,_0x12af1a);let xe=class extends _0x4d3873{constructor(_0x5e15bb,_0x575065,_0x3962be,_0x599026,_0x4f333e,_0x19355c){var _0x44499d=_0x30c97e;super(),N(this,_0x44499d(0x22c),new _0x3d3430(void 0x0)),N(this,_0x44499d(0x2ec),this[_0x44499d(0x22c)][_0x44499d(0x1cc)]()),N(this,_0x44499d(0x188),null),N(this,_0x44499d(0x254),new Map()),N(this,_0x44499d(0x1cb),new _0x3d3430(Ee[_0x44499d(0x344)])),N(this,_0x44499d(0x218),this[_0x44499d(0x1cb)][_0x44499d(0x1cc)]()),N(this,_0x44499d(0x2a8),!0x1),N(this,_0x44499d(0x2cb)),N(this,'_retryCount',0x0),N(this,_0x44499d(0x3d9)),N(this,_0x44499d(0x3a5)),(this[_0x44499d(0x246)]=_0x5e15bb,this['_logService']=_0x575065,this[_0x44499d(0x15e)]=_0x3962be,this[_0x44499d(0x16b)]=_0x599026,this[_0x44499d(0x125)]=_0x4f333e,this['_networkConditionService']=_0x19355c,this[_0x44499d(0x394)]());}get['_socket'](){var _0x5e4b5a=_0x30c97e;return this[_0x5e4b5a(0x22c)][_0x5e4b5a(0x145)]();}[_0x30c97e(0x394)](){var _0x598f74=_0x30c97e;this['_networkConditionService']&&this['disposeWithMe'](this[_0x598f74(0x343)][_0x598f74(0x20f)][_0x598f74(0x3c0)](_0x16a3de=>{var _0x1591bb=_0x598f74;_0x16a3de&&!this[_0x1591bb(0x214)]&&this[_0x1591bb(0x192)](),_0x16a3de||this['_onOffline']();}));}['dispose'](){var _0x2cd5bc=_0x30c97e;super['dispose'](),this[_0x2cd5bc(0x2b7)](),this[_0x2cd5bc(0x3a7)](),this[_0x2cd5bc(0x2ce)](),this[_0x2cd5bc(0x254)][_0x2cd5bc(0x3b3)](_0x8944b9=>_0x8944b9['dispose']()),this['_sessions'][_0x2cd5bc(0x1a8)](),this['_status$'][_0x2cd5bc(0x10e)]();}async['requireSession'](_0x20282c){var _0x49f486=_0x30c97e;if(this[_0x49f486(0x254)][_0x49f486(0x378)](_0x20282c))return this[_0x49f486(0x254)][_0x49f486(0x402)](_0x20282c);this['_tryEnsureSocket']();const _0x29fe09=this['_injector'][_0x49f486(0x1d8)](Et,_0x20282c,this[_0x49f486(0x22c)]['asObservable']());return this[_0x49f486(0x254)][_0x49f486(0x3c8)](_0x20282c,_0x29fe09),_0x29fe09;}[_0x30c97e(0x3e3)](_0x5c4ec1){var _0x1e56c8=_0x30c97e,_0x46d702;const _0x5cf990=this[_0x1e56c8(0x254)]['get'](_0x5c4ec1);_0x5cf990&&(this[_0x1e56c8(0x254)][_0x1e56c8(0x3eb)](_0x5c4ec1),_0x5cf990[_0x1e56c8(0x181)]()),this['_sessions'][_0x1e56c8(0x32b)]||(_0x46d702=this[_0x1e56c8(0x214)])==null||_0x46d702[_0x1e56c8(0x181)]();}[_0x30c97e(0x192)](){var _0x52b22c=_0x30c97e;this['_retryCount']=0x0,this[_0x52b22c(0x2b7)](),this['_tryReconnect']();}[_0x30c97e(0x2b7)](){var _0x404ae8=_0x30c97e;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x404ae8(0x2cb)]),this[_0x404ae8(0x2cb)]=null);}async['_createSocket'](){var _0x50142f=_0x30c97e,_0x22cf99,_0x5b5f6e;const _0x3bfafb=this[_0x50142f(0x15e)][_0x50142f(0x230)](In),_0x200776=this[_0x50142f(0x15e)][_0x50142f(0x230)](q),_0x3978cc=(_0x5b5f6e=(_0x22cf99=_0x200776==null?void 0x0:_0x200776['collabWebSocketUrl'])!=null?_0x22cf99:_0x3bfafb)!=null?_0x5b5f6e:Tn,_0x2ab234=await this[_0x50142f(0x16b)]['createSocket'](_0x3978cc);return this[_0x50142f(0x188)]=_0x2ab234,_0x2ab234;}async[_0x30c97e(0x406)](){var _0x50032a=_0x30c97e,_0x51a7ff,_0x2d1883;try{const _0x412ca9=(_0x2d1883=(_0x51a7ff=this[_0x50032a(0x214)])!=null?_0x51a7ff:this[_0x50032a(0x188)])!=null?_0x2d1883:await this['_createSocket']();if(_0x412ca9){const _0x401ff8=_0x412ca9[_0x50032a(0x35d)];_0x412ca9['send']=_0x53c9bf=>(this[_0x50032a(0x1a0)](),_0x401ff8['apply'](_0x412ca9,[_0x53c9bf])),_0x412ca9[_0x50032a(0x372)][_0x50032a(0x3c0)](_0x137027=>this[_0x50032a(0x339)](_0x412ca9,_0x137027)),_0x412ca9[_0x50032a(0x36a)]['pipe'](_0x4e7a9b(0x1))['subscribe'](_0x46b262=>this[_0x50032a(0x247)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x46b262)),_0x412ca9[_0x50032a(0x2a9)]['pipe'](_0x4e7a9b(0x1))[_0x50032a(0x3c0)](()=>{this['_onConnectionOpen'](_0x412ca9);}),_0x412ca9[_0x50032a(0x1c7)][_0x50032a(0x2a4)](_0x4e7a9b(0x1))[_0x50032a(0x3c0)](_0x465286=>{var _0x18c129=_0x50032a;this[_0x18c129(0x247)]['debug'](_0x18c129(0x2be),_0x18c129(0x249),_0x465286),this[_0x18c129(0x11b)]();});}}catch(_0x38d05c){this[_0x50032a(0x247)][_0x50032a(0x250)](_0x38d05c),this[_0x50032a(0x11b)]();}}['_onConnectionOpen'](_0x5c3ca7){var _0x4b758d=_0x30c97e;this[_0x4b758d(0x247)]['debug'](_0x4b758d(0x2be),_0x4b758d(0x1d3)),_0x5c3ca7['send']({'cmd':F[_0x4b758d(0x207)]}),this[_0x4b758d(0x1a0)]();}[_0x30c97e(0x1f3)](){var _0x136de2=_0x30c97e;this[_0x136de2(0x2a8)]=!0x1,this['_candidateSocket']=null,this[_0x136de2(0x1cb)][_0x136de2(0x2c2)](Ee['OFFLINE']),this['_socket$'][_0x136de2(0x2c2)](null),this['_clearTimeoutTimer'](),this[_0x136de2(0x2ce)]();}[_0x30c97e(0x11b)](){var _0x131486=_0x30c97e,_0x59f9d4;this[_0x131486(0x1f3)](),this['_retryCount']<((_0x59f9d4=this['_configService'][_0x131486(0x230)](On))!=null?_0x59f9d4:yn)?(this[_0x131486(0x125)]['emitEvent']({'id':re[_0x131486(0x131)]}),this[_0x131486(0x173)]()):this['_collaborationUIEventService'][_0x131486(0x3cd)]({'id':re[_0x131486(0x22d)]});}[_0x30c97e(0x173)](){var _0x879d7=_0x30c97e,_0x5786ab;const _0x3f624c=this[_0x879d7(0x365)],_0x5e70ad=this[_0x879d7(0x15e)][_0x879d7(0x230)](q),_0x249f54=_0x3f624c===0x0?0x0:((_0x5786ab=_0x5e70ad==null?void 0x0:_0x5e70ad['retryConnectingInterval'])!=null?_0x5786ab:bn)*0x2**_0x3f624c;this[_0x879d7(0x2cb)]=setTimeout(()=>{var _0x2c8915=_0x879d7;clearTimeout(this[_0x2c8915(0x2cb)]),this[_0x2c8915(0x2cb)]=null,this[_0x2c8915(0x406)]();},_0x249f54),this[_0x879d7(0x365)]+=0x1;}['_onMessage'](_0x2ccfa1,_0x3d6905){var _0x56e484=_0x30c97e;const {cmd:_0x22594a}=_0x3d6905;_0x22594a===F['HELLO']&&!this['_socketReady']&&(_0x2ccfa1[_0x56e484(0x2d5)]=_0x3d6905[_0x56e484(0x3c2)][_0x56e484(0x2d5)],this[_0x56e484(0x22c)][_0x56e484(0x2c2)](_0x2ccfa1),this[_0x56e484(0x1cb)]['next'](Ee[_0x56e484(0x39c)]),this[_0x56e484(0x2a8)]=!0x0,this['_candidateSocket']=null),_0x22594a===F[_0x56e484(0x2c8)]&&this[_0x56e484(0x3a7)](),this['_rescheduleHeartbeat']();}[_0x30c97e(0x1a0)](){var _0x3eb18b=_0x30c97e,_0x15385b;this[_0x3eb18b(0x2ce)](),this[_0x3eb18b(0x3d9)]=setTimeout(()=>this[_0x3eb18b(0x362)](),(_0x15385b=this[_0x3eb18b(0x15e)][_0x3eb18b(0x230)](Cn))!=null?_0x15385b:Rn);}[_0x30c97e(0x362)](){var _0x41864b=_0x30c97e;this['_socket'][_0x41864b(0x35d)]({'cmd':F['HEARTBEAT']}),this[_0x41864b(0x2a7)]();}[_0x30c97e(0x2a7)](){var _0x3d532e=_0x30c97e,_0x534c7a;this[_0x3d532e(0x3a5)]=setTimeout(()=>this[_0x3d532e(0x11b)](),(_0x534c7a=this[_0x3d532e(0x15e)][_0x3d532e(0x230)](mi))!=null?_0x534c7a:gi);}[_0x30c97e(0x2ce)](){var _0x42c6ec=_0x30c97e;this[_0x42c6ec(0x3d9)]!=null&&(clearTimeout(this[_0x42c6ec(0x3d9)]),this['_sendHeartbeatTimer']=null);}[_0x30c97e(0x3a7)](){var _0x1ad03c=_0x30c97e;this[_0x1ad03c(0x3a5)]!=null&&(clearTimeout(this[_0x1ad03c(0x3a5)]),this[_0x1ad03c(0x3a5)]=null);}};xe=Yn([be(0x0,_0x1aab8b(_0x51f454)),be(0x1,_0xf9bcb3),be(0x2,_0x322b89),be(0x3,Ii),be(0x4,_0x1aab8b(pe)),be(0x5,_0x596184(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x30c97e(0x403)]((t+0x100)[_0x30c97e(0x15a)](0x10)['slice'](0x1));function _0x43fe(){var _0x2c75d3=['APPLY_NON_SEQUENTIAL_REVISION','string','resolve','_unitInfo$','COMPRESS_MUTATION_APPLY','processBlock','ws://127.0.0.1:8000/universer-api/comb/connect','disableLocalCache','updateOfflineData','setCurrentUser','loginUrlKey','_roomMembers','keySize','/universer-api/snapshot/','allowed','_iv','leaveEvent','_cipher','onMissedChangesetFetched','PasswordBasedCipher','_ENC_XFORM_MODE','UNIVER_SLIDE','_scheduleCompleteTimestamp','_parse','addHandlerCallback','_HTTPService','CHANGESET_REVISION_CONFILICT','_nRounds','Failed\x20to\x20update\x20permission\x20point','_entities','PY_RUNTIME_SCRIPT_ERROR','status','_onLocalMutation','_snapshotService','localeService','_handlerCallback','_substituteRedoStack','session.room-cnt-exceeds','getTypeOfUnitDisposed$','_transformStateCache','_decreaseWaiting','_collaborationSessionService','eventID','YUUMI_RATE_OVER_LIMIT','_resendTimeout','/-/object/list','CipherParams','pipe','SUBMIT_CHANGESET_TIMEOUT','now','_waitForHeartbeatResponse','_socketReady','open$','clone','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','headers','getCurrentUser','type','call','sendChangesetTimeout','Cipher','UUID','createDecryptor','unitInfo$','LICENSE_DISTRO_REJECTED','collaMsg','_clearRetryConnectingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encrypt','unit-cache-','name','DEFAULT_FILE_NAME','session.room-not-exists','[CollaborationSessionService]','padding','_loadDoc','_toggleOffline','next','collabSubmitChangesetUrl','COLLAB_SUBMIT_CHANGESET_URL','_getCurrentRevision','[FetchMissState]','not_collab','HEARTBEAT','OTHER_CLIENT_EDITING','_updateState','_retryConnectingTimer','HttpImport','href','_clearHeartbeatTimer','/universer-api/stream/file/upload','_changesetReqId','authzUrl','CHANGESET_SHOULD_RETRY','_onCombEvent','_compressMutationService','memberID','_telemetryInfo','collaboration-client.local-cache-service','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_socketMessageSubscription','_onRemoteACK','_transformStack','UnitSnapshot','getActiveSheet','actions','parse','getLatestCsReqIdBySid','COMPRESS_MUTATION_SEND','duration','_init','blockSize','SerializableCipher','enableOfflineEditing','collaboratorID','infoRsp','rev','add','Undefined','socket$','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','enc','addImageSourceCache','CLOSE_ROOM','awaiting','WordArray','uploadFileServerUrl','collaboration_new_changeset','getUnitType','roles','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_PROJECT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','USER_NOT_INVITED_CODE','_hash','state$','HmacSHA1','_clearScheduledTask','HEARTBEAT_INTERVAL','__creator','YUUMI_NO_CUBOID_FOR_QUESTION','revision','[CollaborationUndoRedoService]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_state','put','hostname','FAIL','_collaborationPaused','Could\x20not\x20dynamically\x20require\x20\x22','resend','onStateChange','reject','_changesetSessionId','_doCreateSocket','reduce','isArray','EMAIL_HAS_BEEN_BOUND','lib','[OfflineState]:\x20received\x20changeset.','_commentService','requireSession','/object','listRoles','_singleActiveUnitService','USERS_LEAVE','_getDownloadEndpointURL','_onUserLeave','BlockCipher','Encryptor','NEW_CHANGESETS','onSendChangeset','method','socketService','BlockCipherMode','decryptBlock','INVALID_ARGUMENT','_sender','MSG_FOR_ERROR','createCollaborator','csShouldRetryEvent','size','failed\x20to\x20apply\x20missed\x20changesets!','editingUnit','commentUpdateEvent','unpad','PENDING','roomInfos','members','LIVESHARE_TERMINATE','_applyRemoteChangeset','6957384jlQVfm','offline','decrypt','length','_onMessage','createEncryptor','ERROR_IMAGE','textRanges','joinRsp','_updateStatus','INVITE_CODE_HAS_BEEN_UES','LEAVE','_doFinalize','_exhaustRemoteChangesetQueue','_networkConditionService','IDLE','pluginName','COLLAB_WEB_SOCKET_URL','image/jpg','batchAllowed','_syncEditingCollabCursor','filter','crypto','_userManagerService','UPDATE_PERMISSION_OBJ','onSyncEditingCollabCursor','slice','EvpKDF','subUnitId','uniscriptRunEvent','YUUMI_URL_COL_OUT_OF_RANGE','waitForRoom$','cfg','apply','[CollaborationState]:\x20apply\x20error!','OFFLINE','map','awaitingChangeset','join','USERS_ENTER','send','buffer','session','onTransformState','_imageSourceCache','_sendHeartbeat','dispose$','prototype','_retryCount','_mode','_minBufferSize','Malformed\x20UTF-8\x20data','67205lEZhfD','error$','requestParams','_startCollaboration','/-/object/-/batch_allowed','_redoStacks','toggleOnline','url','session.join-failed','message$','/role','univer-pro.collaboration-client.single-active-unit-service','_instanceService','event$','floor','has','onRemoteRetry','_process','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRoom','downloadEndpointUrl','randomUUID','fetchThroughInterceptors','_localCacheService','_onRemoteChangeset','HMAC','override','_createHandler','fromCharCode','2880832LDGFnw','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','hasher','snapshot','CHANGESET_ACK','AES','JOIN_ROOM_PERMISSION_DENIED','updateMember','getInterceptPoints','LOGIN_URL_KEY','permissionRejEvent','_prevBlock','_transformIMECache','_listenToNetworkCondition','registerHTTPInterceptor','COMMENT_UPDATE','loadUnit','transformStack\x20failed!','2lFzufr','copyFileMeta','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ONLINE','_doCryptBlock','_transitionLocked','_initMergeInterceptor','mutations','HEARTBEAT_TIMEOUT','createSocket','objectType','Base64','_timeoutTimer','[PendingState]:\x20received\x20acknowledgement.','_clearTimeoutTimer','RECV','/universer-api/authz','getAllMembers','JOIN','onTransformRemoteChangesetByStateCache','INGEST','Latin1','{fileID}','_hasher','438EUJoUZ','UserProfileImg','forEach','/allowed','unsubscribe','INTERNAL_ERROR','objectID','_showConflictNotification','updatePermissionPoint','pending','setConfig','getUnitStatus$','includes','ERROR_EXCEED_SIZE','LIVESHARE_NEW_HOST','subscribe','JOINING','data','LIVESHARE_REQUEST_HOST','setWaitCount','_memberService','transformChangesets','_permissionService','set','YUUMI_UNABLE_LOAD_URL','loadOfflineData','_schedule','create','emitEvent','_onRecvEvent','_removeRoom','location','shouldCloseConn','encode','_roomCreated$','_throwTelemetryCollaborationNewChangeset','_key','POST','_onJoinRoomEvent','signUrlServerUrl','_sendHeartbeatTimer','sid','min','_shouldReportTelemetry','_clearLocalCache','find','StreamCipher','_sendingTimer','/universer-api/user/session-ticket','saveSheetBlock','closeSession','withCredentials','avatar','_lockTransition','formatter','pad','UNIVER_COLLABORATION_CLIENT_PLUGIN','words','delete','ENSURE_SNAPSHOT_EXECUTION','pauseCollaboration','generateRandomId','LIVESHARE_FETCH_OPERATIONS','synced','patch','_keySchedule','onTransformRemoteChangesetByIMECache','UNISCRIPT_RUN','unitId','getResourcesRequest','LIVESHARE_OPERATION','startsWith','charCodeAt','saveImage','execute','conflict','transformMutationsWithChangeset','UNIVER_UNKNOWN','subject','_loadSheet','Base','get','push','target','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_clearCollaborationTimeoutTimer','SNAPSHOT_SERVER_URL_KEY','onTransformSelections','&source=','getCollabEntity$','_xformMode','saveChangeset','PERMISSION_REJ','executeCommand','randomBytes','baseRev','readInt32LE','univer-pro.collaboration-client-socket-service','APPLY_DUPLICATED','interceptor','random','_univerInstanceService','complete','onMissingChangesets','readAsDataURL','FileId','_scheduleCollaborationTimeoutTimer','workbook','_state$','[PendingState]:\x20received\x20rejection.','onRemoteAck','_append','UnitEmbedded','People','_collaborationTimeoutTimer','_onConnectionFailed','[DataLoaderService]','__esModule','awaiting_with_pending','_initUnitPermissionChange','_waitCount','reset','catch','_getUndoStack','_resendWithTimeout','_collaborationUIEventService','CONFLICT','_handler','Univer','BufferedBlockAlgorithm','exports','bind','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_incrementRevisionNumber','_sessionStatus$','PERSON','SOCKET_FAILED_RETRY','liveShareNewHost','getCurrentSelections','getMember','list','transformUndoRedo','mode','1167193ctzZiL','finalize','extend','_iKey','3daouow','unknown','_eventService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ERROR_IMAGE_TYPE','_awaitingChangeset','APPLY_REJECT','INVITE_CODE_ALREADY_BOUND','encodeURIComponent','getValue','_type','[UniverCollaborationClientPlugin]','isPermissionRej','FETCH_MISS','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onCommentUpdate','sin','30186320QMXoEF','_getLoginPath','_onRemoteRetry','collaboration-client.config','?url=','disposeWithMe','sessionStatus$','selections','GLOBAL_ROOMS_CNT_EXCEEDS','4656564cgMhSm','/unit/','_members','getMemberID','toString','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','byteLength','?size=','_configService','repeat','_createHmacHelper','_oKey','defineProperty','JOIN_ROOM_FULL','&assign=','_DEC_XFORM_MODE','incrementRevOfUnit','removeMember','_onConflict','$super','ivSize','_socketService','format','JOIN_ROOM_FAILED','getFocusedUnit','_undoRedoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getCtorByUniverType','focused$','_tryReconnect','_fetchMissChangesets','image/bmp','INVALID_INVITE_CODE','image/png','1233396wsrpgb','AWAITING','getUnitOnRev','indexOf','hasOwnProperty','listCollaborators','fromCollab','onlyLocal','title','close','/universer-api/file/{fileID}/sign-url','result','_members$','toggleOffline','fetching\x20missing\x20changesets\x20from\x20','_getRedoStack','_candidateSocket','members$','NOT_COLLAB','_replayCachedMutations','_snapshotServerService','_reverseMap','fetch_missing','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onStarting','capture','reconnect','[CollaborationEntity]','resourceIDs','unitId\x20is\x20not\x20found','YUUMI_ASYNCIO_CANCELLED','_sheetTransformSelectionsService','_remoteChangesetQueue','reqId','_acknowledgedAwaitingChangeset','_data','onload','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','stopTime','_onUserJoin','_rescheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','_createInitialState','APPLY_PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','/object/','_map','_clearUndo','clear','from','_checkMissing','[SyncedState]:\x20received\x20rejection.','INVITE_CODE_REQUIRED','connection\x20error','cmd','SHA1','deleteCollaborator','\x0aCurrent:\x20','CONNECTOR_DATA_TOO_LARGE','clamp','_localeService','substr','_transformRemoteChangesetByIMECache','compute','init','LOCAL_CACHE_INTERVAL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_change$','function','COMPLETION_FINISHED','_unitID','SUCCUSS','code','concat','_revisionService','sheets','putCollaborators','UNKNOWN_CODE','_queuedRemoteChangesets','close$','_getUploadFileURL','unitID','loadSheet','_status$','asObservable','UNIVER_DOC','SHOULD_CLOSE_CONN','default','reverse','_clearRedo','Utf8','socket\x20open.','getSheetBlock','OpenSSL','_getAPIPrefix','getCurrentRevOfUnit','createInstance','TOO_MANY_REQUESTS','routeKey','csAckEvent','iterations','_httpService','_onFetchMissResult','_unlockTransition','onLocalMutation','_config','_event$','LOGIN_FAILED','updateCursorEvent','mixIn','transformSelections','localCacheService','\x20to\x20','charAt','PSEUDO_FETCH_MISSING_RESULT','getOwnPropertyDescriptor','UNDEFINED','_toggleOnline','dispose','debug','onRemoteRej','entries','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onOffline','\x20in\x20_schedule.','_stopTelemetryCollaborationNewChangeset','compose','splice','SUBMIT_CHANGESET','onRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','_keyPriorReset','FETCH_MISSING','_getSendChangesetTimeout','MOBILE_HAS_BEEN_BOUND','sigBytes','AUTHZ_URL_KEY','SNAPSHOT_URL_KEY','_submitChangeset','action','UNIVER_SHEET','msCrypto','_commandService','HELLO','_entityInit$','_doProcessBlock','UNRECOGNIZED','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','ALREADY_EXISTS','UNAUTHENTICATED','online$','ciphertext','c1Prime','file','liveShareOperation','_socket','body','_transformService','getDeserializedSheetBlock','status$','_substituteUndoStack','save\x20fail\x20reason\x20is\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','auth.needGotoLoginAlert','CHANGESET_REJ','stringify','_updateLocalCache','every','byteOffset','/collaborator','readyForCollab','MD5','getTime','max','OPTIONAL','range','/resources','/block/','_socket$','SOCKET_FAILED','c2Prime','_transformSelections','getConfig','PERMISSION_DENIED','NoPadding','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','state','algo','_transformRemoteChangesetByStateCache','SYNCED','userID','refreshPermission','originalMeta','session.room-full','&to=','_createHelper','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','MUTATION','/rev/','_createInitialStateImpl','_transformUndoredo','onTransformIME','getSnapshotAPIPath','Hasher','_injector','_logService','_initDependencies','socket\x20close','params','image/gif','onCommandExecuted','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getAPIPrefixPath','collaborators','error','salt','_telemetryService','joinEvent','_sessions','post','RETRY_CONNECTING_MAX_COUNT','getRandomValues','appendMutation','_invKeySchedule','ceil','_nDataBytes','SEND_CHANGESET_TIMEOUT','_isPermissionRej','rng','_executeRemoteChangeset','values','sessionStatus','getTypeOfUnitAdded$','_getSignURL','Decryptor','update','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_pendingMutations','setShowComponents','[CollaborationSession]','Pkcs7','submit\x20changeset\x20error!','updateCollaborator','AWAITING_WITH_PENDING','m2Prime','_onRemoteRejected','change$','_registerDependencies','_resendTimer','_collabSessionService','_replaceFileID'];_0x43fe=function(){return _0x2c75d3;};return _0x43fe();}function qn(_0x4bd768,_0x33eb37=0x0){return(V[_0x4bd768[_0x33eb37+0x0]]+V[_0x4bd768[_0x33eb37+0x1]]+V[_0x4bd768[_0x33eb37+0x2]]+V[_0x4bd768[_0x33eb37+0x3]]+'-'+V[_0x4bd768[_0x33eb37+0x4]]+V[_0x4bd768[_0x33eb37+0x5]]+'-'+V[_0x4bd768[_0x33eb37+0x6]]+V[_0x4bd768[_0x33eb37+0x7]]+'-'+V[_0x4bd768[_0x33eb37+0x8]]+V[_0x4bd768[_0x33eb37+0x9]]+'-'+V[_0x4bd768[_0x33eb37+0xa]]+V[_0x4bd768[_0x33eb37+0xb]]+V[_0x4bd768[_0x33eb37+0xc]]+V[_0x4bd768[_0x33eb37+0xd]]+V[_0x4bd768[_0x33eb37+0xe]]+V[_0x4bd768[_0x33eb37+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x547545=_0x30c97e;if(!ut){if(typeof crypto>'u'||!crypto[_0x547545(0x257)])throw new Error(_0x547545(0x15b));ut=crypto[_0x547545(0x257)][_0x547545(0x12b)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x30c97e(0x37e)]&&crypto[_0x30c97e(0x37e)][_0x30c97e(0x12b)](crypto),Yt={'randomUUID':Xn};function Zn(_0x15c3da,_0xdd2b8b,_0x2fdf7d){var _0x28992c=_0x30c97e,_0x6322fa,_0x134292,_0x38e758;if(Yt[_0x28992c(0x37e)]&&!_0x15c3da)return Yt[_0x28992c(0x37e)]();_0x15c3da=_0x15c3da||{};const _0x321584=(_0x38e758=(_0x134292=_0x15c3da['random'])!=null?_0x134292:(_0x6322fa=_0x15c3da[_0x28992c(0x25e)])==null?void 0x0:_0x6322fa['call'](_0x15c3da))!=null?_0x38e758:Jn();if(_0x321584['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x321584[0x6]=_0x321584[0x6]&0xf|0x40,_0x321584[0x8]=_0x321584[0x8]&0x3f|0x80,qn(_0x321584);}const J=_0x3ae368(_0x30c97e(0x2d7));function Br(_0x50d8b9){var _0x4d529b=_0x30c97e;return _0x4d529b(0x2ba)+_0x50d8b9;}var Qn=Object[_0x30c97e(0x1eb)],es=(_0x706087,_0x3d3bb2,_0x4854a0,_0xe96dab)=>{var _0x3a36d8=_0x30c97e;for(var _0x1623d9=_0xe96dab>0x1?void 0x0:_0xe96dab?Qn(_0x3d3bb2,_0x4854a0):_0x3d3bb2,_0x51e05a=_0x706087[_0x3a36d8(0x338)]-0x1,_0x4c56d0;_0x51e05a>=0x0;_0x51e05a--)(_0x4c56d0=_0x706087[_0x51e05a])&&(_0x1623d9=_0x4c56d0(_0x1623d9)||_0x1623d9);return _0x1623d9;},dt=(_0x1ba961,_0x46526a)=>(_0x3e0471,_0x5a6112)=>_0x46526a(_0x3e0471,_0x5a6112,_0x1ba961);function ts(_0x14c9d0){var _0x417bd6=_0x30c97e;const {unitID:_0x20174c,mutations:_0x2ccff7}=_0x14c9d0;return{'unitId':_0x20174c,'subUnitId':_0x2ccff7[0x0][_0x417bd6(0x24a)][_0x417bd6(0x351)]};}let it=class{constructor(_0x32b5d3,_0x1b2405,_0x34ca11){var _0x506171=_0x30c97e;this[_0x506171(0x246)]=_0x32b5d3,this[_0x506171(0x216)]=_0x1b2405,this[_0x506171(0x375)]=_0x34ca11;}[_0x30c97e(0x1e6)](_0x45eeab){var _0x2d890f=_0x30c97e,_0x9cb455,_0xeb6150,_0xefd88f,_0x13ecc0;const _0x2d7c9d=this[_0x2d890f(0x246)][_0x2d890f(0x402)](_0x49675a),{unitId:_0x27dcb1,subUnitId:_0x4fc973}=ts(_0x45eeab),_0x1dda27=_0x2d7c9d==null?void 0x0:_0x2d7c9d['getWorkbookSelections'](_0x27dcb1)[_0x2d890f(0x133)](),_0x4e0a2c=(_0xeb6150=(_0x9cb455=this[_0x2d890f(0x375)]['getUnit'](_0x27dcb1))==null?void 0x0:_0x9cb455[_0x2d890f(0x2dd)]())==null?void 0x0:_0xeb6150['getSheetId']();if(_0x1dda27[_0x2d890f(0x338)]===0x0||!_0x27dcb1||!_0x4fc973)return;const _0xc074d5=[{'id':_0x2891da['id'],'params':{'unitId':_0x27dcb1,'subUnitId':_0x4e0a2c,'selections':_0x465d47['deepClone'](_0x1dda27)}}],_0x46bed9=this[_0x2d890f(0x216)][_0x2d890f(0x3fd)](_0x45eeab,_0xc074d5);if(!_0x3a4a2e(_0x46bed9))throw _0x46bed9['error'];const _0x3192dd=(_0x13ecc0=(_0xefd88f=_0x46bed9[_0x2d890f(0x26e)][0x0])==null?void 0x0:_0xefd88f['params'])==null?void 0x0:_0x13ecc0[_0x2d890f(0x154)];if(Array[_0x2d890f(0x312)](_0x3192dd)&&_0x3192dd[_0x2d890f(0x338)]){if(_0x3192dd[_0x2d890f(0x338)]===_0xc074d5[0x0][_0x2d890f(0x24a)][_0x2d890f(0x154)]['length']&&_0x3192dd[_0x2d890f(0x221)]((_0x5e1cda,_0x24b9c0)=>_0x280ca3['equals'](_0x5e1cda['range'],_0xc074d5[0x0][_0x2d890f(0x24a)][_0x2d890f(0x154)][_0x24b9c0][_0x2d890f(0x229)])))return;this[_0x2d890f(0x246)][_0x2d890f(0x402)](_0xb43912)['executeCommand'](_0x2891da['id'],{'unitId':_0x27dcb1,'subUnitId':_0x4e0a2c,'selections':_0x3192dd});}}};it=es([dt(0x0,_0x1aab8b(_0x51f454)),dt(0x1,_0x19d1d9),dt(0x2,_0x31aedc)],it);const ht=_0x3ae368(_0x30c97e(0x374));var Ci=(_0x54b3ce=>(_0x54b3ce[_0x54b3ce[_0x30c97e(0x1a1)]=0x0]=_0x30c97e(0x1a1),_0x54b3ce[_0x54b3ce[_0x30c97e(0x388)]=0x1]='OTHER_CLIENTS_EDITING',_0x54b3ce))(Ci||{});const is=new Set([_0xc931c4['id']]);function qt(_0x9f018c,_0x46a2f1,_0x3390c0,_0x4efab4,_0x4f23fa){var _0x1541f4=_0x30c97e,_0x5bdc33,_0x109c49,_0x38498b,_0x37c683;const _0x562719=[];for(const _0x5cac51 of _0x9f018c)if(is[_0x1541f4(0x378)](_0x5cac51['id'])){if(_0x562719['length']>0x0)break;_0x562719[_0x1541f4(0x403)](_0x5cac51);break;}else _0x562719[_0x1541f4(0x403)](_0x5cac51);const _0xb64e2b=(_0x109c49=(_0x5bdc33=_0x4f23fa[_0x1541f4(0x2ad)]())==null?void 0x0:_0x5bdc33[_0x1541f4(0x238)])!=null?_0x109c49:_0x1541f4(0x13d),_0x16e415=(_0x37c683=(_0x38498b=_0x4f23fa[_0x1541f4(0x2ad)]())==null?void 0x0:_0x38498b[_0x1541f4(0x2d5)])!=null?_0x37c683:_0x1541f4(0x13d);return{'changeset':{'unitID':_0x46a2f1,'type':_0x529f3a(_0x3390c0[_0x1541f4(0x2f6)](_0x46a2f1)),'baseRev':_0x4efab4[_0x1541f4(0x1d7)](_0x46a2f1),'revision':0x0,'userID':_0xb64e2b,'memberID':_0x16e415,'mutations':_0x562719},'pendingMutations':_0x9f018c['slice'](_0x562719['length'])};}function ns(_0xcec266,_0xdcf55b,_0x3f3111,_0x5f3fb7,_0x18c84a){var _0x251a56=_0x30c97e,_0x3fa579,_0x523c6e,_0x4d376e,_0x5edafe;const _0x525bf2=[_0xcec266[_0x251a56(0x311)]((_0x201b5d,_0x4f1730)=>{var _0x501059=_0x251a56,_0x4bf606;const {id:_0x332861}=_0x201b5d,{id:_0x192419,type:_0x377f39}=_0x4f1730,_0x136ed9=(_0x4bf606=_0x201b5d[_0x501059(0x24a)])!=null?_0x4bf606:{'actions':null},_0x57caeb=_0x4f1730['params'];if(_0x332861&&_0x332861!==_0x192419)throw new Error(_0x501059(0x19d)+_0x332861+'\x20-\x20'+_0x192419+'.');return{..._0x201b5d,'id':_0x192419,'type':_0x377f39,'params':{'unitId':_0x57caeb[_0x501059(0x3f5)],'textRanges':_0x57caeb[_0x501059(0x33c)],'actions':_0x4f1190[_0x501059(0x1f6)](_0x136ed9['actions'],_0x57caeb[_0x501059(0x2de)])}};},{})],_0x3a532b=(_0x523c6e=(_0x3fa579=_0x18c84a['getCurrentUser']())==null?void 0x0:_0x3fa579[_0x251a56(0x238)])!=null?_0x523c6e:_0x251a56(0x13d),_0x1545d1=(_0x5edafe=(_0x4d376e=_0x18c84a[_0x251a56(0x2ad)]())==null?void 0x0:_0x4d376e[_0x251a56(0x2d5)])!=null?_0x5edafe:_0x251a56(0x13d);return{'changeset':{'unitID':_0xdcf55b,'type':_0x529f3a(_0x3f3111[_0x251a56(0x2f6)](_0xdcf55b)),'baseRev':_0x5f3fb7[_0x251a56(0x1d7)](_0xdcf55b),'revision':0x0,'userID':_0x3a532b,'memberID':_0x1545d1,'mutations':_0x525bf2},'pendingMutations':[]};}function Ri(_0x1dcd93,_0x33d1a9){var _0x53b758=_0x30c97e;const _0x4ce786=new _0x1fccdb(0x1);return setTimeout(()=>_0x4ce786['next'](_0x33d1a9),_0x1dcd93),_0x4ce786[_0x53b758(0x1cc)]()[_0x53b758(0x2a4)](_0x1cbcf0(0x1));}const ss={'id':_0x3713ae['id'],'type':_0x1018f9[_0x30c97e(0x23f)],'params':{}};var rs=Object[_0x30c97e(0x1eb)],Te=(_0x3bf48e,_0x50ff61,_0x35f90a,_0x3720f1)=>{var _0x2c8570=_0x30c97e;for(var _0x456dbf=_0x3720f1>0x1?void 0x0:_0x3720f1?rs(_0x50ff61,_0x35f90a):_0x50ff61,_0x42f5cc=_0x3bf48e[_0x2c8570(0x338)]-0x1,_0x2a14c4;_0x42f5cc>=0x0;_0x42f5cc--)(_0x2a14c4=_0x3bf48e[_0x42f5cc])&&(_0x456dbf=_0x2a14c4(_0x456dbf)||_0x456dbf);return _0x456dbf;},P=(_0xfdc87b,_0x2a605b)=>(_0x4ce54f,_0x219552)=>_0x2a605b(_0x4ce54f,_0x219552,_0xfdc87b),bi=(_0x5a83cc=>(_0x5a83cc[_0x30c97e(0x18a)]=_0x30c97e(0x2c7),_0x5a83cc[_0x30c97e(0x237)]=_0x30c97e(0x3f0),_0x5a83cc[_0x30c97e(0x330)]=_0x30c97e(0x3ba),_0x5a83cc[_0x30c97e(0x179)]=_0x30c97e(0x2f2),_0x5a83cc[_0x30c97e(0x26d)]='awaiting_with_pending',_0x5a83cc[_0x30c97e(0x149)]=_0x30c97e(0x18e),_0x5a83cc[_0x30c97e(0x126)]=_0x30c97e(0x3fc),_0x5a83cc[_0x30c97e(0x358)]=_0x30c97e(0x336),_0x5a83cc))(bi||{});const Oi=0xea60;class Ce{constructor(_0x5002c4,_0x40c583,_0x13d4a3,_0x13453b,_0xa7aacf,_0x2eace7,_0x405cfa,_0x5b25c9,_0x4a201b){var _0x2894f9=_0x30c97e;N(this,_0x2894f9(0x141),null),N(this,_0x2894f9(0x267),[]),(this[_0x2894f9(0x1c9)]=_0x5002c4,this['type']=_0x40c583,this['_handler']=_0xa7aacf,this[_0x2894f9(0x206)]=_0x2eace7,this[_0x2894f9(0x16f)]=_0x405cfa,this[_0x2894f9(0x1c2)]=_0x5b25c9,this[_0x2894f9(0x380)]=_0x4a201b,this[_0x2894f9(0x141)]=_0x13d4a3,this[_0x2894f9(0x267)]=_0x13453b);}[_0x30c97e(0x1aa)](_0x42e64b){var _0xacf5ff=_0x30c97e;const _0x3cac45=this[_0xacf5ff(0x1c2)]['getCurrentRevOfUnit'](this[_0xacf5ff(0x1c9)]);return _0x42e64b['revision']>_0x3cac45+0x1?(this[_0xacf5ff(0x127)][_0xacf5ff(0x10f)]({'from':_0x3cac45,'to':_0x42e64b[_0xacf5ff(0x303)]-0x1}),!0x0):!0x1;}[_0x30c97e(0x242)](_0x5c24cb){var _0x1c5a50=_0x30c97e;this[_0x1c5a50(0x16f)][_0x1c5a50(0x136)](this[_0x1c5a50(0x1c9)],_0x5c24cb);}[_0x30c97e(0x22f)](_0x5a1d34){var _0x5e7f01=_0x30c97e,_0x3603f4,_0x2e7dac;(_0x2e7dac=(_0x3603f4=this[_0x5e7f01(0x127)])[_0x5e7f01(0x409)])==null||_0x2e7dac[_0x5e7f01(0x2af)](_0x3603f4,_0x5a1d34);}['_transformIMECache'](_0x48262c){var _0x3ae0fe=_0x30c97e,_0x5a8b9c,_0x5f3acc;return(_0x5f3acc=(_0x5a8b9c=this[_0x3ae0fe(0x127)])[_0x3ae0fe(0x243)])==null?void 0x0:_0x5f3acc['call'](_0x5a8b9c,_0x48262c);}['_transformStateCache'](_0x5a5363){var _0x5a510a=_0x30c97e,_0x56e081,_0x1f77a5;return(_0x1f77a5=(_0x56e081=this[_0x5a510a(0x127)])[_0x5a510a(0x360)])==null?void 0x0:_0x1f77a5[_0x5a510a(0x2af)](_0x56e081,_0x5a5363);}[_0x30c97e(0x1b6)](_0xe68374){var _0x12238b=_0x30c97e,_0x18dd0f,_0xdfa26f,_0x5dc236;return(_0x5dc236=(_0xdfa26f=(_0x18dd0f=this[_0x12238b(0x127)])[_0x12238b(0x3f3)])==null?void 0x0:_0xdfa26f['call'](_0x18dd0f,_0xe68374))!=null?_0x5dc236:_0xe68374;}[_0x30c97e(0x236)](_0x47d7fd){var _0x365a91=_0x30c97e,_0x52aa1c,_0x286836,_0x41c44c;return(_0x41c44c=(_0x286836=(_0x52aa1c=this[_0x365a91(0x127)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x286836[_0x365a91(0x2af)](_0x52aa1c,_0x47d7fd))!=null?_0x41c44c:_0x47d7fd;}[_0x30c97e(0x349)](_0x4f5ecc){var _0x5f2542=_0x30c97e,_0x3ad0ee,_0x2c2391;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x2cd222,mutations:_0x1b483a,memberID:_0x4a646d}=_0x4f5ecc,_0x1f72cc=_0x1b483a[0x0]['params']['textRanges'];Array[_0x5f2542(0x312)](_0x1f72cc)&&_0x1f72cc[_0x5f2542(0x338)]>0x0&&((_0x2c2391=(_0x3ad0ee=this[_0x5f2542(0x127)])[_0x5f2542(0x34e)])==null||_0x2c2391[_0x5f2542(0x2af)](_0x3ad0ee,{'unitID':_0x2cd222,'memberID':_0x4a646d,'textRanges':_0x1f72cc}));}}[_0x30c97e(0x220)](){var _0xe519f=_0x30c97e,_0x21d7d0;(_0x21d7d0=this[_0xe519f(0x380)])==null||_0x21d7d0[_0xe519f(0x27d)](this[_0xe519f(0x1c9)],this['type'],this[_0xe519f(0x141)],this['_pendingMutations']);}[_0x30c97e(0x2c5)](){var _0xb7f7f4=_0x30c97e;return this['_revisionService'][_0xb7f7f4(0x1d7)](this[_0xb7f7f4(0x1c9)]);}[_0x30c97e(0x12e)](){var _0x23091d=_0x30c97e;this['_revisionService'][_0x23091d(0x166)](this[_0x23091d(0x1c9)]);}[_0x30c97e(0x25f)](_0x14d103){var _0x1fd11d=_0x30c97e,_0x4b4257;let _0x348256=this['_transformRemoteChangesetByIMECache'](_0x14d103);_0x348256=this[_0x1fd11d(0x236)](_0x348256);const _0x27c9c4=_0x5a5a75(_0x348256[_0x1fd11d(0x3a0)],this['_commandService'],{'fromCollab':!0x0});if(!_0x27c9c4[_0x1fd11d(0x183)])throw _0x27c9c4['error']instanceof Error?_0x27c9c4['error']:new Error((_0x4b4257=_0x27c9c4[_0x1fd11d(0x250)])!=null?_0x4b4257:_0x1fd11d(0x357));this[_0x1fd11d(0x393)](_0x348256),this[_0x1fd11d(0x29c)](_0x348256),this[_0x1fd11d(0x242)](_0x14d103),this['_transformSelections'](_0x348256),this['_syncEditingCollabCursor'](_0x348256),this[_0x1fd11d(0x12e)]();}}let Ne=class extends Ce{constructor(_0x27f6c2,_0x519f87,_0x3d5ed1,_0x418024,_0x73c3b1,_0xc4b84e,_0x598e54,_0x2f4c3a,_0x3be72d,_0xbfc209){var _0x4f233f=_0x30c97e;super(_0x27f6c2,_0x519f87,null,[],_0x3d5ed1,_0x598e54,_0xc4b84e,_0x418024,_0xbfc209),N(this,_0x4f233f(0x294),_0x4f233f(0x3f0)),(this[_0x4f233f(0x246)]=_0x73c3b1,this[_0x4f233f(0x247)]=_0x2f4c3a,this[_0x4f233f(0x216)]=_0x3be72d,this['localCacheService']=_0xbfc209);}[_0x30c97e(0x258)](_0xcf3c14){var _0x5f28ef=_0x30c97e;const _0x2fe655=this[_0x5f28ef(0x246)][_0x5f28ef(0x1d8)](ae,this[_0x5f28ef(0x1c9)],this[_0x5f28ef(0x2ae)],[_0xcf3c14],this[_0x5f28ef(0x127)]);return _0x2fe655[_0x5f28ef(0x3cb)](),_0x2fe655[_0x5f28ef(0x220)](),_0x2fe655;}[_0x30c97e(0x1f9)](_0x3de7e6){var _0x744143=_0x30c97e;if(this[_0x744143(0x1aa)](_0x3de7e6))return this['_injector'][_0x744143(0x1d8)](ee,this[_0x744143(0x1c9)],this['type'],null,[],null,[_0x3de7e6],this[_0x744143(0x127)]);try{const _0x357d43=this[_0x744143(0x216)][_0x744143(0x3fd)](_0x3de7e6,[ss]);if(_0x3a4a2e(_0x357d43)){const {c1Prime:_0x3cff94}=_0x357d43;return this['_executeRemoteChangeset'](_0x3cff94),this;}throw _0x357d43['error'];}catch(_0x636eb1){return this[_0x744143(0x247)][_0x744143(0x250)](_0x636eb1),this[_0x744143(0x168)](!0x1);}}[_0x30c97e(0x168)](_0x6ee184){var _0x59573e=_0x30c97e;return this[_0x59573e(0x246)][_0x59573e(0x1d8)](ue,this[_0x59573e(0x1c9)],this[_0x59573e(0x2ae)],null,[],this[_0x59573e(0x127)],_0x6ee184);}[_0x30c97e(0x116)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x30c97e(0x1f0)](){var _0x45cc79=_0x30c97e;throw new Error(_0x45cc79(0x1ab));}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){var _0x268df7=_0x30c97e;return this[_0x268df7(0x246)][_0x268df7(0x1d8)](de,this[_0x268df7(0x1c9)],this[_0x268df7(0x2ae)],null,[],this['_handler']);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5bdc54=_0x30c97e;const _0x30444c=this['_revisionService'][_0x5bdc54(0x1d7)](this['unitID']);return this['_handler'][_0x5bdc54(0x10f)]({'from':_0x30444c,'to':0x0}),this['_injector'][_0x5bdc54(0x1d8)](ee,this['unitID'],this[_0x5bdc54(0x2ae)],null,[],null,[],this[_0x5bdc54(0x127)]);}};Ne=Te([P(0x3,_0x1aab8b(_0x5e781e)),P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x3e575f),P(0x6,_0xb43912),P(0x7,_0xf9bcb3),P(0x8,_0x19d1d9),P(0x9,_0x596184(J))],Ne);let ae=class extends Ce{constructor(_0x163207,_0x33821b,_0x169cb7,_0x12867b,_0x22b001,_0x3c3a6d,_0x14bca8,_0xf78e08,_0x4deb9e,_0x523a12,_0x29c569,_0x51ea8e,_0x5eab7a,_0xe6f8dd){var _0xc274f3=_0x30c97e;super(_0x163207,_0x33821b,null,_0x169cb7,_0x12867b,_0x4deb9e,_0x5eab7a,_0x3c3a6d,_0xe6f8dd),N(this,_0xc274f3(0x294),_0xc274f3(0x3ba)),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0xc274f3(0x246)]=_0x22b001,this[_0xc274f3(0x3c5)]=_0x14bca8,this[_0xc274f3(0x247)]=_0xf78e08,this['_configService']=_0x523a12,this['_transformService']=_0x29c569,this[_0xc274f3(0x10d)]=_0x51ea8e);}[_0x30c97e(0x258)](_0xc8d949){var _0x5f3b17=_0x30c97e;return this[_0x5f3b17(0x267)][_0x5f3b17(0x403)](_0xc8d949),this[_0x5f3b17(0x220)](),this;}['onRemoteChangeset'](_0x477be4){var _0xd6bc90=_0x30c97e;if(this['_checkMissing'](_0x477be4))return this[_0xd6bc90(0x2ff)](),this[_0xd6bc90(0x246)][_0xd6bc90(0x1d8)](ee,this['unitID'],this[_0xd6bc90(0x2ae)],null,this[_0xd6bc90(0x267)],null,[_0x477be4],this[_0xd6bc90(0x127)]);try{const _0x3f91a4=this[_0xd6bc90(0x216)][_0xd6bc90(0x3fd)](_0x477be4,this[_0xd6bc90(0x267)]);if(_0x3a4a2e(_0x3f91a4)){const {c1Prime:_0x4c93b3,m2Prime:_0x1064e1}=_0x3f91a4;this[_0xd6bc90(0x25f)](_0x4c93b3);const _0x231de2=this['_injector']['createInstance'](ae,this[_0xd6bc90(0x1c9)],this[_0xd6bc90(0x2ae)],_0x1064e1,this['_handler']);this[_0xd6bc90(0x2ff)]();const _0x574d31=new Date()[_0xd6bc90(0x226)](),_0x575b75=this[_0xd6bc90(0x28b)]?Math[_0xd6bc90(0x227)](this[_0xd6bc90(0x28b)]-_0x574d31,0x0):this[_0xd6bc90(0x1fd)]();return _0x231de2['_schedule'](_0x575b75),_0x231de2;}throw _0x3f91a4[_0xd6bc90(0x250)];}catch(_0x265977){return this[_0xd6bc90(0x247)][_0xd6bc90(0x250)](_0x265977),this['_onConflict'](!0x1);}}[_0x30c97e(0x116)](){var _0x2cea2=_0x30c97e;throw new Error(_0x2cea2(0x3a6));}[_0x30c97e(0x1f0)](){var _0x4194e8=_0x30c97e;throw new Error(_0x4194e8(0x115));}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){var _0x5841c9=_0x30c97e;return this[_0x5841c9(0x2ff)](),this[_0x5841c9(0x246)]['createInstance'](de,this[_0x5841c9(0x1c9)],this[_0x5841c9(0x2ae)],null,this[_0x5841c9(0x267)],this['_handler']);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x3cb)](_0x39ffd6){var _0x365ed4=_0x30c97e;const _0x352dd0=_0x39ffd6!=null?_0x39ffd6:this[_0x365ed4(0x1fd)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x352dd0,this['_sendingTimer']=setTimeout(()=>{var _0x531022=_0x365ed4;this[_0x531022(0x2ff)]();let _0x547123=null;switch(this[_0x531022(0x2ae)]){case Q[_0x531022(0x204)]:{_0x547123=qt(this['_pendingMutations'],this[_0x531022(0x1c9)],this[_0x531022(0x10d)],this[_0x531022(0x1c2)],this[_0x531022(0x3c5)]);break;}case Q[_0x531022(0x1cd)]:{this['_pendingMutations'][_0x531022(0x221)](_0x29f371=>_0x29f371['id']===_0x5c2334['id'])?_0x547123=ns(this[_0x531022(0x267)],this['unitID'],this[_0x531022(0x10d)],this[_0x531022(0x1c2)],this['_memberService']):_0x547123=qt(this[_0x531022(0x267)],this[_0x531022(0x1c9)],this['_univerInstanceService'],this['_revisionService'],this[_0x531022(0x3c5)]);break;}default:throw new Error(_0x531022(0x1f2)+this['type']+_0x531022(0x1f4));}const {changeset:_0x2f8403,pendingMutations:_0x604d92}=_0x547123;this[_0x531022(0x127)][_0x531022(0x321)](_0x2f8403);const _0xcecfb0=_0x604d92[_0x531022(0x338)]?this[_0x531022(0x246)][_0x531022(0x1d8)](oe,this[_0x531022(0x1c9)],this[_0x531022(0x2ae)],_0x2f8403,_0x604d92,this['_handler'],void 0x0):this[_0x531022(0x246)][_0x531022(0x1d8)](le,this[_0x531022(0x1c9)],this[_0x531022(0x2ae)],_0x2f8403,this[_0x531022(0x127)]);_0xcecfb0[_0x531022(0x220)](),this[_0x531022(0x127)][_0x531022(0x30d)](this,_0xcecfb0);},_0x352dd0);}[_0x30c97e(0x1fd)](){var _0x1bf055=_0x30c97e,_0x3c4d0f;const _0xbb64f4=this[_0x1bf055(0x15e)]['getConfig'](q);return(_0x3c4d0f=_0xbb64f4==null?void 0x0:_0xbb64f4[_0x1bf055(0x2b0)])!=null?_0x3c4d0f:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30c97e(0x2ff)](){var _0x1abaa=_0x30c97e;this[_0x1abaa(0x3e0)]!=null&&(clearTimeout(this[_0x1abaa(0x3e0)]),this[_0x1abaa(0x3e0)]=null);}[_0x30c97e(0x168)](_0x101b29){var _0x45d897=_0x30c97e;return this[_0x45d897(0x2ff)](),this[_0x45d897(0x246)][_0x45d897(0x1d8)](ue,this['unitID'],this[_0x45d897(0x2ae)],null,this['_pendingMutations'],this[_0x45d897(0x127)],_0x101b29);}};ae=Te([P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x1aab8b(_0x5e781e)),P(0x6,_0x1aab8b(Le)),P(0x7,_0xf9bcb3),P(0x8,_0xb43912),P(0x9,_0x322b89),P(0xa,_0x19d1d9),P(0xb,_0x31aedc),P(0xc,_0x3e575f),P(0xd,_0x596184(J))],ae);let le=class extends Ce{constructor(_0x3cfa40,_0x46691c,_0xe62a7f,_0x5d8e5c,_0x58a6fe,_0x1a545b,_0x154612,_0x5d3b6e,_0x4c5fbd,_0x2acd67,_0x4cc673){var _0xbc2bc3=_0x30c97e;super(_0x3cfa40,_0x46691c,_0xe62a7f,[],_0x5d8e5c,_0x154612,_0x2acd67,_0x1a545b,_0x4cc673),N(this,'status',_0xbc2bc3(0x2f2)),N(this,_0xbc2bc3(0x2a1),0x0),N(this,_0xbc2bc3(0x272)),N(this,_0xbc2bc3(0x327)),(this['_injector']=_0x58a6fe,this[_0xbc2bc3(0x247)]=_0x5d3b6e,this[_0xbc2bc3(0x216)]=_0x4c5fbd);}[_0x30c97e(0x258)](_0x496e97){var _0x4859ab=_0x30c97e;this[_0x4859ab(0x2ff)]();const _0x2e1c27=this[_0x4859ab(0x246)][_0x4859ab(0x1d8)](oe,this[_0x4859ab(0x1c9)],this[_0x4859ab(0x2ae)],this['_awaitingChangeset'],[_0x496e97],this[_0x4859ab(0x127)],this[_0x4859ab(0x272)]);return _0x2e1c27[_0x4859ab(0x220)](),_0x2e1c27;}[_0x30c97e(0x1f9)](_0x3e5d2e){var _0x3d7a7a=_0x30c97e;if(this[_0x3d7a7a(0x1aa)](_0x3e5d2e))return this['_clearScheduledTask'](),this['_injector'][_0x3d7a7a(0x1d8)](ee,this[_0x3d7a7a(0x1c9)],this['type'],this[_0x3d7a7a(0x141)],[],null,[_0x3e5d2e],this[_0x3d7a7a(0x127)]);try{const _0x4ee48e=this['_transformService'][_0x3d7a7a(0x3c6)]([_0x3e5d2e],[this[_0x3d7a7a(0x141)]],!0x1);if(_0x1a3035(_0x4ee48e)){const {c1Prime:_0x8405bd,c2Prime:_0x192273}=_0x4ee48e;this['_executeRemoteChangeset'](_0x8405bd[0x0]),_0x192273[0x0][_0x3d7a7a(0x411)]=this[_0x3d7a7a(0x2c5)](),this[_0x3d7a7a(0x2ff)]();const _0x1ff5e7=this[_0x3d7a7a(0x246)][_0x3d7a7a(0x1d8)](le,this[_0x3d7a7a(0x1c9)],this[_0x3d7a7a(0x2ae)],_0x192273[0x0],this[_0x3d7a7a(0x127)]);return _0x1ff5e7['_updateLocalCache'](),_0x1ff5e7;}return this[_0x3d7a7a(0x168)](!0x1);}catch(_0x533aed){return this[_0x3d7a7a(0x247)][_0x3d7a7a(0x250)](_0x533aed),this[_0x3d7a7a(0x168)](!0x1);}}[_0x30c97e(0x116)](_0x3f4bc3){var _0x4a27a4=_0x30c97e;this['_clearScheduledTask']();const _0x55319e=this['_revisionService'][_0x4a27a4(0x1d7)](this[_0x4a27a4(0x1c9)]);if(_0x3f4bc3['revision']<_0x55319e-0x1)return this;if(this[_0x4a27a4(0x1aa)](_0x3f4bc3))return this['_injector'][_0x4a27a4(0x1d8)](ee,this[_0x4a27a4(0x1c9)],this[_0x4a27a4(0x2ae)],null,[],this[_0x4a27a4(0x141)],[],this[_0x4a27a4(0x127)]);this['_incrementRevisionNumber']();const _0x3038a6=this[_0x4a27a4(0x246)][_0x4a27a4(0x1d8)](Ne,this['unitID'],this[_0x4a27a4(0x2ae)],this[_0x4a27a4(0x127)]);return _0x3038a6[_0x4a27a4(0x220)](),_0x3038a6;}[_0x30c97e(0x1f0)](_0x349f82){return this['_onConflict'](!!(_0x349f82!=null&&_0x349f82['isPermissionRej']));}[_0x30c97e(0x379)](_0x5844e5){var _0x120060=_0x30c97e;return this[_0x120060(0x2a1)]>Oi?this[_0x120060(0x185)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5844e5[_0x120060(0x199)]}),this[_0x120060(0x327)]=this[_0x120060(0x272)]['subscribe'](({reqId:_0x1e975b,timeout:_0x221e21})=>{var _0x4af052=_0x120060;this[_0x4af052(0x124)](_0x1e975b,_0x221e21);}),this);}[_0x30c97e(0x185)](){var _0x5c06be=_0x30c97e;return this[_0x5c06be(0x2ff)](),this['_injector'][_0x5c06be(0x1d8)](de,this[_0x5c06be(0x1c9)],this[_0x5c06be(0x2ae)],this[_0x5c06be(0x141)],[],this[_0x5c06be(0x127)]);}['toggleOnline'](){return this;}[_0x30c97e(0x30c)](){var _0x40c4c1=_0x30c97e;this[_0x40c4c1(0x127)][_0x40c4c1(0x321)](this[_0x40c4c1(0x141)]);}[_0x30c97e(0x168)](_0x5398a8){var _0x2d0e26=_0x30c97e;return this[_0x2d0e26(0x2ff)](),this[_0x2d0e26(0x246)][_0x2d0e26(0x1d8)](ue,this['unitID'],this[_0x2d0e26(0x2ae)],this[_0x2d0e26(0x141)],[],this[_0x2d0e26(0x127)],_0x5398a8);}[_0x30c97e(0x124)](_0x44ce10,_0x3b7300){var _0x5249e9=_0x30c97e,_0x45fffa;_0x44ce10===((_0x45fffa=this[_0x5249e9(0x141)])==null?void 0x0:_0x45fffa['reqId'])&&(this[_0x5249e9(0x30c)](),this['_resendTimeout']=_0x3b7300===0x0?0x3e8:_0x3b7300*0x2);}['_clearScheduledTask'](){var _0x455bca=_0x30c97e,_0x535bc1;(_0x535bc1=this[_0x455bca(0x327)])==null||_0x535bc1['unsubscribe'](),this[_0x455bca(0x2a1)]=0x0;}};le=Te([P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x1aab8b(_0x5e781e)),P(0x6,_0xb43912),P(0x7,_0xf9bcb3),P(0x8,_0x19d1d9),P(0x9,_0x3e575f),P(0xa,_0x596184(J))],le);let oe=class extends Ce{constructor(_0x5a4336,_0x50609d,_0x100d52,_0x3a815c,_0x2d10f8,_0x29d19b,_0xc10be2,_0x5dce3d,_0x4c1719,_0x267c8b,_0x1a8af2,_0x388599,_0x5a9862){var _0x1a14d9=_0x30c97e;super(_0x5a4336,_0x50609d,_0x100d52,_0x3a815c,_0x2d10f8,_0x4c1719,_0x388599,_0x5dce3d,_0x5a9862),N(this,_0x1a14d9(0x294),_0x1a14d9(0x11e)),N(this,_0x1a14d9(0x2a1),0x0),N(this,_0x1a14d9(0x272)),N(this,_0x1a14d9(0x327)),(this[_0x1a14d9(0x246)]=_0xc10be2,this[_0x1a14d9(0x247)]=_0x267c8b,this['_transformService']=_0x1a8af2,this[_0x1a14d9(0x1e7)]=_0x5a9862,_0x29d19b&&(this[_0x1a14d9(0x272)]=_0x29d19b,this[_0x1a14d9(0x327)]=this[_0x1a14d9(0x272)][_0x1a14d9(0x3c0)](({reqId:_0x484834,timeout:_0xd6e7e1})=>{var _0x20baac=_0x1a14d9;this[_0x20baac(0x124)](_0x484834,_0xd6e7e1);})));}[_0x30c97e(0x258)](_0xf0d0d){var _0x3d85ca=_0x30c97e;return this[_0x3d85ca(0x267)][_0x3d85ca(0x403)](_0xf0d0d),this;}['onRemoteChangeset'](_0x15816e){var _0x279d3b=_0x30c97e;if(this[_0x279d3b(0x1aa)](_0x15816e))return this['_clearScheduledTask'](),this[_0x279d3b(0x246)]['createInstance'](ee,this['unitID'],this[_0x279d3b(0x2ae)],this[_0x279d3b(0x141)],this[_0x279d3b(0x267)],null,[_0x15816e],this[_0x279d3b(0x127)]);try{const _0x15f2ab=this[_0x279d3b(0x216)][_0x279d3b(0x3c6)]([_0x15816e],[this['_awaitingChangeset']],!0x1);if(_0x1a3035(_0x15f2ab)){const {c1Prime:_0x1f71bf,c2Prime:_0x3edcd5}=_0x15f2ab,_0x3a941e=this['_transformService']['transformMutationsWithChangeset'](_0x1f71bf[0x0],this[_0x279d3b(0x267)]);if(_0x3a4a2e(_0x3a941e)){const {c1Prime:_0x404866,m2Prime:_0x571f40}=_0x3a941e;return this[_0x279d3b(0x25f)](_0x404866),_0x3edcd5[0x0][_0x279d3b(0x411)]=this[_0x279d3b(0x2c5)](),this[_0x279d3b(0x2ff)](),this[_0x279d3b(0x246)][_0x279d3b(0x1d8)](oe,this['unitID'],this['type'],_0x3edcd5[0x0],_0x571f40,this['_handler'],void 0x0);}throw _0x3a941e[_0x279d3b(0x250)];}throw _0x15f2ab[_0x279d3b(0x250)];}catch(_0x4833af){return this['_logService']['error'](_0x4833af),this[_0x279d3b(0x168)](!0x1);}}[_0x30c97e(0x116)](_0x5d6e9c){var _0x2aba25=_0x30c97e;if(this[_0x2aba25(0x2ff)](),this['_checkMissing'](_0x5d6e9c))return this['_injector']['createInstance'](ee,this[_0x2aba25(0x1c9)],this[_0x2aba25(0x2ae)],null,this[_0x2aba25(0x267)],this['_awaitingChangeset'],[],this[_0x2aba25(0x127)]);this['_incrementRevisionNumber']();const _0x4279cb=this['_injector'][_0x2aba25(0x1d8)](ae,this[_0x2aba25(0x1c9)],this[_0x2aba25(0x2ae)],this[_0x2aba25(0x267)],this['_handler']);return _0x4279cb[_0x2aba25(0x3cb)](),_0x4279cb[_0x2aba25(0x220)](),_0x4279cb;}[_0x30c97e(0x1f0)](_0x334fd0){var _0x5315f3=_0x30c97e;return this['_onConflict'](!!(_0x334fd0!=null&&_0x334fd0[_0x5315f3(0x148)]));}[_0x30c97e(0x379)](_0x514784){var _0x27ce85=_0x30c97e;return this[_0x27ce85(0x2a1)]>Oi?this[_0x27ce85(0x185)]():(this[_0x27ce85(0x272)]=Ri(this['_resendTimeout'],{'timeout':this[_0x27ce85(0x2a1)],'reqId':_0x514784['reqId']}),this['_sender']=this['_resendTimer'][_0x27ce85(0x3c0)](({reqId:_0x2fd5ff,timeout:_0x1a1578})=>{var _0x166130=_0x27ce85;this[_0x166130(0x124)](_0x2fd5ff,_0x1a1578);}),this);}['toggleOffline'](){var _0x4de93e=_0x30c97e;return this[_0x4de93e(0x2ff)](),this[_0x4de93e(0x246)]['createInstance'](de,this[_0x4de93e(0x1c9)],this[_0x4de93e(0x2ae)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4de93e(0x127)]);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){var _0x33e828=_0x30c97e;this[_0x33e828(0x127)]['onSendChangeset'](this[_0x33e828(0x141)]);}[_0x30c97e(0x168)](_0x411c3b){var _0xb4e5e=_0x30c97e;return this['_clearScheduledTask'](),this[_0xb4e5e(0x246)][_0xb4e5e(0x1d8)](ue,this['unitID'],this[_0xb4e5e(0x2ae)],null,this[_0xb4e5e(0x267)],this[_0xb4e5e(0x127)],_0x411c3b);}[_0x30c97e(0x124)](_0x3e5f5c,_0x3e37db){var _0x24f408=_0x30c97e,_0x14bcb7;_0x3e5f5c===((_0x14bcb7=this[_0x24f408(0x141)])==null?void 0x0:_0x14bcb7[_0x24f408(0x199)])&&(this[_0x24f408(0x30c)](),this['_resendTimeout']=_0x3e37db===0x0?0x3e8:_0x3e37db*0x2);}[_0x30c97e(0x2ff)](){var _0x39a1c6=_0x30c97e,_0x4a179e;(_0x4a179e=this[_0x39a1c6(0x327)])==null||_0x4a179e[_0x39a1c6(0x3b5)](),this[_0x39a1c6(0x2a1)]=0x0;}};oe=Te([P(0x6,_0x1aab8b(_0x51f454)),P(0x7,_0x1aab8b(_0x5e781e)),P(0x8,_0xb43912),P(0x9,_0xf9bcb3),P(0xa,_0x19d1d9),P(0xb,_0x3e575f),P(0xc,_0x596184(J))],oe);let ue=class extends Ce{constructor(_0x1fa0a0,_0x4d1313,_0x1d8d82,_0x4098eb,_0x313fb1,_0x480f76=!0x1,_0x126125,_0x2bb83c,_0x4da7f7,_0x2c3407,_0x5b73df,_0x214c43,_0x8fcc94){var _0x3070a5=_0x30c97e;super(_0x1fa0a0,_0x4d1313,_0x1d8d82,_0x4098eb,_0x313fb1,_0x2bb83c,_0x4da7f7,_0x2c3407,_0x8fcc94),N(this,'status',_0x3070a5(0x3fc)),(this[_0x3070a5(0x25d)]=_0x480f76,this['_permissionService']=_0x126125,this[_0x3070a5(0x1b4)]=_0x5b73df,this[_0x3070a5(0x125)]=_0x214c43,this[_0x3070a5(0x1e7)]=_0x8fcc94,this[_0x3070a5(0x3b8)](),this[_0x3070a5(0x3dd)](),this['_disableEditing']());}[_0x30c97e(0x258)](){return this;}[_0x30c97e(0x1f9)](){return this;}[_0x30c97e(0x116)](){return this;}[_0x30c97e(0x1f0)](){return this;}[_0x30c97e(0x379)](){return this;}['toggleOffline'](){return this;}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30c97e(0x3dd)](){var _0x86237b=_0x30c97e,_0x5843c7;(_0x5843c7=this[_0x86237b(0x380)])==null||_0x5843c7['updateOfflineData'](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x1d59f3=_0x30c97e;this['_isPermissionRej']?this[_0x1d59f3(0x125)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x1d59f3(0x125)][_0x1d59f3(0x3cd)]({'id':re['CONFLICT']});}['_disableEditing'](){var _0x5d82f9=_0x30c97e;this[_0x5d82f9(0x3c7)]['updatePermissionPoint'](new _0x263feb(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x1aab8b(_0x233307)),P(0x7,_0xb43912),P(0x8,_0x3e575f),P(0x9,_0x1aab8b(_0x5e781e)),P(0xa,_0x1aab8b(_0x54440b)),P(0xb,_0x1aab8b(pe)),P(0xc,_0x596184(J))],ue);let de=class extends Ce{constructor(_0x585d0f,_0x106f3d,_0x10b196,_0x405a55,_0x20b746,_0xac83bc,_0x3b12c1,_0x886df2,_0x13758a,_0xf966cc){var _0x504f24=_0x30c97e;super(_0x585d0f,_0x106f3d,_0x10b196,_0x405a55,_0x20b746,_0x886df2,_0x13758a,_0x3b12c1,_0xf966cc),N(this,_0x504f24(0x294),_0x504f24(0x336)),this[_0x504f24(0x246)]=_0xac83bc;}['appendMutation'](_0x383382){var _0x47d1c7=_0x30c97e;return this[_0x47d1c7(0x267)][_0x47d1c7(0x403)](_0x383382),this['_updateLocalCache'](),this;}[_0x30c97e(0x1f9)](_0x1974b6){var _0x3bd91c=_0x30c97e;throw new Error(_0x3bd91c(0x315));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){return this;}[_0x30c97e(0x36f)](){var _0x51b8fc=_0x30c97e;const {_injector:_0x5d7e95,_pendingMutations:_0x26d8ff,_awaitingChangeset:_0x208c4a,unitID:_0x174303,_handler:_0x31df82,type:_0x568dc7}=this,_0x1f4cdc=yi(_0x5d7e95,_0x174303,_0x568dc7,_0x208c4a,_0x26d8ff,_0x31df82);return _0x1f4cdc instanceof ae?_0x1f4cdc[_0x51b8fc(0x3cb)]():(_0x1f4cdc instanceof oe||_0x1f4cdc instanceof le)&&_0x1f4cdc[_0x51b8fc(0x30c)](),_0x1f4cdc;}[_0x30c97e(0x30c)](){var _0x1756eb=_0x30c97e;throw new Error(_0x1756eb(0x21b));}};de=Te([P(0x5,_0x1aab8b(_0x51f454)),P(0x6,_0x1aab8b(_0x5e781e)),P(0x7,_0xb43912),P(0x8,_0x3e575f),P(0x9,_0x596184(J))],de);let ee=class extends Ce{constructor(_0x42c03,_0xa2741e,_0x5d5ca2,_0x3b45ff,_0x36606f,_0x1c6642,_0x176a32,_0x55666c,_0x3e26c9,_0x1759da,_0x1d728b,_0x41c1ff,_0x42bc4c,_0x236681){var _0x315ae4=_0x30c97e;super(_0x42c03,_0xa2741e,_0x5d5ca2,_0x3b45ff,_0x176a32,_0x1d728b,_0x41c1ff,_0x3e26c9,_0x236681),N(this,_0x315ae4(0x294),_0x315ae4(0x18e)),(this[_0x315ae4(0x19a)]=_0x36606f,this[_0x315ae4(0x1c6)]=_0x1c6642,this[_0x315ae4(0x246)]=_0x55666c,this[_0x315ae4(0x247)]=_0x1759da,this[_0x315ae4(0x216)]=_0x42bc4c,this[_0x315ae4(0x1e7)]=_0x236681);}[_0x30c97e(0x287)](_0x3c9d20){var _0x23fcdc=_0x30c97e;try{const _0x56b51b=[..._0x3c9d20,...this[_0x23fcdc(0x1c6)]],_0x232e54=[this[_0x23fcdc(0x141)]||this[_0x23fcdc(0x19a)]][_0x23fcdc(0x34a)](_0x188495=>!!_0x188495);let _0x4e9379,_0x4ff7aa;if(_0x232e54[_0x23fcdc(0x338)]){const _0x157e4d=this[_0x23fcdc(0x216)][_0x23fcdc(0x3c6)](_0x56b51b,_0x232e54,!0x1);if(!_0x1a3035(_0x157e4d))throw _0x157e4d[_0x23fcdc(0x250)];_0x4e9379=_0x157e4d[_0x23fcdc(0x211)],_0x4ff7aa=_0x157e4d[_0x23fcdc(0x22e)];}else _0x4e9379=_0x56b51b,_0x4ff7aa=[];let _0x39366c=this[_0x23fcdc(0x267)];_0x4e9379[_0x23fcdc(0x3b3)](_0x7d2cb7=>{var _0x229e2f=_0x23fcdc;let _0x442b76;if(_0x39366c['length']){const _0x20108f=this['_transformService']['transformMutationsWithChangeset'](_0x7d2cb7,_0x39366c);if(!_0x3a4a2e(_0x20108f))throw _0x20108f[_0x229e2f(0x250)];_0x442b76=_0x20108f[_0x229e2f(0x211)],_0x39366c=_0x20108f[_0x229e2f(0x26e)];}else _0x442b76=_0x7d2cb7;this[_0x229e2f(0x25f)](_0x442b76);}),this['_acknowledgedAwaitingChangeset']&&this[_0x23fcdc(0x12e)](),this['_awaitingChangeset']&&_0x4ff7aa['length']&&(_0x4ff7aa[0x0][_0x23fcdc(0x411)]=this['_getCurrentRevision']());let _0x187748;if(this[_0x23fcdc(0x141)]&&_0x39366c[_0x23fcdc(0x338)]!==0x0)_0x187748=this['_injector'][_0x23fcdc(0x1d8)](oe,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],_0x4ff7aa[0x0],_0x39366c,this[_0x23fcdc(0x127)],void 0x0);else{if(this[_0x23fcdc(0x141)]&&_0x39366c[_0x23fcdc(0x338)]===0x0)_0x4ff7aa[0x0]['baseRev']=this[_0x23fcdc(0x2c5)](),_0x187748=this[_0x23fcdc(0x246)]['createInstance'](le,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],_0x4ff7aa[0x0],this[_0x23fcdc(0x127)]);else{if(_0x39366c[_0x23fcdc(0x338)]!==0x0){const _0x2588bb=this[_0x23fcdc(0x246)][_0x23fcdc(0x1d8)](ae,this['unitID'],this[_0x23fcdc(0x2ae)],_0x39366c,this[_0x23fcdc(0x127)]);_0x2588bb['_schedule'](),_0x187748=_0x2588bb;}else _0x187748=this[_0x23fcdc(0x246)]['createInstance'](Ne,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],this['_handler']);}}return _0x187748[_0x23fcdc(0x220)](),_0x187748;}catch(_0x501822){return this[_0x23fcdc(0x247)][_0x23fcdc(0x250)](_0x23fcdc(0x2c6),_0x23fcdc(0x32c),_0x501822),this['_injector']['createInstance'](ue,this['unitID'],this[_0x23fcdc(0x2ae)],this[_0x23fcdc(0x141)],this[_0x23fcdc(0x267)],this[_0x23fcdc(0x127)],!0x1);}}[_0x30c97e(0x30c)](){var _0x48a74e=_0x30c97e;throw new Error(_0x48a74e(0x2ee));}['appendMutation'](_0x40a77d){var _0x54b83c=_0x30c97e;return this[_0x54b83c(0x267)]['push'](_0x40a77d),this;}['onRemoteChangeset'](_0x3e5966){var _0x28e0a7=_0x30c97e;return this['_queuedRemoteChangesets'][_0x28e0a7(0x403)](_0x3e5966),this;}['onRemoteAck'](_0x5f275a){var _0x463872=_0x30c97e;if(this[_0x463872(0x141)])return this[_0x463872(0x19a)]=this[_0x463872(0x141)],this['_awaitingChangeset']=null,this;throw new Error(_0x463872(0x13f));}['onRemoteRej'](_0x27c496){var _0xc091cd=_0x30c97e;return this[_0xc091cd(0x168)](!!(_0x27c496!=null&&_0x27c496[_0xc091cd(0x148)]));}['onRemoteRetry'](){return this;}[_0x30c97e(0x185)](){var _0x1cb4ca=_0x30c97e;return this[_0x1cb4ca(0x246)][_0x1cb4ca(0x1d8)](de,this[_0x1cb4ca(0x1c9)],this[_0x1cb4ca(0x2ae)],this[_0x1cb4ca(0x141)],this['_pendingMutations'],this[_0x1cb4ca(0x127)]);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x168)](_0x2703ae){var _0x2edc5c=_0x30c97e;return this['_injector'][_0x2edc5c(0x1d8)](ue,this[_0x2edc5c(0x1c9)],this[_0x2edc5c(0x2ae)],this[_0x2edc5c(0x141)],this[_0x2edc5c(0x267)],this[_0x2edc5c(0x127)],_0x2703ae);}};ee=Te([P(0x7,_0x1aab8b(_0x51f454)),P(0x8,_0x1aab8b(_0x5e781e)),P(0x9,_0xf9bcb3),P(0xa,_0xb43912),P(0xb,_0x3e575f),P(0xc,_0x19d1d9),P(0xd,_0x596184(J))],ee);function yi(_0x1512b0,_0x383fee,_0x5897dd,_0x47956c,_0x4e5b6a,_0x62618a){var _0x49e362=_0x30c97e;return _0x47956c&&_0x4e5b6a[_0x49e362(0x338)]?_0x1512b0[_0x49e362(0x1d8)](oe,_0x383fee,_0x5897dd,_0x47956c,_0x4e5b6a,_0x62618a,void 0x0):_0x47956c?_0x1512b0[_0x49e362(0x1d8)](le,_0x383fee,_0x5897dd,_0x47956c,_0x62618a):_0x4e5b6a[_0x49e362(0x338)]?_0x1512b0[_0x49e362(0x1d8)](ae,_0x383fee,_0x5897dd,_0x4e5b6a,_0x62618a):_0x1512b0[_0x49e362(0x1d8)](Ne,_0x383fee,_0x5897dd,_0x62618a);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x4107e6,_0x4043e2,_0x251412,_0x4dcdc5)=>{for(var _0x9697b8=_0x4dcdc5>0x1?void 0x0:_0x4dcdc5?as(_0x4043e2,_0x251412):_0x4043e2,_0x706f31=_0x4107e6['length']-0x1,_0x8cf0a1;_0x706f31>=0x0;_0x706f31--)(_0x8cf0a1=_0x4107e6[_0x706f31])&&(_0x9697b8=_0x8cf0a1(_0x9697b8)||_0x9697b8);return _0x9697b8;},H=(_0x169429,_0x52b51d)=>(_0x355c7f,_0x3959bf)=>_0x52b51d(_0x355c7f,_0x3959bf,_0x169429);let nt=class extends _0x34ea91{constructor(_0x47b4e4,_0x5c4df7,_0x2abeee,_0x527a79,_0x41c153,_0x13204d,_0x5cb0ac,_0x4c49b1,_0x172fcf,_0x3aed62,_0x464f38,_0x3531c5,_0xfb8375){var _0x437177=_0x30c97e;super(),N(this,'_state$',new _0x3d3430(null)),N(this,'state$',this[_0x437177(0x114)][_0x437177(0x1cc)]()),N(this,_0x437177(0x306)),N(this,'_collaborationPaused',!0x1),N(this,_0x437177(0x30f),''),N(this,_0x437177(0x2d0),0x0),N(this,_0x437177(0x218),this[_0x437177(0x2fd)][_0x437177(0x2a4)](_0x3708ef(_0x379a12=>_0x379a12?_0x379a12[_0x437177(0x294)]:bi[_0x437177(0x358)]),_0x461bfd(0x1))),N(this,_0x437177(0x39e),!0x1),N(this,_0x437177(0x198),[]),(this[_0x437177(0x1c9)]=_0x47b4e4,this[_0x437177(0x35f)]=_0x5c4df7,this['_type']=_0x2abeee,this['_injector']=_0x527a79,this['_compressMutationService']=_0x41c153,this[_0x437177(0x1b4)]=_0x13204d,this[_0x437177(0x1c2)]=_0x5cb0ac,this[_0x437177(0x13e)]=_0x4c49b1,this[_0x437177(0x247)]=_0x172fcf,this[_0x437177(0x206)]=_0x3aed62,this[_0x437177(0x3c7)]=_0x464f38,this[_0x437177(0x31a)]=_0x3531c5,this[_0x437177(0x380)]=_0xfb8375);}get[_0x30c97e(0x234)](){var _0x11cd3c=_0x30c97e;return this[_0x11cd3c(0x306)];}async[_0x30c97e(0x1b8)](){var _0x392e44=_0x30c97e;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x392e44(0x2e3)]();}[_0x30c97e(0x3ed)](){return this['_collaborationPaused']=!0x0,_0x2d5b8d(()=>{var _0x56758e=_0x5b64;this[_0x56758e(0x30a)]=!0x1,this[_0x56758e(0x342)]();});}[_0x30c97e(0x1e0)](_0x46171c){var _0x1f2bf8=_0x30c97e;this[_0x1f2bf8(0x295)](_0x46171c);}[_0x30c97e(0x2ca)](_0x325f6b){var _0x2e6a08=_0x30c97e;this[_0x2e6a08(0x306)]=_0x325f6b,this['_state$'][_0x2e6a08(0x2c2)](_0x325f6b);}async['_init'](){var _0x44570d=_0x30c97e,_0x1ff364;this[_0x44570d(0x2ca)](await this[_0x44570d(0x1a2)]()),this[_0x44570d(0x31a)]&&((_0x1ff364=this[_0x44570d(0x31a)])==null||_0x1ff364[_0x44570d(0x32d)](this[_0x44570d(0x1c9)]),this[_0x44570d(0x152)](this[_0x44570d(0x31a)][_0x44570d(0x3bc)](this['unitID'])['subscribe'](_0x313db1=>{var _0x11914f=_0x44570d;this[_0x11914f(0x247)][_0x11914f(0x1ef)](_0x11914f(0x193),'editing\x20status\x20changed\x20to',_0x313db1),_0x313db1===Ci[_0x11914f(0x388)]?(this[_0x11914f(0x13e)][_0x11914f(0x3cd)]({'id':re[_0x11914f(0x2c9)]}),this[_0x11914f(0x3c7)][_0x11914f(0x3b9)](new _0x263feb(this[_0x11914f(0x1c9)])['id'],!0x1),this[_0x11914f(0x3c7)]['setShowComponents'](!0x1)):(this[_0x11914f(0x3c7)][_0x11914f(0x3b9)](new _0x263feb(this[_0x11914f(0x1c9)])['id'],!0x0),this[_0x11914f(0x3c7)][_0x11914f(0x268)](!0x0));})));let _0x3bdd7c=!0x1;return this[_0x44570d(0x152)](this[_0x44570d(0x35f)]['sessionStatus$'][_0x44570d(0x3c0)](_0x514857=>{var _0x5cbe8c=_0x44570d;_0x514857===Ee[_0x5cbe8c(0x39c)]?this[_0x5cbe8c(0x1ed)](_0x3bdd7c):_0x514857===Ee[_0x5cbe8c(0x358)]&&(_0x3bdd7c=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x44570d(0x35f)][_0x44570d(0x376)][_0x44570d(0x3c0)](_0x47c96c=>{var _0x629d04=_0x44570d;try{switch(_0x47c96c[_0x629d04(0x29f)]){case _0x4b61f7[_0x629d04(0x320)]:{this[_0x629d04(0x381)](_0x14ec53(_0x47c96c['data']));break;}case _0x4b61f7[_0x629d04(0x38b)]:{this['_onRemoteACK'](_0x47c96c[_0x629d04(0x3c2)]);break;}case _0x4b61f7[_0x629d04(0x21e)]:{this['_onRemoteRejected']();break;}case _0x4b61f7[_0x629d04(0x2d2)]:{this['_onRemoteRetry'](_0x47c96c['data']);break;}case _0x4b61f7[_0x629d04(0x1ea)]:{this['_onFetchMissResult'](_0x47c96c['data']['changesets'][_0x629d04(0x359)](_0x17d469=>_0x14ec53(_0x17d469)));break;}case _0x4b61f7['PERMISSION_REJ']:{this[_0x629d04(0x26f)]({'isPermissionRej':!0x0});break;}case _0x4b61f7[_0x629d04(0x3f4)]:break;}}catch(_0x5c2a23){throw console[_0x629d04(0x250)]('Error\x20on\x20receiving\x20event',_0x5c2a23),_0x5c2a23;}})),this['_state'];}[_0x30c97e(0x1df)](){var _0x4b8502=_0x30c97e;this[_0x4b8502(0x39e)]=!0x1;}[_0x30c97e(0x3e6)](){var _0x130e03=_0x30c97e;if(this['_transitionLocked'])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[_0x130e03(0x39e)]=!0x0;}[_0x30c97e(0x295)](_0x5ccfd4){var _0x9a503f=_0x30c97e;this['_lockTransition'](),this[_0x9a503f(0x2ca)](this[_0x9a503f(0x306)][_0x9a503f(0x258)](_0x5ccfd4)),this[_0x9a503f(0x1df)]();}['_onRemoteChangeset'](_0x2914a8){var _0x82d27=_0x30c97e;if(!(_0x2914a8[_0x82d27(0x303)]<=this[_0x82d27(0x1c2)][_0x82d27(0x1d7)](this[_0x82d27(0x1c9)]))){if(this[_0x82d27(0x30a)]){this[_0x82d27(0x198)][_0x82d27(0x403)](_0x2914a8);return;}this[_0x82d27(0x334)](_0x2914a8);}}[_0x30c97e(0x342)](){var _0x5e5feb=_0x30c97e;this['_remoteChangesetQueue'][_0x5e5feb(0x3b3)](_0x25e20d=>this[_0x5e5feb(0x334)](_0x25e20d)),this[_0x5e5feb(0x198)]=[];}['_applyRemoteChangeset'](_0x112286){var _0x2a4c77=_0x30c97e;const _0x32764f=this[_0x2a4c77(0x2d4)]['interceptor'][_0x2a4c77(0x37f)](this[_0x2a4c77(0x2d4)][_0x2a4c77(0x10b)]['getInterceptPoints']()[_0x2a4c77(0x279)])(_0x112286[_0x2a4c77(0x3a0)],null)||_0x112286[_0x2a4c77(0x3a0)],_0x582309={..._0x112286,'mutations':_0x32764f};this['_lockTransition'](),this[_0x2a4c77(0x2ca)](this[_0x2a4c77(0x306)][_0x2a4c77(0x1f9)](_0x582309)),this['_unlockTransition']();}[_0x30c97e(0x2da)](_0x2f814a){var _0x3aab40=_0x30c97e;this[_0x3aab40(0x3e6)](),this['_updateState'](this[_0x3aab40(0x306)][_0x3aab40(0x116)](_0x2f814a)),this[_0x3aab40(0x1df)]();}['_onRemoteRejected'](_0x2d5308){var _0x4c4570=_0x30c97e;this[_0x4c4570(0x3e6)](),this[_0x4c4570(0x2ca)](this['_state'][_0x4c4570(0x1f0)](_0x2d5308)),this['_unlockTransition']();}[_0x30c97e(0x14f)](_0x397e75){var _0x4db482=_0x30c97e;this[_0x4db482(0x3e6)](),this[_0x4db482(0x2ca)](this[_0x4db482(0x306)][_0x4db482(0x379)](_0x397e75)),this[_0x4db482(0x1df)]();}[_0x30c97e(0x1de)](_0x2d0b4c){var _0x3a4965=_0x30c97e;if(!(this[_0x3a4965(0x306)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x403de0=_0x2d0b4c[_0x3a4965(0x359)](_0x4044a7=>{var _0x41081f=_0x3a4965;const _0x1ca98c=this[_0x41081f(0x2d4)][_0x41081f(0x10b)][_0x41081f(0x37f)](this[_0x41081f(0x2d4)]['interceptor']['getInterceptPoints']()[_0x41081f(0x279)])(_0x4044a7[_0x41081f(0x3a0)],null)||_0x4044a7['mutations'];return{..._0x4044a7,'mutations':_0x1ca98c};});this['_lockTransition'](),this[_0x3a4965(0x2ca)](this[_0x3a4965(0x306)][_0x3a4965(0x287)](_0x403de0)),this[_0x3a4965(0x1df)]();}[_0x30c97e(0x2c1)](){var _0x3d7cca=_0x30c97e;this['_lockTransition'](),this[_0x3d7cca(0x2ca)](this[_0x3d7cca(0x306)]['toggleOffline']()),this[_0x3d7cca(0x1df)]();}[_0x30c97e(0x1ed)](_0x550742=!0x1){var _0x4dab5a=_0x30c97e;this[_0x4dab5a(0x3e6)](),this['_updateState'](this[_0x4dab5a(0x306)][_0x4dab5a(0x36f)]()),this['_unlockTransition']();const _0x38edb5=this[_0x4dab5a(0x306)];_0x550742&&_0x38edb5 instanceof Ne&&(this[_0x4dab5a(0x3e6)](),this['_updateState'](_0x38edb5['fetchMiss']()),this[_0x4dab5a(0x1df)]());}async[_0x30c97e(0x1a2)](){return new Promise(_0x28de0a=>{var _0x2461ea=_0x5b64;this[_0x2461ea(0x35f)][_0x2461ea(0x153)][_0x2461ea(0x2a4)](_0x1cbcf0(0x1))[_0x2461ea(0x3c0)](async _0x558025=>{var _0xb73197=_0x2461ea;_0x28de0a(await this[_0xb73197(0x241)](_0x558025===Ee[_0xb73197(0x39c)]));});});}['_createHandler'](){var _0x41583b=_0x30c97e;const _0x4ef2c4=this[_0x41583b(0x1c9)];return{'onStateChange':(_0xd4a0e4,_0x28ce22)=>{var _0x23ed9b=_0x41583b;if(_0xd4a0e4!==this['_state'])throw new Error(_0x23ed9b(0x39b)+_0xd4a0e4[_0x23ed9b(0x294)]+'\x0aAfter:\x20'+_0x28ce22[_0x23ed9b(0x294)]+_0x23ed9b(0x1b1)+this[_0x23ed9b(0x306)][_0x23ed9b(0x294)]);this[_0x23ed9b(0x2ca)](_0x28ce22);},'onSendChangeset':_0x315237=>{var _0x1224a8=_0x41583b;_0x315237[_0x1224a8(0x3da)]||(_0x315237[_0x1224a8(0x3da)]=this[_0x1224a8(0x30f)],_0x315237[_0x1224a8(0x199)]=++this['_changesetReqId']);const _0x3b86ea={'eventID':_0x4b61f7[_0x1224a8(0x1f8)],'data':{'unitID':_0x315237[_0x1224a8(0x1c9)],'unitType':this[_0x1224a8(0x146)],'changeset':_0x315237,'memberID':this[_0x1224a8(0x35f)][_0x1224a8(0x159)]()}};this[_0x1224a8(0x35f)]['send'](_0x3b86ea,this[_0x1224a8(0x1c9)]);},'onMissingChangesets':({from:_0x70757d,to:_0xa46d26})=>{var _0xa528c6=_0x41583b;this[_0xa528c6(0x247)][_0xa528c6(0x1ef)](_0xa528c6(0x193),_0xa528c6(0x186)+_0x70757d+_0xa528c6(0x1e8)+_0xa46d26);const _0x45c557={'eventID':_0x4b61f7[_0xa528c6(0x1fc)],'data':{'unitID':_0x4ef2c4,'unitType':this[_0xa528c6(0x146)],'from':_0x70757d,'to':_0xa46d26}};this[_0xa528c6(0x35f)][_0xa528c6(0x35d)](_0x45c557,this[_0xa528c6(0x1c9)]);}};}async[_0x30c97e(0x241)](_0x364caa){var _0x129572=_0x30c97e,_0x8d854f,_0x2809b4,_0x27a71d;const _0x3f7f3a=await((_0x8d854f=this[_0x129572(0x380)])==null?void 0x0:_0x8d854f[_0x129572(0x3ca)](this['unitID'])),_0x3fcfa0=(_0x2809b4=_0x3f7f3a==null?void 0x0:_0x3f7f3a[_0x129572(0x3a0)])!=null?_0x2809b4:[],_0x2a96d1=(_0x27a71d=_0x3f7f3a==null?void 0x0:_0x3f7f3a[_0x129572(0x35a)])!=null?_0x27a71d:null,_0x3cb0ab=!!(_0x2a96d1!=null&&_0x2a96d1[_0x129572(0x3da)])&&!!(_0x2a96d1!=null&&_0x2a96d1[_0x129572(0x199)]);this[_0x129572(0x30f)]=_0x3cb0ab?_0x2a96d1[_0x129572(0x3da)]:Zn(),this['_changesetReqId']=_0x3cb0ab?_0x2a96d1[_0x129572(0x199)]:0x0;const _0x245003=this[_0x129572(0x1c9)];try{this[_0x129572(0x18b)](_0x2a96d1,_0x3fcfa0);}catch(_0x317988){this[_0x129572(0x247)][_0x129572(0x250)](_0x317988);}const _0x105e57=this['_createHandler']();if(_0x364caa){const _0x9a6cad=yi(this[_0x129572(0x246)],_0x245003,this[_0x129572(0x146)],_0x2a96d1,_0x3fcfa0,_0x105e57);return _0x9a6cad instanceof ae?_0x9a6cad['_schedule']():(_0x9a6cad instanceof oe||_0x9a6cad instanceof le)&&_0x9a6cad['resend'](),_0x9a6cad;}return this[_0x129572(0x246)]['createInstance'](de,_0x245003,this[_0x129572(0x146)],_0x2a96d1,_0x3fcfa0,_0x105e57);}['_replayCachedMutations'](_0x6d625a,_0x4f1147){var _0x400e27=_0x30c97e,_0x1f6b9e,_0x5bdff3;const _0x548308=this[_0x400e27(0x2d4)][_0x400e27(0x10b)][_0x400e27(0x37f)](this[_0x400e27(0x2d4)][_0x400e27(0x10b)][_0x400e27(0x38f)]()[_0x400e27(0x279)]);(_0x1f6b9e=_0x548308((_0x6d625a==null?void 0x0:_0x6d625a[_0x400e27(0x3a0)])||[],null))==null||_0x1f6b9e[_0x400e27(0x3b3)](_0x2ad305=>this[_0x400e27(0x206)][_0x400e27(0x40f)](_0x2ad305['id'],_0x2ad305[_0x400e27(0x24a)])),(_0x5bdff3=_0x548308(_0x4f1147||[],null))==null||_0x5bdff3[_0x400e27(0x3b3)](_0x25d661=>this[_0x400e27(0x206)][_0x400e27(0x40f)](_0x25d661['id'],_0x25d661[_0x400e27(0x24a)]));}};nt=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(pe)),H(0x8,_0xf9bcb3),H(0x9,_0xb43912),H(0xa,_0x233307),H(0xb,_0x596184(ht)),H(0xc,_0x596184(J))],nt);let It=class extends nt{constructor(_0xc968ee,_0x10103e,_0x1af8f5,_0x1e2dfc,_0x4efac7,_0x19a210,_0x111035,_0x2fcd73,_0x12e30b,_0x5d0898,_0x3115ab,_0x34a644,_0x4e985c){var _0x3454e7=_0x30c97e;super(_0xc968ee,_0x1af8f5,_0x10103e,_0x1e2dfc,_0x4efac7,_0x19a210,_0x111035,_0x2fcd73,_0x12e30b,_0x5d0898,_0x3115ab,_0x34a644,_0x4e985c),N(this,_0x3454e7(0x298),null),(this[_0x3454e7(0x1c9)]=_0xc968ee,this['type']=_0x10103e);}[_0x30c97e(0x28d)](_0x40eb7c){this['_handlerCallback']=_0x40eb7c;}[_0x30c97e(0x1ee)](){var _0x1016ea=_0x30c97e;this[_0x1016ea(0x298)]=null,super[_0x1016ea(0x1ee)]();}[_0x30c97e(0x384)](){var _0x3f7847=_0x30c97e;const _0x3e9bd8=super['_createHandler']();return _0x3e9bd8[_0x3f7847(0x243)]=_0x51d251=>{var _0x159e09=_0x3f7847,_0x5635f1,_0x5b9137;return(_0x5b9137=(_0x5635f1=this[_0x159e09(0x298)])==null?void 0x0:_0x5635f1[_0x159e09(0x243)])==null?void 0x0:_0x5b9137['call'](_0x5635f1,_0x51d251);},_0x3e9bd8[_0x3f7847(0x360)]=_0x50bd69=>{var _0x5b130e=_0x3f7847,_0x54a004,_0x10be44;return(_0x10be44=(_0x54a004=this['_handlerCallback'])==null?void 0x0:_0x54a004[_0x5b130e(0x360)])==null?void 0x0:_0x10be44[_0x5b130e(0x2af)](_0x54a004,_0x50bd69);},_0x3e9bd8[_0x3f7847(0x409)]=_0x112763=>{var _0x24b9c8=_0x3f7847,_0x330682,_0x2f42cc;return(_0x2f42cc=(_0x330682=this['_handlerCallback'])==null?void 0x0:_0x330682[_0x24b9c8(0x409)])==null?void 0x0:_0x2f42cc[_0x24b9c8(0x2af)](_0x330682,_0x112763);},_0x3e9bd8[_0x3f7847(0x34e)]=_0xbb4702=>{var _0x537bfe=_0x3f7847,_0x4fb96a,_0xae0529;return(_0xae0529=(_0x4fb96a=this[_0x537bfe(0x298)])==null?void 0x0:_0x4fb96a['onSyncEditingCollabCursor'])==null?void 0x0:_0xae0529[_0x537bfe(0x2af)](_0x4fb96a,_0xbb4702);},_0x3e9bd8[_0x3f7847(0x3f3)]=_0x53d3db=>{var _0x50787d=_0x3f7847,_0x25760e,_0xfd43f7,_0x85d969;if(!((_0x25760e=this[_0x50787d(0x298)])!=null&&_0x25760e[_0x50787d(0x3f3)]))throw new Error(_0x50787d(0x2d8));return(_0x85d969=(_0xfd43f7=this[_0x50787d(0x298)])==null?void 0x0:_0xfd43f7[_0x50787d(0x3f3)])==null?void 0x0:_0x85d969[_0x50787d(0x2af)](_0xfd43f7,_0x53d3db);},_0x3e9bd8[_0x3f7847(0x3ac)]=_0xe2fedc=>{var _0x309564=_0x3f7847,_0x30ad17,_0x4f7f83,_0x581426;if(!((_0x30ad17=this[_0x309564(0x298)])!=null&&_0x30ad17['onTransformRemoteChangesetByStateCache']))throw new Error(_0x309564(0x405));return(_0x581426=(_0x4f7f83=this[_0x309564(0x298)])==null?void 0x0:_0x4f7f83[_0x309564(0x3ac)])==null?void 0x0:_0x581426[_0x309564(0x2af)](_0x4f7f83,_0xe2fedc);},_0x3e9bd8;}async[_0x30c97e(0x2e3)](){var _0x49f554=_0x30c97e;const _0x1c0e91=await super[_0x49f554(0x2e3)]();return this[_0x49f554(0x152)](this[_0x49f554(0x206)][_0x49f554(0x24c)]((_0x1262e0,_0x24c111)=>{var _0x2d791a=_0x49f554;if(_0x1262e0[_0x2d791a(0x2ae)]!==_0x1018f9[_0x2d791a(0x23f)]||_0x24c111!=null&&_0x24c111[_0x2d791a(0x17e)]||_0x24c111!=null&&_0x24c111[_0x2d791a(0x17f)]||_0x1262e0['id']===_0x5c2334['id'])return;const _0x3ff5c0=_0x1262e0['params'];if((_0x3ff5c0==null?void 0x0:_0x3ff5c0[_0x2d791a(0x3f5)])!==this[_0x2d791a(0x1c9)])return;const _0x42b748=_0x1262e0,_0x56e8e0=this[_0x2d791a(0x2d4)][_0x2d791a(0x10b)][_0x2d791a(0x37f)](this[_0x2d791a(0x2d4)][_0x2d791a(0x10b)][_0x2d791a(0x38f)]()['COMPRESS_MUTATION_SEND'])([_0x42b748],null)||[_0x42b748];this[_0x2d791a(0x295)](_0x56e8e0[0x0]);})),_0x1c0e91;}};It=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(pe)),H(0x8,_0xf9bcb3),H(0x9,_0xb43912),H(0xa,_0x233307),H(0xb,_0x596184(ht)),H(0xc,_0x596184(J))],It);let Tt=class extends nt{constructor(_0x4f56c0,_0x2c56d4,_0x3bf728,_0x4818e0,_0x9a7001,_0x3e302f,_0x309990,_0x4b90a3,_0x54b90e,_0x4ec9bc,_0x2b3066,_0x5cdfa3,_0x4b8f00,_0x173d3a){var _0x3ab4ff=_0x30c97e;super(_0x4f56c0,_0x3bf728,_0x2c56d4,_0x4818e0,_0x9a7001,_0x3e302f,_0x309990,_0x54b90e,_0x4ec9bc,_0x2b3066,_0x5cdfa3,_0x4b8f00,_0x173d3a),this['unitID']=_0x4f56c0,this['type']=_0x2c56d4,this[_0x3ab4ff(0x197)]=_0x4b90a3;}['_createHandler'](){var _0x206953=_0x30c97e;const _0x59a3f6=super['_createHandler']();return _0x59a3f6[_0x206953(0x409)]=_0x3dd788=>this[_0x206953(0x197)][_0x206953(0x1e6)](_0x3dd788),_0x59a3f6;}async[_0x30c97e(0x2e3)](){var _0x477723=_0x30c97e;const _0x4c7e84=await super[_0x477723(0x2e3)]();return this[_0x477723(0x152)](this['_commandService']['onCommandExecuted']((_0x7ced96,_0x32403e)=>{var _0x5dcd5d=_0x477723;if(_0x7ced96[_0x5dcd5d(0x2ae)]!==_0x1018f9[_0x5dcd5d(0x23f)]||_0x32403e!=null&&_0x32403e[_0x5dcd5d(0x17e)]||_0x32403e!=null&&_0x32403e[_0x5dcd5d(0x17f)])return;const _0x115df9=_0x7ced96['params'];if((_0x115df9==null?void 0x0:_0x115df9[_0x5dcd5d(0x3f5)])!==this[_0x5dcd5d(0x1c9)])return;const _0x29090f=_0x7ced96,_0x694be5=this[_0x5dcd5d(0x2d4)][_0x5dcd5d(0x10b)][_0x5dcd5d(0x37f)](this['_compressMutationService'][_0x5dcd5d(0x10b)][_0x5dcd5d(0x38f)]()[_0x5dcd5d(0x2e1)])([_0x29090f],null)||[_0x29090f];this[_0x5dcd5d(0x295)](_0x694be5[0x0]);})),_0x4c7e84;}};Tt=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(it)),H(0x8,_0x1aab8b(pe)),H(0x9,_0xf9bcb3),H(0xa,_0xb43912),H(0xb,_0x233307),H(0xc,_0x596184(ht)),H(0xd,_0x596184(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x1ee077,_0x1a5982,_0x5e7a4e,_0x471679)=>{var _0x1460e6=_0x30c97e;for(var _0xc8fc3c=_0x471679>0x1?void 0x0:_0x471679?os(_0x1a5982,_0x5e7a4e):_0x1a5982,_0x486f5a=_0x1ee077[_0x1460e6(0x338)]-0x1,_0x1ee269;_0x486f5a>=0x0;_0x486f5a--)(_0x1ee269=_0x1ee077[_0x486f5a])&&(_0xc8fc3c=_0x1ee269(_0xc8fc3c)||_0xc8fc3c);return _0xc8fc3c;},ft=(_0x7d2412,_0x4a232b)=>(_0x50ad83,_0x4b1351)=>_0x4a232b(_0x50ad83,_0x4b1351,_0x7d2412);let st=class extends _0x34ea91{constructor(_0xb84262,_0x3e1b07,_0xa92fd7){var _0x5eb22a=_0x30c97e;super(),N(this,_0x5eb22a(0x292),new Map()),N(this,_0x5eb22a(0x208),new _0x52da68()),N(this,'entityInit$',this[_0x5eb22a(0x208)][_0x5eb22a(0x1cc)]()),(this[_0x5eb22a(0x246)]=_0xb84262,this[_0x5eb22a(0x273)]=_0x3e1b07,this[_0x5eb22a(0x10d)]=_0xa92fd7,this[_0x5eb22a(0x2e3)]());}[_0x30c97e(0x1ee)](){var _0x1ec992=_0x30c97e;super[_0x1ec992(0x1ee)](),this[_0x1ec992(0x292)]['forEach'](_0x49bee1=>_0x49bee1[_0x1ec992(0x1ee)]()),this[_0x1ec992(0x292)]['clear']();}['getCollabEntity'](_0x444c95){var _0xf20e2a=_0x30c97e,_0x235e58;return(_0x235e58=this['_entities'][_0xf20e2a(0x402)](_0x444c95))!=null?_0x235e58:null;}[_0x30c97e(0x40b)](_0x23fcbc){var _0x53706f=_0x30c97e;const _0x24908f=this['getCollabEntity'](_0x23fcbc);return _0x24908f?_0x23c246(_0x24908f):this[_0x53706f(0x208)]['pipe'](_0x1d479f(_0x5c57e6=>_0x5c57e6['unitID']===_0x23fcbc));}[_0x30c97e(0x224)](_0x5c3e65){var _0x41adb2=_0x30c97e;return _0xb115ad(this[_0x41adb2(0x40b)](_0x5c3e65)[_0x41adb2(0x2a4)](_0x122f91(()=>{})));}[_0x30c97e(0x2e3)](){var _0x2b1578=_0x30c97e;this[_0x2b1578(0x10d)][_0x2b1578(0x262)](_0x4f9465[_0x2b1578(0x204)])[_0x2b1578(0x2a4)](_0x155287(this['dispose$']),_0x38c479(0x10))[_0x2b1578(0x3c0)](async _0x3e534a=>{var _0x220fc1=_0x2b1578;const _0x12d607=_0x3e534a[_0x220fc1(0x2ed)](),_0x22eb71=await this[_0x220fc1(0x36c)](_0x12d607,Q[_0x220fc1(0x204)]);this['_entities'][_0x220fc1(0x3c8)](_0x12d607,_0x22eb71);}),this[_0x2b1578(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x2b1578(0x1cd)])[_0x2b1578(0x2a4)](_0x155287(this[_0x2b1578(0x363)]),_0x38c479(0x10))[_0x2b1578(0x2a4)](_0x1d479f(_0x380667=>!_0x380667[_0x2b1578(0x2ed)]()[_0x2b1578(0x3f8)]('__')))['subscribe'](async _0x26b212=>{var _0x1e8e94=_0x2b1578;const _0x3efbe3=_0x26b212[_0x1e8e94(0x2ed)](),_0x2d487b=await this['_startCollaboration'](_0x3efbe3,Q[_0x1e8e94(0x1cd)]);this[_0x1e8e94(0x292)][_0x1e8e94(0x3c8)](_0x3efbe3,_0x2d487b);}),_0x4bebd7(this[_0x2b1578(0x10d)]['getTypeOfUnitDisposed$'](_0x4f9465[_0x2b1578(0x204)]),this[_0x2b1578(0x10d)][_0x2b1578(0x29b)](_0x4f9465[_0x2b1578(0x1cd)]))[_0x2b1578(0x2a4)](_0x155287(this[_0x2b1578(0x363)]))[_0x2b1578(0x3c0)](_0x5ad14e=>{var _0x1b4b8f=_0x2b1578;const _0x2d940c=_0x5ad14e[_0x1b4b8f(0x2ed)](),_0x76f4ec=this['_entities'][_0x1b4b8f(0x402)](_0x2d940c);_0x76f4ec&&(_0x76f4ec[_0x1b4b8f(0x1ee)](),this[_0x1b4b8f(0x292)]['delete'](_0x2d940c));});}async[_0x30c97e(0x36c)](_0x583240,_0x124eb2){var _0x28d1c4=_0x30c97e;const _0x3a05e3=await this[_0x28d1c4(0x273)][_0x28d1c4(0x317)](_0x583240),_0x3e2f94=this[_0x28d1c4(0x246)][_0x28d1c4(0x1d8)](this[_0x28d1c4(0x171)](_0x124eb2),_0x583240,_0x124eb2,_0x3a05e3);return await _0x3e2f94[_0x28d1c4(0x1b8)](),this[_0x28d1c4(0x208)][_0x28d1c4(0x2c2)](_0x3e2f94),_0x3e2f94;}[_0x30c97e(0x171)](_0x1de154){var _0x304e50=_0x30c97e;switch(_0x1de154){case Q[_0x304e50(0x1cd)]:return It;case Q[_0x304e50(0x204)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1de154);}}};st=cs([ft(0x0,_0x1aab8b(_0x51f454)),ft(0x1,_0x1aab8b(xe)),ft(0x2,_0x31aedc)],st);var hs=Object[_0x30c97e(0x1eb)],_s=(_0x28a0c5,_0x5031f4,_0x5ba8e1,_0x1e1651)=>{for(var _0x24a99e=_0x1e1651>0x1?void 0x0:_0x1e1651?hs(_0x5031f4,_0x5ba8e1):_0x5031f4,_0x304bab=_0x28a0c5['length']-0x1,_0x3e3e61;_0x304bab>=0x0;_0x304bab--)(_0x3e3e61=_0x28a0c5[_0x304bab])&&(_0x24a99e=_0x3e3e61(_0x24a99e)||_0x24a99e);return _0x24a99e;},zt=(_0x34deac,_0x83b694)=>(_0x4ee011,_0x258f76)=>_0x83b694(_0x4ee011,_0x258f76,_0x34deac);const ls=_0x30c97e(0x2bc),us=_0x30c97e(0x128);let Ct=class extends _0x4d3873{constructor(_0x30bec5,_0x2a0d74){var _0x4094df=_0x30c97e;super(),this['_univerInstanceService']=_0x30bec5,this['_configService']=_0x2a0d74,this[_0x4094df(0x2e3)]();}[_0x30c97e(0x2e3)](){var _0x587815=_0x30c97e;this['disposeWithMe'](this[_0x587815(0x10d)][_0x587815(0x172)][_0x587815(0x3c0)](()=>{var _0xe933d8=_0x587815,_0x14a23a;const _0x245e17=this[_0xe933d8(0x10d)][_0xe933d8(0x16e)]();let _0x3d1646=(_0x14a23a=this['_configService'][_0xe933d8(0x230)](ls))!=null?_0x14a23a:us;_0x245e17 instanceof _0x4d0187&&(_0x3d1646=_0x245e17[_0xe933d8(0x2bb)]),document[_0xe933d8(0x180)]=_0x3d1646;}));}};Ct=_s([zt(0x0,_0x31aedc),zt(0x1,_0x322b89)],Ct);var ds=Object[_0x30c97e(0x1eb)],fs=(_0x19bf7f,_0x200575,_0x2d394f,_0x2255b6)=>{var _0x21e1f5=_0x30c97e;for(var _0x483828=_0x2255b6>0x1?void 0x0:_0x2255b6?ds(_0x200575,_0x2d394f):_0x200575,_0x20aecf=_0x19bf7f[_0x21e1f5(0x338)]-0x1,_0x236b61;_0x20aecf>=0x0;_0x20aecf--)(_0x236b61=_0x19bf7f[_0x20aecf])&&(_0x483828=_0x236b61(_0x483828)||_0x483828);return _0x483828;},vt=(_0x1b8591,_0x16b780)=>(_0x5922fe,_0x1f9a07)=>_0x16b780(_0x5922fe,_0x1f9a07,_0x1b8591);let rt=class{constructor(_0x3ed2e7,_0x1867c7,_0x439c6e){var _0x673130=_0x30c97e;this[_0x673130(0x15e)]=_0x3ed2e7,this[_0x673130(0x1dd)]=_0x1867c7,this[_0x673130(0x297)]=_0x439c6e,this[_0x673130(0x1b8)]();}[_0x30c97e(0x1b8)](){var _0x30ec4b=_0x30c97e;this[_0x30ec4b(0x1dd)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x21a2f0,_0x321493)=>_0x321493(_0x21a2f0)[_0x30ec4b(0x2a4)](_0x49bb13(async _0x5993b4=>{var _0x4a2f45=_0x30ec4b;const _0x3d7c50=_0x5993b4;if(_0x3d7c50[_0x4a2f45(0x294)]===0x191){if(typeof window>'u')throw new Error(_0x4a2f45(0x18f));if(window['confirm'](this[_0x4a2f45(0x297)]['t'](_0x4a2f45(0x21d)))){const _0x22fd72=window[_0x4a2f45(0x144)](window[_0x4a2f45(0x3d0)]['href']);window['location'][_0x4a2f45(0x2cd)]=this[_0x4a2f45(0x14e)]()+_0x4a2f45(0x151)+_0x22fd72;}}return _0x3d7c50;}))});}['_getLoginPath'](){var _0x5f4c22=_0x30c97e,_0x2ec0d2,_0x676a22;const _0x229220=this[_0x5f4c22(0x15e)][_0x5f4c22(0x230)](Un),_0x1a8dbb=this[_0x5f4c22(0x15e)][_0x5f4c22(0x230)](q);return(_0x676a22=(_0x2ec0d2=_0x1a8dbb==null?void 0x0:_0x1a8dbb[_0x5f4c22(0x27f)])!=null?_0x2ec0d2:_0x229220)!=null?_0x676a22:An;}};rt=fs([vt(0x0,_0x322b89),vt(0x1,_0x1aab8b(_0x43eb18)),vt(0x2,_0x1aab8b(_0x54440b))],rt);var vs=Object[_0x30c97e(0x1eb)],ps=(_0x303325,_0x193ab0,_0x27b3d2,_0x6dae0d)=>{var _0x477cc3=_0x30c97e;for(var _0x4bcb87=_0x6dae0d>0x1?void 0x0:_0x6dae0d?vs(_0x193ab0,_0x27b3d2):_0x193ab0,_0x5760bf=_0x303325[_0x477cc3(0x338)]-0x1,_0x56cc97;_0x5760bf>=0x0;_0x5760bf--)(_0x56cc97=_0x303325[_0x5760bf])&&(_0x4bcb87=_0x56cc97(_0x4bcb87)||_0x4bcb87);return _0x4bcb87;},Jt=(_0x343d6f,_0x3db1db)=>(_0x2d7841,_0x9eefe7)=>_0x3db1db(_0x2d7841,_0x9eefe7,_0x343d6f);const Ni=_0x30c97e(0x200),ms=_0x30c97e(0x3a9);let Rt=class extends _0x4d3873{constructor(_0x4e4bdb,_0x554b9d){var _0x4183e4=_0x30c97e;super(),this[_0x4183e4(0x28e)]=_0x4e4bdb,this[_0x4183e4(0x15e)]=_0x554b9d,this[_0x4183e4(0x39f)]();}['_initMergeInterceptor'](){var _0x3a020b=_0x30c97e;const _0x572a64=this;this[_0x3a020b(0x152)](this[_0x3a020b(0x28e)][_0x3a020b(0x395)]({'priority':0x3e7,'interceptor':_0x3cf77e({'isMatch'(_0x149a8d){var _0xc9932a=_0x3a020b,_0x53f0c2;if(_0x149a8d[_0xc9932a(0x322)]===_0xc9932a(0x3d6)&&((_0x53f0c2=_0x149a8d['requestParams'])!=null&&_0x53f0c2[_0xc9932a(0x215)])){const {objectID:_0x6f806c,objectType:_0x4b6f1b}=_0x149a8d[_0xc9932a(0x36b)][_0xc9932a(0x215)]||{};if(!_0x6f806c||_0x4b6f1b===void 0x0)return!0x1;const _0x5adc28=_0x572a64[_0xc9932a(0x24e)]()+'/'+_0x4b6f1b+_0xc9932a(0x1a5)+_0x6f806c+_0xc9932a(0x3b4);if(_0x149a8d[_0xc9932a(0x370)]===_0x5adc28)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3ad5ec){var _0x5e2ac6=_0x3a020b,_0x5e9335;return(_0x5e9335=_0x3ad5ec['requestParams'])==null?void 0x0:_0x5e9335[_0x5e2ac6(0x215)];},'mergeParamsToRequest'(_0x309e1e,_0x534153){var _0x3c1b28=_0x3a020b;const _0x4e8bc5=_0x572a64[_0x3c1b28(0x24e)]()+_0x3c1b28(0x36d),_0x4f6ef8=_0x309e1e[_0x3c1b28(0x311)]((_0x1a3c10,_0x1b128a)=>{var _0x525823=_0x3c1b28;const {unitID:_0x532293,objectID:_0x3e9dae,objectType:_0x360f0f,actions:_0x273e44}=_0x1b128a;return _0x1a3c10[_0x532293]||(_0x1a3c10[_0x532293]={}),_0x1a3c10[_0x532293][_0x3e9dae]||(_0x1a3c10[_0x532293][_0x3e9dae]={'objectID':_0x3e9dae,'objectType':_0x360f0f,'actions':[]}),_0x1a3c10[_0x532293][_0x3e9dae][_0x525823(0x2de)][_0x525823(0x403)](..._0x273e44),_0x1a3c10;},{}),_0x490d49=[];for(const _0x36d249 in _0x4f6ef8)for(const _0x193dda in _0x4f6ef8[_0x36d249]){const {actions:_0x11e26a,objectType:_0x256d30}=_0x4f6ef8[_0x36d249][_0x193dda],_0x34c57d=[...new Set(_0x11e26a)];_0x490d49['push']({'unitID':_0x36d249,'objectID':_0x193dda,'objectType':_0x256d30,'actions':_0x34c57d});}return new _0x12d65b('POST',_0x4e8bc5,{'headers':_0x534153['headers'],'withCredentials':_0x534153[_0x3c1b28(0x3e4)],'responseType':_0x534153['responseType'],'body':{'requests':_0x490d49}});}},{'distributeResult'(_0x102b3c,_0x20bee6){const {objectActions:_0x58008b}=_0x102b3c;return _0x20bee6['map'](_0x3ef530=>{var _0x5e99d1=_0x5b64;const {unitID:_0xe141ec,objectID:_0x3fe0d7,actions:_0x24872c}=_0x3ef530,_0x166f58=_0x58008b[_0x5e99d1(0x3de)](_0x5e0927=>_0x5e0927[_0x5e99d1(0x1c9)]===_0xe141ec&&_0x5e0927['objectID']===_0x3fe0d7),_0x3a52af=_0x24872c[_0x5e99d1(0x359)](_0x44cc90=>_0x166f58==null?void 0x0:_0x166f58[_0x5e99d1(0x2de)][_0x5e99d1(0x3de)](_0x1ccff5=>_0x1ccff5[_0x5e99d1(0x203)]===_0x44cc90))[_0x5e99d1(0x34a)](_0x17f5d5=>!!_0x17f5d5);return{'config':_0x3ef530,'result':{'actions':_0x3a52af,'error':_0x102b3c[_0x5e99d1(0x250)]}};});}})}));}[_0x30c97e(0x24e)](){var _0x19b062=_0x30c97e,_0x52f6b9,_0x3cb8a6;const _0x33e799=this['_configService'][_0x19b062(0x230)](Ni),_0x3ae8fb=this[_0x19b062(0x15e)][_0x19b062(0x230)](q);return(_0x3cb8a6=(_0x52f6b9=_0x3ae8fb==null?void 0x0:_0x3ae8fb[_0x19b062(0x2d1)])!=null?_0x52f6b9:_0x33e799)!=null?_0x3cb8a6:ms;}async[_0x30c97e(0x3cc)](_0x13c67d){var _0x34f58c=_0x30c97e;const _0x401a50=this[_0x34f58c(0x24e)]()+'/'+_0x13c67d[_0x34f58c(0x3a3)]+_0x34f58c(0x318);return(await this[_0x34f58c(0x28e)]['post'](_0x401a50,{'body':_0x13c67d}))['body']['objectID']||'';}async[_0x30c97e(0x135)](_0x3090d6){var _0x15b451=_0x30c97e;const _0x1c59db=this['_getAPIPrefixPath']()+_0x15b451(0x2a2);return(await this[_0x15b451(0x28e)][_0x15b451(0x255)](_0x1c59db,{'body':_0x3090d6}))[_0x15b451(0x215)]['objects'];}async[_0x30c97e(0x265)](_0xdda727){var _0x231b15=_0x30c97e,_0x221d43,_0x549271;const _0x15450f=this[_0x231b15(0x24e)]()+'/'+_0xdda727[_0x231b15(0x3a3)]+'/object/'+_0xdda727[_0x231b15(0x3b7)],_0x23a38e=await this[_0x231b15(0x28e)][_0x231b15(0x307)](_0x15450f,{'body':_0xdda727});if(((_0x549271=(_0x221d43=_0x23a38e==null?void 0x0:_0x23a38e[_0x231b15(0x215)])==null?void 0x0:_0x221d43[_0x231b15(0x250)])==null?void 0x0:_0x549271[_0x231b15(0x1c0)])!==0x1)throw new Error(_0x231b15(0x291));}async[_0x30c97e(0x283)](_0x51983d){var _0x4e1ec3=_0x30c97e;const _0x23afb1=this['_getAPIPrefixPath']()+'/'+_0x51983d['objectType']+'/object/'+_0x51983d[_0x4e1ec3(0x3b7)]+_0x4e1ec3(0x3b4);return(await this[_0x4e1ec3(0x28e)]['post'](_0x23afb1,{'body':_0x51983d}))[_0x4e1ec3(0x215)][_0x4e1ec3(0x2de)];}async[_0x30c97e(0x348)](_0x358789){var _0x1d09e8=_0x30c97e;const _0x3461c2=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x1d09e8(0x28e)][_0x1d09e8(0x255)](_0x3461c2,{'body':{'requests':_0x358789}}))[_0x1d09e8(0x215)]['objectActions'];}async[_0x30c97e(0x319)](_0x404028){var _0x43d5c2=_0x30c97e;const _0x5bef4b=this[_0x43d5c2(0x24e)]()+'/'+_0x404028[_0x43d5c2(0x3a3)]+_0x43d5c2(0x373),_0x38ade2=await this['_HTTPService'][_0x43d5c2(0x255)](_0x5bef4b,{'body':_0x404028});return{'roles':_0x38ade2['body'][_0x43d5c2(0x2f7)],'actions':_0x38ade2[_0x43d5c2(0x215)][_0x43d5c2(0x2de)]};}async[_0x30c97e(0x1b0)](_0x57a4ea){var _0x3e461b=_0x30c97e;const _0x4161eb=this[_0x3e461b(0x24e)]()+_0x3e461b(0x223);await this[_0x3e461b(0x28e)][_0x3e461b(0x3eb)](_0x4161eb,{'params':{'collaboratorID':_0x57a4ea[_0x3e461b(0x2e7)],'objectID':_0x57a4ea[_0x3e461b(0x3b7)],'unitID':_0x57a4ea[_0x3e461b(0x1c9)]}});}async[_0x30c97e(0x26c)](_0x3e287d){var _0x1f1b7c=_0x30c97e;const _0x4bfdc8=this['_getAPIPrefixPath']()+_0x1f1b7c(0x223);await this[_0x1f1b7c(0x28e)][_0x1f1b7c(0x3f1)](_0x4bfdc8,{'body':_0x3e287d});}async[_0x30c97e(0x329)](_0x351f91){var _0x52a897=_0x30c97e;const _0x1ca16e=this[_0x52a897(0x24e)]()+_0x52a897(0x223);await this[_0x52a897(0x28e)][_0x52a897(0x255)](_0x1ca16e,{'body':_0x351f91});}async[_0x30c97e(0x17d)](_0x15d9dc){var _0x170276=_0x30c97e;const _0x1bd673=this[_0x170276(0x24e)]()+_0x170276(0x223);return(await this['_HTTPService'][_0x170276(0x402)](_0x1bd673,{'params':{'objectID':_0x15d9dc['objectID'],'unitID':_0x15d9dc[_0x170276(0x1c9)]}}))[_0x170276(0x215)][_0x170276(0x24f)];}async[_0x30c97e(0x1c4)](_0x4c346a){var _0x1248c4=_0x30c97e;const _0x528dc5=this[_0x1248c4(0x24e)]()+'/collaborator';await this[_0x1248c4(0x28e)][_0x1248c4(0x307)](_0x528dc5,{'body':_0x4c346a});}};Rt=ps([Jt(0x0,_0x1aab8b(_0x43eb18)),Jt(0x1,_0x1aab8b(_0x322b89))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x203641){var _0x105dbe=_0x30c97e;return _0x203641&&_0x203641[_0x105dbe(0x11d)]&&Object[_0x105dbe(0x364)][_0x105dbe(0x17c)][_0x105dbe(0x2af)](_0x203641,_0x105dbe(0x1cf))?_0x203641['default']:_0x203641;}var Ve={'exports':{}};function gs(_0x3ab7e6){var _0x5b147c=_0x30c97e;throw new Error(_0x5b147c(0x30b)+_0x3ab7e6+_0x5b147c(0x2fa));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x2c7db7=_0x30c97e;return Xt||(Xt=0x1,function(_0x4adb60,_0x5247a6){(function(_0x3d2f98,_0x1ad019){var _0x191256=_0x5b64;_0x4adb60[_0x191256(0x12a)]=_0x1ad019();}(Ss,function(){var _0xdb8ff7=_0xdb8ff7||function(_0x34dcbd,_0x3de8c9){var _0x5f3bed=_0x5b64,_0x4e0a91;if(typeof window<'u'&&window['crypto']&&(_0x4e0a91=window['crypto']),typeof self<'u'&&self[_0x5f3bed(0x34b)]&&(_0x4e0a91=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5f3bed(0x34b)]&&(_0x4e0a91=globalThis[_0x5f3bed(0x34b)]),!_0x4e0a91&&typeof window<'u'&&window[_0x5f3bed(0x205)]&&(_0x4e0a91=window['msCrypto']),!_0x4e0a91&&typeof pt<'u'&&pt[_0x5f3bed(0x34b)]&&(_0x4e0a91=pt[_0x5f3bed(0x34b)]),!_0x4e0a91&&typeof gs==_0x5f3bed(0x1bc))try{_0x4e0a91=require(_0x5f3bed(0x34b));}catch{}var _0x417be4=function(){var _0x58bd68=_0x5f3bed;if(_0x4e0a91){if(typeof _0x4e0a91[_0x58bd68(0x257)]=='function')try{return _0x4e0a91[_0x58bd68(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e0a91[_0x58bd68(0x410)]==_0x58bd68(0x1bc))try{return _0x4e0a91[_0x58bd68(0x410)](0x4)[_0x58bd68(0x412)]();}catch{}}throw new Error(_0x58bd68(0x14a));},_0x4e2c1c=Object[_0x5f3bed(0x3cc)]||(function(){function _0x148afc(){}return function(_0x1c04f0){var _0x1bad92=_0x5b64,_0x2f0cf5;return _0x148afc[_0x1bad92(0x364)]=_0x1c04f0,_0x2f0cf5=new _0x148afc(),_0x148afc[_0x1bad92(0x364)]=null,_0x2f0cf5;};}()),_0x3aea29={},_0x2950db=_0x3aea29[_0x5f3bed(0x314)]={},_0x435471=_0x2950db[_0x5f3bed(0x401)]=(function(){return{'extend':function(_0x2c81dc){var _0x45ffa3=_0x5b64,_0x2396fd=_0x4e2c1c(this);return _0x2c81dc&&_0x2396fd['mixIn'](_0x2c81dc),(!_0x2396fd[_0x45ffa3(0x17c)](_0x45ffa3(0x1b8))||this[_0x45ffa3(0x1b8)]===_0x2396fd[_0x45ffa3(0x1b8)])&&(_0x2396fd['init']=function(){var _0x4fb640=_0x45ffa3;_0x2396fd[_0x4fb640(0x169)]['init'][_0x4fb640(0x356)](this,arguments);}),_0x2396fd[_0x45ffa3(0x1b8)]['prototype']=_0x2396fd,_0x2396fd[_0x45ffa3(0x169)]=this,_0x2396fd;},'create':function(){var _0x325f1c=_0x5b64,_0x9c6c1b=this[_0x325f1c(0x13a)]();return _0x9c6c1b['init'][_0x325f1c(0x356)](_0x9c6c1b,arguments),_0x9c6c1b;},'init':function(){},'mixIn':function(_0x2f873c){var _0x1087fb=_0x5b64;for(var _0x1136a9 in _0x2f873c)_0x2f873c['hasOwnProperty'](_0x1136a9)&&(this[_0x1136a9]=_0x2f873c[_0x1136a9]);_0x2f873c[_0x1087fb(0x17c)](_0x1087fb(0x15a))&&(this[_0x1087fb(0x15a)]=_0x2f873c[_0x1087fb(0x15a)]);},'clone':function(){var _0xcd0079=_0x5b64;return this[_0xcd0079(0x1b8)]['prototype'][_0xcd0079(0x13a)](this);}};}()),_0x39a007=_0x2950db[_0x5f3bed(0x2f3)]=_0x435471[_0x5f3bed(0x13a)]({'init':function(_0x5c166d,_0x59f2a8){var _0x5080a8=_0x5f3bed;_0x5c166d=this[_0x5080a8(0x3ea)]=_0x5c166d||[],_0x59f2a8!=_0x3de8c9?this[_0x5080a8(0x1ff)]=_0x59f2a8:this[_0x5080a8(0x1ff)]=_0x5c166d[_0x5080a8(0x338)]*0x4;},'toString':function(_0x4751e1){var _0x2e6f21=_0x5f3bed;return(_0x4751e1||_0x3e3a5f)[_0x2e6f21(0x21f)](this);},'concat':function(_0x374cdd){var _0x35af79=_0x5f3bed,_0xb658e2=this[_0x35af79(0x3ea)],_0x3b7d98=_0x374cdd[_0x35af79(0x3ea)],_0x98a298=this[_0x35af79(0x1ff)],_0x15c1c8=_0x374cdd[_0x35af79(0x1ff)];if(this[_0x35af79(0x1b3)](),_0x98a298%0x4)for(var _0x1e0b82=0x0;_0x1e0b82<_0x15c1c8;_0x1e0b82++){var _0x1320b7=_0x3b7d98[_0x1e0b82>>>0x2]>>>0x18-_0x1e0b82%0x4*0x8&0xff;_0xb658e2[_0x98a298+_0x1e0b82>>>0x2]|=_0x1320b7<<0x18-(_0x98a298+_0x1e0b82)%0x4*0x8;}else{for(var _0x5b1c27=0x0;_0x5b1c27<_0x15c1c8;_0x5b1c27+=0x4)_0xb658e2[_0x98a298+_0x5b1c27>>>0x2]=_0x3b7d98[_0x5b1c27>>>0x2];}return this[_0x35af79(0x1ff)]+=_0x15c1c8,this;},'clamp':function(){var _0x2a65fe=_0x5f3bed,_0x22a4ff=this['words'],_0x81c685=this['sigBytes'];_0x22a4ff[_0x81c685>>>0x2]&=0xffffffff<<0x20-_0x81c685%0x4*0x8,_0x22a4ff['length']=_0x34dcbd[_0x2a65fe(0x25a)](_0x81c685/0x4);},'clone':function(){var _0x55b0bd=_0x5f3bed,_0x5610f7=_0x435471[_0x55b0bd(0x2aa)][_0x55b0bd(0x2af)](this);return _0x5610f7['words']=this[_0x55b0bd(0x3ea)]['slice'](0x0),_0x5610f7;},'random':function(_0x5a9827){for(var _0x489f89=[],_0x45be9e=0x0;_0x45be9e<_0x5a9827;_0x45be9e+=0x4)_0x489f89['push'](_0x417be4());return new _0x39a007['init'](_0x489f89,_0x5a9827);}}),_0x497b84=_0x3aea29[_0x5f3bed(0x2ef)]={},_0x3e3a5f=_0x497b84['Hex']={'stringify':function(_0x38d1a4){var _0x445724=_0x5f3bed;for(var _0x13a5a3=_0x38d1a4[_0x445724(0x3ea)],_0x5af463=_0x38d1a4[_0x445724(0x1ff)],_0x513dec=[],_0x2230a4=0x0;_0x2230a4<_0x5af463;_0x2230a4++){var _0x3ff2fe=_0x13a5a3[_0x2230a4>>>0x2]>>>0x18-_0x2230a4%0x4*0x8&0xff;_0x513dec[_0x445724(0x403)]((_0x3ff2fe>>>0x4)['toString'](0x10)),_0x513dec[_0x445724(0x403)]((_0x3ff2fe&0xf)[_0x445724(0x15a)](0x10));}return _0x513dec[_0x445724(0x35b)]('');},'parse':function(_0x247814){var _0x543881=_0x5f3bed;for(var _0x23f32a=_0x247814[_0x543881(0x338)],_0x6b9421=[],_0x574252=0x0;_0x574252<_0x23f32a;_0x574252+=0x2)_0x6b9421[_0x574252>>>0x3]|=parseInt(_0x247814[_0x543881(0x1b5)](_0x574252,0x2),0x10)<<0x18-_0x574252%0x8*0x4;return new _0x39a007[(_0x543881(0x1b8))](_0x6b9421,_0x23f32a/0x2);}},_0x45ee32=_0x497b84[_0x5f3bed(0x3ae)]={'stringify':function(_0x2d88ff){var _0x829267=_0x5f3bed;for(var _0x128f0a=_0x2d88ff[_0x829267(0x3ea)],_0x491d6b=_0x2d88ff[_0x829267(0x1ff)],_0x1ea078=[],_0x4249c4=0x0;_0x4249c4<_0x491d6b;_0x4249c4++){var _0x29a117=_0x128f0a[_0x4249c4>>>0x2]>>>0x18-_0x4249c4%0x4*0x8&0xff;_0x1ea078[_0x829267(0x403)](String['fromCharCode'](_0x29a117));}return _0x1ea078[_0x829267(0x35b)]('');},'parse':function(_0x33bb67){var _0x2cd8f7=_0x5f3bed;for(var _0x1ab382=_0x33bb67['length'],_0x3c63a1=[],_0x4f56d5=0x0;_0x4f56d5<_0x1ab382;_0x4f56d5++)_0x3c63a1[_0x4f56d5>>>0x2]|=(_0x33bb67[_0x2cd8f7(0x3f9)](_0x4f56d5)&0xff)<<0x18-_0x4f56d5%0x4*0x8;return new _0x39a007[(_0x2cd8f7(0x1b8))](_0x3c63a1,_0x1ab382);}},_0x4c5f62=_0x497b84[_0x5f3bed(0x1d2)]={'stringify':function(_0x3999e8){var _0x2ce8f9=_0x5f3bed;try{return decodeURIComponent(escape(_0x45ee32[_0x2ce8f9(0x21f)](_0x3999e8)));}catch{throw new Error(_0x2ce8f9(0x368));}},'parse':function(_0x599542){var _0x793800=_0x5f3bed;return _0x45ee32[_0x793800(0x2df)](unescape(encodeURIComponent(_0x599542)));}},_0x33ee57=_0x2950db[_0x5f3bed(0x129)]=_0x435471[_0x5f3bed(0x13a)]({'reset':function(){var _0x50b7b1=_0x5f3bed;this['_data']=new _0x39a007[(_0x50b7b1(0x1b8))](),this[_0x50b7b1(0x25b)]=0x0;},'_append':function(_0x56496c){var _0x5b6398=_0x5f3bed;typeof _0x56496c==_0x5b6398(0x276)&&(_0x56496c=_0x4c5f62[_0x5b6398(0x2df)](_0x56496c)),this[_0x5b6398(0x19b)][_0x5b6398(0x1c1)](_0x56496c),this['_nDataBytes']+=_0x56496c[_0x5b6398(0x1ff)];},'_process':function(_0x28fe00){var _0x1af490=_0x5f3bed,_0x3eae20,_0x42ae75=this['_data'],_0x5cb4bc=_0x42ae75[_0x1af490(0x3ea)],_0x1c70fa=_0x42ae75['sigBytes'],_0x530ba6=this[_0x1af490(0x2e4)],_0x4006d0=_0x530ba6*0x4,_0x452da7=_0x1c70fa/_0x4006d0;_0x28fe00?_0x452da7=_0x34dcbd[_0x1af490(0x25a)](_0x452da7):_0x452da7=_0x34dcbd[_0x1af490(0x227)]((_0x452da7|0x0)-this[_0x1af490(0x367)],0x0);var _0x5e605f=_0x452da7*_0x530ba6,_0xb48e0=_0x34dcbd[_0x1af490(0x3db)](_0x5e605f*0x4,_0x1c70fa);if(_0x5e605f){for(var _0x369c8e=0x0;_0x369c8e<_0x5e605f;_0x369c8e+=_0x530ba6)this[_0x1af490(0x209)](_0x5cb4bc,_0x369c8e);_0x3eae20=_0x5cb4bc['splice'](0x0,_0x5e605f),_0x42ae75[_0x1af490(0x1ff)]-=_0xb48e0;}return new _0x39a007['init'](_0x3eae20,_0xb48e0);},'clone':function(){var _0x9dae2c=_0x5f3bed,_0x4992b6=_0x435471[_0x9dae2c(0x2aa)][_0x9dae2c(0x2af)](this);return _0x4992b6[_0x9dae2c(0x19b)]=this[_0x9dae2c(0x19b)]['clone'](),_0x4992b6;},'_minBufferSize':0x0});_0x2950db[_0x5f3bed(0x245)]=_0x33ee57[_0x5f3bed(0x13a)]({'cfg':_0x435471[_0x5f3bed(0x13a)](),'init':function(_0x1b44c9){var _0x4cc463=_0x5f3bed;this['cfg']=this['cfg'][_0x4cc463(0x13a)](_0x1b44c9),this['reset']();},'reset':function(){var _0x57b356=_0x5f3bed;_0x33ee57['reset'][_0x57b356(0x2af)](this),this['_doReset']();},'update':function(_0x35080a){var _0x314606=_0x5f3bed;return this[_0x314606(0x117)](_0x35080a),this[_0x314606(0x37a)](),this;},'finalize':function(_0x39ba8d){var _0x206794=_0x5f3bed;_0x39ba8d&&this[_0x206794(0x117)](_0x39ba8d);var _0x4fab9d=this['_doFinalize']();return _0x4fab9d;},'blockSize':0x10,'_createHelper':function(_0xf201fd){return function(_0x1a1b35,_0x48cc8a){var _0x2c5b69=_0x5b64;return new _0xf201fd[(_0x2c5b69(0x1b8))](_0x48cc8a)[_0x2c5b69(0x139)](_0x1a1b35);};},'_createHmacHelper':function(_0x1f09a3){return function(_0x99c3ba,_0x2bbe0a){var _0x71ea42=_0x5b64;return new _0x482bc9[(_0x71ea42(0x382))]['init'](_0x1f09a3,_0x2bbe0a)['finalize'](_0x99c3ba);};}});var _0x482bc9=_0x3aea29[_0x5f3bed(0x235)]={};return _0x3aea29;}(Math);return _0xdb8ff7;}));}(Ge)),Ge[_0x2c7db7(0x12a)];}var We={'exports':{}},Es=We[_0x30c97e(0x12a)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x3c0ff9,_0x10c8e9){(function(_0x35ceea,_0x1386d4){var _0x3a3a52=_0x5b64;_0x3c0ff9[_0x3a3a52(0x12a)]=_0x1386d4(ie());}(Es,function(_0x41f9cd){var _0x782758=_0x5b64;return(function(){var _0x2bb4bb=_0x5b64,_0x459277=_0x41f9cd,_0x42b4ab=_0x459277[_0x2bb4bb(0x314)],_0x16cb13=_0x42b4ab[_0x2bb4bb(0x2f3)],_0x1039ea=_0x459277['enc'];_0x1039ea[_0x2bb4bb(0x3a4)]={'stringify':function(_0x2db7df){var _0x3cf201=_0x2bb4bb,_0xba31ab=_0x2db7df['words'],_0x370994=_0x2db7df[_0x3cf201(0x1ff)],_0x4a710b=this[_0x3cf201(0x1a6)];_0x2db7df[_0x3cf201(0x1b3)]();for(var _0x5179ae=[],_0x4890aa=0x0;_0x4890aa<_0x370994;_0x4890aa+=0x3)for(var _0x5099b5=_0xba31ab[_0x4890aa>>>0x2]>>>0x18-_0x4890aa%0x4*0x8&0xff,_0x363fe3=_0xba31ab[_0x4890aa+0x1>>>0x2]>>>0x18-(_0x4890aa+0x1)%0x4*0x8&0xff,_0x24288f=_0xba31ab[_0x4890aa+0x2>>>0x2]>>>0x18-(_0x4890aa+0x2)%0x4*0x8&0xff,_0x54274b=_0x5099b5<<0x10|_0x363fe3<<0x8|_0x24288f,_0xac5f77=0x0;_0xac5f77<0x4&&_0x4890aa+_0xac5f77*0.75<_0x370994;_0xac5f77++)_0x5179ae[_0x3cf201(0x403)](_0x4a710b[_0x3cf201(0x1e9)](_0x54274b>>>0x6*(0x3-_0xac5f77)&0x3f));var _0x2a8755=_0x4a710b['charAt'](0x40);if(_0x2a8755){for(;_0x5179ae[_0x3cf201(0x338)]%0x4;)_0x5179ae['push'](_0x2a8755);}return _0x5179ae[_0x3cf201(0x35b)]('');},'parse':function(_0x167686){var _0x5d798c=_0x2bb4bb,_0x5d7252=_0x167686[_0x5d798c(0x338)],_0x1037c1=this[_0x5d798c(0x1a6)],_0x4a0168=this[_0x5d798c(0x18d)];if(!_0x4a0168){_0x4a0168=this[_0x5d798c(0x18d)]=[];for(var _0xf9513b=0x0;_0xf9513b<_0x1037c1[_0x5d798c(0x338)];_0xf9513b++)_0x4a0168[_0x1037c1['charCodeAt'](_0xf9513b)]=_0xf9513b;}var _0x3febf6=_0x1037c1['charAt'](0x40);if(_0x3febf6){var _0x2c401b=_0x167686[_0x5d798c(0x17b)](_0x3febf6);_0x2c401b!==-0x1&&(_0x5d7252=_0x2c401b);}return _0x11155c(_0x167686,_0x5d7252,_0x4a0168);},'_map':_0x2bb4bb(0x23e)};function _0x11155c(_0x448d2c,_0x22aee8,_0x12177d){var _0x1a8d5f=_0x2bb4bb;for(var _0x152d5c=[],_0x21e202=0x0,_0x2efd28=0x0;_0x2efd28<_0x22aee8;_0x2efd28++)if(_0x2efd28%0x4){var _0x257c2c=_0x12177d[_0x448d2c[_0x1a8d5f(0x3f9)](_0x2efd28-0x1)]<<_0x2efd28%0x4*0x2,_0x2753a3=_0x12177d[_0x448d2c[_0x1a8d5f(0x3f9)](_0x2efd28)]>>>0x6-_0x2efd28%0x4*0x2,_0xfc4fb1=_0x257c2c|_0x2753a3;_0x152d5c[_0x21e202>>>0x2]|=_0xfc4fb1<<0x18-_0x21e202%0x4*0x8,_0x21e202++;}return _0x16cb13['create'](_0x152d5c,_0x21e202);}}()),_0x41f9cd[_0x782758(0x2ef)][_0x782758(0x3a4)];}));}(We)),We['exports'];}var Ke={'exports':{}},Is=Ke[_0x30c97e(0x12a)],Qt;function Ts(){var _0x4d65cb=_0x30c97e;return Qt||(Qt=0x1,function(_0x209156,_0x33f718){(function(_0xc322ec,_0x5779c6){_0x209156['exports']=_0x5779c6(ie());}(Is,function(_0x22bf0f){var _0x4fcc57=_0x5b64;return function(_0x3d2b13){var _0x45d511=_0x5b64,_0x131baa=_0x22bf0f,_0x5b23be=_0x131baa[_0x45d511(0x314)],_0x1f0462=_0x5b23be[_0x45d511(0x2f3)],_0x4362d3=_0x5b23be[_0x45d511(0x245)],_0xdc6369=_0x131baa[_0x45d511(0x235)],_0x101564=[];(function(){var _0x3e8f8a=_0x45d511;for(var _0xb6a96e=0x0;_0xb6a96e<0x40;_0xb6a96e++)_0x101564[_0xb6a96e]=_0x3d2b13['abs'](_0x3d2b13[_0x3e8f8a(0x14c)](_0xb6a96e+0x1))*0x100000000|0x0;}());var _0xec9611=_0xdc6369[_0x45d511(0x225)]=_0x4362d3['extend']({'_doReset':function(){var _0x545833=_0x45d511;this[_0x545833(0x2fc)]=new _0x1f0462['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3f1808,_0x286457){var _0x1be49c=_0x45d511;for(var _0x3e3108=0x0;_0x3e3108<0x10;_0x3e3108++){var _0xbb8988=_0x286457+_0x3e3108,_0x38416c=_0x3f1808[_0xbb8988];_0x3f1808[_0xbb8988]=(_0x38416c<<0x8|_0x38416c>>>0x18)&0xff00ff|(_0x38416c<<0x18|_0x38416c>>>0x8)&0xff00ff00;}var _0x1b5f05=this[_0x1be49c(0x2fc)][_0x1be49c(0x3ea)],_0x4306f9=_0x3f1808[_0x286457+0x0],_0x50e6d8=_0x3f1808[_0x286457+0x1],_0x3ba9cb=_0x3f1808[_0x286457+0x2],_0x292412=_0x3f1808[_0x286457+0x3],_0x2474e3=_0x3f1808[_0x286457+0x4],_0x3586ee=_0x3f1808[_0x286457+0x5],_0x32e345=_0x3f1808[_0x286457+0x6],_0x4c0a8e=_0x3f1808[_0x286457+0x7],_0x399a8c=_0x3f1808[_0x286457+0x8],_0xb6743a=_0x3f1808[_0x286457+0x9],_0x4c6e19=_0x3f1808[_0x286457+0xa],_0x30b7bc=_0x3f1808[_0x286457+0xb],_0x9bfa8d=_0x3f1808[_0x286457+0xc],_0x204d1b=_0x3f1808[_0x286457+0xd],_0x59ac44=_0x3f1808[_0x286457+0xe],_0x1f449b=_0x3f1808[_0x286457+0xf],_0x8b6d77=_0x1b5f05[0x0],_0x67dcd=_0x1b5f05[0x1],_0x49644e=_0x1b5f05[0x2],_0x471434=_0x1b5f05[0x3];_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x4306f9,0x7,_0x101564[0x0]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x50e6d8,0xc,_0x101564[0x1]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x3ba9cb,0x11,_0x101564[0x2]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x292412,0x16,_0x101564[0x3]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x2474e3,0x7,_0x101564[0x4]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x3586ee,0xc,_0x101564[0x5]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x32e345,0x11,_0x101564[0x6]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4c0a8e,0x16,_0x101564[0x7]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x399a8c,0x7,_0x101564[0x8]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0xb6743a,0xc,_0x101564[0x9]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c6e19,0x11,_0x101564[0xa]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x30b7bc,0x16,_0x101564[0xb]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x9bfa8d,0x7,_0x101564[0xc]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x204d1b,0xc,_0x101564[0xd]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x59ac44,0x11,_0x101564[0xe]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x1f449b,0x16,_0x101564[0xf]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x50e6d8,0x5,_0x101564[0x10]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x32e345,0x9,_0x101564[0x11]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x30b7bc,0xe,_0x101564[0x12]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4306f9,0x14,_0x101564[0x13]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x3586ee,0x5,_0x101564[0x14]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4c6e19,0x9,_0x101564[0x15]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x1f449b,0xe,_0x101564[0x16]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x2474e3,0x14,_0x101564[0x17]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0xb6743a,0x5,_0x101564[0x18]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x59ac44,0x9,_0x101564[0x19]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x292412,0xe,_0x101564[0x1a]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x399a8c,0x14,_0x101564[0x1b]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x204d1b,0x5,_0x101564[0x1c]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x3ba9cb,0x9,_0x101564[0x1d]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c0a8e,0xe,_0x101564[0x1e]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x9bfa8d,0x14,_0x101564[0x1f]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x3586ee,0x4,_0x101564[0x20]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x399a8c,0xb,_0x101564[0x21]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x30b7bc,0x10,_0x101564[0x22]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x59ac44,0x17,_0x101564[0x23]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x50e6d8,0x4,_0x101564[0x24]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x2474e3,0xb,_0x101564[0x25]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c0a8e,0x10,_0x101564[0x26]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4c6e19,0x17,_0x101564[0x27]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x204d1b,0x4,_0x101564[0x28]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4306f9,0xb,_0x101564[0x29]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x292412,0x10,_0x101564[0x2a]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x32e345,0x17,_0x101564[0x2b]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0xb6743a,0x4,_0x101564[0x2c]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x9bfa8d,0xb,_0x101564[0x2d]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x1f449b,0x10,_0x101564[0x2e]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x3ba9cb,0x17,_0x101564[0x2f]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x4306f9,0x6,_0x101564[0x30]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4c0a8e,0xa,_0x101564[0x31]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x59ac44,0xf,_0x101564[0x32]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x3586ee,0x15,_0x101564[0x33]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x9bfa8d,0x6,_0x101564[0x34]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x292412,0xa,_0x101564[0x35]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c6e19,0xf,_0x101564[0x36]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x50e6d8,0x15,_0x101564[0x37]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x399a8c,0x6,_0x101564[0x38]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x1f449b,0xa,_0x101564[0x39]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x32e345,0xf,_0x101564[0x3a]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x204d1b,0x15,_0x101564[0x3b]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x2474e3,0x6,_0x101564[0x3c]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x30b7bc,0xa,_0x101564[0x3d]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x3ba9cb,0xf,_0x101564[0x3e]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0xb6743a,0x15,_0x101564[0x3f]),_0x1b5f05[0x0]=_0x1b5f05[0x0]+_0x8b6d77|0x0,_0x1b5f05[0x1]=_0x1b5f05[0x1]+_0x67dcd|0x0,_0x1b5f05[0x2]=_0x1b5f05[0x2]+_0x49644e|0x0,_0x1b5f05[0x3]=_0x1b5f05[0x3]+_0x471434|0x0;},'_doFinalize':function(){var _0x2474df=_0x45d511,_0x2bdbbb=this[_0x2474df(0x19b)],_0x42b426=_0x2bdbbb[_0x2474df(0x3ea)],_0x55503c=this['_nDataBytes']*0x8,_0xfba122=_0x2bdbbb[_0x2474df(0x1ff)]*0x8;_0x42b426[_0xfba122>>>0x5]|=0x80<<0x18-_0xfba122%0x20;var _0x221167=_0x3d2b13['floor'](_0x55503c/0x100000000),_0xb29da4=_0x55503c;_0x42b426[(_0xfba122+0x40>>>0x9<<0x4)+0xf]=(_0x221167<<0x8|_0x221167>>>0x18)&0xff00ff|(_0x221167<<0x18|_0x221167>>>0x8)&0xff00ff00,_0x42b426[(_0xfba122+0x40>>>0x9<<0x4)+0xe]=(_0xb29da4<<0x8|_0xb29da4>>>0x18)&0xff00ff|(_0xb29da4<<0x18|_0xb29da4>>>0x8)&0xff00ff00,_0x2bdbbb['sigBytes']=(_0x42b426[_0x2474df(0x338)]+0x1)*0x4,this[_0x2474df(0x37a)]();for(var _0x4857d4=this['_hash'],_0x5289c4=_0x4857d4['words'],_0x5af094=0x0;_0x5af094<0x4;_0x5af094++){var _0xa154d0=_0x5289c4[_0x5af094];_0x5289c4[_0x5af094]=(_0xa154d0<<0x8|_0xa154d0>>>0x18)&0xff00ff|(_0xa154d0<<0x18|_0xa154d0>>>0x8)&0xff00ff00;}return _0x4857d4;},'clone':function(){var _0x402761=_0x45d511,_0x4c6442=_0x4362d3[_0x402761(0x2aa)][_0x402761(0x2af)](this);return _0x4c6442['_hash']=this[_0x402761(0x2fc)][_0x402761(0x2aa)](),_0x4c6442;}});function _0x2a3e32(_0x2e8408,_0x2164cd,_0x45d353,_0x46241d,_0x27b6b5,_0x340f0a,_0x5087b3){var _0x2288b8=_0x2e8408+(_0x2164cd&_0x45d353|~_0x2164cd&_0x46241d)+_0x27b6b5+_0x5087b3;return(_0x2288b8<<_0x340f0a|_0x2288b8>>>0x20-_0x340f0a)+_0x2164cd;}function _0x354b23(_0x5c4c76,_0x5df9a0,_0x57caa9,_0x4f0b2f,_0x59dd9c,_0x40e7ec,_0x612bf1){var _0x2cddf1=_0x5c4c76+(_0x5df9a0&_0x4f0b2f|_0x57caa9&~_0x4f0b2f)+_0x59dd9c+_0x612bf1;return(_0x2cddf1<<_0x40e7ec|_0x2cddf1>>>0x20-_0x40e7ec)+_0x5df9a0;}function _0x47c143(_0x249a05,_0x1d736a,_0x5c3585,_0x4810fe,_0x116396,_0x5569ed,_0x22c165){var _0x4a5b78=_0x249a05+(_0x1d736a^_0x5c3585^_0x4810fe)+_0x116396+_0x22c165;return(_0x4a5b78<<_0x5569ed|_0x4a5b78>>>0x20-_0x5569ed)+_0x1d736a;}function _0x23047b(_0x20f418,_0x3deaf1,_0x2fafb9,_0x3928b1,_0xfdea6,_0x4d0ea2,_0x4a2dc4){var _0x3b00ed=_0x20f418+(_0x2fafb9^(_0x3deaf1|~_0x3928b1))+_0xfdea6+_0x4a2dc4;return(_0x3b00ed<<_0x4d0ea2|_0x3b00ed>>>0x20-_0x4d0ea2)+_0x3deaf1;}_0x131baa[_0x45d511(0x225)]=_0x4362d3['_createHelper'](_0xec9611),_0x131baa['HmacMD5']=_0x4362d3[_0x45d511(0x160)](_0xec9611);}(Math),_0x22bf0f[_0x4fcc57(0x225)];}));}(Ke)),Ke[_0x4d65cb(0x12a)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x30c97e(0x12a)],ei;function Rs(){var _0x232101=_0x30c97e;return ei||(ei=0x1,function(_0x3f2d5f,_0x1dbc91){(function(_0x1c30ee,_0x3701bd){var _0x457155=_0x5b64;_0x3f2d5f[_0x457155(0x12a)]=_0x3701bd(ie());}(Cs,function(_0xdfc9){var _0x311c29=_0x5b64;return(function(){var _0x5c0a20=_0x5b64,_0x5c97d9=_0xdfc9,_0xf50710=_0x5c97d9[_0x5c0a20(0x314)],_0x1297c3=_0xf50710[_0x5c0a20(0x2f3)],_0xe6f81d=_0xf50710['Hasher'],_0x3ab2a8=_0x5c97d9[_0x5c0a20(0x235)],_0x5b1b87=[],_0x724410=_0x3ab2a8['SHA1']=_0xe6f81d[_0x5c0a20(0x13a)]({'_doReset':function(){var _0x2cfe78=_0x5c0a20;this[_0x2cfe78(0x2fc)]=new _0x1297c3[(_0x2cfe78(0x1b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x554203,_0x8ca85){var _0x173a7d=_0x5c0a20;for(var _0x4a8fef=this[_0x173a7d(0x2fc)]['words'],_0x503602=_0x4a8fef[0x0],_0xaadf4c=_0x4a8fef[0x1],_0x1de33c=_0x4a8fef[0x2],_0x2e6e47=_0x4a8fef[0x3],_0x352f12=_0x4a8fef[0x4],_0x26103f=0x0;_0x26103f<0x50;_0x26103f++){if(_0x26103f<0x10)_0x5b1b87[_0x26103f]=_0x554203[_0x8ca85+_0x26103f]|0x0;else{var _0x481389=_0x5b1b87[_0x26103f-0x3]^_0x5b1b87[_0x26103f-0x8]^_0x5b1b87[_0x26103f-0xe]^_0x5b1b87[_0x26103f-0x10];_0x5b1b87[_0x26103f]=_0x481389<<0x1|_0x481389>>>0x1f;}var _0x26c083=(_0x503602<<0x5|_0x503602>>>0x1b)+_0x352f12+_0x5b1b87[_0x26103f];_0x26103f<0x14?_0x26c083+=(_0xaadf4c&_0x1de33c|~_0xaadf4c&_0x2e6e47)+0x5a827999:_0x26103f<0x28?_0x26c083+=(_0xaadf4c^_0x1de33c^_0x2e6e47)+0x6ed9eba1:_0x26103f<0x3c?_0x26c083+=(_0xaadf4c&_0x1de33c|_0xaadf4c&_0x2e6e47|_0x1de33c&_0x2e6e47)-0x70e44324:_0x26c083+=(_0xaadf4c^_0x1de33c^_0x2e6e47)-0x359d3e2a,_0x352f12=_0x2e6e47,_0x2e6e47=_0x1de33c,_0x1de33c=_0xaadf4c<<0x1e|_0xaadf4c>>>0x2,_0xaadf4c=_0x503602,_0x503602=_0x26c083;}_0x4a8fef[0x0]=_0x4a8fef[0x0]+_0x503602|0x0,_0x4a8fef[0x1]=_0x4a8fef[0x1]+_0xaadf4c|0x0,_0x4a8fef[0x2]=_0x4a8fef[0x2]+_0x1de33c|0x0,_0x4a8fef[0x3]=_0x4a8fef[0x3]+_0x2e6e47|0x0,_0x4a8fef[0x4]=_0x4a8fef[0x4]+_0x352f12|0x0;},'_doFinalize':function(){var _0x4b7113=_0x5c0a20,_0xe06f31=this[_0x4b7113(0x19b)],_0x143fd0=_0xe06f31[_0x4b7113(0x3ea)],_0x1ba993=this[_0x4b7113(0x25b)]*0x8,_0x1e8b33=_0xe06f31['sigBytes']*0x8;return _0x143fd0[_0x1e8b33>>>0x5]|=0x80<<0x18-_0x1e8b33%0x20,_0x143fd0[(_0x1e8b33+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1ba993/0x100000000),_0x143fd0[(_0x1e8b33+0x40>>>0x9<<0x4)+0xf]=_0x1ba993,_0xe06f31['sigBytes']=_0x143fd0[_0x4b7113(0x338)]*0x4,this[_0x4b7113(0x37a)](),this[_0x4b7113(0x2fc)];},'clone':function(){var _0x5c570b=_0x5c0a20,_0x2cd67f=_0xe6f81d[_0x5c570b(0x2aa)]['call'](this);return _0x2cd67f[_0x5c570b(0x2fc)]=this['_hash'][_0x5c570b(0x2aa)](),_0x2cd67f;}});_0x5c97d9[_0x5c0a20(0x1af)]=_0xe6f81d[_0x5c0a20(0x23d)](_0x724410),_0x5c97d9[_0x5c0a20(0x2fe)]=_0xe6f81d['_createHmacHelper'](_0x724410);}()),_0xdfc9[_0x311c29(0x1af)];}));}(qe)),qe[_0x232101(0x12a)];}var ze={'exports':{}},bs=ze[_0x30c97e(0x12a)],ti;function Os(){var _0x4f0e94=_0x30c97e;return ti||(ti=0x1,function(_0x370256,_0x379950){(function(_0x456b94,_0x482d45){var _0x10a59e=_0x5b64;_0x370256[_0x10a59e(0x12a)]=_0x482d45(ie());}(bs,function(_0x482ef8){(function(){var _0x484b58=_0x5b64,_0x36cf1e=_0x482ef8,_0x239c18=_0x36cf1e[_0x484b58(0x314)],_0x36aac2=_0x239c18['Base'],_0x2ce072=_0x36cf1e[_0x484b58(0x2ef)],_0x35b993=_0x2ce072['Utf8'],_0x368c6f=_0x36cf1e[_0x484b58(0x235)];_0x368c6f['HMAC']=_0x36aac2['extend']({'init':function(_0x42c67c,_0x2460c9){var _0x55354a=_0x484b58;_0x42c67c=this['_hasher']=new _0x42c67c[(_0x55354a(0x1b8))](),typeof _0x2460c9=='string'&&(_0x2460c9=_0x35b993[_0x55354a(0x2df)](_0x2460c9));var _0x427e70=_0x42c67c['blockSize'],_0x587a0c=_0x427e70*0x4;_0x2460c9[_0x55354a(0x1ff)]>_0x587a0c&&(_0x2460c9=_0x42c67c['finalize'](_0x2460c9)),_0x2460c9[_0x55354a(0x1b3)]();for(var _0x25d417=this['_oKey']=_0x2460c9[_0x55354a(0x2aa)](),_0xa03564=this[_0x55354a(0x13b)]=_0x2460c9[_0x55354a(0x2aa)](),_0x576eba=_0x25d417[_0x55354a(0x3ea)],_0x46eeeb=_0xa03564[_0x55354a(0x3ea)],_0x2059bb=0x0;_0x2059bb<_0x427e70;_0x2059bb++)_0x576eba[_0x2059bb]^=0x5c5c5c5c,_0x46eeeb[_0x2059bb]^=0x36363636;_0x25d417[_0x55354a(0x1ff)]=_0xa03564[_0x55354a(0x1ff)]=_0x587a0c,this[_0x55354a(0x121)]();},'reset':function(){var _0x222e0c=_0x484b58,_0x19c084=this[_0x222e0c(0x3b0)];_0x19c084[_0x222e0c(0x121)](),_0x19c084['update'](this[_0x222e0c(0x13b)]);},'update':function(_0x3d82ab){var _0x45403c=_0x484b58;return this[_0x45403c(0x3b0)][_0x45403c(0x265)](_0x3d82ab),this;},'finalize':function(_0x1a4fed){var _0x3648b2=_0x484b58,_0x31e2a8=this[_0x3648b2(0x3b0)],_0x63f952=_0x31e2a8['finalize'](_0x1a4fed);_0x31e2a8['reset']();var _0x150e08=_0x31e2a8[_0x3648b2(0x139)](this[_0x3648b2(0x161)][_0x3648b2(0x2aa)]()[_0x3648b2(0x1c1)](_0x63f952));return _0x150e08;}});}());}));}(ze)),ze[_0x4f0e94(0x12a)];}var ys=Ye[_0x30c97e(0x12a)],ii;function Ui(){var _0x22d08a=_0x30c97e;return ii||(ii=0x1,function(_0x1d9520,_0x56f2d3){(function(_0x3fa36d,_0xf9bff1,_0x3d3910){_0x1d9520['exports']=_0xf9bff1(ie(),Rs(),Os());}(ys,function(_0x28ec39){return(function(){var _0x429bdd=_0x5b64,_0x310797=_0x28ec39,_0x8524ba=_0x310797[_0x429bdd(0x314)],_0x4b244b=_0x8524ba[_0x429bdd(0x401)],_0x4c8db9=_0x8524ba[_0x429bdd(0x2f3)],_0x10e610=_0x310797[_0x429bdd(0x235)],_0x2d5f8a=_0x10e610[_0x429bdd(0x225)],_0x4d16b4=_0x10e610['EvpKDF']=_0x4b244b[_0x429bdd(0x13a)]({'cfg':_0x4b244b[_0x429bdd(0x13a)]({'keySize':0x80/0x20,'hasher':_0x2d5f8a,'iterations':0x1}),'init':function(_0x3cf772){var _0x31aec2=_0x429bdd;this[_0x31aec2(0x355)]=this[_0x31aec2(0x355)][_0x31aec2(0x13a)](_0x3cf772);},'compute':function(_0x15e991,_0x42967b){var _0x1042d8=_0x429bdd;for(var _0x330d2b,_0x375e3c=this[_0x1042d8(0x355)],_0x5cb822=_0x375e3c[_0x1042d8(0x389)][_0x1042d8(0x3cc)](),_0x4e8b58=_0x4c8db9[_0x1042d8(0x3cc)](),_0x769d03=_0x4e8b58['words'],_0x12b74f=_0x375e3c[_0x1042d8(0x281)],_0x35e25d=_0x375e3c[_0x1042d8(0x1dc)];_0x769d03[_0x1042d8(0x338)]<_0x12b74f;){_0x330d2b&&_0x5cb822[_0x1042d8(0x265)](_0x330d2b),_0x330d2b=_0x5cb822[_0x1042d8(0x265)](_0x15e991)['finalize'](_0x42967b),_0x5cb822[_0x1042d8(0x121)]();for(var _0x21965c=0x1;_0x21965c<_0x35e25d;_0x21965c++)_0x330d2b=_0x5cb822[_0x1042d8(0x139)](_0x330d2b),_0x5cb822['reset']();_0x4e8b58[_0x1042d8(0x1c1)](_0x330d2b);}return _0x4e8b58[_0x1042d8(0x1ff)]=_0x12b74f*0x4,_0x4e8b58;}});_0x310797[_0x429bdd(0x350)]=function(_0x25b33c,_0xd5d79,_0x504f1e){var _0x40b022=_0x429bdd;return _0x4d16b4[_0x40b022(0x3cc)](_0x504f1e)[_0x40b022(0x1b7)](_0x25b33c,_0xd5d79);};}()),_0x28ec39['EvpKDF'];}));}(Ye)),Ye[_0x22d08a(0x12a)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x1c42f1=_0x30c97e;return ni||(ni=0x1,function(_0x1fb802,_0x4bbec9){(function(_0x75330c,_0x541554,_0x3be624){var _0x2c34ec=_0x5b64;_0x1fb802[_0x2c34ec(0x12a)]=_0x541554(ie(),Ui());}(Ns,function(_0x2e5179){var _0x5ad204=_0x5b64;_0x2e5179[_0x5ad204(0x314)]['Cipher']||function(_0x1d94de){var _0x206358=_0x5ad204,_0x33c33c=_0x2e5179,_0x4ccbf1=_0x33c33c[_0x206358(0x314)],_0x194e72=_0x4ccbf1[_0x206358(0x401)],_0x2b0b7d=_0x4ccbf1[_0x206358(0x2f3)],_0x2e0b24=_0x4ccbf1[_0x206358(0x129)],_0x1be7fc=_0x33c33c[_0x206358(0x2ef)];_0x1be7fc['Utf8'];var _0x6e2319=_0x1be7fc[_0x206358(0x3a4)],_0x5c48f1=_0x33c33c['algo'],_0x292d80=_0x5c48f1[_0x206358(0x350)],_0x3f6131=_0x4ccbf1[_0x206358(0x2b1)]=_0x2e0b24[_0x206358(0x13a)]({'cfg':_0x194e72[_0x206358(0x13a)](),'createEncryptor':function(_0x3d252d,_0x4d478d){var _0x5d4f42=_0x206358;return this['create'](this[_0x5d4f42(0x289)],_0x3d252d,_0x4d478d);},'createDecryptor':function(_0x19a411,_0x284354){var _0x390e4d=_0x206358;return this[_0x390e4d(0x3cc)](this[_0x390e4d(0x165)],_0x19a411,_0x284354);},'init':function(_0x3df085,_0x15d749,_0x5e2d91){var _0x36e8a9=_0x206358;this[_0x36e8a9(0x355)]=this['cfg'][_0x36e8a9(0x13a)](_0x5e2d91),this[_0x36e8a9(0x40c)]=_0x3df085,this[_0x36e8a9(0x3d5)]=_0x15d749,this[_0x36e8a9(0x121)]();},'reset':function(){var _0x950f34=_0x206358;_0x2e0b24[_0x950f34(0x121)][_0x950f34(0x2af)](this),this['_doReset']();},'process':function(_0x1ae8e4){var _0x5390ca=_0x206358;return this[_0x5390ca(0x117)](_0x1ae8e4),this[_0x5390ca(0x37a)]();},'finalize':function(_0x22e845){var _0x40bb16=_0x206358;_0x22e845&&this[_0x40bb16(0x117)](_0x22e845);var _0xf98ee=this[_0x40bb16(0x341)]();return _0xf98ee;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x8bcb11(_0xd0ea8){var _0x3366c6=_0x5b64;return typeof _0xd0ea8==_0x3366c6(0x276)?_0x297861:_0x1af0bf;}return function(_0x17acfd){return{'encrypt':function(_0xce90af,_0xc0723a,_0x59ee16){var _0xed89eb=_0x5b64;return _0x8bcb11(_0xc0723a)[_0xed89eb(0x2b9)](_0x17acfd,_0xce90af,_0xc0723a,_0x59ee16);},'decrypt':function(_0x44076f,_0x33d403,_0x55d958){var _0x26c558=_0x5b64;return _0x8bcb11(_0x33d403)[_0x26c558(0x337)](_0x17acfd,_0x44076f,_0x33d403,_0x55d958);}};};}())});_0x4ccbf1[_0x206358(0x3df)]=_0x3f6131[_0x206358(0x13a)]({'_doFinalize':function(){var _0x1e2a57=_0x206358,_0x3f5425=this[_0x1e2a57(0x37a)](!0x0);return _0x3f5425;},'blockSize':0x1});var _0x5a9ec7=_0x33c33c[_0x206358(0x137)]={},_0x434329=_0x4ccbf1[_0x206358(0x324)]=_0x194e72[_0x206358(0x13a)]({'createEncryptor':function(_0xcc3fc,_0x244175){var _0x2fc038=_0x206358;return this['Encryptor'][_0x2fc038(0x3cc)](_0xcc3fc,_0x244175);},'createDecryptor':function(_0x1442c6,_0x3501e7){var _0x2932b2=_0x206358;return this[_0x2932b2(0x264)][_0x2932b2(0x3cc)](_0x1442c6,_0x3501e7);},'init':function(_0x5dd84e,_0x56b9c9){var _0x2205a1=_0x206358;this[_0x2205a1(0x286)]=_0x5dd84e,this[_0x2205a1(0x284)]=_0x56b9c9;}}),_0x4869cb=_0x5a9ec7['CBC']=(function(){var _0x39650b=_0x206358,_0x178631=_0x434329[_0x39650b(0x13a)]();_0x178631[_0x39650b(0x31f)]=_0x178631[_0x39650b(0x13a)]({'processBlock':function(_0x4815c3,_0x7978f){var _0x479566=_0x39650b,_0x5186d5=this['_cipher'],_0x292b74=_0x5186d5['blockSize'];_0x2582ce[_0x479566(0x2af)](this,_0x4815c3,_0x7978f,_0x292b74),_0x5186d5['encryptBlock'](_0x4815c3,_0x7978f),this[_0x479566(0x392)]=_0x4815c3['slice'](_0x7978f,_0x7978f+_0x292b74);}}),_0x178631[_0x39650b(0x264)]=_0x178631['extend']({'processBlock':function(_0x513512,_0x2aed6f){var _0x60f0e3=_0x39650b,_0x47dff3=this[_0x60f0e3(0x286)],_0x127049=_0x47dff3['blockSize'],_0x527053=_0x513512[_0x60f0e3(0x34f)](_0x2aed6f,_0x2aed6f+_0x127049);_0x47dff3[_0x60f0e3(0x325)](_0x513512,_0x2aed6f),_0x2582ce[_0x60f0e3(0x2af)](this,_0x513512,_0x2aed6f,_0x127049),this[_0x60f0e3(0x392)]=_0x527053;}});function _0x2582ce(_0x113dbe,_0x5242a4,_0x4ee9d0){var _0x35f605=_0x39650b,_0x203b28,_0x227447=this[_0x35f605(0x284)];_0x227447?(_0x203b28=_0x227447,this[_0x35f605(0x284)]=_0x1d94de):_0x203b28=this[_0x35f605(0x392)];for(var _0x26bc7e=0x0;_0x26bc7e<_0x4ee9d0;_0x26bc7e++)_0x113dbe[_0x5242a4+_0x26bc7e]^=_0x203b28[_0x26bc7e];}return _0x178631;}()),_0x1875e6=_0x33c33c[_0x206358(0x3e8)]={},_0x1b0b86=_0x1875e6[_0x206358(0x26a)]={'pad':function(_0xeb8a64,_0x467b7b){var _0x2e904a=_0x206358;for(var _0x17f9f9=_0x467b7b*0x4,_0x2d67ce=_0x17f9f9-_0xeb8a64[_0x2e904a(0x1ff)]%_0x17f9f9,_0x2b50b8=_0x2d67ce<<0x18|_0x2d67ce<<0x10|_0x2d67ce<<0x8|_0x2d67ce,_0x3f93bb=[],_0x2eeaeb=0x0;_0x2eeaeb<_0x2d67ce;_0x2eeaeb+=0x4)_0x3f93bb[_0x2e904a(0x403)](_0x2b50b8);var _0x44f378=_0x2b0b7d['create'](_0x3f93bb,_0x2d67ce);_0xeb8a64[_0x2e904a(0x1c1)](_0x44f378);},'unpad':function(_0x2892c3){var _0x1a4bcc=_0x206358,_0x4083f0=_0x2892c3[_0x1a4bcc(0x3ea)][_0x2892c3[_0x1a4bcc(0x1ff)]-0x1>>>0x2]&0xff;_0x2892c3['sigBytes']-=_0x4083f0;}};_0x4ccbf1[_0x206358(0x31e)]=_0x3f6131[_0x206358(0x13a)]({'cfg':_0x3f6131[_0x206358(0x355)][_0x206358(0x13a)]({'mode':_0x4869cb,'padding':_0x1b0b86}),'reset':function(){var _0x3522f8=_0x206358,_0x4946a4;_0x3f6131[_0x3522f8(0x121)][_0x3522f8(0x2af)](this);var _0x570d67=this['cfg'],_0x6ac9f9=_0x570d67['iv'],_0x143dda=_0x570d67[_0x3522f8(0x137)];this[_0x3522f8(0x40c)]==this[_0x3522f8(0x289)]?_0x4946a4=_0x143dda[_0x3522f8(0x33a)]:(_0x4946a4=_0x143dda[_0x3522f8(0x2b3)],this[_0x3522f8(0x367)]=0x1),this[_0x3522f8(0x366)]&&this['_mode'][_0x3522f8(0x301)]==_0x4946a4?this['_mode'][_0x3522f8(0x1b8)](this,_0x6ac9f9&&_0x6ac9f9['words']):(this['_mode']=_0x4946a4[_0x3522f8(0x2af)](_0x143dda,this,_0x6ac9f9&&_0x6ac9f9['words']),this['_mode'][_0x3522f8(0x301)]=_0x4946a4);},'_doProcessBlock':function(_0x352307,_0x29d11d){var _0x2061bd=_0x206358;this['_mode'][_0x2061bd(0x27a)](_0x352307,_0x29d11d);},'_doFinalize':function(){var _0x5776af=_0x206358,_0x54e14e,_0x596f51=this['cfg'][_0x5776af(0x2bf)];return this[_0x5776af(0x40c)]==this[_0x5776af(0x289)]?(_0x596f51[_0x5776af(0x3e8)](this[_0x5776af(0x19b)],this[_0x5776af(0x2e4)]),_0x54e14e=this['_process'](!0x0)):(_0x54e14e=this[_0x5776af(0x37a)](!0x0),_0x596f51[_0x5776af(0x32f)](_0x54e14e)),_0x54e14e;},'blockSize':0x80/0x20});var _0xd95b09=_0x4ccbf1[_0x206358(0x2a3)]=_0x194e72[_0x206358(0x13a)]({'init':function(_0x89121c){this['mixIn'](_0x89121c);},'toString':function(_0x445cea){var _0xd00e04=_0x206358;return(_0x445cea||this[_0xd00e04(0x3e7)])[_0xd00e04(0x21f)](this);}}),_0x5dea27=_0x33c33c[_0x206358(0x16c)]={},_0xa9ab07=_0x5dea27[_0x206358(0x1d5)]={'stringify':function(_0x2b6512){var _0x335727=_0x206358,_0xc4880f,_0x127926=_0x2b6512[_0x335727(0x210)],_0x220336=_0x2b6512[_0x335727(0x251)];return _0x220336?_0xc4880f=_0x2b0b7d[_0x335727(0x3cc)]([0x53616c74,0x65645f5f])[_0x335727(0x1c1)](_0x220336)[_0x335727(0x1c1)](_0x127926):_0xc4880f=_0x127926,_0xc4880f['toString'](_0x6e2319);},'parse':function(_0x5395af){var _0x50c10f=_0x206358,_0x408e6f,_0x571565=_0x6e2319['parse'](_0x5395af),_0x1b30db=_0x571565[_0x50c10f(0x3ea)];return _0x1b30db[0x0]==0x53616c74&&_0x1b30db[0x1]==0x65645f5f&&(_0x408e6f=_0x2b0b7d['create'](_0x1b30db[_0x50c10f(0x34f)](0x2,0x4)),_0x1b30db[_0x50c10f(0x1f7)](0x0,0x4),_0x571565[_0x50c10f(0x1ff)]-=0x10),_0xd95b09[_0x50c10f(0x3cc)]({'ciphertext':_0x571565,'salt':_0x408e6f});}},_0x1af0bf=_0x4ccbf1[_0x206358(0x2e5)]=_0x194e72[_0x206358(0x13a)]({'cfg':_0x194e72['extend']({'format':_0xa9ab07}),'encrypt':function(_0x3c0a24,_0x3b2054,_0x162d88,_0x3192c8){var _0x1172c5=_0x206358;_0x3192c8=this[_0x1172c5(0x355)][_0x1172c5(0x13a)](_0x3192c8);var _0x2e7a90=_0x3c0a24[_0x1172c5(0x33a)](_0x162d88,_0x3192c8),_0x54bf97=_0x2e7a90[_0x1172c5(0x139)](_0x3b2054),_0x573401=_0x2e7a90[_0x1172c5(0x355)];return _0xd95b09[_0x1172c5(0x3cc)]({'ciphertext':_0x54bf97,'key':_0x162d88,'iv':_0x573401['iv'],'algorithm':_0x3c0a24,'mode':_0x573401['mode'],'padding':_0x573401[_0x1172c5(0x2bf)],'blockSize':_0x3c0a24[_0x1172c5(0x2e4)],'formatter':_0x3192c8[_0x1172c5(0x16c)]});},'decrypt':function(_0x3c18ba,_0x32460d,_0x2734e9,_0xcf12a1){var _0x4c283b=_0x206358;_0xcf12a1=this[_0x4c283b(0x355)][_0x4c283b(0x13a)](_0xcf12a1),_0x32460d=this['_parse'](_0x32460d,_0xcf12a1['format']);var _0x498a94=_0x3c18ba[_0x4c283b(0x2b3)](_0x2734e9,_0xcf12a1)[_0x4c283b(0x139)](_0x32460d['ciphertext']);return _0x498a94;},'_parse':function(_0x261e57,_0x2519b4){var _0xcbdbbb=_0x206358;return typeof _0x261e57==_0xcbdbbb(0x276)?_0x2519b4[_0xcbdbbb(0x2df)](_0x261e57,this):_0x261e57;}}),_0x3d25fd=_0x33c33c['kdf']={},_0x2aeefc=_0x3d25fd[_0x206358(0x1d5)]={'execute':function(_0x14cf13,_0x25ac9a,_0x1331a5,_0x2b7365,_0x58f441){var _0x1d86b5=_0x206358;if(_0x2b7365||(_0x2b7365=_0x2b0b7d['random'](0x40/0x8)),_0x58f441)var _0x5c9197=_0x292d80['create']({'keySize':_0x25ac9a+_0x1331a5,'hasher':_0x58f441})['compute'](_0x14cf13,_0x2b7365);else var _0x5c9197=_0x292d80[_0x1d86b5(0x3cc)]({'keySize':_0x25ac9a+_0x1331a5})[_0x1d86b5(0x1b7)](_0x14cf13,_0x2b7365);var _0x5b62b6=_0x2b0b7d['create'](_0x5c9197[_0x1d86b5(0x3ea)][_0x1d86b5(0x34f)](_0x25ac9a),_0x1331a5*0x4);return _0x5c9197[_0x1d86b5(0x1ff)]=_0x25ac9a*0x4,_0xd95b09[_0x1d86b5(0x3cc)]({'key':_0x5c9197,'iv':_0x5b62b6,'salt':_0x2b7365});}},_0x297861=_0x4ccbf1[_0x206358(0x288)]=_0x1af0bf[_0x206358(0x13a)]({'cfg':_0x1af0bf[_0x206358(0x355)][_0x206358(0x13a)]({'kdf':_0x2aeefc}),'encrypt':function(_0x2af25a,_0x563a14,_0x500738,_0x34573b){var _0x10b584=_0x206358;_0x34573b=this[_0x10b584(0x355)][_0x10b584(0x13a)](_0x34573b);var _0x2e52f4=_0x34573b['kdf'][_0x10b584(0x3fb)](_0x500738,_0x2af25a[_0x10b584(0x281)],_0x2af25a[_0x10b584(0x16a)],_0x34573b[_0x10b584(0x251)],_0x34573b[_0x10b584(0x389)]);_0x34573b['iv']=_0x2e52f4['iv'];var _0x258368=_0x1af0bf[_0x10b584(0x2b9)][_0x10b584(0x2af)](this,_0x2af25a,_0x563a14,_0x2e52f4['key'],_0x34573b);return _0x258368[_0x10b584(0x1e5)](_0x2e52f4),_0x258368;},'decrypt':function(_0x252358,_0x27e34e,_0x24566c,_0x5deb4f){var _0x32dfdd=_0x206358;_0x5deb4f=this['cfg']['extend'](_0x5deb4f),_0x27e34e=this[_0x32dfdd(0x28c)](_0x27e34e,_0x5deb4f[_0x32dfdd(0x16c)]);var _0x5704d5=_0x5deb4f['kdf'][_0x32dfdd(0x3fb)](_0x24566c,_0x252358['keySize'],_0x252358[_0x32dfdd(0x16a)],_0x27e34e[_0x32dfdd(0x251)],_0x5deb4f['hasher']);_0x5deb4f['iv']=_0x5704d5['iv'];var _0x141058=_0x1af0bf[_0x32dfdd(0x337)][_0x32dfdd(0x2af)](this,_0x252358,_0x27e34e,_0x5704d5['key'],_0x5deb4f);return _0x141058;}});}();}));}(Je)),Je[_0x1c42f1(0x12a)];}var Ds=Ve[_0x30c97e(0x12a)],si;function Us(){var _0x2c11e5=_0x30c97e;return si||(si=0x1,function(_0x947aae,_0x2e09e1){(function(_0x3870d8,_0xeefb20,_0x146f8b){var _0x44fe82=_0x5b64;_0x947aae[_0x44fe82(0x12a)]=_0xeefb20(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x61c716){var _0x4bb27b=_0x5b64;return(function(){var _0x5b6eea=_0x5b64,_0x7a489=_0x61c716,_0x46726e=_0x7a489[_0x5b6eea(0x314)],_0x5a81e4=_0x46726e['BlockCipher'],_0x52673b=_0x7a489[_0x5b6eea(0x235)],_0x174613=[],_0x23e02a=[],_0xf7b176=[],_0x55d8ad=[],_0x151297=[],_0x588acb=[],_0x21bfb3=[],_0x248646=[],_0x488461=[],_0x5d4d11=[];(function(){for(var _0x574a6a=[],_0x3c95d7=0x0;_0x3c95d7<0x100;_0x3c95d7++)_0x3c95d7<0x80?_0x574a6a[_0x3c95d7]=_0x3c95d7<<0x1:_0x574a6a[_0x3c95d7]=_0x3c95d7<<0x1^0x11b;for(var _0xc2a61a=0x0,_0x8ad208=0x0,_0x3c95d7=0x0;_0x3c95d7<0x100;_0x3c95d7++){var _0x196093=_0x8ad208^_0x8ad208<<0x1^_0x8ad208<<0x2^_0x8ad208<<0x3^_0x8ad208<<0x4;_0x196093=_0x196093>>>0x8^_0x196093&0xff^0x63,_0x174613[_0xc2a61a]=_0x196093,_0x23e02a[_0x196093]=_0xc2a61a;var _0x116163=_0x574a6a[_0xc2a61a],_0x181e11=_0x574a6a[_0x116163],_0x6dc73c=_0x574a6a[_0x181e11],_0x155a20=_0x574a6a[_0x196093]*0x101^_0x196093*0x1010100;_0xf7b176[_0xc2a61a]=_0x155a20<<0x18|_0x155a20>>>0x8,_0x55d8ad[_0xc2a61a]=_0x155a20<<0x10|_0x155a20>>>0x10,_0x151297[_0xc2a61a]=_0x155a20<<0x8|_0x155a20>>>0x18,_0x588acb[_0xc2a61a]=_0x155a20;var _0x155a20=_0x6dc73c*0x1010101^_0x181e11*0x10001^_0x116163*0x101^_0xc2a61a*0x1010100;_0x21bfb3[_0x196093]=_0x155a20<<0x18|_0x155a20>>>0x8,_0x248646[_0x196093]=_0x155a20<<0x10|_0x155a20>>>0x10,_0x488461[_0x196093]=_0x155a20<<0x8|_0x155a20>>>0x18,_0x5d4d11[_0x196093]=_0x155a20,_0xc2a61a?(_0xc2a61a=_0x116163^_0x574a6a[_0x574a6a[_0x574a6a[_0x6dc73c^_0x116163]]],_0x8ad208^=_0x574a6a[_0x574a6a[_0x8ad208]]):_0xc2a61a=_0x8ad208=0x1;}}());var _0x5c919c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dab3b=_0x52673b[_0x5b6eea(0x38c)]=_0x5a81e4[_0x5b6eea(0x13a)]({'_doReset':function(){var _0x86b2cf=_0x5b6eea,_0x55a086;if(!(this[_0x86b2cf(0x290)]&&this[_0x86b2cf(0x1fb)]===this[_0x86b2cf(0x3d5)])){for(var _0x329c18=this[_0x86b2cf(0x1fb)]=this[_0x86b2cf(0x3d5)],_0x58dd16=_0x329c18[_0x86b2cf(0x3ea)],_0x22ceae=_0x329c18[_0x86b2cf(0x1ff)]/0x4,_0x3d3dca=this[_0x86b2cf(0x290)]=_0x22ceae+0x6,_0x285e32=(_0x3d3dca+0x1)*0x4,_0xc29367=this[_0x86b2cf(0x3f2)]=[],_0x3e10a9=0x0;_0x3e10a9<_0x285e32;_0x3e10a9++)_0x3e10a9<_0x22ceae?_0xc29367[_0x3e10a9]=_0x58dd16[_0x3e10a9]:(_0x55a086=_0xc29367[_0x3e10a9-0x1],_0x3e10a9%_0x22ceae?_0x22ceae>0x6&&_0x3e10a9%_0x22ceae==0x4&&(_0x55a086=_0x174613[_0x55a086>>>0x18]<<0x18|_0x174613[_0x55a086>>>0x10&0xff]<<0x10|_0x174613[_0x55a086>>>0x8&0xff]<<0x8|_0x174613[_0x55a086&0xff]):(_0x55a086=_0x55a086<<0x8|_0x55a086>>>0x18,_0x55a086=_0x174613[_0x55a086>>>0x18]<<0x18|_0x174613[_0x55a086>>>0x10&0xff]<<0x10|_0x174613[_0x55a086>>>0x8&0xff]<<0x8|_0x174613[_0x55a086&0xff],_0x55a086^=_0x5c919c[_0x3e10a9/_0x22ceae|0x0]<<0x18),_0xc29367[_0x3e10a9]=_0xc29367[_0x3e10a9-_0x22ceae]^_0x55a086);for(var _0x55b5a1=this['_invKeySchedule']=[],_0x4bb205=0x0;_0x4bb205<_0x285e32;_0x4bb205++){var _0x3e10a9=_0x285e32-_0x4bb205;if(_0x4bb205%0x4)var _0x55a086=_0xc29367[_0x3e10a9];else var _0x55a086=_0xc29367[_0x3e10a9-0x4];_0x4bb205<0x4||_0x3e10a9<=0x4?_0x55b5a1[_0x4bb205]=_0x55a086:_0x55b5a1[_0x4bb205]=_0x21bfb3[_0x174613[_0x55a086>>>0x18]]^_0x248646[_0x174613[_0x55a086>>>0x10&0xff]]^_0x488461[_0x174613[_0x55a086>>>0x8&0xff]]^_0x5d4d11[_0x174613[_0x55a086&0xff]];}}},'encryptBlock':function(_0x5b8bf4,_0x1219a1){var _0x44a0da=_0x5b6eea;this[_0x44a0da(0x39d)](_0x5b8bf4,_0x1219a1,this[_0x44a0da(0x3f2)],_0xf7b176,_0x55d8ad,_0x151297,_0x588acb,_0x174613);},'decryptBlock':function(_0x7a3a42,_0x25ed1f){var _0xe162c4=_0x5b6eea,_0x16b7fc=_0x7a3a42[_0x25ed1f+0x1];_0x7a3a42[_0x25ed1f+0x1]=_0x7a3a42[_0x25ed1f+0x3],_0x7a3a42[_0x25ed1f+0x3]=_0x16b7fc,this[_0xe162c4(0x39d)](_0x7a3a42,_0x25ed1f,this[_0xe162c4(0x259)],_0x21bfb3,_0x248646,_0x488461,_0x5d4d11,_0x23e02a);var _0x16b7fc=_0x7a3a42[_0x25ed1f+0x1];_0x7a3a42[_0x25ed1f+0x1]=_0x7a3a42[_0x25ed1f+0x3],_0x7a3a42[_0x25ed1f+0x3]=_0x16b7fc;},'_doCryptBlock':function(_0x1511ec,_0x80ded6,_0x4f37d1,_0xc95b26,_0x56b858,_0x1340e9,_0x41ddb5,_0x3e7c15){for(var _0x2d6369=this['_nRounds'],_0x8f4747=_0x1511ec[_0x80ded6]^_0x4f37d1[0x0],_0x3df4f0=_0x1511ec[_0x80ded6+0x1]^_0x4f37d1[0x1],_0x48fd51=_0x1511ec[_0x80ded6+0x2]^_0x4f37d1[0x2],_0x1589e9=_0x1511ec[_0x80ded6+0x3]^_0x4f37d1[0x3],_0x18d437=0x4,_0x342aaf=0x1;_0x342aaf<_0x2d6369;_0x342aaf++){var _0x2321c7=_0xc95b26[_0x8f4747>>>0x18]^_0x56b858[_0x3df4f0>>>0x10&0xff]^_0x1340e9[_0x48fd51>>>0x8&0xff]^_0x41ddb5[_0x1589e9&0xff]^_0x4f37d1[_0x18d437++],_0x239075=_0xc95b26[_0x3df4f0>>>0x18]^_0x56b858[_0x48fd51>>>0x10&0xff]^_0x1340e9[_0x1589e9>>>0x8&0xff]^_0x41ddb5[_0x8f4747&0xff]^_0x4f37d1[_0x18d437++],_0x350f6e=_0xc95b26[_0x48fd51>>>0x18]^_0x56b858[_0x1589e9>>>0x10&0xff]^_0x1340e9[_0x8f4747>>>0x8&0xff]^_0x41ddb5[_0x3df4f0&0xff]^_0x4f37d1[_0x18d437++],_0x3a8125=_0xc95b26[_0x1589e9>>>0x18]^_0x56b858[_0x8f4747>>>0x10&0xff]^_0x1340e9[_0x3df4f0>>>0x8&0xff]^_0x41ddb5[_0x48fd51&0xff]^_0x4f37d1[_0x18d437++];_0x8f4747=_0x2321c7,_0x3df4f0=_0x239075,_0x48fd51=_0x350f6e,_0x1589e9=_0x3a8125;}var _0x2321c7=(_0x3e7c15[_0x8f4747>>>0x18]<<0x18|_0x3e7c15[_0x3df4f0>>>0x10&0xff]<<0x10|_0x3e7c15[_0x48fd51>>>0x8&0xff]<<0x8|_0x3e7c15[_0x1589e9&0xff])^_0x4f37d1[_0x18d437++],_0x239075=(_0x3e7c15[_0x3df4f0>>>0x18]<<0x18|_0x3e7c15[_0x48fd51>>>0x10&0xff]<<0x10|_0x3e7c15[_0x1589e9>>>0x8&0xff]<<0x8|_0x3e7c15[_0x8f4747&0xff])^_0x4f37d1[_0x18d437++],_0x350f6e=(_0x3e7c15[_0x48fd51>>>0x18]<<0x18|_0x3e7c15[_0x1589e9>>>0x10&0xff]<<0x10|_0x3e7c15[_0x8f4747>>>0x8&0xff]<<0x8|_0x3e7c15[_0x3df4f0&0xff])^_0x4f37d1[_0x18d437++],_0x3a8125=(_0x3e7c15[_0x1589e9>>>0x18]<<0x18|_0x3e7c15[_0x8f4747>>>0x10&0xff]<<0x10|_0x3e7c15[_0x3df4f0>>>0x8&0xff]<<0x8|_0x3e7c15[_0x48fd51&0xff])^_0x4f37d1[_0x18d437++];_0x1511ec[_0x80ded6]=_0x2321c7,_0x1511ec[_0x80ded6+0x1]=_0x239075,_0x1511ec[_0x80ded6+0x2]=_0x350f6e,_0x1511ec[_0x80ded6+0x3]=_0x3a8125;},'keySize':0x100/0x20});_0x7a489['AES']=_0x5a81e4['_createHelper'](_0x2dab3b);}()),_0x61c716[_0x4bb27b(0x38c)];}));}(Ve)),Ve[_0x2c11e5(0x12a)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){return ai||(ai=0x1,function(_0x3c2647,_0x186d98){(function(_0x339557,_0x266a66){var _0x5dec02=_0x5b64;_0x3c2647[_0x5dec02(0x12a)]=_0x266a66(ie());}(Ls,function(_0x515a18){var _0x1513cf=_0x5b64;return _0x515a18[_0x1513cf(0x2ef)]['Utf8'];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x30c97e(0x12a)],oi;function Hs(){var _0x3524bc=_0x30c97e;return oi||(oi=0x1,function(_0x2e4da2,_0x3139d4){(function(_0x569e36,_0x5191ce){var _0x986e73=_0x5b64;_0x2e4da2[_0x986e73(0x12a)]=_0x5191ce(ie());}($s,function(_0x2930b5){var _0x10fcb0=_0x5b64;return(function(){var _0x3d0019=_0x5b64;if(typeof ArrayBuffer==_0x3d0019(0x1bc)){var _0x1788a7=_0x2930b5,_0x39c87b=_0x1788a7['lib'],_0x1c7868=_0x39c87b[_0x3d0019(0x2f3)],_0x5ef619=_0x1c7868[_0x3d0019(0x1b8)],_0x278ce2=_0x1c7868[_0x3d0019(0x1b8)]=function(_0x2476fb){var _0x47c1a9=_0x3d0019;if(_0x2476fb instanceof ArrayBuffer&&(_0x2476fb=new Uint8Array(_0x2476fb)),(_0x2476fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2476fb instanceof Uint8ClampedArray||_0x2476fb instanceof Int16Array||_0x2476fb instanceof Uint16Array||_0x2476fb instanceof Int32Array||_0x2476fb instanceof Uint32Array||_0x2476fb instanceof Float32Array||_0x2476fb instanceof Float64Array)&&(_0x2476fb=new Uint8Array(_0x2476fb[_0x47c1a9(0x35e)],_0x2476fb[_0x47c1a9(0x222)],_0x2476fb[_0x47c1a9(0x15c)])),_0x2476fb instanceof Uint8Array){for(var _0x2471ab=_0x2476fb[_0x47c1a9(0x15c)],_0x257898=[],_0x5c6003=0x0;_0x5c6003<_0x2471ab;_0x5c6003++)_0x257898[_0x5c6003>>>0x2]|=_0x2476fb[_0x5c6003]<<0x18-_0x5c6003%0x4*0x8;_0x5ef619['call'](this,_0x257898,_0x2471ab);}else _0x5ef619[_0x47c1a9(0x356)](this,arguments);};_0x278ce2[_0x3d0019(0x364)]=_0x1c7868;}}()),_0x2930b5[_0x10fcb0(0x314)][_0x10fcb0(0x2f3)];}));}(Ze)),Ze[_0x3524bc(0x12a)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x30c97e(0x12a)],ci;function Vs(){var _0x156517=_0x30c97e;return ci||(ci=0x1,function(_0x1c20c3,_0x4112a7){(function(_0x36a3b9,_0x4aba36,_0x56bd4c){var _0x547507=_0x5b64;_0x1c20c3[_0x547507(0x12a)]=_0x4aba36(ie(),Ai());}(Fs,function(_0x1aed86){var _0xfb3f5d=_0x5b64;return _0x1aed86[_0xfb3f5d(0x3e8)][_0xfb3f5d(0x232)]={'pad':function(){},'unpad':function(){}},_0x1aed86[_0xfb3f5d(0x3e8)][_0xfb3f5d(0x232)];}));}(Qe)),Qe[_0x156517(0x12a)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x3a4646,_0x225732){var _0x10917e=_0x30c97e;const _0x313c3d=_0x225732-_0x3a4646[_0x10917e(0x338)]%_0x225732,_0x10cc97=String[_0x10917e(0x385)](_0x313c3d)[_0x10917e(0x15f)](_0x313c3d);return _0x3a4646+_0x10cc97;}function Ys(_0x8673c7,_0x1821b8){var _0x367c0d=_0x30c97e;const _0x1af3c8=js[_0x367c0d(0x10c)](0x10),_0x46e084=Ks(_0x8673c7,0x10),_0x476d00=ws[_0x367c0d(0x2b9)](ks[_0x367c0d(0x2df)](_0x46e084),ri[_0x367c0d(0x2df)](_0x1821b8),{'iv':_0x1af3c8,'padding':Ws});return _0x1af3c8[_0x367c0d(0x1c1)](_0x476d00[_0x367c0d(0x210)])[_0x367c0d(0x15a)](ri);}function qs(){var _0x1bc417=_0x30c97e;const _0x2cd4b7=_0x4c7089()['__Key__'];if(_0x2cd4b7){const _0xedef7b={'time':Math[_0x1bc417(0x377)](Date[_0x1bc417(0x2a6)]()/0x3e8),'domain':location[_0x1bc417(0x308)]};return Ys(JSON[_0x1bc417(0x21f)](_0xedef7b),_0x2cd4b7);}}var zs=Object[_0x30c97e(0x1eb)],Js=(_0x1b217c,_0x720160,_0x1cf5f8,_0x54b558)=>{var _0x40d640=_0x30c97e;for(var _0x50fcb2=_0x54b558>0x1?void 0x0:_0x54b558?zs(_0x720160,_0x1cf5f8):_0x720160,_0x3b63c1=_0x1b217c[_0x40d640(0x338)]-0x1,_0x7cc871;_0x3b63c1>=0x0;_0x3b63c1--)(_0x7cc871=_0x1b217c[_0x3b63c1])&&(_0x50fcb2=_0x7cc871(_0x50fcb2)||_0x50fcb2);return _0x50fcb2;},Xs=(_0x45eca3,_0x7ae8ae)=>(_0x4eee72,_0x3707ba)=>_0x7ae8ae(_0x4eee72,_0x3707ba,_0x45eca3);let at=class{constructor(_0x5ca4b6){var _0x341b0b=_0x30c97e;this[_0x341b0b(0x1dd)]=_0x5ca4b6,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x57d9ff=_0x30c97e;this['_httpService'][_0x57d9ff(0x395)]({'interceptor':(_0x14bf3f,_0xb71216)=>{var _0x368d4b=_0x57d9ff;const _0x5b7cd5=_0x14bf3f[_0x368d4b(0x2ac)],_0xfd0761=qs();return _0xfd0761&&_0x5b7cd5['set']('x-univer-host',_0xfd0761),_0xb71216(_0x14bf3f);}});}};at=Js([Xs(0x0,_0x1aab8b(_0x43eb18))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x4383f2,_0x5b6192,_0x552621,_0x2cc34a)=>{var _0x2ee07b=_0x30c97e;for(var _0x351ea0=_0x2cc34a>0x1?void 0x0:_0x2cc34a?Zs(_0x5b6192,_0x552621):_0x5b6192,_0x449686=_0x4383f2[_0x2ee07b(0x338)]-0x1,_0x340da2;_0x449686>=0x0;_0x449686--)(_0x340da2=_0x4383f2[_0x449686])&&(_0x351ea0=_0x340da2(_0x351ea0)||_0x351ea0);return _0x351ea0;},mt=(_0x182dbf,_0x44f6d3)=>(_0x15d7de,_0x341901)=>_0x44f6d3(_0x15d7de,_0x341901,_0x182dbf);let bt=class extends _0x34ea91{constructor(_0x1b5c38,_0x5f0d7f,_0x6c640e){var _0x208b87=_0x30c97e;super(),N(this,_0x208b87(0x278),new _0x3d3430(null)),N(this,_0x208b87(0x2b4),this['_unitInfo$']['asObservable']()),(this[_0x208b87(0x247)]=_0x1b5c38,this['_snapshotService']=_0x5f0d7f,this[_0x208b87(0x380)]=_0x6c640e);}async[_0x30c97e(0x397)](_0x3d0970,_0x13a8a6,_0x3f6e71){var _0x313a14=_0x30c97e;this[_0x313a14(0x278)][_0x313a14(0x2c2)]({'unitId':_0x3d0970,'type':_0x13a8a6,'subUnitId':_0x3f6e71});let _0x3de89f=null;switch(_0x13a8a6){case Q[_0x313a14(0x204)]:{_0x3de89f=await this[_0x313a14(0x400)](_0x3d0970);break;}case Q[_0x313a14(0x1cd)]:{_0x3de89f=await this[_0x313a14(0x2c0)](_0x3d0970);break;}default:{this[_0x313a14(0x247)][_0x313a14(0x250)](_0x313a14(0x11c),_0x313a14(0x12d));break;}}return _0x3de89f;}async['_loadSheet'](_0x16b4bd){var _0x1d21ad=_0x30c97e,_0xd85456;let _0x21b572=0x0;const _0x85eb9f=await((_0xd85456=this[_0x1d21ad(0x380)])==null?void 0x0:_0xd85456['loadOfflineData'](_0x16b4bd));return _0x85eb9f&&(_0x85eb9f['awaitingChangeset']||_0x85eb9f[_0x1d21ad(0x3a0)][_0x1d21ad(0x338)]!==0x0)&&(_0x21b572=_0x85eb9f[_0x1d21ad(0x2e9)]),_0x21b572===0x0&&this[_0x1d21ad(0x247)][_0x1d21ad(0x1ef)](_0x1d21ad(0x11c),_0x1d21ad(0x170)),this[_0x1d21ad(0x296)][_0x1d21ad(0x1ca)](_0x16b4bd,_0x21b572);}async[_0x30c97e(0x2c0)](_0x2e9acc){var _0x45a11b=_0x30c97e,_0x1ac82c;let _0x25a32c=0x0;const _0x1c3d73=await((_0x1ac82c=this['_localCacheService'])==null?void 0x0:_0x1ac82c[_0x45a11b(0x3ca)](_0x2e9acc));return _0x1c3d73&&(_0x1c3d73[_0x45a11b(0x35a)]||_0x1c3d73['mutations'][_0x45a11b(0x338)]!==0x0)&&(_0x25a32c=_0x1c3d73[_0x45a11b(0x2e9)]),_0x25a32c===0x0&&this['_logService'][_0x45a11b(0x1ef)]('[DataLoaderService]',_0x45a11b(0x170)),this[_0x45a11b(0x296)]['loadDoc'](_0x2e9acc,_0x25a32c);}};bt=Qs([mt(0x0,_0xf9bcb3),mt(0x1,_0x1aab8b(_0x11acc7)),mt(0x2,_0x596184(J))],bt);var er=Object[_0x30c97e(0x1eb)],tr=(_0x3d9af6,_0x516f3b,_0x3dc94b,_0x188dd8)=>{var _0x3b1124=_0x30c97e;for(var _0x541ba3=_0x188dd8>0x1?void 0x0:_0x188dd8?er(_0x516f3b,_0x3dc94b):_0x516f3b,_0x52f29b=_0x3d9af6[_0x3b1124(0x338)]-0x1,_0x33e090;_0x52f29b>=0x0;_0x52f29b--)(_0x33e090=_0x3d9af6[_0x52f29b])&&(_0x541ba3=_0x33e090(_0x541ba3)||_0x541ba3);return _0x541ba3;},gt=(_0x2cdd4b,_0x252fee)=>(_0x3fe42d,_0x3047f7)=>_0x252fee(_0x3fe42d,_0x3047f7,_0x2cdd4b);const ir=[_0x30c97e(0x177),'image/jpeg',_0x30c97e(0x347),_0x30c97e(0x24b),_0x30c97e(0x175)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x30c97e(0x2cf),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x30c97e(0x182);let Ot=class{constructor(_0x233167,_0xcc3b1d,_0x422e04){var _0x2dc47f=_0x30c97e;N(this,_0x2dc47f(0x120),0x0),N(this,'_change$',new _0x52da68()),N(this,_0x2dc47f(0x270),this['_change$']),N(this,_0x2dc47f(0x361),new Map()),(this[_0x2dc47f(0x1dd)]=_0x233167,this[_0x2dc47f(0x15e)]=_0xcc3b1d,this[_0x2dc47f(0x10d)]=_0x422e04);}[_0x30c97e(0x3c4)](_0x54c3c3){var _0x2eb7fe=_0x30c97e;this[_0x2eb7fe(0x120)]=_0x54c3c3,this[_0x2eb7fe(0x1bb)][_0x2eb7fe(0x2c2)](_0x54c3c3);}['getImageSourceCache'](_0x481eec,_0x2e9441){var _0x5bae71=_0x30c97e;if(_0x2e9441===_0x29118a['BASE64']){const _0x24391e=new Image();return _0x24391e['src']=_0x481eec,_0x24391e;}return this['_imageSourceCache'][_0x5bae71(0x402)](_0x481eec);}[_0x30c97e(0x2f0)](_0x2700bb,_0x3cd02f,_0x1c6f03){var _0x400d68=_0x30c97e;_0x3cd02f===_0x29118a['BASE64']||_0x1c6f03==null||this[_0x400d68(0x361)][_0x400d68(0x3c8)](_0x2700bb,_0x1c6f03);}async['getImage'](_0x5338c6){var _0x58d476=_0x30c97e;try{const _0x51d02c=this['_replaceFileID'](this[_0x58d476(0x263)](),''+_0x5338c6),_0x4820ec=(await this[_0x58d476(0x1dd)][_0x58d476(0x402)](_0x51d02c))['body'];if(_0x4820ec[_0x58d476(0x250)]&&_0x4820ec[_0x58d476(0x250)]['code']===Si['OK']){const _0x19d027=new URL(_0x4820ec[_0x58d476(0x370)],this[_0x58d476(0x31c)]())[_0x58d476(0x15a)]();return Promise[_0x58d476(0x277)](_0x19d027);}return Promise[_0x58d476(0x30e)](_0x4820ec[_0x58d476(0x250)]);}catch(_0x4acb28){return Promise[_0x58d476(0x30e)](_0x4acb28);}}async[_0x30c97e(0x3fa)](_0xd7d5ab){var _0x2ec0cb=_0x30c97e;let _0x8a846c='';if(!ir[_0x2ec0cb(0x3bd)](_0xd7d5ab[_0x2ec0cb(0x2ae)]))return this[_0x2ec0cb(0x29d)](),Promise['reject'](new Error(_0x29e9a0[_0x2ec0cb(0x140)]));if(_0xd7d5ab[_0x2ec0cb(0x32b)]>nr)return this[_0x2ec0cb(0x29d)](),Promise['reject'](new Error(_0x29e9a0[_0x2ec0cb(0x3be)]));try{const _0x2f5ebf=new FormData();_0x2f5ebf['append'](_0x2ec0cb(0x212),_0xd7d5ab);const _0x26b11a=this[_0x2ec0cb(0x10d)][_0x2ec0cb(0x16e)](),_0x5a134e=_0x26b11a==null?void 0x0:_0x26b11a[_0x2ec0cb(0x2ed)]();if(!_0x5a134e)throw new Error(_0x2ec0cb(0x195));const _0x3b4c2d=this['_getUploadFileURL']()+_0x2ec0cb(0x15d)+_0xd7d5ab['size'][_0x2ec0cb(0x15a)]()+_0x2ec0cb(0x40a)+Ei[_0x2ec0cb(0x118)]+_0x2ec0cb(0x164)+encodeURIComponent(_0x5a134e),_0x505ae1=await(await fetch(_0x3b4c2d,{'method':_0x2ec0cb(0x3d6),'body':_0x2f5ebf}))['json']();if(typeof _0x505ae1[_0x2ec0cb(0x111)]!=_0x2ec0cb(0x276))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x29e9a0['ERROR_IMAGE']));_0x8a846c=_0x505ae1['FileId'];}catch{return this[_0x2ec0cb(0x29d)](),Promise[_0x2ec0cb(0x30e)](new Error(_0x29e9a0[_0x2ec0cb(0x33b)]));}return new Promise((_0x557a19,_0x3fba03)=>{var _0x5147e7=_0x2ec0cb;const _0x48a34d=new FileReader();_0x48a34d[_0x5147e7(0x110)](_0xd7d5ab),_0x48a34d[_0x5147e7(0x19c)]=_0x5e62e4=>{var _0x3370f8=_0x5147e7,_0x428da0;const _0x1a3a8c=(_0x428da0=_0x5e62e4[_0x3370f8(0x404)])==null?void 0x0:_0x428da0['result'];if(_0x1a3a8c==null){this[_0x3370f8(0x29d)](),_0x3fba03(new Error(_0x29e9a0[_0x3370f8(0x33b)]));return;}const _0x240812=_0x465d47[_0x3370f8(0x3ee)](0x6);_0x557a19({'imageId':_0x240812,'imageSourceType':_0x29118a[_0x3370f8(0x2b2)],'source':_0x8a846c,'base64Cache':_0x1a3a8c,'status':_0x29e9a0[_0x3370f8(0x1bf)]}),this[_0x3370f8(0x29d)]();};});}[_0x30c97e(0x1c8)](){var _0x5d50d7=_0x30c97e,_0x49f103,_0x573d9b;const _0x3be6c5=this[_0x5d50d7(0x15e)]['getConfig'](sr),_0x4df7e=this['_configService'][_0x5d50d7(0x230)](q);return(_0x573d9b=(_0x49f103=_0x4df7e==null?void 0x0:_0x4df7e[_0x5d50d7(0x2f4)])!=null?_0x49f103:_0x3be6c5)!=null?_0x573d9b:rr;}[_0x30c97e(0x263)](){var _0x29c3b4=_0x30c97e,_0x1ff076,_0x2fb2c6;const _0x2176ce=this['_configService'][_0x29c3b4(0x230)](ar),_0x2a49f2=this[_0x29c3b4(0x15e)][_0x29c3b4(0x230)](q);return(_0x2fb2c6=(_0x1ff076=_0x2a49f2==null?void 0x0:_0x2a49f2[_0x29c3b4(0x3d8)])!=null?_0x1ff076:_0x2176ce)!=null?_0x2fb2c6:or;}['_getDownloadEndpointURL'](){var _0x309f2b=_0x30c97e,_0x58f647;const _0x21b59a=this['_configService'][_0x309f2b(0x230)](q);return(_0x58f647=_0x21b59a==null?void 0x0:_0x21b59a[_0x309f2b(0x37d)])!=null?_0x58f647:location['origin'];}[_0x30c97e(0x274)](_0xf8e11e,_0x27d2e0){var _0x3c1bb3=_0x30c97e;return _0xf8e11e['replace'](_0x3c1bb3(0x3af),_0x27d2e0);}[_0x30c97e(0x29d)](){var _0x294b61=_0x30c97e;this[_0x294b61(0x120)]-=0x1,this['_change$']['next'](this[_0x294b61(0x120)]);}};Ot=tr([gt(0x0,_0x1aab8b(_0x43eb18)),gt(0x1,_0x322b89),gt(0x2,_0x1aab8b(_0x31aedc))],Ot);var cr=Object[_0x30c97e(0x1eb)],hr=(_0x1878d1,_0x12848a,_0x445f34,_0x7908ed)=>{var _0x35e829=_0x30c97e;for(var _0x572f58=_0x7908ed>0x1?void 0x0:_0x7908ed?cr(_0x12848a,_0x445f34):_0x12848a,_0x5977c4=_0x1878d1[_0x35e829(0x338)]-0x1,_0x24f3c1;_0x5977c4>=0x0;_0x5977c4--)(_0x24f3c1=_0x1878d1[_0x5977c4])&&(_0x572f58=_0x24f3c1(_0x572f58)||_0x572f58);return _0x572f58;},hi=(_0x4557e1,_0x162499)=>(_0x4aab49,_0xf87a64)=>_0x162499(_0x4aab49,_0xf87a64,_0x4557e1);const _r=_0x30c97e(0x3a9);let yt=class{constructor(_0x8f4b88,_0x210eda){this['_configService']=_0x8f4b88,this['_HTTPService']=_0x210eda;}[_0x30c97e(0x24e)](){var _0x47d73f=_0x30c97e,_0x144296,_0x5ae59c;const _0x31edff=this[_0x47d73f(0x15e)][_0x47d73f(0x230)](Ni),_0x32a92f=this[_0x47d73f(0x15e)][_0x47d73f(0x230)](q);return(_0x5ae59c=(_0x144296=_0x32a92f==null?void 0x0:_0x32a92f[_0x47d73f(0x2d1)])!=null?_0x144296:_0x31edff)!=null?_0x5ae59c:_r;}async[_0x30c97e(0x135)](_0x70b964){var _0x393bf7=_0x30c97e;const _0x33236a=this['_getAPIPrefixPath']()+_0x393bf7(0x223);return{'list':[{'title':_0x393bf7(0x119),'mentions':(await this[_0x393bf7(0x28e)][_0x393bf7(0x402)](_0x33236a,{'params':{'objectID':_0x70b964[_0x393bf7(0x3f5)],'unitID':_0x70b964[_0x393bf7(0x3f5)]}}))[_0x393bf7(0x215)][_0x393bf7(0x24f)][_0x393bf7(0x359)](_0x196a92=>({'objectId':_0x196a92['id'],'name':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x2bb)],'metadata':{'icon':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x3e5)]},'label':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x2bb)],'objectType':_0x2f59a8['PERSON']})),'metadata':{},'type':_0x2f59a8[_0x393bf7(0x130)]}]};}};yt=hr([hi(0x0,_0x1aab8b(_0x322b89)),hi(0x1,_0x1aab8b(_0x43eb18))],yt);var lr=Object[_0x30c97e(0x1eb)],ur=(_0x290a29,_0x470d9e,_0x1cadec,_0x5b1d3a)=>{var _0x3d3a29=_0x30c97e;for(var _0x26c16b=_0x5b1d3a>0x1?void 0x0:_0x5b1d3a?lr(_0x470d9e,_0x1cadec):_0x470d9e,_0x5d4647=_0x290a29[_0x3d3a29(0x338)]-0x1,_0x9e9538;_0x5d4647>=0x0;_0x5d4647--)(_0x9e9538=_0x290a29[_0x5d4647])&&(_0x26c16b=_0x9e9538(_0x26c16b)||_0x26c16b);return _0x26c16b;},we=(_0x329d18,_0x4540e8)=>(_0xf95c72,_0x5cfa34)=>_0x4540e8(_0xf95c72,_0x5cfa34,_0x329d18);let ot=class extends _0x34ea91{constructor(_0x488fe1,_0x787572,_0x1ca9f7,_0x25c16e,_0x52a4f0){var _0x359f2d=_0x30c97e;super(),this[_0x359f2d(0x246)]=_0x488fe1,this[_0x359f2d(0x10d)]=_0x787572,this[_0x359f2d(0x3c7)]=_0x1ca9f7,this[_0x359f2d(0x29e)]=_0x25c16e,this[_0x359f2d(0x125)]=_0x52a4f0,this[_0x359f2d(0x11f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x44a277=_0x30c97e;const _0x3eff85=async _0x38c9c2=>{var _0x40034f=_0x5b64;(await this['_collaborationSessionService'][_0x40034f(0x317)](_0x38c9c2))[_0x40034f(0x376)][_0x40034f(0x2a4)](_0x1d479f(_0x285065=>_0x285065[_0x40034f(0x29f)]===_0x4b61f7['SHOULD_CLOSE_CONN']),_0x3df66c(this[_0x40034f(0x363)]))[_0x40034f(0x3c0)](_0x9951ab=>{var _0x5f4a12=_0x40034f;const _0x5f32c=_0x9951ab,{reason:_0x179c72}=_0x5f32c[_0x5f4a12(0x3c2)];this[_0x5f4a12(0x125)][_0x5f4a12(0x3cd)]({'id':re['CLOSE_ROOM'],'data':_0x179c72}),this[_0x5f4a12(0x3c7)][_0x5f4a12(0x3b9)](new _0x263feb(_0x38c9c2)['id'],!0x1),this[_0x5f4a12(0x29e)][_0x5f4a12(0x3e3)](_0x38c9c2);});};_0x4bebd7(this[_0x44a277(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x44a277(0x204)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f9465['UNIVER_DOC']))[_0x44a277(0x2a4)](_0x122f91(_0x5b0f41=>_0x5b0f41[_0x44a277(0x2ed)]()),_0x1d479f(_0x3050a7=>!_0x1ed416(_0x3050a7)),_0x3df66c(this[_0x44a277(0x363)]))[_0x44a277(0x3c0)](_0x189244=>{_0x3eff85(_0x189244);});}[_0x30c97e(0x11f)](){var _0x3c9963=_0x30c97e;const _0xc114bf=async _0x35428f=>{var _0x5dc4ff=_0x5b64;const _0x5b1607=await this['_collaborationSessionService']['requireSession'](_0x35428f),_0x496b36=this['_injector'][_0x5dc4ff(0x402)](_0x2d541d);_0x5b1607[_0x5dc4ff(0x376)]['pipe'](_0x1d479f(_0x14c160=>_0x14c160[_0x5dc4ff(0x29f)]===_0x4b61f7[_0x5dc4ff(0x34d)]),_0x3df66c(this[_0x5dc4ff(0x363)]))[_0x5dc4ff(0x3c0)](_0x414d77=>{var _0x525bca=_0x5dc4ff;const _0x2f2585=_0x414d77,{objectId:_0x48b9df}=_0x2f2585[_0x525bca(0x3c2)];_0x48b9df===_0x35428f?_0x496b36['initWorkbookPermissionChange'](_0x35428f):_0x496b36[_0x525bca(0x239)](_0x35428f,_0x48b9df);});};_0x4bebd7(this[_0x3c9963(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x3c9963(0x204)]))[_0x3c9963(0x2a4)](_0x122f91(_0x1d967e=>_0x1d967e[_0x3c9963(0x2ed)]()),_0x1d479f(_0xbaf487=>!_0x1ed416(_0xbaf487)),_0x3df66c(this[_0x3c9963(0x363)]))[_0x3c9963(0x3c0)](_0x1e79e3=>{_0xc114bf(_0x1e79e3);});}};ot=ur([we(0x0,_0x1aab8b(_0x51f454)),we(0x1,_0x31aedc),we(0x2,_0x233307),we(0x3,_0x1aab8b(xe)),we(0x4,_0x1aab8b(pe))],ot);var dr=Object[_0x30c97e(0x1eb)],fr=(_0x524437,_0x2eec3b,_0x1a0b42,_0x566a3f)=>{var _0x46687c=_0x30c97e;for(var _0x388ae3=_0x566a3f>0x1?void 0x0:_0x566a3f?dr(_0x2eec3b,_0x1a0b42):_0x2eec3b,_0x2bd5e7=_0x524437[_0x46687c(0x338)]-0x1,_0x5b6b35;_0x2bd5e7>=0x0;_0x2bd5e7--)(_0x5b6b35=_0x524437[_0x2bd5e7])&&(_0x388ae3=_0x5b6b35(_0x388ae3)||_0x388ae3);return _0x388ae3;},_i=(_0x34f28b,_0x486d4f)=>(_0x3649f0,_0x25434b)=>_0x486d4f(_0x3649f0,_0x25434b,_0x34f28b);let Nt=class{constructor(_0x3dd828,_0x1aef82){var _0x253bc7=_0x30c97e;this[_0x253bc7(0x15e)]=_0x3dd828,this[_0x253bc7(0x1dd)]=_0x1aef82;}async[_0x30c97e(0x17a)](_0x2f22cd,_0x3031a9){var _0x200f6f=_0x30c97e,_0xe51449;const {unitID:_0x61efbf,type:_0x3bbdd0,revision:_0x3ac472=0x0}=_0x3031a9,_0x593a21=this[_0x200f6f(0x244)]()+'/'+_0x3bbdd0+_0x200f6f(0x157)+_0x61efbf+_0x200f6f(0x240)+_0x3ac472,_0x129dd3=(await this[_0x200f6f(0x1dd)]['get'](_0x593a21))[_0x200f6f(0x215)],_0x27e979=(_0xe51449=_0x129dd3[_0x200f6f(0x38a)])==null?void 0x0:_0xe51449[_0x200f6f(0x113)];if(_0x27e979){const _0x11ddf3=_0x27e979==null?void 0x0:_0x27e979[_0x200f6f(0x23a)],_0x8467bd=_0x43a3ad[_0x200f6f(0x3d2)](_0x5f393a(_0x11ddf3));_0x27e979['originalMeta']=_0x8467bd,Object[_0x200f6f(0x1f1)](_0x27e979[_0x200f6f(0x1c3)])[_0x200f6f(0x3b3)](([,_0x558c4b])=>{var _0x3ed4f0=_0x200f6f;const _0x4d0e3d=_0x558c4b[_0x3ed4f0(0x23a)],_0x549d20=_0x43a3ad[_0x3ed4f0(0x3d2)](_0x5f393a(_0x4d0e3d));_0x558c4b[_0x3ed4f0(0x23a)]=_0x549d20;});}return _0x129dd3;}async[_0x30c97e(0x1d4)](_0x44b1f5,_0x4c8957){var _0x2df609=_0x30c97e;const {unitID:_0x1a0cca,type:_0x501af3,blockID:_0x1bad71}=_0x4c8957,_0x4c3fd8=this[_0x2df609(0x1d6)]()+'/'+_0x501af3+_0x2df609(0x157)+_0x1a0cca+_0x2df609(0x22b)+_0x1bad71;return(await this[_0x2df609(0x1dd)][_0x2df609(0x402)](_0x4c3fd8))[_0x2df609(0x215)];}async[_0x30c97e(0x217)](_0x17c541,_0x13f789){var _0x805f0c=_0x30c97e;const {unitID:_0x496c32,type:_0x15f70b,blockID:_0x3e9a18}=_0x13f789,_0x331d4b=this[_0x805f0c(0x1d6)]()+_0x805f0c(0x22b)+_0x15f70b+_0x805f0c(0x157)+_0x496c32+_0x805f0c(0x22b)+_0x3e9a18;return(await this[_0x805f0c(0x1dd)][_0x805f0c(0x402)](_0x331d4b))[_0x805f0c(0x215)];}async['fetchMissingChangesets'](_0x32b8ff,_0x3d3fe3){var _0x52f016=_0x30c97e;const {unitID:_0xa78d4c,type:_0x4c0831,from:_0xd84dfe,to:_0x407753}=_0x3d3fe3,_0x36b607=this[_0x52f016(0x1d6)]()+'/'+_0x4c0831+_0x52f016(0x157)+_0xa78d4c+'/fetchmissing?from='+_0xd84dfe+_0x52f016(0x23c)+_0x407753;return(await this[_0x52f016(0x1dd)][_0x52f016(0x402)](_0x36b607))[_0x52f016(0x215)];}[_0x30c97e(0x244)](){var _0x229595=_0x30c97e,_0x362c08;return(_0x362c08=this[_0x229595(0x15e)][_0x229595(0x230)](Sn))!=null?_0x362c08:this[_0x229595(0x1d6)]();}[_0x30c97e(0x1d6)](){var _0x355406=_0x30c97e,_0x3e0e3b,_0x10e8ca;const _0x584640=this['_configService'][_0x355406(0x230)](mn),_0x1b3b07=this[_0x355406(0x15e)][_0x355406(0x230)](q);return(_0x10e8ca=(_0x3e0e3b=_0x1b3b07==null?void 0x0:_0x1b3b07['snapshotServerUrl'])!=null?_0x3e0e3b:_0x584640)!=null?_0x10e8ca:gn;}async[_0x30c97e(0x3f6)](_0x2382d5,_0x15cb2f){var _0x698a34=_0x30c97e;const _0x1550cd=_0x698a34(0x282)+_0x15cb2f['type']+_0x698a34(0x157)+_0x15cb2f[_0x698a34(0x1c9)]+_0x698a34(0x22a);return(await this['_httpService'][_0x698a34(0x402)](_0x1550cd,{'params':{'resourceId':JSON[_0x698a34(0x21f)](_0x15cb2f[_0x698a34(0x194)])}}))[_0x698a34(0x215)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c97e(0x3e2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c97e(0x40d)](){var _0x32e860=_0x30c97e;throw new Error(_0x32e860(0x37b));}[_0x30c97e(0x39a)](){var _0x4a6dfd=_0x30c97e;throw new Error(_0x4a6dfd(0x37b));}[_0x30c97e(0x2e0)](){var _0xf8bb5b=_0x30c97e;throw new Error(_0xf8bb5b(0x37b));}};Nt=fr([_i(0x0,_0x322b89),_i(0x1,_0x1aab8b(_0x43eb18))],Nt);var vr=Object[_0x30c97e(0x1eb)],pr=(_0x9ea048,_0x317d6b,_0x2d7e99,_0x3c8657)=>{for(var _0x55d53e=_0x3c8657>0x1?void 0x0:_0x3c8657?vr(_0x317d6b,_0x2d7e99):_0x317d6b,_0xf4bf96=_0x9ea048['length']-0x1,_0x37fd23;_0xf4bf96>=0x0;_0xf4bf96--)(_0x37fd23=_0x9ea048[_0xf4bf96])&&(_0x55d53e=_0x37fd23(_0x55d53e)||_0x55d53e);return _0x55d53e;},Pe=(_0x567682,_0x1bbe13)=>(_0x25a7e0,_0x5b7ccb)=>_0x1bbe13(_0x25a7e0,_0x5b7ccb,_0x567682);let Dt=class extends _0x5d49bd{constructor(_0x456b74,_0x219f0c,_0x22dc44,_0x1bc97d,_0x2cddcb){var _0x18cb6c=_0x30c97e;super(_0x456b74,_0x219f0c,_0x22dc44),this[_0x18cb6c(0x216)]=_0x1bc97d,this[_0x18cb6c(0x247)]=_0x2cddcb;}[_0x30c97e(0x136)](_0x462811,_0x1fbba4){var _0x1a428e=_0x30c97e;const _0x12dafd=this[_0x1a428e(0x123)](_0x462811);if(_0x12dafd)try{const _0x1206c6=this[_0x1a428e(0x2db)](_0x12dafd,_0x1fbba4);this[_0x1a428e(0x219)](_0x462811,_0x1206c6);}catch(_0x3cf418){this['_logService'][_0x1a428e(0x250)]('[CollaborationUndoRedoService]',_0x3cf418),this[_0x1a428e(0x1a7)](_0x462811);}const _0x390b85=this[_0x1a428e(0x187)](_0x462811);if(_0x390b85)try{const _0x2ec915=this['_transformStack'](_0x390b85,_0x1fbba4);this[_0x1a428e(0x299)](_0x462811,_0x2ec915);}catch(_0x59d573){this['_logService']['error'](_0x59d573),this[_0x1a428e(0x1d1)](_0x462811);}}['_clearUndo'](_0x19cbb6){var _0x4d186d=_0x30c97e;const _0x347ae7=this['_getUndoStack'](_0x19cbb6);_0x347ae7&&(_0x347ae7[_0x4d186d(0x338)]=0x0,this[_0x4d186d(0x33e)]());}['_clearRedo'](_0x5391d5){var _0x3b75a5=_0x30c97e;const _0x1b00b6=this[_0x3b75a5(0x187)](_0x5391d5);_0x1b00b6&&(_0x1b00b6['length']=0x0,this['_updateStatus']());}[_0x30c97e(0x219)](_0x59928b,_0x41c566){var _0x349749=_0x30c97e;this['_undoStacks']['set'](_0x59928b,_0x41c566),this[_0x349749(0x33e)]();}[_0x30c97e(0x299)](_0x161ea4,_0x16e18f){var _0x3c5874=_0x30c97e;this[_0x3c5874(0x36e)]['set'](_0x161ea4,_0x16e18f),this[_0x3c5874(0x33e)]();}['_transformStack'](_0x1c47a1,_0x14e133){var _0x4fa0b7=_0x30c97e;const _0x3a5e31=[];let _0x139e5f=_0x14e133,_0x4179d4=_0x14e133;for(let _0x1068bf=_0x1c47a1[_0x4fa0b7(0x338)]-0x1;_0x1068bf>=0x0;_0x1068bf--){const {unitID:_0x2fa491,undoMutations:_0x13429b,redoMutations:_0x24124e}=_0x1c47a1[_0x1068bf],_0x335082=this[_0x4fa0b7(0x216)][_0x4fa0b7(0x3fd)](_0x139e5f,_0x13429b),_0x9ad0c3=this['_transformService'][_0x4fa0b7(0x3fd)](_0x4179d4,_0x24124e);if(_0x113704(_0x335082)||_0x113704(_0x9ad0c3)){this[_0x4fa0b7(0x247)]['error'](_0x4fa0b7(0x304),_0x4fa0b7(0x398),_0x335082,_0x9ad0c3);break;}_0x139e5f=_0x335082[_0x4fa0b7(0x211)],_0x4179d4=_0x9ad0c3[_0x4fa0b7(0x211)],_0x3a5e31[_0x4fa0b7(0x403)]({'unitID':_0x2fa491,'undoMutations':_0x335082[_0x4fa0b7(0x26e)],'redoMutations':_0x9ad0c3[_0x4fa0b7(0x26e)]});}return _0x3a5e31[_0x4fa0b7(0x1d0)]();}};Dt=pr([Pe(0x0,_0x31aedc),Pe(0x1,_0xb43912),Pe(0x2,_0x2189ff),Pe(0x3,_0x19d1d9),Pe(0x4,_0xf9bcb3)],Dt);var mr=Object[_0x30c97e(0x162)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x5865dc,_0x3d5932,_0x414a94)=>_0x3d5932 in _0x5865dc?mr(_0x5865dc,_0x3d5932,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x414a94}):_0x5865dc[_0x3d5932]=_0x414a94,Er=(_0x11d284,_0xdbbbdc,_0x597dd5,_0x13c055)=>{var _0x562f91=_0x30c97e;for(var _0x344080=_0x13c055>0x1?void 0x0:_0x13c055?gr(_0xdbbbdc,_0x597dd5):_0xdbbbdc,_0x512631=_0x11d284[_0x562f91(0x338)]-0x1,_0x38e63d;_0x512631>=0x0;_0x512631--)(_0x38e63d=_0x11d284[_0x512631])&&(_0x344080=_0x38e63d(_0x344080)||_0x344080);return _0x344080;},St=(_0x2c5e64,_0x518bf7)=>(_0x5d6ea7,_0x5148e6)=>_0x518bf7(_0x5d6ea7,_0x5148e6,_0x2c5e64),Ir=(_0x2b56af,_0x5b8751,_0x24dff4)=>Sr(_0x2b56af,_0x5b8751+'',_0x24dff4);const Tr=_0x30c97e(0x3e9);let Ut=class extends _0x4aa6c9{constructor(_0x2bdf77,_0x1707a3,_0x3f00cf,_0x547317){var _0x527656=_0x30c97e;super(),N(this,_0x527656(0x1e1)),(this[_0x527656(0x247)]=_0x1707a3,this['_injector']=_0x3f00cf,this['_configService']=_0x547317);const {..._0xe001ef}=_0x216ac4({},wn,_0x2bdf77);if(!_0xe001ef[_0x527656(0x323)])throw new Error(_0x527656(0x266));this[_0x527656(0x1e1)]=_0xe001ef,this[_0x527656(0x15e)][_0x527656(0x3bb)](q,_0xe001ef);}[_0x30c97e(0x190)](){var _0x30b9b4=_0x30c97e;this[_0x30b9b4(0x271)](),this[_0x30b9b4(0x248)]();}[_0x30c97e(0x271)](){var _0xad7ad4=_0x30c97e,_0x527f96,_0x36fd75;this[_0xad7ad4(0x246)][_0xad7ad4(0x378)](_0x3e575f)&&this[_0xad7ad4(0x247)][_0xad7ad4(0x250)](_0xad7ad4(0x147),_0xad7ad4(0x2b8));const _0x509433=_0x2aa5b6([[_0x3e575f,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0xad7ad4(0x1e1)][_0xad7ad4(0x323)]}],[_0x2ad851,{'useClass':Nt}],[_0x184fd2,{'useClass':Rt}],[_0xd1c0a0,{'useClass':Ot}],[_0x11b9c7,{'useClass':yt}],[st],[Ct]],(_0x527f96=this[_0xad7ad4(0x1e1)])==null?void 0x0:_0x527f96[_0xad7ad4(0x383)]);if(!((_0x36fd75=this[_0xad7ad4(0x1e1)])!=null&&_0x36fd75['enableSingleActiveInstanceLock'])){const _0x3a272f=_0x509433['findIndex'](([_0xc6f1f0])=>_0xc6f1f0===ht);_0x3a272f!==-0x1&&_0x509433[_0xad7ad4(0x1f7)](_0x3a272f,0x1);}_0x2a2947(this[_0xad7ad4(0x246)],_0x509433);}[_0x30c97e(0x248)](){var _0x23c987=_0x30c97e,_0x1ace09,_0x219f28,_0x3a5998;this[_0x23c987(0x246)][_0x23c987(0x402)](_0x43eb18)[_0x23c987(0x395)]({'priority':0x14,'interceptor':_0x54b362({'maxParallel':0x6})}),(_0x1ace09=this['_config'])!=null&&_0x1ace09[_0x23c987(0x2e6)]||(_0x219f28=this[_0x23c987(0x246)][_0x23c987(0x402)](J,_0x430d08[_0x23c987(0x228)]))==null||_0x219f28[_0x23c987(0x27c)](),(_0x3a5998=this['_config'])!=null&&_0x3a5998['enableAuthServer']&&_0x48c939(this[_0x23c987(0x246)],[[rt]]),_0x48c939(this[_0x23c987(0x246)],[[at],[st],[ot]]);}};function _0x5b64(_0x21a3f7,_0x1d3497){var _0x43fe86=_0x43fe();return _0x5b64=function(_0x5b64ac,_0x2c48dd){_0x5b64ac=_0x5b64ac-0x10b;var _0x1bae51=_0x43fe86[_0x5b64ac];return _0x1bae51;},_0x5b64(_0x21a3f7,_0x1d3497);}Ir(Ut,_0x30c97e(0x345),Tr),Ut=Er([_0x409131(_0x1c91a9,_0x2cdfed),St(0x1,_0xf9bcb3),St(0x2,_0x1aab8b(_0x51f454)),St(0x3,_0x322b89)],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,Ot 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,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On 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};