@univerjs-pro/collaboration-client 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505171606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x21fa21=_0x4934;(function(_0x4da22d,_0x4c8e1f){var _0x2b9051=_0x4934,_0x254980=_0x4da22d();while(!![]){try{var _0xac72f0=-parseInt(_0x2b9051(0x215))/0x1*(parseInt(_0x2b9051(0x285))/0x2)+-parseInt(_0x2b9051(0x1e1))/0x3+-parseInt(_0x2b9051(0x3fb))/0x4+-parseInt(_0x2b9051(0x2ee))/0x5+parseInt(_0x2b9051(0x1d0))/0x6+-parseInt(_0x2b9051(0x3f3))/0x7+parseInt(_0x2b9051(0x277))/0x8;if(_0xac72f0===_0x4c8e1f)break;else _0x254980['push'](_0x254980['shift']());}catch(_0x116f67){_0x254980['push'](_0x254980['shift']());}}}(_0x4a51,0x9eb29));var wi=Object[_0x21fa21(0x185)],Pi=(_0x1db9e4,_0x320578,_0x198139)=>_0x320578 in _0x1db9e4?wi(_0x1db9e4,_0x320578,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198139}):_0x1db9e4[_0x320578]=_0x198139,N=(_0xaf27e8,_0x227837,_0x576b47)=>Pi(_0xaf27e8,typeof _0x227837!=_0x21fa21(0x3cd)?_0x227837+'':_0x227837,_0x576b47);import{createIdentifier as _0x1c57ef,Inject as _0x19c414,Injector as _0x50fda6,IConfigService as _0x51423a,ILogService as _0x459fda,Disposable as _0x23b53b,DisposableCollection as _0x24524a,toDisposable as _0x570176,IUniverInstanceService as _0x11d3ee,UserManagerService as _0xb72226,UniverInstanceType as _0x57bf09,LocaleService as _0x4ac43d,Optional as _0x548a6f,RxDisposable as _0x37cb10,Tools as _0x4da9f1,Rectangle as _0x188977,ICommandService as _0x1ce977,JSONX as _0x325b4b,CommandType as _0x5e236c,IUndoRedoService as _0x3319d4,IPermissionService as _0x19d05d,sequenceExecute as _0x17ff19,Workbook as _0xc13b30,MentionType as _0x34a700,isInternalEditorID as _0x173af8,LocalUndoRedoService as _0x5c1da8,IContextService as _0x3ee25d,DependentOn as _0x291a63,Plugin as _0x5c5ff6,merge as _0x4d2b25,mergeOverrideWithDependencies as _0x2c416d,IAuthzIoService as _0x11b08a,IMentionIOService as _0x2d31ed,registerDependencies as _0x3efd00,Quantity as _0xc2a92d,touchDependencies as _0x949144}from'@univerjs/core';import{Subject as _0x1db3bf,merge as _0x3b99f9,of as _0x169840,BehaviorSubject as _0x214797,takeUntil as _0x5e89af,ReplaySubject as _0x43e32f,take as _0x3b10f3,map as _0x83c841,shareReplay as _0x1dd3ef,firstValueFrom as _0x461100,concatMap as _0x9bafb0}from'rxjs';import{map as _0x7fca1a,take as _0x24cadd,filter as _0x439f72,delay as _0x4dde13,takeUntil as _0x35f491}from'rxjs/operators';import{CollaborationEvent as _0xea38b9,ISnapshotServerService as _0x468c9b,parseChangesetToProtocol as _0xd1ca6c,ITransformService as _0x5ef856,isTransformMutationsWithChangesetSuccess as _0x16c2fd,mapDocumentTypeToUniverType as _0x4f4e81,RevisionService as _0x16a918,isTransformChangesetsSuccess as _0x276042,CompressMutationService as _0x1d8788,parseProtocolChangeset as _0x18e7a3,SnapshotService as _0x3fe4ff,textEncoder as _0x1e7d49,b64DecodeUnicode as _0x5acace,isTransformMutationsWithChangesetFailure as _0x20a6d,UniverCollaborationPlugin as _0x26e1ba}from'@univerjs-pro/collaboration';import{HTTPService as _0xf7c598,ISocketService as _0x5845ad,MergeInterceptorFactory as _0x40b73d,HTTPRequest as _0x2bac94,UniverNetworkPlugin as _0x16b5d9,ThresholdInterceptorFactory as _0x16a45f}from'@univerjs/network';import{ITelemetryService as _0x35693f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x309e0}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a7f47,SetSelectionsOperation as _0x41c317,InsertSheetMutation as _0x281dc0,EmptyMutation as _0x14ed1d,WorkbookEditablePermission as _0x3477ec,SheetPermissionInitController as _0x280abf}from'@univerjs/sheets';import{ImageSourceType as _0x57bdd4,ImageUploadStatusType as _0x2b686e,IImageIoService as _0x167b34}from'@univerjs/drawing';import{getGlobalObject as _0x11365b}from'@univerjs-pro/license';const mn=_0x21fa21(0x1ab),gn='/universer-api/snapshot',Sn=_0x21fa21(0x2b6),Lr=_0x21fa21(0x145),En=0x7d0,In=_0x21fa21(0x361),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr='/universer-api/user/session-ticket',Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x21fa21(0x35a),gi=0x4e20,bn=0x4e20,On=_0x21fa21(0x2e5),yn=0x3,xr=_0x21fa21(0x3e9),kr=0x3e8,Nn=_0x21fa21(0x2fd),Dn=_0x21fa21(0x13b),Un=_0x21fa21(0x1d6),An=_0x21fa21(0x33f),$r=_0x21fa21(0x1cb),Hr=_0x21fa21(0x390);var Si=(_0x5c9900=>(_0x5c9900[_0x5c9900[_0x21fa21(0x317)]=0x0]=_0x21fa21(0x317),_0x5c9900[_0x5c9900['OK']=0x1]='OK',_0x5c9900[_0x5c9900[_0x21fa21(0x2b8)]=0x2]=_0x21fa21(0x2b8),_0x5c9900[_0x5c9900[_0x21fa21(0x160)]=0x3]=_0x21fa21(0x160),_0x5c9900[_0x5c9900[_0x21fa21(0x175)]=0x4]=_0x21fa21(0x175),_0x5c9900[_0x5c9900['UNAUTHENTICATED']=0x5]=_0x21fa21(0x310),_0x5c9900[_0x5c9900['ALREADY_EXISTS']=0x6]=_0x21fa21(0x203),_0x5c9900[_0x5c9900[_0x21fa21(0x2a9)]=0x7]='INVALID_ARGUMENT',_0x5c9900[_0x5c9900[_0x21fa21(0x2e7)]=0x8]=_0x21fa21(0x2e7),_0x5c9900[_0x5c9900[_0x21fa21(0x35d)]=0x9]=_0x21fa21(0x35d),_0x5c9900[_0x5c9900[_0x21fa21(0x1c3)]=0xa]='LOGIN_FAILED',_0x5c9900[_0x5c9900['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x21fa21(0x28e),_0x5c9900[_0x5c9900[_0x21fa21(0x346)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c9900[_0x5c9900[_0x21fa21(0x3b8)]=0x1772]=_0x21fa21(0x3b8),_0x5c9900[_0x5c9900[_0x21fa21(0x2e2)]=0x1773]=_0x21fa21(0x2e2),_0x5c9900[_0x5c9900[_0x21fa21(0x2f0)]=0x1b59]=_0x21fa21(0x2f0),_0x5c9900[_0x5c9900[_0x21fa21(0x314)]=0x1b5a]=_0x21fa21(0x314),_0x5c9900[_0x5c9900[_0x21fa21(0x2c4)]=0x1b5b]=_0x21fa21(0x2c4),_0x5c9900[_0x5c9900['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x21fa21(0x36b),_0x5c9900[_0x5c9900[_0x21fa21(0x1e2)]=0x1b5d]=_0x21fa21(0x1e2),_0x5c9900[_0x5c9900[_0x21fa21(0x1c1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c9900[_0x5c9900[_0x21fa21(0x3e0)]=0x2329]=_0x21fa21(0x3e0),_0x5c9900[_0x5c9900['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x21fa21(0x12a),_0x5c9900[_0x5c9900['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x21fa21(0x13c),_0x5c9900[_0x5c9900[_0x21fa21(0x325)]=0x232c]=_0x21fa21(0x325),_0x5c9900[_0x5c9900['LICENSE_DISTRO_REJECTED']=0x232d]=_0x21fa21(0x243),_0x5c9900[_0x5c9900[_0x21fa21(0x220)]=0x2711]=_0x21fa21(0x220),_0x5c9900[_0x5c9900[_0x21fa21(0x167)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c9900[_0x5c9900['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x21fa21(0x201),_0x5c9900[_0x5c9900['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x21fa21(0x1a5),_0x5c9900[_0x5c9900[_0x21fa21(0x42d)]=0x271a]=_0x21fa21(0x42d),_0x5c9900[_0x5c9900[_0x21fa21(0x34b)]=0x271b]=_0x21fa21(0x34b),_0x5c9900[_0x5c9900[_0x21fa21(0x3d4)]=0x271c]=_0x21fa21(0x3d4),_0x5c9900[_0x5c9900[_0x21fa21(0x3b3)]=0x271d]=_0x21fa21(0x3b3),_0x5c9900[_0x5c9900[_0x21fa21(0x28b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c9900[_0x5c9900[_0x21fa21(0x351)]=0x271f]=_0x21fa21(0x351),_0x5c9900[_0x5c9900[_0x21fa21(0x13e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c9900[_0x5c9900['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c9900[_0x5c9900[_0x21fa21(0x3b1)]=0x2ee2]='INVALID_INVITE_CODE',_0x5c9900[_0x5c9900[_0x21fa21(0x284)]=0x2ee3]=_0x21fa21(0x284),_0x5c9900[_0x5c9900[_0x21fa21(0x227)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5c9900[_0x5c9900[_0x21fa21(0x3ee)]=0x2ee5]=_0x21fa21(0x3ee),_0x5c9900[_0x5c9900[_0x21fa21(0x234)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c9900[_0x5c9900[_0x21fa21(0x31f)]=0x32ca]=_0x21fa21(0x31f),_0x5c9900[_0x5c9900[_0x21fa21(0x3a5)]=0x32cb]=_0x21fa21(0x3a5),_0x5c9900[_0x5c9900[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0x5c9900))(Si||{}),Q=(_0x5586f1=>(_0x5586f1[_0x5586f1['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5586f1[_0x5586f1[_0x21fa21(0x240)]=0x1]='UNIVER_DOC',_0x5586f1[_0x5586f1[_0x21fa21(0x19a)]=0x2]=_0x21fa21(0x19a),_0x5586f1[_0x5586f1[_0x21fa21(0x2d0)]=0x3]=_0x21fa21(0x2d0),_0x5586f1[_0x5586f1['UNIVER_PROJECT']=0x4]=_0x21fa21(0x253),_0x5586f1[_0x5586f1[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0x5586f1))(Q||{}),F=(_0x19fbea=>(_0x19fbea[_0x19fbea['UNKNOWN_CMD']=0x0]=_0x21fa21(0x3b5),_0x19fbea[_0x19fbea[_0x21fa21(0x37a)]=0x1]=_0x21fa21(0x37a),_0x19fbea[_0x19fbea[_0x21fa21(0x1ad)]=0x2]=_0x21fa21(0x1ad),_0x19fbea[_0x19fbea[_0x21fa21(0x289)]=0x3]=_0x21fa21(0x289),_0x19fbea[_0x19fbea[_0x21fa21(0x2c8)]=0x4]=_0x21fa21(0x2c8),_0x19fbea[_0x19fbea[_0x21fa21(0x235)]=0x5]=_0x21fa21(0x235),_0x19fbea[_0x19fbea[_0x21fa21(0x350)]=0x6]=_0x21fa21(0x350),_0x19fbea[_0x19fbea[_0x21fa21(0x1f9)]=-0x1]='UNRECOGNIZED',_0x19fbea))(F||{}),ge=(_0x16053f=>(_0x16053f[_0x16053f[_0x21fa21(0x31c)]=0x0]=_0x21fa21(0x31c),_0x16053f[_0x16053f['OK']=0x1]='OK',_0x16053f[_0x16053f[_0x21fa21(0x222)]=0x2]='FAIL',_0x16053f[_0x16053f[_0x21fa21(0x363)]=0x3e9]='JOIN_ROOM_FULL',_0x16053f[_0x16053f[_0x21fa21(0x2ca)]=0x3ea]=_0x21fa21(0x2ca),_0x16053f[_0x16053f['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x16053f[_0x16053f[_0x21fa21(0x345)]=0x3ec]=_0x21fa21(0x345),_0x16053f[_0x16053f[_0x21fa21(0x1f9)]=-0x1]='UNRECOGNIZED',_0x16053f))(ge||{}),Ei=(_0xef78b8=>(_0xef78b8[_0xef78b8['Undefined']=0x0]=_0x21fa21(0x3fc),_0xef78b8[_0xef78b8[_0x21fa21(0x360)]=0x1]=_0x21fa21(0x360),_0xef78b8[_0xef78b8[_0x21fa21(0x278)]=0x2]=_0x21fa21(0x278),_0xef78b8[_0xef78b8[_0x21fa21(0x184)]=0x3]='UnitEmbedded',_0xef78b8[_0xef78b8[_0x21fa21(0x1bd)]=0x4]=_0x21fa21(0x1bd),_0xef78b8[_0xef78b8[_0x21fa21(0x2ac)]=0x5]='UserProfileImg',_0xef78b8[_0xef78b8[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0xef78b8))(Ei||{});const q=_0x21fa21(0x421),wn={};var re=(_0x57a963=>(_0x57a963[_0x21fa21(0x324)]=_0x21fa21(0x324),_0x57a963[_0x21fa21(0x160)]=_0x21fa21(0x160),_0x57a963[_0x21fa21(0x3e4)]=_0x21fa21(0x3e4),_0x57a963['CLOSE_ROOM']=_0x21fa21(0x188),_0x57a963[_0x21fa21(0x218)]='JOIN_ROOM_FAILED',_0x57a963[_0x21fa21(0x2f8)]=_0x21fa21(0x2f8),_0x57a963[_0x21fa21(0x18d)]='SOCKET_FAILED',_0x57a963[_0x21fa21(0x2ff)]=_0x21fa21(0x2ff),_0x57a963))(re||{});class pe{constructor(){var _0x3792f3=_0x21fa21;N(this,_0x3792f3(0x1c4),new _0x1db3bf()),N(this,'event$',this[_0x3792f3(0x1c4)][_0x3792f3(0x27d)]());}[_0x21fa21(0x374)](_0xa82f6c){var _0x307a60=_0x21fa21;this[_0x307a60(0x1c4)][_0x307a60(0x40a)](_0xa82f6c);}}const Pn=_0x1c57ef(_0x21fa21(0x1b0));function Ln(_0x4bacb1){var _0x21d63c=_0x21fa21,_0x1d5474,_0xef5d61,_0x295a6e,_0x28a9f1,_0x268fc6;const _0x5e8007=_0x4bacb1[_0x21d63c(0x1de)],_0x1deffb=JSON[_0x21d63c(0x27e)](_0x5e8007);switch(_0x1deffb[_0x21d63c(0x161)]){case F[_0x21d63c(0x235)]:case F[_0x21d63c(0x37a)]:{const _0x118275=_0x1deffb[_0x21d63c(0x158)];return{..._0x1deffb,'data':_0x118275,'cmd':_0x1deffb[_0x21d63c(0x161)]};}case F['JOIN']:{const _0x4225e4=_0x1deffb[_0x21d63c(0x1a7)];return{..._0x1deffb,'data':_0x4225e4,'cmd':_0x1deffb[_0x21d63c(0x161)]};}case F['RECV']:{const _0x264487=_0x1deffb['collaMsg'];switch(_0x264487['eventID']){case _0xea38b9['PERMISSION_REJ']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x1d5474=_0x264487[_0x21d63c(0x2a6)])==null?void 0x0:_0x1d5474['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x171)]:return{..._0x1deffb,'data':{..._0x264487,'data':(_0xef5d61=_0x264487['csAckEvent'])==null?void 0x0:_0xef5d61['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['NEW_CHANGESETS']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x295a6e=_0x264487[_0x21d63c(0x342)])==null?void 0x0:_0x295a6e['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['CHANGESET_REJ']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x28a9f1=_0x264487['csRejEvent'])==null?void 0x0:_0x28a9f1['cs']},'cmd':_0x1deffb['cmd']};case _0xea38b9['CHANGESET_SHOULD_RETRY']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x268fc6=_0x264487['csShouldRetryEvent'])==null?void 0x0:_0x268fc6['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x2f7)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x426)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['USERS_ENTER']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487['joinEvent']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x3c6)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487['leaveEvent']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x3af)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x177)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['LIVESHARE_FETCH_OPERATIONS']:case _0xea38b9[_0x21d63c(0x42a)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x274)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['LIVESHARE_TERMINATE']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x177)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['MSG_FOR_ERROR']:return{..._0x1deffb,'data':_0x264487,'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['COMMENT_UPDATE']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x16a)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x13a)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x2f9)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['SHOULD_CLOSE_CONN']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x267)]},'cmd':_0x1deffb['cmd']};case _0xea38b9['UNISCRIPT_RUN']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x2e1)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};default:return _0x1deffb;}}default:return _0x1deffb;}}function Mn(_0x112fe9){var _0x40c3d4=_0x21fa21;switch(_0x112fe9[_0x40c3d4(0x161)]){case F[_0x40c3d4(0x235)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)]});case F[_0x40c3d4(0x2c8)]:{let _0x45477b;switch(_0x112fe9[_0x40c3d4(0x1de)]['eventID']){case _0xea38b9[_0x40c3d4(0x2f7)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x2f7)],'updateCursorEvent':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x3c6)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x3c6)],'leaveEvent':_0x112fe9['data']['data']};break;}case _0xea38b9[_0x40c3d4(0x1e6)]:{_0x45477b={'eventID':_0xea38b9['USERS_ENTER'],'joinEvent':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9['LIVESHARE_NEW_HOST']:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x3af)],'liveShareNewHost':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x42a)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x42a)],'liveShareOperation':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x36a)]:{_0x45477b={'eventID':_0xea38b9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x112fe9['data'][_0x40c3d4(0x1de)]};break;}case _0xea38b9['LIVESHARE_REQUEST_HOST']:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x25b)],'liveShareRequestHost':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x340)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x340)]};break;}default:_0x45477b={'eventID':_0x112fe9['data'][_0x40c3d4(0x180)]};}return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9['routeKey'],'collaMsg':_0x45477b});}case F[_0x40c3d4(0x1ad)]:return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)],'joinReq':_0x112fe9['data']});case F[_0x40c3d4(0x289)]:return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9['cmd'],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)],'leaveReq':_0x112fe9[_0x40c3d4(0x1de)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object[_0x21fa21(0x16f)],kn=(_0xdbc48,_0x5bd1c0,_0x51346f,_0x544307)=>{for(var _0x3ae8d0=_0x544307>0x1?void 0x0:_0x544307?xn(_0x5bd1c0,_0x51346f):_0x5bd1c0,_0x492580=_0xdbc48['length']-0x1,_0x29caa4;_0x492580>=0x0;_0x492580--)(_0x29caa4=_0xdbc48[_0x492580])&&(_0x3ae8d0=_0x29caa4(_0x3ae8d0)||_0x3ae8d0);return _0x3ae8d0;},Ae=(_0x463d8f,_0x4c0350)=>(_0x53893b,_0x32e91c)=>_0x4c0350(_0x53893b,_0x32e91c,_0x463d8f);const Ii=_0x1c57ef('univer-pro.collaboration-client-socket-service');function $n(_0x49c5c4,_0x278fd6,_0x3cadca){var _0x489e0e=_0x21fa21;return _0x49c5c4+'/'+_0x278fd6+_0x489e0e(0x239)+_0x3cadca+_0x489e0e(0x3db);}let Gt=class extends _0x23b53b{constructor(_0x1a640e,_0x4ba8e3,_0x231ce9,_0x329d35,_0x17fc48){var _0x1022ff=_0x21fa21;super(),this['_injector']=_0x1a640e,this[_0x1022ff(0x32a)]=_0x4ba8e3,this[_0x1022ff(0x1a6)]=_0x231ce9,this[_0x1022ff(0x233)]=_0x329d35,this[_0x1022ff(0x1ee)]=_0x17fc48;}['_doCreateSocket'](_0x5a9a0d){var _0x133456=_0x21fa21;const _0x1b7d83=this[_0x133456(0x1f8)][_0x133456(0x3f7)](_0x5845ad);if(!_0x1b7d83)throw new Error(_0x133456(0x26c));const _0xacea9c=_0x1b7d83[_0x133456(0x3df)](_0x5a9a0d);if(!_0xacea9c)throw new Error(_0x133456(0x3b6));const _0x15b89d=new _0x24524a(),_0x2ebda=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c[_0x133456(0x15f)][_0x133456(0x223)](_0x2b3a94=>_0x2ebda['next'](_0x2b3a94))),_0x15b89d['add'](_0x570176(()=>_0x2ebda[_0x133456(0x31d)]()));const _0x24b3e7=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c['error$'][_0x133456(0x223)](_0x1a2e24=>_0x24b3e7[_0x133456(0x40a)](_0x1a2e24))),_0x15b89d[_0x133456(0x307)](_0x570176(()=>_0x24b3e7[_0x133456(0x31d)]()));const _0x6be45e=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c[_0x133456(0x236)][_0x133456(0x223)](_0x3211a4=>{var _0x2c2ddf=_0x133456;const _0x3db25f=Ln(_0x3211a4);_0x6be45e[_0x2c2ddf(0x40a)](_0x3db25f);})),_0x15b89d[_0x133456(0x307)](_0x570176(()=>_0x6be45e[_0x133456(0x31d)]()));let _0x3c28a6;const _0x43d315=()=>{var _0x3f9c44=_0x133456;_0x24b3e7[_0x3f9c44(0x40a)](new Event(_0x3f9c44(0x18b))),_0x2ebda[_0x3f9c44(0x40a)](new Event('connection\x20error')),_0x3c28a6['close']();};return _0x3c28a6={'memberID':'','close$':_0x2ebda[_0x133456(0x27d)](),'error$':_0x24b3e7[_0x133456(0x27d)](),'open$':_0xacea9c[_0x133456(0x195)],'message$':_0x6be45e[_0x133456(0x27d)](),'send':_0x323225=>{var _0x5c9cb6=_0x133456;if(_0x323225[_0x5c9cb6(0x161)]===F[_0x5c9cb6(0x2c8)]){if(_0x323225[_0x5c9cb6(0x1de)][_0x5c9cb6(0x180)]===_0xea38b9[_0x5c9cb6(0x198)]){this[_0x5c9cb6(0x2dc)](_0x3c28a6,_0x323225[_0x5c9cb6(0x1de)])[_0x5c9cb6(0x391)](_0x402eae=>{var _0x16488e=_0x5c9cb6;this['_logService'][_0x16488e(0x1e9)](_0x402eae),_0x43d315();});return;}if(_0x323225['data'][_0x5c9cb6(0x180)]===_0xea38b9[_0x5c9cb6(0x2b2)]){const _0x4237d6=_0x323225['data'];this[_0x5c9cb6(0x210)](_0x4237d6)[_0x5c9cb6(0x1aa)](_0x4c1208=>{var _0x5c6200=_0x5c9cb6;_0x6be45e['next']({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x4237d6[_0x5c6200(0x1de)][_0x5c6200(0x1ef)],'routeType':'','data':{'eventID':_0xea38b9[_0x5c6200(0x150)],'data':{'changesets':_0x4c1208}}});})[_0x5c9cb6(0x391)](_0x130721=>{var _0x501fc7=_0x5c9cb6;this['_logService'][_0x501fc7(0x1e9)](_0x130721),_0x43d315();});return;}}_0xacea9c[_0x5c9cb6(0x1d3)](Mn(_0x323225));},'close':()=>{var _0x4249b2=_0x133456;_0xacea9c[_0x4249b2(0x34d)](),_0x15b89d[_0x4249b2(0x297)]();}},_0x3c28a6;}async[_0x21fa21(0x2dc)](_0x359344,_0x261761){var _0x36f487=_0x21fa21,_0x51eaf9,_0x1289eb;const {unitType:_0x3d66e1,unitID:_0x4604c2,changeset:_0x4e8ad2}=_0x261761[_0x36f487(0x1de)],_0x5e2c78={'unitID':_0x4604c2,'memberID':_0x359344['memberID'],'type':_0x3d66e1,'changeset':_0xd1ca6c(_0x4e8ad2)},_0x5a5270=this[_0x36f487(0x1a6)]['getConfig'](Nn),_0x1d8f6b=this[_0x36f487(0x1a6)][_0x36f487(0x417)](q),_0x391883=$n((_0x1289eb=(_0x51eaf9=_0x1d8f6b==null?void 0x0:_0x1d8f6b[_0x36f487(0x355)])!=null?_0x51eaf9:_0x5a5270)!=null?_0x1289eb:Dn,_0x3d66e1,_0x4604c2);try{await this[_0x36f487(0x32a)]['post'](_0x391883,{'body':_0x5e2c78});}catch(_0x3f0b3a){throw this[_0x36f487(0x233)]['error']('[CollaborationSession]',_0x36f487(0x316)),_0x3f0b3a;}}async['_fetchMissChangesets'](_0x15a50c){var _0x296a7a=_0x21fa21;const {unitID:_0x40a97f,from:_0x13bd8c,to:_0x5802c5,unitType:_0x1989b9}=_0x15a50c[_0x296a7a(0x1de)];return(await this[_0x296a7a(0x1ee)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x40a97f,'type':_0x1989b9,'from':_0x13bd8c,'to':_0x5802c5}))['changesets'];}};Gt=kn([Ae(0x0,_0x19c414(_0x50fda6)),Ae(0x1,_0x19c414(_0xf7c598)),Ae(0x2,_0x51423a),Ae(0x3,_0x459fda),Ae(0x4,_0x468c9b)],Gt);const Hn=_0x21fa21(0x163);function Bn(_0x52e002){var _0x5329f5=_0x21fa21;return JSON[_0x5329f5(0x306)](_0x52e002)[_0x5329f5(0x286)];}class Ti{constructor(){var _0x38f497=_0x21fa21;N(this,_0x38f497(0x42c),new _0x1db3bf()),N(this,'commentUpdate$',this[_0x38f497(0x42c)][_0x38f497(0x27d)]());}[_0x21fa21(0x3d8)](_0x21cdfb){var _0x1bf0f3=_0x21fa21;this[_0x1bf0f3(0x42c)]['next'](_0x21cdfb);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3bf994,_0x4a8e4c,_0xfd1021,_0x42b70a)=>{var _0x1d0c94=_0x21fa21;for(var _0x113c02=_0x42b70a>0x1?void 0x0:_0x42b70a?jn(_0x4a8e4c,_0xfd1021):_0x4a8e4c,_0x283f1f=_0x3bf994[_0x1d0c94(0x286)]-0x1,_0x165d7f;_0x283f1f>=0x0;_0x283f1f--)(_0x165d7f=_0x3bf994[_0x283f1f])&&(_0x113c02=_0x165d7f(_0x113c02)||_0x113c02);return _0x113c02;},Wt=(_0x468a4f,_0x6da267)=>(_0x117265,_0x16dfdb)=>_0x6da267(_0x117265,_0x16dfdb,_0x468a4f);let Le=class extends _0x23b53b{constructor(_0x379119,_0x517e1e){var _0x51e23f=_0x21fa21;super(),N(this,_0x51e23f(0x3cf),new Map()),N(this,_0x51e23f(0x24b),new _0x1db3bf()),(this[_0x51e23f(0x282)]=_0x379119,this['_userManagerService']=_0x517e1e,this['disposeWithMe'](_0x3b99f9(this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09[_0x51e23f(0x19a)])['pipe'](_0x7fca1a(_0x3a5526=>_0x3a5526[_0x51e23f(0x1df)]())),this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09['UNIVER_DOC'])[_0x51e23f(0x1be)](_0x7fca1a(_0x446ce5=>_0x446ce5[_0x51e23f(0x1df)]())),this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09['UNIVER_SLIDE'])[_0x51e23f(0x1be)](_0x7fca1a(_0x1561b3=>_0x1561b3[_0x51e23f(0x1df)]())))[_0x51e23f(0x223)](_0x37dfd1=>this[_0x51e23f(0x23b)](_0x37dfd1))));}[_0x21fa21(0x15b)](_0x48bc34){var _0x43329e=_0x21fa21;return this[_0x43329e(0x3cf)][_0x43329e(0x212)](_0x48bc34)?_0x169840(this[_0x43329e(0x3cf)][_0x43329e(0x3f7)](_0x48bc34)):this[_0x43329e(0x24b)]['pipe'](_0x7fca1a(_0x4b2d39=>{var _0x5e9eb1=_0x43329e;if(_0x4b2d39===_0x48bc34)return this['_roomMembers'][_0x5e9eb1(0x3f7)](_0x4b2d39);}));}['setCurrentUser'](_0x4e6622){this['_userManagerService']['setCurrentUser'](_0x4e6622);}[_0x21fa21(0x1ca)](){var _0x442ba0=_0x21fa21;return this[_0x442ba0(0x141)]['getCurrentUser']();}[_0x21fa21(0x193)](_0x2bd4d1,_0x1eb86e){var _0x40b89c=_0x21fa21;let _0x53b004=this['_roomMembers']['get'](_0x2bd4d1);_0x53b004||(_0x53b004=new Vn(),this['_roomMembers'][_0x40b89c(0x3c1)](_0x2bd4d1,_0x53b004),this[_0x40b89c(0x24b)]['next'](_0x2bd4d1)),_0x53b004['updateMember'](_0x1eb86e);}[_0x21fa21(0x3ef)](_0x3bd1ab,_0x4b82db){var _0x22a03f=_0x21fa21;const _0x3f2f2a=this['_roomMembers'][_0x22a03f(0x3f7)](_0x3bd1ab);_0x3f2f2a&&_0x3f2f2a[_0x22a03f(0x3ef)](_0x4b82db);}[_0x21fa21(0x207)](_0x1508f1){var _0x49a3a7=_0x21fa21;return this['_roomMembers'][_0x49a3a7(0x3f7)](_0x1508f1);}[_0x21fa21(0x32d)](_0x4a682b,_0x125aaa){var _0x47e294=_0x21fa21;const _0x517c47=this['_roomMembers'][_0x47e294(0x3f7)](_0x4a682b);if(_0x517c47)return _0x517c47['getMember'](_0x125aaa);}[_0x21fa21(0x23b)](_0x10bd0a){var _0x5ab848=_0x21fa21;const _0x3d09aa=this[_0x5ab848(0x3cf)]['get'](_0x10bd0a);_0x3d09aa&&(_0x3d09aa[_0x5ab848(0x297)](),this[_0x5ab848(0x3cf)]['delete'](_0x10bd0a));}[_0x21fa21(0x297)](){var _0xfa1333=_0x21fa21;this[_0xfa1333(0x3cf)][_0xfa1333(0x189)](_0x1f749a=>_0x1f749a[_0xfa1333(0x297)]()),this['_roomMembers']['clear'](),this['_roomCreated$'][_0xfa1333(0x31d)]();}};Le=Fn([Wt(0x0,_0x11d3ee),Wt(0x1,_0x19c414(_0xb72226))],Le);class Vn extends _0x23b53b{constructor(){var _0x4fb672=_0x21fa21;super(...arguments),N(this,_0x4fb672(0x1b4),new Map()),N(this,_0x4fb672(0x399),new _0x214797(this['_members'])),N(this,'members$',this[_0x4fb672(0x399)][_0x4fb672(0x27d)]());}[_0x21fa21(0x297)](){var _0x15a828=_0x21fa21;this[_0x15a828(0x1b4)][_0x15a828(0x19c)]();}[_0x21fa21(0x193)](_0x4cbffa){var _0x22c745=_0x21fa21;this[_0x22c745(0x1b4)]['set'](_0x4cbffa[_0x22c745(0x1e8)],_0x4cbffa),this[_0x22c745(0x39e)]();}[_0x21fa21(0x3ef)](_0x16b274){var _0x2305e3=_0x21fa21;this[_0x2305e3(0x1b4)][_0x2305e3(0x29e)](_0x16b274);}[_0x21fa21(0x32d)](_0x7bc54a){var _0x165317=_0x21fa21;return this[_0x165317(0x1b4)][_0x165317(0x3f7)](_0x7bc54a);}[_0x21fa21(0x343)](){var _0x495ba1=_0x21fa21;return Array[_0x495ba1(0x25c)](this[_0x495ba1(0x1b4)][_0x495ba1(0x2dd)]());}[_0x21fa21(0x39e)](){var _0x4e2b3f=_0x21fa21;this[_0x4e2b3f(0x399)][_0x4e2b3f(0x40a)](this['_members']);}}var Gn=Object[_0x21fa21(0x16f)],Wn=(_0x2131a3,_0x3a097e,_0x1beb51,_0x8c6b3a)=>{var _0x1cab7b=_0x21fa21;for(var _0xea734b=_0x8c6b3a>0x1?void 0x0:_0x8c6b3a?Gn(_0x3a097e,_0x1beb51):_0x3a097e,_0x47304c=_0x2131a3[_0x1cab7b(0x286)]-0x1,_0x27bf79;_0x47304c>=0x0;_0x47304c--)(_0x27bf79=_0x2131a3[_0x47304c])&&(_0xea734b=_0x27bf79(_0xea734b)||_0xea734b);return _0xea734b;},me=(_0x5b96bd,_0x446de7)=>(_0x1d17ae,_0x5d92b5)=>_0x446de7(_0x1d17ae,_0x5d92b5,_0x5b96bd),Ee=(_0x4316ad=>(_0x4316ad[_0x4316ad[_0x21fa21(0x14a)]=0x0]=_0x21fa21(0x14a),_0x4316ad[_0x4316ad['JOINING']=0x1]=_0x21fa21(0x183),_0x4316ad[_0x4316ad[_0x21fa21(0x1fb)]=0x2]='OFFLINE',_0x4316ad[_0x4316ad[_0x21fa21(0x3f4)]=0x3]=_0x21fa21(0x3f4),_0x4316ad))(Ee||{});const Yt={[ge[_0x21fa21(0x222)]]:'session.join-failed',[ge[_0x21fa21(0x363)]]:_0x21fa21(0x1d5),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x21fa21(0x357),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x21fa21(0x3b7),[ge[_0x21fa21(0x345)]]:'session.room-cnt-exceeds'};let Et=class extends _0x37cb10{constructor(_0x29965b,_0x9fd59f,_0x2f933e,_0x2eafec,_0x1bfe6e,_0x12c6e6,_0x1cc9cc,_0x31608e,_0x4caa26){var _0x4a56f2=_0x21fa21;super(),N(this,'_sessionStatus$',new _0x214797(0x0)),N(this,_0x4a56f2(0x386),this[_0x4a56f2(0x411)]['asObservable']()),N(this,'_event$',new _0x1db3bf()),N(this,_0x4a56f2(0x143),this[_0x4a56f2(0x1c4)]['asObservable']()),N(this,_0x4a56f2(0x295)),N(this,_0x4a56f2(0x428)),N(this,_0x4a56f2(0x2d7)),N(this,_0x4a56f2(0x38c),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x29965b,this[_0x4a56f2(0x233)]=_0x2f933e,this[_0x4a56f2(0x1a6)]=_0x2eafec,this[_0x4a56f2(0x164)]=_0x1bfe6e,this[_0x4a56f2(0x252)]=_0x12c6e6,this[_0x4a56f2(0x1b9)]=_0x1cc9cc,this['_collaborationUIEventService']=_0x31608e,this[_0x4a56f2(0x3d0)]=_0x4caa26,this[_0x4a56f2(0x38c)]=!!this[_0x4a56f2(0x3d0)],_0x9fd59f['pipe'](_0x5e89af(this[_0x4a56f2(0x186)]))[_0x4a56f2(0x223)](_0x52fcab=>{var _0x12ae66=_0x4a56f2,_0x11aa74;typeof _0x52fcab>'u'||(this[_0x12ae66(0x295)]=_0x52fcab,_0x52fcab?(this[_0x12ae66(0x3de)](_0x52fcab),this['_socketMessageSubscription']=_0x52fcab[_0x12ae66(0x236)][_0x12ae66(0x223)](_0x336d4f=>{var _0x199ba5=_0x12ae66;_0x336d4f['routeKey']===this[_0x199ba5(0x264)]&&this[_0x199ba5(0x35c)](_0x336d4f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x12ae66(0x411)][_0x12ae66(0x40a)](0x2),(_0x11aa74=this[_0x12ae66(0x428)])==null||_0x11aa74['unsubscribe'](),this[_0x12ae66(0x428)]=null));}));}get[_0x21fa21(0x22b)](){var _0x4c1c07=_0x21fa21;return this[_0x4c1c07(0x411)][_0x4c1c07(0x200)]();}[_0x21fa21(0x348)](){var _0x3699c0=_0x21fa21,_0x52ff0e,_0x825db9;return(_0x825db9=(_0x52ff0e=this[_0x3699c0(0x295)])==null?void 0x0:_0x52ff0e['memberID'])!=null?_0x825db9:null;}[_0x21fa21(0x297)](){var _0x412961=_0x21fa21;super[_0x412961(0x297)](),this['dispose$']['next'](),this[_0x412961(0x186)][_0x412961(0x31d)]();}[_0x21fa21(0x34d)](){var _0x980112=_0x21fa21,_0x5a1edb,_0x46c92a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5a1edb=this[_0x980112(0x295)])==null||_0x5a1edb[_0x980112(0x1d3)]({'cmd':F[_0x980112(0x289)],'data':{'roomID':this['_unitID']}}),(_0x46c92a=this[_0x980112(0x295)])==null||_0x46c92a['close'](),this['_event$'][_0x980112(0x31d)](),this[_0x980112(0x411)]['complete'](),this[_0x980112(0x297)]();}[_0x21fa21(0x35c)](_0x8ffe0f){var _0x83ce4d=_0x21fa21;_0x8ffe0f[_0x83ce4d(0x161)]===F[_0x83ce4d(0x1ad)]?this[_0x83ce4d(0x30a)](_0x8ffe0f):_0x8ffe0f[_0x83ce4d(0x161)]===F[_0x83ce4d(0x350)]&&this['_onRecvEvent'](_0x8ffe0f);}[_0x21fa21(0x3de)](_0x441b91){var _0x937df1=_0x21fa21;this['_sessionStatus$'][_0x937df1(0x40a)](0x1),_0x441b91[_0x937df1(0x1d3)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x937df1(0x264)]}]}});}[_0x21fa21(0x30a)](_0x5e44c6){var _0x5e14a8=_0x21fa21,_0x1e9dfc;if(_0x5e44c6[_0x5e14a8(0x176)]in Yt){this[_0x5e14a8(0x41a)][_0x5e14a8(0x374)]({'id':re[_0x5e14a8(0x218)],'data':Yt[_0x5e44c6['code']]}),this[_0x5e14a8(0x411)][_0x5e14a8(0x40a)](0x2);return;}this['_sessionStatus$'][_0x5e14a8(0x40a)](0x3);const _0x31be05=(_0x1e9dfc=_0x5e44c6['data'][_0x5e14a8(0x217)][this['_unitID']])==null?void 0x0:_0x1e9dfc[_0x5e14a8(0x256)];_0x31be05&&_0x31be05[_0x5e14a8(0x189)](_0x5a9115=>this['_memberService']['updateMember'](this[_0x5e14a8(0x264)],_0x5a9115));}[_0x21fa21(0x15c)](_0x4645ba){var _0x2a50de=_0x21fa21;try{const _0x1dd4c3=_0x4645ba[_0x2a50de(0x1de)];switch(_0x1dd4c3['eventID']){case _0xea38b9['USERS_ENTER']:this['_onUserJoin'](_0x1dd4c3),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x3c6)]:this['_onUserLeave'](_0x1dd4c3),this[_0x2a50de(0x1c4)]['next'](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x171)]:case _0xea38b9[_0x2a50de(0x237)]:this[_0x2a50de(0x2f5)](),this[_0x2a50de(0x1c0)](),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9['MSG_FOR_ERROR']:this[_0x2a50de(0x233)][_0x2a50de(0x1e9)](_0x2a50de(0x3d2)+JSON['stringify'](_0x1dd4c3)),this['_event$'][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x251)]:this[_0x2a50de(0x1b9)][_0x2a50de(0x3d8)](_0x1dd4c3['data']),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;default:this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);}}catch(_0x9d754a){this[_0x2a50de(0x233)][_0x2a50de(0x1e9)](_0x9d754a,_0x4645ba);}}['_onUserJoin'](_0x2ea8e9){var _0x31207d=_0x21fa21;this[_0x31207d(0x252)][_0x31207d(0x193)](this['_unitID'],_0x2ea8e9[_0x31207d(0x1de)]);}[_0x21fa21(0x17b)](_0x1adaca){var _0x45bb40=_0x21fa21;this[_0x45bb40(0x252)]['removeMember'](this['_unitID'],_0x1adaca[_0x45bb40(0x1de)][_0x45bb40(0x1e8)]);}async[_0x21fa21(0x1d3)](_0x5231a0,_0x4c067c){var _0xdc0ce9=_0x21fa21;if(this['sessionStatus']!==0x3||!this[_0xdc0ce9(0x295)])throw new Error(_0xdc0ce9(0x416));try{_0x5231a0[_0xdc0ce9(0x180)]===_0xea38b9['SUBMIT_CHANGESET']&&(this[_0xdc0ce9(0x24d)](),this[_0xdc0ce9(0x179)](_0x5231a0)),this[_0xdc0ce9(0x295)][_0xdc0ce9(0x1d3)]({'cmd':F[_0xdc0ce9(0x2c8)],'routeKey':_0x4c067c,'routeType':'','data':_0x5231a0});}catch(_0x460fab){this[_0xdc0ce9(0x233)]['error'](_0x460fab);}}[_0x21fa21(0x24d)](){var _0x3b1a3e=_0x21fa21,_0x56ec97;this[_0x3b1a3e(0x2d7)]=setTimeout(()=>{var _0x48d5c2=_0x3b1a3e;this['_collaborationTimeoutTimer']=null,this[_0x48d5c2(0x41a)][_0x48d5c2(0x374)]({'id':re[_0x48d5c2(0x2ff)]});},(_0x56ec97=this[_0x3b1a3e(0x1a6)][_0x3b1a3e(0x417)](mi))!=null?_0x56ec97:gi);}[_0x21fa21(0x1c0)](){var _0x522f90=_0x21fa21;this[_0x522f90(0x2d7)]&&(clearTimeout(this[_0x522f90(0x2d7)]),this[_0x522f90(0x2d7)]=null);}[_0x21fa21(0x179)](_0x53f86e){var _0x5b0d9a=_0x21fa21;if(!this[_0x5b0d9a(0x38c)])return;const {data:_0x44e803}=_0x53f86e,{unitID:_0x25cf66,changeset:_0x920913}=_0x44e803,{mutations:_0xf752aa,type:_0x4967dc}=_0x920913;this[_0x5b0d9a(0x320)]={'unitId':_0x25cf66,'type':_0x4967dc,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xf752aa)};}[_0x21fa21(0x2f5)](){var _0x4c9ef3=_0x21fa21;if(this[_0x4c9ef3(0x38c)]){if(!this[_0x4c9ef3(0x320)]){this['_logService']['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4c9ef3(0x320)][_0x4c9ef3(0x396)]=performance['now'](),this['_telemetryInfo'][_0x4c9ef3(0x19f)]=this[_0x4c9ef3(0x320)]['stopTime']-this[_0x4c9ef3(0x320)]['startTime'],this[_0x4c9ef3(0x3d0)][_0x4c9ef3(0x15e)](Hn,this[_0x4c9ef3(0x320)]),this[_0x4c9ef3(0x320)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x459fda),me(0x3,_0x51423a),me(0x4,_0x19c414(_0x4ac43d)),me(0x5,_0x19c414(Le)),me(0x6,_0x19c414(Ti)),me(0x7,_0x19c414(pe)),me(0x8,_0x548a6f(_0x35693f))],Et);var Yn=Object[_0x21fa21(0x16f)],Kn=(_0x53ff6b,_0x3ff631,_0x3463dd,_0x3df8fc)=>{var _0x4521ea=_0x21fa21;for(var _0x3b8829=_0x3df8fc>0x1?void 0x0:_0x3df8fc?Yn(_0x3ff631,_0x3463dd):_0x3ff631,_0x3e5434=_0x53ff6b[_0x4521ea(0x286)]-0x1,_0x47d55c;_0x3e5434>=0x0;_0x3e5434--)(_0x47d55c=_0x53ff6b[_0x3e5434])&&(_0x3b8829=_0x47d55c(_0x3b8829)||_0x3b8829);return _0x3b8829;},be=(_0x19c9cd,_0x28e4c3)=>(_0x2717c2,_0x3944e6)=>_0x28e4c3(_0x2717c2,_0x3944e6,_0x19c9cd);let Me=class extends _0x23b53b{constructor(_0x57f3a2,_0x4d6e24,_0x360733,_0x20c5aa,_0x2678d9,_0x1cd4be){var _0x2e8d7f=_0x21fa21;super(),N(this,'_socket$',new _0x214797(void 0x0)),N(this,'socket$',this[_0x2e8d7f(0x14e)]['asObservable']()),N(this,'_candidateSocket',null),N(this,_0x2e8d7f(0x31b),new Map()),N(this,'_status$',new _0x214797(Ee['IDLE'])),N(this,'status$',this['_status$'][_0x2e8d7f(0x27d)]()),N(this,_0x2e8d7f(0x1d7),!0x1),N(this,_0x2e8d7f(0x22e)),N(this,_0x2e8d7f(0x26f),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x2e8d7f(0x1f7)),(this['_injector']=_0x57f3a2,this[_0x2e8d7f(0x233)]=_0x4d6e24,this['_configService']=_0x360733,this[_0x2e8d7f(0x156)]=_0x20c5aa,this[_0x2e8d7f(0x41a)]=_0x2678d9,this[_0x2e8d7f(0x3f1)]=_0x1cd4be,this['_listenToNetworkCondition']());}get[_0x21fa21(0x295)](){var _0x4dfa3e=_0x21fa21;return this[_0x4dfa3e(0x14e)][_0x4dfa3e(0x200)]();}[_0x21fa21(0x3b9)](){var _0x63d1e5=_0x21fa21;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x63d1e5(0x34f)][_0x63d1e5(0x223)](_0x2e4095=>{var _0x195471=_0x63d1e5;_0x2e4095&&!this[_0x195471(0x295)]&&this['reconnect'](),_0x2e4095||this['_onOffline']();}));}[_0x21fa21(0x297)](){var _0x45f2f0=_0x21fa21;super[_0x45f2f0(0x297)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x45f2f0(0x189)](_0x2c8df2=>_0x2c8df2[_0x45f2f0(0x297)]()),this[_0x45f2f0(0x31b)][_0x45f2f0(0x19c)](),this[_0x45f2f0(0x39f)][_0x45f2f0(0x31d)]();}async['requireSession'](_0x4b927e){var _0x593d52=_0x21fa21;if(this[_0x593d52(0x31b)][_0x593d52(0x212)](_0x4b927e))return this[_0x593d52(0x31b)][_0x593d52(0x3f7)](_0x4b927e);this[_0x593d52(0x356)]();const _0x5b2ffa=this[_0x593d52(0x1f8)]['createInstance'](Et,_0x4b927e,this[_0x593d52(0x14e)][_0x593d52(0x27d)]());return this['_sessions']['set'](_0x4b927e,_0x5b2ffa),_0x5b2ffa;}['closeSession'](_0x3bb1b0){var _0x10e31d=_0x21fa21,_0xfd9e8c;const _0x3c75db=this[_0x10e31d(0x31b)][_0x10e31d(0x3f7)](_0x3bb1b0);_0x3c75db&&(this['_sessions'][_0x10e31d(0x29e)](_0x3bb1b0),_0x3c75db[_0x10e31d(0x34d)]()),this[_0x10e31d(0x31b)][_0x10e31d(0x24e)]||(_0xfd9e8c=this[_0x10e31d(0x295)])==null||_0xfd9e8c[_0x10e31d(0x34d)]();}[_0x21fa21(0x1d9)](){var _0x439960=_0x21fa21;this[_0x439960(0x26f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x439960(0x38a)]();}[_0x21fa21(0x369)](){var _0x409a47=_0x21fa21;this[_0x409a47(0x22e)]!=null&&(clearTimeout(this[_0x409a47(0x22e)]),this[_0x409a47(0x22e)]=null);}async[_0x21fa21(0x266)](){var _0x156ffe=_0x21fa21,_0x16f614,_0x4b06af;const _0x2e15e3=this['_configService']['getConfig'](In),_0xd6e1d0=this['_configService']['getConfig'](q),_0x2636d5=(_0x4b06af=(_0x16f614=_0xd6e1d0==null?void 0x0:_0xd6e1d0[_0x156ffe(0x1ac)])!=null?_0x16f614:_0x2e15e3)!=null?_0x4b06af:Tn,_0x23f1ed=await this['_socketService']['createSocket'](_0x2636d5);return this[_0x156ffe(0x423)]=_0x23f1ed,_0x23f1ed;}async['_tryEnsureSocket'](){var _0x3f4976=_0x21fa21,_0x4b32fa,_0x31e704;try{const _0x4fc5ac=(_0x31e704=(_0x4b32fa=this[_0x3f4976(0x295)])!=null?_0x4b32fa:this[_0x3f4976(0x423)])!=null?_0x31e704:await this['_createSocket']();if(_0x4fc5ac){const _0x453bb6=_0x4fc5ac[_0x3f4976(0x1d3)];_0x4fc5ac[_0x3f4976(0x1d3)]=_0x416f5f=>(this[_0x3f4976(0x41b)](),_0x453bb6['apply'](_0x4fc5ac,[_0x416f5f])),_0x4fc5ac[_0x3f4976(0x236)]['subscribe'](_0x13d955=>this[_0x3f4976(0x3c8)](_0x4fc5ac,_0x13d955)),_0x4fc5ac['error$'][_0x3f4976(0x1be)](_0x24cadd(0x1))[_0x3f4976(0x223)](_0x8c1834=>this[_0x3f4976(0x233)][_0x3f4976(0x1e9)](_0x3f4976(0x2f4),_0x8c1834)),_0x4fc5ac[_0x3f4976(0x195)]['pipe'](_0x24cadd(0x1))[_0x3f4976(0x223)](()=>{var _0xbb332f=_0x3f4976;this[_0xbb332f(0x165)](_0x4fc5ac);}),_0x4fc5ac[_0x3f4976(0x15f)][_0x3f4976(0x1be)](_0x24cadd(0x1))[_0x3f4976(0x223)](_0x86110c=>{var _0x565d4d=_0x3f4976;this[_0x565d4d(0x233)][_0x565d4d(0x419)](_0x565d4d(0x3ca),_0x565d4d(0x362),_0x86110c),this[_0x565d4d(0x309)]();});}}catch(_0x578ac6){this[_0x3f4976(0x233)][_0x3f4976(0x1e9)](_0x578ac6),this[_0x3f4976(0x309)]();}}[_0x21fa21(0x165)](_0x43e063){var _0x58fd34=_0x21fa21;this[_0x58fd34(0x233)][_0x58fd34(0x419)](_0x58fd34(0x3ca),_0x58fd34(0x2b3)),_0x43e063[_0x58fd34(0x1d3)]({'cmd':F[_0x58fd34(0x37a)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x692235=_0x21fa21;this[_0x692235(0x1d7)]=!0x1,this[_0x692235(0x423)]=null,this[_0x692235(0x39f)][_0x692235(0x40a)](Ee[_0x692235(0x1fb)]),this['_socket$'][_0x692235(0x40a)](null),this[_0x692235(0x2f3)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x156f85=_0x21fa21,_0x3ee79a;this[_0x156f85(0x39a)](),this[_0x156f85(0x26f)]<((_0x3ee79a=this[_0x156f85(0x1a6)][_0x156f85(0x417)](On))!=null?_0x3ee79a:yn)?(this[_0x156f85(0x41a)][_0x156f85(0x374)]({'id':re[_0x156f85(0x2f8)]}),this[_0x156f85(0x38a)]()):this['_collaborationUIEventService'][_0x156f85(0x374)]({'id':re[_0x156f85(0x18d)]});}['_tryReconnect'](){var _0x329cb2=_0x21fa21,_0x47a04b;const _0x591885=this[_0x329cb2(0x26f)],_0xb91920=this['_configService'][_0x329cb2(0x417)](q),_0x368784=_0x591885===0x0?0x0:((_0x47a04b=_0xb91920==null?void 0x0:_0xb91920['retryConnectingInterval'])!=null?_0x47a04b:bn)*0x2**_0x591885;this[_0x329cb2(0x22e)]=setTimeout(()=>{var _0x6676e8=_0x329cb2;clearTimeout(this[_0x6676e8(0x22e)]),this[_0x6676e8(0x22e)]=null,this[_0x6676e8(0x356)]();},_0x368784),this[_0x329cb2(0x26f)]+=0x1;}[_0x21fa21(0x3c8)](_0x223351,_0x3fccc3){var _0x48fc1d=_0x21fa21;const {cmd:_0x44145b}=_0x3fccc3;_0x44145b===F[_0x48fc1d(0x37a)]&&!this['_socketReady']&&(_0x223351[_0x48fc1d(0x1e8)]=_0x3fccc3['data'][_0x48fc1d(0x1e8)],this[_0x48fc1d(0x14e)][_0x48fc1d(0x40a)](_0x223351),this['_status$'][_0x48fc1d(0x40a)](Ee['ONLINE']),this[_0x48fc1d(0x1d7)]=!0x0,this['_candidateSocket']=null),_0x44145b===F[_0x48fc1d(0x235)]&&this[_0x48fc1d(0x2f3)](),this[_0x48fc1d(0x41b)]();}[_0x21fa21(0x41b)](){var _0x250857=_0x21fa21,_0x25947a;this['_clearHeartbeatTimer'](),this[_0x250857(0x1ce)]=setTimeout(()=>this[_0x250857(0x14f)](),(_0x25947a=this[_0x250857(0x1a6)]['getConfig'](Cn))!=null?_0x25947a:Rn);}[_0x21fa21(0x14f)](){var _0x20f145=_0x21fa21;this[_0x20f145(0x295)][_0x20f145(0x1d3)]({'cmd':F[_0x20f145(0x235)]}),this[_0x20f145(0x331)]();}[_0x21fa21(0x331)](){var _0x5a0435=_0x21fa21,_0x7bce96;this[_0x5a0435(0x1f7)]=setTimeout(()=>this[_0x5a0435(0x309)](),(_0x7bce96=this[_0x5a0435(0x1a6)][_0x5a0435(0x417)](mi))!=null?_0x7bce96:gi);}[_0x21fa21(0x3e3)](){var _0x3b97c5=_0x21fa21;this[_0x3b97c5(0x1ce)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3b97c5(0x1ce)]=null);}[_0x21fa21(0x2f3)](){var _0x28d15b=_0x21fa21;this[_0x28d15b(0x1f7)]!=null&&(clearTimeout(this[_0x28d15b(0x1f7)]),this['_timeoutTimer']=null);}};Me=Kn([be(0x0,_0x19c414(_0x50fda6)),be(0x1,_0x459fda),be(0x2,_0x51423a),be(0x3,Ii),be(0x4,_0x19c414(pe)),be(0x5,_0x548a6f(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x21fa21(0x136)]((t+0x100)['toString'](0x10)[_0x21fa21(0x2bb)](0x1));function qn(_0x24deef,_0x51f90d=0x0){var _0x381620=_0x21fa21;return(V[_0x24deef[_0x51f90d+0x0]]+V[_0x24deef[_0x51f90d+0x1]]+V[_0x24deef[_0x51f90d+0x2]]+V[_0x24deef[_0x51f90d+0x3]]+'-'+V[_0x24deef[_0x51f90d+0x4]]+V[_0x24deef[_0x51f90d+0x5]]+'-'+V[_0x24deef[_0x51f90d+0x6]]+V[_0x24deef[_0x51f90d+0x7]]+'-'+V[_0x24deef[_0x51f90d+0x8]]+V[_0x24deef[_0x51f90d+0x9]]+'-'+V[_0x24deef[_0x51f90d+0xa]]+V[_0x24deef[_0x51f90d+0xb]]+V[_0x24deef[_0x51f90d+0xc]]+V[_0x24deef[_0x51f90d+0xd]]+V[_0x24deef[_0x51f90d+0xe]]+V[_0x24deef[_0x51f90d+0xf]])[_0x381620(0x17d)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x2a5652=_0x21fa21;if(!ut){if(typeof crypto>'u'||!crypto[_0x2a5652(0x41c)])throw new Error(_0x2a5652(0x332));ut=crypto[_0x2a5652(0x41c)][_0x2a5652(0x382)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x21fa21(0x315)]&&crypto[_0x21fa21(0x315)][_0x21fa21(0x382)](crypto),Kt={'randomUUID':Xn};function Zn(_0x35d187,_0x55beef,_0x1b3544){var _0x3f72d6=_0x21fa21,_0x39aa1d,_0x100f3e,_0x3180f3;if(Kt[_0x3f72d6(0x315)]&&!_0x35d187)return Kt[_0x3f72d6(0x315)]();_0x35d187=_0x35d187||{};const _0x2466b1=(_0x3180f3=(_0x100f3e=_0x35d187[_0x3f72d6(0x2be)])!=null?_0x100f3e:(_0x39aa1d=_0x35d187['rng'])==null?void 0x0:_0x39aa1d['call'](_0x35d187))!=null?_0x3180f3:Jn();if(_0x2466b1[_0x3f72d6(0x286)]<0x10)throw new Error(_0x3f72d6(0x202));return _0x2466b1[0x6]=_0x2466b1[0x6]&0xf|0x40,_0x2466b1[0x8]=_0x2466b1[0x8]&0x3f|0x80,qn(_0x2466b1);}const J=_0x1c57ef(_0x21fa21(0x18e));function Br(_0x3bc54c){var _0x5ed900=_0x21fa21;return _0x5ed900(0x2c1)+_0x3bc54c;}var Qn=Object[_0x21fa21(0x16f)],es=(_0x51da9d,_0x413d80,_0x35324b,_0x187809)=>{var _0x3c02d1=_0x21fa21;for(var _0x3748d5=_0x187809>0x1?void 0x0:_0x187809?Qn(_0x413d80,_0x35324b):_0x413d80,_0x500071=_0x51da9d[_0x3c02d1(0x286)]-0x1,_0x3c53fc;_0x500071>=0x0;_0x500071--)(_0x3c53fc=_0x51da9d[_0x500071])&&(_0x3748d5=_0x3c53fc(_0x3748d5)||_0x3748d5);return _0x3748d5;},dt=(_0x4e64bb,_0x1e755e)=>(_0x29d334,_0x51b058)=>_0x1e755e(_0x29d334,_0x51b058,_0x4e64bb);function ts(_0x24b6cc){const {unitID:_0x333567,mutations:_0x14c657}=_0x24b6cc;return{'unitId':_0x333567,'subUnitId':_0x14c657[0x0]['params']['subUnitId']};}let it=class{constructor(_0x3d099a,_0x230b4d,_0x298b70){var _0x545e6e=_0x21fa21;this['_injector']=_0x3d099a,this['_transformService']=_0x230b4d,this[_0x545e6e(0x337)]=_0x298b70;}[_0x21fa21(0x3bc)](_0x361870){var _0x36b605=_0x21fa21,_0x54330a,_0x491b62,_0x12ed9a,_0xaef35b;const _0x370c47=this[_0x36b605(0x1f8)][_0x36b605(0x3f7)](_0x1a7f47),{unitId:_0x37d63b,subUnitId:_0x5aa880}=ts(_0x361870),_0x355c9e=_0x370c47==null?void 0x0:_0x370c47['getWorkbookSelections'](_0x37d63b)[_0x36b605(0x383)](),_0x5cb4ca=(_0x491b62=(_0x54330a=this[_0x36b605(0x337)]['getUnit'](_0x37d63b))==null?void 0x0:_0x54330a[_0x36b605(0x1e3)]())==null?void 0x0:_0x491b62['getSheetId']();if(_0x355c9e[_0x36b605(0x286)]===0x0||!_0x37d63b||!_0x5aa880)return;const _0x3604ff=[{'id':_0x41c317['id'],'params':{'unitId':_0x37d63b,'subUnitId':_0x5cb4ca,'selections':_0x4da9f1[_0x36b605(0x1fe)](_0x355c9e)}}],_0x1284d2=this[_0x36b605(0x2d1)][_0x36b605(0x1ec)](_0x361870,_0x3604ff);if(!_0x16c2fd(_0x1284d2))throw _0x1284d2['error'];const _0x1b1605=(_0xaef35b=(_0x12ed9a=_0x1284d2[_0x36b605(0x23d)][0x0])==null?void 0x0:_0x12ed9a[_0x36b605(0x301)])==null?void 0x0:_0xaef35b[_0x36b605(0x1b3)];if(Array[_0x36b605(0x37c)](_0x1b1605)&&_0x1b1605[_0x36b605(0x286)]){if(_0x1b1605['length']===_0x3604ff[0x0][_0x36b605(0x301)]['selections']['length']&&_0x1b1605[_0x36b605(0x2a5)]((_0x4845c6,_0x1900b9)=>_0x188977[_0x36b605(0x395)](_0x4845c6['range'],_0x3604ff[0x0]['params'][_0x36b605(0x1b3)][_0x1900b9][_0x36b605(0x2af)])))return;this[_0x36b605(0x1f8)]['get'](_0x1ce977)[_0x36b605(0x149)](_0x41c317['id'],{'unitId':_0x37d63b,'subUnitId':_0x5cb4ca,'selections':_0x1b1605});}}};it=es([dt(0x0,_0x19c414(_0x50fda6)),dt(0x1,_0x5ef856),dt(0x2,_0x11d3ee)],it);const ht=_0x1c57ef(_0x21fa21(0x273));var Ci=(_0x3851fe=>(_0x3851fe[_0x3851fe['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x21fa21(0x283),_0x3851fe[_0x3851fe[_0x21fa21(0x147)]=0x1]=_0x21fa21(0x147),_0x3851fe))(Ci||{});const is=new Set([_0x281dc0['id']]);function qt(_0x547a9d,_0xa3ce85,_0x215f59,_0x559df4,_0x542e3a){var _0x26d41a=_0x21fa21,_0x641ab1,_0x29fc69,_0x18c706,_0x3cfe2d;const _0x485617=[];for(const _0x56b4aa of _0x547a9d)if(is[_0x26d41a(0x212)](_0x56b4aa['id'])){if(_0x485617[_0x26d41a(0x286)]>0x0)break;_0x485617[_0x26d41a(0x136)](_0x56b4aa);break;}else _0x485617[_0x26d41a(0x136)](_0x56b4aa);const _0x151a6e=(_0x29fc69=(_0x641ab1=_0x542e3a[_0x26d41a(0x1ca)]())==null?void 0x0:_0x641ab1['userID'])!=null?_0x29fc69:_0x26d41a(0x1d2),_0x16939a=(_0x3cfe2d=(_0x18c706=_0x542e3a['getCurrentUser']())==null?void 0x0:_0x18c706[_0x26d41a(0x1e8)])!=null?_0x3cfe2d:_0x26d41a(0x1d2);return{'changeset':{'unitID':_0xa3ce85,'type':_0x4f4e81(_0x215f59['getUnitType'](_0xa3ce85)),'baseRev':_0x559df4[_0x26d41a(0x140)](_0xa3ce85),'revision':0x0,'userID':_0x151a6e,'memberID':_0x16939a,'mutations':_0x485617},'pendingMutations':_0x547a9d[_0x26d41a(0x2bb)](_0x485617[_0x26d41a(0x286)])};}function ns(_0x3f33e1,_0x295244,_0xfc5492,_0x2443e1,_0x108d56){var _0x445ae9=_0x21fa21,_0x2f2414,_0x4960f7,_0x2ef958,_0x5bab22;const _0x364753=[_0x3f33e1[_0x445ae9(0x21c)]((_0x492f0f,_0x12e138)=>{var _0x378ea1=_0x445ae9,_0x4f6d1a;const {id:_0x267877}=_0x492f0f,{id:_0xdd7690,type:_0x29cfc5}=_0x12e138,_0x5a134b=(_0x4f6d1a=_0x492f0f[_0x378ea1(0x301)])!=null?_0x4f6d1a:{'actions':null},_0x313a1c=_0x12e138[_0x378ea1(0x301)];if(_0x267877&&_0x267877!==_0xdd7690)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x267877+_0x378ea1(0x296)+_0xdd7690+'.');return{..._0x492f0f,'id':_0xdd7690,'type':_0x29cfc5,'params':{'unitId':_0x313a1c[_0x378ea1(0x2e6)],'textRanges':_0x313a1c[_0x378ea1(0x33c)],'actions':_0x325b4b[_0x378ea1(0x393)](_0x5a134b[_0x378ea1(0x13f)],_0x313a1c['actions'])}};},{})],_0x236d86=(_0x4960f7=(_0x2f2414=_0x108d56[_0x445ae9(0x1ca)]())==null?void 0x0:_0x2f2414[_0x445ae9(0x276)])!=null?_0x4960f7:_0x445ae9(0x1d2),_0x4a1a81=(_0x5bab22=(_0x2ef958=_0x108d56[_0x445ae9(0x1ca)]())==null?void 0x0:_0x2ef958['memberID'])!=null?_0x5bab22:'unknown';return{'changeset':{'unitID':_0x295244,'type':_0x4f4e81(_0xfc5492[_0x445ae9(0x33b)](_0x295244)),'baseRev':_0x2443e1['getCurrentRevOfUnit'](_0x295244),'revision':0x0,'userID':_0x236d86,'memberID':_0x4a1a81,'mutations':_0x364753},'pendingMutations':[]};}function Ri(_0x2e6b3a,_0x4891f0){var _0x3dbbea=_0x21fa21;const _0x2ea453=new _0x43e32f(0x1);return setTimeout(()=>_0x2ea453[_0x3dbbea(0x40a)](_0x4891f0),_0x2e6b3a),_0x2ea453['asObservable']()[_0x3dbbea(0x1be)](_0x3b10f3(0x1));}const ss={'id':_0x14ed1d['id'],'type':_0x5e236c[_0x21fa21(0x31e)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x276c9c,_0x4bf3d4,_0x233d2e,_0xdc3b59)=>{var _0x1d4d9b=_0x21fa21;for(var _0x55852e=_0xdc3b59>0x1?void 0x0:_0xdc3b59?rs(_0x4bf3d4,_0x233d2e):_0x4bf3d4,_0x13e908=_0x276c9c[_0x1d4d9b(0x286)]-0x1,_0x25a6cc;_0x13e908>=0x0;_0x13e908--)(_0x25a6cc=_0x276c9c[_0x13e908])&&(_0x55852e=_0x25a6cc(_0x55852e)||_0x55852e);return _0x55852e;},P=(_0x5b5dbf,_0x46489f)=>(_0x24a146,_0xa8c5d4)=>_0x46489f(_0x24a146,_0xa8c5d4,_0x5b5dbf),bi=(_0x3828d9=>(_0x3828d9[_0x21fa21(0x248)]=_0x21fa21(0x254),_0x3828d9[_0x21fa21(0x1c6)]='synced',_0x3828d9['PENDING']=_0x21fa21(0x406),_0x3828d9['AWAITING']=_0x21fa21(0x415),_0x3828d9[_0x21fa21(0x35b)]=_0x21fa21(0x418),_0x3828d9['FETCH_MISS']=_0x21fa21(0x1e5),_0x3828d9[_0x21fa21(0x3e4)]='conflict',_0x3828d9['OFFLINE']='offline',_0x3828d9))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2937f3,_0x1936b2,_0x23f26f,_0x488081,_0x5cd69a,_0x6ed00,_0x38cc91,_0x108795,_0x40b455){var _0x2077bc=_0x21fa21;N(this,_0x2077bc(0x24a),null),N(this,'_pendingMutations',[]),(this[_0x2077bc(0x1ef)]=_0x2937f3,this[_0x2077bc(0x231)]=_0x1936b2,this[_0x2077bc(0x162)]=_0x5cd69a,this[_0x2077bc(0x2cb)]=_0x6ed00,this['_undoRedoService']=_0x38cc91,this[_0x2077bc(0x144)]=_0x108795,this[_0x2077bc(0x242)]=_0x40b455,this['_awaitingChangeset']=_0x23f26f,this[_0x2077bc(0x157)]=_0x488081);}[_0x21fa21(0x211)](_0x4e4b31){var _0x35d7de=_0x21fa21;const _0x42ed87=this['_revisionService'][_0x35d7de(0x140)](this[_0x35d7de(0x1ef)]);return _0x4e4b31[_0x35d7de(0x41d)]>_0x42ed87+0x1?(this['_handler'][_0x35d7de(0x247)]({'from':_0x42ed87,'to':_0x4e4b31[_0x35d7de(0x41d)]-0x1}),!0x0):!0x1;}[_0x21fa21(0x33a)](_0x49017a){var _0x158159=_0x21fa21;this['_undoRedoService'][_0x158159(0x238)](this[_0x158159(0x1ef)],_0x49017a);}[_0x21fa21(0x367)](_0xabb909){var _0x1651c8=_0x21fa21,_0x2ec448,_0x33e3e2;(_0x33e3e2=(_0x2ec448=this[_0x1651c8(0x162)])[_0x1651c8(0x3e1)])==null||_0x33e3e2[_0x1651c8(0x377)](_0x2ec448,_0xabb909);}[_0x21fa21(0x42b)](_0x509a43){var _0x42913f=_0x21fa21,_0x4db21a,_0x47e011;return(_0x47e011=(_0x4db21a=this[_0x42913f(0x162)])[_0x42913f(0x389)])==null?void 0x0:_0x47e011['call'](_0x4db21a,_0x509a43);}['_transformStateCache'](_0x28d945){var _0x35bea8=_0x21fa21,_0x2dc25e,_0x4cc793;return(_0x4cc793=(_0x2dc25e=this[_0x35bea8(0x162)])[_0x35bea8(0x413)])==null?void 0x0:_0x4cc793[_0x35bea8(0x377)](_0x2dc25e,_0x28d945);}[_0x21fa21(0x36d)](_0xcbd863){var _0xf01d7f=_0x21fa21,_0x26a90b,_0x590660,_0xde757a;return(_0xde757a=(_0x590660=(_0x26a90b=this[_0xf01d7f(0x162)])[_0xf01d7f(0x29c)])==null?void 0x0:_0x590660[_0xf01d7f(0x377)](_0x26a90b,_0xcbd863))!=null?_0xde757a:_0xcbd863;}[_0x21fa21(0x34a)](_0x466432){var _0x408eae=_0x21fa21,_0x4e250a,_0x1f8cae,_0x46edec;return(_0x46edec=(_0x1f8cae=(_0x4e250a=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1f8cae[_0x408eae(0x377)](_0x4e250a,_0x466432))!=null?_0x46edec:_0x466432;}[_0x21fa21(0x2e3)](_0x370dc4){var _0x1f18fe=_0x21fa21,_0x30f356,_0x22cdbb;if(this[_0x1f18fe(0x231)]===Q[_0x1f18fe(0x240)]){const {unitID:_0x197007,mutations:_0x732aa1,memberID:_0x52dc8d}=_0x370dc4,_0x58eb8b=_0x732aa1[0x0][_0x1f18fe(0x301)][_0x1f18fe(0x33c)];Array[_0x1f18fe(0x37c)](_0x58eb8b)&&_0x58eb8b['length']>0x0&&((_0x22cdbb=(_0x30f356=this[_0x1f18fe(0x162)])['onSyncEditingCollabCursor'])==null||_0x22cdbb[_0x1f18fe(0x377)](_0x30f356,{'unitID':_0x197007,'memberID':_0x52dc8d,'textRanges':_0x58eb8b}));}}['_updateLocalCache'](){var _0x3eb98e=_0x21fa21,_0x40b326;(_0x40b326=this[_0x3eb98e(0x242)])==null||_0x40b326[_0x3eb98e(0x31a)](this[_0x3eb98e(0x1ef)],this[_0x3eb98e(0x231)],this[_0x3eb98e(0x24a)],this[_0x3eb98e(0x157)]);}[_0x21fa21(0x224)](){var _0x1d4228=_0x21fa21;return this[_0x1d4228(0x144)]['getCurrentRevOfUnit'](this[_0x1d4228(0x1ef)]);}[_0x21fa21(0x3a8)](){var _0x5e758b=_0x21fa21;this[_0x5e758b(0x144)]['incrementRevOfUnit'](this[_0x5e758b(0x1ef)]);}[_0x21fa21(0x29f)](_0x743a4b){var _0x5a0b9d=_0x21fa21,_0x5efdb0;let _0xf6dce8=this['_transformRemoteChangesetByIMECache'](_0x743a4b);_0xf6dce8=this[_0x5a0b9d(0x34a)](_0xf6dce8);const _0x4ba5f5=_0x17ff19(_0xf6dce8['mutations'],this[_0x5a0b9d(0x2cb)],{'fromCollab':!0x0});if(!_0x4ba5f5[_0x5a0b9d(0x26a)])throw _0x4ba5f5[_0x5a0b9d(0x1e9)]instanceof Error?_0x4ba5f5['error']:new Error((_0x5efdb0=_0x4ba5f5['error'])!=null?_0x5efdb0:_0x5a0b9d(0x329));this['_transformIMECache'](_0xf6dce8),this[_0x5a0b9d(0x272)](_0xf6dce8),this[_0x5a0b9d(0x33a)](_0x743a4b),this['_transformSelections'](_0xf6dce8),this[_0x5a0b9d(0x2e3)](_0xf6dce8),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x54b323,_0x1d4d86,_0x56044c,_0x205776,_0x471942,_0x49ec1a,_0x1ab2ce,_0x1cc044,_0xf0a3a8,_0xfbe413){var _0x1ad423=_0x21fa21;super(_0x54b323,_0x1d4d86,null,[],_0x56044c,_0x1ab2ce,_0x49ec1a,_0x205776,_0xfbe413),N(this,_0x1ad423(0x1b5),'synced'),(this[_0x1ad423(0x1f8)]=_0x471942,this[_0x1ad423(0x233)]=_0x1cc044,this[_0x1ad423(0x2d1)]=_0xf0a3a8,this['localCacheService']=_0xfbe413);}[_0x21fa21(0x15d)](_0x3f8132){var _0x309f9f=_0x21fa21;const _0x59a704=this['_injector'][_0x309f9f(0x2b1)](ae,this[_0x309f9f(0x1ef)],this[_0x309f9f(0x231)],[_0x3f8132],this[_0x309f9f(0x162)]);return _0x59a704[_0x309f9f(0x2ea)](),_0x59a704[_0x309f9f(0x2fc)](),_0x59a704;}[_0x21fa21(0x28a)](_0x21f560){var _0xb79e4c=_0x21fa21;if(this['_checkMissing'](_0x21f560))return this[_0xb79e4c(0x1f8)][_0xb79e4c(0x2b1)](ee,this[_0xb79e4c(0x1ef)],this['type'],null,[],null,[_0x21f560],this[_0xb79e4c(0x162)]);try{const _0x51114c=this[_0xb79e4c(0x2d1)][_0xb79e4c(0x1ec)](_0x21f560,[ss]);if(_0x16c2fd(_0x51114c)){const {c1Prime:_0x5a0b69}=_0x51114c;return this['_executeRemoteChangeset'](_0x5a0b69),this;}throw _0x51114c[_0xb79e4c(0x1e9)];}catch(_0x1baaa5){return this['_logService'][_0xb79e4c(0x1e9)](_0x1baaa5),this[_0xb79e4c(0x261)](!0x1);}}['_onConflict'](_0x4ef1ff){var _0x22f352=_0x21fa21;return this[_0x22f352(0x1f8)]['createInstance'](ue,this[_0x22f352(0x1ef)],this[_0x22f352(0x231)],null,[],this[_0x22f352(0x162)],_0x4ef1ff);}[_0x21fa21(0x1c9)](){var _0x5354a7=_0x21fa21;throw new Error(_0x5354a7(0x2aa));}[_0x21fa21(0x3fd)](){var _0x345d97=_0x21fa21;throw new Error(_0x345d97(0x425));}['onRemoteRetry'](){return this;}[_0x21fa21(0x2a8)](){var _0x4559c2=_0x21fa21;return this['_injector'][_0x4559c2(0x2b1)](de,this[_0x4559c2(0x1ef)],this[_0x4559c2(0x231)],null,[],this[_0x4559c2(0x162)]);}[_0x21fa21(0x2df)](){return this;}['resend'](){var _0x51f721=_0x21fa21;throw new Error(_0x51f721(0x2fb));}['fetchMiss'](){var _0x14ed13=_0x21fa21;const _0x2ed1e9=this[_0x14ed13(0x144)]['getCurrentRevOfUnit'](this[_0x14ed13(0x1ef)]);return this['_handler'][_0x14ed13(0x247)]({'from':_0x2ed1e9,'to':0x0}),this['_injector'][_0x14ed13(0x2b1)](ee,this[_0x14ed13(0x1ef)],this['type'],null,[],null,[],this[_0x14ed13(0x162)]);}};Ne=Te([P(0x3,_0x19c414(_0x16a918)),P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x3319d4),P(0x6,_0x1ce977),P(0x7,_0x459fda),P(0x8,_0x5ef856),P(0x9,_0x548a6f(J))],Ne);let ae=class extends Ce{constructor(_0x5468bb,_0x52f7bb,_0x5e7bd4,_0x4e1ef3,_0x11fb28,_0x458772,_0x23f7da,_0x133a92,_0x284258,_0x1e5a51,_0xcde21d,_0x2bf5e2,_0x2a4756,_0x170dd0){var _0x2d8fc3=_0x21fa21;super(_0x5468bb,_0x52f7bb,null,_0x5e7bd4,_0x4e1ef3,_0x284258,_0x2a4756,_0x458772,_0x170dd0),N(this,_0x2d8fc3(0x1b5),_0x2d8fc3(0x406)),N(this,_0x2d8fc3(0x258),null),N(this,_0x2d8fc3(0x403),null),(this['_injector']=_0x11fb28,this['_memberService']=_0x23f7da,this[_0x2d8fc3(0x233)]=_0x133a92,this[_0x2d8fc3(0x1a6)]=_0x1e5a51,this['_transformService']=_0xcde21d,this[_0x2d8fc3(0x282)]=_0x2bf5e2);}['appendMutation'](_0x3245c8){var _0x4e902e=_0x21fa21;return this['_pendingMutations'][_0x4e902e(0x136)](_0x3245c8),this[_0x4e902e(0x2fc)](),this;}[_0x21fa21(0x28a)](_0x2fd662){var _0x7bf01c=_0x21fa21;if(this[_0x7bf01c(0x211)](_0x2fd662))return this[_0x7bf01c(0x3d1)](),this[_0x7bf01c(0x1f8)][_0x7bf01c(0x2b1)](ee,this[_0x7bf01c(0x1ef)],this[_0x7bf01c(0x231)],null,this[_0x7bf01c(0x157)],null,[_0x2fd662],this[_0x7bf01c(0x162)]);try{const _0x5902d3=this[_0x7bf01c(0x2d1)]['transformMutationsWithChangeset'](_0x2fd662,this[_0x7bf01c(0x157)]);if(_0x16c2fd(_0x5902d3)){const {c1Prime:_0x3431eb,m2Prime:_0x306c0a}=_0x5902d3;this[_0x7bf01c(0x29f)](_0x3431eb);const _0x4e39e3=this[_0x7bf01c(0x1f8)][_0x7bf01c(0x2b1)](ae,this[_0x7bf01c(0x1ef)],this[_0x7bf01c(0x231)],_0x306c0a,this[_0x7bf01c(0x162)]);this[_0x7bf01c(0x3d1)]();const _0x17399d=new Date()[_0x7bf01c(0x1a3)](),_0x4bd072=this[_0x7bf01c(0x258)]?Math[_0x7bf01c(0x166)](this['_scheduleCompleteTimestamp']-_0x17399d,0x0):this['_getSendChangesetTimeout']();return _0x4e39e3[_0x7bf01c(0x2ea)](_0x4bd072),_0x4e39e3;}throw _0x5902d3[_0x7bf01c(0x1e9)];}catch(_0x34f8d3){return this['_logService'][_0x7bf01c(0x1e9)](_0x34f8d3),this[_0x7bf01c(0x261)](!0x1);}}[_0x21fa21(0x1c9)](){var _0x2e7218=_0x21fa21;throw new Error(_0x2e7218(0x214));}[_0x21fa21(0x3fd)](){var _0x29f614=_0x21fa21;throw new Error(_0x29f614(0x322));}[_0x21fa21(0x1a0)](){return this;}['toggleOffline'](){var _0x538e3c=_0x21fa21;return this[_0x538e3c(0x3d1)](),this[_0x538e3c(0x1f8)][_0x538e3c(0x2b1)](de,this[_0x538e3c(0x1ef)],this[_0x538e3c(0x231)],null,this[_0x538e3c(0x157)],this['_handler']);}['toggleOnline'](){return this;}[_0x21fa21(0x2ea)](_0x1254bc){var _0x3c7aac=_0x21fa21;const _0xce0e3c=_0x1254bc!=null?_0x1254bc:this[_0x3c7aac(0x25d)]();this[_0x3c7aac(0x258)]=new Date()[_0x3c7aac(0x1a3)]()+_0xce0e3c,this[_0x3c7aac(0x403)]=setTimeout(()=>{var _0x5bdc63=_0x3c7aac;this[_0x5bdc63(0x3d1)]();let _0x400c87=null;switch(this['type']){case Q[_0x5bdc63(0x19a)]:{_0x400c87=qt(this[_0x5bdc63(0x157)],this[_0x5bdc63(0x1ef)],this[_0x5bdc63(0x282)],this[_0x5bdc63(0x144)],this[_0x5bdc63(0x252)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x5bdc63(0x2a5)](_0x2ce606=>_0x2ce606['id']===_0x309e0['id'])?_0x400c87=ns(this[_0x5bdc63(0x157)],this[_0x5bdc63(0x1ef)],this['_univerInstanceService'],this[_0x5bdc63(0x144)],this[_0x5bdc63(0x252)]):_0x400c87=qt(this[_0x5bdc63(0x157)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x5bdc63(0x252)]);break;}default:throw new Error(_0x5bdc63(0x1fc)+this[_0x5bdc63(0x231)]+_0x5bdc63(0x12f));}const {changeset:_0x3e166d,pendingMutations:_0x16361f}=_0x400c87;this['_handler'][_0x5bdc63(0x3ed)](_0x3e166d);const _0x2a2dce=_0x16361f[_0x5bdc63(0x286)]?this['_injector'][_0x5bdc63(0x2b1)](oe,this['unitID'],this['type'],_0x3e166d,_0x16361f,this['_handler'],void 0x0):this[_0x5bdc63(0x1f8)][_0x5bdc63(0x2b1)](le,this[_0x5bdc63(0x1ef)],this['type'],_0x3e166d,this[_0x5bdc63(0x162)]);_0x2a2dce['_updateLocalCache'](),this[_0x5bdc63(0x162)][_0x5bdc63(0x17c)](this,_0x2a2dce);},_0xce0e3c);}[_0x21fa21(0x25d)](){var _0x34203d=_0x21fa21,_0x4bab89;const _0x15233b=this[_0x34203d(0x1a6)][_0x34203d(0x417)](q);return(_0x4bab89=_0x15233b==null?void 0x0:_0x15233b['sendChangesetTimeout'])!=null?_0x4bab89:En;}['resend'](){var _0xe8d59e=_0x21fa21;throw new Error(_0xe8d59e(0x341));}[_0x21fa21(0x3d1)](){var _0x3c5105=_0x21fa21;this[_0x3c5105(0x403)]!=null&&(clearTimeout(this[_0x3c5105(0x403)]),this['_sendingTimer']=null);}[_0x21fa21(0x261)](_0xd6cac4){var _0xa432bc=_0x21fa21;return this[_0xa432bc(0x3d1)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0xa432bc(0x231)],null,this[_0xa432bc(0x157)],this[_0xa432bc(0x162)],_0xd6cac4);}};ae=Te([P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x19c414(_0x16a918)),P(0x6,_0x19c414(Le)),P(0x7,_0x459fda),P(0x8,_0x1ce977),P(0x9,_0x51423a),P(0xa,_0x5ef856),P(0xb,_0x11d3ee),P(0xc,_0x3319d4),P(0xd,_0x548a6f(J))],ae);let le=class extends Ce{constructor(_0x5ccd21,_0x559063,_0x2da765,_0x4cc979,_0xc3032,_0x2e0ff6,_0x2faf21,_0x2c2fb9,_0x5449e5,_0x178e8b,_0x3e99e6){var _0x5e1b0c=_0x21fa21;super(_0x5ccd21,_0x559063,_0x2da765,[],_0x4cc979,_0x2faf21,_0x178e8b,_0x2e0ff6,_0x3e99e6),N(this,_0x5e1b0c(0x1b5),'awaiting'),N(this,_0x5e1b0c(0x245),0x0),N(this,_0x5e1b0c(0x132)),N(this,'_sender'),(this[_0x5e1b0c(0x1f8)]=_0xc3032,this['_logService']=_0x2c2fb9,this[_0x5e1b0c(0x2d1)]=_0x5449e5);}[_0x21fa21(0x15d)](_0x5b219b){var _0x39c54f=_0x21fa21;this[_0x39c54f(0x3d1)]();const _0x368c48=this[_0x39c54f(0x1f8)][_0x39c54f(0x2b1)](oe,this[_0x39c54f(0x1ef)],this[_0x39c54f(0x231)],this['_awaitingChangeset'],[_0x5b219b],this[_0x39c54f(0x162)],this['_resendTimer']);return _0x368c48['_updateLocalCache'](),_0x368c48;}[_0x21fa21(0x28a)](_0x5944fe){var _0x75ffe5=_0x21fa21;if(this['_checkMissing'](_0x5944fe))return this['_clearScheduledTask'](),this[_0x75ffe5(0x1f8)]['createInstance'](ee,this[_0x75ffe5(0x1ef)],this[_0x75ffe5(0x231)],this[_0x75ffe5(0x24a)],[],null,[_0x5944fe],this[_0x75ffe5(0x162)]);try{const _0x5911db=this['_transformService']['transformChangesets']([_0x5944fe],[this['_awaitingChangeset']],!0x1);if(_0x276042(_0x5911db)){const {c1Prime:_0x1e3dda,c2Prime:_0xcecec2}=_0x5911db;this[_0x75ffe5(0x29f)](_0x1e3dda[0x0]),_0xcecec2[0x0][_0x75ffe5(0x405)]=this[_0x75ffe5(0x224)](),this[_0x75ffe5(0x3d1)]();const _0x242ba7=this[_0x75ffe5(0x1f8)]['createInstance'](le,this[_0x75ffe5(0x1ef)],this[_0x75ffe5(0x231)],_0xcecec2[0x0],this[_0x75ffe5(0x162)]);return _0x242ba7[_0x75ffe5(0x2fc)](),_0x242ba7;}return this[_0x75ffe5(0x261)](!0x1);}catch(_0x24e20a){return this[_0x75ffe5(0x233)][_0x75ffe5(0x1e9)](_0x24e20a),this[_0x75ffe5(0x261)](!0x1);}}[_0x21fa21(0x1c9)](_0x4a90ae){var _0x50c8ff=_0x21fa21;this[_0x50c8ff(0x3d1)]();const _0x2458dd=this['_revisionService'][_0x50c8ff(0x140)](this[_0x50c8ff(0x1ef)]);if(_0x4a90ae[_0x50c8ff(0x41d)]<_0x2458dd-0x1)return this;if(this[_0x50c8ff(0x211)](_0x4a90ae))return this[_0x50c8ff(0x1f8)][_0x50c8ff(0x2b1)](ee,this['unitID'],this[_0x50c8ff(0x231)],null,[],this['_awaitingChangeset'],[],this[_0x50c8ff(0x162)]);this['_incrementRevisionNumber']();const _0xd28be2=this[_0x50c8ff(0x1f8)][_0x50c8ff(0x2b1)](Ne,this['unitID'],this[_0x50c8ff(0x231)],this['_handler']);return _0xd28be2[_0x50c8ff(0x2fc)](),_0xd28be2;}[_0x21fa21(0x3fd)](_0x599d64){var _0x168a93=_0x21fa21;return this['_onConflict'](!!(_0x599d64!=null&&_0x599d64[_0x168a93(0x196)]));}['onRemoteRetry'](_0x39491a){var _0xa1ecc2=_0x21fa21;return this[_0xa1ecc2(0x245)]>Oi?this['toggleOffline']():(this[_0xa1ecc2(0x132)]=Ri(this[_0xa1ecc2(0x245)],{'timeout':this[_0xa1ecc2(0x245)],'reqId':_0x39491a['reqId']}),this[_0xa1ecc2(0x336)]=this[_0xa1ecc2(0x132)][_0xa1ecc2(0x223)](({reqId:_0x40728c,timeout:_0x138fd0})=>{var _0x346dab=_0xa1ecc2;this[_0x346dab(0x42e)](_0x40728c,_0x138fd0);}),this);}[_0x21fa21(0x2a8)](){var _0x4e48e6=_0x21fa21;return this[_0x4e48e6(0x3d1)](),this[_0x4e48e6(0x1f8)][_0x4e48e6(0x2b1)](de,this[_0x4e48e6(0x1ef)],this[_0x4e48e6(0x231)],this['_awaitingChangeset'],[],this[_0x4e48e6(0x162)]);}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x47ed76=_0x21fa21;this[_0x47ed76(0x162)][_0x47ed76(0x3ed)](this[_0x47ed76(0x24a)]);}[_0x21fa21(0x261)](_0x32d4e5){var _0x5ded85=_0x21fa21;return this[_0x5ded85(0x3d1)](),this[_0x5ded85(0x1f8)]['createInstance'](ue,this[_0x5ded85(0x1ef)],this['type'],this[_0x5ded85(0x24a)],[],this[_0x5ded85(0x162)],_0x32d4e5);}[_0x21fa21(0x42e)](_0x51a1ac,_0x3382e0){var _0x5dcde5=_0x21fa21,_0x1b5f15;_0x51a1ac===((_0x1b5f15=this[_0x5dcde5(0x24a)])==null?void 0x0:_0x1b5f15[_0x5dcde5(0x41e)])&&(this[_0x5dcde5(0x1f4)](),this[_0x5dcde5(0x245)]=_0x3382e0===0x0?0x3e8:_0x3382e0*0x2);}['_clearScheduledTask'](){var _0x687572=_0x21fa21,_0x44880d;(_0x44880d=this[_0x687572(0x336)])==null||_0x44880d['unsubscribe'](),this[_0x687572(0x245)]=0x0;}};le=Te([P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x19c414(_0x16a918)),P(0x6,_0x1ce977),P(0x7,_0x459fda),P(0x8,_0x5ef856),P(0x9,_0x3319d4),P(0xa,_0x548a6f(J))],le);let oe=class extends Ce{constructor(_0x42855c,_0xe50ddd,_0x5612ea,_0xacb68e,_0x2fb833,_0x200deb,_0x24c3f6,_0x2f0ed1,_0x33f356,_0x585aa2,_0x1a8a5c,_0x3106df,_0x1638f7){var _0x517015=_0x21fa21;super(_0x42855c,_0xe50ddd,_0x5612ea,_0xacb68e,_0x2fb833,_0x33f356,_0x3106df,_0x2f0ed1,_0x1638f7),N(this,'status',_0x517015(0x418)),N(this,'_resendTimeout',0x0),N(this,_0x517015(0x132)),N(this,'_sender'),(this[_0x517015(0x1f8)]=_0x24c3f6,this[_0x517015(0x233)]=_0x585aa2,this[_0x517015(0x2d1)]=_0x1a8a5c,this[_0x517015(0x308)]=_0x1638f7,_0x200deb&&(this[_0x517015(0x132)]=_0x200deb,this['_sender']=this[_0x517015(0x132)][_0x517015(0x223)](({reqId:_0x5eeeaf,timeout:_0x2f7cc2})=>{var _0x38ff10=_0x517015;this[_0x38ff10(0x42e)](_0x5eeeaf,_0x2f7cc2);})));}['appendMutation'](_0x477e08){var _0x28ac15=_0x21fa21;return this[_0x28ac15(0x157)]['push'](_0x477e08),this;}[_0x21fa21(0x28a)](_0x495a1d){var _0x4dbb89=_0x21fa21;if(this[_0x4dbb89(0x211)](_0x495a1d))return this['_clearScheduledTask'](),this[_0x4dbb89(0x1f8)][_0x4dbb89(0x2b1)](ee,this[_0x4dbb89(0x1ef)],this['type'],this[_0x4dbb89(0x24a)],this['_pendingMutations'],null,[_0x495a1d],this[_0x4dbb89(0x162)]);try{const _0x348358=this['_transformService'][_0x4dbb89(0x187)]([_0x495a1d],[this[_0x4dbb89(0x24a)]],!0x1);if(_0x276042(_0x348358)){const {c1Prime:_0x39c5d2,c2Prime:_0x58b828}=_0x348358,_0x219e39=this[_0x4dbb89(0x2d1)][_0x4dbb89(0x1ec)](_0x39c5d2[0x0],this[_0x4dbb89(0x157)]);if(_0x16c2fd(_0x219e39)){const {c1Prime:_0x390f4f,m2Prime:_0x1b1587}=_0x219e39;return this[_0x4dbb89(0x29f)](_0x390f4f),_0x58b828[0x0][_0x4dbb89(0x405)]=this[_0x4dbb89(0x224)](),this[_0x4dbb89(0x3d1)](),this['_injector'][_0x4dbb89(0x2b1)](oe,this[_0x4dbb89(0x1ef)],this[_0x4dbb89(0x231)],_0x58b828[0x0],_0x1b1587,this['_handler'],void 0x0);}throw _0x219e39[_0x4dbb89(0x1e9)];}throw _0x348358['error'];}catch(_0xba9c68){return this[_0x4dbb89(0x233)]['error'](_0xba9c68),this[_0x4dbb89(0x261)](!0x1);}}[_0x21fa21(0x1c9)](_0x4f973d){var _0xdf10d7=_0x21fa21;if(this[_0xdf10d7(0x3d1)](),this[_0xdf10d7(0x211)](_0x4f973d))return this['_injector'][_0xdf10d7(0x2b1)](ee,this[_0xdf10d7(0x1ef)],this[_0xdf10d7(0x231)],null,this[_0xdf10d7(0x157)],this[_0xdf10d7(0x24a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x53cabe=this['_injector'][_0xdf10d7(0x2b1)](ae,this[_0xdf10d7(0x1ef)],this['type'],this['_pendingMutations'],this[_0xdf10d7(0x162)]);return _0x53cabe[_0xdf10d7(0x2ea)](),_0x53cabe[_0xdf10d7(0x2fc)](),_0x53cabe;}[_0x21fa21(0x3fd)](_0x512162){return this['_onConflict'](!!(_0x512162!=null&&_0x512162['isPermissionRej']));}[_0x21fa21(0x1a0)](_0xaad517){var _0x55e02c=_0x21fa21;return this[_0x55e02c(0x245)]>Oi?this['toggleOffline']():(this[_0x55e02c(0x132)]=Ri(this['_resendTimeout'],{'timeout':this[_0x55e02c(0x245)],'reqId':_0xaad517[_0x55e02c(0x41e)]}),this[_0x55e02c(0x336)]=this[_0x55e02c(0x132)]['subscribe'](({reqId:_0x51ecd4,timeout:_0x21e39d})=>{var _0x34d705=_0x55e02c;this[_0x34d705(0x42e)](_0x51ecd4,_0x21e39d);}),this);}[_0x21fa21(0x2a8)](){var _0x3ce3af=_0x21fa21;return this[_0x3ce3af(0x3d1)](),this[_0x3ce3af(0x1f8)][_0x3ce3af(0x2b1)](de,this[_0x3ce3af(0x1ef)],this[_0x3ce3af(0x231)],this[_0x3ce3af(0x24a)],this[_0x3ce3af(0x157)],this[_0x3ce3af(0x162)]);}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x1f1ba5=_0x21fa21;this[_0x1f1ba5(0x162)][_0x1f1ba5(0x3ed)](this['_awaitingChangeset']);}[_0x21fa21(0x261)](_0x287608){var _0x49a771=_0x21fa21;return this[_0x49a771(0x3d1)](),this[_0x49a771(0x1f8)]['createInstance'](ue,this[_0x49a771(0x1ef)],this[_0x49a771(0x231)],null,this[_0x49a771(0x157)],this[_0x49a771(0x162)],_0x287608);}[_0x21fa21(0x42e)](_0x5f4b18,_0x57f72b){var _0x31793a=_0x21fa21,_0x7a897e;_0x5f4b18===((_0x7a897e=this[_0x31793a(0x24a)])==null?void 0x0:_0x7a897e[_0x31793a(0x41e)])&&(this[_0x31793a(0x1f4)](),this[_0x31793a(0x245)]=_0x57f72b===0x0?0x3e8:_0x57f72b*0x2);}[_0x21fa21(0x3d1)](){var _0x1e4130=_0x21fa21,_0x167b92;(_0x167b92=this[_0x1e4130(0x336)])==null||_0x167b92[_0x1e4130(0x3cc)](),this[_0x1e4130(0x245)]=0x0;}};oe=Te([P(0x6,_0x19c414(_0x50fda6)),P(0x7,_0x19c414(_0x16a918)),P(0x8,_0x1ce977),P(0x9,_0x459fda),P(0xa,_0x5ef856),P(0xb,_0x3319d4),P(0xc,_0x548a6f(J))],oe);let ue=class extends Ce{constructor(_0x3f386d,_0x930263,_0x5a2e9c,_0x1b42ac,_0xc9ec94,_0x5418e6=!0x1,_0x3d4bfa,_0x1109bf,_0x6d8915,_0x29055e,_0x3cb409,_0x6755b5,_0x9e926d){var _0x363a5f=_0x21fa21;super(_0x3f386d,_0x930263,_0x5a2e9c,_0x1b42ac,_0xc9ec94,_0x1109bf,_0x6d8915,_0x29055e,_0x9e926d),N(this,_0x363a5f(0x1b5),_0x363a5f(0x3dd)),(this[_0x363a5f(0x288)]=_0x5418e6,this[_0x363a5f(0x275)]=_0x3d4bfa,this[_0x363a5f(0x164)]=_0x3cb409,this[_0x363a5f(0x41a)]=_0x6755b5,this[_0x363a5f(0x308)]=_0x9e926d,this['_showConflictNotification'](),this[_0x363a5f(0x30b)](),this[_0x363a5f(0x32e)]());}[_0x21fa21(0x15d)](){return this;}[_0x21fa21(0x28a)](){return this;}[_0x21fa21(0x1c9)](){return this;}[_0x21fa21(0x3fd)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x5ac0c2=_0x21fa21;throw new Error(_0x5ac0c2(0x250));}['_clearLocalCache'](){var _0x8240d7=_0x21fa21,_0x92d76c;(_0x92d76c=this[_0x8240d7(0x242)])==null||_0x92d76c[_0x8240d7(0x31a)](this[_0x8240d7(0x1ef)],this[_0x8240d7(0x231)],null,[]);}[_0x21fa21(0x153)](){var _0xa15613=_0x21fa21;this[_0xa15613(0x288)]?this['_collaborationUIEventService'][_0xa15613(0x374)]({'id':re[_0xa15613(0x160)]}):this['_collaborationUIEventService'][_0xa15613(0x374)]({'id':re[_0xa15613(0x3e4)]});}[_0x21fa21(0x32e)](){var _0x4f0ad0=_0x21fa21;this[_0x4f0ad0(0x275)][_0x4f0ad0(0x40f)](new _0x3477ec(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x19c414(_0x19d05d)),P(0x7,_0x1ce977),P(0x8,_0x3319d4),P(0x9,_0x19c414(_0x16a918)),P(0xa,_0x19c414(_0x4ac43d)),P(0xb,_0x19c414(pe)),P(0xc,_0x548a6f(J))],ue);let de=class extends Ce{constructor(_0x2e8739,_0x443787,_0x276afc,_0x242c47,_0x1a35f7,_0x1b1da2,_0x2fce09,_0x4d9905,_0x3a9ade,_0x4e6d63){var _0xe70586=_0x21fa21;super(_0x2e8739,_0x443787,_0x276afc,_0x242c47,_0x1a35f7,_0x4d9905,_0x3a9ade,_0x2fce09,_0x4e6d63),N(this,'status',_0xe70586(0x2bd)),this[_0xe70586(0x1f8)]=_0x1b1da2;}[_0x21fa21(0x15d)](_0x84cce2){var _0x5e4377=_0x21fa21;return this['_pendingMutations']['push'](_0x84cce2),this[_0x5e4377(0x2fc)](),this;}[_0x21fa21(0x28a)](_0x319126){var _0x49b98a=_0x21fa21;throw new Error(_0x49b98a(0x303));}[_0x21fa21(0x1c9)](){var _0x461773=_0x21fa21;throw new Error(_0x461773(0x20b));}[_0x21fa21(0x3fd)](){var _0x480358=_0x21fa21;throw new Error(_0x480358(0x2c3));}[_0x21fa21(0x1a0)](){return this;}['toggleOffline'](){return this;}[_0x21fa21(0x2df)](){var _0x5dcbab=_0x21fa21;const {_injector:_0x53e341,_pendingMutations:_0x423ef3,_awaitingChangeset:_0x2739c6,unitID:_0xac0bc5,_handler:_0x402e2f,type:_0x4887e2}=this,_0x7200f9=yi(_0x53e341,_0xac0bc5,_0x4887e2,_0x2739c6,_0x423ef3,_0x402e2f);return _0x7200f9 instanceof ae?_0x7200f9[_0x5dcbab(0x2ea)]():(_0x7200f9 instanceof oe||_0x7200f9 instanceof le)&&_0x7200f9['resend'](),_0x7200f9;}[_0x21fa21(0x1f4)](){var _0x2424be=_0x21fa21;throw new Error(_0x2424be(0x24c));}};de=Te([P(0x5,_0x19c414(_0x50fda6)),P(0x6,_0x19c414(_0x16a918)),P(0x7,_0x1ce977),P(0x8,_0x3319d4),P(0x9,_0x548a6f(J))],de);let ee=class extends Ce{constructor(_0x545236,_0x28247d,_0x5f095e,_0x27e2ee,_0x9ae189,_0x43bfe8,_0x5058ba,_0x361737,_0x42072c,_0x195328,_0x3e821b,_0x4719ce,_0x183344,_0x3827b0){var _0x455abc=_0x21fa21;super(_0x545236,_0x28247d,_0x5f095e,_0x27e2ee,_0x5058ba,_0x3e821b,_0x4719ce,_0x42072c,_0x3827b0),N(this,'status',_0x455abc(0x1e5)),(this[_0x455abc(0x2e4)]=_0x9ae189,this[_0x455abc(0x3d5)]=_0x43bfe8,this[_0x455abc(0x1f8)]=_0x361737,this[_0x455abc(0x233)]=_0x195328,this[_0x455abc(0x2d1)]=_0x183344,this['localCacheService']=_0x3827b0);}['onMissedChangesetFetched'](_0x539691){var _0x2ca6b3=_0x21fa21;try{const _0x34b702=[..._0x539691,...this[_0x2ca6b3(0x3d5)]],_0x1b9cb7=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2ca6b3(0x2cc)](_0x419a19=>!!_0x419a19);let _0x754c57,_0x14db29;if(_0x1b9cb7[_0x2ca6b3(0x286)]){const _0x202754=this[_0x2ca6b3(0x2d1)]['transformChangesets'](_0x34b702,_0x1b9cb7,!0x1);if(!_0x276042(_0x202754))throw _0x202754[_0x2ca6b3(0x1e9)];_0x754c57=_0x202754[_0x2ca6b3(0x199)],_0x14db29=_0x202754['c2Prime'];}else _0x754c57=_0x34b702,_0x14db29=[];let _0x1c8852=this[_0x2ca6b3(0x157)];_0x754c57['forEach'](_0x32dc25=>{var _0x4c27a3=_0x2ca6b3;let _0x1a6110;if(_0x1c8852[_0x4c27a3(0x286)]){const _0x533b7f=this[_0x4c27a3(0x2d1)][_0x4c27a3(0x1ec)](_0x32dc25,_0x1c8852);if(!_0x16c2fd(_0x533b7f))throw _0x533b7f[_0x4c27a3(0x1e9)];_0x1a6110=_0x533b7f[_0x4c27a3(0x199)],_0x1c8852=_0x533b7f[_0x4c27a3(0x23d)];}else _0x1a6110=_0x32dc25;this[_0x4c27a3(0x29f)](_0x1a6110);}),this[_0x2ca6b3(0x2e4)]&&this[_0x2ca6b3(0x3a8)](),this['_awaitingChangeset']&&_0x14db29['length']&&(_0x14db29[0x0][_0x2ca6b3(0x405)]=this[_0x2ca6b3(0x224)]());let _0x59d554;if(this['_awaitingChangeset']&&_0x1c8852[_0x2ca6b3(0x286)]!==0x0)_0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](oe,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x14db29[0x0],_0x1c8852,this[_0x2ca6b3(0x162)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1c8852['length']===0x0)_0x14db29[0x0]['baseRev']=this[_0x2ca6b3(0x224)](),_0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](le,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x14db29[0x0],this[_0x2ca6b3(0x162)]);else{if(_0x1c8852[_0x2ca6b3(0x286)]!==0x0){const _0x1b668d=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](ae,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x1c8852,this[_0x2ca6b3(0x162)]);_0x1b668d[_0x2ca6b3(0x2ea)](),_0x59d554=_0x1b668d;}else _0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](Ne,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],this[_0x2ca6b3(0x162)]);}}return _0x59d554['_updateLocalCache'](),_0x59d554;}catch(_0x3bdab0){return this[_0x2ca6b3(0x233)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x3bdab0),this[_0x2ca6b3(0x1f8)]['createInstance'](ue,this[_0x2ca6b3(0x1ef)],this['type'],this[_0x2ca6b3(0x24a)],this[_0x2ca6b3(0x157)],this['_handler'],!0x1);}}[_0x21fa21(0x1f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x21fa21(0x15d)](_0x5c9a6a){var _0xf7ca79=_0x21fa21;return this['_pendingMutations'][_0xf7ca79(0x136)](_0x5c9a6a),this;}['onRemoteChangeset'](_0x20a8ee){var _0x791a2f=_0x21fa21;return this[_0x791a2f(0x3d5)][_0x791a2f(0x136)](_0x20a8ee),this;}['onRemoteAck'](_0x550cca){var _0x3df6ef=_0x21fa21;if(this[_0x3df6ef(0x24a)])return this[_0x3df6ef(0x2e4)]=this[_0x3df6ef(0x24a)],this[_0x3df6ef(0x24a)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x21fa21(0x3fd)](_0x149be7){var _0x3ce1df=_0x21fa21;return this[_0x3ce1df(0x261)](!!(_0x149be7!=null&&_0x149be7[_0x3ce1df(0x196)]));}[_0x21fa21(0x1a0)](){return this;}[_0x21fa21(0x2a8)](){var _0x300ce4=_0x21fa21;return this[_0x300ce4(0x1f8)]['createInstance'](de,this[_0x300ce4(0x1ef)],this['type'],this[_0x300ce4(0x24a)],this[_0x300ce4(0x157)],this['_handler']);}[_0x21fa21(0x2df)](){return this;}['_onConflict'](_0x5c5329){var _0x5b7312=_0x21fa21;return this['_injector'][_0x5b7312(0x2b1)](ue,this['unitID'],this[_0x5b7312(0x231)],this[_0x5b7312(0x24a)],this[_0x5b7312(0x157)],this[_0x5b7312(0x162)],_0x5c5329);}};ee=Te([P(0x7,_0x19c414(_0x50fda6)),P(0x8,_0x19c414(_0x16a918)),P(0x9,_0x459fda),P(0xa,_0x1ce977),P(0xb,_0x3319d4),P(0xc,_0x5ef856),P(0xd,_0x548a6f(J))],ee);function yi(_0x16f675,_0x36ef71,_0x41134b,_0x414f0d,_0x405166,_0x35b311){var _0x3ba02f=_0x21fa21;return _0x414f0d&&_0x405166['length']?_0x16f675[_0x3ba02f(0x2b1)](oe,_0x36ef71,_0x41134b,_0x414f0d,_0x405166,_0x35b311,void 0x0):_0x414f0d?_0x16f675[_0x3ba02f(0x2b1)](le,_0x36ef71,_0x41134b,_0x414f0d,_0x35b311):_0x405166['length']?_0x16f675[_0x3ba02f(0x2b1)](ae,_0x36ef71,_0x41134b,_0x405166,_0x35b311):_0x16f675['createInstance'](Ne,_0x36ef71,_0x41134b,_0x35b311);}var as=Object[_0x21fa21(0x16f)],Lt=(_0x55e2ec,_0x5042c5,_0x522811,_0x86ff3f)=>{var _0x467cb5=_0x21fa21;for(var _0x5cf976=_0x86ff3f>0x1?void 0x0:_0x86ff3f?as(_0x5042c5,_0x522811):_0x5042c5,_0x346a99=_0x55e2ec[_0x467cb5(0x286)]-0x1,_0x4004ff;_0x346a99>=0x0;_0x346a99--)(_0x4004ff=_0x55e2ec[_0x346a99])&&(_0x5cf976=_0x4004ff(_0x5cf976)||_0x5cf976);return _0x5cf976;},H=(_0x847b45,_0x12ca47)=>(_0x524cb2,_0x49f579)=>_0x12ca47(_0x524cb2,_0x49f579,_0x847b45);let nt=class extends _0x37cb10{constructor(_0xca45b5,_0x126275,_0x2f41d6,_0x5e11da,_0x32dc80,_0x366ffe,_0x73c3f0,_0x566a51,_0x2a2684,_0x455f85,_0x139f25,_0x5090ed,_0x819d78){var _0x453452=_0x21fa21;super(),N(this,_0x453452(0x2a3),new _0x214797(null)),N(this,_0x453452(0x326),this[_0x453452(0x2a3)][_0x453452(0x27d)]()),N(this,'_state'),N(this,_0x453452(0x2f2),!0x1),N(this,_0x453452(0x36e),''),N(this,'_changesetReqId',0x0),N(this,_0x453452(0x22a),this[_0x453452(0x326)][_0x453452(0x1be)](_0x83c841(_0x55dbf7=>_0x55dbf7?_0x55dbf7[_0x453452(0x1b5)]:bi[_0x453452(0x1fb)]),_0x1dd3ef(0x1))),N(this,_0x453452(0x1a9),!0x1),N(this,_0x453452(0x131),[]),(this[_0x453452(0x1ef)]=_0xca45b5,this['session']=_0x126275,this[_0x453452(0x22c)]=_0x2f41d6,this[_0x453452(0x1f8)]=_0x5e11da,this[_0x453452(0x3ff)]=_0x32dc80,this[_0x453452(0x164)]=_0x366ffe,this[_0x453452(0x144)]=_0x73c3f0,this['_eventService']=_0x566a51,this[_0x453452(0x233)]=_0x2a2684,this[_0x453452(0x2cb)]=_0x455f85,this['_permissionService']=_0x139f25,this[_0x453452(0x3a1)]=_0x5090ed,this[_0x453452(0x242)]=_0x819d78);}get['state'](){return this['_state'];}async[_0x21fa21(0x1da)](){var _0x1a7ff5=_0x21fa21;if(this[_0x1a7ff5(0x1f6)])throw new Error(_0x1a7ff5(0x3e2));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x570176(()=>{var _0x49aa93=_0x4934;this[_0x49aa93(0x2f2)]=!0x1,this[_0x49aa93(0x3a4)]();});}[_0x21fa21(0x25e)](_0x5c9451){var _0x162494=_0x21fa21;this[_0x162494(0x16b)](_0x5c9451);}[_0x21fa21(0x3c4)](_0x50ef18){var _0x5263ed=_0x21fa21;this['_state']=_0x50ef18,this['_state$'][_0x5263ed(0x40a)](_0x50ef18);}async[_0x21fa21(0x2c2)](){var _0x178105=_0x21fa21,_0x1d2037;this[_0x178105(0x3c4)](await this['_createInitialState']()),this[_0x178105(0x3a1)]&&((_0x1d2037=this[_0x178105(0x3a1)])==null||_0x1d2037['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x178105(0x3a1)][_0x178105(0x32b)](this[_0x178105(0x1ef)])[_0x178105(0x223)](_0x8203c=>{var _0x330c79=_0x178105;this['_logService']['debug']('[CollaborationEntity]',_0x330c79(0x22f),_0x8203c),_0x8203c===Ci[_0x330c79(0x147)]?(this[_0x330c79(0x2bf)][_0x330c79(0x374)]({'id':re[_0x330c79(0x324)]}),this[_0x330c79(0x275)][_0x330c79(0x40f)](new _0x3477ec(this['unitID'])['id'],!0x1),this[_0x330c79(0x275)][_0x330c79(0x260)](!0x1)):(this[_0x330c79(0x275)][_0x330c79(0x40f)](new _0x3477ec(this[_0x330c79(0x1ef)])['id'],!0x0),this[_0x330c79(0x275)]['setShowComponents'](!0x0));})));let _0x2da7c0=!0x1;return this['disposeWithMe'](this[_0x178105(0x2a0)][_0x178105(0x386)][_0x178105(0x223)](_0x2268b0=>{var _0xd68173=_0x178105;_0x2268b0===Ee[_0xd68173(0x3f4)]?this[_0xd68173(0x18f)](_0x2da7c0):_0x2268b0===Ee[_0xd68173(0x1fb)]&&(_0x2da7c0=!0x0,this[_0xd68173(0x1dd)]());})),this[_0x178105(0x2f1)](this[_0x178105(0x2a0)]['event$'][_0x178105(0x223)](_0x1dedbe=>{var _0x487ab2=_0x178105;try{switch(_0x1dedbe['eventID']){case _0xea38b9[_0x487ab2(0x21a)]:{this[_0x487ab2(0x414)](_0x18e7a3(_0x1dedbe['data']));break;}case _0xea38b9[_0x487ab2(0x171)]:{this[_0x487ab2(0x2ab)](_0x1dedbe[_0x487ab2(0x1de)]);break;}case _0xea38b9[_0x487ab2(0x344)]:{this[_0x487ab2(0x29a)]();break;}case _0xea38b9[_0x487ab2(0x237)]:{this[_0x487ab2(0x36f)](_0x1dedbe[_0x487ab2(0x1de)]);break;}case _0xea38b9[_0x487ab2(0x150)]:{this[_0x487ab2(0x3a9)](_0x1dedbe['data'][_0x487ab2(0x3eb)]['map'](_0x5db59d=>_0x18e7a3(_0x5db59d)));break;}case _0xea38b9[_0x487ab2(0x40e)]:{this[_0x487ab2(0x29a)]({'isPermissionRej':!0x0});break;}case _0xea38b9[_0x487ab2(0x271)]:break;}}catch(_0x372cac){throw console[_0x487ab2(0x1e9)](_0x487ab2(0x312),_0x372cac),_0x372cac;}})),this['_state'];}[_0x21fa21(0x401)](){this['_transitionLocked']=!0x1;}[_0x21fa21(0x2d5)](){var _0x5cb9c3=_0x21fa21;if(this[_0x5cb9c3(0x1a9)])throw new Error(_0x5cb9c3(0x181));this[_0x5cb9c3(0x1a9)]=!0x0;}[_0x21fa21(0x16b)](_0x30b05b){var _0x4916de=_0x21fa21;this['_lockTransition'](),this['_updateState'](this['_state'][_0x4916de(0x15d)](_0x30b05b)),this[_0x4916de(0x401)]();}[_0x21fa21(0x414)](_0x5283bb){var _0x9cca7b=_0x21fa21;if(!(_0x5283bb[_0x9cca7b(0x41d)]<=this[_0x9cca7b(0x144)][_0x9cca7b(0x140)](this[_0x9cca7b(0x1ef)]))){if(this[_0x9cca7b(0x2f2)]){this['_remoteChangesetQueue'][_0x9cca7b(0x136)](_0x5283bb);return;}this[_0x9cca7b(0x3d9)](_0x5283bb);}}[_0x21fa21(0x3a4)](){var _0x17ba3c=_0x21fa21;this[_0x17ba3c(0x131)][_0x17ba3c(0x189)](_0x217b58=>this[_0x17ba3c(0x3d9)](_0x217b58)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x2f0986){var _0x394963=_0x21fa21;const _0x30234b=this['_compressMutationService'][_0x394963(0x404)][_0x394963(0x190)](this['_compressMutationService'][_0x394963(0x404)][_0x394963(0x23a)]()[_0x394963(0x23c)])(_0x2f0986[_0x394963(0x1ae)],null)||_0x2f0986[_0x394963(0x1ae)],_0x5ad21b={..._0x2f0986,'mutations':_0x30234b};this[_0x394963(0x2d5)](),this[_0x394963(0x3c4)](this[_0x394963(0x3d3)][_0x394963(0x28a)](_0x5ad21b)),this[_0x394963(0x401)]();}[_0x21fa21(0x2ab)](_0x2f3b2a){var _0x59a66b=_0x21fa21;this[_0x59a66b(0x2d5)](),this[_0x59a66b(0x3c4)](this[_0x59a66b(0x3d3)][_0x59a66b(0x1c9)](_0x2f3b2a)),this[_0x59a66b(0x401)]();}['_onRemoteRejected'](_0x588954){var _0x353a19=_0x21fa21;this['_lockTransition'](),this[_0x353a19(0x3c4)](this[_0x353a19(0x3d3)][_0x353a19(0x3fd)](_0x588954)),this[_0x353a19(0x401)]();}['_onRemoteRetry'](_0x31bdd7){var _0x45bfb0=_0x21fa21;this['_lockTransition'](),this[_0x45bfb0(0x3c4)](this['_state'][_0x45bfb0(0x1a0)](_0x31bdd7)),this[_0x45bfb0(0x401)]();}[_0x21fa21(0x3a9)](_0x1d749a){var _0x3f18fb=_0x21fa21;if(!(this['_state']instanceof ee))throw new TypeError(_0x3f18fb(0x219));const _0x44de2c=_0x1d749a[_0x3f18fb(0x20e)](_0x31a5de=>{var _0x5acbe6=_0x3f18fb;const _0x3d3c6b=this[_0x5acbe6(0x3ff)][_0x5acbe6(0x404)][_0x5acbe6(0x190)](this[_0x5acbe6(0x3ff)][_0x5acbe6(0x404)][_0x5acbe6(0x23a)]()[_0x5acbe6(0x23c)])(_0x31a5de[_0x5acbe6(0x1ae)],null)||_0x31a5de[_0x5acbe6(0x1ae)];return{..._0x31a5de,'mutations':_0x3d3c6b};});this['_lockTransition'](),this[_0x3f18fb(0x3c4)](this['_state'][_0x3f18fb(0x18a)](_0x44de2c)),this[_0x3f18fb(0x401)]();}[_0x21fa21(0x1dd)](){var _0x284082=_0x21fa21;this[_0x284082(0x2d5)](),this[_0x284082(0x3c4)](this['_state']['toggleOffline']()),this[_0x284082(0x401)]();}['_toggleOnline'](_0x4ba7fc=!0x1){var _0x409d56=_0x21fa21;this[_0x409d56(0x2d5)](),this[_0x409d56(0x3c4)](this[_0x409d56(0x3d3)][_0x409d56(0x2df)]()),this[_0x409d56(0x401)]();const _0x223347=this[_0x409d56(0x3d3)];_0x4ba7fc&&_0x223347 instanceof Ne&&(this[_0x409d56(0x2d5)](),this['_updateState'](_0x223347['fetchMiss']()),this[_0x409d56(0x401)]());}async[_0x21fa21(0x14c)](){return new Promise(_0x2735d6=>{var _0x6b45a6=_0x4934;this[_0x6b45a6(0x2a0)][_0x6b45a6(0x386)][_0x6b45a6(0x1be)](_0x3b10f3(0x1))[_0x6b45a6(0x223)](async _0x1e6b1f=>{var _0x300628=_0x6b45a6;_0x2735d6(await this[_0x300628(0x1d1)](_0x1e6b1f===Ee['ONLINE']));});});}['_createHandler'](){var _0x4a991f=_0x21fa21;const _0x32dca6=this[_0x4a991f(0x1ef)];return{'onStateChange':(_0x909020,_0x468b92)=>{var _0x4e5750=_0x4a991f;if(_0x909020!==this[_0x4e5750(0x3d3)])throw new Error(_0x4e5750(0x25f)+_0x909020[_0x4e5750(0x1b5)]+_0x4e5750(0x1f5)+_0x468b92[_0x4e5750(0x1b5)]+_0x4e5750(0x323)+this[_0x4e5750(0x3d3)][_0x4e5750(0x1b5)]);this['_updateState'](_0x468b92);},'onSendChangeset':_0x135587=>{var _0x2c9b40=_0x4a991f;_0x135587[_0x2c9b40(0x3f2)]||(_0x135587['sid']=this[_0x2c9b40(0x36e)],_0x135587['reqId']=++this[_0x2c9b40(0x1a8)]);const _0x793e23={'eventID':_0xea38b9[_0x2c9b40(0x198)],'data':{'unitID':_0x135587[_0x2c9b40(0x1ef)],'unitType':this[_0x2c9b40(0x22c)],'changeset':_0x135587,'memberID':this[_0x2c9b40(0x2a0)]['getMemberID']()}};this['session']['send'](_0x793e23,this[_0x2c9b40(0x1ef)]);},'onMissingChangesets':({from:_0x1518bf,to:_0x40f5d0})=>{var _0x1f2d4e=_0x4a991f;this['_logService']['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1518bf+_0x1f2d4e(0x2c6)+_0x40f5d0);const _0x442674={'eventID':_0xea38b9[_0x1f2d4e(0x2b2)],'data':{'unitID':_0x32dca6,'unitType':this[_0x1f2d4e(0x22c)],'from':_0x1518bf,'to':_0x40f5d0}};this[_0x1f2d4e(0x2a0)]['send'](_0x442674,this[_0x1f2d4e(0x1ef)]);}};}async[_0x21fa21(0x1d1)](_0xcb47b8){var _0x1d0796=_0x21fa21,_0x4aa090,_0x176862,_0x16f026;const _0x163a10=await((_0x4aa090=this[_0x1d0796(0x242)])==null?void 0x0:_0x4aa090[_0x1d0796(0x249)](this[_0x1d0796(0x1ef)])),_0x1f9cc3=(_0x176862=_0x163a10==null?void 0x0:_0x163a10['mutations'])!=null?_0x176862:[],_0x116b90=(_0x16f026=_0x163a10==null?void 0x0:_0x163a10[_0x1d0796(0x17a)])!=null?_0x16f026:null,_0x4d17e1=!!(_0x116b90!=null&&_0x116b90[_0x1d0796(0x3f2)])&&!!(_0x116b90!=null&&_0x116b90[_0x1d0796(0x41e)]);this[_0x1d0796(0x36e)]=_0x4d17e1?_0x116b90[_0x1d0796(0x3f2)]:Zn(),this['_changesetReqId']=_0x4d17e1?_0x116b90[_0x1d0796(0x41e)]:0x0;const _0x18ea63=this[_0x1d0796(0x1ef)];try{this[_0x1d0796(0x35e)](_0x116b90,_0x1f9cc3);}catch(_0x5b22c2){this[_0x1d0796(0x233)][_0x1d0796(0x1e9)](_0x5b22c2);}const _0x551964=this[_0x1d0796(0x2c7)]();if(_0xcb47b8){const _0x10f620=yi(this[_0x1d0796(0x1f8)],_0x18ea63,this[_0x1d0796(0x22c)],_0x116b90,_0x1f9cc3,_0x551964);return _0x10f620 instanceof ae?_0x10f620[_0x1d0796(0x2ea)]():(_0x10f620 instanceof oe||_0x10f620 instanceof le)&&_0x10f620['resend'](),_0x10f620;}return this[_0x1d0796(0x1f8)][_0x1d0796(0x2b1)](de,_0x18ea63,this[_0x1d0796(0x22c)],_0x116b90,_0x1f9cc3,_0x551964);}[_0x21fa21(0x35e)](_0x27c6b5,_0x1dbb4a){var _0x182b2a=_0x21fa21,_0x4954d3,_0x583390;const _0xe5fe71=this[_0x182b2a(0x3ff)][_0x182b2a(0x404)][_0x182b2a(0x190)](this[_0x182b2a(0x3ff)][_0x182b2a(0x404)][_0x182b2a(0x23a)]()[_0x182b2a(0x23c)]);(_0x4954d3=_0xe5fe71((_0x27c6b5==null?void 0x0:_0x27c6b5[_0x182b2a(0x1ae)])||[],null))==null||_0x4954d3[_0x182b2a(0x189)](_0x22a555=>this['_commandService'][_0x182b2a(0x149)](_0x22a555['id'],_0x22a555['params'])),(_0x583390=_0xe5fe71(_0x1dbb4a||[],null))==null||_0x583390[_0x182b2a(0x189)](_0x380a48=>this[_0x182b2a(0x2cb)][_0x182b2a(0x149)](_0x380a48['id'],_0x380a48['params']));}};nt=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(pe)),H(0x8,_0x459fda),H(0x9,_0x1ce977),H(0xa,_0x19d05d),H(0xb,_0x548a6f(ht)),H(0xc,_0x548a6f(J))],nt);let It=class extends nt{constructor(_0x1a219d,_0x5f7c62,_0x17465a,_0x59ad91,_0x4aff7a,_0x4d9acf,_0x421b46,_0x1e4439,_0x2c635b,_0x3c96dd,_0x770287,_0x25a858,_0xb1d9dc){var _0x2045ef=_0x21fa21;super(_0x1a219d,_0x17465a,_0x5f7c62,_0x59ad91,_0x4aff7a,_0x4d9acf,_0x421b46,_0x1e4439,_0x2c635b,_0x3c96dd,_0x770287,_0x25a858,_0xb1d9dc),N(this,'_handlerCallback',null),(this[_0x2045ef(0x1ef)]=_0x1a219d,this[_0x2045ef(0x231)]=_0x5f7c62);}[_0x21fa21(0x37f)](_0xe20b14){this['_handlerCallback']=_0xe20b14;}[_0x21fa21(0x297)](){var _0x48fc23=_0x21fa21;this[_0x48fc23(0x3fa)]=null,super[_0x48fc23(0x297)]();}[_0x21fa21(0x2c7)](){var _0x39c1d6=_0x21fa21;const _0x1db487=super[_0x39c1d6(0x2c7)]();return _0x1db487[_0x39c1d6(0x389)]=_0x59bfcc=>{var _0x30ce8c=_0x39c1d6,_0x1678b5,_0x47a873;return(_0x47a873=(_0x1678b5=this['_handlerCallback'])==null?void 0x0:_0x1678b5[_0x30ce8c(0x389)])==null?void 0x0:_0x47a873[_0x30ce8c(0x377)](_0x1678b5,_0x59bfcc);},_0x1db487[_0x39c1d6(0x413)]=_0x465244=>{var _0x358995=_0x39c1d6,_0x29819c,_0x51fe9a;return(_0x51fe9a=(_0x29819c=this[_0x358995(0x3fa)])==null?void 0x0:_0x29819c['onTransformState'])==null?void 0x0:_0x51fe9a[_0x358995(0x377)](_0x29819c,_0x465244);},_0x1db487[_0x39c1d6(0x3e1)]=_0x456365=>{var _0x529195=_0x39c1d6,_0x30c0d9,_0x5615ee;return(_0x5615ee=(_0x30c0d9=this[_0x529195(0x3fa)])==null?void 0x0:_0x30c0d9['onTransformSelections'])==null?void 0x0:_0x5615ee[_0x529195(0x377)](_0x30c0d9,_0x456365);},_0x1db487['onSyncEditingCollabCursor']=_0x352972=>{var _0x491c65=_0x39c1d6,_0x4cc50c,_0x2023bd;return(_0x2023bd=(_0x4cc50c=this[_0x491c65(0x3fa)])==null?void 0x0:_0x4cc50c[_0x491c65(0x27c)])==null?void 0x0:_0x2023bd[_0x491c65(0x377)](_0x4cc50c,_0x352972);},_0x1db487[_0x39c1d6(0x29c)]=_0x27a0b5=>{var _0x10350a=_0x39c1d6,_0x3bf212,_0xd6d929,_0x2658c0;if(!((_0x3bf212=this['_handlerCallback'])!=null&&_0x3bf212['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2658c0=(_0xd6d929=this['_handlerCallback'])==null?void 0x0:_0xd6d929[_0x10350a(0x29c)])==null?void 0x0:_0x2658c0['call'](_0xd6d929,_0x27a0b5);},_0x1db487[_0x39c1d6(0x30f)]=_0x159f63=>{var _0x49c6f6=_0x39c1d6,_0x59d938,_0xb772b8,_0x413ed5;if(!((_0x59d938=this[_0x49c6f6(0x3fa)])!=null&&_0x59d938[_0x49c6f6(0x30f)]))throw new Error(_0x49c6f6(0x2ae));return(_0x413ed5=(_0xb772b8=this[_0x49c6f6(0x3fa)])==null?void 0x0:_0xb772b8['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x413ed5['call'](_0xb772b8,_0x159f63);},_0x1db487;}async[_0x21fa21(0x2c2)](){var _0x5d7e58=_0x21fa21;const _0x695a1a=await super['_init']();return this['disposeWithMe'](this[_0x5d7e58(0x2cb)][_0x5d7e58(0x3ba)]((_0x543f52,_0x98e57d)=>{var _0x55d922=_0x5d7e58;if(_0x543f52['type']!==_0x5e236c[_0x55d922(0x31e)]||_0x98e57d!=null&&_0x98e57d[_0x55d922(0x335)]||_0x98e57d!=null&&_0x98e57d[_0x55d922(0x2c0)]||_0x543f52['id']===_0x309e0['id'])return;const _0x463a40=_0x543f52[_0x55d922(0x301)];if((_0x463a40==null?void 0x0:_0x463a40[_0x55d922(0x2e6)])!==this[_0x55d922(0x1ef)])return;const _0x3358a7=_0x543f52,_0x36e273=this[_0x55d922(0x3ff)]['interceptor'][_0x55d922(0x190)](this[_0x55d922(0x3ff)][_0x55d922(0x404)]['getInterceptPoints']()[_0x55d922(0x151)])([_0x3358a7],null)||[_0x3358a7];this[_0x55d922(0x16b)](_0x36e273[0x0]);})),_0x695a1a;}};It=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(pe)),H(0x8,_0x459fda),H(0x9,_0x1ce977),H(0xa,_0x19d05d),H(0xb,_0x548a6f(ht)),H(0xc,_0x548a6f(J))],It);let Tt=class extends nt{constructor(_0x51b674,_0x21b102,_0xe75533,_0x28687b,_0x2106de,_0x4909d0,_0x81292b,_0x5d7ee4,_0xb66956,_0x4058be,_0x3bd393,_0x255f01,_0x584b61,_0x3f6343){var _0xd954e9=_0x21fa21;super(_0x51b674,_0xe75533,_0x21b102,_0x28687b,_0x2106de,_0x4909d0,_0x81292b,_0xb66956,_0x4058be,_0x3bd393,_0x255f01,_0x584b61,_0x3f6343),this[_0xd954e9(0x1ef)]=_0x51b674,this['type']=_0x21b102,this[_0xd954e9(0x173)]=_0x5d7ee4;}[_0x21fa21(0x2c7)](){var _0x5b6ed5=_0x21fa21;const _0x2cfed1=super[_0x5b6ed5(0x2c7)]();return _0x2cfed1[_0x5b6ed5(0x3e1)]=_0x551c74=>this[_0x5b6ed5(0x173)][_0x5b6ed5(0x3bc)](_0x551c74),_0x2cfed1;}async[_0x21fa21(0x2c2)](){var _0x4473ec=_0x21fa21;const _0x16b2f8=await super[_0x4473ec(0x2c2)]();return this['disposeWithMe'](this[_0x4473ec(0x2cb)][_0x4473ec(0x3ba)]((_0x53ac2e,_0x37d219)=>{var _0x26073c=_0x4473ec;if(_0x53ac2e[_0x26073c(0x231)]!==_0x5e236c['MUTATION']||_0x37d219!=null&&_0x37d219[_0x26073c(0x335)]||_0x37d219!=null&&_0x37d219[_0x26073c(0x2c0)])return;const _0x56e2a8=_0x53ac2e['params'];if((_0x56e2a8==null?void 0x0:_0x56e2a8[_0x26073c(0x2e6)])!==this['unitID'])return;const _0xba782c=_0x53ac2e,_0x15fc29=this[_0x26073c(0x3ff)]['interceptor'][_0x26073c(0x190)](this[_0x26073c(0x3ff)][_0x26073c(0x404)][_0x26073c(0x23a)]()[_0x26073c(0x151)])([_0xba782c],null)||[_0xba782c];this[_0x26073c(0x16b)](_0x15fc29[0x0]);})),_0x16b2f8;}};Tt=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(it)),H(0x8,_0x19c414(pe)),H(0x9,_0x459fda),H(0xa,_0x1ce977),H(0xb,_0x19d05d),H(0xc,_0x548a6f(ht)),H(0xd,_0x548a6f(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x402202,_0x1d081d,_0x5f2f7b,_0x138824)=>{var _0x2c93f5=_0x21fa21;for(var _0x56751a=_0x138824>0x1?void 0x0:_0x138824?os(_0x1d081d,_0x5f2f7b):_0x1d081d,_0x181908=_0x402202[_0x2c93f5(0x286)]-0x1,_0x3199f0;_0x181908>=0x0;_0x181908--)(_0x3199f0=_0x402202[_0x181908])&&(_0x56751a=_0x3199f0(_0x56751a)||_0x56751a);return _0x56751a;},ft=(_0x21cbb7,_0x5a9590)=>(_0x2e93f3,_0x47482b)=>_0x5a9590(_0x2e93f3,_0x47482b,_0x21cbb7);let st=class extends _0x37cb10{constructor(_0x55bc10,_0x275f66,_0x7827c7){var _0x43ae8a=_0x21fa21;super(),N(this,_0x43ae8a(0x394),new Map()),N(this,_0x43ae8a(0x2c9),new _0x1db3bf()),N(this,_0x43ae8a(0x268),this[_0x43ae8a(0x2c9)][_0x43ae8a(0x27d)]()),(this[_0x43ae8a(0x1f8)]=_0x55bc10,this[_0x43ae8a(0x1c7)]=_0x275f66,this[_0x43ae8a(0x282)]=_0x7827c7,this[_0x43ae8a(0x2c2)]());}[_0x21fa21(0x297)](){var _0x51b5e9=_0x21fa21;super[_0x51b5e9(0x297)](),this[_0x51b5e9(0x394)][_0x51b5e9(0x189)](_0x5a1bb7=>_0x5a1bb7[_0x51b5e9(0x297)]()),this['_entities'][_0x51b5e9(0x19c)]();}[_0x21fa21(0x3bd)](_0x12a1a2){var _0x4317b6=_0x21fa21,_0x1a38fc;return(_0x1a38fc=this[_0x4317b6(0x394)][_0x4317b6(0x3f7)](_0x12a1a2))!=null?_0x1a38fc:null;}[_0x21fa21(0x38d)](_0x43c231){var _0x20049a=_0x21fa21;const _0x323cb1=this['getCollabEntity'](_0x43c231);return _0x323cb1?_0x169840(_0x323cb1):this[_0x20049a(0x2c9)][_0x20049a(0x1be)](_0x439f72(_0x2b5345=>_0x2b5345[_0x20049a(0x1ef)]===_0x43c231));}[_0x21fa21(0x2bc)](_0x3481dd){var _0x33087c=_0x21fa21;return _0x461100(this['getCollabEntity$'](_0x3481dd)[_0x33087c(0x1be)](_0x7fca1a(()=>{})));}['_init'](){var _0x3dbf23=_0x21fa21;this[_0x3dbf23(0x282)][_0x3dbf23(0x3a6)](_0x57bf09[_0x3dbf23(0x19a)])['pipe'](_0x5e89af(this[_0x3dbf23(0x186)]),_0x4dde13(0x10))[_0x3dbf23(0x223)](async _0x16d112=>{var _0x50cf84=_0x3dbf23;const _0x56d63f=_0x16d112[_0x50cf84(0x1df)](),_0x5ded2b=await this[_0x50cf84(0x38f)](_0x56d63f,Q[_0x50cf84(0x19a)]);this[_0x50cf84(0x394)][_0x50cf84(0x3c1)](_0x56d63f,_0x5ded2b);}),this[_0x3dbf23(0x282)]['getTypeOfUnitAdded$'](_0x57bf09[_0x3dbf23(0x240)])[_0x3dbf23(0x1be)](_0x5e89af(this[_0x3dbf23(0x186)]),_0x4dde13(0x10))[_0x3dbf23(0x1be)](_0x439f72(_0x30b4a0=>!_0x30b4a0['getUnitId']()['startsWith']('__')))[_0x3dbf23(0x223)](async _0x1a5ccf=>{var _0x404aed=_0x3dbf23;const _0x49ad2a=_0x1a5ccf['getUnitId'](),_0x102745=await this[_0x404aed(0x38f)](_0x49ad2a,Q['UNIVER_DOC']);this[_0x404aed(0x394)][_0x404aed(0x3c1)](_0x49ad2a,_0x102745);}),_0x3b99f9(this[_0x3dbf23(0x282)][_0x3dbf23(0x39b)](_0x57bf09['UNIVER_SHEET']),this[_0x3dbf23(0x282)][_0x3dbf23(0x39b)](_0x57bf09[_0x3dbf23(0x240)]))[_0x3dbf23(0x1be)](_0x5e89af(this[_0x3dbf23(0x186)]))[_0x3dbf23(0x223)](_0x392ab6=>{var _0x25750d=_0x3dbf23;const _0x5a2d55=_0x392ab6[_0x25750d(0x1df)](),_0x5199d2=this[_0x25750d(0x394)][_0x25750d(0x3f7)](_0x5a2d55);_0x5199d2&&(_0x5199d2[_0x25750d(0x297)](),this[_0x25750d(0x394)]['delete'](_0x5a2d55));});}async['_startCollaboration'](_0x47615a,_0x30e4ae){var _0x4a08b4=_0x21fa21;const _0x49eb6c=await this[_0x4a08b4(0x1c7)][_0x4a08b4(0x3ac)](_0x47615a),_0x53ce01=this['_injector'][_0x4a08b4(0x2b1)](this[_0x4a08b4(0x265)](_0x30e4ae),_0x47615a,_0x30e4ae,_0x49eb6c);return await _0x53ce01[_0x4a08b4(0x1da)](),this[_0x4a08b4(0x2c9)]['next'](_0x53ce01),_0x53ce01;}[_0x21fa21(0x265)](_0x1bf13c){var _0x256518=_0x21fa21;switch(_0x1bf13c){case Q[_0x256518(0x240)]:return It;case Q[_0x256518(0x19a)]:return Tt;default:throw new Error(_0x256518(0x3a7)+_0x1bf13c);}}};st=cs([ft(0x0,_0x19c414(_0x50fda6)),ft(0x1,_0x19c414(Me)),ft(0x2,_0x11d3ee)],st);var hs=Object[_0x21fa21(0x16f)],_s=(_0x178dbb,_0x2c38e8,_0x1020cf,_0x41a7ea)=>{var _0x350d54=_0x21fa21;for(var _0x18e4ea=_0x41a7ea>0x1?void 0x0:_0x41a7ea?hs(_0x2c38e8,_0x1020cf):_0x2c38e8,_0x4ddb27=_0x178dbb[_0x350d54(0x286)]-0x1,_0x4faeb8;_0x4ddb27>=0x0;_0x4ddb27--)(_0x4faeb8=_0x178dbb[_0x4ddb27])&&(_0x18e4ea=_0x4faeb8(_0x18e4ea)||_0x18e4ea);return _0x18e4ea;},zt=(_0x4b2630,_0x1247d0)=>(_0x4f3d54,_0x45ae9a)=>_0x1247d0(_0x4f3d54,_0x45ae9a,_0x4b2630);const ls=_0x21fa21(0x302),us='Univer';let Ct=class extends _0x23b53b{constructor(_0x4db372,_0x2eb083){var _0x159207=_0x21fa21;super(),this['_univerInstanceService']=_0x4db372,this[_0x159207(0x1a6)]=_0x2eb083,this[_0x159207(0x2c2)]();}[_0x21fa21(0x2c2)](){var _0x2ec54b=_0x21fa21;this[_0x2ec54b(0x2f1)](this['_univerInstanceService']['focused$'][_0x2ec54b(0x223)](()=>{var _0x21a4cf=_0x2ec54b,_0x161455;const _0x204db6=this['_univerInstanceService'][_0x21a4cf(0x19b)]();let _0x49a90a=(_0x161455=this['_configService']['getConfig'](ls))!=null?_0x161455:us;_0x204db6 instanceof _0xc13b30&&(_0x49a90a=_0x204db6[_0x21a4cf(0x3ad)]),document[_0x21a4cf(0x1eb)]=_0x49a90a;}));}};Ct=_s([zt(0x0,_0x11d3ee),zt(0x1,_0x51423a)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x3c8cef,_0x55153c,_0x1388b1,_0x3027e1)=>{var _0x5de753=_0x21fa21;for(var _0x5d29d0=_0x3027e1>0x1?void 0x0:_0x3027e1?ds(_0x55153c,_0x1388b1):_0x55153c,_0x2d441=_0x3c8cef[_0x5de753(0x286)]-0x1,_0x3196eb;_0x2d441>=0x0;_0x2d441--)(_0x3196eb=_0x3c8cef[_0x2d441])&&(_0x5d29d0=_0x3196eb(_0x5d29d0)||_0x5d29d0);return _0x5d29d0;},vt=(_0x401deb,_0x5a91c0)=>(_0x13d917,_0x2ceaf8)=>_0x5a91c0(_0x13d917,_0x2ceaf8,_0x401deb);let rt=class{constructor(_0x2bed69,_0x277f13,_0xdadf93){var _0x47f1e9=_0x21fa21;this[_0x47f1e9(0x1a6)]=_0x2bed69,this[_0x47f1e9(0x32a)]=_0x277f13,this[_0x47f1e9(0x376)]=_0xdadf93,this[_0x47f1e9(0x1da)]();}[_0x21fa21(0x1da)](){var _0x4efa0b=_0x21fa21;this[_0x4efa0b(0x32a)][_0x4efa0b(0x2d2)]({'priority':0x1,'interceptor':(_0x36c0ca,_0x22e378)=>_0x22e378(_0x36c0ca)['pipe'](_0x9bafb0(async _0x4861f8=>{var _0x1b5825=_0x4efa0b;const _0x498499=_0x4861f8;if(_0x498499[_0x1b5825(0x1b5)]===0x191){if(typeof window>'u')throw new Error(_0x1b5825(0x1fd));if(window['confirm'](this[_0x1b5825(0x376)]['t'](_0x1b5825(0x2d9)))){const _0x4d7e15=window[_0x1b5825(0x2fe)](window[_0x1b5825(0x1cd)][_0x1b5825(0x21e)]);window[_0x1b5825(0x1cd)][_0x1b5825(0x21e)]=this[_0x1b5825(0x2b4)]()+_0x1b5825(0x17e)+_0x4d7e15;}}return _0x498499;}))});}[_0x21fa21(0x2b4)](){var _0xf9a6b6=_0x21fa21,_0xad93b0,_0xe76619;const _0x4289cb=this[_0xf9a6b6(0x1a6)][_0xf9a6b6(0x417)](Un),_0x492e45=this['_configService'][_0xf9a6b6(0x417)](q);return(_0xe76619=(_0xad93b0=_0x492e45==null?void 0x0:_0x492e45[_0xf9a6b6(0x3e5)])!=null?_0xad93b0:_0x4289cb)!=null?_0xe76619:An;}};rt=fs([vt(0x0,_0x51423a),vt(0x1,_0x19c414(_0xf7c598)),vt(0x2,_0x19c414(_0x4ac43d))],rt);var vs=Object[_0x21fa21(0x16f)],ps=(_0x399fe7,_0x36db06,_0x5b9b94,_0x53fa8e)=>{var _0x4fce5d=_0x21fa21;for(var _0x543910=_0x53fa8e>0x1?void 0x0:_0x53fa8e?vs(_0x36db06,_0x5b9b94):_0x36db06,_0x31fcd3=_0x399fe7[_0x4fce5d(0x286)]-0x1,_0x452e41;_0x31fcd3>=0x0;_0x31fcd3--)(_0x452e41=_0x399fe7[_0x31fcd3])&&(_0x543910=_0x452e41(_0x543910)||_0x543910);return _0x543910;},Jt=(_0x2d637e,_0xc3b09)=>(_0x636f6,_0x107da2)=>_0xc3b09(_0x636f6,_0x107da2,_0x2d637e);const Ni=_0x21fa21(0x15a),ms=_0x21fa21(0x3c9);let Rt=class extends _0x23b53b{constructor(_0x14563b,_0x57bcc7){var _0x5b0948=_0x21fa21;super(),this[_0x5b0948(0x225)]=_0x14563b,this['_configService']=_0x57bcc7,this['_initMergeInterceptor']();}[_0x21fa21(0x172)](){var _0x4feef0=_0x21fa21;const _0x4072f9=this;this[_0x4feef0(0x2f1)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x40b73d({'isMatch'(_0x1f1292){var _0x2df60b=_0x4feef0,_0x27be12;if(_0x1f1292[_0x2df60b(0x29d)]===_0x2df60b(0x178)&&((_0x27be12=_0x1f1292[_0x2df60b(0x2b5)])!=null&&_0x27be12['body'])){const {objectID:_0x306c4d,objectType:_0x41412c}=_0x1f1292[_0x2df60b(0x2b5)][_0x2df60b(0x3bb)]||{};if(!_0x306c4d||_0x41412c===void 0x0)return!0x1;const _0x1fdfee=_0x4072f9[_0x2df60b(0x2da)]()+'/'+_0x41412c+_0x2df60b(0x1d8)+_0x306c4d+_0x2df60b(0x407);if(_0x1f1292[_0x2df60b(0x12c)]===_0x1fdfee)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x292450){var _0x256ef9=_0x4feef0,_0x23e814;return(_0x23e814=_0x292450[_0x256ef9(0x2b5)])==null?void 0x0:_0x23e814['body'];},'mergeParamsToRequest'(_0x38ca0d,_0x43fc84){var _0x4b71d3=_0x4feef0;const _0x555c69=_0x4072f9['_getAPIPrefixPath']()+_0x4b71d3(0x328),_0x2dbe33=_0x38ca0d[_0x4b71d3(0x21c)]((_0x1b052c,_0x108023)=>{var _0x40f655=_0x4b71d3;const {unitID:_0x151213,objectID:_0x350f2c,objectType:_0x40afe6,actions:_0x4a29a6}=_0x108023;return _0x1b052c[_0x151213]||(_0x1b052c[_0x151213]={}),_0x1b052c[_0x151213][_0x350f2c]||(_0x1b052c[_0x151213][_0x350f2c]={'objectID':_0x350f2c,'objectType':_0x40afe6,'actions':[]}),_0x1b052c[_0x151213][_0x350f2c][_0x40f655(0x13f)][_0x40f655(0x136)](..._0x4a29a6),_0x1b052c;},{}),_0x20b1b3=[];for(const _0x172ce5 in _0x2dbe33)for(const _0x478fcb in _0x2dbe33[_0x172ce5]){const {actions:_0x48d1d5,objectType:_0x4cc483}=_0x2dbe33[_0x172ce5][_0x478fcb],_0x469ed0=[...new Set(_0x48d1d5)];_0x20b1b3['push']({'unitID':_0x172ce5,'objectID':_0x478fcb,'objectType':_0x4cc483,'actions':_0x469ed0});}return new _0x2bac94(_0x4b71d3(0x178),_0x555c69,{'headers':_0x43fc84[_0x4b71d3(0x159)],'withCredentials':_0x43fc84['withCredentials'],'responseType':_0x43fc84[_0x4b71d3(0x384)],'body':{'requests':_0x20b1b3}});}},{'distributeResult'(_0x5eea5c,_0x4ed5d0){var _0x41c5a6=_0x4feef0;const {objectActions:_0x450ecc}=_0x5eea5c;return _0x4ed5d0[_0x41c5a6(0x20e)](_0x31ba50=>{var _0x3562af=_0x41c5a6;const {unitID:_0x30fb7a,objectID:_0x35c836,actions:_0x5c69bd}=_0x31ba50,_0x596587=_0x450ecc['find'](_0x4b42fb=>_0x4b42fb[_0x3562af(0x1ef)]===_0x30fb7a&&_0x4b42fb[_0x3562af(0x2db)]===_0x35c836),_0x33d293=_0x5c69bd['map'](_0x57b351=>_0x596587==null?void 0x0:_0x596587['actions'][_0x3562af(0x370)](_0x230274=>_0x230274[_0x3562af(0x16d)]===_0x57b351))[_0x3562af(0x2cc)](_0xdc87ef=>!!_0xdc87ef);return{'config':_0x31ba50,'result':{'actions':_0x33d293,'error':_0x5eea5c[_0x3562af(0x1e9)]}};});}})}));}[_0x21fa21(0x2da)](){var _0x5641bb=_0x21fa21,_0x5dba7d,_0x155559;const _0x410f5f=this[_0x5641bb(0x1a6)]['getConfig'](Ni),_0x4bc4a9=this['_configService']['getConfig'](q);return(_0x155559=(_0x5dba7d=_0x4bc4a9==null?void 0x0:_0x4bc4a9[_0x5641bb(0x338)])!=null?_0x5dba7d:_0x410f5f)!=null?_0x155559:ms;}async[_0x21fa21(0x1fa)](_0x19c46d){var _0x55b4bd=_0x21fa21;const _0x39aa02=this[_0x55b4bd(0x2da)]()+'/'+_0x19c46d[_0x55b4bd(0x2ed)]+_0x55b4bd(0x25a);return(await this[_0x55b4bd(0x225)][_0x55b4bd(0x37b)](_0x39aa02,{'body':_0x19c46d}))[_0x55b4bd(0x3bb)]['objectID']||'';}async[_0x21fa21(0x2a1)](_0x392e5b){var _0x115bf0=_0x21fa21;const _0x452328=this[_0x115bf0(0x2da)]()+'/-/object/list';return(await this[_0x115bf0(0x225)]['post'](_0x452328,{'body':_0x392e5b}))[_0x115bf0(0x3bb)][_0x115bf0(0x388)];}async[_0x21fa21(0x35f)](_0x12e72b){var _0x52291d=_0x21fa21,_0x2199f8,_0x298250;const _0x35ce77=this['_getAPIPrefixPath']()+'/'+_0x12e72b['objectType']+_0x52291d(0x1d8)+_0x12e72b['objectID'],_0x479de6=await this['_HTTPService'][_0x52291d(0x40c)](_0x35ce77,{'body':_0x12e72b});if(((_0x298250=(_0x2199f8=_0x479de6==null?void 0x0:_0x479de6[_0x52291d(0x3bb)])==null?void 0x0:_0x2199f8[_0x52291d(0x1e9)])==null?void 0x0:_0x298250[_0x52291d(0x176)])!==0x1)throw new Error(_0x52291d(0x29b));}async[_0x21fa21(0x381)](_0x4b15bd){var _0x3ad213=_0x21fa21;const _0x493374=this[_0x3ad213(0x2da)]()+'/'+_0x4b15bd['objectType']+_0x3ad213(0x1d8)+_0x4b15bd['objectID']+_0x3ad213(0x407);return(await this['_HTTPService'][_0x3ad213(0x37b)](_0x493374,{'body':_0x4b15bd}))[_0x3ad213(0x3bb)][_0x3ad213(0x13f)];}async[_0x21fa21(0x339)](_0x7adb42){var _0x55e77c=_0x21fa21;const _0x147ddd=this[_0x55e77c(0x2da)]()+_0x55e77c(0x328);return(await this['_HTTPService']['post'](_0x147ddd,{'body':{'requests':_0x7adb42}}))[_0x55e77c(0x3bb)][_0x55e77c(0x294)];}async[_0x21fa21(0x3bf)](_0x27ab2e){var _0x5caa17=_0x21fa21;const _0x1b1566=this[_0x5caa17(0x2da)]()+'/'+_0x27ab2e[_0x5caa17(0x2ed)]+_0x5caa17(0x229),_0x1140f6=await this[_0x5caa17(0x225)][_0x5caa17(0x37b)](_0x1b1566,{'body':_0x27ab2e});return{'roles':_0x1140f6['body'][_0x5caa17(0x14b)],'actions':_0x1140f6[_0x5caa17(0x3bb)][_0x5caa17(0x13f)]};}async[_0x21fa21(0x155)](_0x335865){var _0x18330e=_0x21fa21;const _0x17391b=this['_getAPIPrefixPath']()+_0x18330e(0x22d);await this['_HTTPService'][_0x18330e(0x29e)](_0x17391b,{'params':{'collaboratorID':_0x335865[_0x18330e(0x139)],'objectID':_0x335865['objectID'],'unitID':_0x335865[_0x18330e(0x1ef)]}});}async['updateCollaborator'](_0x22e0f8){var _0x36c5ec=_0x21fa21;const _0x440214=this[_0x36c5ec(0x2da)]()+'/collaborator';await this[_0x36c5ec(0x225)][_0x36c5ec(0x1e7)](_0x440214,{'body':_0x22e0f8});}async[_0x21fa21(0x20f)](_0x2498a8){var _0x378291=_0x21fa21;const _0x3adaf2=this[_0x378291(0x2da)]()+_0x378291(0x22d);await this[_0x378291(0x225)][_0x378291(0x37b)](_0x3adaf2,{'body':_0x2498a8});}async[_0x21fa21(0x2e8)](_0x5eacaf){var _0x42ba9f=_0x21fa21;const _0x223444=this[_0x42ba9f(0x2da)]()+_0x42ba9f(0x22d);return(await this[_0x42ba9f(0x225)][_0x42ba9f(0x3f7)](_0x223444,{'params':{'objectID':_0x5eacaf['objectID'],'unitID':_0x5eacaf['unitID']}}))[_0x42ba9f(0x3bb)][_0x42ba9f(0x154)];}async[_0x21fa21(0x299)](_0x3a090e){var _0x2fec01=_0x21fa21;const _0x4f715c=this[_0x2fec01(0x2da)]()+_0x2fec01(0x22d);await this[_0x2fec01(0x225)][_0x2fec01(0x40c)](_0x4f715c,{'body':_0x3a090e});}};Rt=ps([Jt(0x0,_0x19c414(_0xf7c598)),Jt(0x1,_0x19c414(_0x51423a))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x26fcd9){var _0x4e3b47=_0x21fa21;return _0x26fcd9&&_0x26fcd9[_0x4e3b47(0x321)]&&Object[_0x4e3b47(0x205)][_0x4e3b47(0x3fe)]['call'](_0x26fcd9,_0x4e3b47(0x2ce))?_0x26fcd9[_0x4e3b47(0x2ce)]:_0x26fcd9;}var Ve={'exports':{}};function gs(_0x53a253){var _0x3aabf1=_0x21fa21;throw new Error(_0x3aabf1(0x168)+_0x53a253+_0x3aabf1(0x1a1));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x29dd71=_0x21fa21;return Xt||(Xt=0x1,function(_0x9f7ab7,_0x262a7f){(function(_0x548ac9,_0x4efaa9){var _0x5c9484=_0x4934;_0x9f7ab7[_0x5c9484(0x3b4)]=_0x4efaa9();}(Ss,function(){var _0x4971ed=_0x4971ed||function(_0x4191f1,_0x52a091){var _0x369dda=_0x4934,_0x5829e3;if(typeof window<'u'&&window[_0x369dda(0x2b0)]&&(_0x5829e3=window[_0x369dda(0x2b0)]),typeof self<'u'&&self[_0x369dda(0x2b0)]&&(_0x5829e3=self[_0x369dda(0x2b0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5829e3=globalThis[_0x369dda(0x2b0)]),!_0x5829e3&&typeof window<'u'&&window[_0x369dda(0x12b)]&&(_0x5829e3=window[_0x369dda(0x12b)]),!_0x5829e3&&typeof pt<'u'&&pt['crypto']&&(_0x5829e3=pt[_0x369dda(0x2b0)]),!_0x5829e3&&typeof gs=='function')try{_0x5829e3=require(_0x369dda(0x2b0));}catch{}var _0xbb7d=function(){var _0x36d1ed=_0x369dda;if(_0x5829e3){if(typeof _0x5829e3[_0x36d1ed(0x41c)]==_0x36d1ed(0x3c7))try{return _0x5829e3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5829e3['randomBytes']==_0x36d1ed(0x3c7))try{return _0x5829e3['randomBytes'](0x4)[_0x36d1ed(0x12e)]();}catch{}}throw new Error(_0x36d1ed(0x2de));},_0x385896=Object['create']||(function(){function _0x2ac575(){}return function(_0x305382){var _0x51a7eb=_0x4934,_0x5c8816;return _0x2ac575['prototype']=_0x305382,_0x5c8816=new _0x2ac575(),_0x2ac575[_0x51a7eb(0x205)]=null,_0x5c8816;};}()),_0x202577={},_0x106f10=_0x202577['lib']={},_0x1b81c0=_0x106f10[_0x369dda(0x232)]=(function(){return{'extend':function(_0x1fda5a){var _0x478613=_0x4934,_0x227be7=_0x385896(this);return _0x1fda5a&&_0x227be7[_0x478613(0x385)](_0x1fda5a),(!_0x227be7[_0x478613(0x3fe)](_0x478613(0x1da))||this[_0x478613(0x1da)]===_0x227be7[_0x478613(0x1da)])&&(_0x227be7[_0x478613(0x1da)]=function(){var _0x4c1db0=_0x478613;_0x227be7[_0x4c1db0(0x36c)][_0x4c1db0(0x1da)][_0x4c1db0(0x2ba)](this,arguments);}),_0x227be7[_0x478613(0x1da)][_0x478613(0x205)]=_0x227be7,_0x227be7[_0x478613(0x36c)]=this,_0x227be7;},'create':function(){var _0x1d2084=_0x4934,_0x1ff904=this[_0x1d2084(0x3e6)]();return _0x1ff904[_0x1d2084(0x1da)]['apply'](_0x1ff904,arguments),_0x1ff904;},'init':function(){},'mixIn':function(_0x3c6454){var _0x2f1493=_0x4934;for(var _0x10a88e in _0x3c6454)_0x3c6454[_0x2f1493(0x3fe)](_0x10a88e)&&(this[_0x10a88e]=_0x3c6454[_0x10a88e]);_0x3c6454[_0x2f1493(0x3fe)]('toString')&&(this['toString']=_0x3c6454['toString']);},'clone':function(){var _0xd51090=_0x4934;return this[_0xd51090(0x1da)][_0xd51090(0x205)][_0xd51090(0x3e6)](this);}};}()),_0x2266e9=_0x106f10[_0x369dda(0x375)]=_0x1b81c0[_0x369dda(0x3e6)]({'init':function(_0xea241,_0x197951){var _0x367cb6=_0x369dda;_0xea241=this[_0x367cb6(0x255)]=_0xea241||[],_0x197951!=_0x52a091?this[_0x367cb6(0x2b9)]=_0x197951:this[_0x367cb6(0x2b9)]=_0xea241[_0x367cb6(0x286)]*0x4;},'toString':function(_0x43288a){var _0x39546f=_0x369dda;return(_0x43288a||_0x1187d2)[_0x39546f(0x306)](this);},'concat':function(_0x262869){var _0x4ef4a6=_0x369dda,_0x5391f3=this[_0x4ef4a6(0x255)],_0x2efd30=_0x262869[_0x4ef4a6(0x255)],_0x636c28=this[_0x4ef4a6(0x2b9)],_0x531fc0=_0x262869[_0x4ef4a6(0x2b9)];if(this[_0x4ef4a6(0x279)](),_0x636c28%0x4)for(var _0x325ab0=0x0;_0x325ab0<_0x531fc0;_0x325ab0++){var _0x3b048f=_0x2efd30[_0x325ab0>>>0x2]>>>0x18-_0x325ab0%0x4*0x8&0xff;_0x5391f3[_0x636c28+_0x325ab0>>>0x2]|=_0x3b048f<<0x18-(_0x636c28+_0x325ab0)%0x4*0x8;}else{for(var _0x434e26=0x0;_0x434e26<_0x531fc0;_0x434e26+=0x4)_0x5391f3[_0x636c28+_0x434e26>>>0x2]=_0x2efd30[_0x434e26>>>0x2];}return this['sigBytes']+=_0x531fc0,this;},'clamp':function(){var _0xeffb95=_0x369dda,_0x2e59c8=this[_0xeffb95(0x255)],_0x28fb2c=this['sigBytes'];_0x2e59c8[_0x28fb2c>>>0x2]&=0xffffffff<<0x20-_0x28fb2c%0x4*0x8,_0x2e59c8[_0xeffb95(0x286)]=_0x4191f1['ceil'](_0x28fb2c/0x4);},'clone':function(){var _0x21094f=_0x369dda,_0x265690=_0x1b81c0[_0x21094f(0x208)]['call'](this);return _0x265690[_0x21094f(0x255)]=this[_0x21094f(0x255)][_0x21094f(0x2bb)](0x0),_0x265690;},'random':function(_0x4f3cc8){var _0x873cd7=_0x369dda;for(var _0x277463=[],_0x4cdd0d=0x0;_0x4cdd0d<_0x4f3cc8;_0x4cdd0d+=0x4)_0x277463[_0x873cd7(0x136)](_0xbb7d());return new _0x2266e9['init'](_0x277463,_0x4f3cc8);}}),_0x1587e5=_0x202577['enc']={},_0x1187d2=_0x1587e5['Hex']={'stringify':function(_0x513064){var _0x1ce475=_0x369dda;for(var _0x29102b=_0x513064['words'],_0x10de0d=_0x513064[_0x1ce475(0x2b9)],_0x23bb45=[],_0x190c50=0x0;_0x190c50<_0x10de0d;_0x190c50++){var _0x15b47f=_0x29102b[_0x190c50>>>0x2]>>>0x18-_0x190c50%0x4*0x8&0xff;_0x23bb45[_0x1ce475(0x136)]((_0x15b47f>>>0x4)[_0x1ce475(0x1bb)](0x10)),_0x23bb45[_0x1ce475(0x136)]((_0x15b47f&0xf)[_0x1ce475(0x1bb)](0x10));}return _0x23bb45[_0x1ce475(0x1cc)]('');},'parse':function(_0x15bde4){var _0x1c4a5b=_0x369dda;for(var _0xe2f9a0=_0x15bde4[_0x1c4a5b(0x286)],_0x4609b6=[],_0x902b33=0x0;_0x902b33<_0xe2f9a0;_0x902b33+=0x2)_0x4609b6[_0x902b33>>>0x3]|=parseInt(_0x15bde4[_0x1c4a5b(0x2fa)](_0x902b33,0x2),0x10)<<0x18-_0x902b33%0x8*0x4;return new _0x2266e9[(_0x1c4a5b(0x1da))](_0x4609b6,_0xe2f9a0/0x2);}},_0x2f4060=_0x1587e5[_0x369dda(0x2cd)]={'stringify':function(_0x5eaad3){var _0x19744a=_0x369dda;for(var _0x59a2c3=_0x5eaad3[_0x19744a(0x255)],_0x5f5686=_0x5eaad3[_0x19744a(0x2b9)],_0x5777e7=[],_0x32b485=0x0;_0x32b485<_0x5f5686;_0x32b485++){var _0x3016cd=_0x59a2c3[_0x32b485>>>0x2]>>>0x18-_0x32b485%0x4*0x8&0xff;_0x5777e7[_0x19744a(0x136)](String['fromCharCode'](_0x3016cd));}return _0x5777e7[_0x19744a(0x1cc)]('');},'parse':function(_0x56745e){var _0x2ae60c=_0x369dda;for(var _0x59877b=_0x56745e[_0x2ae60c(0x286)],_0x56927f=[],_0x3b4dcb=0x0;_0x3b4dcb<_0x59877b;_0x3b4dcb++)_0x56927f[_0x3b4dcb>>>0x2]|=(_0x56745e['charCodeAt'](_0x3b4dcb)&0xff)<<0x18-_0x3b4dcb%0x4*0x8;return new _0x2266e9[(_0x2ae60c(0x1da))](_0x56927f,_0x59877b);}},_0x42b56d=_0x1587e5['Utf8']={'stringify':function(_0x91c7fb){var _0x5b693f=_0x369dda;try{return decodeURIComponent(escape(_0x2f4060[_0x5b693f(0x306)](_0x91c7fb)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4e8ac6){var _0x2456db=_0x369dda;return _0x2f4060[_0x2456db(0x27e)](unescape(encodeURIComponent(_0x4e8ac6)));}},_0x56f3f4=_0x106f10[_0x369dda(0x182)]=_0x1b81c0[_0x369dda(0x3e6)]({'reset':function(){var _0x23c5cb=_0x369dda;this[_0x23c5cb(0x20d)]=new _0x2266e9[(_0x23c5cb(0x1da))](),this[_0x23c5cb(0x3e8)]=0x0;},'_append':function(_0x3314d9){var _0x2e7b33=_0x369dda;typeof _0x3314d9==_0x2e7b33(0x228)&&(_0x3314d9=_0x42b56d[_0x2e7b33(0x27e)](_0x3314d9)),this[_0x2e7b33(0x20d)][_0x2e7b33(0x427)](_0x3314d9),this['_nDataBytes']+=_0x3314d9[_0x2e7b33(0x2b9)];},'_process':function(_0x3657ed){var _0x407315=_0x369dda,_0x2eda01,_0x54fc94=this['_data'],_0x50bb36=_0x54fc94[_0x407315(0x255)],_0x4d0935=_0x54fc94[_0x407315(0x2b9)],_0x3b453c=this[_0x407315(0x372)],_0x1fb2df=_0x3b453c*0x4,_0x381551=_0x4d0935/_0x1fb2df;_0x3657ed?_0x381551=_0x4191f1[_0x407315(0x300)](_0x381551):_0x381551=_0x4191f1['max']((_0x381551|0x0)-this[_0x407315(0x32f)],0x0);var _0x5348f9=_0x381551*_0x3b453c,_0x5acfa9=_0x4191f1[_0x407315(0x27f)](_0x5348f9*0x4,_0x4d0935);if(_0x5348f9){for(var _0x3705c2=0x0;_0x3705c2<_0x5348f9;_0x3705c2+=_0x3b453c)this[_0x407315(0x2a4)](_0x50bb36,_0x3705c2);_0x2eda01=_0x50bb36[_0x407315(0x133)](0x0,_0x5348f9),_0x54fc94[_0x407315(0x2b9)]-=_0x5acfa9;}return new _0x2266e9[(_0x407315(0x1da))](_0x2eda01,_0x5acfa9);},'clone':function(){var _0x1ab312=_0x369dda,_0x363fa4=_0x1b81c0['clone'][_0x1ab312(0x377)](this);return _0x363fa4[_0x1ab312(0x20d)]=this['_data']['clone'](),_0x363fa4;},'_minBufferSize':0x0});_0x106f10['Hasher']=_0x56f3f4[_0x369dda(0x3e6)]({'cfg':_0x1b81c0[_0x369dda(0x3e6)](),'init':function(_0x1181ba){var _0x3e3c51=_0x369dda;this[_0x3e3c51(0x3ce)]=this[_0x3e3c51(0x3ce)][_0x3e3c51(0x3e6)](_0x1181ba),this[_0x3e3c51(0x3f0)]();},'reset':function(){var _0x257a63=_0x369dda;_0x56f3f4[_0x257a63(0x3f0)][_0x257a63(0x377)](this),this[_0x257a63(0x21f)]();},'update':function(_0x1ead5a){var _0x22417d=_0x369dda;return this[_0x22417d(0x1f1)](_0x1ead5a),this['_process'](),this;},'finalize':function(_0x45e684){var _0x26a0eb=_0x369dda;_0x45e684&&this[_0x26a0eb(0x1f1)](_0x45e684);var _0x31fb6d=this[_0x26a0eb(0x21b)]();return _0x31fb6d;},'blockSize':0x10,'_createHelper':function(_0x3074e7){return function(_0x2f2c72,_0x8c9718){var _0x538589=_0x4934;return new _0x3074e7[(_0x538589(0x1da))](_0x8c9718)['finalize'](_0x2f2c72);};},'_createHmacHelper':function(_0x50c2ee){return function(_0x170261,_0x6d927c){var _0xacaafb=_0x4934;return new _0x3734b8[(_0xacaafb(0x23f))][(_0xacaafb(0x1da))](_0x50c2ee,_0x6d927c)[_0xacaafb(0x3be)](_0x170261);};}});var _0x3734b8=_0x202577['algo']={};return _0x202577;}(Math);return _0x4971ed;}));}(Ge)),Ge[_0x29dd71(0x3b4)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0xc3e45b,_0xcc16ff){(function(_0xab8344,_0x55e39c){var _0x13918e=_0x4934;_0xc3e45b[_0x13918e(0x3b4)]=_0x55e39c(ie());}(Es,function(_0x3670cc){var _0x368998=_0x4934;return(function(){var _0x5ecb83=_0x4934,_0x4b7c87=_0x3670cc,_0x4e4fc1=_0x4b7c87[_0x5ecb83(0x2ad)],_0x4aca0f=_0x4e4fc1[_0x5ecb83(0x375)],_0xa0b4c3=_0x4b7c87[_0x5ecb83(0x380)];_0xa0b4c3[_0x5ecb83(0x368)]={'stringify':function(_0x44ac32){var _0x43e617=_0x5ecb83,_0x257872=_0x44ac32[_0x43e617(0x255)],_0x5540f2=_0x44ac32[_0x43e617(0x2b9)],_0x4ca8a0=this['_map'];_0x44ac32['clamp']();for(var _0x3b8bbf=[],_0x386f39=0x0;_0x386f39<_0x5540f2;_0x386f39+=0x3)for(var _0x5c5d4d=_0x257872[_0x386f39>>>0x2]>>>0x18-_0x386f39%0x4*0x8&0xff,_0x110cb5=_0x257872[_0x386f39+0x1>>>0x2]>>>0x18-(_0x386f39+0x1)%0x4*0x8&0xff,_0x3dbe2f=_0x257872[_0x386f39+0x2>>>0x2]>>>0x18-(_0x386f39+0x2)%0x4*0x8&0xff,_0x202ad9=_0x5c5d4d<<0x10|_0x110cb5<<0x8|_0x3dbe2f,_0x1706e7=0x0;_0x1706e7<0x4&&_0x386f39+_0x1706e7*0.75<_0x5540f2;_0x1706e7++)_0x3b8bbf['push'](_0x4ca8a0[_0x43e617(0x365)](_0x202ad9>>>0x6*(0x3-_0x1706e7)&0x3f));var _0x5c8eeb=_0x4ca8a0[_0x43e617(0x365)](0x40);if(_0x5c8eeb){for(;_0x3b8bbf[_0x43e617(0x286)]%0x4;)_0x3b8bbf['push'](_0x5c8eeb);}return _0x3b8bbf[_0x43e617(0x1cc)]('');},'parse':function(_0x55410d){var _0x508262=_0x5ecb83,_0x1d64ac=_0x55410d[_0x508262(0x286)],_0x497712=this[_0x508262(0x13d)],_0xabaa64=this[_0x508262(0x257)];if(!_0xabaa64){_0xabaa64=this[_0x508262(0x257)]=[];for(var _0x5ba654=0x0;_0x5ba654<_0x497712[_0x508262(0x286)];_0x5ba654++)_0xabaa64[_0x497712['charCodeAt'](_0x5ba654)]=_0x5ba654;}var _0x2d85b8=_0x497712[_0x508262(0x365)](0x40);if(_0x2d85b8){var _0x3a0696=_0x55410d['indexOf'](_0x2d85b8);_0x3a0696!==-0x1&&(_0x1d64ac=_0x3a0696);}return _0x51d353(_0x55410d,_0x1d64ac,_0xabaa64);},'_map':_0x5ecb83(0x39d)};function _0x51d353(_0x1cef8b,_0x36ca50,_0xf36e53){var _0x5348e9=_0x5ecb83;for(var _0xf5012a=[],_0xe0d407=0x0,_0x208521=0x0;_0x208521<_0x36ca50;_0x208521++)if(_0x208521%0x4){var _0x1fae5d=_0xf36e53[_0x1cef8b[_0x5348e9(0x410)](_0x208521-0x1)]<<_0x208521%0x4*0x2,_0x3e6aab=_0xf36e53[_0x1cef8b[_0x5348e9(0x410)](_0x208521)]>>>0x6-_0x208521%0x4*0x2,_0x189d9f=_0x1fae5d|_0x3e6aab;_0xf5012a[_0xe0d407>>>0x2]|=_0x189d9f<<0x18-_0xe0d407%0x4*0x8,_0xe0d407++;}return _0x4aca0f[_0x5348e9(0x1fa)](_0xf5012a,_0xe0d407);}}()),_0x3670cc['enc'][_0x368998(0x368)];}));}(We)),We['exports'];}var Ye={'exports':{}},Is=Ye[_0x21fa21(0x3b4)],Qt;function Ts(){var _0x6bd986=_0x21fa21;return Qt||(Qt=0x1,function(_0x57efde,_0x215492){(function(_0x4d60d1,_0x4088f4){var _0x31e6b9=_0x4934;_0x57efde[_0x31e6b9(0x3b4)]=_0x4088f4(ie());}(Is,function(_0x19255d){var _0x1b614c=_0x4934;return function(_0xa2bff7){var _0x2aefce=_0x4934,_0x1e5c7f=_0x19255d,_0x3f7e33=_0x1e5c7f[_0x2aefce(0x2ad)],_0xa62876=_0x3f7e33[_0x2aefce(0x375)],_0x497b52=_0x3f7e33['Hasher'],_0x51c3fe=_0x1e5c7f[_0x2aefce(0x3f8)],_0x3d2c18=[];(function(){var _0x2ba118=_0x2aefce;for(var _0x121a1a=0x0;_0x121a1a<0x40;_0x121a1a++)_0x3d2c18[_0x121a1a]=_0xa2bff7[_0x2ba118(0x148)](_0xa2bff7[_0x2ba118(0x3d6)](_0x121a1a+0x1))*0x100000000|0x0;}());var _0x18b7de=_0x51c3fe[_0x2aefce(0x2e0)]=_0x497b52['extend']({'_doReset':function(){var _0x57165e=_0x2aefce;this[_0x57165e(0x2d8)]=new _0xa62876[(_0x57165e(0x1da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x435346,_0x148744){var _0x12245a=_0x2aefce;for(var _0x4e3523=0x0;_0x4e3523<0x10;_0x4e3523++){var _0x16b111=_0x148744+_0x4e3523,_0x4a6d0f=_0x435346[_0x16b111];_0x435346[_0x16b111]=(_0x4a6d0f<<0x8|_0x4a6d0f>>>0x18)&0xff00ff|(_0x4a6d0f<<0x18|_0x4a6d0f>>>0x8)&0xff00ff00;}var _0x428c33=this[_0x12245a(0x2d8)][_0x12245a(0x255)],_0x1f7574=_0x435346[_0x148744+0x0],_0x3046f6=_0x435346[_0x148744+0x1],_0x11f4d1=_0x435346[_0x148744+0x2],_0x446511=_0x435346[_0x148744+0x3],_0x46b73a=_0x435346[_0x148744+0x4],_0x4879da=_0x435346[_0x148744+0x5],_0x2de7be=_0x435346[_0x148744+0x6],_0x4fcef8=_0x435346[_0x148744+0x7],_0x310ac0=_0x435346[_0x148744+0x8],_0x1a66fe=_0x435346[_0x148744+0x9],_0x5d1a0a=_0x435346[_0x148744+0xa],_0x22b141=_0x435346[_0x148744+0xb],_0x291461=_0x435346[_0x148744+0xc],_0xc94708=_0x435346[_0x148744+0xd],_0x3b5a81=_0x435346[_0x148744+0xe],_0x4b11b1=_0x435346[_0x148744+0xf],_0x29232f=_0x428c33[0x0],_0x6def0f=_0x428c33[0x1],_0x49c355=_0x428c33[0x2],_0x1808cd=_0x428c33[0x3];_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1f7574,0x7,_0x3d2c18[0x0]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x3046f6,0xc,_0x3d2c18[0x1]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x11f4d1,0x11,_0x3d2c18[0x2]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x446511,0x16,_0x3d2c18[0x3]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x46b73a,0x7,_0x3d2c18[0x4]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4879da,0xc,_0x3d2c18[0x5]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x2de7be,0x11,_0x3d2c18[0x6]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4fcef8,0x16,_0x3d2c18[0x7]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x310ac0,0x7,_0x3d2c18[0x8]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x1a66fe,0xc,_0x3d2c18[0x9]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x5d1a0a,0x11,_0x3d2c18[0xa]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x22b141,0x16,_0x3d2c18[0xb]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x291461,0x7,_0x3d2c18[0xc]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0xc94708,0xc,_0x3d2c18[0xd]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x3b5a81,0x11,_0x3d2c18[0xe]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4b11b1,0x16,_0x3d2c18[0xf]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x3046f6,0x5,_0x3d2c18[0x10]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x2de7be,0x9,_0x3d2c18[0x11]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x22b141,0xe,_0x3d2c18[0x12]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x1f7574,0x14,_0x3d2c18[0x13]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x4879da,0x5,_0x3d2c18[0x14]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x5d1a0a,0x9,_0x3d2c18[0x15]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4b11b1,0xe,_0x3d2c18[0x16]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x46b73a,0x14,_0x3d2c18[0x17]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1a66fe,0x5,_0x3d2c18[0x18]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x3b5a81,0x9,_0x3d2c18[0x19]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x446511,0xe,_0x3d2c18[0x1a]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x310ac0,0x14,_0x3d2c18[0x1b]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0xc94708,0x5,_0x3d2c18[0x1c]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x11f4d1,0x9,_0x3d2c18[0x1d]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4fcef8,0xe,_0x3d2c18[0x1e]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x291461,0x14,_0x3d2c18[0x1f]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x4879da,0x4,_0x3d2c18[0x20]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x310ac0,0xb,_0x3d2c18[0x21]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x22b141,0x10,_0x3d2c18[0x22]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x3b5a81,0x17,_0x3d2c18[0x23]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x3046f6,0x4,_0x3d2c18[0x24]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x46b73a,0xb,_0x3d2c18[0x25]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4fcef8,0x10,_0x3d2c18[0x26]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x5d1a0a,0x17,_0x3d2c18[0x27]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0xc94708,0x4,_0x3d2c18[0x28]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x1f7574,0xb,_0x3d2c18[0x29]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x446511,0x10,_0x3d2c18[0x2a]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x2de7be,0x17,_0x3d2c18[0x2b]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1a66fe,0x4,_0x3d2c18[0x2c]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x291461,0xb,_0x3d2c18[0x2d]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4b11b1,0x10,_0x3d2c18[0x2e]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x11f4d1,0x17,_0x3d2c18[0x2f]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1f7574,0x6,_0x3d2c18[0x30]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4fcef8,0xa,_0x3d2c18[0x31]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x3b5a81,0xf,_0x3d2c18[0x32]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4879da,0x15,_0x3d2c18[0x33]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x291461,0x6,_0x3d2c18[0x34]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x446511,0xa,_0x3d2c18[0x35]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x5d1a0a,0xf,_0x3d2c18[0x36]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x3046f6,0x15,_0x3d2c18[0x37]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x310ac0,0x6,_0x3d2c18[0x38]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4b11b1,0xa,_0x3d2c18[0x39]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x2de7be,0xf,_0x3d2c18[0x3a]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0xc94708,0x15,_0x3d2c18[0x3b]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x46b73a,0x6,_0x3d2c18[0x3c]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x22b141,0xa,_0x3d2c18[0x3d]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x11f4d1,0xf,_0x3d2c18[0x3e]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x1a66fe,0x15,_0x3d2c18[0x3f]),_0x428c33[0x0]=_0x428c33[0x0]+_0x29232f|0x0,_0x428c33[0x1]=_0x428c33[0x1]+_0x6def0f|0x0,_0x428c33[0x2]=_0x428c33[0x2]+_0x49c355|0x0,_0x428c33[0x3]=_0x428c33[0x3]+_0x1808cd|0x0;},'_doFinalize':function(){var _0x4c438a=_0x2aefce,_0x2ffb1d=this[_0x4c438a(0x20d)],_0x546cb9=_0x2ffb1d[_0x4c438a(0x255)],_0x4f62b0=this[_0x4c438a(0x3e8)]*0x8,_0x5a63a1=_0x2ffb1d[_0x4c438a(0x2b9)]*0x8;_0x546cb9[_0x5a63a1>>>0x5]|=0x80<<0x18-_0x5a63a1%0x20;var _0x44dfbf=_0xa2bff7[_0x4c438a(0x263)](_0x4f62b0/0x100000000),_0x3f4df8=_0x4f62b0;_0x546cb9[(_0x5a63a1+0x40>>>0x9<<0x4)+0xf]=(_0x44dfbf<<0x8|_0x44dfbf>>>0x18)&0xff00ff|(_0x44dfbf<<0x18|_0x44dfbf>>>0x8)&0xff00ff00,_0x546cb9[(_0x5a63a1+0x40>>>0x9<<0x4)+0xe]=(_0x3f4df8<<0x8|_0x3f4df8>>>0x18)&0xff00ff|(_0x3f4df8<<0x18|_0x3f4df8>>>0x8)&0xff00ff00,_0x2ffb1d[_0x4c438a(0x2b9)]=(_0x546cb9[_0x4c438a(0x286)]+0x1)*0x4,this[_0x4c438a(0x26b)]();for(var _0x1e571a=this['_hash'],_0x56141c=_0x1e571a[_0x4c438a(0x255)],_0x3d23f4=0x0;_0x3d23f4<0x4;_0x3d23f4++){var _0x2b649e=_0x56141c[_0x3d23f4];_0x56141c[_0x3d23f4]=(_0x2b649e<<0x8|_0x2b649e>>>0x18)&0xff00ff|(_0x2b649e<<0x18|_0x2b649e>>>0x8)&0xff00ff00;}return _0x1e571a;},'clone':function(){var _0xd30469=_0x2aefce,_0x5de1f9=_0x497b52['clone']['call'](this);return _0x5de1f9[_0xd30469(0x2d8)]=this[_0xd30469(0x2d8)][_0xd30469(0x208)](),_0x5de1f9;}});function _0x3ef407(_0x1c76e7,_0x3eec31,_0x20d2cf,_0x2c2310,_0x544f3d,_0xff69c1,_0x4ba1a1){var _0x1d7a1d=_0x1c76e7+(_0x3eec31&_0x20d2cf|~_0x3eec31&_0x2c2310)+_0x544f3d+_0x4ba1a1;return(_0x1d7a1d<<_0xff69c1|_0x1d7a1d>>>0x20-_0xff69c1)+_0x3eec31;}function _0x5920da(_0xca3dc6,_0x3f9ead,_0x14778f,_0x42f3fe,_0x3f2b42,_0x452d47,_0x468638){var _0x45a102=_0xca3dc6+(_0x3f9ead&_0x42f3fe|_0x14778f&~_0x42f3fe)+_0x3f2b42+_0x468638;return(_0x45a102<<_0x452d47|_0x45a102>>>0x20-_0x452d47)+_0x3f9ead;}function _0x57fbf6(_0x270fc6,_0x19e796,_0x5af15d,_0x1af52f,_0x2b4031,_0x4cd14d,_0x382aee){var _0x39b028=_0x270fc6+(_0x19e796^_0x5af15d^_0x1af52f)+_0x2b4031+_0x382aee;return(_0x39b028<<_0x4cd14d|_0x39b028>>>0x20-_0x4cd14d)+_0x19e796;}function _0x22f2fa(_0x145140,_0x47f15e,_0x58f1fc,_0x538895,_0x32ec9e,_0x5b31b1,_0x2406d8){var _0x36b777=_0x145140+(_0x58f1fc^(_0x47f15e|~_0x538895))+_0x32ec9e+_0x2406d8;return(_0x36b777<<_0x5b31b1|_0x36b777>>>0x20-_0x5b31b1)+_0x47f15e;}_0x1e5c7f['MD5']=_0x497b52[_0x2aefce(0x398)](_0x18b7de),_0x1e5c7f['HmacMD5']=_0x497b52[_0x2aefce(0x1e4)](_0x18b7de);}(Math),_0x19255d[_0x1b614c(0x2e0)];}));}(Ye)),Ye[_0x6bd986(0x3b4)];}function _0x4934(_0x2071d7,_0x362656){var _0x4a51a6=_0x4a51();return _0x4934=function(_0x49343f,_0x4c3a38){_0x49343f=_0x49343f-0x12a;var _0x291453=_0x4a51a6[_0x49343f];return _0x291453;},_0x4934(_0x2071d7,_0x362656);}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x21fa21(0x3b4)],ei;function Rs(){var _0xe6af27=_0x21fa21;return ei||(ei=0x1,function(_0x630d59,_0x36c948){(function(_0x1b481a,_0xa03d59){var _0xda5738=_0x4934;_0x630d59[_0xda5738(0x3b4)]=_0xa03d59(ie());}(Cs,function(_0x5481a0){return(function(){var _0x1e1032=_0x4934,_0x672b69=_0x5481a0,_0x28839d=_0x672b69[_0x1e1032(0x2ad)],_0x25b42a=_0x28839d['WordArray'],_0x37422b=_0x28839d[_0x1e1032(0x152)],_0x874341=_0x672b69[_0x1e1032(0x3f8)],_0x52d573=[],_0x25bb82=_0x874341[_0x1e1032(0x3ab)]=_0x37422b[_0x1e1032(0x3e6)]({'_doReset':function(){var _0x30f29a=_0x1e1032;this[_0x30f29a(0x2d8)]=new _0x25b42a[(_0x30f29a(0x1da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb3f6d9,_0x1e4c24){var _0x11cd59=_0x1e1032;for(var _0x53423a=this[_0x11cd59(0x2d8)][_0x11cd59(0x255)],_0x27615f=_0x53423a[0x0],_0x4eac4e=_0x53423a[0x1],_0x29fd7=_0x53423a[0x2],_0x23e737=_0x53423a[0x3],_0x396b3f=_0x53423a[0x4],_0x45674f=0x0;_0x45674f<0x50;_0x45674f++){if(_0x45674f<0x10)_0x52d573[_0x45674f]=_0xb3f6d9[_0x1e4c24+_0x45674f]|0x0;else{var _0x313e3d=_0x52d573[_0x45674f-0x3]^_0x52d573[_0x45674f-0x8]^_0x52d573[_0x45674f-0xe]^_0x52d573[_0x45674f-0x10];_0x52d573[_0x45674f]=_0x313e3d<<0x1|_0x313e3d>>>0x1f;}var _0x2907e2=(_0x27615f<<0x5|_0x27615f>>>0x1b)+_0x396b3f+_0x52d573[_0x45674f];_0x45674f<0x14?_0x2907e2+=(_0x4eac4e&_0x29fd7|~_0x4eac4e&_0x23e737)+0x5a827999:_0x45674f<0x28?_0x2907e2+=(_0x4eac4e^_0x29fd7^_0x23e737)+0x6ed9eba1:_0x45674f<0x3c?_0x2907e2+=(_0x4eac4e&_0x29fd7|_0x4eac4e&_0x23e737|_0x29fd7&_0x23e737)-0x70e44324:_0x2907e2+=(_0x4eac4e^_0x29fd7^_0x23e737)-0x359d3e2a,_0x396b3f=_0x23e737,_0x23e737=_0x29fd7,_0x29fd7=_0x4eac4e<<0x1e|_0x4eac4e>>>0x2,_0x4eac4e=_0x27615f,_0x27615f=_0x2907e2;}_0x53423a[0x0]=_0x53423a[0x0]+_0x27615f|0x0,_0x53423a[0x1]=_0x53423a[0x1]+_0x4eac4e|0x0,_0x53423a[0x2]=_0x53423a[0x2]+_0x29fd7|0x0,_0x53423a[0x3]=_0x53423a[0x3]+_0x23e737|0x0,_0x53423a[0x4]=_0x53423a[0x4]+_0x396b3f|0x0;},'_doFinalize':function(){var _0x3fa1b8=_0x1e1032,_0x1dae2d=this[_0x3fa1b8(0x20d)],_0x420c4d=_0x1dae2d['words'],_0x29f7b1=this['_nDataBytes']*0x8,_0x199b7=_0x1dae2d[_0x3fa1b8(0x2b9)]*0x8;return _0x420c4d[_0x199b7>>>0x5]|=0x80<<0x18-_0x199b7%0x20,_0x420c4d[(_0x199b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x3fa1b8(0x263)](_0x29f7b1/0x100000000),_0x420c4d[(_0x199b7+0x40>>>0x9<<0x4)+0xf]=_0x29f7b1,_0x1dae2d[_0x3fa1b8(0x2b9)]=_0x420c4d[_0x3fa1b8(0x286)]*0x4,this['_process'](),this[_0x3fa1b8(0x2d8)];},'clone':function(){var _0x21f8be=_0x1e1032,_0x25c07e=_0x37422b['clone'][_0x21f8be(0x377)](this);return _0x25c07e[_0x21f8be(0x2d8)]=this[_0x21f8be(0x2d8)][_0x21f8be(0x208)](),_0x25c07e;}});_0x672b69[_0x1e1032(0x3ab)]=_0x37422b['_createHelper'](_0x25bb82),_0x672b69[_0x1e1032(0x226)]=_0x37422b[_0x1e1032(0x1e4)](_0x25bb82);}()),_0x5481a0['SHA1'];}));}(qe)),qe[_0xe6af27(0x3b4)];}var ze={'exports':{}},bs=ze[_0x21fa21(0x3b4)],ti;function Os(){var _0xded80=_0x21fa21;return ti||(ti=0x1,function(_0x4f0e8c,_0x3368ad){(function(_0x3fa58e,_0x61f396){_0x4f0e8c['exports']=_0x61f396(ie());}(bs,function(_0x24e7d3){(function(){var _0x218caa=_0x4934,_0x19e9ab=_0x24e7d3,_0x3bfb3b=_0x19e9ab[_0x218caa(0x2ad)],_0xda2192=_0x3bfb3b[_0x218caa(0x232)],_0x3d5f33=_0x19e9ab['enc'],_0x89f01=_0x3d5f33['Utf8'],_0xf0505b=_0x19e9ab['algo'];_0xf0505b[_0x218caa(0x23f)]=_0xda2192[_0x218caa(0x3e6)]({'init':function(_0x4e05f3,_0xb8c9a1){var _0xcf6cb5=_0x218caa;_0x4e05f3=this[_0xcf6cb5(0x412)]=new _0x4e05f3[(_0xcf6cb5(0x1da))](),typeof _0xb8c9a1=='string'&&(_0xb8c9a1=_0x89f01['parse'](_0xb8c9a1));var _0x4466a1=_0x4e05f3[_0xcf6cb5(0x372)],_0x41c8a0=_0x4466a1*0x4;_0xb8c9a1[_0xcf6cb5(0x2b9)]>_0x41c8a0&&(_0xb8c9a1=_0x4e05f3[_0xcf6cb5(0x3be)](_0xb8c9a1)),_0xb8c9a1[_0xcf6cb5(0x279)]();for(var _0x15fd84=this[_0xcf6cb5(0x319)]=_0xb8c9a1['clone'](),_0x5e2c81=this[_0xcf6cb5(0x1e0)]=_0xb8c9a1[_0xcf6cb5(0x208)](),_0x14ae64=_0x15fd84['words'],_0x22ec80=_0x5e2c81[_0xcf6cb5(0x255)],_0xc07bfc=0x0;_0xc07bfc<_0x4466a1;_0xc07bfc++)_0x14ae64[_0xc07bfc]^=0x5c5c5c5c,_0x22ec80[_0xc07bfc]^=0x36363636;_0x15fd84[_0xcf6cb5(0x2b9)]=_0x5e2c81[_0xcf6cb5(0x2b9)]=_0x41c8a0,this[_0xcf6cb5(0x3f0)]();},'reset':function(){var _0x45c742=_0x218caa,_0x4ee153=this[_0x45c742(0x412)];_0x4ee153[_0x45c742(0x3f0)](),_0x4ee153['update'](this[_0x45c742(0x1e0)]);},'update':function(_0x129f27){var _0x15376d=_0x218caa;return this[_0x15376d(0x412)][_0x15376d(0x35f)](_0x129f27),this;},'finalize':function(_0x393a98){var _0x928a57=_0x218caa,_0x177be8=this[_0x928a57(0x412)],_0x493bf7=_0x177be8[_0x928a57(0x3be)](_0x393a98);_0x177be8[_0x928a57(0x3f0)]();var _0x48b2e3=_0x177be8[_0x928a57(0x3be)](this[_0x928a57(0x319)][_0x928a57(0x208)]()[_0x928a57(0x427)](_0x493bf7));return _0x48b2e3;}});}());}));}(ze)),ze[_0xded80(0x3b4)];}var ys=Ke[_0x21fa21(0x3b4)],ii;function Ui(){var _0x31bd2e=_0x21fa21;return ii||(ii=0x1,function(_0x5b65b6,_0x2c6bdd){(function(_0x1be482,_0x434fc4,_0xdc6bdb){var _0x17a386=_0x4934;_0x5b65b6[_0x17a386(0x3b4)]=_0x434fc4(ie(),Rs(),Os());}(ys,function(_0x179e1b){return(function(){var _0x27fde2=_0x4934,_0x5c8eff=_0x179e1b,_0x423e11=_0x5c8eff['lib'],_0x45cb54=_0x423e11[_0x27fde2(0x232)],_0x556587=_0x423e11[_0x27fde2(0x375)],_0x2cea56=_0x5c8eff[_0x27fde2(0x3f8)],_0x157be0=_0x2cea56[_0x27fde2(0x2e0)],_0x536e31=_0x2cea56[_0x27fde2(0x30d)]=_0x45cb54[_0x27fde2(0x3e6)]({'cfg':_0x45cb54[_0x27fde2(0x3e6)]({'keySize':0x80/0x20,'hasher':_0x157be0,'iterations':0x1}),'init':function(_0x26125b){var _0xd20e54=_0x27fde2;this['cfg']=this[_0xd20e54(0x3ce)][_0xd20e54(0x3e6)](_0x26125b);},'compute':function(_0x5a827f,_0x4dbfae){var _0x565034=_0x27fde2;for(var _0x17f578,_0x2f8aef=this[_0x565034(0x3ce)],_0x162235=_0x2f8aef[_0x565034(0x30e)][_0x565034(0x1fa)](),_0x1614d2=_0x556587[_0x565034(0x1fa)](),_0x2f939f=_0x1614d2[_0x565034(0x255)],_0x1faf46=_0x2f8aef[_0x565034(0x387)],_0x139a29=_0x2f8aef[_0x565034(0x2c5)];_0x2f939f[_0x565034(0x286)]<_0x1faf46;){_0x17f578&&_0x162235[_0x565034(0x35f)](_0x17f578),_0x17f578=_0x162235['update'](_0x5a827f)[_0x565034(0x3be)](_0x4dbfae),_0x162235[_0x565034(0x3f0)]();for(var _0x16ec22=0x1;_0x16ec22<_0x139a29;_0x16ec22++)_0x17f578=_0x162235[_0x565034(0x3be)](_0x17f578),_0x162235[_0x565034(0x3f0)]();_0x1614d2[_0x565034(0x427)](_0x17f578);}return _0x1614d2[_0x565034(0x2b9)]=_0x1faf46*0x4,_0x1614d2;}});_0x5c8eff['EvpKDF']=function(_0x2fb157,_0x5dcc01,_0xe77288){var _0x32d18e=_0x27fde2;return _0x536e31[_0x32d18e(0x1fa)](_0xe77288)[_0x32d18e(0x14d)](_0x2fb157,_0x5dcc01);};}()),_0x179e1b['EvpKDF'];}));}(Ke)),Ke[_0x31bd2e(0x3b4)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x4ceeb1=_0x21fa21;return ni||(ni=0x1,function(_0x5bb5c5,_0x158a6f){(function(_0x21d3e2,_0x4c6e76,_0x192232){var _0x49b84f=_0x4934;_0x5bb5c5[_0x49b84f(0x3b4)]=_0x4c6e76(ie(),Ui());}(Ns,function(_0x5c1305){var _0x2a822d=_0x4934;_0x5c1305[_0x2a822d(0x2ad)][_0x2a822d(0x422)]||function(_0x489988){var _0x5e3fed=_0x2a822d,_0x26c077=_0x5c1305,_0x8f02a8=_0x26c077[_0x5e3fed(0x2ad)],_0x8bfba9=_0x8f02a8['Base'],_0x5c679a=_0x8f02a8[_0x5e3fed(0x375)],_0x2de3ab=_0x8f02a8[_0x5e3fed(0x182)],_0x26b397=_0x26c077[_0x5e3fed(0x380)];_0x26b397[_0x5e3fed(0x3aa)];var _0x30437f=_0x26b397[_0x5e3fed(0x368)],_0x9017aa=_0x26c077[_0x5e3fed(0x3f8)],_0x1500e5=_0x9017aa['EvpKDF'],_0x5c827e=_0x8f02a8[_0x5e3fed(0x422)]=_0x2de3ab[_0x5e3fed(0x3e6)]({'cfg':_0x8bfba9[_0x5e3fed(0x3e6)](),'createEncryptor':function(_0xfebc93,_0x2c259a){var _0x2a244d=_0x5e3fed;return this['create'](this[_0x2a244d(0x41f)],_0xfebc93,_0x2c259a);},'createDecryptor':function(_0x5f49a2,_0x15bce3){var _0x22c096=_0x5e3fed;return this[_0x22c096(0x1fa)](this['_DEC_XFORM_MODE'],_0x5f49a2,_0x15bce3);},'init':function(_0x45f1d8,_0xe46d15,_0x799ded){var _0x2cf8e9=_0x5e3fed;this[_0x2cf8e9(0x3ce)]=this[_0x2cf8e9(0x3ce)][_0x2cf8e9(0x3e6)](_0x799ded),this['_xformMode']=_0x45f1d8,this[_0x2cf8e9(0x420)]=_0xe46d15,this[_0x2cf8e9(0x3f0)]();},'reset':function(){var _0x3aad07=_0x5e3fed;_0x2de3ab[_0x3aad07(0x3f0)][_0x3aad07(0x377)](this),this['_doReset']();},'process':function(_0xc8ee2f){var _0x1e7e13=_0x5e3fed;return this[_0x1e7e13(0x1f1)](_0xc8ee2f),this['_process']();},'finalize':function(_0x4f7946){var _0xc99f66=_0x5e3fed;_0x4f7946&&this[_0xc99f66(0x1f1)](_0x4f7946);var _0x52ab3e=this['_doFinalize']();return _0x52ab3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x456160(_0x1404b5){var _0x39bcc3=_0x4934;return typeof _0x1404b5==_0x39bcc3(0x228)?_0x3efc83:_0x45092d;}return function(_0x17960d){return{'encrypt':function(_0x2bf2ed,_0x7fcc34,_0x124475){return _0x456160(_0x7fcc34)['encrypt'](_0x17960d,_0x2bf2ed,_0x7fcc34,_0x124475);},'decrypt':function(_0x311782,_0x354972,_0x1525fb){var _0x19944e=_0x4934;return _0x456160(_0x354972)[_0x19944e(0x37d)](_0x17960d,_0x311782,_0x354972,_0x1525fb);}};};}())});_0x8f02a8[_0x5e3fed(0x281)]=_0x5c827e[_0x5e3fed(0x3e6)]({'_doFinalize':function(){var _0x4d4811=_0x5e3fed,_0x220eca=this[_0x4d4811(0x26b)](!0x0);return _0x220eca;},'blockSize':0x1});var _0x4c40ad=_0x26c077[_0x5e3fed(0x1b2)]={},_0x1e85db=_0x8f02a8[_0x5e3fed(0x292)]=_0x8bfba9['extend']({'createEncryptor':function(_0x30871a,_0x30db9e){var _0x984e8=_0x5e3fed;return this[_0x984e8(0x2d3)]['create'](_0x30871a,_0x30db9e);},'createDecryptor':function(_0x3274fd,_0x26c275){var _0x12d41e=_0x5e3fed;return this[_0x12d41e(0x3ae)][_0x12d41e(0x1fa)](_0x3274fd,_0x26c275);},'init':function(_0x917781,_0x181599){var _0x4e9a2e=_0x5e3fed;this[_0x4e9a2e(0x318)]=_0x917781,this[_0x4e9a2e(0x138)]=_0x181599;}}),_0x3cfe62=_0x4c40ad[_0x5e3fed(0x3c3)]=(function(){var _0x592cfd=_0x5e3fed,_0x58ba4d=_0x1e85db[_0x592cfd(0x3e6)]();_0x58ba4d[_0x592cfd(0x2d3)]=_0x58ba4d['extend']({'processBlock':function(_0x5ad53d,_0x4f1aae){var _0x5c0fd8=_0x592cfd,_0xc36286=this[_0x5c0fd8(0x318)],_0x336a1f=_0xc36286[_0x5c0fd8(0x372)];_0x252579[_0x5c0fd8(0x377)](this,_0x5ad53d,_0x4f1aae,_0x336a1f),_0xc36286['encryptBlock'](_0x5ad53d,_0x4f1aae),this[_0x5c0fd8(0x3c2)]=_0x5ad53d[_0x5c0fd8(0x2bb)](_0x4f1aae,_0x4f1aae+_0x336a1f);}}),_0x58ba4d[_0x592cfd(0x3ae)]=_0x58ba4d['extend']({'processBlock':function(_0x4fb2c2,_0x371df1){var _0x4ed335=_0x592cfd,_0x45313e=this['_cipher'],_0x7492c9=_0x45313e[_0x4ed335(0x372)],_0x421e47=_0x4fb2c2[_0x4ed335(0x2bb)](_0x371df1,_0x371df1+_0x7492c9);_0x45313e['decryptBlock'](_0x4fb2c2,_0x371df1),_0x252579[_0x4ed335(0x377)](this,_0x4fb2c2,_0x371df1,_0x7492c9),this['_prevBlock']=_0x421e47;}});function _0x252579(_0x3c30ba,_0x3afdbf,_0x41c884){var _0x1884ad=_0x592cfd,_0x16c8c1,_0x461db9=this[_0x1884ad(0x138)];_0x461db9?(_0x16c8c1=_0x461db9,this[_0x1884ad(0x138)]=_0x489988):_0x16c8c1=this['_prevBlock'];for(var _0x1c68af=0x0;_0x1c68af<_0x41c884;_0x1c68af++)_0x3c30ba[_0x3afdbf+_0x1c68af]^=_0x16c8c1[_0x1c68af];}return _0x58ba4d;}()),_0x496504=_0x26c077['pad']={},_0x3fd04e=_0x496504['Pkcs7']={'pad':function(_0x54db6c,_0x51cfcd){var _0x478ff2=_0x5e3fed;for(var _0x2377fc=_0x51cfcd*0x4,_0xcf4a4=_0x2377fc-_0x54db6c[_0x478ff2(0x2b9)]%_0x2377fc,_0x46e31a=_0xcf4a4<<0x18|_0xcf4a4<<0x10|_0xcf4a4<<0x8|_0xcf4a4,_0x8e99ec=[],_0xf644e3=0x0;_0xf644e3<_0xcf4a4;_0xf644e3+=0x4)_0x8e99ec[_0x478ff2(0x136)](_0x46e31a);var _0x468c39=_0x5c679a['create'](_0x8e99ec,_0xcf4a4);_0x54db6c['concat'](_0x468c39);},'unpad':function(_0x2e7035){var _0x519e02=_0x5e3fed,_0x41df38=_0x2e7035[_0x519e02(0x255)][_0x2e7035[_0x519e02(0x2b9)]-0x1>>>0x2]&0xff;_0x2e7035[_0x519e02(0x2b9)]-=_0x41df38;}};_0x8f02a8['BlockCipher']=_0x5c827e['extend']({'cfg':_0x5c827e[_0x5e3fed(0x3ce)][_0x5e3fed(0x3e6)]({'mode':_0x3cfe62,'padding':_0x3fd04e}),'reset':function(){var _0x575498=_0x5e3fed,_0x57cd06;_0x5c827e[_0x575498(0x3f0)][_0x575498(0x377)](this);var _0x1e9fe1=this[_0x575498(0x3ce)],_0x5c6f67=_0x1e9fe1['iv'],_0x22384=_0x1e9fe1[_0x575498(0x1b2)];this[_0x575498(0x1cf)]==this['_ENC_XFORM_MODE']?_0x57cd06=_0x22384[_0x575498(0x134)]:(_0x57cd06=_0x22384[_0x575498(0x262)],this[_0x575498(0x32f)]=0x1),this['_mode']&&this['_mode'][_0x575498(0x305)]==_0x57cd06?this[_0x575498(0x2ef)][_0x575498(0x1da)](this,_0x5c6f67&&_0x5c6f67[_0x575498(0x255)]):(this[_0x575498(0x2ef)]=_0x57cd06['call'](_0x22384,this,_0x5c6f67&&_0x5c6f67['words']),this[_0x575498(0x2ef)][_0x575498(0x305)]=_0x57cd06);},'_doProcessBlock':function(_0x242764,_0xb07bfd){var _0x2aa898=_0x5e3fed;this[_0x2aa898(0x2ef)][_0x2aa898(0x400)](_0x242764,_0xb07bfd);},'_doFinalize':function(){var _0x34f4b5=_0x5e3fed,_0x394e78,_0x42e483=this[_0x34f4b5(0x3ce)]['padding'];return this[_0x34f4b5(0x1cf)]==this[_0x34f4b5(0x41f)]?(_0x42e483[_0x34f4b5(0x3c5)](this[_0x34f4b5(0x20d)],this[_0x34f4b5(0x372)]),_0x394e78=this['_process'](!0x0)):(_0x394e78=this[_0x34f4b5(0x26b)](!0x0),_0x42e483[_0x34f4b5(0x3a3)](_0x394e78)),_0x394e78;},'blockSize':0x80/0x20});var _0x17e72f=_0x8f02a8[_0x5e3fed(0x359)]=_0x8bfba9[_0x5e3fed(0x3e6)]({'init':function(_0x4fa1a3){this['mixIn'](_0x4fa1a3);},'toString':function(_0x18fd54){var _0x33cd2a=_0x5e3fed;return(_0x18fd54||this[_0x33cd2a(0x3e7)])['stringify'](this);}}),_0x4e31e4=_0x26c077[_0x5e3fed(0x244)]={},_0xd0ab1=_0x4e31e4['OpenSSL']={'stringify':function(_0x24d415){var _0x329dee=_0x5e3fed,_0x7533cd,_0x5880cd=_0x24d415[_0x329dee(0x17f)],_0x557dce=_0x24d415[_0x329dee(0x1b7)];return _0x557dce?_0x7533cd=_0x5c679a[_0x329dee(0x1fa)]([0x53616c74,0x65645f5f])['concat'](_0x557dce)[_0x329dee(0x427)](_0x5880cd):_0x7533cd=_0x5880cd,_0x7533cd[_0x329dee(0x1bb)](_0x30437f);},'parse':function(_0x133337){var _0x4b3f37=_0x5e3fed,_0x1e9229,_0x1695a2=_0x30437f[_0x4b3f37(0x27e)](_0x133337),_0x1f0e94=_0x1695a2[_0x4b3f37(0x255)];return _0x1f0e94[0x0]==0x53616c74&&_0x1f0e94[0x1]==0x65645f5f&&(_0x1e9229=_0x5c679a['create'](_0x1f0e94[_0x4b3f37(0x2bb)](0x2,0x4)),_0x1f0e94[_0x4b3f37(0x133)](0x0,0x4),_0x1695a2['sigBytes']-=0x10),_0x17e72f['create']({'ciphertext':_0x1695a2,'salt':_0x1e9229});}},_0x45092d=_0x8f02a8[_0x5e3fed(0x334)]=_0x8bfba9[_0x5e3fed(0x3e6)]({'cfg':_0x8bfba9[_0x5e3fed(0x3e6)]({'format':_0xd0ab1}),'encrypt':function(_0x27dd9d,_0x312320,_0x282b29,_0x218ce2){var _0x581564=_0x5e3fed;_0x218ce2=this[_0x581564(0x3ce)]['extend'](_0x218ce2);var _0x2554c1=_0x27dd9d[_0x581564(0x134)](_0x282b29,_0x218ce2),_0x67833=_0x2554c1[_0x581564(0x3be)](_0x312320),_0x4e8600=_0x2554c1[_0x581564(0x3ce)];return _0x17e72f[_0x581564(0x1fa)]({'ciphertext':_0x67833,'key':_0x282b29,'iv':_0x4e8600['iv'],'algorithm':_0x27dd9d,'mode':_0x4e8600[_0x581564(0x1b2)],'padding':_0x4e8600[_0x581564(0x1db)],'blockSize':_0x27dd9d[_0x581564(0x372)],'formatter':_0x218ce2[_0x581564(0x244)]});},'decrypt':function(_0x3548c7,_0x5bb624,_0x27f7c1,_0x51dcbb){var _0x226a83=_0x5e3fed;_0x51dcbb=this[_0x226a83(0x3ce)][_0x226a83(0x3e6)](_0x51dcbb),_0x5bb624=this[_0x226a83(0x1c8)](_0x5bb624,_0x51dcbb['format']);var _0x350b55=_0x3548c7['createDecryptor'](_0x27f7c1,_0x51dcbb)[_0x226a83(0x3be)](_0x5bb624['ciphertext']);return _0x350b55;},'_parse':function(_0x41d489,_0x1877e4){var _0x16edec=_0x5e3fed;return typeof _0x41d489==_0x16edec(0x228)?_0x1877e4[_0x16edec(0x27e)](_0x41d489,this):_0x41d489;}}),_0x3eb3a7=_0x26c077[_0x5e3fed(0x130)]={},_0xfdbda5=_0x3eb3a7[_0x5e3fed(0x3ec)]={'execute':function(_0x5bf47e,_0x1da809,_0x46fcbc,_0x21f585,_0x1c7b1f){var _0x317660=_0x5e3fed;if(_0x21f585||(_0x21f585=_0x5c679a[_0x317660(0x2be)](0x40/0x8)),_0x1c7b1f)var _0x46f9cf=_0x1500e5['create']({'keySize':_0x1da809+_0x46fcbc,'hasher':_0x1c7b1f})[_0x317660(0x14d)](_0x5bf47e,_0x21f585);else var _0x46f9cf=_0x1500e5[_0x317660(0x1fa)]({'keySize':_0x1da809+_0x46fcbc})['compute'](_0x5bf47e,_0x21f585);var _0x39a11b=_0x5c679a['create'](_0x46f9cf['words'][_0x317660(0x2bb)](_0x1da809),_0x46fcbc*0x4);return _0x46f9cf['sigBytes']=_0x1da809*0x4,_0x17e72f[_0x317660(0x1fa)]({'key':_0x46f9cf,'iv':_0x39a11b,'salt':_0x21f585});}},_0x3efc83=_0x8f02a8['PasswordBasedCipher']=_0x45092d['extend']({'cfg':_0x45092d[_0x5e3fed(0x3ce)][_0x5e3fed(0x3e6)]({'kdf':_0xfdbda5}),'encrypt':function(_0x254155,_0x4e2f69,_0x1c9f65,_0x3ed481){var _0x302a22=_0x5e3fed;_0x3ed481=this[_0x302a22(0x3ce)][_0x302a22(0x3e6)](_0x3ed481);var _0xe77338=_0x3ed481['kdf'][_0x302a22(0x21d)](_0x1c9f65,_0x254155[_0x302a22(0x387)],_0x254155['ivSize'],_0x3ed481['salt'],_0x3ed481[_0x302a22(0x30e)]);_0x3ed481['iv']=_0xe77338['iv'];var _0x11c9d6=_0x45092d[_0x302a22(0x397)][_0x302a22(0x377)](this,_0x254155,_0x4e2f69,_0xe77338['key'],_0x3ed481);return _0x11c9d6[_0x302a22(0x385)](_0xe77338),_0x11c9d6;},'decrypt':function(_0x40f0a5,_0x77202e,_0x130e65,_0x4ceef2){var _0x35bfbb=_0x5e3fed;_0x4ceef2=this['cfg'][_0x35bfbb(0x3e6)](_0x4ceef2),_0x77202e=this[_0x35bfbb(0x1c8)](_0x77202e,_0x4ceef2['format']);var _0x11bc37=_0x4ceef2['kdf']['execute'](_0x130e65,_0x40f0a5[_0x35bfbb(0x387)],_0x40f0a5[_0x35bfbb(0x2d4)],_0x77202e[_0x35bfbb(0x1b7)],_0x4ceef2[_0x35bfbb(0x30e)]);_0x4ceef2['iv']=_0x11bc37['iv'];var _0x112054=_0x45092d[_0x35bfbb(0x37d)][_0x35bfbb(0x377)](this,_0x40f0a5,_0x77202e,_0x11bc37[_0x35bfbb(0x1a4)],_0x4ceef2);return _0x112054;}});}();}));}(Je)),Je[_0x4ceeb1(0x3b4)];}var Ds=Ve[_0x21fa21(0x3b4)],si;function Us(){var _0x52fd9f=_0x21fa21;return si||(si=0x1,function(_0x14ad71,_0x1cd7be){(function(_0x3c2b10,_0x88166c,_0x4f05bd){var _0x403fc4=_0x4934;_0x14ad71[_0x403fc4(0x3b4)]=_0x88166c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x180c21){var _0x59dc6d=_0x4934;return(function(){var _0x169fd6=_0x4934,_0xdf25ba=_0x180c21,_0x2f26ca=_0xdf25ba[_0x169fd6(0x2ad)],_0x4deb88=_0x2f26ca[_0x169fd6(0x241)],_0x241231=_0xdf25ba[_0x169fd6(0x3f8)],_0x5e4f2c=[],_0x11eb86=[],_0x384bf9=[],_0x53c0ed=[],_0x2320aa=[],_0x52a6ed=[],_0x5e3c06=[],_0xaac9a3=[],_0x5f5d1f=[],_0x308888=[];(function(){for(var _0x1d45b4=[],_0x2840d7=0x0;_0x2840d7<0x100;_0x2840d7++)_0x2840d7<0x80?_0x1d45b4[_0x2840d7]=_0x2840d7<<0x1:_0x1d45b4[_0x2840d7]=_0x2840d7<<0x1^0x11b;for(var _0x4cc938=0x0,_0x5239af=0x0,_0x2840d7=0x0;_0x2840d7<0x100;_0x2840d7++){var _0x24f8fe=_0x5239af^_0x5239af<<0x1^_0x5239af<<0x2^_0x5239af<<0x3^_0x5239af<<0x4;_0x24f8fe=_0x24f8fe>>>0x8^_0x24f8fe&0xff^0x63,_0x5e4f2c[_0x4cc938]=_0x24f8fe,_0x11eb86[_0x24f8fe]=_0x4cc938;var _0x10fade=_0x1d45b4[_0x4cc938],_0x5348fc=_0x1d45b4[_0x10fade],_0x583312=_0x1d45b4[_0x5348fc],_0x23f7af=_0x1d45b4[_0x24f8fe]*0x101^_0x24f8fe*0x1010100;_0x384bf9[_0x4cc938]=_0x23f7af<<0x18|_0x23f7af>>>0x8,_0x53c0ed[_0x4cc938]=_0x23f7af<<0x10|_0x23f7af>>>0x10,_0x2320aa[_0x4cc938]=_0x23f7af<<0x8|_0x23f7af>>>0x18,_0x52a6ed[_0x4cc938]=_0x23f7af;var _0x23f7af=_0x583312*0x1010101^_0x5348fc*0x10001^_0x10fade*0x101^_0x4cc938*0x1010100;_0x5e3c06[_0x24f8fe]=_0x23f7af<<0x18|_0x23f7af>>>0x8,_0xaac9a3[_0x24f8fe]=_0x23f7af<<0x10|_0x23f7af>>>0x10,_0x5f5d1f[_0x24f8fe]=_0x23f7af<<0x8|_0x23f7af>>>0x18,_0x308888[_0x24f8fe]=_0x23f7af,_0x4cc938?(_0x4cc938=_0x10fade^_0x1d45b4[_0x1d45b4[_0x1d45b4[_0x583312^_0x10fade]]],_0x5239af^=_0x1d45b4[_0x1d45b4[_0x5239af]]):_0x4cc938=_0x5239af=0x1;}}());var _0x26c723=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x957135=_0x241231[_0x169fd6(0x142)]=_0x4deb88[_0x169fd6(0x3e6)]({'_doReset':function(){var _0x4a9ec6=_0x169fd6,_0x36f440;if(!(this[_0x4a9ec6(0x3cb)]&&this[_0x4a9ec6(0x424)]===this[_0x4a9ec6(0x420)])){for(var _0x55ac97=this[_0x4a9ec6(0x424)]=this[_0x4a9ec6(0x420)],_0x5c9ccb=_0x55ac97[_0x4a9ec6(0x255)],_0x857169=_0x55ac97[_0x4a9ec6(0x2b9)]/0x4,_0x4a159d=this['_nRounds']=_0x857169+0x6,_0x18b5cb=(_0x4a159d+0x1)*0x4,_0x1daa84=this[_0x4a9ec6(0x2a7)]=[],_0x5e72a6=0x0;_0x5e72a6<_0x18b5cb;_0x5e72a6++)_0x5e72a6<_0x857169?_0x1daa84[_0x5e72a6]=_0x5c9ccb[_0x5e72a6]:(_0x36f440=_0x1daa84[_0x5e72a6-0x1],_0x5e72a6%_0x857169?_0x857169>0x6&&_0x5e72a6%_0x857169==0x4&&(_0x36f440=_0x5e4f2c[_0x36f440>>>0x18]<<0x18|_0x5e4f2c[_0x36f440>>>0x10&0xff]<<0x10|_0x5e4f2c[_0x36f440>>>0x8&0xff]<<0x8|_0x5e4f2c[_0x36f440&0xff]):(_0x36f440=_0x36f440<<0x8|_0x36f440>>>0x18,_0x36f440=_0x5e4f2c[_0x36f440>>>0x18]<<0x18|_0x5e4f2c[_0x36f440>>>0x10&0xff]<<0x10|_0x5e4f2c[_0x36f440>>>0x8&0xff]<<0x8|_0x5e4f2c[_0x36f440&0xff],_0x36f440^=_0x26c723[_0x5e72a6/_0x857169|0x0]<<0x18),_0x1daa84[_0x5e72a6]=_0x1daa84[_0x5e72a6-_0x857169]^_0x36f440);for(var _0x226369=this[_0x4a9ec6(0x33e)]=[],_0x4cb1a0=0x0;_0x4cb1a0<_0x18b5cb;_0x4cb1a0++){var _0x5e72a6=_0x18b5cb-_0x4cb1a0;if(_0x4cb1a0%0x4)var _0x36f440=_0x1daa84[_0x5e72a6];else var _0x36f440=_0x1daa84[_0x5e72a6-0x4];_0x4cb1a0<0x4||_0x5e72a6<=0x4?_0x226369[_0x4cb1a0]=_0x36f440:_0x226369[_0x4cb1a0]=_0x5e3c06[_0x5e4f2c[_0x36f440>>>0x18]]^_0xaac9a3[_0x5e4f2c[_0x36f440>>>0x10&0xff]]^_0x5f5d1f[_0x5e4f2c[_0x36f440>>>0x8&0xff]]^_0x308888[_0x5e4f2c[_0x36f440&0xff]];}}},'encryptBlock':function(_0x4738ba,_0x3297e1){var _0x5652a1=_0x169fd6;this[_0x5652a1(0x373)](_0x4738ba,_0x3297e1,this[_0x5652a1(0x2a7)],_0x384bf9,_0x53c0ed,_0x2320aa,_0x52a6ed,_0x5e4f2c);},'decryptBlock':function(_0x407234,_0x126711){var _0x3b0ae9=_0x169fd6,_0x26b264=_0x407234[_0x126711+0x1];_0x407234[_0x126711+0x1]=_0x407234[_0x126711+0x3],_0x407234[_0x126711+0x3]=_0x26b264,this[_0x3b0ae9(0x373)](_0x407234,_0x126711,this[_0x3b0ae9(0x33e)],_0x5e3c06,_0xaac9a3,_0x5f5d1f,_0x308888,_0x11eb86);var _0x26b264=_0x407234[_0x126711+0x1];_0x407234[_0x126711+0x1]=_0x407234[_0x126711+0x3],_0x407234[_0x126711+0x3]=_0x26b264;},'_doCryptBlock':function(_0x4ce453,_0x11128b,_0x8671f5,_0x47fed7,_0x18bf8e,_0x1152ac,_0x3ea311,_0x54dd01){var _0x54fbbc=_0x169fd6;for(var _0x1eaba4=this[_0x54fbbc(0x3cb)],_0xe281c=_0x4ce453[_0x11128b]^_0x8671f5[0x0],_0x501e5a=_0x4ce453[_0x11128b+0x1]^_0x8671f5[0x1],_0x472bfd=_0x4ce453[_0x11128b+0x2]^_0x8671f5[0x2],_0x2bc5b2=_0x4ce453[_0x11128b+0x3]^_0x8671f5[0x3],_0x2bc34a=0x4,_0xa5a18=0x1;_0xa5a18<_0x1eaba4;_0xa5a18++){var _0x18ee14=_0x47fed7[_0xe281c>>>0x18]^_0x18bf8e[_0x501e5a>>>0x10&0xff]^_0x1152ac[_0x472bfd>>>0x8&0xff]^_0x3ea311[_0x2bc5b2&0xff]^_0x8671f5[_0x2bc34a++],_0x3dee77=_0x47fed7[_0x501e5a>>>0x18]^_0x18bf8e[_0x472bfd>>>0x10&0xff]^_0x1152ac[_0x2bc5b2>>>0x8&0xff]^_0x3ea311[_0xe281c&0xff]^_0x8671f5[_0x2bc34a++],_0x33cbc0=_0x47fed7[_0x472bfd>>>0x18]^_0x18bf8e[_0x2bc5b2>>>0x10&0xff]^_0x1152ac[_0xe281c>>>0x8&0xff]^_0x3ea311[_0x501e5a&0xff]^_0x8671f5[_0x2bc34a++],_0x3dea93=_0x47fed7[_0x2bc5b2>>>0x18]^_0x18bf8e[_0xe281c>>>0x10&0xff]^_0x1152ac[_0x501e5a>>>0x8&0xff]^_0x3ea311[_0x472bfd&0xff]^_0x8671f5[_0x2bc34a++];_0xe281c=_0x18ee14,_0x501e5a=_0x3dee77,_0x472bfd=_0x33cbc0,_0x2bc5b2=_0x3dea93;}var _0x18ee14=(_0x54dd01[_0xe281c>>>0x18]<<0x18|_0x54dd01[_0x501e5a>>>0x10&0xff]<<0x10|_0x54dd01[_0x472bfd>>>0x8&0xff]<<0x8|_0x54dd01[_0x2bc5b2&0xff])^_0x8671f5[_0x2bc34a++],_0x3dee77=(_0x54dd01[_0x501e5a>>>0x18]<<0x18|_0x54dd01[_0x472bfd>>>0x10&0xff]<<0x10|_0x54dd01[_0x2bc5b2>>>0x8&0xff]<<0x8|_0x54dd01[_0xe281c&0xff])^_0x8671f5[_0x2bc34a++],_0x33cbc0=(_0x54dd01[_0x472bfd>>>0x18]<<0x18|_0x54dd01[_0x2bc5b2>>>0x10&0xff]<<0x10|_0x54dd01[_0xe281c>>>0x8&0xff]<<0x8|_0x54dd01[_0x501e5a&0xff])^_0x8671f5[_0x2bc34a++],_0x3dea93=(_0x54dd01[_0x2bc5b2>>>0x18]<<0x18|_0x54dd01[_0xe281c>>>0x10&0xff]<<0x10|_0x54dd01[_0x501e5a>>>0x8&0xff]<<0x8|_0x54dd01[_0x472bfd&0xff])^_0x8671f5[_0x2bc34a++];_0x4ce453[_0x11128b]=_0x18ee14,_0x4ce453[_0x11128b+0x1]=_0x3dee77,_0x4ce453[_0x11128b+0x2]=_0x33cbc0,_0x4ce453[_0x11128b+0x3]=_0x3dea93;},'keySize':0x100/0x20});_0xdf25ba[_0x169fd6(0x142)]=_0x4deb88[_0x169fd6(0x398)](_0x957135);}()),_0x180c21[_0x59dc6d(0x142)];}));}(Ve)),Ve[_0x52fd9f(0x3b4)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x21fa21(0x3b4)],ai;function Ms(){var _0x273c2=_0x21fa21;return ai||(ai=0x1,function(_0x5b42d5,_0x328ffc){(function(_0x4ad0f9,_0x148ce5){var _0x602190=_0x4934;_0x5b42d5[_0x602190(0x3b4)]=_0x148ce5(ie());}(Ls,function(_0x1b386b){var _0x44d1f3=_0x4934;return _0x1b386b[_0x44d1f3(0x380)][_0x44d1f3(0x3aa)];}));}(Xe)),Xe[_0x273c2(0x3b4)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x21fa21(0x3b4)],oi;function Hs(){var _0x5805c9=_0x21fa21;return oi||(oi=0x1,function(_0xce0cd9,_0x455e2d){(function(_0x445477,_0x1af492){var _0x4e7fe5=_0x4934;_0xce0cd9[_0x4e7fe5(0x3b4)]=_0x1af492(ie());}($s,function(_0x305db3){var _0x351e57=_0x4934;return(function(){var _0x1294bb=_0x4934;if(typeof ArrayBuffer==_0x1294bb(0x3c7)){var _0x24e642=_0x305db3,_0xab47c9=_0x24e642[_0x1294bb(0x2ad)],_0x1d6818=_0xab47c9[_0x1294bb(0x375)],_0x5c6922=_0x1d6818[_0x1294bb(0x1da)],_0x56df1e=_0x1d6818['init']=function(_0x18c98b){var _0x2fdfa1=_0x1294bb;if(_0x18c98b instanceof ArrayBuffer&&(_0x18c98b=new Uint8Array(_0x18c98b)),(_0x18c98b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18c98b instanceof Uint8ClampedArray||_0x18c98b instanceof Int16Array||_0x18c98b instanceof Uint16Array||_0x18c98b instanceof Int32Array||_0x18c98b instanceof Uint32Array||_0x18c98b instanceof Float32Array||_0x18c98b instanceof Float64Array)&&(_0x18c98b=new Uint8Array(_0x18c98b[_0x2fdfa1(0x146)],_0x18c98b[_0x2fdfa1(0x269)],_0x18c98b[_0x2fdfa1(0x26d)])),_0x18c98b instanceof Uint8Array){for(var _0xa6537c=_0x18c98b[_0x2fdfa1(0x26d)],_0x1b4d9e=[],_0x409564=0x0;_0x409564<_0xa6537c;_0x409564++)_0x1b4d9e[_0x409564>>>0x2]|=_0x18c98b[_0x409564]<<0x18-_0x409564%0x4*0x8;_0x5c6922[_0x2fdfa1(0x377)](this,_0x1b4d9e,_0xa6537c);}else _0x5c6922[_0x2fdfa1(0x2ba)](this,arguments);};_0x56df1e[_0x1294bb(0x205)]=_0x1d6818;}}()),_0x305db3[_0x351e57(0x2ad)]['WordArray'];}));}(Ze)),Ze[_0x5805c9(0x3b4)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x11a7d4=_0x21fa21;return ci||(ci=0x1,function(_0x233f9c,_0x166671){(function(_0x265e30,_0x1c259f,_0x2e9036){var _0x48c5fe=_0x4934;_0x233f9c[_0x48c5fe(0x3b4)]=_0x1c259f(ie(),Ai());}(Fs,function(_0x37273a){var _0x498aa6=_0x4934;return _0x37273a[_0x498aa6(0x3c5)][_0x498aa6(0x3f6)]={'pad':function(){},'unpad':function(){}},_0x37273a[_0x498aa6(0x3c5)][_0x498aa6(0x3f6)];}));}(Qe)),Qe[_0x11a7d4(0x3b4)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x5d48e5,_0x587f88){var _0x22c930=_0x21fa21;const _0x1fc675=_0x587f88-_0x5d48e5[_0x22c930(0x286)]%_0x587f88,_0x1a1201=String['fromCharCode'](_0x1fc675)[_0x22c930(0x37e)](_0x1fc675);return _0x5d48e5+_0x1a1201;}function Ks(_0x4bf354,_0x4fba31){var _0x309888=_0x21fa21;const _0x11b0de=js[_0x309888(0x2be)](0x10),_0x54db6b=Ys(_0x4bf354,0x10),_0xebbba4=ws[_0x309888(0x397)](ks[_0x309888(0x27e)](_0x54db6b),ri['parse'](_0x4fba31),{'iv':_0x11b0de,'padding':Ws});return _0x11b0de[_0x309888(0x427)](_0xebbba4['ciphertext'])[_0x309888(0x1bb)](ri);}function qs(){var _0x494117=_0x21fa21;const _0x549744=_0x11365b()[_0x494117(0x209)];if(_0x549744){const _0x16632f={'time':Math[_0x494117(0x263)](Date[_0x494117(0x191)]()/0x3e8),'domain':location['hostname']};return Ks(JSON[_0x494117(0x306)](_0x16632f),_0x549744);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x1607f4,_0x292a85,_0x21f9de,_0x222bb7)=>{for(var _0x744429=_0x222bb7>0x1?void 0x0:_0x222bb7?zs(_0x292a85,_0x21f9de):_0x292a85,_0x1b7757=_0x1607f4['length']-0x1,_0x56edf6;_0x1b7757>=0x0;_0x1b7757--)(_0x56edf6=_0x1607f4[_0x1b7757])&&(_0x744429=_0x56edf6(_0x744429)||_0x744429);return _0x744429;},Xs=(_0x475346,_0x3948c3)=>(_0x48b8d8,_0x289721)=>_0x3948c3(_0x48b8d8,_0x289721,_0x475346);let at=class{constructor(_0x17c450){var _0x4b6360=_0x21fa21;this[_0x4b6360(0x32a)]=_0x17c450,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x55b072=_0x21fa21;this[_0x55b072(0x32a)][_0x55b072(0x2d2)]({'interceptor':(_0x2b667e,_0x56266b)=>{var _0x516513=_0x55b072;const _0x298724=_0x2b667e[_0x516513(0x159)],_0x35b1ef=qs();return _0x35b1ef&&_0x298724[_0x516513(0x3c1)](_0x516513(0x1f0),_0x35b1ef),_0x56266b(_0x2b667e);}});}};at=Js([Xs(0x0,_0x19c414(_0xf7c598))],at);var Zs=Object[_0x21fa21(0x16f)],Qs=(_0x357696,_0x1e5f61,_0xfd4645,_0x2d6deb)=>{var _0x47fa09=_0x21fa21;for(var _0x5280fd=_0x2d6deb>0x1?void 0x0:_0x2d6deb?Zs(_0x1e5f61,_0xfd4645):_0x1e5f61,_0x2da890=_0x357696[_0x47fa09(0x286)]-0x1,_0x343242;_0x2da890>=0x0;_0x2da890--)(_0x343242=_0x357696[_0x2da890])&&(_0x5280fd=_0x343242(_0x5280fd)||_0x5280fd);return _0x5280fd;},mt=(_0x41c863,_0x139a04)=>(_0x2cfa77,_0xda4101)=>_0x139a04(_0x2cfa77,_0xda4101,_0x41c863);let bt=class extends _0x37cb10{constructor(_0x4e3eee,_0x492f9f,_0xa4cf9){var _0x1b02d5=_0x21fa21;super(),N(this,_0x1b02d5(0x221),new _0x214797(null)),N(this,_0x1b02d5(0x311),this[_0x1b02d5(0x221)][_0x1b02d5(0x27d)]()),(this[_0x1b02d5(0x233)]=_0x4e3eee,this['_snapshotService']=_0x492f9f,this[_0x1b02d5(0x242)]=_0xa4cf9);}async['loadUnit'](_0x32780b,_0x5e674e,_0x5c7739){var _0x2d13ae=_0x21fa21;this[_0x2d13ae(0x221)]['next']({'unitId':_0x32780b,'type':_0x5e674e,'subUnitId':_0x5c7739});let _0x32df7e=null;switch(_0x5e674e){case Q[_0x2d13ae(0x19a)]:{_0x32df7e=await this['_loadSheet'](_0x32780b);break;}case Q[_0x2d13ae(0x240)]:{_0x32df7e=await this[_0x2d13ae(0x327)](_0x32780b);break;}default:{this[_0x2d13ae(0x233)]['error'](_0x2d13ae(0x26e),_0x2d13ae(0x19e));break;}}return _0x32df7e;}async[_0x21fa21(0x333)](_0x5539dd){var _0x49c860=_0x21fa21,_0x3d4862;let _0x5d463c=0x0;const _0x4e8109=await((_0x3d4862=this[_0x49c860(0x242)])==null?void 0x0:_0x3d4862[_0x49c860(0x249)](_0x5539dd));return _0x4e8109&&(_0x4e8109[_0x49c860(0x17a)]||_0x4e8109[_0x49c860(0x1ae)][_0x49c860(0x286)]!==0x0)&&(_0x5d463c=_0x4e8109['rev']),_0x5d463c===0x0&&this[_0x49c860(0x233)]['debug'](_0x49c860(0x26e),_0x49c860(0x2a2)),this['_snapshotService']['loadSheet'](_0x5539dd,_0x5d463c);}async[_0x21fa21(0x327)](_0xe58bb5){var _0x1568f9=_0x21fa21,_0x3af483;let _0x439a55=0x0;const _0x508ba7=await((_0x3af483=this[_0x1568f9(0x242)])==null?void 0x0:_0x3af483['loadOfflineData'](_0xe58bb5));return _0x508ba7&&(_0x508ba7['awaitingChangeset']||_0x508ba7['mutations'][_0x1568f9(0x286)]!==0x0)&&(_0x439a55=_0x508ba7[_0x1568f9(0x38b)]),_0x439a55===0x0&&this['_logService'][_0x1568f9(0x419)]('[DataLoaderService]',_0x1568f9(0x2a2)),this[_0x1568f9(0x3b0)][_0x1568f9(0x213)](_0xe58bb5,_0x439a55);}};bt=Qs([mt(0x0,_0x459fda),mt(0x1,_0x19c414(_0x3fe4ff)),mt(0x2,_0x548a6f(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0xfada7e,_0x1d1713,_0x5614bc,_0x4a1294)=>{var _0x5edbc8=_0x21fa21;for(var _0x34a6dc=_0x4a1294>0x1?void 0x0:_0x4a1294?er(_0x1d1713,_0x5614bc):_0x1d1713,_0x259b58=_0xfada7e[_0x5edbc8(0x286)]-0x1,_0x37801a;_0x259b58>=0x0;_0x259b58--)(_0x37801a=_0xfada7e[_0x259b58])&&(_0x34a6dc=_0x37801a(_0x34a6dc)||_0x34a6dc);return _0x34a6dc;},gt=(_0xf22009,_0xd7571c)=>(_0x25d1c0,_0x182fe7)=>_0xd7571c(_0x25d1c0,_0x182fe7,_0xf22009);const ir=[_0x21fa21(0x3b2),'image/jpeg',_0x21fa21(0x137),_0x21fa21(0x290),'image/bmp'],nr=0x5*0x400*0x400,sr=_0x21fa21(0x2ec),rr=_0x21fa21(0x392),ar=_0x21fa21(0x28d),or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x3345ca,_0x4371af,_0x2563de){var _0x3a379d=_0x21fa21;N(this,_0x3a379d(0x287),0x0),N(this,_0x3a379d(0x194),new _0x1db3bf()),N(this,_0x3a379d(0x2d6),this[_0x3a379d(0x194)]),N(this,_0x3a379d(0x169),new Map()),(this[_0x3a379d(0x32a)]=_0x3345ca,this[_0x3a379d(0x1a6)]=_0x4371af,this['_univerInstanceService']=_0x2563de);}[_0x21fa21(0x293)](_0x3aab7e){var _0x3d0103=_0x21fa21;this['_waitCount']=_0x3aab7e,this[_0x3d0103(0x194)][_0x3d0103(0x40a)](_0x3aab7e);}['getImageSourceCache'](_0x4e80fc,_0x51b539){var _0x37aea9=_0x21fa21;if(_0x51b539===_0x57bdd4[_0x37aea9(0x23e)]){const _0x2ec5be=new Image();return _0x2ec5be[_0x37aea9(0x1c2)]=_0x4e80fc,_0x2ec5be;}return this[_0x37aea9(0x169)][_0x37aea9(0x3f7)](_0x4e80fc);}[_0x21fa21(0x330)](_0x5aea53,_0x3d4423,_0x3c6da2){var _0x214ed4=_0x21fa21;_0x3d4423===_0x57bdd4[_0x214ed4(0x23e)]||_0x3c6da2==null||this['_imageSourceCache'][_0x214ed4(0x3c1)](_0x5aea53,_0x3c6da2);}async[_0x21fa21(0x1a2)](_0x3e19b4){var _0x237fac=_0x21fa21;try{const _0x2c6081=this[_0x237fac(0x2e9)](this[_0x237fac(0x3a0)](),''+_0x3e19b4),_0xbe664=(await this[_0x237fac(0x32a)][_0x237fac(0x3f7)](_0x2c6081))['body'];if(_0xbe664[_0x237fac(0x1e9)]&&_0xbe664[_0x237fac(0x1e9)][_0x237fac(0x176)]===Si['OK']){const _0x5f18d0=new URL(_0xbe664[_0x237fac(0x12c)],this[_0x237fac(0x192)]())[_0x237fac(0x1bb)]();return Promise[_0x237fac(0x354)](_0x5f18d0);}return Promise[_0x237fac(0x270)](_0xbe664[_0x237fac(0x1e9)]);}catch(_0x1cd11e){return Promise[_0x237fac(0x270)](_0x1cd11e);}}async[_0x21fa21(0x1ba)](_0x314c44){var _0x420ab9=_0x21fa21;let _0x208f46='';if(!ir[_0x420ab9(0x27a)](_0x314c44['type']))return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e[_0x420ab9(0x28c)]));if(_0x314c44[_0x420ab9(0x24e)]>nr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2b686e[_0x420ab9(0x429)]));try{const _0x3a254b=new FormData();_0x3a254b['append']('file',_0x314c44);const _0x261d97=this[_0x420ab9(0x282)]['getFocusedUnit'](),_0x1adec2=_0x261d97==null?void 0x0:_0x261d97[_0x420ab9(0x1df)]();if(!_0x1adec2)throw new Error('unitId\x20is\x20not\x20found');const _0x2683b4=this[_0x420ab9(0x371)]()+_0x420ab9(0x230)+_0x314c44[_0x420ab9(0x24e)][_0x420ab9(0x1bb)]()+_0x420ab9(0x1f3)+Ei['UnitEmbedded']+_0x420ab9(0x2f6)+encodeURIComponent(_0x1adec2),_0x4a6741={'body':_0x3a254b},_0x76545d=(await this[_0x420ab9(0x32a)][_0x420ab9(0x37b)](_0x2683b4,_0x4a6741))[_0x420ab9(0x3bb)];if(typeof _0x76545d['FileId']!='string')return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e[_0x420ab9(0x408)]));_0x208f46=_0x76545d['FileId'];}catch{return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e['ERROR_IMAGE']));}return new Promise((_0x11045f,_0xa97300)=>{var _0x5b78c7=_0x420ab9;const _0x200e1c=new FileReader();_0x200e1c[_0x5b78c7(0x291)](_0x314c44),_0x200e1c[_0x5b78c7(0x3f9)]=_0x3e7111=>{var _0x48497c=_0x5b78c7,_0x58137b;const _0x4d0a3a=(_0x58137b=_0x3e7111[_0x48497c(0x349)])==null?void 0x0:_0x58137b[_0x48497c(0x26a)];if(_0x4d0a3a==null){this[_0x48497c(0x1af)](),_0xa97300(new Error(_0x2b686e[_0x48497c(0x408)]));return;}const _0xdb9629=_0x4da9f1[_0x48497c(0x2eb)](0x6);_0x11045f({'imageId':_0xdb9629,'imageSourceType':_0x57bdd4[_0x48497c(0x313)],'source':_0x208f46,'base64Cache':_0x4d0a3a,'status':_0x2b686e[_0x48497c(0x353)]}),this[_0x48497c(0x1af)]();};});}[_0x21fa21(0x371)](){var _0x2f20b7=_0x21fa21,_0x474c00,_0x480e3c;const _0x111e87=this[_0x2f20b7(0x1a6)]['getConfig'](sr),_0x207b57=this[_0x2f20b7(0x1a6)][_0x2f20b7(0x417)](q);return(_0x480e3c=(_0x474c00=_0x207b57==null?void 0x0:_0x207b57['uploadFileServerUrl'])!=null?_0x474c00:_0x111e87)!=null?_0x480e3c:rr;}[_0x21fa21(0x3a0)](){var _0x5ce782=_0x21fa21,_0x2adfa5,_0x7674e1;const _0x1accda=this[_0x5ce782(0x1a6)][_0x5ce782(0x417)](ar),_0x4dee1b=this[_0x5ce782(0x1a6)][_0x5ce782(0x417)](q);return(_0x7674e1=(_0x2adfa5=_0x4dee1b==null?void 0x0:_0x4dee1b[_0x5ce782(0x19d)])!=null?_0x2adfa5:_0x1accda)!=null?_0x7674e1:or;}[_0x21fa21(0x192)](){var _0x396476=_0x21fa21,_0x11c557;const _0x3cff32=this[_0x396476(0x1a6)][_0x396476(0x417)](q);return(_0x11c557=_0x3cff32==null?void 0x0:_0x3cff32[_0x396476(0x3c0)])!=null?_0x11c557:location[_0x396476(0x1c5)];}[_0x21fa21(0x2e9)](_0x4c1cec,_0x4741a0){var _0x4c74b0=_0x21fa21;return _0x4c1cec[_0x4c74b0(0x3a2)]('{fileID}',_0x4741a0);}[_0x21fa21(0x1af)](){var _0x2aa814=_0x21fa21;this['_waitCount']-=0x1,this[_0x2aa814(0x194)][_0x2aa814(0x40a)](this[_0x2aa814(0x287)]);}};Ot=tr([gt(0x0,_0x19c414(_0xf7c598)),gt(0x1,_0x51423a),gt(0x2,_0x19c414(_0x11d3ee))],Ot);var cr=Object[_0x21fa21(0x16f)],hr=(_0x19b937,_0x3a61f5,_0x13d871,_0x6479b6)=>{for(var _0x1416e9=_0x6479b6>0x1?void 0x0:_0x6479b6?cr(_0x3a61f5,_0x13d871):_0x3a61f5,_0x1b02e4=_0x19b937['length']-0x1,_0x9e70a6;_0x1b02e4>=0x0;_0x1b02e4--)(_0x9e70a6=_0x19b937[_0x1b02e4])&&(_0x1416e9=_0x9e70a6(_0x1416e9)||_0x1416e9);return _0x1416e9;},hi=(_0x843d2a,_0x175d3e)=>(_0x11aaf3,_0x91e909)=>_0x175d3e(_0x11aaf3,_0x91e909,_0x843d2a);const _r=_0x21fa21(0x3c9);let yt=class{constructor(_0x49d18b,_0x3a2046){var _0x5bae73=_0x21fa21;this[_0x5bae73(0x1a6)]=_0x49d18b,this[_0x5bae73(0x225)]=_0x3a2046;}[_0x21fa21(0x2da)](){var _0x4343b7=_0x21fa21,_0x293dc7,_0x3a6228;const _0x339a46=this[_0x4343b7(0x1a6)]['getConfig'](Ni),_0x57bdc6=this[_0x4343b7(0x1a6)][_0x4343b7(0x417)](q);return(_0x3a6228=(_0x293dc7=_0x57bdc6==null?void 0x0:_0x57bdc6[_0x4343b7(0x338)])!=null?_0x293dc7:_0x339a46)!=null?_0x3a6228:_r;}async[_0x21fa21(0x2a1)](_0x1122b2){var _0x2c2e3b=_0x21fa21;const _0x4667cd=this[_0x2c2e3b(0x2da)]()+_0x2c2e3b(0x22d);return{'list':[{'title':'People','mentions':(await this[_0x2c2e3b(0x225)][_0x2c2e3b(0x3f7)](_0x4667cd,{'params':{'objectID':_0x1122b2[_0x2c2e3b(0x2e6)],'unitID':_0x1122b2['unitId']}}))[_0x2c2e3b(0x3bb)][_0x2c2e3b(0x154)][_0x2c2e3b(0x20e)](_0x319b4b=>({'objectId':_0x319b4b['id'],'name':_0x319b4b['subject'][_0x2c2e3b(0x3ad)],'metadata':{'icon':_0x319b4b[_0x2c2e3b(0x379)][_0x2c2e3b(0x1b1)]},'label':_0x319b4b[_0x2c2e3b(0x379)][_0x2c2e3b(0x3ad)],'objectType':_0x34a700['PERSON']})),'metadata':{},'type':_0x34a700[_0x2c2e3b(0x216)]}]};}};yt=hr([hi(0x0,_0x19c414(_0x51423a)),hi(0x1,_0x19c414(_0xf7c598))],yt);var lr=Object[_0x21fa21(0x16f)],ur=(_0x5c90f9,_0x3c5add,_0x160e86,_0x2304d2)=>{for(var _0x550465=_0x2304d2>0x1?void 0x0:_0x2304d2?lr(_0x3c5add,_0x160e86):_0x3c5add,_0x4ba58d=_0x5c90f9['length']-0x1,_0x4718c3;_0x4ba58d>=0x0;_0x4ba58d--)(_0x4718c3=_0x5c90f9[_0x4ba58d])&&(_0x550465=_0x4718c3(_0x550465)||_0x550465);return _0x550465;},we=(_0x525753,_0x51a3fb)=>(_0x18a0cc,_0x4ba77a)=>_0x51a3fb(_0x18a0cc,_0x4ba77a,_0x525753);let ot=class extends _0x37cb10{constructor(_0x31b150,_0x35fb2e,_0x53bdc9,_0x4c7221,_0x304feb){var _0x5ee5ec=_0x21fa21;super(),this[_0x5ee5ec(0x1f8)]=_0x31b150,this[_0x5ee5ec(0x282)]=_0x35fb2e,this[_0x5ee5ec(0x275)]=_0x53bdc9,this['_collaborationSessionService']=_0x4c7221,this[_0x5ee5ec(0x41a)]=_0x304feb,this[_0x5ee5ec(0x1ff)](),this['_initCloseConn']();}[_0x21fa21(0x3ea)](){var _0x28a2a7=_0x21fa21;const _0x320d95=async _0x3b1bb8=>{var _0x4fdd83=_0x4934;(await this[_0x4fdd83(0x135)][_0x4fdd83(0x3ac)](_0x3b1bb8))[_0x4fdd83(0x143)]['pipe'](_0x439f72(_0xb652a1=>_0xb652a1['eventID']===_0xea38b9[_0x4fdd83(0x20a)]),_0x35f491(this[_0x4fdd83(0x186)]))['subscribe'](_0x3a04fe=>{var _0x7ce3a4=_0x4fdd83;const _0x246d36=_0x3a04fe,{reason:_0x1edaa9}=_0x246d36[_0x7ce3a4(0x1de)];this['_collaborationUIEventService'][_0x7ce3a4(0x374)]({'id':re[_0x7ce3a4(0x188)],'data':_0x1edaa9}),this[_0x7ce3a4(0x275)][_0x7ce3a4(0x40f)](new _0x3477ec(_0x3b1bb8)['id'],!0x1),this[_0x7ce3a4(0x135)]['closeSession'](_0x3b1bb8);});};_0x3b99f9(this['_univerInstanceService'][_0x28a2a7(0x3a6)](_0x57bf09[_0x28a2a7(0x19a)]),this['_univerInstanceService'][_0x28a2a7(0x3a6)](_0x57bf09[_0x28a2a7(0x240)]))[_0x28a2a7(0x1be)](_0x7fca1a(_0x1b4bc4=>_0x1b4bc4['getUnitId']()),_0x439f72(_0x2fd0de=>!_0x173af8(_0x2fd0de)),_0x35f491(this[_0x28a2a7(0x186)]))['subscribe'](_0x1f04ca=>{_0x320d95(_0x1f04ca);});}['_initUnitPermissionChange'](){var _0x5001a2=_0x21fa21;const _0x5d023f=async _0xad9cfb=>{var _0x102994=_0x4934;const _0x541367=await this['_collaborationSessionService'][_0x102994(0x3ac)](_0xad9cfb),_0x1694d3=this[_0x102994(0x1f8)][_0x102994(0x3f7)](_0x280abf);_0x541367['event$'][_0x102994(0x1be)](_0x439f72(_0x3b93b0=>_0x3b93b0[_0x102994(0x180)]===_0xea38b9[_0x102994(0x13a)]),_0x35f491(this['dispose$']))[_0x102994(0x223)](_0x297c55=>{var _0x5b6f04=_0x102994;const _0x282c6e=_0x297c55,{objectId:_0x4262e8}=_0x282c6e[_0x5b6f04(0x1de)];_0x4262e8===_0xad9cfb?_0x1694d3[_0x5b6f04(0x12d)](_0xad9cfb):_0x1694d3['refreshPermission'](_0xad9cfb,_0x4262e8);});};_0x3b99f9(this[_0x5001a2(0x282)]['getTypeOfUnitAdded$'](_0x57bf09[_0x5001a2(0x19a)]))[_0x5001a2(0x1be)](_0x7fca1a(_0x1cbf96=>_0x1cbf96[_0x5001a2(0x1df)]()),_0x439f72(_0x5d2054=>!_0x173af8(_0x5d2054)),_0x35f491(this['dispose$']))[_0x5001a2(0x223)](_0x48b958=>{_0x5d023f(_0x48b958);});}};ot=ur([we(0x0,_0x19c414(_0x50fda6)),we(0x1,_0x11d3ee),we(0x2,_0x19d05d),we(0x3,_0x19c414(Me)),we(0x4,_0x19c414(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0xe6b874,_0x4c77a8,_0x57cc35,_0x109afc)=>{var _0x16e155=_0x21fa21;for(var _0x4d90c2=_0x109afc>0x1?void 0x0:_0x109afc?dr(_0x4c77a8,_0x57cc35):_0x4c77a8,_0x2de0a5=_0xe6b874[_0x16e155(0x286)]-0x1,_0x68b5fb;_0x2de0a5>=0x0;_0x2de0a5--)(_0x68b5fb=_0xe6b874[_0x2de0a5])&&(_0x4d90c2=_0x68b5fb(_0x4d90c2)||_0x4d90c2);return _0x4d90c2;},_i=(_0x5d6a8f,_0x5a454b)=>(_0x135fb9,_0xce92c9)=>_0x5a454b(_0x135fb9,_0xce92c9,_0x5d6a8f);let Nt=class{constructor(_0x18366f,_0x3ceb0a){var _0x25f1e4=_0x21fa21;this[_0x25f1e4(0x1a6)]=_0x18366f,this['_httpService']=_0x3ceb0a;}async[_0x21fa21(0x206)](_0x12502f,_0xd38eb6){var _0x507b13=_0x21fa21,_0x22acaf;const {unitID:_0x5a53da,type:_0x517f66,revision:_0x51985a=0x0}=_0xd38eb6,_0x3a9941=this[_0x507b13(0x28f)]()+'/'+_0x517f66+_0x507b13(0x239)+_0x5a53da+_0x507b13(0x3dc)+_0x51985a,_0x55db8d=(await this[_0x507b13(0x32a)]['get'](_0x3a9941))['body'],_0xd9ff33=(_0x22acaf=_0x55db8d[_0x507b13(0x1ed)])==null?void 0x0:_0x22acaf[_0x507b13(0x40d)];if(_0xd9ff33){const _0x3d9aa3=_0xd9ff33==null?void 0x0:_0xd9ff33[_0x507b13(0x16c)],_0x4c25cb=_0x1e7d49[_0x507b13(0x1b6)](_0x5acace(_0x3d9aa3));_0xd9ff33[_0x507b13(0x16c)]=_0x4c25cb,Object[_0x507b13(0x174)](_0xd9ff33[_0x507b13(0x30c)])[_0x507b13(0x189)](([,_0x5521da])=>{var _0x3ab3c7=_0x507b13;const _0x28d9da=_0x5521da[_0x3ab3c7(0x16c)],_0x2261a1=_0x1e7d49[_0x3ab3c7(0x1b6)](_0x5acace(_0x28d9da));_0x5521da[_0x3ab3c7(0x16c)]=_0x2261a1;});}return _0x55db8d;}async[_0x21fa21(0x40b)](_0x241065,_0x1cc135){var _0x2519cf=_0x21fa21;const {unitID:_0x3b3793,type:_0x4191b1,blockID:_0x4f391f}=_0x1cc135,_0x2c5849=this[_0x2519cf(0x1d4)]()+'/'+_0x4191b1+_0x2519cf(0x239)+_0x3b3793+_0x2519cf(0x347)+_0x4f391f;return(await this[_0x2519cf(0x32a)][_0x2519cf(0x3f7)](_0x2c5849))[_0x2519cf(0x3bb)];}async['getDeserializedSheetBlock'](_0x3f5d13,_0x3b1f85){var _0x11a9d5=_0x21fa21;const {unitID:_0x28eafd,type:_0x2cb18d,blockID:_0x1fde49}=_0x3b1f85,_0x49e901=this[_0x11a9d5(0x1d4)]()+_0x11a9d5(0x347)+_0x2cb18d+_0x11a9d5(0x239)+_0x28eafd+'/block/'+_0x1fde49;return(await this[_0x11a9d5(0x32a)][_0x11a9d5(0x3f7)](_0x49e901))[_0x11a9d5(0x3bb)];}async['fetchMissingChangesets'](_0x306b06,_0x4a6712){var _0x47f162=_0x21fa21;const {unitID:_0x4199d9,type:_0x18c20c,from:_0x299b2d,to:_0x40a313}=_0x4a6712,_0x4c91ee=this[_0x47f162(0x1d4)]()+'/'+_0x18c20c+_0x47f162(0x239)+_0x4199d9+_0x47f162(0x32c)+_0x299b2d+_0x47f162(0x364)+_0x40a313;return(await this[_0x47f162(0x32a)][_0x47f162(0x3f7)](_0x4c91ee))[_0x47f162(0x3bb)];}[_0x21fa21(0x28f)](){var _0x370715=_0x21fa21,_0x442874;return(_0x442874=this[_0x370715(0x1a6)][_0x370715(0x417)](Sn))!=null?_0x442874:this['_getAPIPrefix']();}[_0x21fa21(0x1d4)](){var _0x13e943=_0x21fa21,_0x1f94f7,_0x394ea8;const _0x3d3323=this[_0x13e943(0x1a6)][_0x13e943(0x417)](mn),_0x2dd76d=this[_0x13e943(0x1a6)]['getConfig'](q);return(_0x394ea8=(_0x1f94f7=_0x2dd76d==null?void 0x0:_0x2dd76d[_0x13e943(0x3d7)])!=null?_0x1f94f7:_0x3d3323)!=null?_0x394ea8:gn;}async[_0x21fa21(0x3f5)](_0x52aacb,_0x43305e){var _0x58af26=_0x21fa21;const _0xc248a2=_0x58af26(0x1b8)+_0x43305e[_0x58af26(0x231)]+_0x58af26(0x239)+_0x43305e[_0x58af26(0x1ef)]+_0x58af26(0x197);return(await this[_0x58af26(0x32a)]['get'](_0xc248a2,{'params':{'resourceId':JSON[_0x58af26(0x306)](_0x43305e['resourceIDs'])}}))['body'];}[_0x21fa21(0x3da)](){var _0x406a51=_0x21fa21;throw new Error(_0x406a51(0x409));}['saveSheetBlock'](){var _0x37ac37=_0x21fa21;throw new Error(_0x37ac37(0x409));}[_0x21fa21(0x38e)](){var _0x2f4f84=_0x21fa21;throw new Error(_0x2f4f84(0x409));}[_0x21fa21(0x170)](){var _0x5c4294=_0x21fa21;throw new Error(_0x5c4294(0x409));}[_0x21fa21(0x304)](){var _0xef5b9d=_0x21fa21;throw new Error(_0xef5b9d(0x409));}};Nt=fr([_i(0x0,_0x51423a),_i(0x1,_0x19c414(_0xf7c598))],Nt);var vr=Object[_0x21fa21(0x16f)],pr=(_0x48770b,_0x526f2e,_0x5cf91b,_0x157dfc)=>{var _0x1ac5ce=_0x21fa21;for(var _0x5a6a6d=_0x157dfc>0x1?void 0x0:_0x157dfc?vr(_0x526f2e,_0x5cf91b):_0x526f2e,_0x2a231e=_0x48770b[_0x1ac5ce(0x286)]-0x1,_0x30dadf;_0x2a231e>=0x0;_0x2a231e--)(_0x30dadf=_0x48770b[_0x2a231e])&&(_0x5a6a6d=_0x30dadf(_0x5a6a6d)||_0x5a6a6d);return _0x5a6a6d;},Pe=(_0xe0bcad,_0x401874)=>(_0xea5af7,_0x2d6590)=>_0x401874(_0xea5af7,_0x2d6590,_0xe0bcad);function _0x4a51(){var _0x30b720=['JOIN_ROOM_FULL','&to=','charAt','_clearRedo','_transformSelections','Base64','_clearRetryConnectingTimer','LIVESHARE_TERMINATE','APPLY_PERMISSION_DENIED','$super','_transformRemoteChangesetByIMECache','_changesetSessionId','_onRemoteRetry','find','_getUploadFileURL','blockSize','_doCryptBlock','emitEvent','WordArray','localeService','call','_substituteRedoStack','subject','HELLO','post','isArray','decrypt','repeat','addHandlerCallback','enc','allowed','bind','getCurrentSelections','responseType','mixIn','sessionStatus$','keySize','objects','onTransformIME','_tryReconnect','rev','_shouldReportTelemetry','getCollabEntity$','saveChangeset','_startCollaboration','/universer-api/uniscript','catch','/universer-api/stream/file/upload','compose','_entities','equals','stopTime','encrypt','_createHelper','_members$','_onOffline','getTypeOfUnitDisposed$','_getRedoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_emitMembers','_status$','_getSignURL','_singleActiveUnitService','replace','unpad','_exhaustRemoteChangesetQueue','EMAIL_HAS_BEEN_BOUND','getTypeOfUnitAdded$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_incrementRevisionNumber','_onFetchMissResult','Utf8','SHA1','requireSession','name','Decryptor','LIVESHARE_NEW_HOST','_snapshotService','INVALID_INVITE_CODE','image/png','YUUMI_ALL_TABLES_IS_INVALID','exports','UNKNOWN_CMD','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','session.room-permission-denied','SNAPSHOT_HAS_BEEN_REMOVED','_listenToNetworkCondition','onCommandExecuted','body','transformSelections','getCollabEntity','finalize','listRoles','downloadEndpointUrl','set','_prevBlock','CBC','_updateState','pad','USERS_LEAVE','function','_onMessage','/universer-api/authz','[CollaborationSessionService]','_nRounds','unsubscribe','symbol','cfg','_roomMembers','_telemetryService','_clearScheduledTask','save\x20fail\x20reason\x20is\x20','_state','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_queuedRemoteChangesets','sin','snapshotServerUrl','onCommentUpdate','_applyRemoteChangeset','saveSnapshot','/new_changes','/rev/','conflict','_joinRoom','createSocket','LICENSE_MAX_UNITS_EXCEEDED','onTransformSelections','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearHeartbeatTimer','CONFLICT','loginUrlKey','extend','formatter','_nDataBytes','LOCAL_CACHE_INTERVAL','_initCloseConn','changesets','OpenSSL','onSendChangeset','INVITE_CODE_ALREADY_BOUND','removeMember','reset','_networkConditionService','sid','4362561VahAEK','ONLINE','getResourcesRequest','NoPadding','get','algo','onload','_handlerCallback','4936604TrmkBY','Undefined','onRemoteRej','hasOwnProperty','_compressMutationService','processBlock','_unlockTransition','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendingTimer','interceptor','baseRev','pending','/allowed','ERROR_IMAGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','next','getSheetBlock','put','workbook','PERMISSION_REJ','updatePermissionPoint','charCodeAt','_sessionStatus$','_hasher','onTransformState','_onRemoteChangeset','awaiting','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getConfig','awaiting_with_pending','debug','_collaborationUIEventService','_rescheduleHeartbeat','getRandomValues','revision','reqId','_ENC_XFORM_MODE','_key','collaboration-client.config','Cipher','_candidateSocket','_keyPriorReset','[SyncedState]:\x20received\x20rejection.','updateCursorEvent','concat','_socketMessageSubscription','ERROR_EXCEED_SIZE','LIVESHARE_OPERATION','_transformIMECache','_commentUpdate$','YUUMI_NO_CUBOID_FOR_QUESTION','_resendWithTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','msCrypto','url','initWorkbookPermissionChange','readInt32LE','\x20in\x20_schedule.','kdf','_remoteChangesetQueue','_resendTimer','splice','createEncryptor','_collaborationSessionService','push','image/jpg','_iv','collaboratorID','UPDATE_PERMISSION_OBJ','/universer-api/comb','LICENSE_IMPORT_SIZE_EXCEEDED','_map','PY_RUNTIME_SCRIPT_ERROR','actions','getCurrentRevOfUnit','_userManagerService','AES','event$','_revisionService','SEND_CHANGESET_TIMEOUT','buffer','OTHER_CLIENTS_EDITING','abs','executeCommand','IDLE','roles','_createInitialState','compute','_socket$','_sendHeartbeat','PSEUDO_FETCH_MISSING_RESULT','COMPRESS_MUTATION_SEND','Hasher','_showConflictNotification','collaborators','deleteCollaborator','_socketService','_pendingMutations','infoRsp','headers','AUTHZ_URL_KEY','waitForRoom$','_onRecvEvent','appendMutation','capture','close$','PERMISSION_DENIED','cmd','_handler','collaboration_new_changeset','_localeService','_onConnectionOpen','max','YUUMI_URL_COL_OUT_OF_RANGE','Could\x20not\x20dynamically\x20require\x20\x22','_imageSourceCache','commentUpdateEvent','_onLocalMutation','originalMeta','action','override','getOwnPropertyDescriptor','copyFileMeta','CHANGESET_ACK','_initMergeInterceptor','_sheetTransformSelectionsService','entries','NOT_FOUND','code','liveShareNewHost','POST','_startTelemetryCollaborationNewChangeset','awaitingChangeset','_onUserLeave','onStateChange','toLowerCase','?url=','ciphertext','eventID','[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.','BufferedBlockAlgorithm','JOINING','UnitEmbedded','defineProperty','dispose$','transformChangesets','CLOSE_ROOM','forEach','onMissedChangesetFetched','connection\x20error','_config','SOCKET_FAILED','collaboration-client.local-cache-service','_toggleOnline','fetchThroughInterceptors','now','_getDownloadEndpointURL','updateMember','_change$','open$','isPermissionRej','/resources','SUBMIT_CHANGESET','c1Prime','UNIVER_SHEET','getFocusedUnit','clear','signUrlServerUrl','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','duration','onRemoteRetry','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getImage','getTime','key','YUUMI_SUBSCRIPTION_NOT_FOUND','_configService','joinRsp','_changesetReqId','_transitionLocked','then','SNAPSHOT_SERVER_URL_KEY','collabWebSocketUrl','JOIN','mutations','_decreaseWaiting','univer-pro.collaboration-client.network-condition.service','avatar','mode','selections','_members','status','encode','salt','/universer-api/snapshot/','_commentService','saveImage','toString','_getUndoStack','UnitSnapshot','pipe','_transformStack','_clearCollaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','src','LOGIN_FAILED','_event$','origin','SYNCED','_collabSessionService','_parse','onRemoteAck','getCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','join','location','_sendHeartbeatTimer','_xformMode','6403632cMZVxb','_createInitialStateImpl','unknown','send','_getAPIPrefix','session.room-full','LOGIN_URL_KEY','_socketReady','/object/','reconnect','init','padding','transformStack\x20failed!','_toggleOffline','data','getUnitId','_iKey','88473pqFqdN','APPLY_DUPLICATED','getActiveSheet','_createHmacHelper','fetch_missing','USERS_ENTER','patch','memberID','error','_registerDependencies','title','transformMutationsWithChangeset','snapshot','_snapshotServerService','unitID','x-univer-host','_append','routeKey','&source=','resend','\x0aAfter:\x20','state','_timeoutTimer','_injector','UNRECOGNIZED','create','OFFLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','deepClone','_initUnitPermissionChange','getValue','YUUMI_RATE_OVER_LIMIT','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','ALREADY_EXISTS','_redoStacks','prototype','getUnitOnRev','getRoom','clone','__Key__','SHOULD_CLOSE_CONN','[OfflineState]:\x20received\x20acknowledgement.','OPTIONAL','_data','map','createCollaborator','_fetchMissChangesets','_checkMissing','has','loadDoc','[PendingState]:\x20received\x20acknowledgement.','44hCXHAU','PERSON','roomInfos','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','NEW_CHANGESETS','_doFinalize','reduce','execute','href','_doReset','YUUMI_UNABLE_LOAD_URL','_unitInfo$','FAIL','subscribe','_getCurrentRevision','_HTTPService','HmacSHA1','USER_NOT_INVITED_CODE','string','/role','status$','sessionStatus','_type','/collaborator','_retryConnectingTimer','editing\x20status\x20changed\x20to','?size=','type','Base','_logService','WECHAT_HAS_BEEN_BOUND','HEARTBEAT','message$','CHANGESET_SHOULD_RETRY','transformUndoRedo','/unit/','getInterceptPoints','_removeRoom','COMPRESS_MUTATION_APPLY','m2Prime','BASE64','HMAC','UNIVER_DOC','BlockCipher','_localCacheService','LICENSE_DISTRO_REJECTED','format','_resendTimeout','_updateStatus','onMissingChangesets','NOT_COLLAB','loadOfflineData','_awaitingChangeset','_roomCreated$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','size','_clearUndo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMMENT_UPDATE','_memberService','UNIVER_PROJECT','not_collab','words','members','_reverseMap','_scheduleCompleteTimestamp','_initDependencies','/object','LIVESHARE_REQUEST_HOST','from','_getSendChangesetTimeout','onLocalMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setShowComponents','_onConflict','createDecryptor','floor','_unitID','_getCtorByUniverType','_createSocket','shouldCloseConn','entityInit$','byteOffset','result','_process','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','byteLength','[DataLoaderService]','_retryCount','reject','UNISCRIPT_RUN','_transformStateCache','univer-pro.collaboration-client.single-active-unit-service','liveShareOperation','_permissionService','userID','18561576CoTVUg','HttpExport','clamp','includes','socketService','onSyncEditingCollabCursor','asObservable','parse','min','enableSingleActiveInstanceLock','StreamCipher','_univerInstanceService','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_REQUIRED','22954IssFjP','length','_waitCount','_isPermissionRej','LEAVE','onRemoteChangeset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ERROR_IMAGE_TYPE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_REVISION_CONFILICT','getSnapshotAPIPath','image/gif','readAsDataURL','BlockCipherMode','setWaitCount','objectActions','_socket','\x20-\x20','dispose','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','putCollaborators','_onRemoteRejected','Failed\x20to\x20update\x20permission\x20point','onTransformRemoteChangesetByIMECache','method','delete','_executeRemoteChangeset','session','list','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_state$','_doProcessBlock','every','permissionRejEvent','_keySchedule','toggleOffline','INVALID_ARGUMENT','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteACK','UserProfileImg','lib','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','range','crypto','createInstance','FETCH_MISSING','socket\x20open.','_getLoginPath','requestParams','SNAPSHOT_URL_KEY','[UniverCollaborationClientPlugin]','INTERNAL_ERROR','sigBytes','apply','slice','readyForCollab','offline','random','_eventService','onlyLocal','unit-cache-','_init','[OfflineState]:\x20received\x20rejection.','APPLY_REVISION_CONFILICT','iterations','\x20to\x20','_createHandler','INGEST','_entityInit$','JOIN_ROOM_NOT_EXISTS','_commandService','filter','Latin1','default','setConfig','UNIVER_SLIDE','_transformService','registerHTTPInterceptor','Encryptor','ivSize','_lockTransition','change$','_collaborationTimeoutTimer','_hash','auth.needGotoLoginAlert','_getAPIPrefixPath','objectID','_submitChangeset','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toggleOnline','MD5','uniscriptRunEvent','ENSURE_SNAPSHOT_EXECUTION','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','RETRY_CONNECTING_MAX_COUNT','unitId','TOO_MANY_REQUESTS','listCollaborators','_replaceFileID','_schedule','generateRandomId','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','objectType','1727955EyKOWG','_mode','APPLY_REJECT','disposeWithMe','_collaborationPaused','_clearTimeoutTimer','[CollaborationSessionService]:\x20socket\x20error','_stopTelemetryCollaborationNewChangeset','&assign=','UPDATE_CURSOR','SOCKET_FAILED_RETRY','updatePermissionObjEvent','substr','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateLocalCache','COLLAB_SUBMIT_CHANGESET_URL','encodeURIComponent','SUBMIT_CHANGESET_TIMEOUT','ceil','params','DEFAULT_FILE_NAME','[OfflineState]:\x20received\x20changeset.','getLatestCsReqIdBySid','__creator','stringify','add','localCacheService','_onConnectionFailed','_onJoinRoomEvent','_clearLocalCache','sheets','EvpKDF','hasher','onTransformRemoteChangesetByStateCache','UNAUTHENTICATED','unitInfo$','Error\x20on\x20receiving\x20event','UUID','APPLY_NON_SEQUENTIAL_REVISION','randomUUID','submit\x20changeset\x20error!','UNDEFINED','_cipher','_oKey','updateOfflineData','_sessions','UNKNOWN_CODE','complete','MUTATION','MOBILE_HAS_BEEN_BOUND','_telemetryInfo','__esModule','[PendingState]:\x20received\x20rejection.','\x0aCurrent:\x20','OTHER_CLIENT_EDITING','LICENSE_EXPORT_SIZE_EXCEEDED','state$','_loadDoc','/-/object/-/batch_allowed','[CollaborationState]:\x20apply\x20error!','_httpService','getUnitStatus$','/fetchmissing?from=','getMember','_disableEditing','_minBufferSize','addImageSourceCache','_waitForHeartbeatResponse','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_loadSheet','SerializableCipher','fromCollab','_sender','_instanceService','authzUrl','batchAllowed','_transformUndoredo','getUnitType','textRanges','enableAuthServer','_invKeySchedule','/universer-api/oidc/authpage','LIVESHARE_FETCH_OPERATIONS','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','newCsEvent','getAllMembers','CHANGESET_REJ','GLOBAL_ROOMS_CNT_EXCEEDS','SNAPSHOT_INVALID_SNAPSHOT','/block/','getMemberID','target','_transformRemoteChangesetByStateCache','YUUMI_ASYNCIO_CANCELLED','onStarting','close','_substituteUndoStack','online$','RECV','YUUMI_AI_RUN_FAILED','[CollaborationUndoRedoService]','SUCCUSS','resolve','collabSubmitChangesetUrl','_tryEnsureSocket','session.room-not-exists','enableOfflineEditing','CipherParams','HEARTBEAT_TIMEOUT','AWAITING_WITH_PENDING','_onCombEvent','COMPLETION_FINISHED','_replayCachedMutations','update','HttpImport','COLLAB_WEB_SOCKET_URL','socket\x20close'];_0x4a51=function(){return _0x30b720;};return _0x4a51();}let Dt=class extends _0x5c1da8{constructor(_0x49ffb5,_0x53290d,_0x2d9b44,_0x3ce046,_0x343ada){super(_0x49ffb5,_0x53290d,_0x2d9b44),this['_transformService']=_0x3ce046,this['_logService']=_0x343ada;}[_0x21fa21(0x238)](_0x9a5f69,_0x5f26ef){var _0xa1cd0a=_0x21fa21;const _0x9ba9cd=this[_0xa1cd0a(0x1bc)](_0x9a5f69);if(_0x9ba9cd)try{const _0x20004c=this[_0xa1cd0a(0x1bf)](_0x9ba9cd,_0x5f26ef);this[_0xa1cd0a(0x34e)](_0x9a5f69,_0x20004c);}catch(_0x28dc61){this[_0xa1cd0a(0x233)][_0xa1cd0a(0x1e9)](_0xa1cd0a(0x352),_0x28dc61),this[_0xa1cd0a(0x24f)](_0x9a5f69);}const _0x2a6d6b=this[_0xa1cd0a(0x39c)](_0x9a5f69);if(_0x2a6d6b)try{const _0x5b2e9b=this[_0xa1cd0a(0x1bf)](_0x2a6d6b,_0x5f26ef);this[_0xa1cd0a(0x378)](_0x9a5f69,_0x5b2e9b);}catch(_0x978bdd){this[_0xa1cd0a(0x233)]['error'](_0x978bdd),this[_0xa1cd0a(0x366)](_0x9a5f69);}}[_0x21fa21(0x24f)](_0x305cf5){var _0x540c93=_0x21fa21;const _0x317f2e=this[_0x540c93(0x1bc)](_0x305cf5);_0x317f2e&&(_0x317f2e[_0x540c93(0x286)]=0x0,this['_updateStatus']());}[_0x21fa21(0x366)](_0x381563){var _0x454a4e=_0x21fa21;const _0x35f25f=this[_0x454a4e(0x39c)](_0x381563);_0x35f25f&&(_0x35f25f[_0x454a4e(0x286)]=0x0,this[_0x454a4e(0x246)]());}[_0x21fa21(0x34e)](_0x1959c7,_0x36571d){var _0x46b862=_0x21fa21;this['_undoStacks'][_0x46b862(0x3c1)](_0x1959c7,_0x36571d),this['_updateStatus']();}[_0x21fa21(0x378)](_0x3c5f35,_0x57e550){var _0x13c655=_0x21fa21;this[_0x13c655(0x204)][_0x13c655(0x3c1)](_0x3c5f35,_0x57e550),this[_0x13c655(0x246)]();}[_0x21fa21(0x1bf)](_0x558b08,_0x536a86){var _0x2bc524=_0x21fa21;const _0x7531c4=[];let _0x244266=_0x536a86,_0x4fa089=_0x536a86;for(let _0x1acd1c=_0x558b08['length']-0x1;_0x1acd1c>=0x0;_0x1acd1c--){const {unitID:_0x16489a,undoMutations:_0x569bb9,redoMutations:_0x2590c1}=_0x558b08[_0x1acd1c],_0x210c33=this[_0x2bc524(0x2d1)][_0x2bc524(0x1ec)](_0x244266,_0x569bb9),_0x1f886e=this[_0x2bc524(0x2d1)][_0x2bc524(0x1ec)](_0x4fa089,_0x2590c1);if(_0x20a6d(_0x210c33)||_0x20a6d(_0x1f886e)){this['_logService'][_0x2bc524(0x1e9)]('[CollaborationUndoRedoService]',_0x2bc524(0x1dc),_0x210c33,_0x1f886e);break;}_0x244266=_0x210c33['c1Prime'],_0x4fa089=_0x1f886e['c1Prime'],_0x7531c4[_0x2bc524(0x136)]({'unitID':_0x16489a,'undoMutations':_0x210c33[_0x2bc524(0x23d)],'redoMutations':_0x1f886e[_0x2bc524(0x23d)]});}return _0x7531c4['reverse']();}};Dt=pr([Pe(0x0,_0x11d3ee),Pe(0x1,_0x1ce977),Pe(0x2,_0x3ee25d),Pe(0x3,_0x5ef856),Pe(0x4,_0x459fda)],Dt);var mr=Object[_0x21fa21(0x185)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x29057e,_0x4e8ea5,_0x5f0b75)=>_0x4e8ea5 in _0x29057e?mr(_0x29057e,_0x4e8ea5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f0b75}):_0x29057e[_0x4e8ea5]=_0x5f0b75,Er=(_0x5b0bd1,_0x801a9b,_0x513e31,_0x235bcf)=>{var _0x20b0f0=_0x21fa21;for(var _0x1762a5=_0x235bcf>0x1?void 0x0:_0x235bcf?gr(_0x801a9b,_0x513e31):_0x801a9b,_0x5eb016=_0x5b0bd1[_0x20b0f0(0x286)]-0x1,_0x55ecd9;_0x5eb016>=0x0;_0x5eb016--)(_0x55ecd9=_0x5b0bd1[_0x5eb016])&&(_0x1762a5=_0x55ecd9(_0x1762a5)||_0x1762a5);return _0x1762a5;},St=(_0x4b30b0,_0x4893a1)=>(_0x43cf8c,_0x195e80)=>_0x4893a1(_0x43cf8c,_0x195e80,_0x4b30b0),Ir=(_0xf1bdff,_0x50c072,_0x5be14d)=>Sr(_0xf1bdff,_0x50c072+'',_0x5be14d);const Tr=_0x21fa21(0x402);let Ut=class extends _0x5c5ff6{constructor(_0x31d669,_0x3e7e4e,_0x444e4f,_0x3c31d3){var _0x1cc8a3=_0x21fa21;super(),N(this,_0x1cc8a3(0x18c)),(this['_logService']=_0x3e7e4e,this[_0x1cc8a3(0x1f8)]=_0x444e4f,this[_0x1cc8a3(0x1a6)]=_0x3c31d3);const {..._0x52134d}=_0x4d2b25({},wn,_0x31d669);if(!_0x52134d[_0x1cc8a3(0x27b)])throw new Error(_0x1cc8a3(0x298));this[_0x1cc8a3(0x18c)]=_0x52134d,this[_0x1cc8a3(0x1a6)][_0x1cc8a3(0x2cf)](q,_0x52134d);}[_0x21fa21(0x34c)](){var _0x28faf1=_0x21fa21;this[_0x28faf1(0x1ea)](),this[_0x28faf1(0x259)]();}[_0x21fa21(0x1ea)](){var _0x5e24c6=_0x21fa21,_0x466d20,_0x173aec;this[_0x5e24c6(0x1f8)]['has'](_0x3319d4)&&this['_logService']['error'](_0x5e24c6(0x2b7),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x58006b=_0x2c416d([[_0x3319d4,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x5e24c6(0x27b)]}],[_0x468c9b,{'useClass':Nt}],[_0x11b08a,{'useClass':Rt}],[_0x167b34,{'useClass':Ot}],[_0x2d31ed,{'useClass':yt}],[st],[Ct]],(_0x466d20=this[_0x5e24c6(0x18c)])==null?void 0x0:_0x466d20[_0x5e24c6(0x16e)]);if(!((_0x173aec=this[_0x5e24c6(0x18c)])!=null&&_0x173aec[_0x5e24c6(0x280)])){const _0x15017b=_0x58006b['findIndex'](([_0x5c9761])=>_0x5c9761===ht);_0x15017b!==-0x1&&_0x58006b[_0x5e24c6(0x133)](_0x15017b,0x1);}_0x3efd00(this[_0x5e24c6(0x1f8)],_0x58006b);}['_initDependencies'](){var _0x23dbbe=_0x21fa21,_0x52e112,_0x2c32fd,_0x580f54;this[_0x23dbbe(0x1f8)][_0x23dbbe(0x3f7)](_0xf7c598)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x16a45f({'maxParallel':0x6})}),(_0x52e112=this[_0x23dbbe(0x18c)])!=null&&_0x52e112[_0x23dbbe(0x358)]||(_0x2c32fd=this[_0x23dbbe(0x1f8)]['get'](J,_0xc2a92d[_0x23dbbe(0x20c)]))==null||_0x2c32fd['disableLocalCache'](),(_0x580f54=this[_0x23dbbe(0x18c)])!=null&&_0x580f54[_0x23dbbe(0x33d)]&&_0x949144(this[_0x23dbbe(0x1f8)],[[rt]]),_0x949144(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x291a63(_0x26e1ba,_0x16b5d9),St(0x1,_0x459fda),St(0x2,_0x19c414(_0x50fda6)),St(0x3,_0x51423a)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
1
+ var _0x4635a5=_0x2074;(function(_0x2aebd3,_0x4af2e0){var _0x579429=_0x2074,_0x1a1e3e=_0x2aebd3();while(!![]){try{var _0x16adc9=parseInt(_0x579429(0x3df))/0x1+-parseInt(_0x579429(0x35f))/0x2+parseInt(_0x579429(0x2ec))/0x3+parseInt(_0x579429(0x317))/0x4+parseInt(_0x579429(0x2c0))/0x5*(-parseInt(_0x579429(0x419))/0x6)+-parseInt(_0x579429(0x433))/0x7*(-parseInt(_0x579429(0x4c4))/0x8)+-parseInt(_0x579429(0x347))/0x9*(-parseInt(_0x579429(0x338))/0xa);if(_0x16adc9===_0x4af2e0)break;else _0x1a1e3e['push'](_0x1a1e3e['shift']());}catch(_0x38c10d){_0x1a1e3e['push'](_0x1a1e3e['shift']());}}}(_0x5d36,0xb06c2));var wi=Object['defineProperty'],Pi=(_0x1c53fd,_0x5ce1ea,_0x3c5a61)=>_0x5ce1ea in _0x1c53fd?wi(_0x1c53fd,_0x5ce1ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c5a61}):_0x1c53fd[_0x5ce1ea]=_0x3c5a61,N=(_0x2d3390,_0x27889a,_0x4957ff)=>Pi(_0x2d3390,typeof _0x27889a!='symbol'?_0x27889a+'':_0x27889a,_0x4957ff);import{createIdentifier as _0x270b61,Inject as _0x578b85,Injector as _0x54435d,IConfigService as _0x2aefe0,ILogService as _0xc09f78,Disposable as _0x42a59b,DisposableCollection as _0x2c2501,toDisposable as _0x485b00,IUniverInstanceService as _0x23a680,UserManagerService as _0x2e94e7,UniverInstanceType as _0x132a6c,LocaleService as _0x435db6,Optional as _0x3a2b1b,RxDisposable as _0x4c46c5,Tools as _0x5454d5,Rectangle as _0x549920,ICommandService as _0x376e9b,JSONX as _0x4d21a4,CommandType as _0x283353,IUndoRedoService as _0x3a7d8c,IPermissionService as _0x511af1,sequenceExecute as _0x31c81a,Workbook as _0x1b0745,MentionType as _0x11f357,isInternalEditorID as _0x278507,LocalUndoRedoService as _0x4802da,IContextService as _0xb9e1e9,DependentOn as _0x3e9518,Plugin as _0x50dcc7,merge as _0x257cb9,mergeOverrideWithDependencies as _0x2882be,IAuthzIoService as _0x3ebca2,IMentionIOService as _0x55dc82,registerDependencies as _0x28bba2,Quantity as _0x2977ac,touchDependencies as _0x534c43}from'@univerjs/core';import{Subject as _0x16a106,merge as _0x50aefb,of as _0x2102ea,BehaviorSubject as _0x15513f,takeUntil as _0x170a8b,ReplaySubject as _0x1f0218,take as _0x52b54e,map as _0xcd375b,shareReplay as _0x2a509c,firstValueFrom as _0x35a4fd,concatMap as _0x38a69a}from'rxjs';import{map as _0xda3e25,take as _0xb57e9b,filter as _0x306860,delay as _0x1fa1df,takeUntil as _0x3d3220}from'rxjs/operators';import{CollaborationEvent as _0x520c54,ISnapshotServerService as _0x2871a0,parseChangesetToProtocol as _0x3da3e4,ITransformService as _0x786dee,isTransformMutationsWithChangesetSuccess as _0xf4b487,mapDocumentTypeToUniverType as _0x3152e1,RevisionService as _0x38f797,isTransformChangesetsSuccess as _0x83452a,CompressMutationService as _0xc46e04,parseProtocolChangeset as _0x5b3f2c,SnapshotService as _0x4330a1,textEncoder as _0xcb48b4,b64DecodeUnicode as _0x37c8fc,isTransformMutationsWithChangesetFailure as _0x75a5ff,UniverCollaborationPlugin as _0x2eebf1}from'@univerjs-pro/collaboration';import{HTTPService as _0x3004fd,ISocketService as _0x16e841,MergeInterceptorFactory as _0x215fcf,HTTPRequest as _0x22c5dc,UniverNetworkPlugin as _0x5595db,ThresholdInterceptorFactory as _0x38e386}from'@univerjs/network';import{ITelemetryService as _0x8d2ba}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x12bbdb}from'@univerjs/docs';import{SheetsSelectionsService as _0x2394ac,SetSelectionsOperation as _0x2713c1,InsertSheetMutation as _0x245369,EmptyMutation as _0x19a4a0,WorkbookEditablePermission as _0x4cf2f9,SheetPermissionInitController as _0x4c4955}from'@univerjs/sheets';import{ImageSourceType as _0x5b8711,ImageUploadStatusType as _0x12ba64,IImageIoService as _0x4fcf13}from'@univerjs/drawing';import{getGlobalObject as _0x4e979f}from'@univerjs-pro/license';const mn=_0x4635a5(0x464),gn=_0x4635a5(0x2e6),Sn=_0x4635a5(0x1f9),Lr=_0x4635a5(0x40d),En=0x7d0,In=_0x4635a5(0x397),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr=_0x4635a5(0x44f),Cn=_0x4635a5(0x4a7),Rn=0x7530,mi=_0x4635a5(0x45e),gi=0x4e20,bn=0x4e20,On=_0x4635a5(0x2f0),yn=0x3,xr=_0x4635a5(0x42a),kr=0x3e8,Nn=_0x4635a5(0x3e3),Dn=_0x4635a5(0x44e),Un=_0x4635a5(0x35c),An='/universer-api/oidc/authpage',$r=_0x4635a5(0x258),Hr=_0x4635a5(0x2be);var Si=(_0x18b5bc=>(_0x18b5bc[_0x18b5bc[_0x4635a5(0x3e1)]=0x0]=_0x4635a5(0x3e1),_0x18b5bc[_0x18b5bc['OK']=0x1]='OK',_0x18b5bc[_0x18b5bc['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x18b5bc[_0x18b5bc[_0x4635a5(0x30d)]=0x3]=_0x4635a5(0x30d),_0x18b5bc[_0x18b5bc[_0x4635a5(0x4dd)]=0x4]=_0x4635a5(0x4dd),_0x18b5bc[_0x18b5bc['UNAUTHENTICATED']=0x5]=_0x4635a5(0x4a8),_0x18b5bc[_0x18b5bc[_0x4635a5(0x292)]=0x6]=_0x4635a5(0x292),_0x18b5bc[_0x18b5bc[_0x4635a5(0x242)]=0x7]='INVALID_ARGUMENT',_0x18b5bc[_0x18b5bc[_0x4635a5(0x251)]=0x8]=_0x4635a5(0x251),_0x18b5bc[_0x18b5bc['COMPLETION_FINISHED']=0x9]=_0x4635a5(0x42b),_0x18b5bc[_0x18b5bc[_0x4635a5(0x3ac)]=0xa]=_0x4635a5(0x3ac),_0x18b5bc[_0x18b5bc[_0x4635a5(0x459)]=0x1389]=_0x4635a5(0x459),_0x18b5bc[_0x18b5bc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x18b5bc[_0x18b5bc[_0x4635a5(0x3f9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x18b5bc[_0x18b5bc[_0x4635a5(0x275)]=0x1773]=_0x4635a5(0x275),_0x18b5bc[_0x18b5bc[_0x4635a5(0x23f)]=0x1b59]=_0x4635a5(0x23f),_0x18b5bc[_0x18b5bc[_0x4635a5(0x210)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x18b5bc[_0x18b5bc['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4635a5(0x441),_0x18b5bc[_0x18b5bc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4635a5(0x331),_0x18b5bc[_0x18b5bc[_0x4635a5(0x3dd)]=0x1b5d]=_0x4635a5(0x3dd),_0x18b5bc[_0x18b5bc[_0x4635a5(0x385)]=0x1f41]=_0x4635a5(0x385),_0x18b5bc[_0x18b5bc[_0x4635a5(0x327)]=0x2329]=_0x4635a5(0x327),_0x18b5bc[_0x18b5bc[_0x4635a5(0x450)]=0x232a]=_0x4635a5(0x450),_0x18b5bc[_0x18b5bc[_0x4635a5(0x415)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x18b5bc[_0x18b5bc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4635a5(0x4d2),_0x18b5bc[_0x18b5bc[_0x4635a5(0x386)]=0x232d]=_0x4635a5(0x386),_0x18b5bc[_0x18b5bc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4635a5(0x472),_0x18b5bc[_0x18b5bc[_0x4635a5(0x43d)]=0x2712]=_0x4635a5(0x43d),_0x18b5bc[_0x18b5bc['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4635a5(0x3ef),_0x18b5bc[_0x18b5bc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x18b5bc[_0x18b5bc[_0x4635a5(0x2d0)]=0x271a]=_0x4635a5(0x2d0),_0x18b5bc[_0x18b5bc['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x18b5bc[_0x18b5bc[_0x4635a5(0x30b)]=0x271c]=_0x4635a5(0x30b),_0x18b5bc[_0x18b5bc[_0x4635a5(0x460)]=0x271d]=_0x4635a5(0x460),_0x18b5bc[_0x18b5bc['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4635a5(0x3af),_0x18b5bc[_0x18b5bc[_0x4635a5(0x423)]=0x271f]=_0x4635a5(0x423),_0x18b5bc[_0x18b5bc[_0x4635a5(0x489)]=0x2af9]=_0x4635a5(0x489),_0x18b5bc[_0x18b5bc[_0x4635a5(0x368)]=0x2ee1]=_0x4635a5(0x368),_0x18b5bc[_0x18b5bc['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x18b5bc[_0x18b5bc[_0x4635a5(0x416)]=0x2ee3]=_0x4635a5(0x416),_0x18b5bc[_0x18b5bc[_0x4635a5(0x2d1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x18b5bc[_0x18b5bc[_0x4635a5(0x48a)]=0x2ee5]=_0x4635a5(0x48a),_0x18b5bc[_0x18b5bc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4635a5(0x3cf),_0x18b5bc[_0x18b5bc[_0x4635a5(0x2cd)]=0x32ca]=_0x4635a5(0x2cd),_0x18b5bc[_0x18b5bc['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x18b5bc[_0x18b5bc['UNRECOGNIZED']=-0x1]=_0x4635a5(0x4cd),_0x18b5bc))(Si||{}),Q=(_0x38f522=>(_0x38f522[_0x38f522[_0x4635a5(0x246)]=0x0]=_0x4635a5(0x246),_0x38f522[_0x38f522[_0x4635a5(0x259)]=0x1]=_0x4635a5(0x259),_0x38f522[_0x38f522[_0x4635a5(0x430)]=0x2]=_0x4635a5(0x430),_0x38f522[_0x38f522[_0x4635a5(0x3b4)]=0x3]=_0x4635a5(0x3b4),_0x38f522[_0x38f522[_0x4635a5(0x3f6)]=0x4]=_0x4635a5(0x3f6),_0x38f522[_0x38f522[_0x4635a5(0x4cd)]=-0x1]=_0x4635a5(0x4cd),_0x38f522))(Q||{}),F=(_0x494041=>(_0x494041[_0x494041[_0x4635a5(0x4b6)]=0x0]=_0x4635a5(0x4b6),_0x494041[_0x494041[_0x4635a5(0x3fe)]=0x1]=_0x4635a5(0x3fe),_0x494041[_0x494041[_0x4635a5(0x2ad)]=0x2]=_0x4635a5(0x2ad),_0x494041[_0x494041[_0x4635a5(0x2b0)]=0x3]=_0x4635a5(0x2b0),_0x494041[_0x494041['INGEST']=0x4]=_0x4635a5(0x44b),_0x494041[_0x494041['HEARTBEAT']=0x5]=_0x4635a5(0x497),_0x494041[_0x494041[_0x4635a5(0x1e2)]=0x6]=_0x4635a5(0x1e2),_0x494041[_0x494041[_0x4635a5(0x4cd)]=-0x1]=_0x4635a5(0x4cd),_0x494041))(F||{}),ge=(_0x3f8e7e=>(_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x1e3)]=0x0]=_0x4635a5(0x1e3),_0x3f8e7e[_0x3f8e7e['OK']=0x1]='OK',_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x290)]=0x2]=_0x4635a5(0x290),_0x3f8e7e[_0x3f8e7e['JOIN_ROOM_FULL']=0x3e9]=_0x4635a5(0x3fc),_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x3c6)]=0x3ea]=_0x4635a5(0x3c6),_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x24c)]=0x3eb]=_0x4635a5(0x24c),_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x41f)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3f8e7e[_0x3f8e7e[_0x4635a5(0x4cd)]=-0x1]=_0x4635a5(0x4cd),_0x3f8e7e))(ge||{}),Ei=(_0x2bcbc3=>(_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x25c)]=0x0]=_0x4635a5(0x25c),_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x1e4)]=0x1]=_0x4635a5(0x1e4),_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x2d3)]=0x2]=_0x4635a5(0x2d3),_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x200)]=0x3]=_0x4635a5(0x200),_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x1fe)]=0x4]=_0x4635a5(0x1fe),_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x202)]=0x5]='UserProfileImg',_0x2bcbc3[_0x2bcbc3[_0x4635a5(0x4cd)]=-0x1]=_0x4635a5(0x4cd),_0x2bcbc3))(Ei||{});const q=_0x4635a5(0x2ce),wn={};var re=(_0x4a2911=>(_0x4a2911[_0x4635a5(0x326)]='OTHER_CLIENT_EDITING',_0x4a2911['PERMISSION_DENIED']=_0x4635a5(0x30d),_0x4a2911[_0x4635a5(0x4a4)]='CONFLICT',_0x4a2911[_0x4635a5(0x2a7)]=_0x4635a5(0x2a7),_0x4a2911[_0x4635a5(0x404)]='JOIN_ROOM_FAILED',_0x4a2911['SOCKET_FAILED_RETRY']=_0x4635a5(0x28e),_0x4a2911[_0x4635a5(0x334)]=_0x4635a5(0x334),_0x4a2911[_0x4635a5(0x475)]=_0x4635a5(0x475),_0x4a2911))(re||{});class pe{constructor(){var _0x3652de=_0x4635a5;N(this,_0x3652de(0x27f),new _0x16a106()),N(this,_0x3652de(0x476),this['_event$']['asObservable']());}[_0x4635a5(0x2bd)](_0x45276f){var _0x24c5a6=_0x4635a5;this['_event$'][_0x24c5a6(0x30f)](_0x45276f);}}function _0x5d36(){var _0x525fbb=['transformStack\x20failed!','synced','_localCacheService','filter','retryConnectingInterval','[OfflineState]:\x20received\x20rejection.','complete','getTime','INGEST','_incrementRevisionNumber','msCrypto','/universer-api/comb','/universer-api/user/session-ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','byteOffset','actions','_getUndoStack','body','copyFileMeta','rng','_clearUndo','transformChangesets','CHANGESET_REVISION_CONFILICT','_append','length','asObservable','_tryReconnect','HEARTBEAT_TIMEOUT','_createInitialStateImpl','YUUMI_ALL_TABLES_IS_INVALID','image/jpeg','_collaborationUIEventService','_initRequestHeader','SNAPSHOT_SERVER_URL_KEY','c1Prime','now','every','collaboration_new_changeset','subUnitId','/role','StreamCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','dispose$','_undoStacks','awaiting_with_pending','YUUMI_UNABLE_LOAD_URL','getCurrentUser','_roomMembers','SUBMIT_CHANGESET_TIMEOUT','event$','_toggleOnline','newCsEvent','_queuedRemoteChangesets','getWorkbookSelections','liveShareOperation','_pendingMutations','[CollaborationState]:\x20apply\x20error!','status$','registerHTTPInterceptor','getSheetId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createSocket','snapshotServerUrl','catch','_registerDependencies','_unitID','People','onlyLocal','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_ALREADY_BOUND','patch','originalMeta','list','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','method','reqId','sheets','online$','_onRemoteChangeset','getLatestCsReqIdBySid','_sendHeartbeat','executeCommand','HEARTBEAT','OPTIONAL','loadUnit','_retryCount','_clearRedo','saveSnapshot','format','charAt','_telemetryInfo','title','ciphertext','ERROR_EXCEED_SIZE','Hasher','CONFLICT','_doReset','objectActions','HEARTBEAT_INTERVAL','UNAUTHENTICATED','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sid','collabSubmitChangesetUrl','init','_oKey','includes','LIVESHARE_FETCH_OPERATIONS','_onRemoteACK','collaboratorID','selections','getRandomValues','_tryEnsureSocket','_key','UNKNOWN_CMD','reconnect','members$','avatar','sessionStatus','CHANGESET_ACK','BASE64','disableLocalCache','toggleOnline','CipherParams','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOINING','_substituteUndoStack','params','112664LsXgpW','onStarting','/object/','string','_invKeySchedule','salt','_config','onload','m2Prime','UNRECOGNIZED','loginUrlKey','requestParams','ceil','\x20in\x20_schedule.','LICENSE_EXPORT_SIZE_EXCEEDED','ONLINE','hasOwnProperty','Cipher','PERSON','onMissedChangesetFetched','\x20to\x20','duration','close','url','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','NOT_FOUND','concat','_onConflict','_handlerCallback','_waitForHeartbeatResponse','apply','NOT_COLLAB','loadDoc','NoPadding','/resources','values','location','function','getImage','getInterceptPoints','_onRemoteRejected','generateRandomId','RECV','UNKNOWN_CODE','HttpImport','_map','[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.','cfg','_startCollaboration','OpenSSL','hasher','_transformIMECache','uniscriptRunEvent','_acknowledgedAwaitingChangeset','_init','MUTATION','onTransformRemoteChangesetByIMECache','closeSession','_awaitingChangeset','/-/object/-/batch_allowed','interceptor','_transitionLocked','sendChangesetTimeout','initWorkbookPermissionChange','_getAPIPrefixPath','SNAPSHOT_URL_KEY','getTypeOfUnitAdded$','push','onTransformSelections','forEach','UnitSnapshot','[UniverCollaborationClientPlugin]','UnitEmbedded','_socketMessageSubscription','UserProfileImg','_unlockTransition','submit\x20changeset\x20error!','_updateStatus','saveChangeset','_getRedoStack','_prevBlock','bind','putCollaborators','AES','_onJoinRoomEvent','startTime','AWAITING_WITH_PENDING','[CollaborationEntity]','APPLY_NON_SEQUENTIAL_REVISION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socketService','min','PERMISSION_REJ','FETCH_MISS','_clearHeartbeatTimer','_iKey','_transformStack','unsubscribe','/fetchmissing?from=','send','__creator','_nDataBytes','_toggleOffline','_sendHeartbeatTimer','UPDATE_CURSOR','execute','[DataLoaderService]','_exhaustRemoteChangesetQueue','state','ivSize','lib','fetchThroughInterceptors','_createInitialState','_onUserLeave','splice','_transformRemoteChangesetByStateCache','shouldCloseConn','onTransformRemoteChangesetByStateCache','requireSession','_emitMembers','fetch_missing','_stopTelemetryCollaborationNewChangeset','getFocusedUnit','_onRecvEvent','_hash','IDLE','_getSendChangesetTimeout','HmacSHA1','find','getSheetBlock','/collaborator','_keySchedule','_socketService','getUnitId','roles','APPLY_REJECT','_onOffline','enableAuthServer','INVALID_ARGUMENT','resourceIDs','_substituteRedoStack','_transformRemoteChangesetByIMECache','UNIVER_UNKNOWN','change$','Pkcs7','_listenToNetworkCondition','_commandService','unit-cache-','JOIN_ROOM_PERMISSION_DENIED','unpad','pad','_ENC_XFORM_MODE','_status$','TOO_MANY_REQUESTS','onCommandExecuted','_collaborationPaused','_commentService','_shouldReportTelemetry','fromCharCode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNIVER_DOC','_instanceService','objectType','Undefined','BufferedBlockAlgorithm','call','onLocalMutation','words','_getCtorByUniverType','/universer-api/snapshot/','NEW_CHANGESETS','set','fetchMissingChangesets','formatter','_doProcessBlock','onRemoteRej','_retryConnectingTimer','addHandlerCallback','resend','_sendingTimer','_nRounds','localeService','entries','getDeserializedSheetBlock','listCollaborators','SHA1','joinEvent','_resendWithTimeout','ENSURE_SNAPSHOT_EXECUTION','_sender','stringify','_timeoutTimer','getCurrentRevOfUnit','status','responseType','_remoteChangesetQueue','_doCreateSocket','loadSheet','_event$','ERROR_IMAGE','collabWebSocketUrl','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','unitInfo$','CBC','processBlock','prototype','sessionStatus$','LIVESHARE_TERMINATE','UNIVER_COLLABORATION_CLIENT_PLUGIN','authzUrl','_getUploadFileURL','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','map','SOCKET_FAILED_RETRY','userID','FAIL','_sheetTransformSelectionsService','ALREADY_EXISTS','equals','compose','_DEC_XFORM_MODE','_createHandler','_executeRemoteChangeset','indexOf','awaiting','setShowComponents','max','randomUUID','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','LIVESHARE_REQUEST_HOST','_resendTimer','onSyncEditingCollabCursor','_throwTelemetryCollaborationNewChangeset','_removeRoom','_localeService','baseRev','CHANGESET_SHOULD_RETRY','CLOSE_ROOM','isPermissionRej','_onConnectionOpen','defineProperty','_resendTimeout','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','JOIN','add','_scheduleCompleteTimestamp','LEAVE','[CollaborationSessionService]','&assign=','readyForCollab','override','[PendingState]:\x20unhandled\x20univer\x20type:\x20','session.room-not-exists','createCollaborator','enableSingleActiveInstanceLock','image/bmp','AWAITING','_disableEditing','_data','emitEvent','/universer-api/uniscript','_loadDoc','18030ZZvXZG','extend','clear','image/png','_getSignURL','leaveEvent','roomInfos','onCommentUpdate','_schedule','createEncryptor','cmd','_imageSourceCache','NO_OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','collaboration-client.config','\x0aCurrent:\x20','YUUMI_NO_CUBOID_FOR_QUESTION','USER_NOT_INVITED_CODE','subject','HttpExport','session.room-cnt-exceeds','image/gif','_change$','_onLocalMutation','stopTime','loadOfflineData','_fetchMissChangesets','get','clamp','_keyPriorReset','csShouldRetryEvent','POST','slice','BlockCipherMode','encrypt','_transformSelections','clone','random','/universer-api/snapshot','_initCloseConn','pending','_handler','_userManagerService','_roomCreated$','159369yxEZOx','result','_xformMode','/universer-api/stream/file/upload','RETRY_CONNECTING_MAX_COUNT','/block/','_process','univer-pro.collaboration-client-socket-service','_isPermissionRej','mode','_updateState','delete','onTransformState','Malformed\x20UTF-8\x20data','incrementRevOfUnit','_getLoginPath','subscribe','_HTTPService','getOwnPropertyDescriptor','updateOfflineData','Base64','/universer-api/authz','_transformStateCache','editingUnit','_joinRoom','toString','getSnapshotAPIPath','_startTelemetryCollaborationNewChangeset','Decryptor','_socketReady','_telemetryService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRoom','PERMISSION_DENIED','fetching\x20missing\x20changesets\x20from\x20','next','/unit/','keySize','reduce','_revisionService','onSendChangeset','textRanges','onRemoteRetry','1976824pYunHn','_members','_injector','revision','?size=','changesets','?url=','Hex','HMAC','_mode','AUTHZ_URL_KEY','joinRsp','_initMergeInterceptor','_getCurrentRevision','updateCursorEvent','OTHER_CLIENT_EDITING','LICENSE_MAX_UNITS_EXCEEDED','deepClone','_updateLocalCache','_httpService','_waitCount','commentUpdate$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_members$','findIndex','session','APPLY_PERMISSION_DENIED','_onFetchMissResult','getValue','SOCKET_FAILED','save\x20fail\x20reason\x20is\x20','Error\x20on\x20receiving\x20event','UPDATE_PERMISSION_OBJ','8557190EAcWeV','action','_eventService','charCodeAt','snapshot','_socket','SYNCED','_onUserJoin','_transformService','allowed','Utf8','socket\x20close','signUrlServerUrl','decrypt','onRemoteChangeset','9MSBioj','crypto','_getDownloadEndpointURL','mixIn','UNISCRIPT_RUN','_snapshotService','withCredentials','href','__Key__','liveShareNewHost','put','create','[PendingState]:\x20received\x20acknowledgement.','WordArray','BlockCipher','_candidateSocket','uploadFileServerUrl','_checkMissing','Failed\x20to\x20update\x20permission\x20point','onTransformIME','_loadSheet','LOGIN_URL_KEY','default','readInt32LE','1146158GNHGjG','_logService','onRemoteAck','Base','_initUnitPermissionChange','has','MD5','_reverseMap','removeMember','INVITE_CODE_HAS_BEEN_UES','/allowed','_permissionService','memberID','name','awaitingChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','toggleOffline','_doFinalize','_entityInit$','_collabSessionService','_clearRetryConnectingTimer','substr','range','getConfig','waitForRoom$','onMissingChangesets','abs','debug','algo','mutations','sigBytes','_createHmacHelper','getCurrentSelections','_commentUpdate$','exports','_clearLocalCache','objectID','getMember','CONNECTOR_DATA_TOO_LARGE','LICENSE_DISTRO_REJECTED','type','createInstance','\x0aAfter:\x20','blockSize','_networkConditionService','[FetchMissState]','_showConflictNotification','transformMutationsWithChangeset','/object','reset','COMPRESS_MUTATION_SEND','encryptBlock','_undoRedoService','_syncEditingCollabCursor','FETCH_MISSING','unknown','COLLAB_WEB_SOCKET_URL','_clearScheduledTask','state$','origin','downloadEndpointUrl','_clearCollaborationTimeoutTimer','USERS_LEAVE','not_collab','_getAPIPrefix','_entities','createSocket','getAllMembers','target','getUnitType','then','PENDING','parse','floor','setCurrentUser','fetchMiss','headers','LOGIN_FAILED','_scheduleCollaborationTimeoutTimer','_lockTransition','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_iv','/new_changes','_changesetReqId','_rescheduleHeartbeat','UNIVER_SLIDE','_onCombEvent','data','offline','_replaceFileID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_initDependencies','{fileID}','unitID','_configService','error$','key','_univerInstanceService','SerializableCipher','routeKey','collaborators','_replayCachedMutations','readAsDataURL','JOIN_ROOM_NOT_EXISTS','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','updatePermissionPoint','confirm','appendMutation','_collaborationTimeoutTimer','post','finalize','WECHAT_HAS_BEEN_BOUND','\x20-\x20','USERS_ENTER','_cipher','encode','open$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','kdf','_applyRemoteChangeset','compute','error','localCacheService','_memberService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_DUPLICATED','univer-pro.collaboration-client.single-active-unit-service','1954GOTsMF','isArray','UNDEFINED','join','COLLAB_SUBMIT_CHANGESET_URL','_state$','PasswordBasedCipher','auth.needGotoLoginAlert','reject','_unitInfo$','_state','entityInit$','_hasher','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnit','Encryptor','YUUMI_RATE_OVER_LIMIT','MSG_FOR_ERROR','_socket$','update','session.room-permission-denied','[CollaborationSession]','transformSelections','UNIVER_PROJECT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SNAPSHOT_HAS_BEEN_REMOVED','_onConnectionFailed','_clearTimeoutTimer','JOIN_ROOM_FULL','SHOULD_CLOSE_CONN','HELLO','randomBytes','_changesetSessionId','focused$','enc','workbook','JOIN_ROOM_FAILED','SUBMIT_CHANGESET','disposeWithMe','createDecryptor','refreshPermission','rev','_submitChangeset','_collaborationSessionService','_singleActiveUnitService','SEND_CHANGESET_TIMEOUT','pipe','connection\x20error','conflict','_doCryptBlock','_sessions','_minBufferSize','unitId\x20is\x20not\x20found','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_REQUIRED','_createHelper','_decreaseWaiting','1002XCLCZh','[CollaborationUndoRedoService]','size','/universer-api/file/{fileID}/sign-url','getCollabEntity$','COMPRESS_MUTATION_APPLY','GLOBAL_ROOMS_CNT_EXCEEDS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','sin','_compressMutationService','YUUMI_AI_RUN_FAILED','from','socket\x20open.','_type','reverse','padding','updateMember','LOCAL_CACHE_INTERVAL','COMPLETION_FINISHED','dispose','LIVESHARE_NEW_HOST','transformUndoRedo','OFFLINE','UNIVER_SHEET','x-univer-host','unitId','245GvSDPq','c2Prime','toLowerCase','code','collaMsg','_onMessage','getMemberID','getImageSourceCache','EvpKDF','eventID','YUUMI_URL_COL_OUT_OF_RANGE','_sessionStatus$','[PendingState]:\x20received\x20rejection.','_onRemoteRetry','APPLY_REVISION_CONFILICT','FileId'];_0x5d36=function(){return _0x525fbb;};return _0x5d36();}const Pn=_0x270b61('univer-pro.collaboration-client.network-condition.service');function Ln(_0x4fb14b){var _0x3665c5=_0x4635a5,_0x5048e2,_0x5ccb4b,_0x43002c,_0x572f63,_0x2cad57;const _0x17fac2=_0x4fb14b[_0x3665c5(0x3b6)],_0x2e9109=JSON['parse'](_0x17fac2);switch(_0x2e9109[_0x3665c5(0x2ca)]){case F[_0x3665c5(0x497)]:case F['HELLO']:{const _0x2d63c2=_0x2e9109['infoRsp'];return{..._0x2e9109,'data':_0x2d63c2,'cmd':_0x2e9109['cmd']};}case F['JOIN']:{const _0x36da14=_0x2e9109[_0x3665c5(0x322)];return{..._0x2e9109,'data':_0x36da14,'cmd':_0x2e9109[_0x3665c5(0x2ca)]};}case F[_0x3665c5(0x1e2)]:{const _0x3baef7=_0x2e9109[_0x3665c5(0x437)];switch(_0x3baef7[_0x3665c5(0x43c)]){case _0x520c54[_0x3665c5(0x214)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':(_0x5048e2=_0x3baef7['permissionRejEvent'])==null?void 0x0:_0x5048e2['cs']},'cmd':_0x2e9109['cmd']};case _0x520c54['CHANGESET_ACK']:return{..._0x2e9109,'data':{..._0x3baef7,'data':(_0x5ccb4b=_0x3baef7['csAckEvent'])==null?void 0x0:_0x5ccb4b['cs']},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x263)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':(_0x43002c=_0x3baef7[_0x3665c5(0x478)])==null?void 0x0:_0x43002c['cs']},'cmd':_0x2e9109['cmd']};case _0x520c54[_0x3665c5(0x46d)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':(_0x572f63=_0x3baef7['csRejEvent'])==null?void 0x0:_0x572f63['cs']},'cmd':_0x2e9109['cmd']};case _0x520c54[_0x3665c5(0x2a6)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':(_0x2cad57=_0x3baef7[_0x3665c5(0x2de)])==null?void 0x0:_0x2cad57['cs']},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x220)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x325)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54['USERS_ENTER']:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x273)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x39d)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x2c5)]},'cmd':_0x2e9109['cmd']};case _0x520c54[_0x3665c5(0x42d)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x350)]},'cmd':_0x2e9109['cmd']};case _0x520c54['LIVESHARE_FETCH_OPERATIONS']:case _0x520c54['LIVESHARE_OPERATION']:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x47b)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54['LIVESHARE_TERMINATE']:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x350)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x3f0)]:return{..._0x2e9109,'data':_0x3baef7,'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54['COMMENT_UPDATE']:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7['commentUpdateEvent']},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54['UPDATE_PERMISSION_OBJ']:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7['updatePermissionObjEvent']},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x3fd)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x22c)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};case _0x520c54[_0x3665c5(0x34b)]:return{..._0x2e9109,'data':{..._0x3baef7,'data':_0x3baef7[_0x3665c5(0x1ec)]},'cmd':_0x2e9109[_0x3665c5(0x2ca)]};default:return _0x2e9109;}}default:return _0x2e9109;}}function Mn(_0x1d758c){var _0x5ef1d6=_0x4635a5;switch(_0x1d758c[_0x5ef1d6(0x2ca)]){case F['HEARTBEAT']:case F[_0x5ef1d6(0x3fe)]:return JSON['stringify']({'cmd':_0x1d758c[_0x5ef1d6(0x2ca)],'routeKey':_0x1d758c[_0x5ef1d6(0x3c2)]});case F[_0x5ef1d6(0x44b)]:{let _0x196958;switch(_0x1d758c['data'][_0x5ef1d6(0x43c)]){case _0x520c54[_0x5ef1d6(0x220)]:{_0x196958={'eventID':_0x520c54['UPDATE_CURSOR'],'updateCursorEvent':_0x1d758c[_0x5ef1d6(0x3b6)][_0x5ef1d6(0x3b6)]};break;}case _0x520c54[_0x5ef1d6(0x39d)]:{_0x196958={'eventID':_0x520c54[_0x5ef1d6(0x39d)],'leaveEvent':_0x1d758c[_0x5ef1d6(0x3b6)]['data']};break;}case _0x520c54[_0x5ef1d6(0x3d1)]:{_0x196958={'eventID':_0x520c54['USERS_ENTER'],'joinEvent':_0x1d758c[_0x5ef1d6(0x3b6)]['data']};break;}case _0x520c54[_0x5ef1d6(0x42d)]:{_0x196958={'eventID':_0x520c54[_0x5ef1d6(0x42d)],'liveShareNewHost':_0x1d758c['data'][_0x5ef1d6(0x3b6)]};break;}case _0x520c54['LIVESHARE_OPERATION']:{_0x196958={'eventID':_0x520c54['LIVESHARE_OPERATION'],'liveShareOperation':_0x1d758c[_0x5ef1d6(0x3b6)][_0x5ef1d6(0x3b6)]};break;}case _0x520c54[_0x5ef1d6(0x288)]:{_0x196958={'eventID':_0x520c54[_0x5ef1d6(0x288)],'liveShareTerminate':_0x1d758c['data'][_0x5ef1d6(0x3b6)]};break;}case _0x520c54[_0x5ef1d6(0x29f)]:{_0x196958={'eventID':_0x520c54[_0x5ef1d6(0x29f)],'liveShareRequestHost':_0x1d758c['data']['data']};break;}case _0x520c54[_0x5ef1d6(0x4af)]:{_0x196958={'eventID':_0x520c54[_0x5ef1d6(0x4af)]};break;}default:_0x196958={'eventID':_0x1d758c[_0x5ef1d6(0x3b6)][_0x5ef1d6(0x43c)]};}return JSON[_0x5ef1d6(0x277)]({'cmd':_0x1d758c[_0x5ef1d6(0x2ca)],'routeKey':_0x1d758c['routeKey'],'collaMsg':_0x196958});}case F['JOIN']:return JSON[_0x5ef1d6(0x277)]({'cmd':_0x1d758c[_0x5ef1d6(0x2ca)],'routeKey':_0x1d758c[_0x5ef1d6(0x3c2)],'joinReq':_0x1d758c[_0x5ef1d6(0x3b6)]});case F[_0x5ef1d6(0x2b0)]:return JSON[_0x5ef1d6(0x277)]({'cmd':_0x1d758c[_0x5ef1d6(0x2ca)],'routeKey':_0x1d758c[_0x5ef1d6(0x3c2)],'leaveReq':_0x1d758c[_0x5ef1d6(0x3b6)]});default:throw new Error(_0x5ef1d6(0x420));}}var xn=Object['getOwnPropertyDescriptor'],kn=(_0x23d67,_0x5561b8,_0x218bba,_0x55ae72)=>{var _0x53109d=_0x4635a5;for(var _0x41c611=_0x55ae72>0x1?void 0x0:_0x55ae72?xn(_0x5561b8,_0x218bba):_0x5561b8,_0x4a3257=_0x23d67[_0x53109d(0x45b)]-0x1,_0x50ca12;_0x4a3257>=0x0;_0x4a3257--)(_0x50ca12=_0x23d67[_0x4a3257])&&(_0x41c611=_0x50ca12(_0x41c611)||_0x41c611);return _0x41c611;},Ae=(_0x51b5c1,_0xfb5fa0)=>(_0x34514e,_0x183396)=>_0xfb5fa0(_0x34514e,_0x183396,_0x51b5c1);const Ii=_0x270b61(_0x4635a5(0x2f3));function $n(_0x15c5f8,_0x7c1799,_0x39f59c){var _0x5b098e=_0x4635a5;return _0x15c5f8+'/'+_0x7c1799+_0x5b098e(0x310)+_0x39f59c+_0x5b098e(0x3b1);}let Gt=class extends _0x42a59b{constructor(_0xe8fe1b,_0x259598,_0x2c343b,_0xebcc6d,_0x6c7ed7){var _0x48f9ea=_0x4635a5;super(),this[_0x48f9ea(0x319)]=_0xe8fe1b,this['_httpService']=_0x259598,this[_0x48f9ea(0x3bd)]=_0x2c343b,this[_0x48f9ea(0x360)]=_0xebcc6d,this['_snapshotServerService']=_0x6c7ed7;}[_0x4635a5(0x27d)](_0x110874){var _0x3e3a55=_0x4635a5;const _0x46a25d=this[_0x3e3a55(0x319)][_0x3e3a55(0x2db)](_0x16e841);if(!_0x46a25d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2c2a1f=_0x46a25d[_0x3e3a55(0x3a1)](_0x110874);if(!_0x2c2a1f)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x18405a=new _0x2c2501(),_0x140f68=new _0x16a106();_0x18405a[_0x3e3a55(0x2ae)](_0x2c2a1f['close$']['subscribe'](_0xcff921=>_0x140f68[_0x3e3a55(0x30f)](_0xcff921))),_0x18405a['add'](_0x485b00(()=>_0x140f68[_0x3e3a55(0x449)]()));const _0x3f0451=new _0x16a106();_0x18405a[_0x3e3a55(0x2ae)](_0x2c2a1f[_0x3e3a55(0x3be)][_0x3e3a55(0x2fc)](_0x5c45b5=>_0x3f0451[_0x3e3a55(0x30f)](_0x5c45b5))),_0x18405a[_0x3e3a55(0x2ae)](_0x485b00(()=>_0x3f0451[_0x3e3a55(0x449)]()));const _0x312c26=new _0x16a106();_0x18405a[_0x3e3a55(0x2ae)](_0x2c2a1f['message$'][_0x3e3a55(0x2fc)](_0x16e319=>{const _0x2f3592=Ln(_0x16e319);_0x312c26['next'](_0x2f3592);})),_0x18405a[_0x3e3a55(0x2ae)](_0x485b00(()=>_0x312c26['complete']()));let _0x1e2b66;const _0x209f8a=()=>{var _0x5c262f=_0x3e3a55;_0x3f0451[_0x5c262f(0x30f)](new Event(_0x5c262f(0x40f))),_0x140f68['next'](new Event(_0x5c262f(0x40f))),_0x1e2b66['close']();};return _0x1e2b66={'memberID':'','close$':_0x140f68[_0x3e3a55(0x45c)](),'error$':_0x3f0451[_0x3e3a55(0x45c)](),'open$':_0x2c2a1f[_0x3e3a55(0x3d4)],'message$':_0x312c26[_0x3e3a55(0x45c)](),'send':_0x954ccf=>{var _0x5462a3=_0x3e3a55;if(_0x954ccf[_0x5462a3(0x2ca)]===F[_0x5462a3(0x44b)]){if(_0x954ccf[_0x5462a3(0x3b6)][_0x5462a3(0x43c)]===_0x520c54[_0x5462a3(0x405)]){this[_0x5462a3(0x40a)](_0x1e2b66,_0x954ccf['data'])[_0x5462a3(0x484)](_0x156170=>{var _0x32e953=_0x5462a3;this[_0x32e953(0x360)][_0x32e953(0x3d9)](_0x156170),_0x209f8a();});return;}if(_0x954ccf[_0x5462a3(0x3b6)]['eventID']===_0x520c54[_0x5462a3(0x395)]){const _0x265d9a=_0x954ccf[_0x5462a3(0x3b6)];this[_0x5462a3(0x2da)](_0x265d9a)[_0x5462a3(0x3a5)](_0x34dd59=>{var _0x271b42=_0x5462a3;_0x312c26[_0x271b42(0x30f)]({'cmd':F[_0x271b42(0x1e2)],'code':ge['OK'],'routeKey':_0x265d9a[_0x271b42(0x3b6)]['unitID'],'routeType':'','data':{'eventID':_0x520c54['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x34dd59}}});})['catch'](_0x21329e=>{var _0x441d9f=_0x5462a3;this[_0x441d9f(0x360)][_0x441d9f(0x3d9)](_0x21329e),_0x209f8a();});return;}}_0x2c2a1f[_0x5462a3(0x21b)](Mn(_0x954ccf));},'close':()=>{var _0x51d49c=_0x3e3a55;_0x2c2a1f[_0x51d49c(0x4da)](),_0x18405a[_0x51d49c(0x42c)]();}},_0x1e2b66;}async['_submitChangeset'](_0x33c1f5,_0x48a54b){var _0x550a4b=_0x4635a5,_0x373b28,_0x2df374;const {unitType:_0x4a5da2,unitID:_0x3cf619,changeset:_0xffe2f9}=_0x48a54b[_0x550a4b(0x3b6)],_0x30a6a0={'unitID':_0x3cf619,'memberID':_0x33c1f5['memberID'],'type':_0x4a5da2,'changeset':_0x3da3e4(_0xffe2f9)},_0x1b5890=this['_configService'][_0x550a4b(0x376)](Nn),_0x2304aa=this[_0x550a4b(0x3bd)][_0x550a4b(0x376)](q),_0x1d519c=$n((_0x2df374=(_0x373b28=_0x2304aa==null?void 0x0:_0x2304aa[_0x550a4b(0x4ab)])!=null?_0x373b28:_0x1b5890)!=null?_0x2df374:Dn,_0x4a5da2,_0x3cf619);try{await this[_0x550a4b(0x32a)][_0x550a4b(0x3cd)](_0x1d519c,{'body':_0x30a6a0});}catch(_0x109247){throw this[_0x550a4b(0x360)]['error'](_0x550a4b(0x3f4),_0x550a4b(0x204)),_0x109247;}}async[_0x4635a5(0x2da)](_0xe63a17){var _0x48c3b4=_0x4635a5;const {unitID:_0x1a29ef,from:_0x32863c,to:_0x28e987,unitType:_0x3a5cd3}=_0xe63a17[_0x48c3b4(0x3b6)];return(await this['_snapshotServerService'][_0x48c3b4(0x265)]({'metadata':void 0x0},{'unitID':_0x1a29ef,'type':_0x3a5cd3,'from':_0x32863c,'to':_0x28e987}))[_0x48c3b4(0x31c)];}};Gt=kn([Ae(0x0,_0x578b85(_0x54435d)),Ae(0x1,_0x578b85(_0x3004fd)),Ae(0x2,_0x2aefe0),Ae(0x3,_0xc09f78),Ae(0x4,_0x2871a0)],Gt);const Hn=_0x4635a5(0x468);function Bn(_0x2cbb2b){var _0x23b154=_0x4635a5;return JSON[_0x23b154(0x277)](_0x2cbb2b)[_0x23b154(0x45b)];}class Ti{constructor(){var _0x360944=_0x4635a5;N(this,'_commentUpdate$',new _0x16a106()),N(this,_0x360944(0x32c),this[_0x360944(0x380)][_0x360944(0x45c)]());}[_0x4635a5(0x2c7)](_0x51387b){var _0x4feb40=_0x4635a5;this[_0x4feb40(0x380)][_0x4feb40(0x30f)](_0x51387b);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x138d3c,_0x459c83,_0x1dccf0,_0x3a3bb9)=>{for(var _0x2930e4=_0x3a3bb9>0x1?void 0x0:_0x3a3bb9?jn(_0x459c83,_0x1dccf0):_0x459c83,_0x2d421c=_0x138d3c['length']-0x1,_0x3e8db1;_0x2d421c>=0x0;_0x2d421c--)(_0x3e8db1=_0x138d3c[_0x2d421c])&&(_0x2930e4=_0x3e8db1(_0x2930e4)||_0x2930e4);return _0x2930e4;},Wt=(_0x53b78a,_0x43dea3)=>(_0x320a46,_0x21abe1)=>_0x43dea3(_0x320a46,_0x21abe1,_0x53b78a);let Le=class extends _0x42a59b{constructor(_0xb57120,_0x5db60a){var _0x405a1e=_0x4635a5;super(),N(this,'_roomMembers',new Map()),N(this,_0x405a1e(0x2eb),new _0x16a106()),(this['_univerInstanceService']=_0xb57120,this[_0x405a1e(0x2ea)]=_0x5db60a,this[_0x405a1e(0x406)](_0x50aefb(this[_0x405a1e(0x3c0)][_0x405a1e(0x29d)](_0x132a6c[_0x405a1e(0x430)])[_0x405a1e(0x40e)](_0xda3e25(_0x249b41=>_0x249b41[_0x405a1e(0x23d)]())),this['_univerInstanceService'][_0x405a1e(0x29d)](_0x132a6c[_0x405a1e(0x259)])[_0x405a1e(0x40e)](_0xda3e25(_0x5c0189=>_0x5c0189[_0x405a1e(0x23d)]())),this[_0x405a1e(0x3c0)][_0x405a1e(0x29d)](_0x132a6c[_0x405a1e(0x3b4)])[_0x405a1e(0x40e)](_0xda3e25(_0x3e7a9a=>_0x3e7a9a[_0x405a1e(0x23d)]())))[_0x405a1e(0x2fc)](_0x17d230=>this[_0x405a1e(0x2a3)](_0x17d230))));}[_0x4635a5(0x377)](_0x1d639c){var _0x387eae=_0x4635a5;return this[_0x387eae(0x474)]['has'](_0x1d639c)?_0x2102ea(this['_roomMembers'][_0x387eae(0x2db)](_0x1d639c)):this[_0x387eae(0x2eb)]['pipe'](_0xda3e25(_0x46211e=>{var _0x5be717=_0x387eae;if(_0x46211e===_0x1d639c)return this[_0x5be717(0x474)][_0x5be717(0x2db)](_0x46211e);}));}['setCurrentUser'](_0x2bc401){var _0x544590=_0x4635a5;this[_0x544590(0x2ea)][_0x544590(0x3a9)](_0x2bc401);}[_0x4635a5(0x473)](){var _0x8413c4=_0x4635a5;return this['_userManagerService'][_0x8413c4(0x473)]();}[_0x4635a5(0x429)](_0x44aab5,_0x177a6b){var _0xd5ecc=_0x4635a5;let _0xb28b19=this['_roomMembers']['get'](_0x44aab5);_0xb28b19||(_0xb28b19=new Vn(),this[_0xd5ecc(0x474)][_0xd5ecc(0x264)](_0x44aab5,_0xb28b19),this[_0xd5ecc(0x2eb)][_0xd5ecc(0x30f)](_0x44aab5)),_0xb28b19[_0xd5ecc(0x429)](_0x177a6b);}[_0x4635a5(0x367)](_0x2c4dab,_0x583422){var _0x47ac4b=_0x4635a5;const _0x2fa981=this['_roomMembers'][_0x47ac4b(0x2db)](_0x2c4dab);_0x2fa981&&_0x2fa981[_0x47ac4b(0x367)](_0x583422);}[_0x4635a5(0x30c)](_0x99c128){var _0x3c8287=_0x4635a5;return this[_0x3c8287(0x474)]['get'](_0x99c128);}[_0x4635a5(0x384)](_0x3ff6ac,_0x111965){var _0x5dd2a6=_0x4635a5;const _0x5105c6=this[_0x5dd2a6(0x474)][_0x5dd2a6(0x2db)](_0x3ff6ac);if(_0x5105c6)return _0x5105c6['getMember'](_0x111965);}[_0x4635a5(0x2a3)](_0xbb608d){var _0x2b538b=_0x4635a5;const _0x427622=this[_0x2b538b(0x474)][_0x2b538b(0x2db)](_0xbb608d);_0x427622&&(_0x427622[_0x2b538b(0x42c)](),this[_0x2b538b(0x474)]['delete'](_0xbb608d));}[_0x4635a5(0x42c)](){var _0x326663=_0x4635a5;this['_roomMembers'][_0x326663(0x1fd)](_0x5ba758=>_0x5ba758['dispose']()),this[_0x326663(0x474)][_0x326663(0x2c2)](),this[_0x326663(0x2eb)][_0x326663(0x449)]();}};Le=Fn([Wt(0x0,_0x23a680),Wt(0x1,_0x578b85(_0x2e94e7))],Le);class Vn extends _0x42a59b{constructor(){var _0x349c46=_0x4635a5;super(...arguments),N(this,_0x349c46(0x318),new Map()),N(this,'_members$',new _0x15513f(this[_0x349c46(0x318)])),N(this,_0x349c46(0x4b8),this[_0x349c46(0x32e)][_0x349c46(0x45c)]());}[_0x4635a5(0x42c)](){var _0x467276=_0x4635a5;this[_0x467276(0x318)]['clear']();}[_0x4635a5(0x429)](_0x3acb26){var _0x261a5d=_0x4635a5;this[_0x261a5d(0x318)][_0x261a5d(0x264)](_0x3acb26[_0x261a5d(0x36b)],_0x3acb26),this[_0x261a5d(0x22f)]();}[_0x4635a5(0x367)](_0x23eb98){var _0x5e41a2=_0x4635a5;this['_members'][_0x5e41a2(0x2f7)](_0x23eb98);}[_0x4635a5(0x384)](_0x5633b1){var _0x778223=_0x4635a5;return this['_members'][_0x778223(0x2db)](_0x5633b1);}[_0x4635a5(0x3a2)](){var _0x2096da=_0x4635a5;return Array[_0x2096da(0x424)](this[_0x2096da(0x318)][_0x2096da(0x1db)]());}[_0x4635a5(0x22f)](){var _0x40e6ab=_0x4635a5;this[_0x40e6ab(0x32e)][_0x40e6ab(0x30f)](this[_0x40e6ab(0x318)]);}}var Gn=Object[_0x4635a5(0x2fe)],Wn=(_0x44795b,_0x30197f,_0x273520,_0x7f93ca)=>{for(var _0x2ed7e3=_0x7f93ca>0x1?void 0x0:_0x7f93ca?Gn(_0x30197f,_0x273520):_0x30197f,_0x4c953d=_0x44795b['length']-0x1,_0x21db6c;_0x4c953d>=0x0;_0x4c953d--)(_0x21db6c=_0x44795b[_0x4c953d])&&(_0x2ed7e3=_0x21db6c(_0x2ed7e3)||_0x2ed7e3);return _0x2ed7e3;},me=(_0x43ce64,_0xa6a1b9)=>(_0x513dc8,_0x48255c)=>_0xa6a1b9(_0x513dc8,_0x48255c,_0x43ce64),Ee=(_0x5caa86=>(_0x5caa86[_0x5caa86[_0x4635a5(0x235)]=0x0]=_0x4635a5(0x235),_0x5caa86[_0x5caa86[_0x4635a5(0x4c1)]=0x1]='JOINING',_0x5caa86[_0x5caa86[_0x4635a5(0x42f)]=0x2]=_0x4635a5(0x42f),_0x5caa86[_0x5caa86['ONLINE']=0x3]=_0x4635a5(0x4d3),_0x5caa86))(Ee||{});const Yt={[ge[_0x4635a5(0x290)]]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x4635a5(0x3c6)]]:_0x4635a5(0x2b6),[ge[_0x4635a5(0x24c)]]:_0x4635a5(0x3f3),[ge[_0x4635a5(0x41f)]]:_0x4635a5(0x2d4)};let Et=class extends _0x4c46c5{constructor(_0x690d6d,_0x10d1dc,_0x52309a,_0x38f452,_0x50e3d0,_0x35c419,_0x3c6ab6,_0x4b5425,_0x15c45f){var _0x145032=_0x4635a5;super(),N(this,_0x145032(0x43e),new _0x15513f(0x0)),N(this,_0x145032(0x287),this[_0x145032(0x43e)][_0x145032(0x45c)]()),N(this,_0x145032(0x27f),new _0x16a106()),N(this,_0x145032(0x476),this[_0x145032(0x27f)]['asObservable']()),N(this,_0x145032(0x33d)),N(this,_0x145032(0x201)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x145032(0x49f),null),(this[_0x145032(0x486)]=_0x690d6d,this[_0x145032(0x360)]=_0x52309a,this['_configService']=_0x38f452,this[_0x145032(0x2a4)]=_0x50e3d0,this[_0x145032(0x3db)]=_0x35c419,this['_commentService']=_0x3c6ab6,this[_0x145032(0x462)]=_0x4b5425,this[_0x145032(0x30a)]=_0x15c45f,this[_0x145032(0x255)]=!!this[_0x145032(0x30a)],_0x10d1dc[_0x145032(0x40e)](_0x170a8b(this[_0x145032(0x46f)]))[_0x145032(0x2fc)](_0x3dbbb9=>{var _0x4eb305=_0x145032,_0x229be8;typeof _0x3dbbb9>'u'||(this[_0x4eb305(0x33d)]=_0x3dbbb9,_0x3dbbb9?(this[_0x4eb305(0x304)](_0x3dbbb9),this[_0x4eb305(0x201)]=_0x3dbbb9['message$']['subscribe'](_0x7b7e2c=>{var _0x13e1f9=_0x4eb305;_0x7b7e2c[_0x13e1f9(0x3c2)]===this[_0x13e1f9(0x486)]&&this[_0x13e1f9(0x3b5)](_0x7b7e2c);})):(this[_0x4eb305(0x2a2)](),this[_0x4eb305(0x43e)]['next'](0x2),(_0x229be8=this[_0x4eb305(0x201)])==null||_0x229be8[_0x4eb305(0x219)](),this[_0x4eb305(0x201)]=null));}));}get[_0x4635a5(0x4ba)](){return this['_sessionStatus$']['getValue']();}[_0x4635a5(0x439)](){var _0x163111=_0x4635a5,_0x36f8d8,_0x408faa;return(_0x408faa=(_0x36f8d8=this[_0x163111(0x33d)])==null?void 0x0:_0x36f8d8[_0x163111(0x36b)])!=null?_0x408faa:null;}[_0x4635a5(0x42c)](){var _0x21fd76=_0x4635a5;super['dispose'](),this[_0x21fd76(0x46f)]['next'](),this[_0x21fd76(0x46f)]['complete']();}[_0x4635a5(0x4da)](){var _0x22f0e0=_0x4635a5,_0x4b5778,_0x15a1af;this[_0x22f0e0(0x2a2)](),(_0x4b5778=this['_socket'])==null||_0x4b5778[_0x22f0e0(0x21b)]({'cmd':F[_0x22f0e0(0x2b0)],'data':{'roomID':this[_0x22f0e0(0x486)]}}),(_0x15a1af=this[_0x22f0e0(0x33d)])==null||_0x15a1af['close'](),this['_event$'][_0x22f0e0(0x449)](),this[_0x22f0e0(0x43e)][_0x22f0e0(0x449)](),this[_0x22f0e0(0x42c)]();}[_0x4635a5(0x3b5)](_0x17f631){var _0xbac062=_0x4635a5;_0x17f631[_0xbac062(0x2ca)]===F[_0xbac062(0x2ad)]?this[_0xbac062(0x20c)](_0x17f631):_0x17f631['cmd']===F[_0xbac062(0x1e2)]&&this[_0xbac062(0x233)](_0x17f631);}[_0x4635a5(0x304)](_0x11be57){var _0x1e95fa=_0x4635a5;this[_0x1e95fa(0x43e)]['next'](0x1),_0x11be57[_0x1e95fa(0x21b)]({'cmd':F[_0x1e95fa(0x2ad)],'routeKey':this[_0x1e95fa(0x486)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e95fa(0x486)]}]}});}[_0x4635a5(0x20c)](_0x483f36){var _0x1d2b89=_0x4635a5,_0x2a0985;if(_0x483f36[_0x1d2b89(0x436)]in Yt){this['_collaborationUIEventService'][_0x1d2b89(0x2bd)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x483f36[_0x1d2b89(0x436)]]}),this[_0x1d2b89(0x43e)][_0x1d2b89(0x30f)](0x2);return;}this[_0x1d2b89(0x43e)]['next'](0x3);const _0x42ec37=(_0x2a0985=_0x483f36[_0x1d2b89(0x3b6)][_0x1d2b89(0x2c6)][this[_0x1d2b89(0x486)]])==null?void 0x0:_0x2a0985['members'];_0x42ec37&&_0x42ec37['forEach'](_0x418a63=>this['_memberService']['updateMember'](this['_unitID'],_0x418a63));}[_0x4635a5(0x233)](_0x258588){var _0x3f4740=_0x4635a5;try{const _0x3ae654=_0x258588['data'];switch(_0x3ae654[_0x3f4740(0x43c)]){case _0x520c54[_0x3f4740(0x3d1)]:this[_0x3f4740(0x33f)](_0x3ae654),this[_0x3f4740(0x27f)][_0x3f4740(0x30f)](_0x3ae654);break;case _0x520c54[_0x3f4740(0x39d)]:this['_onUserLeave'](_0x3ae654),this['_event$'][_0x3f4740(0x30f)](_0x3ae654);break;case _0x520c54['CHANGESET_ACK']:case _0x520c54[_0x3f4740(0x2a6)]:this[_0x3f4740(0x231)](),this['_clearCollaborationTimeoutTimer'](),this[_0x3f4740(0x27f)]['next'](_0x3ae654);break;case _0x520c54[_0x3f4740(0x3f0)]:this[_0x3f4740(0x360)][_0x3f4740(0x3d9)](_0x3f4740(0x335)+JSON[_0x3f4740(0x277)](_0x3ae654)),this[_0x3f4740(0x27f)][_0x3f4740(0x30f)](_0x3ae654);break;case _0x520c54['COMMENT_UPDATE']:this[_0x3f4740(0x254)][_0x3f4740(0x2c7)](_0x3ae654[_0x3f4740(0x3b6)]),this[_0x3f4740(0x27f)][_0x3f4740(0x30f)](_0x3ae654);break;default:this[_0x3f4740(0x27f)][_0x3f4740(0x30f)](_0x3ae654);}}catch(_0x3ccf23){this[_0x3f4740(0x360)][_0x3f4740(0x3d9)](_0x3ccf23,_0x258588);}}[_0x4635a5(0x33f)](_0x203d5a){var _0x59ae89=_0x4635a5;this[_0x59ae89(0x3db)][_0x59ae89(0x429)](this['_unitID'],_0x203d5a[_0x59ae89(0x3b6)]);}[_0x4635a5(0x229)](_0x3eda8b){var _0x1c5e65=_0x4635a5;this['_memberService'][_0x1c5e65(0x367)](this[_0x1c5e65(0x486)],_0x3eda8b[_0x1c5e65(0x3b6)][_0x1c5e65(0x36b)]);}async[_0x4635a5(0x21b)](_0x394c98,_0x4ca5c5){var _0x5602fb=_0x4635a5;if(this[_0x5602fb(0x4ba)]!==0x3||!this[_0x5602fb(0x33d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x394c98[_0x5602fb(0x43c)]===_0x520c54['SUBMIT_CHANGESET']&&(this[_0x5602fb(0x3ad)](),this['_startTelemetryCollaborationNewChangeset'](_0x394c98)),this['_socket'][_0x5602fb(0x21b)]({'cmd':F['INGEST'],'routeKey':_0x4ca5c5,'routeType':'','data':_0x394c98});}catch(_0x49a744){this[_0x5602fb(0x360)][_0x5602fb(0x3d9)](_0x49a744);}}[_0x4635a5(0x3ad)](){var _0x1c9c0f=_0x4635a5,_0x223fdd;this[_0x1c9c0f(0x3cc)]=setTimeout(()=>{var _0x1dba6c=_0x1c9c0f;this['_collaborationTimeoutTimer']=null,this[_0x1dba6c(0x462)]['emitEvent']({'id':re[_0x1dba6c(0x475)]});},(_0x223fdd=this[_0x1c9c0f(0x3bd)][_0x1c9c0f(0x376)](mi))!=null?_0x223fdd:gi);}[_0x4635a5(0x39c)](){var _0x3a69bb=_0x4635a5;this[_0x3a69bb(0x3cc)]&&(clearTimeout(this[_0x3a69bb(0x3cc)]),this[_0x3a69bb(0x3cc)]=null);}[_0x4635a5(0x307)](_0x19bbbf){var _0x14b529=_0x4635a5;if(!this['_shouldReportTelemetry'])return;const {data:_0x5e46a6}=_0x19bbbf,{unitID:_0x5d64f5,changeset:_0x5f0bc7}=_0x5e46a6,{mutations:_0x2ef171,type:_0x44fd54}=_0x5f0bc7;this[_0x14b529(0x49f)]={'unitId':_0x5d64f5,'type':_0x44fd54,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x2ef171)};}[_0x4635a5(0x231)](){var _0x2ff955=_0x4635a5;if(this[_0x2ff955(0x255)]){if(!this[_0x2ff955(0x49f)]){this[_0x2ff955(0x360)][_0x2ff955(0x3d9)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2ff955(0x2d8)]=performance[_0x2ff955(0x466)](),this['_telemetryInfo'][_0x2ff955(0x4d9)]=this[_0x2ff955(0x49f)][_0x2ff955(0x2d8)]-this[_0x2ff955(0x49f)][_0x2ff955(0x20d)],this[_0x2ff955(0x30a)]['capture'](Hn,this['_telemetryInfo']),this[_0x2ff955(0x49f)]=null;}}[_0x4635a5(0x2a2)](){var _0x157cf2=_0x4635a5;this[_0x157cf2(0x49f)]=null;}};Et=Wn([me(0x2,_0xc09f78),me(0x3,_0x2aefe0),me(0x4,_0x578b85(_0x435db6)),me(0x5,_0x578b85(Le)),me(0x6,_0x578b85(Ti)),me(0x7,_0x578b85(pe)),me(0x8,_0x3a2b1b(_0x8d2ba))],Et);var Yn=Object[_0x4635a5(0x2fe)],Kn=(_0x323e47,_0x58921e,_0x5f41a8,_0x3e9b09)=>{var _0x38e5d1=_0x4635a5;for(var _0x3b03ef=_0x3e9b09>0x1?void 0x0:_0x3e9b09?Yn(_0x58921e,_0x5f41a8):_0x58921e,_0x1b0cb6=_0x323e47[_0x38e5d1(0x45b)]-0x1,_0x33fdbe;_0x1b0cb6>=0x0;_0x1b0cb6--)(_0x33fdbe=_0x323e47[_0x1b0cb6])&&(_0x3b03ef=_0x33fdbe(_0x3b03ef)||_0x3b03ef);return _0x3b03ef;},be=(_0x578680,_0x3d25a6)=>(_0x46208d,_0x5a6150)=>_0x3d25a6(_0x46208d,_0x5a6150,_0x578680);let Me=class extends _0x42a59b{constructor(_0x39c560,_0x14880b,_0x52b453,_0x29065b,_0x80e586,_0x1f618c){var _0x384248=_0x4635a5;super(),N(this,_0x384248(0x3f1),new _0x15513f(void 0x0)),N(this,'socket$',this[_0x384248(0x3f1)][_0x384248(0x45c)]()),N(this,_0x384248(0x356),null),N(this,'_sessions',new Map()),N(this,_0x384248(0x250),new _0x15513f(Ee[_0x384248(0x235)])),N(this,_0x384248(0x47e),this['_status$'][_0x384248(0x45c)]()),N(this,_0x384248(0x309),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x384248(0x49a),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x384248(0x319)]=_0x39c560,this[_0x384248(0x360)]=_0x14880b,this[_0x384248(0x3bd)]=_0x52b453,this[_0x384248(0x23c)]=_0x29065b,this[_0x384248(0x462)]=_0x80e586,this[_0x384248(0x38b)]=_0x1f618c,this[_0x384248(0x249)]());}get[_0x4635a5(0x33d)](){var _0x32f1bf=_0x4635a5;return this['_socket$'][_0x32f1bf(0x333)]();}[_0x4635a5(0x249)](){var _0x1304b6=_0x4635a5;this[_0x1304b6(0x38b)]&&this[_0x1304b6(0x406)](this['_networkConditionService'][_0x1304b6(0x492)][_0x1304b6(0x2fc)](_0x57f9d8=>{var _0x39a5a7=_0x1304b6;_0x57f9d8&&!this[_0x39a5a7(0x33d)]&&this[_0x39a5a7(0x4b7)](),_0x57f9d8||this['_onOffline']();}));}[_0x4635a5(0x42c)](){var _0x34839c=_0x4635a5;super[_0x34839c(0x42c)](),this['_clearRetryConnectingTimer'](),this[_0x34839c(0x3fb)](),this[_0x34839c(0x216)](),this[_0x34839c(0x412)]['forEach'](_0x4fee10=>_0x4fee10['dispose']()),this[_0x34839c(0x412)][_0x34839c(0x2c2)](),this[_0x34839c(0x250)][_0x34839c(0x449)]();}async[_0x4635a5(0x22e)](_0x327ee8){var _0x21221c=_0x4635a5;if(this[_0x21221c(0x412)]['has'](_0x327ee8))return this[_0x21221c(0x412)]['get'](_0x327ee8);this[_0x21221c(0x4b4)]();const _0x5cbc60=this[_0x21221c(0x319)][_0x21221c(0x388)](Et,_0x327ee8,this['_socket$'][_0x21221c(0x45c)]());return this[_0x21221c(0x412)]['set'](_0x327ee8,_0x5cbc60),_0x5cbc60;}['closeSession'](_0x129ce8){var _0x419ba0=_0x4635a5,_0x55ffea;const _0x4248e9=this[_0x419ba0(0x412)][_0x419ba0(0x2db)](_0x129ce8);_0x4248e9&&(this[_0x419ba0(0x412)][_0x419ba0(0x2f7)](_0x129ce8),_0x4248e9[_0x419ba0(0x4da)]()),this[_0x419ba0(0x412)][_0x419ba0(0x41b)]||(_0x55ffea=this[_0x419ba0(0x33d)])==null||_0x55ffea[_0x419ba0(0x4da)]();}[_0x4635a5(0x4b7)](){var _0x20e40f=_0x4635a5;this[_0x20e40f(0x49a)]=0x0,this[_0x20e40f(0x373)](),this['_tryReconnect']();}[_0x4635a5(0x373)](){var _0x339b0d=_0x4635a5;this[_0x339b0d(0x269)]!=null&&(clearTimeout(this[_0x339b0d(0x269)]),this[_0x339b0d(0x269)]=null);}async[_0x4635a5(0x482)](){var _0x208181=_0x4635a5,_0x1d0b1e,_0x2376e6;const _0x1eb7f3=this[_0x208181(0x3bd)]['getConfig'](In),_0x12d96c=this[_0x208181(0x3bd)][_0x208181(0x376)](q),_0x1af424=(_0x2376e6=(_0x1d0b1e=_0x12d96c==null?void 0x0:_0x12d96c[_0x208181(0x281)])!=null?_0x1d0b1e:_0x1eb7f3)!=null?_0x2376e6:Tn,_0x2dd2d9=await this['_socketService'][_0x208181(0x3a1)](_0x1af424);return this[_0x208181(0x356)]=_0x2dd2d9,_0x2dd2d9;}async[_0x4635a5(0x4b4)](){var _0x3646a0=_0x4635a5,_0x21a32d,_0x9a38ce;try{const _0x54b54b=(_0x9a38ce=(_0x21a32d=this[_0x3646a0(0x33d)])!=null?_0x21a32d:this[_0x3646a0(0x356)])!=null?_0x9a38ce:await this[_0x3646a0(0x482)]();if(_0x54b54b){const _0x132728=_0x54b54b[_0x3646a0(0x21b)];_0x54b54b[_0x3646a0(0x21b)]=_0x23b8f9=>(this[_0x3646a0(0x3b3)](),_0x132728[_0x3646a0(0x4e2)](_0x54b54b,[_0x23b8f9])),_0x54b54b['message$'][_0x3646a0(0x2fc)](_0x38d8ce=>this[_0x3646a0(0x438)](_0x54b54b,_0x38d8ce)),_0x54b54b[_0x3646a0(0x3be)][_0x3646a0(0x40e)](_0xb57e9b(0x1))[_0x3646a0(0x2fc)](_0x16ac3d=>this['_logService'][_0x3646a0(0x3d9)]('[CollaborationSessionService]:\x20socket\x20error',_0x16ac3d)),_0x54b54b['open$'][_0x3646a0(0x40e)](_0xb57e9b(0x1))['subscribe'](()=>{var _0x42abb8=_0x3646a0;this[_0x42abb8(0x2a9)](_0x54b54b);}),_0x54b54b['close$'][_0x3646a0(0x40e)](_0xb57e9b(0x1))[_0x3646a0(0x2fc)](_0x17c3ba=>{var _0x41dc89=_0x3646a0;this['_logService']['debug'](_0x41dc89(0x2b1),_0x41dc89(0x343),_0x17c3ba),this[_0x41dc89(0x3fa)]();});}}catch(_0x18f0e2){this['_logService'][_0x3646a0(0x3d9)](_0x18f0e2),this[_0x3646a0(0x3fa)]();}}[_0x4635a5(0x2a9)](_0x1e5863){var _0x297c52=_0x4635a5;this[_0x297c52(0x360)]['debug']('[CollaborationSessionService]',_0x297c52(0x425)),_0x1e5863['send']({'cmd':F['HELLO']}),this[_0x297c52(0x3b3)]();}[_0x4635a5(0x240)](){var _0x2fd24d=_0x4635a5;this[_0x2fd24d(0x309)]=!0x1,this[_0x2fd24d(0x356)]=null,this[_0x2fd24d(0x250)][_0x2fd24d(0x30f)](Ee[_0x2fd24d(0x42f)]),this['_socket$'][_0x2fd24d(0x30f)](null),this[_0x2fd24d(0x3fb)](),this[_0x2fd24d(0x216)]();}[_0x4635a5(0x3fa)](){var _0x5649d0=_0x4635a5,_0x214536;this[_0x5649d0(0x240)](),this[_0x5649d0(0x49a)]<((_0x214536=this[_0x5649d0(0x3bd)]['getConfig'](On))!=null?_0x214536:yn)?(this['_collaborationUIEventService'][_0x5649d0(0x2bd)]({'id':re[_0x5649d0(0x28e)]}),this['_tryReconnect']()):this[_0x5649d0(0x462)]['emitEvent']({'id':re[_0x5649d0(0x334)]});}[_0x4635a5(0x45d)](){var _0x32a17e=_0x4635a5,_0x25ba51;const _0x48e30f=this[_0x32a17e(0x49a)],_0xc8588d=this[_0x32a17e(0x3bd)][_0x32a17e(0x376)](q),_0x344bf4=_0x48e30f===0x0?0x0:((_0x25ba51=_0xc8588d==null?void 0x0:_0xc8588d[_0x32a17e(0x447)])!=null?_0x25ba51:bn)*0x2**_0x48e30f;this[_0x32a17e(0x269)]=setTimeout(()=>{var _0x1df857=_0x32a17e;clearTimeout(this[_0x1df857(0x269)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x344bf4),this['_retryCount']+=0x1;}[_0x4635a5(0x438)](_0x481d29,_0x57f7a0){var _0x368422=_0x4635a5;const {cmd:_0x4d3cd4}=_0x57f7a0;_0x4d3cd4===F['HELLO']&&!this['_socketReady']&&(_0x481d29[_0x368422(0x36b)]=_0x57f7a0[_0x368422(0x3b6)]['memberID'],this[_0x368422(0x3f1)][_0x368422(0x30f)](_0x481d29),this['_status$'][_0x368422(0x30f)](Ee['ONLINE']),this[_0x368422(0x309)]=!0x0,this[_0x368422(0x356)]=null),_0x4d3cd4===F[_0x368422(0x497)]&&this['_clearTimeoutTimer'](),this[_0x368422(0x3b3)]();}[_0x4635a5(0x3b3)](){var _0x5a837d=_0x4635a5,_0x339244;this[_0x5a837d(0x216)](),this[_0x5a837d(0x21f)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x339244=this[_0x5a837d(0x3bd)][_0x5a837d(0x376)](Cn))!=null?_0x339244:Rn);}[_0x4635a5(0x495)](){var _0x4af37f=_0x4635a5;this[_0x4af37f(0x33d)][_0x4af37f(0x21b)]({'cmd':F[_0x4af37f(0x497)]}),this[_0x4af37f(0x4e1)]();}[_0x4635a5(0x4e1)](){var _0x3344ed=_0x4635a5,_0xcfe344;this[_0x3344ed(0x278)]=setTimeout(()=>this[_0x3344ed(0x3fa)](),(_0xcfe344=this[_0x3344ed(0x3bd)]['getConfig'](mi))!=null?_0xcfe344:gi);}[_0x4635a5(0x216)](){var _0x5e9647=_0x4635a5;this[_0x5e9647(0x21f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x4635a5(0x3fb)](){var _0x1b2968=_0x4635a5;this[_0x1b2968(0x278)]!=null&&(clearTimeout(this[_0x1b2968(0x278)]),this[_0x1b2968(0x278)]=null);}};Me=Kn([be(0x0,_0x578b85(_0x54435d)),be(0x1,_0xc09f78),be(0x2,_0x2aefe0),be(0x3,Ii),be(0x4,_0x578b85(pe)),be(0x5,_0x3a2b1b(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x4635a5(0x1fb)]((t+0x100)[_0x4635a5(0x305)](0x10)[_0x4635a5(0x2e0)](0x1));function qn(_0x558251,_0x3a6678=0x0){var _0x3f1d65=_0x4635a5;return(V[_0x558251[_0x3a6678+0x0]]+V[_0x558251[_0x3a6678+0x1]]+V[_0x558251[_0x3a6678+0x2]]+V[_0x558251[_0x3a6678+0x3]]+'-'+V[_0x558251[_0x3a6678+0x4]]+V[_0x558251[_0x3a6678+0x5]]+'-'+V[_0x558251[_0x3a6678+0x6]]+V[_0x558251[_0x3a6678+0x7]]+'-'+V[_0x558251[_0x3a6678+0x8]]+V[_0x558251[_0x3a6678+0x9]]+'-'+V[_0x558251[_0x3a6678+0xa]]+V[_0x558251[_0x3a6678+0xb]]+V[_0x558251[_0x3a6678+0xc]]+V[_0x558251[_0x3a6678+0xd]]+V[_0x558251[_0x3a6678+0xe]]+V[_0x558251[_0x3a6678+0xf]])[_0x3f1d65(0x435)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x48d0a8=_0x4635a5;if(!ut){if(typeof crypto>'u'||!crypto[_0x48d0a8(0x4b3)])throw new Error(_0x48d0a8(0x4a9));ut=crypto[_0x48d0a8(0x4b3)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4635a5(0x29c)][_0x4635a5(0x209)](crypto),Kt={'randomUUID':Xn};function Zn(_0x1875ed,_0x19c83e,_0x4cabce){var _0x371ece=_0x4635a5,_0x4601fd,_0x2e59a2,_0x5a0c14;if(Kt[_0x371ece(0x29c)]&&!_0x1875ed)return Kt['randomUUID']();_0x1875ed=_0x1875ed||{};const _0x1b9ed2=(_0x5a0c14=(_0x2e59a2=_0x1875ed[_0x371ece(0x2e5)])!=null?_0x2e59a2:(_0x4601fd=_0x1875ed[_0x371ece(0x456)])==null?void 0x0:_0x4601fd[_0x371ece(0x25e)](_0x1875ed))!=null?_0x5a0c14:Jn();if(_0x1b9ed2['length']<0x10)throw new Error(_0x371ece(0x32d));return _0x1b9ed2[0x6]=_0x1b9ed2[0x6]&0xf|0x40,_0x1b9ed2[0x8]=_0x1b9ed2[0x8]&0x3f|0x80,qn(_0x1b9ed2);}const J=_0x270b61('collaboration-client.local-cache-service');function Br(_0x367d79){var _0x39ea71=_0x4635a5;return _0x39ea71(0x24b)+_0x367d79;}var Qn=Object[_0x4635a5(0x2fe)],es=(_0x2662cb,_0x439839,_0x2057b2,_0x23306c)=>{for(var _0x5b224a=_0x23306c>0x1?void 0x0:_0x23306c?Qn(_0x439839,_0x2057b2):_0x439839,_0x35455f=_0x2662cb['length']-0x1,_0x4a04da;_0x35455f>=0x0;_0x35455f--)(_0x4a04da=_0x2662cb[_0x35455f])&&(_0x5b224a=_0x4a04da(_0x5b224a)||_0x5b224a);return _0x5b224a;},dt=(_0x517125,_0x4f89d3)=>(_0x524d1c,_0x345632)=>_0x4f89d3(_0x524d1c,_0x345632,_0x517125);function ts(_0x31c51b){var _0x11e88e=_0x4635a5;const {unitID:_0x5ad9ed,mutations:_0x4d745b}=_0x31c51b;return{'unitId':_0x5ad9ed,'subUnitId':_0x4d745b[0x0][_0x11e88e(0x4c3)][_0x11e88e(0x469)]};}let it=class{constructor(_0x33f501,_0x22ca7b,_0x4baa37){var _0x4f5037=_0x4635a5;this[_0x4f5037(0x319)]=_0x33f501,this[_0x4f5037(0x340)]=_0x22ca7b,this['_instanceService']=_0x4baa37;}['transformSelections'](_0x12445b){var _0x2c3fb3=_0x4635a5,_0x3bfaac,_0x17d240,_0x500c4a,_0x13395f;const _0x1cb102=this[_0x2c3fb3(0x319)]['get'](_0x2394ac),{unitId:_0x4d1e25,subUnitId:_0x5e86ed}=ts(_0x12445b),_0x6df9eb=_0x1cb102==null?void 0x0:_0x1cb102[_0x2c3fb3(0x47a)](_0x4d1e25)[_0x2c3fb3(0x37f)](),_0x3b1509=(_0x17d240=(_0x3bfaac=this[_0x2c3fb3(0x25a)][_0x2c3fb3(0x3ed)](_0x4d1e25))==null?void 0x0:_0x3bfaac['getActiveSheet']())==null?void 0x0:_0x17d240[_0x2c3fb3(0x480)]();if(_0x6df9eb[_0x2c3fb3(0x45b)]===0x0||!_0x4d1e25||!_0x5e86ed)return;const _0x201bbe=[{'id':_0x2713c1['id'],'params':{'unitId':_0x4d1e25,'subUnitId':_0x3b1509,'selections':_0x5454d5[_0x2c3fb3(0x328)](_0x6df9eb)}}],_0x5f0f91=this[_0x2c3fb3(0x340)][_0x2c3fb3(0x38e)](_0x12445b,_0x201bbe);if(!_0xf4b487(_0x5f0f91))throw _0x5f0f91[_0x2c3fb3(0x3d9)];const _0x55eca0=(_0x13395f=(_0x500c4a=_0x5f0f91[_0x2c3fb3(0x4cc)][0x0])==null?void 0x0:_0x500c4a['params'])==null?void 0x0:_0x13395f[_0x2c3fb3(0x4b2)];if(Array[_0x2c3fb3(0x3e0)](_0x55eca0)&&_0x55eca0[_0x2c3fb3(0x45b)]){if(_0x55eca0[_0x2c3fb3(0x45b)]===_0x201bbe[0x0][_0x2c3fb3(0x4c3)][_0x2c3fb3(0x4b2)][_0x2c3fb3(0x45b)]&&_0x55eca0[_0x2c3fb3(0x467)]((_0x44a2fd,_0x5a393a)=>_0x549920[_0x2c3fb3(0x293)](_0x44a2fd[_0x2c3fb3(0x375)],_0x201bbe[0x0][_0x2c3fb3(0x4c3)][_0x2c3fb3(0x4b2)][_0x5a393a]['range'])))return;this[_0x2c3fb3(0x319)][_0x2c3fb3(0x2db)](_0x376e9b)[_0x2c3fb3(0x496)](_0x2713c1['id'],{'unitId':_0x4d1e25,'subUnitId':_0x3b1509,'selections':_0x55eca0});}}};it=es([dt(0x0,_0x578b85(_0x54435d)),dt(0x1,_0x786dee),dt(0x2,_0x23a680)],it);const ht=_0x270b61(_0x4635a5(0x3de));var Ci=(_0x36eb9c=>(_0x36eb9c[_0x36eb9c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4635a5(0x2cc),_0x36eb9c[_0x36eb9c[_0x4635a5(0x29e)]=0x1]='OTHER_CLIENTS_EDITING',_0x36eb9c))(Ci||{});const is=new Set([_0x245369['id']]);function qt(_0x39e697,_0x1f2ea8,_0x3c8daf,_0x18b928,_0x5d506a){var _0x155fcd=_0x4635a5,_0x39243f,_0xa473df,_0x3318eb,_0x214ae6;const _0x506142=[];for(const _0x3259db of _0x39e697)if(is[_0x155fcd(0x364)](_0x3259db['id'])){if(_0x506142[_0x155fcd(0x45b)]>0x0)break;_0x506142['push'](_0x3259db);break;}else _0x506142[_0x155fcd(0x1fb)](_0x3259db);const _0x1abbba=(_0xa473df=(_0x39243f=_0x5d506a[_0x155fcd(0x473)]())==null?void 0x0:_0x39243f[_0x155fcd(0x28f)])!=null?_0xa473df:_0x155fcd(0x396),_0x52ea54=(_0x214ae6=(_0x3318eb=_0x5d506a['getCurrentUser']())==null?void 0x0:_0x3318eb[_0x155fcd(0x36b)])!=null?_0x214ae6:'unknown';return{'changeset':{'unitID':_0x1f2ea8,'type':_0x3152e1(_0x3c8daf[_0x155fcd(0x3a4)](_0x1f2ea8)),'baseRev':_0x18b928[_0x155fcd(0x279)](_0x1f2ea8),'revision':0x0,'userID':_0x1abbba,'memberID':_0x52ea54,'mutations':_0x506142},'pendingMutations':_0x39e697[_0x155fcd(0x2e0)](_0x506142[_0x155fcd(0x45b)])};}function ns(_0x49a867,_0x27263f,_0x43d5c7,_0x3bc028,_0x4c4990){var _0x2e17d1=_0x4635a5,_0x518e5f,_0x3bc0db,_0x161ba3,_0x419ca3;const _0x1286d8=[_0x49a867[_0x2e17d1(0x312)]((_0x359a9d,_0x5b6f22)=>{var _0x4e3a17=_0x2e17d1,_0x46921f;const {id:_0x10ae35}=_0x359a9d,{id:_0x114267,type:_0x4c5168}=_0x5b6f22,_0x204cf3=(_0x46921f=_0x359a9d[_0x4e3a17(0x4c3)])!=null?_0x46921f:{'actions':null},_0x573e62=_0x5b6f22[_0x4e3a17(0x4c3)];if(_0x10ae35&&_0x10ae35!==_0x114267)throw new Error(_0x4e3a17(0x481)+_0x10ae35+_0x4e3a17(0x3d0)+_0x114267+'.');return{..._0x359a9d,'id':_0x114267,'type':_0x4c5168,'params':{'unitId':_0x573e62[_0x4e3a17(0x432)],'textRanges':_0x573e62[_0x4e3a17(0x315)],'actions':_0x4d21a4[_0x4e3a17(0x294)](_0x204cf3[_0x4e3a17(0x452)],_0x573e62[_0x4e3a17(0x452)])}};},{})],_0x3cf332=(_0x3bc0db=(_0x518e5f=_0x4c4990[_0x2e17d1(0x473)]())==null?void 0x0:_0x518e5f[_0x2e17d1(0x28f)])!=null?_0x3bc0db:_0x2e17d1(0x396),_0x564293=(_0x419ca3=(_0x161ba3=_0x4c4990[_0x2e17d1(0x473)]())==null?void 0x0:_0x161ba3[_0x2e17d1(0x36b)])!=null?_0x419ca3:_0x2e17d1(0x396);return{'changeset':{'unitID':_0x27263f,'type':_0x3152e1(_0x43d5c7[_0x2e17d1(0x3a4)](_0x27263f)),'baseRev':_0x3bc028['getCurrentRevOfUnit'](_0x27263f),'revision':0x0,'userID':_0x3cf332,'memberID':_0x564293,'mutations':_0x1286d8},'pendingMutations':[]};}function Ri(_0x352377,_0x45343d){var _0x124d4d=_0x4635a5;const _0x1311b8=new _0x1f0218(0x1);return setTimeout(()=>_0x1311b8[_0x124d4d(0x30f)](_0x45343d),_0x352377),_0x1311b8[_0x124d4d(0x45c)]()[_0x124d4d(0x40e)](_0x52b54e(0x1));}const ss={'id':_0x19a4a0['id'],'type':_0x283353[_0x4635a5(0x1ef)],'params':{}};function _0x2074(_0x1651ed,_0x3a8f62){var _0x5d36fc=_0x5d36();return _0x2074=function(_0x2074cf,_0x3e60ab){_0x2074cf=_0x2074cf-0x1d7;var _0x1e99ad=_0x5d36fc[_0x2074cf];return _0x1e99ad;},_0x2074(_0x1651ed,_0x3a8f62);}var rs=Object[_0x4635a5(0x2fe)],Te=(_0x4f5df7,_0x26a043,_0xa7d02a,_0x33e45d)=>{var _0x3d05bf=_0x4635a5;for(var _0xf1f2e9=_0x33e45d>0x1?void 0x0:_0x33e45d?rs(_0x26a043,_0xa7d02a):_0x26a043,_0x3fb3d5=_0x4f5df7[_0x3d05bf(0x45b)]-0x1,_0x3e78f5;_0x3fb3d5>=0x0;_0x3fb3d5--)(_0x3e78f5=_0x4f5df7[_0x3fb3d5])&&(_0xf1f2e9=_0x3e78f5(_0xf1f2e9)||_0xf1f2e9);return _0xf1f2e9;},P=(_0x3f05e6,_0x47c948)=>(_0x25b2bc,_0x4728a7)=>_0x47c948(_0x25b2bc,_0x4728a7,_0x3f05e6),bi=(_0x14baa8=>(_0x14baa8[_0x4635a5(0x1d7)]=_0x4635a5(0x39e),_0x14baa8[_0x4635a5(0x33e)]=_0x4635a5(0x444),_0x14baa8[_0x4635a5(0x3a6)]=_0x4635a5(0x2e8),_0x14baa8[_0x4635a5(0x2ba)]=_0x4635a5(0x299),_0x14baa8[_0x4635a5(0x20e)]=_0x4635a5(0x471),_0x14baa8[_0x4635a5(0x215)]=_0x4635a5(0x230),_0x14baa8[_0x4635a5(0x4a4)]=_0x4635a5(0x410),_0x14baa8['OFFLINE']=_0x4635a5(0x3b7),_0x14baa8))(bi||{});const Oi=0xea60;class Ce{constructor(_0x3ef8f9,_0x241d6b,_0x51fd21,_0x4194d7,_0xe2e0e2,_0x2dd08e,_0x2d7dad,_0x3ce55e,_0x42e60e){var _0x3f422a=_0x4635a5;N(this,_0x3f422a(0x1f2),null),N(this,_0x3f422a(0x47c),[]),(this[_0x3f422a(0x3bc)]=_0x3ef8f9,this[_0x3f422a(0x387)]=_0x241d6b,this[_0x3f422a(0x2e9)]=_0xe2e0e2,this[_0x3f422a(0x24a)]=_0x2dd08e,this['_undoRedoService']=_0x2d7dad,this[_0x3f422a(0x313)]=_0x3ce55e,this[_0x3f422a(0x445)]=_0x42e60e,this[_0x3f422a(0x1f2)]=_0x51fd21,this[_0x3f422a(0x47c)]=_0x4194d7);}[_0x4635a5(0x358)](_0x10fe4c){var _0xf90b2b=_0x4635a5;const _0x3d951d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x10fe4c[_0xf90b2b(0x31a)]>_0x3d951d+0x1?(this[_0xf90b2b(0x2e9)][_0xf90b2b(0x378)]({'from':_0x3d951d,'to':_0x10fe4c[_0xf90b2b(0x31a)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4eee53){var _0x319f6b=_0x4635a5;this[_0x319f6b(0x393)][_0x319f6b(0x42e)](this[_0x319f6b(0x3bc)],_0x4eee53);}[_0x4635a5(0x2e3)](_0x2b5e0e){var _0x33f855=_0x4635a5,_0x2ed071,_0x3c8c7e;(_0x3c8c7e=(_0x2ed071=this[_0x33f855(0x2e9)])[_0x33f855(0x1fc)])==null||_0x3c8c7e[_0x33f855(0x25e)](_0x2ed071,_0x2b5e0e);}[_0x4635a5(0x1eb)](_0x37e6e6){var _0x2e6fef=_0x4635a5,_0x14d737,_0x39bd01;return(_0x39bd01=(_0x14d737=this[_0x2e6fef(0x2e9)])['onTransformIME'])==null?void 0x0:_0x39bd01[_0x2e6fef(0x25e)](_0x14d737,_0x37e6e6);}[_0x4635a5(0x302)](_0x47187b){var _0x5cb511=_0x4635a5,_0x5bd947,_0x47d080;return(_0x47d080=(_0x5bd947=this[_0x5cb511(0x2e9)])[_0x5cb511(0x2f8)])==null?void 0x0:_0x47d080[_0x5cb511(0x25e)](_0x5bd947,_0x47187b);}[_0x4635a5(0x245)](_0x11027f){var _0x17e853=_0x4635a5,_0x383e09,_0x2caa3c,_0x2d6b38;return(_0x2d6b38=(_0x2caa3c=(_0x383e09=this[_0x17e853(0x2e9)])[_0x17e853(0x1f0)])==null?void 0x0:_0x2caa3c[_0x17e853(0x25e)](_0x383e09,_0x11027f))!=null?_0x2d6b38:_0x11027f;}[_0x4635a5(0x22b)](_0xb39ec4){var _0x21c099=_0x4635a5,_0x469ba3,_0x41701c,_0x28b4c5;return(_0x28b4c5=(_0x41701c=(_0x469ba3=this[_0x21c099(0x2e9)])[_0x21c099(0x22d)])==null?void 0x0:_0x41701c['call'](_0x469ba3,_0xb39ec4))!=null?_0x28b4c5:_0xb39ec4;}[_0x4635a5(0x394)](_0x30b220){var _0x4cf615=_0x4635a5,_0x3436ab,_0x1445f6;if(this['type']===Q[_0x4cf615(0x259)]){const {unitID:_0x4a690e,mutations:_0x5db3e0,memberID:_0x51df7c}=_0x30b220,_0x2dbf5d=_0x5db3e0[0x0][_0x4cf615(0x4c3)]['textRanges'];Array[_0x4cf615(0x3e0)](_0x2dbf5d)&&_0x2dbf5d['length']>0x0&&((_0x1445f6=(_0x3436ab=this['_handler'])[_0x4cf615(0x2a1)])==null||_0x1445f6['call'](_0x3436ab,{'unitID':_0x4a690e,'memberID':_0x51df7c,'textRanges':_0x2dbf5d}));}}[_0x4635a5(0x329)](){var _0x5b2963=_0x4635a5,_0x7064f0;(_0x7064f0=this[_0x5b2963(0x445)])==null||_0x7064f0[_0x5b2963(0x2ff)](this[_0x5b2963(0x3bc)],this['type'],this['_awaitingChangeset'],this[_0x5b2963(0x47c)]);}[_0x4635a5(0x324)](){var _0x1d3ac3=_0x4635a5;return this[_0x1d3ac3(0x313)][_0x1d3ac3(0x279)](this[_0x1d3ac3(0x3bc)]);}[_0x4635a5(0x44c)](){var _0x3ef381=_0x4635a5;this[_0x3ef381(0x313)][_0x3ef381(0x2fa)](this[_0x3ef381(0x3bc)]);}[_0x4635a5(0x297)](_0x3566ae){var _0x8485fb=_0x4635a5,_0x2966b9;let _0x16dccb=this[_0x8485fb(0x245)](_0x3566ae);_0x16dccb=this['_transformRemoteChangesetByStateCache'](_0x16dccb);const _0x91f70e=_0x31c81a(_0x16dccb['mutations'],this[_0x8485fb(0x24a)],{'fromCollab':!0x0});if(!_0x91f70e['result'])throw _0x91f70e[_0x8485fb(0x3d9)]instanceof Error?_0x91f70e[_0x8485fb(0x3d9)]:new Error((_0x2966b9=_0x91f70e[_0x8485fb(0x3d9)])!=null?_0x2966b9:_0x8485fb(0x47d));this['_transformIMECache'](_0x16dccb),this['_transformStateCache'](_0x16dccb),this['_transformUndoredo'](_0x3566ae),this['_transformSelections'](_0x16dccb),this[_0x8485fb(0x394)](_0x16dccb),this[_0x8485fb(0x44c)]();}}let Ne=class extends Ce{constructor(_0x7ce7b0,_0x3a09e1,_0x3f9027,_0x5118ee,_0x5eb30c,_0xe2032a,_0x16d37e,_0x309e27,_0x13207c,_0x135c7b){var _0x47f8f3=_0x4635a5;super(_0x7ce7b0,_0x3a09e1,null,[],_0x3f9027,_0x16d37e,_0xe2032a,_0x5118ee,_0x135c7b),N(this,_0x47f8f3(0x27a),_0x47f8f3(0x444)),(this[_0x47f8f3(0x319)]=_0x5eb30c,this[_0x47f8f3(0x360)]=_0x309e27,this[_0x47f8f3(0x340)]=_0x13207c,this[_0x47f8f3(0x3da)]=_0x135c7b);}[_0x4635a5(0x3cb)](_0xc85404){var _0x592386=_0x4635a5;const _0x4734ef=this[_0x592386(0x319)]['createInstance'](ae,this[_0x592386(0x3bc)],this[_0x592386(0x387)],[_0xc85404],this['_handler']);return _0x4734ef[_0x592386(0x2c8)](),_0x4734ef[_0x592386(0x329)](),_0x4734ef;}[_0x4635a5(0x346)](_0x4e2f27){var _0x301fa7=_0x4635a5;if(this[_0x301fa7(0x358)](_0x4e2f27))return this[_0x301fa7(0x319)][_0x301fa7(0x388)](ee,this[_0x301fa7(0x3bc)],this[_0x301fa7(0x387)],null,[],null,[_0x4e2f27],this['_handler']);try{const _0x83620a=this[_0x301fa7(0x340)][_0x301fa7(0x38e)](_0x4e2f27,[ss]);if(_0xf4b487(_0x83620a)){const {c1Prime:_0x1dce23}=_0x83620a;return this[_0x301fa7(0x297)](_0x1dce23),this;}throw _0x83620a[_0x301fa7(0x3d9)];}catch(_0x54554d){return this[_0x301fa7(0x360)][_0x301fa7(0x3d9)](_0x54554d),this[_0x301fa7(0x4df)](!0x1);}}['_onConflict'](_0x29a55e){var _0x4f17f0=_0x4635a5;return this[_0x4f17f0(0x319)][_0x4f17f0(0x388)](ue,this['unitID'],this['type'],null,[],this[_0x4f17f0(0x2e9)],_0x29a55e);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4635a5(0x268)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4635a5(0x316)](){return this;}[_0x4635a5(0x36f)](){var _0x2603c6=_0x4635a5;return this[_0x2603c6(0x319)][_0x2603c6(0x388)](de,this[_0x2603c6(0x3bc)],this[_0x2603c6(0x387)],null,[],this[_0x2603c6(0x2e9)]);}[_0x4635a5(0x4be)](){return this;}[_0x4635a5(0x26b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4635a5(0x3aa)](){var _0x356d4a=_0x4635a5;const _0x3c6e5b=this[_0x356d4a(0x313)][_0x356d4a(0x279)](this[_0x356d4a(0x3bc)]);return this[_0x356d4a(0x2e9)][_0x356d4a(0x378)]({'from':_0x3c6e5b,'to':0x0}),this[_0x356d4a(0x319)][_0x356d4a(0x388)](ee,this[_0x356d4a(0x3bc)],this[_0x356d4a(0x387)],null,[],null,[],this[_0x356d4a(0x2e9)]);}};Ne=Te([P(0x3,_0x578b85(_0x38f797)),P(0x4,_0x578b85(_0x54435d)),P(0x5,_0x3a7d8c),P(0x6,_0x376e9b),P(0x7,_0xc09f78),P(0x8,_0x786dee),P(0x9,_0x3a2b1b(J))],Ne);let ae=class extends Ce{constructor(_0x44fe2b,_0x69a4f5,_0x56179d,_0x353a42,_0x5cdc34,_0x11b6ae,_0x544b68,_0x1acdef,_0x45e9ce,_0x3ba815,_0x2a7414,_0x553dd5,_0x44bac1,_0x42cb29){var _0x852e4e=_0x4635a5;super(_0x44fe2b,_0x69a4f5,null,_0x56179d,_0x353a42,_0x45e9ce,_0x44bac1,_0x11b6ae,_0x42cb29),N(this,'status',_0x852e4e(0x2e8)),N(this,_0x852e4e(0x2af),null),N(this,_0x852e4e(0x26c),null),(this[_0x852e4e(0x319)]=_0x5cdc34,this[_0x852e4e(0x3db)]=_0x544b68,this[_0x852e4e(0x360)]=_0x1acdef,this[_0x852e4e(0x3bd)]=_0x3ba815,this[_0x852e4e(0x340)]=_0x2a7414,this[_0x852e4e(0x3c0)]=_0x553dd5);}[_0x4635a5(0x3cb)](_0x6c2eae){var _0x509b53=_0x4635a5;return this[_0x509b53(0x47c)][_0x509b53(0x1fb)](_0x6c2eae),this[_0x509b53(0x329)](),this;}[_0x4635a5(0x346)](_0x5d0891){var _0x42f0ca=_0x4635a5;if(this[_0x42f0ca(0x358)](_0x5d0891))return this[_0x42f0ca(0x398)](),this[_0x42f0ca(0x319)]['createInstance'](ee,this['unitID'],this['type'],null,this[_0x42f0ca(0x47c)],null,[_0x5d0891],this[_0x42f0ca(0x2e9)]);try{const _0x5627f8=this['_transformService'][_0x42f0ca(0x38e)](_0x5d0891,this[_0x42f0ca(0x47c)]);if(_0xf4b487(_0x5627f8)){const {c1Prime:_0x4f88af,m2Prime:_0x51204b}=_0x5627f8;this[_0x42f0ca(0x297)](_0x4f88af);const _0x596e8b=this[_0x42f0ca(0x319)][_0x42f0ca(0x388)](ae,this[_0x42f0ca(0x3bc)],this[_0x42f0ca(0x387)],_0x51204b,this['_handler']);this[_0x42f0ca(0x398)]();const _0x2b1832=new Date()['getTime'](),_0x276d6c=this[_0x42f0ca(0x2af)]?Math[_0x42f0ca(0x29b)](this['_scheduleCompleteTimestamp']-_0x2b1832,0x0):this[_0x42f0ca(0x236)]();return _0x596e8b['_schedule'](_0x276d6c),_0x596e8b;}throw _0x5627f8[_0x42f0ca(0x3d9)];}catch(_0x300467){return this[_0x42f0ca(0x360)][_0x42f0ca(0x3d9)](_0x300467),this[_0x42f0ca(0x4df)](!0x1);}}[_0x4635a5(0x361)](){var _0x55aef7=_0x4635a5;throw new Error(_0x55aef7(0x353));}[_0x4635a5(0x268)](){var _0x523366=_0x4635a5;throw new Error(_0x523366(0x43f));}[_0x4635a5(0x316)](){return this;}['toggleOffline'](){var _0x61fcb9=_0x4635a5;return this[_0x61fcb9(0x398)](),this[_0x61fcb9(0x319)][_0x61fcb9(0x388)](de,this['unitID'],this[_0x61fcb9(0x387)],null,this[_0x61fcb9(0x47c)],this['_handler']);}['toggleOnline'](){return this;}[_0x4635a5(0x2c8)](_0x1df3b8){var _0xce28d0=_0x4635a5;const _0x20be8e=_0x1df3b8!=null?_0x1df3b8:this[_0xce28d0(0x236)]();this[_0xce28d0(0x2af)]=new Date()[_0xce28d0(0x44a)]()+_0x20be8e,this['_sendingTimer']=setTimeout(()=>{var _0x2eb06f=_0xce28d0;this['_clearScheduledTask']();let _0x1af8fb=null;switch(this[_0x2eb06f(0x387)]){case Q[_0x2eb06f(0x430)]:{_0x1af8fb=qt(this[_0x2eb06f(0x47c)],this['unitID'],this[_0x2eb06f(0x3c0)],this[_0x2eb06f(0x313)],this[_0x2eb06f(0x3db)]);break;}case Q['UNIVER_DOC']:{this[_0x2eb06f(0x47c)][_0x2eb06f(0x467)](_0x408a67=>_0x408a67['id']===_0x12bbdb['id'])?_0x1af8fb=ns(this[_0x2eb06f(0x47c)],this['unitID'],this['_univerInstanceService'],this[_0x2eb06f(0x313)],this[_0x2eb06f(0x3db)]):_0x1af8fb=qt(this[_0x2eb06f(0x47c)],this[_0x2eb06f(0x3bc)],this['_univerInstanceService'],this[_0x2eb06f(0x313)],this['_memberService']);break;}default:throw new Error(_0x2eb06f(0x2b5)+this[_0x2eb06f(0x387)]+_0x2eb06f(0x4d1));}const {changeset:_0x4ffb45,pendingMutations:_0x194232}=_0x1af8fb;this[_0x2eb06f(0x2e9)][_0x2eb06f(0x314)](_0x4ffb45);const _0x593866=_0x194232[_0x2eb06f(0x45b)]?this[_0x2eb06f(0x319)][_0x2eb06f(0x388)](oe,this[_0x2eb06f(0x3bc)],this[_0x2eb06f(0x387)],_0x4ffb45,_0x194232,this[_0x2eb06f(0x2e9)],void 0x0):this[_0x2eb06f(0x319)][_0x2eb06f(0x388)](le,this[_0x2eb06f(0x3bc)],this[_0x2eb06f(0x387)],_0x4ffb45,this[_0x2eb06f(0x2e9)]);_0x593866[_0x2eb06f(0x329)](),this[_0x2eb06f(0x2e9)]['onStateChange'](this,_0x593866);},_0x20be8e);}[_0x4635a5(0x236)](){var _0x19742d=_0x4635a5,_0x35c222;const _0x3d108f=this[_0x19742d(0x3bd)][_0x19742d(0x376)](q);return(_0x35c222=_0x3d108f==null?void 0x0:_0x3d108f[_0x19742d(0x1f6)])!=null?_0x35c222:En;}['resend'](){var _0xc59b67=_0x4635a5;throw new Error(_0xc59b67(0x3f8));}[_0x4635a5(0x398)](){var _0x3d0499=_0x4635a5;this[_0x3d0499(0x26c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3d0499(0x26c)]=null);}['_onConflict'](_0x22e6c9){var _0x2b123d=_0x4635a5;return this[_0x2b123d(0x398)](),this[_0x2b123d(0x319)][_0x2b123d(0x388)](ue,this[_0x2b123d(0x3bc)],this[_0x2b123d(0x387)],null,this[_0x2b123d(0x47c)],this[_0x2b123d(0x2e9)],_0x22e6c9);}};ae=Te([P(0x4,_0x578b85(_0x54435d)),P(0x5,_0x578b85(_0x38f797)),P(0x6,_0x578b85(Le)),P(0x7,_0xc09f78),P(0x8,_0x376e9b),P(0x9,_0x2aefe0),P(0xa,_0x786dee),P(0xb,_0x23a680),P(0xc,_0x3a7d8c),P(0xd,_0x3a2b1b(J))],ae);let le=class extends Ce{constructor(_0x14d82b,_0x3b1d30,_0x2f492b,_0x12e510,_0x5b0984,_0xbb9efd,_0x45bb71,_0x21bab5,_0x1290d4,_0x3f1084,_0x1e1eb6){var _0x353f3b=_0x4635a5;super(_0x14d82b,_0x3b1d30,_0x2f492b,[],_0x12e510,_0x45bb71,_0x3f1084,_0xbb9efd,_0x1e1eb6),N(this,_0x353f3b(0x27a),_0x353f3b(0x299)),N(this,_0x353f3b(0x2ab),0x0),N(this,_0x353f3b(0x2a0)),N(this,_0x353f3b(0x276)),(this[_0x353f3b(0x319)]=_0x5b0984,this[_0x353f3b(0x360)]=_0x21bab5,this[_0x353f3b(0x340)]=_0x1290d4);}['appendMutation'](_0x4dcb7a){var _0x3757bb=_0x4635a5;this[_0x3757bb(0x398)]();const _0x50ef1a=this[_0x3757bb(0x319)][_0x3757bb(0x388)](oe,this[_0x3757bb(0x3bc)],this[_0x3757bb(0x387)],this[_0x3757bb(0x1f2)],[_0x4dcb7a],this[_0x3757bb(0x2e9)],this[_0x3757bb(0x2a0)]);return _0x50ef1a[_0x3757bb(0x329)](),_0x50ef1a;}[_0x4635a5(0x346)](_0x47afcd){var _0x30ed5c=_0x4635a5;if(this[_0x30ed5c(0x358)](_0x47afcd))return this[_0x30ed5c(0x398)](),this[_0x30ed5c(0x319)][_0x30ed5c(0x388)](ee,this[_0x30ed5c(0x3bc)],this[_0x30ed5c(0x387)],this[_0x30ed5c(0x1f2)],[],null,[_0x47afcd],this[_0x30ed5c(0x2e9)]);try{const _0x415c37=this[_0x30ed5c(0x340)][_0x30ed5c(0x458)]([_0x47afcd],[this[_0x30ed5c(0x1f2)]],!0x1);if(_0x83452a(_0x415c37)){const {c1Prime:_0x4e0218,c2Prime:_0x8cbd57}=_0x415c37;this[_0x30ed5c(0x297)](_0x4e0218[0x0]),_0x8cbd57[0x0][_0x30ed5c(0x2a5)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x2cce11=this[_0x30ed5c(0x319)][_0x30ed5c(0x388)](le,this[_0x30ed5c(0x3bc)],this[_0x30ed5c(0x387)],_0x8cbd57[0x0],this[_0x30ed5c(0x2e9)]);return _0x2cce11[_0x30ed5c(0x329)](),_0x2cce11;}return this[_0x30ed5c(0x4df)](!0x1);}catch(_0xdd9aa3){return this['_logService'][_0x30ed5c(0x3d9)](_0xdd9aa3),this['_onConflict'](!0x1);}}[_0x4635a5(0x361)](_0xddf475){var _0x521fb7=_0x4635a5;this['_clearScheduledTask']();const _0x22cd05=this[_0x521fb7(0x313)]['getCurrentRevOfUnit'](this[_0x521fb7(0x3bc)]);if(_0xddf475['revision']<_0x22cd05-0x1)return this;if(this[_0x521fb7(0x358)](_0xddf475))return this[_0x521fb7(0x319)][_0x521fb7(0x388)](ee,this[_0x521fb7(0x3bc)],this['type'],null,[],this[_0x521fb7(0x1f2)],[],this[_0x521fb7(0x2e9)]);this[_0x521fb7(0x44c)]();const _0x273196=this[_0x521fb7(0x319)]['createInstance'](Ne,this['unitID'],this[_0x521fb7(0x387)],this[_0x521fb7(0x2e9)]);return _0x273196['_updateLocalCache'](),_0x273196;}[_0x4635a5(0x268)](_0x5d22e8){var _0x3dd54a=_0x4635a5;return this[_0x3dd54a(0x4df)](!!(_0x5d22e8!=null&&_0x5d22e8[_0x3dd54a(0x2a8)]));}[_0x4635a5(0x316)](_0x14aedf){var _0x12513a=_0x4635a5;return this[_0x12513a(0x2ab)]>Oi?this[_0x12513a(0x36f)]():(this[_0x12513a(0x2a0)]=Ri(this[_0x12513a(0x2ab)],{'timeout':this[_0x12513a(0x2ab)],'reqId':_0x14aedf[_0x12513a(0x490)]}),this['_sender']=this[_0x12513a(0x2a0)][_0x12513a(0x2fc)](({reqId:_0x18fc85,timeout:_0x484352})=>{var _0x5c8dfc=_0x12513a;this[_0x5c8dfc(0x274)](_0x18fc85,_0x484352);}),this);}[_0x4635a5(0x36f)](){var _0xbfc8b1=_0x4635a5;return this['_clearScheduledTask'](),this[_0xbfc8b1(0x319)][_0xbfc8b1(0x388)](de,this[_0xbfc8b1(0x3bc)],this['type'],this[_0xbfc8b1(0x1f2)],[],this[_0xbfc8b1(0x2e9)]);}[_0x4635a5(0x4be)](){return this;}[_0x4635a5(0x26b)](){var _0xbe9022=_0x4635a5;this[_0xbe9022(0x2e9)][_0xbe9022(0x314)](this[_0xbe9022(0x1f2)]);}[_0x4635a5(0x4df)](_0x1f556e){var _0x2e0ad4=_0x4635a5;return this[_0x2e0ad4(0x398)](),this[_0x2e0ad4(0x319)][_0x2e0ad4(0x388)](ue,this[_0x2e0ad4(0x3bc)],this[_0x2e0ad4(0x387)],this[_0x2e0ad4(0x1f2)],[],this[_0x2e0ad4(0x2e9)],_0x1f556e);}[_0x4635a5(0x274)](_0x2cbef3,_0x5a9916){var _0x3ab19f=_0x4635a5,_0x4df850;_0x2cbef3===((_0x4df850=this[_0x3ab19f(0x1f2)])==null?void 0x0:_0x4df850['reqId'])&&(this['resend'](),this[_0x3ab19f(0x2ab)]=_0x5a9916===0x0?0x3e8:_0x5a9916*0x2);}[_0x4635a5(0x398)](){var _0x4ab99d=_0x4635a5,_0x2a2cca;(_0x2a2cca=this[_0x4ab99d(0x276)])==null||_0x2a2cca[_0x4ab99d(0x219)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x578b85(_0x54435d)),P(0x5,_0x578b85(_0x38f797)),P(0x6,_0x376e9b),P(0x7,_0xc09f78),P(0x8,_0x786dee),P(0x9,_0x3a7d8c),P(0xa,_0x3a2b1b(J))],le);let oe=class extends Ce{constructor(_0x1a4e6d,_0x1db322,_0x1ac991,_0xba6a22,_0xde0697,_0x48eb3d,_0xc3e6f8,_0x27685f,_0x3d4cde,_0xbc01fa,_0x4e170f,_0x114542,_0x3cbd1a){var _0x42628c=_0x4635a5;super(_0x1a4e6d,_0x1db322,_0x1ac991,_0xba6a22,_0xde0697,_0x3d4cde,_0x114542,_0x27685f,_0x3cbd1a),N(this,_0x42628c(0x27a),_0x42628c(0x471)),N(this,_0x42628c(0x2ab),0x0),N(this,_0x42628c(0x2a0)),N(this,_0x42628c(0x276)),(this[_0x42628c(0x319)]=_0xc3e6f8,this[_0x42628c(0x360)]=_0xbc01fa,this[_0x42628c(0x340)]=_0x4e170f,this['localCacheService']=_0x3cbd1a,_0x48eb3d&&(this[_0x42628c(0x2a0)]=_0x48eb3d,this['_sender']=this[_0x42628c(0x2a0)][_0x42628c(0x2fc)](({reqId:_0x46acce,timeout:_0x25daec})=>{var _0x3869e5=_0x42628c;this[_0x3869e5(0x274)](_0x46acce,_0x25daec);})));}[_0x4635a5(0x3cb)](_0x128fb6){var _0x1a73c3=_0x4635a5;return this[_0x1a73c3(0x47c)]['push'](_0x128fb6),this;}['onRemoteChangeset'](_0x291f54){var _0x4103b8=_0x4635a5;if(this[_0x4103b8(0x358)](_0x291f54))return this[_0x4103b8(0x398)](),this[_0x4103b8(0x319)][_0x4103b8(0x388)](ee,this[_0x4103b8(0x3bc)],this[_0x4103b8(0x387)],this[_0x4103b8(0x1f2)],this[_0x4103b8(0x47c)],null,[_0x291f54],this[_0x4103b8(0x2e9)]);try{const _0x40703f=this[_0x4103b8(0x340)][_0x4103b8(0x458)]([_0x291f54],[this['_awaitingChangeset']],!0x1);if(_0x83452a(_0x40703f)){const {c1Prime:_0x1f65cf,c2Prime:_0x3cb4be}=_0x40703f,_0x18f9b6=this['_transformService'][_0x4103b8(0x38e)](_0x1f65cf[0x0],this[_0x4103b8(0x47c)]);if(_0xf4b487(_0x18f9b6)){const {c1Prime:_0x1049bb,m2Prime:_0x1fdc4f}=_0x18f9b6;return this[_0x4103b8(0x297)](_0x1049bb),_0x3cb4be[0x0][_0x4103b8(0x2a5)]=this[_0x4103b8(0x324)](),this['_clearScheduledTask'](),this[_0x4103b8(0x319)][_0x4103b8(0x388)](oe,this[_0x4103b8(0x3bc)],this[_0x4103b8(0x387)],_0x3cb4be[0x0],_0x1fdc4f,this[_0x4103b8(0x2e9)],void 0x0);}throw _0x18f9b6['error'];}throw _0x40703f[_0x4103b8(0x3d9)];}catch(_0x26c5dc){return this['_logService']['error'](_0x26c5dc),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x5ea20d){var _0x2fe3ff=_0x4635a5;if(this[_0x2fe3ff(0x398)](),this[_0x2fe3ff(0x358)](_0x5ea20d))return this[_0x2fe3ff(0x319)][_0x2fe3ff(0x388)](ee,this['unitID'],this[_0x2fe3ff(0x387)],null,this[_0x2fe3ff(0x47c)],this[_0x2fe3ff(0x1f2)],[],this[_0x2fe3ff(0x2e9)]);this['_incrementRevisionNumber']();const _0x2e170c=this[_0x2fe3ff(0x319)][_0x2fe3ff(0x388)](ae,this[_0x2fe3ff(0x3bc)],this[_0x2fe3ff(0x387)],this[_0x2fe3ff(0x47c)],this['_handler']);return _0x2e170c[_0x2fe3ff(0x2c8)](),_0x2e170c[_0x2fe3ff(0x329)](),_0x2e170c;}[_0x4635a5(0x268)](_0x45dc21){var _0x917062=_0x4635a5;return this[_0x917062(0x4df)](!!(_0x45dc21!=null&&_0x45dc21[_0x917062(0x2a8)]));}[_0x4635a5(0x316)](_0x5d1f12){var _0x41b303=_0x4635a5;return this['_resendTimeout']>Oi?this[_0x41b303(0x36f)]():(this[_0x41b303(0x2a0)]=Ri(this[_0x41b303(0x2ab)],{'timeout':this[_0x41b303(0x2ab)],'reqId':_0x5d1f12[_0x41b303(0x490)]}),this[_0x41b303(0x276)]=this[_0x41b303(0x2a0)][_0x41b303(0x2fc)](({reqId:_0x20df81,timeout:_0x5da276})=>{var _0x209cdc=_0x41b303;this[_0x209cdc(0x274)](_0x20df81,_0x5da276);}),this);}[_0x4635a5(0x36f)](){var _0x220640=_0x4635a5;return this['_clearScheduledTask'](),this['_injector'][_0x220640(0x388)](de,this['unitID'],this[_0x220640(0x387)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x17e7f1=_0x4635a5;this[_0x17e7f1(0x2e9)]['onSendChangeset'](this[_0x17e7f1(0x1f2)]);}['_onConflict'](_0x1ffaa3){var _0x4eb5f6=_0x4635a5;return this[_0x4eb5f6(0x398)](),this['_injector']['createInstance'](ue,this[_0x4eb5f6(0x3bc)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x1ffaa3);}[_0x4635a5(0x274)](_0x19a707,_0x3cf7f8){var _0x2d2646=_0x4635a5,_0x5acac9;_0x19a707===((_0x5acac9=this[_0x2d2646(0x1f2)])==null?void 0x0:_0x5acac9['reqId'])&&(this[_0x2d2646(0x26b)](),this[_0x2d2646(0x2ab)]=_0x3cf7f8===0x0?0x3e8:_0x3cf7f8*0x2);}[_0x4635a5(0x398)](){var _0x12e71b=_0x4635a5,_0x34e85d;(_0x34e85d=this[_0x12e71b(0x276)])==null||_0x34e85d[_0x12e71b(0x219)](),this[_0x12e71b(0x2ab)]=0x0;}};oe=Te([P(0x6,_0x578b85(_0x54435d)),P(0x7,_0x578b85(_0x38f797)),P(0x8,_0x376e9b),P(0x9,_0xc09f78),P(0xa,_0x786dee),P(0xb,_0x3a7d8c),P(0xc,_0x3a2b1b(J))],oe);let ue=class extends Ce{constructor(_0x3dfe3e,_0x1feefe,_0x46988c,_0x1af59a,_0x202ba6,_0x4af435=!0x1,_0x282801,_0x18b802,_0x287016,_0x3386eb,_0x3c1b4d,_0x2aef5a,_0x2268db){var _0x3c9c23=_0x4635a5;super(_0x3dfe3e,_0x1feefe,_0x46988c,_0x1af59a,_0x202ba6,_0x18b802,_0x287016,_0x3386eb,_0x2268db),N(this,_0x3c9c23(0x27a),'conflict'),(this[_0x3c9c23(0x2f4)]=_0x4af435,this[_0x3c9c23(0x36a)]=_0x282801,this[_0x3c9c23(0x2a4)]=_0x3c1b4d,this[_0x3c9c23(0x462)]=_0x2aef5a,this['localCacheService']=_0x2268db,this[_0x3c9c23(0x38d)](),this['_clearLocalCache'](),this[_0x3c9c23(0x2bb)]());}['appendMutation'](){return this;}[_0x4635a5(0x346)](){return this;}[_0x4635a5(0x361)](){return this;}[_0x4635a5(0x268)](){return this;}[_0x4635a5(0x316)](){return this;}[_0x4635a5(0x36f)](){return this;}[_0x4635a5(0x4be)](){return this;}[_0x4635a5(0x26b)](){var _0x59cf7e=_0x4635a5;throw new Error(_0x59cf7e(0x4c0));}[_0x4635a5(0x382)](){var _0x3eba90=_0x4635a5,_0x3adf90;(_0x3adf90=this['_localCacheService'])==null||_0x3adf90[_0x3eba90(0x2ff)](this[_0x3eba90(0x3bc)],this['type'],null,[]);}[_0x4635a5(0x38d)](){var _0x3541be=_0x4635a5;this[_0x3541be(0x2f4)]?this[_0x3541be(0x462)][_0x3541be(0x2bd)]({'id':re[_0x3541be(0x30d)]}):this[_0x3541be(0x462)][_0x3541be(0x2bd)]({'id':re[_0x3541be(0x4a4)]});}[_0x4635a5(0x2bb)](){var _0x5262a7=_0x4635a5;this[_0x5262a7(0x36a)][_0x5262a7(0x3c9)](new _0x4cf2f9(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x578b85(_0x511af1)),P(0x7,_0x376e9b),P(0x8,_0x3a7d8c),P(0x9,_0x578b85(_0x38f797)),P(0xa,_0x578b85(_0x435db6)),P(0xb,_0x578b85(pe)),P(0xc,_0x3a2b1b(J))],ue);let de=class extends Ce{constructor(_0x33bbd1,_0x34f182,_0xa7c6f0,_0x28d401,_0x2e73b0,_0x14555f,_0x5234f2,_0x1df8c8,_0x2035fb,_0x2aa2e8){var _0x1e1343=_0x4635a5;super(_0x33bbd1,_0x34f182,_0xa7c6f0,_0x28d401,_0x2e73b0,_0x1df8c8,_0x2035fb,_0x5234f2,_0x2aa2e8),N(this,_0x1e1343(0x27a),_0x1e1343(0x3b7)),this['_injector']=_0x14555f;}[_0x4635a5(0x3cb)](_0xfa841b){var _0x414181=_0x4635a5;return this['_pendingMutations'][_0x414181(0x1fb)](_0xfa841b),this[_0x414181(0x329)](),this;}['onRemoteChangeset'](_0xab0e9b){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4635a5(0x361)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x503e5c=_0x4635a5;throw new Error(_0x503e5c(0x448));}[_0x4635a5(0x316)](){return this;}[_0x4635a5(0x36f)](){return this;}[_0x4635a5(0x4be)](){var _0xbbc402=_0x4635a5;const {_injector:_0x13f20f,_pendingMutations:_0x39d7cb,_awaitingChangeset:_0x362f4e,unitID:_0x428d84,_handler:_0xa6371,type:_0x13cbd6}=this,_0x5da545=yi(_0x13f20f,_0x428d84,_0x13cbd6,_0x362f4e,_0x39d7cb,_0xa6371);return _0x5da545 instanceof ae?_0x5da545[_0xbbc402(0x2c8)]():(_0x5da545 instanceof oe||_0x5da545 instanceof le)&&_0x5da545[_0xbbc402(0x26b)](),_0x5da545;}['resend'](){var _0x1e6baf=_0x4635a5;throw new Error(_0x1e6baf(0x3dc));}};de=Te([P(0x5,_0x578b85(_0x54435d)),P(0x6,_0x578b85(_0x38f797)),P(0x7,_0x376e9b),P(0x8,_0x3a7d8c),P(0x9,_0x3a2b1b(J))],de);let ee=class extends Ce{constructor(_0x378fc9,_0x2f0656,_0x1dd544,_0x44aada,_0x6f9ae5,_0x4fe14f,_0x1a1910,_0x29322e,_0x8e2234,_0x221fc6,_0x48662e,_0x1cea8c,_0xd373ae,_0x35c2fd){var _0x586cd3=_0x4635a5;super(_0x378fc9,_0x2f0656,_0x1dd544,_0x44aada,_0x1a1910,_0x48662e,_0x1cea8c,_0x8e2234,_0x35c2fd),N(this,_0x586cd3(0x27a),_0x586cd3(0x230)),(this[_0x586cd3(0x1ed)]=_0x6f9ae5,this[_0x586cd3(0x479)]=_0x4fe14f,this[_0x586cd3(0x319)]=_0x29322e,this[_0x586cd3(0x360)]=_0x221fc6,this[_0x586cd3(0x340)]=_0xd373ae,this['localCacheService']=_0x35c2fd);}[_0x4635a5(0x4d7)](_0x1adb48){var _0x111345=_0x4635a5;try{const _0x132676=[..._0x1adb48,...this[_0x111345(0x479)]],_0x4192ac=[this[_0x111345(0x1f2)]||this['_acknowledgedAwaitingChangeset']][_0x111345(0x446)](_0x39a903=>!!_0x39a903);let _0x59d88c,_0xd62283;if(_0x4192ac['length']){const _0x302273=this[_0x111345(0x340)]['transformChangesets'](_0x132676,_0x4192ac,!0x1);if(!_0x83452a(_0x302273))throw _0x302273[_0x111345(0x3d9)];_0x59d88c=_0x302273[_0x111345(0x465)],_0xd62283=_0x302273[_0x111345(0x434)];}else _0x59d88c=_0x132676,_0xd62283=[];let _0x8ff488=this['_pendingMutations'];_0x59d88c[_0x111345(0x1fd)](_0x2ca4a2=>{var _0x250243=_0x111345;let _0xfcbcde;if(_0x8ff488['length']){const _0x486506=this[_0x250243(0x340)][_0x250243(0x38e)](_0x2ca4a2,_0x8ff488);if(!_0xf4b487(_0x486506))throw _0x486506[_0x250243(0x3d9)];_0xfcbcde=_0x486506['c1Prime'],_0x8ff488=_0x486506[_0x250243(0x4cc)];}else _0xfcbcde=_0x2ca4a2;this[_0x250243(0x297)](_0xfcbcde);}),this[_0x111345(0x1ed)]&&this[_0x111345(0x44c)](),this[_0x111345(0x1f2)]&&_0xd62283[_0x111345(0x45b)]&&(_0xd62283[0x0][_0x111345(0x2a5)]=this[_0x111345(0x324)]());let _0x28ff7d;if(this['_awaitingChangeset']&&_0x8ff488[_0x111345(0x45b)]!==0x0)_0x28ff7d=this[_0x111345(0x319)][_0x111345(0x388)](oe,this[_0x111345(0x3bc)],this[_0x111345(0x387)],_0xd62283[0x0],_0x8ff488,this[_0x111345(0x2e9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8ff488['length']===0x0)_0xd62283[0x0][_0x111345(0x2a5)]=this[_0x111345(0x324)](),_0x28ff7d=this[_0x111345(0x319)]['createInstance'](le,this['unitID'],this[_0x111345(0x387)],_0xd62283[0x0],this[_0x111345(0x2e9)]);else{if(_0x8ff488[_0x111345(0x45b)]!==0x0){const _0x22bfde=this[_0x111345(0x319)][_0x111345(0x388)](ae,this[_0x111345(0x3bc)],this[_0x111345(0x387)],_0x8ff488,this['_handler']);_0x22bfde[_0x111345(0x2c8)](),_0x28ff7d=_0x22bfde;}else _0x28ff7d=this['_injector'][_0x111345(0x388)](Ne,this[_0x111345(0x3bc)],this[_0x111345(0x387)],this[_0x111345(0x2e9)]);}}return _0x28ff7d[_0x111345(0x329)](),_0x28ff7d;}catch(_0x2af6af){return this[_0x111345(0x360)][_0x111345(0x3d9)](_0x111345(0x38c),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2af6af),this[_0x111345(0x319)][_0x111345(0x388)](ue,this[_0x111345(0x3bc)],this[_0x111345(0x387)],this[_0x111345(0x1f2)],this[_0x111345(0x47c)],this[_0x111345(0x2e9)],!0x1);}}[_0x4635a5(0x26b)](){var _0x223f8a=_0x4635a5;throw new Error(_0x223f8a(0x46c));}['appendMutation'](_0x569441){var _0xe906ec=_0x4635a5;return this[_0xe906ec(0x47c)][_0xe906ec(0x1fb)](_0x569441),this;}['onRemoteChangeset'](_0x52dc8a){var _0x1f14b8=_0x4635a5;return this[_0x1f14b8(0x479)][_0x1f14b8(0x1fb)](_0x52dc8a),this;}[_0x4635a5(0x361)](_0x55dcdd){var _0x397dcc=_0x4635a5;if(this['_awaitingChangeset'])return this[_0x397dcc(0x1ed)]=this[_0x397dcc(0x1f2)],this[_0x397dcc(0x1f2)]=null,this;throw new Error(_0x397dcc(0x36e));}['onRemoteRej'](_0x286dfc){var _0x2e01af=_0x4635a5;return this[_0x2e01af(0x4df)](!!(_0x286dfc!=null&&_0x286dfc[_0x2e01af(0x2a8)]));}[_0x4635a5(0x316)](){return this;}[_0x4635a5(0x36f)](){var _0xa51007=_0x4635a5;return this['_injector'][_0xa51007(0x388)](de,this[_0xa51007(0x3bc)],this[_0xa51007(0x387)],this[_0xa51007(0x1f2)],this[_0xa51007(0x47c)],this[_0xa51007(0x2e9)]);}[_0x4635a5(0x4be)](){return this;}[_0x4635a5(0x4df)](_0x8b411d){var _0x319ce2=_0x4635a5;return this[_0x319ce2(0x319)][_0x319ce2(0x388)](ue,this[_0x319ce2(0x3bc)],this[_0x319ce2(0x387)],this[_0x319ce2(0x1f2)],this['_pendingMutations'],this[_0x319ce2(0x2e9)],_0x8b411d);}};ee=Te([P(0x7,_0x578b85(_0x54435d)),P(0x8,_0x578b85(_0x38f797)),P(0x9,_0xc09f78),P(0xa,_0x376e9b),P(0xb,_0x3a7d8c),P(0xc,_0x786dee),P(0xd,_0x3a2b1b(J))],ee);function yi(_0x5a7eef,_0x1a6d4b,_0x4fe123,_0xd38072,_0x35403e,_0x2583d3){var _0x4c9f9a=_0x4635a5;return _0xd38072&&_0x35403e[_0x4c9f9a(0x45b)]?_0x5a7eef['createInstance'](oe,_0x1a6d4b,_0x4fe123,_0xd38072,_0x35403e,_0x2583d3,void 0x0):_0xd38072?_0x5a7eef[_0x4c9f9a(0x388)](le,_0x1a6d4b,_0x4fe123,_0xd38072,_0x2583d3):_0x35403e[_0x4c9f9a(0x45b)]?_0x5a7eef[_0x4c9f9a(0x388)](ae,_0x1a6d4b,_0x4fe123,_0x35403e,_0x2583d3):_0x5a7eef['createInstance'](Ne,_0x1a6d4b,_0x4fe123,_0x2583d3);}var as=Object[_0x4635a5(0x2fe)],Lt=(_0x362f1f,_0x227213,_0xebf2a7,_0x5e22b5)=>{for(var _0x3e5a46=_0x5e22b5>0x1?void 0x0:_0x5e22b5?as(_0x227213,_0xebf2a7):_0x227213,_0xcf8f82=_0x362f1f['length']-0x1,_0x29365e;_0xcf8f82>=0x0;_0xcf8f82--)(_0x29365e=_0x362f1f[_0xcf8f82])&&(_0x3e5a46=_0x29365e(_0x3e5a46)||_0x3e5a46);return _0x3e5a46;},H=(_0x2e4cd8,_0x94ef1c)=>(_0x5909f6,_0x3b8f33)=>_0x94ef1c(_0x5909f6,_0x3b8f33,_0x2e4cd8);let nt=class extends _0x4c46c5{constructor(_0x551047,_0x2a590c,_0x224540,_0x31e1cd,_0x59f2a1,_0x5dcd6f,_0x5762b1,_0x47ea66,_0x3a8e32,_0x211fa9,_0x2585c6,_0x1f5958,_0x3d5a09){var _0x483f4c=_0x4635a5;super(),N(this,_0x483f4c(0x3e4),new _0x15513f(null)),N(this,_0x483f4c(0x399),this[_0x483f4c(0x3e4)][_0x483f4c(0x45c)]()),N(this,'_state'),N(this,_0x483f4c(0x253),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x483f4c(0x399)][_0x483f4c(0x40e)](_0xcd375b(_0x3d5471=>_0x3d5471?_0x3d5471[_0x483f4c(0x27a)]:bi[_0x483f4c(0x42f)]),_0x2a509c(0x1))),N(this,_0x483f4c(0x1f5),!0x1),N(this,_0x483f4c(0x27c),[]),(this[_0x483f4c(0x3bc)]=_0x551047,this['session']=_0x2a590c,this[_0x483f4c(0x426)]=_0x224540,this[_0x483f4c(0x319)]=_0x31e1cd,this[_0x483f4c(0x422)]=_0x59f2a1,this[_0x483f4c(0x2a4)]=_0x5dcd6f,this['_revisionService']=_0x5762b1,this[_0x483f4c(0x33a)]=_0x47ea66,this[_0x483f4c(0x360)]=_0x3a8e32,this[_0x483f4c(0x24a)]=_0x211fa9,this[_0x483f4c(0x36a)]=_0x2585c6,this['_singleActiveUnitService']=_0x1f5958,this['_localCacheService']=_0x3d5a09);}get[_0x4635a5(0x224)](){var _0x338a08=_0x4635a5;return this[_0x338a08(0x3e9)];}async[_0x4635a5(0x4ac)](){var _0x2810b2=_0x4635a5;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2810b2(0x1ee)]();}['pauseCollaboration'](){var _0x2f7d05=_0x4635a5;return this[_0x2f7d05(0x253)]=!0x0,_0x485b00(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4635a5(0x25f)](_0x2ef991){this['_onLocalMutation'](_0x2ef991);}['_updateState'](_0x230f3f){var _0x2494b6=_0x4635a5;this[_0x2494b6(0x3e9)]=_0x230f3f,this['_state$'][_0x2494b6(0x30f)](_0x230f3f);}async[_0x4635a5(0x1ee)](){var _0xfb2e9e=_0x4635a5,_0x177ed5;this['_updateState'](await this[_0xfb2e9e(0x228)]()),this['_singleActiveUnitService']&&((_0x177ed5=this[_0xfb2e9e(0x40c)])==null||_0x177ed5[_0xfb2e9e(0x303)](this[_0xfb2e9e(0x3bc)]),this[_0xfb2e9e(0x406)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0xfb2e9e(0x3bc)])['subscribe'](_0x1f93b0=>{var _0x378cdb=_0xfb2e9e;this[_0x378cdb(0x360)][_0x378cdb(0x37a)](_0x378cdb(0x20f),'editing\x20status\x20changed\x20to',_0x1f93b0),_0x1f93b0===Ci[_0x378cdb(0x29e)]?(this['_eventService'][_0x378cdb(0x2bd)]({'id':re[_0x378cdb(0x326)]}),this['_permissionService']['updatePermissionPoint'](new _0x4cf2f9(this[_0x378cdb(0x3bc)])['id'],!0x1),this[_0x378cdb(0x36a)][_0x378cdb(0x29a)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x4cf2f9(this[_0x378cdb(0x3bc)])['id'],!0x0),this[_0x378cdb(0x36a)][_0x378cdb(0x29a)](!0x0));})));let _0x532abe=!0x1;return this[_0xfb2e9e(0x406)](this[_0xfb2e9e(0x330)][_0xfb2e9e(0x287)][_0xfb2e9e(0x2fc)](_0xf9d916=>{var _0x79fd1e=_0xfb2e9e;_0xf9d916===Ee['ONLINE']?this[_0x79fd1e(0x477)](_0x532abe):_0xf9d916===Ee['OFFLINE']&&(_0x532abe=!0x0,this[_0x79fd1e(0x21e)]());})),this[_0xfb2e9e(0x406)](this[_0xfb2e9e(0x330)][_0xfb2e9e(0x476)][_0xfb2e9e(0x2fc)](_0x21b430=>{var _0x29d599=_0xfb2e9e;try{switch(_0x21b430['eventID']){case _0x520c54[_0x29d599(0x263)]:{this['_onRemoteChangeset'](_0x5b3f2c(_0x21b430[_0x29d599(0x3b6)]));break;}case _0x520c54[_0x29d599(0x4bb)]:{this['_onRemoteACK'](_0x21b430[_0x29d599(0x3b6)]);break;}case _0x520c54[_0x29d599(0x46d)]:{this[_0x29d599(0x1e0)]();break;}case _0x520c54['CHANGESET_SHOULD_RETRY']:{this[_0x29d599(0x440)](_0x21b430['data']);break;}case _0x520c54['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x29d599(0x332)](_0x21b430[_0x29d599(0x3b6)][_0x29d599(0x31c)][_0x29d599(0x28d)](_0x3d5734=>_0x5b3f2c(_0x3d5734)));break;}case _0x520c54[_0x29d599(0x214)]:{this[_0x29d599(0x1e0)]({'isPermissionRej':!0x0});break;}case _0x520c54[_0x29d599(0x34b)]:break;}}catch(_0x3c5a5a){throw console[_0x29d599(0x3d9)](_0x29d599(0x336),_0x3c5a5a),_0x3c5a5a;}})),this['_state'];}[_0x4635a5(0x203)](){var _0x24571b=_0x4635a5;this[_0x24571b(0x1f5)]=!0x1;}[_0x4635a5(0x3ae)](){var _0x4fa135=_0x4635a5;if(this[_0x4fa135(0x1f5)])throw new Error(_0x4fa135(0x1e6));this['_transitionLocked']=!0x0;}[_0x4635a5(0x2d7)](_0x17eecf){var _0x14d59c=_0x4635a5;this[_0x14d59c(0x3ae)](),this['_updateState'](this[_0x14d59c(0x3e9)][_0x14d59c(0x3cb)](_0x17eecf)),this[_0x14d59c(0x203)]();}[_0x4635a5(0x493)](_0x15b761){var _0x5da248=_0x4635a5;if(!(_0x15b761[_0x5da248(0x31a)]<=this['_revisionService'][_0x5da248(0x279)](this[_0x5da248(0x3bc)]))){if(this[_0x5da248(0x253)]){this[_0x5da248(0x27c)]['push'](_0x15b761);return;}this[_0x5da248(0x3d7)](_0x15b761);}}[_0x4635a5(0x223)](){var _0xc6703d=_0x4635a5;this['_remoteChangesetQueue'][_0xc6703d(0x1fd)](_0x3a7626=>this[_0xc6703d(0x3d7)](_0x3a7626)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x40c2ef){var _0x4c2279=_0x4635a5;const _0x43ed64=this['_compressMutationService'][_0x4c2279(0x1f4)][_0x4c2279(0x227)](this[_0x4c2279(0x422)][_0x4c2279(0x1f4)]['getInterceptPoints']()[_0x4c2279(0x41e)])(_0x40c2ef['mutations'],null)||_0x40c2ef[_0x4c2279(0x37c)],_0x3193dc={..._0x40c2ef,'mutations':_0x43ed64};this[_0x4c2279(0x3ae)](),this['_updateState'](this[_0x4c2279(0x3e9)][_0x4c2279(0x346)](_0x3193dc)),this[_0x4c2279(0x203)]();}[_0x4635a5(0x4b0)](_0x1c848d){var _0x243d64=_0x4635a5;this[_0x243d64(0x3ae)](),this[_0x243d64(0x2f6)](this[_0x243d64(0x3e9)][_0x243d64(0x361)](_0x1c848d)),this[_0x243d64(0x203)]();}[_0x4635a5(0x1e0)](_0x1212cf){var _0x5a8f2a=_0x4635a5;this['_lockTransition'](),this['_updateState'](this['_state'][_0x5a8f2a(0x268)](_0x1212cf)),this[_0x5a8f2a(0x203)]();}[_0x4635a5(0x440)](_0x304792){var _0x4da59d=_0x4635a5;this[_0x4da59d(0x3ae)](),this[_0x4da59d(0x2f6)](this[_0x4da59d(0x3e9)][_0x4da59d(0x316)](_0x304792)),this[_0x4da59d(0x203)]();}['_onFetchMissResult'](_0x5474a0){var _0x3e3e52=_0x4635a5;if(!(this[_0x3e3e52(0x3e9)]instanceof ee))throw new TypeError(_0x3e3e52(0x46e));const _0x164fd5=_0x5474a0[_0x3e3e52(0x28d)](_0x2417aa=>{var _0x32a398=_0x3e3e52;const _0x500e6a=this['_compressMutationService'][_0x32a398(0x1f4)][_0x32a398(0x227)](this[_0x32a398(0x422)]['interceptor'][_0x32a398(0x1df)]()[_0x32a398(0x41e)])(_0x2417aa[_0x32a398(0x37c)],null)||_0x2417aa[_0x32a398(0x37c)];return{..._0x2417aa,'mutations':_0x500e6a};});this[_0x3e3e52(0x3ae)](),this[_0x3e3e52(0x2f6)](this['_state'][_0x3e3e52(0x4d7)](_0x164fd5)),this[_0x3e3e52(0x203)]();}[_0x4635a5(0x21e)](){var _0xb4b58b=_0x4635a5;this[_0xb4b58b(0x3ae)](),this['_updateState'](this[_0xb4b58b(0x3e9)]['toggleOffline']()),this['_unlockTransition']();}[_0x4635a5(0x477)](_0x309b53=!0x1){var _0x2f017a=_0x4635a5;this[_0x2f017a(0x3ae)](),this[_0x2f017a(0x2f6)](this[_0x2f017a(0x3e9)]['toggleOnline']()),this[_0x2f017a(0x203)]();const _0x6c8c53=this[_0x2f017a(0x3e9)];_0x309b53&&_0x6c8c53 instanceof Ne&&(this[_0x2f017a(0x3ae)](),this[_0x2f017a(0x2f6)](_0x6c8c53[_0x2f017a(0x3aa)]()),this[_0x2f017a(0x203)]());}async[_0x4635a5(0x228)](){return new Promise(_0x3338d0=>{var _0x278b1d=_0x2074;this[_0x278b1d(0x330)][_0x278b1d(0x287)][_0x278b1d(0x40e)](_0x52b54e(0x1))['subscribe'](async _0x547229=>{var _0xe46f3=_0x278b1d;_0x3338d0(await this['_createInitialStateImpl'](_0x547229===Ee[_0xe46f3(0x4d3)]));});});}[_0x4635a5(0x296)](){const _0x2c3cc4=this['unitID'];return{'onStateChange':(_0x4d834c,_0x505256)=>{var _0x3b89d0=_0x2074;if(_0x4d834c!==this[_0x3b89d0(0x3e9)])throw new Error(_0x3b89d0(0x3c8)+_0x4d834c[_0x3b89d0(0x27a)]+_0x3b89d0(0x389)+_0x505256[_0x3b89d0(0x27a)]+_0x3b89d0(0x2cf)+this['_state'][_0x3b89d0(0x27a)]);this[_0x3b89d0(0x2f6)](_0x505256);},'onSendChangeset':_0x742a3f=>{var _0x1f3138=_0x2074;_0x742a3f[_0x1f3138(0x4aa)]||(_0x742a3f[_0x1f3138(0x4aa)]=this['_changesetSessionId'],_0x742a3f[_0x1f3138(0x490)]=++this[_0x1f3138(0x3b2)]);const _0x25d300={'eventID':_0x520c54[_0x1f3138(0x405)],'data':{'unitID':_0x742a3f['unitID'],'unitType':this[_0x1f3138(0x426)],'changeset':_0x742a3f,'memberID':this['session'][_0x1f3138(0x439)]()}};this['session'][_0x1f3138(0x21b)](_0x25d300,this['unitID']);},'onMissingChangesets':({from:_0x4bd591,to:_0x35bf61})=>{var _0x5a0da6=_0x2074;this['_logService'][_0x5a0da6(0x37a)](_0x5a0da6(0x20f),_0x5a0da6(0x30e)+_0x4bd591+_0x5a0da6(0x4d8)+_0x35bf61);const _0x19cfbc={'eventID':_0x520c54[_0x5a0da6(0x395)],'data':{'unitID':_0x2c3cc4,'unitType':this[_0x5a0da6(0x426)],'from':_0x4bd591,'to':_0x35bf61}};this['session']['send'](_0x19cfbc,this[_0x5a0da6(0x3bc)]);}};}async[_0x4635a5(0x45f)](_0x5195bb){var _0x2b352f=_0x4635a5,_0x3e8375,_0x308f52,_0x5debb8;const _0x1cab9f=await((_0x3e8375=this[_0x2b352f(0x445)])==null?void 0x0:_0x3e8375[_0x2b352f(0x2d9)](this[_0x2b352f(0x3bc)])),_0x37088d=(_0x308f52=_0x1cab9f==null?void 0x0:_0x1cab9f['mutations'])!=null?_0x308f52:[],_0x4bb97c=(_0x5debb8=_0x1cab9f==null?void 0x0:_0x1cab9f['awaitingChangeset'])!=null?_0x5debb8:null,_0x5465c0=!!(_0x4bb97c!=null&&_0x4bb97c['sid'])&&!!(_0x4bb97c!=null&&_0x4bb97c[_0x2b352f(0x490)]);this[_0x2b352f(0x400)]=_0x5465c0?_0x4bb97c[_0x2b352f(0x4aa)]:Zn(),this[_0x2b352f(0x3b2)]=_0x5465c0?_0x4bb97c[_0x2b352f(0x490)]:0x0;const _0x2abfa3=this['unitID'];try{this[_0x2b352f(0x3c4)](_0x4bb97c,_0x37088d);}catch(_0x3322c7){this[_0x2b352f(0x360)][_0x2b352f(0x3d9)](_0x3322c7);}const _0x4ff2f7=this[_0x2b352f(0x296)]();if(_0x5195bb){const _0x36c3db=yi(this[_0x2b352f(0x319)],_0x2abfa3,this[_0x2b352f(0x426)],_0x4bb97c,_0x37088d,_0x4ff2f7);return _0x36c3db instanceof ae?_0x36c3db[_0x2b352f(0x2c8)]():(_0x36c3db instanceof oe||_0x36c3db instanceof le)&&_0x36c3db['resend'](),_0x36c3db;}return this[_0x2b352f(0x319)][_0x2b352f(0x388)](de,_0x2abfa3,this[_0x2b352f(0x426)],_0x4bb97c,_0x37088d,_0x4ff2f7);}[_0x4635a5(0x3c4)](_0xc60572,_0x3d0975){var _0x4a9aea=_0x4635a5,_0x31f774,_0x20b3fb;const _0xf7a48=this[_0x4a9aea(0x422)][_0x4a9aea(0x1f4)][_0x4a9aea(0x227)](this[_0x4a9aea(0x422)][_0x4a9aea(0x1f4)]['getInterceptPoints']()[_0x4a9aea(0x41e)]);(_0x31f774=_0xf7a48((_0xc60572==null?void 0x0:_0xc60572[_0x4a9aea(0x37c)])||[],null))==null||_0x31f774[_0x4a9aea(0x1fd)](_0x4031a6=>this[_0x4a9aea(0x24a)]['executeCommand'](_0x4031a6['id'],_0x4031a6[_0x4a9aea(0x4c3)])),(_0x20b3fb=_0xf7a48(_0x3d0975||[],null))==null||_0x20b3fb['forEach'](_0x4b433a=>this[_0x4a9aea(0x24a)][_0x4a9aea(0x496)](_0x4b433a['id'],_0x4b433a['params']));}};nt=Lt([H(0x3,_0x578b85(_0x54435d)),H(0x4,_0x578b85(_0xc46e04)),H(0x5,_0x578b85(_0x435db6)),H(0x6,_0x578b85(_0x38f797)),H(0x7,_0x578b85(pe)),H(0x8,_0xc09f78),H(0x9,_0x376e9b),H(0xa,_0x511af1),H(0xb,_0x3a2b1b(ht)),H(0xc,_0x3a2b1b(J))],nt);let It=class extends nt{constructor(_0x557045,_0x53464c,_0xce5341,_0x10d806,_0x21ab72,_0x44b3d3,_0x2338ba,_0x39a2ea,_0x1dbd7b,_0x31d986,_0xf71e94,_0x5168c1,_0x18b62e){var _0x565616=_0x4635a5;super(_0x557045,_0xce5341,_0x53464c,_0x10d806,_0x21ab72,_0x44b3d3,_0x2338ba,_0x39a2ea,_0x1dbd7b,_0x31d986,_0xf71e94,_0x5168c1,_0x18b62e),N(this,'_handlerCallback',null),(this[_0x565616(0x3bc)]=_0x557045,this['type']=_0x53464c);}[_0x4635a5(0x26a)](_0x4ab215){var _0x2f2622=_0x4635a5;this[_0x2f2622(0x4e0)]=_0x4ab215;}[_0x4635a5(0x42c)](){var _0x110109=_0x4635a5;this[_0x110109(0x4e0)]=null,super[_0x110109(0x42c)]();}['_createHandler'](){var _0x3ea050=_0x4635a5;const _0x4e818d=super[_0x3ea050(0x296)]();return _0x4e818d[_0x3ea050(0x35a)]=_0x42abd9=>{var _0x99a8f2=_0x3ea050,_0x332508,_0x227df8;return(_0x227df8=(_0x332508=this[_0x99a8f2(0x4e0)])==null?void 0x0:_0x332508[_0x99a8f2(0x35a)])==null?void 0x0:_0x227df8[_0x99a8f2(0x25e)](_0x332508,_0x42abd9);},_0x4e818d[_0x3ea050(0x2f8)]=_0xe7c76=>{var _0x4c2368=_0x3ea050,_0xc265d9,_0x445748;return(_0x445748=(_0xc265d9=this[_0x4c2368(0x4e0)])==null?void 0x0:_0xc265d9[_0x4c2368(0x2f8)])==null?void 0x0:_0x445748[_0x4c2368(0x25e)](_0xc265d9,_0xe7c76);},_0x4e818d[_0x3ea050(0x1fc)]=_0x25c0ae=>{var _0x3673a4=_0x3ea050,_0x8b8d8c,_0x32b56d;return(_0x32b56d=(_0x8b8d8c=this[_0x3673a4(0x4e0)])==null?void 0x0:_0x8b8d8c[_0x3673a4(0x1fc)])==null?void 0x0:_0x32b56d[_0x3673a4(0x25e)](_0x8b8d8c,_0x25c0ae);},_0x4e818d['onSyncEditingCollabCursor']=_0x71e712=>{var _0x5f21b1=_0x3ea050,_0x1fcf51,_0x2ef917;return(_0x2ef917=(_0x1fcf51=this[_0x5f21b1(0x4e0)])==null?void 0x0:_0x1fcf51['onSyncEditingCollabCursor'])==null?void 0x0:_0x2ef917['call'](_0x1fcf51,_0x71e712);},_0x4e818d[_0x3ea050(0x1f0)]=_0x4040c0=>{var _0x184f89=_0x3ea050,_0x19ed68,_0x4ad4de,_0x3f60e9;if(!((_0x19ed68=this[_0x184f89(0x4e0)])!=null&&_0x19ed68[_0x184f89(0x1f0)]))throw new Error(_0x184f89(0x3c7));return(_0x3f60e9=(_0x4ad4de=this['_handlerCallback'])==null?void 0x0:_0x4ad4de['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3f60e9[_0x184f89(0x25e)](_0x4ad4de,_0x4040c0);},_0x4e818d[_0x3ea050(0x22d)]=_0x3623fc=>{var _0x1898c3=_0x3ea050,_0x2fe31e,_0x2427a2,_0xabc8a2;if(!((_0x2fe31e=this[_0x1898c3(0x4e0)])!=null&&_0x2fe31e[_0x1898c3(0x22d)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xabc8a2=(_0x2427a2=this['_handlerCallback'])==null?void 0x0:_0x2427a2[_0x1898c3(0x22d)])==null?void 0x0:_0xabc8a2[_0x1898c3(0x25e)](_0x2427a2,_0x3623fc);},_0x4e818d;}async[_0x4635a5(0x1ee)](){var _0x573f79=_0x4635a5;const _0x165a1b=await super[_0x573f79(0x1ee)]();return this['disposeWithMe'](this[_0x573f79(0x24a)][_0x573f79(0x252)]((_0x43cbef,_0x211e13)=>{var _0x34df72=_0x573f79;if(_0x43cbef[_0x34df72(0x387)]!==_0x283353[_0x34df72(0x1ef)]||_0x211e13!=null&&_0x211e13['fromCollab']||_0x211e13!=null&&_0x211e13['onlyLocal']||_0x43cbef['id']===_0x12bbdb['id'])return;const _0x27f51d=_0x43cbef[_0x34df72(0x4c3)];if((_0x27f51d==null?void 0x0:_0x27f51d['unitId'])!==this[_0x34df72(0x3bc)])return;const _0x5567ef=_0x43cbef,_0x21695a=this[_0x34df72(0x422)][_0x34df72(0x1f4)][_0x34df72(0x227)](this[_0x34df72(0x422)][_0x34df72(0x1f4)]['getInterceptPoints']()[_0x34df72(0x391)])([_0x5567ef],null)||[_0x5567ef];this[_0x34df72(0x2d7)](_0x21695a[0x0]);})),_0x165a1b;}};It=Lt([H(0x3,_0x578b85(_0x54435d)),H(0x4,_0x578b85(_0xc46e04)),H(0x5,_0x578b85(_0x435db6)),H(0x6,_0x578b85(_0x38f797)),H(0x7,_0x578b85(pe)),H(0x8,_0xc09f78),H(0x9,_0x376e9b),H(0xa,_0x511af1),H(0xb,_0x3a2b1b(ht)),H(0xc,_0x3a2b1b(J))],It);let Tt=class extends nt{constructor(_0x4e128b,_0x156d5e,_0x353aa7,_0x1d74b3,_0x5d1f06,_0x13daec,_0x4f64a8,_0x3c1262,_0x3c9491,_0x40a0d8,_0x58e7ab,_0x278454,_0x5451ed,_0x5a1919){var _0x1f3ab8=_0x4635a5;super(_0x4e128b,_0x353aa7,_0x156d5e,_0x1d74b3,_0x5d1f06,_0x13daec,_0x4f64a8,_0x3c9491,_0x40a0d8,_0x58e7ab,_0x278454,_0x5451ed,_0x5a1919),this['unitID']=_0x4e128b,this[_0x1f3ab8(0x387)]=_0x156d5e,this[_0x1f3ab8(0x291)]=_0x3c1262;}['_createHandler'](){var _0x107875=_0x4635a5;const _0x43e61e=super[_0x107875(0x296)]();return _0x43e61e[_0x107875(0x1fc)]=_0x43316c=>this[_0x107875(0x291)][_0x107875(0x3f5)](_0x43316c),_0x43e61e;}async[_0x4635a5(0x1ee)](){var _0x25244f=_0x4635a5;const _0x388adb=await super[_0x25244f(0x1ee)]();return this[_0x25244f(0x406)](this[_0x25244f(0x24a)][_0x25244f(0x252)]((_0x760eba,_0x43cb37)=>{var _0x5b165d=_0x25244f;if(_0x760eba[_0x5b165d(0x387)]!==_0x283353[_0x5b165d(0x1ef)]||_0x43cb37!=null&&_0x43cb37['fromCollab']||_0x43cb37!=null&&_0x43cb37[_0x5b165d(0x488)])return;const _0x11d4e1=_0x760eba[_0x5b165d(0x4c3)];if((_0x11d4e1==null?void 0x0:_0x11d4e1['unitId'])!==this[_0x5b165d(0x3bc)])return;const _0x5f41f8=_0x760eba,_0x584467=this[_0x5b165d(0x422)][_0x5b165d(0x1f4)][_0x5b165d(0x227)](this[_0x5b165d(0x422)]['interceptor'][_0x5b165d(0x1df)]()[_0x5b165d(0x391)])([_0x5f41f8],null)||[_0x5f41f8];this[_0x5b165d(0x2d7)](_0x584467[0x0]);})),_0x388adb;}};Tt=Lt([H(0x3,_0x578b85(_0x54435d)),H(0x4,_0x578b85(_0xc46e04)),H(0x5,_0x578b85(_0x435db6)),H(0x6,_0x578b85(_0x38f797)),H(0x7,_0x578b85(it)),H(0x8,_0x578b85(pe)),H(0x9,_0xc09f78),H(0xa,_0x376e9b),H(0xb,_0x511af1),H(0xc,_0x3a2b1b(ht)),H(0xd,_0x3a2b1b(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x4eff2e,_0x33fd97,_0x1aecaa,_0x40600d)=>{for(var _0x2a9b77=_0x40600d>0x1?void 0x0:_0x40600d?os(_0x33fd97,_0x1aecaa):_0x33fd97,_0x428664=_0x4eff2e['length']-0x1,_0x5b9183;_0x428664>=0x0;_0x428664--)(_0x5b9183=_0x4eff2e[_0x428664])&&(_0x2a9b77=_0x5b9183(_0x2a9b77)||_0x2a9b77);return _0x2a9b77;},ft=(_0x796371,_0x3637b1)=>(_0x23056c,_0x2b3c40)=>_0x3637b1(_0x23056c,_0x2b3c40,_0x796371);let st=class extends _0x4c46c5{constructor(_0x25b736,_0x1341ae,_0x398337){var _0x5d246e=_0x4635a5;super(),N(this,_0x5d246e(0x3a0),new Map()),N(this,'_entityInit$',new _0x16a106()),N(this,_0x5d246e(0x3ea),this[_0x5d246e(0x371)][_0x5d246e(0x45c)]()),(this['_injector']=_0x25b736,this['_collabSessionService']=_0x1341ae,this['_univerInstanceService']=_0x398337,this[_0x5d246e(0x1ee)]());}['dispose'](){var _0x26a0e8=_0x4635a5;super[_0x26a0e8(0x42c)](),this['_entities'][_0x26a0e8(0x1fd)](_0x9643a3=>_0x9643a3[_0x26a0e8(0x42c)]()),this[_0x26a0e8(0x3a0)][_0x26a0e8(0x2c2)]();}['getCollabEntity'](_0x51e276){var _0x18baef=_0x4635a5,_0xe79728;return(_0xe79728=this[_0x18baef(0x3a0)][_0x18baef(0x2db)](_0x51e276))!=null?_0xe79728:null;}['getCollabEntity$'](_0x2e1569){var _0x589803=_0x4635a5;const _0x162c55=this['getCollabEntity'](_0x2e1569);return _0x162c55?_0x2102ea(_0x162c55):this[_0x589803(0x371)][_0x589803(0x40e)](_0x306860(_0x1211d0=>_0x1211d0[_0x589803(0x3bc)]===_0x2e1569));}[_0x4635a5(0x2b3)](_0x475f4a){var _0x51e5f6=_0x4635a5;return _0x35a4fd(this[_0x51e5f6(0x41d)](_0x475f4a)[_0x51e5f6(0x40e)](_0xda3e25(()=>{})));}[_0x4635a5(0x1ee)](){var _0x440c45=_0x4635a5;this['_univerInstanceService'][_0x440c45(0x1fa)](_0x132a6c[_0x440c45(0x430)])[_0x440c45(0x40e)](_0x170a8b(this['dispose$']),_0x1fa1df(0x10))[_0x440c45(0x2fc)](async _0x317b6f=>{var _0x4e7a34=_0x440c45;const _0x3bfe32=_0x317b6f[_0x4e7a34(0x23d)](),_0x3001c7=await this['_startCollaboration'](_0x3bfe32,Q['UNIVER_SHEET']);this['_entities']['set'](_0x3bfe32,_0x3001c7);}),this[_0x440c45(0x3c0)]['getTypeOfUnitAdded$'](_0x132a6c[_0x440c45(0x259)])['pipe'](_0x170a8b(this[_0x440c45(0x46f)]),_0x1fa1df(0x10))['pipe'](_0x306860(_0x284b27=>!_0x284b27[_0x440c45(0x23d)]()['startsWith']('__')))[_0x440c45(0x2fc)](async _0x3b967f=>{var _0x10b781=_0x440c45;const _0x32c189=_0x3b967f['getUnitId'](),_0x49e95d=await this[_0x10b781(0x1e8)](_0x32c189,Q[_0x10b781(0x259)]);this[_0x10b781(0x3a0)][_0x10b781(0x264)](_0x32c189,_0x49e95d);}),_0x50aefb(this[_0x440c45(0x3c0)]['getTypeOfUnitDisposed$'](_0x132a6c[_0x440c45(0x430)]),this[_0x440c45(0x3c0)][_0x440c45(0x29d)](_0x132a6c[_0x440c45(0x259)]))[_0x440c45(0x40e)](_0x170a8b(this[_0x440c45(0x46f)]))[_0x440c45(0x2fc)](_0x15ad6e=>{var _0x42f630=_0x440c45;const _0xcfec4=_0x15ad6e[_0x42f630(0x23d)](),_0x29c4e9=this[_0x42f630(0x3a0)][_0x42f630(0x2db)](_0xcfec4);_0x29c4e9&&(_0x29c4e9[_0x42f630(0x42c)](),this[_0x42f630(0x3a0)]['delete'](_0xcfec4));});}async[_0x4635a5(0x1e8)](_0x575504,_0x34f8f3){var _0x357aaf=_0x4635a5;const _0x24b06e=await this[_0x357aaf(0x372)][_0x357aaf(0x22e)](_0x575504),_0x3f72ca=this[_0x357aaf(0x319)][_0x357aaf(0x388)](this[_0x357aaf(0x261)](_0x34f8f3),_0x575504,_0x34f8f3,_0x24b06e);return await _0x3f72ca['init'](),this[_0x357aaf(0x371)][_0x357aaf(0x30f)](_0x3f72ca),_0x3f72ca;}['_getCtorByUniverType'](_0x471a6a){var _0x125604=_0x4635a5;switch(_0x471a6a){case Q[_0x125604(0x259)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x125604(0x3b9)+_0x471a6a);}}};st=cs([ft(0x0,_0x578b85(_0x54435d)),ft(0x1,_0x578b85(Me)),ft(0x2,_0x23a680)],st);var hs=Object[_0x4635a5(0x2fe)],_s=(_0x48212a,_0x107e00,_0x4fd692,_0x284479)=>{var _0x1c6532=_0x4635a5;for(var _0x573b41=_0x284479>0x1?void 0x0:_0x284479?hs(_0x107e00,_0x4fd692):_0x107e00,_0x1c603d=_0x48212a[_0x1c6532(0x45b)]-0x1,_0xa39d9b;_0x1c603d>=0x0;_0x1c603d--)(_0xa39d9b=_0x48212a[_0x1c603d])&&(_0x573b41=_0xa39d9b(_0x573b41)||_0x573b41);return _0x573b41;},zt=(_0xf7f983,_0x388fd5)=>(_0x2b8541,_0x305707)=>_0x388fd5(_0x2b8541,_0x305707,_0xf7f983);const ls='DEFAULT_FILE_NAME',us='Univer';let Ct=class extends _0x42a59b{constructor(_0x1fc501,_0xab344a){var _0x1fb7e1=_0x4635a5;super(),this[_0x1fb7e1(0x3c0)]=_0x1fc501,this[_0x1fb7e1(0x3bd)]=_0xab344a,this[_0x1fb7e1(0x1ee)]();}[_0x4635a5(0x1ee)](){var _0x5870e7=_0x4635a5;this[_0x5870e7(0x406)](this[_0x5870e7(0x3c0)][_0x5870e7(0x401)][_0x5870e7(0x2fc)](()=>{var _0x31a5de=_0x5870e7,_0x29953e;const _0x4067ca=this[_0x31a5de(0x3c0)][_0x31a5de(0x232)]();let _0x4cd2ef=(_0x29953e=this[_0x31a5de(0x3bd)][_0x31a5de(0x376)](ls))!=null?_0x29953e:us;_0x4067ca instanceof _0x1b0745&&(_0x4cd2ef=_0x4067ca[_0x31a5de(0x36c)]),document[_0x31a5de(0x4a0)]=_0x4cd2ef;}));}};Ct=_s([zt(0x0,_0x23a680),zt(0x1,_0x2aefe0)],Ct);var ds=Object[_0x4635a5(0x2fe)],fs=(_0x28304d,_0x1ca33b,_0x6fb531,_0x1a0fdf)=>{var _0x388b6f=_0x4635a5;for(var _0x32884b=_0x1a0fdf>0x1?void 0x0:_0x1a0fdf?ds(_0x1ca33b,_0x6fb531):_0x1ca33b,_0x20cd0e=_0x28304d[_0x388b6f(0x45b)]-0x1,_0x4843d7;_0x20cd0e>=0x0;_0x20cd0e--)(_0x4843d7=_0x28304d[_0x20cd0e])&&(_0x32884b=_0x4843d7(_0x32884b)||_0x32884b);return _0x32884b;},vt=(_0x16af08,_0x2a3dfe)=>(_0x3da2ef,_0x13eb1b)=>_0x2a3dfe(_0x3da2ef,_0x13eb1b,_0x16af08);let rt=class{constructor(_0x33156d,_0x4f7f82,_0x1cafeb){var _0x293200=_0x4635a5;this['_configService']=_0x33156d,this[_0x293200(0x32a)]=_0x4f7f82,this[_0x293200(0x26e)]=_0x1cafeb,this[_0x293200(0x4ac)]();}[_0x4635a5(0x4ac)](){var _0x5943f5=_0x4635a5;this[_0x5943f5(0x32a)][_0x5943f5(0x47f)]({'priority':0x1,'interceptor':(_0x37e647,_0x1ea0b7)=>_0x1ea0b7(_0x37e647)[_0x5943f5(0x40e)](_0x38a69a(async _0x2074cb=>{var _0x42d345=_0x5943f5;const _0x41ef34=_0x2074cb;if(_0x41ef34[_0x42d345(0x27a)]===0x191){if(typeof window>'u')throw new Error(_0x42d345(0x282));if(window[_0x42d345(0x3ca)](this['localeService']['t'](_0x42d345(0x3e6)))){const _0x47e77a=window['encodeURIComponent'](window[_0x42d345(0x1dc)][_0x42d345(0x34e)]);window[_0x42d345(0x1dc)][_0x42d345(0x34e)]=this[_0x42d345(0x2fb)]()+_0x42d345(0x31d)+_0x47e77a;}}return _0x41ef34;}))});}[_0x4635a5(0x2fb)](){var _0x585334=_0x4635a5,_0x27b10c,_0x1d8ed2;const _0x2f8438=this[_0x585334(0x3bd)][_0x585334(0x376)](Un),_0x1e666f=this['_configService']['getConfig'](q);return(_0x1d8ed2=(_0x27b10c=_0x1e666f==null?void 0x0:_0x1e666f[_0x585334(0x4ce)])!=null?_0x27b10c:_0x2f8438)!=null?_0x1d8ed2:An;}};rt=fs([vt(0x0,_0x2aefe0),vt(0x1,_0x578b85(_0x3004fd)),vt(0x2,_0x578b85(_0x435db6))],rt);var vs=Object[_0x4635a5(0x2fe)],ps=(_0x551dea,_0x22cd79,_0x2a7c95,_0x4fd1f1)=>{for(var _0x223c3e=_0x4fd1f1>0x1?void 0x0:_0x4fd1f1?vs(_0x22cd79,_0x2a7c95):_0x22cd79,_0x229831=_0x551dea['length']-0x1,_0x330d95;_0x229831>=0x0;_0x229831--)(_0x330d95=_0x551dea[_0x229831])&&(_0x223c3e=_0x330d95(_0x223c3e)||_0x223c3e);return _0x223c3e;},Jt=(_0xfcc25f,_0x42ea15)=>(_0x35b000,_0x3d9915)=>_0x42ea15(_0x35b000,_0x3d9915,_0xfcc25f);const Ni=_0x4635a5(0x321),ms=_0x4635a5(0x301);let Rt=class extends _0x42a59b{constructor(_0x576e31,_0x19153e){var _0x148210=_0x4635a5;super(),this['_HTTPService']=_0x576e31,this[_0x148210(0x3bd)]=_0x19153e,this[_0x148210(0x323)]();}[_0x4635a5(0x323)](){var _0x3e1ecb=_0x4635a5;const _0x58df29=this;this[_0x3e1ecb(0x406)](this[_0x3e1ecb(0x2fd)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x215fcf({'isMatch'(_0x4ba645){var _0x5ac44f=_0x3e1ecb,_0x409d6d;if(_0x4ba645[_0x5ac44f(0x48f)]===_0x5ac44f(0x2df)&&((_0x409d6d=_0x4ba645['requestParams'])!=null&&_0x409d6d[_0x5ac44f(0x454)])){const {objectID:_0x166aca,objectType:_0x3e80b7}=_0x4ba645[_0x5ac44f(0x4cf)][_0x5ac44f(0x454)]||{};if(!_0x166aca||_0x3e80b7===void 0x0)return!0x1;const _0x52e4cb=_0x58df29['_getAPIPrefixPath']()+'/'+_0x3e80b7+'/object/'+_0x166aca+_0x5ac44f(0x369);if(_0x4ba645['url']===_0x52e4cb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b4b9b){var _0x53614f=_0x3e1ecb,_0x332a11;return(_0x332a11=_0x4b4b9b[_0x53614f(0x4cf)])==null?void 0x0:_0x332a11[_0x53614f(0x454)];},'mergeParamsToRequest'(_0x388e04,_0xe4afe){var _0xca1bc=_0x3e1ecb;const _0x39f010=_0x58df29[_0xca1bc(0x1f8)]()+_0xca1bc(0x1f3),_0x75abe4=_0x388e04[_0xca1bc(0x312)]((_0x46abb2,_0x5c6af5)=>{const {unitID:_0x57fe12,objectID:_0xe68407,objectType:_0x25a7e6,actions:_0x1f64f5}=_0x5c6af5;return _0x46abb2[_0x57fe12]||(_0x46abb2[_0x57fe12]={}),_0x46abb2[_0x57fe12][_0xe68407]||(_0x46abb2[_0x57fe12][_0xe68407]={'objectID':_0xe68407,'objectType':_0x25a7e6,'actions':[]}),_0x46abb2[_0x57fe12][_0xe68407]['actions']['push'](..._0x1f64f5),_0x46abb2;},{}),_0x4ce22b=[];for(const _0x307fd0 in _0x75abe4)for(const _0x7a6305 in _0x75abe4[_0x307fd0]){const {actions:_0x120cf9,objectType:_0x4d0a1f}=_0x75abe4[_0x307fd0][_0x7a6305],_0x5d36af=[...new Set(_0x120cf9)];_0x4ce22b[_0xca1bc(0x1fb)]({'unitID':_0x307fd0,'objectID':_0x7a6305,'objectType':_0x4d0a1f,'actions':_0x5d36af});}return new _0x22c5dc(_0xca1bc(0x2df),_0x39f010,{'headers':_0xe4afe[_0xca1bc(0x3ab)],'withCredentials':_0xe4afe[_0xca1bc(0x34d)],'responseType':_0xe4afe[_0xca1bc(0x27b)],'body':{'requests':_0x4ce22b}});}},{'distributeResult'(_0x1035e8,_0x177954){var _0x29a213=_0x3e1ecb;const {objectActions:_0x287199}=_0x1035e8;return _0x177954[_0x29a213(0x28d)](_0x138a4c=>{var _0x4113af=_0x29a213;const {unitID:_0x1070eb,objectID:_0x54bc88,actions:_0x2d19ea}=_0x138a4c,_0x5d2ff6=_0x287199[_0x4113af(0x238)](_0x343c6b=>_0x343c6b['unitID']===_0x1070eb&&_0x343c6b[_0x4113af(0x383)]===_0x54bc88),_0x34604d=_0x2d19ea['map'](_0x1cf99a=>_0x5d2ff6==null?void 0x0:_0x5d2ff6[_0x4113af(0x452)][_0x4113af(0x238)](_0x5ba975=>_0x5ba975[_0x4113af(0x339)]===_0x1cf99a))[_0x4113af(0x446)](_0x385fa3=>!!_0x385fa3);return{'config':_0x138a4c,'result':{'actions':_0x34604d,'error':_0x1035e8[_0x4113af(0x3d9)]}};});}})}));}[_0x4635a5(0x1f8)](){var _0x4c10f3=_0x4635a5,_0x53f3ac,_0x41e6aa;const _0x2a1d34=this[_0x4c10f3(0x3bd)][_0x4c10f3(0x376)](Ni),_0x73ed74=this['_configService'][_0x4c10f3(0x376)](q);return(_0x41e6aa=(_0x53f3ac=_0x73ed74==null?void 0x0:_0x73ed74[_0x4c10f3(0x28a)])!=null?_0x53f3ac:_0x2a1d34)!=null?_0x41e6aa:ms;}async['create'](_0x244bc8){var _0x394aa7=_0x4635a5;const _0x2bbd63=this[_0x394aa7(0x1f8)]()+'/'+_0x244bc8[_0x394aa7(0x25b)]+_0x394aa7(0x38f);return(await this[_0x394aa7(0x2fd)][_0x394aa7(0x3cd)](_0x2bbd63,{'body':_0x244bc8}))[_0x394aa7(0x454)]['objectID']||'';}async[_0x4635a5(0x48d)](_0x524218){var _0x5308fa=_0x4635a5;const _0x247e71=this[_0x5308fa(0x1f8)]()+'/-/object/list';return(await this[_0x5308fa(0x2fd)][_0x5308fa(0x3cd)](_0x247e71,{'body':_0x524218}))[_0x5308fa(0x454)]['objects'];}async[_0x4635a5(0x3f2)](_0x1a76eb){var _0x124ade=_0x4635a5,_0x49989d,_0x4013d2;const _0x4e0b28=this[_0x124ade(0x1f8)]()+'/'+_0x1a76eb[_0x124ade(0x25b)]+_0x124ade(0x4c6)+_0x1a76eb[_0x124ade(0x383)],_0x44f5d6=await this[_0x124ade(0x2fd)][_0x124ade(0x351)](_0x4e0b28,{'body':_0x1a76eb});if(((_0x4013d2=(_0x49989d=_0x44f5d6==null?void 0x0:_0x44f5d6[_0x124ade(0x454)])==null?void 0x0:_0x49989d[_0x124ade(0x3d9)])==null?void 0x0:_0x4013d2[_0x124ade(0x436)])!==0x1)throw new Error(_0x124ade(0x359));}async[_0x4635a5(0x341)](_0x5e85ea){var _0x8a7503=_0x4635a5;const _0x49fe5f=this[_0x8a7503(0x1f8)]()+'/'+_0x5e85ea[_0x8a7503(0x25b)]+'/object/'+_0x5e85ea[_0x8a7503(0x383)]+_0x8a7503(0x369);return(await this[_0x8a7503(0x2fd)][_0x8a7503(0x3cd)](_0x49fe5f,{'body':_0x5e85ea}))[_0x8a7503(0x454)][_0x8a7503(0x452)];}async['batchAllowed'](_0x3ec64a){var _0x13f006=_0x4635a5;const _0xa4bd7c=this[_0x13f006(0x1f8)]()+_0x13f006(0x1f3);return(await this[_0x13f006(0x2fd)]['post'](_0xa4bd7c,{'body':{'requests':_0x3ec64a}}))[_0x13f006(0x454)][_0x13f006(0x4a6)];}async['listRoles'](_0x590e37){var _0x18380f=_0x4635a5;const _0x398817=this[_0x18380f(0x1f8)]()+'/'+_0x590e37[_0x18380f(0x25b)]+_0x18380f(0x46a),_0x25781e=await this[_0x18380f(0x2fd)][_0x18380f(0x3cd)](_0x398817,{'body':_0x590e37});return{'roles':_0x25781e['body'][_0x18380f(0x23e)],'actions':_0x25781e[_0x18380f(0x454)][_0x18380f(0x452)]};}async['deleteCollaborator'](_0x29d372){var _0x4e07c0=_0x4635a5;const _0x1bfd6d=this[_0x4e07c0(0x1f8)]()+_0x4e07c0(0x23a);await this[_0x4e07c0(0x2fd)][_0x4e07c0(0x2f7)](_0x1bfd6d,{'params':{'collaboratorID':_0x29d372[_0x4e07c0(0x4b1)],'objectID':_0x29d372['objectID'],'unitID':_0x29d372[_0x4e07c0(0x3bc)]}});}async['updateCollaborator'](_0x368734){var _0x36a796=_0x4635a5;const _0x1dbb58=this[_0x36a796(0x1f8)]()+_0x36a796(0x23a);await this[_0x36a796(0x2fd)][_0x36a796(0x48b)](_0x1dbb58,{'body':_0x368734});}async[_0x4635a5(0x2b7)](_0x4a42d9){var _0x2809eb=_0x4635a5;const _0x55629a=this[_0x2809eb(0x1f8)]()+_0x2809eb(0x23a);await this[_0x2809eb(0x2fd)][_0x2809eb(0x3cd)](_0x55629a,{'body':_0x4a42d9});}async[_0x4635a5(0x271)](_0x4c9fd5){var _0x228ea4=_0x4635a5;const _0x2269a5=this['_getAPIPrefixPath']()+_0x228ea4(0x23a);return(await this[_0x228ea4(0x2fd)][_0x228ea4(0x2db)](_0x2269a5,{'params':{'objectID':_0x4c9fd5[_0x228ea4(0x383)],'unitID':_0x4c9fd5['unitID']}}))[_0x228ea4(0x454)][_0x228ea4(0x3c3)];}async[_0x4635a5(0x20a)](_0x2405ec){var _0x14cdfe=_0x4635a5;const _0x4da085=this['_getAPIPrefixPath']()+_0x14cdfe(0x23a);await this[_0x14cdfe(0x2fd)]['put'](_0x4da085,{'body':_0x2405ec});}};Rt=ps([Jt(0x0,_0x578b85(_0x3004fd)),Jt(0x1,_0x578b85(_0x2aefe0))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3e7ef3){var _0x49ad51=_0x4635a5;return _0x3e7ef3&&_0x3e7ef3['__esModule']&&Object[_0x49ad51(0x286)][_0x49ad51(0x4d4)][_0x49ad51(0x25e)](_0x3e7ef3,'default')?_0x3e7ef3[_0x49ad51(0x35d)]:_0x3e7ef3;}var Ve={'exports':{}};function gs(_0x248409){var _0x4677ce=_0x4635a5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x248409+_0x4677ce(0x48e));}var Ge={'exports':{}},Ss=Ge[_0x4635a5(0x381)],Xt;function ie(){var _0x1941dd=_0x4635a5;return Xt||(Xt=0x1,function(_0x37e114,_0x47791a){(function(_0x40c082,_0x5591e3){var _0x109395=_0x2074;_0x37e114[_0x109395(0x381)]=_0x5591e3();}(Ss,function(){var _0x3ed508=_0x3ed508||function(_0x1326bc,_0x389487){var _0x5c2247=_0x2074,_0x5066bd;if(typeof window<'u'&&window['crypto']&&(_0x5066bd=window[_0x5c2247(0x348)]),typeof self<'u'&&self[_0x5c2247(0x348)]&&(_0x5066bd=self[_0x5c2247(0x348)]),typeof globalThis<'u'&&globalThis[_0x5c2247(0x348)]&&(_0x5066bd=globalThis[_0x5c2247(0x348)]),!_0x5066bd&&typeof window<'u'&&window[_0x5c2247(0x44d)]&&(_0x5066bd=window['msCrypto']),!_0x5066bd&&typeof pt<'u'&&pt[_0x5c2247(0x348)]&&(_0x5066bd=pt['crypto']),!_0x5066bd&&typeof gs==_0x5c2247(0x1dd))try{_0x5066bd=require('crypto');}catch{}var _0x2010c4=function(){var _0x1d234=_0x5c2247;if(_0x5066bd){if(typeof _0x5066bd[_0x1d234(0x4b3)]=='function')try{return _0x5066bd['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5066bd[_0x1d234(0x3ff)]==_0x1d234(0x1dd))try{return _0x5066bd[_0x1d234(0x3ff)](0x4)[_0x1d234(0x35e)]();}catch{}}throw new Error(_0x1d234(0x257));},_0x53d9b2=Object[_0x5c2247(0x352)]||(function(){function _0x157af8(){}return function(_0x106675){var _0x23d3ab;return _0x157af8['prototype']=_0x106675,_0x23d3ab=new _0x157af8(),_0x157af8['prototype']=null,_0x23d3ab;};}()),_0x580559={},_0xa9062b=_0x580559[_0x5c2247(0x226)]={},_0x2efb43=_0xa9062b['Base']=(function(){return{'extend':function(_0x451de3){var _0x59c220=_0x2074,_0x3e18b3=_0x53d9b2(this);return _0x451de3&&_0x3e18b3['mixIn'](_0x451de3),(!_0x3e18b3[_0x59c220(0x4d4)](_0x59c220(0x4ac))||this[_0x59c220(0x4ac)]===_0x3e18b3[_0x59c220(0x4ac)])&&(_0x3e18b3[_0x59c220(0x4ac)]=function(){_0x3e18b3['$super']['init']['apply'](this,arguments);}),_0x3e18b3[_0x59c220(0x4ac)][_0x59c220(0x286)]=_0x3e18b3,_0x3e18b3['$super']=this,_0x3e18b3;},'create':function(){var _0x1e11d0=_0x2074,_0xb1b308=this['extend']();return _0xb1b308[_0x1e11d0(0x4ac)][_0x1e11d0(0x4e2)](_0xb1b308,arguments),_0xb1b308;},'init':function(){},'mixIn':function(_0x48d908){var _0xdeb2eb=_0x2074;for(var _0x46a5fc in _0x48d908)_0x48d908[_0xdeb2eb(0x4d4)](_0x46a5fc)&&(this[_0x46a5fc]=_0x48d908[_0x46a5fc]);_0x48d908[_0xdeb2eb(0x4d4)](_0xdeb2eb(0x305))&&(this[_0xdeb2eb(0x305)]=_0x48d908['toString']);},'clone':function(){var _0x48d2ec=_0x2074;return this[_0x48d2ec(0x4ac)]['prototype'][_0x48d2ec(0x2c1)](this);}};}()),_0x3e5aef=_0xa9062b[_0x5c2247(0x354)]=_0x2efb43[_0x5c2247(0x2c1)]({'init':function(_0x9ff875,_0x3f011e){var _0x1b3d1a=_0x5c2247;_0x9ff875=this[_0x1b3d1a(0x260)]=_0x9ff875||[],_0x3f011e!=_0x389487?this[_0x1b3d1a(0x37d)]=_0x3f011e:this[_0x1b3d1a(0x37d)]=_0x9ff875[_0x1b3d1a(0x45b)]*0x4;},'toString':function(_0x20339c){var _0x5a262d=_0x5c2247;return(_0x20339c||_0x36cafc)[_0x5a262d(0x277)](this);},'concat':function(_0xae9dee){var _0x5786b8=_0x5c2247,_0x31462d=this[_0x5786b8(0x260)],_0x15826f=_0xae9dee[_0x5786b8(0x260)],_0x46a901=this[_0x5786b8(0x37d)],_0x322cf2=_0xae9dee[_0x5786b8(0x37d)];if(this[_0x5786b8(0x2dc)](),_0x46a901%0x4)for(var _0x1d2a20=0x0;_0x1d2a20<_0x322cf2;_0x1d2a20++){var _0x4f0ba1=_0x15826f[_0x1d2a20>>>0x2]>>>0x18-_0x1d2a20%0x4*0x8&0xff;_0x31462d[_0x46a901+_0x1d2a20>>>0x2]|=_0x4f0ba1<<0x18-(_0x46a901+_0x1d2a20)%0x4*0x8;}else{for(var _0x3bcc20=0x0;_0x3bcc20<_0x322cf2;_0x3bcc20+=0x4)_0x31462d[_0x46a901+_0x3bcc20>>>0x2]=_0x15826f[_0x3bcc20>>>0x2];}return this[_0x5786b8(0x37d)]+=_0x322cf2,this;},'clamp':function(){var _0x3e3e50=_0x5c2247,_0x1252f7=this[_0x3e3e50(0x260)],_0x1f2397=this[_0x3e3e50(0x37d)];_0x1252f7[_0x1f2397>>>0x2]&=0xffffffff<<0x20-_0x1f2397%0x4*0x8,_0x1252f7[_0x3e3e50(0x45b)]=_0x1326bc[_0x3e3e50(0x4d0)](_0x1f2397/0x4);},'clone':function(){var _0x1baeed=_0x5c2247,_0x6521e5=_0x2efb43[_0x1baeed(0x2e4)]['call'](this);return _0x6521e5[_0x1baeed(0x260)]=this[_0x1baeed(0x260)][_0x1baeed(0x2e0)](0x0),_0x6521e5;},'random':function(_0x154f56){var _0x492258=_0x5c2247;for(var _0x1b65e5=[],_0xe829ec=0x0;_0xe829ec<_0x154f56;_0xe829ec+=0x4)_0x1b65e5[_0x492258(0x1fb)](_0x2010c4());return new _0x3e5aef[(_0x492258(0x4ac))](_0x1b65e5,_0x154f56);}}),_0x3dffb9=_0x580559[_0x5c2247(0x402)]={},_0x36cafc=_0x3dffb9[_0x5c2247(0x31e)]={'stringify':function(_0x49ca93){var _0x109eec=_0x5c2247;for(var _0xb3fc23=_0x49ca93[_0x109eec(0x260)],_0x5b9239=_0x49ca93[_0x109eec(0x37d)],_0x203b6f=[],_0x2e8577=0x0;_0x2e8577<_0x5b9239;_0x2e8577++){var _0x1518db=_0xb3fc23[_0x2e8577>>>0x2]>>>0x18-_0x2e8577%0x4*0x8&0xff;_0x203b6f[_0x109eec(0x1fb)]((_0x1518db>>>0x4)[_0x109eec(0x305)](0x10)),_0x203b6f[_0x109eec(0x1fb)]((_0x1518db&0xf)['toString'](0x10));}return _0x203b6f['join']('');},'parse':function(_0x31d8f7){var _0x1fa00e=_0x5c2247;for(var _0x3103ce=_0x31d8f7[_0x1fa00e(0x45b)],_0xc9eac4=[],_0x325b16=0x0;_0x325b16<_0x3103ce;_0x325b16+=0x2)_0xc9eac4[_0x325b16>>>0x3]|=parseInt(_0x31d8f7[_0x1fa00e(0x374)](_0x325b16,0x2),0x10)<<0x18-_0x325b16%0x8*0x4;return new _0x3e5aef[(_0x1fa00e(0x4ac))](_0xc9eac4,_0x3103ce/0x2);}},_0x11dfd8=_0x3dffb9['Latin1']={'stringify':function(_0x50181a){var _0xfa08ef=_0x5c2247;for(var _0x16fd94=_0x50181a[_0xfa08ef(0x260)],_0x5e074b=_0x50181a[_0xfa08ef(0x37d)],_0x70941=[],_0x2eb032=0x0;_0x2eb032<_0x5e074b;_0x2eb032++){var _0x209d88=_0x16fd94[_0x2eb032>>>0x2]>>>0x18-_0x2eb032%0x4*0x8&0xff;_0x70941[_0xfa08ef(0x1fb)](String[_0xfa08ef(0x256)](_0x209d88));}return _0x70941[_0xfa08ef(0x3e2)]('');},'parse':function(_0x13d655){var _0x2699ee=_0x5c2247;for(var _0xe41a2a=_0x13d655[_0x2699ee(0x45b)],_0x27386a=[],_0x5d60e6=0x0;_0x5d60e6<_0xe41a2a;_0x5d60e6++)_0x27386a[_0x5d60e6>>>0x2]|=(_0x13d655[_0x2699ee(0x33b)](_0x5d60e6)&0xff)<<0x18-_0x5d60e6%0x4*0x8;return new _0x3e5aef[(_0x2699ee(0x4ac))](_0x27386a,_0xe41a2a);}},_0x4d3849=_0x3dffb9[_0x5c2247(0x342)]={'stringify':function(_0x205680){var _0x5d8a66=_0x5c2247;try{return decodeURIComponent(escape(_0x11dfd8['stringify'](_0x205680)));}catch{throw new Error(_0x5d8a66(0x2f9));}},'parse':function(_0x2097bc){var _0x42acc2=_0x5c2247;return _0x11dfd8[_0x42acc2(0x3a7)](unescape(encodeURIComponent(_0x2097bc)));}},_0x531784=_0xa9062b[_0x5c2247(0x25d)]=_0x2efb43[_0x5c2247(0x2c1)]({'reset':function(){var _0x152d10=_0x5c2247;this['_data']=new _0x3e5aef[(_0x152d10(0x4ac))](),this[_0x152d10(0x21d)]=0x0;},'_append':function(_0x2457de){var _0x88e6d2=_0x5c2247;typeof _0x2457de==_0x88e6d2(0x4c7)&&(_0x2457de=_0x4d3849[_0x88e6d2(0x3a7)](_0x2457de)),this['_data'][_0x88e6d2(0x4de)](_0x2457de),this['_nDataBytes']+=_0x2457de['sigBytes'];},'_process':function(_0xd4148c){var _0x5c4fcb=_0x5c2247,_0x424aba,_0x33e9a5=this[_0x5c4fcb(0x2bc)],_0x2c7007=_0x33e9a5['words'],_0x2dde8a=_0x33e9a5[_0x5c4fcb(0x37d)],_0x2fe044=this['blockSize'],_0x4d937e=_0x2fe044*0x4,_0x344c3d=_0x2dde8a/_0x4d937e;_0xd4148c?_0x344c3d=_0x1326bc[_0x5c4fcb(0x4d0)](_0x344c3d):_0x344c3d=_0x1326bc['max']((_0x344c3d|0x0)-this[_0x5c4fcb(0x413)],0x0);var _0x572c63=_0x344c3d*_0x2fe044,_0x3f26cb=_0x1326bc[_0x5c4fcb(0x213)](_0x572c63*0x4,_0x2dde8a);if(_0x572c63){for(var _0x55f70b=0x0;_0x55f70b<_0x572c63;_0x55f70b+=_0x2fe044)this[_0x5c4fcb(0x267)](_0x2c7007,_0x55f70b);_0x424aba=_0x2c7007[_0x5c4fcb(0x22a)](0x0,_0x572c63),_0x33e9a5[_0x5c4fcb(0x37d)]-=_0x3f26cb;}return new _0x3e5aef[(_0x5c4fcb(0x4ac))](_0x424aba,_0x3f26cb);},'clone':function(){var _0x28661a=_0x5c2247,_0x51ac62=_0x2efb43['clone'][_0x28661a(0x25e)](this);return _0x51ac62[_0x28661a(0x2bc)]=this[_0x28661a(0x2bc)][_0x28661a(0x2e4)](),_0x51ac62;},'_minBufferSize':0x0});_0xa9062b[_0x5c2247(0x4a3)]=_0x531784['extend']({'cfg':_0x2efb43['extend'](),'init':function(_0x32a332){var _0x7372b0=_0x5c2247;this[_0x7372b0(0x1e7)]=this[_0x7372b0(0x1e7)][_0x7372b0(0x2c1)](_0x32a332),this['reset']();},'reset':function(){_0x531784['reset']['call'](this),this['_doReset']();},'update':function(_0x42e74e){var _0x9a9de5=_0x5c2247;return this[_0x9a9de5(0x45a)](_0x42e74e),this['_process'](),this;},'finalize':function(_0x4ac27d){var _0x2e85b4=_0x5c2247;_0x4ac27d&&this[_0x2e85b4(0x45a)](_0x4ac27d);var _0x567930=this[_0x2e85b4(0x370)]();return _0x567930;},'blockSize':0x10,'_createHelper':function(_0x6c64b0){return function(_0x5bbe79,_0x17a5c0){var _0x41dda5=_0x2074;return new _0x6c64b0[(_0x41dda5(0x4ac))](_0x17a5c0)[_0x41dda5(0x3ce)](_0x5bbe79);};},'_createHmacHelper':function(_0x26eddd){return function(_0x58db62,_0x4dfec6){var _0x2aee0c=_0x2074;return new _0x25f3aa['HMAC']['init'](_0x26eddd,_0x4dfec6)[_0x2aee0c(0x3ce)](_0x58db62);};}});var _0x25f3aa=_0x580559[_0x5c2247(0x37b)]={};return _0x580559;}(Math);return _0x3ed508;}));}(Ge)),Ge[_0x1941dd(0x381)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x1f4d0c,_0x3e51f6){(function(_0x3c0f3d,_0x58f699){var _0x58fa7a=_0x2074;_0x1f4d0c[_0x58fa7a(0x381)]=_0x58f699(ie());}(Es,function(_0x2e66e6){var _0x269f0f=_0x2074;return(function(){var _0x889b2f=_0x2074,_0x4ad026=_0x2e66e6,_0xa45b65=_0x4ad026[_0x889b2f(0x226)],_0x185159=_0xa45b65['WordArray'],_0x4d33ff=_0x4ad026['enc'];_0x4d33ff['Base64']={'stringify':function(_0x61ca43){var _0x5239e2=_0x889b2f,_0x350714=_0x61ca43[_0x5239e2(0x260)],_0x1d84b9=_0x61ca43[_0x5239e2(0x37d)],_0x16c3a7=this[_0x5239e2(0x1e5)];_0x61ca43[_0x5239e2(0x2dc)]();for(var _0x392336=[],_0x4a6893=0x0;_0x4a6893<_0x1d84b9;_0x4a6893+=0x3)for(var _0x204dce=_0x350714[_0x4a6893>>>0x2]>>>0x18-_0x4a6893%0x4*0x8&0xff,_0x1855e5=_0x350714[_0x4a6893+0x1>>>0x2]>>>0x18-(_0x4a6893+0x1)%0x4*0x8&0xff,_0x407b1d=_0x350714[_0x4a6893+0x2>>>0x2]>>>0x18-(_0x4a6893+0x2)%0x4*0x8&0xff,_0x13046b=_0x204dce<<0x10|_0x1855e5<<0x8|_0x407b1d,_0x4af718=0x0;_0x4af718<0x4&&_0x4a6893+_0x4af718*0.75<_0x1d84b9;_0x4af718++)_0x392336[_0x5239e2(0x1fb)](_0x16c3a7['charAt'](_0x13046b>>>0x6*(0x3-_0x4af718)&0x3f));var _0x14cfbb=_0x16c3a7['charAt'](0x40);if(_0x14cfbb){for(;_0x392336[_0x5239e2(0x45b)]%0x4;)_0x392336[_0x5239e2(0x1fb)](_0x14cfbb);}return _0x392336[_0x5239e2(0x3e2)]('');},'parse':function(_0x2cabd5){var _0x15131a=_0x889b2f,_0x356f92=_0x2cabd5[_0x15131a(0x45b)],_0x2b0ede=this['_map'],_0x5cf757=this[_0x15131a(0x366)];if(!_0x5cf757){_0x5cf757=this[_0x15131a(0x366)]=[];for(var _0x4752e3=0x0;_0x4752e3<_0x2b0ede[_0x15131a(0x45b)];_0x4752e3++)_0x5cf757[_0x2b0ede['charCodeAt'](_0x4752e3)]=_0x4752e3;}var _0x546b54=_0x2b0ede[_0x15131a(0x49e)](0x40);if(_0x546b54){var _0x522281=_0x2cabd5[_0x15131a(0x298)](_0x546b54);_0x522281!==-0x1&&(_0x356f92=_0x522281);}return _0xdff735(_0x2cabd5,_0x356f92,_0x5cf757);},'_map':_0x889b2f(0x2ac)};function _0xdff735(_0x21c57e,_0x3727f3,_0x937646){var _0x38667c=_0x889b2f;for(var _0x4249bd=[],_0x2f3f71=0x0,_0x312dc5=0x0;_0x312dc5<_0x3727f3;_0x312dc5++)if(_0x312dc5%0x4){var _0x3df5a4=_0x937646[_0x21c57e[_0x38667c(0x33b)](_0x312dc5-0x1)]<<_0x312dc5%0x4*0x2,_0x553b4e=_0x937646[_0x21c57e[_0x38667c(0x33b)](_0x312dc5)]>>>0x6-_0x312dc5%0x4*0x2,_0x38909d=_0x3df5a4|_0x553b4e;_0x4249bd[_0x2f3f71>>>0x2]|=_0x38909d<<0x18-_0x2f3f71%0x4*0x8,_0x2f3f71++;}return _0x185159[_0x38667c(0x352)](_0x4249bd,_0x2f3f71);}}()),_0x2e66e6[_0x269f0f(0x402)][_0x269f0f(0x300)];}));}(We)),We['exports'];}var Ye={'exports':{}},Is=Ye[_0x4635a5(0x381)],Qt;function Ts(){var _0xf80b81=_0x4635a5;return Qt||(Qt=0x1,function(_0x1a67a7,_0x3b5f4c){(function(_0x1f3c69,_0xacad98){var _0x3e258c=_0x2074;_0x1a67a7[_0x3e258c(0x381)]=_0xacad98(ie());}(Is,function(_0x35b239){var _0x3fcdee=_0x2074;return function(_0x3411e2){var _0x30f5ed=_0x2074,_0x1f136e=_0x35b239,_0x4ceefb=_0x1f136e[_0x30f5ed(0x226)],_0x5a819f=_0x4ceefb[_0x30f5ed(0x354)],_0x17ac79=_0x4ceefb['Hasher'],_0x26d5df=_0x1f136e[_0x30f5ed(0x37b)],_0xedca31=[];(function(){var _0x303976=_0x30f5ed;for(var _0xd5c898=0x0;_0xd5c898<0x40;_0xd5c898++)_0xedca31[_0xd5c898]=_0x3411e2[_0x303976(0x379)](_0x3411e2[_0x303976(0x421)](_0xd5c898+0x1))*0x100000000|0x0;}());var _0x51fdf4=_0x26d5df[_0x30f5ed(0x365)]=_0x17ac79[_0x30f5ed(0x2c1)]({'_doReset':function(){var _0x5b0105=_0x30f5ed;this[_0x5b0105(0x234)]=new _0x5a819f[(_0x5b0105(0x4ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x6dc83c,_0x39bb0d){var _0x3b488a=_0x30f5ed;for(var _0x1ec4ab=0x0;_0x1ec4ab<0x10;_0x1ec4ab++){var _0xac1b9=_0x39bb0d+_0x1ec4ab,_0x4cc90a=_0x6dc83c[_0xac1b9];_0x6dc83c[_0xac1b9]=(_0x4cc90a<<0x8|_0x4cc90a>>>0x18)&0xff00ff|(_0x4cc90a<<0x18|_0x4cc90a>>>0x8)&0xff00ff00;}var _0x203ab6=this[_0x3b488a(0x234)]['words'],_0x4fca7c=_0x6dc83c[_0x39bb0d+0x0],_0x5ad489=_0x6dc83c[_0x39bb0d+0x1],_0x4d2777=_0x6dc83c[_0x39bb0d+0x2],_0x30a0e5=_0x6dc83c[_0x39bb0d+0x3],_0x4210e4=_0x6dc83c[_0x39bb0d+0x4],_0x33fdd5=_0x6dc83c[_0x39bb0d+0x5],_0x5b6039=_0x6dc83c[_0x39bb0d+0x6],_0x164466=_0x6dc83c[_0x39bb0d+0x7],_0x4c993f=_0x6dc83c[_0x39bb0d+0x8],_0x62ed17=_0x6dc83c[_0x39bb0d+0x9],_0x2166c3=_0x6dc83c[_0x39bb0d+0xa],_0x5c10a4=_0x6dc83c[_0x39bb0d+0xb],_0x5eb864=_0x6dc83c[_0x39bb0d+0xc],_0x163f42=_0x6dc83c[_0x39bb0d+0xd],_0x4cfde0=_0x6dc83c[_0x39bb0d+0xe],_0x253c25=_0x6dc83c[_0x39bb0d+0xf],_0x49fc40=_0x203ab6[0x0],_0x463350=_0x203ab6[0x1],_0x4debd2=_0x203ab6[0x2],_0x4e377a=_0x203ab6[0x3];_0x49fc40=_0x3e1d9c(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4fca7c,0x7,_0xedca31[0x0]),_0x4e377a=_0x3e1d9c(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x5ad489,0xc,_0xedca31[0x1]),_0x4debd2=_0x3e1d9c(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x4d2777,0x11,_0xedca31[0x2]),_0x463350=_0x3e1d9c(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x30a0e5,0x16,_0xedca31[0x3]),_0x49fc40=_0x3e1d9c(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4210e4,0x7,_0xedca31[0x4]),_0x4e377a=_0x3e1d9c(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x33fdd5,0xc,_0xedca31[0x5]),_0x4debd2=_0x3e1d9c(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x5b6039,0x11,_0xedca31[0x6]),_0x463350=_0x3e1d9c(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x164466,0x16,_0xedca31[0x7]),_0x49fc40=_0x3e1d9c(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4c993f,0x7,_0xedca31[0x8]),_0x4e377a=_0x3e1d9c(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x62ed17,0xc,_0xedca31[0x9]),_0x4debd2=_0x3e1d9c(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x2166c3,0x11,_0xedca31[0xa]),_0x463350=_0x3e1d9c(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x5c10a4,0x16,_0xedca31[0xb]),_0x49fc40=_0x3e1d9c(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x5eb864,0x7,_0xedca31[0xc]),_0x4e377a=_0x3e1d9c(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x163f42,0xc,_0xedca31[0xd]),_0x4debd2=_0x3e1d9c(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x4cfde0,0x11,_0xedca31[0xe]),_0x463350=_0x3e1d9c(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x253c25,0x16,_0xedca31[0xf]),_0x49fc40=_0x150ca3(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x5ad489,0x5,_0xedca31[0x10]),_0x4e377a=_0x150ca3(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x5b6039,0x9,_0xedca31[0x11]),_0x4debd2=_0x150ca3(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x5c10a4,0xe,_0xedca31[0x12]),_0x463350=_0x150ca3(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x4fca7c,0x14,_0xedca31[0x13]),_0x49fc40=_0x150ca3(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x33fdd5,0x5,_0xedca31[0x14]),_0x4e377a=_0x150ca3(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x2166c3,0x9,_0xedca31[0x15]),_0x4debd2=_0x150ca3(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x253c25,0xe,_0xedca31[0x16]),_0x463350=_0x150ca3(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x4210e4,0x14,_0xedca31[0x17]),_0x49fc40=_0x150ca3(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x62ed17,0x5,_0xedca31[0x18]),_0x4e377a=_0x150ca3(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x4cfde0,0x9,_0xedca31[0x19]),_0x4debd2=_0x150ca3(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x30a0e5,0xe,_0xedca31[0x1a]),_0x463350=_0x150ca3(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x4c993f,0x14,_0xedca31[0x1b]),_0x49fc40=_0x150ca3(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x163f42,0x5,_0xedca31[0x1c]),_0x4e377a=_0x150ca3(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x4d2777,0x9,_0xedca31[0x1d]),_0x4debd2=_0x150ca3(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x164466,0xe,_0xedca31[0x1e]),_0x463350=_0x150ca3(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x5eb864,0x14,_0xedca31[0x1f]),_0x49fc40=_0x32ef06(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x33fdd5,0x4,_0xedca31[0x20]),_0x4e377a=_0x32ef06(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x4c993f,0xb,_0xedca31[0x21]),_0x4debd2=_0x32ef06(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x5c10a4,0x10,_0xedca31[0x22]),_0x463350=_0x32ef06(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x4cfde0,0x17,_0xedca31[0x23]),_0x49fc40=_0x32ef06(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x5ad489,0x4,_0xedca31[0x24]),_0x4e377a=_0x32ef06(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x4210e4,0xb,_0xedca31[0x25]),_0x4debd2=_0x32ef06(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x164466,0x10,_0xedca31[0x26]),_0x463350=_0x32ef06(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x2166c3,0x17,_0xedca31[0x27]),_0x49fc40=_0x32ef06(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x163f42,0x4,_0xedca31[0x28]),_0x4e377a=_0x32ef06(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x4fca7c,0xb,_0xedca31[0x29]),_0x4debd2=_0x32ef06(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x30a0e5,0x10,_0xedca31[0x2a]),_0x463350=_0x32ef06(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x5b6039,0x17,_0xedca31[0x2b]),_0x49fc40=_0x32ef06(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x62ed17,0x4,_0xedca31[0x2c]),_0x4e377a=_0x32ef06(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x5eb864,0xb,_0xedca31[0x2d]),_0x4debd2=_0x32ef06(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x253c25,0x10,_0xedca31[0x2e]),_0x463350=_0x32ef06(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x4d2777,0x17,_0xedca31[0x2f]),_0x49fc40=_0x15665a(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4fca7c,0x6,_0xedca31[0x30]),_0x4e377a=_0x15665a(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x164466,0xa,_0xedca31[0x31]),_0x4debd2=_0x15665a(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x4cfde0,0xf,_0xedca31[0x32]),_0x463350=_0x15665a(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x33fdd5,0x15,_0xedca31[0x33]),_0x49fc40=_0x15665a(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x5eb864,0x6,_0xedca31[0x34]),_0x4e377a=_0x15665a(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x30a0e5,0xa,_0xedca31[0x35]),_0x4debd2=_0x15665a(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x2166c3,0xf,_0xedca31[0x36]),_0x463350=_0x15665a(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x5ad489,0x15,_0xedca31[0x37]),_0x49fc40=_0x15665a(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4c993f,0x6,_0xedca31[0x38]),_0x4e377a=_0x15665a(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x253c25,0xa,_0xedca31[0x39]),_0x4debd2=_0x15665a(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x5b6039,0xf,_0xedca31[0x3a]),_0x463350=_0x15665a(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x163f42,0x15,_0xedca31[0x3b]),_0x49fc40=_0x15665a(_0x49fc40,_0x463350,_0x4debd2,_0x4e377a,_0x4210e4,0x6,_0xedca31[0x3c]),_0x4e377a=_0x15665a(_0x4e377a,_0x49fc40,_0x463350,_0x4debd2,_0x5c10a4,0xa,_0xedca31[0x3d]),_0x4debd2=_0x15665a(_0x4debd2,_0x4e377a,_0x49fc40,_0x463350,_0x4d2777,0xf,_0xedca31[0x3e]),_0x463350=_0x15665a(_0x463350,_0x4debd2,_0x4e377a,_0x49fc40,_0x62ed17,0x15,_0xedca31[0x3f]),_0x203ab6[0x0]=_0x203ab6[0x0]+_0x49fc40|0x0,_0x203ab6[0x1]=_0x203ab6[0x1]+_0x463350|0x0,_0x203ab6[0x2]=_0x203ab6[0x2]+_0x4debd2|0x0,_0x203ab6[0x3]=_0x203ab6[0x3]+_0x4e377a|0x0;},'_doFinalize':function(){var _0x525b3c=_0x30f5ed,_0x14a010=this['_data'],_0x4e8059=_0x14a010[_0x525b3c(0x260)],_0x1b7600=this['_nDataBytes']*0x8,_0x555773=_0x14a010['sigBytes']*0x8;_0x4e8059[_0x555773>>>0x5]|=0x80<<0x18-_0x555773%0x20;var _0x22e607=_0x3411e2[_0x525b3c(0x3a8)](_0x1b7600/0x100000000),_0x1ab5a6=_0x1b7600;_0x4e8059[(_0x555773+0x40>>>0x9<<0x4)+0xf]=(_0x22e607<<0x8|_0x22e607>>>0x18)&0xff00ff|(_0x22e607<<0x18|_0x22e607>>>0x8)&0xff00ff00,_0x4e8059[(_0x555773+0x40>>>0x9<<0x4)+0xe]=(_0x1ab5a6<<0x8|_0x1ab5a6>>>0x18)&0xff00ff|(_0x1ab5a6<<0x18|_0x1ab5a6>>>0x8)&0xff00ff00,_0x14a010[_0x525b3c(0x37d)]=(_0x4e8059[_0x525b3c(0x45b)]+0x1)*0x4,this[_0x525b3c(0x2f2)]();for(var _0x56187f=this[_0x525b3c(0x234)],_0x12db55=_0x56187f['words'],_0x53bf5d=0x0;_0x53bf5d<0x4;_0x53bf5d++){var _0x25a9ec=_0x12db55[_0x53bf5d];_0x12db55[_0x53bf5d]=(_0x25a9ec<<0x8|_0x25a9ec>>>0x18)&0xff00ff|(_0x25a9ec<<0x18|_0x25a9ec>>>0x8)&0xff00ff00;}return _0x56187f;},'clone':function(){var _0x205df5=_0x30f5ed,_0x526f0c=_0x17ac79[_0x205df5(0x2e4)]['call'](this);return _0x526f0c[_0x205df5(0x234)]=this[_0x205df5(0x234)][_0x205df5(0x2e4)](),_0x526f0c;}});function _0x3e1d9c(_0x4a4e24,_0xf47c2,_0x46b918,_0x48e10e,_0x4ec585,_0x43fc12,_0x4c3138){var _0x2c6164=_0x4a4e24+(_0xf47c2&_0x46b918|~_0xf47c2&_0x48e10e)+_0x4ec585+_0x4c3138;return(_0x2c6164<<_0x43fc12|_0x2c6164>>>0x20-_0x43fc12)+_0xf47c2;}function _0x150ca3(_0x18aee6,_0xbab08b,_0x1d2a61,_0x3d3e8b,_0x22128f,_0x54c9d2,_0x382502){var _0x2298ed=_0x18aee6+(_0xbab08b&_0x3d3e8b|_0x1d2a61&~_0x3d3e8b)+_0x22128f+_0x382502;return(_0x2298ed<<_0x54c9d2|_0x2298ed>>>0x20-_0x54c9d2)+_0xbab08b;}function _0x32ef06(_0x5cf391,_0x38db0a,_0x50ee2d,_0x5c97e1,_0x1cbc85,_0x19bd4d,_0xc8a5d8){var _0x2c0dda=_0x5cf391+(_0x38db0a^_0x50ee2d^_0x5c97e1)+_0x1cbc85+_0xc8a5d8;return(_0x2c0dda<<_0x19bd4d|_0x2c0dda>>>0x20-_0x19bd4d)+_0x38db0a;}function _0x15665a(_0x10db3f,_0x4fae25,_0x1e5982,_0x3a833e,_0x427e0f,_0x25c9fa,_0x5ebb8d){var _0x3e8a73=_0x10db3f+(_0x1e5982^(_0x4fae25|~_0x3a833e))+_0x427e0f+_0x5ebb8d;return(_0x3e8a73<<_0x25c9fa|_0x3e8a73>>>0x20-_0x25c9fa)+_0x4fae25;}_0x1f136e[_0x30f5ed(0x365)]=_0x17ac79['_createHelper'](_0x51fdf4),_0x1f136e['HmacMD5']=_0x17ac79[_0x30f5ed(0x37e)](_0x51fdf4);}(Math),_0x35b239[_0x3fcdee(0x365)];}));}(Ye)),Ye[_0xf80b81(0x381)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x4635a5(0x381)],ei;function Rs(){var _0xd527a3=_0x4635a5;return ei||(ei=0x1,function(_0x5c3749,_0x4540e1){(function(_0x45f556,_0x5dc3af){var _0x3c42ef=_0x2074;_0x5c3749[_0x3c42ef(0x381)]=_0x5dc3af(ie());}(Cs,function(_0x228f6e){return(function(){var _0x576b4d=_0x2074,_0x921397=_0x228f6e,_0x4779ca=_0x921397[_0x576b4d(0x226)],_0x292db0=_0x4779ca[_0x576b4d(0x354)],_0x4cfd83=_0x4779ca[_0x576b4d(0x4a3)],_0x471d03=_0x921397['algo'],_0x431033=[],_0x16861f=_0x471d03[_0x576b4d(0x272)]=_0x4cfd83[_0x576b4d(0x2c1)]({'_doReset':function(){var _0x50ee3a=_0x576b4d;this[_0x50ee3a(0x234)]=new _0x292db0['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40cc2d,_0x1c7914){var _0x50f098=_0x576b4d;for(var _0x2ad0b7=this[_0x50f098(0x234)]['words'],_0x31f03a=_0x2ad0b7[0x0],_0x10acef=_0x2ad0b7[0x1],_0x465d22=_0x2ad0b7[0x2],_0x59de37=_0x2ad0b7[0x3],_0x492ee6=_0x2ad0b7[0x4],_0x1f606f=0x0;_0x1f606f<0x50;_0x1f606f++){if(_0x1f606f<0x10)_0x431033[_0x1f606f]=_0x40cc2d[_0x1c7914+_0x1f606f]|0x0;else{var _0x4c7388=_0x431033[_0x1f606f-0x3]^_0x431033[_0x1f606f-0x8]^_0x431033[_0x1f606f-0xe]^_0x431033[_0x1f606f-0x10];_0x431033[_0x1f606f]=_0x4c7388<<0x1|_0x4c7388>>>0x1f;}var _0x49167b=(_0x31f03a<<0x5|_0x31f03a>>>0x1b)+_0x492ee6+_0x431033[_0x1f606f];_0x1f606f<0x14?_0x49167b+=(_0x10acef&_0x465d22|~_0x10acef&_0x59de37)+0x5a827999:_0x1f606f<0x28?_0x49167b+=(_0x10acef^_0x465d22^_0x59de37)+0x6ed9eba1:_0x1f606f<0x3c?_0x49167b+=(_0x10acef&_0x465d22|_0x10acef&_0x59de37|_0x465d22&_0x59de37)-0x70e44324:_0x49167b+=(_0x10acef^_0x465d22^_0x59de37)-0x359d3e2a,_0x492ee6=_0x59de37,_0x59de37=_0x465d22,_0x465d22=_0x10acef<<0x1e|_0x10acef>>>0x2,_0x10acef=_0x31f03a,_0x31f03a=_0x49167b;}_0x2ad0b7[0x0]=_0x2ad0b7[0x0]+_0x31f03a|0x0,_0x2ad0b7[0x1]=_0x2ad0b7[0x1]+_0x10acef|0x0,_0x2ad0b7[0x2]=_0x2ad0b7[0x2]+_0x465d22|0x0,_0x2ad0b7[0x3]=_0x2ad0b7[0x3]+_0x59de37|0x0,_0x2ad0b7[0x4]=_0x2ad0b7[0x4]+_0x492ee6|0x0;},'_doFinalize':function(){var _0x4c5353=_0x576b4d,_0x2eebf4=this[_0x4c5353(0x2bc)],_0x4245d9=_0x2eebf4[_0x4c5353(0x260)],_0x2af042=this[_0x4c5353(0x21d)]*0x8,_0x5dfe7a=_0x2eebf4[_0x4c5353(0x37d)]*0x8;return _0x4245d9[_0x5dfe7a>>>0x5]|=0x80<<0x18-_0x5dfe7a%0x20,_0x4245d9[(_0x5dfe7a+0x40>>>0x9<<0x4)+0xe]=Math[_0x4c5353(0x3a8)](_0x2af042/0x100000000),_0x4245d9[(_0x5dfe7a+0x40>>>0x9<<0x4)+0xf]=_0x2af042,_0x2eebf4[_0x4c5353(0x37d)]=_0x4245d9['length']*0x4,this[_0x4c5353(0x2f2)](),this[_0x4c5353(0x234)];},'clone':function(){var _0x22fb83=_0x576b4d,_0x565370=_0x4cfd83['clone'][_0x22fb83(0x25e)](this);return _0x565370['_hash']=this[_0x22fb83(0x234)][_0x22fb83(0x2e4)](),_0x565370;}});_0x921397[_0x576b4d(0x272)]=_0x4cfd83[_0x576b4d(0x417)](_0x16861f),_0x921397[_0x576b4d(0x237)]=_0x4cfd83[_0x576b4d(0x37e)](_0x16861f);}()),_0x228f6e['SHA1'];}));}(qe)),qe[_0xd527a3(0x381)];}var ze={'exports':{}},bs=ze[_0x4635a5(0x381)],ti;function Os(){return ti||(ti=0x1,function(_0x4e9e17,_0x2c3df4){(function(_0x52e129,_0x1d6113){var _0x21e0e9=_0x2074;_0x4e9e17[_0x21e0e9(0x381)]=_0x1d6113(ie());}(bs,function(_0x25908e){(function(){var _0x152a8a=_0x2074,_0x5d6841=_0x25908e,_0x4b5238=_0x5d6841['lib'],_0x89b9ae=_0x4b5238[_0x152a8a(0x362)],_0x352870=_0x5d6841[_0x152a8a(0x402)],_0x2e9d81=_0x352870[_0x152a8a(0x342)],_0x49d7a2=_0x5d6841['algo'];_0x49d7a2[_0x152a8a(0x31f)]=_0x89b9ae['extend']({'init':function(_0x5d47f0,_0xd61af5){var _0x3c1a00=_0x152a8a;_0x5d47f0=this[_0x3c1a00(0x3eb)]=new _0x5d47f0[(_0x3c1a00(0x4ac))](),typeof _0xd61af5==_0x3c1a00(0x4c7)&&(_0xd61af5=_0x2e9d81[_0x3c1a00(0x3a7)](_0xd61af5));var _0x43c68c=_0x5d47f0[_0x3c1a00(0x38a)],_0x50ee41=_0x43c68c*0x4;_0xd61af5[_0x3c1a00(0x37d)]>_0x50ee41&&(_0xd61af5=_0x5d47f0['finalize'](_0xd61af5)),_0xd61af5[_0x3c1a00(0x2dc)]();for(var _0x47ffcd=this[_0x3c1a00(0x4ad)]=_0xd61af5[_0x3c1a00(0x2e4)](),_0xcb8a44=this[_0x3c1a00(0x217)]=_0xd61af5[_0x3c1a00(0x2e4)](),_0x400788=_0x47ffcd[_0x3c1a00(0x260)],_0xf24fd5=_0xcb8a44[_0x3c1a00(0x260)],_0x188b02=0x0;_0x188b02<_0x43c68c;_0x188b02++)_0x400788[_0x188b02]^=0x5c5c5c5c,_0xf24fd5[_0x188b02]^=0x36363636;_0x47ffcd[_0x3c1a00(0x37d)]=_0xcb8a44[_0x3c1a00(0x37d)]=_0x50ee41,this[_0x3c1a00(0x390)]();},'reset':function(){var _0x2cb15c=_0x152a8a,_0x1ea822=this[_0x2cb15c(0x3eb)];_0x1ea822[_0x2cb15c(0x390)](),_0x1ea822[_0x2cb15c(0x3f2)](this[_0x2cb15c(0x217)]);},'update':function(_0x9e3e71){var _0x2e6f0c=_0x152a8a;return this[_0x2e6f0c(0x3eb)][_0x2e6f0c(0x3f2)](_0x9e3e71),this;},'finalize':function(_0x2ecae9){var _0x33efdd=_0x152a8a,_0x27690a=this[_0x33efdd(0x3eb)],_0x45be14=_0x27690a['finalize'](_0x2ecae9);_0x27690a[_0x33efdd(0x390)]();var _0x82f21d=_0x27690a[_0x33efdd(0x3ce)](this[_0x33efdd(0x4ad)][_0x33efdd(0x2e4)]()[_0x33efdd(0x4de)](_0x45be14));return _0x82f21d;}});}());}));}(ze)),ze['exports'];}var ys=Ke[_0x4635a5(0x381)],ii;function Ui(){return ii||(ii=0x1,function(_0x4d7b79,_0x196d1a){(function(_0x259b46,_0x59f7d5,_0x133d98){var _0x3e8a94=_0x2074;_0x4d7b79[_0x3e8a94(0x381)]=_0x59f7d5(ie(),Rs(),Os());}(ys,function(_0x3470af){var _0x5d8382=_0x2074;return(function(){var _0x1d8966=_0x2074,_0xd9d4a1=_0x3470af,_0x4d1b8e=_0xd9d4a1[_0x1d8966(0x226)],_0x8cc058=_0x4d1b8e[_0x1d8966(0x362)],_0x2416d6=_0x4d1b8e['WordArray'],_0x1f6046=_0xd9d4a1[_0x1d8966(0x37b)],_0x136365=_0x1f6046['MD5'],_0x360d1b=_0x1f6046[_0x1d8966(0x43b)]=_0x8cc058[_0x1d8966(0x2c1)]({'cfg':_0x8cc058[_0x1d8966(0x2c1)]({'keySize':0x80/0x20,'hasher':_0x136365,'iterations':0x1}),'init':function(_0x25bca5){var _0x2aec8e=_0x1d8966;this[_0x2aec8e(0x1e7)]=this[_0x2aec8e(0x1e7)][_0x2aec8e(0x2c1)](_0x25bca5);},'compute':function(_0x45783e,_0x374c55){var _0x488e29=_0x1d8966;for(var _0x3fe341,_0x5e032e=this[_0x488e29(0x1e7)],_0x44bf96=_0x5e032e[_0x488e29(0x1ea)][_0x488e29(0x352)](),_0x5a6a3b=_0x2416d6['create'](),_0x2fa6b6=_0x5a6a3b[_0x488e29(0x260)],_0x8c6a45=_0x5e032e[_0x488e29(0x311)],_0x1365de=_0x5e032e['iterations'];_0x2fa6b6[_0x488e29(0x45b)]<_0x8c6a45;){_0x3fe341&&_0x44bf96[_0x488e29(0x3f2)](_0x3fe341),_0x3fe341=_0x44bf96[_0x488e29(0x3f2)](_0x45783e)[_0x488e29(0x3ce)](_0x374c55),_0x44bf96[_0x488e29(0x390)]();for(var _0x32dc2f=0x1;_0x32dc2f<_0x1365de;_0x32dc2f++)_0x3fe341=_0x44bf96[_0x488e29(0x3ce)](_0x3fe341),_0x44bf96[_0x488e29(0x390)]();_0x5a6a3b[_0x488e29(0x4de)](_0x3fe341);}return _0x5a6a3b[_0x488e29(0x37d)]=_0x8c6a45*0x4,_0x5a6a3b;}});_0xd9d4a1[_0x1d8966(0x43b)]=function(_0x1fcf81,_0x42e916,_0x3bc488){var _0x34a9a9=_0x1d8966;return _0x360d1b[_0x34a9a9(0x352)](_0x3bc488)[_0x34a9a9(0x3d8)](_0x1fcf81,_0x42e916);};}()),_0x3470af[_0x5d8382(0x43b)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je[_0x4635a5(0x381)],ni;function Ai(){var _0x42019a=_0x4635a5;return ni||(ni=0x1,function(_0x2adeab,_0x33f70e){(function(_0x2c53b4,_0x163fec,_0x35f53c){var _0x2040c1=_0x2074;_0x2adeab[_0x2040c1(0x381)]=_0x163fec(ie(),Ui());}(Ns,function(_0x582b61){var _0x2ce76e=_0x2074;_0x582b61[_0x2ce76e(0x226)][_0x2ce76e(0x4d5)]||function(_0x5abb82){var _0x49a98c=_0x2ce76e,_0x2dff5a=_0x582b61,_0x2a10d8=_0x2dff5a[_0x49a98c(0x226)],_0x5314f4=_0x2a10d8[_0x49a98c(0x362)],_0x370d5b=_0x2a10d8[_0x49a98c(0x354)],_0x3d8163=_0x2a10d8[_0x49a98c(0x25d)],_0x4dba4b=_0x2dff5a[_0x49a98c(0x402)];_0x4dba4b[_0x49a98c(0x342)];var _0x3a989f=_0x4dba4b[_0x49a98c(0x300)],_0x392c74=_0x2dff5a[_0x49a98c(0x37b)],_0x389ae0=_0x392c74['EvpKDF'],_0x277ba4=_0x2a10d8['Cipher']=_0x3d8163[_0x49a98c(0x2c1)]({'cfg':_0x5314f4[_0x49a98c(0x2c1)](),'createEncryptor':function(_0x4ec091,_0x1d7c54){var _0x74f75d=_0x49a98c;return this[_0x74f75d(0x352)](this[_0x74f75d(0x24f)],_0x4ec091,_0x1d7c54);},'createDecryptor':function(_0x8745b7,_0xec523f){var _0x2d0d72=_0x49a98c;return this['create'](this[_0x2d0d72(0x295)],_0x8745b7,_0xec523f);},'init':function(_0x536648,_0x35bcf9,_0x3dba05){var _0x9a5224=_0x49a98c;this[_0x9a5224(0x1e7)]=this[_0x9a5224(0x1e7)][_0x9a5224(0x2c1)](_0x3dba05),this[_0x9a5224(0x2ee)]=_0x536648,this['_key']=_0x35bcf9,this[_0x9a5224(0x390)]();},'reset':function(){var _0x8d7b10=_0x49a98c;_0x3d8163[_0x8d7b10(0x390)]['call'](this),this[_0x8d7b10(0x4a5)]();},'process':function(_0x103c90){var _0x23874f=_0x49a98c;return this[_0x23874f(0x45a)](_0x103c90),this[_0x23874f(0x2f2)]();},'finalize':function(_0x5e7082){var _0x5249ca=_0x49a98c;_0x5e7082&&this[_0x5249ca(0x45a)](_0x5e7082);var _0x4f2900=this[_0x5249ca(0x370)]();return _0x4f2900;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x28e662(_0x2a5423){var _0x1e93a4=_0x2074;return typeof _0x2a5423==_0x1e93a4(0x4c7)?_0x334136:_0x26bdc4;}return function(_0x13af1e){return{'encrypt':function(_0x2ed253,_0x44644e,_0x210a33){var _0x770810=_0x2074;return _0x28e662(_0x44644e)[_0x770810(0x2e2)](_0x13af1e,_0x2ed253,_0x44644e,_0x210a33);},'decrypt':function(_0x472cfd,_0x54a22a,_0x51d9a7){var _0x22a770=_0x2074;return _0x28e662(_0x54a22a)[_0x22a770(0x345)](_0x13af1e,_0x472cfd,_0x54a22a,_0x51d9a7);}};};}())});_0x2a10d8[_0x49a98c(0x46b)]=_0x277ba4[_0x49a98c(0x2c1)]({'_doFinalize':function(){var _0x370805=_0x49a98c,_0x16b909=this[_0x370805(0x2f2)](!0x0);return _0x16b909;},'blockSize':0x1});var _0x3d5607=_0x2dff5a[_0x49a98c(0x2f5)]={},_0x544588=_0x2a10d8[_0x49a98c(0x2e1)]=_0x5314f4['extend']({'createEncryptor':function(_0x16dc16,_0x52f9d1){var _0x3f54bd=_0x49a98c;return this[_0x3f54bd(0x3ee)][_0x3f54bd(0x352)](_0x16dc16,_0x52f9d1);},'createDecryptor':function(_0x362f43,_0x4780ee){var _0x1dba0a=_0x49a98c;return this[_0x1dba0a(0x308)]['create'](_0x362f43,_0x4780ee);},'init':function(_0x5c0c97,_0x5c7883){var _0x43ac90=_0x49a98c;this[_0x43ac90(0x3d2)]=_0x5c0c97,this['_iv']=_0x5c7883;}}),_0x4d4b35=_0x3d5607[_0x49a98c(0x284)]=(function(){var _0x2bce0c=_0x49a98c,_0x4835c1=_0x544588['extend']();_0x4835c1[_0x2bce0c(0x3ee)]=_0x4835c1[_0x2bce0c(0x2c1)]({'processBlock':function(_0x57651a,_0x22a482){var _0x305d7e=_0x2bce0c,_0x2ebd4e=this[_0x305d7e(0x3d2)],_0x15a129=_0x2ebd4e[_0x305d7e(0x38a)];_0x51f772[_0x305d7e(0x25e)](this,_0x57651a,_0x22a482,_0x15a129),_0x2ebd4e[_0x305d7e(0x392)](_0x57651a,_0x22a482),this[_0x305d7e(0x208)]=_0x57651a['slice'](_0x22a482,_0x22a482+_0x15a129);}}),_0x4835c1[_0x2bce0c(0x308)]=_0x4835c1[_0x2bce0c(0x2c1)]({'processBlock':function(_0x3beef0,_0x1c5c70){var _0x2009b7=_0x2bce0c,_0x4a3fc=this[_0x2009b7(0x3d2)],_0x4ea8cf=_0x4a3fc[_0x2009b7(0x38a)],_0x16d489=_0x3beef0[_0x2009b7(0x2e0)](_0x1c5c70,_0x1c5c70+_0x4ea8cf);_0x4a3fc['decryptBlock'](_0x3beef0,_0x1c5c70),_0x51f772['call'](this,_0x3beef0,_0x1c5c70,_0x4ea8cf),this['_prevBlock']=_0x16d489;}});function _0x51f772(_0x41d95e,_0x4c8b3d,_0x5d650e){var _0x598b5a=_0x2bce0c,_0x1f387c,_0x2646e1=this[_0x598b5a(0x3b0)];_0x2646e1?(_0x1f387c=_0x2646e1,this['_iv']=_0x5abb82):_0x1f387c=this[_0x598b5a(0x208)];for(var _0x543fce=0x0;_0x543fce<_0x5d650e;_0x543fce++)_0x41d95e[_0x4c8b3d+_0x543fce]^=_0x1f387c[_0x543fce];}return _0x4835c1;}()),_0x2f0bf2=_0x2dff5a[_0x49a98c(0x24e)]={},_0x4c5550=_0x2f0bf2[_0x49a98c(0x248)]={'pad':function(_0xd2655c,_0xc9ddb){var _0x3d8baf=_0x49a98c;for(var _0x4b094d=_0xc9ddb*0x4,_0xc94453=_0x4b094d-_0xd2655c[_0x3d8baf(0x37d)]%_0x4b094d,_0x4c1e93=_0xc94453<<0x18|_0xc94453<<0x10|_0xc94453<<0x8|_0xc94453,_0x4e65c0=[],_0x21e2d6=0x0;_0x21e2d6<_0xc94453;_0x21e2d6+=0x4)_0x4e65c0[_0x3d8baf(0x1fb)](_0x4c1e93);var _0x302a7e=_0x370d5b['create'](_0x4e65c0,_0xc94453);_0xd2655c[_0x3d8baf(0x4de)](_0x302a7e);},'unpad':function(_0x1d6b4e){var _0x4cfcb4=_0x49a98c,_0x11de7b=_0x1d6b4e[_0x4cfcb4(0x260)][_0x1d6b4e[_0x4cfcb4(0x37d)]-0x1>>>0x2]&0xff;_0x1d6b4e['sigBytes']-=_0x11de7b;}};_0x2a10d8[_0x49a98c(0x355)]=_0x277ba4[_0x49a98c(0x2c1)]({'cfg':_0x277ba4[_0x49a98c(0x1e7)][_0x49a98c(0x2c1)]({'mode':_0x4d4b35,'padding':_0x4c5550}),'reset':function(){var _0x5cfc3a=_0x49a98c,_0x5da482;_0x277ba4[_0x5cfc3a(0x390)][_0x5cfc3a(0x25e)](this);var _0x53d386=this[_0x5cfc3a(0x1e7)],_0x532b62=_0x53d386['iv'],_0x256a3a=_0x53d386[_0x5cfc3a(0x2f5)];this['_xformMode']==this[_0x5cfc3a(0x24f)]?_0x5da482=_0x256a3a[_0x5cfc3a(0x2c9)]:(_0x5da482=_0x256a3a[_0x5cfc3a(0x407)],this[_0x5cfc3a(0x413)]=0x1),this[_0x5cfc3a(0x320)]&&this[_0x5cfc3a(0x320)][_0x5cfc3a(0x21c)]==_0x5da482?this['_mode'][_0x5cfc3a(0x4ac)](this,_0x532b62&&_0x532b62[_0x5cfc3a(0x260)]):(this['_mode']=_0x5da482[_0x5cfc3a(0x25e)](_0x256a3a,this,_0x532b62&&_0x532b62['words']),this['_mode'][_0x5cfc3a(0x21c)]=_0x5da482);},'_doProcessBlock':function(_0x8a9533,_0x377dba){var _0x5ef166=_0x49a98c;this['_mode'][_0x5ef166(0x285)](_0x8a9533,_0x377dba);},'_doFinalize':function(){var _0x10fbda=_0x49a98c,_0x29f02d,_0x437afc=this['cfg']['padding'];return this[_0x10fbda(0x2ee)]==this[_0x10fbda(0x24f)]?(_0x437afc[_0x10fbda(0x24e)](this[_0x10fbda(0x2bc)],this[_0x10fbda(0x38a)]),_0x29f02d=this[_0x10fbda(0x2f2)](!0x0)):(_0x29f02d=this[_0x10fbda(0x2f2)](!0x0),_0x437afc[_0x10fbda(0x24d)](_0x29f02d)),_0x29f02d;},'blockSize':0x80/0x20});var _0xbb565=_0x2a10d8[_0x49a98c(0x4bf)]=_0x5314f4[_0x49a98c(0x2c1)]({'init':function(_0x1240d5){this['mixIn'](_0x1240d5);},'toString':function(_0x4df220){var _0x1230b3=_0x49a98c;return(_0x4df220||this[_0x1230b3(0x266)])[_0x1230b3(0x277)](this);}}),_0x2a9599=_0x2dff5a['format']={},_0x2d5269=_0x2a9599[_0x49a98c(0x1e9)]={'stringify':function(_0x1c880f){var _0x46165e=_0x49a98c,_0x426ce8,_0x272d01=_0x1c880f['ciphertext'],_0x270b29=_0x1c880f['salt'];return _0x270b29?_0x426ce8=_0x370d5b['create']([0x53616c74,0x65645f5f])[_0x46165e(0x4de)](_0x270b29)[_0x46165e(0x4de)](_0x272d01):_0x426ce8=_0x272d01,_0x426ce8[_0x46165e(0x305)](_0x3a989f);},'parse':function(_0x9ff62b){var _0x125efc=_0x49a98c,_0x242391,_0x44b3cb=_0x3a989f['parse'](_0x9ff62b),_0x501ff8=_0x44b3cb['words'];return _0x501ff8[0x0]==0x53616c74&&_0x501ff8[0x1]==0x65645f5f&&(_0x242391=_0x370d5b[_0x125efc(0x352)](_0x501ff8['slice'](0x2,0x4)),_0x501ff8[_0x125efc(0x22a)](0x0,0x4),_0x44b3cb[_0x125efc(0x37d)]-=0x10),_0xbb565[_0x125efc(0x352)]({'ciphertext':_0x44b3cb,'salt':_0x242391});}},_0x26bdc4=_0x2a10d8[_0x49a98c(0x3c1)]=_0x5314f4[_0x49a98c(0x2c1)]({'cfg':_0x5314f4[_0x49a98c(0x2c1)]({'format':_0x2d5269}),'encrypt':function(_0x1cff34,_0x52dae1,_0x48e54f,_0x38345a){var _0x28911f=_0x49a98c;_0x38345a=this[_0x28911f(0x1e7)][_0x28911f(0x2c1)](_0x38345a);var _0x1e282e=_0x1cff34[_0x28911f(0x2c9)](_0x48e54f,_0x38345a),_0x450428=_0x1e282e[_0x28911f(0x3ce)](_0x52dae1),_0x28bc23=_0x1e282e['cfg'];return _0xbb565['create']({'ciphertext':_0x450428,'key':_0x48e54f,'iv':_0x28bc23['iv'],'algorithm':_0x1cff34,'mode':_0x28bc23[_0x28911f(0x2f5)],'padding':_0x28bc23[_0x28911f(0x428)],'blockSize':_0x1cff34[_0x28911f(0x38a)],'formatter':_0x38345a[_0x28911f(0x49d)]});},'decrypt':function(_0x373347,_0x1ecc51,_0x35b7c5,_0x11ad2d){var _0x1022ce=_0x49a98c;_0x11ad2d=this[_0x1022ce(0x1e7)][_0x1022ce(0x2c1)](_0x11ad2d),_0x1ecc51=this['_parse'](_0x1ecc51,_0x11ad2d[_0x1022ce(0x49d)]);var _0x14c75e=_0x373347[_0x1022ce(0x407)](_0x35b7c5,_0x11ad2d)[_0x1022ce(0x3ce)](_0x1ecc51[_0x1022ce(0x4a1)]);return _0x14c75e;},'_parse':function(_0x195b1f,_0x2f7b3d){var _0x311ac4=_0x49a98c;return typeof _0x195b1f=='string'?_0x2f7b3d[_0x311ac4(0x3a7)](_0x195b1f,this):_0x195b1f;}}),_0x536aac=_0x2dff5a[_0x49a98c(0x3d6)]={},_0x5e9b7d=_0x536aac[_0x49a98c(0x1e9)]={'execute':function(_0x5861f3,_0xc2da37,_0x35f4d6,_0xcb81f6,_0x52189d){var _0xb96d90=_0x49a98c;if(_0xcb81f6||(_0xcb81f6=_0x370d5b[_0xb96d90(0x2e5)](0x40/0x8)),_0x52189d)var _0x46d74e=_0x389ae0[_0xb96d90(0x352)]({'keySize':_0xc2da37+_0x35f4d6,'hasher':_0x52189d})[_0xb96d90(0x3d8)](_0x5861f3,_0xcb81f6);else var _0x46d74e=_0x389ae0['create']({'keySize':_0xc2da37+_0x35f4d6})[_0xb96d90(0x3d8)](_0x5861f3,_0xcb81f6);var _0x1da0dc=_0x370d5b['create'](_0x46d74e[_0xb96d90(0x260)]['slice'](_0xc2da37),_0x35f4d6*0x4);return _0x46d74e[_0xb96d90(0x37d)]=_0xc2da37*0x4,_0xbb565[_0xb96d90(0x352)]({'key':_0x46d74e,'iv':_0x1da0dc,'salt':_0xcb81f6});}},_0x334136=_0x2a10d8[_0x49a98c(0x3e5)]=_0x26bdc4[_0x49a98c(0x2c1)]({'cfg':_0x26bdc4[_0x49a98c(0x1e7)][_0x49a98c(0x2c1)]({'kdf':_0x5e9b7d}),'encrypt':function(_0xd6e0de,_0x5f593c,_0x399aa7,_0x406aaf){var _0x4904ed=_0x49a98c;_0x406aaf=this[_0x4904ed(0x1e7)][_0x4904ed(0x2c1)](_0x406aaf);var _0x30bcc7=_0x406aaf[_0x4904ed(0x3d6)]['execute'](_0x399aa7,_0xd6e0de[_0x4904ed(0x311)],_0xd6e0de['ivSize'],_0x406aaf[_0x4904ed(0x4c9)],_0x406aaf['hasher']);_0x406aaf['iv']=_0x30bcc7['iv'];var _0x290e75=_0x26bdc4['encrypt']['call'](this,_0xd6e0de,_0x5f593c,_0x30bcc7['key'],_0x406aaf);return _0x290e75[_0x4904ed(0x34a)](_0x30bcc7),_0x290e75;},'decrypt':function(_0x4ae7a4,_0x19de5c,_0x4e4ff1,_0x340baf){var _0x51d228=_0x49a98c;_0x340baf=this[_0x51d228(0x1e7)][_0x51d228(0x2c1)](_0x340baf),_0x19de5c=this['_parse'](_0x19de5c,_0x340baf['format']);var _0x121d7d=_0x340baf[_0x51d228(0x3d6)][_0x51d228(0x221)](_0x4e4ff1,_0x4ae7a4[_0x51d228(0x311)],_0x4ae7a4[_0x51d228(0x225)],_0x19de5c[_0x51d228(0x4c9)],_0x340baf[_0x51d228(0x1ea)]);_0x340baf['iv']=_0x121d7d['iv'];var _0x3cf735=_0x26bdc4['decrypt'][_0x51d228(0x25e)](this,_0x4ae7a4,_0x19de5c,_0x121d7d[_0x51d228(0x3bf)],_0x340baf);return _0x3cf735;}});}();}));}(Je)),Je[_0x42019a(0x381)];}var Ds=Ve[_0x4635a5(0x381)],si;function Us(){var _0x14adc4=_0x4635a5;return si||(si=0x1,function(_0x3ddff1,_0x290cd0){(function(_0x347c27,_0x51a998,_0x24408b){_0x3ddff1['exports']=_0x51a998(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x13a9f8){var _0x327183=_0x2074;return(function(){var _0x457f80=_0x2074,_0x4dc6d7=_0x13a9f8,_0x14b4b3=_0x4dc6d7[_0x457f80(0x226)],_0xcd3680=_0x14b4b3['BlockCipher'],_0x1e308b=_0x4dc6d7[_0x457f80(0x37b)],_0x533573=[],_0x76e68c=[],_0x28d997=[],_0x5c1298=[],_0x2f7373=[],_0x3c675f=[],_0x5136a1=[],_0x5f1867=[],_0x133441=[],_0x1a7b32=[];(function(){for(var _0x221513=[],_0x398693=0x0;_0x398693<0x100;_0x398693++)_0x398693<0x80?_0x221513[_0x398693]=_0x398693<<0x1:_0x221513[_0x398693]=_0x398693<<0x1^0x11b;for(var _0x33bd24=0x0,_0x40df82=0x0,_0x398693=0x0;_0x398693<0x100;_0x398693++){var _0x1f5737=_0x40df82^_0x40df82<<0x1^_0x40df82<<0x2^_0x40df82<<0x3^_0x40df82<<0x4;_0x1f5737=_0x1f5737>>>0x8^_0x1f5737&0xff^0x63,_0x533573[_0x33bd24]=_0x1f5737,_0x76e68c[_0x1f5737]=_0x33bd24;var _0x4a3d2e=_0x221513[_0x33bd24],_0x45032b=_0x221513[_0x4a3d2e],_0x45c26b=_0x221513[_0x45032b],_0x735504=_0x221513[_0x1f5737]*0x101^_0x1f5737*0x1010100;_0x28d997[_0x33bd24]=_0x735504<<0x18|_0x735504>>>0x8,_0x5c1298[_0x33bd24]=_0x735504<<0x10|_0x735504>>>0x10,_0x2f7373[_0x33bd24]=_0x735504<<0x8|_0x735504>>>0x18,_0x3c675f[_0x33bd24]=_0x735504;var _0x735504=_0x45c26b*0x1010101^_0x45032b*0x10001^_0x4a3d2e*0x101^_0x33bd24*0x1010100;_0x5136a1[_0x1f5737]=_0x735504<<0x18|_0x735504>>>0x8,_0x5f1867[_0x1f5737]=_0x735504<<0x10|_0x735504>>>0x10,_0x133441[_0x1f5737]=_0x735504<<0x8|_0x735504>>>0x18,_0x1a7b32[_0x1f5737]=_0x735504,_0x33bd24?(_0x33bd24=_0x4a3d2e^_0x221513[_0x221513[_0x221513[_0x45c26b^_0x4a3d2e]]],_0x40df82^=_0x221513[_0x221513[_0x40df82]]):_0x33bd24=_0x40df82=0x1;}}());var _0xafd237=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44d859=_0x1e308b[_0x457f80(0x20b)]=_0xcd3680[_0x457f80(0x2c1)]({'_doReset':function(){var _0x4b989b=_0x457f80,_0x4faeb1;if(!(this[_0x4b989b(0x26d)]&&this[_0x4b989b(0x2dd)]===this['_key'])){for(var _0xb290d6=this['_keyPriorReset']=this[_0x4b989b(0x4b5)],_0x10dcda=_0xb290d6[_0x4b989b(0x260)],_0x5b5bf7=_0xb290d6[_0x4b989b(0x37d)]/0x4,_0x3b0c83=this[_0x4b989b(0x26d)]=_0x5b5bf7+0x6,_0x485866=(_0x3b0c83+0x1)*0x4,_0x5579e7=this[_0x4b989b(0x23b)]=[],_0x2b248d=0x0;_0x2b248d<_0x485866;_0x2b248d++)_0x2b248d<_0x5b5bf7?_0x5579e7[_0x2b248d]=_0x10dcda[_0x2b248d]:(_0x4faeb1=_0x5579e7[_0x2b248d-0x1],_0x2b248d%_0x5b5bf7?_0x5b5bf7>0x6&&_0x2b248d%_0x5b5bf7==0x4&&(_0x4faeb1=_0x533573[_0x4faeb1>>>0x18]<<0x18|_0x533573[_0x4faeb1>>>0x10&0xff]<<0x10|_0x533573[_0x4faeb1>>>0x8&0xff]<<0x8|_0x533573[_0x4faeb1&0xff]):(_0x4faeb1=_0x4faeb1<<0x8|_0x4faeb1>>>0x18,_0x4faeb1=_0x533573[_0x4faeb1>>>0x18]<<0x18|_0x533573[_0x4faeb1>>>0x10&0xff]<<0x10|_0x533573[_0x4faeb1>>>0x8&0xff]<<0x8|_0x533573[_0x4faeb1&0xff],_0x4faeb1^=_0xafd237[_0x2b248d/_0x5b5bf7|0x0]<<0x18),_0x5579e7[_0x2b248d]=_0x5579e7[_0x2b248d-_0x5b5bf7]^_0x4faeb1);for(var _0x1abc74=this['_invKeySchedule']=[],_0x4ff6a8=0x0;_0x4ff6a8<_0x485866;_0x4ff6a8++){var _0x2b248d=_0x485866-_0x4ff6a8;if(_0x4ff6a8%0x4)var _0x4faeb1=_0x5579e7[_0x2b248d];else var _0x4faeb1=_0x5579e7[_0x2b248d-0x4];_0x4ff6a8<0x4||_0x2b248d<=0x4?_0x1abc74[_0x4ff6a8]=_0x4faeb1:_0x1abc74[_0x4ff6a8]=_0x5136a1[_0x533573[_0x4faeb1>>>0x18]]^_0x5f1867[_0x533573[_0x4faeb1>>>0x10&0xff]]^_0x133441[_0x533573[_0x4faeb1>>>0x8&0xff]]^_0x1a7b32[_0x533573[_0x4faeb1&0xff]];}}},'encryptBlock':function(_0x4f54c3,_0x38e8c5){var _0x74158=_0x457f80;this[_0x74158(0x411)](_0x4f54c3,_0x38e8c5,this['_keySchedule'],_0x28d997,_0x5c1298,_0x2f7373,_0x3c675f,_0x533573);},'decryptBlock':function(_0x4a29b5,_0x3278f0){var _0x43c946=_0x457f80,_0x5bfe3e=_0x4a29b5[_0x3278f0+0x1];_0x4a29b5[_0x3278f0+0x1]=_0x4a29b5[_0x3278f0+0x3],_0x4a29b5[_0x3278f0+0x3]=_0x5bfe3e,this[_0x43c946(0x411)](_0x4a29b5,_0x3278f0,this[_0x43c946(0x4c8)],_0x5136a1,_0x5f1867,_0x133441,_0x1a7b32,_0x76e68c);var _0x5bfe3e=_0x4a29b5[_0x3278f0+0x1];_0x4a29b5[_0x3278f0+0x1]=_0x4a29b5[_0x3278f0+0x3],_0x4a29b5[_0x3278f0+0x3]=_0x5bfe3e;},'_doCryptBlock':function(_0x4d4703,_0x3d9a42,_0x1764c1,_0x10ee72,_0x45f03b,_0xbd5a3a,_0x3f0727,_0x2e3c8a){var _0x380206=_0x457f80;for(var _0x5cc92c=this[_0x380206(0x26d)],_0x53ad31=_0x4d4703[_0x3d9a42]^_0x1764c1[0x0],_0x46e8bf=_0x4d4703[_0x3d9a42+0x1]^_0x1764c1[0x1],_0x2d373b=_0x4d4703[_0x3d9a42+0x2]^_0x1764c1[0x2],_0x26c7f9=_0x4d4703[_0x3d9a42+0x3]^_0x1764c1[0x3],_0x448c30=0x4,_0x42619c=0x1;_0x42619c<_0x5cc92c;_0x42619c++){var _0xc4dd32=_0x10ee72[_0x53ad31>>>0x18]^_0x45f03b[_0x46e8bf>>>0x10&0xff]^_0xbd5a3a[_0x2d373b>>>0x8&0xff]^_0x3f0727[_0x26c7f9&0xff]^_0x1764c1[_0x448c30++],_0x5060e9=_0x10ee72[_0x46e8bf>>>0x18]^_0x45f03b[_0x2d373b>>>0x10&0xff]^_0xbd5a3a[_0x26c7f9>>>0x8&0xff]^_0x3f0727[_0x53ad31&0xff]^_0x1764c1[_0x448c30++],_0x4c78ba=_0x10ee72[_0x2d373b>>>0x18]^_0x45f03b[_0x26c7f9>>>0x10&0xff]^_0xbd5a3a[_0x53ad31>>>0x8&0xff]^_0x3f0727[_0x46e8bf&0xff]^_0x1764c1[_0x448c30++],_0x207638=_0x10ee72[_0x26c7f9>>>0x18]^_0x45f03b[_0x53ad31>>>0x10&0xff]^_0xbd5a3a[_0x46e8bf>>>0x8&0xff]^_0x3f0727[_0x2d373b&0xff]^_0x1764c1[_0x448c30++];_0x53ad31=_0xc4dd32,_0x46e8bf=_0x5060e9,_0x2d373b=_0x4c78ba,_0x26c7f9=_0x207638;}var _0xc4dd32=(_0x2e3c8a[_0x53ad31>>>0x18]<<0x18|_0x2e3c8a[_0x46e8bf>>>0x10&0xff]<<0x10|_0x2e3c8a[_0x2d373b>>>0x8&0xff]<<0x8|_0x2e3c8a[_0x26c7f9&0xff])^_0x1764c1[_0x448c30++],_0x5060e9=(_0x2e3c8a[_0x46e8bf>>>0x18]<<0x18|_0x2e3c8a[_0x2d373b>>>0x10&0xff]<<0x10|_0x2e3c8a[_0x26c7f9>>>0x8&0xff]<<0x8|_0x2e3c8a[_0x53ad31&0xff])^_0x1764c1[_0x448c30++],_0x4c78ba=(_0x2e3c8a[_0x2d373b>>>0x18]<<0x18|_0x2e3c8a[_0x26c7f9>>>0x10&0xff]<<0x10|_0x2e3c8a[_0x53ad31>>>0x8&0xff]<<0x8|_0x2e3c8a[_0x46e8bf&0xff])^_0x1764c1[_0x448c30++],_0x207638=(_0x2e3c8a[_0x26c7f9>>>0x18]<<0x18|_0x2e3c8a[_0x53ad31>>>0x10&0xff]<<0x10|_0x2e3c8a[_0x46e8bf>>>0x8&0xff]<<0x8|_0x2e3c8a[_0x2d373b&0xff])^_0x1764c1[_0x448c30++];_0x4d4703[_0x3d9a42]=_0xc4dd32,_0x4d4703[_0x3d9a42+0x1]=_0x5060e9,_0x4d4703[_0x3d9a42+0x2]=_0x4c78ba,_0x4d4703[_0x3d9a42+0x3]=_0x207638;},'keySize':0x100/0x20});_0x4dc6d7['AES']=_0xcd3680['_createHelper'](_0x44d859);}()),_0x13a9f8[_0x327183(0x20b)];}));}(Ve)),Ve[_0x14adc4(0x381)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x4635a5(0x381)],ai;function Ms(){var _0x129b7a=_0x4635a5;return ai||(ai=0x1,function(_0x35e8c0,_0x4d68e5){(function(_0x4b0209,_0x1d60d0){_0x35e8c0['exports']=_0x1d60d0(ie());}(Ls,function(_0x62350f){var _0x1488ac=_0x2074;return _0x62350f[_0x1488ac(0x402)]['Utf8'];}));}(Xe)),Xe[_0x129b7a(0x381)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze['exports'],oi;function Hs(){return oi||(oi=0x1,function(_0x52e2bc,_0x170283){(function(_0x316b66,_0x2f7255){var _0x523add=_0x2074;_0x52e2bc[_0x523add(0x381)]=_0x2f7255(ie());}($s,function(_0x29e390){var _0x2cef01=_0x2074;return(function(){var _0x58e801=_0x2074;if(typeof ArrayBuffer==_0x58e801(0x1dd)){var _0x9e16cf=_0x29e390,_0x424f14=_0x9e16cf[_0x58e801(0x226)],_0x20f008=_0x424f14[_0x58e801(0x354)],_0x3b6bc5=_0x20f008[_0x58e801(0x4ac)],_0x57611a=_0x20f008[_0x58e801(0x4ac)]=function(_0x5e2a55){var _0xdbaf75=_0x58e801;if(_0x5e2a55 instanceof ArrayBuffer&&(_0x5e2a55=new Uint8Array(_0x5e2a55)),(_0x5e2a55 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e2a55 instanceof Uint8ClampedArray||_0x5e2a55 instanceof Int16Array||_0x5e2a55 instanceof Uint16Array||_0x5e2a55 instanceof Int32Array||_0x5e2a55 instanceof Uint32Array||_0x5e2a55 instanceof Float32Array||_0x5e2a55 instanceof Float64Array)&&(_0x5e2a55=new Uint8Array(_0x5e2a55['buffer'],_0x5e2a55[_0xdbaf75(0x451)],_0x5e2a55['byteLength'])),_0x5e2a55 instanceof Uint8Array){for(var _0x123ff3=_0x5e2a55['byteLength'],_0x205819=[],_0x41ede4=0x0;_0x41ede4<_0x123ff3;_0x41ede4++)_0x205819[_0x41ede4>>>0x2]|=_0x5e2a55[_0x41ede4]<<0x18-_0x41ede4%0x4*0x8;_0x3b6bc5[_0xdbaf75(0x25e)](this,_0x205819,_0x123ff3);}else _0x3b6bc5[_0xdbaf75(0x4e2)](this,arguments);};_0x57611a[_0x58e801(0x286)]=_0x20f008;}}()),_0x29e390['lib'][_0x2cef01(0x354)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x4635a5(0x381)],ci;function Vs(){var _0xeaa957=_0x4635a5;return ci||(ci=0x1,function(_0x36af0a,_0xac1a04){(function(_0x37aaa3,_0x21d827,_0x4dba4f){var _0x2f88ca=_0x2074;_0x36af0a[_0x2f88ca(0x381)]=_0x21d827(ie(),Ai());}(Fs,function(_0x2ab496){var _0x37915c=_0x2074;return _0x2ab496['pad'][_0x37915c(0x1d9)]={'pad':function(){},'unpad':function(){}},_0x2ab496[_0x37915c(0x24e)][_0x37915c(0x1d9)];}));}(Qe)),Qe[_0xeaa957(0x381)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x4b42bf,_0x39c587){var _0x106d10=_0x4635a5;const _0x167d40=_0x39c587-_0x4b42bf[_0x106d10(0x45b)]%_0x39c587,_0xef384c=String['fromCharCode'](_0x167d40)['repeat'](_0x167d40);return _0x4b42bf+_0xef384c;}function Ks(_0x518915,_0x2cfe03){var _0x785b2f=_0x4635a5;const _0x4b6efc=js['random'](0x10),_0x1e4f17=Ys(_0x518915,0x10),_0x1d8a99=ws['encrypt'](ks['parse'](_0x1e4f17),ri[_0x785b2f(0x3a7)](_0x2cfe03),{'iv':_0x4b6efc,'padding':Ws});return _0x4b6efc[_0x785b2f(0x4de)](_0x1d8a99[_0x785b2f(0x4a1)])[_0x785b2f(0x305)](ri);}function qs(){var _0x1f45e6=_0x4635a5;const _0x38cc52=_0x4e979f()[_0x1f45e6(0x34f)];if(_0x38cc52){const _0x49d1cd={'time':Math['floor'](Date[_0x1f45e6(0x466)]()/0x3e8),'domain':location['hostname']};return Ks(JSON[_0x1f45e6(0x277)](_0x49d1cd),_0x38cc52);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x34e56f,_0x5bc59c,_0x40696e,_0x567710)=>{var _0x4acd0b=_0x4635a5;for(var _0x274d9e=_0x567710>0x1?void 0x0:_0x567710?zs(_0x5bc59c,_0x40696e):_0x5bc59c,_0x12376c=_0x34e56f[_0x4acd0b(0x45b)]-0x1,_0x22b2be;_0x12376c>=0x0;_0x12376c--)(_0x22b2be=_0x34e56f[_0x12376c])&&(_0x274d9e=_0x22b2be(_0x274d9e)||_0x274d9e);return _0x274d9e;},Xs=(_0x2cd5c6,_0x10038a)=>(_0x47721e,_0xc7e10d)=>_0x10038a(_0x47721e,_0xc7e10d,_0x2cd5c6);let at=class{constructor(_0x28b5c9){var _0x5f3e27=_0x4635a5;this[_0x5f3e27(0x32a)]=_0x28b5c9,this[_0x5f3e27(0x463)]();}[_0x4635a5(0x463)](){var _0xa72124=_0x4635a5;this[_0xa72124(0x32a)]['registerHTTPInterceptor']({'interceptor':(_0x2b072d,_0x42089c)=>{var _0x4aabed=_0xa72124;const _0x37e78e=_0x2b072d[_0x4aabed(0x3ab)],_0x47196b=qs();return _0x47196b&&_0x37e78e[_0x4aabed(0x264)](_0x4aabed(0x431),_0x47196b),_0x42089c(_0x2b072d);}});}};at=Js([Xs(0x0,_0x578b85(_0x3004fd))],at);var Zs=Object[_0x4635a5(0x2fe)],Qs=(_0x4664d3,_0x3ea7fa,_0x3a9f07,_0x39e85a)=>{var _0x4234b7=_0x4635a5;for(var _0x5616a7=_0x39e85a>0x1?void 0x0:_0x39e85a?Zs(_0x3ea7fa,_0x3a9f07):_0x3ea7fa,_0xf3802e=_0x4664d3[_0x4234b7(0x45b)]-0x1,_0x2d409f;_0xf3802e>=0x0;_0xf3802e--)(_0x2d409f=_0x4664d3[_0xf3802e])&&(_0x5616a7=_0x2d409f(_0x5616a7)||_0x5616a7);return _0x5616a7;},mt=(_0x371696,_0x60619a)=>(_0x1b7019,_0x2d2755)=>_0x60619a(_0x1b7019,_0x2d2755,_0x371696);let bt=class extends _0x4c46c5{constructor(_0x238be3,_0x109c25,_0x273f80){var _0x320574=_0x4635a5;super(),N(this,'_unitInfo$',new _0x15513f(null)),N(this,_0x320574(0x283),this[_0x320574(0x3e8)][_0x320574(0x45c)]()),(this[_0x320574(0x360)]=_0x238be3,this['_snapshotService']=_0x109c25,this['_localCacheService']=_0x273f80);}async[_0x4635a5(0x499)](_0x4cc5b9,_0x491a18,_0x411ca7){var _0x330b97=_0x4635a5;this[_0x330b97(0x3e8)]['next']({'unitId':_0x4cc5b9,'type':_0x491a18,'subUnitId':_0x411ca7});let _0xb1dac3=null;switch(_0x491a18){case Q[_0x330b97(0x430)]:{_0xb1dac3=await this[_0x330b97(0x35b)](_0x4cc5b9);break;}case Q['UNIVER_DOC']:{_0xb1dac3=await this['_loadDoc'](_0x4cc5b9);break;}default:{this[_0x330b97(0x360)][_0x330b97(0x3d9)](_0x330b97(0x222),_0x330b97(0x3ec));break;}}return _0xb1dac3;}async['_loadSheet'](_0x58fea5){var _0x52010e=_0x4635a5,_0x416459;let _0x4374fc=0x0;const _0x120143=await((_0x416459=this[_0x52010e(0x445)])==null?void 0x0:_0x416459[_0x52010e(0x2d9)](_0x58fea5));return _0x120143&&(_0x120143[_0x52010e(0x36d)]||_0x120143[_0x52010e(0x37c)]['length']!==0x0)&&(_0x4374fc=_0x120143[_0x52010e(0x409)]),_0x4374fc===0x0&&this[_0x52010e(0x360)]['debug']('[DataLoaderService]',_0x52010e(0x211)),this[_0x52010e(0x34c)][_0x52010e(0x27e)](_0x58fea5,_0x4374fc);}async[_0x4635a5(0x2bf)](_0x2976a3){var _0x1aee9e=_0x4635a5,_0xbf7d7e;let _0x218741=0x0;const _0xbe2a0d=await((_0xbf7d7e=this[_0x1aee9e(0x445)])==null?void 0x0:_0xbf7d7e[_0x1aee9e(0x2d9)](_0x2976a3));return _0xbe2a0d&&(_0xbe2a0d[_0x1aee9e(0x36d)]||_0xbe2a0d[_0x1aee9e(0x37c)][_0x1aee9e(0x45b)]!==0x0)&&(_0x218741=_0xbe2a0d[_0x1aee9e(0x409)]),_0x218741===0x0&&this[_0x1aee9e(0x360)][_0x1aee9e(0x37a)](_0x1aee9e(0x222),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1aee9e(0x34c)][_0x1aee9e(0x1d8)](_0x2976a3,_0x218741);}};bt=Qs([mt(0x0,_0xc09f78),mt(0x1,_0x578b85(_0x4330a1)),mt(0x2,_0x3a2b1b(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x232d2c,_0x32455b,_0x21132b,_0x5a2fef)=>{var _0x58e4c9=_0x4635a5;for(var _0x4bdedd=_0x5a2fef>0x1?void 0x0:_0x5a2fef?er(_0x32455b,_0x21132b):_0x32455b,_0x87d9fc=_0x232d2c[_0x58e4c9(0x45b)]-0x1,_0x436be9;_0x87d9fc>=0x0;_0x87d9fc--)(_0x436be9=_0x232d2c[_0x87d9fc])&&(_0x4bdedd=_0x436be9(_0x4bdedd)||_0x4bdedd);return _0x4bdedd;},gt=(_0x4845b4,_0x26a3b9)=>(_0x2c69d6,_0x1b4e00)=>_0x26a3b9(_0x2c69d6,_0x1b4e00,_0x4845b4);const ir=[_0x4635a5(0x2c3),_0x4635a5(0x461),'image/jpg',_0x4635a5(0x2d5),_0x4635a5(0x2b9)],nr=0x5*0x400*0x400,sr=_0x4635a5(0x4dc),rr=_0x4635a5(0x2ef),ar=_0x4635a5(0x3f7),or=_0x4635a5(0x41c);let Ot=class{constructor(_0x85e044,_0x1546b8,_0x1a979c){var _0x42118c=_0x4635a5;N(this,'_waitCount',0x0),N(this,_0x42118c(0x2d6),new _0x16a106()),N(this,_0x42118c(0x247),this[_0x42118c(0x2d6)]),N(this,_0x42118c(0x2cb),new Map()),(this['_httpService']=_0x85e044,this[_0x42118c(0x3bd)]=_0x1546b8,this[_0x42118c(0x3c0)]=_0x1a979c);}['setWaitCount'](_0x19beeb){var _0x1ff2df=_0x4635a5;this['_waitCount']=_0x19beeb,this[_0x1ff2df(0x2d6)][_0x1ff2df(0x30f)](_0x19beeb);}[_0x4635a5(0x43a)](_0x31264f,_0x10570e){var _0x28146d=_0x4635a5;if(_0x10570e===_0x5b8711['BASE64']){const _0x2cc137=new Image();return _0x2cc137['src']=_0x31264f,_0x2cc137;}return this['_imageSourceCache'][_0x28146d(0x2db)](_0x31264f);}['addImageSourceCache'](_0x17e45a,_0x503783,_0xd30645){var _0x2c5c00=_0x4635a5;_0x503783===_0x5b8711[_0x2c5c00(0x4bc)]||_0xd30645==null||this['_imageSourceCache'][_0x2c5c00(0x264)](_0x17e45a,_0xd30645);}async[_0x4635a5(0x1de)](_0x10bb2f){var _0x4a253a=_0x4635a5;try{const _0x27bdf4=this[_0x4a253a(0x3b8)](this[_0x4a253a(0x2c4)](),''+_0x10bb2f),_0x4bcfe0=(await this[_0x4a253a(0x32a)][_0x4a253a(0x2db)](_0x27bdf4))[_0x4a253a(0x454)];if(_0x4bcfe0[_0x4a253a(0x3d9)]&&_0x4bcfe0[_0x4a253a(0x3d9)][_0x4a253a(0x436)]===Si['OK']){const _0x55179e=new URL(_0x4bcfe0[_0x4a253a(0x4db)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x55179e);}return Promise[_0x4a253a(0x3e7)](_0x4bcfe0[_0x4a253a(0x3d9)]);}catch(_0x388744){return Promise[_0x4a253a(0x3e7)](_0x388744);}}async['saveImage'](_0x5cb45d){var _0x3be001=_0x4635a5;let _0x36e9dc='';if(!ir[_0x3be001(0x4ae)](_0x5cb45d[_0x3be001(0x387)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x12ba64['ERROR_IMAGE_TYPE']));if(_0x5cb45d[_0x3be001(0x41b)]>nr)return this[_0x3be001(0x418)](),Promise[_0x3be001(0x3e7)](new Error(_0x12ba64[_0x3be001(0x4a2)]));try{const _0x518383=new FormData();_0x518383['append']('file',_0x5cb45d);const _0x56353a=this['_univerInstanceService'][_0x3be001(0x232)](),_0x5a31f3=_0x56353a==null?void 0x0:_0x56353a[_0x3be001(0x23d)]();if(!_0x5a31f3)throw new Error(_0x3be001(0x414));const _0x23c60f=this['_getUploadFileURL']()+_0x3be001(0x31b)+_0x5cb45d[_0x3be001(0x41b)][_0x3be001(0x305)]()+'&source='+Ei[_0x3be001(0x200)]+_0x3be001(0x2b2)+encodeURIComponent(_0x5a31f3),_0x58e7ac={'body':_0x518383},_0xc83874=(await this['_httpService']['post'](_0x23c60f,_0x58e7ac))[_0x3be001(0x454)];if(typeof _0xc83874[_0x3be001(0x442)]!='string')return this[_0x3be001(0x418)](),Promise[_0x3be001(0x3e7)](new Error(_0x12ba64[_0x3be001(0x280)]));_0x36e9dc=_0xc83874[_0x3be001(0x442)];}catch{return this[_0x3be001(0x418)](),Promise['reject'](new Error(_0x12ba64[_0x3be001(0x280)]));}return new Promise((_0x3ee25f,_0x5916c1)=>{var _0xad2c6b=_0x3be001;const _0x346c45=new FileReader();_0x346c45[_0xad2c6b(0x3c5)](_0x5cb45d),_0x346c45[_0xad2c6b(0x4cb)]=_0xb578f0=>{var _0x3ec058=_0xad2c6b,_0x113766;const _0x45b8ee=(_0x113766=_0xb578f0[_0x3ec058(0x3a3)])==null?void 0x0:_0x113766[_0x3ec058(0x2ed)];if(_0x45b8ee==null){this['_decreaseWaiting'](),_0x5916c1(new Error(_0x12ba64[_0x3ec058(0x280)]));return;}const _0x65bff3=_0x5454d5[_0x3ec058(0x1e1)](0x6);_0x3ee25f({'imageId':_0x65bff3,'imageSourceType':_0x5b8711['UUID'],'source':_0x36e9dc,'base64Cache':_0x45b8ee,'status':_0x12ba64['SUCCUSS']}),this[_0x3ec058(0x418)]();};});}[_0x4635a5(0x28b)](){var _0x1ff08c=_0x4635a5,_0x4f4369,_0x3b2ecd;const _0x27f62a=this[_0x1ff08c(0x3bd)]['getConfig'](sr),_0x147a5a=this['_configService'][_0x1ff08c(0x376)](q);return(_0x3b2ecd=(_0x4f4369=_0x147a5a==null?void 0x0:_0x147a5a[_0x1ff08c(0x357)])!=null?_0x4f4369:_0x27f62a)!=null?_0x3b2ecd:rr;}[_0x4635a5(0x2c4)](){var _0x160502=_0x4635a5,_0x338a39,_0x57062b;const _0x267a13=this[_0x160502(0x3bd)][_0x160502(0x376)](ar),_0x533e49=this[_0x160502(0x3bd)]['getConfig'](q);return(_0x57062b=(_0x338a39=_0x533e49==null?void 0x0:_0x533e49[_0x160502(0x344)])!=null?_0x338a39:_0x267a13)!=null?_0x57062b:or;}[_0x4635a5(0x349)](){var _0x33df30=_0x4635a5,_0x4ec3a4;const _0x10523e=this[_0x33df30(0x3bd)][_0x33df30(0x376)](q);return(_0x4ec3a4=_0x10523e==null?void 0x0:_0x10523e[_0x33df30(0x39b)])!=null?_0x4ec3a4:location[_0x33df30(0x39a)];}[_0x4635a5(0x3b8)](_0x168964,_0x3c82c3){var _0x1ef2bd=_0x4635a5;return _0x168964['replace'](_0x1ef2bd(0x3bb),_0x3c82c3);}[_0x4635a5(0x418)](){var _0x4a70f4=_0x4635a5;this[_0x4a70f4(0x32b)]-=0x1,this['_change$'][_0x4a70f4(0x30f)](this[_0x4a70f4(0x32b)]);}};Ot=tr([gt(0x0,_0x578b85(_0x3004fd)),gt(0x1,_0x2aefe0),gt(0x2,_0x578b85(_0x23a680))],Ot);var cr=Object[_0x4635a5(0x2fe)],hr=(_0x2b5763,_0x37ba97,_0x3bfc0b,_0x1e6d45)=>{var _0x149ae6=_0x4635a5;for(var _0x5b95e0=_0x1e6d45>0x1?void 0x0:_0x1e6d45?cr(_0x37ba97,_0x3bfc0b):_0x37ba97,_0x2c227a=_0x2b5763[_0x149ae6(0x45b)]-0x1,_0x100498;_0x2c227a>=0x0;_0x2c227a--)(_0x100498=_0x2b5763[_0x2c227a])&&(_0x5b95e0=_0x100498(_0x5b95e0)||_0x5b95e0);return _0x5b95e0;},hi=(_0x428599,_0x82c514)=>(_0x2abb94,_0x5d5763)=>_0x82c514(_0x2abb94,_0x5d5763,_0x428599);const _r=_0x4635a5(0x301);let yt=class{constructor(_0x18633f,_0x28c84b){var _0x2053d0=_0x4635a5;this[_0x2053d0(0x3bd)]=_0x18633f,this['_HTTPService']=_0x28c84b;}['_getAPIPrefixPath'](){var _0x37473d=_0x4635a5,_0x4f7d40,_0x364fc4;const _0x2ee52b=this[_0x37473d(0x3bd)][_0x37473d(0x376)](Ni),_0x67f5d3=this[_0x37473d(0x3bd)]['getConfig'](q);return(_0x364fc4=(_0x4f7d40=_0x67f5d3==null?void 0x0:_0x67f5d3[_0x37473d(0x28a)])!=null?_0x4f7d40:_0x2ee52b)!=null?_0x364fc4:_r;}async[_0x4635a5(0x48d)](_0x3b91fa){var _0x1dbaf5=_0x4635a5;const _0x2b7a46=this[_0x1dbaf5(0x1f8)]()+_0x1dbaf5(0x23a);return{'list':[{'title':_0x1dbaf5(0x487),'mentions':(await this[_0x1dbaf5(0x2fd)]['get'](_0x2b7a46,{'params':{'objectID':_0x3b91fa[_0x1dbaf5(0x432)],'unitID':_0x3b91fa['unitId']}}))[_0x1dbaf5(0x454)]['collaborators']['map'](_0x1af1c1=>({'objectId':_0x1af1c1['id'],'name':_0x1af1c1['subject'][_0x1dbaf5(0x36c)],'metadata':{'icon':_0x1af1c1[_0x1dbaf5(0x2d2)][_0x1dbaf5(0x4b9)]},'label':_0x1af1c1['subject'][_0x1dbaf5(0x36c)],'objectType':_0x11f357[_0x1dbaf5(0x4d6)]})),'metadata':{},'type':_0x11f357[_0x1dbaf5(0x4d6)]}]};}};yt=hr([hi(0x0,_0x578b85(_0x2aefe0)),hi(0x1,_0x578b85(_0x3004fd))],yt);var lr=Object[_0x4635a5(0x2fe)],ur=(_0x5c0a73,_0x1cbe23,_0x474d43,_0x1af646)=>{var _0x3d21af=_0x4635a5;for(var _0xce44a8=_0x1af646>0x1?void 0x0:_0x1af646?lr(_0x1cbe23,_0x474d43):_0x1cbe23,_0x363233=_0x5c0a73[_0x3d21af(0x45b)]-0x1,_0x2f321a;_0x363233>=0x0;_0x363233--)(_0x2f321a=_0x5c0a73[_0x363233])&&(_0xce44a8=_0x2f321a(_0xce44a8)||_0xce44a8);return _0xce44a8;},we=(_0x171885,_0x124a7b)=>(_0x567ecf,_0xaa28e4)=>_0x124a7b(_0x567ecf,_0xaa28e4,_0x171885);let ot=class extends _0x4c46c5{constructor(_0x277ddf,_0x2d728e,_0x5cc9a2,_0x50b1aa,_0xdd4ac8){var _0x234c8a=_0x4635a5;super(),this[_0x234c8a(0x319)]=_0x277ddf,this[_0x234c8a(0x3c0)]=_0x2d728e,this['_permissionService']=_0x5cc9a2,this[_0x234c8a(0x40b)]=_0x50b1aa,this['_collaborationUIEventService']=_0xdd4ac8,this['_initUnitPermissionChange'](),this[_0x234c8a(0x2e7)]();}[_0x4635a5(0x2e7)](){var _0x43e7d5=_0x4635a5;const _0x13cb0c=async _0x54551d=>{var _0x342408=_0x2074;(await this[_0x342408(0x40b)]['requireSession'](_0x54551d))[_0x342408(0x476)][_0x342408(0x40e)](_0x306860(_0x40e3ca=>_0x40e3ca[_0x342408(0x43c)]===_0x520c54[_0x342408(0x3fd)]),_0x3d3220(this[_0x342408(0x46f)]))['subscribe'](_0x396c91=>{var _0x40002a=_0x342408;const _0x3e8c87=_0x396c91,{reason:_0x5e2727}=_0x3e8c87[_0x40002a(0x3b6)];this[_0x40002a(0x462)]['emitEvent']({'id':re[_0x40002a(0x2a7)],'data':_0x5e2727}),this[_0x40002a(0x36a)]['updatePermissionPoint'](new _0x4cf2f9(_0x54551d)['id'],!0x1),this[_0x40002a(0x40b)][_0x40002a(0x1f1)](_0x54551d);});};_0x50aefb(this[_0x43e7d5(0x3c0)][_0x43e7d5(0x1fa)](_0x132a6c['UNIVER_SHEET']),this[_0x43e7d5(0x3c0)][_0x43e7d5(0x1fa)](_0x132a6c[_0x43e7d5(0x259)]))[_0x43e7d5(0x40e)](_0xda3e25(_0x572bdb=>_0x572bdb[_0x43e7d5(0x23d)]()),_0x306860(_0x178aa4=>!_0x278507(_0x178aa4)),_0x3d3220(this[_0x43e7d5(0x46f)]))[_0x43e7d5(0x2fc)](_0x10190c=>{_0x13cb0c(_0x10190c);});}[_0x4635a5(0x363)](){var _0x12550d=_0x4635a5;const _0x31b054=async _0x143449=>{var _0x2f5f71=_0x2074;const _0x55f302=await this[_0x2f5f71(0x40b)][_0x2f5f71(0x22e)](_0x143449),_0xe04706=this[_0x2f5f71(0x319)]['get'](_0x4c4955);_0x55f302[_0x2f5f71(0x476)]['pipe'](_0x306860(_0x152863=>_0x152863[_0x2f5f71(0x43c)]===_0x520c54[_0x2f5f71(0x337)]),_0x3d3220(this[_0x2f5f71(0x46f)]))[_0x2f5f71(0x2fc)](_0x50657d=>{var _0x357520=_0x2f5f71;const _0x55582a=_0x50657d,{objectId:_0x217cd9}=_0x55582a['data'];_0x217cd9===_0x143449?_0xe04706[_0x357520(0x1f7)](_0x143449):_0xe04706[_0x357520(0x408)](_0x143449,_0x217cd9);});};_0x50aefb(this[_0x12550d(0x3c0)][_0x12550d(0x1fa)](_0x132a6c['UNIVER_SHEET']))[_0x12550d(0x40e)](_0xda3e25(_0x4b69f5=>_0x4b69f5[_0x12550d(0x23d)]()),_0x306860(_0x323465=>!_0x278507(_0x323465)),_0x3d3220(this[_0x12550d(0x46f)]))[_0x12550d(0x2fc)](_0x487981=>{_0x31b054(_0x487981);});}};ot=ur([we(0x0,_0x578b85(_0x54435d)),we(0x1,_0x23a680),we(0x2,_0x511af1),we(0x3,_0x578b85(Me)),we(0x4,_0x578b85(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x1ad83c,_0x21e20,_0x3215f8,_0x4fd97a)=>{var _0x15492b=_0x4635a5;for(var _0x3d5c33=_0x4fd97a>0x1?void 0x0:_0x4fd97a?dr(_0x21e20,_0x3215f8):_0x21e20,_0x1c7add=_0x1ad83c[_0x15492b(0x45b)]-0x1,_0x58670f;_0x1c7add>=0x0;_0x1c7add--)(_0x58670f=_0x1ad83c[_0x1c7add])&&(_0x3d5c33=_0x58670f(_0x3d5c33)||_0x3d5c33);return _0x3d5c33;},_i=(_0x589e74,_0x4f0c05)=>(_0x1a0555,_0x14d344)=>_0x4f0c05(_0x1a0555,_0x14d344,_0x589e74);let Nt=class{constructor(_0x250275,_0x3ee1af){var _0x3e5e51=_0x4635a5;this[_0x3e5e51(0x3bd)]=_0x250275,this[_0x3e5e51(0x32a)]=_0x3ee1af;}async['getUnitOnRev'](_0x3e3bc9,_0x26a0da){var _0x4ec9b3=_0x4635a5,_0x593842;const {unitID:_0x3aed2a,type:_0x12d72b,revision:_0x5b7ca1=0x0}=_0x26a0da,_0x31e3ed=this['getSnapshotAPIPath']()+'/'+_0x12d72b+'/unit/'+_0x3aed2a+'/rev/'+_0x5b7ca1,_0x2497db=(await this[_0x4ec9b3(0x32a)][_0x4ec9b3(0x2db)](_0x31e3ed))[_0x4ec9b3(0x454)],_0x3bd348=(_0x593842=_0x2497db[_0x4ec9b3(0x33c)])==null?void 0x0:_0x593842[_0x4ec9b3(0x403)];if(_0x3bd348){const _0x1b7f3d=_0x3bd348==null?void 0x0:_0x3bd348[_0x4ec9b3(0x48c)],_0x3edd87=_0xcb48b4['encode'](_0x37c8fc(_0x1b7f3d));_0x3bd348[_0x4ec9b3(0x48c)]=_0x3edd87,Object[_0x4ec9b3(0x26f)](_0x3bd348[_0x4ec9b3(0x491)])['forEach'](([,_0xf1694f])=>{var _0x217135=_0x4ec9b3;const _0x3427af=_0xf1694f['originalMeta'],_0x54ac81=_0xcb48b4[_0x217135(0x3d3)](_0x37c8fc(_0x3427af));_0xf1694f[_0x217135(0x48c)]=_0x54ac81;});}return _0x2497db;}async[_0x4635a5(0x239)](_0x248206,_0x5af574){var _0x45b28f=_0x4635a5;const {unitID:_0x428928,type:_0x8dc25c,blockID:_0x4cf29f}=_0x5af574,_0x572e25=this[_0x45b28f(0x39f)]()+'/'+_0x8dc25c+_0x45b28f(0x310)+_0x428928+_0x45b28f(0x2f1)+_0x4cf29f;return(await this[_0x45b28f(0x32a)]['get'](_0x572e25))[_0x45b28f(0x454)];}async[_0x4635a5(0x270)](_0x2fe316,_0x42f885){var _0x31d807=_0x4635a5;const {unitID:_0x51daee,type:_0x39b19e,blockID:_0x5a8c4e}=_0x42f885,_0x19847d=this[_0x31d807(0x39f)]()+_0x31d807(0x2f1)+_0x39b19e+_0x31d807(0x310)+_0x51daee+_0x31d807(0x2f1)+_0x5a8c4e;return(await this[_0x31d807(0x32a)][_0x31d807(0x2db)](_0x19847d))[_0x31d807(0x454)];}async['fetchMissingChangesets'](_0x25da59,_0x4a4cd3){var _0x31c741=_0x4635a5;const {unitID:_0x24fb6e,type:_0x35f60f,from:_0x279af5,to:_0x19d5cc}=_0x4a4cd3,_0x5e093b=this[_0x31c741(0x39f)]()+'/'+_0x35f60f+'/unit/'+_0x24fb6e+_0x31c741(0x21a)+_0x279af5+'&to='+_0x19d5cc;return(await this['_httpService'][_0x31c741(0x2db)](_0x5e093b))[_0x31c741(0x454)];}[_0x4635a5(0x306)](){var _0x56e786=_0x4635a5,_0x55a2f0;return(_0x55a2f0=this['_configService']['getConfig'](Sn))!=null?_0x55a2f0:this[_0x56e786(0x39f)]();}['_getAPIPrefix'](){var _0x50973d=_0x4635a5,_0x23db22,_0x225edc;const _0x273223=this[_0x50973d(0x3bd)]['getConfig'](mn),_0x55af2e=this['_configService'][_0x50973d(0x376)](q);return(_0x225edc=(_0x23db22=_0x55af2e==null?void 0x0:_0x55af2e[_0x50973d(0x483)])!=null?_0x23db22:_0x273223)!=null?_0x225edc:gn;}async['getResourcesRequest'](_0x56fc2b,_0x55e9eb){var _0x162e77=_0x4635a5;const _0x103b5b=_0x162e77(0x262)+_0x55e9eb[_0x162e77(0x387)]+_0x162e77(0x310)+_0x55e9eb[_0x162e77(0x3bc)]+_0x162e77(0x1da);return(await this[_0x162e77(0x32a)][_0x162e77(0x2db)](_0x103b5b,{'params':{'resourceId':JSON[_0x162e77(0x277)](_0x55e9eb[_0x162e77(0x243)])}}))[_0x162e77(0x454)];}[_0x4635a5(0x49c)](){var _0x50f6e3=_0x4635a5;throw new Error(_0x50f6e3(0x3d5));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4635a5(0x206)](){var _0x442f3d=_0x4635a5;throw new Error(_0x442f3d(0x3d5));}[_0x4635a5(0x455)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4635a5(0x494)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x2aefe0),_i(0x1,_0x578b85(_0x3004fd))],Nt);var vr=Object[_0x4635a5(0x2fe)],pr=(_0x3803ea,_0x449131,_0x4cff30,_0x1688cd)=>{var _0x409775=_0x4635a5;for(var _0x5a4a9c=_0x1688cd>0x1?void 0x0:_0x1688cd?vr(_0x449131,_0x4cff30):_0x449131,_0x3e838c=_0x3803ea[_0x409775(0x45b)]-0x1,_0x282b3c;_0x3e838c>=0x0;_0x3e838c--)(_0x282b3c=_0x3803ea[_0x3e838c])&&(_0x5a4a9c=_0x282b3c(_0x5a4a9c)||_0x5a4a9c);return _0x5a4a9c;},Pe=(_0x31a67d,_0x39bb79)=>(_0x2591ed,_0x17ba70)=>_0x39bb79(_0x2591ed,_0x17ba70,_0x31a67d);let Dt=class extends _0x4802da{constructor(_0x30f318,_0x5edfd3,_0xe1c048,_0x5d0d51,_0x48668f){var _0x477b12=_0x4635a5;super(_0x30f318,_0x5edfd3,_0xe1c048),this[_0x477b12(0x340)]=_0x5d0d51,this[_0x477b12(0x360)]=_0x48668f;}[_0x4635a5(0x42e)](_0x5caeab,_0x2c0a19){var _0x3c0501=_0x4635a5;const _0xb00d67=this[_0x3c0501(0x453)](_0x5caeab);if(_0xb00d67)try{const _0x2500e8=this[_0x3c0501(0x218)](_0xb00d67,_0x2c0a19);this[_0x3c0501(0x4c2)](_0x5caeab,_0x2500e8);}catch(_0x5691ad){this[_0x3c0501(0x360)][_0x3c0501(0x3d9)](_0x3c0501(0x41a),_0x5691ad),this[_0x3c0501(0x457)](_0x5caeab);}const _0x166a53=this[_0x3c0501(0x207)](_0x5caeab);if(_0x166a53)try{const _0x535dc9=this[_0x3c0501(0x218)](_0x166a53,_0x2c0a19);this[_0x3c0501(0x244)](_0x5caeab,_0x535dc9);}catch(_0x4ee3b7){this[_0x3c0501(0x360)]['error'](_0x4ee3b7),this[_0x3c0501(0x49b)](_0x5caeab);}}[_0x4635a5(0x457)](_0x2a5165){var _0x36eaab=_0x4635a5;const _0x197b2e=this['_getUndoStack'](_0x2a5165);_0x197b2e&&(_0x197b2e[_0x36eaab(0x45b)]=0x0,this['_updateStatus']());}[_0x4635a5(0x49b)](_0x121384){var _0x1663b8=_0x4635a5;const _0x536d18=this[_0x1663b8(0x207)](_0x121384);_0x536d18&&(_0x536d18[_0x1663b8(0x45b)]=0x0,this[_0x1663b8(0x205)]());}[_0x4635a5(0x4c2)](_0x2ae7ef,_0xb56db7){var _0x12514d=_0x4635a5;this[_0x12514d(0x470)]['set'](_0x2ae7ef,_0xb56db7),this['_updateStatus']();}[_0x4635a5(0x244)](_0xfe4b2c,_0x65199){var _0x111f0f=_0x4635a5;this['_redoStacks']['set'](_0xfe4b2c,_0x65199),this[_0x111f0f(0x205)]();}[_0x4635a5(0x218)](_0x5153eb,_0x58dcb5){var _0x1beb42=_0x4635a5;const _0x4dcae8=[];let _0xa91681=_0x58dcb5,_0x5ae57c=_0x58dcb5;for(let _0x591a4b=_0x5153eb[_0x1beb42(0x45b)]-0x1;_0x591a4b>=0x0;_0x591a4b--){const {unitID:_0x2d708a,undoMutations:_0x3d665d,redoMutations:_0x8a360d}=_0x5153eb[_0x591a4b],_0x1b2315=this['_transformService'][_0x1beb42(0x38e)](_0xa91681,_0x3d665d),_0xec232c=this[_0x1beb42(0x340)][_0x1beb42(0x38e)](_0x5ae57c,_0x8a360d);if(_0x75a5ff(_0x1b2315)||_0x75a5ff(_0xec232c)){this[_0x1beb42(0x360)][_0x1beb42(0x3d9)]('[CollaborationUndoRedoService]',_0x1beb42(0x443),_0x1b2315,_0xec232c);break;}_0xa91681=_0x1b2315[_0x1beb42(0x465)],_0x5ae57c=_0xec232c[_0x1beb42(0x465)],_0x4dcae8[_0x1beb42(0x1fb)]({'unitID':_0x2d708a,'undoMutations':_0x1b2315[_0x1beb42(0x4cc)],'redoMutations':_0xec232c[_0x1beb42(0x4cc)]});}return _0x4dcae8[_0x1beb42(0x427)]();}};Dt=pr([Pe(0x0,_0x23a680),Pe(0x1,_0x376e9b),Pe(0x2,_0xb9e1e9),Pe(0x3,_0x786dee),Pe(0x4,_0xc09f78)],Dt);var mr=Object[_0x4635a5(0x2aa)],gr=Object[_0x4635a5(0x2fe)],Sr=(_0x4940fd,_0x564970,_0x523d49)=>_0x564970 in _0x4940fd?mr(_0x4940fd,_0x564970,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x523d49}):_0x4940fd[_0x564970]=_0x523d49,Er=(_0x558814,_0x4865d0,_0x58251c,_0x4f29e2)=>{var _0x161d94=_0x4635a5;for(var _0x509e4b=_0x4f29e2>0x1?void 0x0:_0x4f29e2?gr(_0x4865d0,_0x58251c):_0x4865d0,_0x35e734=_0x558814[_0x161d94(0x45b)]-0x1,_0x368ab7;_0x35e734>=0x0;_0x35e734--)(_0x368ab7=_0x558814[_0x35e734])&&(_0x509e4b=_0x368ab7(_0x509e4b)||_0x509e4b);return _0x509e4b;},St=(_0x15d61d,_0x43b868)=>(_0x596d25,_0x375af8)=>_0x43b868(_0x596d25,_0x375af8,_0x15d61d),Ir=(_0x50a3df,_0x3374c7,_0x5ba1f5)=>Sr(_0x50a3df,_0x3374c7+'',_0x5ba1f5);const Tr=_0x4635a5(0x289);let Ut=class extends _0x50dcc7{constructor(_0x47fe11,_0x11aa84,_0x295ce3,_0x530091){var _0x45dc95=_0x4635a5;super(),N(this,_0x45dc95(0x4ca)),(this[_0x45dc95(0x360)]=_0x11aa84,this[_0x45dc95(0x319)]=_0x295ce3,this[_0x45dc95(0x3bd)]=_0x530091);const {..._0x1f0678}=_0x257cb9({},wn,_0x47fe11);if(!_0x1f0678[_0x45dc95(0x212)])throw new Error(_0x45dc95(0x28c));this[_0x45dc95(0x4ca)]=_0x1f0678,this['_configService']['setConfig'](q,_0x1f0678);}[_0x4635a5(0x4c5)](){var _0x2c171a=_0x4635a5;this[_0x2c171a(0x485)](),this[_0x2c171a(0x3ba)]();}[_0x4635a5(0x485)](){var _0x473e28=_0x4635a5,_0x4e5691,_0x2a188d;this[_0x473e28(0x319)][_0x473e28(0x364)](_0x3a7d8c)&&this[_0x473e28(0x360)][_0x473e28(0x3d9)](_0x473e28(0x1ff),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xf028f3=_0x2882be([[_0x3a7d8c,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x473e28(0x4ca)][_0x473e28(0x212)]}],[_0x2871a0,{'useClass':Nt}],[_0x3ebca2,{'useClass':Rt}],[_0x4fcf13,{'useClass':Ot}],[_0x55dc82,{'useClass':yt}],[st],[Ct]],(_0x4e5691=this['_config'])==null?void 0x0:_0x4e5691[_0x473e28(0x2b4)]);if(!((_0x2a188d=this['_config'])!=null&&_0x2a188d[_0x473e28(0x2b8)])){const _0x5ad8c1=_0xf028f3[_0x473e28(0x32f)](([_0x40ba6f])=>_0x40ba6f===ht);_0x5ad8c1!==-0x1&&_0xf028f3['splice'](_0x5ad8c1,0x1);}_0x28bba2(this[_0x473e28(0x319)],_0xf028f3);}['_initDependencies'](){var _0x3c61d3=_0x4635a5,_0x3c36fe,_0x28f4dd,_0x580bed;this[_0x3c61d3(0x319)][_0x3c61d3(0x2db)](_0x3004fd)[_0x3c61d3(0x47f)]({'priority':0x14,'interceptor':_0x38e386({'maxParallel':0x6})}),(_0x3c36fe=this[_0x3c61d3(0x4ca)])!=null&&_0x3c36fe['enableOfflineEditing']||(_0x28f4dd=this[_0x3c61d3(0x319)][_0x3c61d3(0x2db)](J,_0x2977ac[_0x3c61d3(0x498)]))==null||_0x28f4dd[_0x3c61d3(0x4bd)](),(_0x580bed=this['_config'])!=null&&_0x580bed[_0x3c61d3(0x241)]&&_0x534c43(this[_0x3c61d3(0x319)],[[rt]]),_0x534c43(this[_0x3c61d3(0x319)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x3e9518(_0x2eebf1,_0x5595db),St(0x1,_0xc09f78),St(0x2,_0x578b85(_0x54435d)),St(0x3,_0x2aefe0)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};