@univerjs-pro/collaboration-client 0.5.1-nightly.202412090546 → 0.5.1-nightly.202412090925

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 _0x133617=_0x338e;(function(_0x2642d7,_0x3651e7){var _0x5d9df6=_0x338e,_0x2841cc=_0x2642d7();while(!![]){try{var _0x5993e2=parseInt(_0x5d9df6(0x1a7))/0x1*(parseInt(_0x5d9df6(0x342))/0x2)+parseInt(_0x5d9df6(0x23c))/0x3+parseInt(_0x5d9df6(0x2de))/0x4+parseInt(_0x5d9df6(0x368))/0x5+-parseInt(_0x5d9df6(0x1bf))/0x6+-parseInt(_0x5d9df6(0x1da))/0x7*(parseInt(_0x5d9df6(0x3b9))/0x8)+-parseInt(_0x5d9df6(0x2b9))/0x9*(-parseInt(_0x5d9df6(0x246))/0xa);if(_0x5993e2===_0x3651e7)break;else _0x2841cc['push'](_0x2841cc['shift']());}catch(_0x1c215c){_0x2841cc['push'](_0x2841cc['shift']());}}}(_0x2c06,0x72f12));var Li=Object['defineProperty'],Mi=(_0x32ab52,_0xdaf04a,_0x2feb32)=>_0xdaf04a in _0x32ab52?Li(_0x32ab52,_0xdaf04a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2feb32}):_0x32ab52[_0xdaf04a]=_0x2feb32,D=(_0x3f0482,_0x3c735e,_0x8dde2a)=>Mi(_0x3f0482,typeof _0x3c735e!=_0x133617(0x19c)?_0x3c735e+'':_0x3c735e,_0x8dde2a);import{createIdentifier as _0x45daf3,Inject as _0x1dc41d,Injector as _0x485aa2,Disposable as _0xf6a891,DisposableCollection as _0x5dbfe8,toDisposable as _0x2b5885,IConfigService as _0x387b00,ILogService as _0x9980c2,UserManagerService as _0x2077be,UniverInstanceType as _0x4b329a,IUniverInstanceService as _0x23476a,LocaleService as _0x5bfcba,Optional as _0x13f1aa,RxDisposable as _0x2c04b2,Tools as _0x3e74e3,Rectangle as _0xcbaad8,ICommandService as _0x3a3afb,JSONX as _0x1084ae,CommandType as _0x2fe081,IPermissionService as _0x113cc3,IUndoRedoService as _0x2c523a,sequenceExecute as _0x31582c,Workbook as _0x3eae1b,MentionType as _0x137850,IAuthzIoService as _0x14700c,isInternalEditorID as _0x587025,LocalUndoRedoService as _0x198a18,IContextService as _0x42c599,DependentOn as _0x4b1631,Plugin as _0x91ca3,mergeOverrideWithDependencies as _0x3f2ea0,IMentionIOService as _0xe7468f,registerDependencies as _0x1b4978,Quantity as _0x48e2f0,touchDependencies as _0x5b52da}from'@univerjs/core';import{Subject as _0x48a56c,merge as _0x157496,takeUntil as _0x48340f,BehaviorSubject as _0x560b1b,ReplaySubject as _0xb997b3,take as _0x196b29,map as _0x9d5677,shareReplay as _0x29092f,of as _0x5f500f,firstValueFrom as _0x2d770b,concatMap as _0x5c9c44}from'rxjs';import{map as _0xab3a8f,take as _0x1ac8f6,filter as _0x187f73,delay as _0x50b254,takeUntil as _0x5468ef}from'rxjs/operators';import{HTTPService as _0x566212,ISocketService as _0x469cc3,MergeInterceptorFactory as _0x59cea1,HTTPRequest as _0x3666bf,UniverNetworkPlugin as _0x51ff62,ThresholdInterceptorFactory as _0x518aa4}from'@univerjs/network';import{CollaborationEvent as _0xef4ce6,parseChangesetToProtocol as _0x16e07b,ISnapshotServerService as _0x36001d,isTransformMutationsWithChangesetSuccess as _0x7af77d,ITransformService as _0x4915cb,mapDocumentTypeToUniverType as _0x53e7dd,RevisionService as _0x1db671,isTransformChangesetsSuccess as _0x48de75,CompressMutationService as _0x197e0d,parseProtocolChangeset as _0x578aac,SnapshotService as _0x202204,textEncoder as _0x35d930,b64DecodeUnicode as _0x82e599,isTransformMutationsWithChangesetFailure as _0x25ac26,UniverCollaborationPlugin as _0x54914a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x562172}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5a5832}from'@univerjs/docs';import{SheetsSelectionsService as _0x183319,SetSelectionsOperation as _0x20231e,InsertSheetMutation as _0x549ad3,EmptyMutation as _0x5c1323,WorkbookEditablePermission as _0x4c611b,UnitObject as _0x4d688a,defaultWorkbookPermissionPoints as _0x47b2b7,getAllWorkbookPermissionPoint as _0x158093,WorksheetProtectionRuleModel as _0x39b53c,baseProtectionActions as _0x1a72fc,getAllWorksheetPermissionPoint as _0x476f0a,WorksheetProtectionPointModel as _0x146216,defaultWorksheetPermissionPoint as _0x59ce61,getAllWorksheetPermissionPointByPointPanel as _0x2f65ed,RangeProtectionRuleModel as _0x30e8bd,getAllRangePermissionPoint as _0x3abc76,UniverSheetsPlugin as _0x8011e7}from'@univerjs/sheets';import{ImageSourceType as _0x1f497d,ImageUploadStatusType as _0x44ca29,IImageIoService as _0x4bb744}from'@univerjs/drawing';import{getGlobalObject as _0x521dca}from'@univerjs-pro/license';const Pn=_0x133617(0x350),Nn=_0x133617(0x327),Dn=_0x133617(0x317),ho=_0x133617(0x2e0),wn=0x7d0,Un=_0x133617(0x3ff),An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0x133617(0x39e),Ln='HEARTBEAT_INTERVAL',Mn=0x7530,Si=_0x133617(0x25a),Ei=0x4e20,$n=0x4e20,Hn=_0x133617(0x352),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x133617(0x3aa),Fn=_0x133617(0x28d),Vn=_0x133617(0x2fd);var Ii=(_0x41cb0d=>(_0x41cb0d[_0x41cb0d['UNDEFINED']=0x0]=_0x133617(0x29a),_0x41cb0d[_0x41cb0d['OK']=0x1]='OK',_0x41cb0d[_0x41cb0d['INTERNAL_ERROR']=0x2]=_0x133617(0x17e),_0x41cb0d[_0x41cb0d['PERMISSION_DENIED']=0x3]=_0x133617(0x3b7),_0x41cb0d[_0x41cb0d['NOT_FOUND']=0x4]='NOT_FOUND',_0x41cb0d[_0x41cb0d['UNAUTHENTICATED']=0x5]=_0x133617(0x27f),_0x41cb0d[_0x41cb0d[_0x133617(0x3d6)]=0x6]=_0x133617(0x3d6),_0x41cb0d[_0x41cb0d[_0x133617(0x23b)]=0x7]=_0x133617(0x23b),_0x41cb0d[_0x41cb0d[_0x133617(0x1e9)]=0x8]=_0x133617(0x1e9),_0x41cb0d[_0x41cb0d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x41cb0d[_0x41cb0d[_0x133617(0x1bc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x41cb0d[_0x41cb0d[_0x133617(0x227)]=0x1771]=_0x133617(0x227),_0x41cb0d[_0x41cb0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41cb0d[_0x41cb0d[_0x133617(0x359)]=0x1773]=_0x133617(0x359),_0x41cb0d[_0x41cb0d[_0x133617(0x461)]=0x1b59]=_0x133617(0x461),_0x41cb0d[_0x41cb0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x133617(0x257),_0x41cb0d[_0x41cb0d[_0x133617(0x457)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x41cb0d[_0x41cb0d[_0x133617(0x377)]=0x1b5c]=_0x133617(0x377),_0x41cb0d[_0x41cb0d[_0x133617(0x466)]=0x1b5d]=_0x133617(0x466),_0x41cb0d[_0x41cb0d[_0x133617(0x2c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x41cb0d[_0x41cb0d[_0x133617(0x294)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x41cb0d[_0x41cb0d[_0x133617(0x3a9)]=0x232a]=_0x133617(0x3a9),_0x41cb0d[_0x41cb0d[_0x133617(0x396)]=0x232b]=_0x133617(0x396),_0x41cb0d[_0x41cb0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x133617(0x45a),_0x41cb0d[_0x41cb0d[_0x133617(0x358)]=0x232d]=_0x133617(0x358),_0x41cb0d[_0x41cb0d[_0x133617(0x1dd)]=0x2711]=_0x133617(0x1dd),_0x41cb0d[_0x41cb0d[_0x133617(0x29f)]=0x2712]=_0x133617(0x29f),_0x41cb0d[_0x41cb0d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x133617(0x18a),_0x41cb0d[_0x41cb0d[_0x133617(0x203)]=0x2714]=_0x133617(0x203),_0x41cb0d[_0x41cb0d[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x41cb0d))(Ii||{}),Q=(_0x295ba=>(_0x295ba[_0x295ba[_0x133617(0x46b)]=0x0]=_0x133617(0x46b),_0x295ba[_0x295ba['UNIVER_DOC']=0x1]=_0x133617(0x3d1),_0x295ba[_0x295ba[_0x133617(0x184)]=0x2]=_0x133617(0x184),_0x295ba[_0x295ba['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x295ba[_0x295ba['UNIVER_PROJECT']=0x4]=_0x133617(0x263),_0x295ba[_0x295ba['UNRECOGNIZED']=-0x1]=_0x133617(0x42d),_0x295ba))(Q||{}),F=(_0x240a5c=>(_0x240a5c[_0x240a5c['UNKNOWN_CMD']=0x0]=_0x133617(0x1f6),_0x240a5c[_0x240a5c[_0x133617(0x434)]=0x1]='HELLO',_0x240a5c[_0x240a5c[_0x133617(0x2af)]=0x2]=_0x133617(0x2af),_0x240a5c[_0x240a5c[_0x133617(0x3d2)]=0x3]=_0x133617(0x3d2),_0x240a5c[_0x240a5c[_0x133617(0x239)]=0x4]=_0x133617(0x239),_0x240a5c[_0x240a5c[_0x133617(0x169)]=0x5]=_0x133617(0x169),_0x240a5c[_0x240a5c[_0x133617(0x25c)]=0x6]=_0x133617(0x25c),_0x240a5c[_0x240a5c[_0x133617(0x42d)]=-0x1]=_0x133617(0x42d),_0x240a5c))(F||{}),Ee=(_0x254b12=>(_0x254b12[_0x254b12[_0x133617(0x38d)]=0x0]=_0x133617(0x38d),_0x254b12[_0x254b12['OK']=0x1]='OK',_0x254b12[_0x254b12[_0x133617(0x316)]=0x2]=_0x133617(0x316),_0x254b12[_0x254b12['JOIN_ROOM_FULL']=0x3e9]=_0x133617(0x403),_0x254b12[_0x254b12[_0x133617(0x231)]=0x3ea]=_0x133617(0x231),_0x254b12[_0x254b12[_0x133617(0x2cd)]=0x3eb]=_0x133617(0x2cd),_0x254b12[_0x254b12[_0x133617(0x1ee)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x254b12[_0x254b12[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x254b12))(Ee||{}),Ti=(_0x40f729=>(_0x40f729[_0x40f729[_0x133617(0x217)]=0x0]=_0x133617(0x217),_0x40f729[_0x40f729[_0x133617(0x1f0)]=0x1]='HttpImport',_0x40f729[_0x40f729[_0x133617(0x390)]=0x2]=_0x133617(0x390),_0x40f729[_0x40f729[_0x133617(0x398)]=0x3]=_0x133617(0x398),_0x40f729[_0x40f729[_0x133617(0x356)]=0x4]=_0x133617(0x356),_0x40f729[_0x40f729[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x40f729))(Ti||{});const Y=_0x133617(0x30f),Wn={};var se=(_0x3bb7a0=>(_0x3bb7a0[_0x133617(0x46c)]=_0x133617(0x46c),_0x3bb7a0[_0x133617(0x3b7)]=_0x133617(0x3b7),_0x3bb7a0[_0x133617(0x366)]=_0x133617(0x366),_0x3bb7a0[_0x133617(0x24a)]=_0x133617(0x24a),_0x3bb7a0[_0x133617(0x1e6)]=_0x133617(0x1e6),_0x3bb7a0[_0x133617(0x34d)]=_0x133617(0x34d),_0x3bb7a0[_0x133617(0x2a1)]=_0x133617(0x2a1),_0x3bb7a0[_0x133617(0x3b5)]=_0x133617(0x3b5),_0x3bb7a0))(se||{});class pe{constructor(){var _0x41ef1d=_0x133617;D(this,_0x41ef1d(0x407),new _0x48a56c()),D(this,_0x41ef1d(0x225),this['_event$']['asObservable']());}[_0x133617(0x3a3)](_0x3be5ca){var _0x4aad2f=_0x133617;this[_0x4aad2f(0x407)]['next'](_0x3be5ca);}}const Gn=_0x45daf3(_0x133617(0x20a));function Kn(_0x3f0dd2){var _0x2ad57c=_0x133617,_0x46473e,_0x5827a2,_0x556edb,_0x33b1ea,_0xd716c1;const _0x5e4283=_0x3f0dd2[_0x2ad57c(0x3b2)],_0x1129c5=JSON[_0x2ad57c(0x325)](_0x5e4283);switch(_0x1129c5[_0x2ad57c(0x17d)]){case F['HEARTBEAT']:case F['HELLO']:{const _0x57cd78=_0x1129c5[_0x2ad57c(0x229)];return{..._0x1129c5,'data':_0x57cd78,'cmd':_0x1129c5[_0x2ad57c(0x17d)]};}case F[_0x2ad57c(0x2af)]:{const _0x4fa2f5=_0x1129c5[_0x2ad57c(0x1cd)];return{..._0x1129c5,'data':_0x4fa2f5,'cmd':_0x1129c5['cmd']};}case F[_0x2ad57c(0x25c)]:{const _0x20153a=_0x1129c5[_0x2ad57c(0x3cc)];switch(_0x20153a[_0x2ad57c(0x2b2)]){case _0xef4ce6['PERMISSION_REJ']:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x46473e=_0x20153a['permissionRejEvent'])==null?void 0x0:_0x46473e['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x1fb)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x5827a2=_0x20153a['csAckEvent'])==null?void 0x0:_0x5827a2['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x30d)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x556edb=_0x20153a['newCsEvent'])==null?void 0x0:_0x556edb['cs']},'cmd':_0x1129c5['cmd']};case _0xef4ce6['CHANGESET_REJ']:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x33b1ea=_0x20153a[_0x2ad57c(0x207)])==null?void 0x0:_0x33b1ea['cs']},'cmd':_0x1129c5['cmd']};case _0xef4ce6[_0x2ad57c(0x220)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0xd716c1=_0x20153a[_0x2ad57c(0x28c)])==null?void 0x0:_0xd716c1['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x175)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3bc)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x334)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['joinEvent']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6['USERS_LEAVE']:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3ae)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x168)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x1ea)]},'cmd':_0x1129c5['cmd']};case _0xef4ce6[_0x2ad57c(0x2e3)]:case _0xef4ce6[_0x2ad57c(0x3e1)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x243)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x204)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['liveShareNewHost']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x415)]:return{..._0x1129c5,'data':_0x20153a,'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x455)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3f6)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x32e)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x21f)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x333)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['shouldCloseConn']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};default:return _0x1129c5;}}default:return _0x1129c5;}}function zn(_0x336f01){var _0x5661f8=_0x133617;switch(_0x336f01[_0x5661f8(0x17d)]){case F[_0x5661f8(0x169)]:case F[_0x5661f8(0x434)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01[_0x5661f8(0x17d)],'routeKey':_0x336f01[_0x5661f8(0x2f7)]});case F[_0x5661f8(0x239)]:{let _0xf25db3;switch(_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x2b2)]){case _0xef4ce6[_0x5661f8(0x175)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x175)],'updateCursorEvent':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x269)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x269)],'leaveEvent':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x334)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x334)],'joinEvent':_0x336f01[_0x5661f8(0x3b2)]['data']};break;}case _0xef4ce6[_0x5661f8(0x168)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x168)],'liveShareNewHost':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x3e1)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x3e1)],'liveShareOperation':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x204)]:{_0xf25db3={'eventID':_0xef4ce6['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6['LIVESHARE_REQUEST_HOST']:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x3d3)],'liveShareRequestHost':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x2e3)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x2e3)]};break;}default:_0xf25db3={'eventID':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x2b2)]};}return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01[_0x5661f8(0x2f7)],'collaMsg':_0xf25db3});}case F[_0x5661f8(0x2af)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01[_0x5661f8(0x2f7)],'joinReq':_0x336f01[_0x5661f8(0x3b2)]});case F[_0x5661f8(0x3d2)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01['routeKey'],'leaveReq':_0x336f01[_0x5661f8(0x3b2)]});default:throw new Error(_0x5661f8(0x1aa));}}var Yn=Object['defineProperty'],qn=Object['getOwnPropertyDescriptor'],Jn=(_0xdec36,_0xd01509,_0x281d8e,_0x4750df)=>{for(var _0x4192b2=_0x4750df>0x1?void 0x0:_0x4750df?qn(_0xd01509,_0x281d8e):_0xd01509,_0x1d2c87=_0xdec36['length']-0x1,_0x104886;_0x1d2c87>=0x0;_0x1d2c87--)(_0x104886=_0xdec36[_0x1d2c87])&&(_0x4192b2=(_0x4750df?_0x104886(_0xd01509,_0x281d8e,_0x4192b2):_0x104886(_0x4192b2))||_0x4192b2);return _0x4750df&&_0x4192b2&&Yn(_0xd01509,_0x281d8e,_0x4192b2),_0x4192b2;},we=(_0x304757,_0x509a90)=>(_0x1cccbc,_0x5d3f22)=>_0x509a90(_0x1cccbc,_0x5d3f22,_0x304757);const Ci=_0x45daf3(_0x133617(0x31e));function Xn(_0x240989,_0x1e2f89,_0x2ebb82){var _0x2fb713=_0x133617;return _0x240989+'/'+_0x1e2f89+'/unit/'+_0x2ebb82+_0x2fb713(0x21b);}let It=class extends _0xf6a891{constructor(_0x59d905,_0x70d3ed,_0xa84dcf,_0x2b0dd2,_0x32b1ee){var _0x4eef83=_0x133617;super(),this['_injector']=_0x59d905,this[_0x4eef83(0x3f2)]=_0x70d3ed,this['_configService']=_0xa84dcf,this['_logService']=_0x2b0dd2,this[_0x4eef83(0x32f)]=_0x32b1ee;}['createSocket'](_0x308699){var _0x1814bb=_0x133617;const _0x54fe55=this['_injector']['get'](_0x469cc3);if(!_0x54fe55)throw new Error(_0x1814bb(0x331));const _0x1d28bf=_0x54fe55[_0x1814bb(0x18e)](_0x308699);if(!_0x1d28bf)throw new Error(_0x1814bb(0x234));const _0x1b2918=new _0x5dbfe8(),_0x5b5eca=new _0x48a56c();_0x1b2918[_0x1814bb(0x248)](_0x1d28bf['close$'][_0x1814bb(0x438)](_0x5e6f2f=>_0x5b5eca[_0x1814bb(0x3d8)](_0x5e6f2f))),_0x1b2918[_0x1814bb(0x248)](_0x2b5885(()=>_0x5b5eca[_0x1814bb(0x236)]()));const _0x1b2481=new _0x48a56c();_0x1b2918['add'](_0x1d28bf[_0x1814bb(0x323)][_0x1814bb(0x438)](_0xfbebc0=>_0x1b2481['next'](_0xfbebc0))),_0x1b2918[_0x1814bb(0x248)](_0x2b5885(()=>_0x1b2481['complete']()));const _0x594032=new _0x48a56c();_0x1b2918['add'](_0x1d28bf['message$']['subscribe'](_0x398747=>{var _0x2150b7=_0x1814bb;const _0xf19e47=Kn(_0x398747);_0x594032[_0x2150b7(0x3d8)](_0xf19e47);})),_0x1b2918['add'](_0x2b5885(()=>_0x594032['complete']()));let _0x31e331;const _0x25d47c=()=>{var _0x421978=_0x1814bb;_0x1b2481[_0x421978(0x3d8)](new Event('connection\x20error')),_0x5b5eca[_0x421978(0x3d8)](new CloseEvent(_0x421978(0x25d))),_0x31e331[_0x421978(0x2e7)]();};return _0x31e331={'memberID':'','close$':_0x5b5eca[_0x1814bb(0x193)](),'error$':_0x1b2481['asObservable'](),'open$':_0x1d28bf[_0x1814bb(0x276)],'message$':_0x594032[_0x1814bb(0x193)](),'send':_0x3e3b83=>{var _0xb4f245=_0x1814bb;if(_0x3e3b83[_0xb4f245(0x17d)]===F['INGEST']){if(_0x3e3b83[_0xb4f245(0x3b2)]['eventID']===_0xef4ce6[_0xb4f245(0x213)]){this[_0xb4f245(0x34c)](_0x31e331,_0x3e3b83[_0xb4f245(0x3b2)])[_0xb4f245(0x395)](_0xa8893d=>{var _0x4def15=_0xb4f245;this[_0x4def15(0x3f1)][_0x4def15(0x36e)](_0xa8893d),_0x25d47c();});return;}if(_0x3e3b83['data']['eventID']===_0xef4ce6['FETCH_MISSING']){const _0x221610=_0x3e3b83[_0xb4f245(0x3b2)];this[_0xb4f245(0x218)](_0x221610)[_0xb4f245(0x21a)](_0x2cb026=>{var _0x265e60=_0xb4f245;_0x594032[_0x265e60(0x3d8)]({'cmd':F[_0x265e60(0x25c)],'code':Ee['OK'],'routeKey':_0x221610[_0x265e60(0x3b2)][_0x265e60(0x1c7)],'routeType':'','data':{'eventID':_0xef4ce6['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2cb026}}});})[_0xb4f245(0x395)](_0x31950f=>{var _0x34b557=_0xb4f245;this[_0x34b557(0x3f1)][_0x34b557(0x36e)](_0x31950f),_0x25d47c();});return;}}_0x1d28bf['send'](zn(_0x3e3b83));},'close':()=>{var _0x6ee79e=_0x1814bb;_0x1d28bf[_0x6ee79e(0x2e7)](),_0x1b2918[_0x6ee79e(0x35d)]();}},_0x31e331;}async[_0x133617(0x34c)](_0xfc5b2f,_0x2d4cca){var _0x19ef48=_0x133617,_0x186b46,_0xfa8333;const {unitType:_0x5b437d,unitID:_0x4b9543,changeset:_0xd59a93}=_0x2d4cca[_0x19ef48(0x3b2)],_0x28f708={'unitID':_0x4b9543,'memberID':_0xfc5b2f['memberID'],'type':_0x5b437d,'changeset':_0x16e07b(_0xd59a93)},_0x24390e=this['_configService'][_0x19ef48(0x237)](jn),_0x339240=this[_0x19ef48(0x37c)][_0x19ef48(0x237)](Y),_0x6770a4=Xn((_0xfa8333=(_0x186b46=_0x339240==null?void 0x0:_0x339240[_0x19ef48(0x1d9)])!=null?_0x186b46:_0x24390e)!=null?_0xfa8333:Bn,_0x5b437d,_0x4b9543);try{await this[_0x19ef48(0x3f2)][_0x19ef48(0x369)](_0x6770a4,{'body':_0x28f708});}catch(_0xa9badb){throw this[_0x19ef48(0x3f1)][_0x19ef48(0x36e)](_0x19ef48(0x34e),'submit\x20changeset\x20error!'),_0xa9badb;}}async[_0x133617(0x218)](_0x5d370e){var _0x3d99f5=_0x133617;const {unitID:_0x38f95f,from:_0x9e8fe7,to:_0x4e5942,unitType:_0x2cb7a2}=_0x5d370e['data'];return(await this[_0x3d99f5(0x32f)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x38f95f,'type':_0x2cb7a2,'from':_0x9e8fe7,'to':_0x4e5942}))[_0x3d99f5(0x412)];}};It=Jn([we(0x0,_0x1dc41d(_0x485aa2)),we(0x1,_0x1dc41d(_0x566212)),we(0x2,_0x387b00),we(0x3,_0x9980c2),we(0x4,_0x36001d)],It);const Zn='collaboration_new_changeset';function Qn(_0xbcd98e){var _0x57e69a=_0x133617;return JSON[_0x57e69a(0x347)](_0xbcd98e)[_0x57e69a(0x2ec)];}function _0x2c06(){var _0x4046b9=['PERMISSION_REJ','OpenSSL','_startTelemetryCollaborationNewChangeset','getUnitStatus$','error','_hash','objectID','_createInitialStateImpl','\x0aAfter:\x20','selections','msCrypto','send','_authzIoService','APPLY_PERMISSION_DENIED','_transitionLocked','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getDeserializedSheetBlock','state$','_configService','_handlerCallback','hasOwnProperty','charAt','_doProcessBlock','createDecryptor','_updateLocalCache','_retryConnectingTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onRecvEvent','confirm','push','encrypt','updateCollaborator','onCommentUpdate','reconnect','sessionStatus$','UNKNOWN_CODE','_tryEnsureSocket','HMAC','HttpExport','StreamCipher','_sendHeartbeat','transformSelections','ciphertext','catch','LICENSE_IMPORT_SIZE_EXCEEDED','OFFLINE','UnitEmbedded','equals','/object/','reverse','_stopTelemetryCollaborationNewChangeset','collaboratorID','/universer-api/user/session-ticket','url','resourceIDs','loadOfflineData','_iv','emitEvent','dispose$','fetchThroughInterceptors','keySize','reject','unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/comb','_onConnectionOpen','values','subType','leaveEvent','_clearHeartbeatTimer','_createHandler','_socketMessageSubscription','data','_shouldReportTelemetry','startsWith','SUBMIT_CHANGESET_TIMEOUT','sid','PERMISSION_DENIED','create','8WTPnpq','[FetchMissState]','ivSize','updateCursorEvent','originalMeta','[SyncedState]:\x20received\x20acknowledgement.','PasswordBasedCipher','COMPRESS_MUTATION_APPLY','saveChangeset','updateMember','ERROR_EXCEED_SIZE','rng','includes','name','localCacheService','_minBufferSize','_memberService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_sendHeartbeatTimer','collaMsg','min','_loadSheet','disposeWithMe','[CollaborationState]:\x20apply\x20error!','UNIVER_DOC','LEAVE','LIVESHARE_REQUEST_HOST','onMissingChangesets','_transformUndoredo','ALREADY_EXISTS','DEFAULT_FILE_NAME','next','FETCH_MISS','getImageSourceCache','_singleActiveUnitService','createInstance','_loadDoc','IDLE','\x20in\x20_schedule.','_transformRemoteChangesetByStateCache','LIVESHARE_OPERATION','getUnitId','CipherParams','revision','_onUserLeave','_doCryptBlock','auth.needGotoLoginAlert','SerializableCipher','random','_telemetryService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PSEUDO_FETCH_MISSING_RESULT','Worksheet','_showConflictNotification','cfg','isArray','_logService','_http','/universer-api/authz','requireSession','sheets','commentUpdateEvent','deleteCollaborator','_initUnitPermissionChange','message$','pad','_httpService','image/bmp','_updateStatus','abs','COLLAB_WEB_SOCKET_URL','getLatestCsReqIdBySid','NoPadding','/rev/','JOIN_ROOM_FULL','AES','AWAITING','every','_event$','json','_remoteChangesetQueue','format','put','enc','_clearCollaborationTimeoutTimer','Base64','loadDoc','_substituteUndoStack','_onConflict','changesets','replace','_syncEditingCollabCursor','MSG_FOR_ERROR','_retryCount','getAllMembers','repeat','entries','getSheetBlock','_startCollaboration','_userManagerService','snapshotServerUrl','WordArray','initWorkbookPermissionChange','_listenToNetworkCondition','getTypeOfUnitDisposed$','image/png','SYNCED','&to=','type','splice','_permissionService','_snapshotService','sin','textRanges','_collaborationPaused','_process','UNRECOGNIZED','_onRemoteACK','closeSession','getUnitOnRev','_revisionService','_transformService','disableLocalCache','HELLO','now','_transformStateCache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','subscribe','_collaborationUIEventService','randomUUID','size','offline','sendChangesetTimeout','socket\x20close','_map','[CollaborationSessionService]:\x20socket\x20error','image/gif','actions','_updateState','_socket','requestParams','_clearLocalCache','_hasher','_clearScheduledTask','close$','_transformIMECache','putCollaborators','decrypt','getFocusedUnit','/resources','failed\x20to\x20apply\x20missed\x20changesets!','_getDownloadEndpointURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRetry','_sender','avatar','COMMENT_UPDATE','get','APPLY_REVISION_CONFILICT','_waitCount','_createSocket','LICENSE_EXPORT_SIZE_EXCEEDED','body','_HTTPService','_resendTimeout','onRemoteChangeset','_sessionStatus$','onTransformRemoteChangesetByIMECache','APPLY_REJECT','sessionTicket','mixIn','blockSize','_cipher','APPLY_DUPLICATED','update','Base','_createSocketURL','session.room-permission-denied','UNIVER_UNKNOWN','OTHER_CLIENT_EDITING','_key','reduce','file','addImageSourceCache','words','_changesetSessionId','LIVESHARE_NEW_HOST','HEARTBEAT','_pendingMutations','apply','batchAllowed','COMPRESS_MUTATION_SEND','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','reqId','debug','_toggleOffline','Encryptor','[OfflineState]:\x20received\x20acknowledgement.','UPDATE_CURSOR','_unitID','_entityInit$','_compressMutationService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encode','_onConnectionFailed','_keyPriorReset','cmd','INTERNAL_ERROR','incrementRevOfUnit','ceil','onTransformState','_init','_unlockTransition','UNIVER_SHEET','onSendChangeset','/block/','toggleOnline','focused$','loadSheet','YUUMI_RATE_OVER_LIMIT','_initMergeInterceptor','from','removeMember','createSocket','__creator','_tryReconnect','_onRemoteChangeset','[UniverCollaborationClientPlugin]','asObservable','title','getCurrentRevOfUnit','AWAITING_WITH_PENDING','listCollaborators','_initCloseConn','BlockCipher','objects','readAsDataURL','symbol','transformUndoRedo','status','_getUploadFileURL','_oKey','SHA1','pending','registerHTTPInterceptor','Cipher','getTime','_clearUndo','1093kxSHfr','_commandService','_socketService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','iterations','extend','/collaborator','clearUndoRedo','fetching\x20missing\x20changesets\x20from\x20','find','socketService','byteLength','function','_exhaustRemoteChangesetQueue','_eventService','_localCacheService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PENDING','awaitingChangeset','updateOfflineData','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_REVISION_CONFILICT','_collabSessionService','ruleRefresh','1915656zzxTGy','onStateChange','href','getRoom','editing\x20status\x20changed\x20to','_toggleOnline','\x0aCurrent:\x20','EXCHANGE_SIGN_URL_SERVER_URL_KEY','unitID','fetch_missing','refreshPermission','setShowComponents','m2Prime','_injector','joinRsp','action','readInt32LE','transformMutationsWithChangeset','onTransformSelections','location','fromCollab','Hex','_changesetReqId','awaiting','onlyLocal','NOT_COLLAB','collabSubmitChangesetUrl','2219147mgVmmK','Could\x20not\x20dynamically\x20require\x20\x22','_transformStack','YUUMI_UNABLE_LOAD_URL','copyFileMeta','onSyncEditingCollabCursor','change$','findIndex','startTime','default','padding','not_collab','JOIN_ROOM_FAILED','_getCtorByUniverType','fromCharCode','TOO_MANY_REQUESTS','liveShareNewHost','session.room-full','socket$','pauseCollaboration','GLOBAL_ROOMS_CNT_EXCEEDS','_getLoginPath','HttpImport','compose','/fetchmissing?from=','univer-pro.collaboration-client.single-active-unit-service','resend','fetchMissingChangesets','UNKNOWN_CMD','_substituteRedoStack','_rescheduleHeartbeat','_invKeySchedule','_data','CHANGESET_ACK','_checkMissing','_redoStacks','unsubscribe','_createHelper','Univer','kdf','forEach','YUUMI_SUBSCRIPTION_NOT_FOUND','LIVESHARE_TERMINATE','baseRev','_univerInstanceService','csRejEvent','getUnitType','getPermissionPoint','univer-pro.collaboration-client.network-condition.service','_getAPIPrefixPath','_onCombEvent','JOINING','max','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','conflict','onCommandExecuted','createEncryptor','SUBMIT_CHANGESET','_DEC_XFORM_MODE','setConfig','/-/object/list','Undefined','_fetchMissChangesets','init','then','/new_changes','stopTime','awaiting_with_pending','memberID','updatePermissionObjEvent','CHANGESET_SHOULD_RETRY','_registerDependencies','[CollaborationSessionService]','sigBytes','append','event$','_sessions','SNAPSHOT_INVALID_SNAPSHOT','_joinRoom','infoRsp','__Key__','onStarting','onTransformIME','_commentUpdate$','code','getOwnPropertyDescriptor','subject','JOIN_ROOM_NOT_EXISTS','unpad','[PendingState]:\x20received\x20acknowledgement.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','join','complete','getConfig','getCurrentUnitForType','INGEST','_socketReady','INVALID_ARGUMENT','204555HsJowE','range','randomBytes','_xformMode','onTransformRemoteChangesetByStateCache','_getSignURL','_parse','liveShareOperation','_getSendChangesetTimeout','slice','10OtBgoj','_handler','add','application/json','CLOSE_ROOM','_members','_append','_transformRemoteChangesetByIMECache','Decryptor','_disableEditing','ONLINE','\x20-\x20','_unitInfo$','value','allowed','CBC','session.room-not-exists','APPLY_NON_SEQUENTIAL_REVISION','_onUserJoin','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT_TIMEOUT','_onRemoteRejected','RECV','connection\x20error','_queuedRemoteChangesets','__esModule','prototype','clone','reset','UNIVER_PROJECT','_candidateSocket','SUCCUSS','commentUpdate$','hostname','loginUrlKey','USERS_LEAVE','ticket','getResourcesRequest','setWaitCount','decryptBlock','unitId\x20is\x20not\x20found','&source=','_onMessage','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_incrementRevisionNumber','_nRounds','getActiveSheet','defineProperty','open$','Hasher','byteOffset','downloadEndpointUrl','_applyRemoteChangeset','withCredentials','_imageSourceCache','_prevBlock','_initRequestHeader','UNAUTHENTICATED','getTypeOfUnitAdded$','_resendTimer','executeCommand','session','editingUnit','_createHmacHelper','_onFetchMissResult','_undoRedoService','fetchMiss','OTHER_CLIENTS_EDITING','Workbook','[CollaborationEntity]','csShouldRetryEvent','LOGIN_URL_KEY','unitId','session.room-cnt-exceeds','collabWebSocketUrl','key','deepClone','collaboration-client.local-cache-service','LICENSE_MAX_UNITS_EXCEEDED','_state','_localeService','_type','_getAPIPrefix','_config','UNDEFINED','wsSessionTicketUrl','_throwTelemetryCollaborationNewChangeset','_instanceService','has','YUUMI_URL_COL_OUT_OF_RANGE','_status$','SOCKET_FAILED','saveSnapshot','enableAuthServer','pipe','online$','_clearTimeoutTimer','delete','onMissedChangesetFetched','?size=','/universer-api/snapshot/','_acknowledgedAwaitingChangeset','transformStack\x20failed!','_entities','_iKey','JOIN','_scheduleTimestamp','ERROR_IMAGE_TYPE','eventID','capture','algo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nDataBytes','filter','interceptor','1306908VUqgxZ','charCodeAt','_onRemoteRetry','_commentService','snapshot','lib','isPermissionRej','finalize','_state$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','c2Prime','CONNECTOR_DATA_TOO_LARGE','subUnitId','call','appendMutation','addHandlerCallback','rev','roles','collaborators','JOIN_ROOM_PERMISSION_DENIED','_getUndoStack','BASE64','_decreaseWaiting','origin','_socket$','transformChangesets','listRoles','setCurrentUser','enableSingleActiveInstanceLock','getInterceptPoints','_executeRemoteChangeset','Error\x20on\x20receiving\x20event','crypto','floor','[CollaborationUndoRedoService]','set','2495684EcmeFu','FileId','SEND_CHANGESET_TIMEOUT','_awaitingChangeset','salt','LIVESHARE_FETCH_OPERATIONS','updatePermissionPoint','getTargetByPermissionId','_removeRoom','close','[DataLoaderService]','getSnapshotAPIPath','authzUrl','encryptBlock','length','getUnit','_waitForHeartbeatResponse','$super','pluginName','getMember','clear','getCollabEntity','params','_collaborationSessionService','_getRedoStack','routeKey','UNIVER_COLLABORATION_CLIENT_PLUGIN','_networkConditionService','_isPermissionRej','localeService','onRemoteRej','/universer-api/oidc/authpage','_transformSelections','/unit/','toggleOffline','Pkcs7','clamp','string','_scheduleCollaborationTimeoutTimer','/role','UNIVER_SLIDE','c1Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getCurrentRevision','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','concat','_onJoinRoomEvent','NEW_CHANGESETS','exports','collaboration-client.config','toString','getRandomValues','_clearRedo','EvpKDF','headers','mutations','FAIL','SNAPSHOT_URL_KEY','_onLocalMutation','list','OPTIONAL','_mode','execute','saveImage','univer-pro.collaboration-client-socket-service','roomInfos','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_roomMembers','_replaceFileID','error$','getCollabEntity$','parse','substr','/universer-api/snapshot','HmacMD5','objectType','workbook','src','telemetry\x20info\x20is\x20not\x20initialized','state','UPDATE_PERMISSION_OBJ','_snapshotServerService','/object','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','unknown','SHOULD_CLOSE_CONN','USERS_ENTER','_doFinalize','mode','_collaborationTimeoutTimer','_keySchedule','map','getValue','[OfflineState]:\x20received\x20changeset.','Utf8','onRemoteAck','_ENC_XFORM_MODE','_reverseMap','loadUnit','_telemetryInfo','244kPhuYk','createCollaborator','signUrlServerUrl','compute','MD5','stringify','[PendingState]:\x20received\x20rejection.','hasher','_timeoutTimer','_onOffline','_submitChangeset','SOCKET_FAILED_RETRY','[CollaborationSession]','getCurrentUser','SNAPSHOT_SERVER_URL_KEY','bind','RETRY_CONNECTING_MAX_COUNT','&assign=','_sheetTransformSelectionsService','save\x20fail\x20reason\x20is\x20','UnitSnapshot','/-/object/-/batch_allowed','LICENSE_DISTRO_REJECTED','ENSURE_SNAPSHOT_EXECUTION','POST','/allowed','_doReset','dispose','/universer-api/file/{fileID}/sign-url','_replayCachedMutations','_schedule','_sendingTimer','_change$','sessionStatus','[SyncedState]:\x20received\x20rejection.','result','CONFLICT','_lockTransition','682175NSkhRI','post'];_0x2c06=function(){return _0x4046b9;};return _0x2c06();}class bi{constructor(){var _0x6317da=_0x133617;D(this,'_commentUpdate$',new _0x48a56c()),D(this,_0x6317da(0x266),this[_0x6317da(0x22d)][_0x6317da(0x193)]());}[_0x133617(0x38a)](_0x387988){var _0x2bd2d4=_0x133617;this['_commentUpdate$'][_0x2bd2d4(0x3d8)](_0x387988);}}var es=Object['defineProperty'],ts=Object[_0x133617(0x22f)],is=(_0x5c75d5,_0x23da81,_0x5809ce,_0x39aa4b)=>{for(var _0xc601bd=_0x39aa4b>0x1?void 0x0:_0x39aa4b?ts(_0x23da81,_0x5809ce):_0x23da81,_0x4937f1=_0x5c75d5['length']-0x1,_0x34f0ed;_0x4937f1>=0x0;_0x4937f1--)(_0x34f0ed=_0x5c75d5[_0x4937f1])&&(_0xc601bd=(_0x39aa4b?_0x34f0ed(_0x23da81,_0x5809ce,_0xc601bd):_0x34f0ed(_0xc601bd))||_0xc601bd);return _0x39aa4b&&_0xc601bd&&es(_0x23da81,_0x5809ce,_0xc601bd),_0xc601bd;},zt=(_0x43d05f,_0x19a0a4)=>(_0xe4c870,_0x4cf72f)=>_0x19a0a4(_0xe4c870,_0x4cf72f,_0x43d05f);let Le=class extends _0xf6a891{constructor(_0x26c73d,_0x5ee67d){var _0x33ef4f=_0x133617;super(),D(this,_0x33ef4f(0x321),new Map()),(this['_univerInstanceService']=_0x26c73d,this[_0x33ef4f(0x41c)]=_0x5ee67d,this[_0x33ef4f(0x3cf)](_0x2b5885(_0x157496(this[_0x33ef4f(0x206)][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x184)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0x44ee8b=>_0x44ee8b['getUnitId']())),this['_univerInstanceService'][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x3d1)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0x4babec=>_0x4babec['getUnitId']())),this[_0x33ef4f(0x206)][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x306)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0xf2eaed=>_0xf2eaed[_0x33ef4f(0x3e2)]())))[_0x33ef4f(0x438)](_0x16922d=>this['_removeRoom'](_0x16922d)))));}[_0x133617(0x2d5)](_0x48884a){this['_userManagerService']['setCurrentUser'](_0x48884a);}[_0x133617(0x34f)](){var _0xc5b285=_0x133617;return this[_0xc5b285(0x41c)]['getCurrentUser']();}[_0x133617(0x3c2)](_0xec2e4d,_0x22f504){var _0xd7d9b7=_0x133617;let _0x14bd19=this[_0xd7d9b7(0x321)][_0xd7d9b7(0x456)](_0xec2e4d);_0x14bd19||(_0x14bd19=new ns(),this['_roomMembers']['set'](_0xec2e4d,_0x14bd19)),_0x14bd19[_0xd7d9b7(0x3c2)](_0x22f504);}['removeMember'](_0x3e76e6,_0x211cab){var _0x50a772=_0x133617;const _0x4addac=this['_roomMembers'][_0x50a772(0x456)](_0x3e76e6);_0x4addac&&_0x4addac[_0x50a772(0x18d)](_0x211cab);}[_0x133617(0x1c2)](_0x1c0896){var _0x18b552=_0x133617;return this[_0x18b552(0x321)]['get'](_0x1c0896);}[_0x133617(0x2f1)](_0x51072b,_0x177fc7){var _0x155466=_0x133617;const _0x2f7eb6=this[_0x155466(0x321)]['get'](_0x51072b);if(_0x2f7eb6)return _0x2f7eb6[_0x155466(0x2f1)](_0x177fc7);}[_0x133617(0x2e6)](_0x78f874){var _0x399ca9=_0x133617;const _0x1a4004=this[_0x399ca9(0x321)][_0x399ca9(0x456)](_0x78f874);_0x1a4004&&(_0x1a4004['dispose'](),this['_roomMembers'][_0x399ca9(0x2a7)](_0x78f874));}[_0x133617(0x35d)](){var _0x401156=_0x133617;this['_roomMembers'][_0x401156(0x202)](_0x39de34=>_0x39de34[_0x401156(0x35d)]()),this['_roomMembers']['clear']();}};Le=is([zt(0x0,_0x23476a),zt(0x1,_0x1dc41d(_0x2077be))],Le);class ns extends _0xf6a891{constructor(){super(...arguments),D(this,'_members',new Map());}[_0x133617(0x35d)](){this['_members']['clear']();}[_0x133617(0x3c2)](_0x1c53d2){var _0x145f4f=_0x133617;this[_0x145f4f(0x24b)]['set'](_0x1c53d2[_0x145f4f(0x21e)],_0x1c53d2);}[_0x133617(0x18d)](_0x1b5b6e){var _0x443d91=_0x133617;this['_members'][_0x443d91(0x2a7)](_0x1b5b6e);}[_0x133617(0x2f1)](_0x1b816f){var _0x17c456=_0x133617;return this[_0x17c456(0x24b)][_0x17c456(0x456)](_0x1b816f);}[_0x133617(0x417)](){var _0x8faa36=_0x133617;return Array[_0x8faa36(0x18c)](this[_0x8faa36(0x24b)][_0x8faa36(0x3ac)]());}}var ss=Object[_0x133617(0x275)],rs=Object[_0x133617(0x22f)],os=(_0x8294a,_0x4a8764,_0x53eac3,_0x4e4d22)=>{var _0x5176b4=_0x133617;for(var _0x21794d=_0x4e4d22>0x1?void 0x0:_0x4e4d22?rs(_0x4a8764,_0x53eac3):_0x4a8764,_0x34f213=_0x8294a[_0x5176b4(0x2ec)]-0x1,_0x22f29b;_0x34f213>=0x0;_0x34f213--)(_0x22f29b=_0x8294a[_0x34f213])&&(_0x21794d=(_0x4e4d22?_0x22f29b(_0x4a8764,_0x53eac3,_0x21794d):_0x22f29b(_0x21794d))||_0x21794d);return _0x4e4d22&&_0x21794d&&ss(_0x4a8764,_0x53eac3,_0x21794d),_0x21794d;},ge=(_0x327d7e,_0xbe6c94)=>(_0x4640bc,_0x263487)=>_0xbe6c94(_0x4640bc,_0x263487,_0x327d7e),Ie=(_0x562bd6=>(_0x562bd6[_0x562bd6[_0x133617(0x3de)]=0x0]=_0x133617(0x3de),_0x562bd6[_0x562bd6[_0x133617(0x20d)]=0x1]=_0x133617(0x20d),_0x562bd6[_0x562bd6[_0x133617(0x397)]=0x2]=_0x133617(0x397),_0x562bd6[_0x562bd6['ONLINE']=0x3]=_0x133617(0x250),_0x562bd6))(Ie||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0x133617(0x1eb),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x133617(0x256),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x133617(0x46a),[Ee[_0x133617(0x1ee)]]:_0x133617(0x28f)};let Tt=class extends _0x2c04b2{constructor(_0x1e4db5,_0x232a50,_0x4cb4c9,_0x66c523,_0x51ee7b,_0x2cd37e,_0x137613,_0x5ae89d,_0x10d68d){var _0x7b70f9=_0x133617;super(),D(this,'_sessionStatus$',new _0x560b1b(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x7b70f9(0x193)]()),D(this,'_event$',new _0x48a56c()),D(this,_0x7b70f9(0x225),this[_0x7b70f9(0x407)]['asObservable']()),D(this,'_socket'),D(this,_0x7b70f9(0x3b1)),D(this,_0x7b70f9(0x337)),D(this,_0x7b70f9(0x3b3),!0x1),D(this,'_telemetryInfo',null),(this[_0x7b70f9(0x176)]=_0x1e4db5,this[_0x7b70f9(0x3f1)]=_0x4cb4c9,this[_0x7b70f9(0x37c)]=_0x66c523,this['_localeService']=_0x51ee7b,this['_memberService']=_0x2cd37e,this[_0x7b70f9(0x2bc)]=_0x137613,this[_0x7b70f9(0x439)]=_0x5ae89d,this[_0x7b70f9(0x3ea)]=_0x10d68d,this['_shouldReportTelemetry']=!!this[_0x7b70f9(0x3ea)],_0x232a50[_0x7b70f9(0x2a4)](_0x48340f(this['dispose$']))[_0x7b70f9(0x438)](_0x2a13e1=>{var _0x518c94=_0x7b70f9,_0x32ff8f;typeof _0x2a13e1>'u'||(this['_socket']=_0x2a13e1,_0x2a13e1?(this[_0x518c94(0x228)](_0x2a13e1),this[_0x518c94(0x3b1)]=_0x2a13e1[_0x518c94(0x3f9)][_0x518c94(0x438)](_0x3a0aa6=>{var _0x18b718=_0x518c94;_0x3a0aa6[_0x18b718(0x2f7)]===this['_unitID']&&this[_0x18b718(0x20c)](_0x3a0aa6);})):(this[_0x518c94(0x29c)](),this[_0x518c94(0x45f)][_0x518c94(0x3d8)](0x2),(_0x32ff8f=this[_0x518c94(0x3b1)])==null||_0x32ff8f['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x133617(0x363)](){var _0x29e8fc=_0x133617;return this['_sessionStatus$'][_0x29e8fc(0x33a)]();}['getMemberID'](){var _0x2e8d51=_0x133617,_0x4a60e7,_0x2b5118;return(_0x2b5118=(_0x4a60e7=this[_0x2e8d51(0x444)])==null?void 0x0:_0x4a60e7[_0x2e8d51(0x21e)])!=null?_0x2b5118:null;}[_0x133617(0x35d)](){var _0x57725a=_0x133617;super['dispose'](),this['dispose$'][_0x57725a(0x3d8)](),this[_0x57725a(0x3a4)][_0x57725a(0x236)]();}[_0x133617(0x2e7)](){var _0x5c0073=_0x133617,_0x20a545,_0x298285;this[_0x5c0073(0x29c)](),(_0x20a545=this['_socket'])==null||_0x20a545[_0x5c0073(0x375)]({'cmd':F[_0x5c0073(0x3d2)],'data':{'roomID':this[_0x5c0073(0x176)]}}),(_0x298285=this['_socket'])==null||_0x298285[_0x5c0073(0x2e7)](),this[_0x5c0073(0x407)][_0x5c0073(0x236)](),this[_0x5c0073(0x45f)][_0x5c0073(0x236)](),this['dispose']();}['_onCombEvent'](_0x2da191){var _0x197d4c=_0x133617;_0x2da191[_0x197d4c(0x17d)]===F[_0x197d4c(0x2af)]?this['_onJoinRoomEvent'](_0x2da191):_0x2da191[_0x197d4c(0x17d)]===F[_0x197d4c(0x25c)]&&this[_0x197d4c(0x385)](_0x2da191);}['_joinRoom'](_0x30e0b3){var _0x393cd9=_0x133617;this[_0x393cd9(0x45f)]['next'](0x1),_0x30e0b3[_0x393cd9(0x375)]({'cmd':F[_0x393cd9(0x2af)],'routeKey':this[_0x393cd9(0x176)],'routeType':'','data':{'rooms':[{'roomID':this[_0x393cd9(0x176)]}]}});}[_0x133617(0x30c)](_0x1fc282){var _0x201be0=_0x133617,_0x367a33;if(_0x1fc282[_0x201be0(0x22e)]in Yt){this['_collaborationUIEventService'][_0x201be0(0x3a3)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x1fc282[_0x201be0(0x22e)]]}),this[_0x201be0(0x45f)][_0x201be0(0x3d8)](0x2);return;}this[_0x201be0(0x45f)]['next'](0x3);const _0x1b9e33=(_0x367a33=_0x1fc282['data'][_0x201be0(0x31f)][this[_0x201be0(0x176)]])==null?void 0x0:_0x367a33['members'];_0x1b9e33&&_0x1b9e33[_0x201be0(0x202)](_0x4d6373=>this[_0x201be0(0x3c9)][_0x201be0(0x3c2)](this[_0x201be0(0x176)],_0x4d6373));}[_0x133617(0x385)](_0x47fe3c){var _0xe60c58=_0x133617;try{const _0x360c9a=_0x47fe3c['data'];switch(_0x360c9a[_0xe60c58(0x2b2)]){case _0xef4ce6[_0xe60c58(0x334)]:this[_0xe60c58(0x258)](_0x360c9a),this[_0xe60c58(0x407)][_0xe60c58(0x3d8)](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x269)]:this[_0xe60c58(0x3e5)](_0x360c9a),this['_event$']['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x1fb)]:case _0xef4ce6[_0xe60c58(0x220)]:this[_0xe60c58(0x39c)](),this['_clearCollaborationTimeoutTimer'](),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x415)]:this['_logService'][_0xe60c58(0x36e)](_0xe60c58(0x355)+JSON[_0xe60c58(0x347)](_0x360c9a)),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x455)]:this[_0xe60c58(0x2bc)][_0xe60c58(0x38a)](_0x360c9a[_0xe60c58(0x3b2)]),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;default:this[_0xe60c58(0x407)][_0xe60c58(0x3d8)](_0x360c9a);}}catch(_0x47b36b){this[_0xe60c58(0x3f1)]['error'](_0x47b36b,_0x47fe3c);}}['_onUserJoin'](_0x55b0b0){var _0x551c92=_0x133617;this[_0x551c92(0x3c9)][_0x551c92(0x3c2)](this[_0x551c92(0x176)],_0x55b0b0[_0x551c92(0x3b2)]);}[_0x133617(0x3e5)](_0x33711a){var _0x470525=_0x133617;this['_memberService'][_0x470525(0x18d)](this['_unitID'],_0x33711a[_0x470525(0x3b2)][_0x470525(0x21e)]);}async[_0x133617(0x375)](_0x59d114,_0x224015){var _0x1c802e=_0x133617;if(this[_0x1c802e(0x363)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x59d114['eventID']===_0xef4ce6[_0x1c802e(0x213)]&&(this[_0x1c802e(0x304)](),this[_0x1c802e(0x36c)](_0x59d114)),this[_0x1c802e(0x444)]['send']({'cmd':F[_0x1c802e(0x239)],'routeKey':_0x224015,'routeType':'','data':_0x59d114});}catch(_0x45fb4d){this[_0x1c802e(0x3f1)]['error'](_0x45fb4d);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1db464=_0x133617,_0x1becdb;this[_0x1db464(0x337)]=setTimeout(()=>{var _0x42d69e=_0x1db464;this[_0x42d69e(0x337)]=null,this[_0x42d69e(0x439)][_0x42d69e(0x3a3)]({'id':se[_0x42d69e(0x3b5)]});},(_0x1becdb=this[_0x1db464(0x37c)][_0x1db464(0x237)](Si))!=null?_0x1becdb:Ei);}[_0x133617(0x40d)](){var _0x3a771b=_0x133617;this[_0x3a771b(0x337)]&&(clearTimeout(this[_0x3a771b(0x337)]),this[_0x3a771b(0x337)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x501497){var _0x3cb58d=_0x133617;if(!this['_shouldReportTelemetry'])return;const {data:_0x37ed14}=_0x501497,{unitID:_0x3d0a60,changeset:_0x9b72cb}=_0x37ed14,{mutations:_0x14d7b9,type:_0x3448a5}=_0x9b72cb;this[_0x3cb58d(0x341)]={'unitId':_0x3d0a60,'type':_0x3448a5,'startTime':performance[_0x3cb58d(0x435)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x14d7b9)};}[_0x133617(0x39c)](){var _0x5ec77c=_0x133617;if(this[_0x5ec77c(0x3b3)]){if(!this[_0x5ec77c(0x341)]){this[_0x5ec77c(0x3f1)][_0x5ec77c(0x36e)](_0x5ec77c(0x34e),_0x5ec77c(0x32c));return;}this[_0x5ec77c(0x341)][_0x5ec77c(0x21c)]=performance['now'](),this[_0x5ec77c(0x341)]['duration']=this['_telemetryInfo'][_0x5ec77c(0x21c)]-this[_0x5ec77c(0x341)][_0x5ec77c(0x1e2)],this[_0x5ec77c(0x3ea)][_0x5ec77c(0x2b3)](Zn,this['_telemetryInfo']),this[_0x5ec77c(0x341)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x3c7d2f=_0x133617;this[_0x3c7d2f(0x341)]=null;}};Tt=os([ge(0x2,_0x9980c2),ge(0x3,_0x387b00),ge(0x4,_0x1dc41d(_0x5bfcba)),ge(0x5,_0x1dc41d(Le)),ge(0x6,_0x1dc41d(bi)),ge(0x7,_0x1dc41d(pe)),ge(0x8,_0x13f1aa(_0x562172))],Tt);var as=Object[_0x133617(0x275)],cs=Object[_0x133617(0x22f)],hs=(_0x55fea5,_0xdae380,_0x339351,_0xdcfd64)=>{for(var _0x1af9e3=_0xdcfd64>0x1?void 0x0:_0xdcfd64?cs(_0xdae380,_0x339351):_0xdae380,_0x58c755=_0x55fea5['length']-0x1,_0x3f1b95;_0x58c755>=0x0;_0x58c755--)(_0x3f1b95=_0x55fea5[_0x58c755])&&(_0x1af9e3=(_0xdcfd64?_0x3f1b95(_0xdae380,_0x339351,_0x1af9e3):_0x3f1b95(_0x1af9e3))||_0x1af9e3);return _0xdcfd64&&_0x1af9e3&&as(_0xdae380,_0x339351,_0x1af9e3),_0x1af9e3;},me=(_0xd93704,_0x276416)=>(_0x346a14,_0x41f9fe)=>_0x276416(_0x346a14,_0x41f9fe,_0xd93704);let Me=class extends _0xf6a891{constructor(_0x1eb5f1,_0x269810,_0x5e1960,_0x11e9f0,_0x4f0b4d,_0x15088f,_0x29c98c){var _0x2e2fcc=_0x133617;super(),D(this,_0x2e2fcc(0x2d2),new _0x560b1b(void 0x0)),D(this,_0x2e2fcc(0x1ec),this[_0x2e2fcc(0x2d2)]['asObservable']()),D(this,_0x2e2fcc(0x264),null),D(this,_0x2e2fcc(0x226),new Map()),D(this,_0x2e2fcc(0x2a0),new _0x560b1b(Ie['IDLE'])),D(this,'status$',this[_0x2e2fcc(0x2a0)][_0x2e2fcc(0x193)]()),D(this,_0x2e2fcc(0x23a),!0x1),D(this,_0x2e2fcc(0x383)),D(this,'_retryCount',0x0),D(this,_0x2e2fcc(0x3cb)),D(this,_0x2e2fcc(0x34a)),(this['_injector']=_0x1eb5f1,this[_0x2e2fcc(0x3f1)]=_0x269810,this['_configService']=_0x5e1960,this[_0x2e2fcc(0x1a9)]=_0x11e9f0,this[_0x2e2fcc(0x3fb)]=_0x4f0b4d,this[_0x2e2fcc(0x439)]=_0x15088f,this[_0x2e2fcc(0x2f9)]=_0x29c98c,this[_0x2e2fcc(0x420)]());}get[_0x133617(0x444)](){var _0x5e2147=_0x133617;return this[_0x5e2147(0x2d2)][_0x5e2147(0x33a)]();}[_0x133617(0x420)](){var _0x584ced=_0x133617;this[_0x584ced(0x2f9)]&&this[_0x584ced(0x3cf)](this[_0x584ced(0x2f9)][_0x584ced(0x2a5)][_0x584ced(0x438)](_0x1e4a90=>{var _0x5f2b19=_0x584ced;_0x1e4a90&&!this[_0x5f2b19(0x444)]&&this[_0x5f2b19(0x38b)](),_0x1e4a90||this[_0x5f2b19(0x34b)]();}));}['dispose'](){var _0x135602=_0x133617;super[_0x135602(0x35d)](),this[_0x135602(0x226)][_0x135602(0x202)](_0x560178=>_0x560178[_0x135602(0x35d)]()),this[_0x135602(0x226)]['clear'](),this[_0x135602(0x2a0)][_0x135602(0x236)]();}async[_0x133617(0x3f4)](_0x4786c7){var _0x38a8ac=_0x133617;if(this['_sessions'][_0x38a8ac(0x29e)](_0x4786c7))return this['_sessions'][_0x38a8ac(0x456)](_0x4786c7);this[_0x38a8ac(0x38e)]();const _0x4dd8fa=this['_injector']['createInstance'](Tt,_0x4786c7,this[_0x38a8ac(0x2d2)][_0x38a8ac(0x193)]());return this[_0x38a8ac(0x226)][_0x38a8ac(0x2dd)](_0x4786c7,_0x4dd8fa),_0x4dd8fa;}[_0x133617(0x42f)](_0x364d55){var _0x44e18d=_0x133617,_0x25c11f;const _0x8d1f6b=this[_0x44e18d(0x226)]['get'](_0x364d55);_0x8d1f6b&&(this['_sessions'][_0x44e18d(0x2a7)](_0x364d55),_0x8d1f6b['close']()),this[_0x44e18d(0x226)][_0x44e18d(0x43b)]||(_0x25c11f=this['_socket'])==null||_0x25c11f[_0x44e18d(0x2e7)]();}[_0x133617(0x38b)](){var _0x17408c=_0x133617;this[_0x17408c(0x416)]=0x0,this[_0x17408c(0x383)]!=null&&(clearTimeout(this[_0x17408c(0x383)]),this['_retryConnectingTimer']=null),this[_0x17408c(0x190)]();}async['_getSessionTicket'](){var _0x5826eb=_0x133617,_0x3d85f7,_0x1e1849,_0xc5b549;const _0x38f178=this[_0x5826eb(0x37c)][_0x5826eb(0x237)](Y),_0x5f0151=(_0x3d85f7=_0x38f178==null?void 0x0:_0x38f178[_0x5826eb(0x29b)])!=null?_0x3d85f7:xn;return(_0xc5b549=(_0x1e1849=(await this[_0x5826eb(0x3fb)][_0x5826eb(0x456)](_0x5f0151,{'headers':{'Content-Type':_0x5826eb(0x249)}}))[_0x5826eb(0x45b)])==null?void 0x0:_0x1e1849[_0x5826eb(0x26a)])!=null?_0xc5b549:'';}[_0x133617(0x469)](_0x4e64cc){var _0x303001=_0x133617,_0x40d705,_0x3d4c96;const _0x42963d=this['_configService']['getConfig'](Un),_0x243da5=this[_0x303001(0x37c)][_0x303001(0x237)](Y),_0x3f53c=(_0x3d4c96=(_0x40d705=_0x243da5==null?void 0x0:_0x243da5[_0x303001(0x290)])!=null?_0x40d705:_0x42963d)!=null?_0x3d4c96:An,_0x270a17=typeof window>'u'?new URL(_0x3f53c):new URL(_0x3f53c,window[_0x303001(0x1d2)][_0x303001(0x2d1)]);return _0x270a17['searchParams'][_0x303001(0x2dd)](_0x303001(0x462),_0x4e64cc),_0x270a17['toString']();}async[_0x133617(0x459)](){var _0x4b2004=_0x133617;const _0x34cae4=await this['_getSessionTicket'](),_0x2acd23=this['_createSocketURL'](_0x34cae4),_0x5e2e06=this[_0x4b2004(0x1a9)][_0x4b2004(0x18e)](_0x2acd23);return this[_0x4b2004(0x264)]=_0x5e2e06,_0x5e2e06;}async[_0x133617(0x38e)](){var _0x4cbff3=_0x133617,_0x360191,_0x4056c4;try{const _0x484078=(_0x4056c4=(_0x360191=this[_0x4cbff3(0x444)])!=null?_0x360191:this[_0x4cbff3(0x264)])!=null?_0x4056c4:await this['_createSocket']();if(_0x484078){const _0x16bb08=_0x484078['send'];_0x484078['send']=_0x4612be=>(this[_0x4cbff3(0x1f8)](),_0x16bb08['apply'](_0x484078,[_0x4612be])),_0x484078[_0x4cbff3(0x3f9)]['subscribe'](_0x55d97f=>this[_0x4cbff3(0x270)](_0x484078,_0x55d97f)),_0x484078[_0x4cbff3(0x323)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))['subscribe'](_0x24d23c=>this[_0x4cbff3(0x3f1)][_0x4cbff3(0x36e)](_0x4cbff3(0x440),_0x24d23c)),_0x484078[_0x4cbff3(0x276)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))['subscribe'](()=>{var _0x1b9eb7=_0x4cbff3;this[_0x1b9eb7(0x3ab)](_0x484078);}),_0x484078[_0x4cbff3(0x449)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))[_0x4cbff3(0x438)](_0x493d77=>{var _0x23cdcf=_0x4cbff3;this[_0x23cdcf(0x3f1)]['debug'](_0x23cdcf(0x222),_0x23cdcf(0x43e),_0x493d77),this[_0x23cdcf(0x17b)]();});}}catch(_0x45628f){this[_0x4cbff3(0x3f1)][_0x4cbff3(0x36e)](_0x45628f),this[_0x4cbff3(0x17b)]();}}[_0x133617(0x3ab)](_0x44204a){var _0x397b43=_0x133617;this[_0x397b43(0x3f1)]['debug'](_0x397b43(0x222),'socket\x20open.'),_0x44204a[_0x397b43(0x375)]({'cmd':F[_0x397b43(0x434)]}),this[_0x397b43(0x1f8)]();}['_onOffline'](){var _0x461a52=_0x133617;this[_0x461a52(0x23a)]=!0x1,this[_0x461a52(0x264)]=null,this[_0x461a52(0x2a0)][_0x461a52(0x3d8)](Ie['OFFLINE']),this[_0x461a52(0x2d2)][_0x461a52(0x3d8)](null),this[_0x461a52(0x2a6)](),this[_0x461a52(0x3af)]();}[_0x133617(0x17b)](){var _0x137631=_0x133617,_0x55dc37;this[_0x137631(0x34b)](),this['_retryCount']<((_0x55dc37=this['_configService'][_0x137631(0x237)](Hn))!=null?_0x55dc37:kn)?(this[_0x137631(0x439)][_0x137631(0x3a3)]({'id':se[_0x137631(0x34d)]}),this[_0x137631(0x190)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x133617(0x190)](){var _0xe9688b=_0x133617,_0x285bf4;const _0x25fde0=this[_0xe9688b(0x416)],_0x316e30=this[_0xe9688b(0x37c)]['getConfig'](Y),_0x37496c=_0x25fde0===0x0?0x0:((_0x285bf4=_0x316e30==null?void 0x0:_0x316e30['retryConnectingInterval'])!=null?_0x285bf4:$n)*0x2**_0x25fde0;this['_retryConnectingTimer']=setTimeout(()=>{var _0xd349b8=_0xe9688b;clearTimeout(this[_0xd349b8(0x383)]),this[_0xd349b8(0x383)]=null,this[_0xd349b8(0x38e)]();},_0x37496c),this[_0xe9688b(0x416)]+=0x1;}['_onMessage'](_0x298e4b,_0x353f30){var _0x4422a3=_0x133617;const {cmd:_0x48816b}=_0x353f30;_0x48816b===F['HELLO']&&!this[_0x4422a3(0x23a)]&&(_0x298e4b[_0x4422a3(0x21e)]=_0x353f30[_0x4422a3(0x3b2)][_0x4422a3(0x21e)],this['_socket$'][_0x4422a3(0x3d8)](_0x298e4b),this[_0x4422a3(0x2a0)][_0x4422a3(0x3d8)](Ie['ONLINE']),this[_0x4422a3(0x23a)]=!0x0,this[_0x4422a3(0x264)]=null),_0x48816b===F['HEARTBEAT']&&this[_0x4422a3(0x2a6)](),this['_rescheduleHeartbeat']();}[_0x133617(0x1f8)](){var _0x40b1f7=_0x133617,_0x917bd2;this[_0x40b1f7(0x3af)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x40b1f7(0x392)](),(_0x917bd2=this[_0x40b1f7(0x37c)]['getConfig'](Ln))!=null?_0x917bd2:Mn);}[_0x133617(0x392)](){var _0x4edcfc=_0x133617;this[_0x4edcfc(0x444)]['send']({'cmd':F['HEARTBEAT']}),this[_0x4edcfc(0x2ee)]();}['_waitForHeartbeatResponse'](){var _0x40b67e=_0x133617,_0x247c3d;this[_0x40b67e(0x34a)]=setTimeout(()=>this[_0x40b67e(0x17b)](),(_0x247c3d=this[_0x40b67e(0x37c)][_0x40b67e(0x237)](Si))!=null?_0x247c3d:Ei);}[_0x133617(0x3af)](){var _0x108d27=_0x133617;this[_0x108d27(0x3cb)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x108d27(0x3cb)]=null);}['_clearTimeoutTimer'](){var _0x1ccbbb=_0x133617;this[_0x1ccbbb(0x34a)]!=null&&(clearTimeout(this[_0x1ccbbb(0x34a)]),this[_0x1ccbbb(0x34a)]=null);}};Me=hs([me(0x0,_0x1dc41d(_0x485aa2)),me(0x1,_0x9980c2),me(0x2,_0x387b00),me(0x3,Ci),me(0x4,_0x1dc41d(_0x566212)),me(0x5,_0x1dc41d(pe)),me(0x6,_0x13f1aa(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x133617(0x387)]((n+0x100)[_0x133617(0x310)](0x10)[_0x133617(0x245)](0x1));function _s(_0x20d2e1,_0x2d720f=0x0){return(V[_0x20d2e1[_0x2d720f+0x0]]+V[_0x20d2e1[_0x2d720f+0x1]]+V[_0x20d2e1[_0x2d720f+0x2]]+V[_0x20d2e1[_0x2d720f+0x3]]+'-'+V[_0x20d2e1[_0x2d720f+0x4]]+V[_0x20d2e1[_0x2d720f+0x5]]+'-'+V[_0x20d2e1[_0x2d720f+0x6]]+V[_0x20d2e1[_0x2d720f+0x7]]+'-'+V[_0x20d2e1[_0x2d720f+0x8]]+V[_0x20d2e1[_0x2d720f+0x9]]+'-'+V[_0x20d2e1[_0x2d720f+0xa]]+V[_0x20d2e1[_0x2d720f+0xb]]+V[_0x20d2e1[_0x2d720f+0xc]]+V[_0x20d2e1[_0x2d720f+0xd]]+V[_0x20d2e1[_0x2d720f+0xe]]+V[_0x20d2e1[_0x2d720f+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x117d0f=_0x133617;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x117d0f(0x30a));dt=crypto[_0x117d0f(0x311)]['bind'](crypto);}return dt(ls);}function _0x338e(_0x1bf22d,_0x4ec1d7){var _0x2c069b=_0x2c06();return _0x338e=function(_0x338e1c,_0x569262){_0x338e1c=_0x338e1c-0x163;var _0x2d854a=_0x2c069b[_0x338e1c];return _0x2d854a;},_0x338e(_0x1bf22d,_0x4ec1d7);}const ds=typeof crypto<'u'&&crypto[_0x133617(0x43a)]&&crypto[_0x133617(0x43a)][_0x133617(0x351)](crypto),qt={'randomUUID':ds};function fs(_0x1b3590,_0x15f3dd,_0x5941f7){var _0x1fb565=_0x133617;if(qt['randomUUID']&&!_0x15f3dd&&!_0x1b3590)return qt[_0x1fb565(0x43a)]();_0x1b3590=_0x1b3590||{};const _0x12b8f9=_0x1b3590[_0x1fb565(0x3e9)]||(_0x1b3590[_0x1fb565(0x3c4)]||us)();return _0x12b8f9[0x6]=_0x12b8f9[0x6]&0xf|0x40,_0x12b8f9[0x8]=_0x12b8f9[0x8]&0x3f|0x80,_s(_0x12b8f9);}const X=_0x45daf3(_0x133617(0x293));function uo(_0x1cb4ea){return'unit-cache-'+_0x1cb4ea;}var vs=Object[_0x133617(0x275)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x5ef522,_0x2fe51b,_0xad9fa0,_0xc24eee)=>{var _0xf18ab9=_0x133617;for(var _0x472ad5=_0xc24eee>0x1?void 0x0:_0xc24eee?ps(_0x2fe51b,_0xad9fa0):_0x2fe51b,_0xb7a46c=_0x5ef522[_0xf18ab9(0x2ec)]-0x1,_0x295f93;_0xb7a46c>=0x0;_0xb7a46c--)(_0x295f93=_0x5ef522[_0xb7a46c])&&(_0x472ad5=(_0xc24eee?_0x295f93(_0x2fe51b,_0xad9fa0,_0x472ad5):_0x295f93(_0x472ad5))||_0x472ad5);return _0xc24eee&&_0x472ad5&&vs(_0x2fe51b,_0xad9fa0,_0x472ad5),_0x472ad5;},ft=(_0xfc9fd4,_0x196e79)=>(_0x2bdca1,_0x7a1373)=>_0x196e79(_0x2bdca1,_0x7a1373,_0xfc9fd4);function ms(_0x2ea103){var _0x276c91=_0x133617;const {unitID:_0x1fcbad,mutations:_0x478457}=_0x2ea103;return{'unitId':_0x1fcbad,'subUnitId':_0x478457[0x0][_0x276c91(0x2f4)][_0x276c91(0x2c6)]};}let nt=class{constructor(_0x47e923,_0x46eb7b,_0x1f32b5){var _0xf3cb8a=_0x133617;this[_0xf3cb8a(0x1cc)]=_0x47e923,this[_0xf3cb8a(0x432)]=_0x46eb7b,this[_0xf3cb8a(0x29d)]=_0x1f32b5;}['transformSelections'](_0x3ade07){var _0x2e96b8=_0x133617,_0x5258bb,_0x3ae7d7,_0x511a22,_0x107953;const _0x40ef97=this[_0x2e96b8(0x1cc)][_0x2e96b8(0x456)](_0x183319),{unitId:_0x554a2f,subUnitId:_0x3df0ad}=ms(_0x3ade07),_0xc969a=_0x40ef97==null?void 0x0:_0x40ef97['getWorkbookSelections'](_0x554a2f)['getCurrentSelections'](),_0x1877e0=(_0x3ae7d7=(_0x5258bb=this[_0x2e96b8(0x29d)][_0x2e96b8(0x2ed)](_0x554a2f))==null?void 0x0:_0x5258bb[_0x2e96b8(0x274)]())==null?void 0x0:_0x3ae7d7['getSheetId']();if(_0xc969a[_0x2e96b8(0x2ec)]===0x0||!_0x554a2f||!_0x3df0ad)return;const _0x571a26=[{'id':_0x20231e['id'],'params':{'unitId':_0x554a2f,'subUnitId':_0x1877e0,'selections':_0x3e74e3[_0x2e96b8(0x292)](_0xc969a)}}],_0x4e3d17=this['_transformService'][_0x2e96b8(0x1d0)](_0x3ade07,_0x571a26);if(!_0x7af77d(_0x4e3d17))throw _0x4e3d17[_0x2e96b8(0x36e)];const _0x67e382=(_0x107953=(_0x511a22=_0x4e3d17[_0x2e96b8(0x1cb)][0x0])==null?void 0x0:_0x511a22[_0x2e96b8(0x2f4)])==null?void 0x0:_0x107953['selections'];if(Array[_0x2e96b8(0x3f0)](_0x67e382)&&_0x67e382['length']){if(_0x67e382[_0x2e96b8(0x2ec)]===_0x571a26[0x0][_0x2e96b8(0x2f4)][_0x2e96b8(0x373)]['length']&&_0x67e382[_0x2e96b8(0x406)]((_0x4f2a9e,_0x345be9)=>_0xcbaad8[_0x2e96b8(0x399)](_0x4f2a9e[_0x2e96b8(0x23d)],_0x571a26[0x0][_0x2e96b8(0x2f4)]['selections'][_0x345be9][_0x2e96b8(0x23d)])))return;this[_0x2e96b8(0x1cc)]['get'](_0x3a3afb)[_0x2e96b8(0x282)](_0x20231e['id'],{'unitId':_0x554a2f,'subUnitId':_0x1877e0,'selections':_0x67e382});}}};nt=gs([ft(0x0,_0x1dc41d(_0x485aa2)),ft(0x1,_0x4915cb),ft(0x2,_0x23476a)],nt);const _t=_0x45daf3(_0x133617(0x1f3));var Ri=(_0x29468e=>(_0x29468e[_0x29468e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x133617(0x16f),_0x29468e[_0x29468e[_0x133617(0x289)]=0x1]='OTHER_CLIENTS_EDITING',_0x29468e))(Ri||{});const Ss=new Set([_0x549ad3['id']]);function Jt(_0x3fb7c4,_0x6a82b2,_0x578987,_0x51dcfe,_0x14bde5){var _0x39059b=_0x133617,_0x2101c4,_0x559027,_0x3b7dab,_0x13988f;const _0x2e222a=[];for(const _0x47c512 of _0x3fb7c4)if(Ss[_0x39059b(0x29e)](_0x47c512['id'])){if(_0x2e222a[_0x39059b(0x2ec)]>0x0)break;_0x2e222a['push'](_0x47c512);break;}else _0x2e222a[_0x39059b(0x387)](_0x47c512);const _0x1f4330=(_0x559027=(_0x2101c4=_0x14bde5[_0x39059b(0x34f)]())==null?void 0x0:_0x2101c4['userID'])!=null?_0x559027:_0x39059b(0x332),_0x1a2eae=(_0x13988f=(_0x3b7dab=_0x14bde5[_0x39059b(0x34f)]())==null?void 0x0:_0x3b7dab['memberID'])!=null?_0x13988f:_0x39059b(0x332);return{'changeset':{'unitID':_0x6a82b2,'type':_0x53e7dd(_0x578987[_0x39059b(0x208)](_0x6a82b2)),'baseRev':_0x51dcfe[_0x39059b(0x195)](_0x6a82b2),'revision':0x0,'userID':_0x1f4330,'memberID':_0x1a2eae,'mutations':_0x2e222a},'pendingMutations':_0x3fb7c4['slice'](_0x2e222a['length'])};}function Es(_0x46cb29,_0x2520ba,_0x22e872,_0xf5245,_0xad960){var _0x49b6ca=_0x133617,_0x41c129,_0x5ae311,_0x305c44,_0x3a3763;const _0x4cc8a3=[_0x46cb29['reduce']((_0x485c19,_0x34dbdf)=>{var _0x4fe457=_0x338e,_0x237115;const {id:_0x1f02b6}=_0x485c19,{id:_0x32c469,type:_0x597dc5}=_0x34dbdf,_0x31bcb4=(_0x237115=_0x485c19['params'])!=null?_0x237115:{'actions':null},_0x44358b=_0x34dbdf[_0x4fe457(0x2f4)];if(_0x1f02b6&&_0x1f02b6!==_0x32c469)throw new Error(_0x4fe457(0x2b5)+_0x1f02b6+_0x4fe457(0x251)+_0x32c469+'.');return{..._0x485c19,'id':_0x32c469,'type':_0x597dc5,'params':{'unitId':_0x44358b[_0x4fe457(0x28e)],'textRanges':_0x44358b[_0x4fe457(0x42a)],'actions':_0x1084ae[_0x4fe457(0x1f1)](_0x31bcb4[_0x4fe457(0x442)],_0x44358b['actions'])}};},{})],_0xbd712f=(_0x5ae311=(_0x41c129=_0xad960[_0x49b6ca(0x34f)]())==null?void 0x0:_0x41c129['userID'])!=null?_0x5ae311:'unknown',_0x32eba3=(_0x3a3763=(_0x305c44=_0xad960[_0x49b6ca(0x34f)]())==null?void 0x0:_0x305c44[_0x49b6ca(0x21e)])!=null?_0x3a3763:_0x49b6ca(0x332);return{'changeset':{'unitID':_0x2520ba,'type':_0x53e7dd(_0x22e872['getUnitType'](_0x2520ba)),'baseRev':_0xf5245[_0x49b6ca(0x195)](_0x2520ba),'revision':0x0,'userID':_0xbd712f,'memberID':_0x32eba3,'mutations':_0x4cc8a3},'pendingMutations':[]};}function yi(_0x508361,_0x3e3ad5){var _0x589cdc=_0x133617;const _0x2c9457=new _0xb997b3(0x1);return setTimeout(()=>_0x2c9457['next'](_0x3e3ad5),_0x508361),_0x2c9457[_0x589cdc(0x193)]()[_0x589cdc(0x2a4)](_0x196b29(0x1));}const Is={'id':_0x5c1323['id'],'type':_0x2fe081['MUTATION'],'params':{}};var Ts=Object[_0x133617(0x275)],Cs=Object[_0x133617(0x22f)],Ce=(_0x5cccc3,_0x3fffe3,_0x12b703,_0x2a27ba)=>{var _0x38e55e=_0x133617;for(var _0x5461b8=_0x2a27ba>0x1?void 0x0:_0x2a27ba?Cs(_0x3fffe3,_0x12b703):_0x3fffe3,_0x2bf864=_0x5cccc3[_0x38e55e(0x2ec)]-0x1,_0x351cd1;_0x2bf864>=0x0;_0x2bf864--)(_0x351cd1=_0x5cccc3[_0x2bf864])&&(_0x5461b8=(_0x2a27ba?_0x351cd1(_0x3fffe3,_0x12b703,_0x5461b8):_0x351cd1(_0x5461b8))||_0x5461b8);return _0x2a27ba&&_0x5461b8&&Ts(_0x3fffe3,_0x12b703,_0x5461b8),_0x5461b8;},A=(_0x5e6a36,_0x445879)=>(_0x4c3ae2,_0x287ac2)=>_0x445879(_0x4c3ae2,_0x287ac2,_0x5e6a36),Oi=(_0x24c55a=>(_0x24c55a[_0x133617(0x1d8)]=_0x133617(0x1e5),_0x24c55a[_0x133617(0x423)]='synced',_0x24c55a[_0x133617(0x1b8)]=_0x133617(0x1a2),_0x24c55a[_0x133617(0x405)]=_0x133617(0x1d6),_0x24c55a[_0x133617(0x196)]=_0x133617(0x21d),_0x24c55a[_0x133617(0x3d9)]=_0x133617(0x1c8),_0x24c55a['CONFLICT']=_0x133617(0x210),_0x24c55a[_0x133617(0x397)]=_0x133617(0x43c),_0x24c55a))(Oi||{});const Pi=0xea60;class be{constructor(_0x79095,_0x3c0044,_0x46b8f6,_0x13f7c2,_0x242d6c,_0x32bf65,_0x11bbfa,_0x17c481,_0x3aeed9){var _0x1d806e=_0x133617;D(this,_0x1d806e(0x2e1),null),D(this,_0x1d806e(0x16a),[]),(this[_0x1d806e(0x1c7)]=_0x79095,this[_0x1d806e(0x425)]=_0x3c0044,this[_0x1d806e(0x247)]=_0x242d6c,this[_0x1d806e(0x1a8)]=_0x32bf65,this[_0x1d806e(0x287)]=_0x11bbfa,this['_revisionService']=_0x17c481,this['_localCacheService']=_0x3aeed9,this[_0x1d806e(0x2e1)]=_0x46b8f6,this[_0x1d806e(0x16a)]=_0x13f7c2);}['_checkMissing'](_0x2f141a){var _0x45c433=_0x133617;const _0x2da954=this[_0x45c433(0x431)]['getCurrentRevOfUnit'](this[_0x45c433(0x1c7)]);return _0x2f141a[_0x45c433(0x3e4)]>_0x2da954+0x1?(this[_0x45c433(0x247)][_0x45c433(0x3d4)]({'from':_0x2da954,'to':_0x2f141a[_0x45c433(0x3e4)]-0x1}),!0x0):!0x1;}[_0x133617(0x3d5)](_0xe3cfc8){var _0x5079b7=_0x133617;this[_0x5079b7(0x287)][_0x5079b7(0x19d)](this[_0x5079b7(0x1c7)],_0xe3cfc8);}[_0x133617(0x2fe)](_0x20cfad){var _0xbc811e=_0x133617,_0x159f9e,_0x32529c;(_0x32529c=(_0x159f9e=this[_0xbc811e(0x247)])[_0xbc811e(0x1d1)])==null||_0x32529c[_0xbc811e(0x2c7)](_0x159f9e,_0x20cfad);}[_0x133617(0x44a)](_0x1c35e0){var _0x14e901=_0x133617,_0x418963,_0x5e8be9;return(_0x5e8be9=(_0x418963=this[_0x14e901(0x247)])[_0x14e901(0x22c)])==null?void 0x0:_0x5e8be9['call'](_0x418963,_0x1c35e0);}[_0x133617(0x436)](_0x33ac8b){var _0x243e22=_0x133617,_0x59d94a,_0x12de89;return(_0x12de89=(_0x59d94a=this[_0x243e22(0x247)])[_0x243e22(0x181)])==null?void 0x0:_0x12de89['call'](_0x59d94a,_0x33ac8b);}[_0x133617(0x24d)](_0x165aa5){var _0x4322a0=_0x133617,_0x2f4ad4,_0x4cf39f,_0x237156;return(_0x237156=(_0x4cf39f=(_0x2f4ad4=this[_0x4322a0(0x247)])[_0x4322a0(0x460)])==null?void 0x0:_0x4cf39f[_0x4322a0(0x2c7)](_0x2f4ad4,_0x165aa5))!=null?_0x237156:_0x165aa5;}[_0x133617(0x3e0)](_0x5a33b4){var _0x3c5484=_0x133617,_0x11d154,_0x5527e5,_0xb3d5ef;return(_0xb3d5ef=(_0x5527e5=(_0x11d154=this[_0x3c5484(0x247)])[_0x3c5484(0x240)])==null?void 0x0:_0x5527e5[_0x3c5484(0x2c7)](_0x11d154,_0x5a33b4))!=null?_0xb3d5ef:_0x5a33b4;}[_0x133617(0x414)](_0x1dd5a3){var _0xc3f1d3=_0x133617,_0x5628f0,_0x148399;if(this[_0xc3f1d3(0x425)]===Q[_0xc3f1d3(0x3d1)]){const {unitID:_0xb9e8b9,mutations:_0x3da4be,memberID:_0x10c9aa}=_0x1dd5a3,_0x596289=_0x3da4be[0x0]['params'][_0xc3f1d3(0x42a)];Array[_0xc3f1d3(0x3f0)](_0x596289)&&_0x596289[_0xc3f1d3(0x2ec)]>0x0&&((_0x148399=(_0x5628f0=this[_0xc3f1d3(0x247)])[_0xc3f1d3(0x1df)])==null||_0x148399[_0xc3f1d3(0x2c7)](_0x5628f0,{'unitID':_0xb9e8b9,'memberID':_0x10c9aa,'textRanges':_0x596289}));}}[_0x133617(0x382)](){var _0x1440c9=_0x133617,_0x2eaa88;(_0x2eaa88=this[_0x1440c9(0x1b6)])==null||_0x2eaa88[_0x1440c9(0x1ba)](this[_0x1440c9(0x1c7)],this[_0x1440c9(0x425)],this['_awaitingChangeset'],this[_0x1440c9(0x16a)]);}[_0x133617(0x309)](){var _0x5da129=_0x133617;return this['_revisionService'][_0x5da129(0x195)](this[_0x5da129(0x1c7)]);}[_0x133617(0x272)](){var _0x107446=_0x133617;this[_0x107446(0x431)][_0x107446(0x17f)](this[_0x107446(0x1c7)]);}[_0x133617(0x2d8)](_0x2620c5){var _0x19eae3=_0x133617,_0x54eeb5;let _0x26cb54=this[_0x19eae3(0x24d)](_0x2620c5);_0x26cb54=this[_0x19eae3(0x3e0)](_0x26cb54);const _0x46fd7e=_0x31582c(_0x26cb54[_0x19eae3(0x315)],this[_0x19eae3(0x1a8)],{'fromCollab':!0x0});if(!_0x46fd7e['result'])throw _0x46fd7e['error']instanceof Error?_0x46fd7e['error']:new Error((_0x54eeb5=_0x46fd7e[_0x19eae3(0x36e)])!=null?_0x54eeb5:_0x19eae3(0x3d0));this[_0x19eae3(0x44a)](_0x26cb54),this[_0x19eae3(0x436)](_0x26cb54),this[_0x19eae3(0x3d5)](_0x2620c5),this[_0x19eae3(0x2fe)](_0x26cb54),this[_0x19eae3(0x414)](_0x26cb54),this[_0x19eae3(0x272)]();}}let Pe=class extends be{constructor(_0x31609d,_0x3a4a3e,_0x1336f2,_0x5bc70a,_0x4eefd0,_0x21b48a,_0x1bf24d,_0x4750a6,_0xc44ced,_0x2adf4f){var _0xd37386=_0x133617;super(_0x31609d,_0x3a4a3e,null,[],_0x1336f2,_0x1bf24d,_0x21b48a,_0x5bc70a,_0x2adf4f),D(this,_0xd37386(0x19e),'synced'),(this[_0xd37386(0x1cc)]=_0x4eefd0,this['_logService']=_0x4750a6,this[_0xd37386(0x432)]=_0xc44ced,this['localCacheService']=_0x2adf4f);}[_0x133617(0x2c8)](_0x4b1891){var _0xdeb6a7=_0x133617;const _0x5b6dc4=this[_0xdeb6a7(0x1cc)][_0xdeb6a7(0x3dc)](re,this[_0xdeb6a7(0x1c7)],this[_0xdeb6a7(0x425)],[_0x4b1891],this[_0xdeb6a7(0x247)]);return _0x5b6dc4[_0xdeb6a7(0x360)](),_0x5b6dc4[_0xdeb6a7(0x382)](),_0x5b6dc4;}[_0x133617(0x45e)](_0x10bc76){var _0x3da2f9=_0x133617;if(this[_0x3da2f9(0x1fc)](_0x10bc76))return this[_0x3da2f9(0x1cc)]['createInstance'](te,this[_0x3da2f9(0x1c7)],this[_0x3da2f9(0x425)],null,[],null,[_0x10bc76],this[_0x3da2f9(0x247)]);try{const _0x451a17=this[_0x3da2f9(0x432)]['transformMutationsWithChangeset'](_0x10bc76,[Is]);if(_0x7af77d(_0x451a17)){const {c1Prime:_0x5219ee}=_0x451a17;return this[_0x3da2f9(0x2d8)](_0x5219ee),this;}throw _0x451a17[_0x3da2f9(0x36e)];}catch(_0x4e7d4d){return this['_logService'][_0x3da2f9(0x36e)](_0x4e7d4d),this[_0x3da2f9(0x411)](!0x1);}}['_onConflict'](_0x4c7b58){var _0x1a17d5=_0x133617;return this['_injector'][_0x1a17d5(0x3dc)](de,this[_0x1a17d5(0x1c7)],this['type'],null,[],this[_0x1a17d5(0x247)],_0x4c7b58);}[_0x133617(0x33d)](){var _0x325ed1=_0x133617;throw new Error(_0x325ed1(0x3be));}['onRemoteRej'](){var _0x594a84=_0x133617;throw new Error(_0x594a84(0x364));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x1626af=_0x133617;return this[_0x1626af(0x1cc)][_0x1626af(0x3dc)](fe,this[_0x1626af(0x1c7)],this[_0x1626af(0x425)],null,[],this[_0x1626af(0x247)]);}[_0x133617(0x187)](){return this;}['resend'](){var _0x268ed3=_0x133617;throw new Error(_0x268ed3(0x379));}['fetchMiss'](){var _0x3d7f38=_0x133617;const _0x2d46ec=this[_0x3d7f38(0x431)]['getCurrentRevOfUnit'](this[_0x3d7f38(0x1c7)]);return this[_0x3d7f38(0x247)][_0x3d7f38(0x3d4)]({'from':_0x2d46ec,'to':0x0}),this[_0x3d7f38(0x1cc)][_0x3d7f38(0x3dc)](te,this['unitID'],this['type'],null,[],null,[],this[_0x3d7f38(0x247)]);}};Pe=Ce([A(0x3,_0x1dc41d(_0x1db671)),A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x2c523a),A(0x6,_0x3a3afb),A(0x7,_0x9980c2),A(0x8,_0x4915cb),A(0x9,_0x13f1aa(X))],Pe);let re=class extends be{constructor(_0x22d79d,_0x38006c,_0xcef7c0,_0x1fc6b4,_0x23a972,_0x460151,_0x3a07f9,_0x35d3f0,_0x362e6f,_0x116aa5,_0x16d780,_0x1dbf1e,_0x38e065,_0x43b6e0){var _0x5c1e6c=_0x133617;super(_0x22d79d,_0x38006c,null,_0xcef7c0,_0x1fc6b4,_0x362e6f,_0x38e065,_0x460151,_0x43b6e0),D(this,'status',_0x5c1e6c(0x1a2)),D(this,'_scheduleTimestamp',null),D(this,_0x5c1e6c(0x361),null),(this[_0x5c1e6c(0x1cc)]=_0x23a972,this['_memberService']=_0x3a07f9,this[_0x5c1e6c(0x3f1)]=_0x35d3f0,this[_0x5c1e6c(0x37c)]=_0x116aa5,this[_0x5c1e6c(0x432)]=_0x16d780,this[_0x5c1e6c(0x206)]=_0x1dbf1e);}[_0x133617(0x2c8)](_0x379af0){var _0x3b416b=_0x133617;return this[_0x3b416b(0x16a)]['push'](_0x379af0),this[_0x3b416b(0x382)](),this;}['onRemoteChangeset'](_0x12d78f){var _0x11c288=_0x133617;if(this[_0x11c288(0x1fc)](_0x12d78f))return this['_clearScheduledTask'](),this[_0x11c288(0x1cc)]['createInstance'](te,this[_0x11c288(0x1c7)],this[_0x11c288(0x425)],null,this[_0x11c288(0x16a)],null,[_0x12d78f],this[_0x11c288(0x247)]);try{const _0x5037ea=this['_transformService'][_0x11c288(0x1d0)](_0x12d78f,this[_0x11c288(0x16a)]);if(_0x7af77d(_0x5037ea)){const {c1Prime:_0x4119d4,m2Prime:_0x6f1913}=_0x5037ea;this['_executeRemoteChangeset'](_0x4119d4);const _0x44ac67=this[_0x11c288(0x1cc)][_0x11c288(0x3dc)](re,this[_0x11c288(0x1c7)],this[_0x11c288(0x425)],_0x6f1913,this['_handler']);return this[_0x11c288(0x448)](),_0x44ac67['_schedule'](this[_0x11c288(0x2b0)]?Math[_0x11c288(0x20e)](0x0,new Date()[_0x11c288(0x1a5)]()-this['_scheduleTimestamp']):this[_0x11c288(0x244)]()),_0x44ac67;}throw _0x5037ea[_0x11c288(0x36e)];}catch(_0x5ea4a6){return this[_0x11c288(0x3f1)][_0x11c288(0x36e)](_0x5ea4a6),this[_0x11c288(0x411)](!0x1);}}[_0x133617(0x33d)](){var _0x452610=_0x133617;throw new Error(_0x452610(0x233));}[_0x133617(0x2fc)](){var _0x135911=_0x133617;throw new Error(_0x135911(0x348));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x1c947f=_0x133617;return this['_clearScheduledTask'](),this[_0x1c947f(0x1cc)][_0x1c947f(0x3dc)](fe,this[_0x1c947f(0x1c7)],this[_0x1c947f(0x425)],null,this['_pendingMutations'],this[_0x1c947f(0x247)]);}['toggleOnline'](){return this;}[_0x133617(0x360)](_0xf2a10a){var _0x140bdc=_0x133617;const _0x499a69=_0xf2a10a!=null?_0xf2a10a:this[_0x140bdc(0x244)]();this[_0x140bdc(0x2b0)]=new Date()[_0x140bdc(0x1a5)](),this[_0x140bdc(0x361)]=setTimeout(()=>{var _0x141ebe=_0x140bdc;this[_0x141ebe(0x448)]();let _0x2b842b=null;switch(this[_0x141ebe(0x425)]){case Q[_0x141ebe(0x184)]:{_0x2b842b=Jt(this['_pendingMutations'],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this['_revisionService'],this[_0x141ebe(0x3c9)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x59366d=>_0x59366d['id']===_0x5a5832['id'])?_0x2b842b=Es(this['_pendingMutations'],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this[_0x141ebe(0x431)],this['_memberService']):_0x2b842b=Jt(this[_0x141ebe(0x16a)],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this[_0x141ebe(0x431)],this[_0x141ebe(0x3c9)]);break;}default:throw new Error(_0x141ebe(0x1b7)+this['type']+_0x141ebe(0x3df));}const {changeset:_0x2a0d1c,pendingMutations:_0x1f56e9}=_0x2b842b;this[_0x141ebe(0x247)][_0x141ebe(0x185)](_0x2a0d1c);const _0x133743=_0x1f56e9[_0x141ebe(0x2ec)]?this[_0x141ebe(0x1cc)][_0x141ebe(0x3dc)](oe,this['unitID'],this[_0x141ebe(0x425)],_0x2a0d1c,_0x1f56e9,this['_handler'],void 0x0):this[_0x141ebe(0x1cc)][_0x141ebe(0x3dc)](ue,this[_0x141ebe(0x1c7)],this[_0x141ebe(0x425)],_0x2a0d1c,this[_0x141ebe(0x247)]);_0x133743[_0x141ebe(0x382)](),this[_0x141ebe(0x247)][_0x141ebe(0x1c0)](this,_0x133743);},_0x499a69);}['_getSendChangesetTimeout'](){var _0x24e245=_0x133617,_0x2b1e95;const _0x56715=this['_configService'][_0x24e245(0x237)](Y);return(_0x2b1e95=_0x56715==null?void 0x0:_0x56715[_0x24e245(0x43d)])!=null?_0x2b1e95:wn;}['resend'](){var _0x2785f3=_0x133617;throw new Error(_0x2785f3(0x451));}['_clearScheduledTask'](){var _0x5905e7=_0x133617;this[_0x5905e7(0x361)]!=null&&(clearTimeout(this[_0x5905e7(0x361)]),this[_0x5905e7(0x361)]=null);}[_0x133617(0x411)](_0x4596b4){var _0x21d120=_0x133617;return this[_0x21d120(0x448)](),this[_0x21d120(0x1cc)]['createInstance'](de,this[_0x21d120(0x1c7)],this[_0x21d120(0x425)],null,this[_0x21d120(0x16a)],this['_handler'],_0x4596b4);}};re=Ce([A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x1dc41d(_0x1db671)),A(0x6,_0x1dc41d(Le)),A(0x7,_0x9980c2),A(0x8,_0x3a3afb),A(0x9,_0x387b00),A(0xa,_0x4915cb),A(0xb,_0x23476a),A(0xc,_0x2c523a),A(0xd,_0x13f1aa(X))],re);let ue=class extends be{constructor(_0x48cb6b,_0x180fb5,_0xfaf2e,_0x51cea9,_0x2e9b4d,_0x153174,_0x33fb7c,_0x3f2981,_0x332e45,_0x4045d4,_0x527e17){var _0xcd8153=_0x133617;super(_0x48cb6b,_0x180fb5,_0xfaf2e,[],_0x51cea9,_0x33fb7c,_0x4045d4,_0x153174,_0x527e17),D(this,'status','awaiting'),D(this,_0xcd8153(0x45d),0x0),D(this,_0xcd8153(0x281)),D(this,_0xcd8153(0x453)),(this['_injector']=_0x2e9b4d,this[_0xcd8153(0x3f1)]=_0x3f2981,this[_0xcd8153(0x432)]=_0x332e45);}[_0x133617(0x2c8)](_0x41795c){var _0x3368d9=_0x133617;this[_0x3368d9(0x448)]();const _0x564d7e=this[_0x3368d9(0x1cc)][_0x3368d9(0x3dc)](oe,this[_0x3368d9(0x1c7)],this['type'],this[_0x3368d9(0x2e1)],[_0x41795c],this[_0x3368d9(0x247)],this['_resendTimer']);return _0x564d7e[_0x3368d9(0x382)](),_0x564d7e;}['onRemoteChangeset'](_0x1876de){var _0x2ef90d=_0x133617;if(this[_0x2ef90d(0x1fc)](_0x1876de))return this[_0x2ef90d(0x448)](),this['_injector'][_0x2ef90d(0x3dc)](te,this[_0x2ef90d(0x1c7)],this[_0x2ef90d(0x425)],this['_awaitingChangeset'],[],null,[_0x1876de],this['_handler']);try{const _0x52330f=this[_0x2ef90d(0x432)]['transformChangesets']([_0x1876de],[this[_0x2ef90d(0x2e1)]],!0x1);if(_0x48de75(_0x52330f)){const {c1Prime:_0x1842c5,c2Prime:_0x30885a}=_0x52330f;this['_executeRemoteChangeset'](_0x1842c5[0x0]),_0x30885a[0x0]['baseRev']=this[_0x2ef90d(0x309)](),this[_0x2ef90d(0x448)]();const _0x55a938=this['_injector'][_0x2ef90d(0x3dc)](ue,this[_0x2ef90d(0x1c7)],this['type'],_0x30885a[0x0],this[_0x2ef90d(0x247)]);return _0x55a938[_0x2ef90d(0x382)](),_0x55a938;}return this['_onConflict'](!0x1);}catch(_0x5941a8){return this['_logService'][_0x2ef90d(0x36e)](_0x5941a8),this[_0x2ef90d(0x411)](!0x1);}}[_0x133617(0x33d)](_0x231322){var _0x1d8773=_0x133617;this['_clearScheduledTask']();const _0x22e071=this['_revisionService'][_0x1d8773(0x195)](this[_0x1d8773(0x1c7)]);if(_0x231322[_0x1d8773(0x3e4)]<_0x22e071-0x1)return this;if(this['_checkMissing'](_0x231322))return this[_0x1d8773(0x1cc)]['createInstance'](te,this[_0x1d8773(0x1c7)],this[_0x1d8773(0x425)],null,[],this['_awaitingChangeset'],[],this[_0x1d8773(0x247)]);this[_0x1d8773(0x272)]();const _0x377cbf=this[_0x1d8773(0x1cc)]['createInstance'](Pe,this['unitID'],this[_0x1d8773(0x425)],this[_0x1d8773(0x247)]);return _0x377cbf[_0x1d8773(0x382)](),_0x377cbf;}[_0x133617(0x2fc)](_0x564c0d){var _0x9f4ef0=_0x133617;return this[_0x9f4ef0(0x411)](!!(_0x564c0d!=null&&_0x564c0d[_0x9f4ef0(0x2bf)]));}[_0x133617(0x452)](_0x3a2173){var _0x897c26=_0x133617;return this[_0x897c26(0x45d)]>Pi?this['toggleOffline']():(this['_resendTimer']=yi(this['_resendTimeout'],{'timeout':this[_0x897c26(0x45d)],'reqId':_0x3a2173['reqId']}),this[_0x897c26(0x453)]=this[_0x897c26(0x281)][_0x897c26(0x438)](({reqId:_0x2b186b,timeout:_0xb8dafc})=>{var _0x16a0a6=_0x897c26;this[_0x16a0a6(0x16e)](_0x2b186b,_0xb8dafc);}),this);}[_0x133617(0x300)](){var _0x5e3c46=_0x133617;return this[_0x5e3c46(0x448)](),this[_0x5e3c46(0x1cc)][_0x5e3c46(0x3dc)](fe,this[_0x5e3c46(0x1c7)],this[_0x5e3c46(0x425)],this['_awaitingChangeset'],[],this[_0x5e3c46(0x247)]);}['toggleOnline'](){return this;}['resend'](){var _0xb4fd02=_0x133617;this[_0xb4fd02(0x247)][_0xb4fd02(0x185)](this[_0xb4fd02(0x2e1)]);}[_0x133617(0x411)](_0x23d118){var _0x13f91d=_0x133617;return this[_0x13f91d(0x448)](),this[_0x13f91d(0x1cc)][_0x13f91d(0x3dc)](de,this[_0x13f91d(0x1c7)],this[_0x13f91d(0x425)],this[_0x13f91d(0x2e1)],[],this[_0x13f91d(0x247)],_0x23d118);}[_0x133617(0x16e)](_0x334bf2,_0x29ad04){var _0xe10e48=_0x133617,_0x19d74a;_0x334bf2===((_0x19d74a=this[_0xe10e48(0x2e1)])==null?void 0x0:_0x19d74a[_0xe10e48(0x170)])&&(this[_0xe10e48(0x1f4)](),this[_0xe10e48(0x45d)]=_0x29ad04===0x0?0x3e8:_0x29ad04*0x2);}[_0x133617(0x448)](){var _0x5caf91=_0x133617,_0x2ea65e;(_0x2ea65e=this[_0x5caf91(0x453)])==null||_0x2ea65e[_0x5caf91(0x1fe)](),this[_0x5caf91(0x45d)]=0x0;}};ue=Ce([A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x1dc41d(_0x1db671)),A(0x6,_0x3a3afb),A(0x7,_0x9980c2),A(0x8,_0x4915cb),A(0x9,_0x2c523a),A(0xa,_0x13f1aa(X))],ue);let oe=class extends be{constructor(_0x3b1218,_0x123ce0,_0x28a066,_0x1947cd,_0x287b1e,_0x47347e,_0x4418d7,_0x1cada1,_0x36bac8,_0x563079,_0x289dd3,_0x2783d0,_0x3e6503){var _0x33917f=_0x133617;super(_0x3b1218,_0x123ce0,_0x28a066,_0x1947cd,_0x287b1e,_0x36bac8,_0x2783d0,_0x1cada1,_0x3e6503),D(this,_0x33917f(0x19e),_0x33917f(0x21d)),D(this,_0x33917f(0x45d),0x0),D(this,'_resendTimer'),D(this,_0x33917f(0x453)),(this['_injector']=_0x4418d7,this['_logService']=_0x563079,this[_0x33917f(0x432)]=_0x289dd3,this[_0x33917f(0x3c7)]=_0x3e6503,_0x47347e&&(this[_0x33917f(0x281)]=_0x47347e,this[_0x33917f(0x453)]=this['_resendTimer']['subscribe'](({reqId:_0x1ae86d,timeout:_0x29974b})=>{var _0x3d09df=_0x33917f;this[_0x3d09df(0x16e)](_0x1ae86d,_0x29974b);})));}[_0x133617(0x2c8)](_0x5bcb85){var _0x409916=_0x133617;return this[_0x409916(0x16a)]['push'](_0x5bcb85),this;}[_0x133617(0x45e)](_0x22ee0e){var _0x54ca31=_0x133617;if(this[_0x54ca31(0x1fc)](_0x22ee0e))return this[_0x54ca31(0x448)](),this[_0x54ca31(0x1cc)][_0x54ca31(0x3dc)](te,this['unitID'],this[_0x54ca31(0x425)],this[_0x54ca31(0x2e1)],this[_0x54ca31(0x16a)],null,[_0x22ee0e],this[_0x54ca31(0x247)]);try{const _0x203681=this[_0x54ca31(0x432)][_0x54ca31(0x2d3)]([_0x22ee0e],[this[_0x54ca31(0x2e1)]],!0x1);if(_0x48de75(_0x203681)){const {c1Prime:_0x3d6397,c2Prime:_0x2ab80f}=_0x203681,_0x5e1b1d=this[_0x54ca31(0x432)][_0x54ca31(0x1d0)](_0x3d6397[0x0],this[_0x54ca31(0x16a)]);if(_0x7af77d(_0x5e1b1d)){const {c1Prime:_0x25dd83,m2Prime:_0x3cd5d4}=_0x5e1b1d;return this[_0x54ca31(0x2d8)](_0x25dd83),_0x2ab80f[0x0][_0x54ca31(0x205)]=this[_0x54ca31(0x309)](),this[_0x54ca31(0x448)](),this[_0x54ca31(0x1cc)]['createInstance'](oe,this[_0x54ca31(0x1c7)],this[_0x54ca31(0x425)],_0x2ab80f[0x0],_0x3cd5d4,this[_0x54ca31(0x247)],void 0x0);}throw _0x5e1b1d[_0x54ca31(0x36e)];}throw _0x203681[_0x54ca31(0x36e)];}catch(_0x48eabf){return this[_0x54ca31(0x3f1)][_0x54ca31(0x36e)](_0x48eabf),this[_0x54ca31(0x411)](!0x1);}}[_0x133617(0x33d)](_0xacdcf0){var _0x54ae32=_0x133617;if(this[_0x54ae32(0x448)](),this[_0x54ae32(0x1fc)](_0xacdcf0))return this[_0x54ae32(0x1cc)][_0x54ae32(0x3dc)](te,this[_0x54ae32(0x1c7)],this[_0x54ae32(0x425)],null,this[_0x54ae32(0x16a)],this[_0x54ae32(0x2e1)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x452f6d=this['_injector'][_0x54ae32(0x3dc)](re,this['unitID'],this[_0x54ae32(0x425)],this[_0x54ae32(0x16a)],this[_0x54ae32(0x247)]);return _0x452f6d[_0x54ae32(0x360)](),_0x452f6d[_0x54ae32(0x382)](),_0x452f6d;}['onRemoteRej'](_0x53c1a3){var _0x1080e6=_0x133617;return this['_onConflict'](!!(_0x53c1a3!=null&&_0x53c1a3[_0x1080e6(0x2bf)]));}[_0x133617(0x452)](_0x2fd88d){var _0x5ab2c6=_0x133617;return this['_resendTimeout']>Pi?this[_0x5ab2c6(0x300)]():(this[_0x5ab2c6(0x281)]=yi(this[_0x5ab2c6(0x45d)],{'timeout':this[_0x5ab2c6(0x45d)],'reqId':_0x2fd88d['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x50e2b1,timeout:_0x275a48})=>{var _0x11572a=_0x5ab2c6;this[_0x11572a(0x16e)](_0x50e2b1,_0x275a48);}),this);}['toggleOffline'](){var _0x30eeaa=_0x133617;return this['_clearScheduledTask'](),this[_0x30eeaa(0x1cc)]['createInstance'](fe,this[_0x30eeaa(0x1c7)],this[_0x30eeaa(0x425)],this[_0x30eeaa(0x2e1)],this['_pendingMutations'],this[_0x30eeaa(0x247)]);}['toggleOnline'](){return this;}['resend'](){var _0x34ce2f=_0x133617;this[_0x34ce2f(0x247)][_0x34ce2f(0x185)](this['_awaitingChangeset']);}[_0x133617(0x411)](_0x3d9122){var _0x5e25e8=_0x133617;return this[_0x5e25e8(0x448)](),this['_injector'][_0x5e25e8(0x3dc)](de,this['unitID'],this['type'],null,this[_0x5e25e8(0x16a)],this[_0x5e25e8(0x247)],_0x3d9122);}[_0x133617(0x16e)](_0x2e2d7c,_0x2e62e5){var _0xee07a6=_0x133617,_0x19a13d;_0x2e2d7c===((_0x19a13d=this[_0xee07a6(0x2e1)])==null?void 0x0:_0x19a13d[_0xee07a6(0x170)])&&(this[_0xee07a6(0x1f4)](),this['_resendTimeout']=_0x2e62e5===0x0?0x3e8:_0x2e62e5*0x2);}[_0x133617(0x448)](){var _0x40dbf6=_0x133617,_0x4e9040;(_0x4e9040=this[_0x40dbf6(0x453)])==null||_0x4e9040[_0x40dbf6(0x1fe)](),this[_0x40dbf6(0x45d)]=0x0;}};oe=Ce([A(0x6,_0x1dc41d(_0x485aa2)),A(0x7,_0x1dc41d(_0x1db671)),A(0x8,_0x3a3afb),A(0x9,_0x9980c2),A(0xa,_0x4915cb),A(0xb,_0x2c523a),A(0xc,_0x13f1aa(X))],oe);let de=class extends be{constructor(_0x4528de,_0x32b620,_0x98f45b,_0x434f2a,_0x1d0f7b,_0x8e00d2=!0x1,_0x2085e1,_0x10b243,_0x1906dd,_0x160cdf,_0x3de5d9,_0x14db3e,_0x3aac32){var _0x3a2918=_0x133617;super(_0x4528de,_0x32b620,_0x98f45b,_0x434f2a,_0x1d0f7b,_0x10b243,_0x1906dd,_0x160cdf,_0x3aac32),D(this,'status',_0x3a2918(0x210)),(this['_isPermissionRej']=_0x8e00d2,this[_0x3a2918(0x427)]=_0x2085e1,this[_0x3a2918(0x296)]=_0x3de5d9,this[_0x3a2918(0x439)]=_0x14db3e,this[_0x3a2918(0x3c7)]=_0x3aac32,this[_0x3a2918(0x3ee)](),this[_0x3a2918(0x446)](),this[_0x3a2918(0x24f)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x133617(0x2fc)](){return this;}[_0x133617(0x452)](){return this;}[_0x133617(0x300)](){return this;}[_0x133617(0x187)](){return this;}[_0x133617(0x1f4)](){var _0x59171e=_0x133617;throw new Error(_0x59171e(0x2c3));}[_0x133617(0x446)](){var _0x5117c0=_0x133617,_0x236f76;(_0x236f76=this[_0x5117c0(0x1b6)])==null||_0x236f76[_0x5117c0(0x1ba)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x243b9e=_0x133617;this[_0x243b9e(0x2fa)]?this[_0x243b9e(0x439)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x243b9e(0x439)][_0x243b9e(0x3a3)]({'id':se[_0x243b9e(0x366)]});}['_disableEditing'](){var _0x8c1db=_0x133617;this['_permissionService'][_0x8c1db(0x2e4)](new _0x4c611b(this[_0x8c1db(0x1c7)])['id'],!0x1);}};de=Ce([A(0x6,_0x1dc41d(_0x113cc3)),A(0x7,_0x3a3afb),A(0x8,_0x2c523a),A(0x9,_0x1dc41d(_0x1db671)),A(0xa,_0x1dc41d(_0x5bfcba)),A(0xb,_0x1dc41d(pe)),A(0xc,_0x13f1aa(X))],de);let fe=class extends be{constructor(_0x26e698,_0x34d64e,_0x1715f2,_0x3885cf,_0x1e19a9,_0x34e0dc,_0x2561ce,_0xdc1eb0,_0x55d877,_0xbb0faf){var _0x220da9=_0x133617;super(_0x26e698,_0x34d64e,_0x1715f2,_0x3885cf,_0x1e19a9,_0xdc1eb0,_0x55d877,_0x2561ce,_0xbb0faf),D(this,_0x220da9(0x19e),_0x220da9(0x43c)),this[_0x220da9(0x1cc)]=_0x34e0dc;}['appendMutation'](_0x56794f){var _0x162031=_0x133617;return this[_0x162031(0x16a)][_0x162031(0x387)](_0x56794f),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1bf11c){var _0x572de7=_0x133617;throw new Error(_0x572de7(0x33b));}[_0x133617(0x33d)](){var _0x3f79b3=_0x133617;throw new Error(_0x3f79b3(0x174));}[_0x133617(0x2fc)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){return this;}[_0x133617(0x187)](){var _0x5453c1=_0x133617;const {_injector:_0x26442c,_pendingMutations:_0x55203f,_awaitingChangeset:_0x47d7de,unitID:_0x4241cb,_handler:_0x38a730,type:_0x835cb7}=this,_0x5f20a0=Ni(_0x26442c,_0x4241cb,_0x835cb7,_0x47d7de,_0x55203f,_0x38a730);return _0x5f20a0 instanceof re?_0x5f20a0[_0x5453c1(0x360)]():(_0x5f20a0 instanceof oe||_0x5f20a0 instanceof ue)&&_0x5f20a0[_0x5453c1(0x1f4)](),_0x5f20a0;}[_0x133617(0x1f4)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Ce([A(0x5,_0x1dc41d(_0x485aa2)),A(0x6,_0x1dc41d(_0x1db671)),A(0x7,_0x3a3afb),A(0x8,_0x2c523a),A(0x9,_0x13f1aa(X))],fe);let te=class extends be{constructor(_0x4d47e3,_0x132ff5,_0x4f2710,_0x344f26,_0x3fb455,_0x186f3c,_0xe67091,_0x400ba1,_0x5e4d63,_0x126306,_0x2924e7,_0x505a63,_0x3dc7c5,_0x275830){var _0xd515ce=_0x133617;super(_0x4d47e3,_0x132ff5,_0x4f2710,_0x344f26,_0xe67091,_0x2924e7,_0x505a63,_0x5e4d63,_0x275830),D(this,_0xd515ce(0x19e),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3fb455,this[_0xd515ce(0x25e)]=_0x186f3c,this[_0xd515ce(0x1cc)]=_0x400ba1,this[_0xd515ce(0x3f1)]=_0x126306,this[_0xd515ce(0x432)]=_0x3dc7c5,this[_0xd515ce(0x3c7)]=_0x275830);}[_0x133617(0x2a8)](_0xd5f92d){var _0x5a8c7c=_0x133617;try{const _0x4dd3ea=[..._0xd5f92d,...this['_queuedRemoteChangesets']],_0x4fac78=[this[_0x5a8c7c(0x2e1)]||this[_0x5a8c7c(0x2ab)]][_0x5a8c7c(0x2b7)](_0x43224f=>!!_0x43224f);let _0x788d2c,_0x300e75;if(_0x4fac78['length']){const _0x50caa2=this['_transformService'][_0x5a8c7c(0x2d3)](_0x4dd3ea,_0x4fac78,!0x1);if(!_0x48de75(_0x50caa2))throw _0x50caa2['error'];_0x788d2c=_0x50caa2[_0x5a8c7c(0x307)],_0x300e75=_0x50caa2[_0x5a8c7c(0x2c4)];}else _0x788d2c=_0x4dd3ea,_0x300e75=[];let _0x47d54d=this[_0x5a8c7c(0x16a)];_0x788d2c['forEach'](_0x4c127f=>{var _0x275d57=_0x5a8c7c;let _0x3da9a4;if(_0x47d54d[_0x275d57(0x2ec)]){const _0x1a8e19=this[_0x275d57(0x432)][_0x275d57(0x1d0)](_0x4c127f,_0x47d54d);if(!_0x7af77d(_0x1a8e19))throw _0x1a8e19['error'];_0x3da9a4=_0x1a8e19['c1Prime'],_0x47d54d=_0x1a8e19[_0x275d57(0x1cb)];}else _0x3da9a4=_0x4c127f;this[_0x275d57(0x2d8)](_0x3da9a4);}),this[_0x5a8c7c(0x2ab)]&&this[_0x5a8c7c(0x272)](),this[_0x5a8c7c(0x2e1)]&&_0x300e75[_0x5a8c7c(0x2ec)]&&(_0x300e75[0x0]['baseRev']=this[_0x5a8c7c(0x309)]());let _0xeefce0;if(this[_0x5a8c7c(0x2e1)]&&_0x47d54d['length']!==0x0)_0xeefce0=this[_0x5a8c7c(0x1cc)][_0x5a8c7c(0x3dc)](oe,this['unitID'],this[_0x5a8c7c(0x425)],_0x300e75[0x0],_0x47d54d,this['_handler'],void 0x0);else{if(this[_0x5a8c7c(0x2e1)]&&_0x47d54d[_0x5a8c7c(0x2ec)]===0x0)_0x300e75[0x0]['baseRev']=this['_getCurrentRevision'](),_0xeefce0=this['_injector'][_0x5a8c7c(0x3dc)](ue,this[_0x5a8c7c(0x1c7)],this['type'],_0x300e75[0x0],this[_0x5a8c7c(0x247)]);else{if(_0x47d54d[_0x5a8c7c(0x2ec)]!==0x0){const _0x22a968=this[_0x5a8c7c(0x1cc)][_0x5a8c7c(0x3dc)](re,this[_0x5a8c7c(0x1c7)],this['type'],_0x47d54d,this['_handler']);_0x22a968['_schedule'](),_0xeefce0=_0x22a968;}else _0xeefce0=this['_injector']['createInstance'](Pe,this[_0x5a8c7c(0x1c7)],this[_0x5a8c7c(0x425)],this[_0x5a8c7c(0x247)]);}}return _0xeefce0[_0x5a8c7c(0x382)](),_0xeefce0;}catch(_0x42d25a){return this[_0x5a8c7c(0x3f1)][_0x5a8c7c(0x36e)](_0x5a8c7c(0x3ba),_0x5a8c7c(0x44f),_0x42d25a),this['_injector'][_0x5a8c7c(0x3dc)](de,this[_0x5a8c7c(0x1c7)],this['type'],this[_0x5a8c7c(0x2e1)],this[_0x5a8c7c(0x16a)],this['_handler'],!0x1);}}[_0x133617(0x1f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x37389b){var _0x16c675=_0x133617;return this[_0x16c675(0x16a)][_0x16c675(0x387)](_0x37389b),this;}['onRemoteChangeset'](_0x10a0ce){return this['_queuedRemoteChangesets']['push'](_0x10a0ce),this;}['onRemoteAck'](_0x8ec10f){var _0x45325b=_0x133617;if(this[_0x45325b(0x2e1)])return this[_0x45325b(0x2ab)]=this[_0x45325b(0x2e1)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x133617(0x2fc)](_0x46176f){var _0xfdfabd=_0x133617;return this[_0xfdfabd(0x411)](!!(_0x46176f!=null&&_0x46176f[_0xfdfabd(0x2bf)]));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x130344=_0x133617;return this[_0x130344(0x1cc)][_0x130344(0x3dc)](fe,this['unitID'],this[_0x130344(0x425)],this[_0x130344(0x2e1)],this[_0x130344(0x16a)],this[_0x130344(0x247)]);}['toggleOnline'](){return this;}[_0x133617(0x411)](_0x59fc71){var _0x325179=_0x133617;return this[_0x325179(0x1cc)][_0x325179(0x3dc)](de,this[_0x325179(0x1c7)],this[_0x325179(0x425)],this[_0x325179(0x2e1)],this[_0x325179(0x16a)],this[_0x325179(0x247)],_0x59fc71);}};te=Ce([A(0x7,_0x1dc41d(_0x485aa2)),A(0x8,_0x1dc41d(_0x1db671)),A(0x9,_0x9980c2),A(0xa,_0x3a3afb),A(0xb,_0x2c523a),A(0xc,_0x4915cb),A(0xd,_0x13f1aa(X))],te);function Ni(_0x5d53fb,_0x1420e8,_0x46af52,_0x48a777,_0x44af7c,_0x107bff){var _0x317d62=_0x133617;return _0x48a777&&_0x44af7c[_0x317d62(0x2ec)]?_0x5d53fb[_0x317d62(0x3dc)](oe,_0x1420e8,_0x46af52,_0x48a777,_0x44af7c,_0x107bff,void 0x0):_0x48a777?_0x5d53fb['createInstance'](ue,_0x1420e8,_0x46af52,_0x48a777,_0x107bff):_0x44af7c[_0x317d62(0x2ec)]?_0x5d53fb[_0x317d62(0x3dc)](re,_0x1420e8,_0x46af52,_0x44af7c,_0x107bff):_0x5d53fb['createInstance'](Pe,_0x1420e8,_0x46af52,_0x107bff);}var bs=Object[_0x133617(0x275)],Rs=Object[_0x133617(0x22f)],Mt=(_0x174bbd,_0xfec7d2,_0x57bd40,_0x1f1ef4)=>{for(var _0xdc65b9=_0x1f1ef4>0x1?void 0x0:_0x1f1ef4?Rs(_0xfec7d2,_0x57bd40):_0xfec7d2,_0x2d22d3=_0x174bbd['length']-0x1,_0x23ef76;_0x2d22d3>=0x0;_0x2d22d3--)(_0x23ef76=_0x174bbd[_0x2d22d3])&&(_0xdc65b9=(_0x1f1ef4?_0x23ef76(_0xfec7d2,_0x57bd40,_0xdc65b9):_0x23ef76(_0xdc65b9))||_0xdc65b9);return _0x1f1ef4&&_0xdc65b9&&bs(_0xfec7d2,_0x57bd40,_0xdc65b9),_0xdc65b9;},k=(_0x79389a,_0x53dab7)=>(_0x4d5b2f,_0x5e63da)=>_0x53dab7(_0x4d5b2f,_0x5e63da,_0x79389a);let st=class extends _0x2c04b2{constructor(_0x146cdc,_0x58c96e,_0x38ab1a,_0x3fce0f,_0x35bed6,_0x3f0bc4,_0x5dd949,_0x4dbe57,_0x129d56,_0x275774,_0x440bc9,_0x4ccb09,_0x590eea){var _0x29d8ec=_0x133617;super(),D(this,_0x29d8ec(0x2c1),new _0x560b1b(null)),D(this,_0x29d8ec(0x37b),this[_0x29d8ec(0x2c1)][_0x29d8ec(0x193)]()),D(this,_0x29d8ec(0x295)),D(this,_0x29d8ec(0x42b),!0x1),D(this,_0x29d8ec(0x167),''),D(this,_0x29d8ec(0x1d5),0x0),D(this,'status$',this['state$'][_0x29d8ec(0x2a4)](_0x9d5677(_0x16d68d=>_0x16d68d?_0x16d68d[_0x29d8ec(0x19e)]:Oi['OFFLINE']),_0x29092f(0x1))),D(this,_0x29d8ec(0x378),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x29d8ec(0x1c7)]=_0x146cdc,this['session']=_0x58c96e,this['_type']=_0x38ab1a,this[_0x29d8ec(0x1cc)]=_0x3fce0f,this[_0x29d8ec(0x178)]=_0x35bed6,this['_localeService']=_0x3f0bc4,this[_0x29d8ec(0x431)]=_0x5dd949,this[_0x29d8ec(0x1b5)]=_0x4dbe57,this[_0x29d8ec(0x3f1)]=_0x129d56,this[_0x29d8ec(0x1a8)]=_0x275774,this[_0x29d8ec(0x427)]=_0x440bc9,this[_0x29d8ec(0x3db)]=_0x4ccb09,this['_localCacheService']=_0x590eea);}get[_0x133617(0x32d)](){var _0xb7286b=_0x133617;return this[_0xb7286b(0x295)];}async[_0x133617(0x219)](){var _0x16e7ae=_0x133617;if(this[_0x16e7ae(0x32d)])throw new Error(_0x16e7ae(0x2c2));await this['_init']();}[_0x133617(0x1ed)](){var _0x2c4778=_0x133617;return this[_0x2c4778(0x42b)]=!0x0,_0x2b5885(()=>{var _0xe03005=_0x2c4778;this[_0xe03005(0x42b)]=!0x1,this[_0xe03005(0x1b4)]();});}['onLocalMutation'](_0xc40e5f){var _0x3c6a9e=_0x133617;this[_0x3c6a9e(0x318)](_0xc40e5f);}[_0x133617(0x443)](_0x4af2eb){var _0x365a7d=_0x133617;this['_state']=_0x4af2eb,this['_state$'][_0x365a7d(0x3d8)](_0x4af2eb);}async['_init'](){var _0x1d378a=_0x133617,_0x3cb20e;this[_0x1d378a(0x443)](await this['_createInitialState']()),this[_0x1d378a(0x3db)]&&((_0x3cb20e=this['_singleActiveUnitService'])==null||_0x3cb20e[_0x1d378a(0x284)](this['unitID']),this[_0x1d378a(0x3cf)](this['_singleActiveUnitService'][_0x1d378a(0x36d)](this[_0x1d378a(0x1c7)])[_0x1d378a(0x438)](_0x17b62d=>{var _0x47ee70=_0x1d378a;this['_logService'][_0x47ee70(0x171)]('[CollaborationEntity]',_0x47ee70(0x1c3),_0x17b62d),_0x17b62d===Ri[_0x47ee70(0x289)]?(this[_0x47ee70(0x1b5)][_0x47ee70(0x3a3)]({'id':se[_0x47ee70(0x46c)]}),this[_0x47ee70(0x427)][_0x47ee70(0x2e4)](new _0x4c611b(this[_0x47ee70(0x1c7)])['id'],!0x1),this['_permissionService'][_0x47ee70(0x1ca)](!0x1)):(this[_0x47ee70(0x427)]['updatePermissionPoint'](new _0x4c611b(this[_0x47ee70(0x1c7)])['id'],!0x0),this[_0x47ee70(0x427)][_0x47ee70(0x1ca)](!0x0));})));let _0x4edfa0=!0x1;return this[_0x1d378a(0x3cf)](this[_0x1d378a(0x283)][_0x1d378a(0x38c)][_0x1d378a(0x438)](_0x1194c2=>{var _0x4beec4=_0x1d378a;_0x1194c2===Ie[_0x4beec4(0x250)]?this[_0x4beec4(0x1c4)](_0x4edfa0):_0x1194c2===Ie['OFFLINE']&&(_0x4edfa0=!0x0,this[_0x4beec4(0x172)]());})),this[_0x1d378a(0x3cf)](this['session'][_0x1d378a(0x225)]['subscribe'](_0x578bce=>{var _0x2ee3ed=_0x1d378a;try{switch(_0x578bce[_0x2ee3ed(0x2b2)]){case _0xef4ce6[_0x2ee3ed(0x30d)]:{this['_onRemoteChangeset'](_0x578aac(_0x578bce[_0x2ee3ed(0x3b2)]));break;}case _0xef4ce6[_0x2ee3ed(0x1fb)]:{this['_onRemoteACK'](_0x578bce[_0x2ee3ed(0x3b2)]);break;}case _0xef4ce6['CHANGESET_REJ']:{this[_0x2ee3ed(0x25b)]();break;}case _0xef4ce6[_0x2ee3ed(0x220)]:{this[_0x2ee3ed(0x2bb)](_0x578bce[_0x2ee3ed(0x3b2)]);break;}case _0xef4ce6[_0x2ee3ed(0x3ec)]:{this['_onFetchMissResult'](_0x578bce['data'][_0x2ee3ed(0x412)]['map'](_0x18313b=>_0x578aac(_0x18313b)));break;}case _0xef4ce6[_0x2ee3ed(0x36a)]:this[_0x2ee3ed(0x25b)]({'isPermissionRej':!0x0});}}catch(_0x3ee097){throw console[_0x2ee3ed(0x36e)](_0x2ee3ed(0x2d9),_0x3ee097),_0x3ee097;}})),this[_0x1d378a(0x295)];}[_0x133617(0x183)](){var _0x53b4a5=_0x133617;this[_0x53b4a5(0x378)]=!0x1;}[_0x133617(0x367)](){var _0x41feaf=_0x133617;if(this[_0x41feaf(0x378)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x41feaf(0x378)]=!0x0;}['_onLocalMutation'](_0x2bf139){var _0x10691b=_0x133617;this[_0x10691b(0x367)](),this['_updateState'](this['_state'][_0x10691b(0x2c8)](_0x2bf139)),this[_0x10691b(0x183)]();}[_0x133617(0x191)](_0xf51a61){var _0x2f16f3=_0x133617;if(!(_0xf51a61[_0x2f16f3(0x3e4)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x2f16f3(0x1c7)]))){if(this[_0x2f16f3(0x42b)]){this[_0x2f16f3(0x409)][_0x2f16f3(0x387)](_0xf51a61);return;}this[_0x2f16f3(0x27a)](_0xf51a61);}}[_0x133617(0x1b4)](){var _0xa1a863=_0x133617;this[_0xa1a863(0x409)][_0xa1a863(0x202)](_0x2db0e0=>this['_applyRemoteChangeset'](_0x2db0e0)),this['_remoteChangesetQueue']=[];}[_0x133617(0x27a)](_0xc425a9){var _0x2577a8=_0x133617;const _0x2e307c=this['_compressMutationService'][_0x2577a8(0x2b8)]['fetchThroughInterceptors'](this[_0x2577a8(0x178)][_0x2577a8(0x2b8)][_0x2577a8(0x2d7)]()[_0x2577a8(0x3c0)])(_0xc425a9[_0x2577a8(0x315)],null)||_0xc425a9[_0x2577a8(0x315)],_0x401730={..._0xc425a9,'mutations':_0x2e307c};this[_0x2577a8(0x367)](),this[_0x2577a8(0x443)](this[_0x2577a8(0x295)][_0x2577a8(0x45e)](_0x401730)),this[_0x2577a8(0x183)]();}[_0x133617(0x42e)](_0x430fb6){var _0x25bc35=_0x133617;this[_0x25bc35(0x367)](),this[_0x25bc35(0x443)](this[_0x25bc35(0x295)]['onRemoteAck'](_0x430fb6)),this[_0x25bc35(0x183)]();}[_0x133617(0x25b)](_0x52d3d6){var _0xcb6848=_0x133617;this[_0xcb6848(0x367)](),this[_0xcb6848(0x443)](this[_0xcb6848(0x295)][_0xcb6848(0x2fc)](_0x52d3d6)),this[_0xcb6848(0x183)]();}['_onRemoteRetry'](_0x2b530f){var _0x58ab32=_0x133617;this['_lockTransition'](),this[_0x58ab32(0x443)](this[_0x58ab32(0x295)]['onRemoteRetry'](_0x2b530f)),this[_0x58ab32(0x183)]();}[_0x133617(0x286)](_0x4b8699){var _0xbd120d=_0x133617;if(!(this[_0xbd120d(0x295)]instanceof te))throw new TypeError(_0xbd120d(0x259));const _0x2b5156=_0x4b8699[_0xbd120d(0x339)](_0x1fb77c=>{var _0x16a7fc=_0xbd120d;const _0x550d4a=this[_0x16a7fc(0x178)][_0x16a7fc(0x2b8)][_0x16a7fc(0x3a5)](this[_0x16a7fc(0x178)][_0x16a7fc(0x2b8)][_0x16a7fc(0x2d7)]()[_0x16a7fc(0x3c0)])(_0x1fb77c[_0x16a7fc(0x315)],null)||_0x1fb77c['mutations'];return{..._0x1fb77c,'mutations':_0x550d4a};});this[_0xbd120d(0x367)](),this[_0xbd120d(0x443)](this[_0xbd120d(0x295)][_0xbd120d(0x2a8)](_0x2b5156)),this[_0xbd120d(0x183)]();}[_0x133617(0x172)](){var _0x2d8a3e=_0x133617;this[_0x2d8a3e(0x367)](),this['_updateState'](this[_0x2d8a3e(0x295)]['toggleOffline']()),this['_unlockTransition']();}[_0x133617(0x1c4)](_0x21f621=!0x1){var _0x2ea4c7=_0x133617;this[_0x2ea4c7(0x367)](),this[_0x2ea4c7(0x443)](this[_0x2ea4c7(0x295)][_0x2ea4c7(0x187)]()),this[_0x2ea4c7(0x183)]();const _0x250f37=this['_state'];_0x21f621&&_0x250f37 instanceof Pe&&(this['_lockTransition'](),this[_0x2ea4c7(0x443)](_0x250f37[_0x2ea4c7(0x288)]()),this[_0x2ea4c7(0x183)]());}async['_createInitialState'](){return new Promise(_0x336613=>{var _0x183262=_0x338e;this['session'][_0x183262(0x38c)]['pipe'](_0x196b29(0x1))[_0x183262(0x438)](async _0x3eb5ca=>{var _0x6f08c1=_0x183262;_0x336613(await this[_0x6f08c1(0x371)](_0x3eb5ca===Ie[_0x6f08c1(0x250)]));});});}['_createHandler'](){const _0x4ea949=this['unitID'];return{'onStateChange':(_0x325f51,_0x2d91d8)=>{var _0x4c3114=_0x338e;if(_0x325f51!==this[_0x4c3114(0x295)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x325f51[_0x4c3114(0x19e)]+_0x4c3114(0x372)+_0x2d91d8[_0x4c3114(0x19e)]+_0x4c3114(0x1c5)+this[_0x4c3114(0x295)][_0x4c3114(0x19e)]);this[_0x4c3114(0x443)](_0x2d91d8);},'onSendChangeset':_0x569a8c=>{var _0x2fd9ec=_0x338e;_0x569a8c[_0x2fd9ec(0x3b6)]||(_0x569a8c[_0x2fd9ec(0x3b6)]=this[_0x2fd9ec(0x167)],_0x569a8c[_0x2fd9ec(0x170)]=++this[_0x2fd9ec(0x1d5)]);const _0x22d099={'eventID':_0xef4ce6[_0x2fd9ec(0x213)],'data':{'unitID':_0x569a8c[_0x2fd9ec(0x1c7)],'unitType':this[_0x2fd9ec(0x297)],'changeset':_0x569a8c,'memberID':this['session']['getMemberID']()}};this[_0x2fd9ec(0x283)][_0x2fd9ec(0x375)](_0x22d099,this['unitID']);},'onMissingChangesets':({from:_0x1f1e4b,to:_0x470b3b})=>{var _0x2b73ec=_0x338e;this[_0x2b73ec(0x3f1)]['debug'](_0x2b73ec(0x28b),_0x2b73ec(0x1af)+_0x1f1e4b+'\x20to\x20'+_0x470b3b);const _0x55c5b5={'eventID':_0xef4ce6['FETCH_MISSING'],'data':{'unitID':_0x4ea949,'unitType':this['_type'],'from':_0x1f1e4b,'to':_0x470b3b}};this[_0x2b73ec(0x283)][_0x2b73ec(0x375)](_0x55c5b5,this[_0x2b73ec(0x1c7)]);}};}async[_0x133617(0x371)](_0x35d631){var _0x29db44=_0x133617,_0x3d7bab,_0x9f8c46,_0x155df6;const _0xb627e7=await((_0x3d7bab=this[_0x29db44(0x1b6)])==null?void 0x0:_0x3d7bab[_0x29db44(0x3a1)](this['unitID'])),_0x4077f0=(_0x9f8c46=_0xb627e7==null?void 0x0:_0xb627e7[_0x29db44(0x315)])!=null?_0x9f8c46:[],_0x9976eb=(_0x155df6=_0xb627e7==null?void 0x0:_0xb627e7[_0x29db44(0x1b9)])!=null?_0x155df6:null,_0x556a60=!!(_0x9976eb!=null&&_0x9976eb[_0x29db44(0x3b6)])&&!!(_0x9976eb!=null&&_0x9976eb['reqId']);this[_0x29db44(0x167)]=_0x556a60?_0x9976eb[_0x29db44(0x3b6)]:fs(),this['_changesetReqId']=_0x556a60?_0x9976eb[_0x29db44(0x170)]:0x0;const _0x1a0b9b=this['unitID'];try{this[_0x29db44(0x35f)](_0x9976eb,_0x4077f0);}catch(_0x4babb9){this[_0x29db44(0x3f1)][_0x29db44(0x36e)](_0x4babb9);}const _0x6c985b=this[_0x29db44(0x3b0)]();if(_0x35d631){const _0x4b1f3b=Ni(this[_0x29db44(0x1cc)],_0x1a0b9b,this[_0x29db44(0x297)],_0x9976eb,_0x4077f0,_0x6c985b);return _0x4b1f3b instanceof re?_0x4b1f3b[_0x29db44(0x360)]():(_0x4b1f3b instanceof oe||_0x4b1f3b instanceof ue)&&_0x4b1f3b[_0x29db44(0x1f4)](),_0x4b1f3b;}return this[_0x29db44(0x1cc)]['createInstance'](fe,_0x1a0b9b,this[_0x29db44(0x297)],_0x9976eb,_0x4077f0,_0x6c985b);}[_0x133617(0x35f)](_0x1e406c,_0x7384d9){var _0x3a623e=_0x133617,_0x3250a3,_0x19fce3;const _0x3c72b4=this[_0x3a623e(0x178)]['interceptor'][_0x3a623e(0x3a5)](this[_0x3a623e(0x178)][_0x3a623e(0x2b8)]['getInterceptPoints']()[_0x3a623e(0x3c0)]);(_0x3250a3=_0x3c72b4((_0x1e406c==null?void 0x0:_0x1e406c[_0x3a623e(0x315)])||[],null))==null||_0x3250a3['forEach'](_0x25fcdb=>this[_0x3a623e(0x1a8)][_0x3a623e(0x282)](_0x25fcdb['id'],_0x25fcdb[_0x3a623e(0x2f4)])),(_0x19fce3=_0x3c72b4(_0x7384d9||[],null))==null||_0x19fce3[_0x3a623e(0x202)](_0x1e564c=>this['_commandService']['executeCommand'](_0x1e564c['id'],_0x1e564c['params']));}};st=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(pe)),k(0x8,_0x9980c2),k(0x9,_0x3a3afb),k(0xa,_0x113cc3),k(0xb,_0x13f1aa(_t)),k(0xc,_0x13f1aa(X))],st);let Ct=class extends st{constructor(_0x3d63b1,_0x2e4fb6,_0x2214d1,_0x577567,_0x1ce497,_0x317632,_0x5bfe6b,_0x10cdf3,_0x32620e,_0x101a2a,_0x5e916a,_0x3129f1,_0x34bc31){var _0x4bdb52=_0x133617;super(_0x3d63b1,_0x2214d1,_0x2e4fb6,_0x577567,_0x1ce497,_0x317632,_0x5bfe6b,_0x10cdf3,_0x32620e,_0x101a2a,_0x5e916a,_0x3129f1,_0x34bc31),D(this,_0x4bdb52(0x37d),null),(this[_0x4bdb52(0x1c7)]=_0x3d63b1,this[_0x4bdb52(0x425)]=_0x2e4fb6);}[_0x133617(0x2c9)](_0x9892b6){var _0x217889=_0x133617;this[_0x217889(0x37d)]=_0x9892b6;}[_0x133617(0x35d)](){this['_handlerCallback']=null,super['dispose']();}[_0x133617(0x3b0)](){var _0x125de5=_0x133617;const _0x1bdc1b=super['_createHandler']();return _0x1bdc1b[_0x125de5(0x22c)]=_0x4b548b=>{var _0x458a0e=_0x125de5,_0x56ac24,_0x391b05;return(_0x391b05=(_0x56ac24=this[_0x458a0e(0x37d)])==null?void 0x0:_0x56ac24[_0x458a0e(0x22c)])==null?void 0x0:_0x391b05[_0x458a0e(0x2c7)](_0x56ac24,_0x4b548b);},_0x1bdc1b[_0x125de5(0x181)]=_0x30696c=>{var _0x11a9ae=_0x125de5,_0x90af11,_0x6cc0be;return(_0x6cc0be=(_0x90af11=this[_0x11a9ae(0x37d)])==null?void 0x0:_0x90af11[_0x11a9ae(0x181)])==null?void 0x0:_0x6cc0be['call'](_0x90af11,_0x30696c);},_0x1bdc1b[_0x125de5(0x1d1)]=_0x559ef4=>{var _0x4ee08d=_0x125de5,_0x435bb8,_0x1e917f;return(_0x1e917f=(_0x435bb8=this[_0x4ee08d(0x37d)])==null?void 0x0:_0x435bb8['onTransformSelections'])==null?void 0x0:_0x1e917f[_0x4ee08d(0x2c7)](_0x435bb8,_0x559ef4);},_0x1bdc1b[_0x125de5(0x1df)]=_0x3358d7=>{var _0x4cd38b=_0x125de5,_0x2b3bda,_0x5306a5;return(_0x5306a5=(_0x2b3bda=this[_0x4cd38b(0x37d)])==null?void 0x0:_0x2b3bda[_0x4cd38b(0x1df)])==null?void 0x0:_0x5306a5[_0x4cd38b(0x2c7)](_0x2b3bda,_0x3358d7);},_0x1bdc1b[_0x125de5(0x460)]=_0x4e9b86=>{var _0x33484b=_0x125de5,_0x554661,_0x135aad,_0x51bff9;if(!((_0x554661=this[_0x33484b(0x37d)])!=null&&_0x554661[_0x33484b(0x460)]))throw new Error(_0x33484b(0x271));return(_0x51bff9=(_0x135aad=this[_0x33484b(0x37d)])==null?void 0x0:_0x135aad['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x51bff9[_0x33484b(0x2c7)](_0x135aad,_0x4e9b86);},_0x1bdc1b[_0x125de5(0x240)]=_0x15983c=>{var _0x2307d6=_0x125de5,_0x141b7a,_0x1a69b5,_0x471836;if(!((_0x141b7a=this[_0x2307d6(0x37d)])!=null&&_0x141b7a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2307d6(0x1bb));return(_0x471836=(_0x1a69b5=this['_handlerCallback'])==null?void 0x0:_0x1a69b5[_0x2307d6(0x240)])==null?void 0x0:_0x471836[_0x2307d6(0x2c7)](_0x1a69b5,_0x15983c);},_0x1bdc1b;}async[_0x133617(0x182)](){var _0x251219=_0x133617;const _0x450f5c=await super['_init']();return this['disposeWithMe'](this[_0x251219(0x1a8)][_0x251219(0x211)]((_0x1b536d,_0x2aaa99)=>{var _0x35b425=_0x251219;if(_0x1b536d[_0x35b425(0x425)]!==_0x2fe081['MUTATION']||_0x2aaa99!=null&&_0x2aaa99[_0x35b425(0x1d3)]||_0x2aaa99!=null&&_0x2aaa99['onlyLocal']||_0x1b536d['id']===_0x5a5832['id'])return;const _0x4c1188=_0x1b536d['params'];if((_0x4c1188==null?void 0x0:_0x4c1188[_0x35b425(0x28e)])!==this[_0x35b425(0x1c7)])return;const _0x393ba0=_0x1b536d,_0x1c9e29=this[_0x35b425(0x178)][_0x35b425(0x2b8)][_0x35b425(0x3a5)](this[_0x35b425(0x178)]['interceptor'][_0x35b425(0x2d7)]()[_0x35b425(0x16d)])([_0x393ba0],null)||[_0x393ba0];this['_onLocalMutation'](_0x1c9e29[0x0]);})),_0x450f5c;}};Ct=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(pe)),k(0x8,_0x9980c2),k(0x9,_0x3a3afb),k(0xa,_0x113cc3),k(0xb,_0x13f1aa(_t)),k(0xc,_0x13f1aa(X))],Ct);let bt=class extends st{constructor(_0x3409f6,_0xced0b4,_0x54e990,_0x4da68c,_0x5c316b,_0x1fe035,_0x19871e,_0x533bf8,_0x54982e,_0x4f42dc,_0x477bc9,_0x445cb5,_0x2e814a,_0x537f9f){var _0x5da47d=_0x133617;super(_0x3409f6,_0x54e990,_0xced0b4,_0x4da68c,_0x5c316b,_0x1fe035,_0x19871e,_0x54982e,_0x4f42dc,_0x477bc9,_0x445cb5,_0x2e814a,_0x537f9f),this[_0x5da47d(0x1c7)]=_0x3409f6,this[_0x5da47d(0x425)]=_0xced0b4,this[_0x5da47d(0x354)]=_0x533bf8;}[_0x133617(0x3b0)](){var _0x31b3b2=_0x133617;const _0x4ff02=super[_0x31b3b2(0x3b0)]();return _0x4ff02[_0x31b3b2(0x1d1)]=_0x47f4b5=>this[_0x31b3b2(0x354)][_0x31b3b2(0x393)](_0x47f4b5),_0x4ff02;}async['_init'](){var _0x2fd842=_0x133617;const _0x14c1be=await super[_0x2fd842(0x182)]();return this[_0x2fd842(0x3cf)](this[_0x2fd842(0x1a8)]['onCommandExecuted']((_0x5a3efe,_0x2730d0)=>{var _0x3cf138=_0x2fd842;if(_0x5a3efe[_0x3cf138(0x425)]!==_0x2fe081['MUTATION']||_0x2730d0!=null&&_0x2730d0[_0x3cf138(0x1d3)]||_0x2730d0!=null&&_0x2730d0[_0x3cf138(0x1d7)])return;const _0x4a6a56=_0x5a3efe[_0x3cf138(0x2f4)];if((_0x4a6a56==null?void 0x0:_0x4a6a56[_0x3cf138(0x28e)])!==this['unitID'])return;const _0x3e0698=_0x5a3efe,_0x5cb2d7=this['_compressMutationService'][_0x3cf138(0x2b8)][_0x3cf138(0x3a5)](this[_0x3cf138(0x178)][_0x3cf138(0x2b8)]['getInterceptPoints']()[_0x3cf138(0x16d)])([_0x3e0698],null)||[_0x3e0698];this[_0x3cf138(0x318)](_0x5cb2d7[0x0]);})),_0x14c1be;}};bt=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(nt)),k(0x8,_0x1dc41d(pe)),k(0x9,_0x9980c2),k(0xa,_0x3a3afb),k(0xb,_0x113cc3),k(0xc,_0x13f1aa(_t)),k(0xd,_0x13f1aa(X))],bt);var ys=Object[_0x133617(0x275)],Os=Object['getOwnPropertyDescriptor'],Ps=(_0x4a4b61,_0x27c672,_0x263fe0,_0x59715b)=>{var _0x2b8ffc=_0x133617;for(var _0x444273=_0x59715b>0x1?void 0x0:_0x59715b?Os(_0x27c672,_0x263fe0):_0x27c672,_0x1b61a1=_0x4a4b61[_0x2b8ffc(0x2ec)]-0x1,_0x2ddefe;_0x1b61a1>=0x0;_0x1b61a1--)(_0x2ddefe=_0x4a4b61[_0x1b61a1])&&(_0x444273=(_0x59715b?_0x2ddefe(_0x27c672,_0x263fe0,_0x444273):_0x2ddefe(_0x444273))||_0x444273);return _0x59715b&&_0x444273&&ys(_0x27c672,_0x263fe0,_0x444273),_0x444273;},vt=(_0x162b5f,_0x5a5636)=>(_0x396228,_0x265a7b)=>_0x5a5636(_0x396228,_0x265a7b,_0x162b5f);let rt=class extends _0x2c04b2{constructor(_0x4988e1,_0x323ecd,_0x4f6475){var _0x35ef34=_0x133617;super(),D(this,_0x35ef34(0x2ad),new Map()),D(this,_0x35ef34(0x177),new _0x48a56c()),D(this,'entityInit$',this[_0x35ef34(0x177)][_0x35ef34(0x193)]()),(this[_0x35ef34(0x1cc)]=_0x4988e1,this[_0x35ef34(0x1bd)]=_0x323ecd,this[_0x35ef34(0x206)]=_0x4f6475,this[_0x35ef34(0x182)]());}[_0x133617(0x35d)](){var _0x2e769b=_0x133617;super[_0x2e769b(0x35d)](),this[_0x2e769b(0x2ad)]['forEach'](_0x4c4b70=>_0x4c4b70[_0x2e769b(0x35d)]()),this[_0x2e769b(0x2ad)][_0x2e769b(0x2f2)]();}[_0x133617(0x2f3)](_0x415455){var _0xe3af82=_0x133617,_0xa8839f;return(_0xa8839f=this[_0xe3af82(0x2ad)]['get'](_0x415455))!=null?_0xa8839f:null;}[_0x133617(0x324)](_0x193bf9){var _0x28e18a=_0x133617;const _0x8959eb=this[_0x28e18a(0x2f3)](_0x193bf9);return _0x8959eb?_0x5f500f(_0x8959eb):this[_0x28e18a(0x177)][_0x28e18a(0x2a4)](_0x187f73(_0x2860d9=>_0x2860d9[_0x28e18a(0x1c7)]===_0x193bf9));}['readyForCollab'](_0x54c672){var _0x2c4ab4=_0x133617;return _0x2d770b(this['getCollabEntity$'](_0x54c672)[_0x2c4ab4(0x2a4)](_0xab3a8f(()=>{})));}[_0x133617(0x182)](){var _0x228b22=_0x133617;this[_0x228b22(0x206)][_0x228b22(0x280)](_0x4b329a['UNIVER_SHEET'])['pipe'](_0x48340f(this[_0x228b22(0x3a4)]),_0x50b254(0x10))[_0x228b22(0x438)](async _0x1a06b0=>{var _0x32db39=_0x228b22;const _0x33e122=_0x1a06b0['getUnitId'](),_0x1b1b45=await this[_0x32db39(0x41b)](_0x33e122,Q['UNIVER_SHEET']);this[_0x32db39(0x2ad)]['set'](_0x33e122,_0x1b1b45);}),this['_univerInstanceService'][_0x228b22(0x280)](_0x4b329a[_0x228b22(0x3d1)])[_0x228b22(0x2a4)](_0x48340f(this[_0x228b22(0x3a4)]),_0x50b254(0x10))[_0x228b22(0x2a4)](_0x187f73(_0xd8c995=>!_0xd8c995['getUnitId']()[_0x228b22(0x3b4)]('__')))['subscribe'](async _0x4eb4b2=>{var _0x2a22d2=_0x228b22;const _0x52f3e1=_0x4eb4b2[_0x2a22d2(0x3e2)](),_0x523817=await this[_0x2a22d2(0x41b)](_0x52f3e1,Q[_0x2a22d2(0x3d1)]);this[_0x2a22d2(0x2ad)][_0x2a22d2(0x2dd)](_0x52f3e1,_0x523817);}),_0x157496(this[_0x228b22(0x206)]['getTypeOfUnitDisposed$'](_0x4b329a['UNIVER_SHEET']),this[_0x228b22(0x206)][_0x228b22(0x421)](_0x4b329a[_0x228b22(0x3d1)]))[_0x228b22(0x2a4)](_0x48340f(this['dispose$']))[_0x228b22(0x438)](_0x44901a=>{var _0x392cd8=_0x228b22;const _0x45a45b=_0x44901a[_0x392cd8(0x3e2)](),_0xda66e=this[_0x392cd8(0x2ad)][_0x392cd8(0x456)](_0x45a45b);_0xda66e&&(_0xda66e[_0x392cd8(0x35d)](),this[_0x392cd8(0x2ad)][_0x392cd8(0x2a7)](_0x45a45b));});}async['_startCollaboration'](_0x15fd7a,_0x1625c1){var _0x4440a3=_0x133617;const _0x226cd0=await this[_0x4440a3(0x1bd)][_0x4440a3(0x3f4)](_0x15fd7a),_0xa79fc=this[_0x4440a3(0x1cc)][_0x4440a3(0x3dc)](this[_0x4440a3(0x1e7)](_0x1625c1),_0x15fd7a,_0x1625c1,_0x226cd0);return await _0xa79fc['init'](),this[_0x4440a3(0x177)][_0x4440a3(0x3d8)](_0xa79fc),_0xa79fc;}[_0x133617(0x1e7)](_0x1ab58f){var _0x4532f5=_0x133617;switch(_0x1ab58f){case Q[_0x4532f5(0x3d1)]:return Ct;case Q[_0x4532f5(0x184)]:return bt;default:throw new Error(_0x4532f5(0x308)+_0x1ab58f);}}};rt=Ps([vt(0x0,_0x1dc41d(_0x485aa2)),vt(0x1,_0x1dc41d(Me)),vt(0x2,_0x23476a)],rt);var Ns=Object['defineProperty'],Ds=Object[_0x133617(0x22f)],ws=(_0x3f12c0,_0x165ebf,_0x9a6c14,_0x3362dd)=>{var _0x18a639=_0x133617;for(var _0x4016a3=_0x3362dd>0x1?void 0x0:_0x3362dd?Ds(_0x165ebf,_0x9a6c14):_0x165ebf,_0x3ca982=_0x3f12c0[_0x18a639(0x2ec)]-0x1,_0x396a1a;_0x3ca982>=0x0;_0x3ca982--)(_0x396a1a=_0x3f12c0[_0x3ca982])&&(_0x4016a3=(_0x3362dd?_0x396a1a(_0x165ebf,_0x9a6c14,_0x4016a3):_0x396a1a(_0x4016a3))||_0x4016a3);return _0x3362dd&&_0x4016a3&&Ns(_0x165ebf,_0x9a6c14,_0x4016a3),_0x4016a3;},Xt=(_0x244195,_0x1af220)=>(_0x42c06d,_0x584d9a)=>_0x1af220(_0x42c06d,_0x584d9a,_0x244195);const Us=_0x133617(0x3d7),As=_0x133617(0x200);let Rt=class extends _0xf6a891{constructor(_0x214789,_0x2744cb){var _0x23ac7e=_0x133617;super(),this[_0x23ac7e(0x206)]=_0x214789,this[_0x23ac7e(0x37c)]=_0x2744cb,this[_0x23ac7e(0x182)]();}[_0x133617(0x182)](){var _0x38b70e=_0x133617;this[_0x38b70e(0x3cf)](this['_univerInstanceService'][_0x38b70e(0x188)][_0x38b70e(0x438)](()=>{var _0x299e21=_0x38b70e,_0x121b2e;const _0x4c20c0=this[_0x299e21(0x206)][_0x299e21(0x44d)]();let _0x1079bb=(_0x121b2e=this['_configService']['getConfig'](Us))!=null?_0x121b2e:As;_0x4c20c0 instanceof _0x3eae1b&&(_0x1079bb=_0x4c20c0[_0x299e21(0x3c6)]),document[_0x299e21(0x194)]=_0x1079bb;}));}};Rt=ws([Xt(0x0,_0x23476a),Xt(0x1,_0x387b00)],Rt);var xs=Object[_0x133617(0x275)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x59db8d,_0x4e2323,_0x30ac8c,_0x5ee720)=>{var _0x2c5b61=_0x133617;for(var _0x4d772c=_0x5ee720>0x1?void 0x0:_0x5ee720?Ls(_0x4e2323,_0x30ac8c):_0x4e2323,_0x242ee2=_0x59db8d[_0x2c5b61(0x2ec)]-0x1,_0x2cbbc4;_0x242ee2>=0x0;_0x242ee2--)(_0x2cbbc4=_0x59db8d[_0x242ee2])&&(_0x4d772c=(_0x5ee720?_0x2cbbc4(_0x4e2323,_0x30ac8c,_0x4d772c):_0x2cbbc4(_0x4d772c))||_0x4d772c);return _0x5ee720&&_0x4d772c&&xs(_0x4e2323,_0x30ac8c,_0x4d772c),_0x4d772c;},pt=(_0x375114,_0x146a44)=>(_0x19c1f4,_0x20ed88)=>_0x146a44(_0x19c1f4,_0x20ed88,_0x375114);let ot=class{constructor(_0x1af9fd,_0x24c9ef,_0x3a28e5){var _0x3edb17=_0x133617;this[_0x3edb17(0x37c)]=_0x1af9fd,this[_0x3edb17(0x3fb)]=_0x24c9ef,this[_0x3edb17(0x2fb)]=_0x3a28e5,this[_0x3edb17(0x219)]();}[_0x133617(0x219)](){var _0x490ba4=_0x133617;this[_0x490ba4(0x3fb)][_0x490ba4(0x1a3)]({'priority':0x1,'interceptor':(_0x12f3d4,_0x5303f8)=>_0x5303f8(_0x12f3d4)[_0x490ba4(0x2a4)](_0x5c9c44(async _0x2e2592=>{var _0x11f795=_0x490ba4;const _0x3b8a93=_0x2e2592;if(_0x3b8a93[_0x11f795(0x19e)]===0x191){if(typeof window>'u')throw new Error(_0x11f795(0x3ca));if(window[_0x11f795(0x386)](this['localeService']['t'](_0x11f795(0x3e7)))){const _0x5a4da7=window['encodeURIComponent'](window[_0x11f795(0x1d2)][_0x11f795(0x1c1)]);window[_0x11f795(0x1d2)]['href']=this[_0x11f795(0x1ef)]()+'?url='+_0x5a4da7;}}return _0x3b8a93;}))});}[_0x133617(0x1ef)](){var _0x52ca80=_0x133617,_0x49fe07,_0x104852;const _0x12a6d0=this[_0x52ca80(0x37c)][_0x52ca80(0x237)](Fn),_0x5508df=this['_configService'][_0x52ca80(0x237)](Y);return(_0x104852=(_0x49fe07=_0x5508df==null?void 0x0:_0x5508df[_0x52ca80(0x268)])!=null?_0x49fe07:_0x12a6d0)!=null?_0x104852:Vn;}};ot=Ms([pt(0x0,_0x387b00),pt(0x1,_0x1dc41d(_0x566212)),pt(0x2,_0x1dc41d(_0x5bfcba))],ot);var $s=Object[_0x133617(0x275)],Hs=Object[_0x133617(0x22f)],ks=(_0x68a5a1,_0x4cfa99,_0x357263,_0x5d539b)=>{for(var _0x5e1128=_0x5d539b>0x1?void 0x0:_0x5d539b?Hs(_0x4cfa99,_0x357263):_0x4cfa99,_0x695f5d=_0x68a5a1['length']-0x1,_0x30fc33;_0x695f5d>=0x0;_0x695f5d--)(_0x30fc33=_0x68a5a1[_0x695f5d])&&(_0x5e1128=(_0x5d539b?_0x30fc33(_0x4cfa99,_0x357263,_0x5e1128):_0x30fc33(_0x5e1128))||_0x5e1128);return _0x5d539b&&_0x5e1128&&$s(_0x4cfa99,_0x357263,_0x5e1128),_0x5e1128;},Zt=(_0x20f537,_0x3754c4)=>(_0x5909dd,_0x147c1d)=>_0x3754c4(_0x5909dd,_0x147c1d,_0x20f537);const Di='AUTHZ_URL_KEY',js=_0x133617(0x3f3);let yt=class extends _0xf6a891{constructor(_0x41c5e9,_0x31d700){var _0x94e781=_0x133617;super(),this[_0x94e781(0x45c)]=_0x41c5e9,this['_configService']=_0x31d700,this[_0x94e781(0x18b)]();}[_0x133617(0x18b)](){var _0x1797b3=_0x133617;const _0x3fcc92=this;this[_0x1797b3(0x3cf)](this[_0x1797b3(0x45c)][_0x1797b3(0x1a3)]({'priority':0x3e7,'interceptor':_0x59cea1({'isMatch'(_0x30b39c){var _0x4da93e=_0x1797b3,_0x43d3a6;if(_0x30b39c['method']===_0x4da93e(0x35a)&&((_0x43d3a6=_0x30b39c[_0x4da93e(0x445)])!=null&&_0x43d3a6[_0x4da93e(0x45b)])){const {objectID:_0xbcb17a,objectType:_0x42db9d}=_0x30b39c[_0x4da93e(0x445)][_0x4da93e(0x45b)]||{};if(!_0xbcb17a||_0x42db9d===void 0x0)return!0x1;const _0x382d89=_0x3fcc92[_0x4da93e(0x20b)]()+'/'+_0x42db9d+'/object/'+_0xbcb17a+_0x4da93e(0x35b);if(_0x30b39c[_0x4da93e(0x39f)]===_0x382d89)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31deb7){var _0x194b01=_0x1797b3,_0x6ddc35;return(_0x6ddc35=_0x31deb7[_0x194b01(0x445)])==null?void 0x0:_0x6ddc35['body'];},'mergeParamsToRequest'(_0x51cfec,_0x5cecd8){var _0x1ff9cb=_0x1797b3;const _0x47d415=_0x3fcc92[_0x1ff9cb(0x20b)]()+_0x1ff9cb(0x357),_0x537a80=_0x51cfec[_0x1ff9cb(0x163)]((_0x3eebce,_0x46f3a7)=>{var _0x5a087e=_0x1ff9cb;const {unitID:_0x2ceb1d,objectID:_0x292592,objectType:_0x2fa34e,actions:_0xca1281}=_0x46f3a7;return _0x3eebce[_0x2ceb1d]||(_0x3eebce[_0x2ceb1d]={}),_0x3eebce[_0x2ceb1d][_0x292592]||(_0x3eebce[_0x2ceb1d][_0x292592]={'objectID':_0x292592,'objectType':_0x2fa34e,'actions':[]}),_0x3eebce[_0x2ceb1d][_0x292592][_0x5a087e(0x442)][_0x5a087e(0x387)](..._0xca1281),_0x3eebce;},{}),_0x26ff04=[];for(const _0x4f8e9c in _0x537a80)for(const _0xeb4259 in _0x537a80[_0x4f8e9c]){const {actions:_0x2cfe10,objectType:_0x4f7760}=_0x537a80[_0x4f8e9c][_0xeb4259],_0x26f2a0=[...new Set(_0x2cfe10)];_0x26ff04['push']({'unitID':_0x4f8e9c,'objectID':_0xeb4259,'objectType':_0x4f7760,'actions':_0x26f2a0});}return new _0x3666bf(_0x1ff9cb(0x35a),_0x47d415,{'headers':_0x5cecd8[_0x1ff9cb(0x314)],'withCredentials':_0x5cecd8[_0x1ff9cb(0x27b)],'responseType':_0x5cecd8['responseType'],'body':{'requests':_0x26ff04}});}},{'distributeResult'(_0x2a1ac6,_0x4c8da7){var _0x439a66=_0x1797b3;const {objectActions:_0x10c0e1}=_0x2a1ac6;return _0x4c8da7[_0x439a66(0x339)](_0xfd8eef=>{var _0x339af0=_0x439a66;const {unitID:_0x29e773,objectID:_0xc14d51,actions:_0x450f16}=_0xfd8eef,_0x42169a=_0x10c0e1[_0x339af0(0x1b0)](_0x202aa9=>_0x202aa9['unitID']===_0x29e773&&_0x202aa9['objectID']===_0xc14d51),_0x2ccae3=_0x450f16['map'](_0x14ebdc=>_0x42169a==null?void 0x0:_0x42169a[_0x339af0(0x442)][_0x339af0(0x1b0)](_0x1120c9=>_0x1120c9[_0x339af0(0x1ce)]===_0x14ebdc))[_0x339af0(0x2b7)](_0x13911b=>!!_0x13911b);return{'config':_0xfd8eef,'result':{'actions':_0x2ccae3,'error':_0x2a1ac6[_0x339af0(0x36e)]}};});}})}));}[_0x133617(0x20b)](){var _0x2f9c8c=_0x133617,_0x11f901,_0x33afd4;const _0x26a086=this[_0x2f9c8c(0x37c)][_0x2f9c8c(0x237)](Di),_0x2a5fb5=this[_0x2f9c8c(0x37c)][_0x2f9c8c(0x237)](Y);return(_0x33afd4=(_0x11f901=_0x2a5fb5==null?void 0x0:_0x2a5fb5[_0x2f9c8c(0x2ea)])!=null?_0x11f901:_0x26a086)!=null?_0x33afd4:js;}async[_0x133617(0x3b8)](_0x24aa93){var _0x548219=_0x133617;const _0x382385=this['_getAPIPrefixPath']()+'/'+_0x24aa93[_0x548219(0x329)]+_0x548219(0x330);return(await this[_0x548219(0x45c)][_0x548219(0x369)](_0x382385,{'body':_0x24aa93}))[_0x548219(0x45b)][_0x548219(0x370)]||'';}async[_0x133617(0x319)](_0x4b521c){var _0x5bfda0=_0x133617;const _0x38be38=this['_getAPIPrefixPath']()+_0x5bfda0(0x216);return(await this['_HTTPService'][_0x5bfda0(0x369)](_0x38be38,{'body':_0x4b521c}))['body'][_0x5bfda0(0x19a)];}async[_0x133617(0x467)](_0xb568dd){var _0x5988bb=_0x133617;const _0xee368d=this['_getAPIPrefixPath']()+'/'+_0xb568dd[_0x5988bb(0x329)]+_0x5988bb(0x39a)+_0xb568dd['objectID'];await this[_0x5988bb(0x45c)][_0x5988bb(0x40b)](_0xee368d,{'body':_0xb568dd});}async[_0x133617(0x254)](_0x4fd1e0){var _0x260506=_0x133617;const _0x41720f=this[_0x260506(0x20b)]()+'/'+_0x4fd1e0[_0x260506(0x329)]+_0x260506(0x39a)+_0x4fd1e0[_0x260506(0x370)]+_0x260506(0x35b);return(await this[_0x260506(0x45c)][_0x260506(0x369)](_0x41720f,{'body':_0x4fd1e0}))[_0x260506(0x45b)][_0x260506(0x442)];}async[_0x133617(0x16c)](_0x5a28ae){var _0x11ec60=_0x133617;const _0x287128=this[_0x11ec60(0x20b)]()+_0x11ec60(0x357);return(await this['_HTTPService']['post'](_0x287128,{'body':{'requests':_0x5a28ae}}))[_0x11ec60(0x45b)]['objectActions'];}async[_0x133617(0x2d4)](_0x475fca){var _0x598146=_0x133617;const _0x5d1260=this[_0x598146(0x20b)]()+'/'+_0x475fca[_0x598146(0x329)]+_0x598146(0x305),_0x709810=await this[_0x598146(0x45c)][_0x598146(0x369)](_0x5d1260,{'body':_0x475fca});return{'roles':_0x709810[_0x598146(0x45b)][_0x598146(0x2cb)],'actions':_0x709810[_0x598146(0x45b)][_0x598146(0x442)]};}async[_0x133617(0x3f7)](_0x43fc8f){var _0x3308b6=_0x133617;const _0x82fc95=this[_0x3308b6(0x20b)]()+_0x3308b6(0x1ad);await this[_0x3308b6(0x45c)]['delete'](_0x82fc95,{'params':{'collaboratorID':_0x43fc8f[_0x3308b6(0x39d)],'objectID':_0x43fc8f['objectID'],'unitID':_0x43fc8f[_0x3308b6(0x1c7)]}});}async[_0x133617(0x389)](_0x5d50a7){var _0x15346a=_0x133617;const _0x33c485=this[_0x15346a(0x20b)]()+_0x15346a(0x1ad);await this[_0x15346a(0x45c)]['patch'](_0x33c485,{'body':_0x5d50a7});}async[_0x133617(0x343)](_0xfae2ac){var _0x15e629=_0x133617;const _0x1ce43e=this['_getAPIPrefixPath']()+_0x15e629(0x1ad);await this[_0x15e629(0x45c)][_0x15e629(0x369)](_0x1ce43e,{'body':_0xfae2ac});}async[_0x133617(0x197)](_0x167f7b){var _0x46318c=_0x133617;const _0x24ae01=this[_0x46318c(0x20b)]()+'/collaborator';return(await this[_0x46318c(0x45c)][_0x46318c(0x456)](_0x24ae01,{'params':{'objectID':_0x167f7b['objectID'],'unitID':_0x167f7b[_0x46318c(0x1c7)]}}))['body'][_0x46318c(0x2cc)];}async[_0x133617(0x44b)](_0x1bcaaa){var _0x5e9bdc=_0x133617;const _0x407dcf=this[_0x5e9bdc(0x20b)]()+_0x5e9bdc(0x1ad);await this['_HTTPService'][_0x5e9bdc(0x40b)](_0x407dcf,{'body':_0x1bcaaa});}};yt=ks([Zt(0x0,_0x1dc41d(_0x566212)),Zt(0x1,_0x1dc41d(_0x387b00))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x5c3044){var _0x25dc2a=_0x133617;return _0x5c3044&&_0x5c3044[_0x25dc2a(0x25f)]&&Object[_0x25dc2a(0x260)]['hasOwnProperty'][_0x25dc2a(0x2c7)](_0x5c3044,_0x25dc2a(0x1e3))?_0x5c3044[_0x25dc2a(0x1e3)]:_0x5c3044;}var We={'exports':{}};function Bs(_0x5ea1d6){var _0x3216a3=_0x133617;throw new Error(_0x3216a3(0x1db)+_0x5ea1d6+_0x3216a3(0x20f));}var Ge={'exports':{}},Fs=Ge[_0x133617(0x30e)],Qt;function ne(){var _0x1db110=_0x133617;return Qt||(Qt=0x1,function(_0x1385bd,_0x99ed60){(function(_0x590217,_0x2c1521){_0x1385bd['exports']=_0x2c1521();}(Fs,function(){var _0x4583a3=_0x4583a3||function(_0x36147e,_0xdd73ea){var _0xacc0e0=_0x338e,_0x250b9f;if(typeof window<'u'&&window[_0xacc0e0(0x2da)]&&(_0x250b9f=window[_0xacc0e0(0x2da)]),typeof self<'u'&&self['crypto']&&(_0x250b9f=self[_0xacc0e0(0x2da)]),typeof globalThis<'u'&&globalThis[_0xacc0e0(0x2da)]&&(_0x250b9f=globalThis[_0xacc0e0(0x2da)]),!_0x250b9f&&typeof window<'u'&&window[_0xacc0e0(0x374)]&&(_0x250b9f=window[_0xacc0e0(0x374)]),!_0x250b9f&&typeof gt<'u'&&gt['crypto']&&(_0x250b9f=gt[_0xacc0e0(0x2da)]),!_0x250b9f&&typeof Bs==_0xacc0e0(0x1b3))try{_0x250b9f=require('crypto');}catch{}var _0x160b52=function(){var _0x522c3e=_0xacc0e0;if(_0x250b9f){if(typeof _0x250b9f['getRandomValues']==_0x522c3e(0x1b3))try{return _0x250b9f[_0x522c3e(0x311)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x250b9f[_0x522c3e(0x23e)]=='function')try{return _0x250b9f[_0x522c3e(0x23e)](0x4)[_0x522c3e(0x1cf)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b8e1c=Object[_0xacc0e0(0x3b8)]||(function(){function _0x180c26(){}return function(_0x4d2ae6){var _0x214946=_0x338e,_0x19de32;return _0x180c26[_0x214946(0x260)]=_0x4d2ae6,_0x19de32=new _0x180c26(),_0x180c26[_0x214946(0x260)]=null,_0x19de32;};}()),_0x5c6d10={},_0x2326cd=_0x5c6d10[_0xacc0e0(0x2be)]={},_0x112cd5=_0x2326cd[_0xacc0e0(0x468)]=(function(){return{'extend':function(_0x5df005){var _0x4f2912=_0x338e,_0x52c456=_0x4b8e1c(this);return _0x5df005&&_0x52c456[_0x4f2912(0x463)](_0x5df005),(!_0x52c456[_0x4f2912(0x37e)](_0x4f2912(0x219))||this[_0x4f2912(0x219)]===_0x52c456[_0x4f2912(0x219)])&&(_0x52c456[_0x4f2912(0x219)]=function(){var _0x3cf74a=_0x4f2912;_0x52c456[_0x3cf74a(0x2ef)][_0x3cf74a(0x219)][_0x3cf74a(0x16b)](this,arguments);}),_0x52c456['init'][_0x4f2912(0x260)]=_0x52c456,_0x52c456['$super']=this,_0x52c456;},'create':function(){var _0x11db07=_0x338e,_0xd3fbe9=this[_0x11db07(0x1ac)]();return _0xd3fbe9[_0x11db07(0x219)]['apply'](_0xd3fbe9,arguments),_0xd3fbe9;},'init':function(){},'mixIn':function(_0x4380d6){var _0x595c73=_0x338e;for(var _0x256860 in _0x4380d6)_0x4380d6['hasOwnProperty'](_0x256860)&&(this[_0x256860]=_0x4380d6[_0x256860]);_0x4380d6['hasOwnProperty'](_0x595c73(0x310))&&(this[_0x595c73(0x310)]=_0x4380d6[_0x595c73(0x310)]);},'clone':function(){var _0x40da7d=_0x338e;return this['init'][_0x40da7d(0x260)][_0x40da7d(0x1ac)](this);}};}()),_0xb5d37f=_0x2326cd['WordArray']=_0x112cd5[_0xacc0e0(0x1ac)]({'init':function(_0x282d76,_0xe59e7d){var _0x18c4c4=_0xacc0e0;_0x282d76=this['words']=_0x282d76||[],_0xe59e7d!=_0xdd73ea?this[_0x18c4c4(0x223)]=_0xe59e7d:this[_0x18c4c4(0x223)]=_0x282d76[_0x18c4c4(0x2ec)]*0x4;},'toString':function(_0x1c236b){var _0x4e95ab=_0xacc0e0;return(_0x1c236b||_0xd41803)[_0x4e95ab(0x347)](this);},'concat':function(_0x468291){var _0x828cc6=_0xacc0e0,_0x96d9dd=this[_0x828cc6(0x166)],_0x3180f0=_0x468291['words'],_0x33381a=this[_0x828cc6(0x223)],_0x24b48d=_0x468291[_0x828cc6(0x223)];if(this[_0x828cc6(0x302)](),_0x33381a%0x4)for(var _0x2fabab=0x0;_0x2fabab<_0x24b48d;_0x2fabab++){var _0x3acf24=_0x3180f0[_0x2fabab>>>0x2]>>>0x18-_0x2fabab%0x4*0x8&0xff;_0x96d9dd[_0x33381a+_0x2fabab>>>0x2]|=_0x3acf24<<0x18-(_0x33381a+_0x2fabab)%0x4*0x8;}else{for(var _0xc4ea9a=0x0;_0xc4ea9a<_0x24b48d;_0xc4ea9a+=0x4)_0x96d9dd[_0x33381a+_0xc4ea9a>>>0x2]=_0x3180f0[_0xc4ea9a>>>0x2];}return this[_0x828cc6(0x223)]+=_0x24b48d,this;},'clamp':function(){var _0x47353f=_0xacc0e0,_0x32e355=this[_0x47353f(0x166)],_0x3f2894=this[_0x47353f(0x223)];_0x32e355[_0x3f2894>>>0x2]&=0xffffffff<<0x20-_0x3f2894%0x4*0x8,_0x32e355[_0x47353f(0x2ec)]=_0x36147e[_0x47353f(0x180)](_0x3f2894/0x4);},'clone':function(){var _0x1a0a6a=_0xacc0e0,_0x315987=_0x112cd5['clone'][_0x1a0a6a(0x2c7)](this);return _0x315987['words']=this[_0x1a0a6a(0x166)][_0x1a0a6a(0x245)](0x0),_0x315987;},'random':function(_0x4eb701){var _0x300a5f=_0xacc0e0;for(var _0x526ce4=[],_0x113c1d=0x0;_0x113c1d<_0x4eb701;_0x113c1d+=0x4)_0x526ce4[_0x300a5f(0x387)](_0x160b52());return new _0xb5d37f[(_0x300a5f(0x219))](_0x526ce4,_0x4eb701);}}),_0x2e4bcb=_0x5c6d10[_0xacc0e0(0x40c)]={},_0xd41803=_0x2e4bcb[_0xacc0e0(0x1d4)]={'stringify':function(_0x29c316){var _0x4e34d7=_0xacc0e0;for(var _0x36edd3=_0x29c316['words'],_0x3fa150=_0x29c316['sigBytes'],_0x2691ab=[],_0x465f35=0x0;_0x465f35<_0x3fa150;_0x465f35++){var _0x11d50b=_0x36edd3[_0x465f35>>>0x2]>>>0x18-_0x465f35%0x4*0x8&0xff;_0x2691ab['push']((_0x11d50b>>>0x4)[_0x4e34d7(0x310)](0x10)),_0x2691ab[_0x4e34d7(0x387)]((_0x11d50b&0xf)[_0x4e34d7(0x310)](0x10));}return _0x2691ab[_0x4e34d7(0x235)]('');},'parse':function(_0x40d16d){var _0x450491=_0xacc0e0;for(var _0x45a373=_0x40d16d[_0x450491(0x2ec)],_0x4d7ac8=[],_0x6b29b1=0x0;_0x6b29b1<_0x45a373;_0x6b29b1+=0x2)_0x4d7ac8[_0x6b29b1>>>0x3]|=parseInt(_0x40d16d[_0x450491(0x326)](_0x6b29b1,0x2),0x10)<<0x18-_0x6b29b1%0x8*0x4;return new _0xb5d37f[(_0x450491(0x219))](_0x4d7ac8,_0x45a373/0x2);}},_0x381f15=_0x2e4bcb['Latin1']={'stringify':function(_0x725ddd){var _0x553d3a=_0xacc0e0;for(var _0x1f5094=_0x725ddd[_0x553d3a(0x166)],_0x2e98ba=_0x725ddd[_0x553d3a(0x223)],_0x1ec725=[],_0x1a60eb=0x0;_0x1a60eb<_0x2e98ba;_0x1a60eb++){var _0x46b3f9=_0x1f5094[_0x1a60eb>>>0x2]>>>0x18-_0x1a60eb%0x4*0x8&0xff;_0x1ec725['push'](String[_0x553d3a(0x1e8)](_0x46b3f9));}return _0x1ec725['join']('');},'parse':function(_0x2bd642){var _0x365ce9=_0xacc0e0;for(var _0x2c3a7a=_0x2bd642[_0x365ce9(0x2ec)],_0x139c1b=[],_0x483f78=0x0;_0x483f78<_0x2c3a7a;_0x483f78++)_0x139c1b[_0x483f78>>>0x2]|=(_0x2bd642[_0x365ce9(0x2ba)](_0x483f78)&0xff)<<0x18-_0x483f78%0x4*0x8;return new _0xb5d37f['init'](_0x139c1b,_0x2c3a7a);}},_0x2d7587=_0x2e4bcb[_0xacc0e0(0x33c)]={'stringify':function(_0x1d4c5f){try{return decodeURIComponent(escape(_0x381f15['stringify'](_0x1d4c5f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1516f2){var _0x57b52f=_0xacc0e0;return _0x381f15[_0x57b52f(0x325)](unescape(encodeURIComponent(_0x1516f2)));}},_0x60f9df=_0x2326cd['BufferedBlockAlgorithm']=_0x112cd5['extend']({'reset':function(){var _0x84af87=_0xacc0e0;this[_0x84af87(0x1fa)]=new _0xb5d37f[(_0x84af87(0x219))](),this[_0x84af87(0x2b6)]=0x0;},'_append':function(_0x4d6e20){var _0x5254d9=_0xacc0e0;typeof _0x4d6e20==_0x5254d9(0x303)&&(_0x4d6e20=_0x2d7587['parse'](_0x4d6e20)),this[_0x5254d9(0x1fa)]['concat'](_0x4d6e20),this[_0x5254d9(0x2b6)]+=_0x4d6e20[_0x5254d9(0x223)];},'_process':function(_0x468860){var _0x4fbfe9=_0xacc0e0,_0x49e0cd,_0x5dd27a=this[_0x4fbfe9(0x1fa)],_0x218f61=_0x5dd27a[_0x4fbfe9(0x166)],_0x282b13=_0x5dd27a['sigBytes'],_0x19c830=this[_0x4fbfe9(0x464)],_0x37dc55=_0x19c830*0x4,_0x3b1c98=_0x282b13/_0x37dc55;_0x468860?_0x3b1c98=_0x36147e['ceil'](_0x3b1c98):_0x3b1c98=_0x36147e[_0x4fbfe9(0x20e)]((_0x3b1c98|0x0)-this[_0x4fbfe9(0x3c8)],0x0);var _0x5dc69b=_0x3b1c98*_0x19c830,_0x150891=_0x36147e[_0x4fbfe9(0x3cd)](_0x5dc69b*0x4,_0x282b13);if(_0x5dc69b){for(var _0x192523=0x0;_0x192523<_0x5dc69b;_0x192523+=_0x19c830)this[_0x4fbfe9(0x380)](_0x218f61,_0x192523);_0x49e0cd=_0x218f61[_0x4fbfe9(0x426)](0x0,_0x5dc69b),_0x5dd27a[_0x4fbfe9(0x223)]-=_0x150891;}return new _0xb5d37f[(_0x4fbfe9(0x219))](_0x49e0cd,_0x150891);},'clone':function(){var _0x18cefa=_0xacc0e0,_0x419779=_0x112cd5[_0x18cefa(0x261)][_0x18cefa(0x2c7)](this);return _0x419779['_data']=this['_data']['clone'](),_0x419779;},'_minBufferSize':0x0});_0x2326cd[_0xacc0e0(0x277)]=_0x60f9df[_0xacc0e0(0x1ac)]({'cfg':_0x112cd5[_0xacc0e0(0x1ac)](),'init':function(_0x5b6445){var _0x47228c=_0xacc0e0;this[_0x47228c(0x3ef)]=this[_0x47228c(0x3ef)]['extend'](_0x5b6445),this[_0x47228c(0x262)]();},'reset':function(){var _0x499d0b=_0xacc0e0;_0x60f9df[_0x499d0b(0x262)]['call'](this),this[_0x499d0b(0x35c)]();},'update':function(_0xe14295){var _0x4c8a37=_0xacc0e0;return this[_0x4c8a37(0x24c)](_0xe14295),this[_0x4c8a37(0x42c)](),this;},'finalize':function(_0x136827){var _0x2c4016=_0xacc0e0;_0x136827&&this['_append'](_0x136827);var _0x578518=this[_0x2c4016(0x335)]();return _0x578518;},'blockSize':0x10,'_createHelper':function(_0x3bf05c){return function(_0x172b49,_0x356c92){var _0x3d8392=_0x338e;return new _0x3bf05c[(_0x3d8392(0x219))](_0x356c92)[_0x3d8392(0x2c0)](_0x172b49);};},'_createHmacHelper':function(_0x265425){return function(_0x18dab1,_0x4f394d){var _0x1c793d=_0x338e;return new _0x59c254[(_0x1c793d(0x38f))][(_0x1c793d(0x219))](_0x265425,_0x4f394d)[_0x1c793d(0x2c0)](_0x18dab1);};}});var _0x59c254=_0x5c6d10[_0xacc0e0(0x2b4)]={};return _0x5c6d10;}(Math);return _0x4583a3;}));}(Ge)),Ge[_0x1db110(0x30e)];}var Ke={'exports':{}},Vs=Ke[_0x133617(0x30e)],ei;function wi(){var _0x5099ba=_0x133617;return ei||(ei=0x1,function(_0x425b27,_0x1f3f78){(function(_0x18a69b,_0x160746){_0x425b27['exports']=_0x160746(ne());}(Vs,function(_0x1f75b9){var _0x3e36e0=_0x338e;return(function(){var _0x19bbd9=_0x338e,_0x4b76f0=_0x1f75b9,_0x31d387=_0x4b76f0[_0x19bbd9(0x2be)],_0x2efe54=_0x31d387[_0x19bbd9(0x41e)],_0x115199=_0x4b76f0['enc'];_0x115199['Base64']={'stringify':function(_0x3992fc){var _0x127eb8=_0x19bbd9,_0x4a9633=_0x3992fc[_0x127eb8(0x166)],_0x24026d=_0x3992fc['sigBytes'],_0x13586b=this['_map'];_0x3992fc['clamp']();for(var _0x2f536c=[],_0x761162=0x0;_0x761162<_0x24026d;_0x761162+=0x3)for(var _0x245e59=_0x4a9633[_0x761162>>>0x2]>>>0x18-_0x761162%0x4*0x8&0xff,_0x225899=_0x4a9633[_0x761162+0x1>>>0x2]>>>0x18-(_0x761162+0x1)%0x4*0x8&0xff,_0x117180=_0x4a9633[_0x761162+0x2>>>0x2]>>>0x18-(_0x761162+0x2)%0x4*0x8&0xff,_0x4586ee=_0x245e59<<0x10|_0x225899<<0x8|_0x117180,_0x4a0f41=0x0;_0x4a0f41<0x4&&_0x761162+_0x4a0f41*0.75<_0x24026d;_0x4a0f41++)_0x2f536c[_0x127eb8(0x387)](_0x13586b[_0x127eb8(0x37f)](_0x4586ee>>>0x6*(0x3-_0x4a0f41)&0x3f));var _0x53e229=_0x13586b[_0x127eb8(0x37f)](0x40);if(_0x53e229){for(;_0x2f536c['length']%0x4;)_0x2f536c[_0x127eb8(0x387)](_0x53e229);}return _0x2f536c['join']('');},'parse':function(_0x554761){var _0x42a1c3=_0x19bbd9,_0x15fb74=_0x554761[_0x42a1c3(0x2ec)],_0x3cff31=this[_0x42a1c3(0x43f)],_0x4b5718=this[_0x42a1c3(0x33f)];if(!_0x4b5718){_0x4b5718=this[_0x42a1c3(0x33f)]=[];for(var _0x5ad88a=0x0;_0x5ad88a<_0x3cff31[_0x42a1c3(0x2ec)];_0x5ad88a++)_0x4b5718[_0x3cff31['charCodeAt'](_0x5ad88a)]=_0x5ad88a;}var _0x4c5bd7=_0x3cff31[_0x42a1c3(0x37f)](0x40);if(_0x4c5bd7){var _0x12f73a=_0x554761['indexOf'](_0x4c5bd7);_0x12f73a!==-0x1&&(_0x15fb74=_0x12f73a);}return _0x19f86f(_0x554761,_0x15fb74,_0x4b5718);},'_map':_0x19bbd9(0x384)};function _0x19f86f(_0x3f697b,_0x3d634f,_0x1273ce){var _0x411f67=_0x19bbd9;for(var _0x45a8e5=[],_0x209656=0x0,_0x2feb30=0x0;_0x2feb30<_0x3d634f;_0x2feb30++)if(_0x2feb30%0x4){var _0x2b95f6=_0x1273ce[_0x3f697b[_0x411f67(0x2ba)](_0x2feb30-0x1)]<<_0x2feb30%0x4*0x2,_0x33b8be=_0x1273ce[_0x3f697b[_0x411f67(0x2ba)](_0x2feb30)]>>>0x6-_0x2feb30%0x4*0x2,_0x5d231e=_0x2b95f6|_0x33b8be;_0x45a8e5[_0x209656>>>0x2]|=_0x5d231e<<0x18-_0x209656%0x4*0x8,_0x209656++;}return _0x2efe54[_0x411f67(0x3b8)](_0x45a8e5,_0x209656);}}()),_0x1f75b9[_0x3e36e0(0x40c)][_0x3e36e0(0x40e)];}));}(Ke)),Ke[_0x5099ba(0x30e)];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x5b1cc4=_0x133617;return ti||(ti=0x1,function(_0x153311,_0x19e258){(function(_0x4f3582,_0x4e3e32){_0x153311['exports']=_0x4e3e32(ne());}(Ws,function(_0x5af365){var _0x18b1f3=_0x338e;return function(_0x4e7fda){var _0x17698a=_0x338e,_0x4d53c5=_0x5af365,_0x1a2f57=_0x4d53c5['lib'],_0x584a41=_0x1a2f57[_0x17698a(0x41e)],_0x2af16e=_0x1a2f57[_0x17698a(0x277)],_0x358520=_0x4d53c5[_0x17698a(0x2b4)],_0x31dfa9=[];(function(){var _0xe84fbc=_0x17698a;for(var _0x1c6d6d=0x0;_0x1c6d6d<0x40;_0x1c6d6d++)_0x31dfa9[_0x1c6d6d]=_0x4e7fda[_0xe84fbc(0x3fe)](_0x4e7fda[_0xe84fbc(0x429)](_0x1c6d6d+0x1))*0x100000000|0x0;}());var _0xe392e4=_0x358520[_0x17698a(0x346)]=_0x2af16e['extend']({'_doReset':function(){var _0x4f731a=_0x17698a;this['_hash']=new _0x584a41[(_0x4f731a(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3c3534,_0x190d6b){var _0x50227f=_0x17698a;for(var _0x2bf935=0x0;_0x2bf935<0x10;_0x2bf935++){var _0x1dad10=_0x190d6b+_0x2bf935,_0x350d2b=_0x3c3534[_0x1dad10];_0x3c3534[_0x1dad10]=(_0x350d2b<<0x8|_0x350d2b>>>0x18)&0xff00ff|(_0x350d2b<<0x18|_0x350d2b>>>0x8)&0xff00ff00;}var _0x446fdd=this['_hash'][_0x50227f(0x166)],_0xaa461d=_0x3c3534[_0x190d6b+0x0],_0x22f3c5=_0x3c3534[_0x190d6b+0x1],_0x676cdc=_0x3c3534[_0x190d6b+0x2],_0x4e313b=_0x3c3534[_0x190d6b+0x3],_0x280729=_0x3c3534[_0x190d6b+0x4],_0x38c4d4=_0x3c3534[_0x190d6b+0x5],_0x1be03e=_0x3c3534[_0x190d6b+0x6],_0x219824=_0x3c3534[_0x190d6b+0x7],_0x572cec=_0x3c3534[_0x190d6b+0x8],_0x3d68d1=_0x3c3534[_0x190d6b+0x9],_0x1ac5de=_0x3c3534[_0x190d6b+0xa],_0x30cf1c=_0x3c3534[_0x190d6b+0xb],_0x5a5ff8=_0x3c3534[_0x190d6b+0xc],_0x1c6066=_0x3c3534[_0x190d6b+0xd],_0x34ce6c=_0x3c3534[_0x190d6b+0xe],_0x5f3343=_0x3c3534[_0x190d6b+0xf],_0x1ad1f7=_0x446fdd[0x0],_0xb2bd9b=_0x446fdd[0x1],_0x182a40=_0x446fdd[0x2],_0x2ef518=_0x446fdd[0x3];_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0xaa461d,0x7,_0x31dfa9[0x0]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x22f3c5,0xc,_0x31dfa9[0x1]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x676cdc,0x11,_0x31dfa9[0x2]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x4e313b,0x16,_0x31dfa9[0x3]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x280729,0x7,_0x31dfa9[0x4]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x38c4d4,0xc,_0x31dfa9[0x5]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1be03e,0x11,_0x31dfa9[0x6]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x219824,0x16,_0x31dfa9[0x7]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x572cec,0x7,_0x31dfa9[0x8]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x3d68d1,0xc,_0x31dfa9[0x9]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1ac5de,0x11,_0x31dfa9[0xa]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x30cf1c,0x16,_0x31dfa9[0xb]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x5a5ff8,0x7,_0x31dfa9[0xc]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1c6066,0xc,_0x31dfa9[0xd]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x34ce6c,0x11,_0x31dfa9[0xe]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x5f3343,0x16,_0x31dfa9[0xf]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x22f3c5,0x5,_0x31dfa9[0x10]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1be03e,0x9,_0x31dfa9[0x11]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x30cf1c,0xe,_0x31dfa9[0x12]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0xaa461d,0x14,_0x31dfa9[0x13]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x38c4d4,0x5,_0x31dfa9[0x14]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1ac5de,0x9,_0x31dfa9[0x15]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x5f3343,0xe,_0x31dfa9[0x16]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x280729,0x14,_0x31dfa9[0x17]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x3d68d1,0x5,_0x31dfa9[0x18]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x34ce6c,0x9,_0x31dfa9[0x19]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x4e313b,0xe,_0x31dfa9[0x1a]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x572cec,0x14,_0x31dfa9[0x1b]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x1c6066,0x5,_0x31dfa9[0x1c]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x676cdc,0x9,_0x31dfa9[0x1d]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x219824,0xe,_0x31dfa9[0x1e]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x5a5ff8,0x14,_0x31dfa9[0x1f]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x38c4d4,0x4,_0x31dfa9[0x20]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x572cec,0xb,_0x31dfa9[0x21]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x30cf1c,0x10,_0x31dfa9[0x22]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x34ce6c,0x17,_0x31dfa9[0x23]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x22f3c5,0x4,_0x31dfa9[0x24]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x280729,0xb,_0x31dfa9[0x25]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x219824,0x10,_0x31dfa9[0x26]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1ac5de,0x17,_0x31dfa9[0x27]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x1c6066,0x4,_0x31dfa9[0x28]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0xaa461d,0xb,_0x31dfa9[0x29]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x4e313b,0x10,_0x31dfa9[0x2a]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1be03e,0x17,_0x31dfa9[0x2b]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x3d68d1,0x4,_0x31dfa9[0x2c]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x5a5ff8,0xb,_0x31dfa9[0x2d]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x5f3343,0x10,_0x31dfa9[0x2e]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x676cdc,0x17,_0x31dfa9[0x2f]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0xaa461d,0x6,_0x31dfa9[0x30]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x219824,0xa,_0x31dfa9[0x31]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x34ce6c,0xf,_0x31dfa9[0x32]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x38c4d4,0x15,_0x31dfa9[0x33]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x5a5ff8,0x6,_0x31dfa9[0x34]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x4e313b,0xa,_0x31dfa9[0x35]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1ac5de,0xf,_0x31dfa9[0x36]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x22f3c5,0x15,_0x31dfa9[0x37]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x572cec,0x6,_0x31dfa9[0x38]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x5f3343,0xa,_0x31dfa9[0x39]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1be03e,0xf,_0x31dfa9[0x3a]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1c6066,0x15,_0x31dfa9[0x3b]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x280729,0x6,_0x31dfa9[0x3c]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x30cf1c,0xa,_0x31dfa9[0x3d]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x676cdc,0xf,_0x31dfa9[0x3e]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x3d68d1,0x15,_0x31dfa9[0x3f]),_0x446fdd[0x0]=_0x446fdd[0x0]+_0x1ad1f7|0x0,_0x446fdd[0x1]=_0x446fdd[0x1]+_0xb2bd9b|0x0,_0x446fdd[0x2]=_0x446fdd[0x2]+_0x182a40|0x0,_0x446fdd[0x3]=_0x446fdd[0x3]+_0x2ef518|0x0;},'_doFinalize':function(){var _0x26f1eb=_0x17698a,_0x544251=this['_data'],_0x444a26=_0x544251['words'],_0x37cb33=this[_0x26f1eb(0x2b6)]*0x8,_0x300494=_0x544251['sigBytes']*0x8;_0x444a26[_0x300494>>>0x5]|=0x80<<0x18-_0x300494%0x20;var _0x1a11a2=_0x4e7fda[_0x26f1eb(0x2db)](_0x37cb33/0x100000000),_0x55a71b=_0x37cb33;_0x444a26[(_0x300494+0x40>>>0x9<<0x4)+0xf]=(_0x1a11a2<<0x8|_0x1a11a2>>>0x18)&0xff00ff|(_0x1a11a2<<0x18|_0x1a11a2>>>0x8)&0xff00ff00,_0x444a26[(_0x300494+0x40>>>0x9<<0x4)+0xe]=(_0x55a71b<<0x8|_0x55a71b>>>0x18)&0xff00ff|(_0x55a71b<<0x18|_0x55a71b>>>0x8)&0xff00ff00,_0x544251[_0x26f1eb(0x223)]=(_0x444a26[_0x26f1eb(0x2ec)]+0x1)*0x4,this[_0x26f1eb(0x42c)]();for(var _0x3dd4bd=this['_hash'],_0x1b7105=_0x3dd4bd[_0x26f1eb(0x166)],_0xcc46b4=0x0;_0xcc46b4<0x4;_0xcc46b4++){var _0x344e78=_0x1b7105[_0xcc46b4];_0x1b7105[_0xcc46b4]=(_0x344e78<<0x8|_0x344e78>>>0x18)&0xff00ff|(_0x344e78<<0x18|_0x344e78>>>0x8)&0xff00ff00;}return _0x3dd4bd;},'clone':function(){var _0x35826b=_0x17698a,_0x31d38b=_0x2af16e[_0x35826b(0x261)]['call'](this);return _0x31d38b['_hash']=this[_0x35826b(0x36f)][_0x35826b(0x261)](),_0x31d38b;}});function _0x39c293(_0x38a383,_0xa05088,_0x203a1a,_0x322b0b,_0x210aa6,_0x562a4b,_0x5b58b0){var _0x5c8787=_0x38a383+(_0xa05088&_0x203a1a|~_0xa05088&_0x322b0b)+_0x210aa6+_0x5b58b0;return(_0x5c8787<<_0x562a4b|_0x5c8787>>>0x20-_0x562a4b)+_0xa05088;}function _0x2a5747(_0x1ab038,_0x3f28fe,_0x3205d2,_0x2e5d2f,_0x22713a,_0x418cb7,_0x1bd27d){var _0x9f188e=_0x1ab038+(_0x3f28fe&_0x2e5d2f|_0x3205d2&~_0x2e5d2f)+_0x22713a+_0x1bd27d;return(_0x9f188e<<_0x418cb7|_0x9f188e>>>0x20-_0x418cb7)+_0x3f28fe;}function _0x57c2f0(_0x250ec9,_0x24d2d5,_0x319961,_0xdb8f8,_0x614127,_0x50c5f8,_0x456711){var _0x44b89c=_0x250ec9+(_0x24d2d5^_0x319961^_0xdb8f8)+_0x614127+_0x456711;return(_0x44b89c<<_0x50c5f8|_0x44b89c>>>0x20-_0x50c5f8)+_0x24d2d5;}function _0x41a0f5(_0x483a38,_0x6f466b,_0xc757bc,_0x2fae63,_0x44583a,_0x43a5c5,_0x14bac1){var _0xeed90b=_0x483a38+(_0xc757bc^(_0x6f466b|~_0x2fae63))+_0x44583a+_0x14bac1;return(_0xeed90b<<_0x43a5c5|_0xeed90b>>>0x20-_0x43a5c5)+_0x6f466b;}_0x4d53c5[_0x17698a(0x346)]=_0x2af16e[_0x17698a(0x1ff)](_0xe392e4),_0x4d53c5[_0x17698a(0x328)]=_0x2af16e[_0x17698a(0x285)](_0xe392e4);}(Math),_0x5af365[_0x18b1f3(0x346)];}));}(ze)),ze[_0x5b1cc4(0x30e)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x133617(0x30e)],ii;function zs(){var _0x476398=_0x133617;return ii||(ii=0x1,function(_0x10b136,_0x37364b){(function(_0x23369,_0x47deff){var _0x3d4049=_0x338e;_0x10b136[_0x3d4049(0x30e)]=_0x47deff(ne());}(Ks,function(_0x812889){var _0x117cff=_0x338e;return(function(){var _0x49f19f=_0x338e,_0x247cb5=_0x812889,_0x5023e6=_0x247cb5[_0x49f19f(0x2be)],_0x229815=_0x5023e6[_0x49f19f(0x41e)],_0x57c476=_0x5023e6['Hasher'],_0x5cf35f=_0x247cb5[_0x49f19f(0x2b4)],_0x21b7b9=[],_0x55c9c7=_0x5cf35f['SHA1']=_0x57c476['extend']({'_doReset':function(){var _0x392296=_0x49f19f;this[_0x392296(0x36f)]=new _0x229815[(_0x392296(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x311529,_0x373d56){var _0x30d847=_0x49f19f;for(var _0x1ac53c=this[_0x30d847(0x36f)]['words'],_0x353b51=_0x1ac53c[0x0],_0x17a773=_0x1ac53c[0x1],_0x854c1b=_0x1ac53c[0x2],_0x4d5aa8=_0x1ac53c[0x3],_0x274d0e=_0x1ac53c[0x4],_0x5c5d05=0x0;_0x5c5d05<0x50;_0x5c5d05++){if(_0x5c5d05<0x10)_0x21b7b9[_0x5c5d05]=_0x311529[_0x373d56+_0x5c5d05]|0x0;else{var _0x9dbedd=_0x21b7b9[_0x5c5d05-0x3]^_0x21b7b9[_0x5c5d05-0x8]^_0x21b7b9[_0x5c5d05-0xe]^_0x21b7b9[_0x5c5d05-0x10];_0x21b7b9[_0x5c5d05]=_0x9dbedd<<0x1|_0x9dbedd>>>0x1f;}var _0x4ecec4=(_0x353b51<<0x5|_0x353b51>>>0x1b)+_0x274d0e+_0x21b7b9[_0x5c5d05];_0x5c5d05<0x14?_0x4ecec4+=(_0x17a773&_0x854c1b|~_0x17a773&_0x4d5aa8)+0x5a827999:_0x5c5d05<0x28?_0x4ecec4+=(_0x17a773^_0x854c1b^_0x4d5aa8)+0x6ed9eba1:_0x5c5d05<0x3c?_0x4ecec4+=(_0x17a773&_0x854c1b|_0x17a773&_0x4d5aa8|_0x854c1b&_0x4d5aa8)-0x70e44324:_0x4ecec4+=(_0x17a773^_0x854c1b^_0x4d5aa8)-0x359d3e2a,_0x274d0e=_0x4d5aa8,_0x4d5aa8=_0x854c1b,_0x854c1b=_0x17a773<<0x1e|_0x17a773>>>0x2,_0x17a773=_0x353b51,_0x353b51=_0x4ecec4;}_0x1ac53c[0x0]=_0x1ac53c[0x0]+_0x353b51|0x0,_0x1ac53c[0x1]=_0x1ac53c[0x1]+_0x17a773|0x0,_0x1ac53c[0x2]=_0x1ac53c[0x2]+_0x854c1b|0x0,_0x1ac53c[0x3]=_0x1ac53c[0x3]+_0x4d5aa8|0x0,_0x1ac53c[0x4]=_0x1ac53c[0x4]+_0x274d0e|0x0;},'_doFinalize':function(){var _0x3bc429=_0x49f19f,_0x3bca30=this[_0x3bc429(0x1fa)],_0x2d0205=_0x3bca30[_0x3bc429(0x166)],_0x4daa24=this[_0x3bc429(0x2b6)]*0x8,_0x5d5819=_0x3bca30[_0x3bc429(0x223)]*0x8;return _0x2d0205[_0x5d5819>>>0x5]|=0x80<<0x18-_0x5d5819%0x20,_0x2d0205[(_0x5d5819+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bc429(0x2db)](_0x4daa24/0x100000000),_0x2d0205[(_0x5d5819+0x40>>>0x9<<0x4)+0xf]=_0x4daa24,_0x3bca30['sigBytes']=_0x2d0205[_0x3bc429(0x2ec)]*0x4,this[_0x3bc429(0x42c)](),this['_hash'];},'clone':function(){var _0xeb823e=_0x49f19f,_0x2aaed5=_0x57c476[_0xeb823e(0x261)][_0xeb823e(0x2c7)](this);return _0x2aaed5['_hash']=this[_0xeb823e(0x36f)][_0xeb823e(0x261)](),_0x2aaed5;}});_0x247cb5[_0x49f19f(0x1a1)]=_0x57c476[_0x49f19f(0x1ff)](_0x55c9c7),_0x247cb5['HmacSHA1']=_0x57c476[_0x49f19f(0x285)](_0x55c9c7);}()),_0x812889[_0x117cff(0x1a1)];}));}(qe)),qe[_0x476398(0x30e)];}var Je={'exports':{}},Ys=Je[_0x133617(0x30e)],ni;function qs(){var _0x341cfd=_0x133617;return ni||(ni=0x1,function(_0x40bc2a,_0x352935){(function(_0x1609b8,_0xf19d84){_0x40bc2a['exports']=_0xf19d84(ne());}(Ys,function(_0x49bc1d){(function(){var _0x59e902=_0x338e,_0x28e63a=_0x49bc1d,_0x236dcb=_0x28e63a['lib'],_0x3d4135=_0x236dcb[_0x59e902(0x468)],_0x27afe2=_0x28e63a[_0x59e902(0x40c)],_0x16a7e8=_0x27afe2[_0x59e902(0x33c)],_0x290be4=_0x28e63a[_0x59e902(0x2b4)];_0x290be4[_0x59e902(0x38f)]=_0x3d4135[_0x59e902(0x1ac)]({'init':function(_0x2e0859,_0x5bc241){var _0x50ee7f=_0x59e902;_0x2e0859=this[_0x50ee7f(0x447)]=new _0x2e0859['init'](),typeof _0x5bc241==_0x50ee7f(0x303)&&(_0x5bc241=_0x16a7e8[_0x50ee7f(0x325)](_0x5bc241));var _0x3cafa1=_0x2e0859['blockSize'],_0x43be72=_0x3cafa1*0x4;_0x5bc241[_0x50ee7f(0x223)]>_0x43be72&&(_0x5bc241=_0x2e0859[_0x50ee7f(0x2c0)](_0x5bc241)),_0x5bc241[_0x50ee7f(0x302)]();for(var _0x48006f=this[_0x50ee7f(0x1a0)]=_0x5bc241[_0x50ee7f(0x261)](),_0x5e4361=this[_0x50ee7f(0x2ae)]=_0x5bc241[_0x50ee7f(0x261)](),_0x1b0e2f=_0x48006f[_0x50ee7f(0x166)],_0x4e07ef=_0x5e4361[_0x50ee7f(0x166)],_0x5a822b=0x0;_0x5a822b<_0x3cafa1;_0x5a822b++)_0x1b0e2f[_0x5a822b]^=0x5c5c5c5c,_0x4e07ef[_0x5a822b]^=0x36363636;_0x48006f['sigBytes']=_0x5e4361['sigBytes']=_0x43be72,this[_0x50ee7f(0x262)]();},'reset':function(){var _0x155b87=_0x59e902,_0x46f050=this[_0x155b87(0x447)];_0x46f050[_0x155b87(0x262)](),_0x46f050['update'](this['_iKey']);},'update':function(_0x1d1a6d){var _0x2ce403=_0x59e902;return this[_0x2ce403(0x447)][_0x2ce403(0x467)](_0x1d1a6d),this;},'finalize':function(_0x5a89df){var _0x1bb25=_0x59e902,_0x5e3ddf=this['_hasher'],_0x3f20ae=_0x5e3ddf[_0x1bb25(0x2c0)](_0x5a89df);_0x5e3ddf[_0x1bb25(0x262)]();var _0xf8a9a2=_0x5e3ddf[_0x1bb25(0x2c0)](this[_0x1bb25(0x1a0)][_0x1bb25(0x261)]()[_0x1bb25(0x30b)](_0x3f20ae));return _0xf8a9a2;}});}());}));}(Je)),Je[_0x341cfd(0x30e)];}var Js=Ye[_0x133617(0x30e)],si;function Ui(){var _0xdd967d=_0x133617;return si||(si=0x1,function(_0x29fcb6,_0x4c7193){(function(_0x2b84ff,_0x303fec,_0x3a9614){var _0x3771a6=_0x338e;_0x29fcb6[_0x3771a6(0x30e)]=_0x303fec(ne(),zs(),qs());}(Js,function(_0x2485ce){var _0x37575b=_0x338e;return(function(){var _0x124bcc=_0x338e,_0x24aee0=_0x2485ce,_0x504321=_0x24aee0[_0x124bcc(0x2be)],_0x36e661=_0x504321[_0x124bcc(0x468)],_0x36fc8f=_0x504321['WordArray'],_0x18ad00=_0x24aee0[_0x124bcc(0x2b4)],_0x25ba00=_0x18ad00[_0x124bcc(0x346)],_0x36eff7=_0x18ad00[_0x124bcc(0x313)]=_0x36e661[_0x124bcc(0x1ac)]({'cfg':_0x36e661[_0x124bcc(0x1ac)]({'keySize':0x80/0x20,'hasher':_0x25ba00,'iterations':0x1}),'init':function(_0x15f2f1){var _0x5d4df8=_0x124bcc;this[_0x5d4df8(0x3ef)]=this['cfg'][_0x5d4df8(0x1ac)](_0x15f2f1);},'compute':function(_0x202e47,_0x56b3eb){var _0x27d5e4=_0x124bcc;for(var _0x2ae197,_0x2f5b08=this['cfg'],_0x48579a=_0x2f5b08[_0x27d5e4(0x349)][_0x27d5e4(0x3b8)](),_0x900b88=_0x36fc8f[_0x27d5e4(0x3b8)](),_0x385e29=_0x900b88[_0x27d5e4(0x166)],_0x29732b=_0x2f5b08[_0x27d5e4(0x3a6)],_0x27e21c=_0x2f5b08[_0x27d5e4(0x1ab)];_0x385e29[_0x27d5e4(0x2ec)]<_0x29732b;){_0x2ae197&&_0x48579a['update'](_0x2ae197),_0x2ae197=_0x48579a['update'](_0x202e47)[_0x27d5e4(0x2c0)](_0x56b3eb),_0x48579a[_0x27d5e4(0x262)]();for(var _0x328e66=0x1;_0x328e66<_0x27e21c;_0x328e66++)_0x2ae197=_0x48579a[_0x27d5e4(0x2c0)](_0x2ae197),_0x48579a['reset']();_0x900b88[_0x27d5e4(0x30b)](_0x2ae197);}return _0x900b88['sigBytes']=_0x29732b*0x4,_0x900b88;}});_0x24aee0[_0x124bcc(0x313)]=function(_0x5ec78b,_0x578a2f,_0x454f91){var _0x4065c1=_0x124bcc;return _0x36eff7[_0x4065c1(0x3b8)](_0x454f91)[_0x4065c1(0x345)](_0x5ec78b,_0x578a2f);};}()),_0x2485ce[_0x37575b(0x313)];}));}(Ye)),Ye[_0xdd967d(0x30e)];}var Xe={'exports':{}},Xs=Xe[_0x133617(0x30e)],ri;function Ai(){return ri||(ri=0x1,function(_0x49eefd,_0x11a2ef){(function(_0x53ee46,_0x2b4ed5,_0x494ef3){var _0x46d18a=_0x338e;_0x49eefd[_0x46d18a(0x30e)]=_0x2b4ed5(ne(),Ui());}(Xs,function(_0x5c924f){var _0x35e050=_0x338e;_0x5c924f[_0x35e050(0x2be)][_0x35e050(0x1a4)]||function(_0x1f600c){var _0x2c2590=_0x35e050,_0x29c394=_0x5c924f,_0x511106=_0x29c394['lib'],_0x39be64=_0x511106['Base'],_0x11ea9f=_0x511106[_0x2c2590(0x41e)],_0x47d71a=_0x511106['BufferedBlockAlgorithm'],_0x5bbe25=_0x29c394[_0x2c2590(0x40c)];_0x5bbe25['Utf8'];var _0x1abe8b=_0x5bbe25[_0x2c2590(0x40e)],_0x307859=_0x29c394[_0x2c2590(0x2b4)],_0xff69eb=_0x307859[_0x2c2590(0x313)],_0x106707=_0x511106[_0x2c2590(0x1a4)]=_0x47d71a['extend']({'cfg':_0x39be64[_0x2c2590(0x1ac)](),'createEncryptor':function(_0x16fcd6,_0x11be99){var _0x18e7dc=_0x2c2590;return this[_0x18e7dc(0x3b8)](this[_0x18e7dc(0x33e)],_0x16fcd6,_0x11be99);},'createDecryptor':function(_0x5dec39,_0x2aadb5){var _0x38db33=_0x2c2590;return this[_0x38db33(0x3b8)](this[_0x38db33(0x214)],_0x5dec39,_0x2aadb5);},'init':function(_0x26fca5,_0x20e4a8,_0x12082d){var _0x502caa=_0x2c2590;this['cfg']=this[_0x502caa(0x3ef)][_0x502caa(0x1ac)](_0x12082d),this['_xformMode']=_0x26fca5,this[_0x502caa(0x46d)]=_0x20e4a8,this[_0x502caa(0x262)]();},'reset':function(){var _0x4ffd57=_0x2c2590;_0x47d71a[_0x4ffd57(0x262)]['call'](this),this[_0x4ffd57(0x35c)]();},'process':function(_0x2ad729){var _0x104a51=_0x2c2590;return this[_0x104a51(0x24c)](_0x2ad729),this['_process']();},'finalize':function(_0x2c3493){var _0x384b10=_0x2c2590;_0x2c3493&&this[_0x384b10(0x24c)](_0x2c3493);var _0x1354f5=this['_doFinalize']();return _0x1354f5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3bd222(_0x4a6a85){var _0x561d39=_0x338e;return typeof _0x4a6a85==_0x561d39(0x303)?_0x3909d2:_0x394ca7;}return function(_0x97cd31){return{'encrypt':function(_0x9e92ba,_0x65d255,_0x38c852){return _0x3bd222(_0x65d255)['encrypt'](_0x97cd31,_0x9e92ba,_0x65d255,_0x38c852);},'decrypt':function(_0x5cc2da,_0x4c07d4,_0x500d9e){var _0x396a18=_0x338e;return _0x3bd222(_0x4c07d4)[_0x396a18(0x44c)](_0x97cd31,_0x5cc2da,_0x4c07d4,_0x500d9e);}};};}())});_0x511106[_0x2c2590(0x391)]=_0x106707[_0x2c2590(0x1ac)]({'_doFinalize':function(){var _0x151d83=_0x2c2590,_0x2d7923=this[_0x151d83(0x42c)](!0x0);return _0x2d7923;},'blockSize':0x1});var _0x10efcd=_0x29c394[_0x2c2590(0x336)]={},_0x54f71c=_0x511106['BlockCipherMode']=_0x39be64[_0x2c2590(0x1ac)]({'createEncryptor':function(_0x169ff3,_0x531234){var _0xeafdbb=_0x2c2590;return this[_0xeafdbb(0x173)]['create'](_0x169ff3,_0x531234);},'createDecryptor':function(_0x56306f,_0x445c68){var _0xe43433=_0x2c2590;return this['Decryptor'][_0xe43433(0x3b8)](_0x56306f,_0x445c68);},'init':function(_0x52800b,_0x48a220){var _0x2601d9=_0x2c2590;this[_0x2601d9(0x465)]=_0x52800b,this['_iv']=_0x48a220;}}),_0x5f0644=_0x10efcd[_0x2c2590(0x255)]=(function(){var _0x246b8f=_0x2c2590,_0x5d9de5=_0x54f71c[_0x246b8f(0x1ac)]();_0x5d9de5[_0x246b8f(0x173)]=_0x5d9de5['extend']({'processBlock':function(_0x236528,_0x1d140b){var _0x4e158e=_0x246b8f,_0x53a2e1=this[_0x4e158e(0x465)],_0x598dde=_0x53a2e1[_0x4e158e(0x464)];_0x210458[_0x4e158e(0x2c7)](this,_0x236528,_0x1d140b,_0x598dde),_0x53a2e1[_0x4e158e(0x2eb)](_0x236528,_0x1d140b),this[_0x4e158e(0x27d)]=_0x236528[_0x4e158e(0x245)](_0x1d140b,_0x1d140b+_0x598dde);}}),_0x5d9de5[_0x246b8f(0x24e)]=_0x5d9de5[_0x246b8f(0x1ac)]({'processBlock':function(_0x2855b2,_0x117652){var _0x56a958=_0x246b8f,_0x29f2e9=this['_cipher'],_0xbb7df0=_0x29f2e9[_0x56a958(0x464)],_0x3a1d01=_0x2855b2['slice'](_0x117652,_0x117652+_0xbb7df0);_0x29f2e9[_0x56a958(0x26d)](_0x2855b2,_0x117652),_0x210458[_0x56a958(0x2c7)](this,_0x2855b2,_0x117652,_0xbb7df0),this[_0x56a958(0x27d)]=_0x3a1d01;}});function _0x210458(_0x42d17d,_0x5d60a7,_0x1579f6){var _0x18e9a6=_0x246b8f,_0x225b3f,_0x8d547e=this[_0x18e9a6(0x3a2)];_0x8d547e?(_0x225b3f=_0x8d547e,this[_0x18e9a6(0x3a2)]=_0x1f600c):_0x225b3f=this[_0x18e9a6(0x27d)];for(var _0x4073ca=0x0;_0x4073ca<_0x1579f6;_0x4073ca++)_0x42d17d[_0x5d60a7+_0x4073ca]^=_0x225b3f[_0x4073ca];}return _0x5d9de5;}()),_0x521272=_0x29c394[_0x2c2590(0x3fa)]={},_0x116492=_0x521272[_0x2c2590(0x301)]={'pad':function(_0x2bd6bd,_0x49f89){var _0x385458=_0x2c2590;for(var _0x4be169=_0x49f89*0x4,_0x4e5902=_0x4be169-_0x2bd6bd[_0x385458(0x223)]%_0x4be169,_0x775171=_0x4e5902<<0x18|_0x4e5902<<0x10|_0x4e5902<<0x8|_0x4e5902,_0x51c31b=[],_0x213e6b=0x0;_0x213e6b<_0x4e5902;_0x213e6b+=0x4)_0x51c31b[_0x385458(0x387)](_0x775171);var _0x3fe57d=_0x11ea9f[_0x385458(0x3b8)](_0x51c31b,_0x4e5902);_0x2bd6bd['concat'](_0x3fe57d);},'unpad':function(_0x3301f4){var _0x2c9bec=_0x2c2590,_0x16bcf2=_0x3301f4[_0x2c9bec(0x166)][_0x3301f4[_0x2c9bec(0x223)]-0x1>>>0x2]&0xff;_0x3301f4[_0x2c9bec(0x223)]-=_0x16bcf2;}};_0x511106[_0x2c2590(0x199)]=_0x106707[_0x2c2590(0x1ac)]({'cfg':_0x106707[_0x2c2590(0x3ef)][_0x2c2590(0x1ac)]({'mode':_0x5f0644,'padding':_0x116492}),'reset':function(){var _0x33143c=_0x2c2590,_0x4434ba;_0x106707[_0x33143c(0x262)][_0x33143c(0x2c7)](this);var _0x4d3b99=this[_0x33143c(0x3ef)],_0x284ac0=_0x4d3b99['iv'],_0x32b12b=_0x4d3b99[_0x33143c(0x336)];this[_0x33143c(0x23f)]==this[_0x33143c(0x33e)]?_0x4434ba=_0x32b12b[_0x33143c(0x212)]:(_0x4434ba=_0x32b12b[_0x33143c(0x381)],this[_0x33143c(0x3c8)]=0x1),this[_0x33143c(0x31b)]&&this[_0x33143c(0x31b)][_0x33143c(0x18f)]==_0x4434ba?this['_mode'][_0x33143c(0x219)](this,_0x284ac0&&_0x284ac0[_0x33143c(0x166)]):(this[_0x33143c(0x31b)]=_0x4434ba[_0x33143c(0x2c7)](_0x32b12b,this,_0x284ac0&&_0x284ac0['words']),this[_0x33143c(0x31b)][_0x33143c(0x18f)]=_0x4434ba);},'_doProcessBlock':function(_0x2b9ce3,_0x2ab1d0){var _0x3a21ae=_0x2c2590;this[_0x3a21ae(0x31b)]['processBlock'](_0x2b9ce3,_0x2ab1d0);},'_doFinalize':function(){var _0x34a907=_0x2c2590,_0x3c171a,_0x22fcc4=this[_0x34a907(0x3ef)][_0x34a907(0x1e4)];return this[_0x34a907(0x23f)]==this[_0x34a907(0x33e)]?(_0x22fcc4['pad'](this[_0x34a907(0x1fa)],this[_0x34a907(0x464)]),_0x3c171a=this[_0x34a907(0x42c)](!0x0)):(_0x3c171a=this[_0x34a907(0x42c)](!0x0),_0x22fcc4[_0x34a907(0x232)](_0x3c171a)),_0x3c171a;},'blockSize':0x80/0x20});var _0x21c540=_0x511106[_0x2c2590(0x3e3)]=_0x39be64[_0x2c2590(0x1ac)]({'init':function(_0x3225ff){var _0x5b07ff=_0x2c2590;this[_0x5b07ff(0x463)](_0x3225ff);},'toString':function(_0x58853a){return(_0x58853a||this['formatter'])['stringify'](this);}}),_0x27884e=_0x29c394[_0x2c2590(0x40a)]={},_0x2d17a5=_0x27884e['OpenSSL']={'stringify':function(_0x37c53b){var _0x1b3c62=_0x2c2590,_0xe04c40,_0x146c26=_0x37c53b[_0x1b3c62(0x394)],_0x319731=_0x37c53b['salt'];return _0x319731?_0xe04c40=_0x11ea9f['create']([0x53616c74,0x65645f5f])[_0x1b3c62(0x30b)](_0x319731)[_0x1b3c62(0x30b)](_0x146c26):_0xe04c40=_0x146c26,_0xe04c40[_0x1b3c62(0x310)](_0x1abe8b);},'parse':function(_0x595df){var _0x38b266=_0x2c2590,_0x3ae1da,_0x1771fe=_0x1abe8b['parse'](_0x595df),_0x19fa7d=_0x1771fe[_0x38b266(0x166)];return _0x19fa7d[0x0]==0x53616c74&&_0x19fa7d[0x1]==0x65645f5f&&(_0x3ae1da=_0x11ea9f[_0x38b266(0x3b8)](_0x19fa7d[_0x38b266(0x245)](0x2,0x4)),_0x19fa7d[_0x38b266(0x426)](0x0,0x4),_0x1771fe[_0x38b266(0x223)]-=0x10),_0x21c540[_0x38b266(0x3b8)]({'ciphertext':_0x1771fe,'salt':_0x3ae1da});}},_0x394ca7=_0x511106[_0x2c2590(0x3e8)]=_0x39be64['extend']({'cfg':_0x39be64[_0x2c2590(0x1ac)]({'format':_0x2d17a5}),'encrypt':function(_0x379ecc,_0xc971da,_0xfbaf29,_0x48c287){var _0x31e21f=_0x2c2590;_0x48c287=this[_0x31e21f(0x3ef)][_0x31e21f(0x1ac)](_0x48c287);var _0x33bc50=_0x379ecc[_0x31e21f(0x212)](_0xfbaf29,_0x48c287),_0x2f0cf9=_0x33bc50[_0x31e21f(0x2c0)](_0xc971da),_0x154416=_0x33bc50[_0x31e21f(0x3ef)];return _0x21c540[_0x31e21f(0x3b8)]({'ciphertext':_0x2f0cf9,'key':_0xfbaf29,'iv':_0x154416['iv'],'algorithm':_0x379ecc,'mode':_0x154416['mode'],'padding':_0x154416[_0x31e21f(0x1e4)],'blockSize':_0x379ecc[_0x31e21f(0x464)],'formatter':_0x48c287[_0x31e21f(0x40a)]});},'decrypt':function(_0x346bbb,_0x178d40,_0x45568f,_0x27fa48){var _0x3850e4=_0x2c2590;_0x27fa48=this[_0x3850e4(0x3ef)][_0x3850e4(0x1ac)](_0x27fa48),_0x178d40=this['_parse'](_0x178d40,_0x27fa48[_0x3850e4(0x40a)]);var _0x33ee73=_0x346bbb[_0x3850e4(0x381)](_0x45568f,_0x27fa48)[_0x3850e4(0x2c0)](_0x178d40[_0x3850e4(0x394)]);return _0x33ee73;},'_parse':function(_0x5cb85c,_0x5530c8){var _0x36b793=_0x2c2590;return typeof _0x5cb85c==_0x36b793(0x303)?_0x5530c8[_0x36b793(0x325)](_0x5cb85c,this):_0x5cb85c;}}),_0x181971=_0x29c394['kdf']={},_0x4b09f1=_0x181971[_0x2c2590(0x36b)]={'execute':function(_0x3b8c90,_0x473eff,_0x5b1fe9,_0x1eac40,_0x15e547){var _0x4aaeb3=_0x2c2590;if(_0x1eac40||(_0x1eac40=_0x11ea9f[_0x4aaeb3(0x3e9)](0x40/0x8)),_0x15e547)var _0x5bfcad=_0xff69eb[_0x4aaeb3(0x3b8)]({'keySize':_0x473eff+_0x5b1fe9,'hasher':_0x15e547})[_0x4aaeb3(0x345)](_0x3b8c90,_0x1eac40);else var _0x5bfcad=_0xff69eb[_0x4aaeb3(0x3b8)]({'keySize':_0x473eff+_0x5b1fe9})[_0x4aaeb3(0x345)](_0x3b8c90,_0x1eac40);var _0x58bf30=_0x11ea9f['create'](_0x5bfcad['words']['slice'](_0x473eff),_0x5b1fe9*0x4);return _0x5bfcad[_0x4aaeb3(0x223)]=_0x473eff*0x4,_0x21c540[_0x4aaeb3(0x3b8)]({'key':_0x5bfcad,'iv':_0x58bf30,'salt':_0x1eac40});}},_0x3909d2=_0x511106[_0x2c2590(0x3bf)]=_0x394ca7['extend']({'cfg':_0x394ca7[_0x2c2590(0x3ef)][_0x2c2590(0x1ac)]({'kdf':_0x4b09f1}),'encrypt':function(_0x5ccea5,_0x3451af,_0x2b4281,_0x291a19){var _0x2b7d4a=_0x2c2590;_0x291a19=this['cfg']['extend'](_0x291a19);var _0x3c2d4f=_0x291a19[_0x2b7d4a(0x201)][_0x2b7d4a(0x31c)](_0x2b4281,_0x5ccea5[_0x2b7d4a(0x3a6)],_0x5ccea5[_0x2b7d4a(0x3bb)],_0x291a19[_0x2b7d4a(0x2e2)],_0x291a19[_0x2b7d4a(0x349)]);_0x291a19['iv']=_0x3c2d4f['iv'];var _0x2e8b73=_0x394ca7[_0x2b7d4a(0x388)]['call'](this,_0x5ccea5,_0x3451af,_0x3c2d4f[_0x2b7d4a(0x291)],_0x291a19);return _0x2e8b73['mixIn'](_0x3c2d4f),_0x2e8b73;},'decrypt':function(_0x5d6609,_0x65dc09,_0x3dee70,_0x476364){var _0x4612f8=_0x2c2590;_0x476364=this[_0x4612f8(0x3ef)]['extend'](_0x476364),_0x65dc09=this[_0x4612f8(0x242)](_0x65dc09,_0x476364[_0x4612f8(0x40a)]);var _0x3ef06f=_0x476364['kdf'][_0x4612f8(0x31c)](_0x3dee70,_0x5d6609[_0x4612f8(0x3a6)],_0x5d6609[_0x4612f8(0x3bb)],_0x65dc09[_0x4612f8(0x2e2)],_0x476364[_0x4612f8(0x349)]);_0x476364['iv']=_0x3ef06f['iv'];var _0x1ad36d=_0x394ca7[_0x4612f8(0x44c)][_0x4612f8(0x2c7)](this,_0x5d6609,_0x65dc09,_0x3ef06f[_0x4612f8(0x291)],_0x476364);return _0x1ad36d;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0x133617(0x30e)],oi;function Qs(){var _0x2abe58=_0x133617;return oi||(oi=0x1,function(_0x41dd7c,_0x111334){(function(_0xfc3fad,_0x1e67d0,_0x3e58e0){var _0x396aca=_0x338e;_0x41dd7c[_0x396aca(0x30e)]=_0x1e67d0(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x488b27){return(function(){var _0x508879=_0x338e,_0x2fb69c=_0x488b27,_0xd32dc=_0x2fb69c[_0x508879(0x2be)],_0x192cd3=_0xd32dc[_0x508879(0x199)],_0xd99ac3=_0x2fb69c[_0x508879(0x2b4)],_0x2497b1=[],_0x5d9d3a=[],_0x5c6c1e=[],_0x2ce707=[],_0x55078e=[],_0x2d5c03=[],_0x3d5cd9=[],_0x2a0eb1=[],_0x50b013=[],_0x58cc06=[];(function(){for(var _0x227525=[],_0x110b14=0x0;_0x110b14<0x100;_0x110b14++)_0x110b14<0x80?_0x227525[_0x110b14]=_0x110b14<<0x1:_0x227525[_0x110b14]=_0x110b14<<0x1^0x11b;for(var _0x407f17=0x0,_0x520d4f=0x0,_0x110b14=0x0;_0x110b14<0x100;_0x110b14++){var _0x9e7916=_0x520d4f^_0x520d4f<<0x1^_0x520d4f<<0x2^_0x520d4f<<0x3^_0x520d4f<<0x4;_0x9e7916=_0x9e7916>>>0x8^_0x9e7916&0xff^0x63,_0x2497b1[_0x407f17]=_0x9e7916,_0x5d9d3a[_0x9e7916]=_0x407f17;var _0x54c93f=_0x227525[_0x407f17],_0x5c6d6c=_0x227525[_0x54c93f],_0x3b8502=_0x227525[_0x5c6d6c],_0x24e476=_0x227525[_0x9e7916]*0x101^_0x9e7916*0x1010100;_0x5c6c1e[_0x407f17]=_0x24e476<<0x18|_0x24e476>>>0x8,_0x2ce707[_0x407f17]=_0x24e476<<0x10|_0x24e476>>>0x10,_0x55078e[_0x407f17]=_0x24e476<<0x8|_0x24e476>>>0x18,_0x2d5c03[_0x407f17]=_0x24e476;var _0x24e476=_0x3b8502*0x1010101^_0x5c6d6c*0x10001^_0x54c93f*0x101^_0x407f17*0x1010100;_0x3d5cd9[_0x9e7916]=_0x24e476<<0x18|_0x24e476>>>0x8,_0x2a0eb1[_0x9e7916]=_0x24e476<<0x10|_0x24e476>>>0x10,_0x50b013[_0x9e7916]=_0x24e476<<0x8|_0x24e476>>>0x18,_0x58cc06[_0x9e7916]=_0x24e476,_0x407f17?(_0x407f17=_0x54c93f^_0x227525[_0x227525[_0x227525[_0x3b8502^_0x54c93f]]],_0x520d4f^=_0x227525[_0x227525[_0x520d4f]]):_0x407f17=_0x520d4f=0x1;}}());var _0xcb9f4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2cdfc8=_0xd99ac3[_0x508879(0x404)]=_0x192cd3['extend']({'_doReset':function(){var _0x2d4cfe=_0x508879,_0x8d7a49;if(!(this[_0x2d4cfe(0x273)]&&this[_0x2d4cfe(0x17c)]===this[_0x2d4cfe(0x46d)])){for(var _0x298ea6=this[_0x2d4cfe(0x17c)]=this['_key'],_0x4efd06=_0x298ea6[_0x2d4cfe(0x166)],_0x319411=_0x298ea6[_0x2d4cfe(0x223)]/0x4,_0x3f347f=this[_0x2d4cfe(0x273)]=_0x319411+0x6,_0x4b9a8d=(_0x3f347f+0x1)*0x4,_0x3a8c29=this[_0x2d4cfe(0x338)]=[],_0x1ae627=0x0;_0x1ae627<_0x4b9a8d;_0x1ae627++)_0x1ae627<_0x319411?_0x3a8c29[_0x1ae627]=_0x4efd06[_0x1ae627]:(_0x8d7a49=_0x3a8c29[_0x1ae627-0x1],_0x1ae627%_0x319411?_0x319411>0x6&&_0x1ae627%_0x319411==0x4&&(_0x8d7a49=_0x2497b1[_0x8d7a49>>>0x18]<<0x18|_0x2497b1[_0x8d7a49>>>0x10&0xff]<<0x10|_0x2497b1[_0x8d7a49>>>0x8&0xff]<<0x8|_0x2497b1[_0x8d7a49&0xff]):(_0x8d7a49=_0x8d7a49<<0x8|_0x8d7a49>>>0x18,_0x8d7a49=_0x2497b1[_0x8d7a49>>>0x18]<<0x18|_0x2497b1[_0x8d7a49>>>0x10&0xff]<<0x10|_0x2497b1[_0x8d7a49>>>0x8&0xff]<<0x8|_0x2497b1[_0x8d7a49&0xff],_0x8d7a49^=_0xcb9f4[_0x1ae627/_0x319411|0x0]<<0x18),_0x3a8c29[_0x1ae627]=_0x3a8c29[_0x1ae627-_0x319411]^_0x8d7a49);for(var _0x3274a2=this[_0x2d4cfe(0x1f9)]=[],_0x204fe2=0x0;_0x204fe2<_0x4b9a8d;_0x204fe2++){var _0x1ae627=_0x4b9a8d-_0x204fe2;if(_0x204fe2%0x4)var _0x8d7a49=_0x3a8c29[_0x1ae627];else var _0x8d7a49=_0x3a8c29[_0x1ae627-0x4];_0x204fe2<0x4||_0x1ae627<=0x4?_0x3274a2[_0x204fe2]=_0x8d7a49:_0x3274a2[_0x204fe2]=_0x3d5cd9[_0x2497b1[_0x8d7a49>>>0x18]]^_0x2a0eb1[_0x2497b1[_0x8d7a49>>>0x10&0xff]]^_0x50b013[_0x2497b1[_0x8d7a49>>>0x8&0xff]]^_0x58cc06[_0x2497b1[_0x8d7a49&0xff]];}}},'encryptBlock':function(_0x252d26,_0x4099c5){var _0x271179=_0x508879;this[_0x271179(0x3e6)](_0x252d26,_0x4099c5,this[_0x271179(0x338)],_0x5c6c1e,_0x2ce707,_0x55078e,_0x2d5c03,_0x2497b1);},'decryptBlock':function(_0x1d016b,_0x33d7b8){var _0x3f8097=_0x508879,_0x39e5f1=_0x1d016b[_0x33d7b8+0x1];_0x1d016b[_0x33d7b8+0x1]=_0x1d016b[_0x33d7b8+0x3],_0x1d016b[_0x33d7b8+0x3]=_0x39e5f1,this[_0x3f8097(0x3e6)](_0x1d016b,_0x33d7b8,this['_invKeySchedule'],_0x3d5cd9,_0x2a0eb1,_0x50b013,_0x58cc06,_0x5d9d3a);var _0x39e5f1=_0x1d016b[_0x33d7b8+0x1];_0x1d016b[_0x33d7b8+0x1]=_0x1d016b[_0x33d7b8+0x3],_0x1d016b[_0x33d7b8+0x3]=_0x39e5f1;},'_doCryptBlock':function(_0x80456d,_0x14677c,_0x10088e,_0x13d4e3,_0x551549,_0x39f079,_0x2c3f2e,_0x57a1ab){var _0x4e3bb3=_0x508879;for(var _0x19c891=this[_0x4e3bb3(0x273)],_0x46c5da=_0x80456d[_0x14677c]^_0x10088e[0x0],_0xaf8ad0=_0x80456d[_0x14677c+0x1]^_0x10088e[0x1],_0x35458a=_0x80456d[_0x14677c+0x2]^_0x10088e[0x2],_0x176af3=_0x80456d[_0x14677c+0x3]^_0x10088e[0x3],_0xe856a5=0x4,_0x4402fb=0x1;_0x4402fb<_0x19c891;_0x4402fb++){var _0x3e2d43=_0x13d4e3[_0x46c5da>>>0x18]^_0x551549[_0xaf8ad0>>>0x10&0xff]^_0x39f079[_0x35458a>>>0x8&0xff]^_0x2c3f2e[_0x176af3&0xff]^_0x10088e[_0xe856a5++],_0x5caf42=_0x13d4e3[_0xaf8ad0>>>0x18]^_0x551549[_0x35458a>>>0x10&0xff]^_0x39f079[_0x176af3>>>0x8&0xff]^_0x2c3f2e[_0x46c5da&0xff]^_0x10088e[_0xe856a5++],_0x15ddf0=_0x13d4e3[_0x35458a>>>0x18]^_0x551549[_0x176af3>>>0x10&0xff]^_0x39f079[_0x46c5da>>>0x8&0xff]^_0x2c3f2e[_0xaf8ad0&0xff]^_0x10088e[_0xe856a5++],_0x4585e8=_0x13d4e3[_0x176af3>>>0x18]^_0x551549[_0x46c5da>>>0x10&0xff]^_0x39f079[_0xaf8ad0>>>0x8&0xff]^_0x2c3f2e[_0x35458a&0xff]^_0x10088e[_0xe856a5++];_0x46c5da=_0x3e2d43,_0xaf8ad0=_0x5caf42,_0x35458a=_0x15ddf0,_0x176af3=_0x4585e8;}var _0x3e2d43=(_0x57a1ab[_0x46c5da>>>0x18]<<0x18|_0x57a1ab[_0xaf8ad0>>>0x10&0xff]<<0x10|_0x57a1ab[_0x35458a>>>0x8&0xff]<<0x8|_0x57a1ab[_0x176af3&0xff])^_0x10088e[_0xe856a5++],_0x5caf42=(_0x57a1ab[_0xaf8ad0>>>0x18]<<0x18|_0x57a1ab[_0x35458a>>>0x10&0xff]<<0x10|_0x57a1ab[_0x176af3>>>0x8&0xff]<<0x8|_0x57a1ab[_0x46c5da&0xff])^_0x10088e[_0xe856a5++],_0x15ddf0=(_0x57a1ab[_0x35458a>>>0x18]<<0x18|_0x57a1ab[_0x176af3>>>0x10&0xff]<<0x10|_0x57a1ab[_0x46c5da>>>0x8&0xff]<<0x8|_0x57a1ab[_0xaf8ad0&0xff])^_0x10088e[_0xe856a5++],_0x4585e8=(_0x57a1ab[_0x176af3>>>0x18]<<0x18|_0x57a1ab[_0x46c5da>>>0x10&0xff]<<0x10|_0x57a1ab[_0xaf8ad0>>>0x8&0xff]<<0x8|_0x57a1ab[_0x35458a&0xff])^_0x10088e[_0xe856a5++];_0x80456d[_0x14677c]=_0x3e2d43,_0x80456d[_0x14677c+0x1]=_0x5caf42,_0x80456d[_0x14677c+0x2]=_0x15ddf0,_0x80456d[_0x14677c+0x3]=_0x4585e8;},'keySize':0x100/0x20});_0x2fb69c[_0x508879(0x404)]=_0x192cd3[_0x508879(0x1ff)](_0x2cdfc8);}()),_0x488b27['AES'];}));}(We)),We[_0x2abe58(0x30e)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze['exports'],ci;function sr(){var _0x10f22a=_0x133617;return ci||(ci=0x1,function(_0x19a4b0,_0x3f72cb){(function(_0x250fd0,_0x4d7af8){var _0xdfc66b=_0x338e;_0x19a4b0[_0xdfc66b(0x30e)]=_0x4d7af8(ne());}(nr,function(_0x3e37a9){var _0x5d71d9=_0x338e;return _0x3e37a9[_0x5d71d9(0x40c)][_0x5d71d9(0x33c)];}));}(Ze)),Ze[_0x10f22a(0x30e)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe['exports'],hi;function cr(){var _0x28b5d4=_0x133617;return hi||(hi=0x1,function(_0x5d83d9,_0x42235f){(function(_0xecadf8,_0x453269){var _0x250489=_0x338e;_0x5d83d9[_0x250489(0x30e)]=_0x453269(ne());}(ar,function(_0x54a4e3){var _0x429bee=_0x338e;return(function(){var _0x3d6289=_0x338e;if(typeof ArrayBuffer=='function'){var _0x2e880d=_0x54a4e3,_0x5c559b=_0x2e880d['lib'],_0x587a01=_0x5c559b[_0x3d6289(0x41e)],_0x596262=_0x587a01[_0x3d6289(0x219)],_0x4cb8fd=_0x587a01[_0x3d6289(0x219)]=function(_0x119475){var _0xab0216=_0x3d6289;if(_0x119475 instanceof ArrayBuffer&&(_0x119475=new Uint8Array(_0x119475)),(_0x119475 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x119475 instanceof Uint8ClampedArray||_0x119475 instanceof Int16Array||_0x119475 instanceof Uint16Array||_0x119475 instanceof Int32Array||_0x119475 instanceof Uint32Array||_0x119475 instanceof Float32Array||_0x119475 instanceof Float64Array)&&(_0x119475=new Uint8Array(_0x119475['buffer'],_0x119475[_0xab0216(0x278)],_0x119475[_0xab0216(0x1b2)])),_0x119475 instanceof Uint8Array){for(var _0x31189b=_0x119475[_0xab0216(0x1b2)],_0x2f0795=[],_0x24e08b=0x0;_0x24e08b<_0x31189b;_0x24e08b++)_0x2f0795[_0x24e08b>>>0x2]|=_0x119475[_0x24e08b]<<0x18-_0x24e08b%0x4*0x8;_0x596262['call'](this,_0x2f0795,_0x31189b);}else _0x596262[_0xab0216(0x16b)](this,arguments);};_0x4cb8fd[_0x3d6289(0x260)]=_0x587a01;}}()),_0x54a4e3[_0x429bee(0x2be)]['WordArray'];}));}(Qe)),Qe[_0x28b5d4(0x30e)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x133617(0x30e)],_i;function ur(){var _0x334ad7=_0x133617;return _i||(_i=0x1,function(_0x5f27fb,_0x479930){(function(_0x3e9291,_0x5be98d,_0x5d7587){var _0x494c06=_0x338e;_0x5f27fb[_0x494c06(0x30e)]=_0x5be98d(ne(),Ai());}(lr,function(_0x5a1d53){var _0x5a74a2=_0x338e;return _0x5a1d53[_0x5a74a2(0x3fa)][_0x5a74a2(0x401)]={'pad':function(){},'unpad':function(){}},_0x5a1d53[_0x5a74a2(0x3fa)][_0x5a74a2(0x401)];}));}(et)),et[_0x334ad7(0x30e)];}var dr=ur();const fr=je(dr);function vr(_0x1060df,_0x4c75c8){var _0xd02e77=_0x133617;const _0x3c7fac=_0x4c75c8-_0x1060df[_0xd02e77(0x2ec)]%_0x4c75c8,_0x4fdfb3=String[_0xd02e77(0x1e8)](_0x3c7fac)[_0xd02e77(0x418)](_0x3c7fac);return _0x1060df+_0x4fdfb3;}function pr(_0x2326a2,_0x388d87){var _0x87db34=_0x133617;const _0x29f3e2=_r[_0x87db34(0x3e9)](0x10),_0x55069f=vr(_0x2326a2,0x10),_0x29d8eb=tr[_0x87db34(0x388)](or[_0x87db34(0x325)](_0x55069f),ai[_0x87db34(0x325)](_0x388d87),{'iv':_0x29f3e2,'padding':fr});return _0x29f3e2[_0x87db34(0x30b)](_0x29d8eb[_0x87db34(0x394)])[_0x87db34(0x310)](ai);}function gr(){var _0x53e74d=_0x133617;const _0x365fac=_0x521dca()[_0x53e74d(0x22a)];if(_0x365fac){const _0x1b1ef3={'time':Math[_0x53e74d(0x2db)](Date[_0x53e74d(0x435)]()/0x3e8),'domain':location[_0x53e74d(0x267)]};return pr(JSON[_0x53e74d(0x347)](_0x1b1ef3),_0x365fac);}}var mr=Object[_0x133617(0x275)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x4831fa,_0x4f7789,_0x271681,_0x2c6c93)=>{var _0x31eb6b=_0x133617;for(var _0x3b1b4a=_0x2c6c93>0x1?void 0x0:_0x2c6c93?Sr(_0x4f7789,_0x271681):_0x4f7789,_0xe6c4d7=_0x4831fa[_0x31eb6b(0x2ec)]-0x1,_0x146bf0;_0xe6c4d7>=0x0;_0xe6c4d7--)(_0x146bf0=_0x4831fa[_0xe6c4d7])&&(_0x3b1b4a=(_0x2c6c93?_0x146bf0(_0x4f7789,_0x271681,_0x3b1b4a):_0x146bf0(_0x3b1b4a))||_0x3b1b4a);return _0x2c6c93&&_0x3b1b4a&&mr(_0x4f7789,_0x271681,_0x3b1b4a),_0x3b1b4a;},Ir=(_0x3c3b19,_0x3e98b7)=>(_0x4d5157,_0x3548cd)=>_0x3e98b7(_0x4d5157,_0x3548cd,_0x3c3b19);let at=class{constructor(_0x39c03c){var _0x4e49b5=_0x133617;this[_0x4e49b5(0x3fb)]=_0x39c03c,this['_initRequestHeader']();}[_0x133617(0x27e)](){var _0x40be63=_0x133617;this['_httpService'][_0x40be63(0x1a3)]({'interceptor':(_0x3e1515,_0x230c19)=>{var _0x548a0f=_0x40be63;const _0x37c11a=_0x3e1515['headers'],_0x237d88=gr();return _0x237d88&&_0x37c11a[_0x548a0f(0x2dd)]('x-univer-host',_0x237d88),_0x230c19(_0x3e1515);}});}};at=Er([Ir(0x0,_0x1dc41d(_0x566212))],at);var Tr=Object[_0x133617(0x275)],Cr=Object[_0x133617(0x22f)],br=(_0x43fca4,_0x1e6045,_0x497402,_0x32d087)=>{for(var _0x4a52c3=_0x32d087>0x1?void 0x0:_0x32d087?Cr(_0x1e6045,_0x497402):_0x1e6045,_0x52e99c=_0x43fca4['length']-0x1,_0x2ae3bf;_0x52e99c>=0x0;_0x52e99c--)(_0x2ae3bf=_0x43fca4[_0x52e99c])&&(_0x4a52c3=(_0x32d087?_0x2ae3bf(_0x1e6045,_0x497402,_0x4a52c3):_0x2ae3bf(_0x4a52c3))||_0x4a52c3);return _0x32d087&&_0x4a52c3&&Tr(_0x1e6045,_0x497402,_0x4a52c3),_0x4a52c3;},mt=(_0x5bf898,_0x476243)=>(_0x1f296c,_0x45244a)=>_0x476243(_0x1f296c,_0x45244a,_0x5bf898);let Ot=class extends _0x2c04b2{constructor(_0x4902c9,_0x44a255,_0x5f0f0c){var _0x81db0c=_0x133617;super(),D(this,_0x81db0c(0x252),new _0x560b1b(null)),D(this,_0x81db0c(0x3a8),this[_0x81db0c(0x252)]['asObservable']()),(this[_0x81db0c(0x3f1)]=_0x4902c9,this['_snapshotService']=_0x44a255,this[_0x81db0c(0x1b6)]=_0x5f0f0c);}async[_0x133617(0x340)](_0x3d0926,_0x35d2a9,_0x4c0761){var _0x2ee30c=_0x133617;this[_0x2ee30c(0x252)][_0x2ee30c(0x3d8)]({'unitId':_0x3d0926,'type':_0x35d2a9,'subUnitId':_0x4c0761});let _0x2f63f1=null;switch(_0x35d2a9){case Q['UNIVER_SHEET']:{_0x2f63f1=await this['_loadSheet'](_0x3d0926);break;}case Q['UNIVER_DOC']:{_0x2f63f1=await this['_loadDoc'](_0x3d0926);break;}default:{this['_logService'][_0x2ee30c(0x36e)](_0x2ee30c(0x2e8),_0x2ee30c(0x3eb));break;}}return _0x2f63f1;}async[_0x133617(0x3ce)](_0x1458f6){var _0x5f0444=_0x133617,_0x539790;let _0x1f105c=0x0;const _0x5c9f15=await((_0x539790=this[_0x5f0444(0x1b6)])==null?void 0x0:_0x539790['loadOfflineData'](_0x1458f6));return _0x5c9f15&&(_0x5c9f15['awaitingChangeset']||_0x5c9f15[_0x5f0444(0x315)][_0x5f0444(0x2ec)]!==0x0)&&(_0x1f105c=_0x5c9f15[_0x5f0444(0x2ca)]),_0x1f105c===0x0&&this[_0x5f0444(0x3f1)][_0x5f0444(0x171)](_0x5f0444(0x2e8),_0x5f0444(0x320)),this[_0x5f0444(0x428)][_0x5f0444(0x189)](_0x1458f6,_0x1f105c);}async[_0x133617(0x3dd)](_0xe5c296){var _0x2cf141=_0x133617,_0x4a1168;let _0x38b4d6=0x0;const _0x53ee9f=await((_0x4a1168=this['_localCacheService'])==null?void 0x0:_0x4a1168[_0x2cf141(0x3a1)](_0xe5c296));return _0x53ee9f&&(_0x53ee9f[_0x2cf141(0x1b9)]||_0x53ee9f[_0x2cf141(0x315)][_0x2cf141(0x2ec)]!==0x0)&&(_0x38b4d6=_0x53ee9f[_0x2cf141(0x2ca)]),_0x38b4d6===0x0&&this[_0x2cf141(0x3f1)][_0x2cf141(0x171)](_0x2cf141(0x2e8),_0x2cf141(0x320)),this[_0x2cf141(0x428)][_0x2cf141(0x40f)](_0xe5c296,_0x38b4d6);}};Ot=br([mt(0x0,_0x9980c2),mt(0x1,_0x1dc41d(_0x202204)),mt(0x2,_0x13f1aa(X))],Ot);var Rr=Object['defineProperty'],yr=Object[_0x133617(0x22f)],Or=(_0x19bda3,_0xf14ff,_0x2073fe,_0x2811a2)=>{for(var _0x6531ab=_0x2811a2>0x1?void 0x0:_0x2811a2?yr(_0xf14ff,_0x2073fe):_0xf14ff,_0x1fd0ea=_0x19bda3['length']-0x1,_0x170437;_0x1fd0ea>=0x0;_0x1fd0ea--)(_0x170437=_0x19bda3[_0x1fd0ea])&&(_0x6531ab=(_0x2811a2?_0x170437(_0xf14ff,_0x2073fe,_0x6531ab):_0x170437(_0x6531ab))||_0x6531ab);return _0x2811a2&&_0x6531ab&&Rr(_0xf14ff,_0x2073fe,_0x6531ab),_0x6531ab;},St=(_0x41445b,_0x5ccb00)=>(_0x5d1cb8,_0x91fea7)=>_0x5ccb00(_0x5d1cb8,_0x91fea7,_0x41445b);const Pr=[_0x133617(0x422),'image/jpeg','image/jpg',_0x133617(0x441),_0x133617(0x3fc)],Nr=0x5*0x400*0x400,Dr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',wr='/universer-api/stream/file/upload',Ur=_0x133617(0x1c6),Ar=_0x133617(0x35e);let Pt=class{constructor(_0x1f4b28,_0x1d2df4,_0x1c05a8){var _0x3cf3d9=_0x133617;D(this,_0x3cf3d9(0x458),0x0),D(this,_0x3cf3d9(0x362),new _0x48a56c()),D(this,_0x3cf3d9(0x1e0),this[_0x3cf3d9(0x362)]),D(this,_0x3cf3d9(0x27c),new Map()),(this[_0x3cf3d9(0x3fb)]=_0x1f4b28,this[_0x3cf3d9(0x37c)]=_0x1d2df4,this[_0x3cf3d9(0x206)]=_0x1c05a8);}[_0x133617(0x26c)](_0x3ec53d){var _0x4b3f91=_0x133617;this['_waitCount']=_0x3ec53d,this['_change$'][_0x4b3f91(0x3d8)](_0x3ec53d);}[_0x133617(0x3da)](_0x52ba7b,_0x2321db){var _0x45b9d5=_0x133617;if(_0x2321db===_0x1f497d[_0x45b9d5(0x2cf)]){const _0x183e01=new Image();return _0x183e01[_0x45b9d5(0x32b)]=_0x52ba7b,_0x183e01;}return this['_imageSourceCache'][_0x45b9d5(0x456)](_0x52ba7b);}[_0x133617(0x165)](_0x526ee9,_0x4a5362,_0x4cf2d9){var _0x2f7a83=_0x133617;_0x4a5362===_0x1f497d[_0x2f7a83(0x2cf)]||_0x4cf2d9==null||this[_0x2f7a83(0x27c)][_0x2f7a83(0x2dd)](_0x526ee9,_0x4cf2d9);}async['getImage'](_0x53a026){var _0x106034=_0x133617;try{const _0x1cec15=this[_0x106034(0x322)](this[_0x106034(0x241)](),''+_0x53a026),_0x31e313=(await this['_httpService'][_0x106034(0x456)](_0x1cec15))['body'];if(_0x31e313['error']&&_0x31e313[_0x106034(0x36e)]['code']===Ii['OK']){const _0x32bef6=new URL(_0x31e313['url'],this[_0x106034(0x450)]())[_0x106034(0x310)]();return Promise['resolve'](_0x32bef6);}return Promise[_0x106034(0x3a7)](_0x31e313['error']);}catch(_0x505e24){return Promise['reject'](_0x505e24);}}async[_0x133617(0x31d)](_0x559153){var _0x5b6d18=_0x133617;let _0x29bc5f='';if(!Pr[_0x5b6d18(0x3c5)](_0x559153[_0x5b6d18(0x425)]))return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29[_0x5b6d18(0x2b1)]));if(_0x559153[_0x5b6d18(0x43b)]>Nr)return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29[_0x5b6d18(0x3c3)]));try{const _0x39c1a9=new FormData();_0x39c1a9[_0x5b6d18(0x224)](_0x5b6d18(0x164),_0x559153);const _0x5c62ad=this[_0x5b6d18(0x206)][_0x5b6d18(0x44d)](),_0x2a5364=_0x5c62ad==null?void 0x0:_0x5c62ad[_0x5b6d18(0x3e2)]();if(!_0x2a5364)throw new Error(_0x5b6d18(0x26e));const _0x38cf0e=this[_0x5b6d18(0x19f)]()+_0x5b6d18(0x2a9)+_0x559153['size'][_0x5b6d18(0x310)]()+_0x5b6d18(0x26f)+Ti[_0x5b6d18(0x398)]+_0x5b6d18(0x353)+encodeURIComponent(_0x2a5364),_0x3a5051=await(await fetch(_0x38cf0e,{'method':'POST','body':_0x39c1a9}))[_0x5b6d18(0x408)]();if(typeof _0x3a5051[_0x5b6d18(0x2df)]!=_0x5b6d18(0x303))return this[_0x5b6d18(0x2d0)](),Promise['reject'](new Error(_0x44ca29['ERROR_IMAGE']));_0x29bc5f=_0x3a5051['FileId'];}catch{return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29['ERROR_IMAGE']));}return new Promise((_0xce0cdb,_0x5c9ba1)=>{var _0x187409=_0x5b6d18;const _0x2fbfd4=new FileReader();_0x2fbfd4[_0x187409(0x19b)](_0x559153),_0x2fbfd4['onload']=_0x59b988=>{var _0x4a7690=_0x187409,_0x38257c;const _0x19336e=(_0x38257c=_0x59b988['target'])==null?void 0x0:_0x38257c[_0x4a7690(0x365)];if(_0x19336e==null){this[_0x4a7690(0x2d0)](),_0x5c9ba1(new Error(_0x44ca29['ERROR_IMAGE']));return;}const _0x2c68e4=_0x3e74e3['generateRandomId'](0x6);_0xce0cdb({'imageId':_0x2c68e4,'imageSourceType':_0x1f497d['UUID'],'source':_0x29bc5f,'base64Cache':_0x19336e,'status':_0x44ca29[_0x4a7690(0x265)]}),this[_0x4a7690(0x2d0)]();};});}[_0x133617(0x19f)](){var _0x404da3=_0x133617,_0x46ac9f,_0x4dba2f;const _0x3ae967=this[_0x404da3(0x37c)][_0x404da3(0x237)](Dr),_0x50dfa4=this[_0x404da3(0x37c)]['getConfig'](Y);return(_0x4dba2f=(_0x46ac9f=_0x50dfa4==null?void 0x0:_0x50dfa4['uploadFileServerUrl'])!=null?_0x46ac9f:_0x3ae967)!=null?_0x4dba2f:wr;}[_0x133617(0x241)](){var _0x572cf2=_0x133617,_0x5d93a9,_0x407110;const _0x232418=this[_0x572cf2(0x37c)][_0x572cf2(0x237)](Ur),_0x3d18a8=this[_0x572cf2(0x37c)][_0x572cf2(0x237)](Y);return(_0x407110=(_0x5d93a9=_0x3d18a8==null?void 0x0:_0x3d18a8[_0x572cf2(0x344)])!=null?_0x5d93a9:_0x232418)!=null?_0x407110:Ar;}[_0x133617(0x450)](){var _0x2083a2=_0x133617,_0x2af391;const _0x472a5f=this['_configService'][_0x2083a2(0x237)](Y);return(_0x2af391=_0x472a5f==null?void 0x0:_0x472a5f[_0x2083a2(0x279)])!=null?_0x2af391:location[_0x2083a2(0x2d1)];}['_replaceFileID'](_0x338e9d,_0x241b15){var _0x3bec1e=_0x133617;return _0x338e9d[_0x3bec1e(0x413)]('{fileID}',_0x241b15);}['_decreaseWaiting'](){var _0x159c6f=_0x133617;this[_0x159c6f(0x458)]-=0x1,this[_0x159c6f(0x362)]['next'](this['_waitCount']);}};Pt=Or([St(0x0,_0x1dc41d(_0x566212)),St(0x1,_0x387b00),St(0x2,_0x1dc41d(_0x23476a))],Pt);var xr=Object[_0x133617(0x275)],Lr=Object[_0x133617(0x22f)],Mr=(_0x294c30,_0x596f77,_0x61aafc,_0x200b9e)=>{var _0x59ee18=_0x133617;for(var _0x291dfe=_0x200b9e>0x1?void 0x0:_0x200b9e?Lr(_0x596f77,_0x61aafc):_0x596f77,_0x44c250=_0x294c30[_0x59ee18(0x2ec)]-0x1,_0x512953;_0x44c250>=0x0;_0x44c250--)(_0x512953=_0x294c30[_0x44c250])&&(_0x291dfe=(_0x200b9e?_0x512953(_0x596f77,_0x61aafc,_0x291dfe):_0x512953(_0x291dfe))||_0x291dfe);return _0x200b9e&&_0x291dfe&&xr(_0x596f77,_0x61aafc,_0x291dfe),_0x291dfe;},li=(_0x99daf6,_0x39c66b)=>(_0x5054d8,_0x1e10af)=>_0x39c66b(_0x5054d8,_0x1e10af,_0x99daf6);const $r=_0x133617(0x3f3);let Nt=class{constructor(_0x1198da,_0x29d145){var _0x10792c=_0x133617;this[_0x10792c(0x37c)]=_0x1198da,this[_0x10792c(0x45c)]=_0x29d145;}['_getAPIPrefixPath'](){var _0x118945=_0x133617,_0x4a8268,_0x5bd87d;const _0x433c85=this[_0x118945(0x37c)][_0x118945(0x237)](Di),_0x12af52=this[_0x118945(0x37c)][_0x118945(0x237)](Y);return(_0x5bd87d=(_0x4a8268=_0x12af52==null?void 0x0:_0x12af52[_0x118945(0x2ea)])!=null?_0x4a8268:_0x433c85)!=null?_0x5bd87d:$r;}async[_0x133617(0x319)](_0x5e6699){var _0x5913c5=_0x133617;const _0x2fc236=this[_0x5913c5(0x20b)]()+_0x5913c5(0x1ad);return{'list':[{'title':'People','mentions':(await this[_0x5913c5(0x45c)]['get'](_0x2fc236,{'params':{'objectID':_0x5e6699[_0x5913c5(0x28e)],'unitID':_0x5e6699[_0x5913c5(0x28e)]}}))[_0x5913c5(0x45b)][_0x5913c5(0x2cc)][_0x5913c5(0x339)](_0x42b76e=>({'objectId':_0x42b76e['id'],'name':_0x42b76e[_0x5913c5(0x230)][_0x5913c5(0x3c6)],'metadata':{'icon':_0x42b76e[_0x5913c5(0x230)][_0x5913c5(0x454)]},'label':_0x42b76e['subject']['name'],'objectType':_0x137850['PERSON']})),'metadata':{},'type':_0x137850['PERSON']}]};}};Nt=Mr([li(0x0,_0x1dc41d(_0x387b00)),li(0x1,_0x1dc41d(_0x566212))],Nt);var Hr=Object['defineProperty'],kr=Object[_0x133617(0x22f)],jr=(_0x1af36f,_0x3b99df,_0x41aa16,_0x20bf82)=>{var _0x202185=_0x133617;for(var _0x157b80=_0x20bf82>0x1?void 0x0:_0x20bf82?kr(_0x3b99df,_0x41aa16):_0x3b99df,_0x211964=_0x1af36f[_0x202185(0x2ec)]-0x1,_0x3874cd;_0x211964>=0x0;_0x211964--)(_0x3874cd=_0x1af36f[_0x211964])&&(_0x157b80=(_0x20bf82?_0x3874cd(_0x3b99df,_0x41aa16,_0x157b80):_0x3874cd(_0x157b80))||_0x157b80);return _0x20bf82&&_0x157b80&&Hr(_0x3b99df,_0x41aa16,_0x157b80),_0x157b80;},Se=(_0x16f943,_0x4aae7e)=>(_0x49b6a6,_0x3826b8)=>_0x4aae7e(_0x49b6a6,_0x3826b8,_0x16f943);let ct=class extends _0x2c04b2{constructor(_0x8c3fc0,_0x40474b,_0x420029,_0x37f842,_0x5988df,_0x55fad5,_0x3a9d31){var _0x4ee8e1=_0x133617;super(),this[_0x4ee8e1(0x1cc)]=_0x8c3fc0,this[_0x4ee8e1(0x206)]=_0x40474b,this['_permissionService']=_0x420029,this[_0x4ee8e1(0x2f5)]=_0x37f842,this[_0x4ee8e1(0x439)]=_0x5988df,this['_authzIoService']=_0x55fad5,this[_0x4ee8e1(0x287)]=_0x3a9d31,this[_0x4ee8e1(0x3f8)](),this[_0x4ee8e1(0x198)]();}['_initCloseConn'](){var _0x4ba23b=_0x133617;const _0x11add1=async _0x4fd062=>{var _0x5f2023=_0x338e;(await this[_0x5f2023(0x2f5)]['requireSession'](_0x4fd062))[_0x5f2023(0x225)][_0x5f2023(0x2a4)](_0x187f73(_0x579448=>_0x579448['eventID']===_0xef4ce6['SHOULD_CLOSE_CONN']),_0x5468ef(this[_0x5f2023(0x3a4)]))[_0x5f2023(0x438)](_0x583a76=>{var _0x2fc2e3=_0x5f2023;const _0x53eb8b=_0x583a76,{reason:_0x2a5b73}=_0x53eb8b[_0x2fc2e3(0x3b2)];this['_collaborationUIEventService'][_0x2fc2e3(0x3a3)]({'id':se[_0x2fc2e3(0x24a)],'data':_0x2a5b73}),this[_0x2fc2e3(0x427)][_0x2fc2e3(0x2e4)](new _0x4c611b(_0x4fd062)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x4fd062);});};_0x157496(this[_0x4ba23b(0x206)][_0x4ba23b(0x280)](_0x4b329a['UNIVER_SHEET']),this[_0x4ba23b(0x206)][_0x4ba23b(0x280)](_0x4b329a[_0x4ba23b(0x3d1)]))[_0x4ba23b(0x2a4)](_0xab3a8f(_0x50a304=>_0x50a304[_0x4ba23b(0x3e2)]()),_0x187f73(_0x4b941e=>!_0x587025(_0x4b941e)),_0x5468ef(this[_0x4ba23b(0x3a4)]))['subscribe'](_0x4d216f=>{_0x11add1(_0x4d216f);});}[_0x133617(0x3f8)](){var _0x56e81a=_0x133617;const _0x365a7f=async _0x2919d7=>{var _0x593d72=_0x338e;(await this[_0x593d72(0x2f5)][_0x593d72(0x3f4)](_0x2919d7))[_0x593d72(0x225)][_0x593d72(0x2a4)](_0x187f73(_0x2724cb=>_0x2724cb[_0x593d72(0x2b2)]===_0xef4ce6[_0x593d72(0x32e)]),_0x5468ef(this[_0x593d72(0x3a4)]))[_0x593d72(0x438)](_0x2aac94=>{var _0x1a079f=_0x593d72;const _0xfddbbe=_0x2aac94,{objectId:_0x102950}=_0xfddbbe['data'];_0x102950===_0x2919d7?this[_0x1a079f(0x41f)](_0x2919d7):this[_0x1a079f(0x1c9)](_0x2919d7,_0x102950);});};_0x157496(this[_0x56e81a(0x206)][_0x56e81a(0x280)](_0x4b329a[_0x56e81a(0x184)]),this[_0x56e81a(0x206)][_0x56e81a(0x280)](_0x4b329a[_0x56e81a(0x3d1)]))[_0x56e81a(0x2a4)](_0xab3a8f(_0xce42a5=>_0xce42a5['getUnitId']()),_0x187f73(_0x5f0039=>!_0x587025(_0x5f0039)),_0x5468ef(this[_0x56e81a(0x3a4)]))[_0x56e81a(0x438)](_0x1f2cd2=>{_0x365a7f(_0x1f2cd2);});}async[_0x133617(0x41f)](_0x574ed8){var _0x43e51d=_0x133617,_0x15bd0b;const _0xf649fe=_0x574ed8||((_0x15bd0b=this[_0x43e51d(0x206)][_0x43e51d(0x238)](_0x4b329a[_0x43e51d(0x184)]))==null?void 0x0:_0x15bd0b['getUnitId']());_0xf649fe&&this[_0x43e51d(0x376)][_0x43e51d(0x254)]({'objectID':_0xf649fe,'objectType':_0x4d688a[_0x43e51d(0x28a)],'unitID':_0xf649fe,'actions':_0x47b2b7})['then'](_0x3ce7f5=>{_0x158093()['forEach'](_0x4fd3ca=>{var _0x18957e=_0x338e;const _0x21a406=new _0x4fd3ca(_0xf649fe),_0xfa97b9=_0x21a406[_0x18957e(0x3ad)],_0x257c9f=_0x3ce7f5[_0x18957e(0x1b0)](_0x2504b3=>_0x2504b3[_0x18957e(0x1ce)]===_0xfa97b9);_0x257c9f&&this['_permissionService'][_0x18957e(0x2e4)](_0x21a406['id'],_0x257c9f[_0x18957e(0x254)]);});});}[_0x133617(0x1c9)](_0x4a5319,_0x118a3f){var _0x34ab8d=_0x133617;const _0x4432e6=this[_0x34ab8d(0x1cc)][_0x34ab8d(0x456)](_0x39b53c),_0x40ee10=_0x4432e6['getTargetByPermissionId'](_0x4a5319,_0x118a3f);let _0x3ad3cb=!0x1;if(_0x40ee10){const [_0x4392c9,_0x293ceb]=_0x40ee10;this[_0x34ab8d(0x376)][_0x34ab8d(0x254)]({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a['Worksheet'],'actions':_0x1a72fc})['then'](_0x511ff8=>{var _0x2ff34a=_0x34ab8d;let _0x33ea5c='';_0x476f0a()['forEach'](_0x2ef1ca=>{var _0x3c0160=_0x338e,_0xd2830e;const _0x582364=new _0x2ef1ca(_0x4a5319,_0x293ceb),_0x330867=_0x582364['subType'],_0x2b2248=_0x511ff8[_0x3c0160(0x1b0)](_0x49ba64=>_0x49ba64[_0x3c0160(0x1ce)]===_0x330867);_0x2b2248&&(((_0xd2830e=this[_0x3c0160(0x427)][_0x3c0160(0x209)](_0x582364['id']))==null?void 0x0:_0xd2830e[_0x3c0160(0x253)])!==_0x2b2248[_0x3c0160(0x254)]&&(_0x3ad3cb=!0x0),this[_0x3c0160(0x427)][_0x3c0160(0x2e4)](_0x582364['id'],_0x2b2248[_0x3c0160(0x254)]),_0x33ea5c+=_0x2b2248['action']+'_'+_0x2b2248[_0x3c0160(0x254)]);}),_0x4432e6[_0x2ff34a(0x1be)](_0x118a3f+'_'+_0x33ea5c),_0x3ad3cb&&this['_undoRedoService'][_0x2ff34a(0x1ae)](_0x4a5319);});}const _0x5276ff=this[_0x34ab8d(0x1cc)][_0x34ab8d(0x456)](_0x146216)[_0x34ab8d(0x2e5)](_0x4a5319,_0x118a3f);if(_0x5276ff){const [_0x462e73,_0x3c1187]=_0x5276ff;this[_0x34ab8d(0x376)]['allowed']({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a[_0x34ab8d(0x3ed)],'actions':_0x59ce61})['then'](_0x78861c=>{var _0x1c1052=_0x34ab8d;_0x2f65ed()[_0x1c1052(0x202)](_0x117e58=>{var _0x4b15cb=_0x1c1052,_0x14bc1c;const _0x5bf11c=new _0x117e58(_0x4a5319,_0x3c1187),_0x583b8d=_0x5bf11c[_0x4b15cb(0x3ad)],_0x4b0bee=_0x78861c[_0x4b15cb(0x1b0)](_0x3eb648=>_0x3eb648[_0x4b15cb(0x1ce)]===_0x583b8d);_0x4b0bee&&(((_0x14bc1c=this[_0x4b15cb(0x427)][_0x4b15cb(0x209)](_0x5bf11c['id']))==null?void 0x0:_0x14bc1c[_0x4b15cb(0x253)])!==_0x4b0bee[_0x4b15cb(0x254)]&&(_0x3ad3cb=!0x0),this[_0x4b15cb(0x427)][_0x4b15cb(0x2e4)](_0x5bf11c['id'],_0x4b0bee[_0x4b15cb(0x254)]));}),_0x3ad3cb&&this['_undoRedoService'][_0x1c1052(0x1ae)](_0x4a5319);});}const _0x13dc63=this[_0x34ab8d(0x1cc)]['get'](_0x30e8bd),_0x7df516=_0x13dc63[_0x34ab8d(0x2e5)](_0x4a5319,_0x118a3f);if(_0x7df516){const [_0x5278bb,_0x2d15f8]=_0x7df516;this[_0x34ab8d(0x376)]['allowed']({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a['SelectRange'],'actions':_0x1a72fc})['then'](_0x381ea4=>{var _0x2926c0=_0x34ab8d;let _0x4c06de='';_0x3abc76()[_0x2926c0(0x202)](_0x3300db=>{var _0x3b7bca=_0x2926c0,_0x104701;const _0x567cf8=new _0x3300db(_0x4a5319,_0x2d15f8,_0x118a3f),_0x2bc3c8=_0x567cf8[_0x3b7bca(0x3ad)],_0xbf0117=_0x381ea4['find'](_0x2f239c=>_0x2f239c[_0x3b7bca(0x1ce)]===_0x2bc3c8);_0xbf0117&&(((_0x104701=this[_0x3b7bca(0x427)][_0x3b7bca(0x209)](_0x567cf8['id']))==null?void 0x0:_0x104701['value'])!==_0xbf0117['allowed']&&(_0x3ad3cb=!0x0),this['_permissionService'][_0x3b7bca(0x2e4)](_0x567cf8['id'],_0xbf0117[_0x3b7bca(0x254)]),_0x4c06de+=_0xbf0117[_0x3b7bca(0x1ce)]+'_'+_0xbf0117['allowed']);}),_0x13dc63[_0x2926c0(0x1be)](_0x118a3f+'_'+_0x4c06de),_0x3ad3cb&&this[_0x2926c0(0x287)]['clearUndoRedo'](_0x4a5319);});}}};ct=jr([Se(0x0,_0x1dc41d(_0x485aa2)),Se(0x1,_0x23476a),Se(0x2,_0x113cc3),Se(0x3,_0x1dc41d(Me)),Se(0x4,_0x1dc41d(pe)),Se(0x5,_0x14700c),Se(0x6,_0x2c523a)],ct);var Br=Object[_0x133617(0x275)],Fr=Object[_0x133617(0x22f)],Vr=(_0x45bc8c,_0x3b8041,_0xdccbee,_0x3ee418)=>{for(var _0x2deb8b=_0x3ee418>0x1?void 0x0:_0x3ee418?Fr(_0x3b8041,_0xdccbee):_0x3b8041,_0x259ac6=_0x45bc8c['length']-0x1,_0x1bca61;_0x259ac6>=0x0;_0x259ac6--)(_0x1bca61=_0x45bc8c[_0x259ac6])&&(_0x2deb8b=(_0x3ee418?_0x1bca61(_0x3b8041,_0xdccbee,_0x2deb8b):_0x1bca61(_0x2deb8b))||_0x2deb8b);return _0x3ee418&&_0x2deb8b&&Br(_0x3b8041,_0xdccbee,_0x2deb8b),_0x2deb8b;},ui=(_0x2cf4af,_0x4162dc)=>(_0x25b641,_0x1c77a3)=>_0x4162dc(_0x25b641,_0x1c77a3,_0x2cf4af);let Dt=class{constructor(_0x2f1368,_0xb2c462){var _0x5235ca=_0x133617;this['_configService']=_0x2f1368,this[_0x5235ca(0x3fb)]=_0xb2c462;}async[_0x133617(0x430)](_0x4aed91,_0x42bfb9){var _0x30ae94=_0x133617,_0x54894b;const {unitID:_0x369077,type:_0x1815f7,revision:_0x7e5899=0x0}=_0x42bfb9,_0x151c8c=this[_0x30ae94(0x2e9)]()+'/'+_0x1815f7+'/unit/'+_0x369077+_0x30ae94(0x402)+_0x7e5899,_0x525e38=(await this[_0x30ae94(0x3fb)]['get'](_0x151c8c))[_0x30ae94(0x45b)],_0x1a49cb=(_0x54894b=_0x525e38[_0x30ae94(0x2bd)])==null?void 0x0:_0x54894b[_0x30ae94(0x32a)];if(_0x1a49cb){const _0x5a587b=_0x1a49cb==null?void 0x0:_0x1a49cb[_0x30ae94(0x3bd)],_0x12190d=_0x35d930[_0x30ae94(0x17a)](_0x82e599(_0x5a587b));_0x1a49cb[_0x30ae94(0x3bd)]=_0x12190d,Object[_0x30ae94(0x419)](_0x1a49cb[_0x30ae94(0x3f5)])[_0x30ae94(0x202)](([,_0x5e7c2e])=>{var _0x37a4b7=_0x30ae94;const _0xb50f7d=_0x5e7c2e['originalMeta'],_0x269848=_0x35d930[_0x37a4b7(0x17a)](_0x82e599(_0xb50f7d));_0x5e7c2e[_0x37a4b7(0x3bd)]=_0x269848;});}return _0x525e38;}async[_0x133617(0x41a)](_0x98bb8f,_0x33dcdc){var _0x466fcd=_0x133617;const {unitID:_0x146d81,type:_0x361e35,blockID:_0x191529}=_0x33dcdc,_0x50cc31=this[_0x466fcd(0x298)]()+'/'+_0x361e35+_0x466fcd(0x2ff)+_0x146d81+_0x466fcd(0x186)+_0x191529;return(await this[_0x466fcd(0x3fb)][_0x466fcd(0x456)](_0x50cc31))['body'];}async[_0x133617(0x37a)](_0x101124,_0x24e775){var _0x3f825c=_0x133617;const {unitID:_0x32ee2c,type:_0x826d49,blockID:_0x115b5b}=_0x24e775,_0x11f9e9=this[_0x3f825c(0x298)]()+_0x3f825c(0x186)+_0x826d49+_0x3f825c(0x2ff)+_0x32ee2c+_0x3f825c(0x186)+_0x115b5b;return(await this[_0x3f825c(0x3fb)][_0x3f825c(0x456)](_0x11f9e9))[_0x3f825c(0x45b)];}async[_0x133617(0x1f5)](_0x3fc977,_0x5e5d0d){var _0x1c52a2=_0x133617;const {unitID:_0x4fdd58,type:_0x345a49,from:_0x2a4dea,to:_0x178576}=_0x5e5d0d,_0x4a9584=this[_0x1c52a2(0x298)]()+'/'+_0x345a49+_0x1c52a2(0x2ff)+_0x4fdd58+_0x1c52a2(0x1f2)+_0x2a4dea+_0x1c52a2(0x424)+_0x178576;return(await this[_0x1c52a2(0x3fb)][_0x1c52a2(0x456)](_0x4a9584))[_0x1c52a2(0x45b)];}[_0x133617(0x2e9)](){var _0x3630c6=_0x133617,_0xa30318;return(_0xa30318=this['_configService'][_0x3630c6(0x237)](Dn))!=null?_0xa30318:this[_0x3630c6(0x298)]();}['_getAPIPrefix'](){var _0xa738c3=_0x133617,_0x2b6dbc,_0x340c36;const _0x272383=this[_0xa738c3(0x37c)][_0xa738c3(0x237)](Pn),_0x1d3b15=this[_0xa738c3(0x37c)][_0xa738c3(0x237)](Y);return(_0x340c36=(_0x2b6dbc=_0x1d3b15==null?void 0x0:_0x1d3b15[_0xa738c3(0x41d)])!=null?_0x2b6dbc:_0x272383)!=null?_0x340c36:Nn;}async[_0x133617(0x26b)](_0x478ec6,_0x56341e){var _0x3365ef=_0x133617;const _0x126c90=_0x3365ef(0x2aa)+_0x56341e['type']+'/unit/'+_0x56341e[_0x3365ef(0x1c7)]+_0x3365ef(0x44e);return(await this[_0x3365ef(0x3fb)][_0x3365ef(0x456)](_0x126c90,{'params':{'resourceId':JSON['stringify'](_0x56341e[_0x3365ef(0x3a0)])}}))[_0x3365ef(0x45b)];}[_0x133617(0x2a2)](){var _0x5281cc=_0x133617;throw new Error(_0x5281cc(0x437));}['saveSheetBlock'](){var _0x42ee9a=_0x133617;throw new Error(_0x42ee9a(0x437));}[_0x133617(0x3c1)](){var _0x143cec=_0x133617;throw new Error(_0x143cec(0x437));}[_0x133617(0x1de)](){var _0x50dcc1=_0x133617;throw new Error(_0x50dcc1(0x437));}[_0x133617(0x400)](){var _0xc30dcf=_0x133617;throw new Error(_0xc30dcf(0x437));}};Dt=Vr([ui(0x0,_0x387b00),ui(0x1,_0x1dc41d(_0x566212))],Dt);var Wr=Object[_0x133617(0x275)],Gr=Object[_0x133617(0x22f)],Kr=(_0x5a2160,_0x31a92a,_0x291d8a,_0x298564)=>{var _0x4f6df2=_0x133617;for(var _0x515b2d=_0x298564>0x1?void 0x0:_0x298564?Gr(_0x31a92a,_0x291d8a):_0x31a92a,_0x445dff=_0x5a2160[_0x4f6df2(0x2ec)]-0x1,_0x45b2da;_0x445dff>=0x0;_0x445dff--)(_0x45b2da=_0x5a2160[_0x445dff])&&(_0x515b2d=(_0x298564?_0x45b2da(_0x31a92a,_0x291d8a,_0x515b2d):_0x45b2da(_0x515b2d))||_0x515b2d);return _0x298564&&_0x515b2d&&Wr(_0x31a92a,_0x291d8a,_0x515b2d),_0x515b2d;},Ue=(_0x39a66f,_0x2c6bd4)=>(_0x2b6345,_0x499ec7)=>_0x2c6bd4(_0x2b6345,_0x499ec7,_0x39a66f);let wt=class extends _0x198a18{constructor(_0x3dde71,_0x276e79,_0x282bec,_0xf5f280,_0x28e60f){var _0x2b0066=_0x133617;super(_0x3dde71,_0x276e79,_0x282bec),this[_0x2b0066(0x432)]=_0xf5f280,this[_0x2b0066(0x3f1)]=_0x28e60f;}[_0x133617(0x19d)](_0x490bb5,_0x48868c){var _0x290985=_0x133617;const _0x370dd4=this[_0x290985(0x2ce)](_0x490bb5);if(_0x370dd4)try{const _0x59c3f2=this[_0x290985(0x1dc)](_0x370dd4,_0x48868c);this[_0x290985(0x410)](_0x490bb5,_0x59c3f2);}catch(_0x6e70e8){this[_0x290985(0x3f1)][_0x290985(0x36e)](_0x290985(0x2dc),_0x6e70e8),this[_0x290985(0x1a6)](_0x490bb5);}const _0x5104e6=this['_getRedoStack'](_0x490bb5);if(_0x5104e6)try{const _0x1096a2=this['_transformStack'](_0x5104e6,_0x48868c);this[_0x290985(0x1f7)](_0x490bb5,_0x1096a2);}catch(_0x246e2c){this[_0x290985(0x3f1)][_0x290985(0x36e)](_0x246e2c),this[_0x290985(0x312)](_0x490bb5);}}[_0x133617(0x1a6)](_0x302a2c){var _0x4c5116=_0x133617;const _0x2126e8=this[_0x4c5116(0x2ce)](_0x302a2c);_0x2126e8&&(_0x2126e8[_0x4c5116(0x2ec)]=0x0,this[_0x4c5116(0x3fd)]());}[_0x133617(0x312)](_0xd333eb){var _0x2b13c9=_0x133617;const _0x55fcd7=this[_0x2b13c9(0x2f6)](_0xd333eb);_0x55fcd7&&(_0x55fcd7[_0x2b13c9(0x2ec)]=0x0,this[_0x2b13c9(0x3fd)]());}[_0x133617(0x410)](_0x1cc5d2,_0x3801c7){this['_undoStacks']['set'](_0x1cc5d2,_0x3801c7),this['_updateStatus']();}[_0x133617(0x1f7)](_0x3731d6,_0x28bcd3){var _0x33e642=_0x133617;this[_0x33e642(0x1fd)][_0x33e642(0x2dd)](_0x3731d6,_0x28bcd3),this[_0x33e642(0x3fd)]();}[_0x133617(0x1dc)](_0x4f5f81,_0x5ed08d){var _0xe4b43a=_0x133617;const _0x499077=[];let _0x1fc23b=_0x5ed08d,_0x3985ce=_0x5ed08d;for(let _0x17a76a=_0x4f5f81['length']-0x1;_0x17a76a>=0x0;_0x17a76a--){const {unitID:_0x3f6520,undoMutations:_0x4665f5,redoMutations:_0x25c04c}=_0x4f5f81[_0x17a76a],_0x33ddae=this[_0xe4b43a(0x432)][_0xe4b43a(0x1d0)](_0x1fc23b,_0x4665f5),_0x2eef94=this[_0xe4b43a(0x432)][_0xe4b43a(0x1d0)](_0x3985ce,_0x25c04c);if(_0x25ac26(_0x33ddae)||_0x25ac26(_0x2eef94)){this[_0xe4b43a(0x3f1)][_0xe4b43a(0x36e)]('[CollaborationUndoRedoService]',_0xe4b43a(0x2ac),_0x33ddae,_0x2eef94);break;}_0x1fc23b=_0x33ddae[_0xe4b43a(0x307)],_0x3985ce=_0x2eef94[_0xe4b43a(0x307)],_0x499077[_0xe4b43a(0x387)]({'unitID':_0x3f6520,'undoMutations':_0x33ddae[_0xe4b43a(0x1cb)],'redoMutations':_0x2eef94[_0xe4b43a(0x1cb)]});}return _0x499077[_0xe4b43a(0x39b)]();}};wt=Kr([Ue(0x0,_0x23476a),Ue(0x1,_0x3a3afb),Ue(0x2,_0x42c599),Ue(0x3,_0x4915cb),Ue(0x4,_0x9980c2)],wt);var xi=Object[_0x133617(0x275)],zr=Object['getOwnPropertyDescriptor'],Yr=(_0x14ee21,_0x35098e,_0x5019cc)=>_0x35098e in _0x14ee21?xi(_0x14ee21,_0x35098e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5019cc}):_0x14ee21[_0x35098e]=_0x5019cc,qr=(_0x3707af,_0xf6b90c,_0x2c11d3,_0x1e0429)=>{var _0x2f14ab=_0x133617;for(var _0x576b51=_0x1e0429>0x1?void 0x0:_0x1e0429?zr(_0xf6b90c,_0x2c11d3):_0xf6b90c,_0x3d9a07=_0x3707af[_0x2f14ab(0x2ec)]-0x1,_0x320b3b;_0x3d9a07>=0x0;_0x3d9a07--)(_0x320b3b=_0x3707af[_0x3d9a07])&&(_0x576b51=(_0x1e0429?_0x320b3b(_0xf6b90c,_0x2c11d3,_0x576b51):_0x320b3b(_0x576b51))||_0x576b51);return _0x1e0429&&_0x576b51&&xi(_0xf6b90c,_0x2c11d3,_0x576b51),_0x576b51;},Et=(_0x4b488f,_0x4d34ea)=>(_0x39f61c,_0x3e96ac)=>_0x4d34ea(_0x39f61c,_0x3e96ac,_0x4b488f),Jr=(_0x3947fc,_0x16f0e8,_0x11269e)=>Yr(_0x3947fc,_0x16f0e8+'',_0x11269e);const Xr=_0x133617(0x2f8);let Ut=class extends _0x91ca3{constructor(_0x5221e3=Wn,_0x35a046,_0x2e02f8,_0x4d3aa1){var _0x20b79f=_0x133617;super(),this[_0x20b79f(0x299)]=_0x5221e3,this[_0x20b79f(0x3f1)]=_0x35a046,this[_0x20b79f(0x1cc)]=_0x2e02f8,this['_configService']=_0x4d3aa1;const {..._0x298335}=this[_0x20b79f(0x299)];this[_0x20b79f(0x37c)][_0x20b79f(0x215)](Y,_0x298335);}[_0x133617(0x22b)](){var _0xd58bb9=_0x133617;this[_0xd58bb9(0x221)](),this['_initDependencies']();}[_0x133617(0x221)](){var _0x2b57fc=_0x133617,_0x26356e,_0x220ae5,_0xfcc9bc,_0x20ada6;this[_0x2b57fc(0x1cc)][_0x2b57fc(0x29e)](_0x2c523a)&&this[_0x2b57fc(0x3f1)]['error'](_0x2b57fc(0x192),_0x2b57fc(0x179));const _0x12de07=_0x3f2ea0([[_0x2c523a,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x220ae5=(_0x26356e=this[_0x2b57fc(0x299)])==null?void 0x0:_0x26356e[_0x2b57fc(0x1b1)])!=null?_0x220ae5:It}],[_0x36001d,{'useClass':Dt}],[_0x14700c,{'useClass':yt}],[_0x4bb744,{'useClass':Pt}],[_0xe7468f,{'useClass':Nt}],[rt],[Rt]],(_0xfcc9bc=this[_0x2b57fc(0x299)])==null?void 0x0:_0xfcc9bc['override']);if(!((_0x20ada6=this[_0x2b57fc(0x299)])!=null&&_0x20ada6[_0x2b57fc(0x2d6)])){const _0x540441=_0x12de07[_0x2b57fc(0x1e1)](([_0x4a49a8])=>_0x4a49a8===_t);_0x540441!==-0x1&&_0x12de07['splice'](_0x540441,0x1);}_0x1b4978(this[_0x2b57fc(0x1cc)],_0x12de07);}['_initDependencies'](){var _0x29389c=_0x133617,_0x4ed57d,_0x6f0b16,_0x1c2718;this[_0x29389c(0x1cc)][_0x29389c(0x456)](_0x566212)[_0x29389c(0x1a3)]({'priority':0x14,'interceptor':_0x518aa4({'maxParallel':0x6})}),(_0x4ed57d=this['_config'])!=null&&_0x4ed57d['enableOfflineEditing']||(_0x6f0b16=this['_injector'][_0x29389c(0x456)](X,_0x48e2f0[_0x29389c(0x31a)]))==null||_0x6f0b16[_0x29389c(0x433)](),(_0x1c2718=this[_0x29389c(0x299)])!=null&&_0x1c2718[_0x29389c(0x2a3)]&&_0x5b52da(this[_0x29389c(0x1cc)],[[ot]]),_0x5b52da(this[_0x29389c(0x1cc)],[[at],[rt],[ct]]);}};Jr(Ut,_0x133617(0x2f0),Xr),Ut=qr([_0x4b1631(_0x54914a,_0x8011e7,_0x51ff62),Et(0x1,_0x9980c2),Et(0x2,_0x1dc41d(_0x485aa2)),Et(0x3,_0x387b00)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
1
+ var _0x7744bf=_0x186f;(function(_0x5a6834,_0x51c2b2){var _0x44e57a=_0x186f,_0x2c1aca=_0x5a6834();while(!![]){try{var _0xf759c1=-parseInt(_0x44e57a(0x21d))/0x1+-parseInt(_0x44e57a(0x374))/0x2*(-parseInt(_0x44e57a(0x1e3))/0x3)+-parseInt(_0x44e57a(0x2f2))/0x4+-parseInt(_0x44e57a(0x236))/0x5*(-parseInt(_0x44e57a(0x4b1))/0x6)+parseInt(_0x44e57a(0x3b4))/0x7+-parseInt(_0x44e57a(0x46c))/0x8+-parseInt(_0x44e57a(0x2e2))/0x9;if(_0xf759c1===_0x51c2b2)break;else _0x2c1aca['push'](_0x2c1aca['shift']());}catch(_0x58cade){_0x2c1aca['push'](_0x2c1aca['shift']());}}}(_0x37d6,0xe57ee));var Li=Object[_0x7744bf(0x467)],Mi=(_0x36f7d2,_0x420002,_0x32720b)=>_0x420002 in _0x36f7d2?Li(_0x36f7d2,_0x420002,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32720b}):_0x36f7d2[_0x420002]=_0x32720b,D=(_0x310b18,_0x5a2980,_0x462e3c)=>Mi(_0x310b18,typeof _0x5a2980!=_0x7744bf(0x2ea)?_0x5a2980+'':_0x5a2980,_0x462e3c);import{createIdentifier as _0x1a6a69,Inject as _0x46f2f9,Injector as _0x6d28a0,Disposable as _0x3a9433,DisposableCollection as _0x50421a,toDisposable as _0x52f3e6,IConfigService as _0x387952,ILogService as _0x36e00a,UserManagerService as _0x1b5f6d,UniverInstanceType as _0x2a4642,IUniverInstanceService as _0x464ce2,LocaleService as _0x12cbe1,Optional as _0x49cb22,RxDisposable as _0x2bcc2a,Tools as _0x5e5c0f,Rectangle as _0x39d323,ICommandService as _0x516aa5,JSONX as _0x5df531,CommandType as _0x144f12,IPermissionService as _0x13c615,IUndoRedoService as _0x9d8c79,sequenceExecute as _0x5c4007,Workbook as _0x350e40,MentionType as _0x327ba5,IAuthzIoService as _0x1ee191,isInternalEditorID as _0x2f8e06,LocalUndoRedoService as _0xf0a0f5,IContextService as _0x23fef3,DependentOn as _0x5cb19f,Plugin as _0x52b996,mergeOverrideWithDependencies as _0x1d2c77,IMentionIOService as _0x58ab21,registerDependencies as _0x2ea877,Quantity as _0x979c86,touchDependencies as _0xf35e8a}from'@univerjs/core';import{Subject as _0x14ccc3,merge as _0x2a7ebf,takeUntil as _0x31e53b,BehaviorSubject as _0xb58407,ReplaySubject as _0x54f6c6,take as _0x7624a7,map as _0xbab8e0,shareReplay as _0x170902,of as _0x1431f5,firstValueFrom as _0x22410a,concatMap as _0x18e9f5}from'rxjs';import{map as _0x30311a,take as _0x5efdec,filter as _0x43efb4,delay as _0x344cd0,takeUntil as _0x95d7f9}from'rxjs/operators';import{HTTPService as _0x381081,ISocketService as _0x45bfe5,MergeInterceptorFactory as _0x28263,HTTPRequest as _0x1b1026,UniverNetworkPlugin as _0xfa3287,ThresholdInterceptorFactory as _0x3356b4}from'@univerjs/network';import{CollaborationEvent as _0x51c9a6,parseChangesetToProtocol as _0x27f427,ISnapshotServerService as _0x1f721a,isTransformMutationsWithChangesetSuccess as _0x17cb2d,ITransformService as _0x58398b,mapDocumentTypeToUniverType as _0x2f4300,RevisionService as _0x4d4128,isTransformChangesetsSuccess as _0xee5c1,CompressMutationService as _0xac8eba,parseProtocolChangeset as _0x35a1d5,SnapshotService as _0x1907ed,textEncoder as _0x76656b,b64DecodeUnicode as _0x2f6335,isTransformMutationsWithChangesetFailure as _0x39d485,UniverCollaborationPlugin as _0xf79136}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xc6cc18}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2814bb}from'@univerjs/docs';import{SheetsSelectionsService as _0x406fca,SetSelectionsOperation as _0x2f169f,InsertSheetMutation as _0x1d24a8,EmptyMutation as _0x7de1c0,WorkbookEditablePermission as _0x5a0758,UnitObject as _0x9bd791,defaultWorkbookPermissionPoints as _0x592193,getAllWorkbookPermissionPoint as _0x37d376,WorksheetProtectionRuleModel as _0x363773,baseProtectionActions as _0x2ab551,getAllWorksheetPermissionPoint as _0x575e9e,WorksheetProtectionPointModel as _0x409b8a,defaultWorksheetPermissionPoint as _0x215618,getAllWorksheetPermissionPointByPointPanel as _0x45b1a2,RangeProtectionRuleModel as _0x453f5e,getAllRangePermissionPoint as _0x47ec90,UniverSheetsPlugin as _0x1c5226}from'@univerjs/sheets';import{ImageSourceType as _0x2483ce,ImageUploadStatusType as _0xf0db03,IImageIoService as _0x3ee0a8}from'@univerjs/drawing';import{getGlobalObject as _0x45cd4f}from'@univerjs-pro/license';const Pn=_0x7744bf(0x3af),Nn=_0x7744bf(0x327),Dn=_0x7744bf(0x350),ho=_0x7744bf(0x1e9),wn=0x7d0,Un=_0x7744bf(0x354),An=_0x7744bf(0x304),xn=_0x7744bf(0x4ac),Ln=_0x7744bf(0x1c7),Mn=0x7530,Si=_0x7744bf(0x3d4),Ei=0x4e20,$n=0x4e20,Hn=_0x7744bf(0x35b),kn=0x3,_o=_0x7744bf(0x2ae),lo=0x3e8,jn=_0x7744bf(0x22d),Bn=_0x7744bf(0x376),Fn=_0x7744bf(0x201),Vn=_0x7744bf(0x426);var Ii=(_0x4e09b8=>(_0x4e09b8[_0x4e09b8[_0x7744bf(0x314)]=0x0]='UNDEFINED',_0x4e09b8[_0x4e09b8['OK']=0x1]='OK',_0x4e09b8[_0x4e09b8[_0x7744bf(0x212)]=0x2]='INTERNAL_ERROR',_0x4e09b8[_0x4e09b8[_0x7744bf(0x343)]=0x3]=_0x7744bf(0x343),_0x4e09b8[_0x4e09b8['NOT_FOUND']=0x4]=_0x7744bf(0x38a),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4b2)]=0x5]=_0x7744bf(0x4b2),_0x4e09b8[_0x4e09b8[_0x7744bf(0x3ab)]=0x6]=_0x7744bf(0x3ab),_0x4e09b8[_0x4e09b8[_0x7744bf(0x32e)]=0x7]='INVALID_ARGUMENT',_0x4e09b8[_0x4e09b8[_0x7744bf(0x33c)]=0x8]=_0x7744bf(0x33c),_0x4e09b8[_0x4e09b8[_0x7744bf(0x48f)]=0x9]=_0x7744bf(0x48f),_0x4e09b8[_0x4e09b8[_0x7744bf(0x215)]=0x1389]=_0x7744bf(0x215),_0x4e09b8[_0x4e09b8[_0x7744bf(0x20b)]=0x1771]=_0x7744bf(0x20b),_0x4e09b8[_0x4e09b8[_0x7744bf(0x43e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e09b8[_0x4e09b8[_0x7744bf(0x2b9)]=0x1773]=_0x7744bf(0x2b9),_0x4e09b8[_0x4e09b8[_0x7744bf(0x203)]=0x1b59]='APPLY_REJECT',_0x4e09b8[_0x4e09b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4e09b8[_0x4e09b8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x7744bf(0x288),_0x4e09b8[_0x4e09b8[_0x7744bf(0x36c)]=0x1b5c]=_0x7744bf(0x36c),_0x4e09b8[_0x4e09b8[_0x7744bf(0x295)]=0x1b5d]=_0x7744bf(0x295),_0x4e09b8[_0x4e09b8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4e09b8[_0x4e09b8[_0x7744bf(0x2eb)]=0x2329]=_0x7744bf(0x2eb),_0x4e09b8[_0x4e09b8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x7744bf(0x406),_0x4e09b8[_0x4e09b8[_0x7744bf(0x291)]=0x232b]=_0x7744bf(0x291),_0x4e09b8[_0x4e09b8[_0x7744bf(0x2b1)]=0x232c]=_0x7744bf(0x2b1),_0x4e09b8[_0x4e09b8[_0x7744bf(0x24f)]=0x232d]=_0x7744bf(0x24f),_0x4e09b8[_0x4e09b8[_0x7744bf(0x2fb)]=0x2711]=_0x7744bf(0x2fb),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4ab)]=0x2712]=_0x7744bf(0x4ab),_0x4e09b8[_0x4e09b8[_0x7744bf(0x284)]=0x2713]=_0x7744bf(0x284),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4ad)]=0x2714]=_0x7744bf(0x4ad),_0x4e09b8[_0x4e09b8[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x4e09b8))(Ii||{}),Q=(_0x1b7949=>(_0x1b7949[_0x1b7949[_0x7744bf(0x275)]=0x0]=_0x7744bf(0x275),_0x1b7949[_0x1b7949['UNIVER_DOC']=0x1]=_0x7744bf(0x457),_0x1b7949[_0x1b7949[_0x7744bf(0x49a)]=0x2]=_0x7744bf(0x49a),_0x1b7949[_0x1b7949[_0x7744bf(0x3b8)]=0x3]=_0x7744bf(0x3b8),_0x1b7949[_0x1b7949[_0x7744bf(0x1fc)]=0x4]=_0x7744bf(0x1fc),_0x1b7949[_0x1b7949[_0x7744bf(0x25b)]=-0x1]='UNRECOGNIZED',_0x1b7949))(Q||{}),F=(_0x69103c=>(_0x69103c[_0x69103c[_0x7744bf(0x23f)]=0x0]=_0x7744bf(0x23f),_0x69103c[_0x69103c[_0x7744bf(0x281)]=0x1]=_0x7744bf(0x281),_0x69103c[_0x69103c[_0x7744bf(0x2c4)]=0x2]='JOIN',_0x69103c[_0x69103c[_0x7744bf(0x394)]=0x3]=_0x7744bf(0x394),_0x69103c[_0x69103c[_0x7744bf(0x3aa)]=0x4]=_0x7744bf(0x3aa),_0x69103c[_0x69103c[_0x7744bf(0x320)]=0x5]=_0x7744bf(0x320),_0x69103c[_0x69103c[_0x7744bf(0x310)]=0x6]='RECV',_0x69103c[_0x69103c[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x69103c))(F||{}),Ee=(_0x8accc6=>(_0x8accc6[_0x8accc6[_0x7744bf(0x31c)]=0x0]=_0x7744bf(0x31c),_0x8accc6[_0x8accc6['OK']=0x1]='OK',_0x8accc6[_0x8accc6['FAIL']=0x2]=_0x7744bf(0x1bb),_0x8accc6[_0x8accc6['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x8accc6[_0x8accc6[_0x7744bf(0x4b0)]=0x3ea]=_0x7744bf(0x4b0),_0x8accc6[_0x8accc6[_0x7744bf(0x1fa)]=0x3eb]=_0x7744bf(0x1fa),_0x8accc6[_0x8accc6[_0x7744bf(0x2d3)]=0x3ec]=_0x7744bf(0x2d3),_0x8accc6[_0x8accc6[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x8accc6))(Ee||{}),Ti=(_0x277ea0=>(_0x277ea0[_0x277ea0[_0x7744bf(0x293)]=0x0]='Undefined',_0x277ea0[_0x277ea0[_0x7744bf(0x228)]=0x1]=_0x7744bf(0x228),_0x277ea0[_0x277ea0[_0x7744bf(0x415)]=0x2]=_0x7744bf(0x415),_0x277ea0[_0x277ea0[_0x7744bf(0x393)]=0x3]=_0x7744bf(0x393),_0x277ea0[_0x277ea0[_0x7744bf(0x492)]=0x4]=_0x7744bf(0x492),_0x277ea0[_0x277ea0[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x277ea0))(Ti||{});const Y=_0x7744bf(0x3c7),Wn={};var se=(_0x5832b1=>(_0x5832b1['OTHER_CLIENT_EDITING']=_0x7744bf(0x464),_0x5832b1[_0x7744bf(0x343)]=_0x7744bf(0x343),_0x5832b1[_0x7744bf(0x408)]='CONFLICT',_0x5832b1[_0x7744bf(0x4a0)]=_0x7744bf(0x4a0),_0x5832b1[_0x7744bf(0x2e8)]=_0x7744bf(0x2e8),_0x5832b1[_0x7744bf(0x39c)]=_0x7744bf(0x39c),_0x5832b1[_0x7744bf(0x346)]=_0x7744bf(0x346),_0x5832b1[_0x7744bf(0x1d7)]=_0x7744bf(0x1d7),_0x5832b1))(se||{});class pe{constructor(){var _0x268956=_0x7744bf;D(this,'_event$',new _0x14ccc3()),D(this,'event$',this[_0x268956(0x3ed)]['asObservable']());}[_0x7744bf(0x32a)](_0x2cdef0){var _0x71414c=_0x7744bf;this[_0x71414c(0x3ed)]['next'](_0x2cdef0);}}const Gn=_0x1a6a69(_0x7744bf(0x22a));function Kn(_0x387442){var _0x5de0f0=_0x7744bf,_0x575304,_0x3ccd0a,_0x360668,_0x2dd983,_0x1319d2;const _0x5acda6=_0x387442[_0x5de0f0(0x432)],_0x1d36d1=JSON[_0x5de0f0(0x429)](_0x5acda6);switch(_0x1d36d1[_0x5de0f0(0x240)]){case F[_0x5de0f0(0x320)]:case F[_0x5de0f0(0x281)]:{const _0x58c210=_0x1d36d1[_0x5de0f0(0x3df)];return{..._0x1d36d1,'data':_0x58c210,'cmd':_0x1d36d1['cmd']};}case F[_0x5de0f0(0x2c4)]:{const _0x4b90cc=_0x1d36d1[_0x5de0f0(0x449)];return{..._0x1d36d1,'data':_0x4b90cc,'cmd':_0x1d36d1[_0x5de0f0(0x240)]};}case F[_0x5de0f0(0x310)]:{const _0x422194=_0x1d36d1[_0x5de0f0(0x321)];switch(_0x422194['eventID']){case _0x51c9a6[_0x5de0f0(0x2af)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x575304=_0x422194[_0x5de0f0(0x340)])==null?void 0x0:_0x575304['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x401)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x3ccd0a=_0x422194['csAckEvent'])==null?void 0x0:_0x3ccd0a['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x45e)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x360668=_0x422194['newCsEvent'])==null?void 0x0:_0x360668['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2f7)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x2dd983=_0x422194[_0x5de0f0(0x44f)])==null?void 0x0:_0x2dd983['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2dc)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x1319d2=_0x422194[_0x5de0f0(0x36f)])==null?void 0x0:_0x1319d2['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6['UPDATE_CURSOR']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['updateCursorEvent']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x29b)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x3e6)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2ce)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x469)]},'cmd':_0x1d36d1['cmd']};case _0x51c9a6['LIVESHARE_NEW_HOST']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x29e)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x315)]:case _0x51c9a6[_0x5de0f0(0x2a8)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x474)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x3e8)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['liveShareNewHost']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x251)]:return{..._0x1d36d1,'data':_0x422194,'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x202)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x45d)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2a1)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x1b4)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6['SHOULD_CLOSE_CONN']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['shouldCloseConn']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};default:return _0x1d36d1;}}default:return _0x1d36d1;}}function zn(_0x10920f){var _0x2f4552=_0x7744bf;switch(_0x10920f['cmd']){case F[_0x2f4552(0x320)]:case F['HELLO']:return JSON[_0x2f4552(0x48c)]({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)]});case F[_0x2f4552(0x3aa)]:{let _0xff65f2;switch(_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x1e1)]){case _0x51c9a6['UPDATE_CURSOR']:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x44c)],'updateCursorEvent':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x2ce)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x2ce)],'leaveEvent':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x29b)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x29b)],'joinEvent':_0x10920f['data'][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x47c)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x47c)],'liveShareNewHost':_0x10920f[_0x2f4552(0x432)]['data']};break;}case _0x51c9a6['LIVESHARE_OPERATION']:{_0xff65f2={'eventID':_0x51c9a6['LIVESHARE_OPERATION'],'liveShareOperation':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6['LIVESHARE_TERMINATE']:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x3e8)],'liveShareTerminate':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x477)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x477)],'liveShareRequestHost':_0x10920f[_0x2f4552(0x432)]['data']};break;}case _0x51c9a6[_0x2f4552(0x315)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x315)]};break;}default:_0xff65f2={'eventID':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x1e1)]};}return JSON['stringify']({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)],'collaMsg':_0xff65f2});}case F['JOIN']:return JSON[_0x2f4552(0x48c)]({'cmd':_0x10920f['cmd'],'routeKey':_0x10920f['routeKey'],'joinReq':_0x10920f[_0x2f4552(0x432)]});case F[_0x2f4552(0x394)]:return JSON['stringify']({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)],'leaveReq':_0x10920f[_0x2f4552(0x432)]});default:throw new Error(_0x2f4552(0x28d));}}var Yn=Object[_0x7744bf(0x467)],qn=Object[_0x7744bf(0x1c0)],Jn=(_0x2df000,_0xd0fc79,_0x4c6cad,_0x487cd2)=>{var _0x4e47dd=_0x7744bf;for(var _0x2526af=_0x487cd2>0x1?void 0x0:_0x487cd2?qn(_0xd0fc79,_0x4c6cad):_0xd0fc79,_0x578b26=_0x2df000[_0x4e47dd(0x1db)]-0x1,_0x21024b;_0x578b26>=0x0;_0x578b26--)(_0x21024b=_0x2df000[_0x578b26])&&(_0x2526af=(_0x487cd2?_0x21024b(_0xd0fc79,_0x4c6cad,_0x2526af):_0x21024b(_0x2526af))||_0x2526af);return _0x487cd2&&_0x2526af&&Yn(_0xd0fc79,_0x4c6cad,_0x2526af),_0x2526af;},we=(_0x212c93,_0x33db03)=>(_0x15251d,_0x351a8d)=>_0x33db03(_0x15251d,_0x351a8d,_0x212c93);const Ci=_0x1a6a69(_0x7744bf(0x33e));function Xn(_0x18079e,_0x211d22,_0x5a015c){var _0x304faa=_0x7744bf;return _0x18079e+'/'+_0x211d22+_0x304faa(0x210)+_0x5a015c+_0x304faa(0x2e0);}let It=class extends _0x3a9433{constructor(_0x61f112,_0x4e096c,_0x3cbbce,_0x121401,_0x440321){var _0x3d0154=_0x7744bf;super(),this['_injector']=_0x61f112,this[_0x3d0154(0x392)]=_0x4e096c,this[_0x3d0154(0x1f1)]=_0x3cbbce,this[_0x3d0154(0x21a)]=_0x121401,this[_0x3d0154(0x482)]=_0x440321;}[_0x7744bf(0x396)](_0x273451){var _0x21212f=_0x7744bf;const _0x42969a=this[_0x21212f(0x1d9)]['get'](_0x45bfe5);if(!_0x42969a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1a0edf=_0x42969a[_0x21212f(0x396)](_0x273451);if(!_0x1a0edf)throw new Error(_0x21212f(0x257));const _0x5e06ac=new _0x50421a(),_0x2f749c=new _0x14ccc3();_0x5e06ac['add'](_0x1a0edf['close$'][_0x21212f(0x447)](_0x21a363=>_0x2f749c[_0x21212f(0x3a5)](_0x21a363))),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x2f749c[_0x21212f(0x35f)]()));const _0x147751=new _0x14ccc3();_0x5e06ac[_0x21212f(0x324)](_0x1a0edf[_0x21212f(0x40d)][_0x21212f(0x447)](_0x56d909=>_0x147751['next'](_0x56d909))),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x147751[_0x21212f(0x35f)]()));const _0x1f97d5=new _0x14ccc3();_0x5e06ac[_0x21212f(0x324)](_0x1a0edf[_0x21212f(0x31f)][_0x21212f(0x447)](_0xc9c999=>{var _0x2f13d7=_0x21212f;const _0x25aa33=Kn(_0xc9c999);_0x1f97d5[_0x2f13d7(0x3a5)](_0x25aa33);})),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x1f97d5[_0x21212f(0x35f)]()));let _0x4d788b;const _0x471a3e=()=>{var _0x107d62=_0x21212f;_0x147751[_0x107d62(0x3a5)](new Event(_0x107d62(0x260))),_0x2f749c['next'](new CloseEvent(_0x107d62(0x260))),_0x4d788b[_0x107d62(0x2b5)]();};return _0x4d788b={'memberID':'','close$':_0x2f749c[_0x21212f(0x463)](),'error$':_0x147751[_0x21212f(0x463)](),'open$':_0x1a0edf[_0x21212f(0x300)],'message$':_0x1f97d5['asObservable'](),'send':_0x2e12d8=>{var _0x713d80=_0x21212f;if(_0x2e12d8[_0x713d80(0x240)]===F[_0x713d80(0x3aa)]){if(_0x2e12d8['data'][_0x713d80(0x1e1)]===_0x51c9a6[_0x713d80(0x2f3)]){this['_submitChangeset'](_0x4d788b,_0x2e12d8[_0x713d80(0x432)])['catch'](_0x34630b=>{var _0x2419b9=_0x713d80;this[_0x2419b9(0x21a)]['error'](_0x34630b),_0x471a3e();});return;}if(_0x2e12d8['data'][_0x713d80(0x1e1)]===_0x51c9a6[_0x713d80(0x33a)]){const _0x459a5e=_0x2e12d8[_0x713d80(0x432)];this[_0x713d80(0x347)](_0x459a5e)['then'](_0x4f2f1b=>{var _0x9d4e71=_0x713d80;_0x1f97d5[_0x9d4e71(0x3a5)]({'cmd':F[_0x9d4e71(0x310)],'code':Ee['OK'],'routeKey':_0x459a5e[_0x9d4e71(0x432)][_0x9d4e71(0x277)],'routeType':'','data':{'eventID':_0x51c9a6[_0x9d4e71(0x338)],'data':{'changesets':_0x4f2f1b}}});})[_0x713d80(0x290)](_0x36145c=>{var _0x237c5e=_0x713d80;this[_0x237c5e(0x21a)][_0x237c5e(0x44a)](_0x36145c),_0x471a3e();});return;}}_0x1a0edf['send'](zn(_0x2e12d8));},'close':()=>{var _0x39a954=_0x21212f;_0x1a0edf['close'](),_0x5e06ac[_0x39a954(0x348)]();}},_0x4d788b;}async['_submitChangeset'](_0x3189ec,_0x58f29f){var _0x1cb4e0=_0x7744bf,_0x818068,_0x5f52eb;const {unitType:_0xa363d,unitID:_0x28d0ad,changeset:_0x2d5a72}=_0x58f29f[_0x1cb4e0(0x432)],_0xfa547b={'unitID':_0x28d0ad,'memberID':_0x3189ec['memberID'],'type':_0xa363d,'changeset':_0x27f427(_0x2d5a72)},_0x57c5c7=this[_0x1cb4e0(0x1f1)][_0x1cb4e0(0x3e9)](jn),_0x3bc4d5=this[_0x1cb4e0(0x1f1)][_0x1cb4e0(0x3e9)](Y),_0x4c1bf5=Xn((_0x5f52eb=(_0x818068=_0x3bc4d5==null?void 0x0:_0x3bc4d5[_0x1cb4e0(0x3de)])!=null?_0x818068:_0x57c5c7)!=null?_0x5f52eb:Bn,_0xa363d,_0x28d0ad);try{await this[_0x1cb4e0(0x392)]['post'](_0x4c1bf5,{'body':_0xfa547b});}catch(_0x4ac08f){throw this[_0x1cb4e0(0x21a)][_0x1cb4e0(0x44a)](_0x1cb4e0(0x2d2),'submit\x20changeset\x20error!'),_0x4ac08f;}}async[_0x7744bf(0x347)](_0x548148){var _0x12c43d=_0x7744bf;const {unitID:_0x5e2ab6,from:_0x4bdd11,to:_0x414746,unitType:_0x15ec14}=_0x548148[_0x12c43d(0x432)];return(await this['_snapshotServerService'][_0x12c43d(0x3ad)]({'metadata':void 0x0},{'unitID':_0x5e2ab6,'type':_0x15ec14,'from':_0x4bdd11,'to':_0x414746}))[_0x12c43d(0x496)];}};It=Jn([we(0x0,_0x46f2f9(_0x6d28a0)),we(0x1,_0x46f2f9(_0x381081)),we(0x2,_0x387952),we(0x3,_0x36e00a),we(0x4,_0x1f721a)],It);function _0x37d6(){var _0x465795=['_xformMode','getTypeOfUnitDisposed$','_pendingMutations','COLLAB_WEB_SOCKET_URL','selections','_initUnitPermissionChange','subject','isPermissionRej','_doCryptBlock','onSyncEditingCollabCursor','RETRY_CONNECTING_MAX_COUNT','sid','[CollaborationEntity]','action','complete','filter','exports','from','event$','_init','forEach','_sessionStatus$','OPTIONAL','append','updatePermissionPoint','getDeserializedSheetBlock','reject','APPLY_PERMISSION_DENIED','getAllMembers','refreshPermission','csShouldRetryEvent','batchAllowed','_resendWithTimeout','getValue','resolve','3508662QGXmZZ','roomInfos','/universer-api/comb','removeMember','format','\x20to\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Encryptor','_type','objects','pauseCollaboration','status$','algo','univer-pro.collaboration-client.single-active-unit-service','UUID','\x20-\x20','post','includes','/fetchmissing?from=','_DEC_XFORM_MODE','/universer-api/authz','min','NOT_FOUND','_undoStacks','_toggleOnline','unitId\x20is\x20not\x20found','_disableEditing','readInt32LE','onTransformState','_candidateSocket','_http','UnitEmbedded','LEAVE','fetch_missing','createSocket','finalize','requireSession','Hasher','ciphertext','IDLE','SOCKET_FAILED_RETRY','_unlockTransition','src','_process','_localCacheService','crypto','unpad','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectActions','next','readyForCollab','collaborators','compose','listRoles','INGEST','ALREADY_EXISTS','Decryptor','fetchMissingChangesets','getUnitStatus$','SNAPSHOT_SERVER_URL_KEY','confirm','HMAC','kdf','deleteCollaborator','11344305aEHtFg','/-/object/list','_initRequestHeader','ruleRefresh','UNIVER_SLIDE','_resendTimeout','now','BufferedBlockAlgorithm','retryConnectingInterval','_toggleOffline','DEFAULT_FILE_NAME','ONLINE','range','onStateChange','allowed','_getCurrentRevision','disposeWithMe','_getAPIPrefix','session.join-failed','collaboration-client.config','setConfig','fetchMiss','NOT_COLLAB','_telemetryService','_shouldReportTelemetry','PasswordBasedCipher','_socketReady','conflict','&assign=','_syncEditingCollabCursor','_mode','BlockCipherMode','HEARTBEAT_TIMEOUT','_scheduleCollaborationTimeoutTimer','reset','bind','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','socket\x20close','/object','_getSessionTicket','loadSheet','value','collabSubmitChangesetUrl','infoRsp','target','OFFLINE','getTargetByPermissionId','_ENC_XFORM_MODE','_getCtorByUniverType','onStarting','joinEvent','_sendHeartbeatTimer','LIVESHARE_TERMINATE','getConfig','_acknowledgedAwaitingChangeset','_undoRedoService','_showConflictNotification','_event$','socket$','byteLength','_entities','_updateLocalCache','getUnitType','cfg','NO_OTHER_CLIENTS_EDITING','compute','_getAPIPrefixPath','onTransformIME','_changesetReqId','_HTTPService','_executeRemoteChangeset','_singleActiveUnitService','_sessions','getImage','\x0aCurrent:\x20','onRemoteChangeset','Latin1','CHANGESET_ACK','_changesetSessionId','_univerInstanceService','_onFetchMissResult','{fileID}','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','title','CONFLICT','__creator','POST','sendChangesetTimeout','m2Prime','error$','map','getInterceptPoints','create','online$','clear','_doProcessBlock','fetchThroughInterceptors','HttpExport','NoPadding','snapshot','_imageSourceCache','objectID','_updateState','[OfflineState]:\x20received\x20changeset.','_loadDoc','[SyncedState]:\x20received\x20rejection.','[UniverCollaborationClientPlugin]','_onLocalMutation','EvpKDF','getMemberID','get','saveImage','processBlock','set','/universer-api/oidc/authpage','onMissedChangesetFetched','_joinRoom','parse','extend','disableLocalCache','enableSingleActiveInstanceLock','_collaborationTimeoutTimer','formatter','appendMutation','session.room-cnt-exceeds','createInstance','data','saveSheetBlock','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','pending','wsSessionTicketUrl','ceil','onTransformRemoteChangesetByStateCache','StreamCipher','_createHelper','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isArray','find','SNAPSHOT_HAS_BEEN_REMOVED','charCodeAt','_clearTimeoutTimer','_onUserLeave','baseRev','clearUndoRedo','Hex','__esModule','not_collab','subscribe','_state$','joinRsp','error','ivSize','UPDATE_CURSOR','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','MUTATION','csRejEvent','_commandService','getFocusedUnit','_clearScheduledTask','_getDownloadEndpointURL','hasOwnProperty','updateMember','/universer-api/stream/file/upload','UNIVER_DOC','COMPRESS_MUTATION_SEND','function','delete','getUnitOnRev','_parse','commentUpdateEvent','NEW_CHANGESETS','mixIn','/block/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','asObservable','OTHER_CLIENT_EDITING','failed\x20to\x20apply\x20missed\x20changesets!','session.room-not-exists','defineProperty','randomUUID','leaveEvent','call','_hasher','3324304NJHien','loadUnit','_unitInfo$','ERROR_IMAGE','_resendTimer','editingUnit','editing\x20status\x20changed\x20to','_handlerCallback','liveShareOperation','init','onCommandExecuted','LIVESHARE_REQUEST_HOST','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','?size=','createEncryptor','enc','LIVESHARE_NEW_HOST','_tryEnsureSocket','toggleOnline','sessionStatus$','/rev/','_tryReconnect','_snapshotServerService','transformSelections','_sheetTransformSelectionsService','_stopTelemetryCollaborationNewChangeset','entries','_prevBlock','transformStack\x20failed!','_iKey','collabWebSocketUrl','getUnitId','stringify','[CollaborationState]:\x20apply\x20error!','getRandomValues','COMPLETION_FINISHED','subType','saveChangeset','UnitSnapshot','sigBytes','_onConnectionOpen','salt','changesets','json','capture','_startCollaboration','UNIVER_SHEET','_config','keySize','replace','saveSnapshot','CBC','CLOSE_ROOM','pluginName','_httpService','clamp','slice','[DataLoaderService]','reconnect','_getSendChangesetTimeout','memberID','onRemoteAck','_transformRemoteChangesetByIMECache','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/user/session-ticket','YUUMI_SUBSCRIPTION_NOT_FOUND','_createSocketURL','encrypt','JOIN_ROOM_NOT_EXISTS','185082CrZuEZ','UNAUTHENTICATED','Malformed\x20UTF-8\x20data','send','requestParams','has','_onUserJoin','FileId','apply','WordArray','updatePermissionObjEvent','createCollaborator','close$','list','userID','Univer','session','FAIL','image/gif','_data','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SUCCUSS','getOwnPropertyDescriptor','_updateStatus','_clearCollaborationTimeoutTimer','_telemetryInfo','[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.','_transformSelections','awaitingChangeset','HEARTBEAT_INTERVAL','_schedule','_instanceService','withCredentials','onSendChangeset','SHA1','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_nDataBytes','pipe','location','_onRemoteRetry','_iv','SHOULD_CLOSE_CONN','_authzIoService','loadDoc','_retryConnectingTimer','SUBMIT_CHANGESET_TIMEOUT','resend','_injector','awaiting_with_pending','length','_getRedoStack','startsWith','splice','getLatestCsReqIdBySid','onTransformSelections','eventID','startTime','3SwDNiE','_onRecvEvent','findIndex','getPermissionPoint','_keyPriorReset','_change$','SEND_CHANGESET_TIMEOUT','_sendingTimer','_applyRemoteChangeset','\x0aAfter:\x20','equals','_commentService','_keySchedule','textRanges','_configService','_createHandler','fromCollab','_collabSessionService','_transformStack','_clearLocalCache','_entityInit$','getSheetBlock','_redoStacks','JOIN_ROOM_PERMISSION_DENIED','href','UNIVER_PROJECT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','transformUndoRedo','_transformUndoredo','LOGIN_URL_KEY','COMMENT_UPDATE','APPLY_REJECT','decrypt','_getSignURL','/universer-api/file/{fileID}/sign-url','_createInitialStateImpl','_createHmacHelper','resourceIDs','_awaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','max','state$','_isPermissionRej','repeat','/unit/','onTransformRemoteChangesetByIMECache','INTERNAL_ERROR','getCurrentUser','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CHANGESET_REVISION_CONFILICT','originalMeta','unsubscribe','debug','concat','_logService','setWaitCount','_sendHeartbeat','111059WPrjGz','string','onRemoteRej','origin','msCrypto','push','_transformRemoteChangesetByStateCache','_decreaseWaiting','/resources','mutations','HmacSHA1','HttpImport','floor','univer-pro.collaboration-client.network-condition.service','_revisionService','_onConnectionFailed','COLLAB_SUBMIT_CHANGESET_URL','OTHER_CLIENTS_EDITING','body','blockSize','_onJoinRoomEvent','_checkMissing','_throwTelemetryCollaborationNewChangeset','actions','_unitID','80mYpwNB','_socketMessageSubscription','size','prototype','getTime','addImageSourceCache','searchParams','_registerDependencies','getTypeOfUnitAdded$','UNKNOWN_CMD','cmd','code','[PendingState]:\x20received\x20acknowledgement.','_waitCount','localCacheService','name','_createSocket','closeSession','randomBytes','_hash','initWorkbookPermissionChange','AES','_onOffline','listCollaborators','collaboration-client.local-cache-service','LICENSE_DISTRO_REJECTED','unit-cache-','MSG_FOR_ERROR','getCurrentUnitForType','iterations','members','_incrementRevisionNumber','_transformStateCache','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','transformMutationsWithChangeset','_clearUndo','UNRECOGNIZED','_collaborationPaused','_status$','_onRemoteACK','/object/','connection\x20error','indexOf','_transitionLocked','execute','save\x20fail\x20reason\x20is\x20','getSheetId','result','toString','_listenToNetworkCondition','sessionStatus','_handler','interceptor','_invKeySchedule','_doReset','/allowed','_substituteRedoStack','_state','\x20in\x20_schedule.','_replayCachedMutations','getCurrentRevOfUnit','params','UNIVER_UNKNOWN','_key','unitID','_queuedRemoteChangesets','_permissionService','_sender','routeKey','clone','getImageSourceCache','sheets','setShowComponents','collaboration_new_changeset','HELLO','getMember','getSnapshotAPIPath','YUUMI_RATE_OVER_LIMIT','sessionTicket','byteOffset','subUnitId','APPLY_REVISION_CONFILICT','onRemoteRetry','key','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','toLowerCase','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[CollaborationSessionService]:\x20socket\x20error','method','catch','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','Undefined','getCollabEntity$','APPLY_DUPLICATED','_cipher','Cipher','Base','readAsDataURL','BlockCipher','USERS_ENTER','createDecryptor','image/jpeg','liveShareNewHost','awaiting','_append','UPDATE_PERMISSION_OBJ','buffer','_startTelemetryCollaborationNewChangeset','pad','_members','padding','rng','LIVESHARE_OPERATION','headers','_minBufferSize','/collaborator','_onCombEvent','signUrlServerUrl','LOCAL_CACHE_INTERVAL','PERMISSION_REJ','_lockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','OpenSSL','update','PERSON','close','_rescheduleHeartbeat','_retryCount','synced','ENSURE_SNAPSHOT_EXECUTION','_clearHeartbeatTimer','abs','random','type','url','_waitForHeartbeatResponse','reqId','hasher','_timeoutTimer','status','JOIN','Utf8','_socket$','_onRemoteRejected','onLocalMutation','image/jpg','Could\x20not\x20dynamically\x20require\x20\x22','onCommentUpdate','?url=','workbook','USERS_LEAVE','SYNCED','JOINING','decryptBlock','[CollaborationSession]','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/snapshot/','uploadFileServerUrl','executeCommand','unknown','_collaborationUIEventService','_nRounds','dispose$','ERROR_IMAGE_TYPE','CHANGESET_SHOULD_RETRY','_getUploadFileURL','socket\x20open.','encodeURIComponent','/new_changes','MD5','8623143FkWojL','Error\x20on\x20receiving\x20event','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','reduce','_commentUpdate$','_onRemoteChangeset','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20rejection.','symbol','LICENSE_MAX_UNITS_EXCEEDED','_collaborationSessionService','collaboratorID','enableAuthServer','onload','_memberService','_getUndoStack','5775040YJgvlM','SUBMIT_CHANGESET','authzUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','registerHTTPInterceptor','CHANGESET_REJ','patch','_substituteUndoStack','Base64','YUUMI_UNABLE_LOAD_URL','_networkConditionService','COMPRESS_MUTATION_APPLY','hostname','AUTHZ_URL_KEY','open$','state','encode','avatar','ws://127.0.0.1:8000/universer-api/comb/connect','onlyLocal','_createInitialState','getResourcesRequest','_initCloseConn','getCollabEntity','_eventService','_replaceFileID','$super','socketService','stopTime','localeService','RECV','_snapshotService','SelectRange','c1Prime','UNDEFINED','LIVESHARE_FETCH_OPERATIONS','offline','_socket','transformChangesets','words','_compressMutationService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CODE','_loadSheet','_clearRedo','message$','HEARTBEAT','collaMsg','_getLoginPath','objectType','add','setCurrentUser','join','/universer-api/snapshot','then','&to=','emitEvent','lib','_remoteChangesetQueue','[FetchMissState]','INVALID_ARGUMENT','substr','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_userManagerService','revision','getUnit','rev','/-/object/-/batch_allowed','_scheduleTimestamp','getRoom','PSEUDO_FETCH_MISSING_RESULT','_reverseMap','FETCH_MISSING','_doFinalize','TOO_MANY_REQUESTS','_roomMembers','univer-pro.collaboration-client-socket-service','EXCHANGE_SIGN_URL_SERVER_URL_KEY','permissionRejEvent','_transformService','_socketService','PERMISSION_DENIED','_transformIMECache','_localeService','SOCKET_FAILED','_fetchMissChangesets','dispose','encryptBlock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConflict','unitId','toggleOffline','[CollaborationUndoRedoService]','onMissingChangesets','SNAPSHOT_URL_KEY'];_0x37d6=function(){return _0x465795;};return _0x37d6();}function _0x186f(_0x44d050,_0xbd8fc0){var _0x37d6fc=_0x37d6();return _0x186f=function(_0x186f95,_0x4e885e){_0x186f95=_0x186f95-0x1b0;var _0xa6ac58=_0x37d6fc[_0x186f95];return _0xa6ac58;},_0x186f(_0x44d050,_0xbd8fc0);}const Zn=_0x7744bf(0x280);function Qn(_0x2b9779){var _0x1f8e75=_0x7744bf;return JSON[_0x1f8e75(0x48c)](_0x2b9779)[_0x1f8e75(0x1db)];}class bi{constructor(){var _0x59c4d1=_0x7744bf;D(this,_0x59c4d1(0x2e6),new _0x14ccc3()),D(this,'commentUpdate$',this[_0x59c4d1(0x2e6)]['asObservable']());}[_0x7744bf(0x2cb)](_0x1a4264){var _0x846e93=_0x7744bf;this[_0x846e93(0x2e6)][_0x846e93(0x3a5)](_0x1a4264);}}var es=Object[_0x7744bf(0x467)],ts=Object[_0x7744bf(0x1c0)],is=(_0x48ff66,_0x4e9496,_0x91a1c0,_0x4c1e1d)=>{var _0x3bf932=_0x7744bf;for(var _0x12ea44=_0x4c1e1d>0x1?void 0x0:_0x4c1e1d?ts(_0x4e9496,_0x91a1c0):_0x4e9496,_0x50e7f5=_0x48ff66[_0x3bf932(0x1db)]-0x1,_0x3f4069;_0x50e7f5>=0x0;_0x50e7f5--)(_0x3f4069=_0x48ff66[_0x50e7f5])&&(_0x12ea44=(_0x4c1e1d?_0x3f4069(_0x4e9496,_0x91a1c0,_0x12ea44):_0x3f4069(_0x12ea44))||_0x12ea44);return _0x4c1e1d&&_0x12ea44&&es(_0x4e9496,_0x91a1c0,_0x12ea44),_0x12ea44;},zt=(_0x380743,_0x5329b7)=>(_0x53d266,_0x6a286c)=>_0x5329b7(_0x53d266,_0x6a286c,_0x380743);let Le=class extends _0x3a9433{constructor(_0x16d6b4,_0x5576c6){var _0x2c59e0=_0x7744bf;super(),D(this,_0x2c59e0(0x33d),new Map()),(this['_univerInstanceService']=_0x16d6b4,this['_userManagerService']=_0x5576c6,this[_0x2c59e0(0x3c4)](_0x52f3e6(_0x2a7ebf(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a4642[_0x2c59e0(0x49a)])['pipe'](_0x30311a(_0x1150e5=>_0x1150e5[_0x2c59e0(0x48b)]())),this['_univerInstanceService'][_0x2c59e0(0x352)](_0x2a4642[_0x2c59e0(0x457)])['pipe'](_0x30311a(_0x2da16a=>_0x2da16a[_0x2c59e0(0x48b)]())),this[_0x2c59e0(0x403)][_0x2c59e0(0x352)](_0x2a4642[_0x2c59e0(0x3b8)])['pipe'](_0x30311a(_0x2653f6=>_0x2653f6[_0x2c59e0(0x48b)]())))[_0x2c59e0(0x447)](_0xc9677d=>this['_removeRoom'](_0xc9677d)))));}[_0x7744bf(0x325)](_0x35bdeb){var _0x570107=_0x7744bf;this[_0x570107(0x331)][_0x570107(0x325)](_0x35bdeb);}[_0x7744bf(0x213)](){var _0xdded9f=_0x7744bf;return this[_0xdded9f(0x331)]['getCurrentUser']();}[_0x7744bf(0x455)](_0x37cb05,_0x3793b8){var _0x368464=_0x7744bf;let _0x179ea4=this['_roomMembers'][_0x368464(0x422)](_0x37cb05);_0x179ea4||(_0x179ea4=new ns(),this[_0x368464(0x33d)][_0x368464(0x425)](_0x37cb05,_0x179ea4)),_0x179ea4[_0x368464(0x455)](_0x3793b8);}[_0x7744bf(0x377)](_0x1a4ef3,_0x5a409e){var _0x389770=_0x7744bf;const _0x564c68=this[_0x389770(0x33d)][_0x389770(0x422)](_0x1a4ef3);_0x564c68&&_0x564c68[_0x389770(0x377)](_0x5a409e);}[_0x7744bf(0x337)](_0x3c22ab){return this['_roomMembers']['get'](_0x3c22ab);}[_0x7744bf(0x282)](_0x12eea3,_0x535184){var _0x2f48fb=_0x7744bf;const _0x6f2929=this[_0x2f48fb(0x33d)][_0x2f48fb(0x422)](_0x12eea3);if(_0x6f2929)return _0x6f2929[_0x2f48fb(0x282)](_0x535184);}['_removeRoom'](_0x34f708){var _0x763e47=_0x7744bf;const _0x36213f=this[_0x763e47(0x33d)][_0x763e47(0x422)](_0x34f708);_0x36213f&&(_0x36213f['dispose'](),this[_0x763e47(0x33d)]['delete'](_0x34f708));}[_0x7744bf(0x348)](){var _0x36c50c=_0x7744bf;this['_roomMembers'][_0x36c50c(0x365)](_0x113ab4=>_0x113ab4['dispose']()),this['_roomMembers'][_0x36c50c(0x412)]();}};Le=is([zt(0x0,_0x464ce2),zt(0x1,_0x46f2f9(_0x1b5f6d))],Le);class ns extends _0x3a9433{constructor(){var _0x5640a7=_0x7744bf;super(...arguments),D(this,_0x5640a7(0x2a5),new Map());}['dispose'](){var _0x3f2827=_0x7744bf;this['_members'][_0x3f2827(0x412)]();}[_0x7744bf(0x455)](_0x37b153){var _0x39a5a8=_0x7744bf;this[_0x39a5a8(0x2a5)][_0x39a5a8(0x425)](_0x37b153[_0x39a5a8(0x4a8)],_0x37b153);}[_0x7744bf(0x377)](_0x3bb371){var _0x3e123d=_0x7744bf;this[_0x3e123d(0x2a5)][_0x3e123d(0x45a)](_0x3bb371);}[_0x7744bf(0x282)](_0x406c9b){var _0xab4401=_0x7744bf;return this['_members'][_0xab4401(0x422)](_0x406c9b);}[_0x7744bf(0x36d)](){var _0x57c88c=_0x7744bf;return Array[_0x57c88c(0x362)](this[_0x57c88c(0x2a5)]['values']());}}var ss=Object[_0x7744bf(0x467)],rs=Object['getOwnPropertyDescriptor'],os=(_0x5dead0,_0x1c63be,_0x2b2b93,_0x116037)=>{for(var _0x563389=_0x116037>0x1?void 0x0:_0x116037?rs(_0x1c63be,_0x2b2b93):_0x1c63be,_0x46a71c=_0x5dead0['length']-0x1,_0x27f306;_0x46a71c>=0x0;_0x46a71c--)(_0x27f306=_0x5dead0[_0x46a71c])&&(_0x563389=(_0x116037?_0x27f306(_0x1c63be,_0x2b2b93,_0x563389):_0x27f306(_0x563389))||_0x563389);return _0x116037&&_0x563389&&ss(_0x1c63be,_0x2b2b93,_0x563389),_0x563389;},ge=(_0x273f46,_0x4de12f)=>(_0x7ad8a4,_0x14596e)=>_0x4de12f(_0x7ad8a4,_0x14596e,_0x273f46),Ie=(_0xf5d9e6=>(_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x39b)]=0x0]=_0x7744bf(0x39b),_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x2d0)]=0x1]=_0x7744bf(0x2d0),_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x3e1)]=0x2]=_0x7744bf(0x3e1),_0xf5d9e6[_0xf5d9e6['ONLINE']=0x3]='ONLINE',_0xf5d9e6))(Ie||{});const Yt={[Ee['FAIL']]:_0x7744bf(0x3c6),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x7744bf(0x466),[Ee[_0x7744bf(0x1fa)]]:'session.room-permission-denied',[Ee[_0x7744bf(0x2d3)]]:_0x7744bf(0x430)};let Tt=class extends _0x2bcc2a{constructor(_0x2fe612,_0x56dd00,_0x4b6d95,_0x37962d,_0x1945c2,_0x1c1645,_0x2bcaea,_0x3a9ba9,_0x528064){var _0x2bed39=_0x7744bf;super(),D(this,_0x2bed39(0x366),new _0xb58407(0x0)),D(this,_0x2bed39(0x47f),this[_0x2bed39(0x366)][_0x2bed39(0x463)]()),D(this,'_event$',new _0x14ccc3()),D(this,_0x2bed39(0x363),this['_event$'][_0x2bed39(0x463)]()),D(this,_0x2bed39(0x317)),D(this,_0x2bed39(0x237)),D(this,_0x2bed39(0x42d)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x2bed39(0x1c3),null),(this['_unitID']=_0x2fe612,this[_0x2bed39(0x21a)]=_0x4b6d95,this[_0x2bed39(0x1f1)]=_0x37962d,this[_0x2bed39(0x345)]=_0x1945c2,this[_0x2bed39(0x2f0)]=_0x1c1645,this[_0x2bed39(0x1ee)]=_0x2bcaea,this[_0x2bed39(0x2d8)]=_0x3a9ba9,this[_0x2bed39(0x3cb)]=_0x528064,this[_0x2bed39(0x3cc)]=!!this['_telemetryService'],_0x56dd00[_0x2bed39(0x1cf)](_0x31e53b(this[_0x2bed39(0x2da)]))['subscribe'](_0xc01a2f=>{var _0x5875d6=_0x2bed39,_0x4ae2a0;typeof _0xc01a2f>'u'||(this[_0x5875d6(0x317)]=_0xc01a2f,_0xc01a2f?(this[_0x5875d6(0x428)](_0xc01a2f),this['_socketMessageSubscription']=_0xc01a2f[_0x5875d6(0x31f)][_0x5875d6(0x447)](_0x2287f6=>{var _0x268bff=_0x5875d6;_0x2287f6[_0x268bff(0x27b)]===this['_unitID']&&this[_0x268bff(0x2ac)](_0x2287f6);})):(this[_0x5875d6(0x233)](),this[_0x5875d6(0x366)][_0x5875d6(0x3a5)](0x2),(_0x4ae2a0=this[_0x5875d6(0x237)])==null||_0x4ae2a0[_0x5875d6(0x217)](),this[_0x5875d6(0x237)]=null));}));}get[_0x7744bf(0x269)](){var _0x42ccd4=_0x7744bf;return this[_0x42ccd4(0x366)]['getValue']();}[_0x7744bf(0x421)](){var _0x4c6d35=_0x7744bf,_0x3af9cc,_0x5d8446;return(_0x5d8446=(_0x3af9cc=this['_socket'])==null?void 0x0:_0x3af9cc[_0x4c6d35(0x4a8)])!=null?_0x5d8446:null;}[_0x7744bf(0x348)](){var _0x38ec8c=_0x7744bf;super['dispose'](),this['dispose$']['next'](),this[_0x38ec8c(0x2da)][_0x38ec8c(0x35f)]();}[_0x7744bf(0x2b5)](){var _0x198469=_0x7744bf,_0x2e2c5f,_0x32e1b4;this[_0x198469(0x233)](),(_0x2e2c5f=this[_0x198469(0x317)])==null||_0x2e2c5f['send']({'cmd':F[_0x198469(0x394)],'data':{'roomID':this['_unitID']}}),(_0x32e1b4=this[_0x198469(0x317)])==null||_0x32e1b4[_0x198469(0x2b5)](),this[_0x198469(0x3ed)]['complete'](),this[_0x198469(0x366)][_0x198469(0x35f)](),this['dispose']();}[_0x7744bf(0x2ac)](_0x357987){var _0x5bd971=_0x7744bf;_0x357987['cmd']===F[_0x5bd971(0x2c4)]?this['_onJoinRoomEvent'](_0x357987):_0x357987[_0x5bd971(0x240)]===F[_0x5bd971(0x310)]&&this[_0x5bd971(0x1e4)](_0x357987);}[_0x7744bf(0x428)](_0x1aa7c3){var _0x29ef97=_0x7744bf;this[_0x29ef97(0x366)][_0x29ef97(0x3a5)](0x1),_0x1aa7c3[_0x29ef97(0x4b4)]({'cmd':F[_0x29ef97(0x2c4)],'routeKey':this[_0x29ef97(0x235)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29ef97(0x235)]}]}});}[_0x7744bf(0x231)](_0x2d1ec4){var _0x2ec24e=_0x7744bf,_0x5ba0ff;if(_0x2d1ec4['code']in Yt){this[_0x2ec24e(0x2d8)][_0x2ec24e(0x32a)]({'id':se[_0x2ec24e(0x2e8)],'data':Yt[_0x2d1ec4[_0x2ec24e(0x241)]]}),this[_0x2ec24e(0x366)][_0x2ec24e(0x3a5)](0x2);return;}this[_0x2ec24e(0x366)][_0x2ec24e(0x3a5)](0x3);const _0xb409ab=(_0x5ba0ff=_0x2d1ec4[_0x2ec24e(0x432)][_0x2ec24e(0x375)][this[_0x2ec24e(0x235)]])==null?void 0x0:_0x5ba0ff[_0x2ec24e(0x254)];_0xb409ab&&_0xb409ab[_0x2ec24e(0x365)](_0x5ad44e=>this[_0x2ec24e(0x2f0)]['updateMember'](this[_0x2ec24e(0x235)],_0x5ad44e));}[_0x7744bf(0x1e4)](_0x28911c){var _0x5ee4cc=_0x7744bf;try{const _0xd6dda0=_0x28911c[_0x5ee4cc(0x432)];switch(_0xd6dda0[_0x5ee4cc(0x1e1)]){case _0x51c9a6[_0x5ee4cc(0x29b)]:this['_onUserJoin'](_0xd6dda0),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6['USERS_LEAVE']:this['_onUserLeave'](_0xd6dda0),this['_event$'][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6[_0x5ee4cc(0x401)]:case _0x51c9a6[_0x5ee4cc(0x2dc)]:this[_0x5ee4cc(0x485)](),this[_0x5ee4cc(0x1c2)](),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6[_0x5ee4cc(0x251)]:this[_0x5ee4cc(0x21a)][_0x5ee4cc(0x44a)](_0x5ee4cc(0x264)+JSON[_0x5ee4cc(0x48c)](_0xd6dda0)),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6['COMMENT_UPDATE']:this[_0x5ee4cc(0x1ee)][_0x5ee4cc(0x2cb)](_0xd6dda0[_0x5ee4cc(0x432)]),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;default:this[_0x5ee4cc(0x3ed)]['next'](_0xd6dda0);}}catch(_0x6735c6){this[_0x5ee4cc(0x21a)]['error'](_0x6735c6,_0x28911c);}}[_0x7744bf(0x1b0)](_0x29e862){var _0x5f30de=_0x7744bf;this[_0x5f30de(0x2f0)][_0x5f30de(0x455)](this[_0x5f30de(0x235)],_0x29e862[_0x5f30de(0x432)]);}[_0x7744bf(0x441)](_0xd305ad){var _0x932091=_0x7744bf;this[_0x932091(0x2f0)][_0x932091(0x377)](this[_0x932091(0x235)],_0xd305ad[_0x932091(0x432)][_0x932091(0x4a8)]);}async['send'](_0x53f669,_0x30ac4f){var _0x5ddc98=_0x7744bf;if(this[_0x5ddc98(0x269)]!==0x3||!this[_0x5ddc98(0x317)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x53f669['eventID']===_0x51c9a6[_0x5ddc98(0x2f3)]&&(this[_0x5ddc98(0x3d5)](),this['_startTelemetryCollaborationNewChangeset'](_0x53f669)),this[_0x5ddc98(0x317)][_0x5ddc98(0x4b4)]({'cmd':F[_0x5ddc98(0x3aa)],'routeKey':_0x30ac4f,'routeType':'','data':_0x53f669});}catch(_0x5a37a4){this[_0x5ddc98(0x21a)][_0x5ddc98(0x44a)](_0x5a37a4);}}['_scheduleCollaborationTimeoutTimer'](){var _0x24bcdd=_0x7744bf,_0x539256;this[_0x24bcdd(0x42d)]=setTimeout(()=>{var _0x1fe8ad=_0x24bcdd;this[_0x1fe8ad(0x42d)]=null,this[_0x1fe8ad(0x2d8)][_0x1fe8ad(0x32a)]({'id':se[_0x1fe8ad(0x1d7)]});},(_0x539256=this['_configService'][_0x24bcdd(0x3e9)](Si))!=null?_0x539256:Ei);}[_0x7744bf(0x1c2)](){var _0x1d840a=_0x7744bf;this[_0x1d840a(0x42d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1d840a(0x42d)]=null);}[_0x7744bf(0x2a3)](_0x315dc1){var _0x5a3f24=_0x7744bf;if(!this['_shouldReportTelemetry'])return;const {data:_0x5819a7}=_0x315dc1,{unitID:_0x35085f,changeset:_0x179832}=_0x5819a7,{mutations:_0x224edd,type:_0x38d5a0}=_0x179832;this[_0x5a3f24(0x1c3)]={'unitId':_0x35085f,'type':_0x38d5a0,'startTime':performance[_0x5a3f24(0x3ba)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x224edd)};}[_0x7744bf(0x485)](){var _0x3666d5=_0x7744bf;if(this['_shouldReportTelemetry']){if(!this[_0x3666d5(0x1c3)]){this[_0x3666d5(0x21a)][_0x3666d5(0x44a)](_0x3666d5(0x2d2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3666d5(0x1c3)][_0x3666d5(0x30e)]=performance[_0x3666d5(0x3ba)](),this[_0x3666d5(0x1c3)]['duration']=this['_telemetryInfo'][_0x3666d5(0x30e)]-this['_telemetryInfo'][_0x3666d5(0x1e2)],this[_0x3666d5(0x3cb)][_0x3666d5(0x498)](Zn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x7744bf(0x233)](){var _0x1a4d0a=_0x7744bf;this[_0x1a4d0a(0x1c3)]=null;}};Tt=os([ge(0x2,_0x36e00a),ge(0x3,_0x387952),ge(0x4,_0x46f2f9(_0x12cbe1)),ge(0x5,_0x46f2f9(Le)),ge(0x6,_0x46f2f9(bi)),ge(0x7,_0x46f2f9(pe)),ge(0x8,_0x49cb22(_0xc6cc18))],Tt);var as=Object[_0x7744bf(0x467)],cs=Object[_0x7744bf(0x1c0)],hs=(_0xa75cf6,_0xd61429,_0x3fa9e9,_0x57f11e)=>{for(var _0x3d7abf=_0x57f11e>0x1?void 0x0:_0x57f11e?cs(_0xd61429,_0x3fa9e9):_0xd61429,_0x50e508=_0xa75cf6['length']-0x1,_0x328878;_0x50e508>=0x0;_0x50e508--)(_0x328878=_0xa75cf6[_0x50e508])&&(_0x3d7abf=(_0x57f11e?_0x328878(_0xd61429,_0x3fa9e9,_0x3d7abf):_0x328878(_0x3d7abf))||_0x3d7abf);return _0x57f11e&&_0x3d7abf&&as(_0xd61429,_0x3fa9e9,_0x3d7abf),_0x3d7abf;},me=(_0x569092,_0x5d9654)=>(_0x36f15f,_0x163602)=>_0x5d9654(_0x36f15f,_0x163602,_0x569092);let Me=class extends _0x3a9433{constructor(_0x122292,_0x57d2cc,_0x2c474f,_0x4d2b36,_0x42f088,_0x4a873e,_0x45273c){var _0x15e7ce=_0x7744bf;super(),D(this,_0x15e7ce(0x2c6),new _0xb58407(void 0x0)),D(this,_0x15e7ce(0x3ee),this[_0x15e7ce(0x2c6)][_0x15e7ce(0x463)]()),D(this,_0x15e7ce(0x391),null),D(this,'_sessions',new Map()),D(this,_0x15e7ce(0x25d),new _0xb58407(Ie['IDLE'])),D(this,'status$',this[_0x15e7ce(0x25d)][_0x15e7ce(0x463)]()),D(this,_0x15e7ce(0x3ce),!0x1),D(this,_0x15e7ce(0x1d6)),D(this,_0x15e7ce(0x2b7),0x0),D(this,_0x15e7ce(0x3e7)),D(this,_0x15e7ce(0x2c2)),(this['_injector']=_0x122292,this[_0x15e7ce(0x21a)]=_0x57d2cc,this[_0x15e7ce(0x1f1)]=_0x2c474f,this[_0x15e7ce(0x342)]=_0x4d2b36,this['_httpService']=_0x42f088,this['_collaborationUIEventService']=_0x4a873e,this[_0x15e7ce(0x2fc)]=_0x45273c,this[_0x15e7ce(0x268)]());}get[_0x7744bf(0x317)](){var _0xb5ea50=_0x7744bf;return this['_socket$'][_0xb5ea50(0x372)]();}[_0x7744bf(0x268)](){var _0x502b45=_0x7744bf;this[_0x502b45(0x2fc)]&&this['disposeWithMe'](this[_0x502b45(0x2fc)][_0x502b45(0x411)]['subscribe'](_0xa09678=>{var _0xce96ec=_0x502b45;_0xa09678&&!this[_0xce96ec(0x317)]&&this[_0xce96ec(0x4a6)](),_0xa09678||this[_0xce96ec(0x24c)]();}));}[_0x7744bf(0x348)](){var _0x3cdc37=_0x7744bf;super[_0x3cdc37(0x348)](),this[_0x3cdc37(0x3fc)][_0x3cdc37(0x365)](_0x3de227=>_0x3de227['dispose']()),this[_0x3cdc37(0x3fc)][_0x3cdc37(0x412)](),this[_0x3cdc37(0x25d)][_0x3cdc37(0x35f)]();}async[_0x7744bf(0x398)](_0x5c818d){var _0x44e701=_0x7744bf;if(this[_0x44e701(0x3fc)][_0x44e701(0x4b6)](_0x5c818d))return this[_0x44e701(0x3fc)][_0x44e701(0x422)](_0x5c818d);this[_0x44e701(0x47d)]();const _0x370074=this[_0x44e701(0x1d9)][_0x44e701(0x431)](Tt,_0x5c818d,this['_socket$']['asObservable']());return this['_sessions'][_0x44e701(0x425)](_0x5c818d,_0x370074),_0x370074;}[_0x7744bf(0x247)](_0x5b8df3){var _0x549706=_0x7744bf,_0x3d268a;const _0x3ebb23=this[_0x549706(0x3fc)][_0x549706(0x422)](_0x5b8df3);_0x3ebb23&&(this[_0x549706(0x3fc)]['delete'](_0x5b8df3),_0x3ebb23[_0x549706(0x2b5)]()),this[_0x549706(0x3fc)][_0x549706(0x238)]||(_0x3d268a=this[_0x549706(0x317)])==null||_0x3d268a[_0x549706(0x2b5)]();}[_0x7744bf(0x4a6)](){var _0x1d5c83=_0x7744bf;this[_0x1d5c83(0x2b7)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1d5c83(0x1d6)]),this[_0x1d5c83(0x1d6)]=null),this['_tryReconnect']();}async[_0x7744bf(0x3db)](){var _0x1cefdf=_0x7744bf,_0x5226f4,_0x2c472b,_0x470d87;const _0x55e25f=this['_configService']['getConfig'](Y),_0x99e75f=(_0x5226f4=_0x55e25f==null?void 0x0:_0x55e25f[_0x1cefdf(0x436)])!=null?_0x5226f4:xn;return(_0x470d87=(_0x2c472b=(await this[_0x1cefdf(0x4a2)][_0x1cefdf(0x422)](_0x99e75f,{'headers':{'Content-Type':'application/json'}}))[_0x1cefdf(0x22f)])==null?void 0x0:_0x2c472b['ticket'])!=null?_0x470d87:'';}[_0x7744bf(0x4ae)](_0xa9a586){var _0x2fc8e4=_0x7744bf,_0x282856,_0x5004ab;const _0x3f6cc0=this[_0x2fc8e4(0x1f1)]['getConfig'](Un),_0x21dfef=this[_0x2fc8e4(0x1f1)][_0x2fc8e4(0x3e9)](Y),_0x27f291=(_0x5004ab=(_0x282856=_0x21dfef==null?void 0x0:_0x21dfef[_0x2fc8e4(0x48a)])!=null?_0x282856:_0x3f6cc0)!=null?_0x5004ab:An,_0x43c118=typeof window>'u'?new URL(_0x27f291):new URL(_0x27f291,window[_0x2fc8e4(0x1d0)][_0x2fc8e4(0x220)]);return _0x43c118[_0x2fc8e4(0x23c)][_0x2fc8e4(0x425)](_0x2fc8e4(0x285),_0xa9a586),_0x43c118[_0x2fc8e4(0x267)]();}async[_0x7744bf(0x246)](){var _0x160ce8=_0x7744bf;const _0x10471a=await this[_0x160ce8(0x3db)](),_0x18ec28=this[_0x160ce8(0x4ae)](_0x10471a),_0xca89f5=this['_socketService'][_0x160ce8(0x396)](_0x18ec28);return this[_0x160ce8(0x391)]=_0xca89f5,_0xca89f5;}async[_0x7744bf(0x47d)](){var _0x40667e=_0x7744bf,_0x116fd5,_0x9cf1f4;try{const _0x5e6ce2=(_0x9cf1f4=(_0x116fd5=this['_socket'])!=null?_0x116fd5:this['_candidateSocket'])!=null?_0x9cf1f4:await this[_0x40667e(0x246)]();if(_0x5e6ce2){const _0x431948=_0x5e6ce2[_0x40667e(0x4b4)];_0x5e6ce2[_0x40667e(0x4b4)]=_0x444380=>(this['_rescheduleHeartbeat'](),_0x431948[_0x40667e(0x1b2)](_0x5e6ce2,[_0x444380])),_0x5e6ce2[_0x40667e(0x31f)]['subscribe'](_0xd83811=>this['_onMessage'](_0x5e6ce2,_0xd83811)),_0x5e6ce2['error$'][_0x40667e(0x1cf)](_0x5efdec(0x1))[_0x40667e(0x447)](_0x5401c2=>this[_0x40667e(0x21a)][_0x40667e(0x44a)](_0x40667e(0x28e),_0x5401c2)),_0x5e6ce2['open$'][_0x40667e(0x1cf)](_0x5efdec(0x1))['subscribe'](()=>{var _0x5dfc61=_0x40667e;this[_0x5dfc61(0x494)](_0x5e6ce2);}),_0x5e6ce2[_0x40667e(0x1b6)][_0x40667e(0x1cf)](_0x5efdec(0x1))[_0x40667e(0x447)](_0x193112=>{var _0x280d2c=_0x40667e;this[_0x280d2c(0x21a)][_0x280d2c(0x218)]('[CollaborationSessionService]',_0x280d2c(0x3d9),_0x193112),this[_0x280d2c(0x22c)]();});}}catch(_0x2f4b8e){this[_0x40667e(0x21a)]['error'](_0x2f4b8e),this[_0x40667e(0x22c)]();}}['_onConnectionOpen'](_0x4a0172){var _0x3e440d=_0x7744bf;this['_logService'][_0x3e440d(0x218)]('[CollaborationSessionService]',_0x3e440d(0x2de)),_0x4a0172['send']({'cmd':F[_0x3e440d(0x281)]}),this[_0x3e440d(0x2b6)]();}[_0x7744bf(0x24c)](){var _0x52b2c4=_0x7744bf;this[_0x52b2c4(0x3ce)]=!0x1,this[_0x52b2c4(0x391)]=null,this[_0x52b2c4(0x25d)]['next'](Ie[_0x52b2c4(0x3e1)]),this[_0x52b2c4(0x2c6)][_0x52b2c4(0x3a5)](null),this[_0x52b2c4(0x440)](),this[_0x52b2c4(0x2ba)]();}[_0x7744bf(0x22c)](){var _0x284fe7=_0x7744bf,_0x4cf7c6;this[_0x284fe7(0x24c)](),this['_retryCount']<((_0x4cf7c6=this[_0x284fe7(0x1f1)][_0x284fe7(0x3e9)](Hn))!=null?_0x4cf7c6:kn)?(this[_0x284fe7(0x2d8)][_0x284fe7(0x32a)]({'id':se[_0x284fe7(0x39c)]}),this[_0x284fe7(0x481)]()):this[_0x284fe7(0x2d8)][_0x284fe7(0x32a)]({'id':se[_0x284fe7(0x346)]});}['_tryReconnect'](){var _0x450ff3=_0x7744bf,_0x1b2b45;const _0x34cab5=this[_0x450ff3(0x2b7)],_0x533969=this['_configService'][_0x450ff3(0x3e9)](Y),_0x2083fa=_0x34cab5===0x0?0x0:((_0x1b2b45=_0x533969==null?void 0x0:_0x533969[_0x450ff3(0x3bc)])!=null?_0x1b2b45:$n)*0x2**_0x34cab5;this[_0x450ff3(0x1d6)]=setTimeout(()=>{var _0x384949=_0x450ff3;clearTimeout(this[_0x384949(0x1d6)]),this[_0x384949(0x1d6)]=null,this[_0x384949(0x47d)]();},_0x2083fa),this[_0x450ff3(0x2b7)]+=0x1;}['_onMessage'](_0x6097a9,_0x53c782){var _0x2926d3=_0x7744bf;const {cmd:_0x15385d}=_0x53c782;_0x15385d===F[_0x2926d3(0x281)]&&!this['_socketReady']&&(_0x6097a9[_0x2926d3(0x4a8)]=_0x53c782[_0x2926d3(0x432)][_0x2926d3(0x4a8)],this[_0x2926d3(0x2c6)][_0x2926d3(0x3a5)](_0x6097a9),this[_0x2926d3(0x25d)][_0x2926d3(0x3a5)](Ie['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x15385d===F[_0x2926d3(0x320)]&&this['_clearTimeoutTimer'](),this[_0x2926d3(0x2b6)]();}[_0x7744bf(0x2b6)](){var _0xff32c5=_0x7744bf,_0x2b77f3;this[_0xff32c5(0x2ba)](),this[_0xff32c5(0x3e7)]=setTimeout(()=>this[_0xff32c5(0x21c)](),(_0x2b77f3=this['_configService'][_0xff32c5(0x3e9)](Ln))!=null?_0x2b77f3:Mn);}[_0x7744bf(0x21c)](){var _0x2d3b4e=_0x7744bf;this[_0x2d3b4e(0x317)][_0x2d3b4e(0x4b4)]({'cmd':F[_0x2d3b4e(0x320)]}),this['_waitForHeartbeatResponse']();}[_0x7744bf(0x2bf)](){var _0x43befd=_0x7744bf,_0x19fe3c;this[_0x43befd(0x2c2)]=setTimeout(()=>this[_0x43befd(0x22c)](),(_0x19fe3c=this[_0x43befd(0x1f1)][_0x43befd(0x3e9)](Si))!=null?_0x19fe3c:Ei);}[_0x7744bf(0x2ba)](){var _0x5f1ace=_0x7744bf;this[_0x5f1ace(0x3e7)]!=null&&(clearTimeout(this[_0x5f1ace(0x3e7)]),this[_0x5f1ace(0x3e7)]=null);}['_clearTimeoutTimer'](){var _0x49b332=_0x7744bf;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x49b332(0x2c2)]),this[_0x49b332(0x2c2)]=null);}};Me=hs([me(0x0,_0x46f2f9(_0x6d28a0)),me(0x1,_0x36e00a),me(0x2,_0x387952),me(0x3,Ci),me(0x4,_0x46f2f9(_0x381081)),me(0x5,_0x46f2f9(pe)),me(0x6,_0x49cb22(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x7744bf(0x222)]((n+0x100)[_0x7744bf(0x267)](0x10)['slice'](0x1));function _s(_0xa6e259,_0x438ce4=0x0){var _0x31df0a=_0x7744bf;return(V[_0xa6e259[_0x438ce4+0x0]]+V[_0xa6e259[_0x438ce4+0x1]]+V[_0xa6e259[_0x438ce4+0x2]]+V[_0xa6e259[_0x438ce4+0x3]]+'-'+V[_0xa6e259[_0x438ce4+0x4]]+V[_0xa6e259[_0x438ce4+0x5]]+'-'+V[_0xa6e259[_0x438ce4+0x6]]+V[_0xa6e259[_0x438ce4+0x7]]+'-'+V[_0xa6e259[_0x438ce4+0x8]]+V[_0xa6e259[_0x438ce4+0x9]]+'-'+V[_0xa6e259[_0x438ce4+0xa]]+V[_0xa6e259[_0x438ce4+0xb]]+V[_0xa6e259[_0x438ce4+0xc]]+V[_0xa6e259[_0x438ce4+0xd]]+V[_0xa6e259[_0x438ce4+0xe]]+V[_0xa6e259[_0x438ce4+0xf]])[_0x31df0a(0x28c)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x4c21f4=_0x7744bf;if(!dt){if(typeof crypto>'u'||!crypto[_0x4c21f4(0x48e)])throw new Error(_0x4c21f4(0x434));dt=crypto['getRandomValues'][_0x4c21f4(0x3d7)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x7744bf(0x468)]&&crypto[_0x7744bf(0x468)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x588638,_0x244801,_0x45facc){var _0x19afda=_0x7744bf;if(qt[_0x19afda(0x468)]&&!_0x244801&&!_0x588638)return qt[_0x19afda(0x468)]();_0x588638=_0x588638||{};const _0x2a237d=_0x588638['random']||(_0x588638[_0x19afda(0x2a7)]||us)();return _0x2a237d[0x6]=_0x2a237d[0x6]&0xf|0x40,_0x2a237d[0x8]=_0x2a237d[0x8]&0x3f|0x80,_s(_0x2a237d);}const X=_0x1a6a69(_0x7744bf(0x24e));function uo(_0x5a2384){var _0x32045a=_0x7744bf;return _0x32045a(0x250)+_0x5a2384;}var vs=Object['defineProperty'],ps=Object[_0x7744bf(0x1c0)],gs=(_0x596bb5,_0x21aa40,_0x59e26e,_0x4b064e)=>{var _0x14a83b=_0x7744bf;for(var _0x369168=_0x4b064e>0x1?void 0x0:_0x4b064e?ps(_0x21aa40,_0x59e26e):_0x21aa40,_0x439d03=_0x596bb5[_0x14a83b(0x1db)]-0x1,_0x59be1d;_0x439d03>=0x0;_0x439d03--)(_0x59be1d=_0x596bb5[_0x439d03])&&(_0x369168=(_0x4b064e?_0x59be1d(_0x21aa40,_0x59e26e,_0x369168):_0x59be1d(_0x369168))||_0x369168);return _0x4b064e&&_0x369168&&vs(_0x21aa40,_0x59e26e,_0x369168),_0x369168;},ft=(_0x299660,_0x2f2b60)=>(_0x3ce006,_0x4b0167)=>_0x2f2b60(_0x3ce006,_0x4b0167,_0x299660);function ms(_0x2add97){var _0x5da86=_0x7744bf;const {unitID:_0x37af1f,mutations:_0x11c480}=_0x2add97;return{'unitId':_0x37af1f,'subUnitId':_0x11c480[0x0]['params'][_0x5da86(0x287)]};}let nt=class{constructor(_0x1ef661,_0x3e930c,_0x4863e7){var _0x5b1b4d=_0x7744bf;this[_0x5b1b4d(0x1d9)]=_0x1ef661,this[_0x5b1b4d(0x341)]=_0x3e930c,this[_0x5b1b4d(0x1c9)]=_0x4863e7;}[_0x7744bf(0x483)](_0x24ffec){var _0x52adb6=_0x7744bf,_0x23febf,_0x28b381,_0x1d3589,_0x4cacc3;const _0x1c0c4b=this[_0x52adb6(0x1d9)]['get'](_0x406fca),{unitId:_0x86a096,subUnitId:_0x4accc0}=ms(_0x24ffec),_0x173f77=_0x1c0c4b==null?void 0x0:_0x1c0c4b['getWorkbookSelections'](_0x86a096)['getCurrentSelections'](),_0x2f6b0c=(_0x28b381=(_0x23febf=this[_0x52adb6(0x1c9)][_0x52adb6(0x333)](_0x86a096))==null?void 0x0:_0x23febf['getActiveSheet']())==null?void 0x0:_0x28b381[_0x52adb6(0x265)]();if(_0x173f77[_0x52adb6(0x1db)]===0x0||!_0x86a096||!_0x4accc0)return;const _0x1a9e54=[{'id':_0x2f169f['id'],'params':{'unitId':_0x86a096,'subUnitId':_0x2f6b0c,'selections':_0x5e5c0f['deepClone'](_0x173f77)}}],_0x580a43=this[_0x52adb6(0x341)][_0x52adb6(0x259)](_0x24ffec,_0x1a9e54);if(!_0x17cb2d(_0x580a43))throw _0x580a43[_0x52adb6(0x44a)];const _0x3ba176=(_0x4cacc3=(_0x1d3589=_0x580a43[_0x52adb6(0x40c)][0x0])==null?void 0x0:_0x1d3589[_0x52adb6(0x274)])==null?void 0x0:_0x4cacc3['selections'];if(Array[_0x52adb6(0x43c)](_0x3ba176)&&_0x3ba176[_0x52adb6(0x1db)]){if(_0x3ba176[_0x52adb6(0x1db)]===_0x1a9e54[0x0][_0x52adb6(0x274)][_0x52adb6(0x355)]['length']&&_0x3ba176['every']((_0x1793c8,_0x4de858)=>_0x39d323[_0x52adb6(0x1ed)](_0x1793c8['range'],_0x1a9e54[0x0][_0x52adb6(0x274)][_0x52adb6(0x355)][_0x4de858][_0x52adb6(0x3c0)])))return;this['_injector'][_0x52adb6(0x422)](_0x516aa5)[_0x52adb6(0x2d6)](_0x2f169f['id'],{'unitId':_0x86a096,'subUnitId':_0x2f6b0c,'selections':_0x3ba176});}}};nt=gs([ft(0x0,_0x46f2f9(_0x6d28a0)),ft(0x1,_0x58398b),ft(0x2,_0x464ce2)],nt);const _t=_0x1a6a69(_0x7744bf(0x381));var Ri=(_0x1f6d84=>(_0x1f6d84[_0x1f6d84[_0x7744bf(0x3f4)]=0x0]=_0x7744bf(0x3f4),_0x1f6d84[_0x1f6d84[_0x7744bf(0x22e)]=0x1]='OTHER_CLIENTS_EDITING',_0x1f6d84))(Ri||{});const Ss=new Set([_0x1d24a8['id']]);function Jt(_0x19d3ef,_0xe7c604,_0x52c4c5,_0x46cd9a,_0x2bf79a){var _0x28bd6c=_0x7744bf,_0x3fe66b,_0x369151,_0xf31e35,_0x4ccca7;const _0x4a0aa3=[];for(const _0x29815b of _0x19d3ef)if(Ss[_0x28bd6c(0x4b6)](_0x29815b['id'])){if(_0x4a0aa3[_0x28bd6c(0x1db)]>0x0)break;_0x4a0aa3[_0x28bd6c(0x222)](_0x29815b);break;}else _0x4a0aa3[_0x28bd6c(0x222)](_0x29815b);const _0x48e117=(_0x369151=(_0x3fe66b=_0x2bf79a[_0x28bd6c(0x213)]())==null?void 0x0:_0x3fe66b[_0x28bd6c(0x1b8)])!=null?_0x369151:'unknown',_0x1bc90d=(_0x4ccca7=(_0xf31e35=_0x2bf79a[_0x28bd6c(0x213)]())==null?void 0x0:_0xf31e35[_0x28bd6c(0x4a8)])!=null?_0x4ccca7:_0x28bd6c(0x2d7);return{'changeset':{'unitID':_0xe7c604,'type':_0x2f4300(_0x52c4c5[_0x28bd6c(0x3f2)](_0xe7c604)),'baseRev':_0x46cd9a[_0x28bd6c(0x273)](_0xe7c604),'revision':0x0,'userID':_0x48e117,'memberID':_0x1bc90d,'mutations':_0x4a0aa3},'pendingMutations':_0x19d3ef[_0x28bd6c(0x4a4)](_0x4a0aa3['length'])};}function Es(_0x52bfcb,_0x42fea3,_0x50738b,_0x3cd690,_0x41a9b0){var _0x207dd9=_0x7744bf,_0x117d85,_0x1fcca6,_0x3619d8,_0x2da86a;const _0x3ac6bb=[_0x52bfcb[_0x207dd9(0x2e5)]((_0x36d7b8,_0x38d15b)=>{var _0x496dc6=_0x207dd9,_0x324b97;const {id:_0xfa2aca}=_0x36d7b8,{id:_0x4aea76,type:_0x1ed2ab}=_0x38d15b,_0x2b1bb3=(_0x324b97=_0x36d7b8[_0x496dc6(0x274)])!=null?_0x324b97:{'actions':null},_0x322fd6=_0x38d15b[_0x496dc6(0x274)];if(_0xfa2aca&&_0xfa2aca!==_0x4aea76)throw new Error(_0x496dc6(0x330)+_0xfa2aca+_0x496dc6(0x383)+_0x4aea76+'.');return{..._0x36d7b8,'id':_0x4aea76,'type':_0x1ed2ab,'params':{'unitId':_0x322fd6[_0x496dc6(0x34c)],'textRanges':_0x322fd6[_0x496dc6(0x1f0)],'actions':_0x5df531[_0x496dc6(0x3a8)](_0x2b1bb3[_0x496dc6(0x234)],_0x322fd6['actions'])}};},{})],_0x20e1c0=(_0x1fcca6=(_0x117d85=_0x41a9b0['getCurrentUser']())==null?void 0x0:_0x117d85['userID'])!=null?_0x1fcca6:_0x207dd9(0x2d7),_0x3bcff7=(_0x2da86a=(_0x3619d8=_0x41a9b0[_0x207dd9(0x213)]())==null?void 0x0:_0x3619d8[_0x207dd9(0x4a8)])!=null?_0x2da86a:'unknown';return{'changeset':{'unitID':_0x42fea3,'type':_0x2f4300(_0x50738b['getUnitType'](_0x42fea3)),'baseRev':_0x3cd690['getCurrentRevOfUnit'](_0x42fea3),'revision':0x0,'userID':_0x20e1c0,'memberID':_0x3bcff7,'mutations':_0x3ac6bb},'pendingMutations':[]};}function yi(_0x1cd0b1,_0x58348a){var _0xe63c7c=_0x7744bf;const _0x3ab123=new _0x54f6c6(0x1);return setTimeout(()=>_0x3ab123[_0xe63c7c(0x3a5)](_0x58348a),_0x1cd0b1),_0x3ab123['asObservable']()['pipe'](_0x7624a7(0x1));}const Is={'id':_0x7de1c0['id'],'type':_0x144f12['MUTATION'],'params':{}};var Ts=Object[_0x7744bf(0x467)],Cs=Object['getOwnPropertyDescriptor'],Ce=(_0x3ee657,_0x387229,_0x208401,_0x27062d)=>{var _0x181a9f=_0x7744bf;for(var _0x2d5f1f=_0x27062d>0x1?void 0x0:_0x27062d?Cs(_0x387229,_0x208401):_0x387229,_0x2414f2=_0x3ee657[_0x181a9f(0x1db)]-0x1,_0x4c7fdf;_0x2414f2>=0x0;_0x2414f2--)(_0x4c7fdf=_0x3ee657[_0x2414f2])&&(_0x2d5f1f=(_0x27062d?_0x4c7fdf(_0x387229,_0x208401,_0x2d5f1f):_0x4c7fdf(_0x2d5f1f))||_0x2d5f1f);return _0x27062d&&_0x2d5f1f&&Ts(_0x387229,_0x208401,_0x2d5f1f),_0x2d5f1f;},A=(_0x2ab94f,_0x34fe93)=>(_0x48988c,_0x35c628)=>_0x34fe93(_0x48988c,_0x35c628,_0x2ab94f),Oi=(_0x4ea34f=>(_0x4ea34f[_0x7744bf(0x3ca)]=_0x7744bf(0x446),_0x4ea34f[_0x7744bf(0x2cf)]=_0x7744bf(0x2b8),_0x4ea34f['PENDING']=_0x7744bf(0x435),_0x4ea34f['AWAITING']=_0x7744bf(0x29f),_0x4ea34f['AWAITING_WITH_PENDING']=_0x7744bf(0x1da),_0x4ea34f['FETCH_MISS']=_0x7744bf(0x395),_0x4ea34f[_0x7744bf(0x408)]=_0x7744bf(0x3cf),_0x4ea34f['OFFLINE']=_0x7744bf(0x316),_0x4ea34f))(Oi||{});const Pi=0xea60;class be{constructor(_0x2477da,_0x53d55e,_0xe5336,_0x10c114,_0x169e32,_0x2217a1,_0x1d5105,_0x2e5fa7,_0x3ed87a){var _0x41a661=_0x7744bf;D(this,_0x41a661(0x20a),null),D(this,'_pendingMutations',[]),(this[_0x41a661(0x277)]=_0x2477da,this['type']=_0x53d55e,this[_0x41a661(0x26a)]=_0x169e32,this[_0x41a661(0x450)]=_0x2217a1,this[_0x41a661(0x3eb)]=_0x1d5105,this[_0x41a661(0x22b)]=_0x2e5fa7,this[_0x41a661(0x3a0)]=_0x3ed87a,this['_awaitingChangeset']=_0xe5336,this[_0x41a661(0x353)]=_0x10c114);}['_checkMissing'](_0x5ef0b9){var _0x5d635d=_0x7744bf;const _0x1a6314=this[_0x5d635d(0x22b)][_0x5d635d(0x273)](this[_0x5d635d(0x277)]);return _0x5ef0b9[_0x5d635d(0x332)]>_0x1a6314+0x1?(this[_0x5d635d(0x26a)]['onMissingChangesets']({'from':_0x1a6314,'to':_0x5ef0b9[_0x5d635d(0x332)]-0x1}),!0x0):!0x1;}[_0x7744bf(0x200)](_0x31d104){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x31d104);}[_0x7744bf(0x1c5)](_0x3d7cd8){var _0x19854f=_0x7744bf,_0x1a2386,_0x2a0255;(_0x2a0255=(_0x1a2386=this[_0x19854f(0x26a)])[_0x19854f(0x1e0)])==null||_0x2a0255[_0x19854f(0x46a)](_0x1a2386,_0x3d7cd8);}[_0x7744bf(0x344)](_0x52742a){var _0xcc8aed=_0x7744bf,_0x25d09f,_0x3c4c17;return(_0x3c4c17=(_0x25d09f=this[_0xcc8aed(0x26a)])[_0xcc8aed(0x3f7)])==null?void 0x0:_0x3c4c17[_0xcc8aed(0x46a)](_0x25d09f,_0x52742a);}[_0x7744bf(0x256)](_0x289f0f){var _0x2e4873=_0x7744bf,_0x13d9b5,_0x312e84;return(_0x312e84=(_0x13d9b5=this['_handler'])[_0x2e4873(0x390)])==null?void 0x0:_0x312e84[_0x2e4873(0x46a)](_0x13d9b5,_0x289f0f);}[_0x7744bf(0x4aa)](_0x532e9e){var _0x516ded=_0x7744bf,_0x111980,_0x483cfa,_0x52013f;return(_0x52013f=(_0x483cfa=(_0x111980=this[_0x516ded(0x26a)])[_0x516ded(0x211)])==null?void 0x0:_0x483cfa[_0x516ded(0x46a)](_0x111980,_0x532e9e))!=null?_0x52013f:_0x532e9e;}[_0x7744bf(0x223)](_0x27f21f){var _0x546df8=_0x7744bf,_0x7165a9,_0x2edc88,_0x45a458;return(_0x45a458=(_0x2edc88=(_0x7165a9=this['_handler'])[_0x546df8(0x438)])==null?void 0x0:_0x2edc88['call'](_0x7165a9,_0x27f21f))!=null?_0x45a458:_0x27f21f;}[_0x7744bf(0x3d1)](_0x246cac){var _0x1ac37c=_0x7744bf,_0x32e955,_0x2d5888;if(this[_0x1ac37c(0x2bd)]===Q[_0x1ac37c(0x457)]){const {unitID:_0x32c265,mutations:_0x2aa6c6,memberID:_0x3fc71e}=_0x246cac,_0xaff434=_0x2aa6c6[0x0]['params'][_0x1ac37c(0x1f0)];Array[_0x1ac37c(0x43c)](_0xaff434)&&_0xaff434['length']>0x0&&((_0x2d5888=(_0x32e955=this[_0x1ac37c(0x26a)])[_0x1ac37c(0x35a)])==null||_0x2d5888[_0x1ac37c(0x46a)](_0x32e955,{'unitID':_0x32c265,'memberID':_0x3fc71e,'textRanges':_0xaff434}));}}[_0x7744bf(0x3f1)](){var _0x4cc5aa=_0x7744bf,_0x500085;(_0x500085=this[_0x4cc5aa(0x3a0)])==null||_0x500085['updateOfflineData'](this['unitID'],this[_0x4cc5aa(0x2bd)],this[_0x4cc5aa(0x20a)],this[_0x4cc5aa(0x353)]);}[_0x7744bf(0x3c3)](){var _0x10cd55=_0x7744bf;return this[_0x10cd55(0x22b)][_0x10cd55(0x273)](this[_0x10cd55(0x277)]);}[_0x7744bf(0x255)](){var _0x22721a=_0x7744bf;this[_0x22721a(0x22b)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x3118b6){var _0x40e7e9=_0x7744bf,_0x5f5246;let _0x4657a1=this['_transformRemoteChangesetByIMECache'](_0x3118b6);_0x4657a1=this[_0x40e7e9(0x223)](_0x4657a1);const _0x15ad1d=_0x5c4007(_0x4657a1[_0x40e7e9(0x226)],this[_0x40e7e9(0x450)],{'fromCollab':!0x0});if(!_0x15ad1d['result'])throw _0x15ad1d[_0x40e7e9(0x44a)]instanceof Error?_0x15ad1d[_0x40e7e9(0x44a)]:new Error((_0x5f5246=_0x15ad1d[_0x40e7e9(0x44a)])!=null?_0x5f5246:_0x40e7e9(0x48d));this[_0x40e7e9(0x344)](_0x4657a1),this[_0x40e7e9(0x256)](_0x4657a1),this['_transformUndoredo'](_0x3118b6),this['_transformSelections'](_0x4657a1),this[_0x40e7e9(0x3d1)](_0x4657a1),this[_0x40e7e9(0x255)]();}}let Pe=class extends be{constructor(_0x51b13a,_0x110dae,_0x37c5b6,_0x53e9ee,_0x1c8d17,_0x41679c,_0x3f973b,_0x32c54e,_0xd4ba7a,_0x1d14cb){var _0xcb1f06=_0x7744bf;super(_0x51b13a,_0x110dae,null,[],_0x37c5b6,_0x3f973b,_0x41679c,_0x53e9ee,_0x1d14cb),D(this,_0xcb1f06(0x2c3),_0xcb1f06(0x2b8)),(this[_0xcb1f06(0x1d9)]=_0x1c8d17,this[_0xcb1f06(0x21a)]=_0x32c54e,this[_0xcb1f06(0x341)]=_0xd4ba7a,this[_0xcb1f06(0x244)]=_0x1d14cb);}['appendMutation'](_0x1ff109){var _0xa55205=_0x7744bf;const _0x577b16=this[_0xa55205(0x1d9)][_0xa55205(0x431)](re,this[_0xa55205(0x277)],this[_0xa55205(0x2bd)],[_0x1ff109],this[_0xa55205(0x26a)]);return _0x577b16['_schedule'](),_0x577b16['_updateLocalCache'](),_0x577b16;}[_0x7744bf(0x3ff)](_0x1d5b8b){var _0x235262=_0x7744bf;if(this[_0x235262(0x232)](_0x1d5b8b))return this[_0x235262(0x1d9)]['createInstance'](te,this[_0x235262(0x277)],this[_0x235262(0x2bd)],null,[],null,[_0x1d5b8b],this[_0x235262(0x26a)]);try{const _0x122932=this['_transformService']['transformMutationsWithChangeset'](_0x1d5b8b,[Is]);if(_0x17cb2d(_0x122932)){const {c1Prime:_0x2123a6}=_0x122932;return this[_0x235262(0x3fa)](_0x2123a6),this;}throw _0x122932[_0x235262(0x44a)];}catch(_0x11c059){return this['_logService'][_0x235262(0x44a)](_0x11c059),this[_0x235262(0x34b)](!0x1);}}[_0x7744bf(0x34b)](_0x4e71a7){var _0x2e7b8a=_0x7744bf;return this[_0x2e7b8a(0x1d9)][_0x2e7b8a(0x431)](de,this['unitID'],this['type'],null,[],this[_0x2e7b8a(0x26a)],_0x4e71a7);}[_0x7744bf(0x4a9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x228bd9=_0x7744bf;throw new Error(_0x228bd9(0x41d));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3e36d4=_0x7744bf;return this[_0x3e36d4(0x1d9)][_0x3e36d4(0x431)](fe,this[_0x3e36d4(0x277)],this[_0x3e36d4(0x2bd)],null,[],this[_0x3e36d4(0x26a)]);}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){var _0x2067eb=_0x7744bf;throw new Error(_0x2067eb(0x34a));}[_0x7744bf(0x3c9)](){var _0x45d963=_0x7744bf;const _0x452d4f=this[_0x45d963(0x22b)][_0x45d963(0x273)](this[_0x45d963(0x277)]);return this[_0x45d963(0x26a)][_0x45d963(0x34f)]({'from':_0x452d4f,'to':0x0}),this['_injector'][_0x45d963(0x431)](te,this['unitID'],this['type'],null,[],null,[],this[_0x45d963(0x26a)]);}};Pe=Ce([A(0x3,_0x46f2f9(_0x4d4128)),A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x9d8c79),A(0x6,_0x516aa5),A(0x7,_0x36e00a),A(0x8,_0x58398b),A(0x9,_0x49cb22(X))],Pe);let re=class extends be{constructor(_0x51b744,_0x225cab,_0x31d511,_0x332e02,_0x290044,_0x195000,_0x10d8ac,_0x14672f,_0xd83ef4,_0x457e17,_0x38bca7,_0x2de41e,_0x8a31f1,_0x51efed){var _0x17dedb=_0x7744bf;super(_0x51b744,_0x225cab,null,_0x31d511,_0x332e02,_0xd83ef4,_0x8a31f1,_0x195000,_0x51efed),D(this,_0x17dedb(0x2c3),_0x17dedb(0x435)),D(this,_0x17dedb(0x336),null),D(this,_0x17dedb(0x1ea),null),(this[_0x17dedb(0x1d9)]=_0x290044,this['_memberService']=_0x10d8ac,this['_logService']=_0x14672f,this[_0x17dedb(0x1f1)]=_0x457e17,this[_0x17dedb(0x341)]=_0x38bca7,this['_univerInstanceService']=_0x2de41e);}['appendMutation'](_0x380bd3){var _0x474ca0=_0x7744bf;return this[_0x474ca0(0x353)][_0x474ca0(0x222)](_0x380bd3),this[_0x474ca0(0x3f1)](),this;}['onRemoteChangeset'](_0xc81cb){var _0x532506=_0x7744bf;if(this[_0x532506(0x232)](_0xc81cb))return this[_0x532506(0x452)](),this[_0x532506(0x1d9)][_0x532506(0x431)](te,this[_0x532506(0x277)],this[_0x532506(0x2bd)],null,this['_pendingMutations'],null,[_0xc81cb],this[_0x532506(0x26a)]);try{const _0x800484=this[_0x532506(0x341)][_0x532506(0x259)](_0xc81cb,this['_pendingMutations']);if(_0x17cb2d(_0x800484)){const {c1Prime:_0x3b4d75,m2Prime:_0x11c094}=_0x800484;this[_0x532506(0x3fa)](_0x3b4d75);const _0x136a56=this[_0x532506(0x1d9)][_0x532506(0x431)](re,this['unitID'],this[_0x532506(0x2bd)],_0x11c094,this[_0x532506(0x26a)]);return this['_clearScheduledTask'](),_0x136a56['_schedule'](this[_0x532506(0x336)]?Math['max'](0x0,new Date()[_0x532506(0x23a)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x136a56;}throw _0x800484['error'];}catch(_0x1a1e85){return this[_0x532506(0x21a)][_0x532506(0x44a)](_0x1a1e85),this[_0x532506(0x34b)](!0x1);}}[_0x7744bf(0x4a9)](){var _0x156ba2=_0x7744bf;throw new Error(_0x156ba2(0x242));}[_0x7744bf(0x21f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x7744bf(0x289)](){return this;}['toggleOffline'](){var _0x4ef03d=_0x7744bf;return this[_0x4ef03d(0x452)](),this[_0x4ef03d(0x1d9)]['createInstance'](fe,this[_0x4ef03d(0x277)],this[_0x4ef03d(0x2bd)],null,this[_0x4ef03d(0x353)],this['_handler']);}[_0x7744bf(0x47e)](){return this;}['_schedule'](_0x1f6fce){var _0x484598=_0x7744bf;const _0x221fe3=_0x1f6fce!=null?_0x1f6fce:this[_0x484598(0x4a7)]();this[_0x484598(0x336)]=new Date()[_0x484598(0x23a)](),this[_0x484598(0x1ea)]=setTimeout(()=>{var _0x1b4502=_0x484598;this['_clearScheduledTask']();let _0x2c53ed=null;switch(this['type']){case Q[_0x1b4502(0x49a)]:{_0x2c53ed=Jt(this[_0x1b4502(0x353)],this[_0x1b4502(0x277)],this[_0x1b4502(0x403)],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]);break;}case Q[_0x1b4502(0x457)]:{this[_0x1b4502(0x353)]['every'](_0x6b00bd=>_0x6b00bd['id']===_0x2814bb['id'])?_0x2c53ed=Es(this[_0x1b4502(0x353)],this[_0x1b4502(0x277)],this['_univerInstanceService'],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]):_0x2c53ed=Jt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]);break;}default:throw new Error(_0x1b4502(0x214)+this[_0x1b4502(0x2bd)]+_0x1b4502(0x271));}const {changeset:_0x259511,pendingMutations:_0x167e73}=_0x2c53ed;this['_handler'][_0x1b4502(0x1cb)](_0x259511);const _0x1441dc=_0x167e73[_0x1b4502(0x1db)]?this[_0x1b4502(0x1d9)][_0x1b4502(0x431)](oe,this[_0x1b4502(0x277)],this[_0x1b4502(0x2bd)],_0x259511,_0x167e73,this['_handler'],void 0x0):this[_0x1b4502(0x1d9)][_0x1b4502(0x431)](ue,this[_0x1b4502(0x277)],this[_0x1b4502(0x2bd)],_0x259511,this[_0x1b4502(0x26a)]);_0x1441dc[_0x1b4502(0x3f1)](),this[_0x1b4502(0x26a)][_0x1b4502(0x3c1)](this,_0x1441dc);},_0x221fe3);}[_0x7744bf(0x4a7)](){var _0x4af3af=_0x7744bf,_0x3299fe;const _0x1e8d18=this[_0x4af3af(0x1f1)][_0x4af3af(0x3e9)](Y);return(_0x3299fe=_0x1e8d18==null?void 0x0:_0x1e8d18[_0x4af3af(0x40b)])!=null?_0x3299fe:wn;}[_0x7744bf(0x1d8)](){var _0x47e554=_0x7744bf;throw new Error(_0x47e554(0x43b));}[_0x7744bf(0x452)](){var _0x50b7e1=_0x7744bf;this[_0x50b7e1(0x1ea)]!=null&&(clearTimeout(this[_0x50b7e1(0x1ea)]),this[_0x50b7e1(0x1ea)]=null);}['_onConflict'](_0x4f12eb){var _0x130926=_0x7744bf;return this[_0x130926(0x452)](),this[_0x130926(0x1d9)][_0x130926(0x431)](de,this[_0x130926(0x277)],this[_0x130926(0x2bd)],null,this['_pendingMutations'],this['_handler'],_0x4f12eb);}};re=Ce([A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x46f2f9(_0x4d4128)),A(0x6,_0x46f2f9(Le)),A(0x7,_0x36e00a),A(0x8,_0x516aa5),A(0x9,_0x387952),A(0xa,_0x58398b),A(0xb,_0x464ce2),A(0xc,_0x9d8c79),A(0xd,_0x49cb22(X))],re);let ue=class extends be{constructor(_0x2b16cb,_0x5eeda8,_0x3be4f8,_0x143fba,_0x58b375,_0x41c99a,_0x184f7b,_0x22cd99,_0x4c3789,_0x360af5,_0x124136){var _0xd9b355=_0x7744bf;super(_0x2b16cb,_0x5eeda8,_0x3be4f8,[],_0x143fba,_0x184f7b,_0x360af5,_0x41c99a,_0x124136),D(this,_0xd9b355(0x2c3),_0xd9b355(0x29f)),D(this,_0xd9b355(0x3b9),0x0),D(this,_0xd9b355(0x470)),D(this,_0xd9b355(0x27a)),(this[_0xd9b355(0x1d9)]=_0x58b375,this[_0xd9b355(0x21a)]=_0x22cd99,this['_transformService']=_0x4c3789);}['appendMutation'](_0x1edcc6){var _0x51a724=_0x7744bf;this[_0x51a724(0x452)]();const _0x32f574=this[_0x51a724(0x1d9)][_0x51a724(0x431)](oe,this[_0x51a724(0x277)],this[_0x51a724(0x2bd)],this[_0x51a724(0x20a)],[_0x1edcc6],this[_0x51a724(0x26a)],this[_0x51a724(0x470)]);return _0x32f574[_0x51a724(0x3f1)](),_0x32f574;}[_0x7744bf(0x3ff)](_0x4d741a){var _0x5005d2=_0x7744bf;if(this[_0x5005d2(0x232)](_0x4d741a))return this[_0x5005d2(0x452)](),this[_0x5005d2(0x1d9)][_0x5005d2(0x431)](te,this[_0x5005d2(0x277)],this[_0x5005d2(0x2bd)],this['_awaitingChangeset'],[],null,[_0x4d741a],this[_0x5005d2(0x26a)]);try{const _0x1928ea=this[_0x5005d2(0x341)][_0x5005d2(0x318)]([_0x4d741a],[this[_0x5005d2(0x20a)]],!0x1);if(_0xee5c1(_0x1928ea)){const {c1Prime:_0x303723,c2Prime:_0x4b52b5}=_0x1928ea;this[_0x5005d2(0x3fa)](_0x303723[0x0]),_0x4b52b5[0x0]['baseRev']=this[_0x5005d2(0x3c3)](),this[_0x5005d2(0x452)]();const _0x59598b=this[_0x5005d2(0x1d9)]['createInstance'](ue,this[_0x5005d2(0x277)],this[_0x5005d2(0x2bd)],_0x4b52b5[0x0],this[_0x5005d2(0x26a)]);return _0x59598b['_updateLocalCache'](),_0x59598b;}return this[_0x5005d2(0x34b)](!0x1);}catch(_0x4274e3){return this[_0x5005d2(0x21a)]['error'](_0x4274e3),this['_onConflict'](!0x1);}}[_0x7744bf(0x4a9)](_0x42cd36){var _0x5befd4=_0x7744bf;this[_0x5befd4(0x452)]();const _0x2bec80=this[_0x5befd4(0x22b)]['getCurrentRevOfUnit'](this['unitID']);if(_0x42cd36['revision']<_0x2bec80-0x1)return this;if(this[_0x5befd4(0x232)](_0x42cd36))return this[_0x5befd4(0x1d9)][_0x5befd4(0x431)](te,this[_0x5befd4(0x277)],this[_0x5befd4(0x2bd)],null,[],this[_0x5befd4(0x20a)],[],this[_0x5befd4(0x26a)]);this[_0x5befd4(0x255)]();const _0x2d3c11=this[_0x5befd4(0x1d9)]['createInstance'](Pe,this[_0x5befd4(0x277)],this[_0x5befd4(0x2bd)],this['_handler']);return _0x2d3c11[_0x5befd4(0x3f1)](),_0x2d3c11;}[_0x7744bf(0x21f)](_0x3e708c){var _0x12038d=_0x7744bf;return this[_0x12038d(0x34b)](!!(_0x3e708c!=null&&_0x3e708c['isPermissionRej']));}[_0x7744bf(0x289)](_0x12ae1a){var _0x327c11=_0x7744bf;return this[_0x327c11(0x3b9)]>Pi?this[_0x327c11(0x34d)]():(this[_0x327c11(0x470)]=yi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x12ae1a[_0x327c11(0x2c0)]}),this['_sender']=this['_resendTimer'][_0x327c11(0x447)](({reqId:_0x2f4c4c,timeout:_0x318e0b})=>{var _0x230a74=_0x327c11;this[_0x230a74(0x371)](_0x2f4c4c,_0x318e0b);}),this);}[_0x7744bf(0x34d)](){var _0x55f88c=_0x7744bf;return this[_0x55f88c(0x452)](),this[_0x55f88c(0x1d9)][_0x55f88c(0x431)](fe,this['unitID'],this[_0x55f88c(0x2bd)],this[_0x55f88c(0x20a)],[],this[_0x55f88c(0x26a)]);}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){var _0x141142=_0x7744bf;this[_0x141142(0x26a)][_0x141142(0x1cb)](this[_0x141142(0x20a)]);}['_onConflict'](_0x1705a0){var _0x15f071=_0x7744bf;return this[_0x15f071(0x452)](),this[_0x15f071(0x1d9)]['createInstance'](de,this[_0x15f071(0x277)],this['type'],this[_0x15f071(0x20a)],[],this[_0x15f071(0x26a)],_0x1705a0);}[_0x7744bf(0x371)](_0x37ff05,_0x357e38){var _0x5bd77c=_0x7744bf,_0xb59881;_0x37ff05===((_0xb59881=this[_0x5bd77c(0x20a)])==null?void 0x0:_0xb59881[_0x5bd77c(0x2c0)])&&(this['resend'](),this['_resendTimeout']=_0x357e38===0x0?0x3e8:_0x357e38*0x2);}['_clearScheduledTask'](){var _0x513fff=_0x7744bf,_0x5f0b02;(_0x5f0b02=this[_0x513fff(0x27a)])==null||_0x5f0b02[_0x513fff(0x217)](),this[_0x513fff(0x3b9)]=0x0;}};ue=Ce([A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x46f2f9(_0x4d4128)),A(0x6,_0x516aa5),A(0x7,_0x36e00a),A(0x8,_0x58398b),A(0x9,_0x9d8c79),A(0xa,_0x49cb22(X))],ue);let oe=class extends be{constructor(_0x186e8d,_0x20afe3,_0x4e648a,_0x1a7679,_0x56dac6,_0x2a4490,_0x52ead7,_0x16bffe,_0x706e31,_0x301c62,_0x56b49c,_0x5e4502,_0x3ebe9e){var _0x22ab26=_0x7744bf;super(_0x186e8d,_0x20afe3,_0x4e648a,_0x1a7679,_0x56dac6,_0x706e31,_0x5e4502,_0x16bffe,_0x3ebe9e),D(this,_0x22ab26(0x2c3),_0x22ab26(0x1da)),D(this,'_resendTimeout',0x0),D(this,_0x22ab26(0x470)),D(this,_0x22ab26(0x27a)),(this[_0x22ab26(0x1d9)]=_0x52ead7,this['_logService']=_0x301c62,this[_0x22ab26(0x341)]=_0x56b49c,this[_0x22ab26(0x244)]=_0x3ebe9e,_0x2a4490&&(this[_0x22ab26(0x470)]=_0x2a4490,this[_0x22ab26(0x27a)]=this['_resendTimer'][_0x22ab26(0x447)](({reqId:_0x17af5b,timeout:_0x32b4f0})=>{var _0x31eefa=_0x22ab26;this[_0x31eefa(0x371)](_0x17af5b,_0x32b4f0);})));}['appendMutation'](_0x1f33b4){var _0x2e77c5=_0x7744bf;return this['_pendingMutations'][_0x2e77c5(0x222)](_0x1f33b4),this;}[_0x7744bf(0x3ff)](_0x1ca08b){var _0x50d697=_0x7744bf;if(this[_0x50d697(0x232)](_0x1ca08b))return this[_0x50d697(0x452)](),this[_0x50d697(0x1d9)]['createInstance'](te,this[_0x50d697(0x277)],this[_0x50d697(0x2bd)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1ca08b],this['_handler']);try{const _0x198a05=this[_0x50d697(0x341)]['transformChangesets']([_0x1ca08b],[this[_0x50d697(0x20a)]],!0x1);if(_0xee5c1(_0x198a05)){const {c1Prime:_0x418182,c2Prime:_0x51cc80}=_0x198a05,_0x1677eb=this[_0x50d697(0x341)][_0x50d697(0x259)](_0x418182[0x0],this[_0x50d697(0x353)]);if(_0x17cb2d(_0x1677eb)){const {c1Prime:_0x25c714,m2Prime:_0x35a518}=_0x1677eb;return this[_0x50d697(0x3fa)](_0x25c714),_0x51cc80[0x0][_0x50d697(0x442)]=this[_0x50d697(0x3c3)](),this['_clearScheduledTask'](),this[_0x50d697(0x1d9)][_0x50d697(0x431)](oe,this[_0x50d697(0x277)],this[_0x50d697(0x2bd)],_0x51cc80[0x0],_0x35a518,this[_0x50d697(0x26a)],void 0x0);}throw _0x1677eb['error'];}throw _0x198a05['error'];}catch(_0x5ed030){return this[_0x50d697(0x21a)][_0x50d697(0x44a)](_0x5ed030),this[_0x50d697(0x34b)](!0x1);}}[_0x7744bf(0x4a9)](_0x2c4b46){var _0x46e902=_0x7744bf;if(this[_0x46e902(0x452)](),this[_0x46e902(0x232)](_0x2c4b46))return this[_0x46e902(0x1d9)][_0x46e902(0x431)](te,this['unitID'],this['type'],null,this[_0x46e902(0x353)],this[_0x46e902(0x20a)],[],this['_handler']);this[_0x46e902(0x255)]();const _0xdfc652=this[_0x46e902(0x1d9)][_0x46e902(0x431)](re,this[_0x46e902(0x277)],this[_0x46e902(0x2bd)],this[_0x46e902(0x353)],this['_handler']);return _0xdfc652[_0x46e902(0x1c8)](),_0xdfc652[_0x46e902(0x3f1)](),_0xdfc652;}[_0x7744bf(0x21f)](_0x51074d){var _0x53fa48=_0x7744bf;return this[_0x53fa48(0x34b)](!!(_0x51074d!=null&&_0x51074d['isPermissionRej']));}[_0x7744bf(0x289)](_0x209165){var _0x540f8f=_0x7744bf;return this[_0x540f8f(0x3b9)]>Pi?this['toggleOffline']():(this[_0x540f8f(0x470)]=yi(this[_0x540f8f(0x3b9)],{'timeout':this[_0x540f8f(0x3b9)],'reqId':_0x209165['reqId']}),this[_0x540f8f(0x27a)]=this[_0x540f8f(0x470)][_0x540f8f(0x447)](({reqId:_0x3d98f3,timeout:_0x2a68dd})=>{var _0x344b68=_0x540f8f;this[_0x344b68(0x371)](_0x3d98f3,_0x2a68dd);}),this);}[_0x7744bf(0x34d)](){var _0x5553ec=_0x7744bf;return this[_0x5553ec(0x452)](),this[_0x5553ec(0x1d9)][_0x5553ec(0x431)](fe,this[_0x5553ec(0x277)],this[_0x5553ec(0x2bd)],this['_awaitingChangeset'],this[_0x5553ec(0x353)],this[_0x5553ec(0x26a)]);}['toggleOnline'](){return this;}[_0x7744bf(0x1d8)](){var _0x330a50=_0x7744bf;this[_0x330a50(0x26a)]['onSendChangeset'](this[_0x330a50(0x20a)]);}[_0x7744bf(0x34b)](_0x425498){var _0x50eb84=_0x7744bf;return this[_0x50eb84(0x452)](),this['_injector'][_0x50eb84(0x431)](de,this[_0x50eb84(0x277)],this[_0x50eb84(0x2bd)],null,this[_0x50eb84(0x353)],this['_handler'],_0x425498);}[_0x7744bf(0x371)](_0x3bd28b,_0x13d446){var _0x37d6a8=_0x7744bf,_0x2f907b;_0x3bd28b===((_0x2f907b=this['_awaitingChangeset'])==null?void 0x0:_0x2f907b[_0x37d6a8(0x2c0)])&&(this['resend'](),this[_0x37d6a8(0x3b9)]=_0x13d446===0x0?0x3e8:_0x13d446*0x2);}[_0x7744bf(0x452)](){var _0x137e1b=_0x7744bf,_0x402026;(_0x402026=this[_0x137e1b(0x27a)])==null||_0x402026['unsubscribe'](),this[_0x137e1b(0x3b9)]=0x0;}};oe=Ce([A(0x6,_0x46f2f9(_0x6d28a0)),A(0x7,_0x46f2f9(_0x4d4128)),A(0x8,_0x516aa5),A(0x9,_0x36e00a),A(0xa,_0x58398b),A(0xb,_0x9d8c79),A(0xc,_0x49cb22(X))],oe);let de=class extends be{constructor(_0x1f09f1,_0x29e1ca,_0x2eec6f,_0xca462e,_0x40ad0b,_0x56fa21=!0x1,_0x440013,_0x4dbb41,_0x46103d,_0x3cc5b4,_0x4734f7,_0xeb2192,_0x572842){var _0x5c60c8=_0x7744bf;super(_0x1f09f1,_0x29e1ca,_0x2eec6f,_0xca462e,_0x40ad0b,_0x4dbb41,_0x46103d,_0x3cc5b4,_0x572842),D(this,_0x5c60c8(0x2c3),_0x5c60c8(0x3cf)),(this[_0x5c60c8(0x20e)]=_0x56fa21,this['_permissionService']=_0x440013,this['_localeService']=_0x4734f7,this['_collaborationUIEventService']=_0xeb2192,this[_0x5c60c8(0x244)]=_0x572842,this[_0x5c60c8(0x3ec)](),this[_0x5c60c8(0x1f6)](),this[_0x5c60c8(0x38e)]());}[_0x7744bf(0x42f)](){return this;}['onRemoteChangeset'](){return this;}[_0x7744bf(0x4a9)](){return this;}[_0x7744bf(0x21f)](){return this;}['onRemoteRetry'](){return this;}[_0x7744bf(0x34d)](){return this;}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x7744bf(0x1f6)](){var _0x443696=_0x7744bf,_0xd6af8d;(_0xd6af8d=this['_localCacheService'])==null||_0xd6af8d['updateOfflineData'](this[_0x443696(0x277)],this[_0x443696(0x2bd)],null,[]);}[_0x7744bf(0x3ec)](){var _0x5bd393=_0x7744bf;this[_0x5bd393(0x20e)]?this['_collaborationUIEventService'][_0x5bd393(0x32a)]({'id':se['PERMISSION_DENIED']}):this[_0x5bd393(0x2d8)]['emitEvent']({'id':se[_0x5bd393(0x408)]});}[_0x7744bf(0x38e)](){var _0x148a83=_0x7744bf;this[_0x148a83(0x279)][_0x148a83(0x369)](new _0x5a0758(this[_0x148a83(0x277)])['id'],!0x1);}};de=Ce([A(0x6,_0x46f2f9(_0x13c615)),A(0x7,_0x516aa5),A(0x8,_0x9d8c79),A(0x9,_0x46f2f9(_0x4d4128)),A(0xa,_0x46f2f9(_0x12cbe1)),A(0xb,_0x46f2f9(pe)),A(0xc,_0x49cb22(X))],de);let fe=class extends be{constructor(_0x4b9009,_0x256bb5,_0x55f3e6,_0x1203ad,_0x2ba89b,_0x3c2860,_0x5a080d,_0x15baa7,_0xaab21a,_0x11b944){var _0xe7e5d5=_0x7744bf;super(_0x4b9009,_0x256bb5,_0x55f3e6,_0x1203ad,_0x2ba89b,_0x15baa7,_0xaab21a,_0x5a080d,_0x11b944),D(this,'status','offline'),this[_0xe7e5d5(0x1d9)]=_0x3c2860;}[_0x7744bf(0x42f)](_0x3d0052){var _0x11df23=_0x7744bf;return this[_0x11df23(0x353)]['push'](_0x3d0052),this[_0x11df23(0x3f1)](),this;}[_0x7744bf(0x3ff)](_0x30ab7c){var _0x3a05e5=_0x7744bf;throw new Error(_0x3a05e5(0x41b));}[_0x7744bf(0x4a9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3d46f9=_0x7744bf;throw new Error(_0x3d46f9(0x2e9));}[_0x7744bf(0x289)](){return this;}['toggleOffline'](){return this;}[_0x7744bf(0x47e)](){const {_injector:_0x421405,_pendingMutations:_0x11d0c4,_awaitingChangeset:_0x3cf099,unitID:_0xfc97df,_handler:_0x22043a,type:_0x36fa66}=this,_0x223754=Ni(_0x421405,_0xfc97df,_0x36fa66,_0x3cf099,_0x11d0c4,_0x22043a);return _0x223754 instanceof re?_0x223754['_schedule']():(_0x223754 instanceof oe||_0x223754 instanceof ue)&&_0x223754['resend'](),_0x223754;}[_0x7744bf(0x1d8)](){var _0x395004=_0x7744bf;throw new Error(_0x395004(0x37a));}};fe=Ce([A(0x5,_0x46f2f9(_0x6d28a0)),A(0x6,_0x46f2f9(_0x4d4128)),A(0x7,_0x516aa5),A(0x8,_0x9d8c79),A(0x9,_0x49cb22(X))],fe);let te=class extends be{constructor(_0x2db1b7,_0x6e571a,_0x1a9bc4,_0x227d78,_0x2a9d5d,_0x221f88,_0x4374e6,_0x5a68d4,_0x530131,_0x1b905c,_0x5430e5,_0xdc9579,_0x343206,_0x5b9b3e){var _0x4542c2=_0x7744bf;super(_0x2db1b7,_0x6e571a,_0x1a9bc4,_0x227d78,_0x4374e6,_0x5430e5,_0xdc9579,_0x530131,_0x5b9b3e),D(this,_0x4542c2(0x2c3),_0x4542c2(0x395)),(this[_0x4542c2(0x3ea)]=_0x2a9d5d,this[_0x4542c2(0x278)]=_0x221f88,this[_0x4542c2(0x1d9)]=_0x5a68d4,this['_logService']=_0x1b905c,this[_0x4542c2(0x341)]=_0x343206,this[_0x4542c2(0x244)]=_0x5b9b3e);}[_0x7744bf(0x427)](_0x467bd8){var _0x43e27d=_0x7744bf;try{const _0x49c45=[..._0x467bd8,...this[_0x43e27d(0x278)]],_0x574122=[this[_0x43e27d(0x20a)]||this[_0x43e27d(0x3ea)]][_0x43e27d(0x360)](_0x52f314=>!!_0x52f314);let _0x15c48b,_0x4a28f4;if(_0x574122[_0x43e27d(0x1db)]){const _0x491f5e=this[_0x43e27d(0x341)]['transformChangesets'](_0x49c45,_0x574122,!0x1);if(!_0xee5c1(_0x491f5e))throw _0x491f5e['error'];_0x15c48b=_0x491f5e[_0x43e27d(0x313)],_0x4a28f4=_0x491f5e['c2Prime'];}else _0x15c48b=_0x49c45,_0x4a28f4=[];let _0x492a10=this[_0x43e27d(0x353)];_0x15c48b['forEach'](_0x462d9c=>{var _0x553165=_0x43e27d;let _0x285311;if(_0x492a10[_0x553165(0x1db)]){const _0x50e28d=this[_0x553165(0x341)][_0x553165(0x259)](_0x462d9c,_0x492a10);if(!_0x17cb2d(_0x50e28d))throw _0x50e28d[_0x553165(0x44a)];_0x285311=_0x50e28d[_0x553165(0x313)],_0x492a10=_0x50e28d['m2Prime'];}else _0x285311=_0x462d9c;this[_0x553165(0x3fa)](_0x285311);}),this[_0x43e27d(0x3ea)]&&this['_incrementRevisionNumber'](),this[_0x43e27d(0x20a)]&&_0x4a28f4[_0x43e27d(0x1db)]&&(_0x4a28f4[0x0][_0x43e27d(0x442)]=this[_0x43e27d(0x3c3)]());let _0x12b48a;if(this[_0x43e27d(0x20a)]&&_0x492a10[_0x43e27d(0x1db)]!==0x0)_0x12b48a=this[_0x43e27d(0x1d9)]['createInstance'](oe,this['unitID'],this[_0x43e27d(0x2bd)],_0x4a28f4[0x0],_0x492a10,this[_0x43e27d(0x26a)],void 0x0);else{if(this[_0x43e27d(0x20a)]&&_0x492a10['length']===0x0)_0x4a28f4[0x0][_0x43e27d(0x442)]=this[_0x43e27d(0x3c3)](),_0x12b48a=this['_injector'][_0x43e27d(0x431)](ue,this[_0x43e27d(0x277)],this['type'],_0x4a28f4[0x0],this['_handler']);else{if(_0x492a10[_0x43e27d(0x1db)]!==0x0){const _0x369d1b=this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](re,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],_0x492a10,this[_0x43e27d(0x26a)]);_0x369d1b[_0x43e27d(0x1c8)](),_0x12b48a=_0x369d1b;}else _0x12b48a=this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](Pe,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],this[_0x43e27d(0x26a)]);}}return _0x12b48a[_0x43e27d(0x3f1)](),_0x12b48a;}catch(_0x3c3baf){return this[_0x43e27d(0x21a)][_0x43e27d(0x44a)](_0x43e27d(0x32d),_0x43e27d(0x465),_0x3c3baf),this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](de,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],this['_awaitingChangeset'],this[_0x43e27d(0x353)],this[_0x43e27d(0x26a)],!0x1);}}[_0x7744bf(0x1d8)](){var _0x5cc078=_0x7744bf;throw new Error(_0x5cc078(0x28b));}[_0x7744bf(0x42f)](_0x3b2d81){var _0x3af7b6=_0x7744bf;return this[_0x3af7b6(0x353)]['push'](_0x3b2d81),this;}[_0x7744bf(0x3ff)](_0x1351a1){var _0x513df6=_0x7744bf;return this[_0x513df6(0x278)][_0x513df6(0x222)](_0x1351a1),this;}[_0x7744bf(0x4a9)](_0x1d6920){var _0x5a952e=_0x7744bf;if(this[_0x5a952e(0x20a)])return this[_0x5a952e(0x3ea)]=this[_0x5a952e(0x20a)],this[_0x5a952e(0x20a)]=null,this;throw new Error(_0x5a952e(0x462));}['onRemoteRej'](_0x425616){var _0x2b8640=_0x7744bf;return this['_onConflict'](!!(_0x425616!=null&&_0x425616[_0x2b8640(0x358)]));}['onRemoteRetry'](){return this;}[_0x7744bf(0x34d)](){var _0x19e523=_0x7744bf;return this[_0x19e523(0x1d9)][_0x19e523(0x431)](fe,this[_0x19e523(0x277)],this[_0x19e523(0x2bd)],this['_awaitingChangeset'],this[_0x19e523(0x353)],this[_0x19e523(0x26a)]);}[_0x7744bf(0x47e)](){return this;}['_onConflict'](_0x23ebdd){var _0x11557b=_0x7744bf;return this[_0x11557b(0x1d9)][_0x11557b(0x431)](de,this['unitID'],this[_0x11557b(0x2bd)],this[_0x11557b(0x20a)],this[_0x11557b(0x353)],this[_0x11557b(0x26a)],_0x23ebdd);}};te=Ce([A(0x7,_0x46f2f9(_0x6d28a0)),A(0x8,_0x46f2f9(_0x4d4128)),A(0x9,_0x36e00a),A(0xa,_0x516aa5),A(0xb,_0x9d8c79),A(0xc,_0x58398b),A(0xd,_0x49cb22(X))],te);function Ni(_0x3c8475,_0x28f06b,_0x22119e,_0x5c4b3b,_0x50ad96,_0x32c690){var _0x22bf5b=_0x7744bf;return _0x5c4b3b&&_0x50ad96['length']?_0x3c8475['createInstance'](oe,_0x28f06b,_0x22119e,_0x5c4b3b,_0x50ad96,_0x32c690,void 0x0):_0x5c4b3b?_0x3c8475[_0x22bf5b(0x431)](ue,_0x28f06b,_0x22119e,_0x5c4b3b,_0x32c690):_0x50ad96[_0x22bf5b(0x1db)]?_0x3c8475[_0x22bf5b(0x431)](re,_0x28f06b,_0x22119e,_0x50ad96,_0x32c690):_0x3c8475[_0x22bf5b(0x431)](Pe,_0x28f06b,_0x22119e,_0x32c690);}var bs=Object[_0x7744bf(0x467)],Rs=Object['getOwnPropertyDescriptor'],Mt=(_0x17f3fa,_0x1cd7c4,_0x3caa38,_0xb94490)=>{var _0x55f321=_0x7744bf;for(var _0x1b1834=_0xb94490>0x1?void 0x0:_0xb94490?Rs(_0x1cd7c4,_0x3caa38):_0x1cd7c4,_0xfa493c=_0x17f3fa[_0x55f321(0x1db)]-0x1,_0x1f3220;_0xfa493c>=0x0;_0xfa493c--)(_0x1f3220=_0x17f3fa[_0xfa493c])&&(_0x1b1834=(_0xb94490?_0x1f3220(_0x1cd7c4,_0x3caa38,_0x1b1834):_0x1f3220(_0x1b1834))||_0x1b1834);return _0xb94490&&_0x1b1834&&bs(_0x1cd7c4,_0x3caa38,_0x1b1834),_0x1b1834;},k=(_0x2be627,_0x4665e5)=>(_0x2313c3,_0x2fc177)=>_0x4665e5(_0x2313c3,_0x2fc177,_0x2be627);let st=class extends _0x2bcc2a{constructor(_0x161740,_0x577afa,_0x7c444c,_0x41193f,_0x1ca63e,_0x797f11,_0x1028c8,_0x3c5aa0,_0x52c4c7,_0x24ea1d,_0x4f53a3,_0x3dca84,_0x9c44ac){var _0x517ad2=_0x7744bf;super(),D(this,_0x517ad2(0x448),new _0xb58407(null)),D(this,_0x517ad2(0x20d),this[_0x517ad2(0x448)][_0x517ad2(0x463)]()),D(this,'_state'),D(this,_0x517ad2(0x25c),!0x1),D(this,_0x517ad2(0x402),''),D(this,_0x517ad2(0x3f8),0x0),D(this,_0x517ad2(0x37f),this['state$'][_0x517ad2(0x1cf)](_0xbab8e0(_0x3a8f30=>_0x3a8f30?_0x3a8f30['status']:Oi[_0x517ad2(0x3e1)]),_0x170902(0x1))),D(this,_0x517ad2(0x262),!0x1),D(this,_0x517ad2(0x32c),[]),(this[_0x517ad2(0x277)]=_0x161740,this['session']=_0x577afa,this[_0x517ad2(0x37c)]=_0x7c444c,this[_0x517ad2(0x1d9)]=_0x41193f,this[_0x517ad2(0x31a)]=_0x1ca63e,this[_0x517ad2(0x345)]=_0x797f11,this['_revisionService']=_0x1028c8,this[_0x517ad2(0x30a)]=_0x3c5aa0,this[_0x517ad2(0x21a)]=_0x52c4c7,this[_0x517ad2(0x450)]=_0x24ea1d,this[_0x517ad2(0x279)]=_0x4f53a3,this[_0x517ad2(0x3fb)]=_0x3dca84,this['_localCacheService']=_0x9c44ac);}get[_0x7744bf(0x301)](){var _0x439d3c=_0x7744bf;return this[_0x439d3c(0x270)];}async[_0x7744bf(0x475)](){var _0x10383c=_0x7744bf;if(this[_0x10383c(0x301)])throw new Error(_0x10383c(0x44d));await this[_0x10383c(0x364)]();}[_0x7744bf(0x37e)](){var _0x47045b=_0x7744bf;return this[_0x47045b(0x25c)]=!0x0,_0x52f3e6(()=>{var _0x44d26c=_0x47045b;this[_0x44d26c(0x25c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x7744bf(0x2c8)](_0x22c83e){var _0x237655=_0x7744bf;this[_0x237655(0x41f)](_0x22c83e);}[_0x7744bf(0x41a)](_0x2ac90f){var _0x1f33a7=_0x7744bf;this['_state']=_0x2ac90f,this['_state$'][_0x1f33a7(0x3a5)](_0x2ac90f);}async[_0x7744bf(0x364)](){var _0xedbb09=_0x7744bf,_0x4a835e;this['_updateState'](await this[_0xedbb09(0x306)]()),this[_0xedbb09(0x3fb)]&&((_0x4a835e=this[_0xedbb09(0x3fb)])==null||_0x4a835e[_0xedbb09(0x471)](this['unitID']),this[_0xedbb09(0x3c4)](this[_0xedbb09(0x3fb)][_0xedbb09(0x3ae)](this[_0xedbb09(0x277)])[_0xedbb09(0x447)](_0x834d5b=>{var _0x4ce6fd=_0xedbb09;this['_logService'][_0x4ce6fd(0x218)](_0x4ce6fd(0x35d),_0x4ce6fd(0x472),_0x834d5b),_0x834d5b===Ri[_0x4ce6fd(0x22e)]?(this['_eventService'][_0x4ce6fd(0x32a)]({'id':se['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x4ce6fd(0x369)](new _0x5a0758(this[_0x4ce6fd(0x277)])['id'],!0x1),this['_permissionService'][_0x4ce6fd(0x27f)](!0x1)):(this[_0x4ce6fd(0x279)][_0x4ce6fd(0x369)](new _0x5a0758(this[_0x4ce6fd(0x277)])['id'],!0x0),this[_0x4ce6fd(0x279)][_0x4ce6fd(0x27f)](!0x0));})));let _0x8076eb=!0x1;return this['disposeWithMe'](this['session'][_0xedbb09(0x47f)][_0xedbb09(0x447)](_0x5001fb=>{var _0x4bef5e=_0xedbb09;_0x5001fb===Ie[_0x4bef5e(0x3bf)]?this[_0x4bef5e(0x38c)](_0x8076eb):_0x5001fb===Ie['OFFLINE']&&(_0x8076eb=!0x0,this[_0x4bef5e(0x3bd)]());})),this[_0xedbb09(0x3c4)](this['session'][_0xedbb09(0x363)]['subscribe'](_0x5d1fe0=>{var _0x411409=_0xedbb09;try{switch(_0x5d1fe0[_0x411409(0x1e1)]){case _0x51c9a6['NEW_CHANGESETS']:{this[_0x411409(0x2e7)](_0x35a1d5(_0x5d1fe0[_0x411409(0x432)]));break;}case _0x51c9a6['CHANGESET_ACK']:{this[_0x411409(0x25e)](_0x5d1fe0[_0x411409(0x432)]);break;}case _0x51c9a6[_0x411409(0x2f7)]:{this[_0x411409(0x2c7)]();break;}case _0x51c9a6[_0x411409(0x2dc)]:{this[_0x411409(0x1d1)](_0x5d1fe0['data']);break;}case _0x51c9a6['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x5d1fe0[_0x411409(0x432)][_0x411409(0x496)]['map'](_0x3d870a=>_0x35a1d5(_0x3d870a)));break;}case _0x51c9a6[_0x411409(0x2af)]:this[_0x411409(0x2c7)]({'isPermissionRej':!0x0});}}catch(_0x573151){throw console[_0x411409(0x44a)](_0x411409(0x2e3),_0x573151),_0x573151;}})),this[_0xedbb09(0x270)];}['_unlockTransition'](){var _0x142d50=_0x7744bf;this[_0x142d50(0x262)]=!0x1;}[_0x7744bf(0x2b0)](){var _0x5e72a2=_0x7744bf;if(this[_0x5e72a2(0x262)])throw new Error(_0x5e72a2(0x1c4));this[_0x5e72a2(0x262)]=!0x0;}['_onLocalMutation'](_0x90d045){var _0x33ed9b=_0x7744bf;this[_0x33ed9b(0x2b0)](),this[_0x33ed9b(0x41a)](this[_0x33ed9b(0x270)][_0x33ed9b(0x42f)](_0x90d045)),this[_0x33ed9b(0x39d)]();}[_0x7744bf(0x2e7)](_0x30af47){var _0x55eb45=_0x7744bf;if(!(_0x30af47[_0x55eb45(0x332)]<=this[_0x55eb45(0x22b)]['getCurrentRevOfUnit'](this[_0x55eb45(0x277)]))){if(this[_0x55eb45(0x25c)]){this[_0x55eb45(0x32c)]['push'](_0x30af47);return;}this['_applyRemoteChangeset'](_0x30af47);}}['_exhaustRemoteChangesetQueue'](){var _0x2f2c51=_0x7744bf;this['_remoteChangesetQueue'][_0x2f2c51(0x365)](_0x43a101=>this[_0x2f2c51(0x1eb)](_0x43a101)),this[_0x2f2c51(0x32c)]=[];}[_0x7744bf(0x1eb)](_0x434660){var _0x5f5d14=_0x7744bf;const _0x105834=this[_0x5f5d14(0x31a)][_0x5f5d14(0x26b)][_0x5f5d14(0x414)](this[_0x5f5d14(0x31a)][_0x5f5d14(0x26b)][_0x5f5d14(0x40f)]()['COMPRESS_MUTATION_APPLY'])(_0x434660['mutations'],null)||_0x434660[_0x5f5d14(0x226)],_0x3ac656={..._0x434660,'mutations':_0x105834};this[_0x5f5d14(0x2b0)](),this[_0x5f5d14(0x41a)](this[_0x5f5d14(0x270)][_0x5f5d14(0x3ff)](_0x3ac656)),this[_0x5f5d14(0x39d)]();}[_0x7744bf(0x25e)](_0x20670f){var _0x5f9c54=_0x7744bf;this['_lockTransition'](),this['_updateState'](this[_0x5f9c54(0x270)]['onRemoteAck'](_0x20670f)),this[_0x5f9c54(0x39d)]();}[_0x7744bf(0x2c7)](_0x1e4e35){var _0x251fde=_0x7744bf;this[_0x251fde(0x2b0)](),this[_0x251fde(0x41a)](this[_0x251fde(0x270)][_0x251fde(0x21f)](_0x1e4e35)),this[_0x251fde(0x39d)]();}['_onRemoteRetry'](_0x503cc6){var _0x7267fe=_0x7744bf;this[_0x7267fe(0x2b0)](),this['_updateState'](this['_state'][_0x7267fe(0x289)](_0x503cc6)),this[_0x7267fe(0x39d)]();}[_0x7744bf(0x404)](_0x225b10){var _0x351d9e=_0x7744bf;if(!(this['_state']instanceof te))throw new TypeError(_0x351d9e(0x3a3));const _0x2b9698=_0x225b10[_0x351d9e(0x40e)](_0x2a3801=>{var _0x4a3692=_0x351d9e;const _0x322e7d=this[_0x4a3692(0x31a)][_0x4a3692(0x26b)]['fetchThroughInterceptors'](this[_0x4a3692(0x31a)][_0x4a3692(0x26b)][_0x4a3692(0x40f)]()['COMPRESS_MUTATION_APPLY'])(_0x2a3801['mutations'],null)||_0x2a3801['mutations'];return{..._0x2a3801,'mutations':_0x322e7d};});this['_lockTransition'](),this[_0x351d9e(0x41a)](this[_0x351d9e(0x270)]['onMissedChangesetFetched'](_0x2b9698)),this[_0x351d9e(0x39d)]();}[_0x7744bf(0x3bd)](){var _0x373888=_0x7744bf;this[_0x373888(0x2b0)](),this[_0x373888(0x41a)](this[_0x373888(0x270)][_0x373888(0x34d)]()),this['_unlockTransition']();}['_toggleOnline'](_0x452200=!0x1){var _0x35ad0c=_0x7744bf;this[_0x35ad0c(0x2b0)](),this[_0x35ad0c(0x41a)](this[_0x35ad0c(0x270)][_0x35ad0c(0x47e)]()),this[_0x35ad0c(0x39d)]();const _0xd8d42e=this[_0x35ad0c(0x270)];_0x452200&&_0xd8d42e instanceof Pe&&(this[_0x35ad0c(0x2b0)](),this[_0x35ad0c(0x41a)](_0xd8d42e['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1220fa=>{var _0x2ee770=_0x186f;this[_0x2ee770(0x1ba)][_0x2ee770(0x47f)][_0x2ee770(0x1cf)](_0x7624a7(0x1))['subscribe'](async _0x30b267=>{var _0x53887b=_0x2ee770;_0x1220fa(await this[_0x53887b(0x207)](_0x30b267===Ie['ONLINE']));});});}[_0x7744bf(0x1f2)](){var _0x18d6bb=_0x7744bf;const _0x47178f=this[_0x18d6bb(0x277)];return{'onStateChange':(_0xa09965,_0x41a066)=>{var _0x14b740=_0x18d6bb;if(_0xa09965!==this['_state'])throw new Error(_0x14b740(0x1fd)+_0xa09965[_0x14b740(0x2c3)]+_0x14b740(0x1ec)+_0x41a066['status']+_0x14b740(0x3fe)+this[_0x14b740(0x270)][_0x14b740(0x2c3)]);this[_0x14b740(0x41a)](_0x41a066);},'onSendChangeset':_0x40e5a2=>{var _0x56430f=_0x18d6bb;_0x40e5a2['sid']||(_0x40e5a2[_0x56430f(0x35c)]=this[_0x56430f(0x402)],_0x40e5a2[_0x56430f(0x2c0)]=++this[_0x56430f(0x3f8)]);const _0x705575={'eventID':_0x51c9a6[_0x56430f(0x2f3)],'data':{'unitID':_0x40e5a2['unitID'],'unitType':this[_0x56430f(0x37c)],'changeset':_0x40e5a2,'memberID':this[_0x56430f(0x1ba)][_0x56430f(0x421)]()}};this['session'][_0x56430f(0x4b4)](_0x705575,this[_0x56430f(0x277)]);},'onMissingChangesets':({from:_0x535f0a,to:_0x3379bd})=>{var _0x98cc22=_0x18d6bb;this[_0x98cc22(0x21a)]['debug'](_0x98cc22(0x35d),'fetching\x20missing\x20changesets\x20from\x20'+_0x535f0a+_0x98cc22(0x379)+_0x3379bd);const _0x76120={'eventID':_0x51c9a6[_0x98cc22(0x33a)],'data':{'unitID':_0x47178f,'unitType':this[_0x98cc22(0x37c)],'from':_0x535f0a,'to':_0x3379bd}};this['session'][_0x98cc22(0x4b4)](_0x76120,this['unitID']);}};}async['_createInitialStateImpl'](_0x2579c9){var _0x8da4b9=_0x7744bf,_0x2facbe,_0x377b7f,_0x664f18;const _0x157c16=await((_0x2facbe=this[_0x8da4b9(0x3a0)])==null?void 0x0:_0x2facbe[_0x8da4b9(0x292)](this['unitID'])),_0x1b4749=(_0x377b7f=_0x157c16==null?void 0x0:_0x157c16[_0x8da4b9(0x226)])!=null?_0x377b7f:[],_0x1f9460=(_0x664f18=_0x157c16==null?void 0x0:_0x157c16['awaitingChangeset'])!=null?_0x664f18:null,_0x18f10a=!!(_0x1f9460!=null&&_0x1f9460[_0x8da4b9(0x35c)])&&!!(_0x1f9460!=null&&_0x1f9460[_0x8da4b9(0x2c0)]);this[_0x8da4b9(0x402)]=_0x18f10a?_0x1f9460['sid']:fs(),this[_0x8da4b9(0x3f8)]=_0x18f10a?_0x1f9460['reqId']:0x0;const _0x9747c2=this['unitID'];try{this[_0x8da4b9(0x272)](_0x1f9460,_0x1b4749);}catch(_0xce3833){this[_0x8da4b9(0x21a)]['error'](_0xce3833);}const _0x567fc8=this['_createHandler']();if(_0x2579c9){const _0x163201=Ni(this['_injector'],_0x9747c2,this[_0x8da4b9(0x37c)],_0x1f9460,_0x1b4749,_0x567fc8);return _0x163201 instanceof re?_0x163201[_0x8da4b9(0x1c8)]():(_0x163201 instanceof oe||_0x163201 instanceof ue)&&_0x163201['resend'](),_0x163201;}return this[_0x8da4b9(0x1d9)][_0x8da4b9(0x431)](fe,_0x9747c2,this[_0x8da4b9(0x37c)],_0x1f9460,_0x1b4749,_0x567fc8);}['_replayCachedMutations'](_0xae21c8,_0x1df277){var _0x1d0865=_0x7744bf,_0x5bd578,_0x2840a5;const _0x414b8e=this[_0x1d0865(0x31a)][_0x1d0865(0x26b)][_0x1d0865(0x414)](this[_0x1d0865(0x31a)][_0x1d0865(0x26b)][_0x1d0865(0x40f)]()[_0x1d0865(0x2fd)]);(_0x5bd578=_0x414b8e((_0xae21c8==null?void 0x0:_0xae21c8[_0x1d0865(0x226)])||[],null))==null||_0x5bd578[_0x1d0865(0x365)](_0x10b6b2=>this['_commandService'][_0x1d0865(0x2d6)](_0x10b6b2['id'],_0x10b6b2['params'])),(_0x2840a5=_0x414b8e(_0x1df277||[],null))==null||_0x2840a5[_0x1d0865(0x365)](_0x467d3d=>this[_0x1d0865(0x450)][_0x1d0865(0x2d6)](_0x467d3d['id'],_0x467d3d[_0x1d0865(0x274)]));}};st=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(pe)),k(0x8,_0x36e00a),k(0x9,_0x516aa5),k(0xa,_0x13c615),k(0xb,_0x49cb22(_t)),k(0xc,_0x49cb22(X))],st);let Ct=class extends st{constructor(_0x3fe560,_0x33d7a4,_0x46ee7a,_0x3ae63e,_0x1defcc,_0x24f89e,_0x2d3520,_0x43b162,_0x437fe6,_0x169bef,_0x5f5dec,_0x39b688,_0x52f9e7){var _0x46aa1a=_0x7744bf;super(_0x3fe560,_0x46ee7a,_0x33d7a4,_0x3ae63e,_0x1defcc,_0x24f89e,_0x2d3520,_0x43b162,_0x437fe6,_0x169bef,_0x5f5dec,_0x39b688,_0x52f9e7),D(this,'_handlerCallback',null),(this[_0x46aa1a(0x277)]=_0x3fe560,this['type']=_0x33d7a4);}['addHandlerCallback'](_0xe1fffa){this['_handlerCallback']=_0xe1fffa;}['dispose'](){var _0x5c31d8=_0x7744bf;this[_0x5c31d8(0x473)]=null,super[_0x5c31d8(0x348)]();}[_0x7744bf(0x1f2)](){var _0x1b9d68=_0x7744bf;const _0x37648d=super[_0x1b9d68(0x1f2)]();return _0x37648d[_0x1b9d68(0x3f7)]=_0x2e054c=>{var _0x2a77b3=_0x1b9d68,_0x570726,_0x485db6;return(_0x485db6=(_0x570726=this['_handlerCallback'])==null?void 0x0:_0x570726[_0x2a77b3(0x3f7)])==null?void 0x0:_0x485db6[_0x2a77b3(0x46a)](_0x570726,_0x2e054c);},_0x37648d[_0x1b9d68(0x390)]=_0x38bc0c=>{var _0x747be8=_0x1b9d68,_0x582399,_0x109b42;return(_0x109b42=(_0x582399=this['_handlerCallback'])==null?void 0x0:_0x582399[_0x747be8(0x390)])==null?void 0x0:_0x109b42['call'](_0x582399,_0x38bc0c);},_0x37648d[_0x1b9d68(0x1e0)]=_0x26ea28=>{var _0x10c5ed=_0x1b9d68,_0x2bb617,_0x12c4d3;return(_0x12c4d3=(_0x2bb617=this['_handlerCallback'])==null?void 0x0:_0x2bb617[_0x10c5ed(0x1e0)])==null?void 0x0:_0x12c4d3[_0x10c5ed(0x46a)](_0x2bb617,_0x26ea28);},_0x37648d['onSyncEditingCollabCursor']=_0x41e5fe=>{var _0x117a68=_0x1b9d68,_0x3c2ef5,_0xf01a10;return(_0xf01a10=(_0x3c2ef5=this[_0x117a68(0x473)])==null?void 0x0:_0x3c2ef5[_0x117a68(0x35a)])==null?void 0x0:_0xf01a10[_0x117a68(0x46a)](_0x3c2ef5,_0x41e5fe);},_0x37648d[_0x1b9d68(0x211)]=_0xd852a1=>{var _0x82f497=_0x1b9d68,_0x4e1174,_0x325610,_0x447ac7;if(!((_0x4e1174=this[_0x82f497(0x473)])!=null&&_0x4e1174[_0x82f497(0x211)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x447ac7=(_0x325610=this[_0x82f497(0x473)])==null?void 0x0:_0x325610['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x447ac7[_0x82f497(0x46a)](_0x325610,_0xd852a1);},_0x37648d[_0x1b9d68(0x438)]=_0x4132da=>{var _0x2509ef=_0x1b9d68,_0x1986e1,_0x26c43a,_0x439259;if(!((_0x1986e1=this[_0x2509ef(0x473)])!=null&&_0x1986e1[_0x2509ef(0x438)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x439259=(_0x26c43a=this['_handlerCallback'])==null?void 0x0:_0x26c43a['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x439259['call'](_0x26c43a,_0x4132da);},_0x37648d;}async[_0x7744bf(0x364)](){var _0x320c70=_0x7744bf;const _0x4f7bef=await super[_0x320c70(0x364)]();return this[_0x320c70(0x3c4)](this[_0x320c70(0x450)][_0x320c70(0x476)]((_0x17a15c,_0x19feef)=>{var _0x3a1aa5=_0x320c70;if(_0x17a15c[_0x3a1aa5(0x2bd)]!==_0x144f12[_0x3a1aa5(0x44e)]||_0x19feef!=null&&_0x19feef[_0x3a1aa5(0x1f3)]||_0x19feef!=null&&_0x19feef[_0x3a1aa5(0x305)]||_0x17a15c['id']===_0x2814bb['id'])return;const _0x23d899=_0x17a15c[_0x3a1aa5(0x274)];if((_0x23d899==null?void 0x0:_0x23d899[_0x3a1aa5(0x34c)])!==this['unitID'])return;const _0xaec2bd=_0x17a15c,_0x5217ed=this[_0x3a1aa5(0x31a)][_0x3a1aa5(0x26b)]['fetchThroughInterceptors'](this[_0x3a1aa5(0x31a)]['interceptor']['getInterceptPoints']()[_0x3a1aa5(0x458)])([_0xaec2bd],null)||[_0xaec2bd];this[_0x3a1aa5(0x41f)](_0x5217ed[0x0]);})),_0x4f7bef;}};Ct=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(pe)),k(0x8,_0x36e00a),k(0x9,_0x516aa5),k(0xa,_0x13c615),k(0xb,_0x49cb22(_t)),k(0xc,_0x49cb22(X))],Ct);let bt=class extends st{constructor(_0x427d54,_0x614fed,_0x36182f,_0x5760c4,_0x419238,_0x12f1c6,_0x3ec3c9,_0x28f613,_0x3a77b1,_0x2512a1,_0x2d724d,_0x4f9bfc,_0x2bacea,_0x51536d){var _0x3dd5e1=_0x7744bf;super(_0x427d54,_0x36182f,_0x614fed,_0x5760c4,_0x419238,_0x12f1c6,_0x3ec3c9,_0x3a77b1,_0x2512a1,_0x2d724d,_0x4f9bfc,_0x2bacea,_0x51536d),this[_0x3dd5e1(0x277)]=_0x427d54,this[_0x3dd5e1(0x2bd)]=_0x614fed,this[_0x3dd5e1(0x484)]=_0x28f613;}[_0x7744bf(0x1f2)](){var _0x5e8ce7=_0x7744bf;const _0x585817=super[_0x5e8ce7(0x1f2)]();return _0x585817[_0x5e8ce7(0x1e0)]=_0x5c5586=>this[_0x5e8ce7(0x484)]['transformSelections'](_0x5c5586),_0x585817;}async['_init'](){var _0x4f4b2b=_0x7744bf;const _0x515d73=await super['_init']();return this[_0x4f4b2b(0x3c4)](this[_0x4f4b2b(0x450)]['onCommandExecuted']((_0x21fe75,_0x291037)=>{var _0x5424c8=_0x4f4b2b;if(_0x21fe75[_0x5424c8(0x2bd)]!==_0x144f12[_0x5424c8(0x44e)]||_0x291037!=null&&_0x291037[_0x5424c8(0x1f3)]||_0x291037!=null&&_0x291037[_0x5424c8(0x305)])return;const _0x16572f=_0x21fe75[_0x5424c8(0x274)];if((_0x16572f==null?void 0x0:_0x16572f[_0x5424c8(0x34c)])!==this[_0x5424c8(0x277)])return;const _0x5f5b91=_0x21fe75,_0x36b084=this[_0x5424c8(0x31a)][_0x5424c8(0x26b)][_0x5424c8(0x414)](this[_0x5424c8(0x31a)]['interceptor'][_0x5424c8(0x40f)]()['COMPRESS_MUTATION_SEND'])([_0x5f5b91],null)||[_0x5f5b91];this[_0x5424c8(0x41f)](_0x36b084[0x0]);})),_0x515d73;}};bt=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(nt)),k(0x8,_0x46f2f9(pe)),k(0x9,_0x36e00a),k(0xa,_0x516aa5),k(0xb,_0x13c615),k(0xc,_0x49cb22(_t)),k(0xd,_0x49cb22(X))],bt);var ys=Object[_0x7744bf(0x467)],Os=Object[_0x7744bf(0x1c0)],Ps=(_0x4d0e93,_0x59c000,_0xcc39ca,_0x65476c)=>{var _0x484b28=_0x7744bf;for(var _0xcd331b=_0x65476c>0x1?void 0x0:_0x65476c?Os(_0x59c000,_0xcc39ca):_0x59c000,_0x49a06b=_0x4d0e93[_0x484b28(0x1db)]-0x1,_0x48ed30;_0x49a06b>=0x0;_0x49a06b--)(_0x48ed30=_0x4d0e93[_0x49a06b])&&(_0xcd331b=(_0x65476c?_0x48ed30(_0x59c000,_0xcc39ca,_0xcd331b):_0x48ed30(_0xcd331b))||_0xcd331b);return _0x65476c&&_0xcd331b&&ys(_0x59c000,_0xcc39ca,_0xcd331b),_0xcd331b;},vt=(_0x599198,_0x5d9da7)=>(_0x39ffb2,_0x2fed35)=>_0x5d9da7(_0x39ffb2,_0x2fed35,_0x599198);let rt=class extends _0x2bcc2a{constructor(_0x8fa8ac,_0x1683be,_0x1629a9){var _0x5bed8a=_0x7744bf;super(),D(this,_0x5bed8a(0x3f0),new Map()),D(this,_0x5bed8a(0x1f7),new _0x14ccc3()),D(this,'entityInit$',this['_entityInit$'][_0x5bed8a(0x463)]()),(this[_0x5bed8a(0x1d9)]=_0x8fa8ac,this[_0x5bed8a(0x1f4)]=_0x1683be,this[_0x5bed8a(0x403)]=_0x1629a9,this[_0x5bed8a(0x364)]());}['dispose'](){var _0x3e805c=_0x7744bf;super['dispose'](),this[_0x3e805c(0x3f0)][_0x3e805c(0x365)](_0x53295d=>_0x53295d['dispose']()),this[_0x3e805c(0x3f0)][_0x3e805c(0x412)]();}[_0x7744bf(0x309)](_0x51d745){var _0x262004=_0x7744bf,_0x302a6e;return(_0x302a6e=this[_0x262004(0x3f0)][_0x262004(0x422)](_0x51d745))!=null?_0x302a6e:null;}[_0x7744bf(0x294)](_0x413051){var _0x2d121a=_0x7744bf;const _0x1703b6=this[_0x2d121a(0x309)](_0x413051);return _0x1703b6?_0x1431f5(_0x1703b6):this[_0x2d121a(0x1f7)][_0x2d121a(0x1cf)](_0x43efb4(_0x6024f0=>_0x6024f0[_0x2d121a(0x277)]===_0x413051));}[_0x7744bf(0x3a6)](_0xcb30e3){return _0x22410a(this['getCollabEntity$'](_0xcb30e3)['pipe'](_0x30311a(()=>{})));}[_0x7744bf(0x364)](){var _0x319ee8=_0x7744bf;this[_0x319ee8(0x403)][_0x319ee8(0x23e)](_0x2a4642[_0x319ee8(0x49a)])['pipe'](_0x31e53b(this['dispose$']),_0x344cd0(0x10))[_0x319ee8(0x447)](async _0x3edbd2=>{var _0x3d9f81=_0x319ee8;const _0x1ff407=_0x3edbd2[_0x3d9f81(0x48b)](),_0x5079ab=await this[_0x3d9f81(0x499)](_0x1ff407,Q['UNIVER_SHEET']);this[_0x3d9f81(0x3f0)][_0x3d9f81(0x425)](_0x1ff407,_0x5079ab);}),this[_0x319ee8(0x403)]['getTypeOfUnitAdded$'](_0x2a4642['UNIVER_DOC'])[_0x319ee8(0x1cf)](_0x31e53b(this[_0x319ee8(0x2da)]),_0x344cd0(0x10))['pipe'](_0x43efb4(_0x160567=>!_0x160567['getUnitId']()[_0x319ee8(0x1dd)]('__')))[_0x319ee8(0x447)](async _0x133d84=>{var _0x309a55=_0x319ee8;const _0x3d96bd=_0x133d84[_0x309a55(0x48b)](),_0x200eaf=await this['_startCollaboration'](_0x3d96bd,Q[_0x309a55(0x457)]);this[_0x309a55(0x3f0)][_0x309a55(0x425)](_0x3d96bd,_0x200eaf);}),_0x2a7ebf(this[_0x319ee8(0x403)][_0x319ee8(0x352)](_0x2a4642[_0x319ee8(0x49a)]),this[_0x319ee8(0x403)][_0x319ee8(0x352)](_0x2a4642[_0x319ee8(0x457)]))[_0x319ee8(0x1cf)](_0x31e53b(this[_0x319ee8(0x2da)]))[_0x319ee8(0x447)](_0x31d295=>{var _0x20163d=_0x319ee8;const _0x2d623b=_0x31d295[_0x20163d(0x48b)](),_0x6f0713=this[_0x20163d(0x3f0)]['get'](_0x2d623b);_0x6f0713&&(_0x6f0713[_0x20163d(0x348)](),this[_0x20163d(0x3f0)][_0x20163d(0x45a)](_0x2d623b));});}async[_0x7744bf(0x499)](_0x4e34f6,_0xf9c8a6){var _0x5cef09=_0x7744bf;const _0x34d342=await this[_0x5cef09(0x1f4)][_0x5cef09(0x398)](_0x4e34f6),_0x5491d8=this['_injector'][_0x5cef09(0x431)](this[_0x5cef09(0x3e4)](_0xf9c8a6),_0x4e34f6,_0xf9c8a6,_0x34d342);return await _0x5491d8[_0x5cef09(0x475)](),this[_0x5cef09(0x1f7)]['next'](_0x5491d8),_0x5491d8;}[_0x7744bf(0x3e4)](_0x117e83){var _0x2f8190=_0x7744bf;switch(_0x117e83){case Q['UNIVER_DOC']:return Ct;case Q[_0x2f8190(0x49a)]:return bt;default:throw new Error(_0x2f8190(0x461)+_0x117e83);}}};rt=Ps([vt(0x0,_0x46f2f9(_0x6d28a0)),vt(0x1,_0x46f2f9(Me)),vt(0x2,_0x464ce2)],rt);var Ns=Object[_0x7744bf(0x467)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x5dd246,_0x20d231,_0x40f4c7,_0xf96a0b)=>{var _0x5d01f3=_0x7744bf;for(var _0x3b722a=_0xf96a0b>0x1?void 0x0:_0xf96a0b?Ds(_0x20d231,_0x40f4c7):_0x20d231,_0x21c2e7=_0x5dd246[_0x5d01f3(0x1db)]-0x1,_0x1e6fad;_0x21c2e7>=0x0;_0x21c2e7--)(_0x1e6fad=_0x5dd246[_0x21c2e7])&&(_0x3b722a=(_0xf96a0b?_0x1e6fad(_0x20d231,_0x40f4c7,_0x3b722a):_0x1e6fad(_0x3b722a))||_0x3b722a);return _0xf96a0b&&_0x3b722a&&Ns(_0x20d231,_0x40f4c7,_0x3b722a),_0x3b722a;},Xt=(_0x2f84de,_0x2c786e)=>(_0x5e6f57,_0x16be8a)=>_0x2c786e(_0x5e6f57,_0x16be8a,_0x2f84de);const Us=_0x7744bf(0x3be),As=_0x7744bf(0x1b9);let Rt=class extends _0x3a9433{constructor(_0x5489fe,_0x204984){var _0x35d285=_0x7744bf;super(),this[_0x35d285(0x403)]=_0x5489fe,this[_0x35d285(0x1f1)]=_0x204984,this[_0x35d285(0x364)]();}['_init'](){var _0x50a029=_0x7744bf;this['disposeWithMe'](this[_0x50a029(0x403)]['focused$'][_0x50a029(0x447)](()=>{var _0x574809=_0x50a029,_0x587803;const _0x2bac61=this[_0x574809(0x403)][_0x574809(0x451)]();let _0x4008ce=(_0x587803=this[_0x574809(0x1f1)][_0x574809(0x3e9)](Us))!=null?_0x587803:As;_0x2bac61 instanceof _0x350e40&&(_0x4008ce=_0x2bac61[_0x574809(0x245)]),document[_0x574809(0x407)]=_0x4008ce;}));}};Rt=ws([Xt(0x0,_0x464ce2),Xt(0x1,_0x387952)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x7744bf(0x1c0)],Ms=(_0x121323,_0x24ed55,_0x3346b6,_0x4f550f)=>{var _0x3cdbda=_0x7744bf;for(var _0x3a1d11=_0x4f550f>0x1?void 0x0:_0x4f550f?Ls(_0x24ed55,_0x3346b6):_0x24ed55,_0x5ab388=_0x121323[_0x3cdbda(0x1db)]-0x1,_0x161f2e;_0x5ab388>=0x0;_0x5ab388--)(_0x161f2e=_0x121323[_0x5ab388])&&(_0x3a1d11=(_0x4f550f?_0x161f2e(_0x24ed55,_0x3346b6,_0x3a1d11):_0x161f2e(_0x3a1d11))||_0x3a1d11);return _0x4f550f&&_0x3a1d11&&xs(_0x24ed55,_0x3346b6,_0x3a1d11),_0x3a1d11;},pt=(_0x547eae,_0x260ef1)=>(_0x15c01b,_0x428b25)=>_0x260ef1(_0x15c01b,_0x428b25,_0x547eae);let ot=class{constructor(_0x19421c,_0x44dcc4,_0x416e8c){var _0x3120bc=_0x7744bf;this[_0x3120bc(0x1f1)]=_0x19421c,this[_0x3120bc(0x4a2)]=_0x44dcc4,this[_0x3120bc(0x30f)]=_0x416e8c,this[_0x3120bc(0x475)]();}[_0x7744bf(0x475)](){var _0x1b8ca2=_0x7744bf;this[_0x1b8ca2(0x4a2)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x215438,_0x3fb6e2)=>_0x3fb6e2(_0x215438)[_0x1b8ca2(0x1cf)](_0x18e9f5(async _0x2647fb=>{var _0x54c3aa=_0x1b8ca2;const _0x167e4a=_0x2647fb;if(_0x167e4a[_0x54c3aa(0x2c3)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x54c3aa(0x3b0)](this[_0x54c3aa(0x30f)]['t']('auth.needGotoLoginAlert'))){const _0x44d499=window[_0x54c3aa(0x2df)](window[_0x54c3aa(0x1d0)][_0x54c3aa(0x1fb)]);window['location']['href']=this['_getLoginPath']()+_0x54c3aa(0x2cc)+_0x44d499;}}return _0x167e4a;}))});}[_0x7744bf(0x322)](){var _0x43f1ee=_0x7744bf,_0x2b44e0,_0x2cec79;const _0x4550f1=this[_0x43f1ee(0x1f1)][_0x43f1ee(0x3e9)](Fn),_0x1c5863=this[_0x43f1ee(0x1f1)]['getConfig'](Y);return(_0x2cec79=(_0x2b44e0=_0x1c5863==null?void 0x0:_0x1c5863['loginUrlKey'])!=null?_0x2b44e0:_0x4550f1)!=null?_0x2cec79:Vn;}};ot=Ms([pt(0x0,_0x387952),pt(0x1,_0x46f2f9(_0x381081)),pt(0x2,_0x46f2f9(_0x12cbe1))],ot);var $s=Object[_0x7744bf(0x467)],Hs=Object[_0x7744bf(0x1c0)],ks=(_0x578d9f,_0x451913,_0x37149c,_0x4f0182)=>{var _0x29180a=_0x7744bf;for(var _0x4078f5=_0x4f0182>0x1?void 0x0:_0x4f0182?Hs(_0x451913,_0x37149c):_0x451913,_0xb920b3=_0x578d9f[_0x29180a(0x1db)]-0x1,_0x1eec3b;_0xb920b3>=0x0;_0xb920b3--)(_0x1eec3b=_0x578d9f[_0xb920b3])&&(_0x4078f5=(_0x4f0182?_0x1eec3b(_0x451913,_0x37149c,_0x4078f5):_0x1eec3b(_0x4078f5))||_0x4078f5);return _0x4f0182&&_0x4078f5&&$s(_0x451913,_0x37149c,_0x4078f5),_0x4078f5;},Zt=(_0x2de3dd,_0x20c389)=>(_0x265479,_0xa3e4c7)=>_0x20c389(_0x265479,_0xa3e4c7,_0x2de3dd);const Di=_0x7744bf(0x2ff),js=_0x7744bf(0x388);let yt=class extends _0x3a9433{constructor(_0x537b09,_0x4fca9d){var _0x3e6418=_0x7744bf;super(),this[_0x3e6418(0x3f9)]=_0x537b09,this[_0x3e6418(0x1f1)]=_0x4fca9d,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5e9d12=_0x7744bf;const _0x2f0e73=this;this[_0x5e9d12(0x3c4)](this[_0x5e9d12(0x3f9)][_0x5e9d12(0x2f6)]({'priority':0x3e7,'interceptor':_0x28263({'isMatch'(_0x16f3b0){var _0x4fc18b=_0x5e9d12,_0xb65e8a;if(_0x16f3b0[_0x4fc18b(0x28f)]===_0x4fc18b(0x40a)&&((_0xb65e8a=_0x16f3b0['requestParams'])!=null&&_0xb65e8a[_0x4fc18b(0x22f)])){const {objectID:_0x1270d9,objectType:_0x5a27de}=_0x16f3b0[_0x4fc18b(0x4b5)]['body']||{};if(!_0x1270d9||_0x5a27de===void 0x0)return!0x1;const _0x410a87=_0x2f0e73[_0x4fc18b(0x3f6)]()+'/'+_0x5a27de+_0x4fc18b(0x25f)+_0x1270d9+_0x4fc18b(0x26e);if(_0x16f3b0[_0x4fc18b(0x2be)]===_0x410a87)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23f27f){var _0x34cc79=_0x5e9d12,_0x1908e7;return(_0x1908e7=_0x23f27f[_0x34cc79(0x4b5)])==null?void 0x0:_0x1908e7[_0x34cc79(0x22f)];},'mergeParamsToRequest'(_0x435e26,_0x428cfc){var _0x3cbbc4=_0x5e9d12;const _0x5844a7=_0x2f0e73[_0x3cbbc4(0x3f6)]()+_0x3cbbc4(0x335),_0x3a772f=_0x435e26[_0x3cbbc4(0x2e5)]((_0x166e4a,_0x48d089)=>{var _0x675bc5=_0x3cbbc4;const {unitID:_0x60cbd7,objectID:_0x3f9c2c,objectType:_0x56fda0,actions:_0x14b5b1}=_0x48d089;return _0x166e4a[_0x60cbd7]||(_0x166e4a[_0x60cbd7]={}),_0x166e4a[_0x60cbd7][_0x3f9c2c]||(_0x166e4a[_0x60cbd7][_0x3f9c2c]={'objectID':_0x3f9c2c,'objectType':_0x56fda0,'actions':[]}),_0x166e4a[_0x60cbd7][_0x3f9c2c][_0x675bc5(0x234)][_0x675bc5(0x222)](..._0x14b5b1),_0x166e4a;},{}),_0x53d397=[];for(const _0xa93596 in _0x3a772f)for(const _0x3c8d7a in _0x3a772f[_0xa93596]){const {actions:_0x395e76,objectType:_0x3462c5}=_0x3a772f[_0xa93596][_0x3c8d7a],_0x3e4adc=[...new Set(_0x395e76)];_0x53d397[_0x3cbbc4(0x222)]({'unitID':_0xa93596,'objectID':_0x3c8d7a,'objectType':_0x3462c5,'actions':_0x3e4adc});}return new _0x1b1026('POST',_0x5844a7,{'headers':_0x428cfc['headers'],'withCredentials':_0x428cfc[_0x3cbbc4(0x1ca)],'responseType':_0x428cfc['responseType'],'body':{'requests':_0x53d397}});}},{'distributeResult'(_0x53caf3,_0x405925){var _0x41925e=_0x5e9d12;const {objectActions:_0x10fa8d}=_0x53caf3;return _0x405925[_0x41925e(0x40e)](_0x38ab51=>{var _0x6a4bd2=_0x41925e;const {unitID:_0x581e88,objectID:_0x462ba1,actions:_0x404906}=_0x38ab51,_0x4ee35f=_0x10fa8d[_0x6a4bd2(0x43d)](_0x1101c3=>_0x1101c3['unitID']===_0x581e88&&_0x1101c3[_0x6a4bd2(0x419)]===_0x462ba1),_0x5a295a=_0x404906[_0x6a4bd2(0x40e)](_0x3ea697=>_0x4ee35f==null?void 0x0:_0x4ee35f['actions'][_0x6a4bd2(0x43d)](_0x1cd22b=>_0x1cd22b[_0x6a4bd2(0x35e)]===_0x3ea697))['filter'](_0x4e9f8c=>!!_0x4e9f8c);return{'config':_0x38ab51,'result':{'actions':_0x5a295a,'error':_0x53caf3[_0x6a4bd2(0x44a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x23b9ea=_0x7744bf,_0x1e2783,_0x33f691;const _0x113af4=this[_0x23b9ea(0x1f1)][_0x23b9ea(0x3e9)](Di),_0x168566=this['_configService'][_0x23b9ea(0x3e9)](Y);return(_0x33f691=(_0x1e2783=_0x168566==null?void 0x0:_0x168566[_0x23b9ea(0x2f4)])!=null?_0x1e2783:_0x113af4)!=null?_0x33f691:js;}async[_0x7744bf(0x410)](_0x3ba92f){var _0x26be88=_0x7744bf;const _0x2cb183=this['_getAPIPrefixPath']()+'/'+_0x3ba92f['objectType']+_0x26be88(0x3da);return(await this[_0x26be88(0x3f9)][_0x26be88(0x384)](_0x2cb183,{'body':_0x3ba92f}))[_0x26be88(0x22f)][_0x26be88(0x419)]||'';}async['list'](_0x54408a){var _0x453929=_0x7744bf;const _0x21a173=this[_0x453929(0x3f6)]()+_0x453929(0x3b5);return(await this[_0x453929(0x3f9)]['post'](_0x21a173,{'body':_0x54408a}))[_0x453929(0x22f)][_0x453929(0x37d)];}async[_0x7744bf(0x2b3)](_0x45e37f){var _0x48d203=_0x7744bf;const _0x1c3cf2=this[_0x48d203(0x3f6)]()+'/'+_0x45e37f[_0x48d203(0x323)]+'/object/'+_0x45e37f['objectID'];await this[_0x48d203(0x3f9)]['put'](_0x1c3cf2,{'body':_0x45e37f});}async['allowed'](_0x54e4f4){var _0x2b9e6a=_0x7744bf;const _0x270936=this['_getAPIPrefixPath']()+'/'+_0x54e4f4[_0x2b9e6a(0x323)]+_0x2b9e6a(0x25f)+_0x54e4f4['objectID']+_0x2b9e6a(0x26e);return(await this[_0x2b9e6a(0x3f9)]['post'](_0x270936,{'body':_0x54e4f4}))[_0x2b9e6a(0x22f)][_0x2b9e6a(0x234)];}async[_0x7744bf(0x370)](_0x3fd742){var _0x38a109=_0x7744bf;const _0x542eaf=this[_0x38a109(0x3f6)]()+_0x38a109(0x335);return(await this[_0x38a109(0x3f9)][_0x38a109(0x384)](_0x542eaf,{'body':{'requests':_0x3fd742}}))[_0x38a109(0x22f)][_0x38a109(0x3a4)];}async[_0x7744bf(0x3a9)](_0xd8cff8){var _0x3e435f=_0x7744bf;const _0x6d0b29=this[_0x3e435f(0x3f6)]()+'/'+_0xd8cff8[_0x3e435f(0x323)]+'/role',_0x243b9e=await this['_HTTPService'][_0x3e435f(0x384)](_0x6d0b29,{'body':_0xd8cff8});return{'roles':_0x243b9e[_0x3e435f(0x22f)]['roles'],'actions':_0x243b9e['body'][_0x3e435f(0x234)]};}async[_0x7744bf(0x3b3)](_0x4c3d11){var _0x1c534d=_0x7744bf;const _0x237cb0=this[_0x1c534d(0x3f6)]()+_0x1c534d(0x2ab);await this[_0x1c534d(0x3f9)][_0x1c534d(0x45a)](_0x237cb0,{'params':{'collaboratorID':_0x4c3d11[_0x1c534d(0x2ed)],'objectID':_0x4c3d11[_0x1c534d(0x419)],'unitID':_0x4c3d11[_0x1c534d(0x277)]}});}async['updateCollaborator'](_0x486c2c){var _0x32ddef=_0x7744bf;const _0x4db8a5=this['_getAPIPrefixPath']()+_0x32ddef(0x2ab);await this[_0x32ddef(0x3f9)][_0x32ddef(0x2f8)](_0x4db8a5,{'body':_0x486c2c});}async[_0x7744bf(0x1b5)](_0x253a76){var _0x2058e4=_0x7744bf;const _0x4fcccc=this[_0x2058e4(0x3f6)]()+_0x2058e4(0x2ab);await this[_0x2058e4(0x3f9)]['post'](_0x4fcccc,{'body':_0x253a76});}async[_0x7744bf(0x24d)](_0x1fb68b){var _0x2f7151=_0x7744bf;const _0x374584=this['_getAPIPrefixPath']()+_0x2f7151(0x2ab);return(await this['_HTTPService']['get'](_0x374584,{'params':{'objectID':_0x1fb68b['objectID'],'unitID':_0x1fb68b[_0x2f7151(0x277)]}}))['body'][_0x2f7151(0x3a7)];}async['putCollaborators'](_0x248d5e){var _0x596c95=_0x7744bf;const _0x42cb99=this[_0x596c95(0x3f6)]()+'/collaborator';await this[_0x596c95(0x3f9)]['put'](_0x42cb99,{'body':_0x248d5e});}};yt=ks([Zt(0x0,_0x46f2f9(_0x381081)),Zt(0x1,_0x46f2f9(_0x387952))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x2e5213){var _0x191623=_0x7744bf;return _0x2e5213&&_0x2e5213[_0x191623(0x445)]&&Object[_0x191623(0x239)]['hasOwnProperty']['call'](_0x2e5213,'default')?_0x2e5213['default']:_0x2e5213;}var We={'exports':{}};function Bs(_0x204733){var _0x1606cf=_0x7744bf;throw new Error(_0x1606cf(0x2ca)+_0x204733+_0x1606cf(0x2e4));}var Ge={'exports':{}},Fs=Ge[_0x7744bf(0x361)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x200918,_0x490aa4){(function(_0x1e05ba,_0x3f2a35){var _0x9fb14d=_0x186f;_0x200918[_0x9fb14d(0x361)]=_0x3f2a35();}(Fs,function(){var _0x48e491=_0x48e491||function(_0x303bfb,_0x5f592c){var _0x464dc6=_0x186f,_0x80f166;if(typeof window<'u'&&window[_0x464dc6(0x3a1)]&&(_0x80f166=window[_0x464dc6(0x3a1)]),typeof self<'u'&&self[_0x464dc6(0x3a1)]&&(_0x80f166=self[_0x464dc6(0x3a1)]),typeof globalThis<'u'&&globalThis[_0x464dc6(0x3a1)]&&(_0x80f166=globalThis['crypto']),!_0x80f166&&typeof window<'u'&&window['msCrypto']&&(_0x80f166=window[_0x464dc6(0x221)]),!_0x80f166&&typeof gt<'u'&&gt[_0x464dc6(0x3a1)]&&(_0x80f166=gt[_0x464dc6(0x3a1)]),!_0x80f166&&typeof Bs==_0x464dc6(0x459))try{_0x80f166=require(_0x464dc6(0x3a1));}catch{}var _0x6b0abc=function(){var _0x55c14f=_0x464dc6;if(_0x80f166){if(typeof _0x80f166[_0x55c14f(0x48e)]==_0x55c14f(0x459))try{return _0x80f166['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x80f166[_0x55c14f(0x248)]==_0x55c14f(0x459))try{return _0x80f166['randomBytes'](0x4)[_0x55c14f(0x38f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1ad553=Object[_0x464dc6(0x410)]||(function(){function _0x500574(){}return function(_0x3facae){var _0x21ae13=_0x186f,_0x4783e8;return _0x500574[_0x21ae13(0x239)]=_0x3facae,_0x4783e8=new _0x500574(),_0x500574[_0x21ae13(0x239)]=null,_0x4783e8;};}()),_0xb33492={},_0x499597=_0xb33492[_0x464dc6(0x32b)]={},_0x30967e=_0x499597[_0x464dc6(0x298)]=(function(){return{'extend':function(_0x46dc02){var _0xb955ac=_0x186f,_0x431ae9=_0x1ad553(this);return _0x46dc02&&_0x431ae9[_0xb955ac(0x45f)](_0x46dc02),(!_0x431ae9[_0xb955ac(0x454)](_0xb955ac(0x475))||this['init']===_0x431ae9[_0xb955ac(0x475)])&&(_0x431ae9[_0xb955ac(0x475)]=function(){var _0x475272=_0xb955ac;_0x431ae9[_0x475272(0x30c)][_0x475272(0x475)]['apply'](this,arguments);}),_0x431ae9['init'][_0xb955ac(0x239)]=_0x431ae9,_0x431ae9[_0xb955ac(0x30c)]=this,_0x431ae9;},'create':function(){var _0x2778c8=_0x186f,_0x598781=this[_0x2778c8(0x42a)]();return _0x598781[_0x2778c8(0x475)][_0x2778c8(0x1b2)](_0x598781,arguments),_0x598781;},'init':function(){},'mixIn':function(_0x16e7fc){var _0x193e7c=_0x186f;for(var _0x4acc72 in _0x16e7fc)_0x16e7fc[_0x193e7c(0x454)](_0x4acc72)&&(this[_0x4acc72]=_0x16e7fc[_0x4acc72]);_0x16e7fc[_0x193e7c(0x454)](_0x193e7c(0x267))&&(this['toString']=_0x16e7fc[_0x193e7c(0x267)]);},'clone':function(){var _0x172f45=_0x186f;return this[_0x172f45(0x475)]['prototype']['extend'](this);}};}()),_0x52152e=_0x499597[_0x464dc6(0x1b3)]=_0x30967e[_0x464dc6(0x42a)]({'init':function(_0x45c7d9,_0x628a6){var _0x3a6557=_0x464dc6;_0x45c7d9=this['words']=_0x45c7d9||[],_0x628a6!=_0x5f592c?this[_0x3a6557(0x493)]=_0x628a6:this['sigBytes']=_0x45c7d9[_0x3a6557(0x1db)]*0x4;},'toString':function(_0x5e525c){var _0x3db942=_0x464dc6;return(_0x5e525c||_0x1dd5bd)[_0x3db942(0x48c)](this);},'concat':function(_0x42aab6){var _0x208cc0=_0x464dc6,_0x5b6c44=this[_0x208cc0(0x319)],_0x473e8e=_0x42aab6[_0x208cc0(0x319)],_0x3a5ecc=this[_0x208cc0(0x493)],_0x12c8a3=_0x42aab6[_0x208cc0(0x493)];if(this[_0x208cc0(0x4a3)](),_0x3a5ecc%0x4)for(var _0x1a6be9=0x0;_0x1a6be9<_0x12c8a3;_0x1a6be9++){var _0x293469=_0x473e8e[_0x1a6be9>>>0x2]>>>0x18-_0x1a6be9%0x4*0x8&0xff;_0x5b6c44[_0x3a5ecc+_0x1a6be9>>>0x2]|=_0x293469<<0x18-(_0x3a5ecc+_0x1a6be9)%0x4*0x8;}else{for(var _0xc8eff4=0x0;_0xc8eff4<_0x12c8a3;_0xc8eff4+=0x4)_0x5b6c44[_0x3a5ecc+_0xc8eff4>>>0x2]=_0x473e8e[_0xc8eff4>>>0x2];}return this['sigBytes']+=_0x12c8a3,this;},'clamp':function(){var _0x2f4fc5=_0x464dc6,_0x384bc8=this[_0x2f4fc5(0x319)],_0x43ea7b=this['sigBytes'];_0x384bc8[_0x43ea7b>>>0x2]&=0xffffffff<<0x20-_0x43ea7b%0x4*0x8,_0x384bc8['length']=_0x303bfb[_0x2f4fc5(0x437)](_0x43ea7b/0x4);},'clone':function(){var _0x1f688b=_0x464dc6,_0x5582b5=_0x30967e['clone'][_0x1f688b(0x46a)](this);return _0x5582b5[_0x1f688b(0x319)]=this[_0x1f688b(0x319)]['slice'](0x0),_0x5582b5;},'random':function(_0x412298){var _0x454ea3=_0x464dc6;for(var _0x4437d8=[],_0x56c1da=0x0;_0x56c1da<_0x412298;_0x56c1da+=0x4)_0x4437d8[_0x454ea3(0x222)](_0x6b0abc());return new _0x52152e[(_0x454ea3(0x475))](_0x4437d8,_0x412298);}}),_0x582c81=_0xb33492[_0x464dc6(0x47b)]={},_0x1dd5bd=_0x582c81[_0x464dc6(0x444)]={'stringify':function(_0x346d16){var _0x2c8371=_0x464dc6;for(var _0x13afbe=_0x346d16[_0x2c8371(0x319)],_0x401309=_0x346d16['sigBytes'],_0x26473a=[],_0x2ac710=0x0;_0x2ac710<_0x401309;_0x2ac710++){var _0xb84e86=_0x13afbe[_0x2ac710>>>0x2]>>>0x18-_0x2ac710%0x4*0x8&0xff;_0x26473a[_0x2c8371(0x222)]((_0xb84e86>>>0x4)[_0x2c8371(0x267)](0x10)),_0x26473a[_0x2c8371(0x222)]((_0xb84e86&0xf)[_0x2c8371(0x267)](0x10));}return _0x26473a[_0x2c8371(0x326)]('');},'parse':function(_0x8f9c8e){var _0x14d390=_0x464dc6;for(var _0x5e0207=_0x8f9c8e[_0x14d390(0x1db)],_0x3666a1=[],_0x39f942=0x0;_0x39f942<_0x5e0207;_0x39f942+=0x2)_0x3666a1[_0x39f942>>>0x3]|=parseInt(_0x8f9c8e[_0x14d390(0x32f)](_0x39f942,0x2),0x10)<<0x18-_0x39f942%0x8*0x4;return new _0x52152e[(_0x14d390(0x475))](_0x3666a1,_0x5e0207/0x2);}},_0x442089=_0x582c81[_0x464dc6(0x400)]={'stringify':function(_0x3c6292){var _0xd3dba6=_0x464dc6;for(var _0x3033dd=_0x3c6292[_0xd3dba6(0x319)],_0x4e4ce3=_0x3c6292['sigBytes'],_0xb2d87d=[],_0x32f48b=0x0;_0x32f48b<_0x4e4ce3;_0x32f48b++){var _0x342818=_0x3033dd[_0x32f48b>>>0x2]>>>0x18-_0x32f48b%0x4*0x8&0xff;_0xb2d87d[_0xd3dba6(0x222)](String['fromCharCode'](_0x342818));}return _0xb2d87d[_0xd3dba6(0x326)]('');},'parse':function(_0xeb0fd9){var _0x3948d7=_0x464dc6;for(var _0x37fe1b=_0xeb0fd9['length'],_0x2f9303=[],_0x341c6e=0x0;_0x341c6e<_0x37fe1b;_0x341c6e++)_0x2f9303[_0x341c6e>>>0x2]|=(_0xeb0fd9[_0x3948d7(0x43f)](_0x341c6e)&0xff)<<0x18-_0x341c6e%0x4*0x8;return new _0x52152e[(_0x3948d7(0x475))](_0x2f9303,_0x37fe1b);}},_0x1c2745=_0x582c81[_0x464dc6(0x2c5)]={'stringify':function(_0x5325ad){var _0x3f357d=_0x464dc6;try{return decodeURIComponent(escape(_0x442089['stringify'](_0x5325ad)));}catch{throw new Error(_0x3f357d(0x4b3));}},'parse':function(_0x563e7b){var _0x237059=_0x464dc6;return _0x442089[_0x237059(0x429)](unescape(encodeURIComponent(_0x563e7b)));}},_0x24eb94=_0x499597['BufferedBlockAlgorithm']=_0x30967e[_0x464dc6(0x42a)]({'reset':function(){var _0x385ebf=_0x464dc6;this['_data']=new _0x52152e['init'](),this[_0x385ebf(0x1ce)]=0x0;},'_append':function(_0x17e378){var _0x41442b=_0x464dc6;typeof _0x17e378==_0x41442b(0x21e)&&(_0x17e378=_0x1c2745[_0x41442b(0x429)](_0x17e378)),this[_0x41442b(0x1bd)]['concat'](_0x17e378),this[_0x41442b(0x1ce)]+=_0x17e378[_0x41442b(0x493)];},'_process':function(_0x23811e){var _0x46bda7=_0x464dc6,_0x305220,_0x4f6bb4=this[_0x46bda7(0x1bd)],_0x44d69e=_0x4f6bb4['words'],_0x205a9c=_0x4f6bb4[_0x46bda7(0x493)],_0x3122bc=this[_0x46bda7(0x230)],_0x59d94e=_0x3122bc*0x4,_0x5cf562=_0x205a9c/_0x59d94e;_0x23811e?_0x5cf562=_0x303bfb[_0x46bda7(0x437)](_0x5cf562):_0x5cf562=_0x303bfb[_0x46bda7(0x20c)]((_0x5cf562|0x0)-this[_0x46bda7(0x2aa)],0x0);var _0x1557e8=_0x5cf562*_0x3122bc,_0xc0996=_0x303bfb[_0x46bda7(0x389)](_0x1557e8*0x4,_0x205a9c);if(_0x1557e8){for(var _0x1b232c=0x0;_0x1b232c<_0x1557e8;_0x1b232c+=_0x3122bc)this[_0x46bda7(0x413)](_0x44d69e,_0x1b232c);_0x305220=_0x44d69e[_0x46bda7(0x1de)](0x0,_0x1557e8),_0x4f6bb4[_0x46bda7(0x493)]-=_0xc0996;}return new _0x52152e[(_0x46bda7(0x475))](_0x305220,_0xc0996);},'clone':function(){var _0x3be32a=_0x464dc6,_0x230c59=_0x30967e[_0x3be32a(0x27c)]['call'](this);return _0x230c59[_0x3be32a(0x1bd)]=this[_0x3be32a(0x1bd)]['clone'](),_0x230c59;},'_minBufferSize':0x0});_0x499597['Hasher']=_0x24eb94['extend']({'cfg':_0x30967e[_0x464dc6(0x42a)](),'init':function(_0x91bed){var _0x8cb00a=_0x464dc6;this[_0x8cb00a(0x3f3)]=this[_0x8cb00a(0x3f3)][_0x8cb00a(0x42a)](_0x91bed),this[_0x8cb00a(0x3d6)]();},'reset':function(){var _0x51a7ed=_0x464dc6;_0x24eb94[_0x51a7ed(0x3d6)][_0x51a7ed(0x46a)](this),this[_0x51a7ed(0x26d)]();},'update':function(_0x34ad9a){var _0x26f309=_0x464dc6;return this[_0x26f309(0x2a0)](_0x34ad9a),this[_0x26f309(0x39f)](),this;},'finalize':function(_0x23a808){var _0x25f69e=_0x464dc6;_0x23a808&&this['_append'](_0x23a808);var _0x24779c=this[_0x25f69e(0x33b)]();return _0x24779c;},'blockSize':0x10,'_createHelper':function(_0x59eaaf){return function(_0x214d08,_0x278664){var _0x5df985=_0x186f;return new _0x59eaaf[(_0x5df985(0x475))](_0x278664)[_0x5df985(0x397)](_0x214d08);};},'_createHmacHelper':function(_0x4b2b0a){return function(_0x252382,_0x4d4d02){var _0x4db8d1=_0x186f;return new _0x53cb50[(_0x4db8d1(0x3b1))][(_0x4db8d1(0x475))](_0x4b2b0a,_0x4d4d02)[_0x4db8d1(0x397)](_0x252382);};}});var _0x53cb50=_0xb33492[_0x464dc6(0x380)]={};return _0xb33492;}(Math);return _0x48e491;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0x7744bf(0x361)],ei;function wi(){return ei||(ei=0x1,function(_0x3cffab,_0x2b0207){(function(_0x5290e5,_0x1214a6){var _0x1d1c3c=_0x186f;_0x3cffab[_0x1d1c3c(0x361)]=_0x1214a6(ne());}(Vs,function(_0x2f141e){var _0x4b55bc=_0x186f;return(function(){var _0x1bf3ae=_0x186f,_0x219793=_0x2f141e,_0x2a974f=_0x219793[_0x1bf3ae(0x32b)],_0x2b7df0=_0x2a974f[_0x1bf3ae(0x1b3)],_0x4aa6de=_0x219793[_0x1bf3ae(0x47b)];_0x4aa6de[_0x1bf3ae(0x2fa)]={'stringify':function(_0xe49f96){var _0x5bfdfd=_0x1bf3ae,_0x29c85b=_0xe49f96['words'],_0x2543b4=_0xe49f96[_0x5bfdfd(0x493)],_0x58dc3e=this[_0x5bfdfd(0x258)];_0xe49f96[_0x5bfdfd(0x4a3)]();for(var _0x3aaa14=[],_0x21aafe=0x0;_0x21aafe<_0x2543b4;_0x21aafe+=0x3)for(var _0x4512c7=_0x29c85b[_0x21aafe>>>0x2]>>>0x18-_0x21aafe%0x4*0x8&0xff,_0xb1d7e8=_0x29c85b[_0x21aafe+0x1>>>0x2]>>>0x18-(_0x21aafe+0x1)%0x4*0x8&0xff,_0x78eff5=_0x29c85b[_0x21aafe+0x2>>>0x2]>>>0x18-(_0x21aafe+0x2)%0x4*0x8&0xff,_0x5b635e=_0x4512c7<<0x10|_0xb1d7e8<<0x8|_0x78eff5,_0x1d2d26=0x0;_0x1d2d26<0x4&&_0x21aafe+_0x1d2d26*0.75<_0x2543b4;_0x1d2d26++)_0x3aaa14[_0x5bfdfd(0x222)](_0x58dc3e[_0x5bfdfd(0x1fe)](_0x5b635e>>>0x6*(0x3-_0x1d2d26)&0x3f));var _0x553c59=_0x58dc3e[_0x5bfdfd(0x1fe)](0x40);if(_0x553c59){for(;_0x3aaa14[_0x5bfdfd(0x1db)]%0x4;)_0x3aaa14[_0x5bfdfd(0x222)](_0x553c59);}return _0x3aaa14['join']('');},'parse':function(_0x12872c){var _0x44418f=_0x1bf3ae,_0x5096d3=_0x12872c[_0x44418f(0x1db)],_0xb39898=this[_0x44418f(0x258)],_0x3fb3d4=this[_0x44418f(0x339)];if(!_0x3fb3d4){_0x3fb3d4=this[_0x44418f(0x339)]=[];for(var _0x1d0bde=0x0;_0x1d0bde<_0xb39898[_0x44418f(0x1db)];_0x1d0bde++)_0x3fb3d4[_0xb39898[_0x44418f(0x43f)](_0x1d0bde)]=_0x1d0bde;}var _0x49ddeb=_0xb39898[_0x44418f(0x1fe)](0x40);if(_0x49ddeb){var _0x2e355c=_0x12872c[_0x44418f(0x261)](_0x49ddeb);_0x2e355c!==-0x1&&(_0x5096d3=_0x2e355c);}return _0x4cf938(_0x12872c,_0x5096d3,_0x3fb3d4);},'_map':_0x1bf3ae(0x1be)};function _0x4cf938(_0x1d8808,_0x1de5e0,_0x3ae645){var _0xa2bd5a=_0x1bf3ae;for(var _0x22224c=[],_0x9d3eed=0x0,_0x4c6c06=0x0;_0x4c6c06<_0x1de5e0;_0x4c6c06++)if(_0x4c6c06%0x4){var _0x52a284=_0x3ae645[_0x1d8808[_0xa2bd5a(0x43f)](_0x4c6c06-0x1)]<<_0x4c6c06%0x4*0x2,_0x1315b3=_0x3ae645[_0x1d8808[_0xa2bd5a(0x43f)](_0x4c6c06)]>>>0x6-_0x4c6c06%0x4*0x2,_0x57f610=_0x52a284|_0x1315b3;_0x22224c[_0x9d3eed>>>0x2]|=_0x57f610<<0x18-_0x9d3eed%0x4*0x8,_0x9d3eed++;}return _0x2b7df0[_0xa2bd5a(0x410)](_0x22224c,_0x9d3eed);}}()),_0x2f141e[_0x4b55bc(0x47b)]['Base64'];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Ws=ze[_0x7744bf(0x361)],ti;function Gs(){return ti||(ti=0x1,function(_0x5d05d5,_0x530b0d){(function(_0xa9fec0,_0x155f53){var _0x52772f=_0x186f;_0x5d05d5[_0x52772f(0x361)]=_0x155f53(ne());}(Ws,function(_0x5a4887){return function(_0x444613){var _0x4a7364=_0x186f,_0x45bac0=_0x5a4887,_0x2cf9e7=_0x45bac0[_0x4a7364(0x32b)],_0x4f933f=_0x2cf9e7[_0x4a7364(0x1b3)],_0xb838fe=_0x2cf9e7['Hasher'],_0x7dc355=_0x45bac0[_0x4a7364(0x380)],_0x424f8d=[];(function(){var _0x27659b=_0x4a7364;for(var _0x552ef0=0x0;_0x552ef0<0x40;_0x552ef0++)_0x424f8d[_0x552ef0]=_0x444613[_0x27659b(0x2bb)](_0x444613['sin'](_0x552ef0+0x1))*0x100000000|0x0;}());var _0x1c8876=_0x7dc355[_0x4a7364(0x2e1)]=_0xb838fe[_0x4a7364(0x42a)]({'_doReset':function(){var _0x72024e=_0x4a7364;this[_0x72024e(0x249)]=new _0x4f933f[(_0x72024e(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe5e162,_0x4b8cc2){var _0x1207b4=_0x4a7364;for(var _0x2feec2=0x0;_0x2feec2<0x10;_0x2feec2++){var _0x601d3a=_0x4b8cc2+_0x2feec2,_0x263996=_0xe5e162[_0x601d3a];_0xe5e162[_0x601d3a]=(_0x263996<<0x8|_0x263996>>>0x18)&0xff00ff|(_0x263996<<0x18|_0x263996>>>0x8)&0xff00ff00;}var _0x3daaa3=this[_0x1207b4(0x249)]['words'],_0x8c1a8a=_0xe5e162[_0x4b8cc2+0x0],_0x520e16=_0xe5e162[_0x4b8cc2+0x1],_0x34db23=_0xe5e162[_0x4b8cc2+0x2],_0x2be0e3=_0xe5e162[_0x4b8cc2+0x3],_0x533cb5=_0xe5e162[_0x4b8cc2+0x4],_0x42ddcf=_0xe5e162[_0x4b8cc2+0x5],_0x3fe995=_0xe5e162[_0x4b8cc2+0x6],_0x7b1561=_0xe5e162[_0x4b8cc2+0x7],_0x449f29=_0xe5e162[_0x4b8cc2+0x8],_0x427003=_0xe5e162[_0x4b8cc2+0x9],_0x2c5fd6=_0xe5e162[_0x4b8cc2+0xa],_0x34cbc1=_0xe5e162[_0x4b8cc2+0xb],_0x1c3a23=_0xe5e162[_0x4b8cc2+0xc],_0x1afc69=_0xe5e162[_0x4b8cc2+0xd],_0x5a704f=_0xe5e162[_0x4b8cc2+0xe],_0xa52ff3=_0xe5e162[_0x4b8cc2+0xf],_0x49bec7=_0x3daaa3[0x0],_0x446302=_0x3daaa3[0x1],_0x43a84d=_0x3daaa3[0x2],_0x2fabf7=_0x3daaa3[0x3];_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x8c1a8a,0x7,_0x424f8d[0x0]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x520e16,0xc,_0x424f8d[0x1]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34db23,0x11,_0x424f8d[0x2]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x2be0e3,0x16,_0x424f8d[0x3]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x533cb5,0x7,_0x424f8d[0x4]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x42ddcf,0xc,_0x424f8d[0x5]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x3fe995,0x11,_0x424f8d[0x6]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x7b1561,0x16,_0x424f8d[0x7]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x449f29,0x7,_0x424f8d[0x8]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x427003,0xc,_0x424f8d[0x9]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2c5fd6,0x11,_0x424f8d[0xa]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x34cbc1,0x16,_0x424f8d[0xb]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1c3a23,0x7,_0x424f8d[0xc]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x1afc69,0xc,_0x424f8d[0xd]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x5a704f,0x11,_0x424f8d[0xe]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0xa52ff3,0x16,_0x424f8d[0xf]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x520e16,0x5,_0x424f8d[0x10]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x3fe995,0x9,_0x424f8d[0x11]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34cbc1,0xe,_0x424f8d[0x12]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x8c1a8a,0x14,_0x424f8d[0x13]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x42ddcf,0x5,_0x424f8d[0x14]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x2c5fd6,0x9,_0x424f8d[0x15]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0xa52ff3,0xe,_0x424f8d[0x16]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x533cb5,0x14,_0x424f8d[0x17]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x427003,0x5,_0x424f8d[0x18]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x5a704f,0x9,_0x424f8d[0x19]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2be0e3,0xe,_0x424f8d[0x1a]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x449f29,0x14,_0x424f8d[0x1b]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1afc69,0x5,_0x424f8d[0x1c]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x34db23,0x9,_0x424f8d[0x1d]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x7b1561,0xe,_0x424f8d[0x1e]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x1c3a23,0x14,_0x424f8d[0x1f]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x42ddcf,0x4,_0x424f8d[0x20]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x449f29,0xb,_0x424f8d[0x21]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34cbc1,0x10,_0x424f8d[0x22]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x5a704f,0x17,_0x424f8d[0x23]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x520e16,0x4,_0x424f8d[0x24]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x533cb5,0xb,_0x424f8d[0x25]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x7b1561,0x10,_0x424f8d[0x26]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x2c5fd6,0x17,_0x424f8d[0x27]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1afc69,0x4,_0x424f8d[0x28]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x8c1a8a,0xb,_0x424f8d[0x29]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2be0e3,0x10,_0x424f8d[0x2a]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x3fe995,0x17,_0x424f8d[0x2b]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x427003,0x4,_0x424f8d[0x2c]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x1c3a23,0xb,_0x424f8d[0x2d]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0xa52ff3,0x10,_0x424f8d[0x2e]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x34db23,0x17,_0x424f8d[0x2f]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x8c1a8a,0x6,_0x424f8d[0x30]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x7b1561,0xa,_0x424f8d[0x31]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x5a704f,0xf,_0x424f8d[0x32]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x42ddcf,0x15,_0x424f8d[0x33]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1c3a23,0x6,_0x424f8d[0x34]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x2be0e3,0xa,_0x424f8d[0x35]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2c5fd6,0xf,_0x424f8d[0x36]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x520e16,0x15,_0x424f8d[0x37]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x449f29,0x6,_0x424f8d[0x38]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0xa52ff3,0xa,_0x424f8d[0x39]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x3fe995,0xf,_0x424f8d[0x3a]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x1afc69,0x15,_0x424f8d[0x3b]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x533cb5,0x6,_0x424f8d[0x3c]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x34cbc1,0xa,_0x424f8d[0x3d]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34db23,0xf,_0x424f8d[0x3e]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x427003,0x15,_0x424f8d[0x3f]),_0x3daaa3[0x0]=_0x3daaa3[0x0]+_0x49bec7|0x0,_0x3daaa3[0x1]=_0x3daaa3[0x1]+_0x446302|0x0,_0x3daaa3[0x2]=_0x3daaa3[0x2]+_0x43a84d|0x0,_0x3daaa3[0x3]=_0x3daaa3[0x3]+_0x2fabf7|0x0;},'_doFinalize':function(){var _0x132591=_0x4a7364,_0x40335d=this[_0x132591(0x1bd)],_0x59ac53=_0x40335d[_0x132591(0x319)],_0xe899b2=this[_0x132591(0x1ce)]*0x8,_0x370741=_0x40335d[_0x132591(0x493)]*0x8;_0x59ac53[_0x370741>>>0x5]|=0x80<<0x18-_0x370741%0x20;var _0xfd6dab=_0x444613[_0x132591(0x229)](_0xe899b2/0x100000000),_0x43f852=_0xe899b2;_0x59ac53[(_0x370741+0x40>>>0x9<<0x4)+0xf]=(_0xfd6dab<<0x8|_0xfd6dab>>>0x18)&0xff00ff|(_0xfd6dab<<0x18|_0xfd6dab>>>0x8)&0xff00ff00,_0x59ac53[(_0x370741+0x40>>>0x9<<0x4)+0xe]=(_0x43f852<<0x8|_0x43f852>>>0x18)&0xff00ff|(_0x43f852<<0x18|_0x43f852>>>0x8)&0xff00ff00,_0x40335d['sigBytes']=(_0x59ac53[_0x132591(0x1db)]+0x1)*0x4,this[_0x132591(0x39f)]();for(var _0x45e56f=this[_0x132591(0x249)],_0x29cbe5=_0x45e56f[_0x132591(0x319)],_0x1db71b=0x0;_0x1db71b<0x4;_0x1db71b++){var _0x37053d=_0x29cbe5[_0x1db71b];_0x29cbe5[_0x1db71b]=(_0x37053d<<0x8|_0x37053d>>>0x18)&0xff00ff|(_0x37053d<<0x18|_0x37053d>>>0x8)&0xff00ff00;}return _0x45e56f;},'clone':function(){var _0x51e8cb=_0x4a7364,_0x16a791=_0xb838fe[_0x51e8cb(0x27c)][_0x51e8cb(0x46a)](this);return _0x16a791[_0x51e8cb(0x249)]=this['_hash']['clone'](),_0x16a791;}});function _0x36122d(_0xf67388,_0x15a6bf,_0x11b5fa,_0x6e1652,_0x3740b1,_0x939bdd,_0x4df329){var _0x452d83=_0xf67388+(_0x15a6bf&_0x11b5fa|~_0x15a6bf&_0x6e1652)+_0x3740b1+_0x4df329;return(_0x452d83<<_0x939bdd|_0x452d83>>>0x20-_0x939bdd)+_0x15a6bf;}function _0x489b76(_0x227f6d,_0x3fccc3,_0x38c53d,_0x56e26b,_0x3d2deb,_0x53f61f,_0xea4aa){var _0x26938a=_0x227f6d+(_0x3fccc3&_0x56e26b|_0x38c53d&~_0x56e26b)+_0x3d2deb+_0xea4aa;return(_0x26938a<<_0x53f61f|_0x26938a>>>0x20-_0x53f61f)+_0x3fccc3;}function _0x360b63(_0x2185fe,_0x1b91c2,_0x535f4a,_0x294f40,_0x65edbb,_0x2f1e65,_0x3286a7){var _0x424a3d=_0x2185fe+(_0x1b91c2^_0x535f4a^_0x294f40)+_0x65edbb+_0x3286a7;return(_0x424a3d<<_0x2f1e65|_0x424a3d>>>0x20-_0x2f1e65)+_0x1b91c2;}function _0x3cf144(_0x211745,_0x11af91,_0x241ecd,_0x5d20f0,_0x52b513,_0x194d68,_0x510c41){var _0x5afb4a=_0x211745+(_0x241ecd^(_0x11af91|~_0x5d20f0))+_0x52b513+_0x510c41;return(_0x5afb4a<<_0x194d68|_0x5afb4a>>>0x20-_0x194d68)+_0x11af91;}_0x45bac0['MD5']=_0xb838fe[_0x4a7364(0x43a)](_0x1c8876),_0x45bac0['HmacMD5']=_0xb838fe[_0x4a7364(0x208)](_0x1c8876);}(Math),_0x5a4887['MD5'];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x7744bf(0x361)],ii;function zs(){var _0x38791b=_0x7744bf;return ii||(ii=0x1,function(_0x356eb2,_0x49dd3f){(function(_0x222087,_0x1a9418){_0x356eb2['exports']=_0x1a9418(ne());}(Ks,function(_0x26a41){return(function(){var _0x15fc78=_0x186f,_0x3409ee=_0x26a41,_0x9cb7f2=_0x3409ee[_0x15fc78(0x32b)],_0x1a601b=_0x9cb7f2['WordArray'],_0x491062=_0x9cb7f2[_0x15fc78(0x399)],_0xe8ca96=_0x3409ee[_0x15fc78(0x380)],_0x22d483=[],_0x395be9=_0xe8ca96[_0x15fc78(0x1cc)]=_0x491062[_0x15fc78(0x42a)]({'_doReset':function(){var _0x9ad352=_0x15fc78;this[_0x9ad352(0x249)]=new _0x1a601b[(_0x9ad352(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xd8e8f,_0x4ad4e5){var _0x38b105=_0x15fc78;for(var _0x5c82b7=this['_hash'][_0x38b105(0x319)],_0x36d986=_0x5c82b7[0x0],_0x4ea9ea=_0x5c82b7[0x1],_0x8055e4=_0x5c82b7[0x2],_0x16ebe3=_0x5c82b7[0x3],_0x4a0816=_0x5c82b7[0x4],_0x28186d=0x0;_0x28186d<0x50;_0x28186d++){if(_0x28186d<0x10)_0x22d483[_0x28186d]=_0xd8e8f[_0x4ad4e5+_0x28186d]|0x0;else{var _0x2f41c5=_0x22d483[_0x28186d-0x3]^_0x22d483[_0x28186d-0x8]^_0x22d483[_0x28186d-0xe]^_0x22d483[_0x28186d-0x10];_0x22d483[_0x28186d]=_0x2f41c5<<0x1|_0x2f41c5>>>0x1f;}var _0x57eb09=(_0x36d986<<0x5|_0x36d986>>>0x1b)+_0x4a0816+_0x22d483[_0x28186d];_0x28186d<0x14?_0x57eb09+=(_0x4ea9ea&_0x8055e4|~_0x4ea9ea&_0x16ebe3)+0x5a827999:_0x28186d<0x28?_0x57eb09+=(_0x4ea9ea^_0x8055e4^_0x16ebe3)+0x6ed9eba1:_0x28186d<0x3c?_0x57eb09+=(_0x4ea9ea&_0x8055e4|_0x4ea9ea&_0x16ebe3|_0x8055e4&_0x16ebe3)-0x70e44324:_0x57eb09+=(_0x4ea9ea^_0x8055e4^_0x16ebe3)-0x359d3e2a,_0x4a0816=_0x16ebe3,_0x16ebe3=_0x8055e4,_0x8055e4=_0x4ea9ea<<0x1e|_0x4ea9ea>>>0x2,_0x4ea9ea=_0x36d986,_0x36d986=_0x57eb09;}_0x5c82b7[0x0]=_0x5c82b7[0x0]+_0x36d986|0x0,_0x5c82b7[0x1]=_0x5c82b7[0x1]+_0x4ea9ea|0x0,_0x5c82b7[0x2]=_0x5c82b7[0x2]+_0x8055e4|0x0,_0x5c82b7[0x3]=_0x5c82b7[0x3]+_0x16ebe3|0x0,_0x5c82b7[0x4]=_0x5c82b7[0x4]+_0x4a0816|0x0;},'_doFinalize':function(){var _0x37befd=_0x15fc78,_0xbeea9d=this[_0x37befd(0x1bd)],_0x31d2f7=_0xbeea9d[_0x37befd(0x319)],_0x15bfe=this[_0x37befd(0x1ce)]*0x8,_0x3922f3=_0xbeea9d[_0x37befd(0x493)]*0x8;return _0x31d2f7[_0x3922f3>>>0x5]|=0x80<<0x18-_0x3922f3%0x20,_0x31d2f7[(_0x3922f3+0x40>>>0x9<<0x4)+0xe]=Math[_0x37befd(0x229)](_0x15bfe/0x100000000),_0x31d2f7[(_0x3922f3+0x40>>>0x9<<0x4)+0xf]=_0x15bfe,_0xbeea9d[_0x37befd(0x493)]=_0x31d2f7[_0x37befd(0x1db)]*0x4,this['_process'](),this[_0x37befd(0x249)];},'clone':function(){var _0x50f74f=_0x15fc78,_0x3bf13a=_0x491062[_0x50f74f(0x27c)][_0x50f74f(0x46a)](this);return _0x3bf13a['_hash']=this['_hash'][_0x50f74f(0x27c)](),_0x3bf13a;}});_0x3409ee['SHA1']=_0x491062[_0x15fc78(0x43a)](_0x395be9),_0x3409ee[_0x15fc78(0x227)]=_0x491062[_0x15fc78(0x208)](_0x395be9);}()),_0x26a41['SHA1'];}));}(qe)),qe[_0x38791b(0x361)];}var Je={'exports':{}},Ys=Je[_0x7744bf(0x361)],ni;function qs(){var _0x4542ff=_0x7744bf;return ni||(ni=0x1,function(_0x4227ea,_0x5ab02c){(function(_0x106f21,_0x512b0d){var _0x13422c=_0x186f;_0x4227ea[_0x13422c(0x361)]=_0x512b0d(ne());}(Ys,function(_0xa9c07d){(function(){var _0x3c19f8=_0x186f,_0xf7969e=_0xa9c07d,_0x4a0eb2=_0xf7969e[_0x3c19f8(0x32b)],_0x421981=_0x4a0eb2[_0x3c19f8(0x298)],_0x134d8b=_0xf7969e[_0x3c19f8(0x47b)],_0x1fce79=_0x134d8b[_0x3c19f8(0x2c5)],_0x3e6090=_0xf7969e[_0x3c19f8(0x380)];_0x3e6090[_0x3c19f8(0x3b1)]=_0x421981['extend']({'init':function(_0x3c8bda,_0x5a0e02){var _0x12e743=_0x3c19f8;_0x3c8bda=this['_hasher']=new _0x3c8bda[(_0x12e743(0x475))](),typeof _0x5a0e02==_0x12e743(0x21e)&&(_0x5a0e02=_0x1fce79[_0x12e743(0x429)](_0x5a0e02));var _0x708d9d=_0x3c8bda['blockSize'],_0xfa81da=_0x708d9d*0x4;_0x5a0e02[_0x12e743(0x493)]>_0xfa81da&&(_0x5a0e02=_0x3c8bda[_0x12e743(0x397)](_0x5a0e02)),_0x5a0e02[_0x12e743(0x4a3)]();for(var _0x489e35=this['_oKey']=_0x5a0e02['clone'](),_0x28e330=this['_iKey']=_0x5a0e02['clone'](),_0x560997=_0x489e35[_0x12e743(0x319)],_0x4af9c8=_0x28e330['words'],_0x24b06d=0x0;_0x24b06d<_0x708d9d;_0x24b06d++)_0x560997[_0x24b06d]^=0x5c5c5c5c,_0x4af9c8[_0x24b06d]^=0x36363636;_0x489e35[_0x12e743(0x493)]=_0x28e330[_0x12e743(0x493)]=_0xfa81da,this[_0x12e743(0x3d6)]();},'reset':function(){var _0x39af08=_0x3c19f8,_0x1d14c8=this[_0x39af08(0x46b)];_0x1d14c8['reset'](),_0x1d14c8[_0x39af08(0x2b3)](this[_0x39af08(0x489)]);},'update':function(_0x4f4e94){var _0x4646b8=_0x3c19f8;return this[_0x4646b8(0x46b)][_0x4646b8(0x2b3)](_0x4f4e94),this;},'finalize':function(_0x253e28){var _0x4ea96c=_0x3c19f8,_0x27cf24=this[_0x4ea96c(0x46b)],_0x1aca43=_0x27cf24[_0x4ea96c(0x397)](_0x253e28);_0x27cf24[_0x4ea96c(0x3d6)]();var _0x48be96=_0x27cf24[_0x4ea96c(0x397)](this['_oKey'][_0x4ea96c(0x27c)]()['concat'](_0x1aca43));return _0x48be96;}});}());}));}(Je)),Je[_0x4542ff(0x361)];}var Js=Ye[_0x7744bf(0x361)],si;function Ui(){return si||(si=0x1,function(_0x3f4fa0,_0x4e989f){(function(_0x4c1156,_0x5c91e4,_0x112570){var _0x5c84ca=_0x186f;_0x3f4fa0[_0x5c84ca(0x361)]=_0x5c91e4(ne(),zs(),qs());}(Js,function(_0x4ed355){return(function(){var _0x47bbe2=_0x186f,_0x567d3f=_0x4ed355,_0xd4b661=_0x567d3f[_0x47bbe2(0x32b)],_0x2c1297=_0xd4b661['Base'],_0x59084a=_0xd4b661[_0x47bbe2(0x1b3)],_0x1ee1b9=_0x567d3f[_0x47bbe2(0x380)],_0x35bd1c=_0x1ee1b9[_0x47bbe2(0x2e1)],_0x4bfa51=_0x1ee1b9[_0x47bbe2(0x420)]=_0x2c1297[_0x47bbe2(0x42a)]({'cfg':_0x2c1297['extend']({'keySize':0x80/0x20,'hasher':_0x35bd1c,'iterations':0x1}),'init':function(_0x4eb207){var _0x598ea7=_0x47bbe2;this[_0x598ea7(0x3f3)]=this[_0x598ea7(0x3f3)]['extend'](_0x4eb207);},'compute':function(_0x22e185,_0xef5fba){var _0x5023fc=_0x47bbe2;for(var _0x219500,_0x4dd3f2=this[_0x5023fc(0x3f3)],_0x4a55e9=_0x4dd3f2[_0x5023fc(0x2c1)]['create'](),_0x5a38d7=_0x59084a[_0x5023fc(0x410)](),_0x2c1334=_0x5a38d7[_0x5023fc(0x319)],_0x2eeae9=_0x4dd3f2[_0x5023fc(0x49c)],_0x366aab=_0x4dd3f2[_0x5023fc(0x253)];_0x2c1334[_0x5023fc(0x1db)]<_0x2eeae9;){_0x219500&&_0x4a55e9['update'](_0x219500),_0x219500=_0x4a55e9[_0x5023fc(0x2b3)](_0x22e185)[_0x5023fc(0x397)](_0xef5fba),_0x4a55e9[_0x5023fc(0x3d6)]();for(var _0x2e6fa6=0x1;_0x2e6fa6<_0x366aab;_0x2e6fa6++)_0x219500=_0x4a55e9[_0x5023fc(0x397)](_0x219500),_0x4a55e9['reset']();_0x5a38d7[_0x5023fc(0x219)](_0x219500);}return _0x5a38d7[_0x5023fc(0x493)]=_0x2eeae9*0x4,_0x5a38d7;}});_0x567d3f[_0x47bbe2(0x420)]=function(_0x2ce474,_0x3af6d2,_0x5be8ef){var _0x6a4c07=_0x47bbe2;return _0x4bfa51[_0x6a4c07(0x410)](_0x5be8ef)[_0x6a4c07(0x3f5)](_0x2ce474,_0x3af6d2);};}()),_0x4ed355['EvpKDF'];}));}(Ye)),Ye['exports'];}var Xe={'exports':{}},Xs=Xe[_0x7744bf(0x361)],ri;function Ai(){var _0x23b6cf=_0x7744bf;return ri||(ri=0x1,function(_0x28b366,_0x269e1a){(function(_0x5601ca,_0x115758,_0x7cb38){_0x28b366['exports']=_0x115758(ne(),Ui());}(Xs,function(_0x4bedfd){_0x4bedfd['lib']['Cipher']||function(_0x249636){var _0x4f132d=_0x186f,_0x581201=_0x4bedfd,_0x7bed94=_0x581201[_0x4f132d(0x32b)],_0x2ea2b2=_0x7bed94[_0x4f132d(0x298)],_0x133da2=_0x7bed94['WordArray'],_0x58a7e2=_0x7bed94[_0x4f132d(0x3bb)],_0x21958c=_0x581201[_0x4f132d(0x47b)];_0x21958c[_0x4f132d(0x2c5)];var _0x9e4988=_0x21958c[_0x4f132d(0x2fa)],_0x1b4ace=_0x581201['algo'],_0x18af1f=_0x1b4ace['EvpKDF'],_0x4e8f98=_0x7bed94[_0x4f132d(0x297)]=_0x58a7e2['extend']({'cfg':_0x2ea2b2['extend'](),'createEncryptor':function(_0x3e0326,_0x1fd0ce){var _0x24dbd0=_0x4f132d;return this['create'](this[_0x24dbd0(0x3e3)],_0x3e0326,_0x1fd0ce);},'createDecryptor':function(_0x268783,_0x3b0953){var _0x4cecb7=_0x4f132d;return this[_0x4cecb7(0x410)](this[_0x4cecb7(0x387)],_0x268783,_0x3b0953);},'init':function(_0x2752a1,_0x54e093,_0x11d21d){var _0x42e5aa=_0x4f132d;this['cfg']=this['cfg']['extend'](_0x11d21d),this[_0x42e5aa(0x351)]=_0x2752a1,this['_key']=_0x54e093,this['reset']();},'reset':function(){var _0x5d6219=_0x4f132d;_0x58a7e2[_0x5d6219(0x3d6)][_0x5d6219(0x46a)](this),this[_0x5d6219(0x26d)]();},'process':function(_0x591dc8){var _0xc6bbf4=_0x4f132d;return this[_0xc6bbf4(0x2a0)](_0x591dc8),this[_0xc6bbf4(0x39f)]();},'finalize':function(_0x1996f5){var _0x2b1f06=_0x4f132d;_0x1996f5&&this[_0x2b1f06(0x2a0)](_0x1996f5);var _0x4d5312=this['_doFinalize']();return _0x4d5312;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x48b3f7(_0xd65fff){return typeof _0xd65fff=='string'?_0x20bc8f:_0x5bc12e;}return function(_0x1869c9){return{'encrypt':function(_0x331e29,_0x346bb3,_0x17bb2e){var _0x3c6696=_0x186f;return _0x48b3f7(_0x346bb3)[_0x3c6696(0x4af)](_0x1869c9,_0x331e29,_0x346bb3,_0x17bb2e);},'decrypt':function(_0x5d0e2d,_0xe40a2,_0x4c384b){var _0xd7a6b2=_0x186f;return _0x48b3f7(_0xe40a2)[_0xd7a6b2(0x204)](_0x1869c9,_0x5d0e2d,_0xe40a2,_0x4c384b);}};};}())});_0x7bed94[_0x4f132d(0x439)]=_0x4e8f98[_0x4f132d(0x42a)]({'_doFinalize':function(){var _0x25d822=_0x4f132d,_0x317354=this[_0x25d822(0x39f)](!0x0);return _0x317354;},'blockSize':0x1});var _0x42434c=_0x581201['mode']={},_0x4d60ef=_0x7bed94[_0x4f132d(0x3d3)]=_0x2ea2b2[_0x4f132d(0x42a)]({'createEncryptor':function(_0x48f0f4,_0x5a4f75){var _0x2fdd6a=_0x4f132d;return this[_0x2fdd6a(0x37b)][_0x2fdd6a(0x410)](_0x48f0f4,_0x5a4f75);},'createDecryptor':function(_0x3c114f,_0x504904){var _0x56d6d9=_0x4f132d;return this['Decryptor'][_0x56d6d9(0x410)](_0x3c114f,_0x504904);},'init':function(_0x4f5495,_0x3a1968){var _0x5460e4=_0x4f132d;this[_0x5460e4(0x296)]=_0x4f5495,this[_0x5460e4(0x1d2)]=_0x3a1968;}}),_0x26e3c4=_0x42434c[_0x4f132d(0x49f)]=(function(){var _0x22a064=_0x4f132d,_0x4cf4ee=_0x4d60ef[_0x22a064(0x42a)]();_0x4cf4ee['Encryptor']=_0x4cf4ee[_0x22a064(0x42a)]({'processBlock':function(_0x3593e4,_0x288ffb){var _0x1b34fd=_0x22a064,_0x151ecd=this[_0x1b34fd(0x296)],_0x47dfe2=_0x151ecd['blockSize'];_0x2bc863[_0x1b34fd(0x46a)](this,_0x3593e4,_0x288ffb,_0x47dfe2),_0x151ecd[_0x1b34fd(0x349)](_0x3593e4,_0x288ffb),this['_prevBlock']=_0x3593e4[_0x1b34fd(0x4a4)](_0x288ffb,_0x288ffb+_0x47dfe2);}}),_0x4cf4ee[_0x22a064(0x3ac)]=_0x4cf4ee[_0x22a064(0x42a)]({'processBlock':function(_0xaed2d8,_0x283262){var _0xe11f40=_0x22a064,_0x2b3a80=this[_0xe11f40(0x296)],_0x50c8fb=_0x2b3a80[_0xe11f40(0x230)],_0xcdd4f=_0xaed2d8['slice'](_0x283262,_0x283262+_0x50c8fb);_0x2b3a80[_0xe11f40(0x2d1)](_0xaed2d8,_0x283262),_0x2bc863[_0xe11f40(0x46a)](this,_0xaed2d8,_0x283262,_0x50c8fb),this[_0xe11f40(0x487)]=_0xcdd4f;}});function _0x2bc863(_0x21cd5a,_0x2f9195,_0x5b19a9){var _0x2badf0=_0x22a064,_0x37b9ae,_0x1a8396=this[_0x2badf0(0x1d2)];_0x1a8396?(_0x37b9ae=_0x1a8396,this[_0x2badf0(0x1d2)]=_0x249636):_0x37b9ae=this[_0x2badf0(0x487)];for(var _0x166615=0x0;_0x166615<_0x5b19a9;_0x166615++)_0x21cd5a[_0x2f9195+_0x166615]^=_0x37b9ae[_0x166615];}return _0x4cf4ee;}()),_0x305477=_0x581201[_0x4f132d(0x2a4)]={},_0x22eb0c=_0x305477['Pkcs7']={'pad':function(_0x4983ee,_0xfa59c4){var _0x332803=_0x4f132d;for(var _0x17e6d7=_0xfa59c4*0x4,_0x32d54b=_0x17e6d7-_0x4983ee[_0x332803(0x493)]%_0x17e6d7,_0x407cdd=_0x32d54b<<0x18|_0x32d54b<<0x10|_0x32d54b<<0x8|_0x32d54b,_0x5be1a4=[],_0xa4c912=0x0;_0xa4c912<_0x32d54b;_0xa4c912+=0x4)_0x5be1a4[_0x332803(0x222)](_0x407cdd);var _0x9c4c4f=_0x133da2[_0x332803(0x410)](_0x5be1a4,_0x32d54b);_0x4983ee[_0x332803(0x219)](_0x9c4c4f);},'unpad':function(_0x581da0){var _0x36d48d=_0x4f132d,_0x434fd7=_0x581da0[_0x36d48d(0x319)][_0x581da0[_0x36d48d(0x493)]-0x1>>>0x2]&0xff;_0x581da0[_0x36d48d(0x493)]-=_0x434fd7;}};_0x7bed94[_0x4f132d(0x29a)]=_0x4e8f98['extend']({'cfg':_0x4e8f98[_0x4f132d(0x3f3)]['extend']({'mode':_0x26e3c4,'padding':_0x22eb0c}),'reset':function(){var _0x4305f9=_0x4f132d,_0x589478;_0x4e8f98[_0x4305f9(0x3d6)][_0x4305f9(0x46a)](this);var _0x126d23=this['cfg'],_0x429e7a=_0x126d23['iv'],_0xc3040c=_0x126d23['mode'];this[_0x4305f9(0x351)]==this[_0x4305f9(0x3e3)]?_0x589478=_0xc3040c[_0x4305f9(0x47a)]:(_0x589478=_0xc3040c[_0x4305f9(0x29c)],this[_0x4305f9(0x2aa)]=0x1),this[_0x4305f9(0x3d2)]&&this['_mode'][_0x4305f9(0x409)]==_0x589478?this[_0x4305f9(0x3d2)]['init'](this,_0x429e7a&&_0x429e7a['words']):(this['_mode']=_0x589478['call'](_0xc3040c,this,_0x429e7a&&_0x429e7a[_0x4305f9(0x319)]),this[_0x4305f9(0x3d2)][_0x4305f9(0x409)]=_0x589478);},'_doProcessBlock':function(_0x353eda,_0x1590a3){var _0x4ff419=_0x4f132d;this[_0x4ff419(0x3d2)][_0x4ff419(0x424)](_0x353eda,_0x1590a3);},'_doFinalize':function(){var _0x255eb9=_0x4f132d,_0x76fdc,_0x52bda8=this[_0x255eb9(0x3f3)][_0x255eb9(0x2a6)];return this['_xformMode']==this[_0x255eb9(0x3e3)]?(_0x52bda8[_0x255eb9(0x2a4)](this[_0x255eb9(0x1bd)],this[_0x255eb9(0x230)]),_0x76fdc=this[_0x255eb9(0x39f)](!0x0)):(_0x76fdc=this['_process'](!0x0),_0x52bda8[_0x255eb9(0x3a2)](_0x76fdc)),_0x76fdc;},'blockSize':0x80/0x20});var _0xd2ebe9=_0x7bed94['CipherParams']=_0x2ea2b2[_0x4f132d(0x42a)]({'init':function(_0x349242){var _0x59f35a=_0x4f132d;this[_0x59f35a(0x45f)](_0x349242);},'toString':function(_0x5e5c0d){var _0x4166fd=_0x4f132d;return(_0x5e5c0d||this[_0x4166fd(0x42e)])[_0x4166fd(0x48c)](this);}}),_0x35ed76=_0x581201[_0x4f132d(0x378)]={},_0x5d0db6=_0x35ed76['OpenSSL']={'stringify':function(_0xd573fc){var _0x1d2a6a=_0x4f132d,_0x12d1cf,_0x2ef67a=_0xd573fc[_0x1d2a6a(0x39a)],_0x1354d6=_0xd573fc[_0x1d2a6a(0x495)];return _0x1354d6?_0x12d1cf=_0x133da2[_0x1d2a6a(0x410)]([0x53616c74,0x65645f5f])[_0x1d2a6a(0x219)](_0x1354d6)[_0x1d2a6a(0x219)](_0x2ef67a):_0x12d1cf=_0x2ef67a,_0x12d1cf[_0x1d2a6a(0x267)](_0x9e4988);},'parse':function(_0x4ea7bd){var _0x2b5040=_0x4f132d,_0x1b101b,_0x29d61e=_0x9e4988[_0x2b5040(0x429)](_0x4ea7bd),_0x42ae22=_0x29d61e[_0x2b5040(0x319)];return _0x42ae22[0x0]==0x53616c74&&_0x42ae22[0x1]==0x65645f5f&&(_0x1b101b=_0x133da2[_0x2b5040(0x410)](_0x42ae22[_0x2b5040(0x4a4)](0x2,0x4)),_0x42ae22[_0x2b5040(0x1de)](0x0,0x4),_0x29d61e[_0x2b5040(0x493)]-=0x10),_0xd2ebe9[_0x2b5040(0x410)]({'ciphertext':_0x29d61e,'salt':_0x1b101b});}},_0x5bc12e=_0x7bed94['SerializableCipher']=_0x2ea2b2[_0x4f132d(0x42a)]({'cfg':_0x2ea2b2[_0x4f132d(0x42a)]({'format':_0x5d0db6}),'encrypt':function(_0x1b1eea,_0x2d1f46,_0xc9a713,_0xf73578){var _0x2d9608=_0x4f132d;_0xf73578=this[_0x2d9608(0x3f3)][_0x2d9608(0x42a)](_0xf73578);var _0x5f2596=_0x1b1eea[_0x2d9608(0x47a)](_0xc9a713,_0xf73578),_0x56e3d1=_0x5f2596[_0x2d9608(0x397)](_0x2d1f46),_0x208e23=_0x5f2596['cfg'];return _0xd2ebe9[_0x2d9608(0x410)]({'ciphertext':_0x56e3d1,'key':_0xc9a713,'iv':_0x208e23['iv'],'algorithm':_0x1b1eea,'mode':_0x208e23['mode'],'padding':_0x208e23[_0x2d9608(0x2a6)],'blockSize':_0x1b1eea[_0x2d9608(0x230)],'formatter':_0xf73578[_0x2d9608(0x378)]});},'decrypt':function(_0x219e8d,_0x1bc9db,_0x5cc65f,_0x327ca5){var _0x39cf2c=_0x4f132d;_0x327ca5=this[_0x39cf2c(0x3f3)]['extend'](_0x327ca5),_0x1bc9db=this[_0x39cf2c(0x45c)](_0x1bc9db,_0x327ca5['format']);var _0x295514=_0x219e8d[_0x39cf2c(0x29c)](_0x5cc65f,_0x327ca5)[_0x39cf2c(0x397)](_0x1bc9db[_0x39cf2c(0x39a)]);return _0x295514;},'_parse':function(_0x5de0ce,_0x4d883e){var _0x4505d3=_0x4f132d;return typeof _0x5de0ce==_0x4505d3(0x21e)?_0x4d883e['parse'](_0x5de0ce,this):_0x5de0ce;}}),_0x15fa91=_0x581201[_0x4f132d(0x3b2)]={},_0x340534=_0x15fa91[_0x4f132d(0x2b2)]={'execute':function(_0x5f1b40,_0x43c3b1,_0x3e2f24,_0x287457,_0x39829e){var _0x3f58ba=_0x4f132d;if(_0x287457||(_0x287457=_0x133da2[_0x3f58ba(0x2bc)](0x40/0x8)),_0x39829e)var _0x5a8307=_0x18af1f['create']({'keySize':_0x43c3b1+_0x3e2f24,'hasher':_0x39829e})[_0x3f58ba(0x3f5)](_0x5f1b40,_0x287457);else var _0x5a8307=_0x18af1f[_0x3f58ba(0x410)]({'keySize':_0x43c3b1+_0x3e2f24})[_0x3f58ba(0x3f5)](_0x5f1b40,_0x287457);var _0x543bdd=_0x133da2[_0x3f58ba(0x410)](_0x5a8307[_0x3f58ba(0x319)][_0x3f58ba(0x4a4)](_0x43c3b1),_0x3e2f24*0x4);return _0x5a8307[_0x3f58ba(0x493)]=_0x43c3b1*0x4,_0xd2ebe9[_0x3f58ba(0x410)]({'key':_0x5a8307,'iv':_0x543bdd,'salt':_0x287457});}},_0x20bc8f=_0x7bed94[_0x4f132d(0x3cd)]=_0x5bc12e[_0x4f132d(0x42a)]({'cfg':_0x5bc12e['cfg'][_0x4f132d(0x42a)]({'kdf':_0x340534}),'encrypt':function(_0x104c3a,_0x2d8465,_0x19acd4,_0x3777e7){var _0x134682=_0x4f132d;_0x3777e7=this[_0x134682(0x3f3)][_0x134682(0x42a)](_0x3777e7);var _0x19dd1a=_0x3777e7[_0x134682(0x3b2)][_0x134682(0x263)](_0x19acd4,_0x104c3a[_0x134682(0x49c)],_0x104c3a[_0x134682(0x44b)],_0x3777e7[_0x134682(0x495)],_0x3777e7['hasher']);_0x3777e7['iv']=_0x19dd1a['iv'];var _0x39822e=_0x5bc12e[_0x134682(0x4af)][_0x134682(0x46a)](this,_0x104c3a,_0x2d8465,_0x19dd1a[_0x134682(0x28a)],_0x3777e7);return _0x39822e[_0x134682(0x45f)](_0x19dd1a),_0x39822e;},'decrypt':function(_0x9d2ee5,_0x61238b,_0x5a986e,_0x3a4cb2){var _0xb611c=_0x4f132d;_0x3a4cb2=this[_0xb611c(0x3f3)][_0xb611c(0x42a)](_0x3a4cb2),_0x61238b=this[_0xb611c(0x45c)](_0x61238b,_0x3a4cb2[_0xb611c(0x378)]);var _0x22777e=_0x3a4cb2[_0xb611c(0x3b2)][_0xb611c(0x263)](_0x5a986e,_0x9d2ee5[_0xb611c(0x49c)],_0x9d2ee5[_0xb611c(0x44b)],_0x61238b['salt'],_0x3a4cb2[_0xb611c(0x2c1)]);_0x3a4cb2['iv']=_0x22777e['iv'];var _0x4779d8=_0x5bc12e[_0xb611c(0x204)][_0xb611c(0x46a)](this,_0x9d2ee5,_0x61238b,_0x22777e[_0xb611c(0x28a)],_0x3a4cb2);return _0x4779d8;}});}();}));}(Xe)),Xe[_0x23b6cf(0x361)];}var Zs=We[_0x7744bf(0x361)],oi;function Qs(){return oi||(oi=0x1,function(_0x271810,_0x107502){(function(_0x3b8ec0,_0x518cd4,_0x30a78d){_0x271810['exports']=_0x518cd4(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x37cba3){var _0x5e1252=_0x186f;return(function(){var _0x4e1146=_0x186f,_0x33ca9b=_0x37cba3,_0x5d5076=_0x33ca9b[_0x4e1146(0x32b)],_0xf22649=_0x5d5076[_0x4e1146(0x29a)],_0x5137e9=_0x33ca9b[_0x4e1146(0x380)],_0x14ec0e=[],_0x185c6a=[],_0x23fb7b=[],_0x120e4f=[],_0x51ef91=[],_0x23a95e=[],_0x509a2c=[],_0x5160eb=[],_0x2a5293=[],_0x533aef=[];(function(){for(var _0x3c9b3b=[],_0x14c74a=0x0;_0x14c74a<0x100;_0x14c74a++)_0x14c74a<0x80?_0x3c9b3b[_0x14c74a]=_0x14c74a<<0x1:_0x3c9b3b[_0x14c74a]=_0x14c74a<<0x1^0x11b;for(var _0x88f757=0x0,_0x16f546=0x0,_0x14c74a=0x0;_0x14c74a<0x100;_0x14c74a++){var _0x7cb011=_0x16f546^_0x16f546<<0x1^_0x16f546<<0x2^_0x16f546<<0x3^_0x16f546<<0x4;_0x7cb011=_0x7cb011>>>0x8^_0x7cb011&0xff^0x63,_0x14ec0e[_0x88f757]=_0x7cb011,_0x185c6a[_0x7cb011]=_0x88f757;var _0x37ff34=_0x3c9b3b[_0x88f757],_0x239a7b=_0x3c9b3b[_0x37ff34],_0x4d7974=_0x3c9b3b[_0x239a7b],_0xcee083=_0x3c9b3b[_0x7cb011]*0x101^_0x7cb011*0x1010100;_0x23fb7b[_0x88f757]=_0xcee083<<0x18|_0xcee083>>>0x8,_0x120e4f[_0x88f757]=_0xcee083<<0x10|_0xcee083>>>0x10,_0x51ef91[_0x88f757]=_0xcee083<<0x8|_0xcee083>>>0x18,_0x23a95e[_0x88f757]=_0xcee083;var _0xcee083=_0x4d7974*0x1010101^_0x239a7b*0x10001^_0x37ff34*0x101^_0x88f757*0x1010100;_0x509a2c[_0x7cb011]=_0xcee083<<0x18|_0xcee083>>>0x8,_0x5160eb[_0x7cb011]=_0xcee083<<0x10|_0xcee083>>>0x10,_0x2a5293[_0x7cb011]=_0xcee083<<0x8|_0xcee083>>>0x18,_0x533aef[_0x7cb011]=_0xcee083,_0x88f757?(_0x88f757=_0x37ff34^_0x3c9b3b[_0x3c9b3b[_0x3c9b3b[_0x4d7974^_0x37ff34]]],_0x16f546^=_0x3c9b3b[_0x3c9b3b[_0x16f546]]):_0x88f757=_0x16f546=0x1;}}());var _0x324f00=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3556c0=_0x5137e9[_0x4e1146(0x24b)]=_0xf22649['extend']({'_doReset':function(){var _0x4200ea=_0x4e1146,_0x1bb052;if(!(this[_0x4200ea(0x2d9)]&&this[_0x4200ea(0x1e7)]===this[_0x4200ea(0x276)])){for(var _0x8cc3a3=this['_keyPriorReset']=this['_key'],_0x3fa2ee=_0x8cc3a3[_0x4200ea(0x319)],_0x5c1d23=_0x8cc3a3[_0x4200ea(0x493)]/0x4,_0x1b4f18=this[_0x4200ea(0x2d9)]=_0x5c1d23+0x6,_0x3c1e60=(_0x1b4f18+0x1)*0x4,_0x5f0de8=this['_keySchedule']=[],_0x4bf930=0x0;_0x4bf930<_0x3c1e60;_0x4bf930++)_0x4bf930<_0x5c1d23?_0x5f0de8[_0x4bf930]=_0x3fa2ee[_0x4bf930]:(_0x1bb052=_0x5f0de8[_0x4bf930-0x1],_0x4bf930%_0x5c1d23?_0x5c1d23>0x6&&_0x4bf930%_0x5c1d23==0x4&&(_0x1bb052=_0x14ec0e[_0x1bb052>>>0x18]<<0x18|_0x14ec0e[_0x1bb052>>>0x10&0xff]<<0x10|_0x14ec0e[_0x1bb052>>>0x8&0xff]<<0x8|_0x14ec0e[_0x1bb052&0xff]):(_0x1bb052=_0x1bb052<<0x8|_0x1bb052>>>0x18,_0x1bb052=_0x14ec0e[_0x1bb052>>>0x18]<<0x18|_0x14ec0e[_0x1bb052>>>0x10&0xff]<<0x10|_0x14ec0e[_0x1bb052>>>0x8&0xff]<<0x8|_0x14ec0e[_0x1bb052&0xff],_0x1bb052^=_0x324f00[_0x4bf930/_0x5c1d23|0x0]<<0x18),_0x5f0de8[_0x4bf930]=_0x5f0de8[_0x4bf930-_0x5c1d23]^_0x1bb052);for(var _0x1c0788=this[_0x4200ea(0x26c)]=[],_0x89347c=0x0;_0x89347c<_0x3c1e60;_0x89347c++){var _0x4bf930=_0x3c1e60-_0x89347c;if(_0x89347c%0x4)var _0x1bb052=_0x5f0de8[_0x4bf930];else var _0x1bb052=_0x5f0de8[_0x4bf930-0x4];_0x89347c<0x4||_0x4bf930<=0x4?_0x1c0788[_0x89347c]=_0x1bb052:_0x1c0788[_0x89347c]=_0x509a2c[_0x14ec0e[_0x1bb052>>>0x18]]^_0x5160eb[_0x14ec0e[_0x1bb052>>>0x10&0xff]]^_0x2a5293[_0x14ec0e[_0x1bb052>>>0x8&0xff]]^_0x533aef[_0x14ec0e[_0x1bb052&0xff]];}}},'encryptBlock':function(_0xdef948,_0x1ccdb2){var _0x46c7cd=_0x4e1146;this[_0x46c7cd(0x359)](_0xdef948,_0x1ccdb2,this[_0x46c7cd(0x1ef)],_0x23fb7b,_0x120e4f,_0x51ef91,_0x23a95e,_0x14ec0e);},'decryptBlock':function(_0x536b06,_0x2d41cb){var _0x265350=_0x4e1146,_0x349822=_0x536b06[_0x2d41cb+0x1];_0x536b06[_0x2d41cb+0x1]=_0x536b06[_0x2d41cb+0x3],_0x536b06[_0x2d41cb+0x3]=_0x349822,this[_0x265350(0x359)](_0x536b06,_0x2d41cb,this['_invKeySchedule'],_0x509a2c,_0x5160eb,_0x2a5293,_0x533aef,_0x185c6a);var _0x349822=_0x536b06[_0x2d41cb+0x1];_0x536b06[_0x2d41cb+0x1]=_0x536b06[_0x2d41cb+0x3],_0x536b06[_0x2d41cb+0x3]=_0x349822;},'_doCryptBlock':function(_0x5926a5,_0x374026,_0x5a736b,_0x210c14,_0x1fb027,_0x3c84f9,_0x3feca5,_0x4877ac){var _0x4ac3be=_0x4e1146;for(var _0x1ecf42=this[_0x4ac3be(0x2d9)],_0x38e617=_0x5926a5[_0x374026]^_0x5a736b[0x0],_0xf07712=_0x5926a5[_0x374026+0x1]^_0x5a736b[0x1],_0xac7d7a=_0x5926a5[_0x374026+0x2]^_0x5a736b[0x2],_0x2a34cd=_0x5926a5[_0x374026+0x3]^_0x5a736b[0x3],_0x21a894=0x4,_0x50281e=0x1;_0x50281e<_0x1ecf42;_0x50281e++){var _0x290bf0=_0x210c14[_0x38e617>>>0x18]^_0x1fb027[_0xf07712>>>0x10&0xff]^_0x3c84f9[_0xac7d7a>>>0x8&0xff]^_0x3feca5[_0x2a34cd&0xff]^_0x5a736b[_0x21a894++],_0x35a7bc=_0x210c14[_0xf07712>>>0x18]^_0x1fb027[_0xac7d7a>>>0x10&0xff]^_0x3c84f9[_0x2a34cd>>>0x8&0xff]^_0x3feca5[_0x38e617&0xff]^_0x5a736b[_0x21a894++],_0x3bcc42=_0x210c14[_0xac7d7a>>>0x18]^_0x1fb027[_0x2a34cd>>>0x10&0xff]^_0x3c84f9[_0x38e617>>>0x8&0xff]^_0x3feca5[_0xf07712&0xff]^_0x5a736b[_0x21a894++],_0x30d5b4=_0x210c14[_0x2a34cd>>>0x18]^_0x1fb027[_0x38e617>>>0x10&0xff]^_0x3c84f9[_0xf07712>>>0x8&0xff]^_0x3feca5[_0xac7d7a&0xff]^_0x5a736b[_0x21a894++];_0x38e617=_0x290bf0,_0xf07712=_0x35a7bc,_0xac7d7a=_0x3bcc42,_0x2a34cd=_0x30d5b4;}var _0x290bf0=(_0x4877ac[_0x38e617>>>0x18]<<0x18|_0x4877ac[_0xf07712>>>0x10&0xff]<<0x10|_0x4877ac[_0xac7d7a>>>0x8&0xff]<<0x8|_0x4877ac[_0x2a34cd&0xff])^_0x5a736b[_0x21a894++],_0x35a7bc=(_0x4877ac[_0xf07712>>>0x18]<<0x18|_0x4877ac[_0xac7d7a>>>0x10&0xff]<<0x10|_0x4877ac[_0x2a34cd>>>0x8&0xff]<<0x8|_0x4877ac[_0x38e617&0xff])^_0x5a736b[_0x21a894++],_0x3bcc42=(_0x4877ac[_0xac7d7a>>>0x18]<<0x18|_0x4877ac[_0x2a34cd>>>0x10&0xff]<<0x10|_0x4877ac[_0x38e617>>>0x8&0xff]<<0x8|_0x4877ac[_0xf07712&0xff])^_0x5a736b[_0x21a894++],_0x30d5b4=(_0x4877ac[_0x2a34cd>>>0x18]<<0x18|_0x4877ac[_0x38e617>>>0x10&0xff]<<0x10|_0x4877ac[_0xf07712>>>0x8&0xff]<<0x8|_0x4877ac[_0xac7d7a&0xff])^_0x5a736b[_0x21a894++];_0x5926a5[_0x374026]=_0x290bf0,_0x5926a5[_0x374026+0x1]=_0x35a7bc,_0x5926a5[_0x374026+0x2]=_0x3bcc42,_0x5926a5[_0x374026+0x3]=_0x30d5b4;},'keySize':0x100/0x20});_0x33ca9b['AES']=_0xf22649['_createHelper'](_0x3556c0);}()),_0x37cba3[_0x5e1252(0x24b)];}));}(We)),We['exports'];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x7744bf(0x361)],ci;function sr(){var _0x53b50a=_0x7744bf;return ci||(ci=0x1,function(_0x4496e6,_0x4ea874){(function(_0x19e023,_0x4c7adc){var _0xc3fc7d=_0x186f;_0x4496e6[_0xc3fc7d(0x361)]=_0x4c7adc(ne());}(nr,function(_0x38a05e){var _0x5f39d7=_0x186f;return _0x38a05e[_0x5f39d7(0x47b)]['Utf8'];}));}(Ze)),Ze[_0x53b50a(0x361)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x7744bf(0x361)],hi;function cr(){return hi||(hi=0x1,function(_0x3aab70,_0x440434){(function(_0x5df21b,_0x5b80a4){var _0x3a79e0=_0x186f;_0x3aab70[_0x3a79e0(0x361)]=_0x5b80a4(ne());}(ar,function(_0x5c5a25){var _0x4c9ae2=_0x186f;return(function(){var _0x46f4d9=_0x186f;if(typeof ArrayBuffer=='function'){var _0x9b17dc=_0x5c5a25,_0x290c8f=_0x9b17dc[_0x46f4d9(0x32b)],_0x2c8341=_0x290c8f['WordArray'],_0x525a26=_0x2c8341[_0x46f4d9(0x475)],_0x4cab4d=_0x2c8341[_0x46f4d9(0x475)]=function(_0x1aba73){var _0x434e25=_0x46f4d9;if(_0x1aba73 instanceof ArrayBuffer&&(_0x1aba73=new Uint8Array(_0x1aba73)),(_0x1aba73 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1aba73 instanceof Uint8ClampedArray||_0x1aba73 instanceof Int16Array||_0x1aba73 instanceof Uint16Array||_0x1aba73 instanceof Int32Array||_0x1aba73 instanceof Uint32Array||_0x1aba73 instanceof Float32Array||_0x1aba73 instanceof Float64Array)&&(_0x1aba73=new Uint8Array(_0x1aba73[_0x434e25(0x2a2)],_0x1aba73[_0x434e25(0x286)],_0x1aba73['byteLength'])),_0x1aba73 instanceof Uint8Array){for(var _0x5bc0f6=_0x1aba73[_0x434e25(0x3ef)],_0x32751f=[],_0x9ccaf4=0x0;_0x9ccaf4<_0x5bc0f6;_0x9ccaf4++)_0x32751f[_0x9ccaf4>>>0x2]|=_0x1aba73[_0x9ccaf4]<<0x18-_0x9ccaf4%0x4*0x8;_0x525a26[_0x434e25(0x46a)](this,_0x32751f,_0x5bc0f6);}else _0x525a26[_0x434e25(0x1b2)](this,arguments);};_0x4cab4d[_0x46f4d9(0x239)]=_0x2c8341;}}()),_0x5c5a25[_0x4c9ae2(0x32b)]['WordArray'];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x3e97bd=_0x7744bf;return _i||(_i=0x1,function(_0x3b4cb3,_0x40689d){(function(_0x2de31d,_0x46f1b9,_0x41e453){var _0x474c2c=_0x186f;_0x3b4cb3[_0x474c2c(0x361)]=_0x46f1b9(ne(),Ai());}(lr,function(_0x56774d){var _0x28416a=_0x186f;return _0x56774d[_0x28416a(0x2a4)][_0x28416a(0x416)]={'pad':function(){},'unpad':function(){}},_0x56774d['pad'][_0x28416a(0x416)];}));}(et)),et[_0x3e97bd(0x361)];}var dr=ur();const fr=je(dr);function vr(_0x2d4430,_0x45f987){var _0x263fe3=_0x7744bf;const _0x36b5c4=_0x45f987-_0x2d4430['length']%_0x45f987,_0x316254=String['fromCharCode'](_0x36b5c4)[_0x263fe3(0x20f)](_0x36b5c4);return _0x2d4430+_0x316254;}function pr(_0x196ab6,_0x1b5703){var _0x1c31b9=_0x7744bf;const _0x2425dd=_r['random'](0x10),_0x119856=vr(_0x196ab6,0x10),_0x2299c9=tr[_0x1c31b9(0x4af)](or[_0x1c31b9(0x429)](_0x119856),ai[_0x1c31b9(0x429)](_0x1b5703),{'iv':_0x2425dd,'padding':fr});return _0x2425dd[_0x1c31b9(0x219)](_0x2299c9[_0x1c31b9(0x39a)])['toString'](ai);}function gr(){var _0x11f325=_0x7744bf;const _0x28b6d6=_0x45cd4f()['__Key__'];if(_0x28b6d6){const _0x2f582b={'time':Math['floor'](Date[_0x11f325(0x3ba)]()/0x3e8),'domain':location[_0x11f325(0x2fe)]};return pr(JSON['stringify'](_0x2f582b),_0x28b6d6);}}var mr=Object[_0x7744bf(0x467)],Sr=Object[_0x7744bf(0x1c0)],Er=(_0x4484aa,_0x539a03,_0x165214,_0x14346b)=>{var _0x4e99c2=_0x7744bf;for(var _0x5e0f22=_0x14346b>0x1?void 0x0:_0x14346b?Sr(_0x539a03,_0x165214):_0x539a03,_0x27c0ed=_0x4484aa[_0x4e99c2(0x1db)]-0x1,_0x3166e6;_0x27c0ed>=0x0;_0x27c0ed--)(_0x3166e6=_0x4484aa[_0x27c0ed])&&(_0x5e0f22=(_0x14346b?_0x3166e6(_0x539a03,_0x165214,_0x5e0f22):_0x3166e6(_0x5e0f22))||_0x5e0f22);return _0x14346b&&_0x5e0f22&&mr(_0x539a03,_0x165214,_0x5e0f22),_0x5e0f22;},Ir=(_0x4e06a4,_0x438300)=>(_0x4d87cb,_0x5a0477)=>_0x438300(_0x4d87cb,_0x5a0477,_0x4e06a4);let at=class{constructor(_0x49c103){var _0x29969d=_0x7744bf;this['_httpService']=_0x49c103,this[_0x29969d(0x3b6)]();}['_initRequestHeader'](){var _0x454e02=_0x7744bf;this[_0x454e02(0x4a2)][_0x454e02(0x2f6)]({'interceptor':(_0x374303,_0x147659)=>{var _0x2ddbfb=_0x454e02;const _0x4e273d=_0x374303[_0x2ddbfb(0x2a9)],_0x156913=gr();return _0x156913&&_0x4e273d[_0x2ddbfb(0x425)]('x-univer-host',_0x156913),_0x147659(_0x374303);}});}};at=Er([Ir(0x0,_0x46f2f9(_0x381081))],at);var Tr=Object[_0x7744bf(0x467)],Cr=Object[_0x7744bf(0x1c0)],br=(_0x2cd8e9,_0x1835b1,_0x1dc2a0,_0x47fbdf)=>{for(var _0x23173c=_0x47fbdf>0x1?void 0x0:_0x47fbdf?Cr(_0x1835b1,_0x1dc2a0):_0x1835b1,_0x2462fa=_0x2cd8e9['length']-0x1,_0x3058e6;_0x2462fa>=0x0;_0x2462fa--)(_0x3058e6=_0x2cd8e9[_0x2462fa])&&(_0x23173c=(_0x47fbdf?_0x3058e6(_0x1835b1,_0x1dc2a0,_0x23173c):_0x3058e6(_0x23173c))||_0x23173c);return _0x47fbdf&&_0x23173c&&Tr(_0x1835b1,_0x1dc2a0,_0x23173c),_0x23173c;},mt=(_0x431426,_0x2a00dd)=>(_0x2cc13e,_0x597ed6)=>_0x2a00dd(_0x2cc13e,_0x597ed6,_0x431426);let Ot=class extends _0x2bcc2a{constructor(_0x390927,_0xf97ae9,_0x16742b){var _0x18038b=_0x7744bf;super(),D(this,_0x18038b(0x46e),new _0xb58407(null)),D(this,'unitInfo$',this[_0x18038b(0x46e)][_0x18038b(0x463)]()),(this['_logService']=_0x390927,this[_0x18038b(0x311)]=_0xf97ae9,this[_0x18038b(0x3a0)]=_0x16742b);}async[_0x7744bf(0x46d)](_0x115e7b,_0x35ebaa,_0x1ebf3e){var _0x313055=_0x7744bf;this[_0x313055(0x46e)]['next']({'unitId':_0x115e7b,'type':_0x35ebaa,'subUnitId':_0x1ebf3e});let _0x39c891=null;switch(_0x35ebaa){case Q[_0x313055(0x49a)]:{_0x39c891=await this[_0x313055(0x31d)](_0x115e7b);break;}case Q[_0x313055(0x457)]:{_0x39c891=await this[_0x313055(0x41c)](_0x115e7b);break;}default:{this[_0x313055(0x21a)][_0x313055(0x44a)]('[DataLoaderService]',_0x313055(0x478));break;}}return _0x39c891;}async['_loadSheet'](_0x573e19){var _0x595093=_0x7744bf,_0x18dcfa;let _0x108cd1=0x0;const _0x451f5f=await((_0x18dcfa=this['_localCacheService'])==null?void 0x0:_0x18dcfa['loadOfflineData'](_0x573e19));return _0x451f5f&&(_0x451f5f[_0x595093(0x1c6)]||_0x451f5f['mutations'][_0x595093(0x1db)]!==0x0)&&(_0x108cd1=_0x451f5f['rev']),_0x108cd1===0x0&&this[_0x595093(0x21a)][_0x595093(0x218)](_0x595093(0x4a5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x595093(0x311)][_0x595093(0x3dc)](_0x573e19,_0x108cd1);}async[_0x7744bf(0x41c)](_0x4089b0){var _0xbf990d=_0x7744bf,_0x4a3211;let _0x46814a=0x0;const _0x429be5=await((_0x4a3211=this[_0xbf990d(0x3a0)])==null?void 0x0:_0x4a3211[_0xbf990d(0x292)](_0x4089b0));return _0x429be5&&(_0x429be5[_0xbf990d(0x1c6)]||_0x429be5[_0xbf990d(0x226)][_0xbf990d(0x1db)]!==0x0)&&(_0x46814a=_0x429be5[_0xbf990d(0x334)]),_0x46814a===0x0&&this['_logService'][_0xbf990d(0x218)](_0xbf990d(0x4a5),_0xbf990d(0x2f5)),this['_snapshotService'][_0xbf990d(0x1d5)](_0x4089b0,_0x46814a);}};Ot=br([mt(0x0,_0x36e00a),mt(0x1,_0x46f2f9(_0x1907ed)),mt(0x2,_0x49cb22(X))],Ot);var Rr=Object[_0x7744bf(0x467)],yr=Object[_0x7744bf(0x1c0)],Or=(_0x1e551e,_0x10e9ff,_0x40af04,_0x18e1ac)=>{var _0x1b2ecf=_0x7744bf;for(var _0x504288=_0x18e1ac>0x1?void 0x0:_0x18e1ac?yr(_0x10e9ff,_0x40af04):_0x10e9ff,_0x41336d=_0x1e551e[_0x1b2ecf(0x1db)]-0x1,_0x34ba4e;_0x41336d>=0x0;_0x41336d--)(_0x34ba4e=_0x1e551e[_0x41336d])&&(_0x504288=(_0x18e1ac?_0x34ba4e(_0x10e9ff,_0x40af04,_0x504288):_0x34ba4e(_0x504288))||_0x504288);return _0x18e1ac&&_0x504288&&Rr(_0x10e9ff,_0x40af04,_0x504288),_0x504288;},St=(_0x387754,_0x263753)=>(_0x276531,_0x26cbf3)=>_0x263753(_0x276531,_0x26cbf3,_0x387754);const Pr=['image/png',_0x7744bf(0x29d),_0x7744bf(0x2c9),_0x7744bf(0x1bc),'image/bmp'],Nr=0x5*0x400*0x400,Dr=_0x7744bf(0x1cd),wr=_0x7744bf(0x456),Ur=_0x7744bf(0x33f),Ar=_0x7744bf(0x206);let Pt=class{constructor(_0x418bf6,_0x84fcf8,_0x27c69d){var _0x7acdf3=_0x7744bf;D(this,'_waitCount',0x0),D(this,'_change$',new _0x14ccc3()),D(this,'change$',this[_0x7acdf3(0x1e8)]),D(this,_0x7acdf3(0x418),new Map()),(this[_0x7acdf3(0x4a2)]=_0x418bf6,this[_0x7acdf3(0x1f1)]=_0x84fcf8,this[_0x7acdf3(0x403)]=_0x27c69d);}[_0x7744bf(0x21b)](_0xc3e7a){var _0x158482=_0x7744bf;this[_0x158482(0x243)]=_0xc3e7a,this['_change$'][_0x158482(0x3a5)](_0xc3e7a);}[_0x7744bf(0x27d)](_0x4a3573,_0x5d70c9){var _0x24c237=_0x7744bf;if(_0x5d70c9===_0x2483ce['BASE64']){const _0x394200=new Image();return _0x394200[_0x24c237(0x39e)]=_0x4a3573,_0x394200;}return this[_0x24c237(0x418)]['get'](_0x4a3573);}[_0x7744bf(0x23b)](_0xbc9fbe,_0x3546e2,_0x24ade9){var _0x5172a8=_0x7744bf;_0x3546e2===_0x2483ce['BASE64']||_0x24ade9==null||this['_imageSourceCache'][_0x5172a8(0x425)](_0xbc9fbe,_0x24ade9);}async[_0x7744bf(0x3fd)](_0x3d3ae5){var _0x5bb370=_0x7744bf;try{const _0x4a65e2=this[_0x5bb370(0x30b)](this[_0x5bb370(0x205)](),''+_0x3d3ae5),_0xf10901=(await this[_0x5bb370(0x4a2)]['get'](_0x4a65e2))[_0x5bb370(0x22f)];if(_0xf10901[_0x5bb370(0x44a)]&&_0xf10901[_0x5bb370(0x44a)][_0x5bb370(0x241)]===Ii['OK']){const _0x45e525=new URL(_0xf10901[_0x5bb370(0x2be)],this[_0x5bb370(0x453)]())[_0x5bb370(0x267)]();return Promise[_0x5bb370(0x373)](_0x45e525);}return Promise['reject'](_0xf10901['error']);}catch(_0x23b3ed){return Promise[_0x5bb370(0x36b)](_0x23b3ed);}}async[_0x7744bf(0x423)](_0x6c722d){var _0x5440db=_0x7744bf;let _0x539e66='';if(!Pr[_0x5440db(0x385)](_0x6c722d[_0x5440db(0x2bd)]))return this[_0x5440db(0x224)](),Promise['reject'](new Error(_0xf0db03[_0x5440db(0x2db)]));if(_0x6c722d[_0x5440db(0x238)]>Nr)return this[_0x5440db(0x224)](),Promise['reject'](new Error(_0xf0db03['ERROR_EXCEED_SIZE']));try{const _0x3123bb=new FormData();_0x3123bb[_0x5440db(0x368)]('file',_0x6c722d);const _0x4e7024=this[_0x5440db(0x403)][_0x5440db(0x451)](),_0x2cf395=_0x4e7024==null?void 0x0:_0x4e7024[_0x5440db(0x48b)]();if(!_0x2cf395)throw new Error(_0x5440db(0x38d));const _0x551754=this['_getUploadFileURL']()+_0x5440db(0x479)+_0x6c722d[_0x5440db(0x238)][_0x5440db(0x267)]()+'&source='+Ti['UnitEmbedded']+_0x5440db(0x3d0)+encodeURIComponent(_0x2cf395),_0x398703=await(await fetch(_0x551754,{'method':'POST','body':_0x3123bb}))[_0x5440db(0x497)]();if(typeof _0x398703['FileId']!=_0x5440db(0x21e))return this[_0x5440db(0x224)](),Promise[_0x5440db(0x36b)](new Error(_0xf0db03[_0x5440db(0x46f)]));_0x539e66=_0x398703[_0x5440db(0x1b1)];}catch{return this[_0x5440db(0x224)](),Promise[_0x5440db(0x36b)](new Error(_0xf0db03[_0x5440db(0x46f)]));}return new Promise((_0x2cf80c,_0x6c9934)=>{var _0x1cc169=_0x5440db;const _0x26c3e6=new FileReader();_0x26c3e6[_0x1cc169(0x299)](_0x6c722d),_0x26c3e6[_0x1cc169(0x2ef)]=_0xbe7ebf=>{var _0x55e952=_0x1cc169,_0x430a37;const _0x508212=(_0x430a37=_0xbe7ebf[_0x55e952(0x3e0)])==null?void 0x0:_0x430a37[_0x55e952(0x266)];if(_0x508212==null){this[_0x55e952(0x224)](),_0x6c9934(new Error(_0xf0db03['ERROR_IMAGE']));return;}const _0x478791=_0x5e5c0f['generateRandomId'](0x6);_0x2cf80c({'imageId':_0x478791,'imageSourceType':_0x2483ce[_0x55e952(0x382)],'source':_0x539e66,'base64Cache':_0x508212,'status':_0xf0db03[_0x55e952(0x1bf)]}),this['_decreaseWaiting']();};});}[_0x7744bf(0x2dd)](){var _0x599e57=_0x7744bf,_0x566346,_0xe5bd79;const _0x42d328=this[_0x599e57(0x1f1)]['getConfig'](Dr),_0x28a352=this[_0x599e57(0x1f1)][_0x599e57(0x3e9)](Y);return(_0xe5bd79=(_0x566346=_0x28a352==null?void 0x0:_0x28a352[_0x599e57(0x2d5)])!=null?_0x566346:_0x42d328)!=null?_0xe5bd79:wr;}['_getSignURL'](){var _0x472dec=_0x7744bf,_0xf05b4b,_0xe1bb0d;const _0x2fcc6c=this[_0x472dec(0x1f1)][_0x472dec(0x3e9)](Ur),_0x5a8901=this[_0x472dec(0x1f1)]['getConfig'](Y);return(_0xe1bb0d=(_0xf05b4b=_0x5a8901==null?void 0x0:_0x5a8901[_0x472dec(0x2ad)])!=null?_0xf05b4b:_0x2fcc6c)!=null?_0xe1bb0d:Ar;}[_0x7744bf(0x453)](){var _0x56fb27=_0x7744bf,_0x3a8f6b;const _0x9e5543=this[_0x56fb27(0x1f1)][_0x56fb27(0x3e9)](Y);return(_0x3a8f6b=_0x9e5543==null?void 0x0:_0x9e5543['downloadEndpointUrl'])!=null?_0x3a8f6b:location[_0x56fb27(0x220)];}['_replaceFileID'](_0x3ea3b0,_0x700feb){var _0xcd3ef8=_0x7744bf;return _0x3ea3b0[_0xcd3ef8(0x49d)](_0xcd3ef8(0x405),_0x700feb);}[_0x7744bf(0x224)](){var _0x617c31=_0x7744bf;this[_0x617c31(0x243)]-=0x1,this[_0x617c31(0x1e8)][_0x617c31(0x3a5)](this['_waitCount']);}};Pt=Or([St(0x0,_0x46f2f9(_0x381081)),St(0x1,_0x387952),St(0x2,_0x46f2f9(_0x464ce2))],Pt);var xr=Object[_0x7744bf(0x467)],Lr=Object[_0x7744bf(0x1c0)],Mr=(_0x345029,_0x1b0c6b,_0x1dffa7,_0x20d83e)=>{var _0x1c9462=_0x7744bf;for(var _0x4cae85=_0x20d83e>0x1?void 0x0:_0x20d83e?Lr(_0x1b0c6b,_0x1dffa7):_0x1b0c6b,_0x174d7d=_0x345029[_0x1c9462(0x1db)]-0x1,_0x25eb96;_0x174d7d>=0x0;_0x174d7d--)(_0x25eb96=_0x345029[_0x174d7d])&&(_0x4cae85=(_0x20d83e?_0x25eb96(_0x1b0c6b,_0x1dffa7,_0x4cae85):_0x25eb96(_0x4cae85))||_0x4cae85);return _0x20d83e&&_0x4cae85&&xr(_0x1b0c6b,_0x1dffa7,_0x4cae85),_0x4cae85;},li=(_0x305058,_0x5146cb)=>(_0x515cb3,_0x4db14e)=>_0x5146cb(_0x515cb3,_0x4db14e,_0x305058);const $r='/universer-api/authz';let Nt=class{constructor(_0x17ca2b,_0x54616f){var _0x2846c1=_0x7744bf;this[_0x2846c1(0x1f1)]=_0x17ca2b,this[_0x2846c1(0x3f9)]=_0x54616f;}[_0x7744bf(0x3f6)](){var _0xc22fc7=_0x7744bf,_0x4d9c65,_0xc25595;const _0x3c462d=this['_configService'][_0xc22fc7(0x3e9)](Di),_0x897b78=this[_0xc22fc7(0x1f1)][_0xc22fc7(0x3e9)](Y);return(_0xc25595=(_0x4d9c65=_0x897b78==null?void 0x0:_0x897b78['authzUrl'])!=null?_0x4d9c65:_0x3c462d)!=null?_0xc25595:$r;}async[_0x7744bf(0x1b7)](_0x5139c5){var _0x199bc9=_0x7744bf;const _0x40fa6e=this[_0x199bc9(0x3f6)]()+_0x199bc9(0x2ab);return{'list':[{'title':'People','mentions':(await this[_0x199bc9(0x3f9)][_0x199bc9(0x422)](_0x40fa6e,{'params':{'objectID':_0x5139c5['unitId'],'unitID':_0x5139c5['unitId']}}))[_0x199bc9(0x22f)][_0x199bc9(0x3a7)][_0x199bc9(0x40e)](_0xd7600e=>({'objectId':_0xd7600e['id'],'name':_0xd7600e[_0x199bc9(0x357)][_0x199bc9(0x245)],'metadata':{'icon':_0xd7600e[_0x199bc9(0x357)][_0x199bc9(0x303)]},'label':_0xd7600e[_0x199bc9(0x357)]['name'],'objectType':_0x327ba5[_0x199bc9(0x2b4)]})),'metadata':{},'type':_0x327ba5['PERSON']}]};}};Nt=Mr([li(0x0,_0x46f2f9(_0x387952)),li(0x1,_0x46f2f9(_0x381081))],Nt);var Hr=Object[_0x7744bf(0x467)],kr=Object[_0x7744bf(0x1c0)],jr=(_0x466d9e,_0x8458b4,_0x50ad20,_0x6f5bb)=>{for(var _0x1de361=_0x6f5bb>0x1?void 0x0:_0x6f5bb?kr(_0x8458b4,_0x50ad20):_0x8458b4,_0x503a6e=_0x466d9e['length']-0x1,_0x168bf2;_0x503a6e>=0x0;_0x503a6e--)(_0x168bf2=_0x466d9e[_0x503a6e])&&(_0x1de361=(_0x6f5bb?_0x168bf2(_0x8458b4,_0x50ad20,_0x1de361):_0x168bf2(_0x1de361))||_0x1de361);return _0x6f5bb&&_0x1de361&&Hr(_0x8458b4,_0x50ad20,_0x1de361),_0x1de361;},Se=(_0x5285ae,_0x119aad)=>(_0x348acc,_0x15eb2c)=>_0x119aad(_0x348acc,_0x15eb2c,_0x5285ae);let ct=class extends _0x2bcc2a{constructor(_0x178e52,_0x58673e,_0x1940a3,_0x157946,_0x35fa6d,_0x4c4d9a,_0x19c3ea){var _0x58b6dc=_0x7744bf;super(),this['_injector']=_0x178e52,this[_0x58b6dc(0x403)]=_0x58673e,this['_permissionService']=_0x1940a3,this['_collaborationSessionService']=_0x157946,this[_0x58b6dc(0x2d8)]=_0x35fa6d,this['_authzIoService']=_0x4c4d9a,this['_undoRedoService']=_0x19c3ea,this[_0x58b6dc(0x356)](),this[_0x58b6dc(0x308)]();}[_0x7744bf(0x308)](){var _0x27d589=_0x7744bf;const _0x47ad2e=async _0x5672b2=>{var _0x12c4cc=_0x186f;(await this[_0x12c4cc(0x2ec)][_0x12c4cc(0x398)](_0x5672b2))[_0x12c4cc(0x363)][_0x12c4cc(0x1cf)](_0x43efb4(_0x4ba9e0=>_0x4ba9e0['eventID']===_0x51c9a6[_0x12c4cc(0x1d3)]),_0x95d7f9(this['dispose$']))[_0x12c4cc(0x447)](_0xe4cb2c=>{var _0x128a97=_0x12c4cc;const _0x3eaa6a=_0xe4cb2c,{reason:_0x43117a}=_0x3eaa6a[_0x128a97(0x432)];this[_0x128a97(0x2d8)][_0x128a97(0x32a)]({'id':se[_0x128a97(0x4a0)],'data':_0x43117a}),this['_permissionService'][_0x128a97(0x369)](new _0x5a0758(_0x5672b2)['id'],!0x1),this['_collaborationSessionService'][_0x128a97(0x247)](_0x5672b2);});};_0x2a7ebf(this['_univerInstanceService'][_0x27d589(0x23e)](_0x2a4642[_0x27d589(0x49a)]),this[_0x27d589(0x403)][_0x27d589(0x23e)](_0x2a4642[_0x27d589(0x457)]))[_0x27d589(0x1cf)](_0x30311a(_0x2d4e15=>_0x2d4e15['getUnitId']()),_0x43efb4(_0x1afc5c=>!_0x2f8e06(_0x1afc5c)),_0x95d7f9(this[_0x27d589(0x2da)]))['subscribe'](_0x1c6ed1=>{_0x47ad2e(_0x1c6ed1);});}['_initUnitPermissionChange'](){var _0x23a9eb=_0x7744bf;const _0x1c7801=async _0x510e2c=>{var _0x30806f=_0x186f;(await this[_0x30806f(0x2ec)][_0x30806f(0x398)](_0x510e2c))[_0x30806f(0x363)][_0x30806f(0x1cf)](_0x43efb4(_0x288ee9=>_0x288ee9[_0x30806f(0x1e1)]===_0x51c9a6[_0x30806f(0x2a1)]),_0x95d7f9(this[_0x30806f(0x2da)]))['subscribe'](_0x430e61=>{var _0x39bd76=_0x30806f;const _0x444196=_0x430e61,{objectId:_0x1bf664}=_0x444196[_0x39bd76(0x432)];_0x1bf664===_0x510e2c?this[_0x39bd76(0x24a)](_0x510e2c):this['refreshPermission'](_0x510e2c,_0x1bf664);});};_0x2a7ebf(this[_0x23a9eb(0x403)][_0x23a9eb(0x23e)](_0x2a4642['UNIVER_SHEET']),this[_0x23a9eb(0x403)][_0x23a9eb(0x23e)](_0x2a4642[_0x23a9eb(0x457)]))['pipe'](_0x30311a(_0x26e475=>_0x26e475[_0x23a9eb(0x48b)]()),_0x43efb4(_0x339315=>!_0x2f8e06(_0x339315)),_0x95d7f9(this[_0x23a9eb(0x2da)]))[_0x23a9eb(0x447)](_0x42dc9c=>{_0x1c7801(_0x42dc9c);});}async[_0x7744bf(0x24a)](_0x21a25a){var _0xf07759=_0x7744bf,_0x18c67c;const _0xc5f83e=_0x21a25a||((_0x18c67c=this[_0xf07759(0x403)][_0xf07759(0x252)](_0x2a4642[_0xf07759(0x49a)]))==null?void 0x0:_0x18c67c[_0xf07759(0x48b)]());_0xc5f83e&&this[_0xf07759(0x1d4)]['allowed']({'objectID':_0xc5f83e,'objectType':_0x9bd791['Workbook'],'unitID':_0xc5f83e,'actions':_0x592193})[_0xf07759(0x328)](_0xd26a6=>{var _0x4c92c8=_0xf07759;_0x37d376()[_0x4c92c8(0x365)](_0x49be39=>{var _0x2f61e2=_0x4c92c8;const _0x4c72af=new _0x49be39(_0xc5f83e),_0x813868=_0x4c72af['subType'],_0x2dce1f=_0xd26a6[_0x2f61e2(0x43d)](_0x47eda1=>_0x47eda1['action']===_0x813868);_0x2dce1f&&this['_permissionService'][_0x2f61e2(0x369)](_0x4c72af['id'],_0x2dce1f[_0x2f61e2(0x3c2)]);});});}[_0x7744bf(0x36e)](_0x23b9a2,_0x1cd1b6){var _0x48a7d4=_0x7744bf;const _0xace62a=this[_0x48a7d4(0x1d9)]['get'](_0x363773),_0x148afd=_0xace62a['getTargetByPermissionId'](_0x23b9a2,_0x1cd1b6);let _0xea5686=!0x1;if(_0x148afd){const [_0x512bbc,_0x88e53]=_0x148afd;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791['Worksheet'],'actions':_0x2ab551})[_0x48a7d4(0x328)](_0x29fa76=>{var _0x555941=_0x48a7d4;let _0x42d1ad='';_0x575e9e()[_0x555941(0x365)](_0x106f1b=>{var _0x1d2bd6=_0x555941,_0xd2ac5a;const _0x25176b=new _0x106f1b(_0x23b9a2,_0x88e53),_0x558d41=_0x25176b[_0x1d2bd6(0x490)],_0x21317f=_0x29fa76[_0x1d2bd6(0x43d)](_0x4e3234=>_0x4e3234[_0x1d2bd6(0x35e)]===_0x558d41);_0x21317f&&(((_0xd2ac5a=this['_permissionService'][_0x1d2bd6(0x1e6)](_0x25176b['id']))==null?void 0x0:_0xd2ac5a[_0x1d2bd6(0x3dd)])!==_0x21317f[_0x1d2bd6(0x3c2)]&&(_0xea5686=!0x0),this[_0x1d2bd6(0x279)][_0x1d2bd6(0x369)](_0x25176b['id'],_0x21317f[_0x1d2bd6(0x3c2)]),_0x42d1ad+=_0x21317f[_0x1d2bd6(0x35e)]+'_'+_0x21317f['allowed']);}),_0xace62a[_0x555941(0x3b7)](_0x1cd1b6+'_'+_0x42d1ad),_0xea5686&&this[_0x555941(0x3eb)][_0x555941(0x443)](_0x23b9a2);});}const _0x5d9ef7=this[_0x48a7d4(0x1d9)]['get'](_0x409b8a)[_0x48a7d4(0x3e2)](_0x23b9a2,_0x1cd1b6);if(_0x5d9ef7){const [_0x51403f,_0x2792a0]=_0x5d9ef7;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791['Worksheet'],'actions':_0x215618})[_0x48a7d4(0x328)](_0x178160=>{var _0x583982=_0x48a7d4;_0x45b1a2()['forEach'](_0x154e9d=>{var _0x38c024=_0x186f,_0x43f5f1;const _0x37ec2e=new _0x154e9d(_0x23b9a2,_0x2792a0),_0xe74f6e=_0x37ec2e[_0x38c024(0x490)],_0x5b1a61=_0x178160[_0x38c024(0x43d)](_0xf77475=>_0xf77475[_0x38c024(0x35e)]===_0xe74f6e);_0x5b1a61&&(((_0x43f5f1=this['_permissionService'][_0x38c024(0x1e6)](_0x37ec2e['id']))==null?void 0x0:_0x43f5f1[_0x38c024(0x3dd)])!==_0x5b1a61[_0x38c024(0x3c2)]&&(_0xea5686=!0x0),this['_permissionService'][_0x38c024(0x369)](_0x37ec2e['id'],_0x5b1a61['allowed']));}),_0xea5686&&this['_undoRedoService'][_0x583982(0x443)](_0x23b9a2);});}const _0x3bad0f=this[_0x48a7d4(0x1d9)][_0x48a7d4(0x422)](_0x453f5e),_0x197438=_0x3bad0f[_0x48a7d4(0x3e2)](_0x23b9a2,_0x1cd1b6);if(_0x197438){const [_0x38ef4c,_0x25e7e6]=_0x197438;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791[_0x48a7d4(0x312)],'actions':_0x2ab551})[_0x48a7d4(0x328)](_0x1932d4=>{var _0x545c68=_0x48a7d4;let _0x17e31d='';_0x47ec90()[_0x545c68(0x365)](_0x5484c8=>{var _0x3c02e5=_0x545c68,_0x4bc2fc;const _0x21d631=new _0x5484c8(_0x23b9a2,_0x25e7e6,_0x1cd1b6),_0x1b047b=_0x21d631['subType'],_0x6115b5=_0x1932d4[_0x3c02e5(0x43d)](_0x5d809a=>_0x5d809a[_0x3c02e5(0x35e)]===_0x1b047b);_0x6115b5&&(((_0x4bc2fc=this[_0x3c02e5(0x279)]['getPermissionPoint'](_0x21d631['id']))==null?void 0x0:_0x4bc2fc[_0x3c02e5(0x3dd)])!==_0x6115b5[_0x3c02e5(0x3c2)]&&(_0xea5686=!0x0),this[_0x3c02e5(0x279)][_0x3c02e5(0x369)](_0x21d631['id'],_0x6115b5['allowed']),_0x17e31d+=_0x6115b5[_0x3c02e5(0x35e)]+'_'+_0x6115b5['allowed']);}),_0x3bad0f[_0x545c68(0x3b7)](_0x1cd1b6+'_'+_0x17e31d),_0xea5686&&this[_0x545c68(0x3eb)][_0x545c68(0x443)](_0x23b9a2);});}}};ct=jr([Se(0x0,_0x46f2f9(_0x6d28a0)),Se(0x1,_0x464ce2),Se(0x2,_0x13c615),Se(0x3,_0x46f2f9(Me)),Se(0x4,_0x46f2f9(pe)),Se(0x5,_0x1ee191),Se(0x6,_0x9d8c79)],ct);var Br=Object[_0x7744bf(0x467)],Fr=Object[_0x7744bf(0x1c0)],Vr=(_0x3fc408,_0x3c4606,_0x3dd2b5,_0x1f7761)=>{var _0x1a1e11=_0x7744bf;for(var _0x2bf547=_0x1f7761>0x1?void 0x0:_0x1f7761?Fr(_0x3c4606,_0x3dd2b5):_0x3c4606,_0x49b54c=_0x3fc408[_0x1a1e11(0x1db)]-0x1,_0x4aa79b;_0x49b54c>=0x0;_0x49b54c--)(_0x4aa79b=_0x3fc408[_0x49b54c])&&(_0x2bf547=(_0x1f7761?_0x4aa79b(_0x3c4606,_0x3dd2b5,_0x2bf547):_0x4aa79b(_0x2bf547))||_0x2bf547);return _0x1f7761&&_0x2bf547&&Br(_0x3c4606,_0x3dd2b5,_0x2bf547),_0x2bf547;},ui=(_0x301be2,_0x106659)=>(_0x31ae9b,_0x173e88)=>_0x106659(_0x31ae9b,_0x173e88,_0x301be2);let Dt=class{constructor(_0x1c6b26,_0x418888){var _0x54d988=_0x7744bf;this[_0x54d988(0x1f1)]=_0x1c6b26,this[_0x54d988(0x4a2)]=_0x418888;}async[_0x7744bf(0x45b)](_0x3f295f,_0x4afd2b){var _0x5b504c=_0x7744bf,_0xb5f94b;const {unitID:_0x1317c7,type:_0x50b179,revision:_0x4e8948=0x0}=_0x4afd2b,_0xe0ee28=this['getSnapshotAPIPath']()+'/'+_0x50b179+_0x5b504c(0x210)+_0x1317c7+_0x5b504c(0x480)+_0x4e8948,_0x1cfe01=(await this['_httpService'][_0x5b504c(0x422)](_0xe0ee28))[_0x5b504c(0x22f)],_0x3c20ab=(_0xb5f94b=_0x1cfe01[_0x5b504c(0x417)])==null?void 0x0:_0xb5f94b[_0x5b504c(0x2cd)];if(_0x3c20ab){const _0x3bd90c=_0x3c20ab==null?void 0x0:_0x3c20ab[_0x5b504c(0x216)],_0x293baa=_0x76656b[_0x5b504c(0x302)](_0x2f6335(_0x3bd90c));_0x3c20ab['originalMeta']=_0x293baa,Object[_0x5b504c(0x486)](_0x3c20ab[_0x5b504c(0x27e)])['forEach'](([,_0x32a680])=>{var _0x3d8164=_0x5b504c;const _0x474116=_0x32a680['originalMeta'],_0x4a3d38=_0x76656b[_0x3d8164(0x302)](_0x2f6335(_0x474116));_0x32a680[_0x3d8164(0x216)]=_0x4a3d38;});}return _0x1cfe01;}async[_0x7744bf(0x1f8)](_0x207602,_0x1beae0){var _0x54f484=_0x7744bf;const {unitID:_0x28eaf8,type:_0x115dc3,blockID:_0x3d7c2b}=_0x1beae0,_0x3a7930=this[_0x54f484(0x3c5)]()+'/'+_0x115dc3+_0x54f484(0x210)+_0x28eaf8+_0x54f484(0x460)+_0x3d7c2b;return(await this[_0x54f484(0x4a2)][_0x54f484(0x422)](_0x3a7930))[_0x54f484(0x22f)];}async[_0x7744bf(0x36a)](_0x48dae8,_0x267df4){var _0x405ccd=_0x7744bf;const {unitID:_0x352fbe,type:_0x211877,blockID:_0x24da8b}=_0x267df4,_0x48efe2=this['_getAPIPrefix']()+_0x405ccd(0x460)+_0x211877+_0x405ccd(0x210)+_0x352fbe+_0x405ccd(0x460)+_0x24da8b;return(await this[_0x405ccd(0x4a2)][_0x405ccd(0x422)](_0x48efe2))[_0x405ccd(0x22f)];}async[_0x7744bf(0x3ad)](_0x2203ca,_0xd10b00){var _0x3a7f94=_0x7744bf;const {unitID:_0x11374f,type:_0x179a7c,from:_0xba5d6f,to:_0x145eca}=_0xd10b00,_0xebdb56=this[_0x3a7f94(0x3c5)]()+'/'+_0x179a7c+_0x3a7f94(0x210)+_0x11374f+_0x3a7f94(0x386)+_0xba5d6f+_0x3a7f94(0x329)+_0x145eca;return(await this['_httpService']['get'](_0xebdb56))[_0x3a7f94(0x22f)];}[_0x7744bf(0x283)](){var _0x41e04f=_0x7744bf,_0x3b1305;return(_0x3b1305=this[_0x41e04f(0x1f1)][_0x41e04f(0x3e9)](Dn))!=null?_0x3b1305:this[_0x41e04f(0x3c5)]();}[_0x7744bf(0x3c5)](){var _0x44d835=_0x7744bf,_0x53e2bc,_0x1a3706;const _0x2e7e88=this[_0x44d835(0x1f1)][_0x44d835(0x3e9)](Pn),_0x555473=this[_0x44d835(0x1f1)][_0x44d835(0x3e9)](Y);return(_0x1a3706=(_0x53e2bc=_0x555473==null?void 0x0:_0x555473['snapshotServerUrl'])!=null?_0x53e2bc:_0x2e7e88)!=null?_0x1a3706:Nn;}async[_0x7744bf(0x307)](_0x112b27,_0x1540e8){var _0x26ba2b=_0x7744bf;const _0x566331=_0x26ba2b(0x2d4)+_0x1540e8[_0x26ba2b(0x2bd)]+_0x26ba2b(0x210)+_0x1540e8[_0x26ba2b(0x277)]+_0x26ba2b(0x225);return(await this['_httpService']['get'](_0x566331,{'params':{'resourceId':JSON[_0x26ba2b(0x48c)](_0x1540e8[_0x26ba2b(0x209)])}}))[_0x26ba2b(0x22f)];}[_0x7744bf(0x49e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7744bf(0x433)](){var _0x1a24ba=_0x7744bf;throw new Error(_0x1a24ba(0x31b));}[_0x7744bf(0x491)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7744bf(0x1df)](){var _0x46331f=_0x7744bf;throw new Error(_0x46331f(0x31b));}};Dt=Vr([ui(0x0,_0x387952),ui(0x1,_0x46f2f9(_0x381081))],Dt);var Wr=Object[_0x7744bf(0x467)],Gr=Object[_0x7744bf(0x1c0)],Kr=(_0x50016e,_0x3a45d4,_0x23c57a,_0x262cbd)=>{for(var _0x8f5942=_0x262cbd>0x1?void 0x0:_0x262cbd?Gr(_0x3a45d4,_0x23c57a):_0x3a45d4,_0xa6fea2=_0x50016e['length']-0x1,_0x49c6d5;_0xa6fea2>=0x0;_0xa6fea2--)(_0x49c6d5=_0x50016e[_0xa6fea2])&&(_0x8f5942=(_0x262cbd?_0x49c6d5(_0x3a45d4,_0x23c57a,_0x8f5942):_0x49c6d5(_0x8f5942))||_0x8f5942);return _0x262cbd&&_0x8f5942&&Wr(_0x3a45d4,_0x23c57a,_0x8f5942),_0x8f5942;},Ue=(_0x11c8df,_0xb67794)=>(_0x12718c,_0x5ef016)=>_0xb67794(_0x12718c,_0x5ef016,_0x11c8df);let wt=class extends _0xf0a0f5{constructor(_0x59e67a,_0x2ebf8a,_0x250360,_0x35e79f,_0x52e6ce){var _0x15aebf=_0x7744bf;super(_0x59e67a,_0x2ebf8a,_0x250360),this[_0x15aebf(0x341)]=_0x35e79f,this[_0x15aebf(0x21a)]=_0x52e6ce;}[_0x7744bf(0x1ff)](_0x271324,_0x4f452d){var _0x353af5=_0x7744bf;const _0x1ad2f2=this[_0x353af5(0x2f1)](_0x271324);if(_0x1ad2f2)try{const _0x293c22=this[_0x353af5(0x1f5)](_0x1ad2f2,_0x4f452d);this[_0x353af5(0x2f9)](_0x271324,_0x293c22);}catch(_0x583108){this[_0x353af5(0x21a)][_0x353af5(0x44a)](_0x353af5(0x34e),_0x583108),this[_0x353af5(0x25a)](_0x271324);}const _0x5e76cf=this[_0x353af5(0x1dc)](_0x271324);if(_0x5e76cf)try{const _0x4298f7=this[_0x353af5(0x1f5)](_0x5e76cf,_0x4f452d);this['_substituteRedoStack'](_0x271324,_0x4298f7);}catch(_0x291af0){this[_0x353af5(0x21a)][_0x353af5(0x44a)](_0x291af0),this[_0x353af5(0x31e)](_0x271324);}}[_0x7744bf(0x25a)](_0x4a89fe){const _0x4dc304=this['_getUndoStack'](_0x4a89fe);_0x4dc304&&(_0x4dc304['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x246b60){var _0x2f7f2e=_0x7744bf;const _0x5ba923=this[_0x2f7f2e(0x1dc)](_0x246b60);_0x5ba923&&(_0x5ba923[_0x2f7f2e(0x1db)]=0x0,this[_0x2f7f2e(0x1c1)]());}['_substituteUndoStack'](_0x4661c5,_0x5db4a2){var _0xfcd937=_0x7744bf;this[_0xfcd937(0x38b)][_0xfcd937(0x425)](_0x4661c5,_0x5db4a2),this[_0xfcd937(0x1c1)]();}[_0x7744bf(0x26f)](_0x3a3b96,_0x58373d){var _0x14bc7a=_0x7744bf;this[_0x14bc7a(0x1f9)][_0x14bc7a(0x425)](_0x3a3b96,_0x58373d),this[_0x14bc7a(0x1c1)]();}[_0x7744bf(0x1f5)](_0x5353a5,_0x3dbd89){var _0x45da53=_0x7744bf;const _0x320483=[];let _0x520152=_0x3dbd89,_0x58dc53=_0x3dbd89;for(let _0x2c89cd=_0x5353a5['length']-0x1;_0x2c89cd>=0x0;_0x2c89cd--){const {unitID:_0x154ed1,undoMutations:_0x53083a,redoMutations:_0x4b602f}=_0x5353a5[_0x2c89cd],_0x2e770e=this[_0x45da53(0x341)][_0x45da53(0x259)](_0x520152,_0x53083a),_0x4129ca=this['_transformService'][_0x45da53(0x259)](_0x58dc53,_0x4b602f);if(_0x39d485(_0x2e770e)||_0x39d485(_0x4129ca)){this[_0x45da53(0x21a)][_0x45da53(0x44a)](_0x45da53(0x34e),_0x45da53(0x488),_0x2e770e,_0x4129ca);break;}_0x520152=_0x2e770e[_0x45da53(0x313)],_0x58dc53=_0x4129ca[_0x45da53(0x313)],_0x320483[_0x45da53(0x222)]({'unitID':_0x154ed1,'undoMutations':_0x2e770e[_0x45da53(0x40c)],'redoMutations':_0x4129ca[_0x45da53(0x40c)]});}return _0x320483['reverse']();}};wt=Kr([Ue(0x0,_0x464ce2),Ue(0x1,_0x516aa5),Ue(0x2,_0x23fef3),Ue(0x3,_0x58398b),Ue(0x4,_0x36e00a)],wt);var xi=Object['defineProperty'],zr=Object[_0x7744bf(0x1c0)],Yr=(_0x3cf2e2,_0x5c4511,_0x16ddcd)=>_0x5c4511 in _0x3cf2e2?xi(_0x3cf2e2,_0x5c4511,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16ddcd}):_0x3cf2e2[_0x5c4511]=_0x16ddcd,qr=(_0x24da42,_0x5785b5,_0x57adbc,_0x5839a5)=>{var _0x3af1ad=_0x7744bf;for(var _0x3c2e75=_0x5839a5>0x1?void 0x0:_0x5839a5?zr(_0x5785b5,_0x57adbc):_0x5785b5,_0x39ff48=_0x24da42[_0x3af1ad(0x1db)]-0x1,_0x42f5fb;_0x39ff48>=0x0;_0x39ff48--)(_0x42f5fb=_0x24da42[_0x39ff48])&&(_0x3c2e75=(_0x5839a5?_0x42f5fb(_0x5785b5,_0x57adbc,_0x3c2e75):_0x42f5fb(_0x3c2e75))||_0x3c2e75);return _0x5839a5&&_0x3c2e75&&xi(_0x5785b5,_0x57adbc,_0x3c2e75),_0x3c2e75;},Et=(_0x4cf961,_0x4545aa)=>(_0x45c8fb,_0x5cfd5c)=>_0x4545aa(_0x45c8fb,_0x5cfd5c,_0x4cf961),Jr=(_0x444128,_0x1cd68a,_0x2b9f67)=>Yr(_0x444128,_0x1cd68a+'',_0x2b9f67);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x52b996{constructor(_0x4cbb57=Wn,_0x487d49,_0x3bb854,_0x2ed73f){var _0xbb72e8=_0x7744bf;super(),this[_0xbb72e8(0x49b)]=_0x4cbb57,this[_0xbb72e8(0x21a)]=_0x487d49,this[_0xbb72e8(0x1d9)]=_0x3bb854,this[_0xbb72e8(0x1f1)]=_0x2ed73f;const {..._0x5d267d}=this[_0xbb72e8(0x49b)];this[_0xbb72e8(0x1f1)][_0xbb72e8(0x3c8)](Y,_0x5d267d);}[_0x7744bf(0x3e5)](){var _0x19a927=_0x7744bf;this[_0x19a927(0x23d)](),this['_initDependencies']();}[_0x7744bf(0x23d)](){var _0x4fb8b2=_0x7744bf,_0x59537f,_0x2df36b,_0xa99d35,_0xc0b375;this[_0x4fb8b2(0x1d9)][_0x4fb8b2(0x4b6)](_0x9d8c79)&&this[_0x4fb8b2(0x21a)][_0x4fb8b2(0x44a)](_0x4fb8b2(0x41e),_0x4fb8b2(0x3d8));const _0x305d15=_0x1d2c77([[_0x9d8c79,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x2df36b=(_0x59537f=this['_config'])==null?void 0x0:_0x59537f[_0x4fb8b2(0x30d)])!=null?_0x2df36b:It}],[_0x1f721a,{'useClass':Dt}],[_0x1ee191,{'useClass':yt}],[_0x3ee0a8,{'useClass':Pt}],[_0x58ab21,{'useClass':Nt}],[rt],[Rt]],(_0xa99d35=this['_config'])==null?void 0x0:_0xa99d35['override']);if(!((_0xc0b375=this['_config'])!=null&&_0xc0b375[_0x4fb8b2(0x42c)])){const _0x5ee0da=_0x305d15[_0x4fb8b2(0x1e5)](([_0x4331cc])=>_0x4331cc===_t);_0x5ee0da!==-0x1&&_0x305d15[_0x4fb8b2(0x1de)](_0x5ee0da,0x1);}_0x2ea877(this[_0x4fb8b2(0x1d9)],_0x305d15);}['_initDependencies'](){var _0x180a83=_0x7744bf,_0x47d3da,_0x39b017,_0x5519ac;this[_0x180a83(0x1d9)][_0x180a83(0x422)](_0x381081)[_0x180a83(0x2f6)]({'priority':0x14,'interceptor':_0x3356b4({'maxParallel':0x6})}),(_0x47d3da=this[_0x180a83(0x49b)])!=null&&_0x47d3da['enableOfflineEditing']||(_0x39b017=this[_0x180a83(0x1d9)][_0x180a83(0x422)](X,_0x979c86[_0x180a83(0x367)]))==null||_0x39b017[_0x180a83(0x42b)](),(_0x5519ac=this[_0x180a83(0x49b)])!=null&&_0x5519ac[_0x180a83(0x2ee)]&&_0xf35e8a(this[_0x180a83(0x1d9)],[[ot]]),_0xf35e8a(this[_0x180a83(0x1d9)],[[at],[rt],[ct]]);}};Jr(Ut,_0x7744bf(0x4a1),Xr),Ut=qr([_0x5cb19f(_0xf79136,_0x1c5226,_0xfa3287),Et(0x1,_0x36e00a),Et(0x2,_0x46f2f9(_0x6d28a0)),Et(0x3,_0x387952)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};