@univerjs-pro/collaboration-client 0.6.0-nightly.202502131606 → 0.6.0-nightly.202502151605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x228894=_0x326f;(function(_0x649008,_0x52626c){var _0xe6b24d=_0x326f,_0x1e9317=_0x649008();while(!![]){try{var _0xdf2122=-parseInt(_0xe6b24d(0x422))/0x1*(-parseInt(_0xe6b24d(0x41b))/0x2)+-parseInt(_0xe6b24d(0x3dc))/0x3+-parseInt(_0xe6b24d(0x3f1))/0x4*(-parseInt(_0xe6b24d(0x380))/0x5)+parseInt(_0xe6b24d(0x318))/0x6*(-parseInt(_0xe6b24d(0x12d))/0x7)+-parseInt(_0xe6b24d(0x155))/0x8+parseInt(_0xe6b24d(0x346))/0x9*(parseInt(_0xe6b24d(0x280))/0xa)+-parseInt(_0xe6b24d(0x42f))/0xb;if(_0xdf2122===_0x52626c)break;else _0x1e9317['push'](_0x1e9317['shift']());}catch(_0x16b9a7){_0x1e9317['push'](_0x1e9317['shift']());}}}(_0x2844,0xdcf70));var Ai=Object[_0x228894(0x436)],Pi=(_0x571207,_0x22f894,_0x20427a)=>_0x22f894 in _0x571207?Ai(_0x571207,_0x22f894,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20427a}):_0x571207[_0x22f894]=_0x20427a,N=(_0x3f7fda,_0x5b29f1,_0x15d98a)=>Pi(_0x3f7fda,typeof _0x5b29f1!=_0x228894(0x163)?_0x5b29f1+'':_0x5b29f1,_0x15d98a);import{createIdentifier as _0x3235fa,Inject as _0x7e1ee1,Injector as _0xa32491,IConfigService as _0x7ee467,ILogService as _0x3cc2bd,Disposable as _0x5c5031,DisposableCollection as _0x44cbce,toDisposable as _0x483b1d,IUniverInstanceService as _0xffe073,UserManagerService as _0x293594,UniverInstanceType as _0x6cb10f,LocaleService as _0x421b51,Optional as _0x1d58e6,RxDisposable as _0x4d64f7,Tools as _0x1b891a,Rectangle as _0x43bf4e,ICommandService as _0x50ec3e,JSONX as _0xac861d,CommandType as _0x2ffda7,IUndoRedoService as _0x15c881,IPermissionService as _0x18d44c,sequenceExecute as _0x531c58,Workbook as _0xd202b5,MentionType as _0x270089,isInternalEditorID as _0x5d1d2a,LocalUndoRedoService as _0x3d2d2f,IContextService as _0x5bd258,DependentOn as _0x331e67,Plugin as _0x5a64fe,merge as _0x444ec8,mergeOverrideWithDependencies as _0x4d8dd9,IAuthzIoService as _0x25ae31,IMentionIOService as _0x2aaf3e,registerDependencies as _0xd419ce,Quantity as _0x2545e1,touchDependencies as _0x3943a1}from'@univerjs/core';import{Subject as _0xe00b19,merge as _0x5bc9c1,of as _0x5bf531,BehaviorSubject as _0x35002d,takeUntil as _0x3c9bb5,ReplaySubject as _0x342735,take as _0x314bc2,map as _0x244e5d,shareReplay as _0x15b5bd,firstValueFrom as _0x1a1add,concatMap as _0x32d840}from'rxjs';import{map as _0x54f33d,take as _0x264a5f,filter as _0x28db24,delay as _0x2c3f4d,takeUntil as _0x3fb4d5}from'rxjs/operators';import{CollaborationEvent as _0x20f032,ISnapshotServerService as _0x5d1003,parseChangesetToProtocol as _0x4bfe76,ITransformService as _0x3ece4b,isTransformMutationsWithChangesetSuccess as _0x5d1283,mapDocumentTypeToUniverType as _0x34fd4b,RevisionService as _0x34da5f,isTransformChangesetsSuccess as _0x3a66cd,CompressMutationService as _0x48f8e4,parseProtocolChangeset as _0x5554e5,SnapshotService as _0x433de0,textEncoder as _0x243e8b,b64DecodeUnicode as _0x5cd51b,isTransformMutationsWithChangesetFailure as _0xa69dee,UniverCollaborationPlugin as _0x1316fd}from'@univerjs-pro/collaboration';import{HTTPService as _0x5daba1,ISocketService as _0x261fa4,MergeInterceptorFactory as _0x305ef5,HTTPRequest as _0x417fa3,UniverNetworkPlugin as _0x59ac87,ThresholdInterceptorFactory as _0x304424}from'@univerjs/network';import{ITelemetryService as _0x1e5b04}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x43f4f3}from'@univerjs/docs';import{SheetsSelectionsService as _0x4d88bf,SetSelectionsOperation as _0x36f082,InsertSheetMutation as _0x1f4325,EmptyMutation as _0x569059,WorkbookEditablePermission as _0x255943,SheetPermissionInitController as _0x3f922a,UniverSheetsPlugin as _0x46dba4}from'@univerjs/sheets';import{ImageSourceType as _0x425200,ImageUploadStatusType as _0x5ca9c8,IImageIoService as _0x3ed98c}from'@univerjs/drawing';import{getGlobalObject as _0x4c6156}from'@univerjs-pro/license';const mr=_0x228894(0x328),gr=_0x228894(0x275),Sr='SNAPSHOT_URL_KEY',Ls=_0x228894(0x1b3),Er=0x7d0,Ir=_0x228894(0x230),Tr=_0x228894(0x360),Ms=_0x228894(0x2be),Cr=_0x228894(0x2bd),Rr=0x7530,mi=_0x228894(0x2fa),gi=0x4e20,br=0x4e20,yr=_0x228894(0x2fc),Or=0x3,ks='LOCAL_CACHE_INTERVAL',$s=0x3e8,Nr=_0x228894(0x1b0),Dr=_0x228894(0x232),Ur=_0x228894(0x39d),wr=_0x228894(0x286),Hs=_0x228894(0x1ea),Bs=_0x228894(0x3e0);var Si=(_0x21fb1c=>(_0x21fb1c[_0x21fb1c['UNDEFINED']=0x0]=_0x228894(0x3dd),_0x21fb1c[_0x21fb1c['OK']=0x1]='OK',_0x21fb1c[_0x21fb1c[_0x228894(0x32e)]=0x2]=_0x228894(0x32e),_0x21fb1c[_0x21fb1c[_0x228894(0x438)]=0x3]=_0x228894(0x438),_0x21fb1c[_0x21fb1c['NOT_FOUND']=0x4]='NOT_FOUND',_0x21fb1c[_0x21fb1c[_0x228894(0x306)]=0x5]='UNAUTHENTICATED',_0x21fb1c[_0x21fb1c[_0x228894(0x420)]=0x6]=_0x228894(0x420),_0x21fb1c[_0x21fb1c['INVALID_ARGUMENT']=0x7]=_0x228894(0x364),_0x21fb1c[_0x21fb1c[_0x228894(0x13c)]=0x8]=_0x228894(0x13c),_0x21fb1c[_0x21fb1c['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x21fb1c[_0x21fb1c[_0x228894(0x148)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x21fb1c[_0x21fb1c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x21fb1c[_0x21fb1c[_0x228894(0x1d4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x21fb1c[_0x21fb1c[_0x228894(0x290)]=0x1773]=_0x228894(0x290),_0x21fb1c[_0x21fb1c[_0x228894(0x2a4)]=0x1b59]=_0x228894(0x2a4),_0x21fb1c[_0x21fb1c[_0x228894(0x19e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x21fb1c[_0x21fb1c[_0x228894(0x3a9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x21fb1c[_0x21fb1c[_0x228894(0x288)]=0x1b5c]=_0x228894(0x288),_0x21fb1c[_0x21fb1c[_0x228894(0x226)]=0x1b5d]=_0x228894(0x226),_0x21fb1c[_0x21fb1c[_0x228894(0x335)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x21fb1c[_0x21fb1c[_0x228894(0x1f4)]=0x2329]=_0x228894(0x1f4),_0x21fb1c[_0x21fb1c[_0x228894(0x2a1)]=0x232a]=_0x228894(0x2a1),_0x21fb1c[_0x21fb1c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x228894(0x3aa),_0x21fb1c[_0x21fb1c[_0x228894(0x19a)]=0x232c]=_0x228894(0x19a),_0x21fb1c[_0x21fb1c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x228894(0x1dd),_0x21fb1c[_0x21fb1c[_0x228894(0x1b4)]=0x2711]=_0x228894(0x1b4),_0x21fb1c[_0x21fb1c[_0x228894(0x150)]=0x2712]=_0x228894(0x150),_0x21fb1c[_0x21fb1c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x228894(0x1d5),_0x21fb1c[_0x21fb1c[_0x228894(0x41c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x21fb1c[_0x21fb1c[_0x228894(0x294)]=0x2af9]=_0x228894(0x294),_0x21fb1c[_0x21fb1c['UNRECOGNIZED']=-0x1]=_0x228894(0x1a6),_0x21fb1c))(Si||{}),Q=(_0x594383=>(_0x594383[_0x594383[_0x228894(0x222)]=0x0]=_0x228894(0x222),_0x594383[_0x594383[_0x228894(0x273)]=0x1]='UNIVER_DOC',_0x594383[_0x594383[_0x228894(0x24c)]=0x2]=_0x228894(0x24c),_0x594383[_0x594383[_0x228894(0x2b1)]=0x3]=_0x228894(0x2b1),_0x594383[_0x594383['UNIVER_PROJECT']=0x4]=_0x228894(0x37e),_0x594383[_0x594383[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x594383))(Q||{}),F=(_0x1a09aa=>(_0x1a09aa[_0x1a09aa[_0x228894(0x2f2)]=0x0]=_0x228894(0x2f2),_0x1a09aa[_0x1a09aa[_0x228894(0x33e)]=0x1]=_0x228894(0x33e),_0x1a09aa[_0x1a09aa['JOIN']=0x2]=_0x228894(0x202),_0x1a09aa[_0x1a09aa[_0x228894(0x430)]=0x3]=_0x228894(0x430),_0x1a09aa[_0x1a09aa['INGEST']=0x4]='INGEST',_0x1a09aa[_0x1a09aa['HEARTBEAT']=0x5]=_0x228894(0x333),_0x1a09aa[_0x1a09aa['RECV']=0x6]='RECV',_0x1a09aa[_0x1a09aa[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x1a09aa))(F||{}),ge=(_0x5b8fae=>(_0x5b8fae[_0x5b8fae[_0x228894(0x1b9)]=0x0]=_0x228894(0x1b9),_0x5b8fae[_0x5b8fae['OK']=0x1]='OK',_0x5b8fae[_0x5b8fae[_0x228894(0x2ff)]=0x2]=_0x228894(0x2ff),_0x5b8fae[_0x5b8fae[_0x228894(0x385)]=0x3e9]=_0x228894(0x385),_0x5b8fae[_0x5b8fae[_0x228894(0x36e)]=0x3ea]=_0x228894(0x36e),_0x5b8fae[_0x5b8fae['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5b8fae[_0x5b8fae[_0x228894(0x32b)]=0x3ec]=_0x228894(0x32b),_0x5b8fae[_0x5b8fae[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x5b8fae))(ge||{}),Ei=(_0x1b2e06=>(_0x1b2e06[_0x1b2e06['Undefined']=0x0]=_0x228894(0x201),_0x1b2e06[_0x1b2e06[_0x228894(0x38a)]=0x1]='HttpImport',_0x1b2e06[_0x1b2e06[_0x228894(0x378)]=0x2]='HttpExport',_0x1b2e06[_0x1b2e06['UnitEmbedded']=0x3]='UnitEmbedded',_0x1b2e06[_0x1b2e06['UnitSnapshot']=0x4]=_0x228894(0x26a),_0x1b2e06[_0x1b2e06[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x1b2e06))(Ei||{});const q=_0x228894(0x1ff),Ar={};var se=(_0x35637f=>(_0x35637f[_0x228894(0x426)]='OTHER_CLIENT_EDITING',_0x35637f[_0x228894(0x438)]=_0x228894(0x438),_0x35637f[_0x228894(0x3d9)]=_0x228894(0x3d9),_0x35637f[_0x228894(0x3f5)]=_0x228894(0x3f5),_0x35637f[_0x228894(0x303)]='JOIN_ROOM_FAILED',_0x35637f[_0x228894(0x21a)]=_0x228894(0x21a),_0x35637f['SOCKET_FAILED']='SOCKET_FAILED',_0x35637f['SUBMIT_CHANGESET_TIMEOUT']=_0x228894(0x261),_0x35637f))(se||{});class pe{constructor(){var _0x4b1d39=_0x228894;N(this,_0x4b1d39(0x2b8),new _0xe00b19()),N(this,_0x4b1d39(0x25f),this[_0x4b1d39(0x2b8)][_0x4b1d39(0x2ca)]());}[_0x228894(0x241)](_0x43b7a6){var _0x4168cb=_0x228894;this[_0x4168cb(0x2b8)][_0x4168cb(0x167)](_0x43b7a6);}}const Pr=_0x3235fa(_0x228894(0x3eb));function xr(_0x199e36){var _0x8350c0=_0x228894,_0x551ba1,_0x5d6f02,_0x48c146,_0x1f0155,_0x399ecc;const _0x2b3bfb=_0x199e36[_0x8350c0(0x41f)],_0x1eb8ba=JSON[_0x8350c0(0x3e4)](_0x2b3bfb);switch(_0x1eb8ba[_0x8350c0(0x2c8)]){case F[_0x8350c0(0x333)]:case F[_0x8350c0(0x33e)]:{const _0x5ebe09=_0x1eb8ba[_0x8350c0(0x416)];return{..._0x1eb8ba,'data':_0x5ebe09,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};}case F[_0x8350c0(0x202)]:{const _0x129ce4=_0x1eb8ba['joinRsp'];return{..._0x1eb8ba,'data':_0x129ce4,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};}case F[_0x8350c0(0x15c)]:{const _0x20d931=_0x1eb8ba[_0x8350c0(0x3b1)];switch(_0x20d931[_0x8350c0(0x423)]){case _0x20f032[_0x8350c0(0x181)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x551ba1=_0x20d931['permissionRejEvent'])==null?void 0x0:_0x551ba1['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x227)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x5d6f02=_0x20d931[_0x8350c0(0x388)])==null?void 0x0:_0x5d6f02['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x419)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x48c146=_0x20d931['newCsEvent'])==null?void 0x0:_0x48c146['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x130)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x1f0155=_0x20d931[_0x8350c0(0x277)])==null?void 0x0:_0x1f0155['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032['CHANGESET_SHOULD_RETRY']:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x399ecc=_0x20d931[_0x8350c0(0x191)])==null?void 0x0:_0x399ecc['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x1cf)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931['updateCursorEvent']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032['USERS_ENTER']:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2d6)]},'cmd':_0x1eb8ba['cmd']};case _0x20f032[_0x8350c0(0x3d3)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x3ed)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x18b)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x312)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x3a4)]:case _0x20f032[_0x8350c0(0x428)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931['liveShareOperation']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x30d)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x312)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x35b)]:return{..._0x1eb8ba,'data':_0x20d931,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x376)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2cd)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x348)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2cf)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x2ce)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x38e)]},'cmd':_0x1eb8ba['cmd']};case _0x20f032[_0x8350c0(0x219)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x1fd)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};default:return _0x1eb8ba;}}default:return _0x1eb8ba;}}function Lr(_0x43a90f){var _0x9b4353=_0x228894;switch(_0x43a90f[_0x9b4353(0x2c8)]){case F[_0x9b4353(0x333)]:case F[_0x9b4353(0x33e)]:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)]});case F[_0x9b4353(0x2c9)]:{let _0x318ca6;switch(_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x423)]){case _0x20f032['UPDATE_CURSOR']:{_0x318ca6={'eventID':_0x20f032['UPDATE_CURSOR'],'updateCursorEvent':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032['USERS_LEAVE']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x3d3)],'leaveEvent':_0x43a90f['data']['data']};break;}case _0x20f032[_0x9b4353(0x400)]:{_0x318ca6={'eventID':_0x20f032['USERS_ENTER'],'joinEvent':_0x43a90f['data']['data']};break;}case _0x20f032['LIVESHARE_NEW_HOST']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x18b)],'liveShareNewHost':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032[_0x9b4353(0x428)]:{_0x318ca6={'eventID':_0x20f032['LIVESHARE_OPERATION'],'liveShareOperation':_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x41f)]};break;}case _0x20f032[_0x9b4353(0x30d)]:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x30d)],'liveShareTerminate':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032['LIVESHARE_REQUEST_HOST']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x409)],'liveShareRequestHost':_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x41f)]};break;}case _0x20f032[_0x9b4353(0x3a4)]:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x3a4)]};break;}default:_0x318ca6={'eventID':_0x43a90f[_0x9b4353(0x41f)]['eventID']};}return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)],'collaMsg':_0x318ca6});}case F['JOIN']:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f['cmd'],'routeKey':_0x43a90f['routeKey'],'joinReq':_0x43a90f['data']});case F[_0x9b4353(0x430)]:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)],'leaveReq':_0x43a90f[_0x9b4353(0x41f)]});default:throw new Error(_0x9b4353(0x21d));}}var Mr=Object[_0x228894(0x20c)],kr=(_0x24c59f,_0x3dfc74,_0x12798a,_0x3de3d7)=>{var _0x4e3ec2=_0x228894;for(var _0x3bcc3f=_0x3de3d7>0x1?void 0x0:_0x3de3d7?Mr(_0x3dfc74,_0x12798a):_0x3dfc74,_0x42f1d5=_0x24c59f[_0x4e3ec2(0x1d8)]-0x1,_0x3e958b;_0x42f1d5>=0x0;_0x42f1d5--)(_0x3e958b=_0x24c59f[_0x42f1d5])&&(_0x3bcc3f=_0x3e958b(_0x3bcc3f)||_0x3bcc3f);return _0x3bcc3f;},we=(_0x4a9df3,_0x3553fc)=>(_0x201fb7,_0x5650e5)=>_0x3553fc(_0x201fb7,_0x5650e5,_0x4a9df3);const Ii=_0x3235fa(_0x228894(0x1db));function $r(_0x86b81e,_0x10d0d0,_0x507139){var _0x169f8a=_0x228894;return _0x86b81e+'/'+_0x10d0d0+_0x169f8a(0x136)+_0x507139+_0x169f8a(0x170);}let Gt=class extends _0x5c5031{constructor(_0x1c309d,_0x9ff161,_0x58f849,_0x2f7be4,_0x461225){var _0x79ab82=_0x228894;super(),this[_0x79ab82(0x165)]=_0x1c309d,this['_httpService']=_0x9ff161,this['_configService']=_0x58f849,this[_0x79ab82(0x144)]=_0x2f7be4,this[_0x79ab82(0x3cf)]=_0x461225;}[_0x228894(0x131)](_0x1374b0){var _0x159c7e=_0x228894;const _0x38a5b8=this[_0x159c7e(0x165)][_0x159c7e(0x42d)](_0x261fa4);if(!_0x38a5b8)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4f921c=_0x38a5b8[_0x159c7e(0x310)](_0x1374b0);if(!_0x4f921c)throw new Error(_0x159c7e(0x198));const _0x23027f=new _0x44cbce(),_0x2745dd=new _0xe00b19();_0x23027f[_0x159c7e(0x22c)](_0x4f921c[_0x159c7e(0x30e)][_0x159c7e(0x24e)](_0x252970=>_0x2745dd[_0x159c7e(0x167)](_0x252970))),_0x23027f[_0x159c7e(0x22c)](_0x483b1d(()=>_0x2745dd['complete']()));const _0x4e78d0=new _0xe00b19();_0x23027f['add'](_0x4f921c[_0x159c7e(0x2a2)][_0x159c7e(0x24e)](_0x5951b1=>_0x4e78d0['next'](_0x5951b1))),_0x23027f[_0x159c7e(0x22c)](_0x483b1d(()=>_0x4e78d0['complete']()));const _0x242e34=new _0xe00b19();_0x23027f['add'](_0x4f921c[_0x159c7e(0x15b)][_0x159c7e(0x24e)](_0x23b272=>{var _0x1072cf=_0x159c7e;const _0x215d65=xr(_0x23b272);_0x242e34[_0x1072cf(0x167)](_0x215d65);})),_0x23027f['add'](_0x483b1d(()=>_0x242e34[_0x159c7e(0x184)]()));let _0x3cce30;const _0x18066e=()=>{var _0x2f674b=_0x159c7e;_0x4e78d0[_0x2f674b(0x167)](new Event(_0x2f674b(0x30c))),_0x2745dd[_0x2f674b(0x167)](new Event('connection\x20error')),_0x3cce30['close']();};return _0x3cce30={'memberID':'','close$':_0x2745dd[_0x159c7e(0x2ca)](),'error$':_0x4e78d0[_0x159c7e(0x2ca)](),'open$':_0x4f921c[_0x159c7e(0x354)],'message$':_0x242e34[_0x159c7e(0x2ca)](),'send':_0x5ad1f8=>{var _0x387eb0=_0x159c7e;if(_0x5ad1f8[_0x387eb0(0x2c8)]===F['INGEST']){if(_0x5ad1f8[_0x387eb0(0x41f)]['eventID']===_0x20f032[_0x387eb0(0x413)]){this[_0x387eb0(0x25e)](_0x3cce30,_0x5ad1f8[_0x387eb0(0x41f)])[_0x387eb0(0x2c0)](_0x5a5aa4=>{var _0x509caf=_0x387eb0;this[_0x509caf(0x144)][_0x509caf(0x16d)](_0x5a5aa4),_0x18066e();});return;}if(_0x5ad1f8[_0x387eb0(0x41f)]['eventID']===_0x20f032[_0x387eb0(0x30b)]){const _0x18b974=_0x5ad1f8[_0x387eb0(0x41f)];this[_0x387eb0(0x350)](_0x18b974)[_0x387eb0(0x3a0)](_0x1b379f=>{var _0x2d5320=_0x387eb0;_0x242e34['next']({'cmd':F[_0x2d5320(0x15c)],'code':ge['OK'],'routeKey':_0x18b974[_0x2d5320(0x41f)][_0x2d5320(0x215)],'routeType':'','data':{'eventID':_0x20f032[_0x2d5320(0x433)],'data':{'changesets':_0x1b379f}}});})[_0x387eb0(0x2c0)](_0x303ae2=>{var _0x67dce9=_0x387eb0;this[_0x67dce9(0x144)][_0x67dce9(0x16d)](_0x303ae2),_0x18066e();});return;}}_0x4f921c[_0x387eb0(0x2f6)](Lr(_0x5ad1f8));},'close':()=>{var _0x42f17e=_0x159c7e;_0x4f921c[_0x42f17e(0x3e1)](),_0x23027f['dispose']();}},_0x3cce30;}async[_0x228894(0x25e)](_0x32ee40,_0x2763c3){var _0x1663ca=_0x228894,_0x52c80a,_0x3a5704;const {unitType:_0x21bac7,unitID:_0x467d00,changeset:_0x207757}=_0x2763c3[_0x1663ca(0x41f)],_0x56004b={'unitID':_0x467d00,'memberID':_0x32ee40[_0x1663ca(0x35c)],'type':_0x21bac7,'changeset':_0x4bfe76(_0x207757)},_0x2e800a=this[_0x1663ca(0x36d)]['getConfig'](Nr),_0x579cc8=this[_0x1663ca(0x36d)][_0x1663ca(0x429)](q),_0x123e2b=$r((_0x3a5704=(_0x52c80a=_0x579cc8==null?void 0x0:_0x579cc8[_0x1663ca(0x412)])!=null?_0x52c80a:_0x2e800a)!=null?_0x3a5704:Dr,_0x21bac7,_0x467d00);try{await this[_0x1663ca(0x2ef)][_0x1663ca(0x1c8)](_0x123e2b,{'body':_0x56004b});}catch(_0x2d75a8){throw this['_logService'][_0x1663ca(0x16d)](_0x1663ca(0x3d4),_0x1663ca(0x1ec)),_0x2d75a8;}}async[_0x228894(0x350)](_0x3af327){var _0x37ee44=_0x228894;const {unitID:_0x3483e0,from:_0x5bdb38,to:_0x469784,unitType:_0x1fc735}=_0x3af327['data'];return(await this[_0x37ee44(0x3cf)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3483e0,'type':_0x1fc735,'from':_0x5bdb38,'to':_0x469784}))[_0x37ee44(0x40a)];}};Gt=kr([we(0x0,_0x7e1ee1(_0xa32491)),we(0x1,_0x7e1ee1(_0x5daba1)),we(0x2,_0x7ee467),we(0x3,_0x3cc2bd),we(0x4,_0x5d1003)],Gt);const Hr=_0x228894(0x132);function Br(_0x1725f8){var _0x2fbaf7=_0x228894;return JSON['stringify'](_0x1725f8)[_0x2fbaf7(0x1d8)];}class Ti{constructor(){var _0x8021c5=_0x228894;N(this,_0x8021c5(0x12c),new _0xe00b19()),N(this,_0x8021c5(0x2dd),this['_commentUpdate$']['asObservable']());}[_0x228894(0x408)](_0x3bf9bb){var _0x54d75a=_0x228894;this[_0x54d75a(0x12c)]['next'](_0x3bf9bb);}}var jr=Object[_0x228894(0x20c)],Fr=(_0x51127c,_0x85b26a,_0x21a8c7,_0x151dd8)=>{var _0x315a19=_0x228894;for(var _0x2c186a=_0x151dd8>0x1?void 0x0:_0x151dd8?jr(_0x85b26a,_0x21a8c7):_0x85b26a,_0x10dc27=_0x51127c[_0x315a19(0x1d8)]-0x1,_0x3370e5;_0x10dc27>=0x0;_0x10dc27--)(_0x3370e5=_0x51127c[_0x10dc27])&&(_0x2c186a=_0x3370e5(_0x2c186a)||_0x2c186a);return _0x2c186a;},Wt=(_0xf871d,_0x4b9f29)=>(_0x2b7d5c,_0x5def1a)=>_0x4b9f29(_0x2b7d5c,_0x5def1a,_0xf871d);let xe=class extends _0x5c5031{constructor(_0xf750e0,_0x408460){var _0x39b222=_0x228894;super(),N(this,_0x39b222(0x295),new Map()),N(this,_0x39b222(0x168),new _0xe00b19()),(this['_univerInstanceService']=_0xf750e0,this[_0x39b222(0x20f)]=_0x408460,this['disposeWithMe'](_0x5bc9c1(this[_0x39b222(0x41d)]['getTypeOfUnitDisposed$'](_0x6cb10f[_0x39b222(0x24c)])['pipe'](_0x54f33d(_0x1ec354=>_0x1ec354[_0x39b222(0x2aa)]())),this['_univerInstanceService'][_0x39b222(0x2b3)](_0x6cb10f[_0x39b222(0x273)])[_0x39b222(0x3a7)](_0x54f33d(_0x15c504=>_0x15c504[_0x39b222(0x2aa)]())),this[_0x39b222(0x41d)][_0x39b222(0x2b3)](_0x6cb10f[_0x39b222(0x2b1)])[_0x39b222(0x3a7)](_0x54f33d(_0x11b695=>_0x11b695[_0x39b222(0x2aa)]())))[_0x39b222(0x24e)](_0x3ce792=>this[_0x39b222(0x3f0)](_0x3ce792))));}['waitForRoom$'](_0x142f13){var _0x21e947=_0x228894;return this['_roomMembers'][_0x21e947(0x162)](_0x142f13)?_0x5bf531(this[_0x21e947(0x295)][_0x21e947(0x42d)](_0x142f13)):this['_roomCreated$'][_0x21e947(0x3a7)](_0x54f33d(_0x43ae47=>{var _0x3fc0b5=_0x21e947;if(_0x43ae47===_0x142f13)return this[_0x3fc0b5(0x295)][_0x3fc0b5(0x42d)](_0x43ae47);}));}[_0x228894(0x411)](_0x56634d){var _0x5f235e=_0x228894;this[_0x5f235e(0x20f)][_0x5f235e(0x411)](_0x56634d);}[_0x228894(0x32f)](){var _0x51f5ce=_0x228894;return this['_userManagerService'][_0x51f5ce(0x32f)]();}[_0x228894(0x250)](_0x9d9ed7,_0x4b8000){var _0x514e73=_0x228894;let _0x3c3edc=this[_0x514e73(0x295)][_0x514e73(0x42d)](_0x9d9ed7);_0x3c3edc||(_0x3c3edc=new Vr(),this[_0x514e73(0x295)]['set'](_0x9d9ed7,_0x3c3edc),this['_roomCreated$'][_0x514e73(0x167)](_0x9d9ed7)),_0x3c3edc[_0x514e73(0x250)](_0x4b8000);}['removeMember'](_0x49ec58,_0x5c085d){var _0xd30201=_0x228894;const _0x3776f3=this[_0xd30201(0x295)][_0xd30201(0x42d)](_0x49ec58);_0x3776f3&&_0x3776f3[_0xd30201(0x3c4)](_0x5c085d);}['getRoom'](_0x56de78){var _0x37cdcd=_0x228894;return this[_0x37cdcd(0x295)][_0x37cdcd(0x42d)](_0x56de78);}['getMember'](_0x4575a3,_0xcb52b6){var _0x356f57=_0x228894;const _0x496387=this[_0x356f57(0x295)][_0x356f57(0x42d)](_0x4575a3);if(_0x496387)return _0x496387[_0x356f57(0x3fc)](_0xcb52b6);}[_0x228894(0x3f0)](_0x2ea2d0){var _0x2159a0=_0x228894;const _0x473691=this[_0x2159a0(0x295)]['get'](_0x2ea2d0);_0x473691&&(_0x473691['dispose'](),this[_0x2159a0(0x295)][_0x2159a0(0x329)](_0x2ea2d0));}[_0x228894(0x23b)](){var _0x2baa6c=_0x228894;this[_0x2baa6c(0x295)][_0x2baa6c(0x3b6)](_0x1b1946=>_0x1b1946[_0x2baa6c(0x23b)]()),this[_0x2baa6c(0x295)][_0x2baa6c(0x2f0)](),this[_0x2baa6c(0x168)][_0x2baa6c(0x184)]();}};xe=Fr([Wt(0x0,_0xffe073),Wt(0x1,_0x7e1ee1(_0x293594))],xe);class Vr extends _0x5c5031{constructor(){var _0x5f08f1=_0x228894;super(...arguments),N(this,_0x5f08f1(0x1e7),new Map()),N(this,'_members$',new _0x35002d(this[_0x5f08f1(0x1e7)])),N(this,_0x5f08f1(0x417),this['_members$'][_0x5f08f1(0x2ca)]());}['dispose'](){var _0x42bfe8=_0x228894;this[_0x42bfe8(0x1e7)][_0x42bfe8(0x2f0)]();}['updateMember'](_0x4bdc7b){var _0x246cbd=_0x228894;this[_0x246cbd(0x1e7)]['set'](_0x4bdc7b[_0x246cbd(0x35c)],_0x4bdc7b),this[_0x246cbd(0x18f)]();}[_0x228894(0x3c4)](_0x311cdf){this['_members']['delete'](_0x311cdf);}[_0x228894(0x3fc)](_0x13452b){var _0x1790c8=_0x228894;return this[_0x1790c8(0x1e7)]['get'](_0x13452b);}[_0x228894(0x2f5)](){var _0x4dc027=_0x228894;return Array[_0x4dc027(0x1ed)](this['_members'][_0x4dc027(0x257)]());}[_0x228894(0x18f)](){var _0x52d76f=_0x228894;this[_0x52d76f(0x3ae)]['next'](this['_members']);}}var Gr=Object[_0x228894(0x20c)],Wr=(_0x5c54fb,_0x532be7,_0x1b3edf,_0x287133)=>{for(var _0x1c24a7=_0x287133>0x1?void 0x0:_0x287133?Gr(_0x532be7,_0x1b3edf):_0x532be7,_0x16bcbd=_0x5c54fb['length']-0x1,_0x189621;_0x16bcbd>=0x0;_0x16bcbd--)(_0x189621=_0x5c54fb[_0x16bcbd])&&(_0x1c24a7=_0x189621(_0x1c24a7)||_0x1c24a7);return _0x1c24a7;},me=(_0x509c8d,_0x204bdc)=>(_0x37ce6f,_0x5a53ac)=>_0x204bdc(_0x37ce6f,_0x5a53ac,_0x509c8d),Ee=(_0x4bd568=>(_0x4bd568[_0x4bd568[_0x228894(0x38c)]=0x0]=_0x228894(0x38c),_0x4bd568[_0x4bd568['JOINING']=0x1]=_0x228894(0x231),_0x4bd568[_0x4bd568['OFFLINE']=0x2]=_0x228894(0x262),_0x4bd568[_0x4bd568[_0x228894(0x32d)]=0x3]=_0x228894(0x32d),_0x4bd568))(Ee||{});const Kt={[ge[_0x228894(0x2ff)]]:_0x228894(0x2b0),[ge['JOIN_ROOM_FULL']]:_0x228894(0x3a1),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x228894(0x1ac)]]:_0x228894(0x1a8),[ge[_0x228894(0x32b)]]:_0x228894(0x1c7)};let Et=class extends _0x4d64f7{constructor(_0x4a3e8e,_0x428ff4,_0x135d1e,_0x21cd3c,_0x243b0b,_0x21017a,_0x508378,_0xbfcc04,_0x394435){var _0x51df8a=_0x228894;super(),N(this,'_sessionStatus$',new _0x35002d(0x0)),N(this,_0x51df8a(0x3f2),this['_sessionStatus$'][_0x51df8a(0x2ca)]()),N(this,_0x51df8a(0x2b8),new _0xe00b19()),N(this,_0x51df8a(0x25f),this[_0x51df8a(0x2b8)]['asObservable']()),N(this,_0x51df8a(0x260)),N(this,_0x51df8a(0x29b)),N(this,_0x51df8a(0x418)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x51df8a(0x1f0),null),(this[_0x51df8a(0x334)]=_0x4a3e8e,this[_0x51df8a(0x144)]=_0x135d1e,this[_0x51df8a(0x36d)]=_0x21cd3c,this['_localeService']=_0x243b0b,this[_0x51df8a(0x2bb)]=_0x21017a,this[_0x51df8a(0x25b)]=_0x508378,this['_collaborationUIEventService']=_0xbfcc04,this[_0x51df8a(0x2e4)]=_0x394435,this[_0x51df8a(0x35d)]=!!this[_0x51df8a(0x2e4)],_0x428ff4[_0x51df8a(0x3a7)](_0x3c9bb5(this['dispose$']))[_0x51df8a(0x24e)](_0x41f194=>{var _0x499e34=_0x51df8a,_0x1954ac;typeof _0x41f194>'u'||(this[_0x499e34(0x260)]=_0x41f194,_0x41f194?(this['_joinRoom'](_0x41f194),this[_0x499e34(0x29b)]=_0x41f194[_0x499e34(0x15b)][_0x499e34(0x24e)](_0x2f4326=>{var _0x3b0210=_0x499e34;_0x2f4326[_0x3b0210(0x272)]===this[_0x3b0210(0x334)]&&this[_0x3b0210(0x40f)](_0x2f4326);})):(this[_0x499e34(0x256)](),this[_0x499e34(0x164)][_0x499e34(0x167)](0x2),(_0x1954ac=this[_0x499e34(0x29b)])==null||_0x1954ac[_0x499e34(0x16b)](),this[_0x499e34(0x29b)]=null));}));}get['sessionStatus'](){var _0x4f2849=_0x228894;return this[_0x4f2849(0x164)][_0x4f2849(0x330)]();}['getMemberID'](){var _0xe3e11b=_0x228894,_0x25b0c0,_0x45bc57;return(_0x45bc57=(_0x25b0c0=this[_0xe3e11b(0x260)])==null?void 0x0:_0x25b0c0[_0xe3e11b(0x35c)])!=null?_0x45bc57:null;}['dispose'](){var _0x3ea8dc=_0x228894;super[_0x3ea8dc(0x23b)](),this[_0x3ea8dc(0x174)][_0x3ea8dc(0x167)](),this['dispose$'][_0x3ea8dc(0x184)]();}[_0x228894(0x3e1)](){var _0x3d5e53=_0x228894,_0x549366,_0x46a3c8;this[_0x3d5e53(0x256)](),(_0x549366=this[_0x3d5e53(0x260)])==null||_0x549366[_0x3d5e53(0x2f6)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x3d5e53(0x334)]}}),(_0x46a3c8=this['_socket'])==null||_0x46a3c8[_0x3d5e53(0x3e1)](),this[_0x3d5e53(0x2b8)][_0x3d5e53(0x184)](),this[_0x3d5e53(0x164)][_0x3d5e53(0x184)](),this[_0x3d5e53(0x23b)]();}[_0x228894(0x40f)](_0x1dea82){var _0x14d7df=_0x228894;_0x1dea82['cmd']===F[_0x14d7df(0x202)]?this['_onJoinRoomEvent'](_0x1dea82):_0x1dea82[_0x14d7df(0x2c8)]===F[_0x14d7df(0x15c)]&&this[_0x14d7df(0x14a)](_0x1dea82);}[_0x228894(0x224)](_0x2dcf30){var _0x25df64=_0x228894;this[_0x25df64(0x164)][_0x25df64(0x167)](0x1),_0x2dcf30[_0x25df64(0x2f6)]({'cmd':F[_0x25df64(0x202)],'routeKey':this[_0x25df64(0x334)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x228894(0x35f)](_0x43c67f){var _0x3e9cf9=_0x228894,_0x264727;if(_0x43c67f['code']in Kt){this[_0x3e9cf9(0x1eb)][_0x3e9cf9(0x241)]({'id':se[_0x3e9cf9(0x303)],'data':Kt[_0x43c67f[_0x3e9cf9(0x3e5)]]}),this[_0x3e9cf9(0x164)][_0x3e9cf9(0x167)](0x2);return;}this['_sessionStatus$'][_0x3e9cf9(0x167)](0x3);const _0x12b3e7=(_0x264727=_0x43c67f[_0x3e9cf9(0x41f)][_0x3e9cf9(0x3ad)][this[_0x3e9cf9(0x334)]])==null?void 0x0:_0x264727[_0x3e9cf9(0x1a5)];_0x12b3e7&&_0x12b3e7['forEach'](_0xedd241=>this[_0x3e9cf9(0x2bb)][_0x3e9cf9(0x250)](this[_0x3e9cf9(0x334)],_0xedd241));}[_0x228894(0x14a)](_0x36c349){var _0x20cba5=_0x228894;try{const _0x484cd5=_0x36c349[_0x20cba5(0x41f)];switch(_0x484cd5[_0x20cba5(0x423)]){case _0x20f032[_0x20cba5(0x400)]:this[_0x20cba5(0x1d3)](_0x484cd5),this[_0x20cba5(0x2b8)][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['USERS_LEAVE']:this[_0x20cba5(0x248)](_0x484cd5),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['CHANGESET_ACK']:case _0x20f032[_0x20cba5(0x19b)]:this[_0x20cba5(0x274)](),this[_0x20cba5(0x425)](),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032[_0x20cba5(0x35b)]:this['_logService']['error'](_0x20cba5(0x3ec)+JSON[_0x20cba5(0x26d)](_0x484cd5)),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['COMMENT_UPDATE']:this[_0x20cba5(0x25b)][_0x20cba5(0x408)](_0x484cd5[_0x20cba5(0x41f)]),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;default:this[_0x20cba5(0x2b8)]['next'](_0x484cd5);}}catch(_0xf9f9fe){this['_logService']['error'](_0xf9f9fe,_0x36c349);}}['_onUserJoin'](_0x133e7e){var _0x35ab27=_0x228894;this[_0x35ab27(0x2bb)][_0x35ab27(0x250)](this[_0x35ab27(0x334)],_0x133e7e[_0x35ab27(0x41f)]);}[_0x228894(0x248)](_0x38bd12){var _0x175e64=_0x228894;this[_0x175e64(0x2bb)][_0x175e64(0x3c4)](this[_0x175e64(0x334)],_0x38bd12[_0x175e64(0x41f)][_0x175e64(0x35c)]);}async[_0x228894(0x2f6)](_0x38fa59,_0x8a2dc1){var _0x51a13c=_0x228894;if(this['sessionStatus']!==0x3||!this[_0x51a13c(0x260)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x38fa59['eventID']===_0x20f032[_0x51a13c(0x413)]&&(this[_0x51a13c(0x2a7)](),this[_0x51a13c(0x2d1)](_0x38fa59)),this['_socket'][_0x51a13c(0x2f6)]({'cmd':F[_0x51a13c(0x2c9)],'routeKey':_0x8a2dc1,'routeType':'','data':_0x38fa59});}catch(_0x101ea6){this['_logService'][_0x51a13c(0x16d)](_0x101ea6);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1f1069;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1f6fb1=_0x326f;this[_0x1f6fb1(0x418)]=null,this[_0x1f6fb1(0x1eb)]['emitEvent']({'id':se[_0x1f6fb1(0x261)]});},(_0x1f1069=this['_configService']['getConfig'](mi))!=null?_0x1f1069:gi);}['_clearCollaborationTimeoutTimer'](){var _0x21702c=_0x228894;this[_0x21702c(0x418)]&&(clearTimeout(this[_0x21702c(0x418)]),this[_0x21702c(0x418)]=null);}[_0x228894(0x2d1)](_0x530841){var _0x538dab=_0x228894;if(!this[_0x538dab(0x35d)])return;const {data:_0x310a35}=_0x530841,{unitID:_0x18ff6a,changeset:_0x3e9ae8}=_0x310a35,{mutations:_0x1c5be4,type:_0x15eb15}=_0x3e9ae8;this['_telemetryInfo']={'unitId':_0x18ff6a,'type':_0x15eb15,'startTime':performance[_0x538dab(0x435)](),'stopTime':0x0,'duration':0x0,'size':Br(_0x1c5be4)};}[_0x228894(0x274)](){var _0x532091=_0x228894;if(this[_0x532091(0x35d)]){if(!this[_0x532091(0x1f0)]){this['_logService'][_0x532091(0x16d)](_0x532091(0x3d4),_0x532091(0x406));return;}this[_0x532091(0x1f0)][_0x532091(0x1be)]=performance[_0x532091(0x435)](),this[_0x532091(0x1f0)][_0x532091(0x427)]=this[_0x532091(0x1f0)][_0x532091(0x1be)]-this[_0x532091(0x1f0)][_0x532091(0x212)],this[_0x532091(0x2e4)]['capture'](Hr,this[_0x532091(0x1f0)]),this[_0x532091(0x1f0)]=null;}}[_0x228894(0x256)](){var _0x2c3a23=_0x228894;this[_0x2c3a23(0x1f0)]=null;}};Et=Wr([me(0x2,_0x3cc2bd),me(0x3,_0x7ee467),me(0x4,_0x7e1ee1(_0x421b51)),me(0x5,_0x7e1ee1(xe)),me(0x6,_0x7e1ee1(Ti)),me(0x7,_0x7e1ee1(pe)),me(0x8,_0x1d58e6(_0x1e5b04))],Et);var Kr=Object[_0x228894(0x20c)],Yr=(_0x44a75e,_0x28527d,_0x1bdd3e,_0x294a76)=>{var _0x20b64a=_0x228894;for(var _0x275873=_0x294a76>0x1?void 0x0:_0x294a76?Kr(_0x28527d,_0x1bdd3e):_0x28527d,_0x4e9a86=_0x44a75e[_0x20b64a(0x1d8)]-0x1,_0x217456;_0x4e9a86>=0x0;_0x4e9a86--)(_0x217456=_0x44a75e[_0x4e9a86])&&(_0x275873=_0x217456(_0x275873)||_0x275873);return _0x275873;},be=(_0x707775,_0x62c9ad)=>(_0x3888f1,_0x112f7f)=>_0x62c9ad(_0x3888f1,_0x112f7f,_0x707775);let Le=class extends _0x5c5031{constructor(_0x5ddb13,_0x5d380e,_0x1a8edc,_0x3cb064,_0x570929,_0x459bcc){var _0x496d1c=_0x228894;super(),N(this,_0x496d1c(0x18d),new _0x35002d(void 0x0)),N(this,_0x496d1c(0x24f),this[_0x496d1c(0x18d)][_0x496d1c(0x2ca)]()),N(this,_0x496d1c(0x1e8),null),N(this,_0x496d1c(0x396),new Map()),N(this,_0x496d1c(0x37f),new _0x35002d(Ee['IDLE'])),N(this,_0x496d1c(0x28c),this[_0x496d1c(0x37f)][_0x496d1c(0x2ca)]()),N(this,'_socketReady',!0x1),N(this,_0x496d1c(0x18c)),N(this,_0x496d1c(0x1fb),0x0),N(this,_0x496d1c(0x31b)),N(this,_0x496d1c(0x2b7)),(this[_0x496d1c(0x165)]=_0x5ddb13,this['_logService']=_0x5d380e,this[_0x496d1c(0x36d)]=_0x1a8edc,this[_0x496d1c(0x20e)]=_0x3cb064,this[_0x496d1c(0x1eb)]=_0x570929,this[_0x496d1c(0x35e)]=_0x459bcc,this[_0x496d1c(0x2de)]());}get[_0x228894(0x260)](){var _0x33a02e=_0x228894;return this['_socket$'][_0x33a02e(0x330)]();}[_0x228894(0x2de)](){var _0x435c91=_0x228894;this[_0x435c91(0x35e)]&&this[_0x435c91(0x22a)](this['_networkConditionService'][_0x435c91(0x3b3)][_0x435c91(0x24e)](_0x5951fd=>{var _0x12ee71=_0x435c91;_0x5951fd&&!this[_0x12ee71(0x260)]&&this[_0x12ee71(0x190)](),_0x5951fd||this[_0x12ee71(0x296)]();}));}[_0x228894(0x23b)](){var _0xd5f1eb=_0x228894;super['dispose'](),this[_0xd5f1eb(0x396)][_0xd5f1eb(0x3b6)](_0x56112d=>_0x56112d[_0xd5f1eb(0x23b)]()),this['_sessions'][_0xd5f1eb(0x2f0)](),this[_0xd5f1eb(0x37f)][_0xd5f1eb(0x184)]();}async['requireSession'](_0x2963b2){var _0x36109b=_0x228894;if(this[_0x36109b(0x396)][_0x36109b(0x162)](_0x2963b2))return this[_0x36109b(0x396)][_0x36109b(0x42d)](_0x2963b2);this[_0x36109b(0x138)]();const _0x3fb6e2=this['_injector'][_0x36109b(0x158)](Et,_0x2963b2,this[_0x36109b(0x18d)][_0x36109b(0x2ca)]());return this['_sessions'][_0x36109b(0x21b)](_0x2963b2,_0x3fb6e2),_0x3fb6e2;}[_0x228894(0x394)](_0x1a332e){var _0x3e9090=_0x228894,_0x12b261;const _0x3fff6c=this[_0x3e9090(0x396)][_0x3e9090(0x42d)](_0x1a332e);_0x3fff6c&&(this[_0x3e9090(0x396)]['delete'](_0x1a332e),_0x3fff6c[_0x3e9090(0x3e1)]()),this[_0x3e9090(0x396)][_0x3e9090(0x156)]||(_0x12b261=this[_0x3e9090(0x260)])==null||_0x12b261[_0x3e9090(0x3e1)]();}[_0x228894(0x190)](){var _0xe594da=_0x228894;this['_retryCount']=0x0,this[_0xe594da(0x18c)]!=null&&(clearTimeout(this[_0xe594da(0x18c)]),this[_0xe594da(0x18c)]=null),this[_0xe594da(0x254)]();}async['_createSocket'](){var _0x97c45d=_0x228894,_0x242426,_0x1a9f91;const _0x313892=this[_0x97c45d(0x36d)][_0x97c45d(0x429)](Ir),_0x14498c=this[_0x97c45d(0x36d)][_0x97c45d(0x429)](q),_0x3dc4ba=(_0x1a9f91=(_0x242426=_0x14498c==null?void 0x0:_0x14498c[_0x97c45d(0x1ab)])!=null?_0x242426:_0x313892)!=null?_0x1a9f91:Tr,_0x382870=await this[_0x97c45d(0x20e)][_0x97c45d(0x310)](_0x3dc4ba);return this[_0x97c45d(0x1e8)]=_0x382870,_0x382870;}async[_0x228894(0x138)](){var _0x547007=_0x228894,_0x491787,_0x468f19;try{const _0x4b326=(_0x468f19=(_0x491787=this['_socket'])!=null?_0x491787:this['_candidateSocket'])!=null?_0x468f19:await this['_createSocket']();if(_0x4b326){const _0x59370c=_0x4b326[_0x547007(0x2f6)];_0x4b326[_0x547007(0x2f6)]=_0x36e0a6=>(this[_0x547007(0x1fe)](),_0x59370c[_0x547007(0x1d1)](_0x4b326,[_0x36e0a6])),_0x4b326[_0x547007(0x15b)][_0x547007(0x24e)](_0x2d728a=>this['_onMessage'](_0x4b326,_0x2d728a)),_0x4b326['error$'][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](_0x535a03=>this[_0x547007(0x144)][_0x547007(0x16d)]('[CollaborationSessionService]:\x20socket\x20error',_0x535a03)),_0x4b326[_0x547007(0x354)][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](()=>{var _0x5f4659=_0x547007;this[_0x5f4659(0x143)](_0x4b326);}),_0x4b326[_0x547007(0x30e)][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](_0x1cabb5=>{var _0x4dc885=_0x547007;this[_0x4dc885(0x144)]['debug'](_0x4dc885(0x353),_0x4dc885(0x3cb),_0x1cabb5),this[_0x4dc885(0x175)]();});}}catch(_0x517f14){this['_logService'][_0x547007(0x16d)](_0x517f14),this['_onConnectionFailed']();}}[_0x228894(0x143)](_0x83fc46){var _0x52a8db=_0x228894;this[_0x52a8db(0x144)][_0x52a8db(0x326)](_0x52a8db(0x353),_0x52a8db(0x278)),_0x83fc46[_0x52a8db(0x2f6)]({'cmd':F[_0x52a8db(0x33e)]}),this[_0x52a8db(0x1fe)]();}[_0x228894(0x296)](){var _0x599265=_0x228894;this[_0x599265(0x299)]=!0x1,this[_0x599265(0x1e8)]=null,this[_0x599265(0x37f)][_0x599265(0x167)](Ee['OFFLINE']),this['_socket$']['next'](null),this[_0x599265(0x3fe)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xf2907f=_0x228894,_0x13638a;this['_onOffline'](),this[_0xf2907f(0x1fb)]<((_0x13638a=this[_0xf2907f(0x36d)][_0xf2907f(0x429)](yr))!=null?_0x13638a:Or)?(this[_0xf2907f(0x1eb)]['emitEvent']({'id':se[_0xf2907f(0x21a)]}),this[_0xf2907f(0x254)]()):this[_0xf2907f(0x1eb)][_0xf2907f(0x241)]({'id':se[_0xf2907f(0x1a3)]});}['_tryReconnect'](){var _0x513c73=_0x228894,_0x4e79be;const _0x59d85f=this[_0x513c73(0x1fb)],_0x28d549=this[_0x513c73(0x36d)][_0x513c73(0x429)](q),_0xa7af52=_0x59d85f===0x0?0x0:((_0x4e79be=_0x28d549==null?void 0x0:_0x28d549[_0x513c73(0x20b)])!=null?_0x4e79be:br)*0x2**_0x59d85f;this[_0x513c73(0x18c)]=setTimeout(()=>{var _0x2c38a3=_0x513c73;clearTimeout(this[_0x2c38a3(0x18c)]),this[_0x2c38a3(0x18c)]=null,this['_tryEnsureSocket']();},_0xa7af52),this[_0x513c73(0x1fb)]+=0x1;}[_0x228894(0x3f6)](_0xbffe9f,_0x147ae1){var _0x1d9cbd=_0x228894;const {cmd:_0x2ec494}=_0x147ae1;_0x2ec494===F[_0x1d9cbd(0x33e)]&&!this[_0x1d9cbd(0x299)]&&(_0xbffe9f[_0x1d9cbd(0x35c)]=_0x147ae1[_0x1d9cbd(0x41f)][_0x1d9cbd(0x35c)],this[_0x1d9cbd(0x18d)][_0x1d9cbd(0x167)](_0xbffe9f),this[_0x1d9cbd(0x37f)]['next'](Ee[_0x1d9cbd(0x32d)]),this[_0x1d9cbd(0x299)]=!0x0,this[_0x1d9cbd(0x1e8)]=null),_0x2ec494===F['HEARTBEAT']&&this[_0x1d9cbd(0x3fe)](),this['_rescheduleHeartbeat']();}[_0x228894(0x1fe)](){var _0xcdf134=_0x228894,_0x510dbe;this[_0xcdf134(0x27d)](),this[_0xcdf134(0x31b)]=setTimeout(()=>this[_0xcdf134(0x14e)](),(_0x510dbe=this[_0xcdf134(0x36d)][_0xcdf134(0x429)](Cr))!=null?_0x510dbe:Rr);}['_sendHeartbeat'](){var _0x3f7226=_0x228894;this['_socket']['send']({'cmd':F[_0x3f7226(0x333)]}),this[_0x3f7226(0x2d2)]();}[_0x228894(0x2d2)](){var _0x145c17=_0x228894,_0x1ebbeb;this[_0x145c17(0x2b7)]=setTimeout(()=>this[_0x145c17(0x175)](),(_0x1ebbeb=this[_0x145c17(0x36d)][_0x145c17(0x429)](mi))!=null?_0x1ebbeb:gi);}[_0x228894(0x27d)](){var _0x56997c=_0x228894;this[_0x56997c(0x31b)]!=null&&(clearTimeout(this[_0x56997c(0x31b)]),this['_sendHeartbeatTimer']=null);}[_0x228894(0x3fe)](){var _0x475589=_0x228894;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x475589(0x2b7)]),this['_timeoutTimer']=null);}};Le=Yr([be(0x0,_0x7e1ee1(_0xa32491)),be(0x1,_0x3cc2bd),be(0x2,_0x7ee467),be(0x3,Ii),be(0x4,_0x7e1ee1(pe)),be(0x5,_0x1d58e6(Pr))],Le);const V=[];for(let i=0x0;i<0x100;++i)V[_0x228894(0x403)]((i+0x100)[_0x228894(0x39c)](0x10)[_0x228894(0x171)](0x1));function qr(_0x1c019d,_0x3111ba=0x0){return(V[_0x1c019d[_0x3111ba+0x0]]+V[_0x1c019d[_0x3111ba+0x1]]+V[_0x1c019d[_0x3111ba+0x2]]+V[_0x1c019d[_0x3111ba+0x3]]+'-'+V[_0x1c019d[_0x3111ba+0x4]]+V[_0x1c019d[_0x3111ba+0x5]]+'-'+V[_0x1c019d[_0x3111ba+0x6]]+V[_0x1c019d[_0x3111ba+0x7]]+'-'+V[_0x1c019d[_0x3111ba+0x8]]+V[_0x1c019d[_0x3111ba+0x9]]+'-'+V[_0x1c019d[_0x3111ba+0xa]]+V[_0x1c019d[_0x3111ba+0xb]]+V[_0x1c019d[_0x3111ba+0xc]]+V[_0x1c019d[_0x3111ba+0xd]]+V[_0x1c019d[_0x3111ba+0xe]]+V[_0x1c019d[_0x3111ba+0xf]])['toLowerCase']();}let ut;const zr=new Uint8Array(0x10);function Jr(){var _0x30951b=_0x228894;if(!ut){if(typeof crypto>'u'||!crypto[_0x30951b(0x16f)])throw new Error(_0x30951b(0x40c));ut=crypto[_0x30951b(0x16f)][_0x30951b(0x2d7)](crypto);}return ut(zr);}const Xr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x228894(0x2d7)](crypto),Yt={'randomUUID':Xr};function Zr(_0x2eb60f,_0x57bd9b,_0x4dfcfb){var _0xedf759=_0x228894,_0xd06759,_0x6e720c,_0x410869;if(Yt['randomUUID']&&!_0x2eb60f)return Yt[_0xedf759(0x21c)]();_0x2eb60f=_0x2eb60f||{};const _0x3c5b4a=(_0x410869=(_0x6e720c=_0x2eb60f['random'])!=null?_0x6e720c:(_0xd06759=_0x2eb60f['rng'])==null?void 0x0:_0xd06759[_0xedf759(0x17a)](_0x2eb60f))!=null?_0x410869:Jr();if(_0x3c5b4a['length']<0x10)throw new Error(_0xedf759(0x1ba));return _0x3c5b4a[0x6]=_0x3c5b4a[0x6]&0xf|0x40,_0x3c5b4a[0x8]=_0x3c5b4a[0x8]&0x3f|0x80,qr(_0x3c5b4a);}const J=_0x3235fa('collaboration-client.local-cache-service');function js(_0x17b343){return'unit-cache-'+_0x17b343;}var Qr=Object[_0x228894(0x20c)],en=(_0x4ff592,_0x482492,_0x176a88,_0x4b74ca)=>{for(var _0x17f1fb=_0x4b74ca>0x1?void 0x0:_0x4b74ca?Qr(_0x482492,_0x176a88):_0x482492,_0x28e188=_0x4ff592['length']-0x1,_0x100ff1;_0x28e188>=0x0;_0x28e188--)(_0x100ff1=_0x4ff592[_0x28e188])&&(_0x17f1fb=_0x100ff1(_0x17f1fb)||_0x17f1fb);return _0x17f1fb;},dt=(_0x527db3,_0x124f4d)=>(_0x53c5ec,_0x343c5c)=>_0x124f4d(_0x53c5ec,_0x343c5c,_0x527db3);function tn(_0x4f0c65){var _0x19b39d=_0x228894;const {unitID:_0x4996d9,mutations:_0x41df45}=_0x4f0c65;return{'unitId':_0x4996d9,'subUnitId':_0x41df45[0x0][_0x19b39d(0x2e9)]['subUnitId']};}let it=class{constructor(_0x150953,_0x478f5c,_0x270476){var _0x8aa192=_0x228894;this[_0x8aa192(0x165)]=_0x150953,this[_0x8aa192(0x172)]=_0x478f5c,this[_0x8aa192(0x3ac)]=_0x270476;}[_0x228894(0x374)](_0xbac276){var _0x71aab7=_0x228894,_0x25f35e,_0x5eda65,_0x45fa98,_0x566099;const _0x59f78e=this[_0x71aab7(0x165)][_0x71aab7(0x42d)](_0x4d88bf),{unitId:_0x5434c8,subUnitId:_0x40ff71}=tn(_0xbac276),_0x57c032=_0x59f78e==null?void 0x0:_0x59f78e[_0x71aab7(0x242)](_0x5434c8)[_0x71aab7(0x2f3)](),_0xd0d579=(_0x5eda65=(_0x25f35e=this[_0x71aab7(0x3ac)][_0x71aab7(0x1e0)](_0x5434c8))==null?void 0x0:_0x25f35e['getActiveSheet']())==null?void 0x0:_0x5eda65[_0x71aab7(0x2d5)]();if(_0x57c032['length']===0x0||!_0x5434c8||!_0x40ff71)return;const _0x1b8122=[{'id':_0x36f082['id'],'params':{'unitId':_0x5434c8,'subUnitId':_0xd0d579,'selections':_0x1b891a[_0x71aab7(0x2fb)](_0x57c032)}}],_0x570378=this[_0x71aab7(0x172)][_0x71aab7(0x204)](_0xbac276,_0x1b8122);if(!_0x5d1283(_0x570378))throw _0x570378['error'];const _0x2852c6=(_0x566099=(_0x45fa98=_0x570378[_0x71aab7(0x209)][0x0])==null?void 0x0:_0x45fa98[_0x71aab7(0x2e9)])==null?void 0x0:_0x566099[_0x71aab7(0x1c1)];if(Array[_0x71aab7(0x381)](_0x2852c6)&&_0x2852c6[_0x71aab7(0x1d8)]){if(_0x2852c6[_0x71aab7(0x1d8)]===_0x1b8122[0x0]['params'][_0x71aab7(0x1c1)][_0x71aab7(0x1d8)]&&_0x2852c6[_0x71aab7(0x153)]((_0x3d1cd8,_0x47dafe)=>_0x43bf4e[_0x71aab7(0x24b)](_0x3d1cd8[_0x71aab7(0x1bc)],_0x1b8122[0x0]['params'][_0x71aab7(0x1c1)][_0x47dafe]['range'])))return;this[_0x71aab7(0x165)][_0x71aab7(0x42d)](_0x50ec3e)[_0x71aab7(0x2a8)](_0x36f082['id'],{'unitId':_0x5434c8,'subUnitId':_0xd0d579,'selections':_0x2852c6});}}};it=en([dt(0x0,_0x7e1ee1(_0xa32491)),dt(0x1,_0x3ece4b),dt(0x2,_0xffe073)],it);const ht=_0x3235fa(_0x228894(0x225));var Ci=(_0x5905d4=>(_0x5905d4[_0x5905d4[_0x228894(0x268)]=0x0]=_0x228894(0x268),_0x5905d4[_0x5905d4['OTHER_CLIENTS_EDITING']=0x1]=_0x228894(0x314),_0x5905d4))(Ci||{});const rn=new Set([_0x1f4325['id']]);function qt(_0xb8ec7b,_0x2309a0,_0x12f42e,_0x435c5f,_0xc11e62){var _0x5cb3ac=_0x228894,_0x41f38d,_0x309c4b,_0x452e30,_0x43cece;const _0x4e4b5f=[];for(const _0x556085 of _0xb8ec7b)if(rn[_0x5cb3ac(0x162)](_0x556085['id'])){if(_0x4e4b5f[_0x5cb3ac(0x1d8)]>0x0)break;_0x4e4b5f['push'](_0x556085);break;}else _0x4e4b5f[_0x5cb3ac(0x403)](_0x556085);const _0x4b5885=(_0x309c4b=(_0x41f38d=_0xc11e62[_0x5cb3ac(0x32f)]())==null?void 0x0:_0x41f38d['userID'])!=null?_0x309c4b:_0x5cb3ac(0x29e),_0x1ba722=(_0x43cece=(_0x452e30=_0xc11e62[_0x5cb3ac(0x32f)]())==null?void 0x0:_0x452e30['memberID'])!=null?_0x43cece:_0x5cb3ac(0x29e);return{'changeset':{'unitID':_0x2309a0,'type':_0x34fd4b(_0x12f42e[_0x5cb3ac(0x199)](_0x2309a0)),'baseRev':_0x435c5f['getCurrentRevOfUnit'](_0x2309a0),'revision':0x0,'userID':_0x4b5885,'memberID':_0x1ba722,'mutations':_0x4e4b5f},'pendingMutations':_0xb8ec7b[_0x5cb3ac(0x171)](_0x4e4b5f[_0x5cb3ac(0x1d8)])};}function nn(_0x39aa47,_0x559bfa,_0x1b0db1,_0x56d38c,_0x4d1cd6){var _0x3379ae=_0x228894,_0x1cb86e,_0x103987,_0x22a392,_0x18b3c4;const _0x598ade=[_0x39aa47[_0x3379ae(0x13a)]((_0x21fe22,_0x3c760c)=>{var _0x1bf1c4=_0x3379ae,_0x521745;const {id:_0x5eb6bc}=_0x21fe22,{id:_0x3bea90,type:_0x3b6295}=_0x3c760c,_0x13a1a7=(_0x521745=_0x21fe22['params'])!=null?_0x521745:{'actions':null},_0x2abdce=_0x3c760c[_0x1bf1c4(0x2e9)];if(_0x5eb6bc&&_0x5eb6bc!==_0x3bea90)throw new Error(_0x1bf1c4(0x134)+_0x5eb6bc+_0x1bf1c4(0x347)+_0x3bea90+'.');return{..._0x21fe22,'id':_0x3bea90,'type':_0x3b6295,'params':{'unitId':_0x2abdce['unitId'],'textRanges':_0x2abdce[_0x1bf1c4(0x3fb)],'actions':_0xac861d[_0x1bf1c4(0x22d)](_0x13a1a7[_0x1bf1c4(0x237)],_0x2abdce[_0x1bf1c4(0x237)])}};},{})],_0x39c193=(_0x103987=(_0x1cb86e=_0x4d1cd6[_0x3379ae(0x32f)]())==null?void 0x0:_0x1cb86e['userID'])!=null?_0x103987:'unknown',_0x89c06=(_0x18b3c4=(_0x22a392=_0x4d1cd6[_0x3379ae(0x32f)]())==null?void 0x0:_0x22a392['memberID'])!=null?_0x18b3c4:_0x3379ae(0x29e);return{'changeset':{'unitID':_0x559bfa,'type':_0x34fd4b(_0x1b0db1[_0x3379ae(0x199)](_0x559bfa)),'baseRev':_0x56d38c['getCurrentRevOfUnit'](_0x559bfa),'revision':0x0,'userID':_0x39c193,'memberID':_0x89c06,'mutations':_0x598ade},'pendingMutations':[]};}function Ri(_0x5f33e9,_0x107f35){var _0x3904d0=_0x228894;const _0x3236d3=new _0x342735(0x1);return setTimeout(()=>_0x3236d3[_0x3904d0(0x167)](_0x107f35),_0x5f33e9),_0x3236d3[_0x3904d0(0x2ca)]()['pipe'](_0x314bc2(0x1));}const sn={'id':_0x569059['id'],'type':_0x2ffda7[_0x228894(0x14b)],'params':{}};var on=Object['getOwnPropertyDescriptor'],Te=(_0x218f84,_0x52f294,_0x552efc,_0x271eb6)=>{var _0x5ef1d8=_0x228894;for(var _0x52c402=_0x271eb6>0x1?void 0x0:_0x271eb6?on(_0x52f294,_0x552efc):_0x52f294,_0x1ddd21=_0x218f84[_0x5ef1d8(0x1d8)]-0x1,_0x463d5a;_0x1ddd21>=0x0;_0x1ddd21--)(_0x463d5a=_0x218f84[_0x1ddd21])&&(_0x52c402=_0x463d5a(_0x52c402)||_0x52c402);return _0x52c402;},P=(_0x28e65a,_0x2dd87f)=>(_0x3f1351,_0x4ad1e2)=>_0x2dd87f(_0x3f1351,_0x4ad1e2,_0x28e65a),bi=(_0x4adcb6=>(_0x4adcb6[_0x228894(0x269)]=_0x228894(0x338),_0x4adcb6[_0x228894(0x389)]=_0x228894(0x1af),_0x4adcb6[_0x228894(0x279)]=_0x228894(0x2d0),_0x4adcb6[_0x228894(0x293)]=_0x228894(0x3d7),_0x4adcb6[_0x228894(0x315)]=_0x228894(0x289),_0x4adcb6[_0x228894(0x205)]=_0x228894(0x359),_0x4adcb6[_0x228894(0x3d9)]='conflict',_0x4adcb6[_0x228894(0x262)]=_0x228894(0x377),_0x4adcb6))(bi||{});const yi=0xea60;class Ce{constructor(_0x5788d8,_0x435a40,_0x272701,_0x3896f7,_0x82a183,_0x2d5d3e,_0x44538b,_0x5427c9,_0x5a6506){var _0x522ff5=_0x228894;N(this,_0x522ff5(0x1f3),null),N(this,_0x522ff5(0x233),[]),(this['unitID']=_0x5788d8,this[_0x522ff5(0x2bf)]=_0x435a40,this[_0x522ff5(0x3b9)]=_0x82a183,this[_0x522ff5(0x2ed)]=_0x2d5d3e,this[_0x522ff5(0x387)]=_0x44538b,this[_0x522ff5(0x34e)]=_0x5427c9,this['_localCacheService']=_0x5a6506,this['_awaitingChangeset']=_0x272701,this[_0x522ff5(0x233)]=_0x3896f7);}['_checkMissing'](_0x4d0802){var _0x13045f=_0x228894;const _0x1e0227=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x4d0802[_0x13045f(0x2ba)]>_0x1e0227+0x1?(this[_0x13045f(0x3b9)]['onMissingChangesets']({'from':_0x1e0227,'to':_0x4d0802[_0x13045f(0x2ba)]-0x1}),!0x0):!0x1;}[_0x228894(0x2c7)](_0x1af792){var _0x32607b=_0x228894;this[_0x32607b(0x387)][_0x32607b(0x178)](this[_0x32607b(0x215)],_0x1af792);}[_0x228894(0x37c)](_0xfd500){var _0x179b6a=_0x228894,_0x34b800,_0x2c2d98;(_0x2c2d98=(_0x34b800=this[_0x179b6a(0x3b9)])[_0x179b6a(0x1a7)])==null||_0x2c2d98[_0x179b6a(0x17a)](_0x34b800,_0xfd500);}[_0x228894(0x2a9)](_0xa382d3){var _0x48127f=_0x228894,_0x4e1c7a,_0x1388fe;return(_0x1388fe=(_0x4e1c7a=this[_0x48127f(0x3b9)])[_0x48127f(0x3be)])==null?void 0x0:_0x1388fe[_0x48127f(0x17a)](_0x4e1c7a,_0xa382d3);}['_transformStateCache'](_0x1c1c48){var _0x3cb7cb=_0x228894,_0x3ea089,_0x2de9fd;return(_0x2de9fd=(_0x3ea089=this[_0x3cb7cb(0x3b9)])['onTransformState'])==null?void 0x0:_0x2de9fd[_0x3cb7cb(0x17a)](_0x3ea089,_0x1c1c48);}[_0x228894(0x33a)](_0x3db103){var _0x3766b5=_0x228894,_0x1d7a0f,_0x40edf0,_0x58895b;return(_0x58895b=(_0x40edf0=(_0x1d7a0f=this['_handler'])[_0x3766b5(0x25a)])==null?void 0x0:_0x40edf0[_0x3766b5(0x17a)](_0x1d7a0f,_0x3db103))!=null?_0x58895b:_0x3db103;}[_0x228894(0x3e7)](_0x2652ba){var _0x5435f7=_0x228894,_0x3fabf3,_0x30f73d,_0x12f388;return(_0x12f388=(_0x30f73d=(_0x3fabf3=this['_handler'])[_0x5435f7(0x375)])==null?void 0x0:_0x30f73d[_0x5435f7(0x17a)](_0x3fabf3,_0x2652ba))!=null?_0x12f388:_0x2652ba;}[_0x228894(0x3e3)](_0x4e0d14){var _0xc457b2=_0x228894,_0x1314ad,_0x32eb11;if(this[_0xc457b2(0x2bf)]===Q['UNIVER_DOC']){const {unitID:_0x448ca6,mutations:_0xc5e924,memberID:_0x5c55eb}=_0x4e0d14,_0x4b0547=_0xc5e924[0x0]['params'][_0xc457b2(0x3fb)];Array[_0xc457b2(0x381)](_0x4b0547)&&_0x4b0547['length']>0x0&&((_0x32eb11=(_0x1314ad=this['_handler'])[_0xc457b2(0x26b)])==null||_0x32eb11[_0xc457b2(0x17a)](_0x1314ad,{'unitID':_0x448ca6,'memberID':_0x5c55eb,'textRanges':_0x4b0547}));}}['_updateLocalCache'](){var _0x25e954=_0x228894,_0x5eeebe;(_0x5eeebe=this[_0x25e954(0x301)])==null||_0x5eeebe[_0x25e954(0x291)](this[_0x25e954(0x215)],this[_0x25e954(0x2bf)],this[_0x25e954(0x1f3)],this[_0x25e954(0x233)]);}['_getCurrentRevision'](){var _0x4c04af=_0x228894;return this[_0x4c04af(0x34e)][_0x4c04af(0x1d2)](this[_0x4c04af(0x215)]);}[_0x228894(0x1cc)](){var _0x3c2dcd=_0x228894;this['_revisionService'][_0x3c2dcd(0x39a)](this[_0x3c2dcd(0x215)]);}[_0x228894(0x1e2)](_0x4075bc){var _0x55adcd=_0x228894,_0x139934;let _0x1f08a1=this[_0x55adcd(0x33a)](_0x4075bc);_0x1f08a1=this[_0x55adcd(0x3e7)](_0x1f08a1);const _0x12e71d=_0x531c58(_0x1f08a1[_0x55adcd(0x3f7)],this[_0x55adcd(0x2ed)],{'fromCollab':!0x0});if(!_0x12e71d[_0x55adcd(0x169)])throw _0x12e71d[_0x55adcd(0x16d)]instanceof Error?_0x12e71d['error']:new Error((_0x139934=_0x12e71d[_0x55adcd(0x16d)])!=null?_0x139934:'[CollaborationState]:\x20apply\x20error!');this[_0x55adcd(0x2a9)](_0x1f08a1),this['_transformStateCache'](_0x1f08a1),this[_0x55adcd(0x2c7)](_0x4075bc),this[_0x55adcd(0x37c)](_0x1f08a1),this[_0x55adcd(0x3e3)](_0x1f08a1),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x428b05,_0x5e16d3,_0x39b512,_0x27b953,_0x5c0ad0,_0x56fc51,_0x411f9c,_0x2f06aa,_0x5d4c6c,_0x3110f4){var _0x5246ca=_0x228894;super(_0x428b05,_0x5e16d3,null,[],_0x39b512,_0x411f9c,_0x56fc51,_0x27b953,_0x3110f4),N(this,'status',_0x5246ca(0x1af)),(this[_0x5246ca(0x165)]=_0x5c0ad0,this[_0x5246ca(0x144)]=_0x2f06aa,this['_transformService']=_0x5d4c6c,this[_0x5246ca(0x36b)]=_0x3110f4);}[_0x228894(0x367)](_0x57064c){var _0x2c5598=_0x228894;const _0x412870=this['_injector'][_0x2c5598(0x158)](oe,this['unitID'],this[_0x2c5598(0x2bf)],[_0x57064c],this[_0x2c5598(0x3b9)]);return _0x412870[_0x2c5598(0x238)](),_0x412870[_0x2c5598(0x1e5)](),_0x412870;}[_0x228894(0x185)](_0xdb7b8a){var _0x4fa519=_0x228894;if(this['_checkMissing'](_0xdb7b8a))return this[_0x4fa519(0x165)][_0x4fa519(0x158)](ee,this['unitID'],this[_0x4fa519(0x2bf)],null,[],null,[_0xdb7b8a],this[_0x4fa519(0x3b9)]);try{const _0x457631=this[_0x4fa519(0x172)][_0x4fa519(0x204)](_0xdb7b8a,[sn]);if(_0x5d1283(_0x457631)){const {c1Prime:_0x426d97}=_0x457631;return this[_0x4fa519(0x1e2)](_0x426d97),this;}throw _0x457631[_0x4fa519(0x16d)];}catch(_0x39b62d){return this[_0x4fa519(0x144)][_0x4fa519(0x16d)](_0x39b62d),this[_0x4fa519(0x2e7)](!0x1);}}[_0x228894(0x2e7)](_0x57b1aa){var _0x31933f=_0x228894;return this[_0x31933f(0x165)][_0x31933f(0x158)](ue,this[_0x31933f(0x215)],this['type'],null,[],this[_0x31933f(0x3b9)],_0x57b1aa);}[_0x228894(0x142)](){var _0x5261a1=_0x228894;throw new Error(_0x5261a1(0x141));}[_0x228894(0x3ce)](){var _0x51ca76=_0x228894;throw new Error(_0x51ca76(0x30f));}[_0x228894(0x392)](){return this;}[_0x228894(0x253)](){var _0xd9ef07=_0x228894;return this[_0xd9ef07(0x165)]['createInstance'](de,this[_0xd9ef07(0x215)],this[_0xd9ef07(0x2bf)],null,[],this[_0xd9ef07(0x3b9)]);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){var _0x374867=_0x228894;throw new Error(_0x374867(0x16c));}[_0x228894(0x32a)](){var _0xecce87=_0x228894;const _0x52ede5=this[_0xecce87(0x34e)][_0xecce87(0x1d2)](this[_0xecce87(0x215)]);return this['_handler'][_0xecce87(0x3ab)]({'from':_0x52ede5,'to':0x0}),this['_injector']['createInstance'](ee,this[_0xecce87(0x215)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x7e1ee1(_0x34da5f)),P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x15c881),P(0x6,_0x50ec3e),P(0x7,_0x3cc2bd),P(0x8,_0x3ece4b),P(0x9,_0x1d58e6(J))],Ne);let oe=class extends Ce{constructor(_0x11d3d5,_0x3ec559,_0x21a38f,_0x43c8a6,_0x4154b6,_0x542f7b,_0x4d6a95,_0x23d4a9,_0x5aeff1,_0x2c3e6e,_0x32cc83,_0x1faff1,_0x1336d2,_0x410b50){var _0x502119=_0x228894;super(_0x11d3d5,_0x3ec559,null,_0x21a38f,_0x43c8a6,_0x5aeff1,_0x1336d2,_0x542f7b,_0x410b50),N(this,_0x502119(0x159),_0x502119(0x2d0)),N(this,_0x502119(0x245),null),N(this,_0x502119(0x2f8),null),(this[_0x502119(0x165)]=_0x4154b6,this[_0x502119(0x2bb)]=_0x4d6a95,this['_logService']=_0x23d4a9,this[_0x502119(0x36d)]=_0x2c3e6e,this[_0x502119(0x172)]=_0x32cc83,this[_0x502119(0x41d)]=_0x1faff1);}[_0x228894(0x367)](_0x256f5d){var _0xeaabbf=_0x228894;return this[_0xeaabbf(0x233)][_0xeaabbf(0x403)](_0x256f5d),this[_0xeaabbf(0x1e5)](),this;}['onRemoteChangeset'](_0x1d00a0){var _0x4be4a6=_0x228894;if(this[_0x4be4a6(0x1f9)](_0x1d00a0))return this[_0x4be4a6(0x3c5)](),this['_injector']['createInstance'](ee,this[_0x4be4a6(0x215)],this[_0x4be4a6(0x2bf)],null,this[_0x4be4a6(0x233)],null,[_0x1d00a0],this[_0x4be4a6(0x3b9)]);try{const _0x96780a=this['_transformService'][_0x4be4a6(0x204)](_0x1d00a0,this[_0x4be4a6(0x233)]);if(_0x5d1283(_0x96780a)){const {c1Prime:_0x57aa1e,m2Prime:_0x3e7bcc}=_0x96780a;this[_0x4be4a6(0x1e2)](_0x57aa1e);const _0xf11f9b=this['_injector'][_0x4be4a6(0x158)](oe,this[_0x4be4a6(0x215)],this[_0x4be4a6(0x2bf)],_0x3e7bcc,this['_handler']);this[_0x4be4a6(0x3c5)]();const _0x57c611=new Date()['getTime'](),_0x15eb29=this['_scheduleCompleteTimestamp']?Math[_0x4be4a6(0x2d8)](this[_0x4be4a6(0x245)]-_0x57c611,0x0):this[_0x4be4a6(0x383)]();return _0xf11f9b[_0x4be4a6(0x238)](_0x15eb29),_0xf11f9b;}throw _0x96780a[_0x4be4a6(0x16d)];}catch(_0x44e976){return this[_0x4be4a6(0x144)][_0x4be4a6(0x16d)](_0x44e976),this[_0x4be4a6(0x2e7)](!0x1);}}[_0x228894(0x142)](){var _0x3adb07=_0x228894;throw new Error(_0x3adb07(0x195));}[_0x228894(0x3ce)](){var _0xbf9a8a=_0x228894;throw new Error(_0xbf9a8a(0x3ee));}[_0x228894(0x392)](){return this;}['toggleOffline'](){var _0xb8fc55=_0x228894;return this[_0xb8fc55(0x3c5)](),this[_0xb8fc55(0x165)][_0xb8fc55(0x158)](de,this['unitID'],this[_0xb8fc55(0x2bf)],null,this['_pendingMutations'],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x238)](_0x47a5fd){var _0x39b927=_0x228894;const _0x4ae1df=_0x47a5fd!=null?_0x47a5fd:this[_0x39b927(0x383)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x4ae1df,this[_0x39b927(0x2f8)]=setTimeout(()=>{var _0x503758=_0x39b927;this['_clearScheduledTask']();let _0x29d5b8=null;switch(this[_0x503758(0x2bf)]){case Q[_0x503758(0x24c)]:{_0x29d5b8=qt(this[_0x503758(0x233)],this[_0x503758(0x215)],this['_univerInstanceService'],this[_0x503758(0x34e)],this[_0x503758(0x2bb)]);break;}case Q[_0x503758(0x273)]:{this[_0x503758(0x233)][_0x503758(0x153)](_0x428e1e=>_0x428e1e['id']===_0x43f4f3['id'])?_0x29d5b8=nn(this[_0x503758(0x233)],this[_0x503758(0x215)],this['_univerInstanceService'],this[_0x503758(0x34e)],this[_0x503758(0x2bb)]):_0x29d5b8=qt(this[_0x503758(0x233)],this[_0x503758(0x215)],this[_0x503758(0x41d)],this['_revisionService'],this[_0x503758(0x2bb)]);break;}default:throw new Error(_0x503758(0x236)+this[_0x503758(0x2bf)]+_0x503758(0x13d));}const {changeset:_0x4bd676,pendingMutations:_0x4fc259}=_0x29d5b8;this[_0x503758(0x3b9)][_0x503758(0x27b)](_0x4bd676);const _0x2029e5=_0x4fc259[_0x503758(0x1d8)]?this['_injector'][_0x503758(0x158)](ae,this[_0x503758(0x215)],this[_0x503758(0x2bf)],_0x4bd676,_0x4fc259,this[_0x503758(0x3b9)],void 0x0):this[_0x503758(0x165)]['createInstance'](le,this['unitID'],this[_0x503758(0x2bf)],_0x4bd676,this[_0x503758(0x3b9)]);_0x2029e5['_updateLocalCache'](),this['_handler'][_0x503758(0x308)](this,_0x2029e5);},_0x4ae1df);}[_0x228894(0x383)](){var _0x565847=_0x228894,_0x24ac0e;const _0x44973c=this[_0x565847(0x36d)]['getConfig'](q);return(_0x24ac0e=_0x44973c==null?void 0x0:_0x44973c[_0x565847(0x1f2)])!=null?_0x24ac0e:Er;}[_0x228894(0x211)](){var _0x390a26=_0x228894;throw new Error(_0x390a26(0x271));}[_0x228894(0x3c5)](){var _0x18fd40=_0x228894;this[_0x18fd40(0x2f8)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x228894(0x2e7)](_0x26d547){var _0x3711a5=_0x228894;return this[_0x3711a5(0x3c5)](),this['_injector'][_0x3711a5(0x158)](ue,this['unitID'],this[_0x3711a5(0x2bf)],null,this['_pendingMutations'],this[_0x3711a5(0x3b9)],_0x26d547);}};oe=Te([P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x7e1ee1(_0x34da5f)),P(0x6,_0x7e1ee1(xe)),P(0x7,_0x3cc2bd),P(0x8,_0x50ec3e),P(0x9,_0x7ee467),P(0xa,_0x3ece4b),P(0xb,_0xffe073),P(0xc,_0x15c881),P(0xd,_0x1d58e6(J))],oe);let le=class extends Ce{constructor(_0x191aae,_0x4e6a21,_0x3c05aa,_0xaeed69,_0x750124,_0x23d1b4,_0x2c4261,_0xb248dd,_0x3b5311,_0x329b7f,_0x45454d){var _0x54b5fe=_0x228894;super(_0x191aae,_0x4e6a21,_0x3c05aa,[],_0xaeed69,_0x2c4261,_0x329b7f,_0x23d1b4,_0x45454d),N(this,'status',_0x54b5fe(0x3d7)),N(this,_0x54b5fe(0x1a0),0x0),N(this,_0x54b5fe(0x13b)),N(this,'_sender'),(this[_0x54b5fe(0x165)]=_0x750124,this['_logService']=_0xb248dd,this[_0x54b5fe(0x172)]=_0x3b5311);}['appendMutation'](_0x3e9531){var _0x4a5943=_0x228894;this['_clearScheduledTask']();const _0x5b40d3=this['_injector'][_0x4a5943(0x158)](ae,this[_0x4a5943(0x215)],this['type'],this['_awaitingChangeset'],[_0x3e9531],this[_0x4a5943(0x3b9)],this[_0x4a5943(0x13b)]);return _0x5b40d3['_updateLocalCache'](),_0x5b40d3;}[_0x228894(0x185)](_0x40d1b0){var _0x13cded=_0x228894;if(this['_checkMissing'](_0x40d1b0))return this[_0x13cded(0x3c5)](),this[_0x13cded(0x165)][_0x13cded(0x158)](ee,this[_0x13cded(0x215)],this[_0x13cded(0x2bf)],this[_0x13cded(0x1f3)],[],null,[_0x40d1b0],this[_0x13cded(0x3b9)]);try{const _0x49f414=this[_0x13cded(0x172)][_0x13cded(0x404)]([_0x40d1b0],[this[_0x13cded(0x1f3)]],!0x1);if(_0x3a66cd(_0x49f414)){const {c1Prime:_0x33f500,c2Prime:_0x45dd7e}=_0x49f414;this[_0x13cded(0x1e2)](_0x33f500[0x0]),_0x45dd7e[0x0]['baseRev']=this[_0x13cded(0x23d)](),this[_0x13cded(0x3c5)]();const _0x1e709d=this['_injector'][_0x13cded(0x158)](le,this['unitID'],this[_0x13cded(0x2bf)],_0x45dd7e[0x0],this['_handler']);return _0x1e709d['_updateLocalCache'](),_0x1e709d;}return this[_0x13cded(0x2e7)](!0x1);}catch(_0x32d4b2){return this[_0x13cded(0x144)][_0x13cded(0x16d)](_0x32d4b2),this[_0x13cded(0x2e7)](!0x1);}}[_0x228894(0x142)](_0x212d7e){var _0x4ce6fd=_0x228894;this['_clearScheduledTask']();const _0x2bcd2b=this[_0x4ce6fd(0x34e)][_0x4ce6fd(0x1d2)](this[_0x4ce6fd(0x215)]);if(_0x212d7e[_0x4ce6fd(0x2ba)]<_0x2bcd2b-0x1)return this;if(this['_checkMissing'](_0x212d7e))return this[_0x4ce6fd(0x165)][_0x4ce6fd(0x158)](ee,this[_0x4ce6fd(0x215)],this[_0x4ce6fd(0x2bf)],null,[],this['_awaitingChangeset'],[],this[_0x4ce6fd(0x3b9)]);this['_incrementRevisionNumber']();const _0x82e113=this[_0x4ce6fd(0x165)][_0x4ce6fd(0x158)](Ne,this['unitID'],this['type'],this['_handler']);return _0x82e113[_0x4ce6fd(0x1e5)](),_0x82e113;}[_0x228894(0x3ce)](_0x48d3da){var _0x5bd772=_0x228894;return this[_0x5bd772(0x2e7)](!!(_0x48d3da!=null&&_0x48d3da[_0x5bd772(0x19d)]));}[_0x228894(0x392)](_0x306e33){var _0x2f9110=_0x228894;return this[_0x2f9110(0x1a0)]>yi?this[_0x2f9110(0x253)]():(this[_0x2f9110(0x13b)]=Ri(this[_0x2f9110(0x1a0)],{'timeout':this[_0x2f9110(0x1a0)],'reqId':_0x306e33[_0x2f9110(0x331)]}),this['_sender']=this[_0x2f9110(0x13b)]['subscribe'](({reqId:_0x32f525,timeout:_0x2b0293})=>{var _0x442752=_0x2f9110;this[_0x442752(0x1a9)](_0x32f525,_0x2b0293);}),this);}[_0x228894(0x253)](){var _0x108757=_0x228894;return this[_0x108757(0x3c5)](),this[_0x108757(0x165)][_0x108757(0x158)](de,this[_0x108757(0x215)],this['type'],this[_0x108757(0x1f3)],[],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x4575a6){var _0x385474=_0x228894;return this[_0x385474(0x3c5)](),this[_0x385474(0x165)]['createInstance'](ue,this['unitID'],this[_0x385474(0x2bf)],this['_awaitingChangeset'],[],this[_0x385474(0x3b9)],_0x4575a6);}[_0x228894(0x1a9)](_0x298396,_0x5b0cce){var _0x38952f=_0x228894,_0x214b6f;_0x298396===((_0x214b6f=this[_0x38952f(0x1f3)])==null?void 0x0:_0x214b6f[_0x38952f(0x331)])&&(this[_0x38952f(0x211)](),this[_0x38952f(0x1a0)]=_0x5b0cce===0x0?0x3e8:_0x5b0cce*0x2);}[_0x228894(0x3c5)](){var _0xa4dbca=_0x228894,_0x32fd8c;(_0x32fd8c=this[_0xa4dbca(0x2ac)])==null||_0x32fd8c[_0xa4dbca(0x16b)](),this[_0xa4dbca(0x1a0)]=0x0;}};le=Te([P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x7e1ee1(_0x34da5f)),P(0x6,_0x50ec3e),P(0x7,_0x3cc2bd),P(0x8,_0x3ece4b),P(0x9,_0x15c881),P(0xa,_0x1d58e6(J))],le);let ae=class extends Ce{constructor(_0x470da5,_0x4595f,_0x571659,_0x576fa3,_0x1a39bc,_0x597748,_0x228b6d,_0xc0b874,_0x1f8014,_0x250091,_0x3d281a,_0x442fd6,_0x289fb9){var _0x514b52=_0x228894;super(_0x470da5,_0x4595f,_0x571659,_0x576fa3,_0x1a39bc,_0x1f8014,_0x442fd6,_0xc0b874,_0x289fb9),N(this,'status',_0x514b52(0x289)),N(this,_0x514b52(0x1a0),0x0),N(this,_0x514b52(0x13b)),N(this,_0x514b52(0x2ac)),(this['_injector']=_0x228b6d,this['_logService']=_0x250091,this[_0x514b52(0x172)]=_0x3d281a,this['localCacheService']=_0x289fb9,_0x597748&&(this[_0x514b52(0x13b)]=_0x597748,this[_0x514b52(0x2ac)]=this['_resendTimer'][_0x514b52(0x24e)](({reqId:_0x5944d0,timeout:_0x1ec56f})=>{this['_resendWithTimeout'](_0x5944d0,_0x1ec56f);})));}[_0x228894(0x367)](_0x5d1eba){var _0x215481=_0x228894;return this[_0x215481(0x233)][_0x215481(0x403)](_0x5d1eba),this;}[_0x228894(0x185)](_0x47f341){var _0x148eeb=_0x228894;if(this[_0x148eeb(0x1f9)](_0x47f341))return this[_0x148eeb(0x3c5)](),this['_injector'][_0x148eeb(0x158)](ee,this[_0x148eeb(0x215)],this[_0x148eeb(0x2bf)],this[_0x148eeb(0x1f3)],this[_0x148eeb(0x233)],null,[_0x47f341],this[_0x148eeb(0x3b9)]);try{const _0x5f0fea=this[_0x148eeb(0x172)][_0x148eeb(0x404)]([_0x47f341],[this[_0x148eeb(0x1f3)]],!0x1);if(_0x3a66cd(_0x5f0fea)){const {c1Prime:_0x570383,c2Prime:_0x19bb64}=_0x5f0fea,_0x13fb8f=this['_transformService']['transformMutationsWithChangeset'](_0x570383[0x0],this[_0x148eeb(0x233)]);if(_0x5d1283(_0x13fb8f)){const {c1Prime:_0x2c2caf,m2Prime:_0x5e3ce8}=_0x13fb8f;return this[_0x148eeb(0x1e2)](_0x2c2caf),_0x19bb64[0x0][_0x148eeb(0x1bf)]=this[_0x148eeb(0x23d)](),this['_clearScheduledTask'](),this[_0x148eeb(0x165)][_0x148eeb(0x158)](ae,this[_0x148eeb(0x215)],this['type'],_0x19bb64[0x0],_0x5e3ce8,this[_0x148eeb(0x3b9)],void 0x0);}throw _0x13fb8f[_0x148eeb(0x16d)];}throw _0x5f0fea['error'];}catch(_0x1df245){return this['_logService'][_0x148eeb(0x16d)](_0x1df245),this[_0x148eeb(0x2e7)](!0x1);}}[_0x228894(0x142)](_0x3372f4){var _0x29f5f5=_0x228894;if(this[_0x29f5f5(0x3c5)](),this[_0x29f5f5(0x1f9)](_0x3372f4))return this[_0x29f5f5(0x165)][_0x29f5f5(0x158)](ee,this[_0x29f5f5(0x215)],this[_0x29f5f5(0x2bf)],null,this[_0x29f5f5(0x233)],this[_0x29f5f5(0x1f3)],[],this['_handler']);this[_0x29f5f5(0x1cc)]();const _0x237bf9=this[_0x29f5f5(0x165)][_0x29f5f5(0x158)](oe,this[_0x29f5f5(0x215)],this[_0x29f5f5(0x2bf)],this[_0x29f5f5(0x233)],this[_0x29f5f5(0x3b9)]);return _0x237bf9[_0x29f5f5(0x238)](),_0x237bf9[_0x29f5f5(0x1e5)](),_0x237bf9;}[_0x228894(0x3ce)](_0x276f96){var _0x23136f=_0x228894;return this[_0x23136f(0x2e7)](!!(_0x276f96!=null&&_0x276f96[_0x23136f(0x19d)]));}[_0x228894(0x392)](_0x4813a9){var _0x1389fa=_0x228894;return this[_0x1389fa(0x1a0)]>yi?this[_0x1389fa(0x253)]():(this[_0x1389fa(0x13b)]=Ri(this[_0x1389fa(0x1a0)],{'timeout':this[_0x1389fa(0x1a0)],'reqId':_0x4813a9[_0x1389fa(0x331)]}),this['_sender']=this[_0x1389fa(0x13b)][_0x1389fa(0x24e)](({reqId:_0x13439e,timeout:_0x2ec0a7})=>{this['_resendWithTimeout'](_0x13439e,_0x2ec0a7);}),this);}[_0x228894(0x253)](){var _0x2e5068=_0x228894;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x2e5068(0x215)],this[_0x2e5068(0x2bf)],this[_0x2e5068(0x1f3)],this['_pendingMutations'],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){var _0x5276ab=_0x228894;this[_0x5276ab(0x3b9)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x3361ea){var _0x4d57fe=_0x228894;return this[_0x4d57fe(0x3c5)](),this['_injector'][_0x4d57fe(0x158)](ue,this[_0x4d57fe(0x215)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x3361ea);}[_0x228894(0x1a9)](_0x5bc008,_0x318476){var _0x2a4add=_0x228894,_0x4b4ccb;_0x5bc008===((_0x4b4ccb=this[_0x2a4add(0x1f3)])==null?void 0x0:_0x4b4ccb[_0x2a4add(0x331)])&&(this[_0x2a4add(0x211)](),this[_0x2a4add(0x1a0)]=_0x318476===0x0?0x3e8:_0x318476*0x2);}[_0x228894(0x3c5)](){var _0x448da4=_0x228894,_0x46dc99;(_0x46dc99=this[_0x448da4(0x2ac)])==null||_0x46dc99[_0x448da4(0x16b)](),this[_0x448da4(0x1a0)]=0x0;}};ae=Te([P(0x6,_0x7e1ee1(_0xa32491)),P(0x7,_0x7e1ee1(_0x34da5f)),P(0x8,_0x50ec3e),P(0x9,_0x3cc2bd),P(0xa,_0x3ece4b),P(0xb,_0x15c881),P(0xc,_0x1d58e6(J))],ae);let ue=class extends Ce{constructor(_0x5ab9de,_0x41cbcd,_0x3b2fa2,_0x3dd225,_0xf1fe1c,_0x575570=!0x1,_0x3dbbed,_0x5441e9,_0x2b856a,_0x532183,_0x47b778,_0x2e3cc2,_0x110022){var _0x5a822c=_0x228894;super(_0x5ab9de,_0x41cbcd,_0x3b2fa2,_0x3dd225,_0xf1fe1c,_0x5441e9,_0x2b856a,_0x532183,_0x110022),N(this,'status',_0x5a822c(0x1ca)),(this['_isPermissionRej']=_0x575570,this[_0x5a822c(0x3da)]=_0x3dbbed,this[_0x5a822c(0x2fd)]=_0x47b778,this['_collaborationUIEventService']=_0x2e3cc2,this[_0x5a822c(0x36b)]=_0x110022,this[_0x5a822c(0x23c)](),this[_0x5a822c(0x368)](),this[_0x5a822c(0x38f)]());}[_0x228894(0x367)](){return this;}['onRemoteChangeset'](){return this;}[_0x228894(0x142)](){return this;}[_0x228894(0x3ce)](){return this;}[_0x228894(0x392)](){return this;}['toggleOffline'](){return this;}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x228894(0x368)](){var _0x3aa1ec=_0x228894,_0x34e218;(_0x34e218=this['_localCacheService'])==null||_0x34e218[_0x3aa1ec(0x291)](this[_0x3aa1ec(0x215)],this[_0x3aa1ec(0x2bf)],null,[]);}[_0x228894(0x23c)](){var _0x295ab9=_0x228894;this[_0x295ab9(0x276)]?this[_0x295ab9(0x1eb)][_0x295ab9(0x241)]({'id':se[_0x295ab9(0x438)]}):this[_0x295ab9(0x1eb)][_0x295ab9(0x241)]({'id':se[_0x295ab9(0x3d9)]});}[_0x228894(0x38f)](){var _0x2fd949=_0x228894;this[_0x2fd949(0x3da)][_0x2fd949(0x137)](new _0x255943(this[_0x2fd949(0x215)])['id'],!0x1);}};ue=Te([P(0x6,_0x7e1ee1(_0x18d44c)),P(0x7,_0x50ec3e),P(0x8,_0x15c881),P(0x9,_0x7e1ee1(_0x34da5f)),P(0xa,_0x7e1ee1(_0x421b51)),P(0xb,_0x7e1ee1(pe)),P(0xc,_0x1d58e6(J))],ue);let de=class extends Ce{constructor(_0x590816,_0x5838c7,_0x1d5d33,_0x372055,_0x4ae73a,_0x2656b6,_0x16dc09,_0x18d6c4,_0x1b0c5a,_0x37fb4c){var _0x45159f=_0x228894;super(_0x590816,_0x5838c7,_0x1d5d33,_0x372055,_0x4ae73a,_0x18d6c4,_0x1b0c5a,_0x16dc09,_0x37fb4c),N(this,_0x45159f(0x159),_0x45159f(0x377)),this[_0x45159f(0x165)]=_0x2656b6;}[_0x228894(0x367)](_0x4b64d5){var _0x2bfb15=_0x228894;return this[_0x2bfb15(0x233)][_0x2bfb15(0x403)](_0x4b64d5),this[_0x2bfb15(0x1e5)](),this;}['onRemoteChangeset'](_0x1b6866){var _0x37d61a=_0x228894;throw new Error(_0x37d61a(0x220));}[_0x228894(0x142)](){var _0x22df0a=_0x228894;throw new Error(_0x22df0a(0x43a));}[_0x228894(0x3ce)](){var _0x21104d=_0x228894;throw new Error(_0x21104d(0x1c0));}[_0x228894(0x392)](){return this;}[_0x228894(0x253)](){return this;}[_0x228894(0x28a)](){var _0x3ac5b8=_0x228894;const {_injector:_0x16bf78,_pendingMutations:_0x11f7f5,_awaitingChangeset:_0x50afd1,unitID:_0x104422,_handler:_0x4d9d7f,type:_0x5c3089}=this,_0x1cf692=Oi(_0x16bf78,_0x104422,_0x5c3089,_0x50afd1,_0x11f7f5,_0x4d9d7f);return _0x1cf692 instanceof oe?_0x1cf692[_0x3ac5b8(0x238)]():(_0x1cf692 instanceof ae||_0x1cf692 instanceof le)&&_0x1cf692[_0x3ac5b8(0x211)](),_0x1cf692;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x7e1ee1(_0xa32491)),P(0x6,_0x7e1ee1(_0x34da5f)),P(0x7,_0x50ec3e),P(0x8,_0x15c881),P(0x9,_0x1d58e6(J))],de);let ee=class extends Ce{constructor(_0x565a7b,_0x4ffef3,_0x130f42,_0x2a3e17,_0xed8373,_0x3a84cd,_0x496b1a,_0x13dbe9,_0x254ac7,_0x3c3984,_0x5b026f,_0x11af90,_0x1f1798,_0x4d49f5){var _0x5b7a55=_0x228894;super(_0x565a7b,_0x4ffef3,_0x130f42,_0x2a3e17,_0x496b1a,_0x5b026f,_0x11af90,_0x254ac7,_0x4d49f5),N(this,'status',_0x5b7a55(0x359)),(this[_0x5b7a55(0x402)]=_0xed8373,this[_0x5b7a55(0x322)]=_0x3a84cd,this['_injector']=_0x13dbe9,this['_logService']=_0x3c3984,this['_transformService']=_0x1f1798,this[_0x5b7a55(0x36b)]=_0x4d49f5);}[_0x228894(0x41a)](_0x2d157a){var _0x45cc2e=_0x228894;try{const _0x4c46ae=[..._0x2d157a,...this['_queuedRemoteChangesets']],_0x552036=[this[_0x45cc2e(0x1f3)]||this['_acknowledgedAwaitingChangeset']][_0x45cc2e(0x200)](_0x13b290=>!!_0x13b290);let _0x20e455,_0x5cc56d;if(_0x552036[_0x45cc2e(0x1d8)]){const _0x4961af=this[_0x45cc2e(0x172)][_0x45cc2e(0x404)](_0x4c46ae,_0x552036,!0x1);if(!_0x3a66cd(_0x4961af))throw _0x4961af[_0x45cc2e(0x16d)];_0x20e455=_0x4961af['c1Prime'],_0x5cc56d=_0x4961af[_0x45cc2e(0x2a5)];}else _0x20e455=_0x4c46ae,_0x5cc56d=[];let _0x2512fa=this[_0x45cc2e(0x233)];_0x20e455[_0x45cc2e(0x3b6)](_0x1ca804=>{var _0x31cc6f=_0x45cc2e;let _0x4bba1d;if(_0x2512fa[_0x31cc6f(0x1d8)]){const _0x35f09a=this[_0x31cc6f(0x172)][_0x31cc6f(0x204)](_0x1ca804,_0x2512fa);if(!_0x5d1283(_0x35f09a))throw _0x35f09a[_0x31cc6f(0x16d)];_0x4bba1d=_0x35f09a[_0x31cc6f(0x382)],_0x2512fa=_0x35f09a[_0x31cc6f(0x209)];}else _0x4bba1d=_0x1ca804;this[_0x31cc6f(0x1e2)](_0x4bba1d);}),this[_0x45cc2e(0x402)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x5cc56d[_0x45cc2e(0x1d8)]&&(_0x5cc56d[0x0][_0x45cc2e(0x1bf)]=this[_0x45cc2e(0x23d)]());let _0x2b41da;if(this['_awaitingChangeset']&&_0x2512fa[_0x45cc2e(0x1d8)]!==0x0)_0x2b41da=this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](ae,this['unitID'],this['type'],_0x5cc56d[0x0],_0x2512fa,this[_0x45cc2e(0x3b9)],void 0x0);else{if(this[_0x45cc2e(0x1f3)]&&_0x2512fa['length']===0x0)_0x5cc56d[0x0][_0x45cc2e(0x1bf)]=this[_0x45cc2e(0x23d)](),_0x2b41da=this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](le,this[_0x45cc2e(0x215)],this[_0x45cc2e(0x2bf)],_0x5cc56d[0x0],this['_handler']);else{if(_0x2512fa[_0x45cc2e(0x1d8)]!==0x0){const _0x457629=this['_injector'][_0x45cc2e(0x158)](oe,this[_0x45cc2e(0x215)],this[_0x45cc2e(0x2bf)],_0x2512fa,this[_0x45cc2e(0x3b9)]);_0x457629[_0x45cc2e(0x238)](),_0x2b41da=_0x457629;}else _0x2b41da=this[_0x45cc2e(0x165)]['createInstance'](Ne,this['unitID'],this[_0x45cc2e(0x2bf)],this[_0x45cc2e(0x3b9)]);}}return _0x2b41da[_0x45cc2e(0x1e5)](),_0x2b41da;}catch(_0x3c741a){return this['_logService'][_0x45cc2e(0x16d)](_0x45cc2e(0x35a),_0x45cc2e(0x2a0),_0x3c741a),this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](ue,this['unitID'],this[_0x45cc2e(0x2bf)],this[_0x45cc2e(0x1f3)],this[_0x45cc2e(0x233)],this[_0x45cc2e(0x3b9)],!0x1);}}[_0x228894(0x211)](){var _0x12d57c=_0x228894;throw new Error(_0x12d57c(0x3ca));}['appendMutation'](_0xc45525){var _0x5c08bb=_0x228894;return this[_0x5c08bb(0x233)][_0x5c08bb(0x403)](_0xc45525),this;}[_0x228894(0x185)](_0x2c7e1a){var _0xc3999=_0x228894;return this[_0xc3999(0x322)][_0xc3999(0x403)](_0x2c7e1a),this;}[_0x228894(0x142)](_0x44ad92){var _0x3656d5=_0x228894;if(this[_0x3656d5(0x1f3)])return this[_0x3656d5(0x402)]=this['_awaitingChangeset'],this[_0x3656d5(0x1f3)]=null,this;throw new Error(_0x3656d5(0x28b));}[_0x228894(0x3ce)](_0x4f0bd0){var _0x1afd2b=_0x228894;return this[_0x1afd2b(0x2e7)](!!(_0x4f0bd0!=null&&_0x4f0bd0[_0x1afd2b(0x19d)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xe4aa16=_0x228894;return this[_0xe4aa16(0x165)][_0xe4aa16(0x158)](de,this[_0xe4aa16(0x215)],this[_0xe4aa16(0x2bf)],this[_0xe4aa16(0x1f3)],this['_pendingMutations'],this[_0xe4aa16(0x3b9)]);}[_0x228894(0x28a)](){return this;}[_0x228894(0x2e7)](_0x241a55){var _0x46af3a=_0x228894;return this['_injector'][_0x46af3a(0x158)](ue,this[_0x46af3a(0x215)],this['type'],this[_0x46af3a(0x1f3)],this[_0x46af3a(0x233)],this[_0x46af3a(0x3b9)],_0x241a55);}};ee=Te([P(0x7,_0x7e1ee1(_0xa32491)),P(0x8,_0x7e1ee1(_0x34da5f)),P(0x9,_0x3cc2bd),P(0xa,_0x50ec3e),P(0xb,_0x15c881),P(0xc,_0x3ece4b),P(0xd,_0x1d58e6(J))],ee);function Oi(_0x20de23,_0x372bdb,_0x2731d1,_0x51f7ea,_0x17032a,_0x44eb57){var _0x3c5fcb=_0x228894;return _0x51f7ea&&_0x17032a[_0x3c5fcb(0x1d8)]?_0x20de23[_0x3c5fcb(0x158)](ae,_0x372bdb,_0x2731d1,_0x51f7ea,_0x17032a,_0x44eb57,void 0x0):_0x51f7ea?_0x20de23[_0x3c5fcb(0x158)](le,_0x372bdb,_0x2731d1,_0x51f7ea,_0x44eb57):_0x17032a[_0x3c5fcb(0x1d8)]?_0x20de23[_0x3c5fcb(0x158)](oe,_0x372bdb,_0x2731d1,_0x17032a,_0x44eb57):_0x20de23['createInstance'](Ne,_0x372bdb,_0x2731d1,_0x44eb57);}var an=Object[_0x228894(0x20c)],xt=(_0x4e8f13,_0x1e8152,_0x114426,_0x4e0082)=>{for(var _0x4af948=_0x4e0082>0x1?void 0x0:_0x4e0082?an(_0x1e8152,_0x114426):_0x1e8152,_0x5f0470=_0x4e8f13['length']-0x1,_0x29c442;_0x5f0470>=0x0;_0x5f0470--)(_0x29c442=_0x4e8f13[_0x5f0470])&&(_0x4af948=_0x29c442(_0x4af948)||_0x4af948);return _0x4af948;},H=(_0xd2cb31,_0x91c431)=>(_0x36a351,_0x2a29da)=>_0x91c431(_0x36a351,_0x2a29da,_0xd2cb31);let rt=class extends _0x4d64f7{constructor(_0x44c782,_0x46ba89,_0x460aaf,_0x3d8ebb,_0x20a26c,_0x7f9b1c,_0x4f5170,_0x35ed67,_0x43d3d7,_0x4a82ab,_0x4e7dfb,_0x55e244,_0x3c776e){var _0xb99bdd=_0x228894;super(),N(this,_0xb99bdd(0x1b8),new _0x35002d(null)),N(this,_0xb99bdd(0x22f),this[_0xb99bdd(0x1b8)][_0xb99bdd(0x2ca)]()),N(this,_0xb99bdd(0x39b)),N(this,_0xb99bdd(0x2b4),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0xb99bdd(0x28c),this[_0xb99bdd(0x22f)]['pipe'](_0x244e5d(_0x2f65ed=>_0x2f65ed?_0x2f65ed[_0xb99bdd(0x159)]:bi[_0xb99bdd(0x262)]),_0x15b5bd(0x1))),N(this,_0xb99bdd(0x2fe),!0x1),N(this,_0xb99bdd(0x33c),[]),(this[_0xb99bdd(0x215)]=_0x44c782,this[_0xb99bdd(0x149)]=_0x46ba89,this[_0xb99bdd(0x210)]=_0x460aaf,this['_injector']=_0x3d8ebb,this[_0xb99bdd(0x349)]=_0x20a26c,this[_0xb99bdd(0x2fd)]=_0x7f9b1c,this[_0xb99bdd(0x34e)]=_0x4f5170,this[_0xb99bdd(0x1e9)]=_0x35ed67,this['_logService']=_0x43d3d7,this[_0xb99bdd(0x2ed)]=_0x4a82ab,this[_0xb99bdd(0x3da)]=_0x4e7dfb,this[_0xb99bdd(0x3a6)]=_0x55e244,this[_0xb99bdd(0x301)]=_0x3c776e);}get['state'](){var _0x5926a8=_0x228894;return this[_0x5926a8(0x39b)];}async['init'](){var _0x3c66e6=_0x228894;if(this[_0x3c66e6(0x439)])throw new Error(_0x3c66e6(0x390));await this[_0x3c66e6(0x1dc)]();}[_0x228894(0x345)](){return this['_collaborationPaused']=!0x0,_0x483b1d(()=>{var _0x10c6d3=_0x326f;this[_0x10c6d3(0x2b4)]=!0x1,this[_0x10c6d3(0x1f6)]();});}[_0x228894(0x313)](_0x5bb84f){var _0x3d394f=_0x228894;this[_0x3d394f(0x183)](_0x5bb84f);}['_updateState'](_0x61282){var _0x22eceb=_0x228894;this['_state']=_0x61282,this[_0x22eceb(0x1b8)][_0x22eceb(0x167)](_0x61282);}async[_0x228894(0x1dc)](){var _0x97397b=_0x228894,_0x248712;this['_updateState'](await this[_0x97397b(0x3c6)]()),this[_0x97397b(0x3a6)]&&((_0x248712=this['_singleActiveUnitService'])==null||_0x248712[_0x97397b(0x342)](this[_0x97397b(0x215)]),this[_0x97397b(0x22a)](this[_0x97397b(0x3a6)][_0x97397b(0x246)](this['unitID'])['subscribe'](_0x2e583f=>{var _0x155ed0=_0x97397b;this[_0x155ed0(0x144)][_0x155ed0(0x326)]('[CollaborationEntity]',_0x155ed0(0x3ff),_0x2e583f),_0x2e583f===Ci['OTHER_CLIENTS_EDITING']?(this[_0x155ed0(0x1e9)][_0x155ed0(0x241)]({'id':se[_0x155ed0(0x426)]}),this[_0x155ed0(0x3da)]['updatePermissionPoint'](new _0x255943(this[_0x155ed0(0x215)])['id'],!0x1),this[_0x155ed0(0x3da)][_0x155ed0(0x40e)](!0x1)):(this[_0x155ed0(0x3da)][_0x155ed0(0x137)](new _0x255943(this['unitID'])['id'],!0x0),this[_0x155ed0(0x3da)]['setShowComponents'](!0x0));})));let _0x49355c=!0x1;return this['disposeWithMe'](this[_0x97397b(0x149)][_0x97397b(0x3f2)][_0x97397b(0x24e)](_0x3a365=>{var _0xd3ea28=_0x97397b;_0x3a365===Ee[_0xd3ea28(0x32d)]?this[_0xd3ea28(0x365)](_0x49355c):_0x3a365===Ee[_0xd3ea28(0x262)]&&(_0x49355c=!0x0,this['_toggleOffline']());})),this[_0x97397b(0x22a)](this[_0x97397b(0x149)][_0x97397b(0x25f)][_0x97397b(0x24e)](_0x3783bb=>{var _0x1d1841=_0x97397b;try{switch(_0x3783bb['eventID']){case _0x20f032[_0x1d1841(0x419)]:{this[_0x1d1841(0x34b)](_0x5554e5(_0x3783bb[_0x1d1841(0x41f)]));break;}case _0x20f032['CHANGESET_ACK']:{this[_0x1d1841(0x186)](_0x3783bb[_0x1d1841(0x41f)]);break;}case _0x20f032[_0x1d1841(0x130)]:{this[_0x1d1841(0x23f)]();break;}case _0x20f032[_0x1d1841(0x19b)]:{this[_0x1d1841(0x414)](_0x3783bb['data']);break;}case _0x20f032[_0x1d1841(0x433)]:{this[_0x1d1841(0x3d8)](_0x3783bb['data'][_0x1d1841(0x40a)][_0x1d1841(0x265)](_0x3343f5=>_0x5554e5(_0x3343f5)));break;}case _0x20f032[_0x1d1841(0x181)]:{this[_0x1d1841(0x23f)]({'isPermissionRej':!0x0});break;}case _0x20f032[_0x1d1841(0x219)]:break;}}catch(_0x5dd961){throw console[_0x1d1841(0x16d)](_0x1d1841(0x3bb),_0x5dd961),_0x5dd961;}})),this['_state'];}[_0x228894(0x146)](){var _0xa576ae=_0x228894;this[_0xa576ae(0x2fe)]=!0x1;}[_0x228894(0x40d)](){var _0xe172cc=_0x228894;if(this['_transitionLocked'])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[_0xe172cc(0x2fe)]=!0x0;}['_onLocalMutation'](_0xe55054){var _0x275320=_0x228894;this[_0x275320(0x40d)](),this[_0x275320(0x188)](this[_0x275320(0x39b)][_0x275320(0x367)](_0xe55054)),this[_0x275320(0x146)]();}[_0x228894(0x34b)](_0x1b88f8){var _0x5a9f5c=_0x228894;if(!(_0x1b88f8['revision']<=this[_0x5a9f5c(0x34e)][_0x5a9f5c(0x1d2)](this[_0x5a9f5c(0x215)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x1b88f8);return;}this[_0x5a9f5c(0x401)](_0x1b88f8);}}[_0x228894(0x1f6)](){var _0x2af27f=_0x228894;this[_0x2af27f(0x33c)][_0x2af27f(0x3b6)](_0x3b8d94=>this[_0x2af27f(0x401)](_0x3b8d94)),this[_0x2af27f(0x33c)]=[];}[_0x228894(0x401)](_0x46e581){var _0x225cd3=_0x228894;const _0x143ff3=this[_0x225cd3(0x349)][_0x225cd3(0x37d)]['fetchThroughInterceptors'](this[_0x225cd3(0x349)][_0x225cd3(0x37d)]['getInterceptPoints']()[_0x225cd3(0x13f)])(_0x46e581['mutations'],null)||_0x46e581[_0x225cd3(0x3f7)],_0x230ac4={..._0x46e581,'mutations':_0x143ff3};this[_0x225cd3(0x40d)](),this['_updateState'](this[_0x225cd3(0x39b)][_0x225cd3(0x185)](_0x230ac4)),this[_0x225cd3(0x146)]();}[_0x228894(0x186)](_0x4510ee){var _0x3b4aaf=_0x228894;this[_0x3b4aaf(0x40d)](),this[_0x3b4aaf(0x188)](this[_0x3b4aaf(0x39b)][_0x3b4aaf(0x142)](_0x4510ee)),this[_0x3b4aaf(0x146)]();}[_0x228894(0x23f)](_0x53df0d){var _0x39f28c=_0x228894;this[_0x39f28c(0x40d)](),this[_0x39f28c(0x188)](this[_0x39f28c(0x39b)][_0x39f28c(0x3ce)](_0x53df0d)),this[_0x39f28c(0x146)]();}[_0x228894(0x414)](_0x53623a){var _0x5d1b0d=_0x228894;this[_0x5d1b0d(0x40d)](),this[_0x5d1b0d(0x188)](this[_0x5d1b0d(0x39b)]['onRemoteRetry'](_0x53623a)),this[_0x5d1b0d(0x146)]();}['_onFetchMissResult'](_0xde444c){var _0x2a0c7b=_0x228894;if(!(this[_0x2a0c7b(0x39b)]instanceof ee))throw new TypeError(_0x2a0c7b(0x18a));const _0x51ecec=_0xde444c[_0x2a0c7b(0x265)](_0x4da2fa=>{var _0x4c5012=_0x2a0c7b;const _0x92cdca=this[_0x4c5012(0x349)][_0x4c5012(0x37d)][_0x4c5012(0x3b2)](this[_0x4c5012(0x349)][_0x4c5012(0x37d)][_0x4c5012(0x3c7)]()[_0x4c5012(0x13f)])(_0x4da2fa[_0x4c5012(0x3f7)],null)||_0x4da2fa[_0x4c5012(0x3f7)];return{..._0x4da2fa,'mutations':_0x92cdca};});this[_0x2a0c7b(0x40d)](),this['_updateState'](this['_state'][_0x2a0c7b(0x41a)](_0x51ecec)),this['_unlockTransition']();}[_0x228894(0x1cd)](){var _0x3cc0f1=_0x228894;this[_0x3cc0f1(0x40d)](),this['_updateState'](this[_0x3cc0f1(0x39b)][_0x3cc0f1(0x253)]()),this[_0x3cc0f1(0x146)]();}[_0x228894(0x365)](_0x3156de=!0x1){var _0x36c736=_0x228894;this[_0x36c736(0x40d)](),this[_0x36c736(0x188)](this[_0x36c736(0x39b)]['toggleOnline']()),this[_0x36c736(0x146)]();const _0xe14c8=this[_0x36c736(0x39b)];_0x3156de&&_0xe14c8 instanceof Ne&&(this['_lockTransition'](),this[_0x36c736(0x188)](_0xe14c8[_0x36c736(0x32a)]()),this[_0x36c736(0x146)]());}async[_0x228894(0x3c6)](){return new Promise(_0xcc9ad0=>{var _0x2f9787=_0x326f;this['session'][_0x2f9787(0x3f2)][_0x2f9787(0x3a7)](_0x314bc2(0x1))[_0x2f9787(0x24e)](async _0x35d254=>{var _0x2e56b4=_0x2f9787;_0xcc9ad0(await this[_0x2e56b4(0x3c2)](_0x35d254===Ee[_0x2e56b4(0x32d)]));});});}['_createHandler'](){var _0x244e68=_0x228894;const _0x2a42ab=this[_0x244e68(0x215)];return{'onStateChange':(_0x48af41,_0x220b8f)=>{var _0x5b119c=_0x244e68;if(_0x48af41!==this[_0x5b119c(0x39b)])throw new Error(_0x5b119c(0x192)+_0x48af41['status']+_0x5b119c(0x22e)+_0x220b8f[_0x5b119c(0x159)]+_0x5b119c(0x305)+this['_state']['status']);this[_0x5b119c(0x188)](_0x220b8f);},'onSendChangeset':_0x1db9f9=>{var _0x5b0640=_0x244e68;_0x1db9f9[_0x5b0640(0x34a)]||(_0x1db9f9[_0x5b0640(0x34a)]=this['_changesetSessionId'],_0x1db9f9[_0x5b0640(0x331)]=++this[_0x5b0640(0x1e1)]);const _0x3f1734={'eventID':_0x20f032[_0x5b0640(0x413)],'data':{'unitID':_0x1db9f9[_0x5b0640(0x215)],'unitType':this[_0x5b0640(0x210)],'changeset':_0x1db9f9,'memberID':this[_0x5b0640(0x149)][_0x5b0640(0x23e)]()}};this['session'][_0x5b0640(0x2f6)](_0x3f1734,this[_0x5b0640(0x215)]);},'onMissingChangesets':({from:_0x48e1e3,to:_0x6d8519})=>{var _0x3447fc=_0x244e68;this[_0x3447fc(0x144)]['debug'](_0x3447fc(0x3c0),_0x3447fc(0x2ee)+_0x48e1e3+_0x3447fc(0x2ad)+_0x6d8519);const _0x1347ba={'eventID':_0x20f032[_0x3447fc(0x30b)],'data':{'unitID':_0x2a42ab,'unitType':this[_0x3447fc(0x210)],'from':_0x48e1e3,'to':_0x6d8519}};this[_0x3447fc(0x149)][_0x3447fc(0x2f6)](_0x1347ba,this[_0x3447fc(0x215)]);}};}async[_0x228894(0x3c2)](_0x38b4c2){var _0x205e79=_0x228894,_0x41d84f,_0x31e5a6,_0x2b4e60;const _0x2fbc8b=await((_0x41d84f=this[_0x205e79(0x301)])==null?void 0x0:_0x41d84f['loadOfflineData'](this['unitID'])),_0xe264e4=(_0x31e5a6=_0x2fbc8b==null?void 0x0:_0x2fbc8b['mutations'])!=null?_0x31e5a6:[],_0x3a5561=(_0x2b4e60=_0x2fbc8b==null?void 0x0:_0x2fbc8b[_0x205e79(0x2e2)])!=null?_0x2b4e60:null,_0x3ee1fa=!!(_0x3a5561!=null&&_0x3a5561['sid'])&&!!(_0x3a5561!=null&&_0x3a5561[_0x205e79(0x331)]);this[_0x205e79(0x206)]=_0x3ee1fa?_0x3a5561['sid']:Zr(),this[_0x205e79(0x1e1)]=_0x3ee1fa?_0x3a5561['reqId']:0x0;const _0x1613d2=this['unitID'];try{this[_0x205e79(0x2cb)](_0x3a5561,_0xe264e4);}catch(_0x3978bc){this[_0x205e79(0x144)][_0x205e79(0x16d)](_0x3978bc);}const _0x31de89=this[_0x205e79(0x264)]();if(_0x38b4c2){const _0x228a9d=Oi(this['_injector'],_0x1613d2,this[_0x205e79(0x210)],_0x3a5561,_0xe264e4,_0x31de89);return _0x228a9d instanceof oe?_0x228a9d[_0x205e79(0x238)]():(_0x228a9d instanceof ae||_0x228a9d instanceof le)&&_0x228a9d[_0x205e79(0x211)](),_0x228a9d;}return this[_0x205e79(0x165)]['createInstance'](de,_0x1613d2,this['_type'],_0x3a5561,_0xe264e4,_0x31de89);}[_0x228894(0x2cb)](_0x595d68,_0x5179b5){var _0x4cff6f=_0x228894,_0x3868c9,_0x20dbdf;const _0x3a2b79=this[_0x4cff6f(0x349)][_0x4cff6f(0x37d)][_0x4cff6f(0x3b2)](this[_0x4cff6f(0x349)][_0x4cff6f(0x37d)][_0x4cff6f(0x3c7)]()[_0x4cff6f(0x13f)]);(_0x3868c9=_0x3a2b79((_0x595d68==null?void 0x0:_0x595d68[_0x4cff6f(0x3f7)])||[],null))==null||_0x3868c9[_0x4cff6f(0x3b6)](_0x2d52a2=>this['_commandService'][_0x4cff6f(0x2a8)](_0x2d52a2['id'],_0x2d52a2[_0x4cff6f(0x2e9)])),(_0x20dbdf=_0x3a2b79(_0x5179b5||[],null))==null||_0x20dbdf[_0x4cff6f(0x3b6)](_0x4ff363=>this[_0x4cff6f(0x2ed)][_0x4cff6f(0x2a8)](_0x4ff363['id'],_0x4ff363[_0x4cff6f(0x2e9)]));}};rt=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(pe)),H(0x8,_0x3cc2bd),H(0x9,_0x50ec3e),H(0xa,_0x18d44c),H(0xb,_0x1d58e6(ht)),H(0xc,_0x1d58e6(J))],rt);let It=class extends rt{constructor(_0x2bc801,_0x3edfc2,_0x360d94,_0x167096,_0x55f251,_0x3a381f,_0x14e693,_0x328413,_0x56ae3a,_0x3f5d1f,_0x1187de,_0x5cecda,_0x69d047){var _0x5b9b80=_0x228894;super(_0x2bc801,_0x360d94,_0x3edfc2,_0x167096,_0x55f251,_0x3a381f,_0x14e693,_0x328413,_0x56ae3a,_0x3f5d1f,_0x1187de,_0x5cecda,_0x69d047),N(this,_0x5b9b80(0x324),null),(this[_0x5b9b80(0x215)]=_0x2bc801,this['type']=_0x3edfc2);}[_0x228894(0x2d3)](_0x2d7a4d){var _0x52ee57=_0x228894;this[_0x52ee57(0x324)]=_0x2d7a4d;}['dispose'](){var _0x23b2d7=_0x228894;this[_0x23b2d7(0x324)]=null,super[_0x23b2d7(0x23b)]();}[_0x228894(0x264)](){var _0x31d00b=_0x228894;const _0x2abac1=super[_0x31d00b(0x264)]();return _0x2abac1[_0x31d00b(0x3be)]=_0x462397=>{var _0x7f8199=_0x31d00b,_0x206364,_0xfc7925;return(_0xfc7925=(_0x206364=this[_0x7f8199(0x324)])==null?void 0x0:_0x206364['onTransformIME'])==null?void 0x0:_0xfc7925[_0x7f8199(0x17a)](_0x206364,_0x462397);},_0x2abac1['onTransformState']=_0x58d1ff=>{var _0x3aaf61=_0x31d00b,_0xd06b99,_0x369b7b;return(_0x369b7b=(_0xd06b99=this['_handlerCallback'])==null?void 0x0:_0xd06b99[_0x3aaf61(0x239)])==null?void 0x0:_0x369b7b[_0x3aaf61(0x17a)](_0xd06b99,_0x58d1ff);},_0x2abac1[_0x31d00b(0x1a7)]=_0x579171=>{var _0x39c97d=_0x31d00b,_0x582e4c,_0x55f02a;return(_0x55f02a=(_0x582e4c=this[_0x39c97d(0x324)])==null?void 0x0:_0x582e4c[_0x39c97d(0x1a7)])==null?void 0x0:_0x55f02a[_0x39c97d(0x17a)](_0x582e4c,_0x579171);},_0x2abac1['onSyncEditingCollabCursor']=_0x5472a9=>{var _0x41a939=_0x31d00b,_0x39024d,_0x4e9c16;return(_0x4e9c16=(_0x39024d=this[_0x41a939(0x324)])==null?void 0x0:_0x39024d[_0x41a939(0x26b)])==null?void 0x0:_0x4e9c16[_0x41a939(0x17a)](_0x39024d,_0x5472a9);},_0x2abac1[_0x31d00b(0x25a)]=_0x70a0c7=>{var _0x1ef51c=_0x31d00b,_0x461884,_0x2539d8,_0x5ba6bc;if(!((_0x461884=this[_0x1ef51c(0x324)])!=null&&_0x461884[_0x1ef51c(0x25a)]))throw new Error(_0x1ef51c(0x405));return(_0x5ba6bc=(_0x2539d8=this['_handlerCallback'])==null?void 0x0:_0x2539d8[_0x1ef51c(0x25a)])==null?void 0x0:_0x5ba6bc[_0x1ef51c(0x17a)](_0x2539d8,_0x70a0c7);},_0x2abac1[_0x31d00b(0x375)]=_0x3aa947=>{var _0x58830e=_0x31d00b,_0x35dfb4,_0x5ddcfb,_0x5c8257;if(!((_0x35dfb4=this[_0x58830e(0x324)])!=null&&_0x35dfb4[_0x58830e(0x375)]))throw new Error(_0x58830e(0x340));return(_0x5c8257=(_0x5ddcfb=this[_0x58830e(0x324)])==null?void 0x0:_0x5ddcfb[_0x58830e(0x375)])==null?void 0x0:_0x5c8257[_0x58830e(0x17a)](_0x5ddcfb,_0x3aa947);},_0x2abac1;}async[_0x228894(0x1dc)](){var _0x42d031=_0x228894;const _0x32d83c=await super[_0x42d031(0x1dc)]();return this[_0x42d031(0x22a)](this[_0x42d031(0x2ed)]['onCommandExecuted']((_0x2f717e,_0x34e2b9)=>{var _0x738a82=_0x42d031;if(_0x2f717e['type']!==_0x2ffda7['MUTATION']||_0x34e2b9!=null&&_0x34e2b9[_0x738a82(0x2ab)]||_0x34e2b9!=null&&_0x34e2b9[_0x738a82(0x26f)]||_0x2f717e['id']===_0x43f4f3['id'])return;const _0x93f1cc=_0x2f717e[_0x738a82(0x2e9)];if((_0x93f1cc==null?void 0x0:_0x93f1cc[_0x738a82(0x283)])!==this[_0x738a82(0x215)])return;const _0x1dc731=_0x2f717e,_0x3671c1=this[_0x738a82(0x349)][_0x738a82(0x37d)][_0x738a82(0x3b2)](this['_compressMutationService']['interceptor'][_0x738a82(0x3c7)]()[_0x738a82(0x151)])([_0x1dc731],null)||[_0x1dc731];this[_0x738a82(0x183)](_0x3671c1[0x0]);})),_0x32d83c;}};It=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(pe)),H(0x8,_0x3cc2bd),H(0x9,_0x50ec3e),H(0xa,_0x18d44c),H(0xb,_0x1d58e6(ht)),H(0xc,_0x1d58e6(J))],It);let Tt=class extends rt{constructor(_0x58bfa7,_0x73cc1a,_0x439f5d,_0x420ace,_0x22c82e,_0x156e93,_0x494c2d,_0x422f30,_0x4f2eed,_0x5c53d6,_0x5b3b59,_0x43040e,_0x476b24,_0x3cee3e){var _0x43d503=_0x228894;super(_0x58bfa7,_0x439f5d,_0x73cc1a,_0x420ace,_0x22c82e,_0x156e93,_0x494c2d,_0x4f2eed,_0x5c53d6,_0x5b3b59,_0x43040e,_0x476b24,_0x3cee3e),this['unitID']=_0x58bfa7,this[_0x43d503(0x2bf)]=_0x73cc1a,this[_0x43d503(0x166)]=_0x422f30;}[_0x228894(0x264)](){var _0x4c6160=_0x228894;const _0x339e2e=super[_0x4c6160(0x264)]();return _0x339e2e[_0x4c6160(0x1a7)]=_0x65c757=>this[_0x4c6160(0x166)]['transformSelections'](_0x65c757),_0x339e2e;}async[_0x228894(0x1dc)](){var _0x25c5f1=_0x228894;const _0x554c74=await super['_init']();return this[_0x25c5f1(0x22a)](this[_0x25c5f1(0x2ed)][_0x25c5f1(0x33f)]((_0x5bd38b,_0x28e506)=>{var _0x2f0dfd=_0x25c5f1;if(_0x5bd38b[_0x2f0dfd(0x2bf)]!==_0x2ffda7[_0x2f0dfd(0x14b)]||_0x28e506!=null&&_0x28e506[_0x2f0dfd(0x2ab)]||_0x28e506!=null&&_0x28e506['onlyLocal'])return;const _0x547c13=_0x5bd38b[_0x2f0dfd(0x2e9)];if((_0x547c13==null?void 0x0:_0x547c13[_0x2f0dfd(0x283)])!==this[_0x2f0dfd(0x215)])return;const _0x1e3968=_0x5bd38b,_0x1e2b94=this[_0x2f0dfd(0x349)][_0x2f0dfd(0x37d)][_0x2f0dfd(0x3b2)](this[_0x2f0dfd(0x349)][_0x2f0dfd(0x37d)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1e3968],null)||[_0x1e3968];this[_0x2f0dfd(0x183)](_0x1e2b94[0x0]);})),_0x554c74;}};Tt=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(it)),H(0x8,_0x7e1ee1(pe)),H(0x9,_0x3cc2bd),H(0xa,_0x50ec3e),H(0xb,_0x18d44c),H(0xc,_0x1d58e6(ht)),H(0xd,_0x1d58e6(J))],Tt);var cn=Object[_0x228894(0x20c)],hn=(_0x2dce3b,_0x4e780f,_0x35a531,_0x3c7fa6)=>{var _0x56920b=_0x228894;for(var _0xb48cda=_0x3c7fa6>0x1?void 0x0:_0x3c7fa6?cn(_0x4e780f,_0x35a531):_0x4e780f,_0x8cfb4b=_0x2dce3b[_0x56920b(0x1d8)]-0x1,_0x16a6eb;_0x8cfb4b>=0x0;_0x8cfb4b--)(_0x16a6eb=_0x2dce3b[_0x8cfb4b])&&(_0xb48cda=_0x16a6eb(_0xb48cda)||_0xb48cda);return _0xb48cda;},ft=(_0x1aea46,_0x4563b8)=>(_0x44350a,_0x3dfacc)=>_0x4563b8(_0x44350a,_0x3dfacc,_0x1aea46);let nt=class extends _0x4d64f7{constructor(_0x1fd110,_0x376c63,_0x551f80){var _0x57835b=_0x228894;super(),N(this,_0x57835b(0x259),new Map()),N(this,_0x57835b(0x2d4),new _0xe00b19()),N(this,_0x57835b(0x2ea),this[_0x57835b(0x2d4)][_0x57835b(0x2ca)]()),(this[_0x57835b(0x165)]=_0x1fd110,this[_0x57835b(0x284)]=_0x376c63,this['_univerInstanceService']=_0x551f80,this['_init']());}['dispose'](){var _0x44b8b9=_0x228894;super[_0x44b8b9(0x23b)](),this[_0x44b8b9(0x259)][_0x44b8b9(0x3b6)](_0x54f601=>_0x54f601[_0x44b8b9(0x23b)]()),this[_0x44b8b9(0x259)][_0x44b8b9(0x2f0)]();}[_0x228894(0x28e)](_0x498e7e){var _0x39e084=_0x228894,_0x130d07;return(_0x130d07=this[_0x39e084(0x259)]['get'](_0x498e7e))!=null?_0x130d07:null;}['getCollabEntity$'](_0xa5c530){var _0x45b32c=_0x228894;const _0x3cfb8d=this[_0x45b32c(0x28e)](_0xa5c530);return _0x3cfb8d?_0x5bf531(_0x3cfb8d):this['_entityInit$'][_0x45b32c(0x3a7)](_0x28db24(_0x206744=>_0x206744['unitID']===_0xa5c530));}[_0x228894(0x1e6)](_0x23e403){var _0x335f31=_0x228894;return _0x1a1add(this[_0x335f31(0x218)](_0x23e403)[_0x335f31(0x3a7)](_0x54f33d(()=>{})));}[_0x228894(0x1dc)](){var _0x270f8f=_0x228894;this[_0x270f8f(0x41d)][_0x270f8f(0x1e3)](_0x6cb10f['UNIVER_SHEET'])[_0x270f8f(0x3a7)](_0x3c9bb5(this[_0x270f8f(0x174)]),_0x2c3f4d(0x10))[_0x270f8f(0x24e)](async _0x144b13=>{var _0x1adf1f=_0x270f8f;const _0x409f84=_0x144b13[_0x1adf1f(0x2aa)](),_0x48a160=await this[_0x1adf1f(0x3d2)](_0x409f84,Q[_0x1adf1f(0x24c)]);this[_0x1adf1f(0x259)][_0x1adf1f(0x21b)](_0x409f84,_0x48a160);}),this[_0x270f8f(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f[_0x270f8f(0x273)])[_0x270f8f(0x3a7)](_0x3c9bb5(this['dispose$']),_0x2c3f4d(0x10))[_0x270f8f(0x3a7)](_0x28db24(_0x3e0915=>!_0x3e0915[_0x270f8f(0x2aa)]()[_0x270f8f(0x1df)]('__')))[_0x270f8f(0x24e)](async _0x1cfb3b=>{var _0x190796=_0x270f8f;const _0x4c7d57=_0x1cfb3b[_0x190796(0x2aa)](),_0x163ae3=await this[_0x190796(0x3d2)](_0x4c7d57,Q['UNIVER_DOC']);this[_0x190796(0x259)]['set'](_0x4c7d57,_0x163ae3);}),_0x5bc9c1(this[_0x270f8f(0x41d)][_0x270f8f(0x2b3)](_0x6cb10f[_0x270f8f(0x24c)]),this[_0x270f8f(0x41d)][_0x270f8f(0x2b3)](_0x6cb10f['UNIVER_DOC']))[_0x270f8f(0x3a7)](_0x3c9bb5(this[_0x270f8f(0x174)]))['subscribe'](_0x508deb=>{var _0x1d7b2c=_0x270f8f;const _0x1bdd58=_0x508deb[_0x1d7b2c(0x2aa)](),_0x6837ed=this['_entities'][_0x1d7b2c(0x42d)](_0x1bdd58);_0x6837ed&&(_0x6837ed[_0x1d7b2c(0x23b)](),this['_entities'][_0x1d7b2c(0x329)](_0x1bdd58));});}async[_0x228894(0x3d2)](_0xbc4481,_0x24a9ee){var _0x49b4cb=_0x228894;const _0x35199d=await this[_0x49b4cb(0x284)]['requireSession'](_0xbc4481),_0x120e78=this[_0x49b4cb(0x165)][_0x49b4cb(0x158)](this[_0x49b4cb(0x197)](_0x24a9ee),_0xbc4481,_0x24a9ee,_0x35199d);return await _0x120e78[_0x49b4cb(0x1b2)](),this[_0x49b4cb(0x2d4)]['next'](_0x120e78),_0x120e78;}[_0x228894(0x197)](_0x32fa46){var _0x37c162=_0x228894;switch(_0x32fa46){case Q[_0x37c162(0x273)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x37c162(0x297)+_0x32fa46);}}};nt=hn([ft(0x0,_0x7e1ee1(_0xa32491)),ft(0x1,_0x7e1ee1(Le)),ft(0x2,_0xffe073)],nt);var _n=Object[_0x228894(0x20c)],ln=(_0x2eb224,_0x5ed6af,_0x2d6142,_0x54c931)=>{var _0x2f243b=_0x228894;for(var _0x3d04aa=_0x54c931>0x1?void 0x0:_0x54c931?_n(_0x5ed6af,_0x2d6142):_0x5ed6af,_0x3453ea=_0x2eb224[_0x2f243b(0x1d8)]-0x1,_0x59874c;_0x3453ea>=0x0;_0x3453ea--)(_0x59874c=_0x2eb224[_0x3453ea])&&(_0x3d04aa=_0x59874c(_0x3d04aa)||_0x3d04aa);return _0x3d04aa;},zt=(_0x55e4d2,_0x36d6d2)=>(_0x577646,_0x343bed)=>_0x36d6d2(_0x577646,_0x343bed,_0x55e4d2);const un=_0x228894(0x214),dn='Univer';function _0x326f(_0x1f36c0,_0x48818f){var _0x28449f=_0x2844();return _0x326f=function(_0x326f35,_0x50249c){_0x326f35=_0x326f35-0x12a;var _0x5e17ef=_0x28449f[_0x326f35];return _0x5e17ef;},_0x326f(_0x1f36c0,_0x48818f);}let Ct=class extends _0x5c5031{constructor(_0x1f4260,_0x17fba3){var _0x5acae7=_0x228894;super(),this[_0x5acae7(0x41d)]=_0x1f4260,this[_0x5acae7(0x36d)]=_0x17fba3,this[_0x5acae7(0x1dc)]();}[_0x228894(0x1dc)](){var _0x44d0dd=_0x228894;this[_0x44d0dd(0x22a)](this[_0x44d0dd(0x41d)][_0x44d0dd(0x3ba)][_0x44d0dd(0x24e)](()=>{var _0x5855b8=_0x44d0dd,_0x594378;const _0x282264=this[_0x5855b8(0x41d)][_0x5855b8(0x247)]();let _0x53487d=(_0x594378=this[_0x5855b8(0x36d)][_0x5855b8(0x429)](un))!=null?_0x594378:dn;_0x282264 instanceof _0xd202b5&&(_0x53487d=_0x282264[_0x5855b8(0x42e)]),document[_0x5855b8(0x40b)]=_0x53487d;}));}};Ct=ln([zt(0x0,_0xffe073),zt(0x1,_0x7ee467)],Ct);var fn=Object[_0x228894(0x20c)],vn=(_0x5dc591,_0x384a4f,_0x30220a,_0x72f19)=>{var _0x3737f0=_0x228894;for(var _0x2124a0=_0x72f19>0x1?void 0x0:_0x72f19?fn(_0x384a4f,_0x30220a):_0x384a4f,_0x163a93=_0x5dc591[_0x3737f0(0x1d8)]-0x1,_0x27deb5;_0x163a93>=0x0;_0x163a93--)(_0x27deb5=_0x5dc591[_0x163a93])&&(_0x2124a0=_0x27deb5(_0x2124a0)||_0x2124a0);return _0x2124a0;},vt=(_0x59dc2d,_0xa2bf4c)=>(_0x1a23eb,_0x1caaab)=>_0xa2bf4c(_0x1a23eb,_0x1caaab,_0x59dc2d);let st=class{constructor(_0x506cad,_0x1d4e2a,_0x5a672c){var _0x25a850=_0x228894;this['_configService']=_0x506cad,this['_httpService']=_0x1d4e2a,this[_0x25a850(0x36f)]=_0x5a672c,this[_0x25a850(0x1b2)]();}['init'](){var _0x558466=_0x228894;this[_0x558466(0x2ef)][_0x558466(0x1b5)]({'priority':0x1,'interceptor':(_0x1a4e4f,_0x51c119)=>_0x51c119(_0x1a4e4f)[_0x558466(0x3a7)](_0x32d840(async _0x13f80f=>{var _0x33a183=_0x558466;const _0x3909e8=_0x13f80f;if(_0x3909e8[_0x33a183(0x159)]===0x191){if(typeof window>'u')throw new Error(_0x33a183(0x317));if(window['confirm'](this[_0x33a183(0x36f)]['t']('auth.needGotoLoginAlert'))){const _0x4ff588=window[_0x33a183(0x3fd)](window[_0x33a183(0x3b5)][_0x33a183(0x20d)]);window[_0x33a183(0x3b5)][_0x33a183(0x20d)]=this[_0x33a183(0x372)]()+_0x33a183(0x2e0)+_0x4ff588;}}return _0x3909e8;}))});}[_0x228894(0x372)](){var _0x4e3f49=_0x228894,_0x43486e,_0x1857fe;const _0x155326=this[_0x4e3f49(0x36d)][_0x4e3f49(0x429)](Ur),_0x281a3e=this[_0x4e3f49(0x36d)][_0x4e3f49(0x429)](q);return(_0x1857fe=(_0x43486e=_0x281a3e==null?void 0x0:_0x281a3e[_0x4e3f49(0x147)])!=null?_0x43486e:_0x155326)!=null?_0x1857fe:wr;}};st=vn([vt(0x0,_0x7ee467),vt(0x1,_0x7e1ee1(_0x5daba1)),vt(0x2,_0x7e1ee1(_0x421b51))],st);var pn=Object[_0x228894(0x20c)],mn=(_0xbe4338,_0x4231a2,_0x21687a,_0x4a393b)=>{var _0x5aba17=_0x228894;for(var _0x3e1b6e=_0x4a393b>0x1?void 0x0:_0x4a393b?pn(_0x4231a2,_0x21687a):_0x4231a2,_0x530564=_0xbe4338[_0x5aba17(0x1d8)]-0x1,_0x2a7b60;_0x530564>=0x0;_0x530564--)(_0x2a7b60=_0xbe4338[_0x530564])&&(_0x3e1b6e=_0x2a7b60(_0x3e1b6e)||_0x3e1b6e);return _0x3e1b6e;},Jt=(_0x1469b7,_0x441d7f)=>(_0x152e84,_0x5fc20b)=>_0x441d7f(_0x152e84,_0x5fc20b,_0x1469b7);const Ni=_0x228894(0x337),gn=_0x228894(0x12f);let Rt=class extends _0x5c5031{constructor(_0x5df24c,_0x2d0c8f){var _0x286f70=_0x228894;super(),this[_0x286f70(0x17f)]=_0x5df24c,this[_0x286f70(0x36d)]=_0x2d0c8f,this[_0x286f70(0x16a)]();}['_initMergeInterceptor'](){var _0x47bfb2=_0x228894;const _0x1b4b87=this;this[_0x47bfb2(0x22a)](this[_0x47bfb2(0x17f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x305ef5({'isMatch'(_0x511c48){var _0x57248b=_0x47bfb2,_0x177b07;if(_0x511c48[_0x57248b(0x1fc)]===_0x57248b(0x29f)&&((_0x177b07=_0x511c48[_0x57248b(0x391)])!=null&&_0x177b07[_0x57248b(0x2cc)])){const {objectID:_0x3353e5,objectType:_0x2e0cdc}=_0x511c48[_0x57248b(0x391)]['body']||{};if(!_0x3353e5||_0x2e0cdc===void 0x0)return!0x1;const _0x496cbf=_0x1b4b87['_getAPIPrefixPath']()+'/'+_0x2e0cdc+'/object/'+_0x3353e5+_0x57248b(0x173);if(_0x511c48['url']===_0x496cbf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c59a3){var _0x32acb1=_0x47bfb2,_0x461021;return(_0x461021=_0x5c59a3[_0x32acb1(0x391)])==null?void 0x0:_0x461021[_0x32acb1(0x2cc)];},'mergeParamsToRequest'(_0x29b4b7,_0x4e9fce){var _0x30b270=_0x47bfb2;const _0x5bed06=_0x1b4b87['_getAPIPrefixPath']()+_0x30b270(0x21f),_0x42189b=_0x29b4b7['reduce']((_0xcb8fbe,_0x3a94ed)=>{var _0x213e42=_0x30b270;const {unitID:_0x292b74,objectID:_0x263c64,objectType:_0xcbcabd,actions:_0x319db8}=_0x3a94ed;return _0xcb8fbe[_0x292b74]||(_0xcb8fbe[_0x292b74]={}),_0xcb8fbe[_0x292b74][_0x263c64]||(_0xcb8fbe[_0x292b74][_0x263c64]={'objectID':_0x263c64,'objectType':_0xcbcabd,'actions':[]}),_0xcb8fbe[_0x292b74][_0x263c64][_0x213e42(0x237)][_0x213e42(0x403)](..._0x319db8),_0xcb8fbe;},{}),_0x40c3b7=[];for(const _0x11ff49 in _0x42189b)for(const _0x33a584 in _0x42189b[_0x11ff49]){const {actions:_0x2329b7,objectType:_0x2c02bc}=_0x42189b[_0x11ff49][_0x33a584],_0x1ff694=[...new Set(_0x2329b7)];_0x40c3b7[_0x30b270(0x403)]({'unitID':_0x11ff49,'objectID':_0x33a584,'objectType':_0x2c02bc,'actions':_0x1ff694});}return new _0x417fa3(_0x30b270(0x29f),_0x5bed06,{'headers':_0x4e9fce['headers'],'withCredentials':_0x4e9fce[_0x30b270(0x216)],'responseType':_0x4e9fce[_0x30b270(0x2e5)],'body':{'requests':_0x40c3b7}});}},{'distributeResult'(_0x213cf9,_0x10fb7b){var _0x3e69a0=_0x47bfb2;const {objectActions:_0x33ee8b}=_0x213cf9;return _0x10fb7b[_0x3e69a0(0x265)](_0x54f5f0=>{var _0x33f33a=_0x3e69a0;const {unitID:_0x46cd2f,objectID:_0xe85c46,actions:_0x53aad0}=_0x54f5f0,_0x50a60c=_0x33ee8b[_0x33f33a(0x244)](_0x1eb4db=>_0x1eb4db['unitID']===_0x46cd2f&&_0x1eb4db[_0x33f33a(0x351)]===_0xe85c46),_0x5daad1=_0x53aad0[_0x33f33a(0x265)](_0x193c98=>_0x50a60c==null?void 0x0:_0x50a60c['actions'][_0x33f33a(0x244)](_0x4b4bf5=>_0x4b4bf5[_0x33f33a(0x145)]===_0x193c98))[_0x33f33a(0x200)](_0x3a5218=>!!_0x3a5218);return{'config':_0x54f5f0,'result':{'actions':_0x5daad1,'error':_0x213cf9[_0x33f33a(0x16d)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18038f=_0x228894,_0x58c0a2,_0x2fd2e7;const _0x1ec777=this[_0x18038f(0x36d)][_0x18038f(0x429)](Ni),_0x5305b9=this[_0x18038f(0x36d)][_0x18038f(0x429)](q);return(_0x2fd2e7=(_0x58c0a2=_0x5305b9==null?void 0x0:_0x5305b9[_0x18038f(0x255)])!=null?_0x58c0a2:_0x1ec777)!=null?_0x2fd2e7:gn;}async[_0x228894(0x1a4)](_0x3010e6){var _0x354b0e=_0x228894;const _0x35ae57=this[_0x354b0e(0x25d)]()+'/'+_0x3010e6['objectType']+_0x354b0e(0x27f);return(await this[_0x354b0e(0x17f)][_0x354b0e(0x1c8)](_0x35ae57,{'body':_0x3010e6}))[_0x354b0e(0x2cc)][_0x354b0e(0x351)]||'';}async[_0x228894(0x39f)](_0x3ed773){var _0x5b8454=_0x228894;const _0x4ece7=this[_0x5b8454(0x25d)]()+_0x5b8454(0x221);return(await this[_0x5b8454(0x17f)][_0x5b8454(0x1c8)](_0x4ece7,{'body':_0x3ed773}))[_0x5b8454(0x2cc)][_0x5b8454(0x1d6)];}async['update'](_0x19f4ce){var _0x550eea=_0x228894;const _0x18440f=this[_0x550eea(0x25d)]()+'/'+_0x19f4ce[_0x550eea(0x193)]+_0x550eea(0x3f3)+_0x19f4ce[_0x550eea(0x351)];await this[_0x550eea(0x17f)][_0x550eea(0x27e)](_0x18440f,{'body':_0x19f4ce});}async[_0x228894(0x3b7)](_0xf7d4a0){var _0x1516e7=_0x228894;const _0x53b9e0=this[_0x1516e7(0x25d)]()+'/'+_0xf7d4a0['objectType']+_0x1516e7(0x3f3)+_0xf7d4a0[_0x1516e7(0x351)]+_0x1516e7(0x173);return(await this['_HTTPService'][_0x1516e7(0x1c8)](_0x53b9e0,{'body':_0xf7d4a0}))[_0x1516e7(0x2cc)]['actions'];}async[_0x228894(0x33b)](_0x1743d){var _0x28ec53=_0x228894;const _0x2d5cc1=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x28ec53(0x17f)][_0x28ec53(0x1c8)](_0x2d5cc1,{'body':{'requests':_0x1743d}}))['body'][_0x28ec53(0x29a)];}async[_0x228894(0x187)](_0x2d225a){var _0xd8c771=_0x228894;const _0x38f56f=this[_0xd8c771(0x25d)]()+'/'+_0x2d225a[_0xd8c771(0x193)]+'/role',_0x27ef53=await this[_0xd8c771(0x17f)][_0xd8c771(0x1c8)](_0x38f56f,{'body':_0x2d225a});return{'roles':_0x27ef53[_0xd8c771(0x2cc)][_0xd8c771(0x133)],'actions':_0x27ef53[_0xd8c771(0x2cc)][_0xd8c771(0x237)]};}async[_0x228894(0x384)](_0x28534f){var _0x39e1fd=_0x228894;const _0x5deac0=this[_0x39e1fd(0x25d)]()+_0x39e1fd(0x17e);await this[_0x39e1fd(0x17f)]['delete'](_0x5deac0,{'params':{'collaboratorID':_0x28534f[_0x39e1fd(0x37a)],'objectID':_0x28534f['objectID'],'unitID':_0x28534f[_0x39e1fd(0x215)]}});}async['updateCollaborator'](_0x588118){var _0x5dc088=_0x228894;const _0x36f4b0=this['_getAPIPrefixPath']()+_0x5dc088(0x17e);await this['_HTTPService'][_0x5dc088(0x355)](_0x36f4b0,{'body':_0x588118});}async['createCollaborator'](_0x229ff7){var _0x3c939e=_0x228894;const _0x6ce48b=this[_0x3c939e(0x25d)]()+_0x3c939e(0x17e);await this['_HTTPService'][_0x3c939e(0x1c8)](_0x6ce48b,{'body':_0x229ff7});}async[_0x228894(0x421)](_0x66458a){var _0x5e045c=_0x228894;const _0x195a11=this[_0x5e045c(0x25d)]()+_0x5e045c(0x17e);return(await this[_0x5e045c(0x17f)]['get'](_0x195a11,{'params':{'objectID':_0x66458a[_0x5e045c(0x351)],'unitID':_0x66458a[_0x5e045c(0x215)]}}))[_0x5e045c(0x2cc)][_0x5e045c(0x39e)];}async[_0x228894(0x33d)](_0x23a7d1){var _0x28bbfa=_0x228894;const _0x2a86cd=this[_0x28bbfa(0x25d)]()+_0x28bbfa(0x17e);await this[_0x28bbfa(0x17f)][_0x28bbfa(0x27e)](_0x2a86cd,{'body':_0x23a7d1});}};Rt=mn([Jt(0x0,_0x7e1ee1(_0x5daba1)),Jt(0x1,_0x7e1ee1(_0x7ee467))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x246225){var _0x35a65f=_0x228894;return _0x246225&&_0x246225[_0x35a65f(0x2f1)]&&Object[_0x35a65f(0x14d)][_0x35a65f(0x3d1)][_0x35a65f(0x17a)](_0x246225,_0x35a65f(0x213))?_0x246225[_0x35a65f(0x213)]:_0x246225;}var Ve={'exports':{}};function Sn(_0x2ae937){var _0x280f49=_0x228894;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2ae937+_0x280f49(0x154));}var Ge={'exports':{}},En=Ge[_0x228894(0x3db)],Xt;function ie(){var _0x52a505=_0x228894;return Xt||(Xt=0x1,function(_0x53a8b9,_0xd1c831){(function(_0x43a2ac,_0x5ac749){_0x53a8b9['exports']=_0x5ac749();}(En,function(){var _0x48d8af=_0x48d8af||function(_0x55ceb2,_0x3b30a5){var _0x20f916=_0x326f,_0x1df636;if(typeof window<'u'&&window['crypto']&&(_0x1df636=window[_0x20f916(0x1b7)]),typeof self<'u'&&self[_0x20f916(0x1b7)]&&(_0x1df636=self[_0x20f916(0x1b7)]),typeof globalThis<'u'&&globalThis[_0x20f916(0x1b7)]&&(_0x1df636=globalThis['crypto']),!_0x1df636&&typeof window<'u'&&window[_0x20f916(0x1bd)]&&(_0x1df636=window[_0x20f916(0x1bd)]),!_0x1df636&&typeof pt<'u'&&pt[_0x20f916(0x1b7)]&&(_0x1df636=pt[_0x20f916(0x1b7)]),!_0x1df636&&typeof Sn=='function')try{_0x1df636=require('crypto');}catch{}var _0x57b98f=function(){var _0x52df32=_0x20f916;if(_0x1df636){if(typeof _0x1df636['getRandomValues']=='function')try{return _0x1df636['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1df636['randomBytes']=='function')try{return _0x1df636[_0x52df32(0x182)](0x4)[_0x52df32(0x1e4)]();}catch{}}throw new Error(_0x52df32(0x2c5));},_0x2e430b=Object[_0x20f916(0x1a4)]||(function(){function _0xa9e08(){}return function(_0x518abc){var _0x5e0782=_0x326f,_0x4c1f46;return _0xa9e08[_0x5e0782(0x14d)]=_0x518abc,_0x4c1f46=new _0xa9e08(),_0xa9e08[_0x5e0782(0x14d)]=null,_0x4c1f46;};}()),_0x5e1fe0={},_0x1391fe=_0x5e1fe0[_0x20f916(0x424)]={},_0x4b4f14=_0x1391fe[_0x20f916(0x304)]=(function(){return{'extend':function(_0x11194e){var _0x183104=_0x326f,_0x498b1d=_0x2e430b(this);return _0x11194e&&_0x498b1d[_0x183104(0x19c)](_0x11194e),(!_0x498b1d[_0x183104(0x3d1)](_0x183104(0x1b2))||this[_0x183104(0x1b2)]===_0x498b1d[_0x183104(0x1b2)])&&(_0x498b1d[_0x183104(0x1b2)]=function(){var _0x1c8648=_0x183104;_0x498b1d['$super'][_0x1c8648(0x1b2)][_0x1c8648(0x1d1)](this,arguments);}),_0x498b1d[_0x183104(0x1b2)][_0x183104(0x14d)]=_0x498b1d,_0x498b1d[_0x183104(0x20a)]=this,_0x498b1d;},'create':function(){var _0x1a3f15=_0x326f,_0x11480e=this[_0x1a3f15(0x2ec)]();return _0x11480e[_0x1a3f15(0x1b2)][_0x1a3f15(0x1d1)](_0x11480e,arguments),_0x11480e;},'init':function(){},'mixIn':function(_0x13e76a){var _0x12cdd0=_0x326f;for(var _0x4d7315 in _0x13e76a)_0x13e76a[_0x12cdd0(0x3d1)](_0x4d7315)&&(this[_0x4d7315]=_0x13e76a[_0x4d7315]);_0x13e76a[_0x12cdd0(0x3d1)](_0x12cdd0(0x39c))&&(this[_0x12cdd0(0x39c)]=_0x13e76a[_0x12cdd0(0x39c)]);},'clone':function(){var _0x2b36bb=_0x326f;return this[_0x2b36bb(0x1b2)][_0x2b36bb(0x14d)]['extend'](this);}};}()),_0x2552e8=_0x1391fe[_0x20f916(0x1cb)]=_0x4b4f14['extend']({'init':function(_0x3030f3,_0x4197a2){var _0x4cee48=_0x20f916;_0x3030f3=this[_0x4cee48(0x177)]=_0x3030f3||[],_0x4197a2!=_0x3b30a5?this[_0x4cee48(0x266)]=_0x4197a2:this[_0x4cee48(0x266)]=_0x3030f3['length']*0x4;},'toString':function(_0x29e5ac){var _0x507a77=_0x20f916;return(_0x29e5ac||_0x579dc7)[_0x507a77(0x26d)](this);},'concat':function(_0x9f4f94){var _0x14cf3c=_0x20f916,_0x4a61fb=this['words'],_0x519e89=_0x9f4f94['words'],_0x51d8c5=this[_0x14cf3c(0x266)],_0x1b1b5c=_0x9f4f94[_0x14cf3c(0x266)];if(this[_0x14cf3c(0x2e1)](),_0x51d8c5%0x4)for(var _0x1ccad6=0x0;_0x1ccad6<_0x1b1b5c;_0x1ccad6++){var _0x30beb2=_0x519e89[_0x1ccad6>>>0x2]>>>0x18-_0x1ccad6%0x4*0x8&0xff;_0x4a61fb[_0x51d8c5+_0x1ccad6>>>0x2]|=_0x30beb2<<0x18-(_0x51d8c5+_0x1ccad6)%0x4*0x8;}else{for(var _0x15fc6a=0x0;_0x15fc6a<_0x1b1b5c;_0x15fc6a+=0x4)_0x4a61fb[_0x51d8c5+_0x15fc6a>>>0x2]=_0x519e89[_0x15fc6a>>>0x2];}return this[_0x14cf3c(0x266)]+=_0x1b1b5c,this;},'clamp':function(){var _0x11c836=_0x20f916,_0x1aa5ab=this[_0x11c836(0x177)],_0x298148=this[_0x11c836(0x266)];_0x1aa5ab[_0x298148>>>0x2]&=0xffffffff<<0x20-_0x298148%0x4*0x8,_0x1aa5ab[_0x11c836(0x1d8)]=_0x55ceb2[_0x11c836(0x15e)](_0x298148/0x4);},'clone':function(){var _0x7a7dc5=_0x20f916,_0x4ffa77=_0x4b4f14[_0x7a7dc5(0x399)][_0x7a7dc5(0x17a)](this);return _0x4ffa77[_0x7a7dc5(0x177)]=this[_0x7a7dc5(0x177)][_0x7a7dc5(0x171)](0x0),_0x4ffa77;},'random':function(_0x1051ab){var _0x1a7e0a=_0x20f916;for(var _0x2be580=[],_0x45c7e8=0x0;_0x45c7e8<_0x1051ab;_0x45c7e8+=0x4)_0x2be580['push'](_0x57b98f());return new _0x2552e8[(_0x1a7e0a(0x1b2))](_0x2be580,_0x1051ab);}}),_0x281d18=_0x5e1fe0['enc']={},_0x579dc7=_0x281d18[_0x20f916(0x2c1)]={'stringify':function(_0x1f6c93){var _0x201e63=_0x20f916;for(var _0x465d0d=_0x1f6c93[_0x201e63(0x177)],_0x17acfe=_0x1f6c93[_0x201e63(0x266)],_0x4d4fce=[],_0x21d470=0x0;_0x21d470<_0x17acfe;_0x21d470++){var _0x1d2f87=_0x465d0d[_0x21d470>>>0x2]>>>0x18-_0x21d470%0x4*0x8&0xff;_0x4d4fce[_0x201e63(0x403)]((_0x1d2f87>>>0x4)[_0x201e63(0x39c)](0x10)),_0x4d4fce[_0x201e63(0x403)]((_0x1d2f87&0xf)['toString'](0x10));}return _0x4d4fce[_0x201e63(0x152)]('');},'parse':function(_0x3e7a7d){var _0x45bca3=_0x20f916;for(var _0x522265=_0x3e7a7d[_0x45bca3(0x1d8)],_0x3a0035=[],_0x23edd8=0x0;_0x23edd8<_0x522265;_0x23edd8+=0x2)_0x3a0035[_0x23edd8>>>0x3]|=parseInt(_0x3e7a7d[_0x45bca3(0x3e9)](_0x23edd8,0x2),0x10)<<0x18-_0x23edd8%0x8*0x4;return new _0x2552e8[(_0x45bca3(0x1b2))](_0x3a0035,_0x522265/0x2);}},_0x2060cb=_0x281d18[_0x20f916(0x32c)]={'stringify':function(_0x12e217){var _0x1ae775=_0x20f916;for(var _0x5acae=_0x12e217[_0x1ae775(0x177)],_0x10851d=_0x12e217[_0x1ae775(0x266)],_0xca9e78=[],_0x12de41=0x0;_0x12de41<_0x10851d;_0x12de41++){var _0x49b2f8=_0x5acae[_0x12de41>>>0x2]>>>0x18-_0x12de41%0x4*0x8&0xff;_0xca9e78[_0x1ae775(0x403)](String['fromCharCode'](_0x49b2f8));}return _0xca9e78['join']('');},'parse':function(_0x8fe37b){var _0x21d1fa=_0x20f916;for(var _0x3b2ffc=_0x8fe37b[_0x21d1fa(0x1d8)],_0x238c41=[],_0x147ed2=0x0;_0x147ed2<_0x3b2ffc;_0x147ed2++)_0x238c41[_0x147ed2>>>0x2]|=(_0x8fe37b[_0x21d1fa(0x2eb)](_0x147ed2)&0xff)<<0x18-_0x147ed2%0x4*0x8;return new _0x2552e8[(_0x21d1fa(0x1b2))](_0x238c41,_0x3b2ffc);}},_0x7b5e5c=_0x281d18[_0x20f916(0x3de)]={'stringify':function(_0x3851ff){var _0x1a6a15=_0x20f916;try{return decodeURIComponent(escape(_0x2060cb[_0x1a6a15(0x26d)](_0x3851ff)));}catch{throw new Error(_0x1a6a15(0x2dc));}},'parse':function(_0xb167bc){return _0x2060cb['parse'](unescape(encodeURIComponent(_0xb167bc)));}},_0x245367=_0x1391fe[_0x20f916(0x160)]=_0x4b4f14['extend']({'reset':function(){var _0x3513a5=_0x20f916;this[_0x3513a5(0x24d)]=new _0x2552e8[(_0x3513a5(0x1b2))](),this[_0x3513a5(0x1f1)]=0x0;},'_append':function(_0x75dd15){var _0x48c776=_0x20f916;typeof _0x75dd15==_0x48c776(0x336)&&(_0x75dd15=_0x7b5e5c[_0x48c776(0x3e4)](_0x75dd15)),this[_0x48c776(0x24d)][_0x48c776(0x196)](_0x75dd15),this[_0x48c776(0x1f1)]+=_0x75dd15[_0x48c776(0x266)];},'_process':function(_0x33b2db){var _0x1f5816=_0x20f916,_0x47bfba,_0x5ef937=this[_0x1f5816(0x24d)],_0x2fc510=_0x5ef937[_0x1f5816(0x177)],_0x14c60e=_0x5ef937['sigBytes'],_0x253da8=this[_0x1f5816(0x15d)],_0xf9a996=_0x253da8*0x4,_0x103284=_0x14c60e/_0xf9a996;_0x33b2db?_0x103284=_0x55ceb2['ceil'](_0x103284):_0x103284=_0x55ceb2[_0x1f5816(0x2d8)]((_0x103284|0x0)-this['_minBufferSize'],0x0);var _0x21ef02=_0x103284*_0x253da8,_0x16b2aa=_0x55ceb2[_0x1f5816(0x139)](_0x21ef02*0x4,_0x14c60e);if(_0x21ef02){for(var _0x389861=0x0;_0x389861<_0x21ef02;_0x389861+=_0x253da8)this[_0x1f5816(0x1de)](_0x2fc510,_0x389861);_0x47bfba=_0x2fc510[_0x1f5816(0x332)](0x0,_0x21ef02),_0x5ef937[_0x1f5816(0x266)]-=_0x16b2aa;}return new _0x2552e8[(_0x1f5816(0x1b2))](_0x47bfba,_0x16b2aa);},'clone':function(){var _0x37537e=_0x20f916,_0x510b98=_0x4b4f14[_0x37537e(0x399)][_0x37537e(0x17a)](this);return _0x510b98['_data']=this[_0x37537e(0x24d)]['clone'](),_0x510b98;},'_minBufferSize':0x0});_0x1391fe[_0x20f916(0x320)]=_0x245367[_0x20f916(0x2ec)]({'cfg':_0x4b4f14[_0x20f916(0x2ec)](),'init':function(_0x23be8e){var _0x3672d7=_0x20f916;this[_0x3672d7(0x323)]=this[_0x3672d7(0x323)][_0x3672d7(0x2ec)](_0x23be8e),this[_0x3672d7(0x1d0)]();},'reset':function(){var _0xf7d68f=_0x20f916;_0x245367[_0xf7d68f(0x1d0)][_0xf7d68f(0x17a)](this),this[_0xf7d68f(0x28f)]();},'update':function(_0x1bb349){var _0x5d6361=_0x20f916;return this['_append'](_0x1bb349),this[_0x5d6361(0x28d)](),this;},'finalize':function(_0x4507f5){var _0x56d532=_0x20f916;_0x4507f5&&this['_append'](_0x4507f5);var _0x8a7b32=this[_0x56d532(0x37b)]();return _0x8a7b32;},'blockSize':0x10,'_createHelper':function(_0x28b3b1){return function(_0x4eef02,_0x367d4b){var _0x4d8201=_0x326f;return new _0x28b3b1[(_0x4d8201(0x1b2))](_0x367d4b)[_0x4d8201(0x12a)](_0x4eef02);};},'_createHmacHelper':function(_0x441ebd){return function(_0xf39cff,_0x29b12b){var _0x27c0b2=_0x326f;return new _0x1256f4[(_0x27c0b2(0x36a))]['init'](_0x441ebd,_0x29b12b)[_0x27c0b2(0x12a)](_0xf39cff);};}});var _0x1256f4=_0x5e1fe0[_0x20f916(0x3c3)]={};return _0x5e1fe0;}(Math);return _0x48d8af;}));}(Ge)),Ge[_0x52a505(0x3db)];}var We={'exports':{}},In=We[_0x228894(0x3db)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x274b96,_0x4eb291){(function(_0x1e9dc4,_0xa15356){var _0x27939c=_0x326f;_0x274b96[_0x27939c(0x3db)]=_0xa15356(ie());}(In,function(_0x2aa823){var _0xfee21d=_0x326f;return(function(){var _0x1d3c82=_0x326f,_0x17fa0d=_0x2aa823,_0x5c5774=_0x17fa0d[_0x1d3c82(0x424)],_0x4326f3=_0x5c5774[_0x1d3c82(0x1cb)],_0x4a9174=_0x17fa0d[_0x1d3c82(0x2e3)];_0x4a9174[_0x1d3c82(0x2c3)]={'stringify':function(_0x2b4d84){var _0x3170d2=_0x1d3c82,_0x1a8988=_0x2b4d84[_0x3170d2(0x177)],_0x45bf5e=_0x2b4d84[_0x3170d2(0x266)],_0x39ce97=this[_0x3170d2(0x25c)];_0x2b4d84['clamp']();for(var _0x5ac426=[],_0xe6d532=0x0;_0xe6d532<_0x45bf5e;_0xe6d532+=0x3)for(var _0x29ae55=_0x1a8988[_0xe6d532>>>0x2]>>>0x18-_0xe6d532%0x4*0x8&0xff,_0x414559=_0x1a8988[_0xe6d532+0x1>>>0x2]>>>0x18-(_0xe6d532+0x1)%0x4*0x8&0xff,_0x15ceb9=_0x1a8988[_0xe6d532+0x2>>>0x2]>>>0x18-(_0xe6d532+0x2)%0x4*0x8&0xff,_0x24b8d4=_0x29ae55<<0x10|_0x414559<<0x8|_0x15ceb9,_0x404499=0x0;_0x404499<0x4&&_0xe6d532+_0x404499*0.75<_0x45bf5e;_0x404499++)_0x5ac426['push'](_0x39ce97['charAt'](_0x24b8d4>>>0x6*(0x3-_0x404499)&0x3f));var _0x55347d=_0x39ce97[_0x3170d2(0x327)](0x40);if(_0x55347d){for(;_0x5ac426[_0x3170d2(0x1d8)]%0x4;)_0x5ac426['push'](_0x55347d);}return _0x5ac426[_0x3170d2(0x152)]('');},'parse':function(_0x50afe2){var _0x487a7a=_0x1d3c82,_0x424b0a=_0x50afe2['length'],_0x2711c0=this[_0x487a7a(0x25c)],_0x1996ce=this[_0x487a7a(0x1c2)];if(!_0x1996ce){_0x1996ce=this[_0x487a7a(0x1c2)]=[];for(var _0x193bfc=0x0;_0x193bfc<_0x2711c0['length'];_0x193bfc++)_0x1996ce[_0x2711c0[_0x487a7a(0x2eb)](_0x193bfc)]=_0x193bfc;}var _0x19b6da=_0x2711c0['charAt'](0x40);if(_0x19b6da){var _0x52bde1=_0x50afe2[_0x487a7a(0x31a)](_0x19b6da);_0x52bde1!==-0x1&&(_0x424b0a=_0x52bde1);}return _0x5f24ef(_0x50afe2,_0x424b0a,_0x1996ce);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f24ef(_0x2ab63e,_0x50645a,_0x125f7f){var _0x3152d9=_0x1d3c82;for(var _0x2c3320=[],_0x33839f=0x0,_0x1fbb16=0x0;_0x1fbb16<_0x50645a;_0x1fbb16++)if(_0x1fbb16%0x4){var _0x40f62f=_0x125f7f[_0x2ab63e[_0x3152d9(0x2eb)](_0x1fbb16-0x1)]<<_0x1fbb16%0x4*0x2,_0x8138d6=_0x125f7f[_0x2ab63e['charCodeAt'](_0x1fbb16)]>>>0x6-_0x1fbb16%0x4*0x2,_0xfbfd05=_0x40f62f|_0x8138d6;_0x2c3320[_0x33839f>>>0x2]|=_0xfbfd05<<0x18-_0x33839f%0x4*0x8,_0x33839f++;}return _0x4326f3[_0x3152d9(0x1a4)](_0x2c3320,_0x33839f);}}()),_0x2aa823['enc'][_0xfee21d(0x2c3)];}));}(We)),We['exports'];}var Ke={'exports':{}},Tn=Ke[_0x228894(0x3db)],Qt;function Cn(){var _0x24dda6=_0x228894;return Qt||(Qt=0x1,function(_0x5a8a6a,_0x5c2a55){(function(_0x1d89c9,_0x1ef8d6){_0x5a8a6a['exports']=_0x1ef8d6(ie());}(Tn,function(_0xd5c703){var _0x588a45=_0x326f;return function(_0x1ab594){var _0x3ece9c=_0x326f,_0x595f2f=_0xd5c703,_0x40837d=_0x595f2f['lib'],_0x403f34=_0x40837d['WordArray'],_0x480aeb=_0x40837d[_0x3ece9c(0x320)],_0x430a81=_0x595f2f[_0x3ece9c(0x3c3)],_0x5e5093=[];(function(){var _0x2aec3f=_0x3ece9c;for(var _0x122c7a=0x0;_0x122c7a<0x40;_0x122c7a++)_0x5e5093[_0x122c7a]=_0x1ab594[_0x2aec3f(0x19f)](_0x1ab594[_0x2aec3f(0x179)](_0x122c7a+0x1))*0x100000000|0x0;}());var _0x59cda9=_0x430a81[_0x3ece9c(0x1c5)]=_0x480aeb[_0x3ece9c(0x2ec)]({'_doReset':function(){var _0x2088c5=_0x3ece9c;this[_0x2088c5(0x22b)]=new _0x403f34[(_0x2088c5(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c7a83,_0x55a0ea){var _0x4a5566=_0x3ece9c;for(var _0x2790fb=0x0;_0x2790fb<0x10;_0x2790fb++){var _0x3c1094=_0x55a0ea+_0x2790fb,_0x255ccf=_0x4c7a83[_0x3c1094];_0x4c7a83[_0x3c1094]=(_0x255ccf<<0x8|_0x255ccf>>>0x18)&0xff00ff|(_0x255ccf<<0x18|_0x255ccf>>>0x8)&0xff00ff00;}var _0x463ba4=this['_hash'][_0x4a5566(0x177)],_0x30c7ef=_0x4c7a83[_0x55a0ea+0x0],_0x1470b9=_0x4c7a83[_0x55a0ea+0x1],_0x33623b=_0x4c7a83[_0x55a0ea+0x2],_0x3699e9=_0x4c7a83[_0x55a0ea+0x3],_0x49d134=_0x4c7a83[_0x55a0ea+0x4],_0x1e2926=_0x4c7a83[_0x55a0ea+0x5],_0x4cbfd6=_0x4c7a83[_0x55a0ea+0x6],_0x189ccd=_0x4c7a83[_0x55a0ea+0x7],_0x2d49c6=_0x4c7a83[_0x55a0ea+0x8],_0xd67503=_0x4c7a83[_0x55a0ea+0x9],_0x52604f=_0x4c7a83[_0x55a0ea+0xa],_0x4d4ed4=_0x4c7a83[_0x55a0ea+0xb],_0x3010ac=_0x4c7a83[_0x55a0ea+0xc],_0x3f50e3=_0x4c7a83[_0x55a0ea+0xd],_0x347771=_0x4c7a83[_0x55a0ea+0xe],_0x11377b=_0x4c7a83[_0x55a0ea+0xf],_0x1c4b1f=_0x463ba4[0x0],_0x1f4057=_0x463ba4[0x1],_0x33867c=_0x463ba4[0x2],_0x333342=_0x463ba4[0x3];_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x30c7ef,0x7,_0x5e5093[0x0]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x1470b9,0xc,_0x5e5093[0x1]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x33623b,0x11,_0x5e5093[0x2]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3699e9,0x16,_0x5e5093[0x3]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x49d134,0x7,_0x5e5093[0x4]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x1e2926,0xc,_0x5e5093[0x5]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4cbfd6,0x11,_0x5e5093[0x6]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x189ccd,0x16,_0x5e5093[0x7]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x2d49c6,0x7,_0x5e5093[0x8]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0xd67503,0xc,_0x5e5093[0x9]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x52604f,0x11,_0x5e5093[0xa]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x4d4ed4,0x16,_0x5e5093[0xb]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3010ac,0x7,_0x5e5093[0xc]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3f50e3,0xc,_0x5e5093[0xd]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x347771,0x11,_0x5e5093[0xe]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x11377b,0x16,_0x5e5093[0xf]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1470b9,0x5,_0x5e5093[0x10]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x4cbfd6,0x9,_0x5e5093[0x11]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4d4ed4,0xe,_0x5e5093[0x12]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x30c7ef,0x14,_0x5e5093[0x13]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1e2926,0x5,_0x5e5093[0x14]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x52604f,0x9,_0x5e5093[0x15]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x11377b,0xe,_0x5e5093[0x16]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x49d134,0x14,_0x5e5093[0x17]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0xd67503,0x5,_0x5e5093[0x18]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x347771,0x9,_0x5e5093[0x19]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x3699e9,0xe,_0x5e5093[0x1a]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x2d49c6,0x14,_0x5e5093[0x1b]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3f50e3,0x5,_0x5e5093[0x1c]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x33623b,0x9,_0x5e5093[0x1d]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x189ccd,0xe,_0x5e5093[0x1e]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3010ac,0x14,_0x5e5093[0x1f]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1e2926,0x4,_0x5e5093[0x20]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x2d49c6,0xb,_0x5e5093[0x21]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4d4ed4,0x10,_0x5e5093[0x22]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x347771,0x17,_0x5e5093[0x23]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1470b9,0x4,_0x5e5093[0x24]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x49d134,0xb,_0x5e5093[0x25]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x189ccd,0x10,_0x5e5093[0x26]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x52604f,0x17,_0x5e5093[0x27]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3f50e3,0x4,_0x5e5093[0x28]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x30c7ef,0xb,_0x5e5093[0x29]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x3699e9,0x10,_0x5e5093[0x2a]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x4cbfd6,0x17,_0x5e5093[0x2b]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0xd67503,0x4,_0x5e5093[0x2c]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3010ac,0xb,_0x5e5093[0x2d]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x11377b,0x10,_0x5e5093[0x2e]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x33623b,0x17,_0x5e5093[0x2f]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x30c7ef,0x6,_0x5e5093[0x30]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x189ccd,0xa,_0x5e5093[0x31]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x347771,0xf,_0x5e5093[0x32]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x1e2926,0x15,_0x5e5093[0x33]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3010ac,0x6,_0x5e5093[0x34]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3699e9,0xa,_0x5e5093[0x35]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x52604f,0xf,_0x5e5093[0x36]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x1470b9,0x15,_0x5e5093[0x37]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x2d49c6,0x6,_0x5e5093[0x38]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x11377b,0xa,_0x5e5093[0x39]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4cbfd6,0xf,_0x5e5093[0x3a]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3f50e3,0x15,_0x5e5093[0x3b]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x49d134,0x6,_0x5e5093[0x3c]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x4d4ed4,0xa,_0x5e5093[0x3d]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x33623b,0xf,_0x5e5093[0x3e]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0xd67503,0x15,_0x5e5093[0x3f]),_0x463ba4[0x0]=_0x463ba4[0x0]+_0x1c4b1f|0x0,_0x463ba4[0x1]=_0x463ba4[0x1]+_0x1f4057|0x0,_0x463ba4[0x2]=_0x463ba4[0x2]+_0x33867c|0x0,_0x463ba4[0x3]=_0x463ba4[0x3]+_0x333342|0x0;},'_doFinalize':function(){var _0x4b469f=_0x3ece9c,_0x3caf91=this[_0x4b469f(0x24d)],_0x199d64=_0x3caf91['words'],_0x1fadb1=this[_0x4b469f(0x1f1)]*0x8,_0x29474f=_0x3caf91[_0x4b469f(0x266)]*0x8;_0x199d64[_0x29474f>>>0x5]|=0x80<<0x18-_0x29474f%0x20;var _0x9aeefd=_0x1ab594['floor'](_0x1fadb1/0x100000000),_0x11779a=_0x1fadb1;_0x199d64[(_0x29474f+0x40>>>0x9<<0x4)+0xf]=(_0x9aeefd<<0x8|_0x9aeefd>>>0x18)&0xff00ff|(_0x9aeefd<<0x18|_0x9aeefd>>>0x8)&0xff00ff00,_0x199d64[(_0x29474f+0x40>>>0x9<<0x4)+0xe]=(_0x11779a<<0x8|_0x11779a>>>0x18)&0xff00ff|(_0x11779a<<0x18|_0x11779a>>>0x8)&0xff00ff00,_0x3caf91['sigBytes']=(_0x199d64['length']+0x1)*0x4,this[_0x4b469f(0x28d)]();for(var _0x2c37ee=this[_0x4b469f(0x22b)],_0x21228d=_0x2c37ee['words'],_0x1ddeed=0x0;_0x1ddeed<0x4;_0x1ddeed++){var _0xed65d3=_0x21228d[_0x1ddeed];_0x21228d[_0x1ddeed]=(_0xed65d3<<0x8|_0xed65d3>>>0x18)&0xff00ff|(_0xed65d3<<0x18|_0xed65d3>>>0x8)&0xff00ff00;}return _0x2c37ee;},'clone':function(){var _0x5b87bc=_0x3ece9c,_0x281e6c=_0x480aeb['clone'][_0x5b87bc(0x17a)](this);return _0x281e6c[_0x5b87bc(0x22b)]=this[_0x5b87bc(0x22b)][_0x5b87bc(0x399)](),_0x281e6c;}});function _0x2023a9(_0x14ef84,_0x4a06e1,_0x382638,_0x19d7aa,_0x372d71,_0xf68f02,_0x451c7c){var _0x441db9=_0x14ef84+(_0x4a06e1&_0x382638|~_0x4a06e1&_0x19d7aa)+_0x372d71+_0x451c7c;return(_0x441db9<<_0xf68f02|_0x441db9>>>0x20-_0xf68f02)+_0x4a06e1;}function _0x3513f4(_0x37e622,_0x1b01a6,_0x14a22e,_0x3044dc,_0xa13d0f,_0x75a127,_0xcc1c34){var _0x36672f=_0x37e622+(_0x1b01a6&_0x3044dc|_0x14a22e&~_0x3044dc)+_0xa13d0f+_0xcc1c34;return(_0x36672f<<_0x75a127|_0x36672f>>>0x20-_0x75a127)+_0x1b01a6;}function _0x1aeedb(_0x53e6a9,_0x395c59,_0x5ed94f,_0x214fc8,_0x2f00a7,_0x510e43,_0x116282){var _0x4b1d62=_0x53e6a9+(_0x395c59^_0x5ed94f^_0x214fc8)+_0x2f00a7+_0x116282;return(_0x4b1d62<<_0x510e43|_0x4b1d62>>>0x20-_0x510e43)+_0x395c59;}function _0x63a6ee(_0x484801,_0x407188,_0xb93653,_0x168590,_0x46b03f,_0x1610f0,_0x2af4a0){var _0x25fb71=_0x484801+(_0xb93653^(_0x407188|~_0x168590))+_0x46b03f+_0x2af4a0;return(_0x25fb71<<_0x1610f0|_0x25fb71>>>0x20-_0x1610f0)+_0x407188;}_0x595f2f[_0x3ece9c(0x1c5)]=_0x480aeb[_0x3ece9c(0x2d9)](_0x59cda9),_0x595f2f[_0x3ece9c(0x15f)]=_0x480aeb[_0x3ece9c(0x287)](_0x59cda9);}(Math),_0xd5c703[_0x588a45(0x1c5)];}));}(Ke)),Ke[_0x24dda6(0x3db)];}var Ye={'exports':{}},qe={'exports':{}},Rn=qe['exports'],ei;function bn(){return ei||(ei=0x1,function(_0x4759e8,_0x2ddbe6){(function(_0x481284,_0x4e201b){var _0x49ebb6=_0x326f;_0x4759e8[_0x49ebb6(0x3db)]=_0x4e201b(ie());}(Rn,function(_0x40b6c9){return(function(){var _0x39067d=_0x326f,_0x2b21f3=_0x40b6c9,_0x16606d=_0x2b21f3[_0x39067d(0x424)],_0x540426=_0x16606d[_0x39067d(0x1cb)],_0x5ef132=_0x16606d[_0x39067d(0x320)],_0x460c31=_0x2b21f3['algo'],_0x5d7865=[],_0x17c39d=_0x460c31[_0x39067d(0x3c9)]=_0x5ef132[_0x39067d(0x2ec)]({'_doReset':function(){var _0x24f4fe=_0x39067d;this[_0x24f4fe(0x22b)]=new _0x540426[(_0x24f4fe(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cf19d,_0x37a4fd){var _0x1d3032=_0x39067d;for(var _0x2cfd76=this[_0x1d3032(0x22b)][_0x1d3032(0x177)],_0x2ee1ef=_0x2cfd76[0x0],_0x1f85da=_0x2cfd76[0x1],_0x1e69f5=_0x2cfd76[0x2],_0x398585=_0x2cfd76[0x3],_0x171985=_0x2cfd76[0x4],_0x470bc7=0x0;_0x470bc7<0x50;_0x470bc7++){if(_0x470bc7<0x10)_0x5d7865[_0x470bc7]=_0x1cf19d[_0x37a4fd+_0x470bc7]|0x0;else{var _0x39744e=_0x5d7865[_0x470bc7-0x3]^_0x5d7865[_0x470bc7-0x8]^_0x5d7865[_0x470bc7-0xe]^_0x5d7865[_0x470bc7-0x10];_0x5d7865[_0x470bc7]=_0x39744e<<0x1|_0x39744e>>>0x1f;}var _0x4cfe99=(_0x2ee1ef<<0x5|_0x2ee1ef>>>0x1b)+_0x171985+_0x5d7865[_0x470bc7];_0x470bc7<0x14?_0x4cfe99+=(_0x1f85da&_0x1e69f5|~_0x1f85da&_0x398585)+0x5a827999:_0x470bc7<0x28?_0x4cfe99+=(_0x1f85da^_0x1e69f5^_0x398585)+0x6ed9eba1:_0x470bc7<0x3c?_0x4cfe99+=(_0x1f85da&_0x1e69f5|_0x1f85da&_0x398585|_0x1e69f5&_0x398585)-0x70e44324:_0x4cfe99+=(_0x1f85da^_0x1e69f5^_0x398585)-0x359d3e2a,_0x171985=_0x398585,_0x398585=_0x1e69f5,_0x1e69f5=_0x1f85da<<0x1e|_0x1f85da>>>0x2,_0x1f85da=_0x2ee1ef,_0x2ee1ef=_0x4cfe99;}_0x2cfd76[0x0]=_0x2cfd76[0x0]+_0x2ee1ef|0x0,_0x2cfd76[0x1]=_0x2cfd76[0x1]+_0x1f85da|0x0,_0x2cfd76[0x2]=_0x2cfd76[0x2]+_0x1e69f5|0x0,_0x2cfd76[0x3]=_0x2cfd76[0x3]+_0x398585|0x0,_0x2cfd76[0x4]=_0x2cfd76[0x4]+_0x171985|0x0;},'_doFinalize':function(){var _0x171627=_0x39067d,_0x321d9d=this['_data'],_0x583589=_0x321d9d['words'],_0x26be33=this[_0x171627(0x1f1)]*0x8,_0x1da99a=_0x321d9d['sigBytes']*0x8;return _0x583589[_0x1da99a>>>0x5]|=0x80<<0x18-_0x1da99a%0x20,_0x583589[(_0x1da99a+0x40>>>0x9<<0x4)+0xe]=Math[_0x171627(0x434)](_0x26be33/0x100000000),_0x583589[(_0x1da99a+0x40>>>0x9<<0x4)+0xf]=_0x26be33,_0x321d9d[_0x171627(0x266)]=_0x583589[_0x171627(0x1d8)]*0x4,this[_0x171627(0x28d)](),this['_hash'];},'clone':function(){var _0x339c41=_0x39067d,_0x9e9b4f=_0x5ef132['clone'][_0x339c41(0x17a)](this);return _0x9e9b4f['_hash']=this[_0x339c41(0x22b)][_0x339c41(0x399)](),_0x9e9b4f;}});_0x2b21f3[_0x39067d(0x3c9)]=_0x5ef132['_createHelper'](_0x17c39d),_0x2b21f3[_0x39067d(0x42b)]=_0x5ef132[_0x39067d(0x287)](_0x17c39d);}()),_0x40b6c9['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},yn=ze[_0x228894(0x3db)],ti;function On(){var _0x154be6=_0x228894;return ti||(ti=0x1,function(_0x5beb43,_0x453917){(function(_0x2d2e87,_0x317e55){var _0x5a33a3=_0x326f;_0x5beb43[_0x5a33a3(0x3db)]=_0x317e55(ie());}(yn,function(_0x55b0a8){(function(){var _0x2cafeb=_0x326f,_0x29ca77=_0x55b0a8,_0x1b919b=_0x29ca77['lib'],_0x14b674=_0x1b919b[_0x2cafeb(0x304)],_0x40cfe7=_0x29ca77['enc'],_0x7ac483=_0x40cfe7[_0x2cafeb(0x3de)],_0x2e747f=_0x29ca77[_0x2cafeb(0x3c3)];_0x2e747f[_0x2cafeb(0x36a)]=_0x14b674[_0x2cafeb(0x2ec)]({'init':function(_0x5c1b4b,_0x4df9a3){var _0x5c2d38=_0x2cafeb;_0x5c1b4b=this[_0x5c2d38(0x321)]=new _0x5c1b4b[(_0x5c2d38(0x1b2))](),typeof _0x4df9a3==_0x5c2d38(0x336)&&(_0x4df9a3=_0x7ac483[_0x5c2d38(0x3e4)](_0x4df9a3));var _0x5ea41e=_0x5c1b4b[_0x5c2d38(0x15d)],_0x3aaf83=_0x5ea41e*0x4;_0x4df9a3[_0x5c2d38(0x266)]>_0x3aaf83&&(_0x4df9a3=_0x5c1b4b[_0x5c2d38(0x12a)](_0x4df9a3)),_0x4df9a3[_0x5c2d38(0x2e1)]();for(var _0x42a322=this['_oKey']=_0x4df9a3[_0x5c2d38(0x399)](),_0x250137=this[_0x5c2d38(0x3d0)]=_0x4df9a3['clone'](),_0x10cdf5=_0x42a322[_0x5c2d38(0x177)],_0x21a717=_0x250137[_0x5c2d38(0x177)],_0x5371a2=0x0;_0x5371a2<_0x5ea41e;_0x5371a2++)_0x10cdf5[_0x5371a2]^=0x5c5c5c5c,_0x21a717[_0x5371a2]^=0x36363636;_0x42a322[_0x5c2d38(0x266)]=_0x250137[_0x5c2d38(0x266)]=_0x3aaf83,this[_0x5c2d38(0x1d0)]();},'reset':function(){var _0x37b700=_0x2cafeb,_0x2dea8f=this['_hasher'];_0x2dea8f[_0x37b700(0x1d0)](),_0x2dea8f[_0x37b700(0x431)](this[_0x37b700(0x3d0)]);},'update':function(_0x342075){var _0x14e847=_0x2cafeb;return this[_0x14e847(0x321)]['update'](_0x342075),this;},'finalize':function(_0x4a08af){var _0x5e1076=_0x2cafeb,_0x47a2ce=this['_hasher'],_0x415b6d=_0x47a2ce[_0x5e1076(0x12a)](_0x4a08af);_0x47a2ce['reset']();var _0x171f34=_0x47a2ce[_0x5e1076(0x12a)](this[_0x5e1076(0x161)][_0x5e1076(0x399)]()[_0x5e1076(0x196)](_0x415b6d));return _0x171f34;}});}());}));}(ze)),ze[_0x154be6(0x3db)];}var Nn=Ye['exports'],ii;function Ui(){var _0x3061c8=_0x228894;return ii||(ii=0x1,function(_0xd3f7ed,_0xfd4bee){(function(_0x1d3c4d,_0x2c67bf,_0x57b634){_0xd3f7ed['exports']=_0x2c67bf(ie(),bn(),On());}(Nn,function(_0x4a6b0a){var _0x20d3b9=_0x326f;return(function(){var _0x4fbd49=_0x326f,_0x4fef74=_0x4a6b0a,_0x14dd29=_0x4fef74[_0x4fbd49(0x424)],_0x5c27b9=_0x14dd29[_0x4fbd49(0x304)],_0x3a1315=_0x14dd29[_0x4fbd49(0x1cb)],_0x5042fd=_0x4fef74['algo'],_0x59b812=_0x5042fd[_0x4fbd49(0x1c5)],_0x466c9f=_0x5042fd['EvpKDF']=_0x5c27b9['extend']({'cfg':_0x5c27b9[_0x4fbd49(0x2ec)]({'keySize':0x80/0x20,'hasher':_0x59b812,'iterations':0x1}),'init':function(_0x3fd5e8){var _0x18b906=_0x4fbd49;this[_0x18b906(0x323)]=this[_0x18b906(0x323)]['extend'](_0x3fd5e8);},'compute':function(_0x306d4e,_0x54c72d){var _0x5bc156=_0x4fbd49;for(var _0xbf860a,_0x1c718e=this['cfg'],_0x5586fe=_0x1c718e['hasher'][_0x5bc156(0x1a4)](),_0x46b07a=_0x3a1315[_0x5bc156(0x1a4)](),_0x52c58a=_0x46b07a[_0x5bc156(0x177)],_0xfdb035=_0x1c718e['keySize'],_0x6b08ef=_0x1c718e[_0x5bc156(0x29d)];_0x52c58a[_0x5bc156(0x1d8)]<_0xfdb035;){_0xbf860a&&_0x5586fe['update'](_0xbf860a),_0xbf860a=_0x5586fe[_0x5bc156(0x431)](_0x306d4e)[_0x5bc156(0x12a)](_0x54c72d),_0x5586fe['reset']();for(var _0x38c706=0x1;_0x38c706<_0x6b08ef;_0x38c706++)_0xbf860a=_0x5586fe['finalize'](_0xbf860a),_0x5586fe[_0x5bc156(0x1d0)]();_0x46b07a['concat'](_0xbf860a);}return _0x46b07a[_0x5bc156(0x266)]=_0xfdb035*0x4,_0x46b07a;}});_0x4fef74['EvpKDF']=function(_0x80925f,_0x1b95a2,_0x5f21f6){return _0x466c9f['create'](_0x5f21f6)['compute'](_0x80925f,_0x1b95a2);};}()),_0x4a6b0a[_0x20d3b9(0x17c)];}));}(Ye)),Ye[_0x3061c8(0x3db)];}var Je={'exports':{}},Dn=Je[_0x228894(0x3db)],ri;function wi(){var _0x1d71d7=_0x228894;return ri||(ri=0x1,function(_0xaf1b4b,_0x20cb8a){(function(_0x5471cc,_0x440382,_0x479747){_0xaf1b4b['exports']=_0x440382(ie(),Ui());}(Dn,function(_0x59069d){var _0x2bcd77=_0x326f;_0x59069d['lib'][_0x2bcd77(0x1c4)]||function(_0x7347b2){var _0x2d4dba=_0x2bcd77,_0x31afea=_0x59069d,_0x2506d3=_0x31afea[_0x2d4dba(0x424)],_0x284612=_0x2506d3[_0x2d4dba(0x304)],_0x28e2ed=_0x2506d3[_0x2d4dba(0x1cb)],_0x1924c5=_0x2506d3['BufferedBlockAlgorithm'],_0x356cc9=_0x31afea[_0x2d4dba(0x2e3)];_0x356cc9[_0x2d4dba(0x3de)];var _0x19f571=_0x356cc9[_0x2d4dba(0x2c3)],_0x3ddef1=_0x31afea[_0x2d4dba(0x3c3)],_0x289ecd=_0x3ddef1[_0x2d4dba(0x17c)],_0x253a14=_0x2506d3[_0x2d4dba(0x1c4)]=_0x1924c5[_0x2d4dba(0x2ec)]({'cfg':_0x284612[_0x2d4dba(0x2ec)](),'createEncryptor':function(_0x5cb276,_0x576b1a){var _0x2aca39=_0x2d4dba;return this[_0x2aca39(0x1a4)](this[_0x2aca39(0x249)],_0x5cb276,_0x576b1a);},'createDecryptor':function(_0x47c766,_0x5c18b1){var _0x1349b6=_0x2d4dba;return this[_0x1349b6(0x1a4)](this['_DEC_XFORM_MODE'],_0x47c766,_0x5c18b1);},'init':function(_0x16a766,_0x105f4c,_0x45de92){var _0x28c7fc=_0x2d4dba;this[_0x28c7fc(0x323)]=this['cfg'][_0x28c7fc(0x2ec)](_0x45de92),this['_xformMode']=_0x16a766,this[_0x28c7fc(0x14f)]=_0x105f4c,this['reset']();},'reset':function(){var _0x2ab88f=_0x2d4dba;_0x1924c5[_0x2ab88f(0x1d0)]['call'](this),this['_doReset']();},'process':function(_0x5a5a05){var _0x20f27a=_0x2d4dba;return this[_0x20f27a(0x3a3)](_0x5a5a05),this[_0x20f27a(0x28d)]();},'finalize':function(_0x4764c4){_0x4764c4&&this['_append'](_0x4764c4);var _0x5bf4e1=this['_doFinalize']();return _0x5bf4e1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1565e5(_0x21497e){var _0x48ce54=_0x326f;return typeof _0x21497e==_0x48ce54(0x336)?_0x5cdecc:_0x224e9a;}return function(_0x247a58){return{'encrypt':function(_0x21768e,_0x18fc63,_0x9ffd7){var _0x54de44=_0x326f;return _0x1565e5(_0x18fc63)[_0x54de44(0x2a3)](_0x247a58,_0x21768e,_0x18fc63,_0x9ffd7);},'decrypt':function(_0x17767c,_0x489101,_0x48bca8){var _0x3b1c57=_0x326f;return _0x1565e5(_0x489101)[_0x3b1c57(0x371)](_0x247a58,_0x17767c,_0x489101,_0x48bca8);}};};}())});_0x2506d3['StreamCipher']=_0x253a14[_0x2d4dba(0x2ec)]({'_doFinalize':function(){var _0x529293=_0x2d4dba,_0x84832f=this[_0x529293(0x28d)](!0x0);return _0x84832f;},'blockSize':0x1});var _0x554c55=_0x31afea[_0x2d4dba(0x1da)]={},_0x34a4be=_0x2506d3[_0x2d4dba(0x31c)]=_0x284612[_0x2d4dba(0x2ec)]({'createEncryptor':function(_0x55ba9c,_0x3852bb){var _0x2b2e3e=_0x2d4dba;return this[_0x2b2e3e(0x298)]['create'](_0x55ba9c,_0x3852bb);},'createDecryptor':function(_0x2f229f,_0x1ff1da){var _0x5565be=_0x2d4dba;return this['Decryptor'][_0x5565be(0x1a4)](_0x2f229f,_0x1ff1da);},'init':function(_0xdc6ce0,_0x2dbb40){var _0x4d3b83=_0x2d4dba;this['_cipher']=_0xdc6ce0,this[_0x4d3b83(0x1ce)]=_0x2dbb40;}}),_0x2a02ef=_0x554c55[_0x2d4dba(0x42c)]=(function(){var _0x5bb30e=_0x2d4dba,_0x512b2b=_0x34a4be[_0x5bb30e(0x2ec)]();_0x512b2b['Encryptor']=_0x512b2b[_0x5bb30e(0x2ec)]({'processBlock':function(_0x257b92,_0x336d13){var _0x22f875=_0x5bb30e,_0x44b44c=this[_0x22f875(0x361)],_0x1fc13c=_0x44b44c[_0x22f875(0x15d)];_0x136455[_0x22f875(0x17a)](this,_0x257b92,_0x336d13,_0x1fc13c),_0x44b44c[_0x22f875(0x2bc)](_0x257b92,_0x336d13),this[_0x22f875(0x2af)]=_0x257b92[_0x22f875(0x171)](_0x336d13,_0x336d13+_0x1fc13c);}}),_0x512b2b[_0x5bb30e(0x3df)]=_0x512b2b[_0x5bb30e(0x2ec)]({'processBlock':function(_0x523c2c,_0x106ef0){var _0x5071fe=_0x5bb30e,_0x36d10b=this['_cipher'],_0x176e77=_0x36d10b[_0x5071fe(0x15d)],_0x5dd59c=_0x523c2c[_0x5071fe(0x171)](_0x106ef0,_0x106ef0+_0x176e77);_0x36d10b[_0x5071fe(0x397)](_0x523c2c,_0x106ef0),_0x136455['call'](this,_0x523c2c,_0x106ef0,_0x176e77),this[_0x5071fe(0x2af)]=_0x5dd59c;}});function _0x136455(_0xf0932,_0x390126,_0x3f02b4){var _0x1d9130=_0x5bb30e,_0x451cbc,_0x57010d=this[_0x1d9130(0x1ce)];_0x57010d?(_0x451cbc=_0x57010d,this['_iv']=_0x7347b2):_0x451cbc=this['_prevBlock'];for(var _0x5263c0=0x0;_0x5263c0<_0x3f02b4;_0x5263c0++)_0xf0932[_0x390126+_0x5263c0]^=_0x451cbc[_0x5263c0];}return _0x512b2b;}()),_0x3d098b=_0x31afea[_0x2d4dba(0x415)]={},_0x51f8ab=_0x3d098b['Pkcs7']={'pad':function(_0x3ed271,_0x33249c){var _0x33bf23=_0x2d4dba;for(var _0x58d8fa=_0x33249c*0x4,_0x47c61f=_0x58d8fa-_0x3ed271[_0x33bf23(0x266)]%_0x58d8fa,_0x1cf834=_0x47c61f<<0x18|_0x47c61f<<0x10|_0x47c61f<<0x8|_0x47c61f,_0x44803b=[],_0x1b824d=0x0;_0x1b824d<_0x47c61f;_0x1b824d+=0x4)_0x44803b[_0x33bf23(0x403)](_0x1cf834);var _0x5ebb67=_0x28e2ed['create'](_0x44803b,_0x47c61f);_0x3ed271[_0x33bf23(0x196)](_0x5ebb67);},'unpad':function(_0x59a803){var _0x5475d4=_0x2d4dba,_0x149c4e=_0x59a803[_0x5475d4(0x177)][_0x59a803[_0x5475d4(0x266)]-0x1>>>0x2]&0xff;_0x59a803[_0x5475d4(0x266)]-=_0x149c4e;}};_0x2506d3[_0x2d4dba(0x13e)]=_0x253a14[_0x2d4dba(0x2ec)]({'cfg':_0x253a14[_0x2d4dba(0x323)][_0x2d4dba(0x2ec)]({'mode':_0x2a02ef,'padding':_0x51f8ab}),'reset':function(){var _0x2f9831=_0x2d4dba,_0x5a9129;_0x253a14['reset'][_0x2f9831(0x17a)](this);var _0x58056d=this[_0x2f9831(0x323)],_0x113a36=_0x58056d['iv'],_0xd7eee8=_0x58056d[_0x2f9831(0x1da)];this[_0x2f9831(0x34c)]==this[_0x2f9831(0x249)]?_0x5a9129=_0xd7eee8['createEncryptor']:(_0x5a9129=_0xd7eee8[_0x2f9831(0x223)],this[_0x2f9831(0x3e2)]=0x1),this[_0x2f9831(0x319)]&&this[_0x2f9831(0x319)][_0x2f9831(0x1c3)]==_0x5a9129?this[_0x2f9831(0x319)][_0x2f9831(0x1b2)](this,_0x113a36&&_0x113a36['words']):(this['_mode']=_0x5a9129['call'](_0xd7eee8,this,_0x113a36&&_0x113a36[_0x2f9831(0x177)]),this[_0x2f9831(0x319)][_0x2f9831(0x1c3)]=_0x5a9129);},'_doProcessBlock':function(_0x5be4ca,_0x7d6902){this['_mode']['processBlock'](_0x5be4ca,_0x7d6902);},'_doFinalize':function(){var _0x280946=_0x2d4dba,_0x28c923,_0x410e5b=this[_0x280946(0x323)][_0x280946(0x29c)];return this['_xformMode']==this[_0x280946(0x249)]?(_0x410e5b[_0x280946(0x415)](this[_0x280946(0x24d)],this['blockSize']),_0x28c923=this[_0x280946(0x28d)](!0x0)):(_0x28c923=this[_0x280946(0x28d)](!0x0),_0x410e5b[_0x280946(0x3bf)](_0x28c923)),_0x28c923;},'blockSize':0x80/0x20});var _0x5b777c=_0x2506d3[_0x2d4dba(0x311)]=_0x284612[_0x2d4dba(0x2ec)]({'init':function(_0x282ca6){var _0x262c8f=_0x2d4dba;this[_0x262c8f(0x19c)](_0x282ca6);},'toString':function(_0x497163){var _0x4b919d=_0x2d4dba;return(_0x497163||this[_0x4b919d(0x3ef)])[_0x4b919d(0x26d)](this);}}),_0x3e8720=_0x31afea[_0x2d4dba(0x3c1)]={},_0x3e6ff7=_0x3e8720[_0x2d4dba(0x285)]={'stringify':function(_0x1c84b5){var _0x5817b7=_0x2d4dba,_0x24ff72,_0x270e0f=_0x1c84b5[_0x5817b7(0x300)],_0x54d3d8=_0x1c84b5['salt'];return _0x54d3d8?_0x24ff72=_0x28e2ed[_0x5817b7(0x1a4)]([0x53616c74,0x65645f5f])[_0x5817b7(0x196)](_0x54d3d8)[_0x5817b7(0x196)](_0x270e0f):_0x24ff72=_0x270e0f,_0x24ff72['toString'](_0x19f571);},'parse':function(_0x3f8936){var _0x907ee3=_0x2d4dba,_0x558d40,_0x415682=_0x19f571['parse'](_0x3f8936),_0x50c5e3=_0x415682[_0x907ee3(0x177)];return _0x50c5e3[0x0]==0x53616c74&&_0x50c5e3[0x1]==0x65645f5f&&(_0x558d40=_0x28e2ed[_0x907ee3(0x1a4)](_0x50c5e3['slice'](0x2,0x4)),_0x50c5e3[_0x907ee3(0x332)](0x0,0x4),_0x415682['sigBytes']-=0x10),_0x5b777c[_0x907ee3(0x1a4)]({'ciphertext':_0x415682,'salt':_0x558d40});}},_0x224e9a=_0x2506d3[_0x2d4dba(0x12e)]=_0x284612['extend']({'cfg':_0x284612['extend']({'format':_0x3e6ff7}),'encrypt':function(_0x167bd4,_0x44a637,_0x5b3bb5,_0xbfdf7d){var _0x448c48=_0x2d4dba;_0xbfdf7d=this[_0x448c48(0x323)][_0x448c48(0x2ec)](_0xbfdf7d);var _0xdd0ba6=_0x167bd4[_0x448c48(0x18e)](_0x5b3bb5,_0xbfdf7d),_0x4fea73=_0xdd0ba6['finalize'](_0x44a637),_0x41ceb8=_0xdd0ba6[_0x448c48(0x323)];return _0x5b777c[_0x448c48(0x1a4)]({'ciphertext':_0x4fea73,'key':_0x5b3bb5,'iv':_0x41ceb8['iv'],'algorithm':_0x167bd4,'mode':_0x41ceb8[_0x448c48(0x1da)],'padding':_0x41ceb8[_0x448c48(0x29c)],'blockSize':_0x167bd4[_0x448c48(0x15d)],'formatter':_0xbfdf7d[_0x448c48(0x3c1)]});},'decrypt':function(_0x117e67,_0x32440a,_0x1a2a4f,_0x97741d){var _0x1f4c30=_0x2d4dba;_0x97741d=this['cfg']['extend'](_0x97741d),_0x32440a=this['_parse'](_0x32440a,_0x97741d['format']);var _0x31f11f=_0x117e67[_0x1f4c30(0x223)](_0x1a2a4f,_0x97741d)[_0x1f4c30(0x12a)](_0x32440a[_0x1f4c30(0x300)]);return _0x31f11f;},'_parse':function(_0x4eabd9,_0x369c36){var _0x3c46e6=_0x2d4dba;return typeof _0x4eabd9==_0x3c46e6(0x336)?_0x369c36[_0x3c46e6(0x3e4)](_0x4eabd9,this):_0x4eabd9;}}),_0x5cf4c5=_0x31afea[_0x2d4dba(0x2db)]={},_0x202962=_0x5cf4c5[_0x2d4dba(0x285)]={'execute':function(_0x46a963,_0x3a54ec,_0x1e10cc,_0x12821c,_0x3e36a8){var _0x4b05d5=_0x2d4dba;if(_0x12821c||(_0x12821c=_0x28e2ed['random'](0x40/0x8)),_0x3e36a8)var _0x1d5abb=_0x289ecd['create']({'keySize':_0x3a54ec+_0x1e10cc,'hasher':_0x3e36a8})[_0x4b05d5(0x3b0)](_0x46a963,_0x12821c);else var _0x1d5abb=_0x289ecd['create']({'keySize':_0x3a54ec+_0x1e10cc})[_0x4b05d5(0x3b0)](_0x46a963,_0x12821c);var _0x2c13ef=_0x28e2ed['create'](_0x1d5abb['words'][_0x4b05d5(0x171)](_0x3a54ec),_0x1e10cc*0x4);return _0x1d5abb['sigBytes']=_0x3a54ec*0x4,_0x5b777c[_0x4b05d5(0x1a4)]({'key':_0x1d5abb,'iv':_0x2c13ef,'salt':_0x12821c});}},_0x5cdecc=_0x2506d3[_0x2d4dba(0x2c2)]=_0x224e9a['extend']({'cfg':_0x224e9a[_0x2d4dba(0x323)][_0x2d4dba(0x2ec)]({'kdf':_0x202962}),'encrypt':function(_0x11b084,_0x23ae19,_0x5115ca,_0x5315c7){var _0x5e03bf=_0x2d4dba;_0x5315c7=this[_0x5e03bf(0x323)][_0x5e03bf(0x2ec)](_0x5315c7);var _0x2f854b=_0x5315c7['kdf']['execute'](_0x5115ca,_0x11b084[_0x5e03bf(0x437)],_0x11b084['ivSize'],_0x5315c7[_0x5e03bf(0x258)],_0x5315c7[_0x5e03bf(0x34f)]);_0x5315c7['iv']=_0x2f854b['iv'];var _0x30bc95=_0x224e9a[_0x5e03bf(0x2a3)]['call'](this,_0x11b084,_0x23ae19,_0x2f854b['key'],_0x5315c7);return _0x30bc95[_0x5e03bf(0x19c)](_0x2f854b),_0x30bc95;},'decrypt':function(_0x58aced,_0x120bdd,_0x43b705,_0x2848ba){var _0x16f071=_0x2d4dba;_0x2848ba=this['cfg'][_0x16f071(0x2ec)](_0x2848ba),_0x120bdd=this[_0x16f071(0x41e)](_0x120bdd,_0x2848ba[_0x16f071(0x3c1)]);var _0x239d78=_0x2848ba[_0x16f071(0x2db)][_0x16f071(0x3bd)](_0x43b705,_0x58aced[_0x16f071(0x437)],_0x58aced['ivSize'],_0x120bdd[_0x16f071(0x258)],_0x2848ba[_0x16f071(0x34f)]);_0x2848ba['iv']=_0x239d78['iv'];var _0xaabd4=_0x224e9a[_0x16f071(0x371)]['call'](this,_0x58aced,_0x120bdd,_0x239d78[_0x16f071(0x203)],_0x2848ba);return _0xaabd4;}});}();}));}(Je)),Je[_0x1d71d7(0x3db)];}var Un=Ve[_0x228894(0x3db)],ni;function wn(){var _0x1cad6c=_0x228894;return ni||(ni=0x1,function(_0x5e9d78,_0x4b5d9c){(function(_0x183941,_0x194f5f,_0x16f92e){var _0x3946e0=_0x326f;_0x5e9d78[_0x3946e0(0x3db)]=_0x194f5f(ie(),Di(),Cn(),Ui(),wi());}(Un,function(_0x3777e1){var _0xf3fa6a=_0x326f;return(function(){var _0x5961b8=_0x326f,_0x250133=_0x3777e1,_0xbc7c09=_0x250133[_0x5961b8(0x424)],_0x34a53c=_0xbc7c09[_0x5961b8(0x13e)],_0x18f983=_0x250133[_0x5961b8(0x3c3)],_0x3f06e1=[],_0x227479=[],_0x4d7a37=[],_0xf4119d=[],_0x1d57fe=[],_0x3e0ef7=[],_0x4d026b=[],_0xd466f2=[],_0x21b979=[],_0x2c6cba=[];(function(){for(var _0x433f65=[],_0x53f7e7=0x0;_0x53f7e7<0x100;_0x53f7e7++)_0x53f7e7<0x80?_0x433f65[_0x53f7e7]=_0x53f7e7<<0x1:_0x433f65[_0x53f7e7]=_0x53f7e7<<0x1^0x11b;for(var _0x3087bd=0x0,_0x349320=0x0,_0x53f7e7=0x0;_0x53f7e7<0x100;_0x53f7e7++){var _0xa58cd0=_0x349320^_0x349320<<0x1^_0x349320<<0x2^_0x349320<<0x3^_0x349320<<0x4;_0xa58cd0=_0xa58cd0>>>0x8^_0xa58cd0&0xff^0x63,_0x3f06e1[_0x3087bd]=_0xa58cd0,_0x227479[_0xa58cd0]=_0x3087bd;var _0x345d53=_0x433f65[_0x3087bd],_0x113191=_0x433f65[_0x345d53],_0x2273e7=_0x433f65[_0x113191],_0x903afc=_0x433f65[_0xa58cd0]*0x101^_0xa58cd0*0x1010100;_0x4d7a37[_0x3087bd]=_0x903afc<<0x18|_0x903afc>>>0x8,_0xf4119d[_0x3087bd]=_0x903afc<<0x10|_0x903afc>>>0x10,_0x1d57fe[_0x3087bd]=_0x903afc<<0x8|_0x903afc>>>0x18,_0x3e0ef7[_0x3087bd]=_0x903afc;var _0x903afc=_0x2273e7*0x1010101^_0x113191*0x10001^_0x345d53*0x101^_0x3087bd*0x1010100;_0x4d026b[_0xa58cd0]=_0x903afc<<0x18|_0x903afc>>>0x8,_0xd466f2[_0xa58cd0]=_0x903afc<<0x10|_0x903afc>>>0x10,_0x21b979[_0xa58cd0]=_0x903afc<<0x8|_0x903afc>>>0x18,_0x2c6cba[_0xa58cd0]=_0x903afc,_0x3087bd?(_0x3087bd=_0x345d53^_0x433f65[_0x433f65[_0x433f65[_0x2273e7^_0x345d53]]],_0x349320^=_0x433f65[_0x433f65[_0x349320]]):_0x3087bd=_0x349320=0x1;}}());var _0x385cbf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x182a88=_0x18f983['AES']=_0x34a53c[_0x5961b8(0x2ec)]({'_doReset':function(){var _0x555e03=_0x5961b8,_0x201427;if(!(this[_0x555e03(0x140)]&&this['_keyPriorReset']===this[_0x555e03(0x14f)])){for(var _0x51c7e2=this[_0x555e03(0x240)]=this[_0x555e03(0x14f)],_0x9c4e25=_0x51c7e2['words'],_0x3d4106=_0x51c7e2[_0x555e03(0x266)]/0x4,_0x503e80=this[_0x555e03(0x140)]=_0x3d4106+0x6,_0x52af70=(_0x503e80+0x1)*0x4,_0x3aba83=this['_keySchedule']=[],_0x5e349c=0x0;_0x5e349c<_0x52af70;_0x5e349c++)_0x5e349c<_0x3d4106?_0x3aba83[_0x5e349c]=_0x9c4e25[_0x5e349c]:(_0x201427=_0x3aba83[_0x5e349c-0x1],_0x5e349c%_0x3d4106?_0x3d4106>0x6&&_0x5e349c%_0x3d4106==0x4&&(_0x201427=_0x3f06e1[_0x201427>>>0x18]<<0x18|_0x3f06e1[_0x201427>>>0x10&0xff]<<0x10|_0x3f06e1[_0x201427>>>0x8&0xff]<<0x8|_0x3f06e1[_0x201427&0xff]):(_0x201427=_0x201427<<0x8|_0x201427>>>0x18,_0x201427=_0x3f06e1[_0x201427>>>0x18]<<0x18|_0x3f06e1[_0x201427>>>0x10&0xff]<<0x10|_0x3f06e1[_0x201427>>>0x8&0xff]<<0x8|_0x3f06e1[_0x201427&0xff],_0x201427^=_0x385cbf[_0x5e349c/_0x3d4106|0x0]<<0x18),_0x3aba83[_0x5e349c]=_0x3aba83[_0x5e349c-_0x3d4106]^_0x201427);for(var _0x2c6baf=this[_0x555e03(0x363)]=[],_0x594b21=0x0;_0x594b21<_0x52af70;_0x594b21++){var _0x5e349c=_0x52af70-_0x594b21;if(_0x594b21%0x4)var _0x201427=_0x3aba83[_0x5e349c];else var _0x201427=_0x3aba83[_0x5e349c-0x4];_0x594b21<0x4||_0x5e349c<=0x4?_0x2c6baf[_0x594b21]=_0x201427:_0x2c6baf[_0x594b21]=_0x4d026b[_0x3f06e1[_0x201427>>>0x18]]^_0xd466f2[_0x3f06e1[_0x201427>>>0x10&0xff]]^_0x21b979[_0x3f06e1[_0x201427>>>0x8&0xff]]^_0x2c6cba[_0x3f06e1[_0x201427&0xff]];}}},'encryptBlock':function(_0x359adc,_0x223270){var _0x2a0821=_0x5961b8;this[_0x2a0821(0x26e)](_0x359adc,_0x223270,this['_keySchedule'],_0x4d7a37,_0xf4119d,_0x1d57fe,_0x3e0ef7,_0x3f06e1);},'decryptBlock':function(_0x36c087,_0x2c09c8){var _0x232cdc=_0x5961b8,_0x49a548=_0x36c087[_0x2c09c8+0x1];_0x36c087[_0x2c09c8+0x1]=_0x36c087[_0x2c09c8+0x3],_0x36c087[_0x2c09c8+0x3]=_0x49a548,this[_0x232cdc(0x26e)](_0x36c087,_0x2c09c8,this[_0x232cdc(0x363)],_0x4d026b,_0xd466f2,_0x21b979,_0x2c6cba,_0x227479);var _0x49a548=_0x36c087[_0x2c09c8+0x1];_0x36c087[_0x2c09c8+0x1]=_0x36c087[_0x2c09c8+0x3],_0x36c087[_0x2c09c8+0x3]=_0x49a548;},'_doCryptBlock':function(_0x2ee90e,_0x4cee22,_0x3617ab,_0x5b0346,_0x3b1792,_0x113e1e,_0x3fa15c,_0x5e92dd){var _0x2553f4=_0x5961b8;for(var _0x4b18ae=this[_0x2553f4(0x140)],_0x240c34=_0x2ee90e[_0x4cee22]^_0x3617ab[0x0],_0x3edf67=_0x2ee90e[_0x4cee22+0x1]^_0x3617ab[0x1],_0x2472ca=_0x2ee90e[_0x4cee22+0x2]^_0x3617ab[0x2],_0x42cc20=_0x2ee90e[_0x4cee22+0x3]^_0x3617ab[0x3],_0x51a026=0x4,_0x4a5d40=0x1;_0x4a5d40<_0x4b18ae;_0x4a5d40++){var _0x10252a=_0x5b0346[_0x240c34>>>0x18]^_0x3b1792[_0x3edf67>>>0x10&0xff]^_0x113e1e[_0x2472ca>>>0x8&0xff]^_0x3fa15c[_0x42cc20&0xff]^_0x3617ab[_0x51a026++],_0x462253=_0x5b0346[_0x3edf67>>>0x18]^_0x3b1792[_0x2472ca>>>0x10&0xff]^_0x113e1e[_0x42cc20>>>0x8&0xff]^_0x3fa15c[_0x240c34&0xff]^_0x3617ab[_0x51a026++],_0x46ea94=_0x5b0346[_0x2472ca>>>0x18]^_0x3b1792[_0x42cc20>>>0x10&0xff]^_0x113e1e[_0x240c34>>>0x8&0xff]^_0x3fa15c[_0x3edf67&0xff]^_0x3617ab[_0x51a026++],_0x48f758=_0x5b0346[_0x42cc20>>>0x18]^_0x3b1792[_0x240c34>>>0x10&0xff]^_0x113e1e[_0x3edf67>>>0x8&0xff]^_0x3fa15c[_0x2472ca&0xff]^_0x3617ab[_0x51a026++];_0x240c34=_0x10252a,_0x3edf67=_0x462253,_0x2472ca=_0x46ea94,_0x42cc20=_0x48f758;}var _0x10252a=(_0x5e92dd[_0x240c34>>>0x18]<<0x18|_0x5e92dd[_0x3edf67>>>0x10&0xff]<<0x10|_0x5e92dd[_0x2472ca>>>0x8&0xff]<<0x8|_0x5e92dd[_0x42cc20&0xff])^_0x3617ab[_0x51a026++],_0x462253=(_0x5e92dd[_0x3edf67>>>0x18]<<0x18|_0x5e92dd[_0x2472ca>>>0x10&0xff]<<0x10|_0x5e92dd[_0x42cc20>>>0x8&0xff]<<0x8|_0x5e92dd[_0x240c34&0xff])^_0x3617ab[_0x51a026++],_0x46ea94=(_0x5e92dd[_0x2472ca>>>0x18]<<0x18|_0x5e92dd[_0x42cc20>>>0x10&0xff]<<0x10|_0x5e92dd[_0x240c34>>>0x8&0xff]<<0x8|_0x5e92dd[_0x3edf67&0xff])^_0x3617ab[_0x51a026++],_0x48f758=(_0x5e92dd[_0x42cc20>>>0x18]<<0x18|_0x5e92dd[_0x240c34>>>0x10&0xff]<<0x10|_0x5e92dd[_0x3edf67>>>0x8&0xff]<<0x8|_0x5e92dd[_0x2472ca&0xff])^_0x3617ab[_0x51a026++];_0x2ee90e[_0x4cee22]=_0x10252a,_0x2ee90e[_0x4cee22+0x1]=_0x462253,_0x2ee90e[_0x4cee22+0x2]=_0x46ea94,_0x2ee90e[_0x4cee22+0x3]=_0x48f758;},'keySize':0x100/0x20});_0x250133[_0x5961b8(0x3b8)]=_0x34a53c[_0x5961b8(0x2d9)](_0x182a88);}()),_0x3777e1[_0xf3fa6a(0x3b8)];}));}(Ve)),Ve[_0x1cad6c(0x3db)];}var An=wn();const Pn=He(An);var xn=Di();const si=He(xn);var Xe={'exports':{}},Ln=Xe[_0x228894(0x3db)],oi;function Mn(){var _0x2145bb=_0x228894;return oi||(oi=0x1,function(_0x40d740,_0x1560cb){(function(_0x1829e0,_0x43b91d){_0x40d740['exports']=_0x43b91d(ie());}(Ln,function(_0x2ece87){var _0x2dc45a=_0x326f;return _0x2ece87[_0x2dc45a(0x2e3)]['Utf8'];}));}(Xe)),Xe[_0x2145bb(0x3db)];}var kn=Mn();const $n=He(kn);var Ze={'exports':{}},Hn=Ze[_0x228894(0x3db)],ai;function Bn(){var _0x93cfa2=_0x228894;return ai||(ai=0x1,function(_0x30e883,_0x38382c){(function(_0x140e56,_0x208061){var _0x397be0=_0x326f;_0x30e883[_0x397be0(0x3db)]=_0x208061(ie());}(Hn,function(_0x13a959){var _0x416d89=_0x326f;return(function(){var _0x19eea6=_0x326f;if(typeof ArrayBuffer==_0x19eea6(0x344)){var _0x56ce81=_0x13a959,_0x61b518=_0x56ce81[_0x19eea6(0x424)],_0x14da62=_0x61b518[_0x19eea6(0x1cb)],_0x4c3f23=_0x14da62[_0x19eea6(0x1b2)],_0x14dbec=_0x14da62['init']=function(_0x1ac829){var _0x35b6d2=_0x19eea6;if(_0x1ac829 instanceof ArrayBuffer&&(_0x1ac829=new Uint8Array(_0x1ac829)),(_0x1ac829 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ac829 instanceof Uint8ClampedArray||_0x1ac829 instanceof Int16Array||_0x1ac829 instanceof Uint16Array||_0x1ac829 instanceof Int32Array||_0x1ac829 instanceof Uint32Array||_0x1ac829 instanceof Float32Array||_0x1ac829 instanceof Float64Array)&&(_0x1ac829=new Uint8Array(_0x1ac829[_0x35b6d2(0x3cd)],_0x1ac829[_0x35b6d2(0x243)],_0x1ac829['byteLength'])),_0x1ac829 instanceof Uint8Array){for(var _0x107ec5=_0x1ac829[_0x35b6d2(0x43c)],_0x110332=[],_0x1c7bda=0x0;_0x1c7bda<_0x107ec5;_0x1c7bda++)_0x110332[_0x1c7bda>>>0x2]|=_0x1ac829[_0x1c7bda]<<0x18-_0x1c7bda%0x4*0x8;_0x4c3f23[_0x35b6d2(0x17a)](this,_0x110332,_0x107ec5);}else _0x4c3f23[_0x35b6d2(0x1d1)](this,arguments);};_0x14dbec[_0x19eea6(0x14d)]=_0x14da62;}}()),_0x13a959[_0x416d89(0x424)]['WordArray'];}));}(Ze)),Ze[_0x93cfa2(0x3db)];}var jn=Bn();const Fn=He(jn);var Qe={'exports':{}},Vn=Qe[_0x228894(0x3db)],ci;function Gn(){return ci||(ci=0x1,function(_0x5d9285,_0x3da81f){(function(_0x297a57,_0x2f8590,_0x5a922f){var _0x403752=_0x326f;_0x5d9285[_0x403752(0x3db)]=_0x2f8590(ie(),wi());}(Vn,function(_0x21dbb1){var _0x3f4e3a=_0x326f;return _0x21dbb1['pad'][_0x3f4e3a(0x2f9)]={'pad':function(){},'unpad':function(){}},_0x21dbb1[_0x3f4e3a(0x415)][_0x3f4e3a(0x2f9)];}));}(Qe)),Qe['exports'];}var Wn=Gn();const Kn=He(Wn);function Yn(_0x2c7ae3,_0xa5b369){var _0x3a26a6=_0x228894;const _0x577610=_0xa5b369-_0x2c7ae3['length']%_0xa5b369,_0x4dd4f9=String[_0x3a26a6(0x208)](_0x577610)[_0x3a26a6(0x2b5)](_0x577610);return _0x2c7ae3+_0x4dd4f9;}function qn(_0x5ca118,_0x20ac56){var _0x1308d1=_0x228894;const _0x43b7c8=Fn[_0x1308d1(0x42a)](0x10),_0x690c33=Yn(_0x5ca118,0x10),_0x5183dd=Pn['encrypt']($n[_0x1308d1(0x3e4)](_0x690c33),si[_0x1308d1(0x3e4)](_0x20ac56),{'iv':_0x43b7c8,'padding':Kn});return _0x43b7c8[_0x1308d1(0x196)](_0x5183dd[_0x1308d1(0x300)])[_0x1308d1(0x39c)](si);}function zn(){var _0x510ea9=_0x228894;const _0x65151d=_0x4c6156()[_0x510ea9(0x366)];if(_0x65151d){const _0x3e28d7={'time':Math[_0x510ea9(0x434)](Date[_0x510ea9(0x435)]()/0x3e8),'domain':location[_0x510ea9(0x30a)]};return qn(JSON['stringify'](_0x3e28d7),_0x65151d);}}var Jn=Object[_0x228894(0x20c)],Xn=(_0x5ae3ef,_0x5ce7b8,_0x4db26f,_0x504d32)=>{var _0x1bfb08=_0x228894;for(var _0x392858=_0x504d32>0x1?void 0x0:_0x504d32?Jn(_0x5ce7b8,_0x4db26f):_0x5ce7b8,_0x46f9b7=_0x5ae3ef[_0x1bfb08(0x1d8)]-0x1,_0x6fa4de;_0x46f9b7>=0x0;_0x46f9b7--)(_0x6fa4de=_0x5ae3ef[_0x46f9b7])&&(_0x392858=_0x6fa4de(_0x392858)||_0x392858);return _0x392858;},Zn=(_0x2a21fa,_0xa024f6)=>(_0xe5a12c,_0x21ba3a)=>_0xa024f6(_0xe5a12c,_0x21ba3a,_0x2a21fa);let ot=class{constructor(_0x21f704){var _0x4b69c9=_0x228894;this[_0x4b69c9(0x2ef)]=_0x21f704,this[_0x4b69c9(0x3cc)]();}['_initRequestHeader'](){var _0x44d6bd=_0x228894;this[_0x44d6bd(0x2ef)][_0x44d6bd(0x1b5)]({'interceptor':(_0x335191,_0x34904e)=>{var _0x397a1e=_0x44d6bd;const _0x3eecd8=_0x335191[_0x397a1e(0x1a1)],_0x19f197=zn();return _0x19f197&&_0x3eecd8[_0x397a1e(0x21b)](_0x397a1e(0x228),_0x19f197),_0x34904e(_0x335191);}});}};ot=Xn([Zn(0x0,_0x7e1ee1(_0x5daba1))],ot);var Qn=Object[_0x228894(0x20c)],es=(_0x586fb5,_0x37c554,_0x2f19a9,_0x37561b)=>{var _0xc58895=_0x228894;for(var _0x2e6930=_0x37561b>0x1?void 0x0:_0x37561b?Qn(_0x37c554,_0x2f19a9):_0x37c554,_0x548df8=_0x586fb5[_0xc58895(0x1d8)]-0x1,_0x363e23;_0x548df8>=0x0;_0x548df8--)(_0x363e23=_0x586fb5[_0x548df8])&&(_0x2e6930=_0x363e23(_0x2e6930)||_0x2e6930);return _0x2e6930;},mt=(_0x494133,_0x693865)=>(_0x30f15c,_0x528626)=>_0x693865(_0x30f15c,_0x528626,_0x494133);let bt=class extends _0x4d64f7{constructor(_0x45d8a0,_0x21916a,_0x3486a6){var _0xb3a744=_0x228894;super(),N(this,_0xb3a744(0x369),new _0x35002d(null)),N(this,_0xb3a744(0x407),this[_0xb3a744(0x369)][_0xb3a744(0x2ca)]()),(this[_0xb3a744(0x144)]=_0x45d8a0,this[_0xb3a744(0x339)]=_0x21916a,this['_localCacheService']=_0x3486a6);}async[_0x228894(0x3d6)](_0x530034,_0x47b5dd,_0x5a1d8e){var _0x570b9b=_0x228894;this['_unitInfo$'][_0x570b9b(0x167)]({'unitId':_0x530034,'type':_0x47b5dd,'subUnitId':_0x5a1d8e});let _0x386312=null;switch(_0x47b5dd){case Q[_0x570b9b(0x24c)]:{_0x386312=await this['_loadSheet'](_0x530034);break;}case Q['UNIVER_DOC']:{_0x386312=await this[_0x570b9b(0x3f4)](_0x530034);break;}default:{this[_0x570b9b(0x144)][_0x570b9b(0x16d)](_0x570b9b(0x263),_0x570b9b(0x358));break;}}return _0x386312;}async[_0x228894(0x194)](_0x3cfe59){var _0x4bafb3=_0x228894,_0xd44e14;let _0x5d23e9=0x0;const _0x2c9989=await((_0xd44e14=this['_localCacheService'])==null?void 0x0:_0xd44e14[_0x4bafb3(0x27a)](_0x3cfe59));return _0x2c9989&&(_0x2c9989['awaitingChangeset']||_0x2c9989[_0x4bafb3(0x3f7)][_0x4bafb3(0x1d8)]!==0x0)&&(_0x5d23e9=_0x2c9989[_0x4bafb3(0x17b)]),_0x5d23e9===0x0&&this[_0x4bafb3(0x144)][_0x4bafb3(0x326)](_0x4bafb3(0x263),_0x4bafb3(0x309)),this[_0x4bafb3(0x339)]['loadSheet'](_0x3cfe59,_0x5d23e9);}async['_loadDoc'](_0x2ea7e7){var _0x159eb8=_0x228894,_0x52f932;let _0x47580c=0x0;const _0x19c808=await((_0x52f932=this['_localCacheService'])==null?void 0x0:_0x52f932[_0x159eb8(0x27a)](_0x2ea7e7));return _0x19c808&&(_0x19c808[_0x159eb8(0x2e2)]||_0x19c808[_0x159eb8(0x3f7)]['length']!==0x0)&&(_0x47580c=_0x19c808[_0x159eb8(0x17b)]),_0x47580c===0x0&&this['_logService']['debug'](_0x159eb8(0x263),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x159eb8(0x339)]['loadDoc'](_0x2ea7e7,_0x47580c);}};bt=es([mt(0x0,_0x3cc2bd),mt(0x1,_0x7e1ee1(_0x433de0)),mt(0x2,_0x1d58e6(J))],bt);var ts=Object['getOwnPropertyDescriptor'],is=(_0xdd4cc,_0x17755c,_0x3350b9,_0x4718a0)=>{var _0x1d4a4a=_0x228894;for(var _0x3676e4=_0x4718a0>0x1?void 0x0:_0x4718a0?ts(_0x17755c,_0x3350b9):_0x17755c,_0x1e7326=_0xdd4cc[_0x1d4a4a(0x1d8)]-0x1,_0x4d0b7d;_0x1e7326>=0x0;_0x1e7326--)(_0x4d0b7d=_0xdd4cc[_0x1e7326])&&(_0x3676e4=_0x4d0b7d(_0x3676e4)||_0x3676e4);return _0x3676e4;},gt=(_0xe64383,_0x58b764)=>(_0x56fd91,_0x5b1da4)=>_0x58b764(_0x56fd91,_0x5b1da4,_0xe64383);const rs=[_0x228894(0x307),_0x228894(0x270),_0x228894(0x1ef),_0x228894(0x352),_0x228894(0x3f8)],ns=0x5*0x400*0x400,ss=_0x228894(0x370),os=_0x228894(0x2c6),as='EXCHANGE_SIGN_URL_SERVER_URL_KEY',cs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x47917e,_0x2b94a1,_0x53f323){var _0x112163=_0x228894;N(this,_0x112163(0x302),0x0),N(this,_0x112163(0x3c8),new _0xe00b19()),N(this,_0x112163(0x1b6),this[_0x112163(0x3c8)]),N(this,_0x112163(0x2f7),new Map()),(this['_httpService']=_0x47917e,this['_configService']=_0x2b94a1,this[_0x112163(0x41d)]=_0x53f323);}['setWaitCount'](_0x56e57b){var _0x41b3d5=_0x228894;this[_0x41b3d5(0x302)]=_0x56e57b,this[_0x41b3d5(0x3c8)][_0x41b3d5(0x167)](_0x56e57b);}[_0x228894(0x251)](_0x546673,_0x271747){var _0x100868=_0x228894;if(_0x271747===_0x425200[_0x100868(0x267)]){const _0x45b203=new Image();return _0x45b203['src']=_0x546673,_0x45b203;}return this[_0x100868(0x2f7)][_0x100868(0x42d)](_0x546673);}[_0x228894(0x3d5)](_0x322396,_0x13cb55,_0x3f873f){var _0x58c271=_0x228894;_0x13cb55===_0x425200[_0x58c271(0x267)]||_0x3f873f==null||this['_imageSourceCache'][_0x58c271(0x21b)](_0x322396,_0x3f873f);}async[_0x228894(0x1ad)](_0x283671){var _0x2cf19c=_0x228894;try{const _0x11e5e1=this[_0x2cf19c(0x356)](this[_0x2cf19c(0x3bc)](),''+_0x283671),_0x7c5778=(await this['_httpService'][_0x2cf19c(0x42d)](_0x11e5e1))['body'];if(_0x7c5778[_0x2cf19c(0x16d)]&&_0x7c5778['error'][_0x2cf19c(0x3e5)]===Si['OK']){const _0x16038=new URL(_0x7c5778[_0x2cf19c(0x3af)],this[_0x2cf19c(0x410)]())[_0x2cf19c(0x39c)]();return Promise[_0x2cf19c(0x343)](_0x16038);}return Promise[_0x2cf19c(0x3e8)](_0x7c5778[_0x2cf19c(0x16d)]);}catch(_0x3419fe){return Promise['reject'](_0x3419fe);}}async[_0x228894(0x26c)](_0x16d9a4){var _0x99f626=_0x228894;let _0x342d72='';if(!rs['includes'](_0x16d9a4[_0x99f626(0x2bf)]))return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x357)]));if(_0x16d9a4[_0x99f626(0x156)]>ns)return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x176)]));try{const _0x38b006=new FormData();_0x38b006[_0x99f626(0x1ae)](_0x99f626(0x17d),_0x16d9a4);const _0x196876=this[_0x99f626(0x41d)][_0x99f626(0x247)](),_0x39a737=_0x196876==null?void 0x0:_0x196876[_0x99f626(0x2aa)]();if(!_0x39a737)throw new Error('unitId\x20is\x20not\x20found');const _0x322af1=this[_0x99f626(0x207)]()+'?size='+_0x16d9a4[_0x99f626(0x156)]['toString']()+_0x99f626(0x3a5)+Ei[_0x99f626(0x180)]+'&assign='+encodeURIComponent(_0x39a737),_0x20b26c=await(await fetch(_0x322af1,{'method':_0x99f626(0x29f),'body':_0x38b006}))['json']();if(typeof _0x20b26c[_0x99f626(0x21e)]!=_0x99f626(0x336))return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x1fa)]));_0x342d72=_0x20b26c[_0x99f626(0x21e)];}catch{return this['_decreaseWaiting'](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8['ERROR_IMAGE']));}return new Promise((_0x576c45,_0x21c7e1)=>{var _0x5d22ea=_0x99f626;const _0x324f25=new FileReader();_0x324f25[_0x5d22ea(0x341)](_0x16d9a4),_0x324f25['onload']=_0x48ab5b=>{var _0x1eeed4=_0x5d22ea,_0x1bf917;const _0x1ec858=(_0x1bf917=_0x48ab5b[_0x1eeed4(0x252)])==null?void 0x0:_0x1bf917[_0x1eeed4(0x169)];if(_0x1ec858==null){this[_0x1eeed4(0x235)](),_0x21c7e1(new Error(_0x5ca9c8[_0x1eeed4(0x1fa)]));return;}const _0x4e8dfb=_0x1b891a['generateRandomId'](0x6);_0x576c45({'imageId':_0x4e8dfb,'imageSourceType':_0x425200[_0x1eeed4(0x1d7)],'source':_0x342d72,'base64Cache':_0x1ec858,'status':_0x5ca9c8[_0x1eeed4(0x2e8)]}),this[_0x1eeed4(0x235)]();};});}[_0x228894(0x207)](){var _0x40b105=_0x228894,_0x48a749,_0x4a9fe5;const _0x25bb5c=this[_0x40b105(0x36d)][_0x40b105(0x429)](ss),_0xb924e3=this[_0x40b105(0x36d)][_0x40b105(0x429)](q);return(_0x4a9fe5=(_0x48a749=_0xb924e3==null?void 0x0:_0xb924e3[_0x40b105(0x2b2)])!=null?_0x48a749:_0x25bb5c)!=null?_0x4a9fe5:os;}[_0x228894(0x3bc)](){var _0x39cc2d=_0x228894,_0x3bcfd6,_0x41332e;const _0x29509a=this['_configService']['getConfig'](as),_0x23d86f=this[_0x39cc2d(0x36d)][_0x39cc2d(0x429)](q);return(_0x41332e=(_0x3bcfd6=_0x23d86f==null?void 0x0:_0x23d86f[_0x39cc2d(0x31e)])!=null?_0x3bcfd6:_0x29509a)!=null?_0x41332e:cs;}[_0x228894(0x410)](){var _0x45fd55=_0x228894,_0x1b530d;const _0x47457e=this['_configService'][_0x45fd55(0x429)](q);return(_0x1b530d=_0x47457e==null?void 0x0:_0x47457e[_0x45fd55(0x1d9)])!=null?_0x1b530d:location['origin'];}[_0x228894(0x356)](_0x1e91d8,_0x1f1c2f){var _0x5a2645=_0x228894;return _0x1e91d8[_0x5a2645(0x2df)](_0x5a2645(0x1ee),_0x1f1c2f);}['_decreaseWaiting'](){var _0x3354a2=_0x228894;this[_0x3354a2(0x302)]-=0x1,this[_0x3354a2(0x3c8)][_0x3354a2(0x167)](this[_0x3354a2(0x302)]);}};yt=is([gt(0x0,_0x7e1ee1(_0x5daba1)),gt(0x1,_0x7ee467),gt(0x2,_0x7e1ee1(_0xffe073))],yt);var hs=Object[_0x228894(0x20c)],_s=(_0x53cb86,_0x1941fb,_0x5a99df,_0x35bc5f)=>{var _0x2a27d8=_0x228894;for(var _0x38cace=_0x35bc5f>0x1?void 0x0:_0x35bc5f?hs(_0x1941fb,_0x5a99df):_0x1941fb,_0x3716f6=_0x53cb86[_0x2a27d8(0x1d8)]-0x1,_0x1686cc;_0x3716f6>=0x0;_0x3716f6--)(_0x1686cc=_0x53cb86[_0x3716f6])&&(_0x38cace=_0x1686cc(_0x38cace)||_0x38cace);return _0x38cace;},hi=(_0xe48973,_0x5a0ffd)=>(_0x17976d,_0x358f52)=>_0x5a0ffd(_0x17976d,_0x358f52,_0xe48973);const ls='/universer-api/authz';let Ot=class{constructor(_0x5d062b,_0x1a5d77){var _0x5bdff8=_0x228894;this[_0x5bdff8(0x36d)]=_0x5d062b,this[_0x5bdff8(0x17f)]=_0x1a5d77;}[_0x228894(0x25d)](){var _0x5df38a=_0x228894,_0x3f166d,_0x558dbe;const _0x3a8a74=this[_0x5df38a(0x36d)]['getConfig'](Ni),_0x527c50=this['_configService']['getConfig'](q);return(_0x558dbe=(_0x3f166d=_0x527c50==null?void 0x0:_0x527c50[_0x5df38a(0x255)])!=null?_0x3f166d:_0x3a8a74)!=null?_0x558dbe:ls;}async['list'](_0x38982e){var _0x2a281a=_0x228894;const _0x3c4f16=this['_getAPIPrefixPath']()+_0x2a281a(0x17e);return{'list':[{'title':_0x2a281a(0x2b6),'mentions':(await this[_0x2a281a(0x17f)][_0x2a281a(0x42d)](_0x3c4f16,{'params':{'objectID':_0x38982e[_0x2a281a(0x283)],'unitID':_0x38982e['unitId']}}))[_0x2a281a(0x2cc)][_0x2a281a(0x39e)][_0x2a281a(0x265)](_0x540d4a=>({'objectId':_0x540d4a['id'],'name':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x42e)],'metadata':{'icon':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x1f8)]},'label':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x42e)],'objectType':_0x270089[_0x2a281a(0x432)]})),'metadata':{},'type':_0x270089['PERSON']}]};}};Ot=_s([hi(0x0,_0x7e1ee1(_0x7ee467)),hi(0x1,_0x7e1ee1(_0x5daba1))],Ot);var us=Object[_0x228894(0x20c)],ds=(_0x208b2a,_0xc787a0,_0x335c4f,_0x12d2da)=>{for(var _0x2ef288=_0x12d2da>0x1?void 0x0:_0x12d2da?us(_0xc787a0,_0x335c4f):_0xc787a0,_0x1cf1a1=_0x208b2a['length']-0x1,_0x147ed3;_0x1cf1a1>=0x0;_0x1cf1a1--)(_0x147ed3=_0x208b2a[_0x1cf1a1])&&(_0x2ef288=_0x147ed3(_0x2ef288)||_0x2ef288);return _0x2ef288;},Ae=(_0x500718,_0x4f49c6)=>(_0x58b1d1,_0x43705c)=>_0x4f49c6(_0x58b1d1,_0x43705c,_0x500718);let at=class extends _0x4d64f7{constructor(_0x1de46b,_0x29984f,_0xa9f4d,_0x4317f1,_0x2e5d28){var _0x312ff2=_0x228894;super(),this[_0x312ff2(0x165)]=_0x1de46b,this['_univerInstanceService']=_0x29984f,this[_0x312ff2(0x3da)]=_0xa9f4d,this[_0x312ff2(0x14c)]=_0x4317f1,this[_0x312ff2(0x1eb)]=_0x2e5d28,this[_0x312ff2(0x1bb)](),this[_0x312ff2(0x379)]();}[_0x228894(0x379)](){var _0x2c742b=_0x228894;const _0x669302=async _0x3032ab=>{var _0x151268=_0x326f;(await this[_0x151268(0x14c)][_0x151268(0x157)](_0x3032ab))[_0x151268(0x25f)][_0x151268(0x3a7)](_0x28db24(_0x21ba5d=>_0x21ba5d[_0x151268(0x423)]===_0x20f032['SHOULD_CLOSE_CONN']),_0x3fb4d5(this['dispose$']))[_0x151268(0x24e)](_0x51068d=>{var _0x4ef28f=_0x151268;const _0xa36edc=_0x51068d,{reason:_0x39a94e}=_0xa36edc[_0x4ef28f(0x41f)];this['_collaborationUIEventService'][_0x4ef28f(0x241)]({'id':se['CLOSE_ROOM'],'data':_0x39a94e}),this['_permissionService']['updatePermissionPoint'](new _0x255943(_0x3032ab)['id'],!0x1),this[_0x4ef28f(0x14c)][_0x4ef28f(0x394)](_0x3032ab);});};_0x5bc9c1(this[_0x2c742b(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f['UNIVER_SHEET']),this[_0x2c742b(0x41d)][_0x2c742b(0x1e3)](_0x6cb10f[_0x2c742b(0x273)]))[_0x2c742b(0x3a7)](_0x54f33d(_0x5a1b29=>_0x5a1b29[_0x2c742b(0x2aa)]()),_0x28db24(_0x278d51=>!_0x5d1d2a(_0x278d51)),_0x3fb4d5(this[_0x2c742b(0x174)]))[_0x2c742b(0x24e)](_0x331feb=>{_0x669302(_0x331feb);});}['_initUnitPermissionChange'](){var _0x4a918e=_0x228894;const _0x3d4e8c=async _0x2e7746=>{var _0x42a50e=_0x326f;const _0x2eb4a0=await this[_0x42a50e(0x14c)][_0x42a50e(0x157)](_0x2e7746),_0xe8855b=this[_0x42a50e(0x165)]['get'](_0x3f922a);_0x2eb4a0['event$'][_0x42a50e(0x3a7)](_0x28db24(_0x2e74b1=>_0x2e74b1[_0x42a50e(0x423)]===_0x20f032[_0x42a50e(0x348)]),_0x3fb4d5(this['dispose$']))[_0x42a50e(0x24e)](_0x29caa4=>{var _0x403cce=_0x42a50e;const _0x1bb8b5=_0x29caa4,{objectId:_0x1ab73b}=_0x1bb8b5[_0x403cce(0x41f)];_0x1ab73b===_0x2e7746?_0xe8855b[_0x403cce(0x23a)](_0x2e7746):_0xe8855b[_0x403cce(0x3b4)](_0x2e7746,_0x1ab73b);});};_0x5bc9c1(this[_0x4a918e(0x41d)][_0x4a918e(0x1e3)](_0x6cb10f[_0x4a918e(0x24c)]),this[_0x4a918e(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f[_0x4a918e(0x273)]))[_0x4a918e(0x3a7)](_0x54f33d(_0x4d6754=>_0x4d6754[_0x4a918e(0x2aa)]()),_0x28db24(_0x1272a2=>!_0x5d1d2a(_0x1272a2)),_0x3fb4d5(this[_0x4a918e(0x174)]))[_0x4a918e(0x24e)](_0x5873bf=>{_0x3d4e8c(_0x5873bf);});}};at=ds([Ae(0x0,_0x7e1ee1(_0xa32491)),Ae(0x1,_0xffe073),Ae(0x2,_0x18d44c),Ae(0x3,_0x7e1ee1(Le)),Ae(0x4,_0x7e1ee1(pe))],at);var fs=Object[_0x228894(0x20c)],vs=(_0xe21432,_0xdf4a87,_0x1051ce,_0x5a3cde)=>{for(var _0x4f11ca=_0x5a3cde>0x1?void 0x0:_0x5a3cde?fs(_0xdf4a87,_0x1051ce):_0xdf4a87,_0x269983=_0xe21432['length']-0x1,_0x6d2a1d;_0x269983>=0x0;_0x269983--)(_0x6d2a1d=_0xe21432[_0x269983])&&(_0x4f11ca=_0x6d2a1d(_0x4f11ca)||_0x4f11ca);return _0x4f11ca;},_i=(_0x411c7d,_0x3ac815)=>(_0x423d0f,_0x279fc8)=>_0x3ac815(_0x423d0f,_0x279fc8,_0x411c7d);let Nt=class{constructor(_0x1d3bb0,_0x40f132){var _0x21354c=_0x228894;this[_0x21354c(0x36d)]=_0x1d3bb0,this[_0x21354c(0x2ef)]=_0x40f132;}async[_0x228894(0x393)](_0x5775e0,_0x5f381b){var _0x2a8625=_0x228894,_0x4c426c;const {unitID:_0x1bfe32,type:_0x362419,revision:_0x53360e=0x0}=_0x5f381b,_0x138310=this['getSnapshotAPIPath']()+'/'+_0x362419+'/unit/'+_0x1bfe32+_0x2a8625(0x1f5)+_0x53360e,_0x4cf95a=(await this[_0x2a8625(0x2ef)]['get'](_0x138310))[_0x2a8625(0x2cc)],_0x32ec7c=(_0x4c426c=_0x4cf95a['snapshot'])==null?void 0x0:_0x4c426c[_0x2a8625(0x229)];if(_0x32ec7c){const _0x4e4b01=_0x32ec7c==null?void 0x0:_0x32ec7c[_0x2a8625(0x34d)],_0x3c9508=_0x243e8b['encode'](_0x5cd51b(_0x4e4b01));_0x32ec7c[_0x2a8625(0x34d)]=_0x3c9508,Object[_0x2a8625(0x3a8)](_0x32ec7c['sheets'])[_0x2a8625(0x3b6)](([,_0x54568b])=>{var _0x50b5a5=_0x2a8625;const _0x116521=_0x54568b[_0x50b5a5(0x34d)],_0x337e96=_0x243e8b['encode'](_0x5cd51b(_0x116521));_0x54568b[_0x50b5a5(0x34d)]=_0x337e96;});}return _0x4cf95a;}async[_0x228894(0x38b)](_0x286074,_0x36b999){var _0x47dc91=_0x228894;const {unitID:_0x274d52,type:_0x43f17d,blockID:_0x3dccd5}=_0x36b999,_0x5cd002=this['_getAPIPrefix']()+'/'+_0x43f17d+'/unit/'+_0x274d52+_0x47dc91(0x1c6)+_0x3dccd5;return(await this[_0x47dc91(0x2ef)][_0x47dc91(0x42d)](_0x5cd002))[_0x47dc91(0x2cc)];}async[_0x228894(0x395)](_0x1d4114,_0x281cef){var _0x107fba=_0x228894;const {unitID:_0x54eca3,type:_0x30605d,blockID:_0x6f9470}=_0x281cef,_0x132e76=this['_getAPIPrefix']()+'/block/'+_0x30605d+_0x107fba(0x136)+_0x54eca3+'/block/'+_0x6f9470;return(await this[_0x107fba(0x2ef)][_0x107fba(0x42d)](_0x132e76))[_0x107fba(0x2cc)];}async[_0x228894(0x2b9)](_0x68dc97,_0x4589b2){var _0x30a962=_0x228894;const {unitID:_0x4d6ce5,type:_0x37e3e2,from:_0x43f185,to:_0x1c2d7d}=_0x4589b2,_0xd11f66=this[_0x30a962(0x189)]()+'/'+_0x37e3e2+_0x30a962(0x136)+_0x4d6ce5+_0x30a962(0x386)+_0x43f185+_0x30a962(0x1c9)+_0x1c2d7d;return(await this[_0x30a962(0x2ef)][_0x30a962(0x42d)](_0xd11f66))[_0x30a962(0x2cc)];}[_0x228894(0x398)](){var _0x72e43f=_0x228894,_0x19e997;return(_0x19e997=this['_configService'][_0x72e43f(0x429)](Sr))!=null?_0x19e997:this[_0x72e43f(0x189)]();}['_getAPIPrefix'](){var _0x2ac170=_0x228894,_0x2b251f,_0x207eee;const _0xeec894=this[_0x2ac170(0x36d)][_0x2ac170(0x429)](mr),_0x1259de=this[_0x2ac170(0x36d)][_0x2ac170(0x429)](q);return(_0x207eee=(_0x2b251f=_0x1259de==null?void 0x0:_0x1259de[_0x2ac170(0x3ea)])!=null?_0x2b251f:_0xeec894)!=null?_0x207eee:gr;}async[_0x228894(0x281)](_0x11e81b,_0x4d2c84){var _0x37071f=_0x228894;const _0x4bf4ae=_0x37071f(0x3a2)+_0x4d2c84[_0x37071f(0x2bf)]+'/unit/'+_0x4d2c84[_0x37071f(0x215)]+_0x37071f(0x2c4);return(await this[_0x37071f(0x2ef)]['get'](_0x4bf4ae,{'params':{'resourceId':JSON[_0x37071f(0x26d)](_0x4d2c84[_0x37071f(0x2da)])}}))[_0x37071f(0x2cc)];}[_0x228894(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x228894(0x1a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x228894(0x316)](){var _0x41600e=_0x228894;throw new Error(_0x41600e(0x43b));}[_0x228894(0x3e6)](){var _0x585388=_0x228894;throw new Error(_0x585388(0x43b));}[_0x228894(0x373)](){var _0xec720=_0x228894;throw new Error(_0xec720(0x43b));}};Nt=vs([_i(0x0,_0x7ee467),_i(0x1,_0x7e1ee1(_0x5daba1))],Nt);var ps=Object[_0x228894(0x20c)],ms=(_0x572970,_0x30e595,_0x37c2a7,_0x3e3673)=>{var _0x344d67=_0x228894;for(var _0x40bf34=_0x3e3673>0x1?void 0x0:_0x3e3673?ps(_0x30e595,_0x37c2a7):_0x30e595,_0x1e5e1c=_0x572970[_0x344d67(0x1d8)]-0x1,_0x1bdda9;_0x1e5e1c>=0x0;_0x1e5e1c--)(_0x1bdda9=_0x572970[_0x1e5e1c])&&(_0x40bf34=_0x1bdda9(_0x40bf34)||_0x40bf34);return _0x40bf34;},Pe=(_0x128d05,_0x4f4251)=>(_0x18ca4d,_0x3b154e)=>_0x4f4251(_0x18ca4d,_0x3b154e,_0x128d05);let Dt=class extends _0x3d2d2f{constructor(_0xd5c992,_0x2a4b5d,_0x54c35a,_0x5d06d8,_0x247c43){var _0x2c82df=_0x228894;super(_0xd5c992,_0x2a4b5d,_0x54c35a),this[_0x2c82df(0x172)]=_0x5d06d8,this[_0x2c82df(0x144)]=_0x247c43;}[_0x228894(0x178)](_0x36221c,_0x682cdf){var _0x207b92=_0x228894;const _0x2d9d77=this['_getUndoStack'](_0x36221c);if(_0x2d9d77)try{const _0x425c01=this[_0x207b92(0x325)](_0x2d9d77,_0x682cdf);this[_0x207b92(0x36c)](_0x36221c,_0x425c01);}catch(_0x44d2f0){this[_0x207b92(0x144)][_0x207b92(0x16d)](_0x207b92(0x12b),_0x44d2f0),this[_0x207b92(0x1f7)](_0x36221c);}const _0x29f915=this[_0x207b92(0x292)](_0x36221c);if(_0x29f915)try{const _0x2f05fe=this['_transformStack'](_0x29f915,_0x682cdf);this[_0x207b92(0x2e6)](_0x36221c,_0x2f05fe);}catch(_0x3d27d3){this[_0x207b92(0x144)]['error'](_0x3d27d3),this[_0x207b92(0x2f4)](_0x36221c);}}[_0x228894(0x1f7)](_0x78906f){var _0x4e4f3a=_0x228894;const _0x5eb693=this[_0x4e4f3a(0x31d)](_0x78906f);_0x5eb693&&(_0x5eb693[_0x4e4f3a(0x1d8)]=0x0,this[_0x4e4f3a(0x38d)]());}[_0x228894(0x2f4)](_0x356b65){var _0x15173f=_0x228894;const _0x1c1eb6=this[_0x15173f(0x292)](_0x356b65);_0x1c1eb6&&(_0x1c1eb6['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x38ff58,_0x23eb1e){var _0x51a8a6=_0x228894;this[_0x51a8a6(0x2a6)][_0x51a8a6(0x21b)](_0x38ff58,_0x23eb1e),this[_0x51a8a6(0x38d)]();}[_0x228894(0x2e6)](_0x127a53,_0x101a89){var _0x5bb5c0=_0x228894;this['_redoStacks'][_0x5bb5c0(0x21b)](_0x127a53,_0x101a89),this[_0x5bb5c0(0x38d)]();}[_0x228894(0x325)](_0x4d696a,_0x12ed71){var _0x45fb98=_0x228894;const _0x22420c=[];let _0x2ae08b=_0x12ed71,_0x407500=_0x12ed71;for(let _0x58e3bb=_0x4d696a[_0x45fb98(0x1d8)]-0x1;_0x58e3bb>=0x0;_0x58e3bb--){const {unitID:_0x457ad5,undoMutations:_0x1ab321,redoMutations:_0x43c22e}=_0x4d696a[_0x58e3bb],_0x4ffdc5=this[_0x45fb98(0x172)][_0x45fb98(0x204)](_0x2ae08b,_0x1ab321),_0x2e1ee8=this[_0x45fb98(0x172)][_0x45fb98(0x204)](_0x407500,_0x43c22e);if(_0xa69dee(_0x4ffdc5)||_0xa69dee(_0x2e1ee8)){this[_0x45fb98(0x144)]['error'](_0x45fb98(0x12b),_0x45fb98(0x217),_0x4ffdc5,_0x2e1ee8);break;}_0x2ae08b=_0x4ffdc5[_0x45fb98(0x382)],_0x407500=_0x2e1ee8[_0x45fb98(0x382)],_0x22420c[_0x45fb98(0x403)]({'unitID':_0x457ad5,'undoMutations':_0x4ffdc5['m2Prime'],'redoMutations':_0x2e1ee8[_0x45fb98(0x209)]});}return _0x22420c[_0x45fb98(0x234)]();}};function _0x2844(){var _0x53e8c8=['getImageSourceCache','target','toggleOffline','_tryReconnect','authzUrl','_throwTelemetryCollaborationNewChangeset','values','salt','_entities','onTransformRemoteChangesetByIMECache','_commentService','_map','_getAPIPrefixPath','_submitChangeset','event$','_socket','SUBMIT_CHANGESET_TIMEOUT','OFFLINE','[DataLoaderService]','_createHandler','map','sigBytes','BASE64','NO_OTHER_CLIENTS_EDITING','NOT_COLLAB','UnitSnapshot','onSyncEditingCollabCursor','saveImage','stringify','_doCryptBlock','onlyLocal','image/jpeg','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','routeKey','UNIVER_DOC','_stopTelemetryCollaborationNewChangeset','/universer-api/snapshot','_isPermissionRej','csRejEvent','socket\x20open.','PENDING','loadOfflineData','onSendChangeset','enableAuthServer','_clearHeartbeatTimer','put','/object','17933840Epwsqw','getResourcesRequest','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId','_collabSessionService','OpenSSL','/universer-api/oidc/authpage','_createHmacHelper','APPLY_PERMISSION_DENIED','awaiting_with_pending','toggleOnline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','status$','_process','getCollabEntity','_doReset','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','_getRedoStack','AWAITING','PY_RUNTIME_SCRIPT_ERROR','_roomMembers','_onOffline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Encryptor','_socketReady','objectActions','_socketMessageSubscription','padding','iterations','unknown','POST','failed\x20to\x20apply\x20missed\x20changesets!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error$','encrypt','APPLY_REJECT','c2Prime','_undoStacks','_scheduleCollaborationTimeoutTimer','executeCommand','_transformIMECache','getUnitId','fromCollab','_sender','\x20to\x20','_registerDependencies','_prevBlock','session.join-failed','UNIVER_SLIDE','uploadFileServerUrl','getTypeOfUnitDisposed$','_collaborationPaused','repeat','People','_timeoutTimer','_event$','fetchMissingChangesets','revision','_memberService','encryptBlock','HEARTBEAT_INTERVAL','/universer-api/user/session-ticket','type','catch','Hex','PasswordBasedCipher','Base64','/resources','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/stream/file/upload','_transformUndoredo','cmd','INGEST','asObservable','_replayCachedMutations','body','commentUpdateEvent','SHOULD_CLOSE_CONN','updatePermissionObjEvent','pending','_startTelemetryCollaborationNewChangeset','_waitForHeartbeatResponse','addHandlerCallback','_entityInit$','getSheetId','joinEvent','bind','max','_createHelper','resourceIDs','kdf','Malformed\x20UTF-8\x20data','commentUpdate$','_listenToNetworkCondition','replace','?url=','clamp','awaitingChangeset','enc','_telemetryService','responseType','_substituteRedoStack','_onConflict','SUCCUSS','params','entityInit$','charCodeAt','extend','_commandService','fetching\x20missing\x20changesets\x20from\x20','_httpService','clear','__esModule','UNKNOWN_CMD','getCurrentSelections','_clearRedo','getAllMembers','send','_imageSourceCache','_sendingTimer','NoPadding','HEARTBEAT_TIMEOUT','deepClone','RETRY_CONNECTING_MAX_COUNT','_localeService','_transitionLocked','FAIL','ciphertext','_localCacheService','_waitCount','JOIN_ROOM_FAILED','Base','\x0aCurrent:\x20','UNAUTHENTICATED','image/png','onStateChange','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','hostname','FETCH_MISSING','connection\x20error','LIVESHARE_TERMINATE','close$','[SyncedState]:\x20received\x20rejection.','createSocket','CipherParams','liveShareNewHost','onLocalMutation','OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','saveChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','18ihBqdf','_mode','indexOf','_sendHeartbeatTimer','BlockCipherMode','_getUndoStack','signUrlServerUrl','subject','Hasher','_hasher','_queuedRemoteChangesets','cfg','_handlerCallback','_transformStack','debug','charAt','SNAPSHOT_SERVER_URL_KEY','delete','fetchMiss','GLOBAL_ROOMS_CNT_EXCEEDS','Latin1','ONLINE','INTERNAL_ERROR','getCurrentUser','getValue','reqId','splice','HEARTBEAT','_unitID','CONNECTOR_DATA_TOO_LARGE','string','AUTHZ_URL_KEY','not_collab','_snapshotService','_transformRemoteChangesetByIMECache','batchAllowed','_remoteChangesetQueue','putCollaborators','HELLO','onCommandExecuted','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','readAsDataURL','editingUnit','resolve','function','pauseCollaboration','9GrpWpp','\x20-\x20','UPDATE_PERMISSION_OBJ','_compressMutationService','sid','_onRemoteChangeset','_xformMode','originalMeta','_revisionService','hasher','_fetchMissChangesets','objectID','image/gif','[CollaborationSessionService]','open$','patch','_replaceFileID','ERROR_IMAGE_TYPE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetch_missing','[FetchMissState]','MSG_FOR_ERROR','memberID','_shouldReportTelemetry','_networkConditionService','_onJoinRoomEvent','ws://127.0.0.1:8000/universer-api/comb/connect','_cipher','OPTIONAL','_invKeySchedule','INVALID_ARGUMENT','_toggleOnline','__Key__','appendMutation','_clearLocalCache','_unitInfo$','HMAC','localCacheService','_substituteUndoStack','_configService','JOIN_ROOM_NOT_EXISTS','localeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','decrypt','_getLoginPath','getLatestCsReqIdBySid','transformSelections','onTransformRemoteChangesetByStateCache','COMMENT_UPDATE','offline','HttpExport','_initCloseConn','collaboratorID','_doFinalize','_transformSelections','interceptor','UNIVER_PROJECT','_status$','6970UfHFTX','isArray','c1Prime','_getSendChangesetTimeout','deleteCollaborator','JOIN_ROOM_FULL','/fetchmissing?from=','_undoRedoService','csAckEvent','SYNCED','HttpImport','getSheetBlock','IDLE','_updateStatus','shouldCloseConn','_disableEditing','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','requestParams','onRemoteRetry','getUnitOnRev','closeSession','getDeserializedSheetBlock','_sessions','decryptBlock','getSnapshotAPIPath','clone','incrementRevOfUnit','_state','toString','LOGIN_URL_KEY','collaborators','list','then','session.room-full','/universer-api/snapshot/','_append','LIVESHARE_FETCH_OPERATIONS','&source=','_singleActiveUnitService','pipe','entries','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','onMissingChangesets','_instanceService','roomInfos','_members$','url','compute','collaMsg','fetchThroughInterceptors','online$','refreshPermission','location','forEach','allowed','AES','_handler','focused$','Error\x20on\x20receiving\x20event','_getSignURL','execute','onTransformIME','unpad','[CollaborationEntity]','format','_createInitialStateImpl','algo','removeMember','_clearScheduledTask','_createInitialState','getInterceptPoints','_change$','SHA1','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','_initRequestHeader','buffer','onRemoteRej','_snapshotServerService','_iKey','hasOwnProperty','_startCollaboration','USERS_LEAVE','[CollaborationSession]','addImageSourceCache','loadUnit','awaiting','_onFetchMissResult','CONFLICT','_permissionService','exports','365766biaSIO','UNDEFINED','Utf8','Decryptor','/universer-api/uniscript','close','_minBufferSize','_syncEditingCollabCursor','parse','code','copyFileMeta','_transformRemoteChangesetByStateCache','reject','substr','snapshotServerUrl','univer-pro.collaboration-client.network-condition.service','save\x20fail\x20reason\x20is\x20','leaveEvent','[PendingState]:\x20received\x20rejection.','formatter','_removeRoom','4528fuFDDh','sessionStatus$','/object/','_loadDoc','CLOSE_ROOM','_onMessage','mutations','image/bmp','enableOfflineEditing','saveSnapshot','textRanges','getMember','encodeURIComponent','_clearTimeoutTimer','editing\x20status\x20changed\x20to','USERS_ENTER','_applyRemoteChangeset','_acknowledgedAwaitingChangeset','push','transformChangesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','telemetry\x20info\x20is\x20not\x20initialized','unitInfo$','onCommentUpdate','LIVESHARE_REQUEST_HOST','changesets','title','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_lockTransition','setShowComponents','_onCombEvent','_getDownloadEndpointURL','setCurrentUser','collabSubmitChangesetUrl','SUBMIT_CHANGESET','_onRemoteRetry','pad','infoRsp','members$','_collaborationTimeoutTimer','NEW_CHANGESETS','onMissedChangesetFetched','4nwBccn','YUUMI_SUBSCRIPTION_NOT_FOUND','_univerInstanceService','_parse','data','ALREADY_EXISTS','listCollaborators','61801rRltgn','eventID','lib','_clearCollaborationTimeoutTimer','OTHER_CLIENT_EDITING','duration','LIVESHARE_OPERATION','getConfig','random','HmacSHA1','CBC','get','name','25123901VRJwKN','LEAVE','update','PERSON','PSEUDO_FETCH_MISSING_RESULT','floor','now','defineProperty','keySize','PERMISSION_DENIED','state','[OfflineState]:\x20received\x20acknowledgement.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','byteLength','finalize','[CollaborationUndoRedoService]','_commentUpdate$','189483RYsSGw','SerializableCipher','/universer-api/authz','CHANGESET_REJ','_doCreateSocket','collaboration_new_changeset','roles','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_initDependencies','/unit/','updatePermissionPoint','_tryEnsureSocket','min','reduce','_resendTimer','TOO_MANY_REQUESTS','\x20in\x20_schedule.','BlockCipher','COMPRESS_MUTATION_APPLY','_nRounds','[SyncedState]:\x20received\x20acknowledgement.','onRemoteAck','_onConnectionOpen','_logService','action','_unlockTransition','loginUrlKey','CHANGESET_REVISION_CONFILICT','session','_onRecvEvent','MUTATION','_collaborationSessionService','prototype','_sendHeartbeat','_key','YUUMI_URL_COL_OUT_OF_RANGE','COMPRESS_MUTATION_SEND','join','every','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','822416jZVLZH','size','requireSession','createInstance','status','onStarting','message$','RECV','blockSize','ceil','HmacMD5','BufferedBlockAlgorithm','_oKey','has','symbol','_sessionStatus$','_injector','_sheetTransformSelectionsService','next','_roomCreated$','result','_initMergeInterceptor','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','error','pluginName','getRandomValues','/new_changes','slice','_transformService','/allowed','dispose$','_onConnectionFailed','ERROR_EXCEED_SIZE','words','transformUndoRedo','sin','call','rev','EvpKDF','file','/collaborator','_HTTPService','UnitEmbedded','PERMISSION_REJ','randomBytes','_onLocalMutation','complete','onRemoteChangeset','_onRemoteACK','listRoles','_updateState','_getAPIPrefix','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LIVESHARE_NEW_HOST','_retryConnectingTimer','_socket$','createEncryptor','_emitMembers','reconnect','csShouldRetryEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','objectType','_loadSheet','[PendingState]:\x20received\x20acknowledgement.','concat','_getCtorByUniverType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnitType','LICENSE_EXPORT_SIZE_EXCEEDED','CHANGESET_SHOULD_RETRY','mixIn','isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','abs','_resendTimeout','headers','saveSheetBlock','SOCKET_FAILED','create','members','UNRECOGNIZED','onTransformSelections','session.room-permission-denied','_resendWithTimeout','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','collabWebSocketUrl','JOIN_ROOM_PERMISSION_DENIED','getImage','append','synced','COLLAB_SUBMIT_CHANGESET_URL','_config','init','SEND_CHANGESET_TIMEOUT','YUUMI_UNABLE_LOAD_URL','registerHTTPInterceptor','change$','crypto','_state$','UNKNOWN_CODE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_initUnitPermissionChange','range','msCrypto','stopTime','baseRev','[OfflineState]:\x20received\x20rejection.','selections','_reverseMap','__creator','Cipher','MD5','/block/','session.room-cnt-exceeds','post','&to=','conflict','WordArray','_incrementRevisionNumber','_toggleOffline','_iv','UPDATE_CURSOR','reset','apply','getCurrentRevOfUnit','_onUserJoin','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_RATE_OVER_LIMIT','objects','UUID','length','downloadEndpointUrl','mode','univer-pro.collaboration-client-socket-service','_init','LICENSE_DISTRO_REJECTED','_doProcessBlock','startsWith','getUnit','_changesetReqId','_executeRemoteChangeset','getTypeOfUnitAdded$','readInt32LE','_updateLocalCache','readyForCollab','_members','_candidateSocket','_eventService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','submit\x20changeset\x20error!','from','{fileID}','image/jpg','_telemetryInfo','_nDataBytes','sendChangesetTimeout','_awaitingChangeset','LICENSE_MAX_UNITS_EXCEEDED','/rev/','_exhaustRemoteChangesetQueue','_clearUndo','avatar','_checkMissing','ERROR_IMAGE','_retryCount','method','uniscriptRunEvent','_rescheduleHeartbeat','collaboration-client.config','filter','Undefined','JOIN','key','transformMutationsWithChangeset','FETCH_MISS','_changesetSessionId','_getUploadFileURL','fromCharCode','m2Prime','$super','retryConnectingInterval','getOwnPropertyDescriptor','href','_socketService','_userManagerService','_type','resend','startTime','default','DEFAULT_FILE_NAME','unitID','withCredentials','transformStack\x20failed!','getCollabEntity$','UNISCRIPT_RUN','SOCKET_FAILED_RETRY','set','randomUUID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','FileId','/-/object/-/batch_allowed','[OfflineState]:\x20received\x20changeset.','/-/object/list','UNIVER_UNKNOWN','createDecryptor','_joinRoom','univer-pro.collaboration-client.single-active-unit-service','APPLY_DUPLICATED','CHANGESET_ACK','x-univer-host','workbook','disposeWithMe','_hash','add','compose','\x0aAfter:\x20','state$','COLLAB_WEB_SOCKET_URL','JOINING','/universer-api/comb','_pendingMutations','reverse','_decreaseWaiting','[PendingState]:\x20unhandled\x20univer\x20type:\x20','actions','_schedule','onTransformState','initWorkbookPermissionChange','dispose','_showConflictNotification','_getCurrentRevision','getMemberID','_onRemoteRejected','_keyPriorReset','emitEvent','getWorkbookSelections','byteOffset','find','_scheduleCompleteTimestamp','getUnitStatus$','getFocusedUnit','_onUserLeave','_ENC_XFORM_MODE','findIndex','equals','UNIVER_SHEET','_data','subscribe','socket$','updateMember'];_0x2844=function(){return _0x53e8c8;};return _0x2844();}Dt=ms([Pe(0x0,_0xffe073),Pe(0x1,_0x50ec3e),Pe(0x2,_0x5bd258),Pe(0x3,_0x3ece4b),Pe(0x4,_0x3cc2bd)],Dt);var gs=Object[_0x228894(0x436)],Ss=Object['getOwnPropertyDescriptor'],Es=(_0x55992b,_0x5b669e,_0x557ca0)=>_0x5b669e in _0x55992b?gs(_0x55992b,_0x5b669e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557ca0}):_0x55992b[_0x5b669e]=_0x557ca0,Is=(_0x170c93,_0xca0b7b,_0x49b086,_0x5cd50b)=>{var _0x12aa2f=_0x228894;for(var _0x21f9fd=_0x5cd50b>0x1?void 0x0:_0x5cd50b?Ss(_0xca0b7b,_0x49b086):_0xca0b7b,_0x455ac3=_0x170c93[_0x12aa2f(0x1d8)]-0x1,_0x5b1137;_0x455ac3>=0x0;_0x455ac3--)(_0x5b1137=_0x170c93[_0x455ac3])&&(_0x21f9fd=_0x5b1137(_0x21f9fd)||_0x21f9fd);return _0x21f9fd;},St=(_0x2b5c31,_0x4bf15)=>(_0x42442d,_0x2b6069)=>_0x4bf15(_0x42442d,_0x2b6069,_0x2b5c31),Ts=(_0x218b66,_0x594e5a,_0x444e28)=>Es(_0x218b66,_0x594e5a+'',_0x444e28);const Cs='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x5a64fe{constructor(_0x5ac7d3,_0x3e1707,_0x265699,_0x122057){var _0x8517f4=_0x228894;super(),N(this,_0x8517f4(0x1b1)),(this[_0x8517f4(0x144)]=_0x3e1707,this[_0x8517f4(0x165)]=_0x265699,this[_0x8517f4(0x36d)]=_0x122057);const {..._0x522d22}=_0x444ec8({},Ar,_0x5ac7d3);if(!_0x522d22['socketService'])throw new Error(_0x8517f4(0x282));this['_config']=_0x522d22,this[_0x8517f4(0x36d)]['setConfig'](q,_0x522d22);}[_0x228894(0x15a)](){var _0x136b3b=_0x228894;this['_registerDependencies'](),this[_0x136b3b(0x135)]();}[_0x228894(0x2ae)](){var _0x489573=_0x228894,_0xfb26f8,_0x37df41;this[_0x489573(0x165)][_0x489573(0x162)](_0x15c881)&&this[_0x489573(0x144)][_0x489573(0x16d)]('[UniverCollaborationClientPlugin]',_0x489573(0x1aa));const _0x38b757=_0x4d8dd9([[_0x15c881,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this['_config']['socketService']}],[_0x5d1003,{'useClass':Nt}],[_0x25ae31,{'useClass':Rt}],[_0x3ed98c,{'useClass':yt}],[_0x2aaf3e,{'useClass':Ot}],[nt],[Ct]],(_0xfb26f8=this['_config'])==null?void 0x0:_0xfb26f8['override']);if(!((_0x37df41=this[_0x489573(0x1b1)])!=null&&_0x37df41['enableSingleActiveInstanceLock'])){const _0x4b7e67=_0x38b757[_0x489573(0x24a)](([_0x1abc4e])=>_0x1abc4e===ht);_0x4b7e67!==-0x1&&_0x38b757['splice'](_0x4b7e67,0x1);}_0xd419ce(this[_0x489573(0x165)],_0x38b757);}[_0x228894(0x135)](){var _0x1780ce=_0x228894,_0x1d43c6,_0x6e5855,_0x2c72d3;this['_injector'][_0x1780ce(0x42d)](_0x5daba1)[_0x1780ce(0x1b5)]({'priority':0x14,'interceptor':_0x304424({'maxParallel':0x6})}),(_0x1d43c6=this['_config'])!=null&&_0x1d43c6[_0x1780ce(0x3f9)]||(_0x6e5855=this[_0x1780ce(0x165)][_0x1780ce(0x42d)](J,_0x2545e1[_0x1780ce(0x362)]))==null||_0x6e5855['disableLocalCache'](),(_0x2c72d3=this[_0x1780ce(0x1b1)])!=null&&_0x2c72d3[_0x1780ce(0x27c)]&&_0x3943a1(this['_injector'],[[st]]),_0x3943a1(this[_0x1780ce(0x165)],[[ot],[nt],[at]]);}};Ts(Ut,_0x228894(0x16e),Cs),Ut=Is([_0x331e67(_0x1316fd,_0x46dba4,_0x59ac87),St(0x1,_0x3cc2bd),St(0x2,_0x7e1ee1(_0xa32491)),St(0x3,_0x7ee467)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nr as COLLAB_SUBMIT_CHANGESET_URL_KEY,Ir as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tr as DEFAULT_COLLAB_WEB_SOCKET_URL,Bs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ms as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pr as INetworkConditionService,ht as ISingleActiveUnitService,$s as LOCAL_CACHE_INTERVAL,ks as LOCAL_CACHE_INTERVAL_KEY,Ur as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,Hs as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yr as RETRY_CONNECTING_MAX_COUNT_KEY,Ls as SEND_CHANGESET_TIMEOUT_KEY,mr as SNAPSHOT_SERVER_URL_KEY,Sr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xr as deserializeToCombResponse,js as getLocalCacheKey,Lr as serializeCombRequest};
|
1
|
+
var _0x1f558c=_0x4725;(function(_0xab0a9a,_0x183a32){var _0x5e69c2=_0x4725,_0x42dc2f=_0xab0a9a();while(!![]){try{var _0x2d5e9e=-parseInt(_0x5e69c2(0x3af))/0x1+parseInt(_0x5e69c2(0x368))/0x2+-parseInt(_0x5e69c2(0x362))/0x3+-parseInt(_0x5e69c2(0x33b))/0x4+parseInt(_0x5e69c2(0x430))/0x5*(parseInt(_0x5e69c2(0x152))/0x6)+parseInt(_0x5e69c2(0x1e7))/0x7+parseInt(_0x5e69c2(0x241))/0x8*(parseInt(_0x5e69c2(0x1a4))/0x9);if(_0x2d5e9e===_0x183a32)break;else _0x42dc2f['push'](_0x42dc2f['shift']());}catch(_0x27b67a){_0x42dc2f['push'](_0x42dc2f['shift']());}}}(_0x3db1,0x7b71a));var Ai=Object['defineProperty'],xi=(_0x3b2f2a,_0x5675ea,_0xa50ee9)=>_0x5675ea in _0x3b2f2a?Ai(_0x3b2f2a,_0x5675ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa50ee9}):_0x3b2f2a[_0x5675ea]=_0xa50ee9,N=(_0x16b8ea,_0x136e93,_0x533142)=>xi(_0x16b8ea,typeof _0x136e93!='symbol'?_0x136e93+'':_0x136e93,_0x533142);import{createIdentifier as _0x2235da,Inject as _0x5b2811,Injector as _0x5b79bd,Disposable as _0xc53c05,DisposableCollection as _0x17a125,toDisposable as _0xd7d543,IConfigService as _0x4ea54a,ILogService as _0x574408,UserManagerService as _0x10939a,UniverInstanceType as _0x3886a9,IUniverInstanceService as _0x30c3be,LocaleService as _0x426c5e,Optional as _0x40673b,RxDisposable as _0x1a5dd9,Tools as _0x2d4a2c,Rectangle as _0x568d0c,ICommandService as _0x456150,JSONX as _0x431a9e,CommandType as _0x2402fa,IPermissionService as _0x5b9158,IUndoRedoService as _0x46c745,sequenceExecute as _0x4ff652,Workbook as _0x13ef59,MentionType as _0x4e27b9,isInternalEditorID as _0x5c098a,LocalUndoRedoService as _0x457268,IContextService as _0x201420,DependentOn as _0x208650,Plugin as _0x5290de,merge as _0x33bad6,mergeOverrideWithDependencies as _0x591a49,IAuthzIoService as _0x1b9835,IMentionIOService as _0x4e0d64,registerDependencies as _0x8001ff,Quantity as _0x5bd1e3,touchDependencies as _0x3a3a91}from'@univerjs/core';import{Subject as _0x13d4cc,merge as _0x404c78,of as _0xb786a0,BehaviorSubject as _0x12b284,takeUntil as _0x29925c,ReplaySubject as _0x40f8ad,take as _0x3669e7,map as _0x1d5c6b,shareReplay as _0x576d80,firstValueFrom as _0x9545a1,concatMap as _0x574dc9}from'rxjs';import{map as _0xeca816,take as _0x56ed41,filter as _0x1bdf9d,delay as _0x18b0fa,takeUntil as _0x30142f}from'rxjs/operators';import{CollaborationEvent as _0x238e1f,parseChangesetToProtocol as _0x32fcbc,ISnapshotServerService as _0x389d38,isTransformMutationsWithChangesetSuccess as _0x1a87e5,ITransformService as _0x45b9e1,mapDocumentTypeToUniverType as _0x46690e,RevisionService as _0x40fd0a,isTransformChangesetsSuccess as _0x2e616a,CompressMutationService as _0x112c57,parseProtocolChangeset as _0x350fd9,SnapshotService as _0x4c1140,textEncoder as _0x9a9792,b64DecodeUnicode as _0x3b9e94,isTransformMutationsWithChangesetFailure as _0x10ccbc,UniverCollaborationPlugin as _0x3c03b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x5b9922,ISocketService as _0x145494,MergeInterceptorFactory as _0x324ea2,HTTPRequest as _0x4ba1c4,UniverNetworkPlugin as _0xc797fa,ThresholdInterceptorFactory as _0x3cb4fe}from'@univerjs/network';import{ITelemetryService as _0x12c52a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3eafab}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c4be3,SetSelectionsOperation as _0xebdb79,InsertSheetMutation as _0x21cc23,EmptyMutation as _0x23cce6,WorkbookEditablePermission as _0x6a1b02,SheetPermissionInitController as _0x15e11e}from'@univerjs/sheets';import{ImageSourceType as _0x437e6e,ImageUploadStatusType as _0x42bf22,IImageIoService as _0x3f6478}from'@univerjs/drawing';import{getGlobalObject as _0x5d2141}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En='SNAPSHOT_URL_KEY',Zs='SEND_CHANGESET_TIMEOUT',In=0x7d0,Tn=_0x1f558c(0x2ce),Cn=_0x1f558c(0x281),Qs=_0x1f558c(0x1d8),bn=_0x1f558c(0x2a9),Rn=0x7530,mi=_0x1f558c(0x3b8),gi=0x4e20,On=0x4e20,yn=_0x1f558c(0x1a2),Nn=0x3,eo=_0x1f558c(0x3cb),to=0x3e8,Dn=_0x1f558c(0x32e),Pn=_0x1f558c(0x34b),wn=_0x1f558c(0x2cd),Un=_0x1f558c(0x13f),io=_0x1f558c(0x29a),no=_0x1f558c(0x2e2);var Si=(_0x39e088=>(_0x39e088[_0x39e088['UNDEFINED']=0x0]=_0x1f558c(0x232),_0x39e088[_0x39e088['OK']=0x1]='OK',_0x39e088[_0x39e088['INTERNAL_ERROR']=0x2]=_0x1f558c(0x1d4),_0x39e088[_0x39e088[_0x1f558c(0x1de)]=0x3]=_0x1f558c(0x1de),_0x39e088[_0x39e088['NOT_FOUND']=0x4]='NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x300)]=0x5]=_0x1f558c(0x300),_0x39e088[_0x39e088[_0x1f558c(0x1b2)]=0x6]='ALREADY_EXISTS',_0x39e088[_0x39e088[_0x1f558c(0x409)]=0x7]=_0x1f558c(0x409),_0x39e088[_0x39e088[_0x1f558c(0x297)]=0x8]='TOO_MANY_REQUESTS',_0x39e088[_0x39e088[_0x1f558c(0x398)]=0x9]=_0x1f558c(0x398),_0x39e088[_0x39e088['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x39e088[_0x39e088[_0x1f558c(0x288)]=0x1771]=_0x1f558c(0x288),_0x39e088[_0x39e088[_0x1f558c(0x3d1)]=0x1772]=_0x1f558c(0x3d1),_0x39e088[_0x39e088[_0x1f558c(0x212)]=0x1773]=_0x1f558c(0x212),_0x39e088[_0x39e088[_0x1f558c(0x14a)]=0x1b59]=_0x1f558c(0x14a),_0x39e088[_0x39e088['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f558c(0x206),_0x39e088[_0x39e088['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f558c(0x32f),_0x39e088[_0x39e088[_0x1f558c(0x292)]=0x1b5c]=_0x1f558c(0x292),_0x39e088[_0x39e088['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x39e088[_0x39e088[_0x1f558c(0x1d7)]=0x1f41]=_0x1f558c(0x1d7),_0x39e088[_0x39e088['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f558c(0x148),_0x39e088[_0x39e088['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f558c(0x1da),_0x39e088[_0x39e088[_0x1f558c(0x2bc)]=0x232b]=_0x1f558c(0x2bc),_0x39e088[_0x39e088['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1f558c(0x2b2),_0x39e088[_0x39e088['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1f558c(0x396),_0x39e088[_0x39e088['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1f558c(0x30b),_0x39e088[_0x39e088[_0x1f558c(0x285)]=0x2712]=_0x1f558c(0x285),_0x39e088[_0x39e088['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x39e088[_0x39e088['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x3a6)]=0x2af9]=_0x1f558c(0x3a6),_0x39e088[_0x39e088['UNRECOGNIZED']=-0x1]=_0x1f558c(0x34f),_0x39e088))(Si||{}),Q=(_0xb8ecdf=>(_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3cd)]=0x0]=_0x1f558c(0x3cd),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x143)]=0x1]=_0x1f558c(0x143),_0xb8ecdf[_0xb8ecdf['UNIVER_SHEET']=0x2]=_0x1f558c(0x3d3),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3e3)]=0x3]=_0x1f558c(0x3e3),_0xb8ecdf[_0xb8ecdf['UNIVER_PROJECT']=0x4]=_0x1f558c(0x243),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0xb8ecdf))(Q||{}),F=(_0x74430b=>(_0x74430b[_0x74430b[_0x1f558c(0x1ad)]=0x0]=_0x1f558c(0x1ad),_0x74430b[_0x74430b[_0x1f558c(0x28b)]=0x1]='HELLO',_0x74430b[_0x74430b[_0x1f558c(0x16e)]=0x2]=_0x1f558c(0x16e),_0x74430b[_0x74430b['LEAVE']=0x3]=_0x1f558c(0x260),_0x74430b[_0x74430b[_0x1f558c(0x24d)]=0x4]=_0x1f558c(0x24d),_0x74430b[_0x74430b[_0x1f558c(0x2c1)]=0x5]='HEARTBEAT',_0x74430b[_0x74430b['RECV']=0x6]='RECV',_0x74430b[_0x74430b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x74430b))(F||{}),ge=(_0x401e4b=>(_0x401e4b[_0x401e4b['UNKNOWN_CODE']=0x0]=_0x1f558c(0x39f),_0x401e4b[_0x401e4b['OK']=0x1]='OK',_0x401e4b[_0x401e4b[_0x1f558c(0x3c8)]=0x2]=_0x1f558c(0x3c8),_0x401e4b[_0x401e4b[_0x1f558c(0x185)]=0x3e9]=_0x1f558c(0x185),_0x401e4b[_0x401e4b[_0x1f558c(0x16a)]=0x3ea]=_0x1f558c(0x16a),_0x401e4b[_0x401e4b[_0x1f558c(0x39b)]=0x3eb]=_0x1f558c(0x39b),_0x401e4b[_0x401e4b[_0x1f558c(0x3bb)]=0x3ec]=_0x1f558c(0x3bb),_0x401e4b[_0x401e4b[_0x1f558c(0x34f)]=-0x1]='UNRECOGNIZED',_0x401e4b))(ge||{}),Ei=(_0x155952=>(_0x155952[_0x155952[_0x1f558c(0x302)]=0x0]='Undefined',_0x155952[_0x155952['HttpImport']=0x1]=_0x1f558c(0x1d6),_0x155952[_0x155952[_0x1f558c(0x2a7)]=0x2]=_0x1f558c(0x2a7),_0x155952[_0x155952[_0x1f558c(0x33c)]=0x3]=_0x1f558c(0x33c),_0x155952[_0x155952['UnitSnapshot']=0x4]='UnitSnapshot',_0x155952[_0x155952[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0x155952))(Ei||{});const q=_0x1f558c(0x1ab),An={};var se=(_0x5978cc=>(_0x5978cc[_0x1f558c(0x222)]='OTHER_CLIENT_EDITING',_0x5978cc[_0x1f558c(0x1de)]='PERMISSION_DENIED',_0x5978cc[_0x1f558c(0x2c7)]='CONFLICT',_0x5978cc[_0x1f558c(0x1ba)]='CLOSE_ROOM',_0x5978cc[_0x1f558c(0x1c1)]=_0x1f558c(0x1c1),_0x5978cc[_0x1f558c(0x1ee)]='SOCKET_FAILED_RETRY',_0x5978cc['SOCKET_FAILED']=_0x1f558c(0x415),_0x5978cc['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5978cc))(se||{});class pe{constructor(){var _0x1669ad=_0x1f558c;N(this,_0x1669ad(0x267),new _0x13d4cc()),N(this,_0x1669ad(0x1c9),this[_0x1669ad(0x267)][_0x1669ad(0x317)]());}[_0x1f558c(0x2ec)](_0x444f6e){var _0x4a5050=_0x1f558c;this[_0x4a5050(0x267)]['next'](_0x444f6e);}}const xn=_0x2235da(_0x1f558c(0x2b0));function Ln(_0xa4b886){var _0x44f1aa=_0x1f558c,_0xe2dae2,_0x1b1006,_0x34b2fd,_0x5d802f,_0x40867b;const _0xffac3a=_0xa4b886[_0x44f1aa(0x2f7)],_0x3344cf=JSON[_0x44f1aa(0x234)](_0xffac3a);switch(_0x3344cf[_0x44f1aa(0x301)]){case F[_0x44f1aa(0x2c1)]:case F[_0x44f1aa(0x28b)]:{const _0x5e21b5=_0x3344cf[_0x44f1aa(0x408)];return{..._0x3344cf,'data':_0x5e21b5,'cmd':_0x3344cf[_0x44f1aa(0x301)]};}case F[_0x44f1aa(0x16e)]:{const _0x395e3f=_0x3344cf[_0x44f1aa(0x21d)];return{..._0x3344cf,'data':_0x395e3f,'cmd':_0x3344cf['cmd']};}case F[_0x44f1aa(0x337)]:{const _0x509568=_0x3344cf['collaMsg'];switch(_0x509568[_0x44f1aa(0x20b)]){case _0x238e1f['PERMISSION_REJ']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0xe2dae2=_0x509568[_0x44f1aa(0x3e6)])==null?void 0x0:_0xe2dae2['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x325)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x1b1006=_0x509568[_0x44f1aa(0x192)])==null?void 0x0:_0x1b1006['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['NEW_CHANGESETS']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x34b2fd=_0x509568[_0x44f1aa(0x233)])==null?void 0x0:_0x34b2fd['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x2ad)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x5d802f=_0x509568['csRejEvent'])==null?void 0x0:_0x5d802f['cs']},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x3dd)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x40867b=_0x509568['csShouldRetryEvent'])==null?void 0x0:_0x40867b['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x33d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3aa)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x2d7)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3d4)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x294)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['leaveEvent']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['LIVESHARE_NEW_HOST']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x23b)]:case _0x238e1f['LIVESHARE_OPERATION']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x369)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x3f1)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf['cmd']};case _0x238e1f['MSG_FOR_ERROR']:return{..._0x3344cf,'data':_0x509568,'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x1ef)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x271)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x1b5)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x2e6)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x190)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x334)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x32d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x413)]},'cmd':_0x3344cf['cmd']};default:return _0x3344cf;}}default:return _0x3344cf;}}function Mn(_0x4002b7){var _0x2143cd=_0x1f558c;switch(_0x4002b7['cmd']){case F[_0x2143cd(0x2c1)]:case F['HELLO']:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)]});case F['INGEST']:{let _0x13c1f6;switch(_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]){case _0x238e1f[_0x2143cd(0x33d)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x33d)],'updateCursorEvent':_0x4002b7['data']['data']};break;}case _0x238e1f['USERS_LEAVE']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x294)],'leaveEvent':_0x4002b7['data']['data']};break;}case _0x238e1f[_0x2143cd(0x2d7)]:{_0x13c1f6={'eventID':_0x238e1f['USERS_ENTER'],'joinEvent':_0x4002b7['data'][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_NEW_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x25b)],'liveShareNewHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3df)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x3df)],'liveShareOperation':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3f1)]:{_0x13c1f6={'eventID':_0x238e1f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4002b7['data']['data']};break;}case _0x238e1f['LIVESHARE_REQUEST_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x340)],'liveShareRequestHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_FETCH_OPERATIONS']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x23b)]};break;}default:_0x13c1f6={'eventID':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]};}return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)],'collaMsg':_0x13c1f6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7[_0x2143cd(0x149)],'joinReq':_0x4002b7[_0x2143cd(0x2f7)]});case F[_0x2143cd(0x260)]:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7['routeKey'],'leaveReq':_0x4002b7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var $n=Object[_0x1f558c(0x175)],Hn=Object[_0x1f558c(0x330)],kn=(_0x235802,_0x2a98bd,_0xc4af4b,_0x1b36f1)=>{for(var _0x45654d=_0x1b36f1>0x1?void 0x0:_0x1b36f1?Hn(_0x2a98bd,_0xc4af4b):_0x2a98bd,_0x36b6a8=_0x235802['length']-0x1,_0x32eefd;_0x36b6a8>=0x0;_0x36b6a8--)(_0x32eefd=_0x235802[_0x36b6a8])&&(_0x45654d=(_0x1b36f1?_0x32eefd(_0x2a98bd,_0xc4af4b,_0x45654d):_0x32eefd(_0x45654d))||_0x45654d);return _0x1b36f1&&_0x45654d&&$n(_0x2a98bd,_0xc4af4b,_0x45654d),_0x45654d;},we=(_0x4c9476,_0x12acf1)=>(_0x11982e,_0x5dbd8c)=>_0x12acf1(_0x11982e,_0x5dbd8c,_0x4c9476);const Ii=_0x2235da(_0x1f558c(0x338));function jn(_0x419f42,_0x140a54,_0x22e2a4){var _0x67aab8=_0x1f558c;return _0x419f42+'/'+_0x140a54+_0x67aab8(0x348)+_0x22e2a4+_0x67aab8(0x254);}let Vt=class extends _0xc53c05{constructor(_0xd72b3a,_0x4e8720,_0x1bdf86,_0x24d883,_0x5beb64){var _0x149dc9=_0x1f558c;super(),this[_0x149dc9(0x1b3)]=_0xd72b3a,this[_0x149dc9(0x2d9)]=_0x4e8720,this[_0x149dc9(0x405)]=_0x1bdf86,this[_0x149dc9(0x343)]=_0x24d883,this[_0x149dc9(0x397)]=_0x5beb64;}['_doCreateSocket'](_0x38f03c){var _0x567777=_0x1f558c;const _0x5e5e48=this[_0x567777(0x1b3)][_0x567777(0x1e3)](_0x145494);if(!_0x5e5e48)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x135c1e=_0x5e5e48['createSocket'](_0x38f03c);if(!_0x135c1e)throw new Error(_0x567777(0x3b3));const _0x246a3d=new _0x17a125(),_0x550c2b=new _0x13d4cc();_0x246a3d['add'](_0x135c1e['close$']['subscribe'](_0x40beca=>_0x550c2b['next'](_0x40beca))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x550c2b['complete']()));const _0x3aade4=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e[_0x567777(0x364)][_0x567777(0x3a4)](_0x1c993e=>_0x3aade4[_0x567777(0x140)](_0x1c993e))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x3aade4[_0x567777(0x345)]()));const _0x1c6783=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e['message$'][_0x567777(0x3a4)](_0x282cba=>{var _0x5da3ef=_0x567777;const _0x273d72=Ln(_0x282cba);_0x1c6783[_0x5da3ef(0x140)](_0x273d72);})),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x1c6783[_0x567777(0x345)]()));let _0x18c1fc;const _0x55969a=()=>{var _0x5c3f46=_0x567777;_0x3aade4[_0x5c3f46(0x140)](new Event('connection\x20error')),_0x550c2b['next'](new Event('connection\x20error')),_0x18c1fc['close']();};return _0x18c1fc={'memberID':'','close$':_0x550c2b['asObservable'](),'error$':_0x3aade4[_0x567777(0x317)](),'open$':_0x135c1e['open$'],'message$':_0x1c6783[_0x567777(0x317)](),'send':_0x1f5465=>{var _0x192331=_0x567777;if(_0x1f5465[_0x192331(0x301)]===F[_0x192331(0x24d)]){if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x328)]){this['_submitChangeset'](_0x18c1fc,_0x1f5465[_0x192331(0x2f7)])[_0x192331(0x16b)](_0x151407=>{var _0x1668d8=_0x192331;this[_0x1668d8(0x343)]['error'](_0x151407),_0x55969a();});return;}if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x199)]){const _0x518616=_0x1f5465['data'];this['_fetchMissChangesets'](_0x518616)[_0x192331(0x1e4)](_0x5d140e=>{var _0x52e424=_0x192331;_0x1c6783[_0x52e424(0x140)]({'cmd':F[_0x52e424(0x337)],'code':ge['OK'],'routeKey':_0x518616[_0x52e424(0x2f7)][_0x52e424(0x3e0)],'routeType':'','data':{'eventID':_0x238e1f[_0x52e424(0x22b)],'data':{'changesets':_0x5d140e}}});})[_0x192331(0x16b)](_0x29ecfa=>{var _0x5f5153=_0x192331;this[_0x5f5153(0x343)][_0x5f5153(0x145)](_0x29ecfa),_0x55969a();});return;}}_0x135c1e[_0x192331(0x1dc)](Mn(_0x1f5465));},'close':()=>{var _0x34d51d=_0x567777;_0x135c1e[_0x34d51d(0x26e)](),_0x246a3d['dispose']();}},_0x18c1fc;}async[_0x1f558c(0x307)](_0x4219e5,_0x2b07bd){var _0x51b073=_0x1f558c,_0xb83097,_0x117644;const {unitType:_0x113fb5,unitID:_0x38a9b8,changeset:_0x821b57}=_0x2b07bd[_0x51b073(0x2f7)],_0x58245b={'unitID':_0x38a9b8,'memberID':_0x4219e5[_0x51b073(0x239)],'type':_0x113fb5,'changeset':_0x32fcbc(_0x821b57)},_0x49a3c7=this[_0x51b073(0x405)][_0x51b073(0x2a0)](Dn),_0x24e357=this[_0x51b073(0x405)]['getConfig'](q),_0x27f7e8=jn((_0x117644=(_0xb83097=_0x24e357==null?void 0x0:_0x24e357[_0x51b073(0x168)])!=null?_0xb83097:_0x49a3c7)!=null?_0x117644:Pn,_0x113fb5,_0x38a9b8);try{await this[_0x51b073(0x2d9)]['post'](_0x27f7e8,{'body':_0x58245b});}catch(_0x489e0e){throw this[_0x51b073(0x343)][_0x51b073(0x145)](_0x51b073(0x3fa),_0x51b073(0x1e1)),_0x489e0e;}}async[_0x1f558c(0x1f7)](_0xee5f83){var _0x2f0b8c=_0x1f558c;const {unitID:_0x211b83,from:_0xbd8f02,to:_0x194e05,unitType:_0x165495}=_0xee5f83[_0x2f0b8c(0x2f7)];return(await this[_0x2f0b8c(0x397)][_0x2f0b8c(0x24a)]({'metadata':void 0x0},{'unitID':_0x211b83,'type':_0x165495,'from':_0xbd8f02,'to':_0x194e05}))[_0x2f0b8c(0x200)];}};Vt=kn([we(0x0,_0x5b2811(_0x5b79bd)),we(0x1,_0x5b2811(_0x5b9922)),we(0x2,_0x4ea54a),we(0x3,_0x574408),we(0x4,_0x389d38)],Vt);const Bn=_0x1f558c(0x2c4);function Fn(_0x3e912e){var _0x3cd827=_0x1f558c;return JSON[_0x3cd827(0x283)](_0x3e912e)[_0x3cd827(0x158)];}class Ti{constructor(){var _0x1683c9=_0x1f558c;N(this,_0x1683c9(0x32b),new _0x13d4cc()),N(this,_0x1683c9(0x34e),this[_0x1683c9(0x32b)][_0x1683c9(0x317)]());}[_0x1f558c(0x358)](_0x209e4f){var _0x2cd29c=_0x1f558c;this[_0x2cd29c(0x32b)][_0x2cd29c(0x140)](_0x209e4f);}}var Gn=Object[_0x1f558c(0x175)],Vn=Object[_0x1f558c(0x330)],Wn=(_0x12f010,_0x31b9db,_0x354aa7,_0x11a0b8)=>{var _0x262cc1=_0x1f558c;for(var _0x5dc312=_0x11a0b8>0x1?void 0x0:_0x11a0b8?Vn(_0x31b9db,_0x354aa7):_0x31b9db,_0x45826b=_0x12f010[_0x262cc1(0x158)]-0x1,_0x32a036;_0x45826b>=0x0;_0x45826b--)(_0x32a036=_0x12f010[_0x45826b])&&(_0x5dc312=(_0x11a0b8?_0x32a036(_0x31b9db,_0x354aa7,_0x5dc312):_0x32a036(_0x5dc312))||_0x5dc312);return _0x11a0b8&&_0x5dc312&&Gn(_0x31b9db,_0x354aa7,_0x5dc312),_0x5dc312;},Wt=(_0x3fe96c,_0x51d321)=>(_0xdb55a,_0x9f59f2)=>_0x51d321(_0xdb55a,_0x9f59f2,_0x3fe96c);let xe=class extends _0xc53c05{constructor(_0x1cfa0c,_0x13b554){var _0xd54980=_0x1f558c;super(),N(this,_0xd54980(0x3f5),new Map()),N(this,'_roomCreated$',new _0x13d4cc()),(this['_univerInstanceService']=_0x1cfa0c,this['_userManagerService']=_0x13b554,this['disposeWithMe'](_0x404c78(this['_univerInstanceService'][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3d3)])['pipe'](_0xeca816(_0x36c16c=>_0x36c16c[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x143)])['pipe'](_0xeca816(_0x4775d1=>_0x4775d1[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3e3)])[_0xd54980(0x41e)](_0xeca816(_0x10b2d5=>_0x10b2d5[_0xd54980(0x253)]())))[_0xd54980(0x3a4)](_0x5490eb=>this['_removeRoom'](_0x5490eb))));}[_0x1f558c(0x26c)](_0x17d51c){var _0x42b002=_0x1f558c;return this[_0x42b002(0x3f5)]['has'](_0x17d51c)?_0xb786a0(this[_0x42b002(0x3f5)][_0x42b002(0x1e3)](_0x17d51c)):this[_0x42b002(0x1e5)][_0x42b002(0x41e)](_0xeca816(_0xbebec4=>{var _0x95c450=_0x42b002;if(_0xbebec4===_0x17d51c)return this['_roomMembers'][_0x95c450(0x1e3)](_0xbebec4);}));}[_0x1f558c(0x18e)](_0x373d95){var _0x1d71f0=_0x1f558c;this[_0x1d71f0(0x2f4)][_0x1d71f0(0x18e)](_0x373d95);}[_0x1f558c(0x1d3)](){var _0x1a0ee7=_0x1f558c;return this[_0x1a0ee7(0x2f4)][_0x1a0ee7(0x1d3)]();}[_0x1f558c(0x150)](_0x58a6da,_0x284b26){var _0x56c6e9=_0x1f558c;let _0x1fee26=this[_0x56c6e9(0x3f5)][_0x56c6e9(0x1e3)](_0x58a6da);_0x1fee26||(_0x1fee26=new Kn(),this[_0x56c6e9(0x3f5)][_0x56c6e9(0x319)](_0x58a6da,_0x1fee26),this['_roomCreated$'][_0x56c6e9(0x140)](_0x58a6da)),_0x1fee26[_0x56c6e9(0x150)](_0x284b26);}[_0x1f558c(0x3f2)](_0x3b184b,_0x445156){var _0x4b6fad=_0x1f558c;const _0x420207=this[_0x4b6fad(0x3f5)][_0x4b6fad(0x1e3)](_0x3b184b);_0x420207&&_0x420207[_0x4b6fad(0x3f2)](_0x445156);}[_0x1f558c(0x186)](_0x434d63){var _0x292072=_0x1f558c;return this[_0x292072(0x3f5)][_0x292072(0x1e3)](_0x434d63);}[_0x1f558c(0x347)](_0x3063be,_0x815dc3){var _0x11f214=_0x1f558c;const _0x1abd6a=this['_roomMembers'][_0x11f214(0x1e3)](_0x3063be);if(_0x1abd6a)return _0x1abd6a[_0x11f214(0x347)](_0x815dc3);}['_removeRoom'](_0x1edf98){var _0x150eed=_0x1f558c;const _0x491297=this[_0x150eed(0x3f5)][_0x150eed(0x1e3)](_0x1edf98);_0x491297&&(_0x491297[_0x150eed(0x227)](),this['_roomMembers'][_0x150eed(0x167)](_0x1edf98));}[_0x1f558c(0x227)](){var _0x4eeb21=_0x1f558c;this['_roomMembers'][_0x4eeb21(0x179)](_0x1818e7=>_0x1818e7['dispose']()),this['_roomMembers']['clear'](),this[_0x4eeb21(0x1e5)]['complete']();}};xe=Wn([Wt(0x0,_0x30c3be),Wt(0x1,_0x5b2811(_0x10939a))],xe);class Kn extends _0xc53c05{constructor(){var _0x36e8a3=_0x1f558c;super(...arguments),N(this,_0x36e8a3(0x36b),new Map()),N(this,_0x36e8a3(0x14f),new _0x12b284(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x1f558c(0x227)](){var _0x3f5dc0=_0x1f558c;this[_0x3f5dc0(0x36b)]['clear']();}[_0x1f558c(0x150)](_0x29edda){var _0x43eff9=_0x1f558c;this[_0x43eff9(0x36b)][_0x43eff9(0x319)](_0x29edda['memberID'],_0x29edda),this[_0x43eff9(0x165)]();}['removeMember'](_0x23fa81){this['_members']['delete'](_0x23fa81);}[_0x1f558c(0x347)](_0x57ec26){var _0x4396fb=_0x1f558c;return this[_0x4396fb(0x36b)][_0x4396fb(0x1e3)](_0x57ec26);}[_0x1f558c(0x423)](){var _0xbcb993=_0x1f558c;return Array[_0xbcb993(0x392)](this[_0xbcb993(0x36b)][_0xbcb993(0x351)]());}['_emitMembers'](){var _0x3373e4=_0x1f558c;this[_0x3373e4(0x14f)][_0x3373e4(0x140)](this[_0x3373e4(0x36b)]);}}var Yn=Object[_0x1f558c(0x175)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x18a1c6,_0x547b3c,_0x410b33,_0x4f681d)=>{for(var _0x52aa11=_0x4f681d>0x1?void 0x0:_0x4f681d?qn(_0x547b3c,_0x410b33):_0x547b3c,_0xd1a9e6=_0x18a1c6['length']-0x1,_0x22e8e4;_0xd1a9e6>=0x0;_0xd1a9e6--)(_0x22e8e4=_0x18a1c6[_0xd1a9e6])&&(_0x52aa11=(_0x4f681d?_0x22e8e4(_0x547b3c,_0x410b33,_0x52aa11):_0x22e8e4(_0x52aa11))||_0x52aa11);return _0x4f681d&&_0x52aa11&&Yn(_0x547b3c,_0x410b33,_0x52aa11),_0x52aa11;},me=(_0x39cba7,_0x51fc2e)=>(_0x47d103,_0x94cf8e)=>_0x51fc2e(_0x47d103,_0x94cf8e,_0x39cba7),Ee=(_0x54e54d=>(_0x54e54d[_0x54e54d[_0x1f558c(0x21a)]=0x0]=_0x1f558c(0x21a),_0x54e54d[_0x54e54d[_0x1f558c(0x279)]=0x1]=_0x1f558c(0x279),_0x54e54d[_0x54e54d[_0x1f558c(0x18f)]=0x2]=_0x1f558c(0x18f),_0x54e54d[_0x54e54d[_0x1f558c(0x262)]=0x3]='ONLINE',_0x54e54d))(Ee||{});const Kt={[ge[_0x1f558c(0x3c8)]]:_0x1f558c(0x142),[ge['JOIN_ROOM_FULL']]:_0x1f558c(0x146),[ge[_0x1f558c(0x16a)]]:'session.room-not-exists',[ge[_0x1f558c(0x39b)]]:'session.room-permission-denied',[ge[_0x1f558c(0x3bb)]]:_0x1f558c(0x3d5)};let Et=class extends _0x1a5dd9{constructor(_0x4ceb77,_0x7ae637,_0x316d79,_0x1d63af,_0x4c52b9,_0x525066,_0x24636f,_0x3f6a41,_0x25ba3d){var _0x3e80db=_0x1f558c;super(),N(this,_0x3e80db(0x277),new _0x12b284(0x0)),N(this,_0x3e80db(0x3ce),this[_0x3e80db(0x277)][_0x3e80db(0x317)]()),N(this,'_event$',new _0x13d4cc()),N(this,'event$',this[_0x3e80db(0x267)][_0x3e80db(0x317)]()),N(this,_0x3e80db(0x20f)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x3e80db(0x25f),!0x1),N(this,_0x3e80db(0x1b6),null),(this['_unitID']=_0x4ceb77,this[_0x3e80db(0x343)]=_0x316d79,this['_configService']=_0x1d63af,this[_0x3e80db(0x2c0)]=_0x4c52b9,this[_0x3e80db(0x35e)]=_0x525066,this[_0x3e80db(0x378)]=_0x24636f,this['_collaborationUIEventService']=_0x3f6a41,this[_0x3e80db(0x353)]=_0x25ba3d,this[_0x3e80db(0x25f)]=!!this[_0x3e80db(0x353)],_0x7ae637[_0x3e80db(0x41e)](_0x29925c(this['dispose$']))[_0x3e80db(0x3a4)](_0x17f35b=>{var _0x61ef42=_0x3e80db,_0x4f3fef;typeof _0x17f35b>'u'||(this[_0x61ef42(0x20f)]=_0x17f35b,_0x17f35b?(this['_joinRoom'](_0x17f35b),this[_0x61ef42(0x228)]=_0x17f35b[_0x61ef42(0x2e5)]['subscribe'](_0x4504d6=>{var _0x1587d5=_0x61ef42;_0x4504d6[_0x1587d5(0x149)]===this[_0x1587d5(0x17f)]&&this[_0x1587d5(0x151)](_0x4504d6);})):(this[_0x61ef42(0x421)](),this[_0x61ef42(0x277)]['next'](0x2),(_0x4f3fef=this[_0x61ef42(0x228)])==null||_0x4f3fef[_0x61ef42(0x207)](),this[_0x61ef42(0x228)]=null));}));}get[_0x1f558c(0x21c)](){var _0x16ccf2=_0x1f558c;return this[_0x16ccf2(0x277)][_0x16ccf2(0x213)]();}[_0x1f558c(0x22d)](){var _0x19d2f2=_0x1f558c,_0x5a2253,_0x3c2ba2;return(_0x3c2ba2=(_0x5a2253=this[_0x19d2f2(0x20f)])==null?void 0x0:_0x5a2253[_0x19d2f2(0x239)])!=null?_0x3c2ba2:null;}[_0x1f558c(0x227)](){var _0xfdb7d8=_0x1f558c;super[_0xfdb7d8(0x227)](),this[_0xfdb7d8(0x270)][_0xfdb7d8(0x140)](),this[_0xfdb7d8(0x270)]['complete']();}[_0x1f558c(0x26e)](){var _0x2e2b41=_0x1f558c,_0x22a145,_0x234a62;this[_0x2e2b41(0x421)](),(_0x22a145=this['_socket'])==null||_0x22a145[_0x2e2b41(0x1dc)]({'cmd':F[_0x2e2b41(0x260)],'data':{'roomID':this['_unitID']}}),(_0x234a62=this['_socket'])==null||_0x234a62[_0x2e2b41(0x26e)](),this[_0x2e2b41(0x267)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x277)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x227)]();}[_0x1f558c(0x151)](_0x3a879e){var _0x5b6cd4=_0x1f558c;_0x3a879e[_0x5b6cd4(0x301)]===F['JOIN']?this[_0x5b6cd4(0x344)](_0x3a879e):_0x3a879e[_0x5b6cd4(0x301)]===F[_0x5b6cd4(0x337)]&&this['_onRecvEvent'](_0x3a879e);}[_0x1f558c(0x375)](_0x4882cc){var _0x21d69b=_0x1f558c;this[_0x21d69b(0x277)]['next'](0x1),_0x4882cc[_0x21d69b(0x1dc)]({'cmd':F[_0x21d69b(0x16e)],'routeKey':this[_0x21d69b(0x17f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d69b(0x17f)]}]}});}[_0x1f558c(0x344)](_0x3d91c7){var _0x213f35=_0x1f558c,_0xd248c3;if(_0x3d91c7['code']in Kt){this[_0x213f35(0x323)][_0x213f35(0x2ec)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x3d91c7[_0x213f35(0x3e7)]]}),this['_sessionStatus$'][_0x213f35(0x140)](0x2);return;}this[_0x213f35(0x277)][_0x213f35(0x140)](0x3);const _0x244bdb=(_0xd248c3=_0x3d91c7[_0x213f35(0x2f7)][_0x213f35(0x27e)][this[_0x213f35(0x17f)]])==null?void 0x0:_0xd248c3[_0x213f35(0x16d)];_0x244bdb&&_0x244bdb[_0x213f35(0x179)](_0x4fe3f3=>this[_0x213f35(0x35e)][_0x213f35(0x150)](this[_0x213f35(0x17f)],_0x4fe3f3));}['_onRecvEvent'](_0x13c9b7){var _0x1f02dc=_0x1f558c;try{const _0x2bd35b=_0x13c9b7[_0x1f02dc(0x2f7)];switch(_0x2bd35b['eventID']){case _0x238e1f[_0x1f02dc(0x2d7)]:this[_0x1f02dc(0x1e2)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f['USERS_LEAVE']:this[_0x1f02dc(0x365)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x325)]:case _0x238e1f[_0x1f02dc(0x3dd)]:this[_0x1f02dc(0x1f9)](),this[_0x1f02dc(0x16f)](),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x219)]:this['_logService'][_0x1f02dc(0x145)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1f02dc(0x283)](_0x2bd35b)),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x1ef)]:this['_commentService'][_0x1f02dc(0x358)](_0x2bd35b['data']),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;default:this[_0x1f02dc(0x267)]['next'](_0x2bd35b);}}catch(_0x8a7db5){this[_0x1f02dc(0x343)][_0x1f02dc(0x145)](_0x8a7db5,_0x13c9b7);}}[_0x1f558c(0x1e2)](_0x108f30){var _0x1277de=_0x1f558c;this[_0x1277de(0x35e)][_0x1277de(0x150)](this[_0x1277de(0x17f)],_0x108f30['data']);}[_0x1f558c(0x365)](_0x17b474){var _0x42a98d=_0x1f558c;this['_memberService']['removeMember'](this['_unitID'],_0x17b474[_0x42a98d(0x2f7)]['memberID']);}async['send'](_0x542404,_0x3306ce){var _0xca3e07=_0x1f558c;if(this[_0xca3e07(0x21c)]!==0x3||!this[_0xca3e07(0x20f)])throw new Error(_0xca3e07(0x2ee));try{_0x542404['eventID']===_0x238e1f[_0xca3e07(0x328)]&&(this[_0xca3e07(0x1f5)](),this[_0xca3e07(0x2b8)](_0x542404)),this[_0xca3e07(0x20f)][_0xca3e07(0x1dc)]({'cmd':F[_0xca3e07(0x24d)],'routeKey':_0x3306ce,'routeType':'','data':_0x542404});}catch(_0x566503){this['_logService'][_0xca3e07(0x145)](_0x566503);}}[_0x1f558c(0x1f5)](){var _0x36bddc=_0x1f558c,_0x2bb276;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x233f2c=_0x4725;this[_0x233f2c(0x3ca)]=null,this[_0x233f2c(0x323)][_0x233f2c(0x2ec)]({'id':se[_0x233f2c(0x27f)]});},(_0x2bb276=this[_0x36bddc(0x405)]['getConfig'](mi))!=null?_0x2bb276:gi);}[_0x1f558c(0x16f)](){var _0x50cb43=_0x1f558c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x50cb43(0x3ca)]),this[_0x50cb43(0x3ca)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f50c3){var _0x3ea196=_0x1f558c;if(!this[_0x3ea196(0x25f)])return;const {data:_0x574835}=_0x2f50c3,{unitID:_0x23a9bd,changeset:_0x3d1c8f}=_0x574835,{mutations:_0x45c335,type:_0x20572c}=_0x3d1c8f;this[_0x3ea196(0x1b6)]={'unitId':_0x23a9bd,'type':_0x20572c,'startTime':performance[_0x3ea196(0x434)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x45c335)};}[_0x1f558c(0x1f9)](){var _0x392caa=_0x1f558c;if(this[_0x392caa(0x25f)]){if(!this[_0x392caa(0x1b6)]){this['_logService'][_0x392caa(0x145)](_0x392caa(0x3fa),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x392caa(0x1b6)][_0x392caa(0x220)]=performance[_0x392caa(0x434)](),this[_0x392caa(0x1b6)][_0x392caa(0x2dd)]=this[_0x392caa(0x1b6)][_0x392caa(0x220)]-this[_0x392caa(0x1b6)]['startTime'],this[_0x392caa(0x353)][_0x392caa(0x2fa)](Bn,this[_0x392caa(0x1b6)]),this[_0x392caa(0x1b6)]=null;}}[_0x1f558c(0x421)](){var _0x3497ef=_0x1f558c;this[_0x3497ef(0x1b6)]=null;}};Et=zn([me(0x2,_0x574408),me(0x3,_0x4ea54a),me(0x4,_0x5b2811(_0x426c5e)),me(0x5,_0x5b2811(xe)),me(0x6,_0x5b2811(Ti)),me(0x7,_0x5b2811(pe)),me(0x8,_0x40673b(_0x12c52a))],Et);var Jn=Object[_0x1f558c(0x175)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2cde4a,_0x38525b,_0x5b30cd,_0x387990)=>{var _0x67eaa4=_0x1f558c;for(var _0x1a4091=_0x387990>0x1?void 0x0:_0x387990?Xn(_0x38525b,_0x5b30cd):_0x38525b,_0x5c183d=_0x2cde4a[_0x67eaa4(0x158)]-0x1,_0x4e42f3;_0x5c183d>=0x0;_0x5c183d--)(_0x4e42f3=_0x2cde4a[_0x5c183d])&&(_0x1a4091=(_0x387990?_0x4e42f3(_0x38525b,_0x5b30cd,_0x1a4091):_0x4e42f3(_0x1a4091))||_0x1a4091);return _0x387990&&_0x1a4091&&Jn(_0x38525b,_0x5b30cd,_0x1a4091),_0x1a4091;},Re=(_0x3e4a36,_0x326405)=>(_0x4be005,_0xcbe9e3)=>_0x326405(_0x4be005,_0xcbe9e3,_0x3e4a36);let Le=class extends _0xc53c05{constructor(_0x4909e5,_0x4d1876,_0x29d265,_0x2ecbdd,_0x5819aa,_0x54064d){var _0x29b8de=_0x1f558c;super(),N(this,'_socket$',new _0x12b284(void 0x0)),N(this,_0x29b8de(0x3ad),this[_0x29b8de(0x280)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x31c),null),N(this,_0x29b8de(0x193),new Map()),N(this,'_status$',new _0x12b284(Ee[_0x29b8de(0x21a)])),N(this,_0x29b8de(0x2b3),this[_0x29b8de(0x282)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x2a8),!0x1),N(this,_0x29b8de(0x37e)),N(this,_0x29b8de(0x2e4),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x29b8de(0x384)),(this[_0x29b8de(0x1b3)]=_0x4909e5,this['_logService']=_0x4d1876,this['_configService']=_0x29d265,this[_0x29b8de(0x21f)]=_0x2ecbdd,this[_0x29b8de(0x323)]=_0x5819aa,this[_0x29b8de(0x2bf)]=_0x54064d,this[_0x29b8de(0x293)]());}get['_socket'](){var _0x2b7d85=_0x1f558c;return this[_0x2b7d85(0x280)][_0x2b7d85(0x213)]();}[_0x1f558c(0x293)](){var _0x41643f=_0x1f558c;this[_0x41643f(0x2bf)]&&this[_0x41643f(0x2d6)](this[_0x41643f(0x2bf)][_0x41643f(0x278)][_0x41643f(0x3a4)](_0x5dfb2b=>{var _0x2df9bf=_0x41643f;_0x5dfb2b&&!this[_0x2df9bf(0x20f)]&&this[_0x2df9bf(0x341)](),_0x5dfb2b||this[_0x2df9bf(0x3b9)]();}));}[_0x1f558c(0x227)](){var _0x8fc108=_0x1f558c;super[_0x8fc108(0x227)](),this[_0x8fc108(0x193)][_0x8fc108(0x179)](_0x3270d8=>_0x3270d8['dispose']()),this[_0x8fc108(0x193)]['clear'](),this[_0x8fc108(0x282)][_0x8fc108(0x345)]();}async[_0x1f558c(0x1a7)](_0x32b9ac){var _0x2b6679=_0x1f558c;if(this[_0x2b6679(0x193)]['has'](_0x32b9ac))return this[_0x2b6679(0x193)][_0x2b6679(0x1e3)](_0x32b9ac);this['_tryEnsureSocket']();const _0x3e78fa=this[_0x2b6679(0x1b3)][_0x2b6679(0x38e)](Et,_0x32b9ac,this[_0x2b6679(0x280)]['asObservable']());return this[_0x2b6679(0x193)][_0x2b6679(0x319)](_0x32b9ac,_0x3e78fa),_0x3e78fa;}[_0x1f558c(0x1a8)](_0xdfe921){var _0x1be5cb=_0x1f558c,_0x199a55;const _0xb7095c=this[_0x1be5cb(0x193)]['get'](_0xdfe921);_0xb7095c&&(this[_0x1be5cb(0x193)][_0x1be5cb(0x167)](_0xdfe921),_0xb7095c[_0x1be5cb(0x26e)]()),this[_0x1be5cb(0x193)][_0x1be5cb(0x191)]||(_0x199a55=this[_0x1be5cb(0x20f)])==null||_0x199a55['close']();}[_0x1f558c(0x341)](){var _0x2ae992=_0x1f558c;this[_0x2ae992(0x2e4)]=0x0,this[_0x2ae992(0x37e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2ae992(0x37e)]=null),this[_0x2ae992(0x412)]();}async[_0x1f558c(0x374)](){var _0x268edf=_0x1f558c,_0x18dcc2,_0x52c8f0;const _0x419a32=this['_configService']['getConfig'](Tn),_0x5afb09=this['_configService'][_0x268edf(0x2a0)](q),_0x4df2e7=(_0x52c8f0=(_0x18dcc2=_0x5afb09==null?void 0x0:_0x5afb09[_0x268edf(0x394)])!=null?_0x18dcc2:_0x419a32)!=null?_0x52c8f0:Cn,_0x180a67=await this['_socketService'][_0x268edf(0x402)](_0x4df2e7);return this[_0x268edf(0x31c)]=_0x180a67,_0x180a67;}async[_0x1f558c(0x3c1)](){var _0xaf17cd=_0x1f558c,_0x49e9b0,_0x348e85;try{const _0x111469=(_0x348e85=(_0x49e9b0=this[_0xaf17cd(0x20f)])!=null?_0x49e9b0:this[_0xaf17cd(0x31c)])!=null?_0x348e85:await this[_0xaf17cd(0x374)]();if(_0x111469){const _0x54c503=_0x111469['send'];_0x111469['send']=_0x4bd971=>(this[_0xaf17cd(0x357)](),_0x54c503[_0xaf17cd(0x1fa)](_0x111469,[_0x4bd971])),_0x111469['message$'][_0xaf17cd(0x3a4)](_0x3d7c48=>this[_0xaf17cd(0x224)](_0x111469,_0x3d7c48)),_0x111469[_0xaf17cd(0x364)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](_0x3ba3ce=>this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0xaf17cd(0x23c),_0x3ba3ce)),_0x111469[_0xaf17cd(0x333)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](()=>{var _0x2cd8e0=_0xaf17cd;this[_0x2cd8e0(0x3c2)](_0x111469);}),_0x111469['close$'][_0xaf17cd(0x41e)](_0x56ed41(0x1))[_0xaf17cd(0x3a4)](_0x522241=>{var _0x4782ba=_0xaf17cd;this[_0x4782ba(0x343)][_0x4782ba(0x2e3)]('[CollaborationSessionService]',_0x4782ba(0x2d2),_0x522241),this['_onConnectionFailed']();});}}catch(_0x164463){this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0x164463),this[_0xaf17cd(0x38d)]();}}[_0x1f558c(0x3c2)](_0x2b07ae){var _0x1b06c4=_0x1f558c;this['_logService']['debug'](_0x1b06c4(0x3be),_0x1b06c4(0x1b4)),_0x2b07ae[_0x1b06c4(0x1dc)]({'cmd':F['HELLO']}),this[_0x1b06c4(0x357)]();}[_0x1f558c(0x3b9)](){var _0x12838a=_0x1f558c;this[_0x12838a(0x2a8)]=!0x1,this[_0x12838a(0x31c)]=null,this[_0x12838a(0x282)]['next'](Ee[_0x12838a(0x18f)]),this[_0x12838a(0x280)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12838a(0x196)]();}[_0x1f558c(0x38d)](){var _0x51b5bf=_0x1f558c,_0x2b6f94;this['_onOffline'](),this[_0x51b5bf(0x2e4)]<((_0x2b6f94=this['_configService'][_0x51b5bf(0x2a0)](yn))!=null?_0x2b6f94:Nn)?(this['_collaborationUIEventService'][_0x51b5bf(0x2ec)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x51b5bf(0x412)]()):this[_0x51b5bf(0x323)]['emitEvent']({'id':se[_0x51b5bf(0x415)]});}[_0x1f558c(0x412)](){var _0x406dfb=_0x1f558c,_0x4fbfcc;const _0x138fef=this[_0x406dfb(0x2e4)],_0x44b7f9=this['_configService'][_0x406dfb(0x2a0)](q),_0x3b186a=_0x138fef===0x0?0x0:((_0x4fbfcc=_0x44b7f9==null?void 0x0:_0x44b7f9[_0x406dfb(0x40a)])!=null?_0x4fbfcc:On)*0x2**_0x138fef;this[_0x406dfb(0x37e)]=setTimeout(()=>{var _0x2c7ed8=_0x406dfb;clearTimeout(this[_0x2c7ed8(0x37e)]),this[_0x2c7ed8(0x37e)]=null,this['_tryEnsureSocket']();},_0x3b186a),this[_0x406dfb(0x2e4)]+=0x1;}[_0x1f558c(0x224)](_0x260b1b,_0x4f3855){var _0x3b6ca8=_0x1f558c;const {cmd:_0x5005a0}=_0x4f3855;_0x5005a0===F[_0x3b6ca8(0x28b)]&&!this[_0x3b6ca8(0x2a8)]&&(_0x260b1b[_0x3b6ca8(0x239)]=_0x4f3855[_0x3b6ca8(0x2f7)][_0x3b6ca8(0x239)],this['_socket$'][_0x3b6ca8(0x140)](_0x260b1b),this[_0x3b6ca8(0x282)][_0x3b6ca8(0x140)](Ee[_0x3b6ca8(0x262)]),this[_0x3b6ca8(0x2a8)]=!0x0,this[_0x3b6ca8(0x31c)]=null),_0x5005a0===F[_0x3b6ca8(0x2c1)]&&this[_0x3b6ca8(0x137)](),this[_0x3b6ca8(0x357)]();}[_0x1f558c(0x357)](){var _0x4dabe1=_0x1f558c,_0x4d8510;this['_clearHeartbeatTimer'](),this[_0x4dabe1(0x144)]=setTimeout(()=>this[_0x4dabe1(0x155)](),(_0x4d8510=this[_0x4dabe1(0x405)][_0x4dabe1(0x2a0)](bn))!=null?_0x4d8510:Rn);}['_sendHeartbeat'](){var _0x40cbda=_0x1f558c;this[_0x40cbda(0x20f)]['send']({'cmd':F[_0x40cbda(0x2c1)]}),this[_0x40cbda(0x29f)]();}[_0x1f558c(0x29f)](){var _0x25368a=_0x1f558c,_0x3e270b;this[_0x25368a(0x384)]=setTimeout(()=>this[_0x25368a(0x38d)](),(_0x3e270b=this[_0x25368a(0x405)]['getConfig'](mi))!=null?_0x3e270b:gi);}[_0x1f558c(0x196)](){var _0x586cd4=_0x1f558c;this[_0x586cd4(0x144)]!=null&&(clearTimeout(this[_0x586cd4(0x144)]),this['_sendHeartbeatTimer']=null);}[_0x1f558c(0x137)](){var _0x1f64a9=_0x1f558c;this[_0x1f64a9(0x384)]!=null&&(clearTimeout(this[_0x1f64a9(0x384)]),this[_0x1f64a9(0x384)]=null);}};Le=Zn([Re(0x0,_0x5b2811(_0x5b79bd)),Re(0x1,_0x574408),Re(0x2,_0x4ea54a),Re(0x3,Ii),Re(0x4,_0x5b2811(pe)),Re(0x5,_0x40673b(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1f558c(0x1eb)]((n+0x100)[_0x1f558c(0x28c)](0x10)[_0x1f558c(0x2db)](0x1));function Qn(_0x47655d,_0x4ad0a8=0x0){var _0xe12053=_0x1f558c;return(G[_0x47655d[_0x4ad0a8+0x0]]+G[_0x47655d[_0x4ad0a8+0x1]]+G[_0x47655d[_0x4ad0a8+0x2]]+G[_0x47655d[_0x4ad0a8+0x3]]+'-'+G[_0x47655d[_0x4ad0a8+0x4]]+G[_0x47655d[_0x4ad0a8+0x5]]+'-'+G[_0x47655d[_0x4ad0a8+0x6]]+G[_0x47655d[_0x4ad0a8+0x7]]+'-'+G[_0x47655d[_0x4ad0a8+0x8]]+G[_0x47655d[_0x4ad0a8+0x9]]+'-'+G[_0x47655d[_0x4ad0a8+0xa]]+G[_0x47655d[_0x4ad0a8+0xb]]+G[_0x47655d[_0x4ad0a8+0xc]]+G[_0x47655d[_0x4ad0a8+0xd]]+G[_0x47655d[_0x4ad0a8+0xe]]+G[_0x47655d[_0x4ad0a8+0xf]])[_0xe12053(0x3e1)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x1cff23=_0x1f558c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cff23(0x22c));ut=crypto[_0x1cff23(0x3ac)][_0x1cff23(0x26a)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x1f558c(0x359)]&&crypto[_0x1f558c(0x359)][_0x1f558c(0x26a)](crypto),Yt={'randomUUID':ir};function nr(_0x5227d2,_0xedf57b,_0x368519){var _0x17fcc9=_0x1f558c,_0x4556ae,_0x544d1e,_0x2ae93a;if(Yt[_0x17fcc9(0x359)]&&!_0x5227d2)return Yt['randomUUID']();_0x5227d2=_0x5227d2||{};const _0x518588=(_0x2ae93a=(_0x544d1e=_0x5227d2['random'])!=null?_0x544d1e:(_0x4556ae=_0x5227d2[_0x17fcc9(0x40b)])==null?void 0x0:_0x4556ae[_0x17fcc9(0x178)](_0x5227d2))!=null?_0x2ae93a:tr();if(_0x518588['length']<0x10)throw new Error(_0x17fcc9(0x1b9));return _0x518588[0x6]=_0x518588[0x6]&0xf|0x40,_0x518588[0x8]=_0x518588[0x8]&0x3f|0x80,Qn(_0x518588);}const J=_0x2235da('collaboration-client.local-cache-service');function ro(_0x4319e5){var _0x2724b1=_0x1f558c;return _0x2724b1(0x41f)+_0x4319e5;}var rr=Object[_0x1f558c(0x175)],sr=Object[_0x1f558c(0x330)],or=(_0x12e0da,_0x1dcd99,_0x2f808f,_0x3f94a4)=>{var _0x1ba802=_0x1f558c;for(var _0x3cf979=_0x3f94a4>0x1?void 0x0:_0x3f94a4?sr(_0x1dcd99,_0x2f808f):_0x1dcd99,_0x389888=_0x12e0da[_0x1ba802(0x158)]-0x1,_0x992f8e;_0x389888>=0x0;_0x389888--)(_0x992f8e=_0x12e0da[_0x389888])&&(_0x3cf979=(_0x3f94a4?_0x992f8e(_0x1dcd99,_0x2f808f,_0x3cf979):_0x992f8e(_0x3cf979))||_0x3cf979);return _0x3f94a4&&_0x3cf979&&rr(_0x1dcd99,_0x2f808f,_0x3cf979),_0x3cf979;},dt=(_0x2ada44,_0x4ebf39)=>(_0x53d822,_0x58c280)=>_0x4ebf39(_0x53d822,_0x58c280,_0x2ada44);function ar(_0x361cb8){var _0x40c645=_0x1f558c;const {unitID:_0x3af491,mutations:_0x19c130}=_0x361cb8;return{'unitId':_0x3af491,'subUnitId':_0x19c130[0x0][_0x40c645(0x3b2)][_0x40c645(0x209)]};}let it=class{constructor(_0x38166a,_0x55e3e9,_0x526b9f){var _0x287b1=_0x1f558c;this[_0x287b1(0x1b3)]=_0x38166a,this[_0x287b1(0x38a)]=_0x55e3e9,this[_0x287b1(0x1c7)]=_0x526b9f;}[_0x1f558c(0x188)](_0x1fbff3){var _0x342568=_0x1f558c,_0x539e68,_0x27f3a3,_0xe12a08,_0x4ad9e4;const _0x144b4d=this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x5c4be3),{unitId:_0x265cf5,subUnitId:_0x5eb5dc}=ar(_0x1fbff3),_0x28f63d=_0x144b4d==null?void 0x0:_0x144b4d[_0x342568(0x39a)](_0x265cf5)[_0x342568(0x3b4)](),_0x5b00b1=(_0x27f3a3=(_0x539e68=this[_0x342568(0x1c7)]['getUnit'](_0x265cf5))==null?void 0x0:_0x539e68['getActiveSheet']())==null?void 0x0:_0x27f3a3[_0x342568(0x266)]();if(_0x28f63d[_0x342568(0x158)]===0x0||!_0x265cf5||!_0x5eb5dc)return;const _0x53ce09=[{'id':_0xebdb79['id'],'params':{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x2d4a2c[_0x342568(0x1ff)](_0x28f63d)}}],_0x2d49bb=this['_transformService'][_0x342568(0x3e5)](_0x1fbff3,_0x53ce09);if(!_0x1a87e5(_0x2d49bb))throw _0x2d49bb[_0x342568(0x145)];const _0x405aa8=(_0x4ad9e4=(_0xe12a08=_0x2d49bb[_0x342568(0x141)][0x0])==null?void 0x0:_0xe12a08[_0x342568(0x3b2)])==null?void 0x0:_0x4ad9e4[_0x342568(0x25d)];if(Array[_0x342568(0x1bc)](_0x405aa8)&&_0x405aa8[_0x342568(0x158)]){if(_0x405aa8[_0x342568(0x158)]===_0x53ce09[0x0][_0x342568(0x3b2)]['selections'][_0x342568(0x158)]&&_0x405aa8[_0x342568(0x336)]((_0x490e2e,_0x43aef7)=>_0x568d0c[_0x342568(0x290)](_0x490e2e[_0x342568(0x201)],_0x53ce09[0x0][_0x342568(0x3b2)][_0x342568(0x25d)][_0x43aef7][_0x342568(0x201)])))return;this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x456150)[_0x342568(0x3bc)](_0xebdb79['id'],{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x405aa8});}}};it=or([dt(0x0,_0x5b2811(_0x5b79bd)),dt(0x1,_0x45b9e1),dt(0x2,_0x30c3be)],it);const ht=_0x2235da('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x3c78b4=>(_0x3c78b4[_0x3c78b4[_0x1f558c(0x1ec)]=0x0]=_0x1f558c(0x1ec),_0x3c78b4[_0x3c78b4[_0x1f558c(0x417)]=0x1]=_0x1f558c(0x417),_0x3c78b4))(Ci||{});const cr=new Set([_0x21cc23['id']]);function qt(_0x3dc594,_0x36d991,_0x25fa26,_0x389b6f,_0x3de245){var _0x1d1938=_0x1f558c,_0xc92dfe,_0x4f6f79,_0x27d98b,_0x29406d;const _0x25c101=[];for(const _0x453e45 of _0x3dc594)if(cr[_0x1d1938(0x163)](_0x453e45['id'])){if(_0x25c101['length']>0x0)break;_0x25c101['push'](_0x453e45);break;}else _0x25c101[_0x1d1938(0x1eb)](_0x453e45);const _0x4b8518=(_0x4f6f79=(_0xc92dfe=_0x3de245['getCurrentUser']())==null?void 0x0:_0xc92dfe[_0x1d1938(0x20d)])!=null?_0x4f6f79:_0x1d1938(0x19e),_0x282913=(_0x29406d=(_0x27d98b=_0x3de245[_0x1d1938(0x1d3)]())==null?void 0x0:_0x27d98b[_0x1d1938(0x239)])!=null?_0x29406d:_0x1d1938(0x19e);return{'changeset':{'unitID':_0x36d991,'type':_0x46690e(_0x25fa26['getUnitType'](_0x36d991)),'baseRev':_0x389b6f[_0x1d1938(0x372)](_0x36d991),'revision':0x0,'userID':_0x4b8518,'memberID':_0x282913,'mutations':_0x25c101},'pendingMutations':_0x3dc594['slice'](_0x25c101[_0x1d1938(0x158)])};}function hr(_0x5d2448,_0x51bcd1,_0x196045,_0x2aa3af,_0x5e8085){var _0x105071=_0x1f558c,_0x13bbe2,_0x4afe82,_0x23da82,_0x16b000;const _0x4abc17=[_0x5d2448['reduce']((_0x3d00d9,_0x3f797c)=>{var _0x1a3b36=_0x4725,_0x524d8e;const {id:_0x4dbecd}=_0x3d00d9,{id:_0x3f2dba,type:_0x52b151}=_0x3f797c,_0xf0b26f=(_0x524d8e=_0x3d00d9[_0x1a3b36(0x3b2)])!=null?_0x524d8e:{'actions':null},_0x5cc5cb=_0x3f797c[_0x1a3b36(0x3b2)];if(_0x4dbecd&&_0x4dbecd!==_0x3f2dba)throw new Error(_0x1a3b36(0x25c)+_0x4dbecd+'\x20-\x20'+_0x3f2dba+'.');return{..._0x3d00d9,'id':_0x3f2dba,'type':_0x52b151,'params':{'unitId':_0x5cc5cb[_0x1a3b36(0x33e)],'textRanges':_0x5cc5cb[_0x1a3b36(0x2bb)],'actions':_0x431a9e[_0x1a3b36(0x3a3)](_0xf0b26f['actions'],_0x5cc5cb[_0x1a3b36(0x2f8)])}};},{})],_0x3857ee=(_0x4afe82=(_0x13bbe2=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x13bbe2[_0x105071(0x20d)])!=null?_0x4afe82:_0x105071(0x19e),_0x10bbf8=(_0x16b000=(_0x23da82=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x23da82[_0x105071(0x239)])!=null?_0x16b000:_0x105071(0x19e);return{'changeset':{'unitID':_0x51bcd1,'type':_0x46690e(_0x196045[_0x105071(0x3a7)](_0x51bcd1)),'baseRev':_0x2aa3af[_0x105071(0x372)](_0x51bcd1),'revision':0x0,'userID':_0x3857ee,'memberID':_0x10bbf8,'mutations':_0x4abc17},'pendingMutations':[]};}function bi(_0x371682,_0x12a4ca){var _0x5f0085=_0x1f558c;const _0x2085e4=new _0x40f8ad(0x1);return setTimeout(()=>_0x2085e4[_0x5f0085(0x140)](_0x12a4ca),_0x371682),_0x2085e4[_0x5f0085(0x317)]()[_0x5f0085(0x41e)](_0x3669e7(0x1));}const _r={'id':_0x23cce6['id'],'type':_0x2402fa[_0x1f558c(0x173)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x1f558c(0x330)],Te=(_0xd3c184,_0x3fad35,_0x46beab,_0x50cfc0)=>{var _0x45f987=_0x1f558c;for(var _0x1fea66=_0x50cfc0>0x1?void 0x0:_0x50cfc0?ur(_0x3fad35,_0x46beab):_0x3fad35,_0x406510=_0xd3c184[_0x45f987(0x158)]-0x1,_0x1cbdc0;_0x406510>=0x0;_0x406510--)(_0x1cbdc0=_0xd3c184[_0x406510])&&(_0x1fea66=(_0x50cfc0?_0x1cbdc0(_0x3fad35,_0x46beab,_0x1fea66):_0x1cbdc0(_0x1fea66))||_0x1fea66);return _0x50cfc0&&_0x1fea66&&lr(_0x3fad35,_0x46beab,_0x1fea66),_0x1fea66;},A=(_0x2e0ae7,_0x43d612)=>(_0xecc431,_0x22f50b)=>_0x43d612(_0xecc431,_0x22f50b,_0x2e0ae7),Ri=(_0x2e7dc7=>(_0x2e7dc7[_0x1f558c(0x2df)]=_0x1f558c(0x3b5),_0x2e7dc7[_0x1f558c(0x29d)]=_0x1f558c(0x1f0),_0x2e7dc7[_0x1f558c(0x14d)]=_0x1f558c(0x275),_0x2e7dc7['AWAITING']='awaiting',_0x2e7dc7[_0x1f558c(0x182)]=_0x1f558c(0x39d),_0x2e7dc7[_0x1f558c(0x36c)]=_0x1f558c(0x335),_0x2e7dc7[_0x1f558c(0x2c7)]='conflict',_0x2e7dc7[_0x1f558c(0x18f)]='offline',_0x2e7dc7))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x161623,_0x4a5b2e,_0x27738c,_0x246bba,_0x594e43,_0x531f2a,_0x4b6519,_0x191dce,_0x1d2299){var _0x4fdbb6=_0x1f558c;N(this,_0x4fdbb6(0x3f4),null),N(this,_0x4fdbb6(0x2d0),[]),(this[_0x4fdbb6(0x3e0)]=_0x161623,this[_0x4fdbb6(0x15f)]=_0x4a5b2e,this['_handler']=_0x594e43,this['_commandService']=_0x531f2a,this[_0x4fdbb6(0x214)]=_0x4b6519,this[_0x4fdbb6(0x164)]=_0x191dce,this[_0x4fdbb6(0x28f)]=_0x1d2299,this[_0x4fdbb6(0x3f4)]=_0x27738c,this[_0x4fdbb6(0x2d0)]=_0x246bba);}[_0x1f558c(0x2de)](_0x244a31){var _0x31288e=_0x1f558c;const _0x4be15c=this['_revisionService'][_0x31288e(0x372)](this[_0x31288e(0x3e0)]);return _0x244a31[_0x31288e(0x2f9)]>_0x4be15c+0x1?(this[_0x31288e(0x389)][_0x31288e(0x35c)]({'from':_0x4be15c,'to':_0x244a31[_0x31288e(0x2f9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b576d){var _0x3775e3=_0x1f558c;this[_0x3775e3(0x214)][_0x3775e3(0x34c)](this[_0x3775e3(0x3e0)],_0x5b576d);}[_0x1f558c(0x27d)](_0x595cf0){var _0x4fdb2c=_0x1f558c,_0x565d5e,_0x2657ce;(_0x2657ce=(_0x565d5e=this[_0x4fdb2c(0x389)])[_0x4fdb2c(0x414)])==null||_0x2657ce[_0x4fdb2c(0x178)](_0x565d5e,_0x595cf0);}[_0x1f558c(0x3d7)](_0x2c54b9){var _0x193d34=_0x1f558c,_0x112cc0,_0x12e19e;return(_0x12e19e=(_0x112cc0=this[_0x193d34(0x389)])[_0x193d34(0x2be)])==null?void 0x0:_0x12e19e[_0x193d34(0x178)](_0x112cc0,_0x2c54b9);}[_0x1f558c(0x404)](_0x14b953){var _0x1ff1e7=_0x1f558c,_0x35cad2,_0x341632;return(_0x341632=(_0x35cad2=this['_handler'])[_0x1ff1e7(0x360)])==null?void 0x0:_0x341632[_0x1ff1e7(0x178)](_0x35cad2,_0x14b953);}['_transformRemoteChangesetByIMECache'](_0x272492){var _0x3bfdf4=_0x1f558c,_0x14c987,_0x2cf596,_0x1d1d31;return(_0x1d1d31=(_0x2cf596=(_0x14c987=this['_handler'])[_0x3bfdf4(0x2f6)])==null?void 0x0:_0x2cf596[_0x3bfdf4(0x178)](_0x14c987,_0x272492))!=null?_0x1d1d31:_0x272492;}[_0x1f558c(0x324)](_0x3dd8e9){var _0x30ca69=_0x1f558c,_0x3cf5df,_0x1fac5a,_0x3b0bd3;return(_0x3b0bd3=(_0x1fac5a=(_0x3cf5df=this[_0x30ca69(0x389)])[_0x30ca69(0x437)])==null?void 0x0:_0x1fac5a[_0x30ca69(0x178)](_0x3cf5df,_0x3dd8e9))!=null?_0x3b0bd3:_0x3dd8e9;}[_0x1f558c(0x225)](_0x4d092c){var _0x35554b=_0x1f558c,_0x19bd05,_0x3dcbe2;if(this[_0x35554b(0x15f)]===Q[_0x35554b(0x143)]){const {unitID:_0x13ac1f,mutations:_0x19f517,memberID:_0x58cc1e}=_0x4d092c,_0x1a8fdc=_0x19f517[0x0][_0x35554b(0x3b2)][_0x35554b(0x2bb)];Array[_0x35554b(0x1bc)](_0x1a8fdc)&&_0x1a8fdc['length']>0x0&&((_0x3dcbe2=(_0x19bd05=this[_0x35554b(0x389)])[_0x35554b(0x2f0)])==null||_0x3dcbe2['call'](_0x19bd05,{'unitID':_0x13ac1f,'memberID':_0x58cc1e,'textRanges':_0x1a8fdc}));}}[_0x1f558c(0x27b)](){var _0x24dd95=_0x1f558c,_0x51f756;(_0x51f756=this['_localCacheService'])==null||_0x51f756[_0x24dd95(0x303)](this[_0x24dd95(0x3e0)],this['type'],this[_0x24dd95(0x3f4)],this[_0x24dd95(0x2d0)]);}[_0x1f558c(0x2e0)](){var _0x1f4056=_0x1f558c;return this[_0x1f4056(0x164)][_0x1f4056(0x372)](this[_0x1f4056(0x3e0)]);}[_0x1f558c(0x286)](){var _0x497e98=_0x1f558c;this[_0x497e98(0x164)][_0x497e98(0x370)](this[_0x497e98(0x3e0)]);}[_0x1f558c(0x305)](_0x4e3daa){var _0xc45ca4=_0x1f558c,_0x4d2eca;let _0x301cdb=this['_transformRemoteChangesetByIMECache'](_0x4e3daa);_0x301cdb=this[_0xc45ca4(0x324)](_0x301cdb);const _0x54ade7=_0x4ff652(_0x301cdb['mutations'],this[_0xc45ca4(0x1d2)],{'fromCollab':!0x0});if(!_0x54ade7['result'])throw _0x54ade7[_0xc45ca4(0x145)]instanceof Error?_0x54ade7['error']:new Error((_0x4d2eca=_0x54ade7[_0xc45ca4(0x145)])!=null?_0x4d2eca:_0xc45ca4(0x1c0));this['_transformIMECache'](_0x301cdb),this[_0xc45ca4(0x404)](_0x301cdb),this['_transformUndoredo'](_0x4e3daa),this['_transformSelections'](_0x301cdb),this[_0xc45ca4(0x225)](_0x301cdb),this[_0xc45ca4(0x286)]();}}let Ne=class extends Ce{constructor(_0x43908d,_0x4b3b44,_0x2774f6,_0x53b313,_0x428a6f,_0x2f9dec,_0x2ce381,_0x22aee4,_0x3942c8,_0x179a02){var _0x1f23e0=_0x1f558c;super(_0x43908d,_0x4b3b44,null,[],_0x2774f6,_0x2ce381,_0x2f9dec,_0x53b313,_0x179a02),N(this,_0x1f23e0(0x1c2),_0x1f23e0(0x1f0)),(this['_injector']=_0x428a6f,this[_0x1f23e0(0x343)]=_0x22aee4,this[_0x1f23e0(0x38a)]=_0x3942c8,this[_0x1f23e0(0x1d1)]=_0x179a02);}['appendMutation'](_0x39c802){var _0x316ca5=_0x1f558c;const _0x31ccf2=this['_injector'][_0x316ca5(0x38e)](oe,this['unitID'],this[_0x316ca5(0x15f)],[_0x39c802],this['_handler']);return _0x31ccf2[_0x316ca5(0x3d9)](),_0x31ccf2[_0x316ca5(0x27b)](),_0x31ccf2;}['onRemoteChangeset'](_0x14b03a){var _0x58676e=_0x1f558c;if(this[_0x58676e(0x2de)](_0x14b03a))return this[_0x58676e(0x1b3)]['createInstance'](ee,this[_0x58676e(0x3e0)],this[_0x58676e(0x15f)],null,[],null,[_0x14b03a],this['_handler']);try{const _0x1252e7=this[_0x58676e(0x38a)][_0x58676e(0x3e5)](_0x14b03a,[_r]);if(_0x1a87e5(_0x1252e7)){const {c1Prime:_0x678ca6}=_0x1252e7;return this[_0x58676e(0x305)](_0x678ca6),this;}throw _0x1252e7[_0x58676e(0x145)];}catch(_0x1149d8){return this['_logService'][_0x58676e(0x145)](_0x1149d8),this[_0x58676e(0x3d2)](!0x1);}}['_onConflict'](_0xfa7287){var _0x411525=_0x1f558c;return this[_0x411525(0x1b3)]['createInstance'](ue,this[_0x411525(0x3e0)],this['type'],null,[],this[_0x411525(0x389)],_0xfa7287);}['onRemoteAck'](){var _0xfcb846=_0x1f558c;throw new Error(_0xfcb846(0x3fb));}['onRemoteRej'](){var _0x41a7ea=_0x1f558c;throw new Error(_0x41a7ea(0x3b1));}[_0x1f558c(0x387)](){return this;}[_0x1f558c(0x3ab)](){var _0x5c193b=_0x1f558c;return this[_0x5c193b(0x1b3)][_0x5c193b(0x38e)](de,this['unitID'],this['type'],null,[],this[_0x5c193b(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f558c(0x291)](){var _0x4f0cc9=_0x1f558c;const _0x12f2fa=this[_0x4f0cc9(0x164)][_0x4f0cc9(0x372)](this['unitID']);return this['_handler'][_0x4f0cc9(0x35c)]({'from':_0x12f2fa,'to':0x0}),this[_0x4f0cc9(0x1b3)]['createInstance'](ee,this[_0x4f0cc9(0x3e0)],this[_0x4f0cc9(0x15f)],null,[],null,[],this[_0x4f0cc9(0x389)]);}};Ne=Te([A(0x3,_0x5b2811(_0x40fd0a)),A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x46c745),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x40673b(J))],Ne);let oe=class extends Ce{constructor(_0x1ea37c,_0x843706,_0xc765a8,_0x2dbe0e,_0x453a41,_0x1a3dc0,_0x5ba4a7,_0x1076bd,_0x1f7701,_0x19045d,_0x12005a,_0x5effd6,_0x1295fa,_0x5061fc){var _0x56460e=_0x1f558c;super(_0x1ea37c,_0x843706,null,_0xc765a8,_0x2dbe0e,_0x1f7701,_0x1295fa,_0x1a3dc0,_0x5061fc),N(this,_0x56460e(0x1c2),_0x56460e(0x275)),N(this,_0x56460e(0x27a),null),N(this,_0x56460e(0x14b),null),(this['_injector']=_0x453a41,this['_memberService']=_0x5ba4a7,this['_logService']=_0x1076bd,this[_0x56460e(0x405)]=_0x19045d,this['_transformService']=_0x12005a,this[_0x56460e(0x435)]=_0x5effd6);}[_0x1f558c(0x20e)](_0x5855e8){var _0x352a26=_0x1f558c;return this[_0x352a26(0x2d0)][_0x352a26(0x1eb)](_0x5855e8),this[_0x352a26(0x27b)](),this;}[_0x1f558c(0x295)](_0x1ef681){var _0x30b36d=_0x1f558c;if(this[_0x30b36d(0x2de)](_0x1ef681))return this[_0x30b36d(0x2f5)](),this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](ee,this[_0x30b36d(0x3e0)],this[_0x30b36d(0x15f)],null,this['_pendingMutations'],null,[_0x1ef681],this['_handler']);try{const _0x376acd=this[_0x30b36d(0x38a)][_0x30b36d(0x3e5)](_0x1ef681,this[_0x30b36d(0x2d0)]);if(_0x1a87e5(_0x376acd)){const {c1Prime:_0x4247a8,m2Prime:_0x5b1b0d}=_0x376acd;this['_executeRemoteChangeset'](_0x4247a8);const _0x46656b=this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](oe,this['unitID'],this[_0x30b36d(0x15f)],_0x5b1b0d,this['_handler']);this[_0x30b36d(0x2f5)]();const _0x1ddbe7=new Date()[_0x30b36d(0x1c4)](),_0x5d7941=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x30b36d(0x27a)]-_0x1ddbe7,0x0):this['_getSendChangesetTimeout']();return _0x46656b['_schedule'](_0x5d7941),_0x46656b;}throw _0x376acd['error'];}catch(_0x477d96){return this['_logService'][_0x30b36d(0x145)](_0x477d96),this[_0x30b36d(0x3d2)](!0x1);}}['onRemoteAck'](){var _0x5f5d52=_0x1f558c;throw new Error(_0x5f5d52(0x1d9));}[_0x1f558c(0x19c)](){var _0x2e713b=_0x1f558c;throw new Error(_0x2e713b(0x246));}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){var _0x4c39d9=_0x1f558c;return this[_0x4c39d9(0x2f5)](),this[_0x4c39d9(0x1b3)][_0x4c39d9(0x38e)](de,this[_0x4c39d9(0x3e0)],this[_0x4c39d9(0x15f)],null,this[_0x4c39d9(0x2d0)],this[_0x4c39d9(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d9)](_0x4cd53e){var _0x54c6cd=_0x1f558c;const _0x2ab17f=_0x4cd53e!=null?_0x4cd53e:this[_0x54c6cd(0x42f)]();this[_0x54c6cd(0x27a)]=new Date()[_0x54c6cd(0x1c4)]()+_0x2ab17f,this[_0x54c6cd(0x14b)]=setTimeout(()=>{var _0x434abf=_0x54c6cd;this[_0x434abf(0x2f5)]();let _0x129a07=null;switch(this[_0x434abf(0x15f)]){case Q[_0x434abf(0x3d3)]:{_0x129a07=qt(this[_0x434abf(0x2d0)],this[_0x434abf(0x3e0)],this['_univerInstanceService'],this['_revisionService'],this[_0x434abf(0x35e)]);break;}case Q[_0x434abf(0x143)]:{this[_0x434abf(0x2d0)][_0x434abf(0x336)](_0x32016f=>_0x32016f['id']===_0x3eafab['id'])?_0x129a07=hr(this[_0x434abf(0x2d0)],this['unitID'],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this[_0x434abf(0x35e)]):_0x129a07=qt(this['_pendingMutations'],this[_0x434abf(0x3e0)],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this['_memberService']);break;}default:throw new Error(_0x434abf(0x18d)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d44a9,pendingMutations:_0x518612}=_0x129a07;this[_0x434abf(0x389)][_0x434abf(0x380)](_0x5d44a9);const _0x8fc168=_0x518612[_0x434abf(0x158)]?this[_0x434abf(0x1b3)]['createInstance'](ae,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,_0x518612,this[_0x434abf(0x389)],void 0x0):this[_0x434abf(0x1b3)][_0x434abf(0x38e)](le,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,this[_0x434abf(0x389)]);_0x8fc168[_0x434abf(0x27b)](),this[_0x434abf(0x389)][_0x434abf(0x27c)](this,_0x8fc168);},_0x2ab17f);}['_getSendChangesetTimeout'](){var _0x59a000=_0x1f558c,_0x42ad73;const _0x3cb24d=this[_0x59a000(0x405)][_0x59a000(0x2a0)](q);return(_0x42ad73=_0x3cb24d==null?void 0x0:_0x3cb24d[_0x59a000(0x23a)])!=null?_0x42ad73:In;}[_0x1f558c(0x311)](){var _0x40919c=_0x1f558c;throw new Error(_0x40919c(0x2f2));}[_0x1f558c(0x2f5)](){var _0x581864=_0x1f558c;this[_0x581864(0x14b)]!=null&&(clearTimeout(this[_0x581864(0x14b)]),this[_0x581864(0x14b)]=null);}[_0x1f558c(0x3d2)](_0xda5403){var _0x5cabb9=_0x1f558c;return this[_0x5cabb9(0x2f5)](),this[_0x5cabb9(0x1b3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x5cabb9(0x2d0)],this['_handler'],_0xda5403);}};oe=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x5b2811(xe)),A(0x7,_0x574408),A(0x8,_0x456150),A(0x9,_0x4ea54a),A(0xa,_0x45b9e1),A(0xb,_0x30c3be),A(0xc,_0x46c745),A(0xd,_0x40673b(J))],oe);let le=class extends Ce{constructor(_0x155179,_0x105df4,_0x6ab602,_0x3d0ee0,_0x22db75,_0x3449f1,_0x48443e,_0x2c712a,_0x2f1693,_0x11ba59,_0x3c9029){var _0x3c7eac=_0x1f558c;super(_0x155179,_0x105df4,_0x6ab602,[],_0x3d0ee0,_0x48443e,_0x11ba59,_0x3449f1,_0x3c9029),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x3c7eac(0x3ef)),N(this,_0x3c7eac(0x17c)),(this[_0x3c7eac(0x1b3)]=_0x22db75,this[_0x3c7eac(0x343)]=_0x2c712a,this[_0x3c7eac(0x38a)]=_0x2f1693);}['appendMutation'](_0xd8c05d){var _0x2fb096=_0x1f558c;this[_0x2fb096(0x2f5)]();const _0x85a85f=this[_0x2fb096(0x1b3)]['createInstance'](ae,this[_0x2fb096(0x3e0)],this[_0x2fb096(0x15f)],this[_0x2fb096(0x3f4)],[_0xd8c05d],this[_0x2fb096(0x389)],this[_0x2fb096(0x3ef)]);return _0x85a85f[_0x2fb096(0x27b)](),_0x85a85f;}[_0x1f558c(0x295)](_0x365a1f){var _0x3f154d=_0x1f558c;if(this[_0x3f154d(0x2de)](_0x365a1f))return this[_0x3f154d(0x2f5)](),this['_injector'][_0x3f154d(0x38e)](ee,this['unitID'],this['type'],this[_0x3f154d(0x3f4)],[],null,[_0x365a1f],this[_0x3f154d(0x389)]);try{const _0xeeac51=this[_0x3f154d(0x38a)][_0x3f154d(0x428)]([_0x365a1f],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0xeeac51)){const {c1Prime:_0x3b06fc,c2Prime:_0x2fc50b}=_0xeeac51;this[_0x3f154d(0x305)](_0x3b06fc[0x0]),_0x2fc50b[0x0][_0x3f154d(0x161)]=this[_0x3f154d(0x2e0)](),this[_0x3f154d(0x2f5)]();const _0x359bdf=this[_0x3f154d(0x1b3)]['createInstance'](le,this[_0x3f154d(0x3e0)],this[_0x3f154d(0x15f)],_0x2fc50b[0x0],this[_0x3f154d(0x389)]);return _0x359bdf[_0x3f154d(0x27b)](),_0x359bdf;}return this[_0x3f154d(0x3d2)](!0x1);}catch(_0x5b13b7){return this[_0x3f154d(0x343)]['error'](_0x5b13b7),this[_0x3f154d(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x4ef1d2){var _0x3c7dd6=_0x1f558c;this['_clearScheduledTask']();const _0x3e90bb=this[_0x3c7dd6(0x164)]['getCurrentRevOfUnit'](this[_0x3c7dd6(0x3e0)]);if(_0x4ef1d2[_0x3c7dd6(0x2f9)]<_0x3e90bb-0x1)return this;if(this[_0x3c7dd6(0x2de)](_0x4ef1d2))return this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](ee,this['unitID'],this[_0x3c7dd6(0x15f)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x537487=this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](Ne,this[_0x3c7dd6(0x3e0)],this['type'],this[_0x3c7dd6(0x389)]);return _0x537487[_0x3c7dd6(0x27b)](),_0x537487;}[_0x1f558c(0x19c)](_0x1be3e1){var _0x3c4b33=_0x1f558c;return this['_onConflict'](!!(_0x1be3e1!=null&&_0x1be3e1[_0x3c4b33(0x3cf)]));}[_0x1f558c(0x387)](_0x158b2a){var _0x125d22=_0x1f558c;return this[_0x125d22(0x249)]>Oi?this[_0x125d22(0x3ab)]():(this[_0x125d22(0x3ef)]=bi(this[_0x125d22(0x249)],{'timeout':this['_resendTimeout'],'reqId':_0x158b2a['reqId']}),this['_sender']=this[_0x125d22(0x3ef)]['subscribe'](({reqId:_0x5a54f9,timeout:_0x534636})=>{var _0x3a610c=_0x125d22;this[_0x3a610c(0x355)](_0x5a54f9,_0x534636);}),this);}[_0x1f558c(0x3ab)](){var _0x9476e8=_0x1f558c;return this[_0x9476e8(0x2f5)](),this[_0x9476e8(0x1b3)][_0x9476e8(0x38e)](de,this['unitID'],this[_0x9476e8(0x15f)],this[_0x9476e8(0x3f4)],[],this[_0x9476e8(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x311)](){var _0xa91202=_0x1f558c;this[_0xa91202(0x389)][_0xa91202(0x380)](this[_0xa91202(0x3f4)]);}[_0x1f558c(0x3d2)](_0x17d7bc){var _0x65ce17=_0x1f558c;return this[_0x65ce17(0x2f5)](),this['_injector'][_0x65ce17(0x38e)](ue,this['unitID'],this[_0x65ce17(0x15f)],this['_awaitingChangeset'],[],this['_handler'],_0x17d7bc);}[_0x1f558c(0x355)](_0x37f4bb,_0x26286d){var _0x3821ce=_0x1f558c,_0x1e6d68;_0x37f4bb===((_0x1e6d68=this[_0x3821ce(0x3f4)])==null?void 0x0:_0x1e6d68['reqId'])&&(this[_0x3821ce(0x311)](),this[_0x3821ce(0x249)]=_0x26286d===0x0?0x3e8:_0x26286d*0x2);}['_clearScheduledTask'](){var _0x473518=_0x1f558c,_0x27a116;(_0x27a116=this[_0x473518(0x17c)])==null||_0x27a116[_0x473518(0x207)](),this[_0x473518(0x249)]=0x0;}};le=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x46c745),A(0xa,_0x40673b(J))],le);let ae=class extends Ce{constructor(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x3049e9,_0x31f043,_0x35fb4f,_0x4dd554,_0x37186a,_0x54d3a3,_0x31eb6a,_0x15f145){var _0x2ad560=_0x1f558c;super(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x4dd554,_0x31eb6a,_0x35fb4f,_0x15f145),N(this,'status',_0x2ad560(0x39d)),N(this,_0x2ad560(0x249),0x0),N(this,_0x2ad560(0x3ef)),N(this,_0x2ad560(0x17c)),(this[_0x2ad560(0x1b3)]=_0x31f043,this[_0x2ad560(0x343)]=_0x37186a,this[_0x2ad560(0x38a)]=_0x54d3a3,this[_0x2ad560(0x1d1)]=_0x15f145,_0x3049e9&&(this[_0x2ad560(0x3ef)]=_0x3049e9,this['_sender']=this[_0x2ad560(0x3ef)][_0x2ad560(0x3a4)](({reqId:_0x3f14ef,timeout:_0x2670af})=>{var _0x1f00aa=_0x2ad560;this[_0x1f00aa(0x355)](_0x3f14ef,_0x2670af);})));}[_0x1f558c(0x20e)](_0x32d498){var _0xcb039a=_0x1f558c;return this['_pendingMutations'][_0xcb039a(0x1eb)](_0x32d498),this;}[_0x1f558c(0x295)](_0x3d7b6b){var _0x5e2c98=_0x1f558c;if(this['_checkMissing'](_0x3d7b6b))return this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ee,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],this['_awaitingChangeset'],this[_0x5e2c98(0x2d0)],null,[_0x3d7b6b],this['_handler']);try{const _0x4acb1c=this['_transformService']['transformChangesets']([_0x3d7b6b],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0x4acb1c)){const {c1Prime:_0x28e880,c2Prime:_0x38d6ea}=_0x4acb1c,_0x49cacd=this['_transformService'][_0x5e2c98(0x3e5)](_0x28e880[0x0],this[_0x5e2c98(0x2d0)]);if(_0x1a87e5(_0x49cacd)){const {c1Prime:_0xc5a746,m2Prime:_0x3246c0}=_0x49cacd;return this[_0x5e2c98(0x305)](_0xc5a746),_0x38d6ea[0x0][_0x5e2c98(0x161)]=this[_0x5e2c98(0x2e0)](),this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ae,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],_0x38d6ea[0x0],_0x3246c0,this[_0x5e2c98(0x389)],void 0x0);}throw _0x49cacd[_0x5e2c98(0x145)];}throw _0x4acb1c['error'];}catch(_0x4e7922){return this[_0x5e2c98(0x343)]['error'](_0x4e7922),this[_0x5e2c98(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x191b81){var _0x5eea98=_0x1f558c;if(this[_0x5eea98(0x2f5)](),this[_0x5eea98(0x2de)](_0x191b81))return this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](ee,this[_0x5eea98(0x3e0)],this['type'],null,this[_0x5eea98(0x2d0)],this[_0x5eea98(0x3f4)],[],this[_0x5eea98(0x389)]);this[_0x5eea98(0x286)]();const _0x3eb875=this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](oe,this[_0x5eea98(0x3e0)],this[_0x5eea98(0x15f)],this[_0x5eea98(0x2d0)],this[_0x5eea98(0x389)]);return _0x3eb875[_0x5eea98(0x3d9)](),_0x3eb875['_updateLocalCache'](),_0x3eb875;}[_0x1f558c(0x19c)](_0x5306fe){var _0x3c4f09=_0x1f558c;return this[_0x3c4f09(0x3d2)](!!(_0x5306fe!=null&&_0x5306fe[_0x3c4f09(0x3cf)]));}['onRemoteRetry'](_0x32b3a3){var _0x2dc11f=_0x1f558c;return this[_0x2dc11f(0x249)]>Oi?this[_0x2dc11f(0x3ab)]():(this[_0x2dc11f(0x3ef)]=bi(this[_0x2dc11f(0x249)],{'timeout':this[_0x2dc11f(0x249)],'reqId':_0x32b3a3['reqId']}),this['_sender']=this[_0x2dc11f(0x3ef)][_0x2dc11f(0x3a4)](({reqId:_0x55d643,timeout:_0x326b7e})=>{var _0x462a12=_0x2dc11f;this[_0x462a12(0x355)](_0x55d643,_0x326b7e);}),this);}[_0x1f558c(0x3ab)](){var _0x2fd66e=_0x1f558c;return this[_0x2fd66e(0x2f5)](),this['_injector'][_0x2fd66e(0x38e)](de,this[_0x2fd66e(0x3e0)],this[_0x2fd66e(0x15f)],this[_0x2fd66e(0x3f4)],this[_0x2fd66e(0x2d0)],this[_0x2fd66e(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){var _0x18bb8a=_0x1f558c;this[_0x18bb8a(0x389)]['onSendChangeset'](this[_0x18bb8a(0x3f4)]);}['_onConflict'](_0xcecadb){var _0x56ef8f=_0x1f558c;return this['_clearScheduledTask'](),this[_0x56ef8f(0x1b3)][_0x56ef8f(0x38e)](ue,this[_0x56ef8f(0x3e0)],this[_0x56ef8f(0x15f)],null,this[_0x56ef8f(0x2d0)],this[_0x56ef8f(0x389)],_0xcecadb);}['_resendWithTimeout'](_0x3eadfb,_0x2ca899){var _0x78f459=_0x1f558c,_0x5e2bb2;_0x3eadfb===((_0x5e2bb2=this[_0x78f459(0x3f4)])==null?void 0x0:_0x5e2bb2['reqId'])&&(this[_0x78f459(0x311)](),this[_0x78f459(0x249)]=_0x2ca899===0x0?0x3e8:_0x2ca899*0x2);}[_0x1f558c(0x2f5)](){var _0x270d14=_0x1f558c,_0x1d26c6;(_0x1d26c6=this['_sender'])==null||_0x1d26c6[_0x270d14(0x207)](),this[_0x270d14(0x249)]=0x0;}};ae=Te([A(0x6,_0x5b2811(_0x5b79bd)),A(0x7,_0x5b2811(_0x40fd0a)),A(0x8,_0x456150),A(0x9,_0x574408),A(0xa,_0x45b9e1),A(0xb,_0x46c745),A(0xc,_0x40673b(J))],ae);let ue=class extends Ce{constructor(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x392eeb=!0x1,_0x375319,_0x4a9b3d,_0x51be06,_0x41acaf,_0x233d81,_0x7202fa,_0x56d504){var _0x2d992b=_0x1f558c;super(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x4a9b3d,_0x51be06,_0x41acaf,_0x56d504),N(this,_0x2d992b(0x1c2),_0x2d992b(0x320)),(this[_0x2d992b(0x21e)]=_0x392eeb,this[_0x2d992b(0x30f)]=_0x375319,this[_0x2d992b(0x2c0)]=_0x233d81,this[_0x2d992b(0x323)]=_0x7202fa,this[_0x2d992b(0x1d1)]=_0x56d504,this[_0x2d992b(0x1b1)](),this[_0x2d992b(0x3a5)](),this[_0x2d992b(0x247)]());}[_0x1f558c(0x20e)](){return this;}[_0x1f558c(0x295)](){return this;}[_0x1f558c(0x40e)](){return this;}[_0x1f558c(0x19c)](){return this;}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x1f558c(0x311)](){var _0x5d5953=_0x1f558c;throw new Error(_0x5d5953(0x1bd));}[_0x1f558c(0x3a5)](){var _0x5a9ff3=_0x1f558c,_0x599606;(_0x599606=this[_0x5a9ff3(0x28f)])==null||_0x599606[_0x5a9ff3(0x303)](this['unitID'],this[_0x5a9ff3(0x15f)],null,[]);}[_0x1f558c(0x1b1)](){var _0x378fc9=_0x1f558c;this['_isPermissionRej']?this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x1de)]}):this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x2c7)]});}['_disableEditing'](){var _0x2982b9=_0x1f558c;this[_0x2982b9(0x30f)][_0x2982b9(0x298)](new _0x6a1b02(this[_0x2982b9(0x3e0)])['id'],!0x1);}};ue=Te([A(0x6,_0x5b2811(_0x5b9158)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x5b2811(_0x40fd0a)),A(0xa,_0x5b2811(_0x426c5e)),A(0xb,_0x5b2811(pe)),A(0xc,_0x40673b(J))],ue);let de=class extends Ce{constructor(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x28c6e7,_0x216f67,_0x50dd84,_0x2d4b4a,_0x5a198f){var _0x4d035c=_0x1f558c;super(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x50dd84,_0x2d4b4a,_0x216f67,_0x5a198f),N(this,'status',_0x4d035c(0x1c8)),this[_0x4d035c(0x1b3)]=_0x28c6e7;}[_0x1f558c(0x20e)](_0x5eee90){var _0x5708ea=_0x1f558c;return this[_0x5708ea(0x2d0)][_0x5708ea(0x1eb)](_0x5eee90),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3f49ce){var _0x5bda6c=_0x1f558c;throw new Error(_0x5bda6c(0x38c));}[_0x1f558c(0x40e)](){var _0x1f60d7=_0x1f558c;throw new Error(_0x1f60d7(0x367));}[_0x1f558c(0x19c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){return this;}[_0x1f558c(0x25a)](){var _0x1b32b7=_0x1f558c;const {_injector:_0x41953b,_pendingMutations:_0x493ff3,_awaitingChangeset:_0x4805f9,unitID:_0x4ae5f5,_handler:_0x19d987,type:_0x3d0ec7}=this,_0x4e9254=yi(_0x41953b,_0x4ae5f5,_0x3d0ec7,_0x4805f9,_0x493ff3,_0x19d987);return _0x4e9254 instanceof oe?_0x4e9254['_schedule']():(_0x4e9254 instanceof ae||_0x4e9254 instanceof le)&&_0x4e9254[_0x1b32b7(0x311)](),_0x4e9254;}[_0x1f558c(0x311)](){var _0x25eb5a=_0x1f558c;throw new Error(_0x25eb5a(0x422));}};de=Te([A(0x5,_0x5b2811(_0x5b79bd)),A(0x6,_0x5b2811(_0x40fd0a)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x40673b(J))],de);let ee=class extends Ce{constructor(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x5a75cb,_0x4cac91,_0x4c5e57,_0x5e9f81,_0x218e35,_0x4c4673,_0x1e9845,_0x184c46,_0x564894,_0x2d82de){var _0x4b1584=_0x1f558c;super(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x4c5e57,_0x1e9845,_0x184c46,_0x218e35,_0x2d82de),N(this,'status',_0x4b1584(0x335)),(this['_acknowledgedAwaitingChangeset']=_0x5a75cb,this['_queuedRemoteChangesets']=_0x4cac91,this['_injector']=_0x5e9f81,this[_0x4b1584(0x343)]=_0x4c4673,this[_0x4b1584(0x38a)]=_0x564894,this[_0x4b1584(0x1d1)]=_0x2d82de);}[_0x1f558c(0x312)](_0x14f929){var _0x1dbd2c=_0x1f558c;try{const _0x30839e=[..._0x14f929,...this[_0x1dbd2c(0x2bd)]],_0x18c1b3=[this['_awaitingChangeset']||this[_0x1dbd2c(0x309)]][_0x1dbd2c(0x436)](_0x5155f0=>!!_0x5155f0);let _0x213a22,_0x51231b;if(_0x18c1b3[_0x1dbd2c(0x158)]){const _0x58735e=this[_0x1dbd2c(0x38a)][_0x1dbd2c(0x428)](_0x30839e,_0x18c1b3,!0x1);if(!_0x2e616a(_0x58735e))throw _0x58735e[_0x1dbd2c(0x145)];_0x213a22=_0x58735e[_0x1dbd2c(0x424)],_0x51231b=_0x58735e[_0x1dbd2c(0x261)];}else _0x213a22=_0x30839e,_0x51231b=[];let _0x3fcd71=this[_0x1dbd2c(0x2d0)];_0x213a22[_0x1dbd2c(0x179)](_0x488411=>{var _0x3838cf=_0x1dbd2c;let _0x30ff9b;if(_0x3fcd71[_0x3838cf(0x158)]){const _0xa3366b=this[_0x3838cf(0x38a)][_0x3838cf(0x3e5)](_0x488411,_0x3fcd71);if(!_0x1a87e5(_0xa3366b))throw _0xa3366b[_0x3838cf(0x145)];_0x30ff9b=_0xa3366b[_0x3838cf(0x424)],_0x3fcd71=_0xa3366b[_0x3838cf(0x141)];}else _0x30ff9b=_0x488411;this[_0x3838cf(0x305)](_0x30ff9b);}),this[_0x1dbd2c(0x309)]&&this[_0x1dbd2c(0x286)](),this['_awaitingChangeset']&&_0x51231b[_0x1dbd2c(0x158)]&&(_0x51231b[0x0][_0x1dbd2c(0x161)]=this[_0x1dbd2c(0x2e0)]());let _0x1be07c;if(this['_awaitingChangeset']&&_0x3fcd71[_0x1dbd2c(0x158)]!==0x0)_0x1be07c=this['_injector'][_0x1dbd2c(0x38e)](ae,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],_0x3fcd71,this[_0x1dbd2c(0x389)],void 0x0);else{if(this[_0x1dbd2c(0x3f4)]&&_0x3fcd71['length']===0x0)_0x51231b[0x0]['baseRev']=this[_0x1dbd2c(0x2e0)](),_0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](le,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],this['_handler']);else{if(_0x3fcd71[_0x1dbd2c(0x158)]!==0x0){const _0x598a86=this['_injector'][_0x1dbd2c(0x38e)](oe,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x3fcd71,this[_0x1dbd2c(0x389)]);_0x598a86[_0x1dbd2c(0x3d9)](),_0x1be07c=_0x598a86;}else _0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](Ne,this['unitID'],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x389)]);}}return _0x1be07c[_0x1dbd2c(0x27b)](),_0x1be07c;}catch(_0x253685){return this[_0x1dbd2c(0x343)][_0x1dbd2c(0x145)](_0x1dbd2c(0x426),_0x1dbd2c(0x332),_0x253685),this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](ue,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x3f4)],this[_0x1dbd2c(0x2d0)],this[_0x1dbd2c(0x389)],!0x1);}}[_0x1f558c(0x311)](){var _0x1be9fd=_0x1f558c;throw new Error(_0x1be9fd(0x15b));}[_0x1f558c(0x20e)](_0x398c03){var _0x5641e1=_0x1f558c;return this['_pendingMutations'][_0x5641e1(0x1eb)](_0x398c03),this;}[_0x1f558c(0x295)](_0x431447){var _0x40e5b6=_0x1f558c;return this[_0x40e5b6(0x2bd)][_0x40e5b6(0x1eb)](_0x431447),this;}['onRemoteAck'](_0x5ec180){var _0x4f6369=_0x1f558c;if(this[_0x4f6369(0x3f4)])return this[_0x4f6369(0x309)]=this[_0x4f6369(0x3f4)],this[_0x4f6369(0x3f4)]=null,this;throw new Error(_0x4f6369(0x2a2));}[_0x1f558c(0x19c)](_0x45a136){var _0x2d5a43=_0x1f558c;return this[_0x2d5a43(0x3d2)](!!(_0x45a136!=null&&_0x45a136[_0x2d5a43(0x3cf)]));}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){var _0x568d32=_0x1f558c;return this[_0x568d32(0x1b3)]['createInstance'](de,this[_0x568d32(0x3e0)],this[_0x568d32(0x15f)],this[_0x568d32(0x3f4)],this[_0x568d32(0x2d0)],this[_0x568d32(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d2)](_0x556bd1){var _0x1cd9da=_0x1f558c;return this[_0x1cd9da(0x1b3)]['createInstance'](ue,this[_0x1cd9da(0x3e0)],this[_0x1cd9da(0x15f)],this[_0x1cd9da(0x3f4)],this[_0x1cd9da(0x2d0)],this[_0x1cd9da(0x389)],_0x556bd1);}};ee=Te([A(0x7,_0x5b2811(_0x5b79bd)),A(0x8,_0x5b2811(_0x40fd0a)),A(0x9,_0x574408),A(0xa,_0x456150),A(0xb,_0x46c745),A(0xc,_0x45b9e1),A(0xd,_0x40673b(J))],ee);function yi(_0x25fe4f,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9){var _0x15932e=_0x1f558c;return _0x352b6e&&_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](ae,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9,void 0x0):_0x352b6e?_0x25fe4f['createInstance'](le,_0x2bedd8,_0x26ab36,_0x352b6e,_0xd7f8a9):_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](oe,_0x2bedd8,_0x26ab36,_0x47f579,_0xd7f8a9):_0x25fe4f['createInstance'](Ne,_0x2bedd8,_0x26ab36,_0xd7f8a9);}var dr=Object['defineProperty'],fr=Object[_0x1f558c(0x330)],xt=(_0x462a76,_0x5c6930,_0xb78107,_0x1fdf4e)=>{for(var _0x5e4549=_0x1fdf4e>0x1?void 0x0:_0x1fdf4e?fr(_0x5c6930,_0xb78107):_0x5c6930,_0x2ca9da=_0x462a76['length']-0x1,_0x2ac7da;_0x2ca9da>=0x0;_0x2ca9da--)(_0x2ac7da=_0x462a76[_0x2ca9da])&&(_0x5e4549=(_0x1fdf4e?_0x2ac7da(_0x5c6930,_0xb78107,_0x5e4549):_0x2ac7da(_0x5e4549))||_0x5e4549);return _0x1fdf4e&&_0x5e4549&&dr(_0x5c6930,_0xb78107,_0x5e4549),_0x5e4549;},k=(_0x28c612,_0x12ba7c)=>(_0x4ca439,_0x173bcc)=>_0x12ba7c(_0x4ca439,_0x173bcc,_0x28c612);let nt=class extends _0x1a5dd9{constructor(_0x584940,_0x38ec7f,_0x4926b3,_0x53a0fc,_0x1dd380,_0x1fbc1e,_0x287847,_0x3aeca8,_0x2b42fb,_0xd9a42a,_0x2232da,_0x5c6f0c,_0x4e3617){var _0x4b8db1=_0x1f558c;super(),N(this,'_state$',new _0x12b284(null)),N(this,'state$',this['_state$'][_0x4b8db1(0x317)]()),N(this,'_state'),N(this,_0x4b8db1(0x388),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4b8db1(0x29c),0x0),N(this,_0x4b8db1(0x2b3),this[_0x4b8db1(0x24c)][_0x4b8db1(0x41e)](_0x1d5c6b(_0x34dc73=>_0x34dc73?_0x34dc73['status']:Ri['OFFLINE']),_0x576d80(0x1))),N(this,_0x4b8db1(0x2c9),!0x1),N(this,_0x4b8db1(0x230),[]),(this[_0x4b8db1(0x3e0)]=_0x584940,this[_0x4b8db1(0x425)]=_0x38ec7f,this[_0x4b8db1(0x318)]=_0x4926b3,this[_0x4b8db1(0x1b3)]=_0x53a0fc,this['_compressMutationService']=_0x1dd380,this[_0x4b8db1(0x2c0)]=_0x1fbc1e,this[_0x4b8db1(0x164)]=_0x287847,this['_eventService']=_0x3aeca8,this['_logService']=_0x2b42fb,this[_0x4b8db1(0x1d2)]=_0xd9a42a,this['_permissionService']=_0x2232da,this[_0x4b8db1(0x40d)]=_0x5c6f0c,this['_localCacheService']=_0x4e3617);}get[_0x1f558c(0x240)](){return this['_state'];}async[_0x1f558c(0x2e7)](){var _0x324d75=_0x1f558c;if(this[_0x324d75(0x240)])throw new Error(_0x324d75(0x2a1));await this[_0x324d75(0x2e9)]();}[_0x1f558c(0x205)](){return this['_collaborationPaused']=!0x0,_0xd7d543(()=>{var _0x5b1416=_0x4725;this['_collaborationPaused']=!0x1,this[_0x5b1416(0x198)]();});}[_0x1f558c(0x429)](_0x89aeb2){var _0x97a7ce=_0x1f558c;this[_0x97a7ce(0x2b4)](_0x89aeb2);}[_0x1f558c(0x177)](_0x1d718c){var _0x16137d=_0x1f558c;this[_0x16137d(0x310)]=_0x1d718c,this[_0x16137d(0x3c7)]['next'](_0x1d718c);}async['_init'](){var _0x598ece=_0x1f558c,_0xbe8838;this[_0x598ece(0x177)](await this['_createInitialState']()),this[_0x598ece(0x40d)]&&((_0xbe8838=this[_0x598ece(0x40d)])==null||_0xbe8838[_0x598ece(0x350)](this[_0x598ece(0x3e0)]),this[_0x598ece(0x2d6)](this[_0x598ece(0x40d)][_0x598ece(0x3c5)](this[_0x598ece(0x3e0)])[_0x598ece(0x3a4)](_0xeb7c9b=>{var _0x533df4=_0x598ece;this['_logService']['debug']('[CollaborationEntity]',_0x533df4(0x28a),_0xeb7c9b),_0xeb7c9b===Ci[_0x533df4(0x417)]?(this[_0x533df4(0x373)][_0x533df4(0x2ec)]({'id':se[_0x533df4(0x222)]}),this[_0x533df4(0x30f)][_0x533df4(0x298)](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x533df4(0x30f)]['updatePermissionPoint'](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x0),this[_0x533df4(0x30f)][_0x533df4(0x20c)](!0x0));})));let _0x25eb4b=!0x1;return this[_0x598ece(0x2d6)](this[_0x598ece(0x425)]['sessionStatus$'][_0x598ece(0x3a4)](_0x2f1fa1=>{var _0x98d980=_0x598ece;_0x2f1fa1===Ee[_0x98d980(0x262)]?this[_0x98d980(0x3f7)](_0x25eb4b):_0x2f1fa1===Ee[_0x98d980(0x18f)]&&(_0x25eb4b=!0x0,this['_toggleOffline']());})),this[_0x598ece(0x2d6)](this[_0x598ece(0x425)][_0x598ece(0x1c9)][_0x598ece(0x3a4)](_0x58152d=>{var _0x5b9ee3=_0x598ece;try{switch(_0x58152d[_0x5b9ee3(0x20b)]){case _0x238e1f[_0x5b9ee3(0x257)]:{this[_0x5b9ee3(0x3bf)](_0x350fd9(_0x58152d[_0x5b9ee3(0x2f7)]));break;}case _0x238e1f[_0x5b9ee3(0x325)]:{this['_onRemoteACK'](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f['CHANGESET_REJ']:{this[_0x5b9ee3(0x14e)]();break;}case _0x238e1f[_0x5b9ee3(0x3dd)]:{this[_0x5b9ee3(0x34a)](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f[_0x5b9ee3(0x22b)]:{this[_0x5b9ee3(0x18c)](_0x58152d[_0x5b9ee3(0x2f7)]['changesets'][_0x5b9ee3(0x3b0)](_0x2275f9=>_0x350fd9(_0x2275f9)));break;}case _0x238e1f[_0x5b9ee3(0x2fd)]:{this[_0x5b9ee3(0x14e)]({'isPermissionRej':!0x0});break;}case _0x238e1f[_0x5b9ee3(0x32d)]:break;}}catch(_0x1a4124){throw console[_0x5b9ee3(0x145)](_0x5b9ee3(0x197),_0x1a4124),_0x1a4124;}})),this[_0x598ece(0x310)];}['_unlockTransition'](){var _0x58179d=_0x1f558c;this[_0x58179d(0x2c9)]=!0x1;}['_lockTransition'](){var _0x4dd08a=_0x1f558c;if(this['_transitionLocked'])throw new Error(_0x4dd08a(0x393));this[_0x4dd08a(0x2c9)]=!0x0;}[_0x1f558c(0x2b4)](_0xc61510){var _0xabedd9=_0x1f558c;this['_lockTransition'](),this[_0xabedd9(0x177)](this[_0xabedd9(0x310)][_0xabedd9(0x20e)](_0xc61510)),this['_unlockTransition']();}[_0x1f558c(0x3bf)](_0x4958fb){var _0x15bf28=_0x1f558c;if(!(_0x4958fb['revision']<=this[_0x15bf28(0x164)][_0x15bf28(0x372)](this[_0x15bf28(0x3e0)]))){if(this[_0x15bf28(0x388)]){this[_0x15bf28(0x230)]['push'](_0x4958fb);return;}this['_applyRemoteChangeset'](_0x4958fb);}}[_0x1f558c(0x198)](){var _0x506b52=_0x1f558c;this[_0x506b52(0x230)][_0x506b52(0x179)](_0xbacb22=>this[_0x506b52(0x339)](_0xbacb22)),this[_0x506b52(0x230)]=[];}['_applyRemoteChangeset'](_0x10f8ce){var _0x541156=_0x1f558c;const _0x582de7=this[_0x541156(0x352)][_0x541156(0x226)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x541156(0x226)]['getInterceptPoints']()[_0x541156(0x2f3)])(_0x10f8ce[_0x541156(0x1cc)],null)||_0x10f8ce[_0x541156(0x1cc)],_0x2cce3a={..._0x10f8ce,'mutations':_0x582de7};this[_0x541156(0x2d5)](),this[_0x541156(0x177)](this[_0x541156(0x310)][_0x541156(0x295)](_0x2cce3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x3b8687){var _0x513624=_0x1f558c;this['_lockTransition'](),this[_0x513624(0x177)](this[_0x513624(0x310)]['onRemoteAck'](_0x3b8687)),this[_0x513624(0x26f)]();}[_0x1f558c(0x14e)](_0x5742ae){var _0x5821d3=_0x1f558c;this[_0x5821d3(0x2d5)](),this[_0x5821d3(0x177)](this[_0x5821d3(0x310)][_0x5821d3(0x19c)](_0x5742ae)),this[_0x5821d3(0x26f)]();}[_0x1f558c(0x34a)](_0x2e6ba4){var _0x46e26f=_0x1f558c;this[_0x46e26f(0x2d5)](),this[_0x46e26f(0x177)](this['_state'][_0x46e26f(0x387)](_0x2e6ba4)),this[_0x46e26f(0x26f)]();}[_0x1f558c(0x18c)](_0x430174){var _0x13cfa8=_0x1f558c;if(!(this[_0x13cfa8(0x310)]instanceof ee))throw new TypeError(_0x13cfa8(0x2ae));const _0x34bcfa=_0x430174[_0x13cfa8(0x3b0)](_0x367e56=>{var _0xf1f084=_0x13cfa8;const _0x3b3a8a=this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x269)](this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x30d)]()[_0xf1f084(0x2f3)])(_0x367e56['mutations'],null)||_0x367e56['mutations'];return{..._0x367e56,'mutations':_0x3b3a8a};});this[_0x13cfa8(0x2d5)](),this[_0x13cfa8(0x177)](this[_0x13cfa8(0x310)][_0x13cfa8(0x312)](_0x34bcfa)),this[_0x13cfa8(0x26f)]();}[_0x1f558c(0x410)](){var _0x59b004=_0x1f558c;this[_0x59b004(0x2d5)](),this['_updateState'](this[_0x59b004(0x310)][_0x59b004(0x3ab)]()),this[_0x59b004(0x26f)]();}['_toggleOnline'](_0xaa6462=!0x1){var _0x5177ab=_0x1f558c;this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](this[_0x5177ab(0x310)][_0x5177ab(0x25a)]()),this[_0x5177ab(0x26f)]();const _0x917c4e=this[_0x5177ab(0x310)];_0xaa6462&&_0x917c4e instanceof Ne&&(this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](_0x917c4e[_0x5177ab(0x291)]()),this[_0x5177ab(0x26f)]());}async['_createInitialState'](){return new Promise(_0x326911=>{var _0xf1e9cd=_0x4725;this[_0xf1e9cd(0x425)][_0xf1e9cd(0x3ce)]['pipe'](_0x3669e7(0x1))['subscribe'](async _0x4f161c=>{var _0x48ac70=_0xf1e9cd;_0x326911(await this['_createInitialStateImpl'](_0x4f161c===Ee[_0x48ac70(0x262)]));});});}[_0x1f558c(0x156)](){var _0x418581=_0x1f558c;const _0x5487b9=this[_0x418581(0x3e0)];return{'onStateChange':(_0x48641c,_0x405323)=>{var _0x3116b2=_0x418581;if(_0x48641c!==this[_0x3116b2(0x310)])throw new Error(_0x3116b2(0x3dc)+_0x48641c[_0x3116b2(0x1c2)]+_0x3116b2(0x31f)+_0x405323[_0x3116b2(0x1c2)]+_0x3116b2(0x1ac)+this[_0x3116b2(0x310)][_0x3116b2(0x1c2)]);this[_0x3116b2(0x177)](_0x405323);},'onSendChangeset':_0x347091=>{var _0x41c0ef=_0x418581;_0x347091[_0x41c0ef(0x2c8)]||(_0x347091['sid']=this[_0x41c0ef(0x184)],_0x347091[_0x41c0ef(0x29b)]=++this[_0x41c0ef(0x29c)]);const _0x5409a6={'eventID':_0x238e1f[_0x41c0ef(0x328)],'data':{'unitID':_0x347091['unitID'],'unitType':this[_0x41c0ef(0x318)],'changeset':_0x347091,'memberID':this[_0x41c0ef(0x425)]['getMemberID']()}};this[_0x41c0ef(0x425)][_0x41c0ef(0x1dc)](_0x5409a6,this[_0x41c0ef(0x3e0)]);},'onMissingChangesets':({from:_0x150202,to:_0x44800d})=>{var _0x52677d=_0x418581;this[_0x52677d(0x343)][_0x52677d(0x2e3)](_0x52677d(0x438),_0x52677d(0x356)+_0x150202+_0x52677d(0x210)+_0x44800d);const _0x13a6c8={'eventID':_0x238e1f[_0x52677d(0x199)],'data':{'unitID':_0x5487b9,'unitType':this['_type'],'from':_0x150202,'to':_0x44800d}};this['session'][_0x52677d(0x1dc)](_0x13a6c8,this['unitID']);}};}async['_createInitialStateImpl'](_0x2eab43){var _0x517d6e=_0x1f558c,_0x147299,_0x5250b9,_0x539440;const _0x1e7bd8=await((_0x147299=this['_localCacheService'])==null?void 0x0:_0x147299[_0x517d6e(0x41d)](this[_0x517d6e(0x3e0)])),_0x268dd7=(_0x5250b9=_0x1e7bd8==null?void 0x0:_0x1e7bd8[_0x517d6e(0x1cc)])!=null?_0x5250b9:[],_0x46aae4=(_0x539440=_0x1e7bd8==null?void 0x0:_0x1e7bd8['awaitingChangeset'])!=null?_0x539440:null,_0x569059=!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x2c8)])&&!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x29b)]);this[_0x517d6e(0x184)]=_0x569059?_0x46aae4[_0x517d6e(0x2c8)]:nr(),this['_changesetReqId']=_0x569059?_0x46aae4[_0x517d6e(0x29b)]:0x0;const _0x189569=this[_0x517d6e(0x3e0)];try{this['_replayCachedMutations'](_0x46aae4,_0x268dd7);}catch(_0x248261){this[_0x517d6e(0x343)][_0x517d6e(0x145)](_0x248261);}const _0x51b6e3=this[_0x517d6e(0x156)]();if(_0x2eab43){const _0x1f848e=yi(this[_0x517d6e(0x1b3)],_0x189569,this[_0x517d6e(0x318)],_0x46aae4,_0x268dd7,_0x51b6e3);return _0x1f848e instanceof oe?_0x1f848e[_0x517d6e(0x3d9)]():(_0x1f848e instanceof ae||_0x1f848e instanceof le)&&_0x1f848e['resend'](),_0x1f848e;}return this[_0x517d6e(0x1b3)][_0x517d6e(0x38e)](de,_0x189569,this['_type'],_0x46aae4,_0x268dd7,_0x51b6e3);}['_replayCachedMutations'](_0x10c6b3,_0x4ee13e){var _0x4e7195=_0x1f558c,_0x19e786,_0x167b67;const _0x4a06c1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4e7195(0x352)][_0x4e7195(0x226)][_0x4e7195(0x30d)]()[_0x4e7195(0x2f3)]);(_0x19e786=_0x4a06c1((_0x10c6b3==null?void 0x0:_0x10c6b3['mutations'])||[],null))==null||_0x19e786[_0x4e7195(0x179)](_0xc3930a=>this['_commandService'][_0x4e7195(0x3bc)](_0xc3930a['id'],_0xc3930a[_0x4e7195(0x3b2)])),(_0x167b67=_0x4a06c1(_0x4ee13e||[],null))==null||_0x167b67[_0x4e7195(0x179)](_0x3c66c6=>this[_0x4e7195(0x1d2)][_0x4e7195(0x3bc)](_0x3c66c6['id'],_0x3c66c6['params']));}};nt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],nt);let It=class extends nt{constructor(_0x5c4313,_0x328270,_0x123bc6,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74){var _0x3a73f9=_0x1f558c;super(_0x5c4313,_0x123bc6,_0x328270,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74),N(this,_0x3a73f9(0x1b0),null),(this[_0x3a73f9(0x3e0)]=_0x5c4313,this[_0x3a73f9(0x15f)]=_0x328270);}['addHandlerCallback'](_0x309646){var _0x26640a=_0x1f558c;this[_0x26640a(0x1b0)]=_0x309646;}[_0x1f558c(0x227)](){var _0x3f6bd6=_0x1f558c;this[_0x3f6bd6(0x1b0)]=null,super['dispose']();}[_0x1f558c(0x156)](){var _0x542cb2=_0x1f558c;const _0xfa395c=super[_0x542cb2(0x156)]();return _0xfa395c[_0x542cb2(0x2be)]=_0x1e46e0=>{var _0x346f04=_0x542cb2,_0x24b8d9,_0xca3323;return(_0xca3323=(_0x24b8d9=this[_0x346f04(0x1b0)])==null?void 0x0:_0x24b8d9['onTransformIME'])==null?void 0x0:_0xca3323[_0x346f04(0x178)](_0x24b8d9,_0x1e46e0);},_0xfa395c[_0x542cb2(0x360)]=_0x4801a2=>{var _0x3b22b9=_0x542cb2,_0x40432a,_0xdafcdb;return(_0xdafcdb=(_0x40432a=this[_0x3b22b9(0x1b0)])==null?void 0x0:_0x40432a[_0x3b22b9(0x360)])==null?void 0x0:_0xdafcdb[_0x3b22b9(0x178)](_0x40432a,_0x4801a2);},_0xfa395c[_0x542cb2(0x414)]=_0x1377cb=>{var _0x46c971=_0x542cb2,_0x453f99,_0x20c68f;return(_0x20c68f=(_0x453f99=this['_handlerCallback'])==null?void 0x0:_0x453f99[_0x46c971(0x414)])==null?void 0x0:_0x20c68f[_0x46c971(0x178)](_0x453f99,_0x1377cb);},_0xfa395c[_0x542cb2(0x2f0)]=_0x39d421=>{var _0x1addcd=_0x542cb2,_0x247a5c,_0x4d8218;return(_0x4d8218=(_0x247a5c=this[_0x1addcd(0x1b0)])==null?void 0x0:_0x247a5c[_0x1addcd(0x2f0)])==null?void 0x0:_0x4d8218['call'](_0x247a5c,_0x39d421);},_0xfa395c['onTransformRemoteChangesetByIMECache']=_0x72a2b=>{var _0x4c1660=_0x542cb2,_0x71600,_0x2919f6,_0x140276;if(!((_0x71600=this['_handlerCallback'])!=null&&_0x71600[_0x4c1660(0x2f6)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x140276=(_0x2919f6=this['_handlerCallback'])==null?void 0x0:_0x2919f6[_0x4c1660(0x2f6)])==null?void 0x0:_0x140276[_0x4c1660(0x178)](_0x2919f6,_0x72a2b);},_0xfa395c['onTransformRemoteChangesetByStateCache']=_0x5313fd=>{var _0x2fdbc0=_0x542cb2,_0x51c664,_0x248b91,_0x59b1cd;if(!((_0x51c664=this[_0x2fdbc0(0x1b0)])!=null&&_0x51c664[_0x2fdbc0(0x437)]))throw new Error(_0x2fdbc0(0x42d));return(_0x59b1cd=(_0x248b91=this['_handlerCallback'])==null?void 0x0:_0x248b91['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x59b1cd[_0x2fdbc0(0x178)](_0x248b91,_0x5313fd);},_0xfa395c;}async['_init'](){var _0x2ab5b9=_0x1f558c;const _0x94f2ef=await super[_0x2ab5b9(0x2e9)]();return this[_0x2ab5b9(0x2d6)](this['_commandService'][_0x2ab5b9(0x1aa)]((_0xa6a546,_0x68ea98)=>{var _0x423faa=_0x2ab5b9;if(_0xa6a546[_0x423faa(0x15f)]!==_0x2402fa[_0x423faa(0x173)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x308)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x231)]||_0xa6a546['id']===_0x3eafab['id'])return;const _0x7b098a=_0xa6a546[_0x423faa(0x3b2)];if((_0x7b098a==null?void 0x0:_0x7b098a['unitId'])!==this['unitID'])return;const _0x1257ee=_0xa6a546,_0x5d6fa5=this[_0x423faa(0x352)][_0x423faa(0x226)][_0x423faa(0x269)](this['_compressMutationService'][_0x423faa(0x226)][_0x423faa(0x30d)]()[_0x423faa(0x3f6)])([_0x1257ee],null)||[_0x1257ee];this[_0x423faa(0x2b4)](_0x5d6fa5[0x0]);})),_0x94f2ef;}};It=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],It);let Tt=class extends nt{constructor(_0x357985,_0x23a99e,_0x28cffc,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0x15de18,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740){var _0x1bcccf=_0x1f558c;super(_0x357985,_0x28cffc,_0x23a99e,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740),this[_0x1bcccf(0x3e0)]=_0x357985,this['type']=_0x23a99e,this[_0x1bcccf(0x13d)]=_0x15de18;}['_createHandler'](){var _0x2257d2=_0x1f558c;const _0x4abefb=super[_0x2257d2(0x156)]();return _0x4abefb['onTransformSelections']=_0x2ec37d=>this[_0x2257d2(0x13d)][_0x2257d2(0x188)](_0x2ec37d),_0x4abefb;}async[_0x1f558c(0x2e9)](){var _0x5bc905=_0x1f558c;const _0x2792aa=await super[_0x5bc905(0x2e9)]();return this[_0x5bc905(0x2d6)](this[_0x5bc905(0x1d2)][_0x5bc905(0x1aa)]((_0x33cec7,_0x449e79)=>{var _0xe13ca3=_0x5bc905;if(_0x33cec7[_0xe13ca3(0x15f)]!==_0x2402fa[_0xe13ca3(0x173)]||_0x449e79!=null&&_0x449e79['fromCollab']||_0x449e79!=null&&_0x449e79[_0xe13ca3(0x231)])return;const _0x40eceb=_0x33cec7[_0xe13ca3(0x3b2)];if((_0x40eceb==null?void 0x0:_0x40eceb[_0xe13ca3(0x33e)])!==this[_0xe13ca3(0x3e0)])return;const _0x1e67e5=_0x33cec7,_0x211b23=this['_compressMutationService']['interceptor'][_0xe13ca3(0x269)](this[_0xe13ca3(0x352)][_0xe13ca3(0x226)][_0xe13ca3(0x30d)]()[_0xe13ca3(0x3f6)])([_0x1e67e5],null)||[_0x1e67e5];this['_onLocalMutation'](_0x211b23[0x0]);})),_0x2792aa;}};Tt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(it)),k(0x8,_0x5b2811(pe)),k(0x9,_0x574408),k(0xa,_0x456150),k(0xb,_0x5b9158),k(0xc,_0x40673b(ht)),k(0xd,_0x40673b(J))],Tt);var vr=Object[_0x1f558c(0x175)],pr=Object[_0x1f558c(0x330)],mr=(_0x84df73,_0x952367,_0x4c8f6f,_0x3207d1)=>{var _0x4f2278=_0x1f558c;for(var _0x2ac94d=_0x3207d1>0x1?void 0x0:_0x3207d1?pr(_0x952367,_0x4c8f6f):_0x952367,_0x58829c=_0x84df73[_0x4f2278(0x158)]-0x1,_0x47fa79;_0x58829c>=0x0;_0x58829c--)(_0x47fa79=_0x84df73[_0x58829c])&&(_0x2ac94d=(_0x3207d1?_0x47fa79(_0x952367,_0x4c8f6f,_0x2ac94d):_0x47fa79(_0x2ac94d))||_0x2ac94d);return _0x3207d1&&_0x2ac94d&&vr(_0x952367,_0x4c8f6f,_0x2ac94d),_0x2ac94d;},ft=(_0x1f5718,_0x498701)=>(_0x24fb77,_0x5967e2)=>_0x498701(_0x24fb77,_0x5967e2,_0x1f5718);let rt=class extends _0x1a5dd9{constructor(_0x51bca1,_0x4952a3,_0x4e9958){var _0xad0321=_0x1f558c;super(),N(this,'_entities',new Map()),N(this,_0xad0321(0x272),new _0x13d4cc()),N(this,_0xad0321(0x36d),this['_entityInit$']['asObservable']()),(this[_0xad0321(0x1b3)]=_0x51bca1,this[_0xad0321(0x18b)]=_0x4952a3,this[_0xad0321(0x435)]=_0x4e9958,this[_0xad0321(0x2e9)]());}['dispose'](){var _0x3d6bb5=_0x1f558c;super[_0x3d6bb5(0x227)](),this[_0x3d6bb5(0x169)]['forEach'](_0x51e0da=>_0x51e0da['dispose']()),this[_0x3d6bb5(0x169)][_0x3d6bb5(0x377)]();}[_0x1f558c(0x273)](_0x9b811d){var _0x57124b=_0x1f558c,_0x5f5846;return(_0x5f5846=this['_entities'][_0x57124b(0x1e3)](_0x9b811d))!=null?_0x5f5846:null;}[_0x1f558c(0x204)](_0x289c6c){var _0x3b0277=_0x1f558c;const _0x2fb78e=this[_0x3b0277(0x273)](_0x289c6c);return _0x2fb78e?_0xb786a0(_0x2fb78e):this[_0x3b0277(0x272)]['pipe'](_0x1bdf9d(_0x3e6ca4=>_0x3e6ca4[_0x3b0277(0x3e0)]===_0x289c6c));}[_0x1f558c(0x180)](_0x5a23b6){var _0x4d69d2=_0x1f558c;return _0x9545a1(this[_0x4d69d2(0x204)](_0x5a23b6)[_0x4d69d2(0x41e)](_0xeca816(()=>{})));}[_0x1f558c(0x2e9)](){var _0x28714f=_0x1f558c;this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x3d3)])[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]),_0x18b0fa(0x10))[_0x28714f(0x3a4)](async _0x38a638=>{var _0x3f5073=_0x28714f;const _0x23aeaf=_0x38a638[_0x3f5073(0x253)](),_0x36a16e=await this[_0x3f5073(0x24e)](_0x23aeaf,Q['UNIVER_SHEET']);this[_0x3f5073(0x169)]['set'](_0x23aeaf,_0x36a16e);}),this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x143)])[_0x28714f(0x41e)](_0x29925c(this['dispose$']),_0x18b0fa(0x10))[_0x28714f(0x41e)](_0x1bdf9d(_0x18712e=>!_0x18712e['getUnitId']()[_0x28714f(0x19d)]('__')))[_0x28714f(0x3a4)](async _0x55deed=>{var _0x29e118=_0x28714f;const _0x381310=_0x55deed[_0x29e118(0x253)](),_0x45b7c7=await this['_startCollaboration'](_0x381310,Q['UNIVER_DOC']);this[_0x29e118(0x169)]['set'](_0x381310,_0x45b7c7);}),_0x404c78(this['_univerInstanceService'][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x3d3)]),this[_0x28714f(0x435)][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x143)]))[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]))[_0x28714f(0x3a4)](_0x29a4ad=>{var _0x58a5dc=_0x28714f;const _0x55e6a1=_0x29a4ad[_0x58a5dc(0x253)](),_0x1ecdd9=this['_entities']['get'](_0x55e6a1);_0x1ecdd9&&(_0x1ecdd9['dispose'](),this['_entities'][_0x58a5dc(0x167)](_0x55e6a1));});}async[_0x1f558c(0x24e)](_0x179a8a,_0x3b6b37){var _0x37e265=_0x1f558c;const _0x2eb9eb=await this[_0x37e265(0x18b)][_0x37e265(0x1a7)](_0x179a8a),_0x2fd93a=this[_0x37e265(0x1b3)]['createInstance'](this['_getCtorByUniverType'](_0x3b6b37),_0x179a8a,_0x3b6b37,_0x2eb9eb);return await _0x2fd93a[_0x37e265(0x2e7)](),this[_0x37e265(0x272)][_0x37e265(0x140)](_0x2fd93a),_0x2fd93a;}[_0x1f558c(0x2b5)](_0x415df0){var _0x275f90=_0x1f558c;switch(_0x415df0){case Q['UNIVER_DOC']:return It;case Q[_0x275f90(0x3d3)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x415df0);}}};rt=mr([ft(0x0,_0x5b2811(_0x5b79bd)),ft(0x1,_0x5b2811(Le)),ft(0x2,_0x30c3be)],rt);var gr=Object[_0x1f558c(0x175)],Sr=Object[_0x1f558c(0x330)],Er=(_0x36c326,_0x2d70f5,_0x351261,_0x3493ae)=>{var _0x37fc76=_0x1f558c;for(var _0x484fbb=_0x3493ae>0x1?void 0x0:_0x3493ae?Sr(_0x2d70f5,_0x351261):_0x2d70f5,_0x2b5d61=_0x36c326[_0x37fc76(0x158)]-0x1,_0x381eef;_0x2b5d61>=0x0;_0x2b5d61--)(_0x381eef=_0x36c326[_0x2b5d61])&&(_0x484fbb=(_0x3493ae?_0x381eef(_0x2d70f5,_0x351261,_0x484fbb):_0x381eef(_0x484fbb))||_0x484fbb);return _0x3493ae&&_0x484fbb&&gr(_0x2d70f5,_0x351261,_0x484fbb),_0x484fbb;},zt=(_0x4e5edc,_0x47078d)=>(_0x3fa8f0,_0x3b7525)=>_0x47078d(_0x3fa8f0,_0x3b7525,_0x4e5edc);const Ir=_0x1f558c(0x13b),Tr=_0x1f558c(0x2c3);let Ct=class extends _0xc53c05{constructor(_0xcd24a3,_0x45b60e){var _0x1abde9=_0x1f558c;super(),this[_0x1abde9(0x435)]=_0xcd24a3,this[_0x1abde9(0x405)]=_0x45b60e,this['_init']();}[_0x1f558c(0x2e9)](){var _0x1c9b8a=_0x1f558c;this[_0x1c9b8a(0x2d6)](this[_0x1c9b8a(0x435)]['focused$']['subscribe'](()=>{var _0x4757fa=_0x1c9b8a,_0x16080d;const _0x529cb0=this[_0x4757fa(0x435)]['getFocusedUnit']();let _0x44ba1a=(_0x16080d=this['_configService'][_0x4757fa(0x2a0)](Ir))!=null?_0x16080d:Tr;_0x529cb0 instanceof _0x13ef59&&(_0x44ba1a=_0x529cb0[_0x4757fa(0x42a)]),document['title']=_0x44ba1a;}));}};Ct=Er([zt(0x0,_0x30c3be),zt(0x1,_0x4ea54a)],Ct);var Cr=Object[_0x1f558c(0x175)],br=Object['getOwnPropertyDescriptor'],Rr=(_0x16c3f2,_0x2d4a7e,_0x15fd13,_0x2a9bbd)=>{var _0xce15af=_0x1f558c;for(var _0x16101c=_0x2a9bbd>0x1?void 0x0:_0x2a9bbd?br(_0x2d4a7e,_0x15fd13):_0x2d4a7e,_0x2e8432=_0x16c3f2[_0xce15af(0x158)]-0x1,_0xb7514f;_0x2e8432>=0x0;_0x2e8432--)(_0xb7514f=_0x16c3f2[_0x2e8432])&&(_0x16101c=(_0x2a9bbd?_0xb7514f(_0x2d4a7e,_0x15fd13,_0x16101c):_0xb7514f(_0x16101c))||_0x16101c);return _0x2a9bbd&&_0x16101c&&Cr(_0x2d4a7e,_0x15fd13,_0x16101c),_0x16101c;},vt=(_0x5029c6,_0x58b86f)=>(_0x31eacd,_0xabf114)=>_0x58b86f(_0x31eacd,_0xabf114,_0x5029c6);let st=class{constructor(_0x35231a,_0x2eeb92,_0x35d7f7){var _0x4fd65c=_0x1f558c;this['_configService']=_0x35231a,this[_0x4fd65c(0x2d9)]=_0x2eeb92,this[_0x4fd65c(0x1cf)]=_0x35d7f7,this['init']();}[_0x1f558c(0x2e7)](){var _0x4a32f3=_0x1f558c;this[_0x4a32f3(0x2d9)][_0x4a32f3(0x251)]({'priority':0x1,'interceptor':(_0x550e13,_0x261358)=>_0x261358(_0x550e13)['pipe'](_0x574dc9(async _0x674ca7=>{var _0x31b526=_0x4a32f3;const _0x5b6847=_0x674ca7;if(_0x5b6847[_0x31b526(0x1c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x31b526(0x1cf)]['t'](_0x31b526(0x218)))){const _0x3891b6=window['encodeURIComponent'](window[_0x31b526(0x15a)]['href']);window['location'][_0x31b526(0x21b)]=this[_0x31b526(0x403)]()+_0x31b526(0x16c)+_0x3891b6;}}return _0x5b6847;}))});}['_getLoginPath'](){var _0x3625c1=_0x1f558c,_0x5de4d4,_0x4cfaec;const _0xfc9610=this[_0x3625c1(0x405)][_0x3625c1(0x2a0)](wn),_0x5216a1=this[_0x3625c1(0x405)]['getConfig'](q);return(_0x4cfaec=(_0x5de4d4=_0x5216a1==null?void 0x0:_0x5216a1['loginUrlKey'])!=null?_0x5de4d4:_0xfc9610)!=null?_0x4cfaec:Un;}};st=Rr([vt(0x0,_0x4ea54a),vt(0x1,_0x5b2811(_0x5b9922)),vt(0x2,_0x5b2811(_0x426c5e))],st);var Or=Object[_0x1f558c(0x175)],yr=Object[_0x1f558c(0x330)],Nr=(_0x1cbf48,_0x345d9d,_0x4a3006,_0x28e77c)=>{var _0x10e89e=_0x1f558c;for(var _0x53593d=_0x28e77c>0x1?void 0x0:_0x28e77c?yr(_0x345d9d,_0x4a3006):_0x345d9d,_0x1d4f2a=_0x1cbf48[_0x10e89e(0x158)]-0x1,_0x3b33ca;_0x1d4f2a>=0x0;_0x1d4f2a--)(_0x3b33ca=_0x1cbf48[_0x1d4f2a])&&(_0x53593d=(_0x28e77c?_0x3b33ca(_0x345d9d,_0x4a3006,_0x53593d):_0x3b33ca(_0x53593d))||_0x53593d);return _0x28e77c&&_0x53593d&&Or(_0x345d9d,_0x4a3006,_0x53593d),_0x53593d;},Jt=(_0x19d4e4,_0xe24d26)=>(_0x23ae2e,_0x5b3b1d)=>_0xe24d26(_0x23ae2e,_0x5b3b1d,_0x19d4e4);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0xc53c05{constructor(_0x3e1175,_0x57c1d6){var _0x58ef39=_0x1f558c;super(),this['_HTTPService']=_0x3e1175,this[_0x58ef39(0x405)]=_0x57c1d6,this['_initMergeInterceptor']();}[_0x1f558c(0x1a5)](){var _0x40f5f5=_0x1f558c;const _0x509e6d=this;this[_0x40f5f5(0x2d6)](this[_0x40f5f5(0x2d4)][_0x40f5f5(0x251)]({'priority':0x3e7,'interceptor':_0x324ea2({'isMatch'(_0x27d9ba){var _0x542953=_0x40f5f5,_0x58be83;if(_0x27d9ba['method']===_0x542953(0x2d1)&&((_0x58be83=_0x27d9ba[_0x542953(0x1ed)])!=null&&_0x58be83[_0x542953(0x2ac)])){const {objectID:_0x408330,objectType:_0x1340ff}=_0x27d9ba[_0x542953(0x1ed)]['body']||{};if(!_0x408330||_0x1340ff===void 0x0)return!0x1;const _0x5c41c4=_0x509e6d[_0x542953(0x1ce)]()+'/'+_0x1340ff+'/object/'+_0x408330+_0x542953(0x390);if(_0x27d9ba[_0x542953(0x3c6)]===_0x5c41c4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b2365){var _0x2553ff=_0x40f5f5,_0xd32f90;return(_0xd32f90=_0x3b2365['requestParams'])==null?void 0x0:_0xd32f90[_0x2553ff(0x2ac)];},'mergeParamsToRequest'(_0x3f2918,_0x5ed504){var _0x3c4978=_0x40f5f5;const _0x7a967f=_0x509e6d[_0x3c4978(0x1ce)]()+_0x3c4978(0x1db),_0x4be17b=_0x3f2918[_0x3c4978(0x376)]((_0x1442c4,_0x33bc66)=>{var _0x578a75=_0x3c4978;const {unitID:_0x346482,objectID:_0xc0e480,objectType:_0x518002,actions:_0x4fb10d}=_0x33bc66;return _0x1442c4[_0x346482]||(_0x1442c4[_0x346482]={}),_0x1442c4[_0x346482][_0xc0e480]||(_0x1442c4[_0x346482][_0xc0e480]={'objectID':_0xc0e480,'objectType':_0x518002,'actions':[]}),_0x1442c4[_0x346482][_0xc0e480]['actions'][_0x578a75(0x1eb)](..._0x4fb10d),_0x1442c4;},{}),_0xa312f6=[];for(const _0x7b73d7 in _0x4be17b)for(const _0x2a04a2 in _0x4be17b[_0x7b73d7]){const {actions:_0x598553,objectType:_0xb6bfe}=_0x4be17b[_0x7b73d7][_0x2a04a2],_0xa42063=[...new Set(_0x598553)];_0xa312f6[_0x3c4978(0x1eb)]({'unitID':_0x7b73d7,'objectID':_0x2a04a2,'objectType':_0xb6bfe,'actions':_0xa42063});}return new _0x4ba1c4('POST',_0x7a967f,{'headers':_0x5ed504['headers'],'withCredentials':_0x5ed504['withCredentials'],'responseType':_0x5ed504[_0x3c4978(0x1d5)],'body':{'requests':_0xa312f6}});}},{'distributeResult'(_0x4522c8,_0x177471){var _0x495e40=_0x40f5f5;const {objectActions:_0x6ad2a8}=_0x4522c8;return _0x177471[_0x495e40(0x3b0)](_0x3164e8=>{var _0x384165=_0x495e40;const {unitID:_0x3f8688,objectID:_0x19e8b3,actions:_0x282fd5}=_0x3164e8,_0xa2191=_0x6ad2a8[_0x384165(0x1c5)](_0x22944d=>_0x22944d['unitID']===_0x3f8688&&_0x22944d[_0x384165(0x3a9)]===_0x19e8b3),_0x337089=_0x282fd5[_0x384165(0x3b0)](_0x5396e0=>_0xa2191==null?void 0x0:_0xa2191[_0x384165(0x2f8)]['find'](_0x9497d9=>_0x9497d9[_0x384165(0x3e9)]===_0x5396e0))['filter'](_0x30fc4b=>!!_0x30fc4b);return{'config':_0x3164e8,'result':{'actions':_0x337089,'error':_0x4522c8['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x49ee45=_0x1f558c,_0x7292b9,_0x27d3aa;const _0x32c3b0=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](Ni),_0x8e9f15=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](q);return(_0x27d3aa=(_0x7292b9=_0x8e9f15==null?void 0x0:_0x8e9f15['authzUrl'])!=null?_0x7292b9:_0x32c3b0)!=null?_0x27d3aa:Dr;}async[_0x1f558c(0x17d)](_0x2b9e33){var _0x21b4fb=_0x1f558c;const _0x5c5572=this[_0x21b4fb(0x1ce)]()+'/'+_0x2b9e33[_0x21b4fb(0x19a)]+_0x21b4fb(0x3c3);return(await this[_0x21b4fb(0x2d4)]['post'](_0x5c5572,{'body':_0x2b9e33}))['body'][_0x21b4fb(0x3a9)]||'';}async[_0x1f558c(0x13a)](_0x1a77e1){var _0x33c2dc=_0x1f558c;const _0x1bbb92=this[_0x33c2dc(0x1ce)]()+_0x33c2dc(0x1a3);return(await this['_HTTPService'][_0x33c2dc(0x268)](_0x1bbb92,{'body':_0x1a77e1}))['body'][_0x33c2dc(0x2b9)];}async[_0x1f558c(0x1fc)](_0x1fc7d6){var _0x54d130=_0x1f558c;const _0x27fe56=this['_getAPIPrefixPath']()+'/'+_0x1fc7d6[_0x54d130(0x19a)]+_0x54d130(0x3da)+_0x1fc7d6['objectID'];await this['_HTTPService']['put'](_0x27fe56,{'body':_0x1fc7d6});}async[_0x1f558c(0x256)](_0xd5c1b9){var _0x1d132b=_0x1f558c;const _0x10c31a=this['_getAPIPrefixPath']()+'/'+_0xd5c1b9[_0x1d132b(0x19a)]+'/object/'+_0xd5c1b9['objectID']+'/allowed';return(await this[_0x1d132b(0x2d4)]['post'](_0x10c31a,{'body':_0xd5c1b9}))[_0x1d132b(0x2ac)][_0x1d132b(0x2f8)];}async[_0x1f558c(0x1e0)](_0x4ca765){var _0x24e5eb=_0x1f558c;const _0x9cbc3f=this[_0x24e5eb(0x1ce)]()+_0x24e5eb(0x1db);return(await this['_HTTPService'][_0x24e5eb(0x268)](_0x9cbc3f,{'body':{'requests':_0x4ca765}}))['body'][_0x24e5eb(0x1c3)];}async[_0x1f558c(0x411)](_0x2d69bd){var _0x4a7a1a=_0x1f558c;const _0x5cbaca=this[_0x4a7a1a(0x1ce)]()+'/'+_0x2d69bd[_0x4a7a1a(0x19a)]+_0x4a7a1a(0x18a),_0x20f275=await this[_0x4a7a1a(0x2d4)][_0x4a7a1a(0x268)](_0x5cbaca,{'body':_0x2d69bd});return{'roles':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x1e8)],'actions':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x2f8)]};}async[_0x1f558c(0x40f)](_0x702d6c){var _0x4fe3ad=_0x1f558c;const _0x3d7273=this['_getAPIPrefixPath']()+_0x4fe3ad(0x32a);await this[_0x4fe3ad(0x2d4)]['delete'](_0x3d7273,{'params':{'collaboratorID':_0x702d6c[_0x4fe3ad(0x166)],'objectID':_0x702d6c[_0x4fe3ad(0x3a9)],'unitID':_0x702d6c[_0x4fe3ad(0x3e0)]}});}async[_0x1f558c(0x3a1)](_0x9ff1a4){var _0x1c5fb3=_0x1f558c;const _0x2e81c3=this[_0x1c5fb3(0x1ce)]()+_0x1c5fb3(0x32a);await this[_0x1c5fb3(0x2d4)][_0x1c5fb3(0x326)](_0x2e81c3,{'body':_0x9ff1a4});}async[_0x1f558c(0x2f1)](_0x579f3a){var _0x21add4=_0x1f558c;const _0x5b890d=this[_0x21add4(0x1ce)]()+_0x21add4(0x32a);await this[_0x21add4(0x2d4)]['post'](_0x5b890d,{'body':_0x579f3a});}async['listCollaborators'](_0x3c600b){var _0x2720f2=_0x1f558c;const _0x3ad0bf=this[_0x2720f2(0x1ce)]()+_0x2720f2(0x32a);return(await this['_HTTPService'][_0x2720f2(0x1e3)](_0x3ad0bf,{'params':{'objectID':_0x3c600b[_0x2720f2(0x3a9)],'unitID':_0x3c600b[_0x2720f2(0x3e0)]}}))[_0x2720f2(0x2ac)][_0x2720f2(0x181)];}async[_0x1f558c(0x162)](_0x3ecf79){var _0x7f9ab9=_0x1f558c;const _0x4d5516=this['_getAPIPrefixPath']()+_0x7f9ab9(0x32a);await this[_0x7f9ab9(0x2d4)][_0x7f9ab9(0x154)](_0x4d5516,{'body':_0x3ecf79});}};bt=Nr([Jt(0x0,_0x5b2811(_0x5b9922)),Jt(0x1,_0x5b2811(_0x4ea54a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2c5a98){var _0x4b9bbf=_0x1f558c;return _0x2c5a98&&_0x2c5a98[_0x4b9bbf(0x1f6)]&&Object[_0x4b9bbf(0x36a)][_0x4b9bbf(0x1fb)]['call'](_0x2c5a98,_0x4b9bbf(0x20a))?_0x2c5a98[_0x4b9bbf(0x20a)]:_0x2c5a98;}var Ge={'exports':{}};function Pr(_0x1bb6e1){var _0x5a5a31=_0x1f558c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1bb6e1+_0x5a5a31(0x259));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x386154,_0x1efd7e){(function(_0x7735ee,_0x5cfd20){var _0x5af178=_0x4725;_0x386154[_0x5af178(0x24b)]=_0x5cfd20();}(wr,function(){var _0x199ca3=_0x199ca3||function(_0x9b3f8,_0x11961c){var _0xd5443d=_0x4725,_0x1fcd98;if(typeof window<'u'&&window['crypto']&&(_0x1fcd98=window[_0xd5443d(0x3f0)]),typeof self<'u'&&self['crypto']&&(_0x1fcd98=self[_0xd5443d(0x3f0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1fcd98=globalThis[_0xd5443d(0x3f0)]),!_0x1fcd98&&typeof window<'u'&&window[_0xd5443d(0x2d3)]&&(_0x1fcd98=window[_0xd5443d(0x2d3)]),!_0x1fcd98&&typeof pt<'u'&&pt[_0xd5443d(0x3f0)]&&(_0x1fcd98=pt['crypto']),!_0x1fcd98&&typeof Pr==_0xd5443d(0x1dd))try{_0x1fcd98=require(_0xd5443d(0x3f0));}catch{}var _0x401748=function(){var _0x326496=_0xd5443d;if(_0x1fcd98){if(typeof _0x1fcd98[_0x326496(0x3ac)]==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x3ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fcd98['randomBytes']==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x195)](0x4)[_0x326496(0x400)]();}catch{}}throw new Error(_0x326496(0x3c9));},_0x550fc2=Object['create']||(function(){function _0x33b4f3(){}return function(_0x1879a9){var _0x4d1c28;return _0x33b4f3['prototype']=_0x1879a9,_0x4d1c28=new _0x33b4f3(),_0x33b4f3['prototype']=null,_0x4d1c28;};}()),_0x4b649e={},_0x178801=_0x4b649e[_0xd5443d(0x244)]={},_0x178658=_0x178801['Base']=(function(){return{'extend':function(_0x224c78){var _0x30a390=_0x4725,_0x4508ff=_0x550fc2(this);return _0x224c78&&_0x4508ff[_0x30a390(0x3cc)](_0x224c78),(!_0x4508ff[_0x30a390(0x1fb)]('init')||this['init']===_0x4508ff['init'])&&(_0x4508ff[_0x30a390(0x2e7)]=function(){var _0x545ac3=_0x30a390;_0x4508ff[_0x545ac3(0x3d0)][_0x545ac3(0x2e7)][_0x545ac3(0x1fa)](this,arguments);}),_0x4508ff[_0x30a390(0x2e7)][_0x30a390(0x36a)]=_0x4508ff,_0x4508ff[_0x30a390(0x3d0)]=this,_0x4508ff;},'create':function(){var _0x4441df=_0x4725,_0x39fbb9=this['extend']();return _0x39fbb9['init'][_0x4441df(0x1fa)](_0x39fbb9,arguments),_0x39fbb9;},'init':function(){},'mixIn':function(_0x5a114f){var _0xdf588a=_0x4725;for(var _0x1e52f2 in _0x5a114f)_0x5a114f[_0xdf588a(0x1fb)](_0x1e52f2)&&(this[_0x1e52f2]=_0x5a114f[_0x1e52f2]);_0x5a114f[_0xdf588a(0x1fb)](_0xdf588a(0x28c))&&(this[_0xdf588a(0x28c)]=_0x5a114f[_0xdf588a(0x28c)]);},'clone':function(){var _0x1c48fa=_0x4725;return this[_0x1c48fa(0x2e7)][_0x1c48fa(0x36a)][_0x1c48fa(0x22f)](this);}};}()),_0x11b207=_0x178801[_0xd5443d(0x3f3)]=_0x178658['extend']({'init':function(_0x3f9b1f,_0x2168ca){var _0x5b85c1=_0xd5443d;_0x3f9b1f=this[_0x5b85c1(0x287)]=_0x3f9b1f||[],_0x2168ca!=_0x11961c?this[_0x5b85c1(0x1bf)]=_0x2168ca:this[_0x5b85c1(0x1bf)]=_0x3f9b1f[_0x5b85c1(0x158)]*0x4;},'toString':function(_0x29e3a6){var _0x792981=_0xd5443d;return(_0x29e3a6||_0x56255b)[_0x792981(0x283)](this);},'concat':function(_0x21eac8){var _0x41ac1d=_0xd5443d,_0x1d6f99=this['words'],_0x39a771=_0x21eac8['words'],_0x5d7867=this[_0x41ac1d(0x1bf)],_0x4d2869=_0x21eac8['sigBytes'];if(this[_0x41ac1d(0x1df)](),_0x5d7867%0x4)for(var _0x1b747e=0x0;_0x1b747e<_0x4d2869;_0x1b747e++){var _0x26362f=_0x39a771[_0x1b747e>>>0x2]>>>0x18-_0x1b747e%0x4*0x8&0xff;_0x1d6f99[_0x5d7867+_0x1b747e>>>0x2]|=_0x26362f<<0x18-(_0x5d7867+_0x1b747e)%0x4*0x8;}else{for(var _0x503025=0x0;_0x503025<_0x4d2869;_0x503025+=0x4)_0x1d6f99[_0x5d7867+_0x503025>>>0x2]=_0x39a771[_0x503025>>>0x2];}return this[_0x41ac1d(0x1bf)]+=_0x4d2869,this;},'clamp':function(){var _0x6a5cb5=_0xd5443d,_0x4e2383=this[_0x6a5cb5(0x287)],_0x111254=this[_0x6a5cb5(0x1bf)];_0x4e2383[_0x111254>>>0x2]&=0xffffffff<<0x20-_0x111254%0x4*0x8,_0x4e2383[_0x6a5cb5(0x158)]=_0x9b3f8[_0x6a5cb5(0x35b)](_0x111254/0x4);},'clone':function(){var _0x18faef=_0xd5443d,_0x48b758=_0x178658[_0x18faef(0x395)][_0x18faef(0x178)](this);return _0x48b758['words']=this['words']['slice'](0x0),_0x48b758;},'random':function(_0x367664){var _0x4ba093=_0xd5443d;for(var _0x23ce07=[],_0xe216fc=0x0;_0xe216fc<_0x367664;_0xe216fc+=0x4)_0x23ce07[_0x4ba093(0x1eb)](_0x401748());return new _0x11b207[(_0x4ba093(0x2e7))](_0x23ce07,_0x367664);}}),_0x34dbda=_0x4b649e[_0xd5443d(0x349)]={},_0x56255b=_0x34dbda['Hex']={'stringify':function(_0x591005){var _0x28f065=_0xd5443d;for(var _0x1fc758=_0x591005[_0x28f065(0x287)],_0x37915a=_0x591005[_0x28f065(0x1bf)],_0x4e4b73=[],_0x3eff98=0x0;_0x3eff98<_0x37915a;_0x3eff98++){var _0x21a49c=_0x1fc758[_0x3eff98>>>0x2]>>>0x18-_0x3eff98%0x4*0x8&0xff;_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c>>>0x4)[_0x28f065(0x28c)](0x10)),_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c&0xf)['toString'](0x10));}return _0x4e4b73[_0x28f065(0x1be)]('');},'parse':function(_0x39a9ad){var _0x34c90f=_0xd5443d;for(var _0x21ac4a=_0x39a9ad[_0x34c90f(0x158)],_0x4c115d=[],_0x1d7eaf=0x0;_0x1d7eaf<_0x21ac4a;_0x1d7eaf+=0x2)_0x4c115d[_0x1d7eaf>>>0x3]|=parseInt(_0x39a9ad[_0x34c90f(0x217)](_0x1d7eaf,0x2),0x10)<<0x18-_0x1d7eaf%0x8*0x4;return new _0x11b207[(_0x34c90f(0x2e7))](_0x4c115d,_0x21ac4a/0x2);}},_0x2c8a9f=_0x34dbda['Latin1']={'stringify':function(_0x11534a){var _0x29a41c=_0xd5443d;for(var _0x19d2da=_0x11534a[_0x29a41c(0x287)],_0xdb4870=_0x11534a[_0x29a41c(0x1bf)],_0x33bebc=[],_0xbb115e=0x0;_0xbb115e<_0xdb4870;_0xbb115e++){var _0x25f710=_0x19d2da[_0xbb115e>>>0x2]>>>0x18-_0xbb115e%0x4*0x8&0xff;_0x33bebc[_0x29a41c(0x1eb)](String[_0x29a41c(0x37f)](_0x25f710));}return _0x33bebc[_0x29a41c(0x1be)]('');},'parse':function(_0x40f157){var _0x41ac8a=_0xd5443d;for(var _0x527c98=_0x40f157['length'],_0x4e8dd8=[],_0x36f6c5=0x0;_0x36f6c5<_0x527c98;_0x36f6c5++)_0x4e8dd8[_0x36f6c5>>>0x2]|=(_0x40f157[_0x41ac8a(0x406)](_0x36f6c5)&0xff)<<0x18-_0x36f6c5%0x4*0x8;return new _0x11b207[(_0x41ac8a(0x2e7))](_0x4e8dd8,_0x527c98);}},_0x4d89a8=_0x34dbda[_0xd5443d(0x39c)]={'stringify':function(_0x310b01){var _0x37ca7f=_0xd5443d;try{return decodeURIComponent(escape(_0x2c8a9f[_0x37ca7f(0x283)](_0x310b01)));}catch{throw new Error(_0x37ca7f(0x31a));}},'parse':function(_0x5486aa){return _0x2c8a9f['parse'](unescape(encodeURIComponent(_0x5486aa)));}},_0x52116d=_0x178801[_0xd5443d(0x3e2)]=_0x178658[_0xd5443d(0x22f)]({'reset':function(){var _0x4dabbd=_0xd5443d;this['_data']=new _0x11b207[(_0x4dabbd(0x2e7))](),this[_0x4dabbd(0x2ba)]=0x0;},'_append':function(_0x197b68){var _0x36395c=_0xd5443d;typeof _0x197b68=='string'&&(_0x197b68=_0x4d89a8[_0x36395c(0x234)](_0x197b68)),this[_0x36395c(0x2ca)][_0x36395c(0x147)](_0x197b68),this[_0x36395c(0x2ba)]+=_0x197b68['sigBytes'];},'_process':function(_0x3e568c){var _0x26df41=_0xd5443d,_0x181577,_0x46c75b=this['_data'],_0x4718d4=_0x46c75b[_0x26df41(0x287)],_0x78f0df=_0x46c75b[_0x26df41(0x1bf)],_0x59184c=this[_0x26df41(0x3b6)],_0x2bbd39=_0x59184c*0x4,_0x4c0f63=_0x78f0df/_0x2bbd39;_0x3e568c?_0x4c0f63=_0x9b3f8[_0x26df41(0x35b)](_0x4c0f63):_0x4c0f63=_0x9b3f8[_0x26df41(0x3de)]((_0x4c0f63|0x0)-this[_0x26df41(0x2fb)],0x0);var _0x376057=_0x4c0f63*_0x59184c,_0xd89c26=_0x9b3f8[_0x26df41(0x420)](_0x376057*0x4,_0x78f0df);if(_0x376057){for(var _0xfb7c72=0x0;_0xfb7c72<_0x376057;_0xfb7c72+=_0x59184c)this[_0x26df41(0x33a)](_0x4718d4,_0xfb7c72);_0x181577=_0x4718d4[_0x26df41(0x252)](0x0,_0x376057),_0x46c75b['sigBytes']-=_0xd89c26;}return new _0x11b207[(_0x26df41(0x2e7))](_0x181577,_0xd89c26);},'clone':function(){var _0x27d281=_0xd5443d,_0x304030=_0x178658['clone'][_0x27d281(0x178)](this);return _0x304030[_0x27d281(0x2ca)]=this['_data']['clone'](),_0x304030;},'_minBufferSize':0x0});_0x178801[_0xd5443d(0x1c6)]=_0x52116d[_0xd5443d(0x22f)]({'cfg':_0x178658['extend'](),'init':function(_0x1f02cf){var _0x1e9eff=_0xd5443d;this[_0x1e9eff(0x236)]=this['cfg'][_0x1e9eff(0x22f)](_0x1f02cf),this['reset']();},'reset':function(){var _0x325479=_0xd5443d;_0x52116d[_0x325479(0x43a)]['call'](this),this[_0x325479(0x3c0)]();},'update':function(_0x508950){var _0x2ff3dc=_0xd5443d;return this[_0x2ff3dc(0x203)](_0x508950),this[_0x2ff3dc(0x2dc)](),this;},'finalize':function(_0x5b090b){var _0x69ea75=_0xd5443d;_0x5b090b&&this[_0x69ea75(0x203)](_0x5b090b);var _0x25204c=this[_0x69ea75(0x30e)]();return _0x25204c;},'blockSize':0x10,'_createHelper':function(_0xcfe9c8){return function(_0x2df44a,_0x276913){var _0x406a3b=_0x4725;return new _0xcfe9c8[(_0x406a3b(0x2e7))](_0x276913)[_0x406a3b(0x327)](_0x2df44a);};},'_createHmacHelper':function(_0x307f98){return function(_0x194840,_0x3924a2){var _0x5bd76c=_0x4725;return new _0x4ec396[(_0x5bd76c(0x322))]['init'](_0x307f98,_0x3924a2)[_0x5bd76c(0x327)](_0x194840);};}});var _0x4ec396=_0x4b649e[_0xd5443d(0x135)]={};return _0x4b649e;}(Math);return _0x199ca3;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x1f558c(0x24b)],Zt;function Di(){var _0x2006f8=_0x1f558c;return Zt||(Zt=0x1,function(_0x2f8b80,_0x1fc25e){(function(_0x581189,_0x10400c){var _0x1d4961=_0x4725;_0x2f8b80[_0x1d4961(0x24b)]=_0x10400c(ie());}(Ur,function(_0x49d68d){var _0x55a5a7=_0x4725;return(function(){var _0x39b325=_0x4725,_0x2d0101=_0x49d68d,_0x16225e=_0x2d0101[_0x39b325(0x244)],_0x5eae84=_0x16225e[_0x39b325(0x3f3)],_0x1d9feb=_0x2d0101[_0x39b325(0x349)];_0x1d9feb['Base64']={'stringify':function(_0x1a9c50){var _0x284bec=_0x39b325,_0xba8b4b=_0x1a9c50[_0x284bec(0x287)],_0x4e08e8=_0x1a9c50[_0x284bec(0x1bf)],_0x4e5760=this[_0x284bec(0x2a3)];_0x1a9c50[_0x284bec(0x1df)]();for(var _0x127d43=[],_0x3eb063=0x0;_0x3eb063<_0x4e08e8;_0x3eb063+=0x3)for(var _0x1dfdf9=_0xba8b4b[_0x3eb063>>>0x2]>>>0x18-_0x3eb063%0x4*0x8&0xff,_0x1621d6=_0xba8b4b[_0x3eb063+0x1>>>0x2]>>>0x18-(_0x3eb063+0x1)%0x4*0x8&0xff,_0x4a7ec3=_0xba8b4b[_0x3eb063+0x2>>>0x2]>>>0x18-(_0x3eb063+0x2)%0x4*0x8&0xff,_0x5c81cc=_0x1dfdf9<<0x10|_0x1621d6<<0x8|_0x4a7ec3,_0x5ed90a=0x0;_0x5ed90a<0x4&&_0x3eb063+_0x5ed90a*0.75<_0x4e08e8;_0x5ed90a++)_0x127d43[_0x284bec(0x1eb)](_0x4e5760['charAt'](_0x5c81cc>>>0x6*(0x3-_0x5ed90a)&0x3f));var _0x2ed03a=_0x4e5760[_0x284bec(0x23e)](0x40);if(_0x2ed03a){for(;_0x127d43[_0x284bec(0x158)]%0x4;)_0x127d43[_0x284bec(0x1eb)](_0x2ed03a);}return _0x127d43[_0x284bec(0x1be)]('');},'parse':function(_0x4f3c8f){var _0x11cde2=_0x39b325,_0x1a6e64=_0x4f3c8f[_0x11cde2(0x158)],_0x3f2deb=this['_map'],_0x14375b=this[_0x11cde2(0x15c)];if(!_0x14375b){_0x14375b=this['_reverseMap']=[];for(var _0xdf6c7e=0x0;_0xdf6c7e<_0x3f2deb['length'];_0xdf6c7e++)_0x14375b[_0x3f2deb[_0x11cde2(0x406)](_0xdf6c7e)]=_0xdf6c7e;}var _0x491d4e=_0x3f2deb[_0x11cde2(0x23e)](0x40);if(_0x491d4e){var _0x20be19=_0x4f3c8f[_0x11cde2(0x431)](_0x491d4e);_0x20be19!==-0x1&&(_0x1a6e64=_0x20be19);}return _0x58bd0e(_0x4f3c8f,_0x1a6e64,_0x14375b);},'_map':_0x39b325(0x28e)};function _0x58bd0e(_0xb32d85,_0x2ae40f,_0x2ad3fa){var _0x48aba3=_0x39b325;for(var _0x552882=[],_0x56c44c=0x0,_0x4f149c=0x0;_0x4f149c<_0x2ae40f;_0x4f149c++)if(_0x4f149c%0x4){var _0x1691e6=_0x2ad3fa[_0xb32d85[_0x48aba3(0x406)](_0x4f149c-0x1)]<<_0x4f149c%0x4*0x2,_0xd02c0a=_0x2ad3fa[_0xb32d85['charCodeAt'](_0x4f149c)]>>>0x6-_0x4f149c%0x4*0x2,_0x2447bf=_0x1691e6|_0xd02c0a;_0x552882[_0x56c44c>>>0x2]|=_0x2447bf<<0x18-_0x56c44c%0x4*0x8,_0x56c44c++;}return _0x5eae84[_0x48aba3(0x17d)](_0x552882,_0x56c44c);}}()),_0x49d68d[_0x55a5a7(0x349)][_0x55a5a7(0x235)];}));}(We)),We[_0x2006f8(0x24b)];}var Ke={'exports':{}},Ar=Ke[_0x1f558c(0x24b)],Qt;function xr(){var _0x5e706f=_0x1f558c;return Qt||(Qt=0x1,function(_0xb7e99c,_0x5a1f41){(function(_0x38c4b7,_0x58c539){var _0x19be49=_0x4725;_0xb7e99c[_0x19be49(0x24b)]=_0x58c539(ie());}(Ar,function(_0x26c65b){var _0x40ea53=_0x4725;return function(_0x34044d){var _0x2b4789=_0x4725,_0x34e599=_0x26c65b,_0x4b9df0=_0x34e599[_0x2b4789(0x244)],_0x7746c3=_0x4b9df0[_0x2b4789(0x3f3)],_0xf6109a=_0x4b9df0[_0x2b4789(0x1c6)],_0x21fbb1=_0x34e599['algo'],_0x66806c=[];(function(){var _0x30e822=_0x2b4789;for(var _0x40cec8=0x0;_0x40cec8<0x40;_0x40cec8++)_0x66806c[_0x40cec8]=_0x34044d[_0x30e822(0x2c2)](_0x34044d['sin'](_0x40cec8+0x1))*0x100000000|0x0;}());var _0x1267cc=_0x21fbb1[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x22f)]({'_doReset':function(){var _0xc47b44=_0x2b4789;this['_hash']=new _0x7746c3[(_0xc47b44(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x77f11d,_0x38fb01){var _0x210da5=_0x2b4789;for(var _0x57c6af=0x0;_0x57c6af<0x10;_0x57c6af++){var _0x2c5314=_0x38fb01+_0x57c6af,_0x5d48c6=_0x77f11d[_0x2c5314];_0x77f11d[_0x2c5314]=(_0x5d48c6<<0x8|_0x5d48c6>>>0x18)&0xff00ff|(_0x5d48c6<<0x18|_0x5d48c6>>>0x8)&0xff00ff00;}var _0x3bb696=this['_hash'][_0x210da5(0x287)],_0x21dea3=_0x77f11d[_0x38fb01+0x0],_0x5bb799=_0x77f11d[_0x38fb01+0x1],_0x2fd8be=_0x77f11d[_0x38fb01+0x2],_0x4d5063=_0x77f11d[_0x38fb01+0x3],_0x47fa74=_0x77f11d[_0x38fb01+0x4],_0x500a33=_0x77f11d[_0x38fb01+0x5],_0x4ac336=_0x77f11d[_0x38fb01+0x6],_0x149fe7=_0x77f11d[_0x38fb01+0x7],_0x1b3b85=_0x77f11d[_0x38fb01+0x8],_0xb64e7=_0x77f11d[_0x38fb01+0x9],_0x3a5517=_0x77f11d[_0x38fb01+0xa],_0x2d5815=_0x77f11d[_0x38fb01+0xb],_0xa11665=_0x77f11d[_0x38fb01+0xc],_0x489fcf=_0x77f11d[_0x38fb01+0xd],_0x5581d7=_0x77f11d[_0x38fb01+0xe],_0x325286=_0x77f11d[_0x38fb01+0xf],_0x8666f1=_0x3bb696[0x0],_0x4e06fd=_0x3bb696[0x1],_0x2f2443=_0x3bb696[0x2],_0xcb00bb=_0x3bb696[0x3];_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x7,_0x66806c[0x0]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5bb799,0xc,_0x66806c[0x1]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0x11,_0x66806c[0x2]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4d5063,0x16,_0x66806c[0x3]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x7,_0x66806c[0x4]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x500a33,0xc,_0x66806c[0x5]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0x11,_0x66806c[0x6]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x149fe7,0x16,_0x66806c[0x7]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x7,_0x66806c[0x8]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xb64e7,0xc,_0x66806c[0x9]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0x11,_0x66806c[0xa]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2d5815,0x16,_0x66806c[0xb]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x7,_0x66806c[0xc]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x489fcf,0xc,_0x66806c[0xd]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0x11,_0x66806c[0xe]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x325286,0x16,_0x66806c[0xf]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x5,_0x66806c[0x10]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4ac336,0x9,_0x66806c[0x11]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0xe,_0x66806c[0x12]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x21dea3,0x14,_0x66806c[0x13]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x5,_0x66806c[0x14]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x3a5517,0x9,_0x66806c[0x15]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0xe,_0x66806c[0x16]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x47fa74,0x14,_0x66806c[0x17]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x5,_0x66806c[0x18]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5581d7,0x9,_0x66806c[0x19]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0xe,_0x66806c[0x1a]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x1b3b85,0x14,_0x66806c[0x1b]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x5,_0x66806c[0x1c]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2fd8be,0x9,_0x66806c[0x1d]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0xe,_0x66806c[0x1e]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xa11665,0x14,_0x66806c[0x1f]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x4,_0x66806c[0x20]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x1b3b85,0xb,_0x66806c[0x21]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0x10,_0x66806c[0x22]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5581d7,0x17,_0x66806c[0x23]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x4,_0x66806c[0x24]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x47fa74,0xb,_0x66806c[0x25]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0x10,_0x66806c[0x26]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x3a5517,0x17,_0x66806c[0x27]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x4,_0x66806c[0x28]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x21dea3,0xb,_0x66806c[0x29]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0x10,_0x66806c[0x2a]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4ac336,0x17,_0x66806c[0x2b]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x4,_0x66806c[0x2c]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xa11665,0xb,_0x66806c[0x2d]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0x10,_0x66806c[0x2e]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2fd8be,0x17,_0x66806c[0x2f]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x6,_0x66806c[0x30]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x149fe7,0xa,_0x66806c[0x31]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0xf,_0x66806c[0x32]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x500a33,0x15,_0x66806c[0x33]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x6,_0x66806c[0x34]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4d5063,0xa,_0x66806c[0x35]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0xf,_0x66806c[0x36]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5bb799,0x15,_0x66806c[0x37]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x6,_0x66806c[0x38]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x325286,0xa,_0x66806c[0x39]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0xf,_0x66806c[0x3a]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x489fcf,0x15,_0x66806c[0x3b]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x6,_0x66806c[0x3c]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2d5815,0xa,_0x66806c[0x3d]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0xf,_0x66806c[0x3e]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xb64e7,0x15,_0x66806c[0x3f]),_0x3bb696[0x0]=_0x3bb696[0x0]+_0x8666f1|0x0,_0x3bb696[0x1]=_0x3bb696[0x1]+_0x4e06fd|0x0,_0x3bb696[0x2]=_0x3bb696[0x2]+_0x2f2443|0x0,_0x3bb696[0x3]=_0x3bb696[0x3]+_0xcb00bb|0x0;},'_doFinalize':function(){var _0x2f84c8=_0x2b4789,_0x5d68e8=this[_0x2f84c8(0x2ca)],_0x11d792=_0x5d68e8['words'],_0x26cc3d=this['_nDataBytes']*0x8,_0x527695=_0x5d68e8[_0x2f84c8(0x1bf)]*0x8;_0x11d792[_0x527695>>>0x5]|=0x80<<0x18-_0x527695%0x20;var _0x162c3e=_0x34044d['floor'](_0x26cc3d/0x100000000),_0x2cc930=_0x26cc3d;_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xf]=(_0x162c3e<<0x8|_0x162c3e>>>0x18)&0xff00ff|(_0x162c3e<<0x18|_0x162c3e>>>0x8)&0xff00ff00,_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xe]=(_0x2cc930<<0x8|_0x2cc930>>>0x18)&0xff00ff|(_0x2cc930<<0x18|_0x2cc930>>>0x8)&0xff00ff00,_0x5d68e8[_0x2f84c8(0x1bf)]=(_0x11d792[_0x2f84c8(0x158)]+0x1)*0x4,this[_0x2f84c8(0x2dc)]();for(var _0x5d7e38=this['_hash'],_0x5c6eec=_0x5d7e38[_0x2f84c8(0x287)],_0xd81d92=0x0;_0xd81d92<0x4;_0xd81d92++){var _0x82575=_0x5c6eec[_0xd81d92];_0x5c6eec[_0xd81d92]=(_0x82575<<0x8|_0x82575>>>0x18)&0xff00ff|(_0x82575<<0x18|_0x82575>>>0x8)&0xff00ff00;}return _0x5d7e38;},'clone':function(){var _0x561c05=_0x2b4789,_0x36ee23=_0xf6109a[_0x561c05(0x395)]['call'](this);return _0x36ee23[_0x561c05(0x276)]=this[_0x561c05(0x276)][_0x561c05(0x395)](),_0x36ee23;}});function _0x3d666c(_0x381b11,_0x5f5624,_0x1356a3,_0x1cf1ec,_0x3c55aa,_0x411ca3,_0x5451ab){var _0x52d927=_0x381b11+(_0x5f5624&_0x1356a3|~_0x5f5624&_0x1cf1ec)+_0x3c55aa+_0x5451ab;return(_0x52d927<<_0x411ca3|_0x52d927>>>0x20-_0x411ca3)+_0x5f5624;}function _0x2fcf24(_0xd829b8,_0x54df79,_0x351db3,_0x41bc24,_0x50408c,_0x2e46b7,_0x54a61e){var _0x38ab29=_0xd829b8+(_0x54df79&_0x41bc24|_0x351db3&~_0x41bc24)+_0x50408c+_0x54a61e;return(_0x38ab29<<_0x2e46b7|_0x38ab29>>>0x20-_0x2e46b7)+_0x54df79;}function _0x59d49b(_0x368f3d,_0x1068a6,_0x11d669,_0x8ca0f,_0x15dd9d,_0x640d6c,_0x386df5){var _0x330b66=_0x368f3d+(_0x1068a6^_0x11d669^_0x8ca0f)+_0x15dd9d+_0x386df5;return(_0x330b66<<_0x640d6c|_0x330b66>>>0x20-_0x640d6c)+_0x1068a6;}function _0x455b83(_0x188c09,_0x304b49,_0x5d29a1,_0x4736f0,_0x44c367,_0x4a9f81,_0x280328){var _0x792a5=_0x188c09+(_0x5d29a1^(_0x304b49|~_0x4736f0))+_0x44c367+_0x280328;return(_0x792a5<<_0x4a9f81|_0x792a5>>>0x20-_0x4a9f81)+_0x304b49;}_0x34e599[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x36e)](_0x1267cc),_0x34e599[_0x2b4789(0x1e9)]=_0xf6109a[_0x2b4789(0x296)](_0x1267cc);}(Math),_0x26c65b[_0x40ea53(0x416)];}));}(Ke)),Ke[_0x5e706f(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x1f558c(0x24b)],ei;function Mr(){var _0xc6b48=_0x1f558c;return ei||(ei=0x1,function(_0x4c8e19,_0xf0135d){(function(_0x3face4,_0x3d49b0){var _0x1795f6=_0x4725;_0x4c8e19[_0x1795f6(0x24b)]=_0x3d49b0(ie());}(Lr,function(_0x28db15){var _0x47f2b2=_0x4725;return(function(){var _0x33d6d4=_0x4725,_0x1dbc39=_0x28db15,_0x3ae3c2=_0x1dbc39[_0x33d6d4(0x244)],_0x12b31b=_0x3ae3c2[_0x33d6d4(0x3f3)],_0xf1e8b2=_0x3ae3c2[_0x33d6d4(0x1c6)],_0x73bc9e=_0x1dbc39['algo'],_0x4c8162=[],_0x488e7d=_0x73bc9e[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x22f)]({'_doReset':function(){var _0x5781f3=_0x33d6d4;this['_hash']=new _0x12b31b[(_0x5781f3(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fa6e9,_0x46308b){var _0x368ae9=_0x33d6d4;for(var _0x4ae3bb=this[_0x368ae9(0x276)][_0x368ae9(0x287)],_0x188a17=_0x4ae3bb[0x0],_0x312baa=_0x4ae3bb[0x1],_0x30bf76=_0x4ae3bb[0x2],_0x3e8a26=_0x4ae3bb[0x3],_0x5d468e=_0x4ae3bb[0x4],_0x3ce10a=0x0;_0x3ce10a<0x50;_0x3ce10a++){if(_0x3ce10a<0x10)_0x4c8162[_0x3ce10a]=_0x3fa6e9[_0x46308b+_0x3ce10a]|0x0;else{var _0x3a1184=_0x4c8162[_0x3ce10a-0x3]^_0x4c8162[_0x3ce10a-0x8]^_0x4c8162[_0x3ce10a-0xe]^_0x4c8162[_0x3ce10a-0x10];_0x4c8162[_0x3ce10a]=_0x3a1184<<0x1|_0x3a1184>>>0x1f;}var _0xd8c0a1=(_0x188a17<<0x5|_0x188a17>>>0x1b)+_0x5d468e+_0x4c8162[_0x3ce10a];_0x3ce10a<0x14?_0xd8c0a1+=(_0x312baa&_0x30bf76|~_0x312baa&_0x3e8a26)+0x5a827999:_0x3ce10a<0x28?_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)+0x6ed9eba1:_0x3ce10a<0x3c?_0xd8c0a1+=(_0x312baa&_0x30bf76|_0x312baa&_0x3e8a26|_0x30bf76&_0x3e8a26)-0x70e44324:_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)-0x359d3e2a,_0x5d468e=_0x3e8a26,_0x3e8a26=_0x30bf76,_0x30bf76=_0x312baa<<0x1e|_0x312baa>>>0x2,_0x312baa=_0x188a17,_0x188a17=_0xd8c0a1;}_0x4ae3bb[0x0]=_0x4ae3bb[0x0]+_0x188a17|0x0,_0x4ae3bb[0x1]=_0x4ae3bb[0x1]+_0x312baa|0x0,_0x4ae3bb[0x2]=_0x4ae3bb[0x2]+_0x30bf76|0x0,_0x4ae3bb[0x3]=_0x4ae3bb[0x3]+_0x3e8a26|0x0,_0x4ae3bb[0x4]=_0x4ae3bb[0x4]+_0x5d468e|0x0;},'_doFinalize':function(){var _0x4cfdda=_0x33d6d4,_0xeecb07=this[_0x4cfdda(0x2ca)],_0x54ec78=_0xeecb07['words'],_0x1d05a2=this[_0x4cfdda(0x2ba)]*0x8,_0x5cf316=_0xeecb07[_0x4cfdda(0x1bf)]*0x8;return _0x54ec78[_0x5cf316>>>0x5]|=0x80<<0x18-_0x5cf316%0x20,_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xe]=Math[_0x4cfdda(0x183)](_0x1d05a2/0x100000000),_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xf]=_0x1d05a2,_0xeecb07[_0x4cfdda(0x1bf)]=_0x54ec78[_0x4cfdda(0x158)]*0x4,this['_process'](),this[_0x4cfdda(0x276)];},'clone':function(){var _0x154189=_0x33d6d4,_0x32e28a=_0xf1e8b2['clone']['call'](this);return _0x32e28a[_0x154189(0x276)]=this[_0x154189(0x276)][_0x154189(0x395)](),_0x32e28a;}});_0x1dbc39[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x36e)](_0x488e7d),_0x1dbc39[_0x33d6d4(0x363)]=_0xf1e8b2['_createHmacHelper'](_0x488e7d);}()),_0x28db15[_0x47f2b2(0x38f)];}));}(qe)),qe[_0xc6b48(0x24b)];}var ze={'exports':{}},$r=ze[_0x1f558c(0x24b)],ti;function Hr(){return ti||(ti=0x1,function(_0x4ae1cd,_0x534a77){(function(_0x463b81,_0x283319){_0x4ae1cd['exports']=_0x283319(ie());}($r,function(_0x169224){(function(){var _0x5d27b2=_0x4725,_0x48814d=_0x169224,_0x4243cd=_0x48814d[_0x5d27b2(0x244)],_0x3fbb41=_0x4243cd[_0x5d27b2(0x238)],_0x1014c1=_0x48814d[_0x5d27b2(0x349)],_0x2bb41a=_0x1014c1[_0x5d27b2(0x39c)],_0x9d0752=_0x48814d[_0x5d27b2(0x135)];_0x9d0752[_0x5d27b2(0x322)]=_0x3fbb41[_0x5d27b2(0x22f)]({'init':function(_0x5730a9,_0x254192){var _0x1ada4d=_0x5d27b2;_0x5730a9=this[_0x1ada4d(0x40c)]=new _0x5730a9['init'](),typeof _0x254192==_0x1ada4d(0x3ee)&&(_0x254192=_0x2bb41a[_0x1ada4d(0x234)](_0x254192));var _0x301cbf=_0x5730a9[_0x1ada4d(0x3b6)],_0x2ed8d3=_0x301cbf*0x4;_0x254192[_0x1ada4d(0x1bf)]>_0x2ed8d3&&(_0x254192=_0x5730a9['finalize'](_0x254192)),_0x254192[_0x1ada4d(0x1df)]();for(var _0x2a3c52=this[_0x1ada4d(0x342)]=_0x254192[_0x1ada4d(0x395)](),_0x5b55ca=this['_iKey']=_0x254192[_0x1ada4d(0x395)](),_0x10db9d=_0x2a3c52[_0x1ada4d(0x287)],_0x16bee5=_0x5b55ca[_0x1ada4d(0x287)],_0x4c5320=0x0;_0x4c5320<_0x301cbf;_0x4c5320++)_0x10db9d[_0x4c5320]^=0x5c5c5c5c,_0x16bee5[_0x4c5320]^=0x36363636;_0x2a3c52['sigBytes']=_0x5b55ca[_0x1ada4d(0x1bf)]=_0x2ed8d3,this[_0x1ada4d(0x43a)]();},'reset':function(){var _0x1cf0bc=_0x5d27b2,_0x1e4347=this['_hasher'];_0x1e4347[_0x1cf0bc(0x43a)](),_0x1e4347['update'](this[_0x1cf0bc(0x134)]);},'update':function(_0x5b627c){var _0x56ecb6=_0x5d27b2;return this[_0x56ecb6(0x40c)][_0x56ecb6(0x1fc)](_0x5b627c),this;},'finalize':function(_0x3a81e5){var _0x13ec2f=_0x5d27b2,_0x530e8c=this[_0x13ec2f(0x40c)],_0x20d78b=_0x530e8c[_0x13ec2f(0x327)](_0x3a81e5);_0x530e8c[_0x13ec2f(0x43a)]();var _0x24b476=_0x530e8c[_0x13ec2f(0x327)](this[_0x13ec2f(0x342)][_0x13ec2f(0x395)]()[_0x13ec2f(0x147)](_0x20d78b));return _0x24b476;}});}());}));}(ze)),ze['exports'];}var kr=Ye[_0x1f558c(0x24b)],ii;function Pi(){var _0xb8b628=_0x1f558c;return ii||(ii=0x1,function(_0x191d16,_0x2c51df){(function(_0x18b02f,_0x1f7166,_0x4a5e9d){var _0x3ba051=_0x4725;_0x191d16[_0x3ba051(0x24b)]=_0x1f7166(ie(),Mr(),Hr());}(kr,function(_0x51150e){var _0x1a5ffc=_0x4725;return(function(){var _0x82b45f=_0x4725,_0x104585=_0x51150e,_0x185e1a=_0x104585[_0x82b45f(0x244)],_0x30716e=_0x185e1a[_0x82b45f(0x238)],_0x2fd353=_0x185e1a[_0x82b45f(0x3f3)],_0x4289bf=_0x104585[_0x82b45f(0x135)],_0x46a857=_0x4289bf[_0x82b45f(0x416)],_0x405d5b=_0x4289bf[_0x82b45f(0x30a)]=_0x30716e[_0x82b45f(0x22f)]({'cfg':_0x30716e[_0x82b45f(0x22f)]({'keySize':0x80/0x20,'hasher':_0x46a857,'iterations':0x1}),'init':function(_0xe4e305){var _0x53ac42=_0x82b45f;this['cfg']=this[_0x53ac42(0x236)][_0x53ac42(0x22f)](_0xe4e305);},'compute':function(_0x3eef1d,_0x885fa){var _0x244f1b=_0x82b45f;for(var _0x4ba21e,_0x388c63=this[_0x244f1b(0x236)],_0x534eb9=_0x388c63[_0x244f1b(0x379)][_0x244f1b(0x17d)](),_0x468e01=_0x2fd353[_0x244f1b(0x17d)](),_0x4b1dbb=_0x468e01[_0x244f1b(0x287)],_0x48bed3=_0x388c63[_0x244f1b(0x314)],_0x119a8e=_0x388c63[_0x244f1b(0x194)];_0x4b1dbb['length']<_0x48bed3;){_0x4ba21e&&_0x534eb9['update'](_0x4ba21e),_0x4ba21e=_0x534eb9[_0x244f1b(0x1fc)](_0x3eef1d)['finalize'](_0x885fa),_0x534eb9[_0x244f1b(0x43a)]();for(var _0x45d5df=0x1;_0x45d5df<_0x119a8e;_0x45d5df++)_0x4ba21e=_0x534eb9[_0x244f1b(0x327)](_0x4ba21e),_0x534eb9[_0x244f1b(0x43a)]();_0x468e01[_0x244f1b(0x147)](_0x4ba21e);}return _0x468e01[_0x244f1b(0x1bf)]=_0x48bed3*0x4,_0x468e01;}});_0x104585[_0x82b45f(0x30a)]=function(_0xa00aa1,_0x11d87d,_0x29b316){var _0x2a8d8b=_0x82b45f;return _0x405d5b['create'](_0x29b316)[_0x2a8d8b(0x1b7)](_0xa00aa1,_0x11d87d);};}()),_0x51150e[_0x1a5ffc(0x30a)];}));}(Ye)),Ye[_0xb8b628(0x24b)];}var Je={'exports':{}},jr=Je[_0x1f558c(0x24b)],ni;function wi(){var _0x1d9d4b=_0x1f558c;return ni||(ni=0x1,function(_0x25aba0,_0x3ba688){(function(_0x645b3e,_0x16b30f,_0xcd2ceb){var _0xb969c9=_0x4725;_0x25aba0[_0xb969c9(0x24b)]=_0x16b30f(ie(),Pi());}(jr,function(_0x548695){var _0x5427e3=_0x4725;_0x548695[_0x5427e3(0x244)][_0x5427e3(0x299)]||function(_0x2f84b5){var _0x47ad0e=_0x5427e3,_0x1a9443=_0x548695,_0x52edcc=_0x1a9443[_0x47ad0e(0x244)],_0x11efdb=_0x52edcc[_0x47ad0e(0x238)],_0x303d7c=_0x52edcc[_0x47ad0e(0x3f3)],_0x5b446a=_0x52edcc['BufferedBlockAlgorithm'],_0x449a26=_0x1a9443[_0x47ad0e(0x349)];_0x449a26[_0x47ad0e(0x39c)];var _0x27df5f=_0x449a26[_0x47ad0e(0x235)],_0x2a14fd=_0x1a9443[_0x47ad0e(0x135)],_0x1b1d8a=_0x2a14fd[_0x47ad0e(0x30a)],_0x7e2489=_0x52edcc['Cipher']=_0x5b446a[_0x47ad0e(0x22f)]({'cfg':_0x11efdb[_0x47ad0e(0x22f)](),'createEncryptor':function(_0x38dd28,_0x27dc03){var _0x1f488f=_0x47ad0e;return this[_0x1f488f(0x17d)](this[_0x1f488f(0x381)],_0x38dd28,_0x27dc03);},'createDecryptor':function(_0x1ff861,_0x12a24e){var _0x4147ea=_0x47ad0e;return this[_0x4147ea(0x17d)](this[_0x4147ea(0x1fe)],_0x1ff861,_0x12a24e);},'init':function(_0x549eef,_0x4c4716,_0x46900d){var _0x4153c1=_0x47ad0e;this['cfg']=this[_0x4153c1(0x236)]['extend'](_0x46900d),this[_0x4153c1(0x42b)]=_0x549eef,this['_key']=_0x4c4716,this[_0x4153c1(0x43a)]();},'reset':function(){var _0x164529=_0x47ad0e;_0x5b446a[_0x164529(0x43a)][_0x164529(0x178)](this),this['_doReset']();},'process':function(_0x20e429){var _0x539c24=_0x47ad0e;return this['_append'](_0x20e429),this[_0x539c24(0x2dc)]();},'finalize':function(_0x26c893){var _0x441f13=_0x47ad0e;_0x26c893&&this[_0x441f13(0x203)](_0x26c893);var _0x5e0b42=this[_0x441f13(0x30e)]();return _0x5e0b42;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x557ee6(_0x5b19e0){var _0x289feb=_0x4725;return typeof _0x5b19e0==_0x289feb(0x3ee)?_0x2ceb36:_0x4585bb;}return function(_0x149c9a){return{'encrypt':function(_0x5cd4ad,_0x40847a,_0x2caae7){var _0x526334=_0x4725;return _0x557ee6(_0x40847a)[_0x526334(0x354)](_0x149c9a,_0x5cd4ad,_0x40847a,_0x2caae7);},'decrypt':function(_0xc3888f,_0x44c0be,_0x24e304){var _0x51d197=_0x4725;return _0x557ee6(_0x44c0be)[_0x51d197(0x3db)](_0x149c9a,_0xc3888f,_0x44c0be,_0x24e304);}};};}())});_0x52edcc[_0x47ad0e(0x1f8)]=_0x7e2489[_0x47ad0e(0x22f)]({'_doFinalize':function(){var _0x5de5cd=_0x47ad0e,_0x401e5f=this[_0x5de5cd(0x2dc)](!0x0);return _0x401e5f;},'blockSize':0x1});var _0x3d9f37=_0x1a9443[_0x47ad0e(0x1a9)]={},_0x3b2fe0=_0x52edcc['BlockCipherMode']=_0x11efdb[_0x47ad0e(0x22f)]({'createEncryptor':function(_0x4f521e,_0x4fd03b){var _0x4fbde4=_0x47ad0e;return this[_0x4fbde4(0x432)]['create'](_0x4f521e,_0x4fd03b);},'createDecryptor':function(_0x55c3c9,_0x1651f2){var _0x245d94=_0x47ad0e;return this[_0x245d94(0x41c)][_0x245d94(0x17d)](_0x55c3c9,_0x1651f2);},'init':function(_0x5b17b3,_0xf09063){var _0x281f80=_0x47ad0e;this[_0x281f80(0x321)]=_0x5b17b3,this[_0x281f80(0x250)]=_0xf09063;}}),_0xbe8c05=_0x3d9f37[_0x47ad0e(0x139)]=(function(){var _0x3195de=_0x47ad0e,_0x319052=_0x3b2fe0[_0x3195de(0x22f)]();_0x319052[_0x3195de(0x432)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x5d052e,_0x2472f5){var _0x3a24ae=_0x3195de,_0x414058=this[_0x3a24ae(0x321)],_0x3eb14=_0x414058[_0x3a24ae(0x3b6)];_0x45ad0f['call'](this,_0x5d052e,_0x2472f5,_0x3eb14),_0x414058[_0x3a24ae(0x3ae)](_0x5d052e,_0x2472f5),this[_0x3a24ae(0x2ab)]=_0x5d052e[_0x3a24ae(0x2db)](_0x2472f5,_0x2472f5+_0x3eb14);}}),_0x319052[_0x3195de(0x41c)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x431400,_0x350ffb){var _0x23a5e1=_0x3195de,_0x370e8a=this[_0x23a5e1(0x321)],_0x41fb1c=_0x370e8a['blockSize'],_0x25df78=_0x431400['slice'](_0x350ffb,_0x350ffb+_0x41fb1c);_0x370e8a[_0x23a5e1(0x3d6)](_0x431400,_0x350ffb),_0x45ad0f['call'](this,_0x431400,_0x350ffb,_0x41fb1c),this['_prevBlock']=_0x25df78;}});function _0x45ad0f(_0x2aedb5,_0x41f8d7,_0xcf57ee){var _0x2dd25b=_0x3195de,_0x4f1a8d,_0x582831=this[_0x2dd25b(0x250)];_0x582831?(_0x4f1a8d=_0x582831,this['_iv']=_0x2f84b5):_0x4f1a8d=this[_0x2dd25b(0x2ab)];for(var _0x5885c5=0x0;_0x5885c5<_0xcf57ee;_0x5885c5++)_0x2aedb5[_0x41f8d7+_0x5885c5]^=_0x4f1a8d[_0x5885c5];}return _0x319052;}()),_0x3bea21=_0x1a9443[_0x47ad0e(0x22a)]={},_0x240a97=_0x3bea21[_0x47ad0e(0x427)]={'pad':function(_0x551da9,_0x1e9f27){var _0x9bb678=_0x47ad0e;for(var _0x29b1a6=_0x1e9f27*0x4,_0x160b68=_0x29b1a6-_0x551da9[_0x9bb678(0x1bf)]%_0x29b1a6,_0x2869c2=_0x160b68<<0x18|_0x160b68<<0x10|_0x160b68<<0x8|_0x160b68,_0x5253ae=[],_0x178822=0x0;_0x178822<_0x160b68;_0x178822+=0x4)_0x5253ae[_0x9bb678(0x1eb)](_0x2869c2);var _0x43db1e=_0x303d7c[_0x9bb678(0x17d)](_0x5253ae,_0x160b68);_0x551da9[_0x9bb678(0x147)](_0x43db1e);},'unpad':function(_0x12bcb5){var _0x2bbc33=_0x47ad0e,_0x125cc3=_0x12bcb5['words'][_0x12bcb5[_0x2bbc33(0x1bf)]-0x1>>>0x2]&0xff;_0x12bcb5[_0x2bbc33(0x1bf)]-=_0x125cc3;}};_0x52edcc[_0x47ad0e(0x3e8)]=_0x7e2489[_0x47ad0e(0x22f)]({'cfg':_0x7e2489[_0x47ad0e(0x236)][_0x47ad0e(0x22f)]({'mode':_0xbe8c05,'padding':_0x240a97}),'reset':function(){var _0x37d568=_0x47ad0e,_0x496cd9;_0x7e2489[_0x37d568(0x43a)]['call'](this);var _0x14d4a6=this[_0x37d568(0x236)],_0x11b692=_0x14d4a6['iv'],_0x29819e=_0x14d4a6[_0x37d568(0x1a9)];this[_0x37d568(0x42b)]==this[_0x37d568(0x381)]?_0x496cd9=_0x29819e['createEncryptor']:(_0x496cd9=_0x29819e[_0x37d568(0x2ef)],this['_minBufferSize']=0x1),this[_0x37d568(0x32c)]&&this['_mode']['__creator']==_0x496cd9?this[_0x37d568(0x32c)]['init'](this,_0x11b692&&_0x11b692['words']):(this[_0x37d568(0x32c)]=_0x496cd9[_0x37d568(0x178)](_0x29819e,this,_0x11b692&&_0x11b692[_0x37d568(0x287)]),this['_mode'][_0x37d568(0x258)]=_0x496cd9);},'_doProcessBlock':function(_0x127ccf,_0x3f5a53){var _0x404081=_0x47ad0e;this[_0x404081(0x32c)][_0x404081(0x39e)](_0x127ccf,_0x3f5a53);},'_doFinalize':function(){var _0x4865c7=_0x47ad0e,_0xbe9c77,_0x1ce330=this['cfg'][_0x4865c7(0x2b1)];return this[_0x4865c7(0x42b)]==this[_0x4865c7(0x381)]?(_0x1ce330[_0x4865c7(0x22a)](this['_data'],this[_0x4865c7(0x3b6)]),_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0)):(_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0),_0x1ce330[_0x4865c7(0x22e)](_0xbe9c77)),_0xbe9c77;},'blockSize':0x80/0x20});var _0x257da2=_0x52edcc[_0x47ad0e(0x17a)]=_0x11efdb[_0x47ad0e(0x22f)]({'init':function(_0x38fcc3){var _0x234ae1=_0x47ad0e;this[_0x234ae1(0x3cc)](_0x38fcc3);},'toString':function(_0x4b95bb){var _0x5a5cac=_0x47ad0e;return(_0x4b95bb||this[_0x5a5cac(0x2b7)])[_0x5a5cac(0x283)](this);}}),_0x313094=_0x1a9443[_0x47ad0e(0x1cd)]={},_0x14c748=_0x313094['OpenSSL']={'stringify':function(_0x5add9b){var _0x35fea2=_0x47ad0e,_0x257fff,_0x3d5827=_0x5add9b[_0x35fea2(0x3fd)],_0xb33692=_0x5add9b[_0x35fea2(0x3f9)];return _0xb33692?_0x257fff=_0x303d7c['create']([0x53616c74,0x65645f5f])[_0x35fea2(0x147)](_0xb33692)['concat'](_0x3d5827):_0x257fff=_0x3d5827,_0x257fff[_0x35fea2(0x28c)](_0x27df5f);},'parse':function(_0x30e606){var _0x17358e=_0x47ad0e,_0x259ee0,_0x1e1d01=_0x27df5f['parse'](_0x30e606),_0x315a40=_0x1e1d01[_0x17358e(0x287)];return _0x315a40[0x0]==0x53616c74&&_0x315a40[0x1]==0x65645f5f&&(_0x259ee0=_0x303d7c[_0x17358e(0x17d)](_0x315a40[_0x17358e(0x2db)](0x2,0x4)),_0x315a40[_0x17358e(0x252)](0x0,0x4),_0x1e1d01[_0x17358e(0x1bf)]-=0x10),_0x257da2[_0x17358e(0x17d)]({'ciphertext':_0x1e1d01,'salt':_0x259ee0});}},_0x4585bb=_0x52edcc['SerializableCipher']=_0x11efdb[_0x47ad0e(0x22f)]({'cfg':_0x11efdb['extend']({'format':_0x14c748}),'encrypt':function(_0x402acc,_0x14e679,_0x55b4b5,_0x1b538c){var _0x8d62b3=_0x47ad0e;_0x1b538c=this[_0x8d62b3(0x236)][_0x8d62b3(0x22f)](_0x1b538c);var _0x357baf=_0x402acc[_0x8d62b3(0x2ff)](_0x55b4b5,_0x1b538c),_0x4876f1=_0x357baf[_0x8d62b3(0x327)](_0x14e679),_0x3b1e0c=_0x357baf[_0x8d62b3(0x236)];return _0x257da2['create']({'ciphertext':_0x4876f1,'key':_0x55b4b5,'iv':_0x3b1e0c['iv'],'algorithm':_0x402acc,'mode':_0x3b1e0c[_0x8d62b3(0x1a9)],'padding':_0x3b1e0c[_0x8d62b3(0x2b1)],'blockSize':_0x402acc[_0x8d62b3(0x3b6)],'formatter':_0x1b538c[_0x8d62b3(0x1cd)]});},'decrypt':function(_0x417517,_0x175592,_0x15ae49,_0x38de92){var _0x248b4f=_0x47ad0e;_0x38de92=this[_0x248b4f(0x236)][_0x248b4f(0x22f)](_0x38de92),_0x175592=this[_0x248b4f(0x170)](_0x175592,_0x38de92[_0x248b4f(0x1cd)]);var _0x325ee1=_0x417517[_0x248b4f(0x2ef)](_0x15ae49,_0x38de92)[_0x248b4f(0x327)](_0x175592['ciphertext']);return _0x325ee1;},'_parse':function(_0x1de106,_0x229e2d){var _0x150375=_0x47ad0e;return typeof _0x1de106==_0x150375(0x3ee)?_0x229e2d[_0x150375(0x234)](_0x1de106,this):_0x1de106;}}),_0x3bbda9=_0x1a9443[_0x47ad0e(0x331)]={},_0x2c50bf=_0x3bbda9[_0x47ad0e(0x136)]={'execute':function(_0x3c48d5,_0x297927,_0xed83ec,_0x104070,_0x140748){var _0x4254a5=_0x47ad0e;if(_0x104070||(_0x104070=_0x303d7c[_0x4254a5(0x35d)](0x40/0x8)),_0x140748)var _0xde238f=_0x1b1d8a['create']({'keySize':_0x297927+_0xed83ec,'hasher':_0x140748})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);else var _0xde238f=_0x1b1d8a[_0x4254a5(0x17d)]({'keySize':_0x297927+_0xed83ec})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);var _0x230c97=_0x303d7c['create'](_0xde238f[_0x4254a5(0x287)][_0x4254a5(0x2db)](_0x297927),_0xed83ec*0x4);return _0xde238f[_0x4254a5(0x1bf)]=_0x297927*0x4,_0x257da2[_0x4254a5(0x17d)]({'key':_0xde238f,'iv':_0x230c97,'salt':_0x104070});}},_0x2ceb36=_0x52edcc[_0x47ad0e(0x2eb)]=_0x4585bb[_0x47ad0e(0x22f)]({'cfg':_0x4585bb[_0x47ad0e(0x236)]['extend']({'kdf':_0x2c50bf}),'encrypt':function(_0x104f5e,_0x30279e,_0x354252,_0x31929c){var _0x17d422=_0x47ad0e;_0x31929c=this['cfg'][_0x17d422(0x22f)](_0x31929c);var _0x3526d7=_0x31929c[_0x17d422(0x331)][_0x17d422(0x3eb)](_0x354252,_0x104f5e[_0x17d422(0x314)],_0x104f5e[_0x17d422(0x202)],_0x31929c[_0x17d422(0x3f9)],_0x31929c['hasher']);_0x31929c['iv']=_0x3526d7['iv'];var _0x2dfb3e=_0x4585bb[_0x17d422(0x354)][_0x17d422(0x178)](this,_0x104f5e,_0x30279e,_0x3526d7['key'],_0x31929c);return _0x2dfb3e[_0x17d422(0x3cc)](_0x3526d7),_0x2dfb3e;},'decrypt':function(_0x1d6d70,_0x318537,_0x57bbdb,_0x457f09){var _0x30c03e=_0x47ad0e;_0x457f09=this[_0x30c03e(0x236)][_0x30c03e(0x22f)](_0x457f09),_0x318537=this['_parse'](_0x318537,_0x457f09[_0x30c03e(0x1cd)]);var _0x222f23=_0x457f09[_0x30c03e(0x331)][_0x30c03e(0x3eb)](_0x57bbdb,_0x1d6d70[_0x30c03e(0x314)],_0x1d6d70[_0x30c03e(0x202)],_0x318537[_0x30c03e(0x3f9)],_0x457f09[_0x30c03e(0x379)]);_0x457f09['iv']=_0x222f23['iv'];var _0x47dc05=_0x4585bb['decrypt'][_0x30c03e(0x178)](this,_0x1d6d70,_0x318537,_0x222f23[_0x30c03e(0x284)],_0x457f09);return _0x47dc05;}});}();}));}(Je)),Je[_0x1d9d4b(0x24b)];}var Br=Ge[_0x1f558c(0x24b)],ri;function Fr(){var _0x354c65=_0x1f558c;return ri||(ri=0x1,function(_0x1a40a7,_0x316e9b){(function(_0x144d4c,_0x33f035,_0x107942){var _0x4bb70e=_0x4725;_0x1a40a7[_0x4bb70e(0x24b)]=_0x33f035(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x440368){var _0x1fad41=_0x4725;return(function(){var _0x188395=_0x4725,_0x3604fc=_0x440368,_0x50624e=_0x3604fc[_0x188395(0x244)],_0x200503=_0x50624e[_0x188395(0x3e8)],_0x4869c7=_0x3604fc['algo'],_0xb54a68=[],_0x3ba722=[],_0xdb3016=[],_0x1ed5f1=[],_0x15fe73=[],_0x788078=[],_0x508a01=[],_0x10707c=[],_0x20668e=[],_0x17920e=[];(function(){for(var _0x240854=[],_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++)_0x53eb0a<0x80?_0x240854[_0x53eb0a]=_0x53eb0a<<0x1:_0x240854[_0x53eb0a]=_0x53eb0a<<0x1^0x11b;for(var _0x10100a=0x0,_0x512bf2=0x0,_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++){var _0x792522=_0x512bf2^_0x512bf2<<0x1^_0x512bf2<<0x2^_0x512bf2<<0x3^_0x512bf2<<0x4;_0x792522=_0x792522>>>0x8^_0x792522&0xff^0x63,_0xb54a68[_0x10100a]=_0x792522,_0x3ba722[_0x792522]=_0x10100a;var _0x959303=_0x240854[_0x10100a],_0x2f3f6=_0x240854[_0x959303],_0x507f40=_0x240854[_0x2f3f6],_0x59a9c0=_0x240854[_0x792522]*0x101^_0x792522*0x1010100;_0xdb3016[_0x10100a]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x1ed5f1[_0x10100a]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x15fe73[_0x10100a]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x788078[_0x10100a]=_0x59a9c0;var _0x59a9c0=_0x507f40*0x1010101^_0x2f3f6*0x10001^_0x959303*0x101^_0x10100a*0x1010100;_0x508a01[_0x792522]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x10707c[_0x792522]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x20668e[_0x792522]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x17920e[_0x792522]=_0x59a9c0,_0x10100a?(_0x10100a=_0x959303^_0x240854[_0x240854[_0x240854[_0x507f40^_0x959303]]],_0x512bf2^=_0x240854[_0x240854[_0x512bf2]]):_0x10100a=_0x512bf2=0x1;}}());var _0x328f2e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1159f7=_0x4869c7[_0x188395(0x316)]=_0x200503[_0x188395(0x22f)]({'_doReset':function(){var _0x374f5d=_0x188395,_0xf96a95;if(!(this[_0x374f5d(0x1fd)]&&this[_0x374f5d(0x371)]===this[_0x374f5d(0x3ea)])){for(var _0x413707=this[_0x374f5d(0x371)]=this[_0x374f5d(0x3ea)],_0x43b750=_0x413707[_0x374f5d(0x287)],_0x11a85b=_0x413707[_0x374f5d(0x1bf)]/0x4,_0x369059=this['_nRounds']=_0x11a85b+0x6,_0x2b8ffd=(_0x369059+0x1)*0x4,_0x11d44d=this['_keySchedule']=[],_0x23290e=0x0;_0x23290e<_0x2b8ffd;_0x23290e++)_0x23290e<_0x11a85b?_0x11d44d[_0x23290e]=_0x43b750[_0x23290e]:(_0xf96a95=_0x11d44d[_0x23290e-0x1],_0x23290e%_0x11a85b?_0x11a85b>0x6&&_0x23290e%_0x11a85b==0x4&&(_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff]):(_0xf96a95=_0xf96a95<<0x8|_0xf96a95>>>0x18,_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff],_0xf96a95^=_0x328f2e[_0x23290e/_0x11a85b|0x0]<<0x18),_0x11d44d[_0x23290e]=_0x11d44d[_0x23290e-_0x11a85b]^_0xf96a95);for(var _0x13d511=this['_invKeySchedule']=[],_0x5597a6=0x0;_0x5597a6<_0x2b8ffd;_0x5597a6++){var _0x23290e=_0x2b8ffd-_0x5597a6;if(_0x5597a6%0x4)var _0xf96a95=_0x11d44d[_0x23290e];else var _0xf96a95=_0x11d44d[_0x23290e-0x4];_0x5597a6<0x4||_0x23290e<=0x4?_0x13d511[_0x5597a6]=_0xf96a95:_0x13d511[_0x5597a6]=_0x508a01[_0xb54a68[_0xf96a95>>>0x18]]^_0x10707c[_0xb54a68[_0xf96a95>>>0x10&0xff]]^_0x20668e[_0xb54a68[_0xf96a95>>>0x8&0xff]]^_0x17920e[_0xb54a68[_0xf96a95&0xff]];}}},'encryptBlock':function(_0x32ad22,_0x3da847){var _0x2ba53e=_0x188395;this[_0x2ba53e(0x31d)](_0x32ad22,_0x3da847,this[_0x2ba53e(0x2ea)],_0xdb3016,_0x1ed5f1,_0x15fe73,_0x788078,_0xb54a68);},'decryptBlock':function(_0xebd508,_0x2a023d){var _0x5d137a=_0x188395,_0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca,this[_0x5d137a(0x31d)](_0xebd508,_0x2a023d,this['_invKeySchedule'],_0x508a01,_0x10707c,_0x20668e,_0x17920e,_0x3ba722);var _0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca;},'_doCryptBlock':function(_0x2f6c43,_0x9b5a77,_0x340ba2,_0x1cfaef,_0xb0a2ed,_0x47ee88,_0x192a95,_0x1fde43){for(var _0xa30147=this['_nRounds'],_0x4ad374=_0x2f6c43[_0x9b5a77]^_0x340ba2[0x0],_0x1687be=_0x2f6c43[_0x9b5a77+0x1]^_0x340ba2[0x1],_0x5a55d6=_0x2f6c43[_0x9b5a77+0x2]^_0x340ba2[0x2],_0x450460=_0x2f6c43[_0x9b5a77+0x3]^_0x340ba2[0x3],_0x3d286a=0x4,_0x36e116=0x1;_0x36e116<_0xa30147;_0x36e116++){var _0x154a90=_0x1cfaef[_0x4ad374>>>0x18]^_0xb0a2ed[_0x1687be>>>0x10&0xff]^_0x47ee88[_0x5a55d6>>>0x8&0xff]^_0x192a95[_0x450460&0xff]^_0x340ba2[_0x3d286a++],_0x9ba5f6=_0x1cfaef[_0x1687be>>>0x18]^_0xb0a2ed[_0x5a55d6>>>0x10&0xff]^_0x47ee88[_0x450460>>>0x8&0xff]^_0x192a95[_0x4ad374&0xff]^_0x340ba2[_0x3d286a++],_0x9d836c=_0x1cfaef[_0x5a55d6>>>0x18]^_0xb0a2ed[_0x450460>>>0x10&0xff]^_0x47ee88[_0x4ad374>>>0x8&0xff]^_0x192a95[_0x1687be&0xff]^_0x340ba2[_0x3d286a++],_0x322a96=_0x1cfaef[_0x450460>>>0x18]^_0xb0a2ed[_0x4ad374>>>0x10&0xff]^_0x47ee88[_0x1687be>>>0x8&0xff]^_0x192a95[_0x5a55d6&0xff]^_0x340ba2[_0x3d286a++];_0x4ad374=_0x154a90,_0x1687be=_0x9ba5f6,_0x5a55d6=_0x9d836c,_0x450460=_0x322a96;}var _0x154a90=(_0x1fde43[_0x4ad374>>>0x18]<<0x18|_0x1fde43[_0x1687be>>>0x10&0xff]<<0x10|_0x1fde43[_0x5a55d6>>>0x8&0xff]<<0x8|_0x1fde43[_0x450460&0xff])^_0x340ba2[_0x3d286a++],_0x9ba5f6=(_0x1fde43[_0x1687be>>>0x18]<<0x18|_0x1fde43[_0x5a55d6>>>0x10&0xff]<<0x10|_0x1fde43[_0x450460>>>0x8&0xff]<<0x8|_0x1fde43[_0x4ad374&0xff])^_0x340ba2[_0x3d286a++],_0x9d836c=(_0x1fde43[_0x5a55d6>>>0x18]<<0x18|_0x1fde43[_0x450460>>>0x10&0xff]<<0x10|_0x1fde43[_0x4ad374>>>0x8&0xff]<<0x8|_0x1fde43[_0x1687be&0xff])^_0x340ba2[_0x3d286a++],_0x322a96=(_0x1fde43[_0x450460>>>0x18]<<0x18|_0x1fde43[_0x4ad374>>>0x10&0xff]<<0x10|_0x1fde43[_0x1687be>>>0x8&0xff]<<0x8|_0x1fde43[_0x5a55d6&0xff])^_0x340ba2[_0x3d286a++];_0x2f6c43[_0x9b5a77]=_0x154a90,_0x2f6c43[_0x9b5a77+0x1]=_0x9ba5f6,_0x2f6c43[_0x9b5a77+0x2]=_0x9d836c,_0x2f6c43[_0x9b5a77+0x3]=_0x322a96;},'keySize':0x100/0x20});_0x3604fc[_0x188395(0x316)]=_0x200503[_0x188395(0x36e)](_0x1159f7);}()),_0x440368[_0x1fad41(0x316)];}));}(Ge)),Ge[_0x354c65(0x24b)];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x100c21=_0x1f558c;return oi||(oi=0x1,function(_0x533967,_0x5d680c){(function(_0x244c60,_0x31297f){var _0x1bd128=_0x4725;_0x533967[_0x1bd128(0x24b)]=_0x31297f(ie());}(Kr,function(_0x56f62a){var _0x40c799=_0x4725;return _0x56f62a[_0x40c799(0x349)][_0x40c799(0x39c)];}));}(Xe)),Xe[_0x100c21(0x24b)];}var qr=Yr();const zr=ke(qr);function _0x4725(_0xa701be,_0x2beb92){var _0x3db137=_0x3db1();return _0x4725=function(_0x472531,_0xa228cf){_0x472531=_0x472531-0x134;var _0x44edb5=_0x3db137[_0x472531];return _0x44edb5;},_0x4725(_0xa701be,_0x2beb92);}var Ze={'exports':{}},Jr=Ze['exports'],ai;function Xr(){var _0x30c28d=_0x1f558c;return ai||(ai=0x1,function(_0x5baccc,_0x20b894){(function(_0x221554,_0x3c4080){_0x5baccc['exports']=_0x3c4080(ie());}(Jr,function(_0x4a3e24){var _0x3bea74=_0x4725;return(function(){var _0x4943ae=_0x4725;if(typeof ArrayBuffer==_0x4943ae(0x1dd)){var _0x2b05c9=_0x4a3e24,_0x328369=_0x2b05c9[_0x4943ae(0x244)],_0x4be1c9=_0x328369[_0x4943ae(0x3f3)],_0x2039f3=_0x4be1c9[_0x4943ae(0x2e7)],_0x3854d9=_0x4be1c9[_0x4943ae(0x2e7)]=function(_0x3f2864){var _0x2ff819=_0x4943ae;if(_0x3f2864 instanceof ArrayBuffer&&(_0x3f2864=new Uint8Array(_0x3f2864)),(_0x3f2864 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f2864 instanceof Uint8ClampedArray||_0x3f2864 instanceof Int16Array||_0x3f2864 instanceof Uint16Array||_0x3f2864 instanceof Int32Array||_0x3f2864 instanceof Uint32Array||_0x3f2864 instanceof Float32Array||_0x3f2864 instanceof Float64Array)&&(_0x3f2864=new Uint8Array(_0x3f2864[_0x2ff819(0x3e4)],_0x3f2864[_0x2ff819(0x19f)],_0x3f2864[_0x2ff819(0x1e6)])),_0x3f2864 instanceof Uint8Array){for(var _0x7e74cb=_0x3f2864[_0x2ff819(0x1e6)],_0x4542eb=[],_0x1a8f46=0x0;_0x1a8f46<_0x7e74cb;_0x1a8f46++)_0x4542eb[_0x1a8f46>>>0x2]|=_0x3f2864[_0x1a8f46]<<0x18-_0x1a8f46%0x4*0x8;_0x2039f3[_0x2ff819(0x178)](this,_0x4542eb,_0x7e74cb);}else _0x2039f3[_0x2ff819(0x1fa)](this,arguments);};_0x3854d9[_0x4943ae(0x36a)]=_0x4be1c9;}}()),_0x4a3e24[_0x3bea74(0x244)][_0x3bea74(0x3f3)];}));}(Ze)),Ze[_0x30c28d(0x24b)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x1f558c(0x24b)],ci;function ts(){var _0x42ebf4=_0x1f558c;return ci||(ci=0x1,function(_0xd6f957,_0x362ec9){(function(_0x2fec6f,_0x364485,_0xf01132){_0xd6f957['exports']=_0x364485(ie(),wi());}(es,function(_0x122ee3){var _0x11ef96=_0x4725;return _0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)]={'pad':function(){},'unpad':function(){}},_0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)];}));}(Qe)),Qe[_0x42ebf4(0x24b)];}var is=ts();const ns=ke(is);function rs(_0x38b0b7,_0x9ef86){var _0x2d7825=_0x1f558c;const _0x599fa9=_0x9ef86-_0x38b0b7[_0x2d7825(0x158)]%_0x9ef86,_0x4c0301=String['fromCharCode'](_0x599fa9)[_0x2d7825(0x23d)](_0x599fa9);return _0x38b0b7+_0x4c0301;}function ss(_0x3f3971,_0x3d1e68){var _0x3c943b=_0x1f558c;const _0x5f1d6b=Qr[_0x3c943b(0x35d)](0x10),_0x35a324=rs(_0x3f3971,0x10),_0x3ad46f=Vr[_0x3c943b(0x354)](zr[_0x3c943b(0x234)](_0x35a324),si[_0x3c943b(0x234)](_0x3d1e68),{'iv':_0x5f1d6b,'padding':ns});return _0x5f1d6b[_0x3c943b(0x147)](_0x3ad46f[_0x3c943b(0x3fd)])[_0x3c943b(0x28c)](si);}function os(){var _0x177ee0=_0x1f558c;const _0x2d092a=_0x5d2141()[_0x177ee0(0x418)];if(_0x2d092a){const _0x2701ad={'time':Math['floor'](Date[_0x177ee0(0x434)]()/0x3e8),'domain':location[_0x177ee0(0x138)]};return ss(JSON[_0x177ee0(0x283)](_0x2701ad),_0x2d092a);}}var as=Object[_0x1f558c(0x175)],cs=Object[_0x1f558c(0x330)],hs=(_0x396143,_0x27a61a,_0x40a0ab,_0x57172a)=>{var _0x59b553=_0x1f558c;for(var _0x7c4209=_0x57172a>0x1?void 0x0:_0x57172a?cs(_0x27a61a,_0x40a0ab):_0x27a61a,_0xb17b51=_0x396143[_0x59b553(0x158)]-0x1,_0x2fef2a;_0xb17b51>=0x0;_0xb17b51--)(_0x2fef2a=_0x396143[_0xb17b51])&&(_0x7c4209=(_0x57172a?_0x2fef2a(_0x27a61a,_0x40a0ab,_0x7c4209):_0x2fef2a(_0x7c4209))||_0x7c4209);return _0x57172a&&_0x7c4209&&as(_0x27a61a,_0x40a0ab,_0x7c4209),_0x7c4209;},_s=(_0x17f266,_0x4ab52e)=>(_0x16b02a,_0x40518d)=>_0x4ab52e(_0x16b02a,_0x40518d,_0x17f266);let ot=class{constructor(_0x28077d){var _0x42fb29=_0x1f558c;this[_0x42fb29(0x2d9)]=_0x28077d,this[_0x42fb29(0x189)]();}[_0x1f558c(0x189)](){var _0x551689=_0x1f558c;this[_0x551689(0x2d9)][_0x551689(0x251)]({'interceptor':(_0x17bf67,_0x4c9320)=>{var _0x83fa7=_0x551689;const _0x8e9d2c=_0x17bf67['headers'],_0x59ce87=os();return _0x59ce87&&_0x8e9d2c[_0x83fa7(0x319)](_0x83fa7(0x2c6),_0x59ce87),_0x4c9320(_0x17bf67);}});}};ot=hs([_s(0x0,_0x5b2811(_0x5b9922))],ot);var ls=Object['defineProperty'],us=Object[_0x1f558c(0x330)],ds=(_0x56c298,_0x21cc56,_0x394907,_0x44f4fe)=>{var _0x3a614d=_0x1f558c;for(var _0xf1fcd=_0x44f4fe>0x1?void 0x0:_0x44f4fe?us(_0x21cc56,_0x394907):_0x21cc56,_0x42eea3=_0x56c298[_0x3a614d(0x158)]-0x1,_0x14a1e6;_0x42eea3>=0x0;_0x42eea3--)(_0x14a1e6=_0x56c298[_0x42eea3])&&(_0xf1fcd=(_0x44f4fe?_0x14a1e6(_0x21cc56,_0x394907,_0xf1fcd):_0x14a1e6(_0xf1fcd))||_0xf1fcd);return _0x44f4fe&&_0xf1fcd&&ls(_0x21cc56,_0x394907,_0xf1fcd),_0xf1fcd;},mt=(_0x246525,_0x14fd26)=>(_0x61c952,_0x532239)=>_0x14fd26(_0x61c952,_0x532239,_0x246525);let Rt=class extends _0x1a5dd9{constructor(_0x24f2f5,_0x1cfaa2,_0x3c9f49){var _0x1c8966=_0x1f558c;super(),N(this,_0x1c8966(0x176),new _0x12b284(null)),N(this,_0x1c8966(0x1ae),this[_0x1c8966(0x176)][_0x1c8966(0x317)]()),(this['_logService']=_0x24f2f5,this[_0x1c8966(0x159)]=_0x1cfaa2,this[_0x1c8966(0x28f)]=_0x3c9f49);}async[_0x1f558c(0x216)](_0xe350cf,_0xcaf43e,_0x2cd2ca){var _0x44e24a=_0x1f558c;this[_0x44e24a(0x176)][_0x44e24a(0x140)]({'unitId':_0xe350cf,'type':_0xcaf43e,'subUnitId':_0x2cd2ca});let _0x2fd256=null;switch(_0xcaf43e){case Q['UNIVER_SHEET']:{_0x2fd256=await this[_0x44e24a(0x3b7)](_0xe350cf);break;}case Q[_0x44e24a(0x143)]:{_0x2fd256=await this[_0x44e24a(0x215)](_0xe350cf);break;}default:{this['_logService'][_0x44e24a(0x145)](_0x44e24a(0x157),_0x44e24a(0x3bd));break;}}return _0x2fd256;}async[_0x1f558c(0x3b7)](_0x332c45){var _0x5238f8=_0x1f558c,_0x1297f9;let _0x1b9ed6=0x0;const _0xa1029=await((_0x1297f9=this[_0x5238f8(0x28f)])==null?void 0x0:_0x1297f9[_0x5238f8(0x41d)](_0x332c45));return _0xa1029&&(_0xa1029[_0x5238f8(0x3a8)]||_0xa1029['mutations'][_0x5238f8(0x158)]!==0x0)&&(_0x1b9ed6=_0xa1029['rev']),_0x1b9ed6===0x0&&this[_0x5238f8(0x343)][_0x5238f8(0x2e3)](_0x5238f8(0x157),_0x5238f8(0x13e)),this['_snapshotService'][_0x5238f8(0x31e)](_0x332c45,_0x1b9ed6);}async['_loadDoc'](_0x3c1b20){var _0x4de9a9=_0x1f558c,_0x47de2b;let _0x2cb4d8=0x0;const _0x34fa04=await((_0x47de2b=this[_0x4de9a9(0x28f)])==null?void 0x0:_0x47de2b['loadOfflineData'](_0x3c1b20));return _0x34fa04&&(_0x34fa04['awaitingChangeset']||_0x34fa04['mutations']['length']!==0x0)&&(_0x2cb4d8=_0x34fa04[_0x4de9a9(0x1cb)]),_0x2cb4d8===0x0&&this[_0x4de9a9(0x343)][_0x4de9a9(0x2e3)](_0x4de9a9(0x157),_0x4de9a9(0x13e)),this[_0x4de9a9(0x159)][_0x4de9a9(0x13c)](_0x3c1b20,_0x2cb4d8);}};Rt=ds([mt(0x0,_0x574408),mt(0x1,_0x5b2811(_0x4c1140)),mt(0x2,_0x40673b(J))],Rt);var fs=Object[_0x1f558c(0x175)],vs=Object[_0x1f558c(0x330)],ps=(_0x18add8,_0x54aa4b,_0x510fd9,_0x3829d0)=>{for(var _0x5cea9e=_0x3829d0>0x1?void 0x0:_0x3829d0?vs(_0x54aa4b,_0x510fd9):_0x54aa4b,_0x1218c9=_0x18add8['length']-0x1,_0xfdfff0;_0x1218c9>=0x0;_0x1218c9--)(_0xfdfff0=_0x18add8[_0x1218c9])&&(_0x5cea9e=(_0x3829d0?_0xfdfff0(_0x54aa4b,_0x510fd9,_0x5cea9e):_0xfdfff0(_0x5cea9e))||_0x5cea9e);return _0x3829d0&&_0x5cea9e&&fs(_0x54aa4b,_0x510fd9,_0x5cea9e),_0x5cea9e;},gt=(_0x3309e7,_0x3b6230)=>(_0x57bea1,_0x4c47a4)=>_0x3b6230(_0x57bea1,_0x4c47a4,_0x3309e7);const ms=[_0x1f558c(0x1b8),_0x1f558c(0x15d),_0x1f558c(0x2af),_0x1f558c(0x346),_0x1f558c(0x31b)],gs=0x5*0x400*0x400,Ss=_0x1f558c(0x25e),Es='/universer-api/stream/file/upload',Is='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ts=_0x1f558c(0x313);let Ot=class{constructor(_0x10ca1e,_0x3d993c,_0x3d6cd3){var _0x5b08fc=_0x1f558c;N(this,'_waitCount',0x0),N(this,_0x5b08fc(0x3d8),new _0x13d4cc()),N(this,_0x5b08fc(0x1ca),this['_change$']),N(this,_0x5b08fc(0x2fe),new Map()),(this['_httpService']=_0x10ca1e,this[_0x5b08fc(0x405)]=_0x3d993c,this['_univerInstanceService']=_0x3d6cd3);}['setWaitCount'](_0x432614){var _0x3debc7=_0x1f558c;this[_0x3debc7(0x263)]=_0x432614,this[_0x3debc7(0x3d8)][_0x3debc7(0x140)](_0x432614);}[_0x1f558c(0x2b6)](_0x369a97,_0x5000c0){var _0x575bfe=_0x1f558c;if(_0x5000c0===_0x437e6e[_0x575bfe(0x153)]){const _0x3a77f6=new Image();return _0x3a77f6[_0x575bfe(0x1af)]=_0x369a97,_0x3a77f6;}return this['_imageSourceCache']['get'](_0x369a97);}[_0x1f558c(0x237)](_0x58d5a2,_0x19ee16,_0x264b33){var _0xf24b32=_0x1f558c;_0x19ee16===_0x437e6e[_0xf24b32(0x153)]||_0x264b33==null||this[_0xf24b32(0x2fe)][_0xf24b32(0x319)](_0x58d5a2,_0x264b33);}async[_0x1f558c(0x3a2)](_0x2d5299){var _0x10d6cb=_0x1f558c;try{const _0x1489a5=this[_0x10d6cb(0x229)](this[_0x10d6cb(0x42c)](),''+_0x2d5299),_0x1432e8=(await this[_0x10d6cb(0x2d9)][_0x10d6cb(0x1e3)](_0x1489a5))[_0x10d6cb(0x2ac)];if(_0x1432e8[_0x10d6cb(0x145)]&&_0x1432e8[_0x10d6cb(0x145)][_0x10d6cb(0x3e7)]===Si['OK']){const _0x593e67=new URL(_0x1432e8[_0x10d6cb(0x3c6)],this[_0x10d6cb(0x2aa)]())[_0x10d6cb(0x28c)]();return Promise[_0x10d6cb(0x208)](_0x593e67);}return Promise[_0x10d6cb(0x187)](_0x1432e8['error']);}catch(_0x2c7929){return Promise[_0x10d6cb(0x187)](_0x2c7929);}}async[_0x1f558c(0x306)](_0x4e8c33){var _0x49b26b=_0x1f558c;let _0x57c0dc='';if(!ms[_0x49b26b(0x407)](_0x4e8c33[_0x49b26b(0x15f)]))return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x37c)]));if(_0x4e8c33[_0x49b26b(0x191)]>gs)return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x361)]));try{const _0x921e4e=new FormData();_0x921e4e[_0x49b26b(0x419)]('file',_0x4e8c33);const _0x1fc144=this[_0x49b26b(0x435)][_0x49b26b(0x3ff)](),_0x368cd6=_0x1fc144==null?void 0x0:_0x1fc144[_0x49b26b(0x253)]();if(!_0x368cd6)throw new Error('unitId\x20is\x20not\x20found');const _0xd9e52d=this['_getUploadFileURL']()+_0x49b26b(0x2d8)+_0x4e8c33[_0x49b26b(0x191)][_0x49b26b(0x28c)]()+_0x49b26b(0x37b)+Ei[_0x49b26b(0x33c)]+_0x49b26b(0x2e1)+encodeURIComponent(_0x368cd6),_0x4ae4ae=await(await fetch(_0xd9e52d,{'method':_0x49b26b(0x2d1),'body':_0x921e4e}))[_0x49b26b(0x391)]();if(typeof _0x4ae4ae[_0x49b26b(0x289)]!=_0x49b26b(0x3ee))return this[_0x49b26b(0x36f)](),Promise['reject'](new Error(_0x42bf22[_0x49b26b(0x3ed)]));_0x57c0dc=_0x4ae4ae['FileId'];}catch{return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22['ERROR_IMAGE']));}return new Promise((_0x573708,_0x45f039)=>{var _0x483ef2=_0x49b26b;const _0x269e7a=new FileReader();_0x269e7a[_0x483ef2(0x242)](_0x4e8c33),_0x269e7a[_0x483ef2(0x3fc)]=_0x78ecb4=>{var _0x34bcc5=_0x483ef2,_0x118651;const _0x2112b6=(_0x118651=_0x78ecb4[_0x34bcc5(0x37d)])==null?void 0x0:_0x118651[_0x34bcc5(0x386)];if(_0x2112b6==null){this[_0x34bcc5(0x36f)](),_0x45f039(new Error(_0x42bf22[_0x34bcc5(0x3ed)]));return;}const _0x516b31=_0x2d4a2c[_0x34bcc5(0x2a4)](0x6);_0x573708({'imageId':_0x516b31,'imageSourceType':_0x437e6e[_0x34bcc5(0x14c)],'source':_0x57c0dc,'base64Cache':_0x2112b6,'status':_0x42bf22['SUCCUSS']}),this[_0x34bcc5(0x36f)]();};});}['_getUploadFileURL'](){var _0x532057=_0x1f558c,_0x498b95,_0x216fe4;const _0x21b65d=this[_0x532057(0x405)][_0x532057(0x2a0)](Ss),_0x364738=this[_0x532057(0x405)]['getConfig'](q);return(_0x216fe4=(_0x498b95=_0x364738==null?void 0x0:_0x364738[_0x532057(0x1bb)])!=null?_0x498b95:_0x21b65d)!=null?_0x216fe4:Es;}[_0x1f558c(0x42c)](){var _0x403181=_0x1f558c,_0x9fed36,_0x4432ae;const _0x409ec4=this[_0x403181(0x405)]['getConfig'](Is),_0x27e5c1=this[_0x403181(0x405)][_0x403181(0x2a0)](q);return(_0x4432ae=(_0x9fed36=_0x27e5c1==null?void 0x0:_0x27e5c1['signUrlServerUrl'])!=null?_0x9fed36:_0x409ec4)!=null?_0x4432ae:Ts;}[_0x1f558c(0x2aa)](){var _0xc9720f=_0x1f558c,_0x450825;const _0x2a16ba=this[_0xc9720f(0x405)]['getConfig'](q);return(_0x450825=_0x2a16ba==null?void 0x0:_0x2a16ba['downloadEndpointUrl'])!=null?_0x450825:location[_0xc9720f(0x41a)];}[_0x1f558c(0x229)](_0x1f60e1,_0xcde69b){var _0x2589e1=_0x1f558c;return _0x1f60e1[_0x2589e1(0x37a)](_0x2589e1(0x223),_0xcde69b);}[_0x1f558c(0x36f)](){var _0x1edf43=_0x1f558c;this['_waitCount']-=0x1,this[_0x1edf43(0x3d8)][_0x1edf43(0x140)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x5b2811(_0x5b9922)),gt(0x1,_0x4ea54a),gt(0x2,_0x5b2811(_0x30c3be))],Ot);function _0x3db1(){var _0x133e35=['_status$','stringify','key','YUUMI_URL_COL_OUT_OF_RANGE','_incrementRevisionNumber','words','SNAPSHOT_INVALID_SNAPSHOT','FileId','editing\x20status\x20changed\x20to','HELLO','toString','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_localCacheService','equals','fetchMiss','APPLY_PERMISSION_DENIED','_listenToNetworkCondition','USERS_LEAVE','onRemoteChangeset','_createHmacHelper','TOO_MANY_REQUESTS','updatePermissionPoint','Cipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','reqId','_changesetReqId','SYNCED','refreshPermission','_waitForHeartbeatResponse','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_map','generateRandomId','authzUrl','avatar','HttpExport','_socketReady','HEARTBEAT_INTERVAL','_getDownloadEndpointURL','_prevBlock','body','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/jpg','univer-pro.collaboration-client.network-condition.service','padding','LICENSE_EXPORT_SIZE_EXCEEDED','status$','_onLocalMutation','_getCtorByUniverType','getImageSourceCache','formatter','_startTelemetryCollaborationNewChangeset','objects','_nDataBytes','textRanges','LICENSE_IMPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','onTransformIME','_networkConditionService','_localeService','HEARTBEAT','abs','Univer','collaboration_new_changeset','socketService','x-univer-host','CONFLICT','sid','_transitionLocked','_data','enableAuthServer','People','LOGIN_URL_KEY','COLLAB_WEB_SOCKET_URL','snapshot','_pendingMutations','POST','socket\x20close','msCrypto','_HTTPService','_lockTransition','disposeWithMe','USERS_ENTER','?size=','_httpService','_undoStacks','slice','_process','duration','_checkMissing','NOT_COLLAB','_getCurrentRevision','&assign=','/universer-api/uniscript','debug','_retryCount','message$','updatePermissionObjEvent','init','getSheetBlock','_init','_keySchedule','PasswordBasedCipher','emitEvent','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createDecryptor','onSyncEditingCollabCursor','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_userManagerService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','data','actions','revision','capture','_minBufferSize','PERSON','PERMISSION_REJ','_imageSourceCache','createEncryptor','UNAUTHENTICATED','cmd','Undefined','updateOfflineData','pluginName','_executeRemoteChangeset','saveImage','_submitChangeset','fromCollab','_acknowledgedAwaitingChangeset','EvpKDF','YUUMI_UNABLE_LOAD_URL','_initDependencies','getInterceptPoints','_doFinalize','_permissionService','_state','resend','onMissedChangesetFetched','/universer-api/file/{fileID}/sign-url','keySize','enableSingleActiveInstanceLock','AES','asObservable','_type','set','Malformed\x20UTF-8\x20data','image/bmp','_candidateSocket','_doCryptBlock','loadSheet','\x0aAfter:\x20','conflict','_cipher','HMAC','_collaborationUIEventService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','patch','finalize','SUBMIT_CHANGESET','UNIVER_COLLABORATION_CLIENT_PLUGIN','/collaborator','_commentUpdate$','_mode','UNISCRIPT_RUN','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','kdf','failed\x20to\x20apply\x20missed\x20changesets!','open$','shouldCloseConn','fetch_missing','every','RECV','univer-pro.collaboration-client-socket-service','_applyRemoteChangeset','_doProcessBlock','3565540nFGXXC','UnitEmbedded','UPDATE_CURSOR','unitId','setConfig','LIVESHARE_REQUEST_HOST','reconnect','_oKey','_logService','_onJoinRoomEvent','complete','image/gif','getMember','/unit/','enc','_onRemoteRetry','/universer-api/comb','transformUndoRedo','_getRedoStack','commentUpdate$','UNRECOGNIZED','editingUnit','values','_compressMutationService','_telemetryService','encrypt','_resendWithTimeout','fetching\x20missing\x20changesets\x20from\x20','_rescheduleHeartbeat','onCommentUpdate','randomUUID','/block/','ceil','onMissingChangesets','random','_memberService','_initCloseConn','onTransformState','ERROR_EXCEED_SIZE','1560414xaXLxh','HmacSHA1','error$','_onUserLeave','getSnapshotAPIPath','[OfflineState]:\x20received\x20acknowledgement.','112034HexZDR','liveShareOperation','prototype','_members','FETCH_MISS','entityInit$','_createHelper','_decreaseWaiting','incrementRevOfUnit','_keyPriorReset','getCurrentRevOfUnit','_eventService','_createSocket','_joinRoom','reduce','clear','_commentService','hasher','replace','&source=','ERROR_IMAGE_TYPE','target','_retryConnectingTimer','fromCharCode','onSendChangeset','_ENC_XFORM_MODE','getDeserializedSheetBlock','entries','_timeoutTimer','onStarting','result','onRemoteRetry','_collaborationPaused','_handler','_transformService','_clearRedo','[OfflineState]:\x20received\x20changeset.','_onConnectionFailed','createInstance','SHA1','/allowed','json','from','[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.','collabWebSocketUrl','clone','LICENSE_DISTRO_REJECTED','_snapshotServerService','COMPLETION_FINISHED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getWorkbookSelections','JOIN_ROOM_PERMISSION_DENIED','Utf8','awaiting_with_pending','processBlock','UNKNOWN_CODE','_config','updateCollaborator','getImage','compose','subscribe','_clearLocalCache','PY_RUNTIME_SCRIPT_ERROR','getUnitType','awaitingChangeset','objectID','updateCursorEvent','toggleOffline','getRandomValues','socket$','encryptBlock','404840neKVAl','map','[SyncedState]:\x20received\x20rejection.','params','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCurrentSelections','not_collab','blockSize','_loadSheet','HEARTBEAT_TIMEOUT','_onOffline','originalMeta','GLOBAL_ROOMS_CNT_EXCEEDS','executeCommand','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_onRemoteChangeset','_doReset','_tryEnsureSocket','_onConnectionOpen','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitStatus$','url','_state$','FAIL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_collaborationTimeoutTimer','LOCAL_CACHE_INTERVAL','mixIn','UNIVER_UNKNOWN','sessionStatus$','isPermissionRej','$super','SNAPSHOT_HAS_BEEN_REMOVED','_onConflict','UNIVER_SHEET','joinEvent','session.room-cnt-exceeds','decryptBlock','_transformIMECache','_change$','_schedule','/object/','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','max','LIVESHARE_OPERATION','unitID','toLowerCase','BufferedBlockAlgorithm','UNIVER_SLIDE','buffer','transformMutationsWithChangeset','permissionRejEvent','code','BlockCipher','action','_key','execute','getUnitOnRev','ERROR_IMAGE','string','_resendTimer','crypto','LIVESHARE_TERMINATE','removeMember','WordArray','_awaitingChangeset','_roomMembers','COMPRESS_MUTATION_SEND','_toggleOnline','encode','salt','[CollaborationSession]','[SyncedState]:\x20received\x20acknowledgement.','onload','ciphertext','findIndex','getFocusedUnit','readInt32LE','_getAPIPrefix','createSocket','_getLoginPath','_transformStateCache','_configService','charCodeAt','includes','infoRsp','INVALID_ARGUMENT','retryConnectingInterval','rng','_hasher','_singleActiveUnitService','onRemoteAck','deleteCollaborator','_toggleOffline','listRoles','_tryReconnect','uniscriptRunEvent','onTransformSelections','SOCKET_FAILED','MD5','OTHER_CLIENTS_EDITING','__Key__','append','origin','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','loadOfflineData','pipe','unit-cache-','min','_throwTelemetryCollaborationNewChangeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','c1Prime','session','[FetchMissState]','Pkcs7','transformChangesets','onLocalMutation','name','_xformMode','_getSignURL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/authz','_getSendChangesetTimeout','5xiaOBV','indexOf','Encryptor','_substituteRedoStack','now','_univerInstanceService','filter','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','disableLocalCache','reset','_iKey','algo','OpenSSL','_clearTimeoutTimer','hostname','CBC','list','DEFAULT_FILE_NAME','loadDoc','_sheetTransformSelectionsService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/oidc/authpage','next','m2Prime','session.join-failed','UNIVER_DOC','_sendHeartbeatTimer','error','session.room-full','concat','LICENSE_MAX_UNITS_EXCEEDED','routeKey','APPLY_REJECT','_sendingTimer','UUID','PENDING','_onRemoteRejected','_members$','updateMember','_onCombEvent','3458046eCZTSn','BASE64','put','_sendHeartbeat','_createHandler','[DataLoaderService]','length','_snapshotService','location','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','image/jpeg','getResourcesRequest','type','initWorkbookPermissionChange','baseRev','putCollaborators','has','_revisionService','_emitMembers','collaboratorID','delete','collabSubmitChangesetUrl','_entities','JOIN_ROOM_NOT_EXISTS','catch','?url=','members','JOIN','_clearCollaborationTimeoutTimer','_parse','transformStack\x20failed!','_initUnitPermissionChange','MUTATION','_transformStack','defineProperty','_unitInfo$','_updateState','call','forEach','CipherParams','[UniverCollaborationClientPlugin]','_sender','create','_collaborationSessionService','_unitID','readyForCollab','collaborators','AWAITING_WITH_PENDING','floor','_changesetSessionId','JOIN_ROOM_FULL','getRoom','reject','transformSelections','_initRequestHeader','/role','_collabSessionService','_onFetchMissResult','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','OFFLINE','SHOULD_CLOSE_CONN','size','csAckEvent','_sessions','iterations','randomBytes','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','FETCH_MISSING','objectType','_redoStacks','onRemoteRej','startsWith','unknown','byteOffset','add','getTypeOfUnitDisposed$','RETRY_CONNECTING_MAX_COUNT','/-/object/list','45xtojuy','_initMergeInterceptor','_updateStatus','requireSession','closeSession','mode','onCommandExecuted','collaboration-client.config','\x0aCurrent:\x20','UNKNOWN_CMD','unitInfo$','src','_handlerCallback','_showConflictNotification','ALREADY_EXISTS','_injector','socket\x20open.','UPDATE_PERMISSION_OBJ','_telemetryInfo','compute','image/png','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CLOSE_ROOM','uploadFileServerUrl','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','join','sigBytes','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FAILED','status','objectActions','getTime','find','Hasher','_instanceService','offline','event$','change$','rev','mutations','format','_getAPIPrefixPath','localeService','[CollaborationUndoRedoService]','localCacheService','_commandService','getCurrentUser','INTERNAL_ERROR','responseType','HttpImport','CONNECTOR_DATA_TOO_LARGE','/universer-api/user/session-ticket','[PendingState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/-/object/-/batch_allowed','send','function','PERMISSION_DENIED','clamp','batchAllowed','submit\x20changeset\x20error!','_onUserJoin','get','then','_roomCreated$','byteLength','4358802jRNply','roles','HmacMD5','getLatestCsReqIdBySid','push','NO_OTHER_CLIENTS_EDITING','requestParams','SOCKET_FAILED_RETRY','COMMENT_UPDATE','synced','copyFileMeta','OPTIONAL','workbook','subject','_scheduleCollaborationTimeoutTimer','__esModule','_fetchMissChangesets','StreamCipher','_stopTelemetryCollaborationNewChangeset','apply','hasOwnProperty','update','_nRounds','_DEC_XFORM_MODE','deepClone','changesets','range','ivSize','_append','getCollabEntity$','pauseCollaboration','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','resolve','subUnitId','default','eventID','setShowComponents','userID','appendMutation','_socket','\x20to\x20','_clearUndo','ENSURE_SNAPSHOT_EXECUTION','getValue','_undoRedoService','_loadDoc','loadUnit','substr','auth.needGotoLoginAlert','MSG_FOR_ERROR','IDLE','href','sessionStatus','joinRsp','_isPermissionRej','_socketService','stopTime','_getUndoStack','OTHER_CLIENT_EDITING','{fileID}','_onMessage','_syncEditingCollabCursor','interceptor','dispose','_socketMessageSubscription','_replaceFileID','pad','PSEUDO_FETCH_MISSING_RESULT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getMemberID','unpad','extend','_remoteChangesetQueue','onlyLocal','UNDEFINED','newCsEvent','parse','Base64','cfg','addImageSourceCache','Base','memberID','sendChangesetTimeout','LIVESHARE_FETCH_OPERATIONS','[CollaborationSessionService]:\x20socket\x20error','repeat','charAt','getTypeOfUnitAdded$','state','1707112MTQYsD','readAsDataURL','UNIVER_PROJECT','lib','NoPadding','[PendingState]:\x20received\x20rejection.','_disableEditing','/fetchmissing?from=','_resendTimeout','fetchMissingChangesets','exports','state$','INGEST','_startCollaboration','enableOfflineEditing','_iv','registerHTTPInterceptor','splice','getUnitId','/new_changes','saveSheetBlock','allowed','NEW_CHANGESETS','__creator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toggleOnline','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','selections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_shouldReportTelemetry','LEAVE','c2Prime','ONLINE','_waitCount','resourceIDs','/universer-api/snapshot/','getSheetId','_event$','post','fetchThroughInterceptors','bind','override','waitForRoom$','snapshotServerUrl','close','_unlockTransition','dispose$','commentUpdateEvent','_entityInit$','getCollabEntity','saveSnapshot','pending','_hash','_sessionStatus$','online$','JOINING','_scheduleCompleteTimestamp','_updateLocalCache','onStateChange','_transformSelections','roomInfos','SUBMIT_CHANGESET_TIMEOUT','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect'];_0x3db1=function(){return _0x133e35;};return _0x3db1();}var Cs=Object['defineProperty'],bs=Object[_0x1f558c(0x330)],Rs=(_0x601515,_0x100846,_0x4ac7b9,_0x5d9883)=>{var _0x18dddd=_0x1f558c;for(var _0x370929=_0x5d9883>0x1?void 0x0:_0x5d9883?bs(_0x100846,_0x4ac7b9):_0x100846,_0x582aff=_0x601515[_0x18dddd(0x158)]-0x1,_0x2757ef;_0x582aff>=0x0;_0x582aff--)(_0x2757ef=_0x601515[_0x582aff])&&(_0x370929=(_0x5d9883?_0x2757ef(_0x100846,_0x4ac7b9,_0x370929):_0x2757ef(_0x370929))||_0x370929);return _0x5d9883&&_0x370929&&Cs(_0x100846,_0x4ac7b9,_0x370929),_0x370929;},hi=(_0x582283,_0x367e8d)=>(_0x325768,_0x26a1e1)=>_0x367e8d(_0x325768,_0x26a1e1,_0x582283);const Os=_0x1f558c(0x42e);let yt=class{constructor(_0x4eaaa7,_0x5eb19d){var _0xecd69b=_0x1f558c;this['_configService']=_0x4eaaa7,this[_0xecd69b(0x2d4)]=_0x5eb19d;}[_0x1f558c(0x1ce)](){var _0x4f90c8=_0x1f558c,_0x236c25,_0x34db7c;const _0x52905a=this[_0x4f90c8(0x405)]['getConfig'](Ni),_0x3bbfc0=this[_0x4f90c8(0x405)]['getConfig'](q);return(_0x34db7c=(_0x236c25=_0x3bbfc0==null?void 0x0:_0x3bbfc0[_0x4f90c8(0x2a5)])!=null?_0x236c25:_0x52905a)!=null?_0x34db7c:Os;}async[_0x1f558c(0x13a)](_0x503019){var _0x37280a=_0x1f558c;const _0x1ccff6=this['_getAPIPrefixPath']()+_0x37280a(0x32a);return{'list':[{'title':_0x37280a(0x2cc),'mentions':(await this['_HTTPService']['get'](_0x1ccff6,{'params':{'objectID':_0x503019[_0x37280a(0x33e)],'unitID':_0x503019['unitId']}}))['body'][_0x37280a(0x181)]['map'](_0x586df9=>({'objectId':_0x586df9['id'],'name':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x42a)],'metadata':{'icon':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x2a6)]},'label':_0x586df9['subject'][_0x37280a(0x42a)],'objectType':_0x4e27b9[_0x37280a(0x2fc)]})),'metadata':{},'type':_0x4e27b9['PERSON']}]};}};yt=Rs([hi(0x0,_0x5b2811(_0x4ea54a)),hi(0x1,_0x5b2811(_0x5b9922))],yt);var ys=Object[_0x1f558c(0x175)],Ns=Object[_0x1f558c(0x330)],Ds=(_0x3b3503,_0x5b43ee,_0x472334,_0x4f3ef1)=>{var _0x25fedf=_0x1f558c;for(var _0x22c226=_0x4f3ef1>0x1?void 0x0:_0x4f3ef1?Ns(_0x5b43ee,_0x472334):_0x5b43ee,_0x357a15=_0x3b3503[_0x25fedf(0x158)]-0x1,_0x5c31a4;_0x357a15>=0x0;_0x357a15--)(_0x5c31a4=_0x3b3503[_0x357a15])&&(_0x22c226=(_0x4f3ef1?_0x5c31a4(_0x5b43ee,_0x472334,_0x22c226):_0x5c31a4(_0x22c226))||_0x22c226);return _0x4f3ef1&&_0x22c226&&ys(_0x5b43ee,_0x472334,_0x22c226),_0x22c226;},Ue=(_0x58d992,_0x1cea37)=>(_0x12fd01,_0x52e57b)=>_0x1cea37(_0x12fd01,_0x52e57b,_0x58d992);let at=class extends _0x1a5dd9{constructor(_0x29e80b,_0xb6d63a,_0x1fcf73,_0x350e04,_0x19a039){var _0x256b4b=_0x1f558c;super(),this[_0x256b4b(0x1b3)]=_0x29e80b,this[_0x256b4b(0x435)]=_0xb6d63a,this[_0x256b4b(0x30f)]=_0x1fcf73,this[_0x256b4b(0x17e)]=_0x350e04,this[_0x256b4b(0x323)]=_0x19a039,this[_0x256b4b(0x172)](),this[_0x256b4b(0x35f)]();}['_initCloseConn'](){var _0x2c6fb4=_0x1f558c;const _0x5be4a4=async _0x3dd495=>{var _0x467f6e=_0x4725;(await this['_collaborationSessionService'][_0x467f6e(0x1a7)](_0x3dd495))[_0x467f6e(0x1c9)][_0x467f6e(0x41e)](_0x1bdf9d(_0x1858e7=>_0x1858e7[_0x467f6e(0x20b)]===_0x238e1f[_0x467f6e(0x190)]),_0x30142f(this[_0x467f6e(0x270)]))[_0x467f6e(0x3a4)](_0x524afe=>{var _0x279de2=_0x467f6e;const _0x5a09d5=_0x524afe,{reason:_0x2abdb6}=_0x5a09d5[_0x279de2(0x2f7)];this[_0x279de2(0x323)][_0x279de2(0x2ec)]({'id':se[_0x279de2(0x1ba)],'data':_0x2abdb6}),this[_0x279de2(0x30f)]['updatePermissionPoint'](new _0x6a1b02(_0x3dd495)['id'],!0x1),this['_collaborationSessionService'][_0x279de2(0x1a8)](_0x3dd495);});};_0x404c78(this['_univerInstanceService'][_0x2c6fb4(0x23f)](_0x3886a9['UNIVER_SHEET']),this[_0x2c6fb4(0x435)]['getTypeOfUnitAdded$'](_0x3886a9[_0x2c6fb4(0x143)]))['pipe'](_0xeca816(_0xc5d8c8=>_0xc5d8c8['getUnitId']()),_0x1bdf9d(_0x38db8c=>!_0x5c098a(_0x38db8c)),_0x30142f(this[_0x2c6fb4(0x270)]))[_0x2c6fb4(0x3a4)](_0x4e46ce=>{_0x5be4a4(_0x4e46ce);});}[_0x1f558c(0x172)](){var _0x33f8f2=_0x1f558c;const _0x58d07c=async _0x3ef88c=>{var _0x4cb0c6=_0x4725;const _0x155477=await this[_0x4cb0c6(0x17e)][_0x4cb0c6(0x1a7)](_0x3ef88c),_0x18f2f1=this['_injector']['get'](_0x15e11e);_0x155477[_0x4cb0c6(0x1c9)][_0x4cb0c6(0x41e)](_0x1bdf9d(_0x408b2f=>_0x408b2f[_0x4cb0c6(0x20b)]===_0x238e1f['UPDATE_PERMISSION_OBJ']),_0x30142f(this[_0x4cb0c6(0x270)]))[_0x4cb0c6(0x3a4)](_0x3c412e=>{var _0x2120dd=_0x4cb0c6;const _0x4038b1=_0x3c412e,{objectId:_0x2aff2f}=_0x4038b1[_0x2120dd(0x2f7)];_0x2aff2f===_0x3ef88c?_0x18f2f1[_0x2120dd(0x160)](_0x3ef88c):_0x18f2f1[_0x2120dd(0x29e)](_0x3ef88c,_0x2aff2f);});};_0x404c78(this[_0x33f8f2(0x435)][_0x33f8f2(0x23f)](_0x3886a9[_0x33f8f2(0x3d3)]))['pipe'](_0xeca816(_0x2585de=>_0x2585de[_0x33f8f2(0x253)]()),_0x1bdf9d(_0x348d6a=>!_0x5c098a(_0x348d6a)),_0x30142f(this[_0x33f8f2(0x270)]))[_0x33f8f2(0x3a4)](_0x456290=>{_0x58d07c(_0x456290);});}};at=Ds([Ue(0x0,_0x5b2811(_0x5b79bd)),Ue(0x1,_0x30c3be),Ue(0x2,_0x5b9158),Ue(0x3,_0x5b2811(Le)),Ue(0x4,_0x5b2811(pe))],at);var Ps=Object[_0x1f558c(0x175)],ws=Object[_0x1f558c(0x330)],Us=(_0x1de490,_0x3ad4c8,_0x4461e2,_0x40ca7b)=>{for(var _0x559b6a=_0x40ca7b>0x1?void 0x0:_0x40ca7b?ws(_0x3ad4c8,_0x4461e2):_0x3ad4c8,_0x314b02=_0x1de490['length']-0x1,_0x915d2b;_0x314b02>=0x0;_0x314b02--)(_0x915d2b=_0x1de490[_0x314b02])&&(_0x559b6a=(_0x40ca7b?_0x915d2b(_0x3ad4c8,_0x4461e2,_0x559b6a):_0x915d2b(_0x559b6a))||_0x559b6a);return _0x40ca7b&&_0x559b6a&&Ps(_0x3ad4c8,_0x4461e2,_0x559b6a),_0x559b6a;},_i=(_0x5518b4,_0x12725d)=>(_0x38eab3,_0x47c013)=>_0x12725d(_0x38eab3,_0x47c013,_0x5518b4);let Nt=class{constructor(_0x2d299a,_0x59a0fb){var _0x3fd296=_0x1f558c;this[_0x3fd296(0x405)]=_0x2d299a,this[_0x3fd296(0x2d9)]=_0x59a0fb;}async[_0x1f558c(0x3ec)](_0x4934e7,_0x24574b){var _0x3ecaa4=_0x1f558c,_0x424cc4;const {unitID:_0x24f2f8,type:_0x23f6db,revision:_0x34aaf3=0x0}=_0x24574b,_0x279310=this[_0x3ecaa4(0x366)]()+'/'+_0x23f6db+_0x3ecaa4(0x348)+_0x24f2f8+'/rev/'+_0x34aaf3,_0x3b29c8=(await this[_0x3ecaa4(0x2d9)]['get'](_0x279310))[_0x3ecaa4(0x2ac)],_0x2bca10=(_0x424cc4=_0x3b29c8[_0x3ecaa4(0x2cf)])==null?void 0x0:_0x424cc4[_0x3ecaa4(0x1f3)];if(_0x2bca10){const _0x439fc0=_0x2bca10==null?void 0x0:_0x2bca10[_0x3ecaa4(0x3ba)],_0x151b2c=_0x9a9792['encode'](_0x3b9e94(_0x439fc0));_0x2bca10[_0x3ecaa4(0x3ba)]=_0x151b2c,Object[_0x3ecaa4(0x383)](_0x2bca10['sheets'])[_0x3ecaa4(0x179)](([,_0x598a8a])=>{var _0x39e69a=_0x3ecaa4;const _0x518329=_0x598a8a[_0x39e69a(0x3ba)],_0x57f1fa=_0x9a9792[_0x39e69a(0x3f8)](_0x3b9e94(_0x518329));_0x598a8a['originalMeta']=_0x57f1fa;});}return _0x3b29c8;}async[_0x1f558c(0x2e8)](_0x2b35d5,_0x47074f){var _0x772a27=_0x1f558c;const {unitID:_0x56beb6,type:_0x388a1d,blockID:_0x2d8544}=_0x47074f,_0x228308=this['_getAPIPrefix']()+'/'+_0x388a1d+_0x772a27(0x348)+_0x56beb6+'/block/'+_0x2d8544;return(await this[_0x772a27(0x2d9)][_0x772a27(0x1e3)](_0x228308))[_0x772a27(0x2ac)];}async[_0x1f558c(0x382)](_0x35c164,_0x198541){var _0xe832b3=_0x1f558c;const {unitID:_0xd081f3,type:_0x13d1e6,blockID:_0x306664}=_0x198541,_0x2511d6=this[_0xe832b3(0x401)]()+_0xe832b3(0x35a)+_0x13d1e6+_0xe832b3(0x348)+_0xd081f3+_0xe832b3(0x35a)+_0x306664;return(await this['_httpService'][_0xe832b3(0x1e3)](_0x2511d6))['body'];}async[_0x1f558c(0x24a)](_0x5075c9,_0x444349){var _0x35290c=_0x1f558c;const {unitID:_0x2d07db,type:_0x2545cb,from:_0x1d126b,to:_0x4568df}=_0x444349,_0x7902f=this[_0x35290c(0x401)]()+'/'+_0x2545cb+_0x35290c(0x348)+_0x2d07db+_0x35290c(0x248)+_0x1d126b+'&to='+_0x4568df;return(await this[_0x35290c(0x2d9)][_0x35290c(0x1e3)](_0x7902f))['body'];}['getSnapshotAPIPath'](){var _0x202b30=_0x1f558c,_0x4869d3;return(_0x4869d3=this['_configService'][_0x202b30(0x2a0)](En))!=null?_0x4869d3:this[_0x202b30(0x401)]();}[_0x1f558c(0x401)](){var _0xd93bdb=_0x1f558c,_0x4480f1,_0x22325f;const _0x26bac8=this[_0xd93bdb(0x405)][_0xd93bdb(0x2a0)](gn),_0x329094=this[_0xd93bdb(0x405)]['getConfig'](q);return(_0x22325f=(_0x4480f1=_0x329094==null?void 0x0:_0x329094[_0xd93bdb(0x26d)])!=null?_0x4480f1:_0x26bac8)!=null?_0x22325f:Sn;}async[_0x1f558c(0x15e)](_0x40affa,_0x11d391){var _0x103df4=_0x1f558c;const _0x1166b0=_0x103df4(0x265)+_0x11d391['type']+_0x103df4(0x348)+_0x11d391[_0x103df4(0x3e0)]+'/resources';return(await this[_0x103df4(0x2d9)][_0x103df4(0x1e3)](_0x1166b0,{'params':{'resourceId':JSON[_0x103df4(0x283)](_0x11d391[_0x103df4(0x264)])}}))[_0x103df4(0x2ac)];}[_0x1f558c(0x274)](){var _0x55c0da=_0x1f558c;throw new Error(_0x55c0da(0x3c4));}[_0x1f558c(0x255)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1ea)](){var _0xd1a3b9=_0x1f558c;throw new Error(_0xd1a3b9(0x3c4));}};Nt=Us([_i(0x0,_0x4ea54a),_i(0x1,_0x5b2811(_0x5b9922))],Nt);var As=Object[_0x1f558c(0x175)],xs=Object[_0x1f558c(0x330)],Ls=(_0x118a9c,_0x503f4b,_0x244f20,_0x52a483)=>{for(var _0x498495=_0x52a483>0x1?void 0x0:_0x52a483?xs(_0x503f4b,_0x244f20):_0x503f4b,_0x54acdd=_0x118a9c['length']-0x1,_0x1b79b3;_0x54acdd>=0x0;_0x54acdd--)(_0x1b79b3=_0x118a9c[_0x54acdd])&&(_0x498495=(_0x52a483?_0x1b79b3(_0x503f4b,_0x244f20,_0x498495):_0x1b79b3(_0x498495))||_0x498495);return _0x52a483&&_0x498495&&As(_0x503f4b,_0x244f20,_0x498495),_0x498495;},Ae=(_0xf7de90,_0x538d87)=>(_0x4944e6,_0xa2d163)=>_0x538d87(_0x4944e6,_0xa2d163,_0xf7de90);let Dt=class extends _0x457268{constructor(_0x2a943f,_0x3e26b2,_0x1c30b1,_0xbdb752,_0x3f6246){var _0x3a4b2b=_0x1f558c;super(_0x2a943f,_0x3e26b2,_0x1c30b1),this[_0x3a4b2b(0x38a)]=_0xbdb752,this[_0x3a4b2b(0x343)]=_0x3f6246;}[_0x1f558c(0x34c)](_0x1076ba,_0x1570ec){var _0x2c8222=_0x1f558c;const _0x3e52a2=this[_0x2c8222(0x221)](_0x1076ba);if(_0x3e52a2)try{const _0x35129e=this['_transformStack'](_0x3e52a2,_0x1570ec);this[_0x2c8222(0x28d)](_0x1076ba,_0x35129e);}catch(_0x4def73){this[_0x2c8222(0x343)][_0x2c8222(0x145)]('[CollaborationUndoRedoService]',_0x4def73),this[_0x2c8222(0x211)](_0x1076ba);}const _0x1f6566=this[_0x2c8222(0x34d)](_0x1076ba);if(_0x1f6566)try{const _0x187220=this[_0x2c8222(0x174)](_0x1f6566,_0x1570ec);this[_0x2c8222(0x433)](_0x1076ba,_0x187220);}catch(_0x4924be){this[_0x2c8222(0x343)][_0x2c8222(0x145)](_0x4924be),this[_0x2c8222(0x38b)](_0x1076ba);}}[_0x1f558c(0x211)](_0x5bd5a3){var _0x17345a=_0x1f558c;const _0x388e76=this[_0x17345a(0x221)](_0x5bd5a3);_0x388e76&&(_0x388e76[_0x17345a(0x158)]=0x0,this[_0x17345a(0x1a6)]());}[_0x1f558c(0x38b)](_0x13ae24){var _0x55fd1f=_0x1f558c;const _0x303fc2=this['_getRedoStack'](_0x13ae24);_0x303fc2&&(_0x303fc2[_0x55fd1f(0x158)]=0x0,this[_0x55fd1f(0x1a6)]());}[_0x1f558c(0x28d)](_0x5dd2f0,_0x6d582e){var _0x3eddd4=_0x1f558c;this[_0x3eddd4(0x2da)][_0x3eddd4(0x319)](_0x5dd2f0,_0x6d582e),this[_0x3eddd4(0x1a6)]();}['_substituteRedoStack'](_0x1ea684,_0x369a8c){var _0x2f4140=_0x1f558c;this[_0x2f4140(0x19b)][_0x2f4140(0x319)](_0x1ea684,_0x369a8c),this[_0x2f4140(0x1a6)]();}['_transformStack'](_0x48d0ff,_0x412b5f){var _0x491152=_0x1f558c;const _0x5b1226=[];let _0xaa9454=_0x412b5f,_0x138d66=_0x412b5f;for(let _0x1f1322=_0x48d0ff['length']-0x1;_0x1f1322>=0x0;_0x1f1322--){const {unitID:_0x5bae4c,undoMutations:_0x322c5d,redoMutations:_0x3a67e6}=_0x48d0ff[_0x1f1322],_0x1fb6ef=this[_0x491152(0x38a)][_0x491152(0x3e5)](_0xaa9454,_0x322c5d),_0xf630cd=this[_0x491152(0x38a)]['transformMutationsWithChangeset'](_0x138d66,_0x3a67e6);if(_0x10ccbc(_0x1fb6ef)||_0x10ccbc(_0xf630cd)){this['_logService'][_0x491152(0x145)](_0x491152(0x1d0),_0x491152(0x171),_0x1fb6ef,_0xf630cd);break;}_0xaa9454=_0x1fb6ef[_0x491152(0x424)],_0x138d66=_0xf630cd[_0x491152(0x424)],_0x5b1226[_0x491152(0x1eb)]({'unitID':_0x5bae4c,'undoMutations':_0x1fb6ef[_0x491152(0x141)],'redoMutations':_0xf630cd['m2Prime']});}return _0x5b1226['reverse']();}};Dt=Ls([Ae(0x0,_0x30c3be),Ae(0x1,_0x456150),Ae(0x2,_0x201420),Ae(0x3,_0x45b9e1),Ae(0x4,_0x574408)],Dt);var Ui=Object[_0x1f558c(0x175)],Ms=Object[_0x1f558c(0x330)],$s=(_0x1a19e0,_0x1fcdd0,_0x327650)=>_0x1fcdd0 in _0x1a19e0?Ui(_0x1a19e0,_0x1fcdd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x327650}):_0x1a19e0[_0x1fcdd0]=_0x327650,Hs=(_0x40de5e,_0x195004,_0x4fc68d,_0x44517b)=>{var _0x2ec702=_0x1f558c;for(var _0x49f8c6=_0x44517b>0x1?void 0x0:_0x44517b?Ms(_0x195004,_0x4fc68d):_0x195004,_0x3d74b7=_0x40de5e[_0x2ec702(0x158)]-0x1,_0x19ace2;_0x3d74b7>=0x0;_0x3d74b7--)(_0x19ace2=_0x40de5e[_0x3d74b7])&&(_0x49f8c6=(_0x44517b?_0x19ace2(_0x195004,_0x4fc68d,_0x49f8c6):_0x19ace2(_0x49f8c6))||_0x49f8c6);return _0x44517b&&_0x49f8c6&&Ui(_0x195004,_0x4fc68d,_0x49f8c6),_0x49f8c6;},St=(_0x4917f9,_0x224464)=>(_0x59ea0b,_0x515ef2)=>_0x224464(_0x59ea0b,_0x515ef2,_0x4917f9),ks=(_0x416efc,_0x2abe36,_0x59890b)=>$s(_0x416efc,_0x2abe36+'',_0x59890b);const js=_0x1f558c(0x329);let Pt=class extends _0x5290de{constructor(_0xb93f19,_0x3cde3a,_0x3cb917,_0x158a1b){var _0x4528b1=_0x1f558c;super(),N(this,_0x4528b1(0x3a0)),(this['_logService']=_0x3cde3a,this[_0x4528b1(0x1b3)]=_0x3cb917,this['_configService']=_0x158a1b);const {..._0x4def11}=_0x33bad6({},An,_0xb93f19);if(!_0x4def11[_0x4528b1(0x2c5)])throw new Error(_0x4528b1(0x41b));this[_0x4528b1(0x3a0)]=_0x4def11,this[_0x4528b1(0x405)][_0x4528b1(0x33f)](q,_0x4def11);}[_0x1f558c(0x385)](){var _0x5d63da=_0x1f558c;this[_0x5d63da(0x2ed)](),this[_0x5d63da(0x30c)]();}[_0x1f558c(0x2ed)](){var _0x2cbf3c=_0x1f558c,_0x3b916d,_0x1be061;this[_0x2cbf3c(0x1b3)][_0x2cbf3c(0x163)](_0x46c745)&&this[_0x2cbf3c(0x343)][_0x2cbf3c(0x145)](_0x2cbf3c(0x17b),_0x2cbf3c(0x399));const _0x13f316=_0x591a49([[_0x46c745,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this['_config'][_0x2cbf3c(0x2c5)]}],[_0x389d38,{'useClass':Nt}],[_0x1b9835,{'useClass':bt}],[_0x3f6478,{'useClass':Ot}],[_0x4e0d64,{'useClass':yt}],[rt],[Ct]],(_0x3b916d=this['_config'])==null?void 0x0:_0x3b916d[_0x2cbf3c(0x26b)]);if(!((_0x1be061=this[_0x2cbf3c(0x3a0)])!=null&&_0x1be061[_0x2cbf3c(0x315)])){const _0x10f1dc=_0x13f316[_0x2cbf3c(0x3fe)](([_0x334c35])=>_0x334c35===ht);_0x10f1dc!==-0x1&&_0x13f316[_0x2cbf3c(0x252)](_0x10f1dc,0x1);}_0x8001ff(this['_injector'],_0x13f316);}['_initDependencies'](){var _0x21a740=_0x1f558c,_0x3c93df,_0x72a343,_0x5f395b;this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](_0x5b9922)[_0x21a740(0x251)]({'priority':0x14,'interceptor':_0x3cb4fe({'maxParallel':0x6})}),(_0x3c93df=this['_config'])!=null&&_0x3c93df[_0x21a740(0x24f)]||(_0x72a343=this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](J,_0x5bd1e3[_0x21a740(0x1f2)]))==null||_0x72a343[_0x21a740(0x439)](),(_0x5f395b=this['_config'])!=null&&_0x5f395b[_0x21a740(0x2cb)]&&_0x3a3a91(this[_0x21a740(0x1b3)],[[st]]),_0x3a3a91(this['_injector'],[[ot],[rt],[at]]);}};ks(Pt,_0x1f558c(0x304),js),Pt=Hs([_0x208650(_0x3c03b4,_0xc797fa),St(0x1,_0x574408),St(0x2,_0x5b2811(_0x5b79bd)),St(0x3,_0x4ea54a)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|