@univerjs-pro/collaboration-client 0.6.0 → 0.6.1-nightly.202502221605
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3b7310=_0x5c5f;(function(_0x31062c,_0x4d5843){var _0x589aca=_0x5c5f,_0x39bcf7=_0x31062c();while(!![]){try{var _0x5042c3=parseInt(_0x589aca(0xd8))/0x1+-parseInt(_0x589aca(0x2b7))/0x2*(parseInt(_0x589aca(0x1bd))/0x3)+parseInt(_0x589aca(0x2c9))/0x4*(-parseInt(_0x589aca(0x379))/0x5)+parseInt(_0x589aca(0x1f7))/0x6*(-parseInt(_0x589aca(0x325))/0x7)+parseInt(_0x589aca(0x260))/0x8+-parseInt(_0x589aca(0x1a5))/0x9+parseInt(_0x589aca(0x288))/0xa;if(_0x5042c3===_0x4d5843)break;else _0x39bcf7['push'](_0x39bcf7['shift']());}catch(_0x19e5a6){_0x39bcf7['push'](_0x39bcf7['shift']());}}}(_0x5307,0x5b134));var Ai=Object['defineProperty'],Pi=(_0x5af9b2,_0x40d62c,_0x1c7b29)=>_0x40d62c in _0x5af9b2?Ai(_0x5af9b2,_0x40d62c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c7b29}):_0x5af9b2[_0x40d62c]=_0x1c7b29,N=(_0x27d06f,_0x20e866,_0x5b7a31)=>Pi(_0x27d06f,typeof _0x20e866!=_0x3b7310(0x262)?_0x20e866+'':_0x20e866,_0x5b7a31);import{createIdentifier as _0xcc195f,Inject as _0x419509,Injector as _0x33a94f,IConfigService as _0x29183e,ILogService as _0x2e40a9,Disposable as _0x4a3911,DisposableCollection as _0xf8e232,toDisposable as _0x47f1eb,IUniverInstanceService as _0x56341d,UserManagerService as _0x14d174,UniverInstanceType as _0x53691f,LocaleService as _0x503d26,Optional as _0x21c4ab,RxDisposable as _0x3f9fed,Tools as _0x41ec87,Rectangle as _0x188c51,ICommandService as _0x1ab65f,JSONX as _0x2e7333,CommandType as _0x3633bf,IUndoRedoService as _0x4d6f06,IPermissionService as _0x373f2c,sequenceExecute as _0x423bb5,Workbook as _0x15918f,MentionType as _0x3b0f3f,isInternalEditorID as _0x1415a5,LocalUndoRedoService as _0x38bd2b,IContextService as _0x537307,DependentOn as _0xbb74b9,Plugin as _0x5ef556,merge as _0x521b7e,mergeOverrideWithDependencies as _0x334dd0,IAuthzIoService as _0x1b78cb,IMentionIOService as _0x483c32,registerDependencies as _0xe7be63,Quantity as _0x2933ef,touchDependencies as _0x59b4d2}from'@univerjs/core';import{Subject as _0x2898a5,merge as _0x4a0758,of as _0x202106,BehaviorSubject as _0x31cf27,takeUntil as _0x194700,ReplaySubject as _0x452f18,take as _0x473e6b,map as _0x3b2e8f,shareReplay as _0x2333ec,firstValueFrom as _0x3725c7,concatMap as _0x1520fa}from'rxjs';import{map as _0x4c799b,take as _0x302c16,filter as _0x6d3c7d,delay as _0x437b67,takeUntil as _0x5a76c5}from'rxjs/operators';import{CollaborationEvent as _0x502491,ISnapshotServerService as _0x35beb0,parseChangesetToProtocol as _0x35045d,ITransformService as _0xcdffcf,isTransformMutationsWithChangesetSuccess as _0x4ceef6,mapDocumentTypeToUniverType as _0x383f21,RevisionService as _0x3bf5fe,isTransformChangesetsSuccess as _0x2eedf1,CompressMutationService as _0x422ef4,parseProtocolChangeset as _0x46451d,SnapshotService as _0x58b0db,textEncoder as _0x697e0a,b64DecodeUnicode as _0x4b17bd,isTransformMutationsWithChangesetFailure as _0x18000b,UniverCollaborationPlugin as _0x3d9846}from'@univerjs-pro/collaboration';import{HTTPService as _0x347bc3,ISocketService as _0x9fe75,MergeInterceptorFactory as _0x80e75,HTTPRequest as _0xa2750b,UniverNetworkPlugin as _0x7ba0dc,ThresholdInterceptorFactory as _0x979e5d}from'@univerjs/network';import{ITelemetryService as _0x500461}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3664c5}from'@univerjs/docs';import{SheetsSelectionsService as _0x1f38e4,SetSelectionsOperation as _0x2a36f2,InsertSheetMutation as _0x2473e0,EmptyMutation as _0x5be811,WorkbookEditablePermission as _0x251d98,SheetPermissionInitController as _0x2503f2}from'@univerjs/sheets';import{ImageSourceType as _0x164f47,ImageUploadStatusType as _0x6a3652,IImageIoService as _0x241e21}from'@univerjs/drawing';import{getGlobalObject as _0x5efa8e}from'@univerjs-pro/license';const pr=_0x3b7310(0xd3),mr=_0x3b7310(0x30a),gr=_0x3b7310(0x39a),xs=_0x3b7310(0x2f1),Sr=0x7d0,Er=_0x3b7310(0x14b),Ir='ws://127.0.0.1:8000/universer-api/comb/connect',Ls='/universer-api/user/session-ticket',Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x3b7310(0x375),gi=0x4e20,Rr=0x4e20,br=_0x3b7310(0x313),yr=0x3,Ms=_0x3b7310(0x21f),ks=0x3e8,Or=_0x3b7310(0x21c),Nr=_0x3b7310(0x37a),Dr=_0x3b7310(0x114),wr='/universer-api/oidc/authpage',$s=_0x3b7310(0xbc),Hs=_0x3b7310(0x233);var Si=(_0x1ab12a=>(_0x1ab12a[_0x1ab12a[_0x3b7310(0x332)]=0x0]=_0x3b7310(0x332),_0x1ab12a[_0x1ab12a['OK']=0x1]='OK',_0x1ab12a[_0x1ab12a['INTERNAL_ERROR']=0x2]=_0x3b7310(0x224),_0x1ab12a[_0x1ab12a[_0x3b7310(0x32a)]=0x3]=_0x3b7310(0x32a),_0x1ab12a[_0x1ab12a[_0x3b7310(0xc3)]=0x4]=_0x3b7310(0xc3),_0x1ab12a[_0x1ab12a[_0x3b7310(0x1e7)]=0x5]='UNAUTHENTICATED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x12a)]=0x6]=_0x3b7310(0x12a),_0x1ab12a[_0x1ab12a['INVALID_ARGUMENT']=0x7]=_0x3b7310(0x2b2),_0x1ab12a[_0x1ab12a[_0x3b7310(0x179)]=0x8]=_0x3b7310(0x179),_0x1ab12a[_0x1ab12a[_0x3b7310(0x2c5)]=0x9]=_0x3b7310(0x2c5),_0x1ab12a[_0x1ab12a[_0x3b7310(0x25a)]=0x1389]=_0x3b7310(0x25a),_0x1ab12a[_0x1ab12a[_0x3b7310(0xff)]=0x1771]=_0x3b7310(0xff),_0x1ab12a[_0x1ab12a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x36d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1ab12a[_0x1ab12a['APPLY_REJECT']=0x1b59]=_0x3b7310(0x17b),_0x1ab12a[_0x1ab12a[_0x3b7310(0x225)]=0x1b5a]=_0x3b7310(0x225),_0x1ab12a[_0x1ab12a[_0x3b7310(0x38d)]=0x1b5b]=_0x3b7310(0x38d),_0x1ab12a[_0x1ab12a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3b7310(0x394),_0x1ab12a[_0x1ab12a[_0x3b7310(0x2cf)]=0x1b5d]='APPLY_DUPLICATED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x33b)]=0x1f41]=_0x3b7310(0x33b),_0x1ab12a[_0x1ab12a[_0x3b7310(0x142)]=0x2329]=_0x3b7310(0x142),_0x1ab12a[_0x1ab12a[_0x3b7310(0x281)]=0x232a]=_0x3b7310(0x281),_0x1ab12a[_0x1ab12a[_0x3b7310(0x1a2)]=0x232b]=_0x3b7310(0x1a2),_0x1ab12a[_0x1ab12a[_0x3b7310(0x221)]=0x232c]=_0x3b7310(0x221),_0x1ab12a[_0x1ab12a[_0x3b7310(0x236)]=0x232d]=_0x3b7310(0x236),_0x1ab12a[_0x1ab12a[_0x3b7310(0x270)]=0x2711]=_0x3b7310(0x270),_0x1ab12a[_0x1ab12a[_0x3b7310(0x27e)]=0x2712]=_0x3b7310(0x27e),_0x1ab12a[_0x1ab12a[_0x3b7310(0x30e)]=0x2713]=_0x3b7310(0x30e),_0x1ab12a[_0x1ab12a[_0x3b7310(0x200)]=0x2714]=_0x3b7310(0x200),_0x1ab12a[_0x1ab12a[_0x3b7310(0x317)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1ab12a[_0x1ab12a[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x1ab12a))(Si||{}),Q=(_0x3eb1c8=>(_0x3eb1c8[_0x3eb1c8['UNIVER_UNKNOWN']=0x0]=_0x3b7310(0x282),_0x3eb1c8[_0x3eb1c8['UNIVER_DOC']=0x1]=_0x3b7310(0x12b),_0x3eb1c8[_0x3eb1c8[_0x3b7310(0xe8)]=0x2]='UNIVER_SHEET',_0x3eb1c8[_0x3eb1c8['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3eb1c8[_0x3eb1c8[_0x3b7310(0x196)]=0x4]=_0x3b7310(0x196),_0x3eb1c8[_0x3eb1c8[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x3eb1c8))(Q||{}),F=(_0x1024f6=>(_0x1024f6[_0x1024f6['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1024f6[_0x1024f6[_0x3b7310(0x33e)]=0x1]=_0x3b7310(0x33e),_0x1024f6[_0x1024f6['JOIN']=0x2]=_0x3b7310(0x299),_0x1024f6[_0x1024f6[_0x3b7310(0xd9)]=0x3]='LEAVE',_0x1024f6[_0x1024f6[_0x3b7310(0x37c)]=0x4]='INGEST',_0x1024f6[_0x1024f6[_0x3b7310(0x1fa)]=0x5]=_0x3b7310(0x1fa),_0x1024f6[_0x1024f6[_0x3b7310(0x1c5)]=0x6]=_0x3b7310(0x1c5),_0x1024f6[_0x1024f6[_0x3b7310(0x115)]=-0x1]='UNRECOGNIZED',_0x1024f6))(F||{}),ge=(_0x40ba65=>(_0x40ba65[_0x40ba65[_0x3b7310(0x292)]=0x0]=_0x3b7310(0x292),_0x40ba65[_0x40ba65['OK']=0x1]='OK',_0x40ba65[_0x40ba65['FAIL']=0x2]=_0x3b7310(0x183),_0x40ba65[_0x40ba65[_0x3b7310(0x1f2)]=0x3e9]=_0x3b7310(0x1f2),_0x40ba65[_0x40ba65[_0x3b7310(0x315)]=0x3ea]=_0x3b7310(0x315),_0x40ba65[_0x40ba65[_0x3b7310(0x381)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x40ba65[_0x40ba65['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3b7310(0x290),_0x40ba65[_0x40ba65[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x40ba65))(ge||{}),Ei=(_0x52e78d=>(_0x52e78d[_0x52e78d[_0x3b7310(0x392)]=0x0]=_0x3b7310(0x392),_0x52e78d[_0x52e78d[_0x3b7310(0x30c)]=0x1]=_0x3b7310(0x30c),_0x52e78d[_0x52e78d[_0x3b7310(0x2fb)]=0x2]=_0x3b7310(0x2fb),_0x52e78d[_0x52e78d[_0x3b7310(0x12d)]=0x3]='UnitEmbedded',_0x52e78d[_0x52e78d[_0x3b7310(0x26d)]=0x4]='UnitSnapshot',_0x52e78d[_0x52e78d[_0x3b7310(0x115)]=-0x1]='UNRECOGNIZED',_0x52e78d))(Ei||{});const q=_0x3b7310(0x148),Ur={};var se=(_0x3d3a7c=>(_0x3d3a7c[_0x3b7310(0x257)]=_0x3b7310(0x257),_0x3d3a7c[_0x3b7310(0x32a)]=_0x3b7310(0x32a),_0x3d3a7c[_0x3b7310(0x334)]=_0x3b7310(0x334),_0x3d3a7c[_0x3b7310(0x1f9)]='CLOSE_ROOM',_0x3d3a7c[_0x3b7310(0xb4)]=_0x3b7310(0xb4),_0x3d3a7c[_0x3b7310(0x331)]='SOCKET_FAILED_RETRY',_0x3d3a7c[_0x3b7310(0x393)]='SOCKET_FAILED',_0x3d3a7c[_0x3b7310(0x234)]=_0x3b7310(0x234),_0x3d3a7c))(se||{});class pe{constructor(){var _0x47975f=_0x3b7310;N(this,_0x47975f(0x357),new _0x2898a5()),N(this,_0x47975f(0x178),this[_0x47975f(0x357)][_0x47975f(0x2bf)]());}[_0x3b7310(0x2bc)](_0x5b4484){var _0xafb6c3=_0x3b7310;this[_0xafb6c3(0x357)][_0xafb6c3(0x2a5)](_0x5b4484);}}const Ar=_0xcc195f('univer-pro.collaboration-client.network-condition.service');function Pr(_0x318c2e){var _0x55bce8=_0x3b7310,_0x42e611,_0x3e7108,_0x4ed3e7,_0x372c2e,_0x4f35b4;const _0x428402=_0x318c2e[_0x55bce8(0x185)],_0x1bc60e=JSON[_0x55bce8(0x117)](_0x428402);switch(_0x1bc60e[_0x55bce8(0x29e)]){case F[_0x55bce8(0x1fa)]:case F[_0x55bce8(0x33e)]:{const _0x476f80=_0x1bc60e[_0x55bce8(0x11f)];return{..._0x1bc60e,'data':_0x476f80,'cmd':_0x1bc60e['cmd']};}case F['JOIN']:{const _0x510482=_0x1bc60e[_0x55bce8(0x27a)];return{..._0x1bc60e,'data':_0x510482,'cmd':_0x1bc60e[_0x55bce8(0x29e)]};}case F['RECV']:{const _0x5e487f=_0x1bc60e[_0x55bce8(0x2f9)];switch(_0x5e487f[_0x55bce8(0xe7)]){case _0x502491[_0x55bce8(0x348)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x42e611=_0x5e487f['permissionRejEvent'])==null?void 0x0:_0x42e611['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x105)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x3e7108=_0x5e487f[_0x55bce8(0x2b4)])==null?void 0x0:_0x3e7108['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x1d2)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x4ed3e7=_0x5e487f['newCsEvent'])==null?void 0x0:_0x4ed3e7['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['CHANGESET_REJ']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x372c2e=_0x5e487f[_0x55bce8(0x297)])==null?void 0x0:_0x372c2e['cs']},'cmd':_0x1bc60e['cmd']};case _0x502491['CHANGESET_SHOULD_RETRY']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x4f35b4=_0x5e487f['csShouldRetryEvent'])==null?void 0x0:_0x4f35b4['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x398)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x21b)]},'cmd':_0x1bc60e['cmd']};case _0x502491['USERS_ENTER']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x193)]},'cmd':_0x1bc60e['cmd']};case _0x502491[_0x55bce8(0x1db)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x231)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x1f6)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x140)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x232)]:case _0x502491[_0x55bce8(0x2fe)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['liveShareOperation']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['LIVESHARE_TERMINATE']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['liveShareNewHost']},'cmd':_0x1bc60e['cmd']};case _0x502491[_0x55bce8(0x287)]:return{..._0x1bc60e,'data':_0x5e487f,'cmd':_0x1bc60e['cmd']};case _0x502491['COMMENT_UPDATE']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x2a9)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['UPDATE_PERMISSION_OBJ']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0xb2)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x23b)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['shouldCloseConn']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['UNISCRIPT_RUN']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x25c)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};default:return _0x1bc60e;}}default:return _0x1bc60e;}}function xr(_0xdf23b1){var _0x3e6cd6=_0x3b7310;switch(_0xdf23b1[_0x3e6cd6(0x29e)]){case F['HEARTBEAT']:case F[_0x3e6cd6(0x33e)]:return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1['cmd'],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)]});case F[_0x3e6cd6(0x37c)]:{let _0x1136c4;switch(_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0xe7)]){case _0x502491[_0x3e6cd6(0x398)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x398)],'updateCursorEvent':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0x1db)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x1db)],'leaveEvent':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['USERS_ENTER']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x167)],'joinEvent':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_NEW_HOST']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x1f6)],'liveShareNewHost':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0x2fe)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x2fe)],'liveShareOperation':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0xd5)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0xd5)],'liveShareTerminate':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_REQUEST_HOST']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0xcc)],'liveShareRequestHost':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_FETCH_OPERATIONS']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x232)]};break;}default:_0x1136c4={'eventID':_0xdf23b1['data'][_0x3e6cd6(0xe7)]};}return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)],'collaMsg':_0x1136c4});}case F[_0x3e6cd6(0x299)]:return JSON['stringify']({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)],'joinReq':_0xdf23b1['data']});case F[_0x3e6cd6(0xd9)]:return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1['routeKey'],'leaveReq':_0xdf23b1['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Lr=Object[_0x3b7310(0x20e)],Mr=(_0x4dde3f,_0x2aed25,_0x5d8c45,_0x1067ee)=>{var _0x5be1d2=_0x3b7310;for(var _0x40cf6f=_0x1067ee>0x1?void 0x0:_0x1067ee?Lr(_0x2aed25,_0x5d8c45):_0x2aed25,_0x2769fe=_0x4dde3f[_0x5be1d2(0x316)]-0x1,_0x3c3015;_0x2769fe>=0x0;_0x2769fe--)(_0x3c3015=_0x4dde3f[_0x2769fe])&&(_0x40cf6f=_0x3c3015(_0x40cf6f)||_0x40cf6f);return _0x40cf6f;},Ue=(_0x112b5d,_0x5a402d)=>(_0x4779b6,_0x77b12b)=>_0x5a402d(_0x4779b6,_0x77b12b,_0x112b5d);const Ii=_0xcc195f(_0x3b7310(0x1d9));function kr(_0x321745,_0x7e1901,_0x964400){var _0x42cdd7=_0x3b7310;return _0x321745+'/'+_0x7e1901+_0x42cdd7(0x104)+_0x964400+_0x42cdd7(0x261);}let Vt=class extends _0x4a3911{constructor(_0x2f79ee,_0x44e6e8,_0x29fc95,_0x2ee398,_0xf1c011){var _0x3f89e6=_0x3b7310;super(),this[_0x3f89e6(0x145)]=_0x2f79ee,this[_0x3f89e6(0x35a)]=_0x44e6e8,this[_0x3f89e6(0x1a0)]=_0x29fc95,this['_logService']=_0x2ee398,this['_snapshotServerService']=_0xf1c011;}[_0x3b7310(0x2ee)](_0x1512ff){var _0x5d58e2=_0x3b7310;const _0x3feda1=this[_0x5d58e2(0x145)][_0x5d58e2(0xf1)](_0x9fe75);if(!_0x3feda1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1969ec=_0x3feda1[_0x5d58e2(0x1b2)](_0x1512ff);if(!_0x1969ec)throw new Error(_0x5d58e2(0x1b6));const _0x4fc987=new _0xf8e232(),_0x3e1f95=new _0x2898a5();_0x4fc987['add'](_0x1969ec[_0x5d58e2(0x139)][_0x5d58e2(0x247)](_0x1c3e7d=>_0x3e1f95[_0x5d58e2(0x2a5)](_0x1c3e7d))),_0x4fc987['add'](_0x47f1eb(()=>_0x3e1f95[_0x5d58e2(0x2e7)]()));const _0xa38920=new _0x2898a5();_0x4fc987[_0x5d58e2(0x27b)](_0x1969ec[_0x5d58e2(0x1d0)][_0x5d58e2(0x247)](_0x4b0cc=>_0xa38920['next'](_0x4b0cc))),_0x4fc987[_0x5d58e2(0x27b)](_0x47f1eb(()=>_0xa38920[_0x5d58e2(0x2e7)]()));const _0xb8d7b6=new _0x2898a5();_0x4fc987[_0x5d58e2(0x27b)](_0x1969ec['message$']['subscribe'](_0x7d643b=>{const _0x43e9f5=Pr(_0x7d643b);_0xb8d7b6['next'](_0x43e9f5);})),_0x4fc987[_0x5d58e2(0x27b)](_0x47f1eb(()=>_0xb8d7b6['complete']()));let _0x37bf9c;const _0x3f0ab2=()=>{var _0x1e6d01=_0x5d58e2;_0xa38920[_0x1e6d01(0x2a5)](new Event(_0x1e6d01(0x130))),_0x3e1f95[_0x1e6d01(0x2a5)](new Event(_0x1e6d01(0x130))),_0x37bf9c['close']();};return _0x37bf9c={'memberID':'','close$':_0x3e1f95['asObservable'](),'error$':_0xa38920[_0x5d58e2(0x2bf)](),'open$':_0x1969ec[_0x5d58e2(0x329)],'message$':_0xb8d7b6[_0x5d58e2(0x2bf)](),'send':_0x4df259=>{var _0x524202=_0x5d58e2;if(_0x4df259[_0x524202(0x29e)]===F[_0x524202(0x37c)]){if(_0x4df259[_0x524202(0x185)][_0x524202(0xe7)]===_0x502491[_0x524202(0x1ad)]){this[_0x524202(0x144)](_0x37bf9c,_0x4df259[_0x524202(0x185)])[_0x524202(0x1d7)](_0x55914e=>{var _0x3d46f7=_0x524202;this[_0x3d46f7(0x330)][_0x3d46f7(0x399)](_0x55914e),_0x3f0ab2();});return;}if(_0x4df259['data'][_0x524202(0xe7)]===_0x502491[_0x524202(0x36c)]){const _0x53709b=_0x4df259[_0x524202(0x185)];this['_fetchMissChangesets'](_0x53709b)[_0x524202(0x365)](_0x291f0a=>{var _0x39b774=_0x524202;_0xb8d7b6[_0x39b774(0x2a5)]({'cmd':F[_0x39b774(0x1c5)],'code':ge['OK'],'routeKey':_0x53709b[_0x39b774(0x185)][_0x39b774(0x135)],'routeType':'','data':{'eventID':_0x502491[_0x39b774(0x29d)],'data':{'changesets':_0x291f0a}}});})[_0x524202(0x1d7)](_0x716054=>{var _0x2e56ac=_0x524202;this['_logService'][_0x2e56ac(0x399)](_0x716054),_0x3f0ab2();});return;}}_0x1969ec['send'](xr(_0x4df259));},'close':()=>{var _0x3c7e32=_0x5d58e2;_0x1969ec[_0x3c7e32(0x2d0)](),_0x4fc987[_0x3c7e32(0x368)]();}},_0x37bf9c;}async[_0x3b7310(0x144)](_0xae4f53,_0x4fbb3b){var _0x450364=_0x3b7310,_0x4db506,_0x553894;const {unitType:_0x463c3d,unitID:_0x1fe574,changeset:_0x37cf2c}=_0x4fbb3b[_0x450364(0x185)],_0x4e3f2b={'unitID':_0x1fe574,'memberID':_0xae4f53[_0x450364(0x17f)],'type':_0x463c3d,'changeset':_0x35045d(_0x37cf2c)},_0xc1b04f=this[_0x450364(0x1a0)][_0x450364(0x30f)](Or),_0x5e1179=this[_0x450364(0x1a0)][_0x450364(0x30f)](q),_0x57ed14=kr((_0x553894=(_0x4db506=_0x5e1179==null?void 0x0:_0x5e1179[_0x450364(0x11a)])!=null?_0x4db506:_0xc1b04f)!=null?_0x553894:Nr,_0x463c3d,_0x1fe574);try{await this[_0x450364(0x35a)]['post'](_0x57ed14,{'body':_0x4e3f2b});}catch(_0x3ab2ea){throw this[_0x450364(0x330)][_0x450364(0x399)](_0x450364(0x208),_0x450364(0x118)),_0x3ab2ea;}}async[_0x3b7310(0x201)](_0x400cce){var _0x206254=_0x3b7310;const {unitID:_0x2d78b8,from:_0x1b5607,to:_0x2d0abc,unitType:_0x5f0574}=_0x400cce['data'];return(await this[_0x206254(0x1dd)][_0x206254(0xdc)]({'metadata':void 0x0},{'unitID':_0x2d78b8,'type':_0x5f0574,'from':_0x1b5607,'to':_0x2d0abc}))[_0x206254(0x120)];}};Vt=Mr([Ue(0x0,_0x419509(_0x33a94f)),Ue(0x1,_0x419509(_0x347bc3)),Ue(0x2,_0x29183e),Ue(0x3,_0x2e40a9),Ue(0x4,_0x35beb0)],Vt);const $r=_0x3b7310(0x220);function Hr(_0x117c81){var _0x65d8e0=_0x3b7310;return JSON[_0x65d8e0(0x1c4)](_0x117c81)[_0x65d8e0(0x316)];}class Ti{constructor(){var _0x42cd87=_0x3b7310;N(this,_0x42cd87(0x202),new _0x2898a5()),N(this,'commentUpdate$',this[_0x42cd87(0x202)][_0x42cd87(0x2bf)]());}['onCommentUpdate'](_0x18a1dc){var _0x5ba7a5=_0x3b7310;this['_commentUpdate$'][_0x5ba7a5(0x2a5)](_0x18a1dc);}}var Br=Object['getOwnPropertyDescriptor'],jr=(_0x3d5582,_0x4e81c7,_0x3edec5,_0x424d0d)=>{for(var _0x15db48=_0x424d0d>0x1?void 0x0:_0x424d0d?Br(_0x4e81c7,_0x3edec5):_0x4e81c7,_0x3b3439=_0x3d5582['length']-0x1,_0x962a15;_0x3b3439>=0x0;_0x3b3439--)(_0x962a15=_0x3d5582[_0x3b3439])&&(_0x15db48=_0x962a15(_0x15db48)||_0x15db48);return _0x15db48;},Wt=(_0x1134f7,_0x10c06c)=>(_0x514749,_0x3712c3)=>_0x10c06c(_0x514749,_0x3712c3,_0x1134f7);let xe=class extends _0x4a3911{constructor(_0x21b434,_0x17920b){var _0x44aba6=_0x3b7310;super(),N(this,_0x44aba6(0x34a),new Map()),N(this,'_roomCreated$',new _0x2898a5()),(this[_0x44aba6(0x36a)]=_0x21b434,this[_0x44aba6(0x35b)]=_0x17920b,this[_0x44aba6(0x184)](_0x4a0758(this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f[_0x44aba6(0xe8)])[_0x44aba6(0x2d2)](_0x4c799b(_0x2d25df=>_0x2d25df[_0x44aba6(0x1f5)]())),this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f['UNIVER_DOC'])[_0x44aba6(0x2d2)](_0x4c799b(_0x14f623=>_0x14f623[_0x44aba6(0x1f5)]())),this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f['UNIVER_SLIDE'])[_0x44aba6(0x2d2)](_0x4c799b(_0x413ced=>_0x413ced['getUnitId']())))[_0x44aba6(0x247)](_0x5e986f=>this['_removeRoom'](_0x5e986f))));}['waitForRoom$'](_0x494941){var _0x4a7017=_0x3b7310;return this[_0x4a7017(0x34a)][_0x4a7017(0x30d)](_0x494941)?_0x202106(this[_0x4a7017(0x34a)][_0x4a7017(0xf1)](_0x494941)):this[_0x4a7017(0x24e)][_0x4a7017(0x2d2)](_0x4c799b(_0x2b0dfb=>{var _0x335733=_0x4a7017;if(_0x2b0dfb===_0x494941)return this[_0x335733(0x34a)][_0x335733(0xf1)](_0x2b0dfb);}));}[_0x3b7310(0x2f0)](_0x25d86d){var _0x57e44a=_0x3b7310;this[_0x57e44a(0x35b)][_0x57e44a(0x2f0)](_0x25d86d);}[_0x3b7310(0x176)](){var _0x1ffee8=_0x3b7310;return this[_0x1ffee8(0x35b)][_0x1ffee8(0x176)]();}[_0x3b7310(0x29c)](_0x315abe,_0x226754){var _0x506423=_0x3b7310;let _0x5c3247=this[_0x506423(0x34a)][_0x506423(0xf1)](_0x315abe);_0x5c3247||(_0x5c3247=new Fr(),this[_0x506423(0x34a)][_0x506423(0x151)](_0x315abe,_0x5c3247),this[_0x506423(0x24e)]['next'](_0x315abe)),_0x5c3247[_0x506423(0x29c)](_0x226754);}['removeMember'](_0x59b0f7,_0xed9a35){var _0x3856d3=_0x3b7310;const _0x3c68fa=this[_0x3856d3(0x34a)]['get'](_0x59b0f7);_0x3c68fa&&_0x3c68fa['removeMember'](_0xed9a35);}[_0x3b7310(0x274)](_0x5af80a){var _0x40f1bc=_0x3b7310;return this[_0x40f1bc(0x34a)]['get'](_0x5af80a);}[_0x3b7310(0x1c3)](_0xfd5db7,_0x8c075){var _0x376ca7=_0x3b7310;const _0x5de865=this['_roomMembers'][_0x376ca7(0xf1)](_0xfd5db7);if(_0x5de865)return _0x5de865['getMember'](_0x8c075);}[_0x3b7310(0x24d)](_0x44e97c){var _0x3d44b5=_0x3b7310;const _0x316869=this['_roomMembers'][_0x3d44b5(0xf1)](_0x44e97c);_0x316869&&(_0x316869[_0x3d44b5(0x368)](),this[_0x3d44b5(0x34a)][_0x3d44b5(0x10b)](_0x44e97c));}[_0x3b7310(0x368)](){var _0x16ccba=_0x3b7310;this[_0x16ccba(0x34a)][_0x16ccba(0x109)](_0x1f9fe2=>_0x1f9fe2['dispose']()),this[_0x16ccba(0x34a)][_0x16ccba(0xc4)](),this[_0x16ccba(0x24e)][_0x16ccba(0x2e7)]();}};xe=jr([Wt(0x0,_0x56341d),Wt(0x1,_0x419509(_0x14d174))],xe);class Fr extends _0x4a3911{constructor(){var _0x157f84=_0x3b7310;super(...arguments),N(this,'_members',new Map()),N(this,_0x157f84(0x369),new _0x31cf27(this[_0x157f84(0x34f)])),N(this,_0x157f84(0x362),this['_members$'][_0x157f84(0x2bf)]());}[_0x3b7310(0x368)](){var _0x3aebfb=_0x3b7310;this[_0x3aebfb(0x34f)]['clear']();}['updateMember'](_0x4e867f){var _0x4b4031=_0x3b7310;this['_members'][_0x4b4031(0x151)](_0x4e867f[_0x4b4031(0x17f)],_0x4e867f),this[_0x4b4031(0x385)]();}['removeMember'](_0x33faae){var _0x2a5fbd=_0x3b7310;this[_0x2a5fbd(0x34f)][_0x2a5fbd(0x10b)](_0x33faae);}[_0x3b7310(0x1c3)](_0x3074a9){var _0x3372f9=_0x3b7310;return this[_0x3372f9(0x34f)]['get'](_0x3074a9);}[_0x3b7310(0x20c)](){var _0x2a3d79=_0x3b7310;return Array[_0x2a3d79(0x147)](this[_0x2a3d79(0x34f)][_0x2a3d79(0x17a)]());}['_emitMembers'](){var _0x22bd00=_0x3b7310;this[_0x22bd00(0x369)][_0x22bd00(0x2a5)](this['_members']);}}var Gr=Object[_0x3b7310(0x20e)],Vr=(_0x561b47,_0x2610ec,_0x13100c,_0x14cdbe)=>{var _0x58008c=_0x3b7310;for(var _0x2beaa6=_0x14cdbe>0x1?void 0x0:_0x14cdbe?Gr(_0x2610ec,_0x13100c):_0x2610ec,_0x35c2a8=_0x561b47[_0x58008c(0x316)]-0x1,_0x657403;_0x35c2a8>=0x0;_0x35c2a8--)(_0x657403=_0x561b47[_0x35c2a8])&&(_0x2beaa6=_0x657403(_0x2beaa6)||_0x2beaa6);return _0x2beaa6;},me=(_0x4d464e,_0x1ac256)=>(_0x543ab4,_0x1a845f)=>_0x1ac256(_0x543ab4,_0x1a845f,_0x4d464e),Ee=(_0x32a1a3=>(_0x32a1a3[_0x32a1a3[_0x3b7310(0x153)]=0x0]=_0x3b7310(0x153),_0x32a1a3[_0x32a1a3[_0x3b7310(0x13d)]=0x1]='JOINING',_0x32a1a3[_0x32a1a3[_0x3b7310(0x388)]=0x2]=_0x3b7310(0x388),_0x32a1a3[_0x32a1a3['ONLINE']=0x3]=_0x3b7310(0x1ec),_0x32a1a3))(Ee||{});const Kt={[ge[_0x3b7310(0x183)]]:_0x3b7310(0x2f8),[ge[_0x3b7310(0x1f2)]]:_0x3b7310(0x2a0),[ge[_0x3b7310(0x315)]]:_0x3b7310(0x110),[ge[_0x3b7310(0x381)]]:_0x3b7310(0x34d),[ge[_0x3b7310(0x290)]]:'session.room-cnt-exceeds'};let Et=class extends _0x3f9fed{constructor(_0x34d56f,_0x422be0,_0x323251,_0xf98850,_0x4c223e,_0x3f29b9,_0x21cd9d,_0x3c974b,_0x2be35c){var _0x4c8962=_0x3b7310;super(),N(this,_0x4c8962(0x38e),new _0x31cf27(0x0)),N(this,_0x4c8962(0x258),this[_0x4c8962(0x38e)][_0x4c8962(0x2bf)]()),N(this,_0x4c8962(0x357),new _0x2898a5()),N(this,_0x4c8962(0x178),this[_0x4c8962(0x357)][_0x4c8962(0x2bf)]()),N(this,_0x4c8962(0x256)),N(this,_0x4c8962(0x19d)),N(this,_0x4c8962(0x180)),N(this,_0x4c8962(0x356),!0x1),N(this,_0x4c8962(0x134),null),(this[_0x4c8962(0x312)]=_0x34d56f,this[_0x4c8962(0x330)]=_0x323251,this[_0x4c8962(0x1a0)]=_0xf98850,this[_0x4c8962(0x31a)]=_0x4c223e,this[_0x4c8962(0x170)]=_0x3f29b9,this['_commentService']=_0x21cd9d,this[_0x4c8962(0x102)]=_0x3c974b,this[_0x4c8962(0x294)]=_0x2be35c,this[_0x4c8962(0x356)]=!!this[_0x4c8962(0x294)],_0x422be0['pipe'](_0x194700(this[_0x4c8962(0x340)]))[_0x4c8962(0x247)](_0x3ba9ae=>{var _0x231f1f=_0x4c8962,_0x1679ca;typeof _0x3ba9ae>'u'||(this[_0x231f1f(0x256)]=_0x3ba9ae,_0x3ba9ae?(this[_0x231f1f(0x182)](_0x3ba9ae),this['_socketMessageSubscription']=_0x3ba9ae[_0x231f1f(0x1eb)][_0x231f1f(0x247)](_0xd6370c=>{var _0x20bf8d=_0x231f1f;_0xd6370c[_0x20bf8d(0x279)]===this[_0x20bf8d(0x312)]&&this[_0x20bf8d(0x250)](_0xd6370c);})):(this[_0x231f1f(0x241)](),this[_0x231f1f(0x38e)][_0x231f1f(0x2a5)](0x2),(_0x1679ca=this[_0x231f1f(0x19d)])==null||_0x1679ca['unsubscribe'](),this[_0x231f1f(0x19d)]=null));}));}get[_0x3b7310(0x2fa)](){var _0x365693=_0x3b7310;return this[_0x365693(0x38e)][_0x365693(0x27c)]();}['getMemberID'](){var _0x2aa863=_0x3b7310,_0x43a88d,_0x4f9490;return(_0x4f9490=(_0x43a88d=this[_0x2aa863(0x256)])==null?void 0x0:_0x43a88d['memberID'])!=null?_0x4f9490:null;}[_0x3b7310(0x368)](){var _0x119267=_0x3b7310;super['dispose'](),this[_0x119267(0x340)][_0x119267(0x2a5)](),this[_0x119267(0x340)][_0x119267(0x2e7)]();}[_0x3b7310(0x2d0)](){var _0xb3e8d4=_0x3b7310,_0x3eb2ef,_0x2cc80d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3eb2ef=this[_0xb3e8d4(0x256)])==null||_0x3eb2ef[_0xb3e8d4(0x19f)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0xb3e8d4(0x312)]}}),(_0x2cc80d=this[_0xb3e8d4(0x256)])==null||_0x2cc80d[_0xb3e8d4(0x2d0)](),this['_event$'][_0xb3e8d4(0x2e7)](),this[_0xb3e8d4(0x38e)][_0xb3e8d4(0x2e7)](),this[_0xb3e8d4(0x368)]();}['_onCombEvent'](_0xfeb720){var _0x4cc4f8=_0x3b7310;_0xfeb720[_0x4cc4f8(0x29e)]===F[_0x4cc4f8(0x299)]?this['_onJoinRoomEvent'](_0xfeb720):_0xfeb720[_0x4cc4f8(0x29e)]===F[_0x4cc4f8(0x1c5)]&&this[_0x4cc4f8(0xef)](_0xfeb720);}[_0x3b7310(0x182)](_0x371859){var _0x3fa1c8=_0x3b7310;this[_0x3fa1c8(0x38e)][_0x3fa1c8(0x2a5)](0x1),_0x371859['send']({'cmd':F['JOIN'],'routeKey':this[_0x3fa1c8(0x312)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fa1c8(0x312)]}]}});}[_0x3b7310(0x229)](_0x54dd7a){var _0x35d642=_0x3b7310,_0x5f58b2;if(_0x54dd7a[_0x35d642(0x2f4)]in Kt){this['_collaborationUIEventService'][_0x35d642(0x2bc)]({'id':se[_0x35d642(0xb4)],'data':Kt[_0x54dd7a[_0x35d642(0x2f4)]]}),this[_0x35d642(0x38e)]['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x1f58ec=(_0x5f58b2=_0x54dd7a[_0x35d642(0x185)][_0x35d642(0x1bc)][this[_0x35d642(0x312)]])==null?void 0x0:_0x5f58b2['members'];_0x1f58ec&&_0x1f58ec[_0x35d642(0x109)](_0xa87475=>this[_0x35d642(0x170)][_0x35d642(0x29c)](this[_0x35d642(0x312)],_0xa87475));}[_0x3b7310(0xef)](_0x9fd477){var _0x2fb10a=_0x3b7310;try{const _0x495b44=_0x9fd477['data'];switch(_0x495b44[_0x2fb10a(0xe7)]){case _0x502491['USERS_ENTER']:this[_0x2fb10a(0x235)](_0x495b44),this[_0x2fb10a(0x357)]['next'](_0x495b44);break;case _0x502491[_0x2fb10a(0x1db)]:this[_0x2fb10a(0xc2)](_0x495b44),this['_event$'][_0x2fb10a(0x2a5)](_0x495b44);break;case _0x502491[_0x2fb10a(0x105)]:case _0x502491[_0x2fb10a(0x22d)]:this[_0x2fb10a(0x2b8)](),this[_0x2fb10a(0x289)](),this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);break;case _0x502491[_0x2fb10a(0x287)]:this[_0x2fb10a(0x330)][_0x2fb10a(0x399)](_0x2fb10a(0x2e5)+JSON[_0x2fb10a(0x1c4)](_0x495b44)),this[_0x2fb10a(0x357)]['next'](_0x495b44);break;case _0x502491[_0x2fb10a(0x15b)]:this[_0x2fb10a(0x349)][_0x2fb10a(0x172)](_0x495b44['data']),this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);break;default:this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);}}catch(_0x27d15d){this[_0x2fb10a(0x330)]['error'](_0x27d15d,_0x9fd477);}}[_0x3b7310(0x235)](_0x349edb){var _0x50351e=_0x3b7310;this['_memberService'][_0x50351e(0x29c)](this[_0x50351e(0x312)],_0x349edb[_0x50351e(0x185)]);}[_0x3b7310(0xc2)](_0x285d9c){var _0x239825=_0x3b7310;this[_0x239825(0x170)]['removeMember'](this[_0x239825(0x312)],_0x285d9c[_0x239825(0x185)][_0x239825(0x17f)]);}async[_0x3b7310(0x19f)](_0x5a569d,_0x46992f){var _0x2bc8e9=_0x3b7310;if(this[_0x2bc8e9(0x2fa)]!==0x3||!this[_0x2bc8e9(0x256)])throw new Error(_0x2bc8e9(0x126));try{_0x5a569d[_0x2bc8e9(0xe7)]===_0x502491[_0x2bc8e9(0x1ad)]&&(this[_0x2bc8e9(0x319)](),this['_startTelemetryCollaborationNewChangeset'](_0x5a569d)),this[_0x2bc8e9(0x256)][_0x2bc8e9(0x19f)]({'cmd':F[_0x2bc8e9(0x37c)],'routeKey':_0x46992f,'routeType':'','data':_0x5a569d});}catch(_0x1cff84){this[_0x2bc8e9(0x330)][_0x2bc8e9(0x399)](_0x1cff84);}}[_0x3b7310(0x319)](){var _0x14f66d=_0x3b7310,_0x34e26c;this[_0x14f66d(0x180)]=setTimeout(()=>{var _0xd55ad0=_0x14f66d;this[_0xd55ad0(0x180)]=null,this[_0xd55ad0(0x102)][_0xd55ad0(0x2bc)]({'id':se[_0xd55ad0(0x234)]});},(_0x34e26c=this['_configService'][_0x14f66d(0x30f)](mi))!=null?_0x34e26c:gi);}['_clearCollaborationTimeoutTimer'](){var _0x4e3052=_0x3b7310;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4e3052(0x180)]=null);}[_0x3b7310(0xd7)](_0xd8d41){var _0x134a86=_0x3b7310;if(!this[_0x134a86(0x356)])return;const {data:_0x40361c}=_0xd8d41,{unitID:_0xcf3966,changeset:_0x519b50}=_0x40361c,{mutations:_0x4b4985,type:_0x2cebcb}=_0x519b50;this[_0x134a86(0x134)]={'unitId':_0xcf3966,'type':_0x2cebcb,'startTime':performance[_0x134a86(0x285)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x4b4985)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1d0691=_0x3b7310;if(this[_0x1d0691(0x356)]){if(!this[_0x1d0691(0x134)]){this[_0x1d0691(0x330)][_0x1d0691(0x399)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x1d0691(0x285)](),this[_0x1d0691(0x134)][_0x1d0691(0x107)]=this[_0x1d0691(0x134)][_0x1d0691(0xac)]-this[_0x1d0691(0x134)][_0x1d0691(0x36b)],this[_0x1d0691(0x294)][_0x1d0691(0x307)]($r,this[_0x1d0691(0x134)]),this['_telemetryInfo']=null;}}[_0x3b7310(0x241)](){var _0xa17afa=_0x3b7310;this[_0xa17afa(0x134)]=null;}};Et=Vr([me(0x2,_0x2e40a9),me(0x3,_0x29183e),me(0x4,_0x419509(_0x503d26)),me(0x5,_0x419509(xe)),me(0x6,_0x419509(Ti)),me(0x7,_0x419509(pe)),me(0x8,_0x21c4ab(_0x500461))],Et);var Wr=Object[_0x3b7310(0x20e)],Kr=(_0x231b0d,_0xd4f691,_0x650b33,_0x12e741)=>{for(var _0x32707a=_0x12e741>0x1?void 0x0:_0x12e741?Wr(_0xd4f691,_0x650b33):_0xd4f691,_0x304413=_0x231b0d['length']-0x1,_0xe42083;_0x304413>=0x0;_0x304413--)(_0xe42083=_0x231b0d[_0x304413])&&(_0x32707a=_0xe42083(_0x32707a)||_0x32707a);return _0x32707a;},be=(_0x504dd7,_0x6fa093)=>(_0x115da2,_0x4eb4ff)=>_0x6fa093(_0x115da2,_0x4eb4ff,_0x504dd7);let Le=class extends _0x4a3911{constructor(_0x358814,_0x1a0024,_0x3da1d1,_0xc1b83,_0x593534,_0x32f885){var _0x2f150a=_0x3b7310;super(),N(this,_0x2f150a(0x157),new _0x31cf27(void 0x0)),N(this,_0x2f150a(0x215),this['_socket$'][_0x2f150a(0x2bf)]()),N(this,_0x2f150a(0xb8),null),N(this,_0x2f150a(0x2f6),new Map()),N(this,_0x2f150a(0x254),new _0x31cf27(Ee[_0x2f150a(0x153)])),N(this,_0x2f150a(0x1d5),this[_0x2f150a(0x254)]['asObservable']()),N(this,_0x2f150a(0x374),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2f150a(0x280)),N(this,_0x2f150a(0x124)),(this[_0x2f150a(0x145)]=_0x358814,this[_0x2f150a(0x330)]=_0x1a0024,this['_configService']=_0x3da1d1,this[_0x2f150a(0x24a)]=_0xc1b83,this[_0x2f150a(0x102)]=_0x593534,this[_0x2f150a(0x27d)]=_0x32f885,this[_0x2f150a(0x155)]());}get[_0x3b7310(0x256)](){var _0x308ea2=_0x3b7310;return this['_socket$'][_0x308ea2(0x27c)]();}['_listenToNetworkCondition'](){var _0x4ab2f4=_0x3b7310;this['_networkConditionService']&&this[_0x4ab2f4(0x184)](this[_0x4ab2f4(0x27d)][_0x4ab2f4(0x11c)][_0x4ab2f4(0x247)](_0x1d8b76=>{var _0x24dd45=_0x4ab2f4;_0x1d8b76&&!this[_0x24dd45(0x256)]&&this[_0x24dd45(0x22e)](),_0x1d8b76||this[_0x24dd45(0x2eb)]();}));}['dispose'](){var _0x4c07a6=_0x3b7310;super[_0x4c07a6(0x368)](),this['_sessions']['forEach'](_0x488dce=>_0x488dce[_0x4c07a6(0x368)]()),this[_0x4c07a6(0x2f6)][_0x4c07a6(0xc4)](),this['_status$']['complete']();}async['requireSession'](_0x5935a5){var _0x160a0a=_0x3b7310;if(this[_0x160a0a(0x2f6)][_0x160a0a(0x30d)](_0x5935a5))return this['_sessions'][_0x160a0a(0xf1)](_0x5935a5);this['_tryEnsureSocket']();const _0xb2d1f8=this[_0x160a0a(0x145)]['createInstance'](Et,_0x5935a5,this[_0x160a0a(0x157)][_0x160a0a(0x2bf)]());return this['_sessions'][_0x160a0a(0x151)](_0x5935a5,_0xb2d1f8),_0xb2d1f8;}['closeSession'](_0x52bef9){var _0x2917a4=_0x3b7310,_0x14466b;const _0x2c4c1=this['_sessions'][_0x2917a4(0xf1)](_0x52bef9);_0x2c4c1&&(this[_0x2917a4(0x2f6)][_0x2917a4(0x10b)](_0x52bef9),_0x2c4c1[_0x2917a4(0x2d0)]()),this[_0x2917a4(0x2f6)][_0x2917a4(0x363)]||(_0x14466b=this[_0x2917a4(0x256)])==null||_0x14466b[_0x2917a4(0x2d0)]();}['reconnect'](){var _0x15e5a9=_0x3b7310;this[_0x15e5a9(0x397)]=0x0,this[_0x15e5a9(0x25f)]!=null&&(clearTimeout(this[_0x15e5a9(0x25f)]),this[_0x15e5a9(0x25f)]=null),this[_0x15e5a9(0x39f)]();}async[_0x3b7310(0x321)](){var _0x25c0b0=_0x3b7310,_0xb7df17,_0xc633b6;const _0x432bae=this[_0x25c0b0(0x1a0)][_0x25c0b0(0x30f)](Er),_0x1030cf=this[_0x25c0b0(0x1a0)]['getConfig'](q),_0x2106e5=(_0xc633b6=(_0xb7df17=_0x1030cf==null?void 0x0:_0x1030cf['collabWebSocketUrl'])!=null?_0xb7df17:_0x432bae)!=null?_0xc633b6:Ir,_0x1dbd2e=await this[_0x25c0b0(0x24a)][_0x25c0b0(0x1b2)](_0x2106e5);return this[_0x25c0b0(0xb8)]=_0x1dbd2e,_0x1dbd2e;}async['_tryEnsureSocket'](){var _0x577ff5=_0x3b7310,_0x58b9cb,_0x418391;try{const _0x4c87c3=(_0x418391=(_0x58b9cb=this[_0x577ff5(0x256)])!=null?_0x58b9cb:this['_candidateSocket'])!=null?_0x418391:await this[_0x577ff5(0x321)]();if(_0x4c87c3){const _0x56aac1=_0x4c87c3[_0x577ff5(0x19f)];_0x4c87c3[_0x577ff5(0x19f)]=_0x3f12c9=>(this[_0x577ff5(0x266)](),_0x56aac1[_0x577ff5(0x268)](_0x4c87c3,[_0x3f12c9])),_0x4c87c3[_0x577ff5(0x1eb)][_0x577ff5(0x247)](_0x5ee8d8=>this[_0x577ff5(0x1cf)](_0x4c87c3,_0x5ee8d8)),_0x4c87c3[_0x577ff5(0x1d0)][_0x577ff5(0x2d2)](_0x302c16(0x1))[_0x577ff5(0x247)](_0x5a1bc1=>this['_logService'][_0x577ff5(0x399)]('[CollaborationSessionService]:\x20socket\x20error',_0x5a1bc1)),_0x4c87c3[_0x577ff5(0x329)][_0x577ff5(0x2d2)](_0x302c16(0x1))[_0x577ff5(0x247)](()=>{this['_onConnectionOpen'](_0x4c87c3);}),_0x4c87c3[_0x577ff5(0x139)]['pipe'](_0x302c16(0x1))[_0x577ff5(0x247)](_0x29c6f1=>{var _0x5cd8a2=_0x577ff5;this[_0x5cd8a2(0x330)]['debug'](_0x5cd8a2(0x33f),'socket\x20close',_0x29c6f1),this['_onConnectionFailed']();});}}catch(_0x11bc2b){this[_0x577ff5(0x330)][_0x577ff5(0x399)](_0x11bc2b),this[_0x577ff5(0x2f3)]();}}[_0x3b7310(0x222)](_0x9b3c6f){var _0x3b4b8f=_0x3b7310;this[_0x3b4b8f(0x330)][_0x3b4b8f(0x2e8)]('[CollaborationSessionService]',_0x3b4b8f(0x333)),_0x9b3c6f[_0x3b4b8f(0x19f)]({'cmd':F[_0x3b4b8f(0x33e)]}),this['_rescheduleHeartbeat']();}[_0x3b7310(0x2eb)](){var _0x40176e=_0x3b7310;this[_0x40176e(0x374)]=!0x1,this[_0x40176e(0xb8)]=null,this['_status$'][_0x40176e(0x2a5)](Ee['OFFLINE']),this[_0x40176e(0x157)]['next'](null),this[_0x40176e(0x16c)](),this[_0x40176e(0x1c1)]();}['_onConnectionFailed'](){var _0x577602=_0x3b7310,_0x5020da;this['_onOffline'](),this['_retryCount']<((_0x5020da=this[_0x577602(0x1a0)][_0x577602(0x30f)](br))!=null?_0x5020da:yr)?(this[_0x577602(0x102)]['emitEvent']({'id':se[_0x577602(0x331)]}),this['_tryReconnect']()):this[_0x577602(0x102)][_0x577602(0x2bc)]({'id':se[_0x577602(0x393)]});}[_0x3b7310(0x39f)](){var _0xaef255=_0x3b7310,_0x475d2b;const _0x1acaad=this[_0xaef255(0x397)],_0x345242=this[_0xaef255(0x1a0)][_0xaef255(0x30f)](q),_0x3c455b=_0x1acaad===0x0?0x0:((_0x475d2b=_0x345242==null?void 0x0:_0x345242[_0xaef255(0x382)])!=null?_0x475d2b:Rr)*0x2**_0x1acaad;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2a4c3d=_0xaef255;clearTimeout(this[_0x2a4c3d(0x25f)]),this[_0x2a4c3d(0x25f)]=null,this[_0x2a4c3d(0x174)]();},_0x3c455b),this['_retryCount']+=0x1;}[_0x3b7310(0x1cf)](_0x4cd4c6,_0x38b92f){var _0x3bcf4d=_0x3b7310;const {cmd:_0x149c75}=_0x38b92f;_0x149c75===F[_0x3bcf4d(0x33e)]&&!this[_0x3bcf4d(0x374)]&&(_0x4cd4c6[_0x3bcf4d(0x17f)]=_0x38b92f[_0x3bcf4d(0x185)][_0x3bcf4d(0x17f)],this[_0x3bcf4d(0x157)]['next'](_0x4cd4c6),this[_0x3bcf4d(0x254)]['next'](Ee[_0x3bcf4d(0x1ec)]),this[_0x3bcf4d(0x374)]=!0x0,this[_0x3bcf4d(0xb8)]=null),_0x149c75===F['HEARTBEAT']&&this[_0x3bcf4d(0x16c)](),this[_0x3bcf4d(0x266)]();}[_0x3b7310(0x266)](){var _0x1d337e=_0x3b7310,_0x44c6fb;this[_0x1d337e(0x1c1)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1d337e(0xb1)](),(_0x44c6fb=this['_configService']['getConfig'](Tr))!=null?_0x44c6fb:Cr);}['_sendHeartbeat'](){var _0xb93727=_0x3b7310;this[_0xb93727(0x256)]['send']({'cmd':F['HEARTBEAT']}),this[_0xb93727(0x209)]();}[_0x3b7310(0x209)](){var _0x524d89=_0x3b7310,_0x2293ef;this['_timeoutTimer']=setTimeout(()=>this[_0x524d89(0x2f3)](),(_0x2293ef=this[_0x524d89(0x1a0)][_0x524d89(0x30f)](mi))!=null?_0x2293ef:gi);}[_0x3b7310(0x1c1)](){var _0x77495c=_0x3b7310;this[_0x77495c(0x280)]!=null&&(clearTimeout(this[_0x77495c(0x280)]),this[_0x77495c(0x280)]=null);}[_0x3b7310(0x16c)](){var _0x5a0138=_0x3b7310;this[_0x5a0138(0x124)]!=null&&(clearTimeout(this[_0x5a0138(0x124)]),this[_0x5a0138(0x124)]=null);}};Le=Kr([be(0x0,_0x419509(_0x33a94f)),be(0x1,_0x2e40a9),be(0x2,_0x29183e),be(0x3,Ii),be(0x4,_0x419509(pe)),be(0x5,_0x21c4ab(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x3b7310(0x304)]((i+0x100)[_0x3b7310(0xf7)](0x10)['slice'](0x1));function Yr(_0x4abdc9,_0x25d7a7=0x0){var _0x51add5=_0x3b7310;return(G[_0x4abdc9[_0x25d7a7+0x0]]+G[_0x4abdc9[_0x25d7a7+0x1]]+G[_0x4abdc9[_0x25d7a7+0x2]]+G[_0x4abdc9[_0x25d7a7+0x3]]+'-'+G[_0x4abdc9[_0x25d7a7+0x4]]+G[_0x4abdc9[_0x25d7a7+0x5]]+'-'+G[_0x4abdc9[_0x25d7a7+0x6]]+G[_0x4abdc9[_0x25d7a7+0x7]]+'-'+G[_0x4abdc9[_0x25d7a7+0x8]]+G[_0x4abdc9[_0x25d7a7+0x9]]+'-'+G[_0x4abdc9[_0x25d7a7+0xa]]+G[_0x4abdc9[_0x25d7a7+0xb]]+G[_0x4abdc9[_0x25d7a7+0xc]]+G[_0x4abdc9[_0x25d7a7+0xd]]+G[_0x4abdc9[_0x25d7a7+0xe]]+G[_0x4abdc9[_0x25d7a7+0xf]])[_0x51add5(0x18b)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x1b5879=_0x3b7310;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1b5879(0x12e));ut=crypto[_0x1b5879(0x391)][_0x1b5879(0x31b)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3b7310(0x22f)]['bind'](crypto),Yt={'randomUUID':Jr};function Xr(_0x2ed92b,_0x5c60c5,_0xeaaf06){var _0x58b88c=_0x3b7310,_0x3619b9,_0x195b13,_0x18c3e6;if(Yt[_0x58b88c(0x22f)]&&!_0x2ed92b)return Yt[_0x58b88c(0x22f)]();_0x2ed92b=_0x2ed92b||{};const _0x397189=(_0x18c3e6=(_0x195b13=_0x2ed92b[_0x58b88c(0x27f)])!=null?_0x195b13:(_0x3619b9=_0x2ed92b[_0x58b88c(0x387)])==null?void 0x0:_0x3619b9[_0x58b88c(0x269)](_0x2ed92b))!=null?_0x18c3e6:zr();if(_0x397189[_0x58b88c(0x316)]<0x10)throw new Error(_0x58b88c(0x20d));return _0x397189[0x6]=_0x397189[0x6]&0xf|0x40,_0x397189[0x8]=_0x397189[0x8]&0x3f|0x80,Yr(_0x397189);}const J=_0xcc195f(_0x3b7310(0x20a));function _0x5c5f(_0x594d93,_0x35cd4f){var _0x530788=_0x5307();return _0x5c5f=function(_0x5c5f3a,_0x293db7){_0x5c5f3a=_0x5c5f3a-0xa8;var _0x3a0fb0=_0x530788[_0x5c5f3a];return _0x3a0fb0;},_0x5c5f(_0x594d93,_0x35cd4f);}function Bs(_0x38e405){return'unit-cache-'+_0x38e405;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x299f8e,_0x4e43d9,_0x5093cc,_0xd5bc3f)=>{var _0x8cf8e6=_0x3b7310;for(var _0x188e88=_0xd5bc3f>0x1?void 0x0:_0xd5bc3f?Zr(_0x4e43d9,_0x5093cc):_0x4e43d9,_0x2efc79=_0x299f8e[_0x8cf8e6(0x316)]-0x1,_0x4104af;_0x2efc79>=0x0;_0x2efc79--)(_0x4104af=_0x299f8e[_0x2efc79])&&(_0x188e88=_0x4104af(_0x188e88)||_0x188e88);return _0x188e88;},dt=(_0x4d1ca7,_0x19dd70)=>(_0x51902a,_0xa48996)=>_0x19dd70(_0x51902a,_0xa48996,_0x4d1ca7);function en(_0x2b354d){var _0x2b169f=_0x3b7310;const {unitID:_0x587b47,mutations:_0xb60e24}=_0x2b354d;return{'unitId':_0x587b47,'subUnitId':_0xb60e24[0x0][_0x2b169f(0xe4)][_0x2b169f(0x26f)]};}let it=class{constructor(_0x25d11e,_0x23f0f6,_0x178e53){var _0x3cdc95=_0x3b7310;this[_0x3cdc95(0x145)]=_0x25d11e,this['_transformService']=_0x23f0f6,this[_0x3cdc95(0x19a)]=_0x178e53;}[_0x3b7310(0x383)](_0x4e1dc0){var _0x58cfea=_0x3b7310,_0x245ce1,_0x48c062,_0x4e4099,_0x1ebfbf;const _0x16c13e=this[_0x58cfea(0x145)][_0x58cfea(0xf1)](_0x1f38e4),{unitId:_0x1dfa35,subUnitId:_0x45e6d9}=en(_0x4e1dc0),_0x12a764=_0x16c13e==null?void 0x0:_0x16c13e[_0x58cfea(0x31d)](_0x1dfa35)[_0x58cfea(0x16a)](),_0x3d6d1b=(_0x48c062=(_0x245ce1=this[_0x58cfea(0x19a)][_0x58cfea(0xc5)](_0x1dfa35))==null?void 0x0:_0x245ce1[_0x58cfea(0x2c3)]())==null?void 0x0:_0x48c062[_0x58cfea(0x36e)]();if(_0x12a764[_0x58cfea(0x316)]===0x0||!_0x1dfa35||!_0x45e6d9)return;const _0x3892ee=[{'id':_0x2a36f2['id'],'params':{'unitId':_0x1dfa35,'subUnitId':_0x3d6d1b,'selections':_0x41ec87[_0x58cfea(0xb9)](_0x12a764)}}],_0x2b0377=this['_transformService'][_0x58cfea(0x2da)](_0x4e1dc0,_0x3892ee);if(!_0x4ceef6(_0x2b0377))throw _0x2b0377[_0x58cfea(0x399)];const _0x50efaa=(_0x1ebfbf=(_0x4e4099=_0x2b0377[_0x58cfea(0x34b)][0x0])==null?void 0x0:_0x4e4099['params'])==null?void 0x0:_0x1ebfbf[_0x58cfea(0x367)];if(Array[_0x58cfea(0x169)](_0x50efaa)&&_0x50efaa[_0x58cfea(0x316)]){if(_0x50efaa[_0x58cfea(0x316)]===_0x3892ee[0x0][_0x58cfea(0xe4)]['selections']['length']&&_0x50efaa['every']((_0x2e8ddd,_0x2bfaa5)=>_0x188c51[_0x58cfea(0x21e)](_0x2e8ddd[_0x58cfea(0x13a)],_0x3892ee[0x0][_0x58cfea(0xe4)][_0x58cfea(0x367)][_0x2bfaa5]['range'])))return;this['_injector'][_0x58cfea(0xf1)](_0x1ab65f)[_0x58cfea(0x2e2)](_0x2a36f2['id'],{'unitId':_0x1dfa35,'subUnitId':_0x3d6d1b,'selections':_0x50efaa});}}};it=Qr([dt(0x0,_0x419509(_0x33a94f)),dt(0x1,_0xcdffcf),dt(0x2,_0x56341d)],it);const ht=_0xcc195f(_0x3b7310(0x2ac));var Ci=(_0x12f2ba=>(_0x12f2ba[_0x12f2ba[_0x3b7310(0xad)]=0x0]=_0x3b7310(0xad),_0x12f2ba[_0x12f2ba[_0x3b7310(0x237)]=0x1]='OTHER_CLIENTS_EDITING',_0x12f2ba))(Ci||{});const tn=new Set([_0x2473e0['id']]);function qt(_0x4624cd,_0x1edeb2,_0x1aa983,_0x5c02d0,_0x34ffca){var _0x136ff6=_0x3b7310,_0xe56922,_0x1f9dbb,_0x5109db,_0x39e03d;const _0x70ed9c=[];for(const _0x2d48e2 of _0x4624cd)if(tn[_0x136ff6(0x30d)](_0x2d48e2['id'])){if(_0x70ed9c[_0x136ff6(0x316)]>0x0)break;_0x70ed9c[_0x136ff6(0x304)](_0x2d48e2);break;}else _0x70ed9c['push'](_0x2d48e2);const _0x1c988e=(_0x1f9dbb=(_0xe56922=_0x34ffca[_0x136ff6(0x176)]())==null?void 0x0:_0xe56922[_0x136ff6(0x372)])!=null?_0x1f9dbb:_0x136ff6(0x12c),_0x29d1c4=(_0x39e03d=(_0x5109db=_0x34ffca[_0x136ff6(0x176)]())==null?void 0x0:_0x5109db['memberID'])!=null?_0x39e03d:_0x136ff6(0x12c);return{'changeset':{'unitID':_0x1edeb2,'type':_0x383f21(_0x1aa983[_0x136ff6(0x187)](_0x1edeb2)),'baseRev':_0x5c02d0[_0x136ff6(0x347)](_0x1edeb2),'revision':0x0,'userID':_0x1c988e,'memberID':_0x29d1c4,'mutations':_0x70ed9c},'pendingMutations':_0x4624cd[_0x136ff6(0x1d8)](_0x70ed9c[_0x136ff6(0x316)])};}function rn(_0x1639b0,_0x220b4a,_0x19b9f5,_0x576662,_0x5363ab){var _0x23b085=_0x3b7310,_0x524907,_0x545e9b,_0x1812fd,_0x169331;const _0x330292=[_0x1639b0[_0x23b085(0x197)]((_0x4a6f21,_0x4291cb)=>{var _0xa05f87=_0x23b085,_0x160c51;const {id:_0x282d5e}=_0x4a6f21,{id:_0x2514e4,type:_0x5d7a47}=_0x4291cb,_0x43fc37=(_0x160c51=_0x4a6f21[_0xa05f87(0xe4)])!=null?_0x160c51:{'actions':null},_0x3a0fcb=_0x4291cb[_0xa05f87(0xe4)];if(_0x282d5e&&_0x282d5e!==_0x2514e4)throw new Error(_0xa05f87(0x310)+_0x282d5e+_0xa05f87(0xc1)+_0x2514e4+'.');return{..._0x4a6f21,'id':_0x2514e4,'type':_0x5d7a47,'params':{'unitId':_0x3a0fcb[_0xa05f87(0x326)],'textRanges':_0x3a0fcb[_0xa05f87(0x149)],'actions':_0x2e7333[_0xa05f87(0x2fc)](_0x43fc37[_0xa05f87(0xaa)],_0x3a0fcb['actions'])}};},{})],_0x13e610=(_0x545e9b=(_0x524907=_0x5363ab[_0x23b085(0x176)]())==null?void 0x0:_0x524907[_0x23b085(0x372)])!=null?_0x545e9b:_0x23b085(0x12c),_0x4d885a=(_0x169331=(_0x1812fd=_0x5363ab['getCurrentUser']())==null?void 0x0:_0x1812fd[_0x23b085(0x17f)])!=null?_0x169331:_0x23b085(0x12c);return{'changeset':{'unitID':_0x220b4a,'type':_0x383f21(_0x19b9f5[_0x23b085(0x187)](_0x220b4a)),'baseRev':_0x576662[_0x23b085(0x347)](_0x220b4a),'revision':0x0,'userID':_0x13e610,'memberID':_0x4d885a,'mutations':_0x330292},'pendingMutations':[]};}function Ri(_0x5c3aba,_0x4b783b){var _0x8dfbe0=_0x3b7310;const _0x5734c8=new _0x452f18(0x1);return setTimeout(()=>_0x5734c8[_0x8dfbe0(0x2a5)](_0x4b783b),_0x5c3aba),_0x5734c8['asObservable']()[_0x8dfbe0(0x2d2)](_0x473e6b(0x1));}const nn={'id':_0x5be811['id'],'type':_0x3633bf['MUTATION'],'params':{}};var sn=Object[_0x3b7310(0x20e)],Te=(_0x2d3689,_0x33259d,_0x1562e9,_0x112db9)=>{var _0x40d357=_0x3b7310;for(var _0x4b442d=_0x112db9>0x1?void 0x0:_0x112db9?sn(_0x33259d,_0x1562e9):_0x33259d,_0x538a2c=_0x2d3689[_0x40d357(0x316)]-0x1,_0x4be137;_0x538a2c>=0x0;_0x538a2c--)(_0x4be137=_0x2d3689[_0x538a2c])&&(_0x4b442d=_0x4be137(_0x4b442d)||_0x4b442d);return _0x4b442d;},P=(_0xf99958,_0x190db4)=>(_0x4a7c77,_0x4dbc6b)=>_0x190db4(_0x4a7c77,_0x4dbc6b,_0xf99958),bi=(_0x4c96a7=>(_0x4c96a7[_0x3b7310(0x1cd)]='not_collab',_0x4c96a7[_0x3b7310(0x17d)]=_0x3b7310(0x23a),_0x4c96a7[_0x3b7310(0x33a)]=_0x3b7310(0x1b9),_0x4c96a7[_0x3b7310(0x2d7)]=_0x3b7310(0x1a1),_0x4c96a7[_0x3b7310(0x161)]=_0x3b7310(0x1b7),_0x4c96a7[_0x3b7310(0x16f)]=_0x3b7310(0xe9),_0x4c96a7['CONFLICT']=_0x3b7310(0x295),_0x4c96a7['OFFLINE']=_0x3b7310(0x12f),_0x4c96a7))(bi||{});const yi=0xea60;class Ce{constructor(_0x22fd5d,_0x53e339,_0x5416dd,_0x223ae1,_0x293b1b,_0xda7fad,_0x28e698,_0x1a6070,_0x564194){var _0x542b5b=_0x3b7310;N(this,_0x542b5b(0x2bd),null),N(this,_0x542b5b(0xf3),[]),(this[_0x542b5b(0x135)]=_0x22fd5d,this['type']=_0x53e339,this[_0x542b5b(0xbd)]=_0x293b1b,this[_0x542b5b(0xe1)]=_0xda7fad,this['_undoRedoService']=_0x28e698,this[_0x542b5b(0x238)]=_0x1a6070,this[_0x542b5b(0x2a7)]=_0x564194,this[_0x542b5b(0x2bd)]=_0x5416dd,this['_pendingMutations']=_0x223ae1);}['_checkMissing'](_0x5306e3){var _0x29665d=_0x3b7310;const _0x5f0388=this[_0x29665d(0x238)][_0x29665d(0x347)](this[_0x29665d(0x135)]);return _0x5306e3['revision']>_0x5f0388+0x1?(this[_0x29665d(0xbd)][_0x29665d(0x19c)]({'from':_0x5f0388,'to':_0x5306e3['revision']-0x1}),!0x0):!0x1;}[_0x3b7310(0x1c6)](_0xf8ce70){var _0x20d8a5=_0x3b7310;this[_0x20d8a5(0x338)][_0x20d8a5(0x31f)](this[_0x20d8a5(0x135)],_0xf8ce70);}[_0x3b7310(0x2e3)](_0x526618){var _0x40884a=_0x3b7310,_0x52fac7,_0x34573a;(_0x34573a=(_0x52fac7=this[_0x40884a(0xbd)])[_0x40884a(0x240)])==null||_0x34573a[_0x40884a(0x269)](_0x52fac7,_0x526618);}['_transformIMECache'](_0x1dbdcd){var _0x49f46e=_0x3b7310,_0x404791,_0x2a80d7;return(_0x2a80d7=(_0x404791=this[_0x49f46e(0xbd)])[_0x49f46e(0xf4)])==null?void 0x0:_0x2a80d7['call'](_0x404791,_0x1dbdcd);}[_0x3b7310(0x205)](_0x4571c7){var _0x3b8c0a=_0x3b7310,_0x2a5233,_0x505dd7;return(_0x505dd7=(_0x2a5233=this[_0x3b8c0a(0xbd)])[_0x3b8c0a(0x106)])==null?void 0x0:_0x505dd7[_0x3b8c0a(0x269)](_0x2a5233,_0x4571c7);}[_0x3b7310(0x194)](_0x34dcff){var _0x3eeefe=_0x3b7310,_0x1413d5,_0x5951b4,_0x2d40ac;return(_0x2d40ac=(_0x5951b4=(_0x1413d5=this[_0x3eeefe(0xbd)])[_0x3eeefe(0xde)])==null?void 0x0:_0x5951b4[_0x3eeefe(0x269)](_0x1413d5,_0x34dcff))!=null?_0x2d40ac:_0x34dcff;}[_0x3b7310(0x2c2)](_0x746bf5){var _0x42cd62=_0x3b7310,_0x413faa,_0x16dedf,_0x48112d;return(_0x48112d=(_0x16dedf=(_0x413faa=this[_0x42cd62(0xbd)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x16dedf['call'](_0x413faa,_0x746bf5))!=null?_0x48112d:_0x746bf5;}[_0x3b7310(0x28e)](_0xb557ce){var _0x4122bf=_0x3b7310,_0x1eaf00,_0x83a675;if(this[_0x4122bf(0x16e)]===Q[_0x4122bf(0x12b)]){const {unitID:_0xea4abc,mutations:_0x5c8ed6,memberID:_0x2ac69c}=_0xb557ce,_0x329f8b=_0x5c8ed6[0x0]['params'][_0x4122bf(0x149)];Array['isArray'](_0x329f8b)&&_0x329f8b[_0x4122bf(0x316)]>0x0&&((_0x83a675=(_0x1eaf00=this['_handler'])[_0x4122bf(0x1c2)])==null||_0x83a675[_0x4122bf(0x269)](_0x1eaf00,{'unitID':_0xea4abc,'memberID':_0x2ac69c,'textRanges':_0x329f8b}));}}[_0x3b7310(0x361)](){var _0x2c1297=_0x3b7310,_0x225c12;(_0x225c12=this[_0x2c1297(0x2a7)])==null||_0x225c12['updateOfflineData'](this[_0x2c1297(0x135)],this['type'],this[_0x2c1297(0x2bd)],this[_0x2c1297(0xf3)]);}['_getCurrentRevision'](){var _0x4667f3=_0x3b7310;return this[_0x4667f3(0x238)][_0x4667f3(0x347)](this['unitID']);}[_0x3b7310(0x36f)](){var _0x438d7c=_0x3b7310;this['_revisionService'][_0x438d7c(0x1b3)](this[_0x438d7c(0x135)]);}[_0x3b7310(0x1c0)](_0x33390a){var _0x305045=_0x3b7310,_0x356449;let _0x3ab1b6=this[_0x305045(0x194)](_0x33390a);_0x3ab1b6=this[_0x305045(0x2c2)](_0x3ab1b6);const _0x10a13e=_0x423bb5(_0x3ab1b6['mutations'],this[_0x305045(0xe1)],{'fromCollab':!0x0});if(!_0x10a13e[_0x305045(0xab)])throw _0x10a13e[_0x305045(0x399)]instanceof Error?_0x10a13e[_0x305045(0x399)]:new Error((_0x356449=_0x10a13e['error'])!=null?_0x356449:'[CollaborationState]:\x20apply\x20error!');this[_0x305045(0x39b)](_0x3ab1b6),this[_0x305045(0x205)](_0x3ab1b6),this[_0x305045(0x1c6)](_0x33390a),this[_0x305045(0x2e3)](_0x3ab1b6),this[_0x305045(0x28e)](_0x3ab1b6),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x8367d8,_0x57c80e,_0x41a224,_0x4af15b,_0x1365ce,_0x2dc978,_0x21b96f,_0x4381ab,_0x5cc4f7,_0x59e155){var _0x5d23a5=_0x3b7310;super(_0x8367d8,_0x57c80e,null,[],_0x41a224,_0x21b96f,_0x2dc978,_0x4af15b,_0x59e155),N(this,'status','synced'),(this[_0x5d23a5(0x145)]=_0x1365ce,this['_logService']=_0x4381ab,this['_transformService']=_0x5cc4f7,this[_0x5d23a5(0xdf)]=_0x59e155);}['appendMutation'](_0xb42be7){var _0x3d1ba7=_0x3b7310;const _0x2d1447=this[_0x3d1ba7(0x145)][_0x3d1ba7(0x37b)](oe,this[_0x3d1ba7(0x135)],this[_0x3d1ba7(0x16e)],[_0xb42be7],this[_0x3d1ba7(0xbd)]);return _0x2d1447[_0x3d1ba7(0x364)](),_0x2d1447[_0x3d1ba7(0x361)](),_0x2d1447;}[_0x3b7310(0x1ed)](_0x34fa69){var _0x3e727f=_0x3b7310;if(this[_0x3e727f(0x37d)](_0x34fa69))return this[_0x3e727f(0x145)][_0x3e727f(0x37b)](ee,this['unitID'],this[_0x3e727f(0x16e)],null,[],null,[_0x34fa69],this['_handler']);try{const _0x28129f=this[_0x3e727f(0x25b)][_0x3e727f(0x2da)](_0x34fa69,[nn]);if(_0x4ceef6(_0x28129f)){const {c1Prime:_0x40875f}=_0x28129f;return this['_executeRemoteChangeset'](_0x40875f),this;}throw _0x28129f['error'];}catch(_0x76f492){return this[_0x3e727f(0x330)][_0x3e727f(0x399)](_0x76f492),this[_0x3e727f(0x2cc)](!0x1);}}[_0x3b7310(0x2cc)](_0x2a02b4){var _0x4fa4ab=_0x3b7310;return this['_injector'][_0x4fa4ab(0x37b)](ue,this[_0x4fa4ab(0x135)],this[_0x4fa4ab(0x16e)],null,[],this[_0x4fa4ab(0xbd)],_0x2a02b4);}[_0x3b7310(0x175)](){var _0x57a9d9=_0x3b7310;throw new Error(_0x57a9d9(0x14f));}['onRemoteRej'](){var _0x4360e2=_0x3b7310;throw new Error(_0x4360e2(0x1e3));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){var _0x5f43ac=_0x3b7310;return this['_injector'][_0x5f43ac(0x37b)](de,this[_0x5f43ac(0x135)],this[_0x5f43ac(0x16e)],null,[],this[_0x5f43ac(0xbd)]);}['toggleOnline'](){return this;}[_0x3b7310(0x113)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x44dee3=_0x3b7310;const _0x7705bc=this['_revisionService'][_0x44dee3(0x347)](this['unitID']);return this['_handler'][_0x44dee3(0x19c)]({'from':_0x7705bc,'to':0x0}),this[_0x44dee3(0x145)][_0x44dee3(0x37b)](ee,this['unitID'],this[_0x44dee3(0x16e)],null,[],null,[],this[_0x44dee3(0xbd)]);}};Ne=Te([P(0x3,_0x419509(_0x3bf5fe)),P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x4d6f06),P(0x6,_0x1ab65f),P(0x7,_0x2e40a9),P(0x8,_0xcdffcf),P(0x9,_0x21c4ab(J))],Ne);let oe=class extends Ce{constructor(_0x31334d,_0xc81368,_0x594ee3,_0x13919f,_0x3326a8,_0x42c31a,_0x1da5c8,_0x3efd3e,_0x3fa196,_0x227484,_0x4fbc97,_0x26c9e0,_0x5910d8,_0x43512a){var _0x184f45=_0x3b7310;super(_0x31334d,_0xc81368,null,_0x594ee3,_0x13919f,_0x3fa196,_0x5910d8,_0x42c31a,_0x43512a),N(this,_0x184f45(0x163),_0x184f45(0x1b9)),N(this,_0x184f45(0x171),null),N(this,'_sendingTimer',null),(this[_0x184f45(0x145)]=_0x3326a8,this[_0x184f45(0x170)]=_0x1da5c8,this['_logService']=_0x3efd3e,this[_0x184f45(0x1a0)]=_0x227484,this['_transformService']=_0x4fbc97,this[_0x184f45(0x36a)]=_0x26c9e0);}[_0x3b7310(0x2ef)](_0x38fb94){var _0x3f22f0=_0x3b7310;return this[_0x3f22f0(0xf3)]['push'](_0x38fb94),this[_0x3f22f0(0x361)](),this;}[_0x3b7310(0x1ed)](_0x590af8){var _0x3963d7=_0x3b7310;if(this[_0x3963d7(0x37d)](_0x590af8))return this[_0x3963d7(0x308)](),this['_injector'][_0x3963d7(0x37b)](ee,this['unitID'],this[_0x3963d7(0x16e)],null,this[_0x3963d7(0xf3)],null,[_0x590af8],this[_0x3963d7(0xbd)]);try{const _0x4f1e9f=this[_0x3963d7(0x25b)]['transformMutationsWithChangeset'](_0x590af8,this[_0x3963d7(0xf3)]);if(_0x4ceef6(_0x4f1e9f)){const {c1Prime:_0x3b4a5f,m2Prime:_0xb76ec1}=_0x4f1e9f;this[_0x3963d7(0x1c0)](_0x3b4a5f);const _0x96e503=this[_0x3963d7(0x145)][_0x3963d7(0x37b)](oe,this[_0x3963d7(0x135)],this[_0x3963d7(0x16e)],_0xb76ec1,this[_0x3963d7(0xbd)]);this['_clearScheduledTask']();const _0x3a04c3=new Date()[_0x3963d7(0xf2)](),_0x69460f=this[_0x3963d7(0x171)]?Math[_0x3963d7(0x129)](this[_0x3963d7(0x171)]-_0x3a04c3,0x0):this[_0x3963d7(0x156)]();return _0x96e503[_0x3963d7(0x364)](_0x69460f),_0x96e503;}throw _0x4f1e9f[_0x3963d7(0x399)];}catch(_0x48f5c4){return this[_0x3963d7(0x330)][_0x3963d7(0x399)](_0x48f5c4),this[_0x3963d7(0x2cc)](!0x1);}}[_0x3b7310(0x175)](){var _0x3d19d2=_0x3b7310;throw new Error(_0x3d19d2(0x1b1));}[_0x3b7310(0x1fb)](){var _0x563b68=_0x3b7310;throw new Error(_0x563b68(0x265));}[_0x3b7310(0x11b)](){return this;}['toggleOffline'](){var _0x361b13=_0x3b7310;return this['_clearScheduledTask'](),this[_0x361b13(0x145)][_0x361b13(0x37b)](de,this['unitID'],this['type'],null,this[_0x361b13(0xf3)],this[_0x361b13(0xbd)]);}['toggleOnline'](){return this;}[_0x3b7310(0x364)](_0x43b700){var _0x43dd96=_0x3b7310;const _0x1c5e09=_0x43b700!=null?_0x43b700:this['_getSendChangesetTimeout']();this[_0x43dd96(0x171)]=new Date()[_0x43dd96(0xf2)]()+_0x1c5e09,this['_sendingTimer']=setTimeout(()=>{var _0x7b7ccb=_0x43dd96;this[_0x7b7ccb(0x308)]();let _0x764835=null;switch(this[_0x7b7ccb(0x16e)]){case Q['UNIVER_SHEET']:{_0x764835=qt(this[_0x7b7ccb(0xf3)],this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x36a)],this[_0x7b7ccb(0x238)],this[_0x7b7ccb(0x170)]);break;}case Q[_0x7b7ccb(0x12b)]:{this[_0x7b7ccb(0xf3)][_0x7b7ccb(0xc9)](_0x17bfc0=>_0x17bfc0['id']===_0x3664c5['id'])?_0x764835=rn(this[_0x7b7ccb(0xf3)],this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x36a)],this[_0x7b7ccb(0x238)],this[_0x7b7ccb(0x170)]):_0x764835=qt(this[_0x7b7ccb(0xf3)],this['unitID'],this[_0x7b7ccb(0x36a)],this['_revisionService'],this[_0x7b7ccb(0x170)]);break;}default:throw new Error(_0x7b7ccb(0x1ac)+this['type']+_0x7b7ccb(0xbe));}const {changeset:_0x430d81,pendingMutations:_0x1a6043}=_0x764835;this[_0x7b7ccb(0xbd)][_0x7b7ccb(0x2b6)](_0x430d81);const _0x4124e7=_0x1a6043[_0x7b7ccb(0x316)]?this[_0x7b7ccb(0x145)][_0x7b7ccb(0x37b)](ae,this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x16e)],_0x430d81,_0x1a6043,this['_handler'],void 0x0):this['_injector'][_0x7b7ccb(0x37b)](le,this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x16e)],_0x430d81,this[_0x7b7ccb(0xbd)]);_0x4124e7['_updateLocalCache'](),this['_handler'][_0x7b7ccb(0x2d1)](this,_0x4124e7);},_0x1c5e09);}['_getSendChangesetTimeout'](){var _0x298327=_0x3b7310,_0x5e3706;const _0x373209=this['_configService'][_0x298327(0x30f)](q);return(_0x5e3706=_0x373209==null?void 0x0:_0x373209[_0x298327(0x2cd)])!=null?_0x5e3706:Sr;}[_0x3b7310(0x113)](){var _0x5cfe5b=_0x3b7310;throw new Error(_0x5cfe5b(0x359));}[_0x3b7310(0x308)](){var _0xc2d82f=_0x3b7310;this['_sendingTimer']!=null&&(clearTimeout(this[_0xc2d82f(0x38b)]),this[_0xc2d82f(0x38b)]=null);}[_0x3b7310(0x2cc)](_0x2f4d6a){var _0x8982cd=_0x3b7310;return this[_0x8982cd(0x308)](),this[_0x8982cd(0x145)][_0x8982cd(0x37b)](ue,this[_0x8982cd(0x135)],this[_0x8982cd(0x16e)],null,this['_pendingMutations'],this[_0x8982cd(0xbd)],_0x2f4d6a);}};oe=Te([P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x419509(_0x3bf5fe)),P(0x6,_0x419509(xe)),P(0x7,_0x2e40a9),P(0x8,_0x1ab65f),P(0x9,_0x29183e),P(0xa,_0xcdffcf),P(0xb,_0x56341d),P(0xc,_0x4d6f06),P(0xd,_0x21c4ab(J))],oe);let le=class extends Ce{constructor(_0xa54aa8,_0x54f97d,_0x4cb514,_0x16b8f0,_0x3189ed,_0x4c777e,_0x2fb508,_0x29e53e,_0x5a3760,_0x1a41a5,_0x235bcc){var _0x3cfd25=_0x3b7310;super(_0xa54aa8,_0x54f97d,_0x4cb514,[],_0x16b8f0,_0x2fb508,_0x1a41a5,_0x4c777e,_0x235bcc),N(this,'status',_0x3cfd25(0x1a1)),N(this,_0x3cfd25(0x1de),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3cfd25(0x145)]=_0x3189ed,this[_0x3cfd25(0x330)]=_0x29e53e,this[_0x3cfd25(0x25b)]=_0x5a3760);}[_0x3b7310(0x2ef)](_0x807d68){var _0xa89e55=_0x3b7310;this[_0xa89e55(0x308)]();const _0x148b68=this[_0xa89e55(0x145)][_0xa89e55(0x37b)](ae,this['unitID'],this[_0xa89e55(0x16e)],this[_0xa89e55(0x2bd)],[_0x807d68],this[_0xa89e55(0xbd)],this['_resendTimer']);return _0x148b68[_0xa89e55(0x361)](),_0x148b68;}['onRemoteChangeset'](_0x61fa53){var _0x23c4fb=_0x3b7310;if(this[_0x23c4fb(0x37d)](_0x61fa53))return this[_0x23c4fb(0x308)](),this[_0x23c4fb(0x145)][_0x23c4fb(0x37b)](ee,this[_0x23c4fb(0x135)],this['type'],this[_0x23c4fb(0x2bd)],[],null,[_0x61fa53],this['_handler']);try{const _0x443da5=this[_0x23c4fb(0x25b)][_0x23c4fb(0x2d9)]([_0x61fa53],[this[_0x23c4fb(0x2bd)]],!0x1);if(_0x2eedf1(_0x443da5)){const {c1Prime:_0x25e352,c2Prime:_0x3bc96e}=_0x443da5;this[_0x23c4fb(0x1c0)](_0x25e352[0x0]),_0x3bc96e[0x0]['baseRev']=this[_0x23c4fb(0x1e9)](),this[_0x23c4fb(0x308)]();const _0x1344ec=this[_0x23c4fb(0x145)][_0x23c4fb(0x37b)](le,this[_0x23c4fb(0x135)],this['type'],_0x3bc96e[0x0],this[_0x23c4fb(0xbd)]);return _0x1344ec[_0x23c4fb(0x361)](),_0x1344ec;}return this[_0x23c4fb(0x2cc)](!0x1);}catch(_0x3a8004){return this[_0x23c4fb(0x330)][_0x23c4fb(0x399)](_0x3a8004),this[_0x23c4fb(0x2cc)](!0x1);}}['onRemoteAck'](_0x446bde){var _0x295f5d=_0x3b7310;this[_0x295f5d(0x308)]();const _0x4fc10f=this['_revisionService'][_0x295f5d(0x347)](this[_0x295f5d(0x135)]);if(_0x446bde[_0x295f5d(0x3a0)]<_0x4fc10f-0x1)return this;if(this['_checkMissing'](_0x446bde))return this['_injector'][_0x295f5d(0x37b)](ee,this[_0x295f5d(0x135)],this[_0x295f5d(0x16e)],null,[],this[_0x295f5d(0x2bd)],[],this[_0x295f5d(0xbd)]);this[_0x295f5d(0x36f)]();const _0xa2ae0=this['_injector'][_0x295f5d(0x37b)](Ne,this[_0x295f5d(0x135)],this[_0x295f5d(0x16e)],this[_0x295f5d(0xbd)]);return _0xa2ae0[_0x295f5d(0x361)](),_0xa2ae0;}['onRemoteRej'](_0x35e6a2){var _0x44c842=_0x3b7310;return this[_0x44c842(0x2cc)](!!(_0x35e6a2!=null&&_0x35e6a2['isPermissionRej']));}[_0x3b7310(0x11b)](_0x16ad46){var _0x176ae8=_0x3b7310;return this[_0x176ae8(0x1de)]>yi?this[_0x176ae8(0x2c6)]():(this[_0x176ae8(0x111)]=Ri(this[_0x176ae8(0x1de)],{'timeout':this['_resendTimeout'],'reqId':_0x16ad46['reqId']}),this[_0x176ae8(0x166)]=this[_0x176ae8(0x111)][_0x176ae8(0x247)](({reqId:_0x4217f4,timeout:_0x2373b8})=>{var _0x425fca=_0x176ae8;this[_0x425fca(0xe3)](_0x4217f4,_0x2373b8);}),this);}['toggleOffline'](){var _0x1fffc0=_0x3b7310;return this[_0x1fffc0(0x308)](),this[_0x1fffc0(0x145)]['createInstance'](de,this[_0x1fffc0(0x135)],this['type'],this[_0x1fffc0(0x2bd)],[],this[_0x1fffc0(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x113)](){var _0x3ad8c3=_0x3b7310;this[_0x3ad8c3(0xbd)][_0x3ad8c3(0x2b6)](this[_0x3ad8c3(0x2bd)]);}[_0x3b7310(0x2cc)](_0x129cac){var _0xd7e5d7=_0x3b7310;return this[_0xd7e5d7(0x308)](),this[_0xd7e5d7(0x145)][_0xd7e5d7(0x37b)](ue,this[_0xd7e5d7(0x135)],this[_0xd7e5d7(0x16e)],this[_0xd7e5d7(0x2bd)],[],this[_0xd7e5d7(0xbd)],_0x129cac);}['_resendWithTimeout'](_0xa95cb6,_0x160205){var _0x5695db=_0x3b7310,_0x5ae461;_0xa95cb6===((_0x5ae461=this[_0x5695db(0x2bd)])==null?void 0x0:_0x5ae461[_0x5695db(0x14a)])&&(this[_0x5695db(0x113)](),this['_resendTimeout']=_0x160205===0x0?0x3e8:_0x160205*0x2);}[_0x3b7310(0x308)](){var _0x2debb0=_0x3b7310,_0x3cf7d9;(_0x3cf7d9=this['_sender'])==null||_0x3cf7d9['unsubscribe'](),this[_0x2debb0(0x1de)]=0x0;}};le=Te([P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x419509(_0x3bf5fe)),P(0x6,_0x1ab65f),P(0x7,_0x2e40a9),P(0x8,_0xcdffcf),P(0x9,_0x4d6f06),P(0xa,_0x21c4ab(J))],le);let ae=class extends Ce{constructor(_0x19aadc,_0x3e15d8,_0x53894e,_0x3f572b,_0x4010cd,_0x28c99c,_0x34fe2,_0x476590,_0x56d43c,_0x5e722f,_0xddd11c,_0x263735,_0x432338){var _0x20a933=_0x3b7310;super(_0x19aadc,_0x3e15d8,_0x53894e,_0x3f572b,_0x4010cd,_0x56d43c,_0x263735,_0x476590,_0x432338),N(this,'status','awaiting_with_pending'),N(this,_0x20a933(0x1de),0x0),N(this,_0x20a933(0x111)),N(this,_0x20a933(0x166)),(this[_0x20a933(0x145)]=_0x34fe2,this[_0x20a933(0x330)]=_0x5e722f,this[_0x20a933(0x25b)]=_0xddd11c,this[_0x20a933(0xdf)]=_0x432338,_0x28c99c&&(this[_0x20a933(0x111)]=_0x28c99c,this[_0x20a933(0x166)]=this[_0x20a933(0x111)]['subscribe'](({reqId:_0x2e9a88,timeout:_0x557259})=>{this['_resendWithTimeout'](_0x2e9a88,_0x557259);})));}[_0x3b7310(0x2ef)](_0x18c60c){var _0x3bb6d8=_0x3b7310;return this['_pendingMutations'][_0x3bb6d8(0x304)](_0x18c60c),this;}['onRemoteChangeset'](_0x172ee8){var _0x171beb=_0x3b7310;if(this[_0x171beb(0x37d)](_0x172ee8))return this['_clearScheduledTask'](),this[_0x171beb(0x145)][_0x171beb(0x37b)](ee,this[_0x171beb(0x135)],this[_0x171beb(0x16e)],this[_0x171beb(0x2bd)],this[_0x171beb(0xf3)],null,[_0x172ee8],this[_0x171beb(0xbd)]);try{const _0xd80175=this[_0x171beb(0x25b)][_0x171beb(0x2d9)]([_0x172ee8],[this[_0x171beb(0x2bd)]],!0x1);if(_0x2eedf1(_0xd80175)){const {c1Prime:_0x2fc708,c2Prime:_0x3a0693}=_0xd80175,_0x52e114=this[_0x171beb(0x25b)][_0x171beb(0x2da)](_0x2fc708[0x0],this['_pendingMutations']);if(_0x4ceef6(_0x52e114)){const {c1Prime:_0x867446,m2Prime:_0x3ac299}=_0x52e114;return this[_0x171beb(0x1c0)](_0x867446),_0x3a0693[0x0][_0x171beb(0x146)]=this['_getCurrentRevision'](),this[_0x171beb(0x308)](),this[_0x171beb(0x145)][_0x171beb(0x37b)](ae,this[_0x171beb(0x135)],this[_0x171beb(0x16e)],_0x3a0693[0x0],_0x3ac299,this[_0x171beb(0xbd)],void 0x0);}throw _0x52e114[_0x171beb(0x399)];}throw _0xd80175['error'];}catch(_0x4797a9){return this[_0x171beb(0x330)][_0x171beb(0x399)](_0x4797a9),this[_0x171beb(0x2cc)](!0x1);}}['onRemoteAck'](_0x5ce2af){var _0x310e61=_0x3b7310;if(this[_0x310e61(0x308)](),this[_0x310e61(0x37d)](_0x5ce2af))return this[_0x310e61(0x145)][_0x310e61(0x37b)](ee,this[_0x310e61(0x135)],this[_0x310e61(0x16e)],null,this[_0x310e61(0xf3)],this[_0x310e61(0x2bd)],[],this[_0x310e61(0xbd)]);this[_0x310e61(0x36f)]();const _0x97bdd4=this[_0x310e61(0x145)][_0x310e61(0x37b)](oe,this[_0x310e61(0x135)],this[_0x310e61(0x16e)],this[_0x310e61(0xf3)],this[_0x310e61(0xbd)]);return _0x97bdd4[_0x310e61(0x364)](),_0x97bdd4[_0x310e61(0x361)](),_0x97bdd4;}[_0x3b7310(0x1fb)](_0x3ef9d9){var _0x177da8=_0x3b7310;return this['_onConflict'](!!(_0x3ef9d9!=null&&_0x3ef9d9[_0x177da8(0x23d)]));}[_0x3b7310(0x11b)](_0x543dcd){var _0xe24ab8=_0x3b7310;return this[_0xe24ab8(0x1de)]>yi?this[_0xe24ab8(0x2c6)]():(this[_0xe24ab8(0x111)]=Ri(this[_0xe24ab8(0x1de)],{'timeout':this[_0xe24ab8(0x1de)],'reqId':_0x543dcd[_0xe24ab8(0x14a)]}),this[_0xe24ab8(0x166)]=this[_0xe24ab8(0x111)][_0xe24ab8(0x247)](({reqId:_0x442944,timeout:_0x4a3ce7})=>{var _0x2dffbb=_0xe24ab8;this[_0x2dffbb(0xe3)](_0x442944,_0x4a3ce7);}),this);}[_0x3b7310(0x2c6)](){var _0xc77e92=_0x3b7310;return this['_clearScheduledTask'](),this['_injector'][_0xc77e92(0x37b)](de,this[_0xc77e92(0x135)],this[_0xc77e92(0x16e)],this[_0xc77e92(0x2bd)],this[_0xc77e92(0xf3)],this[_0xc77e92(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x113)](){var _0x28967a=_0x3b7310;this[_0x28967a(0xbd)][_0x28967a(0x2b6)](this[_0x28967a(0x2bd)]);}['_onConflict'](_0x4cfd3c){var _0x16107f=_0x3b7310;return this[_0x16107f(0x308)](),this[_0x16107f(0x145)][_0x16107f(0x37b)](ue,this[_0x16107f(0x135)],this['type'],null,this[_0x16107f(0xf3)],this['_handler'],_0x4cfd3c);}[_0x3b7310(0xe3)](_0x50fc14,_0x549946){var _0x98f889=_0x3b7310,_0x55f561;_0x50fc14===((_0x55f561=this['_awaitingChangeset'])==null?void 0x0:_0x55f561[_0x98f889(0x14a)])&&(this[_0x98f889(0x113)](),this['_resendTimeout']=_0x549946===0x0?0x3e8:_0x549946*0x2);}[_0x3b7310(0x308)](){var _0x4cfb37=_0x3b7310,_0x12479a;(_0x12479a=this['_sender'])==null||_0x12479a[_0x4cfb37(0x1e5)](),this[_0x4cfb37(0x1de)]=0x0;}};ae=Te([P(0x6,_0x419509(_0x33a94f)),P(0x7,_0x419509(_0x3bf5fe)),P(0x8,_0x1ab65f),P(0x9,_0x2e40a9),P(0xa,_0xcdffcf),P(0xb,_0x4d6f06),P(0xc,_0x21c4ab(J))],ae);let ue=class extends Ce{constructor(_0xf88c0e,_0x122cb9,_0x3a48ad,_0x109874,_0x3182e1,_0x29fcb5=!0x1,_0x442298,_0x20492f,_0x56e0d7,_0x2cc4f0,_0x184766,_0x4a96d9,_0x18d310){var _0x32d92f=_0x3b7310;super(_0xf88c0e,_0x122cb9,_0x3a48ad,_0x109874,_0x3182e1,_0x20492f,_0x56e0d7,_0x2cc4f0,_0x18d310),N(this,'status','conflict'),(this[_0x32d92f(0x228)]=_0x29fcb5,this[_0x32d92f(0x2d3)]=_0x442298,this[_0x32d92f(0x31a)]=_0x184766,this[_0x32d92f(0x102)]=_0x4a96d9,this[_0x32d92f(0xdf)]=_0x18d310,this['_showConflictNotification'](),this[_0x32d92f(0x38c)](),this[_0x32d92f(0x24c)]());}['appendMutation'](){return this;}[_0x3b7310(0x1ed)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){return this;}['toggleOnline'](){return this;}[_0x3b7310(0x113)](){var _0x3955fe=_0x3b7310;throw new Error(_0x3955fe(0x32b));}[_0x3b7310(0x38c)](){var _0x2505c1=_0x3b7310,_0x1a4c77;(_0x1a4c77=this[_0x2505c1(0x2a7)])==null||_0x1a4c77[_0x2505c1(0x296)](this['unitID'],this[_0x2505c1(0x16e)],null,[]);}['_showConflictNotification'](){var _0x574b0a=_0x3b7310;this[_0x574b0a(0x228)]?this[_0x574b0a(0x102)]['emitEvent']({'id':se[_0x574b0a(0x32a)]}):this[_0x574b0a(0x102)][_0x574b0a(0x2bc)]({'id':se[_0x574b0a(0x334)]});}[_0x3b7310(0x24c)](){var _0x1fa783=_0x3b7310;this[_0x1fa783(0x2d3)][_0x1fa783(0x2c7)](new _0x251d98(this[_0x1fa783(0x135)])['id'],!0x1);}};ue=Te([P(0x6,_0x419509(_0x373f2c)),P(0x7,_0x1ab65f),P(0x8,_0x4d6f06),P(0x9,_0x419509(_0x3bf5fe)),P(0xa,_0x419509(_0x503d26)),P(0xb,_0x419509(pe)),P(0xc,_0x21c4ab(J))],ue);let de=class extends Ce{constructor(_0x3f74ac,_0x3a2b20,_0x2810e9,_0x4058f1,_0x252f10,_0x1a110e,_0x448ea7,_0x4ad680,_0x2832d8,_0x1c4d86){var _0x4f0443=_0x3b7310;super(_0x3f74ac,_0x3a2b20,_0x2810e9,_0x4058f1,_0x252f10,_0x4ad680,_0x2832d8,_0x448ea7,_0x1c4d86),N(this,_0x4f0443(0x163),'offline'),this[_0x4f0443(0x145)]=_0x1a110e;}[_0x3b7310(0x2ef)](_0x1b4c68){var _0x5ae8c4=_0x3b7310;return this[_0x5ae8c4(0xf3)]['push'](_0x1b4c68),this[_0x5ae8c4(0x361)](),this;}[_0x3b7310(0x1ed)](_0x1f165a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3b7310(0x175)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3b7310(0x1fb)](){var _0x2bfd47=_0x3b7310;throw new Error(_0x2bfd47(0x341));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){return this;}[_0x3b7310(0x39c)](){const {_injector:_0x3bc419,_pendingMutations:_0x471923,_awaitingChangeset:_0x1ca67c,unitID:_0x393532,_handler:_0x246bc3,type:_0x2e8ec2}=this,_0x509b11=Oi(_0x3bc419,_0x393532,_0x2e8ec2,_0x1ca67c,_0x471923,_0x246bc3);return _0x509b11 instanceof oe?_0x509b11['_schedule']():(_0x509b11 instanceof ae||_0x509b11 instanceof le)&&_0x509b11['resend'](),_0x509b11;}[_0x3b7310(0x113)](){var _0x438283=_0x3b7310;throw new Error(_0x438283(0x13f));}};de=Te([P(0x5,_0x419509(_0x33a94f)),P(0x6,_0x419509(_0x3bf5fe)),P(0x7,_0x1ab65f),P(0x8,_0x4d6f06),P(0x9,_0x21c4ab(J))],de);let ee=class extends Ce{constructor(_0x2a29d9,_0x301baa,_0xbb356,_0x2d05d5,_0x4c9a36,_0x16af0a,_0x51b9db,_0x4827d3,_0x44140b,_0x5b8d6b,_0x4feb98,_0x26d82b,_0x4bff71,_0x175f6b){var _0xae17de=_0x3b7310;super(_0x2a29d9,_0x301baa,_0xbb356,_0x2d05d5,_0x51b9db,_0x4feb98,_0x26d82b,_0x44140b,_0x175f6b),N(this,_0xae17de(0x163),'fetch_missing'),(this[_0xae17de(0x300)]=_0x4c9a36,this[_0xae17de(0x213)]=_0x16af0a,this[_0xae17de(0x145)]=_0x4827d3,this[_0xae17de(0x330)]=_0x5b8d6b,this[_0xae17de(0x25b)]=_0x4bff71,this[_0xae17de(0xdf)]=_0x175f6b);}['onMissedChangesetFetched'](_0x1d7bf2){var _0x1a05dc=_0x3b7310;try{const _0x43739d=[..._0x1d7bf2,...this[_0x1a05dc(0x213)]],_0x5b3759=[this[_0x1a05dc(0x2bd)]||this[_0x1a05dc(0x300)]][_0x1a05dc(0x1ba)](_0x506608=>!!_0x506608);let _0x5928e5,_0xee7ff4;if(_0x5b3759[_0x1a05dc(0x316)]){const _0x3e996f=this[_0x1a05dc(0x25b)][_0x1a05dc(0x2d9)](_0x43739d,_0x5b3759,!0x1);if(!_0x2eedf1(_0x3e996f))throw _0x3e996f[_0x1a05dc(0x399)];_0x5928e5=_0x3e996f[_0x1a05dc(0x26c)],_0xee7ff4=_0x3e996f[_0x1a05dc(0x2f7)];}else _0x5928e5=_0x43739d,_0xee7ff4=[];let _0x268101=this['_pendingMutations'];_0x5928e5[_0x1a05dc(0x109)](_0x1fd821=>{var _0x43fe90=_0x1a05dc;let _0x2b7659;if(_0x268101[_0x43fe90(0x316)]){const _0x12d7ec=this[_0x43fe90(0x25b)][_0x43fe90(0x2da)](_0x1fd821,_0x268101);if(!_0x4ceef6(_0x12d7ec))throw _0x12d7ec[_0x43fe90(0x399)];_0x2b7659=_0x12d7ec[_0x43fe90(0x26c)],_0x268101=_0x12d7ec['m2Prime'];}else _0x2b7659=_0x1fd821;this[_0x43fe90(0x1c0)](_0x2b7659);}),this[_0x1a05dc(0x300)]&&this[_0x1a05dc(0x36f)](),this[_0x1a05dc(0x2bd)]&&_0xee7ff4[_0x1a05dc(0x316)]&&(_0xee7ff4[0x0][_0x1a05dc(0x146)]=this['_getCurrentRevision']());let _0x3d1cad;if(this[_0x1a05dc(0x2bd)]&&_0x268101[_0x1a05dc(0x316)]!==0x0)_0x3d1cad=this['_injector'][_0x1a05dc(0x37b)](ae,this[_0x1a05dc(0x135)],this['type'],_0xee7ff4[0x0],_0x268101,this[_0x1a05dc(0xbd)],void 0x0);else{if(this[_0x1a05dc(0x2bd)]&&_0x268101[_0x1a05dc(0x316)]===0x0)_0xee7ff4[0x0][_0x1a05dc(0x146)]=this[_0x1a05dc(0x1e9)](),_0x3d1cad=this['_injector'][_0x1a05dc(0x37b)](le,this[_0x1a05dc(0x135)],this[_0x1a05dc(0x16e)],_0xee7ff4[0x0],this[_0x1a05dc(0xbd)]);else{if(_0x268101['length']!==0x0){const _0x4dd7d3=this['_injector'][_0x1a05dc(0x37b)](oe,this[_0x1a05dc(0x135)],this[_0x1a05dc(0x16e)],_0x268101,this[_0x1a05dc(0xbd)]);_0x4dd7d3[_0x1a05dc(0x364)](),_0x3d1cad=_0x4dd7d3;}else _0x3d1cad=this[_0x1a05dc(0x145)][_0x1a05dc(0x37b)](Ne,this['unitID'],this['type'],this[_0x1a05dc(0xbd)]);}}return _0x3d1cad['_updateLocalCache'](),_0x3d1cad;}catch(_0x521c88){return this[_0x1a05dc(0x330)][_0x1a05dc(0x399)](_0x1a05dc(0xb5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x521c88),this[_0x1a05dc(0x145)][_0x1a05dc(0x37b)](ue,this['unitID'],this[_0x1a05dc(0x16e)],this['_awaitingChangeset'],this[_0x1a05dc(0xf3)],this[_0x1a05dc(0xbd)],!0x1);}}[_0x3b7310(0x113)](){var _0x5f0a9d=_0x3b7310;throw new Error(_0x5f0a9d(0x353));}['appendMutation'](_0x356724){var _0x5808e0=_0x3b7310;return this[_0x5808e0(0xf3)]['push'](_0x356724),this;}['onRemoteChangeset'](_0x1e49ec){var _0x50b1aa=_0x3b7310;return this[_0x50b1aa(0x213)][_0x50b1aa(0x304)](_0x1e49ec),this;}[_0x3b7310(0x175)](_0x292b08){var _0x2b9245=_0x3b7310;if(this[_0x2b9245(0x2bd)])return this[_0x2b9245(0x300)]=this[_0x2b9245(0x2bd)],this[_0x2b9245(0x2bd)]=null,this;throw new Error(_0x2b9245(0x355));}[_0x3b7310(0x1fb)](_0x396e3a){var _0x13dd1c=_0x3b7310;return this[_0x13dd1c(0x2cc)](!!(_0x396e3a!=null&&_0x396e3a['isPermissionRej']));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){var _0x38aee=_0x3b7310;return this[_0x38aee(0x145)][_0x38aee(0x37b)](de,this[_0x38aee(0x135)],this['type'],this[_0x38aee(0x2bd)],this[_0x38aee(0xf3)],this[_0x38aee(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x2cc)](_0xa24aaa){var _0x2e0bed=_0x3b7310;return this[_0x2e0bed(0x145)][_0x2e0bed(0x37b)](ue,this['unitID'],this[_0x2e0bed(0x16e)],this[_0x2e0bed(0x2bd)],this[_0x2e0bed(0xf3)],this[_0x2e0bed(0xbd)],_0xa24aaa);}};ee=Te([P(0x7,_0x419509(_0x33a94f)),P(0x8,_0x419509(_0x3bf5fe)),P(0x9,_0x2e40a9),P(0xa,_0x1ab65f),P(0xb,_0x4d6f06),P(0xc,_0xcdffcf),P(0xd,_0x21c4ab(J))],ee);function Oi(_0x4f382f,_0x1d31d5,_0x30e11f,_0x1b060e,_0x3dd5ba,_0x266638){var _0x544ac3=_0x3b7310;return _0x1b060e&&_0x3dd5ba['length']?_0x4f382f[_0x544ac3(0x37b)](ae,_0x1d31d5,_0x30e11f,_0x1b060e,_0x3dd5ba,_0x266638,void 0x0):_0x1b060e?_0x4f382f[_0x544ac3(0x37b)](le,_0x1d31d5,_0x30e11f,_0x1b060e,_0x266638):_0x3dd5ba[_0x544ac3(0x316)]?_0x4f382f['createInstance'](oe,_0x1d31d5,_0x30e11f,_0x3dd5ba,_0x266638):_0x4f382f[_0x544ac3(0x37b)](Ne,_0x1d31d5,_0x30e11f,_0x266638);}var on=Object['getOwnPropertyDescriptor'],xt=(_0x41ccbf,_0x353c4e,_0x40ff0b,_0x4bca10)=>{for(var _0x2a51fd=_0x4bca10>0x1?void 0x0:_0x4bca10?on(_0x353c4e,_0x40ff0b):_0x353c4e,_0x557a53=_0x41ccbf['length']-0x1,_0x25db71;_0x557a53>=0x0;_0x557a53--)(_0x25db71=_0x41ccbf[_0x557a53])&&(_0x2a51fd=_0x25db71(_0x2a51fd)||_0x2a51fd);return _0x2a51fd;},H=(_0x1b6c0a,_0x23ec62)=>(_0x1c4710,_0x4e5358)=>_0x23ec62(_0x1c4710,_0x4e5358,_0x1b6c0a);let rt=class extends _0x3f9fed{constructor(_0x350597,_0x155be1,_0x59c35a,_0x1846a8,_0x3fdff9,_0x4753c8,_0x58e789,_0x7bf30a,_0x281ca3,_0x312bbe,_0x14a928,_0x32425c,_0x126c39){var _0x474fe1=_0x3b7310;super(),N(this,_0x474fe1(0x309),new _0x31cf27(null)),N(this,_0x474fe1(0x360),this['_state$'][_0x474fe1(0x2bf)]()),N(this,_0x474fe1(0x25d)),N(this,_0x474fe1(0x35e),!0x1),N(this,_0x474fe1(0x249),''),N(this,_0x474fe1(0x2ff),0x0),N(this,_0x474fe1(0x1d5),this[_0x474fe1(0x360)][_0x474fe1(0x2d2)](_0x3b2e8f(_0x123f9f=>_0x123f9f?_0x123f9f[_0x474fe1(0x163)]:bi[_0x474fe1(0x388)]),_0x2333ec(0x1))),N(this,_0x474fe1(0x10e),!0x1),N(this,_0x474fe1(0x298),[]),(this[_0x474fe1(0x135)]=_0x350597,this[_0x474fe1(0x159)]=_0x155be1,this[_0x474fe1(0x335)]=_0x59c35a,this[_0x474fe1(0x145)]=_0x1846a8,this[_0x474fe1(0x302)]=_0x3fdff9,this[_0x474fe1(0x31a)]=_0x4753c8,this[_0x474fe1(0x238)]=_0x58e789,this[_0x474fe1(0x1ab)]=_0x7bf30a,this[_0x474fe1(0x330)]=_0x281ca3,this[_0x474fe1(0xe1)]=_0x312bbe,this[_0x474fe1(0x2d3)]=_0x14a928,this[_0x474fe1(0x34c)]=_0x32425c,this['_localCacheService']=_0x126c39);}get[_0x3b7310(0x1f4)](){return this['_state'];}async[_0x3b7310(0x1fd)](){var _0xa447a3=_0x3b7310;if(this[_0xa447a3(0x1f4)])throw new Error(_0xa447a3(0xd2));await this['_init']();}[_0x3b7310(0xda)](){var _0x312e8b=_0x3b7310;return this[_0x312e8b(0x35e)]=!0x0,_0x47f1eb(()=>{var _0x4c5e28=_0x312e8b;this[_0x4c5e28(0x35e)]=!0x1,this[_0x4c5e28(0x2dd)]();});}[_0x3b7310(0x291)](_0x124edc){var _0x1622b0=_0x3b7310;this[_0x1622b0(0xce)](_0x124edc);}['_updateState'](_0x3b41a6){var _0x557166=_0x3b7310;this[_0x557166(0x25d)]=_0x3b41a6,this[_0x557166(0x309)][_0x557166(0x2a5)](_0x3b41a6);}async[_0x3b7310(0xcb)](){var _0x13df49=_0x3b7310,_0x366ec1;this[_0x13df49(0x10d)](await this['_createInitialState']()),this[_0x13df49(0x34c)]&&((_0x366ec1=this[_0x13df49(0x34c)])==null||_0x366ec1[_0x13df49(0x116)](this[_0x13df49(0x135)]),this[_0x13df49(0x184)](this[_0x13df49(0x34c)][_0x13df49(0x112)](this['unitID'])[_0x13df49(0x247)](_0x246c13=>{var _0x103e6a=_0x13df49;this[_0x103e6a(0x330)][_0x103e6a(0x2e8)](_0x103e6a(0x18c),_0x103e6a(0x22b),_0x246c13),_0x246c13===Ci[_0x103e6a(0x237)]?(this[_0x103e6a(0x1ab)][_0x103e6a(0x2bc)]({'id':se[_0x103e6a(0x257)]}),this[_0x103e6a(0x2d3)][_0x103e6a(0x2c7)](new _0x251d98(this[_0x103e6a(0x135)])['id'],!0x1),this[_0x103e6a(0x2d3)]['setShowComponents'](!0x1)):(this[_0x103e6a(0x2d3)][_0x103e6a(0x2c7)](new _0x251d98(this[_0x103e6a(0x135)])['id'],!0x0),this[_0x103e6a(0x2d3)][_0x103e6a(0x2a2)](!0x0));})));let _0x4bc602=!0x1;return this[_0x13df49(0x184)](this[_0x13df49(0x159)]['sessionStatus$'][_0x13df49(0x247)](_0x515414=>{var _0x131220=_0x13df49;_0x515414===Ee[_0x131220(0x1ec)]?this[_0x131220(0x320)](_0x4bc602):_0x515414===Ee[_0x131220(0x388)]&&(_0x4bc602=!0x0,this[_0x131220(0xae)]());})),this[_0x13df49(0x184)](this[_0x13df49(0x159)][_0x13df49(0x178)]['subscribe'](_0x4abd33=>{var _0x566ae4=_0x13df49;try{switch(_0x4abd33[_0x566ae4(0xe7)]){case _0x502491[_0x566ae4(0x1d2)]:{this[_0x566ae4(0x1da)](_0x46451d(_0x4abd33[_0x566ae4(0x185)]));break;}case _0x502491[_0x566ae4(0x105)]:{this[_0x566ae4(0x267)](_0x4abd33[_0x566ae4(0x185)]);break;}case _0x502491[_0x566ae4(0x1f3)]:{this[_0x566ae4(0x28b)]();break;}case _0x502491[_0x566ae4(0x22d)]:{this[_0x566ae4(0x2d5)](_0x4abd33['data']);break;}case _0x502491[_0x566ae4(0x29d)]:{this['_onFetchMissResult'](_0x4abd33['data'][_0x566ae4(0x120)][_0x566ae4(0x2b9)](_0x51824b=>_0x46451d(_0x51824b)));break;}case _0x502491[_0x566ae4(0x348)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x502491[_0x566ae4(0x2d8)]:break;}}catch(_0x16e470){throw console[_0x566ae4(0x399)](_0x566ae4(0x2ab),_0x16e470),_0x16e470;}})),this[_0x13df49(0x25d)];}['_unlockTransition'](){var _0x5199f3=_0x3b7310;this[_0x5199f3(0x10e)]=!0x1;}[_0x3b7310(0xeb)](){var _0x3d7310=_0x3b7310;if(this[_0x3d7310(0x10e)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3d7310(0x10e)]=!0x0;}[_0x3b7310(0xce)](_0x553748){var _0x4c3659=_0x3b7310;this['_lockTransition'](),this['_updateState'](this[_0x4c3659(0x25d)][_0x4c3659(0x2ef)](_0x553748)),this[_0x4c3659(0xea)]();}[_0x3b7310(0x1da)](_0x37ce11){var _0x4e3294=_0x3b7310;if(!(_0x37ce11['revision']<=this[_0x4e3294(0x238)][_0x4e3294(0x347)](this[_0x4e3294(0x135)]))){if(this['_collaborationPaused']){this[_0x4e3294(0x298)][_0x4e3294(0x304)](_0x37ce11);return;}this[_0x4e3294(0x2b5)](_0x37ce11);}}[_0x3b7310(0x2dd)](){var _0x1abbe7=_0x3b7310;this[_0x1abbe7(0x298)][_0x1abbe7(0x109)](_0x4bb36d=>this[_0x1abbe7(0x2b5)](_0x4bb36d)),this[_0x1abbe7(0x298)]=[];}[_0x3b7310(0x2b5)](_0x453041){var _0x3126b0=_0x3b7310;const _0xaac7d=this[_0x3126b0(0x302)]['interceptor'][_0x3126b0(0xed)](this[_0x3126b0(0x302)][_0x3126b0(0x263)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x453041[_0x3126b0(0x28a)],null)||_0x453041[_0x3126b0(0x28a)],_0x29e903={..._0x453041,'mutations':_0xaac7d};this[_0x3126b0(0xeb)](),this['_updateState'](this[_0x3126b0(0x25d)][_0x3126b0(0x1ed)](_0x29e903)),this['_unlockTransition']();}[_0x3b7310(0x267)](_0x16af17){var _0x48c1cc=_0x3b7310;this[_0x48c1cc(0xeb)](),this[_0x48c1cc(0x10d)](this[_0x48c1cc(0x25d)][_0x48c1cc(0x175)](_0x16af17)),this[_0x48c1cc(0xea)]();}[_0x3b7310(0x28b)](_0x236136){var _0x54d0c1=_0x3b7310;this['_lockTransition'](),this['_updateState'](this[_0x54d0c1(0x25d)][_0x54d0c1(0x1fb)](_0x236136)),this[_0x54d0c1(0xea)]();}[_0x3b7310(0x2d5)](_0x35a471){var _0x400c11=_0x3b7310;this[_0x400c11(0xeb)](),this[_0x400c11(0x10d)](this[_0x400c11(0x25d)][_0x400c11(0x11b)](_0x35a471)),this['_unlockTransition']();}[_0x3b7310(0x1dc)](_0x2a52d5){var _0x2810d6=_0x3b7310;if(!(this[_0x2810d6(0x25d)]instanceof ee))throw new TypeError(_0x2810d6(0x2c8));const _0x49740a=_0x2a52d5[_0x2810d6(0x2b9)](_0x2ac6c2=>{var _0x1f743b=_0x2810d6;const _0x5f4818=this['_compressMutationService'][_0x1f743b(0x263)][_0x1f743b(0xed)](this[_0x1f743b(0x302)][_0x1f743b(0x263)][_0x1f743b(0x303)]()[_0x1f743b(0x20b)])(_0x2ac6c2['mutations'],null)||_0x2ac6c2[_0x1f743b(0x28a)];return{..._0x2ac6c2,'mutations':_0x5f4818};});this[_0x2810d6(0xeb)](),this[_0x2810d6(0x10d)](this['_state'][_0x2810d6(0x18f)](_0x49740a)),this[_0x2810d6(0xea)]();}[_0x3b7310(0xae)](){var _0x4a6a8f=_0x3b7310;this[_0x4a6a8f(0xeb)](),this[_0x4a6a8f(0x10d)](this[_0x4a6a8f(0x25d)][_0x4a6a8f(0x2c6)]()),this[_0x4a6a8f(0xea)]();}[_0x3b7310(0x320)](_0x290a7a=!0x1){var _0x2bf783=_0x3b7310;this['_lockTransition'](),this[_0x2bf783(0x10d)](this[_0x2bf783(0x25d)][_0x2bf783(0x39c)]()),this[_0x2bf783(0xea)]();const _0x1e0606=this['_state'];_0x290a7a&&_0x1e0606 instanceof Ne&&(this[_0x2bf783(0xeb)](),this[_0x2bf783(0x10d)](_0x1e0606[_0x2bf783(0x1a7)]()),this['_unlockTransition']());}async[_0x3b7310(0x395)](){return new Promise(_0x1311ae=>{var _0x4be5ae=_0x5c5f;this[_0x4be5ae(0x159)][_0x4be5ae(0x258)]['pipe'](_0x473e6b(0x1))['subscribe'](async _0x53a7e8=>{var _0x46a007=_0x4be5ae;_0x1311ae(await this[_0x46a007(0x345)](_0x53a7e8===Ee[_0x46a007(0x1ec)]));});});}[_0x3b7310(0xe5)](){var _0x300329=_0x3b7310;const _0x32382a=this[_0x300329(0x135)];return{'onStateChange':(_0x696696,_0xbe2959)=>{var _0x5beec4=_0x300329;if(_0x696696!==this[_0x5beec4(0x25d)])throw new Error(_0x5beec4(0x162)+_0x696696[_0x5beec4(0x163)]+'\x0aAfter:\x20'+_0xbe2959[_0x5beec4(0x163)]+'\x0aCurrent:\x20'+this[_0x5beec4(0x25d)][_0x5beec4(0x163)]);this[_0x5beec4(0x10d)](_0xbe2959);},'onSendChangeset':_0x975a75=>{var _0x355e01=_0x300329;_0x975a75[_0x355e01(0x350)]||(_0x975a75[_0x355e01(0x350)]=this[_0x355e01(0x249)],_0x975a75[_0x355e01(0x14a)]=++this[_0x355e01(0x2ff)]);const _0x235274={'eventID':_0x502491[_0x355e01(0x1ad)],'data':{'unitID':_0x975a75[_0x355e01(0x135)],'unitType':this[_0x355e01(0x335)],'changeset':_0x975a75,'memberID':this['session'][_0x355e01(0x318)]()}};this[_0x355e01(0x159)][_0x355e01(0x19f)](_0x235274,this['unitID']);},'onMissingChangesets':({from:_0x41e6db,to:_0x2ff3f5})=>{var _0xec009e=_0x300329;this[_0xec009e(0x330)]['debug'](_0xec009e(0x18c),_0xec009e(0x2bb)+_0x41e6db+'\x20to\x20'+_0x2ff3f5);const _0x31ba09={'eventID':_0x502491['FETCH_MISSING'],'data':{'unitID':_0x32382a,'unitType':this[_0xec009e(0x335)],'from':_0x41e6db,'to':_0x2ff3f5}};this[_0xec009e(0x159)]['send'](_0x31ba09,this[_0xec009e(0x135)]);}};}async[_0x3b7310(0x345)](_0x225aac){var _0x2b202a=_0x3b7310,_0xb3b85b,_0x13ba18,_0x37cf9d;const _0x294e76=await((_0xb3b85b=this[_0x2b202a(0x2a7)])==null?void 0x0:_0xb3b85b[_0x2b202a(0x1a3)](this['unitID'])),_0x464368=(_0x13ba18=_0x294e76==null?void 0x0:_0x294e76[_0x2b202a(0x28a)])!=null?_0x13ba18:[],_0x4506a1=(_0x37cf9d=_0x294e76==null?void 0x0:_0x294e76['awaitingChangeset'])!=null?_0x37cf9d:null,_0x49e26a=!!(_0x4506a1!=null&&_0x4506a1[_0x2b202a(0x350)])&&!!(_0x4506a1!=null&&_0x4506a1['reqId']);this[_0x2b202a(0x249)]=_0x49e26a?_0x4506a1['sid']:Xr(),this[_0x2b202a(0x2ff)]=_0x49e26a?_0x4506a1[_0x2b202a(0x14a)]:0x0;const _0x4f92e4=this['unitID'];try{this[_0x2b202a(0x389)](_0x4506a1,_0x464368);}catch(_0x3369dd){this['_logService'][_0x2b202a(0x399)](_0x3369dd);}const _0x832563=this[_0x2b202a(0xe5)]();if(_0x225aac){const _0x27df71=Oi(this[_0x2b202a(0x145)],_0x4f92e4,this['_type'],_0x4506a1,_0x464368,_0x832563);return _0x27df71 instanceof oe?_0x27df71['_schedule']():(_0x27df71 instanceof ae||_0x27df71 instanceof le)&&_0x27df71[_0x2b202a(0x113)](),_0x27df71;}return this[_0x2b202a(0x145)]['createInstance'](de,_0x4f92e4,this[_0x2b202a(0x335)],_0x4506a1,_0x464368,_0x832563);}[_0x3b7310(0x389)](_0x3e47f8,_0x2eb97b){var _0x58e2c9=_0x3b7310,_0x508d22,_0x322b40;const _0xc0d4f1=this['_compressMutationService'][_0x58e2c9(0x263)][_0x58e2c9(0xed)](this[_0x58e2c9(0x302)]['interceptor']['getInterceptPoints']()[_0x58e2c9(0x20b)]);(_0x508d22=_0xc0d4f1((_0x3e47f8==null?void 0x0:_0x3e47f8[_0x58e2c9(0x28a)])||[],null))==null||_0x508d22['forEach'](_0x1cd1e2=>this[_0x58e2c9(0xe1)][_0x58e2c9(0x2e2)](_0x1cd1e2['id'],_0x1cd1e2['params'])),(_0x322b40=_0xc0d4f1(_0x2eb97b||[],null))==null||_0x322b40[_0x58e2c9(0x109)](_0x2a3f7a=>this[_0x58e2c9(0xe1)][_0x58e2c9(0x2e2)](_0x2a3f7a['id'],_0x2a3f7a[_0x58e2c9(0xe4)]));}};rt=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(pe)),H(0x8,_0x2e40a9),H(0x9,_0x1ab65f),H(0xa,_0x373f2c),H(0xb,_0x21c4ab(ht)),H(0xc,_0x21c4ab(J))],rt);let It=class extends rt{constructor(_0xddc454,_0x34da4c,_0x591635,_0x1aa1bf,_0x24dfca,_0x13659d,_0xb8d505,_0x12e973,_0x456aaa,_0x49460b,_0x48de13,_0x42b162,_0x467fd4){super(_0xddc454,_0x591635,_0x34da4c,_0x1aa1bf,_0x24dfca,_0x13659d,_0xb8d505,_0x12e973,_0x456aaa,_0x49460b,_0x48de13,_0x42b162,_0x467fd4),N(this,'_handlerCallback',null),(this['unitID']=_0xddc454,this['type']=_0x34da4c);}[_0x3b7310(0x192)](_0x3bd6ed){var _0x1456d1=_0x3b7310;this[_0x1456d1(0x15c)]=_0x3bd6ed;}[_0x3b7310(0x368)](){var _0x18ffdc=_0x3b7310;this['_handlerCallback']=null,super[_0x18ffdc(0x368)]();}[_0x3b7310(0xe5)](){var _0x4cd8de=_0x3b7310;const _0x57f297=super[_0x4cd8de(0xe5)]();return _0x57f297[_0x4cd8de(0xf4)]=_0x2ae4ca=>{var _0x941893=_0x4cd8de,_0x2c3e8d,_0x3d1904;return(_0x3d1904=(_0x2c3e8d=this['_handlerCallback'])==null?void 0x0:_0x2c3e8d[_0x941893(0xf4)])==null?void 0x0:_0x3d1904[_0x941893(0x269)](_0x2c3e8d,_0x2ae4ca);},_0x57f297['onTransformState']=_0xfc5cc9=>{var _0x3a6d2f=_0x4cd8de,_0x282b7e,_0x58cc49;return(_0x58cc49=(_0x282b7e=this[_0x3a6d2f(0x15c)])==null?void 0x0:_0x282b7e[_0x3a6d2f(0x106)])==null?void 0x0:_0x58cc49[_0x3a6d2f(0x269)](_0x282b7e,_0xfc5cc9);},_0x57f297['onTransformSelections']=_0x1c3558=>{var _0x2203d9,_0x5388b5;return(_0x5388b5=(_0x2203d9=this['_handlerCallback'])==null?void 0x0:_0x2203d9['onTransformSelections'])==null?void 0x0:_0x5388b5['call'](_0x2203d9,_0x1c3558);},_0x57f297[_0x4cd8de(0x1c2)]=_0x41a7b5=>{var _0x1afb74=_0x4cd8de,_0x17986d,_0x1f9b1f;return(_0x1f9b1f=(_0x17986d=this[_0x1afb74(0x15c)])==null?void 0x0:_0x17986d['onSyncEditingCollabCursor'])==null?void 0x0:_0x1f9b1f['call'](_0x17986d,_0x41a7b5);},_0x57f297[_0x4cd8de(0xde)]=_0x5e0a0c=>{var _0x3a862d=_0x4cd8de,_0x3d3b82,_0x43a4da,_0x449edf;if(!((_0x3d3b82=this[_0x3a862d(0x15c)])!=null&&_0x3d3b82[_0x3a862d(0xde)]))throw new Error(_0x3a862d(0x1af));return(_0x449edf=(_0x43a4da=this[_0x3a862d(0x15c)])==null?void 0x0:_0x43a4da[_0x3a862d(0xde)])==null?void 0x0:_0x449edf[_0x3a862d(0x269)](_0x43a4da,_0x5e0a0c);},_0x57f297[_0x4cd8de(0x2ae)]=_0x554da5=>{var _0x57a34e=_0x4cd8de,_0x4cbd33,_0xc2423a,_0x6accd7;if(!((_0x4cbd33=this[_0x57a34e(0x15c)])!=null&&_0x4cbd33['onTransformRemoteChangesetByStateCache']))throw new Error(_0x57a34e(0xdb));return(_0x6accd7=(_0xc2423a=this[_0x57a34e(0x15c)])==null?void 0x0:_0xc2423a[_0x57a34e(0x2ae)])==null?void 0x0:_0x6accd7[_0x57a34e(0x269)](_0xc2423a,_0x554da5);},_0x57f297;}async[_0x3b7310(0xcb)](){var _0x181005=_0x3b7310;const _0xc1634a=await super[_0x181005(0xcb)]();return this[_0x181005(0x184)](this[_0x181005(0xe1)][_0x181005(0x2dc)]((_0x56721e,_0x6f3873)=>{var _0x26cc3a=_0x181005;if(_0x56721e[_0x26cc3a(0x16e)]!==_0x3633bf[_0x26cc3a(0x19e)]||_0x6f3873!=null&&_0x6f3873[_0x26cc3a(0x2a4)]||_0x6f3873!=null&&_0x6f3873[_0x26cc3a(0x255)]||_0x56721e['id']===_0x3664c5['id'])return;const _0xd361b2=_0x56721e[_0x26cc3a(0xe4)];if((_0xd361b2==null?void 0x0:_0xd361b2['unitId'])!==this[_0x26cc3a(0x135)])return;const _0x3de7b5=_0x56721e,_0x321dd3=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x26cc3a(0x302)][_0x26cc3a(0x263)][_0x26cc3a(0x303)]()[_0x26cc3a(0x164)])([_0x3de7b5],null)||[_0x3de7b5];this[_0x26cc3a(0xce)](_0x321dd3[0x0]);})),_0xc1634a;}};It=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(pe)),H(0x8,_0x2e40a9),H(0x9,_0x1ab65f),H(0xa,_0x373f2c),H(0xb,_0x21c4ab(ht)),H(0xc,_0x21c4ab(J))],It);let Tt=class extends rt{constructor(_0x48bd29,_0x161f12,_0x2f1555,_0x6a44d9,_0x2bd4b7,_0x16e79f,_0x43e530,_0x5ef200,_0x59af81,_0x5a3dbd,_0x508c86,_0x1e1a09,_0x373ffa,_0x4a5f4f){var _0x973173=_0x3b7310;super(_0x48bd29,_0x2f1555,_0x161f12,_0x6a44d9,_0x2bd4b7,_0x16e79f,_0x43e530,_0x59af81,_0x5a3dbd,_0x508c86,_0x1e1a09,_0x373ffa,_0x4a5f4f),this[_0x973173(0x135)]=_0x48bd29,this[_0x973173(0x16e)]=_0x161f12,this[_0x973173(0x29b)]=_0x5ef200;}[_0x3b7310(0xe5)](){var _0xf2cf17=_0x3b7310;const _0x4e02b8=super[_0xf2cf17(0xe5)]();return _0x4e02b8['onTransformSelections']=_0x39eb8f=>this[_0xf2cf17(0x29b)][_0xf2cf17(0x383)](_0x39eb8f),_0x4e02b8;}async[_0x3b7310(0xcb)](){var _0x4a1475=_0x3b7310;const _0x551aa4=await super[_0x4a1475(0xcb)]();return this[_0x4a1475(0x184)](this[_0x4a1475(0xe1)][_0x4a1475(0x2dc)]((_0x4dad05,_0x43fb14)=>{var _0x1f7786=_0x4a1475;if(_0x4dad05['type']!==_0x3633bf['MUTATION']||_0x43fb14!=null&&_0x43fb14['fromCollab']||_0x43fb14!=null&&_0x43fb14[_0x1f7786(0x255)])return;const _0x289451=_0x4dad05['params'];if((_0x289451==null?void 0x0:_0x289451[_0x1f7786(0x326)])!==this['unitID'])return;const _0x4d9413=_0x4dad05,_0x5a7e62=this[_0x1f7786(0x302)][_0x1f7786(0x263)][_0x1f7786(0xed)](this['_compressMutationService'][_0x1f7786(0x263)]['getInterceptPoints']()[_0x1f7786(0x164)])([_0x4d9413],null)||[_0x4d9413];this[_0x1f7786(0xce)](_0x5a7e62[0x0]);})),_0x551aa4;}};Tt=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(it)),H(0x8,_0x419509(pe)),H(0x9,_0x2e40a9),H(0xa,_0x1ab65f),H(0xb,_0x373f2c),H(0xc,_0x21c4ab(ht)),H(0xd,_0x21c4ab(J))],Tt);var an=Object[_0x3b7310(0x20e)],cn=(_0x4600ef,_0x241e55,_0x350add,_0x559b84)=>{var _0x3789d8=_0x3b7310;for(var _0x1f2ba2=_0x559b84>0x1?void 0x0:_0x559b84?an(_0x241e55,_0x350add):_0x241e55,_0x58f21c=_0x4600ef[_0x3789d8(0x316)]-0x1,_0xe72fb;_0x58f21c>=0x0;_0x58f21c--)(_0xe72fb=_0x4600ef[_0x58f21c])&&(_0x1f2ba2=_0xe72fb(_0x1f2ba2)||_0x1f2ba2);return _0x1f2ba2;},ft=(_0x5d4157,_0x5f30cf)=>(_0x2ca0c2,_0x1e8a8d)=>_0x5f30cf(_0x2ca0c2,_0x1e8a8d,_0x5d4157);let nt=class extends _0x3f9fed{constructor(_0x87a9b7,_0x305ba6,_0x31ebec){var _0x1d7779=_0x3b7310;super(),N(this,'_entities',new Map()),N(this,_0x1d7779(0x1cc),new _0x2898a5()),N(this,_0x1d7779(0x165),this['_entityInit$'][_0x1d7779(0x2bf)]()),(this[_0x1d7779(0x145)]=_0x87a9b7,this[_0x1d7779(0x2c0)]=_0x305ba6,this[_0x1d7779(0x36a)]=_0x31ebec,this[_0x1d7779(0xcb)]());}[_0x3b7310(0x368)](){var _0x1ad4ae=_0x3b7310;super['dispose'](),this[_0x1ad4ae(0x1ca)][_0x1ad4ae(0x109)](_0x2f51df=>_0x2f51df['dispose']()),this[_0x1ad4ae(0x1ca)][_0x1ad4ae(0xc4)]();}[_0x3b7310(0x15a)](_0xc9f1fb){var _0x56c0ae=_0x3b7310,_0x5b7733;return(_0x5b7733=this[_0x56c0ae(0x1ca)][_0x56c0ae(0xf1)](_0xc9f1fb))!=null?_0x5b7733:null;}[_0x3b7310(0x103)](_0x44b069){var _0x52bba9=_0x3b7310;const _0x373705=this[_0x52bba9(0x15a)](_0x44b069);return _0x373705?_0x202106(_0x373705):this[_0x52bba9(0x1cc)][_0x52bba9(0x2d2)](_0x6d3c7d(_0x53b8bc=>_0x53b8bc[_0x52bba9(0x135)]===_0x44b069));}[_0x3b7310(0x206)](_0x1d2042){var _0x266af9=_0x3b7310;return _0x3725c7(this[_0x266af9(0x103)](_0x1d2042)[_0x266af9(0x2d2)](_0x4c799b(()=>{})));}['_init'](){var _0x15e7ff=_0x3b7310;this['_univerInstanceService'][_0x15e7ff(0x131)](_0x53691f[_0x15e7ff(0xe8)])[_0x15e7ff(0x2d2)](_0x194700(this['dispose$']),_0x437b67(0x10))['subscribe'](async _0x176082=>{var _0x26b74d=_0x15e7ff;const _0x1be7cc=_0x176082[_0x26b74d(0x1f5)](),_0x13dd0e=await this['_startCollaboration'](_0x1be7cc,Q['UNIVER_SHEET']);this[_0x26b74d(0x1ca)][_0x26b74d(0x151)](_0x1be7cc,_0x13dd0e);}),this['_univerInstanceService'][_0x15e7ff(0x131)](_0x53691f[_0x15e7ff(0x12b)])[_0x15e7ff(0x2d2)](_0x194700(this[_0x15e7ff(0x340)]),_0x437b67(0x10))[_0x15e7ff(0x2d2)](_0x6d3c7d(_0x547680=>!_0x547680[_0x15e7ff(0x1f5)]()[_0x15e7ff(0x223)]('__')))[_0x15e7ff(0x247)](async _0xd7f955=>{var _0x471f0a=_0x15e7ff;const _0x2b7adf=_0xd7f955[_0x471f0a(0x1f5)](),_0x447579=await this['_startCollaboration'](_0x2b7adf,Q[_0x471f0a(0x12b)]);this[_0x471f0a(0x1ca)][_0x471f0a(0x151)](_0x2b7adf,_0x447579);}),_0x4a0758(this[_0x15e7ff(0x36a)][_0x15e7ff(0x19b)](_0x53691f[_0x15e7ff(0xe8)]),this[_0x15e7ff(0x36a)][_0x15e7ff(0x19b)](_0x53691f[_0x15e7ff(0x12b)]))[_0x15e7ff(0x2d2)](_0x194700(this[_0x15e7ff(0x340)]))[_0x15e7ff(0x247)](_0x2a35a2=>{var _0x1250f0=_0x15e7ff;const _0x1e5a8f=_0x2a35a2[_0x1250f0(0x1f5)](),_0x1147fc=this[_0x1250f0(0x1ca)]['get'](_0x1e5a8f);_0x1147fc&&(_0x1147fc[_0x1250f0(0x368)](),this[_0x1250f0(0x1ca)]['delete'](_0x1e5a8f));});}async['_startCollaboration'](_0x4dd7b0,_0x3b057c){var _0x32a952=_0x3b7310;const _0x3b0dd3=await this['_collabSessionService'][_0x32a952(0x37f)](_0x4dd7b0),_0x448ff3=this[_0x32a952(0x145)][_0x32a952(0x37b)](this[_0x32a952(0x1b0)](_0x3b057c),_0x4dd7b0,_0x3b057c,_0x3b0dd3);return await _0x448ff3['init'](),this[_0x32a952(0x1cc)][_0x32a952(0x2a5)](_0x448ff3),_0x448ff3;}[_0x3b7310(0x1b0)](_0x23901b){var _0x3a8a5c=_0x3b7310;switch(_0x23901b){case Q[_0x3a8a5c(0x12b)]:return It;case Q[_0x3a8a5c(0xe8)]:return Tt;default:throw new Error(_0x3a8a5c(0x1b5)+_0x23901b);}}};nt=cn([ft(0x0,_0x419509(_0x33a94f)),ft(0x1,_0x419509(Le)),ft(0x2,_0x56341d)],nt);var hn=Object[_0x3b7310(0x20e)],_n=(_0x323adf,_0x4f33aa,_0x1a867e,_0x4f6988)=>{var _0x1adc2d=_0x3b7310;for(var _0xfa0489=_0x4f6988>0x1?void 0x0:_0x4f6988?hn(_0x4f33aa,_0x1a867e):_0x4f33aa,_0x2f61ba=_0x323adf[_0x1adc2d(0x316)]-0x1,_0x2c1264;_0x2f61ba>=0x0;_0x2f61ba--)(_0x2c1264=_0x323adf[_0x2f61ba])&&(_0xfa0489=_0x2c1264(_0xfa0489)||_0xfa0489);return _0xfa0489;},zt=(_0x329abf,_0x3b5e9f)=>(_0x3833e0,_0x45b0aa)=>_0x3b5e9f(_0x3833e0,_0x45b0aa,_0x329abf);const ln='DEFAULT_FILE_NAME',un=_0x3b7310(0xb7);let Ct=class extends _0x4a3911{constructor(_0x219b5a,_0x4b9989){var _0x442e36=_0x3b7310;super(),this[_0x442e36(0x36a)]=_0x219b5a,this['_configService']=_0x4b9989,this[_0x442e36(0xcb)]();}[_0x3b7310(0xcb)](){var _0xa20b28=_0x3b7310;this[_0xa20b28(0x184)](this[_0xa20b28(0x36a)][_0xa20b28(0x198)][_0xa20b28(0x247)](()=>{var _0x4fa4de=_0xa20b28,_0x3423e9;const _0x6bb63=this['_univerInstanceService'][_0x4fa4de(0x15d)]();let _0x1264c6=(_0x3423e9=this[_0x4fa4de(0x1a0)][_0x4fa4de(0x30f)](ln))!=null?_0x3423e9:un;_0x6bb63 instanceof _0x15918f&&(_0x1264c6=_0x6bb63[_0x4fa4de(0xb0)]),document['title']=_0x1264c6;}));}};Ct=_n([zt(0x0,_0x56341d),zt(0x1,_0x29183e)],Ct);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x3a1353,_0x423f27,_0x100092,_0x3bbaf5)=>{var _0x51d9f8=_0x3b7310;for(var _0x21b223=_0x3bbaf5>0x1?void 0x0:_0x3bbaf5?dn(_0x423f27,_0x100092):_0x423f27,_0x2fea17=_0x3a1353[_0x51d9f8(0x316)]-0x1,_0x11be85;_0x2fea17>=0x0;_0x2fea17--)(_0x11be85=_0x3a1353[_0x2fea17])&&(_0x21b223=_0x11be85(_0x21b223)||_0x21b223);return _0x21b223;},vt=(_0x45f61e,_0x43621b)=>(_0x1a9e89,_0x49d700)=>_0x43621b(_0x1a9e89,_0x49d700,_0x45f61e);let st=class{constructor(_0x2fdbbc,_0x358719,_0x2b9f73){var _0x25608b=_0x3b7310;this[_0x25608b(0x1a0)]=_0x2fdbbc,this[_0x25608b(0x35a)]=_0x358719,this[_0x25608b(0x16d)]=_0x2b9f73,this['init']();}[_0x3b7310(0x1fd)](){var _0x3576f2=_0x3b7310;this[_0x3576f2(0x35a)][_0x3576f2(0x2c4)]({'priority':0x1,'interceptor':(_0x5b6c5c,_0xd123f4)=>_0xd123f4(_0x5b6c5c)[_0x3576f2(0x2d2)](_0x1520fa(async _0x5d4b85=>{var _0x371b20=_0x3576f2;const _0x189ba1=_0x5d4b85;if(_0x189ba1[_0x371b20(0x163)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x371b20(0x16d)]['t'](_0x371b20(0x32c)))){const _0x43125e=window['encodeURIComponent'](window[_0x371b20(0x230)]['href']);window[_0x371b20(0x230)]['href']=this['_getLoginPath']()+'?url='+_0x43125e;}}return _0x189ba1;}))});}['_getLoginPath'](){var _0x58c18a=_0x3b7310,_0xc59922,_0x4d3a3e;const _0x2e431c=this[_0x58c18a(0x1a0)][_0x58c18a(0x30f)](Dr),_0x49309f=this[_0x58c18a(0x1a0)]['getConfig'](q);return(_0x4d3a3e=(_0xc59922=_0x49309f==null?void 0x0:_0x49309f[_0x58c18a(0x10c)])!=null?_0xc59922:_0x2e431c)!=null?_0x4d3a3e:wr;}};st=fn([vt(0x0,_0x29183e),vt(0x1,_0x419509(_0x347bc3)),vt(0x2,_0x419509(_0x503d26))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x4803a1,_0x7dc4af,_0x1f039f,_0x37db73)=>{var _0x16e3a1=_0x3b7310;for(var _0x539c7b=_0x37db73>0x1?void 0x0:_0x37db73?vn(_0x7dc4af,_0x1f039f):_0x7dc4af,_0x2d739f=_0x4803a1[_0x16e3a1(0x316)]-0x1,_0x22af3e;_0x2d739f>=0x0;_0x2d739f--)(_0x22af3e=_0x4803a1[_0x2d739f])&&(_0x539c7b=_0x22af3e(_0x539c7b)||_0x539c7b);return _0x539c7b;},Jt=(_0x552815,_0x45e96e)=>(_0xf39bb6,_0x3517c9)=>_0x45e96e(_0xf39bb6,_0x3517c9,_0x552815);const Ni=_0x3b7310(0x25e),mn=_0x3b7310(0x1e6);let Rt=class extends _0x4a3911{constructor(_0x4a4c76,_0x3787b3){var _0x4ca6b2=_0x3b7310;super(),this[_0x4ca6b2(0x1c8)]=_0x4a4c76,this[_0x4ca6b2(0x1a0)]=_0x3787b3,this[_0x4ca6b2(0x278)]();}[_0x3b7310(0x278)](){var _0x1a7763=_0x3b7310;const _0xa46570=this;this[_0x1a7763(0x184)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x80e75({'isMatch'(_0x2b193f){var _0xcb92f=_0x1a7763,_0x34d934;if(_0x2b193f[_0xcb92f(0xb6)]===_0xcb92f(0x26a)&&((_0x34d934=_0x2b193f['requestParams'])!=null&&_0x34d934[_0xcb92f(0x2ed)])){const {objectID:_0x115f56,objectType:_0x543431}=_0x2b193f['requestParams'][_0xcb92f(0x2ed)]||{};if(!_0x115f56||_0x543431===void 0x0)return!0x1;const _0x326d48=_0xa46570['_getAPIPrefixPath']()+'/'+_0x543431+_0xcb92f(0xd6)+_0x115f56+_0xcb92f(0x305);if(_0x2b193f[_0xcb92f(0x284)]===_0x326d48)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b0dd9){var _0x3f1e71=_0x1a7763,_0x55def2;return(_0x55def2=_0x5b0dd9['requestParams'])==null?void 0x0:_0x55def2[_0x3f1e71(0x2ed)];},'mergeParamsToRequest'(_0xe55ba7,_0xce691c){var _0x470758=_0x1a7763;const _0x4b55c3=_0xa46570[_0x470758(0x2db)]()+'/-/object/-/batch_allowed',_0x206705=_0xe55ba7[_0x470758(0x197)]((_0x2e82db,_0x36b168)=>{var _0x133fd9=_0x470758;const {unitID:_0x4f3485,objectID:_0x2478ce,objectType:_0x5a37d2,actions:_0x20727c}=_0x36b168;return _0x2e82db[_0x4f3485]||(_0x2e82db[_0x4f3485]={}),_0x2e82db[_0x4f3485][_0x2478ce]||(_0x2e82db[_0x4f3485][_0x2478ce]={'objectID':_0x2478ce,'objectType':_0x5a37d2,'actions':[]}),_0x2e82db[_0x4f3485][_0x2478ce][_0x133fd9(0xaa)][_0x133fd9(0x304)](..._0x20727c),_0x2e82db;},{}),_0x33c2b4=[];for(const _0x5e8171 in _0x206705)for(const _0x554cab in _0x206705[_0x5e8171]){const {actions:_0x17f23b,objectType:_0x59a92f}=_0x206705[_0x5e8171][_0x554cab],_0xb9b289=[...new Set(_0x17f23b)];_0x33c2b4[_0x470758(0x304)]({'unitID':_0x5e8171,'objectID':_0x554cab,'objectType':_0x59a92f,'actions':_0xb9b289});}return new _0xa2750b(_0x470758(0x26a),_0x4b55c3,{'headers':_0xce691c['headers'],'withCredentials':_0xce691c[_0x470758(0xf8)],'responseType':_0xce691c[_0x470758(0x2e4)],'body':{'requests':_0x33c2b4}});}},{'distributeResult'(_0x138319,_0x21d1cc){var _0x2d383b=_0x1a7763;const {objectActions:_0x2d3ca0}=_0x138319;return _0x21d1cc[_0x2d383b(0x2b9)](_0x5b5523=>{var _0x293172=_0x2d383b;const {unitID:_0x4068c7,objectID:_0x249094,actions:_0x1aa799}=_0x5b5523,_0x3904fd=_0x2d3ca0[_0x293172(0x18a)](_0x3e4683=>_0x3e4683[_0x293172(0x135)]===_0x4068c7&&_0x3e4683[_0x293172(0x20f)]===_0x249094),_0x1709a8=_0x1aa799[_0x293172(0x2b9)](_0x4d9465=>_0x3904fd==null?void 0x0:_0x3904fd['actions']['find'](_0x41c783=>_0x41c783[_0x293172(0x31c)]===_0x4d9465))['filter'](_0x248888=>!!_0x248888);return{'config':_0x5b5523,'result':{'actions':_0x1709a8,'error':_0x138319[_0x293172(0x399)]}};});}})}));}[_0x3b7310(0x2db)](){var _0x586b85=_0x3b7310,_0x569745,_0x508d9c;const _0x4cd7a4=this[_0x586b85(0x1a0)][_0x586b85(0x30f)](Ni),_0x15371a=this[_0x586b85(0x1a0)][_0x586b85(0x30f)](q);return(_0x508d9c=(_0x569745=_0x15371a==null?void 0x0:_0x15371a[_0x586b85(0x1f8)])!=null?_0x569745:_0x4cd7a4)!=null?_0x508d9c:mn;}async[_0x3b7310(0x23f)](_0xcb7418){var _0x4f0820=_0x3b7310;const _0x4636c7=this[_0x4f0820(0x2db)]()+'/'+_0xcb7418['objectType']+'/object';return(await this[_0x4f0820(0x1c8)]['post'](_0x4636c7,{'body':_0xcb7418}))[_0x4f0820(0x2ed)]['objectID']||'';}async[_0x3b7310(0x376)](_0x1f5320){var _0x445871=_0x3b7310;const _0x2fd189=this[_0x445871(0x2db)]()+_0x445871(0x18e);return(await this[_0x445871(0x1c8)][_0x445871(0x186)](_0x2fd189,{'body':_0x1f5320}))['body']['objects'];}async['update'](_0x20e4ed){var _0x156b7e=_0x3b7310;const _0x8301f1=this[_0x156b7e(0x2db)]()+'/'+_0x20e4ed[_0x156b7e(0x339)]+_0x156b7e(0xd6)+_0x20e4ed['objectID'];await this[_0x156b7e(0x1c8)][_0x156b7e(0x2a1)](_0x8301f1,{'body':_0x20e4ed});}async[_0x3b7310(0x123)](_0x1d667b){var _0x3d2a08=_0x3b7310;const _0x5e8822=this[_0x3d2a08(0x2db)]()+'/'+_0x1d667b[_0x3d2a08(0x339)]+_0x3d2a08(0xd6)+_0x1d667b[_0x3d2a08(0x20f)]+_0x3d2a08(0x305);return(await this['_HTTPService'][_0x3d2a08(0x186)](_0x5e8822,{'body':_0x1d667b}))[_0x3d2a08(0x2ed)][_0x3d2a08(0xaa)];}async['batchAllowed'](_0x3b907d){var _0x5d8f3b=_0x3b7310;const _0xdb06a6=this[_0x5d8f3b(0x2db)]()+_0x5d8f3b(0x370);return(await this[_0x5d8f3b(0x1c8)][_0x5d8f3b(0x186)](_0xdb06a6,{'body':{'requests':_0x3b907d}}))[_0x5d8f3b(0x2ed)][_0x5d8f3b(0x33d)];}async[_0x3b7310(0xa9)](_0x5ddebc){var _0x184967=_0x3b7310;const _0x30db11=this[_0x184967(0x2db)]()+'/'+_0x5ddebc[_0x184967(0x339)]+_0x184967(0xc0),_0x377b1a=await this[_0x184967(0x1c8)][_0x184967(0x186)](_0x30db11,{'body':_0x5ddebc});return{'roles':_0x377b1a['body'][_0x184967(0x119)],'actions':_0x377b1a[_0x184967(0x2ed)]['actions']};}async[_0x3b7310(0x271)](_0x57d2c4){var _0x2d0274=_0x3b7310;const _0x476ac8=this[_0x2d0274(0x2db)]()+_0x2d0274(0x1e1);await this[_0x2d0274(0x1c8)][_0x2d0274(0x10b)](_0x476ac8,{'params':{'collaboratorID':_0x57d2c4['collaboratorID'],'objectID':_0x57d2c4[_0x2d0274(0x20f)],'unitID':_0x57d2c4[_0x2d0274(0x135)]}});}async[_0x3b7310(0x191)](_0x27126b){var _0x41b91c=_0x3b7310;const _0x48df7c=this[_0x41b91c(0x2db)]()+_0x41b91c(0x1e1);await this['_HTTPService']['patch'](_0x48df7c,{'body':_0x27126b});}async[_0x3b7310(0x1be)](_0x692e8a){var _0x2a9953=_0x3b7310;const _0x5494fb=this[_0x2a9953(0x2db)]()+_0x2a9953(0x1e1);await this[_0x2a9953(0x1c8)]['post'](_0x5494fb,{'body':_0x692e8a});}async['listCollaborators'](_0x3fd4d5){var _0x11eac4=_0x3b7310;const _0x5a98d6=this[_0x11eac4(0x2db)]()+_0x11eac4(0x1e1);return(await this[_0x11eac4(0x1c8)][_0x11eac4(0xf1)](_0x5a98d6,{'params':{'objectID':_0x3fd4d5[_0x11eac4(0x20f)],'unitID':_0x3fd4d5[_0x11eac4(0x135)]}}))[_0x11eac4(0x2ed)]['collaborators'];}async[_0x3b7310(0x343)](_0x4c71ce){var _0x3cfa30=_0x3b7310;const _0x3618b6=this[_0x3cfa30(0x2db)]()+_0x3cfa30(0x1e1);await this['_HTTPService']['put'](_0x3618b6,{'body':_0x4c71ce});}};Rt=pn([Jt(0x0,_0x419509(_0x347bc3)),Jt(0x1,_0x419509(_0x29183e))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3fbff2){var _0x1dc93d=_0x3b7310;return _0x3fbff2&&_0x3fbff2[_0x1dc93d(0x2b1)]&&Object[_0x1dc93d(0x2ad)][_0x1dc93d(0x1fc)][_0x1dc93d(0x269)](_0x3fbff2,_0x1dc93d(0x1d3))?_0x3fbff2[_0x1dc93d(0x1d3)]:_0x3fbff2;}var Ge={'exports':{}};function gn(_0x444b7b){var _0x2f9d8d=_0x3b7310;throw new Error(_0x2f9d8d(0x17e)+_0x444b7b+_0x2f9d8d(0x29a));}var Ve={'exports':{}},Sn=Ve[_0x3b7310(0x273)],Xt;function ie(){var _0x408ae6=_0x3b7310;return Xt||(Xt=0x1,function(_0x28a809,_0x2aa6a2){(function(_0x41b339,_0x50c9cf){var _0x5535a4=_0x5c5f;_0x28a809[_0x5535a4(0x273)]=_0x50c9cf();}(Sn,function(){var _0xfff852=_0xfff852||function(_0x48ae0d,_0x4ab1c4){var _0x27cb58=_0x5c5f,_0x2b3f75;if(typeof window<'u'&&window['crypto']&&(_0x2b3f75=window[_0x27cb58(0x275)]),typeof self<'u'&&self['crypto']&&(_0x2b3f75=self[_0x27cb58(0x275)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2b3f75=globalThis[_0x27cb58(0x275)]),!_0x2b3f75&&typeof window<'u'&&window[_0x27cb58(0xf5)]&&(_0x2b3f75=window[_0x27cb58(0xf5)]),!_0x2b3f75&&typeof pt<'u'&&pt[_0x27cb58(0x275)]&&(_0x2b3f75=pt['crypto']),!_0x2b3f75&&typeof gn=='function')try{_0x2b3f75=require('crypto');}catch{}var _0x348c76=function(){var _0xb7a78b=_0x27cb58;if(_0x2b3f75){if(typeof _0x2b3f75[_0xb7a78b(0x391)]=='function')try{return _0x2b3f75['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b3f75[_0xb7a78b(0x219)]==_0xb7a78b(0x31e))try{return _0x2b3f75[_0xb7a78b(0x219)](0x4)[_0xb7a78b(0x35c)]();}catch{}}throw new Error(_0xb7a78b(0x18d));},_0x154e8b=Object[_0x27cb58(0x23f)]||(function(){function _0x1f3a18(){}return function(_0x57c88c){var _0xba27ac=_0x5c5f,_0x2f32e6;return _0x1f3a18[_0xba27ac(0x2ad)]=_0x57c88c,_0x2f32e6=new _0x1f3a18(),_0x1f3a18[_0xba27ac(0x2ad)]=null,_0x2f32e6;};}()),_0x50a65c={},_0x52d8a6=_0x50a65c['lib']={},_0x1e537f=_0x52d8a6[_0x27cb58(0xd1)]=(function(){return{'extend':function(_0x19e18c){var _0x248226=_0x5c5f,_0x40235a=_0x154e8b(this);return _0x19e18c&&_0x40235a[_0x248226(0x336)](_0x19e18c),(!_0x40235a[_0x248226(0x1fc)](_0x248226(0x1fd))||this['init']===_0x40235a[_0x248226(0x1fd)])&&(_0x40235a[_0x248226(0x1fd)]=function(){var _0x7d054b=_0x248226;_0x40235a['$super'][_0x7d054b(0x1fd)][_0x7d054b(0x268)](this,arguments);}),_0x40235a['init'][_0x248226(0x2ad)]=_0x40235a,_0x40235a[_0x248226(0x2ca)]=this,_0x40235a;},'create':function(){var _0x17146f=_0x5c5f,_0x44d560=this[_0x17146f(0x21d)]();return _0x44d560[_0x17146f(0x1fd)][_0x17146f(0x268)](_0x44d560,arguments),_0x44d560;},'init':function(){},'mixIn':function(_0x3a93aa){var _0x2ff0e8=_0x5c5f;for(var _0x1864dc in _0x3a93aa)_0x3a93aa[_0x2ff0e8(0x1fc)](_0x1864dc)&&(this[_0x1864dc]=_0x3a93aa[_0x1864dc]);_0x3a93aa['hasOwnProperty'](_0x2ff0e8(0xf7))&&(this['toString']=_0x3a93aa[_0x2ff0e8(0xf7)]);},'clone':function(){var _0x3b4857=_0x5c5f;return this['init']['prototype'][_0x3b4857(0x21d)](this);}};}()),_0x56ff3b=_0x52d8a6[_0x27cb58(0x243)]=_0x1e537f['extend']({'init':function(_0x104416,_0x46e1f8){var _0x21841e=_0x27cb58;_0x104416=this[_0x21841e(0x2ec)]=_0x104416||[],_0x46e1f8!=_0x4ab1c4?this[_0x21841e(0xee)]=_0x46e1f8:this['sigBytes']=_0x104416[_0x21841e(0x316)]*0x4;},'toString':function(_0x839d10){var _0x3dd3ce=_0x27cb58;return(_0x839d10||_0x4b7a49)[_0x3dd3ce(0x1c4)](this);},'concat':function(_0x5b9706){var _0x4e2635=_0x27cb58,_0x4345f0=this['words'],_0x182c02=_0x5b9706[_0x4e2635(0x2ec)],_0x17ab74=this[_0x4e2635(0xee)],_0x297741=_0x5b9706[_0x4e2635(0xee)];if(this[_0x4e2635(0x2de)](),_0x17ab74%0x4)for(var _0x1bc0c6=0x0;_0x1bc0c6<_0x297741;_0x1bc0c6++){var _0x3717e4=_0x182c02[_0x1bc0c6>>>0x2]>>>0x18-_0x1bc0c6%0x4*0x8&0xff;_0x4345f0[_0x17ab74+_0x1bc0c6>>>0x2]|=_0x3717e4<<0x18-(_0x17ab74+_0x1bc0c6)%0x4*0x8;}else{for(var _0x55c558=0x0;_0x55c558<_0x297741;_0x55c558+=0x4)_0x4345f0[_0x17ab74+_0x55c558>>>0x2]=_0x182c02[_0x55c558>>>0x2];}return this['sigBytes']+=_0x297741,this;},'clamp':function(){var _0x871870=_0x27cb58,_0xcf2b5c=this[_0x871870(0x2ec)],_0x9356ca=this[_0x871870(0xee)];_0xcf2b5c[_0x9356ca>>>0x2]&=0xffffffff<<0x20-_0x9356ca%0x4*0x8,_0xcf2b5c[_0x871870(0x316)]=_0x48ae0d['ceil'](_0x9356ca/0x4);},'clone':function(){var _0xcc28eb=_0x27cb58,_0x54ef7a=_0x1e537f[_0xcc28eb(0x344)][_0xcc28eb(0x269)](this);return _0x54ef7a[_0xcc28eb(0x2ec)]=this[_0xcc28eb(0x2ec)]['slice'](0x0),_0x54ef7a;},'random':function(_0x1a0d2b){var _0xe8b690=_0x27cb58;for(var _0x4105c5=[],_0x117c6a=0x0;_0x117c6a<_0x1a0d2b;_0x117c6a+=0x4)_0x4105c5[_0xe8b690(0x304)](_0x348c76());return new _0x56ff3b['init'](_0x4105c5,_0x1a0d2b);}}),_0x3a6359=_0x50a65c['enc']={},_0x4b7a49=_0x3a6359[_0x27cb58(0x386)]={'stringify':function(_0x140fdb){var _0x5b266e=_0x27cb58;for(var _0x354f1=_0x140fdb['words'],_0x4548fb=_0x140fdb['sigBytes'],_0x4e72d8=[],_0x11b330=0x0;_0x11b330<_0x4548fb;_0x11b330++){var _0x543d4a=_0x354f1[_0x11b330>>>0x2]>>>0x18-_0x11b330%0x4*0x8&0xff;_0x4e72d8[_0x5b266e(0x304)]((_0x543d4a>>>0x4)[_0x5b266e(0xf7)](0x10)),_0x4e72d8[_0x5b266e(0x304)]((_0x543d4a&0xf)[_0x5b266e(0xf7)](0x10));}return _0x4e72d8['join']('');},'parse':function(_0x2ea455){var _0x1b1dce=_0x27cb58;for(var _0x147474=_0x2ea455[_0x1b1dce(0x316)],_0x2a3335=[],_0x386f19=0x0;_0x386f19<_0x147474;_0x386f19+=0x2)_0x2a3335[_0x386f19>>>0x3]|=parseInt(_0x2ea455['substr'](_0x386f19,0x2),0x10)<<0x18-_0x386f19%0x8*0x4;return new _0x56ff3b[(_0x1b1dce(0x1fd))](_0x2a3335,_0x147474/0x2);}},_0xfe6c58=_0x3a6359[_0x27cb58(0x181)]={'stringify':function(_0x2bbf43){var _0x55a402=_0x27cb58;for(var _0x36c4ae=_0x2bbf43[_0x55a402(0x2ec)],_0x501660=_0x2bbf43['sigBytes'],_0x1b8a35=[],_0xc97109=0x0;_0xc97109<_0x501660;_0xc97109++){var _0x3b9c11=_0x36c4ae[_0xc97109>>>0x2]>>>0x18-_0xc97109%0x4*0x8&0xff;_0x1b8a35[_0x55a402(0x304)](String[_0x55a402(0x2a6)](_0x3b9c11));}return _0x1b8a35['join']('');},'parse':function(_0x1478c9){var _0x36eab1=_0x27cb58;for(var _0x1b03d6=_0x1478c9[_0x36eab1(0x316)],_0x424d23=[],_0x7581b5=0x0;_0x7581b5<_0x1b03d6;_0x7581b5++)_0x424d23[_0x7581b5>>>0x2]|=(_0x1478c9[_0x36eab1(0x384)](_0x7581b5)&0xff)<<0x18-_0x7581b5%0x4*0x8;return new _0x56ff3b[(_0x36eab1(0x1fd))](_0x424d23,_0x1b03d6);}},_0x20013c=_0x3a6359[_0x27cb58(0x37e)]={'stringify':function(_0xbe0f80){var _0x14d80d=_0x27cb58;try{return decodeURIComponent(escape(_0xfe6c58[_0x14d80d(0x1c4)](_0xbe0f80)));}catch{throw new Error(_0x14d80d(0xd0));}},'parse':function(_0x3dcb56){var _0x559d96=_0x27cb58;return _0xfe6c58[_0x559d96(0x117)](unescape(encodeURIComponent(_0x3dcb56)));}},_0x26df08=_0x52d8a6[_0x27cb58(0x28d)]=_0x1e537f[_0x27cb58(0x21d)]({'reset':function(){var _0x5bc63f=_0x27cb58;this[_0x5bc63f(0x2b3)]=new _0x56ff3b[(_0x5bc63f(0x1fd))](),this['_nDataBytes']=0x0;},'_append':function(_0x1b70b8){var _0x41001e=_0x27cb58;typeof _0x1b70b8==_0x41001e(0x10f)&&(_0x1b70b8=_0x20013c['parse'](_0x1b70b8)),this[_0x41001e(0x2b3)][_0x41001e(0x2df)](_0x1b70b8),this[_0x41001e(0x1ce)]+=_0x1b70b8[_0x41001e(0xee)];},'_process':function(_0x7699c8){var _0x131567=_0x27cb58,_0xd49deb,_0x41f7ec=this[_0x131567(0x2b3)],_0x3008a9=_0x41f7ec[_0x131567(0x2ec)],_0x475b75=_0x41f7ec[_0x131567(0xee)],_0x1d607e=this[_0x131567(0x1fe)],_0x39a38b=_0x1d607e*0x4,_0x2bafa4=_0x475b75/_0x39a38b;_0x7699c8?_0x2bafa4=_0x48ae0d['ceil'](_0x2bafa4):_0x2bafa4=_0x48ae0d[_0x131567(0x129)]((_0x2bafa4|0x0)-this['_minBufferSize'],0x0);var _0x1dcf00=_0x2bafa4*_0x1d607e,_0x20e716=_0x48ae0d[_0x131567(0x214)](_0x1dcf00*0x4,_0x475b75);if(_0x1dcf00){for(var _0x6b70dc=0x0;_0x6b70dc<_0x1dcf00;_0x6b70dc+=_0x1d607e)this[_0x131567(0x33c)](_0x3008a9,_0x6b70dc);_0xd49deb=_0x3008a9[_0x131567(0x373)](0x0,_0x1dcf00),_0x41f7ec[_0x131567(0xee)]-=_0x20e716;}return new _0x56ff3b[(_0x131567(0x1fd))](_0xd49deb,_0x20e716);},'clone':function(){var _0x4354a1=_0x27cb58,_0x1b27b8=_0x1e537f['clone']['call'](this);return _0x1b27b8[_0x4354a1(0x2b3)]=this[_0x4354a1(0x2b3)][_0x4354a1(0x344)](),_0x1b27b8;},'_minBufferSize':0x0});_0x52d8a6[_0x27cb58(0x1f0)]=_0x26df08[_0x27cb58(0x21d)]({'cfg':_0x1e537f[_0x27cb58(0x21d)](),'init':function(_0x423e49){var _0x113074=_0x27cb58;this['cfg']=this[_0x113074(0x199)][_0x113074(0x21d)](_0x423e49),this['reset']();},'reset':function(){var _0x3fee47=_0x27cb58;_0x26df08['reset'][_0x3fee47(0x269)](this),this['_doReset']();},'update':function(_0x2f93a4){var _0x3c0dc7=_0x27cb58;return this[_0x3c0dc7(0x218)](_0x2f93a4),this[_0x3c0dc7(0x283)](),this;},'finalize':function(_0x5c84ea){var _0x4b7e4c=_0x27cb58;_0x5c84ea&&this[_0x4b7e4c(0x218)](_0x5c84ea);var _0x1bb718=this[_0x4b7e4c(0x132)]();return _0x1bb718;},'blockSize':0x10,'_createHelper':function(_0x4666c6){return function(_0x35c76e,_0x401ad7){var _0x19a53a=_0x5c5f;return new _0x4666c6[(_0x19a53a(0x1fd))](_0x401ad7)[_0x19a53a(0x293)](_0x35c76e);};},'_createHmacHelper':function(_0x18f684){return function(_0xf58628,_0x2d5308){var _0xec34f5=_0x5c5f;return new _0xdca265[(_0xec34f5(0x366))][(_0xec34f5(0x1fd))](_0x18f684,_0x2d5308)['finalize'](_0xf58628);};}});var _0xdca265=_0x50a65c['algo']={};return _0x50a65c;}(Math);return _0xfff852;}));}(Ve)),Ve[_0x408ae6(0x273)];}var We={'exports':{}},En=We['exports'],Zt;function Di(){var _0x14f192=_0x3b7310;return Zt||(Zt=0x1,function(_0x5912ac,_0x45e60c){(function(_0x1a9462,_0x547b2a){var _0x44907e=_0x5c5f;_0x5912ac[_0x44907e(0x273)]=_0x547b2a(ie());}(En,function(_0x1d46e2){var _0x23077d=_0x5c5f;return(function(){var _0x75571=_0x5c5f,_0x30f5d6=_0x1d46e2,_0xc635af=_0x30f5d6[_0x75571(0x2ce)],_0x277492=_0xc635af[_0x75571(0x243)],_0x45c34b=_0x30f5d6[_0x75571(0x211)];_0x45c34b[_0x75571(0xb3)]={'stringify':function(_0x46800f){var _0x3fb63b=_0x75571,_0x215400=_0x46800f[_0x3fb63b(0x2ec)],_0x4413fd=_0x46800f[_0x3fb63b(0xee)],_0x546e83=this[_0x3fb63b(0x11e)];_0x46800f['clamp']();for(var _0x3cf5ed=[],_0x2ebd72=0x0;_0x2ebd72<_0x4413fd;_0x2ebd72+=0x3)for(var _0x4c2804=_0x215400[_0x2ebd72>>>0x2]>>>0x18-_0x2ebd72%0x4*0x8&0xff,_0x22ef2=_0x215400[_0x2ebd72+0x1>>>0x2]>>>0x18-(_0x2ebd72+0x1)%0x4*0x8&0xff,_0x2b54de=_0x215400[_0x2ebd72+0x2>>>0x2]>>>0x18-(_0x2ebd72+0x2)%0x4*0x8&0xff,_0x4abdb7=_0x4c2804<<0x10|_0x22ef2<<0x8|_0x2b54de,_0x1510e2=0x0;_0x1510e2<0x4&&_0x2ebd72+_0x1510e2*0.75<_0x4413fd;_0x1510e2++)_0x3cf5ed['push'](_0x546e83[_0x3fb63b(0x210)](_0x4abdb7>>>0x6*(0x3-_0x1510e2)&0x3f));var _0x45ecd0=_0x546e83[_0x3fb63b(0x210)](0x40);if(_0x45ecd0){for(;_0x3cf5ed['length']%0x4;)_0x3cf5ed[_0x3fb63b(0x304)](_0x45ecd0);}return _0x3cf5ed['join']('');},'parse':function(_0x4895dd){var _0x4bfe1d=_0x75571,_0x2ca4e5=_0x4895dd[_0x4bfe1d(0x316)],_0x11493a=this[_0x4bfe1d(0x11e)],_0x30f5e8=this['_reverseMap'];if(!_0x30f5e8){_0x30f5e8=this[_0x4bfe1d(0xe2)]=[];for(var _0x3d7935=0x0;_0x3d7935<_0x11493a[_0x4bfe1d(0x316)];_0x3d7935++)_0x30f5e8[_0x11493a[_0x4bfe1d(0x384)](_0x3d7935)]=_0x3d7935;}var _0x23c97b=_0x11493a['charAt'](0x40);if(_0x23c97b){var _0x47856a=_0x4895dd[_0x4bfe1d(0x160)](_0x23c97b);_0x47856a!==-0x1&&(_0x2ca4e5=_0x47856a);}return _0x28a87f(_0x4895dd,_0x2ca4e5,_0x30f5e8);},'_map':_0x75571(0x122)};function _0x28a87f(_0x1b7c6d,_0x446d64,_0x2bb93c){var _0xf171e2=_0x75571;for(var _0x4e11c8=[],_0x588a19=0x0,_0x4bfd32=0x0;_0x4bfd32<_0x446d64;_0x4bfd32++)if(_0x4bfd32%0x4){var _0x35fda6=_0x2bb93c[_0x1b7c6d[_0xf171e2(0x384)](_0x4bfd32-0x1)]<<_0x4bfd32%0x4*0x2,_0x540bd4=_0x2bb93c[_0x1b7c6d['charCodeAt'](_0x4bfd32)]>>>0x6-_0x4bfd32%0x4*0x2,_0x2b3138=_0x35fda6|_0x540bd4;_0x4e11c8[_0x588a19>>>0x2]|=_0x2b3138<<0x18-_0x588a19%0x4*0x8,_0x588a19++;}return _0x277492[_0xf171e2(0x23f)](_0x4e11c8,_0x588a19);}}()),_0x1d46e2[_0x23077d(0x211)]['Base64'];}));}(We)),We[_0x14f192(0x273)];}var Ke={'exports':{}},In=Ke[_0x3b7310(0x273)],Qt;function Tn(){return Qt||(Qt=0x1,function(_0x26c8a3,_0x15b86c){(function(_0x774f72,_0x41c32e){_0x26c8a3['exports']=_0x41c32e(ie());}(In,function(_0x5dbe86){var _0x409297=_0x5c5f;return function(_0x2fe03c){var _0x2ad539=_0x5c5f,_0x334337=_0x5dbe86,_0x264828=_0x334337['lib'],_0x4052d1=_0x264828[_0x2ad539(0x243)],_0xfeb194=_0x264828[_0x2ad539(0x1f0)],_0x490da9=_0x334337[_0x2ad539(0x108)],_0x44db44=[];(function(){for(var _0x57fdd1=0x0;_0x57fdd1<0x40;_0x57fdd1++)_0x44db44[_0x57fdd1]=_0x2fe03c['abs'](_0x2fe03c['sin'](_0x57fdd1+0x1))*0x100000000|0x0;}());var _0x97c05b=_0x490da9[_0x2ad539(0x212)]=_0xfeb194[_0x2ad539(0x21d)]({'_doReset':function(){var _0x2964ed=_0x2ad539;this[_0x2964ed(0x242)]=new _0x4052d1[(_0x2964ed(0x1fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1af108,_0x4eb9a5){var _0x31269b=_0x2ad539;for(var _0x27d909=0x0;_0x27d909<0x10;_0x27d909++){var _0x4201c1=_0x4eb9a5+_0x27d909,_0x431578=_0x1af108[_0x4201c1];_0x1af108[_0x4201c1]=(_0x431578<<0x8|_0x431578>>>0x18)&0xff00ff|(_0x431578<<0x18|_0x431578>>>0x8)&0xff00ff00;}var _0x2c30e2=this[_0x31269b(0x242)]['words'],_0x4157d9=_0x1af108[_0x4eb9a5+0x0],_0x3fb699=_0x1af108[_0x4eb9a5+0x1],_0x319b59=_0x1af108[_0x4eb9a5+0x2],_0x295a68=_0x1af108[_0x4eb9a5+0x3],_0x3f57c6=_0x1af108[_0x4eb9a5+0x4],_0x54b162=_0x1af108[_0x4eb9a5+0x5],_0x1f313b=_0x1af108[_0x4eb9a5+0x6],_0x30fec2=_0x1af108[_0x4eb9a5+0x7],_0x27f766=_0x1af108[_0x4eb9a5+0x8],_0x38bb86=_0x1af108[_0x4eb9a5+0x9],_0x49a5e9=_0x1af108[_0x4eb9a5+0xa],_0x37d1cf=_0x1af108[_0x4eb9a5+0xb],_0x225fdc=_0x1af108[_0x4eb9a5+0xc],_0x2e8a81=_0x1af108[_0x4eb9a5+0xd],_0x49493a=_0x1af108[_0x4eb9a5+0xe],_0x3bea25=_0x1af108[_0x4eb9a5+0xf],_0x1ea354=_0x2c30e2[0x0],_0xf5a71c=_0x2c30e2[0x1],_0x14884d=_0x2c30e2[0x2],_0x12f84c=_0x2c30e2[0x3];_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x4157d9,0x7,_0x44db44[0x0]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3fb699,0xc,_0x44db44[0x1]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x319b59,0x11,_0x44db44[0x2]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x295a68,0x16,_0x44db44[0x3]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3f57c6,0x7,_0x44db44[0x4]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x54b162,0xc,_0x44db44[0x5]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x1f313b,0x11,_0x44db44[0x6]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x30fec2,0x16,_0x44db44[0x7]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x27f766,0x7,_0x44db44[0x8]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x38bb86,0xc,_0x44db44[0x9]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49a5e9,0x11,_0x44db44[0xa]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x37d1cf,0x16,_0x44db44[0xb]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x225fdc,0x7,_0x44db44[0xc]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x2e8a81,0xc,_0x44db44[0xd]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49493a,0x11,_0x44db44[0xe]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3bea25,0x16,_0x44db44[0xf]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3fb699,0x5,_0x44db44[0x10]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x1f313b,0x9,_0x44db44[0x11]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x37d1cf,0xe,_0x44db44[0x12]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x4157d9,0x14,_0x44db44[0x13]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x54b162,0x5,_0x44db44[0x14]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x49a5e9,0x9,_0x44db44[0x15]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x3bea25,0xe,_0x44db44[0x16]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3f57c6,0x14,_0x44db44[0x17]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x38bb86,0x5,_0x44db44[0x18]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x49493a,0x9,_0x44db44[0x19]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x295a68,0xe,_0x44db44[0x1a]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x27f766,0x14,_0x44db44[0x1b]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x2e8a81,0x5,_0x44db44[0x1c]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x319b59,0x9,_0x44db44[0x1d]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x30fec2,0xe,_0x44db44[0x1e]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x225fdc,0x14,_0x44db44[0x1f]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x54b162,0x4,_0x44db44[0x20]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x27f766,0xb,_0x44db44[0x21]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x37d1cf,0x10,_0x44db44[0x22]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x49493a,0x17,_0x44db44[0x23]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3fb699,0x4,_0x44db44[0x24]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3f57c6,0xb,_0x44db44[0x25]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x30fec2,0x10,_0x44db44[0x26]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x49a5e9,0x17,_0x44db44[0x27]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x2e8a81,0x4,_0x44db44[0x28]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x4157d9,0xb,_0x44db44[0x29]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x295a68,0x10,_0x44db44[0x2a]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x1f313b,0x17,_0x44db44[0x2b]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x38bb86,0x4,_0x44db44[0x2c]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x225fdc,0xb,_0x44db44[0x2d]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x3bea25,0x10,_0x44db44[0x2e]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x319b59,0x17,_0x44db44[0x2f]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x4157d9,0x6,_0x44db44[0x30]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x30fec2,0xa,_0x44db44[0x31]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49493a,0xf,_0x44db44[0x32]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x54b162,0x15,_0x44db44[0x33]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x225fdc,0x6,_0x44db44[0x34]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x295a68,0xa,_0x44db44[0x35]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49a5e9,0xf,_0x44db44[0x36]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3fb699,0x15,_0x44db44[0x37]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x27f766,0x6,_0x44db44[0x38]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3bea25,0xa,_0x44db44[0x39]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x1f313b,0xf,_0x44db44[0x3a]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x2e8a81,0x15,_0x44db44[0x3b]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3f57c6,0x6,_0x44db44[0x3c]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x37d1cf,0xa,_0x44db44[0x3d]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x319b59,0xf,_0x44db44[0x3e]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x38bb86,0x15,_0x44db44[0x3f]),_0x2c30e2[0x0]=_0x2c30e2[0x0]+_0x1ea354|0x0,_0x2c30e2[0x1]=_0x2c30e2[0x1]+_0xf5a71c|0x0,_0x2c30e2[0x2]=_0x2c30e2[0x2]+_0x14884d|0x0,_0x2c30e2[0x3]=_0x2c30e2[0x3]+_0x12f84c|0x0;},'_doFinalize':function(){var _0x366fc6=_0x2ad539,_0x19115a=this[_0x366fc6(0x2b3)],_0x378fb9=_0x19115a[_0x366fc6(0x2ec)],_0x5d473a=this['_nDataBytes']*0x8,_0x3da134=_0x19115a[_0x366fc6(0xee)]*0x8;_0x378fb9[_0x3da134>>>0x5]|=0x80<<0x18-_0x3da134%0x20;var _0x1f7790=_0x2fe03c[_0x366fc6(0x143)](_0x5d473a/0x100000000),_0x52b3db=_0x5d473a;_0x378fb9[(_0x3da134+0x40>>>0x9<<0x4)+0xf]=(_0x1f7790<<0x8|_0x1f7790>>>0x18)&0xff00ff|(_0x1f7790<<0x18|_0x1f7790>>>0x8)&0xff00ff00,_0x378fb9[(_0x3da134+0x40>>>0x9<<0x4)+0xe]=(_0x52b3db<<0x8|_0x52b3db>>>0x18)&0xff00ff|(_0x52b3db<<0x18|_0x52b3db>>>0x8)&0xff00ff00,_0x19115a[_0x366fc6(0xee)]=(_0x378fb9[_0x366fc6(0x316)]+0x1)*0x4,this[_0x366fc6(0x283)]();for(var _0xc7c712=this['_hash'],_0x374cab=_0xc7c712['words'],_0x109f45=0x0;_0x109f45<0x4;_0x109f45++){var _0x5aa727=_0x374cab[_0x109f45];_0x374cab[_0x109f45]=(_0x5aa727<<0x8|_0x5aa727>>>0x18)&0xff00ff|(_0x5aa727<<0x18|_0x5aa727>>>0x8)&0xff00ff00;}return _0xc7c712;},'clone':function(){var _0x9e6808=_0x2ad539,_0x1edfdf=_0xfeb194[_0x9e6808(0x344)][_0x9e6808(0x269)](this);return _0x1edfdf[_0x9e6808(0x242)]=this[_0x9e6808(0x242)]['clone'](),_0x1edfdf;}});function _0x44a652(_0x39539a,_0x51729c,_0x273393,_0x595ff5,_0x229701,_0x4b463a,_0x50dc4b){var _0x17d284=_0x39539a+(_0x51729c&_0x273393|~_0x51729c&_0x595ff5)+_0x229701+_0x50dc4b;return(_0x17d284<<_0x4b463a|_0x17d284>>>0x20-_0x4b463a)+_0x51729c;}function _0x343c3b(_0x5051b1,_0x394eca,_0x2e831c,_0x319a7a,_0x2d7e39,_0x3c7716,_0x3835a5){var _0x2907cb=_0x5051b1+(_0x394eca&_0x319a7a|_0x2e831c&~_0x319a7a)+_0x2d7e39+_0x3835a5;return(_0x2907cb<<_0x3c7716|_0x2907cb>>>0x20-_0x3c7716)+_0x394eca;}function _0x27601b(_0x464127,_0x3db0cd,_0x1ce729,_0x4c448c,_0x40cd5e,_0x148485,_0x485681){var _0x5adf97=_0x464127+(_0x3db0cd^_0x1ce729^_0x4c448c)+_0x40cd5e+_0x485681;return(_0x5adf97<<_0x148485|_0x5adf97>>>0x20-_0x148485)+_0x3db0cd;}function _0x36ae23(_0x5d1024,_0x5be44f,_0x413af9,_0x10a9b0,_0x24674e,_0x4dc963,_0x310f90){var _0x5a2532=_0x5d1024+(_0x413af9^(_0x5be44f|~_0x10a9b0))+_0x24674e+_0x310f90;return(_0x5a2532<<_0x4dc963|_0x5a2532>>>0x20-_0x4dc963)+_0x5be44f;}_0x334337['MD5']=_0xfeb194[_0x2ad539(0x2d4)](_0x97c05b),_0x334337[_0x2ad539(0x354)]=_0xfeb194[_0x2ad539(0xc6)](_0x97c05b);}(Math),_0x5dbe86[_0x409297(0x212)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x3b7310(0x273)],ei;function Rn(){return ei||(ei=0x1,function(_0x30483c,_0x447656){(function(_0x2e336b,_0x230cab){var _0x284283=_0x5c5f;_0x30483c[_0x284283(0x273)]=_0x230cab(ie());}(Cn,function(_0x17eef4){var _0x566d4a=_0x5c5f;return(function(){var _0x3e8abd=_0x5c5f,_0x2fbce8=_0x17eef4,_0x460b8f=_0x2fbce8['lib'],_0x18d17f=_0x460b8f[_0x3e8abd(0x243)],_0x41b5ee=_0x460b8f[_0x3e8abd(0x1f0)],_0xcc4686=_0x2fbce8[_0x3e8abd(0x108)],_0x3c168e=[],_0x55fdb7=_0xcc4686[_0x3e8abd(0x1e4)]=_0x41b5ee[_0x3e8abd(0x21d)]({'_doReset':function(){var _0x48c043=_0x3e8abd;this[_0x48c043(0x242)]=new _0x18d17f[(_0x48c043(0x1fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x225b8f,_0x4da32d){var _0x4b66d2=_0x3e8abd;for(var _0x39b288=this[_0x4b66d2(0x242)]['words'],_0x371f69=_0x39b288[0x0],_0xcf317=_0x39b288[0x1],_0x2f9195=_0x39b288[0x2],_0x10e0cc=_0x39b288[0x3],_0x36dd11=_0x39b288[0x4],_0xd51392=0x0;_0xd51392<0x50;_0xd51392++){if(_0xd51392<0x10)_0x3c168e[_0xd51392]=_0x225b8f[_0x4da32d+_0xd51392]|0x0;else{var _0xc934a3=_0x3c168e[_0xd51392-0x3]^_0x3c168e[_0xd51392-0x8]^_0x3c168e[_0xd51392-0xe]^_0x3c168e[_0xd51392-0x10];_0x3c168e[_0xd51392]=_0xc934a3<<0x1|_0xc934a3>>>0x1f;}var _0x2ba268=(_0x371f69<<0x5|_0x371f69>>>0x1b)+_0x36dd11+_0x3c168e[_0xd51392];_0xd51392<0x14?_0x2ba268+=(_0xcf317&_0x2f9195|~_0xcf317&_0x10e0cc)+0x5a827999:_0xd51392<0x28?_0x2ba268+=(_0xcf317^_0x2f9195^_0x10e0cc)+0x6ed9eba1:_0xd51392<0x3c?_0x2ba268+=(_0xcf317&_0x2f9195|_0xcf317&_0x10e0cc|_0x2f9195&_0x10e0cc)-0x70e44324:_0x2ba268+=(_0xcf317^_0x2f9195^_0x10e0cc)-0x359d3e2a,_0x36dd11=_0x10e0cc,_0x10e0cc=_0x2f9195,_0x2f9195=_0xcf317<<0x1e|_0xcf317>>>0x2,_0xcf317=_0x371f69,_0x371f69=_0x2ba268;}_0x39b288[0x0]=_0x39b288[0x0]+_0x371f69|0x0,_0x39b288[0x1]=_0x39b288[0x1]+_0xcf317|0x0,_0x39b288[0x2]=_0x39b288[0x2]+_0x2f9195|0x0,_0x39b288[0x3]=_0x39b288[0x3]+_0x10e0cc|0x0,_0x39b288[0x4]=_0x39b288[0x4]+_0x36dd11|0x0;},'_doFinalize':function(){var _0x48d67c=_0x3e8abd,_0x149f65=this['_data'],_0x1a2ffe=_0x149f65[_0x48d67c(0x2ec)],_0x3042e1=this[_0x48d67c(0x1ce)]*0x8,_0x7c476a=_0x149f65['sigBytes']*0x8;return _0x1a2ffe[_0x7c476a>>>0x5]|=0x80<<0x18-_0x7c476a%0x20,_0x1a2ffe[(_0x7c476a+0x40>>>0x9<<0x4)+0xe]=Math[_0x48d67c(0x143)](_0x3042e1/0x100000000),_0x1a2ffe[(_0x7c476a+0x40>>>0x9<<0x4)+0xf]=_0x3042e1,_0x149f65[_0x48d67c(0xee)]=_0x1a2ffe[_0x48d67c(0x316)]*0x4,this[_0x48d67c(0x283)](),this[_0x48d67c(0x242)];},'clone':function(){var _0x136aac=_0x3e8abd,_0x5ecece=_0x41b5ee[_0x136aac(0x344)][_0x136aac(0x269)](this);return _0x5ecece['_hash']=this[_0x136aac(0x242)]['clone'](),_0x5ecece;}});_0x2fbce8[_0x3e8abd(0x1e4)]=_0x41b5ee[_0x3e8abd(0x2d4)](_0x55fdb7),_0x2fbce8['HmacSHA1']=_0x41b5ee[_0x3e8abd(0xc6)](_0x55fdb7);}()),_0x17eef4[_0x566d4a(0x1e4)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bn=ze['exports'],ti;function yn(){return ti||(ti=0x1,function(_0xd3d7a7,_0x409705){(function(_0x2c7bca,_0x5c3390){var _0x14e0ac=_0x5c5f;_0xd3d7a7[_0x14e0ac(0x273)]=_0x5c3390(ie());}(bn,function(_0x6a1924){(function(){var _0x25ee64=_0x5c5f,_0xde4416=_0x6a1924,_0x44937d=_0xde4416[_0x25ee64(0x2ce)],_0x11a65c=_0x44937d[_0x25ee64(0xd1)],_0x22cf93=_0xde4416['enc'],_0x5d2d38=_0x22cf93['Utf8'],_0x559b74=_0xde4416['algo'];_0x559b74[_0x25ee64(0x366)]=_0x11a65c[_0x25ee64(0x21d)]({'init':function(_0x4bc6e7,_0x386316){var _0x2bfee1=_0x25ee64;_0x4bc6e7=this[_0x2bfee1(0xec)]=new _0x4bc6e7[(_0x2bfee1(0x1fd))](),typeof _0x386316==_0x2bfee1(0x10f)&&(_0x386316=_0x5d2d38['parse'](_0x386316));var _0x4e28a9=_0x4bc6e7['blockSize'],_0x4d9bb7=_0x4e28a9*0x4;_0x386316[_0x2bfee1(0xee)]>_0x4d9bb7&&(_0x386316=_0x4bc6e7[_0x2bfee1(0x293)](_0x386316)),_0x386316[_0x2bfee1(0x2de)]();for(var _0x35270d=this[_0x2bfee1(0x26e)]=_0x386316[_0x2bfee1(0x344)](),_0x3c03dc=this[_0x2bfee1(0x15e)]=_0x386316[_0x2bfee1(0x344)](),_0x58d008=_0x35270d['words'],_0x5f2b53=_0x3c03dc[_0x2bfee1(0x2ec)],_0x2ab647=0x0;_0x2ab647<_0x4e28a9;_0x2ab647++)_0x58d008[_0x2ab647]^=0x5c5c5c5c,_0x5f2b53[_0x2ab647]^=0x36363636;_0x35270d[_0x2bfee1(0xee)]=_0x3c03dc[_0x2bfee1(0xee)]=_0x4d9bb7,this[_0x2bfee1(0x324)]();},'reset':function(){var _0x56b6d2=_0x25ee64,_0x50cf0e=this[_0x56b6d2(0xec)];_0x50cf0e[_0x56b6d2(0x324)](),_0x50cf0e[_0x56b6d2(0x38a)](this[_0x56b6d2(0x15e)]);},'update':function(_0xce98a){var _0x3c443e=_0x25ee64;return this[_0x3c443e(0xec)][_0x3c443e(0x38a)](_0xce98a),this;},'finalize':function(_0xa66045){var _0x5c53ee=_0x25ee64,_0x393415=this[_0x5c53ee(0xec)],_0x474ff8=_0x393415[_0x5c53ee(0x293)](_0xa66045);_0x393415[_0x5c53ee(0x324)]();var _0x96355c=_0x393415[_0x5c53ee(0x293)](this['_oKey'][_0x5c53ee(0x344)]()[_0x5c53ee(0x2df)](_0x474ff8));return _0x96355c;}});}());}));}(ze)),ze['exports'];}var On=Ye[_0x3b7310(0x273)],ii;function wi(){var _0x311347=_0x3b7310;return ii||(ii=0x1,function(_0x465255,_0x4c4ef2){(function(_0x60ffbb,_0x2064c9,_0xaf8a79){_0x465255['exports']=_0x2064c9(ie(),Rn(),yn());}(On,function(_0x28f2ff){return(function(){var _0x1bf41a=_0x5c5f,_0x39454d=_0x28f2ff,_0x42400f=_0x39454d['lib'],_0x34a4e6=_0x42400f['Base'],_0xcbba04=_0x42400f[_0x1bf41a(0x243)],_0x3c1c63=_0x39454d[_0x1bf41a(0x108)],_0x5b3361=_0x3c1c63['MD5'],_0x124add=_0x3c1c63[_0x1bf41a(0x351)]=_0x34a4e6[_0x1bf41a(0x21d)]({'cfg':_0x34a4e6[_0x1bf41a(0x21d)]({'keySize':0x80/0x20,'hasher':_0x5b3361,'iterations':0x1}),'init':function(_0x2f60eb){var _0x5d2db5=_0x1bf41a;this[_0x5d2db5(0x199)]=this[_0x5d2db5(0x199)]['extend'](_0x2f60eb);},'compute':function(_0x149cc2,_0x49a032){var _0x3e1fe8=_0x1bf41a;for(var _0x4724c1,_0x1ba76d=this['cfg'],_0x4e14a0=_0x1ba76d['hasher'][_0x3e1fe8(0x23f)](),_0x4c9e30=_0xcbba04[_0x3e1fe8(0x23f)](),_0x5282a3=_0x4c9e30['words'],_0x142369=_0x1ba76d[_0x3e1fe8(0x244)],_0x450235=_0x1ba76d[_0x3e1fe8(0x188)];_0x5282a3[_0x3e1fe8(0x316)]<_0x142369;){_0x4724c1&&_0x4e14a0['update'](_0x4724c1),_0x4724c1=_0x4e14a0[_0x3e1fe8(0x38a)](_0x149cc2)['finalize'](_0x49a032),_0x4e14a0[_0x3e1fe8(0x324)]();for(var _0x53d529=0x1;_0x53d529<_0x450235;_0x53d529++)_0x4724c1=_0x4e14a0['finalize'](_0x4724c1),_0x4e14a0['reset']();_0x4c9e30[_0x3e1fe8(0x2df)](_0x4724c1);}return _0x4c9e30['sigBytes']=_0x142369*0x4,_0x4c9e30;}});_0x39454d[_0x1bf41a(0x351)]=function(_0x15af86,_0x968919,_0x37d64f){var _0x378038=_0x1bf41a;return _0x124add['create'](_0x37d64f)[_0x378038(0x14d)](_0x15af86,_0x968919);};}()),_0x28f2ff['EvpKDF'];}));}(Ye)),Ye[_0x311347(0x273)];}var Je={'exports':{}},Nn=Je[_0x3b7310(0x273)],ri;function Ui(){var _0xa21db5=_0x3b7310;return ri||(ri=0x1,function(_0x304281,_0x30bad5){(function(_0x4d52cb,_0x508f54,_0x412eab){_0x304281['exports']=_0x508f54(ie(),wi());}(Nn,function(_0x5541c7){var _0x2591ee=_0x5c5f;_0x5541c7[_0x2591ee(0x2ce)]['Cipher']||function(_0x74394c){var _0x31422a=_0x2591ee,_0x2d94c1=_0x5541c7,_0x1f3495=_0x2d94c1[_0x31422a(0x2ce)],_0x399c81=_0x1f3495[_0x31422a(0xd1)],_0x232188=_0x1f3495[_0x31422a(0x243)],_0x516cdb=_0x1f3495[_0x31422a(0x28d)],_0x247f4a=_0x2d94c1[_0x31422a(0x211)];_0x247f4a[_0x31422a(0x37e)];var _0x35559c=_0x247f4a[_0x31422a(0xb3)],_0x1cd7b3=_0x2d94c1[_0x31422a(0x108)],_0x44d69d=_0x1cd7b3[_0x31422a(0x351)],_0x25ae80=_0x1f3495[_0x31422a(0x342)]=_0x516cdb[_0x31422a(0x21d)]({'cfg':_0x399c81['extend'](),'createEncryptor':function(_0x52755b,_0x289084){return this['create'](this['_ENC_XFORM_MODE'],_0x52755b,_0x289084);},'createDecryptor':function(_0x45477a,_0x5af919){return this['create'](this['_DEC_XFORM_MODE'],_0x45477a,_0x5af919);},'init':function(_0x57cd87,_0x45db18,_0xf8cfd3){var _0x5b5f04=_0x31422a;this[_0x5b5f04(0x199)]=this[_0x5b5f04(0x199)][_0x5b5f04(0x21d)](_0xf8cfd3),this['_xformMode']=_0x57cd87,this[_0x5b5f04(0xcf)]=_0x45db18,this[_0x5b5f04(0x324)]();},'reset':function(){var _0x5f3c52=_0x31422a;_0x516cdb[_0x5f3c52(0x324)][_0x5f3c52(0x269)](this),this['_doReset']();},'process':function(_0x5eeb){var _0x5b3801=_0x31422a;return this[_0x5b3801(0x218)](_0x5eeb),this[_0x5b3801(0x283)]();},'finalize':function(_0x1c8680){var _0x45c725=_0x31422a;_0x1c8680&&this[_0x45c725(0x218)](_0x1c8680);var _0x582ec7=this[_0x45c725(0x132)]();return _0x582ec7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x37c1f7(_0x25b2d9){var _0x303e81=_0x5c5f;return typeof _0x25b2d9==_0x303e81(0x10f)?_0x5ac6be:_0x58dd63;}return function(_0x11d209){return{'encrypt':function(_0xa84799,_0x1fb5cb,_0x302392){var _0x8cc6b8=_0x5c5f;return _0x37c1f7(_0x1fb5cb)[_0x8cc6b8(0x21a)](_0x11d209,_0xa84799,_0x1fb5cb,_0x302392);},'decrypt':function(_0xf7f69d,_0x3458de,_0x381313){return _0x37c1f7(_0x3458de)['decrypt'](_0x11d209,_0xf7f69d,_0x3458de,_0x381313);}};};}())});_0x1f3495['StreamCipher']=_0x25ae80[_0x31422a(0x21d)]({'_doFinalize':function(){var _0x415f04=this['_process'](!0x0);return _0x415f04;},'blockSize':0x1});var _0x249887=_0x2d94c1[_0x31422a(0x1cb)]={},_0x3028af=_0x1f3495[_0x31422a(0x1ff)]=_0x399c81[_0x31422a(0x21d)]({'createEncryptor':function(_0x5577aa,_0x2cef8b){var _0x5c7288=_0x31422a;return this[_0x5c7288(0x2e0)][_0x5c7288(0x23f)](_0x5577aa,_0x2cef8b);},'createDecryptor':function(_0x1efba5,_0x192432){var _0x235466=_0x31422a;return this[_0x235466(0x2cb)][_0x235466(0x23f)](_0x1efba5,_0x192432);},'init':function(_0x17d105,_0x2dd2f7){var _0x312cff=_0x31422a;this[_0x312cff(0xd4)]=_0x17d105,this['_iv']=_0x2dd2f7;}}),_0x3c2b99=_0x249887['CBC']=(function(){var _0x977a01=_0x31422a,_0x433919=_0x3028af['extend']();_0x433919[_0x977a01(0x2e0)]=_0x433919['extend']({'processBlock':function(_0x43820d,_0x3514ba){var _0x917aaa=_0x977a01,_0x4296cc=this[_0x917aaa(0xd4)],_0x25828f=_0x4296cc[_0x917aaa(0x1fe)];_0x288b99[_0x917aaa(0x269)](this,_0x43820d,_0x3514ba,_0x25828f),_0x4296cc[_0x917aaa(0x314)](_0x43820d,_0x3514ba),this[_0x917aaa(0x2f2)]=_0x43820d['slice'](_0x3514ba,_0x3514ba+_0x25828f);}}),_0x433919[_0x977a01(0x2cb)]=_0x433919[_0x977a01(0x21d)]({'processBlock':function(_0xc6264c,_0x33e9c1){var _0x16bbae=_0x977a01,_0x441fe2=this['_cipher'],_0x5a4847=_0x441fe2[_0x16bbae(0x1fe)],_0x21ec51=_0xc6264c['slice'](_0x33e9c1,_0x33e9c1+_0x5a4847);_0x441fe2[_0x16bbae(0x177)](_0xc6264c,_0x33e9c1),_0x288b99[_0x16bbae(0x269)](this,_0xc6264c,_0x33e9c1,_0x5a4847),this[_0x16bbae(0x2f2)]=_0x21ec51;}});function _0x288b99(_0x443274,_0x2d1cfa,_0x26c6f7){var _0x2b9868=_0x977a01,_0x2ec3cf,_0x1e1c03=this[_0x2b9868(0x138)];_0x1e1c03?(_0x2ec3cf=_0x1e1c03,this[_0x2b9868(0x138)]=_0x74394c):_0x2ec3cf=this['_prevBlock'];for(var _0x1265d2=0x0;_0x1265d2<_0x26c6f7;_0x1265d2++)_0x443274[_0x2d1cfa+_0x1265d2]^=_0x2ec3cf[_0x1265d2];}return _0x433919;}()),_0x4631fe=_0x2d94c1['pad']={},_0x25efd9=_0x4631fe[_0x31422a(0x252)]={'pad':function(_0xabbc37,_0x24a243){var _0x19a8df=_0x31422a;for(var _0x54d792=_0x24a243*0x4,_0x5b2f11=_0x54d792-_0xabbc37[_0x19a8df(0xee)]%_0x54d792,_0x957c7b=_0x5b2f11<<0x18|_0x5b2f11<<0x10|_0x5b2f11<<0x8|_0x5b2f11,_0x1f9209=[],_0x2fe31a=0x0;_0x2fe31a<_0x5b2f11;_0x2fe31a+=0x4)_0x1f9209[_0x19a8df(0x304)](_0x957c7b);var _0x426dc4=_0x232188[_0x19a8df(0x23f)](_0x1f9209,_0x5b2f11);_0xabbc37[_0x19a8df(0x2df)](_0x426dc4);},'unpad':function(_0x528634){var _0x996263=_0x31422a,_0x3c05c6=_0x528634['words'][_0x528634[_0x996263(0xee)]-0x1>>>0x2]&0xff;_0x528634[_0x996263(0xee)]-=_0x3c05c6;}};_0x1f3495[_0x31422a(0x24b)]=_0x25ae80[_0x31422a(0x21d)]({'cfg':_0x25ae80[_0x31422a(0x199)][_0x31422a(0x21d)]({'mode':_0x3c2b99,'padding':_0x25efd9}),'reset':function(){var _0x81a9a6=_0x31422a,_0x4fa0ee;_0x25ae80['reset'][_0x81a9a6(0x269)](this);var _0x179b3f=this[_0x81a9a6(0x199)],_0x1e855b=_0x179b3f['iv'],_0x4251ce=_0x179b3f['mode'];this[_0x81a9a6(0x154)]==this[_0x81a9a6(0x1d4)]?_0x4fa0ee=_0x4251ce['createEncryptor']:(_0x4fa0ee=_0x4251ce[_0x81a9a6(0x13c)],this['_minBufferSize']=0x1),this[_0x81a9a6(0x1d1)]&&this[_0x81a9a6(0x1d1)][_0x81a9a6(0x39e)]==_0x4fa0ee?this[_0x81a9a6(0x1d1)]['init'](this,_0x1e855b&&_0x1e855b[_0x81a9a6(0x2ec)]):(this['_mode']=_0x4fa0ee[_0x81a9a6(0x269)](_0x4251ce,this,_0x1e855b&&_0x1e855b[_0x81a9a6(0x2ec)]),this[_0x81a9a6(0x1d1)][_0x81a9a6(0x39e)]=_0x4fa0ee);},'_doProcessBlock':function(_0x10eeec,_0x1b7a91){var _0x293fc4=_0x31422a;this['_mode'][_0x293fc4(0x17c)](_0x10eeec,_0x1b7a91);},'_doFinalize':function(){var _0x663529=_0x31422a,_0xa3e972,_0x4a38df=this[_0x663529(0x199)]['padding'];return this[_0x663529(0x154)]==this['_ENC_XFORM_MODE']?(_0x4a38df[_0x663529(0x286)](this[_0x663529(0x2b3)],this[_0x663529(0x1fe)]),_0xa3e972=this[_0x663529(0x283)](!0x0)):(_0xa3e972=this['_process'](!0x0),_0x4a38df['unpad'](_0xa3e972)),_0xa3e972;},'blockSize':0x80/0x20});var _0x51e7f3=_0x1f3495[_0x31422a(0x32f)]=_0x399c81[_0x31422a(0x21d)]({'init':function(_0x1efc8d){var _0x13152d=_0x31422a;this[_0x13152d(0x336)](_0x1efc8d);},'toString':function(_0x3b1a7f){var _0x49f117=_0x31422a;return(_0x3b1a7f||this[_0x49f117(0xfa)])['stringify'](this);}}),_0x467820=_0x2d94c1[_0x31422a(0x128)]={},_0x270ccb=_0x467820['OpenSSL']={'stringify':function(_0x565dc8){var _0x311d81=_0x31422a,_0x8017ed,_0x103a06=_0x565dc8[_0x311d81(0x1f1)],_0x38cf28=_0x565dc8[_0x311d81(0x150)];return _0x38cf28?_0x8017ed=_0x232188[_0x311d81(0x23f)]([0x53616c74,0x65645f5f])['concat'](_0x38cf28)[_0x311d81(0x2df)](_0x103a06):_0x8017ed=_0x103a06,_0x8017ed[_0x311d81(0xf7)](_0x35559c);},'parse':function(_0x224341){var _0xab00fb=_0x31422a,_0x388895,_0x357812=_0x35559c[_0xab00fb(0x117)](_0x224341),_0x30afe7=_0x357812['words'];return _0x30afe7[0x0]==0x53616c74&&_0x30afe7[0x1]==0x65645f5f&&(_0x388895=_0x232188[_0xab00fb(0x23f)](_0x30afe7['slice'](0x2,0x4)),_0x30afe7[_0xab00fb(0x373)](0x0,0x4),_0x357812['sigBytes']-=0x10),_0x51e7f3['create']({'ciphertext':_0x357812,'salt':_0x388895});}},_0x58dd63=_0x1f3495['SerializableCipher']=_0x399c81['extend']({'cfg':_0x399c81[_0x31422a(0x21d)]({'format':_0x270ccb}),'encrypt':function(_0x2541d4,_0x1f6c29,_0x52ca11,_0x220cb7){var _0x5cb38d=_0x31422a;_0x220cb7=this[_0x5cb38d(0x199)][_0x5cb38d(0x21d)](_0x220cb7);var _0x1d67dd=_0x2541d4[_0x5cb38d(0x2e6)](_0x52ca11,_0x220cb7),_0x450de3=_0x1d67dd[_0x5cb38d(0x293)](_0x1f6c29),_0x3d3228=_0x1d67dd[_0x5cb38d(0x199)];return _0x51e7f3[_0x5cb38d(0x23f)]({'ciphertext':_0x450de3,'key':_0x52ca11,'iv':_0x3d3228['iv'],'algorithm':_0x2541d4,'mode':_0x3d3228[_0x5cb38d(0x1cb)],'padding':_0x3d3228[_0x5cb38d(0x1ef)],'blockSize':_0x2541d4[_0x5cb38d(0x1fe)],'formatter':_0x220cb7[_0x5cb38d(0x128)]});},'decrypt':function(_0x350369,_0x4b8ae9,_0x1ce286,_0x49ac26){var _0x4f6d98=_0x31422a;_0x49ac26=this['cfg']['extend'](_0x49ac26),_0x4b8ae9=this['_parse'](_0x4b8ae9,_0x49ac26['format']);var _0x483b90=_0x350369[_0x4f6d98(0x13c)](_0x1ce286,_0x49ac26)[_0x4f6d98(0x293)](_0x4b8ae9[_0x4f6d98(0x1f1)]);return _0x483b90;},'_parse':function(_0x4c7238,_0xa75da){var _0x39795b=_0x31422a;return typeof _0x4c7238==_0x39795b(0x10f)?_0xa75da[_0x39795b(0x117)](_0x4c7238,this):_0x4c7238;}}),_0x136d37=_0x2d94c1[_0x31422a(0x22a)]={},_0x2b9115=_0x136d37[_0x31422a(0x30b)]={'execute':function(_0x2ed511,_0x4e1c7b,_0x5b7527,_0x203f6d,_0x11be4a){var _0x524956=_0x31422a;if(_0x203f6d||(_0x203f6d=_0x232188[_0x524956(0x27f)](0x40/0x8)),_0x11be4a)var _0x3850a8=_0x44d69d[_0x524956(0x23f)]({'keySize':_0x4e1c7b+_0x5b7527,'hasher':_0x11be4a})['compute'](_0x2ed511,_0x203f6d);else var _0x3850a8=_0x44d69d[_0x524956(0x23f)]({'keySize':_0x4e1c7b+_0x5b7527})[_0x524956(0x14d)](_0x2ed511,_0x203f6d);var _0x40644b=_0x232188[_0x524956(0x23f)](_0x3850a8[_0x524956(0x2ec)][_0x524956(0x1d8)](_0x4e1c7b),_0x5b7527*0x4);return _0x3850a8[_0x524956(0xee)]=_0x4e1c7b*0x4,_0x51e7f3[_0x524956(0x23f)]({'key':_0x3850a8,'iv':_0x40644b,'salt':_0x203f6d});}},_0x5ac6be=_0x1f3495[_0x31422a(0x322)]=_0x58dd63[_0x31422a(0x21d)]({'cfg':_0x58dd63['cfg'][_0x31422a(0x21d)]({'kdf':_0x2b9115}),'encrypt':function(_0x200d9e,_0x4acb57,_0x5e1192,_0x5da5a1){var _0x57a9c5=_0x31422a;_0x5da5a1=this[_0x57a9c5(0x199)][_0x57a9c5(0x21d)](_0x5da5a1);var _0x245dc3=_0x5da5a1['kdf'][_0x57a9c5(0x253)](_0x5e1192,_0x200d9e['keySize'],_0x200d9e['ivSize'],_0x5da5a1['salt'],_0x5da5a1['hasher']);_0x5da5a1['iv']=_0x245dc3['iv'];var _0x412dd8=_0x58dd63[_0x57a9c5(0x21a)][_0x57a9c5(0x269)](this,_0x200d9e,_0x4acb57,_0x245dc3['key'],_0x5da5a1);return _0x412dd8[_0x57a9c5(0x336)](_0x245dc3),_0x412dd8;},'decrypt':function(_0x521ccb,_0x3a76ce,_0x25884b,_0xff6805){var _0x5af0a1=_0x31422a;_0xff6805=this[_0x5af0a1(0x199)]['extend'](_0xff6805),_0x3a76ce=this[_0x5af0a1(0x328)](_0x3a76ce,_0xff6805['format']);var _0x35886f=_0xff6805['kdf'][_0x5af0a1(0x253)](_0x25884b,_0x521ccb[_0x5af0a1(0x244)],_0x521ccb[_0x5af0a1(0x2c1)],_0x3a76ce['salt'],_0xff6805['hasher']);_0xff6805['iv']=_0x35886f['iv'];var _0x5c5570=_0x58dd63['decrypt'][_0x5af0a1(0x269)](this,_0x521ccb,_0x3a76ce,_0x35886f['key'],_0xff6805);return _0x5c5570;}});}();}));}(Je)),Je[_0xa21db5(0x273)];}var Dn=Ge[_0x3b7310(0x273)],ni;function wn(){var _0x83c060=_0x3b7310;return ni||(ni=0x1,function(_0x44ecd0,_0xaf9a07){(function(_0x4d3abb,_0x361308,_0x4ccabf){var _0x32a0e7=_0x5c5f;_0x44ecd0[_0x32a0e7(0x273)]=_0x361308(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x227e31){return(function(){var _0x288de3=_0x5c5f,_0x3a2195=_0x227e31,_0x3b55dc=_0x3a2195[_0x288de3(0x2ce)],_0xc20497=_0x3b55dc[_0x288de3(0x24b)],_0xe4635e=_0x3a2195['algo'],_0x28432d=[],_0x33b211=[],_0x1f7a49=[],_0x230847=[],_0x53a029=[],_0x20295c=[],_0x28f6c9=[],_0x393993=[],_0x4bffde=[],_0x1207cf=[];(function(){for(var _0x552960=[],_0x5ef9dc=0x0;_0x5ef9dc<0x100;_0x5ef9dc++)_0x5ef9dc<0x80?_0x552960[_0x5ef9dc]=_0x5ef9dc<<0x1:_0x552960[_0x5ef9dc]=_0x5ef9dc<<0x1^0x11b;for(var _0x3e15a2=0x0,_0x28cc8b=0x0,_0x5ef9dc=0x0;_0x5ef9dc<0x100;_0x5ef9dc++){var _0x3eb874=_0x28cc8b^_0x28cc8b<<0x1^_0x28cc8b<<0x2^_0x28cc8b<<0x3^_0x28cc8b<<0x4;_0x3eb874=_0x3eb874>>>0x8^_0x3eb874&0xff^0x63,_0x28432d[_0x3e15a2]=_0x3eb874,_0x33b211[_0x3eb874]=_0x3e15a2;var _0x2eb422=_0x552960[_0x3e15a2],_0x28ddab=_0x552960[_0x2eb422],_0x783428=_0x552960[_0x28ddab],_0x36c5a8=_0x552960[_0x3eb874]*0x101^_0x3eb874*0x1010100;_0x1f7a49[_0x3e15a2]=_0x36c5a8<<0x18|_0x36c5a8>>>0x8,_0x230847[_0x3e15a2]=_0x36c5a8<<0x10|_0x36c5a8>>>0x10,_0x53a029[_0x3e15a2]=_0x36c5a8<<0x8|_0x36c5a8>>>0x18,_0x20295c[_0x3e15a2]=_0x36c5a8;var _0x36c5a8=_0x783428*0x1010101^_0x28ddab*0x10001^_0x2eb422*0x101^_0x3e15a2*0x1010100;_0x28f6c9[_0x3eb874]=_0x36c5a8<<0x18|_0x36c5a8>>>0x8,_0x393993[_0x3eb874]=_0x36c5a8<<0x10|_0x36c5a8>>>0x10,_0x4bffde[_0x3eb874]=_0x36c5a8<<0x8|_0x36c5a8>>>0x18,_0x1207cf[_0x3eb874]=_0x36c5a8,_0x3e15a2?(_0x3e15a2=_0x2eb422^_0x552960[_0x552960[_0x552960[_0x783428^_0x2eb422]]],_0x28cc8b^=_0x552960[_0x552960[_0x28cc8b]]):_0x3e15a2=_0x28cc8b=0x1;}}());var _0x1de444=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28b495=_0xe4635e[_0x288de3(0x14c)]=_0xc20497[_0x288de3(0x21d)]({'_doReset':function(){var _0x40b6a6=_0x288de3,_0x27e0c1;if(!(this[_0x40b6a6(0x396)]&&this[_0x40b6a6(0x217)]===this[_0x40b6a6(0xcf)])){for(var _0x568824=this[_0x40b6a6(0x217)]=this[_0x40b6a6(0xcf)],_0x4cc828=_0x568824[_0x40b6a6(0x2ec)],_0x39a8e1=_0x568824[_0x40b6a6(0xee)]/0x4,_0x499754=this['_nRounds']=_0x39a8e1+0x6,_0x575245=(_0x499754+0x1)*0x4,_0x21b01e=this[_0x40b6a6(0xc7)]=[],_0x11cf22=0x0;_0x11cf22<_0x575245;_0x11cf22++)_0x11cf22<_0x39a8e1?_0x21b01e[_0x11cf22]=_0x4cc828[_0x11cf22]:(_0x27e0c1=_0x21b01e[_0x11cf22-0x1],_0x11cf22%_0x39a8e1?_0x39a8e1>0x6&&_0x11cf22%_0x39a8e1==0x4&&(_0x27e0c1=_0x28432d[_0x27e0c1>>>0x18]<<0x18|_0x28432d[_0x27e0c1>>>0x10&0xff]<<0x10|_0x28432d[_0x27e0c1>>>0x8&0xff]<<0x8|_0x28432d[_0x27e0c1&0xff]):(_0x27e0c1=_0x27e0c1<<0x8|_0x27e0c1>>>0x18,_0x27e0c1=_0x28432d[_0x27e0c1>>>0x18]<<0x18|_0x28432d[_0x27e0c1>>>0x10&0xff]<<0x10|_0x28432d[_0x27e0c1>>>0x8&0xff]<<0x8|_0x28432d[_0x27e0c1&0xff],_0x27e0c1^=_0x1de444[_0x11cf22/_0x39a8e1|0x0]<<0x18),_0x21b01e[_0x11cf22]=_0x21b01e[_0x11cf22-_0x39a8e1]^_0x27e0c1);for(var _0x472716=this[_0x40b6a6(0x1e0)]=[],_0x2cb09a=0x0;_0x2cb09a<_0x575245;_0x2cb09a++){var _0x11cf22=_0x575245-_0x2cb09a;if(_0x2cb09a%0x4)var _0x27e0c1=_0x21b01e[_0x11cf22];else var _0x27e0c1=_0x21b01e[_0x11cf22-0x4];_0x2cb09a<0x4||_0x11cf22<=0x4?_0x472716[_0x2cb09a]=_0x27e0c1:_0x472716[_0x2cb09a]=_0x28f6c9[_0x28432d[_0x27e0c1>>>0x18]]^_0x393993[_0x28432d[_0x27e0c1>>>0x10&0xff]]^_0x4bffde[_0x28432d[_0x27e0c1>>>0x8&0xff]]^_0x1207cf[_0x28432d[_0x27e0c1&0xff]];}}},'encryptBlock':function(_0x32fbe2,_0x183156){var _0x52bd7d=_0x288de3;this[_0x52bd7d(0x2e1)](_0x32fbe2,_0x183156,this['_keySchedule'],_0x1f7a49,_0x230847,_0x53a029,_0x20295c,_0x28432d);},'decryptBlock':function(_0x57c07e,_0x7115ac){var _0x54be59=_0x57c07e[_0x7115ac+0x1];_0x57c07e[_0x7115ac+0x1]=_0x57c07e[_0x7115ac+0x3],_0x57c07e[_0x7115ac+0x3]=_0x54be59,this['_doCryptBlock'](_0x57c07e,_0x7115ac,this['_invKeySchedule'],_0x28f6c9,_0x393993,_0x4bffde,_0x1207cf,_0x33b211);var _0x54be59=_0x57c07e[_0x7115ac+0x1];_0x57c07e[_0x7115ac+0x1]=_0x57c07e[_0x7115ac+0x3],_0x57c07e[_0x7115ac+0x3]=_0x54be59;},'_doCryptBlock':function(_0x565ecb,_0x5b431f,_0x17a9b2,_0x29dab8,_0x308a74,_0x1a3805,_0xd08c81,_0x217309){var _0x991441=_0x288de3;for(var _0x3ba3de=this[_0x991441(0x396)],_0x48a281=_0x565ecb[_0x5b431f]^_0x17a9b2[0x0],_0x4c690e=_0x565ecb[_0x5b431f+0x1]^_0x17a9b2[0x1],_0x15a379=_0x565ecb[_0x5b431f+0x2]^_0x17a9b2[0x2],_0x18403b=_0x565ecb[_0x5b431f+0x3]^_0x17a9b2[0x3],_0x42bfb6=0x4,_0x3c454f=0x1;_0x3c454f<_0x3ba3de;_0x3c454f++){var _0x357245=_0x29dab8[_0x48a281>>>0x18]^_0x308a74[_0x4c690e>>>0x10&0xff]^_0x1a3805[_0x15a379>>>0x8&0xff]^_0xd08c81[_0x18403b&0xff]^_0x17a9b2[_0x42bfb6++],_0x3b26f0=_0x29dab8[_0x4c690e>>>0x18]^_0x308a74[_0x15a379>>>0x10&0xff]^_0x1a3805[_0x18403b>>>0x8&0xff]^_0xd08c81[_0x48a281&0xff]^_0x17a9b2[_0x42bfb6++],_0x27381e=_0x29dab8[_0x15a379>>>0x18]^_0x308a74[_0x18403b>>>0x10&0xff]^_0x1a3805[_0x48a281>>>0x8&0xff]^_0xd08c81[_0x4c690e&0xff]^_0x17a9b2[_0x42bfb6++],_0x405783=_0x29dab8[_0x18403b>>>0x18]^_0x308a74[_0x48a281>>>0x10&0xff]^_0x1a3805[_0x4c690e>>>0x8&0xff]^_0xd08c81[_0x15a379&0xff]^_0x17a9b2[_0x42bfb6++];_0x48a281=_0x357245,_0x4c690e=_0x3b26f0,_0x15a379=_0x27381e,_0x18403b=_0x405783;}var _0x357245=(_0x217309[_0x48a281>>>0x18]<<0x18|_0x217309[_0x4c690e>>>0x10&0xff]<<0x10|_0x217309[_0x15a379>>>0x8&0xff]<<0x8|_0x217309[_0x18403b&0xff])^_0x17a9b2[_0x42bfb6++],_0x3b26f0=(_0x217309[_0x4c690e>>>0x18]<<0x18|_0x217309[_0x15a379>>>0x10&0xff]<<0x10|_0x217309[_0x18403b>>>0x8&0xff]<<0x8|_0x217309[_0x48a281&0xff])^_0x17a9b2[_0x42bfb6++],_0x27381e=(_0x217309[_0x15a379>>>0x18]<<0x18|_0x217309[_0x18403b>>>0x10&0xff]<<0x10|_0x217309[_0x48a281>>>0x8&0xff]<<0x8|_0x217309[_0x4c690e&0xff])^_0x17a9b2[_0x42bfb6++],_0x405783=(_0x217309[_0x18403b>>>0x18]<<0x18|_0x217309[_0x48a281>>>0x10&0xff]<<0x10|_0x217309[_0x4c690e>>>0x8&0xff]<<0x8|_0x217309[_0x15a379&0xff])^_0x17a9b2[_0x42bfb6++];_0x565ecb[_0x5b431f]=_0x357245,_0x565ecb[_0x5b431f+0x1]=_0x3b26f0,_0x565ecb[_0x5b431f+0x2]=_0x27381e,_0x565ecb[_0x5b431f+0x3]=_0x405783;},'keySize':0x100/0x20});_0x3a2195[_0x288de3(0x14c)]=_0xc20497[_0x288de3(0x2d4)](_0x28b495);}()),_0x227e31['AES'];}));}(Ge)),Ge[_0x83c060(0x273)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x3b7310(0x273)],oi;function Ln(){return oi||(oi=0x1,function(_0xbed682,_0x5ac65c){(function(_0x44c5e0,_0x3343fb){_0xbed682['exports']=_0x3343fb(ie());}(xn,function(_0x3f0943){var _0x4ac927=_0x5c5f;return _0x3f0943[_0x4ac927(0x211)][_0x4ac927(0x37e)];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){var _0x3ac70a=_0x3b7310;return ai||(ai=0x1,function(_0x5be3a5,_0x1b0a40){(function(_0x3e2318,_0x55a506){_0x5be3a5['exports']=_0x55a506(ie());}($n,function(_0xec4528){var _0x2e677d=_0x5c5f;return(function(){var _0x32c3b3=_0x5c5f;if(typeof ArrayBuffer=='function'){var _0x33bad1=_0xec4528,_0x2024e5=_0x33bad1['lib'],_0x4a263d=_0x2024e5[_0x32c3b3(0x243)],_0x474252=_0x4a263d[_0x32c3b3(0x1fd)],_0x4deb9d=_0x4a263d[_0x32c3b3(0x1fd)]=function(_0x3d6a7e){var _0x471086=_0x32c3b3;if(_0x3d6a7e instanceof ArrayBuffer&&(_0x3d6a7e=new Uint8Array(_0x3d6a7e)),(_0x3d6a7e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d6a7e instanceof Uint8ClampedArray||_0x3d6a7e instanceof Int16Array||_0x3d6a7e instanceof Uint16Array||_0x3d6a7e instanceof Int32Array||_0x3d6a7e instanceof Uint32Array||_0x3d6a7e instanceof Float32Array||_0x3d6a7e instanceof Float64Array)&&(_0x3d6a7e=new Uint8Array(_0x3d6a7e[_0x471086(0x346)],_0x3d6a7e[_0x471086(0x127)],_0x3d6a7e['byteLength'])),_0x3d6a7e instanceof Uint8Array){for(var _0x343630=_0x3d6a7e[_0x471086(0x276)],_0x12395d=[],_0x5338be=0x0;_0x5338be<_0x343630;_0x5338be++)_0x12395d[_0x5338be>>>0x2]|=_0x3d6a7e[_0x5338be]<<0x18-_0x5338be%0x4*0x8;_0x474252['call'](this,_0x12395d,_0x343630);}else _0x474252['apply'](this,arguments);};_0x4deb9d[_0x32c3b3(0x2ad)]=_0x4a263d;}}()),_0xec4528[_0x2e677d(0x2ce)][_0x2e677d(0x243)];}));}(Ze)),Ze[_0x3ac70a(0x273)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x3b7310(0x273)],ci;function Gn(){var _0xa3eb67=_0x3b7310;return ci||(ci=0x1,function(_0x3aaed1,_0x4f85e9){(function(_0x24fc38,_0x49b0e3,_0x508245){var _0x4cd9e2=_0x5c5f;_0x3aaed1[_0x4cd9e2(0x273)]=_0x49b0e3(ie(),Ui());}(Fn,function(_0x1a9b49){var _0x28f48f=_0x5c5f;return _0x1a9b49[_0x28f48f(0x286)][_0x28f48f(0xf9)]={'pad':function(){},'unpad':function(){}},_0x1a9b49['pad']['NoPadding'];}));}(Qe)),Qe[_0xa3eb67(0x273)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0xdf56d6,_0x543471){var _0x12d91c=_0x3b7310;const _0x25ee69=_0x543471-_0xdf56d6[_0x12d91c(0x316)]%_0x543471,_0x3f7f92=String[_0x12d91c(0x2a6)](_0x25ee69)[_0x12d91c(0x1b8)](_0x25ee69);return _0xdf56d6+_0x3f7f92;}function Yn(_0x3a19a7,_0x3ced00){var _0x3110da=_0x3b7310;const _0x15dab9=jn['random'](0x10),_0x27834b=Kn(_0x3a19a7,0x10),_0x23a762=An[_0x3110da(0x21a)](kn[_0x3110da(0x117)](_0x27834b),si['parse'](_0x3ced00),{'iv':_0x15dab9,'padding':Wn});return _0x15dab9[_0x3110da(0x2df)](_0x23a762[_0x3110da(0x1f1)])['toString'](si);}function qn(){var _0x2a70bd=_0x3b7310;const _0x57fe60=_0x5efa8e()[_0x2a70bd(0x358)];if(_0x57fe60){const _0x567de5={'time':Math[_0x2a70bd(0x143)](Date[_0x2a70bd(0x285)]()/0x3e8),'domain':location[_0x2a70bd(0x337)]};return Yn(JSON['stringify'](_0x567de5),_0x57fe60);}}var zn=Object[_0x3b7310(0x20e)],Jn=(_0x531bf8,_0xf5db9d,_0x17a41a,_0x1214ea)=>{for(var _0x486885=_0x1214ea>0x1?void 0x0:_0x1214ea?zn(_0xf5db9d,_0x17a41a):_0xf5db9d,_0x35c7ec=_0x531bf8['length']-0x1,_0x21f1fd;_0x35c7ec>=0x0;_0x35c7ec--)(_0x21f1fd=_0x531bf8[_0x35c7ec])&&(_0x486885=_0x21f1fd(_0x486885)||_0x486885);return _0x486885;},Xn=(_0x3d2256,_0x24561f)=>(_0x1e2ab0,_0x1cc5f2)=>_0x24561f(_0x1e2ab0,_0x1cc5f2,_0x3d2256);let ot=class{constructor(_0x1d42eb){this['_httpService']=_0x1d42eb,this['_initRequestHeader']();}[_0x3b7310(0x1bf)](){var _0x4cd599=_0x3b7310;this[_0x4cd599(0x35a)][_0x4cd599(0x2c4)]({'interceptor':(_0x19f991,_0x2e9580)=>{var _0x480761=_0x4cd599;const _0x429478=_0x19f991[_0x480761(0x277)],_0xc647d0=qn();return _0xc647d0&&_0x429478[_0x480761(0x151)](_0x480761(0x152),_0xc647d0),_0x2e9580(_0x19f991);}});}};ot=Jn([Xn(0x0,_0x419509(_0x347bc3))],ot);var Zn=Object[_0x3b7310(0x20e)],Qn=(_0x42bf07,_0x366744,_0x1ad1f2,_0x522115)=>{var _0x3c9a14=_0x3b7310;for(var _0x14746f=_0x522115>0x1?void 0x0:_0x522115?Zn(_0x366744,_0x1ad1f2):_0x366744,_0x1ec1a8=_0x42bf07[_0x3c9a14(0x316)]-0x1,_0x26e154;_0x1ec1a8>=0x0;_0x1ec1a8--)(_0x26e154=_0x42bf07[_0x1ec1a8])&&(_0x14746f=_0x26e154(_0x14746f)||_0x14746f);return _0x14746f;},mt=(_0x4e9094,_0x529043)=>(_0x38f796,_0x10f8f4)=>_0x529043(_0x38f796,_0x10f8f4,_0x4e9094);let bt=class extends _0x3f9fed{constructor(_0x25c2a3,_0xa05c6e,_0xb88882){var _0x3e88bd=_0x3b7310;super(),N(this,_0x3e88bd(0x2be),new _0x31cf27(null)),N(this,_0x3e88bd(0x251),this[_0x3e88bd(0x2be)][_0x3e88bd(0x2bf)]()),(this[_0x3e88bd(0x330)]=_0x25c2a3,this[_0x3e88bd(0x239)]=_0xa05c6e,this['_localCacheService']=_0xb88882);}async['loadUnit'](_0x2fba19,_0x425479,_0x117cb3){var _0x48ef5e=_0x3b7310;this[_0x48ef5e(0x2be)][_0x48ef5e(0x2a5)]({'unitId':_0x2fba19,'type':_0x425479,'subUnitId':_0x117cb3});let _0x34e0bf=null;switch(_0x425479){case Q[_0x48ef5e(0xe8)]:{_0x34e0bf=await this[_0x48ef5e(0xca)](_0x2fba19);break;}case Q['UNIVER_DOC']:{_0x34e0bf=await this['_loadDoc'](_0x2fba19);break;}default:{this[_0x48ef5e(0x330)][_0x48ef5e(0x399)]('[DataLoaderService]',_0x48ef5e(0x259));break;}}return _0x34e0bf;}async['_loadSheet'](_0x5d27c5){var _0x3096d8=_0x3b7310,_0x136f5c;let _0x350d32=0x0;const _0x398e17=await((_0x136f5c=this['_localCacheService'])==null?void 0x0:_0x136f5c[_0x3096d8(0x1a3)](_0x5d27c5));return _0x398e17&&(_0x398e17[_0x3096d8(0x1a4)]||_0x398e17[_0x3096d8(0x28a)][_0x3096d8(0x316)]!==0x0)&&(_0x350d32=_0x398e17[_0x3096d8(0x227)]),_0x350d32===0x0&&this['_logService'][_0x3096d8(0x2e8)](_0x3096d8(0xfd),_0x3096d8(0x1bb)),this[_0x3096d8(0x239)][_0x3096d8(0x125)](_0x5d27c5,_0x350d32);}async['_loadDoc'](_0x32b843){var _0x51258a=_0x3b7310,_0x40dffb;let _0x3963d8=0x0;const _0x2b56d8=await((_0x40dffb=this[_0x51258a(0x2a7)])==null?void 0x0:_0x40dffb['loadOfflineData'](_0x32b843));return _0x2b56d8&&(_0x2b56d8['awaitingChangeset']||_0x2b56d8[_0x51258a(0x28a)][_0x51258a(0x316)]!==0x0)&&(_0x3963d8=_0x2b56d8[_0x51258a(0x227)]),_0x3963d8===0x0&&this[_0x51258a(0x330)][_0x51258a(0x2e8)](_0x51258a(0xfd),_0x51258a(0x1bb)),this[_0x51258a(0x239)]['loadDoc'](_0x32b843,_0x3963d8);}};bt=Qn([mt(0x0,_0x2e40a9),mt(0x1,_0x419509(_0x58b0db)),mt(0x2,_0x21c4ab(J))],bt);var es=Object[_0x3b7310(0x20e)],ts=(_0x40dce9,_0x248018,_0x370de2,_0x2c07de)=>{var _0x27fcbf=_0x3b7310;for(var _0x1d0764=_0x2c07de>0x1?void 0x0:_0x2c07de?es(_0x248018,_0x370de2):_0x248018,_0x4a4f7c=_0x40dce9[_0x27fcbf(0x316)]-0x1,_0x4f999;_0x4a4f7c>=0x0;_0x4a4f7c--)(_0x4f999=_0x40dce9[_0x4a4f7c])&&(_0x1d0764=_0x4f999(_0x1d0764)||_0x1d0764);return _0x1d0764;},gt=(_0x5cb8ea,_0x49fc85)=>(_0x3eb0be,_0x2b832c)=>_0x49fc85(_0x3eb0be,_0x2b832c,_0x5cb8ea);const is=[_0x3b7310(0x1a8),_0x3b7310(0x168),_0x3b7310(0x121),_0x3b7310(0xfb),'image/bmp'],rs=0x5*0x400*0x400,ns=_0x3b7310(0x38f),ss=_0x3b7310(0x32d),os=_0x3b7310(0x226),as='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x566bb6,_0x2c20b8,_0xb4ffaf){var _0x2b33f9=_0x3b7310;N(this,'_waitCount',0x0),N(this,'_change$',new _0x2898a5()),N(this,_0x2b33f9(0x1a9),this[_0x2b33f9(0x1c9)]),N(this,_0x2b33f9(0x23c),new Map()),(this['_httpService']=_0x566bb6,this[_0x2b33f9(0x1a0)]=_0x2c20b8,this['_univerInstanceService']=_0xb4ffaf);}[_0x3b7310(0x14e)](_0x17c925){var _0x3ab8f1=_0x3b7310;this[_0x3ab8f1(0x2a3)]=_0x17c925,this['_change$'][_0x3ab8f1(0x2a5)](_0x17c925);}[_0x3b7310(0x35d)](_0x5a382b,_0xe89d61){var _0x5a8881=_0x3b7310;if(_0xe89d61===_0x164f47[_0x5a8881(0x2f5)]){const _0x4156e2=new Image();return _0x4156e2[_0x5a8881(0x29f)]=_0x5a382b,_0x4156e2;}return this[_0x5a8881(0x23c)]['get'](_0x5a382b);}[_0x3b7310(0x26b)](_0x54c864,_0x3a1a93,_0x304b2b){var _0x554961=_0x3b7310;_0x3a1a93===_0x164f47[_0x554961(0x2f5)]||_0x304b2b==null||this[_0x554961(0x23c)][_0x554961(0x151)](_0x54c864,_0x304b2b);}async[_0x3b7310(0x306)](_0x208254){var _0x54ea17=_0x3b7310;try{const _0x39a779=this[_0x54ea17(0xe0)](this['_getSignURL'](),''+_0x208254),_0x3b2db7=(await this[_0x54ea17(0x35a)]['get'](_0x39a779))[_0x54ea17(0x2ed)];if(_0x3b2db7[_0x54ea17(0x399)]&&_0x3b2db7[_0x54ea17(0x399)][_0x54ea17(0x2f4)]===Si['OK']){const _0x591fb1=new URL(_0x3b2db7[_0x54ea17(0x284)],this[_0x54ea17(0xc8)]())['toString']();return Promise[_0x54ea17(0x34e)](_0x591fb1);}return Promise['reject'](_0x3b2db7[_0x54ea17(0x399)]);}catch(_0x2d49e6){return Promise[_0x54ea17(0x204)](_0x2d49e6);}}async[_0x3b7310(0x13e)](_0x277900){var _0x3f52bb=_0x3b7310;let _0x56ccff='';if(!is[_0x3f52bb(0x10a)](_0x277900[_0x3f52bb(0x16e)]))return this['_decreaseWaiting'](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652['ERROR_IMAGE_TYPE']));if(_0x277900[_0x3f52bb(0x363)]>rs)return this[_0x3f52bb(0xba)](),Promise['reject'](new Error(_0x6a3652[_0x3f52bb(0x28c)]));try{const _0x90b207=new FormData();_0x90b207[_0x3f52bb(0x2ea)]('file',_0x277900);const _0x29e796=this[_0x3f52bb(0x36a)][_0x3f52bb(0x15d)](),_0x4b7d5a=_0x29e796==null?void 0x0:_0x29e796['getUnitId']();if(!_0x4b7d5a)throw new Error(_0x3f52bb(0x327));const _0xb5d70d=this['_getUploadFileURL']()+_0x3f52bb(0xbb)+_0x277900[_0x3f52bb(0x363)]['toString']()+_0x3f52bb(0x1ea)+Ei[_0x3f52bb(0x12d)]+_0x3f52bb(0x248)+encodeURIComponent(_0x4b7d5a),_0x2b927f=await(await fetch(_0xb5d70d,{'method':'POST','body':_0x90b207}))[_0x3f52bb(0x311)]();if(typeof _0x2b927f[_0x3f52bb(0x264)]!='string')return this[_0x3f52bb(0xba)](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652['ERROR_IMAGE']));_0x56ccff=_0x2b927f['FileId'];}catch{return this[_0x3f52bb(0xba)](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652[_0x3f52bb(0xe6)]));}return new Promise((_0x4de24d,_0x2a637c)=>{var _0x4d4a59=_0x3f52bb;const _0xc5ec2c=new FileReader();_0xc5ec2c[_0x4d4a59(0x1c7)](_0x277900),_0xc5ec2c['onload']=_0x106331=>{var _0xbdd321=_0x4d4a59,_0x16052a;const _0x157902=(_0x16052a=_0x106331[_0xbdd321(0x378)])==null?void 0x0:_0x16052a[_0xbdd321(0xab)];if(_0x157902==null){this['_decreaseWaiting'](),_0x2a637c(new Error(_0x6a3652[_0xbdd321(0xe6)]));return;}const _0x529ab7=_0x41ec87[_0xbdd321(0x2ba)](0x6);_0x4de24d({'imageId':_0x529ab7,'imageSourceType':_0x164f47[_0xbdd321(0x2af)],'source':_0x56ccff,'base64Cache':_0x157902,'status':_0x6a3652[_0xbdd321(0xdd)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x5e8251=_0x3b7310,_0x1dae40,_0x2a9047;const _0x1ce07b=this[_0x5e8251(0x1a0)][_0x5e8251(0x30f)](ns),_0x45774e=this[_0x5e8251(0x1a0)][_0x5e8251(0x30f)](q);return(_0x2a9047=(_0x1dae40=_0x45774e==null?void 0x0:_0x45774e[_0x5e8251(0x246)])!=null?_0x1dae40:_0x1ce07b)!=null?_0x2a9047:ss;}[_0x3b7310(0x101)](){var _0x3ad15e=_0x3b7310,_0x49ac67,_0x4a49ab;const _0x55bfaa=this[_0x3ad15e(0x1a0)][_0x3ad15e(0x30f)](os),_0x43b1b0=this['_configService'][_0x3ad15e(0x30f)](q);return(_0x4a49ab=(_0x49ac67=_0x43b1b0==null?void 0x0:_0x43b1b0[_0x3ad15e(0x158)])!=null?_0x49ac67:_0x55bfaa)!=null?_0x4a49ab:as;}['_getDownloadEndpointURL'](){var _0x449433=_0x3b7310,_0x3a4559;const _0x1c1daa=this[_0x449433(0x1a0)][_0x449433(0x30f)](q);return(_0x3a4559=_0x1c1daa==null?void 0x0:_0x1c1daa[_0x449433(0x1e2)])!=null?_0x3a4559:location[_0x449433(0x1aa)];}[_0x3b7310(0xe0)](_0x5cc50a,_0x40ff47){var _0x325693=_0x3b7310;return _0x5cc50a[_0x325693(0x2d6)](_0x325693(0x35f),_0x40ff47);}[_0x3b7310(0xba)](){var _0x40a6e5=_0x3b7310;this[_0x40a6e5(0x2a3)]-=0x1,this['_change$'][_0x40a6e5(0x2a5)](this[_0x40a6e5(0x2a3)]);}};yt=ts([gt(0x0,_0x419509(_0x347bc3)),gt(0x1,_0x29183e),gt(0x2,_0x419509(_0x56341d))],yt);function _0x5307(){var _0x1f172a=['BlockCipher','_disableEditing','_removeRoom','_roomCreated$','getSnapshotAPIPath','_onCombEvent','unitInfo$','Pkcs7','execute','_status$','onlyLocal','_socket','OTHER_CLIENT_EDITING','sessionStatus$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CHANGESET_REVISION_CONFILICT','_transformService','uniscriptRunEvent','_state','AUTHZ_URL_KEY','_retryConnectingTimer','1953176lMCdgi','/new_changes','symbol','interceptor','FileId','[PendingState]:\x20received\x20rejection.','_rescheduleHeartbeat','_onRemoteACK','apply','call','POST','addImageSourceCache','c1Prime','UnitSnapshot','_oKey','subUnitId','YUUMI_UNABLE_LOAD_URL','deleteCollaborator','[CollaborationUndoRedoService]','exports','getRoom','crypto','byteLength','headers','_initMergeInterceptor','routeKey','joinRsp','add','getValue','_networkConditionService','YUUMI_URL_COL_OUT_OF_RANGE','random','_sendHeartbeatTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_UNKNOWN','_process','url','now','pad','MSG_FOR_ERROR','11112180qlvJxl','_clearCollaborationTimeoutTimer','mutations','_onRemoteRejected','ERROR_EXCEED_SIZE','BufferedBlockAlgorithm','_syncEditingCollabCursor','closeSession','GLOBAL_ROOMS_CNT_EXCEEDS','onLocalMutation','UNKNOWN_CODE','finalize','_telemetryService','conflict','updateOfflineData','csRejEvent','_remoteChangesetQueue','JOIN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sheetTransformSelectionsService','updateMember','PSEUDO_FETCH_MISSING_RESULT','cmd','src','session.room-full','put','setShowComponents','_waitCount','fromCollab','next','fromCharCode','_localCacheService','_initDependencies','commentUpdateEvent','_transformStack','Error\x20on\x20receiving\x20event','univer-pro.collaboration-client.single-active-unit-service','prototype','onTransformRemoteChangesetByStateCache','UUID','socketService','__esModule','INVALID_ARGUMENT','_data','csAckEvent','_applyRemoteChangeset','onSendChangeset','73426wXqEZf','_stopTelemetryCollaborationNewChangeset','map','generateRandomId','fetching\x20missing\x20changesets\x20from\x20','emitEvent','_awaitingChangeset','_unitInfo$','asObservable','_collabSessionService','ivSize','_transformRemoteChangesetByStateCache','getActiveSheet','registerHTTPInterceptor','COMPLETION_FINISHED','toggleOffline','updatePermissionPoint','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','18140xCBYgj','$super','Decryptor','_onConflict','sendChangesetTimeout','lib','APPLY_DUPLICATED','close','onStateChange','pipe','_permissionService','_createHelper','_onRemoteRetry','replace','AWAITING','UNISCRIPT_RUN','transformChangesets','transformMutationsWithChangeset','_getAPIPrefixPath','onCommandExecuted','_exhaustRemoteChangesetQueue','clamp','concat','Encryptor','_doCryptBlock','executeCommand','_transformSelections','responseType','save\x20fail\x20reason\x20is\x20','createEncryptor','complete','debug','_getAPIPrefix','append','_onOffline','words','body','_doCreateSocket','appendMutation','setCurrentUser','SEND_CHANGESET_TIMEOUT','_prevBlock','_onConnectionFailed','code','BASE64','_sessions','c2Prime','session.join-failed','collaMsg','sessionStatus','HttpExport','compose','reverse','LIVESHARE_OPERATION','_changesetReqId','_acknowledgedAwaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_compressMutationService','getInterceptPoints','push','/allowed','getImage','capture','_clearScheduledTask','_state$','/universer-api/snapshot','OpenSSL','HttpImport','has','YUUMI_RATE_OVER_LIMIT','getConfig','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','json','_unitID','RETRY_CONNECTING_MAX_COUNT','encryptBlock','JOIN_ROOM_NOT_EXISTS','length','PY_RUNTIME_SCRIPT_ERROR','getMemberID','_scheduleCollaborationTimeoutTimer','_localeService','bind','action','getWorkbookSelections','function','transformUndoRedo','_toggleOnline','_createSocket','PasswordBasedCipher','_collaborationSessionService','reset','21FOaLqH','unitId','unitId\x20is\x20not\x20found','_parse','open$','PERMISSION_DENIED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','auth.needGotoLoginAlert','/universer-api/stream/file/upload','transformStack\x20failed!','CipherParams','_logService','SOCKET_FAILED_RETRY','UNDEFINED','socket\x20open.','CONFLICT','_type','mixIn','hostname','_undoRedoService','objectType','PENDING','CONNECTOR_DATA_TOO_LARGE','_doProcessBlock','objectActions','HELLO','[CollaborationSessionService]','dispose$','[OfflineState]:\x20received\x20rejection.','Cipher','putCollaborators','clone','_createInitialStateImpl','buffer','getCurrentRevOfUnit','PERMISSION_REJ','_commentService','_roomMembers','m2Prime','_singleActiveUnitService','session.room-permission-denied','resolve','_members','sid','EvpKDF','_initUnitPermissionChange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HmacMD5','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_shouldReportTelemetry','_event$','__Key__','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_httpService','_userManagerService','readInt32LE','getImageSourceCache','_collaborationPaused','{fileID}','state$','_updateLocalCache','members$','size','_schedule','then','HMAC','selections','dispose','_members$','_univerInstanceService','startTime','FETCH_MISSING','ENSURE_SNAPSHOT_EXECUTION','getSheetId','_incrementRevisionNumber','/-/object/-/batch_allowed','sheets','userID','splice','_socketReady','HEARTBEAT_TIMEOUT','list','workbook','target','240IWYQCc','/universer-api/comb','createInstance','INGEST','_checkMissing','Utf8','requireSession','_registerDependencies','JOIN_ROOM_PERMISSION_DENIED','retryConnectingInterval','transformSelections','charCodeAt','_emitMembers','Hex','rng','OFFLINE','_replayCachedMutations','update','_sendingTimer','_clearLocalCache','APPLY_REVISION_CONFILICT','_sessionStatus$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onStarting','getRandomValues','Undefined','SOCKET_FAILED','APPLY_PERMISSION_DENIED','_createInitialState','_nRounds','_retryCount','UPDATE_CURSOR','error','SNAPSHOT_URL_KEY','_transformIMECache','toggleOnline','defineProperty','__creator','_tryReconnect','revision','originalMeta','listRoles','actions','result','stopTime','NO_OTHER_CLIENTS_EDITING','_toggleOffline','PERSON','name','_sendHeartbeat','updatePermissionObjEvent','Base64','JOIN_ROOM_FAILED','[FetchMissState]','method','Univer','_candidateSocket','deepClone','_decreaseWaiting','?size=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handler','\x20in\x20_schedule.','getLatestCsReqIdBySid','/role','\x20-\x20','_onUserLeave','NOT_FOUND','clear','getUnit','_createHmacHelper','_keySchedule','_getDownloadEndpointURL','every','_loadSheet','_init','LIVESHARE_REQUEST_HOST','UPDATE_PERMISSION_OBJ','_onLocalMutation','_key','Malformed\x20UTF-8\x20data','Base','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SNAPSHOT_SERVER_URL_KEY','_cipher','LIVESHARE_TERMINATE','/object/','_startTelemetryCollaborationNewChangeset','734323MyqdsO','LEAVE','pauseCollaboration','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','fetchMissingChangesets','SUCCUSS','onTransformRemoteChangesetByIMECache','localCacheService','_replaceFileID','_commandService','_reverseMap','_resendWithTimeout','params','_createHandler','ERROR_IMAGE','eventID','UNIVER_SHEET','fetch_missing','_unlockTransition','_lockTransition','_hasher','fetchThroughInterceptors','sigBytes','_onRecvEvent','_substituteUndoStack','get','getTime','_pendingMutations','onTransformIME','msCrypto','/universer-api/snapshot/','toString','withCredentials','NoPadding','formatter','image/gif','_clearUndo','[DataLoaderService]','/resources','SNAPSHOT_INVALID_SNAPSHOT','saveChangeset','_getSignURL','_collaborationUIEventService','getCollabEntity$','/unit/','CHANGESET_ACK','onTransformState','duration','algo','forEach','includes','delete','loginUrlKey','_updateState','_transitionLocked','string','session.room-not-exists','_resendTimer','getUnitStatus$','resend','LOGIN_URL_KEY','UNRECOGNIZED','editingUnit','parse','submit\x20changeset\x20error!','roles','collabSubmitChangesetUrl','onRemoteRetry','online$','findIndex','_map','infoRsp','changesets','image/jpg','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','allowed','_timeoutTimer','loadSheet','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','byteOffset','format','max','ALREADY_EXISTS','UNIVER_DOC','unknown','UnitEmbedded','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','offline','connection\x20error','getTypeOfUnitAdded$','_doFinalize','copyFileMeta','_telemetryInfo','unitID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','saveSnapshot','_iv','close$','range','pluginName','createDecryptor','JOINING','saveImage','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareNewHost','snapshotServerUrl','LICENSE_MAX_UNITS_EXCEEDED','floor','_submitChangeset','_injector','baseRev','from','collaboration-client.config','textRanges','reqId','COLLAB_WEB_SOCKET_URL','AES','compute','setWaitCount','[SyncedState]:\x20received\x20acknowledgement.','salt','set','x-univer-host','IDLE','_xformMode','_listenToNetworkCondition','_getSendChangesetTimeout','_socket$','signUrlServerUrl','session','getCollabEntity','COMMENT_UPDATE','_handlerCallback','getFocusedUnit','_iKey','refreshPermission','indexOf','AWAITING_WITH_PENDING','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','status','COMPRESS_MUTATION_SEND','entityInit$','_sender','USERS_ENTER','image/jpeg','isArray','getCurrentSelections','_initCloseConn','_clearTimeoutTimer','localeService','type','FETCH_MISS','_memberService','_scheduleCompleteTimestamp','onCommentUpdate','/rev/','_tryEnsureSocket','onRemoteAck','getCurrentUser','decryptBlock','event$','TOO_MANY_REQUESTS','values','APPLY_REJECT','processBlock','SYNCED','Could\x20not\x20dynamically\x20require\x20\x22','memberID','_collaborationTimeoutTimer','Latin1','_joinRoom','FAIL','disposeWithMe','data','post','getUnitType','iterations','/fetchmissing?from=','find','toLowerCase','[CollaborationEntity]','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/-/object/list','onMissedChangesetFetched','entries','updateCollaborator','addHandlerCallback','joinEvent','_transformRemoteChangesetByIMECache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNIVER_PROJECT','reduce','focused$','cfg','_instanceService','getTypeOfUnitDisposed$','onMissingChangesets','_socketMessageSubscription','MUTATION','send','_configService','awaiting','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','awaitingChangeset','4638393uSYPCG','resourceIDs','fetchMiss','image/png','change$','origin','_eventService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SUBMIT_CHANGESET','_getUndoStack','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getCtorByUniverType','[PendingState]:\x20received\x20acknowledgement.','createSocket','incrementRevOfUnit','subject','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','awaiting_with_pending','repeat','pending','filter','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','roomInfos','24xLzTmU','createCollaborator','_initRequestHeader','_executeRemoteChangeset','_clearHeartbeatTimer','onSyncEditingCollabCursor','getMember','stringify','RECV','_transformUndoredo','readAsDataURL','_HTTPService','_change$','_entities','mode','_entityInit$','NOT_COLLAB','_nDataBytes','_onMessage','error$','_mode','NEW_CHANGESETS','default','_ENC_XFORM_MODE','status$','encode','catch','slice','univer-pro.collaboration-client-socket-service','_onRemoteChangeset','USERS_LEAVE','_onFetchMissResult','_snapshotServerService','_resendTimeout','enableSingleActiveInstanceLock','_invKeySchedule','/collaborator','downloadEndpointUrl','[SyncedState]:\x20received\x20rejection.','SHA1','unsubscribe','/universer-api/authz','UNAUTHENTICATED','_getRedoStack','_getCurrentRevision','&source=','message$','ONLINE','onRemoteChangeset','[UniverCollaborationClientPlugin]','padding','Hasher','ciphertext','JOIN_ROOM_FULL','CHANGESET_REJ','state','getUnitId','LIVESHARE_NEW_HOST','1379766PesrzE','authzUrl','CLOSE_ROOM','HEARTBEAT','onRemoteRej','hasOwnProperty','init','blockSize','BlockCipherMode','YUUMI_SUBSCRIPTION_NOT_FOUND','_fetchMissChangesets','_commentUpdate$','/block/','reject','_transformStateCache','readyForCollab','enableOfflineEditing','[CollaborationSession]','_waitForHeartbeatResponse','collaboration-client.local-cache-service','COMPRESS_MUTATION_APPLY','getAllMembers','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','getOwnPropertyDescriptor','objectID','charAt','enc','MD5','_queuedRemoteChangesets','min','socket$','disableLocalCache','_keyPriorReset','_append','randomBytes','encrypt','updateCursorEvent','COLLAB_SUBMIT_CHANGESET_URL','extend','equals','LOCAL_CACHE_INTERVAL','collaboration_new_changeset','LICENSE_EXPORT_SIZE_EXCEEDED','_onConnectionOpen','startsWith','INTERNAL_ERROR','APPLY_NON_SEQUENTIAL_REVISION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','rev','_isPermissionRej','_onJoinRoomEvent','kdf','editing\x20status\x20changed\x20to','_config','CHANGESET_SHOULD_RETRY','reconnect','randomUUID','location','leaveEvent','LIVESHARE_FETCH_OPERATIONS','/universer-api/uniscript','SUBMIT_CHANGESET_TIMEOUT','_onUserJoin','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','_revisionService','_snapshotService','synced','SHOULD_CLOSE_CONN','_imageSourceCache','isPermissionRej','_updateStatus','create','onTransformSelections','_throwTelemetryCollaborationNewChangeset','_hash','WordArray','keySize','_substituteRedoStack','uploadFileServerUrl','subscribe','&assign=','_changesetSessionId','_socketService'];_0x5307=function(){return _0x1f172a;};return _0x5307();}var cs=Object[_0x3b7310(0x20e)],hs=(_0x5c12bf,_0x2bb28e,_0x5c0413,_0x309104)=>{for(var _0x5a4c07=_0x309104>0x1?void 0x0:_0x309104?cs(_0x2bb28e,_0x5c0413):_0x2bb28e,_0x5e9189=_0x5c12bf['length']-0x1,_0x262ef5;_0x5e9189>=0x0;_0x5e9189--)(_0x262ef5=_0x5c12bf[_0x5e9189])&&(_0x5a4c07=_0x262ef5(_0x5a4c07)||_0x5a4c07);return _0x5a4c07;},hi=(_0x2b1188,_0x3b8214)=>(_0x3f61da,_0x496c9e)=>_0x3b8214(_0x3f61da,_0x496c9e,_0x2b1188);const _s=_0x3b7310(0x1e6);let Ot=class{constructor(_0x1ab73d,_0x72b592){var _0x369826=_0x3b7310;this[_0x369826(0x1a0)]=_0x1ab73d,this[_0x369826(0x1c8)]=_0x72b592;}[_0x3b7310(0x2db)](){var _0x21a1e3=_0x3b7310,_0x4ade23,_0x737982;const _0x42a39b=this['_configService']['getConfig'](Ni),_0x47ac07=this[_0x21a1e3(0x1a0)]['getConfig'](q);return(_0x737982=(_0x4ade23=_0x47ac07==null?void 0x0:_0x47ac07[_0x21a1e3(0x1f8)])!=null?_0x4ade23:_0x42a39b)!=null?_0x737982:_s;}async['list'](_0x578878){var _0x13c666=_0x3b7310;const _0x371f4d=this['_getAPIPrefixPath']()+_0x13c666(0x1e1);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x13c666(0xf1)](_0x371f4d,{'params':{'objectID':_0x578878['unitId'],'unitID':_0x578878[_0x13c666(0x326)]}}))[_0x13c666(0x2ed)]['collaborators'][_0x13c666(0x2b9)](_0x30c43b=>({'objectId':_0x30c43b['id'],'name':_0x30c43b['subject'][_0x13c666(0xb0)],'metadata':{'icon':_0x30c43b['subject']['avatar']},'label':_0x30c43b[_0x13c666(0x1b4)][_0x13c666(0xb0)],'objectType':_0x3b0f3f[_0x13c666(0xaf)]})),'metadata':{},'type':_0x3b0f3f[_0x13c666(0xaf)]}]};}};Ot=hs([hi(0x0,_0x419509(_0x29183e)),hi(0x1,_0x419509(_0x347bc3))],Ot);var ls=Object[_0x3b7310(0x20e)],us=(_0x36785a,_0x50299a,_0x25d9a,_0x54a0ec)=>{var _0x51d587=_0x3b7310;for(var _0x1bc094=_0x54a0ec>0x1?void 0x0:_0x54a0ec?ls(_0x50299a,_0x25d9a):_0x50299a,_0x15c725=_0x36785a[_0x51d587(0x316)]-0x1,_0x17399e;_0x15c725>=0x0;_0x15c725--)(_0x17399e=_0x36785a[_0x15c725])&&(_0x1bc094=_0x17399e(_0x1bc094)||_0x1bc094);return _0x1bc094;},Ae=(_0xe87b3a,_0x32065c)=>(_0x55a61f,_0x2913a3)=>_0x32065c(_0x55a61f,_0x2913a3,_0xe87b3a);let at=class extends _0x3f9fed{constructor(_0x414dfd,_0x598900,_0x267860,_0x3df5ef,_0x14986d){var _0x105d4a=_0x3b7310;super(),this[_0x105d4a(0x145)]=_0x414dfd,this[_0x105d4a(0x36a)]=_0x598900,this['_permissionService']=_0x267860,this[_0x105d4a(0x323)]=_0x3df5ef,this[_0x105d4a(0x102)]=_0x14986d,this[_0x105d4a(0x352)](),this[_0x105d4a(0x16b)]();}[_0x3b7310(0x16b)](){var _0x25c66f=_0x3b7310;const _0x2ca206=async _0x4bc2ee=>{var _0x17e9d7=_0x5c5f;(await this[_0x17e9d7(0x323)][_0x17e9d7(0x37f)](_0x4bc2ee))[_0x17e9d7(0x178)][_0x17e9d7(0x2d2)](_0x6d3c7d(_0x2cdae7=>_0x2cdae7[_0x17e9d7(0xe7)]===_0x502491[_0x17e9d7(0x23b)]),_0x5a76c5(this['dispose$']))[_0x17e9d7(0x247)](_0xe1f4f5=>{var _0x4fc4b6=_0x17e9d7;const _0x2c605d=_0xe1f4f5,{reason:_0x33d031}=_0x2c605d[_0x4fc4b6(0x185)];this[_0x4fc4b6(0x102)]['emitEvent']({'id':se[_0x4fc4b6(0x1f9)],'data':_0x33d031}),this[_0x4fc4b6(0x2d3)]['updatePermissionPoint'](new _0x251d98(_0x4bc2ee)['id'],!0x1),this[_0x4fc4b6(0x323)][_0x4fc4b6(0x28f)](_0x4bc2ee);});};_0x4a0758(this[_0x25c66f(0x36a)]['getTypeOfUnitAdded$'](_0x53691f[_0x25c66f(0xe8)]),this[_0x25c66f(0x36a)][_0x25c66f(0x131)](_0x53691f[_0x25c66f(0x12b)]))['pipe'](_0x4c799b(_0x1b7b7d=>_0x1b7b7d[_0x25c66f(0x1f5)]()),_0x6d3c7d(_0x4668d1=>!_0x1415a5(_0x4668d1)),_0x5a76c5(this[_0x25c66f(0x340)]))[_0x25c66f(0x247)](_0x218334=>{_0x2ca206(_0x218334);});}['_initUnitPermissionChange'](){var _0x38c4ff=_0x3b7310;const _0x433a0b=async _0x1a4f33=>{var _0x2d84f4=_0x5c5f;const _0x4bbe18=await this[_0x2d84f4(0x323)][_0x2d84f4(0x37f)](_0x1a4f33),_0x332264=this[_0x2d84f4(0x145)][_0x2d84f4(0xf1)](_0x2503f2);_0x4bbe18[_0x2d84f4(0x178)][_0x2d84f4(0x2d2)](_0x6d3c7d(_0x3c8c60=>_0x3c8c60[_0x2d84f4(0xe7)]===_0x502491[_0x2d84f4(0xcd)]),_0x5a76c5(this['dispose$']))[_0x2d84f4(0x247)](_0x42fb50=>{var _0x2d6fec=_0x2d84f4;const _0x17b627=_0x42fb50,{objectId:_0x5757c9}=_0x17b627[_0x2d6fec(0x185)];_0x5757c9===_0x1a4f33?_0x332264['initWorkbookPermissionChange'](_0x1a4f33):_0x332264[_0x2d6fec(0x15f)](_0x1a4f33,_0x5757c9);});};_0x4a0758(this[_0x38c4ff(0x36a)][_0x38c4ff(0x131)](_0x53691f[_0x38c4ff(0xe8)]))[_0x38c4ff(0x2d2)](_0x4c799b(_0x4ad1c2=>_0x4ad1c2[_0x38c4ff(0x1f5)]()),_0x6d3c7d(_0x574fd1=>!_0x1415a5(_0x574fd1)),_0x5a76c5(this[_0x38c4ff(0x340)]))[_0x38c4ff(0x247)](_0x472685=>{_0x433a0b(_0x472685);});}};at=us([Ae(0x0,_0x419509(_0x33a94f)),Ae(0x1,_0x56341d),Ae(0x2,_0x373f2c),Ae(0x3,_0x419509(Le)),Ae(0x4,_0x419509(pe))],at);var ds=Object[_0x3b7310(0x20e)],fs=(_0x1edfc6,_0x4c39e2,_0x1303e5,_0x10ace4)=>{var _0x532b40=_0x3b7310;for(var _0x4bdb0e=_0x10ace4>0x1?void 0x0:_0x10ace4?ds(_0x4c39e2,_0x1303e5):_0x4c39e2,_0x1b6341=_0x1edfc6[_0x532b40(0x316)]-0x1,_0x4755e9;_0x1b6341>=0x0;_0x1b6341--)(_0x4755e9=_0x1edfc6[_0x1b6341])&&(_0x4bdb0e=_0x4755e9(_0x4bdb0e)||_0x4bdb0e);return _0x4bdb0e;},_i=(_0x4b527e,_0x17c89b)=>(_0x403674,_0x1da032)=>_0x17c89b(_0x403674,_0x1da032,_0x4b527e);let Nt=class{constructor(_0x5e7fdc,_0x4d3e7b){var _0x298cc5=_0x3b7310;this[_0x298cc5(0x1a0)]=_0x5e7fdc,this[_0x298cc5(0x35a)]=_0x4d3e7b;}async['getUnitOnRev'](_0x245947,_0xa4c3f5){var _0xd0e625=_0x3b7310,_0x395531;const {unitID:_0x59ed47,type:_0x154aff,revision:_0x1cc4a7=0x0}=_0xa4c3f5,_0x188332=this[_0xd0e625(0x24f)]()+'/'+_0x154aff+_0xd0e625(0x104)+_0x59ed47+_0xd0e625(0x173)+_0x1cc4a7,_0x36a892=(await this[_0xd0e625(0x35a)]['get'](_0x188332))[_0xd0e625(0x2ed)],_0x2f8222=(_0x395531=_0x36a892['snapshot'])==null?void 0x0:_0x395531[_0xd0e625(0x377)];if(_0x2f8222){const _0x5e619e=_0x2f8222==null?void 0x0:_0x2f8222[_0xd0e625(0xa8)],_0x26d16b=_0x697e0a[_0xd0e625(0x1d6)](_0x4b17bd(_0x5e619e));_0x2f8222[_0xd0e625(0xa8)]=_0x26d16b,Object[_0xd0e625(0x190)](_0x2f8222[_0xd0e625(0x371)])[_0xd0e625(0x109)](([,_0x1076b0])=>{var _0x1b33cf=_0xd0e625;const _0x3e7a5b=_0x1076b0['originalMeta'],_0x7a07c4=_0x697e0a['encode'](_0x4b17bd(_0x3e7a5b));_0x1076b0[_0x1b33cf(0xa8)]=_0x7a07c4;});}return _0x36a892;}async['getSheetBlock'](_0x24aad0,_0x322ccf){var _0x59e8fd=_0x3b7310;const {unitID:_0x11bdb0,type:_0x10f20d,blockID:_0xc2dfe4}=_0x322ccf,_0x2147f4=this[_0x59e8fd(0x2e9)]()+'/'+_0x10f20d+'/unit/'+_0x11bdb0+'/block/'+_0xc2dfe4;return(await this[_0x59e8fd(0x35a)][_0x59e8fd(0xf1)](_0x2147f4))[_0x59e8fd(0x2ed)];}async['getDeserializedSheetBlock'](_0x35df72,_0x2a052c){var _0x4edc2b=_0x3b7310;const {unitID:_0x210453,type:_0x366445,blockID:_0x5360ab}=_0x2a052c,_0x2bcc7d=this['_getAPIPrefix']()+_0x4edc2b(0x203)+_0x366445+_0x4edc2b(0x104)+_0x210453+'/block/'+_0x5360ab;return(await this[_0x4edc2b(0x35a)][_0x4edc2b(0xf1)](_0x2bcc7d))['body'];}async[_0x3b7310(0xdc)](_0x81a14e,_0x40c8b4){var _0x3c8369=_0x3b7310;const {unitID:_0x2c088f,type:_0x5ed8d4,from:_0x42699c,to:_0x25dd39}=_0x40c8b4,_0xf42d5d=this[_0x3c8369(0x2e9)]()+'/'+_0x5ed8d4+_0x3c8369(0x104)+_0x2c088f+_0x3c8369(0x189)+_0x42699c+'&to='+_0x25dd39;return(await this['_httpService'][_0x3c8369(0xf1)](_0xf42d5d))[_0x3c8369(0x2ed)];}['getSnapshotAPIPath'](){var _0x55e540=_0x3b7310,_0x39df05;return(_0x39df05=this['_configService']['getConfig'](gr))!=null?_0x39df05:this[_0x55e540(0x2e9)]();}[_0x3b7310(0x2e9)](){var _0x3844d3=_0x3b7310,_0x56b4c9,_0x274762;const _0x3e1d6b=this[_0x3844d3(0x1a0)][_0x3844d3(0x30f)](pr),_0x3cb73a=this[_0x3844d3(0x1a0)][_0x3844d3(0x30f)](q);return(_0x274762=(_0x56b4c9=_0x3cb73a==null?void 0x0:_0x3cb73a[_0x3844d3(0x141)])!=null?_0x56b4c9:_0x3e1d6b)!=null?_0x274762:mr;}async['getResourcesRequest'](_0x3af9d8,_0x3b867e){var _0x556771=_0x3b7310;const _0x5a6cdb=_0x556771(0xf6)+_0x3b867e[_0x556771(0x16e)]+_0x556771(0x104)+_0x3b867e['unitID']+_0x556771(0xfe);return(await this[_0x556771(0x35a)][_0x556771(0xf1)](_0x5a6cdb,{'params':{'resourceId':JSON[_0x556771(0x1c4)](_0x3b867e[_0x556771(0x1a6)])}}))['body'];}[_0x3b7310(0x137)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x1c21ab=_0x3b7310;throw new Error(_0x1c21ab(0x195));}[_0x3b7310(0x100)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3b7310(0x133)](){var _0x2c8034=_0x3b7310;throw new Error(_0x2c8034(0x195));}[_0x3b7310(0xbf)](){var _0x12c1ed=_0x3b7310;throw new Error(_0x12c1ed(0x195));}};Nt=fs([_i(0x0,_0x29183e),_i(0x1,_0x419509(_0x347bc3))],Nt);var vs=Object[_0x3b7310(0x20e)],ps=(_0x37c8bd,_0x4052f9,_0x298dcf,_0xe54886)=>{for(var _0x72d465=_0xe54886>0x1?void 0x0:_0xe54886?vs(_0x4052f9,_0x298dcf):_0x4052f9,_0x5b1ec8=_0x37c8bd['length']-0x1,_0x318a21;_0x5b1ec8>=0x0;_0x5b1ec8--)(_0x318a21=_0x37c8bd[_0x5b1ec8])&&(_0x72d465=_0x318a21(_0x72d465)||_0x72d465);return _0x72d465;},Pe=(_0x3c59de,_0x547e43)=>(_0x47da1b,_0x459d7c)=>_0x547e43(_0x47da1b,_0x459d7c,_0x3c59de);let Dt=class extends _0x38bd2b{constructor(_0x12103d,_0x3ceac3,_0x4ea20b,_0x1ce494,_0x4bf0d3){super(_0x12103d,_0x3ceac3,_0x4ea20b),this['_transformService']=_0x1ce494,this['_logService']=_0x4bf0d3;}[_0x3b7310(0x31f)](_0x1dd09f,_0xdcb8b4){var _0x5c4da0=_0x3b7310;const _0x35881c=this[_0x5c4da0(0x1ae)](_0x1dd09f);if(_0x35881c)try{const _0x251011=this[_0x5c4da0(0x2aa)](_0x35881c,_0xdcb8b4);this[_0x5c4da0(0xf0)](_0x1dd09f,_0x251011);}catch(_0x547168){this['_logService'][_0x5c4da0(0x399)](_0x5c4da0(0x272),_0x547168),this[_0x5c4da0(0xfc)](_0x1dd09f);}const _0x50f578=this['_getRedoStack'](_0x1dd09f);if(_0x50f578)try{const _0x477f6c=this[_0x5c4da0(0x2aa)](_0x50f578,_0xdcb8b4);this[_0x5c4da0(0x245)](_0x1dd09f,_0x477f6c);}catch(_0x37253c){this[_0x5c4da0(0x330)][_0x5c4da0(0x399)](_0x37253c),this['_clearRedo'](_0x1dd09f);}}['_clearUndo'](_0x210740){var _0x2dad67=_0x3b7310;const _0x306b1a=this[_0x2dad67(0x1ae)](_0x210740);_0x306b1a&&(_0x306b1a[_0x2dad67(0x316)]=0x0,this['_updateStatus']());}['_clearRedo'](_0xc31e5b){var _0x9cfc0e=_0x3b7310;const _0x1a04d7=this[_0x9cfc0e(0x1e8)](_0xc31e5b);_0x1a04d7&&(_0x1a04d7[_0x9cfc0e(0x316)]=0x0,this[_0x9cfc0e(0x23e)]());}[_0x3b7310(0xf0)](_0x184445,_0x2bf9c0){var _0x59a2c4=_0x3b7310;this['_undoStacks'][_0x59a2c4(0x151)](_0x184445,_0x2bf9c0),this[_0x59a2c4(0x23e)]();}[_0x3b7310(0x245)](_0x3398da,_0xddcdfc){var _0x45f8f8=_0x3b7310;this['_redoStacks'][_0x45f8f8(0x151)](_0x3398da,_0xddcdfc),this[_0x45f8f8(0x23e)]();}[_0x3b7310(0x2aa)](_0x3eba66,_0x27f2f0){var _0x123aaf=_0x3b7310;const _0x50bd7a=[];let _0x192328=_0x27f2f0,_0xc4d854=_0x27f2f0;for(let _0x10861b=_0x3eba66[_0x123aaf(0x316)]-0x1;_0x10861b>=0x0;_0x10861b--){const {unitID:_0xca2719,undoMutations:_0x2be166,redoMutations:_0x6cc21b}=_0x3eba66[_0x10861b],_0x1a56a3=this['_transformService'][_0x123aaf(0x2da)](_0x192328,_0x2be166),_0x20736d=this[_0x123aaf(0x25b)][_0x123aaf(0x2da)](_0xc4d854,_0x6cc21b);if(_0x18000b(_0x1a56a3)||_0x18000b(_0x20736d)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x123aaf(0x32e),_0x1a56a3,_0x20736d);break;}_0x192328=_0x1a56a3[_0x123aaf(0x26c)],_0xc4d854=_0x20736d['c1Prime'],_0x50bd7a['push']({'unitID':_0xca2719,'undoMutations':_0x1a56a3[_0x123aaf(0x34b)],'redoMutations':_0x20736d['m2Prime']});}return _0x50bd7a[_0x123aaf(0x2fd)]();}};Dt=ps([Pe(0x0,_0x56341d),Pe(0x1,_0x1ab65f),Pe(0x2,_0x537307),Pe(0x3,_0xcdffcf),Pe(0x4,_0x2e40a9)],Dt);var ms=Object[_0x3b7310(0x39d)],gs=Object[_0x3b7310(0x20e)],Ss=(_0x5710c4,_0x59c54e,_0x240ef5)=>_0x59c54e in _0x5710c4?ms(_0x5710c4,_0x59c54e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x240ef5}):_0x5710c4[_0x59c54e]=_0x240ef5,Es=(_0x386a1d,_0x5ac802,_0x3681df,_0x206963)=>{for(var _0x3130e0=_0x206963>0x1?void 0x0:_0x206963?gs(_0x5ac802,_0x3681df):_0x5ac802,_0x3bbe67=_0x386a1d['length']-0x1,_0x17460d;_0x3bbe67>=0x0;_0x3bbe67--)(_0x17460d=_0x386a1d[_0x3bbe67])&&(_0x3130e0=_0x17460d(_0x3130e0)||_0x3130e0);return _0x3130e0;},St=(_0x2d4b43,_0x5671dc)=>(_0x1fc543,_0x185cce)=>_0x5671dc(_0x1fc543,_0x185cce,_0x2d4b43),Is=(_0x5ef5ff,_0x2f180d,_0x553607)=>Ss(_0x5ef5ff,_0x2f180d+'',_0x553607);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x5ef556{constructor(_0x1a20b6,_0x1d4123,_0xc7c2ba,_0x21b998){var _0x54dad5=_0x3b7310;super(),N(this,_0x54dad5(0x22c)),(this[_0x54dad5(0x330)]=_0x1d4123,this[_0x54dad5(0x145)]=_0xc7c2ba,this[_0x54dad5(0x1a0)]=_0x21b998);const {..._0x4fe08e}=_0x521b7e({},Ur,_0x1a20b6);if(!_0x4fe08e[_0x54dad5(0x2b0)])throw new Error(_0x54dad5(0x136));this[_0x54dad5(0x22c)]=_0x4fe08e,this[_0x54dad5(0x1a0)]['setConfig'](q,_0x4fe08e);}[_0x3b7310(0x390)](){var _0x768f7d=_0x3b7310;this[_0x768f7d(0x380)](),this[_0x768f7d(0x2a8)]();}[_0x3b7310(0x380)](){var _0x56be6b=_0x3b7310,_0x253701,_0x3d719a;this['_injector'][_0x56be6b(0x30d)](_0x4d6f06)&&this[_0x56be6b(0x330)][_0x56be6b(0x399)](_0x56be6b(0x1ee),_0x56be6b(0x301));const _0x4deb1b=_0x334dd0([[_0x4d6f06,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x56be6b(0x22c)][_0x56be6b(0x2b0)]}],[_0x35beb0,{'useClass':Nt}],[_0x1b78cb,{'useClass':Rt}],[_0x241e21,{'useClass':yt}],[_0x483c32,{'useClass':Ot}],[nt],[Ct]],(_0x253701=this['_config'])==null?void 0x0:_0x253701['override']);if(!((_0x3d719a=this[_0x56be6b(0x22c)])!=null&&_0x3d719a[_0x56be6b(0x1df)])){const _0x2c54b7=_0x4deb1b[_0x56be6b(0x11d)](([_0x5ac329])=>_0x5ac329===ht);_0x2c54b7!==-0x1&&_0x4deb1b[_0x56be6b(0x373)](_0x2c54b7,0x1);}_0xe7be63(this[_0x56be6b(0x145)],_0x4deb1b);}[_0x3b7310(0x2a8)](){var _0x2f419a=_0x3b7310,_0x3ef71,_0x4ed655,_0x2dee00;this[_0x2f419a(0x145)][_0x2f419a(0xf1)](_0x347bc3)[_0x2f419a(0x2c4)]({'priority':0x14,'interceptor':_0x979e5d({'maxParallel':0x6})}),(_0x3ef71=this[_0x2f419a(0x22c)])!=null&&_0x3ef71[_0x2f419a(0x207)]||(_0x4ed655=this['_injector']['get'](J,_0x2933ef['OPTIONAL']))==null||_0x4ed655[_0x2f419a(0x216)](),(_0x2dee00=this[_0x2f419a(0x22c)])!=null&&_0x2dee00['enableAuthServer']&&_0x59b4d2(this[_0x2f419a(0x145)],[[st]]),_0x59b4d2(this[_0x2f419a(0x145)],[[ot],[nt],[at]]);}};Is(wt,_0x3b7310(0x13b),Ts),wt=Es([_0xbb74b9(_0x3d9846,_0x7ba0dc),St(0x1,_0x2e40a9),St(0x2,_0x419509(_0x33a94f)),St(0x3,_0x29183e)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x1e277=_0x4b30;(function(_0x1949d3,_0x59cb32){var _0x933116=_0x4b30,_0x5deff6=_0x1949d3();while(!![]){try{var _0xcf85ef=-parseInt(_0x933116(0x1cd))/0x1*(-parseInt(_0x933116(0x46c))/0x2)+parseInt(_0x933116(0x409))/0x3+-parseInt(_0x933116(0x391))/0x4+-parseInt(_0x933116(0x352))/0x5+-parseInt(_0x933116(0x47d))/0x6*(parseInt(_0x933116(0x35e))/0x7)+parseInt(_0x933116(0x44f))/0x8*(parseInt(_0x933116(0x483))/0x9)+parseInt(_0x933116(0x348))/0xa;if(_0xcf85ef===_0x59cb32)break;else _0x5deff6['push'](_0x5deff6['shift']());}catch(_0x466227){_0x5deff6['push'](_0x5deff6['shift']());}}}(_0x5a80,0xd2c4a));var Ai=Object[_0x1e277(0x42f)],Pi=(_0x4ed8a0,_0x155848,_0x2f3f0b)=>_0x155848 in _0x4ed8a0?Ai(_0x4ed8a0,_0x155848,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f3f0b}):_0x4ed8a0[_0x155848]=_0x2f3f0b,N=(_0x4e6f67,_0xe892e5,_0x5824f0)=>Pi(_0x4e6f67,typeof _0xe892e5!=_0x1e277(0x372)?_0xe892e5+'':_0xe892e5,_0x5824f0);import{createIdentifier as _0x320a34,Inject as _0x92794a,Injector as _0x222b43,IConfigService as _0x2e8183,ILogService as _0x431844,Disposable as _0x464496,DisposableCollection as _0x546bd2,toDisposable as _0x185a29,IUniverInstanceService as _0x50afd8,UserManagerService as _0xef4d7a,UniverInstanceType as _0x58bfc9,LocaleService as _0x2c1e5d,Optional as _0x1c6146,RxDisposable as _0xc2f0c0,Tools as _0x580ac3,Rectangle as _0x18c94f,ICommandService as _0x33ed32,JSONX as _0x50d002,CommandType as _0x4215e7,IUndoRedoService as _0x708bf5,IPermissionService as _0x4e912c,sequenceExecute as _0x51be05,Workbook as _0x4100eb,MentionType as _0x18c67f,isInternalEditorID as _0x36f866,LocalUndoRedoService as _0x35dd36,IContextService as _0x55e37e,DependentOn as _0x24ade2,Plugin as _0x321568,merge as _0x38ee0b,mergeOverrideWithDependencies as _0x1f58b5,IAuthzIoService as _0x897ffa,IMentionIOService as _0x26ba77,registerDependencies as _0xf5ad1e,Quantity as _0x2f07e5,touchDependencies as _0xfb606b}from'@univerjs/core';import{Subject as _0x41236f,merge as _0x232401,of as _0x5a69d6,BehaviorSubject as _0x2e2086,takeUntil as _0x2238c3,ReplaySubject as _0x5e9f64,take as _0x444f59,map as _0x257763,shareReplay as _0x1740d4,firstValueFrom as _0x3fe5ec,concatMap as _0x387e37}from'rxjs';import{map as _0x2d8a24,take as _0x16de32,filter as _0x18b9bf,delay as _0x634f,takeUntil as _0x3a96f9}from'rxjs/operators';import{CollaborationEvent as _0x56c2b4,ISnapshotServerService as _0x5dea43,parseChangesetToProtocol as _0x56bd7d,ITransformService as _0x3b9f1a,isTransformMutationsWithChangesetSuccess as _0x38aba5,mapDocumentTypeToUniverType as _0x1793b4,RevisionService as _0x3729a8,isTransformChangesetsSuccess as _0x44887f,CompressMutationService as _0x447678,parseProtocolChangeset as _0x18faf6,SnapshotService as _0x342dbb,textEncoder as _0x496881,b64DecodeUnicode as _0x2221e5,isTransformMutationsWithChangesetFailure as _0x2304b3,UniverCollaborationPlugin as _0xf1366d}from'@univerjs-pro/collaboration';import{HTTPService as _0x27ecf6,ISocketService as _0x49b04b,MergeInterceptorFactory as _0xf2b820,HTTPRequest as _0x5e4da6,UniverNetworkPlugin as _0x1b00fb,ThresholdInterceptorFactory as _0x2903e2}from'@univerjs/network';import{ITelemetryService as _0x1aaf2e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4aca7a}from'@univerjs/docs';import{SheetsSelectionsService as _0x471822,SetSelectionsOperation as _0x33d1ab,InsertSheetMutation as _0x4383fd,EmptyMutation as _0x38334e,WorkbookEditablePermission as _0x291135,SheetPermissionInitController as _0x1f277f}from'@univerjs/sheets';function _0x4b30(_0x5d4939,_0x8b59bf){var _0x5a8051=_0x5a80();return _0x4b30=function(_0x4b301e,_0x10aedb){_0x4b301e=_0x4b301e-0x1ab;var _0x1de6d3=_0x5a8051[_0x4b301e];return _0x1de6d3;},_0x4b30(_0x5d4939,_0x8b59bf);}import{ImageSourceType as _0x94589e,ImageUploadStatusType as _0x561e38,IImageIoService as _0x520a05}from'@univerjs/drawing';import{getGlobalObject as _0x20f643}from'@univerjs-pro/license';const pr=_0x1e277(0x437),mr='/universer-api/snapshot',gr=_0x1e277(0x39b),xs=_0x1e277(0x312),Sr=0x7d0,Er=_0x1e277(0x486),Ir='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x1e277(0x277),Tr=_0x1e277(0x1c1),Cr=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Or=_0x1e277(0x390),Nr=_0x1e277(0x467),Dr='LOGIN_URL_KEY',wr=_0x1e277(0x3e6),$s=_0x1e277(0x474),Hs='/universer-api/uniscript';var Si=(_0x11b159=>(_0x11b159[_0x11b159[_0x1e277(0x293)]=0x0]=_0x1e277(0x293),_0x11b159[_0x11b159['OK']=0x1]='OK',_0x11b159[_0x11b159[_0x1e277(0x4b1)]=0x2]=_0x1e277(0x4b1),_0x11b159[_0x11b159[_0x1e277(0x2a1)]=0x3]=_0x1e277(0x2a1),_0x11b159[_0x11b159[_0x1e277(0x493)]=0x4]=_0x1e277(0x493),_0x11b159[_0x11b159[_0x1e277(0x24f)]=0x5]=_0x1e277(0x24f),_0x11b159[_0x11b159[_0x1e277(0x1f5)]=0x6]='ALREADY_EXISTS',_0x11b159[_0x11b159[_0x1e277(0x2c2)]=0x7]=_0x1e277(0x2c2),_0x11b159[_0x11b159[_0x1e277(0x3fd)]=0x8]=_0x1e277(0x3fd),_0x11b159[_0x11b159[_0x1e277(0x485)]=0x9]=_0x1e277(0x485),_0x11b159[_0x11b159[_0x1e277(0x21a)]=0x1389]=_0x1e277(0x21a),_0x11b159[_0x11b159['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1e277(0x490),_0x11b159[_0x11b159[_0x1e277(0x1ff)]=0x1772]=_0x1e277(0x1ff),_0x11b159[_0x11b159[_0x1e277(0x3e3)]=0x1773]=_0x1e277(0x3e3),_0x11b159[_0x11b159[_0x1e277(0x3b2)]=0x1b59]=_0x1e277(0x3b2),_0x11b159[_0x11b159[_0x1e277(0x370)]=0x1b5a]=_0x1e277(0x370),_0x11b159[_0x11b159[_0x1e277(0x25a)]=0x1b5b]=_0x1e277(0x25a),_0x11b159[_0x11b159[_0x1e277(0x3bf)]=0x1b5c]=_0x1e277(0x3bf),_0x11b159[_0x11b159[_0x1e277(0x1c3)]=0x1b5d]=_0x1e277(0x1c3),_0x11b159[_0x11b159['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1e277(0x34a),_0x11b159[_0x11b159['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1e277(0x2d0),_0x11b159[_0x11b159[_0x1e277(0x37b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x11b159[_0x11b159['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1e277(0x291),_0x11b159[_0x11b159['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1e277(0x3e5),_0x11b159[_0x11b159[_0x1e277(0x2f1)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x11b159[_0x11b159[_0x1e277(0x46b)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x11b159[_0x11b159['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1e277(0x42c),_0x11b159[_0x11b159[_0x1e277(0x41a)]=0x2713]=_0x1e277(0x41a),_0x11b159[_0x11b159[_0x1e277(0x264)]=0x2714]=_0x1e277(0x264),_0x11b159[_0x11b159['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1e277(0x1b5),_0x11b159[_0x11b159[_0x1e277(0x3d4)]=-0x1]=_0x1e277(0x3d4),_0x11b159))(Si||{}),Q=(_0x50ed4b=>(_0x50ed4b[_0x50ed4b[_0x1e277(0x1e1)]=0x0]='UNIVER_UNKNOWN',_0x50ed4b[_0x50ed4b[_0x1e277(0x202)]=0x1]=_0x1e277(0x202),_0x50ed4b[_0x50ed4b[_0x1e277(0x221)]=0x2]='UNIVER_SHEET',_0x50ed4b[_0x50ed4b[_0x1e277(0x31f)]=0x3]=_0x1e277(0x31f),_0x50ed4b[_0x50ed4b['UNIVER_PROJECT']=0x4]=_0x1e277(0x384),_0x50ed4b[_0x50ed4b[_0x1e277(0x3d4)]=-0x1]=_0x1e277(0x3d4),_0x50ed4b))(Q||{}),F=(_0x5309a4=>(_0x5309a4[_0x5309a4[_0x1e277(0x299)]=0x0]=_0x1e277(0x299),_0x5309a4[_0x5309a4['HELLO']=0x1]=_0x1e277(0x472),_0x5309a4[_0x5309a4[_0x1e277(0x267)]=0x2]=_0x1e277(0x267),_0x5309a4[_0x5309a4[_0x1e277(0x252)]=0x3]=_0x1e277(0x252),_0x5309a4[_0x5309a4['INGEST']=0x4]=_0x1e277(0x1c5),_0x5309a4[_0x5309a4[_0x1e277(0x1ae)]=0x5]=_0x1e277(0x1ae),_0x5309a4[_0x5309a4[_0x1e277(0x1ca)]=0x6]='RECV',_0x5309a4[_0x5309a4[_0x1e277(0x3d4)]=-0x1]=_0x1e277(0x3d4),_0x5309a4))(F||{}),ge=(_0x1efa0a=>(_0x1efa0a[_0x1efa0a[_0x1e277(0x44c)]=0x0]='UNKNOWN_CODE',_0x1efa0a[_0x1efa0a['OK']=0x1]='OK',_0x1efa0a[_0x1efa0a[_0x1e277(0x315)]=0x2]=_0x1e277(0x315),_0x1efa0a[_0x1efa0a[_0x1e277(0x429)]=0x3e9]=_0x1e277(0x429),_0x1efa0a[_0x1efa0a[_0x1e277(0x4a8)]=0x3ea]=_0x1e277(0x4a8),_0x1efa0a[_0x1efa0a[_0x1e277(0x2e7)]=0x3eb]=_0x1e277(0x2e7),_0x1efa0a[_0x1efa0a[_0x1e277(0x427)]=0x3ec]=_0x1e277(0x427),_0x1efa0a[_0x1efa0a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1efa0a))(ge||{}),Ei=(_0x166975=>(_0x166975[_0x166975[_0x1e277(0x49f)]=0x0]=_0x1e277(0x49f),_0x166975[_0x166975[_0x1e277(0x44a)]=0x1]=_0x1e277(0x44a),_0x166975[_0x166975[_0x1e277(0x3cb)]=0x2]=_0x1e277(0x3cb),_0x166975[_0x166975['UnitEmbedded']=0x3]=_0x1e277(0x2bf),_0x166975[_0x166975['UnitSnapshot']=0x4]=_0x1e277(0x3cd),_0x166975[_0x166975[_0x1e277(0x3d4)]=-0x1]=_0x1e277(0x3d4),_0x166975))(Ei||{});const q=_0x1e277(0x346),Ur={};var se=(_0x3bde02=>(_0x3bde02[_0x1e277(0x21b)]='OTHER_CLIENT_EDITING',_0x3bde02[_0x1e277(0x2a1)]=_0x1e277(0x2a1),_0x3bde02[_0x1e277(0x33e)]=_0x1e277(0x33e),_0x3bde02['CLOSE_ROOM']=_0x1e277(0x461),_0x3bde02[_0x1e277(0x2bc)]=_0x1e277(0x2bc),_0x3bde02['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x3bde02['SOCKET_FAILED']='SOCKET_FAILED',_0x3bde02[_0x1e277(0x243)]=_0x1e277(0x243),_0x3bde02))(se||{});class pe{constructor(){var _0x5967c9=_0x1e277;N(this,_0x5967c9(0x3ce),new _0x41236f()),N(this,_0x5967c9(0x24d),this[_0x5967c9(0x3ce)][_0x5967c9(0x2be)]());}[_0x1e277(0x465)](_0x2597c3){this['_event$']['next'](_0x2597c3);}}const Ar=_0x320a34('univer-pro.collaboration-client.network-condition.service');function Pr(_0x14a072){var _0x64dc7=_0x1e277,_0x278358,_0x501c58,_0x2e7eaf,_0x40766e,_0x5049ca;const _0x20fee4=_0x14a072[_0x64dc7(0x39e)],_0x4be09e=JSON['parse'](_0x20fee4);switch(_0x4be09e[_0x64dc7(0x1cf)]){case F[_0x64dc7(0x1ae)]:case F[_0x64dc7(0x472)]:{const _0x44511e=_0x4be09e[_0x64dc7(0x33c)];return{..._0x4be09e,'data':_0x44511e,'cmd':_0x4be09e[_0x64dc7(0x1cf)]};}case F[_0x64dc7(0x267)]:{const _0x40f613=_0x4be09e[_0x64dc7(0x215)];return{..._0x4be09e,'data':_0x40f613,'cmd':_0x4be09e[_0x64dc7(0x1cf)]};}case F[_0x64dc7(0x1ca)]:{const _0x10a47f=_0x4be09e[_0x64dc7(0x289)];switch(_0x10a47f['eventID']){case _0x56c2b4[_0x64dc7(0x48e)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':(_0x278358=_0x10a47f['permissionRejEvent'])==null?void 0x0:_0x278358['cs']},'cmd':_0x4be09e['cmd']};case _0x56c2b4[_0x64dc7(0x3f1)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':(_0x501c58=_0x10a47f[_0x64dc7(0x27c)])==null?void 0x0:_0x501c58['cs']},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x30c)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':(_0x2e7eaf=_0x10a47f[_0x64dc7(0x269)])==null?void 0x0:_0x2e7eaf['cs']},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x2a2)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':(_0x40766e=_0x10a47f[_0x64dc7(0x1f7)])==null?void 0x0:_0x40766e['cs']},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x385)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':(_0x5049ca=_0x10a47f['csShouldRetryEvent'])==null?void 0x0:_0x5049ca['cs']},'cmd':_0x4be09e['cmd']};case _0x56c2b4[_0x64dc7(0x285)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f['updateCursorEvent']},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x321)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x3b8)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4['USERS_LEAVE']:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x2c3)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x2b4)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x1d9)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4[_0x64dc7(0x3b9)]:case _0x56c2b4[_0x64dc7(0x1ef)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f['liveShareOperation']},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4['LIVESHARE_TERMINATE']:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x1d9)]},'cmd':_0x4be09e['cmd']};case _0x56c2b4[_0x64dc7(0x3b6)]:return{..._0x4be09e,'data':_0x10a47f,'cmd':_0x4be09e['cmd']};case _0x56c2b4[_0x64dc7(0x1e7)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x366)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4['UPDATE_PERMISSION_OBJ']:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x375)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};case _0x56c2b4['SHOULD_CLOSE_CONN']:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x242)]},'cmd':_0x4be09e['cmd']};case _0x56c2b4[_0x64dc7(0x495)]:return{..._0x4be09e,'data':{..._0x10a47f,'data':_0x10a47f[_0x64dc7(0x327)]},'cmd':_0x4be09e[_0x64dc7(0x1cf)]};default:return _0x4be09e;}}default:return _0x4be09e;}}function xr(_0x4ed35e){var _0x17afa3=_0x1e277;switch(_0x4ed35e['cmd']){case F['HEARTBEAT']:case F[_0x17afa3(0x472)]:return JSON[_0x17afa3(0x45c)]({'cmd':_0x4ed35e[_0x17afa3(0x1cf)],'routeKey':_0x4ed35e[_0x17afa3(0x280)]});case F[_0x17afa3(0x1c5)]:{let _0x1474ab;switch(_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x32d)]){case _0x56c2b4[_0x17afa3(0x285)]:{_0x1474ab={'eventID':_0x56c2b4[_0x17afa3(0x285)],'updateCursorEvent':_0x4ed35e[_0x17afa3(0x39e)]['data']};break;}case _0x56c2b4['USERS_LEAVE']:{_0x1474ab={'eventID':_0x56c2b4['USERS_LEAVE'],'leaveEvent':_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x39e)]};break;}case _0x56c2b4['USERS_ENTER']:{_0x1474ab={'eventID':_0x56c2b4['USERS_ENTER'],'joinEvent':_0x4ed35e['data'][_0x17afa3(0x39e)]};break;}case _0x56c2b4[_0x17afa3(0x2b4)]:{_0x1474ab={'eventID':_0x56c2b4['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x39e)]};break;}case _0x56c2b4[_0x17afa3(0x1ef)]:{_0x1474ab={'eventID':_0x56c2b4['LIVESHARE_OPERATION'],'liveShareOperation':_0x4ed35e['data'][_0x17afa3(0x39e)]};break;}case _0x56c2b4[_0x17afa3(0x22d)]:{_0x1474ab={'eventID':_0x56c2b4[_0x17afa3(0x22d)],'liveShareTerminate':_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x39e)]};break;}case _0x56c2b4[_0x17afa3(0x4a2)]:{_0x1474ab={'eventID':_0x56c2b4[_0x17afa3(0x4a2)],'liveShareRequestHost':_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x39e)]};break;}case _0x56c2b4[_0x17afa3(0x3b9)]:{_0x1474ab={'eventID':_0x56c2b4[_0x17afa3(0x3b9)]};break;}default:_0x1474ab={'eventID':_0x4ed35e[_0x17afa3(0x39e)][_0x17afa3(0x32d)]};}return JSON['stringify']({'cmd':_0x4ed35e[_0x17afa3(0x1cf)],'routeKey':_0x4ed35e[_0x17afa3(0x280)],'collaMsg':_0x1474ab});}case F['JOIN']:return JSON[_0x17afa3(0x45c)]({'cmd':_0x4ed35e['cmd'],'routeKey':_0x4ed35e['routeKey'],'joinReq':_0x4ed35e[_0x17afa3(0x39e)]});case F[_0x17afa3(0x252)]:return JSON[_0x17afa3(0x45c)]({'cmd':_0x4ed35e[_0x17afa3(0x1cf)],'routeKey':_0x4ed35e[_0x17afa3(0x280)],'leaveReq':_0x4ed35e['data']});default:throw new Error(_0x17afa3(0x454));}}var Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x3c00a7,_0x527ab4,_0x172fdf,_0x7feac8)=>{for(var _0x14a775=_0x7feac8>0x1?void 0x0:_0x7feac8?Lr(_0x527ab4,_0x172fdf):_0x527ab4,_0x54acdc=_0x3c00a7['length']-0x1,_0x316384;_0x54acdc>=0x0;_0x54acdc--)(_0x316384=_0x3c00a7[_0x54acdc])&&(_0x14a775=_0x316384(_0x14a775)||_0x14a775);return _0x14a775;},Ue=(_0x3d3e5c,_0x2815ca)=>(_0x35f25d,_0x29f2c0)=>_0x2815ca(_0x35f25d,_0x29f2c0,_0x3d3e5c);const Ii=_0x320a34(_0x1e277(0x2dd));function kr(_0x5ddcbb,_0x6ff79d,_0x3b9272){var _0x4405de=_0x1e277;return _0x5ddcbb+'/'+_0x6ff79d+_0x4405de(0x38f)+_0x3b9272+_0x4405de(0x301);}let Vt=class extends _0x464496{constructor(_0x337ce5,_0x816a71,_0x2a5cc5,_0x31db88,_0x2ad2fa){var _0x4c27ee=_0x1e277;super(),this[_0x4c27ee(0x445)]=_0x337ce5,this[_0x4c27ee(0x488)]=_0x816a71,this['_configService']=_0x2a5cc5,this[_0x4c27ee(0x475)]=_0x31db88,this['_snapshotServerService']=_0x2ad2fa;}['_doCreateSocket'](_0x28177c){var _0x2545ea=_0x1e277;const _0x275941=this[_0x2545ea(0x445)][_0x2545ea(0x1b6)](_0x49b04b);if(!_0x275941)throw new Error(_0x2545ea(0x1bd));const _0x27e84f=_0x275941[_0x2545ea(0x331)](_0x28177c);if(!_0x27e84f)throw new Error(_0x2545ea(0x28b));const _0x3a694d=new _0x546bd2(),_0x10e17b=new _0x41236f();_0x3a694d[_0x2545ea(0x3c4)](_0x27e84f['close$'][_0x2545ea(0x1f0)](_0x2a56ed=>_0x10e17b[_0x2545ea(0x251)](_0x2a56ed))),_0x3a694d[_0x2545ea(0x3c4)](_0x185a29(()=>_0x10e17b[_0x2545ea(0x26b)]()));const _0x502c24=new _0x41236f();_0x3a694d[_0x2545ea(0x3c4)](_0x27e84f[_0x2545ea(0x1fd)][_0x2545ea(0x1f0)](_0x3a73dc=>_0x502c24[_0x2545ea(0x251)](_0x3a73dc))),_0x3a694d[_0x2545ea(0x3c4)](_0x185a29(()=>_0x502c24[_0x2545ea(0x26b)]()));const _0x1b179f=new _0x41236f();_0x3a694d[_0x2545ea(0x3c4)](_0x27e84f[_0x2545ea(0x395)][_0x2545ea(0x1f0)](_0x408976=>{var _0x251dce=_0x2545ea;const _0x100c46=Pr(_0x408976);_0x1b179f[_0x251dce(0x251)](_0x100c46);})),_0x3a694d[_0x2545ea(0x3c4)](_0x185a29(()=>_0x1b179f[_0x2545ea(0x26b)]()));let _0x3352b3;const _0x4c8dbb=()=>{var _0x406ea8=_0x2545ea;_0x502c24['next'](new Event(_0x406ea8(0x360))),_0x10e17b[_0x406ea8(0x251)](new Event('connection\x20error')),_0x3352b3[_0x406ea8(0x21e)]();};return _0x3352b3={'memberID':'','close$':_0x10e17b['asObservable'](),'error$':_0x502c24[_0x2545ea(0x2be)](),'open$':_0x27e84f[_0x2545ea(0x313)],'message$':_0x1b179f[_0x2545ea(0x2be)](),'send':_0x47506e=>{var _0x50db04=_0x2545ea;if(_0x47506e[_0x50db04(0x1cf)]===F['INGEST']){if(_0x47506e[_0x50db04(0x39e)][_0x50db04(0x32d)]===_0x56c2b4[_0x50db04(0x250)]){this[_0x50db04(0x2eb)](_0x3352b3,_0x47506e['data'])[_0x50db04(0x23f)](_0x463cbf=>{var _0x5926d5=_0x50db04;this[_0x5926d5(0x475)]['error'](_0x463cbf),_0x4c8dbb();});return;}if(_0x47506e[_0x50db04(0x39e)][_0x50db04(0x32d)]===_0x56c2b4[_0x50db04(0x34c)]){const _0x3f2286=_0x47506e[_0x50db04(0x39e)];this[_0x50db04(0x278)](_0x3f2286)[_0x50db04(0x209)](_0x4d873c=>{var _0x5b6d34=_0x50db04;_0x1b179f[_0x5b6d34(0x251)]({'cmd':F[_0x5b6d34(0x1ca)],'code':ge['OK'],'routeKey':_0x3f2286[_0x5b6d34(0x39e)][_0x5b6d34(0x3c8)],'routeType':'','data':{'eventID':_0x56c2b4[_0x5b6d34(0x4ac)],'data':{'changesets':_0x4d873c}}});})['catch'](_0x345f48=>{var _0x1f323c=_0x50db04;this[_0x1f323c(0x475)][_0x1f323c(0x1ac)](_0x345f48),_0x4c8dbb();});return;}}_0x27e84f['send'](xr(_0x47506e));},'close':()=>{var _0x418f53=_0x2545ea;_0x27e84f[_0x418f53(0x21e)](),_0x3a694d[_0x418f53(0x27e)]();}},_0x3352b3;}async[_0x1e277(0x2eb)](_0x5967d3,_0x11c8d6){var _0x2ccee1=_0x1e277,_0x23e0a6,_0x4c4464;const {unitType:_0x389fe3,unitID:_0x47d93b,changeset:_0x5cfaff}=_0x11c8d6[_0x2ccee1(0x39e)],_0x13af58={'unitID':_0x47d93b,'memberID':_0x5967d3[_0x2ccee1(0x204)],'type':_0x389fe3,'changeset':_0x56bd7d(_0x5cfaff)},_0x324483=this[_0x2ccee1(0x47c)]['getConfig'](Or),_0x147864=this['_configService']['getConfig'](q),_0x17a251=kr((_0x4c4464=(_0x23e0a6=_0x147864==null?void 0x0:_0x147864[_0x2ccee1(0x1b8)])!=null?_0x23e0a6:_0x324483)!=null?_0x4c4464:Nr,_0x389fe3,_0x47d93b);try{await this[_0x2ccee1(0x488)]['post'](_0x17a251,{'body':_0x13af58});}catch(_0x8c01df){throw this[_0x2ccee1(0x475)][_0x2ccee1(0x1ac)](_0x2ccee1(0x2df),_0x2ccee1(0x482)),_0x8c01df;}}async['_fetchMissChangesets'](_0x7500e2){var _0x322714=_0x1e277;const {unitID:_0x424786,from:_0x9cae4b,to:_0x520413,unitType:_0x5cd3fe}=_0x7500e2[_0x322714(0x39e)];return(await this[_0x322714(0x2ef)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x424786,'type':_0x5cd3fe,'from':_0x9cae4b,'to':_0x520413}))[_0x322714(0x481)];}};Vt=Mr([Ue(0x0,_0x92794a(_0x222b43)),Ue(0x1,_0x92794a(_0x27ecf6)),Ue(0x2,_0x2e8183),Ue(0x3,_0x431844),Ue(0x4,_0x5dea43)],Vt);const $r=_0x1e277(0x401);function Hr(_0x41439a){var _0x1b69f7=_0x1e277;return JSON[_0x1b69f7(0x45c)](_0x41439a)['length'];}class Ti{constructor(){var _0x3960db=_0x1e277;N(this,_0x3960db(0x33d),new _0x41236f()),N(this,_0x3960db(0x25e),this[_0x3960db(0x33d)][_0x3960db(0x2be)]());}[_0x1e277(0x43a)](_0x26437f){var _0x513111=_0x1e277;this[_0x513111(0x33d)][_0x513111(0x251)](_0x26437f);}}var Br=Object[_0x1e277(0x2d7)],jr=(_0x4476e6,_0x473549,_0x2e733a,_0x3042a8)=>{for(var _0x549e8e=_0x3042a8>0x1?void 0x0:_0x3042a8?Br(_0x473549,_0x2e733a):_0x473549,_0x440598=_0x4476e6['length']-0x1,_0x3583dc;_0x440598>=0x0;_0x440598--)(_0x3583dc=_0x4476e6[_0x440598])&&(_0x549e8e=_0x3583dc(_0x549e8e)||_0x549e8e);return _0x549e8e;},Wt=(_0x1d976a,_0x402f9e)=>(_0x429ef4,_0x345fef)=>_0x402f9e(_0x429ef4,_0x345fef,_0x1d976a);let xe=class extends _0x464496{constructor(_0x39b9b0,_0x47ffa3){var _0x5bbeee=_0x1e277;super(),N(this,_0x5bbeee(0x35d),new Map()),N(this,_0x5bbeee(0x29e),new _0x41236f()),(this[_0x5bbeee(0x2b0)]=_0x39b9b0,this['_userManagerService']=_0x47ffa3,this[_0x5bbeee(0x406)](_0x232401(this[_0x5bbeee(0x2b0)]['getTypeOfUnitDisposed$'](_0x58bfc9[_0x5bbeee(0x221)])[_0x5bbeee(0x1d3)](_0x2d8a24(_0xbff814=>_0xbff814['getUnitId']())),this[_0x5bbeee(0x2b0)][_0x5bbeee(0x326)](_0x58bfc9[_0x5bbeee(0x202)])[_0x5bbeee(0x1d3)](_0x2d8a24(_0x25a4c1=>_0x25a4c1['getUnitId']())),this[_0x5bbeee(0x2b0)][_0x5bbeee(0x326)](_0x58bfc9[_0x5bbeee(0x31f)])['pipe'](_0x2d8a24(_0x57e562=>_0x57e562[_0x5bbeee(0x3aa)]())))[_0x5bbeee(0x1f0)](_0x4ee87a=>this[_0x5bbeee(0x431)](_0x4ee87a))));}[_0x1e277(0x4a6)](_0x431ce4){var _0x19623c=_0x1e277;return this['_roomMembers'][_0x19623c(0x290)](_0x431ce4)?_0x5a69d6(this[_0x19623c(0x35d)][_0x19623c(0x1b6)](_0x431ce4)):this[_0x19623c(0x29e)][_0x19623c(0x1d3)](_0x2d8a24(_0x22a413=>{var _0xae95a9=_0x19623c;if(_0x22a413===_0x431ce4)return this[_0xae95a9(0x35d)][_0xae95a9(0x1b6)](_0x22a413);}));}[_0x1e277(0x451)](_0x309bdc){var _0x4b12ff=_0x1e277;this[_0x4b12ff(0x3e1)][_0x4b12ff(0x451)](_0x309bdc);}[_0x1e277(0x3b5)](){var _0x2c5c85=_0x1e277;return this['_userManagerService'][_0x2c5c85(0x3b5)]();}['updateMember'](_0x164cfd,_0x5f1075){var _0x2d2eae=_0x1e277;let _0x33d3b1=this['_roomMembers'][_0x2d2eae(0x1b6)](_0x164cfd);_0x33d3b1||(_0x33d3b1=new Fr(),this[_0x2d2eae(0x35d)][_0x2d2eae(0x2af)](_0x164cfd,_0x33d3b1),this[_0x2d2eae(0x29e)]['next'](_0x164cfd)),_0x33d3b1[_0x2d2eae(0x218)](_0x5f1075);}[_0x1e277(0x347)](_0x1e986e,_0x3beb5e){var _0x118fd6=_0x1e277;const _0xca6fbc=this[_0x118fd6(0x35d)][_0x118fd6(0x1b6)](_0x1e986e);_0xca6fbc&&_0xca6fbc['removeMember'](_0x3beb5e);}['getRoom'](_0x3390d7){var _0x374ead=_0x1e277;return this[_0x374ead(0x35d)][_0x374ead(0x1b6)](_0x3390d7);}[_0x1e277(0x477)](_0x5ccecc,_0x149872){var _0x499c09=_0x1e277;const _0x53dede=this['_roomMembers'][_0x499c09(0x1b6)](_0x5ccecc);if(_0x53dede)return _0x53dede[_0x499c09(0x477)](_0x149872);}[_0x1e277(0x431)](_0x277629){var _0x1b0bc6=_0x1e277;const _0x3efa0e=this['_roomMembers'][_0x1b0bc6(0x1b6)](_0x277629);_0x3efa0e&&(_0x3efa0e[_0x1b0bc6(0x27e)](),this[_0x1b0bc6(0x35d)][_0x1b0bc6(0x1b9)](_0x277629));}[_0x1e277(0x27e)](){var _0x1bae2f=_0x1e277;this[_0x1bae2f(0x35d)][_0x1bae2f(0x436)](_0xe0bc2c=>_0xe0bc2c[_0x1bae2f(0x27e)]()),this['_roomMembers'][_0x1bae2f(0x2c5)](),this[_0x1bae2f(0x29e)][_0x1bae2f(0x26b)]();}};xe=jr([Wt(0x0,_0x50afd8),Wt(0x1,_0x92794a(_0xef4d7a))],xe);class Fr extends _0x464496{constructor(){var _0x5cd06c=_0x1e277;super(...arguments),N(this,_0x5cd06c(0x22b),new Map()),N(this,_0x5cd06c(0x32b),new _0x2e2086(this['_members'])),N(this,'members$',this[_0x5cd06c(0x32b)]['asObservable']());}[_0x1e277(0x27e)](){var _0x5bd47d=_0x1e277;this[_0x5bd47d(0x22b)][_0x5bd47d(0x2c5)]();}[_0x1e277(0x218)](_0x5bd737){var _0x2e051b=_0x1e277;this[_0x2e051b(0x22b)][_0x2e051b(0x2af)](_0x5bd737[_0x2e051b(0x204)],_0x5bd737),this['_emitMembers']();}[_0x1e277(0x347)](_0x108e6b){var _0x38ff8b=_0x1e277;this[_0x38ff8b(0x22b)][_0x38ff8b(0x1b9)](_0x108e6b);}['getMember'](_0x350461){var _0x4bea37=_0x1e277;return this[_0x4bea37(0x22b)][_0x4bea37(0x1b6)](_0x350461);}[_0x1e277(0x3f9)](){var _0x50d6b0=_0x1e277;return Array[_0x50d6b0(0x42a)](this[_0x50d6b0(0x22b)][_0x50d6b0(0x397)]());}[_0x1e277(0x420)](){var _0x570781=_0x1e277;this[_0x570781(0x32b)][_0x570781(0x251)](this[_0x570781(0x22b)]);}}var Gr=Object[_0x1e277(0x2d7)],Vr=(_0x503568,_0xe89fb0,_0x14dc1b,_0x53cf6c)=>{var _0x5e6587=_0x1e277;for(var _0x54f967=_0x53cf6c>0x1?void 0x0:_0x53cf6c?Gr(_0xe89fb0,_0x14dc1b):_0xe89fb0,_0x528ad1=_0x503568[_0x5e6587(0x3d8)]-0x1,_0x172c47;_0x528ad1>=0x0;_0x528ad1--)(_0x172c47=_0x503568[_0x528ad1])&&(_0x54f967=_0x172c47(_0x54f967)||_0x54f967);return _0x54f967;},me=(_0x16811e,_0x366c09)=>(_0x4f2d21,_0x38047f)=>_0x366c09(_0x4f2d21,_0x38047f,_0x16811e),Ee=(_0x5c127e=>(_0x5c127e[_0x5c127e[_0x1e277(0x430)]=0x0]='IDLE',_0x5c127e[_0x5c127e['JOINING']=0x1]='JOINING',_0x5c127e[_0x5c127e[_0x1e277(0x43b)]=0x2]=_0x1e277(0x43b),_0x5c127e[_0x5c127e[_0x1e277(0x3bc)]=0x3]=_0x1e277(0x3bc),_0x5c127e))(Ee||{});const Kt={[ge[_0x1e277(0x315)]]:'session.join-failed',[ge[_0x1e277(0x429)]]:_0x1e277(0x1e4),[ge[_0x1e277(0x4a8)]]:_0x1e277(0x329),[ge[_0x1e277(0x2e7)]]:_0x1e277(0x383),[ge[_0x1e277(0x427)]]:_0x1e277(0x249)};let Et=class extends _0xc2f0c0{constructor(_0x5ab8dc,_0x370100,_0x1eaa32,_0x3bb124,_0x2d8fd3,_0x26eb26,_0x1ca9f3,_0x11a6f4,_0x32a04d){var _0x198619=_0x1e277;super(),N(this,_0x198619(0x46e),new _0x2e2086(0x0)),N(this,_0x198619(0x2a0),this[_0x198619(0x46e)][_0x198619(0x2be)]()),N(this,'_event$',new _0x41236f()),N(this,_0x198619(0x24d),this[_0x198619(0x3ce)][_0x198619(0x2be)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x198619(0x496)),N(this,_0x198619(0x452),!0x1),N(this,_0x198619(0x2cc),null),(this['_unitID']=_0x5ab8dc,this[_0x198619(0x475)]=_0x1eaa32,this['_configService']=_0x3bb124,this[_0x198619(0x2e8)]=_0x2d8fd3,this[_0x198619(0x470)]=_0x26eb26,this['_commentService']=_0x1ca9f3,this[_0x198619(0x1af)]=_0x11a6f4,this['_telemetryService']=_0x32a04d,this[_0x198619(0x452)]=!!this[_0x198619(0x328)],_0x370100['pipe'](_0x2238c3(this['dispose$']))[_0x198619(0x1f0)](_0x291ba3=>{var _0x27f0bc=_0x198619,_0x26b29a;typeof _0x291ba3>'u'||(this[_0x27f0bc(0x23c)]=_0x291ba3,_0x291ba3?(this[_0x27f0bc(0x208)](_0x291ba3),this[_0x27f0bc(0x26c)]=_0x291ba3['message$'][_0x27f0bc(0x1f0)](_0x3063fb=>{var _0x12333d=_0x27f0bc;_0x3063fb[_0x12333d(0x280)]===this['_unitID']&&this[_0x12333d(0x362)](_0x3063fb);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x27f0bc(0x46e)]['next'](0x2),(_0x26b29a=this['_socketMessageSubscription'])==null||_0x26b29a[_0x27f0bc(0x2b8)](),this[_0x27f0bc(0x26c)]=null));}));}get[_0x1e277(0x20b)](){var _0x1807c9=_0x1e277;return this[_0x1807c9(0x46e)]['getValue']();}[_0x1e277(0x2fd)](){var _0x410dd9=_0x1e277,_0x4c1f2c,_0x4fba9a;return(_0x4fba9a=(_0x4c1f2c=this[_0x410dd9(0x23c)])==null?void 0x0:_0x4c1f2c['memberID'])!=null?_0x4fba9a:null;}[_0x1e277(0x27e)](){var _0x5d0a8f=_0x1e277;super[_0x5d0a8f(0x27e)](),this[_0x5d0a8f(0x3f2)][_0x5d0a8f(0x251)](),this[_0x5d0a8f(0x3f2)][_0x5d0a8f(0x26b)]();}['close'](){var _0x165bc6=_0x1e277,_0x1fe57a,_0x381842;this[_0x165bc6(0x28f)](),(_0x1fe57a=this['_socket'])==null||_0x1fe57a[_0x165bc6(0x447)]({'cmd':F[_0x165bc6(0x252)],'data':{'roomID':this[_0x165bc6(0x27b)]}}),(_0x381842=this[_0x165bc6(0x23c)])==null||_0x381842['close'](),this[_0x165bc6(0x3ce)][_0x165bc6(0x26b)](),this[_0x165bc6(0x46e)][_0x165bc6(0x26b)](),this['dispose']();}[_0x1e277(0x362)](_0xd9b80c){var _0x455457=_0x1e277;_0xd9b80c[_0x455457(0x1cf)]===F[_0x455457(0x267)]?this[_0x455457(0x374)](_0xd9b80c):_0xd9b80c[_0x455457(0x1cf)]===F[_0x455457(0x1ca)]&&this[_0x455457(0x3ab)](_0xd9b80c);}['_joinRoom'](_0x13aab6){var _0xc17140=_0x1e277;this['_sessionStatus$'][_0xc17140(0x251)](0x1),_0x13aab6[_0xc17140(0x447)]({'cmd':F[_0xc17140(0x267)],'routeKey':this[_0xc17140(0x27b)],'routeType':'','data':{'rooms':[{'roomID':this[_0xc17140(0x27b)]}]}});}['_onJoinRoomEvent'](_0x66d57c){var _0x596250=_0x1e277,_0x297824;if(_0x66d57c[_0x596250(0x3fc)]in Kt){this['_collaborationUIEventService'][_0x596250(0x465)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x66d57c[_0x596250(0x3fc)]]}),this[_0x596250(0x46e)]['next'](0x2);return;}this['_sessionStatus$'][_0x596250(0x251)](0x3);const _0x54fa08=(_0x297824=_0x66d57c[_0x596250(0x39e)]['roomInfos'][this[_0x596250(0x27b)]])==null?void 0x0:_0x297824[_0x596250(0x3e2)];_0x54fa08&&_0x54fa08[_0x596250(0x436)](_0x4e5781=>this[_0x596250(0x470)]['updateMember'](this[_0x596250(0x27b)],_0x4e5781));}[_0x1e277(0x3ab)](_0x513254){var _0x1fed44=_0x1e277;try{const _0x36f7c6=_0x513254[_0x1fed44(0x39e)];switch(_0x36f7c6[_0x1fed44(0x32d)]){case _0x56c2b4[_0x1fed44(0x321)]:this['_onUserJoin'](_0x36f7c6),this['_event$'][_0x1fed44(0x251)](_0x36f7c6);break;case _0x56c2b4[_0x1fed44(0x1d8)]:this[_0x1fed44(0x39a)](_0x36f7c6),this[_0x1fed44(0x3ce)][_0x1fed44(0x251)](_0x36f7c6);break;case _0x56c2b4[_0x1fed44(0x3f1)]:case _0x56c2b4[_0x1fed44(0x385)]:this[_0x1fed44(0x216)](),this['_clearCollaborationTimeoutTimer'](),this[_0x1fed44(0x3ce)][_0x1fed44(0x251)](_0x36f7c6);break;case _0x56c2b4[_0x1fed44(0x3b6)]:this[_0x1fed44(0x475)]['error'](_0x1fed44(0x458)+JSON['stringify'](_0x36f7c6)),this[_0x1fed44(0x3ce)][_0x1fed44(0x251)](_0x36f7c6);break;case _0x56c2b4['COMMENT_UPDATE']:this[_0x1fed44(0x3d5)][_0x1fed44(0x43a)](_0x36f7c6['data']),this['_event$'][_0x1fed44(0x251)](_0x36f7c6);break;default:this[_0x1fed44(0x3ce)]['next'](_0x36f7c6);}}catch(_0x376ceb){this[_0x1fed44(0x475)][_0x1fed44(0x1ac)](_0x376ceb,_0x513254);}}[_0x1e277(0x1ed)](_0x27b917){var _0x250cd9=_0x1e277;this[_0x250cd9(0x470)][_0x250cd9(0x218)](this[_0x250cd9(0x27b)],_0x27b917['data']);}[_0x1e277(0x39a)](_0x160224){var _0x3eec2e=_0x1e277;this[_0x3eec2e(0x470)][_0x3eec2e(0x347)](this[_0x3eec2e(0x27b)],_0x160224[_0x3eec2e(0x39e)]['memberID']);}async['send'](_0x4f08ee,_0x4c1c3f){var _0xaad3e=_0x1e277;if(this[_0xaad3e(0x20b)]!==0x3||!this[_0xaad3e(0x23c)])throw new Error(_0xaad3e(0x35f));try{_0x4f08ee['eventID']===_0x56c2b4[_0xaad3e(0x250)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xaad3e(0x438)](_0x4f08ee)),this[_0xaad3e(0x23c)][_0xaad3e(0x447)]({'cmd':F[_0xaad3e(0x1c5)],'routeKey':_0x4c1c3f,'routeType':'','data':_0x4f08ee});}catch(_0x1225c1){this[_0xaad3e(0x475)][_0xaad3e(0x1ac)](_0x1225c1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2028ef=_0x1e277,_0x6ece6a;this[_0x2028ef(0x496)]=setTimeout(()=>{var _0x56f014=_0x2028ef;this[_0x56f014(0x496)]=null,this['_collaborationUIEventService'][_0x56f014(0x465)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x6ece6a=this[_0x2028ef(0x47c)][_0x2028ef(0x457)](mi))!=null?_0x6ece6a:gi);}['_clearCollaborationTimeoutTimer'](){var _0x3d6aa0=_0x1e277;this[_0x3d6aa0(0x496)]&&(clearTimeout(this[_0x3d6aa0(0x496)]),this[_0x3d6aa0(0x496)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x48a426){var _0x207f0b=_0x1e277;if(!this[_0x207f0b(0x452)])return;const {data:_0x50215d}=_0x48a426,{unitID:_0xb9c829,changeset:_0x516891}=_0x50215d,{mutations:_0x155786,type:_0x51ed7b}=_0x516891;this[_0x207f0b(0x2cc)]={'unitId':_0xb9c829,'type':_0x51ed7b,'startTime':performance[_0x207f0b(0x4a1)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x155786)};}[_0x1e277(0x216)](){var _0x33591f=_0x1e277;if(this[_0x33591f(0x452)]){if(!this[_0x33591f(0x2cc)]){this[_0x33591f(0x475)][_0x33591f(0x1ac)]('[CollaborationSession]',_0x33591f(0x294));return;}this[_0x33591f(0x2cc)][_0x33591f(0x3ba)]=performance[_0x33591f(0x4a1)](),this[_0x33591f(0x2cc)][_0x33591f(0x31b)]=this['_telemetryInfo'][_0x33591f(0x3ba)]-this[_0x33591f(0x2cc)][_0x33591f(0x4a3)],this[_0x33591f(0x328)][_0x33591f(0x40c)]($r,this['_telemetryInfo']),this[_0x33591f(0x2cc)]=null;}}[_0x1e277(0x28f)](){var _0x3fd092=_0x1e277;this[_0x3fd092(0x2cc)]=null;}};Et=Vr([me(0x2,_0x431844),me(0x3,_0x2e8183),me(0x4,_0x92794a(_0x2c1e5d)),me(0x5,_0x92794a(xe)),me(0x6,_0x92794a(Ti)),me(0x7,_0x92794a(pe)),me(0x8,_0x1c6146(_0x1aaf2e))],Et);var Wr=Object[_0x1e277(0x2d7)],Kr=(_0x944549,_0x2c1df6,_0x5a1759,_0x425450)=>{var _0x522673=_0x1e277;for(var _0x20b230=_0x425450>0x1?void 0x0:_0x425450?Wr(_0x2c1df6,_0x5a1759):_0x2c1df6,_0xfaea0c=_0x944549[_0x522673(0x3d8)]-0x1,_0x1110a;_0xfaea0c>=0x0;_0xfaea0c--)(_0x1110a=_0x944549[_0xfaea0c])&&(_0x20b230=_0x1110a(_0x20b230)||_0x20b230);return _0x20b230;},be=(_0x46b6d3,_0x10fa31)=>(_0x165bc0,_0x50a252)=>_0x10fa31(_0x165bc0,_0x50a252,_0x46b6d3);let Le=class extends _0x464496{constructor(_0x42c0ce,_0x147869,_0x352927,_0x56b354,_0x7b50c2,_0x24421f){var _0x1cc9d9=_0x1e277;super(),N(this,_0x1cc9d9(0x49b),new _0x2e2086(void 0x0)),N(this,_0x1cc9d9(0x46d),this['_socket$']['asObservable']()),N(this,_0x1cc9d9(0x24e),null),N(this,_0x1cc9d9(0x38a),new Map()),N(this,'_status$',new _0x2e2086(Ee['IDLE'])),N(this,_0x1cc9d9(0x246),this[_0x1cc9d9(0x1eb)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x1cc9d9(0x398),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x1cc9d9(0x248)),(this[_0x1cc9d9(0x445)]=_0x42c0ce,this['_logService']=_0x147869,this['_configService']=_0x352927,this[_0x1cc9d9(0x230)]=_0x56b354,this[_0x1cc9d9(0x1af)]=_0x7b50c2,this[_0x1cc9d9(0x333)]=_0x24421f,this[_0x1cc9d9(0x2ae)]());}get[_0x1e277(0x23c)](){var _0x21b5fb=_0x1e277;return this[_0x21b5fb(0x49b)]['getValue']();}[_0x1e277(0x2ae)](){var _0x1c4894=_0x1e277;this['_networkConditionService']&&this[_0x1c4894(0x406)](this[_0x1c4894(0x333)][_0x1c4894(0x413)]['subscribe'](_0x2952a2=>{var _0x45460e=_0x1c4894;_0x2952a2&&!this[_0x45460e(0x23c)]&&this[_0x45460e(0x260)](),_0x2952a2||this[_0x45460e(0x2de)]();}));}[_0x1e277(0x27e)](){var _0x2ef178=_0x1e277;super['dispose'](),this[_0x2ef178(0x1c0)](),this[_0x2ef178(0x3f5)](),this[_0x2ef178(0x323)](),this[_0x2ef178(0x38a)][_0x2ef178(0x436)](_0x2b5dc2=>_0x2b5dc2[_0x2ef178(0x27e)]()),this[_0x2ef178(0x38a)][_0x2ef178(0x2c5)](),this[_0x2ef178(0x1eb)][_0x2ef178(0x26b)]();}async[_0x1e277(0x309)](_0x1db657){var _0x46a847=_0x1e277;if(this['_sessions'][_0x46a847(0x290)](_0x1db657))return this[_0x46a847(0x38a)][_0x46a847(0x1b6)](_0x1db657);this['_tryEnsureSocket']();const _0x5704b3=this[_0x46a847(0x445)][_0x46a847(0x20d)](Et,_0x1db657,this[_0x46a847(0x49b)]['asObservable']());return this[_0x46a847(0x38a)][_0x46a847(0x2af)](_0x1db657,_0x5704b3),_0x5704b3;}[_0x1e277(0x240)](_0x5157b9){var _0x363ef8=_0x1e277,_0x29ecd4;const _0x20ab26=this[_0x363ef8(0x38a)][_0x363ef8(0x1b6)](_0x5157b9);_0x20ab26&&(this[_0x363ef8(0x38a)]['delete'](_0x5157b9),_0x20ab26[_0x363ef8(0x21e)]()),this[_0x363ef8(0x38a)][_0x363ef8(0x2a8)]||(_0x29ecd4=this[_0x363ef8(0x23c)])==null||_0x29ecd4['close']();}[_0x1e277(0x260)](){var _0x19422e=_0x1e277;this[_0x19422e(0x398)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x19422e(0x257)]();}[_0x1e277(0x1c0)](){var _0x459f86=_0x1e277;this[_0x459f86(0x38c)]!=null&&(clearTimeout(this[_0x459f86(0x38c)]),this[_0x459f86(0x38c)]=null);}async['_createSocket'](){var _0x18bb21=_0x1e277,_0x15bc37,_0x429fd5;const _0x569a91=this[_0x18bb21(0x47c)][_0x18bb21(0x457)](Er),_0x2df6aa=this[_0x18bb21(0x47c)][_0x18bb21(0x457)](q),_0x9d9027=(_0x429fd5=(_0x15bc37=_0x2df6aa==null?void 0x0:_0x2df6aa[_0x18bb21(0x3ec)])!=null?_0x15bc37:_0x569a91)!=null?_0x429fd5:Ir,_0x3d14cb=await this[_0x18bb21(0x230)][_0x18bb21(0x331)](_0x9d9027);return this[_0x18bb21(0x24e)]=_0x3d14cb,_0x3d14cb;}async[_0x1e277(0x373)](){var _0x45fc5d=_0x1e277,_0x4bc032,_0x8fc216;try{const _0x107b8a=(_0x8fc216=(_0x4bc032=this[_0x45fc5d(0x23c)])!=null?_0x4bc032:this[_0x45fc5d(0x24e)])!=null?_0x8fc216:await this[_0x45fc5d(0x241)]();if(_0x107b8a){const _0x24680c=_0x107b8a['send'];_0x107b8a['send']=_0x253f7e=>(this['_rescheduleHeartbeat'](),_0x24680c['apply'](_0x107b8a,[_0x253f7e])),_0x107b8a['message$'][_0x45fc5d(0x1f0)](_0x23c82f=>this['_onMessage'](_0x107b8a,_0x23c82f)),_0x107b8a[_0x45fc5d(0x1fd)][_0x45fc5d(0x1d3)](_0x16de32(0x1))[_0x45fc5d(0x1f0)](_0x1f3c0d=>this[_0x45fc5d(0x475)][_0x45fc5d(0x1ac)](_0x45fc5d(0x2f6),_0x1f3c0d)),_0x107b8a[_0x45fc5d(0x313)][_0x45fc5d(0x1d3)](_0x16de32(0x1))[_0x45fc5d(0x1f0)](()=>{var _0x1d5590=_0x45fc5d;this[_0x1d5590(0x300)](_0x107b8a);}),_0x107b8a[_0x45fc5d(0x1c6)][_0x45fc5d(0x1d3)](_0x16de32(0x1))['subscribe'](_0x4fd13d=>{var _0x28988b=_0x45fc5d;this[_0x28988b(0x475)][_0x28988b(0x359)](_0x28988b(0x233),_0x28988b(0x2fb),_0x4fd13d),this['_onConnectionFailed']();});}}catch(_0x4b66b7){this[_0x45fc5d(0x475)][_0x45fc5d(0x1ac)](_0x4b66b7),this['_onConnectionFailed']();}}[_0x1e277(0x300)](_0x1ca7fd){var _0x5921cb=_0x1e277;this[_0x5921cb(0x475)][_0x5921cb(0x359)](_0x5921cb(0x233),_0x5921cb(0x274)),_0x1ca7fd[_0x5921cb(0x447)]({'cmd':F[_0x5921cb(0x472)]}),this[_0x5921cb(0x2a5)]();}[_0x1e277(0x2de)](){var _0x350ed0=_0x1e277;this[_0x350ed0(0x459)]=!0x1,this[_0x350ed0(0x24e)]=null,this['_status$'][_0x350ed0(0x251)](Ee[_0x350ed0(0x43b)]),this[_0x350ed0(0x49b)][_0x350ed0(0x251)](null),this['_clearTimeoutTimer'](),this[_0x350ed0(0x323)]();}[_0x1e277(0x3cc)](){var _0x39fa2d=_0x1e277,_0x57fd01;this[_0x39fa2d(0x2de)](),this['_retryCount']<((_0x57fd01=this[_0x39fa2d(0x47c)]['getConfig'](br))!=null?_0x57fd01:yr)?(this[_0x39fa2d(0x1af)]['emitEvent']({'id':se[_0x39fa2d(0x421)]}),this[_0x39fa2d(0x257)]()):this[_0x39fa2d(0x1af)][_0x39fa2d(0x465)]({'id':se[_0x39fa2d(0x450)]});}['_tryReconnect'](){var _0x15bfea=_0x1e277,_0x47d311;const _0x128e7b=this[_0x15bfea(0x398)],_0x1080a6=this[_0x15bfea(0x47c)]['getConfig'](q),_0x11f009=_0x128e7b===0x0?0x0:((_0x47d311=_0x1080a6==null?void 0x0:_0x1080a6[_0x15bfea(0x3fa)])!=null?_0x47d311:Rr)*0x2**_0x128e7b;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5d1187=_0x15bfea;clearTimeout(this['_retryConnectingTimer']),this[_0x5d1187(0x38c)]=null,this[_0x5d1187(0x373)]();},_0x11f009),this['_retryCount']+=0x1;}['_onMessage'](_0x5d447e,_0x404ae9){var _0x255b36=_0x1e277;const {cmd:_0x15a601}=_0x404ae9;_0x15a601===F['HELLO']&&!this['_socketReady']&&(_0x5d447e[_0x255b36(0x204)]=_0x404ae9[_0x255b36(0x39e)][_0x255b36(0x204)],this[_0x255b36(0x49b)][_0x255b36(0x251)](_0x5d447e),this[_0x255b36(0x1eb)][_0x255b36(0x251)](Ee[_0x255b36(0x3bc)]),this[_0x255b36(0x459)]=!0x0,this[_0x255b36(0x24e)]=null),_0x15a601===F[_0x255b36(0x1ae)]&&this['_clearTimeoutTimer'](),this[_0x255b36(0x2a5)]();}['_rescheduleHeartbeat'](){var _0x511220=_0x1e277,_0x55ce07;this['_clearHeartbeatTimer'](),this[_0x511220(0x494)]=setTimeout(()=>this[_0x511220(0x408)](),(_0x55ce07=this[_0x511220(0x47c)][_0x511220(0x457)](Tr))!=null?_0x55ce07:Cr);}[_0x1e277(0x408)](){var _0x1bd5ae=_0x1e277;this[_0x1bd5ae(0x23c)][_0x1bd5ae(0x447)]({'cmd':F[_0x1bd5ae(0x1ae)]}),this[_0x1bd5ae(0x37f)]();}[_0x1e277(0x37f)](){var _0x417474=_0x1e277,_0xea77aa;this[_0x417474(0x248)]=setTimeout(()=>this['_onConnectionFailed'](),(_0xea77aa=this[_0x417474(0x47c)][_0x417474(0x457)](mi))!=null?_0xea77aa:gi);}[_0x1e277(0x323)](){var _0x20d71e=_0x1e277;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20d71e(0x494)]),this[_0x20d71e(0x494)]=null);}[_0x1e277(0x3f5)](){var _0x5ccd8e=_0x1e277;this[_0x5ccd8e(0x248)]!=null&&(clearTimeout(this[_0x5ccd8e(0x248)]),this[_0x5ccd8e(0x248)]=null);}};Le=Kr([be(0x0,_0x92794a(_0x222b43)),be(0x1,_0x431844),be(0x2,_0x2e8183),be(0x3,Ii),be(0x4,_0x92794a(pe)),be(0x5,_0x1c6146(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)[_0x1e277(0x1de)](0x1));function Yr(_0x4e3b0c,_0x4c45ce=0x0){var _0x24d59f=_0x1e277;return(G[_0x4e3b0c[_0x4c45ce+0x0]]+G[_0x4e3b0c[_0x4c45ce+0x1]]+G[_0x4e3b0c[_0x4c45ce+0x2]]+G[_0x4e3b0c[_0x4c45ce+0x3]]+'-'+G[_0x4e3b0c[_0x4c45ce+0x4]]+G[_0x4e3b0c[_0x4c45ce+0x5]]+'-'+G[_0x4e3b0c[_0x4c45ce+0x6]]+G[_0x4e3b0c[_0x4c45ce+0x7]]+'-'+G[_0x4e3b0c[_0x4c45ce+0x8]]+G[_0x4e3b0c[_0x4c45ce+0x9]]+'-'+G[_0x4e3b0c[_0x4c45ce+0xa]]+G[_0x4e3b0c[_0x4c45ce+0xb]]+G[_0x4e3b0c[_0x4c45ce+0xc]]+G[_0x4e3b0c[_0x4c45ce+0xd]]+G[_0x4e3b0c[_0x4c45ce+0xe]]+G[_0x4e3b0c[_0x4c45ce+0xf]])[_0x24d59f(0x45f)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x3fc854=_0x1e277;if(!ut){if(typeof crypto>'u'||!crypto[_0x3fc854(0x226)])throw new Error(_0x3fc854(0x1f4));ut=crypto[_0x3fc854(0x226)][_0x3fc854(0x3c6)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x1e277(0x3c6)](crypto),Yt={'randomUUID':Jr};function Xr(_0x35c45b,_0x52a5e5,_0x5d5abe){var _0x1f3f69=_0x1e277,_0x1c4dd3,_0x2f16bf,_0x24bb44;if(Yt[_0x1f3f69(0x3c2)]&&!_0x35c45b)return Yt[_0x1f3f69(0x3c2)]();_0x35c45b=_0x35c45b||{};const _0x48656d=(_0x24bb44=(_0x2f16bf=_0x35c45b[_0x1f3f69(0x44b)])!=null?_0x2f16bf:(_0x1c4dd3=_0x35c45b[_0x1f3f69(0x41c)])==null?void 0x0:_0x1c4dd3[_0x1f3f69(0x33a)](_0x35c45b))!=null?_0x24bb44:zr();if(_0x48656d[_0x1f3f69(0x3d8)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x48656d[0x6]=_0x48656d[0x6]&0xf|0x40,_0x48656d[0x8]=_0x48656d[0x8]&0x3f|0x80,Yr(_0x48656d);}const J=_0x320a34(_0x1e277(0x1d7));function Bs(_0x20712a){var _0x5894cd=_0x1e277;return _0x5894cd(0x2e4)+_0x20712a;}var Zr=Object[_0x1e277(0x2d7)],Qr=(_0x4995d5,_0x2d4d8b,_0xc23419,_0x42fdf6)=>{var _0x18ff25=_0x1e277;for(var _0x22bd35=_0x42fdf6>0x1?void 0x0:_0x42fdf6?Zr(_0x2d4d8b,_0xc23419):_0x2d4d8b,_0x299cf5=_0x4995d5[_0x18ff25(0x3d8)]-0x1,_0x39194e;_0x299cf5>=0x0;_0x299cf5--)(_0x39194e=_0x4995d5[_0x299cf5])&&(_0x22bd35=_0x39194e(_0x22bd35)||_0x22bd35);return _0x22bd35;},dt=(_0x136141,_0x14e162)=>(_0x5d307b,_0x5a1ef6)=>_0x14e162(_0x5d307b,_0x5a1ef6,_0x136141);function en(_0x37bd82){const {unitID:_0x5d2816,mutations:_0x19f489}=_0x37bd82;return{'unitId':_0x5d2816,'subUnitId':_0x19f489[0x0]['params']['subUnitId']};}let it=class{constructor(_0x2edfc8,_0xb74378,_0x50ec79){var _0x256485=_0x1e277;this[_0x256485(0x445)]=_0x2edfc8,this[_0x256485(0x418)]=_0xb74378,this[_0x256485(0x40f)]=_0x50ec79;}[_0x1e277(0x261)](_0x43a179){var _0x14f8f4=_0x1e277,_0x47c6fe,_0x263b60,_0x16814c,_0x462b7c;const _0x17abf6=this[_0x14f8f4(0x445)][_0x14f8f4(0x1b6)](_0x471822),{unitId:_0x1e9829,subUnitId:_0x1fa1a3}=en(_0x43a179),_0x25f5a0=_0x17abf6==null?void 0x0:_0x17abf6[_0x14f8f4(0x415)](_0x1e9829)[_0x14f8f4(0x2a4)](),_0x520863=(_0x263b60=(_0x47c6fe=this[_0x14f8f4(0x40f)]['getUnit'](_0x1e9829))==null?void 0x0:_0x47c6fe[_0x14f8f4(0x1d1)]())==null?void 0x0:_0x263b60[_0x14f8f4(0x311)]();if(_0x25f5a0[_0x14f8f4(0x3d8)]===0x0||!_0x1e9829||!_0x1fa1a3)return;const _0x5107e7=[{'id':_0x33d1ab['id'],'params':{'unitId':_0x1e9829,'subUnitId':_0x520863,'selections':_0x580ac3[_0x14f8f4(0x2ac)](_0x25f5a0)}}],_0x2e551a=this['_transformService'][_0x14f8f4(0x3a7)](_0x43a179,_0x5107e7);if(!_0x38aba5(_0x2e551a))throw _0x2e551a[_0x14f8f4(0x1ac)];const _0x106f71=(_0x462b7c=(_0x16814c=_0x2e551a[_0x14f8f4(0x1ad)][0x0])==null?void 0x0:_0x16814c[_0x14f8f4(0x335)])==null?void 0x0:_0x462b7c[_0x14f8f4(0x46f)];if(Array[_0x14f8f4(0x1fb)](_0x106f71)&&_0x106f71['length']){if(_0x106f71[_0x14f8f4(0x3d8)]===_0x5107e7[0x0][_0x14f8f4(0x335)][_0x14f8f4(0x46f)]['length']&&_0x106f71['every']((_0x43c3a8,_0x1c63a1)=>_0x18c94f[_0x14f8f4(0x3e0)](_0x43c3a8['range'],_0x5107e7[0x0][_0x14f8f4(0x335)][_0x14f8f4(0x46f)][_0x1c63a1][_0x14f8f4(0x3db)])))return;this['_injector']['get'](_0x33ed32)['executeCommand'](_0x33d1ab['id'],{'unitId':_0x1e9829,'subUnitId':_0x520863,'selections':_0x106f71});}}};it=Qr([dt(0x0,_0x92794a(_0x222b43)),dt(0x1,_0x3b9f1a),dt(0x2,_0x50afd8)],it);const ht=_0x320a34('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x28e319=>(_0x28e319[_0x28e319[_0x1e277(0x364)]=0x0]=_0x1e277(0x364),_0x28e319[_0x28e319[_0x1e277(0x298)]=0x1]='OTHER_CLIENTS_EDITING',_0x28e319))(Ci||{});const tn=new Set([_0x4383fd['id']]);function qt(_0x144469,_0x1a57be,_0x560d5f,_0x28063c,_0x46edb7){var _0x4f35a2=_0x1e277,_0x22da82,_0x4b6e0d,_0xb4ab01,_0x36c7b2;const _0x2e4fc7=[];for(const _0x1addb6 of _0x144469)if(tn['has'](_0x1addb6['id'])){if(_0x2e4fc7[_0x4f35a2(0x3d8)]>0x0)break;_0x2e4fc7[_0x4f35a2(0x282)](_0x1addb6);break;}else _0x2e4fc7[_0x4f35a2(0x282)](_0x1addb6);const _0x4244fc=(_0x4b6e0d=(_0x22da82=_0x46edb7[_0x4f35a2(0x3b5)]())==null?void 0x0:_0x22da82[_0x4f35a2(0x3b0)])!=null?_0x4b6e0d:'unknown',_0x5f1e87=(_0x36c7b2=(_0xb4ab01=_0x46edb7['getCurrentUser']())==null?void 0x0:_0xb4ab01[_0x4f35a2(0x204)])!=null?_0x36c7b2:_0x4f35a2(0x1da);return{'changeset':{'unitID':_0x1a57be,'type':_0x1793b4(_0x560d5f[_0x4f35a2(0x3ed)](_0x1a57be)),'baseRev':_0x28063c[_0x4f35a2(0x386)](_0x1a57be),'revision':0x0,'userID':_0x4244fc,'memberID':_0x5f1e87,'mutations':_0x2e4fc7},'pendingMutations':_0x144469[_0x4f35a2(0x1de)](_0x2e4fc7['length'])};}function rn(_0x3f8f4e,_0x3288ac,_0x5a79c6,_0x14a975,_0xd39707){var _0x297064=_0x1e277,_0x36e50d,_0x57e6ba,_0x395e16,_0x44cc50;const _0x235ec2=[_0x3f8f4e[_0x297064(0x4af)]((_0x12638f,_0x92d229)=>{var _0x3faf67=_0x297064,_0x3d6887;const {id:_0x57b6ca}=_0x12638f,{id:_0x478649,type:_0x141759}=_0x92d229,_0x1cd467=(_0x3d6887=_0x12638f[_0x3faf67(0x335)])!=null?_0x3d6887:{'actions':null},_0x1616c2=_0x92d229[_0x3faf67(0x335)];if(_0x57b6ca&&_0x57b6ca!==_0x478649)throw new Error(_0x3faf67(0x341)+_0x57b6ca+_0x3faf67(0x270)+_0x478649+'.');return{..._0x12638f,'id':_0x478649,'type':_0x141759,'params':{'unitId':_0x1616c2['unitId'],'textRanges':_0x1616c2[_0x3faf67(0x42e)],'actions':_0x50d002[_0x3faf67(0x1db)](_0x1cd467[_0x3faf67(0x27f)],_0x1616c2[_0x3faf67(0x27f)])}};},{})],_0x5241a8=(_0x57e6ba=(_0x36e50d=_0xd39707[_0x297064(0x3b5)]())==null?void 0x0:_0x36e50d[_0x297064(0x3b0)])!=null?_0x57e6ba:_0x297064(0x1da),_0x54db58=(_0x44cc50=(_0x395e16=_0xd39707[_0x297064(0x3b5)]())==null?void 0x0:_0x395e16['memberID'])!=null?_0x44cc50:_0x297064(0x1da);return{'changeset':{'unitID':_0x3288ac,'type':_0x1793b4(_0x5a79c6['getUnitType'](_0x3288ac)),'baseRev':_0x14a975[_0x297064(0x386)](_0x3288ac),'revision':0x0,'userID':_0x5241a8,'memberID':_0x54db58,'mutations':_0x235ec2},'pendingMutations':[]};}function Ri(_0x34d38a,_0x8d77e5){var _0x3cd23f=_0x1e277;const _0x24453b=new _0x5e9f64(0x1);return setTimeout(()=>_0x24453b[_0x3cd23f(0x251)](_0x8d77e5),_0x34d38a),_0x24453b[_0x3cd23f(0x2be)]()['pipe'](_0x444f59(0x1));}const nn={'id':_0x38334e['id'],'type':_0x4215e7[_0x1e277(0x324)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x249bb7,_0x3cf072,_0xa05919,_0x3d580b)=>{var _0x3ae6fa=_0x1e277;for(var _0x350038=_0x3d580b>0x1?void 0x0:_0x3d580b?sn(_0x3cf072,_0xa05919):_0x3cf072,_0x1b0ba4=_0x249bb7[_0x3ae6fa(0x3d8)]-0x1,_0x4ba197;_0x1b0ba4>=0x0;_0x1b0ba4--)(_0x4ba197=_0x249bb7[_0x1b0ba4])&&(_0x350038=_0x4ba197(_0x350038)||_0x350038);return _0x350038;},P=(_0x1599c4,_0x43f763)=>(_0x1acf09,_0x14f304)=>_0x43f763(_0x1acf09,_0x14f304,_0x1599c4),bi=(_0x446467=>(_0x446467[_0x1e277(0x30b)]=_0x1e277(0x232),_0x446467[_0x1e277(0x2a6)]=_0x1e277(0x24b),_0x446467[_0x1e277(0x3ac)]=_0x1e277(0x39c),_0x446467[_0x1e277(0x399)]=_0x1e277(0x24c),_0x446467[_0x1e277(0x2b3)]='awaiting_with_pending',_0x446467['FETCH_MISS']='fetch_missing',_0x446467[_0x1e277(0x33e)]=_0x1e277(0x2e2),_0x446467['OFFLINE']=_0x1e277(0x3c0),_0x446467))(bi||{});const yi=0xea60;class Ce{constructor(_0x4f4434,_0x33fb5c,_0x19a4ce,_0x5cde49,_0xddb5a5,_0x5d5232,_0x3c43f1,_0xc6a28d,_0x878ec){var _0x56ff62=_0x1e277;N(this,_0x56ff62(0x262),null),N(this,_0x56ff62(0x2b7),[]),(this['unitID']=_0x4f4434,this['type']=_0x33fb5c,this[_0x56ff62(0x200)]=_0xddb5a5,this[_0x56ff62(0x1b1)]=_0x5d5232,this['_undoRedoService']=_0x3c43f1,this[_0x56ff62(0x2ec)]=_0xc6a28d,this[_0x56ff62(0x343)]=_0x878ec,this[_0x56ff62(0x262)]=_0x19a4ce,this[_0x56ff62(0x2b7)]=_0x5cde49);}[_0x1e277(0x367)](_0x1e9b95){var _0x309de5=_0x1e277;const _0x1d504b=this[_0x309de5(0x2ec)][_0x309de5(0x386)](this[_0x309de5(0x3c8)]);return _0x1e9b95['revision']>_0x1d504b+0x1?(this['_handler'][_0x309de5(0x3a0)]({'from':_0x1d504b,'to':_0x1e9b95[_0x309de5(0x2aa)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4d8119){var _0x5ee05e=_0x1e277;this[_0x5ee05e(0x1cc)][_0x5ee05e(0x295)](this[_0x5ee05e(0x3c8)],_0x4d8119);}['_transformSelections'](_0x200029){var _0x4c9c5b=_0x1e277,_0x3240d0,_0x16729b;(_0x16729b=(_0x3240d0=this[_0x4c9c5b(0x200)])[_0x4c9c5b(0x284)])==null||_0x16729b[_0x4c9c5b(0x33a)](_0x3240d0,_0x200029);}['_transformIMECache'](_0x1944b4){var _0x3c1ac0=_0x1e277,_0x52c5be,_0x547859;return(_0x547859=(_0x52c5be=this[_0x3c1ac0(0x200)])[_0x3c1ac0(0x334)])==null?void 0x0:_0x547859[_0x3c1ac0(0x33a)](_0x52c5be,_0x1944b4);}['_transformStateCache'](_0x1855b7){var _0x245861=_0x1e277,_0x59bb8e,_0x3e8f7b;return(_0x3e8f7b=(_0x59bb8e=this[_0x245861(0x200)])['onTransformState'])==null?void 0x0:_0x3e8f7b[_0x245861(0x33a)](_0x59bb8e,_0x1855b7);}[_0x1e277(0x45a)](_0x23f1d0){var _0x52ee0d=_0x1e277,_0x3bc872,_0x3fc5d3,_0x7b499a;return(_0x7b499a=(_0x3fc5d3=(_0x3bc872=this[_0x52ee0d(0x200)])[_0x52ee0d(0x4aa)])==null?void 0x0:_0x3fc5d3['call'](_0x3bc872,_0x23f1d0))!=null?_0x7b499a:_0x23f1d0;}[_0x1e277(0x449)](_0x36b0d5){var _0x28c049=_0x1e277,_0x5eeba0,_0x466efb,_0x4fa984;return(_0x4fa984=(_0x466efb=(_0x5eeba0=this[_0x28c049(0x200)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x466efb[_0x28c049(0x33a)](_0x5eeba0,_0x36b0d5))!=null?_0x4fa984:_0x36b0d5;}[_0x1e277(0x2ce)](_0x3d130c){var _0xa34628=_0x1e277,_0x217dbb,_0x53aefb;if(this[_0xa34628(0x1f6)]===Q[_0xa34628(0x202)]){const {unitID:_0x297c1d,mutations:_0x536cf3,memberID:_0x1377f8}=_0x3d130c,_0x151816=_0x536cf3[0x0][_0xa34628(0x335)][_0xa34628(0x42e)];Array[_0xa34628(0x1fb)](_0x151816)&&_0x151816['length']>0x0&&((_0x53aefb=(_0x217dbb=this[_0xa34628(0x200)])[_0xa34628(0x365)])==null||_0x53aefb['call'](_0x217dbb,{'unitID':_0x297c1d,'memberID':_0x1377f8,'textRanges':_0x151816}));}}[_0x1e277(0x1be)](){var _0x5ac0e2=_0x1e277,_0x761c01;(_0x761c01=this['_localCacheService'])==null||_0x761c01[_0x5ac0e2(0x286)](this[_0x5ac0e2(0x3c8)],this[_0x5ac0e2(0x1f6)],this['_awaitingChangeset'],this[_0x5ac0e2(0x2b7)]);}[_0x1e277(0x229)](){var _0x48e5bb=_0x1e277;return this[_0x48e5bb(0x2ec)][_0x48e5bb(0x386)](this[_0x48e5bb(0x3c8)]);}['_incrementRevisionNumber'](){var _0x201c8f=_0x1e277;this['_revisionService'][_0x201c8f(0x419)](this[_0x201c8f(0x3c8)]);}[_0x1e277(0x476)](_0x3a6123){var _0x2ad354=_0x1e277,_0x1d2e57;let _0x4a7ed7=this['_transformRemoteChangesetByIMECache'](_0x3a6123);_0x4a7ed7=this['_transformRemoteChangesetByStateCache'](_0x4a7ed7);const _0x30c43a=_0x51be05(_0x4a7ed7[_0x2ad354(0x35b)],this[_0x2ad354(0x1b1)],{'fromCollab':!0x0});if(!_0x30c43a['result'])throw _0x30c43a['error']instanceof Error?_0x30c43a['error']:new Error((_0x1d2e57=_0x30c43a[_0x2ad354(0x1ac)])!=null?_0x1d2e57:'[CollaborationState]:\x20apply\x20error!');this[_0x2ad354(0x453)](_0x4a7ed7),this[_0x2ad354(0x424)](_0x4a7ed7),this[_0x2ad354(0x39f)](_0x3a6123),this['_transformSelections'](_0x4a7ed7),this['_syncEditingCollabCursor'](_0x4a7ed7),this[_0x2ad354(0x3dc)]();}}let Ne=class extends Ce{constructor(_0x20ed29,_0x2fb18b,_0x470685,_0x3e780a,_0x110b72,_0xb1b241,_0x1493a9,_0x11214d,_0x396935,_0x50b81e){var _0x272a49=_0x1e277;super(_0x20ed29,_0x2fb18b,null,[],_0x470685,_0x1493a9,_0xb1b241,_0x3e780a,_0x50b81e),N(this,'status',_0x272a49(0x24b)),(this['_injector']=_0x110b72,this['_logService']=_0x11214d,this['_transformService']=_0x396935,this[_0x272a49(0x345)]=_0x50b81e);}['appendMutation'](_0x52597a){var _0x379369=_0x1e277;const _0x56f4d6=this[_0x379369(0x445)][_0x379369(0x20d)](oe,this[_0x379369(0x3c8)],this['type'],[_0x52597a],this[_0x379369(0x200)]);return _0x56f4d6['_schedule'](),_0x56f4d6[_0x379369(0x1be)](),_0x56f4d6;}[_0x1e277(0x3f4)](_0x555338){var _0x7d8433=_0x1e277;if(this[_0x7d8433(0x367)](_0x555338))return this['_injector'][_0x7d8433(0x20d)](ee,this[_0x7d8433(0x3c8)],this[_0x7d8433(0x1f6)],null,[],null,[_0x555338],this['_handler']);try{const _0x6d2297=this['_transformService']['transformMutationsWithChangeset'](_0x555338,[nn]);if(_0x38aba5(_0x6d2297)){const {c1Prime:_0x432b71}=_0x6d2297;return this[_0x7d8433(0x476)](_0x432b71),this;}throw _0x6d2297[_0x7d8433(0x1ac)];}catch(_0x17297a){return this[_0x7d8433(0x475)][_0x7d8433(0x1ac)](_0x17297a),this['_onConflict'](!0x1);}}[_0x1e277(0x2e3)](_0x3e73dd){var _0x21db51=_0x1e277;return this[_0x21db51(0x445)][_0x21db51(0x20d)](ue,this['unitID'],this[_0x21db51(0x1f6)],null,[],this[_0x21db51(0x200)],_0x3e73dd);}['onRemoteAck'](){var _0x5cc9e6=_0x1e277;throw new Error(_0x5cc9e6(0x2ba));}['onRemoteRej'](){var _0x1caa2e=_0x1e277;throw new Error(_0x1caa2e(0x2c9));}[_0x1e277(0x376)](){return this;}[_0x1e277(0x471)](){var _0x2b7662=_0x1e277;return this[_0x2b7662(0x445)][_0x2b7662(0x20d)](de,this['unitID'],this['type'],null,[],this[_0x2b7662(0x200)]);}[_0x1e277(0x403)](){return this;}[_0x1e277(0x1f1)](){var _0x4f1d4d=_0x1e277;throw new Error(_0x4f1d4d(0x3a6));}[_0x1e277(0x410)](){var _0x1055c4=_0x1e277;const _0x3e9411=this[_0x1055c4(0x2ec)][_0x1055c4(0x386)](this['unitID']);return this[_0x1055c4(0x200)][_0x1055c4(0x3a0)]({'from':_0x3e9411,'to':0x0}),this[_0x1055c4(0x445)][_0x1055c4(0x20d)](ee,this[_0x1055c4(0x3c8)],this[_0x1055c4(0x1f6)],null,[],null,[],this[_0x1055c4(0x200)]);}};Ne=Te([P(0x3,_0x92794a(_0x3729a8)),P(0x4,_0x92794a(_0x222b43)),P(0x5,_0x708bf5),P(0x6,_0x33ed32),P(0x7,_0x431844),P(0x8,_0x3b9f1a),P(0x9,_0x1c6146(J))],Ne);let oe=class extends Ce{constructor(_0x5459e3,_0x1c3ede,_0x141758,_0x7baf2,_0x5b785c,_0x3f58aa,_0x1c890b,_0x2e15ed,_0x1393f6,_0x57a73c,_0x75b4ff,_0x1d8817,_0x42ee5d,_0x529814){var _0x575d10=_0x1e277;super(_0x5459e3,_0x1c3ede,null,_0x141758,_0x7baf2,_0x1393f6,_0x42ee5d,_0x3f58aa,_0x529814),N(this,_0x575d10(0x2e5),_0x575d10(0x39c)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x575d10(0x468),null),(this[_0x575d10(0x445)]=_0x5b785c,this[_0x575d10(0x470)]=_0x1c890b,this[_0x575d10(0x475)]=_0x2e15ed,this[_0x575d10(0x47c)]=_0x57a73c,this[_0x575d10(0x418)]=_0x75b4ff,this[_0x575d10(0x2b0)]=_0x1d8817);}['appendMutation'](_0x333c68){var _0x575597=_0x1e277;return this[_0x575597(0x2b7)][_0x575597(0x282)](_0x333c68),this[_0x575597(0x1be)](),this;}[_0x1e277(0x3f4)](_0x59fdc5){var _0x26881c=_0x1e277;if(this[_0x26881c(0x367)](_0x59fdc5))return this[_0x26881c(0x281)](),this[_0x26881c(0x445)][_0x26881c(0x20d)](ee,this['unitID'],this[_0x26881c(0x1f6)],null,this['_pendingMutations'],null,[_0x59fdc5],this['_handler']);try{const _0x5b692c=this[_0x26881c(0x418)][_0x26881c(0x3a7)](_0x59fdc5,this[_0x26881c(0x2b7)]);if(_0x38aba5(_0x5b692c)){const {c1Prime:_0x52a4fc,m2Prime:_0x5d5a40}=_0x5b692c;this['_executeRemoteChangeset'](_0x52a4fc);const _0x5a0bab=this[_0x26881c(0x445)][_0x26881c(0x20d)](oe,this['unitID'],this[_0x26881c(0x1f6)],_0x5d5a40,this[_0x26881c(0x200)]);this[_0x26881c(0x281)]();const _0xc47ad9=new Date()[_0x26881c(0x254)](),_0x448527=this[_0x26881c(0x473)]?Math['max'](this[_0x26881c(0x473)]-_0xc47ad9,0x0):this[_0x26881c(0x3b1)]();return _0x5a0bab[_0x26881c(0x498)](_0x448527),_0x5a0bab;}throw _0x5b692c[_0x26881c(0x1ac)];}catch(_0x42615e){return this[_0x26881c(0x475)]['error'](_0x42615e),this[_0x26881c(0x2e3)](!0x1);}}[_0x1e277(0x2ca)](){var _0x4b8e9c=_0x1e277;throw new Error(_0x4b8e9c(0x480));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1e277(0x376)](){return this;}[_0x1e277(0x471)](){var _0x2aaab6=_0x1e277;return this[_0x2aaab6(0x281)](),this['_injector']['createInstance'](de,this[_0x2aaab6(0x3c8)],this['type'],null,this[_0x2aaab6(0x2b7)],this[_0x2aaab6(0x200)]);}[_0x1e277(0x403)](){return this;}[_0x1e277(0x498)](_0x125dd1){var _0x524ae9=_0x1e277;const _0x39a6a8=_0x125dd1!=null?_0x125dd1:this[_0x524ae9(0x3b1)]();this[_0x524ae9(0x473)]=new Date()[_0x524ae9(0x254)]()+_0x39a6a8,this['_sendingTimer']=setTimeout(()=>{var _0x3e2a3a=_0x524ae9;this[_0x3e2a3a(0x281)]();let _0x1d92ec=null;switch(this[_0x3e2a3a(0x1f6)]){case Q[_0x3e2a3a(0x221)]:{_0x1d92ec=qt(this[_0x3e2a3a(0x2b7)],this[_0x3e2a3a(0x3c8)],this[_0x3e2a3a(0x2b0)],this[_0x3e2a3a(0x2ec)],this[_0x3e2a3a(0x470)]);break;}case Q[_0x3e2a3a(0x202)]:{this['_pendingMutations'][_0x3e2a3a(0x466)](_0x5cce6d=>_0x5cce6d['id']===_0x4aca7a['id'])?_0x1d92ec=rn(this[_0x3e2a3a(0x2b7)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x3e2a3a(0x470)]):_0x1d92ec=qt(this[_0x3e2a3a(0x2b7)],this[_0x3e2a3a(0x3c8)],this[_0x3e2a3a(0x2b0)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x3e2a3a(0x487)+this[_0x3e2a3a(0x1f6)]+_0x3e2a3a(0x2f3));}const {changeset:_0xa8a66c,pendingMutations:_0x2d4254}=_0x1d92ec;this[_0x3e2a3a(0x200)][_0x3e2a3a(0x400)](_0xa8a66c);const _0x291f26=_0x2d4254['length']?this[_0x3e2a3a(0x445)]['createInstance'](ae,this[_0x3e2a3a(0x3c8)],this['type'],_0xa8a66c,_0x2d4254,this[_0x3e2a3a(0x200)],void 0x0):this[_0x3e2a3a(0x445)][_0x3e2a3a(0x20d)](le,this['unitID'],this['type'],_0xa8a66c,this['_handler']);_0x291f26[_0x3e2a3a(0x1be)](),this[_0x3e2a3a(0x200)][_0x3e2a3a(0x3ad)](this,_0x291f26);},_0x39a6a8);}['_getSendChangesetTimeout'](){var _0x481030=_0x1e277,_0x3a539d;const _0x5bb43a=this[_0x481030(0x47c)][_0x481030(0x457)](q);return(_0x3a539d=_0x5bb43a==null?void 0x0:_0x5bb43a['sendChangesetTimeout'])!=null?_0x3a539d:Sr;}[_0x1e277(0x1f1)](){var _0x23eef4=_0x1e277;throw new Error(_0x23eef4(0x3d7));}[_0x1e277(0x281)](){var _0x32fe9f=_0x1e277;this['_sendingTimer']!=null&&(clearTimeout(this[_0x32fe9f(0x468)]),this['_sendingTimer']=null);}[_0x1e277(0x2e3)](_0x57f97a){var _0x301efa=_0x1e277;return this[_0x301efa(0x281)](),this[_0x301efa(0x445)]['createInstance'](ue,this[_0x301efa(0x3c8)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x57f97a);}};oe=Te([P(0x4,_0x92794a(_0x222b43)),P(0x5,_0x92794a(_0x3729a8)),P(0x6,_0x92794a(xe)),P(0x7,_0x431844),P(0x8,_0x33ed32),P(0x9,_0x2e8183),P(0xa,_0x3b9f1a),P(0xb,_0x50afd8),P(0xc,_0x708bf5),P(0xd,_0x1c6146(J))],oe);let le=class extends Ce{constructor(_0x30df78,_0x110230,_0x419e51,_0x437c7b,_0x43a9c3,_0x1975a9,_0x4c4e78,_0x5b5801,_0x4f3d19,_0x237ed8,_0x427d70){var _0x4eb0b1=_0x1e277;super(_0x30df78,_0x110230,_0x419e51,[],_0x437c7b,_0x4c4e78,_0x237ed8,_0x1975a9,_0x427d70),N(this,_0x4eb0b1(0x2e5),_0x4eb0b1(0x24c)),N(this,_0x4eb0b1(0x455),0x0),N(this,_0x4eb0b1(0x227)),N(this,_0x4eb0b1(0x47f)),(this[_0x4eb0b1(0x445)]=_0x43a9c3,this[_0x4eb0b1(0x475)]=_0x5b5801,this['_transformService']=_0x4f3d19);}[_0x1e277(0x47b)](_0x9bd132){var _0x5eb8e0=_0x1e277;this['_clearScheduledTask']();const _0x51b86b=this['_injector'][_0x5eb8e0(0x20d)](ae,this[_0x5eb8e0(0x3c8)],this[_0x5eb8e0(0x1f6)],this[_0x5eb8e0(0x262)],[_0x9bd132],this[_0x5eb8e0(0x200)],this['_resendTimer']);return _0x51b86b[_0x5eb8e0(0x1be)](),_0x51b86b;}[_0x1e277(0x3f4)](_0xc6afaf){var _0x1d5e76=_0x1e277;if(this[_0x1d5e76(0x367)](_0xc6afaf))return this[_0x1d5e76(0x281)](),this[_0x1d5e76(0x445)][_0x1d5e76(0x20d)](ee,this[_0x1d5e76(0x3c8)],this['type'],this[_0x1d5e76(0x262)],[],null,[_0xc6afaf],this[_0x1d5e76(0x200)]);try{const _0x1e382b=this[_0x1d5e76(0x418)][_0x1d5e76(0x41f)]([_0xc6afaf],[this['_awaitingChangeset']],!0x1);if(_0x44887f(_0x1e382b)){const {c1Prime:_0x35d5bf,c2Prime:_0x4fca74}=_0x1e382b;this[_0x1d5e76(0x476)](_0x35d5bf[0x0]),_0x4fca74[0x0][_0x1d5e76(0x443)]=this[_0x1d5e76(0x229)](),this['_clearScheduledTask']();const _0x483553=this['_injector'][_0x1d5e76(0x20d)](le,this[_0x1d5e76(0x3c8)],this[_0x1d5e76(0x1f6)],_0x4fca74[0x0],this['_handler']);return _0x483553['_updateLocalCache'](),_0x483553;}return this[_0x1d5e76(0x2e3)](!0x1);}catch(_0x1dad19){return this[_0x1d5e76(0x475)]['error'](_0x1dad19),this[_0x1d5e76(0x2e3)](!0x1);}}[_0x1e277(0x2ca)](_0x19ac2c){var _0x5aa5c9=_0x1e277;this['_clearScheduledTask']();const _0x1ac95f=this[_0x5aa5c9(0x2ec)]['getCurrentRevOfUnit'](this['unitID']);if(_0x19ac2c[_0x5aa5c9(0x2aa)]<_0x1ac95f-0x1)return this;if(this[_0x5aa5c9(0x367)](_0x19ac2c))return this[_0x5aa5c9(0x445)]['createInstance'](ee,this[_0x5aa5c9(0x3c8)],this[_0x5aa5c9(0x1f6)],null,[],this[_0x5aa5c9(0x262)],[],this['_handler']);this[_0x5aa5c9(0x3dc)]();const _0x40364d=this['_injector'][_0x5aa5c9(0x20d)](Ne,this['unitID'],this[_0x5aa5c9(0x1f6)],this[_0x5aa5c9(0x200)]);return _0x40364d[_0x5aa5c9(0x1be)](),_0x40364d;}[_0x1e277(0x263)](_0x5d0086){var _0x216313=_0x1e277;return this[_0x216313(0x2e3)](!!(_0x5d0086!=null&&_0x5d0086[_0x216313(0x2d8)]));}[_0x1e277(0x376)](_0x41d120){var _0x30e53b=_0x1e277;return this[_0x30e53b(0x455)]>yi?this[_0x30e53b(0x471)]():(this['_resendTimer']=Ri(this[_0x30e53b(0x455)],{'timeout':this[_0x30e53b(0x455)],'reqId':_0x41d120[_0x30e53b(0x40e)]}),this[_0x30e53b(0x47f)]=this[_0x30e53b(0x227)][_0x30e53b(0x1f0)](({reqId:_0x1936a2,timeout:_0x5e9ebe})=>{this['_resendWithTimeout'](_0x1936a2,_0x5e9ebe);}),this);}[_0x1e277(0x471)](){var _0x16cfa4=_0x1e277;return this[_0x16cfa4(0x281)](),this['_injector'][_0x16cfa4(0x20d)](de,this[_0x16cfa4(0x3c8)],this[_0x16cfa4(0x1f6)],this[_0x16cfa4(0x262)],[],this[_0x16cfa4(0x200)]);}[_0x1e277(0x403)](){return this;}[_0x1e277(0x1f1)](){var _0x4fa68a=_0x1e277;this[_0x4fa68a(0x200)][_0x4fa68a(0x400)](this['_awaitingChangeset']);}['_onConflict'](_0xdb6e5b){var _0x43dbaf=_0x1e277;return this[_0x43dbaf(0x281)](),this[_0x43dbaf(0x445)][_0x43dbaf(0x20d)](ue,this[_0x43dbaf(0x3c8)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0xdb6e5b);}[_0x1e277(0x3ae)](_0x36178f,_0x1ec242){var _0x459f0f=_0x1e277,_0x1fb82c;_0x36178f===((_0x1fb82c=this[_0x459f0f(0x262)])==null?void 0x0:_0x1fb82c[_0x459f0f(0x40e)])&&(this[_0x459f0f(0x1f1)](),this[_0x459f0f(0x455)]=_0x1ec242===0x0?0x3e8:_0x1ec242*0x2);}[_0x1e277(0x281)](){var _0x84a41d=_0x1e277,_0xfad32b;(_0xfad32b=this[_0x84a41d(0x47f)])==null||_0xfad32b[_0x84a41d(0x2b8)](),this[_0x84a41d(0x455)]=0x0;}};le=Te([P(0x4,_0x92794a(_0x222b43)),P(0x5,_0x92794a(_0x3729a8)),P(0x6,_0x33ed32),P(0x7,_0x431844),P(0x8,_0x3b9f1a),P(0x9,_0x708bf5),P(0xa,_0x1c6146(J))],le);let ae=class extends Ce{constructor(_0x1e18fa,_0x1a5fc7,_0x997a2,_0x12fae8,_0x5d0ee9,_0x25bec4,_0x5b3f63,_0x30ac55,_0x25cf5f,_0x2e79e3,_0x5418cb,_0x43e153,_0x3ce37c){var _0x304658=_0x1e277;super(_0x1e18fa,_0x1a5fc7,_0x997a2,_0x12fae8,_0x5d0ee9,_0x25cf5f,_0x43e153,_0x30ac55,_0x3ce37c),N(this,_0x304658(0x2e5),_0x304658(0x304)),N(this,_0x304658(0x455),0x0),N(this,'_resendTimer'),N(this,_0x304658(0x47f)),(this[_0x304658(0x445)]=_0x5b3f63,this[_0x304658(0x475)]=_0x2e79e3,this[_0x304658(0x418)]=_0x5418cb,this[_0x304658(0x345)]=_0x3ce37c,_0x25bec4&&(this[_0x304658(0x227)]=_0x25bec4,this[_0x304658(0x47f)]=this['_resendTimer'][_0x304658(0x1f0)](({reqId:_0x5e820c,timeout:_0x393958})=>{var _0x8d1efa=_0x304658;this[_0x8d1efa(0x3ae)](_0x5e820c,_0x393958);})));}[_0x1e277(0x47b)](_0xe49fb3){var _0x4ef218=_0x1e277;return this[_0x4ef218(0x2b7)]['push'](_0xe49fb3),this;}[_0x1e277(0x3f4)](_0x4f94d2){var _0x2470c7=_0x1e277;if(this[_0x2470c7(0x367)](_0x4f94d2))return this['_clearScheduledTask'](),this[_0x2470c7(0x445)][_0x2470c7(0x20d)](ee,this[_0x2470c7(0x3c8)],this[_0x2470c7(0x1f6)],this[_0x2470c7(0x262)],this[_0x2470c7(0x2b7)],null,[_0x4f94d2],this['_handler']);try{const _0x31b1f9=this[_0x2470c7(0x418)][_0x2470c7(0x41f)]([_0x4f94d2],[this['_awaitingChangeset']],!0x1);if(_0x44887f(_0x31b1f9)){const {c1Prime:_0x159585,c2Prime:_0x48733d}=_0x31b1f9,_0x15295c=this['_transformService']['transformMutationsWithChangeset'](_0x159585[0x0],this[_0x2470c7(0x2b7)]);if(_0x38aba5(_0x15295c)){const {c1Prime:_0x2cd1bb,m2Prime:_0x3ef678}=_0x15295c;return this[_0x2470c7(0x476)](_0x2cd1bb),_0x48733d[0x0][_0x2470c7(0x443)]=this[_0x2470c7(0x229)](),this['_clearScheduledTask'](),this[_0x2470c7(0x445)]['createInstance'](ae,this[_0x2470c7(0x3c8)],this[_0x2470c7(0x1f6)],_0x48733d[0x0],_0x3ef678,this['_handler'],void 0x0);}throw _0x15295c[_0x2470c7(0x1ac)];}throw _0x31b1f9[_0x2470c7(0x1ac)];}catch(_0x38463f){return this[_0x2470c7(0x475)]['error'](_0x38463f),this[_0x2470c7(0x2e3)](!0x1);}}['onRemoteAck'](_0x36d748){var _0x3173d6=_0x1e277;if(this[_0x3173d6(0x281)](),this['_checkMissing'](_0x36d748))return this['_injector']['createInstance'](ee,this[_0x3173d6(0x3c8)],this['type'],null,this[_0x3173d6(0x2b7)],this[_0x3173d6(0x262)],[],this[_0x3173d6(0x200)]);this[_0x3173d6(0x3dc)]();const _0x49dfe0=this['_injector'][_0x3173d6(0x20d)](oe,this[_0x3173d6(0x3c8)],this[_0x3173d6(0x1f6)],this[_0x3173d6(0x2b7)],this[_0x3173d6(0x200)]);return _0x49dfe0[_0x3173d6(0x498)](),_0x49dfe0[_0x3173d6(0x1be)](),_0x49dfe0;}['onRemoteRej'](_0x46c8b){var _0x2c671c=_0x1e277;return this[_0x2c671c(0x2e3)](!!(_0x46c8b!=null&&_0x46c8b[_0x2c671c(0x2d8)]));}[_0x1e277(0x376)](_0x4163c4){var _0x4f5e0e=_0x1e277;return this[_0x4f5e0e(0x455)]>yi?this[_0x4f5e0e(0x471)]():(this[_0x4f5e0e(0x227)]=Ri(this['_resendTimeout'],{'timeout':this[_0x4f5e0e(0x455)],'reqId':_0x4163c4['reqId']}),this[_0x4f5e0e(0x47f)]=this['_resendTimer']['subscribe'](({reqId:_0x1e3574,timeout:_0x2ed7b2})=>{var _0x1fa46a=_0x4f5e0e;this[_0x1fa46a(0x3ae)](_0x1e3574,_0x2ed7b2);}),this);}['toggleOffline'](){var _0x334966=_0x1e277;return this[_0x334966(0x281)](),this[_0x334966(0x445)]['createInstance'](de,this['unitID'],this[_0x334966(0x1f6)],this['_awaitingChangeset'],this[_0x334966(0x2b7)],this[_0x334966(0x200)]);}['toggleOnline'](){return this;}['resend'](){var _0x2c5d52=_0x1e277;this['_handler']['onSendChangeset'](this[_0x2c5d52(0x262)]);}[_0x1e277(0x2e3)](_0x290c93){var _0xfbdeb4=_0x1e277;return this[_0xfbdeb4(0x281)](),this[_0xfbdeb4(0x445)][_0xfbdeb4(0x20d)](ue,this['unitID'],this[_0xfbdeb4(0x1f6)],null,this['_pendingMutations'],this[_0xfbdeb4(0x200)],_0x290c93);}[_0x1e277(0x3ae)](_0x60632c,_0x120136){var _0x15b897=_0x1e277,_0x16648b;_0x60632c===((_0x16648b=this['_awaitingChangeset'])==null?void 0x0:_0x16648b[_0x15b897(0x40e)])&&(this['resend'](),this['_resendTimeout']=_0x120136===0x0?0x3e8:_0x120136*0x2);}['_clearScheduledTask'](){var _0x276d5c=_0x1e277,_0xb22747;(_0xb22747=this[_0x276d5c(0x47f)])==null||_0xb22747[_0x276d5c(0x2b8)](),this['_resendTimeout']=0x0;}};ae=Te([P(0x6,_0x92794a(_0x222b43)),P(0x7,_0x92794a(_0x3729a8)),P(0x8,_0x33ed32),P(0x9,_0x431844),P(0xa,_0x3b9f1a),P(0xb,_0x708bf5),P(0xc,_0x1c6146(J))],ae);let ue=class extends Ce{constructor(_0x39c7a4,_0x1b4ac8,_0x2f990f,_0x12ea03,_0x546baa,_0x207e3a=!0x1,_0x276e39,_0x3e0570,_0x3ec424,_0x4ef309,_0x5871c6,_0x3b36e4,_0x3637cf){var _0x19759d=_0x1e277;super(_0x39c7a4,_0x1b4ac8,_0x2f990f,_0x12ea03,_0x546baa,_0x3e0570,_0x3ec424,_0x4ef309,_0x3637cf),N(this,_0x19759d(0x2e5),'conflict'),(this[_0x19759d(0x2f4)]=_0x207e3a,this[_0x19759d(0x492)]=_0x276e39,this[_0x19759d(0x2e8)]=_0x5871c6,this[_0x19759d(0x1af)]=_0x3b36e4,this[_0x19759d(0x345)]=_0x3637cf,this[_0x19759d(0x1ce)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x1e277(0x47b)](){return this;}[_0x1e277(0x3f4)](){return this;}[_0x1e277(0x2ca)](){return this;}[_0x1e277(0x263)](){return this;}['onRemoteRetry'](){return this;}[_0x1e277(0x471)](){return this;}[_0x1e277(0x403)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1e277(0x317)](){var _0x38582a=_0x1e277,_0x449e7e;(_0x449e7e=this[_0x38582a(0x343)])==null||_0x449e7e['updateOfflineData'](this[_0x38582a(0x3c8)],this[_0x38582a(0x1f6)],null,[]);}[_0x1e277(0x1ce)](){var _0x1304fe=_0x1e277;this[_0x1304fe(0x2f4)]?this['_collaborationUIEventService'][_0x1304fe(0x465)]({'id':se[_0x1304fe(0x2a1)]}):this[_0x1304fe(0x1af)][_0x1304fe(0x465)]({'id':se['CONFLICT']});}[_0x1e277(0x3cf)](){var _0x2974e=_0x1e277;this[_0x2974e(0x492)][_0x2974e(0x22c)](new _0x291135(this[_0x2974e(0x3c8)])['id'],!0x1);}};ue=Te([P(0x6,_0x92794a(_0x4e912c)),P(0x7,_0x33ed32),P(0x8,_0x708bf5),P(0x9,_0x92794a(_0x3729a8)),P(0xa,_0x92794a(_0x2c1e5d)),P(0xb,_0x92794a(pe)),P(0xc,_0x1c6146(J))],ue);let de=class extends Ce{constructor(_0x2da414,_0x2802f8,_0x27c5e2,_0x18d14e,_0x380b9d,_0x1394cd,_0x29afaa,_0x2afecd,_0x360f8b,_0x5470e5){var _0x458db3=_0x1e277;super(_0x2da414,_0x2802f8,_0x27c5e2,_0x18d14e,_0x380b9d,_0x2afecd,_0x360f8b,_0x29afaa,_0x5470e5),N(this,'status','offline'),this[_0x458db3(0x445)]=_0x1394cd;}[_0x1e277(0x47b)](_0x2d70c5){var _0x15d06d=_0x1e277;return this[_0x15d06d(0x2b7)][_0x15d06d(0x282)](_0x2d70c5),this[_0x15d06d(0x1be)](),this;}['onRemoteChangeset'](_0x470d70){var _0x2ecf68=_0x1e277;throw new Error(_0x2ecf68(0x2f8));}[_0x1e277(0x2ca)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1e277(0x263)](){var _0xb82988=_0x1e277;throw new Error(_0xb82988(0x3a4));}[_0x1e277(0x376)](){return this;}[_0x1e277(0x471)](){return this;}['toggleOnline'](){var _0x2b3a95=_0x1e277;const {_injector:_0x5bd462,_pendingMutations:_0x281142,_awaitingChangeset:_0x358877,unitID:_0x23b7a2,_handler:_0x5a9c84,type:_0x15d61b}=this,_0x201b11=Oi(_0x5bd462,_0x23b7a2,_0x15d61b,_0x358877,_0x281142,_0x5a9c84);return _0x201b11 instanceof oe?_0x201b11['_schedule']():(_0x201b11 instanceof ae||_0x201b11 instanceof le)&&_0x201b11[_0x2b3a95(0x1f1)](),_0x201b11;}['resend'](){var _0x6b32ac=_0x1e277;throw new Error(_0x6b32ac(0x3af));}};de=Te([P(0x5,_0x92794a(_0x222b43)),P(0x6,_0x92794a(_0x3729a8)),P(0x7,_0x33ed32),P(0x8,_0x708bf5),P(0x9,_0x1c6146(J))],de);let ee=class extends Ce{constructor(_0x228a96,_0x2a1560,_0x467308,_0x159e6f,_0x27fbf3,_0x5701ba,_0x56e0c1,_0x591398,_0x31a366,_0x4c6eef,_0x1aa476,_0x4c894f,_0x707987,_0xda9dba){var _0x1ea88e=_0x1e277;super(_0x228a96,_0x2a1560,_0x467308,_0x159e6f,_0x56e0c1,_0x1aa476,_0x4c894f,_0x31a366,_0xda9dba),N(this,_0x1ea88e(0x2e5),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x27fbf3,this['_queuedRemoteChangesets']=_0x5701ba,this[_0x1ea88e(0x445)]=_0x591398,this[_0x1ea88e(0x475)]=_0x4c6eef,this['_transformService']=_0x707987,this[_0x1ea88e(0x345)]=_0xda9dba);}[_0x1e277(0x38e)](_0x483886){var _0x336234=_0x1e277;try{const _0x2b246e=[..._0x483886,...this[_0x336234(0x37c)]],_0x4cdea6=[this[_0x336234(0x262)]||this[_0x336234(0x456)]][_0x336234(0x49e)](_0x2383a2=>!!_0x2383a2);let _0x262116,_0x12ce81;if(_0x4cdea6['length']){const _0x1178f0=this[_0x336234(0x418)][_0x336234(0x41f)](_0x2b246e,_0x4cdea6,!0x1);if(!_0x44887f(_0x1178f0))throw _0x1178f0[_0x336234(0x1ac)];_0x262116=_0x1178f0['c1Prime'],_0x12ce81=_0x1178f0[_0x336234(0x2c1)];}else _0x262116=_0x2b246e,_0x12ce81=[];let _0x13e786=this[_0x336234(0x2b7)];_0x262116[_0x336234(0x436)](_0x15577d=>{var _0x438b5f=_0x336234;let _0x141cd3;if(_0x13e786['length']){const _0x5a1d04=this['_transformService']['transformMutationsWithChangeset'](_0x15577d,_0x13e786);if(!_0x38aba5(_0x5a1d04))throw _0x5a1d04[_0x438b5f(0x1ac)];_0x141cd3=_0x5a1d04[_0x438b5f(0x20f)],_0x13e786=_0x5a1d04[_0x438b5f(0x1ad)];}else _0x141cd3=_0x15577d;this[_0x438b5f(0x476)](_0x141cd3);}),this[_0x336234(0x456)]&&this[_0x336234(0x3dc)](),this[_0x336234(0x262)]&&_0x12ce81['length']&&(_0x12ce81[0x0][_0x336234(0x443)]=this[_0x336234(0x229)]());let _0x23f1f5;if(this[_0x336234(0x262)]&&_0x13e786['length']!==0x0)_0x23f1f5=this[_0x336234(0x445)][_0x336234(0x20d)](ae,this[_0x336234(0x3c8)],this['type'],_0x12ce81[0x0],_0x13e786,this[_0x336234(0x200)],void 0x0);else{if(this['_awaitingChangeset']&&_0x13e786[_0x336234(0x3d8)]===0x0)_0x12ce81[0x0][_0x336234(0x443)]=this[_0x336234(0x229)](),_0x23f1f5=this[_0x336234(0x445)][_0x336234(0x20d)](le,this[_0x336234(0x3c8)],this['type'],_0x12ce81[0x0],this['_handler']);else{if(_0x13e786[_0x336234(0x3d8)]!==0x0){const _0x3324d4=this[_0x336234(0x445)][_0x336234(0x20d)](oe,this[_0x336234(0x3c8)],this[_0x336234(0x1f6)],_0x13e786,this['_handler']);_0x3324d4[_0x336234(0x498)](),_0x23f1f5=_0x3324d4;}else _0x23f1f5=this[_0x336234(0x445)][_0x336234(0x20d)](Ne,this[_0x336234(0x3c8)],this[_0x336234(0x1f6)],this[_0x336234(0x200)]);}}return _0x23f1f5[_0x336234(0x1be)](),_0x23f1f5;}catch(_0x5a4181){return this[_0x336234(0x475)][_0x336234(0x1ac)](_0x336234(0x344),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5a4181),this['_injector'][_0x336234(0x20d)](ue,this[_0x336234(0x3c8)],this[_0x336234(0x1f6)],this[_0x336234(0x262)],this[_0x336234(0x2b7)],this[_0x336234(0x200)],!0x1);}}[_0x1e277(0x1f1)](){var _0x48eecb=_0x1e277;throw new Error(_0x48eecb(0x336));}[_0x1e277(0x47b)](_0x123bcb){var _0x1960f1=_0x1e277;return this[_0x1960f1(0x2b7)]['push'](_0x123bcb),this;}[_0x1e277(0x3f4)](_0x659b99){var _0x1ad091=_0x1e277;return this['_queuedRemoteChangesets'][_0x1ad091(0x282)](_0x659b99),this;}[_0x1e277(0x2ca)](_0x2b8172){var _0x534811=_0x1e277;if(this['_awaitingChangeset'])return this[_0x534811(0x456)]=this[_0x534811(0x262)],this[_0x534811(0x262)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1e277(0x263)](_0x499fc5){var _0x39ea8a=_0x1e277;return this[_0x39ea8a(0x2e3)](!!(_0x499fc5!=null&&_0x499fc5['isPermissionRej']));}[_0x1e277(0x376)](){return this;}[_0x1e277(0x471)](){var _0xa97268=_0x1e277;return this[_0xa97268(0x445)][_0xa97268(0x20d)](de,this[_0xa97268(0x3c8)],this[_0xa97268(0x1f6)],this[_0xa97268(0x262)],this[_0xa97268(0x2b7)],this['_handler']);}[_0x1e277(0x403)](){return this;}['_onConflict'](_0x5644fa){var _0xe05ec9=_0x1e277;return this['_injector']['createInstance'](ue,this['unitID'],this[_0xe05ec9(0x1f6)],this['_awaitingChangeset'],this[_0xe05ec9(0x2b7)],this[_0xe05ec9(0x200)],_0x5644fa);}};ee=Te([P(0x7,_0x92794a(_0x222b43)),P(0x8,_0x92794a(_0x3729a8)),P(0x9,_0x431844),P(0xa,_0x33ed32),P(0xb,_0x708bf5),P(0xc,_0x3b9f1a),P(0xd,_0x1c6146(J))],ee);function Oi(_0x14aafd,_0x2a9ed2,_0x30633b,_0x3e7810,_0x57cb3d,_0x4cd6c9){var _0x528a83=_0x1e277;return _0x3e7810&&_0x57cb3d[_0x528a83(0x3d8)]?_0x14aafd[_0x528a83(0x20d)](ae,_0x2a9ed2,_0x30633b,_0x3e7810,_0x57cb3d,_0x4cd6c9,void 0x0):_0x3e7810?_0x14aafd[_0x528a83(0x20d)](le,_0x2a9ed2,_0x30633b,_0x3e7810,_0x4cd6c9):_0x57cb3d[_0x528a83(0x3d8)]?_0x14aafd['createInstance'](oe,_0x2a9ed2,_0x30633b,_0x57cb3d,_0x4cd6c9):_0x14aafd[_0x528a83(0x20d)](Ne,_0x2a9ed2,_0x30633b,_0x4cd6c9);}var on=Object[_0x1e277(0x2d7)],xt=(_0x5a4792,_0x2635d1,_0x3088a2,_0x57949b)=>{var _0x542347=_0x1e277;for(var _0x5692c6=_0x57949b>0x1?void 0x0:_0x57949b?on(_0x2635d1,_0x3088a2):_0x2635d1,_0x43506d=_0x5a4792[_0x542347(0x3d8)]-0x1,_0x1b7fb9;_0x43506d>=0x0;_0x43506d--)(_0x1b7fb9=_0x5a4792[_0x43506d])&&(_0x5692c6=_0x1b7fb9(_0x5692c6)||_0x5692c6);return _0x5692c6;},H=(_0x2dd7b8,_0x216c17)=>(_0x4dfe72,_0x4ff5f0)=>_0x216c17(_0x4dfe72,_0x4ff5f0,_0x2dd7b8);let rt=class extends _0xc2f0c0{constructor(_0x374376,_0x11b4e6,_0x342cba,_0x44a03d,_0xfe507f,_0x2ae900,_0x121bc7,_0x5df9ac,_0x30d576,_0x6497f4,_0x555fe2,_0x50828e,_0x274996){var _0x38711b=_0x1e277;super(),N(this,'_state$',new _0x2e2086(null)),N(this,_0x38711b(0x316),this[_0x38711b(0x2dc)][_0x38711b(0x2be)]()),N(this,_0x38711b(0x23e)),N(this,_0x38711b(0x43c),!0x1),N(this,_0x38711b(0x30d),''),N(this,_0x38711b(0x339),0x0),N(this,'status$',this['state$'][_0x38711b(0x1d3)](_0x257763(_0x279055=>_0x279055?_0x279055['status']:bi[_0x38711b(0x43b)]),_0x1740d4(0x1))),N(this,_0x38711b(0x48a),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x38711b(0x3c8)]=_0x374376,this[_0x38711b(0x214)]=_0x11b4e6,this['_type']=_0x342cba,this['_injector']=_0x44a03d,this[_0x38711b(0x3f8)]=_0xfe507f,this[_0x38711b(0x2e8)]=_0x2ae900,this[_0x38711b(0x2ec)]=_0x121bc7,this['_eventService']=_0x5df9ac,this[_0x38711b(0x475)]=_0x30d576,this['_commandService']=_0x6497f4,this['_permissionService']=_0x555fe2,this[_0x38711b(0x247)]=_0x50828e,this[_0x38711b(0x343)]=_0x274996);}get[_0x1e277(0x28c)](){var _0xf156ed=_0x1e277;return this[_0xf156ed(0x23e)];}async['init'](){var _0x2ea13e=_0x1e277;if(this['state'])throw new Error(_0x2ea13e(0x2ed));await this[_0x2ea13e(0x439)]();}[_0x1e277(0x49a)](){var _0x4f5261=_0x1e277;return this[_0x4f5261(0x43c)]=!0x0,_0x185a29(()=>{var _0x33540a=_0x4f5261;this['_collaborationPaused']=!0x1,this[_0x33540a(0x411)]();});}['onLocalMutation'](_0x4954c8){var _0x8ffea7=_0x1e277;this[_0x8ffea7(0x3c1)](_0x4954c8);}['_updateState'](_0x11434e){var _0x35b6a7=_0x1e277;this[_0x35b6a7(0x23e)]=_0x11434e,this[_0x35b6a7(0x2dc)]['next'](_0x11434e);}async[_0x1e277(0x439)](){var _0x529ef1=_0x1e277,_0x212c89;this['_updateState'](await this[_0x529ef1(0x1d0)]()),this[_0x529ef1(0x247)]&&((_0x212c89=this[_0x529ef1(0x247)])==null||_0x212c89[_0x529ef1(0x1f8)](this[_0x529ef1(0x3c8)]),this[_0x529ef1(0x406)](this[_0x529ef1(0x247)]['getUnitStatus$'](this[_0x529ef1(0x3c8)])[_0x529ef1(0x1f0)](_0x354caa=>{var _0x2fceec=_0x529ef1;this['_logService'][_0x2fceec(0x359)](_0x2fceec(0x305),_0x2fceec(0x1c9),_0x354caa),_0x354caa===Ci[_0x2fceec(0x298)]?(this[_0x2fceec(0x381)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x2fceec(0x492)][_0x2fceec(0x22c)](new _0x291135(this['unitID'])['id'],!0x1),this[_0x2fceec(0x492)]['setShowComponents'](!0x1)):(this[_0x2fceec(0x492)][_0x2fceec(0x22c)](new _0x291135(this[_0x2fceec(0x3c8)])['id'],!0x0),this[_0x2fceec(0x492)]['setShowComponents'](!0x0));})));let _0x1035da=!0x1;return this[_0x529ef1(0x406)](this[_0x529ef1(0x214)][_0x529ef1(0x2a0)][_0x529ef1(0x1f0)](_0x39bcac=>{var _0x41923f=_0x529ef1;_0x39bcac===Ee[_0x41923f(0x3bc)]?this[_0x41923f(0x36a)](_0x1035da):_0x39bcac===Ee[_0x41923f(0x43b)]&&(_0x1035da=!0x0,this['_toggleOffline']());})),this[_0x529ef1(0x406)](this[_0x529ef1(0x214)][_0x529ef1(0x24d)][_0x529ef1(0x1f0)](_0x3e67a2=>{var _0x50f0f1=_0x529ef1;try{switch(_0x3e67a2[_0x50f0f1(0x32d)]){case _0x56c2b4[_0x50f0f1(0x30c)]:{this[_0x50f0f1(0x22f)](_0x18faf6(_0x3e67a2['data']));break;}case _0x56c2b4[_0x50f0f1(0x3f1)]:{this[_0x50f0f1(0x3bd)](_0x3e67a2[_0x50f0f1(0x39e)]);break;}case _0x56c2b4['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x56c2b4[_0x50f0f1(0x385)]:{this[_0x50f0f1(0x1f2)](_0x3e67a2[_0x50f0f1(0x39e)]);break;}case _0x56c2b4[_0x50f0f1(0x4ac)]:{this[_0x50f0f1(0x1f3)](_0x3e67a2[_0x50f0f1(0x39e)][_0x50f0f1(0x481)][_0x50f0f1(0x273)](_0x2ed647=>_0x18faf6(_0x2ed647)));break;}case _0x56c2b4[_0x50f0f1(0x48e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x56c2b4[_0x50f0f1(0x495)]:break;}}catch(_0x24cd2c){throw console[_0x50f0f1(0x1ac)](_0x50f0f1(0x3f3),_0x24cd2c),_0x24cd2c;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x1e277(0x48c)](){var _0xfd52c5=_0x1e277;if(this[_0xfd52c5(0x48a)])throw new Error(_0xfd52c5(0x223));this[_0xfd52c5(0x48a)]=!0x0;}[_0x1e277(0x3c1)](_0x58c719){var _0x1dde68=_0x1e277;this['_lockTransition'](),this[_0x1dde68(0x394)](this['_state']['appendMutation'](_0x58c719)),this[_0x1dde68(0x38d)]();}[_0x1e277(0x22f)](_0x1adcf6){var _0x619f77=_0x1e277;if(!(_0x1adcf6['revision']<=this[_0x619f77(0x2ec)][_0x619f77(0x386)](this[_0x619f77(0x3c8)]))){if(this[_0x619f77(0x43c)]){this[_0x619f77(0x36e)][_0x619f77(0x282)](_0x1adcf6);return;}this[_0x619f77(0x2b1)](_0x1adcf6);}}['_exhaustRemoteChangesetQueue'](){var _0x4e11be=_0x1e277;this[_0x4e11be(0x36e)][_0x4e11be(0x436)](_0x29572b=>this[_0x4e11be(0x2b1)](_0x29572b)),this['_remoteChangesetQueue']=[];}[_0x1e277(0x2b1)](_0x4b88e3){var _0x344f90=_0x1e277;const _0x37bb0e=this[_0x344f90(0x3f8)][_0x344f90(0x236)]['fetchThroughInterceptors'](this[_0x344f90(0x3f8)][_0x344f90(0x236)][_0x344f90(0x41b)]()[_0x344f90(0x1e0)])(_0x4b88e3['mutations'],null)||_0x4b88e3[_0x344f90(0x35b)],_0x48754c={..._0x4b88e3,'mutations':_0x37bb0e};this[_0x344f90(0x48c)](),this[_0x344f90(0x394)](this[_0x344f90(0x23e)]['onRemoteChangeset'](_0x48754c)),this[_0x344f90(0x38d)]();}[_0x1e277(0x3bd)](_0x537d41){var _0x40307b=_0x1e277;this['_lockTransition'](),this['_updateState'](this[_0x40307b(0x23e)]['onRemoteAck'](_0x537d41)),this[_0x40307b(0x38d)]();}[_0x1e277(0x3fe)](_0x5ddffa){var _0x1455d4=_0x1e277;this[_0x1455d4(0x48c)](),this[_0x1455d4(0x394)](this['_state'][_0x1455d4(0x263)](_0x5ddffa)),this['_unlockTransition']();}[_0x1e277(0x1f2)](_0x2f8e6b){var _0x526810=_0x1e277;this[_0x526810(0x48c)](),this[_0x526810(0x394)](this['_state'][_0x526810(0x376)](_0x2f8e6b)),this[_0x526810(0x38d)]();}['_onFetchMissResult'](_0x2005e8){var _0x1b4c0c=_0x1e277;if(!(this[_0x1b4c0c(0x23e)]instanceof ee))throw new TypeError(_0x1b4c0c(0x355));const _0x49edf8=_0x2005e8[_0x1b4c0c(0x273)](_0x50585c=>{var _0x5e7171=_0x1b4c0c;const _0x2510c6=this[_0x5e7171(0x3f8)]['interceptor']['fetchThroughInterceptors'](this[_0x5e7171(0x3f8)][_0x5e7171(0x236)][_0x5e7171(0x41b)]()[_0x5e7171(0x1e0)])(_0x50585c[_0x5e7171(0x35b)],null)||_0x50585c[_0x5e7171(0x35b)];return{..._0x50585c,'mutations':_0x2510c6};});this['_lockTransition'](),this[_0x1b4c0c(0x394)](this[_0x1b4c0c(0x23e)][_0x1b4c0c(0x38e)](_0x49edf8)),this[_0x1b4c0c(0x38d)]();}[_0x1e277(0x42b)](){var _0x34f35c=_0x1e277;this[_0x34f35c(0x48c)](),this['_updateState'](this[_0x34f35c(0x23e)]['toggleOffline']()),this[_0x34f35c(0x38d)]();}[_0x1e277(0x36a)](_0x9b01c6=!0x1){var _0x109bd7=_0x1e277;this['_lockTransition'](),this[_0x109bd7(0x394)](this[_0x109bd7(0x23e)][_0x109bd7(0x403)]()),this[_0x109bd7(0x38d)]();const _0x182764=this[_0x109bd7(0x23e)];_0x9b01c6&&_0x182764 instanceof Ne&&(this[_0x109bd7(0x48c)](),this[_0x109bd7(0x394)](_0x182764[_0x109bd7(0x410)]()),this['_unlockTransition']());}async[_0x1e277(0x1d0)](){return new Promise(_0x1a2b69=>{var _0x420098=_0x4b30;this['session'][_0x420098(0x2a0)][_0x420098(0x1d3)](_0x444f59(0x1))[_0x420098(0x1f0)](async _0x39bd7c=>{var _0x281484=_0x420098;_0x1a2b69(await this[_0x281484(0x1b3)](_0x39bd7c===Ee[_0x281484(0x3bc)]));});});}[_0x1e277(0x256)](){var _0x358493=_0x1e277;const _0x554874=this[_0x358493(0x3c8)];return{'onStateChange':(_0x1d6b6d,_0x2f72f8)=>{var _0x348e1d=_0x358493;if(_0x1d6b6d!==this[_0x348e1d(0x23e)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1d6b6d[_0x348e1d(0x2e5)]+_0x348e1d(0x3f6)+_0x2f72f8[_0x348e1d(0x2e5)]+_0x348e1d(0x1dd)+this[_0x348e1d(0x23e)][_0x348e1d(0x2e5)]);this['_updateState'](_0x2f72f8);},'onSendChangeset':_0x2c234b=>{var _0x2ee3ce=_0x358493;_0x2c234b['sid']||(_0x2c234b[_0x2ee3ce(0x350)]=this[_0x2ee3ce(0x30d)],_0x2c234b[_0x2ee3ce(0x40e)]=++this[_0x2ee3ce(0x339)]);const _0x206aa7={'eventID':_0x56c2b4[_0x2ee3ce(0x250)],'data':{'unitID':_0x2c234b[_0x2ee3ce(0x3c8)],'unitType':this[_0x2ee3ce(0x3b3)],'changeset':_0x2c234b,'memberID':this[_0x2ee3ce(0x214)]['getMemberID']()}};this[_0x2ee3ce(0x214)][_0x2ee3ce(0x447)](_0x206aa7,this['unitID']);},'onMissingChangesets':({from:_0x5ef4f0,to:_0x32e104})=>{var _0x5c950a=_0x358493;this['_logService'][_0x5c950a(0x359)](_0x5c950a(0x305),_0x5c950a(0x2f5)+_0x5ef4f0+_0x5c950a(0x3ea)+_0x32e104);const _0xda5d69={'eventID':_0x56c2b4[_0x5c950a(0x34c)],'data':{'unitID':_0x554874,'unitType':this[_0x5c950a(0x3b3)],'from':_0x5ef4f0,'to':_0x32e104}};this[_0x5c950a(0x214)][_0x5c950a(0x447)](_0xda5d69,this[_0x5c950a(0x3c8)]);}};}async[_0x1e277(0x1b3)](_0x11a52c){var _0x4c25ed=_0x1e277,_0x38f504,_0x391182,_0x35a622;const _0xff647b=await((_0x38f504=this[_0x4c25ed(0x343)])==null?void 0x0:_0x38f504[_0x4c25ed(0x46a)](this[_0x4c25ed(0x3c8)])),_0x102f5c=(_0x391182=_0xff647b==null?void 0x0:_0xff647b[_0x4c25ed(0x35b)])!=null?_0x391182:[],_0x2c3ef9=(_0x35a622=_0xff647b==null?void 0x0:_0xff647b[_0x4c25ed(0x2d4)])!=null?_0x35a622:null,_0x43d982=!!(_0x2c3ef9!=null&&_0x2c3ef9[_0x4c25ed(0x350)])&&!!(_0x2c3ef9!=null&&_0x2c3ef9['reqId']);this[_0x4c25ed(0x30d)]=_0x43d982?_0x2c3ef9['sid']:Xr(),this[_0x4c25ed(0x339)]=_0x43d982?_0x2c3ef9[_0x4c25ed(0x40e)]:0x0;const _0x2db832=this[_0x4c25ed(0x3c8)];try{this[_0x4c25ed(0x45e)](_0x2c3ef9,_0x102f5c);}catch(_0x63b61f){this[_0x4c25ed(0x475)][_0x4c25ed(0x1ac)](_0x63b61f);}const _0x2b66d7=this['_createHandler']();if(_0x11a52c){const _0x20f418=Oi(this[_0x4c25ed(0x445)],_0x2db832,this['_type'],_0x2c3ef9,_0x102f5c,_0x2b66d7);return _0x20f418 instanceof oe?_0x20f418[_0x4c25ed(0x498)]():(_0x20f418 instanceof ae||_0x20f418 instanceof le)&&_0x20f418[_0x4c25ed(0x1f1)](),_0x20f418;}return this[_0x4c25ed(0x445)][_0x4c25ed(0x20d)](de,_0x2db832,this[_0x4c25ed(0x3b3)],_0x2c3ef9,_0x102f5c,_0x2b66d7);}[_0x1e277(0x45e)](_0x424040,_0x439e44){var _0x380ac3=_0x1e277,_0x3f27bd,_0x4591ee;const _0x2b761b=this[_0x380ac3(0x3f8)][_0x380ac3(0x236)]['fetchThroughInterceptors'](this[_0x380ac3(0x3f8)]['interceptor'][_0x380ac3(0x41b)]()['COMPRESS_MUTATION_APPLY']);(_0x3f27bd=_0x2b761b((_0x424040==null?void 0x0:_0x424040[_0x380ac3(0x35b)])||[],null))==null||_0x3f27bd['forEach'](_0x2601a0=>this[_0x380ac3(0x1b1)][_0x380ac3(0x22e)](_0x2601a0['id'],_0x2601a0[_0x380ac3(0x335)])),(_0x4591ee=_0x2b761b(_0x439e44||[],null))==null||_0x4591ee[_0x380ac3(0x436)](_0x1b08be=>this[_0x380ac3(0x1b1)][_0x380ac3(0x22e)](_0x1b08be['id'],_0x1b08be[_0x380ac3(0x335)]));}};rt=xt([H(0x3,_0x92794a(_0x222b43)),H(0x4,_0x92794a(_0x447678)),H(0x5,_0x92794a(_0x2c1e5d)),H(0x6,_0x92794a(_0x3729a8)),H(0x7,_0x92794a(pe)),H(0x8,_0x431844),H(0x9,_0x33ed32),H(0xa,_0x4e912c),H(0xb,_0x1c6146(ht)),H(0xc,_0x1c6146(J))],rt);let It=class extends rt{constructor(_0x1bd838,_0x3f4802,_0x10f279,_0xe8747,_0x3c64e3,_0x147df6,_0x1bc917,_0xf14b5b,_0x5be49a,_0x464b30,_0x5f4aae,_0x4f0d66,_0x306ac2){var _0x2e9d79=_0x1e277;super(_0x1bd838,_0x10f279,_0x3f4802,_0xe8747,_0x3c64e3,_0x147df6,_0x1bc917,_0xf14b5b,_0x5be49a,_0x464b30,_0x5f4aae,_0x4f0d66,_0x306ac2),N(this,_0x2e9d79(0x3df),null),(this[_0x2e9d79(0x3c8)]=_0x1bd838,this[_0x2e9d79(0x1f6)]=_0x3f4802);}[_0x1e277(0x358)](_0x528584){var _0x80589=_0x1e277;this[_0x80589(0x3df)]=_0x528584;}[_0x1e277(0x27e)](){var _0x488368=_0x1e277;this[_0x488368(0x3df)]=null,super[_0x488368(0x27e)]();}[_0x1e277(0x256)](){var _0x397157=_0x1e277;const _0x5e8398=super[_0x397157(0x256)]();return _0x5e8398[_0x397157(0x334)]=_0x63f17a=>{var _0x305f35=_0x397157,_0x3e6429,_0x47c0e7;return(_0x47c0e7=(_0x3e6429=this[_0x305f35(0x3df)])==null?void 0x0:_0x3e6429[_0x305f35(0x334)])==null?void 0x0:_0x47c0e7[_0x305f35(0x33a)](_0x3e6429,_0x63f17a);},_0x5e8398[_0x397157(0x310)]=_0x1a1caf=>{var _0x384a7e=_0x397157,_0x3ded7c,_0x32a7a3;return(_0x32a7a3=(_0x3ded7c=this['_handlerCallback'])==null?void 0x0:_0x3ded7c[_0x384a7e(0x310)])==null?void 0x0:_0x32a7a3[_0x384a7e(0x33a)](_0x3ded7c,_0x1a1caf);},_0x5e8398[_0x397157(0x284)]=_0x460dd5=>{var _0x5d01b4=_0x397157,_0x33cdd4,_0x1e601d;return(_0x1e601d=(_0x33cdd4=this[_0x5d01b4(0x3df)])==null?void 0x0:_0x33cdd4[_0x5d01b4(0x284)])==null?void 0x0:_0x1e601d[_0x5d01b4(0x33a)](_0x33cdd4,_0x460dd5);},_0x5e8398[_0x397157(0x365)]=_0x37f2e4=>{var _0x1af3e8=_0x397157,_0x22cc5d,_0x12642f;return(_0x12642f=(_0x22cc5d=this[_0x1af3e8(0x3df)])==null?void 0x0:_0x22cc5d[_0x1af3e8(0x365)])==null?void 0x0:_0x12642f[_0x1af3e8(0x33a)](_0x22cc5d,_0x37f2e4);},_0x5e8398['onTransformRemoteChangesetByIMECache']=_0x573bc7=>{var _0x31a6bb=_0x397157,_0x4a10a8,_0x2a0535,_0x4c2b66;if(!((_0x4a10a8=this['_handlerCallback'])!=null&&_0x4a10a8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x31a6bb(0x3a8));return(_0x4c2b66=(_0x2a0535=this['_handlerCallback'])==null?void 0x0:_0x2a0535[_0x31a6bb(0x4aa)])==null?void 0x0:_0x4c2b66[_0x31a6bb(0x33a)](_0x2a0535,_0x573bc7);},_0x5e8398[_0x397157(0x21c)]=_0xad9c4b=>{var _0x105ad9=_0x397157,_0x1527d3,_0x264861,_0xe9069d;if(!((_0x1527d3=this[_0x105ad9(0x3df)])!=null&&_0x1527d3[_0x105ad9(0x21c)]))throw new Error(_0x105ad9(0x3ee));return(_0xe9069d=(_0x264861=this['_handlerCallback'])==null?void 0x0:_0x264861[_0x105ad9(0x21c)])==null?void 0x0:_0xe9069d['call'](_0x264861,_0xad9c4b);},_0x5e8398;}async['_init'](){var _0x3760ed=_0x1e277;const _0x2a9463=await super['_init']();return this['disposeWithMe'](this[_0x3760ed(0x1b1)][_0x3760ed(0x354)]((_0x222e06,_0x31508c)=>{var _0x80f517=_0x3760ed;if(_0x222e06['type']!==_0x4215e7[_0x80f517(0x324)]||_0x31508c!=null&&_0x31508c[_0x80f517(0x1e8)]||_0x31508c!=null&&_0x31508c[_0x80f517(0x3a9)]||_0x222e06['id']===_0x4aca7a['id'])return;const _0x328d99=_0x222e06[_0x80f517(0x335)];if((_0x328d99==null?void 0x0:_0x328d99[_0x80f517(0x210)])!==this[_0x80f517(0x3c8)])return;const _0x4d654b=_0x222e06,_0x7290d5=this[_0x80f517(0x3f8)][_0x80f517(0x236)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x80f517(0x236)]['getInterceptPoints']()[_0x80f517(0x220)])([_0x4d654b],null)||[_0x4d654b];this[_0x80f517(0x3c1)](_0x7290d5[0x0]);})),_0x2a9463;}};It=xt([H(0x3,_0x92794a(_0x222b43)),H(0x4,_0x92794a(_0x447678)),H(0x5,_0x92794a(_0x2c1e5d)),H(0x6,_0x92794a(_0x3729a8)),H(0x7,_0x92794a(pe)),H(0x8,_0x431844),H(0x9,_0x33ed32),H(0xa,_0x4e912c),H(0xb,_0x1c6146(ht)),H(0xc,_0x1c6146(J))],It);let Tt=class extends rt{constructor(_0xa641a8,_0x26000e,_0xcbdcba,_0x35f38d,_0xc5250b,_0xb56264,_0x5ae268,_0x5cb9b1,_0x3ab2ee,_0x4fed4a,_0x47372f,_0x4e44ee,_0x2ad7a7,_0x5c35fe){var _0x2a50f1=_0x1e277;super(_0xa641a8,_0xcbdcba,_0x26000e,_0x35f38d,_0xc5250b,_0xb56264,_0x5ae268,_0x3ab2ee,_0x4fed4a,_0x47372f,_0x4e44ee,_0x2ad7a7,_0x5c35fe),this['unitID']=_0xa641a8,this['type']=_0x26000e,this[_0x2a50f1(0x1bf)]=_0x5cb9b1;}[_0x1e277(0x256)](){var _0x187182=_0x1e277;const _0x225653=super[_0x187182(0x256)]();return _0x225653[_0x187182(0x284)]=_0xa7ac35=>this['_sheetTransformSelectionsService']['transformSelections'](_0xa7ac35),_0x225653;}async['_init'](){var _0x3f6225=_0x1e277;const _0x488e89=await super[_0x3f6225(0x439)]();return this[_0x3f6225(0x406)](this[_0x3f6225(0x1b1)][_0x3f6225(0x354)]((_0x46915e,_0x3c76be)=>{var _0x2b90af=_0x3f6225;if(_0x46915e[_0x2b90af(0x1f6)]!==_0x4215e7[_0x2b90af(0x324)]||_0x3c76be!=null&&_0x3c76be[_0x2b90af(0x1e8)]||_0x3c76be!=null&&_0x3c76be[_0x2b90af(0x3a9)])return;const _0x57eab6=_0x46915e[_0x2b90af(0x335)];if((_0x57eab6==null?void 0x0:_0x57eab6[_0x2b90af(0x210)])!==this[_0x2b90af(0x3c8)])return;const _0x22940a=_0x46915e,_0x3e7e54=this[_0x2b90af(0x3f8)][_0x2b90af(0x236)][_0x2b90af(0x3d1)](this['_compressMutationService'][_0x2b90af(0x236)][_0x2b90af(0x41b)]()['COMPRESS_MUTATION_SEND'])([_0x22940a],null)||[_0x22940a];this[_0x2b90af(0x3c1)](_0x3e7e54[0x0]);})),_0x488e89;}};Tt=xt([H(0x3,_0x92794a(_0x222b43)),H(0x4,_0x92794a(_0x447678)),H(0x5,_0x92794a(_0x2c1e5d)),H(0x6,_0x92794a(_0x3729a8)),H(0x7,_0x92794a(it)),H(0x8,_0x92794a(pe)),H(0x9,_0x431844),H(0xa,_0x33ed32),H(0xb,_0x4e912c),H(0xc,_0x1c6146(ht)),H(0xd,_0x1c6146(J))],Tt);var an=Object[_0x1e277(0x2d7)],cn=(_0x5e2068,_0x1d04c6,_0xfd69dc,_0x3e20f3)=>{var _0x30ee98=_0x1e277;for(var _0x418a42=_0x3e20f3>0x1?void 0x0:_0x3e20f3?an(_0x1d04c6,_0xfd69dc):_0x1d04c6,_0x40f349=_0x5e2068[_0x30ee98(0x3d8)]-0x1,_0x4807c7;_0x40f349>=0x0;_0x40f349--)(_0x4807c7=_0x5e2068[_0x40f349])&&(_0x418a42=_0x4807c7(_0x418a42)||_0x418a42);return _0x418a42;},ft=(_0x2287f6,_0x38b9bd)=>(_0x544554,_0x4c0583)=>_0x38b9bd(_0x544554,_0x4c0583,_0x2287f6);let nt=class extends _0xc2f0c0{constructor(_0x156c50,_0x580c2e,_0x19af34){var _0x42ebe6=_0x1e277;super(),N(this,_0x42ebe6(0x26e),new Map()),N(this,'_entityInit$',new _0x41236f()),N(this,_0x42ebe6(0x369),this['_entityInit$'][_0x42ebe6(0x2be)]()),(this['_injector']=_0x156c50,this['_collabSessionService']=_0x580c2e,this[_0x42ebe6(0x2b0)]=_0x19af34,this[_0x42ebe6(0x439)]());}['dispose'](){var _0x353e7a=_0x1e277;super[_0x353e7a(0x27e)](),this[_0x353e7a(0x26e)][_0x353e7a(0x436)](_0xb2b369=>_0xb2b369[_0x353e7a(0x27e)]()),this[_0x353e7a(0x26e)]['clear']();}[_0x1e277(0x24a)](_0x5494ee){var _0x290374=_0x1e277,_0x2d05f8;return(_0x2d05f8=this[_0x290374(0x26e)]['get'](_0x5494ee))!=null?_0x2d05f8:null;}[_0x1e277(0x353)](_0x43ac5c){var _0x59e701=_0x1e277;const _0x19acf8=this[_0x59e701(0x24a)](_0x43ac5c);return _0x19acf8?_0x5a69d6(_0x19acf8):this[_0x59e701(0x32e)]['pipe'](_0x18b9bf(_0x2666cb=>_0x2666cb[_0x59e701(0x3c8)]===_0x43ac5c));}['readyForCollab'](_0x1c3d90){var _0x19f9a7=_0x1e277;return _0x3fe5ec(this['getCollabEntity$'](_0x1c3d90)[_0x19f9a7(0x1d3)](_0x2d8a24(()=>{})));}[_0x1e277(0x439)](){var _0x310b9b=_0x1e277;this['_univerInstanceService'][_0x310b9b(0x34f)](_0x58bfc9[_0x310b9b(0x221)])['pipe'](_0x2238c3(this[_0x310b9b(0x3f2)]),_0x634f(0x10))[_0x310b9b(0x1f0)](async _0x3c8e08=>{var _0x5dc846=_0x310b9b;const _0x36ad2b=_0x3c8e08['getUnitId'](),_0xe43f8a=await this[_0x5dc846(0x1d4)](_0x36ad2b,Q[_0x5dc846(0x221)]);this[_0x5dc846(0x26e)]['set'](_0x36ad2b,_0xe43f8a);}),this['_univerInstanceService'][_0x310b9b(0x34f)](_0x58bfc9[_0x310b9b(0x202)])['pipe'](_0x2238c3(this[_0x310b9b(0x3f2)]),_0x634f(0x10))['pipe'](_0x18b9bf(_0x25f98c=>!_0x25f98c[_0x310b9b(0x3aa)]()['startsWith']('__')))[_0x310b9b(0x1f0)](async _0x238570=>{var _0x1c1239=_0x310b9b;const _0x351d25=_0x238570['getUnitId'](),_0x5906bd=await this[_0x1c1239(0x1d4)](_0x351d25,Q[_0x1c1239(0x202)]);this['_entities'][_0x1c1239(0x2af)](_0x351d25,_0x5906bd);}),_0x232401(this[_0x310b9b(0x2b0)]['getTypeOfUnitDisposed$'](_0x58bfc9[_0x310b9b(0x221)]),this[_0x310b9b(0x2b0)]['getTypeOfUnitDisposed$'](_0x58bfc9[_0x310b9b(0x202)]))[_0x310b9b(0x1d3)](_0x2238c3(this['dispose$']))[_0x310b9b(0x1f0)](_0x309449=>{var _0x56b570=_0x310b9b;const _0x131988=_0x309449[_0x56b570(0x3aa)](),_0x237136=this['_entities'][_0x56b570(0x1b6)](_0x131988);_0x237136&&(_0x237136[_0x56b570(0x27e)](),this['_entities'][_0x56b570(0x1b9)](_0x131988));});}async[_0x1e277(0x1d4)](_0x54176b,_0x5bcb1b){var _0xa2c902=_0x1e277;const _0x4997a0=await this[_0xa2c902(0x20c)][_0xa2c902(0x309)](_0x54176b),_0x54e973=this[_0xa2c902(0x445)][_0xa2c902(0x20d)](this[_0xa2c902(0x37e)](_0x5bcb1b),_0x54176b,_0x5bcb1b,_0x4997a0);return await _0x54e973[_0xa2c902(0x442)](),this[_0xa2c902(0x32e)][_0xa2c902(0x251)](_0x54e973),_0x54e973;}[_0x1e277(0x37e)](_0x54fedd){var _0x4bd66d=_0x1e277;switch(_0x54fedd){case Q[_0x4bd66d(0x202)]:return It;case Q[_0x4bd66d(0x221)]:return Tt;default:throw new Error(_0x4bd66d(0x3a5)+_0x54fedd);}}};nt=cn([ft(0x0,_0x92794a(_0x222b43)),ft(0x1,_0x92794a(Le)),ft(0x2,_0x50afd8)],nt);var hn=Object[_0x1e277(0x2d7)],_n=(_0x5302ae,_0x5f47c9,_0x49c94c,_0x3f94a6)=>{var _0x1769d=_0x1e277;for(var _0x323b76=_0x3f94a6>0x1?void 0x0:_0x3f94a6?hn(_0x5f47c9,_0x49c94c):_0x5f47c9,_0x12bb30=_0x5302ae[_0x1769d(0x3d8)]-0x1,_0x6d72a6;_0x12bb30>=0x0;_0x12bb30--)(_0x6d72a6=_0x5302ae[_0x12bb30])&&(_0x323b76=_0x6d72a6(_0x323b76)||_0x323b76);return _0x323b76;},zt=(_0x433f54,_0x193691)=>(_0x9bd056,_0x5456a9)=>_0x193691(_0x9bd056,_0x5456a9,_0x433f54);const ln=_0x1e277(0x2ad),un=_0x1e277(0x26d);let Ct=class extends _0x464496{constructor(_0x19db85,_0x3a6e69){var _0xee7cdb=_0x1e277;super(),this[_0xee7cdb(0x2b0)]=_0x19db85,this[_0xee7cdb(0x47c)]=_0x3a6e69,this[_0xee7cdb(0x439)]();}[_0x1e277(0x439)](){var _0x1b30d7=_0x1e277;this[_0x1b30d7(0x406)](this[_0x1b30d7(0x2b0)][_0x1b30d7(0x3b4)][_0x1b30d7(0x1f0)](()=>{var _0x308ef5=_0x1b30d7,_0x26c7b5;const _0x3f576a=this[_0x308ef5(0x2b0)][_0x308ef5(0x266)]();let _0x53dd1d=(_0x26c7b5=this[_0x308ef5(0x47c)][_0x308ef5(0x457)](ln))!=null?_0x26c7b5:un;_0x3f576a instanceof _0x4100eb&&(_0x53dd1d=_0x3f576a[_0x308ef5(0x414)]),document['title']=_0x53dd1d;}));}};Ct=_n([zt(0x0,_0x50afd8),zt(0x1,_0x2e8183)],Ct);var dn=Object[_0x1e277(0x2d7)],fn=(_0x3677ef,_0x567993,_0x5d439b,_0x20b902)=>{for(var _0x5d033f=_0x20b902>0x1?void 0x0:_0x20b902?dn(_0x567993,_0x5d439b):_0x567993,_0x362c8b=_0x3677ef['length']-0x1,_0xaf1725;_0x362c8b>=0x0;_0x362c8b--)(_0xaf1725=_0x3677ef[_0x362c8b])&&(_0x5d033f=_0xaf1725(_0x5d033f)||_0x5d033f);return _0x5d033f;},vt=(_0x3cc738,_0x2feb4b)=>(_0x4cbe01,_0x1a2d1f)=>_0x2feb4b(_0x4cbe01,_0x1a2d1f,_0x3cc738);let st=class{constructor(_0x50733c,_0x39212a,_0x5c82ed){var _0x73c7dd=_0x1e277;this[_0x73c7dd(0x47c)]=_0x50733c,this[_0x73c7dd(0x488)]=_0x39212a,this[_0x73c7dd(0x1c2)]=_0x5c82ed,this[_0x73c7dd(0x442)]();}[_0x1e277(0x442)](){var _0x2506ef=_0x1e277;this[_0x2506ef(0x488)][_0x2506ef(0x2b9)]({'priority':0x1,'interceptor':(_0x39c5d8,_0x275424)=>_0x275424(_0x39c5d8)[_0x2506ef(0x1d3)](_0x387e37(async _0x4f21d2=>{var _0x12f10e=_0x2506ef;const _0x47a31b=_0x4f21d2;if(_0x47a31b[_0x12f10e(0x2e5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x535085=window[_0x12f10e(0x1b7)](window[_0x12f10e(0x288)]['href']);window[_0x12f10e(0x288)][_0x12f10e(0x377)]=this[_0x12f10e(0x29b)]()+_0x12f10e(0x30a)+_0x535085;}}return _0x47a31b;}))});}[_0x1e277(0x29b)](){var _0x1872c3=_0x1e277,_0x42ddfa,_0x2d8701;const _0x131477=this[_0x1872c3(0x47c)][_0x1872c3(0x457)](Dr),_0xa2b726=this[_0x1872c3(0x47c)][_0x1872c3(0x457)](q);return(_0x2d8701=(_0x42ddfa=_0xa2b726==null?void 0x0:_0xa2b726[_0x1872c3(0x423)])!=null?_0x42ddfa:_0x131477)!=null?_0x2d8701:wr;}};st=fn([vt(0x0,_0x2e8183),vt(0x1,_0x92794a(_0x27ecf6)),vt(0x2,_0x92794a(_0x2c1e5d))],st);var vn=Object[_0x1e277(0x2d7)],pn=(_0x4e2e96,_0x1d4ddd,_0xc47829,_0x1d7bfe)=>{var _0x2a0331=_0x1e277;for(var _0x2e1c6b=_0x1d7bfe>0x1?void 0x0:_0x1d7bfe?vn(_0x1d4ddd,_0xc47829):_0x1d4ddd,_0x2b2592=_0x4e2e96[_0x2a0331(0x3d8)]-0x1,_0x5e8a9e;_0x2b2592>=0x0;_0x2b2592--)(_0x5e8a9e=_0x4e2e96[_0x2b2592])&&(_0x2e1c6b=_0x5e8a9e(_0x2e1c6b)||_0x2e1c6b);return _0x2e1c6b;},Jt=(_0x231536,_0x465a28)=>(_0x34cb62,_0x4ace54)=>_0x465a28(_0x34cb62,_0x4ace54,_0x231536);const Ni=_0x1e277(0x222),mn=_0x1e277(0x3a2);let Rt=class extends _0x464496{constructor(_0x336077,_0x36be6b){var _0x38f5fe=_0x1e277;super(),this[_0x38f5fe(0x2e1)]=_0x336077,this[_0x38f5fe(0x47c)]=_0x36be6b,this[_0x38f5fe(0x219)]();}[_0x1e277(0x219)](){var _0x35da26=_0x1e277;const _0x3575d6=this;this[_0x35da26(0x406)](this[_0x35da26(0x2e1)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf2b820({'isMatch'(_0x197c3e){var _0x55a9df=_0x35da26,_0x25159e;if(_0x197c3e[_0x55a9df(0x1ec)]==='POST'&&((_0x25159e=_0x197c3e[_0x55a9df(0x23d)])!=null&&_0x25159e[_0x55a9df(0x3fb)])){const {objectID:_0x162e06,objectType:_0x5f1325}=_0x197c3e[_0x55a9df(0x23d)][_0x55a9df(0x3fb)]||{};if(!_0x162e06||_0x5f1325===void 0x0)return!0x1;const _0x5b8169=_0x3575d6[_0x55a9df(0x322)]()+'/'+_0x5f1325+_0x55a9df(0x40a)+_0x162e06+_0x55a9df(0x489);if(_0x197c3e[_0x55a9df(0x1b2)]===_0x5b8169)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x365fcd){var _0x4caa24=_0x35da26,_0x429c9a;return(_0x429c9a=_0x365fcd[_0x4caa24(0x23d)])==null?void 0x0:_0x429c9a[_0x4caa24(0x3fb)];},'mergeParamsToRequest'(_0x90828f,_0x16bb18){var _0x145748=_0x35da26;const _0x14c9aa=_0x3575d6[_0x145748(0x322)]()+_0x145748(0x217),_0x325723=_0x90828f[_0x145748(0x4af)]((_0x102b38,_0x12fe7a)=>{var _0x58d11c=_0x145748;const {unitID:_0x48b178,objectID:_0xd1ab18,objectType:_0x45b74c,actions:_0x10e182}=_0x12fe7a;return _0x102b38[_0x48b178]||(_0x102b38[_0x48b178]={}),_0x102b38[_0x48b178][_0xd1ab18]||(_0x102b38[_0x48b178][_0xd1ab18]={'objectID':_0xd1ab18,'objectType':_0x45b74c,'actions':[]}),_0x102b38[_0x48b178][_0xd1ab18][_0x58d11c(0x27f)]['push'](..._0x10e182),_0x102b38;},{}),_0xc38e8c=[];for(const _0x58217b in _0x325723)for(const _0x1752e0 in _0x325723[_0x58217b]){const {actions:_0x11ce12,objectType:_0xd28ff6}=_0x325723[_0x58217b][_0x1752e0],_0x1b6308=[...new Set(_0x11ce12)];_0xc38e8c[_0x145748(0x282)]({'unitID':_0x58217b,'objectID':_0x1752e0,'objectType':_0xd28ff6,'actions':_0x1b6308});}return new _0x5e4da6(_0x145748(0x2d9),_0x14c9aa,{'headers':_0x16bb18[_0x145748(0x28e)],'withCredentials':_0x16bb18[_0x145748(0x1f9)],'responseType':_0x16bb18['responseType'],'body':{'requests':_0xc38e8c}});}},{'distributeResult'(_0x32ea6c,_0x145f9b){var _0x4d966b=_0x35da26;const {objectActions:_0x59394a}=_0x32ea6c;return _0x145f9b[_0x4d966b(0x273)](_0x493297=>{var _0x8b907c=_0x4d966b;const {unitID:_0x186a32,objectID:_0x33d32,actions:_0x336699}=_0x493297,_0x1ddc81=_0x59394a[_0x8b907c(0x1d5)](_0x52476e=>_0x52476e[_0x8b907c(0x3c8)]===_0x186a32&&_0x52476e[_0x8b907c(0x2d3)]===_0x33d32),_0x382d71=_0x336699[_0x8b907c(0x273)](_0x336270=>_0x1ddc81==null?void 0x0:_0x1ddc81[_0x8b907c(0x27f)][_0x8b907c(0x1d5)](_0x417c58=>_0x417c58[_0x8b907c(0x40b)]===_0x336270))[_0x8b907c(0x49e)](_0x30906e=>!!_0x30906e);return{'config':_0x493297,'result':{'actions':_0x382d71,'error':_0x32ea6c[_0x8b907c(0x1ac)]}};});}})}));}[_0x1e277(0x322)](){var _0x31a2d3=_0x1e277,_0x3d1c8c,_0x418bb9;const _0x36525b=this[_0x31a2d3(0x47c)][_0x31a2d3(0x457)](Ni),_0x1c7409=this[_0x31a2d3(0x47c)][_0x31a2d3(0x457)](q);return(_0x418bb9=(_0x3d1c8c=_0x1c7409==null?void 0x0:_0x1c7409[_0x31a2d3(0x2b5)])!=null?_0x3d1c8c:_0x36525b)!=null?_0x418bb9:mn;}async[_0x1e277(0x1e3)](_0x24b8d8){var _0x3ab98f=_0x1e277;const _0x22e912=this[_0x3ab98f(0x322)]()+'/'+_0x24b8d8[_0x3ab98f(0x34b)]+_0x3ab98f(0x3f0);return(await this[_0x3ab98f(0x2e1)][_0x3ab98f(0x3b7)](_0x22e912,{'body':_0x24b8d8}))[_0x3ab98f(0x3fb)]['objectID']||'';}async[_0x1e277(0x29a)](_0x4edf02){var _0x4d378a=_0x1e277;const _0x42bda4=this[_0x4d378a(0x322)]()+_0x4d378a(0x32a);return(await this[_0x4d378a(0x2e1)][_0x4d378a(0x3b7)](_0x42bda4,{'body':_0x4edf02}))[_0x4d378a(0x3fb)][_0x4d378a(0x245)];}async['update'](_0x488104){var _0x1da5ba=_0x1e277;const _0x5981c1=this['_getAPIPrefixPath']()+'/'+_0x488104[_0x1da5ba(0x34b)]+_0x1da5ba(0x40a)+_0x488104[_0x1da5ba(0x2d3)];await this['_HTTPService'][_0x1da5ba(0x3e9)](_0x5981c1,{'body':_0x488104});}async[_0x1e277(0x47e)](_0x3c13e7){var _0xa40e7c=_0x1e277;const _0x5223d5=this[_0xa40e7c(0x322)]()+'/'+_0x3c13e7[_0xa40e7c(0x34b)]+_0xa40e7c(0x40a)+_0x3c13e7[_0xa40e7c(0x2d3)]+_0xa40e7c(0x489);return(await this[_0xa40e7c(0x2e1)][_0xa40e7c(0x3b7)](_0x5223d5,{'body':_0x3c13e7}))[_0xa40e7c(0x3fb)]['actions'];}async[_0x1e277(0x239)](_0x52585e){var _0x47b277=_0x1e277;const _0x9c4aec=this[_0x47b277(0x322)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x47b277(0x3b7)](_0x9c4aec,{'body':{'requests':_0x52585e}}))[_0x47b277(0x3fb)][_0x47b277(0x237)];}async[_0x1e277(0x435)](_0x29056b){var _0x42f033=_0x1e277;const _0x19a177=this['_getAPIPrefixPath']()+'/'+_0x29056b[_0x42f033(0x34b)]+'/role',_0x3d8945=await this['_HTTPService'][_0x42f033(0x3b7)](_0x19a177,{'body':_0x29056b});return{'roles':_0x3d8945[_0x42f033(0x3fb)][_0x42f033(0x26a)],'actions':_0x3d8945['body']['actions']};}async[_0x1e277(0x31c)](_0x291542){var _0x10461b=_0x1e277;const _0x7b3cfb=this[_0x10461b(0x322)]()+_0x10461b(0x478);await this[_0x10461b(0x2e1)][_0x10461b(0x1b9)](_0x7b3cfb,{'params':{'collaboratorID':_0x291542[_0x10461b(0x45b)],'objectID':_0x291542[_0x10461b(0x2d3)],'unitID':_0x291542[_0x10461b(0x3c8)]}});}async[_0x1e277(0x20a)](_0x24abb4){var _0x1c8730=_0x1e277;const _0x1fa7d7=this[_0x1c8730(0x322)]()+'/collaborator';await this[_0x1c8730(0x2e1)]['patch'](_0x1fa7d7,{'body':_0x24abb4});}async['createCollaborator'](_0x2e04bb){var _0x3b8035=_0x1e277;const _0x3406c0=this[_0x3b8035(0x322)]()+'/collaborator';await this[_0x3b8035(0x2e1)][_0x3b8035(0x3b7)](_0x3406c0,{'body':_0x2e04bb});}async[_0x1e277(0x4a9)](_0x372f16){var _0x26cb4d=_0x1e277;const _0x1b0c09=this[_0x26cb4d(0x322)]()+_0x26cb4d(0x478);return(await this['_HTTPService'][_0x26cb4d(0x1b6)](_0x1b0c09,{'params':{'objectID':_0x372f16['objectID'],'unitID':_0x372f16['unitID']}}))[_0x26cb4d(0x3fb)][_0x26cb4d(0x393)];}async['putCollaborators'](_0x332d4f){var _0x196652=_0x1e277;const _0x5771e6=this['_getAPIPrefixPath']()+_0x196652(0x478);await this[_0x196652(0x2e1)]['put'](_0x5771e6,{'body':_0x332d4f});}};Rt=pn([Jt(0x0,_0x92794a(_0x27ecf6)),Jt(0x1,_0x92794a(_0x2e8183))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5639bd){var _0x276baf=_0x1e277;return _0x5639bd&&_0x5639bd[_0x276baf(0x306)]&&Object[_0x276baf(0x29d)]['hasOwnProperty'][_0x276baf(0x33a)](_0x5639bd,_0x276baf(0x432))?_0x5639bd[_0x276baf(0x432)]:_0x5639bd;}var Ge={'exports':{}};function gn(_0x27e111){var _0x3ada8b=_0x1e277;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x27e111+_0x3ada8b(0x396));}var Ve={'exports':{}},Sn=Ve['exports'],Xt;function ie(){var _0x1b2a0d=_0x1e277;return Xt||(Xt=0x1,function(_0x45f2c0,_0x3357e2){(function(_0x45a278,_0xfb6ac6){var _0x2c7532=_0x4b30;_0x45f2c0[_0x2c7532(0x2a9)]=_0xfb6ac6();}(Sn,function(){var _0x35ac67=_0x35ac67||function(_0x5e9cfe,_0x300b97){var _0x2e6290=_0x4b30,_0x31a78f;if(typeof window<'u'&&window[_0x2e6290(0x2b6)]&&(_0x31a78f=window[_0x2e6290(0x2b6)]),typeof self<'u'&&self[_0x2e6290(0x2b6)]&&(_0x31a78f=self[_0x2e6290(0x2b6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x31a78f=globalThis['crypto']),!_0x31a78f&&typeof window<'u'&&window[_0x2e6290(0x388)]&&(_0x31a78f=window['msCrypto']),!_0x31a78f&&typeof pt<'u'&&pt[_0x2e6290(0x2b6)]&&(_0x31a78f=pt[_0x2e6290(0x2b6)]),!_0x31a78f&&typeof gn=='function')try{_0x31a78f=require(_0x2e6290(0x2b6));}catch{}var _0x41765d=function(){var _0x1054d7=_0x2e6290;if(_0x31a78f){if(typeof _0x31a78f[_0x1054d7(0x226)]==_0x1054d7(0x1ea))try{return _0x31a78f[_0x1054d7(0x226)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x31a78f[_0x1054d7(0x27a)]=='function')try{return _0x31a78f[_0x1054d7(0x27a)](0x4)[_0x1054d7(0x32c)]();}catch{}}throw new Error(_0x1054d7(0x43d));},_0x18fc6a=Object[_0x2e6290(0x1e3)]||(function(){function _0x19b4aa(){}return function(_0x5cb003){var _0x4d4d8a=_0x4b30,_0x3ae8bb;return _0x19b4aa['prototype']=_0x5cb003,_0x3ae8bb=new _0x19b4aa(),_0x19b4aa[_0x4d4d8a(0x29d)]=null,_0x3ae8bb;};}()),_0x20026c={},_0x4b8913=_0x20026c[_0x2e6290(0x425)]={},_0x5c3752=_0x4b8913[_0x2e6290(0x3de)]=(function(){return{'extend':function(_0x2c4f89){var _0xb4bccf=_0x4b30,_0x54de9c=_0x18fc6a(this);return _0x2c4f89&&_0x54de9c['mixIn'](_0x2c4f89),(!_0x54de9c[_0xb4bccf(0x2f7)]('init')||this[_0xb4bccf(0x442)]===_0x54de9c['init'])&&(_0x54de9c['init']=function(){var _0x58d949=_0xb4bccf;_0x54de9c[_0x58d949(0x1e2)]['init'][_0x58d949(0x47a)](this,arguments);}),_0x54de9c[_0xb4bccf(0x442)][_0xb4bccf(0x29d)]=_0x54de9c,_0x54de9c['$super']=this,_0x54de9c;},'create':function(){var _0x3ece39=_0x4b30,_0x5aa30f=this[_0x3ece39(0x4a4)]();return _0x5aa30f[_0x3ece39(0x442)]['apply'](_0x5aa30f,arguments),_0x5aa30f;},'init':function(){},'mixIn':function(_0x4449ed){var _0x500505=_0x4b30;for(var _0x5ba938 in _0x4449ed)_0x4449ed['hasOwnProperty'](_0x5ba938)&&(this[_0x5ba938]=_0x4449ed[_0x5ba938]);_0x4449ed['hasOwnProperty'](_0x500505(0x1fa))&&(this[_0x500505(0x1fa)]=_0x4449ed[_0x500505(0x1fa)]);},'clone':function(){var _0xcec339=_0x4b30;return this[_0xcec339(0x442)][_0xcec339(0x29d)][_0xcec339(0x4a4)](this);}};}()),_0x513b69=_0x4b8913[_0x2e6290(0x389)]=_0x5c3752[_0x2e6290(0x4a4)]({'init':function(_0x2140cf,_0x1f4212){var _0x4bf6c8=_0x2e6290;_0x2140cf=this[_0x4bf6c8(0x234)]=_0x2140cf||[],_0x1f4212!=_0x300b97?this[_0x4bf6c8(0x2b2)]=_0x1f4212:this['sigBytes']=_0x2140cf[_0x4bf6c8(0x3d8)]*0x4;},'toString':function(_0x1ae11e){return(_0x1ae11e||_0x5345c8)['stringify'](this);},'concat':function(_0x11d105){var _0x3808a4=_0x2e6290,_0x1ef1f7=this[_0x3808a4(0x234)],_0x239084=_0x11d105[_0x3808a4(0x234)],_0x567a35=this[_0x3808a4(0x2b2)],_0x210de0=_0x11d105[_0x3808a4(0x2b2)];if(this[_0x3808a4(0x279)](),_0x567a35%0x4)for(var _0x457de2=0x0;_0x457de2<_0x210de0;_0x457de2++){var _0x4d9d83=_0x239084[_0x457de2>>>0x2]>>>0x18-_0x457de2%0x4*0x8&0xff;_0x1ef1f7[_0x567a35+_0x457de2>>>0x2]|=_0x4d9d83<<0x18-(_0x567a35+_0x457de2)%0x4*0x8;}else{for(var _0x185030=0x0;_0x185030<_0x210de0;_0x185030+=0x4)_0x1ef1f7[_0x567a35+_0x185030>>>0x2]=_0x239084[_0x185030>>>0x2];}return this[_0x3808a4(0x2b2)]+=_0x210de0,this;},'clamp':function(){var _0x24569a=_0x2e6290,_0x54dc67=this[_0x24569a(0x234)],_0x181d46=this['sigBytes'];_0x54dc67[_0x181d46>>>0x2]&=0xffffffff<<0x20-_0x181d46%0x4*0x8,_0x54dc67[_0x24569a(0x3d8)]=_0x5e9cfe[_0x24569a(0x3ff)](_0x181d46/0x4);},'clone':function(){var _0x34f13a=_0x2e6290,_0x1e33bc=_0x5c3752[_0x34f13a(0x255)][_0x34f13a(0x33a)](this);return _0x1e33bc[_0x34f13a(0x234)]=this[_0x34f13a(0x234)][_0x34f13a(0x1de)](0x0),_0x1e33bc;},'random':function(_0x2d3191){var _0x593d9c=_0x2e6290;for(var _0x2d25f9=[],_0x370fbf=0x0;_0x370fbf<_0x2d3191;_0x370fbf+=0x4)_0x2d25f9[_0x593d9c(0x282)](_0x41765d());return new _0x513b69[(_0x593d9c(0x442))](_0x2d25f9,_0x2d3191);}}),_0xfe969c=_0x20026c[_0x2e6290(0x3eb)]={},_0x5345c8=_0xfe969c[_0x2e6290(0x41d)]={'stringify':function(_0x42dd33){var _0x1a4c27=_0x2e6290;for(var _0x2040ad=_0x42dd33[_0x1a4c27(0x234)],_0x48526e=_0x42dd33[_0x1a4c27(0x2b2)],_0x36e06b=[],_0x35757e=0x0;_0x35757e<_0x48526e;_0x35757e++){var _0x449108=_0x2040ad[_0x35757e>>>0x2]>>>0x18-_0x35757e%0x4*0x8&0xff;_0x36e06b[_0x1a4c27(0x282)]((_0x449108>>>0x4)[_0x1a4c27(0x1fa)](0x10)),_0x36e06b[_0x1a4c27(0x282)]((_0x449108&0xf)['toString'](0x10));}return _0x36e06b[_0x1a4c27(0x48b)]('');},'parse':function(_0x43f71e){var _0x5d242d=_0x2e6290;for(var _0x3983f7=_0x43f71e[_0x5d242d(0x3d8)],_0xf87175=[],_0x32b99b=0x0;_0x32b99b<_0x3983f7;_0x32b99b+=0x2)_0xf87175[_0x32b99b>>>0x3]|=parseInt(_0x43f71e[_0x5d242d(0x371)](_0x32b99b,0x2),0x10)<<0x18-_0x32b99b%0x8*0x4;return new _0x513b69[(_0x5d242d(0x442))](_0xf87175,_0x3983f7/0x2);}},_0x190cfb=_0xfe969c[_0x2e6290(0x29c)]={'stringify':function(_0x509e8b){var _0x4c4ce2=_0x2e6290;for(var _0x5139d4=_0x509e8b[_0x4c4ce2(0x234)],_0x45ae59=_0x509e8b['sigBytes'],_0x25237c=[],_0x3d16e1=0x0;_0x3d16e1<_0x45ae59;_0x3d16e1++){var _0x2344c4=_0x5139d4[_0x3d16e1>>>0x2]>>>0x18-_0x3d16e1%0x4*0x8&0xff;_0x25237c[_0x4c4ce2(0x282)](String[_0x4c4ce2(0x45d)](_0x2344c4));}return _0x25237c[_0x4c4ce2(0x48b)]('');},'parse':function(_0x4e3d40){var _0x1117b9=_0x2e6290;for(var _0x31730b=_0x4e3d40[_0x1117b9(0x3d8)],_0x24d5dc=[],_0x4baee0=0x0;_0x4baee0<_0x31730b;_0x4baee0++)_0x24d5dc[_0x4baee0>>>0x2]|=(_0x4e3d40[_0x1117b9(0x318)](_0x4baee0)&0xff)<<0x18-_0x4baee0%0x4*0x8;return new _0x513b69[(_0x1117b9(0x442))](_0x24d5dc,_0x31730b);}},_0xa26ee3=_0xfe969c[_0x2e6290(0x271)]={'stringify':function(_0x27fb00){var _0x4e2c40=_0x2e6290;try{return decodeURIComponent(escape(_0x190cfb[_0x4e2c40(0x45c)](_0x27fb00)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x55446c){return _0x190cfb['parse'](unescape(encodeURIComponent(_0x55446c)));}},_0xba3d6f=_0x4b8913[_0x2e6290(0x25f)]=_0x5c3752[_0x2e6290(0x4a4)]({'reset':function(){var _0x49716a=_0x2e6290;this['_data']=new _0x513b69['init'](),this[_0x49716a(0x228)]=0x0;},'_append':function(_0x19fc9d){var _0x57b4a5=_0x2e6290;typeof _0x19fc9d==_0x57b4a5(0x27d)&&(_0x19fc9d=_0xa26ee3[_0x57b4a5(0x32f)](_0x19fc9d)),this[_0x57b4a5(0x1dc)][_0x57b4a5(0x303)](_0x19fc9d),this[_0x57b4a5(0x228)]+=_0x19fc9d[_0x57b4a5(0x2b2)];},'_process':function(_0x554fb8){var _0x36cc00=_0x2e6290,_0x1fe268,_0x4d828e=this[_0x36cc00(0x1dc)],_0x35d0e0=_0x4d828e[_0x36cc00(0x234)],_0x28511b=_0x4d828e[_0x36cc00(0x2b2)],_0x226dcc=this[_0x36cc00(0x207)],_0x3fea13=_0x226dcc*0x4,_0x372b03=_0x28511b/_0x3fea13;_0x554fb8?_0x372b03=_0x5e9cfe[_0x36cc00(0x3ff)](_0x372b03):_0x372b03=_0x5e9cfe[_0x36cc00(0x4ab)]((_0x372b03|0x0)-this[_0x36cc00(0x33b)],0x0);var _0x4f7e71=_0x372b03*_0x226dcc,_0x2b8d4d=_0x5e9cfe[_0x36cc00(0x416)](_0x4f7e71*0x4,_0x28511b);if(_0x4f7e71){for(var _0x674f7b=0x0;_0x674f7b<_0x4f7e71;_0x674f7b+=_0x226dcc)this[_0x36cc00(0x340)](_0x35d0e0,_0x674f7b);_0x1fe268=_0x35d0e0[_0x36cc00(0x1df)](0x0,_0x4f7e71),_0x4d828e[_0x36cc00(0x2b2)]-=_0x2b8d4d;}return new _0x513b69[(_0x36cc00(0x442))](_0x1fe268,_0x2b8d4d);},'clone':function(){var _0xbb270a=_0x2e6290,_0x3e8621=_0x5c3752[_0xbb270a(0x255)][_0xbb270a(0x33a)](this);return _0x3e8621['_data']=this[_0xbb270a(0x1dc)][_0xbb270a(0x255)](),_0x3e8621;},'_minBufferSize':0x0});_0x4b8913[_0x2e6290(0x1ee)]=_0xba3d6f[_0x2e6290(0x4a4)]({'cfg':_0x5c3752[_0x2e6290(0x4a4)](),'init':function(_0x546e6b){var _0x1dd051=_0x2e6290;this[_0x1dd051(0x337)]=this[_0x1dd051(0x337)][_0x1dd051(0x4a4)](_0x546e6b),this[_0x1dd051(0x49c)]();},'reset':function(){var _0x5a9d17=_0x2e6290;_0xba3d6f[_0x5a9d17(0x49c)][_0x5a9d17(0x33a)](this),this['_doReset']();},'update':function(_0x27ec69){return this['_append'](_0x27ec69),this['_process'](),this;},'finalize':function(_0x4f5430){var _0x418103=_0x2e6290;_0x4f5430&&this[_0x418103(0x320)](_0x4f5430);var _0x54999b=this[_0x418103(0x25b)]();return _0x54999b;},'blockSize':0x10,'_createHelper':function(_0x246d23){return function(_0xf68d27,_0x26f3e7){var _0x5425b5=_0x4b30;return new _0x246d23[(_0x5425b5(0x442))](_0x26f3e7)[_0x5425b5(0x23a)](_0xf68d27);};},'_createHmacHelper':function(_0x3f6ee3){return function(_0x56c112,_0x596a63){var _0x59b703=_0x4b30;return new _0x2e65b7[(_0x59b703(0x460))]['init'](_0x3f6ee3,_0x596a63)['finalize'](_0x56c112);};}});var _0x2e65b7=_0x20026c[_0x2e6290(0x499)]={};return _0x20026c;}(Math);return _0x35ac67;}));}(Ve)),Ve[_0x1b2a0d(0x2a9)];}var We={'exports':{}},En=We[_0x1e277(0x2a9)],Zt;function Di(){var _0xf879a4=_0x1e277;return Zt||(Zt=0x1,function(_0x491031,_0x293dc7){(function(_0x2eb38c,_0x4c1e47){var _0x4c0a42=_0x4b30;_0x491031[_0x4c0a42(0x2a9)]=_0x4c1e47(ie());}(En,function(_0x53b117){var _0x37bbee=_0x4b30;return(function(){var _0x47d952=_0x4b30,_0x162a62=_0x53b117,_0xf83cd6=_0x162a62[_0x47d952(0x425)],_0x50ca43=_0xf83cd6[_0x47d952(0x389)],_0x886bb8=_0x162a62[_0x47d952(0x3eb)];_0x886bb8['Base64']={'stringify':function(_0x3177f2){var _0x2299d0=_0x47d952,_0x772ea2=_0x3177f2[_0x2299d0(0x234)],_0x35db2f=_0x3177f2['sigBytes'],_0x39279e=this[_0x2299d0(0x272)];_0x3177f2[_0x2299d0(0x279)]();for(var _0x20b9de=[],_0x3b236f=0x0;_0x3b236f<_0x35db2f;_0x3b236f+=0x3)for(var _0x2b983b=_0x772ea2[_0x3b236f>>>0x2]>>>0x18-_0x3b236f%0x4*0x8&0xff,_0x3930f9=_0x772ea2[_0x3b236f+0x1>>>0x2]>>>0x18-(_0x3b236f+0x1)%0x4*0x8&0xff,_0x1ae4aa=_0x772ea2[_0x3b236f+0x2>>>0x2]>>>0x18-(_0x3b236f+0x2)%0x4*0x8&0xff,_0x498124=_0x2b983b<<0x10|_0x3930f9<<0x8|_0x1ae4aa,_0x161502=0x0;_0x161502<0x4&&_0x3b236f+_0x161502*0.75<_0x35db2f;_0x161502++)_0x20b9de[_0x2299d0(0x282)](_0x39279e[_0x2299d0(0x1bc)](_0x498124>>>0x6*(0x3-_0x161502)&0x3f));var _0x51bce8=_0x39279e[_0x2299d0(0x1bc)](0x40);if(_0x51bce8){for(;_0x20b9de['length']%0x4;)_0x20b9de[_0x2299d0(0x282)](_0x51bce8);}return _0x20b9de[_0x2299d0(0x48b)]('');},'parse':function(_0x38a3a6){var _0x5542ab=_0x47d952,_0x29aee5=_0x38a3a6[_0x5542ab(0x3d8)],_0x1b3bac=this[_0x5542ab(0x272)],_0xa95014=this[_0x5542ab(0x2d6)];if(!_0xa95014){_0xa95014=this[_0x5542ab(0x2d6)]=[];for(var _0x3762e5=0x0;_0x3762e5<_0x1b3bac[_0x5542ab(0x3d8)];_0x3762e5++)_0xa95014[_0x1b3bac[_0x5542ab(0x318)](_0x3762e5)]=_0x3762e5;}var _0x4a2582=_0x1b3bac[_0x5542ab(0x1bc)](0x40);if(_0x4a2582){var _0x12a54c=_0x38a3a6[_0x5542ab(0x330)](_0x4a2582);_0x12a54c!==-0x1&&(_0x29aee5=_0x12a54c);}return _0x41f4b1(_0x38a3a6,_0x29aee5,_0xa95014);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x41f4b1(_0xee8a11,_0x2ae4f6,_0x56f6e8){var _0x56ffe6=_0x47d952;for(var _0x5e7277=[],_0x4f1a47=0x0,_0x294785=0x0;_0x294785<_0x2ae4f6;_0x294785++)if(_0x294785%0x4){var _0x521446=_0x56f6e8[_0xee8a11[_0x56ffe6(0x318)](_0x294785-0x1)]<<_0x294785%0x4*0x2,_0x2ab154=_0x56f6e8[_0xee8a11[_0x56ffe6(0x318)](_0x294785)]>>>0x6-_0x294785%0x4*0x2,_0x5da074=_0x521446|_0x2ab154;_0x5e7277[_0x4f1a47>>>0x2]|=_0x5da074<<0x18-_0x4f1a47%0x4*0x8,_0x4f1a47++;}return _0x50ca43[_0x56ffe6(0x1e3)](_0x5e7277,_0x4f1a47);}}()),_0x53b117[_0x37bbee(0x3eb)][_0x37bbee(0x3bb)];}));}(We)),We[_0xf879a4(0x2a9)];}var Ke={'exports':{}},In=Ke[_0x1e277(0x2a9)],Qt;function Tn(){var _0x931fcd=_0x1e277;return Qt||(Qt=0x1,function(_0x44a3e0,_0x561cf2){(function(_0x2e53ed,_0x5e4c79){var _0x245dfa=_0x4b30;_0x44a3e0[_0x245dfa(0x2a9)]=_0x5e4c79(ie());}(In,function(_0x2b2d53){var _0x381967=_0x4b30;return function(_0xe8cfab){var _0x416d97=_0x4b30,_0x1ee2a8=_0x2b2d53,_0x2f0c75=_0x1ee2a8['lib'],_0xd88096=_0x2f0c75[_0x416d97(0x389)],_0x2f19ae=_0x2f0c75['Hasher'],_0x359231=_0x1ee2a8[_0x416d97(0x499)],_0x23a43f=[];(function(){var _0xdba8ef=_0x416d97;for(var _0x481e55=0x0;_0x481e55<0x40;_0x481e55++)_0x23a43f[_0x481e55]=_0xe8cfab[_0xdba8ef(0x1e5)](_0xe8cfab[_0xdba8ef(0x412)](_0x481e55+0x1))*0x100000000|0x0;}());var _0x1969ed=_0x359231[_0x416d97(0x446)]=_0x2f19ae['extend']({'_doReset':function(){var _0x5a3a62=_0x416d97;this['_hash']=new _0xd88096[(_0x5a3a62(0x442))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22da9,_0x10ec55){var _0x3cff5a=_0x416d97;for(var _0x311233=0x0;_0x311233<0x10;_0x311233++){var _0x6effb2=_0x10ec55+_0x311233,_0x4057e6=_0x22da9[_0x6effb2];_0x22da9[_0x6effb2]=(_0x4057e6<<0x8|_0x4057e6>>>0x18)&0xff00ff|(_0x4057e6<<0x18|_0x4057e6>>>0x8)&0xff00ff00;}var _0x21058e=this[_0x3cff5a(0x2cb)][_0x3cff5a(0x234)],_0x338bc2=_0x22da9[_0x10ec55+0x0],_0x5e95d8=_0x22da9[_0x10ec55+0x1],_0x50c436=_0x22da9[_0x10ec55+0x2],_0x279436=_0x22da9[_0x10ec55+0x3],_0x52efb9=_0x22da9[_0x10ec55+0x4],_0x3a2718=_0x22da9[_0x10ec55+0x5],_0x3e253c=_0x22da9[_0x10ec55+0x6],_0x1613eb=_0x22da9[_0x10ec55+0x7],_0x377b4b=_0x22da9[_0x10ec55+0x8],_0x2ca630=_0x22da9[_0x10ec55+0x9],_0x320e4c=_0x22da9[_0x10ec55+0xa],_0x3194d5=_0x22da9[_0x10ec55+0xb],_0x238d67=_0x22da9[_0x10ec55+0xc],_0x5a760a=_0x22da9[_0x10ec55+0xd],_0x4670ef=_0x22da9[_0x10ec55+0xe],_0x391cff=_0x22da9[_0x10ec55+0xf],_0x3bf9f3=_0x21058e[0x0],_0xadbd93=_0x21058e[0x1],_0x34fc26=_0x21058e[0x2],_0x5363d3=_0x21058e[0x3];_0x3bf9f3=_0x5d7e4d(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x338bc2,0x7,_0x23a43f[0x0]),_0x5363d3=_0x5d7e4d(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5e95d8,0xc,_0x23a43f[0x1]),_0x34fc26=_0x5d7e4d(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x50c436,0x11,_0x23a43f[0x2]),_0xadbd93=_0x5d7e4d(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x279436,0x16,_0x23a43f[0x3]),_0x3bf9f3=_0x5d7e4d(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x52efb9,0x7,_0x23a43f[0x4]),_0x5363d3=_0x5d7e4d(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x3a2718,0xc,_0x23a43f[0x5]),_0x34fc26=_0x5d7e4d(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x3e253c,0x11,_0x23a43f[0x6]),_0xadbd93=_0x5d7e4d(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x1613eb,0x16,_0x23a43f[0x7]),_0x3bf9f3=_0x5d7e4d(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x377b4b,0x7,_0x23a43f[0x8]),_0x5363d3=_0x5d7e4d(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x2ca630,0xc,_0x23a43f[0x9]),_0x34fc26=_0x5d7e4d(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x320e4c,0x11,_0x23a43f[0xa]),_0xadbd93=_0x5d7e4d(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x3194d5,0x16,_0x23a43f[0xb]),_0x3bf9f3=_0x5d7e4d(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x238d67,0x7,_0x23a43f[0xc]),_0x5363d3=_0x5d7e4d(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5a760a,0xc,_0x23a43f[0xd]),_0x34fc26=_0x5d7e4d(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x4670ef,0x11,_0x23a43f[0xe]),_0xadbd93=_0x5d7e4d(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x391cff,0x16,_0x23a43f[0xf]),_0x3bf9f3=_0xf942b(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x5e95d8,0x5,_0x23a43f[0x10]),_0x5363d3=_0xf942b(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x3e253c,0x9,_0x23a43f[0x11]),_0x34fc26=_0xf942b(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x3194d5,0xe,_0x23a43f[0x12]),_0xadbd93=_0xf942b(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x338bc2,0x14,_0x23a43f[0x13]),_0x3bf9f3=_0xf942b(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x3a2718,0x5,_0x23a43f[0x14]),_0x5363d3=_0xf942b(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x320e4c,0x9,_0x23a43f[0x15]),_0x34fc26=_0xf942b(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x391cff,0xe,_0x23a43f[0x16]),_0xadbd93=_0xf942b(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x52efb9,0x14,_0x23a43f[0x17]),_0x3bf9f3=_0xf942b(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x2ca630,0x5,_0x23a43f[0x18]),_0x5363d3=_0xf942b(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x4670ef,0x9,_0x23a43f[0x19]),_0x34fc26=_0xf942b(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x279436,0xe,_0x23a43f[0x1a]),_0xadbd93=_0xf942b(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x377b4b,0x14,_0x23a43f[0x1b]),_0x3bf9f3=_0xf942b(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x5a760a,0x5,_0x23a43f[0x1c]),_0x5363d3=_0xf942b(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x50c436,0x9,_0x23a43f[0x1d]),_0x34fc26=_0xf942b(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x1613eb,0xe,_0x23a43f[0x1e]),_0xadbd93=_0xf942b(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x238d67,0x14,_0x23a43f[0x1f]),_0x3bf9f3=_0x5a2912(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x3a2718,0x4,_0x23a43f[0x20]),_0x5363d3=_0x5a2912(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x377b4b,0xb,_0x23a43f[0x21]),_0x34fc26=_0x5a2912(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x3194d5,0x10,_0x23a43f[0x22]),_0xadbd93=_0x5a2912(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x4670ef,0x17,_0x23a43f[0x23]),_0x3bf9f3=_0x5a2912(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x5e95d8,0x4,_0x23a43f[0x24]),_0x5363d3=_0x5a2912(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x52efb9,0xb,_0x23a43f[0x25]),_0x34fc26=_0x5a2912(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x1613eb,0x10,_0x23a43f[0x26]),_0xadbd93=_0x5a2912(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x320e4c,0x17,_0x23a43f[0x27]),_0x3bf9f3=_0x5a2912(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x5a760a,0x4,_0x23a43f[0x28]),_0x5363d3=_0x5a2912(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x338bc2,0xb,_0x23a43f[0x29]),_0x34fc26=_0x5a2912(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x279436,0x10,_0x23a43f[0x2a]),_0xadbd93=_0x5a2912(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x3e253c,0x17,_0x23a43f[0x2b]),_0x3bf9f3=_0x5a2912(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x2ca630,0x4,_0x23a43f[0x2c]),_0x5363d3=_0x5a2912(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x238d67,0xb,_0x23a43f[0x2d]),_0x34fc26=_0x5a2912(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x391cff,0x10,_0x23a43f[0x2e]),_0xadbd93=_0x5a2912(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x50c436,0x17,_0x23a43f[0x2f]),_0x3bf9f3=_0x3e9864(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x338bc2,0x6,_0x23a43f[0x30]),_0x5363d3=_0x3e9864(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x1613eb,0xa,_0x23a43f[0x31]),_0x34fc26=_0x3e9864(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x4670ef,0xf,_0x23a43f[0x32]),_0xadbd93=_0x3e9864(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x3a2718,0x15,_0x23a43f[0x33]),_0x3bf9f3=_0x3e9864(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x238d67,0x6,_0x23a43f[0x34]),_0x5363d3=_0x3e9864(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x279436,0xa,_0x23a43f[0x35]),_0x34fc26=_0x3e9864(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x320e4c,0xf,_0x23a43f[0x36]),_0xadbd93=_0x3e9864(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x5e95d8,0x15,_0x23a43f[0x37]),_0x3bf9f3=_0x3e9864(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x377b4b,0x6,_0x23a43f[0x38]),_0x5363d3=_0x3e9864(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x391cff,0xa,_0x23a43f[0x39]),_0x34fc26=_0x3e9864(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x3e253c,0xf,_0x23a43f[0x3a]),_0xadbd93=_0x3e9864(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x5a760a,0x15,_0x23a43f[0x3b]),_0x3bf9f3=_0x3e9864(_0x3bf9f3,_0xadbd93,_0x34fc26,_0x5363d3,_0x52efb9,0x6,_0x23a43f[0x3c]),_0x5363d3=_0x3e9864(_0x5363d3,_0x3bf9f3,_0xadbd93,_0x34fc26,_0x3194d5,0xa,_0x23a43f[0x3d]),_0x34fc26=_0x3e9864(_0x34fc26,_0x5363d3,_0x3bf9f3,_0xadbd93,_0x50c436,0xf,_0x23a43f[0x3e]),_0xadbd93=_0x3e9864(_0xadbd93,_0x34fc26,_0x5363d3,_0x3bf9f3,_0x2ca630,0x15,_0x23a43f[0x3f]),_0x21058e[0x0]=_0x21058e[0x0]+_0x3bf9f3|0x0,_0x21058e[0x1]=_0x21058e[0x1]+_0xadbd93|0x0,_0x21058e[0x2]=_0x21058e[0x2]+_0x34fc26|0x0,_0x21058e[0x3]=_0x21058e[0x3]+_0x5363d3|0x0;},'_doFinalize':function(){var _0x541d8b=_0x416d97,_0x1011d3=this[_0x541d8b(0x1dc)],_0x3e0956=_0x1011d3[_0x541d8b(0x234)],_0x3751bf=this['_nDataBytes']*0x8,_0x13e163=_0x1011d3[_0x541d8b(0x2b2)]*0x8;_0x3e0956[_0x13e163>>>0x5]|=0x80<<0x18-_0x13e163%0x20;var _0x415b64=_0xe8cfab[_0x541d8b(0x1d2)](_0x3751bf/0x100000000),_0x2c26ef=_0x3751bf;_0x3e0956[(_0x13e163+0x40>>>0x9<<0x4)+0xf]=(_0x415b64<<0x8|_0x415b64>>>0x18)&0xff00ff|(_0x415b64<<0x18|_0x415b64>>>0x8)&0xff00ff00,_0x3e0956[(_0x13e163+0x40>>>0x9<<0x4)+0xe]=(_0x2c26ef<<0x8|_0x2c26ef>>>0x18)&0xff00ff|(_0x2c26ef<<0x18|_0x2c26ef>>>0x8)&0xff00ff00,_0x1011d3['sigBytes']=(_0x3e0956[_0x541d8b(0x3d8)]+0x1)*0x4,this[_0x541d8b(0x462)]();for(var _0x436009=this['_hash'],_0x55dd45=_0x436009[_0x541d8b(0x234)],_0x1feaf9=0x0;_0x1feaf9<0x4;_0x1feaf9++){var _0x4a5dfd=_0x55dd45[_0x1feaf9];_0x55dd45[_0x1feaf9]=(_0x4a5dfd<<0x8|_0x4a5dfd>>>0x18)&0xff00ff|(_0x4a5dfd<<0x18|_0x4a5dfd>>>0x8)&0xff00ff00;}return _0x436009;},'clone':function(){var _0x54e6fe=_0x416d97,_0x4e075c=_0x2f19ae[_0x54e6fe(0x255)][_0x54e6fe(0x33a)](this);return _0x4e075c['_hash']=this[_0x54e6fe(0x2cb)][_0x54e6fe(0x255)](),_0x4e075c;}});function _0x5d7e4d(_0x59c547,_0x2730b2,_0x24e553,_0xb69d8d,_0x2b4982,_0x1e19f3,_0x2f68e2){var _0x36875f=_0x59c547+(_0x2730b2&_0x24e553|~_0x2730b2&_0xb69d8d)+_0x2b4982+_0x2f68e2;return(_0x36875f<<_0x1e19f3|_0x36875f>>>0x20-_0x1e19f3)+_0x2730b2;}function _0xf942b(_0x447374,_0x877d62,_0x242539,_0x6f7b46,_0x1f33bd,_0x174a7c,_0xe7e3c5){var _0x4da998=_0x447374+(_0x877d62&_0x6f7b46|_0x242539&~_0x6f7b46)+_0x1f33bd+_0xe7e3c5;return(_0x4da998<<_0x174a7c|_0x4da998>>>0x20-_0x174a7c)+_0x877d62;}function _0x5a2912(_0xa4fb8f,_0x4e69a6,_0x296710,_0x271586,_0xba1ad4,_0x192325,_0xf2eeaa){var _0x12d6e1=_0xa4fb8f+(_0x4e69a6^_0x296710^_0x271586)+_0xba1ad4+_0xf2eeaa;return(_0x12d6e1<<_0x192325|_0x12d6e1>>>0x20-_0x192325)+_0x4e69a6;}function _0x3e9864(_0x2c0aae,_0x181183,_0x25c675,_0x49883e,_0x4b13d1,_0x387c24,_0x2b989d){var _0xf7e039=_0x2c0aae+(_0x25c675^(_0x181183|~_0x49883e))+_0x4b13d1+_0x2b989d;return(_0xf7e039<<_0x387c24|_0xf7e039>>>0x20-_0x387c24)+_0x181183;}_0x1ee2a8[_0x416d97(0x446)]=_0x2f19ae[_0x416d97(0x319)](_0x1969ed),_0x1ee2a8[_0x416d97(0x463)]=_0x2f19ae[_0x416d97(0x441)](_0x1969ed);}(Math),_0x2b2d53[_0x381967(0x446)];}));}(Ke)),Ke[_0x931fcd(0x2a9)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x1e277(0x2a9)],ei;function Rn(){return ei||(ei=0x1,function(_0x3d30ff,_0x546c72){(function(_0x313609,_0x345816){_0x3d30ff['exports']=_0x345816(ie());}(Cn,function(_0x1474bc){return(function(){var _0x531959=_0x4b30,_0x14e483=_0x1474bc,_0x268f8f=_0x14e483['lib'],_0x94564=_0x268f8f['WordArray'],_0x2bcd18=_0x268f8f[_0x531959(0x1ee)],_0x13c5ca=_0x14e483[_0x531959(0x499)],_0x5d8bfa=[],_0x2f057d=_0x13c5ca['SHA1']=_0x2bcd18[_0x531959(0x4a4)]({'_doReset':function(){var _0x267472=_0x531959;this[_0x267472(0x2cb)]=new _0x94564[(_0x267472(0x442))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x336edf,_0x5eeb6b){var _0x374514=_0x531959;for(var _0x3d1f48=this[_0x374514(0x2cb)][_0x374514(0x234)],_0x35fed5=_0x3d1f48[0x0],_0x2317fa=_0x3d1f48[0x1],_0x3422b0=_0x3d1f48[0x2],_0x519d12=_0x3d1f48[0x3],_0x196331=_0x3d1f48[0x4],_0x2f8c3d=0x0;_0x2f8c3d<0x50;_0x2f8c3d++){if(_0x2f8c3d<0x10)_0x5d8bfa[_0x2f8c3d]=_0x336edf[_0x5eeb6b+_0x2f8c3d]|0x0;else{var _0x5340f7=_0x5d8bfa[_0x2f8c3d-0x3]^_0x5d8bfa[_0x2f8c3d-0x8]^_0x5d8bfa[_0x2f8c3d-0xe]^_0x5d8bfa[_0x2f8c3d-0x10];_0x5d8bfa[_0x2f8c3d]=_0x5340f7<<0x1|_0x5340f7>>>0x1f;}var _0x2bb4f9=(_0x35fed5<<0x5|_0x35fed5>>>0x1b)+_0x196331+_0x5d8bfa[_0x2f8c3d];_0x2f8c3d<0x14?_0x2bb4f9+=(_0x2317fa&_0x3422b0|~_0x2317fa&_0x519d12)+0x5a827999:_0x2f8c3d<0x28?_0x2bb4f9+=(_0x2317fa^_0x3422b0^_0x519d12)+0x6ed9eba1:_0x2f8c3d<0x3c?_0x2bb4f9+=(_0x2317fa&_0x3422b0|_0x2317fa&_0x519d12|_0x3422b0&_0x519d12)-0x70e44324:_0x2bb4f9+=(_0x2317fa^_0x3422b0^_0x519d12)-0x359d3e2a,_0x196331=_0x519d12,_0x519d12=_0x3422b0,_0x3422b0=_0x2317fa<<0x1e|_0x2317fa>>>0x2,_0x2317fa=_0x35fed5,_0x35fed5=_0x2bb4f9;}_0x3d1f48[0x0]=_0x3d1f48[0x0]+_0x35fed5|0x0,_0x3d1f48[0x1]=_0x3d1f48[0x1]+_0x2317fa|0x0,_0x3d1f48[0x2]=_0x3d1f48[0x2]+_0x3422b0|0x0,_0x3d1f48[0x3]=_0x3d1f48[0x3]+_0x519d12|0x0,_0x3d1f48[0x4]=_0x3d1f48[0x4]+_0x196331|0x0;},'_doFinalize':function(){var _0x1b98ca=_0x531959,_0x426d01=this[_0x1b98ca(0x1dc)],_0x3f4cec=_0x426d01[_0x1b98ca(0x234)],_0x52d149=this[_0x1b98ca(0x228)]*0x8,_0x3d513e=_0x426d01[_0x1b98ca(0x2b2)]*0x8;return _0x3f4cec[_0x3d513e>>>0x5]|=0x80<<0x18-_0x3d513e%0x20,_0x3f4cec[(_0x3d513e+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b98ca(0x1d2)](_0x52d149/0x100000000),_0x3f4cec[(_0x3d513e+0x40>>>0x9<<0x4)+0xf]=_0x52d149,_0x426d01[_0x1b98ca(0x2b2)]=_0x3f4cec[_0x1b98ca(0x3d8)]*0x4,this[_0x1b98ca(0x462)](),this[_0x1b98ca(0x2cb)];},'clone':function(){var _0x3cea5b=_0x531959,_0xf78ba6=_0x2bcd18[_0x3cea5b(0x255)][_0x3cea5b(0x33a)](this);return _0xf78ba6[_0x3cea5b(0x2cb)]=this[_0x3cea5b(0x2cb)][_0x3cea5b(0x255)](),_0xf78ba6;}});_0x14e483[_0x531959(0x21d)]=_0x2bcd18[_0x531959(0x319)](_0x2f057d),_0x14e483[_0x531959(0x2c0)]=_0x2bcd18['_createHmacHelper'](_0x2f057d);}()),_0x1474bc['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},bn=ze[_0x1e277(0x2a9)],ti;function yn(){return ti||(ti=0x1,function(_0xded2da,_0x40e7f7){(function(_0x3ca739,_0x1fcb54){var _0x2360c0=_0x4b30;_0xded2da[_0x2360c0(0x2a9)]=_0x1fcb54(ie());}(bn,function(_0x42bf21){(function(){var _0x435147=_0x4b30,_0x5ee516=_0x42bf21,_0x530e7a=_0x5ee516[_0x435147(0x425)],_0x5b396a=_0x530e7a[_0x435147(0x3de)],_0x283953=_0x5ee516[_0x435147(0x3eb)],_0x295fb2=_0x283953[_0x435147(0x271)],_0x15c865=_0x5ee516[_0x435147(0x499)];_0x15c865['HMAC']=_0x5b396a[_0x435147(0x4a4)]({'init':function(_0x36bc67,_0x335cb6){var _0x41379d=_0x435147;_0x36bc67=this['_hasher']=new _0x36bc67[(_0x41379d(0x442))](),typeof _0x335cb6==_0x41379d(0x27d)&&(_0x335cb6=_0x295fb2[_0x41379d(0x32f)](_0x335cb6));var _0x3a8d3b=_0x36bc67['blockSize'],_0x49a544=_0x3a8d3b*0x4;_0x335cb6[_0x41379d(0x2b2)]>_0x49a544&&(_0x335cb6=_0x36bc67[_0x41379d(0x23a)](_0x335cb6)),_0x335cb6[_0x41379d(0x279)]();for(var _0x33e808=this[_0x41379d(0x3c9)]=_0x335cb6['clone'](),_0x54664b=this['_iKey']=_0x335cb6[_0x41379d(0x255)](),_0x1bfbd6=_0x33e808['words'],_0x327e24=_0x54664b[_0x41379d(0x234)],_0x160f45=0x0;_0x160f45<_0x3a8d3b;_0x160f45++)_0x1bfbd6[_0x160f45]^=0x5c5c5c5c,_0x327e24[_0x160f45]^=0x36363636;_0x33e808[_0x41379d(0x2b2)]=_0x54664b[_0x41379d(0x2b2)]=_0x49a544,this[_0x41379d(0x49c)]();},'reset':function(){var _0x1238bd=_0x435147,_0x4d2ae6=this['_hasher'];_0x4d2ae6[_0x1238bd(0x49c)](),_0x4d2ae6[_0x1238bd(0x3a3)](this[_0x1238bd(0x213)]);},'update':function(_0x6ff649){var _0x54b627=_0x435147;return this[_0x54b627(0x268)]['update'](_0x6ff649),this;},'finalize':function(_0x4fa883){var _0x1bfa47=_0x435147,_0x3858ee=this[_0x1bfa47(0x268)],_0x27cab5=_0x3858ee[_0x1bfa47(0x23a)](_0x4fa883);_0x3858ee[_0x1bfa47(0x49c)]();var _0x43cf13=_0x3858ee[_0x1bfa47(0x23a)](this[_0x1bfa47(0x3c9)][_0x1bfa47(0x255)]()[_0x1bfa47(0x303)](_0x27cab5));return _0x43cf13;}});}());}));}(ze)),ze['exports'];}var On=Ye[_0x1e277(0x2a9)],ii;function wi(){var _0x32fc42=_0x1e277;return ii||(ii=0x1,function(_0x1184ba,_0x47f924){(function(_0x5755b3,_0x1550ad,_0x3203c1){var _0x4179e1=_0x4b30;_0x1184ba[_0x4179e1(0x2a9)]=_0x1550ad(ie(),Rn(),yn());}(On,function(_0x20b15a){var _0x266521=_0x4b30;return(function(){var _0x2702b2=_0x4b30,_0x5a30fd=_0x20b15a,_0x547c80=_0x5a30fd['lib'],_0x5acd30=_0x547c80['Base'],_0x4fc1c0=_0x547c80[_0x2702b2(0x389)],_0x34186a=_0x5a30fd['algo'],_0x7d55fb=_0x34186a['MD5'],_0x11836a=_0x34186a[_0x2702b2(0x31a)]=_0x5acd30[_0x2702b2(0x4a4)]({'cfg':_0x5acd30[_0x2702b2(0x4a4)]({'keySize':0x80/0x20,'hasher':_0x7d55fb,'iterations':0x1}),'init':function(_0x3e8bb4){var _0x593dec=_0x2702b2;this[_0x593dec(0x337)]=this[_0x593dec(0x337)][_0x593dec(0x4a4)](_0x3e8bb4);},'compute':function(_0x650bf8,_0x40b17a){var _0x17781d=_0x2702b2;for(var _0x53456c,_0xd2f2ee=this[_0x17781d(0x337)],_0x2fccc7=_0xd2f2ee[_0x17781d(0x2f2)][_0x17781d(0x1e3)](),_0x56dc5c=_0x4fc1c0[_0x17781d(0x1e3)](),_0x141bbc=_0x56dc5c[_0x17781d(0x234)],_0x273247=_0xd2f2ee[_0x17781d(0x29f)],_0x3beb8=_0xd2f2ee[_0x17781d(0x2fe)];_0x141bbc[_0x17781d(0x3d8)]<_0x273247;){_0x53456c&&_0x2fccc7[_0x17781d(0x3a3)](_0x53456c),_0x53456c=_0x2fccc7[_0x17781d(0x3a3)](_0x650bf8)[_0x17781d(0x23a)](_0x40b17a),_0x2fccc7[_0x17781d(0x49c)]();for(var _0x34113e=0x1;_0x34113e<_0x3beb8;_0x34113e++)_0x53456c=_0x2fccc7[_0x17781d(0x23a)](_0x53456c),_0x2fccc7[_0x17781d(0x49c)]();_0x56dc5c[_0x17781d(0x303)](_0x53456c);}return _0x56dc5c[_0x17781d(0x2b2)]=_0x273247*0x4,_0x56dc5c;}});_0x5a30fd[_0x2702b2(0x31a)]=function(_0x45396e,_0x838bfc,_0x44c12e){var _0x154673=_0x2702b2;return _0x11836a[_0x154673(0x1e3)](_0x44c12e)[_0x154673(0x31d)](_0x45396e,_0x838bfc);};}()),_0x20b15a[_0x266521(0x31a)];}));}(Ye)),Ye[_0x32fc42(0x2a9)];}var Je={'exports':{}},Nn=Je[_0x1e277(0x2a9)],ri;function Ui(){var _0x2276ff=_0x1e277;return ri||(ri=0x1,function(_0xa2d29b,_0x4a07eb){(function(_0x5e59ee,_0xf1a1f8,_0x595c79){_0xa2d29b['exports']=_0xf1a1f8(ie(),wi());}(Nn,function(_0x515cc7){var _0x47bea9=_0x4b30;_0x515cc7[_0x47bea9(0x425)]['Cipher']||function(_0x13b6a7){var _0x2b3c3a=_0x47bea9,_0x512d1d=_0x515cc7,_0xad470a=_0x512d1d['lib'],_0x516c64=_0xad470a[_0x2b3c3a(0x3de)],_0x44b7c6=_0xad470a[_0x2b3c3a(0x389)],_0x58e232=_0xad470a[_0x2b3c3a(0x25f)],_0x165ac3=_0x512d1d[_0x2b3c3a(0x3eb)];_0x165ac3[_0x2b3c3a(0x271)];var _0x455f37=_0x165ac3[_0x2b3c3a(0x3bb)],_0x343b75=_0x512d1d[_0x2b3c3a(0x499)],_0x2c1339=_0x343b75[_0x2b3c3a(0x31a)],_0x282455=_0xad470a[_0x2b3c3a(0x1c8)]=_0x58e232['extend']({'cfg':_0x516c64[_0x2b3c3a(0x4a4)](),'createEncryptor':function(_0x3962d8,_0x228f7a){var _0x3ddfa0=_0x2b3c3a;return this[_0x3ddfa0(0x1e3)](this[_0x3ddfa0(0x42d)],_0x3962d8,_0x228f7a);},'createDecryptor':function(_0x4cc12d,_0x15b04a){return this['create'](this['_DEC_XFORM_MODE'],_0x4cc12d,_0x15b04a);},'init':function(_0x309cb9,_0x3a6f82,_0x3a4011){var _0x201f45=_0x2b3c3a;this[_0x201f45(0x337)]=this['cfg'][_0x201f45(0x4a4)](_0x3a4011),this[_0x201f45(0x2d2)]=_0x309cb9,this[_0x201f45(0x22a)]=_0x3a6f82,this['reset']();},'reset':function(){var _0x1b9bac=_0x2b3c3a;_0x58e232[_0x1b9bac(0x49c)][_0x1b9bac(0x33a)](this),this['_doReset']();},'process':function(_0x28fe9c){var _0x5d88ba=_0x2b3c3a;return this['_append'](_0x28fe9c),this[_0x5d88ba(0x462)]();},'finalize':function(_0x3443cb){var _0x2aa065=_0x2b3c3a;_0x3443cb&&this[_0x2aa065(0x320)](_0x3443cb);var _0x516b5b=this[_0x2aa065(0x25b)]();return _0x516b5b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d06c2(_0x4a59a){var _0x4e7c9f=_0x4b30;return typeof _0x4a59a==_0x4e7c9f(0x27d)?_0xf6a50e:_0x4116a5;}return function(_0x216ac7){return{'encrypt':function(_0x152dd6,_0x2a89c1,_0x2aec5d){var _0x3f056d=_0x4b30;return _0x3d06c2(_0x2a89c1)[_0x3f056d(0x2ab)](_0x216ac7,_0x152dd6,_0x2a89c1,_0x2aec5d);},'decrypt':function(_0x114c3a,_0x28a59c,_0x58002d){return _0x3d06c2(_0x28a59c)['decrypt'](_0x216ac7,_0x114c3a,_0x28a59c,_0x58002d);}};};}())});_0xad470a[_0x2b3c3a(0x212)]=_0x282455[_0x2b3c3a(0x4a4)]({'_doFinalize':function(){var _0x1fed1e=this['_process'](!0x0);return _0x1fed1e;},'blockSize':0x1});var _0x14748f=_0x512d1d[_0x2b3c3a(0x3da)]={},_0x1ec370=_0xad470a['BlockCipherMode']=_0x516c64[_0x2b3c3a(0x4a4)]({'createEncryptor':function(_0x251392,_0x176577){var _0x16c43a=_0x2b3c3a;return this[_0x16c43a(0x3dd)][_0x16c43a(0x1e3)](_0x251392,_0x176577);},'createDecryptor':function(_0x227d28,_0x158014){var _0x3a6de7=_0x2b3c3a;return this[_0x3a6de7(0x225)][_0x3a6de7(0x1e3)](_0x227d28,_0x158014);},'init':function(_0x5683bb,_0x432f5d){this['_cipher']=_0x5683bb,this['_iv']=_0x432f5d;}}),_0x4afc7b=_0x14748f['CBC']=(function(){var _0x488cca=_0x2b3c3a,_0x5e7ef3=_0x1ec370['extend']();_0x5e7ef3[_0x488cca(0x3dd)]=_0x5e7ef3[_0x488cca(0x4a4)]({'processBlock':function(_0x52ff03,_0x4c10fd){var _0x1da00a=_0x488cca,_0x29b5d6=this[_0x1da00a(0x28d)],_0x449beb=_0x29b5d6['blockSize'];_0x2491c6[_0x1da00a(0x33a)](this,_0x52ff03,_0x4c10fd,_0x449beb),_0x29b5d6[_0x1da00a(0x3d3)](_0x52ff03,_0x4c10fd),this['_prevBlock']=_0x52ff03[_0x1da00a(0x1de)](_0x4c10fd,_0x4c10fd+_0x449beb);}}),_0x5e7ef3[_0x488cca(0x225)]=_0x5e7ef3[_0x488cca(0x4a4)]({'processBlock':function(_0x308b49,_0x3d59e5){var _0x23c3c1=_0x488cca,_0x5c837b=this[_0x23c3c1(0x28d)],_0x3ee82e=_0x5c837b[_0x23c3c1(0x207)],_0x1231e4=_0x308b49[_0x23c3c1(0x1de)](_0x3d59e5,_0x3d59e5+_0x3ee82e);_0x5c837b['decryptBlock'](_0x308b49,_0x3d59e5),_0x2491c6['call'](this,_0x308b49,_0x3d59e5,_0x3ee82e),this[_0x23c3c1(0x2fa)]=_0x1231e4;}});function _0x2491c6(_0x48b263,_0x3812ea,_0x4c7782){var _0x462b38=_0x488cca,_0x3ab77b,_0x210e88=this[_0x462b38(0x265)];_0x210e88?(_0x3ab77b=_0x210e88,this[_0x462b38(0x265)]=_0x13b6a7):_0x3ab77b=this[_0x462b38(0x2fa)];for(var _0x54dd53=0x0;_0x54dd53<_0x4c7782;_0x54dd53++)_0x48b263[_0x3812ea+_0x54dd53]^=_0x3ab77b[_0x54dd53];}return _0x5e7ef3;}()),_0x101728=_0x512d1d[_0x2b3c3a(0x379)]={},_0x34467b=_0x101728[_0x2b3c3a(0x31e)]={'pad':function(_0x5a0835,_0x508137){var _0x5b3692=_0x2b3c3a;for(var _0x2dd1cd=_0x508137*0x4,_0x45f959=_0x2dd1cd-_0x5a0835['sigBytes']%_0x2dd1cd,_0x1b1c35=_0x45f959<<0x18|_0x45f959<<0x10|_0x45f959<<0x8|_0x45f959,_0xeff6f6=[],_0xf271e7=0x0;_0xf271e7<_0x45f959;_0xf271e7+=0x4)_0xeff6f6['push'](_0x1b1c35);var _0x5019a0=_0x44b7c6[_0x5b3692(0x1e3)](_0xeff6f6,_0x45f959);_0x5a0835[_0x5b3692(0x303)](_0x5019a0);},'unpad':function(_0x483331){var _0x49e590=_0x2b3c3a,_0x1a87dc=_0x483331[_0x49e590(0x234)][_0x483331[_0x49e590(0x2b2)]-0x1>>>0x2]&0xff;_0x483331[_0x49e590(0x2b2)]-=_0x1a87dc;}};_0xad470a[_0x2b3c3a(0x308)]=_0x282455[_0x2b3c3a(0x4a4)]({'cfg':_0x282455[_0x2b3c3a(0x337)][_0x2b3c3a(0x4a4)]({'mode':_0x4afc7b,'padding':_0x34467b}),'reset':function(){var _0x5c6f56=_0x2b3c3a,_0x42bb59;_0x282455[_0x5c6f56(0x49c)][_0x5c6f56(0x33a)](this);var _0x46b170=this[_0x5c6f56(0x337)],_0x504d60=_0x46b170['iv'],_0xc08771=_0x46b170[_0x5c6f56(0x3da)];this[_0x5c6f56(0x2d2)]==this[_0x5c6f56(0x42d)]?_0x42bb59=_0xc08771[_0x5c6f56(0x2a7)]:(_0x42bb59=_0xc08771[_0x5c6f56(0x380)],this[_0x5c6f56(0x33b)]=0x1),this[_0x5c6f56(0x25d)]&&this[_0x5c6f56(0x25d)][_0x5c6f56(0x407)]==_0x42bb59?this[_0x5c6f56(0x25d)][_0x5c6f56(0x442)](this,_0x504d60&&_0x504d60['words']):(this[_0x5c6f56(0x25d)]=_0x42bb59[_0x5c6f56(0x33a)](_0xc08771,this,_0x504d60&&_0x504d60[_0x5c6f56(0x234)]),this[_0x5c6f56(0x25d)][_0x5c6f56(0x407)]=_0x42bb59);},'_doProcessBlock':function(_0x25c95a,_0x2ec29c){this['_mode']['processBlock'](_0x25c95a,_0x2ec29c);},'_doFinalize':function(){var _0x42f4d3=_0x2b3c3a,_0x38f193,_0x1eb375=this['cfg'][_0x42f4d3(0x1fe)];return this[_0x42f4d3(0x2d2)]==this[_0x42f4d3(0x42d)]?(_0x1eb375['pad'](this[_0x42f4d3(0x1dc)],this[_0x42f4d3(0x207)]),_0x38f193=this[_0x42f4d3(0x462)](!0x0)):(_0x38f193=this[_0x42f4d3(0x462)](!0x0),_0x1eb375[_0x42f4d3(0x3ca)](_0x38f193)),_0x38f193;},'blockSize':0x80/0x20});var _0x16f8dd=_0xad470a[_0x2b3c3a(0x35a)]=_0x516c64[_0x2b3c3a(0x4a4)]({'init':function(_0x2fe1b4){var _0x57fa2c=_0x2b3c3a;this[_0x57fa2c(0x30f)](_0x2fe1b4);},'toString':function(_0x59b2df){return(_0x59b2df||this['formatter'])['stringify'](this);}}),_0x19f085=_0x512d1d[_0x2b3c3a(0x3e7)]={},_0x33ead6=_0x19f085[_0x2b3c3a(0x404)]={'stringify':function(_0x2fb6ff){var _0x42a710=_0x2b3c3a,_0x29d69c,_0x4c8b82=_0x2fb6ff[_0x42a710(0x368)],_0xaecf53=_0x2fb6ff[_0x42a710(0x484)];return _0xaecf53?_0x29d69c=_0x44b7c6[_0x42a710(0x1e3)]([0x53616c74,0x65645f5f])[_0x42a710(0x303)](_0xaecf53)[_0x42a710(0x303)](_0x4c8b82):_0x29d69c=_0x4c8b82,_0x29d69c['toString'](_0x455f37);},'parse':function(_0x134cdf){var _0x594592=_0x2b3c3a,_0x2057b6,_0x42e3e2=_0x455f37[_0x594592(0x32f)](_0x134cdf),_0x5bb93b=_0x42e3e2[_0x594592(0x234)];return _0x5bb93b[0x0]==0x53616c74&&_0x5bb93b[0x1]==0x65645f5f&&(_0x2057b6=_0x44b7c6[_0x594592(0x1e3)](_0x5bb93b[_0x594592(0x1de)](0x2,0x4)),_0x5bb93b[_0x594592(0x1df)](0x0,0x4),_0x42e3e2[_0x594592(0x2b2)]-=0x10),_0x16f8dd[_0x594592(0x1e3)]({'ciphertext':_0x42e3e2,'salt':_0x2057b6});}},_0x4116a5=_0xad470a[_0x2b3c3a(0x2ee)]=_0x516c64[_0x2b3c3a(0x4a4)]({'cfg':_0x516c64[_0x2b3c3a(0x4a4)]({'format':_0x33ead6}),'encrypt':function(_0x119a14,_0x4d8ff0,_0x111ef1,_0x2ecfb4){var _0x29edca=_0x2b3c3a;_0x2ecfb4=this['cfg']['extend'](_0x2ecfb4);var _0x4ebd99=_0x119a14[_0x29edca(0x2a7)](_0x111ef1,_0x2ecfb4),_0x25dd21=_0x4ebd99['finalize'](_0x4d8ff0),_0x1e20b8=_0x4ebd99[_0x29edca(0x337)];return _0x16f8dd[_0x29edca(0x1e3)]({'ciphertext':_0x25dd21,'key':_0x111ef1,'iv':_0x1e20b8['iv'],'algorithm':_0x119a14,'mode':_0x1e20b8[_0x29edca(0x3da)],'padding':_0x1e20b8[_0x29edca(0x1fe)],'blockSize':_0x119a14[_0x29edca(0x207)],'formatter':_0x2ecfb4[_0x29edca(0x3e7)]});},'decrypt':function(_0x12983e,_0x32702b,_0x3ed8f5,_0x14a417){var _0x5ce86a=_0x2b3c3a;_0x14a417=this['cfg'][_0x5ce86a(0x4a4)](_0x14a417),_0x32702b=this['_parse'](_0x32702b,_0x14a417[_0x5ce86a(0x3e7)]);var _0x4ba2d5=_0x12983e[_0x5ce86a(0x380)](_0x3ed8f5,_0x14a417)[_0x5ce86a(0x23a)](_0x32702b['ciphertext']);return _0x4ba2d5;},'_parse':function(_0x174a0a,_0x13c7e4){var _0x73571b=_0x2b3c3a;return typeof _0x174a0a==_0x73571b(0x27d)?_0x13c7e4[_0x73571b(0x32f)](_0x174a0a,this):_0x174a0a;}}),_0x18ddfb=_0x512d1d['kdf']={},_0x425595=_0x18ddfb['OpenSSL']={'execute':function(_0x23b969,_0x5b69b4,_0x2eabfe,_0xe72549,_0x1848c6){var _0x3cf778=_0x2b3c3a;if(_0xe72549||(_0xe72549=_0x44b7c6[_0x3cf778(0x44b)](0x40/0x8)),_0x1848c6)var _0xf00739=_0x2c1339['create']({'keySize':_0x5b69b4+_0x2eabfe,'hasher':_0x1848c6})[_0x3cf778(0x31d)](_0x23b969,_0xe72549);else var _0xf00739=_0x2c1339[_0x3cf778(0x1e3)]({'keySize':_0x5b69b4+_0x2eabfe})['compute'](_0x23b969,_0xe72549);var _0x3a9378=_0x44b7c6['create'](_0xf00739[_0x3cf778(0x234)][_0x3cf778(0x1de)](_0x5b69b4),_0x2eabfe*0x4);return _0xf00739['sigBytes']=_0x5b69b4*0x4,_0x16f8dd['create']({'key':_0xf00739,'iv':_0x3a9378,'salt':_0xe72549});}},_0xf6a50e=_0xad470a[_0x2b3c3a(0x392)]=_0x4116a5['extend']({'cfg':_0x4116a5['cfg']['extend']({'kdf':_0x425595}),'encrypt':function(_0x42423d,_0x442cd0,_0x494723,_0xaaf8d){var _0x1f4fc5=_0x2b3c3a;_0xaaf8d=this[_0x1f4fc5(0x337)]['extend'](_0xaaf8d);var _0x4531f7=_0xaaf8d[_0x1f4fc5(0x1b0)][_0x1f4fc5(0x26f)](_0x494723,_0x42423d[_0x1f4fc5(0x29f)],_0x42423d[_0x1f4fc5(0x2ea)],_0xaaf8d[_0x1f4fc5(0x484)],_0xaaf8d[_0x1f4fc5(0x2f2)]);_0xaaf8d['iv']=_0x4531f7['iv'];var _0x8a943a=_0x4116a5[_0x1f4fc5(0x2ab)][_0x1f4fc5(0x33a)](this,_0x42423d,_0x442cd0,_0x4531f7[_0x1f4fc5(0x2bb)],_0xaaf8d);return _0x8a943a[_0x1f4fc5(0x30f)](_0x4531f7),_0x8a943a;},'decrypt':function(_0x9f1916,_0x4f2ca0,_0x30321a,_0x446717){var _0x345bf8=_0x2b3c3a;_0x446717=this['cfg'][_0x345bf8(0x4a4)](_0x446717),_0x4f2ca0=this[_0x345bf8(0x3f7)](_0x4f2ca0,_0x446717[_0x345bf8(0x3e7)]);var _0x3d2e37=_0x446717[_0x345bf8(0x1b0)]['execute'](_0x30321a,_0x9f1916[_0x345bf8(0x29f)],_0x9f1916[_0x345bf8(0x2ea)],_0x4f2ca0[_0x345bf8(0x484)],_0x446717[_0x345bf8(0x2f2)]);_0x446717['iv']=_0x3d2e37['iv'];var _0x21120e=_0x4116a5[_0x345bf8(0x43e)][_0x345bf8(0x33a)](this,_0x9f1916,_0x4f2ca0,_0x3d2e37['key'],_0x446717);return _0x21120e;}});}();}));}(Je)),Je[_0x2276ff(0x2a9)];}var Dn=Ge[_0x1e277(0x2a9)],ni;function wn(){return ni||(ni=0x1,function(_0x61a6d,_0x23af4b){(function(_0x49634e,_0x40f1f9,_0x58db5d){var _0x124bde=_0x4b30;_0x61a6d[_0x124bde(0x2a9)]=_0x40f1f9(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x2c0982){var _0x4cec50=_0x4b30;return(function(){var _0xc0eded=_0x4b30,_0xef677=_0x2c0982,_0x52aca3=_0xef677[_0xc0eded(0x425)],_0x34e11e=_0x52aca3['BlockCipher'],_0xa5ae4=_0xef677[_0xc0eded(0x499)],_0x5e5103=[],_0x25f65d=[],_0x5da9e6=[],_0x46b1bc=[],_0x8cd691=[],_0x48bab8=[],_0x53c544=[],_0x15cc08=[],_0x58841a=[],_0x1aceb3=[];(function(){for(var _0x112cca=[],_0x215c03=0x0;_0x215c03<0x100;_0x215c03++)_0x215c03<0x80?_0x112cca[_0x215c03]=_0x215c03<<0x1:_0x112cca[_0x215c03]=_0x215c03<<0x1^0x11b;for(var _0x5115cc=0x0,_0x249966=0x0,_0x215c03=0x0;_0x215c03<0x100;_0x215c03++){var _0x178724=_0x249966^_0x249966<<0x1^_0x249966<<0x2^_0x249966<<0x3^_0x249966<<0x4;_0x178724=_0x178724>>>0x8^_0x178724&0xff^0x63,_0x5e5103[_0x5115cc]=_0x178724,_0x25f65d[_0x178724]=_0x5115cc;var _0x1a2c58=_0x112cca[_0x5115cc],_0x194e14=_0x112cca[_0x1a2c58],_0x3d1e8f=_0x112cca[_0x194e14],_0x2ff3e9=_0x112cca[_0x178724]*0x101^_0x178724*0x1010100;_0x5da9e6[_0x5115cc]=_0x2ff3e9<<0x18|_0x2ff3e9>>>0x8,_0x46b1bc[_0x5115cc]=_0x2ff3e9<<0x10|_0x2ff3e9>>>0x10,_0x8cd691[_0x5115cc]=_0x2ff3e9<<0x8|_0x2ff3e9>>>0x18,_0x48bab8[_0x5115cc]=_0x2ff3e9;var _0x2ff3e9=_0x3d1e8f*0x1010101^_0x194e14*0x10001^_0x1a2c58*0x101^_0x5115cc*0x1010100;_0x53c544[_0x178724]=_0x2ff3e9<<0x18|_0x2ff3e9>>>0x8,_0x15cc08[_0x178724]=_0x2ff3e9<<0x10|_0x2ff3e9>>>0x10,_0x58841a[_0x178724]=_0x2ff3e9<<0x8|_0x2ff3e9>>>0x18,_0x1aceb3[_0x178724]=_0x2ff3e9,_0x5115cc?(_0x5115cc=_0x1a2c58^_0x112cca[_0x112cca[_0x112cca[_0x3d1e8f^_0x1a2c58]]],_0x249966^=_0x112cca[_0x112cca[_0x249966]]):_0x5115cc=_0x249966=0x1;}}());var _0x286360=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe552dc=_0xa5ae4['AES']=_0x34e11e[_0xc0eded(0x4a4)]({'_doReset':function(){var _0x51feb4=_0xc0eded,_0x19ff76;if(!(this[_0x51feb4(0x276)]&&this['_keyPriorReset']===this[_0x51feb4(0x22a)])){for(var _0x4ed8ac=this['_keyPriorReset']=this[_0x51feb4(0x22a)],_0x42dd2f=_0x4ed8ac[_0x51feb4(0x234)],_0x82c49d=_0x4ed8ac[_0x51feb4(0x2b2)]/0x4,_0x418207=this[_0x51feb4(0x276)]=_0x82c49d+0x6,_0x74424a=(_0x418207+0x1)*0x4,_0x39b29f=this[_0x51feb4(0x1d6)]=[],_0x27c746=0x0;_0x27c746<_0x74424a;_0x27c746++)_0x27c746<_0x82c49d?_0x39b29f[_0x27c746]=_0x42dd2f[_0x27c746]:(_0x19ff76=_0x39b29f[_0x27c746-0x1],_0x27c746%_0x82c49d?_0x82c49d>0x6&&_0x27c746%_0x82c49d==0x4&&(_0x19ff76=_0x5e5103[_0x19ff76>>>0x18]<<0x18|_0x5e5103[_0x19ff76>>>0x10&0xff]<<0x10|_0x5e5103[_0x19ff76>>>0x8&0xff]<<0x8|_0x5e5103[_0x19ff76&0xff]):(_0x19ff76=_0x19ff76<<0x8|_0x19ff76>>>0x18,_0x19ff76=_0x5e5103[_0x19ff76>>>0x18]<<0x18|_0x5e5103[_0x19ff76>>>0x10&0xff]<<0x10|_0x5e5103[_0x19ff76>>>0x8&0xff]<<0x8|_0x5e5103[_0x19ff76&0xff],_0x19ff76^=_0x286360[_0x27c746/_0x82c49d|0x0]<<0x18),_0x39b29f[_0x27c746]=_0x39b29f[_0x27c746-_0x82c49d]^_0x19ff76);for(var _0x56cba3=this['_invKeySchedule']=[],_0x4f3bc5=0x0;_0x4f3bc5<_0x74424a;_0x4f3bc5++){var _0x27c746=_0x74424a-_0x4f3bc5;if(_0x4f3bc5%0x4)var _0x19ff76=_0x39b29f[_0x27c746];else var _0x19ff76=_0x39b29f[_0x27c746-0x4];_0x4f3bc5<0x4||_0x27c746<=0x4?_0x56cba3[_0x4f3bc5]=_0x19ff76:_0x56cba3[_0x4f3bc5]=_0x53c544[_0x5e5103[_0x19ff76>>>0x18]]^_0x15cc08[_0x5e5103[_0x19ff76>>>0x10&0xff]]^_0x58841a[_0x5e5103[_0x19ff76>>>0x8&0xff]]^_0x1aceb3[_0x5e5103[_0x19ff76&0xff]];}}},'encryptBlock':function(_0x51fd2d,_0x17f2c5){var _0x5a99ef=_0xc0eded;this['_doCryptBlock'](_0x51fd2d,_0x17f2c5,this[_0x5a99ef(0x1d6)],_0x5da9e6,_0x46b1bc,_0x8cd691,_0x48bab8,_0x5e5103);},'decryptBlock':function(_0x138d99,_0x530585){var _0x2d1015=_0xc0eded,_0x527a01=_0x138d99[_0x530585+0x1];_0x138d99[_0x530585+0x1]=_0x138d99[_0x530585+0x3],_0x138d99[_0x530585+0x3]=_0x527a01,this[_0x2d1015(0x4ae)](_0x138d99,_0x530585,this[_0x2d1015(0x342)],_0x53c544,_0x15cc08,_0x58841a,_0x1aceb3,_0x25f65d);var _0x527a01=_0x138d99[_0x530585+0x1];_0x138d99[_0x530585+0x1]=_0x138d99[_0x530585+0x3],_0x138d99[_0x530585+0x3]=_0x527a01;},'_doCryptBlock':function(_0x21a2a0,_0x9837bb,_0x287e61,_0x3a4ad0,_0x343f27,_0x33b0bc,_0xb39423,_0x35638e){var _0x566dde=_0xc0eded;for(var _0x3b24a1=this[_0x566dde(0x276)],_0x3aa70f=_0x21a2a0[_0x9837bb]^_0x287e61[0x0],_0x46539a=_0x21a2a0[_0x9837bb+0x1]^_0x287e61[0x1],_0x3bbd2c=_0x21a2a0[_0x9837bb+0x2]^_0x287e61[0x2],_0x19ab22=_0x21a2a0[_0x9837bb+0x3]^_0x287e61[0x3],_0xcb3fd3=0x4,_0x3e3551=0x1;_0x3e3551<_0x3b24a1;_0x3e3551++){var _0x43e1d7=_0x3a4ad0[_0x3aa70f>>>0x18]^_0x343f27[_0x46539a>>>0x10&0xff]^_0x33b0bc[_0x3bbd2c>>>0x8&0xff]^_0xb39423[_0x19ab22&0xff]^_0x287e61[_0xcb3fd3++],_0x5c31e5=_0x3a4ad0[_0x46539a>>>0x18]^_0x343f27[_0x3bbd2c>>>0x10&0xff]^_0x33b0bc[_0x19ab22>>>0x8&0xff]^_0xb39423[_0x3aa70f&0xff]^_0x287e61[_0xcb3fd3++],_0x5f3046=_0x3a4ad0[_0x3bbd2c>>>0x18]^_0x343f27[_0x19ab22>>>0x10&0xff]^_0x33b0bc[_0x3aa70f>>>0x8&0xff]^_0xb39423[_0x46539a&0xff]^_0x287e61[_0xcb3fd3++],_0x14ef65=_0x3a4ad0[_0x19ab22>>>0x18]^_0x343f27[_0x3aa70f>>>0x10&0xff]^_0x33b0bc[_0x46539a>>>0x8&0xff]^_0xb39423[_0x3bbd2c&0xff]^_0x287e61[_0xcb3fd3++];_0x3aa70f=_0x43e1d7,_0x46539a=_0x5c31e5,_0x3bbd2c=_0x5f3046,_0x19ab22=_0x14ef65;}var _0x43e1d7=(_0x35638e[_0x3aa70f>>>0x18]<<0x18|_0x35638e[_0x46539a>>>0x10&0xff]<<0x10|_0x35638e[_0x3bbd2c>>>0x8&0xff]<<0x8|_0x35638e[_0x19ab22&0xff])^_0x287e61[_0xcb3fd3++],_0x5c31e5=(_0x35638e[_0x46539a>>>0x18]<<0x18|_0x35638e[_0x3bbd2c>>>0x10&0xff]<<0x10|_0x35638e[_0x19ab22>>>0x8&0xff]<<0x8|_0x35638e[_0x3aa70f&0xff])^_0x287e61[_0xcb3fd3++],_0x5f3046=(_0x35638e[_0x3bbd2c>>>0x18]<<0x18|_0x35638e[_0x19ab22>>>0x10&0xff]<<0x10|_0x35638e[_0x3aa70f>>>0x8&0xff]<<0x8|_0x35638e[_0x46539a&0xff])^_0x287e61[_0xcb3fd3++],_0x14ef65=(_0x35638e[_0x19ab22>>>0x18]<<0x18|_0x35638e[_0x3aa70f>>>0x10&0xff]<<0x10|_0x35638e[_0x46539a>>>0x8&0xff]<<0x8|_0x35638e[_0x3bbd2c&0xff])^_0x287e61[_0xcb3fd3++];_0x21a2a0[_0x9837bb]=_0x43e1d7,_0x21a2a0[_0x9837bb+0x1]=_0x5c31e5,_0x21a2a0[_0x9837bb+0x2]=_0x5f3046,_0x21a2a0[_0x9837bb+0x3]=_0x14ef65;},'keySize':0x100/0x20});_0xef677[_0xc0eded(0x469)]=_0x34e11e['_createHelper'](_0xe552dc);}()),_0x2c0982[_0x4cec50(0x469)];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe['exports'],oi;function Ln(){var _0x2335e2=_0x1e277;return oi||(oi=0x1,function(_0x4b9b76,_0x42c5d2){(function(_0x270e45,_0x109e65){_0x4b9b76['exports']=_0x109e65(ie());}(xn,function(_0x4ecb8d){var _0x2ad190=_0x4b30;return _0x4ecb8d[_0x2ad190(0x3eb)][_0x2ad190(0x271)];}));}(Xe)),Xe[_0x2335e2(0x2a9)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){var _0x2bb17e=_0x1e277;return ai||(ai=0x1,function(_0x2fb588,_0xa299c0){(function(_0x43936d,_0x3cbed9){var _0x860b7b=_0x4b30;_0x2fb588[_0x860b7b(0x2a9)]=_0x3cbed9(ie());}($n,function(_0x135d93){var _0x37d622=_0x4b30;return(function(){var _0x382fc6=_0x4b30;if(typeof ArrayBuffer==_0x382fc6(0x1ea)){var _0x11750d=_0x135d93,_0x438620=_0x11750d['lib'],_0x3a9641=_0x438620[_0x382fc6(0x389)],_0x46ccf9=_0x3a9641[_0x382fc6(0x442)],_0x140a89=_0x3a9641[_0x382fc6(0x442)]=function(_0x1f28fa){var _0x4dd1be=_0x382fc6;if(_0x1f28fa instanceof ArrayBuffer&&(_0x1f28fa=new Uint8Array(_0x1f28fa)),(_0x1f28fa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1f28fa instanceof Uint8ClampedArray||_0x1f28fa instanceof Int16Array||_0x1f28fa instanceof Uint16Array||_0x1f28fa instanceof Int32Array||_0x1f28fa instanceof Uint32Array||_0x1f28fa instanceof Float32Array||_0x1f28fa instanceof Float64Array)&&(_0x1f28fa=new Uint8Array(_0x1f28fa['buffer'],_0x1f28fa[_0x4dd1be(0x35c)],_0x1f28fa[_0x4dd1be(0x444)])),_0x1f28fa instanceof Uint8Array){for(var _0x32433a=_0x1f28fa[_0x4dd1be(0x444)],_0x235110=[],_0x95fa7c=0x0;_0x95fa7c<_0x32433a;_0x95fa7c++)_0x235110[_0x95fa7c>>>0x2]|=_0x1f28fa[_0x95fa7c]<<0x18-_0x95fa7c%0x4*0x8;_0x46ccf9[_0x4dd1be(0x33a)](this,_0x235110,_0x32433a);}else _0x46ccf9[_0x4dd1be(0x47a)](this,arguments);};_0x140a89[_0x382fc6(0x29d)]=_0x3a9641;}}()),_0x135d93[_0x37d622(0x425)][_0x37d622(0x389)];}));}(Ze)),Ze[_0x2bb17e(0x2a9)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x1e277(0x2a9)],ci;function Gn(){var _0x1097a6=_0x1e277;return ci||(ci=0x1,function(_0x1ffb63,_0xd75e88){(function(_0x21510d,_0x22a33e,_0x5770a1){var _0x35513a=_0x4b30;_0x1ffb63[_0x35513a(0x2a9)]=_0x22a33e(ie(),Ui());}(Fn,function(_0x4dffc0){var _0x4c75f6=_0x4b30;return _0x4dffc0[_0x4c75f6(0x379)][_0x4c75f6(0x363)]={'pad':function(){},'unpad':function(){}},_0x4dffc0['pad'][_0x4c75f6(0x363)];}));}(Qe)),Qe[_0x1097a6(0x2a9)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x12bdb0,_0x4ddd3b){var _0x12aa5c=_0x1e277;const _0x111085=_0x4ddd3b-_0x12bdb0[_0x12aa5c(0x3d8)]%_0x4ddd3b,_0x572e79=String['fromCharCode'](_0x111085)[_0x12aa5c(0x2c7)](_0x111085);return _0x12bdb0+_0x572e79;}function Yn(_0xd6b9e3,_0x199e31){var _0x5eba70=_0x1e277;const _0x5c784a=jn[_0x5eba70(0x44b)](0x10),_0x24d260=Kn(_0xd6b9e3,0x10),_0x410dd0=An['encrypt'](kn[_0x5eba70(0x32f)](_0x24d260),si[_0x5eba70(0x32f)](_0x199e31),{'iv':_0x5c784a,'padding':Wn});return _0x5c784a[_0x5eba70(0x303)](_0x410dd0[_0x5eba70(0x368)])[_0x5eba70(0x1fa)](si);}function qn(){var _0x55b55f=_0x1e277;const _0x181ad2=_0x20f643()['__Key__'];if(_0x181ad2){const _0x3c80a8={'time':Math[_0x55b55f(0x1d2)](Date[_0x55b55f(0x4a1)]()/0x3e8),'domain':location[_0x55b55f(0x351)]};return Yn(JSON[_0x55b55f(0x45c)](_0x3c80a8),_0x181ad2);}}var zn=Object[_0x1e277(0x2d7)],Jn=(_0x2a2722,_0x1c2ca6,_0x3f3660,_0x2ff160)=>{var _0x327dd0=_0x1e277;for(var _0x4c84a1=_0x2ff160>0x1?void 0x0:_0x2ff160?zn(_0x1c2ca6,_0x3f3660):_0x1c2ca6,_0x267838=_0x2a2722[_0x327dd0(0x3d8)]-0x1,_0x123225;_0x267838>=0x0;_0x267838--)(_0x123225=_0x2a2722[_0x267838])&&(_0x4c84a1=_0x123225(_0x4c84a1)||_0x4c84a1);return _0x4c84a1;},Xn=(_0x362ce1,_0x59b5f6)=>(_0x5a106f,_0x4c935d)=>_0x59b5f6(_0x5a106f,_0x4c935d,_0x362ce1);let ot=class{constructor(_0xad3330){var _0x49b35e=_0x1e277;this[_0x49b35e(0x488)]=_0xad3330,this['_initRequestHeader']();}[_0x1e277(0x2c8)](){var _0x2d671f=_0x1e277;this[_0x2d671f(0x488)][_0x2d671f(0x2b9)]({'interceptor':(_0x464146,_0xaa228f)=>{var _0x3e9483=_0x2d671f;const _0x1d1c59=_0x464146[_0x3e9483(0x28e)],_0x5a8739=qn();return _0x5a8739&&_0x1d1c59[_0x3e9483(0x2af)](_0x3e9483(0x2c6),_0x5a8739),_0xaa228f(_0x464146);}});}};ot=Jn([Xn(0x0,_0x92794a(_0x27ecf6))],ot);var Zn=Object[_0x1e277(0x2d7)],Qn=(_0x452b33,_0x1a9f4f,_0x2c8317,_0x45014b)=>{var _0x3c725c=_0x1e277;for(var _0x4e85f4=_0x45014b>0x1?void 0x0:_0x45014b?Zn(_0x1a9f4f,_0x2c8317):_0x1a9f4f,_0x476a9f=_0x452b33[_0x3c725c(0x3d8)]-0x1,_0x147fcd;_0x476a9f>=0x0;_0x476a9f--)(_0x147fcd=_0x452b33[_0x476a9f])&&(_0x4e85f4=_0x147fcd(_0x4e85f4)||_0x4e85f4);return _0x4e85f4;},mt=(_0x30e1e4,_0x2ea42d)=>(_0x148716,_0x5bbee0)=>_0x2ea42d(_0x148716,_0x5bbee0,_0x30e1e4);let bt=class extends _0xc2f0c0{constructor(_0x160de9,_0x3d15f0,_0x172a15){var _0x28f165=_0x1e277;super(),N(this,'_unitInfo$',new _0x2e2086(null)),N(this,_0x28f165(0x20e),this[_0x28f165(0x3d6)][_0x28f165(0x2be)]()),(this['_logService']=_0x160de9,this[_0x28f165(0x287)]=_0x3d15f0,this[_0x28f165(0x343)]=_0x172a15);}async[_0x1e277(0x4a7)](_0x48ae8a,_0x59c58d,_0xd7811f){var _0x3bf31c=_0x1e277;this[_0x3bf31c(0x3d6)]['next']({'unitId':_0x48ae8a,'type':_0x59c58d,'subUnitId':_0xd7811f});let _0x5e80d7=null;switch(_0x59c58d){case Q['UNIVER_SHEET']:{_0x5e80d7=await this[_0x3bf31c(0x361)](_0x48ae8a);break;}case Q[_0x3bf31c(0x202)]:{_0x5e80d7=await this[_0x3bf31c(0x2c4)](_0x48ae8a);break;}default:{this['_logService'][_0x3bf31c(0x1ac)](_0x3bf31c(0x41e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5e80d7;}async[_0x1e277(0x361)](_0x1a2c7f){var _0x3714f7=_0x1e277,_0x1f4bd7;let _0x2d3e84=0x0;const _0x9db026=await((_0x1f4bd7=this['_localCacheService'])==null?void 0x0:_0x1f4bd7[_0x3714f7(0x46a)](_0x1a2c7f));return _0x9db026&&(_0x9db026[_0x3714f7(0x2d4)]||_0x9db026[_0x3714f7(0x35b)][_0x3714f7(0x3d8)]!==0x0)&&(_0x2d3e84=_0x9db026['rev']),_0x2d3e84===0x0&&this[_0x3714f7(0x475)][_0x3714f7(0x359)](_0x3714f7(0x41e),_0x3714f7(0x23b)),this[_0x3714f7(0x287)][_0x3714f7(0x37a)](_0x1a2c7f,_0x2d3e84);}async[_0x1e277(0x2c4)](_0x5ab1ec){var _0x50b95d=_0x1e277,_0x842a6c;let _0x1f5bc7=0x0;const _0x317365=await((_0x842a6c=this[_0x50b95d(0x343)])==null?void 0x0:_0x842a6c['loadOfflineData'](_0x5ab1ec));return _0x317365&&(_0x317365[_0x50b95d(0x2d4)]||_0x317365[_0x50b95d(0x35b)][_0x50b95d(0x3d8)]!==0x0)&&(_0x1f5bc7=_0x317365[_0x50b95d(0x4a0)]),_0x1f5bc7===0x0&&this[_0x50b95d(0x475)][_0x50b95d(0x359)](_0x50b95d(0x41e),_0x50b95d(0x23b)),this[_0x50b95d(0x287)][_0x50b95d(0x40d)](_0x5ab1ec,_0x1f5bc7);}};bt=Qn([mt(0x0,_0x431844),mt(0x1,_0x92794a(_0x342dbb)),mt(0x2,_0x1c6146(J))],bt);var es=Object[_0x1e277(0x2d7)],ts=(_0x34e6b0,_0x560be6,_0x3a4b29,_0x5d299a)=>{for(var _0x11d861=_0x5d299a>0x1?void 0x0:_0x5d299a?es(_0x560be6,_0x3a4b29):_0x560be6,_0x214712=_0x34e6b0['length']-0x1,_0x422257;_0x214712>=0x0;_0x214712--)(_0x422257=_0x34e6b0[_0x214712])&&(_0x11d861=_0x422257(_0x11d861)||_0x11d861);return _0x11d861;},gt=(_0x20f840,_0x1d7d0d)=>(_0x49d348,_0xab1aa5)=>_0x1d7d0d(_0x49d348,_0xab1aa5,_0x20f840);const is=['image/png','image/jpeg','image/jpg',_0x1e277(0x3d9),_0x1e277(0x325)],rs=0x5*0x400*0x400,ns=_0x1e277(0x2db),ss=_0x1e277(0x2fc),os=_0x1e277(0x405),as=_0x1e277(0x297);let yt=class{constructor(_0x311c92,_0x54284a,_0x6d3d7a){var _0xa2872d=_0x1e277;N(this,_0xa2872d(0x49d),0x0),N(this,_0xa2872d(0x402),new _0x41236f()),N(this,_0xa2872d(0x4a5),this[_0xa2872d(0x402)]),N(this,_0xa2872d(0x34e),new Map()),(this[_0xa2872d(0x488)]=_0x311c92,this[_0xa2872d(0x47c)]=_0x54284a,this[_0xa2872d(0x2b0)]=_0x6d3d7a);}['setWaitCount'](_0x3eda80){var _0x24435c=_0x1e277;this[_0x24435c(0x49d)]=_0x3eda80,this[_0x24435c(0x402)][_0x24435c(0x251)](_0x3eda80);}[_0x1e277(0x1bb)](_0x5c94ed,_0x5b38fd){var _0x2b9654=_0x1e277;if(_0x5b38fd===_0x94589e[_0x2b9654(0x1e6)]){const _0x9dd4ab=new Image();return _0x9dd4ab[_0x2b9654(0x235)]=_0x5c94ed,_0x9dd4ab;}return this['_imageSourceCache']['get'](_0x5c94ed);}[_0x1e277(0x3d2)](_0x2ff105,_0x3d0337,_0x2602dd){var _0x389581=_0x1e277;_0x3d0337===_0x94589e[_0x389581(0x1e6)]||_0x2602dd==null||this[_0x389581(0x34e)]['set'](_0x2ff105,_0x2602dd);}async[_0x1e277(0x39d)](_0x564459){var _0x2bc70e=_0x1e277;try{const _0x5a346c=this[_0x2bc70e(0x25c)](this['_getSignURL'](),''+_0x564459),_0x3cd68f=(await this['_httpService'][_0x2bc70e(0x1b6)](_0x5a346c))[_0x2bc70e(0x3fb)];if(_0x3cd68f[_0x2bc70e(0x1ac)]&&_0x3cd68f[_0x2bc70e(0x1ac)][_0x2bc70e(0x3fc)]===Si['OK']){const _0x21a8ba=new URL(_0x3cd68f['url'],this[_0x2bc70e(0x1cb)]())[_0x2bc70e(0x1fa)]();return Promise[_0x2bc70e(0x2e0)](_0x21a8ba);}return Promise[_0x2bc70e(0x238)](_0x3cd68f[_0x2bc70e(0x1ac)]);}catch(_0xa70de5){return Promise[_0x2bc70e(0x238)](_0xa70de5);}}async[_0x1e277(0x43f)](_0x14f56d){var _0x438abd=_0x1e277;let _0x1b5c65='';if(!is['includes'](_0x14f56d['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x561e38[_0x438abd(0x259)]));if(_0x14f56d[_0x438abd(0x2a8)]>rs)return this['_decreaseWaiting'](),Promise[_0x438abd(0x238)](new Error(_0x561e38[_0x438abd(0x275)]));try{const _0x1e54b3=new FormData();_0x1e54b3[_0x438abd(0x296)](_0x438abd(0x206),_0x14f56d);const _0x386c3c=this[_0x438abd(0x2b0)][_0x438abd(0x266)](),_0x55c6e0=_0x386c3c==null?void 0x0:_0x386c3c['getUnitId']();if(!_0x55c6e0)throw new Error(_0x438abd(0x1ab));const _0x133b5d=this[_0x438abd(0x3c5)]()+_0x438abd(0x2da)+_0x14f56d['size'][_0x438abd(0x1fa)]()+_0x438abd(0x338)+Ei['UnitEmbedded']+_0x438abd(0x1e9)+encodeURIComponent(_0x55c6e0),_0x5be6f9=await(await fetch(_0x133b5d,{'method':'POST','body':_0x1e54b3}))['json']();if(typeof _0x5be6f9['FileId']!=_0x438abd(0x27d))return this['_decreaseWaiting'](),Promise[_0x438abd(0x238)](new Error(_0x561e38[_0x438abd(0x3e4)]));_0x1b5c65=_0x5be6f9[_0x438abd(0x211)];}catch{return this[_0x438abd(0x1fc)](),Promise[_0x438abd(0x238)](new Error(_0x561e38[_0x438abd(0x3e4)]));}return new Promise((_0x13883e,_0x3f6597)=>{var _0x154722=_0x438abd;const _0x54c405=new FileReader();_0x54c405[_0x154722(0x36b)](_0x14f56d),_0x54c405[_0x154722(0x231)]=_0x186666=>{var _0x41996f=_0x154722,_0x2aeced;const _0x3e79e4=(_0x2aeced=_0x186666[_0x41996f(0x2cd)])==null?void 0x0:_0x2aeced[_0x41996f(0x48d)];if(_0x3e79e4==null){this[_0x41996f(0x1fc)](),_0x3f6597(new Error(_0x561e38['ERROR_IMAGE']));return;}const _0x19d057=_0x580ac3['generateRandomId'](0x6);_0x13883e({'imageId':_0x19d057,'imageSourceType':_0x94589e['UUID'],'source':_0x1b5c65,'base64Cache':_0x3e79e4,'status':_0x561e38['SUCCUSS']}),this[_0x41996f(0x1fc)]();};});}['_getUploadFileURL'](){var _0xb3b573=_0x1e277,_0x135bfa,_0x947359;const _0x554b2e=this[_0xb3b573(0x47c)][_0xb3b573(0x457)](ns),_0x5119e5=this[_0xb3b573(0x47c)][_0xb3b573(0x457)](q);return(_0x947359=(_0x135bfa=_0x5119e5==null?void 0x0:_0x5119e5[_0xb3b573(0x34d)])!=null?_0x135bfa:_0x554b2e)!=null?_0x947359:ss;}[_0x1e277(0x3d0)](){var _0x2df174=_0x1e277,_0x2120f4,_0x54bf17;const _0x2c95a0=this[_0x2df174(0x47c)][_0x2df174(0x457)](os),_0x364030=this[_0x2df174(0x47c)][_0x2df174(0x457)](q);return(_0x54bf17=(_0x2120f4=_0x364030==null?void 0x0:_0x364030['signUrlServerUrl'])!=null?_0x2120f4:_0x2c95a0)!=null?_0x54bf17:as;}['_getDownloadEndpointURL'](){var _0x5a6481=_0x1e277,_0x21dc35;const _0x39ce9c=this[_0x5a6481(0x47c)]['getConfig'](q);return(_0x21dc35=_0x39ce9c==null?void 0x0:_0x39ce9c[_0x5a6481(0x3e8)])!=null?_0x21dc35:location[_0x5a6481(0x283)];}[_0x1e277(0x25c)](_0x406da9,_0x25ee53){var _0x37dc72=_0x1e277;return _0x406da9[_0x37dc72(0x3ef)](_0x37dc72(0x36f),_0x25ee53);}['_decreaseWaiting'](){var _0x2bac5b=_0x1e277;this['_waitCount']-=0x1,this[_0x2bac5b(0x402)][_0x2bac5b(0x251)](this[_0x2bac5b(0x49d)]);}};yt=ts([gt(0x0,_0x92794a(_0x27ecf6)),gt(0x1,_0x2e8183),gt(0x2,_0x92794a(_0x50afd8))],yt);var cs=Object[_0x1e277(0x2d7)],hs=(_0x7c57a4,_0x59a2e2,_0x4770f9,_0x44d52a)=>{var _0x310368=_0x1e277;for(var _0x3b0a74=_0x44d52a>0x1?void 0x0:_0x44d52a?cs(_0x59a2e2,_0x4770f9):_0x59a2e2,_0x483035=_0x7c57a4[_0x310368(0x3d8)]-0x1,_0x5bc770;_0x483035>=0x0;_0x483035--)(_0x5bc770=_0x7c57a4[_0x483035])&&(_0x3b0a74=_0x5bc770(_0x3b0a74)||_0x3b0a74);return _0x3b0a74;},hi=(_0x2d1c40,_0xdc4e2e)=>(_0x43e028,_0x19f15c)=>_0xdc4e2e(_0x43e028,_0x19f15c,_0x2d1c40);const _s='/universer-api/authz';let Ot=class{constructor(_0x15929e,_0x51c49f){var _0x1c32b1=_0x1e277;this[_0x1c32b1(0x47c)]=_0x15929e,this[_0x1c32b1(0x2e1)]=_0x51c49f;}[_0x1e277(0x322)](){var _0x4bb5e1=_0x1e277,_0x1c29eb,_0x424bbf;const _0x2a03e6=this['_configService'][_0x4bb5e1(0x457)](Ni),_0x5bd7a3=this['_configService'][_0x4bb5e1(0x457)](q);return(_0x424bbf=(_0x1c29eb=_0x5bd7a3==null?void 0x0:_0x5bd7a3[_0x4bb5e1(0x2b5)])!=null?_0x1c29eb:_0x2a03e6)!=null?_0x424bbf:_s;}async['list'](_0xe31f76){var _0x2674f7=_0x1e277;const _0x4cf21f=this['_getAPIPrefixPath']()+_0x2674f7(0x478);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x2674f7(0x1b6)](_0x4cf21f,{'params':{'objectID':_0xe31f76[_0x2674f7(0x210)],'unitID':_0xe31f76[_0x2674f7(0x210)]}}))[_0x2674f7(0x3fb)][_0x2674f7(0x393)][_0x2674f7(0x273)](_0x465320=>({'objectId':_0x465320['id'],'name':_0x465320[_0x2674f7(0x434)][_0x2674f7(0x414)],'metadata':{'icon':_0x465320['subject'][_0x2674f7(0x2a3)]},'label':_0x465320[_0x2674f7(0x434)][_0x2674f7(0x414)],'objectType':_0x18c67f[_0x2674f7(0x440)]})),'metadata':{},'type':_0x18c67f[_0x2674f7(0x440)]}]};}};Ot=hs([hi(0x0,_0x92794a(_0x2e8183)),hi(0x1,_0x92794a(_0x27ecf6))],Ot);var ls=Object[_0x1e277(0x2d7)],us=(_0x365459,_0x1a4412,_0x4aee46,_0x2e94c6)=>{var _0x4f57e2=_0x1e277;for(var _0x485d2f=_0x2e94c6>0x1?void 0x0:_0x2e94c6?ls(_0x1a4412,_0x4aee46):_0x1a4412,_0x3befab=_0x365459[_0x4f57e2(0x3d8)]-0x1,_0xcbb689;_0x3befab>=0x0;_0x3befab--)(_0xcbb689=_0x365459[_0x3befab])&&(_0x485d2f=_0xcbb689(_0x485d2f)||_0x485d2f);return _0x485d2f;},Ae=(_0x4609f6,_0x15aff3)=>(_0x4538fa,_0x5e18f4)=>_0x15aff3(_0x4538fa,_0x5e18f4,_0x4609f6);let at=class extends _0xc2f0c0{constructor(_0x5405dc,_0x23db77,_0x233831,_0x5a163a,_0x3b02ef){var _0x22ac32=_0x1e277;super(),this[_0x22ac32(0x445)]=_0x5405dc,this[_0x22ac32(0x2b0)]=_0x23db77,this['_permissionService']=_0x233831,this[_0x22ac32(0x349)]=_0x5a163a,this[_0x22ac32(0x1af)]=_0x3b02ef,this[_0x22ac32(0x4b0)](),this[_0x22ac32(0x3c3)]();}['_initCloseConn'](){var _0x54d8ec=_0x1e277;const _0x470982=async _0x166ea8=>{var _0xcf3333=_0x4b30;(await this['_collaborationSessionService'][_0xcf3333(0x309)](_0x166ea8))[_0xcf3333(0x24d)][_0xcf3333(0x1d3)](_0x18b9bf(_0x45ee3f=>_0x45ee3f['eventID']===_0x56c2b4[_0xcf3333(0x21f)]),_0x3a96f9(this['dispose$']))[_0xcf3333(0x1f0)](_0x458dc6=>{var _0x4e2996=_0xcf3333;const _0x1b0232=_0x458dc6,{reason:_0x31404a}=_0x1b0232['data'];this[_0x4e2996(0x1af)]['emitEvent']({'id':se['CLOSE_ROOM'],'data':_0x31404a}),this[_0x4e2996(0x492)][_0x4e2996(0x22c)](new _0x291135(_0x166ea8)['id'],!0x1),this[_0x4e2996(0x349)][_0x4e2996(0x240)](_0x166ea8);});};_0x232401(this[_0x54d8ec(0x2b0)]['getTypeOfUnitAdded$'](_0x58bfc9[_0x54d8ec(0x221)]),this[_0x54d8ec(0x2b0)][_0x54d8ec(0x34f)](_0x58bfc9['UNIVER_DOC']))[_0x54d8ec(0x1d3)](_0x2d8a24(_0x123260=>_0x123260[_0x54d8ec(0x3aa)]()),_0x18b9bf(_0x516ed6=>!_0x36f866(_0x516ed6)),_0x3a96f9(this[_0x54d8ec(0x3f2)]))[_0x54d8ec(0x1f0)](_0x1b7384=>{_0x470982(_0x1b7384);});}[_0x1e277(0x4b0)](){var _0x5ab7d5=_0x1e277;const _0xb1a120=async _0x24cc79=>{var _0x332591=_0x4b30;const _0x20d7c0=await this[_0x332591(0x349)]['requireSession'](_0x24cc79),_0x1baf95=this[_0x332591(0x445)]['get'](_0x1f277f);_0x20d7c0[_0x332591(0x24d)][_0x332591(0x1d3)](_0x18b9bf(_0x5bf27b=>_0x5bf27b[_0x332591(0x32d)]===_0x56c2b4[_0x332591(0x33f)]),_0x3a96f9(this['dispose$']))[_0x332591(0x1f0)](_0x51466a=>{var _0x2088a7=_0x332591;const _0x5a43c8=_0x51466a,{objectId:_0xf5813c}=_0x5a43c8[_0x2088a7(0x39e)];_0xf5813c===_0x24cc79?_0x1baf95[_0x2088a7(0x2f0)](_0x24cc79):_0x1baf95[_0x2088a7(0x479)](_0x24cc79,_0xf5813c);});};_0x232401(this[_0x5ab7d5(0x2b0)]['getTypeOfUnitAdded$'](_0x58bfc9[_0x5ab7d5(0x221)]))[_0x5ab7d5(0x1d3)](_0x2d8a24(_0x393982=>_0x393982['getUnitId']()),_0x18b9bf(_0x17dbab=>!_0x36f866(_0x17dbab)),_0x3a96f9(this[_0x5ab7d5(0x3f2)]))[_0x5ab7d5(0x1f0)](_0x3f737a=>{_0xb1a120(_0x3f737a);});}};at=us([Ae(0x0,_0x92794a(_0x222b43)),Ae(0x1,_0x50afd8),Ae(0x2,_0x4e912c),Ae(0x3,_0x92794a(Le)),Ae(0x4,_0x92794a(pe))],at);var ds=Object[_0x1e277(0x2d7)],fs=(_0xeb942a,_0x508449,_0x538e61,_0x4bfddc)=>{var _0x53d277=_0x1e277;for(var _0x4f1d14=_0x4bfddc>0x1?void 0x0:_0x4bfddc?ds(_0x508449,_0x538e61):_0x508449,_0x5ddeff=_0xeb942a[_0x53d277(0x3d8)]-0x1,_0x4e9824;_0x5ddeff>=0x0;_0x5ddeff--)(_0x4e9824=_0xeb942a[_0x5ddeff])&&(_0x4f1d14=_0x4e9824(_0x4f1d14)||_0x4f1d14);return _0x4f1d14;},_i=(_0x219cba,_0x2871ee)=>(_0x5e86f7,_0xd5041b)=>_0x2871ee(_0x5e86f7,_0xd5041b,_0x219cba);let Nt=class{constructor(_0x501cc4,_0x16fa1c){var _0x4ae94b=_0x1e277;this['_configService']=_0x501cc4,this[_0x4ae94b(0x488)]=_0x16fa1c;}async[_0x1e277(0x224)](_0x234237,_0x350591){var _0x3058b9=_0x1e277,_0x497a57;const {unitID:_0x2548f2,type:_0x298578,revision:_0x3e01db=0x0}=_0x350591,_0x581a09=this['getSnapshotAPIPath']()+'/'+_0x298578+_0x3058b9(0x38f)+_0x2548f2+_0x3058b9(0x30e)+_0x3e01db,_0x4108ec=(await this['_httpService'][_0x3058b9(0x1b6)](_0x581a09))[_0x3058b9(0x3fb)],_0x47724a=(_0x497a57=_0x4108ec[_0x3058b9(0x1c4)])==null?void 0x0:_0x497a57[_0x3058b9(0x382)];if(_0x47724a){const _0x377192=_0x47724a==null?void 0x0:_0x47724a['originalMeta'],_0x20e52a=_0x496881[_0x3058b9(0x2e9)](_0x2221e5(_0x377192));_0x47724a[_0x3058b9(0x44d)]=_0x20e52a,Object[_0x3058b9(0x448)](_0x47724a[_0x3058b9(0x1c7)])[_0x3058b9(0x436)](([,_0x1b54de])=>{var _0x49d7b3=_0x3058b9;const _0x25793d=_0x1b54de[_0x49d7b3(0x44d)],_0x3d3895=_0x496881[_0x49d7b3(0x2e9)](_0x2221e5(_0x25793d));_0x1b54de[_0x49d7b3(0x44d)]=_0x3d3895;});}return _0x4108ec;}async[_0x1e277(0x36d)](_0xb16f2e,_0x41ccaf){var _0x340054=_0x1e277;const {unitID:_0x531459,type:_0x1a122c,blockID:_0x400fc2}=_0x41ccaf,_0x240765=this[_0x340054(0x2bd)]()+'/'+_0x1a122c+'/unit/'+_0x531459+_0x340054(0x203)+_0x400fc2;return(await this[_0x340054(0x488)][_0x340054(0x1b6)](_0x240765))[_0x340054(0x3fb)];}async[_0x1e277(0x2e6)](_0x5ce21f,_0x343ef7){var _0x4ef4bf=_0x1e277;const {unitID:_0x59353f,type:_0x7f590b,blockID:_0x371819}=_0x343ef7,_0x4485cc=this[_0x4ef4bf(0x2bd)]()+_0x4ef4bf(0x203)+_0x7f590b+_0x4ef4bf(0x38f)+_0x59353f+_0x4ef4bf(0x203)+_0x371819;return(await this['_httpService'][_0x4ef4bf(0x1b6)](_0x4485cc))[_0x4ef4bf(0x3fb)];}async[_0x1e277(0x2f9)](_0x57dea5,_0x2cfa70){var _0x495432=_0x1e277;const {unitID:_0x54c6d1,type:_0x2a06fe,from:_0x160209,to:_0x23b3d3}=_0x2cfa70,_0x14ffc6=this[_0x495432(0x2bd)]()+'/'+_0x2a06fe+_0x495432(0x38f)+_0x54c6d1+_0x495432(0x3c7)+_0x160209+_0x495432(0x302)+_0x23b3d3;return(await this[_0x495432(0x488)][_0x495432(0x1b6)](_0x14ffc6))['body'];}[_0x1e277(0x356)](){var _0x36aed3=_0x1e277,_0x4f619c;return(_0x4f619c=this[_0x36aed3(0x47c)][_0x36aed3(0x457)](gr))!=null?_0x4f619c:this[_0x36aed3(0x2bd)]();}[_0x1e277(0x2bd)](){var _0x3d0e50=_0x1e277,_0x2235d2,_0x4fe204;const _0x3a67bc=this[_0x3d0e50(0x47c)][_0x3d0e50(0x457)](pr),_0xc730aa=this[_0x3d0e50(0x47c)][_0x3d0e50(0x457)](q);return(_0x4fe204=(_0x2235d2=_0xc730aa==null?void 0x0:_0xc730aa['snapshotServerUrl'])!=null?_0x2235d2:_0x3a67bc)!=null?_0x4fe204:mr;}async[_0x1e277(0x2ff)](_0xaf3c7a,_0x1083bf){var _0x428a1e=_0x1e277;const _0x5041e5='/universer-api/snapshot/'+_0x1083bf[_0x428a1e(0x1f6)]+_0x428a1e(0x38f)+_0x1083bf[_0x428a1e(0x3c8)]+_0x428a1e(0x2d1);return(await this[_0x428a1e(0x488)]['get'](_0x5041e5,{'params':{'resourceId':JSON['stringify'](_0x1083bf[_0x428a1e(0x205)])}}))[_0x428a1e(0x3fb)];}[_0x1e277(0x307)](){var _0x554e8e=_0x1e277;throw new Error(_0x554e8e(0x433));}[_0x1e277(0x491)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1e277(0x332)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1e277(0x4ad)](){var _0x3764dc=_0x1e277;throw new Error(_0x3764dc(0x433));}[_0x1e277(0x314)](){var _0x3baf79=_0x1e277;throw new Error(_0x3baf79(0x433));}};Nt=fs([_i(0x0,_0x2e8183),_i(0x1,_0x92794a(_0x27ecf6))],Nt);var vs=Object[_0x1e277(0x2d7)],ps=(_0x1994ca,_0x75061e,_0x422fe0,_0x4d54b0)=>{var _0x4f1a4b=_0x1e277;for(var _0x4087e9=_0x4d54b0>0x1?void 0x0:_0x4d54b0?vs(_0x75061e,_0x422fe0):_0x75061e,_0x412c09=_0x1994ca[_0x4f1a4b(0x3d8)]-0x1,_0x263d83;_0x412c09>=0x0;_0x412c09--)(_0x263d83=_0x1994ca[_0x412c09])&&(_0x4087e9=_0x263d83(_0x4087e9)||_0x4087e9);return _0x4087e9;},Pe=(_0x23e358,_0x35f187)=>(_0x357dad,_0x420c1f)=>_0x35f187(_0x357dad,_0x420c1f,_0x23e358);let Dt=class extends _0x35dd36{constructor(_0x9b6253,_0x796f70,_0x4f1a7f,_0x14792c,_0x3685d2){super(_0x9b6253,_0x796f70,_0x4f1a7f),this['_transformService']=_0x14792c,this['_logService']=_0x3685d2;}['transformUndoRedo'](_0x3c3b6f,_0x56003d){var _0x217d42=_0x1e277;const _0x541f51=this[_0x217d42(0x428)](_0x3c3b6f);if(_0x541f51)try{const _0x102691=this['_transformStack'](_0x541f51,_0x56003d);this['_substituteUndoStack'](_0x3c3b6f,_0x102691);}catch(_0x29ee36){this[_0x217d42(0x475)][_0x217d42(0x1ac)](_0x217d42(0x426),_0x29ee36),this['_clearUndo'](_0x3c3b6f);}const _0x12d3b8=this[_0x217d42(0x378)](_0x3c3b6f);if(_0x12d3b8)try{const _0x2f0123=this[_0x217d42(0x1ba)](_0x12d3b8,_0x56003d);this[_0x217d42(0x497)](_0x3c3b6f,_0x2f0123);}catch(_0x1e3637){this[_0x217d42(0x475)][_0x217d42(0x1ac)](_0x1e3637),this[_0x217d42(0x422)](_0x3c3b6f);}}[_0x1e277(0x44e)](_0x22fd0e){var _0x41f89a=_0x1e277;const _0x596c1d=this[_0x41f89a(0x428)](_0x22fd0e);_0x596c1d&&(_0x596c1d[_0x41f89a(0x3d8)]=0x0,this[_0x41f89a(0x48f)]());}[_0x1e277(0x422)](_0x14a463){var _0x1d7004=_0x1e277;const _0x53fa6d=this[_0x1d7004(0x378)](_0x14a463);_0x53fa6d&&(_0x53fa6d[_0x1d7004(0x3d8)]=0x0,this[_0x1d7004(0x48f)]());}[_0x1e277(0x258)](_0x13ab38,_0x48fa13){var _0x333a1b=_0x1e277;this[_0x333a1b(0x3be)]['set'](_0x13ab38,_0x48fa13),this[_0x333a1b(0x48f)]();}[_0x1e277(0x497)](_0x25b7f3,_0x39e447){var _0x57d65b=_0x1e277;this[_0x57d65b(0x2cf)][_0x57d65b(0x2af)](_0x25b7f3,_0x39e447),this[_0x57d65b(0x48f)]();}[_0x1e277(0x1ba)](_0x24ed01,_0x869002){var _0x265732=_0x1e277;const _0x62ce37=[];let _0x733a68=_0x869002,_0x2a2fe9=_0x869002;for(let _0x65c669=_0x24ed01[_0x265732(0x3d8)]-0x1;_0x65c669>=0x0;_0x65c669--){const {unitID:_0x20ee5f,undoMutations:_0x1ff7a7,redoMutations:_0x56dc6c}=_0x24ed01[_0x65c669],_0x426c62=this[_0x265732(0x418)][_0x265732(0x3a7)](_0x733a68,_0x1ff7a7),_0x42826a=this[_0x265732(0x418)][_0x265732(0x3a7)](_0x2a2fe9,_0x56dc6c);if(_0x2304b3(_0x426c62)||_0x2304b3(_0x42826a)){this[_0x265732(0x475)][_0x265732(0x1ac)](_0x265732(0x426),_0x265732(0x28a),_0x426c62,_0x42826a);break;}_0x733a68=_0x426c62[_0x265732(0x20f)],_0x2a2fe9=_0x42826a[_0x265732(0x20f)],_0x62ce37['push']({'unitID':_0x20ee5f,'undoMutations':_0x426c62['m2Prime'],'redoMutations':_0x42826a[_0x265732(0x1ad)]});}return _0x62ce37['reverse']();}};Dt=ps([Pe(0x0,_0x50afd8),Pe(0x1,_0x33ed32),Pe(0x2,_0x55e37e),Pe(0x3,_0x3b9f1a),Pe(0x4,_0x431844)],Dt);var ms=Object[_0x1e277(0x42f)],gs=Object[_0x1e277(0x2d7)],Ss=(_0x2f0ecd,_0x2ce869,_0x42bcd7)=>_0x2ce869 in _0x2f0ecd?ms(_0x2f0ecd,_0x2ce869,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42bcd7}):_0x2f0ecd[_0x2ce869]=_0x42bcd7,Es=(_0x1d9ab5,_0x3b3ce0,_0x5f18d7,_0x32c6f8)=>{var _0x37e45d=_0x1e277;for(var _0x5eb878=_0x32c6f8>0x1?void 0x0:_0x32c6f8?gs(_0x3b3ce0,_0x5f18d7):_0x3b3ce0,_0x2db32a=_0x1d9ab5[_0x37e45d(0x3d8)]-0x1,_0x1ba1be;_0x2db32a>=0x0;_0x2db32a--)(_0x1ba1be=_0x1d9ab5[_0x2db32a])&&(_0x5eb878=_0x1ba1be(_0x5eb878)||_0x5eb878);return _0x5eb878;},St=(_0x2eedc3,_0xe65a90)=>(_0x2a5c6b,_0x53bcd2)=>_0xe65a90(_0x2a5c6b,_0x53bcd2,_0x2eedc3),Is=(_0x44b494,_0x585651,_0x2c3575)=>Ss(_0x44b494,_0x585651+'',_0x2c3575);const Ts=_0x1e277(0x37d);let wt=class extends _0x321568{constructor(_0x46fc5e,_0x4dd4f5,_0x3886fd,_0x56a4e7){var _0x44cb6a=_0x1e277;super(),N(this,_0x44cb6a(0x253)),(this['_logService']=_0x4dd4f5,this['_injector']=_0x3886fd,this[_0x44cb6a(0x47c)]=_0x56a4e7);const {..._0x5ebc6d}=_0x38ee0b({},Ur,_0x46fc5e);if(!_0x5ebc6d['socketService'])throw new Error(_0x44cb6a(0x2d5));this[_0x44cb6a(0x253)]=_0x5ebc6d,this[_0x44cb6a(0x47c)][_0x44cb6a(0x292)](q,_0x5ebc6d);}[_0x1e277(0x201)](){var _0x334496=_0x1e277;this['_registerDependencies'](),this[_0x334496(0x357)]();}[_0x1e277(0x1b4)](){var _0x5bbc41=_0x1e277,_0x4c2721,_0x24fbe6;this['_injector'][_0x5bbc41(0x290)](_0x708bf5)&&this[_0x5bbc41(0x475)][_0x5bbc41(0x1ac)](_0x5bbc41(0x38b),_0x5bbc41(0x464));const _0x4c9588=_0x1f58b5([[_0x708bf5,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x5bbc41(0x253)]['socketService']}],[_0x5dea43,{'useClass':Nt}],[_0x897ffa,{'useClass':Rt}],[_0x520a05,{'useClass':yt}],[_0x26ba77,{'useClass':Ot}],[nt],[Ct]],(_0x4c2721=this[_0x5bbc41(0x253)])==null?void 0x0:_0x4c2721[_0x5bbc41(0x387)]);if(!((_0x24fbe6=this['_config'])!=null&&_0x24fbe6['enableSingleActiveInstanceLock'])){const _0x4e7584=_0x4c9588[_0x5bbc41(0x417)](([_0x4ed3dc])=>_0x4ed3dc===ht);_0x4e7584!==-0x1&&_0x4c9588[_0x5bbc41(0x1df)](_0x4e7584,0x1);}_0xf5ad1e(this[_0x5bbc41(0x445)],_0x4c9588);}[_0x1e277(0x357)](){var _0x13379e=_0x1e277,_0x18ff3e,_0x43e1c4,_0x3aebe3;this[_0x13379e(0x445)][_0x13379e(0x1b6)](_0x27ecf6)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2903e2({'maxParallel':0x6})}),(_0x18ff3e=this[_0x13379e(0x253)])!=null&&_0x18ff3e[_0x13379e(0x244)]||(_0x43e1c4=this['_injector'][_0x13379e(0x1b6)](J,_0x2f07e5['OPTIONAL']))==null||_0x43e1c4[_0x13379e(0x3a1)](),(_0x3aebe3=this['_config'])!=null&&_0x3aebe3[_0x13379e(0x36c)]&&_0xfb606b(this[_0x13379e(0x445)],[[st]]),_0xfb606b(this[_0x13379e(0x445)],[[ot],[nt],[at]]);}};Is(wt,'pluginName',Ts),wt=Es([_0x24ade2(_0xf1366d,_0x1b00fb),St(0x1,_0x431844),St(0x2,_0x92794a(_0x222b43)),St(0x3,_0x2e8183)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};function _0x5a80(){var _0xb33797=['_undoStacks','APPLY_PERMISSION_DENIED','offline','_onLocalMutation','randomUUID','_initCloseConn','add','_getUploadFileURL','bind','/fetchmissing?from=','unitID','_oKey','unpad','HttpExport','_onConnectionFailed','UnitSnapshot','_event$','_disableEditing','_getSignURL','fetchThroughInterceptors','addImageSourceCache','encryptBlock','UNRECOGNIZED','_commentService','_unitInfo$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','length','image/gif','mode','range','_incrementRevisionNumber','Encryptor','Base','_handlerCallback','equals','_userManagerService','members','ENSURE_SNAPSHOT_EXECUTION','ERROR_IMAGE','LICENSE_EXPORT_SIZE_EXCEEDED','/universer-api/oidc/authpage','format','downloadEndpointUrl','put','\x20to\x20','enc','collabWebSocketUrl','getUnitType','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','replace','/object','CHANGESET_ACK','dispose$','Error\x20on\x20receiving\x20event','onRemoteChangeset','_clearTimeoutTimer','\x0aAfter:\x20','_parse','_compressMutationService','getAllMembers','retryConnectingInterval','body','code','TOO_MANY_REQUESTS','_onRemoteRejected','ceil','onSendChangeset','collaboration_new_changeset','_change$','toggleOnline','OpenSSL','EXCHANGE_SIGN_URL_SERVER_URL_KEY','disposeWithMe','__creator','_sendHeartbeat','2326989VFBNDy','/object/','action','capture','loadDoc','reqId','_instanceService','fetchMiss','_exhaustRemoteChangesetQueue','sin','online$','name','getWorkbookSelections','min','findIndex','_transformService','incrementRevOfUnit','YUUMI_RATE_OVER_LIMIT','getInterceptPoints','rng','Hex','[DataLoaderService]','transformChangesets','_emitMembers','SOCKET_FAILED_RETRY','_clearRedo','loginUrlKey','_transformStateCache','lib','[CollaborationUndoRedoService]','GLOBAL_ROOMS_CNT_EXCEEDS','_getUndoStack','JOIN_ROOM_FULL','from','_toggleOffline','YUUMI_URL_COL_OUT_OF_RANGE','_ENC_XFORM_MODE','textRanges','defineProperty','IDLE','_removeRoom','default','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','subject','listRoles','forEach','SNAPSHOT_SERVER_URL_KEY','_startTelemetryCollaborationNewChangeset','_init','onCommentUpdate','OFFLINE','_collaborationPaused','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','decrypt','saveImage','PERSON','_createHmacHelper','init','baseRev','byteLength','_injector','MD5','send','entries','_transformRemoteChangesetByStateCache','HttpImport','random','UNKNOWN_CODE','originalMeta','_clearUndo','8mFJcMX','SOCKET_FAILED','setCurrentUser','_shouldReportTelemetry','_transformIMECache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_resendTimeout','_acknowledgedAwaitingChangeset','getConfig','save\x20fail\x20reason\x20is\x20','_socketReady','_transformRemoteChangesetByIMECache','collaboratorID','stringify','fromCharCode','_replayCachedMutations','toLowerCase','HMAC','CLOSE_ROOM','_process','HmacMD5','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','emitEvent','every','/universer-api/comb','_sendingTimer','AES','loadOfflineData','YUUMI_UNABLE_LOAD_URL','827070FAQbSa','socket$','_sessionStatus$','selections','_memberService','toggleOffline','HELLO','_scheduleCompleteTimestamp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_logService','_executeRemoteChangeset','getMember','/collaborator','refreshPermission','apply','appendMutation','_configService','6anbXpp','allowed','_sender','[PendingState]:\x20received\x20acknowledgement.','changesets','submit\x20changeset\x20error!','1621926CGZZsJ','salt','COMPLETION_FINISHED','COLLAB_WEB_SOCKET_URL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_httpService','/allowed','_transitionLocked','join','_lockTransition','result','PERMISSION_REJ','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','saveSheetBlock','_permissionService','NOT_FOUND','_sendHeartbeatTimer','UNISCRIPT_RUN','_collaborationTimeoutTimer','_substituteRedoStack','_schedule','algo','pauseCollaboration','_socket$','reset','_waitCount','filter','Undefined','rev','now','LIVESHARE_REQUEST_HOST','startTime','extend','change$','waitForRoom$','loadUnit','JOIN_ROOM_NOT_EXISTS','listCollaborators','onTransformRemoteChangesetByIMECache','max','PSEUDO_FETCH_MISSING_RESULT','copyFileMeta','_doCryptBlock','reduce','_initUnitPermissionChange','INTERNAL_ERROR','unitId\x20is\x20not\x20found','error','m2Prime','HEARTBEAT','_collaborationUIEventService','kdf','_commandService','url','_createInitialStateImpl','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','get','encodeURIComponent','collabSubmitChangesetUrl','delete','_transformStack','getImageSourceCache','charAt','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_updateLocalCache','_sheetTransformSelectionsService','_clearRetryConnectingTimer','HEARTBEAT_INTERVAL','localeService','APPLY_DUPLICATED','snapshot','INGEST','close$','sheets','Cipher','editing\x20status\x20changed\x20to','RECV','_getDownloadEndpointURL','_undoRedoService','3BJkmRe','_showConflictNotification','cmd','_createInitialState','getActiveSheet','floor','pipe','_startCollaboration','find','_keySchedule','collaboration-client.local-cache-service','USERS_LEAVE','liveShareNewHost','unknown','compose','_data','\x0aCurrent:\x20','slice','splice','COMPRESS_MUTATION_APPLY','UNIVER_UNKNOWN','$super','create','session.room-full','abs','BASE64','COMMENT_UPDATE','fromCollab','&assign=','function','_status$','method','_onUserJoin','Hasher','LIVESHARE_OPERATION','subscribe','resend','_onRemoteRetry','_onFetchMissResult','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ALREADY_EXISTS','type','csRejEvent','editingUnit','withCredentials','toString','isArray','_decreaseWaiting','error$','padding','SNAPSHOT_HAS_BEEN_REMOVED','_handler','onStarting','UNIVER_DOC','/block/','memberID','resourceIDs','file','blockSize','_joinRoom','then','updateCollaborator','sessionStatus','_collabSessionService','createInstance','unitInfo$','c1Prime','unitId','FileId','StreamCipher','_iKey','session','joinRsp','_stopTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','updateMember','_initMergeInterceptor','CHANGESET_REVISION_CONFILICT','OTHER_CLIENT_EDITING','onTransformRemoteChangesetByStateCache','SHA1','close','SHOULD_CLOSE_CONN','COMPRESS_MUTATION_SEND','UNIVER_SHEET','AUTHZ_URL_KEY','[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.','getUnitOnRev','Decryptor','getRandomValues','_resendTimer','_nDataBytes','_getCurrentRevision','_key','_members','updatePermissionPoint','LIVESHARE_TERMINATE','executeCommand','_onRemoteChangeset','_socketService','onload','not_collab','[CollaborationSessionService]','words','src','interceptor','objectActions','reject','batchAllowed','finalize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_socket','requestParams','_state','catch','closeSession','_createSocket','shouldCloseConn','SUBMIT_CHANGESET_TIMEOUT','enableOfflineEditing','objects','status$','_singleActiveUnitService','_timeoutTimer','session.room-cnt-exceeds','getCollabEntity','synced','awaiting','event$','_candidateSocket','UNAUTHENTICATED','SUBMIT_CHANGESET','next','LEAVE','_config','getTime','clone','_createHandler','_tryReconnect','_substituteUndoStack','ERROR_IMAGE_TYPE','APPLY_REVISION_CONFILICT','_doFinalize','_replaceFileID','_mode','commentUpdate$','BufferedBlockAlgorithm','reconnect','transformSelections','_awaitingChangeset','onRemoteRej','YUUMI_SUBSCRIPTION_NOT_FOUND','_iv','getFocusedUnit','JOIN','_hasher','newCsEvent','roles','complete','_socketMessageSubscription','Univer','_entities','execute','\x20-\x20','Utf8','_map','map','socket\x20open.','ERROR_EXCEED_SIZE','_nRounds','/universer-api/user/session-ticket','_fetchMissChangesets','clamp','randomBytes','_unitID','csAckEvent','string','dispose','actions','routeKey','_clearScheduledTask','push','origin','onTransformSelections','UPDATE_CURSOR','updateOfflineData','_snapshotService','location','collaMsg','transformStack\x20failed!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','state','_cipher','headers','_throwTelemetryCollaborationNewChangeset','has','LICENSE_IMPORT_SIZE_EXCEEDED','setConfig','UNDEFINED','telemetry\x20info\x20is\x20not\x20initialized','transformUndoRedo','append','/universer-api/file/{fileID}/sign-url','OTHER_CLIENTS_EDITING','UNKNOWN_CMD','list','_getLoginPath','Latin1','prototype','_roomCreated$','keySize','sessionStatus$','PERMISSION_DENIED','CHANGESET_REJ','avatar','getCurrentSelections','_rescheduleHeartbeat','SYNCED','createEncryptor','size','exports','revision','encrypt','deepClone','DEFAULT_FILE_NAME','_listenToNetworkCondition','set','_univerInstanceService','_applyRemoteChangeset','sigBytes','AWAITING_WITH_PENDING','LIVESHARE_NEW_HOST','authzUrl','crypto','_pendingMutations','unsubscribe','registerHTTPInterceptor','[SyncedState]:\x20received\x20acknowledgement.','key','JOIN_ROOM_FAILED','_getAPIPrefix','asObservable','UnitEmbedded','HmacSHA1','c2Prime','INVALID_ARGUMENT','leaveEvent','_loadDoc','clear','x-univer-host','repeat','_initRequestHeader','[SyncedState]:\x20received\x20rejection.','onRemoteAck','_hash','_telemetryInfo','target','_syncEditingCollabCursor','_redoStacks','LICENSE_MAX_UNITS_EXCEEDED','/resources','_xformMode','objectID','awaitingChangeset','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_reverseMap','getOwnPropertyDescriptor','isPermissionRej','POST','?size=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_state$','univer-pro.collaboration-client-socket-service','_onOffline','[CollaborationSession]','resolve','_HTTPService','conflict','_onConflict','unit-cache-','status','getDeserializedSheetBlock','JOIN_ROOM_PERMISSION_DENIED','_localeService','encode','ivSize','_submitChangeset','_revisionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SerializableCipher','_snapshotServerService','initWorkbookPermissionChange','LICENSE_DISTRO_REJECTED','hasher','\x20in\x20_schedule.','_isPermissionRej','fetching\x20missing\x20changesets\x20from\x20','[CollaborationSessionService]:\x20socket\x20error','hasOwnProperty','[OfflineState]:\x20received\x20changeset.','fetchMissingChangesets','_prevBlock','socket\x20close','/universer-api/stream/file/upload','getMemberID','iterations','getResourcesRequest','_onConnectionOpen','/new_changes','&to=','concat','awaiting_with_pending','[CollaborationEntity]','__esModule','saveSnapshot','BlockCipher','requireSession','?url=','NOT_COLLAB','NEW_CHANGESETS','_changesetSessionId','/rev/','mixIn','onTransformState','getSheetId','SEND_CHANGESET_TIMEOUT','open$','getLatestCsReqIdBySid','FAIL','state$','_clearLocalCache','charCodeAt','_createHelper','EvpKDF','duration','deleteCollaborator','compute','Pkcs7','UNIVER_SLIDE','_append','USERS_ENTER','_getAPIPrefixPath','_clearHeartbeatTimer','MUTATION','image/bmp','getTypeOfUnitDisposed$','uniscriptRunEvent','_telemetryService','session.room-not-exists','/-/object/list','_members$','readInt32LE','eventID','_entityInit$','parse','indexOf','createSocket','saveChangeset','_networkConditionService','onTransformIME','params','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','cfg','&source=','_changesetReqId','call','_minBufferSize','infoRsp','_commentUpdate$','CONFLICT','UPDATE_PERMISSION_OBJ','_doProcessBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_invKeySchedule','_localCacheService','[FetchMissState]','localCacheService','collaboration-client.config','removeMember','8904140dKHQgp','_collaborationSessionService','CONNECTOR_DATA_TOO_LARGE','objectType','FETCH_MISSING','uploadFileServerUrl','_imageSourceCache','getTypeOfUnitAdded$','sid','hostname','6274715BjeIAI','getCollabEntity$','onCommandExecuted','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getSnapshotAPIPath','_initDependencies','addHandlerCallback','debug','CipherParams','mutations','byteOffset','_roomMembers','6182659rjCPqI','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','connection\x20error','_loadSheet','_onCombEvent','NoPadding','NO_OTHER_CLIENTS_EDITING','onSyncEditingCollabCursor','commentUpdateEvent','_checkMissing','ciphertext','entityInit$','_toggleOnline','readAsDataURL','enableAuthServer','getSheetBlock','_remoteChangesetQueue','{fileID}','APPLY_NON_SEQUENTIAL_REVISION','substr','symbol','_tryEnsureSocket','_onJoinRoomEvent','updatePermissionObjEvent','onRemoteRetry','href','_getRedoStack','pad','loadSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','UNIVER_COLLABORATION_CLIENT_PLUGIN','_getCtorByUniverType','_waitForHeartbeatResponse','createDecryptor','_eventService','workbook','session.room-permission-denied','UNIVER_PROJECT','CHANGESET_SHOULD_RETRY','getCurrentRevOfUnit','override','msCrypto','WordArray','_sessions','[UniverCollaborationClientPlugin]','_retryConnectingTimer','_unlockTransition','onMissedChangesetFetched','/unit/','COLLAB_SUBMIT_CHANGESET_URL','341640BZesPs','PasswordBasedCipher','collaborators','_updateState','message$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','values','_retryCount','AWAITING','_onUserLeave','SNAPSHOT_URL_KEY','pending','getImage','data','_transformUndoredo','onMissingChangesets','disableLocalCache','/universer-api/authz','update','[OfflineState]:\x20received\x20rejection.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','onlyLocal','getUnitId','_onRecvEvent','PENDING','onStateChange','_resendWithTimeout','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','_getSendChangesetTimeout','APPLY_REJECT','_type','focused$','getCurrentUser','MSG_FOR_ERROR','post','joinEvent','LIVESHARE_FETCH_OPERATIONS','stopTime','Base64','ONLINE','_onRemoteACK'];_0x5a80=function(){return _0xb33797;};return _0x5a80();}
|