@univerjs-pro/collaboration-client 0.6.0-nightly.202502031606 → 0.6.0-nightly.202502051606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x4ba149=_0xe5da;(function(_0xda09f,_0x41263b){var _0xc71b4f=_0xe5da,_0x23e6a3=_0xda09f();while(!![]){try{var _0x450439=parseInt(_0xc71b4f(0x178))/0x1*(parseInt(_0xc71b4f(0x380))/0x2)+parseInt(_0xc71b4f(0x18c))/0x3*(-parseInt(_0xc71b4f(0x335))/0x4)+-parseInt(_0xc71b4f(0x143))/0x5*(-parseInt(_0xc71b4f(0x2df))/0x6)+parseInt(_0xc71b4f(0x1a3))/0x7*(-parseInt(_0xc71b4f(0x297))/0x8)+parseInt(_0xc71b4f(0x32b))/0x9+parseInt(_0xc71b4f(0x3dc))/0xa+-parseInt(_0xc71b4f(0x33a))/0xb;if(_0x450439===_0x41263b)break;else _0x23e6a3['push'](_0x23e6a3['shift']());}catch(_0x1965d2){_0x23e6a3['push'](_0x23e6a3['shift']());}}}(_0x3f1c,0xad9a9));var Li=Object[_0x4ba149(0x1a2)],Mi=(_0xbdf0a7,_0x1a553b,_0x4f74a6)=>_0x1a553b in _0xbdf0a7?Li(_0xbdf0a7,_0x1a553b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f74a6}):_0xbdf0a7[_0x1a553b]=_0x4f74a6,N=(_0x61ec92,_0x5514ef,_0x534836)=>Mi(_0x61ec92,typeof _0x5514ef!=_0x4ba149(0x299)?_0x5514ef+'':_0x5514ef,_0x534836);import{createIdentifier as _0x595130,Inject as _0x2b3f90,Injector as _0x131b89,Disposable as _0x4328ea,DisposableCollection as _0x2a6e7e,toDisposable as _0x9dfaff,IConfigService as _0x50ee4f,ILogService as _0x55b365,UserManagerService as _0xb9fbb1,UniverInstanceType as _0x5431e3,IUniverInstanceService as _0x56bf2b,LocaleService as _0x57c404,Optional as _0x15959d,RxDisposable as _0x2cae06,Tools as _0x321eb3,Rectangle as _0x2195ae,ICommandService as _0x3fb355,JSONX as _0x58bd05,CommandType as _0x39812e,IPermissionService as _0x54fe15,IUndoRedoService as _0x5aed67,sequenceExecute as _0x28a385,Workbook as _0x199141,MentionType as _0x4e7893,IAuthzIoService as _0x5dc6cb,isInternalEditorID as _0x35e70e,LocalUndoRedoService as _0x338730,IContextService as _0x37329e,DependentOn as _0x464d16,Plugin as _0x488891,merge as _0x48ccb0,mergeOverrideWithDependencies as _0x55e38a,IMentionIOService as _0x3bda93,registerDependencies as _0x5d22fb,Quantity as _0x1d6dd4,touchDependencies as _0x4be878}from'@univerjs/core';import{Subject as _0x3a004c,merge as _0x2913f0,of as _0x37f6e1,BehaviorSubject as _0x3a9007,takeUntil as _0x11c71d,ReplaySubject as _0x21c456,take as _0x3ef868,map as _0x12695b,shareReplay as _0x1437ce,firstValueFrom as _0x5be984,concatMap as _0x41279f}from'rxjs';import{map as _0x112764,take as _0x347715,filter as _0xe0f0f,delay as _0x114587,takeUntil as _0x27f5ec}from'rxjs/operators';import{HTTPService as _0x3c17f9,ISocketService as _0x1d2fec,MergeInterceptorFactory as _0x3ae356,HTTPRequest as _0x18e124,UniverNetworkPlugin as _0x43c03b,ThresholdInterceptorFactory as _0x40b823}from'@univerjs/network';import{CollaborationEvent as _0x35fdb4,parseChangesetToProtocol as _0x4ccdc1,ISnapshotServerService as _0x52a689,isTransformMutationsWithChangesetSuccess as _0x1575be,ITransformService as _0x4a82f5,mapDocumentTypeToUniverType as _0x1f0a80,RevisionService as _0x1fec2b,isTransformChangesetsSuccess as _0x286a59,CompressMutationService as _0x5657a1,parseProtocolChangeset as _0x1773a9,SnapshotService as _0x423221,textEncoder as _0xe72d77,b64DecodeUnicode as _0x18ddbb,isTransformMutationsWithChangesetFailure as _0x4f0286,UniverCollaborationPlugin as _0x548315}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x514e51}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x43dee3}from'@univerjs/docs';import{SheetsSelectionsService as _0x5ac5f8,SetSelectionsOperation as _0xea7c18,InsertSheetMutation as _0x3d037c,EmptyMutation as _0x4ecb0d,WorkbookEditablePermission as _0x2be386,SheetPermissionInitController as _0x112ae3,UniverSheetsPlugin as _0x1d7a7d}from'@univerjs/sheets';import{ImageSourceType as _0x98e4e8,ImageUploadStatusType as _0x531c1b,IImageIoService as _0x9c0998}from'@univerjs/drawing';import{getGlobalObject as _0x22ba02}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x4ba149(0x1a5),Tn=_0x4ba149(0x29c),eo=_0x4ba149(0x1a4),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn='ws://127.0.0.1:8000/universer-api/comb/connect',On='/universer-api/user/session-ticket',yn=_0x4ba149(0x3ae),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x4ba149(0x3b2),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x4ba149(0x3d0),An=_0x4ba149(0x3e6),xn=_0x4ba149(0x288),Ln=_0x4ba149(0x322),no=_0x4ba149(0x180),ro=_0x4ba149(0x1b7);var Ii=(_0x829267=>(_0x829267[_0x829267['UNDEFINED']=0x0]=_0x4ba149(0x403),_0x829267[_0x829267['OK']=0x1]='OK',_0x829267[_0x829267[_0x4ba149(0x19a)]=0x2]='INTERNAL_ERROR',_0x829267[_0x829267[_0x4ba149(0x365)]=0x3]=_0x4ba149(0x365),_0x829267[_0x829267[_0x4ba149(0x307)]=0x4]=_0x4ba149(0x307),_0x829267[_0x829267[_0x4ba149(0x1bc)]=0x5]=_0x4ba149(0x1bc),_0x829267[_0x829267[_0x4ba149(0x160)]=0x6]='ALREADY_EXISTS',_0x829267[_0x829267[_0x4ba149(0x20f)]=0x7]=_0x4ba149(0x20f),_0x829267[_0x829267['TOO_MANY_REQUESTS']=0x8]=_0x4ba149(0x16d),_0x829267[_0x829267['COMPLETION_FINISHED']=0x9]=_0x4ba149(0x38f),_0x829267[_0x829267[_0x4ba149(0x1bd)]=0x1389]=_0x4ba149(0x1bd),_0x829267[_0x829267[_0x4ba149(0x390)]=0x1771]=_0x4ba149(0x390),_0x829267[_0x829267[_0x4ba149(0x1d4)]=0x1772]=_0x4ba149(0x1d4),_0x829267[_0x829267[_0x4ba149(0x33d)]=0x1773]=_0x4ba149(0x33d),_0x829267[_0x829267[_0x4ba149(0x12e)]=0x1b59]='APPLY_REJECT',_0x829267[_0x829267[_0x4ba149(0x35e)]=0x1b5a]=_0x4ba149(0x35e),_0x829267[_0x829267[_0x4ba149(0x313)]=0x1b5b]=_0x4ba149(0x313),_0x829267[_0x829267[_0x4ba149(0x1c4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x829267[_0x829267['APPLY_DUPLICATED']=0x1b5d]=_0x4ba149(0x35f),_0x829267[_0x829267[_0x4ba149(0x1f3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x829267[_0x829267[_0x4ba149(0x3c3)]=0x2329]=_0x4ba149(0x3c3),_0x829267[_0x829267['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x829267[_0x829267[_0x4ba149(0x17b)]=0x232b]=_0x4ba149(0x17b),_0x829267[_0x829267[_0x4ba149(0x13d)]=0x232c]=_0x4ba149(0x13d),_0x829267[_0x829267[_0x4ba149(0x278)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x829267[_0x829267['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ba149(0x321),_0x829267[_0x829267[_0x4ba149(0x21e)]=0x2712]=_0x4ba149(0x21e),_0x829267[_0x829267[_0x4ba149(0x18b)]=0x2713]=_0x4ba149(0x18b),_0x829267[_0x829267[_0x4ba149(0x3d4)]=0x2714]=_0x4ba149(0x3d4),_0x829267[_0x829267['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ba149(0x216),_0x829267[_0x829267['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x829267))(Ii||{}),Q=(_0x3e8af6=>(_0x3e8af6[_0x3e8af6[_0x4ba149(0x3d8)]=0x0]=_0x4ba149(0x3d8),_0x3e8af6[_0x3e8af6[_0x4ba149(0x253)]=0x1]=_0x4ba149(0x253),_0x3e8af6[_0x3e8af6[_0x4ba149(0x139)]=0x2]=_0x4ba149(0x139),_0x3e8af6[_0x3e8af6[_0x4ba149(0x2e0)]=0x3]='UNIVER_SLIDE',_0x3e8af6[_0x3e8af6[_0x4ba149(0x159)]=0x4]=_0x4ba149(0x159),_0x3e8af6[_0x3e8af6[_0x4ba149(0x1e3)]=-0x1]=_0x4ba149(0x1e3),_0x3e8af6))(Q||{}),F=(_0x57ac6b=>(_0x57ac6b[_0x57ac6b['UNKNOWN_CMD']=0x0]=_0x4ba149(0x281),_0x57ac6b[_0x57ac6b[_0x4ba149(0x230)]=0x1]='HELLO',_0x57ac6b[_0x57ac6b[_0x4ba149(0x15f)]=0x2]=_0x4ba149(0x15f),_0x57ac6b[_0x57ac6b['LEAVE']=0x3]='LEAVE',_0x57ac6b[_0x57ac6b[_0x4ba149(0x39e)]=0x4]=_0x4ba149(0x39e),_0x57ac6b[_0x57ac6b[_0x4ba149(0x320)]=0x5]=_0x4ba149(0x320),_0x57ac6b[_0x57ac6b['RECV']=0x6]=_0x4ba149(0x2cf),_0x57ac6b[_0x57ac6b[_0x4ba149(0x1e3)]=-0x1]=_0x4ba149(0x1e3),_0x57ac6b))(F||{}),Ee=(_0x41a7db=>(_0x41a7db[_0x41a7db[_0x4ba149(0x3cc)]=0x0]=_0x4ba149(0x3cc),_0x41a7db[_0x41a7db['OK']=0x1]='OK',_0x41a7db[_0x41a7db[_0x4ba149(0x23a)]=0x2]=_0x4ba149(0x23a),_0x41a7db[_0x41a7db[_0x4ba149(0x325)]=0x3e9]=_0x4ba149(0x325),_0x41a7db[_0x41a7db[_0x4ba149(0x186)]=0x3ea]=_0x4ba149(0x186),_0x41a7db[_0x41a7db[_0x4ba149(0x232)]=0x3eb]=_0x4ba149(0x232),_0x41a7db[_0x41a7db[_0x4ba149(0x19c)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x41a7db[_0x41a7db[_0x4ba149(0x1e3)]=-0x1]=_0x4ba149(0x1e3),_0x41a7db))(Ee||{}),Ti=(_0x4e0e68=>(_0x4e0e68[_0x4e0e68[_0x4ba149(0x3ab)]=0x0]='Undefined',_0x4e0e68[_0x4e0e68[_0x4ba149(0x15b)]=0x1]=_0x4ba149(0x15b),_0x4e0e68[_0x4e0e68[_0x4ba149(0x31a)]=0x2]='HttpExport',_0x4e0e68[_0x4e0e68[_0x4ba149(0x2bb)]=0x3]=_0x4ba149(0x2bb),_0x4e0e68[_0x4e0e68[_0x4ba149(0x249)]=0x4]='UnitSnapshot',_0x4e0e68[_0x4e0e68[_0x4ba149(0x1e3)]=-0x1]=_0x4ba149(0x1e3),_0x4e0e68))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x11087b=>(_0x11087b[_0x4ba149(0x239)]='OTHER_CLIENT_EDITING',_0x11087b[_0x4ba149(0x365)]=_0x4ba149(0x365),_0x11087b[_0x4ba149(0x128)]=_0x4ba149(0x128),_0x11087b[_0x4ba149(0x3ee)]=_0x4ba149(0x3ee),_0x11087b[_0x4ba149(0x20e)]=_0x4ba149(0x20e),_0x11087b['SOCKET_FAILED_RETRY']=_0x4ba149(0x3ff),_0x11087b[_0x4ba149(0x1b5)]='SOCKET_FAILED',_0x11087b[_0x4ba149(0x343)]=_0x4ba149(0x343),_0x11087b))(se||{});class pe{constructor(){var _0x57b018=_0x4ba149;N(this,_0x57b018(0x173),new _0x3a004c()),N(this,_0x57b018(0x3c9),this[_0x57b018(0x173)][_0x57b018(0x13f)]());}[_0x4ba149(0x1da)](_0x2e07f2){var _0x26420e=_0x4ba149;this[_0x26420e(0x173)]['next'](_0x2e07f2);}}const Mn=_0x595130('univer-pro.collaboration-client.network-condition.service');function $n(_0x427c85){var _0x9fd1a8=_0x4ba149,_0x7d1e51,_0x2ff534,_0x3df113,_0x26a47c,_0x350f7a;const _0x280a1c=_0x427c85[_0x9fd1a8(0x385)],_0x263b6=JSON[_0x9fd1a8(0x3f6)](_0x280a1c);switch(_0x263b6[_0x9fd1a8(0x354)]){case F[_0x9fd1a8(0x320)]:case F[_0x9fd1a8(0x230)]:{const _0x570534=_0x263b6[_0x9fd1a8(0x194)];return{..._0x263b6,'data':_0x570534,'cmd':_0x263b6[_0x9fd1a8(0x354)]};}case F[_0x9fd1a8(0x15f)]:{const _0x43d1db=_0x263b6[_0x9fd1a8(0x1ca)];return{..._0x263b6,'data':_0x43d1db,'cmd':_0x263b6[_0x9fd1a8(0x354)]};}case F[_0x9fd1a8(0x2cf)]:{const _0x5babf6=_0x263b6[_0x9fd1a8(0x20d)];switch(_0x5babf6['eventID']){case _0x35fdb4[_0x9fd1a8(0x222)]:return{..._0x263b6,'data':{..._0x5babf6,'data':(_0x7d1e51=_0x5babf6['permissionRejEvent'])==null?void 0x0:_0x7d1e51['cs']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4['CHANGESET_ACK']:return{..._0x263b6,'data':{..._0x5babf6,'data':(_0x2ff534=_0x5babf6['csAckEvent'])==null?void 0x0:_0x2ff534['cs']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x2ee)]:return{..._0x263b6,'data':{..._0x5babf6,'data':(_0x3df113=_0x5babf6[_0x9fd1a8(0x1d8)])==null?void 0x0:_0x3df113['cs']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4['CHANGESET_REJ']:return{..._0x263b6,'data':{..._0x5babf6,'data':(_0x26a47c=_0x5babf6['csRejEvent'])==null?void 0x0:_0x26a47c['cs']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x2a5)]:return{..._0x263b6,'data':{..._0x5babf6,'data':(_0x350f7a=_0x5babf6[_0x9fd1a8(0x3fa)])==null?void 0x0:_0x350f7a['cs']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x1f5)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6['updateCursorEvent']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x166)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x135)]},'cmd':_0x263b6['cmd']};case _0x35fdb4['USERS_LEAVE']:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x29f)]},'cmd':_0x263b6['cmd']};case _0x35fdb4[_0x9fd1a8(0x148)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x211)]},'cmd':_0x263b6['cmd']};case _0x35fdb4[_0x9fd1a8(0x2b4)]:case _0x35fdb4[_0x9fd1a8(0x1a1)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x229)]},'cmd':_0x263b6['cmd']};case _0x35fdb4['LIVESHARE_TERMINATE']:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x211)]},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x2c6)]:return{..._0x263b6,'data':_0x5babf6,'cmd':_0x263b6['cmd']};case _0x35fdb4['COMMENT_UPDATE']:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x40d)]},'cmd':_0x263b6['cmd']};case _0x35fdb4['UPDATE_PERMISSION_OBJ']:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6['updatePermissionObjEvent']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x151)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6['shouldCloseConn']},'cmd':_0x263b6[_0x9fd1a8(0x354)]};case _0x35fdb4[_0x9fd1a8(0x40b)]:return{..._0x263b6,'data':{..._0x5babf6,'data':_0x5babf6[_0x9fd1a8(0x167)]},'cmd':_0x263b6[_0x9fd1a8(0x354)]};default:return _0x263b6;}}default:return _0x263b6;}}function Hn(_0x5903f0){var _0x5304b2=_0x4ba149;switch(_0x5903f0[_0x5304b2(0x354)]){case F['HEARTBEAT']:case F[_0x5304b2(0x230)]:return JSON[_0x5304b2(0x137)]({'cmd':_0x5903f0[_0x5304b2(0x354)],'routeKey':_0x5903f0[_0x5304b2(0x3d6)]});case F[_0x5304b2(0x39e)]:{let _0x5276a7;switch(_0x5903f0[_0x5304b2(0x385)]['eventID']){case _0x35fdb4[_0x5304b2(0x1f5)]:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x1f5)],'updateCursorEvent':_0x5903f0[_0x5304b2(0x385)]['data']};break;}case _0x35fdb4[_0x5304b2(0x2c0)]:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x2c0)],'leaveEvent':_0x5903f0[_0x5304b2(0x385)][_0x5304b2(0x385)]};break;}case _0x35fdb4[_0x5304b2(0x166)]:{_0x5276a7={'eventID':_0x35fdb4['USERS_ENTER'],'joinEvent':_0x5903f0[_0x5304b2(0x385)]['data']};break;}case _0x35fdb4[_0x5304b2(0x148)]:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x148)],'liveShareNewHost':_0x5903f0[_0x5304b2(0x385)]['data']};break;}case _0x35fdb4['LIVESHARE_OPERATION']:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x1a1)],'liveShareOperation':_0x5903f0[_0x5304b2(0x385)][_0x5304b2(0x385)]};break;}case _0x35fdb4[_0x5304b2(0x376)]:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x376)],'liveShareTerminate':_0x5903f0[_0x5304b2(0x385)][_0x5304b2(0x385)]};break;}case _0x35fdb4['LIVESHARE_REQUEST_HOST']:{_0x5276a7={'eventID':_0x35fdb4[_0x5304b2(0x2fe)],'liveShareRequestHost':_0x5903f0[_0x5304b2(0x385)]['data']};break;}case _0x35fdb4[_0x5304b2(0x2b4)]:{_0x5276a7={'eventID':_0x35fdb4['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5276a7={'eventID':_0x5903f0[_0x5304b2(0x385)][_0x5304b2(0x1d1)]};}return JSON['stringify']({'cmd':_0x5903f0[_0x5304b2(0x354)],'routeKey':_0x5903f0[_0x5304b2(0x3d6)],'collaMsg':_0x5276a7});}case F[_0x5304b2(0x15f)]:return JSON[_0x5304b2(0x137)]({'cmd':_0x5903f0[_0x5304b2(0x354)],'routeKey':_0x5903f0[_0x5304b2(0x3d6)],'joinReq':_0x5903f0['data']});case F[_0x5304b2(0x125)]:return JSON[_0x5304b2(0x137)]({'cmd':_0x5903f0[_0x5304b2(0x354)],'routeKey':_0x5903f0['routeKey'],'leaveReq':_0x5903f0[_0x5304b2(0x385)]});default:throw new Error(_0x5304b2(0x131));}}var kn=Object['defineProperty'],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x3b08d1,_0x49deef,_0x2e1bee,_0x50196f)=>{var _0x18a26e=_0x4ba149;for(var _0x2d079a=_0x50196f>0x1?void 0x0:_0x50196f?jn(_0x49deef,_0x2e1bee):_0x49deef,_0x35d532=_0x3b08d1[_0x18a26e(0x30f)]-0x1,_0x15a329;_0x35d532>=0x0;_0x35d532--)(_0x15a329=_0x3b08d1[_0x35d532])&&(_0x2d079a=(_0x50196f?_0x15a329(_0x49deef,_0x2e1bee,_0x2d079a):_0x15a329(_0x2d079a))||_0x2d079a);return _0x50196f&&_0x2d079a&&kn(_0x49deef,_0x2e1bee,_0x2d079a),_0x2d079a;},Ue=(_0x487ab5,_0x1ffa74)=>(_0x45e191,_0x442cbc)=>_0x1ffa74(_0x45e191,_0x442cbc,_0x487ab5);const Ci=_0x595130(_0x4ba149(0x32f));function Fn(_0x56a310,_0x39c4cc,_0xe61249){var _0x50d1fc=_0x4ba149;return _0x56a310+'/'+_0x39c4cc+'/unit/'+_0xe61249+_0x50d1fc(0x387);}let Et=class extends _0x4328ea{constructor(_0xfa532d,_0x4b05ee,_0x159d68,_0x3427e0,_0x45963d){var _0x4a5586=_0x4ba149;super(),this[_0x4a5586(0x2fd)]=_0xfa532d,this[_0x4a5586(0x3f2)]=_0x4b05ee,this['_configService']=_0x159d68,this[_0x4a5586(0x393)]=_0x3427e0,this['_snapshotServerService']=_0x45963d;}['createSocket'](_0x558479){var _0x53be44=_0x4ba149;const _0x117ec1=this[_0x53be44(0x2fd)][_0x53be44(0x197)](_0x1d2fec);if(!_0x117ec1)throw new Error(_0x53be44(0x154));const _0xeb1599=_0x117ec1[_0x53be44(0x156)](_0x558479);if(!_0xeb1599)throw new Error(_0x53be44(0x27e));const _0xf6603=new _0x2a6e7e(),_0x4f5458=new _0x3a004c();_0xf6603[_0x53be44(0x2ed)](_0xeb1599[_0x53be44(0x2ad)][_0x53be44(0x341)](_0x374f88=>_0x4f5458[_0x53be44(0x23f)](_0x374f88))),_0xf6603[_0x53be44(0x2ed)](_0x9dfaff(()=>_0x4f5458[_0x53be44(0x231)]()));const _0xe804fa=new _0x3a004c();_0xf6603['add'](_0xeb1599[_0x53be44(0x17d)][_0x53be44(0x341)](_0x4a2af5=>_0xe804fa[_0x53be44(0x23f)](_0x4a2af5))),_0xf6603[_0x53be44(0x2ed)](_0x9dfaff(()=>_0xe804fa[_0x53be44(0x231)]()));const _0x12c638=new _0x3a004c();_0xf6603[_0x53be44(0x2ed)](_0xeb1599[_0x53be44(0x277)][_0x53be44(0x341)](_0x509a1b=>{var _0x58f87e=_0x53be44;const _0x1bc4f4=$n(_0x509a1b);_0x12c638[_0x58f87e(0x23f)](_0x1bc4f4);})),_0xf6603[_0x53be44(0x2ed)](_0x9dfaff(()=>_0x12c638[_0x53be44(0x231)]()));let _0x4c4c29;const _0x246080=()=>{var _0x869dfb=_0x53be44;_0xe804fa['next'](new Event(_0x869dfb(0x350))),_0x4f5458['next'](new CloseEvent(_0x869dfb(0x350))),_0x4c4c29[_0x869dfb(0x28f)]();};return _0x4c4c29={'memberID':'','close$':_0x4f5458['asObservable'](),'error$':_0xe804fa[_0x53be44(0x13f)](),'open$':_0xeb1599['open$'],'message$':_0x12c638[_0x53be44(0x13f)](),'send':_0x513ffc=>{var _0x2b4ccd=_0x53be44;if(_0x513ffc[_0x2b4ccd(0x354)]===F[_0x2b4ccd(0x39e)]){if(_0x513ffc['data'][_0x2b4ccd(0x1d1)]===_0x35fdb4[_0x2b4ccd(0x349)]){this['_submitChangeset'](_0x4c4c29,_0x513ffc['data'])[_0x2b4ccd(0x34a)](_0x40a2fa=>{this['_logService']['error'](_0x40a2fa),_0x246080();});return;}if(_0x513ffc[_0x2b4ccd(0x385)][_0x2b4ccd(0x1d1)]===_0x35fdb4['FETCH_MISSING']){const _0xf9859e=_0x513ffc[_0x2b4ccd(0x385)];this[_0x2b4ccd(0x412)](_0xf9859e)['then'](_0x272ee7=>{var _0x25d50c=_0x2b4ccd;_0x12c638[_0x25d50c(0x23f)]({'cmd':F[_0x25d50c(0x2cf)],'code':Ee['OK'],'routeKey':_0xf9859e[_0x25d50c(0x385)][_0x25d50c(0x3c4)],'routeType':'','data':{'eventID':_0x35fdb4[_0x25d50c(0x256)],'data':{'changesets':_0x272ee7}}});})[_0x2b4ccd(0x34a)](_0x49a496=>{var _0x45ebd7=_0x2b4ccd;this[_0x45ebd7(0x393)][_0x45ebd7(0x290)](_0x49a496),_0x246080();});return;}}_0xeb1599[_0x2b4ccd(0x306)](Hn(_0x513ffc));},'close':()=>{var _0x5d6bb7=_0x53be44;_0xeb1599[_0x5d6bb7(0x28f)](),_0xf6603[_0x5d6bb7(0x25b)]();}},_0x4c4c29;}async['_submitChangeset'](_0x12067a,_0x58ce97){var _0x327b73=_0x4ba149,_0x41cd6f,_0x120a8c;const {unitType:_0x54eedf,unitID:_0x2df138,changeset:_0x367bf1}=_0x58ce97['data'],_0x209857={'unitID':_0x2df138,'memberID':_0x12067a['memberID'],'type':_0x54eedf,'changeset':_0x4ccdc1(_0x367bf1)},_0x4455bb=this['_configService'][_0x327b73(0x2f6)](Un),_0x296279=this[_0x327b73(0x25e)][_0x327b73(0x2f6)](q),_0x3203e=Fn((_0x120a8c=(_0x41cd6f=_0x296279==null?void 0x0:_0x296279['collabSubmitChangesetUrl'])!=null?_0x41cd6f:_0x4455bb)!=null?_0x120a8c:An,_0x54eedf,_0x2df138);try{await this[_0x327b73(0x3f2)]['post'](_0x3203e,{'body':_0x209857});}catch(_0xfc9e8b){throw this[_0x327b73(0x393)][_0x327b73(0x290)]('[CollaborationSession]',_0x327b73(0x1e1)),_0xfc9e8b;}}async[_0x4ba149(0x412)](_0x1a0be8){var _0x1a5bf1=_0x4ba149;const {unitID:_0x303c4b,from:_0x280ac8,to:_0x3ba5e5,unitType:_0x3ed9c8}=_0x1a0be8[_0x1a5bf1(0x385)];return(await this[_0x1a5bf1(0x37d)][_0x1a5bf1(0x1fb)]({'metadata':void 0x0},{'unitID':_0x303c4b,'type':_0x3ed9c8,'from':_0x280ac8,'to':_0x3ba5e5}))[_0x1a5bf1(0x213)];}};Et=Bn([Ue(0x0,_0x2b3f90(_0x131b89)),Ue(0x1,_0x2b3f90(_0x3c17f9)),Ue(0x2,_0x50ee4f),Ue(0x3,_0x55b365),Ue(0x4,_0x52a689)],Et);function _0xe5da(_0x3767b8,_0x282d2a){var _0x3f1cce=_0x3f1c();return _0xe5da=function(_0xe5da4c,_0x461514){_0xe5da4c=_0xe5da4c-0x11d;var _0x6b290f=_0x3f1cce[_0xe5da4c];return _0x6b290f;},_0xe5da(_0x3767b8,_0x282d2a);}const Vn='collaboration_new_changeset';function Gn(_0x9350da){var _0x36a65b=_0x4ba149;return JSON[_0x36a65b(0x137)](_0x9350da)['length'];}class Ri{constructor(){var _0x2bc989=_0x4ba149;N(this,_0x2bc989(0x1e2),new _0x3a004c()),N(this,_0x2bc989(0x3b9),this['_commentUpdate$'][_0x2bc989(0x13f)]());}[_0x4ba149(0x2b7)](_0x431868){var _0x13c4a4=_0x4ba149;this[_0x13c4a4(0x1e2)][_0x13c4a4(0x23f)](_0x431868);}}var Wn=Object['defineProperty'],Kn=Object[_0x4ba149(0x362)],Yn=(_0x119c0c,_0x285a79,_0x55b4ee,_0x463edc)=>{var _0x361d52=_0x4ba149;for(var _0x4c5f19=_0x463edc>0x1?void 0x0:_0x463edc?Kn(_0x285a79,_0x55b4ee):_0x285a79,_0x58e592=_0x119c0c[_0x361d52(0x30f)]-0x1,_0x446a07;_0x58e592>=0x0;_0x58e592--)(_0x446a07=_0x119c0c[_0x58e592])&&(_0x4c5f19=(_0x463edc?_0x446a07(_0x285a79,_0x55b4ee,_0x4c5f19):_0x446a07(_0x4c5f19))||_0x4c5f19);return _0x463edc&&_0x4c5f19&&Wn(_0x285a79,_0x55b4ee,_0x4c5f19),_0x4c5f19;},Kt=(_0x539834,_0x50622c)=>(_0x56d06e,_0x27c5e3)=>_0x50622c(_0x56d06e,_0x27c5e3,_0x539834);let xe=class extends _0x4328ea{constructor(_0x24d200,_0x221de8){var _0x4ef3b4=_0x4ba149;super(),N(this,'_roomMembers',new Map()),N(this,_0x4ef3b4(0x27c),new _0x3a004c()),(this[_0x4ef3b4(0x28a)]=_0x24d200,this['_userManagerService']=_0x221de8,this[_0x4ef3b4(0x3f9)](_0x2913f0(this['_univerInstanceService'][_0x4ef3b4(0x32a)](_0x5431e3[_0x4ef3b4(0x139)])[_0x4ef3b4(0x2a7)](_0x112764(_0x23cf9a=>_0x23cf9a[_0x4ef3b4(0x336)]())),this[_0x4ef3b4(0x28a)][_0x4ef3b4(0x32a)](_0x5431e3[_0x4ef3b4(0x253)])['pipe'](_0x112764(_0x36009f=>_0x36009f[_0x4ef3b4(0x336)]())),this[_0x4ef3b4(0x28a)][_0x4ef3b4(0x32a)](_0x5431e3[_0x4ef3b4(0x2e0)])[_0x4ef3b4(0x2a7)](_0x112764(_0x403e0d=>_0x403e0d[_0x4ef3b4(0x336)]())))[_0x4ef3b4(0x341)](_0x48d4d6=>this[_0x4ef3b4(0x1ea)](_0x48d4d6))));}['waitForRoom$'](_0x1facb8){var _0x162dd2=_0x4ba149;return this[_0x162dd2(0x183)]['has'](_0x1facb8)?_0x37f6e1(this[_0x162dd2(0x183)][_0x162dd2(0x197)](_0x1facb8)):this[_0x162dd2(0x27c)][_0x162dd2(0x2a7)](_0x112764(_0x1088cc=>{var _0x2211b3=_0x162dd2;if(_0x1088cc===_0x1facb8)return this[_0x2211b3(0x183)][_0x2211b3(0x197)](_0x1088cc);}));}[_0x4ba149(0x3d5)](_0x207c90){this['_userManagerService']['setCurrentUser'](_0x207c90);}['getCurrentUser'](){var _0x3401d0=_0x4ba149;return this[_0x3401d0(0x3fb)]['getCurrentUser']();}[_0x4ba149(0x14d)](_0x495fe8,_0x5c0ee7){var _0x5b2be4=_0x4ba149;let _0x34e909=this[_0x5b2be4(0x183)][_0x5b2be4(0x197)](_0x495fe8);_0x34e909||(_0x34e909=new qn(),this[_0x5b2be4(0x183)]['set'](_0x495fe8,_0x34e909),this[_0x5b2be4(0x27c)][_0x5b2be4(0x23f)](_0x495fe8)),_0x34e909[_0x5b2be4(0x14d)](_0x5c0ee7);}[_0x4ba149(0x36a)](_0x2025b3,_0x5738bd){var _0x1a5d9d=_0x4ba149;const _0x482fca=this['_roomMembers'][_0x1a5d9d(0x197)](_0x2025b3);_0x482fca&&_0x482fca[_0x1a5d9d(0x36a)](_0x5738bd);}[_0x4ba149(0x192)](_0x2ad7f6){var _0x57c70f=_0x4ba149;return this[_0x57c70f(0x183)][_0x57c70f(0x197)](_0x2ad7f6);}[_0x4ba149(0x130)](_0x53e1d8,_0x1d84f5){var _0x3f3f31=_0x4ba149;const _0x208392=this['_roomMembers'][_0x3f3f31(0x197)](_0x53e1d8);if(_0x208392)return _0x208392[_0x3f3f31(0x130)](_0x1d84f5);}[_0x4ba149(0x1ea)](_0xf4558c){var _0x4757d3=_0x4ba149;const _0x1899ba=this[_0x4757d3(0x183)][_0x4757d3(0x197)](_0xf4558c);_0x1899ba&&(_0x1899ba[_0x4757d3(0x25b)](),this[_0x4757d3(0x183)]['delete'](_0xf4558c));}['dispose'](){var _0x26486f=_0x4ba149;this[_0x26486f(0x183)]['forEach'](_0x1be46d=>_0x1be46d[_0x26486f(0x25b)]()),this[_0x26486f(0x183)][_0x26486f(0x405)](),this[_0x26486f(0x27c)][_0x26486f(0x231)]();}};xe=Yn([Kt(0x0,_0x56bf2b),Kt(0x1,_0x2b3f90(_0xb9fbb1))],xe);class qn extends _0x4328ea{constructor(){var _0x57c643=_0x4ba149;super(...arguments),N(this,'_members',new Map()),N(this,_0x57c643(0x27a),new _0x3a9007(this['_members'])),N(this,_0x57c643(0x1de),this[_0x57c643(0x27a)][_0x57c643(0x13f)]());}[_0x4ba149(0x25b)](){var _0x2789df=_0x4ba149;this[_0x2789df(0x129)][_0x2789df(0x405)]();}[_0x4ba149(0x14d)](_0x3eb92b){var _0x4f9d39=_0x4ba149;this[_0x4f9d39(0x129)][_0x4f9d39(0x14a)](_0x3eb92b[_0x4f9d39(0x185)],_0x3eb92b),this[_0x4f9d39(0x3c2)]();}['removeMember'](_0x4ee8a5){var _0x34ffa4=_0x4ba149;this[_0x34ffa4(0x129)][_0x34ffa4(0x121)](_0x4ee8a5);}[_0x4ba149(0x130)](_0x2bded6){var _0x8fa258=_0x4ba149;return this[_0x8fa258(0x129)][_0x8fa258(0x197)](_0x2bded6);}['getAllMembers'](){var _0x55ac6f=_0x4ba149;return Array[_0x55ac6f(0x309)](this[_0x55ac6f(0x129)][_0x55ac6f(0x2e9)]());}['_emitMembers'](){var _0x26fae4=_0x4ba149;this['_members$'][_0x26fae4(0x23f)](this[_0x26fae4(0x129)]);}}var zn=Object[_0x4ba149(0x1a2)],Jn=Object[_0x4ba149(0x362)],Xn=(_0x3306bd,_0x1c3f3e,_0x173ce0,_0x56333b)=>{var _0x1e9142=_0x4ba149;for(var _0x12de4b=_0x56333b>0x1?void 0x0:_0x56333b?Jn(_0x1c3f3e,_0x173ce0):_0x1c3f3e,_0xa96707=_0x3306bd[_0x1e9142(0x30f)]-0x1,_0x8bb958;_0xa96707>=0x0;_0xa96707--)(_0x8bb958=_0x3306bd[_0xa96707])&&(_0x12de4b=(_0x56333b?_0x8bb958(_0x1c3f3e,_0x173ce0,_0x12de4b):_0x8bb958(_0x12de4b))||_0x12de4b);return _0x56333b&&_0x12de4b&&zn(_0x1c3f3e,_0x173ce0,_0x12de4b),_0x12de4b;},me=(_0x2cf4cb,_0x57c60e)=>(_0x572e4f,_0x3c91d7)=>_0x57c60e(_0x572e4f,_0x3c91d7,_0x2cf4cb),Te=(_0x264a9b=>(_0x264a9b[_0x264a9b['IDLE']=0x0]=_0x4ba149(0x3eb),_0x264a9b[_0x264a9b[_0x4ba149(0x1e0)]=0x1]=_0x4ba149(0x1e0),_0x264a9b[_0x264a9b[_0x4ba149(0x2f4)]=0x2]=_0x4ba149(0x2f4),_0x264a9b[_0x264a9b[_0x4ba149(0x37c)]=0x3]=_0x4ba149(0x37c),_0x264a9b))(Te||{});const Yt={[Ee['FAIL']]:_0x4ba149(0x30c),[Ee[_0x4ba149(0x325)]]:_0x4ba149(0x363),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x4ba149(0x40a),[Ee[_0x4ba149(0x232)]]:_0x4ba149(0x318),[Ee[_0x4ba149(0x19c)]]:_0x4ba149(0x39f)};let It=class extends _0x2cae06{constructor(_0x26558f,_0x44f4b6,_0xafcdf1,_0x531c73,_0x3bb504,_0x34190b,_0x15e93e,_0x24ea46,_0x2aaeb3){var _0x1d848b=_0x4ba149;super(),N(this,_0x1d848b(0x13e),new _0x3a9007(0x0)),N(this,_0x1d848b(0x40e),this[_0x1d848b(0x13e)][_0x1d848b(0x13f)]()),N(this,_0x1d848b(0x173),new _0x3a004c()),N(this,_0x1d848b(0x3c9),this[_0x1d848b(0x173)][_0x1d848b(0x13f)]()),N(this,_0x1d848b(0x1d3)),N(this,_0x1d848b(0x316)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x1d848b(0x18f),null),(this[_0x1d848b(0x406)]=_0x26558f,this[_0x1d848b(0x393)]=_0xafcdf1,this[_0x1d848b(0x25e)]=_0x531c73,this[_0x1d848b(0x1ae)]=_0x3bb504,this[_0x1d848b(0x24a)]=_0x34190b,this[_0x1d848b(0x2d1)]=_0x15e93e,this['_collaborationUIEventService']=_0x24ea46,this[_0x1d848b(0x212)]=_0x2aaeb3,this[_0x1d848b(0x144)]=!!this[_0x1d848b(0x212)],_0x44f4b6[_0x1d848b(0x2a7)](_0x11c71d(this[_0x1d848b(0x2f7)]))['subscribe'](_0x46e0e9=>{var _0x4a2276=_0x1d848b,_0x3e0949;typeof _0x46e0e9>'u'||(this[_0x4a2276(0x1d3)]=_0x46e0e9,_0x46e0e9?(this[_0x4a2276(0x293)](_0x46e0e9),this['_socketMessageSubscription']=_0x46e0e9['message$']['subscribe'](_0x35df48=>{var _0x54083b=_0x4a2276;_0x35df48[_0x54083b(0x3d6)]===this[_0x54083b(0x406)]&&this[_0x54083b(0x39a)](_0x35df48);})):(this[_0x4a2276(0x311)](),this[_0x4a2276(0x13e)][_0x4a2276(0x23f)](0x2),(_0x3e0949=this[_0x4a2276(0x316)])==null||_0x3e0949[_0x4a2276(0x152)](),this[_0x4a2276(0x316)]=null));}));}get['sessionStatus'](){var _0x32e682=_0x4ba149;return this['_sessionStatus$'][_0x32e682(0x3f5)]();}[_0x4ba149(0x2c9)](){var _0x42c4c3=_0x4ba149,_0x2bd3c8,_0x1c74ca;return(_0x1c74ca=(_0x2bd3c8=this['_socket'])==null?void 0x0:_0x2bd3c8[_0x42c4c3(0x185)])!=null?_0x1c74ca:null;}[_0x4ba149(0x25b)](){var _0x6028ba=_0x4ba149;super[_0x6028ba(0x25b)](),this['dispose$'][_0x6028ba(0x23f)](),this[_0x6028ba(0x2f7)]['complete']();}[_0x4ba149(0x28f)](){var _0x5412ab=_0x4ba149,_0x21f192,_0x599907;this[_0x5412ab(0x311)](),(_0x21f192=this[_0x5412ab(0x1d3)])==null||_0x21f192[_0x5412ab(0x306)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x5412ab(0x406)]}}),(_0x599907=this[_0x5412ab(0x1d3)])==null||_0x599907[_0x5412ab(0x28f)](),this[_0x5412ab(0x173)][_0x5412ab(0x231)](),this[_0x5412ab(0x13e)]['complete'](),this[_0x5412ab(0x25b)]();}[_0x4ba149(0x39a)](_0x35fba1){var _0x45a4f5=_0x4ba149;_0x35fba1[_0x45a4f5(0x354)]===F[_0x45a4f5(0x15f)]?this['_onJoinRoomEvent'](_0x35fba1):_0x35fba1[_0x45a4f5(0x354)]===F[_0x45a4f5(0x2cf)]&&this[_0x45a4f5(0x3ec)](_0x35fba1);}[_0x4ba149(0x293)](_0x47e917){var _0xa41ded=_0x4ba149;this[_0xa41ded(0x13e)][_0xa41ded(0x23f)](0x1),_0x47e917[_0xa41ded(0x306)]({'cmd':F[_0xa41ded(0x15f)],'routeKey':this[_0xa41ded(0x406)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa41ded(0x406)]}]}});}[_0x4ba149(0x1b8)](_0x25084b){var _0x13a875=_0x4ba149,_0x572606;if(_0x25084b[_0x13a875(0x164)]in Yt){this['_collaborationUIEventService']['emitEvent']({'id':se[_0x13a875(0x20e)],'data':Yt[_0x25084b[_0x13a875(0x164)]]}),this[_0x13a875(0x13e)][_0x13a875(0x23f)](0x2);return;}this[_0x13a875(0x13e)][_0x13a875(0x23f)](0x3);const _0x4c178f=(_0x572606=_0x25084b[_0x13a875(0x385)][_0x13a875(0x38b)][this[_0x13a875(0x406)]])==null?void 0x0:_0x572606[_0x13a875(0x3e0)];_0x4c178f&&_0x4c178f[_0x13a875(0x1e5)](_0xf723e7=>this['_memberService'][_0x13a875(0x14d)](this['_unitID'],_0xf723e7));}['_onRecvEvent'](_0x3a53a3){var _0x1c2990=_0x4ba149;try{const _0x41c0f8=_0x3a53a3[_0x1c2990(0x385)];switch(_0x41c0f8[_0x1c2990(0x1d1)]){case _0x35fdb4[_0x1c2990(0x166)]:this[_0x1c2990(0x308)](_0x41c0f8),this[_0x1c2990(0x173)][_0x1c2990(0x23f)](_0x41c0f8);break;case _0x35fdb4['USERS_LEAVE']:this[_0x1c2990(0x2e2)](_0x41c0f8),this[_0x1c2990(0x173)][_0x1c2990(0x23f)](_0x41c0f8);break;case _0x35fdb4[_0x1c2990(0x2d2)]:case _0x35fdb4[_0x1c2990(0x2a5)]:this[_0x1c2990(0x3bd)](),this[_0x1c2990(0x18e)](),this[_0x1c2990(0x173)][_0x1c2990(0x23f)](_0x41c0f8);break;case _0x35fdb4[_0x1c2990(0x2c6)]:this['_logService'][_0x1c2990(0x290)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x41c0f8)),this[_0x1c2990(0x173)][_0x1c2990(0x23f)](_0x41c0f8);break;case _0x35fdb4[_0x1c2990(0x2db)]:this[_0x1c2990(0x2d1)][_0x1c2990(0x2b7)](_0x41c0f8[_0x1c2990(0x385)]),this[_0x1c2990(0x173)][_0x1c2990(0x23f)](_0x41c0f8);break;default:this[_0x1c2990(0x173)]['next'](_0x41c0f8);}}catch(_0x570f08){this[_0x1c2990(0x393)][_0x1c2990(0x290)](_0x570f08,_0x3a53a3);}}[_0x4ba149(0x308)](_0xec11ee){var _0x13b338=_0x4ba149;this[_0x13b338(0x24a)]['updateMember'](this[_0x13b338(0x406)],_0xec11ee[_0x13b338(0x385)]);}['_onUserLeave'](_0x520927){var _0x553d5e=_0x4ba149;this[_0x553d5e(0x24a)]['removeMember'](this[_0x553d5e(0x406)],_0x520927[_0x553d5e(0x385)]['memberID']);}async[_0x4ba149(0x306)](_0x50ebe6,_0x5ce294){var _0x44735c=_0x4ba149;if(this[_0x44735c(0x38a)]!==0x3||!this['_socket'])throw new Error(_0x44735c(0x34c));try{_0x50ebe6[_0x44735c(0x1d1)]===_0x35fdb4[_0x44735c(0x349)]&&(this[_0x44735c(0x234)](),this[_0x44735c(0x36e)](_0x50ebe6)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x5ce294,'routeType':'','data':_0x50ebe6});}catch(_0x27be19){this[_0x44735c(0x393)][_0x44735c(0x290)](_0x27be19);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5a6e23=_0x4ba149,_0x5063d7;this[_0x5a6e23(0x1f9)]=setTimeout(()=>{var _0x4a5d6c=_0x5a6e23;this[_0x4a5d6c(0x1f9)]=null,this[_0x4a5d6c(0x312)][_0x4a5d6c(0x1da)]({'id':se[_0x4a5d6c(0x343)]});},(_0x5063d7=this[_0x5a6e23(0x25e)]['getConfig'](Si))!=null?_0x5063d7:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x3d4fd2=_0x4ba149;this[_0x3d4fd2(0x1f9)]&&(clearTimeout(this[_0x3d4fd2(0x1f9)]),this['_collaborationTimeoutTimer']=null);}[_0x4ba149(0x36e)](_0x513b7d){var _0x2df3fb=_0x4ba149;if(!this[_0x2df3fb(0x144)])return;const {data:_0x41925e}=_0x513b7d,{unitID:_0x54f41d,changeset:_0x2e7c1c}=_0x41925e,{mutations:_0x8639c,type:_0x3cd5c3}=_0x2e7c1c;this['_telemetryInfo']={'unitId':_0x54f41d,'type':_0x3cd5c3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x8639c)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x242029=_0x4ba149;if(this[_0x242029(0x144)]){if(!this[_0x242029(0x18f)]){this[_0x242029(0x393)][_0x242029(0x290)](_0x242029(0x245),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x242029(0x265)]=performance[_0x242029(0x1c6)](),this[_0x242029(0x18f)][_0x242029(0x158)]=this[_0x242029(0x18f)]['stopTime']-this['_telemetryInfo']['startTime'],this[_0x242029(0x212)]['capture'](Vn,this[_0x242029(0x18f)]),this['_telemetryInfo']=null;}}[_0x4ba149(0x311)](){var _0x1b7ec3=_0x4ba149;this[_0x1b7ec3(0x18f)]=null;}};It=Xn([me(0x2,_0x55b365),me(0x3,_0x50ee4f),me(0x4,_0x2b3f90(_0x57c404)),me(0x5,_0x2b3f90(xe)),me(0x6,_0x2b3f90(Ri)),me(0x7,_0x2b3f90(pe)),me(0x8,_0x15959d(_0x514e51))],It);var Zn=Object[_0x4ba149(0x1a2)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x531e23,_0x41ff77,_0x2fd481,_0x2d8f89)=>{for(var _0x3b17bb=_0x2d8f89>0x1?void 0x0:_0x2d8f89?Qn(_0x41ff77,_0x2fd481):_0x41ff77,_0x271401=_0x531e23['length']-0x1,_0x388bde;_0x271401>=0x0;_0x271401--)(_0x388bde=_0x531e23[_0x271401])&&(_0x3b17bb=(_0x2d8f89?_0x388bde(_0x41ff77,_0x2fd481,_0x3b17bb):_0x388bde(_0x3b17bb))||_0x3b17bb);return _0x2d8f89&&_0x3b17bb&&Zn(_0x41ff77,_0x2fd481,_0x3b17bb),_0x3b17bb;},ge=(_0x256d7e,_0x348f59)=>(_0x4162ce,_0x36a11b)=>_0x348f59(_0x4162ce,_0x36a11b,_0x256d7e);let Le=class extends _0x4328ea{constructor(_0x290d98,_0x326486,_0xe78569,_0x3ebccd,_0x43bebb,_0x2f4077,_0x5a2c43){var _0x50090d=_0x4ba149;super(),N(this,_0x50090d(0x18a),new _0x3a9007(void 0x0)),N(this,'socket$',this['_socket$'][_0x50090d(0x13f)]()),N(this,_0x50090d(0x292),null),N(this,_0x50090d(0x3e7),new Map()),N(this,_0x50090d(0x28d),new _0x3a9007(Te[_0x50090d(0x3eb)])),N(this,_0x50090d(0x326),this['_status$'][_0x50090d(0x13f)]()),N(this,_0x50090d(0x3cf),!0x1),N(this,_0x50090d(0x2c7)),N(this,_0x50090d(0x347),0x0),N(this,_0x50090d(0x3d2)),N(this,'_timeoutTimer'),(this[_0x50090d(0x2fd)]=_0x290d98,this[_0x50090d(0x393)]=_0x326486,this['_configService']=_0xe78569,this[_0x50090d(0x31d)]=_0x3ebccd,this[_0x50090d(0x2f3)]=_0x43bebb,this[_0x50090d(0x312)]=_0x2f4077,this[_0x50090d(0x2ec)]=_0x5a2c43,this[_0x50090d(0x3a3)]());}get[_0x4ba149(0x1d3)](){var _0x20b6c9=_0x4ba149;return this[_0x20b6c9(0x18a)][_0x20b6c9(0x3f5)]();}[_0x4ba149(0x3a3)](){var _0x1dd8cc=_0x4ba149;this[_0x1dd8cc(0x2ec)]&&this[_0x1dd8cc(0x3f9)](this['_networkConditionService'][_0x1dd8cc(0x12f)][_0x1dd8cc(0x341)](_0x3167e7=>{var _0x300fca=_0x1dd8cc;_0x3167e7&&!this['_socket']&&this[_0x300fca(0x266)](),_0x3167e7||this['_onOffline']();}));}[_0x4ba149(0x25b)](){var _0x36c25a=_0x4ba149;super[_0x36c25a(0x25b)](),this[_0x36c25a(0x3e7)][_0x36c25a(0x1e5)](_0x1d4bb1=>_0x1d4bb1[_0x36c25a(0x25b)]()),this[_0x36c25a(0x3e7)][_0x36c25a(0x405)](),this[_0x36c25a(0x28d)][_0x36c25a(0x231)]();}async['requireSession'](_0x50e16f){var _0x1a7ef9=_0x4ba149;if(this[_0x1a7ef9(0x3e7)]['has'](_0x50e16f))return this[_0x1a7ef9(0x3e7)][_0x1a7ef9(0x197)](_0x50e16f);this['_tryEnsureSocket']();const _0x154eac=this['_injector'][_0x1a7ef9(0x382)](It,_0x50e16f,this[_0x1a7ef9(0x18a)][_0x1a7ef9(0x13f)]());return this[_0x1a7ef9(0x3e7)][_0x1a7ef9(0x14a)](_0x50e16f,_0x154eac),_0x154eac;}[_0x4ba149(0x17f)](_0x5ce1e3){var _0x1db59e=_0x4ba149,_0x1ed507;const _0x2a32d4=this[_0x1db59e(0x3e7)][_0x1db59e(0x197)](_0x5ce1e3);_0x2a32d4&&(this[_0x1db59e(0x3e7)][_0x1db59e(0x121)](_0x5ce1e3),_0x2a32d4[_0x1db59e(0x28f)]()),this[_0x1db59e(0x3e7)][_0x1db59e(0x12a)]||(_0x1ed507=this[_0x1db59e(0x1d3)])==null||_0x1ed507['close']();}['reconnect'](){var _0x5ee02b=_0x4ba149;this[_0x5ee02b(0x347)]=0x0,this[_0x5ee02b(0x2c7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x5ee02b(0x3fe)]();}async['_getSessionTicket'](){var _0x58cf67=_0x4ba149,_0x289c0e,_0x461bf8,_0x5d69fe;const _0x41851d=this[_0x58cf67(0x25e)]['getConfig'](q),_0x48f089=(_0x289c0e=_0x41851d==null?void 0x0:_0x41851d[_0x58cf67(0x2a4)])!=null?_0x289c0e:On;return(_0x5d69fe=(_0x461bf8=(await this[_0x58cf67(0x2f3)]['get'](_0x48f089,{'headers':{'Content-Type':_0x58cf67(0x1f1)}}))[_0x58cf67(0x201)])==null?void 0x0:_0x461bf8[_0x58cf67(0x3b6)])!=null?_0x5d69fe:'';}['_createSocketURL'](_0x57c8da){var _0x1b87bf=_0x4ba149,_0x565ef6,_0x444f49;const _0x2d9452=this[_0x1b87bf(0x25e)][_0x1b87bf(0x2f6)](Rn),_0x323b19=this[_0x1b87bf(0x25e)]['getConfig'](q),_0x36b725=(_0x444f49=(_0x565ef6=_0x323b19==null?void 0x0:_0x323b19['collabWebSocketUrl'])!=null?_0x565ef6:_0x2d9452)!=null?_0x444f49:bn,_0x24ef84=typeof window>'u'?new URL(_0x36b725):new URL(_0x36b725,window[_0x1b87bf(0x282)][_0x1b87bf(0x37a)]);_0x24ef84[_0x1b87bf(0x33f)][_0x1b87bf(0x14a)](_0x1b87bf(0x206),_0x57c8da);const _0x3dc81a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1b87bf(0x1ce)]);return _0x3dc81a['get'](_0x1b87bf(0x398))&&_0x24ef84[_0x1b87bf(0x33f)][_0x1b87bf(0x14a)](_0x1b87bf(0x398),_0x3dc81a['get'](_0x1b87bf(0x398))),_0x24ef84['toString']();}async[_0x4ba149(0x2e7)](){var _0xa1755f=_0x4ba149;const _0x152afc=await this[_0xa1755f(0x404)](),_0x39d129=this[_0xa1755f(0x3fc)](_0x152afc),_0xbd8020=this['_socketService']['createSocket'](_0x39d129);return this['_candidateSocket']=_0xbd8020,_0xbd8020;}async['_tryEnsureSocket'](){var _0x3653eb=_0x4ba149,_0x29aa45,_0x8b05d4;try{const _0x157d6a=(_0x8b05d4=(_0x29aa45=this[_0x3653eb(0x1d3)])!=null?_0x29aa45:this['_candidateSocket'])!=null?_0x8b05d4:await this[_0x3653eb(0x2e7)]();if(_0x157d6a){const _0x23e755=_0x157d6a[_0x3653eb(0x306)];_0x157d6a[_0x3653eb(0x306)]=_0x20e90d=>(this['_rescheduleHeartbeat'](),_0x23e755['apply'](_0x157d6a,[_0x20e90d])),_0x157d6a[_0x3653eb(0x277)][_0x3653eb(0x341)](_0x13a5df=>this['_onMessage'](_0x157d6a,_0x13a5df)),_0x157d6a[_0x3653eb(0x17d)][_0x3653eb(0x2a7)](_0x347715(0x1))[_0x3653eb(0x341)](_0x126061=>this[_0x3653eb(0x393)][_0x3653eb(0x290)]('[CollaborationSessionService]:\x20socket\x20error',_0x126061)),_0x157d6a[_0x3653eb(0x315)]['pipe'](_0x347715(0x1))[_0x3653eb(0x341)](()=>{var _0x46ca76=_0x3653eb;this[_0x46ca76(0x32d)](_0x157d6a);}),_0x157d6a[_0x3653eb(0x2ad)][_0x3653eb(0x2a7)](_0x347715(0x1))[_0x3653eb(0x341)](_0x5abb57=>{var _0x527788=_0x3653eb;this['_logService'][_0x527788(0x369)](_0x527788(0x333),_0x527788(0x196),_0x5abb57),this[_0x527788(0x24d)]();});}}catch(_0x2e71ee){this[_0x3653eb(0x393)]['error'](_0x2e71ee),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x8cdc1d){var _0x1267aa=_0x4ba149;this[_0x1267aa(0x393)][_0x1267aa(0x369)]('[CollaborationSessionService]',_0x1267aa(0x169)),_0x8cdc1d['send']({'cmd':F[_0x1267aa(0x230)]}),this['_rescheduleHeartbeat']();}[_0x4ba149(0x174)](){var _0x295d47=_0x4ba149;this[_0x295d47(0x3cf)]=!0x1,this[_0x295d47(0x292)]=null,this[_0x295d47(0x28d)][_0x295d47(0x23f)](Te[_0x295d47(0x2f4)]),this[_0x295d47(0x18a)][_0x295d47(0x23f)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x4ba149(0x24d)](){var _0x4c9de8=_0x4ba149,_0x498b4f;this[_0x4c9de8(0x174)](),this[_0x4c9de8(0x347)]<((_0x498b4f=this[_0x4c9de8(0x25e)][_0x4c9de8(0x2f6)](Pn))!=null?_0x498b4f:wn)?(this[_0x4c9de8(0x312)][_0x4c9de8(0x1da)]({'id':se[_0x4c9de8(0x3ff)]}),this[_0x4c9de8(0x3fe)]()):this[_0x4c9de8(0x312)]['emitEvent']({'id':se[_0x4c9de8(0x1b5)]});}[_0x4ba149(0x3fe)](){var _0x495df7=_0x4ba149,_0x16bc08;const _0x192cb1=this['_retryCount'],_0x33854b=this[_0x495df7(0x25e)][_0x495df7(0x2f6)](q),_0x3d82b7=_0x192cb1===0x0?0x0:((_0x16bc08=_0x33854b==null?void 0x0:_0x33854b['retryConnectingInterval'])!=null?_0x16bc08:Dn)*0x2**_0x192cb1;this[_0x495df7(0x2c7)]=setTimeout(()=>{var _0x125aec=_0x495df7;clearTimeout(this[_0x125aec(0x2c7)]),this[_0x125aec(0x2c7)]=null,this[_0x125aec(0x40f)]();},_0x3d82b7),this[_0x495df7(0x347)]+=0x1;}['_onMessage'](_0xcadfd7,_0x43406e){var _0xcaba87=_0x4ba149;const {cmd:_0x354fe6}=_0x43406e;_0x354fe6===F['HELLO']&&!this[_0xcaba87(0x3cf)]&&(_0xcadfd7['memberID']=_0x43406e[_0xcaba87(0x385)][_0xcaba87(0x185)],this[_0xcaba87(0x18a)][_0xcaba87(0x23f)](_0xcadfd7),this[_0xcaba87(0x28d)][_0xcaba87(0x23f)](Te[_0xcaba87(0x37c)]),this['_socketReady']=!0x0,this[_0xcaba87(0x292)]=null),_0x354fe6===F[_0xcaba87(0x320)]&&this['_clearTimeoutTimer'](),this[_0xcaba87(0x187)]();}['_rescheduleHeartbeat'](){var _0x5ad689=_0x4ba149,_0x3b8ef2;this[_0x5ad689(0x19d)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x3b8ef2=this[_0x5ad689(0x25e)][_0x5ad689(0x2f6)](yn))!=null?_0x3b8ef2:Nn);}['_sendHeartbeat'](){var _0xb09011=_0x4ba149;this[_0xb09011(0x1d3)][_0xb09011(0x306)]({'cmd':F[_0xb09011(0x320)]}),this['_waitForHeartbeatResponse']();}[_0x4ba149(0x274)](){var _0x142eee=_0x4ba149,_0xd5f230;this[_0x142eee(0x13c)]=setTimeout(()=>this[_0x142eee(0x24d)](),(_0xd5f230=this[_0x142eee(0x25e)]['getConfig'](Si))!=null?_0xd5f230:Ei);}['_clearHeartbeatTimer'](){var _0x5c30b6=_0x4ba149;this[_0x5c30b6(0x3d2)]!=null&&(clearTimeout(this[_0x5c30b6(0x3d2)]),this[_0x5c30b6(0x3d2)]=null);}['_clearTimeoutTimer'](){var _0x4dac01=_0x4ba149;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4dac01(0x13c)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x2b3f90(_0x131b89)),ge(0x1,_0x55b365),ge(0x2,_0x50ee4f),ge(0x3,Ci),ge(0x4,_0x2b3f90(_0x3c17f9)),ge(0x5,_0x2b3f90(pe)),ge(0x6,_0x15959d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x4ba149(0x3fd)]((n+0x100)[_0x4ba149(0x3df)](0x10)[_0x4ba149(0x327)](0x1));function tr(_0x1607d7,_0x4dc4d6=0x0){var _0x46f324=_0x4ba149;return(V[_0x1607d7[_0x4dc4d6+0x0]]+V[_0x1607d7[_0x4dc4d6+0x1]]+V[_0x1607d7[_0x4dc4d6+0x2]]+V[_0x1607d7[_0x4dc4d6+0x3]]+'-'+V[_0x1607d7[_0x4dc4d6+0x4]]+V[_0x1607d7[_0x4dc4d6+0x5]]+'-'+V[_0x1607d7[_0x4dc4d6+0x6]]+V[_0x1607d7[_0x4dc4d6+0x7]]+'-'+V[_0x1607d7[_0x4dc4d6+0x8]]+V[_0x1607d7[_0x4dc4d6+0x9]]+'-'+V[_0x1607d7[_0x4dc4d6+0xa]]+V[_0x1607d7[_0x4dc4d6+0xb]]+V[_0x1607d7[_0x4dc4d6+0xc]]+V[_0x1607d7[_0x4dc4d6+0xd]]+V[_0x1607d7[_0x4dc4d6+0xe]]+V[_0x1607d7[_0x4dc4d6+0xf]])[_0x46f324(0x24e)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x32cab1=_0x4ba149;if(!ut){if(typeof crypto>'u'||!crypto[_0x32cab1(0x1b4)])throw new Error(_0x32cab1(0x190));ut=crypto[_0x32cab1(0x1b4)][_0x32cab1(0x247)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x4ba149(0x3a6)]&&crypto[_0x4ba149(0x3a6)][_0x4ba149(0x247)](crypto),qt={'randomUUID':rr};function sr(_0x5ec69c,_0x111fdf,_0x567d2b){var _0x237073=_0x4ba149,_0x5fe80b,_0x462634,_0x3384b2;if(qt[_0x237073(0x3a6)]&&!_0x5ec69c)return qt['randomUUID']();_0x5ec69c=_0x5ec69c||{};const _0x4f8b9d=(_0x3384b2=(_0x462634=_0x5ec69c[_0x237073(0x1f8)])!=null?_0x462634:(_0x5fe80b=_0x5ec69c['rng'])==null?void 0x0:_0x5fe80b[_0x237073(0x252)](_0x5ec69c))!=null?_0x3384b2:nr();if(_0x4f8b9d[_0x237073(0x30f)]<0x10)throw new Error(_0x237073(0x1dc));return _0x4f8b9d[0x6]=_0x4f8b9d[0x6]&0xf|0x40,_0x4f8b9d[0x8]=_0x4f8b9d[0x8]&0x3f|0x80,tr(_0x4f8b9d);}const J=_0x595130(_0x4ba149(0x2c1));function so(_0x503779){var _0x4d7e99=_0x4ba149;return _0x4d7e99(0x2a6)+_0x503779;}var or=Object[_0x4ba149(0x1a2)],ar=Object['getOwnPropertyDescriptor'],cr=(_0xfed01e,_0x4a0587,_0x55d513,_0x1b3ef8)=>{var _0x57e8a3=_0x4ba149;for(var _0x928e18=_0x1b3ef8>0x1?void 0x0:_0x1b3ef8?ar(_0x4a0587,_0x55d513):_0x4a0587,_0x5c5fa2=_0xfed01e[_0x57e8a3(0x30f)]-0x1,_0x46f734;_0x5c5fa2>=0x0;_0x5c5fa2--)(_0x46f734=_0xfed01e[_0x5c5fa2])&&(_0x928e18=(_0x1b3ef8?_0x46f734(_0x4a0587,_0x55d513,_0x928e18):_0x46f734(_0x928e18))||_0x928e18);return _0x1b3ef8&&_0x928e18&&or(_0x4a0587,_0x55d513,_0x928e18),_0x928e18;},dt=(_0x3acfd1,_0x585d71)=>(_0x9183cb,_0x52d5f3)=>_0x585d71(_0x9183cb,_0x52d5f3,_0x3acfd1);function hr(_0x3f9eef){var _0x471fba=_0x4ba149;const {unitID:_0x361d8c,mutations:_0x21a318}=_0x3f9eef;return{'unitId':_0x361d8c,'subUnitId':_0x21a318[0x0][_0x471fba(0x2ba)][_0x471fba(0x330)]};}let it=class{constructor(_0x431ddd,_0x78c16f,_0x3c2344){var _0x1854ec=_0x4ba149;this[_0x1854ec(0x2fd)]=_0x431ddd,this[_0x1854ec(0x379)]=_0x78c16f,this[_0x1854ec(0x203)]=_0x3c2344;}[_0x4ba149(0x2ff)](_0x86c41f){var _0x1b67dd=_0x4ba149,_0x41d07e,_0x195c12,_0x2c4053,_0x52e0f8;const _0x117d54=this[_0x1b67dd(0x2fd)]['get'](_0x5ac5f8),{unitId:_0x22d8cd,subUnitId:_0x20f937}=hr(_0x86c41f),_0x27fa3a=_0x117d54==null?void 0x0:_0x117d54[_0x1b67dd(0x1e7)](_0x22d8cd)[_0x1b67dd(0x3c6)](),_0x7b413=(_0x195c12=(_0x41d07e=this[_0x1b67dd(0x203)]['getUnit'](_0x22d8cd))==null?void 0x0:_0x41d07e['getActiveSheet']())==null?void 0x0:_0x195c12[_0x1b67dd(0x16f)]();if(_0x27fa3a[_0x1b67dd(0x30f)]===0x0||!_0x22d8cd||!_0x20f937)return;const _0x523093=[{'id':_0xea7c18['id'],'params':{'unitId':_0x22d8cd,'subUnitId':_0x7b413,'selections':_0x321eb3[_0x1b67dd(0x224)](_0x27fa3a)}}],_0xb61a93=this[_0x1b67dd(0x379)]['transformMutationsWithChangeset'](_0x86c41f,_0x523093);if(!_0x1575be(_0xb61a93))throw _0xb61a93[_0x1b67dd(0x290)];const _0x5143a4=(_0x52e0f8=(_0x2c4053=_0xb61a93[_0x1b67dd(0x1ec)][0x0])==null?void 0x0:_0x2c4053[_0x1b67dd(0x2ba)])==null?void 0x0:_0x52e0f8[_0x1b67dd(0x374)];if(Array['isArray'](_0x5143a4)&&_0x5143a4[_0x1b67dd(0x30f)]){if(_0x5143a4[_0x1b67dd(0x30f)]===_0x523093[0x0][_0x1b67dd(0x2ba)][_0x1b67dd(0x374)]['length']&&_0x5143a4['every']((_0x3a965d,_0x296c34)=>_0x2195ae[_0x1b67dd(0x3b8)](_0x3a965d[_0x1b67dd(0x262)],_0x523093[0x0][_0x1b67dd(0x2ba)][_0x1b67dd(0x374)][_0x296c34][_0x1b67dd(0x262)])))return;this[_0x1b67dd(0x2fd)]['get'](_0x3fb355)[_0x1b67dd(0x2dc)](_0xea7c18['id'],{'unitId':_0x22d8cd,'subUnitId':_0x7b413,'selections':_0x5143a4});}}};it=cr([dt(0x0,_0x2b3f90(_0x131b89)),dt(0x1,_0x4a82f5),dt(0x2,_0x56bf2b)],it);const ht=_0x595130('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4a57c4=>(_0x4a57c4[_0x4a57c4[_0x4ba149(0x228)]=0x0]=_0x4ba149(0x228),_0x4a57c4[_0x4a57c4[_0x4ba149(0x305)]=0x1]=_0x4ba149(0x305),_0x4a57c4))(bi||{});const _r=new Set([_0x3d037c['id']]);function zt(_0x24bb46,_0x2d0c10,_0x4aae52,_0x38a4be,_0x582658){var _0x12e9d1=_0x4ba149,_0x46bb30,_0x5257b9,_0xe6128e,_0x410215;const _0x5ecfd7=[];for(const _0x143e5d of _0x24bb46)if(_r[_0x12e9d1(0x378)](_0x143e5d['id'])){if(_0x5ecfd7[_0x12e9d1(0x30f)]>0x0)break;_0x5ecfd7[_0x12e9d1(0x3fd)](_0x143e5d);break;}else _0x5ecfd7['push'](_0x143e5d);const _0x5f49e9=(_0x5257b9=(_0x46bb30=_0x582658[_0x12e9d1(0x127)]())==null?void 0x0:_0x46bb30[_0x12e9d1(0x15a)])!=null?_0x5257b9:_0x12e9d1(0x2d3),_0x15a963=(_0x410215=(_0xe6128e=_0x582658[_0x12e9d1(0x127)]())==null?void 0x0:_0xe6128e[_0x12e9d1(0x185)])!=null?_0x410215:_0x12e9d1(0x2d3);return{'changeset':{'unitID':_0x2d0c10,'type':_0x1f0a80(_0x4aae52[_0x12e9d1(0x361)](_0x2d0c10)),'baseRev':_0x38a4be[_0x12e9d1(0x20c)](_0x2d0c10),'revision':0x0,'userID':_0x5f49e9,'memberID':_0x15a963,'mutations':_0x5ecfd7},'pendingMutations':_0x24bb46[_0x12e9d1(0x327)](_0x5ecfd7['length'])};}function lr(_0x25d60e,_0x5ae766,_0x47f10b,_0x3462ed,_0x109342){var _0x1b8d42=_0x4ba149,_0x33de42,_0x4cc675,_0x18f6c5,_0x2f4b9c;const _0x463582=[_0x25d60e[_0x1b8d42(0x261)]((_0x26fbd8,_0x4809c2)=>{var _0x367098=_0x1b8d42,_0x119594;const {id:_0x362b76}=_0x26fbd8,{id:_0x2b6140,type:_0x3e4f73}=_0x4809c2,_0x20134f=(_0x119594=_0x26fbd8[_0x367098(0x2ba)])!=null?_0x119594:{'actions':null},_0x55200c=_0x4809c2[_0x367098(0x2ba)];if(_0x362b76&&_0x362b76!==_0x2b6140)throw new Error(_0x367098(0x13b)+_0x362b76+_0x367098(0x26a)+_0x2b6140+'.');return{..._0x26fbd8,'id':_0x2b6140,'type':_0x3e4f73,'params':{'unitId':_0x55200c[_0x367098(0x22b)],'textRanges':_0x55200c['textRanges'],'actions':_0x58bd05['compose'](_0x20134f[_0x367098(0x394)],_0x55200c[_0x367098(0x394)])}};},{})],_0x3e850a=(_0x4cc675=(_0x33de42=_0x109342['getCurrentUser']())==null?void 0x0:_0x33de42[_0x1b8d42(0x15a)])!=null?_0x4cc675:_0x1b8d42(0x2d3),_0x3b7ad2=(_0x2f4b9c=(_0x18f6c5=_0x109342[_0x1b8d42(0x127)]())==null?void 0x0:_0x18f6c5[_0x1b8d42(0x185)])!=null?_0x2f4b9c:'unknown';return{'changeset':{'unitID':_0x5ae766,'type':_0x1f0a80(_0x47f10b[_0x1b8d42(0x361)](_0x5ae766)),'baseRev':_0x3462ed[_0x1b8d42(0x20c)](_0x5ae766),'revision':0x0,'userID':_0x3e850a,'memberID':_0x3b7ad2,'mutations':_0x463582},'pendingMutations':[]};}function Oi(_0x1b14e6,_0x194f50){var _0x3d50b5=_0x4ba149;const _0x130b42=new _0x21c456(0x1);return setTimeout(()=>_0x130b42[_0x3d50b5(0x23f)](_0x194f50),_0x1b14e6),_0x130b42[_0x3d50b5(0x13f)]()[_0x3d50b5(0x2a7)](_0x3ef868(0x1));}const ur={'id':_0x4ecb0d['id'],'type':_0x39812e[_0x4ba149(0x1ad)],'params':{}};var dr=Object[_0x4ba149(0x1a2)],fr=Object[_0x4ba149(0x362)],Re=(_0x35b9f5,_0x4f6c20,_0x1a14e2,_0x22ec01)=>{var _0x307d15=_0x4ba149;for(var _0x1f3a02=_0x22ec01>0x1?void 0x0:_0x22ec01?fr(_0x4f6c20,_0x1a14e2):_0x4f6c20,_0x347996=_0x35b9f5[_0x307d15(0x30f)]-0x1,_0x243d6d;_0x347996>=0x0;_0x347996--)(_0x243d6d=_0x35b9f5[_0x347996])&&(_0x1f3a02=(_0x22ec01?_0x243d6d(_0x4f6c20,_0x1a14e2,_0x1f3a02):_0x243d6d(_0x1f3a02))||_0x1f3a02);return _0x22ec01&&_0x1f3a02&&dr(_0x4f6c20,_0x1a14e2,_0x1f3a02),_0x1f3a02;},A=(_0x37a278,_0x4d5687)=>(_0x23e979,_0x2d4d19)=>_0x4d5687(_0x23e979,_0x2d4d19,_0x37a278),yi=(_0x18d2ec=>(_0x18d2ec[_0x4ba149(0x396)]='not_collab',_0x18d2ec[_0x4ba149(0x279)]=_0x4ba149(0x3de),_0x18d2ec[_0x4ba149(0x3ea)]=_0x4ba149(0x246),_0x18d2ec[_0x4ba149(0x3dd)]=_0x4ba149(0x339),_0x18d2ec['AWAITING_WITH_PENDING']=_0x4ba149(0x122),_0x18d2ec[_0x4ba149(0x268)]='fetch_missing',_0x18d2ec[_0x4ba149(0x128)]=_0x4ba149(0x267),_0x18d2ec[_0x4ba149(0x2f4)]=_0x4ba149(0x36b),_0x18d2ec))(yi||{});const Ni=0xea60;class be{constructor(_0x1cd884,_0x27d73c,_0x4472e2,_0x1feda5,_0x4b4fda,_0x4bbdfa,_0x1f023f,_0x2afff0,_0x11b71e){var _0x109529=_0x4ba149;N(this,_0x109529(0x23b),null),N(this,_0x109529(0x11f),[]),(this[_0x109529(0x3c4)]=_0x1cd884,this[_0x109529(0x204)]=_0x27d73c,this[_0x109529(0x2f2)]=_0x4b4fda,this[_0x109529(0x303)]=_0x4bbdfa,this[_0x109529(0x16a)]=_0x1f023f,this[_0x109529(0x386)]=_0x2afff0,this[_0x109529(0x2d4)]=_0x11b71e,this['_awaitingChangeset']=_0x4472e2,this[_0x109529(0x11f)]=_0x1feda5);}['_checkMissing'](_0x4514f0){var _0x3461d2=_0x4ba149;const _0x3f2136=this[_0x3461d2(0x386)]['getCurrentRevOfUnit'](this[_0x3461d2(0x3c4)]);return _0x4514f0[_0x3461d2(0x328)]>_0x3f2136+0x1?(this[_0x3461d2(0x2f2)][_0x3461d2(0x145)]({'from':_0x3f2136,'to':_0x4514f0[_0x3461d2(0x328)]-0x1}),!0x0):!0x1;}[_0x4ba149(0x300)](_0x13b4ba){var _0x50dfed=_0x4ba149;this[_0x50dfed(0x16a)]['transformUndoRedo'](this[_0x50dfed(0x3c4)],_0x13b4ba);}['_transformSelections'](_0x35e616){var _0x44bcbf=_0x4ba149,_0x27804b,_0xe7b220;(_0xe7b220=(_0x27804b=this['_handler'])['onTransformSelections'])==null||_0xe7b220[_0x44bcbf(0x252)](_0x27804b,_0x35e616);}[_0x4ba149(0x175)](_0x30d6c3){var _0x319e7e=_0x4ba149,_0xbeeeac,_0xaa43ab;return(_0xaa43ab=(_0xbeeeac=this[_0x319e7e(0x2f2)])[_0x319e7e(0x1e9)])==null?void 0x0:_0xaa43ab[_0x319e7e(0x252)](_0xbeeeac,_0x30d6c3);}[_0x4ba149(0x3f7)](_0x5c2b65){var _0x3dc104=_0x4ba149,_0x438cb4,_0x18e2fe;return(_0x18e2fe=(_0x438cb4=this['_handler'])['onTransformState'])==null?void 0x0:_0x18e2fe[_0x3dc104(0x252)](_0x438cb4,_0x5c2b65);}[_0x4ba149(0x2a0)](_0xb5c10a){var _0x4e6a75=_0x4ba149,_0x364fbf,_0x48910,_0x138e1a;return(_0x138e1a=(_0x48910=(_0x364fbf=this[_0x4e6a75(0x2f2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x48910[_0x4e6a75(0x252)](_0x364fbf,_0xb5c10a))!=null?_0x138e1a:_0xb5c10a;}[_0x4ba149(0x225)](_0x2e8043){var _0x3a159f=_0x4ba149,_0x56d3b3,_0x3c05f4,_0x20e977;return(_0x20e977=(_0x3c05f4=(_0x56d3b3=this['_handler'])[_0x3a159f(0x2b1)])==null?void 0x0:_0x3c05f4[_0x3a159f(0x252)](_0x56d3b3,_0x2e8043))!=null?_0x20e977:_0x2e8043;}[_0x4ba149(0x1a0)](_0x27d41b){var _0x3749be=_0x4ba149,_0x26670a,_0xfddc62;if(this[_0x3749be(0x204)]===Q[_0x3749be(0x253)]){const {unitID:_0x50c7ac,mutations:_0x5087a3,memberID:_0xe9afba}=_0x27d41b,_0x5bcb62=_0x5087a3[0x0]['params'][_0x3749be(0x146)];Array[_0x3749be(0x226)](_0x5bcb62)&&_0x5bcb62['length']>0x0&&((_0xfddc62=(_0x26670a=this[_0x3749be(0x2f2)])[_0x3749be(0x399)])==null||_0xfddc62[_0x3749be(0x252)](_0x26670a,{'unitID':_0x50c7ac,'memberID':_0xe9afba,'textRanges':_0x5bcb62}));}}[_0x4ba149(0x289)](){var _0x1e67a8=_0x4ba149,_0xb83250;(_0xb83250=this['_localCacheService'])==null||_0xb83250[_0x1e67a8(0x29d)](this['unitID'],this[_0x1e67a8(0x204)],this[_0x1e67a8(0x23b)],this['_pendingMutations']);}[_0x4ba149(0x14b)](){var _0x457d6a=_0x4ba149;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x457d6a(0x3c4)]);}[_0x4ba149(0x1af)](){var _0xc15ea=_0x4ba149;this[_0xc15ea(0x386)][_0xc15ea(0x3a5)](this['unitID']);}[_0x4ba149(0x24f)](_0x3ca465){var _0x38648f=_0x4ba149,_0x3eca09;let _0x559573=this[_0x38648f(0x2a0)](_0x3ca465);_0x559573=this[_0x38648f(0x225)](_0x559573);const _0x30819b=_0x28a385(_0x559573[_0x38648f(0x3db)],this[_0x38648f(0x303)],{'fromCollab':!0x0});if(!_0x30819b[_0x38648f(0x2d8)])throw _0x30819b[_0x38648f(0x290)]instanceof Error?_0x30819b['error']:new Error((_0x3eca09=_0x30819b[_0x38648f(0x290)])!=null?_0x3eca09:_0x38648f(0x39b));this[_0x38648f(0x175)](_0x559573),this[_0x38648f(0x3f7)](_0x559573),this['_transformUndoredo'](_0x3ca465),this['_transformSelections'](_0x559573),this[_0x38648f(0x1a0)](_0x559573),this[_0x38648f(0x1af)]();}}let De=class extends be{constructor(_0x1ee934,_0x5d15ec,_0x28bf64,_0x4779b1,_0x2164ec,_0x20ef7c,_0x246bed,_0x53cc85,_0x589e2e,_0x4a136f){var _0x380ee9=_0x4ba149;super(_0x1ee934,_0x5d15ec,null,[],_0x28bf64,_0x246bed,_0x20ef7c,_0x4779b1,_0x4a136f),N(this,_0x380ee9(0x235),_0x380ee9(0x3de)),(this[_0x380ee9(0x2fd)]=_0x2164ec,this[_0x380ee9(0x393)]=_0x53cc85,this['_transformService']=_0x589e2e,this['localCacheService']=_0x4a136f);}[_0x4ba149(0x2af)](_0x24180c){var _0x5bf7c6=_0x4ba149;const _0x114eca=this[_0x5bf7c6(0x2fd)][_0x5bf7c6(0x382)](oe,this[_0x5bf7c6(0x3c4)],this[_0x5bf7c6(0x204)],[_0x24180c],this['_handler']);return _0x114eca['_schedule'](),_0x114eca[_0x5bf7c6(0x289)](),_0x114eca;}['onRemoteChangeset'](_0x47a2cb){var _0x58f482=_0x4ba149;if(this[_0x58f482(0x13a)](_0x47a2cb))return this[_0x58f482(0x2fd)][_0x58f482(0x382)](te,this[_0x58f482(0x3c4)],this[_0x58f482(0x204)],null,[],null,[_0x47a2cb],this[_0x58f482(0x2f2)]);try{const _0x21a877=this[_0x58f482(0x379)]['transformMutationsWithChangeset'](_0x47a2cb,[ur]);if(_0x1575be(_0x21a877)){const {c1Prime:_0xacd67a}=_0x21a877;return this[_0x58f482(0x24f)](_0xacd67a),this;}throw _0x21a877[_0x58f482(0x290)];}catch(_0x12b2e8){return this['_logService'][_0x58f482(0x290)](_0x12b2e8),this[_0x58f482(0x1ba)](!0x1);}}['_onConflict'](_0xa4adc6){var _0x162e73=_0x4ba149;return this[_0x162e73(0x2fd)]['createInstance'](de,this['unitID'],this['type'],null,[],this[_0x162e73(0x2f2)],_0xa4adc6);}['onRemoteAck'](){var _0x734749=_0x4ba149;throw new Error(_0x734749(0x1b1));}[_0x4ba149(0x2fc)](){var _0x323823=_0x4ba149;throw new Error(_0x323823(0x138));}['onRemoteRetry'](){return this;}[_0x4ba149(0x389)](){var _0x53dc6b=_0x4ba149;return this[_0x53dc6b(0x2fd)][_0x53dc6b(0x382)](fe,this[_0x53dc6b(0x3c4)],this[_0x53dc6b(0x204)],null,[],this[_0x53dc6b(0x2f2)]);}[_0x4ba149(0x3d1)](){return this;}[_0x4ba149(0x285)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4ba149(0x11e)](){var _0xb614cb=_0x4ba149;const _0x94d397=this[_0xb614cb(0x386)][_0xb614cb(0x20c)](this[_0xb614cb(0x3c4)]);return this[_0xb614cb(0x2f2)][_0xb614cb(0x145)]({'from':_0x94d397,'to':0x0}),this[_0xb614cb(0x2fd)][_0xb614cb(0x382)](te,this['unitID'],this['type'],null,[],null,[],this[_0xb614cb(0x2f2)]);}};De=Re([A(0x3,_0x2b3f90(_0x1fec2b)),A(0x4,_0x2b3f90(_0x131b89)),A(0x5,_0x5aed67),A(0x6,_0x3fb355),A(0x7,_0x55b365),A(0x8,_0x4a82f5),A(0x9,_0x15959d(J))],De);let oe=class extends be{constructor(_0x4e21f9,_0x13b716,_0x1c9b88,_0x24c9fe,_0x21b1a3,_0x99e183,_0x52a011,_0xe5c791,_0x22f476,_0x15723c,_0x48c649,_0x1cc57b,_0x1be9b4,_0x41c266){var _0x210aa7=_0x4ba149;super(_0x4e21f9,_0x13b716,null,_0x1c9b88,_0x24c9fe,_0x22f476,_0x1be9b4,_0x99e183,_0x41c266),N(this,_0x210aa7(0x235),_0x210aa7(0x246)),N(this,_0x210aa7(0x23e),null),N(this,_0x210aa7(0x358),null),(this[_0x210aa7(0x2fd)]=_0x21b1a3,this['_memberService']=_0x52a011,this[_0x210aa7(0x393)]=_0xe5c791,this['_configService']=_0x15723c,this[_0x210aa7(0x379)]=_0x48c649,this['_univerInstanceService']=_0x1cc57b);}['appendMutation'](_0xe56232){var _0x2f6720=_0x4ba149;return this[_0x2f6720(0x11f)]['push'](_0xe56232),this[_0x2f6720(0x289)](),this;}[_0x4ba149(0x1d7)](_0x4a0983){var _0x540dc6=_0x4ba149;if(this[_0x540dc6(0x13a)](_0x4a0983))return this[_0x540dc6(0x34b)](),this['_injector'][_0x540dc6(0x382)](te,this[_0x540dc6(0x3c4)],this[_0x540dc6(0x204)],null,this[_0x540dc6(0x11f)],null,[_0x4a0983],this[_0x540dc6(0x2f2)]);try{const _0x3827a6=this[_0x540dc6(0x379)][_0x540dc6(0x2a2)](_0x4a0983,this[_0x540dc6(0x11f)]);if(_0x1575be(_0x3827a6)){const {c1Prime:_0x1d28c2,m2Prime:_0x25ce80}=_0x3827a6;this[_0x540dc6(0x24f)](_0x1d28c2);const _0x3f7747=this['_injector']['createInstance'](oe,this[_0x540dc6(0x3c4)],this[_0x540dc6(0x204)],_0x25ce80,this[_0x540dc6(0x2f2)]);this[_0x540dc6(0x34b)]();const _0x591a38=new Date()[_0x540dc6(0x36f)](),_0x46b565=this['_scheduleCompleteTimestamp']?Math[_0x540dc6(0x1dd)](this[_0x540dc6(0x23e)]-_0x591a38,0x0):this[_0x540dc6(0x3e2)]();return _0x3f7747[_0x540dc6(0x373)](_0x46b565),_0x3f7747;}throw _0x3827a6[_0x540dc6(0x290)];}catch(_0x303fc5){return this['_logService'][_0x540dc6(0x290)](_0x303fc5),this['_onConflict'](!0x1);}}[_0x4ba149(0x195)](){var _0x11467a=_0x4ba149;throw new Error(_0x11467a(0x2f5));}[_0x4ba149(0x2fc)](){var _0x4f4b3b=_0x4ba149;throw new Error(_0x4f4b3b(0x344));}[_0x4ba149(0x200)](){return this;}['toggleOffline'](){var _0x211ff7=_0x4ba149;return this[_0x211ff7(0x34b)](),this[_0x211ff7(0x2fd)]['createInstance'](fe,this[_0x211ff7(0x3c4)],this[_0x211ff7(0x204)],null,this[_0x211ff7(0x11f)],this['_handler']);}[_0x4ba149(0x3d1)](){return this;}[_0x4ba149(0x373)](_0x4fd7ab){var _0xd9a015=_0x4ba149;const _0x466873=_0x4fd7ab!=null?_0x4fd7ab:this[_0xd9a015(0x3e2)]();this[_0xd9a015(0x23e)]=new Date()['getTime']()+_0x466873,this[_0xd9a015(0x358)]=setTimeout(()=>{var _0x364419=_0xd9a015;this[_0x364419(0x34b)]();let _0x2ab256=null;switch(this[_0x364419(0x204)]){case Q[_0x364419(0x139)]:{_0x2ab256=zt(this[_0x364419(0x11f)],this[_0x364419(0x3c4)],this[_0x364419(0x28a)],this['_revisionService'],this['_memberService']);break;}case Q[_0x364419(0x253)]:{this[_0x364419(0x11f)][_0x364419(0x1f4)](_0x39b6ee=>_0x39b6ee['id']===_0x43dee3['id'])?_0x2ab256=lr(this['_pendingMutations'],this[_0x364419(0x3c4)],this[_0x364419(0x28a)],this[_0x364419(0x386)],this[_0x364419(0x24a)]):_0x2ab256=zt(this[_0x364419(0x11f)],this[_0x364419(0x3c4)],this['_univerInstanceService'],this[_0x364419(0x386)],this[_0x364419(0x24a)]);break;}default:throw new Error(_0x364419(0x2b9)+this['type']+_0x364419(0x1ee));}const {changeset:_0x189093,pendingMutations:_0x4cb2df}=_0x2ab256;this[_0x364419(0x2f2)]['onSendChangeset'](_0x189093);const _0x276c55=_0x4cb2df[_0x364419(0x30f)]?this[_0x364419(0x2fd)][_0x364419(0x382)](ae,this['unitID'],this[_0x364419(0x204)],_0x189093,_0x4cb2df,this[_0x364419(0x2f2)],void 0x0):this[_0x364419(0x2fd)][_0x364419(0x382)](ue,this[_0x364419(0x3c4)],this['type'],_0x189093,this[_0x364419(0x2f2)]);_0x276c55[_0x364419(0x289)](),this['_handler']['onStateChange'](this,_0x276c55);},_0x466873);}[_0x4ba149(0x3e2)](){var _0x28bc26=_0x4ba149,_0x421ec4;const _0x555107=this['_configService'][_0x28bc26(0x2f6)](q);return(_0x421ec4=_0x555107==null?void 0x0:_0x555107['sendChangesetTimeout'])!=null?_0x421ec4:Cn;}[_0x4ba149(0x285)](){var _0x156209=_0x4ba149;throw new Error(_0x156209(0x17e));}['_clearScheduledTask'](){var _0x5c183c=_0x4ba149;this[_0x5c183c(0x358)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5c183c(0x358)]=null);}[_0x4ba149(0x1ba)](_0x1195b1){var _0x23a6ee=_0x4ba149;return this['_clearScheduledTask'](),this[_0x23a6ee(0x2fd)][_0x23a6ee(0x382)](de,this[_0x23a6ee(0x3c4)],this[_0x23a6ee(0x204)],null,this[_0x23a6ee(0x11f)],this[_0x23a6ee(0x2f2)],_0x1195b1);}};oe=Re([A(0x4,_0x2b3f90(_0x131b89)),A(0x5,_0x2b3f90(_0x1fec2b)),A(0x6,_0x2b3f90(xe)),A(0x7,_0x55b365),A(0x8,_0x3fb355),A(0x9,_0x50ee4f),A(0xa,_0x4a82f5),A(0xb,_0x56bf2b),A(0xc,_0x5aed67),A(0xd,_0x15959d(J))],oe);let ue=class extends be{constructor(_0x31fd60,_0xe031fd,_0x3f33ab,_0x3ebce0,_0x16a196,_0x37b154,_0x2e33eb,_0x52bdfd,_0xbcea5a,_0x2ea4ff,_0x53a1fc){var _0x17a91a=_0x4ba149;super(_0x31fd60,_0xe031fd,_0x3f33ab,[],_0x3ebce0,_0x2e33eb,_0x2ea4ff,_0x37b154,_0x53a1fc),N(this,_0x17a91a(0x235),'awaiting'),N(this,_0x17a91a(0x1c1),0x0),N(this,_0x17a91a(0x157)),N(this,_0x17a91a(0x263)),(this[_0x17a91a(0x2fd)]=_0x16a196,this['_logService']=_0x52bdfd,this[_0x17a91a(0x379)]=_0xbcea5a);}[_0x4ba149(0x2af)](_0xbde0ce){var _0x348c4e=_0x4ba149;this[_0x348c4e(0x34b)]();const _0x4ebe99=this['_injector'][_0x348c4e(0x382)](ae,this[_0x348c4e(0x3c4)],this['type'],this[_0x348c4e(0x23b)],[_0xbde0ce],this[_0x348c4e(0x2f2)],this[_0x348c4e(0x157)]);return _0x4ebe99[_0x348c4e(0x289)](),_0x4ebe99;}[_0x4ba149(0x1d7)](_0x356fdc){var _0x5ca81e=_0x4ba149;if(this['_checkMissing'](_0x356fdc))return this[_0x5ca81e(0x34b)](),this['_injector'][_0x5ca81e(0x382)](te,this['unitID'],this[_0x5ca81e(0x204)],this['_awaitingChangeset'],[],null,[_0x356fdc],this[_0x5ca81e(0x2f2)]);try{const _0x3bffa8=this['_transformService'][_0x5ca81e(0x3a8)]([_0x356fdc],[this[_0x5ca81e(0x23b)]],!0x1);if(_0x286a59(_0x3bffa8)){const {c1Prime:_0x5ce764,c2Prime:_0x60a219}=_0x3bffa8;this[_0x5ca81e(0x24f)](_0x5ce764[0x0]),_0x60a219[0x0]['baseRev']=this[_0x5ca81e(0x14b)](),this[_0x5ca81e(0x34b)]();const _0x320da1=this[_0x5ca81e(0x2fd)]['createInstance'](ue,this['unitID'],this['type'],_0x60a219[0x0],this['_handler']);return _0x320da1[_0x5ca81e(0x289)](),_0x320da1;}return this[_0x5ca81e(0x1ba)](!0x1);}catch(_0x20b7fc){return this['_logService']['error'](_0x20b7fc),this[_0x5ca81e(0x1ba)](!0x1);}}[_0x4ba149(0x195)](_0x2c2e68){var _0x3eeeb6=_0x4ba149;this[_0x3eeeb6(0x34b)]();const _0xf509cb=this[_0x3eeeb6(0x386)][_0x3eeeb6(0x20c)](this[_0x3eeeb6(0x3c4)]);if(_0x2c2e68[_0x3eeeb6(0x328)]<_0xf509cb-0x1)return this;if(this['_checkMissing'](_0x2c2e68))return this[_0x3eeeb6(0x2fd)][_0x3eeeb6(0x382)](te,this['unitID'],this[_0x3eeeb6(0x204)],null,[],this[_0x3eeeb6(0x23b)],[],this[_0x3eeeb6(0x2f2)]);this[_0x3eeeb6(0x1af)]();const _0xfea1fb=this[_0x3eeeb6(0x2fd)][_0x3eeeb6(0x382)](De,this['unitID'],this['type'],this[_0x3eeeb6(0x2f2)]);return _0xfea1fb[_0x3eeeb6(0x289)](),_0xfea1fb;}[_0x4ba149(0x2fc)](_0x4a6188){var _0x47d250=_0x4ba149;return this[_0x47d250(0x1ba)](!!(_0x4a6188!=null&&_0x4a6188[_0x47d250(0x123)]));}[_0x4ba149(0x200)](_0x4acf5b){var _0x28814c=_0x4ba149;return this['_resendTimeout']>Ni?this[_0x28814c(0x389)]():(this[_0x28814c(0x157)]=Oi(this[_0x28814c(0x1c1)],{'timeout':this[_0x28814c(0x1c1)],'reqId':_0x4acf5b[_0x28814c(0x3d3)]}),this[_0x28814c(0x263)]=this[_0x28814c(0x157)][_0x28814c(0x341)](({reqId:_0x47b96c,timeout:_0x3cd732})=>{var _0x413367=_0x28814c;this[_0x413367(0x1b3)](_0x47b96c,_0x3cd732);}),this);}['toggleOffline'](){var _0x2b0496=_0x4ba149;return this[_0x2b0496(0x34b)](),this[_0x2b0496(0x2fd)]['createInstance'](fe,this[_0x2b0496(0x3c4)],this[_0x2b0496(0x204)],this[_0x2b0496(0x23b)],[],this[_0x2b0496(0x2f2)]);}[_0x4ba149(0x3d1)](){return this;}[_0x4ba149(0x285)](){var _0x3b74eb=_0x4ba149;this[_0x3b74eb(0x2f2)][_0x3b74eb(0x1f7)](this[_0x3b74eb(0x23b)]);}[_0x4ba149(0x1ba)](_0xca3887){var _0x1fee46=_0x4ba149;return this[_0x1fee46(0x34b)](),this[_0x1fee46(0x2fd)][_0x1fee46(0x382)](de,this[_0x1fee46(0x3c4)],this[_0x1fee46(0x204)],this['_awaitingChangeset'],[],this['_handler'],_0xca3887);}[_0x4ba149(0x1b3)](_0x33d89c,_0x484813){var _0x327a01=_0x4ba149,_0x4926c5;_0x33d89c===((_0x4926c5=this[_0x327a01(0x23b)])==null?void 0x0:_0x4926c5[_0x327a01(0x3d3)])&&(this['resend'](),this['_resendTimeout']=_0x484813===0x0?0x3e8:_0x484813*0x2);}['_clearScheduledTask'](){var _0x28b760=_0x4ba149,_0x5a89ea;(_0x5a89ea=this[_0x28b760(0x263)])==null||_0x5a89ea[_0x28b760(0x152)](),this[_0x28b760(0x1c1)]=0x0;}};function _0x3f1c(){var _0x1d8e7c=['updatePermissionPoint','key','algo','MSG_FOR_ERROR','_retryConnectingTimer','resourceIDs','getMemberID','compute','_getSignURL','editingUnit','_map','HMAC','RECV','rev','_commentService','CHANGESET_ACK','unknown','_localCacheService','COMPRESS_MUTATION_APPLY','OpenSSL','requestParams','result','__Key__','?size=','COMMENT_UPDATE','executeCommand','localeService','Cipher','42GXihND','UNIVER_SLIDE','kdf','_onUserLeave','_state$','&assign=','_unlockTransition','HmacSHA1','_createSocket','/collaborator','values','[CollaborationEntity]','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_networkConditionService','add','NEW_CHANGESETS','saveImage','refreshPermission','_hash','_handler','_httpService','OFFLINE','[PendingState]:\x20received\x20acknowledgement.','getConfig','dispose$','__creator','formatter','ivSize','decrypt','onRemoteRej','_injector','LIVESHARE_REQUEST_HOST','transformSelections','_transformUndoredo','_lockTransition','&source=','_commandService','session','OTHER_CLIENTS_EDITING','send','NOT_FOUND','_onUserJoin','from','name','People','session.join-failed','objectType','/allowed','length','signUrlServerUrl','_throwTelemetryCollaborationNewChangeset','_collaborationUIEventService','APPLY_REVISION_CONFILICT','_doReset','open$','_socketMessageSubscription','_disableEditing','session.room-permission-denied','[FetchMissState]','HttpExport','c1Prime','byteOffset','_socketService','substr','_toggleOffline','HEARTBEAT','YUUMI_UNABLE_LOAD_URL','/universer-api/oidc/authpage','_onFetchMissResult','encode','JOIN_ROOM_FULL','status$','slice','revision','url','getTypeOfUnitDisposed$','11295981QrFaEd','_getCtorByUniverType','_onConnectionOpen','/universer-api/authz','univer-pro.collaboration-client-socket-service','subUnitId','_getAPIPrefix','transformUndoRedo','[CollaborationSessionService]','getSnapshotAPIPath','20720QRgpBZ','getUnitId','href','failed\x20to\x20apply\x20missed\x20changesets!','awaiting','3252018QBLhqK','_doCryptBlock','_initCloseConn','ENSURE_SNAPSHOT_EXECUTION','/-/object/-/batch_allowed','searchParams','pluginName','subscribe','onStarting','SUBMIT_CHANGESET_TIMEOUT','[PendingState]:\x20received\x20rejection.','fetchThroughInterceptors','cfg','_retryCount','_remoteChangesetQueue','SUBMIT_CHANGESET','catch','_clearScheduledTask','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/object','_parse','unpad','connection\x20error','[OfflineState]:\x20received\x20acknowledgement.','_initRequestHeader','/resources','cmd','enableSingleActiveInstanceLock','concat','POST','_sendingTimer','localCacheService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','string','originalMeta','_doFinalize','APPLY_NON_SEQUENTIAL_REVISION','APPLY_DUPLICATED','onTransformSelections','getUnitType','getOwnPropertyDescriptor','session.room-full','focused$','PERMISSION_DENIED','_waitCount','_clearRedo','onLocalMutation','debug','removeMember','offline','charAt','_entities','_startTelemetryCollaborationNewChangeset','getTime','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','file','_keySchedule','_schedule','selections','format','LIVESHARE_TERMINATE','_doProcessBlock','has','_transformService','origin','enc','ONLINE','_snapshotServerService','\x0aAfter:\x20','/-/object/list','915242PXxZnd','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','floor','onCommandExecuted','data','_revisionService','/new_changes','init','toggleOffline','sessionStatus','roomInfos','Hex','getLatestCsReqIdBySid','MD5','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationUndoRedoService]','src','_logService','actions','_getLoginPath','NOT_COLLAB','Malformed\x20UTF-8\x20data','runId','onSyncEditingCollabCursor','_onCombEvent','[CollaborationState]:\x20apply\x20error!','/universer-api/stream/file/upload','BASE64','INGEST','session.room-cnt-exceeds','UPDATE_PERMISSION_OBJ','_createHmacHelper','default','_listenToNetworkCondition','clamp','incrementRevOfUnit','randomUUID','_HTTPService','transformChangesets','_transitionLocked','AES','Undefined','getTypeOfUnitAdded$','_substituteUndoStack','HEARTBEAT_INTERVAL','mode','_change$','post','RETRY_CONNECTING_MAX_COUNT','/universer-api/snapshot/','_acknowledgedAwaitingChangeset','onMissedChangesetFetched','ticket','fetching\x20missing\x20changesets\x20from\x20','equals','commentUpdate$','PERSON','_onLocalMutation','Base','_stopTelemetryCollaborationNewChangeset','saveChangeset','_compressMutationService','getCollabEntity','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_emitMembers','LICENSE_MAX_UNITS_EXCEEDED','unitID','_xformMode','getCurrentSelections','createCollaborator','append','event$','loadSheet','_getDownloadEndpointURL','UNKNOWN_CODE','Utf8','_replayCachedMutations','_socketReady','COLLAB_SUBMIT_CHANGESET_URL','toggleOnline','_sendHeartbeatTimer','reqId','YUUMI_SUBSCRIPTION_NOT_FOUND','setCurrentUser','routeKey','_redoStacks','UNIVER_UNKNOWN','hasher','_keyPriorReset','mutations','13456110uipOPx','AWAITING','synced','toString','members','/fetchmissing?from=','_getSendChangesetTimeout','_createHelper','state$','map','/universer-api/comb','_sessions','_entityInit$','_DEC_XFORM_MODE','PENDING','IDLE','_onRecvEvent','abs','CLOSE_ROOM','_updateStatus','avatar','_transformStack','_http','Latin1','_config','getValue','parse','_transformStateCache','sid','disposeWithMe','csShouldRetryEvent','_userManagerService','_createSocketURL','push','_tryReconnect','SOCKET_FAILED_RETRY','target','_hasher','$super','UNDEFINED','_getSessionTicket','clear','_unitID','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearLocalCache','repeat','session.room-not-exists','UNISCRIPT_RUN','setWaitCount','commentUpdateEvent','sessionStatus$','_tryEnsureSocket','_initDependencies','_reverseMap','_fetchMissChangesets','_collaborationSessionService','fetchMiss','_pendingMutations','headers','delete','awaiting_with_pending','isPermissionRej','state','LEAVE','_onRemoteChangeset','getCurrentUser','CONFLICT','_members','size','onload','function','CHANGESET_REJ','APPLY_REJECT','online$','getMember','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','resolve','encodeURIComponent','SUCCUSS','joinEvent','_ENC_XFORM_MODE','stringify','[SyncedState]:\x20received\x20rejection.','UNIVER_SHEET','_checkMissing','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_timeoutTimer','LICENSE_EXPORT_SIZE_EXCEEDED','_sessionStatus$','asObservable','pauseCollaboration','onTransformState','list','66140hNPNDD','_shouldReportTelemetry','onMissingChangesets','textRanges','_updateState','LIVESHARE_NEW_HOST','initWorkbookPermissionChange','set','_getCurrentRevision','indexOf','updateMember','ceil','charCodeAt','_initMergeInterceptor','SHOULD_CLOSE_CONN','unsubscribe','clone','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fromCollab','createSocket','_resendTimer','duration','UNIVER_PROJECT','userID','HttpImport','unitInfo$','baseRev','WordArray','JOIN','ALREADY_EXISTS','Decryptor','_iKey','fetch_missing','code','_authzIoService','USERS_ENTER','uniscriptRunEvent','_registerDependencies','socket\x20open.','_undoRedoService','roles','crypto','TOO_MANY_REQUESTS','_snapshotService','getSheetId','_imageSourceCache','setShowComponents','COMPRESS_MUTATION_SEND','_event$','_onOffline','_transformIMECache','_permissionService','loadOfflineData','1wyGUtw','Could\x20not\x20dynamically\x20require\x20\x22','_createInitialState','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE_TYPE','error$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','closeSession','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','splice','createDecryptor','_roomMembers','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','memberID','JOIN_ROOM_NOT_EXISTS','_rescheduleHeartbeat','loginUrlKey','_changesetReqId','_socket$','YUUMI_RATE_OVER_LIMIT','753RJMHux','\x0aCurrent:\x20','_clearCollaborationTimeoutTimer','_telemetryInfo','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','deleteCollaborator','getRoom','image/jpeg','infoRsp','onRemoteAck','socket\x20close','get','BlockCipherMode','SerializableCipher','INTERNAL_ERROR','PasswordBasedCipher','GLOBAL_ROOMS_CNT_EXCEEDS','_clearHeartbeatTimer','_getAPIPrefixPath','ERROR_IMAGE','_syncEditingCollabCursor','LIVESHARE_OPERATION','defineProperty','75747VKqTLE','SEND_CHANGESET_TIMEOUT','/universer-api/snapshot','hasOwnProperty','awaitingChangeset','confirm','blockSize','_data','collaborators','getImage','MUTATION','_localeService','_incrementRevisionNumber','_nDataBytes','[SyncedState]:\x20received\x20acknowledgement.','[DataLoaderService]','_resendWithTimeout','getRandomValues','SOCKET_FAILED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/uniscript','_onJoinRoomEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConflict','pad','UNAUTHENTICATED','CHANGESET_REVISION_CONFILICT','prototype','fromCharCode','_startCollaboration','_resendTimeout','patch','image/jpg','APPLY_PERMISSION_DENIED','_initUnitPermissionChange','now','objectID','sin','processBlock','joinRsp','apply','onlyLocal','image/png','search','_replaceFileID','change$','eventID','getInterceptPoints','_socket','SNAPSHOT_HAS_BEEN_REMOVED','requireSession','update','onRemoteChangeset','newCsEvent','loadDoc','emitEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','max','members$','ciphertext','JOINING','submit\x20changeset\x20error!','_commentUpdate$','UNRECOGNIZED','_substituteRedoStack','forEach','Pkcs7','getWorkbookSelections','_undoStacks','onTransformIME','_removeRoom','_clearUndo','m2Prime','_append','\x20in\x20_schedule.','encrypt','_minBufferSize','application/json','onTransformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','every','UPDATE_CURSOR','x-univer-host','onSendChangeset','random','_collaborationTimeoutTimer','join','fetchMissingChangesets','_createInitialStateImpl','_type','exports','_cipher','onRemoteRetry','body','sheets','_instanceService','type','_eventService','sessionTicket','_loadSheet','\x20to\x20','copyFileMeta','_oKey','transformStack\x20failed!','getCurrentRevOfUnit','collaMsg','JOIN_ROOM_FAILED','INVALID_ARGUMENT','{fileID}','liveShareNewHost','_telemetryService','changesets','_onRemoteRejected','SHA1','PY_RUNTIME_SCRIPT_ERROR','_iv','hostname','interceptor','createEncryptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','create','_prevBlock','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOnline','Univer','getResourcesRequest','PERMISSION_REJ','words','deepClone','_transformRemoteChangesetByStateCache','isArray','registerHTTPInterceptor','NO_OTHER_CLIENTS_EDITING','liveShareOperation','reset','unitId','Base64','_applyRemoteChangeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomBytes','HELLO','complete','JOIN_ROOM_PERMISSION_DENIED','_process','_scheduleCollaborationTimeoutTimer','status','/universer-api/file/{fileID}/sign-url','extend','_getRedoStack','OTHER_CLIENT_EDITING','FAIL','_awaitingChangeset','action','DEFAULT_FILE_NAME','_scheduleCompleteTimestamp','next','_queuedRemoteChangesets','padding','encryptBlock','_getUploadFileURL','_handlerCallback','[CollaborationSession]','pending','bind','finalize','UnitSnapshot','_memberService','addImageSourceCache','/rev/','_onConnectionFailed','toLowerCase','_executeRemoteChangeset','findIndex','addHandlerCallback','call','UNIVER_DOC','collaboratorID','/unit/','PSEUDO_FETCH_MISSING_RESULT','execute','_mode','_loadDoc','_init','dispose','entries','_collaborationPaused','_configService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Encryptor','reduce','range','_sender','keySize','stopTime','reconnect','conflict','FETCH_MISS','lib','\x20-\x20','readInt32LE','FileId','socketService','CipherParams','_isPermissionRej','_nRounds','UNIVER_COLLABORATION_CLIENT_PLUGIN','/block/','Hasher','_waitForHeartbeatResponse','filter','setConfig','message$','LICENSE_DISTRO_REJECTED','SYNCED','_members$','_exhaustRemoteChangesetQueue','_roomCreated$','subject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_showConflictNotification','_decreaseWaiting','UNKNOWN_CMD','location','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_unitInfo$','resend','_createHandler','BufferedBlockAlgorithm','LOGIN_URL_KEY','_updateLocalCache','_univerInstanceService','/object/','_onRemoteRetry','_status$','enableAuthServer','close','error','image/gif','_candidateSocket','_joinRoom','buffer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getCollabEntity$','624PJLdLY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','symbol','Error\x20on\x20receiving\x20event','reject','SNAPSHOT_URL_KEY','updateOfflineData','_singleActiveUnitService','leaveEvent','_transformRemoteChangesetByIMECache','sigBytes','transformMutationsWithChangeset','_state','wsSessionTicketUrl','CHANGESET_SHOULD_RETRY','unit-cache-','pipe','_invKeySchedule','EvpKDF','getFocusedUnit','mixIn','saveSheetBlock','close$','getDeserializedSheetBlock','appendMutation','put','onTransformRemoteChangesetByStateCache','override','listRoles','LIVESHARE_FETCH_OPERATIONS','iterations','byteLength','onCommentUpdate','NoPadding','[PendingState]:\x20unhandled\x20univer\x20type:\x20','params','UnitEmbedded','_collabSessionService','salt','_getUndoStack','HmacMD5','USERS_LEAVE','collaboration-client.local-cache-service','_changesetSessionId'];_0x3f1c=function(){return _0x1d8e7c;};return _0x3f1c();}ue=Re([A(0x4,_0x2b3f90(_0x131b89)),A(0x5,_0x2b3f90(_0x1fec2b)),A(0x6,_0x3fb355),A(0x7,_0x55b365),A(0x8,_0x4a82f5),A(0x9,_0x5aed67),A(0xa,_0x15959d(J))],ue);let ae=class extends be{constructor(_0x87a71c,_0x542aed,_0x682f95,_0x3c3ba7,_0x4a930b,_0x1d1625,_0x1a4a1c,_0x1b6a88,_0x26d989,_0x3ffe1a,_0x58631b,_0x330f67,_0x2b7e77){var _0x1aa9af=_0x4ba149;super(_0x87a71c,_0x542aed,_0x682f95,_0x3c3ba7,_0x4a930b,_0x26d989,_0x330f67,_0x1b6a88,_0x2b7e77),N(this,_0x1aa9af(0x235),_0x1aa9af(0x122)),N(this,_0x1aa9af(0x1c1),0x0),N(this,'_resendTimer'),N(this,_0x1aa9af(0x263)),(this[_0x1aa9af(0x2fd)]=_0x1a4a1c,this[_0x1aa9af(0x393)]=_0x3ffe1a,this[_0x1aa9af(0x379)]=_0x58631b,this[_0x1aa9af(0x359)]=_0x2b7e77,_0x1d1625&&(this[_0x1aa9af(0x157)]=_0x1d1625,this[_0x1aa9af(0x263)]=this[_0x1aa9af(0x157)][_0x1aa9af(0x341)](({reqId:_0x1f82fe,timeout:_0x76c0a0})=>{var _0x4ce9af=_0x1aa9af;this[_0x4ce9af(0x1b3)](_0x1f82fe,_0x76c0a0);})));}[_0x4ba149(0x2af)](_0x52d31d){var _0x3724d4=_0x4ba149;return this[_0x3724d4(0x11f)][_0x3724d4(0x3fd)](_0x52d31d),this;}[_0x4ba149(0x1d7)](_0x4e5ca5){var _0x213201=_0x4ba149;if(this[_0x213201(0x13a)](_0x4e5ca5))return this[_0x213201(0x34b)](),this[_0x213201(0x2fd)][_0x213201(0x382)](te,this[_0x213201(0x3c4)],this[_0x213201(0x204)],this[_0x213201(0x23b)],this[_0x213201(0x11f)],null,[_0x4e5ca5],this[_0x213201(0x2f2)]);try{const _0xddc236=this[_0x213201(0x379)][_0x213201(0x3a8)]([_0x4e5ca5],[this[_0x213201(0x23b)]],!0x1);if(_0x286a59(_0xddc236)){const {c1Prime:_0x1f4dd6,c2Prime:_0xf326bb}=_0xddc236,_0x57e352=this['_transformService'][_0x213201(0x2a2)](_0x1f4dd6[0x0],this[_0x213201(0x11f)]);if(_0x1575be(_0x57e352)){const {c1Prime:_0x21dcb2,m2Prime:_0x4512db}=_0x57e352;return this[_0x213201(0x24f)](_0x21dcb2),_0xf326bb[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x213201(0x34b)](),this['_injector'][_0x213201(0x382)](ae,this[_0x213201(0x3c4)],this[_0x213201(0x204)],_0xf326bb[0x0],_0x4512db,this[_0x213201(0x2f2)],void 0x0);}throw _0x57e352[_0x213201(0x290)];}throw _0xddc236[_0x213201(0x290)];}catch(_0x37697e){return this[_0x213201(0x393)][_0x213201(0x290)](_0x37697e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4f8ba3){var _0x3e1efe=_0x4ba149;if(this[_0x3e1efe(0x34b)](),this[_0x3e1efe(0x13a)](_0x4f8ba3))return this[_0x3e1efe(0x2fd)][_0x3e1efe(0x382)](te,this[_0x3e1efe(0x3c4)],this['type'],null,this[_0x3e1efe(0x11f)],this[_0x3e1efe(0x23b)],[],this[_0x3e1efe(0x2f2)]);this[_0x3e1efe(0x1af)]();const _0x2a691c=this[_0x3e1efe(0x2fd)][_0x3e1efe(0x382)](oe,this[_0x3e1efe(0x3c4)],this[_0x3e1efe(0x204)],this[_0x3e1efe(0x11f)],this[_0x3e1efe(0x2f2)]);return _0x2a691c[_0x3e1efe(0x373)](),_0x2a691c[_0x3e1efe(0x289)](),_0x2a691c;}[_0x4ba149(0x2fc)](_0x5c9999){var _0x3e0a08=_0x4ba149;return this[_0x3e0a08(0x1ba)](!!(_0x5c9999!=null&&_0x5c9999[_0x3e0a08(0x123)]));}['onRemoteRetry'](_0x44b834){var _0x2cd2a6=_0x4ba149;return this[_0x2cd2a6(0x1c1)]>Ni?this['toggleOffline']():(this[_0x2cd2a6(0x157)]=Oi(this[_0x2cd2a6(0x1c1)],{'timeout':this[_0x2cd2a6(0x1c1)],'reqId':_0x44b834[_0x2cd2a6(0x3d3)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x57ddbe,timeout:_0xe7e0c6})=>{var _0x216765=_0x2cd2a6;this[_0x216765(0x1b3)](_0x57ddbe,_0xe7e0c6);}),this);}[_0x4ba149(0x389)](){var _0x2f9095=_0x4ba149;return this[_0x2f9095(0x34b)](),this[_0x2f9095(0x2fd)][_0x2f9095(0x382)](fe,this[_0x2f9095(0x3c4)],this[_0x2f9095(0x204)],this[_0x2f9095(0x23b)],this[_0x2f9095(0x11f)],this['_handler']);}[_0x4ba149(0x3d1)](){return this;}[_0x4ba149(0x285)](){var _0x3bc1fa=_0x4ba149;this[_0x3bc1fa(0x2f2)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x4ba149(0x1ba)](_0x348ac9){var _0x4fc55f=_0x4ba149;return this[_0x4fc55f(0x34b)](),this[_0x4fc55f(0x2fd)][_0x4fc55f(0x382)](de,this[_0x4fc55f(0x3c4)],this['type'],null,this[_0x4fc55f(0x11f)],this[_0x4fc55f(0x2f2)],_0x348ac9);}[_0x4ba149(0x1b3)](_0x45fedb,_0x555cb4){var _0x3a0b4a=_0x4ba149,_0x4f8b10;_0x45fedb===((_0x4f8b10=this[_0x3a0b4a(0x23b)])==null?void 0x0:_0x4f8b10[_0x3a0b4a(0x3d3)])&&(this[_0x3a0b4a(0x285)](),this[_0x3a0b4a(0x1c1)]=_0x555cb4===0x0?0x3e8:_0x555cb4*0x2);}[_0x4ba149(0x34b)](){var _0x36d68d=_0x4ba149,_0x595a3f;(_0x595a3f=this[_0x36d68d(0x263)])==null||_0x595a3f[_0x36d68d(0x152)](),this[_0x36d68d(0x1c1)]=0x0;}};ae=Re([A(0x6,_0x2b3f90(_0x131b89)),A(0x7,_0x2b3f90(_0x1fec2b)),A(0x8,_0x3fb355),A(0x9,_0x55b365),A(0xa,_0x4a82f5),A(0xb,_0x5aed67),A(0xc,_0x15959d(J))],ae);let de=class extends be{constructor(_0xf8da0c,_0x7ba2fa,_0x5f515d,_0x21fb5c,_0x389ce3,_0x3cc445=!0x1,_0x4f6f76,_0x311942,_0x5c327e,_0x5e8355,_0x3d0272,_0x5ae223,_0x2682af){var _0x5d5ef0=_0x4ba149;super(_0xf8da0c,_0x7ba2fa,_0x5f515d,_0x21fb5c,_0x389ce3,_0x311942,_0x5c327e,_0x5e8355,_0x2682af),N(this,'status',_0x5d5ef0(0x267)),(this[_0x5d5ef0(0x26f)]=_0x3cc445,this[_0x5d5ef0(0x176)]=_0x4f6f76,this[_0x5d5ef0(0x1ae)]=_0x3d0272,this[_0x5d5ef0(0x312)]=_0x5ae223,this[_0x5d5ef0(0x359)]=_0x2682af,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x5d5ef0(0x317)]());}[_0x4ba149(0x2af)](){return this;}[_0x4ba149(0x1d7)](){return this;}[_0x4ba149(0x195)](){return this;}['onRemoteRej'](){return this;}[_0x4ba149(0x200)](){return this;}[_0x4ba149(0x389)](){return this;}['toggleOnline'](){return this;}[_0x4ba149(0x285)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4ba149(0x408)](){var _0x37d84d=_0x4ba149,_0x57539c;(_0x57539c=this[_0x37d84d(0x2d4)])==null||_0x57539c[_0x37d84d(0x29d)](this[_0x37d84d(0x3c4)],this[_0x37d84d(0x204)],null,[]);}[_0x4ba149(0x27f)](){var _0x5b7408=_0x4ba149;this[_0x5b7408(0x26f)]?this[_0x5b7408(0x312)][_0x5b7408(0x1da)]({'id':se[_0x5b7408(0x365)]}):this[_0x5b7408(0x312)][_0x5b7408(0x1da)]({'id':se[_0x5b7408(0x128)]});}[_0x4ba149(0x317)](){var _0x45289b=_0x4ba149;this['_permissionService'][_0x45289b(0x2c3)](new _0x2be386(this[_0x45289b(0x3c4)])['id'],!0x1);}};de=Re([A(0x6,_0x2b3f90(_0x54fe15)),A(0x7,_0x3fb355),A(0x8,_0x5aed67),A(0x9,_0x2b3f90(_0x1fec2b)),A(0xa,_0x2b3f90(_0x57c404)),A(0xb,_0x2b3f90(pe)),A(0xc,_0x15959d(J))],de);let fe=class extends be{constructor(_0x1c643a,_0x134ba2,_0x1b26ab,_0x279b93,_0x3e20aa,_0x5e4a94,_0x8e151e,_0x1a1ea4,_0x22b126,_0x32f7f4){var _0x262d59=_0x4ba149;super(_0x1c643a,_0x134ba2,_0x1b26ab,_0x279b93,_0x3e20aa,_0x1a1ea4,_0x22b126,_0x8e151e,_0x32f7f4),N(this,_0x262d59(0x235),_0x262d59(0x36b)),this[_0x262d59(0x2fd)]=_0x5e4a94;}[_0x4ba149(0x2af)](_0x42dfec){var _0xa6a70a=_0x4ba149;return this['_pendingMutations'][_0xa6a70a(0x3fd)](_0x42dfec),this['_updateLocalCache'](),this;}[_0x4ba149(0x1d7)](_0x53b2bf){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x1a62c3=_0x4ba149;throw new Error(_0x1a62c3(0x351));}[_0x4ba149(0x2fc)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4ba149(0x200)](){return this;}[_0x4ba149(0x389)](){return this;}[_0x4ba149(0x3d1)](){var _0x389439=_0x4ba149;const {_injector:_0x2d9c6f,_pendingMutations:_0x53ab26,_awaitingChangeset:_0x189ea0,unitID:_0x2a9427,_handler:_0x521a89,type:_0x39511f}=this,_0x1492f4=Di(_0x2d9c6f,_0x2a9427,_0x39511f,_0x189ea0,_0x53ab26,_0x521a89);return _0x1492f4 instanceof oe?_0x1492f4[_0x389439(0x373)]():(_0x1492f4 instanceof ae||_0x1492f4 instanceof ue)&&_0x1492f4['resend'](),_0x1492f4;}[_0x4ba149(0x285)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x2b3f90(_0x131b89)),A(0x6,_0x2b3f90(_0x1fec2b)),A(0x7,_0x3fb355),A(0x8,_0x5aed67),A(0x9,_0x15959d(J))],fe);let te=class extends be{constructor(_0x56270f,_0x364eb7,_0x2777d0,_0x3f93a7,_0x35c3a4,_0x145e43,_0x14b62d,_0x43c94e,_0x4d97a2,_0x41b640,_0x5b4247,_0x35f477,_0x2aca7e,_0x4e389e){var _0x324912=_0x4ba149;super(_0x56270f,_0x364eb7,_0x2777d0,_0x3f93a7,_0x14b62d,_0x5b4247,_0x35f477,_0x4d97a2,_0x4e389e),N(this,_0x324912(0x235),_0x324912(0x163)),(this[_0x324912(0x3b4)]=_0x35c3a4,this[_0x324912(0x240)]=_0x145e43,this[_0x324912(0x2fd)]=_0x43c94e,this['_logService']=_0x41b640,this[_0x324912(0x379)]=_0x2aca7e,this['localCacheService']=_0x4e389e);}['onMissedChangesetFetched'](_0x38fb72){var _0x56a5b6=_0x4ba149;try{const _0x1ea2ce=[..._0x38fb72,...this['_queuedRemoteChangesets']],_0x4f740c=[this[_0x56a5b6(0x23b)]||this[_0x56a5b6(0x3b4)]][_0x56a5b6(0x275)](_0x4258b1=>!!_0x4258b1);let _0x308acf,_0x2703c4;if(_0x4f740c['length']){const _0x361731=this[_0x56a5b6(0x379)][_0x56a5b6(0x3a8)](_0x1ea2ce,_0x4f740c,!0x1);if(!_0x286a59(_0x361731))throw _0x361731[_0x56a5b6(0x290)];_0x308acf=_0x361731[_0x56a5b6(0x31b)],_0x2703c4=_0x361731['c2Prime'];}else _0x308acf=_0x1ea2ce,_0x2703c4=[];let _0xe33814=this[_0x56a5b6(0x11f)];_0x308acf[_0x56a5b6(0x1e5)](_0x3a179b=>{var _0x1e18fa=_0x56a5b6;let _0x5ed22c;if(_0xe33814[_0x1e18fa(0x30f)]){const _0x304280=this[_0x1e18fa(0x379)]['transformMutationsWithChangeset'](_0x3a179b,_0xe33814);if(!_0x1575be(_0x304280))throw _0x304280[_0x1e18fa(0x290)];_0x5ed22c=_0x304280[_0x1e18fa(0x31b)],_0xe33814=_0x304280[_0x1e18fa(0x1ec)];}else _0x5ed22c=_0x3a179b;this[_0x1e18fa(0x24f)](_0x5ed22c);}),this[_0x56a5b6(0x3b4)]&&this[_0x56a5b6(0x1af)](),this[_0x56a5b6(0x23b)]&&_0x2703c4[_0x56a5b6(0x30f)]&&(_0x2703c4[0x0][_0x56a5b6(0x15d)]=this[_0x56a5b6(0x14b)]());let _0x2c8802;if(this['_awaitingChangeset']&&_0xe33814['length']!==0x0)_0x2c8802=this[_0x56a5b6(0x2fd)]['createInstance'](ae,this[_0x56a5b6(0x3c4)],this[_0x56a5b6(0x204)],_0x2703c4[0x0],_0xe33814,this[_0x56a5b6(0x2f2)],void 0x0);else{if(this[_0x56a5b6(0x23b)]&&_0xe33814[_0x56a5b6(0x30f)]===0x0)_0x2703c4[0x0][_0x56a5b6(0x15d)]=this[_0x56a5b6(0x14b)](),_0x2c8802=this[_0x56a5b6(0x2fd)]['createInstance'](ue,this[_0x56a5b6(0x3c4)],this['type'],_0x2703c4[0x0],this[_0x56a5b6(0x2f2)]);else{if(_0xe33814[_0x56a5b6(0x30f)]!==0x0){const _0x5e3a88=this['_injector'][_0x56a5b6(0x382)](oe,this[_0x56a5b6(0x3c4)],this[_0x56a5b6(0x204)],_0xe33814,this[_0x56a5b6(0x2f2)]);_0x5e3a88[_0x56a5b6(0x373)](),_0x2c8802=_0x5e3a88;}else _0x2c8802=this['_injector'][_0x56a5b6(0x382)](De,this['unitID'],this[_0x56a5b6(0x204)],this['_handler']);}}return _0x2c8802[_0x56a5b6(0x289)](),_0x2c8802;}catch(_0x57db8a){return this[_0x56a5b6(0x393)][_0x56a5b6(0x290)](_0x56a5b6(0x319),_0x56a5b6(0x338),_0x57db8a),this[_0x56a5b6(0x2fd)][_0x56a5b6(0x382)](de,this[_0x56a5b6(0x3c4)],this[_0x56a5b6(0x204)],this[_0x56a5b6(0x23b)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x14db73=_0x4ba149;throw new Error(_0x14db73(0x1b9));}[_0x4ba149(0x2af)](_0x2889f2){var _0x597455=_0x4ba149;return this[_0x597455(0x11f)]['push'](_0x2889f2),this;}['onRemoteChangeset'](_0x2ee88e){var _0x2a4ea3=_0x4ba149;return this['_queuedRemoteChangesets'][_0x2a4ea3(0x3fd)](_0x2ee88e),this;}['onRemoteAck'](_0x1714db){var _0x305f46=_0x4ba149;if(this['_awaitingChangeset'])return this[_0x305f46(0x3b4)]=this[_0x305f46(0x23b)],this[_0x305f46(0x23b)]=null,this;throw new Error(_0x305f46(0x298));}['onRemoteRej'](_0x1786e9){var _0x255c62=_0x4ba149;return this[_0x255c62(0x1ba)](!!(_0x1786e9!=null&&_0x1786e9[_0x255c62(0x123)]));}['onRemoteRetry'](){return this;}[_0x4ba149(0x389)](){var _0x134c49=_0x4ba149;return this[_0x134c49(0x2fd)][_0x134c49(0x382)](fe,this['unitID'],this[_0x134c49(0x204)],this[_0x134c49(0x23b)],this[_0x134c49(0x11f)],this[_0x134c49(0x2f2)]);}[_0x4ba149(0x3d1)](){return this;}[_0x4ba149(0x1ba)](_0x171b5a){var _0x14e95a=_0x4ba149;return this[_0x14e95a(0x2fd)][_0x14e95a(0x382)](de,this['unitID'],this[_0x14e95a(0x204)],this[_0x14e95a(0x23b)],this[_0x14e95a(0x11f)],this[_0x14e95a(0x2f2)],_0x171b5a);}};te=Re([A(0x7,_0x2b3f90(_0x131b89)),A(0x8,_0x2b3f90(_0x1fec2b)),A(0x9,_0x55b365),A(0xa,_0x3fb355),A(0xb,_0x5aed67),A(0xc,_0x4a82f5),A(0xd,_0x15959d(J))],te);function Di(_0x533cac,_0xfc5875,_0x4e9920,_0x5a2c5f,_0xfbc802,_0x5e9afd){var _0x4951bf=_0x4ba149;return _0x5a2c5f&&_0xfbc802[_0x4951bf(0x30f)]?_0x533cac[_0x4951bf(0x382)](ae,_0xfc5875,_0x4e9920,_0x5a2c5f,_0xfbc802,_0x5e9afd,void 0x0):_0x5a2c5f?_0x533cac[_0x4951bf(0x382)](ue,_0xfc5875,_0x4e9920,_0x5a2c5f,_0x5e9afd):_0xfbc802[_0x4951bf(0x30f)]?_0x533cac[_0x4951bf(0x382)](oe,_0xfc5875,_0x4e9920,_0xfbc802,_0x5e9afd):_0x533cac[_0x4951bf(0x382)](De,_0xfc5875,_0x4e9920,_0x5e9afd);}var vr=Object[_0x4ba149(0x1a2)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1c9e7f,_0x43c5a2,_0x2fb975,_0x3ec7ad)=>{var _0x3a5e03=_0x4ba149;for(var _0x921298=_0x3ec7ad>0x1?void 0x0:_0x3ec7ad?pr(_0x43c5a2,_0x2fb975):_0x43c5a2,_0xb87af=_0x1c9e7f[_0x3a5e03(0x30f)]-0x1,_0x422361;_0xb87af>=0x0;_0xb87af--)(_0x422361=_0x1c9e7f[_0xb87af])&&(_0x921298=(_0x3ec7ad?_0x422361(_0x43c5a2,_0x2fb975,_0x921298):_0x422361(_0x921298))||_0x921298);return _0x3ec7ad&&_0x921298&&vr(_0x43c5a2,_0x2fb975,_0x921298),_0x921298;},k=(_0x210e34,_0x1d03a2)=>(_0x23cdb6,_0x1ed7d8)=>_0x1d03a2(_0x23cdb6,_0x1ed7d8,_0x210e34);let nt=class extends _0x2cae06{constructor(_0x4e3542,_0x5cfb4,_0x53ddb0,_0x14d83f,_0x571bbb,_0x6898e4,_0xec9ec9,_0x400654,_0x2847c4,_0x243b93,_0x166d9a,_0x464aa8,_0x19dee1){var _0x42106b=_0x4ba149;super(),N(this,_0x42106b(0x2e3),new _0x3a9007(null)),N(this,_0x42106b(0x3e4),this[_0x42106b(0x2e3)][_0x42106b(0x13f)]()),N(this,_0x42106b(0x2a3)),N(this,_0x42106b(0x25d),!0x1),N(this,_0x42106b(0x2c2),''),N(this,_0x42106b(0x189),0x0),N(this,'status$',this[_0x42106b(0x3e4)][_0x42106b(0x2a7)](_0x12695b(_0x469a05=>_0x469a05?_0x469a05['status']:yi[_0x42106b(0x2f4)]),_0x1437ce(0x1))),N(this,_0x42106b(0x3a9),!0x1),N(this,_0x42106b(0x348),[]),(this[_0x42106b(0x3c4)]=_0x4e3542,this[_0x42106b(0x304)]=_0x5cfb4,this['_type']=_0x53ddb0,this[_0x42106b(0x2fd)]=_0x14d83f,this['_compressMutationService']=_0x571bbb,this['_localeService']=_0x6898e4,this[_0x42106b(0x386)]=_0xec9ec9,this[_0x42106b(0x205)]=_0x400654,this['_logService']=_0x2847c4,this[_0x42106b(0x303)]=_0x243b93,this[_0x42106b(0x176)]=_0x166d9a,this['_singleActiveUnitService']=_0x464aa8,this['_localCacheService']=_0x19dee1);}get[_0x4ba149(0x124)](){return this['_state'];}async[_0x4ba149(0x388)](){var _0x36d9c0=_0x4ba149;if(this[_0x36d9c0(0x124)])throw new Error(_0x36d9c0(0x21b));await this[_0x36d9c0(0x25a)]();}[_0x4ba149(0x140)](){var _0xcad807=_0x4ba149;return this[_0xcad807(0x25d)]=!0x0,_0x9dfaff(()=>{var _0x492769=_0xcad807;this[_0x492769(0x25d)]=!0x1,this[_0x492769(0x27b)]();});}[_0x4ba149(0x368)](_0x200cdd){var _0x130871=_0x4ba149;this[_0x130871(0x3bb)](_0x200cdd);}['_updateState'](_0x3d11de){var _0x531d29=_0x4ba149;this[_0x531d29(0x2a3)]=_0x3d11de,this['_state$']['next'](_0x3d11de);}async[_0x4ba149(0x25a)](){var _0x5a9f1b=_0x4ba149,_0x52edf0;this[_0x5a9f1b(0x147)](await this[_0x5a9f1b(0x17a)]()),this['_singleActiveUnitService']&&((_0x52edf0=this[_0x5a9f1b(0x29e)])==null||_0x52edf0[_0x5a9f1b(0x2cc)](this[_0x5a9f1b(0x3c4)]),this[_0x5a9f1b(0x3f9)](this[_0x5a9f1b(0x29e)]['getUnitStatus$'](this['unitID'])[_0x5a9f1b(0x341)](_0x1f2377=>{var _0x41cd56=_0x5a9f1b;this['_logService'][_0x41cd56(0x369)](_0x41cd56(0x2ea),'editing\x20status\x20changed\x20to',_0x1f2377),_0x1f2377===bi[_0x41cd56(0x305)]?(this[_0x41cd56(0x205)][_0x41cd56(0x1da)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x41cd56(0x176)][_0x41cd56(0x2c3)](new _0x2be386(this['unitID'])['id'],!0x1),this[_0x41cd56(0x176)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x41cd56(0x2c3)](new _0x2be386(this[_0x41cd56(0x3c4)])['id'],!0x0),this[_0x41cd56(0x176)][_0x41cd56(0x171)](!0x0));})));let _0x14051d=!0x1;return this[_0x5a9f1b(0x3f9)](this[_0x5a9f1b(0x304)][_0x5a9f1b(0x40e)][_0x5a9f1b(0x341)](_0x473874=>{var _0x40be99=_0x5a9f1b;_0x473874===Te[_0x40be99(0x37c)]?this['_toggleOnline'](_0x14051d):_0x473874===Te[_0x40be99(0x2f4)]&&(_0x14051d=!0x0,this['_toggleOffline']());})),this[_0x5a9f1b(0x3f9)](this[_0x5a9f1b(0x304)][_0x5a9f1b(0x3c9)][_0x5a9f1b(0x341)](_0x4334bb=>{var _0x45dc17=_0x5a9f1b;try{switch(_0x4334bb[_0x45dc17(0x1d1)]){case _0x35fdb4['NEW_CHANGESETS']:{this[_0x45dc17(0x126)](_0x1773a9(_0x4334bb['data']));break;}case _0x35fdb4[_0x45dc17(0x2d2)]:{this['_onRemoteACK'](_0x4334bb['data']);break;}case _0x35fdb4[_0x45dc17(0x12d)]:{this[_0x45dc17(0x214)]();break;}case _0x35fdb4[_0x45dc17(0x2a5)]:{this[_0x45dc17(0x28c)](_0x4334bb[_0x45dc17(0x385)]);break;}case _0x35fdb4[_0x45dc17(0x256)]:{this[_0x45dc17(0x323)](_0x4334bb['data'][_0x45dc17(0x213)][_0x45dc17(0x3e5)](_0x443666=>_0x1773a9(_0x443666)));break;}case _0x35fdb4[_0x45dc17(0x222)]:{this[_0x45dc17(0x214)]({'isPermissionRej':!0x0});break;}case _0x35fdb4[_0x45dc17(0x40b)]:break;}}catch(_0x219198){throw console[_0x45dc17(0x290)](_0x45dc17(0x29a),_0x219198),_0x219198;}})),this[_0x5a9f1b(0x2a3)];}[_0x4ba149(0x2e5)](){var _0x35e88d=_0x4ba149;this[_0x35e88d(0x3a9)]=!0x1;}[_0x4ba149(0x301)](){var _0x21609c=_0x4ba149;if(this[_0x21609c(0x3a9)])throw new Error(_0x21609c(0x3c1));this['_transitionLocked']=!0x0;}[_0x4ba149(0x3bb)](_0x5d99ab){var _0x14d41a=_0x4ba149;this['_lockTransition'](),this[_0x14d41a(0x147)](this['_state'][_0x14d41a(0x2af)](_0x5d99ab)),this[_0x14d41a(0x2e5)]();}[_0x4ba149(0x126)](_0x48e1c4){var _0x1fec9e=_0x4ba149;if(!(_0x48e1c4['revision']<=this[_0x1fec9e(0x386)][_0x1fec9e(0x20c)](this[_0x1fec9e(0x3c4)]))){if(this[_0x1fec9e(0x25d)]){this[_0x1fec9e(0x348)][_0x1fec9e(0x3fd)](_0x48e1c4);return;}this['_applyRemoteChangeset'](_0x48e1c4);}}[_0x4ba149(0x27b)](){var _0x36645e=_0x4ba149;this['_remoteChangesetQueue'][_0x36645e(0x1e5)](_0x237e68=>this[_0x36645e(0x22d)](_0x237e68)),this[_0x36645e(0x348)]=[];}[_0x4ba149(0x22d)](_0x56afee){var _0x3c89ae=_0x4ba149;const _0x2e818c=this[_0x3c89ae(0x3bf)]['interceptor'][_0x3c89ae(0x345)](this['_compressMutationService']['interceptor'][_0x3c89ae(0x1d2)]()[_0x3c89ae(0x2d5)])(_0x56afee[_0x3c89ae(0x3db)],null)||_0x56afee[_0x3c89ae(0x3db)],_0x5b961f={..._0x56afee,'mutations':_0x2e818c};this[_0x3c89ae(0x301)](),this[_0x3c89ae(0x147)](this['_state'][_0x3c89ae(0x1d7)](_0x5b961f)),this['_unlockTransition']();}['_onRemoteACK'](_0x274773){var _0x44fad5=_0x4ba149;this['_lockTransition'](),this[_0x44fad5(0x147)](this[_0x44fad5(0x2a3)]['onRemoteAck'](_0x274773)),this['_unlockTransition']();}[_0x4ba149(0x214)](_0x50749c){var _0xfb2e77=_0x4ba149;this[_0xfb2e77(0x301)](),this[_0xfb2e77(0x147)](this['_state'][_0xfb2e77(0x2fc)](_0x50749c)),this['_unlockTransition']();}[_0x4ba149(0x28c)](_0x464f50){var _0x513e57=_0x4ba149;this['_lockTransition'](),this[_0x513e57(0x147)](this[_0x513e57(0x2a3)]['onRemoteRetry'](_0x464f50)),this[_0x513e57(0x2e5)]();}[_0x4ba149(0x323)](_0x2467b2){var _0x92a96c=_0x4ba149;if(!(this[_0x92a96c(0x2a3)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5c81fb=_0x2467b2[_0x92a96c(0x3e5)](_0xc02653=>{var _0x228b72=_0x92a96c;const _0x95ef68=this[_0x228b72(0x3bf)]['interceptor'][_0x228b72(0x345)](this[_0x228b72(0x3bf)][_0x228b72(0x219)][_0x228b72(0x1d2)]()['COMPRESS_MUTATION_APPLY'])(_0xc02653['mutations'],null)||_0xc02653[_0x228b72(0x3db)];return{..._0xc02653,'mutations':_0x95ef68};});this[_0x92a96c(0x301)](),this[_0x92a96c(0x147)](this['_state'][_0x92a96c(0x3b5)](_0x5c81fb)),this[_0x92a96c(0x2e5)]();}[_0x4ba149(0x31f)](){var _0x4005e1=_0x4ba149;this[_0x4005e1(0x301)](),this[_0x4005e1(0x147)](this[_0x4005e1(0x2a3)][_0x4005e1(0x389)]()),this[_0x4005e1(0x2e5)]();}[_0x4ba149(0x21f)](_0x5401fa=!0x1){var _0x2eb32e=_0x4ba149;this['_lockTransition'](),this[_0x2eb32e(0x147)](this[_0x2eb32e(0x2a3)][_0x2eb32e(0x3d1)]()),this[_0x2eb32e(0x2e5)]();const _0x4965f5=this['_state'];_0x5401fa&&_0x4965f5 instanceof De&&(this['_lockTransition'](),this[_0x2eb32e(0x147)](_0x4965f5['fetchMiss']()),this[_0x2eb32e(0x2e5)]());}async[_0x4ba149(0x17a)](){return new Promise(_0x462e03=>{var _0x35d86a=_0xe5da;this[_0x35d86a(0x304)][_0x35d86a(0x40e)][_0x35d86a(0x2a7)](_0x3ef868(0x1))[_0x35d86a(0x341)](async _0x4801ea=>{var _0x2523f8=_0x35d86a;_0x462e03(await this['_createInitialStateImpl'](_0x4801ea===Te[_0x2523f8(0x37c)]));});});}[_0x4ba149(0x286)](){const _0x2ceb88=this['unitID'];return{'onStateChange':(_0x1d9f71,_0x1840dc)=>{var _0x2584f5=_0xe5da;if(_0x1d9f71!==this[_0x2584f5(0x2a3)])throw new Error(_0x2584f5(0x295)+_0x1d9f71[_0x2584f5(0x235)]+_0x2584f5(0x37e)+_0x1840dc[_0x2584f5(0x235)]+_0x2584f5(0x18d)+this['_state']['status']);this['_updateState'](_0x1840dc);},'onSendChangeset':_0xc5f589=>{var _0x265ca9=_0xe5da;_0xc5f589[_0x265ca9(0x3f8)]||(_0xc5f589[_0x265ca9(0x3f8)]=this[_0x265ca9(0x2c2)],_0xc5f589[_0x265ca9(0x3d3)]=++this[_0x265ca9(0x189)]);const _0x4eee77={'eventID':_0x35fdb4[_0x265ca9(0x349)],'data':{'unitID':_0xc5f589[_0x265ca9(0x3c4)],'unitType':this[_0x265ca9(0x1fd)],'changeset':_0xc5f589,'memberID':this[_0x265ca9(0x304)][_0x265ca9(0x2c9)]()}};this[_0x265ca9(0x304)][_0x265ca9(0x306)](_0x4eee77,this['unitID']);},'onMissingChangesets':({from:_0x3e027d,to:_0x13e191})=>{var _0x5654cc=_0xe5da;this[_0x5654cc(0x393)]['debug']('[CollaborationEntity]',_0x5654cc(0x3b7)+_0x3e027d+_0x5654cc(0x208)+_0x13e191);const _0x3d1ca8={'eventID':_0x35fdb4['FETCH_MISSING'],'data':{'unitID':_0x2ceb88,'unitType':this[_0x5654cc(0x1fd)],'from':_0x3e027d,'to':_0x13e191}};this['session'][_0x5654cc(0x306)](_0x3d1ca8,this[_0x5654cc(0x3c4)]);}};}async[_0x4ba149(0x1fc)](_0x3efad2){var _0x4764cf=_0x4ba149,_0x197ab4,_0x3f25af,_0x4aa625;const _0x4ef16c=await((_0x197ab4=this[_0x4764cf(0x2d4)])==null?void 0x0:_0x197ab4[_0x4764cf(0x177)](this['unitID'])),_0x471989=(_0x3f25af=_0x4ef16c==null?void 0x0:_0x4ef16c['mutations'])!=null?_0x3f25af:[],_0x41a7f6=(_0x4aa625=_0x4ef16c==null?void 0x0:_0x4ef16c[_0x4764cf(0x1a7)])!=null?_0x4aa625:null,_0x27b1cb=!!(_0x41a7f6!=null&&_0x41a7f6['sid'])&&!!(_0x41a7f6!=null&&_0x41a7f6[_0x4764cf(0x3d3)]);this['_changesetSessionId']=_0x27b1cb?_0x41a7f6[_0x4764cf(0x3f8)]:sr(),this[_0x4764cf(0x189)]=_0x27b1cb?_0x41a7f6[_0x4764cf(0x3d3)]:0x0;const _0x5e081d=this[_0x4764cf(0x3c4)];try{this[_0x4764cf(0x3ce)](_0x41a7f6,_0x471989);}catch(_0x54a259){this[_0x4764cf(0x393)][_0x4764cf(0x290)](_0x54a259);}const _0x11ad3f=this[_0x4764cf(0x286)]();if(_0x3efad2){const _0x30af2c=Di(this[_0x4764cf(0x2fd)],_0x5e081d,this['_type'],_0x41a7f6,_0x471989,_0x11ad3f);return _0x30af2c instanceof oe?_0x30af2c[_0x4764cf(0x373)]():(_0x30af2c instanceof ae||_0x30af2c instanceof ue)&&_0x30af2c[_0x4764cf(0x285)](),_0x30af2c;}return this[_0x4764cf(0x2fd)][_0x4764cf(0x382)](fe,_0x5e081d,this[_0x4764cf(0x1fd)],_0x41a7f6,_0x471989,_0x11ad3f);}['_replayCachedMutations'](_0x1edad9,_0x51c928){var _0x1ceb15=_0x4ba149,_0x248704,_0x3c26e6;const _0x47335b=this[_0x1ceb15(0x3bf)][_0x1ceb15(0x219)][_0x1ceb15(0x345)](this[_0x1ceb15(0x3bf)][_0x1ceb15(0x219)][_0x1ceb15(0x1d2)]()[_0x1ceb15(0x2d5)]);(_0x248704=_0x47335b((_0x1edad9==null?void 0x0:_0x1edad9[_0x1ceb15(0x3db)])||[],null))==null||_0x248704[_0x1ceb15(0x1e5)](_0x1a0533=>this['_commandService'][_0x1ceb15(0x2dc)](_0x1a0533['id'],_0x1a0533[_0x1ceb15(0x2ba)])),(_0x3c26e6=_0x47335b(_0x51c928||[],null))==null||_0x3c26e6[_0x1ceb15(0x1e5)](_0x455e62=>this[_0x1ceb15(0x303)][_0x1ceb15(0x2dc)](_0x455e62['id'],_0x455e62[_0x1ceb15(0x2ba)]));}};nt=Lt([k(0x3,_0x2b3f90(_0x131b89)),k(0x4,_0x2b3f90(_0x5657a1)),k(0x5,_0x2b3f90(_0x57c404)),k(0x6,_0x2b3f90(_0x1fec2b)),k(0x7,_0x2b3f90(pe)),k(0x8,_0x55b365),k(0x9,_0x3fb355),k(0xa,_0x54fe15),k(0xb,_0x15959d(ht)),k(0xc,_0x15959d(J))],nt);let Tt=class extends nt{constructor(_0xd778b0,_0x2865c0,_0x57b58d,_0x49ba49,_0x1e2dc0,_0x2cbabd,_0x4c7e43,_0xd1c390,_0x19d48b,_0x262484,_0x57d084,_0x31b19e,_0x12f145){var _0x239528=_0x4ba149;super(_0xd778b0,_0x57b58d,_0x2865c0,_0x49ba49,_0x1e2dc0,_0x2cbabd,_0x4c7e43,_0xd1c390,_0x19d48b,_0x262484,_0x57d084,_0x31b19e,_0x12f145),N(this,'_handlerCallback',null),(this['unitID']=_0xd778b0,this[_0x239528(0x204)]=_0x2865c0);}[_0x4ba149(0x251)](_0x1138d5){var _0x57d337=_0x4ba149;this[_0x57d337(0x244)]=_0x1138d5;}[_0x4ba149(0x25b)](){var _0x13258a=_0x4ba149;this[_0x13258a(0x244)]=null,super['dispose']();}[_0x4ba149(0x286)](){var _0x2738cc=_0x4ba149;const _0x100391=super['_createHandler']();return _0x100391[_0x2738cc(0x1e9)]=_0x4713f7=>{var _0x4bb7f4=_0x2738cc,_0x4202d1,_0x4b66dc;return(_0x4b66dc=(_0x4202d1=this[_0x4bb7f4(0x244)])==null?void 0x0:_0x4202d1[_0x4bb7f4(0x1e9)])==null?void 0x0:_0x4b66dc[_0x4bb7f4(0x252)](_0x4202d1,_0x4713f7);},_0x100391[_0x2738cc(0x141)]=_0x209d16=>{var _0x504348=_0x2738cc,_0x46fff5,_0x3f4eae;return(_0x3f4eae=(_0x46fff5=this[_0x504348(0x244)])==null?void 0x0:_0x46fff5[_0x504348(0x141)])==null?void 0x0:_0x3f4eae[_0x504348(0x252)](_0x46fff5,_0x209d16);},_0x100391[_0x2738cc(0x360)]=_0x1f5b07=>{var _0x43c2c7=_0x2738cc,_0x2db36c,_0x965286;return(_0x965286=(_0x2db36c=this[_0x43c2c7(0x244)])==null?void 0x0:_0x2db36c[_0x43c2c7(0x360)])==null?void 0x0:_0x965286[_0x43c2c7(0x252)](_0x2db36c,_0x1f5b07);},_0x100391[_0x2738cc(0x399)]=_0x75c50a=>{var _0xe1e9bc=_0x2738cc,_0x55b95c,_0x54326a;return(_0x54326a=(_0x55b95c=this[_0xe1e9bc(0x244)])==null?void 0x0:_0x55b95c['onSyncEditingCollabCursor'])==null?void 0x0:_0x54326a[_0xe1e9bc(0x252)](_0x55b95c,_0x75c50a);},_0x100391[_0x2738cc(0x1f2)]=_0x4b08d5=>{var _0x4ac5f2=_0x2738cc,_0x37629d,_0x377106,_0x3bb509;if(!((_0x37629d=this['_handlerCallback'])!=null&&_0x37629d[_0x4ac5f2(0x1f2)]))throw new Error(_0x4ac5f2(0x35a));return(_0x3bb509=(_0x377106=this[_0x4ac5f2(0x244)])==null?void 0x0:_0x377106[_0x4ac5f2(0x1f2)])==null?void 0x0:_0x3bb509[_0x4ac5f2(0x252)](_0x377106,_0x4b08d5);},_0x100391[_0x2738cc(0x2b1)]=_0x1df5d9=>{var _0x23aa77=_0x2738cc,_0x2e5354,_0x2020ec,_0x25b232;if(!((_0x2e5354=this[_0x23aa77(0x244)])!=null&&_0x2e5354[_0x23aa77(0x2b1)]))throw new Error(_0x23aa77(0x22e));return(_0x25b232=(_0x2020ec=this[_0x23aa77(0x244)])==null?void 0x0:_0x2020ec[_0x23aa77(0x2b1)])==null?void 0x0:_0x25b232[_0x23aa77(0x252)](_0x2020ec,_0x1df5d9);},_0x100391;}async['_init'](){var _0xe5c613=_0x4ba149;const _0x1df28c=await super[_0xe5c613(0x25a)]();return this[_0xe5c613(0x3f9)](this[_0xe5c613(0x303)][_0xe5c613(0x384)]((_0x362c13,_0x9c11af)=>{var _0x2dcc7f=_0xe5c613;if(_0x362c13['type']!==_0x39812e[_0x2dcc7f(0x1ad)]||_0x9c11af!=null&&_0x9c11af[_0x2dcc7f(0x155)]||_0x9c11af!=null&&_0x9c11af[_0x2dcc7f(0x1cc)]||_0x362c13['id']===_0x43dee3['id'])return;const _0x96d9e8=_0x362c13['params'];if((_0x96d9e8==null?void 0x0:_0x96d9e8[_0x2dcc7f(0x22b)])!==this[_0x2dcc7f(0x3c4)])return;const _0x478a0d=_0x362c13,_0x2e4ca0=this[_0x2dcc7f(0x3bf)][_0x2dcc7f(0x219)][_0x2dcc7f(0x345)](this['_compressMutationService'][_0x2dcc7f(0x219)][_0x2dcc7f(0x1d2)]()[_0x2dcc7f(0x172)])([_0x478a0d],null)||[_0x478a0d];this[_0x2dcc7f(0x3bb)](_0x2e4ca0[0x0]);})),_0x1df28c;}};Tt=Lt([k(0x3,_0x2b3f90(_0x131b89)),k(0x4,_0x2b3f90(_0x5657a1)),k(0x5,_0x2b3f90(_0x57c404)),k(0x6,_0x2b3f90(_0x1fec2b)),k(0x7,_0x2b3f90(pe)),k(0x8,_0x55b365),k(0x9,_0x3fb355),k(0xa,_0x54fe15),k(0xb,_0x15959d(ht)),k(0xc,_0x15959d(J))],Tt);let Ct=class extends nt{constructor(_0x4fd988,_0x3c5626,_0x3949a8,_0x5c4a76,_0x518b9b,_0x451c18,_0x3a470f,_0x4c31b9,_0x10ce29,_0x49c11b,_0xf8a97f,_0x3a4f78,_0x3a337c,_0x907996){var _0x14275e=_0x4ba149;super(_0x4fd988,_0x3949a8,_0x3c5626,_0x5c4a76,_0x518b9b,_0x451c18,_0x3a470f,_0x10ce29,_0x49c11b,_0xf8a97f,_0x3a4f78,_0x3a337c,_0x907996),this[_0x14275e(0x3c4)]=_0x4fd988,this[_0x14275e(0x204)]=_0x3c5626,this['_sheetTransformSelectionsService']=_0x4c31b9;}[_0x4ba149(0x286)](){var _0x1622c8=_0x4ba149;const _0x1d7f72=super[_0x1622c8(0x286)]();return _0x1d7f72[_0x1622c8(0x360)]=_0x40ae67=>this['_sheetTransformSelectionsService'][_0x1622c8(0x2ff)](_0x40ae67),_0x1d7f72;}async['_init'](){var _0x259cfa=_0x4ba149;const _0x4bb255=await super[_0x259cfa(0x25a)]();return this[_0x259cfa(0x3f9)](this[_0x259cfa(0x303)]['onCommandExecuted']((_0x1369e7,_0x1c3d1d)=>{var _0x579a77=_0x259cfa;if(_0x1369e7[_0x579a77(0x204)]!==_0x39812e[_0x579a77(0x1ad)]||_0x1c3d1d!=null&&_0x1c3d1d['fromCollab']||_0x1c3d1d!=null&&_0x1c3d1d[_0x579a77(0x1cc)])return;const _0x18b276=_0x1369e7[_0x579a77(0x2ba)];if((_0x18b276==null?void 0x0:_0x18b276[_0x579a77(0x22b)])!==this[_0x579a77(0x3c4)])return;const _0x41e0eb=_0x1369e7,_0x1f9d85=this[_0x579a77(0x3bf)][_0x579a77(0x219)][_0x579a77(0x345)](this['_compressMutationService'][_0x579a77(0x219)][_0x579a77(0x1d2)]()[_0x579a77(0x172)])([_0x41e0eb],null)||[_0x41e0eb];this[_0x579a77(0x3bb)](_0x1f9d85[0x0]);})),_0x4bb255;}};Ct=Lt([k(0x3,_0x2b3f90(_0x131b89)),k(0x4,_0x2b3f90(_0x5657a1)),k(0x5,_0x2b3f90(_0x57c404)),k(0x6,_0x2b3f90(_0x1fec2b)),k(0x7,_0x2b3f90(it)),k(0x8,_0x2b3f90(pe)),k(0x9,_0x55b365),k(0xa,_0x3fb355),k(0xb,_0x54fe15),k(0xc,_0x15959d(ht)),k(0xd,_0x15959d(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x4ba149(0x362)],Sr=(_0x3164dd,_0x69b5fd,_0x426b24,_0x335e51)=>{var _0x25d0ef=_0x4ba149;for(var _0x18c405=_0x335e51>0x1?void 0x0:_0x335e51?gr(_0x69b5fd,_0x426b24):_0x69b5fd,_0x4092ba=_0x3164dd[_0x25d0ef(0x30f)]-0x1,_0xc6ea23;_0x4092ba>=0x0;_0x4092ba--)(_0xc6ea23=_0x3164dd[_0x4092ba])&&(_0x18c405=(_0x335e51?_0xc6ea23(_0x69b5fd,_0x426b24,_0x18c405):_0xc6ea23(_0x18c405))||_0x18c405);return _0x335e51&&_0x18c405&&mr(_0x69b5fd,_0x426b24,_0x18c405),_0x18c405;},ft=(_0x4c8555,_0x37e024)=>(_0x28847b,_0x4aae2d)=>_0x37e024(_0x28847b,_0x4aae2d,_0x4c8555);let rt=class extends _0x2cae06{constructor(_0xbba6d2,_0x683623,_0x180449){var _0xd56c3=_0x4ba149;super(),N(this,_0xd56c3(0x36d),new Map()),N(this,_0xd56c3(0x3e8),new _0x3a004c()),N(this,'entityInit$',this[_0xd56c3(0x3e8)]['asObservable']()),(this[_0xd56c3(0x2fd)]=_0xbba6d2,this[_0xd56c3(0x2bc)]=_0x683623,this['_univerInstanceService']=_0x180449,this[_0xd56c3(0x25a)]());}[_0x4ba149(0x25b)](){var _0x338899=_0x4ba149;super[_0x338899(0x25b)](),this[_0x338899(0x36d)][_0x338899(0x1e5)](_0x45f91f=>_0x45f91f[_0x338899(0x25b)]()),this['_entities']['clear']();}[_0x4ba149(0x3c0)](_0x1f4bb2){var _0x19585a=_0x4ba149,_0x346558;return(_0x346558=this[_0x19585a(0x36d)][_0x19585a(0x197)](_0x1f4bb2))!=null?_0x346558:null;}[_0x4ba149(0x296)](_0x2d255a){var _0x3f15d8=_0x4ba149;const _0x20d76a=this[_0x3f15d8(0x3c0)](_0x2d255a);return _0x20d76a?_0x37f6e1(_0x20d76a):this[_0x3f15d8(0x3e8)][_0x3f15d8(0x2a7)](_0xe0f0f(_0x4a10a7=>_0x4a10a7['unitID']===_0x2d255a));}['readyForCollab'](_0x1d5a6f){var _0x53f5ed=_0x4ba149;return _0x5be984(this[_0x53f5ed(0x296)](_0x1d5a6f)['pipe'](_0x112764(()=>{})));}[_0x4ba149(0x25a)](){var _0x4e8562=_0x4ba149;this['_univerInstanceService'][_0x4e8562(0x3ac)](_0x5431e3['UNIVER_SHEET'])[_0x4e8562(0x2a7)](_0x11c71d(this[_0x4e8562(0x2f7)]),_0x114587(0x10))[_0x4e8562(0x341)](async _0x3af9ae=>{var _0x414748=_0x4e8562;const _0x46cac3=_0x3af9ae[_0x414748(0x336)](),_0x3ea5db=await this[_0x414748(0x1c0)](_0x46cac3,Q[_0x414748(0x139)]);this[_0x414748(0x36d)][_0x414748(0x14a)](_0x46cac3,_0x3ea5db);}),this['_univerInstanceService'][_0x4e8562(0x3ac)](_0x5431e3[_0x4e8562(0x253)])[_0x4e8562(0x2a7)](_0x11c71d(this['dispose$']),_0x114587(0x10))[_0x4e8562(0x2a7)](_0xe0f0f(_0x57f0b5=>!_0x57f0b5[_0x4e8562(0x336)]()['startsWith']('__')))[_0x4e8562(0x341)](async _0x5bc47a=>{var _0x348aec=_0x4e8562;const _0x1a2a9b=_0x5bc47a[_0x348aec(0x336)](),_0x4e9f24=await this[_0x348aec(0x1c0)](_0x1a2a9b,Q[_0x348aec(0x253)]);this[_0x348aec(0x36d)]['set'](_0x1a2a9b,_0x4e9f24);}),_0x2913f0(this['_univerInstanceService'][_0x4e8562(0x32a)](_0x5431e3[_0x4e8562(0x139)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5431e3[_0x4e8562(0x253)]))[_0x4e8562(0x2a7)](_0x11c71d(this[_0x4e8562(0x2f7)]))[_0x4e8562(0x341)](_0x394d29=>{var _0x1f3d7b=_0x4e8562;const _0x4e1a03=_0x394d29[_0x1f3d7b(0x336)](),_0x51c197=this[_0x1f3d7b(0x36d)][_0x1f3d7b(0x197)](_0x4e1a03);_0x51c197&&(_0x51c197[_0x1f3d7b(0x25b)](),this[_0x1f3d7b(0x36d)]['delete'](_0x4e1a03));});}async['_startCollaboration'](_0x5b557e,_0x5a4e3a){var _0x3946d2=_0x4ba149;const _0x4eca0e=await this[_0x3946d2(0x2bc)][_0x3946d2(0x1d5)](_0x5b557e),_0x1144b2=this[_0x3946d2(0x2fd)][_0x3946d2(0x382)](this['_getCtorByUniverType'](_0x5a4e3a),_0x5b557e,_0x5a4e3a,_0x4eca0e);return await _0x1144b2[_0x3946d2(0x388)](),this['_entityInit$'][_0x3946d2(0x23f)](_0x1144b2),_0x1144b2;}[_0x4ba149(0x32c)](_0x35273d){var _0x3db7ec=_0x4ba149;switch(_0x35273d){case Q[_0x3db7ec(0x253)]:return Tt;case Q[_0x3db7ec(0x139)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x35273d);}}};rt=Sr([ft(0x0,_0x2b3f90(_0x131b89)),ft(0x1,_0x2b3f90(Le)),ft(0x2,_0x56bf2b)],rt);var Er=Object['defineProperty'],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0xaa2817,_0x2df3da,_0xab72eb,_0x1310a2)=>{for(var _0xfcc19=_0x1310a2>0x1?void 0x0:_0x1310a2?Ir(_0x2df3da,_0xab72eb):_0x2df3da,_0x50fd02=_0xaa2817['length']-0x1,_0x219ad9;_0x50fd02>=0x0;_0x50fd02--)(_0x219ad9=_0xaa2817[_0x50fd02])&&(_0xfcc19=(_0x1310a2?_0x219ad9(_0x2df3da,_0xab72eb,_0xfcc19):_0x219ad9(_0xfcc19))||_0xfcc19);return _0x1310a2&&_0xfcc19&&Er(_0x2df3da,_0xab72eb,_0xfcc19),_0xfcc19;},Jt=(_0x5c888a,_0x39e39b)=>(_0x4fdef8,_0x5fe33c)=>_0x39e39b(_0x4fdef8,_0x5fe33c,_0x5c888a);const Cr=_0x4ba149(0x23d),Rr=_0x4ba149(0x220);let Rt=class extends _0x4328ea{constructor(_0x557b89,_0x556588){var _0x438f8e=_0x4ba149;super(),this[_0x438f8e(0x28a)]=_0x557b89,this[_0x438f8e(0x25e)]=_0x556588,this[_0x438f8e(0x25a)]();}[_0x4ba149(0x25a)](){var _0x4b6acd=_0x4ba149;this[_0x4b6acd(0x3f9)](this[_0x4b6acd(0x28a)][_0x4b6acd(0x364)]['subscribe'](()=>{var _0x4fe75e=_0x4b6acd,_0x822a4b;const _0x4c500d=this[_0x4fe75e(0x28a)][_0x4fe75e(0x2aa)]();let _0x35c206=(_0x822a4b=this[_0x4fe75e(0x25e)][_0x4fe75e(0x2f6)](Cr))!=null?_0x822a4b:Rr;_0x4c500d instanceof _0x199141&&(_0x35c206=_0x4c500d[_0x4fe75e(0x30a)]),document['title']=_0x35c206;}));}};Rt=Tr([Jt(0x0,_0x56bf2b),Jt(0x1,_0x50ee4f)],Rt);var br=Object[_0x4ba149(0x1a2)],Or=Object[_0x4ba149(0x362)],yr=(_0x2e5b95,_0x2c27a8,_0xf79002,_0x1a7004)=>{var _0x44b116=_0x4ba149;for(var _0x7acdf2=_0x1a7004>0x1?void 0x0:_0x1a7004?Or(_0x2c27a8,_0xf79002):_0x2c27a8,_0x33e0ac=_0x2e5b95[_0x44b116(0x30f)]-0x1,_0x25e1ba;_0x33e0ac>=0x0;_0x33e0ac--)(_0x25e1ba=_0x2e5b95[_0x33e0ac])&&(_0x7acdf2=(_0x1a7004?_0x25e1ba(_0x2c27a8,_0xf79002,_0x7acdf2):_0x25e1ba(_0x7acdf2))||_0x7acdf2);return _0x1a7004&&_0x7acdf2&&br(_0x2c27a8,_0xf79002,_0x7acdf2),_0x7acdf2;},vt=(_0x162633,_0x47f44b)=>(_0x508ed3,_0x8b0ad1)=>_0x47f44b(_0x508ed3,_0x8b0ad1,_0x162633);let st=class{constructor(_0x370a1d,_0x2c10ee,_0x49f49b){var _0x581a64=_0x4ba149;this[_0x581a64(0x25e)]=_0x370a1d,this[_0x581a64(0x2f3)]=_0x2c10ee,this[_0x581a64(0x2dd)]=_0x49f49b,this[_0x581a64(0x388)]();}[_0x4ba149(0x388)](){var _0x294a22=_0x4ba149;this['_httpService'][_0x294a22(0x227)]({'priority':0x1,'interceptor':(_0x22dfcf,_0xd8ccb7)=>_0xd8ccb7(_0x22dfcf)[_0x294a22(0x2a7)](_0x41279f(async _0x37720c=>{var _0x34a426=_0x294a22;const _0x6b9c87=_0x37720c;if(_0x6b9c87[_0x34a426(0x235)]===0x191){if(typeof window>'u')throw new Error(_0x34a426(0x370));if(window[_0x34a426(0x1a8)](this[_0x34a426(0x2dd)]['t']('auth.needGotoLoginAlert'))){const _0x2ae4d4=window[_0x34a426(0x133)](window['location'][_0x34a426(0x337)]);window[_0x34a426(0x282)][_0x34a426(0x337)]=this[_0x34a426(0x395)]()+'?url='+_0x2ae4d4;}}return _0x6b9c87;}))});}[_0x4ba149(0x395)](){var _0x4a95d3=_0x4ba149,_0x8d7d9b,_0x1e105c;const _0x42f1c3=this[_0x4a95d3(0x25e)][_0x4a95d3(0x2f6)](xn),_0x1ce654=this[_0x4a95d3(0x25e)]['getConfig'](q);return(_0x1e105c=(_0x8d7d9b=_0x1ce654==null?void 0x0:_0x1ce654[_0x4a95d3(0x188)])!=null?_0x8d7d9b:_0x42f1c3)!=null?_0x1e105c:Ln;}};st=yr([vt(0x0,_0x50ee4f),vt(0x1,_0x2b3f90(_0x3c17f9)),vt(0x2,_0x2b3f90(_0x57c404))],st);var Nr=Object[_0x4ba149(0x1a2)],Dr=Object[_0x4ba149(0x362)],Pr=(_0x3d2c51,_0x150038,_0x3e5d34,_0x22e6c6)=>{var _0x53f4ff=_0x4ba149;for(var _0x4ebe7a=_0x22e6c6>0x1?void 0x0:_0x22e6c6?Dr(_0x150038,_0x3e5d34):_0x150038,_0x160f40=_0x3d2c51[_0x53f4ff(0x30f)]-0x1,_0x1b6967;_0x160f40>=0x0;_0x160f40--)(_0x1b6967=_0x3d2c51[_0x160f40])&&(_0x4ebe7a=(_0x22e6c6?_0x1b6967(_0x150038,_0x3e5d34,_0x4ebe7a):_0x1b6967(_0x4ebe7a))||_0x4ebe7a);return _0x22e6c6&&_0x4ebe7a&&Nr(_0x150038,_0x3e5d34,_0x4ebe7a),_0x4ebe7a;},Xt=(_0x3417c3,_0x51c97b)=>(_0x273643,_0x2e111a)=>_0x51c97b(_0x273643,_0x2e111a,_0x3417c3);const Pi='AUTHZ_URL_KEY',wr=_0x4ba149(0x32e);let bt=class extends _0x4328ea{constructor(_0x418d13,_0x265c7b){var _0x3ccbd7=_0x4ba149;super(),this['_HTTPService']=_0x418d13,this[_0x3ccbd7(0x25e)]=_0x265c7b,this[_0x3ccbd7(0x150)]();}[_0x4ba149(0x150)](){var _0x1e8a80=_0x4ba149;const _0x56e228=this;this[_0x1e8a80(0x3f9)](this[_0x1e8a80(0x3a7)][_0x1e8a80(0x227)]({'priority':0x3e7,'interceptor':_0x3ae356({'isMatch'(_0x2a0888){var _0x5ca5ed=_0x1e8a80,_0x25a10b;if(_0x2a0888['method']===_0x5ca5ed(0x357)&&((_0x25a10b=_0x2a0888[_0x5ca5ed(0x2d7)])!=null&&_0x25a10b[_0x5ca5ed(0x201)])){const {objectID:_0xd0683a,objectType:_0x5f48ae}=_0x2a0888[_0x5ca5ed(0x2d7)][_0x5ca5ed(0x201)]||{};if(!_0xd0683a||_0x5f48ae===void 0x0)return!0x1;const _0xf89b23=_0x56e228['_getAPIPrefixPath']()+'/'+_0x5f48ae+_0x5ca5ed(0x28b)+_0xd0683a+'/allowed';if(_0x2a0888[_0x5ca5ed(0x329)]===_0xf89b23)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x21b7d3){var _0x2fb0c6=_0x1e8a80,_0x4ca9a7;return(_0x4ca9a7=_0x21b7d3[_0x2fb0c6(0x2d7)])==null?void 0x0:_0x4ca9a7[_0x2fb0c6(0x201)];},'mergeParamsToRequest'(_0x2b06af,_0x12dd74){var _0x573ff5=_0x1e8a80;const _0x2e91d6=_0x56e228[_0x573ff5(0x19e)]()+_0x573ff5(0x33e),_0x1b6d59=_0x2b06af[_0x573ff5(0x261)]((_0x11bedd,_0x472459)=>{var _0x53cd42=_0x573ff5;const {unitID:_0x1fb6fe,objectID:_0x3976d1,objectType:_0x1a84e8,actions:_0x364d9e}=_0x472459;return _0x11bedd[_0x1fb6fe]||(_0x11bedd[_0x1fb6fe]={}),_0x11bedd[_0x1fb6fe][_0x3976d1]||(_0x11bedd[_0x1fb6fe][_0x3976d1]={'objectID':_0x3976d1,'objectType':_0x1a84e8,'actions':[]}),_0x11bedd[_0x1fb6fe][_0x3976d1][_0x53cd42(0x394)][_0x53cd42(0x3fd)](..._0x364d9e),_0x11bedd;},{}),_0xbc4a94=[];for(const _0x167a8c in _0x1b6d59)for(const _0x59cd5f in _0x1b6d59[_0x167a8c]){const {actions:_0x2b0219,objectType:_0x16a83e}=_0x1b6d59[_0x167a8c][_0x59cd5f],_0x4733e7=[...new Set(_0x2b0219)];_0xbc4a94[_0x573ff5(0x3fd)]({'unitID':_0x167a8c,'objectID':_0x59cd5f,'objectType':_0x16a83e,'actions':_0x4733e7});}return new _0x18e124('POST',_0x2e91d6,{'headers':_0x12dd74['headers'],'withCredentials':_0x12dd74['withCredentials'],'responseType':_0x12dd74['responseType'],'body':{'requests':_0xbc4a94}});}},{'distributeResult'(_0x31414f,_0x334ceb){var _0x5e2d6f=_0x1e8a80;const {objectActions:_0x4e0196}=_0x31414f;return _0x334ceb[_0x5e2d6f(0x3e5)](_0x2b03a0=>{var _0x272950=_0x5e2d6f;const {unitID:_0x1fbf86,objectID:_0x5b074b,actions:_0x2bc482}=_0x2b03a0,_0x1bda67=_0x4e0196['find'](_0xe3202d=>_0xe3202d[_0x272950(0x3c4)]===_0x1fbf86&&_0xe3202d[_0x272950(0x1c7)]===_0x5b074b),_0x5bb946=_0x2bc482[_0x272950(0x3e5)](_0x23dc78=>_0x1bda67==null?void 0x0:_0x1bda67[_0x272950(0x394)]['find'](_0x4ffc97=>_0x4ffc97[_0x272950(0x23c)]===_0x23dc78))['filter'](_0x2f3222=>!!_0x2f3222);return{'config':_0x2b03a0,'result':{'actions':_0x5bb946,'error':_0x31414f['error']}};});}})}));}[_0x4ba149(0x19e)](){var _0x14656a=_0x4ba149,_0x11d86d,_0x4b389e;const _0x41682d=this[_0x14656a(0x25e)][_0x14656a(0x2f6)](Pi),_0x3c14c5=this['_configService'][_0x14656a(0x2f6)](q);return(_0x4b389e=(_0x11d86d=_0x3c14c5==null?void 0x0:_0x3c14c5['authzUrl'])!=null?_0x11d86d:_0x41682d)!=null?_0x4b389e:wr;}async[_0x4ba149(0x21c)](_0x3e79f1){var _0x182ae7=_0x4ba149;const _0x4b46d8=this[_0x182ae7(0x19e)]()+'/'+_0x3e79f1[_0x182ae7(0x30d)]+_0x182ae7(0x34d);return(await this['_HTTPService']['post'](_0x4b46d8,{'body':_0x3e79f1}))[_0x182ae7(0x201)][_0x182ae7(0x1c7)]||'';}async['list'](_0xc11c2a){var _0x172191=_0x4ba149;const _0x2c036c=this[_0x172191(0x19e)]()+_0x172191(0x37f);return(await this[_0x172191(0x3a7)][_0x172191(0x3b1)](_0x2c036c,{'body':_0xc11c2a}))['body']['objects'];}async[_0x4ba149(0x1d6)](_0x43209f){var _0x2a5330=_0x4ba149;const _0x3dd755=this[_0x2a5330(0x19e)]()+'/'+_0x43209f['objectType']+_0x2a5330(0x28b)+_0x43209f['objectID'];await this[_0x2a5330(0x3a7)][_0x2a5330(0x2b0)](_0x3dd755,{'body':_0x43209f});}async['allowed'](_0x135a14){var _0x3c1632=_0x4ba149;const _0x340e84=this['_getAPIPrefixPath']()+'/'+_0x135a14[_0x3c1632(0x30d)]+_0x3c1632(0x28b)+_0x135a14[_0x3c1632(0x1c7)]+_0x3c1632(0x30e);return(await this[_0x3c1632(0x3a7)][_0x3c1632(0x3b1)](_0x340e84,{'body':_0x135a14}))[_0x3c1632(0x201)][_0x3c1632(0x394)];}async['batchAllowed'](_0x3a42c7){var _0x31f63b=_0x4ba149;const _0x9399f7=this[_0x31f63b(0x19e)]()+_0x31f63b(0x33e);return(await this[_0x31f63b(0x3a7)][_0x31f63b(0x3b1)](_0x9399f7,{'body':{'requests':_0x3a42c7}}))[_0x31f63b(0x201)]['objectActions'];}async[_0x4ba149(0x2b3)](_0x282952){var _0x2c920b=_0x4ba149;const _0x463469=this[_0x2c920b(0x19e)]()+'/'+_0x282952[_0x2c920b(0x30d)]+'/role',_0x217304=await this[_0x2c920b(0x3a7)]['post'](_0x463469,{'body':_0x282952});return{'roles':_0x217304['body'][_0x2c920b(0x16b)],'actions':_0x217304[_0x2c920b(0x201)][_0x2c920b(0x394)]};}async[_0x4ba149(0x191)](_0x4f89f4){var _0x2ff6f3=_0x4ba149;const _0x155627=this[_0x2ff6f3(0x19e)]()+_0x2ff6f3(0x2e8);await this[_0x2ff6f3(0x3a7)][_0x2ff6f3(0x121)](_0x155627,{'params':{'collaboratorID':_0x4f89f4[_0x2ff6f3(0x254)],'objectID':_0x4f89f4[_0x2ff6f3(0x1c7)],'unitID':_0x4f89f4[_0x2ff6f3(0x3c4)]}});}async['updateCollaborator'](_0x28967b){var _0x213dc6=_0x4ba149;const _0x2ef38d=this['_getAPIPrefixPath']()+_0x213dc6(0x2e8);await this['_HTTPService'][_0x213dc6(0x1c2)](_0x2ef38d,{'body':_0x28967b});}async[_0x4ba149(0x3c7)](_0x4790db){var _0x38a1a3=_0x4ba149;const _0x49c383=this[_0x38a1a3(0x19e)]()+_0x38a1a3(0x2e8);await this[_0x38a1a3(0x3a7)][_0x38a1a3(0x3b1)](_0x49c383,{'body':_0x4790db});}async['listCollaborators'](_0x2c4333){var _0x2d58ba=_0x4ba149;const _0x55faf9=this[_0x2d58ba(0x19e)]()+'/collaborator';return(await this[_0x2d58ba(0x3a7)][_0x2d58ba(0x197)](_0x55faf9,{'params':{'objectID':_0x2c4333[_0x2d58ba(0x1c7)],'unitID':_0x2c4333[_0x2d58ba(0x3c4)]}}))[_0x2d58ba(0x201)][_0x2d58ba(0x1ab)];}async['putCollaborators'](_0x3deeac){var _0x5e19b1=_0x4ba149;const _0x8434d4=this[_0x5e19b1(0x19e)]()+'/collaborator';await this[_0x5e19b1(0x3a7)][_0x5e19b1(0x2b0)](_0x8434d4,{'body':_0x3deeac});}};bt=Pr([Xt(0x0,_0x2b3f90(_0x3c17f9)),Xt(0x1,_0x2b3f90(_0x50ee4f))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x961ff5){var _0x337b0d=_0x4ba149;return _0x961ff5&&_0x961ff5['__esModule']&&Object[_0x337b0d(0x1be)]['hasOwnProperty'][_0x337b0d(0x252)](_0x961ff5,_0x337b0d(0x3a2))?_0x961ff5[_0x337b0d(0x3a2)]:_0x961ff5;}var Ve={'exports':{}};function Ur(_0x4135be){var _0x1a2137=_0x4ba149;throw new Error(_0x1a2137(0x179)+_0x4135be+_0x1a2137(0x184));}var Ge={'exports':{}},Ar=Ge[_0x4ba149(0x1fe)],Zt;function ne(){var _0x28cdd8=_0x4ba149;return Zt||(Zt=0x1,function(_0x5040dd,_0x56b935){(function(_0x26ae50,_0x3b5d6e){var _0x542b2b=_0xe5da;_0x5040dd[_0x542b2b(0x1fe)]=_0x3b5d6e();}(Ar,function(){var _0x254f9d=_0x254f9d||function(_0x44d8e2,_0x2c362f){var _0x129de9=_0xe5da,_0x3b93d2;if(typeof window<'u'&&window['crypto']&&(_0x3b93d2=window[_0x129de9(0x16c)]),typeof self<'u'&&self[_0x129de9(0x16c)]&&(_0x3b93d2=self[_0x129de9(0x16c)]),typeof globalThis<'u'&&globalThis[_0x129de9(0x16c)]&&(_0x3b93d2=globalThis[_0x129de9(0x16c)]),!_0x3b93d2&&typeof window<'u'&&window['msCrypto']&&(_0x3b93d2=window['msCrypto']),!_0x3b93d2&&typeof pt<'u'&&pt['crypto']&&(_0x3b93d2=pt[_0x129de9(0x16c)]),!_0x3b93d2&&typeof Ur=='function')try{_0x3b93d2=require('crypto');}catch{}var _0x3168c7=function(){var _0x49128d=_0x129de9;if(_0x3b93d2){if(typeof _0x3b93d2[_0x49128d(0x1b4)]=='function')try{return _0x3b93d2[_0x49128d(0x1b4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b93d2[_0x49128d(0x22f)]==_0x49128d(0x12c))try{return _0x3b93d2['randomBytes'](0x4)[_0x49128d(0x26b)]();}catch{}}throw new Error(_0x49128d(0x283));},_0x19acdc=Object[_0x129de9(0x21c)]||(function(){function _0x33316e(){}return function(_0x205616){var _0xf97172=_0xe5da,_0x57a90e;return _0x33316e[_0xf97172(0x1be)]=_0x205616,_0x57a90e=new _0x33316e(),_0x33316e['prototype']=null,_0x57a90e;};}()),_0x340414={},_0x40dfa4=_0x340414['lib']={},_0x26b1cb=_0x40dfa4[_0x129de9(0x3bc)]=(function(){return{'extend':function(_0x2911a6){var _0x178dbd=_0xe5da,_0x26c2c4=_0x19acdc(this);return _0x2911a6&&_0x26c2c4[_0x178dbd(0x2ab)](_0x2911a6),(!_0x26c2c4[_0x178dbd(0x1a6)](_0x178dbd(0x388))||this[_0x178dbd(0x388)]===_0x26c2c4[_0x178dbd(0x388)])&&(_0x26c2c4[_0x178dbd(0x388)]=function(){var _0x13f678=_0x178dbd;_0x26c2c4['$super'][_0x13f678(0x388)][_0x13f678(0x1cb)](this,arguments);}),_0x26c2c4['init'][_0x178dbd(0x1be)]=_0x26c2c4,_0x26c2c4[_0x178dbd(0x402)]=this,_0x26c2c4;},'create':function(){var _0x111101=_0xe5da,_0x21f61b=this[_0x111101(0x237)]();return _0x21f61b['init'][_0x111101(0x1cb)](_0x21f61b,arguments),_0x21f61b;},'init':function(){},'mixIn':function(_0x5582aa){var _0x20e864=_0xe5da;for(var _0x4b700b in _0x5582aa)_0x5582aa[_0x20e864(0x1a6)](_0x4b700b)&&(this[_0x4b700b]=_0x5582aa[_0x4b700b]);_0x5582aa[_0x20e864(0x1a6)](_0x20e864(0x3df))&&(this['toString']=_0x5582aa[_0x20e864(0x3df)]);},'clone':function(){var _0x4cb0ad=_0xe5da;return this[_0x4cb0ad(0x388)][_0x4cb0ad(0x1be)][_0x4cb0ad(0x237)](this);}};}()),_0x3da61d=_0x40dfa4[_0x129de9(0x15e)]=_0x26b1cb[_0x129de9(0x237)]({'init':function(_0x52c73a,_0x364347){var _0x54b44b=_0x129de9;_0x52c73a=this['words']=_0x52c73a||[],_0x364347!=_0x2c362f?this[_0x54b44b(0x2a1)]=_0x364347:this[_0x54b44b(0x2a1)]=_0x52c73a[_0x54b44b(0x30f)]*0x4;},'toString':function(_0x58ae76){var _0x45ae28=_0x129de9;return(_0x58ae76||_0x96f34f)[_0x45ae28(0x137)](this);},'concat':function(_0x4b6dd3){var _0x545dcd=_0x129de9,_0x6a2f52=this[_0x545dcd(0x223)],_0x2c4d91=_0x4b6dd3[_0x545dcd(0x223)],_0x4dd84a=this[_0x545dcd(0x2a1)],_0x12b972=_0x4b6dd3[_0x545dcd(0x2a1)];if(this['clamp'](),_0x4dd84a%0x4)for(var _0x32a2df=0x0;_0x32a2df<_0x12b972;_0x32a2df++){var _0x54e1c0=_0x2c4d91[_0x32a2df>>>0x2]>>>0x18-_0x32a2df%0x4*0x8&0xff;_0x6a2f52[_0x4dd84a+_0x32a2df>>>0x2]|=_0x54e1c0<<0x18-(_0x4dd84a+_0x32a2df)%0x4*0x8;}else{for(var _0x1d7cb3=0x0;_0x1d7cb3<_0x12b972;_0x1d7cb3+=0x4)_0x6a2f52[_0x4dd84a+_0x1d7cb3>>>0x2]=_0x2c4d91[_0x1d7cb3>>>0x2];}return this[_0x545dcd(0x2a1)]+=_0x12b972,this;},'clamp':function(){var _0x2fdc62=_0x129de9,_0x5d14c3=this['words'],_0x29f787=this['sigBytes'];_0x5d14c3[_0x29f787>>>0x2]&=0xffffffff<<0x20-_0x29f787%0x4*0x8,_0x5d14c3[_0x2fdc62(0x30f)]=_0x44d8e2[_0x2fdc62(0x14e)](_0x29f787/0x4);},'clone':function(){var _0x16ed3d=_0x129de9,_0x2908cb=_0x26b1cb['clone']['call'](this);return _0x2908cb['words']=this[_0x16ed3d(0x223)][_0x16ed3d(0x327)](0x0),_0x2908cb;},'random':function(_0x4be349){var _0x9a6d46=_0x129de9;for(var _0x343ce5=[],_0x4a4b5a=0x0;_0x4a4b5a<_0x4be349;_0x4a4b5a+=0x4)_0x343ce5[_0x9a6d46(0x3fd)](_0x3168c7());return new _0x3da61d[(_0x9a6d46(0x388))](_0x343ce5,_0x4be349);}}),_0x57fa1e=_0x340414[_0x129de9(0x37b)]={},_0x96f34f=_0x57fa1e[_0x129de9(0x38c)]={'stringify':function(_0x5c6246){var _0x145f76=_0x129de9;for(var _0xdd8ede=_0x5c6246[_0x145f76(0x223)],_0x4faa59=_0x5c6246['sigBytes'],_0x19e182=[],_0x52712b=0x0;_0x52712b<_0x4faa59;_0x52712b++){var _0x7866c=_0xdd8ede[_0x52712b>>>0x2]>>>0x18-_0x52712b%0x4*0x8&0xff;_0x19e182['push']((_0x7866c>>>0x4)['toString'](0x10)),_0x19e182[_0x145f76(0x3fd)]((_0x7866c&0xf)['toString'](0x10));}return _0x19e182[_0x145f76(0x1fa)]('');},'parse':function(_0x13021f){var _0x31d9ae=_0x129de9;for(var _0x2b1795=_0x13021f[_0x31d9ae(0x30f)],_0x3b030c=[],_0x271713=0x0;_0x271713<_0x2b1795;_0x271713+=0x2)_0x3b030c[_0x271713>>>0x3]|=parseInt(_0x13021f[_0x31d9ae(0x31e)](_0x271713,0x2),0x10)<<0x18-_0x271713%0x8*0x4;return new _0x3da61d['init'](_0x3b030c,_0x2b1795/0x2);}},_0x32d9f3=_0x57fa1e[_0x129de9(0x3f3)]={'stringify':function(_0xab9de9){var _0x501dad=_0x129de9;for(var _0x4aff54=_0xab9de9[_0x501dad(0x223)],_0x26255c=_0xab9de9['sigBytes'],_0x385b4f=[],_0x277776=0x0;_0x277776<_0x26255c;_0x277776++){var _0x2c909f=_0x4aff54[_0x277776>>>0x2]>>>0x18-_0x277776%0x4*0x8&0xff;_0x385b4f[_0x501dad(0x3fd)](String[_0x501dad(0x1bf)](_0x2c909f));}return _0x385b4f[_0x501dad(0x1fa)]('');},'parse':function(_0x42e4ce){var _0x128a42=_0x129de9;for(var _0x205766=_0x42e4ce['length'],_0x1edae2=[],_0x170bef=0x0;_0x170bef<_0x205766;_0x170bef++)_0x1edae2[_0x170bef>>>0x2]|=(_0x42e4ce[_0x128a42(0x14f)](_0x170bef)&0xff)<<0x18-_0x170bef%0x4*0x8;return new _0x3da61d[(_0x128a42(0x388))](_0x1edae2,_0x205766);}},_0x21b5bd=_0x57fa1e['Utf8']={'stringify':function(_0x309e6){var _0x584d41=_0x129de9;try{return decodeURIComponent(escape(_0x32d9f3['stringify'](_0x309e6)));}catch{throw new Error(_0x584d41(0x397));}},'parse':function(_0x49db26){var _0x4fdc01=_0x129de9;return _0x32d9f3[_0x4fdc01(0x3f6)](unescape(encodeURIComponent(_0x49db26)));}},_0x121572=_0x40dfa4[_0x129de9(0x287)]=_0x26b1cb[_0x129de9(0x237)]({'reset':function(){var _0x145c89=_0x129de9;this['_data']=new _0x3da61d[(_0x145c89(0x388))](),this[_0x145c89(0x1b0)]=0x0;},'_append':function(_0x1d87c6){var _0x4f437a=_0x129de9;typeof _0x1d87c6==_0x4f437a(0x35b)&&(_0x1d87c6=_0x21b5bd[_0x4f437a(0x3f6)](_0x1d87c6)),this[_0x4f437a(0x1aa)][_0x4f437a(0x356)](_0x1d87c6),this['_nDataBytes']+=_0x1d87c6[_0x4f437a(0x2a1)];},'_process':function(_0x1eaa45){var _0x4d4347=_0x129de9,_0x20c8e6,_0x508bde=this[_0x4d4347(0x1aa)],_0x5e8479=_0x508bde[_0x4d4347(0x223)],_0x3b69c4=_0x508bde[_0x4d4347(0x2a1)],_0x147364=this[_0x4d4347(0x1a9)],_0x4a81fb=_0x147364*0x4,_0x39f4d8=_0x3b69c4/_0x4a81fb;_0x1eaa45?_0x39f4d8=_0x44d8e2['ceil'](_0x39f4d8):_0x39f4d8=_0x44d8e2['max']((_0x39f4d8|0x0)-this[_0x4d4347(0x1f0)],0x0);var _0x673a74=_0x39f4d8*_0x147364,_0x8964f7=_0x44d8e2['min'](_0x673a74*0x4,_0x3b69c4);if(_0x673a74){for(var _0x45aa3b=0x0;_0x45aa3b<_0x673a74;_0x45aa3b+=_0x147364)this[_0x4d4347(0x377)](_0x5e8479,_0x45aa3b);_0x20c8e6=_0x5e8479[_0x4d4347(0x181)](0x0,_0x673a74),_0x508bde[_0x4d4347(0x2a1)]-=_0x8964f7;}return new _0x3da61d[(_0x4d4347(0x388))](_0x20c8e6,_0x8964f7);},'clone':function(){var _0x5855db=_0x129de9,_0x1dc48d=_0x26b1cb['clone'][_0x5855db(0x252)](this);return _0x1dc48d[_0x5855db(0x1aa)]=this['_data'][_0x5855db(0x153)](),_0x1dc48d;},'_minBufferSize':0x0});_0x40dfa4[_0x129de9(0x273)]=_0x121572[_0x129de9(0x237)]({'cfg':_0x26b1cb[_0x129de9(0x237)](),'init':function(_0x393da4){var _0xb00756=_0x129de9;this[_0xb00756(0x346)]=this['cfg']['extend'](_0x393da4),this[_0xb00756(0x22a)]();},'reset':function(){var _0x40c6e0=_0x129de9;_0x121572[_0x40c6e0(0x22a)]['call'](this),this[_0x40c6e0(0x314)]();},'update':function(_0x15d2ee){var _0x3fc3cb=_0x129de9;return this[_0x3fc3cb(0x1ed)](_0x15d2ee),this[_0x3fc3cb(0x233)](),this;},'finalize':function(_0xc055f8){var _0x261f9a=_0x129de9;_0xc055f8&&this[_0x261f9a(0x1ed)](_0xc055f8);var _0x58ee70=this[_0x261f9a(0x35d)]();return _0x58ee70;},'blockSize':0x10,'_createHelper':function(_0xaa617e){return function(_0x288f18,_0x11dd16){var _0x18442a=_0xe5da;return new _0xaa617e[(_0x18442a(0x388))](_0x11dd16)['finalize'](_0x288f18);};},'_createHmacHelper':function(_0xb432f6){return function(_0x53837e,_0x1804c3){var _0x181da0=_0xe5da;return new _0x1ac8bc[(_0x181da0(0x2ce))][(_0x181da0(0x388))](_0xb432f6,_0x1804c3)[_0x181da0(0x248)](_0x53837e);};}});var _0x1ac8bc=_0x340414[_0x129de9(0x2c5)]={};return _0x340414;}(Math);return _0x254f9d;}));}(Ge)),Ge[_0x28cdd8(0x1fe)];}var We={'exports':{}},xr=We[_0x4ba149(0x1fe)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x1b96ea,_0x491a28){(function(_0x8de819,_0x4f82be){var _0x4eb927=_0xe5da;_0x1b96ea[_0x4eb927(0x1fe)]=_0x4f82be(ne());}(xr,function(_0x58ff25){var _0x4ee097=_0xe5da;return(function(){var _0x8aa6cb=_0xe5da,_0x5c5054=_0x58ff25,_0x5a8093=_0x5c5054['lib'],_0x2fe37f=_0x5a8093['WordArray'],_0x4e03eb=_0x5c5054['enc'];_0x4e03eb[_0x8aa6cb(0x22c)]={'stringify':function(_0x36f5c4){var _0x259f90=_0x8aa6cb,_0x52a1aa=_0x36f5c4[_0x259f90(0x223)],_0x363d1e=_0x36f5c4['sigBytes'],_0x4686f7=this[_0x259f90(0x2cd)];_0x36f5c4[_0x259f90(0x3a4)]();for(var _0x57f27d=[],_0x16539e=0x0;_0x16539e<_0x363d1e;_0x16539e+=0x3)for(var _0xb35662=_0x52a1aa[_0x16539e>>>0x2]>>>0x18-_0x16539e%0x4*0x8&0xff,_0x15c0c8=_0x52a1aa[_0x16539e+0x1>>>0x2]>>>0x18-(_0x16539e+0x1)%0x4*0x8&0xff,_0x1e5e11=_0x52a1aa[_0x16539e+0x2>>>0x2]>>>0x18-(_0x16539e+0x2)%0x4*0x8&0xff,_0x4df26b=_0xb35662<<0x10|_0x15c0c8<<0x8|_0x1e5e11,_0x256ee0=0x0;_0x256ee0<0x4&&_0x16539e+_0x256ee0*0.75<_0x363d1e;_0x256ee0++)_0x57f27d[_0x259f90(0x3fd)](_0x4686f7[_0x259f90(0x36c)](_0x4df26b>>>0x6*(0x3-_0x256ee0)&0x3f));var _0x5191f4=_0x4686f7[_0x259f90(0x36c)](0x40);if(_0x5191f4){for(;_0x57f27d['length']%0x4;)_0x57f27d[_0x259f90(0x3fd)](_0x5191f4);}return _0x57f27d[_0x259f90(0x1fa)]('');},'parse':function(_0x8c6ca1){var _0x4afed0=_0x8aa6cb,_0x1eaa76=_0x8c6ca1[_0x4afed0(0x30f)],_0x9b5df8=this[_0x4afed0(0x2cd)],_0x1aaece=this[_0x4afed0(0x411)];if(!_0x1aaece){_0x1aaece=this[_0x4afed0(0x411)]=[];for(var _0x42bbb0=0x0;_0x42bbb0<_0x9b5df8[_0x4afed0(0x30f)];_0x42bbb0++)_0x1aaece[_0x9b5df8[_0x4afed0(0x14f)](_0x42bbb0)]=_0x42bbb0;}var _0x20bb8c=_0x9b5df8[_0x4afed0(0x36c)](0x40);if(_0x20bb8c){var _0x238bde=_0x8c6ca1[_0x4afed0(0x14c)](_0x20bb8c);_0x238bde!==-0x1&&(_0x1eaa76=_0x238bde);}return _0x43a9cd(_0x8c6ca1,_0x1eaa76,_0x1aaece);},'_map':_0x8aa6cb(0x1db)};function _0x43a9cd(_0x38b642,_0x288ce5,_0x457534){var _0x3289e0=_0x8aa6cb;for(var _0x3a3f33=[],_0x5e3a6e=0x0,_0x1aa57d=0x0;_0x1aa57d<_0x288ce5;_0x1aa57d++)if(_0x1aa57d%0x4){var _0x46b681=_0x457534[_0x38b642['charCodeAt'](_0x1aa57d-0x1)]<<_0x1aa57d%0x4*0x2,_0x58e89b=_0x457534[_0x38b642[_0x3289e0(0x14f)](_0x1aa57d)]>>>0x6-_0x1aa57d%0x4*0x2,_0x498bc0=_0x46b681|_0x58e89b;_0x3a3f33[_0x5e3a6e>>>0x2]|=_0x498bc0<<0x18-_0x5e3a6e%0x4*0x8,_0x5e3a6e++;}return _0x2fe37f[_0x3289e0(0x21c)](_0x3a3f33,_0x5e3a6e);}}()),_0x58ff25[_0x4ee097(0x37b)][_0x4ee097(0x22c)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x4ba149(0x1fe)],ei;function Mr(){var _0x242d11=_0x4ba149;return ei||(ei=0x1,function(_0x24b51f,_0x531c9d){(function(_0x4880c7,_0x3c9937){var _0x28ddf2=_0xe5da;_0x24b51f[_0x28ddf2(0x1fe)]=_0x3c9937(ne());}(Lr,function(_0x434ad0){var _0x32612b=_0xe5da;return function(_0x432a78){var _0x56211f=_0xe5da,_0x2a6020=_0x434ad0,_0x21c18=_0x2a6020[_0x56211f(0x269)],_0x81bf36=_0x21c18[_0x56211f(0x15e)],_0x34137e=_0x21c18[_0x56211f(0x273)],_0x37a7ce=_0x2a6020[_0x56211f(0x2c5)],_0x5d0754=[];(function(){var _0x524fbc=_0x56211f;for(var _0x686a15=0x0;_0x686a15<0x40;_0x686a15++)_0x5d0754[_0x686a15]=_0x432a78[_0x524fbc(0x3ed)](_0x432a78[_0x524fbc(0x1c8)](_0x686a15+0x1))*0x100000000|0x0;}());var _0x3f2092=_0x37a7ce['MD5']=_0x34137e['extend']({'_doReset':function(){var _0x4bd6aa=_0x56211f;this[_0x4bd6aa(0x2f1)]=new _0x81bf36[(_0x4bd6aa(0x388))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x30210a,_0x4daaa4){var _0x4c0de6=_0x56211f;for(var _0x3a8efd=0x0;_0x3a8efd<0x10;_0x3a8efd++){var _0x39130d=_0x4daaa4+_0x3a8efd,_0x2fe44f=_0x30210a[_0x39130d];_0x30210a[_0x39130d]=(_0x2fe44f<<0x8|_0x2fe44f>>>0x18)&0xff00ff|(_0x2fe44f<<0x18|_0x2fe44f>>>0x8)&0xff00ff00;}var _0x532627=this[_0x4c0de6(0x2f1)][_0x4c0de6(0x223)],_0x5689c5=_0x30210a[_0x4daaa4+0x0],_0x15453c=_0x30210a[_0x4daaa4+0x1],_0x1dbe95=_0x30210a[_0x4daaa4+0x2],_0x513aeb=_0x30210a[_0x4daaa4+0x3],_0x3b587e=_0x30210a[_0x4daaa4+0x4],_0x480ea8=_0x30210a[_0x4daaa4+0x5],_0x33bc59=_0x30210a[_0x4daaa4+0x6],_0xbd72bc=_0x30210a[_0x4daaa4+0x7],_0x3e4a1e=_0x30210a[_0x4daaa4+0x8],_0x41dc95=_0x30210a[_0x4daaa4+0x9],_0xf0710a=_0x30210a[_0x4daaa4+0xa],_0x4ca64e=_0x30210a[_0x4daaa4+0xb],_0x40e6ce=_0x30210a[_0x4daaa4+0xc],_0x234ddd=_0x30210a[_0x4daaa4+0xd],_0x41f7a8=_0x30210a[_0x4daaa4+0xe],_0x30b293=_0x30210a[_0x4daaa4+0xf],_0x371fa3=_0x532627[0x0],_0x47aa27=_0x532627[0x1],_0x43066a=_0x532627[0x2],_0x1554ff=_0x532627[0x3];_0x371fa3=_0x10c3cb(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x5689c5,0x7,_0x5d0754[0x0]),_0x1554ff=_0x10c3cb(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x15453c,0xc,_0x5d0754[0x1]),_0x43066a=_0x10c3cb(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x1dbe95,0x11,_0x5d0754[0x2]),_0x47aa27=_0x10c3cb(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x513aeb,0x16,_0x5d0754[0x3]),_0x371fa3=_0x10c3cb(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x3b587e,0x7,_0x5d0754[0x4]),_0x1554ff=_0x10c3cb(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x480ea8,0xc,_0x5d0754[0x5]),_0x43066a=_0x10c3cb(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x33bc59,0x11,_0x5d0754[0x6]),_0x47aa27=_0x10c3cb(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0xbd72bc,0x16,_0x5d0754[0x7]),_0x371fa3=_0x10c3cb(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x3e4a1e,0x7,_0x5d0754[0x8]),_0x1554ff=_0x10c3cb(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x41dc95,0xc,_0x5d0754[0x9]),_0x43066a=_0x10c3cb(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0xf0710a,0x11,_0x5d0754[0xa]),_0x47aa27=_0x10c3cb(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x4ca64e,0x16,_0x5d0754[0xb]),_0x371fa3=_0x10c3cb(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x40e6ce,0x7,_0x5d0754[0xc]),_0x1554ff=_0x10c3cb(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x234ddd,0xc,_0x5d0754[0xd]),_0x43066a=_0x10c3cb(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x41f7a8,0x11,_0x5d0754[0xe]),_0x47aa27=_0x10c3cb(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x30b293,0x16,_0x5d0754[0xf]),_0x371fa3=_0x27a765(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x15453c,0x5,_0x5d0754[0x10]),_0x1554ff=_0x27a765(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x33bc59,0x9,_0x5d0754[0x11]),_0x43066a=_0x27a765(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x4ca64e,0xe,_0x5d0754[0x12]),_0x47aa27=_0x27a765(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x5689c5,0x14,_0x5d0754[0x13]),_0x371fa3=_0x27a765(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x480ea8,0x5,_0x5d0754[0x14]),_0x1554ff=_0x27a765(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0xf0710a,0x9,_0x5d0754[0x15]),_0x43066a=_0x27a765(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x30b293,0xe,_0x5d0754[0x16]),_0x47aa27=_0x27a765(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x3b587e,0x14,_0x5d0754[0x17]),_0x371fa3=_0x27a765(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x41dc95,0x5,_0x5d0754[0x18]),_0x1554ff=_0x27a765(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x41f7a8,0x9,_0x5d0754[0x19]),_0x43066a=_0x27a765(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x513aeb,0xe,_0x5d0754[0x1a]),_0x47aa27=_0x27a765(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x3e4a1e,0x14,_0x5d0754[0x1b]),_0x371fa3=_0x27a765(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x234ddd,0x5,_0x5d0754[0x1c]),_0x1554ff=_0x27a765(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x1dbe95,0x9,_0x5d0754[0x1d]),_0x43066a=_0x27a765(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0xbd72bc,0xe,_0x5d0754[0x1e]),_0x47aa27=_0x27a765(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x40e6ce,0x14,_0x5d0754[0x1f]),_0x371fa3=_0x3966c0(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x480ea8,0x4,_0x5d0754[0x20]),_0x1554ff=_0x3966c0(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x3e4a1e,0xb,_0x5d0754[0x21]),_0x43066a=_0x3966c0(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x4ca64e,0x10,_0x5d0754[0x22]),_0x47aa27=_0x3966c0(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x41f7a8,0x17,_0x5d0754[0x23]),_0x371fa3=_0x3966c0(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x15453c,0x4,_0x5d0754[0x24]),_0x1554ff=_0x3966c0(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x3b587e,0xb,_0x5d0754[0x25]),_0x43066a=_0x3966c0(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0xbd72bc,0x10,_0x5d0754[0x26]),_0x47aa27=_0x3966c0(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0xf0710a,0x17,_0x5d0754[0x27]),_0x371fa3=_0x3966c0(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x234ddd,0x4,_0x5d0754[0x28]),_0x1554ff=_0x3966c0(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x5689c5,0xb,_0x5d0754[0x29]),_0x43066a=_0x3966c0(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x513aeb,0x10,_0x5d0754[0x2a]),_0x47aa27=_0x3966c0(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x33bc59,0x17,_0x5d0754[0x2b]),_0x371fa3=_0x3966c0(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x41dc95,0x4,_0x5d0754[0x2c]),_0x1554ff=_0x3966c0(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x40e6ce,0xb,_0x5d0754[0x2d]),_0x43066a=_0x3966c0(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x30b293,0x10,_0x5d0754[0x2e]),_0x47aa27=_0x3966c0(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x1dbe95,0x17,_0x5d0754[0x2f]),_0x371fa3=_0x1bb30c(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x5689c5,0x6,_0x5d0754[0x30]),_0x1554ff=_0x1bb30c(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0xbd72bc,0xa,_0x5d0754[0x31]),_0x43066a=_0x1bb30c(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x41f7a8,0xf,_0x5d0754[0x32]),_0x47aa27=_0x1bb30c(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x480ea8,0x15,_0x5d0754[0x33]),_0x371fa3=_0x1bb30c(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x40e6ce,0x6,_0x5d0754[0x34]),_0x1554ff=_0x1bb30c(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x513aeb,0xa,_0x5d0754[0x35]),_0x43066a=_0x1bb30c(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0xf0710a,0xf,_0x5d0754[0x36]),_0x47aa27=_0x1bb30c(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x15453c,0x15,_0x5d0754[0x37]),_0x371fa3=_0x1bb30c(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x3e4a1e,0x6,_0x5d0754[0x38]),_0x1554ff=_0x1bb30c(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x30b293,0xa,_0x5d0754[0x39]),_0x43066a=_0x1bb30c(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x33bc59,0xf,_0x5d0754[0x3a]),_0x47aa27=_0x1bb30c(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x234ddd,0x15,_0x5d0754[0x3b]),_0x371fa3=_0x1bb30c(_0x371fa3,_0x47aa27,_0x43066a,_0x1554ff,_0x3b587e,0x6,_0x5d0754[0x3c]),_0x1554ff=_0x1bb30c(_0x1554ff,_0x371fa3,_0x47aa27,_0x43066a,_0x4ca64e,0xa,_0x5d0754[0x3d]),_0x43066a=_0x1bb30c(_0x43066a,_0x1554ff,_0x371fa3,_0x47aa27,_0x1dbe95,0xf,_0x5d0754[0x3e]),_0x47aa27=_0x1bb30c(_0x47aa27,_0x43066a,_0x1554ff,_0x371fa3,_0x41dc95,0x15,_0x5d0754[0x3f]),_0x532627[0x0]=_0x532627[0x0]+_0x371fa3|0x0,_0x532627[0x1]=_0x532627[0x1]+_0x47aa27|0x0,_0x532627[0x2]=_0x532627[0x2]+_0x43066a|0x0,_0x532627[0x3]=_0x532627[0x3]+_0x1554ff|0x0;},'_doFinalize':function(){var _0x4d355b=_0x56211f,_0x37b7c1=this[_0x4d355b(0x1aa)],_0x91b4b7=_0x37b7c1['words'],_0x7fb566=this['_nDataBytes']*0x8,_0x5d3875=_0x37b7c1[_0x4d355b(0x2a1)]*0x8;_0x91b4b7[_0x5d3875>>>0x5]|=0x80<<0x18-_0x5d3875%0x20;var _0x26c346=_0x432a78['floor'](_0x7fb566/0x100000000),_0x10e384=_0x7fb566;_0x91b4b7[(_0x5d3875+0x40>>>0x9<<0x4)+0xf]=(_0x26c346<<0x8|_0x26c346>>>0x18)&0xff00ff|(_0x26c346<<0x18|_0x26c346>>>0x8)&0xff00ff00,_0x91b4b7[(_0x5d3875+0x40>>>0x9<<0x4)+0xe]=(_0x10e384<<0x8|_0x10e384>>>0x18)&0xff00ff|(_0x10e384<<0x18|_0x10e384>>>0x8)&0xff00ff00,_0x37b7c1[_0x4d355b(0x2a1)]=(_0x91b4b7['length']+0x1)*0x4,this['_process']();for(var _0x4e1af9=this[_0x4d355b(0x2f1)],_0x57cb66=_0x4e1af9[_0x4d355b(0x223)],_0x3ce5b8=0x0;_0x3ce5b8<0x4;_0x3ce5b8++){var _0xd685fd=_0x57cb66[_0x3ce5b8];_0x57cb66[_0x3ce5b8]=(_0xd685fd<<0x8|_0xd685fd>>>0x18)&0xff00ff|(_0xd685fd<<0x18|_0xd685fd>>>0x8)&0xff00ff00;}return _0x4e1af9;},'clone':function(){var _0x114407=_0x56211f,_0x4eca3f=_0x34137e[_0x114407(0x153)][_0x114407(0x252)](this);return _0x4eca3f['_hash']=this[_0x114407(0x2f1)][_0x114407(0x153)](),_0x4eca3f;}});function _0x10c3cb(_0x19b09d,_0x37507c,_0x59bf76,_0x21d9ae,_0x11a2b5,_0x3a78aa,_0x483769){var _0x58a19a=_0x19b09d+(_0x37507c&_0x59bf76|~_0x37507c&_0x21d9ae)+_0x11a2b5+_0x483769;return(_0x58a19a<<_0x3a78aa|_0x58a19a>>>0x20-_0x3a78aa)+_0x37507c;}function _0x27a765(_0x45c4f0,_0x49a14e,_0x5d5527,_0x553874,_0x1f824f,_0x135b56,_0x2095b3){var _0x4879a6=_0x45c4f0+(_0x49a14e&_0x553874|_0x5d5527&~_0x553874)+_0x1f824f+_0x2095b3;return(_0x4879a6<<_0x135b56|_0x4879a6>>>0x20-_0x135b56)+_0x49a14e;}function _0x3966c0(_0x463e01,_0x2d71ef,_0x30ce7f,_0x366f40,_0x752d4b,_0x27e3aa,_0x1f4ff8){var _0x47a3c1=_0x463e01+(_0x2d71ef^_0x30ce7f^_0x366f40)+_0x752d4b+_0x1f4ff8;return(_0x47a3c1<<_0x27e3aa|_0x47a3c1>>>0x20-_0x27e3aa)+_0x2d71ef;}function _0x1bb30c(_0x47306e,_0x25b0f7,_0x287d18,_0x3e0500,_0xa1c3e9,_0xe1fc23,_0x3078a0){var _0x42f293=_0x47306e+(_0x287d18^(_0x25b0f7|~_0x3e0500))+_0xa1c3e9+_0x3078a0;return(_0x42f293<<_0xe1fc23|_0x42f293>>>0x20-_0xe1fc23)+_0x25b0f7;}_0x2a6020['MD5']=_0x34137e[_0x56211f(0x3e3)](_0x3f2092),_0x2a6020[_0x56211f(0x2bf)]=_0x34137e['_createHmacHelper'](_0x3f2092);}(Math),_0x434ad0[_0x32612b(0x38e)];}));}(Ke)),Ke[_0x242d11(0x1fe)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x4ba149(0x1fe)],ti;function Hr(){var _0x24b026=_0x4ba149;return ti||(ti=0x1,function(_0x593e0f,_0x2d73d2){(function(_0x584cae,_0x1362df){var _0x5a856d=_0xe5da;_0x593e0f[_0x5a856d(0x1fe)]=_0x1362df(ne());}($r,function(_0xb74b53){var _0x2f9751=_0xe5da;return(function(){var _0x5fb3b0=_0xe5da,_0x5aa6aa=_0xb74b53,_0x2b1804=_0x5aa6aa[_0x5fb3b0(0x269)],_0x477114=_0x2b1804['WordArray'],_0x4a1f4e=_0x2b1804['Hasher'],_0x125f74=_0x5aa6aa[_0x5fb3b0(0x2c5)],_0x5e606d=[],_0x352d5e=_0x125f74[_0x5fb3b0(0x215)]=_0x4a1f4e[_0x5fb3b0(0x237)]({'_doReset':function(){var _0x2add33=_0x5fb3b0;this[_0x2add33(0x2f1)]=new _0x477114['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x376a2d,_0x338cdb){var _0x46797e=_0x5fb3b0;for(var _0x51aee6=this['_hash'][_0x46797e(0x223)],_0x1ba92f=_0x51aee6[0x0],_0x1678f0=_0x51aee6[0x1],_0x1d862b=_0x51aee6[0x2],_0x6507ed=_0x51aee6[0x3],_0x2c5ad9=_0x51aee6[0x4],_0x52c275=0x0;_0x52c275<0x50;_0x52c275++){if(_0x52c275<0x10)_0x5e606d[_0x52c275]=_0x376a2d[_0x338cdb+_0x52c275]|0x0;else{var _0x58460d=_0x5e606d[_0x52c275-0x3]^_0x5e606d[_0x52c275-0x8]^_0x5e606d[_0x52c275-0xe]^_0x5e606d[_0x52c275-0x10];_0x5e606d[_0x52c275]=_0x58460d<<0x1|_0x58460d>>>0x1f;}var _0x57eb95=(_0x1ba92f<<0x5|_0x1ba92f>>>0x1b)+_0x2c5ad9+_0x5e606d[_0x52c275];_0x52c275<0x14?_0x57eb95+=(_0x1678f0&_0x1d862b|~_0x1678f0&_0x6507ed)+0x5a827999:_0x52c275<0x28?_0x57eb95+=(_0x1678f0^_0x1d862b^_0x6507ed)+0x6ed9eba1:_0x52c275<0x3c?_0x57eb95+=(_0x1678f0&_0x1d862b|_0x1678f0&_0x6507ed|_0x1d862b&_0x6507ed)-0x70e44324:_0x57eb95+=(_0x1678f0^_0x1d862b^_0x6507ed)-0x359d3e2a,_0x2c5ad9=_0x6507ed,_0x6507ed=_0x1d862b,_0x1d862b=_0x1678f0<<0x1e|_0x1678f0>>>0x2,_0x1678f0=_0x1ba92f,_0x1ba92f=_0x57eb95;}_0x51aee6[0x0]=_0x51aee6[0x0]+_0x1ba92f|0x0,_0x51aee6[0x1]=_0x51aee6[0x1]+_0x1678f0|0x0,_0x51aee6[0x2]=_0x51aee6[0x2]+_0x1d862b|0x0,_0x51aee6[0x3]=_0x51aee6[0x3]+_0x6507ed|0x0,_0x51aee6[0x4]=_0x51aee6[0x4]+_0x2c5ad9|0x0;},'_doFinalize':function(){var _0x4613e2=_0x5fb3b0,_0x1ab31a=this[_0x4613e2(0x1aa)],_0x53c1e5=_0x1ab31a[_0x4613e2(0x223)],_0x4959ab=this['_nDataBytes']*0x8,_0xa7917f=_0x1ab31a['sigBytes']*0x8;return _0x53c1e5[_0xa7917f>>>0x5]|=0x80<<0x18-_0xa7917f%0x20,_0x53c1e5[(_0xa7917f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4959ab/0x100000000),_0x53c1e5[(_0xa7917f+0x40>>>0x9<<0x4)+0xf]=_0x4959ab,_0x1ab31a[_0x4613e2(0x2a1)]=_0x53c1e5[_0x4613e2(0x30f)]*0x4,this[_0x4613e2(0x233)](),this['_hash'];},'clone':function(){var _0x15d07d=_0x5fb3b0,_0x4b225f=_0x4a1f4e[_0x15d07d(0x153)][_0x15d07d(0x252)](this);return _0x4b225f['_hash']=this[_0x15d07d(0x2f1)]['clone'](),_0x4b225f;}});_0x5aa6aa[_0x5fb3b0(0x215)]=_0x4a1f4e['_createHelper'](_0x352d5e),_0x5aa6aa[_0x5fb3b0(0x2e6)]=_0x4a1f4e[_0x5fb3b0(0x3a1)](_0x352d5e);}()),_0xb74b53[_0x2f9751(0x215)];}));}(qe)),qe[_0x24b026(0x1fe)];}var ze={'exports':{}},kr=ze[_0x4ba149(0x1fe)],ii;function jr(){return ii||(ii=0x1,function(_0x3676d8,_0x17911d){(function(_0x12143f,_0x1148d2){_0x3676d8['exports']=_0x1148d2(ne());}(kr,function(_0x23a461){(function(){var _0x2be608=_0xe5da,_0x269370=_0x23a461,_0x37eaac=_0x269370[_0x2be608(0x269)],_0x78fa30=_0x37eaac[_0x2be608(0x3bc)],_0x5b4cc3=_0x269370[_0x2be608(0x37b)],_0x520df7=_0x5b4cc3['Utf8'],_0x525398=_0x269370['algo'];_0x525398[_0x2be608(0x2ce)]=_0x78fa30[_0x2be608(0x237)]({'init':function(_0x4f4f76,_0x17fe1d){var _0x144869=_0x2be608;_0x4f4f76=this['_hasher']=new _0x4f4f76[(_0x144869(0x388))](),typeof _0x17fe1d==_0x144869(0x35b)&&(_0x17fe1d=_0x520df7[_0x144869(0x3f6)](_0x17fe1d));var _0x5f45f7=_0x4f4f76['blockSize'],_0x3cdcc0=_0x5f45f7*0x4;_0x17fe1d[_0x144869(0x2a1)]>_0x3cdcc0&&(_0x17fe1d=_0x4f4f76[_0x144869(0x248)](_0x17fe1d)),_0x17fe1d['clamp']();for(var _0x572055=this[_0x144869(0x20a)]=_0x17fe1d['clone'](),_0x5db353=this[_0x144869(0x162)]=_0x17fe1d[_0x144869(0x153)](),_0x4e4291=_0x572055[_0x144869(0x223)],_0x14a389=_0x5db353[_0x144869(0x223)],_0x446896=0x0;_0x446896<_0x5f45f7;_0x446896++)_0x4e4291[_0x446896]^=0x5c5c5c5c,_0x14a389[_0x446896]^=0x36363636;_0x572055['sigBytes']=_0x5db353['sigBytes']=_0x3cdcc0,this[_0x144869(0x22a)]();},'reset':function(){var _0x8be43a=_0x2be608,_0x3c8d89=this['_hasher'];_0x3c8d89[_0x8be43a(0x22a)](),_0x3c8d89['update'](this['_iKey']);},'update':function(_0x2e15af){var _0x302aba=_0x2be608;return this[_0x302aba(0x401)]['update'](_0x2e15af),this;},'finalize':function(_0x3cc97d){var _0x249dfd=_0x2be608,_0x23a83f=this['_hasher'],_0x95ec0=_0x23a83f[_0x249dfd(0x248)](_0x3cc97d);_0x23a83f[_0x249dfd(0x22a)]();var _0x542782=_0x23a83f[_0x249dfd(0x248)](this[_0x249dfd(0x20a)][_0x249dfd(0x153)]()[_0x249dfd(0x356)](_0x95ec0));return _0x542782;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x4ba149(0x1fe)],ni;function Ui(){var _0x106c23=_0x4ba149;return ni||(ni=0x1,function(_0x24004a,_0x3b75a3){(function(_0x4c4869,_0x53929e,_0x125597){_0x24004a['exports']=_0x53929e(ne(),Hr(),jr());}(Br,function(_0x4530b3){var _0x124180=_0xe5da;return(function(){var _0x312e92=_0xe5da,_0x3116c2=_0x4530b3,_0x399b75=_0x3116c2[_0x312e92(0x269)],_0x2e7bfb=_0x399b75[_0x312e92(0x3bc)],_0x4600d9=_0x399b75[_0x312e92(0x15e)],_0xf5a727=_0x3116c2[_0x312e92(0x2c5)],_0x300f84=_0xf5a727[_0x312e92(0x38e)],_0x36834d=_0xf5a727[_0x312e92(0x2a9)]=_0x2e7bfb['extend']({'cfg':_0x2e7bfb[_0x312e92(0x237)]({'keySize':0x80/0x20,'hasher':_0x300f84,'iterations':0x1}),'init':function(_0x59b4b6){var _0x262f22=_0x312e92;this[_0x262f22(0x346)]=this['cfg'][_0x262f22(0x237)](_0x59b4b6);},'compute':function(_0x491e17,_0x519638){var _0x377979=_0x312e92;for(var _0x2df39b,_0x3ffe19=this[_0x377979(0x346)],_0x3f2bb3=_0x3ffe19['hasher'][_0x377979(0x21c)](),_0x21d9f4=_0x4600d9[_0x377979(0x21c)](),_0x274412=_0x21d9f4[_0x377979(0x223)],_0x1642bb=_0x3ffe19[_0x377979(0x264)],_0x1b3405=_0x3ffe19[_0x377979(0x2b5)];_0x274412[_0x377979(0x30f)]<_0x1642bb;){_0x2df39b&&_0x3f2bb3[_0x377979(0x1d6)](_0x2df39b),_0x2df39b=_0x3f2bb3[_0x377979(0x1d6)](_0x491e17)[_0x377979(0x248)](_0x519638),_0x3f2bb3['reset']();for(var _0x1162ce=0x1;_0x1162ce<_0x1b3405;_0x1162ce++)_0x2df39b=_0x3f2bb3[_0x377979(0x248)](_0x2df39b),_0x3f2bb3[_0x377979(0x22a)]();_0x21d9f4[_0x377979(0x356)](_0x2df39b);}return _0x21d9f4[_0x377979(0x2a1)]=_0x1642bb*0x4,_0x21d9f4;}});_0x3116c2[_0x312e92(0x2a9)]=function(_0x363c6e,_0x4c68ca,_0x4e6a69){var _0x5c0d8a=_0x312e92;return _0x36834d[_0x5c0d8a(0x21c)](_0x4e6a69)['compute'](_0x363c6e,_0x4c68ca);};}()),_0x4530b3[_0x124180(0x2a9)];}));}(Ye)),Ye[_0x106c23(0x1fe)];}var Je={'exports':{}},Fr=Je[_0x4ba149(0x1fe)],ri;function Ai(){var _0x28f11e=_0x4ba149;return ri||(ri=0x1,function(_0x51c54f,_0x16a0c8){(function(_0x2a85d3,_0x5e8d36,_0x5e9f25){_0x51c54f['exports']=_0x5e8d36(ne(),Ui());}(Fr,function(_0x4f8407){var _0x5a21f6=_0xe5da;_0x4f8407[_0x5a21f6(0x269)][_0x5a21f6(0x2de)]||function(_0x375ab1){var _0x2b6e30=_0x5a21f6,_0x178fe6=_0x4f8407,_0x1d547b=_0x178fe6['lib'],_0x40620d=_0x1d547b['Base'],_0x51be4b=_0x1d547b[_0x2b6e30(0x15e)],_0x5e0386=_0x1d547b[_0x2b6e30(0x287)],_0x475ee5=_0x178fe6[_0x2b6e30(0x37b)];_0x475ee5[_0x2b6e30(0x3cd)];var _0x561616=_0x475ee5[_0x2b6e30(0x22c)],_0xe339e4=_0x178fe6[_0x2b6e30(0x2c5)],_0x1ec076=_0xe339e4['EvpKDF'],_0x325aa3=_0x1d547b['Cipher']=_0x5e0386[_0x2b6e30(0x237)]({'cfg':_0x40620d['extend'](),'createEncryptor':function(_0x438e42,_0x23c612){return this['create'](this['_ENC_XFORM_MODE'],_0x438e42,_0x23c612);},'createDecryptor':function(_0x87a93a,_0x36f6b2){var _0x530113=_0x2b6e30;return this[_0x530113(0x21c)](this[_0x530113(0x3e9)],_0x87a93a,_0x36f6b2);},'init':function(_0xeab18d,_0x4b4091,_0x112468){var _0x1da30b=_0x2b6e30;this[_0x1da30b(0x346)]=this['cfg'][_0x1da30b(0x237)](_0x112468),this['_xformMode']=_0xeab18d,this['_key']=_0x4b4091,this[_0x1da30b(0x22a)]();},'reset':function(){var _0xc60764=_0x2b6e30;_0x5e0386['reset'][_0xc60764(0x252)](this),this[_0xc60764(0x314)]();},'process':function(_0x5da653){var _0x5a050c=_0x2b6e30;return this['_append'](_0x5da653),this[_0x5a050c(0x233)]();},'finalize':function(_0x38fa9b){var _0x523453=_0x2b6e30;_0x38fa9b&&this[_0x523453(0x1ed)](_0x38fa9b);var _0x452410=this[_0x523453(0x35d)]();return _0x452410;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2fa056(_0x368198){var _0x14a142=_0xe5da;return typeof _0x368198==_0x14a142(0x35b)?_0x16ef54:_0x4f7870;}return function(_0x2cce41){return{'encrypt':function(_0x37fabf,_0x427848,_0x396e66){var _0x34da01=_0xe5da;return _0x2fa056(_0x427848)[_0x34da01(0x1ef)](_0x2cce41,_0x37fabf,_0x427848,_0x396e66);},'decrypt':function(_0xb9116d,_0x2712e5,_0x366d03){var _0x202a7c=_0xe5da;return _0x2fa056(_0x2712e5)[_0x202a7c(0x2fb)](_0x2cce41,_0xb9116d,_0x2712e5,_0x366d03);}};};}())});_0x1d547b['StreamCipher']=_0x325aa3[_0x2b6e30(0x237)]({'_doFinalize':function(){var _0x3928cd=_0x2b6e30,_0x17bd6d=this[_0x3928cd(0x233)](!0x0);return _0x17bd6d;},'blockSize':0x1});var _0x10bb2c=_0x178fe6[_0x2b6e30(0x3af)]={},_0x495e4a=_0x1d547b[_0x2b6e30(0x198)]=_0x40620d[_0x2b6e30(0x237)]({'createEncryptor':function(_0x535412,_0x7e89d9){var _0x34975e=_0x2b6e30;return this[_0x34975e(0x260)][_0x34975e(0x21c)](_0x535412,_0x7e89d9);},'createDecryptor':function(_0xdd8bbb,_0x517cb5){var _0xbd0100=_0x2b6e30;return this[_0xbd0100(0x161)]['create'](_0xdd8bbb,_0x517cb5);},'init':function(_0x1c97a5,_0xc6251){var _0x372d44=_0x2b6e30;this[_0x372d44(0x1ff)]=_0x1c97a5,this[_0x372d44(0x217)]=_0xc6251;}}),_0x36a8a1=_0x10bb2c['CBC']=(function(){var _0x17e362=_0x2b6e30,_0x165877=_0x495e4a[_0x17e362(0x237)]();_0x165877[_0x17e362(0x260)]=_0x165877[_0x17e362(0x237)]({'processBlock':function(_0x381043,_0x5067ac){var _0x1ff15e=_0x17e362,_0x504275=this[_0x1ff15e(0x1ff)],_0x53d6b8=_0x504275[_0x1ff15e(0x1a9)];_0x8831b3[_0x1ff15e(0x252)](this,_0x381043,_0x5067ac,_0x53d6b8),_0x504275[_0x1ff15e(0x242)](_0x381043,_0x5067ac),this[_0x1ff15e(0x21d)]=_0x381043['slice'](_0x5067ac,_0x5067ac+_0x53d6b8);}}),_0x165877['Decryptor']=_0x165877['extend']({'processBlock':function(_0x2ce157,_0x14f99b){var _0x44432a=_0x17e362,_0x895737=this['_cipher'],_0x4e8961=_0x895737[_0x44432a(0x1a9)],_0x259001=_0x2ce157[_0x44432a(0x327)](_0x14f99b,_0x14f99b+_0x4e8961);_0x895737['decryptBlock'](_0x2ce157,_0x14f99b),_0x8831b3['call'](this,_0x2ce157,_0x14f99b,_0x4e8961),this['_prevBlock']=_0x259001;}});function _0x8831b3(_0x661bc4,_0x1ec2e3,_0x14e963){var _0xcc5a40=_0x17e362,_0x257454,_0x301604=this[_0xcc5a40(0x217)];_0x301604?(_0x257454=_0x301604,this[_0xcc5a40(0x217)]=_0x375ab1):_0x257454=this[_0xcc5a40(0x21d)];for(var _0x564a4a=0x0;_0x564a4a<_0x14e963;_0x564a4a++)_0x661bc4[_0x1ec2e3+_0x564a4a]^=_0x257454[_0x564a4a];}return _0x165877;}()),_0x31fca3=_0x178fe6['pad']={},_0xb71c66=_0x31fca3[_0x2b6e30(0x1e6)]={'pad':function(_0x46c806,_0x5a2a58){var _0x341e8f=_0x2b6e30;for(var _0x543e5a=_0x5a2a58*0x4,_0xb17ce8=_0x543e5a-_0x46c806[_0x341e8f(0x2a1)]%_0x543e5a,_0x4f1b12=_0xb17ce8<<0x18|_0xb17ce8<<0x10|_0xb17ce8<<0x8|_0xb17ce8,_0x583cdb=[],_0x5b2a18=0x0;_0x5b2a18<_0xb17ce8;_0x5b2a18+=0x4)_0x583cdb[_0x341e8f(0x3fd)](_0x4f1b12);var _0x57a920=_0x51be4b[_0x341e8f(0x21c)](_0x583cdb,_0xb17ce8);_0x46c806[_0x341e8f(0x356)](_0x57a920);},'unpad':function(_0x1672da){var _0x4a3267=_0x2b6e30,_0xe1959d=_0x1672da[_0x4a3267(0x223)][_0x1672da[_0x4a3267(0x2a1)]-0x1>>>0x2]&0xff;_0x1672da[_0x4a3267(0x2a1)]-=_0xe1959d;}};_0x1d547b['BlockCipher']=_0x325aa3[_0x2b6e30(0x237)]({'cfg':_0x325aa3[_0x2b6e30(0x346)][_0x2b6e30(0x237)]({'mode':_0x36a8a1,'padding':_0xb71c66}),'reset':function(){var _0x307379=_0x2b6e30,_0x4c79e5;_0x325aa3[_0x307379(0x22a)][_0x307379(0x252)](this);var _0xe247f3=this[_0x307379(0x346)],_0x5db6c3=_0xe247f3['iv'],_0x5ce858=_0xe247f3['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x4c79e5=_0x5ce858[_0x307379(0x21a)]:(_0x4c79e5=_0x5ce858[_0x307379(0x182)],this[_0x307379(0x1f0)]=0x1),this['_mode']&&this['_mode'][_0x307379(0x2f8)]==_0x4c79e5?this[_0x307379(0x258)][_0x307379(0x388)](this,_0x5db6c3&&_0x5db6c3[_0x307379(0x223)]):(this[_0x307379(0x258)]=_0x4c79e5[_0x307379(0x252)](_0x5ce858,this,_0x5db6c3&&_0x5db6c3[_0x307379(0x223)]),this['_mode'][_0x307379(0x2f8)]=_0x4c79e5);},'_doProcessBlock':function(_0x4cd8b3,_0x5b7628){var _0x56f9f9=_0x2b6e30;this['_mode'][_0x56f9f9(0x1c9)](_0x4cd8b3,_0x5b7628);},'_doFinalize':function(){var _0x27a97b=_0x2b6e30,_0x34eb74,_0x3a4150=this['cfg']['padding'];return this[_0x27a97b(0x3c5)]==this[_0x27a97b(0x136)]?(_0x3a4150[_0x27a97b(0x1bb)](this[_0x27a97b(0x1aa)],this[_0x27a97b(0x1a9)]),_0x34eb74=this['_process'](!0x0)):(_0x34eb74=this[_0x27a97b(0x233)](!0x0),_0x3a4150[_0x27a97b(0x34f)](_0x34eb74)),_0x34eb74;},'blockSize':0x80/0x20});var _0x2065a=_0x1d547b[_0x2b6e30(0x26e)]=_0x40620d[_0x2b6e30(0x237)]({'init':function(_0x723918){this['mixIn'](_0x723918);},'toString':function(_0x567d22){var _0x116d50=_0x2b6e30;return(_0x567d22||this[_0x116d50(0x2f9)])['stringify'](this);}}),_0x3b4340=_0x178fe6[_0x2b6e30(0x375)]={},_0x81f563=_0x3b4340['OpenSSL']={'stringify':function(_0x175df4){var _0x431301=_0x2b6e30,_0xd09767,_0x2da36e=_0x175df4['ciphertext'],_0x5ef1df=_0x175df4[_0x431301(0x2bd)];return _0x5ef1df?_0xd09767=_0x51be4b[_0x431301(0x21c)]([0x53616c74,0x65645f5f])['concat'](_0x5ef1df)['concat'](_0x2da36e):_0xd09767=_0x2da36e,_0xd09767[_0x431301(0x3df)](_0x561616);},'parse':function(_0x128bae){var _0x433848=_0x2b6e30,_0x557c36,_0x334e73=_0x561616['parse'](_0x128bae),_0x145ee7=_0x334e73[_0x433848(0x223)];return _0x145ee7[0x0]==0x53616c74&&_0x145ee7[0x1]==0x65645f5f&&(_0x557c36=_0x51be4b[_0x433848(0x21c)](_0x145ee7['slice'](0x2,0x4)),_0x145ee7[_0x433848(0x181)](0x0,0x4),_0x334e73[_0x433848(0x2a1)]-=0x10),_0x2065a[_0x433848(0x21c)]({'ciphertext':_0x334e73,'salt':_0x557c36});}},_0x4f7870=_0x1d547b[_0x2b6e30(0x199)]=_0x40620d[_0x2b6e30(0x237)]({'cfg':_0x40620d[_0x2b6e30(0x237)]({'format':_0x81f563}),'encrypt':function(_0x541c1e,_0x250da8,_0x543fdc,_0x28c033){var _0x5d9efd=_0x2b6e30;_0x28c033=this[_0x5d9efd(0x346)]['extend'](_0x28c033);var _0x2d72fa=_0x541c1e[_0x5d9efd(0x21a)](_0x543fdc,_0x28c033),_0x26588e=_0x2d72fa[_0x5d9efd(0x248)](_0x250da8),_0xd1ac8d=_0x2d72fa[_0x5d9efd(0x346)];return _0x2065a['create']({'ciphertext':_0x26588e,'key':_0x543fdc,'iv':_0xd1ac8d['iv'],'algorithm':_0x541c1e,'mode':_0xd1ac8d[_0x5d9efd(0x3af)],'padding':_0xd1ac8d[_0x5d9efd(0x241)],'blockSize':_0x541c1e[_0x5d9efd(0x1a9)],'formatter':_0x28c033[_0x5d9efd(0x375)]});},'decrypt':function(_0x122aa0,_0x3a48b7,_0x5c338f,_0x39a07f){var _0xe6025c=_0x2b6e30;_0x39a07f=this[_0xe6025c(0x346)][_0xe6025c(0x237)](_0x39a07f),_0x3a48b7=this[_0xe6025c(0x34e)](_0x3a48b7,_0x39a07f[_0xe6025c(0x375)]);var _0x9e78a4=_0x122aa0[_0xe6025c(0x182)](_0x5c338f,_0x39a07f)[_0xe6025c(0x248)](_0x3a48b7['ciphertext']);return _0x9e78a4;},'_parse':function(_0x29b7c4,_0x19fcd9){var _0x5bc5f9=_0x2b6e30;return typeof _0x29b7c4==_0x5bc5f9(0x35b)?_0x19fcd9['parse'](_0x29b7c4,this):_0x29b7c4;}}),_0x3b5813=_0x178fe6['kdf']={},_0x57da26=_0x3b5813[_0x2b6e30(0x2d6)]={'execute':function(_0xd91023,_0x54d95e,_0x345d2e,_0x5bdcc6,_0x46fcad){var _0x2bd963=_0x2b6e30;if(_0x5bdcc6||(_0x5bdcc6=_0x51be4b[_0x2bd963(0x1f8)](0x40/0x8)),_0x46fcad)var _0x56d2e2=_0x1ec076[_0x2bd963(0x21c)]({'keySize':_0x54d95e+_0x345d2e,'hasher':_0x46fcad})[_0x2bd963(0x2ca)](_0xd91023,_0x5bdcc6);else var _0x56d2e2=_0x1ec076[_0x2bd963(0x21c)]({'keySize':_0x54d95e+_0x345d2e})['compute'](_0xd91023,_0x5bdcc6);var _0x53690e=_0x51be4b['create'](_0x56d2e2['words']['slice'](_0x54d95e),_0x345d2e*0x4);return _0x56d2e2['sigBytes']=_0x54d95e*0x4,_0x2065a[_0x2bd963(0x21c)]({'key':_0x56d2e2,'iv':_0x53690e,'salt':_0x5bdcc6});}},_0x16ef54=_0x1d547b[_0x2b6e30(0x19b)]=_0x4f7870[_0x2b6e30(0x237)]({'cfg':_0x4f7870['cfg'][_0x2b6e30(0x237)]({'kdf':_0x57da26}),'encrypt':function(_0x52271e,_0x2be1f7,_0x51e249,_0x26d83f){var _0x5e3a0b=_0x2b6e30;_0x26d83f=this[_0x5e3a0b(0x346)]['extend'](_0x26d83f);var _0xdd9abc=_0x26d83f[_0x5e3a0b(0x2e1)][_0x5e3a0b(0x257)](_0x51e249,_0x52271e[_0x5e3a0b(0x264)],_0x52271e[_0x5e3a0b(0x2fa)],_0x26d83f[_0x5e3a0b(0x2bd)],_0x26d83f[_0x5e3a0b(0x3d9)]);_0x26d83f['iv']=_0xdd9abc['iv'];var _0x29a467=_0x4f7870[_0x5e3a0b(0x1ef)][_0x5e3a0b(0x252)](this,_0x52271e,_0x2be1f7,_0xdd9abc[_0x5e3a0b(0x2c4)],_0x26d83f);return _0x29a467[_0x5e3a0b(0x2ab)](_0xdd9abc),_0x29a467;},'decrypt':function(_0x34b1e5,_0x1ef2e7,_0xfe7cd,_0x4ad1e1){var _0x5188ab=_0x2b6e30;_0x4ad1e1=this['cfg'][_0x5188ab(0x237)](_0x4ad1e1),_0x1ef2e7=this[_0x5188ab(0x34e)](_0x1ef2e7,_0x4ad1e1[_0x5188ab(0x375)]);var _0x269d3e=_0x4ad1e1[_0x5188ab(0x2e1)][_0x5188ab(0x257)](_0xfe7cd,_0x34b1e5[_0x5188ab(0x264)],_0x34b1e5[_0x5188ab(0x2fa)],_0x1ef2e7[_0x5188ab(0x2bd)],_0x4ad1e1['hasher']);_0x4ad1e1['iv']=_0x269d3e['iv'];var _0x31d8d0=_0x4f7870[_0x5188ab(0x2fb)][_0x5188ab(0x252)](this,_0x34b1e5,_0x1ef2e7,_0x269d3e['key'],_0x4ad1e1);return _0x31d8d0;}});}();}));}(Je)),Je[_0x28f11e(0x1fe)];}var Vr=Ve[_0x4ba149(0x1fe)],si;function Gr(){var _0x5b119a=_0x4ba149;return si||(si=0x1,function(_0xc0bb63,_0x38ecd9){(function(_0x12672a,_0x302299,_0x3c208b){var _0x305e66=_0xe5da;_0xc0bb63[_0x305e66(0x1fe)]=_0x302299(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4fad56){var _0x33da60=_0xe5da;return(function(){var _0x22cd1e=_0xe5da,_0x1ff9ef=_0x4fad56,_0x1e0ef8=_0x1ff9ef[_0x22cd1e(0x269)],_0x42ee5d=_0x1e0ef8['BlockCipher'],_0x400cb9=_0x1ff9ef['algo'],_0x427873=[],_0x298606=[],_0x517164=[],_0x38e03b=[],_0x2fe7b4=[],_0x147381=[],_0x684d5c=[],_0x4ffa65=[],_0x424a50=[],_0x51bb91=[];(function(){for(var _0x38660e=[],_0x17c92f=0x0;_0x17c92f<0x100;_0x17c92f++)_0x17c92f<0x80?_0x38660e[_0x17c92f]=_0x17c92f<<0x1:_0x38660e[_0x17c92f]=_0x17c92f<<0x1^0x11b;for(var _0x103d77=0x0,_0x24e8b2=0x0,_0x17c92f=0x0;_0x17c92f<0x100;_0x17c92f++){var _0x355a8d=_0x24e8b2^_0x24e8b2<<0x1^_0x24e8b2<<0x2^_0x24e8b2<<0x3^_0x24e8b2<<0x4;_0x355a8d=_0x355a8d>>>0x8^_0x355a8d&0xff^0x63,_0x427873[_0x103d77]=_0x355a8d,_0x298606[_0x355a8d]=_0x103d77;var _0x30e219=_0x38660e[_0x103d77],_0x3575e0=_0x38660e[_0x30e219],_0x538173=_0x38660e[_0x3575e0],_0x38477c=_0x38660e[_0x355a8d]*0x101^_0x355a8d*0x1010100;_0x517164[_0x103d77]=_0x38477c<<0x18|_0x38477c>>>0x8,_0x38e03b[_0x103d77]=_0x38477c<<0x10|_0x38477c>>>0x10,_0x2fe7b4[_0x103d77]=_0x38477c<<0x8|_0x38477c>>>0x18,_0x147381[_0x103d77]=_0x38477c;var _0x38477c=_0x538173*0x1010101^_0x3575e0*0x10001^_0x30e219*0x101^_0x103d77*0x1010100;_0x684d5c[_0x355a8d]=_0x38477c<<0x18|_0x38477c>>>0x8,_0x4ffa65[_0x355a8d]=_0x38477c<<0x10|_0x38477c>>>0x10,_0x424a50[_0x355a8d]=_0x38477c<<0x8|_0x38477c>>>0x18,_0x51bb91[_0x355a8d]=_0x38477c,_0x103d77?(_0x103d77=_0x30e219^_0x38660e[_0x38660e[_0x38660e[_0x538173^_0x30e219]]],_0x24e8b2^=_0x38660e[_0x38660e[_0x24e8b2]]):_0x103d77=_0x24e8b2=0x1;}}());var _0x854e2f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40ae14=_0x400cb9[_0x22cd1e(0x3aa)]=_0x42ee5d[_0x22cd1e(0x237)]({'_doReset':function(){var _0x11ddb9=_0x22cd1e,_0x3fbd1f;if(!(this[_0x11ddb9(0x270)]&&this[_0x11ddb9(0x3da)]===this['_key'])){for(var _0x501c72=this[_0x11ddb9(0x3da)]=this['_key'],_0x9dcb1c=_0x501c72[_0x11ddb9(0x223)],_0x45f5e7=_0x501c72['sigBytes']/0x4,_0x1a16ee=this[_0x11ddb9(0x270)]=_0x45f5e7+0x6,_0x1f8d35=(_0x1a16ee+0x1)*0x4,_0xd1118c=this[_0x11ddb9(0x372)]=[],_0x5cf18b=0x0;_0x5cf18b<_0x1f8d35;_0x5cf18b++)_0x5cf18b<_0x45f5e7?_0xd1118c[_0x5cf18b]=_0x9dcb1c[_0x5cf18b]:(_0x3fbd1f=_0xd1118c[_0x5cf18b-0x1],_0x5cf18b%_0x45f5e7?_0x45f5e7>0x6&&_0x5cf18b%_0x45f5e7==0x4&&(_0x3fbd1f=_0x427873[_0x3fbd1f>>>0x18]<<0x18|_0x427873[_0x3fbd1f>>>0x10&0xff]<<0x10|_0x427873[_0x3fbd1f>>>0x8&0xff]<<0x8|_0x427873[_0x3fbd1f&0xff]):(_0x3fbd1f=_0x3fbd1f<<0x8|_0x3fbd1f>>>0x18,_0x3fbd1f=_0x427873[_0x3fbd1f>>>0x18]<<0x18|_0x427873[_0x3fbd1f>>>0x10&0xff]<<0x10|_0x427873[_0x3fbd1f>>>0x8&0xff]<<0x8|_0x427873[_0x3fbd1f&0xff],_0x3fbd1f^=_0x854e2f[_0x5cf18b/_0x45f5e7|0x0]<<0x18),_0xd1118c[_0x5cf18b]=_0xd1118c[_0x5cf18b-_0x45f5e7]^_0x3fbd1f);for(var _0x53d4f0=this[_0x11ddb9(0x2a8)]=[],_0x4a3d67=0x0;_0x4a3d67<_0x1f8d35;_0x4a3d67++){var _0x5cf18b=_0x1f8d35-_0x4a3d67;if(_0x4a3d67%0x4)var _0x3fbd1f=_0xd1118c[_0x5cf18b];else var _0x3fbd1f=_0xd1118c[_0x5cf18b-0x4];_0x4a3d67<0x4||_0x5cf18b<=0x4?_0x53d4f0[_0x4a3d67]=_0x3fbd1f:_0x53d4f0[_0x4a3d67]=_0x684d5c[_0x427873[_0x3fbd1f>>>0x18]]^_0x4ffa65[_0x427873[_0x3fbd1f>>>0x10&0xff]]^_0x424a50[_0x427873[_0x3fbd1f>>>0x8&0xff]]^_0x51bb91[_0x427873[_0x3fbd1f&0xff]];}}},'encryptBlock':function(_0xb7726d,_0x3bb76b){var _0x31f156=_0x22cd1e;this[_0x31f156(0x33b)](_0xb7726d,_0x3bb76b,this[_0x31f156(0x372)],_0x517164,_0x38e03b,_0x2fe7b4,_0x147381,_0x427873);},'decryptBlock':function(_0x2b7721,_0x40fae6){var _0x1b17c3=_0x22cd1e,_0x3f0c24=_0x2b7721[_0x40fae6+0x1];_0x2b7721[_0x40fae6+0x1]=_0x2b7721[_0x40fae6+0x3],_0x2b7721[_0x40fae6+0x3]=_0x3f0c24,this[_0x1b17c3(0x33b)](_0x2b7721,_0x40fae6,this[_0x1b17c3(0x2a8)],_0x684d5c,_0x4ffa65,_0x424a50,_0x51bb91,_0x298606);var _0x3f0c24=_0x2b7721[_0x40fae6+0x1];_0x2b7721[_0x40fae6+0x1]=_0x2b7721[_0x40fae6+0x3],_0x2b7721[_0x40fae6+0x3]=_0x3f0c24;},'_doCryptBlock':function(_0x5789c2,_0x1bd512,_0xd69f6f,_0x3d39c6,_0x460534,_0x579119,_0x5acb59,_0x3e2448){var _0x3287de=_0x22cd1e;for(var _0x2a3b23=this[_0x3287de(0x270)],_0x20e3e5=_0x5789c2[_0x1bd512]^_0xd69f6f[0x0],_0x133f28=_0x5789c2[_0x1bd512+0x1]^_0xd69f6f[0x1],_0x587bb7=_0x5789c2[_0x1bd512+0x2]^_0xd69f6f[0x2],_0x4cf391=_0x5789c2[_0x1bd512+0x3]^_0xd69f6f[0x3],_0x259526=0x4,_0x3cbdf1=0x1;_0x3cbdf1<_0x2a3b23;_0x3cbdf1++){var _0x5d8591=_0x3d39c6[_0x20e3e5>>>0x18]^_0x460534[_0x133f28>>>0x10&0xff]^_0x579119[_0x587bb7>>>0x8&0xff]^_0x5acb59[_0x4cf391&0xff]^_0xd69f6f[_0x259526++],_0x163e41=_0x3d39c6[_0x133f28>>>0x18]^_0x460534[_0x587bb7>>>0x10&0xff]^_0x579119[_0x4cf391>>>0x8&0xff]^_0x5acb59[_0x20e3e5&0xff]^_0xd69f6f[_0x259526++],_0x4def3c=_0x3d39c6[_0x587bb7>>>0x18]^_0x460534[_0x4cf391>>>0x10&0xff]^_0x579119[_0x20e3e5>>>0x8&0xff]^_0x5acb59[_0x133f28&0xff]^_0xd69f6f[_0x259526++],_0x354985=_0x3d39c6[_0x4cf391>>>0x18]^_0x460534[_0x20e3e5>>>0x10&0xff]^_0x579119[_0x133f28>>>0x8&0xff]^_0x5acb59[_0x587bb7&0xff]^_0xd69f6f[_0x259526++];_0x20e3e5=_0x5d8591,_0x133f28=_0x163e41,_0x587bb7=_0x4def3c,_0x4cf391=_0x354985;}var _0x5d8591=(_0x3e2448[_0x20e3e5>>>0x18]<<0x18|_0x3e2448[_0x133f28>>>0x10&0xff]<<0x10|_0x3e2448[_0x587bb7>>>0x8&0xff]<<0x8|_0x3e2448[_0x4cf391&0xff])^_0xd69f6f[_0x259526++],_0x163e41=(_0x3e2448[_0x133f28>>>0x18]<<0x18|_0x3e2448[_0x587bb7>>>0x10&0xff]<<0x10|_0x3e2448[_0x4cf391>>>0x8&0xff]<<0x8|_0x3e2448[_0x20e3e5&0xff])^_0xd69f6f[_0x259526++],_0x4def3c=(_0x3e2448[_0x587bb7>>>0x18]<<0x18|_0x3e2448[_0x4cf391>>>0x10&0xff]<<0x10|_0x3e2448[_0x20e3e5>>>0x8&0xff]<<0x8|_0x3e2448[_0x133f28&0xff])^_0xd69f6f[_0x259526++],_0x354985=(_0x3e2448[_0x4cf391>>>0x18]<<0x18|_0x3e2448[_0x20e3e5>>>0x10&0xff]<<0x10|_0x3e2448[_0x133f28>>>0x8&0xff]<<0x8|_0x3e2448[_0x587bb7&0xff])^_0xd69f6f[_0x259526++];_0x5789c2[_0x1bd512]=_0x5d8591,_0x5789c2[_0x1bd512+0x1]=_0x163e41,_0x5789c2[_0x1bd512+0x2]=_0x4def3c,_0x5789c2[_0x1bd512+0x3]=_0x354985;},'keySize':0x100/0x20});_0x1ff9ef[_0x22cd1e(0x3aa)]=_0x42ee5d['_createHelper'](_0x40ae14);}()),_0x4fad56[_0x33da60(0x3aa)];}));}(Ve)),Ve[_0x5b119a(0x1fe)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x4ba149(0x1fe)],ai;function zr(){var _0x1f4b2d=_0x4ba149;return ai||(ai=0x1,function(_0x250565,_0x481917){(function(_0x4df800,_0x23f0e0){var _0x2f8e7f=_0xe5da;_0x250565[_0x2f8e7f(0x1fe)]=_0x23f0e0(ne());}(qr,function(_0x380666){var _0x51d9e1=_0xe5da;return _0x380666[_0x51d9e1(0x37b)]['Utf8'];}));}(Xe)),Xe[_0x1f4b2d(0x1fe)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x4ba149(0x1fe)],ci;function Qr(){var _0x3ad10d=_0x4ba149;return ci||(ci=0x1,function(_0x398ce4,_0x8cf7a6){(function(_0x3c1ca1,_0x3571d0){var _0x41f25b=_0xe5da;_0x398ce4[_0x41f25b(0x1fe)]=_0x3571d0(ne());}(Zr,function(_0x463d2c){return(function(){var _0x389d12=_0xe5da;if(typeof ArrayBuffer==_0x389d12(0x12c)){var _0x1bdd31=_0x463d2c,_0x23092c=_0x1bdd31['lib'],_0x428426=_0x23092c[_0x389d12(0x15e)],_0x3eb1bb=_0x428426[_0x389d12(0x388)],_0x5a207f=_0x428426[_0x389d12(0x388)]=function(_0x246aa0){var _0x2edee5=_0x389d12;if(_0x246aa0 instanceof ArrayBuffer&&(_0x246aa0=new Uint8Array(_0x246aa0)),(_0x246aa0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x246aa0 instanceof Uint8ClampedArray||_0x246aa0 instanceof Int16Array||_0x246aa0 instanceof Uint16Array||_0x246aa0 instanceof Int32Array||_0x246aa0 instanceof Uint32Array||_0x246aa0 instanceof Float32Array||_0x246aa0 instanceof Float64Array)&&(_0x246aa0=new Uint8Array(_0x246aa0[_0x2edee5(0x294)],_0x246aa0[_0x2edee5(0x31c)],_0x246aa0[_0x2edee5(0x2b6)])),_0x246aa0 instanceof Uint8Array){for(var _0x41ef30=_0x246aa0['byteLength'],_0x3b7e8a=[],_0x40dc08=0x0;_0x40dc08<_0x41ef30;_0x40dc08++)_0x3b7e8a[_0x40dc08>>>0x2]|=_0x246aa0[_0x40dc08]<<0x18-_0x40dc08%0x4*0x8;_0x3eb1bb['call'](this,_0x3b7e8a,_0x41ef30);}else _0x3eb1bb[_0x2edee5(0x1cb)](this,arguments);};_0x5a207f['prototype']=_0x428426;}}()),_0x463d2c['lib']['WordArray'];}));}(Ze)),Ze[_0x3ad10d(0x1fe)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x442538=_0x4ba149;return hi||(hi=0x1,function(_0x3f31fd,_0x296fd2){(function(_0x3dc079,_0x44aef1,_0x35e7e4){var _0x58d6c5=_0xe5da;_0x3f31fd[_0x58d6c5(0x1fe)]=_0x44aef1(ne(),Ai());}(is,function(_0xda9990){var _0x1f7426=_0xe5da;return _0xda9990[_0x1f7426(0x1bb)][_0x1f7426(0x2b8)]={'pad':function(){},'unpad':function(){}},_0xda9990[_0x1f7426(0x1bb)][_0x1f7426(0x2b8)];}));}(Qe)),Qe[_0x442538(0x1fe)];}var rs=ns();const ss=ke(rs);function os(_0x1af832,_0x2be1a6){var _0x5b0d7f=_0x4ba149;const _0x3bdefb=_0x2be1a6-_0x1af832['length']%_0x2be1a6,_0x1af828=String[_0x5b0d7f(0x1bf)](_0x3bdefb)[_0x5b0d7f(0x409)](_0x3bdefb);return _0x1af832+_0x1af828;}function as(_0x57b944,_0x242d1e){var _0x4c3c04=_0x4ba149;const _0x28d233=ts['random'](0x10),_0x19ae80=os(_0x57b944,0x10),_0x18271f=Kr[_0x4c3c04(0x1ef)](Xr['parse'](_0x19ae80),oi[_0x4c3c04(0x3f6)](_0x242d1e),{'iv':_0x28d233,'padding':ss});return _0x28d233[_0x4c3c04(0x356)](_0x18271f[_0x4c3c04(0x1df)])[_0x4c3c04(0x3df)](oi);}function cs(){var _0x2a02a7=_0x4ba149;const _0x2083a4=_0x22ba02()[_0x2a02a7(0x2d9)];if(_0x2083a4){const _0x2d2c99={'time':Math[_0x2a02a7(0x383)](Date[_0x2a02a7(0x1c6)]()/0x3e8),'domain':location[_0x2a02a7(0x218)]};return as(JSON[_0x2a02a7(0x137)](_0x2d2c99),_0x2083a4);}}var hs=Object[_0x4ba149(0x1a2)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x374d88,_0xa68223,_0x5b329e,_0x26926d)=>{var _0x7bd4d4=_0x4ba149;for(var _0x3713c4=_0x26926d>0x1?void 0x0:_0x26926d?_s(_0xa68223,_0x5b329e):_0xa68223,_0x1ea8c8=_0x374d88[_0x7bd4d4(0x30f)]-0x1,_0x4183aa;_0x1ea8c8>=0x0;_0x1ea8c8--)(_0x4183aa=_0x374d88[_0x1ea8c8])&&(_0x3713c4=(_0x26926d?_0x4183aa(_0xa68223,_0x5b329e,_0x3713c4):_0x4183aa(_0x3713c4))||_0x3713c4);return _0x26926d&&_0x3713c4&&hs(_0xa68223,_0x5b329e,_0x3713c4),_0x3713c4;},us=(_0x476d20,_0x13fcd1)=>(_0x2eb2a4,_0x3a9425)=>_0x13fcd1(_0x2eb2a4,_0x3a9425,_0x476d20);let ot=class{constructor(_0xd8d5b3){this['_httpService']=_0xd8d5b3,this['_initRequestHeader']();}[_0x4ba149(0x352)](){var _0x5e87ff=_0x4ba149;this[_0x5e87ff(0x2f3)][_0x5e87ff(0x227)]({'interceptor':(_0x3f6603,_0x55871b)=>{var _0x5dee02=_0x5e87ff;const _0x40daa3=_0x3f6603[_0x5dee02(0x120)],_0x8b20f7=cs();return _0x8b20f7&&_0x40daa3['set'](_0x5dee02(0x1f6),_0x8b20f7),_0x55871b(_0x3f6603);}});}};ot=ls([us(0x0,_0x2b3f90(_0x3c17f9))],ot);var ds=Object[_0x4ba149(0x1a2)],fs=Object[_0x4ba149(0x362)],vs=(_0x1e611b,_0x53471b,_0x4f79d5,_0x1d7b04)=>{var _0x25b697=_0x4ba149;for(var _0x3f6970=_0x1d7b04>0x1?void 0x0:_0x1d7b04?fs(_0x53471b,_0x4f79d5):_0x53471b,_0x40b064=_0x1e611b[_0x25b697(0x30f)]-0x1,_0x57e82e;_0x40b064>=0x0;_0x40b064--)(_0x57e82e=_0x1e611b[_0x40b064])&&(_0x3f6970=(_0x1d7b04?_0x57e82e(_0x53471b,_0x4f79d5,_0x3f6970):_0x57e82e(_0x3f6970))||_0x3f6970);return _0x1d7b04&&_0x3f6970&&ds(_0x53471b,_0x4f79d5,_0x3f6970),_0x3f6970;},mt=(_0x56ca7f,_0x4bc22a)=>(_0x28b162,_0x2d87c9)=>_0x4bc22a(_0x28b162,_0x2d87c9,_0x56ca7f);let Ot=class extends _0x2cae06{constructor(_0x1a08e8,_0x5a2570,_0x462306){var _0x481e7e=_0x4ba149;super(),N(this,_0x481e7e(0x284),new _0x3a9007(null)),N(this,_0x481e7e(0x15c),this[_0x481e7e(0x284)][_0x481e7e(0x13f)]()),(this[_0x481e7e(0x393)]=_0x1a08e8,this[_0x481e7e(0x16e)]=_0x5a2570,this[_0x481e7e(0x2d4)]=_0x462306);}async['loadUnit'](_0x249549,_0x85a892,_0x4c17ba){var _0x4e6e3f=_0x4ba149;this['_unitInfo$'][_0x4e6e3f(0x23f)]({'unitId':_0x249549,'type':_0x85a892,'subUnitId':_0x4c17ba});let _0x40fb14=null;switch(_0x85a892){case Q[_0x4e6e3f(0x139)]:{_0x40fb14=await this[_0x4e6e3f(0x207)](_0x249549);break;}case Q[_0x4e6e3f(0x253)]:{_0x40fb14=await this[_0x4e6e3f(0x259)](_0x249549);break;}default:{this[_0x4e6e3f(0x393)][_0x4e6e3f(0x290)](_0x4e6e3f(0x1b2),_0x4e6e3f(0x381));break;}}return _0x40fb14;}async['_loadSheet'](_0xbc7cbc){var _0xcfdb6c=_0x4ba149,_0x5517e3;let _0x2c3c84=0x0;const _0x4ba82e=await((_0x5517e3=this['_localCacheService'])==null?void 0x0:_0x5517e3[_0xcfdb6c(0x177)](_0xbc7cbc));return _0x4ba82e&&(_0x4ba82e[_0xcfdb6c(0x1a7)]||_0x4ba82e[_0xcfdb6c(0x3db)][_0xcfdb6c(0x30f)]!==0x0)&&(_0x2c3c84=_0x4ba82e[_0xcfdb6c(0x2d0)]),_0x2c3c84===0x0&&this[_0xcfdb6c(0x393)][_0xcfdb6c(0x369)](_0xcfdb6c(0x1b2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xcfdb6c(0x16e)][_0xcfdb6c(0x3ca)](_0xbc7cbc,_0x2c3c84);}async[_0x4ba149(0x259)](_0x5bbf1a){var _0xae7808=_0x4ba149,_0x2a14ca;let _0x19e2e5=0x0;const _0x43bde8=await((_0x2a14ca=this['_localCacheService'])==null?void 0x0:_0x2a14ca[_0xae7808(0x177)](_0x5bbf1a));return _0x43bde8&&(_0x43bde8[_0xae7808(0x1a7)]||_0x43bde8[_0xae7808(0x3db)][_0xae7808(0x30f)]!==0x0)&&(_0x19e2e5=_0x43bde8[_0xae7808(0x2d0)]),_0x19e2e5===0x0&&this[_0xae7808(0x393)][_0xae7808(0x369)](_0xae7808(0x1b2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0xae7808(0x1d9)](_0x5bbf1a,_0x19e2e5);}};Ot=vs([mt(0x0,_0x55b365),mt(0x1,_0x2b3f90(_0x423221)),mt(0x2,_0x15959d(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x4ba149(0x362)],gs=(_0x47652b,_0x9a26e5,_0x2f8cdc,_0x393ad0)=>{var _0x108319=_0x4ba149;for(var _0x46d852=_0x393ad0>0x1?void 0x0:_0x393ad0?ms(_0x9a26e5,_0x2f8cdc):_0x9a26e5,_0x48ee4b=_0x47652b[_0x108319(0x30f)]-0x1,_0x27c90a;_0x48ee4b>=0x0;_0x48ee4b--)(_0x27c90a=_0x47652b[_0x48ee4b])&&(_0x46d852=(_0x393ad0?_0x27c90a(_0x9a26e5,_0x2f8cdc,_0x46d852):_0x27c90a(_0x46d852))||_0x46d852);return _0x393ad0&&_0x46d852&&ps(_0x9a26e5,_0x2f8cdc,_0x46d852),_0x46d852;},gt=(_0x5bc366,_0x4cf95c)=>(_0x33795,_0x540061)=>_0x4cf95c(_0x33795,_0x540061,_0x5bc366);const Ss=[_0x4ba149(0x1cd),_0x4ba149(0x193),_0x4ba149(0x1c3),_0x4ba149(0x291),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x4ba149(0x2eb),Ts=_0x4ba149(0x39c),Cs=_0x4ba149(0x1b6),Rs=_0x4ba149(0x236);let yt=class{constructor(_0x1a5c9e,_0x4f1edd,_0x3cfeaa){var _0x54ccc8=_0x4ba149;N(this,_0x54ccc8(0x366),0x0),N(this,_0x54ccc8(0x3b0),new _0x3a004c()),N(this,_0x54ccc8(0x1d0),this[_0x54ccc8(0x3b0)]),N(this,_0x54ccc8(0x170),new Map()),(this[_0x54ccc8(0x2f3)]=_0x1a5c9e,this[_0x54ccc8(0x25e)]=_0x4f1edd,this[_0x54ccc8(0x28a)]=_0x3cfeaa);}[_0x4ba149(0x40c)](_0x108d73){var _0x3f54ec=_0x4ba149;this[_0x3f54ec(0x366)]=_0x108d73,this[_0x3f54ec(0x3b0)][_0x3f54ec(0x23f)](_0x108d73);}['getImageSourceCache'](_0x1c2b82,_0x683912){var _0xcfb9b6=_0x4ba149;if(_0x683912===_0x98e4e8['BASE64']){const _0x575e54=new Image();return _0x575e54[_0xcfb9b6(0x392)]=_0x1c2b82,_0x575e54;}return this[_0xcfb9b6(0x170)][_0xcfb9b6(0x197)](_0x1c2b82);}[_0x4ba149(0x24b)](_0x4a5f71,_0x1f7e9f,_0x3cf601){var _0x20fa95=_0x4ba149;_0x1f7e9f===_0x98e4e8[_0x20fa95(0x39d)]||_0x3cf601==null||this['_imageSourceCache'][_0x20fa95(0x14a)](_0x4a5f71,_0x3cf601);}async[_0x4ba149(0x1ac)](_0xd8b9d0){var _0x592b55=_0x4ba149;try{const _0x4bf838=this['_replaceFileID'](this[_0x592b55(0x2cb)](),''+_0xd8b9d0),_0x30c0dd=(await this[_0x592b55(0x2f3)][_0x592b55(0x197)](_0x4bf838))[_0x592b55(0x201)];if(_0x30c0dd[_0x592b55(0x290)]&&_0x30c0dd[_0x592b55(0x290)][_0x592b55(0x164)]===Ii['OK']){const _0x50e69e=new URL(_0x30c0dd['url'],this[_0x592b55(0x3cb)]())[_0x592b55(0x3df)]();return Promise[_0x592b55(0x132)](_0x50e69e);}return Promise['reject'](_0x30c0dd[_0x592b55(0x290)]);}catch(_0xb0e0ec){return Promise[_0x592b55(0x29b)](_0xb0e0ec);}}async[_0x4ba149(0x2ef)](_0x583ed3){var _0x5ef7a8=_0x4ba149;let _0x14aeeb='';if(!Ss['includes'](_0x583ed3[_0x5ef7a8(0x204)]))return this[_0x5ef7a8(0x280)](),Promise[_0x5ef7a8(0x29b)](new Error(_0x531c1b[_0x5ef7a8(0x17c)]));if(_0x583ed3[_0x5ef7a8(0x12a)]>Es)return this[_0x5ef7a8(0x280)](),Promise[_0x5ef7a8(0x29b)](new Error(_0x531c1b['ERROR_EXCEED_SIZE']));try{const _0x3399a4=new FormData();_0x3399a4[_0x5ef7a8(0x3c8)](_0x5ef7a8(0x371),_0x583ed3);const _0x1c7b94=this[_0x5ef7a8(0x28a)][_0x5ef7a8(0x2aa)](),_0x91334c=_0x1c7b94==null?void 0x0:_0x1c7b94['getUnitId']();if(!_0x91334c)throw new Error('unitId\x20is\x20not\x20found');const _0x31d9ad=this[_0x5ef7a8(0x243)]()+_0x5ef7a8(0x2da)+_0x583ed3[_0x5ef7a8(0x12a)][_0x5ef7a8(0x3df)]()+_0x5ef7a8(0x302)+Ti[_0x5ef7a8(0x2bb)]+_0x5ef7a8(0x2e4)+encodeURIComponent(_0x91334c),_0x46c67e=await(await fetch(_0x31d9ad,{'method':_0x5ef7a8(0x357),'body':_0x3399a4}))['json']();if(typeof _0x46c67e['FileId']!=_0x5ef7a8(0x35b))return this[_0x5ef7a8(0x280)](),Promise[_0x5ef7a8(0x29b)](new Error(_0x531c1b[_0x5ef7a8(0x19f)]));_0x14aeeb=_0x46c67e[_0x5ef7a8(0x26c)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x531c1b[_0x5ef7a8(0x19f)]));}return new Promise((_0x5e4ff2,_0x46726b)=>{var _0x56f053=_0x5ef7a8;const _0x57d4ba=new FileReader();_0x57d4ba['readAsDataURL'](_0x583ed3),_0x57d4ba[_0x56f053(0x12b)]=_0xe7f03=>{var _0x4d268c=_0x56f053,_0x50f240;const _0x39df74=(_0x50f240=_0xe7f03[_0x4d268c(0x400)])==null?void 0x0:_0x50f240[_0x4d268c(0x2d8)];if(_0x39df74==null){this[_0x4d268c(0x280)](),_0x46726b(new Error(_0x531c1b[_0x4d268c(0x19f)]));return;}const _0x5ced68=_0x321eb3['generateRandomId'](0x6);_0x5e4ff2({'imageId':_0x5ced68,'imageSourceType':_0x98e4e8['UUID'],'source':_0x14aeeb,'base64Cache':_0x39df74,'status':_0x531c1b[_0x4d268c(0x134)]}),this['_decreaseWaiting']();};});}[_0x4ba149(0x243)](){var _0x4cdc2=_0x4ba149,_0x398d69,_0x59626e;const _0x29dbf7=this[_0x4cdc2(0x25e)][_0x4cdc2(0x2f6)](Is),_0x46edab=this[_0x4cdc2(0x25e)][_0x4cdc2(0x2f6)](q);return(_0x59626e=(_0x398d69=_0x46edab==null?void 0x0:_0x46edab['uploadFileServerUrl'])!=null?_0x398d69:_0x29dbf7)!=null?_0x59626e:Ts;}['_getSignURL'](){var _0x14c7ac=_0x4ba149,_0x990ab7,_0x2d44eb;const _0x1b7034=this[_0x14c7ac(0x25e)][_0x14c7ac(0x2f6)](Cs),_0x1014bf=this[_0x14c7ac(0x25e)][_0x14c7ac(0x2f6)](q);return(_0x2d44eb=(_0x990ab7=_0x1014bf==null?void 0x0:_0x1014bf[_0x14c7ac(0x310)])!=null?_0x990ab7:_0x1b7034)!=null?_0x2d44eb:Rs;}['_getDownloadEndpointURL'](){var _0x82da2b=_0x4ba149,_0x36bfc9;const _0x5f08b2=this['_configService'][_0x82da2b(0x2f6)](q);return(_0x36bfc9=_0x5f08b2==null?void 0x0:_0x5f08b2['downloadEndpointUrl'])!=null?_0x36bfc9:location['origin'];}[_0x4ba149(0x1cf)](_0x29db81,_0x37a648){var _0x3ea366=_0x4ba149;return _0x29db81['replace'](_0x3ea366(0x210),_0x37a648);}['_decreaseWaiting'](){var _0x2d2dea=_0x4ba149;this['_waitCount']-=0x1,this[_0x2d2dea(0x3b0)][_0x2d2dea(0x23f)](this[_0x2d2dea(0x366)]);}};yt=gs([gt(0x0,_0x2b3f90(_0x3c17f9)),gt(0x1,_0x50ee4f),gt(0x2,_0x2b3f90(_0x56bf2b))],yt);var bs=Object[_0x4ba149(0x1a2)],Os=Object[_0x4ba149(0x362)],ys=(_0x93db54,_0x2f16ea,_0x5106cb,_0xce5398)=>{var _0x3702d5=_0x4ba149;for(var _0x44a082=_0xce5398>0x1?void 0x0:_0xce5398?Os(_0x2f16ea,_0x5106cb):_0x2f16ea,_0x4cfe74=_0x93db54[_0x3702d5(0x30f)]-0x1,_0x440a3d;_0x4cfe74>=0x0;_0x4cfe74--)(_0x440a3d=_0x93db54[_0x4cfe74])&&(_0x44a082=(_0xce5398?_0x440a3d(_0x2f16ea,_0x5106cb,_0x44a082):_0x440a3d(_0x44a082))||_0x44a082);return _0xce5398&&_0x44a082&&bs(_0x2f16ea,_0x5106cb,_0x44a082),_0x44a082;},_i=(_0x2ebf65,_0x188754)=>(_0x3a1e13,_0x3e7fe1)=>_0x188754(_0x3a1e13,_0x3e7fe1,_0x2ebf65);const Ns=_0x4ba149(0x32e);let Nt=class{constructor(_0x4685d4,_0x5daa43){var _0x4233f1=_0x4ba149;this['_configService']=_0x4685d4,this[_0x4233f1(0x3a7)]=_0x5daa43;}[_0x4ba149(0x19e)](){var _0x507821=_0x4ba149,_0x5240b5,_0x677e6d;const _0x3b6a3a=this[_0x507821(0x25e)][_0x507821(0x2f6)](Pi),_0x2f98c3=this[_0x507821(0x25e)][_0x507821(0x2f6)](q);return(_0x677e6d=(_0x5240b5=_0x2f98c3==null?void 0x0:_0x2f98c3['authzUrl'])!=null?_0x5240b5:_0x3b6a3a)!=null?_0x677e6d:Ns;}async[_0x4ba149(0x142)](_0x316aec){var _0x214ed2=_0x4ba149;const _0x6564ce=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x214ed2(0x30b),'mentions':(await this[_0x214ed2(0x3a7)]['get'](_0x6564ce,{'params':{'objectID':_0x316aec['unitId'],'unitID':_0x316aec[_0x214ed2(0x22b)]}}))[_0x214ed2(0x201)][_0x214ed2(0x1ab)][_0x214ed2(0x3e5)](_0x452ae3=>({'objectId':_0x452ae3['id'],'name':_0x452ae3[_0x214ed2(0x27d)]['name'],'metadata':{'icon':_0x452ae3[_0x214ed2(0x27d)][_0x214ed2(0x3f0)]},'label':_0x452ae3[_0x214ed2(0x27d)][_0x214ed2(0x30a)],'objectType':_0x4e7893[_0x214ed2(0x3ba)]})),'metadata':{},'type':_0x4e7893['PERSON']}]};}};Nt=ys([_i(0x0,_0x2b3f90(_0x50ee4f)),_i(0x1,_0x2b3f90(_0x3c17f9))],Nt);var Ds=Object[_0x4ba149(0x1a2)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x326dda,_0x3b99d1,_0x56207d,_0x2ddfde)=>{var _0x9a5845=_0x4ba149;for(var _0xf6b28c=_0x2ddfde>0x1?void 0x0:_0x2ddfde?Ps(_0x3b99d1,_0x56207d):_0x3b99d1,_0x24de99=_0x326dda[_0x9a5845(0x30f)]-0x1,_0x26a42b;_0x24de99>=0x0;_0x24de99--)(_0x26a42b=_0x326dda[_0x24de99])&&(_0xf6b28c=(_0x2ddfde?_0x26a42b(_0x3b99d1,_0x56207d,_0xf6b28c):_0x26a42b(_0xf6b28c))||_0xf6b28c);return _0x2ddfde&&_0xf6b28c&&Ds(_0x3b99d1,_0x56207d,_0xf6b28c),_0xf6b28c;},Se=(_0x4fe1be,_0x2933ac)=>(_0x348a80,_0x52d2bb)=>_0x2933ac(_0x348a80,_0x52d2bb,_0x4fe1be);let at=class extends _0x2cae06{constructor(_0xafa1d3,_0x16f162,_0x4eb5f8,_0x521f7a,_0x28970a,_0x273b8e,_0x243b01){var _0x3daf42=_0x4ba149;super(),this[_0x3daf42(0x2fd)]=_0xafa1d3,this[_0x3daf42(0x28a)]=_0x16f162,this[_0x3daf42(0x176)]=_0x4eb5f8,this[_0x3daf42(0x11d)]=_0x521f7a,this[_0x3daf42(0x312)]=_0x28970a,this[_0x3daf42(0x165)]=_0x273b8e,this['_undoRedoService']=_0x243b01,this['_initUnitPermissionChange'](),this[_0x3daf42(0x33c)]();}[_0x4ba149(0x33c)](){var _0x2dcac8=_0x4ba149;const _0x1dd834=async _0x3202d1=>{var _0x34e9a5=_0xe5da;(await this[_0x34e9a5(0x11d)]['requireSession'](_0x3202d1))[_0x34e9a5(0x3c9)]['pipe'](_0xe0f0f(_0x5dda07=>_0x5dda07[_0x34e9a5(0x1d1)]===_0x35fdb4[_0x34e9a5(0x151)]),_0x27f5ec(this[_0x34e9a5(0x2f7)]))['subscribe'](_0x2fe982=>{var _0x4486b5=_0x34e9a5;const _0x197b9f=_0x2fe982,{reason:_0x213a20}=_0x197b9f[_0x4486b5(0x385)];this[_0x4486b5(0x312)][_0x4486b5(0x1da)]({'id':se['CLOSE_ROOM'],'data':_0x213a20}),this[_0x4486b5(0x176)][_0x4486b5(0x2c3)](new _0x2be386(_0x3202d1)['id'],!0x1),this[_0x4486b5(0x11d)][_0x4486b5(0x17f)](_0x3202d1);});};_0x2913f0(this[_0x2dcac8(0x28a)]['getTypeOfUnitAdded$'](_0x5431e3[_0x2dcac8(0x139)]),this[_0x2dcac8(0x28a)][_0x2dcac8(0x3ac)](_0x5431e3['UNIVER_DOC']))[_0x2dcac8(0x2a7)](_0x112764(_0x5d235f=>_0x5d235f['getUnitId']()),_0xe0f0f(_0x1842a0=>!_0x35e70e(_0x1842a0)),_0x27f5ec(this[_0x2dcac8(0x2f7)]))[_0x2dcac8(0x341)](_0x2c0f1f=>{_0x1dd834(_0x2c0f1f);});}[_0x4ba149(0x1c5)](){var _0x2552a3=_0x4ba149;const _0x3595fd=async _0x24b6d9=>{var _0x374699=_0xe5da;const _0xb86302=await this[_0x374699(0x11d)][_0x374699(0x1d5)](_0x24b6d9),_0x480ea6=this[_0x374699(0x2fd)][_0x374699(0x197)](_0x112ae3);_0xb86302[_0x374699(0x3c9)][_0x374699(0x2a7)](_0xe0f0f(_0x459aaa=>_0x459aaa[_0x374699(0x1d1)]===_0x35fdb4[_0x374699(0x3a0)]),_0x27f5ec(this['dispose$']))[_0x374699(0x341)](_0x1b9631=>{var _0x26c59e=_0x374699;const _0x28a488=_0x1b9631,{objectId:_0x363120}=_0x28a488['data'];_0x363120===_0x24b6d9?_0x480ea6[_0x26c59e(0x149)](_0x24b6d9):_0x480ea6[_0x26c59e(0x2f0)](_0x24b6d9,_0x363120);});};_0x2913f0(this[_0x2552a3(0x28a)][_0x2552a3(0x3ac)](_0x5431e3[_0x2552a3(0x139)]),this[_0x2552a3(0x28a)]['getTypeOfUnitAdded$'](_0x5431e3[_0x2552a3(0x253)]))[_0x2552a3(0x2a7)](_0x112764(_0x36f89f=>_0x36f89f['getUnitId']()),_0xe0f0f(_0x125805=>!_0x35e70e(_0x125805)),_0x27f5ec(this[_0x2552a3(0x2f7)]))['subscribe'](_0x1a3161=>{_0x3595fd(_0x1a3161);});}};at=ws([Se(0x0,_0x2b3f90(_0x131b89)),Se(0x1,_0x56bf2b),Se(0x2,_0x54fe15),Se(0x3,_0x2b3f90(Le)),Se(0x4,_0x2b3f90(pe)),Se(0x5,_0x5dc6cb),Se(0x6,_0x5aed67)],at);var Us=Object[_0x4ba149(0x1a2)],As=Object['getOwnPropertyDescriptor'],xs=(_0x191949,_0x7be879,_0x4f867b,_0x5129d4)=>{var _0x272136=_0x4ba149;for(var _0x226dfa=_0x5129d4>0x1?void 0x0:_0x5129d4?As(_0x7be879,_0x4f867b):_0x7be879,_0x3f6437=_0x191949[_0x272136(0x30f)]-0x1,_0x397201;_0x3f6437>=0x0;_0x3f6437--)(_0x397201=_0x191949[_0x3f6437])&&(_0x226dfa=(_0x5129d4?_0x397201(_0x7be879,_0x4f867b,_0x226dfa):_0x397201(_0x226dfa))||_0x226dfa);return _0x5129d4&&_0x226dfa&&Us(_0x7be879,_0x4f867b,_0x226dfa),_0x226dfa;},li=(_0x1cf148,_0x5004b7)=>(_0x296a60,_0xc6a563)=>_0x5004b7(_0x296a60,_0xc6a563,_0x1cf148);let Dt=class{constructor(_0x1e4cc3,_0x4ebaea){var _0x39deb6=_0x4ba149;this[_0x39deb6(0x25e)]=_0x1e4cc3,this['_httpService']=_0x4ebaea;}async['getUnitOnRev'](_0x43b56f,_0x510164){var _0x1ff4e8=_0x4ba149,_0x565238;const {unitID:_0x47d34a,type:_0x1b8d09,revision:_0x13403b=0x0}=_0x510164,_0x50e399=this[_0x1ff4e8(0x334)]()+'/'+_0x1b8d09+_0x1ff4e8(0x255)+_0x47d34a+_0x1ff4e8(0x24c)+_0x13403b,_0x118929=(await this[_0x1ff4e8(0x2f3)][_0x1ff4e8(0x197)](_0x50e399))[_0x1ff4e8(0x201)],_0x5dc4c0=(_0x565238=_0x118929['snapshot'])==null?void 0x0:_0x565238['workbook'];if(_0x5dc4c0){const _0x1b8f38=_0x5dc4c0==null?void 0x0:_0x5dc4c0['originalMeta'],_0x490786=_0xe72d77[_0x1ff4e8(0x324)](_0x18ddbb(_0x1b8f38));_0x5dc4c0[_0x1ff4e8(0x35c)]=_0x490786,Object[_0x1ff4e8(0x25c)](_0x5dc4c0[_0x1ff4e8(0x202)])[_0x1ff4e8(0x1e5)](([,_0x5687b1])=>{var _0x8ea311=_0x1ff4e8;const _0x5a89f5=_0x5687b1[_0x8ea311(0x35c)],_0x3dd7d6=_0xe72d77[_0x8ea311(0x324)](_0x18ddbb(_0x5a89f5));_0x5687b1['originalMeta']=_0x3dd7d6;});}return _0x118929;}async['getSheetBlock'](_0x47f6e4,_0x4a4073){var _0x1eed95=_0x4ba149;const {unitID:_0x417a93,type:_0x244fc,blockID:_0x2180d6}=_0x4a4073,_0x3b544b=this['_getAPIPrefix']()+'/'+_0x244fc+_0x1eed95(0x255)+_0x417a93+_0x1eed95(0x272)+_0x2180d6;return(await this['_httpService'][_0x1eed95(0x197)](_0x3b544b))[_0x1eed95(0x201)];}async[_0x4ba149(0x2ae)](_0x53b446,_0x20eb1e){var _0x46983a=_0x4ba149;const {unitID:_0x50cc36,type:_0x8e5ba2,blockID:_0x690ece}=_0x20eb1e,_0x26951c=this[_0x46983a(0x331)]()+'/block/'+_0x8e5ba2+_0x46983a(0x255)+_0x50cc36+_0x46983a(0x272)+_0x690ece;return(await this[_0x46983a(0x2f3)][_0x46983a(0x197)](_0x26951c))['body'];}async['fetchMissingChangesets'](_0x29adeb,_0xa44f8a){var _0x44e563=_0x4ba149;const {unitID:_0x2af11d,type:_0x3162be,from:_0x244fd9,to:_0x37721d}=_0xa44f8a,_0x44346f=this[_0x44e563(0x331)]()+'/'+_0x3162be+'/unit/'+_0x2af11d+_0x44e563(0x3e1)+_0x244fd9+'&to='+_0x37721d;return(await this[_0x44e563(0x2f3)][_0x44e563(0x197)](_0x44346f))[_0x44e563(0x201)];}[_0x4ba149(0x334)](){var _0xcc58e6=_0x4ba149,_0x442c88;return(_0x442c88=this[_0xcc58e6(0x25e)][_0xcc58e6(0x2f6)](Tn))!=null?_0x442c88:this[_0xcc58e6(0x331)]();}[_0x4ba149(0x331)](){var _0x27b59e=_0x4ba149,_0x55c192,_0x589814;const _0x594055=this['_configService'][_0x27b59e(0x2f6)](En),_0x54931e=this[_0x27b59e(0x25e)]['getConfig'](q);return(_0x589814=(_0x55c192=_0x54931e==null?void 0x0:_0x54931e['snapshotServerUrl'])!=null?_0x55c192:_0x594055)!=null?_0x589814:In;}async[_0x4ba149(0x221)](_0x4b6085,_0x4161ab){var _0x224cf5=_0x4ba149;const _0x520742=_0x224cf5(0x3b3)+_0x4161ab[_0x224cf5(0x204)]+_0x224cf5(0x255)+_0x4161ab[_0x224cf5(0x3c4)]+_0x224cf5(0x353);return(await this[_0x224cf5(0x2f3)][_0x224cf5(0x197)](_0x520742,{'params':{'resourceId':JSON[_0x224cf5(0x137)](_0x4161ab[_0x224cf5(0x2c8)])}}))[_0x224cf5(0x201)];}['saveSnapshot'](){var _0x35656c=_0x4ba149;throw new Error(_0x35656c(0x407));}[_0x4ba149(0x2ac)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ba149(0x3be)](){var _0x5d4996=_0x4ba149;throw new Error(_0x5d4996(0x407));}[_0x4ba149(0x209)](){var _0x338fd8=_0x4ba149;throw new Error(_0x338fd8(0x407));}[_0x4ba149(0x38d)](){var _0x17045b=_0x4ba149;throw new Error(_0x17045b(0x407));}};Dt=xs([li(0x0,_0x50ee4f),li(0x1,_0x2b3f90(_0x3c17f9))],Dt);var Ls=Object[_0x4ba149(0x1a2)],Ms=Object[_0x4ba149(0x362)],$s=(_0x8c551c,_0x1f3e53,_0x312b24,_0x1daaf2)=>{var _0x27afa3=_0x4ba149;for(var _0x578a13=_0x1daaf2>0x1?void 0x0:_0x1daaf2?Ms(_0x1f3e53,_0x312b24):_0x1f3e53,_0x2490d0=_0x8c551c[_0x27afa3(0x30f)]-0x1,_0x596a9b;_0x2490d0>=0x0;_0x2490d0--)(_0x596a9b=_0x8c551c[_0x2490d0])&&(_0x578a13=(_0x1daaf2?_0x596a9b(_0x1f3e53,_0x312b24,_0x578a13):_0x596a9b(_0x578a13))||_0x578a13);return _0x1daaf2&&_0x578a13&&Ls(_0x1f3e53,_0x312b24,_0x578a13),_0x578a13;},Ae=(_0x2d5195,_0x582622)=>(_0x378618,_0x5ece57)=>_0x582622(_0x378618,_0x5ece57,_0x2d5195);let Pt=class extends _0x338730{constructor(_0x1f2e3f,_0x3f7bdc,_0x307513,_0x2d5892,_0x13bc1c){var _0x4727a6=_0x4ba149;super(_0x1f2e3f,_0x3f7bdc,_0x307513),this[_0x4727a6(0x379)]=_0x2d5892,this[_0x4727a6(0x393)]=_0x13bc1c;}[_0x4ba149(0x332)](_0xd67adb,_0x2f3b82){var _0xb9542f=_0x4ba149;const _0x1b8684=this[_0xb9542f(0x2be)](_0xd67adb);if(_0x1b8684)try{const _0x267e23=this[_0xb9542f(0x3f1)](_0x1b8684,_0x2f3b82);this[_0xb9542f(0x3ad)](_0xd67adb,_0x267e23);}catch(_0x34faac){this['_logService']['error'](_0xb9542f(0x391),_0x34faac),this[_0xb9542f(0x1eb)](_0xd67adb);}const _0x1c70ef=this['_getRedoStack'](_0xd67adb);if(_0x1c70ef)try{const _0x3beec2=this[_0xb9542f(0x3f1)](_0x1c70ef,_0x2f3b82);this[_0xb9542f(0x1e4)](_0xd67adb,_0x3beec2);}catch(_0x165b55){this[_0xb9542f(0x393)]['error'](_0x165b55),this[_0xb9542f(0x367)](_0xd67adb);}}[_0x4ba149(0x1eb)](_0x415496){const _0x4c94b9=this['_getUndoStack'](_0x415496);_0x4c94b9&&(_0x4c94b9['length']=0x0,this['_updateStatus']());}[_0x4ba149(0x367)](_0x5b91ea){var _0x176aef=_0x4ba149;const _0x1e0bf3=this[_0x176aef(0x238)](_0x5b91ea);_0x1e0bf3&&(_0x1e0bf3[_0x176aef(0x30f)]=0x0,this[_0x176aef(0x3ef)]());}[_0x4ba149(0x3ad)](_0x53c97e,_0x295dbb){var _0x55127e=_0x4ba149;this[_0x55127e(0x1e8)]['set'](_0x53c97e,_0x295dbb),this[_0x55127e(0x3ef)]();}['_substituteRedoStack'](_0x4671b3,_0x52cd02){var _0x158b0c=_0x4ba149;this[_0x158b0c(0x3d7)][_0x158b0c(0x14a)](_0x4671b3,_0x52cd02),this[_0x158b0c(0x3ef)]();}[_0x4ba149(0x3f1)](_0x2814e,_0x1cde62){var _0x21a569=_0x4ba149;const _0x4348fc=[];let _0x1c7bd4=_0x1cde62,_0x10e7b5=_0x1cde62;for(let _0x1862c4=_0x2814e[_0x21a569(0x30f)]-0x1;_0x1862c4>=0x0;_0x1862c4--){const {unitID:_0x122435,undoMutations:_0x19b1fe,redoMutations:_0x5d8250}=_0x2814e[_0x1862c4],_0xca6c8=this[_0x21a569(0x379)][_0x21a569(0x2a2)](_0x1c7bd4,_0x19b1fe),_0x277db0=this[_0x21a569(0x379)]['transformMutationsWithChangeset'](_0x10e7b5,_0x5d8250);if(_0x4f0286(_0xca6c8)||_0x4f0286(_0x277db0)){this[_0x21a569(0x393)][_0x21a569(0x290)](_0x21a569(0x391),_0x21a569(0x20b),_0xca6c8,_0x277db0);break;}_0x1c7bd4=_0xca6c8[_0x21a569(0x31b)],_0x10e7b5=_0x277db0[_0x21a569(0x31b)],_0x4348fc['push']({'unitID':_0x122435,'undoMutations':_0xca6c8[_0x21a569(0x1ec)],'redoMutations':_0x277db0[_0x21a569(0x1ec)]});}return _0x4348fc['reverse']();}};Pt=$s([Ae(0x0,_0x56bf2b),Ae(0x1,_0x3fb355),Ae(0x2,_0x37329e),Ae(0x3,_0x4a82f5),Ae(0x4,_0x55b365)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x4ba149(0x362)],ks=(_0x2f8d04,_0xe2fe6e,_0x3b57bd)=>_0xe2fe6e in _0x2f8d04?xi(_0x2f8d04,_0xe2fe6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b57bd}):_0x2f8d04[_0xe2fe6e]=_0x3b57bd,js=(_0x28b315,_0x4ed9a5,_0x4b839b,_0x55a023)=>{for(var _0x5d4751=_0x55a023>0x1?void 0x0:_0x55a023?Hs(_0x4ed9a5,_0x4b839b):_0x4ed9a5,_0x214873=_0x28b315['length']-0x1,_0x5af99f;_0x214873>=0x0;_0x214873--)(_0x5af99f=_0x28b315[_0x214873])&&(_0x5d4751=(_0x55a023?_0x5af99f(_0x4ed9a5,_0x4b839b,_0x5d4751):_0x5af99f(_0x5d4751))||_0x5d4751);return _0x55a023&&_0x5d4751&&xi(_0x4ed9a5,_0x4b839b,_0x5d4751),_0x5d4751;},St=(_0x1b900a,_0x345022)=>(_0x3bc29a,_0x14a0ea)=>_0x345022(_0x3bc29a,_0x14a0ea,_0x1b900a),Bs=(_0x2bee48,_0x42a1b5,_0x4146e3)=>ks(_0x2bee48,_0x42a1b5+'',_0x4146e3);const Fs=_0x4ba149(0x271);let wt=class extends _0x488891{constructor(_0x531fe3=Wt,_0x1c5d36,_0x19e374,_0x55d2c2){var _0x10762c=_0x4ba149;super(),this[_0x10762c(0x3f4)]=_0x531fe3,this[_0x10762c(0x393)]=_0x1c5d36,this[_0x10762c(0x2fd)]=_0x19e374,this[_0x10762c(0x25e)]=_0x55d2c2;const {..._0x1aaafa}=_0x48ccb0({},Wt,this[_0x10762c(0x3f4)]);this['_configService'][_0x10762c(0x276)](q,_0x1aaafa);}[_0x4ba149(0x342)](){var _0x564a4f=_0x4ba149;this[_0x564a4f(0x168)](),this[_0x564a4f(0x410)]();}[_0x4ba149(0x168)](){var _0x21a0a5=_0x4ba149,_0x5c6c57,_0x4e83e2,_0x389e77,_0x1f8f40;this['_injector'][_0x21a0a5(0x378)](_0x5aed67)&&this[_0x21a0a5(0x393)][_0x21a0a5(0x290)]('[UniverCollaborationClientPlugin]',_0x21a0a5(0x25f));const _0x4624d4=_0x55e38a([[_0x5aed67,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x4e83e2=(_0x5c6c57=this[_0x21a0a5(0x3f4)])==null?void 0x0:_0x5c6c57[_0x21a0a5(0x26d)])!=null?_0x4e83e2:Et}],[_0x52a689,{'useClass':Dt}],[_0x5dc6cb,{'useClass':bt}],[_0x9c0998,{'useClass':yt}],[_0x3bda93,{'useClass':Nt}],[rt],[Rt]],(_0x389e77=this[_0x21a0a5(0x3f4)])==null?void 0x0:_0x389e77[_0x21a0a5(0x2b2)]);if(!((_0x1f8f40=this[_0x21a0a5(0x3f4)])!=null&&_0x1f8f40[_0x21a0a5(0x355)])){const _0x14c088=_0x4624d4[_0x21a0a5(0x250)](([_0x2a64de])=>_0x2a64de===ht);_0x14c088!==-0x1&&_0x4624d4[_0x21a0a5(0x181)](_0x14c088,0x1);}_0x5d22fb(this[_0x21a0a5(0x2fd)],_0x4624d4);}[_0x4ba149(0x410)](){var _0x30e281=_0x4ba149,_0x17e20f,_0x34bb2a,_0x3c5481;this[_0x30e281(0x2fd)][_0x30e281(0x197)](_0x3c17f9)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x40b823({'maxParallel':0x6})}),(_0x17e20f=this[_0x30e281(0x3f4)])!=null&&_0x17e20f['enableOfflineEditing']||(_0x34bb2a=this[_0x30e281(0x2fd)][_0x30e281(0x197)](J,_0x1d6dd4['OPTIONAL']))==null||_0x34bb2a['disableLocalCache'](),(_0x3c5481=this[_0x30e281(0x3f4)])!=null&&_0x3c5481[_0x30e281(0x28e)]&&_0x4be878(this['_injector'],[[st]]),_0x4be878(this[_0x30e281(0x2fd)],[[ot],[rt],[at]]);}};Bs(wt,_0x4ba149(0x340),Fs),wt=js([_0x464d16(_0x548315,_0x1d7a7d,_0x43c03b),St(0x1,_0x55b365),St(0x2,_0x2b3f90(_0x131b89)),St(0x3,_0x50ee4f)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x266d6a=_0x32b0;(function(_0x4bb4aa,_0x2225c9){var _0x42d233=_0x32b0,_0x5847b8=_0x4bb4aa();while(!![]){try{var _0x353215=parseInt(_0x42d233(0x118))/0x1+-parseInt(_0x42d233(0x1dc))/0x2+-parseInt(_0x42d233(0xb1))/0x3*(-parseInt(_0x42d233(0x30c))/0x4)+-parseInt(_0x42d233(0x295))/0x5*(parseInt(_0x42d233(0x306))/0x6)+-parseInt(_0x42d233(0x22e))/0x7*(parseInt(_0x42d233(0x377))/0x8)+-parseInt(_0x42d233(0x37c))/0x9+parseInt(_0x42d233(0xf7))/0xa;if(_0x353215===_0x2225c9)break;else _0x5847b8['push'](_0x5847b8['shift']());}catch(_0x21a4a4){_0x5847b8['push'](_0x5847b8['shift']());}}}(_0x1819,0x3f465));var Li=Object[_0x266d6a(0x348)],Mi=(_0x4fb09d,_0x569826,_0x47f0f5)=>_0x569826 in _0x4fb09d?Li(_0x4fb09d,_0x569826,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47f0f5}):_0x4fb09d[_0x569826]=_0x47f0f5,N=(_0x4e66d9,_0xaeda15,_0x2fa17c)=>Mi(_0x4e66d9,typeof _0xaeda15!='symbol'?_0xaeda15+'':_0xaeda15,_0x2fa17c);import{createIdentifier as _0x33e67c,Inject as _0x3aecb8,Injector as _0x2c853e,Disposable as _0x3a5054,DisposableCollection as _0x10df5e,toDisposable as _0xdf59bc,IConfigService as _0x50d22f,ILogService as _0x32e90f,UserManagerService as _0x408c6a,UniverInstanceType as _0x1704f1,IUniverInstanceService as _0x51410d,LocaleService as _0x435956,Optional as _0x10484d,RxDisposable as _0x30423e,Tools as _0x168b57,Rectangle as _0x5374a6,ICommandService as _0x992005,JSONX as _0x3b1fa4,CommandType as _0x2e04dc,IPermissionService as _0x51ea27,IUndoRedoService as _0x14db79,sequenceExecute as _0x4b2640,Workbook as _0x55980d,MentionType as _0x10956a,IAuthzIoService as _0x306ca6,isInternalEditorID as _0x4e2914,LocalUndoRedoService as _0x1fd800,IContextService as _0x2cd254,DependentOn as _0x24c317,Plugin as _0x306814,merge as _0x30b93b,mergeOverrideWithDependencies as _0x1f3f09,IMentionIOService as _0x1c0675,registerDependencies as _0x1de712,Quantity as _0x2fb5e9,touchDependencies as _0x13e6ca}from'@univerjs/core';import{Subject as _0x28cffd,merge as _0x8c72df,of as _0x79b5bb,BehaviorSubject as _0x3c994e,takeUntil as _0xb104c1,ReplaySubject as _0x445737,take as _0x183959,map as _0x2ec3fa,shareReplay as _0x1ff5fc,firstValueFrom as _0x612eef,concatMap as _0x76e0b5}from'rxjs';import{map as _0x329cb1,take as _0x3cc55,filter as _0x5268d3,delay as _0x4dd430,takeUntil as _0x173f2e}from'rxjs/operators';import{HTTPService as _0x4c8e56,ISocketService as _0x249e1d,MergeInterceptorFactory as _0x31be01,HTTPRequest as _0x516925,UniverNetworkPlugin as _0x317d1c,ThresholdInterceptorFactory as _0x5a3231}from'@univerjs/network';import{CollaborationEvent as _0x3ef1ce,parseChangesetToProtocol as _0x4c9569,ISnapshotServerService as _0x11b90e,isTransformMutationsWithChangesetSuccess as _0x54c294,ITransformService as _0x2457b6,mapDocumentTypeToUniverType as _0x2c4ce7,RevisionService as _0x4444b4,isTransformChangesetsSuccess as _0x17a425,CompressMutationService as _0xe509a4,parseProtocolChangeset as _0x4f458d,SnapshotService as _0x4c25eb,textEncoder as _0xc34d3,b64DecodeUnicode as _0x32fe1f,isTransformMutationsWithChangesetFailure as _0x146363,UniverCollaborationPlugin as _0x1a4a25}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x46bfb4}from'@univerjs/telemetry';function _0x1819(){var _0x4eccae=['HttpExport','result','kdf','CLOSE_ROOM','/resources','WordArray','failed\x20to\x20apply\x20missed\x20changesets!','/universer-api/user/session-ticket','_keySchedule','_getCurrentRevision','OFFLINE','cfg','LOGIN_URL_KEY','_getCtorByUniverType','code','_onMessage','LIVESHARE_REQUEST_HOST','SUBMIT_CHANGESET_TIMEOUT','image/png','emitEvent','concat','file','has','COMPRESS_MUTATION_APPLY','_socket$','univer-pro.collaboration-client-socket-service','_state$','onMissedChangesetFetched','OpenSSL','?size=','[CollaborationUndoRedoService]','UPDATE_CURSOR','\x20to\x20','resend','uniscriptRunEvent','_imageSourceCache','_onUserJoin','post','APPLY_DUPLICATED','session.room-full','hasOwnProperty','Decryptor','_onFetchMissResult','conflict','LIVESHARE_FETCH_OPERATIONS','_getDownloadEndpointURL','string','_data','_syncEditingCollabCursor','src','_process','init','responseType','FileId','subscribe','onRemoteAck','_substituteRedoStack','image/gif','_resendTimer','_clearLocalCache','updatePermissionPoint','_handlerCallback','_sheetTransformSelectionsService','onSyncEditingCollabCursor','listCollaborators','_instanceService','LICENSE_MAX_UNITS_EXCEEDED','transformStack\x20failed!','ciphertext','fetchThroughInterceptors','_scheduleCollaborationTimeoutTimer','getDeserializedSheetBlock','reset','747012WwPAza','setWaitCount','/block/','SNAPSHOT_HAS_BEEN_REMOVED','_revisionService','action','_permissionService','NOT_FOUND','PSEUDO_FETCH_MISSING_RESULT','ENSURE_SNAPSHOT_EXECUTION','sheets','_onJoinRoomEvent','_fetchMissChangesets','_emitMembers','_univerInstanceService','/universer-api/file/{fileID}/sign-url','_getSessionTicket','_queuedRemoteChangesets','add','getCurrentRevOfUnit','bind','BufferedBlockAlgorithm','_commentUpdate$','/new_changes','members$','_replaceFileID','onRemoteRej','_collaborationSessionService','/universer-api/comb','actions','RETRY_CONNECTING_MAX_COUNT','_xformMode','_clearHeartbeatTimer','requestParams','byteOffset','onload','_clearCollaborationTimeoutTimer','session.room-not-exists','create','reconnect','update','HMAC','map','now','CBC','awaiting_with_pending','iterations','_createHelper','_key','_transitionLocked','[PendingState]:\x20unhandled\x20univer\x20type:\x20','collaboration-client.local-cache-service','_toggleOffline','toggleOffline','createDecryptor','CHANGESET_REVISION_CONFILICT','_sendHeartbeat','allowed','snapshot','joinEvent','_doCryptBlock','JOINING','status','_eventService','_clearRedo','unitId','_undoRedoService','fromCharCode','UNKNOWN_CMD','Undefined','executeCommand','ticket','_collabSessionService','unit-cache-','blockSize','isPermissionRej','HmacMD5','_map','setConfig','_unlockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','_onOffline','2588754LSMyNi','unknown','_transformSelections','workbook','_HTTPService','UNIVER_SLIDE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_members$','mutations','_createInitialStateImpl','onTransformIME','waitForRoom$','getImage','CipherParams','charCodeAt','INVALID_ARGUMENT','params','TOO_MANY_REQUESTS','BlockCipher','encode','DEFAULT_FILE_NAME','getOwnPropertyDescriptor','open$','change$','_reverseMap','_getSignURL','_applyRemoteChangeset','/object/','abs','__esModule','_redoStacks','Base64','updateCursorEvent','_getLoginPath','state','CHANGESET_ACK','_onRemoteChangeset','_loadSheet','delete','encryptBlock','?url=','saveChangeset','transformUndoRedo','hostname','UPDATE_PERMISSION_OBJ','rev','Base','permissionRejEvent','collaboration_new_changeset','fetchMissingChangesets','/universer-api/snapshot/','_decreaseWaiting','put','_state','onStarting','getInterceptPoints','method','_resendWithTimeout','getCollabEntity$','_roomMembers','UNIVER_UNKNOWN','_initCloseConn','_retryCount','_onCombEvent','origin','unitId\x20is\x20not\x20found','encodeURIComponent','not_collab','OTHER_CLIENTS_EDITING','_updateStatus','_onConflict','_doReset','m2Prime','textRanges','readAsDataURL','commentUpdateEvent','_members','offline','MSG_FOR_ERROR','unsubscribe','parse','/universer-api/stream/file/upload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','replace','_transformStateCache','includes','_onLocalMutation','_sessionStatus$','pending','\x0aCurrent:\x20','[DataLoaderService]','Hasher','SNAPSHOT_INVALID_SNAPSHOT','_doFinalize','lib','_status$','default','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','withCredentials','getRandomValues','patch','_authzIoService','finalize','4295Vnhlzm','_schedule','transformSelections','localCacheService','_waitCount','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_disableEditing','[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.','duration','_init','call','HEARTBEAT','getMemberID','auth.needGotoLoginAlert','_invKeySchedule','_throwTelemetryCollaborationNewChangeset','getValue','AUTHZ_URL_KEY','error$','_httpService','type','function','debug','equals','sessionStatus','HEARTBEAT_INTERVAL','_getAPIPrefixPath','next','fetchMiss','charAt','/unit/','/universer-api/snapshot','/-/object/list','_listenToNetworkCondition','_createHandler','[CollaborationSessionService]','getSheetBlock','onTransformState','then','liveShareNewHost','awaiting','sendChangesetTimeout','getWorkbookSelections','_roomCreated$','_undoStacks','capture','_localeService','_singleActiveUnitService','exports','getMember','event$','_getRedoStack','getCurrentUser','_createSocket','_unitInfo$','getRoom','BASE64','state$','Univer','_incrementRevisionNumber','/collaborator','_submitChangeset','UnitSnapshot','_telemetryService','cmd','randomBytes','originalMeta','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','session.join-failed','selections','entries','_substituteUndoStack','transformChangesets','min','_timeoutTimer','interceptor','USERS_ENTER','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','compose','image/bmp','FETCH_MISSING','_transformService','socket$','c1Prime','execute','body','uploadFileServerUrl','_oKey','{fileID}','json','_socket','fetch_missing','awaitingChangeset','_onConnectionFailed','SUBMIT_CHANGESET','SHA1','MUTATION','LEAVE','\x0aAfter:\x20','_initRequestHeader','reverse','SNAPSHOT_SERVER_URL_KEY','getTime','name','_socketService','data','getCollabEntity','error','_getUndoStack','set','_localCacheService','_updateLocalCache','editingUnit','78SnRXoW','/role','_tryReconnect','repeat','_acknowledgedAwaitingChangeset','_ENC_XFORM_MODE','614820fnsyET','HEARTBEAT_TIMEOUT','_createHmacHelper','isArray','message$','_networkConditionService','$super','sigBytes','image/jpeg','PERSON','SYNCED','catch','_onConnectionOpen','_rescheduleHeartbeat','onTransformRemoteChangesetByStateCache','_iKey','_initUnitPermissionChange','\x20-\x20','substr','_getUploadFileURL','searchParams','JOIN_ROOM_FAILED','_scheduleCompleteTimestamp','enableOfflineEditing','_memberService','_entityInit$','COMMENT_UPDATE','_onRecvEvent','_snapshotService','collabWebSocketUrl','OPTIONAL','_sendingTimer','objectActions','encrypt','getResourcesRequest','byteLength','UNIVER_DOC','reject','getTypeOfUnitDisposed$','UNIVER_PROJECT','APPLY_REVISION_CONFILICT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNKNOWN_CODE','onTransformRemoteChangesetByIMECache','_createInitialState','IDLE','eventID','generateRandomId','LOCAL_CACHE_INTERVAL','_transformStack','_transformRemoteChangesetByIMECache','setCurrentUser','splice','_event$','formatter','clear','_joinRoom','_sendHeartbeatTimer','headers','onRemoteRetry','defineProperty','decryptBlock','batchAllowed','_startCollaboration','UNIVER_SHEET','format','hasher','_sessions','COLLAB_WEB_SOCKET_URL','YUUMI_URL_COL_OUT_OF_RANGE','_getSendChangesetTimeout','joinRsp','addImageSourceCache','updateOfflineData','[CollaborationState]:\x20apply\x20error!','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','dispose','_hash','collaborators','loadOfflineData','&to=','YUUMI_UNABLE_LOAD_URL','MD5','_updateState','_compressMutationService','_injector','HELLO','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_handler','onLocalMutation','max','SUCCUSS','NO_OTHER_CLIENTS_EDITING','socketService','clone','list','_tryEnsureSocket','ivSize','avatar','Utf8','prototype','size','enc','NEW_CHANGESETS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_configService','8GxZOrc','getUnitType','PERMISSION_DENIED','_onRemoteRetry','keySize','3490767cQZgMa','&assign=','APPLY_NON_SEQUENTIAL_REVISION','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE_TYPE','subUnitId','connection\x20error','HttpImport','/rev/','Pkcs7','get','BlockCipherMode','_lockTransition','[OfflineState]:\x20received\x20acknowledgement.','_config','submit\x20changeset\x20error!','unitInfo$','/fetchmissing?from=','JOIN_ROOM_NOT_EXISTS','getImageSourceCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commandService','_userManagerService','&source=','_getAPIPrefix','_isPermissionRej','objectID','PY_RUNTIME_SCRIPT_ERROR','_iv','clamp','location','UNRECOGNIZED','toString','x-univer-host','_exhaustRemoteChangesetQueue','listRoles','_onUserLeave','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_http','_append','reqId','_sender','sid','_telemetryInfo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','enableAuthServer','[FetchMissState]','randomUUID','_cipher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','reduce','extend','push','ALREADY_EXISTS','EvpKDF','runId','_candidateSocket','findIndex','RECV','pipe','telemetry\x20info\x20is\x20not\x20initialized','_replayCachedMutations','sin','href','wsSessionTicketUrl','univer-pro.collaboration-client.network-condition.service','_socketMessageSubscription','_showConflictNotification','ERROR_IMAGE','_unitID','9iDJzvs','padding','every','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_stopTelemetryCollaborationNewChangeset','Hex','_toggleOnline','_changesetSessionId','fromCollab','algo','unpad','__creator','INTERNAL_ERROR','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_collaborationUIEventService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','FAIL','[CollaborationSession]','_clearUndo','deepClone','_entities','onMissingChangesets','buffer','revision','_shouldReportTelemetry','signUrlServerUrl','saveSnapshot','_change$','SerializableCipher','getUnitId','session','COMPRESS_MUTATION_SEND','ceil','_loadDoc','complete','putCollaborators','YUUMI_RATE_OVER_LIMIT','/allowed','session.room-permission-denied','length','AES','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PasswordBasedCipher','filter','JOIN','[PendingState]:\x20received\x20rejection.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/authz','dispose$','_hasher','People','localeService','focused$','/-/object/-/batch_allowed','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_minBufferSize','createEncryptor','Could\x20not\x20dynamically\x20require\x20\x22','univer-pro.collaboration-client.single-active-unit-service','ERROR_EXCEED_SIZE','onTransformSelections','[CollaborationSessionService]:\x20socket\x20error','forEach','key','JOIN_ROOM_FULL','onCommandExecuted','_clearScheduledTask','5410410NuFeYs','saveImage','changesets','_onRemoteACK','loadSheet','refreshPermission','_logService','close$','UUID','createCollaborator','getLatestCsReqIdBySid','getUnitOnRev','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','registerHTTPInterceptor','POST','ONLINE','updateMember','slice','_transformIMECache','objects','_snapshotServerService','JOIN_ROOM_PERMISSION_DENIED','_removeRoom','ws://127.0.0.1:8000/universer-api/comb/connect','_transformRemoteChangesetByStateCache','[CollaborationEntity]','UNDEFINED','_collaborationPaused','stopTime','PERMISSION_REJ','getUnit','routeKey','snapshotServerUrl','399375BuvBEr','UNAUTHENTICATED','enableSingleActiveInstanceLock','_waitForHeartbeatResponse','from','_clearTimeoutTimer','updateCollaborator','crypto','compute','getTypeOfUnitAdded$','APPLY_REJECT','sessionTicket','rng','collaboratorID','createInstance','transformMutationsWithChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNISCRIPT_RUN','_initDependencies','APPLY_PERMISSION_DENIED','CHANGESET_REJ','_type','apply','SHOULD_CLOSE_CONN','[OfflineState]:\x20received\x20changeset.','getFocusedUnit','infoRsp','readyForCollab','toLowerCase','_resendTimeout','range','baseRev','getSheetId','url','disposeWithMe','socket\x20open.','createSocket','_commentService','removeMember','GLOBAL_ROOMS_CNT_EXCEEDS','COMPLETION_FINISHED','mixIn','getConfig','[OfflineState]:\x20received\x20rejection.','close','StreamCipher','subject','_awaitingChangeset','_onRemoteRejected','processBlock','_registerDependencies','online$','incrementRevOfUnit','toggleOnline','_checkMissing','CHANGESET_SHOULD_RETRY','image/jpg','_executeRemoteChangeset','stringify','OTHER_CLIENT_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_pendingMutations','FETCH_MISS','userID','LIVESHARE_NEW_HOST','_socketReady','Encryptor','_mode','appendMutation','SOCKET_FAILED_RETRY','LICENSE_DISTRO_REJECTED','application/json','saveSheetBlock','INGEST','AWAITING_WITH_PENDING','loadDoc','LIVESHARE_TERMINATE','setShowComponents','sessionStatus$','join','loginUrlKey','salt','pad','Cipher','newCsEvent','liveShareOperation','session.room-cnt-exceeds','_prevBlock','csShouldRetryEvent','_retryConnectingTimer','_nDataBytes','_doProcessBlock','CONNECTOR_DATA_TOO_LARGE','status$','send','_collaborationTimeoutTimer','requireSession','onlyLocal','_parse','unitID','_keyPriorReset','memberID','CONFLICT','onRemoteChangeset','startTime','closeSession','floor','mode','HmacSHA1','random','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','USERS_LEAVE','objectType','_nRounds','words','LICENSE_IMPORT_SIZE_EXCEEDED','onSendChangeset','asObservable','UnitEmbedded','values','socket\x20close','override'];_0x1819=function(){return _0x4eccae;};return _0x1819();}import{RichTextEditingMutation as _0x255a2d}from'@univerjs/docs';import{SheetsSelectionsService as _0x2c33a3,SetSelectionsOperation as _0x423e26,InsertSheetMutation as _0x221d7b,EmptyMutation as _0x3b21c6,WorkbookEditablePermission as _0x2144b3,SheetPermissionInitController as _0x459d88,UniverSheetsPlugin as _0x3a5134}from'@univerjs/sheets';import{ImageSourceType as _0x109c33,ImageUploadStatusType as _0x244631,IImageIoService as _0x591713}from'@univerjs/drawing';import{getGlobalObject as _0x1d192e}from'@univerjs-pro/license';const En=_0x266d6a(0x2fa),In=_0x266d6a(0x2b4),Tn=_0x266d6a(0x358),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x266d6a(0x350),bn=_0x266d6a(0x10e),On=_0x266d6a(0x19a),yn=_0x266d6a(0x2ae),Nn=0x7530,Si=_0x266d6a(0x30d),Ei=0x4e20,Dn=0x4e20,Pn=_0x266d6a(0x1fa),wn=0x3,to=_0x266d6a(0x33c),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x266d6a(0x1f8),xn=_0x266d6a(0x19f),Ln='/universer-api/oidc/authpage',no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro='/universer-api/uniscript';var Ii=(_0x45bb1f=>(_0x45bb1f[_0x45bb1f[_0x266d6a(0x111)]=0x0]='UNDEFINED',_0x45bb1f[_0x45bb1f['OK']=0x1]='OK',_0x45bb1f[_0x45bb1f[_0x266d6a(0xbe)]=0x2]=_0x266d6a(0xbe),_0x45bb1f[_0x45bb1f['PERMISSION_DENIED']=0x3]=_0x266d6a(0x379),_0x45bb1f[_0x45bb1f[_0x266d6a(0x1e3)]=0x4]='NOT_FOUND',_0x45bb1f[_0x45bb1f[_0x266d6a(0x119)]=0x5]=_0x266d6a(0x119),_0x45bb1f[_0x45bb1f[_0x266d6a(0xa0)]=0x6]=_0x266d6a(0xa0),_0x45bb1f[_0x45bb1f[_0x266d6a(0x23d)]=0x7]='INVALID_ARGUMENT',_0x45bb1f[_0x45bb1f['TOO_MANY_REQUESTS']=0x8]=_0x266d6a(0x23f),_0x45bb1f[_0x45bb1f[_0x266d6a(0x141)]=0x9]='COMPLETION_FINISHED',_0x45bb1f[_0x45bb1f[_0x266d6a(0x213)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x45bb1f[_0x45bb1f[_0x266d6a(0x28a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x45bb1f[_0x45bb1f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x266d6a(0x1df),_0x45bb1f[_0x45bb1f[_0x266d6a(0x1e5)]=0x1773]=_0x266d6a(0x1e5),_0x45bb1f[_0x45bb1f[_0x266d6a(0x122)]=0x1b59]='APPLY_REJECT',_0x45bb1f[_0x45bb1f[_0x266d6a(0x37e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x45bb1f[_0x45bb1f[_0x266d6a(0x334)]=0x1b5b]=_0x266d6a(0x334),_0x45bb1f[_0x45bb1f[_0x266d6a(0x12c)]=0x1b5c]=_0x266d6a(0x12c),_0x45bb1f[_0x45bb1f[_0x266d6a(0x1b9)]=0x1b5d]='APPLY_DUPLICATED',_0x45bb1f[_0x45bb1f[_0x266d6a(0x175)]=0x1f41]=_0x266d6a(0x175),_0x45bb1f[_0x45bb1f[_0x266d6a(0x1d5)]=0x2329]=_0x266d6a(0x1d5),_0x45bb1f[_0x45bb1f[_0x266d6a(0x7e)]=0x232a]=_0x266d6a(0x7e),_0x45bb1f[_0x45bb1f[_0x266d6a(0x18c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x45bb1f[_0x45bb1f[_0x266d6a(0x22c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45bb1f[_0x45bb1f[_0x266d6a(0x15f)]=0x232d]=_0x266d6a(0x15f),_0x45bb1f[_0x45bb1f[_0x266d6a(0x35e)]=0x2711]=_0x266d6a(0x35e),_0x45bb1f[_0x45bb1f[_0x266d6a(0x351)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x45bb1f[_0x45bb1f[_0x266d6a(0xd6)]=0x2713]=_0x266d6a(0xd6),_0x45bb1f[_0x45bb1f[_0x266d6a(0x128)]=0x2714]=_0x266d6a(0x128),_0x45bb1f[_0x45bb1f[_0x266d6a(0x85)]=0x2af9]=_0x266d6a(0x85),_0x45bb1f[_0x45bb1f[_0x266d6a(0x89)]=-0x1]=_0x266d6a(0x89),_0x45bb1f))(Ii||{}),Q=(_0x7c467c=>(_0x7c467c[_0x7c467c[_0x266d6a(0x26a)]=0x0]='UNIVER_UNKNOWN',_0x7c467c[_0x7c467c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x7c467c[_0x7c467c['UNIVER_SHEET']=0x2]=_0x266d6a(0x34c),_0x7c467c[_0x7c467c[_0x266d6a(0x233)]=0x3]=_0x266d6a(0x233),_0x7c467c[_0x7c467c[_0x266d6a(0x333)]=0x4]='UNIVER_PROJECT',_0x7c467c[_0x7c467c[_0x266d6a(0x89)]=-0x1]=_0x266d6a(0x89),_0x7c467c))(Q||{}),F=(_0x59c88e=>(_0x59c88e[_0x59c88e[_0x266d6a(0x220)]=0x0]=_0x266d6a(0x220),_0x59c88e[_0x59c88e[_0x266d6a(0x363)]=0x1]=_0x266d6a(0x363),_0x59c88e[_0x59c88e[_0x266d6a(0xdf)]=0x2]='JOIN',_0x59c88e[_0x59c88e[_0x266d6a(0x2f6)]=0x3]=_0x266d6a(0x2f6),_0x59c88e[_0x59c88e[_0x266d6a(0x162)]=0x4]=_0x266d6a(0x162),_0x59c88e[_0x59c88e[_0x266d6a(0x2a0)]=0x5]=_0x266d6a(0x2a0),_0x59c88e[_0x59c88e[_0x266d6a(0xa5)]=0x6]=_0x266d6a(0xa5),_0x59c88e[_0x59c88e[_0x266d6a(0x89)]=-0x1]=_0x266d6a(0x89),_0x59c88e))(F||{}),Ee=(_0x32122c=>(_0x32122c[_0x32122c['UNKNOWN_CODE']=0x0]=_0x266d6a(0x336),_0x32122c[_0x32122c['OK']=0x1]='OK',_0x32122c[_0x32122c[_0x266d6a(0xc2)]=0x2]=_0x266d6a(0xc2),_0x32122c[_0x32122c[_0x266d6a(0xf4)]=0x3e9]='JOIN_ROOM_FULL',_0x32122c[_0x32122c[_0x266d6a(0x7c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x32122c[_0x32122c[_0x266d6a(0x10c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x32122c[_0x32122c[_0x266d6a(0x140)]=0x3ec]=_0x266d6a(0x140),_0x32122c[_0x32122c[_0x266d6a(0x89)]=-0x1]=_0x266d6a(0x89),_0x32122c))(Ee||{}),Ti=(_0x40892f=>(_0x40892f[_0x40892f[_0x266d6a(0x221)]=0x0]='Undefined',_0x40892f[_0x40892f[_0x266d6a(0x71)]=0x1]=_0x266d6a(0x71),_0x40892f[_0x40892f[_0x266d6a(0x193)]=0x2]=_0x266d6a(0x193),_0x40892f[_0x40892f[_0x266d6a(0x18f)]=0x3]='UnitEmbedded',_0x40892f[_0x40892f['UnitSnapshot']=0x4]=_0x266d6a(0x2d3),_0x40892f[_0x40892f[_0x266d6a(0x89)]=-0x1]=_0x266d6a(0x89),_0x40892f))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x5cf696=>(_0x5cf696['OTHER_CLIENT_EDITING']=_0x266d6a(0x154),_0x5cf696[_0x266d6a(0x379)]='PERMISSION_DENIED',_0x5cf696[_0x266d6a(0x17f)]='CONFLICT',_0x5cf696[_0x266d6a(0x196)]=_0x266d6a(0x196),_0x5cf696[_0x266d6a(0x321)]=_0x266d6a(0x321),_0x5cf696[_0x266d6a(0x15e)]='SOCKET_FAILED_RETRY',_0x5cf696['SOCKET_FAILED']='SOCKET_FAILED',_0x5cf696[_0x266d6a(0x1a4)]=_0x266d6a(0x1a4),_0x5cf696))(se||{});class pe{constructor(){var _0x28042e=_0x266d6a;N(this,'_event$',new _0x28cffd()),N(this,_0x28042e(0x2c7),this['_event$']['asObservable']());}['emitEvent'](_0xe59089){var _0x5bc52=_0x266d6a;this[_0x5bc52(0x341)][_0x5bc52(0x2b0)](_0xe59089);}}const Mn=_0x33e67c(_0x266d6a(0xac));function $n(_0x4183a6){var _0x1d7807=_0x266d6a,_0x4357be,_0x582fa4,_0x2cb6a7,_0x48201c,_0x2fbe1c;const _0x12abf3=_0x4183a6[_0x1d7807(0x2fe)],_0x5ef20e=JSON[_0x1d7807(0x27e)](_0x12abf3);switch(_0x5ef20e[_0x1d7807(0x2d5)]){case F['HEARTBEAT']:case F[_0x1d7807(0x363)]:{const _0x39ac3f=_0x5ef20e[_0x1d7807(0x133)];return{..._0x5ef20e,'data':_0x39ac3f,'cmd':_0x5ef20e['cmd']};}case F[_0x1d7807(0xdf)]:{const _0x291fcc=_0x5ef20e[_0x1d7807(0x353)];return{..._0x5ef20e,'data':_0x291fcc,'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};}case F['RECV']:{const _0x5c5458=_0x5ef20e['collaMsg'];switch(_0x5c5458[_0x1d7807(0x33a)]){case _0x3ef1ce[_0x1d7807(0x114)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':(_0x4357be=_0x5c5458[_0x1d7807(0x25d)])==null?void 0x0:_0x4357be['cs']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x251)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':(_0x582fa4=_0x5c5458['csAckEvent'])==null?void 0x0:_0x582fa4['cs']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x374)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':(_0x2cb6a7=_0x5c5458[_0x1d7807(0x16d)])==null?void 0x0:_0x2cb6a7['cs']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x12d)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':(_0x48201c=_0x5c5458['csRejEvent'])==null?void 0x0:_0x48201c['cs']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x150)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':(_0x2fbe1c=_0x5c5458[_0x1d7807(0x171)])==null?void 0x0:_0x2fbe1c['cs']},'cmd':_0x5ef20e['cmd']};case _0x3ef1ce[_0x1d7807(0x1b2)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x24e)]},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x2e1)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x217)]},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x188)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458['leaveEvent']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x159)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x2bc)]},'cmd':_0x5ef20e['cmd']};case _0x3ef1ce[_0x1d7807(0x1bf)]:case _0x3ef1ce[_0x1d7807(0x357)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x16e)]},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x165)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x2bc)]},'cmd':_0x5ef20e['cmd']};case _0x3ef1ce[_0x1d7807(0x27c)]:return{..._0x5ef20e,'data':_0x5c5458,'cmd':_0x5ef20e['cmd']};case _0x3ef1ce['COMMENT_UPDATE']:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x279)]},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x25a)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458['updatePermissionObjEvent']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x130)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458['shouldCloseConn']},'cmd':_0x5ef20e[_0x1d7807(0x2d5)]};case _0x3ef1ce[_0x1d7807(0x12a)]:return{..._0x5ef20e,'data':{..._0x5c5458,'data':_0x5c5458[_0x1d7807(0x1b5)]},'cmd':_0x5ef20e['cmd']};default:return _0x5ef20e;}}default:return _0x5ef20e;}}function Hn(_0x50cf13){var _0x1811a1=_0x266d6a;switch(_0x50cf13[_0x1811a1(0x2d5)]){case F[_0x1811a1(0x2a0)]:case F[_0x1811a1(0x363)]:return JSON[_0x1811a1(0x153)]({'cmd':_0x50cf13[_0x1811a1(0x2d5)],'routeKey':_0x50cf13['routeKey']});case F[_0x1811a1(0x162)]:{let _0x11100c;switch(_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x33a)]){case _0x3ef1ce[_0x1811a1(0x1b2)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x1b2)],'updateCursorEvent':_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce[_0x1811a1(0x188)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x188)],'leaveEvent':_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce[_0x1811a1(0x2e1)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x2e1)],'joinEvent':_0x50cf13[_0x1811a1(0x2fe)]['data']};break;}case _0x3ef1ce[_0x1811a1(0x159)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x159)],'liveShareNewHost':_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce[_0x1811a1(0x357)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x357)],'liveShareOperation':_0x50cf13['data'][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce['LIVESHARE_TERMINATE']:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x165)],'liveShareTerminate':_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce['LIVESHARE_REQUEST_HOST']:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x1a3)],'liveShareRequestHost':_0x50cf13[_0x1811a1(0x2fe)][_0x1811a1(0x2fe)]};break;}case _0x3ef1ce[_0x1811a1(0x1bf)]:{_0x11100c={'eventID':_0x3ef1ce[_0x1811a1(0x1bf)]};break;}default:_0x11100c={'eventID':_0x50cf13['data'][_0x1811a1(0x33a)]};}return JSON[_0x1811a1(0x153)]({'cmd':_0x50cf13[_0x1811a1(0x2d5)],'routeKey':_0x50cf13[_0x1811a1(0x116)],'collaMsg':_0x11100c});}case F[_0x1811a1(0xdf)]:return JSON[_0x1811a1(0x153)]({'cmd':_0x50cf13[_0x1811a1(0x2d5)],'routeKey':_0x50cf13[_0x1811a1(0x116)],'joinReq':_0x50cf13[_0x1811a1(0x2fe)]});case F[_0x1811a1(0x2f6)]:return JSON[_0x1811a1(0x153)]({'cmd':_0x50cf13['cmd'],'routeKey':_0x50cf13['routeKey'],'leaveReq':_0x50cf13[_0x1811a1(0x2fe)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x266d6a(0x348)],jn=Object[_0x266d6a(0x243)],Bn=(_0x561014,_0x5953f4,_0x472416,_0x4be488)=>{var _0x1d42ce=_0x266d6a;for(var _0x35b5fa=_0x4be488>0x1?void 0x0:_0x4be488?jn(_0x5953f4,_0x472416):_0x5953f4,_0x111805=_0x561014[_0x1d42ce(0xd9)]-0x1,_0x4c1974;_0x111805>=0x0;_0x111805--)(_0x4c1974=_0x561014[_0x111805])&&(_0x35b5fa=(_0x4be488?_0x4c1974(_0x5953f4,_0x472416,_0x35b5fa):_0x4c1974(_0x35b5fa))||_0x35b5fa);return _0x4be488&&_0x35b5fa&&kn(_0x5953f4,_0x472416,_0x35b5fa),_0x35b5fa;},Ue=(_0x4c3040,_0x57e984)=>(_0x2a8121,_0x20f738)=>_0x57e984(_0x2a8121,_0x20f738,_0x4c3040);const Ci=_0x33e67c(_0x266d6a(0x1ac));function Fn(_0x396877,_0x509bf9,_0x65825d){var _0x423e8f=_0x266d6a;return _0x396877+'/'+_0x509bf9+_0x423e8f(0x2b3)+_0x65825d+_0x423e8f(0x1f3);}let Et=class extends _0x3a5054{constructor(_0x371322,_0x57ef92,_0x159573,_0x49e613,_0x56af55){var _0x85676c=_0x266d6a;super(),this[_0x85676c(0x362)]=_0x371322,this[_0x85676c(0x90)]=_0x57ef92,this[_0x85676c(0x376)]=_0x159573,this[_0x85676c(0xfd)]=_0x49e613,this[_0x85676c(0x10b)]=_0x56af55;}[_0x266d6a(0x13d)](_0x623ced){var _0x1af767=_0x266d6a;const _0x19814c=this[_0x1af767(0x362)][_0x1af767(0x74)](_0x249e1d);if(!_0x19814c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xb68335=_0x19814c[_0x1af767(0x13d)](_0x623ced);if(!_0xb68335)throw new Error(_0x1af767(0x129));const _0x197223=new _0x10df5e(),_0x18417a=new _0x28cffd();_0x197223[_0x1af767(0x1ee)](_0xb68335[_0x1af767(0xfe)][_0x1af767(0x1c9)](_0x565edf=>_0x18417a[_0x1af767(0x2b0)](_0x565edf))),_0x197223[_0x1af767(0x1ee)](_0xdf59bc(()=>_0x18417a[_0x1af767(0xd4)]()));const _0x5c90d1=new _0x28cffd();_0x197223['add'](_0xb68335[_0x1af767(0x2a7)]['subscribe'](_0x61fea1=>_0x5c90d1['next'](_0x61fea1))),_0x197223[_0x1af767(0x1ee)](_0xdf59bc(()=>_0x5c90d1[_0x1af767(0xd4)]()));const _0x2af834=new _0x28cffd();_0x197223[_0x1af767(0x1ee)](_0xb68335[_0x1af767(0x310)][_0x1af767(0x1c9)](_0x19205c=>{var _0x1b24da=_0x1af767;const _0x162fed=$n(_0x19205c);_0x2af834[_0x1b24da(0x2b0)](_0x162fed);})),_0x197223[_0x1af767(0x1ee)](_0xdf59bc(()=>_0x2af834[_0x1af767(0xd4)]()));let _0x477d02;const _0xbfbc51=()=>{var _0xbeb6f1=_0x1af767;_0x5c90d1[_0xbeb6f1(0x2b0)](new Event('connection\x20error')),_0x18417a[_0xbeb6f1(0x2b0)](new CloseEvent(_0xbeb6f1(0x70))),_0x477d02[_0xbeb6f1(0x145)]();};return _0x477d02={'memberID':'','close$':_0x18417a['asObservable'](),'error$':_0x5c90d1[_0x1af767(0x18e)](),'open$':_0xb68335[_0x1af767(0x244)],'message$':_0x2af834['asObservable'](),'send':_0x2d2e88=>{var _0x37574a=_0x1af767;if(_0x2d2e88[_0x37574a(0x2d5)]===F['INGEST']){if(_0x2d2e88[_0x37574a(0x2fe)][_0x37574a(0x33a)]===_0x3ef1ce[_0x37574a(0x2f3)]){this[_0x37574a(0x2d2)](_0x477d02,_0x2d2e88[_0x37574a(0x2fe)])['catch'](_0x231804=>{var _0x4ec717=_0x37574a;this[_0x4ec717(0xfd)][_0x4ec717(0x300)](_0x231804),_0xbfbc51();});return;}if(_0x2d2e88[_0x37574a(0x2fe)][_0x37574a(0x33a)]===_0x3ef1ce[_0x37574a(0x2e5)]){const _0x501a41=_0x2d2e88[_0x37574a(0x2fe)];this[_0x37574a(0x1e8)](_0x501a41)[_0x37574a(0x2bb)](_0x3a35d0=>{var _0x2d1b3c=_0x37574a;_0x2af834[_0x2d1b3c(0x2b0)]({'cmd':F[_0x2d1b3c(0xa5)],'code':Ee['OK'],'routeKey':_0x501a41[_0x2d1b3c(0x2fe)][_0x2d1b3c(0x17c)],'routeType':'','data':{'eventID':_0x3ef1ce[_0x2d1b3c(0x1e4)],'data':{'changesets':_0x3a35d0}}});})[_0x37574a(0x317)](_0x96b051=>{var _0x59efb9=_0x37574a;this[_0x59efb9(0xfd)][_0x59efb9(0x300)](_0x96b051),_0xbfbc51();});return;}}_0xb68335[_0x37574a(0x177)](Hn(_0x2d2e88));},'close':()=>{_0xb68335['close'](),_0x197223['dispose']();}},_0x477d02;}async[_0x266d6a(0x2d2)](_0xb39d24,_0xd0c451){var _0x384e9e=_0x266d6a,_0x5aeb40,_0x3d1859;const {unitType:_0x203329,unitID:_0x363b4c,changeset:_0x36beec}=_0xd0c451[_0x384e9e(0x2fe)],_0x41887f={'unitID':_0x363b4c,'memberID':_0xb39d24[_0x384e9e(0x17e)],'type':_0x203329,'changeset':_0x4c9569(_0x36beec)},_0x28a553=this[_0x384e9e(0x376)][_0x384e9e(0x143)](Un),_0x385776=this[_0x384e9e(0x376)]['getConfig'](q),_0x227348=Fn((_0x3d1859=(_0x5aeb40=_0x385776==null?void 0x0:_0x385776['collabSubmitChangesetUrl'])!=null?_0x5aeb40:_0x28a553)!=null?_0x3d1859:An,_0x203329,_0x363b4c);try{await this[_0x384e9e(0x90)][_0x384e9e(0x1b8)](_0x227348,{'body':_0x41887f});}catch(_0xa17c11){throw this['_logService']['error']('[CollaborationSession]',_0x384e9e(0x79)),_0xa17c11;}}async[_0x266d6a(0x1e8)](_0x2c0a2d){var _0x5ed456=_0x266d6a;const {unitID:_0x3ad5f6,from:_0x3f0277,to:_0x5c2b7c,unitType:_0x23b0b4}=_0x2c0a2d[_0x5ed456(0x2fe)];return(await this[_0x5ed456(0x10b)][_0x5ed456(0x25f)]({'metadata':void 0x0},{'unitID':_0x3ad5f6,'type':_0x23b0b4,'from':_0x3f0277,'to':_0x5c2b7c}))[_0x5ed456(0xf9)];}};Et=Bn([Ue(0x0,_0x3aecb8(_0x2c853e)),Ue(0x1,_0x3aecb8(_0x4c8e56)),Ue(0x2,_0x50d22f),Ue(0x3,_0x32e90f),Ue(0x4,_0x11b90e)],Et);const Vn=_0x266d6a(0x25e);function Gn(_0x495b31){var _0x4b0686=_0x266d6a;return JSON[_0x4b0686(0x153)](_0x495b31)['length'];}class Ri{constructor(){var _0x4005cf=_0x266d6a;N(this,_0x4005cf(0x1f2),new _0x28cffd()),N(this,'commentUpdate$',this[_0x4005cf(0x1f2)][_0x4005cf(0x18e)]());}['onCommentUpdate'](_0xee6ef0){var _0x20b3f2=_0x266d6a;this[_0x20b3f2(0x1f2)]['next'](_0xee6ef0);}}var Wn=Object[_0x266d6a(0x348)],Kn=Object[_0x266d6a(0x243)],Yn=(_0xfdff61,_0x1f7909,_0xf0d62a,_0x35b540)=>{var _0x5a65ae=_0x266d6a;for(var _0x5f1528=_0x35b540>0x1?void 0x0:_0x35b540?Kn(_0x1f7909,_0xf0d62a):_0x1f7909,_0x1ab0c9=_0xfdff61[_0x5a65ae(0xd9)]-0x1,_0x44b4db;_0x1ab0c9>=0x0;_0x1ab0c9--)(_0x44b4db=_0xfdff61[_0x1ab0c9])&&(_0x5f1528=(_0x35b540?_0x44b4db(_0x1f7909,_0xf0d62a,_0x5f1528):_0x44b4db(_0x5f1528))||_0x5f1528);return _0x35b540&&_0x5f1528&&Wn(_0x1f7909,_0xf0d62a,_0x5f1528),_0x5f1528;},Kt=(_0x1ffd55,_0x3df5fc)=>(_0x3bb267,_0x28db00)=>_0x3df5fc(_0x3bb267,_0x28db00,_0x1ffd55);let xe=class extends _0x3a5054{constructor(_0x1125f8,_0x521531){var _0x4fabe7=_0x266d6a;super(),N(this,_0x4fabe7(0x269),new Map()),N(this,_0x4fabe7(0x2c0),new _0x28cffd()),(this[_0x4fabe7(0x1ea)]=_0x1125f8,this[_0x4fabe7(0x80)]=_0x521531,this[_0x4fabe7(0x13b)](_0x8c72df(this[_0x4fabe7(0x1ea)][_0x4fabe7(0x332)](_0x1704f1['UNIVER_SHEET'])['pipe'](_0x329cb1(_0x1ba90d=>_0x1ba90d[_0x4fabe7(0xcf)]())),this[_0x4fabe7(0x1ea)][_0x4fabe7(0x332)](_0x1704f1[_0x4fabe7(0x330)])[_0x4fabe7(0xa6)](_0x329cb1(_0x83a31f=>_0x83a31f[_0x4fabe7(0xcf)]())),this['_univerInstanceService'][_0x4fabe7(0x332)](_0x1704f1[_0x4fabe7(0x233)])[_0x4fabe7(0xa6)](_0x329cb1(_0x4158b0=>_0x4158b0[_0x4fabe7(0xcf)]())))[_0x4fabe7(0x1c9)](_0x321389=>this['_removeRoom'](_0x321389))));}[_0x266d6a(0x239)](_0x2724eb){var _0x203c94=_0x266d6a;return this[_0x203c94(0x269)][_0x203c94(0x1a9)](_0x2724eb)?_0x79b5bb(this[_0x203c94(0x269)][_0x203c94(0x74)](_0x2724eb)):this[_0x203c94(0x2c0)]['pipe'](_0x329cb1(_0x599f7b=>{if(_0x599f7b===_0x2724eb)return this['_roomMembers']['get'](_0x599f7b);}));}[_0x266d6a(0x33f)](_0x1309b7){this['_userManagerService']['setCurrentUser'](_0x1309b7);}[_0x266d6a(0x2c9)](){var _0x5bd8d0=_0x266d6a;return this[_0x5bd8d0(0x80)][_0x5bd8d0(0x2c9)]();}[_0x266d6a(0x107)](_0x29a97a,_0x2ed893){var _0x22a6a6=_0x266d6a;let _0x3d6436=this['_roomMembers']['get'](_0x29a97a);_0x3d6436||(_0x3d6436=new qn(),this[_0x22a6a6(0x269)][_0x22a6a6(0x302)](_0x29a97a,_0x3d6436),this[_0x22a6a6(0x2c0)]['next'](_0x29a97a)),_0x3d6436[_0x22a6a6(0x107)](_0x2ed893);}[_0x266d6a(0x13f)](_0x446453,_0x4fdbe1){var _0x11ded8=_0x266d6a;const _0x3b5c78=this[_0x11ded8(0x269)][_0x11ded8(0x74)](_0x446453);_0x3b5c78&&_0x3b5c78[_0x11ded8(0x13f)](_0x4fdbe1);}[_0x266d6a(0x2cc)](_0x3dee8f){var _0x33cea0=_0x266d6a;return this[_0x33cea0(0x269)][_0x33cea0(0x74)](_0x3dee8f);}['getMember'](_0x155b47,_0xd3d251){var _0x4fc3d2=_0x266d6a;const _0x302d7a=this[_0x4fc3d2(0x269)][_0x4fc3d2(0x74)](_0x155b47);if(_0x302d7a)return _0x302d7a[_0x4fc3d2(0x2c6)](_0xd3d251);}[_0x266d6a(0x10d)](_0x334a50){var _0x46fa1b=_0x266d6a;const _0x12d4c6=this['_roomMembers'][_0x46fa1b(0x74)](_0x334a50);_0x12d4c6&&(_0x12d4c6[_0x46fa1b(0x359)](),this[_0x46fa1b(0x269)][_0x46fa1b(0x254)](_0x334a50));}[_0x266d6a(0x359)](){var _0x3ef5af=_0x266d6a;this[_0x3ef5af(0x269)][_0x3ef5af(0xf2)](_0x5c4ee3=>_0x5c4ee3[_0x3ef5af(0x359)]()),this[_0x3ef5af(0x269)][_0x3ef5af(0x343)](),this['_roomCreated$'][_0x3ef5af(0xd4)]();}};xe=Yn([Kt(0x0,_0x51410d),Kt(0x1,_0x3aecb8(_0x408c6a))],xe);class qn extends _0x3a5054{constructor(){var _0x3ddc8b=_0x266d6a;super(...arguments),N(this,_0x3ddc8b(0x27a),new Map()),N(this,_0x3ddc8b(0x235),new _0x3c994e(this[_0x3ddc8b(0x27a)])),N(this,_0x3ddc8b(0x1f4),this[_0x3ddc8b(0x235)][_0x3ddc8b(0x18e)]());}['dispose'](){var _0x3d8712=_0x266d6a;this[_0x3d8712(0x27a)][_0x3d8712(0x343)]();}[_0x266d6a(0x107)](_0x3aa1b7){var _0x3b0596=_0x266d6a;this[_0x3b0596(0x27a)]['set'](_0x3aa1b7[_0x3b0596(0x17e)],_0x3aa1b7),this[_0x3b0596(0x1e9)]();}[_0x266d6a(0x13f)](_0x2860d7){this['_members']['delete'](_0x2860d7);}[_0x266d6a(0x2c6)](_0x943ea7){var _0x154d4e=_0x266d6a;return this[_0x154d4e(0x27a)][_0x154d4e(0x74)](_0x943ea7);}[_0x266d6a(0x9c)](){var _0x209cd1=_0x266d6a;return Array[_0x209cd1(0x11c)](this[_0x209cd1(0x27a)][_0x209cd1(0x190)]());}[_0x266d6a(0x1e9)](){var _0x4ecd21=_0x266d6a;this[_0x4ecd21(0x235)][_0x4ecd21(0x2b0)](this[_0x4ecd21(0x27a)]);}}var zn=Object[_0x266d6a(0x348)],Jn=Object[_0x266d6a(0x243)],Xn=(_0x59cb3e,_0x2ef90a,_0x288a46,_0x34099b)=>{var _0x3654ce=_0x266d6a;for(var _0x4b3e19=_0x34099b>0x1?void 0x0:_0x34099b?Jn(_0x2ef90a,_0x288a46):_0x2ef90a,_0x3aeade=_0x59cb3e[_0x3654ce(0xd9)]-0x1,_0x272338;_0x3aeade>=0x0;_0x3aeade--)(_0x272338=_0x59cb3e[_0x3aeade])&&(_0x4b3e19=(_0x34099b?_0x272338(_0x2ef90a,_0x288a46,_0x4b3e19):_0x272338(_0x4b3e19))||_0x4b3e19);return _0x34099b&&_0x4b3e19&&zn(_0x2ef90a,_0x288a46,_0x4b3e19),_0x4b3e19;},me=(_0x2fdef5,_0x22a418)=>(_0xa000af,_0x2e07cf)=>_0x22a418(_0xa000af,_0x2e07cf,_0x2fdef5),Te=(_0xa891f7=>(_0xa891f7[_0xa891f7[_0x266d6a(0x339)]=0x0]=_0x266d6a(0x339),_0xa891f7[_0xa891f7[_0x266d6a(0x219)]=0x1]=_0x266d6a(0x219),_0xa891f7[_0xa891f7[_0x266d6a(0x19d)]=0x2]=_0x266d6a(0x19d),_0xa891f7[_0xa891f7[_0x266d6a(0x106)]=0x3]='ONLINE',_0xa891f7))(Te||{});const Yt={[Ee[_0x266d6a(0xc2)]]:_0x266d6a(0x2d9),[Ee[_0x266d6a(0xf4)]]:_0x266d6a(0x1ba),[Ee[_0x266d6a(0x7c)]]:_0x266d6a(0x201),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x266d6a(0xd8),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x266d6a(0x16f)};let It=class extends _0x30423e{constructor(_0x1956e7,_0x338e20,_0x4d0b74,_0x27f2bf,_0x51a06c,_0x42769f,_0x19a10f,_0x19497e,_0xab2392){var _0x639bb2=_0x266d6a;super(),N(this,_0x639bb2(0x285),new _0x3c994e(0x0)),N(this,_0x639bb2(0x167),this[_0x639bb2(0x285)][_0x639bb2(0x18e)]()),N(this,'_event$',new _0x28cffd()),N(this,_0x639bb2(0x2c7),this[_0x639bb2(0x341)][_0x639bb2(0x18e)]()),N(this,_0x639bb2(0x2ef)),N(this,_0x639bb2(0xad)),N(this,_0x639bb2(0x178)),N(this,_0x639bb2(0xca),!0x1),N(this,_0x639bb2(0x95),null),(this[_0x639bb2(0xb0)]=_0x1956e7,this['_logService']=_0x4d0b74,this['_configService']=_0x27f2bf,this['_localeService']=_0x51a06c,this[_0x639bb2(0x324)]=_0x42769f,this[_0x639bb2(0x13e)]=_0x19a10f,this[_0x639bb2(0xc0)]=_0x19497e,this[_0x639bb2(0x2d4)]=_0xab2392,this[_0x639bb2(0xca)]=!!this[_0x639bb2(0x2d4)],_0x338e20['pipe'](_0xb104c1(this[_0x639bb2(0xe3)]))[_0x639bb2(0x1c9)](_0xd8b6fb=>{var _0x5f3851=_0x639bb2,_0x16bc28;typeof _0xd8b6fb>'u'||(this['_socket']=_0xd8b6fb,_0xd8b6fb?(this[_0x5f3851(0x344)](_0xd8b6fb),this[_0x5f3851(0xad)]=_0xd8b6fb['message$'][_0x5f3851(0x1c9)](_0x10e00a=>{var _0x573436=_0x5f3851;_0x10e00a['routeKey']===this[_0x573436(0xb0)]&&this['_onCombEvent'](_0x10e00a);})):(this[_0x5f3851(0x2a4)](),this[_0x5f3851(0x285)][_0x5f3851(0x2b0)](0x2),(_0x16bc28=this[_0x5f3851(0xad)])==null||_0x16bc28['unsubscribe'](),this[_0x5f3851(0xad)]=null));}));}get[_0x266d6a(0x2ad)](){var _0x298470=_0x266d6a;return this[_0x298470(0x285)][_0x298470(0x2a5)]();}[_0x266d6a(0x2a1)](){var _0x273548=_0x266d6a,_0x50f42b,_0x2cb396;return(_0x2cb396=(_0x50f42b=this[_0x273548(0x2ef)])==null?void 0x0:_0x50f42b[_0x273548(0x17e)])!=null?_0x2cb396:null;}['dispose'](){var _0x5943e3=_0x266d6a;super[_0x5943e3(0x359)](),this['dispose$'][_0x5943e3(0x2b0)](),this[_0x5943e3(0xe3)]['complete']();}['close'](){var _0x3cac09=_0x266d6a,_0x2d27f2,_0x51bdce;this[_0x3cac09(0x2a4)](),(_0x2d27f2=this[_0x3cac09(0x2ef)])==null||_0x2d27f2[_0x3cac09(0x177)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x3cac09(0xb0)]}}),(_0x51bdce=this[_0x3cac09(0x2ef)])==null||_0x51bdce['close'](),this['_event$'][_0x3cac09(0xd4)](),this[_0x3cac09(0x285)][_0x3cac09(0xd4)](),this[_0x3cac09(0x359)]();}[_0x266d6a(0x26d)](_0x1ddc2f){var _0x30ba61=_0x266d6a;_0x1ddc2f[_0x30ba61(0x2d5)]===F[_0x30ba61(0xdf)]?this['_onJoinRoomEvent'](_0x1ddc2f):_0x1ddc2f[_0x30ba61(0x2d5)]===F['RECV']&&this[_0x30ba61(0x327)](_0x1ddc2f);}[_0x266d6a(0x344)](_0x25dc35){var _0x30f0b3=_0x266d6a;this[_0x30f0b3(0x285)][_0x30f0b3(0x2b0)](0x1),_0x25dc35[_0x30f0b3(0x177)]({'cmd':F[_0x30f0b3(0xdf)],'routeKey':this[_0x30f0b3(0xb0)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x266d6a(0x1e7)](_0x4930af){var _0x9bba80=_0x266d6a,_0x4403e1;if(_0x4930af[_0x9bba80(0x1a1)]in Yt){this[_0x9bba80(0xc0)][_0x9bba80(0x1a6)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x4930af[_0x9bba80(0x1a1)]]}),this[_0x9bba80(0x285)]['next'](0x2);return;}this[_0x9bba80(0x285)][_0x9bba80(0x2b0)](0x3);const _0xdc8ba5=(_0x4403e1=_0x4930af['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x4403e1['members'];_0xdc8ba5&&_0xdc8ba5[_0x9bba80(0xf2)](_0x1b224b=>this[_0x9bba80(0x324)][_0x9bba80(0x107)](this[_0x9bba80(0xb0)],_0x1b224b));}[_0x266d6a(0x327)](_0x2c0d21){var _0x316a54=_0x266d6a;try{const _0x235190=_0x2c0d21[_0x316a54(0x2fe)];switch(_0x235190[_0x316a54(0x33a)]){case _0x3ef1ce[_0x316a54(0x2e1)]:this[_0x316a54(0x1b7)](_0x235190),this[_0x316a54(0x341)][_0x316a54(0x2b0)](_0x235190);break;case _0x3ef1ce[_0x316a54(0x188)]:this[_0x316a54(0x8e)](_0x235190),this[_0x316a54(0x341)]['next'](_0x235190);break;case _0x3ef1ce[_0x316a54(0x251)]:case _0x3ef1ce[_0x316a54(0x150)]:this[_0x316a54(0xb6)](),this[_0x316a54(0x200)](),this[_0x316a54(0x341)]['next'](_0x235190);break;case _0x3ef1ce['MSG_FOR_ERROR']:this[_0x316a54(0xfd)][_0x316a54(0x300)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x316a54(0x153)](_0x235190)),this['_event$'][_0x316a54(0x2b0)](_0x235190);break;case _0x3ef1ce[_0x316a54(0x326)]:this[_0x316a54(0x13e)]['onCommentUpdate'](_0x235190[_0x316a54(0x2fe)]),this[_0x316a54(0x341)]['next'](_0x235190);break;default:this['_event$']['next'](_0x235190);}}catch(_0x3abfed){this[_0x316a54(0xfd)][_0x316a54(0x300)](_0x3abfed,_0x2c0d21);}}[_0x266d6a(0x1b7)](_0x1f708b){var _0x465023=_0x266d6a;this[_0x465023(0x324)][_0x465023(0x107)](this[_0x465023(0xb0)],_0x1f708b[_0x465023(0x2fe)]);}[_0x266d6a(0x8e)](_0x2d85b9){var _0x37bc53=_0x266d6a;this[_0x37bc53(0x324)][_0x37bc53(0x13f)](this['_unitID'],_0x2d85b9[_0x37bc53(0x2fe)][_0x37bc53(0x17e)]);}async[_0x266d6a(0x177)](_0x2750af,_0x4c999a){var _0x591c70=_0x266d6a;if(this[_0x591c70(0x2ad)]!==0x3||!this[_0x591c70(0x2ef)])throw new Error(_0x591c70(0x155));try{_0x2750af[_0x591c70(0x33a)]===_0x3ef1ce[_0x591c70(0x2f3)]&&(this[_0x591c70(0x1d9)](),this['_startTelemetryCollaborationNewChangeset'](_0x2750af)),this[_0x591c70(0x2ef)]['send']({'cmd':F[_0x591c70(0x162)],'routeKey':_0x4c999a,'routeType':'','data':_0x2750af});}catch(_0x346572){this[_0x591c70(0xfd)]['error'](_0x346572);}}[_0x266d6a(0x1d9)](){var _0x5874ee=_0x266d6a,_0x38120c;this[_0x5874ee(0x178)]=setTimeout(()=>{var _0x24a361=_0x5874ee;this[_0x24a361(0x178)]=null,this[_0x24a361(0xc0)]['emitEvent']({'id':se[_0x24a361(0x1a4)]});},(_0x38120c=this['_configService'][_0x5874ee(0x143)](Si))!=null?_0x38120c:Ei);}[_0x266d6a(0x200)](){var _0x399529=_0x266d6a;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x399529(0x178)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1c6b05){var _0xb74d7a=_0x266d6a;if(!this[_0xb74d7a(0xca)])return;const {data:_0x40329a}=_0x1c6b05,{unitID:_0x2802b1,changeset:_0x37f94e}=_0x40329a,{mutations:_0x13f366,type:_0xf66a2f}=_0x37f94e;this['_telemetryInfo']={'unitId':_0x2802b1,'type':_0xf66a2f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x13f366)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4bda8f=_0x266d6a;if(this[_0x4bda8f(0xca)]){if(!this[_0x4bda8f(0x95)]){this['_logService'][_0x4bda8f(0x300)](_0x4bda8f(0xc3),_0x4bda8f(0xa7));return;}this[_0x4bda8f(0x95)][_0x4bda8f(0x113)]=performance[_0x4bda8f(0x207)](),this[_0x4bda8f(0x95)][_0x4bda8f(0x29d)]=this['_telemetryInfo'][_0x4bda8f(0x113)]-this[_0x4bda8f(0x95)][_0x4bda8f(0x181)],this[_0x4bda8f(0x2d4)][_0x4bda8f(0x2c2)](Vn,this[_0x4bda8f(0x95)]),this[_0x4bda8f(0x95)]=null;}}[_0x266d6a(0x2a4)](){var _0x47161a=_0x266d6a;this[_0x47161a(0x95)]=null;}};It=Xn([me(0x2,_0x32e90f),me(0x3,_0x50d22f),me(0x4,_0x3aecb8(_0x435956)),me(0x5,_0x3aecb8(xe)),me(0x6,_0x3aecb8(Ri)),me(0x7,_0x3aecb8(pe)),me(0x8,_0x10484d(_0x46bfb4))],It);var Zn=Object['defineProperty'],Qn=Object[_0x266d6a(0x243)],er=(_0xa2754d,_0x1c7453,_0x1de901,_0x252be3)=>{for(var _0x47c1ec=_0x252be3>0x1?void 0x0:_0x252be3?Qn(_0x1c7453,_0x1de901):_0x1c7453,_0x527635=_0xa2754d['length']-0x1,_0x392174;_0x527635>=0x0;_0x527635--)(_0x392174=_0xa2754d[_0x527635])&&(_0x47c1ec=(_0x252be3?_0x392174(_0x1c7453,_0x1de901,_0x47c1ec):_0x392174(_0x47c1ec))||_0x47c1ec);return _0x252be3&&_0x47c1ec&&Zn(_0x1c7453,_0x1de901,_0x47c1ec),_0x47c1ec;},ge=(_0xb9221,_0x5432df)=>(_0x346e2f,_0x19f220)=>_0x5432df(_0x346e2f,_0x19f220,_0xb9221);let Le=class extends _0x3a5054{constructor(_0x1ded94,_0x480886,_0x2a10e9,_0xa0563a,_0x5db06f,_0x5f3b30,_0x305168){var _0x5d7c70=_0x266d6a;super(),N(this,'_socket$',new _0x3c994e(void 0x0)),N(this,_0x5d7c70(0x2e7),this[_0x5d7c70(0x1ab)][_0x5d7c70(0x18e)]()),N(this,_0x5d7c70(0xa3),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x3c994e(Te[_0x5d7c70(0x339)])),N(this,'status$',this[_0x5d7c70(0x28d)]['asObservable']()),N(this,_0x5d7c70(0x15a),!0x1),N(this,_0x5d7c70(0x172)),N(this,'_retryCount',0x0),N(this,_0x5d7c70(0x345)),N(this,_0x5d7c70(0x2df)),(this['_injector']=_0x1ded94,this[_0x5d7c70(0xfd)]=_0x480886,this[_0x5d7c70(0x376)]=_0x2a10e9,this[_0x5d7c70(0x2fd)]=_0xa0563a,this[_0x5d7c70(0x2a8)]=_0x5db06f,this[_0x5d7c70(0xc0)]=_0x5f3b30,this['_networkConditionService']=_0x305168,this[_0x5d7c70(0x2b6)]());}get['_socket'](){var _0x4d462d=_0x266d6a;return this['_socket$'][_0x4d462d(0x2a5)]();}[_0x266d6a(0x2b6)](){var _0x3ce3b5=_0x266d6a;this[_0x3ce3b5(0x311)]&&this[_0x3ce3b5(0x13b)](this[_0x3ce3b5(0x311)][_0x3ce3b5(0x14c)][_0x3ce3b5(0x1c9)](_0x481407=>{var _0x543065=_0x3ce3b5;_0x481407&&!this[_0x543065(0x2ef)]&&this[_0x543065(0x203)](),_0x481407||this[_0x543065(0x22d)]();}));}[_0x266d6a(0x359)](){var _0x8e7176=_0x266d6a;super[_0x8e7176(0x359)](),this[_0x8e7176(0x34f)][_0x8e7176(0xf2)](_0x5bf78f=>_0x5bf78f[_0x8e7176(0x359)]()),this[_0x8e7176(0x34f)][_0x8e7176(0x343)](),this['_status$'][_0x8e7176(0xd4)]();}async[_0x266d6a(0x179)](_0x4dda34){var _0x5f4fba=_0x266d6a;if(this['_sessions'][_0x5f4fba(0x1a9)](_0x4dda34))return this[_0x5f4fba(0x34f)]['get'](_0x4dda34);this[_0x5f4fba(0x36d)]();const _0x81285a=this['_injector']['createInstance'](It,_0x4dda34,this['_socket$'][_0x5f4fba(0x18e)]());return this[_0x5f4fba(0x34f)]['set'](_0x4dda34,_0x81285a),_0x81285a;}[_0x266d6a(0x182)](_0x7d78ec){var _0x4fee5d=_0x266d6a,_0x45db67;const _0x52734c=this[_0x4fee5d(0x34f)]['get'](_0x7d78ec);_0x52734c&&(this[_0x4fee5d(0x34f)][_0x4fee5d(0x254)](_0x7d78ec),_0x52734c[_0x4fee5d(0x145)]()),this[_0x4fee5d(0x34f)][_0x4fee5d(0x372)]||(_0x45db67=this['_socket'])==null||_0x45db67['close']();}[_0x266d6a(0x203)](){var _0x1c0a01=_0x266d6a;this[_0x1c0a01(0x26c)]=0x0,this[_0x1c0a01(0x172)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1c0a01(0x172)]=null),this[_0x1c0a01(0x308)]();}async[_0x266d6a(0x1ec)](){var _0x9963e7=_0x266d6a,_0x263f04,_0x28e380,_0x208cd6;const _0x3ef2b8=this[_0x9963e7(0x376)][_0x9963e7(0x143)](q),_0x56fa58=(_0x263f04=_0x3ef2b8==null?void 0x0:_0x3ef2b8[_0x9963e7(0xab)])!=null?_0x263f04:On;return(_0x208cd6=(_0x28e380=(await this[_0x9963e7(0x2a8)][_0x9963e7(0x74)](_0x56fa58,{'headers':{'Content-Type':_0x9963e7(0x160)}}))[_0x9963e7(0x2ea)])==null?void 0x0:_0x28e380[_0x9963e7(0x223)])!=null?_0x208cd6:'';}['_createSocketURL'](_0x24bc14){var _0x205a61=_0x266d6a,_0x4f89ab,_0x2a6b11;const _0x470ada=this[_0x205a61(0x376)]['getConfig'](Rn),_0xa4484e=this[_0x205a61(0x376)][_0x205a61(0x143)](q),_0x18c9b9=(_0x2a6b11=(_0x4f89ab=_0xa4484e==null?void 0x0:_0xa4484e[_0x205a61(0x329)])!=null?_0x4f89ab:_0x470ada)!=null?_0x2a6b11:bn,_0x58d28f=typeof window>'u'?new URL(_0x18c9b9):new URL(_0x18c9b9,window[_0x205a61(0x88)][_0x205a61(0x26e)]);_0x58d28f[_0x205a61(0x320)][_0x205a61(0x302)](_0x205a61(0x123),_0x24bc14);const _0x34d430=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x205a61(0x88)]['search']);return _0x34d430[_0x205a61(0x74)](_0x205a61(0xa2))&&_0x58d28f[_0x205a61(0x320)]['set'](_0x205a61(0xa2),_0x34d430[_0x205a61(0x74)](_0x205a61(0xa2))),_0x58d28f[_0x205a61(0x8a)]();}async[_0x266d6a(0x2ca)](){var _0x6c3d46=_0x266d6a;const _0x5dd765=await this[_0x6c3d46(0x1ec)](),_0x3e076e=this['_createSocketURL'](_0x5dd765),_0x2120f7=this[_0x6c3d46(0x2fd)][_0x6c3d46(0x13d)](_0x3e076e);return this[_0x6c3d46(0xa3)]=_0x2120f7,_0x2120f7;}async[_0x266d6a(0x36d)](){var _0x16c4b2=_0x266d6a,_0x20332b,_0xb7ee4b;try{const _0x3a5963=(_0xb7ee4b=(_0x20332b=this[_0x16c4b2(0x2ef)])!=null?_0x20332b:this['_candidateSocket'])!=null?_0xb7ee4b:await this[_0x16c4b2(0x2ca)]();if(_0x3a5963){const _0x5db16d=_0x3a5963['send'];_0x3a5963['send']=_0x4a9b76=>(this[_0x16c4b2(0x319)](),_0x5db16d[_0x16c4b2(0x12f)](_0x3a5963,[_0x4a9b76])),_0x3a5963['message$'][_0x16c4b2(0x1c9)](_0x4eb6e1=>this[_0x16c4b2(0x1a2)](_0x3a5963,_0x4eb6e1)),_0x3a5963[_0x16c4b2(0x2a7)][_0x16c4b2(0xa6)](_0x3cc55(0x1))['subscribe'](_0x1d22ca=>this[_0x16c4b2(0xfd)][_0x16c4b2(0x300)](_0x16c4b2(0xf1),_0x1d22ca)),_0x3a5963[_0x16c4b2(0x244)][_0x16c4b2(0xa6)](_0x3cc55(0x1))[_0x16c4b2(0x1c9)](()=>{var _0xf1c393=_0x16c4b2;this[_0xf1c393(0x318)](_0x3a5963);}),_0x3a5963[_0x16c4b2(0xfe)]['pipe'](_0x3cc55(0x1))['subscribe'](_0x5e953b=>{var _0x4d256d=_0x16c4b2;this[_0x4d256d(0xfd)]['debug'](_0x4d256d(0x2b8),_0x4d256d(0x191),_0x5e953b),this[_0x4d256d(0x2f2)]();});}}catch(_0x4bdb09){this['_logService'][_0x16c4b2(0x300)](_0x4bdb09),this[_0x16c4b2(0x2f2)]();}}['_onConnectionOpen'](_0x241bbf){var _0x5ba696=_0x266d6a;this[_0x5ba696(0xfd)][_0x5ba696(0x2ab)]('[CollaborationSessionService]',_0x5ba696(0x13c)),_0x241bbf['send']({'cmd':F[_0x5ba696(0x363)]}),this[_0x5ba696(0x319)]();}[_0x266d6a(0x22d)](){var _0x2fcfbd=_0x266d6a;this[_0x2fcfbd(0x15a)]=!0x1,this[_0x2fcfbd(0xa3)]=null,this[_0x2fcfbd(0x28d)][_0x2fcfbd(0x2b0)](Te['OFFLINE']),this['_socket$'][_0x2fcfbd(0x2b0)](null),this['_clearTimeoutTimer'](),this[_0x2fcfbd(0x1fc)]();}['_onConnectionFailed'](){var _0x527857=_0x266d6a,_0x520764;this[_0x527857(0x22d)](),this[_0x527857(0x26c)]<((_0x520764=this[_0x527857(0x376)][_0x527857(0x143)](Pn))!=null?_0x520764:wn)?(this['_collaborationUIEventService'][_0x527857(0x1a6)]({'id':se[_0x527857(0x15e)]}),this[_0x527857(0x308)]()):this[_0x527857(0xc0)][_0x527857(0x1a6)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x35ff80=_0x266d6a,_0x3f41c9;const _0x4f844a=this[_0x35ff80(0x26c)],_0x1ad44b=this[_0x35ff80(0x376)][_0x35ff80(0x143)](q),_0x34c8b6=_0x4f844a===0x0?0x0:((_0x3f41c9=_0x1ad44b==null?void 0x0:_0x1ad44b['retryConnectingInterval'])!=null?_0x3f41c9:Dn)*0x2**_0x4f844a;this[_0x35ff80(0x172)]=setTimeout(()=>{var _0xe89bfc=_0x35ff80;clearTimeout(this['_retryConnectingTimer']),this[_0xe89bfc(0x172)]=null,this[_0xe89bfc(0x36d)]();},_0x34c8b6),this[_0x35ff80(0x26c)]+=0x1;}['_onMessage'](_0x66618,_0x1b94e8){var _0x25c9d4=_0x266d6a;const {cmd:_0x38b598}=_0x1b94e8;_0x38b598===F[_0x25c9d4(0x363)]&&!this[_0x25c9d4(0x15a)]&&(_0x66618[_0x25c9d4(0x17e)]=_0x1b94e8['data']['memberID'],this[_0x25c9d4(0x1ab)]['next'](_0x66618),this['_status$']['next'](Te[_0x25c9d4(0x106)]),this['_socketReady']=!0x0,this[_0x25c9d4(0xa3)]=null),_0x38b598===F['HEARTBEAT']&&this[_0x25c9d4(0x11d)](),this[_0x25c9d4(0x319)]();}[_0x266d6a(0x319)](){var _0x106ade=_0x266d6a,_0x1385a8;this[_0x106ade(0x1fc)](),this[_0x106ade(0x345)]=setTimeout(()=>this[_0x106ade(0x214)](),(_0x1385a8=this['_configService'][_0x106ade(0x143)](yn))!=null?_0x1385a8:Nn);}['_sendHeartbeat'](){var _0x1afd3f=_0x266d6a;this['_socket'][_0x1afd3f(0x177)]({'cmd':F[_0x1afd3f(0x2a0)]}),this['_waitForHeartbeatResponse']();}[_0x266d6a(0x11b)](){var _0x1dd499=_0x266d6a,_0x483d5c;this['_timeoutTimer']=setTimeout(()=>this[_0x1dd499(0x2f2)](),(_0x483d5c=this[_0x1dd499(0x376)]['getConfig'](Si))!=null?_0x483d5c:Ei);}['_clearHeartbeatTimer'](){var _0xb42f01=_0x266d6a;this[_0xb42f01(0x345)]!=null&&(clearTimeout(this[_0xb42f01(0x345)]),this[_0xb42f01(0x345)]=null);}[_0x266d6a(0x11d)](){var _0x3067d8=_0x266d6a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3067d8(0x2df)]),this[_0x3067d8(0x2df)]=null);}};Le=er([ge(0x0,_0x3aecb8(_0x2c853e)),ge(0x1,_0x32e90f),ge(0x2,_0x50d22f),ge(0x3,Ci),ge(0x4,_0x3aecb8(_0x4c8e56)),ge(0x5,_0x3aecb8(pe)),ge(0x6,_0x10484d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x266d6a(0x9f)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x12a234,_0x3e83fb=0x0){var _0x37ecae=_0x266d6a;return(V[_0x12a234[_0x3e83fb+0x0]]+V[_0x12a234[_0x3e83fb+0x1]]+V[_0x12a234[_0x3e83fb+0x2]]+V[_0x12a234[_0x3e83fb+0x3]]+'-'+V[_0x12a234[_0x3e83fb+0x4]]+V[_0x12a234[_0x3e83fb+0x5]]+'-'+V[_0x12a234[_0x3e83fb+0x6]]+V[_0x12a234[_0x3e83fb+0x7]]+'-'+V[_0x12a234[_0x3e83fb+0x8]]+V[_0x12a234[_0x3e83fb+0x9]]+'-'+V[_0x12a234[_0x3e83fb+0xa]]+V[_0x12a234[_0x3e83fb+0xb]]+V[_0x12a234[_0x3e83fb+0xc]]+V[_0x12a234[_0x3e83fb+0xd]]+V[_0x12a234[_0x3e83fb+0xe]]+V[_0x12a234[_0x3e83fb+0xf]])[_0x37ecae(0x135)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x34dddc=_0x266d6a;if(!ut){if(typeof crypto>'u'||!crypto[_0x34dddc(0x291)])throw new Error(_0x34dddc(0xbf));ut=crypto[_0x34dddc(0x291)][_0x34dddc(0x1f0)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x266d6a(0x99)]&&crypto['randomUUID'][_0x266d6a(0x1f0)](crypto),qt={'randomUUID':rr};function sr(_0x5e4f11,_0x29be7c,_0xffd9c0){var _0x15d55c=_0x266d6a,_0xc5cb8f,_0x6d1ddf,_0x2404b9;if(qt[_0x15d55c(0x99)]&&!_0x5e4f11)return qt[_0x15d55c(0x99)]();_0x5e4f11=_0x5e4f11||{};const _0x245b9e=(_0x2404b9=(_0x6d1ddf=_0x5e4f11[_0x15d55c(0x186)])!=null?_0x6d1ddf:(_0xc5cb8f=_0x5e4f11[_0x15d55c(0x124)])==null?void 0x0:_0xc5cb8f['call'](_0x5e4f11))!=null?_0x2404b9:nr();if(_0x245b9e[_0x15d55c(0xd9)]<0x10)throw new Error(_0x15d55c(0x187));return _0x245b9e[0x6]=_0x245b9e[0x6]&0xf|0x40,_0x245b9e[0x8]=_0x245b9e[0x8]&0x3f|0x80,tr(_0x245b9e);}const J=_0x33e67c(_0x266d6a(0x20f));function so(_0x1ccb51){var _0x403909=_0x266d6a;return _0x403909(0x225)+_0x1ccb51;}var or=Object[_0x266d6a(0x348)],ar=Object[_0x266d6a(0x243)],cr=(_0x21163d,_0x530129,_0x1557f5,_0x58cc62)=>{var _0x4ce88e=_0x266d6a;for(var _0x28a0e9=_0x58cc62>0x1?void 0x0:_0x58cc62?ar(_0x530129,_0x1557f5):_0x530129,_0x3da7fb=_0x21163d[_0x4ce88e(0xd9)]-0x1,_0x38d414;_0x3da7fb>=0x0;_0x3da7fb--)(_0x38d414=_0x21163d[_0x3da7fb])&&(_0x28a0e9=(_0x58cc62?_0x38d414(_0x530129,_0x1557f5,_0x28a0e9):_0x38d414(_0x28a0e9))||_0x28a0e9);return _0x58cc62&&_0x28a0e9&&or(_0x530129,_0x1557f5,_0x28a0e9),_0x28a0e9;},dt=(_0x21a503,_0x2ac8cb)=>(_0x442247,_0x549b7a)=>_0x2ac8cb(_0x442247,_0x549b7a,_0x21a503);function hr(_0x17df49){var _0x21a700=_0x266d6a;const {unitID:_0x45b4f1,mutations:_0x36e3fe}=_0x17df49;return{'unitId':_0x45b4f1,'subUnitId':_0x36e3fe[0x0][_0x21a700(0x23e)][_0x21a700(0x6f)]};}let it=class{constructor(_0x4e8647,_0x19c5ac,_0x5daf76){var _0x160f97=_0x266d6a;this[_0x160f97(0x362)]=_0x4e8647,this['_transformService']=_0x19c5ac,this[_0x160f97(0x1d4)]=_0x5daf76;}[_0x266d6a(0x297)](_0x1e43f8){var _0x36bffe=_0x266d6a,_0x398c2b,_0x3e308a,_0x382b85,_0x24d70c;const _0x2014d9=this[_0x36bffe(0x362)]['get'](_0x2c33a3),{unitId:_0x3068a7,subUnitId:_0x3fbded}=hr(_0x1e43f8),_0x4fb661=_0x2014d9==null?void 0x0:_0x2014d9[_0x36bffe(0x2bf)](_0x3068a7)['getCurrentSelections'](),_0x22c95c=(_0x3e308a=(_0x398c2b=this[_0x36bffe(0x1d4)][_0x36bffe(0x115)](_0x3068a7))==null?void 0x0:_0x398c2b['getActiveSheet']())==null?void 0x0:_0x3e308a[_0x36bffe(0x139)]();if(_0x4fb661[_0x36bffe(0xd9)]===0x0||!_0x3068a7||!_0x3fbded)return;const _0x4a0161=[{'id':_0x423e26['id'],'params':{'unitId':_0x3068a7,'subUnitId':_0x22c95c,'selections':_0x168b57[_0x36bffe(0xc5)](_0x4fb661)}}],_0x26248e=this['_transformService']['transformMutationsWithChangeset'](_0x1e43f8,_0x4a0161);if(!_0x54c294(_0x26248e))throw _0x26248e[_0x36bffe(0x300)];const _0x23490d=(_0x24d70c=(_0x382b85=_0x26248e[_0x36bffe(0x276)][0x0])==null?void 0x0:_0x382b85['params'])==null?void 0x0:_0x24d70c[_0x36bffe(0x2da)];if(Array[_0x36bffe(0x30f)](_0x23490d)&&_0x23490d[_0x36bffe(0xd9)]){if(_0x23490d['length']===_0x4a0161[0x0][_0x36bffe(0x23e)]['selections'][_0x36bffe(0xd9)]&&_0x23490d[_0x36bffe(0xb3)]((_0x5da86e,_0x36ccfd)=>_0x5374a6[_0x36bffe(0x2ac)](_0x5da86e[_0x36bffe(0x137)],_0x4a0161[0x0][_0x36bffe(0x23e)][_0x36bffe(0x2da)][_0x36ccfd]['range'])))return;this['_injector'][_0x36bffe(0x74)](_0x992005)['executeCommand'](_0x423e26['id'],{'unitId':_0x3068a7,'subUnitId':_0x22c95c,'selections':_0x23490d});}}};it=cr([dt(0x0,_0x3aecb8(_0x2c853e)),dt(0x1,_0x2457b6),dt(0x2,_0x51410d)],it);const ht=_0x33e67c(_0x266d6a(0xee));var bi=(_0xbc6022=>(_0xbc6022[_0xbc6022[_0x266d6a(0x369)]=0x0]=_0x266d6a(0x369),_0xbc6022[_0xbc6022['OTHER_CLIENTS_EDITING']=0x1]=_0x266d6a(0x272),_0xbc6022))(bi||{});const _r=new Set([_0x221d7b['id']]);function zt(_0x9ab021,_0x779e60,_0x3cd728,_0x5debd2,_0x48e601){var _0xa3723=_0x266d6a,_0xf82d68,_0x522f07,_0x15cfe1,_0x394dc5;const _0xa0778a=[];for(const _0x2d297a of _0x9ab021)if(_r[_0xa3723(0x1a9)](_0x2d297a['id'])){if(_0xa0778a['length']>0x0)break;_0xa0778a[_0xa3723(0x9f)](_0x2d297a);break;}else _0xa0778a['push'](_0x2d297a);const _0x5ef0f2=(_0x522f07=(_0xf82d68=_0x48e601['getCurrentUser']())==null?void 0x0:_0xf82d68[_0xa3723(0x158)])!=null?_0x522f07:'unknown',_0x42bbe8=(_0x394dc5=(_0x15cfe1=_0x48e601[_0xa3723(0x2c9)]())==null?void 0x0:_0x15cfe1[_0xa3723(0x17e)])!=null?_0x394dc5:_0xa3723(0x22f);return{'changeset':{'unitID':_0x779e60,'type':_0x2c4ce7(_0x3cd728[_0xa3723(0x378)](_0x779e60)),'baseRev':_0x5debd2['getCurrentRevOfUnit'](_0x779e60),'revision':0x0,'userID':_0x5ef0f2,'memberID':_0x42bbe8,'mutations':_0xa0778a},'pendingMutations':_0x9ab021[_0xa3723(0x108)](_0xa0778a[_0xa3723(0xd9)])};}function lr(_0x44909e,_0x513128,_0x20918a,_0xe62b14,_0x241c97){var _0x47c381=_0x266d6a,_0x5233ef,_0x5a9fed,_0x48135f,_0x54f701;const _0x47772a=[_0x44909e[_0x47c381(0x9d)]((_0x5c76eb,_0x59a6b1)=>{var _0x19b404=_0x47c381,_0x2bdad1;const {id:_0x52bed9}=_0x5c76eb,{id:_0x5ecc24,type:_0x45f28d}=_0x59a6b1,_0x89ac50=(_0x2bdad1=_0x5c76eb[_0x19b404(0x23e)])!=null?_0x2bdad1:{'actions':null},_0x57d7d6=_0x59a6b1[_0x19b404(0x23e)];if(_0x52bed9&&_0x52bed9!==_0x5ecc24)throw new Error(_0x19b404(0x96)+_0x52bed9+_0x19b404(0x31d)+_0x5ecc24+'.');return{..._0x5c76eb,'id':_0x5ecc24,'type':_0x45f28d,'params':{'unitId':_0x57d7d6['unitId'],'textRanges':_0x57d7d6[_0x19b404(0x277)],'actions':_0x3b1fa4[_0x19b404(0x2e3)](_0x89ac50[_0x19b404(0x1f9)],_0x57d7d6[_0x19b404(0x1f9)])}};},{})],_0x4ea1e7=(_0x5a9fed=(_0x5233ef=_0x241c97[_0x47c381(0x2c9)]())==null?void 0x0:_0x5233ef[_0x47c381(0x158)])!=null?_0x5a9fed:'unknown',_0x2293eb=(_0x54f701=(_0x48135f=_0x241c97['getCurrentUser']())==null?void 0x0:_0x48135f[_0x47c381(0x17e)])!=null?_0x54f701:_0x47c381(0x22f);return{'changeset':{'unitID':_0x513128,'type':_0x2c4ce7(_0x20918a[_0x47c381(0x378)](_0x513128)),'baseRev':_0xe62b14[_0x47c381(0x1ef)](_0x513128),'revision':0x0,'userID':_0x4ea1e7,'memberID':_0x2293eb,'mutations':_0x47772a},'pendingMutations':[]};}function Oi(_0x5db8f6,_0x39b2a9){var _0x4b0a1c=_0x266d6a;const _0x4d1592=new _0x445737(0x1);return setTimeout(()=>_0x4d1592[_0x4b0a1c(0x2b0)](_0x39b2a9),_0x5db8f6),_0x4d1592['asObservable']()[_0x4b0a1c(0xa6)](_0x183959(0x1));}const ur={'id':_0x3b21c6['id'],'type':_0x2e04dc[_0x266d6a(0x2f5)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x266d6a(0x243)],Re=(_0x5c5eee,_0x4da4c2,_0x2526cc,_0xfbb8b5)=>{var _0x2b43d1=_0x266d6a;for(var _0x46f683=_0xfbb8b5>0x1?void 0x0:_0xfbb8b5?fr(_0x4da4c2,_0x2526cc):_0x4da4c2,_0x148ad7=_0x5c5eee[_0x2b43d1(0xd9)]-0x1,_0x5dd995;_0x148ad7>=0x0;_0x148ad7--)(_0x5dd995=_0x5c5eee[_0x148ad7])&&(_0x46f683=(_0xfbb8b5?_0x5dd995(_0x4da4c2,_0x2526cc,_0x46f683):_0x5dd995(_0x46f683))||_0x46f683);return _0xfbb8b5&&_0x46f683&&dr(_0x4da4c2,_0x2526cc,_0x46f683),_0x46f683;},A=(_0x450d2c,_0xc5591f)=>(_0x346806,_0x59202e)=>_0xc5591f(_0x346806,_0x59202e,_0x450d2c),yi=(_0x10cd0c=>(_0x10cd0c['NOT_COLLAB']=_0x266d6a(0x271),_0x10cd0c[_0x266d6a(0x316)]='synced',_0x10cd0c['PENDING']=_0x266d6a(0x286),_0x10cd0c['AWAITING']='awaiting',_0x10cd0c[_0x266d6a(0x163)]=_0x266d6a(0x209),_0x10cd0c[_0x266d6a(0x157)]='fetch_missing',_0x10cd0c[_0x266d6a(0x17f)]=_0x266d6a(0x1be),_0x10cd0c['OFFLINE']=_0x266d6a(0x27b),_0x10cd0c))(yi||{});const Ni=0xea60;class be{constructor(_0x1da2e4,_0x41acb7,_0x402083,_0x37821a,_0x1d9a78,_0x172783,_0x41bc45,_0xb0a3,_0x6d231f){var _0x3ccf33=_0x266d6a;N(this,_0x3ccf33(0x148),null),N(this,_0x3ccf33(0x156),[]),(this[_0x3ccf33(0x17c)]=_0x1da2e4,this[_0x3ccf33(0x2a9)]=_0x41acb7,this[_0x3ccf33(0x365)]=_0x1d9a78,this['_commandService']=_0x172783,this['_undoRedoService']=_0x41bc45,this[_0x3ccf33(0x1e0)]=_0xb0a3,this[_0x3ccf33(0x303)]=_0x6d231f,this[_0x3ccf33(0x148)]=_0x402083,this[_0x3ccf33(0x156)]=_0x37821a);}[_0x266d6a(0x14f)](_0x2aa170){var _0x1b1175=_0x266d6a;const _0x66e500=this[_0x1b1175(0x1e0)][_0x1b1175(0x1ef)](this[_0x1b1175(0x17c)]);return _0x2aa170['revision']>_0x66e500+0x1?(this[_0x1b1175(0x365)]['onMissingChangesets']({'from':_0x66e500,'to':_0x2aa170[_0x1b1175(0xc9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x105e1a){var _0x426fca=_0x266d6a;this[_0x426fca(0x21e)]['transformUndoRedo'](this[_0x426fca(0x17c)],_0x105e1a);}[_0x266d6a(0x230)](_0xe20289){var _0x132084=_0x266d6a,_0x2a0937,_0x362a1b;(_0x362a1b=(_0x2a0937=this['_handler'])['onTransformSelections'])==null||_0x362a1b[_0x132084(0x29f)](_0x2a0937,_0xe20289);}['_transformIMECache'](_0xd753da){var _0x198d90=_0x266d6a,_0x498035,_0x219364;return(_0x219364=(_0x498035=this[_0x198d90(0x365)])[_0x198d90(0x238)])==null?void 0x0:_0x219364[_0x198d90(0x29f)](_0x498035,_0xd753da);}[_0x266d6a(0x282)](_0x424751){var _0x2da40f=_0x266d6a,_0x423481,_0x523008;return(_0x523008=(_0x423481=this['_handler'])[_0x2da40f(0x2ba)])==null?void 0x0:_0x523008[_0x2da40f(0x29f)](_0x423481,_0x424751);}['_transformRemoteChangesetByIMECache'](_0x3819d2){var _0x9aa778=_0x266d6a,_0x1fb606,_0x546add,_0x5956b;return(_0x5956b=(_0x546add=(_0x1fb606=this['_handler'])[_0x9aa778(0x337)])==null?void 0x0:_0x546add[_0x9aa778(0x29f)](_0x1fb606,_0x3819d2))!=null?_0x5956b:_0x3819d2;}[_0x266d6a(0x10f)](_0x45e77c){var _0x1a9450=_0x266d6a,_0x1679b7,_0xefb84,_0x28cdde;return(_0x28cdde=(_0xefb84=(_0x1679b7=this[_0x1a9450(0x365)])[_0x1a9450(0x31a)])==null?void 0x0:_0xefb84[_0x1a9450(0x29f)](_0x1679b7,_0x45e77c))!=null?_0x28cdde:_0x45e77c;}[_0x266d6a(0x1c3)](_0x11c746){var _0x52a2d5=_0x266d6a,_0x1756fb,_0x1762e7;if(this[_0x52a2d5(0x2a9)]===Q[_0x52a2d5(0x330)]){const {unitID:_0x4cf92c,mutations:_0x532dc4,memberID:_0x4b0194}=_0x11c746,_0x25ff91=_0x532dc4[0x0][_0x52a2d5(0x23e)][_0x52a2d5(0x277)];Array[_0x52a2d5(0x30f)](_0x25ff91)&&_0x25ff91[_0x52a2d5(0xd9)]>0x0&&((_0x1762e7=(_0x1756fb=this[_0x52a2d5(0x365)])[_0x52a2d5(0x1d2)])==null||_0x1762e7[_0x52a2d5(0x29f)](_0x1756fb,{'unitID':_0x4cf92c,'memberID':_0x4b0194,'textRanges':_0x25ff91}));}}['_updateLocalCache'](){var _0x20b7a5=_0x266d6a,_0x1beec5;(_0x1beec5=this[_0x20b7a5(0x303)])==null||_0x1beec5['updateOfflineData'](this['unitID'],this['type'],this[_0x20b7a5(0x148)],this[_0x20b7a5(0x156)]);}[_0x266d6a(0x19c)](){var _0x4fd0a5=_0x266d6a;return this['_revisionService'][_0x4fd0a5(0x1ef)](this[_0x4fd0a5(0x17c)]);}[_0x266d6a(0x2d0)](){var _0x2f6cf1=_0x266d6a;this[_0x2f6cf1(0x1e0)][_0x2f6cf1(0x14d)](this['unitID']);}['_executeRemoteChangeset'](_0x110c77){var _0x4dd835=_0x266d6a,_0x3884b9;let _0x1b0847=this[_0x4dd835(0x33e)](_0x110c77);_0x1b0847=this[_0x4dd835(0x10f)](_0x1b0847);const _0x29a4bc=_0x4b2640(_0x1b0847[_0x4dd835(0x236)],this[_0x4dd835(0x7f)],{'fromCollab':!0x0});if(!_0x29a4bc[_0x4dd835(0x194)])throw _0x29a4bc[_0x4dd835(0x300)]instanceof Error?_0x29a4bc[_0x4dd835(0x300)]:new Error((_0x3884b9=_0x29a4bc[_0x4dd835(0x300)])!=null?_0x3884b9:_0x4dd835(0x356));this[_0x4dd835(0x109)](_0x1b0847),this['_transformStateCache'](_0x1b0847),this['_transformUndoredo'](_0x110c77),this[_0x4dd835(0x230)](_0x1b0847),this[_0x4dd835(0x1c3)](_0x1b0847),this[_0x4dd835(0x2d0)]();}}let De=class extends be{constructor(_0x81f149,_0x188ba8,_0xd4e7cb,_0x418895,_0x4a0ac,_0x4ac372,_0x1a4ef5,_0x22f71f,_0x1e7719,_0x2b752c){var _0x439d95=_0x266d6a;super(_0x81f149,_0x188ba8,null,[],_0xd4e7cb,_0x1a4ef5,_0x4ac372,_0x418895,_0x2b752c),N(this,_0x439d95(0x21a),'synced'),(this[_0x439d95(0x362)]=_0x4a0ac,this[_0x439d95(0xfd)]=_0x22f71f,this[_0x439d95(0x2e6)]=_0x1e7719,this[_0x439d95(0x298)]=_0x2b752c);}[_0x266d6a(0x15d)](_0x1bd36c){var _0x22ffbe=_0x266d6a;const _0x323d06=this[_0x22ffbe(0x362)]['createInstance'](oe,this[_0x22ffbe(0x17c)],this[_0x22ffbe(0x2a9)],[_0x1bd36c],this[_0x22ffbe(0x365)]);return _0x323d06[_0x22ffbe(0x296)](),_0x323d06['_updateLocalCache'](),_0x323d06;}[_0x266d6a(0x180)](_0x5a67d5){var _0x4bc4bd=_0x266d6a;if(this[_0x4bc4bd(0x14f)](_0x5a67d5))return this[_0x4bc4bd(0x362)][_0x4bc4bd(0x126)](te,this['unitID'],this[_0x4bc4bd(0x2a9)],null,[],null,[_0x5a67d5],this['_handler']);try{const _0x3f5e52=this[_0x4bc4bd(0x2e6)][_0x4bc4bd(0x127)](_0x5a67d5,[ur]);if(_0x54c294(_0x3f5e52)){const {c1Prime:_0x340ee0}=_0x3f5e52;return this[_0x4bc4bd(0x152)](_0x340ee0),this;}throw _0x3f5e52['error'];}catch(_0x3b60b0){return this[_0x4bc4bd(0xfd)]['error'](_0x3b60b0),this[_0x4bc4bd(0x274)](!0x1);}}[_0x266d6a(0x274)](_0x106afe){var _0x4b8be7=_0x266d6a;return this[_0x4b8be7(0x362)][_0x4b8be7(0x126)](de,this[_0x4b8be7(0x17c)],this['type'],null,[],this[_0x4b8be7(0x365)],_0x106afe);}[_0x266d6a(0x1ca)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x266d6a(0x1f6)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x266d6a(0x347)](){return this;}[_0x266d6a(0x211)](){var _0xf3a691=_0x266d6a;return this['_injector']['createInstance'](fe,this[_0xf3a691(0x17c)],this[_0xf3a691(0x2a9)],null,[],this[_0xf3a691(0x365)]);}[_0x266d6a(0x14e)](){return this;}[_0x266d6a(0x1b4)](){var _0x2dbb79=_0x266d6a;throw new Error(_0x2dbb79(0x37f));}[_0x266d6a(0x2b1)](){var _0x10ae05=_0x266d6a;const _0x5c52aa=this[_0x10ae05(0x1e0)][_0x10ae05(0x1ef)](this[_0x10ae05(0x17c)]);return this[_0x10ae05(0x365)][_0x10ae05(0xc7)]({'from':_0x5c52aa,'to':0x0}),this[_0x10ae05(0x362)][_0x10ae05(0x126)](te,this['unitID'],this[_0x10ae05(0x2a9)],null,[],null,[],this[_0x10ae05(0x365)]);}};De=Re([A(0x3,_0x3aecb8(_0x4444b4)),A(0x4,_0x3aecb8(_0x2c853e)),A(0x5,_0x14db79),A(0x6,_0x992005),A(0x7,_0x32e90f),A(0x8,_0x2457b6),A(0x9,_0x10484d(J))],De);let oe=class extends be{constructor(_0x131813,_0x4e8633,_0x3042f4,_0x5f56ab,_0x455edf,_0x517c4b,_0x3a845d,_0x158589,_0x56faa1,_0x58d331,_0x4dc464,_0x2b0915,_0x38b7b4,_0x12a733){var _0x495816=_0x266d6a;super(_0x131813,_0x4e8633,null,_0x3042f4,_0x5f56ab,_0x56faa1,_0x38b7b4,_0x517c4b,_0x12a733),N(this,_0x495816(0x21a),_0x495816(0x286)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x495816(0x32b),null),(this['_injector']=_0x455edf,this['_memberService']=_0x3a845d,this[_0x495816(0xfd)]=_0x158589,this[_0x495816(0x376)]=_0x58d331,this[_0x495816(0x2e6)]=_0x4dc464,this[_0x495816(0x1ea)]=_0x2b0915);}[_0x266d6a(0x15d)](_0x5207de){var _0xb839b=_0x266d6a;return this[_0xb839b(0x156)][_0xb839b(0x9f)](_0x5207de),this[_0xb839b(0x304)](),this;}[_0x266d6a(0x180)](_0x5840cb){var _0x2121ff=_0x266d6a;if(this[_0x2121ff(0x14f)](_0x5840cb))return this['_clearScheduledTask'](),this[_0x2121ff(0x362)][_0x2121ff(0x126)](te,this[_0x2121ff(0x17c)],this['type'],null,this[_0x2121ff(0x156)],null,[_0x5840cb],this[_0x2121ff(0x365)]);try{const _0x382f9c=this[_0x2121ff(0x2e6)][_0x2121ff(0x127)](_0x5840cb,this[_0x2121ff(0x156)]);if(_0x54c294(_0x382f9c)){const {c1Prime:_0x333a99,m2Prime:_0xdeaf48}=_0x382f9c;this[_0x2121ff(0x152)](_0x333a99);const _0x36fad7=this[_0x2121ff(0x362)]['createInstance'](oe,this['unitID'],this[_0x2121ff(0x2a9)],_0xdeaf48,this[_0x2121ff(0x365)]);this['_clearScheduledTask']();const _0x180f06=new Date()['getTime'](),_0x163792=this[_0x2121ff(0x322)]?Math[_0x2121ff(0x367)](this[_0x2121ff(0x322)]-_0x180f06,0x0):this['_getSendChangesetTimeout']();return _0x36fad7[_0x2121ff(0x296)](_0x163792),_0x36fad7;}throw _0x382f9c[_0x2121ff(0x300)];}catch(_0x4bebd2){return this[_0x2121ff(0xfd)][_0x2121ff(0x300)](_0x4bebd2),this[_0x2121ff(0x274)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x266d6a(0x1f6)](){var _0x383404=_0x266d6a;throw new Error(_0x383404(0xe0));}[_0x266d6a(0x347)](){return this;}[_0x266d6a(0x211)](){var _0x5e06dd=_0x266d6a;return this[_0x5e06dd(0xf6)](),this[_0x5e06dd(0x362)]['createInstance'](fe,this[_0x5e06dd(0x17c)],this[_0x5e06dd(0x2a9)],null,this[_0x5e06dd(0x156)],this[_0x5e06dd(0x365)]);}[_0x266d6a(0x14e)](){return this;}[_0x266d6a(0x296)](_0x8e242f){var _0x24a2fc=_0x266d6a;const _0x999080=_0x8e242f!=null?_0x8e242f:this[_0x24a2fc(0x352)]();this[_0x24a2fc(0x322)]=new Date()[_0x24a2fc(0x2fb)]()+_0x999080,this['_sendingTimer']=setTimeout(()=>{var _0x2f89b2=_0x24a2fc;this[_0x2f89b2(0xf6)]();let _0x2197ef=null;switch(this['type']){case Q[_0x2f89b2(0x34c)]:{_0x2197ef=zt(this[_0x2f89b2(0x156)],this['unitID'],this[_0x2f89b2(0x1ea)],this[_0x2f89b2(0x1e0)],this['_memberService']);break;}case Q[_0x2f89b2(0x330)]:{this[_0x2f89b2(0x156)][_0x2f89b2(0xb3)](_0x3cc0f6=>_0x3cc0f6['id']===_0x255a2d['id'])?_0x2197ef=lr(this[_0x2f89b2(0x156)],this[_0x2f89b2(0x17c)],this[_0x2f89b2(0x1ea)],this[_0x2f89b2(0x1e0)],this['_memberService']):_0x2197ef=zt(this[_0x2f89b2(0x156)],this[_0x2f89b2(0x17c)],this['_univerInstanceService'],this[_0x2f89b2(0x1e0)],this[_0x2f89b2(0x324)]);break;}default:throw new Error(_0x2f89b2(0x20e)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1dfb0b,pendingMutations:_0x404f3f}=_0x2197ef;this['_handler']['onSendChangeset'](_0x1dfb0b);const _0x7de5a9=_0x404f3f[_0x2f89b2(0xd9)]?this['_injector']['createInstance'](ae,this[_0x2f89b2(0x17c)],this[_0x2f89b2(0x2a9)],_0x1dfb0b,_0x404f3f,this[_0x2f89b2(0x365)],void 0x0):this[_0x2f89b2(0x362)][_0x2f89b2(0x126)](ue,this[_0x2f89b2(0x17c)],this[_0x2f89b2(0x2a9)],_0x1dfb0b,this[_0x2f89b2(0x365)]);_0x7de5a9[_0x2f89b2(0x304)](),this[_0x2f89b2(0x365)]['onStateChange'](this,_0x7de5a9);},_0x999080);}['_getSendChangesetTimeout'](){var _0x2821fd=_0x266d6a,_0x5b427e;const _0xa37b0b=this[_0x2821fd(0x376)][_0x2821fd(0x143)](q);return(_0x5b427e=_0xa37b0b==null?void 0x0:_0xa37b0b[_0x2821fd(0x2be)])!=null?_0x5b427e:Cn;}[_0x266d6a(0x1b4)](){var _0x194e23=_0x266d6a;throw new Error(_0x194e23(0x2d8));}[_0x266d6a(0xf6)](){var _0x553506=_0x266d6a;this[_0x553506(0x32b)]!=null&&(clearTimeout(this[_0x553506(0x32b)]),this[_0x553506(0x32b)]=null);}['_onConflict'](_0x32343d){var _0x2a5ba2=_0x266d6a;return this[_0x2a5ba2(0xf6)](),this[_0x2a5ba2(0x362)][_0x2a5ba2(0x126)](de,this[_0x2a5ba2(0x17c)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x32343d);}};oe=Re([A(0x4,_0x3aecb8(_0x2c853e)),A(0x5,_0x3aecb8(_0x4444b4)),A(0x6,_0x3aecb8(xe)),A(0x7,_0x32e90f),A(0x8,_0x992005),A(0x9,_0x50d22f),A(0xa,_0x2457b6),A(0xb,_0x51410d),A(0xc,_0x14db79),A(0xd,_0x10484d(J))],oe);let ue=class extends be{constructor(_0x29aaa2,_0x4ca87b,_0x3fe33f,_0xc46930,_0x53c32d,_0x8d4432,_0x207435,_0x38ae82,_0x1f6708,_0x18c062,_0x52e358){var _0x14b0e1=_0x266d6a;super(_0x29aaa2,_0x4ca87b,_0x3fe33f,[],_0xc46930,_0x207435,_0x18c062,_0x8d4432,_0x52e358),N(this,_0x14b0e1(0x21a),_0x14b0e1(0x2bd)),N(this,_0x14b0e1(0x136),0x0),N(this,_0x14b0e1(0x1cd)),N(this,'_sender'),(this[_0x14b0e1(0x362)]=_0x53c32d,this[_0x14b0e1(0xfd)]=_0x38ae82,this[_0x14b0e1(0x2e6)]=_0x1f6708);}['appendMutation'](_0x28b84a){var _0x198f32=_0x266d6a;this[_0x198f32(0xf6)]();const _0x2809e6=this[_0x198f32(0x362)]['createInstance'](ae,this[_0x198f32(0x17c)],this[_0x198f32(0x2a9)],this[_0x198f32(0x148)],[_0x28b84a],this[_0x198f32(0x365)],this[_0x198f32(0x1cd)]);return _0x2809e6[_0x198f32(0x304)](),_0x2809e6;}[_0x266d6a(0x180)](_0x55eee9){var _0x21ee5c=_0x266d6a;if(this[_0x21ee5c(0x14f)](_0x55eee9))return this[_0x21ee5c(0xf6)](),this[_0x21ee5c(0x362)][_0x21ee5c(0x126)](te,this['unitID'],this[_0x21ee5c(0x2a9)],this[_0x21ee5c(0x148)],[],null,[_0x55eee9],this[_0x21ee5c(0x365)]);try{const _0x30d6ce=this[_0x21ee5c(0x2e6)][_0x21ee5c(0x2dd)]([_0x55eee9],[this[_0x21ee5c(0x148)]],!0x1);if(_0x17a425(_0x30d6ce)){const {c1Prime:_0x3f3cf7,c2Prime:_0x71f628}=_0x30d6ce;this[_0x21ee5c(0x152)](_0x3f3cf7[0x0]),_0x71f628[0x0][_0x21ee5c(0x138)]=this[_0x21ee5c(0x19c)](),this[_0x21ee5c(0xf6)]();const _0x147b47=this['_injector'][_0x21ee5c(0x126)](ue,this[_0x21ee5c(0x17c)],this[_0x21ee5c(0x2a9)],_0x71f628[0x0],this['_handler']);return _0x147b47['_updateLocalCache'](),_0x147b47;}return this[_0x21ee5c(0x274)](!0x1);}catch(_0x15ad32){return this[_0x21ee5c(0xfd)][_0x21ee5c(0x300)](_0x15ad32),this[_0x21ee5c(0x274)](!0x1);}}['onRemoteAck'](_0x3bff5){var _0x36106d=_0x266d6a;this[_0x36106d(0xf6)]();const _0x29bd7c=this[_0x36106d(0x1e0)]['getCurrentRevOfUnit'](this['unitID']);if(_0x3bff5['revision']<_0x29bd7c-0x1)return this;if(this['_checkMissing'](_0x3bff5))return this[_0x36106d(0x362)][_0x36106d(0x126)](te,this['unitID'],this[_0x36106d(0x2a9)],null,[],this['_awaitingChangeset'],[],this[_0x36106d(0x365)]);this[_0x36106d(0x2d0)]();const _0x2bb09d=this[_0x36106d(0x362)][_0x36106d(0x126)](De,this[_0x36106d(0x17c)],this[_0x36106d(0x2a9)],this[_0x36106d(0x365)]);return _0x2bb09d[_0x36106d(0x304)](),_0x2bb09d;}[_0x266d6a(0x1f6)](_0xbb6416){var _0x9faa0c=_0x266d6a;return this[_0x9faa0c(0x274)](!!(_0xbb6416!=null&&_0xbb6416['isPermissionRej']));}[_0x266d6a(0x347)](_0x50d4bd){var _0x4494c4=_0x266d6a;return this[_0x4494c4(0x136)]>Ni?this[_0x4494c4(0x211)]():(this[_0x4494c4(0x1cd)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x50d4bd['reqId']}),this[_0x4494c4(0x93)]=this[_0x4494c4(0x1cd)][_0x4494c4(0x1c9)](({reqId:_0x2301b2,timeout:_0x5e622b})=>{this['_resendWithTimeout'](_0x2301b2,_0x5e622b);}),this);}[_0x266d6a(0x211)](){var _0x483369=_0x266d6a;return this[_0x483369(0xf6)](),this[_0x483369(0x362)]['createInstance'](fe,this['unitID'],this[_0x483369(0x2a9)],this[_0x483369(0x148)],[],this['_handler']);}[_0x266d6a(0x14e)](){return this;}[_0x266d6a(0x1b4)](){var _0x2dd1e3=_0x266d6a;this['_handler'][_0x2dd1e3(0x18d)](this[_0x2dd1e3(0x148)]);}[_0x266d6a(0x274)](_0x599b65){var _0xc27eb5=_0x266d6a;return this[_0xc27eb5(0xf6)](),this[_0xc27eb5(0x362)][_0xc27eb5(0x126)](de,this[_0xc27eb5(0x17c)],this[_0xc27eb5(0x2a9)],this['_awaitingChangeset'],[],this[_0xc27eb5(0x365)],_0x599b65);}[_0x266d6a(0x267)](_0x2f7b62,_0x3eae6b){var _0x4d742a=_0x266d6a,_0x42e421;_0x2f7b62===((_0x42e421=this['_awaitingChangeset'])==null?void 0x0:_0x42e421[_0x4d742a(0x92)])&&(this[_0x4d742a(0x1b4)](),this[_0x4d742a(0x136)]=_0x3eae6b===0x0?0x3e8:_0x3eae6b*0x2);}[_0x266d6a(0xf6)](){var _0x5d339a=_0x266d6a,_0x40c3dd;(_0x40c3dd=this[_0x5d339a(0x93)])==null||_0x40c3dd['unsubscribe'](),this[_0x5d339a(0x136)]=0x0;}};ue=Re([A(0x4,_0x3aecb8(_0x2c853e)),A(0x5,_0x3aecb8(_0x4444b4)),A(0x6,_0x992005),A(0x7,_0x32e90f),A(0x8,_0x2457b6),A(0x9,_0x14db79),A(0xa,_0x10484d(J))],ue);let ae=class extends be{constructor(_0x182666,_0x53581e,_0x40ec46,_0xaf7ca6,_0x20e084,_0x581ebf,_0x2960cd,_0x297355,_0x2a961a,_0x263bfd,_0x4f1289,_0x447c23,_0x46e5f0){var _0x2ee472=_0x266d6a;super(_0x182666,_0x53581e,_0x40ec46,_0xaf7ca6,_0x20e084,_0x2a961a,_0x447c23,_0x297355,_0x46e5f0),N(this,'status',_0x2ee472(0x209)),N(this,'_resendTimeout',0x0),N(this,_0x2ee472(0x1cd)),N(this,'_sender'),(this[_0x2ee472(0x362)]=_0x2960cd,this[_0x2ee472(0xfd)]=_0x263bfd,this[_0x2ee472(0x2e6)]=_0x4f1289,this[_0x2ee472(0x298)]=_0x46e5f0,_0x581ebf&&(this[_0x2ee472(0x1cd)]=_0x581ebf,this[_0x2ee472(0x93)]=this[_0x2ee472(0x1cd)][_0x2ee472(0x1c9)](({reqId:_0x4cd6be,timeout:_0x5736a7})=>{var _0x2dc189=_0x2ee472;this[_0x2dc189(0x267)](_0x4cd6be,_0x5736a7);})));}['appendMutation'](_0x502273){var _0x499858=_0x266d6a;return this['_pendingMutations'][_0x499858(0x9f)](_0x502273),this;}[_0x266d6a(0x180)](_0x16f6f2){var _0x20005a=_0x266d6a;if(this['_checkMissing'](_0x16f6f2))return this[_0x20005a(0xf6)](),this[_0x20005a(0x362)]['createInstance'](te,this['unitID'],this['type'],this[_0x20005a(0x148)],this[_0x20005a(0x156)],null,[_0x16f6f2],this[_0x20005a(0x365)]);try{const _0xcbb32f=this[_0x20005a(0x2e6)][_0x20005a(0x2dd)]([_0x16f6f2],[this[_0x20005a(0x148)]],!0x1);if(_0x17a425(_0xcbb32f)){const {c1Prime:_0x5de787,c2Prime:_0x1ff1be}=_0xcbb32f,_0x171d61=this[_0x20005a(0x2e6)][_0x20005a(0x127)](_0x5de787[0x0],this[_0x20005a(0x156)]);if(_0x54c294(_0x171d61)){const {c1Prime:_0x327cbf,m2Prime:_0xd61a54}=_0x171d61;return this[_0x20005a(0x152)](_0x327cbf),_0x1ff1be[0x0][_0x20005a(0x138)]=this[_0x20005a(0x19c)](),this[_0x20005a(0xf6)](),this[_0x20005a(0x362)][_0x20005a(0x126)](ae,this['unitID'],this[_0x20005a(0x2a9)],_0x1ff1be[0x0],_0xd61a54,this[_0x20005a(0x365)],void 0x0);}throw _0x171d61[_0x20005a(0x300)];}throw _0xcbb32f['error'];}catch(_0x1976fb){return this[_0x20005a(0xfd)][_0x20005a(0x300)](_0x1976fb),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4849c9){var _0x757f5=_0x266d6a;if(this[_0x757f5(0xf6)](),this[_0x757f5(0x14f)](_0x4849c9))return this['_injector'][_0x757f5(0x126)](te,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x757f5(0x148)],[],this[_0x757f5(0x365)]);this[_0x757f5(0x2d0)]();const _0x12fdb6=this[_0x757f5(0x362)]['createInstance'](oe,this[_0x757f5(0x17c)],this[_0x757f5(0x2a9)],this['_pendingMutations'],this[_0x757f5(0x365)]);return _0x12fdb6['_schedule'](),_0x12fdb6[_0x757f5(0x304)](),_0x12fdb6;}[_0x266d6a(0x1f6)](_0x425f12){var _0x462c92=_0x266d6a;return this[_0x462c92(0x274)](!!(_0x425f12!=null&&_0x425f12[_0x462c92(0x227)]));}[_0x266d6a(0x347)](_0x19a791){var _0x24b7a5=_0x266d6a;return this['_resendTimeout']>Ni?this[_0x24b7a5(0x211)]():(this[_0x24b7a5(0x1cd)]=Oi(this[_0x24b7a5(0x136)],{'timeout':this['_resendTimeout'],'reqId':_0x19a791[_0x24b7a5(0x92)]}),this[_0x24b7a5(0x93)]=this[_0x24b7a5(0x1cd)]['subscribe'](({reqId:_0x4f098f,timeout:_0x24f3b9})=>{var _0x1b2a95=_0x24b7a5;this[_0x1b2a95(0x267)](_0x4f098f,_0x24f3b9);}),this);}['toggleOffline'](){var _0xe0b581=_0x266d6a;return this['_clearScheduledTask'](),this[_0xe0b581(0x362)][_0xe0b581(0x126)](fe,this[_0xe0b581(0x17c)],this[_0xe0b581(0x2a9)],this[_0xe0b581(0x148)],this[_0xe0b581(0x156)],this[_0xe0b581(0x365)]);}[_0x266d6a(0x14e)](){return this;}['resend'](){var _0x21b69f=_0x266d6a;this[_0x21b69f(0x365)][_0x21b69f(0x18d)](this[_0x21b69f(0x148)]);}[_0x266d6a(0x274)](_0x573753){var _0x101384=_0x266d6a;return this['_clearScheduledTask'](),this[_0x101384(0x362)][_0x101384(0x126)](de,this[_0x101384(0x17c)],this['type'],null,this[_0x101384(0x156)],this[_0x101384(0x365)],_0x573753);}[_0x266d6a(0x267)](_0x4fb5dc,_0x3db05b){var _0x193265=_0x266d6a,_0x44ce9a;_0x4fb5dc===((_0x44ce9a=this['_awaitingChangeset'])==null?void 0x0:_0x44ce9a[_0x193265(0x92)])&&(this[_0x193265(0x1b4)](),this[_0x193265(0x136)]=_0x3db05b===0x0?0x3e8:_0x3db05b*0x2);}[_0x266d6a(0xf6)](){var _0x5bfca8=_0x266d6a,_0x1d6a3a;(_0x1d6a3a=this[_0x5bfca8(0x93)])==null||_0x1d6a3a[_0x5bfca8(0x27d)](),this[_0x5bfca8(0x136)]=0x0;}};ae=Re([A(0x6,_0x3aecb8(_0x2c853e)),A(0x7,_0x3aecb8(_0x4444b4)),A(0x8,_0x992005),A(0x9,_0x32e90f),A(0xa,_0x2457b6),A(0xb,_0x14db79),A(0xc,_0x10484d(J))],ae);let de=class extends be{constructor(_0x1d94fd,_0x3b7077,_0x2d6d20,_0x4ea9a5,_0x414396,_0x10a3de=!0x1,_0x428d9b,_0x3658a5,_0x5e0e51,_0x574465,_0x3223d4,_0x38d5a4,_0x5e6698){var _0x351e28=_0x266d6a;super(_0x1d94fd,_0x3b7077,_0x2d6d20,_0x4ea9a5,_0x414396,_0x3658a5,_0x5e0e51,_0x574465,_0x5e6698),N(this,_0x351e28(0x21a),_0x351e28(0x1be)),(this[_0x351e28(0x83)]=_0x10a3de,this[_0x351e28(0x1e2)]=_0x428d9b,this['_localeService']=_0x3223d4,this[_0x351e28(0xc0)]=_0x38d5a4,this[_0x351e28(0x298)]=_0x5e6698,this[_0x351e28(0xae)](),this[_0x351e28(0x1ce)](),this[_0x351e28(0x29b)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x266d6a(0x1f6)](){return this;}['onRemoteRetry'](){return this;}[_0x266d6a(0x211)](){return this;}[_0x266d6a(0x14e)](){return this;}[_0x266d6a(0x1b4)](){var _0x2e8ced=_0x266d6a;throw new Error(_0x2e8ced(0x9b));}[_0x266d6a(0x1ce)](){var _0x44544a=_0x266d6a,_0xb43711;(_0xb43711=this[_0x44544a(0x303)])==null||_0xb43711[_0x44544a(0x355)](this['unitID'],this[_0x44544a(0x2a9)],null,[]);}['_showConflictNotification'](){var _0x5bcd23=_0x266d6a;this[_0x5bcd23(0x83)]?this['_collaborationUIEventService'][_0x5bcd23(0x1a6)]({'id':se[_0x5bcd23(0x379)]}):this[_0x5bcd23(0xc0)]['emitEvent']({'id':se[_0x5bcd23(0x17f)]});}[_0x266d6a(0x29b)](){var _0x3ff22f=_0x266d6a;this[_0x3ff22f(0x1e2)][_0x3ff22f(0x1cf)](new _0x2144b3(this[_0x3ff22f(0x17c)])['id'],!0x1);}};de=Re([A(0x6,_0x3aecb8(_0x51ea27)),A(0x7,_0x992005),A(0x8,_0x14db79),A(0x9,_0x3aecb8(_0x4444b4)),A(0xa,_0x3aecb8(_0x435956)),A(0xb,_0x3aecb8(pe)),A(0xc,_0x10484d(J))],de);let fe=class extends be{constructor(_0xec2878,_0x1866f5,_0x171441,_0x4fb0b3,_0x5e9c46,_0x2c9871,_0x396d3f,_0x55fc67,_0x241c45,_0x53d1f1){var _0xaa9460=_0x266d6a;super(_0xec2878,_0x1866f5,_0x171441,_0x4fb0b3,_0x5e9c46,_0x55fc67,_0x241c45,_0x396d3f,_0x53d1f1),N(this,_0xaa9460(0x21a),_0xaa9460(0x27b)),this[_0xaa9460(0x362)]=_0x2c9871;}['appendMutation'](_0x54de39){var _0x292a20=_0x266d6a;return this[_0x292a20(0x156)][_0x292a20(0x9f)](_0x54de39),this['_updateLocalCache'](),this;}[_0x266d6a(0x180)](_0x7ead10){var _0x1239d8=_0x266d6a;throw new Error(_0x1239d8(0x131));}[_0x266d6a(0x1ca)](){var _0x1b8504=_0x266d6a;throw new Error(_0x1b8504(0x77));}['onRemoteRej'](){var _0x549619=_0x266d6a;throw new Error(_0x549619(0x144));}[_0x266d6a(0x347)](){return this;}[_0x266d6a(0x211)](){return this;}[_0x266d6a(0x14e)](){var _0x5e756c=_0x266d6a;const {_injector:_0x13a691,_pendingMutations:_0x3eeed3,_awaitingChangeset:_0x53690e,unitID:_0x1e4219,_handler:_0x113e58,type:_0x5e8e70}=this,_0x4aad03=Di(_0x13a691,_0x1e4219,_0x5e8e70,_0x53690e,_0x3eeed3,_0x113e58);return _0x4aad03 instanceof oe?_0x4aad03[_0x5e756c(0x296)]():(_0x4aad03 instanceof ae||_0x4aad03 instanceof ue)&&_0x4aad03[_0x5e756c(0x1b4)](),_0x4aad03;}[_0x266d6a(0x1b4)](){var _0x31d57e=_0x266d6a;throw new Error(_0x31d57e(0x280));}};fe=Re([A(0x5,_0x3aecb8(_0x2c853e)),A(0x6,_0x3aecb8(_0x4444b4)),A(0x7,_0x992005),A(0x8,_0x14db79),A(0x9,_0x10484d(J))],fe);let te=class extends be{constructor(_0x37403c,_0x45e7b3,_0x4c7802,_0x596bbc,_0x360e40,_0x349c91,_0x324b28,_0x2d763d,_0xef99d3,_0x633b64,_0x2616a1,_0x3b0a75,_0x59cdb2,_0x11e923){var _0x182c3d=_0x266d6a;super(_0x37403c,_0x45e7b3,_0x4c7802,_0x596bbc,_0x324b28,_0x2616a1,_0x3b0a75,_0xef99d3,_0x11e923),N(this,_0x182c3d(0x21a),_0x182c3d(0x2f0)),(this['_acknowledgedAwaitingChangeset']=_0x360e40,this[_0x182c3d(0x1ed)]=_0x349c91,this[_0x182c3d(0x362)]=_0x2d763d,this[_0x182c3d(0xfd)]=_0x633b64,this['_transformService']=_0x59cdb2,this['localCacheService']=_0x11e923);}[_0x266d6a(0x1ae)](_0x30e4ff){var _0x58a510=_0x266d6a;try{const _0x1c799a=[..._0x30e4ff,...this['_queuedRemoteChangesets']],_0x2ce97a=[this[_0x58a510(0x148)]||this[_0x58a510(0x30a)]]['filter'](_0x4fe453=>!!_0x4fe453);let _0x316e3f,_0x1869df;if(_0x2ce97a[_0x58a510(0xd9)]){const _0xf4f6f7=this[_0x58a510(0x2e6)][_0x58a510(0x2dd)](_0x1c799a,_0x2ce97a,!0x1);if(!_0x17a425(_0xf4f6f7))throw _0xf4f6f7[_0x58a510(0x300)];_0x316e3f=_0xf4f6f7[_0x58a510(0x2e8)],_0x1869df=_0xf4f6f7['c2Prime'];}else _0x316e3f=_0x1c799a,_0x1869df=[];let _0x2cac2a=this[_0x58a510(0x156)];_0x316e3f[_0x58a510(0xf2)](_0x55657d=>{var _0x2d1d81=_0x58a510;let _0xe143d6;if(_0x2cac2a[_0x2d1d81(0xd9)]){const _0x4e452f=this[_0x2d1d81(0x2e6)][_0x2d1d81(0x127)](_0x55657d,_0x2cac2a);if(!_0x54c294(_0x4e452f))throw _0x4e452f['error'];_0xe143d6=_0x4e452f[_0x2d1d81(0x2e8)],_0x2cac2a=_0x4e452f[_0x2d1d81(0x276)];}else _0xe143d6=_0x55657d;this[_0x2d1d81(0x152)](_0xe143d6);}),this[_0x58a510(0x30a)]&&this[_0x58a510(0x2d0)](),this['_awaitingChangeset']&&_0x1869df[_0x58a510(0xd9)]&&(_0x1869df[0x0][_0x58a510(0x138)]=this['_getCurrentRevision']());let _0x2b79a9;if(this[_0x58a510(0x148)]&&_0x2cac2a[_0x58a510(0xd9)]!==0x0)_0x2b79a9=this[_0x58a510(0x362)][_0x58a510(0x126)](ae,this[_0x58a510(0x17c)],this[_0x58a510(0x2a9)],_0x1869df[0x0],_0x2cac2a,this[_0x58a510(0x365)],void 0x0);else{if(this[_0x58a510(0x148)]&&_0x2cac2a[_0x58a510(0xd9)]===0x0)_0x1869df[0x0]['baseRev']=this['_getCurrentRevision'](),_0x2b79a9=this[_0x58a510(0x362)]['createInstance'](ue,this[_0x58a510(0x17c)],this[_0x58a510(0x2a9)],_0x1869df[0x0],this[_0x58a510(0x365)]);else{if(_0x2cac2a[_0x58a510(0xd9)]!==0x0){const _0x37efa9=this[_0x58a510(0x362)][_0x58a510(0x126)](oe,this[_0x58a510(0x17c)],this[_0x58a510(0x2a9)],_0x2cac2a,this['_handler']);_0x37efa9['_schedule'](),_0x2b79a9=_0x37efa9;}else _0x2b79a9=this['_injector'][_0x58a510(0x126)](De,this[_0x58a510(0x17c)],this[_0x58a510(0x2a9)],this[_0x58a510(0x365)]);}}return _0x2b79a9[_0x58a510(0x304)](),_0x2b79a9;}catch(_0x37d62f){return this[_0x58a510(0xfd)][_0x58a510(0x300)](_0x58a510(0x98),_0x58a510(0x199),_0x37d62f),this[_0x58a510(0x362)][_0x58a510(0x126)](de,this[_0x58a510(0x17c)],this[_0x58a510(0x2a9)],this['_awaitingChangeset'],this[_0x58a510(0x156)],this[_0x58a510(0x365)],!0x1);}}[_0x266d6a(0x1b4)](){var _0x4a7887=_0x266d6a;throw new Error(_0x4a7887(0xc1));}[_0x266d6a(0x15d)](_0xa939b7){var _0x3aae5f=_0x266d6a;return this[_0x3aae5f(0x156)]['push'](_0xa939b7),this;}[_0x266d6a(0x180)](_0x47fa58){var _0x455597=_0x266d6a;return this[_0x455597(0x1ed)][_0x455597(0x9f)](_0x47fa58),this;}[_0x266d6a(0x1ca)](_0x54a362){var _0x365b96=_0x266d6a;if(this[_0x365b96(0x148)])return this['_acknowledgedAwaitingChangeset']=this[_0x365b96(0x148)],this[_0x365b96(0x148)]=null,this;throw new Error(_0x365b96(0x2e2));}[_0x266d6a(0x1f6)](_0x477449){var _0x535502=_0x266d6a;return this[_0x535502(0x274)](!!(_0x477449!=null&&_0x477449[_0x535502(0x227)]));}[_0x266d6a(0x347)](){return this;}['toggleOffline'](){var _0x171447=_0x266d6a;return this[_0x171447(0x362)][_0x171447(0x126)](fe,this['unitID'],this[_0x171447(0x2a9)],this[_0x171447(0x148)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x266d6a(0x274)](_0x854fe9){var _0x22367a=_0x266d6a;return this[_0x22367a(0x362)]['createInstance'](de,this[_0x22367a(0x17c)],this[_0x22367a(0x2a9)],this['_awaitingChangeset'],this[_0x22367a(0x156)],this[_0x22367a(0x365)],_0x854fe9);}};te=Re([A(0x7,_0x3aecb8(_0x2c853e)),A(0x8,_0x3aecb8(_0x4444b4)),A(0x9,_0x32e90f),A(0xa,_0x992005),A(0xb,_0x14db79),A(0xc,_0x2457b6),A(0xd,_0x10484d(J))],te);function Di(_0x4b4e9f,_0x4045d9,_0x5f1de3,_0x2abd90,_0x273bc9,_0x50d436){var _0x78b357=_0x266d6a;return _0x2abd90&&_0x273bc9[_0x78b357(0xd9)]?_0x4b4e9f[_0x78b357(0x126)](ae,_0x4045d9,_0x5f1de3,_0x2abd90,_0x273bc9,_0x50d436,void 0x0):_0x2abd90?_0x4b4e9f[_0x78b357(0x126)](ue,_0x4045d9,_0x5f1de3,_0x2abd90,_0x50d436):_0x273bc9[_0x78b357(0xd9)]?_0x4b4e9f['createInstance'](oe,_0x4045d9,_0x5f1de3,_0x273bc9,_0x50d436):_0x4b4e9f[_0x78b357(0x126)](De,_0x4045d9,_0x5f1de3,_0x50d436);}var vr=Object[_0x266d6a(0x348)],pr=Object[_0x266d6a(0x243)],Lt=(_0x12739d,_0x548395,_0x14746a,_0x34c4a9)=>{var _0x36a019=_0x266d6a;for(var _0x2f293c=_0x34c4a9>0x1?void 0x0:_0x34c4a9?pr(_0x548395,_0x14746a):_0x548395,_0x24896a=_0x12739d[_0x36a019(0xd9)]-0x1,_0xb8461c;_0x24896a>=0x0;_0x24896a--)(_0xb8461c=_0x12739d[_0x24896a])&&(_0x2f293c=(_0x34c4a9?_0xb8461c(_0x548395,_0x14746a,_0x2f293c):_0xb8461c(_0x2f293c))||_0x2f293c);return _0x34c4a9&&_0x2f293c&&vr(_0x548395,_0x14746a,_0x2f293c),_0x2f293c;},k=(_0x2f3112,_0x360c24)=>(_0x4a91c0,_0xf93fc8)=>_0x360c24(_0x4a91c0,_0xf93fc8,_0x2f3112);let nt=class extends _0x30423e{constructor(_0x532603,_0x273e29,_0x3900d5,_0x4fc5ca,_0x5be23d,_0x5e2aeb,_0x549864,_0x5e728f,_0x33997c,_0x2073d2,_0x5c01b6,_0x1a794d,_0xef01c4){var _0x1e0263=_0x266d6a;super(),N(this,_0x1e0263(0x1ad),new _0x3c994e(null)),N(this,'state$',this['_state$'][_0x1e0263(0x18e)]()),N(this,'_state'),N(this,_0x1e0263(0x112),!0x1),N(this,_0x1e0263(0xb9),''),N(this,'_changesetReqId',0x0),N(this,_0x1e0263(0x176),this[_0x1e0263(0x2ce)][_0x1e0263(0xa6)](_0x2ec3fa(_0x15923d=>_0x15923d?_0x15923d[_0x1e0263(0x21a)]:yi['OFFLINE']),_0x1ff5fc(0x1))),N(this,_0x1e0263(0x20d),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x1e0263(0x17c)]=_0x532603,this[_0x1e0263(0xd0)]=_0x273e29,this[_0x1e0263(0x12e)]=_0x3900d5,this[_0x1e0263(0x362)]=_0x4fc5ca,this[_0x1e0263(0x361)]=_0x5be23d,this[_0x1e0263(0x2c3)]=_0x5e2aeb,this[_0x1e0263(0x1e0)]=_0x549864,this[_0x1e0263(0x21b)]=_0x5e728f,this[_0x1e0263(0xfd)]=_0x33997c,this[_0x1e0263(0x7f)]=_0x2073d2,this[_0x1e0263(0x1e2)]=_0x5c01b6,this[_0x1e0263(0x2c4)]=_0x1a794d,this[_0x1e0263(0x303)]=_0xef01c4);}get[_0x266d6a(0x250)](){var _0x24fc19=_0x266d6a;return this[_0x24fc19(0x263)];}async[_0x266d6a(0x1c6)](){var _0x553373=_0x266d6a;if(this[_0x553373(0x250)])throw new Error(_0x553373(0xb4));await this['_init']();}['pauseCollaboration'](){var _0x2defd4=_0x266d6a;return this[_0x2defd4(0x112)]=!0x0,_0xdf59bc(()=>{var _0x221f7f=_0x2defd4;this['_collaborationPaused']=!0x1,this[_0x221f7f(0x8c)]();});}[_0x266d6a(0x366)](_0x3bbebf){this['_onLocalMutation'](_0x3bbebf);}[_0x266d6a(0x360)](_0x5b4fde){var _0x75eac7=_0x266d6a;this[_0x75eac7(0x263)]=_0x5b4fde,this['_state$'][_0x75eac7(0x2b0)](_0x5b4fde);}async['_init'](){var _0x3ec8d3=_0x266d6a,_0x3dd50d;this[_0x3ec8d3(0x360)](await this[_0x3ec8d3(0x338)]()),this['_singleActiveUnitService']&&((_0x3dd50d=this[_0x3ec8d3(0x2c4)])==null||_0x3dd50d[_0x3ec8d3(0x305)](this['unitID']),this[_0x3ec8d3(0x13b)](this[_0x3ec8d3(0x2c4)]['getUnitStatus$'](this[_0x3ec8d3(0x17c)])['subscribe'](_0x3c7719=>{var _0x2c7d8f=_0x3ec8d3;this[_0x2c7d8f(0xfd)][_0x2c7d8f(0x2ab)](_0x2c7d8f(0x110),'editing\x20status\x20changed\x20to',_0x3c7719),_0x3c7719===bi[_0x2c7d8f(0x272)]?(this[_0x2c7d8f(0x21b)][_0x2c7d8f(0x1a6)]({'id':se[_0x2c7d8f(0x154)]}),this[_0x2c7d8f(0x1e2)][_0x2c7d8f(0x1cf)](new _0x2144b3(this['unitID'])['id'],!0x1),this['_permissionService'][_0x2c7d8f(0x166)](!0x1)):(this[_0x2c7d8f(0x1e2)][_0x2c7d8f(0x1cf)](new _0x2144b3(this[_0x2c7d8f(0x17c)])['id'],!0x0),this[_0x2c7d8f(0x1e2)][_0x2c7d8f(0x166)](!0x0));})));let _0x1b426d=!0x1;return this[_0x3ec8d3(0x13b)](this[_0x3ec8d3(0xd0)][_0x3ec8d3(0x167)]['subscribe'](_0x397095=>{var _0x15a6b3=_0x3ec8d3;_0x397095===Te[_0x15a6b3(0x106)]?this[_0x15a6b3(0xb8)](_0x1b426d):_0x397095===Te[_0x15a6b3(0x19d)]&&(_0x1b426d=!0x0,this[_0x15a6b3(0x210)]());})),this['disposeWithMe'](this[_0x3ec8d3(0xd0)][_0x3ec8d3(0x2c7)][_0x3ec8d3(0x1c9)](_0x5ba66e=>{var _0x48821c=_0x3ec8d3;try{switch(_0x5ba66e[_0x48821c(0x33a)]){case _0x3ef1ce[_0x48821c(0x374)]:{this[_0x48821c(0x252)](_0x4f458d(_0x5ba66e[_0x48821c(0x2fe)]));break;}case _0x3ef1ce['CHANGESET_ACK']:{this['_onRemoteACK'](_0x5ba66e[_0x48821c(0x2fe)]);break;}case _0x3ef1ce['CHANGESET_REJ']:{this[_0x48821c(0x149)]();break;}case _0x3ef1ce['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5ba66e['data']);break;}case _0x3ef1ce[_0x48821c(0x1e4)]:{this[_0x48821c(0x1bd)](_0x5ba66e['data'][_0x48821c(0xf9)][_0x48821c(0x206)](_0x1839aa=>_0x4f458d(_0x1839aa)));break;}case _0x3ef1ce[_0x48821c(0x114)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3ef1ce[_0x48821c(0x12a)]:break;}}catch(_0xa6837e){throw console[_0x48821c(0x300)]('Error\x20on\x20receiving\x20event',_0xa6837e),_0xa6837e;}})),this[_0x3ec8d3(0x263)];}['_unlockTransition'](){var _0x1e68f4=_0x266d6a;this[_0x1e68f4(0x20d)]=!0x1;}['_lockTransition'](){var _0x445e9f=_0x266d6a;if(this['_transitionLocked'])throw new Error(_0x445e9f(0x29c));this[_0x445e9f(0x20d)]=!0x0;}['_onLocalMutation'](_0x5e8f73){var _0x4f806c=_0x266d6a;this['_lockTransition'](),this[_0x4f806c(0x360)](this[_0x4f806c(0x263)]['appendMutation'](_0x5e8f73)),this[_0x4f806c(0x22b)]();}[_0x266d6a(0x252)](_0x4f95dd){var _0x1a1d13=_0x266d6a;if(!(_0x4f95dd[_0x1a1d13(0xc9)]<=this[_0x1a1d13(0x1e0)][_0x1a1d13(0x1ef)](this[_0x1a1d13(0x17c)]))){if(this[_0x1a1d13(0x112)]){this['_remoteChangesetQueue'][_0x1a1d13(0x9f)](_0x4f95dd);return;}this[_0x1a1d13(0x248)](_0x4f95dd);}}['_exhaustRemoteChangesetQueue'](){var _0x4324dd=_0x266d6a;this['_remoteChangesetQueue'][_0x4324dd(0xf2)](_0x19d049=>this[_0x4324dd(0x248)](_0x19d049)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x3edd4d){var _0x2d5767=_0x266d6a;const _0x3ab4d8=this[_0x2d5767(0x361)][_0x2d5767(0x2e0)][_0x2d5767(0x1d8)](this['_compressMutationService'][_0x2d5767(0x2e0)][_0x2d5767(0x265)]()[_0x2d5767(0x1aa)])(_0x3edd4d[_0x2d5767(0x236)],null)||_0x3edd4d[_0x2d5767(0x236)],_0x4936f1={..._0x3edd4d,'mutations':_0x3ab4d8};this[_0x2d5767(0x76)](),this['_updateState'](this[_0x2d5767(0x263)][_0x2d5767(0x180)](_0x4936f1)),this[_0x2d5767(0x22b)]();}[_0x266d6a(0xfa)](_0x28629d){var _0x315e47=_0x266d6a;this[_0x315e47(0x76)](),this[_0x315e47(0x360)](this[_0x315e47(0x263)][_0x315e47(0x1ca)](_0x28629d)),this[_0x315e47(0x22b)]();}[_0x266d6a(0x149)](_0xa716e7){var _0x1de7dc=_0x266d6a;this[_0x1de7dc(0x76)](),this[_0x1de7dc(0x360)](this[_0x1de7dc(0x263)][_0x1de7dc(0x1f6)](_0xa716e7)),this[_0x1de7dc(0x22b)]();}[_0x266d6a(0x37a)](_0x2fc085){var _0x33b934=_0x266d6a;this[_0x33b934(0x76)](),this[_0x33b934(0x360)](this[_0x33b934(0x263)][_0x33b934(0x347)](_0x2fc085)),this[_0x33b934(0x22b)]();}[_0x266d6a(0x1bd)](_0x3e3a9b){var _0x449ce5=_0x266d6a;if(!(this[_0x449ce5(0x263)]instanceof te))throw new TypeError(_0x449ce5(0x8f));const _0x1c424f=_0x3e3a9b[_0x449ce5(0x206)](_0x125f1c=>{var _0x3b1449=_0x449ce5;const _0xed3964=this['_compressMutationService']['interceptor'][_0x3b1449(0x1d8)](this[_0x3b1449(0x361)][_0x3b1449(0x2e0)]['getInterceptPoints']()[_0x3b1449(0x1aa)])(_0x125f1c['mutations'],null)||_0x125f1c[_0x3b1449(0x236)];return{..._0x125f1c,'mutations':_0xed3964};});this['_lockTransition'](),this[_0x449ce5(0x360)](this['_state'][_0x449ce5(0x1ae)](_0x1c424f)),this[_0x449ce5(0x22b)]();}[_0x266d6a(0x210)](){var _0x15048f=_0x266d6a;this[_0x15048f(0x76)](),this[_0x15048f(0x360)](this[_0x15048f(0x263)][_0x15048f(0x211)]()),this[_0x15048f(0x22b)]();}[_0x266d6a(0xb8)](_0x4ecdaf=!0x1){var _0x5b8a5a=_0x266d6a;this['_lockTransition'](),this[_0x5b8a5a(0x360)](this[_0x5b8a5a(0x263)][_0x5b8a5a(0x14e)]()),this['_unlockTransition']();const _0x4a55ad=this['_state'];_0x4ecdaf&&_0x4a55ad instanceof De&&(this[_0x5b8a5a(0x76)](),this[_0x5b8a5a(0x360)](_0x4a55ad[_0x5b8a5a(0x2b1)]()),this[_0x5b8a5a(0x22b)]());}async[_0x266d6a(0x338)](){return new Promise(_0x275a55=>{var _0x287d1c=_0x32b0;this[_0x287d1c(0xd0)][_0x287d1c(0x167)]['pipe'](_0x183959(0x1))['subscribe'](async _0x3fff3b=>{var _0x191205=_0x287d1c;_0x275a55(await this[_0x191205(0x237)](_0x3fff3b===Te['ONLINE']));});});}[_0x266d6a(0x2b7)](){var _0x185d76=_0x266d6a;const _0x110f49=this[_0x185d76(0x17c)];return{'onStateChange':(_0x3a280f,_0x6ce6)=>{var _0x219dbf=_0x185d76;if(_0x3a280f!==this['_state'])throw new Error(_0x219dbf(0xdb)+_0x3a280f['status']+_0x219dbf(0x2f7)+_0x6ce6[_0x219dbf(0x21a)]+_0x219dbf(0x287)+this[_0x219dbf(0x263)]['status']);this[_0x219dbf(0x360)](_0x6ce6);},'onSendChangeset':_0x3c48f1=>{var _0x4376df=_0x185d76;_0x3c48f1['sid']||(_0x3c48f1['sid']=this[_0x4376df(0xb9)],_0x3c48f1[_0x4376df(0x92)]=++this['_changesetReqId']);const _0x121651={'eventID':_0x3ef1ce['SUBMIT_CHANGESET'],'data':{'unitID':_0x3c48f1[_0x4376df(0x17c)],'unitType':this[_0x4376df(0x12e)],'changeset':_0x3c48f1,'memberID':this['session'][_0x4376df(0x2a1)]()}};this['session'][_0x4376df(0x177)](_0x121651,this[_0x4376df(0x17c)]);},'onMissingChangesets':({from:_0x42aabd,to:_0x3856bf})=>{var _0x39d535=_0x185d76;this[_0x39d535(0xfd)][_0x39d535(0x2ab)](_0x39d535(0x110),'fetching\x20missing\x20changesets\x20from\x20'+_0x42aabd+_0x39d535(0x1b3)+_0x3856bf);const _0x207fa3={'eventID':_0x3ef1ce['FETCH_MISSING'],'data':{'unitID':_0x110f49,'unitType':this[_0x39d535(0x12e)],'from':_0x42aabd,'to':_0x3856bf}};this[_0x39d535(0xd0)]['send'](_0x207fa3,this[_0x39d535(0x17c)]);}};}async['_createInitialStateImpl'](_0x450b0a){var _0x2e34f2=_0x266d6a,_0x3573a3,_0x3c3cf3,_0x19307a;const _0x395f3d=await((_0x3573a3=this[_0x2e34f2(0x303)])==null?void 0x0:_0x3573a3[_0x2e34f2(0x35c)](this[_0x2e34f2(0x17c)])),_0x517d01=(_0x3c3cf3=_0x395f3d==null?void 0x0:_0x395f3d[_0x2e34f2(0x236)])!=null?_0x3c3cf3:[],_0x3775a8=(_0x19307a=_0x395f3d==null?void 0x0:_0x395f3d[_0x2e34f2(0x2f1)])!=null?_0x19307a:null,_0x54b77e=!!(_0x3775a8!=null&&_0x3775a8[_0x2e34f2(0x94)])&&!!(_0x3775a8!=null&&_0x3775a8[_0x2e34f2(0x92)]);this[_0x2e34f2(0xb9)]=_0x54b77e?_0x3775a8['sid']:sr(),this['_changesetReqId']=_0x54b77e?_0x3775a8['reqId']:0x0;const _0x3e3e2a=this[_0x2e34f2(0x17c)];try{this[_0x2e34f2(0xa8)](_0x3775a8,_0x517d01);}catch(_0x21b511){this[_0x2e34f2(0xfd)][_0x2e34f2(0x300)](_0x21b511);}const _0x254354=this[_0x2e34f2(0x2b7)]();if(_0x450b0a){const _0x4fffc3=Di(this['_injector'],_0x3e3e2a,this[_0x2e34f2(0x12e)],_0x3775a8,_0x517d01,_0x254354);return _0x4fffc3 instanceof oe?_0x4fffc3[_0x2e34f2(0x296)]():(_0x4fffc3 instanceof ae||_0x4fffc3 instanceof ue)&&_0x4fffc3[_0x2e34f2(0x1b4)](),_0x4fffc3;}return this['_injector'][_0x2e34f2(0x126)](fe,_0x3e3e2a,this[_0x2e34f2(0x12e)],_0x3775a8,_0x517d01,_0x254354);}[_0x266d6a(0xa8)](_0xdd51b2,_0x41cc01){var _0x437587=_0x266d6a,_0x155194,_0x39a9b1;const _0x13b589=this[_0x437587(0x361)][_0x437587(0x2e0)]['fetchThroughInterceptors'](this[_0x437587(0x361)]['interceptor'][_0x437587(0x265)]()['COMPRESS_MUTATION_APPLY']);(_0x155194=_0x13b589((_0xdd51b2==null?void 0x0:_0xdd51b2['mutations'])||[],null))==null||_0x155194[_0x437587(0xf2)](_0x300780=>this['_commandService']['executeCommand'](_0x300780['id'],_0x300780[_0x437587(0x23e)])),(_0x39a9b1=_0x13b589(_0x41cc01||[],null))==null||_0x39a9b1[_0x437587(0xf2)](_0x56722f=>this[_0x437587(0x7f)][_0x437587(0x222)](_0x56722f['id'],_0x56722f[_0x437587(0x23e)]));}};nt=Lt([k(0x3,_0x3aecb8(_0x2c853e)),k(0x4,_0x3aecb8(_0xe509a4)),k(0x5,_0x3aecb8(_0x435956)),k(0x6,_0x3aecb8(_0x4444b4)),k(0x7,_0x3aecb8(pe)),k(0x8,_0x32e90f),k(0x9,_0x992005),k(0xa,_0x51ea27),k(0xb,_0x10484d(ht)),k(0xc,_0x10484d(J))],nt);let Tt=class extends nt{constructor(_0x286fd9,_0x396af4,_0x378c71,_0x43b854,_0x271be7,_0x24e134,_0x5ac47d,_0x506649,_0x5b4130,_0x5e9fe0,_0x46b97e,_0x1ce8f6,_0x5f46f3){var _0x3db79d=_0x266d6a;super(_0x286fd9,_0x378c71,_0x396af4,_0x43b854,_0x271be7,_0x24e134,_0x5ac47d,_0x506649,_0x5b4130,_0x5e9fe0,_0x46b97e,_0x1ce8f6,_0x5f46f3),N(this,_0x3db79d(0x1d0),null),(this[_0x3db79d(0x17c)]=_0x286fd9,this[_0x3db79d(0x2a9)]=_0x396af4);}['addHandlerCallback'](_0xaa25da){var _0x2dcc2f=_0x266d6a;this[_0x2dcc2f(0x1d0)]=_0xaa25da;}[_0x266d6a(0x359)](){var _0x4839a4=_0x266d6a;this[_0x4839a4(0x1d0)]=null,super[_0x4839a4(0x359)]();}[_0x266d6a(0x2b7)](){var _0x27fc09=_0x266d6a;const _0x5a2623=super[_0x27fc09(0x2b7)]();return _0x5a2623[_0x27fc09(0x238)]=_0x359f40=>{var _0x3b4fae=_0x27fc09,_0x23dae0,_0x5d89a5;return(_0x5d89a5=(_0x23dae0=this[_0x3b4fae(0x1d0)])==null?void 0x0:_0x23dae0[_0x3b4fae(0x238)])==null?void 0x0:_0x5d89a5[_0x3b4fae(0x29f)](_0x23dae0,_0x359f40);},_0x5a2623['onTransformState']=_0x3d9517=>{var _0x337d89=_0x27fc09,_0x695277,_0x58dcd4;return(_0x58dcd4=(_0x695277=this['_handlerCallback'])==null?void 0x0:_0x695277[_0x337d89(0x2ba)])==null?void 0x0:_0x58dcd4[_0x337d89(0x29f)](_0x695277,_0x3d9517);},_0x5a2623[_0x27fc09(0xf0)]=_0x5d1074=>{var _0x5019d6=_0x27fc09,_0x3c07b4,_0x1373a1;return(_0x1373a1=(_0x3c07b4=this[_0x5019d6(0x1d0)])==null?void 0x0:_0x3c07b4[_0x5019d6(0xf0)])==null?void 0x0:_0x1373a1['call'](_0x3c07b4,_0x5d1074);},_0x5a2623[_0x27fc09(0x1d2)]=_0x491270=>{var _0x3e25d2=_0x27fc09,_0xc9df55,_0x4e8d42;return(_0x4e8d42=(_0xc9df55=this[_0x3e25d2(0x1d0)])==null?void 0x0:_0xc9df55['onSyncEditingCollabCursor'])==null?void 0x0:_0x4e8d42[_0x3e25d2(0x29f)](_0xc9df55,_0x491270);},_0x5a2623[_0x27fc09(0x337)]=_0x24e933=>{var _0x4eee09=_0x27fc09,_0x21c459,_0x28b793,_0x554b60;if(!((_0x21c459=this['_handlerCallback'])!=null&&_0x21c459[_0x4eee09(0x337)]))throw new Error(_0x4eee09(0xdc));return(_0x554b60=(_0x28b793=this[_0x4eee09(0x1d0)])==null?void 0x0:_0x28b793['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x554b60[_0x4eee09(0x29f)](_0x28b793,_0x24e933);},_0x5a2623[_0x27fc09(0x31a)]=_0x2163bb=>{var _0x3717a9=_0x27fc09,_0x24a0b4,_0xff4496,_0x422503;if(!((_0x24a0b4=this['_handlerCallback'])!=null&&_0x24a0b4['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3717a9(0xea));return(_0x422503=(_0xff4496=this[_0x3717a9(0x1d0)])==null?void 0x0:_0xff4496[_0x3717a9(0x31a)])==null?void 0x0:_0x422503[_0x3717a9(0x29f)](_0xff4496,_0x2163bb);},_0x5a2623;}async[_0x266d6a(0x29e)](){var _0x2e6a0a=_0x266d6a;const _0xac76be=await super['_init']();return this['disposeWithMe'](this[_0x2e6a0a(0x7f)][_0x2e6a0a(0xf5)]((_0x103ae7,_0x129253)=>{var _0x3b9547=_0x2e6a0a;if(_0x103ae7[_0x3b9547(0x2a9)]!==_0x2e04dc['MUTATION']||_0x129253!=null&&_0x129253['fromCollab']||_0x129253!=null&&_0x129253[_0x3b9547(0x17a)]||_0x103ae7['id']===_0x255a2d['id'])return;const _0x575030=_0x103ae7[_0x3b9547(0x23e)];if((_0x575030==null?void 0x0:_0x575030[_0x3b9547(0x21d)])!==this['unitID'])return;const _0x87b2d0=_0x103ae7,_0x1f4a5a=this[_0x3b9547(0x361)][_0x3b9547(0x2e0)]['fetchThroughInterceptors'](this[_0x3b9547(0x361)][_0x3b9547(0x2e0)][_0x3b9547(0x265)]()['COMPRESS_MUTATION_SEND'])([_0x87b2d0],null)||[_0x87b2d0];this[_0x3b9547(0x284)](_0x1f4a5a[0x0]);})),_0xac76be;}};Tt=Lt([k(0x3,_0x3aecb8(_0x2c853e)),k(0x4,_0x3aecb8(_0xe509a4)),k(0x5,_0x3aecb8(_0x435956)),k(0x6,_0x3aecb8(_0x4444b4)),k(0x7,_0x3aecb8(pe)),k(0x8,_0x32e90f),k(0x9,_0x992005),k(0xa,_0x51ea27),k(0xb,_0x10484d(ht)),k(0xc,_0x10484d(J))],Tt);let Ct=class extends nt{constructor(_0x123bbb,_0x2f24ad,_0x1261cc,_0x4caa4f,_0x5589f1,_0x313eee,_0x1bc709,_0x3b4ced,_0x9ecd0e,_0x5f2a73,_0x450ae1,_0x5428b9,_0x2a07ee,_0x198617){var _0x348b09=_0x266d6a;super(_0x123bbb,_0x1261cc,_0x2f24ad,_0x4caa4f,_0x5589f1,_0x313eee,_0x1bc709,_0x9ecd0e,_0x5f2a73,_0x450ae1,_0x5428b9,_0x2a07ee,_0x198617),this['unitID']=_0x123bbb,this[_0x348b09(0x2a9)]=_0x2f24ad,this[_0x348b09(0x1d1)]=_0x3b4ced;}[_0x266d6a(0x2b7)](){var _0x541e27=_0x266d6a;const _0x42a5c1=super[_0x541e27(0x2b7)]();return _0x42a5c1[_0x541e27(0xf0)]=_0x4c985c=>this['_sheetTransformSelectionsService'][_0x541e27(0x297)](_0x4c985c),_0x42a5c1;}async[_0x266d6a(0x29e)](){var _0x413d72=_0x266d6a;const _0x478859=await super[_0x413d72(0x29e)]();return this['disposeWithMe'](this[_0x413d72(0x7f)][_0x413d72(0xf5)]((_0x50969d,_0x43577b)=>{var _0x3a0270=_0x413d72;if(_0x50969d['type']!==_0x2e04dc[_0x3a0270(0x2f5)]||_0x43577b!=null&&_0x43577b[_0x3a0270(0xba)]||_0x43577b!=null&&_0x43577b[_0x3a0270(0x17a)])return;const _0x3f6451=_0x50969d[_0x3a0270(0x23e)];if((_0x3f6451==null?void 0x0:_0x3f6451['unitId'])!==this[_0x3a0270(0x17c)])return;const _0x40f432=_0x50969d,_0x3d6389=this[_0x3a0270(0x361)][_0x3a0270(0x2e0)]['fetchThroughInterceptors'](this[_0x3a0270(0x361)]['interceptor'][_0x3a0270(0x265)]()[_0x3a0270(0xd1)])([_0x40f432],null)||[_0x40f432];this[_0x3a0270(0x284)](_0x3d6389[0x0]);})),_0x478859;}};Ct=Lt([k(0x3,_0x3aecb8(_0x2c853e)),k(0x4,_0x3aecb8(_0xe509a4)),k(0x5,_0x3aecb8(_0x435956)),k(0x6,_0x3aecb8(_0x4444b4)),k(0x7,_0x3aecb8(it)),k(0x8,_0x3aecb8(pe)),k(0x9,_0x32e90f),k(0xa,_0x992005),k(0xb,_0x51ea27),k(0xc,_0x10484d(ht)),k(0xd,_0x10484d(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x266d6a(0x243)],Sr=(_0x2d26b5,_0x5b4a1f,_0x264e6d,_0x52820f)=>{for(var _0x1cb01b=_0x52820f>0x1?void 0x0:_0x52820f?gr(_0x5b4a1f,_0x264e6d):_0x5b4a1f,_0x8ca87d=_0x2d26b5['length']-0x1,_0x4a5514;_0x8ca87d>=0x0;_0x8ca87d--)(_0x4a5514=_0x2d26b5[_0x8ca87d])&&(_0x1cb01b=(_0x52820f?_0x4a5514(_0x5b4a1f,_0x264e6d,_0x1cb01b):_0x4a5514(_0x1cb01b))||_0x1cb01b);return _0x52820f&&_0x1cb01b&&mr(_0x5b4a1f,_0x264e6d,_0x1cb01b),_0x1cb01b;},ft=(_0x36b8ed,_0x1c62cf)=>(_0x1be611,_0x18fd37)=>_0x1c62cf(_0x1be611,_0x18fd37,_0x36b8ed);let rt=class extends _0x30423e{constructor(_0x5287ee,_0x1ad81a,_0x36283a){var _0x486639=_0x266d6a;super(),N(this,_0x486639(0xc6),new Map()),N(this,_0x486639(0x325),new _0x28cffd()),N(this,'entityInit$',this[_0x486639(0x325)]['asObservable']()),(this[_0x486639(0x362)]=_0x5287ee,this['_collabSessionService']=_0x1ad81a,this[_0x486639(0x1ea)]=_0x36283a,this[_0x486639(0x29e)]());}[_0x266d6a(0x359)](){var _0x283f4a=_0x266d6a;super[_0x283f4a(0x359)](),this[_0x283f4a(0xc6)][_0x283f4a(0xf2)](_0x23dd57=>_0x23dd57[_0x283f4a(0x359)]()),this[_0x283f4a(0xc6)]['clear']();}[_0x266d6a(0x2ff)](_0x22099e){var _0x2826a6=_0x266d6a,_0xadad1c;return(_0xadad1c=this['_entities'][_0x2826a6(0x74)](_0x22099e))!=null?_0xadad1c:null;}[_0x266d6a(0x268)](_0x212db7){var _0x3f6fe4=_0x266d6a;const _0x3f437b=this[_0x3f6fe4(0x2ff)](_0x212db7);return _0x3f437b?_0x79b5bb(_0x3f437b):this[_0x3f6fe4(0x325)][_0x3f6fe4(0xa6)](_0x5268d3(_0x6aad32=>_0x6aad32['unitID']===_0x212db7));}[_0x266d6a(0x134)](_0xede176){var _0x4e69ab=_0x266d6a;return _0x612eef(this[_0x4e69ab(0x268)](_0xede176)['pipe'](_0x329cb1(()=>{})));}[_0x266d6a(0x29e)](){var _0x1d5066=_0x266d6a;this[_0x1d5066(0x1ea)][_0x1d5066(0x121)](_0x1704f1[_0x1d5066(0x34c)])['pipe'](_0xb104c1(this[_0x1d5066(0xe3)]),_0x4dd430(0x10))['subscribe'](async _0x135c19=>{var _0x1b2748=_0x1d5066;const _0x4e237e=_0x135c19[_0x1b2748(0xcf)](),_0x1ee924=await this[_0x1b2748(0x34b)](_0x4e237e,Q[_0x1b2748(0x34c)]);this[_0x1b2748(0xc6)][_0x1b2748(0x302)](_0x4e237e,_0x1ee924);}),this[_0x1d5066(0x1ea)][_0x1d5066(0x121)](_0x1704f1[_0x1d5066(0x330)])[_0x1d5066(0xa6)](_0xb104c1(this['dispose$']),_0x4dd430(0x10))[_0x1d5066(0xa6)](_0x5268d3(_0x510020=>!_0x510020[_0x1d5066(0xcf)]()['startsWith']('__')))[_0x1d5066(0x1c9)](async _0x7166e1=>{var _0x5e3d9f=_0x1d5066;const _0x17a84d=_0x7166e1['getUnitId'](),_0x150d9f=await this[_0x5e3d9f(0x34b)](_0x17a84d,Q['UNIVER_DOC']);this['_entities']['set'](_0x17a84d,_0x150d9f);}),_0x8c72df(this[_0x1d5066(0x1ea)]['getTypeOfUnitDisposed$'](_0x1704f1[_0x1d5066(0x34c)]),this[_0x1d5066(0x1ea)][_0x1d5066(0x332)](_0x1704f1['UNIVER_DOC']))[_0x1d5066(0xa6)](_0xb104c1(this[_0x1d5066(0xe3)]))['subscribe'](_0x4bc9cd=>{var _0x22b841=_0x1d5066;const _0x2f2078=_0x4bc9cd[_0x22b841(0xcf)](),_0x3c0c6d=this['_entities']['get'](_0x2f2078);_0x3c0c6d&&(_0x3c0c6d['dispose'](),this[_0x22b841(0xc6)][_0x22b841(0x254)](_0x2f2078));});}async[_0x266d6a(0x34b)](_0x3a59e3,_0x1a7b85){var _0x1fbebd=_0x266d6a;const _0x1432a4=await this[_0x1fbebd(0x224)][_0x1fbebd(0x179)](_0x3a59e3),_0x2f037c=this[_0x1fbebd(0x362)][_0x1fbebd(0x126)](this[_0x1fbebd(0x1a0)](_0x1a7b85),_0x3a59e3,_0x1a7b85,_0x1432a4);return await _0x2f037c['init'](),this[_0x1fbebd(0x325)][_0x1fbebd(0x2b0)](_0x2f037c),_0x2f037c;}[_0x266d6a(0x1a0)](_0x8db550){var _0x37144b=_0x266d6a;switch(_0x8db550){case Q['UNIVER_DOC']:return Tt;case Q[_0x37144b(0x34c)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x8db550);}}};rt=Sr([ft(0x0,_0x3aecb8(_0x2c853e)),ft(0x1,_0x3aecb8(Le)),ft(0x2,_0x51410d)],rt);var Er=Object[_0x266d6a(0x348)],Ir=Object[_0x266d6a(0x243)],Tr=(_0x5b790f,_0x49bb35,_0xe03ee5,_0x45b427)=>{for(var _0x41f9bb=_0x45b427>0x1?void 0x0:_0x45b427?Ir(_0x49bb35,_0xe03ee5):_0x49bb35,_0x1ef75e=_0x5b790f['length']-0x1,_0x52eeb8;_0x1ef75e>=0x0;_0x1ef75e--)(_0x52eeb8=_0x5b790f[_0x1ef75e])&&(_0x41f9bb=(_0x45b427?_0x52eeb8(_0x49bb35,_0xe03ee5,_0x41f9bb):_0x52eeb8(_0x41f9bb))||_0x41f9bb);return _0x45b427&&_0x41f9bb&&Er(_0x49bb35,_0xe03ee5,_0x41f9bb),_0x41f9bb;},Jt=(_0x783e25,_0x37d887)=>(_0x33dfd2,_0x533cc6)=>_0x37d887(_0x33dfd2,_0x533cc6,_0x783e25);const Cr=_0x266d6a(0x242),Rr=_0x266d6a(0x2cf);let Rt=class extends _0x3a5054{constructor(_0x1c9862,_0x173fde){var _0xd4056a=_0x266d6a;super(),this[_0xd4056a(0x1ea)]=_0x1c9862,this[_0xd4056a(0x376)]=_0x173fde,this[_0xd4056a(0x29e)]();}['_init'](){var _0x16302e=_0x266d6a;this[_0x16302e(0x13b)](this[_0x16302e(0x1ea)][_0x16302e(0xe7)]['subscribe'](()=>{var _0x5a2cec=_0x16302e,_0x21d02e;const _0x42af2d=this['_univerInstanceService'][_0x5a2cec(0x132)]();let _0xc893a3=(_0x21d02e=this[_0x5a2cec(0x376)][_0x5a2cec(0x143)](Cr))!=null?_0x21d02e:Rr;_0x42af2d instanceof _0x55980d&&(_0xc893a3=_0x42af2d[_0x5a2cec(0x2fc)]),document['title']=_0xc893a3;}));}};Rt=Tr([Jt(0x0,_0x51410d),Jt(0x1,_0x50d22f)],Rt);var br=Object[_0x266d6a(0x348)],Or=Object[_0x266d6a(0x243)],yr=(_0x844697,_0x23b359,_0x33ab99,_0x534476)=>{var _0xf2c6f7=_0x266d6a;for(var _0x2b1a9e=_0x534476>0x1?void 0x0:_0x534476?Or(_0x23b359,_0x33ab99):_0x23b359,_0x5a03cd=_0x844697[_0xf2c6f7(0xd9)]-0x1,_0xfb71c5;_0x5a03cd>=0x0;_0x5a03cd--)(_0xfb71c5=_0x844697[_0x5a03cd])&&(_0x2b1a9e=(_0x534476?_0xfb71c5(_0x23b359,_0x33ab99,_0x2b1a9e):_0xfb71c5(_0x2b1a9e))||_0x2b1a9e);return _0x534476&&_0x2b1a9e&&br(_0x23b359,_0x33ab99,_0x2b1a9e),_0x2b1a9e;},vt=(_0x1e90e9,_0x2be761)=>(_0x22240d,_0x19c138)=>_0x2be761(_0x22240d,_0x19c138,_0x1e90e9);let st=class{constructor(_0x4c4fdb,_0x30a4e9,_0x309af8){var _0x1d4c25=_0x266d6a;this[_0x1d4c25(0x376)]=_0x4c4fdb,this[_0x1d4c25(0x2a8)]=_0x30a4e9,this['localeService']=_0x309af8,this[_0x1d4c25(0x1c6)]();}[_0x266d6a(0x1c6)](){var _0x526a61=_0x266d6a;this[_0x526a61(0x2a8)][_0x526a61(0x104)]({'priority':0x1,'interceptor':(_0x2e5be4,_0x4193bb)=>_0x4193bb(_0x2e5be4)[_0x526a61(0xa6)](_0x76e0b5(async _0x486e1f=>{var _0x3950bb=_0x526a61;const _0x434f2a=_0x486e1f;if(_0x434f2a[_0x3950bb(0x21a)]===0x191){if(typeof window>'u')throw new Error(_0x3950bb(0x375));if(window['confirm'](this[_0x3950bb(0xe6)]['t'](_0x3950bb(0x2a2)))){const _0x4061dd=window[_0x3950bb(0x270)](window[_0x3950bb(0x88)]['href']);window[_0x3950bb(0x88)][_0x3950bb(0xaa)]=this[_0x3950bb(0x24f)]()+_0x3950bb(0x256)+_0x4061dd;}}return _0x434f2a;}))});}['_getLoginPath'](){var _0x4872dc=_0x266d6a,_0x56c392,_0x660269;const _0x4bb1e6=this['_configService'][_0x4872dc(0x143)](xn),_0x3fa56d=this[_0x4872dc(0x376)][_0x4872dc(0x143)](q);return(_0x660269=(_0x56c392=_0x3fa56d==null?void 0x0:_0x3fa56d[_0x4872dc(0x169)])!=null?_0x56c392:_0x4bb1e6)!=null?_0x660269:Ln;}};st=yr([vt(0x0,_0x50d22f),vt(0x1,_0x3aecb8(_0x4c8e56)),vt(0x2,_0x3aecb8(_0x435956))],st);var Nr=Object[_0x266d6a(0x348)],Dr=Object[_0x266d6a(0x243)],Pr=(_0x43afc4,_0x445a3b,_0x1759a2,_0xf3636)=>{var _0x1641de=_0x266d6a;for(var _0x10a595=_0xf3636>0x1?void 0x0:_0xf3636?Dr(_0x445a3b,_0x1759a2):_0x445a3b,_0x30913e=_0x43afc4[_0x1641de(0xd9)]-0x1,_0x531d98;_0x30913e>=0x0;_0x30913e--)(_0x531d98=_0x43afc4[_0x30913e])&&(_0x10a595=(_0xf3636?_0x531d98(_0x445a3b,_0x1759a2,_0x10a595):_0x531d98(_0x10a595))||_0x10a595);return _0xf3636&&_0x10a595&&Nr(_0x445a3b,_0x1759a2,_0x10a595),_0x10a595;},Xt=(_0x599533,_0x44e99b)=>(_0x426fb3,_0x4de58a)=>_0x44e99b(_0x426fb3,_0x4de58a,_0x599533);const Pi=_0x266d6a(0x2a6),wr=_0x266d6a(0xe2);let bt=class extends _0x3a5054{constructor(_0x449f25,_0x1bd2c4){var _0x2723d5=_0x266d6a;super(),this['_HTTPService']=_0x449f25,this[_0x2723d5(0x376)]=_0x1bd2c4,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x535ef6=_0x266d6a;const _0x132429=this;this[_0x535ef6(0x13b)](this[_0x535ef6(0x232)][_0x535ef6(0x104)]({'priority':0x3e7,'interceptor':_0x31be01({'isMatch'(_0x538046){var _0x3587d6=_0x535ef6,_0x35ac60;if(_0x538046[_0x3587d6(0x266)]===_0x3587d6(0x105)&&((_0x35ac60=_0x538046[_0x3587d6(0x1fd)])!=null&&_0x35ac60['body'])){const {objectID:_0x37655c,objectType:_0x2050b7}=_0x538046['requestParams'][_0x3587d6(0x2ea)]||{};if(!_0x37655c||_0x2050b7===void 0x0)return!0x1;const _0xa9f6c1=_0x132429[_0x3587d6(0x2af)]()+'/'+_0x2050b7+_0x3587d6(0x249)+_0x37655c+_0x3587d6(0xd7);if(_0x538046[_0x3587d6(0x13a)]===_0xa9f6c1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3c814f){var _0x3704ef=_0x535ef6,_0x49f9b5;return(_0x49f9b5=_0x3c814f[_0x3704ef(0x1fd)])==null?void 0x0:_0x49f9b5[_0x3704ef(0x2ea)];},'mergeParamsToRequest'(_0x2a93bc,_0x337de5){var _0x4375b1=_0x535ef6;const _0x2bb10d=_0x132429[_0x4375b1(0x2af)]()+'/-/object/-/batch_allowed',_0x2df175=_0x2a93bc[_0x4375b1(0x9d)]((_0x1fa1f2,_0x35facf)=>{var _0x1a0af0=_0x4375b1;const {unitID:_0x3678d3,objectID:_0x11c771,objectType:_0x125769,actions:_0x3bd646}=_0x35facf;return _0x1fa1f2[_0x3678d3]||(_0x1fa1f2[_0x3678d3]={}),_0x1fa1f2[_0x3678d3][_0x11c771]||(_0x1fa1f2[_0x3678d3][_0x11c771]={'objectID':_0x11c771,'objectType':_0x125769,'actions':[]}),_0x1fa1f2[_0x3678d3][_0x11c771]['actions'][_0x1a0af0(0x9f)](..._0x3bd646),_0x1fa1f2;},{}),_0x3e4c41=[];for(const _0x215cc9 in _0x2df175)for(const _0x447ee5 in _0x2df175[_0x215cc9]){const {actions:_0x44150d,objectType:_0x423c5f}=_0x2df175[_0x215cc9][_0x447ee5],_0x548dc6=[...new Set(_0x44150d)];_0x3e4c41['push']({'unitID':_0x215cc9,'objectID':_0x447ee5,'objectType':_0x423c5f,'actions':_0x548dc6});}return new _0x516925(_0x4375b1(0x105),_0x2bb10d,{'headers':_0x337de5[_0x4375b1(0x346)],'withCredentials':_0x337de5[_0x4375b1(0x290)],'responseType':_0x337de5[_0x4375b1(0x1c7)],'body':{'requests':_0x3e4c41}});}},{'distributeResult'(_0x359c3e,_0x3aca07){const {objectActions:_0x348fe9}=_0x359c3e;return _0x3aca07['map'](_0x1468e3=>{var _0x464736=_0x32b0;const {unitID:_0x29836e,objectID:_0x3e4d18,actions:_0xaa7627}=_0x1468e3,_0x165d83=_0x348fe9['find'](_0x1cd884=>_0x1cd884[_0x464736(0x17c)]===_0x29836e&&_0x1cd884['objectID']===_0x3e4d18),_0x41c5e9=_0xaa7627[_0x464736(0x206)](_0x4f0b8e=>_0x165d83==null?void 0x0:_0x165d83[_0x464736(0x1f9)]['find'](_0x398fdd=>_0x398fdd[_0x464736(0x1e1)]===_0x4f0b8e))[_0x464736(0xde)](_0x2d28e4=>!!_0x2d28e4);return{'config':_0x1468e3,'result':{'actions':_0x41c5e9,'error':_0x359c3e[_0x464736(0x300)]}};});}})}));}[_0x266d6a(0x2af)](){var _0x415004=_0x266d6a,_0x4f7327,_0x1355cd;const _0x22e93d=this['_configService']['getConfig'](Pi),_0x21e364=this[_0x415004(0x376)][_0x415004(0x143)](q);return(_0x1355cd=(_0x4f7327=_0x21e364==null?void 0x0:_0x21e364['authzUrl'])!=null?_0x4f7327:_0x22e93d)!=null?_0x1355cd:wr;}async[_0x266d6a(0x202)](_0x322237){var _0x1d8c79=_0x266d6a;const _0x55f395=this['_getAPIPrefixPath']()+'/'+_0x322237[_0x1d8c79(0x189)]+'/object';return(await this[_0x1d8c79(0x232)]['post'](_0x55f395,{'body':_0x322237}))['body']['objectID']||'';}async[_0x266d6a(0x36c)](_0x1d4f42){var _0x59f88a=_0x266d6a;const _0x1aa057=this[_0x59f88a(0x2af)]()+_0x59f88a(0x2b5);return(await this[_0x59f88a(0x232)][_0x59f88a(0x1b8)](_0x1aa057,{'body':_0x1d4f42}))['body'][_0x59f88a(0x10a)];}async[_0x266d6a(0x204)](_0x284c8c){var _0x36c047=_0x266d6a;const _0x5e1fd9=this[_0x36c047(0x2af)]()+'/'+_0x284c8c['objectType']+_0x36c047(0x249)+_0x284c8c[_0x36c047(0x84)];await this[_0x36c047(0x232)][_0x36c047(0x262)](_0x5e1fd9,{'body':_0x284c8c});}async[_0x266d6a(0x215)](_0x2cc592){var _0x3f1248=_0x266d6a;const _0x221eb2=this[_0x3f1248(0x2af)]()+'/'+_0x2cc592[_0x3f1248(0x189)]+'/object/'+_0x2cc592[_0x3f1248(0x84)]+_0x3f1248(0xd7);return(await this[_0x3f1248(0x232)][_0x3f1248(0x1b8)](_0x221eb2,{'body':_0x2cc592}))[_0x3f1248(0x2ea)][_0x3f1248(0x1f9)];}async[_0x266d6a(0x34a)](_0x57ae6f){var _0x3da2f1=_0x266d6a;const _0x235214=this[_0x3da2f1(0x2af)]()+_0x3da2f1(0xe8);return(await this[_0x3da2f1(0x232)][_0x3da2f1(0x1b8)](_0x235214,{'body':{'requests':_0x57ae6f}}))[_0x3da2f1(0x2ea)][_0x3da2f1(0x32c)];}async[_0x266d6a(0x8d)](_0xc3a4bd){var _0x23c333=_0x266d6a;const _0x4203cb=this[_0x23c333(0x2af)]()+'/'+_0xc3a4bd[_0x23c333(0x189)]+_0x23c333(0x307),_0x19fa01=await this[_0x23c333(0x232)][_0x23c333(0x1b8)](_0x4203cb,{'body':_0xc3a4bd});return{'roles':_0x19fa01['body']['roles'],'actions':_0x19fa01[_0x23c333(0x2ea)][_0x23c333(0x1f9)]};}async['deleteCollaborator'](_0x12536d){var _0x12311a=_0x266d6a;const _0x1d169d=this[_0x12311a(0x2af)]()+_0x12311a(0x2d1);await this[_0x12311a(0x232)]['delete'](_0x1d169d,{'params':{'collaboratorID':_0x12536d[_0x12311a(0x125)],'objectID':_0x12536d[_0x12311a(0x84)],'unitID':_0x12536d[_0x12311a(0x17c)]}});}async[_0x266d6a(0x11e)](_0x45efba){var _0x569d58=_0x266d6a;const _0x134eb2=this[_0x569d58(0x2af)]()+_0x569d58(0x2d1);await this['_HTTPService'][_0x569d58(0x292)](_0x134eb2,{'body':_0x45efba});}async[_0x266d6a(0x100)](_0x94d464){var _0x3e7977=_0x266d6a;const _0x30f6d6=this['_getAPIPrefixPath']()+_0x3e7977(0x2d1);await this[_0x3e7977(0x232)][_0x3e7977(0x1b8)](_0x30f6d6,{'body':_0x94d464});}async[_0x266d6a(0x1d3)](_0x546abd){var _0xe85015=_0x266d6a;const _0x3e46c1=this[_0xe85015(0x2af)]()+'/collaborator';return(await this[_0xe85015(0x232)][_0xe85015(0x74)](_0x3e46c1,{'params':{'objectID':_0x546abd[_0xe85015(0x84)],'unitID':_0x546abd[_0xe85015(0x17c)]}}))[_0xe85015(0x2ea)][_0xe85015(0x35b)];}async[_0x266d6a(0xd5)](_0x1f07ab){var _0x12a3cb=_0x266d6a;const _0x5342a3=this[_0x12a3cb(0x2af)]()+'/collaborator';await this[_0x12a3cb(0x232)]['put'](_0x5342a3,{'body':_0x1f07ab});}};bt=Pr([Xt(0x0,_0x3aecb8(_0x4c8e56)),Xt(0x1,_0x3aecb8(_0x50d22f))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x11b1b1){var _0x3a74e9=_0x266d6a;return _0x11b1b1&&_0x11b1b1[_0x3a74e9(0x24b)]&&Object[_0x3a74e9(0x371)]['hasOwnProperty'][_0x3a74e9(0x29f)](_0x11b1b1,'default')?_0x11b1b1[_0x3a74e9(0x28e)]:_0x11b1b1;}var Ve={'exports':{}};function Ur(_0x58f364){var _0x140b04=_0x266d6a;throw new Error(_0x140b04(0xed)+_0x58f364+_0x140b04(0x28f));}var Ge={'exports':{}},Ar=Ge[_0x266d6a(0x2c5)],Zt;function ne(){var _0x374c0b=_0x266d6a;return Zt||(Zt=0x1,function(_0x3f73ba,_0x9f3446){(function(_0x4c4909,_0x2870c4){var _0x211491=_0x32b0;_0x3f73ba[_0x211491(0x2c5)]=_0x2870c4();}(Ar,function(){var _0x13ea17=_0x13ea17||function(_0x29ec65,_0x5ef2d2){var _0x2f6515=_0x32b0,_0x4cd0b5;if(typeof window<'u'&&window['crypto']&&(_0x4cd0b5=window[_0x2f6515(0x11f)]),typeof self<'u'&&self[_0x2f6515(0x11f)]&&(_0x4cd0b5=self[_0x2f6515(0x11f)]),typeof globalThis<'u'&&globalThis[_0x2f6515(0x11f)]&&(_0x4cd0b5=globalThis[_0x2f6515(0x11f)]),!_0x4cd0b5&&typeof window<'u'&&window['msCrypto']&&(_0x4cd0b5=window['msCrypto']),!_0x4cd0b5&&typeof pt<'u'&&pt[_0x2f6515(0x11f)]&&(_0x4cd0b5=pt[_0x2f6515(0x11f)]),!_0x4cd0b5&&typeof Ur==_0x2f6515(0x2aa))try{_0x4cd0b5=require('crypto');}catch{}var _0x39450c=function(){var _0x490b66=_0x2f6515;if(_0x4cd0b5){if(typeof _0x4cd0b5[_0x490b66(0x291)]==_0x490b66(0x2aa))try{return _0x4cd0b5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4cd0b5[_0x490b66(0x2d6)]==_0x490b66(0x2aa))try{return _0x4cd0b5[_0x490b66(0x2d6)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x490b66(0xe1));},_0x38bc78=Object[_0x2f6515(0x202)]||(function(){function _0x3c1494(){}return function(_0x279961){var _0x41c16d=_0x32b0,_0x2274b6;return _0x3c1494['prototype']=_0x279961,_0x2274b6=new _0x3c1494(),_0x3c1494[_0x41c16d(0x371)]=null,_0x2274b6;};}()),_0x1df9fa={},_0x1e28e2=_0x1df9fa['lib']={},_0x1625dc=_0x1e28e2['Base']=(function(){return{'extend':function(_0x360e7e){var _0x5d0cb9=_0x32b0,_0x48d5e9=_0x38bc78(this);return _0x360e7e&&_0x48d5e9[_0x5d0cb9(0x142)](_0x360e7e),(!_0x48d5e9[_0x5d0cb9(0x1bb)](_0x5d0cb9(0x1c6))||this[_0x5d0cb9(0x1c6)]===_0x48d5e9[_0x5d0cb9(0x1c6)])&&(_0x48d5e9['init']=function(){var _0x11dfa9=_0x5d0cb9;_0x48d5e9[_0x11dfa9(0x312)][_0x11dfa9(0x1c6)]['apply'](this,arguments);}),_0x48d5e9[_0x5d0cb9(0x1c6)]['prototype']=_0x48d5e9,_0x48d5e9[_0x5d0cb9(0x312)]=this,_0x48d5e9;},'create':function(){var _0x4095c6=_0x32b0,_0x3f0f15=this[_0x4095c6(0x9e)]();return _0x3f0f15[_0x4095c6(0x1c6)][_0x4095c6(0x12f)](_0x3f0f15,arguments),_0x3f0f15;},'init':function(){},'mixIn':function(_0xb07393){var _0x51c0a1=_0x32b0;for(var _0x4d2ad7 in _0xb07393)_0xb07393[_0x51c0a1(0x1bb)](_0x4d2ad7)&&(this[_0x4d2ad7]=_0xb07393[_0x4d2ad7]);_0xb07393[_0x51c0a1(0x1bb)](_0x51c0a1(0x8a))&&(this[_0x51c0a1(0x8a)]=_0xb07393['toString']);},'clone':function(){var _0x55dac1=_0x32b0;return this[_0x55dac1(0x1c6)][_0x55dac1(0x371)][_0x55dac1(0x9e)](this);}};}()),_0x5ca84d=_0x1e28e2[_0x2f6515(0x198)]=_0x1625dc[_0x2f6515(0x9e)]({'init':function(_0x5a0a2c,_0x524123){var _0x5cb2d4=_0x2f6515;_0x5a0a2c=this['words']=_0x5a0a2c||[],_0x524123!=_0x5ef2d2?this['sigBytes']=_0x524123:this[_0x5cb2d4(0x313)]=_0x5a0a2c[_0x5cb2d4(0xd9)]*0x4;},'toString':function(_0x209a6e){return(_0x209a6e||_0x43a741)['stringify'](this);},'concat':function(_0x1847cf){var _0x34d97b=_0x2f6515,_0x419b6f=this[_0x34d97b(0x18b)],_0x28c4dd=_0x1847cf[_0x34d97b(0x18b)],_0x183e54=this['sigBytes'],_0x584c9f=_0x1847cf[_0x34d97b(0x313)];if(this['clamp'](),_0x183e54%0x4)for(var _0x16862d=0x0;_0x16862d<_0x584c9f;_0x16862d++){var _0x5db536=_0x28c4dd[_0x16862d>>>0x2]>>>0x18-_0x16862d%0x4*0x8&0xff;_0x419b6f[_0x183e54+_0x16862d>>>0x2]|=_0x5db536<<0x18-(_0x183e54+_0x16862d)%0x4*0x8;}else{for(var _0x3ee370=0x0;_0x3ee370<_0x584c9f;_0x3ee370+=0x4)_0x419b6f[_0x183e54+_0x3ee370>>>0x2]=_0x28c4dd[_0x3ee370>>>0x2];}return this[_0x34d97b(0x313)]+=_0x584c9f,this;},'clamp':function(){var _0x325dff=_0x2f6515,_0x229e22=this[_0x325dff(0x18b)],_0x3bb4fd=this[_0x325dff(0x313)];_0x229e22[_0x3bb4fd>>>0x2]&=0xffffffff<<0x20-_0x3bb4fd%0x4*0x8,_0x229e22[_0x325dff(0xd9)]=_0x29ec65[_0x325dff(0xd2)](_0x3bb4fd/0x4);},'clone':function(){var _0x18807c=_0x2f6515,_0x5b6274=_0x1625dc[_0x18807c(0x36b)][_0x18807c(0x29f)](this);return _0x5b6274[_0x18807c(0x18b)]=this[_0x18807c(0x18b)][_0x18807c(0x108)](0x0),_0x5b6274;},'random':function(_0x36c06b){var _0x4c6198=_0x2f6515;for(var _0x37ba95=[],_0x1e7ec3=0x0;_0x1e7ec3<_0x36c06b;_0x1e7ec3+=0x4)_0x37ba95[_0x4c6198(0x9f)](_0x39450c());return new _0x5ca84d['init'](_0x37ba95,_0x36c06b);}}),_0x1439e7=_0x1df9fa[_0x2f6515(0x373)]={},_0x43a741=_0x1439e7[_0x2f6515(0xb7)]={'stringify':function(_0x5b33a6){var _0x4bc750=_0x2f6515;for(var _0x3d8198=_0x5b33a6[_0x4bc750(0x18b)],_0x59111f=_0x5b33a6[_0x4bc750(0x313)],_0x442271=[],_0x1955f7=0x0;_0x1955f7<_0x59111f;_0x1955f7++){var _0x245fd5=_0x3d8198[_0x1955f7>>>0x2]>>>0x18-_0x1955f7%0x4*0x8&0xff;_0x442271[_0x4bc750(0x9f)]((_0x245fd5>>>0x4)[_0x4bc750(0x8a)](0x10)),_0x442271['push']((_0x245fd5&0xf)[_0x4bc750(0x8a)](0x10));}return _0x442271[_0x4bc750(0x168)]('');},'parse':function(_0x47fc21){var _0x1ecdfc=_0x2f6515;for(var _0xd19fdd=_0x47fc21[_0x1ecdfc(0xd9)],_0x30c11e=[],_0x416ec7=0x0;_0x416ec7<_0xd19fdd;_0x416ec7+=0x2)_0x30c11e[_0x416ec7>>>0x3]|=parseInt(_0x47fc21[_0x1ecdfc(0x31e)](_0x416ec7,0x2),0x10)<<0x18-_0x416ec7%0x8*0x4;return new _0x5ca84d[(_0x1ecdfc(0x1c6))](_0x30c11e,_0xd19fdd/0x2);}},_0x48a2e7=_0x1439e7['Latin1']={'stringify':function(_0x4c4057){var _0x921ede=_0x2f6515;for(var _0x4a5704=_0x4c4057[_0x921ede(0x18b)],_0x34a1c0=_0x4c4057[_0x921ede(0x313)],_0x39cf05=[],_0x3581e5=0x0;_0x3581e5<_0x34a1c0;_0x3581e5++){var _0x3639c8=_0x4a5704[_0x3581e5>>>0x2]>>>0x18-_0x3581e5%0x4*0x8&0xff;_0x39cf05['push'](String['fromCharCode'](_0x3639c8));}return _0x39cf05[_0x921ede(0x168)]('');},'parse':function(_0x597f59){var _0x471179=_0x2f6515;for(var _0x1f3fdd=_0x597f59['length'],_0x4073ec=[],_0x2a86d1=0x0;_0x2a86d1<_0x1f3fdd;_0x2a86d1++)_0x4073ec[_0x2a86d1>>>0x2]|=(_0x597f59[_0x471179(0x23c)](_0x2a86d1)&0xff)<<0x18-_0x2a86d1%0x4*0x8;return new _0x5ca84d[(_0x471179(0x1c6))](_0x4073ec,_0x1f3fdd);}},_0x2dbc26=_0x1439e7['Utf8']={'stringify':function(_0x1d8592){var _0xb77721=_0x2f6515;try{return decodeURIComponent(escape(_0x48a2e7[_0xb77721(0x153)](_0x1d8592)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2461f0){var _0x235cb0=_0x2f6515;return _0x48a2e7[_0x235cb0(0x27e)](unescape(encodeURIComponent(_0x2461f0)));}},_0x315635=_0x1e28e2[_0x2f6515(0x1f1)]=_0x1625dc['extend']({'reset':function(){var _0x35e7dc=_0x2f6515;this[_0x35e7dc(0x1c2)]=new _0x5ca84d['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x8790f7){var _0x54849a=_0x2f6515;typeof _0x8790f7=='string'&&(_0x8790f7=_0x2dbc26[_0x54849a(0x27e)](_0x8790f7)),this[_0x54849a(0x1c2)][_0x54849a(0x1a7)](_0x8790f7),this[_0x54849a(0x173)]+=_0x8790f7['sigBytes'];},'_process':function(_0x46fc63){var _0x3128eb=_0x2f6515,_0x2eafe7,_0xc58576=this[_0x3128eb(0x1c2)],_0x19eb43=_0xc58576[_0x3128eb(0x18b)],_0x634189=_0xc58576[_0x3128eb(0x313)],_0x17272d=this['blockSize'],_0x1c5087=_0x17272d*0x4,_0x1e0544=_0x634189/_0x1c5087;_0x46fc63?_0x1e0544=_0x29ec65[_0x3128eb(0xd2)](_0x1e0544):_0x1e0544=_0x29ec65[_0x3128eb(0x367)]((_0x1e0544|0x0)-this[_0x3128eb(0xeb)],0x0);var _0x4e949c=_0x1e0544*_0x17272d,_0x3aca4d=_0x29ec65[_0x3128eb(0x2de)](_0x4e949c*0x4,_0x634189);if(_0x4e949c){for(var _0x290fbb=0x0;_0x290fbb<_0x4e949c;_0x290fbb+=_0x17272d)this[_0x3128eb(0x174)](_0x19eb43,_0x290fbb);_0x2eafe7=_0x19eb43[_0x3128eb(0x340)](0x0,_0x4e949c),_0xc58576[_0x3128eb(0x313)]-=_0x3aca4d;}return new _0x5ca84d[(_0x3128eb(0x1c6))](_0x2eafe7,_0x3aca4d);},'clone':function(){var _0x37354c=_0x2f6515,_0x258b56=_0x1625dc[_0x37354c(0x36b)][_0x37354c(0x29f)](this);return _0x258b56[_0x37354c(0x1c2)]=this['_data'][_0x37354c(0x36b)](),_0x258b56;},'_minBufferSize':0x0});_0x1e28e2[_0x2f6515(0x289)]=_0x315635['extend']({'cfg':_0x1625dc[_0x2f6515(0x9e)](),'init':function(_0x5aa3b3){var _0x46246a=_0x2f6515;this[_0x46246a(0x19e)]=this[_0x46246a(0x19e)][_0x46246a(0x9e)](_0x5aa3b3),this[_0x46246a(0x1db)]();},'reset':function(){var _0x17a64f=_0x2f6515;_0x315635[_0x17a64f(0x1db)][_0x17a64f(0x29f)](this),this[_0x17a64f(0x275)]();},'update':function(_0x27b6bb){var _0x4473a5=_0x2f6515;return this[_0x4473a5(0x91)](_0x27b6bb),this[_0x4473a5(0x1c5)](),this;},'finalize':function(_0x321cae){var _0xef6de=_0x2f6515;_0x321cae&&this[_0xef6de(0x91)](_0x321cae);var _0x190b5b=this[_0xef6de(0x28b)]();return _0x190b5b;},'blockSize':0x10,'_createHelper':function(_0x52cc3f){return function(_0x541695,_0x41ccfa){var _0xb129=_0x32b0;return new _0x52cc3f[(_0xb129(0x1c6))](_0x41ccfa)[_0xb129(0x294)](_0x541695);};},'_createHmacHelper':function(_0xbd1619){return function(_0xa93384,_0x133264){var _0x5f5b40=_0x32b0;return new _0x3373e5[(_0x5f5b40(0x205))][(_0x5f5b40(0x1c6))](_0xbd1619,_0x133264)[_0x5f5b40(0x294)](_0xa93384);};}});var _0x3373e5=_0x1df9fa[_0x2f6515(0xbb)]={};return _0x1df9fa;}(Math);return _0x13ea17;}));}(Ge)),Ge[_0x374c0b(0x2c5)];}var We={'exports':{}},xr=We[_0x266d6a(0x2c5)],Qt;function wi(){var _0x37f23b=_0x266d6a;return Qt||(Qt=0x1,function(_0x4d1732,_0x44f43a){(function(_0xede8b6,_0x2eb740){var _0x91293e=_0x32b0;_0x4d1732[_0x91293e(0x2c5)]=_0x2eb740(ne());}(xr,function(_0x39de5a){var _0x4e14c1=_0x32b0;return(function(){var _0x39b7b6=_0x32b0,_0x1b5bf7=_0x39de5a,_0x25f46f=_0x1b5bf7[_0x39b7b6(0x28c)],_0x16f351=_0x25f46f[_0x39b7b6(0x198)],_0x570577=_0x1b5bf7[_0x39b7b6(0x373)];_0x570577[_0x39b7b6(0x24d)]={'stringify':function(_0x3d6197){var _0x45bf79=_0x39b7b6,_0x30c60d=_0x3d6197[_0x45bf79(0x18b)],_0x4054a9=_0x3d6197['sigBytes'],_0x100ab9=this[_0x45bf79(0x229)];_0x3d6197['clamp']();for(var _0x3e6553=[],_0x105819=0x0;_0x105819<_0x4054a9;_0x105819+=0x3)for(var _0x38faf5=_0x30c60d[_0x105819>>>0x2]>>>0x18-_0x105819%0x4*0x8&0xff,_0x22b37e=_0x30c60d[_0x105819+0x1>>>0x2]>>>0x18-(_0x105819+0x1)%0x4*0x8&0xff,_0x3377f4=_0x30c60d[_0x105819+0x2>>>0x2]>>>0x18-(_0x105819+0x2)%0x4*0x8&0xff,_0x7c8b53=_0x38faf5<<0x10|_0x22b37e<<0x8|_0x3377f4,_0x1bff40=0x0;_0x1bff40<0x4&&_0x105819+_0x1bff40*0.75<_0x4054a9;_0x1bff40++)_0x3e6553[_0x45bf79(0x9f)](_0x100ab9[_0x45bf79(0x2b2)](_0x7c8b53>>>0x6*(0x3-_0x1bff40)&0x3f));var _0x3fb769=_0x100ab9[_0x45bf79(0x2b2)](0x40);if(_0x3fb769){for(;_0x3e6553[_0x45bf79(0xd9)]%0x4;)_0x3e6553[_0x45bf79(0x9f)](_0x3fb769);}return _0x3e6553[_0x45bf79(0x168)]('');},'parse':function(_0x393159){var _0x599f30=_0x39b7b6,_0x5bd2a8=_0x393159['length'],_0x4b6cfa=this['_map'],_0x900e80=this[_0x599f30(0x246)];if(!_0x900e80){_0x900e80=this[_0x599f30(0x246)]=[];for(var _0x55c5b3=0x0;_0x55c5b3<_0x4b6cfa[_0x599f30(0xd9)];_0x55c5b3++)_0x900e80[_0x4b6cfa[_0x599f30(0x23c)](_0x55c5b3)]=_0x55c5b3;}var _0x32dd94=_0x4b6cfa['charAt'](0x40);if(_0x32dd94){var _0x5ab0af=_0x393159['indexOf'](_0x32dd94);_0x5ab0af!==-0x1&&(_0x5bd2a8=_0x5ab0af);}return _0x2ea40d(_0x393159,_0x5bd2a8,_0x900e80);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2ea40d(_0x141699,_0x4d98a6,_0x567cf3){var _0x40a5b1=_0x39b7b6;for(var _0x5adfbd=[],_0x4cb10e=0x0,_0x449155=0x0;_0x449155<_0x4d98a6;_0x449155++)if(_0x449155%0x4){var _0x5b1b25=_0x567cf3[_0x141699[_0x40a5b1(0x23c)](_0x449155-0x1)]<<_0x449155%0x4*0x2,_0x2a2124=_0x567cf3[_0x141699[_0x40a5b1(0x23c)](_0x449155)]>>>0x6-_0x449155%0x4*0x2,_0x515027=_0x5b1b25|_0x2a2124;_0x5adfbd[_0x4cb10e>>>0x2]|=_0x515027<<0x18-_0x4cb10e%0x4*0x8,_0x4cb10e++;}return _0x16f351[_0x40a5b1(0x202)](_0x5adfbd,_0x4cb10e);}}()),_0x39de5a['enc'][_0x4e14c1(0x24d)];}));}(We)),We[_0x37f23b(0x2c5)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x352bfd=_0x266d6a;return ei||(ei=0x1,function(_0x24053a,_0x2eb545){(function(_0x59be47,_0x52b5e2){var _0x4c987b=_0x32b0;_0x24053a[_0x4c987b(0x2c5)]=_0x52b5e2(ne());}(Lr,function(_0x7e4afe){return function(_0x274660){var _0x3e2fc8=_0x32b0,_0xba3b39=_0x7e4afe,_0x4637af=_0xba3b39[_0x3e2fc8(0x28c)],_0x51d532=_0x4637af[_0x3e2fc8(0x198)],_0x2aa424=_0x4637af[_0x3e2fc8(0x289)],_0x21d712=_0xba3b39[_0x3e2fc8(0xbb)],_0xcf2d9a=[];(function(){var _0x317757=_0x3e2fc8;for(var _0x1a82fd=0x0;_0x1a82fd<0x40;_0x1a82fd++)_0xcf2d9a[_0x1a82fd]=_0x274660[_0x317757(0x24a)](_0x274660[_0x317757(0xa9)](_0x1a82fd+0x1))*0x100000000|0x0;}());var _0x2aa36c=_0x21d712[_0x3e2fc8(0x35f)]=_0x2aa424[_0x3e2fc8(0x9e)]({'_doReset':function(){var _0x448326=_0x3e2fc8;this[_0x448326(0x35a)]=new _0x51d532[(_0x448326(0x1c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3d576b,_0x9937a8){var _0x10909c=_0x3e2fc8;for(var _0x9b14e3=0x0;_0x9b14e3<0x10;_0x9b14e3++){var _0x4f55f6=_0x9937a8+_0x9b14e3,_0x4cda75=_0x3d576b[_0x4f55f6];_0x3d576b[_0x4f55f6]=(_0x4cda75<<0x8|_0x4cda75>>>0x18)&0xff00ff|(_0x4cda75<<0x18|_0x4cda75>>>0x8)&0xff00ff00;}var _0x15d945=this[_0x10909c(0x35a)]['words'],_0xb6261f=_0x3d576b[_0x9937a8+0x0],_0x3c53dc=_0x3d576b[_0x9937a8+0x1],_0x1523e1=_0x3d576b[_0x9937a8+0x2],_0x13c7de=_0x3d576b[_0x9937a8+0x3],_0x55bde0=_0x3d576b[_0x9937a8+0x4],_0x3d5360=_0x3d576b[_0x9937a8+0x5],_0x19156d=_0x3d576b[_0x9937a8+0x6],_0x420c46=_0x3d576b[_0x9937a8+0x7],_0x502e61=_0x3d576b[_0x9937a8+0x8],_0x33b560=_0x3d576b[_0x9937a8+0x9],_0x279275=_0x3d576b[_0x9937a8+0xa],_0x1fce84=_0x3d576b[_0x9937a8+0xb],_0x3031e9=_0x3d576b[_0x9937a8+0xc],_0x3fabb9=_0x3d576b[_0x9937a8+0xd],_0x2c18b1=_0x3d576b[_0x9937a8+0xe],_0xd2c2c8=_0x3d576b[_0x9937a8+0xf],_0xb5b12a=_0x15d945[0x0],_0x2b5d6f=_0x15d945[0x1],_0x4aa527=_0x15d945[0x2],_0x3ab10a=_0x15d945[0x3];_0xb5b12a=_0x31b1bb(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb6261f,0x7,_0xcf2d9a[0x0]),_0x3ab10a=_0x31b1bb(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3c53dc,0xc,_0xcf2d9a[0x1]),_0x4aa527=_0x31b1bb(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x1523e1,0x11,_0xcf2d9a[0x2]),_0x2b5d6f=_0x31b1bb(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x13c7de,0x16,_0xcf2d9a[0x3]),_0xb5b12a=_0x31b1bb(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x55bde0,0x7,_0xcf2d9a[0x4]),_0x3ab10a=_0x31b1bb(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3d5360,0xc,_0xcf2d9a[0x5]),_0x4aa527=_0x31b1bb(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x19156d,0x11,_0xcf2d9a[0x6]),_0x2b5d6f=_0x31b1bb(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x420c46,0x16,_0xcf2d9a[0x7]),_0xb5b12a=_0x31b1bb(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x502e61,0x7,_0xcf2d9a[0x8]),_0x3ab10a=_0x31b1bb(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x33b560,0xc,_0xcf2d9a[0x9]),_0x4aa527=_0x31b1bb(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x279275,0x11,_0xcf2d9a[0xa]),_0x2b5d6f=_0x31b1bb(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x1fce84,0x16,_0xcf2d9a[0xb]),_0xb5b12a=_0x31b1bb(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3031e9,0x7,_0xcf2d9a[0xc]),_0x3ab10a=_0x31b1bb(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3fabb9,0xc,_0xcf2d9a[0xd]),_0x4aa527=_0x31b1bb(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x2c18b1,0x11,_0xcf2d9a[0xe]),_0x2b5d6f=_0x31b1bb(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0xd2c2c8,0x16,_0xcf2d9a[0xf]),_0xb5b12a=_0x4dc680(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3c53dc,0x5,_0xcf2d9a[0x10]),_0x3ab10a=_0x4dc680(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x19156d,0x9,_0xcf2d9a[0x11]),_0x4aa527=_0x4dc680(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x1fce84,0xe,_0xcf2d9a[0x12]),_0x2b5d6f=_0x4dc680(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0xb6261f,0x14,_0xcf2d9a[0x13]),_0xb5b12a=_0x4dc680(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3d5360,0x5,_0xcf2d9a[0x14]),_0x3ab10a=_0x4dc680(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x279275,0x9,_0xcf2d9a[0x15]),_0x4aa527=_0x4dc680(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0xd2c2c8,0xe,_0xcf2d9a[0x16]),_0x2b5d6f=_0x4dc680(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x55bde0,0x14,_0xcf2d9a[0x17]),_0xb5b12a=_0x4dc680(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x33b560,0x5,_0xcf2d9a[0x18]),_0x3ab10a=_0x4dc680(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x2c18b1,0x9,_0xcf2d9a[0x19]),_0x4aa527=_0x4dc680(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x13c7de,0xe,_0xcf2d9a[0x1a]),_0x2b5d6f=_0x4dc680(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x502e61,0x14,_0xcf2d9a[0x1b]),_0xb5b12a=_0x4dc680(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3fabb9,0x5,_0xcf2d9a[0x1c]),_0x3ab10a=_0x4dc680(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x1523e1,0x9,_0xcf2d9a[0x1d]),_0x4aa527=_0x4dc680(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x420c46,0xe,_0xcf2d9a[0x1e]),_0x2b5d6f=_0x4dc680(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x3031e9,0x14,_0xcf2d9a[0x1f]),_0xb5b12a=_0xa30ae6(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3d5360,0x4,_0xcf2d9a[0x20]),_0x3ab10a=_0xa30ae6(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x502e61,0xb,_0xcf2d9a[0x21]),_0x4aa527=_0xa30ae6(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x1fce84,0x10,_0xcf2d9a[0x22]),_0x2b5d6f=_0xa30ae6(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2c18b1,0x17,_0xcf2d9a[0x23]),_0xb5b12a=_0xa30ae6(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3c53dc,0x4,_0xcf2d9a[0x24]),_0x3ab10a=_0xa30ae6(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x55bde0,0xb,_0xcf2d9a[0x25]),_0x4aa527=_0xa30ae6(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x420c46,0x10,_0xcf2d9a[0x26]),_0x2b5d6f=_0xa30ae6(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x279275,0x17,_0xcf2d9a[0x27]),_0xb5b12a=_0xa30ae6(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3fabb9,0x4,_0xcf2d9a[0x28]),_0x3ab10a=_0xa30ae6(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0xb6261f,0xb,_0xcf2d9a[0x29]),_0x4aa527=_0xa30ae6(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x13c7de,0x10,_0xcf2d9a[0x2a]),_0x2b5d6f=_0xa30ae6(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x19156d,0x17,_0xcf2d9a[0x2b]),_0xb5b12a=_0xa30ae6(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x33b560,0x4,_0xcf2d9a[0x2c]),_0x3ab10a=_0xa30ae6(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3031e9,0xb,_0xcf2d9a[0x2d]),_0x4aa527=_0xa30ae6(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0xd2c2c8,0x10,_0xcf2d9a[0x2e]),_0x2b5d6f=_0xa30ae6(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x1523e1,0x17,_0xcf2d9a[0x2f]),_0xb5b12a=_0xc7c98(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb6261f,0x6,_0xcf2d9a[0x30]),_0x3ab10a=_0xc7c98(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x420c46,0xa,_0xcf2d9a[0x31]),_0x4aa527=_0xc7c98(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x2c18b1,0xf,_0xcf2d9a[0x32]),_0x2b5d6f=_0xc7c98(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x3d5360,0x15,_0xcf2d9a[0x33]),_0xb5b12a=_0xc7c98(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x3031e9,0x6,_0xcf2d9a[0x34]),_0x3ab10a=_0xc7c98(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x13c7de,0xa,_0xcf2d9a[0x35]),_0x4aa527=_0xc7c98(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x279275,0xf,_0xcf2d9a[0x36]),_0x2b5d6f=_0xc7c98(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x3c53dc,0x15,_0xcf2d9a[0x37]),_0xb5b12a=_0xc7c98(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x502e61,0x6,_0xcf2d9a[0x38]),_0x3ab10a=_0xc7c98(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0xd2c2c8,0xa,_0xcf2d9a[0x39]),_0x4aa527=_0xc7c98(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x19156d,0xf,_0xcf2d9a[0x3a]),_0x2b5d6f=_0xc7c98(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x3fabb9,0x15,_0xcf2d9a[0x3b]),_0xb5b12a=_0xc7c98(_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x3ab10a,_0x55bde0,0x6,_0xcf2d9a[0x3c]),_0x3ab10a=_0xc7c98(_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x4aa527,_0x1fce84,0xa,_0xcf2d9a[0x3d]),_0x4aa527=_0xc7c98(_0x4aa527,_0x3ab10a,_0xb5b12a,_0x2b5d6f,_0x1523e1,0xf,_0xcf2d9a[0x3e]),_0x2b5d6f=_0xc7c98(_0x2b5d6f,_0x4aa527,_0x3ab10a,_0xb5b12a,_0x33b560,0x15,_0xcf2d9a[0x3f]),_0x15d945[0x0]=_0x15d945[0x0]+_0xb5b12a|0x0,_0x15d945[0x1]=_0x15d945[0x1]+_0x2b5d6f|0x0,_0x15d945[0x2]=_0x15d945[0x2]+_0x4aa527|0x0,_0x15d945[0x3]=_0x15d945[0x3]+_0x3ab10a|0x0;},'_doFinalize':function(){var _0x237792=_0x3e2fc8,_0x4727a8=this['_data'],_0x261184=_0x4727a8[_0x237792(0x18b)],_0x100021=this[_0x237792(0x173)]*0x8,_0x567e43=_0x4727a8['sigBytes']*0x8;_0x261184[_0x567e43>>>0x5]|=0x80<<0x18-_0x567e43%0x20;var _0x132c87=_0x274660[_0x237792(0x183)](_0x100021/0x100000000),_0x42c024=_0x100021;_0x261184[(_0x567e43+0x40>>>0x9<<0x4)+0xf]=(_0x132c87<<0x8|_0x132c87>>>0x18)&0xff00ff|(_0x132c87<<0x18|_0x132c87>>>0x8)&0xff00ff00,_0x261184[(_0x567e43+0x40>>>0x9<<0x4)+0xe]=(_0x42c024<<0x8|_0x42c024>>>0x18)&0xff00ff|(_0x42c024<<0x18|_0x42c024>>>0x8)&0xff00ff00,_0x4727a8[_0x237792(0x313)]=(_0x261184[_0x237792(0xd9)]+0x1)*0x4,this[_0x237792(0x1c5)]();for(var _0xbc0dd3=this['_hash'],_0x2d4eef=_0xbc0dd3[_0x237792(0x18b)],_0x2da1c8=0x0;_0x2da1c8<0x4;_0x2da1c8++){var _0x309ecf=_0x2d4eef[_0x2da1c8];_0x2d4eef[_0x2da1c8]=(_0x309ecf<<0x8|_0x309ecf>>>0x18)&0xff00ff|(_0x309ecf<<0x18|_0x309ecf>>>0x8)&0xff00ff00;}return _0xbc0dd3;},'clone':function(){var _0x134926=_0x3e2fc8,_0xb8d32b=_0x2aa424[_0x134926(0x36b)]['call'](this);return _0xb8d32b[_0x134926(0x35a)]=this[_0x134926(0x35a)][_0x134926(0x36b)](),_0xb8d32b;}});function _0x31b1bb(_0x54932,_0x594de8,_0x5579ec,_0x3617f8,_0x26cee6,_0xd54de3,_0x276cce){var _0x328cba=_0x54932+(_0x594de8&_0x5579ec|~_0x594de8&_0x3617f8)+_0x26cee6+_0x276cce;return(_0x328cba<<_0xd54de3|_0x328cba>>>0x20-_0xd54de3)+_0x594de8;}function _0x4dc680(_0x152380,_0x28c4cf,_0x20b944,_0x40fa9f,_0x45d243,_0x329853,_0xe843ef){var _0x2d2cfa=_0x152380+(_0x28c4cf&_0x40fa9f|_0x20b944&~_0x40fa9f)+_0x45d243+_0xe843ef;return(_0x2d2cfa<<_0x329853|_0x2d2cfa>>>0x20-_0x329853)+_0x28c4cf;}function _0xa30ae6(_0x2738b3,_0xc236a9,_0x2d743e,_0x18c197,_0x22223a,_0x123410,_0x2c9666){var _0x2f3559=_0x2738b3+(_0xc236a9^_0x2d743e^_0x18c197)+_0x22223a+_0x2c9666;return(_0x2f3559<<_0x123410|_0x2f3559>>>0x20-_0x123410)+_0xc236a9;}function _0xc7c98(_0x145dc2,_0x1fbf2c,_0x38cb8f,_0x4f0d3a,_0xc3797b,_0x151031,_0x236df6){var _0x43eaad=_0x145dc2+(_0x38cb8f^(_0x1fbf2c|~_0x4f0d3a))+_0xc3797b+_0x236df6;return(_0x43eaad<<_0x151031|_0x43eaad>>>0x20-_0x151031)+_0x1fbf2c;}_0xba3b39['MD5']=_0x2aa424[_0x3e2fc8(0x20b)](_0x2aa36c),_0xba3b39[_0x3e2fc8(0x228)]=_0x2aa424['_createHmacHelper'](_0x2aa36c);}(Math),_0x7e4afe['MD5'];}));}(Ke)),Ke[_0x352bfd(0x2c5)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x266d6a(0x2c5)],ti;function Hr(){var _0x5967ba=_0x266d6a;return ti||(ti=0x1,function(_0x458f8e,_0x2fa502){(function(_0x1f1d33,_0x33f65e){var _0x1a2083=_0x32b0;_0x458f8e[_0x1a2083(0x2c5)]=_0x33f65e(ne());}($r,function(_0x749c08){var _0x5e5780=_0x32b0;return(function(){var _0x2ff714=_0x32b0,_0x555b66=_0x749c08,_0x641dd3=_0x555b66[_0x2ff714(0x28c)],_0x44996b=_0x641dd3['WordArray'],_0x44f1ae=_0x641dd3[_0x2ff714(0x289)],_0x276f28=_0x555b66[_0x2ff714(0xbb)],_0x4f8766=[],_0x2e2702=_0x276f28['SHA1']=_0x44f1ae[_0x2ff714(0x9e)]({'_doReset':function(){var _0x1866b0=_0x2ff714;this[_0x1866b0(0x35a)]=new _0x44996b[(_0x1866b0(0x1c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb7093b,_0xc7a2a6){var _0x30f43a=_0x2ff714;for(var _0x527ce8=this['_hash'][_0x30f43a(0x18b)],_0x599606=_0x527ce8[0x0],_0x4f8f9b=_0x527ce8[0x1],_0x120e9=_0x527ce8[0x2],_0x24ac63=_0x527ce8[0x3],_0x1da4d8=_0x527ce8[0x4],_0x48e414=0x0;_0x48e414<0x50;_0x48e414++){if(_0x48e414<0x10)_0x4f8766[_0x48e414]=_0xb7093b[_0xc7a2a6+_0x48e414]|0x0;else{var _0x26a845=_0x4f8766[_0x48e414-0x3]^_0x4f8766[_0x48e414-0x8]^_0x4f8766[_0x48e414-0xe]^_0x4f8766[_0x48e414-0x10];_0x4f8766[_0x48e414]=_0x26a845<<0x1|_0x26a845>>>0x1f;}var _0x4a04f4=(_0x599606<<0x5|_0x599606>>>0x1b)+_0x1da4d8+_0x4f8766[_0x48e414];_0x48e414<0x14?_0x4a04f4+=(_0x4f8f9b&_0x120e9|~_0x4f8f9b&_0x24ac63)+0x5a827999:_0x48e414<0x28?_0x4a04f4+=(_0x4f8f9b^_0x120e9^_0x24ac63)+0x6ed9eba1:_0x48e414<0x3c?_0x4a04f4+=(_0x4f8f9b&_0x120e9|_0x4f8f9b&_0x24ac63|_0x120e9&_0x24ac63)-0x70e44324:_0x4a04f4+=(_0x4f8f9b^_0x120e9^_0x24ac63)-0x359d3e2a,_0x1da4d8=_0x24ac63,_0x24ac63=_0x120e9,_0x120e9=_0x4f8f9b<<0x1e|_0x4f8f9b>>>0x2,_0x4f8f9b=_0x599606,_0x599606=_0x4a04f4;}_0x527ce8[0x0]=_0x527ce8[0x0]+_0x599606|0x0,_0x527ce8[0x1]=_0x527ce8[0x1]+_0x4f8f9b|0x0,_0x527ce8[0x2]=_0x527ce8[0x2]+_0x120e9|0x0,_0x527ce8[0x3]=_0x527ce8[0x3]+_0x24ac63|0x0,_0x527ce8[0x4]=_0x527ce8[0x4]+_0x1da4d8|0x0;},'_doFinalize':function(){var _0x20405b=_0x2ff714,_0x4365c0=this[_0x20405b(0x1c2)],_0xd23371=_0x4365c0[_0x20405b(0x18b)],_0x23564a=this[_0x20405b(0x173)]*0x8,_0x55544c=_0x4365c0[_0x20405b(0x313)]*0x8;return _0xd23371[_0x55544c>>>0x5]|=0x80<<0x18-_0x55544c%0x20,_0xd23371[(_0x55544c+0x40>>>0x9<<0x4)+0xe]=Math[_0x20405b(0x183)](_0x23564a/0x100000000),_0xd23371[(_0x55544c+0x40>>>0x9<<0x4)+0xf]=_0x23564a,_0x4365c0['sigBytes']=_0xd23371[_0x20405b(0xd9)]*0x4,this[_0x20405b(0x1c5)](),this[_0x20405b(0x35a)];},'clone':function(){var _0x46c295=_0x2ff714,_0x1e36a0=_0x44f1ae[_0x46c295(0x36b)][_0x46c295(0x29f)](this);return _0x1e36a0['_hash']=this[_0x46c295(0x35a)]['clone'](),_0x1e36a0;}});_0x555b66['SHA1']=_0x44f1ae[_0x2ff714(0x20b)](_0x2e2702),_0x555b66[_0x2ff714(0x185)]=_0x44f1ae[_0x2ff714(0x30e)](_0x2e2702);}()),_0x749c08[_0x5e5780(0x2f4)];}));}(qe)),qe[_0x5967ba(0x2c5)];}var ze={'exports':{}},kr=ze[_0x266d6a(0x2c5)],ii;function jr(){var _0x2ee6d3=_0x266d6a;return ii||(ii=0x1,function(_0x135741,_0x168bd1){(function(_0x4766f7,_0x49c7b5){var _0x4f04ea=_0x32b0;_0x135741[_0x4f04ea(0x2c5)]=_0x49c7b5(ne());}(kr,function(_0x48ee56){(function(){var _0x323f48=_0x32b0,_0x4438fa=_0x48ee56,_0x1d88ed=_0x4438fa[_0x323f48(0x28c)],_0x284e11=_0x1d88ed[_0x323f48(0x25c)],_0x6a4a26=_0x4438fa['enc'],_0x33b1f0=_0x6a4a26[_0x323f48(0x370)],_0x2e750c=_0x4438fa[_0x323f48(0xbb)];_0x2e750c['HMAC']=_0x284e11[_0x323f48(0x9e)]({'init':function(_0x44b53f,_0x299c8a){var _0x511720=_0x323f48;_0x44b53f=this[_0x511720(0xe4)]=new _0x44b53f[(_0x511720(0x1c6))](),typeof _0x299c8a==_0x511720(0x1c1)&&(_0x299c8a=_0x33b1f0['parse'](_0x299c8a));var _0x107453=_0x44b53f['blockSize'],_0x76222a=_0x107453*0x4;_0x299c8a[_0x511720(0x313)]>_0x76222a&&(_0x299c8a=_0x44b53f[_0x511720(0x294)](_0x299c8a)),_0x299c8a[_0x511720(0x87)]();for(var _0x13106a=this[_0x511720(0x2ec)]=_0x299c8a[_0x511720(0x36b)](),_0x41dc8e=this[_0x511720(0x31b)]=_0x299c8a[_0x511720(0x36b)](),_0x546e23=_0x13106a['words'],_0x5acfdd=_0x41dc8e[_0x511720(0x18b)],_0xe38f1b=0x0;_0xe38f1b<_0x107453;_0xe38f1b++)_0x546e23[_0xe38f1b]^=0x5c5c5c5c,_0x5acfdd[_0xe38f1b]^=0x36363636;_0x13106a['sigBytes']=_0x41dc8e['sigBytes']=_0x76222a,this[_0x511720(0x1db)]();},'reset':function(){var _0x3c8cf6=_0x323f48,_0x32fcd8=this[_0x3c8cf6(0xe4)];_0x32fcd8[_0x3c8cf6(0x1db)](),_0x32fcd8[_0x3c8cf6(0x204)](this['_iKey']);},'update':function(_0x4bcd40){var _0x1e200a=_0x323f48;return this[_0x1e200a(0xe4)][_0x1e200a(0x204)](_0x4bcd40),this;},'finalize':function(_0x1184f3){var _0x38635c=_0x323f48,_0x270a83=this[_0x38635c(0xe4)],_0x5e9640=_0x270a83[_0x38635c(0x294)](_0x1184f3);_0x270a83[_0x38635c(0x1db)]();var _0x3ee739=_0x270a83[_0x38635c(0x294)](this['_oKey'][_0x38635c(0x36b)]()[_0x38635c(0x1a7)](_0x5e9640));return _0x3ee739;}});}());}));}(ze)),ze[_0x2ee6d3(0x2c5)];}var Br=Ye[_0x266d6a(0x2c5)],ni;function Ui(){var _0x4a45cb=_0x266d6a;return ni||(ni=0x1,function(_0x300212,_0x17ce6a){(function(_0x4a6cdb,_0x4812ad,_0x26a6aa){var _0x52a006=_0x32b0;_0x300212[_0x52a006(0x2c5)]=_0x4812ad(ne(),Hr(),jr());}(Br,function(_0x6e455c){return(function(){var _0x192a4d=_0x32b0,_0xb6d53d=_0x6e455c,_0x3d143b=_0xb6d53d['lib'],_0x24412f=_0x3d143b[_0x192a4d(0x25c)],_0x3d6b9f=_0x3d143b[_0x192a4d(0x198)],_0x3d0b5f=_0xb6d53d[_0x192a4d(0xbb)],_0x105229=_0x3d0b5f[_0x192a4d(0x35f)],_0xdff786=_0x3d0b5f['EvpKDF']=_0x24412f[_0x192a4d(0x9e)]({'cfg':_0x24412f[_0x192a4d(0x9e)]({'keySize':0x80/0x20,'hasher':_0x105229,'iterations':0x1}),'init':function(_0x5b8b5d){var _0x4a47c9=_0x192a4d;this[_0x4a47c9(0x19e)]=this['cfg'][_0x4a47c9(0x9e)](_0x5b8b5d);},'compute':function(_0x1140e6,_0x43732a){var _0x4fc637=_0x192a4d;for(var _0x3d0a0a,_0x2f7149=this['cfg'],_0x5a77c1=_0x2f7149[_0x4fc637(0x34e)][_0x4fc637(0x202)](),_0x3d8089=_0x3d6b9f[_0x4fc637(0x202)](),_0x1ac2e6=_0x3d8089[_0x4fc637(0x18b)],_0x4dc588=_0x2f7149[_0x4fc637(0x37b)],_0x306252=_0x2f7149[_0x4fc637(0x20a)];_0x1ac2e6[_0x4fc637(0xd9)]<_0x4dc588;){_0x3d0a0a&&_0x5a77c1['update'](_0x3d0a0a),_0x3d0a0a=_0x5a77c1[_0x4fc637(0x204)](_0x1140e6)[_0x4fc637(0x294)](_0x43732a),_0x5a77c1[_0x4fc637(0x1db)]();for(var _0x5ac123=0x1;_0x5ac123<_0x306252;_0x5ac123++)_0x3d0a0a=_0x5a77c1[_0x4fc637(0x294)](_0x3d0a0a),_0x5a77c1[_0x4fc637(0x1db)]();_0x3d8089[_0x4fc637(0x1a7)](_0x3d0a0a);}return _0x3d8089['sigBytes']=_0x4dc588*0x4,_0x3d8089;}});_0xb6d53d[_0x192a4d(0xa1)]=function(_0x34e9ca,_0x4e880d,_0x1fda14){var _0x178b53=_0x192a4d;return _0xdff786['create'](_0x1fda14)[_0x178b53(0x120)](_0x34e9ca,_0x4e880d);};}()),_0x6e455c['EvpKDF'];}));}(Ye)),Ye[_0x4a45cb(0x2c5)];}var Je={'exports':{}},Fr=Je[_0x266d6a(0x2c5)],ri;function Ai(){var _0x91a486=_0x266d6a;return ri||(ri=0x1,function(_0x258c53,_0x17f490){(function(_0x5a59fb,_0x596cc8,_0xab1395){var _0x1a8067=_0x32b0;_0x258c53[_0x1a8067(0x2c5)]=_0x596cc8(ne(),Ui());}(Fr,function(_0x5e7815){var _0xe08c0e=_0x32b0;_0x5e7815[_0xe08c0e(0x28c)]['Cipher']||function(_0x2f84da){var _0x592fbb=_0xe08c0e,_0x50e9f6=_0x5e7815,_0x1fe2d6=_0x50e9f6[_0x592fbb(0x28c)],_0x2dd9e5=_0x1fe2d6[_0x592fbb(0x25c)],_0x15ce57=_0x1fe2d6[_0x592fbb(0x198)],_0x11cfc0=_0x1fe2d6[_0x592fbb(0x1f1)],_0x4f0d77=_0x50e9f6[_0x592fbb(0x373)];_0x4f0d77['Utf8'];var _0x294a48=_0x4f0d77[_0x592fbb(0x24d)],_0x30960a=_0x50e9f6['algo'],_0x5756f2=_0x30960a[_0x592fbb(0xa1)],_0x1c97eb=_0x1fe2d6[_0x592fbb(0x16c)]=_0x11cfc0[_0x592fbb(0x9e)]({'cfg':_0x2dd9e5[_0x592fbb(0x9e)](),'createEncryptor':function(_0x3e9413,_0x5f4dbe){var _0x284ddd=_0x592fbb;return this[_0x284ddd(0x202)](this['_ENC_XFORM_MODE'],_0x3e9413,_0x5f4dbe);},'createDecryptor':function(_0x133d2c,_0x354c9a){var _0x1858bb=_0x592fbb;return this[_0x1858bb(0x202)](this['_DEC_XFORM_MODE'],_0x133d2c,_0x354c9a);},'init':function(_0x2f5c20,_0x3f1257,_0x1bcb69){var _0x2dffb7=_0x592fbb;this[_0x2dffb7(0x19e)]=this['cfg'][_0x2dffb7(0x9e)](_0x1bcb69),this[_0x2dffb7(0x1fb)]=_0x2f5c20,this['_key']=_0x3f1257,this[_0x2dffb7(0x1db)]();},'reset':function(){var _0xfca10b=_0x592fbb;_0x11cfc0[_0xfca10b(0x1db)]['call'](this),this[_0xfca10b(0x275)]();},'process':function(_0x3472ab){var _0xbc5a0=_0x592fbb;return this[_0xbc5a0(0x91)](_0x3472ab),this[_0xbc5a0(0x1c5)]();},'finalize':function(_0x52f15a){var _0x3735da=_0x592fbb;_0x52f15a&&this[_0x3735da(0x91)](_0x52f15a);var _0x36cf50=this[_0x3735da(0x28b)]();return _0x36cf50;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x53cbd9(_0xa0ada7){var _0x15ff44=_0x32b0;return typeof _0xa0ada7==_0x15ff44(0x1c1)?_0x68e9a:_0x286c8f;}return function(_0x5b7696){return{'encrypt':function(_0x52216a,_0x499b50,_0x4fa027){var _0x5edfeb=_0x32b0;return _0x53cbd9(_0x499b50)[_0x5edfeb(0x32d)](_0x5b7696,_0x52216a,_0x499b50,_0x4fa027);},'decrypt':function(_0x5482ff,_0x52c71f,_0x4a1d5d){return _0x53cbd9(_0x52c71f)['decrypt'](_0x5b7696,_0x5482ff,_0x52c71f,_0x4a1d5d);}};};}())});_0x1fe2d6[_0x592fbb(0x146)]=_0x1c97eb[_0x592fbb(0x9e)]({'_doFinalize':function(){var _0x207c2b=_0x592fbb,_0x3302ab=this[_0x207c2b(0x1c5)](!0x0);return _0x3302ab;},'blockSize':0x1});var _0x56a498=_0x50e9f6[_0x592fbb(0x184)]={},_0x497ffd=_0x1fe2d6[_0x592fbb(0x75)]=_0x2dd9e5[_0x592fbb(0x9e)]({'createEncryptor':function(_0x1eab72,_0x27fa2a){var _0x31a449=_0x592fbb;return this['Encryptor'][_0x31a449(0x202)](_0x1eab72,_0x27fa2a);},'createDecryptor':function(_0x40f35c,_0x15ae91){var _0x2a1052=_0x592fbb;return this[_0x2a1052(0x1bc)][_0x2a1052(0x202)](_0x40f35c,_0x15ae91);},'init':function(_0x35e0a4,_0x4b510a){var _0x336369=_0x592fbb;this[_0x336369(0x9a)]=_0x35e0a4,this[_0x336369(0x86)]=_0x4b510a;}}),_0x440551=_0x56a498[_0x592fbb(0x208)]=(function(){var _0x1c811e=_0x592fbb,_0x2842fc=_0x497ffd['extend']();_0x2842fc[_0x1c811e(0x15b)]=_0x2842fc[_0x1c811e(0x9e)]({'processBlock':function(_0x17bf70,_0x1ca033){var _0x575fd3=_0x1c811e,_0x175d10=this[_0x575fd3(0x9a)],_0x24becd=_0x175d10['blockSize'];_0x750817['call'](this,_0x17bf70,_0x1ca033,_0x24becd),_0x175d10[_0x575fd3(0x255)](_0x17bf70,_0x1ca033),this['_prevBlock']=_0x17bf70[_0x575fd3(0x108)](_0x1ca033,_0x1ca033+_0x24becd);}}),_0x2842fc['Decryptor']=_0x2842fc[_0x1c811e(0x9e)]({'processBlock':function(_0x4d1c1d,_0x3ea74a){var _0x1d82ac=_0x1c811e,_0x593e4e=this[_0x1d82ac(0x9a)],_0x1db0a2=_0x593e4e[_0x1d82ac(0x226)],_0x5a482b=_0x4d1c1d[_0x1d82ac(0x108)](_0x3ea74a,_0x3ea74a+_0x1db0a2);_0x593e4e[_0x1d82ac(0x349)](_0x4d1c1d,_0x3ea74a),_0x750817[_0x1d82ac(0x29f)](this,_0x4d1c1d,_0x3ea74a,_0x1db0a2),this[_0x1d82ac(0x170)]=_0x5a482b;}});function _0x750817(_0x1537c3,_0x2bb0fa,_0x3a4690){var _0xa87f52=_0x1c811e,_0x280e8b,_0x2d6952=this['_iv'];_0x2d6952?(_0x280e8b=_0x2d6952,this['_iv']=_0x2f84da):_0x280e8b=this[_0xa87f52(0x170)];for(var _0x359042=0x0;_0x359042<_0x3a4690;_0x359042++)_0x1537c3[_0x2bb0fa+_0x359042]^=_0x280e8b[_0x359042];}return _0x2842fc;}()),_0x13943d=_0x50e9f6[_0x592fbb(0x16b)]={},_0x85f2dd=_0x13943d[_0x592fbb(0x73)]={'pad':function(_0x1fed59,_0x5daee8){var _0x1ba1d8=_0x592fbb;for(var _0x4b77b4=_0x5daee8*0x4,_0x5a7618=_0x4b77b4-_0x1fed59[_0x1ba1d8(0x313)]%_0x4b77b4,_0x956d7e=_0x5a7618<<0x18|_0x5a7618<<0x10|_0x5a7618<<0x8|_0x5a7618,_0x490a37=[],_0x302fd5=0x0;_0x302fd5<_0x5a7618;_0x302fd5+=0x4)_0x490a37[_0x1ba1d8(0x9f)](_0x956d7e);var _0x53641c=_0x15ce57[_0x1ba1d8(0x202)](_0x490a37,_0x5a7618);_0x1fed59[_0x1ba1d8(0x1a7)](_0x53641c);},'unpad':function(_0x2c06cc){var _0x593441=_0x592fbb,_0x4971c6=_0x2c06cc[_0x593441(0x18b)][_0x2c06cc['sigBytes']-0x1>>>0x2]&0xff;_0x2c06cc['sigBytes']-=_0x4971c6;}};_0x1fe2d6['BlockCipher']=_0x1c97eb[_0x592fbb(0x9e)]({'cfg':_0x1c97eb[_0x592fbb(0x19e)]['extend']({'mode':_0x440551,'padding':_0x85f2dd}),'reset':function(){var _0x276c2b=_0x592fbb,_0x1eeb7b;_0x1c97eb[_0x276c2b(0x1db)][_0x276c2b(0x29f)](this);var _0x1ed8b4=this[_0x276c2b(0x19e)],_0x271b3e=_0x1ed8b4['iv'],_0x2b94c4=_0x1ed8b4[_0x276c2b(0x184)];this['_xformMode']==this[_0x276c2b(0x30b)]?_0x1eeb7b=_0x2b94c4[_0x276c2b(0xec)]:(_0x1eeb7b=_0x2b94c4[_0x276c2b(0x212)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x276c2b(0x15c)][_0x276c2b(0xbd)]==_0x1eeb7b?this[_0x276c2b(0x15c)][_0x276c2b(0x1c6)](this,_0x271b3e&&_0x271b3e[_0x276c2b(0x18b)]):(this[_0x276c2b(0x15c)]=_0x1eeb7b['call'](_0x2b94c4,this,_0x271b3e&&_0x271b3e[_0x276c2b(0x18b)]),this['_mode'][_0x276c2b(0xbd)]=_0x1eeb7b);},'_doProcessBlock':function(_0x9bb3e9,_0x5b1b15){var _0x55bd93=_0x592fbb;this['_mode'][_0x55bd93(0x14a)](_0x9bb3e9,_0x5b1b15);},'_doFinalize':function(){var _0x34a86b=_0x592fbb,_0x21df13,_0x59323d=this[_0x34a86b(0x19e)][_0x34a86b(0xb2)];return this[_0x34a86b(0x1fb)]==this[_0x34a86b(0x30b)]?(_0x59323d['pad'](this[_0x34a86b(0x1c2)],this[_0x34a86b(0x226)]),_0x21df13=this['_process'](!0x0)):(_0x21df13=this['_process'](!0x0),_0x59323d[_0x34a86b(0xbc)](_0x21df13)),_0x21df13;},'blockSize':0x80/0x20});var _0x1a7cbb=_0x1fe2d6[_0x592fbb(0x23b)]=_0x2dd9e5[_0x592fbb(0x9e)]({'init':function(_0x4a7004){var _0x31b934=_0x592fbb;this[_0x31b934(0x142)](_0x4a7004);},'toString':function(_0x4f97f7){var _0x24220f=_0x592fbb;return(_0x4f97f7||this[_0x24220f(0x342)])['stringify'](this);}}),_0x993716=_0x50e9f6[_0x592fbb(0x34d)]={},_0x2ae03f=_0x993716[_0x592fbb(0x1af)]={'stringify':function(_0x26c1d7){var _0x368a1d=_0x592fbb,_0x2288e3,_0x82c586=_0x26c1d7['ciphertext'],_0x2e60eb=_0x26c1d7[_0x368a1d(0x16a)];return _0x2e60eb?_0x2288e3=_0x15ce57['create']([0x53616c74,0x65645f5f])[_0x368a1d(0x1a7)](_0x2e60eb)['concat'](_0x82c586):_0x2288e3=_0x82c586,_0x2288e3[_0x368a1d(0x8a)](_0x294a48);},'parse':function(_0x23e916){var _0x5eb6f8=_0x592fbb,_0xdf29f1,_0xc69675=_0x294a48['parse'](_0x23e916),_0x326baa=_0xc69675['words'];return _0x326baa[0x0]==0x53616c74&&_0x326baa[0x1]==0x65645f5f&&(_0xdf29f1=_0x15ce57[_0x5eb6f8(0x202)](_0x326baa[_0x5eb6f8(0x108)](0x2,0x4)),_0x326baa[_0x5eb6f8(0x340)](0x0,0x4),_0xc69675[_0x5eb6f8(0x313)]-=0x10),_0x1a7cbb['create']({'ciphertext':_0xc69675,'salt':_0xdf29f1});}},_0x286c8f=_0x1fe2d6[_0x592fbb(0xce)]=_0x2dd9e5[_0x592fbb(0x9e)]({'cfg':_0x2dd9e5[_0x592fbb(0x9e)]({'format':_0x2ae03f}),'encrypt':function(_0x3f9364,_0x24910c,_0x2b0ea1,_0x2af7d4){var _0x3daa5f=_0x592fbb;_0x2af7d4=this['cfg']['extend'](_0x2af7d4);var _0x437184=_0x3f9364[_0x3daa5f(0xec)](_0x2b0ea1,_0x2af7d4),_0xacecc2=_0x437184[_0x3daa5f(0x294)](_0x24910c),_0x61e453=_0x437184[_0x3daa5f(0x19e)];return _0x1a7cbb['create']({'ciphertext':_0xacecc2,'key':_0x2b0ea1,'iv':_0x61e453['iv'],'algorithm':_0x3f9364,'mode':_0x61e453[_0x3daa5f(0x184)],'padding':_0x61e453[_0x3daa5f(0xb2)],'blockSize':_0x3f9364[_0x3daa5f(0x226)],'formatter':_0x2af7d4[_0x3daa5f(0x34d)]});},'decrypt':function(_0x4d1ae4,_0x426c53,_0x30d7e1,_0x147b3f){var _0xbf5a97=_0x592fbb;_0x147b3f=this[_0xbf5a97(0x19e)][_0xbf5a97(0x9e)](_0x147b3f),_0x426c53=this[_0xbf5a97(0x17b)](_0x426c53,_0x147b3f[_0xbf5a97(0x34d)]);var _0xc0763d=_0x4d1ae4[_0xbf5a97(0x212)](_0x30d7e1,_0x147b3f)[_0xbf5a97(0x294)](_0x426c53[_0xbf5a97(0x1d7)]);return _0xc0763d;},'_parse':function(_0x5abb10,_0x46f020){var _0x5c1df0=_0x592fbb;return typeof _0x5abb10=='string'?_0x46f020[_0x5c1df0(0x27e)](_0x5abb10,this):_0x5abb10;}}),_0x4a1d81=_0x50e9f6['kdf']={},_0x5438d8=_0x4a1d81[_0x592fbb(0x1af)]={'execute':function(_0x46b1c7,_0x3533cd,_0x4e569a,_0x350a4,_0x38012a){var _0x5990cf=_0x592fbb;if(_0x350a4||(_0x350a4=_0x15ce57[_0x5990cf(0x186)](0x40/0x8)),_0x38012a)var _0x505f41=_0x5756f2['create']({'keySize':_0x3533cd+_0x4e569a,'hasher':_0x38012a})[_0x5990cf(0x120)](_0x46b1c7,_0x350a4);else var _0x505f41=_0x5756f2[_0x5990cf(0x202)]({'keySize':_0x3533cd+_0x4e569a})[_0x5990cf(0x120)](_0x46b1c7,_0x350a4);var _0x101007=_0x15ce57[_0x5990cf(0x202)](_0x505f41[_0x5990cf(0x18b)][_0x5990cf(0x108)](_0x3533cd),_0x4e569a*0x4);return _0x505f41[_0x5990cf(0x313)]=_0x3533cd*0x4,_0x1a7cbb['create']({'key':_0x505f41,'iv':_0x101007,'salt':_0x350a4});}},_0x68e9a=_0x1fe2d6[_0x592fbb(0xdd)]=_0x286c8f[_0x592fbb(0x9e)]({'cfg':_0x286c8f[_0x592fbb(0x19e)][_0x592fbb(0x9e)]({'kdf':_0x5438d8}),'encrypt':function(_0x56ee53,_0x8d6e4a,_0x5f575f,_0x58019a){var _0x243c46=_0x592fbb;_0x58019a=this['cfg'][_0x243c46(0x9e)](_0x58019a);var _0x966eef=_0x58019a[_0x243c46(0x195)][_0x243c46(0x2e9)](_0x5f575f,_0x56ee53[_0x243c46(0x37b)],_0x56ee53[_0x243c46(0x36e)],_0x58019a[_0x243c46(0x16a)],_0x58019a[_0x243c46(0x34e)]);_0x58019a['iv']=_0x966eef['iv'];var _0x3cf311=_0x286c8f[_0x243c46(0x32d)][_0x243c46(0x29f)](this,_0x56ee53,_0x8d6e4a,_0x966eef[_0x243c46(0xf3)],_0x58019a);return _0x3cf311[_0x243c46(0x142)](_0x966eef),_0x3cf311;},'decrypt':function(_0x1980a6,_0x1068ec,_0x499801,_0x29ce48){var _0x1b2fad=_0x592fbb;_0x29ce48=this[_0x1b2fad(0x19e)][_0x1b2fad(0x9e)](_0x29ce48),_0x1068ec=this[_0x1b2fad(0x17b)](_0x1068ec,_0x29ce48[_0x1b2fad(0x34d)]);var _0x5308b6=_0x29ce48[_0x1b2fad(0x195)][_0x1b2fad(0x2e9)](_0x499801,_0x1980a6['keySize'],_0x1980a6[_0x1b2fad(0x36e)],_0x1068ec['salt'],_0x29ce48[_0x1b2fad(0x34e)]);_0x29ce48['iv']=_0x5308b6['iv'];var _0x2a7436=_0x286c8f['decrypt']['call'](this,_0x1980a6,_0x1068ec,_0x5308b6[_0x1b2fad(0xf3)],_0x29ce48);return _0x2a7436;}});}();}));}(Je)),Je[_0x91a486(0x2c5)];}var Vr=Ve[_0x266d6a(0x2c5)],si;function Gr(){return si||(si=0x1,function(_0x52a6ae,_0x2ec8a7){(function(_0x22fdb0,_0x41861a,_0x1379b2){_0x52a6ae['exports']=_0x41861a(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x315796){var _0xb4a47c=_0x32b0;return(function(){var _0x47e312=_0x32b0,_0xf285b9=_0x315796,_0x414348=_0xf285b9[_0x47e312(0x28c)],_0x200b98=_0x414348[_0x47e312(0x240)],_0x44c075=_0xf285b9['algo'],_0x1fa79d=[],_0x5777a3=[],_0x4e71c7=[],_0x56272d=[],_0x2d51cf=[],_0x5e7af=[],_0x168b1e=[],_0xc55ccd=[],_0x5bbea7=[],_0x19effa=[];(function(){for(var _0x5d2b27=[],_0x3eb419=0x0;_0x3eb419<0x100;_0x3eb419++)_0x3eb419<0x80?_0x5d2b27[_0x3eb419]=_0x3eb419<<0x1:_0x5d2b27[_0x3eb419]=_0x3eb419<<0x1^0x11b;for(var _0x23cb1d=0x0,_0x188bea=0x0,_0x3eb419=0x0;_0x3eb419<0x100;_0x3eb419++){var _0x331f60=_0x188bea^_0x188bea<<0x1^_0x188bea<<0x2^_0x188bea<<0x3^_0x188bea<<0x4;_0x331f60=_0x331f60>>>0x8^_0x331f60&0xff^0x63,_0x1fa79d[_0x23cb1d]=_0x331f60,_0x5777a3[_0x331f60]=_0x23cb1d;var _0x2628e8=_0x5d2b27[_0x23cb1d],_0x411fcc=_0x5d2b27[_0x2628e8],_0x1e194b=_0x5d2b27[_0x411fcc],_0x2e92c4=_0x5d2b27[_0x331f60]*0x101^_0x331f60*0x1010100;_0x4e71c7[_0x23cb1d]=_0x2e92c4<<0x18|_0x2e92c4>>>0x8,_0x56272d[_0x23cb1d]=_0x2e92c4<<0x10|_0x2e92c4>>>0x10,_0x2d51cf[_0x23cb1d]=_0x2e92c4<<0x8|_0x2e92c4>>>0x18,_0x5e7af[_0x23cb1d]=_0x2e92c4;var _0x2e92c4=_0x1e194b*0x1010101^_0x411fcc*0x10001^_0x2628e8*0x101^_0x23cb1d*0x1010100;_0x168b1e[_0x331f60]=_0x2e92c4<<0x18|_0x2e92c4>>>0x8,_0xc55ccd[_0x331f60]=_0x2e92c4<<0x10|_0x2e92c4>>>0x10,_0x5bbea7[_0x331f60]=_0x2e92c4<<0x8|_0x2e92c4>>>0x18,_0x19effa[_0x331f60]=_0x2e92c4,_0x23cb1d?(_0x23cb1d=_0x2628e8^_0x5d2b27[_0x5d2b27[_0x5d2b27[_0x1e194b^_0x2628e8]]],_0x188bea^=_0x5d2b27[_0x5d2b27[_0x188bea]]):_0x23cb1d=_0x188bea=0x1;}}());var _0x5f3512=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2899ba=_0x44c075['AES']=_0x200b98[_0x47e312(0x9e)]({'_doReset':function(){var _0x49fec3=_0x47e312,_0x1a18bb;if(!(this[_0x49fec3(0x18a)]&&this[_0x49fec3(0x17d)]===this[_0x49fec3(0x20c)])){for(var _0x42bba4=this[_0x49fec3(0x17d)]=this[_0x49fec3(0x20c)],_0x208818=_0x42bba4['words'],_0x347ccc=_0x42bba4[_0x49fec3(0x313)]/0x4,_0x171edf=this[_0x49fec3(0x18a)]=_0x347ccc+0x6,_0x5a0ccd=(_0x171edf+0x1)*0x4,_0x36faf9=this[_0x49fec3(0x19b)]=[],_0x4cccc9=0x0;_0x4cccc9<_0x5a0ccd;_0x4cccc9++)_0x4cccc9<_0x347ccc?_0x36faf9[_0x4cccc9]=_0x208818[_0x4cccc9]:(_0x1a18bb=_0x36faf9[_0x4cccc9-0x1],_0x4cccc9%_0x347ccc?_0x347ccc>0x6&&_0x4cccc9%_0x347ccc==0x4&&(_0x1a18bb=_0x1fa79d[_0x1a18bb>>>0x18]<<0x18|_0x1fa79d[_0x1a18bb>>>0x10&0xff]<<0x10|_0x1fa79d[_0x1a18bb>>>0x8&0xff]<<0x8|_0x1fa79d[_0x1a18bb&0xff]):(_0x1a18bb=_0x1a18bb<<0x8|_0x1a18bb>>>0x18,_0x1a18bb=_0x1fa79d[_0x1a18bb>>>0x18]<<0x18|_0x1fa79d[_0x1a18bb>>>0x10&0xff]<<0x10|_0x1fa79d[_0x1a18bb>>>0x8&0xff]<<0x8|_0x1fa79d[_0x1a18bb&0xff],_0x1a18bb^=_0x5f3512[_0x4cccc9/_0x347ccc|0x0]<<0x18),_0x36faf9[_0x4cccc9]=_0x36faf9[_0x4cccc9-_0x347ccc]^_0x1a18bb);for(var _0x7de4c5=this['_invKeySchedule']=[],_0x586e35=0x0;_0x586e35<_0x5a0ccd;_0x586e35++){var _0x4cccc9=_0x5a0ccd-_0x586e35;if(_0x586e35%0x4)var _0x1a18bb=_0x36faf9[_0x4cccc9];else var _0x1a18bb=_0x36faf9[_0x4cccc9-0x4];_0x586e35<0x4||_0x4cccc9<=0x4?_0x7de4c5[_0x586e35]=_0x1a18bb:_0x7de4c5[_0x586e35]=_0x168b1e[_0x1fa79d[_0x1a18bb>>>0x18]]^_0xc55ccd[_0x1fa79d[_0x1a18bb>>>0x10&0xff]]^_0x5bbea7[_0x1fa79d[_0x1a18bb>>>0x8&0xff]]^_0x19effa[_0x1fa79d[_0x1a18bb&0xff]];}}},'encryptBlock':function(_0x3bbf3d,_0x3f7dd3){var _0x15e434=_0x47e312;this[_0x15e434(0x218)](_0x3bbf3d,_0x3f7dd3,this[_0x15e434(0x19b)],_0x4e71c7,_0x56272d,_0x2d51cf,_0x5e7af,_0x1fa79d);},'decryptBlock':function(_0x8f6d11,_0x4d43f2){var _0x3f41be=_0x47e312,_0x57aeef=_0x8f6d11[_0x4d43f2+0x1];_0x8f6d11[_0x4d43f2+0x1]=_0x8f6d11[_0x4d43f2+0x3],_0x8f6d11[_0x4d43f2+0x3]=_0x57aeef,this[_0x3f41be(0x218)](_0x8f6d11,_0x4d43f2,this[_0x3f41be(0x2a3)],_0x168b1e,_0xc55ccd,_0x5bbea7,_0x19effa,_0x5777a3);var _0x57aeef=_0x8f6d11[_0x4d43f2+0x1];_0x8f6d11[_0x4d43f2+0x1]=_0x8f6d11[_0x4d43f2+0x3],_0x8f6d11[_0x4d43f2+0x3]=_0x57aeef;},'_doCryptBlock':function(_0xf1c2bd,_0x53a7d5,_0x2919c8,_0x4607f2,_0x725b50,_0x306e11,_0x46860b,_0x461687){var _0x12b43d=_0x47e312;for(var _0x2e015f=this[_0x12b43d(0x18a)],_0x4c790b=_0xf1c2bd[_0x53a7d5]^_0x2919c8[0x0],_0x49c440=_0xf1c2bd[_0x53a7d5+0x1]^_0x2919c8[0x1],_0x3cba5d=_0xf1c2bd[_0x53a7d5+0x2]^_0x2919c8[0x2],_0x4136a6=_0xf1c2bd[_0x53a7d5+0x3]^_0x2919c8[0x3],_0x2d741a=0x4,_0x5b4bb8=0x1;_0x5b4bb8<_0x2e015f;_0x5b4bb8++){var _0x4ab1c4=_0x4607f2[_0x4c790b>>>0x18]^_0x725b50[_0x49c440>>>0x10&0xff]^_0x306e11[_0x3cba5d>>>0x8&0xff]^_0x46860b[_0x4136a6&0xff]^_0x2919c8[_0x2d741a++],_0x4cff14=_0x4607f2[_0x49c440>>>0x18]^_0x725b50[_0x3cba5d>>>0x10&0xff]^_0x306e11[_0x4136a6>>>0x8&0xff]^_0x46860b[_0x4c790b&0xff]^_0x2919c8[_0x2d741a++],_0x1ae757=_0x4607f2[_0x3cba5d>>>0x18]^_0x725b50[_0x4136a6>>>0x10&0xff]^_0x306e11[_0x4c790b>>>0x8&0xff]^_0x46860b[_0x49c440&0xff]^_0x2919c8[_0x2d741a++],_0x430866=_0x4607f2[_0x4136a6>>>0x18]^_0x725b50[_0x4c790b>>>0x10&0xff]^_0x306e11[_0x49c440>>>0x8&0xff]^_0x46860b[_0x3cba5d&0xff]^_0x2919c8[_0x2d741a++];_0x4c790b=_0x4ab1c4,_0x49c440=_0x4cff14,_0x3cba5d=_0x1ae757,_0x4136a6=_0x430866;}var _0x4ab1c4=(_0x461687[_0x4c790b>>>0x18]<<0x18|_0x461687[_0x49c440>>>0x10&0xff]<<0x10|_0x461687[_0x3cba5d>>>0x8&0xff]<<0x8|_0x461687[_0x4136a6&0xff])^_0x2919c8[_0x2d741a++],_0x4cff14=(_0x461687[_0x49c440>>>0x18]<<0x18|_0x461687[_0x3cba5d>>>0x10&0xff]<<0x10|_0x461687[_0x4136a6>>>0x8&0xff]<<0x8|_0x461687[_0x4c790b&0xff])^_0x2919c8[_0x2d741a++],_0x1ae757=(_0x461687[_0x3cba5d>>>0x18]<<0x18|_0x461687[_0x4136a6>>>0x10&0xff]<<0x10|_0x461687[_0x4c790b>>>0x8&0xff]<<0x8|_0x461687[_0x49c440&0xff])^_0x2919c8[_0x2d741a++],_0x430866=(_0x461687[_0x4136a6>>>0x18]<<0x18|_0x461687[_0x4c790b>>>0x10&0xff]<<0x10|_0x461687[_0x49c440>>>0x8&0xff]<<0x8|_0x461687[_0x3cba5d&0xff])^_0x2919c8[_0x2d741a++];_0xf1c2bd[_0x53a7d5]=_0x4ab1c4,_0xf1c2bd[_0x53a7d5+0x1]=_0x4cff14,_0xf1c2bd[_0x53a7d5+0x2]=_0x1ae757,_0xf1c2bd[_0x53a7d5+0x3]=_0x430866;},'keySize':0x100/0x20});_0xf285b9[_0x47e312(0xda)]=_0x200b98['_createHelper'](_0x2899ba);}()),_0x315796[_0xb4a47c(0xda)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x266d6a(0x2c5)],ai;function zr(){var _0xb4304=_0x266d6a;return ai||(ai=0x1,function(_0xa2cf10,_0x2ab130){(function(_0x2ab121,_0x3f0683){_0xa2cf10['exports']=_0x3f0683(ne());}(qr,function(_0x4a58fd){var _0x44389d=_0x32b0;return _0x4a58fd['enc'][_0x44389d(0x370)];}));}(Xe)),Xe[_0xb4304(0x2c5)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x266d6a(0x2c5)],ci;function Qr(){var _0xce9922=_0x266d6a;return ci||(ci=0x1,function(_0x37026d,_0x23e0ae){(function(_0x33ed67,_0xe86953){var _0x35e5d0=_0x32b0;_0x37026d[_0x35e5d0(0x2c5)]=_0xe86953(ne());}(Zr,function(_0x42f5c5){var _0x17f484=_0x32b0;return(function(){var _0x2fb764=_0x32b0;if(typeof ArrayBuffer=='function'){var _0x5b69d0=_0x42f5c5,_0x4a2fdd=_0x5b69d0['lib'],_0x1c6d05=_0x4a2fdd[_0x2fb764(0x198)],_0x560ae5=_0x1c6d05['init'],_0x34ba83=_0x1c6d05[_0x2fb764(0x1c6)]=function(_0x11abee){var _0x57dbf9=_0x2fb764;if(_0x11abee instanceof ArrayBuffer&&(_0x11abee=new Uint8Array(_0x11abee)),(_0x11abee instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11abee instanceof Uint8ClampedArray||_0x11abee instanceof Int16Array||_0x11abee instanceof Uint16Array||_0x11abee instanceof Int32Array||_0x11abee instanceof Uint32Array||_0x11abee instanceof Float32Array||_0x11abee instanceof Float64Array)&&(_0x11abee=new Uint8Array(_0x11abee[_0x57dbf9(0xc8)],_0x11abee[_0x57dbf9(0x1fe)],_0x11abee['byteLength'])),_0x11abee instanceof Uint8Array){for(var _0x3e05a3=_0x11abee[_0x57dbf9(0x32f)],_0x1e281b=[],_0x42cb39=0x0;_0x42cb39<_0x3e05a3;_0x42cb39++)_0x1e281b[_0x42cb39>>>0x2]|=_0x11abee[_0x42cb39]<<0x18-_0x42cb39%0x4*0x8;_0x560ae5[_0x57dbf9(0x29f)](this,_0x1e281b,_0x3e05a3);}else _0x560ae5[_0x57dbf9(0x12f)](this,arguments);};_0x34ba83[_0x2fb764(0x371)]=_0x1c6d05;}}()),_0x42f5c5[_0x17f484(0x28c)][_0x17f484(0x198)];}));}(Ze)),Ze[_0xce9922(0x2c5)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x266d6a(0x2c5)],hi;function ns(){var _0x16ea87=_0x266d6a;return hi||(hi=0x1,function(_0x2a6d75,_0x33f437){(function(_0xb1261c,_0x3f02c2,_0x1bae69){_0x2a6d75['exports']=_0x3f02c2(ne(),Ai());}(is,function(_0x2d099e){var _0x54cca8=_0x32b0;return _0x2d099e[_0x54cca8(0x16b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2d099e[_0x54cca8(0x16b)]['NoPadding'];}));}(Qe)),Qe[_0x16ea87(0x2c5)];}var rs=ns();const ss=ke(rs);function os(_0x4502c6,_0x5b31d1){var _0x3c2877=_0x266d6a;const _0x5d29ba=_0x5b31d1-_0x4502c6[_0x3c2877(0xd9)]%_0x5b31d1,_0x3e5ec5=String[_0x3c2877(0x21f)](_0x5d29ba)[_0x3c2877(0x309)](_0x5d29ba);return _0x4502c6+_0x3e5ec5;}function as(_0x27f962,_0xd3b1cc){var _0x3836b2=_0x266d6a;const _0x1637be=ts['random'](0x10),_0x281ba5=os(_0x27f962,0x10),_0x3f49dd=Kr[_0x3836b2(0x32d)](Xr['parse'](_0x281ba5),oi[_0x3836b2(0x27e)](_0xd3b1cc),{'iv':_0x1637be,'padding':ss});return _0x1637be[_0x3836b2(0x1a7)](_0x3f49dd['ciphertext'])[_0x3836b2(0x8a)](oi);}function cs(){var _0x2e1a28=_0x266d6a;const _0x5a9e60=_0x1d192e()['__Key__'];if(_0x5a9e60){const _0x470699={'time':Math[_0x2e1a28(0x183)](Date[_0x2e1a28(0x207)]()/0x3e8),'domain':location[_0x2e1a28(0x259)]};return as(JSON[_0x2e1a28(0x153)](_0x470699),_0x5a9e60);}}var hs=Object[_0x266d6a(0x348)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x27d5ca,_0x5cdefb,_0x2582a9,_0x417976)=>{var _0xd6f9d8=_0x266d6a;for(var _0x201c47=_0x417976>0x1?void 0x0:_0x417976?_s(_0x5cdefb,_0x2582a9):_0x5cdefb,_0xe9eec0=_0x27d5ca[_0xd6f9d8(0xd9)]-0x1,_0xfd2eca;_0xe9eec0>=0x0;_0xe9eec0--)(_0xfd2eca=_0x27d5ca[_0xe9eec0])&&(_0x201c47=(_0x417976?_0xfd2eca(_0x5cdefb,_0x2582a9,_0x201c47):_0xfd2eca(_0x201c47))||_0x201c47);return _0x417976&&_0x201c47&&hs(_0x5cdefb,_0x2582a9,_0x201c47),_0x201c47;},us=(_0x21f182,_0x4cf127)=>(_0xb8424c,_0x27ec4e)=>_0x4cf127(_0xb8424c,_0x27ec4e,_0x21f182);let ot=class{constructor(_0x2f5d11){var _0x322eb1=_0x266d6a;this[_0x322eb1(0x2a8)]=_0x2f5d11,this[_0x322eb1(0x2f8)]();}[_0x266d6a(0x2f8)](){var _0x1061c2=_0x266d6a;this[_0x1061c2(0x2a8)][_0x1061c2(0x104)]({'interceptor':(_0x48ab46,_0x884d5b)=>{var _0x5c0b46=_0x1061c2;const _0x5dd932=_0x48ab46[_0x5c0b46(0x346)],_0x4fd7b1=cs();return _0x4fd7b1&&_0x5dd932[_0x5c0b46(0x302)](_0x5c0b46(0x8b),_0x4fd7b1),_0x884d5b(_0x48ab46);}});}};ot=ls([us(0x0,_0x3aecb8(_0x4c8e56))],ot);var ds=Object[_0x266d6a(0x348)],fs=Object[_0x266d6a(0x243)],vs=(_0x3aa5b3,_0x435cb3,_0xab6e6f,_0x4fa430)=>{var _0x1ddf4c=_0x266d6a;for(var _0x1ccda2=_0x4fa430>0x1?void 0x0:_0x4fa430?fs(_0x435cb3,_0xab6e6f):_0x435cb3,_0x2c4520=_0x3aa5b3[_0x1ddf4c(0xd9)]-0x1,_0xa05e0f;_0x2c4520>=0x0;_0x2c4520--)(_0xa05e0f=_0x3aa5b3[_0x2c4520])&&(_0x1ccda2=(_0x4fa430?_0xa05e0f(_0x435cb3,_0xab6e6f,_0x1ccda2):_0xa05e0f(_0x1ccda2))||_0x1ccda2);return _0x4fa430&&_0x1ccda2&&ds(_0x435cb3,_0xab6e6f,_0x1ccda2),_0x1ccda2;},mt=(_0x1ff961,_0x486db2)=>(_0x197bf7,_0x4472eb)=>_0x486db2(_0x197bf7,_0x4472eb,_0x1ff961);let Ot=class extends _0x30423e{constructor(_0x2bf656,_0x251763,_0x2fe8fe){var _0x44f358=_0x266d6a;super(),N(this,_0x44f358(0x2cb),new _0x3c994e(null)),N(this,_0x44f358(0x7a),this[_0x44f358(0x2cb)][_0x44f358(0x18e)]()),(this['_logService']=_0x2bf656,this['_snapshotService']=_0x251763,this[_0x44f358(0x303)]=_0x2fe8fe);}async['loadUnit'](_0x4ed8e8,_0x58dbb1,_0x50b5b3){var _0x53936b=_0x266d6a;this[_0x53936b(0x2cb)][_0x53936b(0x2b0)]({'unitId':_0x4ed8e8,'type':_0x58dbb1,'subUnitId':_0x50b5b3});let _0x420f4e=null;switch(_0x58dbb1){case Q['UNIVER_SHEET']:{_0x420f4e=await this[_0x53936b(0x253)](_0x4ed8e8);break;}case Q[_0x53936b(0x330)]:{_0x420f4e=await this[_0x53936b(0xd3)](_0x4ed8e8);break;}default:{this[_0x53936b(0xfd)][_0x53936b(0x300)](_0x53936b(0x288),_0x53936b(0xb5));break;}}return _0x420f4e;}async[_0x266d6a(0x253)](_0x4b5533){var _0xa041b0=_0x266d6a,_0x208000;let _0x3f9e57=0x0;const _0x307d6d=await((_0x208000=this[_0xa041b0(0x303)])==null?void 0x0:_0x208000[_0xa041b0(0x35c)](_0x4b5533));return _0x307d6d&&(_0x307d6d['awaitingChangeset']||_0x307d6d[_0xa041b0(0x236)][_0xa041b0(0xd9)]!==0x0)&&(_0x3f9e57=_0x307d6d[_0xa041b0(0x25b)]),_0x3f9e57===0x0&&this[_0xa041b0(0xfd)]['debug'](_0xa041b0(0x288),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xa041b0(0x328)][_0xa041b0(0xfb)](_0x4b5533,_0x3f9e57);}async['_loadDoc'](_0x47e191){var _0x3080c8=_0x266d6a,_0x54a485;let _0x3eca1c=0x0;const _0x2aec3a=await((_0x54a485=this[_0x3080c8(0x303)])==null?void 0x0:_0x54a485[_0x3080c8(0x35c)](_0x47e191));return _0x2aec3a&&(_0x2aec3a['awaitingChangeset']||_0x2aec3a['mutations'][_0x3080c8(0xd9)]!==0x0)&&(_0x3eca1c=_0x2aec3a[_0x3080c8(0x25b)]),_0x3eca1c===0x0&&this[_0x3080c8(0xfd)][_0x3080c8(0x2ab)](_0x3080c8(0x288),_0x3080c8(0x29a)),this['_snapshotService'][_0x3080c8(0x164)](_0x47e191,_0x3eca1c);}};Ot=vs([mt(0x0,_0x32e90f),mt(0x1,_0x3aecb8(_0x4c25eb)),mt(0x2,_0x10484d(J))],Ot);var ps=Object[_0x266d6a(0x348)],ms=Object[_0x266d6a(0x243)],gs=(_0x48a6c9,_0x8395fa,_0x5158ee,_0x3bc279)=>{var _0x12e308=_0x266d6a;for(var _0x3bd888=_0x3bc279>0x1?void 0x0:_0x3bc279?ms(_0x8395fa,_0x5158ee):_0x8395fa,_0x427f2d=_0x48a6c9[_0x12e308(0xd9)]-0x1,_0x4a66a1;_0x427f2d>=0x0;_0x427f2d--)(_0x4a66a1=_0x48a6c9[_0x427f2d])&&(_0x3bd888=(_0x3bc279?_0x4a66a1(_0x8395fa,_0x5158ee,_0x3bd888):_0x4a66a1(_0x3bd888))||_0x3bd888);return _0x3bc279&&_0x3bd888&&ps(_0x8395fa,_0x5158ee,_0x3bd888),_0x3bd888;},gt=(_0x5e9981,_0x1ad896)=>(_0x4e0a26,_0x36f1c3)=>_0x1ad896(_0x4e0a26,_0x36f1c3,_0x5e9981);const Ss=[_0x266d6a(0x1a5),_0x266d6a(0x314),_0x266d6a(0x151),_0x266d6a(0x1cc),_0x266d6a(0x2e4)],Es=0x5*0x400*0x400,Is=_0x266d6a(0x103),Ts=_0x266d6a(0x27f),Cs=_0x266d6a(0x364),Rs=_0x266d6a(0x1eb);let yt=class{constructor(_0x17d913,_0x354b77,_0x1f432a){var _0x4515d3=_0x266d6a;N(this,_0x4515d3(0x299),0x0),N(this,_0x4515d3(0xcd),new _0x28cffd()),N(this,_0x4515d3(0x245),this[_0x4515d3(0xcd)]),N(this,_0x4515d3(0x1b6),new Map()),(this[_0x4515d3(0x2a8)]=_0x17d913,this[_0x4515d3(0x376)]=_0x354b77,this[_0x4515d3(0x1ea)]=_0x1f432a);}[_0x266d6a(0x1dd)](_0x2e6d6a){var _0x324179=_0x266d6a;this['_waitCount']=_0x2e6d6a,this[_0x324179(0xcd)][_0x324179(0x2b0)](_0x2e6d6a);}[_0x266d6a(0x7d)](_0x2fd216,_0x153389){var _0xfac2f=_0x266d6a;if(_0x153389===_0x109c33[_0xfac2f(0x2cd)]){const _0x4a5f93=new Image();return _0x4a5f93[_0xfac2f(0x1c4)]=_0x2fd216,_0x4a5f93;}return this[_0xfac2f(0x1b6)][_0xfac2f(0x74)](_0x2fd216);}[_0x266d6a(0x354)](_0x4b4ffc,_0x2525f4,_0x10d0d4){var _0x523e58=_0x266d6a;_0x2525f4===_0x109c33[_0x523e58(0x2cd)]||_0x10d0d4==null||this[_0x523e58(0x1b6)][_0x523e58(0x302)](_0x4b4ffc,_0x10d0d4);}async[_0x266d6a(0x23a)](_0x1eb1c9){var _0x13e965=_0x266d6a;try{const _0x2733f9=this[_0x13e965(0x1f5)](this[_0x13e965(0x247)](),''+_0x1eb1c9),_0x417e2b=(await this[_0x13e965(0x2a8)][_0x13e965(0x74)](_0x2733f9))[_0x13e965(0x2ea)];if(_0x417e2b[_0x13e965(0x300)]&&_0x417e2b[_0x13e965(0x300)]['code']===Ii['OK']){const _0x1e8edd=new URL(_0x417e2b['url'],this['_getDownloadEndpointURL']())[_0x13e965(0x8a)]();return Promise['resolve'](_0x1e8edd);}return Promise[_0x13e965(0x331)](_0x417e2b[_0x13e965(0x300)]);}catch(_0x569e99){return Promise[_0x13e965(0x331)](_0x569e99);}}async[_0x266d6a(0xf8)](_0x102e12){var _0x32f8ca=_0x266d6a;let _0x5ad4e8='';if(!Ss[_0x32f8ca(0x283)](_0x102e12[_0x32f8ca(0x2a9)]))return this[_0x32f8ca(0x261)](),Promise[_0x32f8ca(0x331)](new Error(_0x244631[_0x32f8ca(0x380)]));if(_0x102e12['size']>Es)return this[_0x32f8ca(0x261)](),Promise[_0x32f8ca(0x331)](new Error(_0x244631[_0x32f8ca(0xef)]));try{const _0x3fbb1a=new FormData();_0x3fbb1a['append'](_0x32f8ca(0x1a8),_0x102e12);const _0x2494c8=this[_0x32f8ca(0x1ea)][_0x32f8ca(0x132)](),_0xe6c2fb=_0x2494c8==null?void 0x0:_0x2494c8['getUnitId']();if(!_0xe6c2fb)throw new Error(_0x32f8ca(0x26f));const _0x39e2e5=this[_0x32f8ca(0x31f)]()+_0x32f8ca(0x1b0)+_0x102e12[_0x32f8ca(0x372)][_0x32f8ca(0x8a)]()+_0x32f8ca(0x81)+Ti[_0x32f8ca(0x18f)]+_0x32f8ca(0x37d)+encodeURIComponent(_0xe6c2fb),_0x4a81a4=await(await fetch(_0x39e2e5,{'method':'POST','body':_0x3fbb1a}))[_0x32f8ca(0x2ee)]();if(typeof _0x4a81a4[_0x32f8ca(0x1c8)]!='string')return this[_0x32f8ca(0x261)](),Promise[_0x32f8ca(0x331)](new Error(_0x244631[_0x32f8ca(0xaf)]));_0x5ad4e8=_0x4a81a4['FileId'];}catch{return this[_0x32f8ca(0x261)](),Promise[_0x32f8ca(0x331)](new Error(_0x244631['ERROR_IMAGE']));}return new Promise((_0x2e3b28,_0x360448)=>{var _0x1eee19=_0x32f8ca;const _0x53b0f6=new FileReader();_0x53b0f6[_0x1eee19(0x278)](_0x102e12),_0x53b0f6[_0x1eee19(0x1ff)]=_0x532422=>{var _0xdc4248=_0x1eee19,_0x283aeb;const _0x118ea8=(_0x283aeb=_0x532422['target'])==null?void 0x0:_0x283aeb[_0xdc4248(0x194)];if(_0x118ea8==null){this[_0xdc4248(0x261)](),_0x360448(new Error(_0x244631[_0xdc4248(0xaf)]));return;}const _0x377e83=_0x168b57[_0xdc4248(0x33b)](0x6);_0x2e3b28({'imageId':_0x377e83,'imageSourceType':_0x109c33[_0xdc4248(0xff)],'source':_0x5ad4e8,'base64Cache':_0x118ea8,'status':_0x244631[_0xdc4248(0x368)]}),this[_0xdc4248(0x261)]();};});}[_0x266d6a(0x31f)](){var _0x22babe=_0x266d6a,_0x272ba8,_0x5344a0;const _0x245e50=this[_0x22babe(0x376)]['getConfig'](Is),_0x193992=this[_0x22babe(0x376)][_0x22babe(0x143)](q);return(_0x5344a0=(_0x272ba8=_0x193992==null?void 0x0:_0x193992[_0x22babe(0x2eb)])!=null?_0x272ba8:_0x245e50)!=null?_0x5344a0:Ts;}[_0x266d6a(0x247)](){var _0x400176=_0x266d6a,_0x3371e2,_0x1bc05a;const _0x296aac=this[_0x400176(0x376)][_0x400176(0x143)](Cs),_0x282e40=this['_configService']['getConfig'](q);return(_0x1bc05a=(_0x3371e2=_0x282e40==null?void 0x0:_0x282e40[_0x400176(0xcb)])!=null?_0x3371e2:_0x296aac)!=null?_0x1bc05a:Rs;}[_0x266d6a(0x1c0)](){var _0x6509ff=_0x266d6a,_0x449de5;const _0x47a17b=this[_0x6509ff(0x376)][_0x6509ff(0x143)](q);return(_0x449de5=_0x47a17b==null?void 0x0:_0x47a17b['downloadEndpointUrl'])!=null?_0x449de5:location['origin'];}[_0x266d6a(0x1f5)](_0x537312,_0x57f30f){var _0x2171d3=_0x266d6a;return _0x537312[_0x2171d3(0x281)](_0x2171d3(0x2ed),_0x57f30f);}[_0x266d6a(0x261)](){var _0xcf5db1=_0x266d6a;this[_0xcf5db1(0x299)]-=0x1,this[_0xcf5db1(0xcd)]['next'](this['_waitCount']);}};function _0x32b0(_0x5c3949,_0x15a077){var _0x1819d1=_0x1819();return _0x32b0=function(_0x32b074,_0x1bbc66){_0x32b074=_0x32b074-0x6f;var _0x160970=_0x1819d1[_0x32b074];return _0x160970;},_0x32b0(_0x5c3949,_0x15a077);}yt=gs([gt(0x0,_0x3aecb8(_0x4c8e56)),gt(0x1,_0x50d22f),gt(0x2,_0x3aecb8(_0x51410d))],yt);var bs=Object[_0x266d6a(0x348)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x543164,_0x138308,_0xed0d45,_0x4fa6b7)=>{var _0x597fe2=_0x266d6a;for(var _0x5126c8=_0x4fa6b7>0x1?void 0x0:_0x4fa6b7?Os(_0x138308,_0xed0d45):_0x138308,_0x3379da=_0x543164[_0x597fe2(0xd9)]-0x1,_0x4b5f9d;_0x3379da>=0x0;_0x3379da--)(_0x4b5f9d=_0x543164[_0x3379da])&&(_0x5126c8=(_0x4fa6b7?_0x4b5f9d(_0x138308,_0xed0d45,_0x5126c8):_0x4b5f9d(_0x5126c8))||_0x5126c8);return _0x4fa6b7&&_0x5126c8&&bs(_0x138308,_0xed0d45,_0x5126c8),_0x5126c8;},_i=(_0x4f1f1e,_0xff65dc)=>(_0x4f4684,_0x2aecfc)=>_0xff65dc(_0x4f4684,_0x2aecfc,_0x4f1f1e);const Ns=_0x266d6a(0xe2);let Nt=class{constructor(_0x5d263b,_0x6e9845){var _0x5b78b9=_0x266d6a;this[_0x5b78b9(0x376)]=_0x5d263b,this['_HTTPService']=_0x6e9845;}['_getAPIPrefixPath'](){var _0x3c0d39=_0x266d6a,_0x110b0c,_0x11acb3;const _0x6b64c9=this[_0x3c0d39(0x376)][_0x3c0d39(0x143)](Pi),_0x56a466=this[_0x3c0d39(0x376)]['getConfig'](q);return(_0x11acb3=(_0x110b0c=_0x56a466==null?void 0x0:_0x56a466['authzUrl'])!=null?_0x110b0c:_0x6b64c9)!=null?_0x11acb3:Ns;}async[_0x266d6a(0x36c)](_0x2a1740){var _0x5c1375=_0x266d6a;const _0x54d3db=this[_0x5c1375(0x2af)]()+_0x5c1375(0x2d1);return{'list':[{'title':_0x5c1375(0xe5),'mentions':(await this[_0x5c1375(0x232)]['get'](_0x54d3db,{'params':{'objectID':_0x2a1740[_0x5c1375(0x21d)],'unitID':_0x2a1740['unitId']}}))[_0x5c1375(0x2ea)][_0x5c1375(0x35b)][_0x5c1375(0x206)](_0x7dd2bd=>({'objectId':_0x7dd2bd['id'],'name':_0x7dd2bd['subject'][_0x5c1375(0x2fc)],'metadata':{'icon':_0x7dd2bd[_0x5c1375(0x147)][_0x5c1375(0x36f)]},'label':_0x7dd2bd[_0x5c1375(0x147)][_0x5c1375(0x2fc)],'objectType':_0x10956a[_0x5c1375(0x315)]})),'metadata':{},'type':_0x10956a[_0x5c1375(0x315)]}]};}};Nt=ys([_i(0x0,_0x3aecb8(_0x50d22f)),_i(0x1,_0x3aecb8(_0x4c8e56))],Nt);var Ds=Object[_0x266d6a(0x348)],Ps=Object[_0x266d6a(0x243)],ws=(_0x1f9c66,_0x3a077c,_0x10d2be,_0x44684c)=>{for(var _0xca59d5=_0x44684c>0x1?void 0x0:_0x44684c?Ps(_0x3a077c,_0x10d2be):_0x3a077c,_0x25d50d=_0x1f9c66['length']-0x1,_0x143d63;_0x25d50d>=0x0;_0x25d50d--)(_0x143d63=_0x1f9c66[_0x25d50d])&&(_0xca59d5=(_0x44684c?_0x143d63(_0x3a077c,_0x10d2be,_0xca59d5):_0x143d63(_0xca59d5))||_0xca59d5);return _0x44684c&&_0xca59d5&&Ds(_0x3a077c,_0x10d2be,_0xca59d5),_0xca59d5;},Se=(_0x3eef16,_0x28a26a)=>(_0xf657ab,_0x4a481c)=>_0x28a26a(_0xf657ab,_0x4a481c,_0x3eef16);let at=class extends _0x30423e{constructor(_0x513766,_0x4b4f8c,_0x226e2f,_0x1cd733,_0x5168c3,_0xeff07a,_0x40a3fc){var _0x607acd=_0x266d6a;super(),this[_0x607acd(0x362)]=_0x513766,this[_0x607acd(0x1ea)]=_0x4b4f8c,this[_0x607acd(0x1e2)]=_0x226e2f,this[_0x607acd(0x1f7)]=_0x1cd733,this[_0x607acd(0xc0)]=_0x5168c3,this[_0x607acd(0x293)]=_0xeff07a,this[_0x607acd(0x21e)]=_0x40a3fc,this[_0x607acd(0x31c)](),this[_0x607acd(0x26b)]();}[_0x266d6a(0x26b)](){var _0x906eb0=_0x266d6a;const _0x547551=async _0x4167ef=>{var _0x4da61b=_0x32b0;(await this[_0x4da61b(0x1f7)]['requireSession'](_0x4167ef))[_0x4da61b(0x2c7)][_0x4da61b(0xa6)](_0x5268d3(_0x5763a9=>_0x5763a9[_0x4da61b(0x33a)]===_0x3ef1ce[_0x4da61b(0x130)]),_0x173f2e(this['dispose$']))[_0x4da61b(0x1c9)](_0x1aeab3=>{var _0x2c5347=_0x4da61b;const _0xb31852=_0x1aeab3,{reason:_0xa9cc9d}=_0xb31852['data'];this[_0x2c5347(0xc0)][_0x2c5347(0x1a6)]({'id':se[_0x2c5347(0x196)],'data':_0xa9cc9d}),this[_0x2c5347(0x1e2)]['updatePermissionPoint'](new _0x2144b3(_0x4167ef)['id'],!0x1),this[_0x2c5347(0x1f7)]['closeSession'](_0x4167ef);});};_0x8c72df(this[_0x906eb0(0x1ea)][_0x906eb0(0x121)](_0x1704f1[_0x906eb0(0x34c)]),this[_0x906eb0(0x1ea)][_0x906eb0(0x121)](_0x1704f1['UNIVER_DOC']))[_0x906eb0(0xa6)](_0x329cb1(_0x5a84df=>_0x5a84df['getUnitId']()),_0x5268d3(_0x4cb019=>!_0x4e2914(_0x4cb019)),_0x173f2e(this[_0x906eb0(0xe3)]))[_0x906eb0(0x1c9)](_0xfbcd5e=>{_0x547551(_0xfbcd5e);});}[_0x266d6a(0x31c)](){var _0x23403a=_0x266d6a;const _0x3a91b1=async _0x43e7e5=>{var _0x153bf9=_0x32b0;const _0x1bcbb6=await this[_0x153bf9(0x1f7)][_0x153bf9(0x179)](_0x43e7e5),_0x4a9527=this[_0x153bf9(0x362)]['get'](_0x459d88);_0x1bcbb6['event$']['pipe'](_0x5268d3(_0x18d07d=>_0x18d07d[_0x153bf9(0x33a)]===_0x3ef1ce[_0x153bf9(0x25a)]),_0x173f2e(this[_0x153bf9(0xe3)]))[_0x153bf9(0x1c9)](_0x1641a9=>{var _0x26b050=_0x153bf9;const _0x38c3e3=_0x1641a9,{objectId:_0x46ef41}=_0x38c3e3[_0x26b050(0x2fe)];_0x46ef41===_0x43e7e5?_0x4a9527['initWorkbookPermissionChange'](_0x43e7e5):_0x4a9527[_0x26b050(0xfc)](_0x43e7e5,_0x46ef41);});};_0x8c72df(this[_0x23403a(0x1ea)][_0x23403a(0x121)](_0x1704f1['UNIVER_SHEET']),this[_0x23403a(0x1ea)][_0x23403a(0x121)](_0x1704f1[_0x23403a(0x330)]))[_0x23403a(0xa6)](_0x329cb1(_0x418fb7=>_0x418fb7[_0x23403a(0xcf)]()),_0x5268d3(_0x3fd2cb=>!_0x4e2914(_0x3fd2cb)),_0x173f2e(this[_0x23403a(0xe3)]))[_0x23403a(0x1c9)](_0x55872c=>{_0x3a91b1(_0x55872c);});}};at=ws([Se(0x0,_0x3aecb8(_0x2c853e)),Se(0x1,_0x51410d),Se(0x2,_0x51ea27),Se(0x3,_0x3aecb8(Le)),Se(0x4,_0x3aecb8(pe)),Se(0x5,_0x306ca6),Se(0x6,_0x14db79)],at);var Us=Object['defineProperty'],As=Object['getOwnPropertyDescriptor'],xs=(_0x3e7058,_0x328842,_0x53d369,_0x38cd0f)=>{var _0x273b29=_0x266d6a;for(var _0x4c0ed0=_0x38cd0f>0x1?void 0x0:_0x38cd0f?As(_0x328842,_0x53d369):_0x328842,_0x1d6d9a=_0x3e7058[_0x273b29(0xd9)]-0x1,_0x14e444;_0x1d6d9a>=0x0;_0x1d6d9a--)(_0x14e444=_0x3e7058[_0x1d6d9a])&&(_0x4c0ed0=(_0x38cd0f?_0x14e444(_0x328842,_0x53d369,_0x4c0ed0):_0x14e444(_0x4c0ed0))||_0x4c0ed0);return _0x38cd0f&&_0x4c0ed0&&Us(_0x328842,_0x53d369,_0x4c0ed0),_0x4c0ed0;},li=(_0x2f49bb,_0x337a2d)=>(_0x29177b,_0x3c1af9)=>_0x337a2d(_0x29177b,_0x3c1af9,_0x2f49bb);let Dt=class{constructor(_0x679f37,_0x168cae){var _0x2fefe0=_0x266d6a;this[_0x2fefe0(0x376)]=_0x679f37,this[_0x2fefe0(0x2a8)]=_0x168cae;}async[_0x266d6a(0x102)](_0x43b41e,_0x505cca){var _0x4b73fc=_0x266d6a,_0x1c1eb4;const {unitID:_0x13e55b,type:_0x92c1c9,revision:_0x11c189=0x0}=_0x505cca,_0x33c75e=this['getSnapshotAPIPath']()+'/'+_0x92c1c9+_0x4b73fc(0x2b3)+_0x13e55b+_0x4b73fc(0x72)+_0x11c189,_0x5b9fc0=(await this[_0x4b73fc(0x2a8)][_0x4b73fc(0x74)](_0x33c75e))[_0x4b73fc(0x2ea)],_0x4f374b=(_0x1c1eb4=_0x5b9fc0[_0x4b73fc(0x216)])==null?void 0x0:_0x1c1eb4[_0x4b73fc(0x231)];if(_0x4f374b){const _0x5295b3=_0x4f374b==null?void 0x0:_0x4f374b[_0x4b73fc(0x2d7)],_0x16eb52=_0xc34d3[_0x4b73fc(0x241)](_0x32fe1f(_0x5295b3));_0x4f374b[_0x4b73fc(0x2d7)]=_0x16eb52,Object[_0x4b73fc(0x2db)](_0x4f374b[_0x4b73fc(0x1e6)])[_0x4b73fc(0xf2)](([,_0x32f1f7])=>{var _0x1b3405=_0x4b73fc;const _0x33224e=_0x32f1f7[_0x1b3405(0x2d7)],_0x2f5459=_0xc34d3[_0x1b3405(0x241)](_0x32fe1f(_0x33224e));_0x32f1f7[_0x1b3405(0x2d7)]=_0x2f5459;});}return _0x5b9fc0;}async[_0x266d6a(0x2b9)](_0x153112,_0x7e0659){var _0x11b153=_0x266d6a;const {unitID:_0x380279,type:_0x1507b6,blockID:_0x1b5c6d}=_0x7e0659,_0x4a5915=this['_getAPIPrefix']()+'/'+_0x1507b6+_0x11b153(0x2b3)+_0x380279+_0x11b153(0x1de)+_0x1b5c6d;return(await this['_httpService']['get'](_0x4a5915))[_0x11b153(0x2ea)];}async[_0x266d6a(0x1da)](_0x39a73b,_0x3f3f7f){var _0x10826a=_0x266d6a;const {unitID:_0x101697,type:_0x529004,blockID:_0x2ddce5}=_0x3f3f7f,_0x131731=this['_getAPIPrefix']()+'/block/'+_0x529004+_0x10826a(0x2b3)+_0x101697+_0x10826a(0x1de)+_0x2ddce5;return(await this['_httpService'][_0x10826a(0x74)](_0x131731))[_0x10826a(0x2ea)];}async[_0x266d6a(0x25f)](_0x22262c,_0x243b4d){var _0x5056a5=_0x266d6a;const {unitID:_0x4df5ad,type:_0x32f7a9,from:_0x115315,to:_0x4fada0}=_0x243b4d,_0xeb0635=this[_0x5056a5(0x82)]()+'/'+_0x32f7a9+'/unit/'+_0x4df5ad+_0x5056a5(0x7b)+_0x115315+_0x5056a5(0x35d)+_0x4fada0;return(await this['_httpService']['get'](_0xeb0635))[_0x5056a5(0x2ea)];}['getSnapshotAPIPath'](){var _0xa45199=_0x266d6a,_0x240a67;return(_0x240a67=this['_configService']['getConfig'](Tn))!=null?_0x240a67:this[_0xa45199(0x82)]();}[_0x266d6a(0x82)](){var _0x313997=_0x266d6a,_0x3dd342,_0x32cb36;const _0x1dcc40=this[_0x313997(0x376)][_0x313997(0x143)](En),_0x1e0147=this['_configService'][_0x313997(0x143)](q);return(_0x32cb36=(_0x3dd342=_0x1e0147==null?void 0x0:_0x1e0147[_0x313997(0x117)])!=null?_0x3dd342:_0x1dcc40)!=null?_0x32cb36:In;}async[_0x266d6a(0x32e)](_0x23c6a6,_0x27ddb5){var _0x4e8882=_0x266d6a;const _0x5d050b=_0x4e8882(0x260)+_0x27ddb5['type']+_0x4e8882(0x2b3)+_0x27ddb5[_0x4e8882(0x17c)]+_0x4e8882(0x197);return(await this[_0x4e8882(0x2a8)][_0x4e8882(0x74)](_0x5d050b,{'params':{'resourceId':JSON['stringify'](_0x27ddb5['resourceIDs'])}}))[_0x4e8882(0x2ea)];}[_0x266d6a(0xcc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x266d6a(0x161)](){var _0x188806=_0x266d6a;throw new Error(_0x188806(0x234));}[_0x266d6a(0x257)](){var _0x543655=_0x266d6a;throw new Error(_0x543655(0x234));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x266d6a(0x101)](){var _0x2b4a62=_0x266d6a;throw new Error(_0x2b4a62(0x234));}};Dt=xs([li(0x0,_0x50d22f),li(0x1,_0x3aecb8(_0x4c8e56))],Dt);var Ls=Object[_0x266d6a(0x348)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x205e2d,_0x45f23f,_0x41a319,_0x173a3e)=>{var _0x4fce60=_0x266d6a;for(var _0x3b54d4=_0x173a3e>0x1?void 0x0:_0x173a3e?Ms(_0x45f23f,_0x41a319):_0x45f23f,_0x44f955=_0x205e2d[_0x4fce60(0xd9)]-0x1,_0x376a41;_0x44f955>=0x0;_0x44f955--)(_0x376a41=_0x205e2d[_0x44f955])&&(_0x3b54d4=(_0x173a3e?_0x376a41(_0x45f23f,_0x41a319,_0x3b54d4):_0x376a41(_0x3b54d4))||_0x3b54d4);return _0x173a3e&&_0x3b54d4&&Ls(_0x45f23f,_0x41a319,_0x3b54d4),_0x3b54d4;},Ae=(_0x5dfdd5,_0x1229b7)=>(_0x40b4c2,_0x93cf0)=>_0x1229b7(_0x40b4c2,_0x93cf0,_0x5dfdd5);let Pt=class extends _0x1fd800{constructor(_0x52ecb5,_0x48610d,_0x2cbe4b,_0x31f69b,_0x28b89b){var _0x316d8f=_0x266d6a;super(_0x52ecb5,_0x48610d,_0x2cbe4b),this[_0x316d8f(0x2e6)]=_0x31f69b,this['_logService']=_0x28b89b;}[_0x266d6a(0x258)](_0x539ccb,_0x3621cb){var _0x1a1e4d=_0x266d6a;const _0x4a135d=this[_0x1a1e4d(0x301)](_0x539ccb);if(_0x4a135d)try{const _0x33c912=this[_0x1a1e4d(0x33d)](_0x4a135d,_0x3621cb);this[_0x1a1e4d(0x2dc)](_0x539ccb,_0x33c912);}catch(_0x4247b5){this[_0x1a1e4d(0xfd)][_0x1a1e4d(0x300)](_0x1a1e4d(0x1b1),_0x4247b5),this[_0x1a1e4d(0xc4)](_0x539ccb);}const _0x5b9939=this['_getRedoStack'](_0x539ccb);if(_0x5b9939)try{const _0x8feffa=this[_0x1a1e4d(0x33d)](_0x5b9939,_0x3621cb);this[_0x1a1e4d(0x1cb)](_0x539ccb,_0x8feffa);}catch(_0x334f4e){this[_0x1a1e4d(0xfd)][_0x1a1e4d(0x300)](_0x334f4e),this[_0x1a1e4d(0x21c)](_0x539ccb);}}['_clearUndo'](_0x5ad73c){var _0x5639dc=_0x266d6a;const _0x2de915=this[_0x5639dc(0x301)](_0x5ad73c);_0x2de915&&(_0x2de915[_0x5639dc(0xd9)]=0x0,this['_updateStatus']());}[_0x266d6a(0x21c)](_0x36e284){var _0x11ada9=_0x266d6a;const _0x580bd4=this[_0x11ada9(0x2c8)](_0x36e284);_0x580bd4&&(_0x580bd4[_0x11ada9(0xd9)]=0x0,this[_0x11ada9(0x273)]());}[_0x266d6a(0x2dc)](_0x68bd4,_0x41e429){var _0x349035=_0x266d6a;this[_0x349035(0x2c1)][_0x349035(0x302)](_0x68bd4,_0x41e429),this[_0x349035(0x273)]();}[_0x266d6a(0x1cb)](_0x1acd7b,_0x47b797){var _0x176432=_0x266d6a;this[_0x176432(0x24c)][_0x176432(0x302)](_0x1acd7b,_0x47b797),this[_0x176432(0x273)]();}[_0x266d6a(0x33d)](_0x125e0c,_0x1e6751){var _0x211d59=_0x266d6a;const _0x20d3f8=[];let _0x51a0e2=_0x1e6751,_0x33e61c=_0x1e6751;for(let _0x157abb=_0x125e0c[_0x211d59(0xd9)]-0x1;_0x157abb>=0x0;_0x157abb--){const {unitID:_0x3b4a57,undoMutations:_0x22d6ad,redoMutations:_0x2e06a1}=_0x125e0c[_0x157abb],_0x45acfa=this[_0x211d59(0x2e6)][_0x211d59(0x127)](_0x51a0e2,_0x22d6ad),_0x5373ef=this[_0x211d59(0x2e6)][_0x211d59(0x127)](_0x33e61c,_0x2e06a1);if(_0x146363(_0x45acfa)||_0x146363(_0x5373ef)){this[_0x211d59(0xfd)][_0x211d59(0x300)](_0x211d59(0x1b1),_0x211d59(0x1d6),_0x45acfa,_0x5373ef);break;}_0x51a0e2=_0x45acfa['c1Prime'],_0x33e61c=_0x5373ef[_0x211d59(0x2e8)],_0x20d3f8[_0x211d59(0x9f)]({'unitID':_0x3b4a57,'undoMutations':_0x45acfa[_0x211d59(0x276)],'redoMutations':_0x5373ef['m2Prime']});}return _0x20d3f8[_0x211d59(0x2f9)]();}};Pt=$s([Ae(0x0,_0x51410d),Ae(0x1,_0x992005),Ae(0x2,_0x2cd254),Ae(0x3,_0x2457b6),Ae(0x4,_0x32e90f)],Pt);var xi=Object['defineProperty'],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x779103,_0x3c973c,_0x2e387d)=>_0x3c973c in _0x779103?xi(_0x779103,_0x3c973c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e387d}):_0x779103[_0x3c973c]=_0x2e387d,js=(_0x3d4b98,_0xe1cb80,_0x1c333,_0x57e56b)=>{var _0x15def4=_0x266d6a;for(var _0x14593d=_0x57e56b>0x1?void 0x0:_0x57e56b?Hs(_0xe1cb80,_0x1c333):_0xe1cb80,_0x4079c7=_0x3d4b98[_0x15def4(0xd9)]-0x1,_0x1f63de;_0x4079c7>=0x0;_0x4079c7--)(_0x1f63de=_0x3d4b98[_0x4079c7])&&(_0x14593d=(_0x57e56b?_0x1f63de(_0xe1cb80,_0x1c333,_0x14593d):_0x1f63de(_0x14593d))||_0x14593d);return _0x57e56b&&_0x14593d&&xi(_0xe1cb80,_0x1c333,_0x14593d),_0x14593d;},St=(_0x53d9c6,_0x4acf2f)=>(_0x4106d0,_0x100fc2)=>_0x4acf2f(_0x4106d0,_0x100fc2,_0x53d9c6),Bs=(_0xc14663,_0x2fa45a,_0x48b38e)=>ks(_0xc14663,_0x2fa45a+'',_0x48b38e);const Fs=_0x266d6a(0xe9);let wt=class extends _0x306814{constructor(_0x28735f=Wt,_0x432eff,_0x2d7ba5,_0x1c0441){var _0x46336a=_0x266d6a;super(),this[_0x46336a(0x78)]=_0x28735f,this[_0x46336a(0xfd)]=_0x432eff,this[_0x46336a(0x362)]=_0x2d7ba5,this[_0x46336a(0x376)]=_0x1c0441;const {..._0x389481}=_0x30b93b({},Wt,this['_config']);this[_0x46336a(0x376)][_0x46336a(0x22a)](q,_0x389481);}[_0x266d6a(0x264)](){var _0xf36aee=_0x266d6a;this[_0xf36aee(0x14b)](),this[_0xf36aee(0x12b)]();}[_0x266d6a(0x14b)](){var _0x1fd2c7=_0x266d6a,_0x45c5b4,_0x4fd05c,_0x208870,_0x290d0b;this['_injector'][_0x1fd2c7(0x1a9)](_0x14db79)&&this[_0x1fd2c7(0xfd)][_0x1fd2c7(0x300)]('[UniverCollaborationClientPlugin]',_0x1fd2c7(0x335));const _0x19e203=_0x1f3f09([[_0x14db79,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x4fd05c=(_0x45c5b4=this[_0x1fd2c7(0x78)])==null?void 0x0:_0x45c5b4[_0x1fd2c7(0x36a)])!=null?_0x4fd05c:Et}],[_0x11b90e,{'useClass':Dt}],[_0x306ca6,{'useClass':bt}],[_0x591713,{'useClass':yt}],[_0x1c0675,{'useClass':Nt}],[rt],[Rt]],(_0x208870=this['_config'])==null?void 0x0:_0x208870[_0x1fd2c7(0x192)]);if(!((_0x290d0b=this['_config'])!=null&&_0x290d0b[_0x1fd2c7(0x11a)])){const _0x572da1=_0x19e203[_0x1fd2c7(0xa4)](([_0x44586e])=>_0x44586e===ht);_0x572da1!==-0x1&&_0x19e203['splice'](_0x572da1,0x1);}_0x1de712(this[_0x1fd2c7(0x362)],_0x19e203);}[_0x266d6a(0x12b)](){var _0x326cee=_0x266d6a,_0x2df50a,_0x56cdec,_0x51058c;this['_injector'][_0x326cee(0x74)](_0x4c8e56)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5a3231({'maxParallel':0x6})}),(_0x2df50a=this[_0x326cee(0x78)])!=null&&_0x2df50a[_0x326cee(0x323)]||(_0x56cdec=this[_0x326cee(0x362)][_0x326cee(0x74)](J,_0x2fb5e9[_0x326cee(0x32a)]))==null||_0x56cdec['disableLocalCache'](),(_0x51058c=this[_0x326cee(0x78)])!=null&&_0x51058c[_0x326cee(0x97)]&&_0x13e6ca(this[_0x326cee(0x362)],[[st]]),_0x13e6ca(this[_0x326cee(0x362)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x24c317(_0x1a4a25,_0x3a5134,_0x317d1c),St(0x1,_0x32e90f),St(0x2,_0x3aecb8(_0x2c853e)),St(0x3,_0x50d22f)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};