@univerjs-pro/collaboration-client 0.5.1-nightly.202412081606 → 0.5.1-nightly.202412090546
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
- package/lib/types/facade/f-collaboration.d.ts +13 -0
- package/lib/types/facade/f-univer.d.ts +12 -0
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -2
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +6 -7
- package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +4 -4
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -8
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xb8d684=_0x47e4;(function(_0x5bfe98,_0x3c91b4){var _0x225cd4=_0x47e4,_0x3e5fb8=_0x5bfe98();while(!![]){try{var _0x3e58f7=-parseInt(_0x225cd4(0x1d8))/0x1*(parseInt(_0x225cd4(0x221))/0x2)+-parseInt(_0x225cd4(0x251))/0x3*(-parseInt(_0x225cd4(0x29b))/0x4)+-parseInt(_0x225cd4(0x2ba))/0x5*(-parseInt(_0x225cd4(0x42e))/0x6)+parseInt(_0x225cd4(0x420))/0x7+parseInt(_0x225cd4(0x14b))/0x8+-parseInt(_0x225cd4(0x331))/0x9+-parseInt(_0x225cd4(0x2a0))/0xa*(parseInt(_0x225cd4(0x3ed))/0xb);if(_0x3e58f7===_0x3c91b4)break;else _0x3e5fb8['push'](_0x3e5fb8['shift']());}catch(_0x3e5a8e){_0x3e5fb8['push'](_0x3e5fb8['shift']());}}}(_0x5285,0x782c3));var Mi=Object[_0xb8d684(0x37d)],$i=(_0x5c14e9,_0x3a4dda,_0x4dfea2)=>_0x3a4dda in _0x5c14e9?Mi(_0x5c14e9,_0x3a4dda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dfea2}):_0x5c14e9[_0x3a4dda]=_0x4dfea2,N=(_0x2e58f5,_0x18f573,_0x2184b5)=>$i(_0x2e58f5,typeof _0x18f573!=_0xb8d684(0x2b4)?_0x18f573+'':_0x18f573,_0x2184b5);import{createIdentifier as _0x3664fb,Inject as _0x326892,Disposable as _0x1b0b12,DisposableCollection as _0x49c336,toDisposable as _0x1e396b,IConfigService as _0x3a81dd,ILogService as _0x3ed4aa,UserManagerService as _0x1ad3a0,UniverInstanceType as _0x5a95a6,IUniverInstanceService as _0x548c55,LocaleService as _0x43ac4b,Optional as _0x14dc81,RxDisposable as _0x292a49,Injector as _0x5b782f,Tools as _0x397958,Rectangle as _0x1dd9ea,ICommandService as _0x773321,JSONX as _0x793e71,CommandType as _0x10da48,IPermissionService as _0x2a759d,IUndoRedoService as _0xd54f7f,sequenceExecute as _0x33e15e,Workbook as _0x4fd563,MentionType as _0x54a93d,IAuthzIoService as _0x4b5b66,isInternalEditorID as _0x504dbc,LocalUndoRedoService as _0x4ce789,IContextService as _0x274455,DependentOn as _0x279515,Plugin as _0x164581,mergeOverrideWithDependencies as _0x49ead8,IMentionIOService as _0x4d1ba6,registerDependencies as _0x291688,touchDependencies as _0x207531}from'@univerjs/core';import{Subject as _0x491e8b,merge as _0x431760,takeUntil as _0x18038f,BehaviorSubject as _0x24c602,ReplaySubject as _0x1902b3,take as _0x48a2a7,map as _0x4f712c,shareReplay as _0x13a1fc,of as _0x2172de,concatMap as _0x4c56fb}from'rxjs';import{map as _0x105f41,take as _0x34fbf4,filter as _0x13065a,delay as _0x22a1b0,takeUntil as _0x2c9b8e}from'rxjs/operators';import{HTTPService as _0x5bf8ac,WebSocketService as _0x415b8b,MergeInterceptorFactory as _0x32409f,HTTPRequest as _0x50a549,UniverNetworkPlugin as _0x2d3028,ThresholdInterceptorFactory as _0x5a4b71}from'@univerjs/network';import{CollaborationEvent as _0x9d397c,parseChangesetToProtocol as _0x466c92,ISnapshotServerService as _0x42c0d3,isTransformMutationsWithChangesetSuccess as _0x4827c8,ITransformService as _0x33c803,mapDocumentTypeToUniverType as _0x5039ad,RevisionService as _0x58f57a,isTransformChangesetsSuccess as _0x39a996,CompressMutationService as _0x41a518,parseProtocolChangeset as _0x394c22,SnapshotService as _0xcb3745,textEncoder as _0x5268a7,b64DecodeUnicode as _0xbb75c,isTransformMutationsWithChangesetFailure as _0x2268ec,UniverCollaborationPlugin as _0x2a0384}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x167a40}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a4305}from'@univerjs/docs';import{SheetsSelectionsService as _0x469ee6,SetSelectionsOperation as _0x1807fd,InsertSheetMutation as _0x271d71,EmptyMutation as _0x46339f,WorkbookEditablePermission as _0x561a4b,UnitObject as _0x130fe3,defaultWorkbookPermissionPoints as _0x5391f6,getAllWorkbookPermissionPoint as _0x55dd13,WorksheetProtectionRuleModel as _0x2bf2ee,baseProtectionActions as _0x3ab793,getAllWorksheetPermissionPoint as _0x14603d,WorksheetProtectionPointModel as _0x422c80,defaultWorksheetPermissionPoint as _0x53854f,getAllWorksheetPermissionPointByPointPanel as _0x8b5ee1,RangeProtectionRuleModel as _0x5b8a81,getAllRangePermissionPoint as _0x54474f,UniverSheetsPlugin as _0x172839}from'@univerjs/sheets';import{ImageSourceType as _0x2cb1eb,ImageUploadStatusType as _0x30068b,IImageIoService as _0x18a6df}from'@univerjs/drawing';const Rn=_0xb8d684(0x1b1),yn='/universer-api/snapshot',On=_0xb8d684(0x22b),so='SEND_CHANGESET_TIMEOUT',Pn=0x7d0,Dn='COLLAB_WEB_SOCKET_URL',Nn=_0xb8d684(0x270),wn='/universer-api/user/session-ticket',Un=_0xb8d684(0x363),An=0x7530,Ei=_0xb8d684(0x3fb),Ii=0x4e20,xn=0x4e20,Ln=_0xb8d684(0x231),Mn=0x3,ro=_0xb8d684(0x3f4),oo=0x3e8,$n=_0xb8d684(0x1ef),Hn=_0xb8d684(0x371),kn=_0xb8d684(0x31f),jn='/universer-api/oidc/authpage';var Ti=(_0x29ff22=>(_0x29ff22[_0x29ff22[_0xb8d684(0x3a8)]=0x0]='UNDEFINED',_0x29ff22[_0x29ff22['OK']=0x1]='OK',_0x29ff22[_0x29ff22['INTERNAL_ERROR']=0x2]=_0xb8d684(0x3b4),_0x29ff22[_0x29ff22[_0xb8d684(0x253)]=0x3]=_0xb8d684(0x253),_0x29ff22[_0x29ff22[_0xb8d684(0x16f)]=0x4]=_0xb8d684(0x16f),_0x29ff22[_0x29ff22[_0xb8d684(0x2c7)]=0x5]='UNAUTHENTICATED',_0x29ff22[_0x29ff22['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x29ff22[_0x29ff22[_0xb8d684(0x2b8)]=0x7]=_0xb8d684(0x2b8),_0x29ff22[_0x29ff22[_0xb8d684(0x439)]=0x8]=_0xb8d684(0x439),_0x29ff22[_0x29ff22[_0xb8d684(0x1db)]=0x9]='COMPLETION_FINISHED',_0x29ff22[_0x29ff22[_0xb8d684(0x146)]=0x1389]=_0xb8d684(0x146),_0x29ff22[_0x29ff22[_0xb8d684(0x310)]=0x1771]=_0xb8d684(0x310),_0x29ff22[_0x29ff22[_0xb8d684(0x2da)]=0x1772]=_0xb8d684(0x2da),_0x29ff22[_0x29ff22[_0xb8d684(0x1ee)]=0x1773]=_0xb8d684(0x1ee),_0x29ff22[_0x29ff22['APPLY_REJECT']=0x1b59]=_0xb8d684(0x223),_0x29ff22[_0x29ff22[_0xb8d684(0x2c3)]=0x1b5a]=_0xb8d684(0x2c3),_0x29ff22[_0x29ff22[_0xb8d684(0x1dd)]=0x1b5b]=_0xb8d684(0x1dd),_0x29ff22[_0x29ff22['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xb8d684(0x2b0),_0x29ff22[_0x29ff22[_0xb8d684(0x2a4)]=0x1b5d]=_0xb8d684(0x2a4),_0x29ff22[_0x29ff22[_0xb8d684(0x1e4)]=0x1f41]=_0xb8d684(0x1e4),_0x29ff22[_0x29ff22[_0xb8d684(0x14a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x29ff22[_0x29ff22[_0xb8d684(0x197)]=0x232a]=_0xb8d684(0x197),_0x29ff22[_0x29ff22[_0xb8d684(0x341)]=0x232b]=_0xb8d684(0x341),_0x29ff22[_0x29ff22[_0xb8d684(0x214)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x29ff22[_0x29ff22['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb8d684(0x2ca),_0x29ff22[_0x29ff22['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xb8d684(0x147),_0x29ff22[_0x29ff22[_0xb8d684(0x13d)]=0x2712]=_0xb8d684(0x13d),_0x29ff22[_0x29ff22[_0xb8d684(0x2ff)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x29ff22[_0x29ff22['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x29ff22[_0x29ff22[_0xb8d684(0x34f)]=-0x1]=_0xb8d684(0x34f),_0x29ff22))(Ti||{}),Q=(_0x2cfda4=>(_0x2cfda4[_0x2cfda4[_0xb8d684(0x372)]=0x0]=_0xb8d684(0x372),_0x2cfda4[_0x2cfda4[_0xb8d684(0x346)]=0x1]=_0xb8d684(0x346),_0x2cfda4[_0x2cfda4[_0xb8d684(0x238)]=0x2]=_0xb8d684(0x238),_0x2cfda4[_0x2cfda4[_0xb8d684(0x340)]=0x3]='UNIVER_SLIDE',_0x2cfda4[_0x2cfda4[_0xb8d684(0x2bf)]=0x4]=_0xb8d684(0x2bf),_0x2cfda4[_0x2cfda4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2cfda4))(Q||{}),F=(_0x34a763=>(_0x34a763[_0x34a763[_0xb8d684(0x203)]=0x0]='UNKNOWN_CMD',_0x34a763[_0x34a763[_0xb8d684(0x256)]=0x1]=_0xb8d684(0x256),_0x34a763[_0x34a763[_0xb8d684(0x1d1)]=0x2]='JOIN',_0x34a763[_0x34a763[_0xb8d684(0x351)]=0x3]=_0xb8d684(0x351),_0x34a763[_0x34a763[_0xb8d684(0x1b2)]=0x4]='INGEST',_0x34a763[_0x34a763['HEARTBEAT']=0x5]=_0xb8d684(0x252),_0x34a763[_0x34a763[_0xb8d684(0x37e)]=0x6]=_0xb8d684(0x37e),_0x34a763[_0x34a763[_0xb8d684(0x34f)]=-0x1]=_0xb8d684(0x34f),_0x34a763))(F||{}),Ee=(_0x558a42=>(_0x558a42[_0x558a42[_0xb8d684(0x32e)]=0x0]=_0xb8d684(0x32e),_0x558a42[_0x558a42['OK']=0x1]='OK',_0x558a42[_0x558a42[_0xb8d684(0x379)]=0x2]='FAIL',_0x558a42[_0x558a42[_0xb8d684(0x2a7)]=0x3e9]=_0xb8d684(0x2a7),_0x558a42[_0x558a42[_0xb8d684(0x388)]=0x3ea]=_0xb8d684(0x388),_0x558a42[_0x558a42['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0xb8d684(0x246),_0x558a42[_0x558a42[_0xb8d684(0x281)]=0x3ec]=_0xb8d684(0x281),_0x558a42[_0x558a42['UNRECOGNIZED']=-0x1]=_0xb8d684(0x34f),_0x558a42))(Ee||{}),Ci=(_0x4a2136=>(_0x4a2136[_0x4a2136[_0xb8d684(0x166)]=0x0]=_0xb8d684(0x166),_0x4a2136[_0x4a2136['HttpImport']=0x1]='HttpImport',_0x4a2136[_0x4a2136[_0xb8d684(0x421)]=0x2]=_0xb8d684(0x421),_0x4a2136[_0x4a2136[_0xb8d684(0x3a1)]=0x3]=_0xb8d684(0x3a1),_0x4a2136[_0x4a2136['UnitSnapshot']=0x4]=_0xb8d684(0x40a),_0x4a2136[_0x4a2136[_0xb8d684(0x34f)]=-0x1]=_0xb8d684(0x34f),_0x4a2136))(Ci||{});const Y='collaboration-client.config',Bn={};function Fn(_0x389ae2){var _0x40f5e5=_0xb8d684,_0x10d293,_0x349d4b,_0x47f96d,_0x13186b,_0x316ac4;const _0x4fbfc9=_0x389ae2[_0x40f5e5(0x3af)],_0x1f98bc=JSON[_0x40f5e5(0x399)](_0x4fbfc9);switch(_0x1f98bc['cmd']){case F['HEARTBEAT']:case F[_0x40f5e5(0x256)]:{const _0x32dfd7=_0x1f98bc['infoRsp'];return{..._0x1f98bc,'data':_0x32dfd7,'cmd':_0x1f98bc[_0x40f5e5(0x200)]};}case F['JOIN']:{const _0x1094bc=_0x1f98bc['joinRsp'];return{..._0x1f98bc,'data':_0x1094bc,'cmd':_0x1f98bc[_0x40f5e5(0x200)]};}case F[_0x40f5e5(0x37e)]:{const _0xb8b0aa=_0x1f98bc[_0x40f5e5(0x424)];switch(_0xb8b0aa['eventID']){case _0x9d397c['PERMISSION_REJ']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':(_0x10d293=_0xb8b0aa['permissionRejEvent'])==null?void 0x0:_0x10d293['cs']},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c['CHANGESET_ACK']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':(_0x349d4b=_0xb8b0aa[_0x40f5e5(0x26c)])==null?void 0x0:_0x349d4b['cs']},'cmd':_0x1f98bc['cmd']};case _0x9d397c['NEW_CHANGESETS']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':(_0x47f96d=_0xb8b0aa['newCsEvent'])==null?void 0x0:_0x47f96d['cs']},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c['CHANGESET_REJ']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':(_0x13186b=_0xb8b0aa[_0x40f5e5(0x16d)])==null?void 0x0:_0x13186b['cs']},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x225)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':(_0x316ac4=_0xb8b0aa[_0x40f5e5(0x13f)])==null?void 0x0:_0x316ac4['cs']},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x23a)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x334)]},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c['USERS_ENTER']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x3f0)]},'cmd':_0x1f98bc['cmd']};case _0x9d397c[_0x40f5e5(0x1fe)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa['leaveEvent']},'cmd':_0x1f98bc['cmd']};case _0x9d397c[_0x40f5e5(0x3b0)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x2d2)]},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x30f)]:case _0x9d397c[_0x40f5e5(0x3f7)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x177)]},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c['LIVESHARE_TERMINATE']:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x2d2)]},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x1d3)]:return{..._0x1f98bc,'data':_0xb8b0aa,'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x172)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x3ab)]},'cmd':_0x1f98bc['cmd']};case _0x9d397c[_0x40f5e5(0x14f)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x149)]},'cmd':_0x1f98bc[_0x40f5e5(0x200)]};case _0x9d397c[_0x40f5e5(0x2ac)]:return{..._0x1f98bc,'data':{..._0xb8b0aa,'data':_0xb8b0aa[_0x40f5e5(0x1ab)]},'cmd':_0x1f98bc['cmd']};default:return _0x1f98bc;}}default:return _0x1f98bc;}}function Vn(_0x1f7e97){var _0x2916cf=_0xb8d684;switch(_0x1f7e97['cmd']){case F[_0x2916cf(0x252)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x1f7e97[_0x2916cf(0x200)],'routeKey':_0x1f7e97['routeKey']});case F[_0x2916cf(0x1b2)]:{let _0x30e8c2;switch(_0x1f7e97[_0x2916cf(0x3af)][_0x2916cf(0x273)]){case _0x9d397c[_0x2916cf(0x23a)]:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x23a)],'updateCursorEvent':_0x1f7e97[_0x2916cf(0x3af)][_0x2916cf(0x3af)]};break;}case _0x9d397c['USERS_LEAVE']:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x1fe)],'leaveEvent':_0x1f7e97[_0x2916cf(0x3af)]['data']};break;}case _0x9d397c[_0x2916cf(0x2e1)]:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x2e1)],'joinEvent':_0x1f7e97[_0x2916cf(0x3af)][_0x2916cf(0x3af)]};break;}case _0x9d397c[_0x2916cf(0x3b0)]:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x3b0)],'liveShareNewHost':_0x1f7e97['data'][_0x2916cf(0x3af)]};break;}case _0x9d397c[_0x2916cf(0x3f7)]:{_0x30e8c2={'eventID':_0x9d397c['LIVESHARE_OPERATION'],'liveShareOperation':_0x1f7e97[_0x2916cf(0x3af)]['data']};break;}case _0x9d397c[_0x2916cf(0x258)]:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x258)],'liveShareTerminate':_0x1f7e97['data']['data']};break;}case _0x9d397c[_0x2916cf(0x38e)]:{_0x30e8c2={'eventID':_0x9d397c['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f7e97[_0x2916cf(0x3af)]['data']};break;}case _0x9d397c[_0x2916cf(0x30f)]:{_0x30e8c2={'eventID':_0x9d397c[_0x2916cf(0x30f)]};break;}default:_0x30e8c2={'eventID':_0x1f7e97[_0x2916cf(0x3af)][_0x2916cf(0x273)]};}return JSON['stringify']({'cmd':_0x1f7e97[_0x2916cf(0x200)],'routeKey':_0x1f7e97[_0x2916cf(0x339)],'collaMsg':_0x30e8c2});}case F['JOIN']:return JSON[_0x2916cf(0x1c9)]({'cmd':_0x1f7e97[_0x2916cf(0x200)],'routeKey':_0x1f7e97[_0x2916cf(0x339)],'joinReq':_0x1f7e97['data']});case F[_0x2916cf(0x351)]:return JSON[_0x2916cf(0x1c9)]({'cmd':_0x1f7e97['cmd'],'routeKey':_0x1f7e97[_0x2916cf(0x339)],'leaveReq':_0x1f7e97[_0x2916cf(0x3af)]});default:throw new Error(_0x2916cf(0x2ea));}}var Wn=Object['defineProperty'],Gn=Object[_0xb8d684(0x422)],Kn=(_0x542ff1,_0x5d1bea,_0x2c6062,_0x26db2b)=>{var _0x2a0d20=_0xb8d684;for(var _0x2b9b7c=_0x26db2b>0x1?void 0x0:_0x26db2b?Gn(_0x5d1bea,_0x2c6062):_0x5d1bea,_0x1c10f9=_0x542ff1[_0x2a0d20(0x277)]-0x1,_0x5082cd;_0x1c10f9>=0x0;_0x1c10f9--)(_0x5082cd=_0x542ff1[_0x1c10f9])&&(_0x2b9b7c=(_0x26db2b?_0x5082cd(_0x5d1bea,_0x2c6062,_0x2b9b7c):_0x5082cd(_0x2b9b7c))||_0x2b9b7c);return _0x26db2b&&_0x2b9b7c&&Wn(_0x5d1bea,_0x2c6062,_0x2b9b7c),_0x2b9b7c;},Ne=(_0x270953,_0xb293e3)=>(_0x4e7e20,_0xdea437)=>_0xb293e3(_0x4e7e20,_0xdea437,_0x270953);const bi=_0x3664fb(_0xb8d684(0x22e));function zn(_0x5789c1,_0x483e95,_0x53ab4f){var _0x3f2fef=_0xb8d684;return _0x5789c1+'/'+_0x483e95+_0x3f2fef(0x234)+_0x53ab4f+_0x3f2fef(0x164);}let Et=class extends _0x1b0b12{constructor(_0x3f9d82,_0x17fa24,_0x493e0d,_0x1bf6c7,_0x457f3e){var _0x2a6507=_0xb8d684;super(),this[_0x2a6507(0x404)]=_0x3f9d82,this['_ws']=_0x17fa24,this[_0x2a6507(0x383)]=_0x493e0d,this['_logService']=_0x1bf6c7,this[_0x2a6507(0x220)]=_0x457f3e;}[_0xb8d684(0x3a7)](_0x18ccf4){var _0x384dd4=_0xb8d684;const _0x186005=this[_0x384dd4(0x18b)][_0x384dd4(0x3a7)](_0x18ccf4);if(!_0x186005)throw new Error(_0x384dd4(0x1b3));const _0x50fec2=new _0x49c336(),_0x1fd253=new _0x491e8b();_0x50fec2[_0x384dd4(0x423)](_0x186005['close$'][_0x384dd4(0x408)](_0x8485b7=>_0x1fd253['next'](_0x8485b7))),_0x50fec2['add'](_0x1e396b(()=>_0x1fd253[_0x384dd4(0x31b)]()));const _0x217465=new _0x491e8b();_0x50fec2[_0x384dd4(0x423)](_0x186005[_0x384dd4(0x301)][_0x384dd4(0x408)](_0x489895=>_0x217465['next'](_0x489895))),_0x50fec2['add'](_0x1e396b(()=>_0x217465[_0x384dd4(0x31b)]()));const _0x36080e=new _0x491e8b();_0x50fec2['add'](_0x186005['message$'][_0x384dd4(0x408)](_0x2bac1e=>{var _0x24da26=_0x384dd4;const _0x263519=Fn(_0x2bac1e);_0x36080e[_0x24da26(0x437)](_0x263519);})),_0x50fec2[_0x384dd4(0x423)](_0x1e396b(()=>_0x36080e['complete']()));let _0xec1f10;const _0x4f35c8=()=>{var _0x31ec07=_0x384dd4;_0x217465[_0x31ec07(0x437)](new Event(_0x31ec07(0x157))),_0x1fd253[_0x31ec07(0x437)](new CloseEvent(_0x31ec07(0x157))),_0xec1f10['close']();};return _0xec1f10={'memberID':'','close$':_0x1fd253[_0x384dd4(0x1a6)](),'error$':_0x217465[_0x384dd4(0x1a6)](),'open$':_0x186005[_0x384dd4(0x1ff)],'message$':_0x36080e['asObservable'](),'send':_0x32c384=>{var _0x42ab17=_0x384dd4;if(_0x32c384[_0x42ab17(0x200)]===F['INGEST']){if(_0x32c384['data'][_0x42ab17(0x273)]===_0x9d397c[_0x42ab17(0x3bc)]){this['_submitChangeset'](_0xec1f10,_0x32c384[_0x42ab17(0x3af)])[_0x42ab17(0x24f)](_0x2a9bf9=>{var _0x2ffec3=_0x42ab17;this[_0x2ffec3(0x2f4)]['error'](_0x2a9bf9),_0x4f35c8();});return;}if(_0x32c384[_0x42ab17(0x3af)][_0x42ab17(0x273)]===_0x9d397c[_0x42ab17(0x2c5)]){const _0x3d092e=_0x32c384[_0x42ab17(0x3af)];this[_0x42ab17(0x222)](_0x3d092e)[_0x42ab17(0x2c4)](_0x2341b5=>{var _0x16cd99=_0x42ab17;_0x36080e[_0x16cd99(0x437)]({'cmd':F[_0x16cd99(0x37e)],'code':Ee['OK'],'routeKey':_0x3d092e[_0x16cd99(0x3af)]['unitID'],'routeType':'','data':{'eventID':_0x9d397c[_0x16cd99(0x319)],'data':{'changesets':_0x2341b5}}});})[_0x42ab17(0x24f)](_0x5b8f01=>{var _0x55304d=_0x42ab17;this['_logService'][_0x55304d(0x282)](_0x5b8f01),_0x4f35c8();});return;}}_0x186005[_0x42ab17(0x3bf)](Vn(_0x32c384));},'close':()=>{var _0x4dcb9f=_0x384dd4;_0x186005[_0x4dcb9f(0x3aa)](),_0x50fec2[_0x4dcb9f(0x27d)]();}},_0xec1f10;}async['_submitChangeset'](_0x1b8e9f,_0x2f2dc4){var _0x1fd6ed=_0xb8d684,_0x4b3c80,_0x1ca066;const {unitType:_0x5a705f,unitID:_0x119b3c,changeset:_0xd7dcb7}=_0x2f2dc4[_0x1fd6ed(0x3af)],_0x5a949e={'unitID':_0x119b3c,'memberID':_0x1b8e9f[_0x1fd6ed(0x35d)],'type':_0x5a705f,'changeset':_0x466c92(_0xd7dcb7)},_0x1c95ab=this[_0x1fd6ed(0x383)][_0x1fd6ed(0x262)]($n),_0x5689c7=this[_0x1fd6ed(0x383)]['getConfig'](Y),_0x1a5c28=zn((_0x1ca066=(_0x4b3c80=_0x5689c7==null?void 0x0:_0x5689c7['collabSubmitChangesetUrl'])!=null?_0x4b3c80:_0x1c95ab)!=null?_0x1ca066:Hn,_0x5a705f,_0x119b3c);try{await this[_0x1fd6ed(0x404)][_0x1fd6ed(0x13b)](_0x1a5c28,{'body':_0x5a949e});}catch(_0x4137d4){throw this[_0x1fd6ed(0x2f4)][_0x1fd6ed(0x282)](_0x1fd6ed(0x14e),'submit\x20changeset\x20error!'),_0x4137d4;}}async[_0xb8d684(0x222)](_0x370f88){var _0x282e3b=_0xb8d684;const {unitID:_0x15f0a0,from:_0x417b9c,to:_0x98397b,unitType:_0xcb7e0f}=_0x370f88['data'];return(await this[_0x282e3b(0x220)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x15f0a0,'type':_0xcb7e0f,'from':_0x417b9c,'to':_0x98397b}))[_0x282e3b(0x393)];}};Et=Kn([Ne(0x0,_0x326892(_0x5bf8ac)),Ne(0x1,_0x326892(_0x415b8b)),Ne(0x2,_0x3a81dd),Ne(0x3,_0x3ed4aa),Ne(0x4,_0x42c0d3)],Et);const Yn='collaboration_new_changeset';function qn(_0x400215){var _0x460bb9=_0xb8d684;return JSON[_0x460bb9(0x1c9)](_0x400215)['length'];}class Ri{constructor(){var _0x102022=_0xb8d684;N(this,_0x102022(0x2f8),new _0x491e8b()),N(this,'commentUpdate$',this[_0x102022(0x2f8)][_0x102022(0x1a6)]());}['onCommentUpdate'](_0x5b2383){var _0x52bacd=_0xb8d684;this[_0x52bacd(0x2f8)][_0x52bacd(0x437)](_0x5b2383);}}var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x28b039,_0x2b3268,_0x414516,_0x11daf7)=>{var _0x28ab3f=_0xb8d684;for(var _0x3646a9=_0x11daf7>0x1?void 0x0:_0x11daf7?Xn(_0x2b3268,_0x414516):_0x2b3268,_0x840b08=_0x28b039[_0x28ab3f(0x277)]-0x1,_0x23582b;_0x840b08>=0x0;_0x840b08--)(_0x23582b=_0x28b039[_0x840b08])&&(_0x3646a9=(_0x11daf7?_0x23582b(_0x2b3268,_0x414516,_0x3646a9):_0x23582b(_0x3646a9))||_0x3646a9);return _0x11daf7&&_0x3646a9&&Jn(_0x2b3268,_0x414516,_0x3646a9),_0x3646a9;},zt=(_0x19e77b,_0x20046f)=>(_0x9a54eb,_0x271215)=>_0x20046f(_0x9a54eb,_0x271215,_0x19e77b);let Le=class extends _0x1b0b12{constructor(_0x388d46,_0x23f4a6){var _0x449f36=_0xb8d684;super(),N(this,'_roomMembers',new Map()),(this[_0x449f36(0x3c2)]=_0x388d46,this[_0x449f36(0x386)]=_0x23f4a6,this[_0x449f36(0x2e7)](_0x1e396b(_0x431760(this[_0x449f36(0x3c2)][_0x449f36(0x1f1)](_0x5a95a6[_0x449f36(0x238)])['pipe'](_0x105f41(_0x568f2e=>_0x568f2e[_0x449f36(0x3ad)]())),this[_0x449f36(0x3c2)][_0x449f36(0x1f1)](_0x5a95a6[_0x449f36(0x346)])[_0x449f36(0x271)](_0x105f41(_0x46466a=>_0x46466a['getUnitId']())),this[_0x449f36(0x3c2)][_0x449f36(0x1f1)](_0x5a95a6[_0x449f36(0x340)])[_0x449f36(0x271)](_0x105f41(_0x39e34b=>_0x39e34b[_0x449f36(0x3ad)]())))[_0x449f36(0x408)](_0x339bdd=>this[_0x449f36(0x1fc)](_0x339bdd)))));}[_0xb8d684(0x1e2)](_0x57b7c8){var _0x503187=_0xb8d684;this[_0x503187(0x386)]['setCurrentUser'](_0x57b7c8);}['getCurrentUser'](){var _0x5995e2=_0xb8d684;return this[_0x5995e2(0x386)][_0x5995e2(0x38f)]();}[_0xb8d684(0x3a9)](_0xb15da9,_0x1b5a4a){var _0x44837a=_0xb8d684;let _0x54c09d=this[_0x44837a(0x186)][_0x44837a(0x3df)](_0xb15da9);_0x54c09d||(_0x54c09d=new Qn(),this[_0x44837a(0x186)][_0x44837a(0x17a)](_0xb15da9,_0x54c09d)),_0x54c09d[_0x44837a(0x3a9)](_0x1b5a4a);}[_0xb8d684(0x425)](_0x504d6d,_0x3e75c8){var _0x323377=_0xb8d684;const _0x14ef4e=this[_0x323377(0x186)][_0x323377(0x3df)](_0x504d6d);_0x14ef4e&&_0x14ef4e[_0x323377(0x425)](_0x3e75c8);}[_0xb8d684(0x2e6)](_0x30fbb1){var _0x47e689=_0xb8d684;return this[_0x47e689(0x186)][_0x47e689(0x3df)](_0x30fbb1);}[_0xb8d684(0x1d6)](_0x3e7072,_0x3602c4){var _0x5ca316=_0xb8d684;const _0x23dcc6=this['_roomMembers'][_0x5ca316(0x3df)](_0x3e7072);if(_0x23dcc6)return _0x23dcc6[_0x5ca316(0x1d6)](_0x3602c4);}['_removeRoom'](_0x751011){var _0x34e86c=_0xb8d684;const _0x136179=this['_roomMembers'][_0x34e86c(0x3df)](_0x751011);_0x136179&&(_0x136179[_0x34e86c(0x27d)](),this[_0x34e86c(0x186)]['delete'](_0x751011));}[_0xb8d684(0x27d)](){var _0x190c96=_0xb8d684;this['_roomMembers'][_0x190c96(0x407)](_0x93fdc2=>_0x93fdc2[_0x190c96(0x27d)]()),this[_0x190c96(0x186)][_0x190c96(0x3cc)]();}};Le=Zn([zt(0x0,_0x548c55),zt(0x1,_0x326892(_0x1ad3a0))],Le);class Qn extends _0x1b0b12{constructor(){var _0x251b6a=_0xb8d684;super(...arguments),N(this,_0x251b6a(0x348),new Map());}[_0xb8d684(0x27d)](){var _0x48bdee=_0xb8d684;this['_members'][_0x48bdee(0x3cc)]();}['updateMember'](_0xc36411){var _0x284169=_0xb8d684;this[_0x284169(0x348)]['set'](_0xc36411[_0x284169(0x35d)],_0xc36411);}[_0xb8d684(0x425)](_0x22a1d5){var _0x4c5234=_0xb8d684;this[_0x4c5234(0x348)]['delete'](_0x22a1d5);}[_0xb8d684(0x1d6)](_0x51e5f3){var _0x11aab3=_0xb8d684;return this[_0x11aab3(0x348)][_0x11aab3(0x3df)](_0x51e5f3);}['getAllMembers'](){var _0xacff7d=_0xb8d684;return Array[_0xacff7d(0x337)](this['_members']['values']());}}var se=(_0x276636=>(_0x276636[_0xb8d684(0x328)]=_0xb8d684(0x328),_0x276636[_0xb8d684(0x253)]='PERMISSION_DENIED',_0x276636[_0xb8d684(0x1ca)]=_0xb8d684(0x1ca),_0x276636['CLOSE_ROOM']=_0xb8d684(0x353),_0x276636[_0xb8d684(0x3d5)]='JOIN_ROOM_FAILED',_0x276636[_0xb8d684(0x3c6)]=_0xb8d684(0x3c6),_0x276636['SOCKET_FAILED']=_0xb8d684(0x33b),_0x276636['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x276636))(se||{});class pe{constructor(){var _0x2a2691=_0xb8d684;N(this,_0x2a2691(0x2f7),new _0x491e8b()),N(this,_0x2a2691(0x1d0),this[_0x2a2691(0x2f7)][_0x2a2691(0x1a6)]());}[_0xb8d684(0x39d)](_0x4cf91e){var _0x47378f=_0xb8d684;this[_0x47378f(0x2f7)][_0x47378f(0x437)](_0x4cf91e);}}var es=Object[_0xb8d684(0x37d)],ts=Object[_0xb8d684(0x422)],is=(_0x5d67c2,_0x436e6c,_0x21acf8,_0xdccb64)=>{var _0x4b3bdc=_0xb8d684;for(var _0x45118b=_0xdccb64>0x1?void 0x0:_0xdccb64?ts(_0x436e6c,_0x21acf8):_0x436e6c,_0x248887=_0x5d67c2[_0x4b3bdc(0x277)]-0x1,_0x3db461;_0x248887>=0x0;_0x248887--)(_0x3db461=_0x5d67c2[_0x248887])&&(_0x45118b=(_0xdccb64?_0x3db461(_0x436e6c,_0x21acf8,_0x45118b):_0x3db461(_0x45118b))||_0x45118b);return _0xdccb64&&_0x45118b&&es(_0x436e6c,_0x21acf8,_0x45118b),_0x45118b;},me=(_0x19d7c5,_0x2efa1b)=>(_0xd06f5b,_0x3c7a24)=>_0x2efa1b(_0xd06f5b,_0x3c7a24,_0x19d7c5),Ie=(_0x1f6b90=>(_0x1f6b90[_0x1f6b90[_0xb8d684(0x37b)]=0x0]='IDLE',_0x1f6b90[_0x1f6b90[_0xb8d684(0x3d9)]=0x1]='JOINING',_0x1f6b90[_0x1f6b90[_0xb8d684(0x24a)]=0x2]=_0xb8d684(0x24a),_0x1f6b90[_0x1f6b90[_0xb8d684(0x320)]=0x3]=_0xb8d684(0x320),_0x1f6b90))(Ie||{});const Yt={[Ee[_0xb8d684(0x379)]]:_0xb8d684(0x2d5),[Ee[_0xb8d684(0x2a7)]]:_0xb8d684(0x3fc),[Ee[_0xb8d684(0x388)]]:_0xb8d684(0x19c),[Ee[_0xb8d684(0x246)]]:_0xb8d684(0x216),[Ee[_0xb8d684(0x281)]]:_0xb8d684(0x317)};let It=class extends _0x292a49{constructor(_0x174b9f,_0x434204,_0x299d92,_0x5e794e,_0x1b5458,_0x1b9887,_0x136657,_0x2b9b99,_0x34ffff){var _0x9a74fa=_0xb8d684;super(),N(this,_0x9a74fa(0x2e4),new _0x24c602(0x0)),N(this,'sessionStatus$',this[_0x9a74fa(0x2e4)][_0x9a74fa(0x1a6)]()),N(this,_0x9a74fa(0x2f7),new _0x491e8b()),N(this,_0x9a74fa(0x1d0),this[_0x9a74fa(0x2f7)][_0x9a74fa(0x1a6)]()),N(this,_0x9a74fa(0x27e)),N(this,_0x9a74fa(0x3be)),N(this,_0x9a74fa(0x278)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x9a74fa(0x241),null),(this[_0x9a74fa(0x21b)]=_0x174b9f,this[_0x9a74fa(0x2f4)]=_0x299d92,this[_0x9a74fa(0x383)]=_0x5e794e,this['_localeService']=_0x1b5458,this[_0x9a74fa(0x3f8)]=_0x1b9887,this[_0x9a74fa(0x394)]=_0x136657,this[_0x9a74fa(0x3d2)]=_0x2b9b99,this[_0x9a74fa(0x30e)]=_0x34ffff,this['_shouldReportTelemetry']=!!this[_0x9a74fa(0x30e)],_0x434204[_0x9a74fa(0x271)](_0x18038f(this['dispose$']))['subscribe'](_0x9fe99f=>{var _0xb4555e=_0x9a74fa,_0x415941;typeof _0x9fe99f>'u'||(this['_socket']=_0x9fe99f,_0x9fe99f?(this[_0xb4555e(0x41b)](_0x9fe99f),this[_0xb4555e(0x3be)]=_0x9fe99f[_0xb4555e(0x39a)]['subscribe'](_0x538924=>{var _0x560154=_0xb4555e;_0x538924[_0x560154(0x339)]===this[_0x560154(0x21b)]&&this[_0x560154(0x1c2)](_0x538924);})):(this[_0xb4555e(0x325)](),this[_0xb4555e(0x2e4)][_0xb4555e(0x437)](0x2),(_0x415941=this[_0xb4555e(0x3be)])==null||_0x415941[_0xb4555e(0x195)](),this[_0xb4555e(0x3be)]=null));}));}get[_0xb8d684(0x400)](){var _0x541ab6=_0xb8d684;return this['_sessionStatus$'][_0x541ab6(0x20a)]();}['getMemberID'](){var _0x277e51,_0x1b6cfb;return(_0x1b6cfb=(_0x277e51=this['_socket'])==null?void 0x0:_0x277e51['memberID'])!=null?_0x1b6cfb:null;}['dispose'](){var _0x4e5e52=_0xb8d684;super[_0x4e5e52(0x27d)](),this[_0x4e5e52(0x1ba)]['next'](),this[_0x4e5e52(0x1ba)][_0x4e5e52(0x31b)]();}[_0xb8d684(0x3aa)](){var _0x78fc34=_0xb8d684,_0x1ee046,_0x190471;this[_0x78fc34(0x325)](),(_0x1ee046=this[_0x78fc34(0x27e)])==null||_0x1ee046[_0x78fc34(0x3bf)]({'cmd':F[_0x78fc34(0x351)],'data':{'roomID':this[_0x78fc34(0x21b)]}}),(_0x190471=this[_0x78fc34(0x27e)])==null||_0x190471[_0x78fc34(0x3aa)](),this[_0x78fc34(0x2f7)][_0x78fc34(0x31b)](),this[_0x78fc34(0x2e4)][_0x78fc34(0x31b)](),this[_0x78fc34(0x27d)]();}[_0xb8d684(0x1c2)](_0x19edf8){var _0x54c64c=_0xb8d684;_0x19edf8[_0x54c64c(0x200)]===F[_0x54c64c(0x1d1)]?this[_0x54c64c(0x428)](_0x19edf8):_0x19edf8['cmd']===F[_0x54c64c(0x37e)]&&this['_onRecvEvent'](_0x19edf8);}[_0xb8d684(0x41b)](_0x3b7e95){var _0x3abd7b=_0xb8d684;this[_0x3abd7b(0x2e4)][_0x3abd7b(0x437)](0x1),_0x3b7e95[_0x3abd7b(0x3bf)]({'cmd':F[_0x3abd7b(0x1d1)],'routeKey':this[_0x3abd7b(0x21b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3abd7b(0x21b)]}]}});}[_0xb8d684(0x428)](_0x2212a7){var _0x5e279c=_0xb8d684,_0x613165;if(_0x2212a7[_0x5e279c(0x300)]in Yt){this[_0x5e279c(0x3d2)]['emitEvent']({'id':se[_0x5e279c(0x3d5)],'data':Yt[_0x2212a7[_0x5e279c(0x300)]]}),this[_0x5e279c(0x2e4)][_0x5e279c(0x437)](0x2);return;}this[_0x5e279c(0x2e4)][_0x5e279c(0x437)](0x3);const _0x39d534=(_0x613165=_0x2212a7[_0x5e279c(0x3af)][_0x5e279c(0x296)][this['_unitID']])==null?void 0x0:_0x613165[_0x5e279c(0x3e1)];_0x39d534&&_0x39d534['forEach'](_0x15d272=>this['_memberService'][_0x5e279c(0x3a9)](this['_unitID'],_0x15d272));}[_0xb8d684(0x3c4)](_0xa731bd){var _0x13fb6c=_0xb8d684;try{const _0x34ff3a=_0xa731bd[_0x13fb6c(0x3af)];switch(_0x34ff3a[_0x13fb6c(0x273)]){case _0x9d397c[_0x13fb6c(0x2e1)]:this['_onUserJoin'](_0x34ff3a),this[_0x13fb6c(0x2f7)][_0x13fb6c(0x437)](_0x34ff3a);break;case _0x9d397c[_0x13fb6c(0x1fe)]:this[_0x13fb6c(0x1d5)](_0x34ff3a),this['_event$'][_0x13fb6c(0x437)](_0x34ff3a);break;case _0x9d397c['CHANGESET_ACK']:case _0x9d397c[_0x13fb6c(0x225)]:this[_0x13fb6c(0x3ca)](),this['_clearCollaborationTimeoutTimer'](),this[_0x13fb6c(0x2f7)]['next'](_0x34ff3a);break;case _0x9d397c[_0x13fb6c(0x1d3)]:this[_0x13fb6c(0x2f4)][_0x13fb6c(0x282)](_0x13fb6c(0x204)+JSON['stringify'](_0x34ff3a)),this[_0x13fb6c(0x2f7)]['next'](_0x34ff3a);break;case _0x9d397c[_0x13fb6c(0x172)]:this[_0x13fb6c(0x394)][_0x13fb6c(0x33d)](_0x34ff3a[_0x13fb6c(0x3af)]),this[_0x13fb6c(0x2f7)][_0x13fb6c(0x437)](_0x34ff3a);break;default:this[_0x13fb6c(0x2f7)][_0x13fb6c(0x437)](_0x34ff3a);}}catch(_0x58130e){this['_logService'][_0x13fb6c(0x282)](_0x58130e,_0xa731bd);}}['_onUserJoin'](_0x3a7874){var _0x46ad50=_0xb8d684;this[_0x46ad50(0x3f8)]['updateMember'](this[_0x46ad50(0x21b)],_0x3a7874[_0x46ad50(0x3af)]);}[_0xb8d684(0x1d5)](_0x41a34a){var _0xceb466=_0xb8d684;this['_memberService'][_0xceb466(0x425)](this['_unitID'],_0x41a34a[_0xceb466(0x3af)][_0xceb466(0x35d)]);}async[_0xb8d684(0x3bf)](_0x11d240,_0x1540f1){var _0x2b3c76=_0xb8d684;if(this['sessionStatus']!==0x3||!this[_0x2b3c76(0x27e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x11d240['eventID']===_0x9d397c['SUBMIT_CHANGESET']&&(this[_0x2b3c76(0x1c1)](),this[_0x2b3c76(0x2c1)](_0x11d240)),this[_0x2b3c76(0x27e)][_0x2b3c76(0x3bf)]({'cmd':F[_0x2b3c76(0x1b2)],'routeKey':_0x1540f1,'routeType':'','data':_0x11d240});}catch(_0x25bdb6){this[_0x2b3c76(0x2f4)]['error'](_0x25bdb6);}}[_0xb8d684(0x1c1)](){var _0x45bfa9=_0xb8d684,_0x4f628b;this[_0x45bfa9(0x278)]=window['setTimeout'](()=>{var _0x8710b3=_0x45bfa9;this[_0x8710b3(0x278)]=null,this[_0x8710b3(0x3d2)]['emitEvent']({'id':se[_0x8710b3(0x15c)]});},(_0x4f628b=this['_configService'][_0x45bfa9(0x262)](Ei))!=null?_0x4f628b:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x521269=_0xb8d684;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x521269(0x278)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1cfab2){var _0x4d0085=_0xb8d684;if(!this[_0x4d0085(0x3e2)])return;const {data:_0x4d475e}=_0x1cfab2,{unitID:_0x901cf,changeset:_0x11ca0c}=_0x4d475e,{mutations:_0x3b2c6c,type:_0x24038b}=_0x11ca0c;this['_telemetryInfo']={'unitId':_0x901cf,'type':_0x24038b,'startTime':performance[_0x4d0085(0x322)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x3b2c6c)};}[_0xb8d684(0x3ca)](){var _0x30c295=_0xb8d684;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x30c295(0x2f4)][_0x30c295(0x282)](_0x30c295(0x14e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x30c295(0x322)](),this[_0x30c295(0x241)]['duration']=this[_0x30c295(0x241)]['stopTime']-this[_0x30c295(0x241)][_0x30c295(0x240)],this[_0x30c295(0x30e)][_0x30c295(0x3de)](Yn,this[_0x30c295(0x241)]),this[_0x30c295(0x241)]=null;}}[_0xb8d684(0x325)](){this['_telemetryInfo']=null;}};It=is([me(0x2,_0x3ed4aa),me(0x3,_0x3a81dd),me(0x4,_0x326892(_0x43ac4b)),me(0x5,_0x326892(Le)),me(0x6,_0x326892(Ri)),me(0x7,_0x326892(pe)),me(0x8,_0x14dc81(_0x167a40))],It);var ns=Object['defineProperty'],ss=Object[_0xb8d684(0x422)],rs=(_0x4af888,_0x219025,_0x22aae6,_0x5c8a69)=>{var _0x5f27c2=_0xb8d684;for(var _0x163c16=_0x5c8a69>0x1?void 0x0:_0x5c8a69?ss(_0x219025,_0x22aae6):_0x219025,_0x5f872=_0x4af888[_0x5f27c2(0x277)]-0x1,_0x3cd5fb;_0x5f872>=0x0;_0x5f872--)(_0x3cd5fb=_0x4af888[_0x5f872])&&(_0x163c16=(_0x5c8a69?_0x3cd5fb(_0x219025,_0x22aae6,_0x163c16):_0x3cd5fb(_0x163c16))||_0x163c16);return _0x5c8a69&&_0x163c16&&ns(_0x219025,_0x22aae6,_0x163c16),_0x163c16;},ge=(_0x3d8229,_0x36bcaf)=>(_0x49f540,_0xf41834)=>_0x36bcaf(_0x49f540,_0xf41834,_0x3d8229);let Me=class extends _0x1b0b12{constructor(_0x1545b9,_0x1d9251,_0x32499a,_0xdafd4b,_0x5170fc,_0x130477,_0x3fa2d9){var _0x4684c5=_0xb8d684;super(),N(this,'_socket$',new _0x24c602(void 0x0)),N(this,_0x4684c5(0x254),this[_0x4684c5(0x3ba)][_0x4684c5(0x1a6)]()),N(this,_0x4684c5(0x308),null),N(this,_0x4684c5(0x267),new Map()),N(this,_0x4684c5(0x43a),new _0x24c602(Ie['IDLE'])),N(this,'status$',this['_status$'][_0x4684c5(0x1a6)]()),N(this,'_socketReady',!0x1),N(this,_0x4684c5(0x233)),N(this,_0x4684c5(0x2a2),0x0),N(this,_0x4684c5(0x327)),N(this,_0x4684c5(0x23c)),(this['_injector']=_0x1545b9,this[_0x4684c5(0x26d)]=_0x1d9251,this[_0x4684c5(0x2f4)]=_0x32499a,this[_0x4684c5(0x383)]=_0xdafd4b,this[_0x4684c5(0x175)]=_0x5170fc,this['_httpService']=_0x130477,this[_0x4684c5(0x3d2)]=_0x3fa2d9,this[_0x4684c5(0x165)]());}get['_socket'](){var _0x53ffbf=_0xb8d684;return this[_0x53ffbf(0x3ba)][_0x53ffbf(0x20a)]();}[_0xb8d684(0x165)](){var _0x5e209a=_0xb8d684;this[_0x5e209a(0x29a)](),this[_0x5e209a(0x265)]();}[_0xb8d684(0x27d)](){var _0x4a2732=_0xb8d684;super[_0x4a2732(0x27d)](),this['_sessions'][_0x4a2732(0x407)](_0x178158=>_0x178158[_0x4a2732(0x27d)]()),this[_0x4a2732(0x267)]['clear'](),this[_0x4a2732(0x43a)][_0x4a2732(0x31b)]();}async[_0xb8d684(0x410)](_0x53ad44){var _0x1c4e7d=_0xb8d684;if(this['_sessions'][_0x1c4e7d(0x2b7)](_0x53ad44))return this['_sessions'][_0x1c4e7d(0x3df)](_0x53ad44);this[_0x1c4e7d(0x430)]();const _0x1c485b=this[_0x1c4e7d(0x42d)]['createInstance'](It,_0x53ad44,this[_0x1c4e7d(0x3ba)][_0x1c4e7d(0x1a6)]());return this[_0x1c4e7d(0x267)][_0x1c4e7d(0x17a)](_0x53ad44,_0x1c485b),_0x1c485b;}['closeSession'](_0x5503c2){var _0x5abffd=_0xb8d684,_0x49d79b;const _0x209e51=this[_0x5abffd(0x267)][_0x5abffd(0x3df)](_0x5503c2);_0x209e51&&(this[_0x5abffd(0x267)][_0x5abffd(0x397)](_0x5503c2),_0x209e51[_0x5abffd(0x3aa)]()),this[_0x5abffd(0x267)][_0x5abffd(0x2be)]||(_0x49d79b=this[_0x5abffd(0x27e)])==null||_0x49d79b[_0x5abffd(0x3aa)]();}[_0xb8d684(0x2b3)](){var _0x2e0b82=_0xb8d684;this[_0x2e0b82(0x2a2)]=0x0,this[_0x2e0b82(0x233)]!=null&&(clearTimeout(this[_0x2e0b82(0x233)]),this[_0x2e0b82(0x233)]=null),this[_0x2e0b82(0x280)]();}async[_0xb8d684(0x390)](){var _0x4bbe74=_0xb8d684,_0x1961db,_0x2eea3d,_0x306cb0;const _0x48fd30=this[_0x4bbe74(0x383)][_0x4bbe74(0x262)](Y),_0x5f60b8=(_0x1961db=_0x48fd30==null?void 0x0:_0x48fd30['wsSessionTicketUrl'])!=null?_0x1961db:wn;return(_0x306cb0=(_0x2eea3d=(await this[_0x4bbe74(0x2bc)][_0x4bbe74(0x3df)](_0x5f60b8,{'headers':{'Content-Type':'application/json'}}))[_0x4bbe74(0x438)])==null?void 0x0:_0x2eea3d[_0x4bbe74(0x1b8)])!=null?_0x306cb0:'';}[_0xb8d684(0x333)](_0x2416ec){var _0x4198d0=_0xb8d684,_0x47e576,_0x5d3353;const _0x45df42=this[_0x4198d0(0x383)][_0x4198d0(0x262)](Dn),_0x1a6b51=this['_configService']['getConfig'](Y),_0x47f16f=(_0x5d3353=(_0x47e576=_0x1a6b51==null?void 0x0:_0x1a6b51['collabWebSocketUrl'])!=null?_0x47e576:_0x45df42)!=null?_0x5d3353:Nn,_0x43d5e3=new URL(_0x47f16f,window[_0x4198d0(0x332)][_0x4198d0(0x2a6)]);return _0x43d5e3[_0x4198d0(0x1e7)][_0x4198d0(0x17a)]('sessionTicket',_0x2416ec),_0x43d5e3[_0x4198d0(0x33c)]();}async['_createSocket'](){var _0x30e13f=_0xb8d684;const _0x34e70d=await this[_0x30e13f(0x390)](),_0x3c0d10=this[_0x30e13f(0x333)](_0x34e70d),_0x31d3bd=this[_0x30e13f(0x175)][_0x30e13f(0x3a7)](_0x3c0d10);return this[_0x30e13f(0x308)]=_0x31d3bd,_0x31d3bd;}async['_tryEnsureSocket'](){var _0x1957d3=_0xb8d684,_0x192e75,_0xa61028;try{const _0x4e8e8b=(_0xa61028=(_0x192e75=this['_socket'])!=null?_0x192e75:this[_0x1957d3(0x308)])!=null?_0xa61028:await this['_createSocket']();if(_0x4e8e8b){const _0x22807d=_0x4e8e8b[_0x1957d3(0x3bf)];_0x4e8e8b[_0x1957d3(0x3bf)]=_0x1dc15e=>(this['_rescheduleHeartbeat'](),_0x22807d[_0x1957d3(0x285)](_0x4e8e8b,[_0x1dc15e])),_0x4e8e8b['message$']['subscribe'](_0x453f1a=>this[_0x1957d3(0x141)](_0x4e8e8b,_0x453f1a)),_0x4e8e8b[_0x1957d3(0x301)]['pipe'](_0x34fbf4(0x1))[_0x1957d3(0x408)](_0x40bdf4=>this[_0x1957d3(0x2f4)]['error'](_0x1957d3(0x37a),_0x40bdf4)),_0x4e8e8b[_0x1957d3(0x1ff)][_0x1957d3(0x271)](_0x34fbf4(0x1))['subscribe'](()=>{var _0x2b32ba=_0x1957d3;this[_0x2b32ba(0x307)](_0x4e8e8b);}),_0x4e8e8b['close$'][_0x1957d3(0x271)](_0x34fbf4(0x1))[_0x1957d3(0x408)](_0x575509=>{var _0x26a6ce=_0x1957d3;this['_logService'][_0x26a6ce(0x40c)](_0x26a6ce(0x3cf),_0x26a6ce(0x40b),_0x575509),this[_0x26a6ce(0x3e6)]();});}}catch(_0x52d443){this[_0x1957d3(0x2f4)][_0x1957d3(0x282)](_0x52d443),this[_0x1957d3(0x3e6)]();}}[_0xb8d684(0x307)](_0x591a1a){var _0xda49d2=_0xb8d684;this[_0xda49d2(0x2f4)][_0xda49d2(0x40c)](_0xda49d2(0x3cf),_0xda49d2(0x36d)),_0x591a1a[_0xda49d2(0x3bf)]({'cmd':F[_0xda49d2(0x256)]}),this[_0xda49d2(0x198)]();}['_listenToOfflineEvent'](){var _0x429bab=_0xb8d684;window['addEventListener'](_0x429bab(0x1fb),()=>this[_0x429bab(0x391)]());}[_0xb8d684(0x391)](){var _0x4e7e12=_0xb8d684;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4e7e12(0x437)](Ie['OFFLINE']),this[_0x4e7e12(0x3ba)][_0x4e7e12(0x437)](null),this[_0x4e7e12(0x25d)](),this[_0x4e7e12(0x311)]();}[_0xb8d684(0x3e6)](){var _0x114c2e=_0xb8d684,_0x20786f;this[_0x114c2e(0x391)](),this['_retryCount']<((_0x20786f=this[_0x114c2e(0x383)][_0x114c2e(0x262)](Ln))!=null?_0x20786f:Mn)?(this[_0x114c2e(0x3d2)][_0x114c2e(0x39d)]({'id':se[_0x114c2e(0x3c6)]}),this[_0x114c2e(0x280)]()):this[_0x114c2e(0x3d2)]['emitEvent']({'id':se[_0x114c2e(0x33b)]});}[_0xb8d684(0x265)](){var _0x525427=_0xb8d684;const _0x2dc16b=()=>{var _0x3fb224=_0x47e4;this[_0x3fb224(0x27e)]||this[_0x3fb224(0x2b3)]();},_0x1aaae6=()=>{var _0x3c778d=_0x47e4;this['_socket']||document['visibilityState']===_0x3c778d(0x1c6)||this[_0x3c778d(0x2b3)]();};window[_0x525427(0x39e)](_0x525427(0x2d6),_0x2dc16b),document[_0x525427(0x39e)](_0x525427(0x18d),_0x1aaae6);}['_tryReconnect'](){var _0x56a531=_0xb8d684,_0x50e3d0;const _0x59d570=this['_retryCount'],_0x259eff=this[_0x56a531(0x383)][_0x56a531(0x262)](Y),_0x46c49d=_0x59d570===0x0?0x0:((_0x50e3d0=_0x259eff==null?void 0x0:_0x259eff[_0x56a531(0x2c2)])!=null?_0x50e3d0:xn)*0x2**_0x59d570;this['_retryConnectingTimer']=window[_0x56a531(0x2ce)](()=>{var _0x46a2c2=_0x56a531;clearTimeout(this['_retryConnectingTimer']),this[_0x46a2c2(0x233)]=null,this[_0x46a2c2(0x430)]();},_0x46c49d),this[_0x56a531(0x2a2)]+=0x1;}[_0xb8d684(0x141)](_0x486176,_0x42df72){var _0x4866d0=_0xb8d684;const {cmd:_0x344bae}=_0x42df72;_0x344bae===F['HELLO']&&!this['_socketReady']&&(_0x486176[_0x4866d0(0x35d)]=_0x42df72[_0x4866d0(0x3af)][_0x4866d0(0x35d)],this[_0x4866d0(0x3ba)][_0x4866d0(0x437)](_0x486176),this['_status$'][_0x4866d0(0x437)](Ie[_0x4866d0(0x320)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x344bae===F[_0x4866d0(0x252)]&&this[_0x4866d0(0x25d)](),this[_0x4866d0(0x198)]();}[_0xb8d684(0x198)](){var _0x3ed7c4=_0xb8d684,_0x4a53f7;this[_0x3ed7c4(0x311)](),this[_0x3ed7c4(0x327)]=window[_0x3ed7c4(0x2ce)](()=>this[_0x3ed7c4(0x376)](),(_0x4a53f7=this[_0x3ed7c4(0x383)]['getConfig'](Un))!=null?_0x4a53f7:An);}['_sendHeartbeat'](){var _0x7c9e89=_0xb8d684;this['_socket'][_0x7c9e89(0x3bf)]({'cmd':F['HEARTBEAT']}),this[_0x7c9e89(0x3b5)]();}[_0xb8d684(0x3b5)](){var _0x49d50c=_0xb8d684,_0x34d792;this[_0x49d50c(0x23c)]=window[_0x49d50c(0x2ce)](()=>this[_0x49d50c(0x3e6)](),(_0x34d792=this[_0x49d50c(0x383)][_0x49d50c(0x262)](Ei))!=null?_0x34d792:Ii);}[_0xb8d684(0x311)](){var _0x313319=_0xb8d684;this[_0x313319(0x327)]!=null&&(clearTimeout(this[_0x313319(0x327)]),this[_0x313319(0x327)]=null);}[_0xb8d684(0x25d)](){var _0xd110a9=_0xb8d684;this[_0xd110a9(0x23c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xd110a9(0x23c)]=null);}};Me=rs([ge(0x0,_0x326892(_0x5b782f)),ge(0x1,_0x326892(_0x43ac4b)),ge(0x2,_0x3ed4aa),ge(0x3,_0x3a81dd),ge(0x4,bi),ge(0x5,_0x326892(_0x5bf8ac)),ge(0x6,_0x326892(pe))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0xb8d684(0x3e8)]((n+0x100)['toString'](0x10)[_0xb8d684(0x288)](0x1));function os(_0x5bfb99,_0x5b0fbe=0x0){var _0x3d34b9=_0xb8d684;return(V[_0x5bfb99[_0x5b0fbe+0x0]]+V[_0x5bfb99[_0x5b0fbe+0x1]]+V[_0x5bfb99[_0x5b0fbe+0x2]]+V[_0x5bfb99[_0x5b0fbe+0x3]]+'-'+V[_0x5bfb99[_0x5b0fbe+0x4]]+V[_0x5bfb99[_0x5b0fbe+0x5]]+'-'+V[_0x5bfb99[_0x5b0fbe+0x6]]+V[_0x5bfb99[_0x5b0fbe+0x7]]+'-'+V[_0x5bfb99[_0x5b0fbe+0x8]]+V[_0x5bfb99[_0x5b0fbe+0x9]]+'-'+V[_0x5bfb99[_0x5b0fbe+0xa]]+V[_0x5bfb99[_0x5b0fbe+0xb]]+V[_0x5bfb99[_0x5b0fbe+0xc]]+V[_0x5bfb99[_0x5b0fbe+0xd]]+V[_0x5bfb99[_0x5b0fbe+0xe]]+V[_0x5bfb99[_0x5b0fbe+0xf]])[_0x3d34b9(0x17f)]();}let ut;const as=new Uint8Array(0x10);function cs(){var _0x29365c=_0xb8d684;if(!ut){if(typeof crypto>'u'||!crypto[_0x29365c(0x365)])throw new Error(_0x29365c(0x1bf));ut=crypto[_0x29365c(0x365)]['bind'](crypto);}return ut(as);}const hs=typeof crypto<'u'&&crypto[_0xb8d684(0x1a1)]&&crypto[_0xb8d684(0x1a1)][_0xb8d684(0x2f5)](crypto),qt={'randomUUID':hs};function _s(_0x1441f3,_0x2681a7,_0x276c80){var _0x1ba2a0=_0xb8d684;if(qt[_0x1ba2a0(0x1a1)]&&!_0x2681a7&&!_0x1441f3)return qt[_0x1ba2a0(0x1a1)]();_0x1441f3=_0x1441f3||{};const _0x206ef1=_0x1441f3[_0x1ba2a0(0x2b5)]||(_0x1441f3[_0x1ba2a0(0x208)]||cs)();return _0x206ef1[0x6]=_0x206ef1[0x6]&0xf|0x40,_0x206ef1[0x8]=_0x206ef1[0x8]&0x3f|0x80,os(_0x206ef1);}const X=_0x3664fb('collaboration-client.local-cache-service');function ao(_0x4c9824){var _0x9f3808=_0xb8d684;return _0x9f3808(0x1c8)+_0x4c9824;}var ls=Object[_0xb8d684(0x37d)],us=Object['getOwnPropertyDescriptor'],ds=(_0x2a002f,_0x26b5da,_0x25f62b,_0x908892)=>{var _0x2cba97=_0xb8d684;for(var _0x2968f5=_0x908892>0x1?void 0x0:_0x908892?us(_0x26b5da,_0x25f62b):_0x26b5da,_0x1ae571=_0x2a002f[_0x2cba97(0x277)]-0x1,_0x4a8b1d;_0x1ae571>=0x0;_0x1ae571--)(_0x4a8b1d=_0x2a002f[_0x1ae571])&&(_0x2968f5=(_0x908892?_0x4a8b1d(_0x26b5da,_0x25f62b,_0x2968f5):_0x4a8b1d(_0x2968f5))||_0x2968f5);return _0x908892&&_0x2968f5&&ls(_0x26b5da,_0x25f62b,_0x2968f5),_0x2968f5;},dt=(_0x1e9f6f,_0x1a0472)=>(_0x229ec4,_0x17bf21)=>_0x1a0472(_0x229ec4,_0x17bf21,_0x1e9f6f);function fs(_0x2ca492){var _0xeb894c=_0xb8d684;const {unitID:_0x2690bc,mutations:_0x4ce2e3}=_0x2ca492;return{'unitId':_0x2690bc,'subUnitId':_0x4ce2e3[0x0]['params'][_0xeb894c(0x3d4)]};}let nt=class{constructor(_0x18dc05,_0x535e0a,_0xaf4a28){var _0x3e484c=_0xb8d684;this['_injector']=_0x18dc05,this[_0x3e484c(0x181)]=_0x535e0a,this['_instanceService']=_0xaf4a28;}[_0xb8d684(0x193)](_0x3b7fee){var _0x5d58e5=_0xb8d684,_0x3ebbe3,_0x59bd62,_0x47fd03,_0x1433a8;const _0x29caa0=this['_injector']['get'](_0x469ee6),{unitId:_0x1b9a26,subUnitId:_0x48f92f}=fs(_0x3b7fee),_0x12ae1c=_0x29caa0==null?void 0x0:_0x29caa0[_0x5d58e5(0x2a8)](_0x1b9a26)[_0x5d58e5(0x25b)](),_0x2c3f6b=(_0x59bd62=(_0x3ebbe3=this['_instanceService']['getUnit'](_0x1b9a26))==null?void 0x0:_0x3ebbe3[_0x5d58e5(0x261)]())==null?void 0x0:_0x59bd62[_0x5d58e5(0x41e)]();if(_0x12ae1c[_0x5d58e5(0x277)]===0x0||!_0x1b9a26||!_0x48f92f)return;const _0x56a4a3=[{'id':_0x1807fd['id'],'params':{'unitId':_0x1b9a26,'subUnitId':_0x2c3f6b,'selections':_0x397958[_0x5d58e5(0x3eb)](_0x12ae1c)}}],_0x8927fb=this[_0x5d58e5(0x181)]['transformMutationsWithChangeset'](_0x3b7fee,_0x56a4a3);if(!_0x4827c8(_0x8927fb))throw _0x8927fb[_0x5d58e5(0x282)];const _0x2bcf6e=(_0x1433a8=(_0x47fd03=_0x8927fb['m2Prime'][0x0])==null?void 0x0:_0x47fd03[_0x5d58e5(0x1ac)])==null?void 0x0:_0x1433a8[_0x5d58e5(0x1a3)];if(Array[_0x5d58e5(0x25c)](_0x2bcf6e)&&_0x2bcf6e['length']){if(_0x2bcf6e['length']===_0x56a4a3[0x0]['params'][_0x5d58e5(0x1a3)][_0x5d58e5(0x277)]&&_0x2bcf6e[_0x5d58e5(0x1a0)]((_0x374d61,_0x5aefa1)=>_0x1dd9ea[_0x5d58e5(0x15e)](_0x374d61['range'],_0x56a4a3[0x0][_0x5d58e5(0x1ac)]['selections'][_0x5aefa1][_0x5d58e5(0x13c)])))return;this[_0x5d58e5(0x42d)]['get'](_0x773321)[_0x5d58e5(0x32d)](_0x1807fd['id'],{'unitId':_0x1b9a26,'subUnitId':_0x2c3f6b,'selections':_0x2bcf6e});}}};nt=ds([dt(0x0,_0x326892(_0x5b782f)),dt(0x1,_0x33c803),dt(0x2,_0x548c55)],nt);const ht=_0x3664fb(_0xb8d684(0x235));var yi=(_0x2b4f61=>(_0x2b4f61[_0x2b4f61[_0xb8d684(0x3a4)]=0x0]=_0xb8d684(0x3a4),_0x2b4f61[_0x2b4f61[_0xb8d684(0x342)]=0x1]=_0xb8d684(0x342),_0x2b4f61))(yi||{});const vs=new Set([_0x271d71['id']]);function Jt(_0x4c6f74,_0x42c99b,_0x532c66,_0x3ee0db,_0x2699bc){var _0x55956c=_0xb8d684,_0x10c3b6,_0x170c0f,_0xf78539,_0x544a97;const _0x4f57fe=[];for(const _0xa3e3dc of _0x4c6f74)if(vs[_0x55956c(0x2b7)](_0xa3e3dc['id'])){if(_0x4f57fe[_0x55956c(0x277)]>0x0)break;_0x4f57fe[_0x55956c(0x3e8)](_0xa3e3dc);break;}else _0x4f57fe[_0x55956c(0x3e8)](_0xa3e3dc);const _0x1e28ce=(_0x170c0f=(_0x10c3b6=_0x2699bc['getCurrentUser']())==null?void 0x0:_0x10c3b6[_0x55956c(0x2c6)])!=null?_0x170c0f:_0x55956c(0x23d),_0x20b73c=(_0x544a97=(_0xf78539=_0x2699bc['getCurrentUser']())==null?void 0x0:_0xf78539['memberID'])!=null?_0x544a97:_0x55956c(0x23d);return{'changeset':{'unitID':_0x42c99b,'type':_0x5039ad(_0x532c66[_0x55956c(0x230)](_0x42c99b)),'baseRev':_0x3ee0db[_0x55956c(0x415)](_0x42c99b),'revision':0x0,'userID':_0x1e28ce,'memberID':_0x20b73c,'mutations':_0x4f57fe},'pendingMutations':_0x4c6f74[_0x55956c(0x288)](_0x4f57fe[_0x55956c(0x277)])};}function ps(_0x4a450e,_0x4adb41,_0x2ad420,_0x1af0fa,_0x33871e){var _0x964507=_0xb8d684,_0x34a4e3,_0x19cc69,_0x2be693,_0x379018;const _0x321be8=[_0x4a450e[_0x964507(0x2a1)]((_0x5b174f,_0x32dffa)=>{var _0x4e7b10=_0x964507,_0x2fcd90;const {id:_0xf5af3f}=_0x5b174f,{id:_0x19e3af,type:_0x20421d}=_0x32dffa,_0x24083e=(_0x2fcd90=_0x5b174f[_0x4e7b10(0x1ac)])!=null?_0x2fcd90:{'actions':null},_0x5a31d4=_0x32dffa[_0x4e7b10(0x1ac)];if(_0xf5af3f&&_0xf5af3f!==_0x19e3af)throw new Error(_0x4e7b10(0x2d9)+_0xf5af3f+_0x4e7b10(0x23f)+_0x19e3af+'.');return{..._0x5b174f,'id':_0x19e3af,'type':_0x20421d,'params':{'unitId':_0x5a31d4[_0x4e7b10(0x429)],'textRanges':_0x5a31d4['textRanges'],'actions':_0x793e71[_0x4e7b10(0x2d8)](_0x24083e[_0x4e7b10(0x1ae)],_0x5a31d4[_0x4e7b10(0x1ae)])}};},{})],_0x5e97ee=(_0x19cc69=(_0x34a4e3=_0x33871e[_0x964507(0x38f)]())==null?void 0x0:_0x34a4e3[_0x964507(0x2c6)])!=null?_0x19cc69:_0x964507(0x23d),_0x48644d=(_0x379018=(_0x2be693=_0x33871e['getCurrentUser']())==null?void 0x0:_0x2be693['memberID'])!=null?_0x379018:'unknown';return{'changeset':{'unitID':_0x4adb41,'type':_0x5039ad(_0x2ad420[_0x964507(0x230)](_0x4adb41)),'baseRev':_0x1af0fa[_0x964507(0x415)](_0x4adb41),'revision':0x0,'userID':_0x5e97ee,'memberID':_0x48644d,'mutations':_0x321be8},'pendingMutations':[]};}function Oi(_0xc7c108,_0x521cfe){var _0x155bf4=_0xb8d684;const _0x9a7df8=new _0x1902b3(0x1);return setTimeout(()=>_0x9a7df8[_0x155bf4(0x437)](_0x521cfe),_0xc7c108),_0x9a7df8['asObservable']()[_0x155bf4(0x271)](_0x48a2a7(0x1));}const ms={'id':_0x46339f['id'],'type':_0x10da48[_0xb8d684(0x3c3)],'params':{}};var gs=Object[_0xb8d684(0x37d)],Ss=Object['getOwnPropertyDescriptor'],be=(_0x238047,_0x3316ce,_0x1a52c4,_0x5aa4be)=>{var _0x406b5b=_0xb8d684;for(var _0x4e3eb0=_0x5aa4be>0x1?void 0x0:_0x5aa4be?Ss(_0x3316ce,_0x1a52c4):_0x3316ce,_0x23228c=_0x238047[_0x406b5b(0x277)]-0x1,_0x49a712;_0x23228c>=0x0;_0x23228c--)(_0x49a712=_0x238047[_0x23228c])&&(_0x4e3eb0=(_0x5aa4be?_0x49a712(_0x3316ce,_0x1a52c4,_0x4e3eb0):_0x49a712(_0x4e3eb0))||_0x4e3eb0);return _0x5aa4be&&_0x4e3eb0&&gs(_0x3316ce,_0x1a52c4,_0x4e3eb0),_0x4e3eb0;},A=(_0x2b6196,_0x4f91db)=>(_0x58ad7f,_0x4f010a)=>_0x4f91db(_0x58ad7f,_0x4f010a,_0x2b6196),Pi=(_0x3260e2=>(_0x3260e2[_0xb8d684(0x364)]=_0xb8d684(0x374),_0x3260e2[_0xb8d684(0x297)]=_0xb8d684(0x436),_0x3260e2[_0xb8d684(0x2cd)]=_0xb8d684(0x414),_0x3260e2[_0xb8d684(0x159)]='awaiting',_0x3260e2[_0xb8d684(0x17d)]='awaiting_with_pending',_0x3260e2['FETCH_MISS']=_0xb8d684(0x2bd),_0x3260e2['CONFLICT']=_0xb8d684(0x36f),_0x3260e2[_0xb8d684(0x24a)]=_0xb8d684(0x1fb),_0x3260e2))(Pi||{});const Di=0xea60;class Re{constructor(_0x2a80f7,_0x33d575,_0x473eb5,_0x343868,_0x16a7bf,_0x3c094d,_0xcbdc20,_0x15f77d,_0x1f54ec){var _0x4a648c=_0xb8d684;N(this,_0x4a648c(0x2f9),null),N(this,_0x4a648c(0x318),[]),(this[_0x4a648c(0x3d3)]=_0x2a80f7,this[_0x4a648c(0x145)]=_0x33d575,this['_handler']=_0x16a7bf,this[_0x4a648c(0x1e5)]=_0x3c094d,this['_undoRedoService']=_0xcbdc20,this[_0x4a648c(0x23e)]=_0x15f77d,this[_0x4a648c(0x144)]=_0x1f54ec,this['_awaitingChangeset']=_0x473eb5,this['_pendingMutations']=_0x343868);}[_0xb8d684(0x201)](_0x40718f){var _0x25f4e9=_0xb8d684;const _0x27ca49=this[_0x25f4e9(0x23e)]['getCurrentRevOfUnit'](this['unitID']);return _0x40718f[_0x25f4e9(0x419)]>_0x27ca49+0x1?(this['_handler']['onMissingChangesets']({'from':_0x27ca49,'to':_0x40718f[_0x25f4e9(0x419)]-0x1}),!0x0):!0x1;}[_0xb8d684(0x219)](_0x271596){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x271596);}[_0xb8d684(0x1da)](_0x2939b9){var _0x1bcad3=_0xb8d684,_0x98d5d5,_0x1a4558;(_0x1a4558=(_0x98d5d5=this['_handler'])['onTransformSelections'])==null||_0x1a4558[_0x1bcad3(0x2fa)](_0x98d5d5,_0x2939b9);}[_0xb8d684(0x2e3)](_0x120390){var _0x475c53=_0xb8d684,_0x2f256d,_0x499db3;return(_0x499db3=(_0x2f256d=this[_0x475c53(0x2af)])[_0x475c53(0x2c9)])==null?void 0x0:_0x499db3[_0x475c53(0x2fa)](_0x2f256d,_0x120390);}['_transformStateCache'](_0x3698f8){var _0x2b8917=_0xb8d684,_0x8857ba,_0x305ff3;return(_0x305ff3=(_0x8857ba=this[_0x2b8917(0x2af)])[_0x2b8917(0x1d2)])==null?void 0x0:_0x305ff3[_0x2b8917(0x2fa)](_0x8857ba,_0x3698f8);}[_0xb8d684(0x38a)](_0x2dc5fe){var _0x25f5ca=_0xb8d684,_0x278d16,_0x51e0e3,_0x1f29a2;return(_0x1f29a2=(_0x51e0e3=(_0x278d16=this['_handler'])[_0x25f5ca(0x199)])==null?void 0x0:_0x51e0e3[_0x25f5ca(0x2fa)](_0x278d16,_0x2dc5fe))!=null?_0x1f29a2:_0x2dc5fe;}[_0xb8d684(0x25e)](_0x504fe9){var _0x40336=_0xb8d684,_0x4fe5d7,_0x15bec0,_0x1e9952;return(_0x1e9952=(_0x15bec0=(_0x4fe5d7=this[_0x40336(0x2af)])[_0x40336(0x21d)])==null?void 0x0:_0x15bec0[_0x40336(0x2fa)](_0x4fe5d7,_0x504fe9))!=null?_0x1e9952:_0x504fe9;}['_syncEditingCollabCursor'](_0x4c95c3){var _0x53fe44=_0xb8d684,_0x141318,_0x4a0ca9;if(this[_0x53fe44(0x145)]===Q[_0x53fe44(0x346)]){const {unitID:_0x5b2d6d,mutations:_0x1280e4,memberID:_0x14ea55}=_0x4c95c3,_0x590c84=_0x1280e4[0x0][_0x53fe44(0x1ac)][_0x53fe44(0x213)];Array['isArray'](_0x590c84)&&_0x590c84[_0x53fe44(0x277)]>0x0&&((_0x4a0ca9=(_0x141318=this[_0x53fe44(0x2af)])[_0x53fe44(0x360)])==null||_0x4a0ca9[_0x53fe44(0x2fa)](_0x141318,{'unitID':_0x5b2d6d,'memberID':_0x14ea55,'textRanges':_0x590c84}));}}[_0xb8d684(0x26f)](){var _0x44a333=_0xb8d684,_0x4abac3;(_0x4abac3=this['_localCacheService'])==null||_0x4abac3[_0x44a333(0x224)](this[_0x44a333(0x3d3)],this[_0x44a333(0x145)],this[_0x44a333(0x2f9)],this[_0x44a333(0x318)]);}[_0xb8d684(0x3d8)](){var _0x50a86c=_0xb8d684;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x50a86c(0x3d3)]);}[_0xb8d684(0x304)](){var _0x1d611c=_0xb8d684;this[_0x1d611c(0x23e)][_0x1d611c(0x35a)](this[_0x1d611c(0x3d3)]);}[_0xb8d684(0x3db)](_0x160ab9){var _0x4d7e93=_0xb8d684,_0x4e72cd;let _0x3e94ac=this[_0x4d7e93(0x38a)](_0x160ab9);_0x3e94ac=this[_0x4d7e93(0x25e)](_0x3e94ac);const _0x9c18d5=_0x33e15e(_0x3e94ac[_0x4d7e93(0x1e6)],this['_commandService'],{'fromCollab':!0x0});if(!_0x9c18d5['result'])throw _0x9c18d5[_0x4d7e93(0x282)]instanceof Error?_0x9c18d5['error']:new Error((_0x4e72cd=_0x9c18d5[_0x4d7e93(0x282)])!=null?_0x4e72cd:_0x4d7e93(0x167));this['_transformIMECache'](_0x3e94ac),this[_0x4d7e93(0x3bb)](_0x3e94ac),this[_0x4d7e93(0x219)](_0x160ab9),this['_transformSelections'](_0x3e94ac),this[_0x4d7e93(0x155)](_0x3e94ac),this[_0x4d7e93(0x304)]();}}let Pe=class extends Re{constructor(_0x284aeb,_0x2ee9e1,_0x49282d,_0x323889,_0xb7f12d,_0x82d33f,_0x573512,_0x2250ee,_0x1479da,_0x4dbee6){var _0x33882f=_0xb8d684;super(_0x284aeb,_0x2ee9e1,null,[],_0x49282d,_0x573512,_0x82d33f,_0x323889,_0x4dbee6),N(this,_0x33882f(0x41d),_0x33882f(0x436)),(this[_0x33882f(0x42d)]=_0xb7f12d,this[_0x33882f(0x2f4)]=_0x2250ee,this['_transformService']=_0x1479da,this[_0x33882f(0x2dd)]=_0x4dbee6);}[_0xb8d684(0x209)](_0x354b74){var _0x1b77af=_0xb8d684;const _0x2773a2=this['_injector']['createInstance'](re,this[_0x1b77af(0x3d3)],this[_0x1b77af(0x145)],[_0x354b74],this[_0x1b77af(0x2af)]);return _0x2773a2[_0x1b77af(0x1f9)](),_0x2773a2[_0x1b77af(0x26f)](),_0x2773a2;}[_0xb8d684(0x1d9)](_0x222115){var _0x1aebf0=_0xb8d684;if(this[_0x1aebf0(0x201)](_0x222115))return this[_0x1aebf0(0x42d)]['createInstance'](te,this[_0x1aebf0(0x3d3)],this[_0x1aebf0(0x145)],null,[],null,[_0x222115],this[_0x1aebf0(0x2af)]);try{const _0x5b72b4=this['_transformService'][_0x1aebf0(0x35b)](_0x222115,[ms]);if(_0x4827c8(_0x5b72b4)){const {c1Prime:_0x20a074}=_0x5b72b4;return this[_0x1aebf0(0x3db)](_0x20a074),this;}throw _0x5b72b4[_0x1aebf0(0x282)];}catch(_0x3be74b){return this['_logService'][_0x1aebf0(0x282)](_0x3be74b),this[_0x1aebf0(0x43b)](!0x1);}}[_0xb8d684(0x43b)](_0x4391f7){var _0x48de36=_0xb8d684;return this['_injector'][_0x48de36(0x2ae)](de,this[_0x48de36(0x3d3)],this[_0x48de36(0x145)],null,[],this[_0x48de36(0x2af)],_0x4391f7);}[_0xb8d684(0x24e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xb8d684(0x26b)](){var _0x181043=_0xb8d684;throw new Error(_0x181043(0x152));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x1d92f1=_0xb8d684;return this[_0x1d92f1(0x42d)][_0x1d92f1(0x2ae)](fe,this[_0x1d92f1(0x3d3)],this['type'],null,[],this['_handler']);}[_0xb8d684(0x247)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x167c46=_0xb8d684;const _0x3c58f6=this[_0x167c46(0x23e)][_0x167c46(0x415)](this['unitID']);return this[_0x167c46(0x2af)][_0x167c46(0x272)]({'from':_0x3c58f6,'to':0x0}),this[_0x167c46(0x42d)]['createInstance'](te,this[_0x167c46(0x3d3)],this[_0x167c46(0x145)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x326892(_0x58f57a)),A(0x4,_0x326892(_0x5b782f)),A(0x5,_0xd54f7f),A(0x6,_0x773321),A(0x7,_0x3ed4aa),A(0x8,_0x33c803),A(0x9,_0x14dc81(X))],Pe);let re=class extends Re{constructor(_0xe6984b,_0x20d6d5,_0x3fe499,_0xee6864,_0x20bfa2,_0x4bd35d,_0x47fc33,_0x319f6c,_0x1c7175,_0x1a8081,_0x268b0c,_0x4f87f0,_0x15c428,_0x224b04){var _0x49002d=_0xb8d684;super(_0xe6984b,_0x20d6d5,null,_0x3fe499,_0xee6864,_0x1c7175,_0x15c428,_0x4bd35d,_0x224b04),N(this,_0x49002d(0x41d),_0x49002d(0x414)),N(this,_0x49002d(0x31a),null),N(this,_0x49002d(0x18a),null),(this[_0x49002d(0x42d)]=_0x20bfa2,this['_memberService']=_0x47fc33,this['_logService']=_0x319f6c,this[_0x49002d(0x383)]=_0x1a8081,this[_0x49002d(0x181)]=_0x268b0c,this[_0x49002d(0x3c2)]=_0x4f87f0);}[_0xb8d684(0x209)](_0x22bd9b){var _0xb8b296=_0xb8d684;return this[_0xb8b296(0x318)][_0xb8b296(0x3e8)](_0x22bd9b),this[_0xb8b296(0x26f)](),this;}[_0xb8d684(0x1d9)](_0x4ecce7){var _0x104156=_0xb8d684;if(this[_0x104156(0x201)](_0x4ecce7))return this[_0x104156(0x3da)](),this[_0x104156(0x42d)][_0x104156(0x2ae)](te,this[_0x104156(0x3d3)],this[_0x104156(0x145)],null,this['_pendingMutations'],null,[_0x4ecce7],this['_handler']);try{const _0x1d0d12=this['_transformService']['transformMutationsWithChangeset'](_0x4ecce7,this[_0x104156(0x318)]);if(_0x4827c8(_0x1d0d12)){const {c1Prime:_0x597fea,m2Prime:_0x22f12d}=_0x1d0d12;this[_0x104156(0x3db)](_0x597fea);const _0x457ae8=this[_0x104156(0x42d)][_0x104156(0x2ae)](re,this[_0x104156(0x3d3)],this[_0x104156(0x145)],_0x22f12d,this[_0x104156(0x2af)]);return this[_0x104156(0x3da)](),_0x457ae8[_0x104156(0x1f9)](this[_0x104156(0x31a)]?Math[_0x104156(0x3fd)](0x0,new Date()[_0x104156(0x1c7)]()-this[_0x104156(0x31a)]):this[_0x104156(0x32a)]()),_0x457ae8;}throw _0x1d0d12[_0x104156(0x282)];}catch(_0x5f1e8f){return this[_0x104156(0x2f4)][_0x104156(0x282)](_0x5f1e8f),this['_onConflict'](!0x1);}}[_0xb8d684(0x24e)](){var _0x4a11f8=_0xb8d684;throw new Error(_0x4a11f8(0x16c));}[_0xb8d684(0x26b)](){var _0x178be3=_0xb8d684;throw new Error(_0x178be3(0x142));}[_0xb8d684(0x382)](){return this;}[_0xb8d684(0x309)](){var _0x4b2da3=_0xb8d684;return this[_0x4b2da3(0x3da)](),this[_0x4b2da3(0x42d)][_0x4b2da3(0x2ae)](fe,this[_0x4b2da3(0x3d3)],this['type'],null,this['_pendingMutations'],this[_0x4b2da3(0x2af)]);}[_0xb8d684(0x247)](){return this;}[_0xb8d684(0x1f9)](_0x3db314){var _0x595ed2=_0xb8d684;const _0x3df2a4=_0x3db314!=null?_0x3db314:this['_getSendChangesetTimeout']();this[_0x595ed2(0x31a)]=new Date()[_0x595ed2(0x1c7)](),this[_0x595ed2(0x18a)]=window['setTimeout'](()=>{var _0x46948f=_0x595ed2;this[_0x46948f(0x3da)]();let _0x42d7ef=null;switch(this[_0x46948f(0x145)]){case Q[_0x46948f(0x238)]:{_0x42d7ef=Jt(this['_pendingMutations'],this[_0x46948f(0x3d3)],this['_univerInstanceService'],this[_0x46948f(0x23e)],this[_0x46948f(0x3f8)]);break;}case Q[_0x46948f(0x346)]:{this[_0x46948f(0x318)][_0x46948f(0x1a0)](_0x2352eb=>_0x2352eb['id']===_0x3a4305['id'])?_0x42d7ef=ps(this[_0x46948f(0x318)],this['unitID'],this[_0x46948f(0x3c2)],this[_0x46948f(0x23e)],this[_0x46948f(0x3f8)]):_0x42d7ef=Jt(this[_0x46948f(0x318)],this[_0x46948f(0x3d3)],this['_univerInstanceService'],this['_revisionService'],this[_0x46948f(0x3f8)]);break;}default:throw new Error(_0x46948f(0x2cf)+this[_0x46948f(0x145)]+'\x20in\x20_schedule.');}const {changeset:_0x400639,pendingMutations:_0x5a67e3}=_0x42d7ef;this[_0x46948f(0x2af)][_0x46948f(0x31c)](_0x400639);const _0x3b7196=_0x5a67e3[_0x46948f(0x277)]?this['_injector'][_0x46948f(0x2ae)](oe,this[_0x46948f(0x3d3)],this[_0x46948f(0x145)],_0x400639,_0x5a67e3,this[_0x46948f(0x2af)],void 0x0):this[_0x46948f(0x42d)]['createInstance'](ue,this[_0x46948f(0x3d3)],this['type'],_0x400639,this[_0x46948f(0x2af)]);_0x3b7196[_0x46948f(0x26f)](),this[_0x46948f(0x2af)][_0x46948f(0x194)](this,_0x3b7196);},_0x3df2a4);}[_0xb8d684(0x32a)](){var _0xec0065=_0xb8d684,_0x52dbce;const _0x5e3edb=this[_0xec0065(0x383)][_0xec0065(0x262)](Y);return(_0x52dbce=_0x5e3edb==null?void 0x0:_0x5e3edb[_0xec0065(0x34a)])!=null?_0x52dbce:Pn;}[_0xb8d684(0x179)](){var _0x1597d6=_0xb8d684;throw new Error(_0x1597d6(0x24b));}[_0xb8d684(0x3da)](){var _0x40f3b9=_0xb8d684;this['_sendingTimer']!=null&&(clearTimeout(this[_0x40f3b9(0x18a)]),this[_0x40f3b9(0x18a)]=null);}[_0xb8d684(0x43b)](_0xd3a8cb){var _0x19bd97=_0xb8d684;return this[_0x19bd97(0x3da)](),this[_0x19bd97(0x42d)][_0x19bd97(0x2ae)](de,this[_0x19bd97(0x3d3)],this['type'],null,this[_0x19bd97(0x318)],this['_handler'],_0xd3a8cb);}};re=be([A(0x4,_0x326892(_0x5b782f)),A(0x5,_0x326892(_0x58f57a)),A(0x6,_0x326892(Le)),A(0x7,_0x3ed4aa),A(0x8,_0x773321),A(0x9,_0x3a81dd),A(0xa,_0x33c803),A(0xb,_0x548c55),A(0xc,_0xd54f7f),A(0xd,_0x14dc81(X))],re);let ue=class extends Re{constructor(_0x1c2e95,_0x3757e7,_0x29116d,_0x4d51d2,_0x273503,_0x4268d9,_0x5c4ac9,_0xb68f5a,_0x44eea0,_0x5e3dab,_0x2cf605){var _0x224960=_0xb8d684;super(_0x1c2e95,_0x3757e7,_0x29116d,[],_0x4d51d2,_0x5c4ac9,_0x5e3dab,_0x4268d9,_0x2cf605),N(this,'status','awaiting'),N(this,_0x224960(0x2f1),0x0),N(this,_0x224960(0x215)),N(this,_0x224960(0x28e)),(this[_0x224960(0x42d)]=_0x273503,this[_0x224960(0x2f4)]=_0xb68f5a,this[_0x224960(0x181)]=_0x44eea0);}[_0xb8d684(0x209)](_0x1bd7fb){var _0x46aa3b=_0xb8d684;this[_0x46aa3b(0x3da)]();const _0x67e1d6=this[_0x46aa3b(0x42d)]['createInstance'](oe,this[_0x46aa3b(0x3d3)],this['type'],this[_0x46aa3b(0x2f9)],[_0x1bd7fb],this[_0x46aa3b(0x2af)],this[_0x46aa3b(0x215)]);return _0x67e1d6['_updateLocalCache'](),_0x67e1d6;}['onRemoteChangeset'](_0x4da184){var _0x20eeb3=_0xb8d684;if(this[_0x20eeb3(0x201)](_0x4da184))return this[_0x20eeb3(0x3da)](),this['_injector']['createInstance'](te,this[_0x20eeb3(0x3d3)],this[_0x20eeb3(0x145)],this[_0x20eeb3(0x2f9)],[],null,[_0x4da184],this[_0x20eeb3(0x2af)]);try{const _0xcd4426=this[_0x20eeb3(0x181)]['transformChangesets']([_0x4da184],[this[_0x20eeb3(0x2f9)]],!0x1);if(_0x39a996(_0xcd4426)){const {c1Prime:_0x10a99a,c2Prime:_0x2c6b13}=_0xcd4426;this[_0x20eeb3(0x3db)](_0x10a99a[0x0]),_0x2c6b13[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x20eeb3(0x3da)]();const _0xefc71f=this['_injector'][_0x20eeb3(0x2ae)](ue,this['unitID'],this[_0x20eeb3(0x145)],_0x2c6b13[0x0],this[_0x20eeb3(0x2af)]);return _0xefc71f[_0x20eeb3(0x26f)](),_0xefc71f;}return this[_0x20eeb3(0x43b)](!0x1);}catch(_0x416577){return this[_0x20eeb3(0x2f4)]['error'](_0x416577),this[_0x20eeb3(0x43b)](!0x1);}}[_0xb8d684(0x24e)](_0x45279c){var _0x7db27e=_0xb8d684;this[_0x7db27e(0x3da)]();const _0x4e973d=this[_0x7db27e(0x23e)][_0x7db27e(0x415)](this[_0x7db27e(0x3d3)]);if(_0x45279c[_0x7db27e(0x419)]<_0x4e973d-0x1)return this;if(this[_0x7db27e(0x201)](_0x45279c))return this[_0x7db27e(0x42d)]['createInstance'](te,this[_0x7db27e(0x3d3)],this[_0x7db27e(0x145)],null,[],this[_0x7db27e(0x2f9)],[],this[_0x7db27e(0x2af)]);this[_0x7db27e(0x304)]();const _0x55bc98=this[_0x7db27e(0x42d)]['createInstance'](Pe,this[_0x7db27e(0x3d3)],this[_0x7db27e(0x145)],this['_handler']);return _0x55bc98['_updateLocalCache'](),_0x55bc98;}[_0xb8d684(0x26b)](_0x3474a9){var _0x5ebb15=_0xb8d684;return this[_0x5ebb15(0x43b)](!!(_0x3474a9!=null&&_0x3474a9[_0x5ebb15(0x3b9)]));}[_0xb8d684(0x382)](_0x385ae0){var _0x1ed9bf=_0xb8d684;return this[_0x1ed9bf(0x2f1)]>Di?this[_0x1ed9bf(0x309)]():(this[_0x1ed9bf(0x215)]=Oi(this[_0x1ed9bf(0x2f1)],{'timeout':this[_0x1ed9bf(0x2f1)],'reqId':_0x385ae0[_0x1ed9bf(0x1df)]}),this[_0x1ed9bf(0x28e)]=this['_resendTimer'][_0x1ed9bf(0x408)](({reqId:_0x32efbe,timeout:_0x5a9afb})=>{var _0x3179ae=_0x1ed9bf;this[_0x3179ae(0x28b)](_0x32efbe,_0x5a9afb);}),this);}[_0xb8d684(0x309)](){var _0x20d022=_0xb8d684;return this[_0x20d022(0x3da)](),this[_0x20d022(0x42d)][_0x20d022(0x2ae)](fe,this[_0x20d022(0x3d3)],this[_0x20d022(0x145)],this[_0x20d022(0x2f9)],[],this[_0x20d022(0x2af)]);}['toggleOnline'](){return this;}[_0xb8d684(0x179)](){var _0x46f25a=_0xb8d684;this[_0x46f25a(0x2af)][_0x46f25a(0x31c)](this['_awaitingChangeset']);}['_onConflict'](_0x5e37d5){var _0x4e0b02=_0xb8d684;return this['_clearScheduledTask'](),this[_0x4e0b02(0x42d)][_0x4e0b02(0x2ae)](de,this[_0x4e0b02(0x3d3)],this[_0x4e0b02(0x145)],this[_0x4e0b02(0x2f9)],[],this[_0x4e0b02(0x2af)],_0x5e37d5);}[_0xb8d684(0x28b)](_0x4e385f,_0x3b9966){var _0x2e0ea6=_0xb8d684,_0x2549e5;_0x4e385f===((_0x2549e5=this[_0x2e0ea6(0x2f9)])==null?void 0x0:_0x2549e5[_0x2e0ea6(0x1df)])&&(this[_0x2e0ea6(0x179)](),this[_0x2e0ea6(0x2f1)]=_0x3b9966===0x0?0x3e8:_0x3b9966*0x2);}[_0xb8d684(0x3da)](){var _0x315ca2=_0xb8d684,_0x59dfca;(_0x59dfca=this[_0x315ca2(0x28e)])==null||_0x59dfca['unsubscribe'](),this[_0x315ca2(0x2f1)]=0x0;}};ue=be([A(0x4,_0x326892(_0x5b782f)),A(0x5,_0x326892(_0x58f57a)),A(0x6,_0x773321),A(0x7,_0x3ed4aa),A(0x8,_0x33c803),A(0x9,_0xd54f7f),A(0xa,_0x14dc81(X))],ue);let oe=class extends Re{constructor(_0x423b22,_0x405acd,_0x336ada,_0x57bc05,_0x226590,_0x32275a,_0xf6eeb3,_0x19e1e3,_0x3a108d,_0x17e9fe,_0x3c406a,_0x33eef6,_0x573b94){var _0x1afe5b=_0xb8d684;super(_0x423b22,_0x405acd,_0x336ada,_0x57bc05,_0x226590,_0x3a108d,_0x33eef6,_0x19e1e3,_0x573b94),N(this,_0x1afe5b(0x41d),_0x1afe5b(0x354)),N(this,_0x1afe5b(0x2f1),0x0),N(this,_0x1afe5b(0x215)),N(this,_0x1afe5b(0x28e)),(this[_0x1afe5b(0x42d)]=_0xf6eeb3,this[_0x1afe5b(0x2f4)]=_0x17e9fe,this[_0x1afe5b(0x181)]=_0x3c406a,this[_0x1afe5b(0x2dd)]=_0x573b94,_0x32275a&&(this['_resendTimer']=_0x32275a,this[_0x1afe5b(0x28e)]=this[_0x1afe5b(0x215)]['subscribe'](({reqId:_0x538796,timeout:_0x3529f3})=>{var _0x57f9a0=_0x1afe5b;this[_0x57f9a0(0x28b)](_0x538796,_0x3529f3);})));}['appendMutation'](_0x319a38){var _0x21d21c=_0xb8d684;return this[_0x21d21c(0x318)]['push'](_0x319a38),this;}[_0xb8d684(0x1d9)](_0x4b2f8c){var _0x229331=_0xb8d684;if(this[_0x229331(0x201)](_0x4b2f8c))return this[_0x229331(0x3da)](),this[_0x229331(0x42d)][_0x229331(0x2ae)](te,this[_0x229331(0x3d3)],this[_0x229331(0x145)],this[_0x229331(0x2f9)],this[_0x229331(0x318)],null,[_0x4b2f8c],this['_handler']);try{const _0x3cbc28=this[_0x229331(0x181)]['transformChangesets']([_0x4b2f8c],[this[_0x229331(0x2f9)]],!0x1);if(_0x39a996(_0x3cbc28)){const {c1Prime:_0xed0dda,c2Prime:_0x2b35dc}=_0x3cbc28,_0xea261b=this[_0x229331(0x181)]['transformMutationsWithChangeset'](_0xed0dda[0x0],this['_pendingMutations']);if(_0x4827c8(_0xea261b)){const {c1Prime:_0x333ce2,m2Prime:_0x43f004}=_0xea261b;return this[_0x229331(0x3db)](_0x333ce2),_0x2b35dc[0x0][_0x229331(0x21f)]=this[_0x229331(0x3d8)](),this[_0x229331(0x3da)](),this[_0x229331(0x42d)]['createInstance'](oe,this[_0x229331(0x3d3)],this[_0x229331(0x145)],_0x2b35dc[0x0],_0x43f004,this['_handler'],void 0x0);}throw _0xea261b[_0x229331(0x282)];}throw _0x3cbc28['error'];}catch(_0x16df94){return this[_0x229331(0x2f4)][_0x229331(0x282)](_0x16df94),this[_0x229331(0x43b)](!0x1);}}['onRemoteAck'](_0x3f3af6){var _0x3ee550=_0xb8d684;if(this[_0x3ee550(0x3da)](),this[_0x3ee550(0x201)](_0x3f3af6))return this[_0x3ee550(0x42d)]['createInstance'](te,this[_0x3ee550(0x3d3)],this[_0x3ee550(0x145)],null,this[_0x3ee550(0x318)],this[_0x3ee550(0x2f9)],[],this[_0x3ee550(0x2af)]);this[_0x3ee550(0x304)]();const _0x1f301d=this['_injector'][_0x3ee550(0x2ae)](re,this['unitID'],this[_0x3ee550(0x145)],this['_pendingMutations'],this[_0x3ee550(0x2af)]);return _0x1f301d[_0x3ee550(0x1f9)](),_0x1f301d['_updateLocalCache'](),_0x1f301d;}[_0xb8d684(0x26b)](_0x200856){var _0x2b4571=_0xb8d684;return this[_0x2b4571(0x43b)](!!(_0x200856!=null&&_0x200856[_0x2b4571(0x3b9)]));}[_0xb8d684(0x382)](_0x2ffa54){var _0x8c6ff9=_0xb8d684;return this[_0x8c6ff9(0x2f1)]>Di?this[_0x8c6ff9(0x309)]():(this['_resendTimer']=Oi(this[_0x8c6ff9(0x2f1)],{'timeout':this[_0x8c6ff9(0x2f1)],'reqId':_0x2ffa54[_0x8c6ff9(0x1df)]}),this['_sender']=this[_0x8c6ff9(0x215)][_0x8c6ff9(0x408)](({reqId:_0x31e138,timeout:_0x181102})=>{var _0x5dd43a=_0x8c6ff9;this[_0x5dd43a(0x28b)](_0x31e138,_0x181102);}),this);}[_0xb8d684(0x309)](){var _0x4c3325=_0xb8d684;return this[_0x4c3325(0x3da)](),this[_0x4c3325(0x42d)][_0x4c3325(0x2ae)](fe,this['unitID'],this[_0x4c3325(0x145)],this[_0x4c3325(0x2f9)],this['_pendingMutations'],this['_handler']);}[_0xb8d684(0x247)](){return this;}[_0xb8d684(0x179)](){var _0x58cb97=_0xb8d684;this[_0x58cb97(0x2af)]['onSendChangeset'](this[_0x58cb97(0x2f9)]);}['_onConflict'](_0x3104fa){var _0x2cf3a6=_0xb8d684;return this[_0x2cf3a6(0x3da)](),this[_0x2cf3a6(0x42d)]['createInstance'](de,this[_0x2cf3a6(0x3d3)],this[_0x2cf3a6(0x145)],null,this[_0x2cf3a6(0x318)],this[_0x2cf3a6(0x2af)],_0x3104fa);}['_resendWithTimeout'](_0x353005,_0x1ecc99){var _0x17844b=_0xb8d684,_0x51b4ec;_0x353005===((_0x51b4ec=this[_0x17844b(0x2f9)])==null?void 0x0:_0x51b4ec[_0x17844b(0x1df)])&&(this[_0x17844b(0x179)](),this[_0x17844b(0x2f1)]=_0x1ecc99===0x0?0x3e8:_0x1ecc99*0x2);}['_clearScheduledTask'](){var _0x240014=_0xb8d684,_0x2e2b51;(_0x2e2b51=this[_0x240014(0x28e)])==null||_0x2e2b51[_0x240014(0x195)](),this['_resendTimeout']=0x0;}};oe=be([A(0x6,_0x326892(_0x5b782f)),A(0x7,_0x326892(_0x58f57a)),A(0x8,_0x773321),A(0x9,_0x3ed4aa),A(0xa,_0x33c803),A(0xb,_0xd54f7f),A(0xc,_0x14dc81(X))],oe);let de=class extends Re{constructor(_0x56c7d8,_0x5203c8,_0x2cce40,_0x2d7a92,_0x2c64b9,_0x1d7367=!0x1,_0x2dbbe9,_0x206b34,_0x274e46,_0x13c1b5,_0xd9e29c,_0x236f71,_0x5f0892){var _0x3ace7a=_0xb8d684;super(_0x56c7d8,_0x5203c8,_0x2cce40,_0x2d7a92,_0x2c64b9,_0x206b34,_0x274e46,_0x13c1b5,_0x5f0892),N(this,_0x3ace7a(0x41d),_0x3ace7a(0x36f)),(this[_0x3ace7a(0x1e9)]=_0x1d7367,this['_permissionService']=_0x2dbbe9,this['_localeService']=_0xd9e29c,this['_collaborationUIEventService']=_0x236f71,this[_0x3ace7a(0x2dd)]=_0x5f0892,this[_0x3ace7a(0x34b)](),this['_clearLocalCache'](),this[_0x3ace7a(0x21c)]());}[_0xb8d684(0x209)](){return this;}[_0xb8d684(0x1d9)](){return this;}[_0xb8d684(0x24e)](){return this;}[_0xb8d684(0x26b)](){return this;}[_0xb8d684(0x382)](){return this;}[_0xb8d684(0x309)](){return this;}[_0xb8d684(0x247)](){return this;}['resend'](){var _0x375483=_0xb8d684;throw new Error(_0x375483(0x385));}[_0xb8d684(0x196)](){var _0x485ba7=_0xb8d684,_0xcdec44;(_0xcdec44=this[_0x485ba7(0x144)])==null||_0xcdec44['updateOfflineData'](this[_0x485ba7(0x3d3)],this[_0x485ba7(0x145)],null,[]);}[_0xb8d684(0x34b)](){var _0x328e4a=_0xb8d684;this['_isPermissionRej']?this[_0x328e4a(0x3d2)][_0x328e4a(0x39d)]({'id':se[_0x328e4a(0x253)]}):this[_0x328e4a(0x3d2)][_0x328e4a(0x39d)]({'id':se['CONFLICT']});}[_0xb8d684(0x21c)](){var _0x2d5358=_0xb8d684;this[_0x2d5358(0x435)][_0x2d5358(0x3d0)](new _0x561a4b(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x326892(_0x2a759d)),A(0x7,_0x773321),A(0x8,_0xd54f7f),A(0x9,_0x326892(_0x58f57a)),A(0xa,_0x326892(_0x43ac4b)),A(0xb,_0x326892(pe)),A(0xc,_0x14dc81(X))],de);let fe=class extends Re{constructor(_0xdea3e0,_0x14295d,_0xa4c368,_0x344164,_0x157789,_0x52d398,_0x12a73a,_0x154090,_0x366f13,_0x199cd6){var _0x5a6ceb=_0xb8d684;super(_0xdea3e0,_0x14295d,_0xa4c368,_0x344164,_0x157789,_0x154090,_0x366f13,_0x12a73a,_0x199cd6),N(this,_0x5a6ceb(0x41d),_0x5a6ceb(0x1fb)),this[_0x5a6ceb(0x42d)]=_0x52d398;}[_0xb8d684(0x209)](_0x189435){var _0x327b25=_0xb8d684;return this['_pendingMutations'][_0x327b25(0x3e8)](_0x189435),this['_updateLocalCache'](),this;}[_0xb8d684(0x1d9)](_0x3c93a2){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xb8d684(0x24e)](){var _0x535111=_0xb8d684;throw new Error(_0x535111(0x41f));}[_0xb8d684(0x26b)](){var _0x198d6d=_0xb8d684;throw new Error(_0x198d6d(0x1b0));}[_0xb8d684(0x382)](){return this;}['toggleOffline'](){return this;}[_0xb8d684(0x247)](){var _0x5bd7b7=_0xb8d684;const {_injector:_0x151732,_pendingMutations:_0x391855,_awaitingChangeset:_0x9b417d,unitID:_0x11cb16,_handler:_0x4a3722,type:_0x65e922}=this,_0x50055b=Ni(_0x151732,_0x11cb16,_0x65e922,_0x9b417d,_0x391855,_0x4a3722);return _0x50055b instanceof re?_0x50055b[_0x5bd7b7(0x1f9)]():(_0x50055b instanceof oe||_0x50055b instanceof ue)&&_0x50055b[_0x5bd7b7(0x179)](),_0x50055b;}['resend'](){var _0x2c14af=_0xb8d684;throw new Error(_0x2c14af(0x1b7));}};fe=be([A(0x5,_0x326892(_0x5b782f)),A(0x6,_0x326892(_0x58f57a)),A(0x7,_0x773321),A(0x8,_0xd54f7f),A(0x9,_0x14dc81(X))],fe);let te=class extends Re{constructor(_0x283ecd,_0x35bff7,_0x1c35dc,_0x2e312a,_0x2200b1,_0x13f39e,_0x3189e6,_0x349919,_0x5d980e,_0x590dd0,_0x209cea,_0x502f00,_0x18387e,_0x31f585){var _0x2f2322=_0xb8d684;super(_0x283ecd,_0x35bff7,_0x1c35dc,_0x2e312a,_0x3189e6,_0x209cea,_0x502f00,_0x5d980e,_0x31f585),N(this,_0x2f2322(0x41d),_0x2f2322(0x2bd)),(this[_0x2f2322(0x2e5)]=_0x2200b1,this[_0x2f2322(0x211)]=_0x13f39e,this['_injector']=_0x349919,this[_0x2f2322(0x2f4)]=_0x590dd0,this[_0x2f2322(0x181)]=_0x18387e,this['localCacheService']=_0x31f585);}[_0xb8d684(0x42c)](_0x54b856){var _0x2ca214=_0xb8d684;try{const _0x2bab3e=[..._0x54b856,...this['_queuedRemoteChangesets']],_0x5f53f5=[this[_0x2ca214(0x2f9)]||this[_0x2ca214(0x2e5)]][_0x2ca214(0x347)](_0x17591f=>!!_0x17591f);let _0x10eb27,_0x474bf0;if(_0x5f53f5[_0x2ca214(0x277)]){const _0x2218c0=this['_transformService'][_0x2ca214(0x427)](_0x2bab3e,_0x5f53f5,!0x1);if(!_0x39a996(_0x2218c0))throw _0x2218c0[_0x2ca214(0x282)];_0x10eb27=_0x2218c0['c1Prime'],_0x474bf0=_0x2218c0[_0x2ca214(0x2d1)];}else _0x10eb27=_0x2bab3e,_0x474bf0=[];let _0x5e2690=this[_0x2ca214(0x318)];_0x10eb27[_0x2ca214(0x407)](_0x381f2c=>{var _0x507b80=_0x2ca214;let _0x82ade1;if(_0x5e2690['length']){const _0x522498=this[_0x507b80(0x181)][_0x507b80(0x35b)](_0x381f2c,_0x5e2690);if(!_0x4827c8(_0x522498))throw _0x522498[_0x507b80(0x282)];_0x82ade1=_0x522498[_0x507b80(0x1e0)],_0x5e2690=_0x522498[_0x507b80(0x1a4)];}else _0x82ade1=_0x381f2c;this[_0x507b80(0x3db)](_0x82ade1);}),this[_0x2ca214(0x2e5)]&&this['_incrementRevisionNumber'](),this[_0x2ca214(0x2f9)]&&_0x474bf0['length']&&(_0x474bf0[0x0][_0x2ca214(0x21f)]=this[_0x2ca214(0x3d8)]());let _0x4766f3;if(this[_0x2ca214(0x2f9)]&&_0x5e2690[_0x2ca214(0x277)]!==0x0)_0x4766f3=this[_0x2ca214(0x42d)][_0x2ca214(0x2ae)](oe,this[_0x2ca214(0x3d3)],this['type'],_0x474bf0[0x0],_0x5e2690,this[_0x2ca214(0x2af)],void 0x0);else{if(this[_0x2ca214(0x2f9)]&&_0x5e2690[_0x2ca214(0x277)]===0x0)_0x474bf0[0x0]['baseRev']=this[_0x2ca214(0x3d8)](),_0x4766f3=this['_injector'][_0x2ca214(0x2ae)](ue,this[_0x2ca214(0x3d3)],this['type'],_0x474bf0[0x0],this[_0x2ca214(0x2af)]);else{if(_0x5e2690['length']!==0x0){const _0x10fa2d=this['_injector'][_0x2ca214(0x2ae)](re,this[_0x2ca214(0x3d3)],this[_0x2ca214(0x145)],_0x5e2690,this['_handler']);_0x10fa2d[_0x2ca214(0x1f9)](),_0x4766f3=_0x10fa2d;}else _0x4766f3=this[_0x2ca214(0x42d)][_0x2ca214(0x2ae)](Pe,this[_0x2ca214(0x3d3)],this[_0x2ca214(0x145)],this['_handler']);}}return _0x4766f3[_0x2ca214(0x26f)](),_0x4766f3;}catch(_0x3e8912){return this['_logService']['error'](_0x2ca214(0x263),_0x2ca214(0x343),_0x3e8912),this['_injector']['createInstance'](de,this[_0x2ca214(0x3d3)],this['type'],this['_awaitingChangeset'],this[_0x2ca214(0x318)],this[_0x2ca214(0x2af)],!0x1);}}[_0xb8d684(0x179)](){var _0x350622=_0xb8d684;throw new Error(_0x350622(0x283));}[_0xb8d684(0x209)](_0x28bb15){var _0x13803e=_0xb8d684;return this[_0x13803e(0x318)]['push'](_0x28bb15),this;}[_0xb8d684(0x1d9)](_0x56f097){return this['_queuedRemoteChangesets']['push'](_0x56f097),this;}[_0xb8d684(0x24e)](_0x4edd38){var _0xfe6ad2=_0xb8d684;if(this[_0xfe6ad2(0x2f9)])return this[_0xfe6ad2(0x2e5)]=this[_0xfe6ad2(0x2f9)],this[_0xfe6ad2(0x2f9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2b7923){var _0x4730f5=_0xb8d684;return this[_0x4730f5(0x43b)](!!(_0x2b7923!=null&&_0x2b7923['isPermissionRej']));}[_0xb8d684(0x382)](){return this;}['toggleOffline'](){var _0x32676e=_0xb8d684;return this[_0x32676e(0x42d)][_0x32676e(0x2ae)](fe,this['unitID'],this['type'],this[_0x32676e(0x2f9)],this['_pendingMutations'],this['_handler']);}[_0xb8d684(0x247)](){return this;}[_0xb8d684(0x43b)](_0xe76528){var _0x1f9efd=_0xb8d684;return this['_injector'][_0x1f9efd(0x2ae)](de,this[_0x1f9efd(0x3d3)],this[_0x1f9efd(0x145)],this[_0x1f9efd(0x2f9)],this[_0x1f9efd(0x318)],this[_0x1f9efd(0x2af)],_0xe76528);}};te=be([A(0x7,_0x326892(_0x5b782f)),A(0x8,_0x326892(_0x58f57a)),A(0x9,_0x3ed4aa),A(0xa,_0x773321),A(0xb,_0xd54f7f),A(0xc,_0x33c803),A(0xd,_0x14dc81(X))],te);function Ni(_0x2f5de3,_0x1f0c5b,_0x290624,_0x4e7302,_0x222890,_0x179879){var _0x4fd996=_0xb8d684;return _0x4e7302&&_0x222890[_0x4fd996(0x277)]?_0x2f5de3[_0x4fd996(0x2ae)](oe,_0x1f0c5b,_0x290624,_0x4e7302,_0x222890,_0x179879,void 0x0):_0x4e7302?_0x2f5de3[_0x4fd996(0x2ae)](ue,_0x1f0c5b,_0x290624,_0x4e7302,_0x179879):_0x222890[_0x4fd996(0x277)]?_0x2f5de3[_0x4fd996(0x2ae)](re,_0x1f0c5b,_0x290624,_0x222890,_0x179879):_0x2f5de3[_0x4fd996(0x2ae)](Pe,_0x1f0c5b,_0x290624,_0x179879);}var Es=Object[_0xb8d684(0x37d)],Is=Object['getOwnPropertyDescriptor'],Mt=(_0xa0ac7e,_0x14f408,_0xe434c1,_0x4c0751)=>{var _0x330d09=_0xb8d684;for(var _0x2cb94e=_0x4c0751>0x1?void 0x0:_0x4c0751?Is(_0x14f408,_0xe434c1):_0x14f408,_0x5efaca=_0xa0ac7e[_0x330d09(0x277)]-0x1,_0x132d0;_0x5efaca>=0x0;_0x5efaca--)(_0x132d0=_0xa0ac7e[_0x5efaca])&&(_0x2cb94e=(_0x4c0751?_0x132d0(_0x14f408,_0xe434c1,_0x2cb94e):_0x132d0(_0x2cb94e))||_0x2cb94e);return _0x4c0751&&_0x2cb94e&&Es(_0x14f408,_0xe434c1,_0x2cb94e),_0x2cb94e;},k=(_0x359f84,_0x4f8306)=>(_0x5af941,_0x13a264)=>_0x4f8306(_0x5af941,_0x13a264,_0x359f84);let st=class extends _0x292a49{constructor(_0x3cf4ef,_0x3fba91,_0x389aab,_0x2b98f0,_0x4a1775,_0x36641f,_0x248757,_0x434da2,_0x2f3c7a,_0x44e658,_0xf2e902,_0x31dc92,_0x298d4a){var _0x5559a1=_0xb8d684;super(),N(this,_0x5559a1(0x409),new _0x24c602(null)),N(this,_0x5559a1(0x1af),this[_0x5559a1(0x409)]['asObservable']()),N(this,_0x5559a1(0x30b)),N(this,_0x5559a1(0x2e8),!0x1),N(this,_0x5559a1(0x373),''),N(this,_0x5559a1(0x16b),0x0),N(this,_0x5559a1(0x32f),this[_0x5559a1(0x1af)][_0x5559a1(0x271)](_0x4f712c(_0x3595c8=>_0x3595c8?_0x3595c8[_0x5559a1(0x41d)]:Pi['OFFLINE']),_0x13a1fc(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x5559a1(0x16a),[]),(this[_0x5559a1(0x3d3)]=_0x3cf4ef,this[_0x5559a1(0x169)]=_0x3fba91,this[_0x5559a1(0x185)]=_0x389aab,this[_0x5559a1(0x42d)]=_0x2b98f0,this[_0x5559a1(0x2ed)]=_0x4a1775,this['_localeService']=_0x36641f,this[_0x5559a1(0x23e)]=_0x248757,this[_0x5559a1(0x324)]=_0x434da2,this[_0x5559a1(0x2f4)]=_0x2f3c7a,this[_0x5559a1(0x1e5)]=_0x44e658,this[_0x5559a1(0x435)]=_0xf2e902,this[_0x5559a1(0x330)]=_0x31dc92,this[_0x5559a1(0x144)]=_0x298d4a);}get[_0xb8d684(0x2fd)](){return this['_state'];}async[_0xb8d684(0x1c4)](){var _0x34929c=_0xb8d684;if(this[_0x34929c(0x2fd)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x34929c(0x1ed)]();}[_0xb8d684(0x30c)](){return this['_collaborationPaused']=!0x0,_0x1e396b(()=>{var _0x330c62=_0x47e4;this['_collaborationPaused']=!0x1,this[_0x330c62(0x191)]();});}[_0xb8d684(0x31d)](_0x3fb84f){var _0x57ff13=_0xb8d684;this[_0x57ff13(0x1cb)](_0x3fb84f);}[_0xb8d684(0x255)](_0x16b20f){var _0x50946f=_0xb8d684;this['_state']=_0x16b20f,this[_0x50946f(0x409)][_0x50946f(0x437)](_0x16b20f);}async[_0xb8d684(0x1ed)](){var _0x2f4261=_0xb8d684,_0x2ee03b;this['_updateState'](await this[_0x2f4261(0x2bb)]()),this[_0x2f4261(0x330)]&&((_0x2ee03b=this[_0x2f4261(0x330)])==null||_0x2ee03b[_0x2f4261(0x37c)](this[_0x2f4261(0x3d3)]),this[_0x2f4261(0x2e7)](this[_0x2f4261(0x330)][_0x2f4261(0x260)](this[_0x2f4261(0x3d3)])[_0x2f4261(0x408)](_0x14aa3b=>{var _0x5d8fb8=_0x2f4261;this[_0x5d8fb8(0x2f4)]['debug'](_0x5d8fb8(0x28f),'editing\x20status\x20changed\x20to',_0x14aa3b),_0x14aa3b===yi['OTHER_CLIENTS_EDITING']?(this[_0x5d8fb8(0x324)][_0x5d8fb8(0x39d)]({'id':se[_0x5d8fb8(0x328)]}),this[_0x5d8fb8(0x435)]['updatePermissionPoint'](new _0x561a4b(this[_0x5d8fb8(0x3d3)])['id'],!0x1),this[_0x5d8fb8(0x435)]['setShowComponents'](!0x1)):(this[_0x5d8fb8(0x435)][_0x5d8fb8(0x3d0)](new _0x561a4b(this['unitID'])['id'],!0x0),this['_permissionService'][_0x5d8fb8(0x3e4)](!0x0));})));let _0x56539d=!0x1;return this['disposeWithMe'](this['session'][_0x2f4261(0x188)][_0x2f4261(0x408)](_0xf1628a=>{var _0x5ec9aa=_0x2f4261;_0xf1628a===Ie['ONLINE']?this[_0x5ec9aa(0x226)](_0x56539d):_0xf1628a===Ie[_0x5ec9aa(0x24a)]&&(_0x56539d=!0x0,this[_0x5ec9aa(0x1de)]());})),this[_0x2f4261(0x2e7)](this[_0x2f4261(0x169)]['event$'][_0x2f4261(0x408)](_0x292357=>{var _0x4afde4=_0x2f4261;try{switch(_0x292357[_0x4afde4(0x273)]){case _0x9d397c[_0x4afde4(0x401)]:{this[_0x4afde4(0x1bb)](_0x394c22(_0x292357['data']));break;}case _0x9d397c['CHANGESET_ACK']:{this[_0x4afde4(0x228)](_0x292357[_0x4afde4(0x3af)]);break;}case _0x9d397c['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x9d397c['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x292357['data']);break;}case _0x9d397c['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4afde4(0x352)](_0x292357[_0x4afde4(0x3af)]['changesets'][_0x4afde4(0x2d7)](_0x50421b=>_0x394c22(_0x50421b)));break;}case _0x9d397c[_0x4afde4(0x29f)]:this[_0x4afde4(0x1dc)]({'isPermissionRej':!0x0});}}catch(_0x315127){throw console['error'](_0x4afde4(0x3b8),_0x315127),_0x315127;}})),this[_0x2f4261(0x30b)];}[_0xb8d684(0x243)](){var _0x58cc23=_0xb8d684;this[_0x58cc23(0x26e)]=!0x1;}[_0xb8d684(0x1a2)](){var _0x33da5e=_0xb8d684;if(this[_0x33da5e(0x26e)])throw new Error(_0x33da5e(0x170));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0xfb79b2){var _0x546079=_0xb8d684;this['_lockTransition'](),this[_0x546079(0x255)](this[_0x546079(0x30b)][_0x546079(0x209)](_0xfb79b2)),this[_0x546079(0x243)]();}[_0xb8d684(0x1bb)](_0x511de7){var _0x368141=_0xb8d684;if(!(_0x511de7['revision']<=this[_0x368141(0x23e)][_0x368141(0x415)](this['unitID']))){if(this['_collaborationPaused']){this[_0x368141(0x16a)][_0x368141(0x3e8)](_0x511de7);return;}this[_0x368141(0x178)](_0x511de7);}}[_0xb8d684(0x191)](){var _0x356357=_0xb8d684;this[_0x356357(0x16a)][_0x356357(0x407)](_0x3c0edd=>this[_0x356357(0x178)](_0x3c0edd)),this['_remoteChangesetQueue']=[];}[_0xb8d684(0x178)](_0x22dcaf){var _0xce9bd7=_0xb8d684;const _0x52433e=this[_0xce9bd7(0x2ed)][_0xce9bd7(0x1cf)][_0xce9bd7(0x38d)](this[_0xce9bd7(0x2ed)][_0xce9bd7(0x1cf)][_0xce9bd7(0x326)]()[_0xce9bd7(0x3e3)])(_0x22dcaf[_0xce9bd7(0x1e6)],null)||_0x22dcaf[_0xce9bd7(0x1e6)],_0x1b5724={..._0x22dcaf,'mutations':_0x52433e};this['_lockTransition'](),this[_0xce9bd7(0x255)](this[_0xce9bd7(0x30b)][_0xce9bd7(0x1d9)](_0x1b5724)),this[_0xce9bd7(0x243)]();}[_0xb8d684(0x228)](_0xa6a3a3){var _0x29cf7a=_0xb8d684;this[_0x29cf7a(0x1a2)](),this[_0x29cf7a(0x255)](this[_0x29cf7a(0x30b)][_0x29cf7a(0x24e)](_0xa6a3a3)),this[_0x29cf7a(0x243)]();}[_0xb8d684(0x1dc)](_0x599f11){var _0x2779d2=_0xb8d684;this['_lockTransition'](),this[_0x2779d2(0x255)](this[_0x2779d2(0x30b)]['onRemoteRej'](_0x599f11)),this[_0x2779d2(0x243)]();}['_onRemoteRetry'](_0x1e52af){var _0x36751c=_0xb8d684;this['_lockTransition'](),this['_updateState'](this[_0x36751c(0x30b)][_0x36751c(0x382)](_0x1e52af)),this[_0x36751c(0x243)]();}[_0xb8d684(0x352)](_0x2a289a){var _0x10f63c=_0xb8d684;if(!(this[_0x10f63c(0x30b)]instanceof te))throw new TypeError(_0x10f63c(0x218));const _0x5b6d09=_0x2a289a[_0x10f63c(0x2d7)](_0x3d3b05=>{var _0x454402=_0x10f63c;const _0x3392a9=this[_0x454402(0x2ed)][_0x454402(0x1cf)][_0x454402(0x38d)](this[_0x454402(0x2ed)]['interceptor'][_0x454402(0x326)]()[_0x454402(0x3e3)])(_0x3d3b05[_0x454402(0x1e6)],null)||_0x3d3b05[_0x454402(0x1e6)];return{..._0x3d3b05,'mutations':_0x3392a9};});this[_0x10f63c(0x1a2)](),this['_updateState'](this['_state'][_0x10f63c(0x42c)](_0x5b6d09)),this[_0x10f63c(0x243)]();}[_0xb8d684(0x1de)](){var _0x3776e8=_0xb8d684;this[_0x3776e8(0x1a2)](),this[_0x3776e8(0x255)](this['_state']['toggleOffline']()),this[_0x3776e8(0x243)]();}[_0xb8d684(0x226)](_0x2fc3fa=!0x1){var _0x20031b=_0xb8d684;this[_0x20031b(0x1a2)](),this[_0x20031b(0x255)](this[_0x20031b(0x30b)]['toggleOnline']()),this[_0x20031b(0x243)]();const _0x34d87a=this['_state'];_0x2fc3fa&&_0x34d87a instanceof Pe&&(this[_0x20031b(0x1a2)](),this[_0x20031b(0x255)](_0x34d87a[_0x20031b(0x2cc)]()),this[_0x20031b(0x243)]());}async['_createInitialState'](){return new Promise(_0x281549=>{var _0x482ffd=_0x47e4;this[_0x482ffd(0x169)][_0x482ffd(0x188)][_0x482ffd(0x271)](_0x48a2a7(0x1))[_0x482ffd(0x408)](async _0x34f24d=>{var _0x333d82=_0x482ffd;_0x281549(await this[_0x333d82(0x3ac)](_0x34f24d===Ie[_0x333d82(0x320)]));});});}[_0xb8d684(0x1e8)](){var _0x54e84c=_0xb8d684;const _0x4ff58b=this[_0x54e84c(0x3d3)];return{'onStateChange':(_0x363deb,_0x2186c5)=>{var _0x5dd272=_0x54e84c;if(_0x363deb!==this[_0x5dd272(0x30b)])throw new Error(_0x5dd272(0x229)+_0x363deb['status']+_0x5dd272(0x2e0)+_0x2186c5['status']+_0x5dd272(0x156)+this[_0x5dd272(0x30b)]['status']);this[_0x5dd272(0x255)](_0x2186c5);},'onSendChangeset':_0x4132ac=>{var _0x19644c=_0x54e84c;_0x4132ac[_0x19644c(0x19a)]||(_0x4132ac['sid']=this[_0x19644c(0x373)],_0x4132ac[_0x19644c(0x1df)]=++this[_0x19644c(0x16b)]);const _0x18edd0={'eventID':_0x9d397c[_0x19644c(0x3bc)],'data':{'unitID':_0x4132ac[_0x19644c(0x3d3)],'unitType':this[_0x19644c(0x185)],'changeset':_0x4132ac,'memberID':this[_0x19644c(0x169)]['getMemberID']()}};this[_0x19644c(0x169)][_0x19644c(0x3bf)](_0x18edd0,this['unitID']);},'onMissingChangesets':({from:_0x37d70e,to:_0xd29e2d})=>{var _0x4eb003=_0x54e84c;this[_0x4eb003(0x2f4)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x37d70e+_0x4eb003(0x1bc)+_0xd29e2d);const _0x51570a={'eventID':_0x9d397c['FETCH_MISSING'],'data':{'unitID':_0x4ff58b,'unitType':this[_0x4eb003(0x185)],'from':_0x37d70e,'to':_0xd29e2d}};this[_0x4eb003(0x169)][_0x4eb003(0x3bf)](_0x51570a,this[_0x4eb003(0x3d3)]);}};}async[_0xb8d684(0x3ac)](_0x40952e){var _0x43745b=_0xb8d684,_0x34458c,_0x3ed7ac,_0x8a9119;const _0x150043=await((_0x34458c=this['_localCacheService'])==null?void 0x0:_0x34458c['loadOfflineData'](this[_0x43745b(0x3d3)])),_0x3b129b=(_0x3ed7ac=_0x150043==null?void 0x0:_0x150043[_0x43745b(0x1e6)])!=null?_0x3ed7ac:[],_0x223fd7=(_0x8a9119=_0x150043==null?void 0x0:_0x150043[_0x43745b(0x3a5)])!=null?_0x8a9119:null,_0x2c3a7d=!!(_0x223fd7!=null&&_0x223fd7[_0x43745b(0x19a)])&&!!(_0x223fd7!=null&&_0x223fd7[_0x43745b(0x1df)]);this[_0x43745b(0x373)]=_0x2c3a7d?_0x223fd7[_0x43745b(0x19a)]:_s(),this[_0x43745b(0x16b)]=_0x2c3a7d?_0x223fd7[_0x43745b(0x1df)]:0x0;const _0x4426cd=this[_0x43745b(0x3d3)];try{this[_0x43745b(0x433)](_0x223fd7,_0x3b129b);}catch(_0x5757f9){this[_0x43745b(0x2f4)]['error'](_0x5757f9);}const _0x10bac2=this[_0x43745b(0x1e8)]();if(_0x40952e){const _0x334988=Ni(this[_0x43745b(0x42d)],_0x4426cd,this['_type'],_0x223fd7,_0x3b129b,_0x10bac2);return _0x334988 instanceof re?_0x334988[_0x43745b(0x1f9)]():(_0x334988 instanceof oe||_0x334988 instanceof ue)&&_0x334988[_0x43745b(0x179)](),_0x334988;}return this[_0x43745b(0x42d)][_0x43745b(0x2ae)](fe,_0x4426cd,this[_0x43745b(0x185)],_0x223fd7,_0x3b129b,_0x10bac2);}[_0xb8d684(0x433)](_0x57f339,_0x505ff2){var _0x29fc9b=_0xb8d684,_0x242d6e,_0x5b6f4d;const _0x3173df=this['_compressMutationService'][_0x29fc9b(0x1cf)][_0x29fc9b(0x38d)](this[_0x29fc9b(0x2ed)][_0x29fc9b(0x1cf)]['getInterceptPoints']()[_0x29fc9b(0x3e3)]);(_0x242d6e=_0x3173df((_0x57f339==null?void 0x0:_0x57f339['mutations'])||[],null))==null||_0x242d6e[_0x29fc9b(0x407)](_0x30ca72=>this[_0x29fc9b(0x1e5)][_0x29fc9b(0x32d)](_0x30ca72['id'],_0x30ca72['params'])),(_0x5b6f4d=_0x3173df(_0x505ff2||[],null))==null||_0x5b6f4d['forEach'](_0x2d481f=>this[_0x29fc9b(0x1e5)]['executeCommand'](_0x2d481f['id'],_0x2d481f[_0x29fc9b(0x1ac)]));}};st=Mt([k(0x3,_0x326892(_0x5b782f)),k(0x4,_0x326892(_0x41a518)),k(0x5,_0x326892(_0x43ac4b)),k(0x6,_0x326892(_0x58f57a)),k(0x7,_0x326892(pe)),k(0x8,_0x3ed4aa),k(0x9,_0x773321),k(0xa,_0x2a759d),k(0xb,_0x14dc81(ht)),k(0xc,_0x14dc81(X))],st);let Tt=class extends st{constructor(_0x3708b8,_0x279279,_0x58cc77,_0x25d389,_0x3e605f,_0x40e8f9,_0x3ac5f0,_0x236b1c,_0x2033ad,_0xb04e8,_0x21be2e,_0x5a41bb,_0x5e0bc0){var _0x59809f=_0xb8d684;super(_0x3708b8,_0x58cc77,_0x279279,_0x25d389,_0x3e605f,_0x40e8f9,_0x3ac5f0,_0x236b1c,_0x2033ad,_0xb04e8,_0x21be2e,_0x5a41bb,_0x5e0bc0),N(this,_0x59809f(0x2f2),null),(this['unitID']=_0x3708b8,this[_0x59809f(0x145)]=_0x279279);}[_0xb8d684(0x242)](_0x1aee59){var _0x3500d8=_0xb8d684;this[_0x3500d8(0x2f2)]=_0x1aee59;}['dispose'](){var _0x9809fd=_0xb8d684;this[_0x9809fd(0x2f2)]=null,super[_0x9809fd(0x27d)]();}[_0xb8d684(0x1e8)](){var _0x12f90f=_0xb8d684;const _0x43cc9c=super[_0x12f90f(0x1e8)]();return _0x43cc9c[_0x12f90f(0x2c9)]=_0xd4bc93=>{var _0x54f5f3=_0x12f90f,_0x54a955,_0x18cb8e;return(_0x18cb8e=(_0x54a955=this[_0x54f5f3(0x2f2)])==null?void 0x0:_0x54a955[_0x54f5f3(0x2c9)])==null?void 0x0:_0x18cb8e[_0x54f5f3(0x2fa)](_0x54a955,_0xd4bc93);},_0x43cc9c['onTransformState']=_0x4753be=>{var _0x3ba52a=_0x12f90f,_0x482f2b,_0x33be02;return(_0x33be02=(_0x482f2b=this[_0x3ba52a(0x2f2)])==null?void 0x0:_0x482f2b['onTransformState'])==null?void 0x0:_0x33be02[_0x3ba52a(0x2fa)](_0x482f2b,_0x4753be);},_0x43cc9c['onTransformSelections']=_0x2eeca6=>{var _0xaf75e7=_0x12f90f,_0x51979f,_0x13df0b;return(_0x13df0b=(_0x51979f=this[_0xaf75e7(0x2f2)])==null?void 0x0:_0x51979f[_0xaf75e7(0x35e)])==null?void 0x0:_0x13df0b['call'](_0x51979f,_0x2eeca6);},_0x43cc9c[_0x12f90f(0x360)]=_0x404759=>{var _0xb28175=_0x12f90f,_0x483953,_0x22342c;return(_0x22342c=(_0x483953=this['_handlerCallback'])==null?void 0x0:_0x483953[_0xb28175(0x360)])==null?void 0x0:_0x22342c[_0xb28175(0x2fa)](_0x483953,_0x404759);},_0x43cc9c[_0x12f90f(0x199)]=_0x6a32c1=>{var _0x366337=_0x12f90f,_0x310ce0,_0x56ac8b,_0x106f09;if(!((_0x310ce0=this[_0x366337(0x2f2)])!=null&&_0x310ce0[_0x366337(0x199)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x106f09=(_0x56ac8b=this[_0x366337(0x2f2)])==null?void 0x0:_0x56ac8b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x106f09[_0x366337(0x2fa)](_0x56ac8b,_0x6a32c1);},_0x43cc9c[_0x12f90f(0x21d)]=_0x31ac6b=>{var _0x535643=_0x12f90f,_0x2b679d,_0x45ba61,_0x54783d;if(!((_0x2b679d=this['_handlerCallback'])!=null&&_0x2b679d['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x54783d=(_0x45ba61=this[_0x535643(0x2f2)])==null?void 0x0:_0x45ba61[_0x535643(0x21d)])==null?void 0x0:_0x54783d[_0x535643(0x2fa)](_0x45ba61,_0x31ac6b);},_0x43cc9c;}async[_0xb8d684(0x1ed)](){var _0x331491=_0xb8d684;const _0x4d958f=await super[_0x331491(0x1ed)]();return this[_0x331491(0x2e7)](this[_0x331491(0x1e5)][_0x331491(0x18e)]((_0xd7dc9c,_0x53be14)=>{var _0x103cd0=_0x331491;if(_0xd7dc9c['type']!==_0x10da48[_0x103cd0(0x3c3)]||_0x53be14!=null&&_0x53be14[_0x103cd0(0x1be)]||_0x53be14!=null&&_0x53be14['onlyLocal']||_0xd7dc9c['id']===_0x3a4305['id'])return;const _0x28cfd3=_0xd7dc9c[_0x103cd0(0x1ac)];if((_0x28cfd3==null?void 0x0:_0x28cfd3['unitId'])!==this[_0x103cd0(0x3d3)])return;const _0x3c0953=_0xd7dc9c,_0x28bcf5=this[_0x103cd0(0x2ed)][_0x103cd0(0x1cf)][_0x103cd0(0x38d)](this['_compressMutationService'][_0x103cd0(0x1cf)]['getInterceptPoints']()[_0x103cd0(0x2b1)])([_0x3c0953],null)||[_0x3c0953];this['_onLocalMutation'](_0x28bcf5[0x0]);})),_0x4d958f;}};Tt=Mt([k(0x3,_0x326892(_0x5b782f)),k(0x4,_0x326892(_0x41a518)),k(0x5,_0x326892(_0x43ac4b)),k(0x6,_0x326892(_0x58f57a)),k(0x7,_0x326892(pe)),k(0x8,_0x3ed4aa),k(0x9,_0x773321),k(0xa,_0x2a759d),k(0xb,_0x14dc81(ht)),k(0xc,_0x14dc81(X))],Tt);let Ct=class extends st{constructor(_0x181f64,_0xab3848,_0x2a530f,_0x5bfca0,_0x7aabd9,_0x3c2a72,_0x4ea293,_0x36aa4b,_0x50e286,_0x157e82,_0x345630,_0x57c52a,_0x38b3a7,_0x2c7276){var _0x1a7520=_0xb8d684;super(_0x181f64,_0x2a530f,_0xab3848,_0x5bfca0,_0x7aabd9,_0x3c2a72,_0x4ea293,_0x50e286,_0x157e82,_0x345630,_0x57c52a,_0x38b3a7,_0x2c7276),this[_0x1a7520(0x3d3)]=_0x181f64,this[_0x1a7520(0x145)]=_0xab3848,this['_sheetTransformSelectionsService']=_0x36aa4b;}[_0xb8d684(0x1e8)](){var _0x57d5b6=_0xb8d684;const _0x45a298=super['_createHandler']();return _0x45a298['onTransformSelections']=_0x5c4605=>this['_sheetTransformSelectionsService'][_0x57d5b6(0x193)](_0x5c4605),_0x45a298;}async[_0xb8d684(0x1ed)](){var _0x2b5193=_0xb8d684;const _0xabaafd=await super[_0x2b5193(0x1ed)]();return this[_0x2b5193(0x2e7)](this[_0x2b5193(0x1e5)][_0x2b5193(0x18e)]((_0x5b0ac2,_0x35acfb)=>{var _0x3dc264=_0x2b5193;if(_0x5b0ac2[_0x3dc264(0x145)]!==_0x10da48['MUTATION']||_0x35acfb!=null&&_0x35acfb[_0x3dc264(0x1be)]||_0x35acfb!=null&&_0x35acfb['onlyLocal'])return;const _0x1b74e9=_0x5b0ac2[_0x3dc264(0x1ac)];if((_0x1b74e9==null?void 0x0:_0x1b74e9['unitId'])!==this[_0x3dc264(0x3d3)])return;const _0x128445=_0x5b0ac2,_0x9de1bc=this['_compressMutationService'][_0x3dc264(0x1cf)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3dc264(0x1cf)]['getInterceptPoints']()[_0x3dc264(0x2b1)])([_0x128445],null)||[_0x128445];this['_onLocalMutation'](_0x9de1bc[0x0]);})),_0xabaafd;}};Ct=Mt([k(0x3,_0x326892(_0x5b782f)),k(0x4,_0x326892(_0x41a518)),k(0x5,_0x326892(_0x43ac4b)),k(0x6,_0x326892(_0x58f57a)),k(0x7,_0x326892(nt)),k(0x8,_0x326892(pe)),k(0x9,_0x3ed4aa),k(0xa,_0x773321),k(0xb,_0x2a759d),k(0xc,_0x14dc81(ht)),k(0xd,_0x14dc81(X))],Ct);var Ts=Object[_0xb8d684(0x37d)],Cs=Object[_0xb8d684(0x422)],bs=(_0x2e99fc,_0x3859a3,_0x376af8,_0x5f29b2)=>{var _0x468fc8=_0xb8d684;for(var _0x2a3659=_0x5f29b2>0x1?void 0x0:_0x5f29b2?Cs(_0x3859a3,_0x376af8):_0x3859a3,_0x1e61a2=_0x2e99fc[_0x468fc8(0x277)]-0x1,_0x3c64f7;_0x1e61a2>=0x0;_0x1e61a2--)(_0x3c64f7=_0x2e99fc[_0x1e61a2])&&(_0x2a3659=(_0x5f29b2?_0x3c64f7(_0x3859a3,_0x376af8,_0x2a3659):_0x3c64f7(_0x2a3659))||_0x2a3659);return _0x5f29b2&&_0x2a3659&&Ts(_0x3859a3,_0x376af8,_0x2a3659),_0x2a3659;},ft=(_0x4e86dc,_0xf50a8e)=>(_0x3de898,_0x22866d)=>_0xf50a8e(_0x3de898,_0x22866d,_0x4e86dc);let rt=class extends _0x292a49{constructor(_0x28a5ba,_0x4a7a21,_0x164e67){var _0x17f0f=_0xb8d684;super(),N(this,_0x17f0f(0x377),new Map()),N(this,'_entityInit$',new _0x491e8b()),N(this,_0x17f0f(0x29e),this[_0x17f0f(0x232)][_0x17f0f(0x1a6)]()),(this['_injector']=_0x28a5ba,this[_0x17f0f(0x295)]=_0x4a7a21,this['_univerInstanceService']=_0x164e67,this[_0x17f0f(0x1ed)]());}['dispose'](){var _0x40d412=_0xb8d684;super['dispose'](),this[_0x40d412(0x377)][_0x40d412(0x407)](_0x23e6c0=>_0x23e6c0[_0x40d412(0x27d)]()),this[_0x40d412(0x377)][_0x40d412(0x3cc)]();}['getCollabEntity'](_0xf35073){var _0x430435=_0xb8d684,_0x151576;return(_0x151576=this[_0x430435(0x377)][_0x430435(0x3df)](_0xf35073))!=null?_0x151576:null;}[_0xb8d684(0x426)](_0x1bf93f){var _0x52e452=_0xb8d684;const _0xa92aeb=this[_0x52e452(0x395)](_0x1bf93f);return _0xa92aeb?_0x2172de(_0xa92aeb):this[_0x52e452(0x232)][_0x52e452(0x271)](_0x13065a(_0x36abd6=>_0x36abd6[_0x52e452(0x3d3)]===_0x1bf93f));}[_0xb8d684(0x1ed)](){var _0x4c2da3=_0xb8d684;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5a95a6[_0x4c2da3(0x238)])['pipe'](_0x18038f(this[_0x4c2da3(0x1ba)]),_0x22a1b0(0x10))['subscribe'](async _0x2a2f1e=>{var _0xa74c0c=_0x4c2da3;const _0x2fe30d=_0x2a2f1e['getUnitId'](),_0xadf79e=await this[_0xa74c0c(0x1d4)](_0x2fe30d,Q['UNIVER_SHEET']);this[_0xa74c0c(0x377)][_0xa74c0c(0x17a)](_0x2fe30d,_0xadf79e);}),this['_univerInstanceService'][_0x4c2da3(0x268)](_0x5a95a6[_0x4c2da3(0x346)])['pipe'](_0x18038f(this[_0x4c2da3(0x1ba)]),_0x22a1b0(0x10))['pipe'](_0x13065a(_0x5b000a=>!_0x5b000a[_0x4c2da3(0x3ad)]()[_0x4c2da3(0x39b)]('__')))['subscribe'](async _0x73a6ed=>{var _0x485d93=_0x4c2da3;const _0x310569=_0x73a6ed[_0x485d93(0x3ad)](),_0x516b4f=await this[_0x485d93(0x1d4)](_0x310569,Q['UNIVER_DOC']);this[_0x485d93(0x377)][_0x485d93(0x17a)](_0x310569,_0x516b4f);}),_0x431760(this[_0x4c2da3(0x3c2)][_0x4c2da3(0x1f1)](_0x5a95a6['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5a95a6[_0x4c2da3(0x346)]))[_0x4c2da3(0x271)](_0x18038f(this['dispose$']))[_0x4c2da3(0x408)](_0x4b2c4d=>{var _0x2d6e8b=_0x4c2da3;const _0x12a9a6=_0x4b2c4d[_0x2d6e8b(0x3ad)](),_0x5c9b78=this[_0x2d6e8b(0x377)][_0x2d6e8b(0x3df)](_0x12a9a6);_0x5c9b78&&(_0x5c9b78[_0x2d6e8b(0x27d)](),this[_0x2d6e8b(0x377)][_0x2d6e8b(0x397)](_0x12a9a6));});}async[_0xb8d684(0x1d4)](_0x3e3a6b,_0x5a6cae){var _0xa8d3b3=_0xb8d684;const _0x4be7ca=await this[_0xa8d3b3(0x295)][_0xa8d3b3(0x410)](_0x3e3a6b),_0x413906=this['_injector'][_0xa8d3b3(0x2ae)](this['_getCtorByUniverType'](_0x5a6cae),_0x3e3a6b,_0x5a6cae,_0x4be7ca);return await _0x413906[_0xa8d3b3(0x1c4)](),this['_entityInit$']['next'](_0x413906),_0x413906;}['_getCtorByUniverType'](_0x294553){var _0x4bd8d0=_0xb8d684;switch(_0x294553){case Q['UNIVER_DOC']:return Tt;case Q[_0x4bd8d0(0x238)]:return Ct;default:throw new Error(_0x4bd8d0(0x2f0)+_0x294553);}}};rt=bs([ft(0x0,_0x326892(_0x5b782f)),ft(0x1,_0x326892(Me)),ft(0x2,_0x548c55)],rt);var Rs=Object[_0xb8d684(0x37d)],ys=Object['getOwnPropertyDescriptor'],Os=(_0xc37a63,_0x3dfc62,_0x22af7c,_0x1c795e)=>{var _0x2ae20b=_0xb8d684;for(var _0x1ac21e=_0x1c795e>0x1?void 0x0:_0x1c795e?ys(_0x3dfc62,_0x22af7c):_0x3dfc62,_0xdb9e83=_0xc37a63[_0x2ae20b(0x277)]-0x1,_0x2fa1df;_0xdb9e83>=0x0;_0xdb9e83--)(_0x2fa1df=_0xc37a63[_0xdb9e83])&&(_0x1ac21e=(_0x1c795e?_0x2fa1df(_0x3dfc62,_0x22af7c,_0x1ac21e):_0x2fa1df(_0x1ac21e))||_0x1ac21e);return _0x1c795e&&_0x1ac21e&&Rs(_0x3dfc62,_0x22af7c,_0x1ac21e),_0x1ac21e;},Xt=(_0x37f31a,_0x1c9cdc)=>(_0x7ae811,_0x29f5eb)=>_0x1c9cdc(_0x7ae811,_0x29f5eb,_0x37f31a);const Ps=_0xb8d684(0x3ce),Ds=_0xb8d684(0x298);let bt=class extends _0x1b0b12{constructor(_0x42e654,_0x390c5c){var _0x546dbb=_0xb8d684;super(),this[_0x546dbb(0x3c2)]=_0x42e654,this[_0x546dbb(0x383)]=_0x390c5c,this[_0x546dbb(0x1ed)]();}[_0xb8d684(0x1ed)](){var _0x2a107f=_0xb8d684;this['disposeWithMe'](this[_0x2a107f(0x3c2)]['focused$'][_0x2a107f(0x408)](()=>{var _0x1a48be=_0x2a107f,_0x454ba0;const _0x14392f=this[_0x1a48be(0x3c2)][_0x1a48be(0x182)]();let _0x12fe0c=(_0x454ba0=this[_0x1a48be(0x383)][_0x1a48be(0x262)](Ps))!=null?_0x454ba0:Ds;_0x14392f instanceof _0x4fd563&&(_0x12fe0c=_0x14392f[_0x1a48be(0x336)]),document['title']=_0x12fe0c;}));}};bt=Os([Xt(0x0,_0x548c55),Xt(0x1,_0x3a81dd)],bt);var Ns=Object[_0xb8d684(0x37d)],ws=Object[_0xb8d684(0x422)],Us=(_0x38f1cf,_0x96cdc4,_0x47e2e9,_0x580dcf)=>{var _0x15893e=_0xb8d684;for(var _0x5df15e=_0x580dcf>0x1?void 0x0:_0x580dcf?ws(_0x96cdc4,_0x47e2e9):_0x96cdc4,_0x49adbe=_0x38f1cf[_0x15893e(0x277)]-0x1,_0x17cda5;_0x49adbe>=0x0;_0x49adbe--)(_0x17cda5=_0x38f1cf[_0x49adbe])&&(_0x5df15e=(_0x580dcf?_0x17cda5(_0x96cdc4,_0x47e2e9,_0x5df15e):_0x17cda5(_0x5df15e))||_0x5df15e);return _0x580dcf&&_0x5df15e&&Ns(_0x96cdc4,_0x47e2e9,_0x5df15e),_0x5df15e;},vt=(_0xe1999c,_0x50d5c8)=>(_0x53897f,_0xdb643d)=>_0x50d5c8(_0x53897f,_0xdb643d,_0xe1999c);let ot=class{constructor(_0x31da97,_0x967670,_0x31b834){var _0x118ed7=_0xb8d684;this['_configService']=_0x31da97,this[_0x118ed7(0x2bc)]=_0x967670,this[_0x118ed7(0x2de)]=_0x31b834,this[_0x118ed7(0x1c4)]();}[_0xb8d684(0x1c4)](){var _0x4c0fac=_0xb8d684;this[_0x4c0fac(0x2bc)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x28255f,_0xca4200)=>_0xca4200(_0x28255f)[_0x4c0fac(0x271)](_0x4c56fb(async _0x1ae95f=>{var _0x2a19a9=_0x4c0fac;const _0x2609f6=_0x1ae95f;if(_0x2609f6['status']===0x191&&window[_0x2a19a9(0x176)](this[_0x2a19a9(0x2de)]['t']('auth.needGotoLoginAlert'))){const _0x1dc341=window[_0x2a19a9(0x168)](window[_0x2a19a9(0x332)][_0x2a19a9(0x3c1)]);window[_0x2a19a9(0x332)]['href']=this[_0x2a19a9(0x2a3)]()+_0x2a19a9(0x40d)+_0x1dc341;}return _0x2609f6;}))});}['_getLoginPath'](){var _0x9b7934=_0xb8d684,_0x26153e,_0x474b57;const _0x20fba1=this['_configService']['getConfig'](kn),_0x51ce40=this[_0x9b7934(0x383)][_0x9b7934(0x262)](Y);return(_0x474b57=(_0x26153e=_0x51ce40==null?void 0x0:_0x51ce40[_0x9b7934(0x210)])!=null?_0x26153e:_0x20fba1)!=null?_0x474b57:jn;}};ot=Us([vt(0x0,_0x3a81dd),vt(0x1,_0x326892(_0x5bf8ac)),vt(0x2,_0x326892(_0x43ac4b))],ot);var As=Object['defineProperty'],xs=Object['getOwnPropertyDescriptor'],Ls=(_0x547dca,_0x252e16,_0x558218,_0x1813a0)=>{var _0x57b210=_0xb8d684;for(var _0x5ac910=_0x1813a0>0x1?void 0x0:_0x1813a0?xs(_0x252e16,_0x558218):_0x252e16,_0x384619=_0x547dca[_0x57b210(0x277)]-0x1,_0x397b34;_0x384619>=0x0;_0x384619--)(_0x397b34=_0x547dca[_0x384619])&&(_0x5ac910=(_0x1813a0?_0x397b34(_0x252e16,_0x558218,_0x5ac910):_0x397b34(_0x5ac910))||_0x5ac910);return _0x1813a0&&_0x5ac910&&As(_0x252e16,_0x558218,_0x5ac910),_0x5ac910;},Zt=(_0x5e5ee7,_0x5adf68)=>(_0x2bc533,_0x203906)=>_0x5adf68(_0x2bc533,_0x203906,_0x5e5ee7);function _0x5285(){var _0x4fb5bc=['disableLocalCache','UnitEmbedded','updateCollaborator','loadSheet','NO_OTHER_CLIENTS_EDITING','awaitingChangeset','patch','createSocket','UNDEFINED','updateMember','close','commentUpdateEvent','_createInitialStateImpl','getUnitId','Worksheet','data','LIVESHARE_NEW_HOST','_doCryptBlock','_initRequestHeader','image/jpeg','INTERNAL_ERROR','_waitForHeartbeatResponse','[DataLoaderService]','uploadFileServerUrl','Error\x20on\x20receiving\x20event','isPermissionRej','_socket$','_transformStateCache','SUBMIT_CHANGESET','image/bmp','_socketMessageSubscription','send','buffer','href','_univerInstanceService','MUTATION','_onRecvEvent','_HTTPService','SOCKET_FAILED_RETRY','Workbook','pluginName','_getAPIPrefix','_stopTelemetryCollaborationNewChangeset','randomBytes','clear','Encryptor','DEFAULT_FILE_NAME','[CollaborationSessionService]','updatePermissionPoint','_doReset','_collaborationUIEventService','unitID','subUnitId','JOIN_ROOM_FAILED','_process','_undoRedoService','_getCurrentRevision','JOINING','_clearScheduledTask','_executeRemoteChangeset','encode','src','capture','get','enc','members','_shouldReportTelemetry','COMPRESS_MUTATION_APPLY','setShowComponents','finalize','_onConnectionFailed','sigBytes','push','msCrypto','image/png','deepClone','setConfig','11icQYrK','{fileID}','objectID','joinEvent','AES','createDecryptor','update','LOCAL_CACHE_INTERVAL','abs','Pkcs7','LIVESHARE_OPERATION','_memberService','BlockCipher','batchAllowed','HEARTBEAT_TIMEOUT','session.room-full','max','_reverseMap','unpad','sessionStatus','NEW_CHANGESETS','mode','_hash','_http','loadDoc','mixIn','forEach','subscribe','_state$','UnitSnapshot','socket\x20close','debug','?url=','_initCloseConn','iterations','requireSession','closeSession','_nDataBytes','createCollaborator','pending','getCurrentRevOfUnit','__Key__','min','encrypt','revision','_getAPIPrefixPath','_joinRoom','putCollaborators','status','getSheetId','[OfflineState]:\x20received\x20acknowledgement.','3564407LVsAdL','HttpExport','getOwnPropertyDescriptor','add','collaMsg','removeMember','getCollabEntity$','transformChangesets','_onJoinRoomEvent','unitId','HMAC','unitInfo$','onMissedChangesetFetched','_injector','6OSSZhY','objectType','_tryEnsureSocket','append','__esModule','_replayCachedMutations','create','_permissionService','synced','next','body','TOO_MANY_REQUESTS','_status$','_onConflict','[UniverCollaborationClientPlugin]','post','range','YUUMI_URL_COL_OUT_OF_RANGE','_cipher','csShouldRetryEvent','_loadDoc','_onMessage','[PendingState]:\x20received\x20rejection.','/allowed','_localCacheService','type','CHANGESET_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','Base','updatePermissionObjEvent','LICENSE_MAX_UNITS_EXCEEDED','2379072UTZKas','prototype','join','[CollaborationSession]','UPDATE_PERMISSION_OBJ','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','string','[SyncedState]:\x20received\x20rejection.','pad','NoPadding','_syncEditingCollabCursor','\x0aCurrent:\x20','connection\x20error','&to=','AWAITING','CBC','responseType','SUBMIT_CHANGESET_TIMEOUT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','equals','file','createEncryptor','Decryptor','workbook','_imageSourceCache','/new_changes','_initEventListeners','Undefined','[CollaborationState]:\x20apply\x20error!','encodeURIComponent','session','_remoteChangesetQueue','_changesetReqId','[PendingState]:\x20received\x20acknowledgement.','csRejEvent','_unitInfo$','NOT_FOUND','[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.','_clearUndo','COMMENT_UPDATE','setWaitCount','hasher','_socketService','confirm','liveShareOperation','_applyRemoteChangeset','resend','set','cfg','subject','AWAITING_WITH_PENDING','_iv','toLowerCase','getImage','_transformService','getFocusedUnit','ciphertext','/universer-api/authz','_type','_roomMembers','image/jpg','sessionStatus$','readAsDataURL','_sendingTimer','_ws','PasswordBasedCipher','visibilitychange','onCommandExecuted','listCollaborators','AUTHZ_URL_KEY','_exhaustRemoteChangesetQueue','[CollaborationUndoRedoService]','transformSelections','onStateChange','unsubscribe','_clearLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_rescheduleHeartbeat','onTransformRemoteChangesetByIMECache','sid','x-univer-host','session.room-not-exists','key','_doFinalize','resourceIDs','every','randomUUID','_lockTransition','selections','m2Prime','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','asObservable','_authzIoService','_replaceFileID','salt','method','shouldCloseConn','params','encryptBlock','actions','state$','[OfflineState]:\x20received\x20rejection.','SNAPSHOT_SERVER_URL_KEY','INGEST','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_registerDependencies','_decreaseWaiting','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ticket','concat','dispose$','_onRemoteChangeset','\x20to\x20','ceil','fromCollab','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','People','_scheduleCollaborationTimeoutTimer','_onCombEvent','clamp','init','allowed','hidden','getTime','unit-cache-','stringify','CONFLICT','_onLocalMutation','_getRedoStack','/-/object/list','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','interceptor','event$','JOIN','onTransformState','MSG_FOR_ERROR','_startCollaboration','_onUserLeave','getMember','/object/','313682VkzLbq','onRemoteChangeset','_transformSelections','COMPLETION_FINISHED','_onRemoteRejected','APPLY_REVISION_CONFILICT','_toggleOffline','reqId','c1Prime','_oKey','setCurrentUser','enableAuthServer','CONNECTOR_DATA_TOO_LARGE','_commandService','mutations','searchParams','_createHandler','_isPermissionRej','_ENC_XFORM_MODE','override','format','_init','ENSURE_SNAPSHOT_EXECUTION','COLLAB_SUBMIT_CHANGESET_URL','BASE64','getTypeOfUnitDisposed$','SerializableCipher','getSnapshotAPIPath','registerHTTPInterceptor','authzUrl','getTargetByPermissionId','Could\x20not\x20dynamically\x20require\x20\x22','Base64','_schedule','SelectRange','offline','_removeRoom','snapshotServerUrl','USERS_LEAVE','open$','cmd','_checkMissing','hasOwnProperty','UNKNOWN_CMD','save\x20fail\x20reason\x20is\x20','rev','_keySchedule','function','rng','appendMutation','getValue','put','clone','objects','originalMeta','$super','loginUrlKey','_queuedRemoteChangesets','OpenSSL','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','_resendTimer','session.room-permission-denied','POST','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_transformUndoredo','ivSize','_unitID','_disableEditing','onTransformRemoteChangesetByStateCache','kdf','baseRev','_snapshotServerService','2oOlUeA','_fetchMissChangesets','APPLY_REJECT','updateOfflineData','CHANGESET_SHOULD_RETRY','_toggleOnline','/collaborator','_onRemoteACK','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','readInt32LE','SNAPSHOT_URL_KEY','substr','_redoStacks','univer-pro.collaboration-client-socket-service','change$','getUnitType','RETRY_CONNECTING_MAX_COUNT','_entityInit$','_retryConnectingTimer','/unit/','univer-pro.collaboration-client.single-active-unit-service','Latin1','_createHmacHelper','UNIVER_SHEET','_minBufferSize','UPDATE_CURSOR','BufferedBlockAlgorithm','_timeoutTimer','unknown','_revisionService','\x20-\x20','startTime','_telemetryInfo','addHandlerCallback','_unlockTransition','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveChangeset','JOIN_ROOM_PERMISSION_DENIED','toggleOnline','transformUndoRedo','repeat','OFFLINE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/block/','url','onRemoteAck','catch','_getUndoStack','184155ZbNnel','HEARTBEAT','PERMISSION_DENIED','socket$','_updateState','HELLO','ruleRefresh','LIVESHARE_TERMINATE','collaborators','_prevBlock','getCurrentSelections','isArray','_clearTimeoutTimer','_transformRemoteChangesetByStateCache','_nRounds','getUnitStatus$','getActiveSheet','getConfig','[FetchMissState]','SUCCUSS','_listenToOnlineEvent','Malformed\x20UTF-8\x20data','_sessions','getTypeOfUnitAdded$','resolve','_substituteRedoStack','onRemoteRej','csAckEvent','_localeService','_transitionLocked','_updateLocalCache','ws://127.0.0.1:8000/universer-api/comb/connect','pipe','onMissingChangesets','eventID','Cipher','splice','reset','length','_collaborationTimeoutTimer','getCurrentUnitForType','algo','blockSize','default','dispose','_socket','/universer-api/stream/file/upload','_tryReconnect','GLOBAL_ROOMS_CNT_EXCEEDS','error','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','apply','MD5','_createHelper','slice','headers','sheets','_resendWithTimeout','_data','_config','_sender','[CollaborationEntity]','result','subType','words','_getDownloadEndpointURL','onload','_collabSessionService','roomInfos','SYNCED','Univer','crypto','_listenToOfflineEvent','24UoGckK','downloadEndpointUrl','refreshPermission','entityInit$','PERMISSION_REJ','5345880MzmJqH','reduce','_retryCount','_getLoginPath','APPLY_DUPLICATED','enableOfflineEditing','origin','JOIN_ROOM_FULL','getWorkbookSelections','_map','withCredentials','lib','SHOULD_CLOSE_CONN','_substituteUndoStack','createInstance','_handler','APPLY_PERMISSION_DENIED','COMPRESS_MUTATION_SEND','floor','reconnect','symbol','random','_hasher','has','INVALID_ARGUMENT','value','3356765SqJYkH','_createInitialState','_httpService','fetch_missing','size','UNIVER_PROJECT','json','_startTelemetryCollaborationNewChangeset','retryConnectingInterval','APPLY_NON_SEQUENTIAL_REVISION','then','FETCH_MISSING','userID','UNAUTHENTICATED','_transformStack','onTransformIME','LICENSE_DISTRO_REJECTED','FileId','fetchMiss','PENDING','setTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hostname','c2Prime','liveShareNewHost','transformStack\x20failed!','image/gif','session.join-failed','online','map','compose','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','SNAPSHOT_HAS_BEEN_REMOVED','_undoStacks','_doProcessBlock','localCacheService','localeService','list','\x0aAfter:\x20','USERS_ENTER','HmacMD5','_transformIMECache','_sessionStatus$','_acknowledgedAwaitingChangeset','getRoom','disposeWithMe','_collaborationPaused','getUnitOnRev','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_keyPriorReset','entries','_compressMutationService','_getUploadFileURL','byteLength','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_resendTimeout','_handlerCallback','action','_logService','bind','replace','_event$','_commentUpdate$','_awaitingChangeset','call','_iKey','initWorkbookPermissionChange','state','saveSnapshot','YUUMI_RATE_OVER_LIMIT','code','error$','snapshot','objectActions','_incrementRevisionNumber','&source=','requestParams','_onConnectionOpen','_candidateSocket','toggleOffline','extend','_state','pauseCollaboration','exports','_telemetryService','LIVESHARE_FETCH_OPERATIONS','SNAPSHOT_INVALID_SNAPSHOT','_clearHeartbeatTimer','SHA1','keySize','clearUndoRedo','UNIVER_COLLABORATION_CLIENT_PLUGIN','_snapshotService','session.room-cnt-exceeds','_pendingMutations','PSEUDO_FETCH_MISSING_RESULT','_scheduleTimestamp','complete','onSendChangeset','onLocalMutation','ERROR_IMAGE','LOGIN_URL_KEY','ONLINE','_updateStatus','now','formatter','_eventService','_throwTelemetryCollaborationNewChangeset','getInterceptPoints','_sendHeartbeatTimer','OTHER_CLIENT_EDITING','byteOffset','_getSendChangesetTimeout','_mode','charAt','executeCommand','UNKNOWN_CODE','status$','_singleActiveUnitService','4551759gGzTJx','location','_createSocketURL','updateCursorEvent','onStarting','name','from','collaboratorID','routeKey','getImageSourceCache','SOCKET_FAILED','toString','onCommentUpdate','getPermissionPoint','reject','UNIVER_SLIDE','LICENSE_IMPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','failed\x20to\x20apply\x20missed\x20changesets!','EvpKDF','ERROR_IMAGE_TYPE','UNIVER_DOC','filter','_members','_collaborationSessionService','sendChangesetTimeout','_showConflictNotification','Hasher','roles','_change$','UNRECOGNIZED','find','LEAVE','_onFetchMissResult','CLOSE_ROOM','awaiting_with_pending','WordArray','target','ERROR_EXCEED_SIZE','Utf8','deleteCollaborator','incrementRevOfUnit','transformMutationsWithChangeset','/universer-api/snapshot/','memberID','onTransformSelections','StreamCipher','onSyncEditingCollabCursor','unitId\x20is\x20not\x20found','decryptBlock','HEARTBEAT_INTERVAL','NOT_COLLAB','getRandomValues','_waitCount','execute','Hex','_initDependencies','_initUnitPermissionChange','sin','decrypt','socket\x20open.','getDeserializedSheetBlock','conflict','_getSignURL','/universer-api/comb','UNIVER_UNKNOWN','_changesetSessionId','not_collab','/-/object/-/batch_allowed','_sendHeartbeat','_entities','?size=','FAIL','[CollaborationSessionService]:\x20socket\x20error','IDLE','editingUnit','defineProperty','RECV','_xformMode','indexOf','loadOfflineData','onRemoteRetry','_configService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_userManagerService','_key','JOIN_ROOM_NOT_EXISTS','saveImage','_transformRemoteChangesetByIMECache','_initMergeInterceptor','&assign=','fetchThroughInterceptors','LIVESHARE_REQUEST_HOST','getCurrentUser','_getSessionTicket','_onOffline','_append','changesets','_commentService','getCollabEntity','PERSON','delete','reverse','parse','message$','startsWith','charCodeAt','emitEvent','addEventListener','compute'];_0x5285=function(){return _0x4fb5bc;};return _0x5285();}const wi=_0xb8d684(0x190),Ms=_0xb8d684(0x184);let Rt=class extends _0x1b0b12{constructor(_0x5852bb,_0x2ac3d1){var _0x2f3db8=_0xb8d684;super(),this[_0x2f3db8(0x3c5)]=_0x5852bb,this['_configService']=_0x2ac3d1,this[_0x2f3db8(0x38b)]();}['_initMergeInterceptor'](){var _0x35d57a=_0xb8d684;const _0x365f83=this;this['disposeWithMe'](this[_0x35d57a(0x3c5)][_0x35d57a(0x1f4)]({'priority':0x3e7,'interceptor':_0x32409f({'isMatch'(_0x4ec16d){var _0x4113c1=_0x35d57a,_0x155525;if(_0x4ec16d[_0x4113c1(0x1aa)]==='POST'&&((_0x155525=_0x4ec16d[_0x4113c1(0x306)])!=null&&_0x155525[_0x4113c1(0x438)])){const {objectID:_0x5e0f15,objectType:_0x2ac6d4}=_0x4ec16d[_0x4113c1(0x306)][_0x4113c1(0x438)]||{};if(!_0x5e0f15||_0x2ac6d4===void 0x0)return!0x1;const _0x5022cc=_0x365f83[_0x4113c1(0x41a)]()+'/'+_0x2ac6d4+_0x4113c1(0x1d7)+_0x5e0f15+_0x4113c1(0x143);if(_0x4ec16d[_0x4113c1(0x24d)]===_0x5022cc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc1963b){var _0x467445=_0x35d57a,_0x2a68bd;return(_0x2a68bd=_0xc1963b[_0x467445(0x306)])==null?void 0x0:_0x2a68bd[_0x467445(0x438)];},'mergeParamsToRequest'(_0x56fb87,_0x12d60f){var _0x57c7e6=_0x35d57a;const _0x335567=_0x365f83[_0x57c7e6(0x41a)]()+_0x57c7e6(0x375),_0x2d6522=_0x56fb87[_0x57c7e6(0x2a1)]((_0x44e625,_0x4ade84)=>{var _0x5a77fe=_0x57c7e6;const {unitID:_0x3b680b,objectID:_0x2ffbe3,objectType:_0x559ded,actions:_0x33bece}=_0x4ade84;return _0x44e625[_0x3b680b]||(_0x44e625[_0x3b680b]={}),_0x44e625[_0x3b680b][_0x2ffbe3]||(_0x44e625[_0x3b680b][_0x2ffbe3]={'objectID':_0x2ffbe3,'objectType':_0x559ded,'actions':[]}),_0x44e625[_0x3b680b][_0x2ffbe3]['actions'][_0x5a77fe(0x3e8)](..._0x33bece),_0x44e625;},{}),_0x23190d=[];for(const _0x571912 in _0x2d6522)for(const _0x5c174b in _0x2d6522[_0x571912]){const {actions:_0x99ca6,objectType:_0x3e4c31}=_0x2d6522[_0x571912][_0x5c174b],_0x519a48=[...new Set(_0x99ca6)];_0x23190d[_0x57c7e6(0x3e8)]({'unitID':_0x571912,'objectID':_0x5c174b,'objectType':_0x3e4c31,'actions':_0x519a48});}return new _0x50a549('POST',_0x335567,{'headers':_0x12d60f[_0x57c7e6(0x289)],'withCredentials':_0x12d60f[_0x57c7e6(0x2aa)],'responseType':_0x12d60f[_0x57c7e6(0x15b)],'body':{'requests':_0x23190d}});}},{'distributeResult'(_0x5f139f,_0x492910){var _0x3c82c5=_0x35d57a;const {objectActions:_0x41c162}=_0x5f139f;return _0x492910[_0x3c82c5(0x2d7)](_0x28cfdb=>{var _0x5466e4=_0x3c82c5;const {unitID:_0x4ea45e,objectID:_0x3f8da7,actions:_0xf03127}=_0x28cfdb,_0x5e19d2=_0x41c162[_0x5466e4(0x350)](_0x2b5b3f=>_0x2b5b3f[_0x5466e4(0x3d3)]===_0x4ea45e&&_0x2b5b3f[_0x5466e4(0x3ef)]===_0x3f8da7),_0x4173fa=_0xf03127[_0x5466e4(0x2d7)](_0xd5de46=>_0x5e19d2==null?void 0x0:_0x5e19d2[_0x5466e4(0x1ae)][_0x5466e4(0x350)](_0x689baa=>_0x689baa[_0x5466e4(0x2f3)]===_0xd5de46))['filter'](_0x4d494c=>!!_0x4d494c);return{'config':_0x28cfdb,'result':{'actions':_0x4173fa,'error':_0x5f139f[_0x5466e4(0x282)]}};});}})}));}[_0xb8d684(0x41a)](){var _0x2a65b0=_0xb8d684,_0x25996a,_0x450af;const _0x5a38cc=this[_0x2a65b0(0x383)]['getConfig'](wi),_0x22f387=this[_0x2a65b0(0x383)][_0x2a65b0(0x262)](Y);return(_0x450af=(_0x25996a=_0x22f387==null?void 0x0:_0x22f387[_0x2a65b0(0x1f5)])!=null?_0x25996a:_0x5a38cc)!=null?_0x450af:Ms;}async[_0xb8d684(0x434)](_0x2137f0){var _0x49b384=_0xb8d684;const _0x3a012e=this[_0x49b384(0x41a)]()+'/'+_0x2137f0['objectType']+'/object';return(await this['_HTTPService'][_0x49b384(0x13b)](_0x3a012e,{'body':_0x2137f0}))[_0x49b384(0x438)][_0x49b384(0x3ef)]||'';}async[_0xb8d684(0x2df)](_0x29db4a){var _0x209e31=_0xb8d684;const _0x538330=this[_0x209e31(0x41a)]()+_0x209e31(0x1cd);return(await this[_0x209e31(0x3c5)][_0x209e31(0x13b)](_0x538330,{'body':_0x29db4a}))[_0x209e31(0x438)][_0x209e31(0x20d)];}async['update'](_0x207a04){var _0x5010a3=_0xb8d684;const _0x53b5b7=this[_0x5010a3(0x41a)]()+'/'+_0x207a04[_0x5010a3(0x42f)]+_0x5010a3(0x1d7)+_0x207a04[_0x5010a3(0x3ef)];await this[_0x5010a3(0x3c5)][_0x5010a3(0x20b)](_0x53b5b7,{'body':_0x207a04});}async['allowed'](_0x2ad563){var _0x389e93=_0xb8d684;const _0x6ab36a=this[_0x389e93(0x41a)]()+'/'+_0x2ad563[_0x389e93(0x42f)]+_0x389e93(0x1d7)+_0x2ad563['objectID']+'/allowed';return(await this[_0x389e93(0x3c5)]['post'](_0x6ab36a,{'body':_0x2ad563}))[_0x389e93(0x438)][_0x389e93(0x1ae)];}async[_0xb8d684(0x3fa)](_0x473fc4){var _0x3fc0e5=_0xb8d684;const _0x4cb1f3=this[_0x3fc0e5(0x41a)]()+_0x3fc0e5(0x375);return(await this[_0x3fc0e5(0x3c5)][_0x3fc0e5(0x13b)](_0x4cb1f3,{'body':{'requests':_0x473fc4}}))[_0x3fc0e5(0x438)][_0x3fc0e5(0x303)];}async['listRoles'](_0x106531){var _0x5194c2=_0xb8d684;const _0x3f2ee3=this[_0x5194c2(0x41a)]()+'/'+_0x106531[_0x5194c2(0x42f)]+'/role',_0x148588=await this[_0x5194c2(0x3c5)][_0x5194c2(0x13b)](_0x3f2ee3,{'body':_0x106531});return{'roles':_0x148588[_0x5194c2(0x438)][_0x5194c2(0x34d)],'actions':_0x148588[_0x5194c2(0x438)][_0x5194c2(0x1ae)]};}async[_0xb8d684(0x359)](_0x2fd406){var _0x5175cb=_0xb8d684;const _0xba095b=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['delete'](_0xba095b,{'params':{'collaboratorID':_0x2fd406[_0x5175cb(0x338)],'objectID':_0x2fd406[_0x5175cb(0x3ef)],'unitID':_0x2fd406[_0x5175cb(0x3d3)]}});}async[_0xb8d684(0x3a2)](_0x39d799){var _0x291487=_0xb8d684;const _0x511460=this[_0x291487(0x41a)]()+_0x291487(0x227);await this[_0x291487(0x3c5)][_0x291487(0x3a6)](_0x511460,{'body':_0x39d799});}async[_0xb8d684(0x413)](_0x3eca03){var _0x1d5a30=_0xb8d684;const _0x5377e1=this[_0x1d5a30(0x41a)]()+_0x1d5a30(0x227);await this[_0x1d5a30(0x3c5)][_0x1d5a30(0x13b)](_0x5377e1,{'body':_0x3eca03});}async[_0xb8d684(0x18f)](_0x585a89){var _0xd2c4b4=_0xb8d684;const _0x2c1c96=this[_0xd2c4b4(0x41a)]()+_0xd2c4b4(0x227);return(await this['_HTTPService'][_0xd2c4b4(0x3df)](_0x2c1c96,{'params':{'objectID':_0x585a89['objectID'],'unitID':_0x585a89[_0xd2c4b4(0x3d3)]}}))[_0xd2c4b4(0x438)][_0xd2c4b4(0x259)];}async[_0xb8d684(0x41c)](_0x34555c){var _0x1fecf8=_0xb8d684;const _0x319f36=this[_0x1fecf8(0x41a)]()+_0x1fecf8(0x227);await this[_0x1fecf8(0x3c5)][_0x1fecf8(0x20b)](_0x319f36,{'body':_0x34555c});}};Rt=Ls([Zt(0x0,_0x326892(_0x5bf8ac)),Zt(0x1,_0x326892(_0x3a81dd))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x2566f7){var _0x2b4380=_0xb8d684;return _0x2566f7&&_0x2566f7[_0x2b4380(0x432)]&&Object[_0x2b4380(0x14c)][_0x2b4380(0x202)][_0x2b4380(0x2fa)](_0x2566f7,_0x2b4380(0x27c))?_0x2566f7[_0x2b4380(0x27c)]:_0x2566f7;}var We={'exports':{}};function $s(_0x5b9506){var _0x72fe65=_0xb8d684;throw new Error(_0x72fe65(0x1f7)+_0x5b9506+_0x72fe65(0x1ce));}var Ge={'exports':{}},Hs=Ge[_0xb8d684(0x30d)],Qt;function ne(){var _0x336f84=_0xb8d684;return Qt||(Qt=0x1,function(_0x17101a,_0x4a166a){(function(_0x46364a,_0x4f3edc){_0x17101a['exports']=_0x4f3edc();}(Hs,function(){var _0x3231fc=_0x3231fc||function(_0x16351a,_0x2cb365){var _0x3cc2b1=_0x47e4,_0x3c1196;if(typeof window<'u'&&window[_0x3cc2b1(0x299)]&&(_0x3c1196=window[_0x3cc2b1(0x299)]),typeof self<'u'&&self[_0x3cc2b1(0x299)]&&(_0x3c1196=self[_0x3cc2b1(0x299)]),typeof globalThis<'u'&&globalThis[_0x3cc2b1(0x299)]&&(_0x3c1196=globalThis[_0x3cc2b1(0x299)]),!_0x3c1196&&typeof window<'u'&&window[_0x3cc2b1(0x3e9)]&&(_0x3c1196=window[_0x3cc2b1(0x3e9)]),!_0x3c1196&&typeof pt<'u'&&pt['crypto']&&(_0x3c1196=pt['crypto']),!_0x3c1196&&typeof $s==_0x3cc2b1(0x207))try{_0x3c1196=require(_0x3cc2b1(0x299));}catch{}var _0x316333=function(){var _0x4ceebc=_0x3cc2b1;if(_0x3c1196){if(typeof _0x3c1196[_0x4ceebc(0x365)]==_0x4ceebc(0x207))try{return _0x3c1196[_0x4ceebc(0x365)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c1196[_0x4ceebc(0x3cb)]==_0x4ceebc(0x207))try{return _0x3c1196[_0x4ceebc(0x3cb)](0x4)[_0x4ceebc(0x22a)]();}catch{}}throw new Error(_0x4ceebc(0x1a5));},_0x1324d7=Object['create']||(function(){function _0x3047c2(){}return function(_0x3a5b30){var _0x1eb697=_0x47e4,_0x464242;return _0x3047c2[_0x1eb697(0x14c)]=_0x3a5b30,_0x464242=new _0x3047c2(),_0x3047c2['prototype']=null,_0x464242;};}()),_0x3f0ed2={},_0x265151=_0x3f0ed2['lib']={},_0x254a3f=_0x265151[_0x3cc2b1(0x148)]=(function(){return{'extend':function(_0x446f77){var _0x18d48e=_0x47e4,_0x3807db=_0x1324d7(this);return _0x446f77&&_0x3807db['mixIn'](_0x446f77),(!_0x3807db[_0x18d48e(0x202)](_0x18d48e(0x1c4))||this[_0x18d48e(0x1c4)]===_0x3807db['init'])&&(_0x3807db['init']=function(){var _0x5523f9=_0x18d48e;_0x3807db[_0x5523f9(0x20f)]['init'][_0x5523f9(0x285)](this,arguments);}),_0x3807db[_0x18d48e(0x1c4)]['prototype']=_0x3807db,_0x3807db[_0x18d48e(0x20f)]=this,_0x3807db;},'create':function(){var _0x390a5b=_0x47e4,_0x2074cd=this[_0x390a5b(0x30a)]();return _0x2074cd[_0x390a5b(0x1c4)]['apply'](_0x2074cd,arguments),_0x2074cd;},'init':function(){},'mixIn':function(_0x1e247b){var _0x34842d=_0x47e4;for(var _0x5d5902 in _0x1e247b)_0x1e247b[_0x34842d(0x202)](_0x5d5902)&&(this[_0x5d5902]=_0x1e247b[_0x5d5902]);_0x1e247b[_0x34842d(0x202)](_0x34842d(0x33c))&&(this[_0x34842d(0x33c)]=_0x1e247b['toString']);},'clone':function(){var _0x4f1062=_0x47e4;return this['init'][_0x4f1062(0x14c)][_0x4f1062(0x30a)](this);}};}()),_0x5e6e31=_0x265151['WordArray']=_0x254a3f[_0x3cc2b1(0x30a)]({'init':function(_0x12de60,_0x3a5894){var _0x71ae3b=_0x3cc2b1;_0x12de60=this[_0x71ae3b(0x292)]=_0x12de60||[],_0x3a5894!=_0x2cb365?this['sigBytes']=_0x3a5894:this['sigBytes']=_0x12de60['length']*0x4;},'toString':function(_0x39eb2d){var _0x47b539=_0x3cc2b1;return(_0x39eb2d||_0x1aa28d)[_0x47b539(0x1c9)](this);},'concat':function(_0x5e1cdc){var _0x3890ba=_0x3cc2b1,_0x5eea75=this['words'],_0x11cef8=_0x5e1cdc[_0x3890ba(0x292)],_0x43175d=this[_0x3890ba(0x3e7)],_0x57a52f=_0x5e1cdc['sigBytes'];if(this[_0x3890ba(0x1c3)](),_0x43175d%0x4)for(var _0x341179=0x0;_0x341179<_0x57a52f;_0x341179++){var _0x34a5ae=_0x11cef8[_0x341179>>>0x2]>>>0x18-_0x341179%0x4*0x8&0xff;_0x5eea75[_0x43175d+_0x341179>>>0x2]|=_0x34a5ae<<0x18-(_0x43175d+_0x341179)%0x4*0x8;}else{for(var _0x4e95cd=0x0;_0x4e95cd<_0x57a52f;_0x4e95cd+=0x4)_0x5eea75[_0x43175d+_0x4e95cd>>>0x2]=_0x11cef8[_0x4e95cd>>>0x2];}return this[_0x3890ba(0x3e7)]+=_0x57a52f,this;},'clamp':function(){var _0x2d1a4f=_0x3cc2b1,_0x4ae64b=this['words'],_0x4d9837=this[_0x2d1a4f(0x3e7)];_0x4ae64b[_0x4d9837>>>0x2]&=0xffffffff<<0x20-_0x4d9837%0x4*0x8,_0x4ae64b[_0x2d1a4f(0x277)]=_0x16351a[_0x2d1a4f(0x1bd)](_0x4d9837/0x4);},'clone':function(){var _0x139da2=_0x3cc2b1,_0x5f4b58=_0x254a3f[_0x139da2(0x20c)][_0x139da2(0x2fa)](this);return _0x5f4b58[_0x139da2(0x292)]=this['words']['slice'](0x0),_0x5f4b58;},'random':function(_0x44f8ba){var _0xa39021=_0x3cc2b1;for(var _0x414a1f=[],_0x4e14a7=0x0;_0x4e14a7<_0x44f8ba;_0x4e14a7+=0x4)_0x414a1f[_0xa39021(0x3e8)](_0x316333());return new _0x5e6e31[(_0xa39021(0x1c4))](_0x414a1f,_0x44f8ba);}}),_0x523866=_0x3f0ed2[_0x3cc2b1(0x3e0)]={},_0x1aa28d=_0x523866[_0x3cc2b1(0x368)]={'stringify':function(_0x2a9744){var _0x896a38=_0x3cc2b1;for(var _0x119f21=_0x2a9744[_0x896a38(0x292)],_0xa27477=_0x2a9744[_0x896a38(0x3e7)],_0x17b701=[],_0x591d36=0x0;_0x591d36<_0xa27477;_0x591d36++){var _0x5c3ef1=_0x119f21[_0x591d36>>>0x2]>>>0x18-_0x591d36%0x4*0x8&0xff;_0x17b701[_0x896a38(0x3e8)]((_0x5c3ef1>>>0x4)[_0x896a38(0x33c)](0x10)),_0x17b701[_0x896a38(0x3e8)]((_0x5c3ef1&0xf)[_0x896a38(0x33c)](0x10));}return _0x17b701[_0x896a38(0x14d)]('');},'parse':function(_0x39d774){var _0x266f4e=_0x3cc2b1;for(var _0x2d0156=_0x39d774['length'],_0x2192f4=[],_0x9711ee=0x0;_0x9711ee<_0x2d0156;_0x9711ee+=0x2)_0x2192f4[_0x9711ee>>>0x3]|=parseInt(_0x39d774[_0x266f4e(0x22c)](_0x9711ee,0x2),0x10)<<0x18-_0x9711ee%0x8*0x4;return new _0x5e6e31[(_0x266f4e(0x1c4))](_0x2192f4,_0x2d0156/0x2);}},_0x3688aa=_0x523866[_0x3cc2b1(0x236)]={'stringify':function(_0x3e7da2){var _0x289eb7=_0x3cc2b1;for(var _0x1b0a16=_0x3e7da2[_0x289eb7(0x292)],_0x548fd9=_0x3e7da2['sigBytes'],_0x3be492=[],_0x47f789=0x0;_0x47f789<_0x548fd9;_0x47f789++){var _0xb9daa9=_0x1b0a16[_0x47f789>>>0x2]>>>0x18-_0x47f789%0x4*0x8&0xff;_0x3be492[_0x289eb7(0x3e8)](String['fromCharCode'](_0xb9daa9));}return _0x3be492[_0x289eb7(0x14d)]('');},'parse':function(_0x2c7624){var _0x54bcec=_0x3cc2b1;for(var _0x16085f=_0x2c7624[_0x54bcec(0x277)],_0x5257a5=[],_0x1d1e63=0x0;_0x1d1e63<_0x16085f;_0x1d1e63++)_0x5257a5[_0x1d1e63>>>0x2]|=(_0x2c7624[_0x54bcec(0x39c)](_0x1d1e63)&0xff)<<0x18-_0x1d1e63%0x4*0x8;return new _0x5e6e31[(_0x54bcec(0x1c4))](_0x5257a5,_0x16085f);}},_0xcb0072=_0x523866[_0x3cc2b1(0x358)]={'stringify':function(_0x553727){var _0x3ecfcf=_0x3cc2b1;try{return decodeURIComponent(escape(_0x3688aa[_0x3ecfcf(0x1c9)](_0x553727)));}catch{throw new Error(_0x3ecfcf(0x266));}},'parse':function(_0x20e4cc){var _0xbe5594=_0x3cc2b1;return _0x3688aa[_0xbe5594(0x399)](unescape(encodeURIComponent(_0x20e4cc)));}},_0x118ae6=_0x265151[_0x3cc2b1(0x23b)]=_0x254a3f[_0x3cc2b1(0x30a)]({'reset':function(){var _0x54dabf=_0x3cc2b1;this['_data']=new _0x5e6e31[(_0x54dabf(0x1c4))](),this['_nDataBytes']=0x0;},'_append':function(_0x1a401a){var _0x579173=_0x3cc2b1;typeof _0x1a401a==_0x579173(0x151)&&(_0x1a401a=_0xcb0072[_0x579173(0x399)](_0x1a401a)),this['_data'][_0x579173(0x1b9)](_0x1a401a),this['_nDataBytes']+=_0x1a401a[_0x579173(0x3e7)];},'_process':function(_0x8e2cb3){var _0x25edb4=_0x3cc2b1,_0x3b0343,_0x10d3e1=this[_0x25edb4(0x28c)],_0x1d2627=_0x10d3e1[_0x25edb4(0x292)],_0x30fc28=_0x10d3e1[_0x25edb4(0x3e7)],_0x584951=this[_0x25edb4(0x27b)],_0x2a27cf=_0x584951*0x4,_0x653240=_0x30fc28/_0x2a27cf;_0x8e2cb3?_0x653240=_0x16351a[_0x25edb4(0x1bd)](_0x653240):_0x653240=_0x16351a[_0x25edb4(0x3fd)]((_0x653240|0x0)-this[_0x25edb4(0x239)],0x0);var _0x4fde16=_0x653240*_0x584951,_0x3607c3=_0x16351a[_0x25edb4(0x417)](_0x4fde16*0x4,_0x30fc28);if(_0x4fde16){for(var _0x4a4244=0x0;_0x4a4244<_0x4fde16;_0x4a4244+=_0x584951)this[_0x25edb4(0x2dc)](_0x1d2627,_0x4a4244);_0x3b0343=_0x1d2627[_0x25edb4(0x275)](0x0,_0x4fde16),_0x10d3e1[_0x25edb4(0x3e7)]-=_0x3607c3;}return new _0x5e6e31['init'](_0x3b0343,_0x3607c3);},'clone':function(){var _0x3d46bc=_0x3cc2b1,_0x23c788=_0x254a3f['clone']['call'](this);return _0x23c788[_0x3d46bc(0x28c)]=this['_data'][_0x3d46bc(0x20c)](),_0x23c788;},'_minBufferSize':0x0});_0x265151[_0x3cc2b1(0x34c)]=_0x118ae6[_0x3cc2b1(0x30a)]({'cfg':_0x254a3f[_0x3cc2b1(0x30a)](),'init':function(_0x4dc9c2){var _0x79ca2=_0x3cc2b1;this[_0x79ca2(0x17b)]=this[_0x79ca2(0x17b)][_0x79ca2(0x30a)](_0x4dc9c2),this['reset']();},'reset':function(){var _0xf09bd7=_0x3cc2b1;_0x118ae6[_0xf09bd7(0x276)][_0xf09bd7(0x2fa)](this),this[_0xf09bd7(0x3d1)]();},'update':function(_0x23de02){var _0x34b924=_0x3cc2b1;return this[_0x34b924(0x392)](_0x23de02),this[_0x34b924(0x3d6)](),this;},'finalize':function(_0x1ba812){var _0x458124=_0x3cc2b1;_0x1ba812&&this['_append'](_0x1ba812);var _0x24ef0e=this[_0x458124(0x19e)]();return _0x24ef0e;},'blockSize':0x10,'_createHelper':function(_0xdd5445){return function(_0x23ee71,_0xf35db1){var _0xf0d719=_0x47e4;return new _0xdd5445[(_0xf0d719(0x1c4))](_0xf35db1)[_0xf0d719(0x3e5)](_0x23ee71);};},'_createHmacHelper':function(_0x585bfc){return function(_0x5f37ad,_0x16c886){var _0x1fce77=_0x47e4;return new _0x2449c1[(_0x1fce77(0x42a))]['init'](_0x585bfc,_0x16c886)[_0x1fce77(0x3e5)](_0x5f37ad);};}});var _0x2449c1=_0x3f0ed2[_0x3cc2b1(0x27a)]={};return _0x3f0ed2;}(Math);return _0x3231fc;}));}(Ge)),Ge[_0x336f84(0x30d)];}var Ke={'exports':{}},ks=Ke[_0xb8d684(0x30d)],ei;function Ui(){var _0xa745ba=_0xb8d684;return ei||(ei=0x1,function(_0xdf8ed2,_0x26ef62){(function(_0x265fa8,_0x2042f3){var _0x4222b3=_0x47e4;_0xdf8ed2[_0x4222b3(0x30d)]=_0x2042f3(ne());}(ks,function(_0x53194c){var _0x20d202=_0x47e4;return(function(){var _0x1d4947=_0x47e4,_0x2baee9=_0x53194c,_0x2be1ce=_0x2baee9[_0x1d4947(0x2ab)],_0x20c9ba=_0x2be1ce[_0x1d4947(0x355)],_0x53dc3c=_0x2baee9[_0x1d4947(0x3e0)];_0x53dc3c[_0x1d4947(0x1f8)]={'stringify':function(_0x53a102){var _0x4113da=_0x1d4947,_0x40a864=_0x53a102[_0x4113da(0x292)],_0x500962=_0x53a102[_0x4113da(0x3e7)],_0x5022b5=this[_0x4113da(0x2a9)];_0x53a102[_0x4113da(0x1c3)]();for(var _0xc90a81=[],_0x14f23f=0x0;_0x14f23f<_0x500962;_0x14f23f+=0x3)for(var _0x2e1073=_0x40a864[_0x14f23f>>>0x2]>>>0x18-_0x14f23f%0x4*0x8&0xff,_0x14ecb4=_0x40a864[_0x14f23f+0x1>>>0x2]>>>0x18-(_0x14f23f+0x1)%0x4*0x8&0xff,_0x384e89=_0x40a864[_0x14f23f+0x2>>>0x2]>>>0x18-(_0x14f23f+0x2)%0x4*0x8&0xff,_0x4f0122=_0x2e1073<<0x10|_0x14ecb4<<0x8|_0x384e89,_0x45085b=0x0;_0x45085b<0x4&&_0x14f23f+_0x45085b*0.75<_0x500962;_0x45085b++)_0xc90a81[_0x4113da(0x3e8)](_0x5022b5[_0x4113da(0x32c)](_0x4f0122>>>0x6*(0x3-_0x45085b)&0x3f));var _0x13a670=_0x5022b5[_0x4113da(0x32c)](0x40);if(_0x13a670){for(;_0xc90a81[_0x4113da(0x277)]%0x4;)_0xc90a81[_0x4113da(0x3e8)](_0x13a670);}return _0xc90a81['join']('');},'parse':function(_0xee07bb){var _0x3e28ea=_0x1d4947,_0x200dd5=_0xee07bb[_0x3e28ea(0x277)],_0x2a8675=this['_map'],_0x243173=this[_0x3e28ea(0x3fe)];if(!_0x243173){_0x243173=this[_0x3e28ea(0x3fe)]=[];for(var _0x29a9ff=0x0;_0x29a9ff<_0x2a8675['length'];_0x29a9ff++)_0x243173[_0x2a8675[_0x3e28ea(0x39c)](_0x29a9ff)]=_0x29a9ff;}var _0x479084=_0x2a8675[_0x3e28ea(0x32c)](0x40);if(_0x479084){var _0x3d110c=_0xee07bb[_0x3e28ea(0x380)](_0x479084);_0x3d110c!==-0x1&&(_0x200dd5=_0x3d110c);}return _0x2d5d24(_0xee07bb,_0x200dd5,_0x243173);},'_map':_0x1d4947(0x15d)};function _0x2d5d24(_0x10a31a,_0x1ccf3f,_0x2122f6){var _0x10735c=_0x1d4947;for(var _0x1fb3ff=[],_0x10df04=0x0,_0x9cfe60=0x0;_0x9cfe60<_0x1ccf3f;_0x9cfe60++)if(_0x9cfe60%0x4){var _0x41d507=_0x2122f6[_0x10a31a[_0x10735c(0x39c)](_0x9cfe60-0x1)]<<_0x9cfe60%0x4*0x2,_0x2a87f9=_0x2122f6[_0x10a31a[_0x10735c(0x39c)](_0x9cfe60)]>>>0x6-_0x9cfe60%0x4*0x2,_0x1521a1=_0x41d507|_0x2a87f9;_0x1fb3ff[_0x10df04>>>0x2]|=_0x1521a1<<0x18-_0x10df04%0x4*0x8,_0x10df04++;}return _0x20c9ba[_0x10735c(0x434)](_0x1fb3ff,_0x10df04);}}()),_0x53194c[_0x20d202(0x3e0)]['Base64'];}));}(Ke)),Ke[_0xa745ba(0x30d)];}var ze={'exports':{}},js=ze[_0xb8d684(0x30d)],ti;function Bs(){var _0x3baf54=_0xb8d684;return ti||(ti=0x1,function(_0x56df2a,_0x13c979){(function(_0xa5e1b7,_0x4a5585){var _0x3ae53e=_0x47e4;_0x56df2a[_0x3ae53e(0x30d)]=_0x4a5585(ne());}(js,function(_0x3f4896){var _0x2aa947=_0x47e4;return function(_0x212afc){var _0x5270ee=_0x47e4,_0x74690d=_0x3f4896,_0x49d62d=_0x74690d[_0x5270ee(0x2ab)],_0x987c1e=_0x49d62d[_0x5270ee(0x355)],_0x525619=_0x49d62d[_0x5270ee(0x34c)],_0x21fbef=_0x74690d['algo'],_0x5f183c=[];(function(){var _0x788a15=_0x5270ee;for(var _0x10cb9a=0x0;_0x10cb9a<0x40;_0x10cb9a++)_0x5f183c[_0x10cb9a]=_0x212afc[_0x788a15(0x3f5)](_0x212afc[_0x788a15(0x36b)](_0x10cb9a+0x1))*0x100000000|0x0;}());var _0x5d42ae=_0x21fbef[_0x5270ee(0x286)]=_0x525619[_0x5270ee(0x30a)]({'_doReset':function(){var _0x259de8=_0x5270ee;this[_0x259de8(0x403)]=new _0x987c1e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5b390a,_0x3595d8){var _0x1c08cb=_0x5270ee;for(var _0x11d3bf=0x0;_0x11d3bf<0x10;_0x11d3bf++){var _0x4ce0a0=_0x3595d8+_0x11d3bf,_0x441e5c=_0x5b390a[_0x4ce0a0];_0x5b390a[_0x4ce0a0]=(_0x441e5c<<0x8|_0x441e5c>>>0x18)&0xff00ff|(_0x441e5c<<0x18|_0x441e5c>>>0x8)&0xff00ff00;}var _0x4dc26a=this[_0x1c08cb(0x403)][_0x1c08cb(0x292)],_0x51649c=_0x5b390a[_0x3595d8+0x0],_0x3eb034=_0x5b390a[_0x3595d8+0x1],_0xe6f372=_0x5b390a[_0x3595d8+0x2],_0x54d89e=_0x5b390a[_0x3595d8+0x3],_0x3035d7=_0x5b390a[_0x3595d8+0x4],_0x3f15eb=_0x5b390a[_0x3595d8+0x5],_0x5ea0a4=_0x5b390a[_0x3595d8+0x6],_0x3b884c=_0x5b390a[_0x3595d8+0x7],_0x2688ef=_0x5b390a[_0x3595d8+0x8],_0x41213f=_0x5b390a[_0x3595d8+0x9],_0x475c6a=_0x5b390a[_0x3595d8+0xa],_0x4c2ffb=_0x5b390a[_0x3595d8+0xb],_0x489c30=_0x5b390a[_0x3595d8+0xc],_0x387cbf=_0x5b390a[_0x3595d8+0xd],_0x3d971b=_0x5b390a[_0x3595d8+0xe],_0x34af3f=_0x5b390a[_0x3595d8+0xf],_0x1f8940=_0x4dc26a[0x0],_0x4d44c7=_0x4dc26a[0x1],_0x429089=_0x4dc26a[0x2],_0x201ea2=_0x4dc26a[0x3];_0x1f8940=_0x165dd9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x51649c,0x7,_0x5f183c[0x0]),_0x201ea2=_0x165dd9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x3eb034,0xc,_0x5f183c[0x1]),_0x429089=_0x165dd9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0xe6f372,0x11,_0x5f183c[0x2]),_0x4d44c7=_0x165dd9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x54d89e,0x16,_0x5f183c[0x3]),_0x1f8940=_0x165dd9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3035d7,0x7,_0x5f183c[0x4]),_0x201ea2=_0x165dd9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x3f15eb,0xc,_0x5f183c[0x5]),_0x429089=_0x165dd9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x5ea0a4,0x11,_0x5f183c[0x6]),_0x4d44c7=_0x165dd9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x3b884c,0x16,_0x5f183c[0x7]),_0x1f8940=_0x165dd9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x2688ef,0x7,_0x5f183c[0x8]),_0x201ea2=_0x165dd9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x41213f,0xc,_0x5f183c[0x9]),_0x429089=_0x165dd9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x475c6a,0x11,_0x5f183c[0xa]),_0x4d44c7=_0x165dd9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x4c2ffb,0x16,_0x5f183c[0xb]),_0x1f8940=_0x165dd9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x489c30,0x7,_0x5f183c[0xc]),_0x201ea2=_0x165dd9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x387cbf,0xc,_0x5f183c[0xd]),_0x429089=_0x165dd9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x3d971b,0x11,_0x5f183c[0xe]),_0x4d44c7=_0x165dd9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x34af3f,0x16,_0x5f183c[0xf]),_0x1f8940=_0x3156d9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3eb034,0x5,_0x5f183c[0x10]),_0x201ea2=_0x3156d9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x5ea0a4,0x9,_0x5f183c[0x11]),_0x429089=_0x3156d9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x4c2ffb,0xe,_0x5f183c[0x12]),_0x4d44c7=_0x3156d9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x51649c,0x14,_0x5f183c[0x13]),_0x1f8940=_0x3156d9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3f15eb,0x5,_0x5f183c[0x14]),_0x201ea2=_0x3156d9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x475c6a,0x9,_0x5f183c[0x15]),_0x429089=_0x3156d9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x34af3f,0xe,_0x5f183c[0x16]),_0x4d44c7=_0x3156d9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x3035d7,0x14,_0x5f183c[0x17]),_0x1f8940=_0x3156d9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x41213f,0x5,_0x5f183c[0x18]),_0x201ea2=_0x3156d9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x3d971b,0x9,_0x5f183c[0x19]),_0x429089=_0x3156d9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x54d89e,0xe,_0x5f183c[0x1a]),_0x4d44c7=_0x3156d9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x2688ef,0x14,_0x5f183c[0x1b]),_0x1f8940=_0x3156d9(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x387cbf,0x5,_0x5f183c[0x1c]),_0x201ea2=_0x3156d9(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0xe6f372,0x9,_0x5f183c[0x1d]),_0x429089=_0x3156d9(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x3b884c,0xe,_0x5f183c[0x1e]),_0x4d44c7=_0x3156d9(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x489c30,0x14,_0x5f183c[0x1f]),_0x1f8940=_0xdc0406(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3f15eb,0x4,_0x5f183c[0x20]),_0x201ea2=_0xdc0406(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x2688ef,0xb,_0x5f183c[0x21]),_0x429089=_0xdc0406(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x4c2ffb,0x10,_0x5f183c[0x22]),_0x4d44c7=_0xdc0406(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x3d971b,0x17,_0x5f183c[0x23]),_0x1f8940=_0xdc0406(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3eb034,0x4,_0x5f183c[0x24]),_0x201ea2=_0xdc0406(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x3035d7,0xb,_0x5f183c[0x25]),_0x429089=_0xdc0406(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x3b884c,0x10,_0x5f183c[0x26]),_0x4d44c7=_0xdc0406(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x475c6a,0x17,_0x5f183c[0x27]),_0x1f8940=_0xdc0406(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x387cbf,0x4,_0x5f183c[0x28]),_0x201ea2=_0xdc0406(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x51649c,0xb,_0x5f183c[0x29]),_0x429089=_0xdc0406(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x54d89e,0x10,_0x5f183c[0x2a]),_0x4d44c7=_0xdc0406(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x5ea0a4,0x17,_0x5f183c[0x2b]),_0x1f8940=_0xdc0406(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x41213f,0x4,_0x5f183c[0x2c]),_0x201ea2=_0xdc0406(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x489c30,0xb,_0x5f183c[0x2d]),_0x429089=_0xdc0406(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x34af3f,0x10,_0x5f183c[0x2e]),_0x4d44c7=_0xdc0406(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0xe6f372,0x17,_0x5f183c[0x2f]),_0x1f8940=_0x602992(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x51649c,0x6,_0x5f183c[0x30]),_0x201ea2=_0x602992(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x3b884c,0xa,_0x5f183c[0x31]),_0x429089=_0x602992(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x3d971b,0xf,_0x5f183c[0x32]),_0x4d44c7=_0x602992(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x3f15eb,0x15,_0x5f183c[0x33]),_0x1f8940=_0x602992(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x489c30,0x6,_0x5f183c[0x34]),_0x201ea2=_0x602992(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x54d89e,0xa,_0x5f183c[0x35]),_0x429089=_0x602992(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x475c6a,0xf,_0x5f183c[0x36]),_0x4d44c7=_0x602992(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x3eb034,0x15,_0x5f183c[0x37]),_0x1f8940=_0x602992(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x2688ef,0x6,_0x5f183c[0x38]),_0x201ea2=_0x602992(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x34af3f,0xa,_0x5f183c[0x39]),_0x429089=_0x602992(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0x5ea0a4,0xf,_0x5f183c[0x3a]),_0x4d44c7=_0x602992(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x387cbf,0x15,_0x5f183c[0x3b]),_0x1f8940=_0x602992(_0x1f8940,_0x4d44c7,_0x429089,_0x201ea2,_0x3035d7,0x6,_0x5f183c[0x3c]),_0x201ea2=_0x602992(_0x201ea2,_0x1f8940,_0x4d44c7,_0x429089,_0x4c2ffb,0xa,_0x5f183c[0x3d]),_0x429089=_0x602992(_0x429089,_0x201ea2,_0x1f8940,_0x4d44c7,_0xe6f372,0xf,_0x5f183c[0x3e]),_0x4d44c7=_0x602992(_0x4d44c7,_0x429089,_0x201ea2,_0x1f8940,_0x41213f,0x15,_0x5f183c[0x3f]),_0x4dc26a[0x0]=_0x4dc26a[0x0]+_0x1f8940|0x0,_0x4dc26a[0x1]=_0x4dc26a[0x1]+_0x4d44c7|0x0,_0x4dc26a[0x2]=_0x4dc26a[0x2]+_0x429089|0x0,_0x4dc26a[0x3]=_0x4dc26a[0x3]+_0x201ea2|0x0;},'_doFinalize':function(){var _0x4b5ab0=_0x5270ee,_0x215ac6=this['_data'],_0x12cc25=_0x215ac6[_0x4b5ab0(0x292)],_0x4bb120=this[_0x4b5ab0(0x412)]*0x8,_0x5160dc=_0x215ac6[_0x4b5ab0(0x3e7)]*0x8;_0x12cc25[_0x5160dc>>>0x5]|=0x80<<0x18-_0x5160dc%0x20;var _0x39a7e2=_0x212afc[_0x4b5ab0(0x2b2)](_0x4bb120/0x100000000),_0x322c37=_0x4bb120;_0x12cc25[(_0x5160dc+0x40>>>0x9<<0x4)+0xf]=(_0x39a7e2<<0x8|_0x39a7e2>>>0x18)&0xff00ff|(_0x39a7e2<<0x18|_0x39a7e2>>>0x8)&0xff00ff00,_0x12cc25[(_0x5160dc+0x40>>>0x9<<0x4)+0xe]=(_0x322c37<<0x8|_0x322c37>>>0x18)&0xff00ff|(_0x322c37<<0x18|_0x322c37>>>0x8)&0xff00ff00,_0x215ac6[_0x4b5ab0(0x3e7)]=(_0x12cc25[_0x4b5ab0(0x277)]+0x1)*0x4,this[_0x4b5ab0(0x3d6)]();for(var _0xda124b=this['_hash'],_0x37ac41=_0xda124b['words'],_0x21baeb=0x0;_0x21baeb<0x4;_0x21baeb++){var _0x25f242=_0x37ac41[_0x21baeb];_0x37ac41[_0x21baeb]=(_0x25f242<<0x8|_0x25f242>>>0x18)&0xff00ff|(_0x25f242<<0x18|_0x25f242>>>0x8)&0xff00ff00;}return _0xda124b;},'clone':function(){var _0x1a032b=_0x5270ee,_0x515783=_0x525619[_0x1a032b(0x20c)][_0x1a032b(0x2fa)](this);return _0x515783[_0x1a032b(0x403)]=this[_0x1a032b(0x403)][_0x1a032b(0x20c)](),_0x515783;}});function _0x165dd9(_0x4d5ffb,_0x18fbfd,_0x549c2f,_0x5e5fe0,_0xd01adb,_0x1d7294,_0x369d3a){var _0x2a2320=_0x4d5ffb+(_0x18fbfd&_0x549c2f|~_0x18fbfd&_0x5e5fe0)+_0xd01adb+_0x369d3a;return(_0x2a2320<<_0x1d7294|_0x2a2320>>>0x20-_0x1d7294)+_0x18fbfd;}function _0x3156d9(_0x5ac44e,_0x7c7d08,_0x22cc9e,_0x659d2c,_0x214d61,_0x7f793a,_0x280225){var _0x1776aa=_0x5ac44e+(_0x7c7d08&_0x659d2c|_0x22cc9e&~_0x659d2c)+_0x214d61+_0x280225;return(_0x1776aa<<_0x7f793a|_0x1776aa>>>0x20-_0x7f793a)+_0x7c7d08;}function _0xdc0406(_0x169aa3,_0x5c4251,_0x35b24a,_0x78e74f,_0x1fdd6f,_0x360f84,_0x516a9a){var _0x22e76b=_0x169aa3+(_0x5c4251^_0x35b24a^_0x78e74f)+_0x1fdd6f+_0x516a9a;return(_0x22e76b<<_0x360f84|_0x22e76b>>>0x20-_0x360f84)+_0x5c4251;}function _0x602992(_0x3e6626,_0x405a18,_0x10dc4c,_0x2495f6,_0x58c771,_0x50fa45,_0x43f7ce){var _0x1749c6=_0x3e6626+(_0x10dc4c^(_0x405a18|~_0x2495f6))+_0x58c771+_0x43f7ce;return(_0x1749c6<<_0x50fa45|_0x1749c6>>>0x20-_0x50fa45)+_0x405a18;}_0x74690d[_0x5270ee(0x286)]=_0x525619['_createHelper'](_0x5d42ae),_0x74690d[_0x5270ee(0x2e2)]=_0x525619[_0x5270ee(0x237)](_0x5d42ae);}(Math),_0x3f4896[_0x2aa947(0x286)];}));}(ze)),ze[_0x3baf54(0x30d)];}var Ye={'exports':{}},qe={'exports':{}},Fs=qe['exports'],ii;function Vs(){var _0x2a008c=_0xb8d684;return ii||(ii=0x1,function(_0x1795b0,_0x28621c){(function(_0x2ed19c,_0x22f583){_0x1795b0['exports']=_0x22f583(ne());}(Fs,function(_0x4a7f16){var _0xe77be0=_0x47e4;return(function(){var _0x5e5a4d=_0x47e4,_0x247f3e=_0x4a7f16,_0x1c5ab5=_0x247f3e[_0x5e5a4d(0x2ab)],_0x346c56=_0x1c5ab5[_0x5e5a4d(0x355)],_0x2ddbee=_0x1c5ab5['Hasher'],_0x3d399a=_0x247f3e[_0x5e5a4d(0x27a)],_0x15d534=[],_0x2da9b9=_0x3d399a[_0x5e5a4d(0x312)]=_0x2ddbee[_0x5e5a4d(0x30a)]({'_doReset':function(){var _0x470dad=_0x5e5a4d;this[_0x470dad(0x403)]=new _0x346c56['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7d4bb8,_0x13486d){var _0x1d0c16=_0x5e5a4d;for(var _0x1af1e5=this[_0x1d0c16(0x403)][_0x1d0c16(0x292)],_0x1b0149=_0x1af1e5[0x0],_0x5c4422=_0x1af1e5[0x1],_0x21a79b=_0x1af1e5[0x2],_0x4c2b95=_0x1af1e5[0x3],_0x21ea91=_0x1af1e5[0x4],_0xb74082=0x0;_0xb74082<0x50;_0xb74082++){if(_0xb74082<0x10)_0x15d534[_0xb74082]=_0x7d4bb8[_0x13486d+_0xb74082]|0x0;else{var _0x166fee=_0x15d534[_0xb74082-0x3]^_0x15d534[_0xb74082-0x8]^_0x15d534[_0xb74082-0xe]^_0x15d534[_0xb74082-0x10];_0x15d534[_0xb74082]=_0x166fee<<0x1|_0x166fee>>>0x1f;}var _0x6cfdb3=(_0x1b0149<<0x5|_0x1b0149>>>0x1b)+_0x21ea91+_0x15d534[_0xb74082];_0xb74082<0x14?_0x6cfdb3+=(_0x5c4422&_0x21a79b|~_0x5c4422&_0x4c2b95)+0x5a827999:_0xb74082<0x28?_0x6cfdb3+=(_0x5c4422^_0x21a79b^_0x4c2b95)+0x6ed9eba1:_0xb74082<0x3c?_0x6cfdb3+=(_0x5c4422&_0x21a79b|_0x5c4422&_0x4c2b95|_0x21a79b&_0x4c2b95)-0x70e44324:_0x6cfdb3+=(_0x5c4422^_0x21a79b^_0x4c2b95)-0x359d3e2a,_0x21ea91=_0x4c2b95,_0x4c2b95=_0x21a79b,_0x21a79b=_0x5c4422<<0x1e|_0x5c4422>>>0x2,_0x5c4422=_0x1b0149,_0x1b0149=_0x6cfdb3;}_0x1af1e5[0x0]=_0x1af1e5[0x0]+_0x1b0149|0x0,_0x1af1e5[0x1]=_0x1af1e5[0x1]+_0x5c4422|0x0,_0x1af1e5[0x2]=_0x1af1e5[0x2]+_0x21a79b|0x0,_0x1af1e5[0x3]=_0x1af1e5[0x3]+_0x4c2b95|0x0,_0x1af1e5[0x4]=_0x1af1e5[0x4]+_0x21ea91|0x0;},'_doFinalize':function(){var _0x17887d=_0x5e5a4d,_0x5b6bf5=this[_0x17887d(0x28c)],_0x4c209b=_0x5b6bf5[_0x17887d(0x292)],_0x4b6e6f=this['_nDataBytes']*0x8,_0x3ca739=_0x5b6bf5[_0x17887d(0x3e7)]*0x8;return _0x4c209b[_0x3ca739>>>0x5]|=0x80<<0x18-_0x3ca739%0x20,_0x4c209b[(_0x3ca739+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4b6e6f/0x100000000),_0x4c209b[(_0x3ca739+0x40>>>0x9<<0x4)+0xf]=_0x4b6e6f,_0x5b6bf5[_0x17887d(0x3e7)]=_0x4c209b[_0x17887d(0x277)]*0x4,this[_0x17887d(0x3d6)](),this[_0x17887d(0x403)];},'clone':function(){var _0x497349=_0x5e5a4d,_0x1456d9=_0x2ddbee[_0x497349(0x20c)][_0x497349(0x2fa)](this);return _0x1456d9['_hash']=this[_0x497349(0x403)][_0x497349(0x20c)](),_0x1456d9;}});_0x247f3e['SHA1']=_0x2ddbee[_0x5e5a4d(0x287)](_0x2da9b9),_0x247f3e['HmacSHA1']=_0x2ddbee['_createHmacHelper'](_0x2da9b9);}()),_0x4a7f16[_0xe77be0(0x312)];}));}(qe)),qe[_0x2a008c(0x30d)];}var Je={'exports':{}},Ws=Je[_0xb8d684(0x30d)],ni;function Gs(){var _0x2bc2e6=_0xb8d684;return ni||(ni=0x1,function(_0x4da053,_0x1a74cf){(function(_0x470906,_0x2fbaee){var _0x3d5a95=_0x47e4;_0x4da053[_0x3d5a95(0x30d)]=_0x2fbaee(ne());}(Ws,function(_0x211f41){(function(){var _0x195e78=_0x47e4,_0x53368c=_0x211f41,_0x2e94fe=_0x53368c[_0x195e78(0x2ab)],_0x1cd055=_0x2e94fe[_0x195e78(0x148)],_0x2c6e9d=_0x53368c[_0x195e78(0x3e0)],_0x2cc463=_0x2c6e9d[_0x195e78(0x358)],_0x51f5ea=_0x53368c[_0x195e78(0x27a)];_0x51f5ea[_0x195e78(0x42a)]=_0x1cd055[_0x195e78(0x30a)]({'init':function(_0x54de76,_0x5bf531){var _0x390a49=_0x195e78;_0x54de76=this[_0x390a49(0x2b6)]=new _0x54de76[(_0x390a49(0x1c4))](),typeof _0x5bf531==_0x390a49(0x151)&&(_0x5bf531=_0x2cc463['parse'](_0x5bf531));var _0x434c6d=_0x54de76['blockSize'],_0x346424=_0x434c6d*0x4;_0x5bf531['sigBytes']>_0x346424&&(_0x5bf531=_0x54de76[_0x390a49(0x3e5)](_0x5bf531)),_0x5bf531[_0x390a49(0x1c3)]();for(var _0x42e8c7=this[_0x390a49(0x1e1)]=_0x5bf531[_0x390a49(0x20c)](),_0x17ee89=this[_0x390a49(0x2fb)]=_0x5bf531[_0x390a49(0x20c)](),_0x4fbffe=_0x42e8c7['words'],_0x5d5dc3=_0x17ee89['words'],_0x232121=0x0;_0x232121<_0x434c6d;_0x232121++)_0x4fbffe[_0x232121]^=0x5c5c5c5c,_0x5d5dc3[_0x232121]^=0x36363636;_0x42e8c7[_0x390a49(0x3e7)]=_0x17ee89[_0x390a49(0x3e7)]=_0x346424,this['reset']();},'reset':function(){var _0x3b7c84=_0x195e78,_0x1d339d=this[_0x3b7c84(0x2b6)];_0x1d339d['reset'](),_0x1d339d[_0x3b7c84(0x3f3)](this[_0x3b7c84(0x2fb)]);},'update':function(_0x48ac47){return this['_hasher']['update'](_0x48ac47),this;},'finalize':function(_0x1a1af3){var _0x482a9b=_0x195e78,_0x25ac5e=this[_0x482a9b(0x2b6)],_0x53a130=_0x25ac5e[_0x482a9b(0x3e5)](_0x1a1af3);_0x25ac5e['reset']();var _0x3d562a=_0x25ac5e['finalize'](this[_0x482a9b(0x1e1)][_0x482a9b(0x20c)]()[_0x482a9b(0x1b9)](_0x53a130));return _0x3d562a;}});}());}));}(Je)),Je[_0x2bc2e6(0x30d)];}var Ks=Ye['exports'],si;function Ai(){return si||(si=0x1,function(_0x4f0d01,_0x16ba77){(function(_0x4d981b,_0x2963df,_0x77eec1){var _0x54958f=_0x47e4;_0x4f0d01[_0x54958f(0x30d)]=_0x2963df(ne(),Vs(),Gs());}(Ks,function(_0x538a82){return(function(){var _0x4d8832=_0x47e4,_0x4fea8f=_0x538a82,_0x28c72a=_0x4fea8f[_0x4d8832(0x2ab)],_0x719e44=_0x28c72a[_0x4d8832(0x148)],_0x4c6ae1=_0x28c72a[_0x4d8832(0x355)],_0x34f3a6=_0x4fea8f[_0x4d8832(0x27a)],_0x4ab26f=_0x34f3a6[_0x4d8832(0x286)],_0x21298e=_0x34f3a6[_0x4d8832(0x344)]=_0x719e44[_0x4d8832(0x30a)]({'cfg':_0x719e44[_0x4d8832(0x30a)]({'keySize':0x80/0x20,'hasher':_0x4ab26f,'iterations':0x1}),'init':function(_0x54f866){var _0x2c60ad=_0x4d8832;this[_0x2c60ad(0x17b)]=this[_0x2c60ad(0x17b)][_0x2c60ad(0x30a)](_0x54f866);},'compute':function(_0x46d00d,_0x23f4eb){var _0x396150=_0x4d8832;for(var _0x2fe011,_0x4fa6dd=this[_0x396150(0x17b)],_0x4afd83=_0x4fa6dd[_0x396150(0x174)]['create'](),_0x27f4a0=_0x4c6ae1[_0x396150(0x434)](),_0x347327=_0x27f4a0[_0x396150(0x292)],_0x21276a=_0x4fa6dd['keySize'],_0x1971af=_0x4fa6dd[_0x396150(0x40f)];_0x347327[_0x396150(0x277)]<_0x21276a;){_0x2fe011&&_0x4afd83[_0x396150(0x3f3)](_0x2fe011),_0x2fe011=_0x4afd83[_0x396150(0x3f3)](_0x46d00d)[_0x396150(0x3e5)](_0x23f4eb),_0x4afd83[_0x396150(0x276)]();for(var _0x2c9e2d=0x1;_0x2c9e2d<_0x1971af;_0x2c9e2d++)_0x2fe011=_0x4afd83['finalize'](_0x2fe011),_0x4afd83[_0x396150(0x276)]();_0x27f4a0[_0x396150(0x1b9)](_0x2fe011);}return _0x27f4a0['sigBytes']=_0x21276a*0x4,_0x27f4a0;}});_0x4fea8f[_0x4d8832(0x344)]=function(_0x329592,_0x28240e,_0x22c238){var _0x1ae630=_0x4d8832;return _0x21298e[_0x1ae630(0x434)](_0x22c238)[_0x1ae630(0x39f)](_0x329592,_0x28240e);};}()),_0x538a82['EvpKDF'];}));}(Ye)),Ye['exports'];}var Xe={'exports':{}},zs=Xe[_0xb8d684(0x30d)],ri;function xi(){var _0x1a2893=_0xb8d684;return ri||(ri=0x1,function(_0x1d4f55,_0x4a2fc9){(function(_0x3152e2,_0x20be0b,_0x514871){var _0x117bd6=_0x47e4;_0x1d4f55[_0x117bd6(0x30d)]=_0x20be0b(ne(),Ai());}(zs,function(_0x25892f){var _0xd26125=_0x47e4;_0x25892f[_0xd26125(0x2ab)][_0xd26125(0x274)]||function(_0x3a05c9){var _0x561720=_0xd26125,_0x131e02=_0x25892f,_0x8ecdc7=_0x131e02[_0x561720(0x2ab)],_0x4cb518=_0x8ecdc7[_0x561720(0x148)],_0x181aeb=_0x8ecdc7[_0x561720(0x355)],_0x2bcbc0=_0x8ecdc7['BufferedBlockAlgorithm'],_0x4bc799=_0x131e02[_0x561720(0x3e0)];_0x4bc799[_0x561720(0x358)];var _0x21bceb=_0x4bc799[_0x561720(0x1f8)],_0x1754e1=_0x131e02[_0x561720(0x27a)],_0x20fbd8=_0x1754e1[_0x561720(0x344)],_0x4f9908=_0x8ecdc7[_0x561720(0x274)]=_0x2bcbc0[_0x561720(0x30a)]({'cfg':_0x4cb518['extend'](),'createEncryptor':function(_0x31a120,_0x314fd2){var _0x423f34=_0x561720;return this[_0x423f34(0x434)](this[_0x423f34(0x1ea)],_0x31a120,_0x314fd2);},'createDecryptor':function(_0x2bede2,_0x1b0ab3){var _0xa3b0ad=_0x561720;return this[_0xa3b0ad(0x434)](this['_DEC_XFORM_MODE'],_0x2bede2,_0x1b0ab3);},'init':function(_0x38e65d,_0x4841bb,_0x6a78bd){var _0x56a291=_0x561720;this[_0x56a291(0x17b)]=this['cfg'][_0x56a291(0x30a)](_0x6a78bd),this[_0x56a291(0x37f)]=_0x38e65d,this['_key']=_0x4841bb,this[_0x56a291(0x276)]();},'reset':function(){var _0x38be00=_0x561720;_0x2bcbc0[_0x38be00(0x276)][_0x38be00(0x2fa)](this),this[_0x38be00(0x3d1)]();},'process':function(_0x31e4a4){var _0x3cf0fe=_0x561720;return this[_0x3cf0fe(0x392)](_0x31e4a4),this[_0x3cf0fe(0x3d6)]();},'finalize':function(_0x5e77e2){var _0x1ed30a=_0x561720;_0x5e77e2&&this[_0x1ed30a(0x392)](_0x5e77e2);var _0x2d0593=this[_0x1ed30a(0x19e)]();return _0x2d0593;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x373620(_0x483a90){var _0x5b2cc7=_0x47e4;return typeof _0x483a90==_0x5b2cc7(0x151)?_0x250c48:_0x5d4209;}return function(_0x32b9eb){return{'encrypt':function(_0x4ff881,_0x2c4ee1,_0x25a555){var _0x597ccf=_0x47e4;return _0x373620(_0x2c4ee1)[_0x597ccf(0x418)](_0x32b9eb,_0x4ff881,_0x2c4ee1,_0x25a555);},'decrypt':function(_0x1bade5,_0x402d05,_0x701186){var _0x5e3001=_0x47e4;return _0x373620(_0x402d05)[_0x5e3001(0x36c)](_0x32b9eb,_0x1bade5,_0x402d05,_0x701186);}};};}())});_0x8ecdc7[_0x561720(0x35f)]=_0x4f9908[_0x561720(0x30a)]({'_doFinalize':function(){var _0x3de424=_0x561720,_0x186dac=this[_0x3de424(0x3d6)](!0x0);return _0x186dac;},'blockSize':0x1});var _0x1a6947=_0x131e02[_0x561720(0x402)]={},_0x34666a=_0x8ecdc7['BlockCipherMode']=_0x4cb518[_0x561720(0x30a)]({'createEncryptor':function(_0x12ab19,_0x69f64f){var _0x10625c=_0x561720;return this[_0x10625c(0x3cd)][_0x10625c(0x434)](_0x12ab19,_0x69f64f);},'createDecryptor':function(_0x5ef17d,_0x4dc64c){var _0x2779c8=_0x561720;return this[_0x2779c8(0x161)][_0x2779c8(0x434)](_0x5ef17d,_0x4dc64c);},'init':function(_0x43a791,_0x179cbf){var _0x139ea2=_0x561720;this['_cipher']=_0x43a791,this[_0x139ea2(0x17e)]=_0x179cbf;}}),_0x1a59f9=_0x1a6947[_0x561720(0x15a)]=(function(){var _0x3e7514=_0x561720,_0x7cb4aa=_0x34666a['extend']();_0x7cb4aa[_0x3e7514(0x3cd)]=_0x7cb4aa[_0x3e7514(0x30a)]({'processBlock':function(_0x21bc21,_0x25d267){var _0x1cb615=_0x3e7514,_0x40ce77=this[_0x1cb615(0x13e)],_0x5a0fe7=_0x40ce77[_0x1cb615(0x27b)];_0x4bd86b[_0x1cb615(0x2fa)](this,_0x21bc21,_0x25d267,_0x5a0fe7),_0x40ce77[_0x1cb615(0x1ad)](_0x21bc21,_0x25d267),this[_0x1cb615(0x25a)]=_0x21bc21[_0x1cb615(0x288)](_0x25d267,_0x25d267+_0x5a0fe7);}}),_0x7cb4aa[_0x3e7514(0x161)]=_0x7cb4aa['extend']({'processBlock':function(_0x23df0b,_0x1dbaae){var _0x437f6d=_0x3e7514,_0x4f263a=this[_0x437f6d(0x13e)],_0x2ab51d=_0x4f263a[_0x437f6d(0x27b)],_0x23bde5=_0x23df0b[_0x437f6d(0x288)](_0x1dbaae,_0x1dbaae+_0x2ab51d);_0x4f263a[_0x437f6d(0x362)](_0x23df0b,_0x1dbaae),_0x4bd86b[_0x437f6d(0x2fa)](this,_0x23df0b,_0x1dbaae,_0x2ab51d),this[_0x437f6d(0x25a)]=_0x23bde5;}});function _0x4bd86b(_0x412e7e,_0x1a45a4,_0x50e150){var _0x3c6798=_0x3e7514,_0x3148b0,_0x4bbc95=this[_0x3c6798(0x17e)];_0x4bbc95?(_0x3148b0=_0x4bbc95,this[_0x3c6798(0x17e)]=_0x3a05c9):_0x3148b0=this[_0x3c6798(0x25a)];for(var _0x3b877d=0x0;_0x3b877d<_0x50e150;_0x3b877d++)_0x412e7e[_0x1a45a4+_0x3b877d]^=_0x3148b0[_0x3b877d];}return _0x7cb4aa;}()),_0x5f21f7=_0x131e02[_0x561720(0x153)]={},_0x2de246=_0x5f21f7[_0x561720(0x3f6)]={'pad':function(_0x4fe558,_0x49bf3c){var _0xb0b84a=_0x561720;for(var _0x1a1e46=_0x49bf3c*0x4,_0x9b2a40=_0x1a1e46-_0x4fe558[_0xb0b84a(0x3e7)]%_0x1a1e46,_0x433a5f=_0x9b2a40<<0x18|_0x9b2a40<<0x10|_0x9b2a40<<0x8|_0x9b2a40,_0x206e8b=[],_0xa586d4=0x0;_0xa586d4<_0x9b2a40;_0xa586d4+=0x4)_0x206e8b['push'](_0x433a5f);var _0xb640ac=_0x181aeb[_0xb0b84a(0x434)](_0x206e8b,_0x9b2a40);_0x4fe558['concat'](_0xb640ac);},'unpad':function(_0x3c1eaf){var _0x45d6f8=_0x561720,_0x1ebf01=_0x3c1eaf[_0x45d6f8(0x292)][_0x3c1eaf['sigBytes']-0x1>>>0x2]&0xff;_0x3c1eaf[_0x45d6f8(0x3e7)]-=_0x1ebf01;}};_0x8ecdc7['BlockCipher']=_0x4f9908[_0x561720(0x30a)]({'cfg':_0x4f9908[_0x561720(0x17b)][_0x561720(0x30a)]({'mode':_0x1a59f9,'padding':_0x2de246}),'reset':function(){var _0x3ff893=_0x561720,_0x339bb7;_0x4f9908[_0x3ff893(0x276)]['call'](this);var _0xc61184=this[_0x3ff893(0x17b)],_0x297551=_0xc61184['iv'],_0x247dbc=_0xc61184[_0x3ff893(0x402)];this[_0x3ff893(0x37f)]==this[_0x3ff893(0x1ea)]?_0x339bb7=_0x247dbc[_0x3ff893(0x160)]:(_0x339bb7=_0x247dbc['createDecryptor'],this[_0x3ff893(0x239)]=0x1),this[_0x3ff893(0x32b)]&&this[_0x3ff893(0x32b)]['__creator']==_0x339bb7?this[_0x3ff893(0x32b)][_0x3ff893(0x1c4)](this,_0x297551&&_0x297551[_0x3ff893(0x292)]):(this['_mode']=_0x339bb7[_0x3ff893(0x2fa)](_0x247dbc,this,_0x297551&&_0x297551[_0x3ff893(0x292)]),this['_mode']['__creator']=_0x339bb7);},'_doProcessBlock':function(_0x5ba007,_0x308893){this['_mode']['processBlock'](_0x5ba007,_0x308893);},'_doFinalize':function(){var _0x59505e=_0x561720,_0x1b22c9,_0x21afd4=this['cfg']['padding'];return this[_0x59505e(0x37f)]==this[_0x59505e(0x1ea)]?(_0x21afd4['pad'](this[_0x59505e(0x28c)],this['blockSize']),_0x1b22c9=this['_process'](!0x0)):(_0x1b22c9=this[_0x59505e(0x3d6)](!0x0),_0x21afd4[_0x59505e(0x3ff)](_0x1b22c9)),_0x1b22c9;},'blockSize':0x80/0x20});var _0x297d04=_0x8ecdc7['CipherParams']=_0x4cb518[_0x561720(0x30a)]({'init':function(_0x40fe1d){var _0x348325=_0x561720;this[_0x348325(0x406)](_0x40fe1d);},'toString':function(_0x59cb24){var _0x42a9fb=_0x561720;return(_0x59cb24||this[_0x42a9fb(0x323)])[_0x42a9fb(0x1c9)](this);}}),_0x428425=_0x131e02[_0x561720(0x1ec)]={},_0xc29709=_0x428425['OpenSSL']={'stringify':function(_0x4ff018){var _0x22753b=_0x561720,_0x54af3a,_0x5ac60d=_0x4ff018[_0x22753b(0x183)],_0x39a7b3=_0x4ff018[_0x22753b(0x1a9)];return _0x39a7b3?_0x54af3a=_0x181aeb[_0x22753b(0x434)]([0x53616c74,0x65645f5f])[_0x22753b(0x1b9)](_0x39a7b3)['concat'](_0x5ac60d):_0x54af3a=_0x5ac60d,_0x54af3a[_0x22753b(0x33c)](_0x21bceb);},'parse':function(_0x43b53d){var _0x2773a3=_0x561720,_0x6f6190,_0x54b853=_0x21bceb[_0x2773a3(0x399)](_0x43b53d),_0x10ada7=_0x54b853[_0x2773a3(0x292)];return _0x10ada7[0x0]==0x53616c74&&_0x10ada7[0x1]==0x65645f5f&&(_0x6f6190=_0x181aeb[_0x2773a3(0x434)](_0x10ada7[_0x2773a3(0x288)](0x2,0x4)),_0x10ada7[_0x2773a3(0x275)](0x0,0x4),_0x54b853[_0x2773a3(0x3e7)]-=0x10),_0x297d04[_0x2773a3(0x434)]({'ciphertext':_0x54b853,'salt':_0x6f6190});}},_0x5d4209=_0x8ecdc7[_0x561720(0x1f2)]=_0x4cb518[_0x561720(0x30a)]({'cfg':_0x4cb518[_0x561720(0x30a)]({'format':_0xc29709}),'encrypt':function(_0x339243,_0x4037e8,_0x2ee1a1,_0x2b8906){var _0x14da9d=_0x561720;_0x2b8906=this[_0x14da9d(0x17b)][_0x14da9d(0x30a)](_0x2b8906);var _0x2d1c24=_0x339243[_0x14da9d(0x160)](_0x2ee1a1,_0x2b8906),_0x1328dd=_0x2d1c24[_0x14da9d(0x3e5)](_0x4037e8),_0x3e1a62=_0x2d1c24[_0x14da9d(0x17b)];return _0x297d04[_0x14da9d(0x434)]({'ciphertext':_0x1328dd,'key':_0x2ee1a1,'iv':_0x3e1a62['iv'],'algorithm':_0x339243,'mode':_0x3e1a62[_0x14da9d(0x402)],'padding':_0x3e1a62['padding'],'blockSize':_0x339243['blockSize'],'formatter':_0x2b8906[_0x14da9d(0x1ec)]});},'decrypt':function(_0xb55898,_0x21aa21,_0x28a27f,_0x5b5564){var _0x1f5977=_0x561720;_0x5b5564=this['cfg']['extend'](_0x5b5564),_0x21aa21=this['_parse'](_0x21aa21,_0x5b5564[_0x1f5977(0x1ec)]);var _0x29a1f4=_0xb55898[_0x1f5977(0x3f2)](_0x28a27f,_0x5b5564)[_0x1f5977(0x3e5)](_0x21aa21[_0x1f5977(0x183)]);return _0x29a1f4;},'_parse':function(_0x2c1b72,_0x2e9377){var _0x31b4b4=_0x561720;return typeof _0x2c1b72==_0x31b4b4(0x151)?_0x2e9377[_0x31b4b4(0x399)](_0x2c1b72,this):_0x2c1b72;}}),_0x1ca033=_0x131e02[_0x561720(0x21e)]={},_0x5acb3a=_0x1ca033[_0x561720(0x212)]={'execute':function(_0x4e9394,_0x227fe0,_0xdb94e,_0x5ba70d,_0x1893e3){var _0x101868=_0x561720;if(_0x5ba70d||(_0x5ba70d=_0x181aeb[_0x101868(0x2b5)](0x40/0x8)),_0x1893e3)var _0x736881=_0x20fbd8[_0x101868(0x434)]({'keySize':_0x227fe0+_0xdb94e,'hasher':_0x1893e3})[_0x101868(0x39f)](_0x4e9394,_0x5ba70d);else var _0x736881=_0x20fbd8[_0x101868(0x434)]({'keySize':_0x227fe0+_0xdb94e})[_0x101868(0x39f)](_0x4e9394,_0x5ba70d);var _0x2a0c17=_0x181aeb[_0x101868(0x434)](_0x736881[_0x101868(0x292)][_0x101868(0x288)](_0x227fe0),_0xdb94e*0x4);return _0x736881[_0x101868(0x3e7)]=_0x227fe0*0x4,_0x297d04[_0x101868(0x434)]({'key':_0x736881,'iv':_0x2a0c17,'salt':_0x5ba70d});}},_0x250c48=_0x8ecdc7[_0x561720(0x18c)]=_0x5d4209[_0x561720(0x30a)]({'cfg':_0x5d4209[_0x561720(0x17b)][_0x561720(0x30a)]({'kdf':_0x5acb3a}),'encrypt':function(_0x30e1ec,_0x4a3e98,_0x225bdf,_0x50a1bd){var _0xe89afa=_0x561720;_0x50a1bd=this[_0xe89afa(0x17b)][_0xe89afa(0x30a)](_0x50a1bd);var _0x5531e2=_0x50a1bd['kdf'][_0xe89afa(0x367)](_0x225bdf,_0x30e1ec[_0xe89afa(0x313)],_0x30e1ec[_0xe89afa(0x21a)],_0x50a1bd[_0xe89afa(0x1a9)],_0x50a1bd[_0xe89afa(0x174)]);_0x50a1bd['iv']=_0x5531e2['iv'];var _0x4a2b58=_0x5d4209['encrypt']['call'](this,_0x30e1ec,_0x4a3e98,_0x5531e2[_0xe89afa(0x19d)],_0x50a1bd);return _0x4a2b58[_0xe89afa(0x406)](_0x5531e2),_0x4a2b58;},'decrypt':function(_0xab8ca7,_0x38b5b6,_0x446de2,_0x3d3cf7){var _0x5f8fd1=_0x561720;_0x3d3cf7=this['cfg'][_0x5f8fd1(0x30a)](_0x3d3cf7),_0x38b5b6=this['_parse'](_0x38b5b6,_0x3d3cf7[_0x5f8fd1(0x1ec)]);var _0x3da8a8=_0x3d3cf7[_0x5f8fd1(0x21e)][_0x5f8fd1(0x367)](_0x446de2,_0xab8ca7[_0x5f8fd1(0x313)],_0xab8ca7[_0x5f8fd1(0x21a)],_0x38b5b6[_0x5f8fd1(0x1a9)],_0x3d3cf7['hasher']);_0x3d3cf7['iv']=_0x3da8a8['iv'];var _0x397834=_0x5d4209[_0x5f8fd1(0x36c)][_0x5f8fd1(0x2fa)](this,_0xab8ca7,_0x38b5b6,_0x3da8a8[_0x5f8fd1(0x19d)],_0x3d3cf7);return _0x397834;}});}();}));}(Xe)),Xe[_0x1a2893(0x30d)];}var Ys=We[_0xb8d684(0x30d)],oi;function qs(){var _0x5b0ff3=_0xb8d684;return oi||(oi=0x1,function(_0x5bcf14,_0x3af0b1){(function(_0x2a8b09,_0x1223fe,_0x5fc40a){_0x5bcf14['exports']=_0x1223fe(ne(),Ui(),Bs(),Ai(),xi());}(Ys,function(_0xfda92b){var _0x31e91e=_0x47e4;return(function(){var _0x566dd2=_0x47e4,_0x2b6fb9=_0xfda92b,_0x171f09=_0x2b6fb9['lib'],_0x412059=_0x171f09[_0x566dd2(0x3f9)],_0x30bced=_0x2b6fb9[_0x566dd2(0x27a)],_0x56206d=[],_0x515762=[],_0x44cd78=[],_0x5eea4c=[],_0x3c4566=[],_0x42ff2f=[],_0xea57d7=[],_0x5187b3=[],_0x3bfc2c=[],_0xa480f9=[];(function(){for(var _0x398fe7=[],_0xced457=0x0;_0xced457<0x100;_0xced457++)_0xced457<0x80?_0x398fe7[_0xced457]=_0xced457<<0x1:_0x398fe7[_0xced457]=_0xced457<<0x1^0x11b;for(var _0x1d49ca=0x0,_0x9ccf0d=0x0,_0xced457=0x0;_0xced457<0x100;_0xced457++){var _0x3ff4c2=_0x9ccf0d^_0x9ccf0d<<0x1^_0x9ccf0d<<0x2^_0x9ccf0d<<0x3^_0x9ccf0d<<0x4;_0x3ff4c2=_0x3ff4c2>>>0x8^_0x3ff4c2&0xff^0x63,_0x56206d[_0x1d49ca]=_0x3ff4c2,_0x515762[_0x3ff4c2]=_0x1d49ca;var _0x1d0003=_0x398fe7[_0x1d49ca],_0x344377=_0x398fe7[_0x1d0003],_0x548372=_0x398fe7[_0x344377],_0x333979=_0x398fe7[_0x3ff4c2]*0x101^_0x3ff4c2*0x1010100;_0x44cd78[_0x1d49ca]=_0x333979<<0x18|_0x333979>>>0x8,_0x5eea4c[_0x1d49ca]=_0x333979<<0x10|_0x333979>>>0x10,_0x3c4566[_0x1d49ca]=_0x333979<<0x8|_0x333979>>>0x18,_0x42ff2f[_0x1d49ca]=_0x333979;var _0x333979=_0x548372*0x1010101^_0x344377*0x10001^_0x1d0003*0x101^_0x1d49ca*0x1010100;_0xea57d7[_0x3ff4c2]=_0x333979<<0x18|_0x333979>>>0x8,_0x5187b3[_0x3ff4c2]=_0x333979<<0x10|_0x333979>>>0x10,_0x3bfc2c[_0x3ff4c2]=_0x333979<<0x8|_0x333979>>>0x18,_0xa480f9[_0x3ff4c2]=_0x333979,_0x1d49ca?(_0x1d49ca=_0x1d0003^_0x398fe7[_0x398fe7[_0x398fe7[_0x548372^_0x1d0003]]],_0x9ccf0d^=_0x398fe7[_0x398fe7[_0x9ccf0d]]):_0x1d49ca=_0x9ccf0d=0x1;}}());var _0x4a86fd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x55b26a=_0x30bced[_0x566dd2(0x3f1)]=_0x412059[_0x566dd2(0x30a)]({'_doReset':function(){var _0x5cc8f3=_0x566dd2,_0x82da12;if(!(this[_0x5cc8f3(0x25f)]&&this[_0x5cc8f3(0x2eb)]===this['_key'])){for(var _0x500a75=this[_0x5cc8f3(0x2eb)]=this[_0x5cc8f3(0x387)],_0x1e852d=_0x500a75[_0x5cc8f3(0x292)],_0x4d7df4=_0x500a75['sigBytes']/0x4,_0x19274a=this['_nRounds']=_0x4d7df4+0x6,_0x1c7f8f=(_0x19274a+0x1)*0x4,_0x1e37d2=this[_0x5cc8f3(0x206)]=[],_0x16a6ae=0x0;_0x16a6ae<_0x1c7f8f;_0x16a6ae++)_0x16a6ae<_0x4d7df4?_0x1e37d2[_0x16a6ae]=_0x1e852d[_0x16a6ae]:(_0x82da12=_0x1e37d2[_0x16a6ae-0x1],_0x16a6ae%_0x4d7df4?_0x4d7df4>0x6&&_0x16a6ae%_0x4d7df4==0x4&&(_0x82da12=_0x56206d[_0x82da12>>>0x18]<<0x18|_0x56206d[_0x82da12>>>0x10&0xff]<<0x10|_0x56206d[_0x82da12>>>0x8&0xff]<<0x8|_0x56206d[_0x82da12&0xff]):(_0x82da12=_0x82da12<<0x8|_0x82da12>>>0x18,_0x82da12=_0x56206d[_0x82da12>>>0x18]<<0x18|_0x56206d[_0x82da12>>>0x10&0xff]<<0x10|_0x56206d[_0x82da12>>>0x8&0xff]<<0x8|_0x56206d[_0x82da12&0xff],_0x82da12^=_0x4a86fd[_0x16a6ae/_0x4d7df4|0x0]<<0x18),_0x1e37d2[_0x16a6ae]=_0x1e37d2[_0x16a6ae-_0x4d7df4]^_0x82da12);for(var _0x1b3fe7=this['_invKeySchedule']=[],_0x34d2a2=0x0;_0x34d2a2<_0x1c7f8f;_0x34d2a2++){var _0x16a6ae=_0x1c7f8f-_0x34d2a2;if(_0x34d2a2%0x4)var _0x82da12=_0x1e37d2[_0x16a6ae];else var _0x82da12=_0x1e37d2[_0x16a6ae-0x4];_0x34d2a2<0x4||_0x16a6ae<=0x4?_0x1b3fe7[_0x34d2a2]=_0x82da12:_0x1b3fe7[_0x34d2a2]=_0xea57d7[_0x56206d[_0x82da12>>>0x18]]^_0x5187b3[_0x56206d[_0x82da12>>>0x10&0xff]]^_0x3bfc2c[_0x56206d[_0x82da12>>>0x8&0xff]]^_0xa480f9[_0x56206d[_0x82da12&0xff]];}}},'encryptBlock':function(_0x13de8e,_0x509491){var _0x16b771=_0x566dd2;this['_doCryptBlock'](_0x13de8e,_0x509491,this[_0x16b771(0x206)],_0x44cd78,_0x5eea4c,_0x3c4566,_0x42ff2f,_0x56206d);},'decryptBlock':function(_0x5eb7d6,_0x1efb0a){var _0xf01f9f=_0x566dd2,_0x1cc9b4=_0x5eb7d6[_0x1efb0a+0x1];_0x5eb7d6[_0x1efb0a+0x1]=_0x5eb7d6[_0x1efb0a+0x3],_0x5eb7d6[_0x1efb0a+0x3]=_0x1cc9b4,this[_0xf01f9f(0x3b1)](_0x5eb7d6,_0x1efb0a,this['_invKeySchedule'],_0xea57d7,_0x5187b3,_0x3bfc2c,_0xa480f9,_0x515762);var _0x1cc9b4=_0x5eb7d6[_0x1efb0a+0x1];_0x5eb7d6[_0x1efb0a+0x1]=_0x5eb7d6[_0x1efb0a+0x3],_0x5eb7d6[_0x1efb0a+0x3]=_0x1cc9b4;},'_doCryptBlock':function(_0x4f4e8b,_0x14fa40,_0x288eaf,_0x5d48da,_0x2b2e96,_0x2393eb,_0x14e587,_0x140826){for(var _0x454a24=this['_nRounds'],_0x2218d1=_0x4f4e8b[_0x14fa40]^_0x288eaf[0x0],_0x3dad40=_0x4f4e8b[_0x14fa40+0x1]^_0x288eaf[0x1],_0x5bd249=_0x4f4e8b[_0x14fa40+0x2]^_0x288eaf[0x2],_0x9c912c=_0x4f4e8b[_0x14fa40+0x3]^_0x288eaf[0x3],_0x5788ec=0x4,_0x1cf7b2=0x1;_0x1cf7b2<_0x454a24;_0x1cf7b2++){var _0x4b3b89=_0x5d48da[_0x2218d1>>>0x18]^_0x2b2e96[_0x3dad40>>>0x10&0xff]^_0x2393eb[_0x5bd249>>>0x8&0xff]^_0x14e587[_0x9c912c&0xff]^_0x288eaf[_0x5788ec++],_0x2b2deb=_0x5d48da[_0x3dad40>>>0x18]^_0x2b2e96[_0x5bd249>>>0x10&0xff]^_0x2393eb[_0x9c912c>>>0x8&0xff]^_0x14e587[_0x2218d1&0xff]^_0x288eaf[_0x5788ec++],_0x58eeb0=_0x5d48da[_0x5bd249>>>0x18]^_0x2b2e96[_0x9c912c>>>0x10&0xff]^_0x2393eb[_0x2218d1>>>0x8&0xff]^_0x14e587[_0x3dad40&0xff]^_0x288eaf[_0x5788ec++],_0x196323=_0x5d48da[_0x9c912c>>>0x18]^_0x2b2e96[_0x2218d1>>>0x10&0xff]^_0x2393eb[_0x3dad40>>>0x8&0xff]^_0x14e587[_0x5bd249&0xff]^_0x288eaf[_0x5788ec++];_0x2218d1=_0x4b3b89,_0x3dad40=_0x2b2deb,_0x5bd249=_0x58eeb0,_0x9c912c=_0x196323;}var _0x4b3b89=(_0x140826[_0x2218d1>>>0x18]<<0x18|_0x140826[_0x3dad40>>>0x10&0xff]<<0x10|_0x140826[_0x5bd249>>>0x8&0xff]<<0x8|_0x140826[_0x9c912c&0xff])^_0x288eaf[_0x5788ec++],_0x2b2deb=(_0x140826[_0x3dad40>>>0x18]<<0x18|_0x140826[_0x5bd249>>>0x10&0xff]<<0x10|_0x140826[_0x9c912c>>>0x8&0xff]<<0x8|_0x140826[_0x2218d1&0xff])^_0x288eaf[_0x5788ec++],_0x58eeb0=(_0x140826[_0x5bd249>>>0x18]<<0x18|_0x140826[_0x9c912c>>>0x10&0xff]<<0x10|_0x140826[_0x2218d1>>>0x8&0xff]<<0x8|_0x140826[_0x3dad40&0xff])^_0x288eaf[_0x5788ec++],_0x196323=(_0x140826[_0x9c912c>>>0x18]<<0x18|_0x140826[_0x2218d1>>>0x10&0xff]<<0x10|_0x140826[_0x3dad40>>>0x8&0xff]<<0x8|_0x140826[_0x5bd249&0xff])^_0x288eaf[_0x5788ec++];_0x4f4e8b[_0x14fa40]=_0x4b3b89,_0x4f4e8b[_0x14fa40+0x1]=_0x2b2deb,_0x4f4e8b[_0x14fa40+0x2]=_0x58eeb0,_0x4f4e8b[_0x14fa40+0x3]=_0x196323;},'keySize':0x100/0x20});_0x2b6fb9[_0x566dd2(0x3f1)]=_0x412059['_createHelper'](_0x55b26a);}()),_0xfda92b[_0x31e91e(0x3f1)];}));}(We)),We[_0x5b0ff3(0x30d)];}var Js=qs();const Xs=je(Js);var Zs=Ui();const ai=je(Zs);var Ze={'exports':{}},Qs=Ze[_0xb8d684(0x30d)],ci;function er(){var _0x3840a0=_0xb8d684;return ci||(ci=0x1,function(_0x14a75d,_0x373a13){(function(_0x32c629,_0xbb574d){var _0x292435=_0x47e4;_0x14a75d[_0x292435(0x30d)]=_0xbb574d(ne());}(Qs,function(_0x8465f3){var _0x2b4a88=_0x47e4;return _0x8465f3[_0x2b4a88(0x3e0)]['Utf8'];}));}(Ze)),Ze[_0x3840a0(0x30d)];}var tr=er();const ir=je(tr);var Qe={'exports':{}},nr=Qe[_0xb8d684(0x30d)],hi;function sr(){var _0x45e10f=_0xb8d684;return hi||(hi=0x1,function(_0x3f9532,_0x40939e){(function(_0x48be8d,_0x17f641){var _0x2ea4d6=_0x47e4;_0x3f9532[_0x2ea4d6(0x30d)]=_0x17f641(ne());}(nr,function(_0x327668){var _0x1cb3a8=_0x47e4;return(function(){var _0xa411cd=_0x47e4;if(typeof ArrayBuffer==_0xa411cd(0x207)){var _0x3763ab=_0x327668,_0x397b6c=_0x3763ab[_0xa411cd(0x2ab)],_0x24ba54=_0x397b6c['WordArray'],_0x5a9766=_0x24ba54['init'],_0x3ec24f=_0x24ba54[_0xa411cd(0x1c4)]=function(_0x32f2d1){var _0xfdacc8=_0xa411cd;if(_0x32f2d1 instanceof ArrayBuffer&&(_0x32f2d1=new Uint8Array(_0x32f2d1)),(_0x32f2d1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x32f2d1 instanceof Uint8ClampedArray||_0x32f2d1 instanceof Int16Array||_0x32f2d1 instanceof Uint16Array||_0x32f2d1 instanceof Int32Array||_0x32f2d1 instanceof Uint32Array||_0x32f2d1 instanceof Float32Array||_0x32f2d1 instanceof Float64Array)&&(_0x32f2d1=new Uint8Array(_0x32f2d1[_0xfdacc8(0x3c0)],_0x32f2d1[_0xfdacc8(0x329)],_0x32f2d1['byteLength'])),_0x32f2d1 instanceof Uint8Array){for(var _0x2ccd72=_0x32f2d1[_0xfdacc8(0x2ef)],_0x5a767f=[],_0x4ee9c7=0x0;_0x4ee9c7<_0x2ccd72;_0x4ee9c7++)_0x5a767f[_0x4ee9c7>>>0x2]|=_0x32f2d1[_0x4ee9c7]<<0x18-_0x4ee9c7%0x4*0x8;_0x5a9766[_0xfdacc8(0x2fa)](this,_0x5a767f,_0x2ccd72);}else _0x5a9766[_0xfdacc8(0x285)](this,arguments);};_0x3ec24f[_0xa411cd(0x14c)]=_0x24ba54;}}()),_0x327668[_0x1cb3a8(0x2ab)][_0x1cb3a8(0x355)];}));}(Qe)),Qe[_0x45e10f(0x30d)];}var rr=sr();const or=je(rr);var et={'exports':{}},ar=et[_0xb8d684(0x30d)],_i;function cr(){var _0x284675=_0xb8d684;return _i||(_i=0x1,function(_0x42db9b,_0xcb3890){(function(_0x3b0c7a,_0x32a15b,_0x12a665){var _0x323a1f=_0x47e4;_0x42db9b[_0x323a1f(0x30d)]=_0x32a15b(ne(),xi());}(ar,function(_0x150eea){var _0x3a8e49=_0x47e4;return _0x150eea[_0x3a8e49(0x153)][_0x3a8e49(0x154)]={'pad':function(){},'unpad':function(){}},_0x150eea[_0x3a8e49(0x153)][_0x3a8e49(0x154)];}));}(et)),et[_0x284675(0x30d)];}var hr=cr();const _r=je(hr);function lr(_0x5de081,_0x3d2dcf){var _0x1f6eb6=_0xb8d684;const _0xda066b=_0x3d2dcf-_0x5de081[_0x1f6eb6(0x277)]%_0x3d2dcf,_0x4fb847=String[_0x1f6eb6(0x284)](_0xda066b)[_0x1f6eb6(0x249)](_0xda066b);return _0x5de081+_0x4fb847;}function ur(_0x646049,_0x428ed5){var _0x6982e3=_0xb8d684;const _0x2b5eed=or[_0x6982e3(0x2b5)](0x10),_0x5bfc79=lr(_0x646049,0x10),_0x3746a6=Xs['encrypt'](ir[_0x6982e3(0x399)](_0x5bfc79),ai[_0x6982e3(0x399)](_0x428ed5),{'iv':_0x2b5eed,'padding':_r});return _0x2b5eed[_0x6982e3(0x1b9)](_0x3746a6[_0x6982e3(0x183)])['toString'](ai);}function dr(){var _0x5cab9a=_0xb8d684;const _0x46279c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5cab9a(0x416)];if(_0x46279c){const _0x5c4e75={'time':Math['floor'](Date[_0x5cab9a(0x322)]()/0x3e8),'domain':location[_0x5cab9a(0x2d0)]};return ur(JSON[_0x5cab9a(0x1c9)](_0x5c4e75),_0x46279c);}}var fr=Object[_0xb8d684(0x37d)],vr=Object[_0xb8d684(0x422)],pr=(_0x430a20,_0x3bbcde,_0x4ede72,_0x54a971)=>{for(var _0x508409=_0x54a971>0x1?void 0x0:_0x54a971?vr(_0x3bbcde,_0x4ede72):_0x3bbcde,_0x58b672=_0x430a20['length']-0x1,_0x46fdc5;_0x58b672>=0x0;_0x58b672--)(_0x46fdc5=_0x430a20[_0x58b672])&&(_0x508409=(_0x54a971?_0x46fdc5(_0x3bbcde,_0x4ede72,_0x508409):_0x46fdc5(_0x508409))||_0x508409);return _0x54a971&&_0x508409&&fr(_0x3bbcde,_0x4ede72,_0x508409),_0x508409;},mr=(_0x5f14ff,_0x418102)=>(_0x2a18fb,_0x1e2292)=>_0x418102(_0x2a18fb,_0x1e2292,_0x5f14ff);let at=class{constructor(_0x4de953){var _0x4f0eb2=_0xb8d684;this[_0x4f0eb2(0x2bc)]=_0x4de953,this[_0x4f0eb2(0x3b2)]();}[_0xb8d684(0x3b2)](){var _0x4b0623=_0xb8d684;this[_0x4b0623(0x2bc)]['registerHTTPInterceptor']({'interceptor':(_0x51b8ae,_0x18996e)=>{var _0x4dbce9=_0x4b0623;const _0x5c8dac=_0x51b8ae[_0x4dbce9(0x289)],_0x195ff7=dr();return _0x195ff7&&_0x5c8dac[_0x4dbce9(0x17a)](_0x4dbce9(0x19b),_0x195ff7),_0x18996e(_0x51b8ae);}});}};at=pr([mr(0x0,_0x326892(_0x5bf8ac))],at);var gr=Object['defineProperty'],Sr=Object[_0xb8d684(0x422)],Er=(_0x335fd7,_0x9191f0,_0x52d8a7,_0x1965f9)=>{for(var _0x2042c1=_0x1965f9>0x1?void 0x0:_0x1965f9?Sr(_0x9191f0,_0x52d8a7):_0x9191f0,_0x58067a=_0x335fd7['length']-0x1,_0x5d8e33;_0x58067a>=0x0;_0x58067a--)(_0x5d8e33=_0x335fd7[_0x58067a])&&(_0x2042c1=(_0x1965f9?_0x5d8e33(_0x9191f0,_0x52d8a7,_0x2042c1):_0x5d8e33(_0x2042c1))||_0x2042c1);return _0x1965f9&&_0x2042c1&&gr(_0x9191f0,_0x52d8a7,_0x2042c1),_0x2042c1;},mt=(_0x853078,_0x4b59bf)=>(_0x5b4d88,_0x43bdcc)=>_0x4b59bf(_0x5b4d88,_0x43bdcc,_0x853078);let yt=class extends _0x292a49{constructor(_0x12d1a7,_0x19e18e,_0x111a28){var _0xfddd3b=_0xb8d684;super(),N(this,_0xfddd3b(0x16e),new _0x24c602(null)),N(this,_0xfddd3b(0x42b),this[_0xfddd3b(0x16e)][_0xfddd3b(0x1a6)]()),(this[_0xfddd3b(0x2f4)]=_0x12d1a7,this[_0xfddd3b(0x316)]=_0x19e18e,this[_0xfddd3b(0x144)]=_0x111a28);}async['loadUnit'](_0x2f84be,_0x12cfaa,_0x2cdd76){var _0x232aed=_0xb8d684;this['_unitInfo$'][_0x232aed(0x437)]({'unitId':_0x2f84be,'type':_0x12cfaa,'subUnitId':_0x2cdd76});let _0x4d4f00=null;switch(_0x12cfaa){case Q[_0x232aed(0x238)]:{_0x4d4f00=await this['_loadSheet'](_0x2f84be);break;}case Q[_0x232aed(0x346)]:{_0x4d4f00=await this[_0x232aed(0x140)](_0x2f84be);break;}default:{this[_0x232aed(0x2f4)][_0x232aed(0x282)](_0x232aed(0x3b6),_0x232aed(0x384));break;}}return _0x4d4f00;}async['_loadSheet'](_0x7ed328){var _0x3d58e2=_0xb8d684,_0x5b19df;let _0x4e3b08=0x0;const _0x353e94=await((_0x5b19df=this[_0x3d58e2(0x144)])==null?void 0x0:_0x5b19df[_0x3d58e2(0x381)](_0x7ed328));return _0x353e94&&(_0x353e94[_0x3d58e2(0x3a5)]||_0x353e94[_0x3d58e2(0x1e6)]['length']!==0x0)&&(_0x4e3b08=_0x353e94[_0x3d58e2(0x205)]),_0x4e3b08===0x0&&this[_0x3d58e2(0x2f4)]['debug'](_0x3d58e2(0x3b6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3d58e2(0x316)][_0x3d58e2(0x3a3)](_0x7ed328,_0x4e3b08);}async[_0xb8d684(0x140)](_0x2d40be){var _0x5d6a82=_0xb8d684,_0x594323;let _0x3ce0fe=0x0;const _0x4c8f09=await((_0x594323=this[_0x5d6a82(0x144)])==null?void 0x0:_0x594323[_0x5d6a82(0x381)](_0x2d40be));return _0x4c8f09&&(_0x4c8f09['awaitingChangeset']||_0x4c8f09[_0x5d6a82(0x1e6)][_0x5d6a82(0x277)]!==0x0)&&(_0x3ce0fe=_0x4c8f09['rev']),_0x3ce0fe===0x0&&this[_0x5d6a82(0x2f4)]['debug']('[DataLoaderService]',_0x5d6a82(0x150)),this['_snapshotService'][_0x5d6a82(0x405)](_0x2d40be,_0x3ce0fe);}};yt=Er([mt(0x0,_0x3ed4aa),mt(0x1,_0x326892(_0xcb3745)),mt(0x2,_0x14dc81(X))],yt);var Ir=Object[_0xb8d684(0x37d)],Tr=Object[_0xb8d684(0x422)],Cr=(_0x5beba5,_0x5ac3c0,_0x3a37bb,_0x232bf5)=>{var _0x532107=_0xb8d684;for(var _0x948570=_0x232bf5>0x1?void 0x0:_0x232bf5?Tr(_0x5ac3c0,_0x3a37bb):_0x5ac3c0,_0x5eb8de=_0x5beba5[_0x532107(0x277)]-0x1,_0x80c266;_0x5eb8de>=0x0;_0x5eb8de--)(_0x80c266=_0x5beba5[_0x5eb8de])&&(_0x948570=(_0x232bf5?_0x80c266(_0x5ac3c0,_0x3a37bb,_0x948570):_0x80c266(_0x948570))||_0x948570);return _0x232bf5&&_0x948570&&Ir(_0x5ac3c0,_0x3a37bb,_0x948570),_0x948570;},gt=(_0x2a061a,_0x46b5c3)=>(_0x218786,_0x4338c9)=>_0x46b5c3(_0x218786,_0x4338c9,_0x2a061a);const br=[_0xb8d684(0x3ea),_0xb8d684(0x3b3),_0xb8d684(0x187),_0xb8d684(0x2d4),_0xb8d684(0x3bd)],Rr=0x5*0x400*0x400,yr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Or=_0xb8d684(0x27f),Pr=_0xb8d684(0x1b6),Dr='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x46ed60,_0x317c92,_0x6033bd){var _0x3a5dc9=_0xb8d684;N(this,_0x3a5dc9(0x366),0x0),N(this,_0x3a5dc9(0x34e),new _0x491e8b()),N(this,_0x3a5dc9(0x22f),this[_0x3a5dc9(0x34e)]),N(this,_0x3a5dc9(0x163),new Map()),(this[_0x3a5dc9(0x2bc)]=_0x46ed60,this[_0x3a5dc9(0x383)]=_0x317c92,this['_univerInstanceService']=_0x6033bd);}[_0xb8d684(0x173)](_0x6fa102){var _0x269948=_0xb8d684;this['_waitCount']=_0x6fa102,this[_0x269948(0x34e)]['next'](_0x6fa102);}[_0xb8d684(0x33a)](_0x521925,_0x252aa7){var _0x2057da=_0xb8d684;if(_0x252aa7===_0x2cb1eb[_0x2057da(0x1f0)]){const _0x3bb6ac=new Image();return _0x3bb6ac[_0x2057da(0x3dd)]=_0x521925,_0x3bb6ac;}return this[_0x2057da(0x163)]['get'](_0x521925);}['addImageSourceCache'](_0x543018,_0x401b6e,_0x5b7137){var _0x12414b=_0xb8d684;_0x401b6e===_0x2cb1eb[_0x12414b(0x1f0)]||_0x5b7137==null||this['_imageSourceCache']['set'](_0x543018,_0x5b7137);}async[_0xb8d684(0x180)](_0x20916c){var _0x3896b8=_0xb8d684;try{const _0x22da9d=this[_0x3896b8(0x1a8)](this[_0x3896b8(0x370)](),''+_0x20916c),_0x3f0613=(await this['_httpService'][_0x3896b8(0x3df)](_0x22da9d))[_0x3896b8(0x438)];if(_0x3f0613[_0x3896b8(0x282)]&&_0x3f0613['error'][_0x3896b8(0x300)]===Ti['OK']){const _0x4ef919=new URL(_0x3f0613[_0x3896b8(0x24d)],this[_0x3896b8(0x293)]())[_0x3896b8(0x33c)]();return Promise[_0x3896b8(0x269)](_0x4ef919);}return Promise[_0x3896b8(0x33f)](_0x3f0613[_0x3896b8(0x282)]);}catch(_0x3bf1d7){return Promise[_0x3896b8(0x33f)](_0x3bf1d7);}}async[_0xb8d684(0x389)](_0x2edaf5){var _0xbe44c5=_0xb8d684;let _0x1c64a2='';if(!br['includes'](_0x2edaf5[_0xbe44c5(0x145)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x30068b[_0xbe44c5(0x345)]));if(_0x2edaf5[_0xbe44c5(0x2be)]>Rr)return this[_0xbe44c5(0x1b5)](),Promise['reject'](new Error(_0x30068b[_0xbe44c5(0x357)]));try{const _0x28d5fe=new FormData();_0x28d5fe[_0xbe44c5(0x431)](_0xbe44c5(0x15f),_0x2edaf5);const _0x2d1b51=this[_0xbe44c5(0x3c2)][_0xbe44c5(0x182)](),_0x805fd7=_0x2d1b51==null?void 0x0:_0x2d1b51[_0xbe44c5(0x3ad)]();if(!_0x805fd7)throw new Error(_0xbe44c5(0x361));const _0x455501=this[_0xbe44c5(0x2ee)]()+_0xbe44c5(0x378)+_0x2edaf5[_0xbe44c5(0x2be)][_0xbe44c5(0x33c)]()+_0xbe44c5(0x305)+Ci[_0xbe44c5(0x3a1)]+_0xbe44c5(0x38c)+encodeURIComponent(_0x805fd7),_0x3761ba=await(await fetch(_0x455501,{'method':_0xbe44c5(0x217),'body':_0x28d5fe}))[_0xbe44c5(0x2c0)]();if(typeof _0x3761ba[_0xbe44c5(0x2cb)]!=_0xbe44c5(0x151))return this[_0xbe44c5(0x1b5)](),Promise[_0xbe44c5(0x33f)](new Error(_0x30068b[_0xbe44c5(0x31e)]));_0x1c64a2=_0x3761ba[_0xbe44c5(0x2cb)];}catch{return this[_0xbe44c5(0x1b5)](),Promise['reject'](new Error(_0x30068b[_0xbe44c5(0x31e)]));}return new Promise((_0x256d60,_0x10a2ae)=>{var _0x255681=_0xbe44c5;const _0x285e31=new FileReader();_0x285e31[_0x255681(0x189)](_0x2edaf5),_0x285e31[_0x255681(0x294)]=_0x3c3605=>{var _0x38a717=_0x255681,_0x4ff8ea;const _0xc4cec9=(_0x4ff8ea=_0x3c3605[_0x38a717(0x356)])==null?void 0x0:_0x4ff8ea[_0x38a717(0x290)];if(_0xc4cec9==null){this[_0x38a717(0x1b5)](),_0x10a2ae(new Error(_0x30068b[_0x38a717(0x31e)]));return;}const _0x366778=_0x397958['generateRandomId'](0x6);_0x256d60({'imageId':_0x366778,'imageSourceType':_0x2cb1eb['UUID'],'source':_0x1c64a2,'base64Cache':_0xc4cec9,'status':_0x30068b[_0x38a717(0x264)]}),this[_0x38a717(0x1b5)]();};});}[_0xb8d684(0x2ee)](){var _0x2d0f0e=_0xb8d684,_0x4356ed,_0x66b3a4;const _0x417ff5=this[_0x2d0f0e(0x383)][_0x2d0f0e(0x262)](yr),_0x3edcad=this[_0x2d0f0e(0x383)][_0x2d0f0e(0x262)](Y);return(_0x66b3a4=(_0x4356ed=_0x3edcad==null?void 0x0:_0x3edcad[_0x2d0f0e(0x3b7)])!=null?_0x4356ed:_0x417ff5)!=null?_0x66b3a4:Or;}[_0xb8d684(0x370)](){var _0x2ec034=_0xb8d684,_0x27d42f,_0x372309;const _0x22ed80=this[_0x2ec034(0x383)][_0x2ec034(0x262)](Pr),_0x51e3f8=this[_0x2ec034(0x383)][_0x2ec034(0x262)](Y);return(_0x372309=(_0x27d42f=_0x51e3f8==null?void 0x0:_0x51e3f8['signUrlServerUrl'])!=null?_0x27d42f:_0x22ed80)!=null?_0x372309:Dr;}[_0xb8d684(0x293)](){var _0x175f66=_0xb8d684,_0x4ae011;const _0x3b9c72=this[_0x175f66(0x383)][_0x175f66(0x262)](Y);return(_0x4ae011=_0x3b9c72==null?void 0x0:_0x3b9c72[_0x175f66(0x29c)])!=null?_0x4ae011:location[_0x175f66(0x2a6)];}[_0xb8d684(0x1a8)](_0x13c5ad,_0x27ea07){var _0x5c041b=_0xb8d684;return _0x13c5ad[_0x5c041b(0x2f6)](_0x5c041b(0x3ee),_0x27ea07);}[_0xb8d684(0x1b5)](){var _0x223d85=_0xb8d684;this[_0x223d85(0x366)]-=0x1,this[_0x223d85(0x34e)][_0x223d85(0x437)](this[_0x223d85(0x366)]);}};Ot=Cr([gt(0x0,_0x326892(_0x5bf8ac)),gt(0x1,_0x3a81dd),gt(0x2,_0x326892(_0x548c55))],Ot);var Nr=Object[_0xb8d684(0x37d)],wr=Object[_0xb8d684(0x422)],Ur=(_0xc09ec1,_0x3dabef,_0x23161e,_0x22b56c)=>{for(var _0x21cec0=_0x22b56c>0x1?void 0x0:_0x22b56c?wr(_0x3dabef,_0x23161e):_0x3dabef,_0x16a52f=_0xc09ec1['length']-0x1,_0x2b521e;_0x16a52f>=0x0;_0x16a52f--)(_0x2b521e=_0xc09ec1[_0x16a52f])&&(_0x21cec0=(_0x22b56c?_0x2b521e(_0x3dabef,_0x23161e,_0x21cec0):_0x2b521e(_0x21cec0))||_0x21cec0);return _0x22b56c&&_0x21cec0&&Nr(_0x3dabef,_0x23161e,_0x21cec0),_0x21cec0;},li=(_0x482f87,_0x15ccce)=>(_0x58824f,_0x2cc3c9)=>_0x15ccce(_0x58824f,_0x2cc3c9,_0x482f87);const Ar=_0xb8d684(0x184);let Pt=class{constructor(_0x62e839,_0x47d3b1){var _0x50d771=_0xb8d684;this[_0x50d771(0x383)]=_0x62e839,this['_HTTPService']=_0x47d3b1;}[_0xb8d684(0x41a)](){var _0x1e235f=_0xb8d684,_0x2d8107,_0xfdad6f;const _0x1fe788=this[_0x1e235f(0x383)][_0x1e235f(0x262)](wi),_0x3d0d88=this[_0x1e235f(0x383)][_0x1e235f(0x262)](Y);return(_0xfdad6f=(_0x2d8107=_0x3d0d88==null?void 0x0:_0x3d0d88[_0x1e235f(0x1f5)])!=null?_0x2d8107:_0x1fe788)!=null?_0xfdad6f:Ar;}async[_0xb8d684(0x2df)](_0x100e04){var _0x162173=_0xb8d684;const _0x4a7306=this['_getAPIPrefixPath']()+_0x162173(0x227);return{'list':[{'title':_0x162173(0x1c0),'mentions':(await this[_0x162173(0x3c5)][_0x162173(0x3df)](_0x4a7306,{'params':{'objectID':_0x100e04[_0x162173(0x429)],'unitID':_0x100e04[_0x162173(0x429)]}}))[_0x162173(0x438)][_0x162173(0x259)][_0x162173(0x2d7)](_0xe3661c=>({'objectId':_0xe3661c['id'],'name':_0xe3661c['subject']['name'],'metadata':{'icon':_0xe3661c[_0x162173(0x17c)]['avatar']},'label':_0xe3661c[_0x162173(0x17c)][_0x162173(0x336)],'objectType':_0x54a93d['PERSON']})),'metadata':{},'type':_0x54a93d[_0x162173(0x396)]}]};}};Pt=Ur([li(0x0,_0x326892(_0x3a81dd)),li(0x1,_0x326892(_0x5bf8ac))],Pt);var xr=Object[_0xb8d684(0x37d)],Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x38b369,_0x1764da,_0x391179,_0x3749af)=>{var _0x5a2346=_0xb8d684;for(var _0x65a798=_0x3749af>0x1?void 0x0:_0x3749af?Lr(_0x1764da,_0x391179):_0x1764da,_0x8eea1d=_0x38b369[_0x5a2346(0x277)]-0x1,_0x29f1d4;_0x8eea1d>=0x0;_0x8eea1d--)(_0x29f1d4=_0x38b369[_0x8eea1d])&&(_0x65a798=(_0x3749af?_0x29f1d4(_0x1764da,_0x391179,_0x65a798):_0x29f1d4(_0x65a798))||_0x65a798);return _0x3749af&&_0x65a798&&xr(_0x1764da,_0x391179,_0x65a798),_0x65a798;},Se=(_0x2d8dc4,_0x12d56f)=>(_0x355ad3,_0x173300)=>_0x12d56f(_0x355ad3,_0x173300,_0x2d8dc4);let ct=class extends _0x292a49{constructor(_0xbcc764,_0x553b5e,_0x346421,_0x5378b5,_0x9c9a54,_0xef4d31,_0x39d311){var _0x10eef1=_0xb8d684;super(),this[_0x10eef1(0x42d)]=_0xbcc764,this['_univerInstanceService']=_0x553b5e,this[_0x10eef1(0x435)]=_0x346421,this[_0x10eef1(0x349)]=_0x5378b5,this[_0x10eef1(0x3d2)]=_0x9c9a54,this['_authzIoService']=_0xef4d31,this[_0x10eef1(0x3d7)]=_0x39d311,this[_0x10eef1(0x36a)](),this['_initCloseConn']();}[_0xb8d684(0x40e)](){var _0x3feba6=_0xb8d684;const _0x4895cd=async _0x3c38bb=>{var _0x4509b3=_0x47e4;(await this[_0x4509b3(0x349)][_0x4509b3(0x410)](_0x3c38bb))[_0x4509b3(0x1d0)][_0x4509b3(0x271)](_0x13065a(_0x2513c9=>_0x2513c9[_0x4509b3(0x273)]===_0x9d397c[_0x4509b3(0x2ac)]),_0x2c9b8e(this['dispose$']))[_0x4509b3(0x408)](_0x27bc1e=>{var _0x1c0c4f=_0x4509b3;const _0x46fef7=_0x27bc1e,{reason:_0xa35d78}=_0x46fef7['data'];this[_0x1c0c4f(0x3d2)]['emitEvent']({'id':se[_0x1c0c4f(0x353)],'data':_0xa35d78}),this[_0x1c0c4f(0x435)][_0x1c0c4f(0x3d0)](new _0x561a4b(_0x3c38bb)['id'],!0x1),this['_collaborationSessionService'][_0x1c0c4f(0x411)](_0x3c38bb);});};_0x431760(this[_0x3feba6(0x3c2)]['getTypeOfUnitAdded$'](_0x5a95a6[_0x3feba6(0x238)]),this['_univerInstanceService'][_0x3feba6(0x268)](_0x5a95a6['UNIVER_DOC']))['pipe'](_0x105f41(_0x30020d=>_0x30020d[_0x3feba6(0x3ad)]()),_0x13065a(_0xcc8945=>!_0x504dbc(_0xcc8945)),_0x2c9b8e(this[_0x3feba6(0x1ba)]))[_0x3feba6(0x408)](_0x41bff2=>{_0x4895cd(_0x41bff2);});}[_0xb8d684(0x36a)](){var _0x46ebf8=_0xb8d684;const _0x1a059f=async _0xea97e6=>{var _0x18eb54=_0x47e4;(await this[_0x18eb54(0x349)]['requireSession'](_0xea97e6))[_0x18eb54(0x1d0)][_0x18eb54(0x271)](_0x13065a(_0xdc9b5c=>_0xdc9b5c[_0x18eb54(0x273)]===_0x9d397c[_0x18eb54(0x14f)]),_0x2c9b8e(this['dispose$']))[_0x18eb54(0x408)](_0x5b3e7d=>{var _0x545949=_0x18eb54;const _0x34a2c1=_0x5b3e7d,{objectId:_0x4f59dc}=_0x34a2c1['data'];_0x4f59dc===_0xea97e6?this[_0x545949(0x2fc)](_0xea97e6):this[_0x545949(0x29d)](_0xea97e6,_0x4f59dc);});};_0x431760(this[_0x46ebf8(0x3c2)][_0x46ebf8(0x268)](_0x5a95a6[_0x46ebf8(0x238)]),this[_0x46ebf8(0x3c2)][_0x46ebf8(0x268)](_0x5a95a6[_0x46ebf8(0x346)]))[_0x46ebf8(0x271)](_0x105f41(_0x505f41=>_0x505f41[_0x46ebf8(0x3ad)]()),_0x13065a(_0x19d7d0=>!_0x504dbc(_0x19d7d0)),_0x2c9b8e(this[_0x46ebf8(0x1ba)]))[_0x46ebf8(0x408)](_0x298c8e=>{_0x1a059f(_0x298c8e);});}async[_0xb8d684(0x2fc)](_0x1d301b){var _0x286f13=_0xb8d684,_0x2663b8;const _0x1071f0=_0x1d301b||((_0x2663b8=this[_0x286f13(0x3c2)][_0x286f13(0x279)](_0x5a95a6['UNIVER_SHEET']))==null?void 0x0:_0x2663b8[_0x286f13(0x3ad)]());_0x1071f0&&this[_0x286f13(0x1a7)][_0x286f13(0x1c5)]({'objectID':_0x1071f0,'objectType':_0x130fe3[_0x286f13(0x3c7)],'unitID':_0x1071f0,'actions':_0x5391f6})[_0x286f13(0x2c4)](_0x4d57f0=>{var _0x5ed107=_0x286f13;_0x55dd13()[_0x5ed107(0x407)](_0x1132db=>{var _0x3209d9=_0x5ed107;const _0x32d4f2=new _0x1132db(_0x1071f0),_0x5758b6=_0x32d4f2['subType'],_0x5b922c=_0x4d57f0[_0x3209d9(0x350)](_0x43f7a4=>_0x43f7a4[_0x3209d9(0x2f3)]===_0x5758b6);_0x5b922c&&this['_permissionService'][_0x3209d9(0x3d0)](_0x32d4f2['id'],_0x5b922c[_0x3209d9(0x1c5)]);});});}['refreshPermission'](_0x479681,_0x46c6e8){var _0x1b8f6a=_0xb8d684;const _0x23db81=this[_0x1b8f6a(0x42d)][_0x1b8f6a(0x3df)](_0x2bf2ee),_0x4a239a=_0x23db81['getTargetByPermissionId'](_0x479681,_0x46c6e8);let _0x3ae6c0=!0x1;if(_0x4a239a){const [_0x3fd072,_0x57d7b5]=_0x4a239a;this['_authzIoService'][_0x1b8f6a(0x1c5)]({'objectID':_0x46c6e8,'unitID':_0x479681,'objectType':_0x130fe3['Worksheet'],'actions':_0x3ab793})['then'](_0x12deb8=>{var _0x2bf571=_0x1b8f6a;let _0x46bfce='';_0x14603d()[_0x2bf571(0x407)](_0x3e8613=>{var _0x537547=_0x2bf571,_0x1fd522;const _0x4ccdd5=new _0x3e8613(_0x479681,_0x57d7b5),_0x3aa5cc=_0x4ccdd5[_0x537547(0x291)],_0x203c2f=_0x12deb8[_0x537547(0x350)](_0xbf70af=>_0xbf70af[_0x537547(0x2f3)]===_0x3aa5cc);_0x203c2f&&(((_0x1fd522=this[_0x537547(0x435)][_0x537547(0x33e)](_0x4ccdd5['id']))==null?void 0x0:_0x1fd522[_0x537547(0x2b9)])!==_0x203c2f[_0x537547(0x1c5)]&&(_0x3ae6c0=!0x0),this['_permissionService']['updatePermissionPoint'](_0x4ccdd5['id'],_0x203c2f['allowed']),_0x46bfce+=_0x203c2f[_0x537547(0x2f3)]+'_'+_0x203c2f['allowed']);}),_0x23db81[_0x2bf571(0x257)](_0x46c6e8+'_'+_0x46bfce),_0x3ae6c0&&this[_0x2bf571(0x3d7)]['clearUndoRedo'](_0x479681);});}const _0x3564b9=this[_0x1b8f6a(0x42d)][_0x1b8f6a(0x3df)](_0x422c80)[_0x1b8f6a(0x1f6)](_0x479681,_0x46c6e8);if(_0x3564b9){const [_0x379d14,_0x2afac2]=_0x3564b9;this[_0x1b8f6a(0x1a7)][_0x1b8f6a(0x1c5)]({'objectID':_0x46c6e8,'unitID':_0x479681,'objectType':_0x130fe3[_0x1b8f6a(0x3ae)],'actions':_0x53854f})[_0x1b8f6a(0x2c4)](_0x43ff40=>{var _0x36f22f=_0x1b8f6a;_0x8b5ee1()[_0x36f22f(0x407)](_0x39073c=>{var _0x176d7a=_0x36f22f,_0x502460;const _0x151b59=new _0x39073c(_0x479681,_0x2afac2),_0x354886=_0x151b59[_0x176d7a(0x291)],_0x24f914=_0x43ff40[_0x176d7a(0x350)](_0x1b6ee9=>_0x1b6ee9[_0x176d7a(0x2f3)]===_0x354886);_0x24f914&&(((_0x502460=this['_permissionService']['getPermissionPoint'](_0x151b59['id']))==null?void 0x0:_0x502460[_0x176d7a(0x2b9)])!==_0x24f914[_0x176d7a(0x1c5)]&&(_0x3ae6c0=!0x0),this['_permissionService'][_0x176d7a(0x3d0)](_0x151b59['id'],_0x24f914[_0x176d7a(0x1c5)]));}),_0x3ae6c0&&this[_0x36f22f(0x3d7)]['clearUndoRedo'](_0x479681);});}const _0x42148b=this[_0x1b8f6a(0x42d)][_0x1b8f6a(0x3df)](_0x5b8a81),_0x498c1d=_0x42148b['getTargetByPermissionId'](_0x479681,_0x46c6e8);if(_0x498c1d){const [_0x1b4501,_0x5ac5ec]=_0x498c1d;this[_0x1b8f6a(0x1a7)][_0x1b8f6a(0x1c5)]({'objectID':_0x46c6e8,'unitID':_0x479681,'objectType':_0x130fe3[_0x1b8f6a(0x1fa)],'actions':_0x3ab793})[_0x1b8f6a(0x2c4)](_0x3f055d=>{var _0x3f8736=_0x1b8f6a;let _0x2bf21f='';_0x54474f()[_0x3f8736(0x407)](_0x3e1c6f=>{var _0xb6d3ea=_0x3f8736,_0x31879d;const _0x5281cc=new _0x3e1c6f(_0x479681,_0x5ac5ec,_0x46c6e8),_0x3069d2=_0x5281cc['subType'],_0x160891=_0x3f055d[_0xb6d3ea(0x350)](_0xe0916b=>_0xe0916b['action']===_0x3069d2);_0x160891&&(((_0x31879d=this[_0xb6d3ea(0x435)][_0xb6d3ea(0x33e)](_0x5281cc['id']))==null?void 0x0:_0x31879d[_0xb6d3ea(0x2b9)])!==_0x160891['allowed']&&(_0x3ae6c0=!0x0),this[_0xb6d3ea(0x435)][_0xb6d3ea(0x3d0)](_0x5281cc['id'],_0x160891['allowed']),_0x2bf21f+=_0x160891[_0xb6d3ea(0x2f3)]+'_'+_0x160891[_0xb6d3ea(0x1c5)]);}),_0x42148b[_0x3f8736(0x257)](_0x46c6e8+'_'+_0x2bf21f),_0x3ae6c0&&this[_0x3f8736(0x3d7)][_0x3f8736(0x314)](_0x479681);});}}};ct=Mr([Se(0x0,_0x326892(_0x5b782f)),Se(0x1,_0x548c55),Se(0x2,_0x2a759d),Se(0x3,_0x326892(Me)),Se(0x4,_0x326892(pe)),Se(0x5,_0x4b5b66),Se(0x6,_0xd54f7f)],ct);var $r=Object[_0xb8d684(0x37d)],Hr=Object[_0xb8d684(0x422)],kr=(_0x1d5da5,_0x2ec2ef,_0x212a95,_0x36339c)=>{var _0x4242a7=_0xb8d684;for(var _0x22fdcb=_0x36339c>0x1?void 0x0:_0x36339c?Hr(_0x2ec2ef,_0x212a95):_0x2ec2ef,_0x32de93=_0x1d5da5[_0x4242a7(0x277)]-0x1,_0x16f90f;_0x32de93>=0x0;_0x32de93--)(_0x16f90f=_0x1d5da5[_0x32de93])&&(_0x22fdcb=(_0x36339c?_0x16f90f(_0x2ec2ef,_0x212a95,_0x22fdcb):_0x16f90f(_0x22fdcb))||_0x22fdcb);return _0x36339c&&_0x22fdcb&&$r(_0x2ec2ef,_0x212a95,_0x22fdcb),_0x22fdcb;},ui=(_0x424972,_0xf3a318)=>(_0x5a1fd8,_0x3d7cf5)=>_0xf3a318(_0x5a1fd8,_0x3d7cf5,_0x424972);let Dt=class{constructor(_0x1efbe6,_0x3f00d3){var _0x24424a=_0xb8d684;this[_0x24424a(0x383)]=_0x1efbe6,this['_httpService']=_0x3f00d3;}async[_0xb8d684(0x2e9)](_0xdd6862,_0x1e5997){var _0x1e7e98=_0xb8d684,_0x985911;const {unitID:_0x2b60a6,type:_0x321929,revision:_0xec60c8=0x0}=_0x1e5997,_0x317c6b=this[_0x1e7e98(0x1f3)]()+'/'+_0x321929+'/unit/'+_0x2b60a6+'/rev/'+_0xec60c8,_0x10dfe4=(await this[_0x1e7e98(0x2bc)][_0x1e7e98(0x3df)](_0x317c6b))[_0x1e7e98(0x438)],_0x5d1c7f=(_0x985911=_0x10dfe4[_0x1e7e98(0x302)])==null?void 0x0:_0x985911[_0x1e7e98(0x162)];if(_0x5d1c7f){const _0x24cbb9=_0x5d1c7f==null?void 0x0:_0x5d1c7f[_0x1e7e98(0x20e)],_0x177177=_0x5268a7[_0x1e7e98(0x3dc)](_0xbb75c(_0x24cbb9));_0x5d1c7f[_0x1e7e98(0x20e)]=_0x177177,Object[_0x1e7e98(0x2ec)](_0x5d1c7f[_0x1e7e98(0x28a)])[_0x1e7e98(0x407)](([,_0x449c03])=>{var _0x5e418e=_0x1e7e98;const _0x2d70c5=_0x449c03[_0x5e418e(0x20e)],_0xe74040=_0x5268a7['encode'](_0xbb75c(_0x2d70c5));_0x449c03[_0x5e418e(0x20e)]=_0xe74040;});}return _0x10dfe4;}async['getSheetBlock'](_0x23cab9,_0x116cb6){var _0x46778d=_0xb8d684;const {unitID:_0x4ffd14,type:_0x53ba0b,blockID:_0x38a48a}=_0x116cb6,_0x47c9a4=this[_0x46778d(0x3c9)]()+'/'+_0x53ba0b+'/unit/'+_0x4ffd14+_0x46778d(0x24c)+_0x38a48a;return(await this['_httpService']['get'](_0x47c9a4))[_0x46778d(0x438)];}async[_0xb8d684(0x36e)](_0x43f1df,_0x931b5b){var _0x116843=_0xb8d684;const {unitID:_0x35a1f7,type:_0x4d6394,blockID:_0x51c390}=_0x931b5b,_0x35fe15=this['_getAPIPrefix']()+_0x116843(0x24c)+_0x4d6394+'/unit/'+_0x35a1f7+_0x116843(0x24c)+_0x51c390;return(await this[_0x116843(0x2bc)]['get'](_0x35fe15))['body'];}async['fetchMissingChangesets'](_0x54c0c5,_0x4764d5){var _0x3b4ae0=_0xb8d684;const {unitID:_0x29d30d,type:_0x391dd1,from:_0xf8610f,to:_0x2539ba}=_0x4764d5,_0x25b26b=this[_0x3b4ae0(0x3c9)]()+'/'+_0x391dd1+'/unit/'+_0x29d30d+'/fetchmissing?from='+_0xf8610f+_0x3b4ae0(0x158)+_0x2539ba;return(await this[_0x3b4ae0(0x2bc)][_0x3b4ae0(0x3df)](_0x25b26b))[_0x3b4ae0(0x438)];}['getSnapshotAPIPath'](){var _0x2f18f4=_0xb8d684,_0x5a6441;return(_0x5a6441=this[_0x2f18f4(0x383)][_0x2f18f4(0x262)](On))!=null?_0x5a6441:this[_0x2f18f4(0x3c9)]();}[_0xb8d684(0x3c9)](){var _0x65914d=_0xb8d684,_0x4164d2,_0x178740;const _0x3a05c6=this[_0x65914d(0x383)]['getConfig'](Rn),_0x18a31b=this[_0x65914d(0x383)]['getConfig'](Y);return(_0x178740=(_0x4164d2=_0x18a31b==null?void 0x0:_0x18a31b[_0x65914d(0x1fd)])!=null?_0x4164d2:_0x3a05c6)!=null?_0x178740:yn;}async['getResourcesRequest'](_0x553709,_0x267ea8){var _0x6a24c7=_0xb8d684;const _0x5152fb=_0x6a24c7(0x35c)+_0x267ea8[_0x6a24c7(0x145)]+_0x6a24c7(0x234)+_0x267ea8[_0x6a24c7(0x3d3)]+'/resources';return(await this[_0x6a24c7(0x2bc)][_0x6a24c7(0x3df)](_0x5152fb,{'params':{'resourceId':JSON['stringify'](_0x267ea8[_0x6a24c7(0x19f)])}}))[_0x6a24c7(0x438)];}[_0xb8d684(0x2fe)](){var _0x13f5f9=_0xb8d684;throw new Error(_0x13f5f9(0x244));}['saveSheetBlock'](){var _0x47d657=_0xb8d684;throw new Error(_0x47d657(0x244));}[_0xb8d684(0x245)](){var _0x5e40cb=_0xb8d684;throw new Error(_0x5e40cb(0x244));}['copyFileMeta'](){var _0x46b968=_0xb8d684;throw new Error(_0x46b968(0x244));}['getLatestCsReqIdBySid'](){var _0x38c476=_0xb8d684;throw new Error(_0x38c476(0x244));}};Dt=kr([ui(0x0,_0x3a81dd),ui(0x1,_0x326892(_0x5bf8ac))],Dt);var jr=Object[_0xb8d684(0x37d)],Br=Object[_0xb8d684(0x422)],Fr=(_0x486e7c,_0x3c253d,_0xe62fb7,_0x4c76b5)=>{var _0x2a87eb=_0xb8d684;for(var _0x3b5092=_0x4c76b5>0x1?void 0x0:_0x4c76b5?Br(_0x3c253d,_0xe62fb7):_0x3c253d,_0x2a44b0=_0x486e7c[_0x2a87eb(0x277)]-0x1,_0x10a62d;_0x2a44b0>=0x0;_0x2a44b0--)(_0x10a62d=_0x486e7c[_0x2a44b0])&&(_0x3b5092=(_0x4c76b5?_0x10a62d(_0x3c253d,_0xe62fb7,_0x3b5092):_0x10a62d(_0x3b5092))||_0x3b5092);return _0x4c76b5&&_0x3b5092&&jr(_0x3c253d,_0xe62fb7,_0x3b5092),_0x3b5092;},we=(_0x5df3dc,_0x36ad3c)=>(_0x26c653,_0x218760)=>_0x36ad3c(_0x26c653,_0x218760,_0x5df3dc);let Nt=class extends _0x4ce789{constructor(_0x4e16b5,_0x465134,_0x12d9a6,_0x439430,_0x48ca76){var _0x595ead=_0xb8d684;super(_0x4e16b5,_0x465134,_0x12d9a6),this[_0x595ead(0x181)]=_0x439430,this[_0x595ead(0x2f4)]=_0x48ca76;}[_0xb8d684(0x248)](_0x3cb43c,_0x30ddf8){var _0x5d17df=_0xb8d684;const _0x59d1c8=this[_0x5d17df(0x250)](_0x3cb43c);if(_0x59d1c8)try{const _0x14f7df=this['_transformStack'](_0x59d1c8,_0x30ddf8);this['_substituteUndoStack'](_0x3cb43c,_0x14f7df);}catch(_0x591aea){this[_0x5d17df(0x2f4)][_0x5d17df(0x282)](_0x5d17df(0x192),_0x591aea),this[_0x5d17df(0x171)](_0x3cb43c);}const _0x4948bf=this[_0x5d17df(0x1cc)](_0x3cb43c);if(_0x4948bf)try{const _0x4bc4be=this[_0x5d17df(0x2c8)](_0x4948bf,_0x30ddf8);this[_0x5d17df(0x26a)](_0x3cb43c,_0x4bc4be);}catch(_0x46f4e4){this[_0x5d17df(0x2f4)][_0x5d17df(0x282)](_0x46f4e4),this['_clearRedo'](_0x3cb43c);}}['_clearUndo'](_0x1c539c){var _0x24e1e7=_0xb8d684;const _0xdbb34c=this['_getUndoStack'](_0x1c539c);_0xdbb34c&&(_0xdbb34c[_0x24e1e7(0x277)]=0x0,this[_0x24e1e7(0x321)]());}['_clearRedo'](_0x13bf8e){var _0x4e3073=_0xb8d684;const _0x50b07a=this[_0x4e3073(0x1cc)](_0x13bf8e);_0x50b07a&&(_0x50b07a[_0x4e3073(0x277)]=0x0,this[_0x4e3073(0x321)]());}[_0xb8d684(0x2ad)](_0x496f93,_0x2fb422){var _0x5ef8ce=_0xb8d684;this[_0x5ef8ce(0x2db)][_0x5ef8ce(0x17a)](_0x496f93,_0x2fb422),this[_0x5ef8ce(0x321)]();}[_0xb8d684(0x26a)](_0x550d18,_0x40b670){var _0x149014=_0xb8d684;this[_0x149014(0x22d)]['set'](_0x550d18,_0x40b670),this[_0x149014(0x321)]();}[_0xb8d684(0x2c8)](_0x1980f0,_0x2d930b){var _0x345b34=_0xb8d684;const _0x40e73c=[];let _0x3ca1ec=_0x2d930b,_0x927af7=_0x2d930b;for(let _0x2b5df3=_0x1980f0[_0x345b34(0x277)]-0x1;_0x2b5df3>=0x0;_0x2b5df3--){const {unitID:_0x30f21c,undoMutations:_0x144006,redoMutations:_0x491345}=_0x1980f0[_0x2b5df3],_0x189df0=this['_transformService'][_0x345b34(0x35b)](_0x3ca1ec,_0x144006),_0x2793c9=this[_0x345b34(0x181)][_0x345b34(0x35b)](_0x927af7,_0x491345);if(_0x2268ec(_0x189df0)||_0x2268ec(_0x2793c9)){this[_0x345b34(0x2f4)][_0x345b34(0x282)]('[CollaborationUndoRedoService]',_0x345b34(0x2d3),_0x189df0,_0x2793c9);break;}_0x3ca1ec=_0x189df0['c1Prime'],_0x927af7=_0x2793c9[_0x345b34(0x1e0)],_0x40e73c[_0x345b34(0x3e8)]({'unitID':_0x30f21c,'undoMutations':_0x189df0['m2Prime'],'redoMutations':_0x2793c9['m2Prime']});}return _0x40e73c[_0x345b34(0x398)]();}};Nt=Fr([we(0x0,_0x548c55),we(0x1,_0x773321),we(0x2,_0x274455),we(0x3,_0x33c803),we(0x4,_0x3ed4aa)],Nt);var Li=Object[_0xb8d684(0x37d)],Vr=Object[_0xb8d684(0x422)],Wr=(_0xac686d,_0x1166cf,_0x5e0649)=>_0x1166cf in _0xac686d?Li(_0xac686d,_0x1166cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e0649}):_0xac686d[_0x1166cf]=_0x5e0649,Gr=(_0xc573cb,_0x1d43fb,_0x2bea71,_0x2b4517)=>{var _0x25fdad=_0xb8d684;for(var _0x1efeec=_0x2b4517>0x1?void 0x0:_0x2b4517?Vr(_0x1d43fb,_0x2bea71):_0x1d43fb,_0x3090d1=_0xc573cb[_0x25fdad(0x277)]-0x1,_0x2d58b0;_0x3090d1>=0x0;_0x3090d1--)(_0x2d58b0=_0xc573cb[_0x3090d1])&&(_0x1efeec=(_0x2b4517?_0x2d58b0(_0x1d43fb,_0x2bea71,_0x1efeec):_0x2d58b0(_0x1efeec))||_0x1efeec);return _0x2b4517&&_0x1efeec&&Li(_0x1d43fb,_0x2bea71,_0x1efeec),_0x1efeec;},St=(_0x67180,_0x1ae1f9)=>(_0x7479,_0xc8725f)=>_0x1ae1f9(_0x7479,_0xc8725f,_0x67180),Kr=(_0x4950ce,_0xe14500,_0x4c4109)=>Wr(_0x4950ce,_0xe14500+'',_0x4c4109);const zr=_0xb8d684(0x315);let wt=class extends _0x164581{constructor(_0x88479c=Bn,_0x5af273,_0x206a0c,_0x4e94dc){var _0x32d8a7=_0xb8d684;super(),this[_0x32d8a7(0x28d)]=_0x88479c,this[_0x32d8a7(0x2f4)]=_0x5af273,this[_0x32d8a7(0x42d)]=_0x206a0c,this[_0x32d8a7(0x383)]=_0x4e94dc;const {..._0x57c96d}=this[_0x32d8a7(0x28d)];this[_0x32d8a7(0x383)][_0x32d8a7(0x3ec)](Y,_0x57c96d);}[_0xb8d684(0x335)](){var _0x32b9f8=_0xb8d684;this[_0x32b9f8(0x1b4)](),this[_0x32b9f8(0x369)]();}[_0xb8d684(0x1b4)](){var _0x208e4b=_0xb8d684,_0xbfeb4d,_0x15b3ef,_0x598d07,_0x193412;this[_0x208e4b(0x42d)][_0x208e4b(0x2b7)](_0xd54f7f)&&this[_0x208e4b(0x2f4)]['error'](_0x208e4b(0x43c),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x500f5b=_0x49ead8([[_0xd54f7f,{'useClass':Nt}],[Me],[Le],[_0x415b8b],[nt],[ot],[at],[Ri],[ct],[pe],[yt],[bi,{'useClass':(_0x15b3ef=(_0xbfeb4d=this['_config'])==null?void 0x0:_0xbfeb4d['socketService'])!=null?_0x15b3ef:Et}],[_0x42c0d3,{'useClass':Dt}],[_0x4b5b66,{'useClass':Rt}],[_0x18a6df,{'useClass':Ot}],[_0x4d1ba6,{'useClass':Pt}],[rt],[bt]],(_0x598d07=this[_0x208e4b(0x28d)])==null?void 0x0:_0x598d07[_0x208e4b(0x1eb)]);if(!((_0x193412=this[_0x208e4b(0x28d)])!=null&&_0x193412['enableSingleActiveInstanceLock'])){const _0x48d387=_0x500f5b['findIndex'](([_0x29613a])=>_0x29613a===ht);_0x48d387!==-0x1&&_0x500f5b[_0x208e4b(0x275)](_0x48d387,0x1);}_0x291688(this[_0x208e4b(0x42d)],_0x500f5b);}[_0xb8d684(0x369)](){var _0xd2e0f=_0xb8d684,_0x1ae6c5,_0x33e391;this['_injector']['get'](_0x5bf8ac)[_0xd2e0f(0x1f4)]({'priority':0x14,'interceptor':_0x5a4b71({'maxParallel':0x6})}),(_0x1ae6c5=this['_config'])!=null&&_0x1ae6c5[_0xd2e0f(0x2a5)]||this[_0xd2e0f(0x42d)][_0xd2e0f(0x3df)](X)[_0xd2e0f(0x3a0)](),(_0x33e391=this[_0xd2e0f(0x28d)])!=null&&_0x33e391[_0xd2e0f(0x1e3)]&&_0x207531(this[_0xd2e0f(0x42d)],[[ot]]),_0x207531(this[_0xd2e0f(0x42d)],[[at],[rt],[ct]]);}};Kr(wt,_0xb8d684(0x3c8),zr),wt=Gr([_0x279515(_0x2a0384,_0x172839,_0x2d3028),St(0x1,_0x3ed4aa),St(0x2,_0x326892(_0x5b782f)),St(0x3,_0x3a81dd)],wt);function _0x47e4(_0x25cdbe,_0x235d94){var _0x52853=_0x5285();return _0x47e4=function(_0x47e459,_0x2fd5f6){_0x47e459=_0x47e459-0x13b;var _0x25d6eb=_0x52853[_0x47e459];return _0x25d6eb;},_0x47e4(_0x25cdbe,_0x235d94);}export{wi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,$n as COLLAB_SUBMIT_CHANGESET_URL_KEY,Dn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Ot as CollaborationImageIoService,It as CollaborationSession,Me as CollaborationSessionService,Et as CollaborationSocketService,Pi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Nt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,Nn as DEFAULT_COLLAB_WEB_SOCKET_URL,yt as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Un as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,ht as ISingleActiveUnitService,oo as LOCAL_CACHE_INTERVAL,ro as LOCAL_CACHE_INTERVAL_KEY,kn as LOGIN_URL_KEY,Le as MemberService,Pt as MentionIoHttpService,fe as OfflineState,re as PendingState,Ln as RETRY_CONNECTING_MAX_COUNT_KEY,so as SEND_CHANGESET_TIMEOUT_KEY,Rn as SNAPSHOT_SERVER_URL_KEY,On as SNAPSHOT_URL_KEY,Ie as SessionStatus,Ct as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,wt as UniverCollaborationClientPlugin,Fn as deserializeToCombResponse,ao as getLocalCacheKey,Vn as serializeCombRequest};
|
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'&>['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};
|