@univerjs-pro/collaboration-client 0.6.0-nightly.202502131606 → 0.6.0-nightly.202502141606
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 _0x41545e=_0x5230;(function(_0x1d3825,_0x3bdc23){var _0x561940=_0x5230,_0x348750=_0x1d3825();while(!![]){try{var _0x1839b0=parseInt(_0x561940(0x454))/0x1+-parseInt(_0x561940(0x3fe))/0x2*(parseInt(_0x561940(0x3a7))/0x3)+parseInt(_0x561940(0x1c4))/0x4+parseInt(_0x561940(0x35e))/0x5*(-parseInt(_0x561940(0x2dc))/0x6)+-parseInt(_0x561940(0x426))/0x7*(parseInt(_0x561940(0x471))/0x8)+parseInt(_0x561940(0x2c9))/0x9+parseInt(_0x561940(0x20b))/0xa;if(_0x1839b0===_0x3bdc23)break;else _0x348750['push'](_0x348750['shift']());}catch(_0x2c5424){_0x348750['push'](_0x348750['shift']());}}}(_0x5f23,0x915ce));var Ai=Object[_0x41545e(0x27b)],Pi=(_0x55c012,_0x559e11,_0x3d7a29)=>_0x559e11 in _0x55c012?Ai(_0x55c012,_0x559e11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a29}):_0x55c012[_0x559e11]=_0x3d7a29,N=(_0x26a9f7,_0x3785cf,_0x196e33)=>Pi(_0x26a9f7,typeof _0x3785cf!=_0x41545e(0x215)?_0x3785cf+'':_0x3785cf,_0x196e33);import{createIdentifier as _0x40779a,Inject as _0x236453,Injector as _0x35ce09,IConfigService as _0x34fb67,ILogService as _0x5b92b1,Disposable as _0x4b1c46,DisposableCollection as _0x548497,toDisposable as _0x1a739e,IUniverInstanceService as _0x214b6f,UserManagerService as _0x5964dc,UniverInstanceType as _0x16fa42,LocaleService as _0xa17142,Optional as _0x1d0f46,RxDisposable as _0x433c2f,Tools as _0x4c19fa,Rectangle as _0x807e68,ICommandService as _0x2c92b5,JSONX as _0x2b4183,CommandType as _0x36bcfe,IUndoRedoService as _0x5a61a5,IPermissionService as _0x4da13f,sequenceExecute as _0xb3a7a3,Workbook as _0xa9a7e0,MentionType as _0x426e6f,isInternalEditorID as _0x3359f1,LocalUndoRedoService as _0x2e41ca,IContextService as _0x5afa9c,DependentOn as _0x189c14,Plugin as _0x4357a2,merge as _0x48c383,mergeOverrideWithDependencies as _0x226ccd,IAuthzIoService as _0x3ac908,IMentionIOService as _0x1f17af,registerDependencies as _0x56bf0d,Quantity as _0x248523,touchDependencies as _0x266d35}from'@univerjs/core';import{Subject as _0x5daeac,merge as _0x14bf95,of as _0x65e3ad,BehaviorSubject as _0x48d6f2,takeUntil as _0x515a44,ReplaySubject as _0x4225a9,take as _0x4774cb,map as _0x5c7050,shareReplay as _0x351670,firstValueFrom as _0x3a72d0,concatMap as _0x5a3729}from'rxjs';import{map as _0x5a18b9,take as _0x118750,filter as _0x1a0aae,delay as _0x3cb60d,takeUntil as _0x48cb79}from'rxjs/operators';import{CollaborationEvent as _0x5cfd61,ISnapshotServerService as _0x1cc5ae,parseChangesetToProtocol as _0x409719,ITransformService as _0x1335c8,isTransformMutationsWithChangesetSuccess as _0x191540,mapDocumentTypeToUniverType as _0x221d05,RevisionService as _0x4fea53,isTransformChangesetsSuccess as _0xab296d,CompressMutationService as _0x4c6f39,parseProtocolChangeset as _0x2cacbb,SnapshotService as _0x460d13,textEncoder as _0x4206cc,b64DecodeUnicode as _0x22f055,isTransformMutationsWithChangesetFailure as _0x5901b0,UniverCollaborationPlugin as _0xf3fa8c}from'@univerjs-pro/collaboration';import{HTTPService as _0x15df20,ISocketService as _0x388dee,MergeInterceptorFactory as _0xf3ee5b,HTTPRequest as _0xa6c8fe,UniverNetworkPlugin as _0xe8c0f4,ThresholdInterceptorFactory as _0x2226bf}from'@univerjs/network';import{ITelemetryService as _0x149af4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1ba331}from'@univerjs/docs';import{SheetsSelectionsService as _0xb5c7c4,SetSelectionsOperation as _0x341123,InsertSheetMutation as _0x18838c,EmptyMutation as _0x59316b,WorkbookEditablePermission as _0xeafda4,SheetPermissionInitController as _0x40e8ac}from'@univerjs/sheets';import{ImageSourceType as _0x27b5d1,ImageUploadStatusType as _0x3183f8,IImageIoService as _0x5bffa7}from'@univerjs/drawing';import{getGlobalObject as _0x759dcf}from'@univerjs-pro/license';const pr=_0x41545e(0x382),mr=_0x41545e(0x200),gr=_0x41545e(0x1f5),xs=_0x41545e(0x18f),Sr=0x7d0,Er=_0x41545e(0x21f),Ir=_0x41545e(0x36b),Ls=_0x41545e(0x209),Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x41545e(0x213),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x41545e(0x283),ks=0x3e8,Or=_0x41545e(0x37b),Nr=_0x41545e(0x23e),Dr='LOGIN_URL_KEY',wr=_0x41545e(0x1f2),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x41545e(0x342);var Si=(_0x517c43=>(_0x517c43[_0x517c43[_0x41545e(0x371)]=0x0]=_0x41545e(0x371),_0x517c43[_0x517c43['OK']=0x1]='OK',_0x517c43[_0x517c43[_0x41545e(0x356)]=0x2]=_0x41545e(0x356),_0x517c43[_0x517c43[_0x41545e(0x2b0)]=0x3]=_0x41545e(0x2b0),_0x517c43[_0x517c43[_0x41545e(0x2cc)]=0x4]=_0x41545e(0x2cc),_0x517c43[_0x517c43[_0x41545e(0x1b6)]=0x5]='UNAUTHENTICATED',_0x517c43[_0x517c43[_0x41545e(0x409)]=0x6]='ALREADY_EXISTS',_0x517c43[_0x517c43[_0x41545e(0x45a)]=0x7]=_0x41545e(0x45a),_0x517c43[_0x517c43[_0x41545e(0x1ba)]=0x8]=_0x41545e(0x1ba),_0x517c43[_0x517c43[_0x41545e(0x1eb)]=0x9]='COMPLETION_FINISHED',_0x517c43[_0x517c43[_0x41545e(0x433)]=0x1389]=_0x41545e(0x433),_0x517c43[_0x517c43[_0x41545e(0x44e)]=0x1771]=_0x41545e(0x44e),_0x517c43[_0x517c43['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x517c43[_0x517c43[_0x41545e(0x457)]=0x1773]=_0x41545e(0x457),_0x517c43[_0x517c43['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x517c43[_0x517c43[_0x41545e(0x2da)]=0x1b5a]=_0x41545e(0x2da),_0x517c43[_0x517c43[_0x41545e(0x2a1)]=0x1b5b]=_0x41545e(0x2a1),_0x517c43[_0x517c43[_0x41545e(0x3cb)]=0x1b5c]=_0x41545e(0x3cb),_0x517c43[_0x517c43[_0x41545e(0x481)]=0x1b5d]=_0x41545e(0x481),_0x517c43[_0x517c43[_0x41545e(0x3c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x517c43[_0x517c43[_0x41545e(0x23d)]=0x2329]=_0x41545e(0x23d),_0x517c43[_0x517c43['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41545e(0x1b9),_0x517c43[_0x517c43['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x517c43[_0x517c43['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41545e(0x431),_0x517c43[_0x517c43['LICENSE_DISTRO_REJECTED']=0x232d]=_0x41545e(0x2ea),_0x517c43[_0x517c43[_0x41545e(0x2de)]=0x2711]=_0x41545e(0x2de),_0x517c43[_0x517c43[_0x41545e(0x248)]=0x2712]=_0x41545e(0x248),_0x517c43[_0x517c43[_0x41545e(0x2db)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x517c43[_0x517c43[_0x41545e(0x225)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x517c43[_0x517c43['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x517c43[_0x517c43[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x517c43))(Si||{}),Q=(_0x4065f4=>(_0x4065f4[_0x4065f4[_0x41545e(0x33f)]=0x0]=_0x41545e(0x33f),_0x4065f4[_0x4065f4[_0x41545e(0x378)]=0x1]='UNIVER_DOC',_0x4065f4[_0x4065f4[_0x41545e(0x1af)]=0x2]=_0x41545e(0x1af),_0x4065f4[_0x4065f4['UNIVER_SLIDE']=0x3]=_0x41545e(0x301),_0x4065f4[_0x4065f4[_0x41545e(0x269)]=0x4]='UNIVER_PROJECT',_0x4065f4[_0x4065f4[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x4065f4))(Q||{}),F=(_0x6e1f78=>(_0x6e1f78[_0x6e1f78[_0x41545e(0x3f8)]=0x0]=_0x41545e(0x3f8),_0x6e1f78[_0x6e1f78[_0x41545e(0x1d1)]=0x1]='HELLO',_0x6e1f78[_0x6e1f78[_0x41545e(0x270)]=0x2]=_0x41545e(0x270),_0x6e1f78[_0x6e1f78[_0x41545e(0x29b)]=0x3]=_0x41545e(0x29b),_0x6e1f78[_0x6e1f78['INGEST']=0x4]=_0x41545e(0x1b2),_0x6e1f78[_0x6e1f78['HEARTBEAT']=0x5]=_0x41545e(0x373),_0x6e1f78[_0x6e1f78[_0x41545e(0x229)]=0x6]=_0x41545e(0x229),_0x6e1f78[_0x6e1f78['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x6e1f78))(F||{}),ge=(_0x33c588=>(_0x33c588[_0x33c588['UNKNOWN_CODE']=0x0]=_0x41545e(0x1ec),_0x33c588[_0x33c588['OK']=0x1]='OK',_0x33c588[_0x33c588[_0x41545e(0x3b9)]=0x2]=_0x41545e(0x3b9),_0x33c588[_0x33c588[_0x41545e(0x3fc)]=0x3e9]='JOIN_ROOM_FULL',_0x33c588[_0x33c588['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x41545e(0x2a4),_0x33c588[_0x33c588[_0x41545e(0x444)]=0x3eb]=_0x41545e(0x444),_0x33c588[_0x33c588[_0x41545e(0x3e3)]=0x3ec]=_0x41545e(0x3e3),_0x33c588[_0x33c588['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x33c588))(ge||{}),Ei=(_0x153365=>(_0x153365[_0x153365[_0x41545e(0x20a)]=0x0]=_0x41545e(0x20a),_0x153365[_0x153365[_0x41545e(0x37a)]=0x1]=_0x41545e(0x37a),_0x153365[_0x153365[_0x41545e(0x456)]=0x2]=_0x41545e(0x456),_0x153365[_0x153365[_0x41545e(0x2a5)]=0x3]='UnitEmbedded',_0x153365[_0x153365[_0x41545e(0x245)]=0x4]=_0x41545e(0x245),_0x153365[_0x153365[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x153365))(Ei||{});const q=_0x41545e(0x404),Ur={};var se=(_0x412664=>(_0x412664[_0x41545e(0x2fd)]='OTHER_CLIENT_EDITING',_0x412664[_0x41545e(0x2b0)]=_0x41545e(0x2b0),_0x412664[_0x41545e(0x2cb)]='CONFLICT',_0x412664[_0x41545e(0x3c1)]=_0x41545e(0x3c1),_0x412664[_0x41545e(0x203)]=_0x41545e(0x203),_0x412664[_0x41545e(0x327)]='SOCKET_FAILED_RETRY',_0x412664['SOCKET_FAILED']=_0x41545e(0x2ee),_0x412664[_0x41545e(0x37c)]=_0x41545e(0x37c),_0x412664))(se||{});class pe{constructor(){var _0x4245b0=_0x41545e;N(this,_0x4245b0(0x276),new _0x5daeac()),N(this,_0x4245b0(0x438),this[_0x4245b0(0x276)][_0x4245b0(0x38e)]());}[_0x41545e(0x24f)](_0x5cd50a){var _0x375257=_0x41545e;this[_0x375257(0x276)][_0x375257(0x25e)](_0x5cd50a);}}const Ar=_0x40779a('univer-pro.collaboration-client.network-condition.service');function Pr(_0x116eeb){var _0x321663=_0x41545e,_0xc989fd,_0x1adc8e,_0x132230,_0x5b13c7,_0x5021a0;const _0x3b1860=_0x116eeb[_0x321663(0x226)],_0x385717=JSON[_0x321663(0x3ce)](_0x3b1860);switch(_0x385717[_0x321663(0x3d7)]){case F[_0x321663(0x373)]:case F['HELLO']:{const _0x165e73=_0x385717[_0x321663(0x446)];return{..._0x385717,'data':_0x165e73,'cmd':_0x385717[_0x321663(0x3d7)]};}case F[_0x321663(0x270)]:{const _0x3b4fd0=_0x385717[_0x321663(0x348)];return{..._0x385717,'data':_0x3b4fd0,'cmd':_0x385717['cmd']};}case F[_0x321663(0x229)]:{const _0x502783=_0x385717[_0x321663(0x1d3)];switch(_0x502783['eventID']){case _0x5cfd61[_0x321663(0x255)]:return{..._0x385717,'data':{..._0x502783,'data':(_0xc989fd=_0x502783[_0x321663(0x45d)])==null?void 0x0:_0xc989fd['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3df)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x1adc8e=_0x502783[_0x321663(0x1e3)])==null?void 0x0:_0x1adc8e['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x33b)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x132230=_0x502783[_0x321663(0x42d)])==null?void 0x0:_0x132230['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3a6)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5b13c7=_0x502783['csRejEvent'])==null?void 0x0:_0x5b13c7['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x3bc)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5021a0=_0x502783[_0x321663(0x1bf)])==null?void 0x0:_0x5021a0['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x474)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3d0)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['USERS_ENTER']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3e6)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x218)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['leaveEvent']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x375)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x2ca)]:case _0x5cfd61[_0x321663(0x3c3)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x467)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x463)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x420)]:return{..._0x385717,'data':_0x502783,'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x315)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['commentUpdateEvent']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x306)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x193)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['SHOULD_CLOSE_CONN']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x389)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x1d4)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47e)]},'cmd':_0x385717[_0x321663(0x3d7)]};default:return _0x385717;}}default:return _0x385717;}}function xr(_0xdb498c){var _0xcdef3a=_0x41545e;switch(_0xdb498c[_0xcdef3a(0x3d7)]){case F['HEARTBEAT']:case F[_0xcdef3a(0x1d1)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)]});case F[_0xcdef3a(0x1b2)]:{let _0x5a7212;switch(_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x44a)]){case _0x5cfd61[_0xcdef3a(0x474)]:{_0x5a7212={'eventID':_0x5cfd61['UPDATE_CURSOR'],'updateCursorEvent':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x218)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x218)],'leaveEvent':_0xdb498c['data'][_0xcdef3a(0x226)]};break;}case _0x5cfd61['USERS_ENTER']:{_0x5a7212={'eventID':_0x5cfd61['USERS_ENTER'],'joinEvent':_0xdb498c['data']['data']};break;}case _0x5cfd61[_0xcdef3a(0x375)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x375)],'liveShareNewHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x3c3)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x3c3)],'liveShareOperation':_0xdb498c['data']['data']};break;}case _0x5cfd61['LIVESHARE_TERMINATE']:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x463)],'liveShareTerminate':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x1ac)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x1ac)],'liveShareRequestHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x2ca)]:{_0x5a7212={'eventID':_0x5cfd61['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5a7212={'eventID':_0xdb498c[_0xcdef3a(0x226)]['eventID']};}return JSON['stringify']({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'collaMsg':_0x5a7212});}case F[_0xcdef3a(0x270)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c[_0xcdef3a(0x3d7)],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'joinReq':_0xdb498c[_0xcdef3a(0x226)]});case F[_0xcdef3a(0x29b)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'leaveReq':_0xdb498c['data']});default:throw new Error(_0xcdef3a(0x224));}}var Lr=Object[_0x41545e(0x271)],Mr=(_0x253a30,_0x26bba4,_0x3b8fe7,_0x3c119c)=>{var _0x36e8a2=_0x41545e;for(var _0x1a453c=_0x3c119c>0x1?void 0x0:_0x3c119c?Lr(_0x26bba4,_0x3b8fe7):_0x26bba4,_0x5264fb=_0x253a30[_0x36e8a2(0x2fa)]-0x1,_0x8f7bb6;_0x5264fb>=0x0;_0x5264fb--)(_0x8f7bb6=_0x253a30[_0x5264fb])&&(_0x1a453c=_0x8f7bb6(_0x1a453c)||_0x1a453c);return _0x1a453c;},Ue=(_0xfdb062,_0x55decc)=>(_0x3f6e9a,_0x58edd2)=>_0x55decc(_0x3f6e9a,_0x58edd2,_0xfdb062);const Ii=_0x40779a(_0x41545e(0x3c7));function kr(_0x4d4f19,_0x3b7247,_0x617d39){var _0x5e24ec=_0x41545e;return _0x4d4f19+'/'+_0x3b7247+_0x5e24ec(0x410)+_0x617d39+_0x5e24ec(0x3e9);}let Vt=class extends _0x4b1c46{constructor(_0x39a154,_0x461e09,_0x4d86b5,_0x11b918,_0x155631){var _0x1fef6e=_0x41545e;super(),this['_injector']=_0x39a154,this[_0x1fef6e(0x365)]=_0x461e09,this['_configService']=_0x4d86b5,this[_0x1fef6e(0x398)]=_0x11b918,this[_0x1fef6e(0x2c4)]=_0x155631;}[_0x41545e(0x336)](_0x55ccee){var _0x4d6bbd=_0x41545e;const _0x27309b=this['_injector'][_0x4d6bbd(0x393)](_0x388dee);if(!_0x27309b)throw new Error(_0x4d6bbd(0x434));const _0x35ceda=_0x27309b[_0x4d6bbd(0x307)](_0x55ccee);if(!_0x35ceda)throw new Error(_0x4d6bbd(0x384));const _0x236043=new _0x548497(),_0x482d77=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x338)]['subscribe'](_0x7250f4=>_0x482d77['next'](_0x7250f4))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x482d77[_0x4d6bbd(0x1c5)]()));const _0x432b8c=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x31f)]['subscribe'](_0x1a5112=>_0x432b8c[_0x4d6bbd(0x25e)](_0x1a5112))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x432b8c['complete']()));const _0x165bd5=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda['message$']['subscribe'](_0xb1ffbb=>{const _0x1ee18c=Pr(_0xb1ffbb);_0x165bd5['next'](_0x1ee18c);})),_0x236043['add'](_0x1a739e(()=>_0x165bd5[_0x4d6bbd(0x1c5)]()));let _0x2f74d9;const _0x3d7fb6=()=>{var _0x3fc297=_0x4d6bbd;_0x432b8c['next'](new Event(_0x3fc297(0x296))),_0x482d77[_0x3fc297(0x25e)](new Event(_0x3fc297(0x296))),_0x2f74d9[_0x3fc297(0x20d)]();};return _0x2f74d9={'memberID':'','close$':_0x482d77[_0x4d6bbd(0x38e)](),'error$':_0x432b8c['asObservable'](),'open$':_0x35ceda[_0x4d6bbd(0x3f3)],'message$':_0x165bd5[_0x4d6bbd(0x38e)](),'send':_0x1499ab=>{var _0x1175b1=_0x4d6bbd;if(_0x1499ab[_0x1175b1(0x3d7)]===F['INGEST']){if(_0x1499ab[_0x1175b1(0x226)][_0x1175b1(0x44a)]===_0x5cfd61[_0x1175b1(0x339)]){this[_0x1175b1(0x32e)](_0x2f74d9,_0x1499ab['data'])[_0x1175b1(0x196)](_0x5ad906=>{var _0x3afa2e=_0x1175b1;this[_0x3afa2e(0x398)][_0x3afa2e(0x353)](_0x5ad906),_0x3d7fb6();});return;}if(_0x1499ab[_0x1175b1(0x226)]['eventID']===_0x5cfd61[_0x1175b1(0x39c)]){const _0x1515e0=_0x1499ab[_0x1175b1(0x226)];this[_0x1175b1(0x1b7)](_0x1515e0)[_0x1175b1(0x2aa)](_0x2d3a24=>{var _0x4133c2=_0x1175b1;_0x165bd5['next']({'cmd':F[_0x4133c2(0x229)],'code':ge['OK'],'routeKey':_0x1515e0[_0x4133c2(0x226)][_0x4133c2(0x25a)],'routeType':'','data':{'eventID':_0x5cfd61[_0x4133c2(0x1d9)],'data':{'changesets':_0x2d3a24}}});})[_0x1175b1(0x196)](_0x133ff1=>{var _0x5f1c57=_0x1175b1;this[_0x5f1c57(0x398)][_0x5f1c57(0x353)](_0x133ff1),_0x3d7fb6();});return;}}_0x35ceda[_0x1175b1(0x24c)](xr(_0x1499ab));},'close':()=>{var _0x1bd2b5=_0x4d6bbd;_0x35ceda['close'](),_0x236043[_0x1bd2b5(0x293)]();}},_0x2f74d9;}async[_0x41545e(0x32e)](_0x5d6bb4,_0x3eecf6){var _0x4003b2=_0x41545e,_0x19790a,_0x5b6eac;const {unitType:_0x5563a8,unitID:_0x44aac0,changeset:_0x1fe888}=_0x3eecf6[_0x4003b2(0x226)],_0x16d0e5={'unitID':_0x44aac0,'memberID':_0x5d6bb4[_0x4003b2(0x381)],'type':_0x5563a8,'changeset':_0x409719(_0x1fe888)},_0x30480e=this[_0x4003b2(0x2f0)][_0x4003b2(0x222)](Or),_0x133375=this[_0x4003b2(0x2f0)]['getConfig'](q),_0x29d54f=kr((_0x5b6eac=(_0x19790a=_0x133375==null?void 0x0:_0x133375[_0x4003b2(0x1b5)])!=null?_0x19790a:_0x30480e)!=null?_0x5b6eac:Nr,_0x5563a8,_0x44aac0);try{await this[_0x4003b2(0x365)][_0x4003b2(0x3da)](_0x29d54f,{'body':_0x16d0e5});}catch(_0x16575e){throw this[_0x4003b2(0x398)][_0x4003b2(0x353)](_0x4003b2(0x20f),_0x4003b2(0x282)),_0x16575e;}}async['_fetchMissChangesets'](_0x8294d6){var _0x19f50b=_0x41545e;const {unitID:_0x1af665,from:_0x3c69be,to:_0x2459a1,unitType:_0x1cf496}=_0x8294d6[_0x19f50b(0x226)];return(await this[_0x19f50b(0x2c4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af665,'type':_0x1cf496,'from':_0x3c69be,'to':_0x2459a1}))[_0x19f50b(0x40c)];}};Vt=Mr([Ue(0x0,_0x236453(_0x35ce09)),Ue(0x1,_0x236453(_0x15df20)),Ue(0x2,_0x34fb67),Ue(0x3,_0x5b92b1),Ue(0x4,_0x1cc5ae)],Vt);const $r='collaboration_new_changeset';function Hr(_0x568c59){var _0x10773f=_0x41545e;return JSON['stringify'](_0x568c59)[_0x10773f(0x2fa)];}class Ti{constructor(){var _0x2f6aa1=_0x41545e;N(this,'_commentUpdate$',new _0x5daeac()),N(this,_0x2f6aa1(0x21a),this[_0x2f6aa1(0x30e)][_0x2f6aa1(0x38e)]());}[_0x41545e(0x440)](_0x3a3ea0){var _0x32fe5e=_0x41545e;this[_0x32fe5e(0x30e)][_0x32fe5e(0x25e)](_0x3a3ea0);}}var Br=Object[_0x41545e(0x271)],jr=(_0x848e4d,_0x44ae5f,_0x1d4404,_0x260899)=>{var _0x57da4a=_0x41545e;for(var _0x305e60=_0x260899>0x1?void 0x0:_0x260899?Br(_0x44ae5f,_0x1d4404):_0x44ae5f,_0x3d7972=_0x848e4d[_0x57da4a(0x2fa)]-0x1,_0x37e0dd;_0x3d7972>=0x0;_0x3d7972--)(_0x37e0dd=_0x848e4d[_0x3d7972])&&(_0x305e60=_0x37e0dd(_0x305e60)||_0x305e60);return _0x305e60;},Wt=(_0x55aac9,_0x20b997)=>(_0x5cb49b,_0xe24043)=>_0x20b997(_0x5cb49b,_0xe24043,_0x55aac9);let xe=class extends _0x4b1c46{constructor(_0x4b8ed7,_0x588677){var _0x141466=_0x41545e;super(),N(this,'_roomMembers',new Map()),N(this,_0x141466(0x1a3),new _0x5daeac()),(this[_0x141466(0x1f6)]=_0x4b8ed7,this[_0x141466(0x1db)]=_0x588677,this[_0x141466(0x41a)](_0x14bf95(this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x1af)])['pipe'](_0x5a18b9(_0x47b86c=>_0x47b86c[_0x141466(0x32f)]())),this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x378)])[_0x141466(0x30b)](_0x5a18b9(_0x548cae=>_0x548cae[_0x141466(0x32f)]())),this['_univerInstanceService'][_0x141466(0x18c)](_0x16fa42[_0x141466(0x301)])['pipe'](_0x5a18b9(_0x2c23f2=>_0x2c23f2[_0x141466(0x32f)]())))[_0x141466(0x40b)](_0x450452=>this['_removeRoom'](_0x450452))));}[_0x41545e(0x2e8)](_0x4d017c){var _0x38a5d1=_0x41545e;return this[_0x38a5d1(0x458)][_0x38a5d1(0x46e)](_0x4d017c)?_0x65e3ad(this[_0x38a5d1(0x458)]['get'](_0x4d017c)):this[_0x38a5d1(0x1a3)][_0x38a5d1(0x30b)](_0x5a18b9(_0x4d4caa=>{var _0x44f52d=_0x38a5d1;if(_0x4d4caa===_0x4d017c)return this['_roomMembers'][_0x44f52d(0x393)](_0x4d4caa);}));}['setCurrentUser'](_0x29106d){var _0x197976=_0x41545e;this['_userManagerService'][_0x197976(0x1f8)](_0x29106d);}[_0x41545e(0x267)](){var _0x2174f4=_0x41545e;return this[_0x2174f4(0x1db)]['getCurrentUser']();}[_0x41545e(0x1a4)](_0x3526e1,_0x37aa5f){var _0x2c8c8a=_0x41545e;let _0x12fbc2=this['_roomMembers'][_0x2c8c8a(0x393)](_0x3526e1);_0x12fbc2||(_0x12fbc2=new Fr(),this[_0x2c8c8a(0x458)][_0x2c8c8a(0x3d2)](_0x3526e1,_0x12fbc2),this[_0x2c8c8a(0x1a3)]['next'](_0x3526e1)),_0x12fbc2[_0x2c8c8a(0x1a4)](_0x37aa5f);}[_0x41545e(0x388)](_0x590e1d,_0x32fea1){var _0x2a28cd=_0x41545e;const _0x320bbb=this[_0x2a28cd(0x458)][_0x2a28cd(0x393)](_0x590e1d);_0x320bbb&&_0x320bbb[_0x2a28cd(0x388)](_0x32fea1);}[_0x41545e(0x33c)](_0x4dfae1){var _0x5ca671=_0x41545e;return this[_0x5ca671(0x458)][_0x5ca671(0x393)](_0x4dfae1);}[_0x41545e(0x34b)](_0x4369b5,_0x2733fc){var _0x575310=_0x41545e;const _0x3483a9=this['_roomMembers'][_0x575310(0x393)](_0x4369b5);if(_0x3483a9)return _0x3483a9[_0x575310(0x34b)](_0x2733fc);}[_0x41545e(0x277)](_0x267219){var _0x2e54a4=_0x41545e;const _0x2a8165=this[_0x2e54a4(0x458)]['get'](_0x267219);_0x2a8165&&(_0x2a8165['dispose'](),this[_0x2e54a4(0x458)][_0x2e54a4(0x27a)](_0x267219));}[_0x41545e(0x293)](){var _0x90ae0b=_0x41545e;this[_0x90ae0b(0x458)][_0x90ae0b(0x1d8)](_0x4f9695=>_0x4f9695[_0x90ae0b(0x293)]()),this[_0x90ae0b(0x458)][_0x90ae0b(0x302)](),this[_0x90ae0b(0x1a3)][_0x90ae0b(0x1c5)]();}};xe=jr([Wt(0x0,_0x214b6f),Wt(0x1,_0x236453(_0x5964dc))],xe);class Fr extends _0x4b1c46{constructor(){var _0x232de1=_0x41545e;super(...arguments),N(this,_0x232de1(0x46d),new Map()),N(this,_0x232de1(0x337),new _0x48d6f2(this['_members'])),N(this,_0x232de1(0x18e),this[_0x232de1(0x337)][_0x232de1(0x38e)]());}[_0x41545e(0x293)](){var _0x103fa9=_0x41545e;this[_0x103fa9(0x46d)]['clear']();}[_0x41545e(0x1a4)](_0x33193d){var _0x5d831d=_0x41545e;this[_0x5d831d(0x46d)][_0x5d831d(0x3d2)](_0x33193d[_0x5d831d(0x381)],_0x33193d),this[_0x5d831d(0x2d6)]();}['removeMember'](_0x35441b){var _0x124546=_0x41545e;this[_0x124546(0x46d)][_0x124546(0x27a)](_0x35441b);}[_0x41545e(0x34b)](_0x1b2db6){var _0x4e147a=_0x41545e;return this[_0x4e147a(0x46d)][_0x4e147a(0x393)](_0x1b2db6);}[_0x41545e(0x476)](){var _0x80ab8c=_0x41545e;return Array[_0x80ab8c(0x22c)](this[_0x80ab8c(0x46d)][_0x80ab8c(0x305)]());}[_0x41545e(0x2d6)](){var _0xc3a4f5=_0x41545e;this[_0xc3a4f5(0x337)][_0xc3a4f5(0x25e)](this[_0xc3a4f5(0x46d)]);}}var Gr=Object[_0x41545e(0x271)],Vr=(_0x527b3e,_0x4ee5a4,_0x8c85d9,_0x1b5f16)=>{var _0x6c0456=_0x41545e;for(var _0x1a1e3a=_0x1b5f16>0x1?void 0x0:_0x1b5f16?Gr(_0x4ee5a4,_0x8c85d9):_0x4ee5a4,_0x350a51=_0x527b3e[_0x6c0456(0x2fa)]-0x1,_0x40742d;_0x350a51>=0x0;_0x350a51--)(_0x40742d=_0x527b3e[_0x350a51])&&(_0x1a1e3a=_0x40742d(_0x1a1e3a)||_0x1a1e3a);return _0x1a1e3a;},me=(_0x59d20b,_0x2eac77)=>(_0x10add9,_0x126357)=>_0x2eac77(_0x10add9,_0x126357,_0x59d20b),Ee=(_0x422958=>(_0x422958[_0x422958[_0x41545e(0x450)]=0x0]='IDLE',_0x422958[_0x422958['JOINING']=0x1]=_0x41545e(0x391),_0x422958[_0x422958[_0x41545e(0x1ed)]=0x2]=_0x41545e(0x1ed),_0x422958[_0x422958[_0x41545e(0x280)]=0x3]=_0x41545e(0x280),_0x422958))(Ee||{});const Kt={[ge[_0x41545e(0x3b9)]]:_0x41545e(0x425),[ge[_0x41545e(0x3fc)]]:_0x41545e(0x230),[ge[_0x41545e(0x2a4)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x41545e(0x2b6),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x41545e(0x3eb)};let Et=class extends _0x433c2f{constructor(_0x369cc9,_0x49c0ea,_0x377dce,_0x54980d,_0x5820b6,_0x287c22,_0x3c99c9,_0xb51dbb,_0x2a7908){var _0x4c4f25=_0x41545e;super(),N(this,_0x4c4f25(0x247),new _0x48d6f2(0x0)),N(this,_0x4c4f25(0x1d2),this['_sessionStatus$'][_0x4c4f25(0x38e)]()),N(this,'_event$',new _0x5daeac()),N(this,_0x4c4f25(0x438),this[_0x4c4f25(0x276)][_0x4c4f25(0x38e)]()),N(this,_0x4c4f25(0x2eb)),N(this,_0x4c4f25(0x242)),N(this,_0x4c4f25(0x2b3)),N(this,_0x4c4f25(0x39f),!0x1),N(this,_0x4c4f25(0x2a8),null),(this[_0x4c4f25(0x399)]=_0x369cc9,this[_0x4c4f25(0x398)]=_0x377dce,this[_0x4c4f25(0x2f0)]=_0x54980d,this['_localeService']=_0x5820b6,this['_memberService']=_0x287c22,this[_0x4c4f25(0x475)]=_0x3c99c9,this[_0x4c4f25(0x1ae)]=_0xb51dbb,this[_0x4c4f25(0x2f7)]=_0x2a7908,this[_0x4c4f25(0x39f)]=!!this[_0x4c4f25(0x2f7)],_0x49c0ea[_0x4c4f25(0x30b)](_0x515a44(this[_0x4c4f25(0x423)]))['subscribe'](_0x2c81ad=>{var _0x31f372=_0x4c4f25,_0x1374d2;typeof _0x2c81ad>'u'||(this[_0x31f372(0x2eb)]=_0x2c81ad,_0x2c81ad?(this[_0x31f372(0x2e3)](_0x2c81ad),this[_0x31f372(0x242)]=_0x2c81ad[_0x31f372(0x3d4)][_0x31f372(0x40b)](_0x539a5e=>{var _0x1b2252=_0x31f372;_0x539a5e['routeKey']===this[_0x1b2252(0x399)]&&this[_0x1b2252(0x219)](_0x539a5e);})):(this[_0x31f372(0x452)](),this[_0x31f372(0x247)][_0x31f372(0x25e)](0x2),(_0x1374d2=this[_0x31f372(0x242)])==null||_0x1374d2['unsubscribe'](),this[_0x31f372(0x242)]=null));}));}get[_0x41545e(0x1fe)](){var _0x5190e1=_0x41545e;return this['_sessionStatus$'][_0x5190e1(0x370)]();}[_0x41545e(0x35b)](){var _0x48fd36=_0x41545e,_0x281c97,_0x31081e;return(_0x31081e=(_0x281c97=this[_0x48fd36(0x2eb)])==null?void 0x0:_0x281c97[_0x48fd36(0x381)])!=null?_0x31081e:null;}[_0x41545e(0x293)](){var _0x45e6b3=_0x41545e;super['dispose'](),this['dispose$'][_0x45e6b3(0x25e)](),this['dispose$'][_0x45e6b3(0x1c5)]();}[_0x41545e(0x20d)](){var _0x412c8a=_0x41545e,_0x2d8c47,_0x233361;this[_0x412c8a(0x452)](),(_0x2d8c47=this[_0x412c8a(0x2eb)])==null||_0x2d8c47[_0x412c8a(0x24c)]({'cmd':F[_0x412c8a(0x29b)],'data':{'roomID':this[_0x412c8a(0x399)]}}),(_0x233361=this[_0x412c8a(0x2eb)])==null||_0x233361[_0x412c8a(0x20d)](),this['_event$'][_0x412c8a(0x1c5)](),this['_sessionStatus$'][_0x412c8a(0x1c5)](),this[_0x412c8a(0x293)]();}[_0x41545e(0x219)](_0x41ce05){var _0x545f5a=_0x41545e;_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x270)]?this[_0x545f5a(0x332)](_0x41ce05):_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x229)]&&this[_0x545f5a(0x349)](_0x41ce05);}[_0x41545e(0x2e3)](_0x34112f){var _0xb85ef0=_0x41545e;this['_sessionStatus$'][_0xb85ef0(0x25e)](0x1),_0x34112f['send']({'cmd':F[_0xb85ef0(0x270)],'routeKey':this[_0xb85ef0(0x399)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb85ef0(0x399)]}]}});}[_0x41545e(0x332)](_0x212565){var _0x436c25=_0x41545e,_0x5b74b7;if(_0x212565[_0x436c25(0x330)]in Kt){this[_0x436c25(0x1ae)][_0x436c25(0x24f)]({'id':se[_0x436c25(0x203)],'data':Kt[_0x212565[_0x436c25(0x330)]]}),this[_0x436c25(0x247)][_0x436c25(0x25e)](0x2);return;}this[_0x436c25(0x247)][_0x436c25(0x25e)](0x3);const _0x4426a5=(_0x5b74b7=_0x212565[_0x436c25(0x226)][_0x436c25(0x428)][this[_0x436c25(0x399)]])==null?void 0x0:_0x5b74b7[_0x436c25(0x197)];_0x4426a5&&_0x4426a5[_0x436c25(0x1d8)](_0x572fbb=>this['_memberService'][_0x436c25(0x1a4)](this[_0x436c25(0x399)],_0x572fbb));}[_0x41545e(0x349)](_0x4a24af){var _0x3c3a90=_0x41545e;try{const _0x4abcd2=_0x4a24af[_0x3c3a90(0x226)];switch(_0x4abcd2['eventID']){case _0x5cfd61[_0x3c3a90(0x3b6)]:this['_onUserJoin'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x218)]:this['_onUserLeave'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x3df)]:case _0x5cfd61[_0x3c3a90(0x3bc)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3c3a90(0x3f9)](),this[_0x3c3a90(0x276)]['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x420)]:this[_0x3c3a90(0x398)][_0x3c3a90(0x353)](_0x3c3a90(0x39e)+JSON['stringify'](_0x4abcd2)),this['_event$']['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x315)]:this[_0x3c3a90(0x475)]['onCommentUpdate'](_0x4abcd2[_0x3c3a90(0x226)]),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;default:this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);}}catch(_0x16b68e){this['_logService'][_0x3c3a90(0x353)](_0x16b68e,_0x4a24af);}}[_0x41545e(0x383)](_0x57acbd){var _0x2ebe7d=_0x41545e;this[_0x2ebe7d(0x29a)][_0x2ebe7d(0x1a4)](this[_0x2ebe7d(0x399)],_0x57acbd[_0x2ebe7d(0x226)]);}['_onUserLeave'](_0x584af7){var _0x44a31d=_0x41545e;this[_0x44a31d(0x29a)]['removeMember'](this[_0x44a31d(0x399)],_0x584af7['data'][_0x44a31d(0x381)]);}async[_0x41545e(0x24c)](_0x56d256,_0x5f29e6){var _0x1a156a=_0x41545e;if(this[_0x1a156a(0x1fe)]!==0x3||!this[_0x1a156a(0x2eb)])throw new Error(_0x1a156a(0x443));try{_0x56d256['eventID']===_0x5cfd61[_0x1a156a(0x339)]&&(this[_0x1a156a(0x33d)](),this['_startTelemetryCollaborationNewChangeset'](_0x56d256)),this[_0x1a156a(0x2eb)]['send']({'cmd':F[_0x1a156a(0x1b2)],'routeKey':_0x5f29e6,'routeType':'','data':_0x56d256});}catch(_0x224186){this['_logService'][_0x1a156a(0x353)](_0x224186);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4e5c6c=_0x41545e,_0x4ba440;this[_0x4e5c6c(0x2b3)]=setTimeout(()=>{var _0x8b4ec9=_0x4e5c6c;this[_0x8b4ec9(0x2b3)]=null,this[_0x8b4ec9(0x1ae)][_0x8b4ec9(0x24f)]({'id':se[_0x8b4ec9(0x37c)]});},(_0x4ba440=this[_0x4e5c6c(0x2f0)][_0x4e5c6c(0x222)](mi))!=null?_0x4ba440:gi);}[_0x41545e(0x3f9)](){var _0x2e92ad=_0x41545e;this[_0x2e92ad(0x2b3)]&&(clearTimeout(this[_0x2e92ad(0x2b3)]),this[_0x2e92ad(0x2b3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4025cc){var _0x4d43e0=_0x41545e;if(!this[_0x4d43e0(0x39f)])return;const {data:_0x27c686}=_0x4025cc,{unitID:_0x3bbacd,changeset:_0x12816f}=_0x27c686,{mutations:_0x15df3e,type:_0x177b42}=_0x12816f;this[_0x4d43e0(0x2a8)]={'unitId':_0x3bbacd,'type':_0x177b42,'startTime':performance[_0x4d43e0(0x2f8)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x15df3e)};}[_0x41545e(0x3e5)](){var _0x589d0e=_0x41545e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x589d0e(0x353)]('[CollaborationSession]',_0x589d0e(0x1ca));return;}this[_0x589d0e(0x2a8)][_0x589d0e(0x19b)]=performance[_0x589d0e(0x2f8)](),this[_0x589d0e(0x2a8)][_0x589d0e(0x1da)]=this['_telemetryInfo'][_0x589d0e(0x19b)]-this['_telemetryInfo'][_0x589d0e(0x3e7)],this[_0x589d0e(0x2f7)][_0x589d0e(0x28b)]($r,this['_telemetryInfo']),this[_0x589d0e(0x2a8)]=null;}}[_0x41545e(0x452)](){var _0x366bd9=_0x41545e;this[_0x366bd9(0x2a8)]=null;}};Et=Vr([me(0x2,_0x5b92b1),me(0x3,_0x34fb67),me(0x4,_0x236453(_0xa17142)),me(0x5,_0x236453(xe)),me(0x6,_0x236453(Ti)),me(0x7,_0x236453(pe)),me(0x8,_0x1d0f46(_0x149af4))],Et);var Wr=Object[_0x41545e(0x271)],Kr=(_0x485e24,_0x203efc,_0x458787,_0x9b92fb)=>{var _0x4fa448=_0x41545e;for(var _0x159dda=_0x9b92fb>0x1?void 0x0:_0x9b92fb?Wr(_0x203efc,_0x458787):_0x203efc,_0x3838bd=_0x485e24[_0x4fa448(0x2fa)]-0x1,_0x3ac896;_0x3838bd>=0x0;_0x3838bd--)(_0x3ac896=_0x485e24[_0x3838bd])&&(_0x159dda=_0x3ac896(_0x159dda)||_0x159dda);return _0x159dda;},be=(_0x30ba00,_0x31991c)=>(_0x39b627,_0x47bd98)=>_0x31991c(_0x39b627,_0x47bd98,_0x30ba00);let Le=class extends _0x4b1c46{constructor(_0x445435,_0x548b60,_0x4ce002,_0x40ac16,_0x19fe4a,_0x4cb766){var _0x2e06fa=_0x41545e;super(),N(this,_0x2e06fa(0x3b7),new _0x48d6f2(void 0x0)),N(this,_0x2e06fa(0x3e4),this[_0x2e06fa(0x3b7)][_0x2e06fa(0x38e)]()),N(this,_0x2e06fa(0x303),null),N(this,_0x2e06fa(0x19e),new Map()),N(this,_0x2e06fa(0x451),new _0x48d6f2(Ee['IDLE'])),N(this,'status$',this[_0x2e06fa(0x451)][_0x2e06fa(0x38e)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x2e06fa(0x3b0),0x0),N(this,_0x2e06fa(0x449)),N(this,_0x2e06fa(0x194)),(this[_0x2e06fa(0x367)]=_0x445435,this[_0x2e06fa(0x398)]=_0x548b60,this[_0x2e06fa(0x2f0)]=_0x4ce002,this[_0x2e06fa(0x262)]=_0x40ac16,this[_0x2e06fa(0x1ae)]=_0x19fe4a,this[_0x2e06fa(0x312)]=_0x4cb766,this[_0x2e06fa(0x261)]());}get[_0x41545e(0x2eb)](){var _0x49fcca=_0x41545e;return this['_socket$'][_0x49fcca(0x370)]();}[_0x41545e(0x261)](){var _0x8128fc=_0x41545e;this[_0x8128fc(0x312)]&&this[_0x8128fc(0x41a)](this['_networkConditionService'][_0x8128fc(0x42c)]['subscribe'](_0x3a1315=>{var _0x5b8734=_0x8128fc;_0x3a1315&&!this['_socket']&&this[_0x5b8734(0x34e)](),_0x3a1315||this[_0x5b8734(0x355)]();}));}[_0x41545e(0x293)](){var _0x1a3eab=_0x41545e;super[_0x1a3eab(0x293)](),this[_0x1a3eab(0x19e)][_0x1a3eab(0x1d8)](_0x3b0e45=>_0x3b0e45[_0x1a3eab(0x293)]()),this[_0x1a3eab(0x19e)]['clear'](),this['_status$'][_0x1a3eab(0x1c5)]();}async['requireSession'](_0x4f1b67){var _0x317062=_0x41545e;if(this[_0x317062(0x19e)][_0x317062(0x46e)](_0x4f1b67))return this['_sessions'][_0x317062(0x393)](_0x4f1b67);this[_0x317062(0x2a3)]();const _0xe976a4=this[_0x317062(0x367)][_0x317062(0x34f)](Et,_0x4f1b67,this[_0x317062(0x3b7)]['asObservable']());return this[_0x317062(0x19e)]['set'](_0x4f1b67,_0xe976a4),_0xe976a4;}[_0x41545e(0x246)](_0x1d2e17){var _0x3438e1=_0x41545e,_0x219d81;const _0x29ab1d=this[_0x3438e1(0x19e)][_0x3438e1(0x393)](_0x1d2e17);_0x29ab1d&&(this[_0x3438e1(0x19e)][_0x3438e1(0x27a)](_0x1d2e17),_0x29ab1d[_0x3438e1(0x20d)]()),this[_0x3438e1(0x19e)][_0x3438e1(0x341)]||(_0x219d81=this[_0x3438e1(0x2eb)])==null||_0x219d81['close']();}[_0x41545e(0x34e)](){var _0x7f85bd=_0x41545e;this[_0x7f85bd(0x3b0)]=0x0,this[_0x7f85bd(0x1df)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x7f85bd(0x1df)]=null),this[_0x7f85bd(0x418)]();}async['_createSocket'](){var _0x321413=_0x41545e,_0x2bf69c,_0x37adfc;const _0x137005=this[_0x321413(0x2f0)][_0x321413(0x222)](Er),_0x45c06d=this[_0x321413(0x2f0)]['getConfig'](q),_0x2a37ab=(_0x37adfc=(_0x2bf69c=_0x45c06d==null?void 0x0:_0x45c06d[_0x321413(0x2d1)])!=null?_0x2bf69c:_0x137005)!=null?_0x37adfc:Ir,_0x202505=await this[_0x321413(0x262)][_0x321413(0x307)](_0x2a37ab);return this['_candidateSocket']=_0x202505,_0x202505;}async[_0x41545e(0x2a3)](){var _0x4ff478=_0x41545e,_0x465f1c,_0x3a5469;try{const _0x29229a=(_0x3a5469=(_0x465f1c=this[_0x4ff478(0x2eb)])!=null?_0x465f1c:this['_candidateSocket'])!=null?_0x3a5469:await this[_0x4ff478(0x25c)]();if(_0x29229a){const _0xd0b1f7=_0x29229a['send'];_0x29229a[_0x4ff478(0x24c)]=_0x48deca=>(this[_0x4ff478(0x3f6)](),_0xd0b1f7[_0x4ff478(0x264)](_0x29229a,[_0x48deca])),_0x29229a['message$'][_0x4ff478(0x40b)](_0x5e4153=>this[_0x4ff478(0x2ff)](_0x29229a,_0x5e4153)),_0x29229a['error$'][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](_0x26f618=>this[_0x4ff478(0x398)][_0x4ff478(0x353)]('[CollaborationSessionService]:\x20socket\x20error',_0x26f618)),_0x29229a[_0x4ff478(0x3f3)][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](()=>{this['_onConnectionOpen'](_0x29229a);}),_0x29229a[_0x4ff478(0x338)]['pipe'](_0x118750(0x1))[_0x4ff478(0x40b)](_0x4c13fb=>{var _0x3cb525=_0x4ff478;this[_0x3cb525(0x398)][_0x3cb525(0x3ab)](_0x3cb525(0x3b5),_0x3cb525(0x3ee),_0x4c13fb),this[_0x3cb525(0x387)]();});}}catch(_0x46a546){this['_logService'][_0x4ff478(0x353)](_0x46a546),this[_0x4ff478(0x387)]();}}[_0x41545e(0x299)](_0x23b66d){var _0x2de8f8=_0x41545e;this[_0x2de8f8(0x398)][_0x2de8f8(0x3ab)](_0x2de8f8(0x3b5),_0x2de8f8(0x31e)),_0x23b66d[_0x2de8f8(0x24c)]({'cmd':F[_0x2de8f8(0x1d1)]}),this[_0x2de8f8(0x3f6)]();}['_onOffline'](){var _0x133e53=_0x41545e;this[_0x133e53(0x3b8)]=!0x1,this[_0x133e53(0x303)]=null,this[_0x133e53(0x451)][_0x133e53(0x25e)](Ee[_0x133e53(0x1ed)]),this[_0x133e53(0x3b7)][_0x133e53(0x25e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x41545e(0x387)](){var _0x118a6b=_0x41545e,_0x2de7fd;this[_0x118a6b(0x355)](),this[_0x118a6b(0x3b0)]<((_0x2de7fd=this[_0x118a6b(0x2f0)]['getConfig'](br))!=null?_0x2de7fd:yr)?(this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x327)]}),this[_0x118a6b(0x418)]()):this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x2ee)]});}[_0x41545e(0x418)](){var _0xe032b=_0x41545e,_0x4e56a0;const _0x185661=this[_0xe032b(0x3b0)],_0x495cb4=this[_0xe032b(0x2f0)][_0xe032b(0x222)](q),_0x5b5139=_0x185661===0x0?0x0:((_0x4e56a0=_0x495cb4==null?void 0x0:_0x495cb4['retryConnectingInterval'])!=null?_0x4e56a0:Rr)*0x2**_0x185661;this[_0xe032b(0x1df)]=setTimeout(()=>{var _0x18d81a=_0xe032b;clearTimeout(this['_retryConnectingTimer']),this[_0x18d81a(0x1df)]=null,this['_tryEnsureSocket']();},_0x5b5139),this[_0xe032b(0x3b0)]+=0x1;}[_0x41545e(0x2ff)](_0x30c816,_0x117d8d){var _0x3849b6=_0x41545e;const {cmd:_0x4ecfe6}=_0x117d8d;_0x4ecfe6===F[_0x3849b6(0x1d1)]&&!this[_0x3849b6(0x3b8)]&&(_0x30c816[_0x3849b6(0x381)]=_0x117d8d[_0x3849b6(0x226)][_0x3849b6(0x381)],this[_0x3849b6(0x3b7)][_0x3849b6(0x25e)](_0x30c816),this[_0x3849b6(0x451)][_0x3849b6(0x25e)](Ee[_0x3849b6(0x280)]),this[_0x3849b6(0x3b8)]=!0x0,this['_candidateSocket']=null),_0x4ecfe6===F['HEARTBEAT']&&this[_0x3849b6(0x1f0)](),this[_0x3849b6(0x3f6)]();}[_0x41545e(0x3f6)](){var _0x44b76f=_0x41545e,_0x175f85;this[_0x44b76f(0x3a2)](),this[_0x44b76f(0x449)]=setTimeout(()=>this[_0x44b76f(0x41f)](),(_0x175f85=this[_0x44b76f(0x2f0)]['getConfig'](Tr))!=null?_0x175f85:Cr);}[_0x41545e(0x41f)](){var _0x100755=_0x41545e;this['_socket'][_0x100755(0x24c)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x41545e(0x1be)](){var _0x547803=_0x41545e,_0x19abbe;this[_0x547803(0x194)]=setTimeout(()=>this[_0x547803(0x387)](),(_0x19abbe=this[_0x547803(0x2f0)][_0x547803(0x222)](mi))!=null?_0x19abbe:gi);}[_0x41545e(0x3a2)](){var _0xb40fa8=_0x41545e;this[_0xb40fa8(0x449)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xb40fa8(0x449)]=null);}[_0x41545e(0x1f0)](){var _0x1b20ef=_0x41545e;this[_0x1b20ef(0x194)]!=null&&(clearTimeout(this[_0x1b20ef(0x194)]),this[_0x1b20ef(0x194)]=null);}};Le=Kr([be(0x0,_0x236453(_0x35ce09)),be(0x1,_0x5b92b1),be(0x2,_0x34fb67),be(0x3,Ii),be(0x4,_0x236453(pe)),be(0x5,_0x1d0f46(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)[_0x41545e(0x377)](0x1));function Yr(_0x2f41fe,_0x20fda4=0x0){var _0x360e29=_0x41545e;return(G[_0x2f41fe[_0x20fda4+0x0]]+G[_0x2f41fe[_0x20fda4+0x1]]+G[_0x2f41fe[_0x20fda4+0x2]]+G[_0x2f41fe[_0x20fda4+0x3]]+'-'+G[_0x2f41fe[_0x20fda4+0x4]]+G[_0x2f41fe[_0x20fda4+0x5]]+'-'+G[_0x2f41fe[_0x20fda4+0x6]]+G[_0x2f41fe[_0x20fda4+0x7]]+'-'+G[_0x2f41fe[_0x20fda4+0x8]]+G[_0x2f41fe[_0x20fda4+0x9]]+'-'+G[_0x2f41fe[_0x20fda4+0xa]]+G[_0x2f41fe[_0x20fda4+0xb]]+G[_0x2f41fe[_0x20fda4+0xc]]+G[_0x2f41fe[_0x20fda4+0xd]]+G[_0x2f41fe[_0x20fda4+0xe]]+G[_0x2f41fe[_0x20fda4+0xf]])[_0x360e29(0x1e7)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4409af=_0x41545e;if(!ut){if(typeof crypto>'u'||!crypto[_0x4409af(0x1b1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4409af(0x1b1)][_0x4409af(0x46f)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x41545e(0x1e8)]&&crypto[_0x41545e(0x1e8)][_0x41545e(0x46f)](crypto),Yt={'randomUUID':Jr};function Xr(_0x54fdda,_0x242160,_0x5b268e){var _0x4f7bff=_0x41545e,_0xd33db5,_0x49ddae,_0x3243e8;if(Yt[_0x4f7bff(0x1e8)]&&!_0x54fdda)return Yt['randomUUID']();_0x54fdda=_0x54fdda||{};const _0x182ab1=(_0x3243e8=(_0x49ddae=_0x54fdda[_0x4f7bff(0x2f1)])!=null?_0x49ddae:(_0xd33db5=_0x54fdda[_0x4f7bff(0x411)])==null?void 0x0:_0xd33db5[_0x4f7bff(0x33e)](_0x54fdda))!=null?_0x3243e8:zr();if(_0x182ab1['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x182ab1[0x6]=_0x182ab1[0x6]&0xf|0x40,_0x182ab1[0x8]=_0x182ab1[0x8]&0x3f|0x80,Yr(_0x182ab1);}const J=_0x40779a('collaboration-client.local-cache-service');function Bs(_0x136256){var _0x52253d=_0x41545e;return _0x52253d(0x221)+_0x136256;}var Zr=Object[_0x41545e(0x271)],Qr=(_0x4d3d26,_0xe70aad,_0x49db4f,_0xe7f1fc)=>{for(var _0x6bd65c=_0xe7f1fc>0x1?void 0x0:_0xe7f1fc?Zr(_0xe70aad,_0x49db4f):_0xe70aad,_0x5d5c7f=_0x4d3d26['length']-0x1,_0x13aae3;_0x5d5c7f>=0x0;_0x5d5c7f--)(_0x13aae3=_0x4d3d26[_0x5d5c7f])&&(_0x6bd65c=_0x13aae3(_0x6bd65c)||_0x6bd65c);return _0x6bd65c;},dt=(_0x4017cb,_0x2f8294)=>(_0x538e66,_0x543ae6)=>_0x2f8294(_0x538e66,_0x543ae6,_0x4017cb);function en(_0x24b9e5){var _0x3ef42f=_0x41545e;const {unitID:_0x25f220,mutations:_0xe78c41}=_0x24b9e5;return{'unitId':_0x25f220,'subUnitId':_0xe78c41[0x0]['params'][_0x3ef42f(0x2f3)]};}let it=class{constructor(_0x1e5b5b,_0x12ba80,_0x27c187){var _0x3eb548=_0x41545e;this['_injector']=_0x1e5b5b,this[_0x3eb548(0x3ac)]=_0x12ba80,this[_0x3eb548(0x33a)]=_0x27c187;}[_0x41545e(0x188)](_0x451393){var _0x424f90=_0x41545e,_0x3d6be2,_0x5886b7,_0x47afb4,_0x515bff;const _0x306352=this['_injector'][_0x424f90(0x393)](_0xb5c7c4),{unitId:_0x19cf77,subUnitId:_0x28b43e}=en(_0x451393),_0x26f1c8=_0x306352==null?void 0x0:_0x306352[_0x424f90(0x466)](_0x19cf77)['getCurrentSelections'](),_0x38d741=(_0x5886b7=(_0x3d6be2=this[_0x424f90(0x33a)][_0x424f90(0x311)](_0x19cf77))==null?void 0x0:_0x3d6be2[_0x424f90(0x2a0)]())==null?void 0x0:_0x5886b7['getSheetId']();if(_0x26f1c8[_0x424f90(0x2fa)]===0x0||!_0x19cf77||!_0x28b43e)return;const _0x550a6e=[{'id':_0x341123['id'],'params':{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x4c19fa[_0x424f90(0x408)](_0x26f1c8)}}],_0x3134ba=this[_0x424f90(0x3ac)][_0x424f90(0x254)](_0x451393,_0x550a6e);if(!_0x191540(_0x3134ba))throw _0x3134ba[_0x424f90(0x353)];const _0x38f40c=(_0x515bff=(_0x47afb4=_0x3134ba['m2Prime'][0x0])==null?void 0x0:_0x47afb4[_0x424f90(0x436)])==null?void 0x0:_0x515bff[_0x424f90(0x407)];if(Array['isArray'](_0x38f40c)&&_0x38f40c[_0x424f90(0x2fa)]){if(_0x38f40c[_0x424f90(0x2fa)]===_0x550a6e[0x0][_0x424f90(0x436)]['selections']['length']&&_0x38f40c[_0x424f90(0x3d8)]((_0x34dd7e,_0x2e8759)=>_0x807e68['equals'](_0x34dd7e['range'],_0x550a6e[0x0][_0x424f90(0x436)][_0x424f90(0x407)][_0x2e8759][_0x424f90(0x42e)])))return;this[_0x424f90(0x367)][_0x424f90(0x393)](_0x2c92b5)['executeCommand'](_0x341123['id'],{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x38f40c});}}};it=Qr([dt(0x0,_0x236453(_0x35ce09)),dt(0x1,_0x1335c8),dt(0x2,_0x214b6f)],it);const ht=_0x40779a(_0x41545e(0x3ed));var Ci=(_0x2282d0=>(_0x2282d0[_0x2282d0[_0x41545e(0x278)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2282d0[_0x2282d0[_0x41545e(0x2c3)]=0x1]=_0x41545e(0x2c3),_0x2282d0))(Ci||{});const tn=new Set([_0x18838c['id']]);function qt(_0x34d845,_0x3214ee,_0x5887a5,_0x4a0bde,_0x313306){var _0x1f42cb=_0x41545e,_0x309ea2,_0x356635,_0x40414c,_0x208b49;const _0x1f2938=[];for(const _0x4f4190 of _0x34d845)if(tn['has'](_0x4f4190['id'])){if(_0x1f2938[_0x1f42cb(0x2fa)]>0x0)break;_0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);break;}else _0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);const _0xee9ce=(_0x356635=(_0x309ea2=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x309ea2[_0x1f42cb(0x27d)])!=null?_0x356635:'unknown',_0x89bb40=(_0x208b49=(_0x40414c=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x40414c[_0x1f42cb(0x381)])!=null?_0x208b49:'unknown';return{'changeset':{'unitID':_0x3214ee,'type':_0x221d05(_0x5887a5[_0x1f42cb(0x331)](_0x3214ee)),'baseRev':_0x4a0bde[_0x1f42cb(0x189)](_0x3214ee),'revision':0x0,'userID':_0xee9ce,'memberID':_0x89bb40,'mutations':_0x1f2938},'pendingMutations':_0x34d845['slice'](_0x1f2938[_0x1f42cb(0x2fa)])};}function rn(_0x167796,_0x594d74,_0x19326e,_0x273201,_0x586c36){var _0x3521fc=_0x41545e,_0x191f17,_0x2979ca,_0x543864,_0x3ecd80;const _0x3e9a0b=[_0x167796['reduce']((_0x4d00f6,_0x19f2ae)=>{var _0x5dc7a7=_0x5230,_0x2678da;const {id:_0x38c386}=_0x4d00f6,{id:_0x34f85f,type:_0xdfafe}=_0x19f2ae,_0x18bb7d=(_0x2678da=_0x4d00f6['params'])!=null?_0x2678da:{'actions':null},_0x51ee85=_0x19f2ae[_0x5dc7a7(0x436)];if(_0x38c386&&_0x38c386!==_0x34f85f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x38c386+_0x5dc7a7(0x27e)+_0x34f85f+'.');return{..._0x4d00f6,'id':_0x34f85f,'type':_0xdfafe,'params':{'unitId':_0x51ee85[_0x5dc7a7(0x36d)],'textRanges':_0x51ee85[_0x5dc7a7(0x1cb)],'actions':_0x2b4183['compose'](_0x18bb7d[_0x5dc7a7(0x395)],_0x51ee85[_0x5dc7a7(0x395)])}};},{})],_0x118131=(_0x2979ca=(_0x191f17=_0x586c36['getCurrentUser']())==null?void 0x0:_0x191f17['userID'])!=null?_0x2979ca:'unknown',_0x1093f2=(_0x3ecd80=(_0x543864=_0x586c36[_0x3521fc(0x267)]())==null?void 0x0:_0x543864[_0x3521fc(0x381)])!=null?_0x3ecd80:_0x3521fc(0x462);return{'changeset':{'unitID':_0x594d74,'type':_0x221d05(_0x19326e['getUnitType'](_0x594d74)),'baseRev':_0x273201[_0x3521fc(0x189)](_0x594d74),'revision':0x0,'userID':_0x118131,'memberID':_0x1093f2,'mutations':_0x3e9a0b},'pendingMutations':[]};}function Ri(_0x15c45a,_0x4803a8){var _0x18cc4c=_0x41545e;const _0x36632e=new _0x4225a9(0x1);return setTimeout(()=>_0x36632e[_0x18cc4c(0x25e)](_0x4803a8),_0x15c45a),_0x36632e['asObservable']()[_0x18cc4c(0x30b)](_0x4774cb(0x1));}const nn={'id':_0x59316b['id'],'type':_0x36bcfe[_0x41545e(0x1fa)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x44d2fa,_0x4608d9,_0x439c56,_0x2de0ca)=>{var _0x4ce443=_0x41545e;for(var _0x2d7927=_0x2de0ca>0x1?void 0x0:_0x2de0ca?sn(_0x4608d9,_0x439c56):_0x4608d9,_0x1f3eb6=_0x44d2fa[_0x4ce443(0x2fa)]-0x1,_0x13b6f9;_0x1f3eb6>=0x0;_0x1f3eb6--)(_0x13b6f9=_0x44d2fa[_0x1f3eb6])&&(_0x2d7927=_0x13b6f9(_0x2d7927)||_0x2d7927);return _0x2d7927;},P=(_0x31c886,_0x47c082)=>(_0x41002d,_0x10228d)=>_0x47c082(_0x41002d,_0x10228d,_0x31c886),bi=(_0x40f609=>(_0x40f609[_0x41545e(0x195)]=_0x41545e(0x2ec),_0x40f609[_0x41545e(0x251)]=_0x41545e(0x260),_0x40f609['PENDING']=_0x41545e(0x38a),_0x40f609[_0x41545e(0x266)]=_0x41545e(0x3bb),_0x40f609[_0x41545e(0x34c)]=_0x41545e(0x42a),_0x40f609[_0x41545e(0x2dd)]=_0x41545e(0x346),_0x40f609[_0x41545e(0x2cb)]=_0x41545e(0x447),_0x40f609[_0x41545e(0x1ed)]='offline',_0x40f609))(bi||{});const yi=0xea60;class Ce{constructor(_0x210661,_0x18794d,_0x369e15,_0x838477,_0x1a6179,_0x4761c9,_0x362f17,_0x55eb81,_0x227feb){var _0x3690f4=_0x41545e;N(this,_0x3690f4(0x3bf),null),N(this,_0x3690f4(0x35a),[]),(this[_0x3690f4(0x25a)]=_0x210661,this['type']=_0x18794d,this['_handler']=_0x1a6179,this[_0x3690f4(0x396)]=_0x4761c9,this[_0x3690f4(0x253)]=_0x362f17,this['_revisionService']=_0x55eb81,this[_0x3690f4(0x3d9)]=_0x227feb,this[_0x3690f4(0x3bf)]=_0x369e15,this[_0x3690f4(0x35a)]=_0x838477);}[_0x41545e(0x211)](_0x2fda30){var _0x3b8a41=_0x41545e;const _0x31f9c3=this[_0x3b8a41(0x3ad)][_0x3b8a41(0x189)](this[_0x3b8a41(0x25a)]);return _0x2fda30[_0x3b8a41(0x2a2)]>_0x31f9c3+0x1?(this['_handler']['onMissingChangesets']({'from':_0x31f9c3,'to':_0x2fda30[_0x3b8a41(0x2a2)]-0x1}),!0x0):!0x1;}[_0x41545e(0x2c2)](_0x57e018){var _0x452043=_0x41545e;this['_undoRedoService'][_0x452043(0x29e)](this[_0x452043(0x25a)],_0x57e018);}[_0x41545e(0x43e)](_0x8bdaa9){var _0x2441b5=_0x41545e,_0x6d9a9c,_0x1968a6;(_0x1968a6=(_0x6d9a9c=this['_handler'])[_0x2441b5(0x2bc)])==null||_0x1968a6[_0x2441b5(0x33e)](_0x6d9a9c,_0x8bdaa9);}[_0x41545e(0x3de)](_0x14684b){var _0x41ad7a=_0x41545e,_0x124ec3,_0x15b2dc;return(_0x15b2dc=(_0x124ec3=this[_0x41ad7a(0x412)])['onTransformIME'])==null?void 0x0:_0x15b2dc[_0x41ad7a(0x33e)](_0x124ec3,_0x14684b);}['_transformStateCache'](_0x24857e){var _0x24a16d=_0x41545e,_0x4d4b5,_0x322337;return(_0x322337=(_0x4d4b5=this[_0x24a16d(0x412)])['onTransformState'])==null?void 0x0:_0x322337[_0x24a16d(0x33e)](_0x4d4b5,_0x24857e);}[_0x41545e(0x319)](_0x50e484){var _0x25a629=_0x41545e,_0x3bbdce,_0x8d1b56,_0x3585b4;return(_0x3585b4=(_0x8d1b56=(_0x3bbdce=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x8d1b56[_0x25a629(0x33e)](_0x3bbdce,_0x50e484))!=null?_0x3585b4:_0x50e484;}[_0x41545e(0x2e7)](_0x72d35){var _0x4ba9e1=_0x41545e,_0x2101e6,_0x5ddf52,_0x2208fb;return(_0x2208fb=(_0x5ddf52=(_0x2101e6=this[_0x4ba9e1(0x412)])[_0x4ba9e1(0x3f2)])==null?void 0x0:_0x5ddf52[_0x4ba9e1(0x33e)](_0x2101e6,_0x72d35))!=null?_0x2208fb:_0x72d35;}[_0x41545e(0x2fc)](_0x58fe2b){var _0xb09758=_0x41545e,_0x1280fa,_0x3f7bef;if(this[_0xb09758(0x1b3)]===Q[_0xb09758(0x378)]){const {unitID:_0x33d4f7,mutations:_0x5192b4,memberID:_0x45cbcf}=_0x58fe2b,_0x620dbe=_0x5192b4[0x0]['params'][_0xb09758(0x1cb)];Array[_0xb09758(0x394)](_0x620dbe)&&_0x620dbe['length']>0x0&&((_0x3f7bef=(_0x1280fa=this[_0xb09758(0x412)])[_0xb09758(0x369)])==null||_0x3f7bef['call'](_0x1280fa,{'unitID':_0x33d4f7,'memberID':_0x45cbcf,'textRanges':_0x620dbe}));}}[_0x41545e(0x3e0)](){var _0x499ac2=_0x41545e,_0x288cf9;(_0x288cf9=this[_0x499ac2(0x3d9)])==null||_0x288cf9[_0x499ac2(0x36f)](this['unitID'],this[_0x499ac2(0x1b3)],this[_0x499ac2(0x3bf)],this[_0x499ac2(0x35a)]);}[_0x41545e(0x314)](){var _0x35a219=_0x41545e;return this[_0x35a219(0x3ad)][_0x35a219(0x189)](this[_0x35a219(0x25a)]);}[_0x41545e(0x2f6)](){var _0x3b8c5c=_0x41545e;this[_0x3b8c5c(0x3ad)][_0x3b8c5c(0x424)](this[_0x3b8c5c(0x25a)]);}[_0x41545e(0x3a4)](_0x5d6d9c){var _0xd8228=_0x41545e,_0x4a0433;let _0x5ddcf5=this[_0xd8228(0x319)](_0x5d6d9c);_0x5ddcf5=this[_0xd8228(0x2e7)](_0x5ddcf5);const _0x1917f9=_0xb3a7a3(_0x5ddcf5[_0xd8228(0x292)],this[_0xd8228(0x396)],{'fromCollab':!0x0});if(!_0x1917f9[_0xd8228(0x361)])throw _0x1917f9[_0xd8228(0x353)]instanceof Error?_0x1917f9[_0xd8228(0x353)]:new Error((_0x4a0433=_0x1917f9[_0xd8228(0x353)])!=null?_0x4a0433:_0xd8228(0x18b));this[_0xd8228(0x3de)](_0x5ddcf5),this[_0xd8228(0x1de)](_0x5ddcf5),this['_transformUndoredo'](_0x5d6d9c),this[_0xd8228(0x43e)](_0x5ddcf5),this[_0xd8228(0x2fc)](_0x5ddcf5),this[_0xd8228(0x2f6)]();}}let Ne=class extends Ce{constructor(_0x3679ab,_0x353131,_0x9ff16,_0x525dd8,_0x17f5eb,_0x296fc4,_0x45f9ef,_0x5aeb82,_0x576384,_0xfda6ea){var _0xaa641f=_0x41545e;super(_0x3679ab,_0x353131,null,[],_0x9ff16,_0x45f9ef,_0x296fc4,_0x525dd8,_0xfda6ea),N(this,_0xaa641f(0x244),_0xaa641f(0x260)),(this[_0xaa641f(0x367)]=_0x17f5eb,this[_0xaa641f(0x398)]=_0x5aeb82,this[_0xaa641f(0x3ac)]=_0x576384,this[_0xaa641f(0x2d3)]=_0xfda6ea);}[_0x41545e(0x45f)](_0x529b27){var _0x2d09c7=_0x41545e;const _0x160892=this[_0x2d09c7(0x367)][_0x2d09c7(0x34f)](oe,this[_0x2d09c7(0x25a)],this['type'],[_0x529b27],this[_0x2d09c7(0x412)]);return _0x160892[_0x2d09c7(0x2b5)](),_0x160892['_updateLocalCache'](),_0x160892;}['onRemoteChangeset'](_0x3a8464){var _0x2be838=_0x41545e;if(this[_0x2be838(0x211)](_0x3a8464))return this[_0x2be838(0x367)][_0x2be838(0x34f)](ee,this[_0x2be838(0x25a)],this[_0x2be838(0x1b3)],null,[],null,[_0x3a8464],this[_0x2be838(0x412)]);try{const _0x2ce957=this['_transformService'][_0x2be838(0x254)](_0x3a8464,[nn]);if(_0x191540(_0x2ce957)){const {c1Prime:_0x4bd2af}=_0x2ce957;return this[_0x2be838(0x3a4)](_0x4bd2af),this;}throw _0x2ce957[_0x2be838(0x353)];}catch(_0x57b99f){return this[_0x2be838(0x398)]['error'](_0x57b99f),this[_0x2be838(0x47f)](!0x1);}}['_onConflict'](_0x3882f9){var _0x164a52=_0x41545e;return this[_0x164a52(0x367)]['createInstance'](ue,this['unitID'],this[_0x164a52(0x1b3)],null,[],this[_0x164a52(0x412)],_0x3882f9);}[_0x41545e(0x3bd)](){var _0x3e1829=_0x41545e;throw new Error(_0x3e1829(0x223));}[_0x41545e(0x439)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){var _0x43bf1f=_0x41545e;return this[_0x43bf1f(0x367)]['createInstance'](de,this[_0x43bf1f(0x25a)],this[_0x43bf1f(0x1b3)],null,[],this[_0x43bf1f(0x412)]);}['toggleOnline'](){return this;}[_0x41545e(0x468)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x3ff)](){var _0x44026a=_0x41545e;const _0x324a85=this[_0x44026a(0x3ad)][_0x44026a(0x189)](this['unitID']);return this[_0x44026a(0x412)][_0x44026a(0x1c7)]({'from':_0x324a85,'to':0x0}),this[_0x44026a(0x367)][_0x44026a(0x34f)](ee,this['unitID'],this[_0x44026a(0x1b3)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x236453(_0x4fea53)),P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x5a61a5),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x1d0f46(J))],Ne);let oe=class extends Ce{constructor(_0xbe8c55,_0x85e2e7,_0x411feb,_0x25a851,_0x4ec235,_0x199e0a,_0x13a237,_0x1c67f9,_0x364009,_0x2f8463,_0x113e43,_0x4e6cbc,_0x545b17,_0xf54904){var _0x4a95c5=_0x41545e;super(_0xbe8c55,_0x85e2e7,null,_0x411feb,_0x25a851,_0x364009,_0x545b17,_0x199e0a,_0xf54904),N(this,_0x4a95c5(0x244),_0x4a95c5(0x38a)),N(this,_0x4a95c5(0x1a9),null),N(this,_0x4a95c5(0x325),null),(this[_0x4a95c5(0x367)]=_0x4ec235,this['_memberService']=_0x13a237,this['_logService']=_0x1c67f9,this['_configService']=_0x2f8463,this['_transformService']=_0x113e43,this['_univerInstanceService']=_0x4e6cbc);}[_0x41545e(0x45f)](_0x155c41){var _0x17753d=_0x41545e;return this[_0x17753d(0x35a)]['push'](_0x155c41),this[_0x17753d(0x3e0)](),this;}['onRemoteChangeset'](_0x4bd393){var _0x25a99d=_0x41545e;if(this[_0x25a99d(0x211)](_0x4bd393))return this['_clearScheduledTask'](),this[_0x25a99d(0x367)]['createInstance'](ee,this[_0x25a99d(0x25a)],this['type'],null,this[_0x25a99d(0x35a)],null,[_0x4bd393],this[_0x25a99d(0x412)]);try{const _0x33f59d=this[_0x25a99d(0x3ac)][_0x25a99d(0x254)](_0x4bd393,this[_0x25a99d(0x35a)]);if(_0x191540(_0x33f59d)){const {c1Prime:_0x54ec93,m2Prime:_0x25cda2}=_0x33f59d;this[_0x25a99d(0x3a4)](_0x54ec93);const _0xc4ebca=this[_0x25a99d(0x367)][_0x25a99d(0x34f)](oe,this[_0x25a99d(0x25a)],this[_0x25a99d(0x1b3)],_0x25cda2,this[_0x25a99d(0x412)]);this[_0x25a99d(0x1bb)]();const _0x5a30cb=new Date()[_0x25a99d(0x414)](),_0x505505=this[_0x25a99d(0x1a9)]?Math[_0x25a99d(0x401)](this['_scheduleCompleteTimestamp']-_0x5a30cb,0x0):this[_0x25a99d(0x46b)]();return _0xc4ebca[_0x25a99d(0x2b5)](_0x505505),_0xc4ebca;}throw _0x33f59d[_0x25a99d(0x353)];}catch(_0x3fbad2){return this[_0x25a99d(0x398)][_0x25a99d(0x353)](_0x3fbad2),this[_0x25a99d(0x47f)](!0x1);}}[_0x41545e(0x3bd)](){var _0x1efba9=_0x41545e;throw new Error(_0x1efba9(0x41d));}[_0x41545e(0x439)](){var _0x26b442=_0x41545e;throw new Error(_0x26b442(0x437));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){var _0x1a09f1=_0x41545e;return this[_0x1a09f1(0x1bb)](),this[_0x1a09f1(0x367)]['createInstance'](de,this[_0x1a09f1(0x25a)],this[_0x1a09f1(0x1b3)],null,this[_0x1a09f1(0x35a)],this[_0x1a09f1(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x2b5)](_0x3be163){var _0x59b4c7=_0x41545e;const _0x227278=_0x3be163!=null?_0x3be163:this['_getSendChangesetTimeout']();this[_0x59b4c7(0x1a9)]=new Date()[_0x59b4c7(0x414)]()+_0x227278,this[_0x59b4c7(0x325)]=setTimeout(()=>{var _0x17214f=_0x59b4c7;this['_clearScheduledTask']();let _0x46c281=null;switch(this[_0x17214f(0x1b3)]){case Q[_0x17214f(0x1af)]:{_0x46c281=qt(this[_0x17214f(0x35a)],this[_0x17214f(0x25a)],this[_0x17214f(0x1f6)],this['_revisionService'],this['_memberService']);break;}case Q[_0x17214f(0x378)]:{this[_0x17214f(0x35a)]['every'](_0x5e45f7=>_0x5e45f7['id']===_0x1ba331['id'])?_0x46c281=rn(this[_0x17214f(0x35a)],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this['_memberService']):_0x46c281=qt(this['_pendingMutations'],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this[_0x17214f(0x29a)]);break;}default:throw new Error(_0x17214f(0x3f1)+this[_0x17214f(0x1b3)]+_0x17214f(0x45e));}const {changeset:_0x1e694b,pendingMutations:_0x19f0e5}=_0x46c281;this[_0x17214f(0x412)][_0x17214f(0x3c0)](_0x1e694b);const _0x1318a7=_0x19f0e5[_0x17214f(0x2fa)]?this[_0x17214f(0x367)][_0x17214f(0x34f)](ae,this[_0x17214f(0x25a)],this[_0x17214f(0x1b3)],_0x1e694b,_0x19f0e5,this['_handler'],void 0x0):this[_0x17214f(0x367)][_0x17214f(0x34f)](le,this[_0x17214f(0x25a)],this['type'],_0x1e694b,this[_0x17214f(0x412)]);_0x1318a7[_0x17214f(0x3e0)](),this[_0x17214f(0x412)][_0x17214f(0x364)](this,_0x1318a7);},_0x227278);}[_0x41545e(0x46b)](){var _0x10209e=_0x41545e,_0x1e7662;const _0x1af606=this['_configService'][_0x10209e(0x222)](q);return(_0x1e7662=_0x1af606==null?void 0x0:_0x1af606[_0x10209e(0x362)])!=null?_0x1e7662:Sr;}[_0x41545e(0x468)](){var _0x8b815e=_0x41545e;throw new Error(_0x8b815e(0x340));}[_0x41545e(0x1bb)](){var _0x905b07=_0x41545e;this[_0x905b07(0x325)]!=null&&(clearTimeout(this[_0x905b07(0x325)]),this[_0x905b07(0x325)]=null);}[_0x41545e(0x47f)](_0x39e1d6){var _0x5f410e=_0x41545e;return this[_0x5f410e(0x1bb)](),this[_0x5f410e(0x367)]['createInstance'](ue,this[_0x5f410e(0x25a)],this[_0x5f410e(0x1b3)],null,this[_0x5f410e(0x35a)],this[_0x5f410e(0x412)],_0x39e1d6);}};oe=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x236453(xe)),P(0x7,_0x5b92b1),P(0x8,_0x2c92b5),P(0x9,_0x34fb67),P(0xa,_0x1335c8),P(0xb,_0x214b6f),P(0xc,_0x5a61a5),P(0xd,_0x1d0f46(J))],oe);let le=class extends Ce{constructor(_0x2841ec,_0x419f24,_0x534c82,_0x539d94,_0x5a6153,_0x537c09,_0x3b1c6d,_0x1e7f63,_0x3a4f0a,_0x20af54,_0x6abeaf){var _0x5a95b4=_0x41545e;super(_0x2841ec,_0x419f24,_0x534c82,[],_0x539d94,_0x3b1c6d,_0x20af54,_0x537c09,_0x6abeaf),N(this,_0x5a95b4(0x244),_0x5a95b4(0x3bb)),N(this,_0x5a95b4(0x2d0),0x0),N(this,_0x5a95b4(0x2e1)),N(this,_0x5a95b4(0x227)),(this[_0x5a95b4(0x367)]=_0x5a6153,this[_0x5a95b4(0x398)]=_0x1e7f63,this[_0x5a95b4(0x3ac)]=_0x3a4f0a);}[_0x41545e(0x45f)](_0x234baf){var _0x3cb9bc=_0x41545e;this[_0x3cb9bc(0x1bb)]();const _0x333b95=this[_0x3cb9bc(0x367)]['createInstance'](ae,this[_0x3cb9bc(0x25a)],this[_0x3cb9bc(0x1b3)],this[_0x3cb9bc(0x3bf)],[_0x234baf],this[_0x3cb9bc(0x412)],this[_0x3cb9bc(0x2e1)]);return _0x333b95['_updateLocalCache'](),_0x333b95;}[_0x41545e(0x406)](_0x4f7e17){var _0x1dff99=_0x41545e;if(this[_0x1dff99(0x211)](_0x4f7e17))return this[_0x1dff99(0x1bb)](),this['_injector']['createInstance'](ee,this[_0x1dff99(0x25a)],this[_0x1dff99(0x1b3)],this[_0x1dff99(0x3bf)],[],null,[_0x4f7e17],this[_0x1dff99(0x412)]);try{const _0x47d1fe=this[_0x1dff99(0x3ac)][_0x1dff99(0x343)]([_0x4f7e17],[this[_0x1dff99(0x3bf)]],!0x1);if(_0xab296d(_0x47d1fe)){const {c1Prime:_0x19af60,c2Prime:_0x46b0c1}=_0x47d1fe;this[_0x1dff99(0x3a4)](_0x19af60[0x0]),_0x46b0c1[0x0][_0x1dff99(0x2b7)]=this[_0x1dff99(0x314)](),this[_0x1dff99(0x1bb)]();const _0x371e31=this[_0x1dff99(0x367)][_0x1dff99(0x34f)](le,this['unitID'],this['type'],_0x46b0c1[0x0],this[_0x1dff99(0x412)]);return _0x371e31['_updateLocalCache'](),_0x371e31;}return this['_onConflict'](!0x1);}catch(_0x3be83d){return this[_0x1dff99(0x398)][_0x1dff99(0x353)](_0x3be83d),this[_0x1dff99(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0xaf06b3){var _0x88bbef=_0x41545e;this[_0x88bbef(0x1bb)]();const _0xdd4015=this[_0x88bbef(0x3ad)][_0x88bbef(0x189)](this['unitID']);if(_0xaf06b3['revision']<_0xdd4015-0x1)return this;if(this[_0x88bbef(0x211)](_0xaf06b3))return this[_0x88bbef(0x367)][_0x88bbef(0x34f)](ee,this[_0x88bbef(0x25a)],this['type'],null,[],this[_0x88bbef(0x3bf)],[],this[_0x88bbef(0x412)]);this['_incrementRevisionNumber']();const _0x96b38e=this[_0x88bbef(0x367)]['createInstance'](Ne,this[_0x88bbef(0x25a)],this[_0x88bbef(0x1b3)],this[_0x88bbef(0x412)]);return _0x96b38e['_updateLocalCache'](),_0x96b38e;}[_0x41545e(0x439)](_0x56277b){var _0x229567=_0x41545e;return this[_0x229567(0x47f)](!!(_0x56277b!=null&&_0x56277b[_0x229567(0x3c5)]));}[_0x41545e(0x2ab)](_0x4ed98b){var _0x26e989=_0x41545e;return this['_resendTimeout']>yi?this[_0x26e989(0x429)]():(this[_0x26e989(0x2e1)]=Ri(this[_0x26e989(0x2d0)],{'timeout':this[_0x26e989(0x2d0)],'reqId':_0x4ed98b[_0x26e989(0x1e5)]}),this[_0x26e989(0x227)]=this['_resendTimer'][_0x26e989(0x40b)](({reqId:_0x256a29,timeout:_0x54d3dc})=>{var _0x32641c=_0x26e989;this[_0x32641c(0x294)](_0x256a29,_0x54d3dc);}),this);}['toggleOffline'](){var _0x3cc351=_0x41545e;return this['_clearScheduledTask'](),this[_0x3cc351(0x367)][_0x3cc351(0x34f)](de,this[_0x3cc351(0x25a)],this[_0x3cc351(0x1b3)],this['_awaitingChangeset'],[],this[_0x3cc351(0x412)]);}[_0x41545e(0x274)](){return this;}['resend'](){var _0x158097=_0x41545e;this['_handler'][_0x158097(0x3c0)](this[_0x158097(0x3bf)]);}[_0x41545e(0x47f)](_0x3e6f2e){var _0x7bcb4c=_0x41545e;return this[_0x7bcb4c(0x1bb)](),this[_0x7bcb4c(0x367)]['createInstance'](ue,this[_0x7bcb4c(0x25a)],this['type'],this[_0x7bcb4c(0x3bf)],[],this['_handler'],_0x3e6f2e);}['_resendWithTimeout'](_0x4312cb,_0x1c0c64){var _0x3889ce=_0x41545e,_0x1fe902;_0x4312cb===((_0x1fe902=this[_0x3889ce(0x3bf)])==null?void 0x0:_0x1fe902['reqId'])&&(this[_0x3889ce(0x468)](),this[_0x3889ce(0x2d0)]=_0x1c0c64===0x0?0x3e8:_0x1c0c64*0x2);}[_0x41545e(0x1bb)](){var _0x23c257=_0x41545e,_0x5b9dfb;(_0x5b9dfb=this[_0x23c257(0x227)])==null||_0x5b9dfb[_0x23c257(0x2ba)](),this[_0x23c257(0x2d0)]=0x0;}};le=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x5a61a5),P(0xa,_0x1d0f46(J))],le);let ae=class extends Ce{constructor(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0xb5fb03,_0x3fd19d,_0x34d1c4,_0x24cfab,_0xe54dc2,_0x2dabf6,_0x54c1f3,_0x1302f8){var _0x33907d=_0x41545e;super(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0x24cfab,_0x54c1f3,_0x34d1c4,_0x1302f8),N(this,_0x33907d(0x244),_0x33907d(0x42a)),N(this,_0x33907d(0x2d0),0x0),N(this,_0x33907d(0x2e1)),N(this,'_sender'),(this[_0x33907d(0x367)]=_0x3fd19d,this[_0x33907d(0x398)]=_0xe54dc2,this[_0x33907d(0x3ac)]=_0x2dabf6,this[_0x33907d(0x2d3)]=_0x1302f8,_0xb5fb03&&(this[_0x33907d(0x2e1)]=_0xb5fb03,this['_sender']=this['_resendTimer'][_0x33907d(0x40b)](({reqId:_0x3cea02,timeout:_0xb11ec6})=>{var _0x25384f=_0x33907d;this[_0x25384f(0x294)](_0x3cea02,_0xb11ec6);})));}[_0x41545e(0x45f)](_0x20ffd1){var _0x4d5832=_0x41545e;return this[_0x4d5832(0x35a)][_0x4d5832(0x22d)](_0x20ffd1),this;}['onRemoteChangeset'](_0x1bffb8){var _0x9dd06c=_0x41545e;if(this[_0x9dd06c(0x211)](_0x1bffb8))return this['_clearScheduledTask'](),this['_injector']['createInstance'](ee,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],this[_0x9dd06c(0x3bf)],this[_0x9dd06c(0x35a)],null,[_0x1bffb8],this[_0x9dd06c(0x412)]);try{const _0x10fbfb=this['_transformService'][_0x9dd06c(0x343)]([_0x1bffb8],[this[_0x9dd06c(0x3bf)]],!0x1);if(_0xab296d(_0x10fbfb)){const {c1Prime:_0x428242,c2Prime:_0x3dfbb0}=_0x10fbfb,_0x1eedb8=this[_0x9dd06c(0x3ac)]['transformMutationsWithChangeset'](_0x428242[0x0],this[_0x9dd06c(0x35a)]);if(_0x191540(_0x1eedb8)){const {c1Prime:_0x3a8f2a,m2Prime:_0x3313de}=_0x1eedb8;return this[_0x9dd06c(0x3a4)](_0x3a8f2a),_0x3dfbb0[0x0][_0x9dd06c(0x2b7)]=this[_0x9dd06c(0x314)](),this[_0x9dd06c(0x1bb)](),this[_0x9dd06c(0x367)][_0x9dd06c(0x34f)](ae,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],_0x3dfbb0[0x0],_0x3313de,this['_handler'],void 0x0);}throw _0x1eedb8[_0x9dd06c(0x353)];}throw _0x10fbfb[_0x9dd06c(0x353)];}catch(_0x22f66a){return this[_0x9dd06c(0x398)][_0x9dd06c(0x353)](_0x22f66a),this[_0x9dd06c(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0x3cce9d){var _0x1eb1a7=_0x41545e;if(this[_0x1eb1a7(0x1bb)](),this[_0x1eb1a7(0x211)](_0x3cce9d))return this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](ee,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],null,this[_0x1eb1a7(0x35a)],this[_0x1eb1a7(0x3bf)],[],this[_0x1eb1a7(0x412)]);this['_incrementRevisionNumber']();const _0x5bdfbd=this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](oe,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],this['_pendingMutations'],this[_0x1eb1a7(0x412)]);return _0x5bdfbd['_schedule'](),_0x5bdfbd[_0x1eb1a7(0x3e0)](),_0x5bdfbd;}[_0x41545e(0x439)](_0x271f5d){var _0x121c39=_0x41545e;return this['_onConflict'](!!(_0x271f5d!=null&&_0x271f5d[_0x121c39(0x3c5)]));}[_0x41545e(0x2ab)](_0x1651f6){var _0x51bf7c=_0x41545e;return this[_0x51bf7c(0x2d0)]>yi?this['toggleOffline']():(this[_0x51bf7c(0x2e1)]=Ri(this[_0x51bf7c(0x2d0)],{'timeout':this[_0x51bf7c(0x2d0)],'reqId':_0x1651f6['reqId']}),this['_sender']=this[_0x51bf7c(0x2e1)][_0x51bf7c(0x40b)](({reqId:_0x721291,timeout:_0x4ad0fe})=>{var _0x438d35=_0x51bf7c;this[_0x438d35(0x294)](_0x721291,_0x4ad0fe);}),this);}[_0x41545e(0x429)](){var _0x466217=_0x41545e;return this[_0x466217(0x1bb)](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x466217(0x3bf)],this[_0x466217(0x35a)],this[_0x466217(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){var _0x42582e=_0x41545e;this[_0x42582e(0x412)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x41545e(0x47f)](_0x43a90f){var _0x576c71=_0x41545e;return this['_clearScheduledTask'](),this[_0x576c71(0x367)][_0x576c71(0x34f)](ue,this[_0x576c71(0x25a)],this['type'],null,this[_0x576c71(0x35a)],this[_0x576c71(0x412)],_0x43a90f);}[_0x41545e(0x294)](_0x2342c3,_0x1040f1){var _0x4fde51=_0x41545e,_0x1a8829;_0x2342c3===((_0x1a8829=this['_awaitingChangeset'])==null?void 0x0:_0x1a8829['reqId'])&&(this[_0x4fde51(0x468)](),this['_resendTimeout']=_0x1040f1===0x0?0x3e8:_0x1040f1*0x2);}[_0x41545e(0x1bb)](){var _0x5b6d72=_0x41545e,_0x53b479;(_0x53b479=this[_0x5b6d72(0x227)])==null||_0x53b479['unsubscribe'](),this[_0x5b6d72(0x2d0)]=0x0;}};ae=Te([P(0x6,_0x236453(_0x35ce09)),P(0x7,_0x236453(_0x4fea53)),P(0x8,_0x2c92b5),P(0x9,_0x5b92b1),P(0xa,_0x1335c8),P(0xb,_0x5a61a5),P(0xc,_0x1d0f46(J))],ae);let ue=class extends Ce{constructor(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x3b4791=!0x1,_0x4c8eaf,_0x461dc9,_0x216fd5,_0x47a199,_0x3c3b5c,_0x13840f,_0x14052c){var _0x1a1168=_0x41545e;super(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x461dc9,_0x216fd5,_0x47a199,_0x14052c),N(this,_0x1a1168(0x244),_0x1a1168(0x447)),(this['_isPermissionRej']=_0x3b4791,this['_permissionService']=_0x4c8eaf,this[_0x1a1168(0x357)]=_0x3c3b5c,this[_0x1a1168(0x1ae)]=_0x13840f,this[_0x1a1168(0x2d3)]=_0x14052c,this[_0x1a1168(0x204)](),this[_0x1a1168(0x38f)](),this[_0x1a1168(0x44b)]());}['appendMutation'](){return this;}[_0x41545e(0x406)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){return this;}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x38f)](){var _0x1ec1f9=_0x41545e,_0x52c967;(_0x52c967=this[_0x1ec1f9(0x3d9)])==null||_0x52c967[_0x1ec1f9(0x36f)](this['unitID'],this[_0x1ec1f9(0x1b3)],null,[]);}['_showConflictNotification'](){var _0x422736=_0x41545e;this[_0x422736(0x1d5)]?this['_collaborationUIEventService'][_0x422736(0x24f)]({'id':se[_0x422736(0x2b0)]}):this[_0x422736(0x1ae)]['emitEvent']({'id':se[_0x422736(0x2cb)]});}[_0x41545e(0x44b)](){var _0x4380f4=_0x41545e;this[_0x4380f4(0x26c)][_0x4380f4(0x3e8)](new _0xeafda4(this[_0x4380f4(0x25a)])['id'],!0x1);}};ue=Te([P(0x6,_0x236453(_0x4da13f)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x236453(_0x4fea53)),P(0xa,_0x236453(_0xa17142)),P(0xb,_0x236453(pe)),P(0xc,_0x1d0f46(J))],ue);let de=class extends Ce{constructor(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x50bd44,_0xd215cb,_0x207e1a,_0x2e6c8a,_0x40ab80){var _0x40ec3a=_0x41545e;super(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x207e1a,_0x2e6c8a,_0xd215cb,_0x40ab80),N(this,_0x40ec3a(0x244),'offline'),this[_0x40ec3a(0x367)]=_0x50bd44;}[_0x41545e(0x45f)](_0x149c35){return this['_pendingMutations']['push'](_0x149c35),this['_updateLocalCache'](),this;}[_0x41545e(0x406)](_0x59d620){var _0x52c22a=_0x41545e;throw new Error(_0x52c22a(0x3be));}['onRemoteAck'](){var _0x1e97be=_0x41545e;throw new Error(_0x1e97be(0x47c));}[_0x41545e(0x439)](){var _0x434f2c=_0x41545e;throw new Error(_0x434f2c(0x1aa));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){return this;}[_0x41545e(0x274)](){var _0x32d784=_0x41545e;const {_injector:_0xb8afb4,_pendingMutations:_0x6762c4,_awaitingChangeset:_0x213c39,unitID:_0x4155d9,_handler:_0x158d80,type:_0x23125d}=this,_0x4344e6=Oi(_0xb8afb4,_0x4155d9,_0x23125d,_0x213c39,_0x6762c4,_0x158d80);return _0x4344e6 instanceof oe?_0x4344e6[_0x32d784(0x2b5)]():(_0x4344e6 instanceof ae||_0x4344e6 instanceof le)&&_0x4344e6[_0x32d784(0x468)](),_0x4344e6;}[_0x41545e(0x468)](){var _0x4e9b1d=_0x41545e;throw new Error(_0x4e9b1d(0x35f));}};de=Te([P(0x5,_0x236453(_0x35ce09)),P(0x6,_0x236453(_0x4fea53)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x1d0f46(J))],de);let ee=class extends Ce{constructor(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x5bab83,_0x48ed4b,_0x90ec6e,_0x18456e,_0x55ecfb,_0x3595ff,_0x89ade2,_0x351df2,_0x37f892,_0x14526c){var _0x5b77cf=_0x41545e;super(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x90ec6e,_0x89ade2,_0x351df2,_0x55ecfb,_0x14526c),N(this,_0x5b77cf(0x244),_0x5b77cf(0x346)),(this['_acknowledgedAwaitingChangeset']=_0x5bab83,this['_queuedRemoteChangesets']=_0x48ed4b,this[_0x5b77cf(0x367)]=_0x18456e,this[_0x5b77cf(0x398)]=_0x3595ff,this[_0x5b77cf(0x3ac)]=_0x37f892,this[_0x5b77cf(0x2d3)]=_0x14526c);}[_0x41545e(0x252)](_0x3975a9){var _0x301856=_0x41545e;try{const _0x15bc81=[..._0x3975a9,...this[_0x301856(0x473)]],_0x51dee5=[this[_0x301856(0x3bf)]||this['_acknowledgedAwaitingChangeset']][_0x301856(0x38c)](_0x4b0044=>!!_0x4b0044);let _0x38fc38,_0x4307b3;if(_0x51dee5['length']){const _0x340572=this[_0x301856(0x3ac)][_0x301856(0x343)](_0x15bc81,_0x51dee5,!0x1);if(!_0xab296d(_0x340572))throw _0x340572['error'];_0x38fc38=_0x340572['c1Prime'],_0x4307b3=_0x340572[_0x301856(0x21b)];}else _0x38fc38=_0x15bc81,_0x4307b3=[];let _0x8b0481=this[_0x301856(0x35a)];_0x38fc38[_0x301856(0x1d8)](_0x4d8e97=>{var _0x1eeb3d=_0x301856;let _0xd27e74;if(_0x8b0481[_0x1eeb3d(0x2fa)]){const _0x5a839b=this[_0x1eeb3d(0x3ac)]['transformMutationsWithChangeset'](_0x4d8e97,_0x8b0481);if(!_0x191540(_0x5a839b))throw _0x5a839b['error'];_0xd27e74=_0x5a839b[_0x1eeb3d(0x3e1)],_0x8b0481=_0x5a839b[_0x1eeb3d(0x379)];}else _0xd27e74=_0x4d8e97;this[_0x1eeb3d(0x3a4)](_0xd27e74);}),this[_0x301856(0x187)]&&this[_0x301856(0x2f6)](),this[_0x301856(0x3bf)]&&_0x4307b3[_0x301856(0x2fa)]&&(_0x4307b3[0x0][_0x301856(0x2b7)]=this['_getCurrentRevision']());let _0x43f22f;if(this[_0x301856(0x3bf)]&&_0x8b0481[_0x301856(0x2fa)]!==0x0)_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](ae,this[_0x301856(0x25a)],this['type'],_0x4307b3[0x0],_0x8b0481,this[_0x301856(0x412)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8b0481[_0x301856(0x2fa)]===0x0)_0x4307b3[0x0][_0x301856(0x2b7)]=this[_0x301856(0x314)](),_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](le,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x4307b3[0x0],this[_0x301856(0x412)]);else{if(_0x8b0481[_0x301856(0x2fa)]!==0x0){const _0x1e2e10=this['_injector'][_0x301856(0x34f)](oe,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x8b0481,this['_handler']);_0x1e2e10['_schedule'](),_0x43f22f=_0x1e2e10;}else _0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](Ne,this[_0x301856(0x25a)],this['type'],this[_0x301856(0x412)]);}}return _0x43f22f[_0x301856(0x3e0)](),_0x43f22f;}catch(_0x420deb){return this['_logService'][_0x301856(0x353)](_0x301856(0x199),'failed\x20to\x20apply\x20missed\x20changesets!',_0x420deb),this['_injector'][_0x301856(0x34f)](ue,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],this[_0x301856(0x3bf)],this[_0x301856(0x35a)],this['_handler'],!0x1);}}[_0x41545e(0x468)](){var _0x2b195f=_0x41545e;throw new Error(_0x2b195f(0x427));}[_0x41545e(0x45f)](_0x46452b){var _0x56d77f=_0x41545e;return this[_0x56d77f(0x35a)][_0x56d77f(0x22d)](_0x46452b),this;}['onRemoteChangeset'](_0x23174){var _0x3c1e5e=_0x41545e;return this[_0x3c1e5e(0x473)][_0x3c1e5e(0x22d)](_0x23174),this;}[_0x41545e(0x3bd)](_0x5c930f){var _0x3efbcf=_0x41545e;if(this[_0x3efbcf(0x3bf)])return this[_0x3efbcf(0x187)]=this[_0x3efbcf(0x3bf)],this['_awaitingChangeset']=null,this;throw new Error(_0x3efbcf(0x30c));}[_0x41545e(0x439)](_0x5c6151){var _0x1ba752=_0x41545e;return this[_0x1ba752(0x47f)](!!(_0x5c6151!=null&&_0x5c6151[_0x1ba752(0x3c5)]));}['onRemoteRetry'](){return this;}[_0x41545e(0x429)](){var _0x1d135c=_0x41545e;return this['_injector'][_0x1d135c(0x34f)](de,this[_0x1d135c(0x25a)],this[_0x1d135c(0x1b3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d135c(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x47f)](_0x564646){var _0x5bef30=_0x41545e;return this[_0x5bef30(0x367)][_0x5bef30(0x34f)](ue,this[_0x5bef30(0x25a)],this['type'],this[_0x5bef30(0x3bf)],this[_0x5bef30(0x35a)],this['_handler'],_0x564646);}};ee=Te([P(0x7,_0x236453(_0x35ce09)),P(0x8,_0x236453(_0x4fea53)),P(0x9,_0x5b92b1),P(0xa,_0x2c92b5),P(0xb,_0x5a61a5),P(0xc,_0x1335c8),P(0xd,_0x1d0f46(J))],ee);function Oi(_0x1162e6,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534){var _0x4587b3=_0x41545e;return _0x5bc1e4&&_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](ae,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534,void 0x0):_0x5bc1e4?_0x1162e6['createInstance'](le,_0x5e53da,_0x299d51,_0x5bc1e4,_0x9e9534):_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](oe,_0x5e53da,_0x299d51,_0x237a76,_0x9e9534):_0x1162e6[_0x4587b3(0x34f)](Ne,_0x5e53da,_0x299d51,_0x9e9534);}var on=Object[_0x41545e(0x271)],xt=(_0x2b8fd0,_0x593a50,_0x498791,_0x2a0a55)=>{var _0x2c178f=_0x41545e;for(var _0x59b973=_0x2a0a55>0x1?void 0x0:_0x2a0a55?on(_0x593a50,_0x498791):_0x593a50,_0x46b67b=_0x2b8fd0[_0x2c178f(0x2fa)]-0x1,_0x239761;_0x46b67b>=0x0;_0x46b67b--)(_0x239761=_0x2b8fd0[_0x46b67b])&&(_0x59b973=_0x239761(_0x59b973)||_0x59b973);return _0x59b973;},H=(_0x15045f,_0x52d66a)=>(_0x2f68aa,_0x54ba7b)=>_0x52d66a(_0x2f68aa,_0x54ba7b,_0x15045f);let rt=class extends _0x433c2f{constructor(_0x2762a8,_0x424aeb,_0x48372e,_0x10187c,_0x2ed847,_0x475315,_0x395f0d,_0x548bfe,_0xea1ba8,_0x11a622,_0x28f7fc,_0xa32a08,_0x21bb83){var _0x3fe557=_0x41545e;super(),N(this,_0x3fe557(0x308),new _0x48d6f2(null)),N(this,_0x3fe557(0x31b),this['_state$'][_0x3fe557(0x38e)]()),N(this,_0x3fe557(0x465)),N(this,_0x3fe557(0x421),!0x1),N(this,_0x3fe557(0x1ff),''),N(this,_0x3fe557(0x1d6),0x0),N(this,'status$',this[_0x3fe557(0x31b)]['pipe'](_0x5c7050(_0x50cc01=>_0x50cc01?_0x50cc01[_0x3fe557(0x244)]:bi[_0x3fe557(0x1ed)]),_0x351670(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x3fe557(0x25a)]=_0x2762a8,this['session']=_0x424aeb,this[_0x3fe557(0x3cf)]=_0x48372e,this[_0x3fe557(0x367)]=_0x10187c,this[_0x3fe557(0x2ad)]=_0x2ed847,this[_0x3fe557(0x357)]=_0x475315,this['_revisionService']=_0x395f0d,this[_0x3fe557(0x2f9)]=_0x548bfe,this[_0x3fe557(0x398)]=_0xea1ba8,this[_0x3fe557(0x396)]=_0x11a622,this['_permissionService']=_0x28f7fc,this[_0x3fe557(0x3b3)]=_0xa32a08,this[_0x3fe557(0x3d9)]=_0x21bb83);}get['state'](){var _0x560f33=_0x41545e;return this[_0x560f33(0x465)];}async['init'](){var _0x28597e=_0x41545e;if(this[_0x28597e(0x2a7)])throw new Error(_0x28597e(0x2be));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x1a739e(()=>{var _0x2c9065=_0x5230;this['_collaborationPaused']=!0x1,this[_0x2c9065(0x2d7)]();});}['onLocalMutation'](_0x1e648a){var _0x3c01eb=_0x41545e;this[_0x3c01eb(0x3cc)](_0x1e648a);}['_updateState'](_0x2ce4cc){var _0x229796=_0x41545e;this[_0x229796(0x465)]=_0x2ce4cc,this['_state$'][_0x229796(0x25e)](_0x2ce4cc);}async[_0x41545e(0x397)](){var _0x3ab50c=_0x41545e,_0x54a1d1;this[_0x3ab50c(0x1dd)](await this[_0x3ab50c(0x24b)]()),this['_singleActiveUnitService']&&((_0x54a1d1=this[_0x3ab50c(0x3b3)])==null||_0x54a1d1['editingUnit'](this[_0x3ab50c(0x25a)]),this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x3b3)][_0x3ab50c(0x31d)](this['unitID'])[_0x3ab50c(0x40b)](_0x5887c8=>{var _0x1e8651=_0x3ab50c;this['_logService']['debug'](_0x1e8651(0x354),_0x1e8651(0x3a0),_0x5887c8),_0x5887c8===Ci[_0x1e8651(0x2c3)]?(this[_0x1e8651(0x2f9)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x1e8651(0x26c)][_0x1e8651(0x3e8)](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x1),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x0),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x0));})));let _0x1df30b=!0x1;return this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x1a6)][_0x3ab50c(0x1d2)][_0x3ab50c(0x40b)](_0x5df5ef=>{var _0x59f815=_0x3ab50c;_0x5df5ef===Ee[_0x59f815(0x280)]?this[_0x59f815(0x26a)](_0x1df30b):_0x5df5ef===Ee[_0x59f815(0x1ed)]&&(_0x1df30b=!0x0,this[_0x59f815(0x26b)]());})),this['disposeWithMe'](this[_0x3ab50c(0x1a6)]['event$'][_0x3ab50c(0x40b)](_0x1ad99f=>{var _0x25ade5=_0x3ab50c;try{switch(_0x1ad99f[_0x25ade5(0x44a)]){case _0x5cfd61[_0x25ade5(0x33b)]:{this['_onRemoteChangeset'](_0x2cacbb(_0x1ad99f[_0x25ade5(0x226)]));break;}case _0x5cfd61[_0x25ade5(0x3df)]:{this[_0x25ade5(0x1cc)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x3a6)]:{this[_0x25ade5(0x22b)]();break;}case _0x5cfd61['CHANGESET_SHOULD_RETRY']:{this[_0x25ade5(0x3af)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x1d9)]:{this['_onFetchMissResult'](_0x1ad99f['data']['changesets'][_0x25ade5(0x400)](_0x4f2138=>_0x2cacbb(_0x4f2138)));break;}case _0x5cfd61[_0x25ade5(0x255)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5cfd61[_0x25ade5(0x1d4)]:break;}}catch(_0x10f840){throw console['error']('Error\x20on\x20receiving\x20event',_0x10f840),_0x10f840;}})),this[_0x3ab50c(0x465)];}[_0x41545e(0x2b8)](){var _0x14653e=_0x41545e;this[_0x14653e(0x417)]=!0x1;}['_lockTransition'](){var _0x2beee6=_0x41545e;if(this[_0x2beee6(0x417)])throw new Error(_0x2beee6(0x1f9));this[_0x2beee6(0x417)]=!0x0;}[_0x41545e(0x3cc)](_0x5b1566){var _0x520a3c=_0x41545e;this[_0x520a3c(0x217)](),this[_0x520a3c(0x1dd)](this[_0x520a3c(0x465)][_0x520a3c(0x45f)](_0x5b1566)),this[_0x520a3c(0x2b8)]();}[_0x41545e(0x445)](_0x382b23){var _0xac10d2=_0x41545e;if(!(_0x382b23[_0xac10d2(0x2a2)]<=this[_0xac10d2(0x3ad)]['getCurrentRevOfUnit'](this[_0xac10d2(0x25a)]))){if(this[_0xac10d2(0x421)]){this['_remoteChangesetQueue']['push'](_0x382b23);return;}this['_applyRemoteChangeset'](_0x382b23);}}[_0x41545e(0x2d7)](){var _0x72db=_0x41545e;this[_0x72db(0x37e)][_0x72db(0x1d8)](_0x55021d=>this[_0x72db(0x256)](_0x55021d)),this[_0x72db(0x37e)]=[];}[_0x41545e(0x256)](_0x1570c2){var _0x3ed476=_0x41545e;const _0x232443=this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)][_0x3ed476(0x419)](this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1570c2[_0x3ed476(0x292)],null)||_0x1570c2[_0x3ed476(0x292)],_0x4b6aa7={..._0x1570c2,'mutations':_0x232443};this[_0x3ed476(0x217)](),this[_0x3ed476(0x1dd)](this['_state']['onRemoteChangeset'](_0x4b6aa7)),this['_unlockTransition']();}[_0x41545e(0x1cc)](_0x250371){var _0x6d1992=_0x41545e;this[_0x6d1992(0x217)](),this[_0x6d1992(0x1dd)](this[_0x6d1992(0x465)][_0x6d1992(0x3bd)](_0x250371)),this[_0x6d1992(0x2b8)]();}[_0x41545e(0x22b)](_0x2d11de){var _0x1f199d=_0x41545e;this[_0x1f199d(0x217)](),this['_updateState'](this[_0x1f199d(0x465)][_0x1f199d(0x439)](_0x2d11de)),this[_0x1f199d(0x2b8)]();}['_onRemoteRetry'](_0x2b23d9){var _0x1d2f55=_0x41545e;this[_0x1d2f55(0x217)](),this[_0x1d2f55(0x1dd)](this[_0x1d2f55(0x465)]['onRemoteRetry'](_0x2b23d9)),this[_0x1d2f55(0x2b8)]();}[_0x41545e(0x403)](_0x3e03e4){var _0x44cbb7=_0x41545e;if(!(this['_state']instanceof ee))throw new TypeError(_0x44cbb7(0x344));const _0x21ad04=_0x3e03e4[_0x44cbb7(0x400)](_0x307a0e=>{var _0x24a95f=_0x44cbb7;const _0x2c122e=this['_compressMutationService'][_0x24a95f(0x3b4)][_0x24a95f(0x419)](this[_0x24a95f(0x2ad)][_0x24a95f(0x3b4)][_0x24a95f(0x47a)]()[_0x24a95f(0x2d9)])(_0x307a0e[_0x24a95f(0x292)],null)||_0x307a0e[_0x24a95f(0x292)];return{..._0x307a0e,'mutations':_0x2c122e};});this[_0x44cbb7(0x217)](),this['_updateState'](this[_0x44cbb7(0x465)][_0x44cbb7(0x252)](_0x21ad04)),this[_0x44cbb7(0x2b8)]();}[_0x41545e(0x26b)](){var _0x1070ad=_0x41545e;this[_0x1070ad(0x217)](),this['_updateState'](this['_state'][_0x1070ad(0x429)]()),this[_0x1070ad(0x2b8)]();}[_0x41545e(0x26a)](_0x1b3b71=!0x1){var _0x2a2834=_0x41545e;this[_0x2a2834(0x217)](),this[_0x2a2834(0x1dd)](this[_0x2a2834(0x465)][_0x2a2834(0x274)]()),this[_0x2a2834(0x2b8)]();const _0xe99ba4=this[_0x2a2834(0x465)];_0x1b3b71&&_0xe99ba4 instanceof Ne&&(this[_0x2a2834(0x217)](),this['_updateState'](_0xe99ba4['fetchMiss']()),this[_0x2a2834(0x2b8)]());}async['_createInitialState'](){return new Promise(_0x1ff691=>{var _0x3994b6=_0x5230;this[_0x3994b6(0x1a6)][_0x3994b6(0x1d2)]['pipe'](_0x4774cb(0x1))[_0x3994b6(0x40b)](async _0x3354a9=>{var _0x3342c8=_0x3994b6;_0x1ff691(await this[_0x3342c8(0x1c2)](_0x3354a9===Ee[_0x3342c8(0x280)]));});});}[_0x41545e(0x448)](){const _0x4f3e1e=this['unitID'];return{'onStateChange':(_0x4607b5,_0x214d8f)=>{var _0x2d9392=_0x5230;if(_0x4607b5!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4607b5[_0x2d9392(0x244)]+_0x2d9392(0x43d)+_0x214d8f[_0x2d9392(0x244)]+_0x2d9392(0x2cd)+this[_0x2d9392(0x465)][_0x2d9392(0x244)]);this['_updateState'](_0x214d8f);},'onSendChangeset':_0x31718d=>{var _0x44a6ab=_0x5230;_0x31718d['sid']||(_0x31718d[_0x44a6ab(0x363)]=this[_0x44a6ab(0x1ff)],_0x31718d['reqId']=++this[_0x44a6ab(0x1d6)]);const _0x4ee0eb={'eventID':_0x5cfd61[_0x44a6ab(0x339)],'data':{'unitID':_0x31718d[_0x44a6ab(0x25a)],'unitType':this['_type'],'changeset':_0x31718d,'memberID':this[_0x44a6ab(0x1a6)]['getMemberID']()}};this[_0x44a6ab(0x1a6)][_0x44a6ab(0x24c)](_0x4ee0eb,this[_0x44a6ab(0x25a)]);},'onMissingChangesets':({from:_0x4ee626,to:_0x31a1ef})=>{var _0xb7cae8=_0x5230;this['_logService']['debug'](_0xb7cae8(0x354),_0xb7cae8(0x477)+_0x4ee626+_0xb7cae8(0x40a)+_0x31a1ef);const _0x55f064={'eventID':_0x5cfd61[_0xb7cae8(0x39c)],'data':{'unitID':_0x4f3e1e,'unitType':this[_0xb7cae8(0x3cf)],'from':_0x4ee626,'to':_0x31a1ef}};this[_0xb7cae8(0x1a6)][_0xb7cae8(0x24c)](_0x55f064,this['unitID']);}};}async[_0x41545e(0x1c2)](_0xe733b4){var _0x11c8ef=_0x41545e,_0x2246b0,_0x578816,_0x48c387;const _0x3c9e6a=await((_0x2246b0=this['_localCacheService'])==null?void 0x0:_0x2246b0['loadOfflineData'](this[_0x11c8ef(0x25a)])),_0x13ab7d=(_0x578816=_0x3c9e6a==null?void 0x0:_0x3c9e6a['mutations'])!=null?_0x578816:[],_0xdb00c7=(_0x48c387=_0x3c9e6a==null?void 0x0:_0x3c9e6a[_0x11c8ef(0x279)])!=null?_0x48c387:null,_0x409467=!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x363)])&&!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x1e5)]);this['_changesetSessionId']=_0x409467?_0xdb00c7[_0x11c8ef(0x363)]:Xr(),this[_0x11c8ef(0x1d6)]=_0x409467?_0xdb00c7['reqId']:0x0;const _0x19ff0a=this[_0x11c8ef(0x25a)];try{this['_replayCachedMutations'](_0xdb00c7,_0x13ab7d);}catch(_0x3df08f){this[_0x11c8ef(0x398)][_0x11c8ef(0x353)](_0x3df08f);}const _0x19775b=this[_0x11c8ef(0x448)]();if(_0xe733b4){const _0x1ed19e=Oi(this[_0x11c8ef(0x367)],_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);return _0x1ed19e instanceof oe?_0x1ed19e['_schedule']():(_0x1ed19e instanceof ae||_0x1ed19e instanceof le)&&_0x1ed19e[_0x11c8ef(0x468)](),_0x1ed19e;}return this[_0x11c8ef(0x367)]['createInstance'](de,_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);}[_0x41545e(0x1c8)](_0x26a34e,_0x57d32a){var _0x32a6f3=_0x41545e,_0x302e8f,_0x2b9192;const _0x477e71=this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x419)](this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x47a)]()[_0x32a6f3(0x2d9)]);(_0x302e8f=_0x477e71((_0x26a34e==null?void 0x0:_0x26a34e['mutations'])||[],null))==null||_0x302e8f['forEach'](_0x1e78e4=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x1e78e4['id'],_0x1e78e4[_0x32a6f3(0x436)])),(_0x2b9192=_0x477e71(_0x57d32a||[],null))==null||_0x2b9192[_0x32a6f3(0x1d8)](_0x32f0e1=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x32f0e1['id'],_0x32f0e1[_0x32a6f3(0x436)]));}};rt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],rt);let It=class extends rt{constructor(_0x19c2ef,_0x32bb22,_0x2f1a89,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881){var _0x59940a=_0x41545e;super(_0x19c2ef,_0x2f1a89,_0x32bb22,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881),N(this,_0x59940a(0x455),null),(this[_0x59940a(0x25a)]=_0x19c2ef,this[_0x59940a(0x1b3)]=_0x32bb22);}[_0x41545e(0x366)](_0xccdd3c){var _0x28e476=_0x41545e;this[_0x28e476(0x455)]=_0xccdd3c;}[_0x41545e(0x293)](){var _0x2c7fe1=_0x41545e;this[_0x2c7fe1(0x455)]=null,super['dispose']();}[_0x41545e(0x448)](){var _0x48b4f8=_0x41545e;const _0x427c33=super[_0x48b4f8(0x448)]();return _0x427c33[_0x48b4f8(0x3a1)]=_0x183b98=>{var _0x4433b8=_0x48b4f8,_0x44a599,_0x3e8117;return(_0x3e8117=(_0x44a599=this['_handlerCallback'])==null?void 0x0:_0x44a599[_0x4433b8(0x3a1)])==null?void 0x0:_0x3e8117['call'](_0x44a599,_0x183b98);},_0x427c33[_0x48b4f8(0x216)]=_0x7a3fa=>{var _0x1e025b=_0x48b4f8,_0x2813fe,_0x5cb171;return(_0x5cb171=(_0x2813fe=this[_0x1e025b(0x455)])==null?void 0x0:_0x2813fe[_0x1e025b(0x216)])==null?void 0x0:_0x5cb171[_0x1e025b(0x33e)](_0x2813fe,_0x7a3fa);},_0x427c33[_0x48b4f8(0x2bc)]=_0x52369a=>{var _0xffe352=_0x48b4f8,_0x3748ff,_0x27bffa;return(_0x27bffa=(_0x3748ff=this[_0xffe352(0x455)])==null?void 0x0:_0x3748ff['onTransformSelections'])==null?void 0x0:_0x27bffa[_0xffe352(0x33e)](_0x3748ff,_0x52369a);},_0x427c33[_0x48b4f8(0x369)]=_0x34d311=>{var _0x2ce79a=_0x48b4f8,_0x5610ff,_0x3ff190;return(_0x3ff190=(_0x5610ff=this[_0x2ce79a(0x455)])==null?void 0x0:_0x5610ff[_0x2ce79a(0x369)])==null?void 0x0:_0x3ff190[_0x2ce79a(0x33e)](_0x5610ff,_0x34d311);},_0x427c33[_0x48b4f8(0x272)]=_0x37ad6f=>{var _0x4b167e=_0x48b4f8,_0x417a23,_0x97cad7,_0xc9b723;if(!((_0x417a23=this[_0x4b167e(0x455)])!=null&&_0x417a23[_0x4b167e(0x272)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc9b723=(_0x97cad7=this[_0x4b167e(0x455)])==null?void 0x0:_0x97cad7[_0x4b167e(0x272)])==null?void 0x0:_0xc9b723[_0x4b167e(0x33e)](_0x97cad7,_0x37ad6f);},_0x427c33['onTransformRemoteChangesetByStateCache']=_0xd0a0f5=>{var _0x5b8f22=_0x48b4f8,_0x6fcde4,_0x42d9b3,_0x327746;if(!((_0x6fcde4=this[_0x5b8f22(0x455)])!=null&&_0x6fcde4[_0x5b8f22(0x3f2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x327746=(_0x42d9b3=this['_handlerCallback'])==null?void 0x0:_0x42d9b3[_0x5b8f22(0x3f2)])==null?void 0x0:_0x327746['call'](_0x42d9b3,_0xd0a0f5);},_0x427c33;}async[_0x41545e(0x397)](){var _0x7677dd=_0x41545e;const _0x1a8a60=await super[_0x7677dd(0x397)]();return this[_0x7677dd(0x41a)](this[_0x7677dd(0x396)]['onCommandExecuted']((_0x1cc5f5,_0x2b7694)=>{var _0x4cd93e=_0x7677dd;if(_0x1cc5f5['type']!==_0x36bcfe[_0x4cd93e(0x1fa)]||_0x2b7694!=null&&_0x2b7694[_0x4cd93e(0x1a7)]||_0x2b7694!=null&&_0x2b7694['onlyLocal']||_0x1cc5f5['id']===_0x1ba331['id'])return;const _0x4c5913=_0x1cc5f5[_0x4cd93e(0x436)];if((_0x4c5913==null?void 0x0:_0x4c5913[_0x4cd93e(0x36d)])!==this['unitID'])return;const _0x531ee5=_0x1cc5f5,_0x1e1846=this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x419)](this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x47a)]()['COMPRESS_MUTATION_SEND'])([_0x531ee5],null)||[_0x531ee5];this[_0x4cd93e(0x3cc)](_0x1e1846[0x0]);})),_0x1a8a60;}};It=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],It);let Tt=class extends rt{constructor(_0x66c8e9,_0x538651,_0x3871b9,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x536a62,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98){var _0x586cd5=_0x41545e;super(_0x66c8e9,_0x3871b9,_0x538651,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98),this[_0x586cd5(0x25a)]=_0x66c8e9,this[_0x586cd5(0x1b3)]=_0x538651,this[_0x586cd5(0x3ca)]=_0x536a62;}[_0x41545e(0x448)](){var _0x50d777=_0x41545e;const _0xbdddb1=super[_0x50d777(0x448)]();return _0xbdddb1[_0x50d777(0x2bc)]=_0x75faba=>this[_0x50d777(0x3ca)]['transformSelections'](_0x75faba),_0xbdddb1;}async['_init'](){var _0x3d14b9=_0x41545e;const _0x2cb9a5=await super['_init']();return this[_0x3d14b9(0x41a)](this[_0x3d14b9(0x396)][_0x3d14b9(0x1c1)]((_0x104875,_0x3bff8b)=>{var _0x5f3a7b=_0x3d14b9;if(_0x104875['type']!==_0x36bcfe['MUTATION']||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x1a7)]||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x386)])return;const _0x40c9cf=_0x104875[_0x5f3a7b(0x436)];if((_0x40c9cf==null?void 0x0:_0x40c9cf[_0x5f3a7b(0x36d)])!==this[_0x5f3a7b(0x25a)])return;const _0xd97319=_0x104875,_0x11f74e=this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x419)](this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x47a)]()[_0x5f3a7b(0x228)])([_0xd97319],null)||[_0xd97319];this[_0x5f3a7b(0x3cc)](_0x11f74e[0x0]);})),_0x2cb9a5;}};Tt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(it)),H(0x8,_0x236453(pe)),H(0x9,_0x5b92b1),H(0xa,_0x2c92b5),H(0xb,_0x4da13f),H(0xc,_0x1d0f46(ht)),H(0xd,_0x1d0f46(J))],Tt);var an=Object[_0x41545e(0x271)],cn=(_0x5e2f5d,_0x42c243,_0x8bd62d,_0x30fc5e)=>{var _0x1651fb=_0x41545e;for(var _0x2ddfc0=_0x30fc5e>0x1?void 0x0:_0x30fc5e?an(_0x42c243,_0x8bd62d):_0x42c243,_0x9b41f8=_0x5e2f5d[_0x1651fb(0x2fa)]-0x1,_0x39520b;_0x9b41f8>=0x0;_0x9b41f8--)(_0x39520b=_0x5e2f5d[_0x9b41f8])&&(_0x2ddfc0=_0x39520b(_0x2ddfc0)||_0x2ddfc0);return _0x2ddfc0;},ft=(_0x31c1f4,_0x597010)=>(_0x3d9efe,_0x1111e9)=>_0x597010(_0x3d9efe,_0x1111e9,_0x31c1f4);let nt=class extends _0x433c2f{constructor(_0x4f17f1,_0x56d04e,_0x350631){var _0x492556=_0x41545e;super(),N(this,_0x492556(0x3b1),new Map()),N(this,_0x492556(0x422),new _0x5daeac()),N(this,_0x492556(0x27f),this[_0x492556(0x422)][_0x492556(0x38e)]()),(this[_0x492556(0x367)]=_0x4f17f1,this['_collabSessionService']=_0x56d04e,this[_0x492556(0x1f6)]=_0x350631,this[_0x492556(0x397)]());}[_0x41545e(0x293)](){var _0x1eb32e=_0x41545e;super[_0x1eb32e(0x293)](),this['_entities'][_0x1eb32e(0x1d8)](_0x329920=>_0x329920['dispose']()),this[_0x1eb32e(0x3b1)][_0x1eb32e(0x302)]();}[_0x41545e(0x19a)](_0x3742d4){var _0x200541=_0x41545e,_0xcbf11e;return(_0xcbf11e=this['_entities'][_0x200541(0x393)](_0x3742d4))!=null?_0xcbf11e:null;}[_0x41545e(0x416)](_0x3d2213){var _0x314f0c=_0x41545e;const _0x593bb1=this[_0x314f0c(0x19a)](_0x3d2213);return _0x593bb1?_0x65e3ad(_0x593bb1):this[_0x314f0c(0x422)][_0x314f0c(0x30b)](_0x1a0aae(_0x542f62=>_0x542f62[_0x314f0c(0x25a)]===_0x3d2213));}['readyForCollab'](_0x562672){var _0x5820c6=_0x41545e;return _0x3a72d0(this[_0x5820c6(0x416)](_0x562672)[_0x5820c6(0x30b)](_0x5a18b9(()=>{})));}[_0x41545e(0x397)](){var _0x4faecf=_0x41545e;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x16fa42[_0x4faecf(0x1af)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['subscribe'](async _0x357f74=>{var _0x30f18d=_0x4faecf;const _0x3c29a8=_0x357f74[_0x30f18d(0x32f)](),_0x1842be=await this[_0x30f18d(0x32b)](_0x3c29a8,Q['UNIVER_SHEET']);this['_entities'][_0x30f18d(0x3d2)](_0x3c29a8,_0x1842be);}),this[_0x4faecf(0x1f6)][_0x4faecf(0x29d)](_0x16fa42[_0x4faecf(0x378)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['pipe'](_0x1a0aae(_0x3c7db2=>!_0x3c7db2['getUnitId']()[_0x4faecf(0x3cd)]('__')))[_0x4faecf(0x40b)](async _0x3cd2bd=>{var _0x5d4bba=_0x4faecf;const _0x248b6b=_0x3cd2bd['getUnitId'](),_0x372f4f=await this[_0x5d4bba(0x32b)](_0x248b6b,Q[_0x5d4bba(0x378)]);this['_entities'][_0x5d4bba(0x3d2)](_0x248b6b,_0x372f4f);}),_0x14bf95(this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42['UNIVER_SHEET']),this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42[_0x4faecf(0x378)]))[_0x4faecf(0x30b)](_0x515a44(this['dispose$']))['subscribe'](_0xef7f66=>{var _0x43169b=_0x4faecf;const _0x2acd00=_0xef7f66[_0x43169b(0x32f)](),_0x27019a=this['_entities'][_0x43169b(0x393)](_0x2acd00);_0x27019a&&(_0x27019a[_0x43169b(0x293)](),this[_0x43169b(0x3b1)][_0x43169b(0x27a)](_0x2acd00));});}async['_startCollaboration'](_0x1cf97e,_0x509526){var _0x36d94b=_0x41545e;const _0x254a82=await this[_0x36d94b(0x442)][_0x36d94b(0x44c)](_0x1cf97e),_0x11e231=this['_injector'][_0x36d94b(0x34f)](this['_getCtorByUniverType'](_0x509526),_0x1cf97e,_0x509526,_0x254a82);return await _0x11e231[_0x36d94b(0x1b4)](),this['_entityInit$']['next'](_0x11e231),_0x11e231;}[_0x41545e(0x41e)](_0x526930){var _0x1f39ea=_0x41545e;switch(_0x526930){case Q[_0x1f39ea(0x378)]:return It;case Q[_0x1f39ea(0x1af)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x526930);}}};nt=cn([ft(0x0,_0x236453(_0x35ce09)),ft(0x1,_0x236453(Le)),ft(0x2,_0x214b6f)],nt);var hn=Object[_0x41545e(0x271)],_n=(_0xce486a,_0x1458c7,_0x2dff21,_0x54ca3a)=>{var _0xcb170=_0x41545e;for(var _0x3caa7b=_0x54ca3a>0x1?void 0x0:_0x54ca3a?hn(_0x1458c7,_0x2dff21):_0x1458c7,_0x16da0d=_0xce486a[_0xcb170(0x2fa)]-0x1,_0x230ba2;_0x16da0d>=0x0;_0x16da0d--)(_0x230ba2=_0xce486a[_0x16da0d])&&(_0x3caa7b=_0x230ba2(_0x3caa7b)||_0x3caa7b);return _0x3caa7b;},zt=(_0x445df1,_0x220108)=>(_0x4e569b,_0x343833)=>_0x220108(_0x4e569b,_0x343833,_0x445df1);const ln=_0x41545e(0x1f3),un=_0x41545e(0x380);let Ct=class extends _0x4b1c46{constructor(_0x54c40b,_0x4ca619){var _0x1d890a=_0x41545e;super(),this[_0x1d890a(0x1f6)]=_0x54c40b,this[_0x1d890a(0x2f0)]=_0x4ca619,this['_init']();}[_0x41545e(0x397)](){var _0x1e079a=_0x41545e;this['disposeWithMe'](this['_univerInstanceService'][_0x1e079a(0x25b)]['subscribe'](()=>{var _0x9d1cd4=_0x1e079a,_0x135038;const _0x43a470=this['_univerInstanceService'][_0x9d1cd4(0x3fb)]();let _0x48f73f=(_0x135038=this['_configService'][_0x9d1cd4(0x222)](ln))!=null?_0x135038:un;_0x43a470 instanceof _0xa9a7e0&&(_0x48f73f=_0x43a470[_0x9d1cd4(0x1a5)]),document[_0x9d1cd4(0x298)]=_0x48f73f;}));}};Ct=_n([zt(0x0,_0x214b6f),zt(0x1,_0x34fb67)],Ct);var dn=Object[_0x41545e(0x271)],fn=(_0x106c1d,_0x4bc79f,_0xa960c6,_0x165a34)=>{var _0x134411=_0x41545e;for(var _0x449df8=_0x165a34>0x1?void 0x0:_0x165a34?dn(_0x4bc79f,_0xa960c6):_0x4bc79f,_0x20ffbc=_0x106c1d[_0x134411(0x2fa)]-0x1,_0x4d3ed9;_0x20ffbc>=0x0;_0x20ffbc--)(_0x4d3ed9=_0x106c1d[_0x20ffbc])&&(_0x449df8=_0x4d3ed9(_0x449df8)||_0x449df8);return _0x449df8;},vt=(_0x4ab21f,_0x2414ac)=>(_0x9cac78,_0x1c8087)=>_0x2414ac(_0x9cac78,_0x1c8087,_0x4ab21f);let st=class{constructor(_0x5bbfa7,_0x498a48,_0x17afc2){var _0x3b36ca=_0x41545e;this[_0x3b36ca(0x2f0)]=_0x5bbfa7,this[_0x3b36ca(0x365)]=_0x498a48,this[_0x3b36ca(0x26f)]=_0x17afc2,this[_0x3b36ca(0x1b4)]();}[_0x41545e(0x1b4)](){var _0x3e74f4=_0x41545e;this[_0x3e74f4(0x365)][_0x3e74f4(0x1f4)]({'priority':0x1,'interceptor':(_0x40a9e1,_0x51b0e2)=>_0x51b0e2(_0x40a9e1)[_0x3e74f4(0x30b)](_0x5a3729(async _0x5113f8=>{var _0x3ea3f8=_0x3e74f4;const _0x279616=_0x5113f8;if(_0x279616[_0x3ea3f8(0x244)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x3ea3f8(0x26f)]['t'](_0x3ea3f8(0x3fd)))){const _0x19b900=window[_0x3ea3f8(0x2d4)](window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]);window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]=this[_0x3ea3f8(0x1d7)]()+_0x3ea3f8(0x43c)+_0x19b900;}}return _0x279616;}))});}[_0x41545e(0x1d7)](){var _0x4363cd=_0x41545e,_0x5c8f21,_0x45f542;const _0x4c4219=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](Dr),_0x41e6e1=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](q);return(_0x45f542=(_0x5c8f21=_0x41e6e1==null?void 0x0:_0x41e6e1[_0x4363cd(0x1e6)])!=null?_0x5c8f21:_0x4c4219)!=null?_0x45f542:wr;}};st=fn([vt(0x0,_0x34fb67),vt(0x1,_0x236453(_0x15df20)),vt(0x2,_0x236453(_0xa17142))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x239ec4,_0x24d791,_0x4482fa,_0x9bd1a2)=>{var _0xf5d84e=_0x41545e;for(var _0x5f2f86=_0x9bd1a2>0x1?void 0x0:_0x9bd1a2?vn(_0x24d791,_0x4482fa):_0x24d791,_0x51e6eb=_0x239ec4[_0xf5d84e(0x2fa)]-0x1,_0x253d27;_0x51e6eb>=0x0;_0x51e6eb--)(_0x253d27=_0x239ec4[_0x51e6eb])&&(_0x5f2f86=_0x253d27(_0x5f2f86)||_0x5f2f86);return _0x5f2f86;},Jt=(_0x178fe5,_0x41669b)=>(_0x23016a,_0x1ac4d4)=>_0x41669b(_0x23016a,_0x1ac4d4,_0x178fe5);const Ni='AUTHZ_URL_KEY',mn=_0x41545e(0x1d0);let Rt=class extends _0x4b1c46{constructor(_0x3950af,_0x1feb05){var _0x13a488=_0x41545e;super(),this[_0x13a488(0x25d)]=_0x3950af,this[_0x13a488(0x2f0)]=_0x1feb05,this[_0x13a488(0x2e2)]();}[_0x41545e(0x2e2)](){var _0x21f0d4=_0x41545e;const _0x5f8cae=this;this['disposeWithMe'](this[_0x21f0d4(0x25d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf3ee5b({'isMatch'(_0xd30a0a){var _0x4cd32d=_0x21f0d4,_0x2131e2;if(_0xd30a0a[_0x4cd32d(0x478)]==='POST'&&((_0x2131e2=_0xd30a0a[_0x4cd32d(0x1bc)])!=null&&_0x2131e2['body'])){const {objectID:_0x453a27,objectType:_0x21ee67}=_0xd30a0a[_0x4cd32d(0x1bc)][_0x4cd32d(0x323)]||{};if(!_0x453a27||_0x21ee67===void 0x0)return!0x1;const _0xe37d95=_0x5f8cae[_0x4cd32d(0x28a)]()+'/'+_0x21ee67+_0x4cd32d(0x2bf)+_0x453a27+_0x4cd32d(0x310);if(_0xd30a0a[_0x4cd32d(0x35c)]===_0xe37d95)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x309c4f){var _0x425c93;return(_0x425c93=_0x309c4f['requestParams'])==null?void 0x0:_0x425c93['body'];},'mergeParamsToRequest'(_0x23dc72,_0x3a4ddf){var _0x1fe013=_0x21f0d4;const _0x2ea7ef=_0x5f8cae[_0x1fe013(0x28a)]()+'/-/object/-/batch_allowed',_0x333338=_0x23dc72[_0x1fe013(0x313)]((_0x5ee80d,_0x1c661f)=>{var _0x4dc5d4=_0x1fe013;const {unitID:_0x4103e8,objectID:_0x2895a7,objectType:_0x5a61c4,actions:_0x158cb9}=_0x1c661f;return _0x5ee80d[_0x4103e8]||(_0x5ee80d[_0x4103e8]={}),_0x5ee80d[_0x4103e8][_0x2895a7]||(_0x5ee80d[_0x4103e8][_0x2895a7]={'objectID':_0x2895a7,'objectType':_0x5a61c4,'actions':[]}),_0x5ee80d[_0x4103e8][_0x2895a7][_0x4dc5d4(0x395)][_0x4dc5d4(0x22d)](..._0x158cb9),_0x5ee80d;},{}),_0x494f48=[];for(const _0x3804e8 in _0x333338)for(const _0x4179ec in _0x333338[_0x3804e8]){const {actions:_0x38e3a3,objectType:_0x4c2c36}=_0x333338[_0x3804e8][_0x4179ec],_0x26795c=[...new Set(_0x38e3a3)];_0x494f48[_0x1fe013(0x22d)]({'unitID':_0x3804e8,'objectID':_0x4179ec,'objectType':_0x4c2c36,'actions':_0x26795c});}return new _0xa6c8fe(_0x1fe013(0x3d1),_0x2ea7ef,{'headers':_0x3a4ddf[_0x1fe013(0x257)],'withCredentials':_0x3a4ddf[_0x1fe013(0x27c)],'responseType':_0x3a4ddf[_0x1fe013(0x2af)],'body':{'requests':_0x494f48}});}},{'distributeResult'(_0x51da6e,_0x4a2773){var _0x3867f8=_0x21f0d4;const {objectActions:_0x356e06}=_0x51da6e;return _0x4a2773[_0x3867f8(0x400)](_0x4de115=>{var _0x209b12=_0x3867f8;const {unitID:_0x7d8afc,objectID:_0x8734a4,actions:_0x3e5d16}=_0x4de115,_0x4b10b8=_0x356e06[_0x209b12(0x286)](_0x46c0e5=>_0x46c0e5['unitID']===_0x7d8afc&&_0x46c0e5[_0x209b12(0x26d)]===_0x8734a4),_0x1ff12d=_0x3e5d16[_0x209b12(0x400)](_0x2f391c=>_0x4b10b8==null?void 0x0:_0x4b10b8[_0x209b12(0x395)][_0x209b12(0x286)](_0x12eb5a=>_0x12eb5a[_0x209b12(0x3d5)]===_0x2f391c))[_0x209b12(0x38c)](_0x1ad760=>!!_0x1ad760);return{'config':_0x4de115,'result':{'actions':_0x1ff12d,'error':_0x51da6e[_0x209b12(0x353)]}};});}})}));}['_getAPIPrefixPath'](){var _0x136fa8=_0x41545e,_0x392995,_0x5aba8a;const _0x11db39=this['_configService'][_0x136fa8(0x222)](Ni),_0x8cd2d=this[_0x136fa8(0x2f0)][_0x136fa8(0x222)](q);return(_0x5aba8a=(_0x392995=_0x8cd2d==null?void 0x0:_0x8cd2d['authzUrl'])!=null?_0x392995:_0x11db39)!=null?_0x5aba8a:mn;}async[_0x41545e(0x23c)](_0x15dcc4){var _0x305e81=_0x41545e;const _0x4bb9a4=this[_0x305e81(0x28a)]()+'/'+_0x15dcc4[_0x305e81(0x1ea)]+_0x305e81(0x1f7);return(await this[_0x305e81(0x25d)][_0x305e81(0x3da)](_0x4bb9a4,{'body':_0x15dcc4}))[_0x305e81(0x323)][_0x305e81(0x26d)]||'';}async['list'](_0x2c9994){var _0x481f78=_0x41545e;const _0x5c743e=this[_0x481f78(0x28a)]()+_0x481f78(0x1e0);return(await this[_0x481f78(0x25d)][_0x481f78(0x3da)](_0x5c743e,{'body':_0x2c9994}))[_0x481f78(0x323)]['objects'];}async[_0x41545e(0x3e2)](_0x5093c4){var _0x41c780=_0x41545e;const _0x32e87c=this[_0x41c780(0x28a)]()+'/'+_0x5093c4['objectType']+'/object/'+_0x5093c4[_0x41c780(0x26d)];await this[_0x41c780(0x25d)]['put'](_0x32e87c,{'body':_0x5093c4});}async['allowed'](_0x1e4a37){var _0x19b050=_0x41545e;const _0x2d8329=this[_0x19b050(0x28a)]()+'/'+_0x1e4a37['objectType']+'/object/'+_0x1e4a37[_0x19b050(0x26d)]+_0x19b050(0x310);return(await this[_0x19b050(0x25d)][_0x19b050(0x3da)](_0x2d8329,{'body':_0x1e4a37}))[_0x19b050(0x323)][_0x19b050(0x395)];}async[_0x41545e(0x1fd)](_0x529e4d){var _0x224def=_0x41545e;const _0x3638dc=this[_0x224def(0x28a)]()+_0x224def(0x1a8);return(await this[_0x224def(0x25d)]['post'](_0x3638dc,{'body':{'requests':_0x529e4d}}))[_0x224def(0x323)][_0x224def(0x390)];}async['listRoles'](_0x2d5be8){var _0x20ecd9=_0x41545e;const _0x59c203=this[_0x20ecd9(0x28a)]()+'/'+_0x2d5be8[_0x20ecd9(0x1ea)]+_0x20ecd9(0x212),_0x3e922e=await this['_HTTPService']['post'](_0x59c203,{'body':_0x2d5be8});return{'roles':_0x3e922e[_0x20ecd9(0x323)]['roles'],'actions':_0x3e922e[_0x20ecd9(0x323)][_0x20ecd9(0x395)]};}async['deleteCollaborator'](_0x7d720d){var _0x450fc2=_0x41545e;const _0x1f9928=this[_0x450fc2(0x28a)]()+_0x450fc2(0x1f1);await this['_HTTPService'][_0x450fc2(0x27a)](_0x1f9928,{'params':{'collaboratorID':_0x7d720d[_0x450fc2(0x18a)],'objectID':_0x7d720d[_0x450fc2(0x26d)],'unitID':_0x7d720d['unitID']}});}async[_0x41545e(0x316)](_0x5068b1){var _0x5cd115=_0x41545e;const _0x1d4c0b=this[_0x5cd115(0x28a)]()+_0x5cd115(0x1f1);await this['_HTTPService'][_0x5cd115(0x1e4)](_0x1d4c0b,{'body':_0x5068b1});}async[_0x41545e(0x2e0)](_0x4f5159){var _0x5ecf68=_0x41545e;const _0x213a53=this[_0x5ecf68(0x28a)]()+'/collaborator';await this[_0x5ecf68(0x25d)][_0x5ecf68(0x3da)](_0x213a53,{'body':_0x4f5159});}async[_0x41545e(0x41b)](_0x245bf8){var _0x5ac50f=_0x41545e;const _0x2bef85=this['_getAPIPrefixPath']()+_0x5ac50f(0x1f1);return(await this[_0x5ac50f(0x25d)][_0x5ac50f(0x393)](_0x2bef85,{'params':{'objectID':_0x245bf8[_0x5ac50f(0x26d)],'unitID':_0x245bf8[_0x5ac50f(0x25a)]}}))[_0x5ac50f(0x323)][_0x5ac50f(0x42b)];}async['putCollaborators'](_0x2528c2){var _0x26e01a=_0x41545e;const _0x30dac7=this['_getAPIPrefixPath']()+_0x26e01a(0x1f1);await this[_0x26e01a(0x25d)][_0x26e01a(0x232)](_0x30dac7,{'body':_0x2528c2});}};Rt=pn([Jt(0x0,_0x236453(_0x15df20)),Jt(0x1,_0x236453(_0x34fb67))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4f9bb6){var _0x207d41=_0x41545e;return _0x4f9bb6&&_0x4f9bb6[_0x207d41(0x38b)]&&Object['prototype']['hasOwnProperty'][_0x207d41(0x33e)](_0x4f9bb6,_0x207d41(0x39b))?_0x4f9bb6['default']:_0x4f9bb6;}var Ge={'exports':{}};function gn(_0x1644fc){var _0x187cb3=_0x41545e;throw new Error(_0x187cb3(0x206)+_0x1644fc+_0x187cb3(0x210));}var Ve={'exports':{}},Sn=Ve[_0x41545e(0x1e1)],Xt;function ie(){var _0x395bc0=_0x41545e;return Xt||(Xt=0x1,function(_0x4f5176,_0x5f3e75){(function(_0x2bd5b3,_0x53befb){_0x4f5176['exports']=_0x53befb();}(Sn,function(){var _0x4fbad9=_0x4fbad9||function(_0x1a2490,_0x1a5d3d){var _0x43350f=_0x5230,_0x52a10e;if(typeof window<'u'&&window['crypto']&&(_0x52a10e=window[_0x43350f(0x3f5)]),typeof self<'u'&&self['crypto']&&(_0x52a10e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43350f(0x3f5)]&&(_0x52a10e=globalThis[_0x43350f(0x3f5)]),!_0x52a10e&&typeof window<'u'&&window[_0x43350f(0x2df)]&&(_0x52a10e=window['msCrypto']),!_0x52a10e&&typeof pt<'u'&&pt[_0x43350f(0x3f5)]&&(_0x52a10e=pt[_0x43350f(0x3f5)]),!_0x52a10e&&typeof gn=='function')try{_0x52a10e=require('crypto');}catch{}var _0x268afd=function(){var _0x2236bc=_0x43350f;if(_0x52a10e){if(typeof _0x52a10e['getRandomValues']==_0x2236bc(0x19c))try{return _0x52a10e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52a10e['randomBytes']==_0x2236bc(0x19c))try{return _0x52a10e[_0x2236bc(0x295)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2236bc(0x1c6));},_0x444ada=Object[_0x43350f(0x23c)]||(function(){function _0x2b6caa(){}return function(_0x2607ff){var _0x563634=_0x5230,_0x11cf81;return _0x2b6caa[_0x563634(0x405)]=_0x2607ff,_0x11cf81=new _0x2b6caa(),_0x2b6caa[_0x563634(0x405)]=null,_0x11cf81;};}()),_0x9dcf43={},_0x1a51ea=_0x9dcf43[_0x43350f(0x3fa)]={},_0xd7d6b3=_0x1a51ea[_0x43350f(0x47b)]=(function(){return{'extend':function(_0x49083b){var _0xa9d5fd=_0x5230,_0x427671=_0x444ada(this);return _0x49083b&&_0x427671['mixIn'](_0x49083b),(!_0x427671[_0xa9d5fd(0x1a0)](_0xa9d5fd(0x1b4))||this[_0xa9d5fd(0x1b4)]===_0x427671['init'])&&(_0x427671['init']=function(){var _0x404b43=_0xa9d5fd;_0x427671[_0x404b43(0x464)]['init'][_0x404b43(0x264)](this,arguments);}),_0x427671['init']['prototype']=_0x427671,_0x427671[_0xa9d5fd(0x464)]=this,_0x427671;},'create':function(){var _0x404611=_0x5230,_0x57d870=this['extend']();return _0x57d870[_0x404611(0x1b4)][_0x404611(0x264)](_0x57d870,arguments),_0x57d870;},'init':function(){},'mixIn':function(_0x1956a4){var _0x439af6=_0x5230;for(var _0x349c44 in _0x1956a4)_0x1956a4[_0x439af6(0x1a0)](_0x349c44)&&(this[_0x349c44]=_0x1956a4[_0x349c44]);_0x1956a4[_0x439af6(0x1a0)](_0x439af6(0x273))&&(this[_0x439af6(0x273)]=_0x1956a4[_0x439af6(0x273)]);},'clone':function(){var _0x6cd396=_0x5230;return this['init'][_0x6cd396(0x405)][_0x6cd396(0x23a)](this);}};}()),_0x3e1c29=_0x1a51ea[_0x43350f(0x3a9)]=_0xd7d6b3[_0x43350f(0x23a)]({'init':function(_0x735e7d,_0x10da05){var _0x211913=_0x43350f;_0x735e7d=this[_0x211913(0x318)]=_0x735e7d||[],_0x10da05!=_0x1a5d3d?this[_0x211913(0x2b9)]=_0x10da05:this['sigBytes']=_0x735e7d['length']*0x4;},'toString':function(_0x1dd920){var _0x53557d=_0x43350f;return(_0x1dd920||_0x37f97c)[_0x53557d(0x2cf)](this);},'concat':function(_0x4ffeb0){var _0x28aef0=_0x43350f,_0x1d40dd=this[_0x28aef0(0x318)],_0x14572c=_0x4ffeb0[_0x28aef0(0x318)],_0x29b9fe=this[_0x28aef0(0x2b9)],_0x2bbe81=_0x4ffeb0[_0x28aef0(0x2b9)];if(this[_0x28aef0(0x243)](),_0x29b9fe%0x4)for(var _0x325040=0x0;_0x325040<_0x2bbe81;_0x325040++){var _0x1b3f4f=_0x14572c[_0x325040>>>0x2]>>>0x18-_0x325040%0x4*0x8&0xff;_0x1d40dd[_0x29b9fe+_0x325040>>>0x2]|=_0x1b3f4f<<0x18-(_0x29b9fe+_0x325040)%0x4*0x8;}else{for(var _0x3021b7=0x0;_0x3021b7<_0x2bbe81;_0x3021b7+=0x4)_0x1d40dd[_0x29b9fe+_0x3021b7>>>0x2]=_0x14572c[_0x3021b7>>>0x2];}return this[_0x28aef0(0x2b9)]+=_0x2bbe81,this;},'clamp':function(){var _0x19404c=_0x43350f,_0xc8cce3=this['words'],_0x178f54=this[_0x19404c(0x2b9)];_0xc8cce3[_0x178f54>>>0x2]&=0xffffffff<<0x20-_0x178f54%0x4*0x8,_0xc8cce3['length']=_0x1a2490['ceil'](_0x178f54/0x4);},'clone':function(){var _0x153c35=_0x43350f,_0x1c3213=_0xd7d6b3[_0x153c35(0x198)][_0x153c35(0x33e)](this);return _0x1c3213[_0x153c35(0x318)]=this[_0x153c35(0x318)][_0x153c35(0x377)](0x0),_0x1c3213;},'random':function(_0x32d1d8){var _0x2a8ff2=_0x43350f;for(var _0x4c5171=[],_0x5932c9=0x0;_0x5932c9<_0x32d1d8;_0x5932c9+=0x4)_0x4c5171[_0x2a8ff2(0x22d)](_0x268afd());return new _0x3e1c29['init'](_0x4c5171,_0x32d1d8);}}),_0x11d324=_0x9dcf43[_0x43350f(0x1cf)]={},_0x37f97c=_0x11d324['Hex']={'stringify':function(_0xc33dbd){var _0x1cf1a7=_0x43350f;for(var _0x2c0009=_0xc33dbd[_0x1cf1a7(0x318)],_0x825da2=_0xc33dbd['sigBytes'],_0x394d05=[],_0x5da1c2=0x0;_0x5da1c2<_0x825da2;_0x5da1c2++){var _0x1bcf28=_0x2c0009[_0x5da1c2>>>0x2]>>>0x18-_0x5da1c2%0x4*0x8&0xff;_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28>>>0x4)['toString'](0x10)),_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28&0xf)[_0x1cf1a7(0x273)](0x10));}return _0x394d05[_0x1cf1a7(0x205)]('');},'parse':function(_0x68949c){var _0x9c30a0=_0x43350f;for(var _0x3dc70a=_0x68949c['length'],_0x1d460e=[],_0x27965f=0x0;_0x27965f<_0x3dc70a;_0x27965f+=0x2)_0x1d460e[_0x27965f>>>0x3]|=parseInt(_0x68949c[_0x9c30a0(0x2f5)](_0x27965f,0x2),0x10)<<0x18-_0x27965f%0x8*0x4;return new _0x3e1c29[(_0x9c30a0(0x1b4))](_0x1d460e,_0x3dc70a/0x2);}},_0x51b49c=_0x11d324[_0x43350f(0x2b4)]={'stringify':function(_0x12f2d4){var _0x34dff2=_0x43350f;for(var _0x1bfc50=_0x12f2d4[_0x34dff2(0x318)],_0x4668ad=_0x12f2d4[_0x34dff2(0x2b9)],_0x1483dc=[],_0x43b0c1=0x0;_0x43b0c1<_0x4668ad;_0x43b0c1++){var _0x285cc1=_0x1bfc50[_0x43b0c1>>>0x2]>>>0x18-_0x43b0c1%0x4*0x8&0xff;_0x1483dc[_0x34dff2(0x22d)](String[_0x34dff2(0x29c)](_0x285cc1));}return _0x1483dc[_0x34dff2(0x205)]('');},'parse':function(_0x27c52f){var _0x18cc7b=_0x43350f;for(var _0x5b40d6=_0x27c52f[_0x18cc7b(0x2fa)],_0x543f00=[],_0x472d68=0x0;_0x472d68<_0x5b40d6;_0x472d68++)_0x543f00[_0x472d68>>>0x2]|=(_0x27c52f[_0x18cc7b(0x329)](_0x472d68)&0xff)<<0x18-_0x472d68%0x4*0x8;return new _0x3e1c29[(_0x18cc7b(0x1b4))](_0x543f00,_0x5b40d6);}},_0x557b25=_0x11d324[_0x43350f(0x22f)]={'stringify':function(_0x1bbd68){var _0x55b9ac=_0x43350f;try{return decodeURIComponent(escape(_0x51b49c[_0x55b9ac(0x2cf)](_0x1bbd68)));}catch{throw new Error(_0x55b9ac(0x201));}},'parse':function(_0x55637f){var _0x49d22e=_0x43350f;return _0x51b49c[_0x49d22e(0x3ce)](unescape(encodeURIComponent(_0x55637f)));}},_0x3cf461=_0x1a51ea[_0x43350f(0x1bd)]=_0xd7d6b3[_0x43350f(0x23a)]({'reset':function(){var _0xcfe34c=_0x43350f;this[_0xcfe34c(0x2c5)]=new _0x3e1c29['init'](),this[_0xcfe34c(0x304)]=0x0;},'_append':function(_0x57a96a){var _0x2fa8e0=_0x43350f;typeof _0x57a96a==_0x2fa8e0(0x2e4)&&(_0x57a96a=_0x557b25['parse'](_0x57a96a)),this['_data'][_0x2fa8e0(0x435)](_0x57a96a),this['_nDataBytes']+=_0x57a96a[_0x2fa8e0(0x2b9)];},'_process':function(_0x5d8ca7){var _0x4817ae=_0x43350f,_0x4307bf,_0x329937=this[_0x4817ae(0x2c5)],_0x526c34=_0x329937[_0x4817ae(0x318)],_0x3422c6=_0x329937[_0x4817ae(0x2b9)],_0xfa3706=this[_0x4817ae(0x3c8)],_0x35efdd=_0xfa3706*0x4,_0x31cb56=_0x3422c6/_0x35efdd;_0x5d8ca7?_0x31cb56=_0x1a2490[_0x4817ae(0x2ac)](_0x31cb56):_0x31cb56=_0x1a2490[_0x4817ae(0x401)]((_0x31cb56|0x0)-this[_0x4817ae(0x441)],0x0);var _0x19f87f=_0x31cb56*_0xfa3706,_0x223940=_0x1a2490['min'](_0x19f87f*0x4,_0x3422c6);if(_0x19f87f){for(var _0x4be823=0x0;_0x4be823<_0x19f87f;_0x4be823+=_0xfa3706)this[_0x4817ae(0x18d)](_0x526c34,_0x4be823);_0x4307bf=_0x526c34[_0x4817ae(0x300)](0x0,_0x19f87f),_0x329937['sigBytes']-=_0x223940;}return new _0x3e1c29[(_0x4817ae(0x1b4))](_0x4307bf,_0x223940);},'clone':function(){var _0xd17e9c=_0x43350f,_0x446295=_0xd7d6b3[_0xd17e9c(0x198)]['call'](this);return _0x446295[_0xd17e9c(0x2c5)]=this['_data'][_0xd17e9c(0x198)](),_0x446295;},'_minBufferSize':0x0});_0x1a51ea[_0x43350f(0x234)]=_0x3cf461[_0x43350f(0x23a)]({'cfg':_0xd7d6b3[_0x43350f(0x23a)](),'init':function(_0x21df07){var _0x1a78bd=_0x43350f;this['cfg']=this['cfg'][_0x1a78bd(0x23a)](_0x21df07),this[_0x1a78bd(0x25f)]();},'reset':function(){var _0x405df0=_0x43350f;_0x3cf461[_0x405df0(0x25f)]['call'](this),this[_0x405df0(0x46c)]();},'update':function(_0x374e72){var _0x53432e=_0x43350f;return this['_append'](_0x374e72),this[_0x53432e(0x2f4)](),this;},'finalize':function(_0x2f4772){var _0x365c6a=_0x43350f;_0x2f4772&&this[_0x365c6a(0x258)](_0x2f4772);var _0x26b582=this[_0x365c6a(0x28c)]();return _0x26b582;},'blockSize':0x10,'_createHelper':function(_0x8f5fa8){return function(_0x5d1550,_0x494f41){var _0x2541db=_0x5230;return new _0x8f5fa8['init'](_0x494f41)[_0x2541db(0x30a)](_0x5d1550);};},'_createHmacHelper':function(_0xfa3a42){return function(_0x3e18cf,_0x518028){var _0x2003ee=_0x5230;return new _0x148dc4[(_0x2003ee(0x43a))][(_0x2003ee(0x1b4))](_0xfa3a42,_0x518028)[_0x2003ee(0x30a)](_0x3e18cf);};}});var _0x148dc4=_0x9dcf43[_0x43350f(0x34d)]={};return _0x9dcf43;}(Math);return _0x4fbad9;}));}(Ve)),Ve[_0x395bc0(0x1e1)];}var We={'exports':{}},En=We[_0x41545e(0x1e1)],Zt;function Di(){var _0x1374b8=_0x41545e;return Zt||(Zt=0x1,function(_0x5cb41a,_0x53a108){(function(_0x31df4f,_0x2b8cee){var _0x2ff8c7=_0x5230;_0x5cb41a[_0x2ff8c7(0x1e1)]=_0x2b8cee(ie());}(En,function(_0x596b42){var _0x5ef0d7=_0x5230;return(function(){var _0x53b383=_0x5230,_0xad6de0=_0x596b42,_0x215c03=_0xad6de0[_0x53b383(0x3fa)],_0x4d2e8e=_0x215c03['WordArray'],_0x4da136=_0xad6de0['enc'];_0x4da136['Base64']={'stringify':function(_0x178d70){var _0xcf9e5e=_0x53b383,_0x696c8b=_0x178d70[_0xcf9e5e(0x318)],_0x448f7=_0x178d70[_0xcf9e5e(0x2b9)],_0x151644=this[_0xcf9e5e(0x385)];_0x178d70['clamp']();for(var _0x1ec1fb=[],_0x3bcff7=0x0;_0x3bcff7<_0x448f7;_0x3bcff7+=0x3)for(var _0x2f4710=_0x696c8b[_0x3bcff7>>>0x2]>>>0x18-_0x3bcff7%0x4*0x8&0xff,_0x122728=_0x696c8b[_0x3bcff7+0x1>>>0x2]>>>0x18-(_0x3bcff7+0x1)%0x4*0x8&0xff,_0x3f5776=_0x696c8b[_0x3bcff7+0x2>>>0x2]>>>0x18-(_0x3bcff7+0x2)%0x4*0x8&0xff,_0x24fcd3=_0x2f4710<<0x10|_0x122728<<0x8|_0x3f5776,_0x378fe0=0x0;_0x378fe0<0x4&&_0x3bcff7+_0x378fe0*0.75<_0x448f7;_0x378fe0++)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x151644['charAt'](_0x24fcd3>>>0x6*(0x3-_0x378fe0)&0x3f));var _0x2f0e0d=_0x151644['charAt'](0x40);if(_0x2f0e0d){for(;_0x1ec1fb['length']%0x4;)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x2f0e0d);}return _0x1ec1fb[_0xcf9e5e(0x205)]('');},'parse':function(_0x295c92){var _0x5d4b42=_0x53b383,_0x453ebc=_0x295c92[_0x5d4b42(0x2fa)],_0x114ce5=this['_map'],_0x851e9d=this[_0x5d4b42(0x3a3)];if(!_0x851e9d){_0x851e9d=this[_0x5d4b42(0x3a3)]=[];for(var _0xe2c3a0=0x0;_0xe2c3a0<_0x114ce5[_0x5d4b42(0x2fa)];_0xe2c3a0++)_0x851e9d[_0x114ce5[_0x5d4b42(0x329)](_0xe2c3a0)]=_0xe2c3a0;}var _0x3b30ca=_0x114ce5[_0x5d4b42(0x3ae)](0x40);if(_0x3b30ca){var _0x3253cc=_0x295c92[_0x5d4b42(0x430)](_0x3b30ca);_0x3253cc!==-0x1&&(_0x453ebc=_0x3253cc);}return _0x584b85(_0x295c92,_0x453ebc,_0x851e9d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x584b85(_0x131604,_0x4791b1,_0x521817){var _0x1abbbc=_0x53b383;for(var _0x5b7756=[],_0x4800a0=0x0,_0x41b53b=0x0;_0x41b53b<_0x4791b1;_0x41b53b++)if(_0x41b53b%0x4){var _0x14da40=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b-0x1)]<<_0x41b53b%0x4*0x2,_0x1784c8=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b)]>>>0x6-_0x41b53b%0x4*0x2,_0x5d5946=_0x14da40|_0x1784c8;_0x5b7756[_0x4800a0>>>0x2]|=_0x5d5946<<0x18-_0x4800a0%0x4*0x8,_0x4800a0++;}return _0x4d2e8e[_0x1abbbc(0x23c)](_0x5b7756,_0x4800a0);}}()),_0x596b42[_0x5ef0d7(0x1cf)][_0x5ef0d7(0x44f)];}));}(We)),We[_0x1374b8(0x1e1)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x45fda3=_0x41545e;return Qt||(Qt=0x1,function(_0x280fcc,_0x5b0e12){(function(_0x4c10f7,_0x56654c){var _0x545242=_0x5230;_0x280fcc[_0x545242(0x1e1)]=_0x56654c(ie());}(In,function(_0x2e8891){var _0x4511d4=_0x5230;return function(_0x316325){var _0x3edb48=_0x5230,_0x1d92af=_0x2e8891,_0x4bf1b3=_0x1d92af[_0x3edb48(0x3fa)],_0x447507=_0x4bf1b3['WordArray'],_0x53dc63=_0x4bf1b3[_0x3edb48(0x234)],_0x378ab1=_0x1d92af[_0x3edb48(0x34d)],_0x959f8=[];(function(){var _0x56dac3=_0x3edb48;for(var _0x2154e0=0x0;_0x2154e0<0x40;_0x2154e0++)_0x959f8[_0x2154e0]=_0x316325['abs'](_0x316325[_0x56dac3(0x3c9)](_0x2154e0+0x1))*0x100000000|0x0;}());var _0x58bcc4=_0x378ab1[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x23a)]({'_doReset':function(){var _0x39a9dd=_0x3edb48;this[_0x39a9dd(0x2ef)]=new _0x447507[(_0x39a9dd(0x1b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1224bd,_0x3644b5){var _0x5b055e=_0x3edb48;for(var _0x5d8220=0x0;_0x5d8220<0x10;_0x5d8220++){var _0x44a072=_0x3644b5+_0x5d8220,_0xcaac5=_0x1224bd[_0x44a072];_0x1224bd[_0x44a072]=(_0xcaac5<<0x8|_0xcaac5>>>0x18)&0xff00ff|(_0xcaac5<<0x18|_0xcaac5>>>0x8)&0xff00ff00;}var _0x378205=this[_0x5b055e(0x2ef)][_0x5b055e(0x318)],_0x19a4b3=_0x1224bd[_0x3644b5+0x0],_0x437ef8=_0x1224bd[_0x3644b5+0x1],_0x48a8fc=_0x1224bd[_0x3644b5+0x2],_0x1d167b=_0x1224bd[_0x3644b5+0x3],_0x11ca6e=_0x1224bd[_0x3644b5+0x4],_0x37c056=_0x1224bd[_0x3644b5+0x5],_0x53d39d=_0x1224bd[_0x3644b5+0x6],_0x25ea65=_0x1224bd[_0x3644b5+0x7],_0x550de8=_0x1224bd[_0x3644b5+0x8],_0x357911=_0x1224bd[_0x3644b5+0x9],_0x11361f=_0x1224bd[_0x3644b5+0xa],_0x2931cd=_0x1224bd[_0x3644b5+0xb],_0x3c32df=_0x1224bd[_0x3644b5+0xc],_0x3ee4fe=_0x1224bd[_0x3644b5+0xd],_0x52427c=_0x1224bd[_0x3644b5+0xe],_0xf5157a=_0x1224bd[_0x3644b5+0xf],_0x51ed8b=_0x378205[0x0],_0xa97616=_0x378205[0x1],_0x5c5fe8=_0x378205[0x2],_0x8f06bc=_0x378205[0x3];_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x7,_0x959f8[0x0]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x437ef8,0xc,_0x959f8[0x1]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0x11,_0x959f8[0x2]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x1d167b,0x16,_0x959f8[0x3]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x7,_0x959f8[0x4]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x37c056,0xc,_0x959f8[0x5]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0x11,_0x959f8[0x6]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x25ea65,0x16,_0x959f8[0x7]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x7,_0x959f8[0x8]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x357911,0xc,_0x959f8[0x9]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0x11,_0x959f8[0xa]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x2931cd,0x16,_0x959f8[0xb]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x7,_0x959f8[0xc]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3ee4fe,0xc,_0x959f8[0xd]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0x11,_0x959f8[0xe]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xf5157a,0x16,_0x959f8[0xf]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x5,_0x959f8[0x10]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x53d39d,0x9,_0x959f8[0x11]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0xe,_0x959f8[0x12]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x19a4b3,0x14,_0x959f8[0x13]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x5,_0x959f8[0x14]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11361f,0x9,_0x959f8[0x15]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0xe,_0x959f8[0x16]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11ca6e,0x14,_0x959f8[0x17]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x5,_0x959f8[0x18]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x52427c,0x9,_0x959f8[0x19]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0xe,_0x959f8[0x1a]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x550de8,0x14,_0x959f8[0x1b]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x5,_0x959f8[0x1c]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x48a8fc,0x9,_0x959f8[0x1d]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0xe,_0x959f8[0x1e]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3c32df,0x14,_0x959f8[0x1f]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x4,_0x959f8[0x20]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x550de8,0xb,_0x959f8[0x21]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0x10,_0x959f8[0x22]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x52427c,0x17,_0x959f8[0x23]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x4,_0x959f8[0x24]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11ca6e,0xb,_0x959f8[0x25]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0x10,_0x959f8[0x26]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11361f,0x17,_0x959f8[0x27]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x4,_0x959f8[0x28]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x19a4b3,0xb,_0x959f8[0x29]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0x10,_0x959f8[0x2a]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x53d39d,0x17,_0x959f8[0x2b]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x4,_0x959f8[0x2c]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3c32df,0xb,_0x959f8[0x2d]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0x10,_0x959f8[0x2e]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x48a8fc,0x17,_0x959f8[0x2f]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x6,_0x959f8[0x30]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x25ea65,0xa,_0x959f8[0x31]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0xf,_0x959f8[0x32]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x37c056,0x15,_0x959f8[0x33]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x6,_0x959f8[0x34]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x1d167b,0xa,_0x959f8[0x35]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0xf,_0x959f8[0x36]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x437ef8,0x15,_0x959f8[0x37]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x6,_0x959f8[0x38]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0xf5157a,0xa,_0x959f8[0x39]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0xf,_0x959f8[0x3a]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3ee4fe,0x15,_0x959f8[0x3b]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x6,_0x959f8[0x3c]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x2931cd,0xa,_0x959f8[0x3d]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0xf,_0x959f8[0x3e]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x357911,0x15,_0x959f8[0x3f]),_0x378205[0x0]=_0x378205[0x0]+_0x51ed8b|0x0,_0x378205[0x1]=_0x378205[0x1]+_0xa97616|0x0,_0x378205[0x2]=_0x378205[0x2]+_0x5c5fe8|0x0,_0x378205[0x3]=_0x378205[0x3]+_0x8f06bc|0x0;},'_doFinalize':function(){var _0x4d19c6=_0x3edb48,_0x294471=this[_0x4d19c6(0x2c5)],_0x392f02=_0x294471['words'],_0x537d3c=this[_0x4d19c6(0x304)]*0x8,_0x18ddc4=_0x294471[_0x4d19c6(0x2b9)]*0x8;_0x392f02[_0x18ddc4>>>0x5]|=0x80<<0x18-_0x18ddc4%0x20;var _0x2e8511=_0x316325[_0x4d19c6(0x480)](_0x537d3c/0x100000000),_0x3b7154=_0x537d3c;_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xf]=(_0x2e8511<<0x8|_0x2e8511>>>0x18)&0xff00ff|(_0x2e8511<<0x18|_0x2e8511>>>0x8)&0xff00ff00,_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xe]=(_0x3b7154<<0x8|_0x3b7154>>>0x18)&0xff00ff|(_0x3b7154<<0x18|_0x3b7154>>>0x8)&0xff00ff00,_0x294471['sigBytes']=(_0x392f02[_0x4d19c6(0x2fa)]+0x1)*0x4,this[_0x4d19c6(0x2f4)]();for(var _0x2f7eb7=this['_hash'],_0x409a4a=_0x2f7eb7[_0x4d19c6(0x318)],_0x2a624b=0x0;_0x2a624b<0x4;_0x2a624b++){var _0x2d8df3=_0x409a4a[_0x2a624b];_0x409a4a[_0x2a624b]=(_0x2d8df3<<0x8|_0x2d8df3>>>0x18)&0xff00ff|(_0x2d8df3<<0x18|_0x2d8df3>>>0x8)&0xff00ff00;}return _0x2f7eb7;},'clone':function(){var _0x2bc511=_0x3edb48,_0x3c7e38=_0x53dc63[_0x2bc511(0x198)][_0x2bc511(0x33e)](this);return _0x3c7e38[_0x2bc511(0x2ef)]=this[_0x2bc511(0x2ef)]['clone'](),_0x3c7e38;}});function _0x90c342(_0x55750b,_0x43623e,_0x2b6371,_0x1b6e6,_0x29cb99,_0xea7220,_0x5203d6){var _0x590d62=_0x55750b+(_0x43623e&_0x2b6371|~_0x43623e&_0x1b6e6)+_0x29cb99+_0x5203d6;return(_0x590d62<<_0xea7220|_0x590d62>>>0x20-_0xea7220)+_0x43623e;}function _0x42de85(_0xca24ed,_0x10fc33,_0x2724cd,_0x5e1db7,_0x4be1e7,_0xd057dc,_0x386d0b){var _0x24585e=_0xca24ed+(_0x10fc33&_0x5e1db7|_0x2724cd&~_0x5e1db7)+_0x4be1e7+_0x386d0b;return(_0x24585e<<_0xd057dc|_0x24585e>>>0x20-_0xd057dc)+_0x10fc33;}function _0x4e1ef6(_0x3a925a,_0x1aad3f,_0x27af32,_0x332f97,_0xf21e99,_0x1a436d,_0x35e2f4){var _0xb7ad53=_0x3a925a+(_0x1aad3f^_0x27af32^_0x332f97)+_0xf21e99+_0x35e2f4;return(_0xb7ad53<<_0x1a436d|_0xb7ad53>>>0x20-_0x1a436d)+_0x1aad3f;}function _0x566c98(_0x5960e4,_0x5e0245,_0x3d1a5,_0x1bd9bf,_0x1fae51,_0x53e2db,_0x534591){var _0x5b6e71=_0x5960e4+(_0x3d1a5^(_0x5e0245|~_0x1bd9bf))+_0x1fae51+_0x534591;return(_0x5b6e71<<_0x53e2db|_0x5b6e71>>>0x20-_0x53e2db)+_0x5e0245;}_0x1d92af[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x2fb)](_0x58bcc4),_0x1d92af['HmacMD5']=_0x53dc63[_0x3edb48(0x37f)](_0x58bcc4);}(Math),_0x2e8891[_0x4511d4(0x347)];}));}(Ke)),Ke[_0x45fda3(0x1e1)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x41545e(0x1e1)],ei;function Rn(){var _0x596090=_0x41545e;return ei||(ei=0x1,function(_0x5af6b0,_0x291776){(function(_0x1d5df3,_0x303291){var _0x2e2d25=_0x5230;_0x5af6b0[_0x2e2d25(0x1e1)]=_0x303291(ie());}(Cn,function(_0x433e6a){var _0x44278e=_0x5230;return(function(){var _0x334e14=_0x5230,_0x537710=_0x433e6a,_0x325a2d=_0x537710[_0x334e14(0x3fa)],_0x5e532f=_0x325a2d[_0x334e14(0x3a9)],_0x55317f=_0x325a2d[_0x334e14(0x234)],_0x54f70d=_0x537710[_0x334e14(0x34d)],_0x3c63b4=[],_0x255435=_0x54f70d['SHA1']=_0x55317f[_0x334e14(0x23a)]({'_doReset':function(){var _0x5f5465=_0x334e14;this[_0x5f5465(0x2ef)]=new _0x5e532f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ed4c6,_0x8ca380){var _0x22a60d=_0x334e14;for(var _0x44d08d=this[_0x22a60d(0x2ef)]['words'],_0xf5f14=_0x44d08d[0x0],_0x51cb5f=_0x44d08d[0x1],_0xdab8e8=_0x44d08d[0x2],_0x58bc9a=_0x44d08d[0x3],_0xeda9c1=_0x44d08d[0x4],_0xefad6f=0x0;_0xefad6f<0x50;_0xefad6f++){if(_0xefad6f<0x10)_0x3c63b4[_0xefad6f]=_0x1ed4c6[_0x8ca380+_0xefad6f]|0x0;else{var _0x4116de=_0x3c63b4[_0xefad6f-0x3]^_0x3c63b4[_0xefad6f-0x8]^_0x3c63b4[_0xefad6f-0xe]^_0x3c63b4[_0xefad6f-0x10];_0x3c63b4[_0xefad6f]=_0x4116de<<0x1|_0x4116de>>>0x1f;}var _0x541a2c=(_0xf5f14<<0x5|_0xf5f14>>>0x1b)+_0xeda9c1+_0x3c63b4[_0xefad6f];_0xefad6f<0x14?_0x541a2c+=(_0x51cb5f&_0xdab8e8|~_0x51cb5f&_0x58bc9a)+0x5a827999:_0xefad6f<0x28?_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)+0x6ed9eba1:_0xefad6f<0x3c?_0x541a2c+=(_0x51cb5f&_0xdab8e8|_0x51cb5f&_0x58bc9a|_0xdab8e8&_0x58bc9a)-0x70e44324:_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)-0x359d3e2a,_0xeda9c1=_0x58bc9a,_0x58bc9a=_0xdab8e8,_0xdab8e8=_0x51cb5f<<0x1e|_0x51cb5f>>>0x2,_0x51cb5f=_0xf5f14,_0xf5f14=_0x541a2c;}_0x44d08d[0x0]=_0x44d08d[0x0]+_0xf5f14|0x0,_0x44d08d[0x1]=_0x44d08d[0x1]+_0x51cb5f|0x0,_0x44d08d[0x2]=_0x44d08d[0x2]+_0xdab8e8|0x0,_0x44d08d[0x3]=_0x44d08d[0x3]+_0x58bc9a|0x0,_0x44d08d[0x4]=_0x44d08d[0x4]+_0xeda9c1|0x0;},'_doFinalize':function(){var _0x3453bc=_0x334e14,_0x49ef79=this['_data'],_0x5ed673=_0x49ef79['words'],_0x4a1e83=this['_nDataBytes']*0x8,_0x5dfd0a=_0x49ef79['sigBytes']*0x8;return _0x5ed673[_0x5dfd0a>>>0x5]|=0x80<<0x18-_0x5dfd0a%0x20,_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xe]=Math[_0x3453bc(0x480)](_0x4a1e83/0x100000000),_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xf]=_0x4a1e83,_0x49ef79['sigBytes']=_0x5ed673[_0x3453bc(0x2fa)]*0x4,this[_0x3453bc(0x2f4)](),this[_0x3453bc(0x2ef)];},'clone':function(){var _0x9fdf05=_0x334e14,_0x564d48=_0x55317f[_0x9fdf05(0x198)]['call'](this);return _0x564d48[_0x9fdf05(0x2ef)]=this[_0x9fdf05(0x2ef)][_0x9fdf05(0x198)](),_0x564d48;}});_0x537710[_0x334e14(0x40f)]=_0x55317f[_0x334e14(0x2fb)](_0x255435),_0x537710[_0x334e14(0x350)]=_0x55317f['_createHmacHelper'](_0x255435);}()),_0x433e6a[_0x44278e(0x40f)];}));}(qe)),qe[_0x596090(0x1e1)];}var ze={'exports':{}},bn=ze[_0x41545e(0x1e1)],ti;function yn(){var _0x2ad6c4=_0x41545e;return ti||(ti=0x1,function(_0x564f1,_0x106a03){(function(_0x41533f,_0x100357){var _0x56c83e=_0x5230;_0x564f1[_0x56c83e(0x1e1)]=_0x100357(ie());}(bn,function(_0x57ce4b){(function(){var _0xdefe0f=_0x5230,_0x4745eb=_0x57ce4b,_0x3e4b26=_0x4745eb[_0xdefe0f(0x3fa)],_0x43fce1=_0x3e4b26['Base'],_0x457b72=_0x4745eb[_0xdefe0f(0x1cf)],_0x1fb897=_0x457b72[_0xdefe0f(0x22f)],_0xaa32b4=_0x4745eb[_0xdefe0f(0x34d)];_0xaa32b4[_0xdefe0f(0x43a)]=_0x43fce1[_0xdefe0f(0x23a)]({'init':function(_0x39e070,_0x1baee2){var _0x4ff181=_0xdefe0f;_0x39e070=this[_0x4ff181(0x40d)]=new _0x39e070[(_0x4ff181(0x1b4))](),typeof _0x1baee2==_0x4ff181(0x2e4)&&(_0x1baee2=_0x1fb897[_0x4ff181(0x3ce)](_0x1baee2));var _0x1cfc48=_0x39e070[_0x4ff181(0x3c8)],_0x13363e=_0x1cfc48*0x4;_0x1baee2[_0x4ff181(0x2b9)]>_0x13363e&&(_0x1baee2=_0x39e070[_0x4ff181(0x30a)](_0x1baee2)),_0x1baee2[_0x4ff181(0x243)]();for(var _0x547235=this[_0x4ff181(0x413)]=_0x1baee2['clone'](),_0x54f4a7=this['_iKey']=_0x1baee2[_0x4ff181(0x198)](),_0x3124da=_0x547235['words'],_0x5a4ddc=_0x54f4a7[_0x4ff181(0x318)],_0x56cfae=0x0;_0x56cfae<_0x1cfc48;_0x56cfae++)_0x3124da[_0x56cfae]^=0x5c5c5c5c,_0x5a4ddc[_0x56cfae]^=0x36363636;_0x547235['sigBytes']=_0x54f4a7[_0x4ff181(0x2b9)]=_0x13363e,this[_0x4ff181(0x25f)]();},'reset':function(){var _0x1de49f=_0xdefe0f,_0x4f4f5d=this[_0x1de49f(0x40d)];_0x4f4f5d[_0x1de49f(0x25f)](),_0x4f4f5d['update'](this[_0x1de49f(0x2a9)]);},'update':function(_0x1d736b){var _0x19b93d=_0xdefe0f;return this[_0x19b93d(0x40d)][_0x19b93d(0x3e2)](_0x1d736b),this;},'finalize':function(_0x9d64d9){var _0x2888d3=_0xdefe0f,_0x34d91c=this[_0x2888d3(0x40d)],_0xf70cfd=_0x34d91c[_0x2888d3(0x30a)](_0x9d64d9);_0x34d91c['reset']();var _0x52142a=_0x34d91c['finalize'](this[_0x2888d3(0x413)][_0x2888d3(0x198)]()[_0x2888d3(0x435)](_0xf70cfd));return _0x52142a;}});}());}));}(ze)),ze[_0x2ad6c4(0x1e1)];}var On=Ye[_0x41545e(0x1e1)],ii;function wi(){var _0x3b3531=_0x41545e;return ii||(ii=0x1,function(_0x1b583f,_0xaa3db4){(function(_0x5b45d5,_0x5d6500,_0x5b48b9){var _0x2d84c2=_0x5230;_0x1b583f[_0x2d84c2(0x1e1)]=_0x5d6500(ie(),Rn(),yn());}(On,function(_0x46d697){var _0x128406=_0x5230;return(function(){var _0x41db3=_0x5230,_0x125917=_0x46d697,_0x217c56=_0x125917[_0x41db3(0x3fa)],_0x1c584d=_0x217c56[_0x41db3(0x47b)],_0x61ebdd=_0x217c56[_0x41db3(0x3a9)],_0x159ad4=_0x125917[_0x41db3(0x34d)],_0x386db5=_0x159ad4['MD5'],_0x46757d=_0x159ad4[_0x41db3(0x352)]=_0x1c584d[_0x41db3(0x23a)]({'cfg':_0x1c584d[_0x41db3(0x23a)]({'keySize':0x80/0x20,'hasher':_0x386db5,'iterations':0x1}),'init':function(_0x3dda25){var _0x558b9d=_0x41db3;this[_0x558b9d(0x32c)]=this[_0x558b9d(0x32c)][_0x558b9d(0x23a)](_0x3dda25);},'compute':function(_0x288c16,_0x142a4b){var _0x559558=_0x41db3;for(var _0x4422c9,_0x2d9508=this['cfg'],_0x5e09b0=_0x2d9508[_0x559558(0x45c)][_0x559558(0x23c)](),_0x4c0dc2=_0x61ebdd['create'](),_0x2a6634=_0x4c0dc2[_0x559558(0x318)],_0x6a0ae0=_0x2d9508['keySize'],_0x4c5484=_0x2d9508[_0x559558(0x3f4)];_0x2a6634['length']<_0x6a0ae0;){_0x4422c9&&_0x5e09b0[_0x559558(0x3e2)](_0x4422c9),_0x4422c9=_0x5e09b0[_0x559558(0x3e2)](_0x288c16)[_0x559558(0x30a)](_0x142a4b),_0x5e09b0[_0x559558(0x25f)]();for(var _0x5f38ff=0x1;_0x5f38ff<_0x4c5484;_0x5f38ff++)_0x4422c9=_0x5e09b0[_0x559558(0x30a)](_0x4422c9),_0x5e09b0[_0x559558(0x25f)]();_0x4c0dc2[_0x559558(0x435)](_0x4422c9);}return _0x4c0dc2[_0x559558(0x2b9)]=_0x6a0ae0*0x4,_0x4c0dc2;}});_0x125917[_0x41db3(0x352)]=function(_0x489210,_0x38cfca,_0x25149e){var _0x46db9b=_0x41db3;return _0x46757d[_0x46db9b(0x23c)](_0x25149e)[_0x46db9b(0x250)](_0x489210,_0x38cfca);};}()),_0x46d697[_0x128406(0x352)];}));}(Ye)),Ye[_0x3b3531(0x1e1)];}var Je={'exports':{}},Nn=Je[_0x41545e(0x1e1)],ri;function Ui(){var _0x209641=_0x41545e;return ri||(ri=0x1,function(_0x51381b,_0x1ac0e1){(function(_0x46ae7c,_0x2d68ac,_0x3823f5){_0x51381b['exports']=_0x2d68ac(ie(),wi());}(Nn,function(_0x444b71){_0x444b71['lib']['Cipher']||function(_0x25acab){var _0x4457ba=_0x5230,_0x554c8a=_0x444b71,_0x48ced5=_0x554c8a[_0x4457ba(0x3fa)],_0x3bf036=_0x48ced5[_0x4457ba(0x47b)],_0x301f0c=_0x48ced5['WordArray'],_0x313f77=_0x48ced5['BufferedBlockAlgorithm'],_0x1e23e9=_0x554c8a[_0x4457ba(0x1cf)];_0x1e23e9['Utf8'];var _0x2f2267=_0x1e23e9[_0x4457ba(0x44f)],_0x3e9f8d=_0x554c8a[_0x4457ba(0x34d)],_0x10df95=_0x3e9f8d[_0x4457ba(0x352)],_0x11e0a9=_0x48ced5[_0x4457ba(0x220)]=_0x313f77[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)](),'createEncryptor':function(_0x262481,_0x38b6bb){var _0x3c2f3a=_0x4457ba;return this[_0x3c2f3a(0x23c)](this[_0x3c2f3a(0x1fb)],_0x262481,_0x38b6bb);},'createDecryptor':function(_0x2a5462,_0x1ba840){var _0x3c9af1=_0x4457ba;return this['create'](this[_0x3c9af1(0x231)],_0x2a5462,_0x1ba840);},'init':function(_0x349bff,_0x19419b,_0x4e36bb){var _0x38e5d4=_0x4457ba;this[_0x38e5d4(0x32c)]=this[_0x38e5d4(0x32c)][_0x38e5d4(0x23a)](_0x4e36bb),this[_0x38e5d4(0x19f)]=_0x349bff,this[_0x38e5d4(0x30d)]=_0x19419b,this[_0x38e5d4(0x25f)]();},'reset':function(){var _0x1a303f=_0x4457ba;_0x313f77[_0x1a303f(0x25f)][_0x1a303f(0x33e)](this),this[_0x1a303f(0x46c)]();},'process':function(_0x39f5ea){var _0x5d34c1=_0x4457ba;return this[_0x5d34c1(0x258)](_0x39f5ea),this['_process']();},'finalize':function(_0x22107c){var _0x957c5=_0x4457ba;_0x22107c&&this[_0x957c5(0x258)](_0x22107c);var _0x3c4c51=this['_doFinalize']();return _0x3c4c51;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6e0c92(_0x5810bb){var _0x5594a2=_0x5230;return typeof _0x5810bb==_0x5594a2(0x2e4)?_0x56134d:_0x209255;}return function(_0x5e2724){return{'encrypt':function(_0x1eaea8,_0x586ebb,_0x3750bc){var _0x4ccd92=_0x5230;return _0x6e0c92(_0x586ebb)[_0x4ccd92(0x237)](_0x5e2724,_0x1eaea8,_0x586ebb,_0x3750bc);},'decrypt':function(_0x4102f3,_0x143ef1,_0x149043){var _0x48ae93=_0x5230;return _0x6e0c92(_0x143ef1)[_0x48ae93(0x1a2)](_0x5e2724,_0x4102f3,_0x143ef1,_0x149043);}};};}())});_0x48ced5[_0x4457ba(0x265)]=_0x11e0a9['extend']({'_doFinalize':function(){var _0x4088d2=this['_process'](!0x0);return _0x4088d2;},'blockSize':0x1});var _0x258150=_0x554c8a[_0x4457ba(0x3c4)]={},_0xfa8b08=_0x48ced5['BlockCipherMode']=_0x3bf036[_0x4457ba(0x23a)]({'createEncryptor':function(_0x71d3e0,_0x225fd0){var _0x4f0d9c=_0x4457ba;return this[_0x4f0d9c(0x334)]['create'](_0x71d3e0,_0x225fd0);},'createDecryptor':function(_0x46482e,_0x2e6ac8){var _0x312706=_0x4457ba;return this['Decryptor'][_0x312706(0x23c)](_0x46482e,_0x2e6ac8);},'init':function(_0x108d6a,_0x499a4a){var _0x5819c9=_0x4457ba;this[_0x5819c9(0x291)]=_0x108d6a,this[_0x5819c9(0x479)]=_0x499a4a;}}),_0x54a027=_0x258150[_0x4457ba(0x2fe)]=(function(){var _0x36509b=_0x4457ba,_0x4ab17d=_0xfa8b08[_0x36509b(0x23a)]();_0x4ab17d[_0x36509b(0x334)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x4f5f8d,_0x34fab4){var _0x33bea6=_0x36509b,_0xbaecf=this['_cipher'],_0x182660=_0xbaecf[_0x33bea6(0x3c8)];_0x26bd95[_0x33bea6(0x33e)](this,_0x4f5f8d,_0x34fab4,_0x182660),_0xbaecf['encryptBlock'](_0x4f5f8d,_0x34fab4),this[_0x33bea6(0x469)]=_0x4f5f8d[_0x33bea6(0x377)](_0x34fab4,_0x34fab4+_0x182660);}}),_0x4ab17d[_0x36509b(0x275)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x22a414,_0x55f84f){var _0xe9643c=_0x36509b,_0x378cfe=this[_0xe9643c(0x291)],_0xd69ba2=_0x378cfe['blockSize'],_0x3205d4=_0x22a414['slice'](_0x55f84f,_0x55f84f+_0xd69ba2);_0x378cfe['decryptBlock'](_0x22a414,_0x55f84f),_0x26bd95[_0xe9643c(0x33e)](this,_0x22a414,_0x55f84f,_0xd69ba2),this[_0xe9643c(0x469)]=_0x3205d4;}});function _0x26bd95(_0x565bb7,_0x1e436e,_0x59dcdb){var _0x16ce1b=_0x36509b,_0x346969,_0x50d41b=this[_0x16ce1b(0x479)];_0x50d41b?(_0x346969=_0x50d41b,this[_0x16ce1b(0x479)]=_0x25acab):_0x346969=this[_0x16ce1b(0x469)];for(var _0x32300e=0x0;_0x32300e<_0x59dcdb;_0x32300e++)_0x565bb7[_0x1e436e+_0x32300e]^=_0x346969[_0x32300e];}return _0x4ab17d;}()),_0x55d3b8=_0x554c8a[_0x4457ba(0x402)]={},_0x3fa291=_0x55d3b8[_0x4457ba(0x345)]={'pad':function(_0x3722a1,_0x42fe0f){var _0x31d4e4=_0x4457ba;for(var _0x54519a=_0x42fe0f*0x4,_0x24c6f4=_0x54519a-_0x3722a1['sigBytes']%_0x54519a,_0x3bf9f0=_0x24c6f4<<0x18|_0x24c6f4<<0x10|_0x24c6f4<<0x8|_0x24c6f4,_0x16ffdf=[],_0x2b0158=0x0;_0x2b0158<_0x24c6f4;_0x2b0158+=0x4)_0x16ffdf[_0x31d4e4(0x22d)](_0x3bf9f0);var _0x10c94d=_0x301f0c[_0x31d4e4(0x23c)](_0x16ffdf,_0x24c6f4);_0x3722a1[_0x31d4e4(0x435)](_0x10c94d);},'unpad':function(_0x5e404a){var _0x11ad3d=_0x4457ba,_0x4c09e9=_0x5e404a['words'][_0x5e404a[_0x11ad3d(0x2b9)]-0x1>>>0x2]&0xff;_0x5e404a['sigBytes']-=_0x4c09e9;}};_0x48ced5[_0x4457ba(0x415)]=_0x11e0a9[_0x4457ba(0x23a)]({'cfg':_0x11e0a9[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'mode':_0x54a027,'padding':_0x3fa291}),'reset':function(){var _0x395818=_0x4457ba,_0x303dbc;_0x11e0a9[_0x395818(0x25f)][_0x395818(0x33e)](this);var _0x4790a1=this[_0x395818(0x32c)],_0x8e5c58=_0x4790a1['iv'],_0x40d379=_0x4790a1[_0x395818(0x3c4)];this[_0x395818(0x19f)]==this[_0x395818(0x1fb)]?_0x303dbc=_0x40d379[_0x395818(0x2b1)]:(_0x303dbc=_0x40d379[_0x395818(0x21e)],this[_0x395818(0x441)]=0x1),this[_0x395818(0x235)]&&this[_0x395818(0x235)][_0x395818(0x1cd)]==_0x303dbc?this[_0x395818(0x235)][_0x395818(0x1b4)](this,_0x8e5c58&&_0x8e5c58[_0x395818(0x318)]):(this[_0x395818(0x235)]=_0x303dbc[_0x395818(0x33e)](_0x40d379,this,_0x8e5c58&&_0x8e5c58['words']),this[_0x395818(0x235)][_0x395818(0x1cd)]=_0x303dbc);},'_doProcessBlock':function(_0x1da3aa,_0x4f3213){this['_mode']['processBlock'](_0x1da3aa,_0x4f3213);},'_doFinalize':function(){var _0x54d9fd=_0x4457ba,_0x5124b4,_0x1bc845=this[_0x54d9fd(0x32c)][_0x54d9fd(0x268)];return this[_0x54d9fd(0x19f)]==this['_ENC_XFORM_MODE']?(_0x1bc845[_0x54d9fd(0x402)](this[_0x54d9fd(0x2c5)],this[_0x54d9fd(0x3c8)]),_0x5124b4=this['_process'](!0x0)):(_0x5124b4=this[_0x54d9fd(0x2f4)](!0x0),_0x1bc845[_0x54d9fd(0x241)](_0x5124b4)),_0x5124b4;},'blockSize':0x80/0x20});var _0x263185=_0x48ced5[_0x4457ba(0x24a)]=_0x3bf036['extend']({'init':function(_0x53d7c6){var _0x3f2909=_0x4457ba;this[_0x3f2909(0x326)](_0x53d7c6);},'toString':function(_0x2762b6){var _0x36ad0c=_0x4457ba;return(_0x2762b6||this[_0x36ad0c(0x320)])[_0x36ad0c(0x2cf)](this);}}),_0x2bcbea=_0x554c8a[_0x4457ba(0x3d3)]={},_0x214f3c=_0x2bcbea['OpenSSL']={'stringify':function(_0x4c725f){var _0x3b7281=_0x4457ba,_0x99ee23,_0x23ee95=_0x4c725f['ciphertext'],_0x4afbc6=_0x4c725f['salt'];return _0x4afbc6?_0x99ee23=_0x301f0c[_0x3b7281(0x23c)]([0x53616c74,0x65645f5f])[_0x3b7281(0x435)](_0x4afbc6)[_0x3b7281(0x435)](_0x23ee95):_0x99ee23=_0x23ee95,_0x99ee23[_0x3b7281(0x273)](_0x2f2267);},'parse':function(_0x1a60a1){var _0x57753=_0x4457ba,_0x576d54,_0x44e82b=_0x2f2267['parse'](_0x1a60a1),_0x12dc2b=_0x44e82b[_0x57753(0x318)];return _0x12dc2b[0x0]==0x53616c74&&_0x12dc2b[0x1]==0x65645f5f&&(_0x576d54=_0x301f0c[_0x57753(0x23c)](_0x12dc2b[_0x57753(0x377)](0x2,0x4)),_0x12dc2b['splice'](0x0,0x4),_0x44e82b[_0x57753(0x2b9)]-=0x10),_0x263185[_0x57753(0x23c)]({'ciphertext':_0x44e82b,'salt':_0x576d54});}},_0x209255=_0x48ced5[_0x4457ba(0x3db)]=_0x3bf036[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)]({'format':_0x214f3c}),'encrypt':function(_0x16f0e5,_0x455a4c,_0x284656,_0x522462){var _0x445a00=_0x4457ba;_0x522462=this[_0x445a00(0x32c)]['extend'](_0x522462);var _0x2a106f=_0x16f0e5[_0x445a00(0x2b1)](_0x284656,_0x522462),_0x32a0a0=_0x2a106f['finalize'](_0x455a4c),_0x37f085=_0x2a106f['cfg'];return _0x263185[_0x445a00(0x23c)]({'ciphertext':_0x32a0a0,'key':_0x284656,'iv':_0x37f085['iv'],'algorithm':_0x16f0e5,'mode':_0x37f085[_0x445a00(0x3c4)],'padding':_0x37f085['padding'],'blockSize':_0x16f0e5[_0x445a00(0x3c8)],'formatter':_0x522462['format']});},'decrypt':function(_0x1242a1,_0x1c0b51,_0x59d150,_0x48ac83){var _0x11c286=_0x4457ba;_0x48ac83=this[_0x11c286(0x32c)][_0x11c286(0x23a)](_0x48ac83),_0x1c0b51=this[_0x11c286(0x2c8)](_0x1c0b51,_0x48ac83[_0x11c286(0x3d3)]);var _0x3eae54=_0x1242a1[_0x11c286(0x21e)](_0x59d150,_0x48ac83)[_0x11c286(0x30a)](_0x1c0b51[_0x11c286(0x1dc)]);return _0x3eae54;},'_parse':function(_0x5ee569,_0xcf3b3a){var _0x1688dd=_0x4457ba;return typeof _0x5ee569==_0x1688dd(0x2e4)?_0xcf3b3a[_0x1688dd(0x3ce)](_0x5ee569,this):_0x5ee569;}}),_0x2ca3b2=_0x554c8a[_0x4457ba(0x1ad)]={},_0x48f6f6=_0x2ca3b2['OpenSSL']={'execute':function(_0x1467e2,_0x235ba9,_0x149050,_0x5b2cf1,_0x464467){var _0x58e24e=_0x4457ba;if(_0x5b2cf1||(_0x5b2cf1=_0x301f0c['random'](0x40/0x8)),_0x464467)var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050,'hasher':_0x464467})[_0x58e24e(0x250)](_0x1467e2,_0x5b2cf1);else var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050})['compute'](_0x1467e2,_0x5b2cf1);var _0x5aa018=_0x301f0c[_0x58e24e(0x23c)](_0x3934ea[_0x58e24e(0x318)][_0x58e24e(0x377)](_0x235ba9),_0x149050*0x4);return _0x3934ea[_0x58e24e(0x2b9)]=_0x235ba9*0x4,_0x263185['create']({'key':_0x3934ea,'iv':_0x5aa018,'salt':_0x5b2cf1});}},_0x56134d=_0x48ced5['PasswordBasedCipher']=_0x209255['extend']({'cfg':_0x209255[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'kdf':_0x48f6f6}),'encrypt':function(_0x3ca5d8,_0x451965,_0x746c55,_0x4fd460){var _0x33ec05=_0x4457ba;_0x4fd460=this[_0x33ec05(0x32c)]['extend'](_0x4fd460);var _0x5c45e0=_0x4fd460[_0x33ec05(0x1ad)][_0x33ec05(0x39d)](_0x746c55,_0x3ca5d8['keySize'],_0x3ca5d8[_0x33ec05(0x40e)],_0x4fd460['salt'],_0x4fd460['hasher']);_0x4fd460['iv']=_0x5c45e0['iv'];var _0x604ba=_0x209255[_0x33ec05(0x237)]['call'](this,_0x3ca5d8,_0x451965,_0x5c45e0[_0x33ec05(0x3aa)],_0x4fd460);return _0x604ba[_0x33ec05(0x326)](_0x5c45e0),_0x604ba;},'decrypt':function(_0x3d15ff,_0x2464be,_0x5ad333,_0x923d38){var _0xea81de=_0x4457ba;_0x923d38=this['cfg']['extend'](_0x923d38),_0x2464be=this['_parse'](_0x2464be,_0x923d38[_0xea81de(0x3d3)]);var _0x36ddae=_0x923d38['kdf']['execute'](_0x5ad333,_0x3d15ff[_0xea81de(0x249)],_0x3d15ff[_0xea81de(0x40e)],_0x2464be[_0xea81de(0x42f)],_0x923d38['hasher']);_0x923d38['iv']=_0x36ddae['iv'];var _0x39bf8a=_0x209255[_0xea81de(0x1a2)][_0xea81de(0x33e)](this,_0x3d15ff,_0x2464be,_0x36ddae[_0xea81de(0x3aa)],_0x923d38);return _0x39bf8a;}});}();}));}(Je)),Je[_0x209641(0x1e1)];}var Dn=Ge[_0x41545e(0x1e1)],ni;function wn(){return ni||(ni=0x1,function(_0x56b20e,_0x293635){(function(_0xaacb16,_0x36fde4,_0x146631){var _0x281a28=_0x5230;_0x56b20e[_0x281a28(0x1e1)]=_0x36fde4(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x5ac62d){var _0x4149fd=_0x5230;return(function(){var _0x59230a=_0x5230,_0xbd5f70=_0x5ac62d,_0x1f47ad=_0xbd5f70[_0x59230a(0x3fa)],_0x2319ed=_0x1f47ad[_0x59230a(0x415)],_0x295012=_0xbd5f70[_0x59230a(0x34d)],_0x4b2276=[],_0x29373f=[],_0x376864=[],_0x335f83=[],_0x4ad315=[],_0x2722a6=[],_0x4d43f5=[],_0x40c087=[],_0x18f76b=[],_0x148ec1=[];(function(){for(var _0x34fcb3=[],_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++)_0x57fa2a<0x80?_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1:_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1^0x11b;for(var _0x1d29c7=0x0,_0xccc119=0x0,_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++){var _0x58f6e2=_0xccc119^_0xccc119<<0x1^_0xccc119<<0x2^_0xccc119<<0x3^_0xccc119<<0x4;_0x58f6e2=_0x58f6e2>>>0x8^_0x58f6e2&0xff^0x63,_0x4b2276[_0x1d29c7]=_0x58f6e2,_0x29373f[_0x58f6e2]=_0x1d29c7;var _0x152889=_0x34fcb3[_0x1d29c7],_0x3c7c8a=_0x34fcb3[_0x152889],_0x153d70=_0x34fcb3[_0x3c7c8a],_0x3fc50b=_0x34fcb3[_0x58f6e2]*0x101^_0x58f6e2*0x1010100;_0x376864[_0x1d29c7]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x335f83[_0x1d29c7]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x4ad315[_0x1d29c7]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x2722a6[_0x1d29c7]=_0x3fc50b;var _0x3fc50b=_0x153d70*0x1010101^_0x3c7c8a*0x10001^_0x152889*0x101^_0x1d29c7*0x1010100;_0x4d43f5[_0x58f6e2]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x40c087[_0x58f6e2]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x18f76b[_0x58f6e2]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x148ec1[_0x58f6e2]=_0x3fc50b,_0x1d29c7?(_0x1d29c7=_0x152889^_0x34fcb3[_0x34fcb3[_0x34fcb3[_0x153d70^_0x152889]]],_0xccc119^=_0x34fcb3[_0x34fcb3[_0xccc119]]):_0x1d29c7=_0xccc119=0x1;}}());var _0x1a7b01=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7970a7=_0x295012[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x23a)]({'_doReset':function(){var _0x1ecede=_0x59230a,_0xf4ecbe;if(!(this[_0x1ecede(0x2b2)]&&this[_0x1ecede(0x2ae)]===this[_0x1ecede(0x30d)])){for(var _0x1316af=this[_0x1ecede(0x2ae)]=this[_0x1ecede(0x30d)],_0x1549fd=_0x1316af[_0x1ecede(0x318)],_0x5d1d44=_0x1316af[_0x1ecede(0x2b9)]/0x4,_0x2d7703=this[_0x1ecede(0x2b2)]=_0x5d1d44+0x6,_0x27c86d=(_0x2d7703+0x1)*0x4,_0x257008=this[_0x1ecede(0x3ec)]=[],_0x208ddb=0x0;_0x208ddb<_0x27c86d;_0x208ddb++)_0x208ddb<_0x5d1d44?_0x257008[_0x208ddb]=_0x1549fd[_0x208ddb]:(_0xf4ecbe=_0x257008[_0x208ddb-0x1],_0x208ddb%_0x5d1d44?_0x5d1d44>0x6&&_0x208ddb%_0x5d1d44==0x4&&(_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff]):(_0xf4ecbe=_0xf4ecbe<<0x8|_0xf4ecbe>>>0x18,_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff],_0xf4ecbe^=_0x1a7b01[_0x208ddb/_0x5d1d44|0x0]<<0x18),_0x257008[_0x208ddb]=_0x257008[_0x208ddb-_0x5d1d44]^_0xf4ecbe);for(var _0x43fdd7=this[_0x1ecede(0x22e)]=[],_0x5b83ae=0x0;_0x5b83ae<_0x27c86d;_0x5b83ae++){var _0x208ddb=_0x27c86d-_0x5b83ae;if(_0x5b83ae%0x4)var _0xf4ecbe=_0x257008[_0x208ddb];else var _0xf4ecbe=_0x257008[_0x208ddb-0x4];_0x5b83ae<0x4||_0x208ddb<=0x4?_0x43fdd7[_0x5b83ae]=_0xf4ecbe:_0x43fdd7[_0x5b83ae]=_0x4d43f5[_0x4b2276[_0xf4ecbe>>>0x18]]^_0x40c087[_0x4b2276[_0xf4ecbe>>>0x10&0xff]]^_0x18f76b[_0x4b2276[_0xf4ecbe>>>0x8&0xff]]^_0x148ec1[_0x4b2276[_0xf4ecbe&0xff]];}}},'encryptBlock':function(_0x379126,_0x4dad1b){var _0x5e3fb4=_0x59230a;this[_0x5e3fb4(0x285)](_0x379126,_0x4dad1b,this[_0x5e3fb4(0x3ec)],_0x376864,_0x335f83,_0x4ad315,_0x2722a6,_0x4b2276);},'decryptBlock':function(_0x49abe7,_0x5b37c2){var _0xa6f1cf=_0x59230a,_0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640,this[_0xa6f1cf(0x285)](_0x49abe7,_0x5b37c2,this[_0xa6f1cf(0x22e)],_0x4d43f5,_0x40c087,_0x18f76b,_0x148ec1,_0x29373f);var _0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640;},'_doCryptBlock':function(_0x2d40c9,_0x1fb104,_0x201f2e,_0x21b39d,_0x30c3bf,_0x5bca0b,_0x482cd4,_0x3451ed){var _0x226506=_0x59230a;for(var _0x4f49f2=this[_0x226506(0x2b2)],_0x2c7946=_0x2d40c9[_0x1fb104]^_0x201f2e[0x0],_0x163695=_0x2d40c9[_0x1fb104+0x1]^_0x201f2e[0x1],_0x28d73f=_0x2d40c9[_0x1fb104+0x2]^_0x201f2e[0x2],_0x5e6f14=_0x2d40c9[_0x1fb104+0x3]^_0x201f2e[0x3],_0x3f095f=0x4,_0x2cbcc0=0x1;_0x2cbcc0<_0x4f49f2;_0x2cbcc0++){var _0x450519=_0x21b39d[_0x2c7946>>>0x18]^_0x30c3bf[_0x163695>>>0x10&0xff]^_0x5bca0b[_0x28d73f>>>0x8&0xff]^_0x482cd4[_0x5e6f14&0xff]^_0x201f2e[_0x3f095f++],_0x5a7665=_0x21b39d[_0x163695>>>0x18]^_0x30c3bf[_0x28d73f>>>0x10&0xff]^_0x5bca0b[_0x5e6f14>>>0x8&0xff]^_0x482cd4[_0x2c7946&0xff]^_0x201f2e[_0x3f095f++],_0x30184e=_0x21b39d[_0x28d73f>>>0x18]^_0x30c3bf[_0x5e6f14>>>0x10&0xff]^_0x5bca0b[_0x2c7946>>>0x8&0xff]^_0x482cd4[_0x163695&0xff]^_0x201f2e[_0x3f095f++],_0xd14409=_0x21b39d[_0x5e6f14>>>0x18]^_0x30c3bf[_0x2c7946>>>0x10&0xff]^_0x5bca0b[_0x163695>>>0x8&0xff]^_0x482cd4[_0x28d73f&0xff]^_0x201f2e[_0x3f095f++];_0x2c7946=_0x450519,_0x163695=_0x5a7665,_0x28d73f=_0x30184e,_0x5e6f14=_0xd14409;}var _0x450519=(_0x3451ed[_0x2c7946>>>0x18]<<0x18|_0x3451ed[_0x163695>>>0x10&0xff]<<0x10|_0x3451ed[_0x28d73f>>>0x8&0xff]<<0x8|_0x3451ed[_0x5e6f14&0xff])^_0x201f2e[_0x3f095f++],_0x5a7665=(_0x3451ed[_0x163695>>>0x18]<<0x18|_0x3451ed[_0x28d73f>>>0x10&0xff]<<0x10|_0x3451ed[_0x5e6f14>>>0x8&0xff]<<0x8|_0x3451ed[_0x2c7946&0xff])^_0x201f2e[_0x3f095f++],_0x30184e=(_0x3451ed[_0x28d73f>>>0x18]<<0x18|_0x3451ed[_0x5e6f14>>>0x10&0xff]<<0x10|_0x3451ed[_0x2c7946>>>0x8&0xff]<<0x8|_0x3451ed[_0x163695&0xff])^_0x201f2e[_0x3f095f++],_0xd14409=(_0x3451ed[_0x5e6f14>>>0x18]<<0x18|_0x3451ed[_0x2c7946>>>0x10&0xff]<<0x10|_0x3451ed[_0x163695>>>0x8&0xff]<<0x8|_0x3451ed[_0x28d73f&0xff])^_0x201f2e[_0x3f095f++];_0x2d40c9[_0x1fb104]=_0x450519,_0x2d40c9[_0x1fb104+0x1]=_0x5a7665,_0x2d40c9[_0x1fb104+0x2]=_0x30184e,_0x2d40c9[_0x1fb104+0x3]=_0xd14409;},'keySize':0x100/0x20});_0xbd5f70[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x2fb)](_0x7970a7);}()),_0x5ac62d[_0x4149fd(0x43b)];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();function _0x5f23(){var _0x43d962=['_httpService','addHandlerCallback','_injector','onStarting','onSyncEditingCollabCursor','originalMeta','ws://127.0.0.1:8000/universer-api/comb/connect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitId','onload','updateOfflineData','getValue','UNDEFINED','rev','HEARTBEAT','/block/','LIVESHARE_NEW_HOST','repeat','slice','UNIVER_DOC','m2Prime','HttpImport','COLLAB_SUBMIT_CHANGESET_URL','SUBMIT_CHANGESET_TIMEOUT','/universer-api/snapshot/','_remoteChangesetQueue','_createHmacHelper','Univer','memberID','SNAPSHOT_SERVER_URL_KEY','_onUserJoin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','onlyLocal','_onConnectionFailed','removeMember','shouldCloseConn','pending','__esModule','filter','loadSheet','asObservable','_clearLocalCache','objectActions','JOINING','ERROR_EXCEED_SIZE','get','isArray','actions','_commandService','_init','_logService','_unitID','loadUnit','default','FETCH_MISSING','execute','save\x20fail\x20reason\x20is\x20','_shouldReportTelemetry','editing\x20status\x20changed\x20to','onTransformIME','_clearHeartbeatTimer','_reverseMap','_executeRemoteChangeset','fetchMissingChangesets','CHANGESET_REJ','189870NwWNRb','snapshotServerUrl','WordArray','key','debug','_transformService','_revisionService','charAt','_onRemoteRetry','_retryCount','_entities','_initDependencies','_singleActiveUnitService','interceptor','[CollaborationSessionService]','USERS_ENTER','_socket$','_socketReady','FAIL','encode','awaiting','CHANGESET_SHOULD_RETRY','onRemoteAck','[OfflineState]:\x20received\x20changeset.','_awaitingChangeset','onSendChangeset','CLOSE_ROOM','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_OPERATION','mode','isPermissionRej','NoPadding','univer-pro.collaboration-client-socket-service','blockSize','sin','_sheetTransformSelectionsService','APPLY_PERMISSION_DENIED','_onLocalMutation','startsWith','parse','_type','updateCursorEvent','POST','set','format','message$','action','saveSheetBlock','cmd','every','_localCacheService','post','SerializableCipher','addImageSourceCache','[CollaborationUndoRedoService]','_transformIMECache','CHANGESET_ACK','_updateLocalCache','c1Prime','update','GLOBAL_ROOMS_CNT_EXCEEDS','socket$','_stopTelemetryCollaborationNewChangeset','joinEvent','startTime','updatePermissionPoint','/new_changes','PERSON','session.room-cnt-exceeds','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','socket\x20close','_clearRedo','_getUploadFileURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformRemoteChangesetByStateCache','open$','iterations','crypto','_rescheduleHeartbeat','_replaceFileID','UNKNOWN_CMD','_clearCollaborationTimeoutTimer','lib','getFocusedUnit','JOIN_ROOM_FULL','auth.needGotoLoginAlert','6TxOhoO','fetchMiss','map','max','pad','_onFetchMissResult','collaboration-client.config','prototype','onRemoteChangeset','selections','deepClone','ALREADY_EXISTS','\x20to\x20','subscribe','changesets','_hasher','ivSize','SHA1','/unit/','rng','_handler','_oKey','getTime','BlockCipher','getCollabEntity$','_transitionLocked','_tryReconnect','fetchThroughInterceptors','disposeWithMe','listCollaborators','loadDoc','[PendingState]:\x20received\x20acknowledgement.','_getCtorByUniverType','_sendHeartbeat','MSG_FOR_ERROR','_collaborationPaused','_entityInit$','dispose$','incrementRevOfUnit','session.join-failed','21SjhuIU','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','toggleOffline','awaiting_with_pending','collaborators','online$','newCsEvent','range','salt','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','concat','params','[PendingState]:\x20received\x20rejection.','event$','onRemoteRej','HMAC','AES','?url=','\x0aAfter:\x20','_transformSelections','_substituteRedoStack','onCommentUpdate','_minBufferSize','_collabSessionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','infoRsp','conflict','_createHandler','_sendHeartbeatTimer','eventID','_disableEditing','requireSession','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','Base64','IDLE','_status$','_throwTelemetryCollaborationNewChangeset','target','68481XiVlKB','_handlerCallback','HttpExport','ENSURE_SNAPSHOT_EXECUTION','_roomMembers','loadOfflineData','INVALID_ARGUMENT','sheets','hasher','permissionRejEvent','\x20in\x20_schedule.','appendMutation','_clearUndo','getImage','unknown','LIVESHARE_TERMINATE','$super','_state','getWorkbookSelections','liveShareOperation','resend','_prevBlock','_decreaseWaiting','_getSendChangesetTimeout','_doReset','_members','has','bind','_loadDoc','2741072Hzyhke','_redoStacks','_queuedRemoteChangesets','UPDATE_CURSOR','_commentService','getAllMembers','fetching\x20missing\x20changesets\x20from\x20','method','_iv','getInterceptPoints','Base','[OfflineState]:\x20received\x20acknowledgement.','liveShareNewHost','uniscriptRunEvent','_onConflict','floor','APPLY_DUPLICATED','image/bmp','_acknowledgedAwaitingChangeset','transformSelections','getCurrentRevOfUnit','collaboratorID','[CollaborationState]:\x20apply\x20error!','getTypeOfUnitDisposed$','_doProcessBlock','members$','SEND_CHANGESET_TIMEOUT','add','getSheetBlock','generateRandomId','updatePermissionObjEvent','_timeoutTimer','NOT_COLLAB','catch','members','clone','[FetchMissState]','getCollabEntity','stopTime','function','initWorkbookPermissionChange','_sessions','_xformMode','hasOwnProperty','_collaborationSessionService','decrypt','_roomCreated$','updateMember','name','session','fromCollab','/-/object/-/batch_allowed','_scheduleCompleteTimestamp','[OfflineState]:\x20received\x20rejection.','refreshPermission','LIVESHARE_REQUEST_HOST','kdf','_collaborationUIEventService','UNIVER_SHEET','/universer-api/stream/file/upload','getRandomValues','INGEST','type','init','collabSubmitChangesetUrl','UNAUTHENTICATED','_fetchMissChangesets','file','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TOO_MANY_REQUESTS','_clearScheduledTask','requestParams','BufferedBlockAlgorithm','_waitForHeartbeatResponse','csShouldRetryEvent','buffer','onCommandExecuted','_createInitialStateImpl','_imageSourceCache','51748AHsXfc','complete','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onMissingChangesets','_replayCachedMutations','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','textRanges','_onRemoteACK','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enc','/universer-api/authz','HELLO','sessionStatus$','collaMsg','UNISCRIPT_RUN','_isPermissionRej','_changesetReqId','_getLoginPath','forEach','PSEUDO_FETCH_MISSING_RESULT','duration','_userManagerService','ciphertext','_updateState','_transformStateCache','_retryConnectingTimer','/-/object/list','exports','findIndex','csAckEvent','patch','reqId','loginUrlKey','toLowerCase','randomUUID','_substituteUndoStack','objectType','COMPLETION_FINISHED','UNKNOWN_CODE','OFFLINE','UNIVER_COLLABORATION_CLIENT_PLUGIN','avatar','_clearTimeoutTimer','/collaborator','/universer-api/oidc/authpage','DEFAULT_FILE_NAME','registerHTTPInterceptor','SNAPSHOT_URL_KEY','_univerInstanceService','/object','setCurrentUser','[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.','MUTATION','_ENC_XFORM_MODE','routeKey','batchAllowed','sessionStatus','_changesetSessionId','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_initCloseConn','JOIN_ROOM_FAILED','_showConflictNotification','join','Could\x20not\x20dynamically\x20require\x20\x22','setConfig','getSnapshotAPIPath','/universer-api/user/session-ticket','Undefined','13077340DvOcwf','executeCommand','close','_getSignURL','[CollaborationSession]','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_checkMissing','/role','HEARTBEAT_TIMEOUT','pluginName','symbol','onTransformState','_lockTransition','USERS_LEAVE','_onCombEvent','commentUpdate$','c2Prime','getImageSourceCache','[DataLoaderService]','createDecryptor','COLLAB_WEB_SOCKET_URL','Cipher','unit-cache-','getConfig','[SyncedState]:\x20received\x20acknowledgement.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_sender','COMPRESS_MUTATION_SEND','RECV','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','from','push','_invKeySchedule','Utf8','session.room-full','_DEC_XFORM_MODE','put','location','Hasher','_mode','resolve','encrypt','enableSingleActiveInstanceLock','origin','extend','append','create','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/comb','change$','reject','unpad','_socketMessageSubscription','clamp','status','UnitSnapshot','closeSession','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','keySize','CipherParams','_createInitialState','send','_transformStack','getUnitOnRev','emitEvent','compute','SYNCED','onMissedChangesetFetched','_undoRedoService','transformMutationsWithChangeset','PERMISSION_REJ','_applyRemoteChangeset','headers','_append','_getUndoStack','unitID','focused$','_createSocket','_HTTPService','next','reset','synced','_listenToNetworkCondition','_socketService','signUrlServerUrl','apply','StreamCipher','AWAITING','getCurrentUser','padding','UNIVER_PROJECT','_toggleOnline','_toggleOffline','_permissionService','objectID','socketService','localeService','JOIN','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','toString','toggleOnline','Decryptor','_event$','_removeRoom','NO_OTHER_CLIENTS_EDITING','awaitingChangeset','delete','defineProperty','withCredentials','userID','\x20-\x20','entityInit$','ONLINE','transformStack\x20failed!','submit\x20changeset\x20error!','LOCAL_CACHE_INTERVAL','byteLength','_doCryptBlock','find','__Key__','_undoStacks','copyFileMeta','_getAPIPrefixPath','capture','_doFinalize','image/png','UNRECOGNIZED','setShowComponents','getDeserializedSheetBlock','_cipher','mutations','dispose','_resendWithTimeout','randomBytes','connection\x20error','image/jpg','title','_onConnectionOpen','_memberService','LEAVE','fromCharCode','getTypeOfUnitAdded$','transformUndoRedo','_registerDependencies','getActiveSheet','APPLY_REVISION_CONFILICT','revision','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','downloadEndpointUrl','state','_telemetryInfo','_iKey','then','onRemoteRetry','ceil','_compressMutationService','_keyPriorReset','responseType','PERMISSION_DENIED','createEncryptor','_nRounds','_collaborationTimeoutTimer','Latin1','_schedule','session.room-permission-denied','baseRev','_unlockTransition','sigBytes','unsubscribe','?size=','onTransformSelections','enableAuthServer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/object/','getResourcesRequest','href','_transformUndoredo','OTHER_CLIENTS_EDITING','_snapshotServerService','_data','json','/fetchmissing?from=','_parse','7471422ABomCU','LIVESHARE_FETCH_OPERATIONS','CONFLICT','NOT_FOUND','\x0aCurrent:\x20','workbook','stringify','_resendTimeout','collabWebSocketUrl','People','localCacheService','encodeURIComponent','_snapshotService','_emitMembers','_exhaustRemoteChangesetQueue','list','COMPRESS_MUTATION_APPLY','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','609198WLRqhN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','msCrypto','createCollaborator','_resendTimer','_initMergeInterceptor','_joinRoom','string','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','_transformRemoteChangesetByStateCache','waitForRoom$','_initRequestHeader','LICENSE_DISTRO_REJECTED','_socket','not_collab','BASE64','SOCKET_FAILED','_hash','_configService','random','saveChangeset','subUnitId','_process','substr','_incrementRevisionNumber','_telemetryService','now','_eventService','length','_createHelper','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','CBC','_onMessage','splice','UNIVER_SLIDE','clear','_candidateSocket','_nDataBytes','values','UPDATE_PERMISSION_OBJ','createSocket','_state$','SUCCUSS','finalize','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_key','_commentUpdate$','{fileID}','/allowed','getUnit','_networkConditionService','reduce','_getCurrentRevision','COMMENT_UPDATE','updateCollaborator','OPTIONAL','words','_transformRemoteChangesetByIMECache','src','state$','ERROR_IMAGE','getUnitStatus$','socket\x20open.','error$','formatter','unitId\x20is\x20not\x20found','_initUnitPermissionChange','body','hostname','_sendingTimer','mixIn','SOCKET_FAILED_RETRY','saveImage','charCodeAt','authzUrl','_startCollaboration','cfg','_getDownloadEndpointURL','_submitChangeset','getUnitId','code','getUnitType','_onJoinRoomEvent','FileId','Encryptor','_waitCount','_doCreateSocket','_members$','close$','SUBMIT_CHANGESET','_instanceService','NEW_CHANGESETS','getRoom','_scheduleCollaborationTimeoutTimer','call','UNIVER_UNKNOWN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','size','/universer-api/uniscript','transformChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Pkcs7','fetch_missing','MD5','joinRsp','_onRecvEvent','readAsDataURL','getMember','AWAITING_WITH_PENDING','algo','reconnect','createInstance','HmacSHA1','_getRedoStack','EvpKDF','error','[CollaborationEntity]','_onOffline','INTERNAL_ERROR','_localeService','_change$','disableLocalCache','_pendingMutations','getMemberID','url','_config','20RHdJVL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshot','result','sendChangesetTimeout','sid','onStateChange'];_0x5f23=function(){return _0x43d962;};return _0x5f23();}const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x41545e(0x1e1)],oi;function Ln(){var _0x436968=_0x41545e;return oi||(oi=0x1,function(_0x1fd50a,_0x164710){(function(_0x465791,_0xbae3d6){var _0x2acef5=_0x5230;_0x1fd50a[_0x2acef5(0x1e1)]=_0xbae3d6(ie());}(xn,function(_0xed0b17){var _0x1bd8ee=_0x5230;return _0xed0b17[_0x1bd8ee(0x1cf)][_0x1bd8ee(0x22f)];}));}(Xe)),Xe[_0x436968(0x1e1)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){return ai||(ai=0x1,function(_0x5068b7,_0x2077e7){(function(_0x142697,_0x5db9fa){_0x5068b7['exports']=_0x5db9fa(ie());}($n,function(_0x10e506){var _0x29e447=_0x5230;return(function(){var _0x4efab7=_0x5230;if(typeof ArrayBuffer=='function'){var _0x527e98=_0x10e506,_0x4cdb3a=_0x527e98['lib'],_0x4264e1=_0x4cdb3a[_0x4efab7(0x3a9)],_0x361ba9=_0x4264e1['init'],_0x65defe=_0x4264e1[_0x4efab7(0x1b4)]=function(_0x1e1b7a){var _0x3638ba=_0x4efab7;if(_0x1e1b7a instanceof ArrayBuffer&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a)),(_0x1e1b7a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e1b7a instanceof Uint8ClampedArray||_0x1e1b7a instanceof Int16Array||_0x1e1b7a instanceof Uint16Array||_0x1e1b7a instanceof Int32Array||_0x1e1b7a instanceof Uint32Array||_0x1e1b7a instanceof Float32Array||_0x1e1b7a instanceof Float64Array)&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a[_0x3638ba(0x1c0)],_0x1e1b7a['byteOffset'],_0x1e1b7a[_0x3638ba(0x284)])),_0x1e1b7a instanceof Uint8Array){for(var _0x3707e7=_0x1e1b7a['byteLength'],_0x160d9d=[],_0x912e7e=0x0;_0x912e7e<_0x3707e7;_0x912e7e++)_0x160d9d[_0x912e7e>>>0x2]|=_0x1e1b7a[_0x912e7e]<<0x18-_0x912e7e%0x4*0x8;_0x361ba9[_0x3638ba(0x33e)](this,_0x160d9d,_0x3707e7);}else _0x361ba9[_0x3638ba(0x264)](this,arguments);};_0x65defe['prototype']=_0x4264e1;}}()),_0x10e506['lib'][_0x29e447(0x3a9)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x41545e(0x1e1)],ci;function Gn(){var _0x5b4a53=_0x41545e;return ci||(ci=0x1,function(_0x12fda3,_0x565bdf){(function(_0x5c91f6,_0x465490,_0x3f2891){_0x12fda3['exports']=_0x465490(ie(),Ui());}(Fn,function(_0x4bd803){var _0x45c6cb=_0x5230;return _0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)]={'pad':function(){},'unpad':function(){}},_0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)];}));}(Qe)),Qe[_0x5b4a53(0x1e1)];}var Vn=Gn();function _0x5230(_0x418b52,_0x5b5cbf){var _0x5f2325=_0x5f23();return _0x5230=function(_0x5230cb,_0x316be2){_0x5230cb=_0x5230cb-0x186;var _0x411e59=_0x5f2325[_0x5230cb];return _0x411e59;},_0x5230(_0x418b52,_0x5b5cbf);}const Wn=He(Vn);function Kn(_0x57fd07,_0x24eb43){var _0x2ea66a=_0x41545e;const _0x1ec29b=_0x24eb43-_0x57fd07[_0x2ea66a(0x2fa)]%_0x24eb43,_0x2feb60=String[_0x2ea66a(0x29c)](_0x1ec29b)[_0x2ea66a(0x376)](_0x1ec29b);return _0x57fd07+_0x2feb60;}function Yn(_0x6619d2,_0x173955){var _0x51228f=_0x41545e;const _0xa58ffe=jn['random'](0x10),_0x519e48=Kn(_0x6619d2,0x10),_0x5aa0a2=An[_0x51228f(0x237)](kn['parse'](_0x519e48),si[_0x51228f(0x3ce)](_0x173955),{'iv':_0xa58ffe,'padding':Wn});return _0xa58ffe[_0x51228f(0x435)](_0x5aa0a2[_0x51228f(0x1dc)])[_0x51228f(0x273)](si);}function qn(){var _0x5c40ca=_0x41545e;const _0x1f4426=_0x759dcf()[_0x5c40ca(0x287)];if(_0x1f4426){const _0x4bca3c={'time':Math[_0x5c40ca(0x480)](Date[_0x5c40ca(0x2f8)]()/0x3e8),'domain':location[_0x5c40ca(0x324)]};return Yn(JSON['stringify'](_0x4bca3c),_0x1f4426);}}var zn=Object[_0x41545e(0x271)],Jn=(_0x22e622,_0xacae23,_0x364a1e,_0x525980)=>{var _0x8a07be=_0x41545e;for(var _0x31966a=_0x525980>0x1?void 0x0:_0x525980?zn(_0xacae23,_0x364a1e):_0xacae23,_0x1a6707=_0x22e622[_0x8a07be(0x2fa)]-0x1,_0x4e89c5;_0x1a6707>=0x0;_0x1a6707--)(_0x4e89c5=_0x22e622[_0x1a6707])&&(_0x31966a=_0x4e89c5(_0x31966a)||_0x31966a);return _0x31966a;},Xn=(_0x1e2e1f,_0x41e981)=>(_0x3082d4,_0x284e59)=>_0x41e981(_0x3082d4,_0x284e59,_0x1e2e1f);let ot=class{constructor(_0x2b03f0){var _0x4b4cfb=_0x41545e;this[_0x4b4cfb(0x365)]=_0x2b03f0,this['_initRequestHeader']();}[_0x41545e(0x2e9)](){var _0x59c4ad=_0x41545e;this['_httpService'][_0x59c4ad(0x1f4)]({'interceptor':(_0x5594e3,_0x44c9d2)=>{var _0xfdc36c=_0x59c4ad;const _0x331161=_0x5594e3['headers'],_0x713896=qn();return _0x713896&&_0x331161[_0xfdc36c(0x3d2)]('x-univer-host',_0x713896),_0x44c9d2(_0x5594e3);}});}};ot=Jn([Xn(0x0,_0x236453(_0x15df20))],ot);var Zn=Object[_0x41545e(0x271)],Qn=(_0x4433a2,_0x39a7cf,_0x141ad0,_0x14cfd1)=>{var _0x2f265d=_0x41545e;for(var _0x26e3c9=_0x14cfd1>0x1?void 0x0:_0x14cfd1?Zn(_0x39a7cf,_0x141ad0):_0x39a7cf,_0x3ae8e6=_0x4433a2[_0x2f265d(0x2fa)]-0x1,_0xbcefb;_0x3ae8e6>=0x0;_0x3ae8e6--)(_0xbcefb=_0x4433a2[_0x3ae8e6])&&(_0x26e3c9=_0xbcefb(_0x26e3c9)||_0x26e3c9);return _0x26e3c9;},mt=(_0x4c2e0f,_0x456496)=>(_0x9e48c8,_0x4d8685)=>_0x456496(_0x9e48c8,_0x4d8685,_0x4c2e0f);let bt=class extends _0x433c2f{constructor(_0x4f6de8,_0x5c043c,_0x53acde){var _0x45a8d3=_0x41545e;super(),N(this,'_unitInfo$',new _0x48d6f2(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x45a8d3(0x38e)]()),(this[_0x45a8d3(0x398)]=_0x4f6de8,this[_0x45a8d3(0x2d5)]=_0x5c043c,this[_0x45a8d3(0x3d9)]=_0x53acde);}async[_0x41545e(0x39a)](_0x30fc20,_0x3323fe,_0x2265db){var _0x591e0d=_0x41545e;this[_0x591e0d(0x1c9)][_0x591e0d(0x25e)]({'unitId':_0x30fc20,'type':_0x3323fe,'subUnitId':_0x2265db});let _0xcb438=null;switch(_0x3323fe){case Q[_0x591e0d(0x1af)]:{_0xcb438=await this['_loadSheet'](_0x30fc20);break;}case Q['UNIVER_DOC']:{_0xcb438=await this[_0x591e0d(0x470)](_0x30fc20);break;}default:{this[_0x591e0d(0x398)]['error'](_0x591e0d(0x21d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xcb438;}async['_loadSheet'](_0x2677ea){var _0x382cea=_0x41545e,_0x59bb4b;let _0x50aa8b=0x0;const _0xc1c4=await((_0x59bb4b=this[_0x382cea(0x3d9)])==null?void 0x0:_0x59bb4b[_0x382cea(0x459)](_0x2677ea));return _0xc1c4&&(_0xc1c4[_0x382cea(0x279)]||_0xc1c4['mutations'][_0x382cea(0x2fa)]!==0x0)&&(_0x50aa8b=_0xc1c4[_0x382cea(0x372)]),_0x50aa8b===0x0&&this[_0x382cea(0x398)][_0x382cea(0x3ab)](_0x382cea(0x21d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x382cea(0x38d)](_0x2677ea,_0x50aa8b);}async[_0x41545e(0x470)](_0x575b74){var _0xc90565=_0x41545e,_0x2270a6;let _0x20d82e=0x0;const _0x25a739=await((_0x2270a6=this['_localCacheService'])==null?void 0x0:_0x2270a6[_0xc90565(0x459)](_0x575b74));return _0x25a739&&(_0x25a739[_0xc90565(0x279)]||_0x25a739[_0xc90565(0x292)]['length']!==0x0)&&(_0x20d82e=_0x25a739[_0xc90565(0x372)]),_0x20d82e===0x0&&this[_0xc90565(0x398)][_0xc90565(0x3ab)](_0xc90565(0x21d),_0xc90565(0x36c)),this['_snapshotService'][_0xc90565(0x41c)](_0x575b74,_0x20d82e);}};bt=Qn([mt(0x0,_0x5b92b1),mt(0x1,_0x236453(_0x460d13)),mt(0x2,_0x1d0f46(J))],bt);var es=Object[_0x41545e(0x271)],ts=(_0x45d38d,_0x442e42,_0xf5bb6a,_0x337b61)=>{var _0x1919c7=_0x41545e;for(var _0x3cc363=_0x337b61>0x1?void 0x0:_0x337b61?es(_0x442e42,_0xf5bb6a):_0x442e42,_0x5f56c7=_0x45d38d[_0x1919c7(0x2fa)]-0x1,_0x2f113c;_0x5f56c7>=0x0;_0x5f56c7--)(_0x2f113c=_0x45d38d[_0x5f56c7])&&(_0x3cc363=_0x2f113c(_0x3cc363)||_0x3cc363);return _0x3cc363;},gt=(_0x38154b,_0x51d9d8)=>(_0x566495,_0x310321)=>_0x51d9d8(_0x566495,_0x310321,_0x38154b);const is=[_0x41545e(0x28d),'image/jpeg',_0x41545e(0x297),'image/gif',_0x41545e(0x186)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x41545e(0x1b0),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x41545e(0x22a);let yt=class{constructor(_0x31edee,_0x4ac557,_0x5ac6cf){var _0x4481e1=_0x41545e;N(this,_0x4481e1(0x335),0x0),N(this,_0x4481e1(0x358),new _0x5daeac()),N(this,_0x4481e1(0x23f),this[_0x4481e1(0x358)]),N(this,_0x4481e1(0x1c3),new Map()),(this['_httpService']=_0x31edee,this[_0x4481e1(0x2f0)]=_0x4ac557,this[_0x4481e1(0x1f6)]=_0x5ac6cf);}['setWaitCount'](_0x52a873){this['_waitCount']=_0x52a873,this['_change$']['next'](_0x52a873);}[_0x41545e(0x21c)](_0x45a86d,_0x538be1){var _0x3772a2=_0x41545e;if(_0x538be1===_0x27b5d1[_0x3772a2(0x2ed)]){const _0x2d2a60=new Image();return _0x2d2a60[_0x3772a2(0x31a)]=_0x45a86d,_0x2d2a60;}return this['_imageSourceCache'][_0x3772a2(0x393)](_0x45a86d);}[_0x41545e(0x3dc)](_0x3edc57,_0x5371a8,_0x440d6e){var _0x35dac2=_0x41545e;_0x5371a8===_0x27b5d1[_0x35dac2(0x2ed)]||_0x440d6e==null||this['_imageSourceCache']['set'](_0x3edc57,_0x440d6e);}async[_0x41545e(0x461)](_0x58a985){var _0x5671c5=_0x41545e;try{const _0x451ff3=this[_0x5671c5(0x3f7)](this[_0x5671c5(0x20e)](),''+_0x58a985),_0x597f40=(await this['_httpService']['get'](_0x451ff3))[_0x5671c5(0x323)];if(_0x597f40[_0x5671c5(0x353)]&&_0x597f40['error'][_0x5671c5(0x330)]===Si['OK']){const _0x132007=new URL(_0x597f40[_0x5671c5(0x35c)],this[_0x5671c5(0x32d)]())[_0x5671c5(0x273)]();return Promise[_0x5671c5(0x236)](_0x132007);}return Promise[_0x5671c5(0x240)](_0x597f40['error']);}catch(_0x54c826){return Promise[_0x5671c5(0x240)](_0x54c826);}}async[_0x41545e(0x328)](_0x198ca1){var _0x2875e7=_0x41545e;let _0x1ca9f3='';if(!is['includes'](_0x198ca1[_0x2875e7(0x1b3)]))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8['ERROR_IMAGE_TYPE']));if(_0x198ca1['size']>rs)return this[_0x2875e7(0x46a)](),Promise['reject'](new Error(_0x3183f8[_0x2875e7(0x392)]));try{const _0x3aa317=new FormData();_0x3aa317[_0x2875e7(0x23b)](_0x2875e7(0x1b8),_0x198ca1);const _0x4c14e2=this[_0x2875e7(0x1f6)][_0x2875e7(0x3fb)](),_0x4ab372=_0x4c14e2==null?void 0x0:_0x4c14e2[_0x2875e7(0x32f)]();if(!_0x4ab372)throw new Error(_0x2875e7(0x321));const _0x293012=this['_getUploadFileURL']()+_0x2875e7(0x2bb)+_0x198ca1['size']['toString']()+'&source='+Ei[_0x2875e7(0x2a5)]+'&assign='+encodeURIComponent(_0x4ab372),_0x59c150=await(await fetch(_0x293012,{'method':_0x2875e7(0x3d1),'body':_0x3aa317}))[_0x2875e7(0x2c6)]();if(typeof _0x59c150[_0x2875e7(0x333)]!=_0x2875e7(0x2e4))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));_0x1ca9f3=_0x59c150[_0x2875e7(0x333)];}catch{return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));}return new Promise((_0x4f1c77,_0x255f73)=>{var _0x39f3ad=_0x2875e7;const _0x530784=new FileReader();_0x530784[_0x39f3ad(0x34a)](_0x198ca1),_0x530784[_0x39f3ad(0x36e)]=_0x4ef886=>{var _0x1d895b=_0x39f3ad,_0x5381bc;const _0x53f250=(_0x5381bc=_0x4ef886[_0x1d895b(0x453)])==null?void 0x0:_0x5381bc[_0x1d895b(0x361)];if(_0x53f250==null){this[_0x1d895b(0x46a)](),_0x255f73(new Error(_0x3183f8[_0x1d895b(0x31c)]));return;}const _0x37be63=_0x4c19fa[_0x1d895b(0x192)](0x6);_0x4f1c77({'imageId':_0x37be63,'imageSourceType':_0x27b5d1['UUID'],'source':_0x1ca9f3,'base64Cache':_0x53f250,'status':_0x3183f8[_0x1d895b(0x309)]}),this['_decreaseWaiting']();};});}[_0x41545e(0x3f0)](){var _0x43caa8=_0x41545e,_0x4e9661,_0x302327;const _0x1ea01b=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](ns),_0x528b22=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](q);return(_0x302327=(_0x4e9661=_0x528b22==null?void 0x0:_0x528b22['uploadFileServerUrl'])!=null?_0x4e9661:_0x1ea01b)!=null?_0x302327:ss;}[_0x41545e(0x20e)](){var _0x467356=_0x41545e,_0x544cb6,_0x5d682a;const _0x4c2123=this[_0x467356(0x2f0)][_0x467356(0x222)](os),_0x3a037b=this[_0x467356(0x2f0)][_0x467356(0x222)](q);return(_0x5d682a=(_0x544cb6=_0x3a037b==null?void 0x0:_0x3a037b[_0x467356(0x263)])!=null?_0x544cb6:_0x4c2123)!=null?_0x5d682a:as;}[_0x41545e(0x32d)](){var _0x41a087=_0x41545e,_0x100555;const _0x547bc3=this[_0x41a087(0x2f0)]['getConfig'](q);return(_0x100555=_0x547bc3==null?void 0x0:_0x547bc3[_0x41a087(0x2a6)])!=null?_0x100555:location[_0x41a087(0x239)];}[_0x41545e(0x3f7)](_0x3442df,_0x5043d8){var _0x197ab8=_0x41545e;return _0x3442df['replace'](_0x197ab8(0x30f),_0x5043d8);}[_0x41545e(0x46a)](){var _0x1a2acf=_0x41545e;this[_0x1a2acf(0x335)]-=0x1,this['_change$'][_0x1a2acf(0x25e)](this[_0x1a2acf(0x335)]);}};yt=ts([gt(0x0,_0x236453(_0x15df20)),gt(0x1,_0x34fb67),gt(0x2,_0x236453(_0x214b6f))],yt);var cs=Object[_0x41545e(0x271)],hs=(_0x3ee556,_0x5439e4,_0x3dc281,_0x10ffe2)=>{for(var _0x42a80c=_0x10ffe2>0x1?void 0x0:_0x10ffe2?cs(_0x5439e4,_0x3dc281):_0x5439e4,_0x1c2321=_0x3ee556['length']-0x1,_0x13b675;_0x1c2321>=0x0;_0x1c2321--)(_0x13b675=_0x3ee556[_0x1c2321])&&(_0x42a80c=_0x13b675(_0x42a80c)||_0x42a80c);return _0x42a80c;},hi=(_0x277747,_0x5525bb)=>(_0x2ae171,_0x21f885)=>_0x5525bb(_0x2ae171,_0x21f885,_0x277747);const _s='/universer-api/authz';let Ot=class{constructor(_0x26d245,_0x35e328){var _0x5b2aac=_0x41545e;this['_configService']=_0x26d245,this[_0x5b2aac(0x25d)]=_0x35e328;}[_0x41545e(0x28a)](){var _0x256c16=_0x41545e,_0x514e05,_0x978865;const _0x55d5e2=this[_0x256c16(0x2f0)][_0x256c16(0x222)](Ni),_0x1c4eb7=this[_0x256c16(0x2f0)][_0x256c16(0x222)](q);return(_0x978865=(_0x514e05=_0x1c4eb7==null?void 0x0:_0x1c4eb7[_0x256c16(0x32a)])!=null?_0x514e05:_0x55d5e2)!=null?_0x978865:_s;}async[_0x41545e(0x2d8)](_0x13c84f){var _0x42fcb0=_0x41545e;const _0x1e1ab7=this[_0x42fcb0(0x28a)]()+'/collaborator';return{'list':[{'title':_0x42fcb0(0x2d2),'mentions':(await this[_0x42fcb0(0x25d)][_0x42fcb0(0x393)](_0x1e1ab7,{'params':{'objectID':_0x13c84f[_0x42fcb0(0x36d)],'unitID':_0x13c84f['unitId']}}))[_0x42fcb0(0x323)][_0x42fcb0(0x42b)][_0x42fcb0(0x400)](_0x33956a=>({'objectId':_0x33956a['id'],'name':_0x33956a['subject'][_0x42fcb0(0x1a5)],'metadata':{'icon':_0x33956a['subject'][_0x42fcb0(0x1ef)]},'label':_0x33956a['subject']['name'],'objectType':_0x426e6f[_0x42fcb0(0x3ea)]})),'metadata':{},'type':_0x426e6f[_0x42fcb0(0x3ea)]}]};}};Ot=hs([hi(0x0,_0x236453(_0x34fb67)),hi(0x1,_0x236453(_0x15df20))],Ot);var ls=Object[_0x41545e(0x271)],us=(_0x6c106d,_0x4fb73b,_0x29f605,_0x1b6a55)=>{var _0x48ca45=_0x41545e;for(var _0x408a50=_0x1b6a55>0x1?void 0x0:_0x1b6a55?ls(_0x4fb73b,_0x29f605):_0x4fb73b,_0x4a3770=_0x6c106d[_0x48ca45(0x2fa)]-0x1,_0x3b3abc;_0x4a3770>=0x0;_0x4a3770--)(_0x3b3abc=_0x6c106d[_0x4a3770])&&(_0x408a50=_0x3b3abc(_0x408a50)||_0x408a50);return _0x408a50;},Ae=(_0x58f731,_0x83d87f)=>(_0x4ab47a,_0x14ad40)=>_0x83d87f(_0x4ab47a,_0x14ad40,_0x58f731);let at=class extends _0x433c2f{constructor(_0x528e37,_0x1fd749,_0x474082,_0x329997,_0x1640f3){var _0x137125=_0x41545e;super(),this[_0x137125(0x367)]=_0x528e37,this['_univerInstanceService']=_0x1fd749,this['_permissionService']=_0x474082,this[_0x137125(0x1a1)]=_0x329997,this[_0x137125(0x1ae)]=_0x1640f3,this[_0x137125(0x322)](),this[_0x137125(0x202)]();}['_initCloseConn'](){var _0x3e7f93=_0x41545e;const _0x1de592=async _0x16f969=>{var _0x3c2da9=_0x5230;(await this[_0x3c2da9(0x1a1)][_0x3c2da9(0x44c)](_0x16f969))[_0x3c2da9(0x438)][_0x3c2da9(0x30b)](_0x1a0aae(_0x1824c9=>_0x1824c9['eventID']===_0x5cfd61['SHOULD_CLOSE_CONN']),_0x48cb79(this[_0x3c2da9(0x423)]))['subscribe'](_0x2c1a67=>{var _0x141dc6=_0x3c2da9;const _0x4972ba=_0x2c1a67,{reason:_0x5bcb9b}=_0x4972ba['data'];this['_collaborationUIEventService'][_0x141dc6(0x24f)]({'id':se[_0x141dc6(0x3c1)],'data':_0x5bcb9b}),this[_0x141dc6(0x26c)][_0x141dc6(0x3e8)](new _0xeafda4(_0x16f969)['id'],!0x1),this[_0x141dc6(0x1a1)]['closeSession'](_0x16f969);});};_0x14bf95(this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x1af)]),this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x378)]))[_0x3e7f93(0x30b)](_0x5a18b9(_0x57c2db=>_0x57c2db['getUnitId']()),_0x1a0aae(_0x553795=>!_0x3359f1(_0x553795)),_0x48cb79(this[_0x3e7f93(0x423)]))[_0x3e7f93(0x40b)](_0x335c51=>{_0x1de592(_0x335c51);});}[_0x41545e(0x322)](){var _0x110b47=_0x41545e;const _0x42dd81=async _0x1d2a63=>{var _0x5b7bfc=_0x5230;const _0x56e72c=await this['_collaborationSessionService'][_0x5b7bfc(0x44c)](_0x1d2a63),_0x4a672c=this[_0x5b7bfc(0x367)][_0x5b7bfc(0x393)](_0x40e8ac);_0x56e72c[_0x5b7bfc(0x438)][_0x5b7bfc(0x30b)](_0x1a0aae(_0x4801d6=>_0x4801d6[_0x5b7bfc(0x44a)]===_0x5cfd61[_0x5b7bfc(0x306)]),_0x48cb79(this[_0x5b7bfc(0x423)]))[_0x5b7bfc(0x40b)](_0x586e9c=>{var _0x15ecef=_0x5b7bfc;const _0x3003db=_0x586e9c,{objectId:_0x12f78d}=_0x3003db[_0x15ecef(0x226)];_0x12f78d===_0x1d2a63?_0x4a672c[_0x15ecef(0x19d)](_0x1d2a63):_0x4a672c[_0x15ecef(0x1ab)](_0x1d2a63,_0x12f78d);});};_0x14bf95(this[_0x110b47(0x1f6)][_0x110b47(0x29d)](_0x16fa42[_0x110b47(0x1af)]))[_0x110b47(0x30b)](_0x5a18b9(_0x4a9d72=>_0x4a9d72[_0x110b47(0x32f)]()),_0x1a0aae(_0x3fe46e=>!_0x3359f1(_0x3fe46e)),_0x48cb79(this[_0x110b47(0x423)]))[_0x110b47(0x40b)](_0x4b46e8=>{_0x42dd81(_0x4b46e8);});}};at=us([Ae(0x0,_0x236453(_0x35ce09)),Ae(0x1,_0x214b6f),Ae(0x2,_0x4da13f),Ae(0x3,_0x236453(Le)),Ae(0x4,_0x236453(pe))],at);var ds=Object[_0x41545e(0x271)],fs=(_0x218d18,_0x142779,_0x3d6652,_0x233cb0)=>{var _0xa8bdd7=_0x41545e;for(var _0x56fd16=_0x233cb0>0x1?void 0x0:_0x233cb0?ds(_0x142779,_0x3d6652):_0x142779,_0x47b397=_0x218d18[_0xa8bdd7(0x2fa)]-0x1,_0x49d7d5;_0x47b397>=0x0;_0x47b397--)(_0x49d7d5=_0x218d18[_0x47b397])&&(_0x56fd16=_0x49d7d5(_0x56fd16)||_0x56fd16);return _0x56fd16;},_i=(_0x28cd46,_0x5994e5)=>(_0xdbe801,_0x47f787)=>_0x5994e5(_0xdbe801,_0x47f787,_0x28cd46);let Nt=class{constructor(_0x384701,_0x5b48ef){var _0x32408c=_0x41545e;this[_0x32408c(0x2f0)]=_0x384701,this['_httpService']=_0x5b48ef;}async[_0x41545e(0x24e)](_0x1f9c15,_0x4415f5){var _0xed8dd9=_0x41545e,_0x163c2c;const {unitID:_0x42ffee,type:_0x9610b2,revision:_0x20235c=0x0}=_0x4415f5,_0x1900ee=this[_0xed8dd9(0x208)]()+'/'+_0x9610b2+_0xed8dd9(0x410)+_0x42ffee+'/rev/'+_0x20235c,_0xa5fece=(await this[_0xed8dd9(0x365)][_0xed8dd9(0x393)](_0x1900ee))[_0xed8dd9(0x323)],_0x12730a=(_0x163c2c=_0xa5fece[_0xed8dd9(0x360)])==null?void 0x0:_0x163c2c[_0xed8dd9(0x2ce)];if(_0x12730a){const _0x1e7d21=_0x12730a==null?void 0x0:_0x12730a['originalMeta'],_0x2e6641=_0x4206cc[_0xed8dd9(0x3ba)](_0x22f055(_0x1e7d21));_0x12730a[_0xed8dd9(0x36a)]=_0x2e6641,Object['entries'](_0x12730a[_0xed8dd9(0x45b)])['forEach'](([,_0x953221])=>{var _0x1bcc83=_0xed8dd9;const _0x345a0c=_0x953221['originalMeta'],_0xb27dee=_0x4206cc[_0x1bcc83(0x3ba)](_0x22f055(_0x345a0c));_0x953221[_0x1bcc83(0x36a)]=_0xb27dee;});}return _0xa5fece;}async[_0x41545e(0x191)](_0x19feff,_0x3c00a6){var _0x485883=_0x41545e;const {unitID:_0x313c9d,type:_0x586517,blockID:_0x453882}=_0x3c00a6,_0x267e60=this['_getAPIPrefix']()+'/'+_0x586517+_0x485883(0x410)+_0x313c9d+_0x485883(0x374)+_0x453882;return(await this[_0x485883(0x365)][_0x485883(0x393)](_0x267e60))['body'];}async[_0x41545e(0x290)](_0x1fb8f1,_0x58f76f){var _0x830e8f=_0x41545e;const {unitID:_0x490ad5,type:_0x2db9b3,blockID:_0x295af3}=_0x58f76f,_0xc75750=this[_0x830e8f(0x432)]()+_0x830e8f(0x374)+_0x2db9b3+_0x830e8f(0x410)+_0x490ad5+_0x830e8f(0x374)+_0x295af3;return(await this[_0x830e8f(0x365)]['get'](_0xc75750))[_0x830e8f(0x323)];}async[_0x41545e(0x3a5)](_0x34046b,_0x11105b){var _0x501b5b=_0x41545e;const {unitID:_0x24c028,type:_0x5bbb7c,from:_0x35d277,to:_0x4a6cbc}=_0x11105b,_0x1360b1=this[_0x501b5b(0x432)]()+'/'+_0x5bbb7c+'/unit/'+_0x24c028+_0x501b5b(0x2c7)+_0x35d277+'&to='+_0x4a6cbc;return(await this[_0x501b5b(0x365)][_0x501b5b(0x393)](_0x1360b1))['body'];}[_0x41545e(0x208)](){var _0x143233=_0x41545e,_0x152d95;return(_0x152d95=this[_0x143233(0x2f0)]['getConfig'](gr))!=null?_0x152d95:this[_0x143233(0x432)]();}['_getAPIPrefix'](){var _0x18f5de=_0x41545e,_0x5054fc,_0x5b3793;const _0x29e6de=this['_configService'][_0x18f5de(0x222)](pr),_0x558448=this['_configService'][_0x18f5de(0x222)](q);return(_0x5b3793=(_0x5054fc=_0x558448==null?void 0x0:_0x558448[_0x18f5de(0x3a8)])!=null?_0x5054fc:_0x29e6de)!=null?_0x5b3793:mr;}async[_0x41545e(0x2c0)](_0x546064,_0x2fb5a4){var _0x1ace7b=_0x41545e;const _0x50a9d7=_0x1ace7b(0x37d)+_0x2fb5a4[_0x1ace7b(0x1b3)]+_0x1ace7b(0x410)+_0x2fb5a4[_0x1ace7b(0x25a)]+'/resources';return(await this[_0x1ace7b(0x365)][_0x1ace7b(0x393)](_0x50a9d7,{'params':{'resourceId':JSON[_0x1ace7b(0x2cf)](_0x2fb5a4['resourceIDs'])}}))[_0x1ace7b(0x323)];}['saveSnapshot'](){var _0x2e1cb1=_0x41545e;throw new Error(_0x2e1cb1(0x2e5));}[_0x41545e(0x3d6)](){var _0x332e57=_0x41545e;throw new Error(_0x332e57(0x2e5));}[_0x41545e(0x2f2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x41545e(0x289)](){var _0x4bd225=_0x41545e;throw new Error(_0x4bd225(0x2e5));}['getLatestCsReqIdBySid'](){var _0x386343=_0x41545e;throw new Error(_0x386343(0x2e5));}};Nt=fs([_i(0x0,_0x34fb67),_i(0x1,_0x236453(_0x15df20))],Nt);var vs=Object[_0x41545e(0x271)],ps=(_0x2c8c25,_0x20c6d2,_0x40c9e8,_0x423993)=>{var _0x3bff30=_0x41545e;for(var _0x2834b6=_0x423993>0x1?void 0x0:_0x423993?vs(_0x20c6d2,_0x40c9e8):_0x20c6d2,_0x4bb3b6=_0x2c8c25[_0x3bff30(0x2fa)]-0x1,_0x3141db;_0x4bb3b6>=0x0;_0x4bb3b6--)(_0x3141db=_0x2c8c25[_0x4bb3b6])&&(_0x2834b6=_0x3141db(_0x2834b6)||_0x2834b6);return _0x2834b6;},Pe=(_0x341e2f,_0x34b7eb)=>(_0x1bf9b8,_0x416f41)=>_0x34b7eb(_0x1bf9b8,_0x416f41,_0x341e2f);let Dt=class extends _0x2e41ca{constructor(_0x3967bc,_0x4bce30,_0x135c5b,_0x2c6ffe,_0x2e161a){var _0x27e665=_0x41545e;super(_0x3967bc,_0x4bce30,_0x135c5b),this[_0x27e665(0x3ac)]=_0x2c6ffe,this[_0x27e665(0x398)]=_0x2e161a;}[_0x41545e(0x29e)](_0x88e054,_0x3dc7e2){var _0x2a4f18=_0x41545e;const _0x2ef399=this[_0x2a4f18(0x259)](_0x88e054);if(_0x2ef399)try{const _0x56f8ac=this[_0x2a4f18(0x24d)](_0x2ef399,_0x3dc7e2);this[_0x2a4f18(0x1e9)](_0x88e054,_0x56f8ac);}catch(_0x29dd3f){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x2a4f18(0x3dd),_0x29dd3f),this[_0x2a4f18(0x460)](_0x88e054);}const _0x17a06a=this[_0x2a4f18(0x351)](_0x88e054);if(_0x17a06a)try{const _0x85bb37=this[_0x2a4f18(0x24d)](_0x17a06a,_0x3dc7e2);this[_0x2a4f18(0x43f)](_0x88e054,_0x85bb37);}catch(_0x29a373){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x29a373),this[_0x2a4f18(0x3ef)](_0x88e054);}}[_0x41545e(0x460)](_0x4d8be1){var _0x1f4f00=_0x41545e;const _0x2549e3=this[_0x1f4f00(0x259)](_0x4d8be1);_0x2549e3&&(_0x2549e3[_0x1f4f00(0x2fa)]=0x0,this[_0x1f4f00(0x44d)]());}[_0x41545e(0x3ef)](_0x48a8a5){var _0x3b058b=_0x41545e;const _0x415f64=this[_0x3b058b(0x351)](_0x48a8a5);_0x415f64&&(_0x415f64['length']=0x0,this[_0x3b058b(0x44d)]());}[_0x41545e(0x1e9)](_0x4743dd,_0xe94f8){var _0xa7fb26=_0x41545e;this[_0xa7fb26(0x288)][_0xa7fb26(0x3d2)](_0x4743dd,_0xe94f8),this[_0xa7fb26(0x44d)]();}[_0x41545e(0x43f)](_0x5da9d9,_0x4d6ce0){var _0x2cefe8=_0x41545e;this[_0x2cefe8(0x472)][_0x2cefe8(0x3d2)](_0x5da9d9,_0x4d6ce0),this[_0x2cefe8(0x44d)]();}['_transformStack'](_0x4a81e6,_0x123b1d){var _0x2daa88=_0x41545e;const _0x3bd0af=[];let _0x2c61d5=_0x123b1d,_0x446117=_0x123b1d;for(let _0x810f09=_0x4a81e6[_0x2daa88(0x2fa)]-0x1;_0x810f09>=0x0;_0x810f09--){const {unitID:_0x5201f9,undoMutations:_0x5d4727,redoMutations:_0x322cf1}=_0x4a81e6[_0x810f09],_0x3386b6=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x2c61d5,_0x5d4727),_0x17e895=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x446117,_0x322cf1);if(_0x5901b0(_0x3386b6)||_0x5901b0(_0x17e895)){this[_0x2daa88(0x398)][_0x2daa88(0x353)](_0x2daa88(0x3dd),_0x2daa88(0x281),_0x3386b6,_0x17e895);break;}_0x2c61d5=_0x3386b6['c1Prime'],_0x446117=_0x17e895[_0x2daa88(0x3e1)],_0x3bd0af[_0x2daa88(0x22d)]({'unitID':_0x5201f9,'undoMutations':_0x3386b6[_0x2daa88(0x379)],'redoMutations':_0x17e895[_0x2daa88(0x379)]});}return _0x3bd0af['reverse']();}};Dt=ps([Pe(0x0,_0x214b6f),Pe(0x1,_0x2c92b5),Pe(0x2,_0x5afa9c),Pe(0x3,_0x1335c8),Pe(0x4,_0x5b92b1)],Dt);var ms=Object['defineProperty'],gs=Object[_0x41545e(0x271)],Ss=(_0x73e59f,_0x21c6e0,_0x5bbd2b)=>_0x21c6e0 in _0x73e59f?ms(_0x73e59f,_0x21c6e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbd2b}):_0x73e59f[_0x21c6e0]=_0x5bbd2b,Es=(_0x5a3af4,_0x1e1ddd,_0x3fd386,_0x50de17)=>{var _0x448b75=_0x41545e;for(var _0x5a4993=_0x50de17>0x1?void 0x0:_0x50de17?gs(_0x1e1ddd,_0x3fd386):_0x1e1ddd,_0x4805fe=_0x5a3af4[_0x448b75(0x2fa)]-0x1,_0x5a6e56;_0x4805fe>=0x0;_0x4805fe--)(_0x5a6e56=_0x5a3af4[_0x4805fe])&&(_0x5a4993=_0x5a6e56(_0x5a4993)||_0x5a4993);return _0x5a4993;},St=(_0x47b334,_0x5ea69c)=>(_0x5dba48,_0x46de6a)=>_0x5ea69c(_0x5dba48,_0x46de6a,_0x47b334),Is=(_0x3340c9,_0x4eda8e,_0x1ba7d7)=>Ss(_0x3340c9,_0x4eda8e+'',_0x1ba7d7);const Ts=_0x41545e(0x1ee);let wt=class extends _0x4357a2{constructor(_0x5b29e9,_0x59f218,_0x2ff502,_0x89ca7f){var _0x23cce8=_0x41545e;super(),N(this,_0x23cce8(0x35d)),(this[_0x23cce8(0x398)]=_0x59f218,this[_0x23cce8(0x367)]=_0x2ff502,this[_0x23cce8(0x2f0)]=_0x89ca7f);const {..._0x48cdbe}=_0x48c383({},Ur,_0x5b29e9);if(!_0x48cdbe[_0x23cce8(0x26e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x23cce8(0x35d)]=_0x48cdbe,this[_0x23cce8(0x2f0)][_0x23cce8(0x207)](q,_0x48cdbe);}[_0x41545e(0x368)](){var _0x17a602=_0x41545e;this[_0x17a602(0x29f)](),this['_initDependencies']();}[_0x41545e(0x29f)](){var _0x442d21=_0x41545e,_0x45b12d,_0x56c13a;this[_0x442d21(0x367)][_0x442d21(0x46e)](_0x5a61a5)&&this[_0x442d21(0x398)]['error']('[UniverCollaborationClientPlugin]',_0x442d21(0x1ce));const _0x1962a6=_0x226ccd([[_0x5a61a5,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x442d21(0x35d)][_0x442d21(0x26e)]}],[_0x1cc5ae,{'useClass':Nt}],[_0x3ac908,{'useClass':Rt}],[_0x5bffa7,{'useClass':yt}],[_0x1f17af,{'useClass':Ot}],[nt],[Ct]],(_0x45b12d=this[_0x442d21(0x35d)])==null?void 0x0:_0x45b12d['override']);if(!((_0x56c13a=this['_config'])!=null&&_0x56c13a[_0x442d21(0x238)])){const _0x3f34e1=_0x1962a6[_0x442d21(0x1e2)](([_0x2eda13])=>_0x2eda13===ht);_0x3f34e1!==-0x1&&_0x1962a6['splice'](_0x3f34e1,0x1);}_0x56bf0d(this[_0x442d21(0x367)],_0x1962a6);}[_0x41545e(0x3b2)](){var _0x23ebec=_0x41545e,_0x306a7a,_0x535dc8,_0x21e78b;this['_injector'][_0x23ebec(0x393)](_0x15df20)[_0x23ebec(0x1f4)]({'priority':0x14,'interceptor':_0x2226bf({'maxParallel':0x6})}),(_0x306a7a=this[_0x23ebec(0x35d)])!=null&&_0x306a7a[_0x23ebec(0x2e6)]||(_0x535dc8=this[_0x23ebec(0x367)][_0x23ebec(0x393)](J,_0x248523[_0x23ebec(0x317)]))==null||_0x535dc8[_0x23ebec(0x359)](),(_0x21e78b=this['_config'])!=null&&_0x21e78b[_0x23ebec(0x2bd)]&&_0x266d35(this['_injector'],[[st]]),_0x266d35(this['_injector'],[[ot],[nt],[at]]);}};Is(wt,_0x41545e(0x214),Ts),wt=Es([_0x189c14(_0xf3fa8c,_0xe8c0f4),St(0x1,_0x5b92b1),St(0x2,_0x236453(_0x35ce09)),St(0x3,_0x34fb67)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|