@univerjs-pro/collaboration-client 0.6.0-nightly.202502101606 → 0.6.0-nightly.202502121606
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/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 _0x207232=_0x2b1b;(function(_0x478c7d,_0xffc098){var _0x5b8922=_0x2b1b,_0x423e31=_0x478c7d();while(!![]){try{var _0x2bf604=parseInt(_0x5b8922(0x4db))/0x1*(parseInt(_0x5b8922(0x215))/0x2)+-parseInt(_0x5b8922(0x429))/0x3+-parseInt(_0x5b8922(0x395))/0x4+-parseInt(_0x5b8922(0x338))/0x5*(parseInt(_0x5b8922(0x352))/0x6)+parseInt(_0x5b8922(0x3c2))/0x7*(-parseInt(_0x5b8922(0x3f8))/0x8)+-parseInt(_0x5b8922(0x210))/0x9*(-parseInt(_0x5b8922(0x41f))/0xa)+-parseInt(_0x5b8922(0x2a8))/0xb*(-parseInt(_0x5b8922(0x1f9))/0xc);if(_0x2bf604===_0xffc098)break;else _0x423e31['push'](_0x423e31['shift']());}catch(_0x241c20){_0x423e31['push'](_0x423e31['shift']());}}}(_0x158c,0x69257));var Li=Object[_0x207232(0x20c)],Mi=(_0x422237,_0x96d6ec,_0x28ee87)=>_0x96d6ec in _0x422237?Li(_0x422237,_0x96d6ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28ee87}):_0x422237[_0x96d6ec]=_0x28ee87,N=(_0x56ae2f,_0x6387a3,_0x3888ff)=>Mi(_0x56ae2f,typeof _0x6387a3!=_0x207232(0x49b)?_0x6387a3+'':_0x6387a3,_0x3888ff);import{createIdentifier as _0x3e2437,Inject as _0x133bf8,Injector as _0x55be5b,Disposable as _0xc4f5d,DisposableCollection as _0x5eb855,toDisposable as _0x5190ea,IConfigService as _0x2ddc28,ILogService as _0x248f6a,UserManagerService as _0x3bd86b,UniverInstanceType as _0x40e772,IUniverInstanceService as _0x39ac8e,LocaleService as _0x5516c1,Optional as _0x910b95,RxDisposable as _0x57f232,Tools as _0xc9f11,Rectangle as _0x20b66a,ICommandService as _0x1023d2,JSONX as _0x5011f1,CommandType as _0xc31ed7,IPermissionService as _0x2921ea,IUndoRedoService as _0x1f81a8,sequenceExecute as _0xbf95c0,Workbook as _0x124bad,MentionType as _0x5982a2,IAuthzIoService as _0x3ccf11,isInternalEditorID as _0x5570b0,LocalUndoRedoService as _0x46c384,IContextService as _0xac9df5,DependentOn as _0x1973e5,Plugin as _0x1b9fcf,merge as _0x5dd608,mergeOverrideWithDependencies as _0x7d7ea7,IMentionIOService as _0x130953,registerDependencies as _0x2bdfde,Quantity as _0xe6629,touchDependencies as _0x3c216e}from'@univerjs/core';import{Subject as _0x45b79d,merge as _0x4ffbb0,of as _0x31dc06,BehaviorSubject as _0x2d7615,takeUntil as _0x2df347,ReplaySubject as _0x38b04f,take as _0x452f05,map as _0x15d044,shareReplay as _0xfd841d,firstValueFrom as _0x1ef7f8,concatMap as _0x5b8449}from'rxjs';import{map as _0xbfa581,take as _0x5445a1,filter as _0x56a47a,delay as _0x3c333f,takeUntil as _0x202538}from'rxjs/operators';import{HTTPService as _0xec288c,ISocketService as _0x56f07c,MergeInterceptorFactory as _0x83fcb8,HTTPRequest as _0x3f9374,UniverNetworkPlugin as _0x2c049b,ThresholdInterceptorFactory as _0x4ac90a}from'@univerjs/network';import{CollaborationEvent as _0x2e889b,parseChangesetToProtocol as _0x599c35,ISnapshotServerService as _0xfc988d,isTransformMutationsWithChangesetSuccess as _0x5ddb74,ITransformService as _0x2452dd,mapDocumentTypeToUniverType as _0x5bf4b1,RevisionService as _0x34b3d6,isTransformChangesetsSuccess as _0x2e0b00,CompressMutationService as _0x251b12,parseProtocolChangeset as _0xc8ccf1,SnapshotService as _0x245bcd,textEncoder as _0x4bc143,b64DecodeUnicode as _0x2247f5,isTransformMutationsWithChangesetFailure as _0x570ced,UniverCollaborationPlugin as _0x3504b2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x67833f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x340e83}from'@univerjs/docs';import{SheetsSelectionsService as _0x4a2a8f,SetSelectionsOperation as _0x257c7a,InsertSheetMutation as _0x3c387b,EmptyMutation as _0x19b9dd,WorkbookEditablePermission as _0x4351eb,SheetPermissionInitController as _0x6f5cd4,UniverSheetsPlugin as _0x1fd7fd}from'@univerjs/sheets';import{ImageSourceType as _0x3ae4dc,ImageUploadStatusType as _0x20d846,IImageIoService as _0x253001}from'@univerjs/drawing';import{getGlobalObject as _0x30e0e9}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x207232(0x46d),Tn='SNAPSHOT_URL_KEY',eo=_0x207232(0x26c),Cn=0x7d0,Rn=_0x207232(0x33b),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On='/universer-api/user/session-ticket',yn=_0x207232(0x2a0),Nn=0x7530,Si=_0x207232(0x48a),Ei=0x4e20,Dn=0x4e20,Pn=_0x207232(0x428),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x207232(0x44b),An='/universer-api/comb',xn=_0x207232(0x32d),Ln=_0x207232(0x3c0),no=_0x207232(0x30d),ro=_0x207232(0x257);var Ii=(_0x1b02da=>(_0x1b02da[_0x1b02da[_0x207232(0x288)]=0x0]=_0x207232(0x288),_0x1b02da[_0x1b02da['OK']=0x1]='OK',_0x1b02da[_0x1b02da[_0x207232(0x435)]=0x2]='INTERNAL_ERROR',_0x1b02da[_0x1b02da[_0x207232(0x39a)]=0x3]=_0x207232(0x39a),_0x1b02da[_0x1b02da[_0x207232(0x4ce)]=0x4]=_0x207232(0x4ce),_0x1b02da[_0x1b02da[_0x207232(0x403)]=0x5]=_0x207232(0x403),_0x1b02da[_0x1b02da[_0x207232(0x32a)]=0x6]='ALREADY_EXISTS',_0x1b02da[_0x1b02da[_0x207232(0x2cc)]=0x7]=_0x207232(0x2cc),_0x1b02da[_0x1b02da[_0x207232(0x224)]=0x8]=_0x207232(0x224),_0x1b02da[_0x1b02da[_0x207232(0x49d)]=0x9]=_0x207232(0x49d),_0x1b02da[_0x1b02da[_0x207232(0x4d2)]=0x1389]=_0x207232(0x4d2),_0x1b02da[_0x1b02da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x207232(0x284),_0x1b02da[_0x1b02da[_0x207232(0x377)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1b02da[_0x1b02da[_0x207232(0x2fa)]=0x1773]=_0x207232(0x2fa),_0x1b02da[_0x1b02da[_0x207232(0x2e8)]=0x1b59]=_0x207232(0x2e8),_0x1b02da[_0x1b02da[_0x207232(0x476)]=0x1b5a]=_0x207232(0x476),_0x1b02da[_0x1b02da['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x207232(0x3ea),_0x1b02da[_0x1b02da[_0x207232(0x21c)]=0x1b5c]=_0x207232(0x21c),_0x1b02da[_0x1b02da[_0x207232(0x48d)]=0x1b5d]='APPLY_DUPLICATED',_0x1b02da[_0x1b02da[_0x207232(0x3c3)]=0x1f41]=_0x207232(0x3c3),_0x1b02da[_0x1b02da['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x207232(0x45b),_0x1b02da[_0x1b02da['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x207232(0x398),_0x1b02da[_0x1b02da[_0x207232(0x237)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1b02da[_0x1b02da[_0x207232(0x2c1)]=0x232c]=_0x207232(0x2c1),_0x1b02da[_0x1b02da[_0x207232(0x25f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1b02da[_0x1b02da['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x207232(0x48f),_0x1b02da[_0x1b02da[_0x207232(0x2da)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1b02da[_0x1b02da['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b02da[_0x1b02da[_0x207232(0x251)]=0x2714]=_0x207232(0x251),_0x1b02da[_0x1b02da['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1b02da[_0x1b02da['UNRECOGNIZED']=-0x1]=_0x207232(0x3b3),_0x1b02da))(Ii||{}),Q=(_0x171a6c=>(_0x171a6c[_0x171a6c[_0x207232(0x347)]=0x0]='UNIVER_UNKNOWN',_0x171a6c[_0x171a6c[_0x207232(0x2f9)]=0x1]=_0x207232(0x2f9),_0x171a6c[_0x171a6c[_0x207232(0x1ff)]=0x2]='UNIVER_SHEET',_0x171a6c[_0x171a6c[_0x207232(0x381)]=0x3]=_0x207232(0x381),_0x171a6c[_0x171a6c[_0x207232(0x2e3)]=0x4]=_0x207232(0x2e3),_0x171a6c[_0x171a6c[_0x207232(0x3b3)]=-0x1]=_0x207232(0x3b3),_0x171a6c))(Q||{}),F=(_0x4a8200=>(_0x4a8200[_0x4a8200[_0x207232(0x333)]=0x0]=_0x207232(0x333),_0x4a8200[_0x4a8200[_0x207232(0x307)]=0x1]='HELLO',_0x4a8200[_0x4a8200[_0x207232(0x33d)]=0x2]=_0x207232(0x33d),_0x4a8200[_0x4a8200['LEAVE']=0x3]=_0x207232(0x496),_0x4a8200[_0x4a8200[_0x207232(0x326)]=0x4]=_0x207232(0x326),_0x4a8200[_0x4a8200[_0x207232(0x29d)]=0x5]=_0x207232(0x29d),_0x4a8200[_0x4a8200['RECV']=0x6]=_0x207232(0x471),_0x4a8200[_0x4a8200[_0x207232(0x3b3)]=-0x1]='UNRECOGNIZED',_0x4a8200))(F||{}),Ee=(_0x23c187=>(_0x23c187[_0x23c187[_0x207232(0x40b)]=0x0]=_0x207232(0x40b),_0x23c187[_0x23c187['OK']=0x1]='OK',_0x23c187[_0x23c187[_0x207232(0x35a)]=0x2]=_0x207232(0x35a),_0x23c187[_0x23c187[_0x207232(0x2ce)]=0x3e9]='JOIN_ROOM_FULL',_0x23c187[_0x23c187[_0x207232(0x3a2)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x23c187[_0x23c187[_0x207232(0x201)]=0x3eb]=_0x207232(0x201),_0x23c187[_0x23c187[_0x207232(0x240)]=0x3ec]=_0x207232(0x240),_0x23c187[_0x23c187[_0x207232(0x3b3)]=-0x1]='UNRECOGNIZED',_0x23c187))(Ee||{}),Ti=(_0x2b7d54=>(_0x2b7d54[_0x2b7d54['Undefined']=0x0]='Undefined',_0x2b7d54[_0x2b7d54[_0x207232(0x36f)]=0x1]='HttpImport',_0x2b7d54[_0x2b7d54[_0x207232(0x4eb)]=0x2]='HttpExport',_0x2b7d54[_0x2b7d54[_0x207232(0x259)]=0x3]=_0x207232(0x259),_0x2b7d54[_0x2b7d54['UnitSnapshot']=0x4]=_0x207232(0x33c),_0x2b7d54[_0x2b7d54[_0x207232(0x3b3)]=-0x1]=_0x207232(0x3b3),_0x2b7d54))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x21ea83=>(_0x21ea83['OTHER_CLIENT_EDITING']=_0x207232(0x1fe),_0x21ea83[_0x207232(0x39a)]=_0x207232(0x39a),_0x21ea83[_0x207232(0x34c)]=_0x207232(0x34c),_0x21ea83['CLOSE_ROOM']=_0x207232(0x35d),_0x21ea83['JOIN_ROOM_FAILED']=_0x207232(0x37f),_0x21ea83['SOCKET_FAILED_RETRY']=_0x207232(0x3c8),_0x21ea83[_0x207232(0x425)]='SOCKET_FAILED',_0x21ea83['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x21ea83))(se||{});class pe{constructor(){var _0x3be7cb=_0x207232;N(this,'_event$',new _0x45b79d()),N(this,_0x3be7cb(0x391),this[_0x3be7cb(0x2ae)]['asObservable']());}[_0x207232(0x491)](_0x5f269a){var _0x9bfe6c=_0x207232;this[_0x9bfe6c(0x2ae)][_0x9bfe6c(0x255)](_0x5f269a);}}const Mn=_0x3e2437('univer-pro.collaboration-client.network-condition.service');function $n(_0x4f7754){var _0x700c1b=_0x207232,_0x238329,_0x19e7bd,_0x582864,_0x1a6fcb,_0x52d12f;const _0x239455=_0x4f7754[_0x700c1b(0x44c)],_0x42bf0f=JSON['parse'](_0x239455);switch(_0x42bf0f[_0x700c1b(0x297)]){case F[_0x700c1b(0x29d)]:case F['HELLO']:{const _0x4528c1=_0x42bf0f[_0x700c1b(0x3fb)];return{..._0x42bf0f,'data':_0x4528c1,'cmd':_0x42bf0f['cmd']};}case F[_0x700c1b(0x33d)]:{const _0x1896d6=_0x42bf0f[_0x700c1b(0x35e)];return{..._0x42bf0f,'data':_0x1896d6,'cmd':_0x42bf0f[_0x700c1b(0x297)]};}case F[_0x700c1b(0x471)]:{const _0x226ad8=_0x42bf0f[_0x700c1b(0x268)];switch(_0x226ad8['eventID']){case _0x2e889b['PERMISSION_REJ']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x238329=_0x226ad8[_0x700c1b(0x318)])==null?void 0x0:_0x238329['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x280)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x19e7bd=_0x226ad8[_0x700c1b(0x302)])==null?void 0x0:_0x19e7bd['cs']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x31e)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x582864=_0x226ad8['newCsEvent'])==null?void 0x0:_0x582864['cs']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['CHANGESET_REJ']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x1a6fcb=_0x226ad8[_0x700c1b(0x1ee)])==null?void 0x0:_0x1a6fcb['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x232)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x52d12f=_0x226ad8['csShouldRetryEvent'])==null?void 0x0:_0x52d12f['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b['UPDATE_CURSOR']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['updateCursorEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x34d)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['joinEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x3dd)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3e3)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['LIVESHARE_NEW_HOST']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x37a)]},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x49f)]:case _0x2e889b['LIVESHARE_OPERATION']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x2e9)]},'cmd':_0x42bf0f['cmd']};case _0x2e889b['LIVESHARE_TERMINATE']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x37a)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['MSG_FOR_ERROR']:return{..._0x42bf0f,'data':_0x226ad8,'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['COMMENT_UPDATE']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3f1)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x30a)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['updatePermissionObjEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['SHOULD_CLOSE_CONN']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x36b)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x3d3)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3b9)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};default:return _0x42bf0f;}}default:return _0x42bf0f;}}function Hn(_0x55a7f3){var _0x5e1693=_0x207232;switch(_0x55a7f3['cmd']){case F[_0x5e1693(0x29d)]:case F[_0x5e1693(0x307)]:return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3[_0x5e1693(0x465)]});case F['INGEST']:{let _0x40ec1d;switch(_0x55a7f3[_0x5e1693(0x44c)]['eventID']){case _0x2e889b[_0x5e1693(0x2cb)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x2cb)],'updateCursorEvent':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x3dd)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x3dd)],'leaveEvent':_0x55a7f3[_0x5e1693(0x44c)]['data']};break;}case _0x2e889b[_0x5e1693(0x34d)]:{_0x40ec1d={'eventID':_0x2e889b['USERS_ENTER'],'joinEvent':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x3f2)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x3f2)],'liveShareNewHost':_0x55a7f3['data'][_0x5e1693(0x44c)]};break;}case _0x2e889b['LIVESHARE_OPERATION']:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_OPERATION'],'liveShareOperation':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x336)]:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x37d)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x37d)],'liveShareRequestHost':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x49f)]:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x40ec1d={'eventID':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x35c)]};}return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3['cmd'],'routeKey':_0x55a7f3[_0x5e1693(0x465)],'collaMsg':_0x40ec1d});}case F[_0x5e1693(0x33d)]:return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3[_0x5e1693(0x465)],'joinReq':_0x55a7f3['data']});case F[_0x5e1693(0x496)]:return JSON['stringify']({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3['routeKey'],'leaveReq':_0x55a7f3[_0x5e1693(0x44c)]});default:throw new Error(_0x5e1693(0x441));}}var kn=Object[_0x207232(0x20c)],jn=Object[_0x207232(0x469)],Bn=(_0x4b866e,_0x2d4049,_0x5a566a,_0x5ec762)=>{var _0xc09123=_0x207232;for(var _0x1a0815=_0x5ec762>0x1?void 0x0:_0x5ec762?jn(_0x2d4049,_0x5a566a):_0x2d4049,_0x102034=_0x4b866e[_0xc09123(0x453)]-0x1,_0x241196;_0x102034>=0x0;_0x102034--)(_0x241196=_0x4b866e[_0x102034])&&(_0x1a0815=(_0x5ec762?_0x241196(_0x2d4049,_0x5a566a,_0x1a0815):_0x241196(_0x1a0815))||_0x1a0815);return _0x5ec762&&_0x1a0815&&kn(_0x2d4049,_0x5a566a,_0x1a0815),_0x1a0815;},Ue=(_0x4f8a4b,_0x6b692a)=>(_0x44ec50,_0x3c936d)=>_0x6b692a(_0x44ec50,_0x3c936d,_0x4f8a4b);const Ci=_0x3e2437(_0x207232(0x4e3));function Fn(_0x4f7a47,_0x23c643,_0x12b13e){var _0x141123=_0x207232;return _0x4f7a47+'/'+_0x23c643+_0x141123(0x24e)+_0x12b13e+_0x141123(0x269);}let Et=class extends _0xc4f5d{constructor(_0x40e7e8,_0x3fe739,_0x2e021c,_0x2e1006,_0xe13235){var _0x16ff44=_0x207232;super(),this[_0x16ff44(0x406)]=_0x40e7e8,this['_http']=_0x3fe739,this[_0x16ff44(0x452)]=_0x2e021c,this[_0x16ff44(0x275)]=_0x2e1006,this[_0x16ff44(0x3c7)]=_0xe13235;}[_0x207232(0x1f6)](_0x2f5a02){var _0x23c4c5=_0x207232;const _0xddc4a5=this[_0x23c4c5(0x406)][_0x23c4c5(0x410)](_0x56f07c);if(!_0xddc4a5)throw new Error(_0x23c4c5(0x354));const _0x134f40=_0xddc4a5['createSocket'](_0x2f5a02);if(!_0x134f40)throw new Error(_0x23c4c5(0x454));const _0x1afa96=new _0x5eb855(),_0x3f38a3=new _0x45b79d();_0x1afa96[_0x23c4c5(0x3f4)](_0x134f40[_0x23c4c5(0x2b8)][_0x23c4c5(0x416)](_0x10d3c3=>_0x3f38a3['next'](_0x10d3c3))),_0x1afa96['add'](_0x5190ea(()=>_0x3f38a3[_0x23c4c5(0x27a)]()));const _0x47e351=new _0x45b79d();_0x1afa96[_0x23c4c5(0x3f4)](_0x134f40['error$'][_0x23c4c5(0x416)](_0x441657=>_0x47e351[_0x23c4c5(0x255)](_0x441657))),_0x1afa96[_0x23c4c5(0x3f4)](_0x5190ea(()=>_0x47e351['complete']()));const _0x4bfc9d=new _0x45b79d();_0x1afa96['add'](_0x134f40[_0x23c4c5(0x34f)][_0x23c4c5(0x416)](_0x5b7245=>{const _0x28ed21=$n(_0x5b7245);_0x4bfc9d['next'](_0x28ed21);})),_0x1afa96['add'](_0x5190ea(()=>_0x4bfc9d[_0x23c4c5(0x27a)]()));let _0x5152c3;const _0x5b2c01=()=>{var _0x2dd96f=_0x23c4c5;_0x47e351[_0x2dd96f(0x255)](new Event(_0x2dd96f(0x4b4))),_0x3f38a3['next'](new CloseEvent(_0x2dd96f(0x4b4))),_0x5152c3[_0x2dd96f(0x25c)]();};return _0x5152c3={'memberID':'','close$':_0x3f38a3[_0x23c4c5(0x2c0)](),'error$':_0x47e351['asObservable'](),'open$':_0x134f40[_0x23c4c5(0x47f)],'message$':_0x4bfc9d[_0x23c4c5(0x2c0)](),'send':_0x35712b=>{var _0x38e360=_0x23c4c5;if(_0x35712b[_0x38e360(0x297)]===F[_0x38e360(0x326)]){if(_0x35712b['data'][_0x38e360(0x35c)]===_0x2e889b[_0x38e360(0x2ab)]){this['_submitChangeset'](_0x5152c3,_0x35712b[_0x38e360(0x44c)])[_0x38e360(0x498)](_0x320f39=>{var _0x4e9a8d=_0x38e360;this[_0x4e9a8d(0x275)][_0x4e9a8d(0x3aa)](_0x320f39),_0x5b2c01();});return;}if(_0x35712b[_0x38e360(0x44c)][_0x38e360(0x35c)]===_0x2e889b[_0x38e360(0x43c)]){const _0x1a385d=_0x35712b[_0x38e360(0x44c)];this[_0x38e360(0x3e9)](_0x1a385d)[_0x38e360(0x486)](_0x3a1136=>{var _0x33b298=_0x38e360;_0x4bfc9d[_0x33b298(0x255)]({'cmd':F[_0x33b298(0x471)],'code':Ee['OK'],'routeKey':_0x1a385d[_0x33b298(0x44c)]['unitID'],'routeType':'','data':{'eventID':_0x2e889b[_0x33b298(0x24b)],'data':{'changesets':_0x3a1136}}});})[_0x38e360(0x498)](_0x43930b=>{var _0x1f9177=_0x38e360;this[_0x1f9177(0x275)][_0x1f9177(0x3aa)](_0x43930b),_0x5b2c01();});return;}}_0x134f40[_0x38e360(0x2fe)](Hn(_0x35712b));},'close':()=>{var _0x38596a=_0x23c4c5;_0x134f40[_0x38596a(0x25c)](),_0x1afa96[_0x38596a(0x1f1)]();}},_0x5152c3;}async['_submitChangeset'](_0x5d874e,_0x527181){var _0x3e4302=_0x207232,_0x2e8a3f,_0x3e8a7d;const {unitType:_0x33a896,unitID:_0x46120a,changeset:_0x5b0aa6}=_0x527181[_0x3e4302(0x44c)],_0x35f930={'unitID':_0x46120a,'memberID':_0x5d874e[_0x3e4302(0x212)],'type':_0x33a896,'changeset':_0x599c35(_0x5b0aa6)},_0x386366=this['_configService'][_0x3e4302(0x3a9)](Un),_0x286114=this[_0x3e4302(0x452)]['getConfig'](q),_0x55f7f3=Fn((_0x3e8a7d=(_0x2e8a3f=_0x286114==null?void 0x0:_0x286114[_0x3e4302(0x2ff)])!=null?_0x2e8a3f:_0x386366)!=null?_0x3e8a7d:An,_0x33a896,_0x46120a);try{await this[_0x3e4302(0x2d7)][_0x3e4302(0x3d5)](_0x55f7f3,{'body':_0x35f930});}catch(_0x272e95){throw this['_logService'][_0x3e4302(0x3aa)]('[CollaborationSession]',_0x3e4302(0x2b1)),_0x272e95;}}async[_0x207232(0x3e9)](_0xcd933a){var _0x261bc5=_0x207232;const {unitID:_0x19f039,from:_0x1feaae,to:_0x1afe64,unitType:_0x1d11de}=_0xcd933a['data'];return(await this[_0x261bc5(0x3c7)][_0x261bc5(0x4e5)]({'metadata':void 0x0},{'unitID':_0x19f039,'type':_0x1d11de,'from':_0x1feaae,'to':_0x1afe64}))[_0x261bc5(0x206)];}};Et=Bn([Ue(0x0,_0x133bf8(_0x55be5b)),Ue(0x1,_0x133bf8(_0xec288c)),Ue(0x2,_0x2ddc28),Ue(0x3,_0x248f6a),Ue(0x4,_0xfc988d)],Et);const Vn='collaboration_new_changeset';function Gn(_0x3393c9){return JSON['stringify'](_0x3393c9)['length'];}class Ri{constructor(){var _0x359458=_0x207232;N(this,_0x359458(0x274),new _0x45b79d()),N(this,_0x359458(0x4e6),this[_0x359458(0x274)][_0x359458(0x2c0)]());}[_0x207232(0x3b0)](_0x25344c){var _0x2262e4=_0x207232;this['_commentUpdate$'][_0x2262e4(0x255)](_0x25344c);}}var Wn=Object[_0x207232(0x20c)],Kn=Object[_0x207232(0x469)],Yn=(_0x3a3674,_0x546eb7,_0x16327b,_0x28bd1f)=>{for(var _0x12b869=_0x28bd1f>0x1?void 0x0:_0x28bd1f?Kn(_0x546eb7,_0x16327b):_0x546eb7,_0x47a04a=_0x3a3674['length']-0x1,_0x51de82;_0x47a04a>=0x0;_0x47a04a--)(_0x51de82=_0x3a3674[_0x47a04a])&&(_0x12b869=(_0x28bd1f?_0x51de82(_0x546eb7,_0x16327b,_0x12b869):_0x51de82(_0x12b869))||_0x12b869);return _0x28bd1f&&_0x12b869&&Wn(_0x546eb7,_0x16327b,_0x12b869),_0x12b869;},Kt=(_0x108948,_0x175e62)=>(_0x2e7219,_0x561c07)=>_0x175e62(_0x2e7219,_0x561c07,_0x108948);let xe=class extends _0xc4f5d{constructor(_0x4c3c4f,_0x32d363){var _0x1e3b7d=_0x207232;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x45b79d()),(this['_univerInstanceService']=_0x4c3c4f,this[_0x1e3b7d(0x236)]=_0x32d363,this['disposeWithMe'](_0x4ffbb0(this[_0x1e3b7d(0x244)]['getTypeOfUnitDisposed$'](_0x40e772['UNIVER_SHEET'])[_0x1e3b7d(0x216)](_0xbfa581(_0x585ae0=>_0x585ae0[_0x1e3b7d(0x31c)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x40e772['UNIVER_DOC'])['pipe'](_0xbfa581(_0x969065=>_0x969065['getUnitId']())),this[_0x1e3b7d(0x244)][_0x1e3b7d(0x372)](_0x40e772[_0x1e3b7d(0x381)])[_0x1e3b7d(0x216)](_0xbfa581(_0x523e26=>_0x523e26[_0x1e3b7d(0x31c)]())))[_0x1e3b7d(0x416)](_0x4ec4ba=>this[_0x1e3b7d(0x44d)](_0x4ec4ba))));}[_0x207232(0x3bd)](_0x2a85a7){var _0x3dfdb2=_0x207232;return this[_0x3dfdb2(0x4d9)]['has'](_0x2a85a7)?_0x31dc06(this[_0x3dfdb2(0x4d9)][_0x3dfdb2(0x410)](_0x2a85a7)):this[_0x3dfdb2(0x221)][_0x3dfdb2(0x216)](_0xbfa581(_0x3cc7ea=>{var _0x49a626=_0x3dfdb2;if(_0x3cc7ea===_0x2a85a7)return this[_0x49a626(0x4d9)]['get'](_0x3cc7ea);}));}[_0x207232(0x3e1)](_0x1be7b3){var _0x45f04e=_0x207232;this[_0x45f04e(0x236)][_0x45f04e(0x3e1)](_0x1be7b3);}[_0x207232(0x300)](){var _0x10fc85=_0x207232;return this[_0x10fc85(0x236)]['getCurrentUser']();}[_0x207232(0x34e)](_0x41c3f9,_0x9377e1){var _0x3ac1e2=_0x207232;let _0x52f5bd=this[_0x3ac1e2(0x4d9)]['get'](_0x41c3f9);_0x52f5bd||(_0x52f5bd=new qn(),this[_0x3ac1e2(0x4d9)]['set'](_0x41c3f9,_0x52f5bd),this[_0x3ac1e2(0x221)]['next'](_0x41c3f9)),_0x52f5bd[_0x3ac1e2(0x34e)](_0x9377e1);}[_0x207232(0x368)](_0x5c1001,_0x2d8da4){var _0x5eab68=_0x207232;const _0xa66656=this[_0x5eab68(0x4d9)][_0x5eab68(0x410)](_0x5c1001);_0xa66656&&_0xa66656['removeMember'](_0x2d8da4);}['getRoom'](_0x5b7b33){return this['_roomMembers']['get'](_0x5b7b33);}[_0x207232(0x3c6)](_0xe96dd3,_0x5cdf6b){var _0x4e931d=_0x207232;const _0x47ae9f=this[_0x4e931d(0x4d9)][_0x4e931d(0x410)](_0xe96dd3);if(_0x47ae9f)return _0x47ae9f['getMember'](_0x5cdf6b);}[_0x207232(0x44d)](_0x149f49){var _0x2ebc31=_0x207232;const _0x4e691c=this[_0x2ebc31(0x4d9)][_0x2ebc31(0x410)](_0x149f49);_0x4e691c&&(_0x4e691c['dispose'](),this['_roomMembers'][_0x2ebc31(0x2d4)](_0x149f49));}['dispose'](){var _0x439291=_0x207232;this[_0x439291(0x4d9)][_0x439291(0x4c4)](_0x5d4971=>_0x5d4971[_0x439291(0x1f1)]()),this[_0x439291(0x4d9)][_0x439291(0x2e2)](),this[_0x439291(0x221)][_0x439291(0x27a)]();}};xe=Yn([Kt(0x0,_0x39ac8e),Kt(0x1,_0x133bf8(_0x3bd86b))],xe);class qn extends _0xc4f5d{constructor(){var _0x44555d=_0x207232;super(...arguments),N(this,_0x44555d(0x41e),new Map()),N(this,'_members$',new _0x2d7615(this[_0x44555d(0x41e)])),N(this,'members$',this[_0x44555d(0x4c3)][_0x44555d(0x2c0)]());}[_0x207232(0x1f1)](){var _0x49fd1e=_0x207232;this[_0x49fd1e(0x41e)][_0x49fd1e(0x2e2)]();}[_0x207232(0x34e)](_0x2a1030){var _0x4d3238=_0x207232;this[_0x4d3238(0x41e)][_0x4d3238(0x459)](_0x2a1030[_0x4d3238(0x212)],_0x2a1030),this[_0x4d3238(0x2a3)]();}[_0x207232(0x368)](_0x5aeb95){var _0x283a49=_0x207232;this['_members'][_0x283a49(0x2d4)](_0x5aeb95);}[_0x207232(0x3c6)](_0x5b2c3c){var _0x402dcc=_0x207232;return this[_0x402dcc(0x41e)]['get'](_0x5b2c3c);}['getAllMembers'](){var _0x3e5bc1=_0x207232;return Array[_0x3e5bc1(0x2c8)](this[_0x3e5bc1(0x41e)][_0x3e5bc1(0x1fb)]());}[_0x207232(0x2a3)](){var _0x25c8e1=_0x207232;this[_0x25c8e1(0x4c3)]['next'](this[_0x25c8e1(0x41e)]);}}var zn=Object[_0x207232(0x20c)],Jn=Object[_0x207232(0x469)],Xn=(_0xae7160,_0x40dcb7,_0x540028,_0x4513e8)=>{var _0x3538e1=_0x207232;for(var _0x58b0e4=_0x4513e8>0x1?void 0x0:_0x4513e8?Jn(_0x40dcb7,_0x540028):_0x40dcb7,_0x1bdaa7=_0xae7160[_0x3538e1(0x453)]-0x1,_0x4ff13d;_0x1bdaa7>=0x0;_0x1bdaa7--)(_0x4ff13d=_0xae7160[_0x1bdaa7])&&(_0x58b0e4=(_0x4513e8?_0x4ff13d(_0x40dcb7,_0x540028,_0x58b0e4):_0x4ff13d(_0x58b0e4))||_0x58b0e4);return _0x4513e8&&_0x58b0e4&&zn(_0x40dcb7,_0x540028,_0x58b0e4),_0x58b0e4;},me=(_0x3188e8,_0x55c29d)=>(_0x33d858,_0x1b2a69)=>_0x55c29d(_0x33d858,_0x1b2a69,_0x3188e8),Te=(_0x46874c=>(_0x46874c[_0x46874c[_0x207232(0x380)]=0x0]=_0x207232(0x380),_0x46874c[_0x46874c[_0x207232(0x315)]=0x1]=_0x207232(0x315),_0x46874c[_0x46874c[_0x207232(0x2c3)]=0x2]=_0x207232(0x2c3),_0x46874c[_0x46874c['ONLINE']=0x3]=_0x207232(0x3a5),_0x46874c))(Te||{});const Yt={[Ee[_0x207232(0x35a)]]:_0x207232(0x479),[Ee[_0x207232(0x2ce)]]:_0x207232(0x442),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x207232(0x4b8),[Ee[_0x207232(0x201)]]:_0x207232(0x41c),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x207232(0x4ea)};let It=class extends _0x57f232{constructor(_0x1bbf55,_0x13ec8c,_0x57a21e,_0x5d25aa,_0x4f77ad,_0x2ee3af,_0xd48cb8,_0x310794,_0x3e3185){var _0x20a30c=_0x207232;super(),N(this,_0x20a30c(0x371),new _0x2d7615(0x0)),N(this,_0x20a30c(0x2c4),this['_sessionStatus$'][_0x20a30c(0x2c0)]()),N(this,_0x20a30c(0x2ae),new _0x45b79d()),N(this,_0x20a30c(0x391),this[_0x20a30c(0x2ae)][_0x20a30c(0x2c0)]()),N(this,_0x20a30c(0x386)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x20a30c(0x20e),null),(this[_0x20a30c(0x29e)]=_0x1bbf55,this['_logService']=_0x57a21e,this[_0x20a30c(0x452)]=_0x5d25aa,this[_0x20a30c(0x443)]=_0x4f77ad,this[_0x20a30c(0x3bc)]=_0x2ee3af,this[_0x20a30c(0x324)]=_0xd48cb8,this[_0x20a30c(0x4d1)]=_0x310794,this[_0x20a30c(0x34b)]=_0x3e3185,this[_0x20a30c(0x341)]=!!this[_0x20a30c(0x34b)],_0x13ec8c['pipe'](_0x2df347(this['dispose$']))[_0x20a30c(0x416)](_0x474b04=>{var _0x1e05cc=_0x20a30c,_0xce7353;typeof _0x474b04>'u'||(this[_0x1e05cc(0x386)]=_0x474b04,_0x474b04?(this[_0x1e05cc(0x483)](_0x474b04),this['_socketMessageSubscription']=_0x474b04[_0x1e05cc(0x34f)][_0x1e05cc(0x416)](_0x46c0fb=>{var _0xdff7f3=_0x1e05cc;_0x46c0fb['routeKey']===this[_0xdff7f3(0x29e)]&&this[_0xdff7f3(0x3d4)](_0x46c0fb);})):(this[_0x1e05cc(0x25a)](),this['_sessionStatus$'][_0x1e05cc(0x255)](0x2),(_0xce7353=this[_0x1e05cc(0x266)])==null||_0xce7353['unsubscribe'](),this[_0x1e05cc(0x266)]=null));}));}get[_0x207232(0x26e)](){var _0x129a28=_0x207232;return this[_0x129a28(0x371)][_0x129a28(0x28e)]();}[_0x207232(0x39d)](){var _0x4b668c=_0x207232,_0x3354d7,_0x597471;return(_0x597471=(_0x3354d7=this[_0x4b668c(0x386)])==null?void 0x0:_0x3354d7[_0x4b668c(0x212)])!=null?_0x597471:null;}['dispose'](){var _0x8bfe90=_0x207232;super['dispose'](),this[_0x8bfe90(0x3e7)][_0x8bfe90(0x255)](),this[_0x8bfe90(0x3e7)][_0x8bfe90(0x27a)]();}[_0x207232(0x25c)](){var _0x12116f=_0x207232,_0x5e2922,_0xe03fcc;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5e2922=this[_0x12116f(0x386)])==null||_0x5e2922['send']({'cmd':F[_0x12116f(0x496)],'data':{'roomID':this[_0x12116f(0x29e)]}}),(_0xe03fcc=this[_0x12116f(0x386)])==null||_0xe03fcc[_0x12116f(0x25c)](),this[_0x12116f(0x2ae)][_0x12116f(0x27a)](),this[_0x12116f(0x371)][_0x12116f(0x27a)](),this[_0x12116f(0x1f1)]();}[_0x207232(0x3d4)](_0x3e57d1){var _0x2b2e9c=_0x207232;_0x3e57d1['cmd']===F[_0x2b2e9c(0x33d)]?this['_onJoinRoomEvent'](_0x3e57d1):_0x3e57d1['cmd']===F[_0x2b2e9c(0x471)]&&this[_0x2b2e9c(0x322)](_0x3e57d1);}[_0x207232(0x483)](_0x36628f){var _0x447190=_0x207232;this['_sessionStatus$'][_0x447190(0x255)](0x1),_0x36628f[_0x447190(0x2fe)]({'cmd':F[_0x447190(0x33d)],'routeKey':this[_0x447190(0x29e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x447190(0x29e)]}]}});}[_0x207232(0x3cf)](_0x5f3d6d){var _0x405d1f=_0x207232,_0x209b02;if(_0x5f3d6d[_0x405d1f(0x499)]in Yt){this[_0x405d1f(0x4d1)][_0x405d1f(0x491)]({'id':se[_0x405d1f(0x37f)],'data':Yt[_0x5f3d6d[_0x405d1f(0x499)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x405d1f(0x371)][_0x405d1f(0x255)](0x3);const _0x4038df=(_0x209b02=_0x5f3d6d[_0x405d1f(0x44c)][_0x405d1f(0x361)][this[_0x405d1f(0x29e)]])==null?void 0x0:_0x209b02[_0x405d1f(0x2de)];_0x4038df&&_0x4038df['forEach'](_0x5b612f=>this[_0x405d1f(0x3bc)][_0x405d1f(0x34e)](this[_0x405d1f(0x29e)],_0x5b612f));}[_0x207232(0x322)](_0x41dfde){var _0x2fecf4=_0x207232;try{const _0x48f59d=_0x41dfde['data'];switch(_0x48f59d[_0x2fecf4(0x35c)]){case _0x2e889b[_0x2fecf4(0x34d)]:this[_0x2fecf4(0x4e7)](_0x48f59d),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x3dd)]:this[_0x2fecf4(0x4ad)](_0x48f59d),this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x280)]:case _0x2e889b['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x4af)]:this[_0x2fecf4(0x275)]['error'](_0x2fecf4(0x2b5)+JSON['stringify'](_0x48f59d)),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x478)]:this['_commentService'][_0x2fecf4(0x3b0)](_0x48f59d[_0x2fecf4(0x44c)]),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;default:this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);}}catch(_0x1cb603){this[_0x2fecf4(0x275)][_0x2fecf4(0x3aa)](_0x1cb603,_0x41dfde);}}['_onUserJoin'](_0x3dd12e){var _0x3c73f1=_0x207232;this[_0x3c73f1(0x3bc)][_0x3c73f1(0x34e)](this[_0x3c73f1(0x29e)],_0x3dd12e[_0x3c73f1(0x44c)]);}[_0x207232(0x4ad)](_0xb295d3){var _0x567acb=_0x207232;this[_0x567acb(0x3bc)][_0x567acb(0x368)](this['_unitID'],_0xb295d3[_0x567acb(0x44c)][_0x567acb(0x212)]);}async['send'](_0x637136,_0x282389){var _0x4efa72=_0x207232;if(this['sessionStatus']!==0x3||!this[_0x4efa72(0x386)])throw new Error(_0x4efa72(0x37c));try{_0x637136['eventID']===_0x2e889b['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4efa72(0x376)](_0x637136)),this[_0x4efa72(0x386)][_0x4efa72(0x2fe)]({'cmd':F[_0x4efa72(0x326)],'routeKey':_0x282389,'routeType':'','data':_0x637136});}catch(_0x5e752e){this[_0x4efa72(0x275)]['error'](_0x5e752e);}}[_0x207232(0x323)](){var _0x57cff2=_0x207232,_0x3002d7;this[_0x57cff2(0x27d)]=setTimeout(()=>{var _0x2cba7a=_0x57cff2;this[_0x2cba7a(0x27d)]=null,this[_0x2cba7a(0x4d1)]['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3002d7=this['_configService'][_0x57cff2(0x3a9)](Si))!=null?_0x3002d7:Ei);}[_0x207232(0x2f7)](){var _0x585728=_0x207232;this[_0x585728(0x27d)]&&(clearTimeout(this[_0x585728(0x27d)]),this['_collaborationTimeoutTimer']=null);}[_0x207232(0x376)](_0x46e803){var _0x51255f=_0x207232;if(!this[_0x51255f(0x341)])return;const {data:_0x2695ed}=_0x46e803,{unitID:_0x13bd66,changeset:_0x44f872}=_0x2695ed,{mutations:_0x13b61a,type:_0x20d68a}=_0x44f872;this[_0x51255f(0x20e)]={'unitId':_0x13bd66,'type':_0x20d68a,'startTime':performance[_0x51255f(0x41b)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x13b61a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x49f830=_0x207232;if(this[_0x49f830(0x341)]){if(!this[_0x49f830(0x20e)]){this[_0x49f830(0x275)][_0x49f830(0x3aa)](_0x49f830(0x28b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x49f830(0x32f)]=performance[_0x49f830(0x41b)](),this[_0x49f830(0x20e)][_0x49f830(0x495)]=this['_telemetryInfo']['stopTime']-this[_0x49f830(0x20e)]['startTime'],this[_0x49f830(0x34b)][_0x49f830(0x36a)](Vn,this[_0x49f830(0x20e)]),this[_0x49f830(0x20e)]=null;}}[_0x207232(0x25a)](){var _0x5c6c7d=_0x207232;this[_0x5c6c7d(0x20e)]=null;}};It=Xn([me(0x2,_0x248f6a),me(0x3,_0x2ddc28),me(0x4,_0x133bf8(_0x5516c1)),me(0x5,_0x133bf8(xe)),me(0x6,_0x133bf8(Ri)),me(0x7,_0x133bf8(pe)),me(0x8,_0x910b95(_0x67833f))],It);var Zn=Object[_0x207232(0x20c)],Qn=Object[_0x207232(0x469)],er=(_0xcdc196,_0x4d7d1e,_0x3c756f,_0x52d860)=>{var _0x43cbe5=_0x207232;for(var _0xe0f4c7=_0x52d860>0x1?void 0x0:_0x52d860?Qn(_0x4d7d1e,_0x3c756f):_0x4d7d1e,_0xe86e6f=_0xcdc196[_0x43cbe5(0x453)]-0x1,_0xa0dd1;_0xe86e6f>=0x0;_0xe86e6f--)(_0xa0dd1=_0xcdc196[_0xe86e6f])&&(_0xe0f4c7=(_0x52d860?_0xa0dd1(_0x4d7d1e,_0x3c756f,_0xe0f4c7):_0xa0dd1(_0xe0f4c7))||_0xe0f4c7);return _0x52d860&&_0xe0f4c7&&Zn(_0x4d7d1e,_0x3c756f,_0xe0f4c7),_0xe0f4c7;},ge=(_0x3c83e1,_0x237a67)=>(_0x3a10a0,_0x59de08)=>_0x237a67(_0x3a10a0,_0x59de08,_0x3c83e1);let Le=class extends _0xc4f5d{constructor(_0xbc274a,_0x1f82fe,_0x5bda78,_0x531ba6,_0x53bf66,_0x51ffaa,_0x580694){var _0x26f92a=_0x207232;super(),N(this,_0x26f92a(0x37b),new _0x2d7615(void 0x0)),N(this,'socket$',this['_socket$'][_0x26f92a(0x2c0)]()),N(this,'_candidateSocket',null),N(this,_0x26f92a(0x3b5),new Map()),N(this,_0x26f92a(0x260),new _0x2d7615(Te['IDLE'])),N(this,_0x26f92a(0x271),this[_0x26f92a(0x260)]['asObservable']()),N(this,_0x26f92a(0x4c6),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x26f92a(0x21a),0x0),N(this,_0x26f92a(0x225)),N(this,_0x26f92a(0x2a5)),(this[_0x26f92a(0x406)]=_0xbc274a,this[_0x26f92a(0x275)]=_0x1f82fe,this[_0x26f92a(0x452)]=_0x5bda78,this[_0x26f92a(0x43a)]=_0x531ba6,this['_httpService']=_0x53bf66,this[_0x26f92a(0x4d1)]=_0x51ffaa,this[_0x26f92a(0x26b)]=_0x580694,this['_listenToNetworkCondition']());}get[_0x207232(0x386)](){var _0x2857fb=_0x207232;return this[_0x2857fb(0x37b)][_0x2857fb(0x28e)]();}[_0x207232(0x1fc)](){var _0x4745cb=_0x207232;this[_0x4745cb(0x26b)]&&this[_0x4745cb(0x200)](this[_0x4745cb(0x26b)][_0x4745cb(0x369)][_0x4745cb(0x416)](_0x1d1282=>{var _0x683750=_0x4745cb;_0x1d1282&&!this['_socket']&&this[_0x683750(0x40c)](),_0x1d1282||this[_0x683750(0x464)]();}));}[_0x207232(0x1f1)](){var _0x4e5fbb=_0x207232;super[_0x4e5fbb(0x1f1)](),this[_0x4e5fbb(0x3b5)]['forEach'](_0x56642c=>_0x56642c[_0x4e5fbb(0x1f1)]()),this[_0x4e5fbb(0x3b5)][_0x4e5fbb(0x2e2)](),this['_status$'][_0x4e5fbb(0x27a)]();}async[_0x207232(0x396)](_0x5bf8cd){var _0x383999=_0x207232;if(this['_sessions'][_0x383999(0x2c7)](_0x5bf8cd))return this['_sessions'][_0x383999(0x410)](_0x5bf8cd);this[_0x383999(0x286)]();const _0x3e50be=this['_injector']['createInstance'](It,_0x5bf8cd,this[_0x383999(0x37b)][_0x383999(0x2c0)]());return this['_sessions'][_0x383999(0x459)](_0x5bf8cd,_0x3e50be),_0x3e50be;}[_0x207232(0x24a)](_0x5529a1){var _0x59babe=_0x207232,_0x1e3dad;const _0x305e25=this[_0x59babe(0x3b5)]['get'](_0x5529a1);_0x305e25&&(this['_sessions'][_0x59babe(0x2d4)](_0x5529a1),_0x305e25[_0x59babe(0x25c)]()),this[_0x59babe(0x3b5)][_0x59babe(0x22d)]||(_0x1e3dad=this[_0x59babe(0x386)])==null||_0x1e3dad[_0x59babe(0x25c)]();}['reconnect'](){var _0x368fb1=_0x207232;this[_0x368fb1(0x21a)]=0x0,this[_0x368fb1(0x4b0)]!=null&&(clearTimeout(this[_0x368fb1(0x4b0)]),this[_0x368fb1(0x4b0)]=null),this[_0x368fb1(0x481)]();}async['_getSessionTicket'](){var _0x3e3fb0=_0x207232,_0x5c1442,_0x18238c,_0xc3eac0;const _0x408760=this['_configService']['getConfig'](q),_0x1a4f5a=(_0x5c1442=_0x408760==null?void 0x0:_0x408760[_0x3e3fb0(0x3bb)])!=null?_0x5c1442:On;return(_0xc3eac0=(_0x18238c=(await this[_0x3e3fb0(0x468)][_0x3e3fb0(0x410)](_0x1a4f5a,{'headers':{'Content-Type':_0x3e3fb0(0x447)}}))[_0x3e3fb0(0x242)])==null?void 0x0:_0x18238c[_0x3e3fb0(0x44e)])!=null?_0xc3eac0:'';}[_0x207232(0x2dc)](_0x1260f2){var _0x14865d=_0x207232,_0x3b2862,_0x44654e;const _0x5b212a=this[_0x14865d(0x452)]['getConfig'](Rn),_0x447555=this[_0x14865d(0x452)][_0x14865d(0x3a9)](q),_0x5c8a6d=(_0x44654e=(_0x3b2862=_0x447555==null?void 0x0:_0x447555['collabWebSocketUrl'])!=null?_0x3b2862:_0x5b212a)!=null?_0x44654e:bn,_0x54e184=typeof window>'u'?new URL(_0x5c8a6d):new URL(_0x5c8a6d,window[_0x14865d(0x214)]['origin']);_0x54e184[_0x14865d(0x22a)]['set'](_0x14865d(0x49e),_0x1260f2);const _0xc4c745=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x14865d(0x214)][_0x14865d(0x42a)]);return _0xc4c745['get'](_0x14865d(0x3c5))&&_0x54e184[_0x14865d(0x22a)]['set'](_0x14865d(0x3c5),_0xc4c745[_0x14865d(0x410)](_0x14865d(0x3c5))),_0x54e184[_0x14865d(0x222)]();}async[_0x207232(0x34a)](){var _0x163445=_0x207232;const _0x457331=await this[_0x163445(0x4a5)](),_0x295979=this[_0x163445(0x2dc)](_0x457331),_0x29ab54=this[_0x163445(0x43a)]['createSocket'](_0x295979);return this['_candidateSocket']=_0x29ab54,_0x29ab54;}async['_tryEnsureSocket'](){var _0x421fbf=_0x207232,_0x29565c,_0x387c78;try{const _0x8cd473=(_0x387c78=(_0x29565c=this['_socket'])!=null?_0x29565c:this['_candidateSocket'])!=null?_0x387c78:await this[_0x421fbf(0x34a)]();if(_0x8cd473){const _0x3539d6=_0x8cd473['send'];_0x8cd473[_0x421fbf(0x2fe)]=_0x1ea516=>(this[_0x421fbf(0x437)](),_0x3539d6[_0x421fbf(0x47c)](_0x8cd473,[_0x1ea516])),_0x8cd473['message$'][_0x421fbf(0x416)](_0x53d4d9=>this[_0x421fbf(0x431)](_0x8cd473,_0x53d4d9)),_0x8cd473['error$'][_0x421fbf(0x216)](_0x5445a1(0x1))['subscribe'](_0x2ab308=>this[_0x421fbf(0x275)][_0x421fbf(0x3aa)](_0x421fbf(0x205),_0x2ab308)),_0x8cd473['open$'][_0x421fbf(0x216)](_0x5445a1(0x1))[_0x421fbf(0x416)](()=>{var _0x452341=_0x421fbf;this[_0x452341(0x2e1)](_0x8cd473);}),_0x8cd473[_0x421fbf(0x2b8)][_0x421fbf(0x216)](_0x5445a1(0x1))[_0x421fbf(0x416)](_0x50ca28=>{var _0x3cdeff=_0x421fbf;this[_0x3cdeff(0x275)][_0x3cdeff(0x32b)](_0x3cdeff(0x31f),_0x3cdeff(0x229),_0x50ca28),this['_onConnectionFailed']();});}}catch(_0x2b12f0){this['_logService'][_0x421fbf(0x3aa)](_0x2b12f0),this['_onConnectionFailed']();}}[_0x207232(0x2e1)](_0x4940fa){var _0x265719=_0x207232;this[_0x265719(0x275)][_0x265719(0x32b)](_0x265719(0x31f),_0x265719(0x3d6)),_0x4940fa[_0x265719(0x2fe)]({'cmd':F[_0x265719(0x307)]}),this[_0x265719(0x437)]();}[_0x207232(0x464)](){var _0x231a4a=_0x207232;this[_0x231a4a(0x4c6)]=!0x1,this[_0x231a4a(0x2bd)]=null,this[_0x231a4a(0x260)]['next'](Te[_0x231a4a(0x2c3)]),this['_socket$'][_0x231a4a(0x255)](null),this[_0x231a4a(0x23a)](),this[_0x231a4a(0x3df)]();}[_0x207232(0x2a2)](){var _0x422f68=_0x207232,_0x5d486c;this[_0x422f68(0x464)](),this[_0x422f68(0x21a)]<((_0x5d486c=this[_0x422f68(0x452)][_0x422f68(0x3a9)](Pn))!=null?_0x5d486c:wn)?(this[_0x422f68(0x4d1)]['emitEvent']({'id':se[_0x422f68(0x3c8)]}),this[_0x422f68(0x481)]()):this[_0x422f68(0x4d1)][_0x422f68(0x491)]({'id':se[_0x422f68(0x425)]});}[_0x207232(0x481)](){var _0x200be0=_0x207232,_0x596b3a;const _0xaac7fa=this[_0x200be0(0x21a)],_0x5c5d51=this[_0x200be0(0x452)][_0x200be0(0x3a9)](q),_0x56dce7=_0xaac7fa===0x0?0x0:((_0x596b3a=_0x5c5d51==null?void 0x0:_0x5c5d51['retryConnectingInterval'])!=null?_0x596b3a:Dn)*0x2**_0xaac7fa;this[_0x200be0(0x4b0)]=setTimeout(()=>{var _0x22a156=_0x200be0;clearTimeout(this['_retryConnectingTimer']),this[_0x22a156(0x4b0)]=null,this[_0x22a156(0x286)]();},_0x56dce7),this[_0x200be0(0x21a)]+=0x1;}[_0x207232(0x431)](_0x587a2c,_0x7ec4d7){var _0x19111c=_0x207232;const {cmd:_0x469c89}=_0x7ec4d7;_0x469c89===F[_0x19111c(0x307)]&&!this[_0x19111c(0x4c6)]&&(_0x587a2c[_0x19111c(0x212)]=_0x7ec4d7[_0x19111c(0x44c)][_0x19111c(0x212)],this[_0x19111c(0x37b)][_0x19111c(0x255)](_0x587a2c),this[_0x19111c(0x260)][_0x19111c(0x255)](Te[_0x19111c(0x3a5)]),this[_0x19111c(0x4c6)]=!0x0,this['_candidateSocket']=null),_0x469c89===F[_0x19111c(0x29d)]&&this[_0x19111c(0x23a)](),this[_0x19111c(0x437)]();}[_0x207232(0x437)](){var _0x19e931=_0x207232,_0x1d95b2;this['_clearHeartbeatTimer'](),this[_0x19e931(0x225)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1d95b2=this['_configService'][_0x19e931(0x3a9)](yn))!=null?_0x1d95b2:Nn);}['_sendHeartbeat'](){var _0x3459bb=_0x207232;this['_socket'][_0x3459bb(0x2fe)]({'cmd':F[_0x3459bb(0x29d)]}),this['_waitForHeartbeatResponse']();}[_0x207232(0x3ab)](){var _0x2d141b=_0x207232,_0xfc6c83;this[_0x2d141b(0x2a5)]=setTimeout(()=>this[_0x2d141b(0x2a2)](),(_0xfc6c83=this[_0x2d141b(0x452)][_0x2d141b(0x3a9)](Si))!=null?_0xfc6c83:Ei);}['_clearHeartbeatTimer'](){var _0x310599=_0x207232;this[_0x310599(0x225)]!=null&&(clearTimeout(this[_0x310599(0x225)]),this['_sendHeartbeatTimer']=null);}[_0x207232(0x23a)](){var _0x1070a5=_0x207232;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1070a5(0x2a5)]),this[_0x1070a5(0x2a5)]=null);}};Le=er([ge(0x0,_0x133bf8(_0x55be5b)),ge(0x1,_0x248f6a),ge(0x2,_0x2ddc28),ge(0x3,Ci),ge(0x4,_0x133bf8(_0xec288c)),ge(0x5,_0x133bf8(pe)),ge(0x6,_0x910b95(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x207232(0x2ac)]((n+0x100)[_0x207232(0x222)](0x10)[_0x207232(0x27f)](0x1));function tr(_0x3d0afb,_0x4a1805=0x0){var _0x4ea36f=_0x207232;return(V[_0x3d0afb[_0x4a1805+0x0]]+V[_0x3d0afb[_0x4a1805+0x1]]+V[_0x3d0afb[_0x4a1805+0x2]]+V[_0x3d0afb[_0x4a1805+0x3]]+'-'+V[_0x3d0afb[_0x4a1805+0x4]]+V[_0x3d0afb[_0x4a1805+0x5]]+'-'+V[_0x3d0afb[_0x4a1805+0x6]]+V[_0x3d0afb[_0x4a1805+0x7]]+'-'+V[_0x3d0afb[_0x4a1805+0x8]]+V[_0x3d0afb[_0x4a1805+0x9]]+'-'+V[_0x3d0afb[_0x4a1805+0xa]]+V[_0x3d0afb[_0x4a1805+0xb]]+V[_0x3d0afb[_0x4a1805+0xc]]+V[_0x3d0afb[_0x4a1805+0xd]]+V[_0x3d0afb[_0x4a1805+0xe]]+V[_0x3d0afb[_0x4a1805+0xf]])[_0x4ea36f(0x3f3)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0xf09524=_0x207232;if(!ut){if(typeof crypto>'u'||!crypto[_0xf09524(0x301)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0xf09524(0x346)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x207232(0x346)](crypto),qt={'randomUUID':rr};function sr(_0x151e98,_0x4eaddb,_0x4cbfb3){var _0x1078da=_0x207232,_0x484b27,_0x5c1a2b,_0x5f1bfe;if(qt['randomUUID']&&!_0x151e98)return qt['randomUUID']();_0x151e98=_0x151e98||{};const _0x2cbd29=(_0x5f1bfe=(_0x5c1a2b=_0x151e98['random'])!=null?_0x5c1a2b:(_0x484b27=_0x151e98[_0x1078da(0x405)])==null?void 0x0:_0x484b27[_0x1078da(0x281)](_0x151e98))!=null?_0x5f1bfe:nr();if(_0x2cbd29[_0x1078da(0x453)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2cbd29[0x6]=_0x2cbd29[0x6]&0xf|0x40,_0x2cbd29[0x8]=_0x2cbd29[0x8]&0x3f|0x80,tr(_0x2cbd29);}const J=_0x3e2437(_0x207232(0x252));function so(_0x28c8e3){var _0x5e68eb=_0x207232;return _0x5e68eb(0x490)+_0x28c8e3;}var or=Object[_0x207232(0x20c)],ar=Object[_0x207232(0x469)],cr=(_0x5cc70a,_0x30265f,_0x401c9d,_0x59d6bc)=>{var _0x297687=_0x207232;for(var _0x58e93a=_0x59d6bc>0x1?void 0x0:_0x59d6bc?ar(_0x30265f,_0x401c9d):_0x30265f,_0x22b0cf=_0x5cc70a[_0x297687(0x453)]-0x1,_0x3aa2ce;_0x22b0cf>=0x0;_0x22b0cf--)(_0x3aa2ce=_0x5cc70a[_0x22b0cf])&&(_0x58e93a=(_0x59d6bc?_0x3aa2ce(_0x30265f,_0x401c9d,_0x58e93a):_0x3aa2ce(_0x58e93a))||_0x58e93a);return _0x59d6bc&&_0x58e93a&&or(_0x30265f,_0x401c9d,_0x58e93a),_0x58e93a;},dt=(_0x4aa863,_0x47851b)=>(_0x4bfd66,_0x5e83f1)=>_0x47851b(_0x4bfd66,_0x5e83f1,_0x4aa863);function hr(_0x2773e6){var _0x4d0b45=_0x207232;const {unitID:_0x176bbd,mutations:_0x50d18e}=_0x2773e6;return{'unitId':_0x176bbd,'subUnitId':_0x50d18e[0x0][_0x4d0b45(0x3b2)][_0x4d0b45(0x22b)]};}let it=class{constructor(_0x56966a,_0xf6422a,_0x33b234){var _0x13a9b0=_0x207232;this[_0x13a9b0(0x406)]=_0x56966a,this[_0x13a9b0(0x2cd)]=_0xf6422a,this[_0x13a9b0(0x3fd)]=_0x33b234;}[_0x207232(0x4ae)](_0x4fc6f1){var _0x5a1d0e=_0x207232,_0x8d57f3,_0x211f1d,_0x186f97,_0x4309b8;const _0x368960=this['_injector'][_0x5a1d0e(0x410)](_0x4a2a8f),{unitId:_0x63b2a0,subUnitId:_0xe382a}=hr(_0x4fc6f1),_0x3c0380=_0x368960==null?void 0x0:_0x368960[_0x5a1d0e(0x4bc)](_0x63b2a0)['getCurrentSelections'](),_0x4e714f=(_0x211f1d=(_0x8d57f3=this[_0x5a1d0e(0x3fd)][_0x5a1d0e(0x2fb)](_0x63b2a0))==null?void 0x0:_0x8d57f3['getActiveSheet']())==null?void 0x0:_0x211f1d[_0x5a1d0e(0x366)]();if(_0x3c0380['length']===0x0||!_0x63b2a0||!_0xe382a)return;const _0x22a585=[{'id':_0x257c7a['id'],'params':{'unitId':_0x63b2a0,'subUnitId':_0x4e714f,'selections':_0xc9f11[_0x5a1d0e(0x25e)](_0x3c0380)}}],_0x437d48=this[_0x5a1d0e(0x2cd)][_0x5a1d0e(0x43f)](_0x4fc6f1,_0x22a585);if(!_0x5ddb74(_0x437d48))throw _0x437d48[_0x5a1d0e(0x3aa)];const _0x1cf27e=(_0x4309b8=(_0x186f97=_0x437d48[_0x5a1d0e(0x455)][0x0])==null?void 0x0:_0x186f97[_0x5a1d0e(0x3b2)])==null?void 0x0:_0x4309b8['selections'];if(Array[_0x5a1d0e(0x254)](_0x1cf27e)&&_0x1cf27e['length']){if(_0x1cf27e[_0x5a1d0e(0x453)]===_0x22a585[0x0][_0x5a1d0e(0x3b2)][_0x5a1d0e(0x485)][_0x5a1d0e(0x453)]&&_0x1cf27e[_0x5a1d0e(0x2bb)]((_0x40f0f4,_0x1fba27)=>_0x20b66a[_0x5a1d0e(0x46e)](_0x40f0f4['range'],_0x22a585[0x0][_0x5a1d0e(0x3b2)][_0x5a1d0e(0x485)][_0x1fba27][_0x5a1d0e(0x2ef)])))return;this[_0x5a1d0e(0x406)][_0x5a1d0e(0x410)](_0x1023d2)[_0x5a1d0e(0x358)](_0x257c7a['id'],{'unitId':_0x63b2a0,'subUnitId':_0x4e714f,'selections':_0x1cf27e});}}};it=cr([dt(0x0,_0x133bf8(_0x55be5b)),dt(0x1,_0x2452dd),dt(0x2,_0x39ac8e)],it);const ht=_0x3e2437('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x3e7154=>(_0x3e7154[_0x3e7154['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x207232(0x1f4),_0x3e7154[_0x3e7154[_0x207232(0x474)]=0x1]=_0x207232(0x474),_0x3e7154))(bi||{});const _r=new Set([_0x3c387b['id']]);function zt(_0xdfdaae,_0x34fa4f,_0x5090a8,_0x2c135c,_0x26ac86){var _0x471e75=_0x207232,_0x4a51da,_0x4bb7d2,_0x20f773,_0x2b1105;const _0x10475c=[];for(const _0x1c0d0b of _0xdfdaae)if(_r[_0x471e75(0x2c7)](_0x1c0d0b['id'])){if(_0x10475c[_0x471e75(0x453)]>0x0)break;_0x10475c[_0x471e75(0x2ac)](_0x1c0d0b);break;}else _0x10475c[_0x471e75(0x2ac)](_0x1c0d0b);const _0x6c4ead=(_0x4bb7d2=(_0x4a51da=_0x26ac86[_0x471e75(0x300)]())==null?void 0x0:_0x4a51da[_0x471e75(0x42e)])!=null?_0x4bb7d2:_0x471e75(0x26d),_0x4ddd70=(_0x2b1105=(_0x20f773=_0x26ac86[_0x471e75(0x300)]())==null?void 0x0:_0x20f773['memberID'])!=null?_0x2b1105:_0x471e75(0x26d);return{'changeset':{'unitID':_0x34fa4f,'type':_0x5bf4b1(_0x5090a8['getUnitType'](_0x34fa4f)),'baseRev':_0x2c135c[_0x471e75(0x2ca)](_0x34fa4f),'revision':0x0,'userID':_0x6c4ead,'memberID':_0x4ddd70,'mutations':_0x10475c},'pendingMutations':_0xdfdaae['slice'](_0x10475c[_0x471e75(0x453)])};}function lr(_0x18b607,_0x2a585b,_0x1dfa98,_0x4b3374,_0x560813){var _0x1de8bb=_0x207232,_0x387d83,_0x4790e5,_0x45e73a,_0x131e16;const _0x95935=[_0x18b607[_0x1de8bb(0x217)]((_0x53cfd7,_0x4b7e19)=>{var _0x14a2d6=_0x1de8bb,_0x1a4bc2;const {id:_0x19eec9}=_0x53cfd7,{id:_0x10aa01,type:_0x48ef4d}=_0x4b7e19,_0x265415=(_0x1a4bc2=_0x53cfd7[_0x14a2d6(0x3b2)])!=null?_0x1a4bc2:{'actions':null},_0x8c7507=_0x4b7e19[_0x14a2d6(0x3b2)];if(_0x19eec9&&_0x19eec9!==_0x10aa01)throw new Error(_0x14a2d6(0x219)+_0x19eec9+_0x14a2d6(0x42d)+_0x10aa01+'.');return{..._0x53cfd7,'id':_0x10aa01,'type':_0x48ef4d,'params':{'unitId':_0x8c7507[_0x14a2d6(0x393)],'textRanges':_0x8c7507[_0x14a2d6(0x29a)],'actions':_0x5011f1[_0x14a2d6(0x487)](_0x265415['actions'],_0x8c7507[_0x14a2d6(0x2e6)])}};},{})],_0x21fb4f=(_0x4790e5=(_0x387d83=_0x560813['getCurrentUser']())==null?void 0x0:_0x387d83['userID'])!=null?_0x4790e5:'unknown',_0x87b9eb=(_0x131e16=(_0x45e73a=_0x560813['getCurrentUser']())==null?void 0x0:_0x45e73a['memberID'])!=null?_0x131e16:_0x1de8bb(0x26d);return{'changeset':{'unitID':_0x2a585b,'type':_0x5bf4b1(_0x1dfa98[_0x1de8bb(0x397)](_0x2a585b)),'baseRev':_0x4b3374[_0x1de8bb(0x2ca)](_0x2a585b),'revision':0x0,'userID':_0x21fb4f,'memberID':_0x87b9eb,'mutations':_0x95935},'pendingMutations':[]};}function Oi(_0xfad9c2,_0x2e7fd4){var _0x3bbcf6=_0x207232;const _0x331753=new _0x38b04f(0x1);return setTimeout(()=>_0x331753[_0x3bbcf6(0x255)](_0x2e7fd4),_0xfad9c2),_0x331753[_0x3bbcf6(0x2c0)]()['pipe'](_0x452f05(0x1));}const ur={'id':_0x19b9dd['id'],'type':_0xc31ed7['MUTATION'],'params':{}};var dr=Object[_0x207232(0x20c)],fr=Object[_0x207232(0x469)],Re=(_0x1ef807,_0x13f59b,_0x597b6a,_0x160bdf)=>{var _0x217813=_0x207232;for(var _0x50e514=_0x160bdf>0x1?void 0x0:_0x160bdf?fr(_0x13f59b,_0x597b6a):_0x13f59b,_0x2bff43=_0x1ef807[_0x217813(0x453)]-0x1,_0x5d5808;_0x2bff43>=0x0;_0x2bff43--)(_0x5d5808=_0x1ef807[_0x2bff43])&&(_0x50e514=(_0x160bdf?_0x5d5808(_0x13f59b,_0x597b6a,_0x50e514):_0x5d5808(_0x50e514))||_0x50e514);return _0x160bdf&&_0x50e514&&dr(_0x13f59b,_0x597b6a,_0x50e514),_0x50e514;},A=(_0x2fc6cc,_0x17a516)=>(_0x1955df,_0x45f785)=>_0x17a516(_0x1955df,_0x45f785,_0x2fc6cc),yi=(_0x100339=>(_0x100339['NOT_COLLAB']=_0x207232(0x411),_0x100339['SYNCED']='synced',_0x100339['PENDING']=_0x207232(0x458),_0x100339[_0x207232(0x30e)]=_0x207232(0x492),_0x100339[_0x207232(0x409)]=_0x207232(0x360),_0x100339[_0x207232(0x234)]='fetch_missing',_0x100339[_0x207232(0x34c)]='conflict',_0x100339[_0x207232(0x2c3)]=_0x207232(0x4a7),_0x100339))(yi||{});const Ni=0xea60;class be{constructor(_0x3fe147,_0x47b832,_0x572138,_0x214489,_0x1705ed,_0x199cca,_0x19ed78,_0x41aba5,_0xb8cccb){var _0x1fe2e3=_0x207232;N(this,_0x1fe2e3(0x3a4),null),N(this,_0x1fe2e3(0x306),[]),(this['unitID']=_0x3fe147,this[_0x1fe2e3(0x276)]=_0x47b832,this[_0x1fe2e3(0x49c)]=_0x1705ed,this['_commandService']=_0x199cca,this['_undoRedoService']=_0x19ed78,this['_revisionService']=_0x41aba5,this['_localCacheService']=_0xb8cccb,this[_0x1fe2e3(0x3a4)]=_0x572138,this[_0x1fe2e3(0x306)]=_0x214489);}[_0x207232(0x40a)](_0x23b400){var _0x3f7c00=_0x207232;const _0x45e65a=this[_0x3f7c00(0x40e)][_0x3f7c00(0x2ca)](this[_0x3f7c00(0x1f8)]);return _0x23b400[_0x3f7c00(0x427)]>_0x45e65a+0x1?(this[_0x3f7c00(0x49c)][_0x3f7c00(0x245)]({'from':_0x45e65a,'to':_0x23b400['revision']-0x1}),!0x0):!0x1;}[_0x207232(0x2aa)](_0xa61e3b){var _0x4383ee=_0x207232;this[_0x4383ee(0x334)][_0x4383ee(0x3a1)](this[_0x4383ee(0x1f8)],_0xa61e3b);}['_transformSelections'](_0x28f8d3){var _0x1c053a=_0x207232,_0x356b10,_0x3a419f;(_0x3a419f=(_0x356b10=this[_0x1c053a(0x49c)])[_0x1c053a(0x4a3)])==null||_0x3a419f[_0x1c053a(0x281)](_0x356b10,_0x28f8d3);}['_transformIMECache'](_0x42396b){var _0x37dee3=_0x207232,_0x402c9c,_0x1f9960;return(_0x1f9960=(_0x402c9c=this[_0x37dee3(0x49c)])[_0x37dee3(0x461)])==null?void 0x0:_0x1f9960[_0x37dee3(0x281)](_0x402c9c,_0x42396b);}[_0x207232(0x451)](_0x5a880c){var _0x49f338=_0x207232,_0x5c1be6,_0x319d55;return(_0x319d55=(_0x5c1be6=this['_handler'])[_0x49f338(0x329)])==null?void 0x0:_0x319d55[_0x49f338(0x281)](_0x5c1be6,_0x5a880c);}[_0x207232(0x46c)](_0xc638d8){var _0x126f25=_0x207232,_0x3cddfd,_0x40fb0d,_0x13fda0;return(_0x13fda0=(_0x40fb0d=(_0x3cddfd=this['_handler'])[_0x126f25(0x345)])==null?void 0x0:_0x40fb0d[_0x126f25(0x281)](_0x3cddfd,_0xc638d8))!=null?_0x13fda0:_0xc638d8;}[_0x207232(0x2ad)](_0xc6d610){var _0xfa7b3b=_0x207232,_0x151623,_0x508369,_0x2724fc;return(_0x2724fc=(_0x508369=(_0x151623=this[_0xfa7b3b(0x49c)])[_0xfa7b3b(0x4c9)])==null?void 0x0:_0x508369[_0xfa7b3b(0x281)](_0x151623,_0xc6d610))!=null?_0x2724fc:_0xc6d610;}[_0x207232(0x353)](_0x4ac312){var _0x16417f=_0x207232,_0x4f878e,_0x515eb5;if(this[_0x16417f(0x276)]===Q[_0x16417f(0x2f9)]){const {unitID:_0x40ec93,mutations:_0x4833f4,memberID:_0xac9e6e}=_0x4ac312,_0x536f54=_0x4833f4[0x0][_0x16417f(0x3b2)][_0x16417f(0x29a)];Array[_0x16417f(0x254)](_0x536f54)&&_0x536f54[_0x16417f(0x453)]>0x0&&((_0x515eb5=(_0x4f878e=this[_0x16417f(0x49c)])[_0x16417f(0x3c9)])==null||_0x515eb5[_0x16417f(0x281)](_0x4f878e,{'unitID':_0x40ec93,'memberID':_0xac9e6e,'textRanges':_0x536f54}));}}[_0x207232(0x265)](){var _0x4d94af=_0x207232,_0x73eef;(_0x73eef=this[_0x4d94af(0x413)])==null||_0x73eef[_0x4d94af(0x270)](this[_0x4d94af(0x1f8)],this['type'],this[_0x4d94af(0x3a4)],this[_0x4d94af(0x306)]);}[_0x207232(0x2bc)](){var _0xdca458=_0x207232;return this[_0xdca458(0x40e)][_0xdca458(0x2ca)](this[_0xdca458(0x1f8)]);}[_0x207232(0x263)](){var _0x38fd85=_0x207232;this[_0x38fd85(0x40e)][_0x38fd85(0x319)](this['unitID']);}['_executeRemoteChangeset'](_0x36a5e5){var _0x123356=_0x207232,_0x311c28;let _0x26b58f=this[_0x123356(0x46c)](_0x36a5e5);_0x26b58f=this[_0x123356(0x2ad)](_0x26b58f);const _0x42a761=_0xbf95c0(_0x26b58f['mutations'],this[_0x123356(0x418)],{'fromCollab':!0x0});if(!_0x42a761[_0x123356(0x48c)])throw _0x42a761[_0x123356(0x3aa)]instanceof Error?_0x42a761[_0x123356(0x3aa)]:new Error((_0x311c28=_0x42a761[_0x123356(0x3aa)])!=null?_0x311c28:_0x123356(0x24c));this['_transformIMECache'](_0x26b58f),this['_transformStateCache'](_0x26b58f),this[_0x123356(0x2aa)](_0x36a5e5),this['_transformSelections'](_0x26b58f),this[_0x123356(0x353)](_0x26b58f),this[_0x123356(0x263)]();}}let De=class extends be{constructor(_0x3ac359,_0x2a0dbc,_0x1e517d,_0x50a390,_0x3a797c,_0x1aea34,_0x3de172,_0x592994,_0x2d05fd,_0x2bc733){var _0x1644bd=_0x207232;super(_0x3ac359,_0x2a0dbc,null,[],_0x1e517d,_0x3de172,_0x1aea34,_0x50a390,_0x2bc733),N(this,'status','synced'),(this[_0x1644bd(0x406)]=_0x3a797c,this[_0x1644bd(0x275)]=_0x592994,this[_0x1644bd(0x2cd)]=_0x2d05fd,this[_0x1644bd(0x423)]=_0x2bc733);}[_0x207232(0x343)](_0xac0384){var _0x217fe6=_0x207232;const _0x5e71e6=this[_0x217fe6(0x406)][_0x217fe6(0x3c1)](oe,this[_0x217fe6(0x1f8)],this[_0x217fe6(0x276)],[_0xac0384],this['_handler']);return _0x5e71e6['_schedule'](),_0x5e71e6[_0x217fe6(0x265)](),_0x5e71e6;}['onRemoteChangeset'](_0x2cef20){var _0x1a4832=_0x207232;if(this[_0x1a4832(0x40a)](_0x2cef20))return this[_0x1a4832(0x406)][_0x1a4832(0x3c1)](te,this[_0x1a4832(0x1f8)],this[_0x1a4832(0x276)],null,[],null,[_0x2cef20],this['_handler']);try{const _0x26d2f5=this[_0x1a4832(0x2cd)][_0x1a4832(0x43f)](_0x2cef20,[ur]);if(_0x5ddb74(_0x26d2f5)){const {c1Prime:_0x23b35d}=_0x26d2f5;return this['_executeRemoteChangeset'](_0x23b35d),this;}throw _0x26d2f5[_0x1a4832(0x3aa)];}catch(_0x6e9e6e){return this[_0x1a4832(0x275)][_0x1a4832(0x3aa)](_0x6e9e6e),this[_0x1a4832(0x340)](!0x1);}}[_0x207232(0x340)](_0x327771){var _0x28d5ef=_0x207232;return this[_0x28d5ef(0x406)][_0x28d5ef(0x3c1)](de,this[_0x28d5ef(0x1f8)],this['type'],null,[],this[_0x28d5ef(0x49c)],_0x327771);}[_0x207232(0x4de)](){var _0x49cd9c=_0x207232;throw new Error(_0x49cd9c(0x20f));}[_0x207232(0x248)](){var _0x51b547=_0x207232;throw new Error(_0x51b547(0x3e4));}['onRemoteRetry'](){return this;}[_0x207232(0x282)](){var _0x2268a5=_0x207232;return this['_injector']['createInstance'](fe,this[_0x2268a5(0x1f8)],this[_0x2268a5(0x276)],null,[],this['_handler']);}[_0x207232(0x4df)](){return this;}['resend'](){var _0x1ee6e9=_0x207232;throw new Error(_0x1ee6e9(0x285));}['fetchMiss'](){var _0x29e18c=_0x207232;const _0x409294=this[_0x29e18c(0x40e)][_0x29e18c(0x2ca)](this[_0x29e18c(0x1f8)]);return this[_0x29e18c(0x49c)][_0x29e18c(0x245)]({'from':_0x409294,'to':0x0}),this[_0x29e18c(0x406)][_0x29e18c(0x3c1)](te,this[_0x29e18c(0x1f8)],this[_0x29e18c(0x276)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x133bf8(_0x34b3d6)),A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x1f81a8),A(0x6,_0x1023d2),A(0x7,_0x248f6a),A(0x8,_0x2452dd),A(0x9,_0x910b95(J))],De);let oe=class extends be{constructor(_0x237559,_0x2b017e,_0x1be9bc,_0x24d6cd,_0xa7c0b,_0x2e1c71,_0x105635,_0x4614c6,_0x55c88f,_0xfac81,_0x515f63,_0x18f11a,_0x47b849,_0x4b0c8d){var _0x284209=_0x207232;super(_0x237559,_0x2b017e,null,_0x1be9bc,_0x24d6cd,_0x55c88f,_0x47b849,_0x2e1c71,_0x4b0c8d),N(this,'status',_0x284209(0x458)),N(this,_0x284209(0x22e),null),N(this,'_sendingTimer',null),(this[_0x284209(0x406)]=_0xa7c0b,this['_memberService']=_0x105635,this['_logService']=_0x4614c6,this[_0x284209(0x452)]=_0xfac81,this['_transformService']=_0x515f63,this[_0x284209(0x244)]=_0x18f11a);}['appendMutation'](_0x2b6baf){var _0x4290dc=_0x207232;return this['_pendingMutations']['push'](_0x2b6baf),this[_0x4290dc(0x265)](),this;}[_0x207232(0x4d0)](_0xce0a70){var _0x330edb=_0x207232;if(this[_0x330edb(0x40a)](_0xce0a70))return this[_0x330edb(0x21e)](),this[_0x330edb(0x406)][_0x330edb(0x3c1)](te,this[_0x330edb(0x1f8)],this[_0x330edb(0x276)],null,this[_0x330edb(0x306)],null,[_0xce0a70],this[_0x330edb(0x49c)]);try{const _0x209de8=this['_transformService'][_0x330edb(0x43f)](_0xce0a70,this[_0x330edb(0x306)]);if(_0x5ddb74(_0x209de8)){const {c1Prime:_0x275e69,m2Prime:_0x398c31}=_0x209de8;this[_0x330edb(0x3a0)](_0x275e69);const _0x3e7ae2=this[_0x330edb(0x406)][_0x330edb(0x3c1)](oe,this[_0x330edb(0x1f8)],this['type'],_0x398c31,this[_0x330edb(0x49c)]);this['_clearScheduledTask']();const _0x386ef0=new Date()[_0x330edb(0x494)](),_0x26de70=this['_scheduleCompleteTimestamp']?Math[_0x330edb(0x3f5)](this['_scheduleCompleteTimestamp']-_0x386ef0,0x0):this[_0x330edb(0x3b6)]();return _0x3e7ae2[_0x330edb(0x44f)](_0x26de70),_0x3e7ae2;}throw _0x209de8[_0x330edb(0x3aa)];}catch(_0x3ce349){return this[_0x330edb(0x275)][_0x330edb(0x3aa)](_0x3ce349),this[_0x330edb(0x340)](!0x1);}}['onRemoteAck'](){var _0x98ebed=_0x207232;throw new Error(_0x98ebed(0x20d));}[_0x207232(0x248)](){var _0x1dd0f6=_0x207232;throw new Error(_0x1dd0f6(0x32e));}[_0x207232(0x2f5)](){return this;}[_0x207232(0x282)](){var _0x3c6c74=_0x207232;return this[_0x3c6c74(0x21e)](),this[_0x3c6c74(0x406)][_0x3c6c74(0x3c1)](fe,this[_0x3c6c74(0x1f8)],this['type'],null,this['_pendingMutations'],this[_0x3c6c74(0x49c)]);}['toggleOnline'](){return this;}['_schedule'](_0x3d8397){var _0x57404f=_0x207232;const _0x2c4c3d=_0x3d8397!=null?_0x3d8397:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x2c4c3d,this[_0x57404f(0x290)]=setTimeout(()=>{var _0x35fabb=_0x57404f;this[_0x35fabb(0x21e)]();let _0x401a26=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x401a26=zt(this[_0x35fabb(0x306)],this[_0x35fabb(0x1f8)],this[_0x35fabb(0x244)],this['_revisionService'],this[_0x35fabb(0x3bc)]);break;}case Q['UNIVER_DOC']:{this[_0x35fabb(0x306)]['every'](_0x1dac0f=>_0x1dac0f['id']===_0x340e83['id'])?_0x401a26=lr(this['_pendingMutations'],this[_0x35fabb(0x1f8)],this['_univerInstanceService'],this[_0x35fabb(0x40e)],this['_memberService']):_0x401a26=zt(this[_0x35fabb(0x306)],this[_0x35fabb(0x1f8)],this[_0x35fabb(0x244)],this[_0x35fabb(0x40e)],this[_0x35fabb(0x3bc)]);break;}default:throw new Error(_0x35fabb(0x230)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x294fb3,pendingMutations:_0x5ad03c}=_0x401a26;this[_0x35fabb(0x49c)][_0x35fabb(0x1f2)](_0x294fb3);const _0x9b800=_0x5ad03c[_0x35fabb(0x453)]?this[_0x35fabb(0x406)][_0x35fabb(0x3c1)](ae,this[_0x35fabb(0x1f8)],this[_0x35fabb(0x276)],_0x294fb3,_0x5ad03c,this['_handler'],void 0x0):this[_0x35fabb(0x406)]['createInstance'](ue,this[_0x35fabb(0x1f8)],this[_0x35fabb(0x276)],_0x294fb3,this[_0x35fabb(0x49c)]);_0x9b800['_updateLocalCache'](),this['_handler'][_0x35fabb(0x2d8)](this,_0x9b800);},_0x2c4c3d);}[_0x207232(0x3b6)](){var _0x594ee9=_0x207232,_0x48d910;const _0x388543=this[_0x594ee9(0x452)][_0x594ee9(0x3a9)](q);return(_0x48d910=_0x388543==null?void 0x0:_0x388543[_0x594ee9(0x2c2)])!=null?_0x48d910:Cn;}[_0x207232(0x390)](){var _0x143a8a=_0x207232;throw new Error(_0x143a8a(0x3de));}[_0x207232(0x21e)](){var _0x4e05c0=_0x207232;this[_0x4e05c0(0x290)]!=null&&(clearTimeout(this[_0x4e05c0(0x290)]),this[_0x4e05c0(0x290)]=null);}['_onConflict'](_0x5d385e){var _0x54e5e6=_0x207232;return this[_0x54e5e6(0x21e)](),this[_0x54e5e6(0x406)][_0x54e5e6(0x3c1)](de,this[_0x54e5e6(0x1f8)],this[_0x54e5e6(0x276)],null,this['_pendingMutations'],this[_0x54e5e6(0x49c)],_0x5d385e);}};oe=Re([A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x133bf8(_0x34b3d6)),A(0x6,_0x133bf8(xe)),A(0x7,_0x248f6a),A(0x8,_0x1023d2),A(0x9,_0x2ddc28),A(0xa,_0x2452dd),A(0xb,_0x39ac8e),A(0xc,_0x1f81a8),A(0xd,_0x910b95(J))],oe);let ue=class extends be{constructor(_0x2ba3a7,_0x14cc82,_0x3e966a,_0x52d509,_0xbef71a,_0x32f367,_0x2f9ab0,_0x3eead5,_0x4a7f43,_0x23f7d0,_0x572a19){var _0x1c1f3e=_0x207232;super(_0x2ba3a7,_0x14cc82,_0x3e966a,[],_0x52d509,_0x2f9ab0,_0x23f7d0,_0x32f367,_0x572a19),N(this,_0x1c1f3e(0x233),_0x1c1f3e(0x492)),N(this,_0x1c1f3e(0x3ae),0x0),N(this,_0x1c1f3e(0x2b2)),N(this,_0x1c1f3e(0x27c)),(this[_0x1c1f3e(0x406)]=_0xbef71a,this['_logService']=_0x3eead5,this['_transformService']=_0x4a7f43);}[_0x207232(0x343)](_0x1037d0){var _0x5185a4=_0x207232;this[_0x5185a4(0x21e)]();const _0x39d2b8=this[_0x5185a4(0x406)]['createInstance'](ae,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1037d0],this[_0x5185a4(0x49c)],this['_resendTimer']);return _0x39d2b8[_0x5185a4(0x265)](),_0x39d2b8;}[_0x207232(0x4d0)](_0x2efd8c){var _0x21e3f8=_0x207232;if(this[_0x21e3f8(0x40a)](_0x2efd8c))return this[_0x21e3f8(0x21e)](),this[_0x21e3f8(0x406)]['createInstance'](te,this[_0x21e3f8(0x1f8)],this[_0x21e3f8(0x276)],this[_0x21e3f8(0x3a4)],[],null,[_0x2efd8c],this[_0x21e3f8(0x49c)]);try{const _0x49d8fd=this['_transformService'][_0x21e3f8(0x308)]([_0x2efd8c],[this['_awaitingChangeset']],!0x1);if(_0x2e0b00(_0x49d8fd)){const {c1Prime:_0x468432,c2Prime:_0x497de0}=_0x49d8fd;this[_0x21e3f8(0x3a0)](_0x468432[0x0]),_0x497de0[0x0][_0x21e3f8(0x3ad)]=this[_0x21e3f8(0x2bc)](),this['_clearScheduledTask']();const _0x5aee0d=this[_0x21e3f8(0x406)]['createInstance'](ue,this[_0x21e3f8(0x1f8)],this[_0x21e3f8(0x276)],_0x497de0[0x0],this['_handler']);return _0x5aee0d[_0x21e3f8(0x265)](),_0x5aee0d;}return this['_onConflict'](!0x1);}catch(_0x35282b){return this[_0x21e3f8(0x275)][_0x21e3f8(0x3aa)](_0x35282b),this[_0x21e3f8(0x340)](!0x1);}}[_0x207232(0x4de)](_0x2dcea9){var _0x585bc1=_0x207232;this['_clearScheduledTask']();const _0x5a8aff=this[_0x585bc1(0x40e)]['getCurrentRevOfUnit'](this['unitID']);if(_0x2dcea9[_0x585bc1(0x427)]<_0x5a8aff-0x1)return this;if(this[_0x585bc1(0x40a)](_0x2dcea9))return this['_injector'][_0x585bc1(0x3c1)](te,this['unitID'],this[_0x585bc1(0x276)],null,[],this['_awaitingChangeset'],[],this[_0x585bc1(0x49c)]);this[_0x585bc1(0x263)]();const _0x3ba324=this[_0x585bc1(0x406)]['createInstance'](De,this[_0x585bc1(0x1f8)],this[_0x585bc1(0x276)],this[_0x585bc1(0x49c)]);return _0x3ba324['_updateLocalCache'](),_0x3ba324;}['onRemoteRej'](_0x3d5b70){var _0x203591=_0x207232;return this[_0x203591(0x340)](!!(_0x3d5b70!=null&&_0x3d5b70['isPermissionRej']));}[_0x207232(0x2f5)](_0x301907){var _0x507c37=_0x207232;return this[_0x507c37(0x3ae)]>Ni?this[_0x507c37(0x282)]():(this[_0x507c37(0x2b2)]=Oi(this[_0x507c37(0x3ae)],{'timeout':this[_0x507c37(0x3ae)],'reqId':_0x301907[_0x507c37(0x46f)]}),this['_sender']=this[_0x507c37(0x2b2)]['subscribe'](({reqId:_0x585a49,timeout:_0x3cec05})=>{this['_resendWithTimeout'](_0x585a49,_0x3cec05);}),this);}['toggleOffline'](){var _0x32b04a=_0x207232;return this[_0x32b04a(0x21e)](),this['_injector'][_0x32b04a(0x3c1)](fe,this[_0x32b04a(0x1f8)],this[_0x32b04a(0x276)],this[_0x32b04a(0x3a4)],[],this['_handler']);}[_0x207232(0x4df)](){return this;}[_0x207232(0x390)](){var _0x29a7c9=_0x207232;this[_0x29a7c9(0x49c)][_0x29a7c9(0x1f2)](this[_0x29a7c9(0x3a4)]);}[_0x207232(0x340)](_0x35fbe6){var _0x50606a=_0x207232;return this['_clearScheduledTask'](),this[_0x50606a(0x406)][_0x50606a(0x3c1)](de,this[_0x50606a(0x1f8)],this[_0x50606a(0x276)],this[_0x50606a(0x3a4)],[],this[_0x50606a(0x49c)],_0x35fbe6);}[_0x207232(0x2b6)](_0x454e2d,_0x110b02){var _0x2f5493=_0x207232,_0x3407b1;_0x454e2d===((_0x3407b1=this['_awaitingChangeset'])==null?void 0x0:_0x3407b1[_0x2f5493(0x46f)])&&(this[_0x2f5493(0x390)](),this['_resendTimeout']=_0x110b02===0x0?0x3e8:_0x110b02*0x2);}['_clearScheduledTask'](){var _0x330266=_0x207232,_0x4195f1;(_0x4195f1=this[_0x330266(0x27c)])==null||_0x4195f1[_0x330266(0x3ed)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x133bf8(_0x34b3d6)),A(0x6,_0x1023d2),A(0x7,_0x248f6a),A(0x8,_0x2452dd),A(0x9,_0x1f81a8),A(0xa,_0x910b95(J))],ue);let ae=class extends be{constructor(_0x5c84bc,_0x2f75ff,_0x1d459e,_0x5bf1da,_0x4414be,_0x2c6312,_0x524cbb,_0x117e15,_0x56f2a8,_0xea7320,_0x837db2,_0x12eb4b,_0x1542df){var _0x3af6d4=_0x207232;super(_0x5c84bc,_0x2f75ff,_0x1d459e,_0x5bf1da,_0x4414be,_0x56f2a8,_0x12eb4b,_0x117e15,_0x1542df),N(this,'status',_0x3af6d4(0x360)),N(this,_0x3af6d4(0x3ae),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3af6d4(0x406)]=_0x524cbb,this[_0x3af6d4(0x275)]=_0xea7320,this[_0x3af6d4(0x2cd)]=_0x837db2,this['localCacheService']=_0x1542df,_0x2c6312&&(this[_0x3af6d4(0x2b2)]=_0x2c6312,this[_0x3af6d4(0x27c)]=this[_0x3af6d4(0x2b2)][_0x3af6d4(0x416)](({reqId:_0x4cbbcd,timeout:_0x40fe95})=>{var _0x39649d=_0x3af6d4;this[_0x39649d(0x2b6)](_0x4cbbcd,_0x40fe95);})));}['appendMutation'](_0x5eacd7){var _0x5d528d=_0x207232;return this[_0x5d528d(0x306)][_0x5d528d(0x2ac)](_0x5eacd7),this;}[_0x207232(0x4d0)](_0xf9c651){var _0x45197f=_0x207232;if(this[_0x45197f(0x40a)](_0xf9c651))return this[_0x45197f(0x21e)](),this[_0x45197f(0x406)]['createInstance'](te,this[_0x45197f(0x1f8)],this[_0x45197f(0x276)],this[_0x45197f(0x3a4)],this['_pendingMutations'],null,[_0xf9c651],this[_0x45197f(0x49c)]);try{const _0x3cfbf5=this[_0x45197f(0x2cd)][_0x45197f(0x308)]([_0xf9c651],[this[_0x45197f(0x3a4)]],!0x1);if(_0x2e0b00(_0x3cfbf5)){const {c1Prime:_0xd88ad8,c2Prime:_0x55ca17}=_0x3cfbf5,_0x15b06d=this[_0x45197f(0x2cd)][_0x45197f(0x43f)](_0xd88ad8[0x0],this[_0x45197f(0x306)]);if(_0x5ddb74(_0x15b06d)){const {c1Prime:_0x46d47f,m2Prime:_0x3a92b4}=_0x15b06d;return this[_0x45197f(0x3a0)](_0x46d47f),_0x55ca17[0x0][_0x45197f(0x3ad)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x45197f(0x406)]['createInstance'](ae,this[_0x45197f(0x1f8)],this[_0x45197f(0x276)],_0x55ca17[0x0],_0x3a92b4,this[_0x45197f(0x49c)],void 0x0);}throw _0x15b06d['error'];}throw _0x3cfbf5[_0x45197f(0x3aa)];}catch(_0x7b9772){return this[_0x45197f(0x275)][_0x45197f(0x3aa)](_0x7b9772),this[_0x45197f(0x340)](!0x1);}}[_0x207232(0x4de)](_0x1d9fc8){var _0x1b306e=_0x207232;if(this[_0x1b306e(0x21e)](),this[_0x1b306e(0x40a)](_0x1d9fc8))return this[_0x1b306e(0x406)][_0x1b306e(0x3c1)](te,this[_0x1b306e(0x1f8)],this['type'],null,this[_0x1b306e(0x306)],this[_0x1b306e(0x3a4)],[],this[_0x1b306e(0x49c)]);this[_0x1b306e(0x263)]();const _0x149d25=this[_0x1b306e(0x406)][_0x1b306e(0x3c1)](oe,this[_0x1b306e(0x1f8)],this[_0x1b306e(0x276)],this[_0x1b306e(0x306)],this[_0x1b306e(0x49c)]);return _0x149d25['_schedule'](),_0x149d25['_updateLocalCache'](),_0x149d25;}[_0x207232(0x248)](_0x5ce9a8){return this['_onConflict'](!!(_0x5ce9a8!=null&&_0x5ce9a8['isPermissionRej']));}[_0x207232(0x2f5)](_0x1f7173){var _0x5b5727=_0x207232;return this[_0x5b5727(0x3ae)]>Ni?this[_0x5b5727(0x282)]():(this[_0x5b5727(0x2b2)]=Oi(this[_0x5b5727(0x3ae)],{'timeout':this['_resendTimeout'],'reqId':_0x1f7173[_0x5b5727(0x46f)]}),this[_0x5b5727(0x27c)]=this['_resendTimer'][_0x5b5727(0x416)](({reqId:_0x5975a2,timeout:_0x31500d})=>{var _0x2d0b74=_0x5b5727;this[_0x2d0b74(0x2b6)](_0x5975a2,_0x31500d);}),this);}[_0x207232(0x282)](){var _0xeb58c4=_0x207232;return this[_0xeb58c4(0x21e)](),this['_injector'][_0xeb58c4(0x3c1)](fe,this[_0xeb58c4(0x1f8)],this[_0xeb58c4(0x276)],this[_0xeb58c4(0x3a4)],this[_0xeb58c4(0x306)],this[_0xeb58c4(0x49c)]);}[_0x207232(0x4df)](){return this;}[_0x207232(0x390)](){var _0x2c01f1=_0x207232;this['_handler']['onSendChangeset'](this[_0x2c01f1(0x3a4)]);}[_0x207232(0x340)](_0x314d10){var _0x55cd55=_0x207232;return this[_0x55cd55(0x21e)](),this[_0x55cd55(0x406)][_0x55cd55(0x3c1)](de,this[_0x55cd55(0x1f8)],this['type'],null,this[_0x55cd55(0x306)],this[_0x55cd55(0x49c)],_0x314d10);}['_resendWithTimeout'](_0x12f8d2,_0x41f41c){var _0x1fc321=_0x207232,_0x3771b;_0x12f8d2===((_0x3771b=this['_awaitingChangeset'])==null?void 0x0:_0x3771b['reqId'])&&(this[_0x1fc321(0x390)](),this[_0x1fc321(0x3ae)]=_0x41f41c===0x0?0x3e8:_0x41f41c*0x2);}[_0x207232(0x21e)](){var _0x4b0b97=_0x207232,_0x55e14f;(_0x55e14f=this['_sender'])==null||_0x55e14f[_0x4b0b97(0x3ed)](),this[_0x4b0b97(0x3ae)]=0x0;}};ae=Re([A(0x6,_0x133bf8(_0x55be5b)),A(0x7,_0x133bf8(_0x34b3d6)),A(0x8,_0x1023d2),A(0x9,_0x248f6a),A(0xa,_0x2452dd),A(0xb,_0x1f81a8),A(0xc,_0x910b95(J))],ae);let de=class extends be{constructor(_0x47cf33,_0xf6b35c,_0x2bb3f4,_0x121eeb,_0x5c6c0f,_0x3c2c1a=!0x1,_0x9da561,_0x55ce43,_0x371fd5,_0x13cbe8,_0x12a8c4,_0x12a4ab,_0x54f531){var _0x33a990=_0x207232;super(_0x47cf33,_0xf6b35c,_0x2bb3f4,_0x121eeb,_0x5c6c0f,_0x55ce43,_0x371fd5,_0x13cbe8,_0x54f531),N(this,_0x33a990(0x233),_0x33a990(0x373)),(this[_0x33a990(0x374)]=_0x3c2c1a,this[_0x33a990(0x3da)]=_0x9da561,this[_0x33a990(0x443)]=_0x12a8c4,this[_0x33a990(0x4d1)]=_0x12a4ab,this['localCacheService']=_0x54f531,this[_0x33a990(0x3ca)](),this['_clearLocalCache'](),this[_0x33a990(0x3eb)]());}[_0x207232(0x343)](){return this;}['onRemoteChangeset'](){return this;}[_0x207232(0x4de)](){return this;}[_0x207232(0x248)](){return this;}['onRemoteRetry'](){return this;}[_0x207232(0x282)](){return this;}[_0x207232(0x4df)](){return this;}['resend'](){var _0x35e488=_0x207232;throw new Error(_0x35e488(0x42b));}['_clearLocalCache'](){var _0x34ef95=_0x207232,_0x5bfaa7;(_0x5bfaa7=this[_0x34ef95(0x413)])==null||_0x5bfaa7[_0x34ef95(0x270)](this['unitID'],this[_0x34ef95(0x276)],null,[]);}['_showConflictNotification'](){var _0xb82c1f=_0x207232;this[_0xb82c1f(0x374)]?this[_0xb82c1f(0x4d1)][_0xb82c1f(0x491)]({'id':se['PERMISSION_DENIED']}):this[_0xb82c1f(0x4d1)]['emitEvent']({'id':se[_0xb82c1f(0x34c)]});}[_0x207232(0x3eb)](){var _0x48ffa8=_0x207232;this[_0x48ffa8(0x3da)][_0x48ffa8(0x22c)](new _0x4351eb(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x133bf8(_0x2921ea)),A(0x7,_0x1023d2),A(0x8,_0x1f81a8),A(0x9,_0x133bf8(_0x34b3d6)),A(0xa,_0x133bf8(_0x5516c1)),A(0xb,_0x133bf8(pe)),A(0xc,_0x910b95(J))],de);let fe=class extends be{constructor(_0x373245,_0x9a71d9,_0x5e8ebe,_0x37ac64,_0x15f17c,_0x48060f,_0xfa5f13,_0x5da1d4,_0x1207c3,_0x21e61d){var _0x5f409b=_0x207232;super(_0x373245,_0x9a71d9,_0x5e8ebe,_0x37ac64,_0x15f17c,_0x5da1d4,_0x1207c3,_0xfa5f13,_0x21e61d),N(this,_0x5f409b(0x233),'offline'),this[_0x5f409b(0x406)]=_0x48060f;}[_0x207232(0x343)](_0x265237){var _0x5c8790=_0x207232;return this[_0x5c8790(0x306)][_0x5c8790(0x2ac)](_0x265237),this[_0x5c8790(0x265)](),this;}['onRemoteChangeset'](_0x15351b){var _0x158cf0=_0x207232;throw new Error(_0x158cf0(0x299));}[_0x207232(0x4de)](){var _0x21c1b4=_0x207232;throw new Error(_0x21c1b4(0x4ac));}[_0x207232(0x248)](){var _0x1e4d84=_0x207232;throw new Error(_0x1e4d84(0x462));}[_0x207232(0x2f5)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x47634c=_0x207232;const {_injector:_0x4520fe,_pendingMutations:_0x1d31fd,_awaitingChangeset:_0x1167e1,unitID:_0x405ed5,_handler:_0x35a447,type:_0x3344cc}=this,_0x307ae0=Di(_0x4520fe,_0x405ed5,_0x3344cc,_0x1167e1,_0x1d31fd,_0x35a447);return _0x307ae0 instanceof oe?_0x307ae0['_schedule']():(_0x307ae0 instanceof ae||_0x307ae0 instanceof ue)&&_0x307ae0[_0x47634c(0x390)](),_0x307ae0;}['resend'](){var _0x575df1=_0x207232;throw new Error(_0x575df1(0x38f));}};fe=Re([A(0x5,_0x133bf8(_0x55be5b)),A(0x6,_0x133bf8(_0x34b3d6)),A(0x7,_0x1023d2),A(0x8,_0x1f81a8),A(0x9,_0x910b95(J))],fe);let te=class extends be{constructor(_0x34aeab,_0x2d85fe,_0x52be51,_0x43c929,_0x139233,_0x1a9e84,_0x36a5a6,_0x41c276,_0x56f0a2,_0x100561,_0x58e9ba,_0x476d58,_0x546024,_0x4c72a1){var _0x199944=_0x207232;super(_0x34aeab,_0x2d85fe,_0x52be51,_0x43c929,_0x36a5a6,_0x58e9ba,_0x476d58,_0x56f0a2,_0x4c72a1),N(this,_0x199944(0x233),_0x199944(0x400)),(this[_0x199944(0x311)]=_0x139233,this[_0x199944(0x3f0)]=_0x1a9e84,this[_0x199944(0x406)]=_0x41c276,this[_0x199944(0x275)]=_0x100561,this['_transformService']=_0x546024,this['localCacheService']=_0x4c72a1);}['onMissedChangesetFetched'](_0xd14ccc){var _0x3454a8=_0x207232;try{const _0x4297f7=[..._0xd14ccc,...this[_0x3454a8(0x3f0)]],_0x412925=[this[_0x3454a8(0x3a4)]||this[_0x3454a8(0x311)]][_0x3454a8(0x279)](_0x2e108a=>!!_0x2e108a);let _0x9ba664,_0x395d83;if(_0x412925[_0x3454a8(0x453)]){const _0x32d9ae=this[_0x3454a8(0x2cd)][_0x3454a8(0x308)](_0x4297f7,_0x412925,!0x1);if(!_0x2e0b00(_0x32d9ae))throw _0x32d9ae[_0x3454a8(0x3aa)];_0x9ba664=_0x32d9ae[_0x3454a8(0x2a7)],_0x395d83=_0x32d9ae[_0x3454a8(0x460)];}else _0x9ba664=_0x4297f7,_0x395d83=[];let _0x3156c7=this['_pendingMutations'];_0x9ba664[_0x3454a8(0x4c4)](_0x2132cd=>{var _0x397755=_0x3454a8;let _0x10a623;if(_0x3156c7[_0x397755(0x453)]){const _0x159c10=this['_transformService'][_0x397755(0x43f)](_0x2132cd,_0x3156c7);if(!_0x5ddb74(_0x159c10))throw _0x159c10[_0x397755(0x3aa)];_0x10a623=_0x159c10[_0x397755(0x2a7)],_0x3156c7=_0x159c10[_0x397755(0x455)];}else _0x10a623=_0x2132cd;this[_0x397755(0x3a0)](_0x10a623);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3454a8(0x263)](),this[_0x3454a8(0x3a4)]&&_0x395d83[_0x3454a8(0x453)]&&(_0x395d83[0x0][_0x3454a8(0x3ad)]=this['_getCurrentRevision']());let _0x279730;if(this['_awaitingChangeset']&&_0x3156c7[_0x3454a8(0x453)]!==0x0)_0x279730=this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](ae,this['unitID'],this['type'],_0x395d83[0x0],_0x3156c7,this[_0x3454a8(0x49c)],void 0x0);else{if(this[_0x3454a8(0x3a4)]&&_0x3156c7[_0x3454a8(0x453)]===0x0)_0x395d83[0x0][_0x3454a8(0x3ad)]=this['_getCurrentRevision'](),_0x279730=this[_0x3454a8(0x406)]['createInstance'](ue,this[_0x3454a8(0x1f8)],this[_0x3454a8(0x276)],_0x395d83[0x0],this[_0x3454a8(0x49c)]);else{if(_0x3156c7['length']!==0x0){const _0x8ecb9c=this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](oe,this[_0x3454a8(0x1f8)],this[_0x3454a8(0x276)],_0x3156c7,this['_handler']);_0x8ecb9c[_0x3454a8(0x44f)](),_0x279730=_0x8ecb9c;}else _0x279730=this[_0x3454a8(0x406)]['createInstance'](De,this['unitID'],this['type'],this[_0x3454a8(0x49c)]);}}return _0x279730[_0x3454a8(0x265)](),_0x279730;}catch(_0x3dc125){return this[_0x3454a8(0x275)]['error'](_0x3454a8(0x384),_0x3454a8(0x364),_0x3dc125),this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](de,this[_0x3454a8(0x1f8)],this['type'],this[_0x3454a8(0x3a4)],this['_pendingMutations'],this[_0x3454a8(0x49c)],!0x1);}}[_0x207232(0x390)](){var _0x31497b=_0x207232;throw new Error(_0x31497b(0x3db));}[_0x207232(0x343)](_0x3af8fa){var _0x50c4b8=_0x207232;return this[_0x50c4b8(0x306)]['push'](_0x3af8fa),this;}[_0x207232(0x4d0)](_0x10a599){var _0x2bae41=_0x207232;return this[_0x2bae41(0x3f0)]['push'](_0x10a599),this;}['onRemoteAck'](_0xf9b21b){var _0x29823c=_0x207232;if(this[_0x29823c(0x3a4)])return this[_0x29823c(0x311)]=this[_0x29823c(0x3a4)],this[_0x29823c(0x3a4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x207232(0x248)](_0x59ac83){var _0xab4f07=_0x207232;return this['_onConflict'](!!(_0x59ac83!=null&&_0x59ac83[_0xab4f07(0x4ba)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x197d62=_0x207232;return this[_0x197d62(0x406)][_0x197d62(0x3c1)](fe,this[_0x197d62(0x1f8)],this[_0x197d62(0x276)],this[_0x197d62(0x3a4)],this['_pendingMutations'],this[_0x197d62(0x49c)]);}[_0x207232(0x4df)](){return this;}[_0x207232(0x340)](_0x25c857){var _0x19f035=_0x207232;return this[_0x19f035(0x406)]['createInstance'](de,this[_0x19f035(0x1f8)],this['type'],this[_0x19f035(0x3a4)],this['_pendingMutations'],this['_handler'],_0x25c857);}};te=Re([A(0x7,_0x133bf8(_0x55be5b)),A(0x8,_0x133bf8(_0x34b3d6)),A(0x9,_0x248f6a),A(0xa,_0x1023d2),A(0xb,_0x1f81a8),A(0xc,_0x2452dd),A(0xd,_0x910b95(J))],te);function Di(_0x2d7213,_0x121360,_0x486904,_0x2d4656,_0x178095,_0x2eb710){var _0x2740ab=_0x207232;return _0x2d4656&&_0x178095[_0x2740ab(0x453)]?_0x2d7213[_0x2740ab(0x3c1)](ae,_0x121360,_0x486904,_0x2d4656,_0x178095,_0x2eb710,void 0x0):_0x2d4656?_0x2d7213[_0x2740ab(0x3c1)](ue,_0x121360,_0x486904,_0x2d4656,_0x2eb710):_0x178095[_0x2740ab(0x453)]?_0x2d7213[_0x2740ab(0x3c1)](oe,_0x121360,_0x486904,_0x178095,_0x2eb710):_0x2d7213['createInstance'](De,_0x121360,_0x486904,_0x2eb710);}var vr=Object[_0x207232(0x20c)],pr=Object[_0x207232(0x469)],Lt=(_0x1e7164,_0x1664c8,_0x46da70,_0x123371)=>{var _0x2eb6af=_0x207232;for(var _0x2bf21b=_0x123371>0x1?void 0x0:_0x123371?pr(_0x1664c8,_0x46da70):_0x1664c8,_0x1ca506=_0x1e7164[_0x2eb6af(0x453)]-0x1,_0xc84e69;_0x1ca506>=0x0;_0x1ca506--)(_0xc84e69=_0x1e7164[_0x1ca506])&&(_0x2bf21b=(_0x123371?_0xc84e69(_0x1664c8,_0x46da70,_0x2bf21b):_0xc84e69(_0x2bf21b))||_0x2bf21b);return _0x123371&&_0x2bf21b&&vr(_0x1664c8,_0x46da70,_0x2bf21b),_0x2bf21b;},k=(_0x50c75d,_0x14aa33)=>(_0x4eae3e,_0x3141f7)=>_0x14aa33(_0x4eae3e,_0x3141f7,_0x50c75d);let nt=class extends _0x57f232{constructor(_0x5f269e,_0x45d559,_0x84f267,_0x287994,_0x4427a3,_0x471342,_0x2cb371,_0x327b11,_0x596f58,_0x494757,_0x146e21,_0x108beb,_0x47f4b7){var _0xa4d5e6=_0x207232;super(),N(this,_0xa4d5e6(0x2f6),new _0x2d7615(null)),N(this,_0xa4d5e6(0x367),this[_0xa4d5e6(0x2f6)][_0xa4d5e6(0x2c0)]()),N(this,_0xa4d5e6(0x291)),N(this,_0xa4d5e6(0x4dd),!0x1),N(this,_0xa4d5e6(0x31b),''),N(this,_0xa4d5e6(0x227),0x0),N(this,'status$',this['state$'][_0xa4d5e6(0x216)](_0x15d044(_0x4728dd=>_0x4728dd?_0x4728dd[_0xa4d5e6(0x233)]:yi[_0xa4d5e6(0x2c3)]),_0xfd841d(0x1))),N(this,_0xa4d5e6(0x456),!0x1),N(this,_0xa4d5e6(0x272),[]),(this[_0xa4d5e6(0x1f8)]=_0x5f269e,this[_0xa4d5e6(0x33e)]=_0x45d559,this['_type']=_0x84f267,this[_0xa4d5e6(0x406)]=_0x287994,this[_0xa4d5e6(0x2a6)]=_0x4427a3,this[_0xa4d5e6(0x443)]=_0x471342,this[_0xa4d5e6(0x40e)]=_0x2cb371,this['_eventService']=_0x327b11,this[_0xa4d5e6(0x275)]=_0x596f58,this['_commandService']=_0x494757,this['_permissionService']=_0x146e21,this[_0xa4d5e6(0x436)]=_0x108beb,this['_localCacheService']=_0x47f4b7);}get[_0x207232(0x43e)](){var _0x16b74e=_0x207232;return this[_0x16b74e(0x291)];}async[_0x207232(0x4e4)](){var _0x4ce278=_0x207232;if(this[_0x4ce278(0x43e)])throw new Error(_0x4ce278(0x3ba));await this[_0x4ce278(0x2be)]();}[_0x207232(0x29c)](){var _0x297ccb=_0x207232;return this[_0x297ccb(0x4dd)]=!0x0,_0x5190ea(()=>{var _0x1b6423=_0x297ccb;this[_0x1b6423(0x4dd)]=!0x1,this[_0x1b6423(0x1fa)]();});}['onLocalMutation'](_0x3bb1f5){var _0xe085d3=_0x207232;this[_0xe085d3(0x473)](_0x3bb1f5);}['_updateState'](_0x59e21e){var _0xa64eba=_0x207232;this[_0xa64eba(0x291)]=_0x59e21e,this[_0xa64eba(0x2f6)][_0xa64eba(0x255)](_0x59e21e);}async[_0x207232(0x2be)](){var _0x1aabbf=_0x207232,_0x23a426;this[_0x1aabbf(0x3d8)](await this['_createInitialState']()),this[_0x1aabbf(0x436)]&&((_0x23a426=this[_0x1aabbf(0x436)])==null||_0x23a426['editingUnit'](this['unitID']),this[_0x1aabbf(0x200)](this[_0x1aabbf(0x436)][_0x1aabbf(0x4e0)](this[_0x1aabbf(0x1f8)])[_0x1aabbf(0x416)](_0x53f9ac=>{var _0x2053e8=_0x1aabbf;this['_logService'][_0x2053e8(0x32b)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x53f9ac),_0x53f9ac===bi[_0x2053e8(0x474)]?(this['_eventService'][_0x2053e8(0x491)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x2053e8(0x3da)]['updatePermissionPoint'](new _0x4351eb(this['unitID'])['id'],!0x1),this[_0x2053e8(0x3da)][_0x2053e8(0x38c)](!0x1)):(this[_0x2053e8(0x3da)][_0x2053e8(0x22c)](new _0x4351eb(this['unitID'])['id'],!0x0),this[_0x2053e8(0x3da)][_0x2053e8(0x38c)](!0x0));})));let _0x5ea3e3=!0x1;return this['disposeWithMe'](this['session'][_0x1aabbf(0x2c4)][_0x1aabbf(0x416)](_0x3b9396=>{_0x3b9396===Te['ONLINE']?this['_toggleOnline'](_0x5ea3e3):_0x3b9396===Te['OFFLINE']&&(_0x5ea3e3=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x1aabbf(0x33e)][_0x1aabbf(0x391)]['subscribe'](_0x1acff0=>{var _0x155e5b=_0x1aabbf;try{switch(_0x1acff0[_0x155e5b(0x35c)]){case _0x2e889b[_0x155e5b(0x31e)]:{this[_0x155e5b(0x3a3)](_0xc8ccf1(_0x1acff0[_0x155e5b(0x44c)]));break;}case _0x2e889b[_0x155e5b(0x280)]:{this[_0x155e5b(0x3dc)](_0x1acff0[_0x155e5b(0x44c)]);break;}case _0x2e889b['CHANGESET_REJ']:{this[_0x155e5b(0x228)]();break;}case _0x2e889b[_0x155e5b(0x232)]:{this[_0x155e5b(0x218)](_0x1acff0[_0x155e5b(0x44c)]);break;}case _0x2e889b[_0x155e5b(0x24b)]:{this[_0x155e5b(0x337)](_0x1acff0['data'][_0x155e5b(0x206)][_0x155e5b(0x4bf)](_0x29d856=>_0xc8ccf1(_0x29d856)));break;}case _0x2e889b[_0x155e5b(0x24f)]:{this[_0x155e5b(0x228)]({'isPermissionRej':!0x0});break;}case _0x2e889b[_0x155e5b(0x3d3)]:break;}}catch(_0xb5bf6){throw console[_0x155e5b(0x3aa)](_0x155e5b(0x4be),_0xb5bf6),_0xb5bf6;}})),this[_0x1aabbf(0x291)];}[_0x207232(0x39c)](){var _0x2913dd=_0x207232;this[_0x2913dd(0x456)]=!0x1;}[_0x207232(0x21d)](){var _0x5bf5c4=_0x207232;if(this[_0x5bf5c4(0x456)])throw new Error(_0x5bf5c4(0x378));this[_0x5bf5c4(0x456)]=!0x0;}[_0x207232(0x473)](_0xb1d4ce){var _0x3b4b38=_0x207232;this[_0x3b4b38(0x21d)](),this[_0x3b4b38(0x3d8)](this[_0x3b4b38(0x291)]['appendMutation'](_0xb1d4ce)),this[_0x3b4b38(0x39c)]();}['_onRemoteChangeset'](_0x3c27aa){var _0x19bb13=_0x207232;if(!(_0x3c27aa[_0x19bb13(0x427)]<=this['_revisionService'][_0x19bb13(0x2ca)](this[_0x19bb13(0x1f8)]))){if(this['_collaborationPaused']){this[_0x19bb13(0x272)][_0x19bb13(0x2ac)](_0x3c27aa);return;}this['_applyRemoteChangeset'](_0x3c27aa);}}['_exhaustRemoteChangesetQueue'](){var _0xd43c3c=_0x207232;this[_0xd43c3c(0x272)][_0xd43c3c(0x4c4)](_0x57bc1a=>this[_0xd43c3c(0x2b4)](_0x57bc1a)),this[_0xd43c3c(0x272)]=[];}[_0x207232(0x2b4)](_0x1c8f44){var _0x2b9671=_0x207232;const _0xee6ef3=this[_0x2b9671(0x2a6)]['interceptor'][_0x2b9671(0x235)](this[_0x2b9671(0x2a6)]['interceptor']['getInterceptPoints']()[_0x2b9671(0x2ec)])(_0x1c8f44[_0x2b9671(0x3ef)],null)||_0x1c8f44['mutations'],_0x1e3be9={..._0x1c8f44,'mutations':_0xee6ef3};this[_0x2b9671(0x21d)](),this[_0x2b9671(0x3d8)](this['_state'][_0x2b9671(0x4d0)](_0x1e3be9)),this['_unlockTransition']();}['_onRemoteACK'](_0x31953d){var _0x467d3a=_0x207232;this[_0x467d3a(0x21d)](),this[_0x467d3a(0x3d8)](this[_0x467d3a(0x291)]['onRemoteAck'](_0x31953d)),this[_0x467d3a(0x39c)]();}[_0x207232(0x228)](_0x338c30){var _0x35cb81=_0x207232;this['_lockTransition'](),this[_0x35cb81(0x3d8)](this[_0x35cb81(0x291)][_0x35cb81(0x248)](_0x338c30)),this[_0x35cb81(0x39c)]();}[_0x207232(0x218)](_0x2b89fc){var _0x17d5b8=_0x207232;this[_0x17d5b8(0x21d)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x2b89fc)),this[_0x17d5b8(0x39c)]();}[_0x207232(0x337)](_0x503aa3){var _0x1de5ac=_0x207232;if(!(this[_0x1de5ac(0x291)]instanceof te))throw new TypeError(_0x1de5ac(0x1f5));const _0x1893ee=_0x503aa3[_0x1de5ac(0x4bf)](_0x4c0a5b=>{var _0x2ef974=_0x1de5ac;const _0x5c418e=this[_0x2ef974(0x2a6)]['interceptor'][_0x2ef974(0x235)](this[_0x2ef974(0x2a6)][_0x2ef974(0x379)][_0x2ef974(0x4cf)]()['COMPRESS_MUTATION_APPLY'])(_0x4c0a5b['mutations'],null)||_0x4c0a5b[_0x2ef974(0x3ef)];return{..._0x4c0a5b,'mutations':_0x5c418e};});this[_0x1de5ac(0x21d)](),this[_0x1de5ac(0x3d8)](this[_0x1de5ac(0x291)][_0x1de5ac(0x3af)](_0x1893ee)),this['_unlockTransition']();}[_0x207232(0x357)](){var _0x46005d=_0x207232;this[_0x46005d(0x21d)](),this['_updateState'](this['_state'][_0x46005d(0x282)]()),this[_0x46005d(0x39c)]();}[_0x207232(0x470)](_0x564295=!0x1){var _0x162bfa=_0x207232;this[_0x162bfa(0x21d)](),this[_0x162bfa(0x3d8)](this['_state'][_0x162bfa(0x4df)]()),this['_unlockTransition']();const _0x34d4b9=this['_state'];_0x564295&&_0x34d4b9 instanceof De&&(this[_0x162bfa(0x21d)](),this[_0x162bfa(0x3d8)](_0x34d4b9[_0x162bfa(0x408)]()),this[_0x162bfa(0x39c)]());}async[_0x207232(0x359)](){return new Promise(_0x17b757=>{var _0x30830f=_0x2b1b;this[_0x30830f(0x33e)]['sessionStatus$']['pipe'](_0x452f05(0x1))[_0x30830f(0x416)](async _0x479a61=>{_0x17b757(await this['_createInitialStateImpl'](_0x479a61===Te['ONLINE']));});});}['_createHandler'](){var _0x34c02c=_0x207232;const _0x1e56f1=this[_0x34c02c(0x1f8)];return{'onStateChange':(_0x4c0f68,_0x384e87)=>{var _0x1d1f47=_0x34c02c;if(_0x4c0f68!==this[_0x1d1f47(0x291)])throw new Error(_0x1d1f47(0x2d3)+_0x4c0f68[_0x1d1f47(0x233)]+'\x0aAfter:\x20'+_0x384e87['status']+'\x0aCurrent:\x20'+this['_state'][_0x1d1f47(0x233)]);this[_0x1d1f47(0x3d8)](_0x384e87);},'onSendChangeset':_0x40b5ef=>{var _0x5e1e70=_0x34c02c;_0x40b5ef[_0x5e1e70(0x43b)]||(_0x40b5ef['sid']=this[_0x5e1e70(0x31b)],_0x40b5ef[_0x5e1e70(0x46f)]=++this['_changesetReqId']);const _0x5c32a9={'eventID':_0x2e889b['SUBMIT_CHANGESET'],'data':{'unitID':_0x40b5ef['unitID'],'unitType':this[_0x5e1e70(0x209)],'changeset':_0x40b5ef,'memberID':this['session'][_0x5e1e70(0x39d)]()}};this[_0x5e1e70(0x33e)][_0x5e1e70(0x2fe)](_0x5c32a9,this['unitID']);},'onMissingChangesets':({from:_0x37289b,to:_0x2e870c})=>{var _0xac08c8=_0x34c02c;this[_0xac08c8(0x275)][_0xac08c8(0x32b)](_0xac08c8(0x3b8),_0xac08c8(0x328)+_0x37289b+_0xac08c8(0x2d0)+_0x2e870c);const _0x5d22ca={'eventID':_0x2e889b[_0xac08c8(0x43c)],'data':{'unitID':_0x1e56f1,'unitType':this['_type'],'from':_0x37289b,'to':_0x2e870c}};this[_0xac08c8(0x33e)][_0xac08c8(0x2fe)](_0x5d22ca,this['unitID']);}};}async[_0x207232(0x226)](_0x2949c3){var _0x4145f8=_0x207232,_0x3f62bb,_0x22855f,_0x4c50c1;const _0x168954=await((_0x3f62bb=this[_0x4145f8(0x413)])==null?void 0x0:_0x3f62bb[_0x4145f8(0x239)](this[_0x4145f8(0x1f8)])),_0x4f4b0e=(_0x22855f=_0x168954==null?void 0x0:_0x168954['mutations'])!=null?_0x22855f:[],_0x27306c=(_0x4c50c1=_0x168954==null?void 0x0:_0x168954[_0x4145f8(0x419)])!=null?_0x4c50c1:null,_0x5b90e6=!!(_0x27306c!=null&&_0x27306c['sid'])&&!!(_0x27306c!=null&&_0x27306c[_0x4145f8(0x46f)]);this[_0x4145f8(0x31b)]=_0x5b90e6?_0x27306c[_0x4145f8(0x43b)]:sr(),this[_0x4145f8(0x227)]=_0x5b90e6?_0x27306c[_0x4145f8(0x46f)]:0x0;const _0x175784=this[_0x4145f8(0x1f8)];try{this[_0x4145f8(0x2af)](_0x27306c,_0x4f4b0e);}catch(_0x136d4b){this[_0x4145f8(0x275)]['error'](_0x136d4b);}const _0x288adf=this[_0x4145f8(0x4da)]();if(_0x2949c3){const _0x6c54ec=Di(this[_0x4145f8(0x406)],_0x175784,this[_0x4145f8(0x209)],_0x27306c,_0x4f4b0e,_0x288adf);return _0x6c54ec instanceof oe?_0x6c54ec['_schedule']():(_0x6c54ec instanceof ae||_0x6c54ec instanceof ue)&&_0x6c54ec['resend'](),_0x6c54ec;}return this[_0x4145f8(0x406)][_0x4145f8(0x3c1)](fe,_0x175784,this[_0x4145f8(0x209)],_0x27306c,_0x4f4b0e,_0x288adf);}[_0x207232(0x2af)](_0x556552,_0x70a5cd){var _0x2c85f8=_0x207232,_0x5f17fd,_0xb2f9ec;const _0x2d8769=this[_0x2c85f8(0x2a6)]['interceptor'][_0x2c85f8(0x235)](this[_0x2c85f8(0x2a6)]['interceptor'][_0x2c85f8(0x4cf)]()['COMPRESS_MUTATION_APPLY']);(_0x5f17fd=_0x2d8769((_0x556552==null?void 0x0:_0x556552[_0x2c85f8(0x3ef)])||[],null))==null||_0x5f17fd[_0x2c85f8(0x4c4)](_0x25324c=>this[_0x2c85f8(0x418)][_0x2c85f8(0x358)](_0x25324c['id'],_0x25324c[_0x2c85f8(0x3b2)])),(_0xb2f9ec=_0x2d8769(_0x70a5cd||[],null))==null||_0xb2f9ec[_0x2c85f8(0x4c4)](_0x8c8de5=>this[_0x2c85f8(0x418)]['executeCommand'](_0x8c8de5['id'],_0x8c8de5[_0x2c85f8(0x3b2)]));}};nt=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(pe)),k(0x8,_0x248f6a),k(0x9,_0x1023d2),k(0xa,_0x2921ea),k(0xb,_0x910b95(ht)),k(0xc,_0x910b95(J))],nt);let Tt=class extends nt{constructor(_0x57d2ea,_0x30e7c7,_0x193140,_0x25c7fc,_0x199c65,_0x4cb456,_0x5330e6,_0x129d4a,_0xa46be3,_0x592c8d,_0x21f602,_0x44eadb,_0x5d62e4){var _0x3b6f82=_0x207232;super(_0x57d2ea,_0x193140,_0x30e7c7,_0x25c7fc,_0x199c65,_0x4cb456,_0x5330e6,_0x129d4a,_0xa46be3,_0x592c8d,_0x21f602,_0x44eadb,_0x5d62e4),N(this,_0x3b6f82(0x2f8),null),(this[_0x3b6f82(0x1f8)]=_0x57d2ea,this[_0x3b6f82(0x276)]=_0x30e7c7);}['addHandlerCallback'](_0x1168d8){var _0x56999b=_0x207232;this[_0x56999b(0x2f8)]=_0x1168d8;}['dispose'](){var _0x2218db=_0x207232;this['_handlerCallback']=null,super[_0x2218db(0x1f1)]();}[_0x207232(0x4da)](){var _0x106496=_0x207232;const _0x1b21a5=super[_0x106496(0x4da)]();return _0x1b21a5[_0x106496(0x461)]=_0x5a6c87=>{var _0x5b4f1f=_0x106496,_0x1078b0,_0x446381;return(_0x446381=(_0x1078b0=this['_handlerCallback'])==null?void 0x0:_0x1078b0[_0x5b4f1f(0x461)])==null?void 0x0:_0x446381[_0x5b4f1f(0x281)](_0x1078b0,_0x5a6c87);},_0x1b21a5['onTransformState']=_0x2d8194=>{var _0x20d556=_0x106496,_0x41cc30,_0x2f230b;return(_0x2f230b=(_0x41cc30=this[_0x20d556(0x2f8)])==null?void 0x0:_0x41cc30[_0x20d556(0x329)])==null?void 0x0:_0x2f230b[_0x20d556(0x281)](_0x41cc30,_0x2d8194);},_0x1b21a5['onTransformSelections']=_0x46b1f8=>{var _0x23266e=_0x106496,_0x324435,_0x2b6fa2;return(_0x2b6fa2=(_0x324435=this['_handlerCallback'])==null?void 0x0:_0x324435[_0x23266e(0x4a3)])==null?void 0x0:_0x2b6fa2[_0x23266e(0x281)](_0x324435,_0x46b1f8);},_0x1b21a5[_0x106496(0x3c9)]=_0x1378a0=>{var _0x52c94f=_0x106496,_0x5c95be,_0xca97d4;return(_0xca97d4=(_0x5c95be=this[_0x52c94f(0x2f8)])==null?void 0x0:_0x5c95be[_0x52c94f(0x3c9)])==null?void 0x0:_0xca97d4['call'](_0x5c95be,_0x1378a0);},_0x1b21a5[_0x106496(0x345)]=_0x3aa7c0=>{var _0xd55bdb=_0x106496,_0x54d17f,_0x325c5d,_0x1d9818;if(!((_0x54d17f=this[_0xd55bdb(0x2f8)])!=null&&_0x54d17f[_0xd55bdb(0x345)]))throw new Error(_0xd55bdb(0x432));return(_0x1d9818=(_0x325c5d=this[_0xd55bdb(0x2f8)])==null?void 0x0:_0x325c5d[_0xd55bdb(0x345)])==null?void 0x0:_0x1d9818[_0xd55bdb(0x281)](_0x325c5d,_0x3aa7c0);},_0x1b21a5[_0x106496(0x4c9)]=_0x55dafb=>{var _0x55d2b4=_0x106496,_0x13c91b,_0x7b841b,_0x57ed29;if(!((_0x13c91b=this['_handlerCallback'])!=null&&_0x13c91b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x55d2b4(0x3ce));return(_0x57ed29=(_0x7b841b=this[_0x55d2b4(0x2f8)])==null?void 0x0:_0x7b841b[_0x55d2b4(0x4c9)])==null?void 0x0:_0x57ed29[_0x55d2b4(0x281)](_0x7b841b,_0x55dafb);},_0x1b21a5;}async[_0x207232(0x2be)](){var _0x3e8488=_0x207232;const _0x374fc5=await super[_0x3e8488(0x2be)]();return this['disposeWithMe'](this[_0x3e8488(0x418)][_0x3e8488(0x407)]((_0x5853f8,_0x287eb6)=>{var _0x9fa34=_0x3e8488;if(_0x5853f8[_0x9fa34(0x276)]!==_0xc31ed7[_0x9fa34(0x2ed)]||_0x287eb6!=null&&_0x287eb6['fromCollab']||_0x287eb6!=null&&_0x287eb6[_0x9fa34(0x35f)]||_0x5853f8['id']===_0x340e83['id'])return;const _0x266cf2=_0x5853f8[_0x9fa34(0x3b2)];if((_0x266cf2==null?void 0x0:_0x266cf2[_0x9fa34(0x393)])!==this['unitID'])return;const _0x19837b=_0x5853f8,_0x1d4db6=this[_0x9fa34(0x2a6)][_0x9fa34(0x379)]['fetchThroughInterceptors'](this[_0x9fa34(0x2a6)][_0x9fa34(0x379)][_0x9fa34(0x4cf)]()['COMPRESS_MUTATION_SEND'])([_0x19837b],null)||[_0x19837b];this[_0x9fa34(0x473)](_0x1d4db6[0x0]);})),_0x374fc5;}};Tt=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(pe)),k(0x8,_0x248f6a),k(0x9,_0x1023d2),k(0xa,_0x2921ea),k(0xb,_0x910b95(ht)),k(0xc,_0x910b95(J))],Tt);let Ct=class extends nt{constructor(_0x51857c,_0x5e38fa,_0xfc31f6,_0xdb1ad3,_0x35c76c,_0x445f74,_0x2fcea3,_0x314c9d,_0x2155cf,_0x5e2e8b,_0x21c56c,_0x25dc72,_0x904ca6,_0x382727){var _0x156910=_0x207232;super(_0x51857c,_0xfc31f6,_0x5e38fa,_0xdb1ad3,_0x35c76c,_0x445f74,_0x2fcea3,_0x2155cf,_0x5e2e8b,_0x21c56c,_0x25dc72,_0x904ca6,_0x382727),this[_0x156910(0x1f8)]=_0x51857c,this[_0x156910(0x276)]=_0x5e38fa,this['_sheetTransformSelectionsService']=_0x314c9d;}[_0x207232(0x4da)](){var _0x26fcdc=_0x207232;const _0x636cec=super[_0x26fcdc(0x4da)]();return _0x636cec[_0x26fcdc(0x4a3)]=_0x3ddfcf=>this[_0x26fcdc(0x256)]['transformSelections'](_0x3ddfcf),_0x636cec;}async['_init'](){var _0x4ba4d0=_0x207232;const _0x457043=await super[_0x4ba4d0(0x2be)]();return this[_0x4ba4d0(0x200)](this[_0x4ba4d0(0x418)][_0x4ba4d0(0x407)]((_0x170271,_0xf64017)=>{var _0x2ec55f=_0x4ba4d0;if(_0x170271['type']!==_0xc31ed7[_0x2ec55f(0x2ed)]||_0xf64017!=null&&_0xf64017[_0x2ec55f(0x3ee)]||_0xf64017!=null&&_0xf64017['onlyLocal'])return;const _0x4a11b6=_0x170271['params'];if((_0x4a11b6==null?void 0x0:_0x4a11b6['unitId'])!==this[_0x2ec55f(0x1f8)])return;const _0x47e57d=_0x170271,_0x533fa1=this[_0x2ec55f(0x2a6)]['interceptor'][_0x2ec55f(0x235)](this[_0x2ec55f(0x2a6)][_0x2ec55f(0x379)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x47e57d],null)||[_0x47e57d];this[_0x2ec55f(0x473)](_0x533fa1[0x0]);})),_0x457043;}};Ct=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(it)),k(0x8,_0x133bf8(pe)),k(0x9,_0x248f6a),k(0xa,_0x1023d2),k(0xb,_0x2921ea),k(0xc,_0x910b95(ht)),k(0xd,_0x910b95(J))],Ct);function _0x2b1b(_0x6e039c,_0x5eb9cf){var _0x158c9b=_0x158c();return _0x2b1b=function(_0x2b1bb8,_0x15e7c9){_0x2b1bb8=_0x2b1bb8-0x1ee;var _0x4b46d9=_0x158c9b[_0x2b1bb8];return _0x4b46d9;},_0x2b1b(_0x6e039c,_0x5eb9cf);}var mr=Object[_0x207232(0x20c)],gr=Object[_0x207232(0x469)],Sr=(_0x1f2eec,_0x16fd2a,_0x48703b,_0xd1dca1)=>{var _0x1e4c99=_0x207232;for(var _0x322252=_0xd1dca1>0x1?void 0x0:_0xd1dca1?gr(_0x16fd2a,_0x48703b):_0x16fd2a,_0x190fdf=_0x1f2eec[_0x1e4c99(0x453)]-0x1,_0x40d2b8;_0x190fdf>=0x0;_0x190fdf--)(_0x40d2b8=_0x1f2eec[_0x190fdf])&&(_0x322252=(_0xd1dca1?_0x40d2b8(_0x16fd2a,_0x48703b,_0x322252):_0x40d2b8(_0x322252))||_0x322252);return _0xd1dca1&&_0x322252&&mr(_0x16fd2a,_0x48703b,_0x322252),_0x322252;},ft=(_0x4ffbe3,_0x3f6221)=>(_0x2ac378,_0x47338f)=>_0x3f6221(_0x2ac378,_0x47338f,_0x4ffbe3);let rt=class extends _0x57f232{constructor(_0x29dd92,_0x266f2f,_0x34dc4f){var _0x288bd7=_0x207232;super(),N(this,_0x288bd7(0x2d1),new Map()),N(this,_0x288bd7(0x2d5),new _0x45b79d()),N(this,_0x288bd7(0x3a7),this[_0x288bd7(0x2d5)][_0x288bd7(0x2c0)]()),(this[_0x288bd7(0x406)]=_0x29dd92,this[_0x288bd7(0x472)]=_0x266f2f,this[_0x288bd7(0x244)]=_0x34dc4f,this[_0x288bd7(0x2be)]());}[_0x207232(0x1f1)](){var _0x8f00e3=_0x207232;super[_0x8f00e3(0x1f1)](),this['_entities'][_0x8f00e3(0x4c4)](_0x14435f=>_0x14435f['dispose']()),this[_0x8f00e3(0x2d1)][_0x8f00e3(0x2e2)]();}['getCollabEntity'](_0x3c73eb){var _0x4f9a63=_0x207232,_0x34ed6c;return(_0x34ed6c=this[_0x4f9a63(0x2d1)][_0x4f9a63(0x410)](_0x3c73eb))!=null?_0x34ed6c:null;}[_0x207232(0x2e0)](_0x5fc20){var _0x105be4=_0x207232;const _0x58d633=this[_0x105be4(0x4d3)](_0x5fc20);return _0x58d633?_0x31dc06(_0x58d633):this[_0x105be4(0x2d5)][_0x105be4(0x216)](_0x56a47a(_0x17a712=>_0x17a712['unitID']===_0x5fc20));}[_0x207232(0x38e)](_0x647e4b){var _0x4d311c=_0x207232;return _0x1ef7f8(this[_0x4d311c(0x2e0)](_0x647e4b)[_0x4d311c(0x216)](_0xbfa581(()=>{})));}[_0x207232(0x2be)](){var _0x21b7d7=_0x207232;this[_0x21b7d7(0x244)][_0x21b7d7(0x278)](_0x40e772[_0x21b7d7(0x1ff)])[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]),_0x3c333f(0x10))['subscribe'](async _0x46ef56=>{var _0x113755=_0x21b7d7;const _0x5d39c6=_0x46ef56[_0x113755(0x31c)](),_0x1fddc5=await this[_0x113755(0x2d9)](_0x5d39c6,Q[_0x113755(0x1ff)]);this[_0x113755(0x2d1)][_0x113755(0x459)](_0x5d39c6,_0x1fddc5);}),this[_0x21b7d7(0x244)][_0x21b7d7(0x278)](_0x40e772[_0x21b7d7(0x2f9)])[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]),_0x3c333f(0x10))['pipe'](_0x56a47a(_0x1f5960=>!_0x1f5960[_0x21b7d7(0x31c)]()['startsWith']('__')))[_0x21b7d7(0x416)](async _0xaa3d96=>{var _0x222b81=_0x21b7d7;const _0x1a690c=_0xaa3d96['getUnitId'](),_0x5d2148=await this['_startCollaboration'](_0x1a690c,Q[_0x222b81(0x2f9)]);this[_0x222b81(0x2d1)][_0x222b81(0x459)](_0x1a690c,_0x5d2148);}),_0x4ffbb0(this['_univerInstanceService'][_0x21b7d7(0x372)](_0x40e772[_0x21b7d7(0x1ff)]),this[_0x21b7d7(0x244)][_0x21b7d7(0x372)](_0x40e772[_0x21b7d7(0x2f9)]))[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]))[_0x21b7d7(0x416)](_0x5e8171=>{var _0x578e12=_0x21b7d7;const _0x4e048a=_0x5e8171[_0x578e12(0x31c)](),_0x45ec69=this[_0x578e12(0x2d1)][_0x578e12(0x410)](_0x4e048a);_0x45ec69&&(_0x45ec69[_0x578e12(0x1f1)](),this[_0x578e12(0x2d1)][_0x578e12(0x2d4)](_0x4e048a));});}async[_0x207232(0x2d9)](_0x8ab9e1,_0x13baa6){var _0x267f13=_0x207232;const _0x589fa2=await this[_0x267f13(0x472)]['requireSession'](_0x8ab9e1),_0x2a0a35=this[_0x267f13(0x406)][_0x267f13(0x3c1)](this[_0x267f13(0x317)](_0x13baa6),_0x8ab9e1,_0x13baa6,_0x589fa2);return await _0x2a0a35[_0x267f13(0x4e4)](),this[_0x267f13(0x2d5)][_0x267f13(0x255)](_0x2a0a35),_0x2a0a35;}['_getCtorByUniverType'](_0x47733f){var _0x57481e=_0x207232;switch(_0x47733f){case Q[_0x57481e(0x2f9)]:return Tt;case Q[_0x57481e(0x1ff)]:return Ct;default:throw new Error(_0x57481e(0x2db)+_0x47733f);}}};rt=Sr([ft(0x0,_0x133bf8(_0x55be5b)),ft(0x1,_0x133bf8(Le)),ft(0x2,_0x39ac8e)],rt);var Er=Object[_0x207232(0x20c)],Ir=Object[_0x207232(0x469)],Tr=(_0x29dc35,_0xf820c0,_0xfc0225,_0x46c7e8)=>{var _0xcf90cb=_0x207232;for(var _0x54dbe3=_0x46c7e8>0x1?void 0x0:_0x46c7e8?Ir(_0xf820c0,_0xfc0225):_0xf820c0,_0x6ad2e=_0x29dc35[_0xcf90cb(0x453)]-0x1,_0x144af6;_0x6ad2e>=0x0;_0x6ad2e--)(_0x144af6=_0x29dc35[_0x6ad2e])&&(_0x54dbe3=(_0x46c7e8?_0x144af6(_0xf820c0,_0xfc0225,_0x54dbe3):_0x144af6(_0x54dbe3))||_0x54dbe3);return _0x46c7e8&&_0x54dbe3&&Er(_0xf820c0,_0xfc0225,_0x54dbe3),_0x54dbe3;},Jt=(_0x5db41e,_0x3acb17)=>(_0x270a7b,_0x5de2f6)=>_0x3acb17(_0x270a7b,_0x5de2f6,_0x5db41e);const Cr='DEFAULT_FILE_NAME',Rr=_0x207232(0x304);let Rt=class extends _0xc4f5d{constructor(_0x322115,_0x50ec6e){var _0x3989e7=_0x207232;super(),this[_0x3989e7(0x244)]=_0x322115,this[_0x3989e7(0x452)]=_0x50ec6e,this[_0x3989e7(0x2be)]();}[_0x207232(0x2be)](){var _0x1dbbdc=_0x207232;this[_0x1dbbdc(0x200)](this['_univerInstanceService'][_0x1dbbdc(0x426)][_0x1dbbdc(0x416)](()=>{var _0x40fb43=_0x1dbbdc,_0x27bff4;const _0x18fad2=this[_0x40fb43(0x244)]['getFocusedUnit']();let _0x5e35e3=(_0x27bff4=this[_0x40fb43(0x452)][_0x40fb43(0x3a9)](Cr))!=null?_0x27bff4:Rr;_0x18fad2 instanceof _0x124bad&&(_0x5e35e3=_0x18fad2['name']),document[_0x40fb43(0x327)]=_0x5e35e3;}));}};Rt=Tr([Jt(0x0,_0x39ac8e),Jt(0x1,_0x2ddc28)],Rt);var br=Object[_0x207232(0x20c)],Or=Object[_0x207232(0x469)],yr=(_0x511767,_0x51d795,_0x418eb7,_0x413c83)=>{var _0x305c11=_0x207232;for(var _0x321c30=_0x413c83>0x1?void 0x0:_0x413c83?Or(_0x51d795,_0x418eb7):_0x51d795,_0x5a2629=_0x511767[_0x305c11(0x453)]-0x1,_0x36034d;_0x5a2629>=0x0;_0x5a2629--)(_0x36034d=_0x511767[_0x5a2629])&&(_0x321c30=(_0x413c83?_0x36034d(_0x51d795,_0x418eb7,_0x321c30):_0x36034d(_0x321c30))||_0x321c30);return _0x413c83&&_0x321c30&&br(_0x51d795,_0x418eb7,_0x321c30),_0x321c30;},vt=(_0x46acd8,_0x301f93)=>(_0x254a64,_0x86cd21)=>_0x301f93(_0x254a64,_0x86cd21,_0x46acd8);let st=class{constructor(_0x507e4d,_0x471ff0,_0x17a28f){var _0x2e8847=_0x207232;this[_0x2e8847(0x452)]=_0x507e4d,this[_0x2e8847(0x468)]=_0x471ff0,this[_0x2e8847(0x457)]=_0x17a28f,this[_0x2e8847(0x4e4)]();}[_0x207232(0x4e4)](){var _0xe6ba06=_0x207232;this[_0xe6ba06(0x468)][_0xe6ba06(0x44a)]({'priority':0x1,'interceptor':(_0x4aacae,_0x1faf10)=>_0x1faf10(_0x4aacae)[_0xe6ba06(0x216)](_0x5b8449(async _0x12db3c=>{var _0x56f0a0=_0xe6ba06;const _0x3abac4=_0x12db3c;if(_0x3abac4[_0x56f0a0(0x233)]===0x191){if(typeof window>'u')throw new Error(_0x56f0a0(0x3a6));if(window[_0x56f0a0(0x48b)](this[_0x56f0a0(0x457)]['t'](_0x56f0a0(0x331)))){const _0x438e73=window[_0x56f0a0(0x2f0)](window['location'][_0x56f0a0(0x4d6)]);window[_0x56f0a0(0x214)][_0x56f0a0(0x4d6)]=this[_0x56f0a0(0x387)]()+_0x56f0a0(0x247)+_0x438e73;}}return _0x3abac4;}))});}['_getLoginPath'](){var _0x162ec5=_0x207232,_0x1b1241,_0x10d65f;const _0x5f1a04=this[_0x162ec5(0x452)][_0x162ec5(0x3a9)](xn),_0x4fef9a=this[_0x162ec5(0x452)][_0x162ec5(0x3a9)](q);return(_0x10d65f=(_0x1b1241=_0x4fef9a==null?void 0x0:_0x4fef9a[_0x162ec5(0x277)])!=null?_0x1b1241:_0x5f1a04)!=null?_0x10d65f:Ln;}};st=yr([vt(0x0,_0x2ddc28),vt(0x1,_0x133bf8(_0xec288c)),vt(0x2,_0x133bf8(_0x5516c1))],st);var Nr=Object[_0x207232(0x20c)],Dr=Object[_0x207232(0x469)],Pr=(_0x5b7088,_0x1202dd,_0x126ffd,_0xd52b2)=>{var _0x18136b=_0x207232;for(var _0x5d40c8=_0xd52b2>0x1?void 0x0:_0xd52b2?Dr(_0x1202dd,_0x126ffd):_0x1202dd,_0x2da4be=_0x5b7088[_0x18136b(0x453)]-0x1,_0x25125c;_0x2da4be>=0x0;_0x2da4be--)(_0x25125c=_0x5b7088[_0x2da4be])&&(_0x5d40c8=(_0xd52b2?_0x25125c(_0x1202dd,_0x126ffd,_0x5d40c8):_0x25125c(_0x5d40c8))||_0x5d40c8);return _0xd52b2&&_0x5d40c8&&Nr(_0x1202dd,_0x126ffd,_0x5d40c8),_0x5d40c8;},Xt=(_0x3e1a23,_0x49a6e5)=>(_0x2c93d2,_0x472c30)=>_0x49a6e5(_0x2c93d2,_0x472c30,_0x3e1a23);const Pi='AUTHZ_URL_KEY',wr=_0x207232(0x41d);let bt=class extends _0xc4f5d{constructor(_0xf70e7d,_0x50b556){var _0x52849f=_0x207232;super(),this[_0x52849f(0x29b)]=_0xf70e7d,this[_0x52849f(0x452)]=_0x50b556,this[_0x52849f(0x36c)]();}[_0x207232(0x36c)](){var _0x34ffde=_0x207232;const _0x1f6feb=this;this[_0x34ffde(0x200)](this[_0x34ffde(0x29b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x83fcb8({'isMatch'(_0xd01e89){var _0x1ad291=_0x34ffde,_0xf1f714;if(_0xd01e89[_0x1ad291(0x439)]==='POST'&&((_0xf1f714=_0xd01e89['requestParams'])!=null&&_0xf1f714[_0x1ad291(0x242)])){const {objectID:_0x218ca5,objectType:_0x49dfcf}=_0xd01e89['requestParams']['body']||{};if(!_0x218ca5||_0x49dfcf===void 0x0)return!0x1;const _0x2df53f=_0x1f6feb[_0x1ad291(0x382)]()+'/'+_0x49dfcf+_0x1ad291(0x35b)+_0x218ca5+_0x1ad291(0x370);if(_0xd01e89[_0x1ad291(0x2f4)]===_0x2df53f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x26a9d4){var _0x19ef09;return(_0x19ef09=_0x26a9d4['requestParams'])==null?void 0x0:_0x19ef09['body'];},'mergeParamsToRequest'(_0x119593,_0x5999c2){var _0x5bf479=_0x34ffde;const _0x435e8a=_0x1f6feb[_0x5bf479(0x382)]()+_0x5bf479(0x2bf),_0x29a50c=_0x119593[_0x5bf479(0x217)]((_0x170978,_0xbbdb31)=>{var _0x2e6494=_0x5bf479;const {unitID:_0x38e09b,objectID:_0x3d51e6,objectType:_0x4e334b,actions:_0xd0ca0e}=_0xbbdb31;return _0x170978[_0x38e09b]||(_0x170978[_0x38e09b]={}),_0x170978[_0x38e09b][_0x3d51e6]||(_0x170978[_0x38e09b][_0x3d51e6]={'objectID':_0x3d51e6,'objectType':_0x4e334b,'actions':[]}),_0x170978[_0x38e09b][_0x3d51e6][_0x2e6494(0x2e6)][_0x2e6494(0x2ac)](..._0xd0ca0e),_0x170978;},{}),_0x41580a=[];for(const _0x452d00 in _0x29a50c)for(const _0x25ae7c in _0x29a50c[_0x452d00]){const {actions:_0x417b1a,objectType:_0x4b97be}=_0x29a50c[_0x452d00][_0x25ae7c],_0x1e19d8=[...new Set(_0x417b1a)];_0x41580a[_0x5bf479(0x2ac)]({'unitID':_0x452d00,'objectID':_0x25ae7c,'objectType':_0x4b97be,'actions':_0x1e19d8});}return new _0x3f9374(_0x5bf479(0x45e),_0x435e8a,{'headers':_0x5999c2['headers'],'withCredentials':_0x5999c2['withCredentials'],'responseType':_0x5999c2[_0x5bf479(0x23d)],'body':{'requests':_0x41580a}});}},{'distributeResult'(_0x4fbbc0,_0x948729){const {objectActions:_0x54d63b}=_0x4fbbc0;return _0x948729['map'](_0xb25c34=>{var _0x318a69=_0x2b1b;const {unitID:_0x2efc30,objectID:_0x41b0fa,actions:_0x3baa75}=_0xb25c34,_0x552604=_0x54d63b[_0x318a69(0x211)](_0x54ab4a=>_0x54ab4a[_0x318a69(0x1f8)]===_0x2efc30&&_0x54ab4a[_0x318a69(0x296)]===_0x41b0fa),_0x2e928d=_0x3baa75[_0x318a69(0x4bf)](_0x556edd=>_0x552604==null?void 0x0:_0x552604[_0x318a69(0x2e6)][_0x318a69(0x211)](_0x508305=>_0x508305[_0x318a69(0x20a)]===_0x556edd))[_0x318a69(0x279)](_0x184065=>!!_0x184065);return{'config':_0xb25c34,'result':{'actions':_0x2e928d,'error':_0x4fbbc0[_0x318a69(0x3aa)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1036b5=_0x207232,_0x30ab1e,_0x303499;const _0x3604e1=this[_0x1036b5(0x452)]['getConfig'](Pi),_0x3b6004=this['_configService'][_0x1036b5(0x3a9)](q);return(_0x303499=(_0x30ab1e=_0x3b6004==null?void 0x0:_0x3b6004[_0x1036b5(0x2fc)])!=null?_0x30ab1e:_0x3604e1)!=null?_0x303499:wr;}async[_0x207232(0x204)](_0x1a8575){var _0x203d53=_0x207232;const _0x30c4e9=this[_0x203d53(0x382)]()+'/'+_0x1a8575['objectType']+_0x203d53(0x355);return(await this['_HTTPService'][_0x203d53(0x3d5)](_0x30c4e9,{'body':_0x1a8575}))[_0x203d53(0x242)]['objectID']||'';}async[_0x207232(0x1fd)](_0x584401){var _0x33ac46=_0x207232;const _0x2e4d83=this[_0x33ac46(0x382)]()+_0x33ac46(0x430);return(await this[_0x33ac46(0x29b)][_0x33ac46(0x3d5)](_0x2e4d83,{'body':_0x584401}))['body'][_0x33ac46(0x32c)];}async['update'](_0x576d44){var _0x201b8c=_0x207232;const _0x42cc20=this[_0x201b8c(0x382)]()+'/'+_0x576d44[_0x201b8c(0x335)]+_0x201b8c(0x35b)+_0x576d44[_0x201b8c(0x296)];await this['_HTTPService'][_0x201b8c(0x3fc)](_0x42cc20,{'body':_0x576d44});}async[_0x207232(0x22f)](_0x5e7c80){var _0x53965f=_0x207232;const _0x270f10=this['_getAPIPrefixPath']()+'/'+_0x5e7c80[_0x53965f(0x335)]+_0x53965f(0x35b)+_0x5e7c80[_0x53965f(0x296)]+_0x53965f(0x370);return(await this[_0x53965f(0x29b)][_0x53965f(0x3d5)](_0x270f10,{'body':_0x5e7c80}))[_0x53965f(0x242)][_0x53965f(0x2e6)];}async[_0x207232(0x309)](_0x186803){var _0x5e4a36=_0x207232;const _0x507d2b=this[_0x5e4a36(0x382)]()+_0x5e4a36(0x2bf);return(await this[_0x5e4a36(0x29b)][_0x5e4a36(0x3d5)](_0x507d2b,{'body':{'requests':_0x186803}}))['body'][_0x5e4a36(0x47a)];}async['listRoles'](_0x7767e2){var _0x4f158a=_0x207232;const _0x207f3d=this[_0x4f158a(0x382)]()+'/'+_0x7767e2[_0x4f158a(0x335)]+_0x4f158a(0x48e),_0x14aa3f=await this[_0x4f158a(0x29b)][_0x4f158a(0x3d5)](_0x207f3d,{'body':_0x7767e2});return{'roles':_0x14aa3f[_0x4f158a(0x242)][_0x4f158a(0x497)],'actions':_0x14aa3f[_0x4f158a(0x242)][_0x4f158a(0x2e6)]};}async[_0x207232(0x39e)](_0xfe6df7){var _0x501102=_0x207232;const _0x2d3c30=this['_getAPIPrefixPath']()+_0x501102(0x287);await this['_HTTPService'][_0x501102(0x2d4)](_0x2d3c30,{'params':{'collaboratorID':_0xfe6df7[_0x501102(0x401)],'objectID':_0xfe6df7[_0x501102(0x296)],'unitID':_0xfe6df7[_0x501102(0x1f8)]}});}async[_0x207232(0x3ac)](_0x3d7af1){var _0xed18b6=_0x207232;const _0x218587=this[_0xed18b6(0x382)]()+_0xed18b6(0x287);await this[_0xed18b6(0x29b)][_0xed18b6(0x4b7)](_0x218587,{'body':_0x3d7af1});}async[_0x207232(0x3e8)](_0x31d931){var _0x2f2278=_0x207232;const _0x2d9291=this[_0x2f2278(0x382)]()+_0x2f2278(0x287);await this[_0x2f2278(0x29b)][_0x2f2278(0x3d5)](_0x2d9291,{'body':_0x31d931});}async[_0x207232(0x4d8)](_0x397d6a){var _0x444016=_0x207232;const _0x1b0c54=this[_0x444016(0x382)]()+_0x444016(0x287);return(await this[_0x444016(0x29b)][_0x444016(0x410)](_0x1b0c54,{'params':{'objectID':_0x397d6a[_0x444016(0x296)],'unitID':_0x397d6a[_0x444016(0x1f8)]}}))[_0x444016(0x242)]['collaborators'];}async[_0x207232(0x29f)](_0x582586){var _0x4d42c4=_0x207232;const _0x376d95=this[_0x4d42c4(0x382)]()+_0x4d42c4(0x287);await this[_0x4d42c4(0x29b)][_0x4d42c4(0x3fc)](_0x376d95,{'body':_0x582586});}};bt=Pr([Xt(0x0,_0x133bf8(_0xec288c)),Xt(0x1,_0x133bf8(_0x2ddc28))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3aad55){var _0x4da024=_0x207232;return _0x3aad55&&_0x3aad55['__esModule']&&Object['prototype'][_0x4da024(0x241)]['call'](_0x3aad55,_0x4da024(0x4c7))?_0x3aad55[_0x4da024(0x4c7)]:_0x3aad55;}var Ve={'exports':{}};function Ur(_0x32f5dd){var _0x145644=_0x207232;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x32f5dd+_0x145644(0x375));}var Ge={'exports':{}},Ar=Ge[_0x207232(0x267)],Zt;function ne(){var _0x3f512a=_0x207232;return Zt||(Zt=0x1,function(_0x57be3d,_0x161a0c){(function(_0x371ceb,_0x50a40d){_0x57be3d['exports']=_0x50a40d();}(Ar,function(){var _0x2b2760=_0x2b2760||function(_0x89e4dc,_0x178d15){var _0x23b156=_0x2b1b,_0x4456de;if(typeof window<'u'&&window[_0x23b156(0x3e2)]&&(_0x4456de=window[_0x23b156(0x3e2)]),typeof self<'u'&&self['crypto']&&(_0x4456de=self[_0x23b156(0x3e2)]),typeof globalThis<'u'&&globalThis[_0x23b156(0x3e2)]&&(_0x4456de=globalThis[_0x23b156(0x3e2)]),!_0x4456de&&typeof window<'u'&&window['msCrypto']&&(_0x4456de=window[_0x23b156(0x2d2)]),!_0x4456de&&typeof pt<'u'&&pt[_0x23b156(0x3e2)]&&(_0x4456de=pt[_0x23b156(0x3e2)]),!_0x4456de&&typeof Ur=='function')try{_0x4456de=require('crypto');}catch{}var _0x28d29b=function(){var _0x126610=_0x23b156;if(_0x4456de){if(typeof _0x4456de[_0x126610(0x301)]==_0x126610(0x314))try{return _0x4456de[_0x126610(0x301)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4456de[_0x126610(0x402)]==_0x126610(0x314))try{return _0x4456de[_0x126610(0x402)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3340d2=Object[_0x23b156(0x204)]||(function(){function _0x40aa63(){}return function(_0x31bd26){var _0x14241c=_0x2b1b,_0x2f4ac4;return _0x40aa63[_0x14241c(0x1ef)]=_0x31bd26,_0x2f4ac4=new _0x40aa63(),_0x40aa63[_0x14241c(0x1ef)]=null,_0x2f4ac4;};}()),_0x36c16b={},_0xef0af5=_0x36c16b[_0x23b156(0x3cb)]={},_0x24db53=_0xef0af5[_0x23b156(0x261)]=(function(){return{'extend':function(_0x5726da){var _0x5eaf2f=_0x2b1b,_0x5bc9e6=_0x3340d2(this);return _0x5726da&&_0x5bc9e6[_0x5eaf2f(0x421)](_0x5726da),(!_0x5bc9e6[_0x5eaf2f(0x241)]('init')||this[_0x5eaf2f(0x4e4)]===_0x5bc9e6[_0x5eaf2f(0x4e4)])&&(_0x5bc9e6[_0x5eaf2f(0x4e4)]=function(){var _0x560672=_0x5eaf2f;_0x5bc9e6['$super']['init'][_0x560672(0x47c)](this,arguments);}),_0x5bc9e6[_0x5eaf2f(0x4e4)]['prototype']=_0x5bc9e6,_0x5bc9e6[_0x5eaf2f(0x4c0)]=this,_0x5bc9e6;},'create':function(){var _0x308ad2=_0x2b1b,_0x3ec795=this['extend']();return _0x3ec795[_0x308ad2(0x4e4)][_0x308ad2(0x47c)](_0x3ec795,arguments),_0x3ec795;},'init':function(){},'mixIn':function(_0x26e1df){var _0x1691fb=_0x2b1b;for(var _0x16e640 in _0x26e1df)_0x26e1df[_0x1691fb(0x241)](_0x16e640)&&(this[_0x16e640]=_0x26e1df[_0x16e640]);_0x26e1df[_0x1691fb(0x241)](_0x1691fb(0x222))&&(this[_0x1691fb(0x222)]=_0x26e1df[_0x1691fb(0x222)]);},'clone':function(){var _0x45807b=_0x2b1b;return this[_0x45807b(0x4e4)][_0x45807b(0x1ef)][_0x45807b(0x385)](this);}};}()),_0x2895ab=_0xef0af5[_0x23b156(0x25d)]=_0x24db53['extend']({'init':function(_0x5424bc,_0x478ca6){var _0xe960da=_0x23b156;_0x5424bc=this[_0xe960da(0x36e)]=_0x5424bc||[],_0x478ca6!=_0x178d15?this[_0xe960da(0x231)]=_0x478ca6:this[_0xe960da(0x231)]=_0x5424bc['length']*0x4;},'toString':function(_0x1672d5){var _0x735f30=_0x23b156;return(_0x1672d5||_0x3e6e4b)[_0x735f30(0x438)](this);},'concat':function(_0x44fbcc){var _0x2f86af=_0x23b156,_0x3f2ccb=this['words'],_0x39877d=_0x44fbcc[_0x2f86af(0x36e)],_0x223efa=this[_0x2f86af(0x231)],_0x42875f=_0x44fbcc[_0x2f86af(0x231)];if(this['clamp'](),_0x223efa%0x4)for(var _0x34bbac=0x0;_0x34bbac<_0x42875f;_0x34bbac++){var _0x214f91=_0x39877d[_0x34bbac>>>0x2]>>>0x18-_0x34bbac%0x4*0x8&0xff;_0x3f2ccb[_0x223efa+_0x34bbac>>>0x2]|=_0x214f91<<0x18-(_0x223efa+_0x34bbac)%0x4*0x8;}else{for(var _0xca0cf8=0x0;_0xca0cf8<_0x42875f;_0xca0cf8+=0x4)_0x3f2ccb[_0x223efa+_0xca0cf8>>>0x2]=_0x39877d[_0xca0cf8>>>0x2];}return this[_0x2f86af(0x231)]+=_0x42875f,this;},'clamp':function(){var _0x15af74=_0x23b156,_0x3d06da=this[_0x15af74(0x36e)],_0x375bdf=this['sigBytes'];_0x3d06da[_0x375bdf>>>0x2]&=0xffffffff<<0x20-_0x375bdf%0x4*0x8,_0x3d06da['length']=_0x89e4dc[_0x15af74(0x21b)](_0x375bdf/0x4);},'clone':function(){var _0x3e8962=_0x23b156,_0x1cfb1b=_0x24db53[_0x3e8962(0x39f)][_0x3e8962(0x281)](this);return _0x1cfb1b[_0x3e8962(0x36e)]=this[_0x3e8962(0x36e)][_0x3e8962(0x27f)](0x0),_0x1cfb1b;},'random':function(_0xc6282c){var _0x1039a2=_0x23b156;for(var _0x152126=[],_0x1b915f=0x0;_0x1b915f<_0xc6282c;_0x1b915f+=0x4)_0x152126[_0x1039a2(0x2ac)](_0x28d29b());return new _0x2895ab[(_0x1039a2(0x4e4))](_0x152126,_0xc6282c);}}),_0x5c1aa3=_0x36c16b[_0x23b156(0x24d)]={},_0x3e6e4b=_0x5c1aa3['Hex']={'stringify':function(_0x7dfbaf){var _0x564b00=_0x23b156;for(var _0x57e5b4=_0x7dfbaf[_0x564b00(0x36e)],_0x2284bd=_0x7dfbaf['sigBytes'],_0x1ea05e=[],_0x13c471=0x0;_0x13c471<_0x2284bd;_0x13c471++){var _0x121a73=_0x57e5b4[_0x13c471>>>0x2]>>>0x18-_0x13c471%0x4*0x8&0xff;_0x1ea05e[_0x564b00(0x2ac)]((_0x121a73>>>0x4)[_0x564b00(0x222)](0x10)),_0x1ea05e[_0x564b00(0x2ac)]((_0x121a73&0xf)[_0x564b00(0x222)](0x10));}return _0x1ea05e[_0x564b00(0x21f)]('');},'parse':function(_0x583523){var _0x5eda18=_0x23b156;for(var _0x3cc0e4=_0x583523[_0x5eda18(0x453)],_0x5a1d23=[],_0x5760e2=0x0;_0x5760e2<_0x3cc0e4;_0x5760e2+=0x2)_0x5a1d23[_0x5760e2>>>0x3]|=parseInt(_0x583523['substr'](_0x5760e2,0x2),0x10)<<0x18-_0x5760e2%0x8*0x4;return new _0x2895ab[(_0x5eda18(0x4e4))](_0x5a1d23,_0x3cc0e4/0x2);}},_0x374334=_0x5c1aa3[_0x23b156(0x4d4)]={'stringify':function(_0xa9b9cb){var _0x3891e7=_0x23b156;for(var _0x4d6e80=_0xa9b9cb['words'],_0x65532f=_0xa9b9cb[_0x3891e7(0x231)],_0x1fe848=[],_0x5bd456=0x0;_0x5bd456<_0x65532f;_0x5bd456++){var _0x4b5373=_0x4d6e80[_0x5bd456>>>0x2]>>>0x18-_0x5bd456%0x4*0x8&0xff;_0x1fe848[_0x3891e7(0x2ac)](String['fromCharCode'](_0x4b5373));}return _0x1fe848[_0x3891e7(0x21f)]('');},'parse':function(_0x10149f){var _0xd0f3fa=_0x23b156;for(var _0x5d776e=_0x10149f[_0xd0f3fa(0x453)],_0x4099e9=[],_0x27a8e7=0x0;_0x27a8e7<_0x5d776e;_0x27a8e7++)_0x4099e9[_0x27a8e7>>>0x2]|=(_0x10149f[_0xd0f3fa(0x313)](_0x27a8e7)&0xff)<<0x18-_0x27a8e7%0x4*0x8;return new _0x2895ab['init'](_0x4099e9,_0x5d776e);}},_0x5e8407=_0x5c1aa3[_0x23b156(0x3f7)]={'stringify':function(_0x28ce21){var _0x171943=_0x23b156;try{return decodeURIComponent(escape(_0x374334[_0x171943(0x438)](_0x28ce21)));}catch{throw new Error(_0x171943(0x450));}},'parse':function(_0x2aabe8){var _0x95f66b=_0x23b156;return _0x374334[_0x95f66b(0x415)](unescape(encodeURIComponent(_0x2aabe8)));}},_0x3f7d3a=_0xef0af5[_0x23b156(0x45d)]=_0x24db53['extend']({'reset':function(){var _0x3f11d9=_0x23b156;this[_0x3f11d9(0x23e)]=new _0x2895ab[(_0x3f11d9(0x4e4))](),this[_0x3f11d9(0x477)]=0x0;},'_append':function(_0x3371cb){var _0x3da2de=_0x23b156;typeof _0x3371cb=='string'&&(_0x3371cb=_0x5e8407['parse'](_0x3371cb)),this[_0x3da2de(0x23e)][_0x3da2de(0x2fd)](_0x3371cb),this[_0x3da2de(0x477)]+=_0x3371cb[_0x3da2de(0x231)];},'_process':function(_0x1ab219){var _0x4cf12c=_0x23b156,_0xab1fbf,_0x16c73a=this[_0x4cf12c(0x23e)],_0x4ae2a6=_0x16c73a['words'],_0x8c1511=_0x16c73a[_0x4cf12c(0x231)],_0x228d77=this[_0x4cf12c(0x1f0)],_0x4bed11=_0x228d77*0x4,_0x4e043a=_0x8c1511/_0x4bed11;_0x1ab219?_0x4e043a=_0x89e4dc[_0x4cf12c(0x21b)](_0x4e043a):_0x4e043a=_0x89e4dc[_0x4cf12c(0x3f5)]((_0x4e043a|0x0)-this[_0x4cf12c(0x3d2)],0x0);var _0x36d3ed=_0x4e043a*_0x228d77,_0x24018e=_0x89e4dc['min'](_0x36d3ed*0x4,_0x8c1511);if(_0x36d3ed){for(var _0x2e13cd=0x0;_0x2e13cd<_0x36d3ed;_0x2e13cd+=_0x228d77)this[_0x4cf12c(0x3f9)](_0x4ae2a6,_0x2e13cd);_0xab1fbf=_0x4ae2a6[_0x4cf12c(0x39b)](0x0,_0x36d3ed),_0x16c73a[_0x4cf12c(0x231)]-=_0x24018e;}return new _0x2895ab[(_0x4cf12c(0x4e4))](_0xab1fbf,_0x24018e);},'clone':function(){var _0x55b239=_0x23b156,_0x52229e=_0x24db53[_0x55b239(0x39f)][_0x55b239(0x281)](this);return _0x52229e['_data']=this['_data']['clone'](),_0x52229e;},'_minBufferSize':0x0});_0xef0af5[_0x23b156(0x220)]=_0x3f7d3a[_0x23b156(0x385)]({'cfg':_0x24db53[_0x23b156(0x385)](),'init':function(_0x37e277){var _0x59a19e=_0x23b156;this[_0x59a19e(0x4b1)]=this['cfg'][_0x59a19e(0x385)](_0x37e277),this['reset']();},'reset':function(){var _0x1c0f47=_0x23b156;_0x3f7d3a[_0x1c0f47(0x38d)]['call'](this),this[_0x1c0f47(0x2c5)]();},'update':function(_0x2a95a4){var _0x415be4=_0x23b156;return this[_0x415be4(0x4b3)](_0x2a95a4),this[_0x415be4(0x4bb)](),this;},'finalize':function(_0x276c22){var _0x1efea4=_0x23b156;_0x276c22&&this[_0x1efea4(0x4b3)](_0x276c22);var _0x3786d6=this[_0x1efea4(0x348)]();return _0x3786d6;},'blockSize':0x10,'_createHelper':function(_0x28eff6){return function(_0x98cfe0,_0x128405){var _0x24e234=_0x2b1b;return new _0x28eff6[(_0x24e234(0x4e4))](_0x128405)['finalize'](_0x98cfe0);};},'_createHmacHelper':function(_0x2fa64e){return function(_0x3ca10e,_0x497d2a){var _0x9eaa40=_0x2b1b;return new _0x425d6d[(_0x9eaa40(0x3d0))]['init'](_0x2fa64e,_0x497d2a)['finalize'](_0x3ca10e);};}});var _0x425d6d=_0x36c16b[_0x23b156(0x294)]={};return _0x36c16b;}(Math);return _0x2b2760;}));}(Ge)),Ge[_0x3f512a(0x267)];}var We={'exports':{}},xr=We[_0x207232(0x267)],Qt;function wi(){var _0x4cb0bb=_0x207232;return Qt||(Qt=0x1,function(_0xbb7254,_0x2f690d){(function(_0x384f19,_0xebc70f){_0xbb7254['exports']=_0xebc70f(ne());}(xr,function(_0x5e32f5){var _0x54f35b=_0x2b1b;return(function(){var _0x21d5cc=_0x2b1b,_0x1de2b7=_0x5e32f5,_0x460c32=_0x1de2b7['lib'],_0x4d2b04=_0x460c32['WordArray'],_0x4fb029=_0x1de2b7[_0x21d5cc(0x24d)];_0x4fb029['Base64']={'stringify':function(_0x29c0d5){var _0x458710=_0x21d5cc,_0x5f4a4c=_0x29c0d5['words'],_0x485442=_0x29c0d5[_0x458710(0x231)],_0x2b7354=this[_0x458710(0x2b9)];_0x29c0d5[_0x458710(0x223)]();for(var _0x4d34f6=[],_0x2a66fd=0x0;_0x2a66fd<_0x485442;_0x2a66fd+=0x3)for(var _0x459db9=_0x5f4a4c[_0x2a66fd>>>0x2]>>>0x18-_0x2a66fd%0x4*0x8&0xff,_0x4920ef=_0x5f4a4c[_0x2a66fd+0x1>>>0x2]>>>0x18-(_0x2a66fd+0x1)%0x4*0x8&0xff,_0x3a0fbb=_0x5f4a4c[_0x2a66fd+0x2>>>0x2]>>>0x18-(_0x2a66fd+0x2)%0x4*0x8&0xff,_0x45fbf8=_0x459db9<<0x10|_0x4920ef<<0x8|_0x3a0fbb,_0x1a1696=0x0;_0x1a1696<0x4&&_0x2a66fd+_0x1a1696*0.75<_0x485442;_0x1a1696++)_0x4d34f6[_0x458710(0x2ac)](_0x2b7354[_0x458710(0x445)](_0x45fbf8>>>0x6*(0x3-_0x1a1696)&0x3f));var _0x28d32c=_0x2b7354[_0x458710(0x445)](0x40);if(_0x28d32c){for(;_0x4d34f6[_0x458710(0x453)]%0x4;)_0x4d34f6[_0x458710(0x2ac)](_0x28d32c);}return _0x4d34f6['join']('');},'parse':function(_0x33084d){var _0x4fdb38=_0x21d5cc,_0x313066=_0x33084d[_0x4fdb38(0x453)],_0xd2d0f6=this[_0x4fdb38(0x2b9)],_0x134f6b=this[_0x4fdb38(0x344)];if(!_0x134f6b){_0x134f6b=this[_0x4fdb38(0x344)]=[];for(var _0x1ce46d=0x0;_0x1ce46d<_0xd2d0f6[_0x4fdb38(0x453)];_0x1ce46d++)_0x134f6b[_0xd2d0f6[_0x4fdb38(0x313)](_0x1ce46d)]=_0x1ce46d;}var _0x3f3e34=_0xd2d0f6[_0x4fdb38(0x445)](0x40);if(_0x3f3e34){var _0x1681be=_0x33084d[_0x4fdb38(0x2f1)](_0x3f3e34);_0x1681be!==-0x1&&(_0x313066=_0x1681be);}return _0x39274e(_0x33084d,_0x313066,_0x134f6b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x39274e(_0x50c13e,_0x57dc67,_0xb36ed9){var _0x4d71f4=_0x21d5cc;for(var _0x432fd0=[],_0x2ef9d9=0x0,_0x39679e=0x0;_0x39679e<_0x57dc67;_0x39679e++)if(_0x39679e%0x4){var _0x545c3c=_0xb36ed9[_0x50c13e['charCodeAt'](_0x39679e-0x1)]<<_0x39679e%0x4*0x2,_0xb8447d=_0xb36ed9[_0x50c13e[_0x4d71f4(0x313)](_0x39679e)]>>>0x6-_0x39679e%0x4*0x2,_0x3e2e8a=_0x545c3c|_0xb8447d;_0x432fd0[_0x2ef9d9>>>0x2]|=_0x3e2e8a<<0x18-_0x2ef9d9%0x4*0x8,_0x2ef9d9++;}return _0x4d2b04[_0x4d71f4(0x204)](_0x432fd0,_0x2ef9d9);}}()),_0x5e32f5['enc'][_0x54f35b(0x3b4)];}));}(We)),We[_0x4cb0bb(0x267)];}var Ke={'exports':{}},Lr=Ke[_0x207232(0x267)],ei;function Mr(){var _0x8a9dcb=_0x207232;return ei||(ei=0x1,function(_0x3bb78f,_0x56258d){(function(_0x1405c1,_0x4bd916){var _0x47ed2f=_0x2b1b;_0x3bb78f[_0x47ed2f(0x267)]=_0x4bd916(ne());}(Lr,function(_0x298092){var _0x163b00=_0x2b1b;return function(_0x1f4670){var _0x1bb143=_0x2b1b,_0x3079e7=_0x298092,_0x546bc1=_0x3079e7[_0x1bb143(0x3cb)],_0x2bc228=_0x546bc1[_0x1bb143(0x25d)],_0x499884=_0x546bc1[_0x1bb143(0x220)],_0x5ad551=_0x3079e7[_0x1bb143(0x294)],_0x21e60d=[];(function(){var _0x15a11d=_0x1bb143;for(var _0x4cfd36=0x0;_0x4cfd36<0x40;_0x4cfd36++)_0x21e60d[_0x4cfd36]=_0x1f4670[_0x15a11d(0x3ec)](_0x1f4670[_0x15a11d(0x42f)](_0x4cfd36+0x1))*0x100000000|0x0;}());var _0x29ab33=_0x5ad551['MD5']=_0x499884[_0x1bb143(0x385)]({'_doReset':function(){this['_hash']=new _0x2bc228['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x278c24,_0x4822db){var _0x3a16e3=_0x1bb143;for(var _0x2fddd6=0x0;_0x2fddd6<0x10;_0x2fddd6++){var _0x17a72a=_0x4822db+_0x2fddd6,_0x15d243=_0x278c24[_0x17a72a];_0x278c24[_0x17a72a]=(_0x15d243<<0x8|_0x15d243>>>0x18)&0xff00ff|(_0x15d243<<0x18|_0x15d243>>>0x8)&0xff00ff00;}var _0x4e5719=this[_0x3a16e3(0x449)]['words'],_0x4256cc=_0x278c24[_0x4822db+0x0],_0xaf2e97=_0x278c24[_0x4822db+0x1],_0x5e7f29=_0x278c24[_0x4822db+0x2],_0x17dd18=_0x278c24[_0x4822db+0x3],_0x276b0e=_0x278c24[_0x4822db+0x4],_0x295a03=_0x278c24[_0x4822db+0x5],_0x3015e=_0x278c24[_0x4822db+0x6],_0x891556=_0x278c24[_0x4822db+0x7],_0x301b26=_0x278c24[_0x4822db+0x8],_0x2dc85a=_0x278c24[_0x4822db+0x9],_0x4d6809=_0x278c24[_0x4822db+0xa],_0x34d1e7=_0x278c24[_0x4822db+0xb],_0x4780b6=_0x278c24[_0x4822db+0xc],_0x25fdd6=_0x278c24[_0x4822db+0xd],_0x1a4f7a=_0x278c24[_0x4822db+0xe],_0x5ca339=_0x278c24[_0x4822db+0xf],_0x3e30d3=_0x4e5719[0x0],_0x44c485=_0x4e5719[0x1],_0x572c76=_0x4e5719[0x2],_0x56cf00=_0x4e5719[0x3];_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4256cc,0x7,_0x21e60d[0x0]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0xaf2e97,0xc,_0x21e60d[0x1]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5e7f29,0x11,_0x21e60d[0x2]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x17dd18,0x16,_0x21e60d[0x3]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x276b0e,0x7,_0x21e60d[0x4]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x295a03,0xc,_0x21e60d[0x5]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x3015e,0x11,_0x21e60d[0x6]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x891556,0x16,_0x21e60d[0x7]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x301b26,0x7,_0x21e60d[0x8]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x2dc85a,0xc,_0x21e60d[0x9]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x4d6809,0x11,_0x21e60d[0xa]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x34d1e7,0x16,_0x21e60d[0xb]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4780b6,0x7,_0x21e60d[0xc]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x25fdd6,0xc,_0x21e60d[0xd]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x1a4f7a,0x11,_0x21e60d[0xe]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x5ca339,0x16,_0x21e60d[0xf]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0xaf2e97,0x5,_0x21e60d[0x10]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x3015e,0x9,_0x21e60d[0x11]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x34d1e7,0xe,_0x21e60d[0x12]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4256cc,0x14,_0x21e60d[0x13]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x295a03,0x5,_0x21e60d[0x14]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4d6809,0x9,_0x21e60d[0x15]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5ca339,0xe,_0x21e60d[0x16]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x276b0e,0x14,_0x21e60d[0x17]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x2dc85a,0x5,_0x21e60d[0x18]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x1a4f7a,0x9,_0x21e60d[0x19]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x17dd18,0xe,_0x21e60d[0x1a]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x301b26,0x14,_0x21e60d[0x1b]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x25fdd6,0x5,_0x21e60d[0x1c]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x5e7f29,0x9,_0x21e60d[0x1d]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x891556,0xe,_0x21e60d[0x1e]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4780b6,0x14,_0x21e60d[0x1f]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x295a03,0x4,_0x21e60d[0x20]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x301b26,0xb,_0x21e60d[0x21]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x34d1e7,0x10,_0x21e60d[0x22]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x1a4f7a,0x17,_0x21e60d[0x23]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0xaf2e97,0x4,_0x21e60d[0x24]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x276b0e,0xb,_0x21e60d[0x25]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x891556,0x10,_0x21e60d[0x26]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4d6809,0x17,_0x21e60d[0x27]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x25fdd6,0x4,_0x21e60d[0x28]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4256cc,0xb,_0x21e60d[0x29]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x17dd18,0x10,_0x21e60d[0x2a]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x3015e,0x17,_0x21e60d[0x2b]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x2dc85a,0x4,_0x21e60d[0x2c]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4780b6,0xb,_0x21e60d[0x2d]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5ca339,0x10,_0x21e60d[0x2e]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x5e7f29,0x17,_0x21e60d[0x2f]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4256cc,0x6,_0x21e60d[0x30]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x891556,0xa,_0x21e60d[0x31]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x1a4f7a,0xf,_0x21e60d[0x32]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x295a03,0x15,_0x21e60d[0x33]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4780b6,0x6,_0x21e60d[0x34]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x17dd18,0xa,_0x21e60d[0x35]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x4d6809,0xf,_0x21e60d[0x36]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0xaf2e97,0x15,_0x21e60d[0x37]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x301b26,0x6,_0x21e60d[0x38]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x5ca339,0xa,_0x21e60d[0x39]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x3015e,0xf,_0x21e60d[0x3a]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x25fdd6,0x15,_0x21e60d[0x3b]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x276b0e,0x6,_0x21e60d[0x3c]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x34d1e7,0xa,_0x21e60d[0x3d]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5e7f29,0xf,_0x21e60d[0x3e]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x2dc85a,0x15,_0x21e60d[0x3f]),_0x4e5719[0x0]=_0x4e5719[0x0]+_0x3e30d3|0x0,_0x4e5719[0x1]=_0x4e5719[0x1]+_0x44c485|0x0,_0x4e5719[0x2]=_0x4e5719[0x2]+_0x572c76|0x0,_0x4e5719[0x3]=_0x4e5719[0x3]+_0x56cf00|0x0;},'_doFinalize':function(){var _0x3f6ff2=_0x1bb143,_0x45e2ae=this[_0x3f6ff2(0x23e)],_0x33a27f=_0x45e2ae['words'],_0x2d0918=this[_0x3f6ff2(0x477)]*0x8,_0x456841=_0x45e2ae[_0x3f6ff2(0x231)]*0x8;_0x33a27f[_0x456841>>>0x5]|=0x80<<0x18-_0x456841%0x20;var _0x3dd5ff=_0x1f4670[_0x3f6ff2(0x298)](_0x2d0918/0x100000000),_0x3143eb=_0x2d0918;_0x33a27f[(_0x456841+0x40>>>0x9<<0x4)+0xf]=(_0x3dd5ff<<0x8|_0x3dd5ff>>>0x18)&0xff00ff|(_0x3dd5ff<<0x18|_0x3dd5ff>>>0x8)&0xff00ff00,_0x33a27f[(_0x456841+0x40>>>0x9<<0x4)+0xe]=(_0x3143eb<<0x8|_0x3143eb>>>0x18)&0xff00ff|(_0x3143eb<<0x18|_0x3143eb>>>0x8)&0xff00ff00,_0x45e2ae['sigBytes']=(_0x33a27f[_0x3f6ff2(0x453)]+0x1)*0x4,this['_process']();for(var _0x26a08c=this[_0x3f6ff2(0x449)],_0x1b2e37=_0x26a08c[_0x3f6ff2(0x36e)],_0x973e82=0x0;_0x973e82<0x4;_0x973e82++){var _0x25718f=_0x1b2e37[_0x973e82];_0x1b2e37[_0x973e82]=(_0x25718f<<0x8|_0x25718f>>>0x18)&0xff00ff|(_0x25718f<<0x18|_0x25718f>>>0x8)&0xff00ff00;}return _0x26a08c;},'clone':function(){var _0x3d7c60=_0x1bb143,_0x312ec2=_0x499884[_0x3d7c60(0x39f)][_0x3d7c60(0x281)](this);return _0x312ec2['_hash']=this[_0x3d7c60(0x449)][_0x3d7c60(0x39f)](),_0x312ec2;}});function _0x1a722b(_0x42b370,_0x39192b,_0x32f8cb,_0x329e29,_0x3efbde,_0x377f5c,_0x1c3f71){var _0x54a221=_0x42b370+(_0x39192b&_0x32f8cb|~_0x39192b&_0x329e29)+_0x3efbde+_0x1c3f71;return(_0x54a221<<_0x377f5c|_0x54a221>>>0x20-_0x377f5c)+_0x39192b;}function _0x3aedd6(_0x55c54a,_0x5c0ee2,_0x325e84,_0xce05de,_0x16b689,_0x203375,_0x47cc50){var _0x282612=_0x55c54a+(_0x5c0ee2&_0xce05de|_0x325e84&~_0xce05de)+_0x16b689+_0x47cc50;return(_0x282612<<_0x203375|_0x282612>>>0x20-_0x203375)+_0x5c0ee2;}function _0x20a48d(_0x278344,_0x3d1b49,_0x37d8ab,_0x5227dd,_0x54008e,_0x47fb0c,_0x547a3f){var _0x56d104=_0x278344+(_0x3d1b49^_0x37d8ab^_0x5227dd)+_0x54008e+_0x547a3f;return(_0x56d104<<_0x47fb0c|_0x56d104>>>0x20-_0x47fb0c)+_0x3d1b49;}function _0x5597e7(_0x465e21,_0x62b695,_0x539e29,_0x84c56,_0x4447a1,_0x36083b,_0x4d0184){var _0x784c8=_0x465e21+(_0x539e29^(_0x62b695|~_0x84c56))+_0x4447a1+_0x4d0184;return(_0x784c8<<_0x36083b|_0x784c8>>>0x20-_0x36083b)+_0x62b695;}_0x3079e7[_0x1bb143(0x46b)]=_0x499884['_createHelper'](_0x29ab33),_0x3079e7['HmacMD5']=_0x499884[_0x1bb143(0x321)](_0x29ab33);}(Math),_0x298092[_0x163b00(0x46b)];}));}(Ke)),Ke[_0x8a9dcb(0x267)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x207232(0x267)],ti;function _0x158c(){var _0x477faa=['splice','_unlockTransition','getMemberID','deleteCollaborator','clone','_executeRemoteChangeset','transformUndoRedo','JOIN_ROOM_NOT_EXISTS','_onRemoteChangeset','_awaitingChangeset','ONLINE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','entityInit$','Cipher','getConfig','error','_waitForHeartbeatResponse','updateCollaborator','baseRev','_resendTimeout','onMissedChangesetFetched','onCommentUpdate','_key','params','UNRECOGNIZED','Base64','_sessions','_getSendChangesetTimeout','encode','[CollaborationEntity]','uniscriptRunEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','wsSessionTicketUrl','_memberService','waitForRoom$','_undoStacks','_clearUndo','/universer-api/oidc/authpage','createInstance','195839XdUjWy','CONNECTOR_DATA_TOO_LARGE','_getSignURL','runId','getMember','_snapshotServerService','SOCKET_FAILED_RETRY','onSyncEditingCollabCursor','_showConflictNotification','lib','byteLength','_ENC_XFORM_MODE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onJoinRoomEvent','HMAC','SUCCUSS','_minBufferSize','UNISCRIPT_RUN','_onCombEvent','post','socket\x20open.','Encryptor','_updateState','loadUnit','_permissionService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteACK','USERS_LEAVE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearHeartbeatTimer','random','setCurrentUser','crypto','leaveEvent','[SyncedState]:\x20received\x20rejection.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getRedoStack','dispose$','createCollaborator','_fetchMissChangesets','APPLY_REVISION_CONFILICT','_disableEditing','abs','unsubscribe','fromCollab','mutations','_queuedRemoteChangesets','commentUpdateEvent','LIVESHARE_NEW_HOST','toLowerCase','add','max','compute','Utf8','72EsOnDq','_doProcessBlock','_getUndoStack','infoRsp','put','_instanceService','_initDependencies','HmacSHA1','fetch_missing','collaboratorID','randomBytes','UNAUTHENTICATED','PasswordBasedCipher','rng','_injector','onCommandExecuted','fetchMiss','AWAITING_WITH_PENDING','_checkMissing','UNKNOWN_CODE','reconnect','_DEC_XFORM_MODE','_revisionService','_unitInfo$','get','not_collab','snapshotServerUrl','_localCacheService','_mode','parse','subscribe','CipherParams','_commandService','awaitingChangeset','_updateStatus','now','session.room-permission-denied','/universer-api/authz','_members','209670qsTsXu','PERSON','mixIn','subject','localCacheService','_waitCount','SOCKET_FAILED','focused$','revision','RETRY_CONNECTING_MAX_COUNT','1849560XJECbl','search','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','OpenSSL','\x20-\x20','userID','sin','/-/object/list','_onMessage','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','?size=','_substituteRedoStack','INTERNAL_ERROR','_singleActiveUnitService','_rescheduleHeartbeat','stringify','method','_socketService','sid','FETCH_MISSING','entries','state','transformMutationsWithChangeset','readAsDataURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','session.room-full','_localeService','ivSize','charAt','rev','application/json','originalMeta','_hash','registerHTTPInterceptor','COLLAB_SUBMIT_CHANGESET_URL','data','_removeRoom','ticket','_schedule','Malformed\x20UTF-8\x20data','_transformStateCache','_configService','length','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','m2Prime','_transitionLocked','localeService','pending','set','resolve','LICENSE_MAX_UNITS_EXCEEDED','CBC','BufferedBlockAlgorithm','POST','finalize','c2Prime','onTransformIME','[OfflineState]:\x20received\x20rejection.','findIndex','_onOffline','routeKey','FileId','SHOULD_CLOSE_CONN','_httpService','getOwnPropertyDescriptor','StreamCipher','MD5','_transformRemoteChangesetByIMECache','/universer-api/snapshot','equals','reqId','_toggleOnline','RECV','_collabSessionService','_onLocalMutation','OTHER_CLIENTS_EDITING','_transformStack','APPLY_NON_SEQUENTIAL_REVISION','_nDataBytes','COMMENT_UPDATE','session.join-failed','objectActions','_iv','apply','hasher','SHA1','open$','decryptBlock','_tryReconnect','getResourcesRequest','_joinRoom','_snapshotService','selections','then','compose','NoPadding','ERROR_IMAGE_TYPE','HEARTBEAT_TIMEOUT','confirm','result','APPLY_DUPLICATED','/role','YUUMI_UNABLE_LOAD_URL','unit-cache-','emitEvent','awaiting','_redoStacks','getTime','duration','LEAVE','roles','catch','code','image/gif','symbol','_handler','COMPLETION_FINISHED','sessionTicket','LIVESHARE_FETCH_OPERATIONS','encrypt','_initRequestHeader','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformSelections','_createHelper','_getSessionTicket','keySize','offline','getSheetBlock','_doCryptBlock','[UniverCollaborationClientPlugin]','_authzIoService','[OfflineState]:\x20received\x20acknowledgement.','_onUserLeave','transformSelections','MSG_FOR_ERROR','_retryConnectingTimer','cfg','__creator','_append','connection\x20error','/block/','decrypt','patch','session.room-not-exists','change$','isPermissionRej','_process','getWorkbookSelections','buffer','Error\x20on\x20receiving\x20event','map','$super','_replaceFileID','_getUploadFileURL','_members$','forEach','disableLocalCache','_socketReady','default','_clearRedo','onTransformRemoteChangesetByStateCache','kdf','byteOffset','onStarting','unitId\x20is\x20not\x20found','NOT_FOUND','getInterceptPoints','onRemoteChangeset','_collaborationUIEventService','CHANGESET_REVISION_CONFILICT','getCollabEntity','Latin1','/rev/','href','mode','listCollaborators','_roomMembers','_createHandler','16651ZzkyUf','_change$','_collaborationPaused','onRemoteAck','toggleOnline','getUnitStatus$','UUID','update','univer-pro.collaboration-client-socket-service','init','fetchMissingChangesets','commentUpdate$','_onUserJoin','reverse','salt','session.room-cnt-exceeds','HttpExport','csRejEvent','prototype','blockSize','dispose','onSendChangeset','[DataLoaderService]','NO_OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createSocket','getSnapshotAPIPath','unitID','21987588KMzMMa','_exhaustRemoteChangesetQueue','values','_listenToNetworkCondition','list','OTHER_CLIENT_EDITING','UNIVER_SHEET','disposeWithMe','JOIN_ROOM_PERMISSION_DENIED','_oKey','saveChangeset','create','[CollaborationSessionService]:\x20socket\x20error','changesets','__Key__','_initCloseConn','_type','action','&to=','defineProperty','[PendingState]:\x20received\x20acknowledgement.','_telemetryInfo','[SyncedState]:\x20received\x20acknowledgement.','180zuyDFa','find','memberID','_loadDoc','location','44XbBpBr','pipe','reduce','_onRemoteRetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_retryCount','ceil','APPLY_PERMISSION_DENIED','_lockTransition','_clearScheduledTask','join','Hasher','_roomCreated$','toString','clamp','TOO_MANY_REQUESTS','_sendHeartbeatTimer','_createInitialStateImpl','_changesetReqId','_onRemoteRejected','socket\x20close','searchParams','subUnitId','updatePermissionPoint','size','_scheduleCompleteTimestamp','allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','sigBytes','CHANGESET_SHOULD_RETRY','status','FETCH_MISS','fetchThroughInterceptors','_userManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','target','loadOfflineData','_clearTimeoutTimer','transformStack\x20failed!','createDecryptor','responseType','_data','ciphertext','GLOBAL_ROOMS_CNT_EXCEEDS','hasOwnProperty','body','/resources','_univerInstanceService','onMissingChangesets','resourceIDs','?url=','onRemoteRej','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','closeSession','PSEUDO_FETCH_MISSING_RESULT','[CollaborationState]:\x20apply\x20error!','enc','/unit/','PERMISSION_REJ','src','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration-client.local-cache-service','_hasher','isArray','next','_sheetTransformSelectionsService','/universer-api/uniscript','_keySchedule','UnitEmbedded','_throwTelemetryCollaborationNewChangeset','_getDownloadEndpointURL','close','WordArray','deepClone','LICENSE_DISTRO_REJECTED','_status$','Base','getUnitOnRev','_incrementRevisionNumber','getLatestCsReqIdBySid','_updateLocalCache','_socketMessageSubscription','exports','collaMsg','/new_changes','copyFileMeta','_networkConditionService','SEND_CHANGESET_TIMEOUT','unknown','sessionStatus','&assign=','updateOfflineData','status$','_remoteChangesetQueue','OPTIONAL','_commentUpdate$','_logService','type','loginUrlKey','getTypeOfUnitAdded$','filter','complete','BASE64','_sender','_collaborationTimeoutTimer','_registerDependencies','slice','CHANGESET_ACK','call','toggleOffline','/universer-api/snapshot/','SNAPSHOT_INVALID_SNAPSHOT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryEnsureSocket','/collaborator','UNDEFINED','addImageSourceCache','initWorkbookPermissionChange','[CollaborationSession]','getDeserializedSheetBlock','loadSheet','getValue','socketService','_sendingTimer','_state','Decryptor','&source=','algo','/fetchmissing?from=','objectID','cmd','floor','[OfflineState]:\x20received\x20changeset.','textRanges','_HTTPService','pauseCollaboration','HEARTBEAT','_unitID','putCollaborators','HEARTBEAT_INTERVAL','_xformMode','_onConnectionFailed','_emitMembers','enableAuthServer','_timeoutTimer','_compressMutationService','c1Prime','11ZHFusD','_imageSourceCache','_transformUndoredo','SUBMIT_CHANGESET','push','_transformRemoteChangesetByStateCache','_event$','_replayCachedMutations','AES','submit\x20changeset\x20error!','_resendTimer','[CollaborationUndoRedoService]','_applyRemoteChangeset','save\x20fail\x20reason\x20is\x20','_resendWithTimeout','key','close$','_map','EvpKDF','every','_getCurrentRevision','_candidateSocket','_init','/-/object/-/batch_allowed','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','sendChangesetTimeout','OFFLINE','sessionStatus$','_doReset','string','has','from','iterations','getCurrentRevOfUnit','UPDATE_CURSOR','INVALID_ARGUMENT','_transformService','JOIN_ROOM_FULL','loadDoc','\x20to\x20','_entities','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','delete','_entityInit$','execute','_http','onStateChange','_startCollaboration','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createSocketURL','_loadSheet','members','reject','getCollabEntity$','_onConnectionOpen','clear','UNIVER_PROJECT','file','includes','actions','append','APPLY_REJECT','liveShareOperation','setConfig','image/png','COMPRESS_MUTATION_APPLY','MUTATION','BlockCipher','range','encodeURIComponent','indexOf','replace','pluginName','url','onRemoteRetry','_state$','_clearCollaborationTimeoutTimer','_handlerCallback','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','getUnit','authzUrl','concat','send','collabSubmitChangesetUrl','getCurrentUser','getRandomValues','csAckEvent','pad','Univer','_cipher','_pendingMutations','HELLO','transformChangesets','batchAllowed','UPDATE_PERMISSION_OBJ','saveSheetBlock','/universer-api/file/{fileID}/sign-url','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AWAITING','padding','repeat','_acknowledgedAwaitingChangeset','ERROR_IMAGE','charCodeAt','function','JOINING','_initUnitPermissionChange','_getCtorByUniverType','permissionRejEvent','incrementRevOfUnit','_prevBlock','_changesetSessionId','getUnitId','_collaborationSessionService','NEW_CHANGESETS','[CollaborationSessionService]','SerializableCipher','_createHmacHelper','_onRecvEvent','_scheduleCollaborationTimeoutTimer','_commentService','_nRounds','INGEST','title','fetching\x20missing\x20changesets\x20from\x20','onTransformState','ALREADY_EXISTS','debug','objects','LOGIN_URL_KEY','[PendingState]:\x20received\x20rejection.','stopTime','refreshPermission','auth.needGotoLoginAlert','getImage','UNKNOWN_CMD','_undoRedoService','objectType','LIVESHARE_TERMINATE','_onFetchMissResult','45310pnZKhi','unpad','People','COLLAB_WEB_SOCKET_URL','UnitSnapshot','JOIN','session','_config','_onConflict','_shouldReportTelemetry','_parse','appendMutation','_reverseMap','onTransformRemoteChangesetByIMECache','bind','UNIVER_UNKNOWN','_doFinalize','createEncryptor','_createSocket','_telemetryService','CONFLICT','USERS_ENTER','updateMember','message$','signUrlServerUrl','_substituteUndoStack','348beDtUN','_syncEditingCollabCursor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/object','format','_toggleOffline','executeCommand','_createInitialState','FAIL','/object/','eventID','CLOSE_ROOM','joinRsp','onlyLocal','awaiting_with_pending','roomInfos','headers','_keyPriorReset','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','getSheetId','state$','removeMember','online$','capture','shouldCloseConn','_initMergeInterceptor','enableOfflineEditing','words','HttpImport','/allowed','_sessionStatus$','getTypeOfUnitDisposed$','conflict','_isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_startTelemetryCollaborationNewChangeset','SNAPSHOT_HAS_BEEN_REMOVED','[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.','interceptor','liveShareNewHost','_socket$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LIVESHARE_REQUEST_HOST','image/jpg','JOIN_ROOM_FAILED','IDLE','UNIVER_SLIDE','_getAPIPrefixPath','_getAPIPrefix','[FetchMissState]','extend','_socket','_getLoginPath','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveSnapshot','fromCharCode','hostname','setShowComponents','reset','readyForCollab','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resend','event$','name','unitId','override','3173492yWMGKP','requireSession','getUnitType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setWaitCount','PERMISSION_DENIED'];_0x158c=function(){return _0x477faa;};return _0x158c();}function Hr(){return ti||(ti=0x1,function(_0x7f1d74,_0x11f655){(function(_0x1ea33e,_0x1209d5){var _0x2e38a8=_0x2b1b;_0x7f1d74[_0x2e38a8(0x267)]=_0x1209d5(ne());}($r,function(_0x303eee){var _0x245f57=_0x2b1b;return(function(){var _0xe2f5fb=_0x2b1b,_0x28f786=_0x303eee,_0x3f89d9=_0x28f786['lib'],_0x44af3c=_0x3f89d9[_0xe2f5fb(0x25d)],_0xf8e111=_0x3f89d9[_0xe2f5fb(0x220)],_0x593d43=_0x28f786['algo'],_0x1fd80e=[],_0x402f17=_0x593d43['SHA1']=_0xf8e111['extend']({'_doReset':function(){var _0x53ed05=_0xe2f5fb;this['_hash']=new _0x44af3c[(_0x53ed05(0x4e4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54b6ca,_0x47031e){var _0x35a006=_0xe2f5fb;for(var _0x2e405a=this[_0x35a006(0x449)][_0x35a006(0x36e)],_0x2ac0bb=_0x2e405a[0x0],_0x4a4f84=_0x2e405a[0x1],_0x2072ad=_0x2e405a[0x2],_0x571727=_0x2e405a[0x3],_0x356754=_0x2e405a[0x4],_0x2daa4d=0x0;_0x2daa4d<0x50;_0x2daa4d++){if(_0x2daa4d<0x10)_0x1fd80e[_0x2daa4d]=_0x54b6ca[_0x47031e+_0x2daa4d]|0x0;else{var _0x35435e=_0x1fd80e[_0x2daa4d-0x3]^_0x1fd80e[_0x2daa4d-0x8]^_0x1fd80e[_0x2daa4d-0xe]^_0x1fd80e[_0x2daa4d-0x10];_0x1fd80e[_0x2daa4d]=_0x35435e<<0x1|_0x35435e>>>0x1f;}var _0x310502=(_0x2ac0bb<<0x5|_0x2ac0bb>>>0x1b)+_0x356754+_0x1fd80e[_0x2daa4d];_0x2daa4d<0x14?_0x310502+=(_0x4a4f84&_0x2072ad|~_0x4a4f84&_0x571727)+0x5a827999:_0x2daa4d<0x28?_0x310502+=(_0x4a4f84^_0x2072ad^_0x571727)+0x6ed9eba1:_0x2daa4d<0x3c?_0x310502+=(_0x4a4f84&_0x2072ad|_0x4a4f84&_0x571727|_0x2072ad&_0x571727)-0x70e44324:_0x310502+=(_0x4a4f84^_0x2072ad^_0x571727)-0x359d3e2a,_0x356754=_0x571727,_0x571727=_0x2072ad,_0x2072ad=_0x4a4f84<<0x1e|_0x4a4f84>>>0x2,_0x4a4f84=_0x2ac0bb,_0x2ac0bb=_0x310502;}_0x2e405a[0x0]=_0x2e405a[0x0]+_0x2ac0bb|0x0,_0x2e405a[0x1]=_0x2e405a[0x1]+_0x4a4f84|0x0,_0x2e405a[0x2]=_0x2e405a[0x2]+_0x2072ad|0x0,_0x2e405a[0x3]=_0x2e405a[0x3]+_0x571727|0x0,_0x2e405a[0x4]=_0x2e405a[0x4]+_0x356754|0x0;},'_doFinalize':function(){var _0x199225=_0xe2f5fb,_0x171241=this[_0x199225(0x23e)],_0x302985=_0x171241[_0x199225(0x36e)],_0x51c33b=this[_0x199225(0x477)]*0x8,_0x47f7a7=_0x171241['sigBytes']*0x8;return _0x302985[_0x47f7a7>>>0x5]|=0x80<<0x18-_0x47f7a7%0x20,_0x302985[(_0x47f7a7+0x40>>>0x9<<0x4)+0xe]=Math[_0x199225(0x298)](_0x51c33b/0x100000000),_0x302985[(_0x47f7a7+0x40>>>0x9<<0x4)+0xf]=_0x51c33b,_0x171241[_0x199225(0x231)]=_0x302985[_0x199225(0x453)]*0x4,this[_0x199225(0x4bb)](),this[_0x199225(0x449)];},'clone':function(){var _0x522a75=_0xe2f5fb,_0xf5bf82=_0xf8e111[_0x522a75(0x39f)][_0x522a75(0x281)](this);return _0xf5bf82[_0x522a75(0x449)]=this['_hash'][_0x522a75(0x39f)](),_0xf5bf82;}});_0x28f786['SHA1']=_0xf8e111[_0xe2f5fb(0x4a4)](_0x402f17),_0x28f786[_0xe2f5fb(0x3ff)]=_0xf8e111['_createHmacHelper'](_0x402f17);}()),_0x303eee[_0x245f57(0x47e)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x207232(0x267)],ii;function jr(){var _0x120ad9=_0x207232;return ii||(ii=0x1,function(_0x224bab,_0x3d1b43){(function(_0x45fca1,_0x132199){var _0x556665=_0x2b1b;_0x224bab[_0x556665(0x267)]=_0x132199(ne());}(kr,function(_0x381f55){(function(){var _0x262588=_0x2b1b,_0x1ff980=_0x381f55,_0x67fee9=_0x1ff980[_0x262588(0x3cb)],_0x11373e=_0x67fee9[_0x262588(0x261)],_0x4285b5=_0x1ff980[_0x262588(0x24d)],_0xbae317=_0x4285b5[_0x262588(0x3f7)],_0x36d31b=_0x1ff980[_0x262588(0x294)];_0x36d31b['HMAC']=_0x11373e['extend']({'init':function(_0x4a8cb5,_0x38e88b){var _0x26ce4c=_0x262588;_0x4a8cb5=this[_0x26ce4c(0x253)]=new _0x4a8cb5[(_0x26ce4c(0x4e4))](),typeof _0x38e88b=='string'&&(_0x38e88b=_0xbae317[_0x26ce4c(0x415)](_0x38e88b));var _0x29ae6e=_0x4a8cb5['blockSize'],_0x8b4c59=_0x29ae6e*0x4;_0x38e88b[_0x26ce4c(0x231)]>_0x8b4c59&&(_0x38e88b=_0x4a8cb5[_0x26ce4c(0x45f)](_0x38e88b)),_0x38e88b[_0x26ce4c(0x223)]();for(var _0x508bb4=this[_0x26ce4c(0x202)]=_0x38e88b['clone'](),_0x1f0aca=this['_iKey']=_0x38e88b[_0x26ce4c(0x39f)](),_0x616e8b=_0x508bb4['words'],_0x9b7c62=_0x1f0aca[_0x26ce4c(0x36e)],_0x58c68f=0x0;_0x58c68f<_0x29ae6e;_0x58c68f++)_0x616e8b[_0x58c68f]^=0x5c5c5c5c,_0x9b7c62[_0x58c68f]^=0x36363636;_0x508bb4[_0x26ce4c(0x231)]=_0x1f0aca['sigBytes']=_0x8b4c59,this[_0x26ce4c(0x38d)]();},'reset':function(){var _0x8402ee=_0x262588,_0xe0024d=this[_0x8402ee(0x253)];_0xe0024d[_0x8402ee(0x38d)](),_0xe0024d[_0x8402ee(0x4e2)](this['_iKey']);},'update':function(_0x19b6d8){var _0x422fae=_0x262588;return this[_0x422fae(0x253)][_0x422fae(0x4e2)](_0x19b6d8),this;},'finalize':function(_0x3a9da9){var _0xff42de=_0x262588,_0x391c54=this['_hasher'],_0x5e7d10=_0x391c54[_0xff42de(0x45f)](_0x3a9da9);_0x391c54[_0xff42de(0x38d)]();var _0x2dbfca=_0x391c54[_0xff42de(0x45f)](this['_oKey'][_0xff42de(0x39f)]()['concat'](_0x5e7d10));return _0x2dbfca;}});}());}));}(ze)),ze[_0x120ad9(0x267)];}var Br=Ye[_0x207232(0x267)],ni;function Ui(){var _0x2e4063=_0x207232;return ni||(ni=0x1,function(_0x568c8c,_0x1d0cfc){(function(_0x2bd58d,_0x3c0eef,_0x1b7df8){var _0x530ab0=_0x2b1b;_0x568c8c[_0x530ab0(0x267)]=_0x3c0eef(ne(),Hr(),jr());}(Br,function(_0xe8c43e){var _0x15ca54=_0x2b1b;return(function(){var _0x5507df=_0x2b1b,_0x41731f=_0xe8c43e,_0x25f8f0=_0x41731f[_0x5507df(0x3cb)],_0x514442=_0x25f8f0[_0x5507df(0x261)],_0x4e02fe=_0x25f8f0[_0x5507df(0x25d)],_0x21e226=_0x41731f['algo'],_0x33f7dc=_0x21e226[_0x5507df(0x46b)],_0x19a171=_0x21e226['EvpKDF']=_0x514442['extend']({'cfg':_0x514442['extend']({'keySize':0x80/0x20,'hasher':_0x33f7dc,'iterations':0x1}),'init':function(_0x2f0bb1){var _0x3c3e7c=_0x5507df;this[_0x3c3e7c(0x4b1)]=this[_0x3c3e7c(0x4b1)]['extend'](_0x2f0bb1);},'compute':function(_0x543e1d,_0x3b99ba){var _0x320ffb=_0x5507df;for(var _0x392acc,_0x35ae8e=this[_0x320ffb(0x4b1)],_0x2b0eed=_0x35ae8e[_0x320ffb(0x47d)][_0x320ffb(0x204)](),_0x3d1f44=_0x4e02fe[_0x320ffb(0x204)](),_0x2b8049=_0x3d1f44['words'],_0x13857b=_0x35ae8e[_0x320ffb(0x4a6)],_0x548de4=_0x35ae8e[_0x320ffb(0x2c9)];_0x2b8049[_0x320ffb(0x453)]<_0x13857b;){_0x392acc&&_0x2b0eed[_0x320ffb(0x4e2)](_0x392acc),_0x392acc=_0x2b0eed[_0x320ffb(0x4e2)](_0x543e1d)[_0x320ffb(0x45f)](_0x3b99ba),_0x2b0eed['reset']();for(var _0x443786=0x1;_0x443786<_0x548de4;_0x443786++)_0x392acc=_0x2b0eed['finalize'](_0x392acc),_0x2b0eed[_0x320ffb(0x38d)]();_0x3d1f44[_0x320ffb(0x2fd)](_0x392acc);}return _0x3d1f44['sigBytes']=_0x13857b*0x4,_0x3d1f44;}});_0x41731f[_0x5507df(0x2ba)]=function(_0x17064f,_0x18f4a0,_0x255ad8){var _0x41eb91=_0x5507df;return _0x19a171[_0x41eb91(0x204)](_0x255ad8)['compute'](_0x17064f,_0x18f4a0);};}()),_0xe8c43e[_0x15ca54(0x2ba)];}));}(Ye)),Ye[_0x2e4063(0x267)];}var Je={'exports':{}},Fr=Je[_0x207232(0x267)],ri;function Ai(){return ri||(ri=0x1,function(_0x4ba679,_0x26b5c7){(function(_0x2c5978,_0x41f581,_0x33ffbf){var _0x3d4254=_0x2b1b;_0x4ba679[_0x3d4254(0x267)]=_0x41f581(ne(),Ui());}(Fr,function(_0x270ab2){var _0x5daab0=_0x2b1b;_0x270ab2[_0x5daab0(0x3cb)][_0x5daab0(0x3a8)]||function(_0x2e995d){var _0x2f7c1f=_0x5daab0,_0x1de524=_0x270ab2,_0x535308=_0x1de524[_0x2f7c1f(0x3cb)],_0x2fcbf3=_0x535308[_0x2f7c1f(0x261)],_0x3fd9cb=_0x535308[_0x2f7c1f(0x25d)],_0x4942dd=_0x535308[_0x2f7c1f(0x45d)],_0x17242d=_0x1de524['enc'];_0x17242d[_0x2f7c1f(0x3f7)];var _0x18db6b=_0x17242d[_0x2f7c1f(0x3b4)],_0x521ccb=_0x1de524[_0x2f7c1f(0x294)],_0x499af4=_0x521ccb['EvpKDF'],_0x5eaf96=_0x535308[_0x2f7c1f(0x3a8)]=_0x4942dd[_0x2f7c1f(0x385)]({'cfg':_0x2fcbf3['extend'](),'createEncryptor':function(_0x51da26,_0x218382){var _0x177bb7=_0x2f7c1f;return this[_0x177bb7(0x204)](this['_ENC_XFORM_MODE'],_0x51da26,_0x218382);},'createDecryptor':function(_0xf248f0,_0x18ecb5){var _0x280a7b=_0x2f7c1f;return this['create'](this[_0x280a7b(0x40d)],_0xf248f0,_0x18ecb5);},'init':function(_0xde0eee,_0x4e027e,_0x423bc2){var _0x23b874=_0x2f7c1f;this[_0x23b874(0x4b1)]=this[_0x23b874(0x4b1)][_0x23b874(0x385)](_0x423bc2),this[_0x23b874(0x2a1)]=_0xde0eee,this[_0x23b874(0x3b1)]=_0x4e027e,this[_0x23b874(0x38d)]();},'reset':function(){var _0x20ee10=_0x2f7c1f;_0x4942dd[_0x20ee10(0x38d)]['call'](this),this[_0x20ee10(0x2c5)]();},'process':function(_0x122dfd){var _0x4d9e7c=_0x2f7c1f;return this[_0x4d9e7c(0x4b3)](_0x122dfd),this[_0x4d9e7c(0x4bb)]();},'finalize':function(_0x2d0c41){var _0x195efe=_0x2f7c1f;_0x2d0c41&&this[_0x195efe(0x4b3)](_0x2d0c41);var _0x1eef68=this[_0x195efe(0x348)]();return _0x1eef68;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x214b8e(_0x15abd3){var _0x19e0c2=_0x2b1b;return typeof _0x15abd3==_0x19e0c2(0x2c6)?_0x4ffc91:_0x1a580e;}return function(_0x10460b){return{'encrypt':function(_0x1656dd,_0x491b1e,_0x45725d){var _0x57baf8=_0x2b1b;return _0x214b8e(_0x491b1e)[_0x57baf8(0x4a0)](_0x10460b,_0x1656dd,_0x491b1e,_0x45725d);},'decrypt':function(_0x41906f,_0x2b0b1d,_0x277491){var _0x20479d=_0x2b1b;return _0x214b8e(_0x2b0b1d)[_0x20479d(0x4b6)](_0x10460b,_0x41906f,_0x2b0b1d,_0x277491);}};};}())});_0x535308[_0x2f7c1f(0x46a)]=_0x5eaf96[_0x2f7c1f(0x385)]({'_doFinalize':function(){var _0x5081fa=_0x2f7c1f,_0x2eb638=this[_0x5081fa(0x4bb)](!0x0);return _0x2eb638;},'blockSize':0x1});var _0x4a7c42=_0x1de524[_0x2f7c1f(0x4d7)]={},_0x537ecb=_0x535308['BlockCipherMode']=_0x2fcbf3[_0x2f7c1f(0x385)]({'createEncryptor':function(_0xf98dd,_0x365265){var _0x34afa5=_0x2f7c1f;return this[_0x34afa5(0x3d7)][_0x34afa5(0x204)](_0xf98dd,_0x365265);},'createDecryptor':function(_0x3744ea,_0x4fca5c){var _0x287030=_0x2f7c1f;return this[_0x287030(0x292)][_0x287030(0x204)](_0x3744ea,_0x4fca5c);},'init':function(_0x38c723,_0x327145){var _0x2d690f=_0x2f7c1f;this['_cipher']=_0x38c723,this[_0x2d690f(0x47b)]=_0x327145;}}),_0x7054a6=_0x4a7c42[_0x2f7c1f(0x45c)]=(function(){var _0x1207c1=_0x2f7c1f,_0x309434=_0x537ecb['extend']();_0x309434[_0x1207c1(0x3d7)]=_0x309434['extend']({'processBlock':function(_0x4d841d,_0x3b8017){var _0xf98852=_0x1207c1,_0x4dcf0a=this[_0xf98852(0x305)],_0xa98af7=_0x4dcf0a[_0xf98852(0x1f0)];_0x4319d['call'](this,_0x4d841d,_0x3b8017,_0xa98af7),_0x4dcf0a['encryptBlock'](_0x4d841d,_0x3b8017),this[_0xf98852(0x31a)]=_0x4d841d[_0xf98852(0x27f)](_0x3b8017,_0x3b8017+_0xa98af7);}}),_0x309434['Decryptor']=_0x309434[_0x1207c1(0x385)]({'processBlock':function(_0x1aae59,_0x1b82f2){var _0x283b55=_0x1207c1,_0x267699=this[_0x283b55(0x305)],_0x3bf979=_0x267699[_0x283b55(0x1f0)],_0x3cbfc8=_0x1aae59[_0x283b55(0x27f)](_0x1b82f2,_0x1b82f2+_0x3bf979);_0x267699[_0x283b55(0x480)](_0x1aae59,_0x1b82f2),_0x4319d[_0x283b55(0x281)](this,_0x1aae59,_0x1b82f2,_0x3bf979),this['_prevBlock']=_0x3cbfc8;}});function _0x4319d(_0x1253b0,_0x326ba4,_0x46ddae){var _0x27610a=_0x1207c1,_0x502146,_0x199ded=this[_0x27610a(0x47b)];_0x199ded?(_0x502146=_0x199ded,this['_iv']=_0x2e995d):_0x502146=this['_prevBlock'];for(var _0x29cb82=0x0;_0x29cb82<_0x46ddae;_0x29cb82++)_0x1253b0[_0x326ba4+_0x29cb82]^=_0x502146[_0x29cb82];}return _0x309434;}()),_0x35b00c=_0x1de524[_0x2f7c1f(0x303)]={},_0x14e6ce=_0x35b00c['Pkcs7']={'pad':function(_0x2d03d3,_0xc2f0e2){var _0x2b9f51=_0x2f7c1f;for(var _0x549773=_0xc2f0e2*0x4,_0x1e9183=_0x549773-_0x2d03d3['sigBytes']%_0x549773,_0x3f46ae=_0x1e9183<<0x18|_0x1e9183<<0x10|_0x1e9183<<0x8|_0x1e9183,_0x12d1ae=[],_0xff5906=0x0;_0xff5906<_0x1e9183;_0xff5906+=0x4)_0x12d1ae['push'](_0x3f46ae);var _0x4a6d49=_0x3fd9cb[_0x2b9f51(0x204)](_0x12d1ae,_0x1e9183);_0x2d03d3[_0x2b9f51(0x2fd)](_0x4a6d49);},'unpad':function(_0x572a42){var _0x46d02d=_0x2f7c1f,_0x208b69=_0x572a42[_0x46d02d(0x36e)][_0x572a42[_0x46d02d(0x231)]-0x1>>>0x2]&0xff;_0x572a42[_0x46d02d(0x231)]-=_0x208b69;}};_0x535308[_0x2f7c1f(0x2ee)]=_0x5eaf96[_0x2f7c1f(0x385)]({'cfg':_0x5eaf96[_0x2f7c1f(0x4b1)][_0x2f7c1f(0x385)]({'mode':_0x7054a6,'padding':_0x14e6ce}),'reset':function(){var _0x4f4f81=_0x2f7c1f,_0x7f1f7b;_0x5eaf96[_0x4f4f81(0x38d)]['call'](this);var _0x5ed010=this[_0x4f4f81(0x4b1)],_0x3618e7=_0x5ed010['iv'],_0x571ecb=_0x5ed010[_0x4f4f81(0x4d7)];this[_0x4f4f81(0x2a1)]==this[_0x4f4f81(0x3cd)]?_0x7f1f7b=_0x571ecb[_0x4f4f81(0x349)]:(_0x7f1f7b=_0x571ecb[_0x4f4f81(0x23c)],this['_minBufferSize']=0x1),this[_0x4f4f81(0x414)]&&this[_0x4f4f81(0x414)][_0x4f4f81(0x4b2)]==_0x7f1f7b?this[_0x4f4f81(0x414)][_0x4f4f81(0x4e4)](this,_0x3618e7&&_0x3618e7['words']):(this['_mode']=_0x7f1f7b[_0x4f4f81(0x281)](_0x571ecb,this,_0x3618e7&&_0x3618e7[_0x4f4f81(0x36e)]),this['_mode'][_0x4f4f81(0x4b2)]=_0x7f1f7b);},'_doProcessBlock':function(_0x3b7247,_0x34a7d9){this['_mode']['processBlock'](_0x3b7247,_0x34a7d9);},'_doFinalize':function(){var _0x454e0d=_0x2f7c1f,_0x28fd8f,_0x245c45=this['cfg'][_0x454e0d(0x30f)];return this[_0x454e0d(0x2a1)]==this[_0x454e0d(0x3cd)]?(_0x245c45[_0x454e0d(0x303)](this[_0x454e0d(0x23e)],this[_0x454e0d(0x1f0)]),_0x28fd8f=this['_process'](!0x0)):(_0x28fd8f=this[_0x454e0d(0x4bb)](!0x0),_0x245c45[_0x454e0d(0x339)](_0x28fd8f)),_0x28fd8f;},'blockSize':0x80/0x20});var _0x54a3c6=_0x535308[_0x2f7c1f(0x417)]=_0x2fcbf3[_0x2f7c1f(0x385)]({'init':function(_0x52e8e3){this['mixIn'](_0x52e8e3);},'toString':function(_0x3689fb){var _0x15bfd9=_0x2f7c1f;return(_0x3689fb||this['formatter'])[_0x15bfd9(0x438)](this);}}),_0x5a053d=_0x1de524['format']={},_0x5a072d=_0x5a053d[_0x2f7c1f(0x42c)]={'stringify':function(_0x4a2b9a){var _0x388be9=_0x2f7c1f,_0x244909,_0x366aa5=_0x4a2b9a[_0x388be9(0x23f)],_0x5393af=_0x4a2b9a[_0x388be9(0x4e9)];return _0x5393af?_0x244909=_0x3fd9cb[_0x388be9(0x204)]([0x53616c74,0x65645f5f])[_0x388be9(0x2fd)](_0x5393af)[_0x388be9(0x2fd)](_0x366aa5):_0x244909=_0x366aa5,_0x244909['toString'](_0x18db6b);},'parse':function(_0xecbf47){var _0xdd75a5=_0x2f7c1f,_0x507d0d,_0x5f945b=_0x18db6b[_0xdd75a5(0x415)](_0xecbf47),_0x456757=_0x5f945b[_0xdd75a5(0x36e)];return _0x456757[0x0]==0x53616c74&&_0x456757[0x1]==0x65645f5f&&(_0x507d0d=_0x3fd9cb['create'](_0x456757[_0xdd75a5(0x27f)](0x2,0x4)),_0x456757[_0xdd75a5(0x39b)](0x0,0x4),_0x5f945b[_0xdd75a5(0x231)]-=0x10),_0x54a3c6[_0xdd75a5(0x204)]({'ciphertext':_0x5f945b,'salt':_0x507d0d});}},_0x1a580e=_0x535308[_0x2f7c1f(0x320)]=_0x2fcbf3[_0x2f7c1f(0x385)]({'cfg':_0x2fcbf3[_0x2f7c1f(0x385)]({'format':_0x5a072d}),'encrypt':function(_0x501550,_0xd3fd6f,_0x38ea95,_0x53e473){var _0x27fb13=_0x2f7c1f;_0x53e473=this[_0x27fb13(0x4b1)][_0x27fb13(0x385)](_0x53e473);var _0x2ded20=_0x501550[_0x27fb13(0x349)](_0x38ea95,_0x53e473),_0x29b84e=_0x2ded20[_0x27fb13(0x45f)](_0xd3fd6f),_0x30aa7b=_0x2ded20[_0x27fb13(0x4b1)];return _0x54a3c6['create']({'ciphertext':_0x29b84e,'key':_0x38ea95,'iv':_0x30aa7b['iv'],'algorithm':_0x501550,'mode':_0x30aa7b[_0x27fb13(0x4d7)],'padding':_0x30aa7b[_0x27fb13(0x30f)],'blockSize':_0x501550[_0x27fb13(0x1f0)],'formatter':_0x53e473['format']});},'decrypt':function(_0xa9669e,_0x49756d,_0x40c6cd,_0x3bda01){var _0x58f7a8=_0x2f7c1f;_0x3bda01=this[_0x58f7a8(0x4b1)]['extend'](_0x3bda01),_0x49756d=this[_0x58f7a8(0x342)](_0x49756d,_0x3bda01['format']);var _0x310979=_0xa9669e['createDecryptor'](_0x40c6cd,_0x3bda01)[_0x58f7a8(0x45f)](_0x49756d['ciphertext']);return _0x310979;},'_parse':function(_0xb99b85,_0x49f9db){var _0x3faa08=_0x2f7c1f;return typeof _0xb99b85=='string'?_0x49f9db[_0x3faa08(0x415)](_0xb99b85,this):_0xb99b85;}}),_0x10c4f3=_0x1de524[_0x2f7c1f(0x4ca)]={},_0x5069c4=_0x10c4f3['OpenSSL']={'execute':function(_0x4d1312,_0x1c8d24,_0x4eecee,_0x429290,_0x38084a){var _0x41271d=_0x2f7c1f;if(_0x429290||(_0x429290=_0x3fd9cb[_0x41271d(0x3e0)](0x40/0x8)),_0x38084a)var _0x407575=_0x499af4[_0x41271d(0x204)]({'keySize':_0x1c8d24+_0x4eecee,'hasher':_0x38084a})[_0x41271d(0x3f6)](_0x4d1312,_0x429290);else var _0x407575=_0x499af4[_0x41271d(0x204)]({'keySize':_0x1c8d24+_0x4eecee})[_0x41271d(0x3f6)](_0x4d1312,_0x429290);var _0x3f6953=_0x3fd9cb['create'](_0x407575['words'][_0x41271d(0x27f)](_0x1c8d24),_0x4eecee*0x4);return _0x407575[_0x41271d(0x231)]=_0x1c8d24*0x4,_0x54a3c6['create']({'key':_0x407575,'iv':_0x3f6953,'salt':_0x429290});}},_0x4ffc91=_0x535308[_0x2f7c1f(0x404)]=_0x1a580e[_0x2f7c1f(0x385)]({'cfg':_0x1a580e['cfg'][_0x2f7c1f(0x385)]({'kdf':_0x5069c4}),'encrypt':function(_0x1c4589,_0x37a701,_0x22f188,_0x265d8f){var _0x2ff8a1=_0x2f7c1f;_0x265d8f=this[_0x2ff8a1(0x4b1)][_0x2ff8a1(0x385)](_0x265d8f);var _0x5a5a95=_0x265d8f[_0x2ff8a1(0x4ca)]['execute'](_0x22f188,_0x1c4589[_0x2ff8a1(0x4a6)],_0x1c4589[_0x2ff8a1(0x444)],_0x265d8f[_0x2ff8a1(0x4e9)],_0x265d8f[_0x2ff8a1(0x47d)]);_0x265d8f['iv']=_0x5a5a95['iv'];var _0x56581a=_0x1a580e[_0x2ff8a1(0x4a0)][_0x2ff8a1(0x281)](this,_0x1c4589,_0x37a701,_0x5a5a95[_0x2ff8a1(0x2b7)],_0x265d8f);return _0x56581a[_0x2ff8a1(0x421)](_0x5a5a95),_0x56581a;},'decrypt':function(_0x5ab149,_0x3ffea9,_0x1d8e14,_0x5aec88){var _0x190be9=_0x2f7c1f;_0x5aec88=this[_0x190be9(0x4b1)][_0x190be9(0x385)](_0x5aec88),_0x3ffea9=this['_parse'](_0x3ffea9,_0x5aec88[_0x190be9(0x356)]);var _0x4a0c29=_0x5aec88[_0x190be9(0x4ca)][_0x190be9(0x2d6)](_0x1d8e14,_0x5ab149[_0x190be9(0x4a6)],_0x5ab149[_0x190be9(0x444)],_0x3ffea9[_0x190be9(0x4e9)],_0x5aec88[_0x190be9(0x47d)]);_0x5aec88['iv']=_0x4a0c29['iv'];var _0x5214f7=_0x1a580e['decrypt'][_0x190be9(0x281)](this,_0x5ab149,_0x3ffea9,_0x4a0c29[_0x190be9(0x2b7)],_0x5aec88);return _0x5214f7;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x207232(0x267)],si;function Gr(){var _0x4e0d4d=_0x207232;return si||(si=0x1,function(_0x1fd8bd,_0xcf27d0){(function(_0xc50b3a,_0x5cdb5d,_0x3e5e64){var _0x16cfdf=_0x2b1b;_0x1fd8bd[_0x16cfdf(0x267)]=_0x5cdb5d(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xa944f7){return(function(){var _0x269ea5=_0x2b1b,_0x3bf81b=_0xa944f7,_0x530f77=_0x3bf81b['lib'],_0x3bbf7b=_0x530f77[_0x269ea5(0x2ee)],_0x224f5b=_0x3bf81b['algo'],_0x188ef3=[],_0x229659=[],_0x4a0d6b=[],_0x5b532e=[],_0x4efb7d=[],_0x3c0c45=[],_0xa96b0f=[],_0x2f16ef=[],_0xaa165c=[],_0x4bf7e5=[];(function(){for(var _0x37088c=[],_0x51907e=0x0;_0x51907e<0x100;_0x51907e++)_0x51907e<0x80?_0x37088c[_0x51907e]=_0x51907e<<0x1:_0x37088c[_0x51907e]=_0x51907e<<0x1^0x11b;for(var _0x1285f3=0x0,_0x113df9=0x0,_0x51907e=0x0;_0x51907e<0x100;_0x51907e++){var _0x1599e3=_0x113df9^_0x113df9<<0x1^_0x113df9<<0x2^_0x113df9<<0x3^_0x113df9<<0x4;_0x1599e3=_0x1599e3>>>0x8^_0x1599e3&0xff^0x63,_0x188ef3[_0x1285f3]=_0x1599e3,_0x229659[_0x1599e3]=_0x1285f3;var _0x243ac8=_0x37088c[_0x1285f3],_0xabcc69=_0x37088c[_0x243ac8],_0x2aa081=_0x37088c[_0xabcc69],_0x95e450=_0x37088c[_0x1599e3]*0x101^_0x1599e3*0x1010100;_0x4a0d6b[_0x1285f3]=_0x95e450<<0x18|_0x95e450>>>0x8,_0x5b532e[_0x1285f3]=_0x95e450<<0x10|_0x95e450>>>0x10,_0x4efb7d[_0x1285f3]=_0x95e450<<0x8|_0x95e450>>>0x18,_0x3c0c45[_0x1285f3]=_0x95e450;var _0x95e450=_0x2aa081*0x1010101^_0xabcc69*0x10001^_0x243ac8*0x101^_0x1285f3*0x1010100;_0xa96b0f[_0x1599e3]=_0x95e450<<0x18|_0x95e450>>>0x8,_0x2f16ef[_0x1599e3]=_0x95e450<<0x10|_0x95e450>>>0x10,_0xaa165c[_0x1599e3]=_0x95e450<<0x8|_0x95e450>>>0x18,_0x4bf7e5[_0x1599e3]=_0x95e450,_0x1285f3?(_0x1285f3=_0x243ac8^_0x37088c[_0x37088c[_0x37088c[_0x2aa081^_0x243ac8]]],_0x113df9^=_0x37088c[_0x37088c[_0x113df9]]):_0x1285f3=_0x113df9=0x1;}}());var _0x1d21f4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5e25c0=_0x224f5b['AES']=_0x3bbf7b[_0x269ea5(0x385)]({'_doReset':function(){var _0x1fe122=_0x269ea5,_0x2b20e0;if(!(this['_nRounds']&&this[_0x1fe122(0x363)]===this['_key'])){for(var _0x422a29=this[_0x1fe122(0x363)]=this['_key'],_0xc4dd19=_0x422a29[_0x1fe122(0x36e)],_0x24cbdb=_0x422a29[_0x1fe122(0x231)]/0x4,_0x3a4a24=this[_0x1fe122(0x325)]=_0x24cbdb+0x6,_0x6c928c=(_0x3a4a24+0x1)*0x4,_0x28e36d=this[_0x1fe122(0x258)]=[],_0x98e40e=0x0;_0x98e40e<_0x6c928c;_0x98e40e++)_0x98e40e<_0x24cbdb?_0x28e36d[_0x98e40e]=_0xc4dd19[_0x98e40e]:(_0x2b20e0=_0x28e36d[_0x98e40e-0x1],_0x98e40e%_0x24cbdb?_0x24cbdb>0x6&&_0x98e40e%_0x24cbdb==0x4&&(_0x2b20e0=_0x188ef3[_0x2b20e0>>>0x18]<<0x18|_0x188ef3[_0x2b20e0>>>0x10&0xff]<<0x10|_0x188ef3[_0x2b20e0>>>0x8&0xff]<<0x8|_0x188ef3[_0x2b20e0&0xff]):(_0x2b20e0=_0x2b20e0<<0x8|_0x2b20e0>>>0x18,_0x2b20e0=_0x188ef3[_0x2b20e0>>>0x18]<<0x18|_0x188ef3[_0x2b20e0>>>0x10&0xff]<<0x10|_0x188ef3[_0x2b20e0>>>0x8&0xff]<<0x8|_0x188ef3[_0x2b20e0&0xff],_0x2b20e0^=_0x1d21f4[_0x98e40e/_0x24cbdb|0x0]<<0x18),_0x28e36d[_0x98e40e]=_0x28e36d[_0x98e40e-_0x24cbdb]^_0x2b20e0);for(var _0x182522=this['_invKeySchedule']=[],_0x575f5f=0x0;_0x575f5f<_0x6c928c;_0x575f5f++){var _0x98e40e=_0x6c928c-_0x575f5f;if(_0x575f5f%0x4)var _0x2b20e0=_0x28e36d[_0x98e40e];else var _0x2b20e0=_0x28e36d[_0x98e40e-0x4];_0x575f5f<0x4||_0x98e40e<=0x4?_0x182522[_0x575f5f]=_0x2b20e0:_0x182522[_0x575f5f]=_0xa96b0f[_0x188ef3[_0x2b20e0>>>0x18]]^_0x2f16ef[_0x188ef3[_0x2b20e0>>>0x10&0xff]]^_0xaa165c[_0x188ef3[_0x2b20e0>>>0x8&0xff]]^_0x4bf7e5[_0x188ef3[_0x2b20e0&0xff]];}}},'encryptBlock':function(_0x274cec,_0x10481e){var _0x158cb1=_0x269ea5;this[_0x158cb1(0x4a9)](_0x274cec,_0x10481e,this[_0x158cb1(0x258)],_0x4a0d6b,_0x5b532e,_0x4efb7d,_0x3c0c45,_0x188ef3);},'decryptBlock':function(_0x3d6ac7,_0x58d48b){var _0xaad1ea=_0x269ea5,_0x1116a0=_0x3d6ac7[_0x58d48b+0x1];_0x3d6ac7[_0x58d48b+0x1]=_0x3d6ac7[_0x58d48b+0x3],_0x3d6ac7[_0x58d48b+0x3]=_0x1116a0,this[_0xaad1ea(0x4a9)](_0x3d6ac7,_0x58d48b,this['_invKeySchedule'],_0xa96b0f,_0x2f16ef,_0xaa165c,_0x4bf7e5,_0x229659);var _0x1116a0=_0x3d6ac7[_0x58d48b+0x1];_0x3d6ac7[_0x58d48b+0x1]=_0x3d6ac7[_0x58d48b+0x3],_0x3d6ac7[_0x58d48b+0x3]=_0x1116a0;},'_doCryptBlock':function(_0xa07e48,_0x433d36,_0x12cd6d,_0x2e9152,_0x10d30d,_0x20b577,_0x204949,_0x5506b1){for(var _0x18f4af=this['_nRounds'],_0x561a39=_0xa07e48[_0x433d36]^_0x12cd6d[0x0],_0x5a280a=_0xa07e48[_0x433d36+0x1]^_0x12cd6d[0x1],_0x9b1e1d=_0xa07e48[_0x433d36+0x2]^_0x12cd6d[0x2],_0x2dab60=_0xa07e48[_0x433d36+0x3]^_0x12cd6d[0x3],_0x2e5181=0x4,_0x3961ec=0x1;_0x3961ec<_0x18f4af;_0x3961ec++){var _0x36c40c=_0x2e9152[_0x561a39>>>0x18]^_0x10d30d[_0x5a280a>>>0x10&0xff]^_0x20b577[_0x9b1e1d>>>0x8&0xff]^_0x204949[_0x2dab60&0xff]^_0x12cd6d[_0x2e5181++],_0x1d2270=_0x2e9152[_0x5a280a>>>0x18]^_0x10d30d[_0x9b1e1d>>>0x10&0xff]^_0x20b577[_0x2dab60>>>0x8&0xff]^_0x204949[_0x561a39&0xff]^_0x12cd6d[_0x2e5181++],_0x479122=_0x2e9152[_0x9b1e1d>>>0x18]^_0x10d30d[_0x2dab60>>>0x10&0xff]^_0x20b577[_0x561a39>>>0x8&0xff]^_0x204949[_0x5a280a&0xff]^_0x12cd6d[_0x2e5181++],_0xad3a12=_0x2e9152[_0x2dab60>>>0x18]^_0x10d30d[_0x561a39>>>0x10&0xff]^_0x20b577[_0x5a280a>>>0x8&0xff]^_0x204949[_0x9b1e1d&0xff]^_0x12cd6d[_0x2e5181++];_0x561a39=_0x36c40c,_0x5a280a=_0x1d2270,_0x9b1e1d=_0x479122,_0x2dab60=_0xad3a12;}var _0x36c40c=(_0x5506b1[_0x561a39>>>0x18]<<0x18|_0x5506b1[_0x5a280a>>>0x10&0xff]<<0x10|_0x5506b1[_0x9b1e1d>>>0x8&0xff]<<0x8|_0x5506b1[_0x2dab60&0xff])^_0x12cd6d[_0x2e5181++],_0x1d2270=(_0x5506b1[_0x5a280a>>>0x18]<<0x18|_0x5506b1[_0x9b1e1d>>>0x10&0xff]<<0x10|_0x5506b1[_0x2dab60>>>0x8&0xff]<<0x8|_0x5506b1[_0x561a39&0xff])^_0x12cd6d[_0x2e5181++],_0x479122=(_0x5506b1[_0x9b1e1d>>>0x18]<<0x18|_0x5506b1[_0x2dab60>>>0x10&0xff]<<0x10|_0x5506b1[_0x561a39>>>0x8&0xff]<<0x8|_0x5506b1[_0x5a280a&0xff])^_0x12cd6d[_0x2e5181++],_0xad3a12=(_0x5506b1[_0x2dab60>>>0x18]<<0x18|_0x5506b1[_0x561a39>>>0x10&0xff]<<0x10|_0x5506b1[_0x5a280a>>>0x8&0xff]<<0x8|_0x5506b1[_0x9b1e1d&0xff])^_0x12cd6d[_0x2e5181++];_0xa07e48[_0x433d36]=_0x36c40c,_0xa07e48[_0x433d36+0x1]=_0x1d2270,_0xa07e48[_0x433d36+0x2]=_0x479122,_0xa07e48[_0x433d36+0x3]=_0xad3a12;},'keySize':0x100/0x20});_0x3bf81b[_0x269ea5(0x2b0)]=_0x3bbf7b[_0x269ea5(0x4a4)](_0x5e25c0);}()),_0xa944f7['AES'];}));}(Ve)),Ve[_0x4e0d4d(0x267)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x207232(0x267)],ai;function zr(){var _0x3688c4=_0x207232;return ai||(ai=0x1,function(_0x440cbe,_0xec2f2f){(function(_0x44b07d,_0x49fd1c){var _0x2d8e52=_0x2b1b;_0x440cbe[_0x2d8e52(0x267)]=_0x49fd1c(ne());}(qr,function(_0x4bfb31){var _0x329ba4=_0x2b1b;return _0x4bfb31[_0x329ba4(0x24d)][_0x329ba4(0x3f7)];}));}(Xe)),Xe[_0x3688c4(0x267)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x106430,_0x5899f0){(function(_0x3730ae,_0x553016){var _0x52fb97=_0x2b1b;_0x106430[_0x52fb97(0x267)]=_0x553016(ne());}(Zr,function(_0xe37542){var _0x4584fc=_0x2b1b;return(function(){var _0xf158bd=_0x2b1b;if(typeof ArrayBuffer==_0xf158bd(0x314)){var _0x5929d5=_0xe37542,_0x38a4ef=_0x5929d5[_0xf158bd(0x3cb)],_0x569160=_0x38a4ef['WordArray'],_0x19904c=_0x569160[_0xf158bd(0x4e4)],_0x2ed8c1=_0x569160[_0xf158bd(0x4e4)]=function(_0x2d1e85){var _0x566dc9=_0xf158bd;if(_0x2d1e85 instanceof ArrayBuffer&&(_0x2d1e85=new Uint8Array(_0x2d1e85)),(_0x2d1e85 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2d1e85 instanceof Uint8ClampedArray||_0x2d1e85 instanceof Int16Array||_0x2d1e85 instanceof Uint16Array||_0x2d1e85 instanceof Int32Array||_0x2d1e85 instanceof Uint32Array||_0x2d1e85 instanceof Float32Array||_0x2d1e85 instanceof Float64Array)&&(_0x2d1e85=new Uint8Array(_0x2d1e85[_0x566dc9(0x4bd)],_0x2d1e85[_0x566dc9(0x4cb)],_0x2d1e85[_0x566dc9(0x3cc)])),_0x2d1e85 instanceof Uint8Array){for(var _0xdaed84=_0x2d1e85['byteLength'],_0x217062=[],_0x54f0ea=0x0;_0x54f0ea<_0xdaed84;_0x54f0ea++)_0x217062[_0x54f0ea>>>0x2]|=_0x2d1e85[_0x54f0ea]<<0x18-_0x54f0ea%0x4*0x8;_0x19904c['call'](this,_0x217062,_0xdaed84);}else _0x19904c['apply'](this,arguments);};_0x2ed8c1['prototype']=_0x569160;}}()),_0xe37542[_0x4584fc(0x3cb)][_0x4584fc(0x25d)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x139999=_0x207232;return hi||(hi=0x1,function(_0x5de8af,_0x5b34cb){(function(_0x714d94,_0x22501b,_0x552f28){var _0x4c1260=_0x2b1b;_0x5de8af[_0x4c1260(0x267)]=_0x22501b(ne(),Ai());}(is,function(_0x8f8a1e){var _0x4378b7=_0x2b1b;return _0x8f8a1e[_0x4378b7(0x303)][_0x4378b7(0x488)]={'pad':function(){},'unpad':function(){}},_0x8f8a1e[_0x4378b7(0x303)][_0x4378b7(0x488)];}));}(Qe)),Qe[_0x139999(0x267)];}var rs=ns();const ss=ke(rs);function os(_0xa02876,_0x3042b6){var _0x23c2cf=_0x207232;const _0x183eef=_0x3042b6-_0xa02876[_0x23c2cf(0x453)]%_0x3042b6,_0x5d0d16=String[_0x23c2cf(0x38a)](_0x183eef)[_0x23c2cf(0x310)](_0x183eef);return _0xa02876+_0x5d0d16;}function as(_0x3dc5b4,_0x104cda){var _0x43d303=_0x207232;const _0x46d81e=ts[_0x43d303(0x3e0)](0x10),_0x2700ef=os(_0x3dc5b4,0x10),_0x30df29=Kr[_0x43d303(0x4a0)](Xr[_0x43d303(0x415)](_0x2700ef),oi['parse'](_0x104cda),{'iv':_0x46d81e,'padding':ss});return _0x46d81e[_0x43d303(0x2fd)](_0x30df29[_0x43d303(0x23f)])[_0x43d303(0x222)](oi);}function cs(){var _0x47cc31=_0x207232;const _0x4f1518=_0x30e0e9()[_0x47cc31(0x207)];if(_0x4f1518){const _0x88a42={'time':Math[_0x47cc31(0x298)](Date['now']()/0x3e8),'domain':location[_0x47cc31(0x38b)]};return as(JSON[_0x47cc31(0x438)](_0x88a42),_0x4f1518);}}var hs=Object[_0x207232(0x20c)],_s=Object[_0x207232(0x469)],ls=(_0x4ddf83,_0x284dae,_0x54e3c8,_0x46e12b)=>{for(var _0x5007ee=_0x46e12b>0x1?void 0x0:_0x46e12b?_s(_0x284dae,_0x54e3c8):_0x284dae,_0x5695b8=_0x4ddf83['length']-0x1,_0x83d0b9;_0x5695b8>=0x0;_0x5695b8--)(_0x83d0b9=_0x4ddf83[_0x5695b8])&&(_0x5007ee=(_0x46e12b?_0x83d0b9(_0x284dae,_0x54e3c8,_0x5007ee):_0x83d0b9(_0x5007ee))||_0x5007ee);return _0x46e12b&&_0x5007ee&&hs(_0x284dae,_0x54e3c8,_0x5007ee),_0x5007ee;},us=(_0xad048e,_0x18efaf)=>(_0x40ba3f,_0x5cea5d)=>_0x18efaf(_0x40ba3f,_0x5cea5d,_0xad048e);let ot=class{constructor(_0x566702){var _0x1f962d=_0x207232;this[_0x1f962d(0x468)]=_0x566702,this[_0x1f962d(0x4a1)]();}[_0x207232(0x4a1)](){var _0x2b63b6=_0x207232;this[_0x2b63b6(0x468)][_0x2b63b6(0x44a)]({'interceptor':(_0x1f4e95,_0x2cb1d3)=>{var _0x3f36ee=_0x2b63b6;const _0x12f4d5=_0x1f4e95[_0x3f36ee(0x362)],_0x1600ba=cs();return _0x1600ba&&_0x12f4d5[_0x3f36ee(0x459)]('x-univer-host',_0x1600ba),_0x2cb1d3(_0x1f4e95);}});}};ot=ls([us(0x0,_0x133bf8(_0xec288c))],ot);var ds=Object['defineProperty'],fs=Object[_0x207232(0x469)],vs=(_0x267424,_0x1c49d0,_0x2527e4,_0x4bed62)=>{var _0x9cc13=_0x207232;for(var _0x13f537=_0x4bed62>0x1?void 0x0:_0x4bed62?fs(_0x1c49d0,_0x2527e4):_0x1c49d0,_0x4c5f41=_0x267424[_0x9cc13(0x453)]-0x1,_0x2be802;_0x4c5f41>=0x0;_0x4c5f41--)(_0x2be802=_0x267424[_0x4c5f41])&&(_0x13f537=(_0x4bed62?_0x2be802(_0x1c49d0,_0x2527e4,_0x13f537):_0x2be802(_0x13f537))||_0x13f537);return _0x4bed62&&_0x13f537&&ds(_0x1c49d0,_0x2527e4,_0x13f537),_0x13f537;},mt=(_0x12df85,_0x34feff)=>(_0x431740,_0x55cc50)=>_0x34feff(_0x431740,_0x55cc50,_0x12df85);let Ot=class extends _0x57f232{constructor(_0x299262,_0x55f937,_0x3f9a52){var _0x3b3c54=_0x207232;super(),N(this,_0x3b3c54(0x40f),new _0x2d7615(null)),N(this,'unitInfo$',this[_0x3b3c54(0x40f)][_0x3b3c54(0x2c0)]()),(this['_logService']=_0x299262,this[_0x3b3c54(0x484)]=_0x55f937,this[_0x3b3c54(0x413)]=_0x3f9a52);}async[_0x207232(0x3d9)](_0x5bfe1b,_0xa9561e,_0x1c065d){var _0x2a6a3e=_0x207232;this[_0x2a6a3e(0x40f)][_0x2a6a3e(0x255)]({'unitId':_0x5bfe1b,'type':_0xa9561e,'subUnitId':_0x1c065d});let _0x5036b6=null;switch(_0xa9561e){case Q['UNIVER_SHEET']:{_0x5036b6=await this[_0x2a6a3e(0x2dd)](_0x5bfe1b);break;}case Q[_0x2a6a3e(0x2f9)]:{_0x5036b6=await this[_0x2a6a3e(0x213)](_0x5bfe1b);break;}default:{this[_0x2a6a3e(0x275)][_0x2a6a3e(0x3aa)](_0x2a6a3e(0x1f3),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5036b6;}async['_loadSheet'](_0xc03512){var _0x1dc41a=_0x207232,_0x1f8e7a;let _0x18681f=0x0;const _0x4586ee=await((_0x1f8e7a=this[_0x1dc41a(0x413)])==null?void 0x0:_0x1f8e7a['loadOfflineData'](_0xc03512));return _0x4586ee&&(_0x4586ee['awaitingChangeset']||_0x4586ee['mutations'][_0x1dc41a(0x453)]!==0x0)&&(_0x18681f=_0x4586ee[_0x1dc41a(0x446)]),_0x18681f===0x0&&this[_0x1dc41a(0x275)][_0x1dc41a(0x32b)](_0x1dc41a(0x1f3),_0x1dc41a(0x3e5)),this[_0x1dc41a(0x484)][_0x1dc41a(0x28d)](_0xc03512,_0x18681f);}async[_0x207232(0x213)](_0xe8915f){var _0x2460ab=_0x207232,_0x475429;let _0x16c7b8=0x0;const _0x37de8a=await((_0x475429=this['_localCacheService'])==null?void 0x0:_0x475429[_0x2460ab(0x239)](_0xe8915f));return _0x37de8a&&(_0x37de8a[_0x2460ab(0x419)]||_0x37de8a[_0x2460ab(0x3ef)]['length']!==0x0)&&(_0x16c7b8=_0x37de8a[_0x2460ab(0x446)]),_0x16c7b8===0x0&&this[_0x2460ab(0x275)][_0x2460ab(0x32b)](_0x2460ab(0x1f3),_0x2460ab(0x3e5)),this['_snapshotService'][_0x2460ab(0x2cf)](_0xe8915f,_0x16c7b8);}};Ot=vs([mt(0x0,_0x248f6a),mt(0x1,_0x133bf8(_0x245bcd)),mt(0x2,_0x910b95(J))],Ot);var ps=Object[_0x207232(0x20c)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x10c986,_0x480292,_0x1a88bd,_0x2afdab)=>{var _0x49f483=_0x207232;for(var _0x3c1b83=_0x2afdab>0x1?void 0x0:_0x2afdab?ms(_0x480292,_0x1a88bd):_0x480292,_0x591b97=_0x10c986[_0x49f483(0x453)]-0x1,_0x5f51ad;_0x591b97>=0x0;_0x591b97--)(_0x5f51ad=_0x10c986[_0x591b97])&&(_0x3c1b83=(_0x2afdab?_0x5f51ad(_0x480292,_0x1a88bd,_0x3c1b83):_0x5f51ad(_0x3c1b83))||_0x3c1b83);return _0x2afdab&&_0x3c1b83&&ps(_0x480292,_0x1a88bd,_0x3c1b83),_0x3c1b83;},gt=(_0x3e7edc,_0x595571)=>(_0x5d2bf1,_0x3cef99)=>_0x595571(_0x5d2bf1,_0x3cef99,_0x3e7edc);const Ss=[_0x207232(0x2eb),'image/jpeg',_0x207232(0x37e),_0x207232(0x49a),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x207232(0x4a2),Ts='/universer-api/stream/file/upload',Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x207232(0x30c);let yt=class{constructor(_0x45386d,_0xe8a237,_0x44958b){var _0x134495=_0x207232;N(this,_0x134495(0x424),0x0),N(this,_0x134495(0x4dc),new _0x45b79d()),N(this,_0x134495(0x4b9),this[_0x134495(0x4dc)]),N(this,_0x134495(0x2a9),new Map()),(this[_0x134495(0x468)]=_0x45386d,this[_0x134495(0x452)]=_0xe8a237,this[_0x134495(0x244)]=_0x44958b);}[_0x207232(0x399)](_0x3ada7c){var _0x1525d6=_0x207232;this[_0x1525d6(0x424)]=_0x3ada7c,this[_0x1525d6(0x4dc)][_0x1525d6(0x255)](_0x3ada7c);}['getImageSourceCache'](_0x70bae,_0x1aa777){var _0x23be6b=_0x207232;if(_0x1aa777===_0x3ae4dc[_0x23be6b(0x27b)]){const _0x476145=new Image();return _0x476145[_0x23be6b(0x250)]=_0x70bae,_0x476145;}return this[_0x23be6b(0x2a9)][_0x23be6b(0x410)](_0x70bae);}[_0x207232(0x289)](_0x508adf,_0x330087,_0x2e8b0c){var _0x4acb3d=_0x207232;_0x330087===_0x3ae4dc[_0x4acb3d(0x27b)]||_0x2e8b0c==null||this['_imageSourceCache']['set'](_0x508adf,_0x2e8b0c);}async[_0x207232(0x332)](_0x3aaac3){var _0x164007=_0x207232;try{const _0x18c2a9=this[_0x164007(0x4c1)](this[_0x164007(0x3c4)](),''+_0x3aaac3),_0x5b4f0d=(await this['_httpService'][_0x164007(0x410)](_0x18c2a9))[_0x164007(0x242)];if(_0x5b4f0d[_0x164007(0x3aa)]&&_0x5b4f0d['error'][_0x164007(0x499)]===Ii['OK']){const _0x3b42f5=new URL(_0x5b4f0d['url'],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x164007(0x45a)](_0x3b42f5);}return Promise['reject'](_0x5b4f0d['error']);}catch(_0x17518d){return Promise[_0x164007(0x2df)](_0x17518d);}}async['saveImage'](_0x57411d){var _0xf89622=_0x207232;let _0x1b57ad='';if(!Ss[_0xf89622(0x2e5)](_0x57411d[_0xf89622(0x276)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x20d846[_0xf89622(0x489)]));if(_0x57411d['size']>Es)return this[_0xf89622(0x365)](),Promise['reject'](new Error(_0x20d846['ERROR_EXCEED_SIZE']));try{const _0x9bf383=new FormData();_0x9bf383[_0xf89622(0x2e7)](_0xf89622(0x2e4),_0x57411d);const _0x3a4354=this[_0xf89622(0x244)]['getFocusedUnit'](),_0x544ab9=_0x3a4354==null?void 0x0:_0x3a4354['getUnitId']();if(!_0x544ab9)throw new Error(_0xf89622(0x4cd));const _0xa7d737=this[_0xf89622(0x4c2)]()+_0xf89622(0x433)+_0x57411d[_0xf89622(0x22d)][_0xf89622(0x222)]()+_0xf89622(0x293)+Ti[_0xf89622(0x259)]+_0xf89622(0x26f)+encodeURIComponent(_0x544ab9),_0x33a3c9=await(await fetch(_0xa7d737,{'method':_0xf89622(0x45e),'body':_0x9bf383}))['json']();if(typeof _0x33a3c9[_0xf89622(0x466)]!=_0xf89622(0x2c6))return this['_decreaseWaiting'](),Promise[_0xf89622(0x2df)](new Error(_0x20d846[_0xf89622(0x312)]));_0x1b57ad=_0x33a3c9[_0xf89622(0x466)];}catch{return this['_decreaseWaiting'](),Promise[_0xf89622(0x2df)](new Error(_0x20d846[_0xf89622(0x312)]));}return new Promise((_0x4f3329,_0x1e7ae9)=>{var _0x382e7d=_0xf89622;const _0x28f210=new FileReader();_0x28f210[_0x382e7d(0x440)](_0x57411d),_0x28f210['onload']=_0xd59585=>{var _0x544f2f=_0x382e7d,_0x1a3f12;const _0x17d59d=(_0x1a3f12=_0xd59585[_0x544f2f(0x238)])==null?void 0x0:_0x1a3f12[_0x544f2f(0x48c)];if(_0x17d59d==null){this[_0x544f2f(0x365)](),_0x1e7ae9(new Error(_0x20d846[_0x544f2f(0x312)]));return;}const _0x1e53d2=_0xc9f11['generateRandomId'](0x6);_0x4f3329({'imageId':_0x1e53d2,'imageSourceType':_0x3ae4dc[_0x544f2f(0x4e1)],'source':_0x1b57ad,'base64Cache':_0x17d59d,'status':_0x20d846[_0x544f2f(0x3d1)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x433084=_0x207232,_0x47d731,_0x3dd2c7;const _0x89a3d6=this['_configService']['getConfig'](Is),_0x3ddae1=this[_0x433084(0x452)]['getConfig'](q);return(_0x3dd2c7=(_0x47d731=_0x3ddae1==null?void 0x0:_0x3ddae1['uploadFileServerUrl'])!=null?_0x47d731:_0x89a3d6)!=null?_0x3dd2c7:Ts;}[_0x207232(0x3c4)](){var _0x1b3b75=_0x207232,_0x387143,_0x3ebc76;const _0x1f9c43=this[_0x1b3b75(0x452)]['getConfig'](Cs),_0x295f97=this[_0x1b3b75(0x452)][_0x1b3b75(0x3a9)](q);return(_0x3ebc76=(_0x387143=_0x295f97==null?void 0x0:_0x295f97[_0x1b3b75(0x350)])!=null?_0x387143:_0x1f9c43)!=null?_0x3ebc76:Rs;}[_0x207232(0x25b)](){var _0x3fc6aa=_0x207232,_0x41a284;const _0x3c4f6e=this[_0x3fc6aa(0x452)][_0x3fc6aa(0x3a9)](q);return(_0x41a284=_0x3c4f6e==null?void 0x0:_0x3c4f6e['downloadEndpointUrl'])!=null?_0x41a284:location['origin'];}['_replaceFileID'](_0x3effa4,_0x14a139){var _0x15d867=_0x207232;return _0x3effa4[_0x15d867(0x2f2)]('{fileID}',_0x14a139);}[_0x207232(0x365)](){var _0x53983b=_0x207232;this['_waitCount']-=0x1,this[_0x53983b(0x4dc)][_0x53983b(0x255)](this[_0x53983b(0x424)]);}};yt=gs([gt(0x0,_0x133bf8(_0xec288c)),gt(0x1,_0x2ddc28),gt(0x2,_0x133bf8(_0x39ac8e))],yt);var bs=Object[_0x207232(0x20c)],Os=Object[_0x207232(0x469)],ys=(_0x28444e,_0x35be42,_0x35ccd5,_0x287295)=>{for(var _0xb3ee33=_0x287295>0x1?void 0x0:_0x287295?Os(_0x35be42,_0x35ccd5):_0x35be42,_0x2b8ecc=_0x28444e['length']-0x1,_0xf15f68;_0x2b8ecc>=0x0;_0x2b8ecc--)(_0xf15f68=_0x28444e[_0x2b8ecc])&&(_0xb3ee33=(_0x287295?_0xf15f68(_0x35be42,_0x35ccd5,_0xb3ee33):_0xf15f68(_0xb3ee33))||_0xb3ee33);return _0x287295&&_0xb3ee33&&bs(_0x35be42,_0x35ccd5,_0xb3ee33),_0xb3ee33;},_i=(_0x46fcbd,_0x5271cd)=>(_0x2f6581,_0x4196da)=>_0x5271cd(_0x2f6581,_0x4196da,_0x46fcbd);const Ns='/universer-api/authz';let Nt=class{constructor(_0x1fd892,_0x1a7a9b){var _0x53057c=_0x207232;this[_0x53057c(0x452)]=_0x1fd892,this[_0x53057c(0x29b)]=_0x1a7a9b;}[_0x207232(0x382)](){var _0x570591=_0x207232,_0x457f85,_0x55cc27;const _0x2f5648=this[_0x570591(0x452)][_0x570591(0x3a9)](Pi),_0x48b57e=this['_configService']['getConfig'](q);return(_0x55cc27=(_0x457f85=_0x48b57e==null?void 0x0:_0x48b57e['authzUrl'])!=null?_0x457f85:_0x2f5648)!=null?_0x55cc27:Ns;}async['list'](_0x4f561b){var _0x2da86c=_0x207232;const _0xc9ad60=this[_0x2da86c(0x382)]()+_0x2da86c(0x287);return{'list':[{'title':_0x2da86c(0x33a),'mentions':(await this[_0x2da86c(0x29b)][_0x2da86c(0x410)](_0xc9ad60,{'params':{'objectID':_0x4f561b[_0x2da86c(0x393)],'unitID':_0x4f561b[_0x2da86c(0x393)]}}))[_0x2da86c(0x242)]['collaborators']['map'](_0xa1a903=>({'objectId':_0xa1a903['id'],'name':_0xa1a903['subject'][_0x2da86c(0x392)],'metadata':{'icon':_0xa1a903[_0x2da86c(0x422)]['avatar']},'label':_0xa1a903[_0x2da86c(0x422)]['name'],'objectType':_0x5982a2[_0x2da86c(0x420)]})),'metadata':{},'type':_0x5982a2[_0x2da86c(0x420)]}]};}};Nt=ys([_i(0x0,_0x133bf8(_0x2ddc28)),_i(0x1,_0x133bf8(_0xec288c))],Nt);var Ds=Object[_0x207232(0x20c)],Ps=Object[_0x207232(0x469)],ws=(_0x6bdb77,_0x44c9d8,_0x407f4a,_0x3e5937)=>{var _0x19e44d=_0x207232;for(var _0x4ffbd6=_0x3e5937>0x1?void 0x0:_0x3e5937?Ps(_0x44c9d8,_0x407f4a):_0x44c9d8,_0x319e59=_0x6bdb77[_0x19e44d(0x453)]-0x1,_0x740a6d;_0x319e59>=0x0;_0x319e59--)(_0x740a6d=_0x6bdb77[_0x319e59])&&(_0x4ffbd6=(_0x3e5937?_0x740a6d(_0x44c9d8,_0x407f4a,_0x4ffbd6):_0x740a6d(_0x4ffbd6))||_0x4ffbd6);return _0x3e5937&&_0x4ffbd6&&Ds(_0x44c9d8,_0x407f4a,_0x4ffbd6),_0x4ffbd6;},Se=(_0x47a37f,_0x308c74)=>(_0x55ddff,_0x577918)=>_0x308c74(_0x55ddff,_0x577918,_0x47a37f);let at=class extends _0x57f232{constructor(_0x44cd20,_0x4ea69c,_0x53efe3,_0x2f22b2,_0x5b837d,_0x30e446,_0x561c34){var _0x3bcd72=_0x207232;super(),this[_0x3bcd72(0x406)]=_0x44cd20,this[_0x3bcd72(0x244)]=_0x4ea69c,this['_permissionService']=_0x53efe3,this[_0x3bcd72(0x31d)]=_0x2f22b2,this['_collaborationUIEventService']=_0x5b837d,this[_0x3bcd72(0x4ab)]=_0x30e446,this[_0x3bcd72(0x334)]=_0x561c34,this[_0x3bcd72(0x316)](),this[_0x3bcd72(0x208)]();}[_0x207232(0x208)](){var _0x5a2d74=_0x207232;const _0x1aeac6=async _0x2549ec=>{var _0x5f04b5=_0x2b1b;(await this[_0x5f04b5(0x31d)][_0x5f04b5(0x396)](_0x2549ec))['event$']['pipe'](_0x56a47a(_0x531713=>_0x531713['eventID']===_0x2e889b[_0x5f04b5(0x467)]),_0x202538(this[_0x5f04b5(0x3e7)]))[_0x5f04b5(0x416)](_0x43d68f=>{var _0x29ae70=_0x5f04b5;const _0x8a229c=_0x43d68f,{reason:_0x2be280}=_0x8a229c[_0x29ae70(0x44c)];this['_collaborationUIEventService'][_0x29ae70(0x491)]({'id':se['CLOSE_ROOM'],'data':_0x2be280}),this['_permissionService'][_0x29ae70(0x22c)](new _0x4351eb(_0x2549ec)['id'],!0x1),this['_collaborationSessionService'][_0x29ae70(0x24a)](_0x2549ec);});};_0x4ffbb0(this[_0x5a2d74(0x244)][_0x5a2d74(0x278)](_0x40e772[_0x5a2d74(0x1ff)]),this[_0x5a2d74(0x244)][_0x5a2d74(0x278)](_0x40e772[_0x5a2d74(0x2f9)]))[_0x5a2d74(0x216)](_0xbfa581(_0x4a01e7=>_0x4a01e7[_0x5a2d74(0x31c)]()),_0x56a47a(_0x549fe7=>!_0x5570b0(_0x549fe7)),_0x202538(this[_0x5a2d74(0x3e7)]))[_0x5a2d74(0x416)](_0x3bbf8f=>{_0x1aeac6(_0x3bbf8f);});}[_0x207232(0x316)](){var _0x523623=_0x207232;const _0x450fee=async _0x2107e0=>{var _0x40e61b=_0x2b1b;const _0x406ffa=await this[_0x40e61b(0x31d)][_0x40e61b(0x396)](_0x2107e0),_0x145ca1=this['_injector'][_0x40e61b(0x410)](_0x6f5cd4);_0x406ffa[_0x40e61b(0x391)][_0x40e61b(0x216)](_0x56a47a(_0x1cb423=>_0x1cb423[_0x40e61b(0x35c)]===_0x2e889b[_0x40e61b(0x30a)]),_0x202538(this[_0x40e61b(0x3e7)]))[_0x40e61b(0x416)](_0x579944=>{var _0x11e8f4=_0x40e61b;const _0x392997=_0x579944,{objectId:_0x5e7597}=_0x392997[_0x11e8f4(0x44c)];_0x5e7597===_0x2107e0?_0x145ca1[_0x11e8f4(0x28a)](_0x2107e0):_0x145ca1[_0x11e8f4(0x330)](_0x2107e0,_0x5e7597);});};_0x4ffbb0(this[_0x523623(0x244)]['getTypeOfUnitAdded$'](_0x40e772[_0x523623(0x1ff)]),this[_0x523623(0x244)][_0x523623(0x278)](_0x40e772[_0x523623(0x2f9)]))[_0x523623(0x216)](_0xbfa581(_0x51ea8d=>_0x51ea8d[_0x523623(0x31c)]()),_0x56a47a(_0x325267=>!_0x5570b0(_0x325267)),_0x202538(this[_0x523623(0x3e7)]))[_0x523623(0x416)](_0x2cf248=>{_0x450fee(_0x2cf248);});}};at=ws([Se(0x0,_0x133bf8(_0x55be5b)),Se(0x1,_0x39ac8e),Se(0x2,_0x2921ea),Se(0x3,_0x133bf8(Le)),Se(0x4,_0x133bf8(pe)),Se(0x5,_0x3ccf11),Se(0x6,_0x1f81a8)],at);var Us=Object[_0x207232(0x20c)],As=Object['getOwnPropertyDescriptor'],xs=(_0x5a55bd,_0x28b5d5,_0x43a999,_0x519b0f)=>{var _0x405051=_0x207232;for(var _0x20b725=_0x519b0f>0x1?void 0x0:_0x519b0f?As(_0x28b5d5,_0x43a999):_0x28b5d5,_0x5a27c7=_0x5a55bd[_0x405051(0x453)]-0x1,_0x351d54;_0x5a27c7>=0x0;_0x5a27c7--)(_0x351d54=_0x5a55bd[_0x5a27c7])&&(_0x20b725=(_0x519b0f?_0x351d54(_0x28b5d5,_0x43a999,_0x20b725):_0x351d54(_0x20b725))||_0x20b725);return _0x519b0f&&_0x20b725&&Us(_0x28b5d5,_0x43a999,_0x20b725),_0x20b725;},li=(_0x24ca24,_0x4c3ba2)=>(_0x30e05b,_0x5c3680)=>_0x4c3ba2(_0x30e05b,_0x5c3680,_0x24ca24);let Dt=class{constructor(_0x5d924a,_0x1db4b4){var _0x4aa250=_0x207232;this[_0x4aa250(0x452)]=_0x5d924a,this[_0x4aa250(0x468)]=_0x1db4b4;}async[_0x207232(0x262)](_0x4b6f3b,_0x44f91d){var _0x4c4de5=_0x207232,_0x3dffc5;const {unitID:_0x46dce6,type:_0x4f51bb,revision:_0x12285a=0x0}=_0x44f91d,_0xda0187=this['getSnapshotAPIPath']()+'/'+_0x4f51bb+_0x4c4de5(0x24e)+_0x46dce6+_0x4c4de5(0x4d5)+_0x12285a,_0x2f7bc2=(await this['_httpService'][_0x4c4de5(0x410)](_0xda0187))['body'],_0x587fa8=(_0x3dffc5=_0x2f7bc2['snapshot'])==null?void 0x0:_0x3dffc5['workbook'];if(_0x587fa8){const _0x5eca89=_0x587fa8==null?void 0x0:_0x587fa8['originalMeta'],_0x169948=_0x4bc143[_0x4c4de5(0x3b7)](_0x2247f5(_0x5eca89));_0x587fa8['originalMeta']=_0x169948,Object[_0x4c4de5(0x43d)](_0x587fa8['sheets'])[_0x4c4de5(0x4c4)](([,_0x4a0820])=>{var _0x76364=_0x4c4de5;const _0x5efba7=_0x4a0820['originalMeta'],_0x52f2a8=_0x4bc143['encode'](_0x2247f5(_0x5efba7));_0x4a0820[_0x76364(0x448)]=_0x52f2a8;});}return _0x2f7bc2;}async[_0x207232(0x4a8)](_0x90d5bf,_0x7d9772){var _0xdaa7b4=_0x207232;const {unitID:_0xe94a66,type:_0x7045c8,blockID:_0x1516a3}=_0x7d9772,_0x8b6ab5=this[_0xdaa7b4(0x383)]()+'/'+_0x7045c8+_0xdaa7b4(0x24e)+_0xe94a66+_0xdaa7b4(0x4b5)+_0x1516a3;return(await this[_0xdaa7b4(0x468)][_0xdaa7b4(0x410)](_0x8b6ab5))[_0xdaa7b4(0x242)];}async[_0x207232(0x28c)](_0x3bae58,_0x7285e2){var _0x201846=_0x207232;const {unitID:_0x2ced61,type:_0x3a7315,blockID:_0x4f22dc}=_0x7285e2,_0x1b89a9=this[_0x201846(0x383)]()+_0x201846(0x4b5)+_0x3a7315+'/unit/'+_0x2ced61+_0x201846(0x4b5)+_0x4f22dc;return(await this[_0x201846(0x468)][_0x201846(0x410)](_0x1b89a9))[_0x201846(0x242)];}async[_0x207232(0x4e5)](_0x1ebc1d,_0x3f28d0){var _0x2f99b6=_0x207232;const {unitID:_0x1fe016,type:_0x557201,from:_0x2a8115,to:_0x472ca3}=_0x3f28d0,_0x56b834=this[_0x2f99b6(0x383)]()+'/'+_0x557201+_0x2f99b6(0x24e)+_0x1fe016+_0x2f99b6(0x295)+_0x2a8115+_0x2f99b6(0x20b)+_0x472ca3;return(await this['_httpService'][_0x2f99b6(0x410)](_0x56b834))['body'];}[_0x207232(0x1f7)](){var _0x10494e=_0x207232,_0x2fcf0e;return(_0x2fcf0e=this['_configService'][_0x10494e(0x3a9)](Tn))!=null?_0x2fcf0e:this[_0x10494e(0x383)]();}[_0x207232(0x383)](){var _0x143023=_0x207232,_0x14390f,_0x21a772;const _0xd97c7=this['_configService'][_0x143023(0x3a9)](En),_0x475059=this[_0x143023(0x452)]['getConfig'](q);return(_0x21a772=(_0x14390f=_0x475059==null?void 0x0:_0x475059[_0x143023(0x412)])!=null?_0x14390f:_0xd97c7)!=null?_0x21a772:In;}async[_0x207232(0x482)](_0x34f2c4,_0x32a450){var _0x4260c0=_0x207232;const _0x17846d=_0x4260c0(0x283)+_0x32a450[_0x4260c0(0x276)]+_0x4260c0(0x24e)+_0x32a450['unitID']+_0x4260c0(0x243);return(await this[_0x4260c0(0x468)][_0x4260c0(0x410)](_0x17846d,{'params':{'resourceId':JSON[_0x4260c0(0x438)](_0x32a450[_0x4260c0(0x246)])}}))[_0x4260c0(0x242)];}[_0x207232(0x389)](){var _0x1e81b6=_0x207232;throw new Error(_0x1e81b6(0x249));}[_0x207232(0x30b)](){var _0x17a108=_0x207232;throw new Error(_0x17a108(0x249));}[_0x207232(0x203)](){var _0x46cfae=_0x207232;throw new Error(_0x46cfae(0x249));}[_0x207232(0x26a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x207232(0x264)](){var _0xd35e93=_0x207232;throw new Error(_0xd35e93(0x249));}};Dt=xs([li(0x0,_0x2ddc28),li(0x1,_0x133bf8(_0xec288c))],Dt);var Ls=Object[_0x207232(0x20c)],Ms=Object[_0x207232(0x469)],$s=(_0x3626de,_0x310a5b,_0x5dca86,_0x313167)=>{var _0x419755=_0x207232;for(var _0xc7804=_0x313167>0x1?void 0x0:_0x313167?Ms(_0x310a5b,_0x5dca86):_0x310a5b,_0x36f5d0=_0x3626de[_0x419755(0x453)]-0x1,_0x1aac3b;_0x36f5d0>=0x0;_0x36f5d0--)(_0x1aac3b=_0x3626de[_0x36f5d0])&&(_0xc7804=(_0x313167?_0x1aac3b(_0x310a5b,_0x5dca86,_0xc7804):_0x1aac3b(_0xc7804))||_0xc7804);return _0x313167&&_0xc7804&&Ls(_0x310a5b,_0x5dca86,_0xc7804),_0xc7804;},Ae=(_0x35247e,_0x79e1af)=>(_0x4a9787,_0x36d370)=>_0x79e1af(_0x4a9787,_0x36d370,_0x35247e);let Pt=class extends _0x46c384{constructor(_0x32ab7c,_0x30e266,_0x492a29,_0x219bfb,_0x3ceac7){var _0x355550=_0x207232;super(_0x32ab7c,_0x30e266,_0x492a29),this[_0x355550(0x2cd)]=_0x219bfb,this[_0x355550(0x275)]=_0x3ceac7;}[_0x207232(0x3a1)](_0x244e19,_0x3731b2){var _0x14b17b=_0x207232;const _0x2aebbd=this[_0x14b17b(0x3fa)](_0x244e19);if(_0x2aebbd)try{const _0x3384c0=this[_0x14b17b(0x475)](_0x2aebbd,_0x3731b2);this['_substituteUndoStack'](_0x244e19,_0x3384c0);}catch(_0x13b184){this[_0x14b17b(0x275)][_0x14b17b(0x3aa)](_0x14b17b(0x2b3),_0x13b184),this[_0x14b17b(0x3bf)](_0x244e19);}const _0x310a1a=this['_getRedoStack'](_0x244e19);if(_0x310a1a)try{const _0x2603a9=this[_0x14b17b(0x475)](_0x310a1a,_0x3731b2);this[_0x14b17b(0x434)](_0x244e19,_0x2603a9);}catch(_0x3cd266){this[_0x14b17b(0x275)][_0x14b17b(0x3aa)](_0x3cd266),this[_0x14b17b(0x4c8)](_0x244e19);}}[_0x207232(0x3bf)](_0x40583d){var _0x5a43d5=_0x207232;const _0x9d1561=this[_0x5a43d5(0x3fa)](_0x40583d);_0x9d1561&&(_0x9d1561[_0x5a43d5(0x453)]=0x0,this['_updateStatus']());}[_0x207232(0x4c8)](_0x4c1d38){var _0x431822=_0x207232;const _0xb10881=this[_0x431822(0x3e6)](_0x4c1d38);_0xb10881&&(_0xb10881['length']=0x0,this[_0x431822(0x41a)]());}[_0x207232(0x351)](_0xf64f2d,_0x13be5c){var _0x4932ca=_0x207232;this[_0x4932ca(0x3be)][_0x4932ca(0x459)](_0xf64f2d,_0x13be5c),this[_0x4932ca(0x41a)]();}[_0x207232(0x434)](_0x1d8acb,_0x5ec5b4){var _0x36e3c8=_0x207232;this[_0x36e3c8(0x493)][_0x36e3c8(0x459)](_0x1d8acb,_0x5ec5b4),this['_updateStatus']();}['_transformStack'](_0x3dd044,_0x480185){var _0x353285=_0x207232;const _0x462f14=[];let _0x336e07=_0x480185,_0x49878b=_0x480185;for(let _0x100a06=_0x3dd044[_0x353285(0x453)]-0x1;_0x100a06>=0x0;_0x100a06--){const {unitID:_0x486c6c,undoMutations:_0x26d3f5,redoMutations:_0x36630d}=_0x3dd044[_0x100a06],_0x75a92e=this[_0x353285(0x2cd)][_0x353285(0x43f)](_0x336e07,_0x26d3f5),_0x385574=this[_0x353285(0x2cd)]['transformMutationsWithChangeset'](_0x49878b,_0x36630d);if(_0x570ced(_0x75a92e)||_0x570ced(_0x385574)){this['_logService'][_0x353285(0x3aa)]('[CollaborationUndoRedoService]',_0x353285(0x23b),_0x75a92e,_0x385574);break;}_0x336e07=_0x75a92e[_0x353285(0x2a7)],_0x49878b=_0x385574[_0x353285(0x2a7)],_0x462f14[_0x353285(0x2ac)]({'unitID':_0x486c6c,'undoMutations':_0x75a92e[_0x353285(0x455)],'redoMutations':_0x385574[_0x353285(0x455)]});}return _0x462f14[_0x353285(0x4e8)]();}};Pt=$s([Ae(0x0,_0x39ac8e),Ae(0x1,_0x1023d2),Ae(0x2,_0xac9df5),Ae(0x3,_0x2452dd),Ae(0x4,_0x248f6a)],Pt);var xi=Object[_0x207232(0x20c)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x2ee558,_0x4f5de6,_0x3748b0)=>_0x4f5de6 in _0x2ee558?xi(_0x2ee558,_0x4f5de6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3748b0}):_0x2ee558[_0x4f5de6]=_0x3748b0,js=(_0x2b7fb2,_0x589d3d,_0xfc45bf,_0x505a73)=>{var _0x21c6bd=_0x207232;for(var _0xc72435=_0x505a73>0x1?void 0x0:_0x505a73?Hs(_0x589d3d,_0xfc45bf):_0x589d3d,_0x5a56b9=_0x2b7fb2[_0x21c6bd(0x453)]-0x1,_0x5463b2;_0x5a56b9>=0x0;_0x5a56b9--)(_0x5463b2=_0x2b7fb2[_0x5a56b9])&&(_0xc72435=(_0x505a73?_0x5463b2(_0x589d3d,_0xfc45bf,_0xc72435):_0x5463b2(_0xc72435))||_0xc72435);return _0x505a73&&_0xc72435&&xi(_0x589d3d,_0xfc45bf,_0xc72435),_0xc72435;},St=(_0x5e3bb0,_0x28a8e7)=>(_0x238838,_0x135cd9)=>_0x28a8e7(_0x238838,_0x135cd9,_0x5e3bb0),Bs=(_0xd8f9bb,_0x197188,_0x528395)=>ks(_0xd8f9bb,_0x197188+'',_0x528395);const Fs=_0x207232(0x388);let wt=class extends _0x1b9fcf{constructor(_0x3d6f76=Wt,_0x743bf2,_0xa6d683,_0x17a6d1){var _0x215557=_0x207232;super(),this[_0x215557(0x33f)]=_0x3d6f76,this[_0x215557(0x275)]=_0x743bf2,this['_injector']=_0xa6d683,this[_0x215557(0x452)]=_0x17a6d1;const {..._0x4a1f5e}=_0x5dd608({},Wt,this[_0x215557(0x33f)]);this['_configService'][_0x215557(0x2ea)](q,_0x4a1f5e);}[_0x207232(0x4cc)](){var _0x11c508=_0x207232;this[_0x11c508(0x27e)](),this[_0x11c508(0x3fe)]();}[_0x207232(0x27e)](){var _0x52f67f=_0x207232,_0x4c87eb,_0x4edb4c,_0x4a5c23,_0x40f8fe;this[_0x52f67f(0x406)][_0x52f67f(0x2c7)](_0x1f81a8)&&this[_0x52f67f(0x275)][_0x52f67f(0x3aa)](_0x52f67f(0x4aa),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x430cb0=_0x7d7ea7([[_0x1f81a8,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x4edb4c=(_0x4c87eb=this[_0x52f67f(0x33f)])==null?void 0x0:_0x4c87eb[_0x52f67f(0x28f)])!=null?_0x4edb4c:Et}],[_0xfc988d,{'useClass':Dt}],[_0x3ccf11,{'useClass':bt}],[_0x253001,{'useClass':yt}],[_0x130953,{'useClass':Nt}],[rt],[Rt]],(_0x4a5c23=this[_0x52f67f(0x33f)])==null?void 0x0:_0x4a5c23[_0x52f67f(0x394)]);if(!((_0x40f8fe=this[_0x52f67f(0x33f)])!=null&&_0x40f8fe['enableSingleActiveInstanceLock'])){const _0x1c1672=_0x430cb0[_0x52f67f(0x463)](([_0x17b030])=>_0x17b030===ht);_0x1c1672!==-0x1&&_0x430cb0[_0x52f67f(0x39b)](_0x1c1672,0x1);}_0x2bdfde(this[_0x52f67f(0x406)],_0x430cb0);}[_0x207232(0x3fe)](){var _0x3a3341=_0x207232,_0x4e15fa,_0x33b54a,_0x19bfb3;this['_injector']['get'](_0xec288c)[_0x3a3341(0x44a)]({'priority':0x14,'interceptor':_0x4ac90a({'maxParallel':0x6})}),(_0x4e15fa=this[_0x3a3341(0x33f)])!=null&&_0x4e15fa[_0x3a3341(0x36d)]||(_0x33b54a=this[_0x3a3341(0x406)][_0x3a3341(0x410)](J,_0xe6629[_0x3a3341(0x273)]))==null||_0x33b54a[_0x3a3341(0x4c5)](),(_0x19bfb3=this[_0x3a3341(0x33f)])!=null&&_0x19bfb3[_0x3a3341(0x2a4)]&&_0x3c216e(this['_injector'],[[st]]),_0x3c216e(this[_0x3a3341(0x406)],[[ot],[rt],[at]]);}};Bs(wt,_0x207232(0x2f3),Fs),wt=js([_0x1973e5(_0x3504b2,_0x1fd7fd,_0x2c049b),St(0x1,_0x248f6a),St(0x2,_0x133bf8(_0x55be5b)),St(0x3,_0x2ddc28)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x57ea30=_0x30c3;(function(_0x6038b8,_0x4fe0a6){var _0x2ceb44=_0x30c3,_0x5341dc=_0x6038b8();while(!![]){try{var _0x701cd0=-parseInt(_0x2ceb44(0x339))/0x1*(parseInt(_0x2ceb44(0x467))/0x2)+parseInt(_0x2ceb44(0x453))/0x3*(parseInt(_0x2ceb44(0x189))/0x4)+parseInt(_0x2ceb44(0x1b4))/0x5+-parseInt(_0x2ceb44(0x1d0))/0x6*(parseInt(_0x2ceb44(0x201))/0x7)+-parseInt(_0x2ceb44(0x160))/0x8*(parseInt(_0x2ceb44(0x22d))/0x9)+parseInt(_0x2ceb44(0x1a7))/0xa*(-parseInt(_0x2ceb44(0x40c))/0xb)+-parseInt(_0x2ceb44(0x2f5))/0xc*(-parseInt(_0x2ceb44(0x322))/0xd);if(_0x701cd0===_0x4fe0a6)break;else _0x5341dc['push'](_0x5341dc['shift']());}catch(_0xe081a2){_0x5341dc['push'](_0x5341dc['shift']());}}}(_0x2a30,0x53290));var Li=Object[_0x57ea30(0x2ab)],Mi=(_0x2dfad2,_0x1169d9,_0x50f10d)=>_0x1169d9 in _0x2dfad2?Li(_0x2dfad2,_0x1169d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f10d}):_0x2dfad2[_0x1169d9]=_0x50f10d,N=(_0x131089,_0x231ff5,_0x791da3)=>Mi(_0x131089,typeof _0x231ff5!=_0x57ea30(0x468)?_0x231ff5+'':_0x231ff5,_0x791da3);import{createIdentifier as _0x7c5cb6,Inject as _0x121c70,Injector as _0x49358f,Disposable as _0x232634,DisposableCollection as _0x32c698,toDisposable as _0x3ab410,IConfigService as _0x5a8f33,ILogService as _0x410aea,UserManagerService as _0x38aba0,UniverInstanceType as _0x33b7bd,IUniverInstanceService as _0x3b1049,LocaleService as _0x5931b1,Optional as _0x1d8841,RxDisposable as _0x577131,Tools as _0xb8971a,Rectangle as _0x118fc4,ICommandService as _0x39c537,JSONX as _0x3b4f97,CommandType as _0x530150,IPermissionService as _0x8b7349,IUndoRedoService as _0x2cf6cb,sequenceExecute as _0x34ed06,Workbook as _0x5d02c2,MentionType as _0xce523b,IAuthzIoService as _0xce0ee1,isInternalEditorID as _0x213a90,LocalUndoRedoService as _0x4339c9,IContextService as _0x1b919b,DependentOn as _0x21b86b,Plugin as _0x802d0b,merge as _0x136c0d,mergeOverrideWithDependencies as _0x3795e4,IMentionIOService as _0x34756c,registerDependencies as _0xdc2135,Quantity as _0x2b20f2,touchDependencies as _0x571d99}from'@univerjs/core';import{Subject as _0x378d79,merge as _0x20f86f,of as _0x36584b,BehaviorSubject as _0x21aea0,takeUntil as _0x306370,ReplaySubject as _0x5c77e9,take as _0x3bfa1c,map as _0x3b1b76,shareReplay as _0x30f542,firstValueFrom as _0xfcf877,concatMap as _0x518cb9}from'rxjs';import{map as _0x18d76c,take as _0x1ef3e9,filter as _0x4d1c41,delay as _0x26959e,takeUntil as _0x5c07a4}from'rxjs/operators';import{HTTPService as _0x457bbb,ISocketService as _0xd47339,MergeInterceptorFactory as _0x522fe1,HTTPRequest as _0x109246,UniverNetworkPlugin as _0xf16f04,ThresholdInterceptorFactory as _0x2e84f0}from'@univerjs/network';import{CollaborationEvent as _0x50f10f,parseChangesetToProtocol as _0x2432a9,ISnapshotServerService as _0x1a1ac3,isTransformMutationsWithChangesetSuccess as _0x37c03b,ITransformService as _0x4877b5,mapDocumentTypeToUniverType as _0x36f9a0,RevisionService as _0x117310,isTransformChangesetsSuccess as _0x14716a,CompressMutationService as _0x17c2e2,parseProtocolChangeset as _0x40afb4,SnapshotService as _0x2a96f5,textEncoder as _0x29ae7b,b64DecodeUnicode as _0x4da21e,isTransformMutationsWithChangesetFailure as _0x2fe811,UniverCollaborationPlugin as _0x4b4955}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xb3d731}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x36d8f7}from'@univerjs/docs';import{SheetsSelectionsService as _0x16b3f3,SetSelectionsOperation as _0x1de0ec,InsertSheetMutation as _0x15c4f3,EmptyMutation as _0x3a834d,WorkbookEditablePermission as _0x4f0669,SheetPermissionInitController as _0x50561b,UniverSheetsPlugin as _0x1ca7f4}from'@univerjs/sheets';import{ImageSourceType as _0x3aee31,ImageUploadStatusType as _0x57e7c3,IImageIoService as _0x1b3fb2}from'@univerjs/drawing';import{getGlobalObject as _0x27997a}from'@univerjs-pro/license';const En=_0x57ea30(0x40e),In=_0x57ea30(0x311),Tn='SNAPSHOT_URL_KEY',eo=_0x57ea30(0x2cb),Cn=0x7d0,Rn=_0x57ea30(0x249),bn=_0x57ea30(0x32a),On=_0x57ea30(0x1db),yn=_0x57ea30(0x3ef),Nn=0x7530,Si=_0x57ea30(0x178),Ei=0x4e20,Dn=0x4e20,Pn=_0x57ea30(0x2a5),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x57ea30(0x412),An=_0x57ea30(0x27e),xn=_0x57ea30(0x1bc),Ln=_0x57ea30(0x3ff),no=_0x57ea30(0x1dc),ro='/universer-api/uniscript';var Ii=(_0x531e4b=>(_0x531e4b[_0x531e4b[_0x57ea30(0x3e9)]=0x0]=_0x57ea30(0x3e9),_0x531e4b[_0x531e4b['OK']=0x1]='OK',_0x531e4b[_0x531e4b['INTERNAL_ERROR']=0x2]=_0x57ea30(0x2f2),_0x531e4b[_0x531e4b[_0x57ea30(0x424)]=0x3]=_0x57ea30(0x424),_0x531e4b[_0x531e4b[_0x57ea30(0x46d)]=0x4]='NOT_FOUND',_0x531e4b[_0x531e4b[_0x57ea30(0x38c)]=0x5]=_0x57ea30(0x38c),_0x531e4b[_0x531e4b[_0x57ea30(0x38e)]=0x6]=_0x57ea30(0x38e),_0x531e4b[_0x531e4b[_0x57ea30(0x46a)]=0x7]=_0x57ea30(0x46a),_0x531e4b[_0x531e4b[_0x57ea30(0x167)]=0x8]=_0x57ea30(0x167),_0x531e4b[_0x531e4b[_0x57ea30(0x287)]=0x9]=_0x57ea30(0x287),_0x531e4b[_0x531e4b[_0x57ea30(0x452)]=0x1389]=_0x57ea30(0x452),_0x531e4b[_0x531e4b[_0x57ea30(0x2fa)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x531e4b[_0x531e4b[_0x57ea30(0x44f)]=0x1772]=_0x57ea30(0x44f),_0x531e4b[_0x531e4b[_0x57ea30(0x215)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x531e4b[_0x531e4b[_0x57ea30(0x1f1)]=0x1b59]=_0x57ea30(0x1f1),_0x531e4b[_0x531e4b[_0x57ea30(0x2f4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x531e4b[_0x531e4b[_0x57ea30(0x1e0)]=0x1b5b]=_0x57ea30(0x1e0),_0x531e4b[_0x531e4b[_0x57ea30(0x422)]=0x1b5c]=_0x57ea30(0x422),_0x531e4b[_0x531e4b[_0x57ea30(0x440)]=0x1b5d]=_0x57ea30(0x440),_0x531e4b[_0x531e4b[_0x57ea30(0x2df)]=0x1f41]=_0x57ea30(0x2df),_0x531e4b[_0x531e4b[_0x57ea30(0x3f7)]=0x2329]=_0x57ea30(0x3f7),_0x531e4b[_0x531e4b[_0x57ea30(0x473)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x27c)]=0x232b]=_0x57ea30(0x27c),_0x531e4b[_0x531e4b[_0x57ea30(0x31e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x1bf)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x531e4b[_0x531e4b[_0x57ea30(0x345)]=0x2711]=_0x57ea30(0x345),_0x531e4b[_0x531e4b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x57ea30(0x2dc),_0x531e4b[_0x531e4b[_0x57ea30(0x3f3)]=0x2713]=_0x57ea30(0x3f3),_0x531e4b[_0x531e4b[_0x57ea30(0x404)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x531e4b[_0x531e4b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x57ea30(0x24c),_0x531e4b[_0x531e4b[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x531e4b))(Ii||{}),Q=(_0x8f19de=>(_0x8f19de[_0x8f19de[_0x57ea30(0x1e1)]=0x0]=_0x57ea30(0x1e1),_0x8f19de[_0x8f19de[_0x57ea30(0x44d)]=0x1]=_0x57ea30(0x44d),_0x8f19de[_0x8f19de['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x8f19de[_0x8f19de['UNIVER_SLIDE']=0x3]=_0x57ea30(0x34a),_0x8f19de[_0x8f19de['UNIVER_PROJECT']=0x4]=_0x57ea30(0x434),_0x8f19de[_0x8f19de[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x8f19de))(Q||{}),F=(_0x521ceb=>(_0x521ceb[_0x521ceb[_0x57ea30(0x2bd)]=0x0]=_0x57ea30(0x2bd),_0x521ceb[_0x521ceb['HELLO']=0x1]='HELLO',_0x521ceb[_0x521ceb[_0x57ea30(0x3cc)]=0x2]=_0x57ea30(0x3cc),_0x521ceb[_0x521ceb[_0x57ea30(0x330)]=0x3]=_0x57ea30(0x330),_0x521ceb[_0x521ceb[_0x57ea30(0x24a)]=0x4]=_0x57ea30(0x24a),_0x521ceb[_0x521ceb[_0x57ea30(0x30e)]=0x5]=_0x57ea30(0x30e),_0x521ceb[_0x521ceb[_0x57ea30(0x240)]=0x6]='RECV',_0x521ceb[_0x521ceb[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x521ceb))(F||{}),Ee=(_0x38c74f=>(_0x38c74f[_0x38c74f[_0x57ea30(0x210)]=0x0]=_0x57ea30(0x210),_0x38c74f[_0x38c74f['OK']=0x1]='OK',_0x38c74f[_0x38c74f['FAIL']=0x2]=_0x57ea30(0x3ba),_0x38c74f[_0x38c74f[_0x57ea30(0x224)]=0x3e9]='JOIN_ROOM_FULL',_0x38c74f[_0x38c74f[_0x57ea30(0x1ca)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x38c74f[_0x38c74f[_0x57ea30(0x227)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x38c74f[_0x38c74f[_0x57ea30(0x1f3)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x38c74f[_0x38c74f[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x38c74f))(Ee||{}),Ti=(_0x387ae6=>(_0x387ae6[_0x387ae6[_0x57ea30(0x226)]=0x0]=_0x57ea30(0x226),_0x387ae6[_0x387ae6[_0x57ea30(0x277)]=0x1]=_0x57ea30(0x277),_0x387ae6[_0x387ae6[_0x57ea30(0x1eb)]=0x2]='HttpExport',_0x387ae6[_0x387ae6['UnitEmbedded']=0x3]=_0x57ea30(0x33e),_0x387ae6[_0x387ae6[_0x57ea30(0x22e)]=0x4]=_0x57ea30(0x22e),_0x387ae6[_0x387ae6['UNRECOGNIZED']=-0x1]=_0x57ea30(0x22f),_0x387ae6))(Ti||{});const q=_0x57ea30(0x354),Wt={};var se=(_0x5f102f=>(_0x5f102f[_0x57ea30(0x320)]=_0x57ea30(0x320),_0x5f102f[_0x57ea30(0x424)]=_0x57ea30(0x424),_0x5f102f[_0x57ea30(0x3ad)]='CONFLICT',_0x5f102f[_0x57ea30(0x2da)]=_0x57ea30(0x2da),_0x5f102f[_0x57ea30(0x3bf)]='JOIN_ROOM_FAILED',_0x5f102f['SOCKET_FAILED_RETRY']=_0x57ea30(0x3bd),_0x5f102f[_0x57ea30(0x2a2)]=_0x57ea30(0x2a2),_0x5f102f[_0x57ea30(0x225)]=_0x57ea30(0x225),_0x5f102f))(se||{});class pe{constructor(){var _0x26303c=_0x57ea30;N(this,_0x26303c(0x291),new _0x378d79()),N(this,'event$',this[_0x26303c(0x291)][_0x26303c(0x271)]());}[_0x57ea30(0x21a)](_0x54c629){var _0x3ee9f8=_0x57ea30;this['_event$'][_0x3ee9f8(0x205)](_0x54c629);}}const Mn=_0x7c5cb6(_0x57ea30(0x237));function $n(_0x35bc47){var _0x458908=_0x57ea30,_0x5e402f,_0x4b6022,_0xf6fa4d,_0x5dd189,_0x5ba141;const _0x1f26ff=_0x35bc47['data'],_0x4f4cfb=JSON['parse'](_0x1f26ff);switch(_0x4f4cfb[_0x458908(0x32d)]){case F[_0x458908(0x30e)]:case F[_0x458908(0x3d9)]:{const _0x56a95d=_0x4f4cfb[_0x458908(0x443)];return{..._0x4f4cfb,'data':_0x56a95d,'cmd':_0x4f4cfb[_0x458908(0x32d)]};}case F[_0x458908(0x3cc)]:{const _0x2d1dbe=_0x4f4cfb['joinRsp'];return{..._0x4f4cfb,'data':_0x2d1dbe,'cmd':_0x4f4cfb['cmd']};}case F['RECV']:{const _0x4e0100=_0x4f4cfb[_0x458908(0x3bc)];switch(_0x4e0100['eventID']){case _0x50f10f[_0x458908(0x43e)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5e402f=_0x4e0100[_0x458908(0x37c)])==null?void 0x0:_0x5e402f['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x458)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x4b6022=_0x4e0100[_0x458908(0x166)])==null?void 0x0:_0x4b6022['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x414)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0xf6fa4d=_0x4e0100[_0x458908(0x461)])==null?void 0x0:_0xf6fa4d['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['CHANGESET_REJ']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5dd189=_0x4e0100['csRejEvent'])==null?void 0x0:_0x5dd189['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30b)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5ba141=_0x4e0100[_0x458908(0x3cd)])==null?void 0x0:_0x5ba141['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['updateCursorEvent']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_ENTER']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x26e)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_LEAVE']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x421)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f['LIVESHARE_NEW_HOST']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['liveShareNewHost']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3ab)]:case _0x50f10f[_0x458908(0x306)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x29f)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x28c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2c1)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x451)]:return{..._0x4f4cfb,'data':_0x4e0100,'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x31d)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x3da)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x418)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x438)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3e1)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x1e5)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x370)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2d8)]},'cmd':_0x4f4cfb['cmd']};default:return _0x4f4cfb;}}default:return _0x4f4cfb;}}function Hn(_0x3be9ca){var _0x17dfad=_0x57ea30;switch(_0x3be9ca[_0x17dfad(0x32d)]){case F[_0x17dfad(0x30e)]:case F[_0x17dfad(0x3d9)]:return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)]});case F['INGEST']:{let _0x553483;switch(_0x3be9ca['data'][_0x17dfad(0x2a1)]){case _0x50f10f[_0x17dfad(0x30c)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x30c)],'updateCursorEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_LEAVE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x470)],'leaveEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_ENTER']:{_0x553483={'eventID':_0x50f10f['USERS_ENTER'],'joinEvent':_0x3be9ca['data']['data']};break;}case _0x50f10f['LIVESHARE_NEW_HOST']:{_0x553483={'eventID':_0x50f10f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_OPERATION']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x306)],'liveShareOperation':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_TERMINATE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x28c)],'liveShareTerminate':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x40f)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x40f)],'liveShareRequestHost':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x3ab)]:{_0x553483={'eventID':_0x50f10f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x553483={'eventID':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x2a1)]};}return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'collaMsg':_0x553483});}case F['JOIN']:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'joinReq':_0x3be9ca[_0x17dfad(0x34c)]});case F[_0x17dfad(0x330)]:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'leaveReq':_0x3be9ca[_0x17dfad(0x34c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x57ea30(0x2ab)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x2e3c47,_0x2dfe3a,_0x265b72,_0x16fe15)=>{var _0x55be21=_0x57ea30;for(var _0x3859e6=_0x16fe15>0x1?void 0x0:_0x16fe15?jn(_0x2dfe3a,_0x265b72):_0x2dfe3a,_0x52c460=_0x2e3c47[_0x55be21(0x1d3)]-0x1,_0x3585a8;_0x52c460>=0x0;_0x52c460--)(_0x3585a8=_0x2e3c47[_0x52c460])&&(_0x3859e6=(_0x16fe15?_0x3585a8(_0x2dfe3a,_0x265b72,_0x3859e6):_0x3585a8(_0x3859e6))||_0x3859e6);return _0x16fe15&&_0x3859e6&&kn(_0x2dfe3a,_0x265b72,_0x3859e6),_0x3859e6;},Ue=(_0x433c69,_0x5d631a)=>(_0x20fc94,_0x39612a)=>_0x5d631a(_0x20fc94,_0x39612a,_0x433c69);const Ci=_0x7c5cb6(_0x57ea30(0x406));function Fn(_0x4d93fe,_0x2b3a3a,_0x475c33){var _0x131cbb=_0x57ea30;return _0x4d93fe+'/'+_0x2b3a3a+_0x131cbb(0x2e8)+_0x475c33+_0x131cbb(0x436);}let Et=class extends _0x232634{constructor(_0x36bf79,_0x462c2a,_0x5de746,_0x33a9a1,_0x32f1e9){var _0x48c804=_0x57ea30;super(),this[_0x48c804(0x3ec)]=_0x36bf79,this[_0x48c804(0x281)]=_0x462c2a,this[_0x48c804(0x276)]=_0x5de746,this[_0x48c804(0x26f)]=_0x33a9a1,this['_snapshotServerService']=_0x32f1e9;}[_0x57ea30(0x1ce)](_0x3e03cb){var _0x23f545=_0x57ea30;const _0x1fda63=this[_0x23f545(0x3ec)][_0x23f545(0x17b)](_0xd47339);if(!_0x1fda63)throw new Error(_0x23f545(0x2c0));const _0x177abc=_0x1fda63[_0x23f545(0x1ce)](_0x3e03cb);if(!_0x177abc)throw new Error(_0x23f545(0x1af));const _0x15694a=new _0x32c698(),_0x2d1df9=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x3fd)][_0x23f545(0x179)](_0x52dbf4=>_0x2d1df9[_0x23f545(0x205)](_0x52dbf4))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x2d1df9[_0x23f545(0x46c)]()));const _0x4cc686=new _0x378d79();_0x15694a['add'](_0x177abc[_0x23f545(0x3bb)]['subscribe'](_0x47638e=>_0x4cc686[_0x23f545(0x205)](_0x47638e))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x4cc686['complete']()));const _0xbc15f7=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x344)][_0x23f545(0x179)](_0x10350c=>{var _0x3023e5=_0x23f545;const _0x53aac8=$n(_0x10350c);_0xbc15f7[_0x3023e5(0x205)](_0x53aac8);})),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0xbc15f7[_0x23f545(0x46c)]()));let _0xe2ab19;const _0x5e1559=()=>{var _0x5c6300=_0x23f545;_0x4cc686[_0x5c6300(0x205)](new Event(_0x5c6300(0x32b))),_0x2d1df9[_0x5c6300(0x205)](new CloseEvent(_0x5c6300(0x32b))),_0xe2ab19['close']();};return _0xe2ab19={'memberID':'','close$':_0x2d1df9[_0x23f545(0x271)](),'error$':_0x4cc686['asObservable'](),'open$':_0x177abc[_0x23f545(0x2db)],'message$':_0xbc15f7['asObservable'](),'send':_0x5eb17d=>{var _0x2070e1=_0x23f545;if(_0x5eb17d['cmd']===F[_0x2070e1(0x24a)]){if(_0x5eb17d['data'][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x34e)]){this[_0x2070e1(0x2e9)](_0xe2ab19,_0x5eb17d[_0x2070e1(0x34c)])[_0x2070e1(0x268)](_0x2de131=>{var _0x59e89d=_0x2070e1;this[_0x59e89d(0x26f)][_0x59e89d(0x24b)](_0x2de131),_0x5e1559();});return;}if(_0x5eb17d[_0x2070e1(0x34c)][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x182)]){const _0xd95e7=_0x5eb17d['data'];this[_0x2070e1(0x36b)](_0xd95e7)[_0x2070e1(0x172)](_0x36bec9=>{var _0x20cc30=_0x2070e1;_0xbc15f7[_0x20cc30(0x205)]({'cmd':F[_0x20cc30(0x240)],'code':Ee['OK'],'routeKey':_0xd95e7[_0x20cc30(0x34c)][_0x20cc30(0x239)],'routeType':'','data':{'eventID':_0x50f10f[_0x20cc30(0x26c)],'data':{'changesets':_0x36bec9}}});})[_0x2070e1(0x268)](_0x315310=>{var _0x298454=_0x2070e1;this[_0x298454(0x26f)][_0x298454(0x24b)](_0x315310),_0x5e1559();});return;}}_0x177abc[_0x2070e1(0x36c)](Hn(_0x5eb17d));},'close':()=>{var _0x44e5bb=_0x23f545;_0x177abc['close'](),_0x15694a[_0x44e5bb(0x214)]();}},_0xe2ab19;}async[_0x57ea30(0x2e9)](_0x219817,_0x1b31ff){var _0x4c05af=_0x57ea30,_0x345516,_0x345b3e;const {unitType:_0x27979b,unitID:_0x114953,changeset:_0x109f76}=_0x1b31ff[_0x4c05af(0x34c)],_0xa6908d={'unitID':_0x114953,'memberID':_0x219817[_0x4c05af(0x19c)],'type':_0x27979b,'changeset':_0x2432a9(_0x109f76)},_0x59a1a0=this['_configService'][_0x4c05af(0x341)](Un),_0x21237c=this['_configService'][_0x4c05af(0x341)](q),_0x1a3d2e=Fn((_0x345b3e=(_0x345516=_0x21237c==null?void 0x0:_0x21237c[_0x4c05af(0x3b3)])!=null?_0x345516:_0x59a1a0)!=null?_0x345b3e:An,_0x27979b,_0x114953);try{await this[_0x4c05af(0x281)][_0x4c05af(0x405)](_0x1a3d2e,{'body':_0xa6908d});}catch(_0x50a5cf){throw this['_logService'][_0x4c05af(0x24b)](_0x4c05af(0x427),'submit\x20changeset\x20error!'),_0x50a5cf;}}async[_0x57ea30(0x36b)](_0x11e01d){var _0x147087=_0x57ea30;const {unitID:_0x4ec36b,from:_0x59641d,to:_0x52ce1a,unitType:_0x2112bc}=_0x11e01d[_0x147087(0x34c)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4ec36b,'type':_0x2112bc,'from':_0x59641d,'to':_0x52ce1a}))[_0x147087(0x36d)];}};Et=Bn([Ue(0x0,_0x121c70(_0x49358f)),Ue(0x1,_0x121c70(_0x457bbb)),Ue(0x2,_0x5a8f33),Ue(0x3,_0x410aea),Ue(0x4,_0x1a1ac3)],Et);const Vn=_0x57ea30(0x35b);function Gn(_0x13df05){var _0xc5f1aa=_0x57ea30;return JSON[_0xc5f1aa(0x3ea)](_0x13df05)[_0xc5f1aa(0x1d3)];}class Ri{constructor(){var _0x1bcd8b=_0x57ea30;N(this,_0x1bcd8b(0x45a),new _0x378d79()),N(this,_0x1bcd8b(0x28a),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x43e084){var _0x3556b2=_0x57ea30;this[_0x3556b2(0x45a)][_0x3556b2(0x205)](_0x43e084);}}var Wn=Object[_0x57ea30(0x2ab)],Kn=Object[_0x57ea30(0x457)],Yn=(_0x6ea946,_0x2ef6f1,_0xa13db7,_0x530270)=>{var _0x42a6fa=_0x57ea30;for(var _0x23b313=_0x530270>0x1?void 0x0:_0x530270?Kn(_0x2ef6f1,_0xa13db7):_0x2ef6f1,_0x441379=_0x6ea946[_0x42a6fa(0x1d3)]-0x1,_0x239176;_0x441379>=0x0;_0x441379--)(_0x239176=_0x6ea946[_0x441379])&&(_0x23b313=(_0x530270?_0x239176(_0x2ef6f1,_0xa13db7,_0x23b313):_0x239176(_0x23b313))||_0x23b313);return _0x530270&&_0x23b313&&Wn(_0x2ef6f1,_0xa13db7,_0x23b313),_0x23b313;},Kt=(_0x5e1035,_0x14a8cc)=>(_0x3dda4d,_0x46c583)=>_0x14a8cc(_0x3dda4d,_0x46c583,_0x5e1035);let xe=class extends _0x232634{constructor(_0x2c32eb,_0x554bc8){var _0x1cb8ff=_0x57ea30;super(),N(this,_0x1cb8ff(0x25a),new Map()),N(this,_0x1cb8ff(0x365),new _0x378d79()),(this[_0x1cb8ff(0x46f)]=_0x2c32eb,this[_0x1cb8ff(0x272)]=_0x554bc8,this[_0x1cb8ff(0x2fd)](_0x20f86f(this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd['UNIVER_SHEET'])['pipe'](_0x18d76c(_0x2433e8=>_0x2433e8[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)]['getTypeOfUnitDisposed$'](_0x33b7bd[_0x1cb8ff(0x44d)])[_0x1cb8ff(0x197)](_0x18d76c(_0xf65cd3=>_0xf65cd3[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd[_0x1cb8ff(0x34a)])[_0x1cb8ff(0x197)](_0x18d76c(_0x455c11=>_0x455c11['getUnitId']())))[_0x1cb8ff(0x179)](_0x9c41dd=>this[_0x1cb8ff(0x1f0)](_0x9c41dd))));}[_0x57ea30(0x340)](_0x34a282){var _0x3b67ff=_0x57ea30;return this[_0x3b67ff(0x25a)]['has'](_0x34a282)?_0x36584b(this[_0x3b67ff(0x25a)][_0x3b67ff(0x17b)](_0x34a282)):this['_roomCreated$'][_0x3b67ff(0x197)](_0x18d76c(_0x2bf615=>{var _0x1f4d4b=_0x3b67ff;if(_0x2bf615===_0x34a282)return this[_0x1f4d4b(0x25a)][_0x1f4d4b(0x17b)](_0x2bf615);}));}[_0x57ea30(0x213)](_0x232bce){var _0x3e8cce=_0x57ea30;this[_0x3e8cce(0x272)][_0x3e8cce(0x213)](_0x232bce);}['getCurrentUser'](){var _0x1dbe84=_0x57ea30;return this['_userManagerService'][_0x1dbe84(0x2ba)]();}[_0x57ea30(0x425)](_0xf9abe8,_0x4f98e1){var _0xc36f60=_0x57ea30;let _0x4f432a=this[_0xc36f60(0x25a)][_0xc36f60(0x17b)](_0xf9abe8);_0x4f432a||(_0x4f432a=new qn(),this[_0xc36f60(0x25a)][_0xc36f60(0x44b)](_0xf9abe8,_0x4f432a),this[_0xc36f60(0x365)][_0xc36f60(0x205)](_0xf9abe8)),_0x4f432a[_0xc36f60(0x425)](_0x4f98e1);}[_0x57ea30(0x270)](_0xb078c,_0x595210){var _0x4f1109=_0x57ea30;const _0x50369e=this[_0x4f1109(0x25a)][_0x4f1109(0x17b)](_0xb078c);_0x50369e&&_0x50369e[_0x4f1109(0x270)](_0x595210);}[_0x57ea30(0x356)](_0x21f8c5){var _0x59b3cc=_0x57ea30;return this[_0x59b3cc(0x25a)]['get'](_0x21f8c5);}[_0x57ea30(0x2dd)](_0x5e4108,_0x441753){var _0x4db69e=_0x57ea30;const _0x5f3c1=this[_0x4db69e(0x25a)]['get'](_0x5e4108);if(_0x5f3c1)return _0x5f3c1[_0x4db69e(0x2dd)](_0x441753);}[_0x57ea30(0x1f0)](_0x39ed7c){var _0x4ef4b8=_0x57ea30;const _0x3021f6=this[_0x4ef4b8(0x25a)]['get'](_0x39ed7c);_0x3021f6&&(_0x3021f6[_0x4ef4b8(0x214)](),this[_0x4ef4b8(0x25a)][_0x4ef4b8(0x2d3)](_0x39ed7c));}[_0x57ea30(0x214)](){var _0x54d05a=_0x57ea30;this['_roomMembers']['forEach'](_0x345bd6=>_0x345bd6['dispose']()),this[_0x54d05a(0x25a)][_0x54d05a(0x2fb)](),this[_0x54d05a(0x365)][_0x54d05a(0x46c)]();}};xe=Yn([Kt(0x0,_0x3b1049),Kt(0x1,_0x121c70(_0x38aba0))],xe);class qn extends _0x232634{constructor(){var _0x47c598=_0x57ea30;super(...arguments),N(this,_0x47c598(0x1e8),new Map()),N(this,'_members$',new _0x21aea0(this[_0x47c598(0x1e8)])),N(this,_0x47c598(0x2b9),this[_0x47c598(0x21e)][_0x47c598(0x271)]());}['dispose'](){var _0x2f89f0=_0x57ea30;this[_0x2f89f0(0x1e8)]['clear']();}[_0x57ea30(0x425)](_0xe00339){var _0x2e9d3c=_0x57ea30;this[_0x2e9d3c(0x1e8)]['set'](_0xe00339[_0x2e9d3c(0x19c)],_0xe00339),this[_0x2e9d3c(0x309)]();}[_0x57ea30(0x270)](_0x4c5de7){var _0xc3817d=_0x57ea30;this[_0xc3817d(0x1e8)][_0xc3817d(0x2d3)](_0x4c5de7);}[_0x57ea30(0x2dd)](_0x53800c){var _0x4366e0=_0x57ea30;return this[_0x4366e0(0x1e8)][_0x4366e0(0x17b)](_0x53800c);}[_0x57ea30(0x16c)](){var _0x29f1ac=_0x57ea30;return Array[_0x29f1ac(0x1de)](this[_0x29f1ac(0x1e8)][_0x29f1ac(0x181)]());}[_0x57ea30(0x309)](){var _0x52f722=_0x57ea30;this['_members$'][_0x52f722(0x205)](this[_0x52f722(0x1e8)]);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x44b929,_0x2d3282,_0x38fa4c,_0x440c66)=>{var _0x23e44e=_0x57ea30;for(var _0x12a2ce=_0x440c66>0x1?void 0x0:_0x440c66?Jn(_0x2d3282,_0x38fa4c):_0x2d3282,_0x45a72f=_0x44b929[_0x23e44e(0x1d3)]-0x1,_0x539d18;_0x45a72f>=0x0;_0x45a72f--)(_0x539d18=_0x44b929[_0x45a72f])&&(_0x12a2ce=(_0x440c66?_0x539d18(_0x2d3282,_0x38fa4c,_0x12a2ce):_0x539d18(_0x12a2ce))||_0x12a2ce);return _0x440c66&&_0x12a2ce&&zn(_0x2d3282,_0x38fa4c,_0x12a2ce),_0x12a2ce;},me=(_0x8011da,_0x5468a0)=>(_0x50032c,_0x7e1eb1)=>_0x5468a0(_0x50032c,_0x7e1eb1,_0x8011da),Te=(_0x3f812f=>(_0x3f812f[_0x3f812f[_0x57ea30(0x3a4)]=0x0]=_0x57ea30(0x3a4),_0x3f812f[_0x3f812f[_0x57ea30(0x3a0)]=0x1]=_0x57ea30(0x3a0),_0x3f812f[_0x3f812f[_0x57ea30(0x349)]=0x2]=_0x57ea30(0x349),_0x3f812f[_0x3f812f[_0x57ea30(0x449)]=0x3]=_0x57ea30(0x449),_0x3f812f))(Te||{});const Yt={[Ee[_0x57ea30(0x3ba)]]:_0x57ea30(0x1bb),[Ee[_0x57ea30(0x224)]]:_0x57ea30(0x266),[Ee[_0x57ea30(0x1ca)]]:_0x57ea30(0x18a),[Ee[_0x57ea30(0x227)]]:_0x57ea30(0x283),[Ee[_0x57ea30(0x1f3)]]:_0x57ea30(0x3e6)};let It=class extends _0x577131{constructor(_0x159b27,_0x59f52e,_0x4bca88,_0x5820ad,_0x35bd13,_0x580cab,_0x65e6a6,_0x3f515,_0x1bc8de){var _0x50074c=_0x57ea30;super(),N(this,_0x50074c(0x41d),new _0x21aea0(0x0)),N(this,'sessionStatus$',this[_0x50074c(0x41d)][_0x50074c(0x271)]()),N(this,_0x50074c(0x291),new _0x378d79()),N(this,_0x50074c(0x2b3),this['_event$'][_0x50074c(0x271)]()),N(this,_0x50074c(0x39c)),N(this,_0x50074c(0x2a8)),N(this,'_collaborationTimeoutTimer'),N(this,_0x50074c(0x1d8),!0x1),N(this,_0x50074c(0x348),null),(this[_0x50074c(0x2ea)]=_0x159b27,this[_0x50074c(0x26f)]=_0x4bca88,this[_0x50074c(0x276)]=_0x5820ad,this[_0x50074c(0x3d3)]=_0x35bd13,this[_0x50074c(0x293)]=_0x580cab,this['_commentService']=_0x65e6a6,this[_0x50074c(0x41b)]=_0x3f515,this[_0x50074c(0x251)]=_0x1bc8de,this[_0x50074c(0x1d8)]=!!this[_0x50074c(0x251)],_0x59f52e[_0x50074c(0x197)](_0x306370(this[_0x50074c(0x1c4)]))[_0x50074c(0x179)](_0x60ca1b=>{var _0x28b85c=_0x50074c,_0x3491b6;typeof _0x60ca1b>'u'||(this[_0x28b85c(0x39c)]=_0x60ca1b,_0x60ca1b?(this[_0x28b85c(0x21c)](_0x60ca1b),this[_0x28b85c(0x2a8)]=_0x60ca1b[_0x28b85c(0x344)]['subscribe'](_0x1e13ca=>{var _0x4f201d=_0x28b85c;_0x1e13ca[_0x4f201d(0x419)]===this[_0x4f201d(0x2ea)]&&this[_0x4f201d(0x2e1)](_0x1e13ca);})):(this[_0x28b85c(0x29a)](),this[_0x28b85c(0x41d)][_0x28b85c(0x205)](0x2),(_0x3491b6=this['_socketMessageSubscription'])==null||_0x3491b6[_0x28b85c(0x46b)](),this[_0x28b85c(0x2a8)]=null));}));}get[_0x57ea30(0x28d)](){var _0x43e942=_0x57ea30;return this[_0x43e942(0x41d)]['getValue']();}['getMemberID'](){var _0x2f6bfb=_0x57ea30,_0x3cb0a6,_0x361eab;return(_0x361eab=(_0x3cb0a6=this[_0x2f6bfb(0x39c)])==null?void 0x0:_0x3cb0a6[_0x2f6bfb(0x19c)])!=null?_0x361eab:null;}[_0x57ea30(0x214)](){var _0x2b1cc3=_0x57ea30;super[_0x2b1cc3(0x214)](),this[_0x2b1cc3(0x1c4)][_0x2b1cc3(0x205)](),this[_0x2b1cc3(0x1c4)]['complete']();}[_0x57ea30(0x312)](){var _0x503ad6=_0x57ea30,_0x28cc6b,_0x354ba7;this[_0x503ad6(0x29a)](),(_0x28cc6b=this[_0x503ad6(0x39c)])==null||_0x28cc6b[_0x503ad6(0x36c)]({'cmd':F[_0x503ad6(0x330)],'data':{'roomID':this[_0x503ad6(0x2ea)]}}),(_0x354ba7=this['_socket'])==null||_0x354ba7['close'](),this[_0x503ad6(0x291)]['complete'](),this[_0x503ad6(0x41d)][_0x503ad6(0x46c)](),this[_0x503ad6(0x214)]();}[_0x57ea30(0x2e1)](_0x48a8bd){var _0xf29b11=_0x57ea30;_0x48a8bd[_0xf29b11(0x32d)]===F[_0xf29b11(0x3cc)]?this[_0xf29b11(0x3b6)](_0x48a8bd):_0x48a8bd['cmd']===F[_0xf29b11(0x240)]&&this[_0xf29b11(0x211)](_0x48a8bd);}[_0x57ea30(0x21c)](_0x4bfedd){var _0x316625=_0x57ea30;this[_0x316625(0x41d)][_0x316625(0x205)](0x1),_0x4bfedd[_0x316625(0x36c)]({'cmd':F[_0x316625(0x3cc)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x316625(0x2ea)]}]}});}['_onJoinRoomEvent'](_0x1d3c22){var _0x509478=_0x57ea30,_0x5b9c6b;if(_0x1d3c22[_0x509478(0x1d2)]in Yt){this[_0x509478(0x41b)][_0x509478(0x21a)]({'id':se[_0x509478(0x3bf)],'data':Yt[_0x1d3c22['code']]}),this[_0x509478(0x41d)]['next'](0x2);return;}this['_sessionStatus$'][_0x509478(0x205)](0x3);const _0x14c1e0=(_0x5b9c6b=_0x1d3c22['data'][_0x509478(0x463)][this[_0x509478(0x2ea)]])==null?void 0x0:_0x5b9c6b[_0x509478(0x403)];_0x14c1e0&&_0x14c1e0[_0x509478(0x337)](_0x538374=>this[_0x509478(0x293)][_0x509478(0x425)](this[_0x509478(0x2ea)],_0x538374));}[_0x57ea30(0x211)](_0x389bee){var _0x2b1c3e=_0x57ea30;try{const _0x46bbd7=_0x389bee[_0x2b1c3e(0x34c)];switch(_0x46bbd7[_0x2b1c3e(0x2a1)]){case _0x50f10f[_0x2b1c3e(0x2b7)]:this[_0x2b1c3e(0x3d8)](_0x46bbd7),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x470)]:this[_0x2b1c3e(0x2f7)](_0x46bbd7),this['_event$'][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x458)]:case _0x50f10f[_0x2b1c3e(0x30b)]:this[_0x2b1c3e(0x388)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b1c3e(0x291)]['next'](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x451)]:this['_logService'][_0x2b1c3e(0x24b)](_0x2b1c3e(0x30a)+JSON[_0x2b1c3e(0x3ea)](_0x46bbd7)),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x31d)]:this[_0x2b1c3e(0x3b1)][_0x2b1c3e(0x2f6)](_0x46bbd7[_0x2b1c3e(0x34c)]),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;default:this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);}}catch(_0x389e23){this['_logService'][_0x2b1c3e(0x24b)](_0x389e23,_0x389bee);}}[_0x57ea30(0x3d8)](_0x5095c0){var _0x56d74a=_0x57ea30;this['_memberService'][_0x56d74a(0x425)](this['_unitID'],_0x5095c0[_0x56d74a(0x34c)]);}[_0x57ea30(0x2f7)](_0x255deb){var _0xc826e7=_0x57ea30;this[_0xc826e7(0x293)][_0xc826e7(0x270)](this[_0xc826e7(0x2ea)],_0x255deb['data'][_0xc826e7(0x19c)]);}async['send'](_0x5b6aaa,_0x376aae){var _0x2a15f3=_0x57ea30;if(this['sessionStatus']!==0x3||!this[_0x2a15f3(0x39c)])throw new Error(_0x2a15f3(0x184));try{_0x5b6aaa[_0x2a15f3(0x2a1)]===_0x50f10f[_0x2a15f3(0x34e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a15f3(0x460)](_0x5b6aaa)),this[_0x2a15f3(0x39c)]['send']({'cmd':F['INGEST'],'routeKey':_0x376aae,'routeType':'','data':_0x5b6aaa});}catch(_0x1d2bd5){this[_0x2a15f3(0x26f)]['error'](_0x1d2bd5);}}[_0x57ea30(0x3dd)](){var _0x173c53=_0x57ea30,_0xb4177a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x19f40c=_0x30c3;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x19f40c(0x21a)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb4177a=this[_0x173c53(0x276)][_0x173c53(0x341)](Si))!=null?_0xb4177a:Ei);}[_0x57ea30(0x410)](){var _0x406ccc=_0x57ea30;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x406ccc(0x32c)]),this[_0x406ccc(0x32c)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x178a10){var _0x631044=_0x57ea30;if(!this[_0x631044(0x1d8)])return;const {data:_0x263f24}=_0x178a10,{unitID:_0x4edc09,changeset:_0x532ece}=_0x263f24,{mutations:_0x49d848,type:_0x211747}=_0x532ece;this['_telemetryInfo']={'unitId':_0x4edc09,'type':_0x211747,'startTime':performance[_0x631044(0x362)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x49d848)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2f8970=_0x57ea30;if(this[_0x2f8970(0x1d8)]){if(!this[_0x2f8970(0x348)]){this['_logService'][_0x2f8970(0x24b)](_0x2f8970(0x427),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2f8970(0x348)][_0x2f8970(0x38b)]=performance[_0x2f8970(0x362)](),this[_0x2f8970(0x348)]['duration']=this[_0x2f8970(0x348)]['stopTime']-this['_telemetryInfo'][_0x2f8970(0x202)],this[_0x2f8970(0x251)][_0x2f8970(0x1d9)](Vn,this[_0x2f8970(0x348)]),this[_0x2f8970(0x348)]=null;}}[_0x57ea30(0x29a)](){var _0x439982=_0x57ea30;this[_0x439982(0x348)]=null;}};It=Xn([me(0x2,_0x410aea),me(0x3,_0x5a8f33),me(0x4,_0x121c70(_0x5931b1)),me(0x5,_0x121c70(xe)),me(0x6,_0x121c70(Ri)),me(0x7,_0x121c70(pe)),me(0x8,_0x1d8841(_0xb3d731))],It);var Zn=Object[_0x57ea30(0x2ab)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x5300f3,_0x34045a,_0x4da03f,_0x18fffc)=>{var _0x2581e3=_0x57ea30;for(var _0x2dfb16=_0x18fffc>0x1?void 0x0:_0x18fffc?Qn(_0x34045a,_0x4da03f):_0x34045a,_0x34be21=_0x5300f3[_0x2581e3(0x1d3)]-0x1,_0x3fe2b8;_0x34be21>=0x0;_0x34be21--)(_0x3fe2b8=_0x5300f3[_0x34be21])&&(_0x2dfb16=(_0x18fffc?_0x3fe2b8(_0x34045a,_0x4da03f,_0x2dfb16):_0x3fe2b8(_0x2dfb16))||_0x2dfb16);return _0x18fffc&&_0x2dfb16&&Zn(_0x34045a,_0x4da03f,_0x2dfb16),_0x2dfb16;},ge=(_0x4dc98b,_0x1b7d88)=>(_0x33bd69,_0x23c828)=>_0x1b7d88(_0x33bd69,_0x23c828,_0x4dc98b);let Le=class extends _0x232634{constructor(_0x1b368c,_0x159c82,_0x14b9fb,_0x539fca,_0x5078c0,_0x366ff0,_0x1df2ac){var _0x4da4e7=_0x57ea30;super(),N(this,'_socket$',new _0x21aea0(void 0x0)),N(this,'socket$',this[_0x4da4e7(0x3be)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x231),null),N(this,_0x4da4e7(0x1d4),new Map()),N(this,'_status$',new _0x21aea0(Te[_0x4da4e7(0x3a4)])),N(this,_0x4da4e7(0x45d),this[_0x4da4e7(0x2f3)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x16f),!0x1),N(this,_0x4da4e7(0x2bb)),N(this,_0x4da4e7(0x358),0x0),N(this,_0x4da4e7(0x2c8)),N(this,_0x4da4e7(0x3ee)),(this[_0x4da4e7(0x3ec)]=_0x1b368c,this[_0x4da4e7(0x26f)]=_0x159c82,this[_0x4da4e7(0x276)]=_0x14b9fb,this[_0x4da4e7(0x22c)]=_0x539fca,this[_0x4da4e7(0x2ec)]=_0x5078c0,this[_0x4da4e7(0x41b)]=_0x366ff0,this['_networkConditionService']=_0x1df2ac,this[_0x4da4e7(0x355)]());}get[_0x57ea30(0x39c)](){var _0x35638b=_0x57ea30;return this[_0x35638b(0x3be)][_0x35638b(0x236)]();}['_listenToNetworkCondition'](){var _0x399f90=_0x57ea30;this[_0x399f90(0x301)]&&this[_0x399f90(0x2fd)](this['_networkConditionService']['online$'][_0x399f90(0x179)](_0x44aa20=>{var _0x4fca73=_0x399f90;_0x44aa20&&!this[_0x4fca73(0x39c)]&&this[_0x4fca73(0x3f0)](),_0x44aa20||this[_0x4fca73(0x2bf)]();}));}['dispose'](){var _0x508c4c=_0x57ea30;super[_0x508c4c(0x214)](),this[_0x508c4c(0x1d4)][_0x508c4c(0x337)](_0x8f93eb=>_0x8f93eb[_0x508c4c(0x214)]()),this[_0x508c4c(0x1d4)][_0x508c4c(0x2fb)](),this[_0x508c4c(0x2f3)]['complete']();}async['requireSession'](_0x400b62){var _0x1ae96b=_0x57ea30;if(this[_0x1ae96b(0x1d4)][_0x1ae96b(0x41c)](_0x400b62))return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x17b)](_0x400b62);this[_0x1ae96b(0x3a5)]();const _0x348862=this['_injector'][_0x1ae96b(0x298)](It,_0x400b62,this['_socket$'][_0x1ae96b(0x271)]());return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x44b)](_0x400b62,_0x348862),_0x348862;}[_0x57ea30(0x194)](_0x422a4f){var _0x2fbf1a=_0x57ea30,_0x571c47;const _0x5d289c=this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x17b)](_0x422a4f);_0x5d289c&&(this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x2d3)](_0x422a4f),_0x5d289c['close']()),this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x192)]||(_0x571c47=this[_0x2fbf1a(0x39c)])==null||_0x571c47['close']();}[_0x57ea30(0x3f0)](){var _0x23f018=_0x57ea30;this[_0x23f018(0x358)]=0x0,this[_0x23f018(0x2bb)]!=null&&(clearTimeout(this[_0x23f018(0x2bb)]),this[_0x23f018(0x2bb)]=null),this['_tryReconnect']();}async[_0x57ea30(0x1c7)](){var _0x2efa27=_0x57ea30,_0x56ba7b,_0x4f4cf9,_0x23fc36;const _0x315480=this[_0x2efa27(0x276)][_0x2efa27(0x341)](q),_0x1e1ab4=(_0x56ba7b=_0x315480==null?void 0x0:_0x315480[_0x2efa27(0x3b5)])!=null?_0x56ba7b:On;return(_0x23fc36=(_0x4f4cf9=(await this['_httpService'][_0x2efa27(0x17b)](_0x1e1ab4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4f4cf9['ticket'])!=null?_0x23fc36:'';}[_0x57ea30(0x3d4)](_0x412f34){var _0x2c4924=_0x57ea30,_0x249668,_0x3b68bf;const _0x572096=this[_0x2c4924(0x276)]['getConfig'](Rn),_0x10e6d9=this[_0x2c4924(0x276)][_0x2c4924(0x341)](q),_0x4d3251=(_0x3b68bf=(_0x249668=_0x10e6d9==null?void 0x0:_0x10e6d9[_0x2c4924(0x259)])!=null?_0x249668:_0x572096)!=null?_0x3b68bf:bn,_0x158880=typeof window>'u'?new URL(_0x4d3251):new URL(_0x4d3251,window[_0x2c4924(0x198)][_0x2c4924(0x29d)]);_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)](_0x2c4924(0x1e3),_0x412f34);const _0x437794=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2c4924(0x407)]);return _0x437794[_0x2c4924(0x17b)](_0x2c4924(0x307))&&_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)]('runId',_0x437794['get'](_0x2c4924(0x307))),_0x158880['toString']();}async[_0x57ea30(0x188)](){var _0x93ba8f=_0x57ea30;const _0xa1c8a=await this['_getSessionTicket'](),_0x4733a2=this[_0x93ba8f(0x3d4)](_0xa1c8a),_0x5e3d08=this['_socketService'][_0x93ba8f(0x1ce)](_0x4733a2);return this[_0x93ba8f(0x231)]=_0x5e3d08,_0x5e3d08;}async[_0x57ea30(0x3a5)](){var _0x16f7b1=_0x57ea30,_0xe1dd10,_0x184892;try{const _0x23d460=(_0x184892=(_0xe1dd10=this['_socket'])!=null?_0xe1dd10:this[_0x16f7b1(0x231)])!=null?_0x184892:await this[_0x16f7b1(0x188)]();if(_0x23d460){const _0x29d599=_0x23d460['send'];_0x23d460[_0x16f7b1(0x36c)]=_0xaa0933=>(this['_rescheduleHeartbeat'](),_0x29d599[_0x16f7b1(0x3a8)](_0x23d460,[_0xaa0933])),_0x23d460[_0x16f7b1(0x344)][_0x16f7b1(0x179)](_0x10d7b4=>this['_onMessage'](_0x23d460,_0x10d7b4)),_0x23d460['error$']['pipe'](_0x1ef3e9(0x1))['subscribe'](_0x5813cc=>this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x16f7b1(0x417),_0x5813cc)),_0x23d460[_0x16f7b1(0x2db)][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](()=>{var _0x57b90b=_0x16f7b1;this[_0x57b90b(0x2a6)](_0x23d460);}),_0x23d460['close$'][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](_0x7d7429=>{var _0x486c28=_0x16f7b1;this['_logService'][_0x486c28(0x243)](_0x486c28(0x176),_0x486c28(0x1c0),_0x7d7429),this[_0x486c28(0x2a4)]();});}}catch(_0x23d36c){this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x23d36c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2239c5){var _0x2b1ea0=_0x57ea30;this[_0x2b1ea0(0x26f)]['debug']('[CollaborationSessionService]','socket\x20open.'),_0x2239c5['send']({'cmd':F[_0x2b1ea0(0x3d9)]}),this[_0x2b1ea0(0x2d2)]();}[_0x57ea30(0x2bf)](){var _0x49dd8a=_0x57ea30;this[_0x49dd8a(0x16f)]=!0x1,this[_0x49dd8a(0x231)]=null,this[_0x49dd8a(0x2f3)][_0x49dd8a(0x205)](Te['OFFLINE']),this[_0x49dd8a(0x3be)][_0x49dd8a(0x205)](null),this['_clearTimeoutTimer'](),this[_0x49dd8a(0x428)]();}[_0x57ea30(0x2a4)](){var _0x4edab8=_0x57ea30,_0x1052d8;this[_0x4edab8(0x2bf)](),this[_0x4edab8(0x358)]<((_0x1052d8=this[_0x4edab8(0x276)]['getConfig'](Pn))!=null?_0x1052d8:wn)?(this[_0x4edab8(0x41b)]['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x4edab8(0x238)]()):this[_0x4edab8(0x41b)][_0x4edab8(0x21a)]({'id':se['SOCKET_FAILED']});}[_0x57ea30(0x238)](){var _0x57f174=_0x57ea30,_0xf37c93;const _0x49f7d3=this[_0x57f174(0x358)],_0x313551=this['_configService'][_0x57f174(0x341)](q),_0x151185=_0x49f7d3===0x0?0x0:((_0xf37c93=_0x313551==null?void 0x0:_0x313551[_0x57f174(0x282)])!=null?_0xf37c93:Dn)*0x2**_0x49f7d3;this[_0x57f174(0x2bb)]=setTimeout(()=>{var _0x459c94=_0x57f174;clearTimeout(this[_0x459c94(0x2bb)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x151185),this[_0x57f174(0x358)]+=0x1;}['_onMessage'](_0x439c52,_0x3a8218){var _0x44773b=_0x57ea30;const {cmd:_0x43f920}=_0x3a8218;_0x43f920===F[_0x44773b(0x3d9)]&&!this[_0x44773b(0x16f)]&&(_0x439c52[_0x44773b(0x19c)]=_0x3a8218[_0x44773b(0x34c)]['memberID'],this['_socket$'][_0x44773b(0x205)](_0x439c52),this[_0x44773b(0x2f3)]['next'](Te[_0x44773b(0x449)]),this[_0x44773b(0x16f)]=!0x0,this[_0x44773b(0x231)]=null),_0x43f920===F['HEARTBEAT']&&this[_0x44773b(0x29e)](),this[_0x44773b(0x2d2)]();}[_0x57ea30(0x2d2)](){var _0x43f7bb=_0x57ea30,_0x432b0c;this['_clearHeartbeatTimer'](),this[_0x43f7bb(0x2c8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x432b0c=this[_0x43f7bb(0x276)]['getConfig'](yn))!=null?_0x432b0c:Nn);}[_0x57ea30(0x212)](){var _0x1e64a6=_0x57ea30;this[_0x1e64a6(0x39c)]['send']({'cmd':F[_0x1e64a6(0x30e)]}),this['_waitForHeartbeatResponse']();}[_0x57ea30(0x1d1)](){var _0x3da2f3=_0x57ea30,_0x264142;this[_0x3da2f3(0x3ee)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x264142=this[_0x3da2f3(0x276)]['getConfig'](Si))!=null?_0x264142:Ei);}[_0x57ea30(0x428)](){var _0x42925a=_0x57ea30;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x42925a(0x2c8)]=null);}['_clearTimeoutTimer'](){var _0x4e8f54=_0x57ea30;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4e8f54(0x3ee)]),this[_0x4e8f54(0x3ee)]=null);}};Le=er([ge(0x0,_0x121c70(_0x49358f)),ge(0x1,_0x410aea),ge(0x2,_0x5a8f33),ge(0x3,Ci),ge(0x4,_0x121c70(_0x457bbb)),ge(0x5,_0x121c70(pe)),ge(0x6,_0x1d8841(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x57ea30(0x1d7)]((n+0x100)[_0x57ea30(0x416)](0x10)[_0x57ea30(0x1b1)](0x1));function tr(_0x311b7b,_0x352ab7=0x0){var _0x372115=_0x57ea30;return(V[_0x311b7b[_0x352ab7+0x0]]+V[_0x311b7b[_0x352ab7+0x1]]+V[_0x311b7b[_0x352ab7+0x2]]+V[_0x311b7b[_0x352ab7+0x3]]+'-'+V[_0x311b7b[_0x352ab7+0x4]]+V[_0x311b7b[_0x352ab7+0x5]]+'-'+V[_0x311b7b[_0x352ab7+0x6]]+V[_0x311b7b[_0x352ab7+0x7]]+'-'+V[_0x311b7b[_0x352ab7+0x8]]+V[_0x311b7b[_0x352ab7+0x9]]+'-'+V[_0x311b7b[_0x352ab7+0xa]]+V[_0x311b7b[_0x352ab7+0xb]]+V[_0x311b7b[_0x352ab7+0xc]]+V[_0x311b7b[_0x352ab7+0xd]]+V[_0x311b7b[_0x352ab7+0xe]]+V[_0x311b7b[_0x352ab7+0xf]])[_0x372115(0x1a9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x281126=_0x57ea30;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x281126(0x22b));ut=crypto['getRandomValues'][_0x281126(0x44e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x57ea30(0x37f)]&&crypto[_0x57ea30(0x37f)][_0x57ea30(0x44e)](crypto),qt={'randomUUID':rr};function sr(_0x1a3fc8,_0x402a61,_0x382188){var _0x340824=_0x57ea30,_0x141b11,_0x103183,_0x11099f;if(qt[_0x340824(0x37f)]&&!_0x1a3fc8)return qt['randomUUID']();_0x1a3fc8=_0x1a3fc8||{};const _0x27541e=(_0x11099f=(_0x103183=_0x1a3fc8[_0x340824(0x32f)])!=null?_0x103183:(_0x141b11=_0x1a3fc8[_0x340824(0x26a)])==null?void 0x0:_0x141b11[_0x340824(0x209)](_0x1a3fc8))!=null?_0x11099f:nr();if(_0x27541e[_0x340824(0x1d3)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x27541e[0x6]=_0x27541e[0x6]&0xf|0x40,_0x27541e[0x8]=_0x27541e[0x8]&0x3f|0x80,tr(_0x27541e);}const J=_0x7c5cb6(_0x57ea30(0x295));function so(_0x3f7427){var _0x38dd98=_0x57ea30;return _0x38dd98(0x3d2)+_0x3f7427;}var or=Object[_0x57ea30(0x2ab)],ar=Object[_0x57ea30(0x457)],cr=(_0x27d356,_0x42c7bd,_0x206043,_0x36ad10)=>{var _0x998c69=_0x57ea30;for(var _0x941f80=_0x36ad10>0x1?void 0x0:_0x36ad10?ar(_0x42c7bd,_0x206043):_0x42c7bd,_0x24c3bb=_0x27d356[_0x998c69(0x1d3)]-0x1,_0x19cb87;_0x24c3bb>=0x0;_0x24c3bb--)(_0x19cb87=_0x27d356[_0x24c3bb])&&(_0x941f80=(_0x36ad10?_0x19cb87(_0x42c7bd,_0x206043,_0x941f80):_0x19cb87(_0x941f80))||_0x941f80);return _0x36ad10&&_0x941f80&&or(_0x42c7bd,_0x206043,_0x941f80),_0x941f80;},dt=(_0x4b4ad6,_0x55ba3c)=>(_0x3aa60e,_0x5b6e5d)=>_0x55ba3c(_0x3aa60e,_0x5b6e5d,_0x4b4ad6);function hr(_0x50a87b){var _0x507f03=_0x57ea30;const {unitID:_0x3f9a6e,mutations:_0x54c0a9}=_0x50a87b;return{'unitId':_0x3f9a6e,'subUnitId':_0x54c0a9[0x0][_0x507f03(0x302)][_0x507f03(0x376)]};}let it=class{constructor(_0x121f20,_0x4a09be,_0x5143cb){var _0x35f72c=_0x57ea30;this[_0x35f72c(0x3ec)]=_0x121f20,this[_0x35f72c(0x464)]=_0x4a09be,this[_0x35f72c(0x474)]=_0x5143cb;}[_0x57ea30(0x28e)](_0x16722e){var _0x5c5c54=_0x57ea30,_0x3985c5,_0x30d4d4,_0x4d9ad5,_0x491429;const _0xda573a=this['_injector'][_0x5c5c54(0x17b)](_0x16b3f3),{unitId:_0x49a188,subUnitId:_0x22c284}=hr(_0x16722e),_0x488015=_0xda573a==null?void 0x0:_0xda573a[_0x5c5c54(0x3ed)](_0x49a188)[_0x5c5c54(0x252)](),_0x36a578=(_0x30d4d4=(_0x3985c5=this[_0x5c5c54(0x474)][_0x5c5c54(0x41e)](_0x49a188))==null?void 0x0:_0x3985c5['getActiveSheet']())==null?void 0x0:_0x30d4d4['getSheetId']();if(_0x488015[_0x5c5c54(0x1d3)]===0x0||!_0x49a188||!_0x22c284)return;const _0x59fe62=[{'id':_0x1de0ec['id'],'params':{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0xb8971a[_0x5c5c54(0x274)](_0x488015)}}],_0x592e46=this[_0x5c5c54(0x464)]['transformMutationsWithChangeset'](_0x16722e,_0x59fe62);if(!_0x37c03b(_0x592e46))throw _0x592e46[_0x5c5c54(0x24b)];const _0x41980c=(_0x491429=(_0x4d9ad5=_0x592e46['m2Prime'][0x0])==null?void 0x0:_0x4d9ad5[_0x5c5c54(0x302)])==null?void 0x0:_0x491429[_0x5c5c54(0x20a)];if(Array['isArray'](_0x41980c)&&_0x41980c['length']){if(_0x41980c[_0x5c5c54(0x1d3)]===_0x59fe62[0x0]['params'][_0x5c5c54(0x20a)][_0x5c5c54(0x1d3)]&&_0x41980c[_0x5c5c54(0x3df)]((_0x1f1938,_0x3f9704)=>_0x118fc4[_0x5c5c54(0x203)](_0x1f1938[_0x5c5c54(0x273)],_0x59fe62[0x0][_0x5c5c54(0x302)][_0x5c5c54(0x20a)][_0x3f9704][_0x5c5c54(0x273)])))return;this[_0x5c5c54(0x3ec)][_0x5c5c54(0x17b)](_0x39c537)[_0x5c5c54(0x415)](_0x1de0ec['id'],{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0x41980c});}}};it=cr([dt(0x0,_0x121c70(_0x49358f)),dt(0x1,_0x4877b5),dt(0x2,_0x3b1049)],it);const ht=_0x7c5cb6(_0x57ea30(0x1a0));var bi=(_0x15f256=>(_0x15f256[_0x15f256['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ea30(0x41a),_0x15f256[_0x15f256['OTHER_CLIENTS_EDITING']=0x1]=_0x57ea30(0x15a),_0x15f256))(bi||{});const _r=new Set([_0x15c4f3['id']]);function zt(_0x5df467,_0x5a54ec,_0x18c8e0,_0x356584,_0x36db21){var _0x493316=_0x57ea30,_0x39fa39,_0x337286,_0x40ea23,_0x282408;const _0x523879=[];for(const _0x1a1bd1 of _0x5df467)if(_r[_0x493316(0x41c)](_0x1a1bd1['id'])){if(_0x523879['length']>0x0)break;_0x523879['push'](_0x1a1bd1);break;}else _0x523879[_0x493316(0x1d7)](_0x1a1bd1);const _0x5b35ed=(_0x337286=(_0x39fa39=_0x36db21['getCurrentUser']())==null?void 0x0:_0x39fa39['userID'])!=null?_0x337286:_0x493316(0x36f),_0x398b5a=(_0x282408=(_0x40ea23=_0x36db21[_0x493316(0x2ba)]())==null?void 0x0:_0x40ea23[_0x493316(0x19c)])!=null?_0x282408:'unknown';return{'changeset':{'unitID':_0x5a54ec,'type':_0x36f9a0(_0x18c8e0['getUnitType'](_0x5a54ec)),'baseRev':_0x356584[_0x493316(0x3f4)](_0x5a54ec),'revision':0x0,'userID':_0x5b35ed,'memberID':_0x398b5a,'mutations':_0x523879},'pendingMutations':_0x5df467[_0x493316(0x1b1)](_0x523879[_0x493316(0x1d3)])};}function lr(_0x57b643,_0x5f0bbe,_0x20bb51,_0x18967c,_0x11add5){var _0x40c4d7=_0x57ea30,_0x361db0,_0x1b09e7,_0x558d15,_0x458c33;const _0x48dacd=[_0x57b643['reduce']((_0x148340,_0x1dc474)=>{var _0x53bf8c=_0x30c3,_0x48f210;const {id:_0x3f0c78}=_0x148340,{id:_0x2d863b,type:_0x504d54}=_0x1dc474,_0x2a95dd=(_0x48f210=_0x148340['params'])!=null?_0x48f210:{'actions':null},_0x1e21d6=_0x1dc474[_0x53bf8c(0x302)];if(_0x3f0c78&&_0x3f0c78!==_0x2d863b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f0c78+_0x53bf8c(0x40d)+_0x2d863b+'.');return{..._0x148340,'id':_0x2d863b,'type':_0x504d54,'params':{'unitId':_0x1e21d6[_0x53bf8c(0x288)],'textRanges':_0x1e21d6[_0x53bf8c(0x233)],'actions':_0x3b4f97[_0x53bf8c(0x1c2)](_0x2a95dd[_0x53bf8c(0x196)],_0x1e21d6['actions'])}};},{})],_0x2099df=(_0x1b09e7=(_0x361db0=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x361db0[_0x40c4d7(0x1b9)])!=null?_0x1b09e7:'unknown',_0x1a798e=(_0x458c33=(_0x558d15=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x558d15[_0x40c4d7(0x19c)])!=null?_0x458c33:'unknown';return{'changeset':{'unitID':_0x5f0bbe,'type':_0x36f9a0(_0x20bb51[_0x40c4d7(0x382)](_0x5f0bbe)),'baseRev':_0x18967c['getCurrentRevOfUnit'](_0x5f0bbe),'revision':0x0,'userID':_0x2099df,'memberID':_0x1a798e,'mutations':_0x48dacd},'pendingMutations':[]};}function Oi(_0x568722,_0x5458da){var _0x37d100=_0x57ea30;const _0x41903b=new _0x5c77e9(0x1);return setTimeout(()=>_0x41903b[_0x37d100(0x205)](_0x5458da),_0x568722),_0x41903b['asObservable']()['pipe'](_0x3bfa1c(0x1));}const ur={'id':_0x3a834d['id'],'type':_0x530150['MUTATION'],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x585af8,_0x473bdb,_0x1f193a,_0x2fc9ff)=>{var _0x2b8fba=_0x57ea30;for(var _0x37be82=_0x2fc9ff>0x1?void 0x0:_0x2fc9ff?fr(_0x473bdb,_0x1f193a):_0x473bdb,_0x3f064d=_0x585af8[_0x2b8fba(0x1d3)]-0x1,_0x34e628;_0x3f064d>=0x0;_0x3f064d--)(_0x34e628=_0x585af8[_0x3f064d])&&(_0x37be82=(_0x2fc9ff?_0x34e628(_0x473bdb,_0x1f193a,_0x37be82):_0x34e628(_0x37be82))||_0x37be82);return _0x2fc9ff&&_0x37be82&&dr(_0x473bdb,_0x1f193a,_0x37be82),_0x37be82;},A=(_0x32bcfa,_0x21f6ea)=>(_0x1e91c1,_0x1684b0)=>_0x21f6ea(_0x1e91c1,_0x1684b0,_0x32bcfa),yi=(_0x1046b5=>(_0x1046b5[_0x57ea30(0x30f)]=_0x57ea30(0x279),_0x1046b5[_0x57ea30(0x297)]=_0x57ea30(0x161),_0x1046b5['PENDING']=_0x57ea30(0x361),_0x1046b5[_0x57ea30(0x346)]=_0x57ea30(0x17c),_0x1046b5['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1046b5[_0x57ea30(0x3fc)]=_0x57ea30(0x244),_0x1046b5['CONFLICT']='conflict',_0x1046b5[_0x57ea30(0x349)]='offline',_0x1046b5))(yi||{});const Ni=0xea60;class be{constructor(_0x1a61e6,_0x26c675,_0x431d9b,_0x59f702,_0x5104b4,_0x263a0a,_0x5c74b1,_0x1b593,_0x384414){var _0x59eafd=_0x57ea30;N(this,_0x59eafd(0x1ec),null),N(this,'_pendingMutations',[]),(this[_0x59eafd(0x239)]=_0x1a61e6,this['type']=_0x26c675,this['_handler']=_0x5104b4,this[_0x59eafd(0x336)]=_0x263a0a,this[_0x59eafd(0x25e)]=_0x5c74b1,this[_0x59eafd(0x31c)]=_0x1b593,this['_localCacheService']=_0x384414,this[_0x59eafd(0x1ec)]=_0x431d9b,this['_pendingMutations']=_0x59f702);}[_0x57ea30(0x31a)](_0x10d5a0){var _0x1de334=_0x57ea30;const _0x1066a5=this[_0x1de334(0x31c)]['getCurrentRevOfUnit'](this['unitID']);return _0x10d5a0[_0x1de334(0x35e)]>_0x1066a5+0x1?(this['_handler'][_0x1de334(0x229)]({'from':_0x1066a5,'to':_0x10d5a0[_0x1de334(0x35e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1fba6c){var _0x41faaf=_0x57ea30;this[_0x41faaf(0x25e)]['transformUndoRedo'](this[_0x41faaf(0x239)],_0x1fba6c);}['_transformSelections'](_0x15feec){var _0x3711dc=_0x57ea30,_0x132545,_0x39b50a;(_0x39b50a=(_0x132545=this[_0x3711dc(0x359)])['onTransformSelections'])==null||_0x39b50a[_0x3711dc(0x209)](_0x132545,_0x15feec);}[_0x57ea30(0x3a1)](_0xae44be){var _0x3a8267=_0x57ea30,_0x5b5a11,_0x2bf3cc;return(_0x2bf3cc=(_0x5b5a11=this[_0x3a8267(0x359)])[_0x3a8267(0x258)])==null?void 0x0:_0x2bf3cc[_0x3a8267(0x209)](_0x5b5a11,_0xae44be);}['_transformStateCache'](_0x183e7b){var _0x361c89=_0x57ea30,_0x32084f,_0x4fec69;return(_0x4fec69=(_0x32084f=this[_0x361c89(0x359)])[_0x361c89(0x17d)])==null?void 0x0:_0x4fec69[_0x361c89(0x209)](_0x32084f,_0x183e7b);}[_0x57ea30(0x29c)](_0x9f4c41){var _0x113cf9=_0x57ea30,_0x2d55ad,_0x4198df,_0x41dbd3;return(_0x41dbd3=(_0x4198df=(_0x2d55ad=this[_0x113cf9(0x359)])[_0x113cf9(0x3f6)])==null?void 0x0:_0x4198df['call'](_0x2d55ad,_0x9f4c41))!=null?_0x41dbd3:_0x9f4c41;}[_0x57ea30(0x19d)](_0x480729){var _0x458dee=_0x57ea30,_0x6d2fb6,_0x45c6e5,_0x25f018;return(_0x25f018=(_0x45c6e5=(_0x6d2fb6=this[_0x458dee(0x359)])[_0x458dee(0x335)])==null?void 0x0:_0x45c6e5[_0x458dee(0x209)](_0x6d2fb6,_0x480729))!=null?_0x25f018:_0x480729;}['_syncEditingCollabCursor'](_0x9cfe91){var _0x4bc65f=_0x57ea30,_0xce1fca,_0x14e1f0;if(this['type']===Q[_0x4bc65f(0x44d)]){const {unitID:_0x2d7209,mutations:_0x286865,memberID:_0x44fd8a}=_0x9cfe91,_0xc861=_0x286865[0x0][_0x4bc65f(0x302)][_0x4bc65f(0x233)];Array[_0x4bc65f(0x33a)](_0xc861)&&_0xc861[_0x4bc65f(0x1d3)]>0x0&&((_0x14e1f0=(_0xce1fca=this['_handler'])[_0x4bc65f(0x1a4)])==null||_0x14e1f0[_0x4bc65f(0x209)](_0xce1fca,{'unitID':_0x2d7209,'memberID':_0x44fd8a,'textRanges':_0xc861}));}}[_0x57ea30(0x327)](){var _0x4e5406=_0x57ea30,_0x5361b8;(_0x5361b8=this[_0x4e5406(0x42d)])==null||_0x5361b8[_0x4e5406(0x456)](this[_0x4e5406(0x239)],this['type'],this['_awaitingChangeset'],this[_0x4e5406(0x278)]);}['_getCurrentRevision'](){var _0x40506b=_0x57ea30;return this[_0x40506b(0x31c)][_0x40506b(0x3f4)](this['unitID']);}['_incrementRevisionNumber'](){var _0x6ad665=_0x57ea30;this[_0x6ad665(0x31c)][_0x6ad665(0x1ba)](this[_0x6ad665(0x239)]);}[_0x57ea30(0x2b8)](_0x401453){var _0xd78c87=_0x57ea30,_0x2821d3;let _0x1e49b6=this[_0xd78c87(0x29c)](_0x401453);_0x1e49b6=this[_0xd78c87(0x19d)](_0x1e49b6);const _0x7e1010=_0x34ed06(_0x1e49b6[_0xd78c87(0x409)],this[_0xd78c87(0x336)],{'fromCollab':!0x0});if(!_0x7e1010[_0xd78c87(0x2e3)])throw _0x7e1010[_0xd78c87(0x24b)]instanceof Error?_0x7e1010['error']:new Error((_0x2821d3=_0x7e1010[_0xd78c87(0x24b)])!=null?_0x2821d3:_0xd78c87(0x2b5));this[_0xd78c87(0x3a1)](_0x1e49b6),this[_0xd78c87(0x41f)](_0x1e49b6),this[_0xd78c87(0x3fa)](_0x401453),this[_0xd78c87(0x20b)](_0x1e49b6),this[_0xd78c87(0x15b)](_0x1e49b6),this[_0xd78c87(0x42c)]();}}let De=class extends be{constructor(_0x17a783,_0x51401a,_0x4b3f49,_0x56c320,_0x34546b,_0xa70d79,_0x29a56c,_0x3d7929,_0x205b99,_0xf5c2b0){var _0xe40a3=_0x57ea30;super(_0x17a783,_0x51401a,null,[],_0x4b3f49,_0x29a56c,_0xa70d79,_0x56c320,_0xf5c2b0),N(this,_0xe40a3(0x1be),'synced'),(this[_0xe40a3(0x3ec)]=_0x34546b,this[_0xe40a3(0x26f)]=_0x3d7929,this[_0xe40a3(0x464)]=_0x205b99,this[_0xe40a3(0x26d)]=_0xf5c2b0);}['appendMutation'](_0x50297f){var _0x5820bb=_0x57ea30;const _0x8a5b5a=this[_0x5820bb(0x3ec)][_0x5820bb(0x298)](oe,this[_0x5820bb(0x239)],this[_0x5820bb(0x466)],[_0x50297f],this[_0x5820bb(0x359)]);return _0x8a5b5a[_0x5820bb(0x3e8)](),_0x8a5b5a['_updateLocalCache'](),_0x8a5b5a;}[_0x57ea30(0x269)](_0x1c466d){var _0x33c02b=_0x57ea30;if(this['_checkMissing'](_0x1c466d))return this[_0x33c02b(0x3ec)]['createInstance'](te,this[_0x33c02b(0x239)],this[_0x33c02b(0x466)],null,[],null,[_0x1c466d],this[_0x33c02b(0x359)]);try{const _0xcf4ca1=this[_0x33c02b(0x464)]['transformMutationsWithChangeset'](_0x1c466d,[ur]);if(_0x37c03b(_0xcf4ca1)){const {c1Prime:_0x4e8b66}=_0xcf4ca1;return this['_executeRemoteChangeset'](_0x4e8b66),this;}throw _0xcf4ca1[_0x33c02b(0x24b)];}catch(_0x2a9afb){return this[_0x33c02b(0x26f)][_0x33c02b(0x24b)](_0x2a9afb),this['_onConflict'](!0x1);}}['_onConflict'](_0x51ed28){var _0x57b7c5=_0x57ea30;return this['_injector'][_0x57b7c5(0x298)](de,this[_0x57b7c5(0x239)],this[_0x57b7c5(0x466)],null,[],this[_0x57b7c5(0x359)],_0x51ed28);}['onRemoteAck'](){var _0x428fbf=_0x57ea30;throw new Error(_0x428fbf(0x261));}[_0x57ea30(0x1ab)](){var _0x5bd8c9=_0x57ea30;throw new Error(_0x5bd8c9(0x308));}[_0x57ea30(0x20d)](){return this;}['toggleOffline'](){var _0x4089b2=_0x57ea30;return this[_0x4089b2(0x3ec)][_0x4089b2(0x298)](fe,this[_0x4089b2(0x239)],this[_0x4089b2(0x466)],null,[],this[_0x4089b2(0x359)]);}[_0x57ea30(0x420)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ea30(0x33b)](){var _0x1365e2=_0x57ea30;const _0x32602e=this[_0x1365e2(0x31c)][_0x1365e2(0x3f4)](this[_0x1365e2(0x239)]);return this['_handler'][_0x1365e2(0x229)]({'from':_0x32602e,'to':0x0}),this[_0x1365e2(0x3ec)][_0x1365e2(0x298)](te,this['unitID'],this[_0x1365e2(0x466)],null,[],null,[],this[_0x1365e2(0x359)]);}};De=Re([A(0x3,_0x121c70(_0x117310)),A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x2cf6cb),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x1d8841(J))],De);let oe=class extends be{constructor(_0x2943ee,_0x8fd51b,_0xe403b3,_0x413b44,_0x34d267,_0x2d251a,_0x47ec03,_0x30b80f,_0x352bc5,_0x26386c,_0x2a41ea,_0x5ae7a9,_0x384a42,_0x46e702){var _0x401ea6=_0x57ea30;super(_0x2943ee,_0x8fd51b,null,_0xe403b3,_0x413b44,_0x352bc5,_0x384a42,_0x2d251a,_0x46e702),N(this,_0x401ea6(0x1be),_0x401ea6(0x361)),N(this,_0x401ea6(0x2e0),null),N(this,_0x401ea6(0x328),null),(this[_0x401ea6(0x3ec)]=_0x34d267,this[_0x401ea6(0x293)]=_0x47ec03,this[_0x401ea6(0x26f)]=_0x30b80f,this[_0x401ea6(0x276)]=_0x26386c,this['_transformService']=_0x2a41ea,this[_0x401ea6(0x46f)]=_0x5ae7a9);}['appendMutation'](_0x5d80fc){var _0x4fe383=_0x57ea30;return this[_0x4fe383(0x278)][_0x4fe383(0x1d7)](_0x5d80fc),this[_0x4fe383(0x327)](),this;}[_0x57ea30(0x269)](_0x4ff23f){var _0xa81e77=_0x57ea30;if(this[_0xa81e77(0x31a)](_0x4ff23f))return this[_0xa81e77(0x27d)](),this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](te,this[_0xa81e77(0x239)],this[_0xa81e77(0x466)],null,this[_0xa81e77(0x278)],null,[_0x4ff23f],this[_0xa81e77(0x359)]);try{const _0x372d88=this[_0xa81e77(0x464)]['transformMutationsWithChangeset'](_0x4ff23f,this['_pendingMutations']);if(_0x37c03b(_0x372d88)){const {c1Prime:_0x1d8ec6,m2Prime:_0x15d27d}=_0x372d88;this['_executeRemoteChangeset'](_0x1d8ec6);const _0x56c79a=this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](oe,this['unitID'],this[_0xa81e77(0x466)],_0x15d27d,this['_handler']);this[_0xa81e77(0x27d)]();const _0x1e4afc=new Date()['getTime'](),_0x3dfff1=this[_0xa81e77(0x2e0)]?Math[_0xa81e77(0x217)](this['_scheduleCompleteTimestamp']-_0x1e4afc,0x0):this['_getSendChangesetTimeout']();return _0x56c79a[_0xa81e77(0x3e8)](_0x3dfff1),_0x56c79a;}throw _0x372d88['error'];}catch(_0x130218){return this[_0xa81e77(0x26f)][_0xa81e77(0x24b)](_0x130218),this[_0xa81e77(0x241)](!0x1);}}[_0x57ea30(0x162)](){var _0x1fc5a5=_0x57ea30;throw new Error(_0x1fc5a5(0x401));}['onRemoteRej'](){var _0x9643f7=_0x57ea30;throw new Error(_0x9643f7(0x27a));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x46f9b1=_0x57ea30;return this[_0x46f9b1(0x27d)](),this[_0x46f9b1(0x3ec)][_0x46f9b1(0x298)](fe,this[_0x46f9b1(0x239)],this[_0x46f9b1(0x466)],null,this[_0x46f9b1(0x278)],this[_0x46f9b1(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x3e8)](_0x5ed567){var _0x9bf825=_0x57ea30;const _0x49e10d=_0x5ed567!=null?_0x5ed567:this[_0x9bf825(0x23f)]();this[_0x9bf825(0x2e0)]=new Date()[_0x9bf825(0x381)]()+_0x49e10d,this[_0x9bf825(0x328)]=setTimeout(()=>{var _0x5c1e58=_0x9bf825;this[_0x5c1e58(0x27d)]();let _0x878b7f=null;switch(this['type']){case Q[_0x5c1e58(0x2d1)]:{_0x878b7f=zt(this[_0x5c1e58(0x278)],this['unitID'],this[_0x5c1e58(0x46f)],this['_revisionService'],this['_memberService']);break;}case Q[_0x5c1e58(0x44d)]:{this[_0x5c1e58(0x278)]['every'](_0x1051fb=>_0x1051fb['id']===_0x36d8f7['id'])?_0x878b7f=lr(this['_pendingMutations'],this[_0x5c1e58(0x239)],this[_0x5c1e58(0x46f)],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]):_0x878b7f=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]);break;}default:throw new Error(_0x5c1e58(0x18d)+this[_0x5c1e58(0x466)]+_0x5c1e58(0x1df));}const {changeset:_0x30c499,pendingMutations:_0x588819}=_0x878b7f;this[_0x5c1e58(0x359)][_0x5c1e58(0x1c6)](_0x30c499);const _0xf93045=_0x588819['length']?this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ae,this[_0x5c1e58(0x239)],this['type'],_0x30c499,_0x588819,this['_handler'],void 0x0):this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ue,this[_0x5c1e58(0x239)],this[_0x5c1e58(0x466)],_0x30c499,this[_0x5c1e58(0x359)]);_0xf93045[_0x5c1e58(0x327)](),this[_0x5c1e58(0x359)]['onStateChange'](this,_0xf93045);},_0x49e10d);}[_0x57ea30(0x23f)](){var _0x17e351=_0x57ea30,_0x29338f;const _0x5e8227=this['_configService'][_0x17e351(0x341)](q);return(_0x29338f=_0x5e8227==null?void 0x0:_0x5e8227[_0x17e351(0x36e)])!=null?_0x29338f:Cn;}[_0x57ea30(0x286)](){var _0x592466=_0x57ea30;throw new Error(_0x592466(0x21d));}[_0x57ea30(0x27d)](){var _0x27bab1=_0x57ea30;this[_0x27bab1(0x328)]!=null&&(clearTimeout(this[_0x27bab1(0x328)]),this[_0x27bab1(0x328)]=null);}[_0x57ea30(0x241)](_0x46e8fd){var _0xdad78f=_0x57ea30;return this[_0xdad78f(0x27d)](),this[_0xdad78f(0x3ec)][_0xdad78f(0x298)](de,this[_0xdad78f(0x239)],this[_0xdad78f(0x466)],null,this['_pendingMutations'],this['_handler'],_0x46e8fd);}};oe=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x121c70(xe)),A(0x7,_0x410aea),A(0x8,_0x39c537),A(0x9,_0x5a8f33),A(0xa,_0x4877b5),A(0xb,_0x3b1049),A(0xc,_0x2cf6cb),A(0xd,_0x1d8841(J))],oe);let ue=class extends be{constructor(_0x37d9cc,_0x27ff85,_0x2db4aa,_0x155f1a,_0x2910be,_0x255d8a,_0x223c12,_0x2674eb,_0x17c6c6,_0xe1262,_0x4f78ed){var _0x4860b5=_0x57ea30;super(_0x37d9cc,_0x27ff85,_0x2db4aa,[],_0x155f1a,_0x223c12,_0xe1262,_0x255d8a,_0x4f78ed),N(this,_0x4860b5(0x1be),_0x4860b5(0x17c)),N(this,_0x4860b5(0x472),0x0),N(this,_0x4860b5(0x25f)),N(this,_0x4860b5(0x2ca)),(this['_injector']=_0x2910be,this[_0x4860b5(0x26f)]=_0x2674eb,this[_0x4860b5(0x464)]=_0x17c6c6);}[_0x57ea30(0x1d6)](_0x4ac373){var _0x3d89ea=_0x57ea30;this[_0x3d89ea(0x27d)]();const _0x19ab14=this[_0x3d89ea(0x3ec)][_0x3d89ea(0x298)](ae,this[_0x3d89ea(0x239)],this[_0x3d89ea(0x466)],this[_0x3d89ea(0x1ec)],[_0x4ac373],this[_0x3d89ea(0x359)],this[_0x3d89ea(0x25f)]);return _0x19ab14[_0x3d89ea(0x327)](),_0x19ab14;}['onRemoteChangeset'](_0x6c5dde){var _0x962089=_0x57ea30;if(this[_0x962089(0x31a)](_0x6c5dde))return this['_clearScheduledTask'](),this[_0x962089(0x3ec)][_0x962089(0x298)](te,this[_0x962089(0x239)],this['type'],this['_awaitingChangeset'],[],null,[_0x6c5dde],this['_handler']);try{const _0x34366b=this['_transformService'][_0x962089(0x3f5)]([_0x6c5dde],[this[_0x962089(0x1ec)]],!0x1);if(_0x14716a(_0x34366b)){const {c1Prime:_0x2e489d,c2Prime:_0x15286f}=_0x34366b;this[_0x962089(0x2b8)](_0x2e489d[0x0]),_0x15286f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x962089(0x27d)]();const _0x2ea48d=this[_0x962089(0x3ec)][_0x962089(0x298)](ue,this['unitID'],this[_0x962089(0x466)],_0x15286f[0x0],this['_handler']);return _0x2ea48d['_updateLocalCache'](),_0x2ea48d;}return this[_0x962089(0x241)](!0x1);}catch(_0x35a431){return this[_0x962089(0x26f)]['error'](_0x35a431),this[_0x962089(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x12d25a){var _0x1cf97c=_0x57ea30;this['_clearScheduledTask']();const _0x126645=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1cf97c(0x239)]);if(_0x12d25a[_0x1cf97c(0x35e)]<_0x126645-0x1)return this;if(this['_checkMissing'](_0x12d25a))return this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](te,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],null,[],this[_0x1cf97c(0x1ec)],[],this[_0x1cf97c(0x359)]);this['_incrementRevisionNumber']();const _0x31e955=this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](De,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],this[_0x1cf97c(0x359)]);return _0x31e955[_0x1cf97c(0x327)](),_0x31e955;}['onRemoteRej'](_0x4b8159){return this['_onConflict'](!!(_0x4b8159!=null&&_0x4b8159['isPermissionRej']));}['onRemoteRetry'](_0xff7b1d){var _0x416786=_0x57ea30;return this[_0x416786(0x472)]>Ni?this[_0x416786(0x19e)]():(this[_0x416786(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this[_0x416786(0x472)],'reqId':_0xff7b1d[_0x416786(0x1b6)]}),this[_0x416786(0x2ca)]=this[_0x416786(0x25f)]['subscribe'](({reqId:_0xf9feee,timeout:_0x193679})=>{var _0x1033a8=_0x416786;this[_0x1033a8(0x2e4)](_0xf9feee,_0x193679);}),this);}[_0x57ea30(0x19e)](){var _0x5caebe=_0x57ea30;return this[_0x5caebe(0x27d)](),this[_0x5caebe(0x3ec)][_0x5caebe(0x298)](fe,this[_0x5caebe(0x239)],this['type'],this[_0x5caebe(0x1ec)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x57ea30(0x286)](){var _0x546ac6=_0x57ea30;this[_0x546ac6(0x359)][_0x546ac6(0x1c6)](this[_0x546ac6(0x1ec)]);}[_0x57ea30(0x241)](_0x3c1672){var _0x59cd3c=_0x57ea30;return this['_clearScheduledTask'](),this[_0x59cd3c(0x3ec)]['createInstance'](de,this['unitID'],this[_0x59cd3c(0x466)],this[_0x59cd3c(0x1ec)],[],this[_0x59cd3c(0x359)],_0x3c1672);}[_0x57ea30(0x2e4)](_0xe0a116,_0x4383ef){var _0x5b8728=_0x57ea30,_0x42051c;_0xe0a116===((_0x42051c=this[_0x5b8728(0x1ec)])==null?void 0x0:_0x42051c[_0x5b8728(0x1b6)])&&(this['resend'](),this[_0x5b8728(0x472)]=_0x4383ef===0x0?0x3e8:_0x4383ef*0x2);}[_0x57ea30(0x27d)](){var _0x8d22a2=_0x57ea30,_0x5d4176;(_0x5d4176=this['_sender'])==null||_0x5d4176[_0x8d22a2(0x46b)](),this[_0x8d22a2(0x472)]=0x0;}};ue=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x2cf6cb),A(0xa,_0x1d8841(J))],ue);let ae=class extends be{constructor(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x1d0a2d,_0x88434c,_0x187eda,_0x305d2c,_0x3f3f56,_0x3a1a2f,_0x5ca726,_0xe8e25f){var _0x5b572e=_0x57ea30;super(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x305d2c,_0x5ca726,_0x187eda,_0xe8e25f),N(this,'status',_0x5b572e(0x3c7)),N(this,_0x5b572e(0x472),0x0),N(this,'_resendTimer'),N(this,_0x5b572e(0x2ca)),(this['_injector']=_0x88434c,this[_0x5b572e(0x26f)]=_0x3f3f56,this['_transformService']=_0x3a1a2f,this['localCacheService']=_0xe8e25f,_0x1d0a2d&&(this['_resendTimer']=_0x1d0a2d,this[_0x5b572e(0x2ca)]=this[_0x5b572e(0x25f)]['subscribe'](({reqId:_0x31c7c0,timeout:_0x372340})=>{var _0x1b457d=_0x5b572e;this[_0x1b457d(0x2e4)](_0x31c7c0,_0x372340);})));}[_0x57ea30(0x1d6)](_0xaed73c){var _0x204b33=_0x57ea30;return this[_0x204b33(0x278)]['push'](_0xaed73c),this;}[_0x57ea30(0x269)](_0x30888c){var _0x52d3c4=_0x57ea30;if(this[_0x52d3c4(0x31a)](_0x30888c))return this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)][_0x52d3c4(0x298)](te,this['unitID'],this[_0x52d3c4(0x466)],this['_awaitingChangeset'],this[_0x52d3c4(0x278)],null,[_0x30888c],this[_0x52d3c4(0x359)]);try{const _0x104761=this[_0x52d3c4(0x464)][_0x52d3c4(0x3f5)]([_0x30888c],[this[_0x52d3c4(0x1ec)]],!0x1);if(_0x14716a(_0x104761)){const {c1Prime:_0xe6151f,c2Prime:_0x6439ac}=_0x104761,_0x5ce626=this[_0x52d3c4(0x464)][_0x52d3c4(0x34d)](_0xe6151f[0x0],this['_pendingMutations']);if(_0x37c03b(_0x5ce626)){const {c1Prime:_0x5e949f,m2Prime:_0x57f659}=_0x5ce626;return this['_executeRemoteChangeset'](_0x5e949f),_0x6439ac[0x0][_0x52d3c4(0x1ae)]=this[_0x52d3c4(0x25d)](),this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)]['createInstance'](ae,this[_0x52d3c4(0x239)],this[_0x52d3c4(0x466)],_0x6439ac[0x0],_0x57f659,this[_0x52d3c4(0x359)],void 0x0);}throw _0x5ce626[_0x52d3c4(0x24b)];}throw _0x104761['error'];}catch(_0x586bb2){return this[_0x52d3c4(0x26f)][_0x52d3c4(0x24b)](_0x586bb2),this[_0x52d3c4(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x8d04ac){var _0x4fc17e=_0x57ea30;if(this[_0x4fc17e(0x27d)](),this['_checkMissing'](_0x8d04ac))return this['_injector']['createInstance'](te,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],null,this[_0x4fc17e(0x278)],this[_0x4fc17e(0x1ec)],[],this[_0x4fc17e(0x359)]);this[_0x4fc17e(0x42c)]();const _0x56edac=this[_0x4fc17e(0x3ec)]['createInstance'](oe,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],this[_0x4fc17e(0x278)],this[_0x4fc17e(0x359)]);return _0x56edac[_0x4fc17e(0x3e8)](),_0x56edac['_updateLocalCache'](),_0x56edac;}[_0x57ea30(0x1ab)](_0x59cf04){var _0x393dc6=_0x57ea30;return this[_0x393dc6(0x241)](!!(_0x59cf04!=null&&_0x59cf04[_0x393dc6(0x3f8)]));}['onRemoteRetry'](_0x50705c){var _0x573816=_0x57ea30;return this[_0x573816(0x472)]>Ni?this[_0x573816(0x19e)]():(this[_0x573816(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x50705c[_0x573816(0x1b6)]}),this[_0x573816(0x2ca)]=this[_0x573816(0x25f)][_0x573816(0x179)](({reqId:_0x497eb0,timeout:_0x4b72a5})=>{var _0x1e0675=_0x573816;this[_0x1e0675(0x2e4)](_0x497eb0,_0x4b72a5);}),this);}[_0x57ea30(0x19e)](){var _0xc26f52=_0x57ea30;return this[_0xc26f52(0x27d)](),this[_0xc26f52(0x3ec)][_0xc26f52(0x298)](fe,this[_0xc26f52(0x239)],this[_0xc26f52(0x466)],this[_0xc26f52(0x1ec)],this[_0xc26f52(0x278)],this[_0xc26f52(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x286)](){var _0x3f1c37=_0x57ea30;this['_handler']['onSendChangeset'](this[_0x3f1c37(0x1ec)]);}['_onConflict'](_0x31372b){var _0x48b28c=_0x57ea30;return this[_0x48b28c(0x27d)](),this[_0x48b28c(0x3ec)][_0x48b28c(0x298)](de,this['unitID'],this['type'],null,this[_0x48b28c(0x278)],this[_0x48b28c(0x359)],_0x31372b);}[_0x57ea30(0x2e4)](_0x23c504,_0x526321){var _0x4bed00=_0x57ea30,_0x5c96c8;_0x23c504===((_0x5c96c8=this[_0x4bed00(0x1ec)])==null?void 0x0:_0x5c96c8['reqId'])&&(this[_0x4bed00(0x286)](),this[_0x4bed00(0x472)]=_0x526321===0x0?0x3e8:_0x526321*0x2);}[_0x57ea30(0x27d)](){var _0xb1bcc0=_0x57ea30,_0x36971c;(_0x36971c=this['_sender'])==null||_0x36971c[_0xb1bcc0(0x46b)](),this[_0xb1bcc0(0x472)]=0x0;}};ae=Re([A(0x6,_0x121c70(_0x49358f)),A(0x7,_0x121c70(_0x117310)),A(0x8,_0x39c537),A(0x9,_0x410aea),A(0xa,_0x4877b5),A(0xb,_0x2cf6cb),A(0xc,_0x1d8841(J))],ae);let de=class extends be{constructor(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x35941f=!0x1,_0x3adfaa,_0x2c632a,_0x2cd80e,_0x422417,_0x28dbee,_0x1904b9,_0x55a780){var _0x12cfd5=_0x57ea30;super(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x2c632a,_0x2cd80e,_0x422417,_0x55a780),N(this,'status',_0x12cfd5(0x471)),(this[_0x12cfd5(0x3f9)]=_0x35941f,this[_0x12cfd5(0x1f5)]=_0x3adfaa,this['_localeService']=_0x28dbee,this[_0x12cfd5(0x41b)]=_0x1904b9,this[_0x12cfd5(0x26d)]=_0x55a780,this[_0x12cfd5(0x3cb)](),this[_0x12cfd5(0x19b)](),this[_0x12cfd5(0x32e)]());}[_0x57ea30(0x1d6)](){return this;}[_0x57ea30(0x269)](){return this;}[_0x57ea30(0x162)](){return this;}[_0x57ea30(0x1ab)](){return this;}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){return this;}[_0x57ea30(0x420)](){return this;}['resend'](){var _0x5ef84d=_0x57ea30;throw new Error(_0x5ef84d(0x2de));}[_0x57ea30(0x19b)](){var _0xf36335=_0x57ea30,_0x3c584e;(_0x3c584e=this[_0xf36335(0x42d)])==null||_0x3c584e[_0xf36335(0x456)](this[_0xf36335(0x239)],this[_0xf36335(0x466)],null,[]);}[_0x57ea30(0x3cb)](){var _0x2d08e7=_0x57ea30;this[_0x2d08e7(0x3f9)]?this['_collaborationUIEventService']['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x2d08e7(0x41b)][_0x2d08e7(0x21a)]({'id':se['CONFLICT']});}[_0x57ea30(0x32e)](){var _0x3ea479=_0x57ea30;this[_0x3ea479(0x1f5)]['updatePermissionPoint'](new _0x4f0669(this[_0x3ea479(0x239)])['id'],!0x1);}};de=Re([A(0x6,_0x121c70(_0x8b7349)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x121c70(_0x117310)),A(0xa,_0x121c70(_0x5931b1)),A(0xb,_0x121c70(pe)),A(0xc,_0x1d8841(J))],de);let fe=class extends be{constructor(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4a81b9,_0x45ded3,_0x4bda70,_0x5c54eb,_0x374145){var _0x49a774=_0x57ea30;super(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4bda70,_0x5c54eb,_0x45ded3,_0x374145),N(this,'status',_0x49a774(0x1ee)),this['_injector']=_0x4a81b9;}[_0x57ea30(0x1d6)](_0x1194b8){var _0x539888=_0x57ea30;return this[_0x539888(0x278)]['push'](_0x1194b8),this['_updateLocalCache'](),this;}[_0x57ea30(0x269)](_0x3829ec){var _0x4987f0=_0x57ea30;throw new Error(_0x4987f0(0x385));}['onRemoteAck'](){var _0x58f6e2=_0x57ea30;throw new Error(_0x58f6e2(0x2a7));}[_0x57ea30(0x1ab)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x57ea30(0x420)](){var _0x149c9a=_0x57ea30;const {_injector:_0x4abccb,_pendingMutations:_0x467b65,_awaitingChangeset:_0x678aa0,unitID:_0x164077,_handler:_0x5d1798,type:_0x52fce0}=this,_0x3f87c9=Di(_0x4abccb,_0x164077,_0x52fce0,_0x678aa0,_0x467b65,_0x5d1798);return _0x3f87c9 instanceof oe?_0x3f87c9[_0x149c9a(0x3e8)]():(_0x3f87c9 instanceof ae||_0x3f87c9 instanceof ue)&&_0x3f87c9['resend'](),_0x3f87c9;}[_0x57ea30(0x286)](){var _0x3ef61f=_0x57ea30;throw new Error(_0x3ef61f(0x1e7));}};fe=Re([A(0x5,_0x121c70(_0x49358f)),A(0x6,_0x121c70(_0x117310)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x1d8841(J))],fe);let te=class extends be{constructor(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x5948b1,_0x53742d,_0x1ac4f6,_0xf7e8b1,_0x547dab,_0x552165,_0xe9dc8e,_0x4c03c,_0x1d9b87,_0x547a2d){var _0x1141cd=_0x57ea30;super(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x1ac4f6,_0xe9dc8e,_0x4c03c,_0x547dab,_0x547a2d),N(this,'status',_0x1141cd(0x244)),(this['_acknowledgedAwaitingChangeset']=_0x5948b1,this[_0x1141cd(0x1f2)]=_0x53742d,this[_0x1141cd(0x3ec)]=_0xf7e8b1,this['_logService']=_0x552165,this[_0x1141cd(0x464)]=_0x1d9b87,this[_0x1141cd(0x26d)]=_0x547a2d);}[_0x57ea30(0x1c3)](_0x25655f){var _0x568c89=_0x57ea30;try{const _0x3e49dc=[..._0x25655f,...this[_0x568c89(0x1f2)]],_0xc94f68=[this[_0x568c89(0x1ec)]||this['_acknowledgedAwaitingChangeset']][_0x568c89(0x1ed)](_0x4d7f66=>!!_0x4d7f66);let _0xb1c743,_0x1b3401;if(_0xc94f68['length']){const _0x295b74=this[_0x568c89(0x464)]['transformChangesets'](_0x3e49dc,_0xc94f68,!0x1);if(!_0x14716a(_0x295b74))throw _0x295b74[_0x568c89(0x24b)];_0xb1c743=_0x295b74[_0x568c89(0x190)],_0x1b3401=_0x295b74[_0x568c89(0x310)];}else _0xb1c743=_0x3e49dc,_0x1b3401=[];let _0x2299a0=this[_0x568c89(0x278)];_0xb1c743[_0x568c89(0x337)](_0x2f6f79=>{var _0xeb5291=_0x568c89;let _0x5b8c8d;if(_0x2299a0[_0xeb5291(0x1d3)]){const _0x1a6286=this['_transformService'][_0xeb5291(0x34d)](_0x2f6f79,_0x2299a0);if(!_0x37c03b(_0x1a6286))throw _0x1a6286['error'];_0x5b8c8d=_0x1a6286[_0xeb5291(0x190)],_0x2299a0=_0x1a6286[_0xeb5291(0x255)];}else _0x5b8c8d=_0x2f6f79;this[_0xeb5291(0x2b8)](_0x5b8c8d);}),this[_0x568c89(0x206)]&&this[_0x568c89(0x42c)](),this['_awaitingChangeset']&&_0x1b3401['length']&&(_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)]());let _0x127471;if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]!==0x0)_0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](ae,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],_0x2299a0,this[_0x568c89(0x359)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]===0x0)_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)](),_0x127471=this['_injector']['createInstance'](ue,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],this[_0x568c89(0x359)]);else{if(_0x2299a0[_0x568c89(0x1d3)]!==0x0){const _0x492529=this['_injector'][_0x568c89(0x298)](oe,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x2299a0,this[_0x568c89(0x359)]);_0x492529[_0x568c89(0x3e8)](),_0x127471=_0x492529;}else _0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](De,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x359)]);}}return _0x127471[_0x568c89(0x327)](),_0x127471;}catch(_0x5f116f){return this[_0x568c89(0x26f)][_0x568c89(0x24b)](_0x568c89(0x175),_0x568c89(0x15c),_0x5f116f),this[_0x568c89(0x3ec)][_0x568c89(0x298)](de,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x1ec)],this['_pendingMutations'],this[_0x568c89(0x359)],!0x1);}}['resend'](){var _0x9215d0=_0x57ea30;throw new Error(_0x9215d0(0x1e9));}[_0x57ea30(0x1d6)](_0x2f8b1e){var _0x52ce36=_0x57ea30;return this['_pendingMutations'][_0x52ce36(0x1d7)](_0x2f8b1e),this;}[_0x57ea30(0x269)](_0x10183d){var _0x3b1848=_0x57ea30;return this[_0x3b1848(0x1f2)][_0x3b1848(0x1d7)](_0x10183d),this;}['onRemoteAck'](_0x517af8){var _0x15ba02=_0x57ea30;if(this[_0x15ba02(0x1ec)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x15ba02(0x321));}[_0x57ea30(0x1ab)](_0x559bb4){var _0x24717a=_0x57ea30;return this[_0x24717a(0x241)](!!(_0x559bb4!=null&&_0x559bb4[_0x24717a(0x3f8)]));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x17d0d0=_0x57ea30;return this[_0x17d0d0(0x3ec)][_0x17d0d0(0x298)](fe,this[_0x17d0d0(0x239)],this['type'],this[_0x17d0d0(0x1ec)],this[_0x17d0d0(0x278)],this[_0x17d0d0(0x359)]);}[_0x57ea30(0x420)](){return this;}['_onConflict'](_0x87d397){var _0x26c85d=_0x57ea30;return this['_injector']['createInstance'](de,this[_0x26c85d(0x239)],this[_0x26c85d(0x466)],this['_awaitingChangeset'],this[_0x26c85d(0x278)],this['_handler'],_0x87d397);}};te=Re([A(0x7,_0x121c70(_0x49358f)),A(0x8,_0x121c70(_0x117310)),A(0x9,_0x410aea),A(0xa,_0x39c537),A(0xb,_0x2cf6cb),A(0xc,_0x4877b5),A(0xd,_0x1d8841(J))],te);function Di(_0x15ffb8,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d){var _0x5bb720=_0x57ea30;return _0x5afb12&&_0x171299[_0x5bb720(0x1d3)]?_0x15ffb8[_0x5bb720(0x298)](ae,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d,void 0x0):_0x5afb12?_0x15ffb8[_0x5bb720(0x298)](ue,_0x146bce,_0x1d5504,_0x5afb12,_0x130d2d):_0x171299['length']?_0x15ffb8[_0x5bb720(0x298)](oe,_0x146bce,_0x1d5504,_0x171299,_0x130d2d):_0x15ffb8['createInstance'](De,_0x146bce,_0x1d5504,_0x130d2d);}var vr=Object[_0x57ea30(0x2ab)],pr=Object[_0x57ea30(0x457)],Lt=(_0x16e605,_0x53b2b5,_0x27b09e,_0x217e65)=>{var _0x55b266=_0x57ea30;for(var _0x1800ea=_0x217e65>0x1?void 0x0:_0x217e65?pr(_0x53b2b5,_0x27b09e):_0x53b2b5,_0xec9625=_0x16e605[_0x55b266(0x1d3)]-0x1,_0x4c538e;_0xec9625>=0x0;_0xec9625--)(_0x4c538e=_0x16e605[_0xec9625])&&(_0x1800ea=(_0x217e65?_0x4c538e(_0x53b2b5,_0x27b09e,_0x1800ea):_0x4c538e(_0x1800ea))||_0x1800ea);return _0x217e65&&_0x1800ea&&vr(_0x53b2b5,_0x27b09e,_0x1800ea),_0x1800ea;},k=(_0x4f7467,_0xb29187)=>(_0x3b1b18,_0x52ecb9)=>_0xb29187(_0x3b1b18,_0x52ecb9,_0x4f7467);let nt=class extends _0x577131{constructor(_0x11b53b,_0x2ff3d4,_0x5ba79a,_0x3fd3e2,_0x8c30e5,_0x5d4c52,_0x2c2d0e,_0xc3d05d,_0x2e48ba,_0x3840a2,_0x4cf10c,_0x225002,_0x41b08d){var _0x3c0d60=_0x57ea30;super(),N(this,_0x3c0d60(0x1f7),new _0x21aea0(null)),N(this,_0x3c0d60(0x333),this[_0x3c0d60(0x1f7)]['asObservable']()),N(this,_0x3c0d60(0x37b)),N(this,_0x3c0d60(0x3b4),!0x1),N(this,_0x3c0d60(0x3d1),''),N(this,_0x3c0d60(0x235),0x0),N(this,_0x3c0d60(0x45d),this[_0x3c0d60(0x333)][_0x3c0d60(0x197)](_0x3b1b76(_0x2d97ad=>_0x2d97ad?_0x2d97ad[_0x3c0d60(0x1be)]:yi[_0x3c0d60(0x349)]),_0x30f542(0x1))),N(this,_0x3c0d60(0x45e),!0x1),N(this,_0x3c0d60(0x285),[]),(this['unitID']=_0x11b53b,this[_0x3c0d60(0x159)]=_0x2ff3d4,this[_0x3c0d60(0x44c)]=_0x5ba79a,this[_0x3c0d60(0x3ec)]=_0x3fd3e2,this[_0x3c0d60(0x375)]=_0x8c30e5,this[_0x3c0d60(0x3d3)]=_0x5d4c52,this[_0x3c0d60(0x31c)]=_0x2c2d0e,this[_0x3c0d60(0x39f)]=_0xc3d05d,this[_0x3c0d60(0x26f)]=_0x2e48ba,this[_0x3c0d60(0x336)]=_0x3840a2,this['_permissionService']=_0x4cf10c,this['_singleActiveUnitService']=_0x225002,this['_localCacheService']=_0x41b08d);}get[_0x57ea30(0x40b)](){return this['_state'];}async[_0x57ea30(0x1b3)](){var _0x28967d=_0x57ea30;if(this[_0x28967d(0x40b)])throw new Error(_0x28967d(0x284));await this[_0x28967d(0x2e7)]();}[_0x57ea30(0x384)](){var _0x46ac08=_0x57ea30;return this[_0x46ac08(0x3b4)]=!0x0,_0x3ab410(()=>{var _0x5d9cb5=_0x46ac08;this['_collaborationPaused']=!0x1,this[_0x5d9cb5(0x1ac)]();});}[_0x57ea30(0x22a)](_0x38de90){this['_onLocalMutation'](_0x38de90);}[_0x57ea30(0x1aa)](_0x221ac2){var _0x133650=_0x57ea30;this[_0x133650(0x37b)]=_0x221ac2,this[_0x133650(0x1f7)][_0x133650(0x205)](_0x221ac2);}async[_0x57ea30(0x2e7)](){var _0x47fd59=_0x57ea30,_0x24d1a6;this[_0x47fd59(0x1aa)](await this['_createInitialState']()),this[_0x47fd59(0x314)]&&((_0x24d1a6=this['_singleActiveUnitService'])==null||_0x24d1a6[_0x47fd59(0x216)](this[_0x47fd59(0x239)]),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x314)][_0x47fd59(0x1a2)](this[_0x47fd59(0x239)])['subscribe'](_0x5aabf8=>{var _0x374098=_0x47fd59;this[_0x374098(0x26f)]['debug']('[CollaborationEntity]',_0x374098(0x33f),_0x5aabf8),_0x5aabf8===bi['OTHER_CLIENTS_EDITING']?(this[_0x374098(0x39f)][_0x374098(0x21a)]({'id':se[_0x374098(0x320)]}),this['_permissionService'][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x1),this[_0x374098(0x1f5)]['setShowComponents'](!0x1)):(this[_0x374098(0x1f5)][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x0),this[_0x374098(0x1f5)][_0x374098(0x27f)](!0x0));})));let _0x50b33d=!0x1;return this['disposeWithMe'](this[_0x47fd59(0x159)][_0x47fd59(0x35d)][_0x47fd59(0x179)](_0x56465e=>{var _0x258635=_0x47fd59;_0x56465e===Te['ONLINE']?this[_0x258635(0x3c1)](_0x50b33d):_0x56465e===Te[_0x258635(0x349)]&&(_0x50b33d=!0x0,this[_0x258635(0x1f8)]());})),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x159)][_0x47fd59(0x2b3)][_0x47fd59(0x179)](_0x1f01b6=>{var _0x134a70=_0x47fd59;try{switch(_0x1f01b6['eventID']){case _0x50f10f[_0x134a70(0x414)]:{this['_onRemoteChangeset'](_0x40afb4(_0x1f01b6[_0x134a70(0x34c)]));break;}case _0x50f10f['CHANGESET_ACK']:{this[_0x134a70(0x3e5)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x23b)]:{this['_onRemoteRejected']();break;}case _0x50f10f[_0x134a70(0x30b)]:{this[_0x134a70(0x389)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x26c)]:{this[_0x134a70(0x392)](_0x1f01b6[_0x134a70(0x34c)][_0x134a70(0x36d)]['map'](_0x5bafc3=>_0x40afb4(_0x5bafc3)));break;}case _0x50f10f[_0x134a70(0x43e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x50f10f[_0x134a70(0x370)]:break;}}catch(_0x6fa379){throw console[_0x134a70(0x24b)]('Error\x20on\x20receiving\x20event',_0x6fa379),_0x6fa379;}})),this[_0x47fd59(0x37b)];}[_0x57ea30(0x462)](){var _0x30d569=_0x57ea30;this[_0x30d569(0x45e)]=!0x1;}[_0x57ea30(0x364)](){var _0x21ae79=_0x57ea30;if(this[_0x21ae79(0x45e)])throw new Error(_0x21ae79(0x45c));this[_0x21ae79(0x45e)]=!0x0;}['_onLocalMutation'](_0x50e819){var _0x19b73d=_0x57ea30;this[_0x19b73d(0x364)](),this[_0x19b73d(0x1aa)](this[_0x19b73d(0x37b)][_0x19b73d(0x1d6)](_0x50e819)),this['_unlockTransition']();}[_0x57ea30(0x207)](_0x2f516c){var _0x1a327f=_0x57ea30;if(!(_0x2f516c[_0x1a327f(0x35e)]<=this[_0x1a327f(0x31c)][_0x1a327f(0x3f4)](this[_0x1a327f(0x239)]))){if(this[_0x1a327f(0x3b4)]){this['_remoteChangesetQueue']['push'](_0x2f516c);return;}this[_0x1a327f(0x23a)](_0x2f516c);}}[_0x57ea30(0x1ac)](){var _0x4c7ffb=_0x57ea30;this['_remoteChangesetQueue'][_0x4c7ffb(0x337)](_0x2bb936=>this[_0x4c7ffb(0x23a)](_0x2bb936)),this[_0x4c7ffb(0x285)]=[];}[_0x57ea30(0x23a)](_0x973a70){var _0x38d68e=_0x57ea30;const _0x40a53c=this[_0x38d68e(0x375)][_0x38d68e(0x36a)][_0x38d68e(0x2f9)](this[_0x38d68e(0x375)][_0x38d68e(0x36a)]['getInterceptPoints']()[_0x38d68e(0x218)])(_0x973a70[_0x38d68e(0x409)],null)||_0x973a70[_0x38d68e(0x409)],_0x51ba8c={..._0x973a70,'mutations':_0x40a53c};this['_lockTransition'](),this[_0x38d68e(0x1aa)](this['_state'][_0x38d68e(0x269)](_0x51ba8c)),this[_0x38d68e(0x462)]();}[_0x57ea30(0x3e5)](_0x1d0582){var _0x4fa81a=_0x57ea30;this[_0x4fa81a(0x364)](),this[_0x4fa81a(0x1aa)](this[_0x4fa81a(0x37b)][_0x4fa81a(0x162)](_0x1d0582)),this[_0x4fa81a(0x462)]();}[_0x57ea30(0x445)](_0x161b62){var _0x3d32d0=_0x57ea30;this[_0x3d32d0(0x364)](),this[_0x3d32d0(0x1aa)](this['_state'][_0x3d32d0(0x1ab)](_0x161b62)),this[_0x3d32d0(0x462)]();}['_onRemoteRetry'](_0x20dace){var _0x1b95a2=_0x57ea30;this[_0x1b95a2(0x364)](),this[_0x1b95a2(0x1aa)](this[_0x1b95a2(0x37b)][_0x1b95a2(0x20d)](_0x20dace)),this[_0x1b95a2(0x462)]();}['_onFetchMissResult'](_0x6cc018){var _0x59094d=_0x57ea30;if(!(this[_0x59094d(0x37b)]instanceof te))throw new TypeError(_0x59094d(0x17f));const _0x3a020f=_0x6cc018[_0x59094d(0x2c9)](_0x5393ff=>{var _0x4a0b56=_0x59094d;const _0x361999=this[_0x4a0b56(0x375)][_0x4a0b56(0x36a)]['fetchThroughInterceptors'](this[_0x4a0b56(0x375)]['interceptor']['getInterceptPoints']()[_0x4a0b56(0x218)])(_0x5393ff[_0x4a0b56(0x409)],null)||_0x5393ff[_0x4a0b56(0x409)];return{..._0x5393ff,'mutations':_0x361999};});this[_0x59094d(0x364)](),this[_0x59094d(0x1aa)](this[_0x59094d(0x37b)]['onMissedChangesetFetched'](_0x3a020f)),this[_0x59094d(0x462)]();}['_toggleOffline'](){var _0x4ac1ff=_0x57ea30;this[_0x4ac1ff(0x364)](),this[_0x4ac1ff(0x1aa)](this[_0x4ac1ff(0x37b)][_0x4ac1ff(0x19e)]()),this[_0x4ac1ff(0x462)]();}['_toggleOnline'](_0x3d3ccf=!0x1){var _0x454fad=_0x57ea30;this['_lockTransition'](),this['_updateState'](this[_0x454fad(0x37b)][_0x454fad(0x420)]()),this[_0x454fad(0x462)]();const _0x16d4bf=this[_0x454fad(0x37b)];_0x3d3ccf&&_0x16d4bf instanceof De&&(this[_0x454fad(0x364)](),this[_0x454fad(0x1aa)](_0x16d4bf[_0x454fad(0x33b)]()),this['_unlockTransition']());}async[_0x57ea30(0x3ac)](){return new Promise(_0x41aad9=>{var _0x3f7d7e=_0x30c3;this[_0x3f7d7e(0x159)][_0x3f7d7e(0x35d)][_0x3f7d7e(0x197)](_0x3bfa1c(0x1))[_0x3f7d7e(0x179)](async _0x534662=>{var _0x43dea9=_0x3f7d7e;_0x41aad9(await this['_createInitialStateImpl'](_0x534662===Te[_0x43dea9(0x449)]));});});}[_0x57ea30(0x329)](){var _0x166395=_0x57ea30;const _0x4e5b97=this[_0x166395(0x239)];return{'onStateChange':(_0x175de5,_0x2e180b)=>{var _0x34510e=_0x166395;if(_0x175de5!==this[_0x34510e(0x37b)])throw new Error(_0x34510e(0x20c)+_0x175de5[_0x34510e(0x1be)]+_0x34510e(0x1ef)+_0x2e180b[_0x34510e(0x1be)]+'\x0aCurrent:\x20'+this[_0x34510e(0x37b)][_0x34510e(0x1be)]);this[_0x34510e(0x1aa)](_0x2e180b);},'onSendChangeset':_0x3e5704=>{var _0x432f31=_0x166395;_0x3e5704[_0x432f31(0x247)]||(_0x3e5704[_0x432f31(0x247)]=this[_0x432f31(0x3d1)],_0x3e5704[_0x432f31(0x1b6)]=++this[_0x432f31(0x235)]);const _0x4ac5ef={'eventID':_0x50f10f['SUBMIT_CHANGESET'],'data':{'unitID':_0x3e5704[_0x432f31(0x239)],'unitType':this['_type'],'changeset':_0x3e5704,'memberID':this[_0x432f31(0x159)][_0x432f31(0x3a7)]()}};this[_0x432f31(0x159)][_0x432f31(0x36c)](_0x4ac5ef,this[_0x432f31(0x239)]);},'onMissingChangesets':({from:_0x3afa9e,to:_0x448353})=>{var _0x4d710b=_0x166395;this[_0x4d710b(0x26f)][_0x4d710b(0x243)]('[CollaborationEntity]',_0x4d710b(0x260)+_0x3afa9e+_0x4d710b(0x391)+_0x448353);const _0xd6086d={'eventID':_0x50f10f[_0x4d710b(0x182)],'data':{'unitID':_0x4e5b97,'unitType':this[_0x4d710b(0x44c)],'from':_0x3afa9e,'to':_0x448353}};this[_0x4d710b(0x159)]['send'](_0xd6086d,this[_0x4d710b(0x239)]);}};}async[_0x57ea30(0x168)](_0x7b1153){var _0x5a32f6=_0x57ea30,_0x538ce0,_0x56e884,_0x249869;const _0x938593=await((_0x538ce0=this['_localCacheService'])==null?void 0x0:_0x538ce0[_0x5a32f6(0x323)](this['unitID'])),_0x165caf=(_0x56e884=_0x938593==null?void 0x0:_0x938593['mutations'])!=null?_0x56e884:[],_0xf2e221=(_0x249869=_0x938593==null?void 0x0:_0x938593['awaitingChangeset'])!=null?_0x249869:null,_0x21c2d9=!!(_0xf2e221!=null&&_0xf2e221['sid'])&&!!(_0xf2e221!=null&&_0xf2e221[_0x5a32f6(0x1b6)]);this[_0x5a32f6(0x3d1)]=_0x21c2d9?_0xf2e221['sid']:sr(),this[_0x5a32f6(0x235)]=_0x21c2d9?_0xf2e221[_0x5a32f6(0x1b6)]:0x0;const _0x367ea4=this[_0x5a32f6(0x239)];try{this[_0x5a32f6(0x18c)](_0xf2e221,_0x165caf);}catch(_0x5a9081){this[_0x5a32f6(0x26f)][_0x5a32f6(0x24b)](_0x5a9081);}const _0x5494db=this[_0x5a32f6(0x329)]();if(_0x7b1153){const _0x390caa=Di(this['_injector'],_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);return _0x390caa instanceof oe?_0x390caa[_0x5a32f6(0x3e8)]():(_0x390caa instanceof ae||_0x390caa instanceof ue)&&_0x390caa['resend'](),_0x390caa;}return this[_0x5a32f6(0x3ec)][_0x5a32f6(0x298)](fe,_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);}['_replayCachedMutations'](_0x7a8b04,_0x2d1f16){var _0x572565=_0x57ea30,_0x175a3b,_0x409991;const _0x76e0e=this['_compressMutationService']['interceptor'][_0x572565(0x2f9)](this[_0x572565(0x375)][_0x572565(0x36a)]['getInterceptPoints']()[_0x572565(0x218)]);(_0x175a3b=_0x76e0e((_0x7a8b04==null?void 0x0:_0x7a8b04[_0x572565(0x409)])||[],null))==null||_0x175a3b[_0x572565(0x337)](_0x3da758=>this[_0x572565(0x336)][_0x572565(0x415)](_0x3da758['id'],_0x3da758[_0x572565(0x302)])),(_0x409991=_0x76e0e(_0x2d1f16||[],null))==null||_0x409991[_0x572565(0x337)](_0x5644c2=>this[_0x572565(0x336)]['executeCommand'](_0x5644c2['id'],_0x5644c2[_0x572565(0x302)]));}};nt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],nt);let Tt=class extends nt{constructor(_0x15cd10,_0x10d8e3,_0x297752,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210){var _0x1dab40=_0x57ea30;super(_0x15cd10,_0x297752,_0x10d8e3,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210),N(this,_0x1dab40(0x290),null),(this[_0x1dab40(0x239)]=_0x15cd10,this['type']=_0x10d8e3);}[_0x57ea30(0x2a3)](_0x105427){var _0xc57520=_0x57ea30;this[_0xc57520(0x290)]=_0x105427;}[_0x57ea30(0x214)](){var _0x5e5ba4=_0x57ea30;this[_0x5e5ba4(0x290)]=null,super[_0x5e5ba4(0x214)]();}[_0x57ea30(0x329)](){var _0x5dba09=_0x57ea30;const _0x2f4d8b=super[_0x5dba09(0x329)]();return _0x2f4d8b[_0x5dba09(0x258)]=_0x4d639c=>{var _0x3a33b8=_0x5dba09,_0x3051fd,_0x2d9d9a;return(_0x2d9d9a=(_0x3051fd=this[_0x3a33b8(0x290)])==null?void 0x0:_0x3051fd[_0x3a33b8(0x258)])==null?void 0x0:_0x2d9d9a[_0x3a33b8(0x209)](_0x3051fd,_0x4d639c);},_0x2f4d8b[_0x5dba09(0x17d)]=_0x39b0c8=>{var _0x3f6577=_0x5dba09,_0x32e3ce,_0x30d50b;return(_0x30d50b=(_0x32e3ce=this['_handlerCallback'])==null?void 0x0:_0x32e3ce[_0x3f6577(0x17d)])==null?void 0x0:_0x30d50b['call'](_0x32e3ce,_0x39b0c8);},_0x2f4d8b[_0x5dba09(0x2ac)]=_0x3c1825=>{var _0x21e28a=_0x5dba09,_0x2be3b2,_0x196dd8;return(_0x196dd8=(_0x2be3b2=this[_0x21e28a(0x290)])==null?void 0x0:_0x2be3b2['onTransformSelections'])==null?void 0x0:_0x196dd8[_0x21e28a(0x209)](_0x2be3b2,_0x3c1825);},_0x2f4d8b[_0x5dba09(0x1a4)]=_0x4c3c40=>{var _0x3e13d8=_0x5dba09,_0x1280f1,_0xa83b43;return(_0xa83b43=(_0x1280f1=this[_0x3e13d8(0x290)])==null?void 0x0:_0x1280f1[_0x3e13d8(0x1a4)])==null?void 0x0:_0xa83b43[_0x3e13d8(0x209)](_0x1280f1,_0x4c3c40);},_0x2f4d8b[_0x5dba09(0x3f6)]=_0x23a2c5=>{var _0x5d62bb=_0x5dba09,_0x12e67f,_0x2cfafc,_0x490698;if(!((_0x12e67f=this[_0x5d62bb(0x290)])!=null&&_0x12e67f[_0x5d62bb(0x3f6)]))throw new Error(_0x5d62bb(0x379));return(_0x490698=(_0x2cfafc=this[_0x5d62bb(0x290)])==null?void 0x0:_0x2cfafc['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x490698[_0x5d62bb(0x209)](_0x2cfafc,_0x23a2c5);},_0x2f4d8b[_0x5dba09(0x335)]=_0x49855f=>{var _0x453dee=_0x5dba09,_0x29a5e4,_0x46cd0b,_0x49f084;if(!((_0x29a5e4=this[_0x453dee(0x290)])!=null&&_0x29a5e4[_0x453dee(0x335)]))throw new Error(_0x453dee(0x408));return(_0x49f084=(_0x46cd0b=this[_0x453dee(0x290)])==null?void 0x0:_0x46cd0b[_0x453dee(0x335)])==null?void 0x0:_0x49f084[_0x453dee(0x209)](_0x46cd0b,_0x49855f);},_0x2f4d8b;}async[_0x57ea30(0x2e7)](){var _0x413c2b=_0x57ea30;const _0x49afaf=await super[_0x413c2b(0x2e7)]();return this[_0x413c2b(0x2fd)](this['_commandService'][_0x413c2b(0x2b0)]((_0x15bc43,_0x161d21)=>{var _0x34090c=_0x413c2b;if(_0x15bc43[_0x34090c(0x466)]!==_0x530150[_0x34090c(0x1b2)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x2cf)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x222)]||_0x15bc43['id']===_0x36d8f7['id'])return;const _0x558123=_0x15bc43[_0x34090c(0x302)];if((_0x558123==null?void 0x0:_0x558123[_0x34090c(0x288)])!==this[_0x34090c(0x239)])return;const _0x4172d6=_0x15bc43,_0x4102c6=this[_0x34090c(0x375)][_0x34090c(0x36a)][_0x34090c(0x2f9)](this['_compressMutationService'][_0x34090c(0x36a)][_0x34090c(0x165)]()[_0x34090c(0x3c8)])([_0x4172d6],null)||[_0x4172d6];this[_0x34090c(0x3fb)](_0x4102c6[0x0]);})),_0x49afaf;}};Tt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],Tt);let Ct=class extends nt{constructor(_0x2489fe,_0x480b72,_0x3d12b5,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x56a7e3,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab){var _0x559330=_0x57ea30;super(_0x2489fe,_0x3d12b5,_0x480b72,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab),this[_0x559330(0x239)]=_0x2489fe,this['type']=_0x480b72,this['_sheetTransformSelectionsService']=_0x56a7e3;}[_0x57ea30(0x329)](){var _0x297679=_0x57ea30;const _0x2089ba=super[_0x297679(0x329)]();return _0x2089ba[_0x297679(0x2ac)]=_0x141414=>this['_sheetTransformSelectionsService'][_0x297679(0x28e)](_0x141414),_0x2089ba;}async[_0x57ea30(0x2e7)](){var _0x40234c=_0x57ea30;const _0x16b053=await super[_0x40234c(0x2e7)]();return this[_0x40234c(0x2fd)](this[_0x40234c(0x336)]['onCommandExecuted']((_0x14168d,_0x18e81c)=>{var _0x54529d=_0x40234c;if(_0x14168d[_0x54529d(0x466)]!==_0x530150[_0x54529d(0x1b2)]||_0x18e81c!=null&&_0x18e81c['fromCollab']||_0x18e81c!=null&&_0x18e81c[_0x54529d(0x222)])return;const _0x42403d=_0x14168d[_0x54529d(0x302)];if((_0x42403d==null?void 0x0:_0x42403d[_0x54529d(0x288)])!==this['unitID'])return;const _0x16c923=_0x14168d,_0x1e8f96=this[_0x54529d(0x375)][_0x54529d(0x36a)]['fetchThroughInterceptors'](this[_0x54529d(0x375)][_0x54529d(0x36a)][_0x54529d(0x165)]()['COMPRESS_MUTATION_SEND'])([_0x16c923],null)||[_0x16c923];this['_onLocalMutation'](_0x1e8f96[0x0]);})),_0x16b053;}};Ct=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(it)),k(0x8,_0x121c70(pe)),k(0x9,_0x410aea),k(0xa,_0x39c537),k(0xb,_0x8b7349),k(0xc,_0x1d8841(ht)),k(0xd,_0x1d8841(J))],Ct);var mr=Object[_0x57ea30(0x2ab)],gr=Object[_0x57ea30(0x457)],Sr=(_0x27c353,_0x517c05,_0x1da5a5,_0x42c6e3)=>{var _0x2f5767=_0x57ea30;for(var _0x201064=_0x42c6e3>0x1?void 0x0:_0x42c6e3?gr(_0x517c05,_0x1da5a5):_0x517c05,_0x239829=_0x27c353[_0x2f5767(0x1d3)]-0x1,_0x220048;_0x239829>=0x0;_0x239829--)(_0x220048=_0x27c353[_0x239829])&&(_0x201064=(_0x42c6e3?_0x220048(_0x517c05,_0x1da5a5,_0x201064):_0x220048(_0x201064))||_0x201064);return _0x42c6e3&&_0x201064&&mr(_0x517c05,_0x1da5a5,_0x201064),_0x201064;},ft=(_0x59226b,_0x38c2be)=>(_0x255cf0,_0xb92044)=>_0x38c2be(_0x255cf0,_0xb92044,_0x59226b);let rt=class extends _0x577131{constructor(_0x229a99,_0x32af91,_0x26d1ce){var _0xbba94d=_0x57ea30;super(),N(this,'_entities',new Map()),N(this,_0xbba94d(0x446),new _0x378d79()),N(this,'entityInit$',this['_entityInit$'][_0xbba94d(0x271)]()),(this[_0xbba94d(0x3ec)]=_0x229a99,this['_collabSessionService']=_0x32af91,this['_univerInstanceService']=_0x26d1ce,this[_0xbba94d(0x2e7)]());}['dispose'](){var _0x22a03a=_0x57ea30;super[_0x22a03a(0x214)](),this[_0x22a03a(0x315)][_0x22a03a(0x337)](_0x3cba6f=>_0x3cba6f['dispose']()),this[_0x22a03a(0x315)][_0x22a03a(0x2fb)]();}[_0x57ea30(0x455)](_0x447ca0){var _0xb7888c=_0x57ea30,_0x4ccf3c;return(_0x4ccf3c=this['_entities'][_0xb7888c(0x17b)](_0x447ca0))!=null?_0x4ccf3c:null;}[_0x57ea30(0x296)](_0x44b4da){var _0x4c4ef6=_0x57ea30;const _0x36cac0=this[_0x4c4ef6(0x455)](_0x44b4da);return _0x36cac0?_0x36584b(_0x36cac0):this[_0x4c4ef6(0x446)][_0x4c4ef6(0x197)](_0x4d1c41(_0x546311=>_0x546311['unitID']===_0x44b4da));}['readyForCollab'](_0x5ad2a0){var _0x124d3e=_0x57ea30;return _0xfcf877(this[_0x124d3e(0x296)](_0x5ad2a0)['pipe'](_0x18d76c(()=>{})));}[_0x57ea30(0x2e7)](){var _0x43646c=_0x57ea30;this[_0x43646c(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd['UNIVER_SHEET'])[_0x43646c(0x197)](_0x306370(this[_0x43646c(0x1c4)]),_0x26959e(0x10))['subscribe'](async _0x47627d=>{var _0x37c16b=_0x43646c;const _0x3df616=_0x47627d[_0x37c16b(0x377)](),_0x212eb4=await this[_0x37c16b(0x2d9)](_0x3df616,Q[_0x37c16b(0x2d1)]);this[_0x37c16b(0x315)][_0x37c16b(0x44b)](_0x3df616,_0x212eb4);}),this[_0x43646c(0x46f)][_0x43646c(0x3a3)](_0x33b7bd[_0x43646c(0x44d)])['pipe'](_0x306370(this['dispose$']),_0x26959e(0x10))[_0x43646c(0x197)](_0x4d1c41(_0x8308d4=>!_0x8308d4[_0x43646c(0x377)]()[_0x43646c(0x29b)]('__')))[_0x43646c(0x179)](async _0x55884c=>{var _0x436307=_0x43646c;const _0x4f87db=_0x55884c[_0x436307(0x377)](),_0x1fc439=await this[_0x436307(0x2d9)](_0x4f87db,Q[_0x436307(0x44d)]);this[_0x436307(0x315)][_0x436307(0x44b)](_0x4f87db,_0x1fc439);}),_0x20f86f(this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x2d1)]),this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x44d)]))['pipe'](_0x306370(this[_0x43646c(0x1c4)]))[_0x43646c(0x179)](_0x44d8b=>{var _0x7a45dd=_0x43646c;const _0x2d5a38=_0x44d8b[_0x7a45dd(0x377)](),_0x160ad5=this[_0x7a45dd(0x315)][_0x7a45dd(0x17b)](_0x2d5a38);_0x160ad5&&(_0x160ad5[_0x7a45dd(0x214)](),this[_0x7a45dd(0x315)][_0x7a45dd(0x2d3)](_0x2d5a38));});}async[_0x57ea30(0x2d9)](_0x4078e4,_0x797d8f){var _0x5362cd=_0x57ea30;const _0xec5687=await this['_collabSessionService']['requireSession'](_0x4078e4),_0x4dd77e=this[_0x5362cd(0x3ec)][_0x5362cd(0x298)](this[_0x5362cd(0x177)](_0x797d8f),_0x4078e4,_0x797d8f,_0xec5687);return await _0x4dd77e[_0x5362cd(0x1b3)](),this[_0x5362cd(0x446)][_0x5362cd(0x205)](_0x4dd77e),_0x4dd77e;}[_0x57ea30(0x177)](_0x103bf2){var _0x510b25=_0x57ea30;switch(_0x103bf2){case Q['UNIVER_DOC']:return Tt;case Q[_0x510b25(0x2d1)]:return Ct;default:throw new Error(_0x510b25(0x469)+_0x103bf2);}}};function _0x30c3(_0x3204f3,_0x3af440){var _0x2a3067=_0x2a30();return _0x30c3=function(_0x30c345,_0x3826e3){_0x30c345=_0x30c345-0x159;var _0x26fb8e=_0x2a3067[_0x30c345];return _0x26fb8e;},_0x30c3(_0x3204f3,_0x3af440);}rt=Sr([ft(0x0,_0x121c70(_0x49358f)),ft(0x1,_0x121c70(Le)),ft(0x2,_0x3b1049)],rt);var Er=Object[_0x57ea30(0x2ab)],Ir=Object[_0x57ea30(0x457)],Tr=(_0x4a1949,_0x52b92f,_0x3eaa35,_0x2c8873)=>{var _0x2dfc2b=_0x57ea30;for(var _0x15020e=_0x2c8873>0x1?void 0x0:_0x2c8873?Ir(_0x52b92f,_0x3eaa35):_0x52b92f,_0x1bdf62=_0x4a1949[_0x2dfc2b(0x1d3)]-0x1,_0x48c9b1;_0x1bdf62>=0x0;_0x1bdf62--)(_0x48c9b1=_0x4a1949[_0x1bdf62])&&(_0x15020e=(_0x2c8873?_0x48c9b1(_0x52b92f,_0x3eaa35,_0x15020e):_0x48c9b1(_0x15020e))||_0x15020e);return _0x2c8873&&_0x15020e&&Er(_0x52b92f,_0x3eaa35,_0x15020e),_0x15020e;},Jt=(_0x33751b,_0x46d36a)=>(_0x5a4361,_0x4b4f0c)=>_0x46d36a(_0x5a4361,_0x4b4f0c,_0x33751b);const Cr='DEFAULT_FILE_NAME',Rr='Univer';let Rt=class extends _0x232634{constructor(_0x5634c6,_0x409c9d){super(),this['_univerInstanceService']=_0x5634c6,this['_configService']=_0x409c9d,this['_init']();}[_0x57ea30(0x2e7)](){var _0x36fc5b=_0x57ea30;this[_0x36fc5b(0x2fd)](this[_0x36fc5b(0x46f)][_0x36fc5b(0x186)][_0x36fc5b(0x179)](()=>{var _0x1e5d1a=_0x36fc5b,_0x44969b;const _0x5f3c05=this['_univerInstanceService'][_0x1e5d1a(0x393)]();let _0x45bbb3=(_0x44969b=this[_0x1e5d1a(0x276)][_0x1e5d1a(0x341)](Cr))!=null?_0x44969b:Rr;_0x5f3c05 instanceof _0x5d02c2&&(_0x45bbb3=_0x5f3c05[_0x1e5d1a(0x2ce)]),document[_0x1e5d1a(0x3f1)]=_0x45bbb3;}));}};Rt=Tr([Jt(0x0,_0x3b1049),Jt(0x1,_0x5a8f33)],Rt);var br=Object[_0x57ea30(0x2ab)],Or=Object[_0x57ea30(0x457)],yr=(_0x1715cf,_0x25e937,_0x449354,_0x343806)=>{var _0x589e35=_0x57ea30;for(var _0x930e4d=_0x343806>0x1?void 0x0:_0x343806?Or(_0x25e937,_0x449354):_0x25e937,_0x4dc3e8=_0x1715cf[_0x589e35(0x1d3)]-0x1,_0xc90e25;_0x4dc3e8>=0x0;_0x4dc3e8--)(_0xc90e25=_0x1715cf[_0x4dc3e8])&&(_0x930e4d=(_0x343806?_0xc90e25(_0x25e937,_0x449354,_0x930e4d):_0xc90e25(_0x930e4d))||_0x930e4d);return _0x343806&&_0x930e4d&&br(_0x25e937,_0x449354,_0x930e4d),_0x930e4d;},vt=(_0x21e7d1,_0x56136e)=>(_0xc69f83,_0x5c37c3)=>_0x56136e(_0xc69f83,_0x5c37c3,_0x21e7d1);let st=class{constructor(_0x23d8b2,_0x413ebf,_0x14d573){var _0xcf0127=_0x57ea30;this['_configService']=_0x23d8b2,this[_0xcf0127(0x2ec)]=_0x413ebf,this[_0xcf0127(0x25b)]=_0x14d573,this[_0xcf0127(0x1b3)]();}['init'](){var _0x282d1e=_0x57ea30;this[_0x282d1e(0x2ec)][_0x282d1e(0x18f)]({'priority':0x1,'interceptor':(_0x9264c6,_0x15e244)=>_0x15e244(_0x9264c6)[_0x282d1e(0x197)](_0x518cb9(async _0x41333d=>{var _0x2e9310=_0x282d1e;const _0x24dfb7=_0x41333d;if(_0x24dfb7[_0x2e9310(0x1be)]===0x191){if(typeof window>'u')throw new Error(_0x2e9310(0x2c6));if(window[_0x2e9310(0x1c5)](this[_0x2e9310(0x25b)]['t'](_0x2e9310(0x342)))){const _0x55e02a=window['encodeURIComponent'](window['location']['href']);window[_0x2e9310(0x198)][_0x2e9310(0x3f2)]=this[_0x2e9310(0x1a8)]()+_0x2e9310(0x18e)+_0x55e02a;}}return _0x24dfb7;}))});}[_0x57ea30(0x1a8)](){var _0x1d2f4c=_0x57ea30,_0xef9ab1,_0x582a5e;const _0xe68cfc=this['_configService']['getConfig'](xn),_0x50ce26=this['_configService'][_0x1d2f4c(0x341)](q);return(_0x582a5e=(_0xef9ab1=_0x50ce26==null?void 0x0:_0x50ce26['loginUrlKey'])!=null?_0xef9ab1:_0xe68cfc)!=null?_0x582a5e:Ln;}};st=yr([vt(0x0,_0x5a8f33),vt(0x1,_0x121c70(_0x457bbb)),vt(0x2,_0x121c70(_0x5931b1))],st);var Nr=Object[_0x57ea30(0x2ab)],Dr=Object[_0x57ea30(0x457)],Pr=(_0x4b65dd,_0x5f2c2e,_0x26b374,_0x5f3de5)=>{var _0x57bb82=_0x57ea30;for(var _0xfbf5d2=_0x5f3de5>0x1?void 0x0:_0x5f3de5?Dr(_0x5f2c2e,_0x26b374):_0x5f2c2e,_0x515f37=_0x4b65dd[_0x57bb82(0x1d3)]-0x1,_0x38c5d7;_0x515f37>=0x0;_0x515f37--)(_0x38c5d7=_0x4b65dd[_0x515f37])&&(_0xfbf5d2=(_0x5f3de5?_0x38c5d7(_0x5f2c2e,_0x26b374,_0xfbf5d2):_0x38c5d7(_0xfbf5d2))||_0xfbf5d2);return _0x5f3de5&&_0xfbf5d2&&Nr(_0x5f2c2e,_0x26b374,_0xfbf5d2),_0xfbf5d2;},Xt=(_0x330fe8,_0x250f14)=>(_0x1bd651,_0x44e499)=>_0x250f14(_0x1bd651,_0x44e499,_0x330fe8);const Pi='AUTHZ_URL_KEY',wr=_0x57ea30(0x30d);let bt=class extends _0x232634{constructor(_0x4c0d70,_0x4c8136){var _0x19ddfe=_0x57ea30;super(),this['_HTTPService']=_0x4c0d70,this[_0x19ddfe(0x276)]=_0x4c8136,this['_initMergeInterceptor']();}[_0x57ea30(0x1a1)](){var _0x4535fc=_0x57ea30;const _0x34e9ef=this;this[_0x4535fc(0x2fd)](this[_0x4535fc(0x35c)][_0x4535fc(0x18f)]({'priority':0x3e7,'interceptor':_0x522fe1({'isMatch'(_0x5163fd){var _0x28f815=_0x4535fc,_0x4b6518;if(_0x5163fd[_0x28f815(0x2ff)]===_0x28f815(0x257)&&((_0x4b6518=_0x5163fd['requestParams'])!=null&&_0x4b6518[_0x28f815(0x3d6)])){const {objectID:_0x3c1601,objectType:_0x662f5}=_0x5163fd[_0x28f815(0x331)][_0x28f815(0x3d6)]||{};if(!_0x3c1601||_0x662f5===void 0x0)return!0x1;const _0x5f54f3=_0x34e9ef['_getAPIPrefixPath']()+'/'+_0x662f5+_0x28f815(0x1fb)+_0x3c1601+_0x28f815(0x2d0);if(_0x5163fd[_0x28f815(0x199)]===_0x5f54f3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x575144){var _0x186498=_0x4535fc,_0x311d4c;return(_0x311d4c=_0x575144[_0x186498(0x331)])==null?void 0x0:_0x311d4c[_0x186498(0x3d6)];},'mergeParamsToRequest'(_0x50cf7d,_0x5eb196){var _0x58d1f5=_0x4535fc;const _0x4721f8=_0x34e9ef[_0x58d1f5(0x256)]()+'/-/object/-/batch_allowed',_0x2dd9e6=_0x50cf7d[_0x58d1f5(0x398)]((_0x13cfba,_0x5e8590)=>{const {unitID:_0x2be708,objectID:_0x1584a1,objectType:_0x98d9c8,actions:_0x90b976}=_0x5e8590;return _0x13cfba[_0x2be708]||(_0x13cfba[_0x2be708]={}),_0x13cfba[_0x2be708][_0x1584a1]||(_0x13cfba[_0x2be708][_0x1584a1]={'objectID':_0x1584a1,'objectType':_0x98d9c8,'actions':[]}),_0x13cfba[_0x2be708][_0x1584a1]['actions']['push'](..._0x90b976),_0x13cfba;},{}),_0x3b68f8=[];for(const _0xacebcf in _0x2dd9e6)for(const _0x1beab8 in _0x2dd9e6[_0xacebcf]){const {actions:_0x5724cb,objectType:_0x4f811d}=_0x2dd9e6[_0xacebcf][_0x1beab8],_0xc469b8=[...new Set(_0x5724cb)];_0x3b68f8[_0x58d1f5(0x1d7)]({'unitID':_0xacebcf,'objectID':_0x1beab8,'objectType':_0x4f811d,'actions':_0xc469b8});}return new _0x109246(_0x58d1f5(0x257),_0x4721f8,{'headers':_0x5eb196['headers'],'withCredentials':_0x5eb196[_0x58d1f5(0x2c7)],'responseType':_0x5eb196['responseType'],'body':{'requests':_0x3b68f8}});}},{'distributeResult'(_0x2b0c54,_0x22ce9a){var _0x23974d=_0x4535fc;const {objectActions:_0x24c03f}=_0x2b0c54;return _0x22ce9a[_0x23974d(0x2c9)](_0x4e6bd6=>{var _0xa902f5=_0x23974d;const {unitID:_0x4071c2,objectID:_0x52c099,actions:_0x46deed}=_0x4e6bd6,_0x1a6ce9=_0x24c03f['find'](_0x4f963a=>_0x4f963a[_0xa902f5(0x239)]===_0x4071c2&&_0x4f963a['objectID']===_0x52c099),_0x2b5736=_0x46deed[_0xa902f5(0x2c9)](_0x1a23d5=>_0x1a6ce9==null?void 0x0:_0x1a6ce9[_0xa902f5(0x196)][_0xa902f5(0x369)](_0x1c39a8=>_0x1c39a8['action']===_0x1a23d5))[_0xa902f5(0x1ed)](_0x1d51f9=>!!_0x1d51f9);return{'config':_0x4e6bd6,'result':{'actions':_0x2b5736,'error':_0x2b0c54[_0xa902f5(0x24b)]}};});}})}));}[_0x57ea30(0x256)](){var _0x7918b5=_0x57ea30,_0x40c487,_0x2c5ad0;const _0x38cf98=this[_0x7918b5(0x276)][_0x7918b5(0x341)](Pi),_0x58c64e=this['_configService']['getConfig'](q);return(_0x2c5ad0=(_0x40c487=_0x58c64e==null?void 0x0:_0x58c64e[_0x7918b5(0x1e6)])!=null?_0x40c487:_0x38cf98)!=null?_0x2c5ad0:wr;}async[_0x57ea30(0x1ea)](_0x2bed0b){var _0x5eb745=_0x57ea30;const _0x5bf7ef=this[_0x5eb745(0x256)]()+'/'+_0x2bed0b['objectType']+_0x5eb745(0x3e2);return(await this[_0x5eb745(0x35c)]['post'](_0x5bf7ef,{'body':_0x2bed0b}))[_0x5eb745(0x3d6)][_0x5eb745(0x305)]||'';}async[_0x57ea30(0x386)](_0x218ceb){var _0x2f9a14=_0x57ea30;const _0x599ec7=this[_0x2f9a14(0x256)]()+_0x2f9a14(0x221);return(await this[_0x2f9a14(0x35c)][_0x2f9a14(0x405)](_0x599ec7,{'body':_0x218ceb}))[_0x2f9a14(0x3d6)][_0x2f9a14(0x2c4)];}async[_0x57ea30(0x16a)](_0x201ba2){var _0xf5076b=_0x57ea30;const _0x298268=this['_getAPIPrefixPath']()+'/'+_0x201ba2[_0xf5076b(0x448)]+_0xf5076b(0x1fb)+_0x201ba2[_0xf5076b(0x305)];await this['_HTTPService'][_0xf5076b(0x3c2)](_0x298268,{'body':_0x201ba2});}async[_0x57ea30(0x37a)](_0x228611){var _0x3e047e=_0x57ea30;const _0x59184a=this[_0x3e047e(0x256)]()+'/'+_0x228611['objectType']+_0x3e047e(0x1fb)+_0x228611[_0x3e047e(0x305)]+_0x3e047e(0x2d0);return(await this[_0x3e047e(0x35c)]['post'](_0x59184a,{'body':_0x228611}))[_0x3e047e(0x3d6)][_0x3e047e(0x196)];}async[_0x57ea30(0x350)](_0x546345){var _0x34a3e6=_0x57ea30;const _0x548365=this[_0x34a3e6(0x256)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x34a3e6(0x405)](_0x548365,{'body':{'requests':_0x546345}}))[_0x34a3e6(0x3d6)][_0x34a3e6(0x180)];}async[_0x57ea30(0x1bd)](_0x7a07e2){var _0x595710=_0x57ea30;const _0x3f77ed=this['_getAPIPrefixPath']()+'/'+_0x7a07e2[_0x595710(0x448)]+_0x595710(0x2e6),_0x3f2639=await this['_HTTPService']['post'](_0x3f77ed,{'body':_0x7a07e2});return{'roles':_0x3f2639['body'][_0x595710(0x1cc)],'actions':_0x3f2639['body'][_0x595710(0x196)]};}async[_0x57ea30(0x437)](_0xfa1c77){var _0x2106c4=_0x57ea30;const _0x5945e1=this[_0x2106c4(0x256)]()+_0x2106c4(0x45f);await this['_HTTPService'][_0x2106c4(0x2d3)](_0x5945e1,{'params':{'collaboratorID':_0xfa1c77['collaboratorID'],'objectID':_0xfa1c77[_0x2106c4(0x305)],'unitID':_0xfa1c77['unitID']}});}async[_0x57ea30(0x265)](_0x432094){var _0x2dd773=_0x57ea30;const _0x347f6a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2dd773(0x35c)][_0x2dd773(0x23e)](_0x347f6a,{'body':_0x432094});}async[_0x57ea30(0x3eb)](_0x571bbb){var _0x425032=_0x57ea30;const _0x194783=this[_0x425032(0x256)]()+_0x425032(0x45f);await this[_0x425032(0x35c)]['post'](_0x194783,{'body':_0x571bbb});}async[_0x57ea30(0x435)](_0x3be617){var _0x1437c5=_0x57ea30;const _0x146a50=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x1437c5(0x17b)](_0x146a50,{'params':{'objectID':_0x3be617[_0x1437c5(0x305)],'unitID':_0x3be617['unitID']}}))[_0x1437c5(0x3d6)]['collaborators'];}async['putCollaborators'](_0x2bacdf){var _0x75a969=_0x57ea30;const _0x2f1dee=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x75a969(0x35c)][_0x75a969(0x3c2)](_0x2f1dee,{'body':_0x2bacdf});}};bt=Pr([Xt(0x0,_0x121c70(_0x457bbb)),Xt(0x1,_0x121c70(_0x5a8f33))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x96d740){var _0xc1343d=_0x57ea30;return _0x96d740&&_0x96d740['__esModule']&&Object[_0xc1343d(0x33d)][_0xc1343d(0x423)][_0xc1343d(0x209)](_0x96d740,_0xc1343d(0x23d))?_0x96d740[_0xc1343d(0x23d)]:_0x96d740;}var Ve={'exports':{}};function Ur(_0x20a703){var _0x727a7e=_0x57ea30;throw new Error(_0x727a7e(0x324)+_0x20a703+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x57ea30(0x294)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x30d24f,_0x35f334){(function(_0x2e1110,_0x4e0029){var _0x361e99=_0x30c3;_0x30d24f[_0x361e99(0x294)]=_0x4e0029();}(Ar,function(){var _0x416e6c=_0x416e6c||function(_0x3d5fd7,_0x466fa0){var _0x2ea687=_0x30c3,_0x2b2528;if(typeof window<'u'&&window['crypto']&&(_0x2b2528=window[_0x2ea687(0x3a9)]),typeof self<'u'&&self[_0x2ea687(0x3a9)]&&(_0x2b2528=self[_0x2ea687(0x3a9)]),typeof globalThis<'u'&&globalThis[_0x2ea687(0x3a9)]&&(_0x2b2528=globalThis[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof window<'u'&&window[_0x2ea687(0x16d)]&&(_0x2b2528=window[_0x2ea687(0x16d)]),!_0x2b2528&&typeof pt<'u'&&pt[_0x2ea687(0x3a9)]&&(_0x2b2528=pt[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof Ur==_0x2ea687(0x2d6))try{_0x2b2528=require('crypto');}catch{}var _0x50f489=function(){var _0x15416a=_0x2ea687;if(_0x2b2528){if(typeof _0x2b2528[_0x15416a(0x400)]=='function')try{return _0x2b2528['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b2528[_0x15416a(0x26b)]==_0x15416a(0x2d6))try{return _0x2b2528[_0x15416a(0x26b)](0x4)[_0x15416a(0x2a9)]();}catch{}}throw new Error(_0x15416a(0x3b0));},_0x1bfbe0=Object[_0x2ea687(0x1ea)]||(function(){function _0xe688fd(){}return function(_0x58ddab){var _0x2019e9=_0x30c3,_0x4c2e2a;return _0xe688fd[_0x2019e9(0x33d)]=_0x58ddab,_0x4c2e2a=new _0xe688fd(),_0xe688fd[_0x2019e9(0x33d)]=null,_0x4c2e2a;};}()),_0x2694ac={},_0x44f9ee=_0x2694ac[_0x2ea687(0x1f4)]={},_0x30c857=_0x44f9ee[_0x2ea687(0x1c8)]=(function(){return{'extend':function(_0xcd66d0){var _0x5ba66c=_0x30c3,_0x41b57a=_0x1bfbe0(this);return _0xcd66d0&&_0x41b57a[_0x5ba66c(0x3b9)](_0xcd66d0),(!_0x41b57a[_0x5ba66c(0x423)](_0x5ba66c(0x1b3))||this['init']===_0x41b57a[_0x5ba66c(0x1b3)])&&(_0x41b57a['init']=function(){_0x41b57a['$super']['init']['apply'](this,arguments);}),_0x41b57a[_0x5ba66c(0x1b3)][_0x5ba66c(0x33d)]=_0x41b57a,_0x41b57a[_0x5ba66c(0x3c6)]=this,_0x41b57a;},'create':function(){var _0x18024d=_0x30c3,_0x5a9d4b=this[_0x18024d(0x1fa)]();return _0x5a9d4b[_0x18024d(0x1b3)]['apply'](_0x5a9d4b,arguments),_0x5a9d4b;},'init':function(){},'mixIn':function(_0x4a1dce){var _0x1a787f=_0x30c3;for(var _0x4a7f46 in _0x4a1dce)_0x4a1dce[_0x1a787f(0x423)](_0x4a7f46)&&(this[_0x4a7f46]=_0x4a1dce[_0x4a7f46]);_0x4a1dce['hasOwnProperty'](_0x1a787f(0x416))&&(this[_0x1a787f(0x416)]=_0x4a1dce['toString']);},'clone':function(){var _0x46370b=_0x30c3;return this[_0x46370b(0x1b3)][_0x46370b(0x33d)][_0x46370b(0x1fa)](this);}};}()),_0x3a671c=_0x44f9ee['WordArray']=_0x30c857['extend']({'init':function(_0x5d9b84,_0x46a857){var _0x9cf103=_0x2ea687;_0x5d9b84=this[_0x9cf103(0x164)]=_0x5d9b84||[],_0x46a857!=_0x466fa0?this['sigBytes']=_0x46a857:this[_0x9cf103(0x2be)]=_0x5d9b84[_0x9cf103(0x1d3)]*0x4;},'toString':function(_0x45d16b){var _0x65a0c0=_0x2ea687;return(_0x45d16b||_0x338dc7)[_0x65a0c0(0x3ea)](this);},'concat':function(_0x21f6ed){var _0x5cd03a=_0x2ea687,_0x4238ff=this[_0x5cd03a(0x164)],_0x2f3eb5=_0x21f6ed[_0x5cd03a(0x164)],_0x3b536b=this['sigBytes'],_0x15b87a=_0x21f6ed[_0x5cd03a(0x2be)];if(this['clamp'](),_0x3b536b%0x4)for(var _0xa7ff9a=0x0;_0xa7ff9a<_0x15b87a;_0xa7ff9a++){var _0x225eca=_0x2f3eb5[_0xa7ff9a>>>0x2]>>>0x18-_0xa7ff9a%0x4*0x8&0xff;_0x4238ff[_0x3b536b+_0xa7ff9a>>>0x2]|=_0x225eca<<0x18-(_0x3b536b+_0xa7ff9a)%0x4*0x8;}else{for(var _0x2d905b=0x0;_0x2d905b<_0x15b87a;_0x2d905b+=0x4)_0x4238ff[_0x3b536b+_0x2d905b>>>0x2]=_0x2f3eb5[_0x2d905b>>>0x2];}return this[_0x5cd03a(0x2be)]+=_0x15b87a,this;},'clamp':function(){var _0x4515f6=_0x2ea687,_0x4c080d=this['words'],_0x1fbf2a=this['sigBytes'];_0x4c080d[_0x1fbf2a>>>0x2]&=0xffffffff<<0x20-_0x1fbf2a%0x4*0x8,_0x4c080d[_0x4515f6(0x1d3)]=_0x3d5fd7[_0x4515f6(0x42e)](_0x1fbf2a/0x4);},'clone':function(){var _0x5144ef=_0x2ea687,_0x42b870=_0x30c857[_0x5144ef(0x426)]['call'](this);return _0x42b870[_0x5144ef(0x164)]=this[_0x5144ef(0x164)][_0x5144ef(0x1b1)](0x0),_0x42b870;},'random':function(_0x7e6e07){var _0x528cb2=_0x2ea687;for(var _0x54c0be=[],_0x3bb40b=0x0;_0x3bb40b<_0x7e6e07;_0x3bb40b+=0x4)_0x54c0be[_0x528cb2(0x1d7)](_0x50f489());return new _0x3a671c[(_0x528cb2(0x1b3))](_0x54c0be,_0x7e6e07);}}),_0x93a309=_0x2694ac[_0x2ea687(0x374)]={},_0x338dc7=_0x93a309[_0x2ea687(0x2bc)]={'stringify':function(_0x46c6be){var _0x3abd00=_0x2ea687;for(var _0x49e4c7=_0x46c6be[_0x3abd00(0x164)],_0x3107ef=_0x46c6be[_0x3abd00(0x2be)],_0x23830d=[],_0x168318=0x0;_0x168318<_0x3107ef;_0x168318++){var _0x195c12=_0x49e4c7[_0x168318>>>0x2]>>>0x18-_0x168318%0x4*0x8&0xff;_0x23830d[_0x3abd00(0x1d7)]((_0x195c12>>>0x4)[_0x3abd00(0x416)](0x10)),_0x23830d[_0x3abd00(0x1d7)]((_0x195c12&0xf)[_0x3abd00(0x416)](0x10));}return _0x23830d[_0x3abd00(0x31f)]('');},'parse':function(_0x3b6ef2){var _0x49acd9=_0x2ea687;for(var _0x5ae5d3=_0x3b6ef2[_0x49acd9(0x1d3)],_0x916dae=[],_0x16f1b3=0x0;_0x16f1b3<_0x5ae5d3;_0x16f1b3+=0x2)_0x916dae[_0x16f1b3>>>0x3]|=parseInt(_0x3b6ef2[_0x49acd9(0x25c)](_0x16f1b3,0x2),0x10)<<0x18-_0x16f1b3%0x8*0x4;return new _0x3a671c[(_0x49acd9(0x1b3))](_0x916dae,_0x5ae5d3/0x2);}},_0x51d43d=_0x93a309['Latin1']={'stringify':function(_0x3fcfb0){var _0x37eb25=_0x2ea687;for(var _0x3311a3=_0x3fcfb0[_0x37eb25(0x164)],_0x66bdef=_0x3fcfb0[_0x37eb25(0x2be)],_0x4571ff=[],_0x2c5d82=0x0;_0x2c5d82<_0x66bdef;_0x2c5d82++){var _0x3bab32=_0x3311a3[_0x2c5d82>>>0x2]>>>0x18-_0x2c5d82%0x4*0x8&0xff;_0x4571ff[_0x37eb25(0x1d7)](String[_0x37eb25(0x187)](_0x3bab32));}return _0x4571ff[_0x37eb25(0x31f)]('');},'parse':function(_0x13fdfa){var _0x14bcfe=_0x2ea687;for(var _0x77969e=_0x13fdfa[_0x14bcfe(0x1d3)],_0x58b78b=[],_0x2ed0b1=0x0;_0x2ed0b1<_0x77969e;_0x2ed0b1++)_0x58b78b[_0x2ed0b1>>>0x2]|=(_0x13fdfa[_0x14bcfe(0x318)](_0x2ed0b1)&0xff)<<0x18-_0x2ed0b1%0x4*0x8;return new _0x3a671c[(_0x14bcfe(0x1b3))](_0x58b78b,_0x77969e);}},_0x29c220=_0x93a309[_0x2ea687(0x3d0)]={'stringify':function(_0x476002){var _0x201739=_0x2ea687;try{return decodeURIComponent(escape(_0x51d43d[_0x201739(0x3ea)](_0x476002)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5b4410){var _0x75446f=_0x2ea687;return _0x51d43d[_0x75446f(0x228)](unescape(encodeURIComponent(_0x5b4410)));}},_0x53a5a8=_0x44f9ee[_0x2ea687(0x2cc)]=_0x30c857[_0x2ea687(0x1fa)]({'reset':function(){var _0x27b602=_0x2ea687;this['_data']=new _0x3a671c[(_0x27b602(0x1b3))](),this[_0x27b602(0x459)]=0x0;},'_append':function(_0x7178ca){var _0x5a128d=_0x2ea687;typeof _0x7178ca==_0x5a128d(0x3e0)&&(_0x7178ca=_0x29c220[_0x5a128d(0x228)](_0x7178ca)),this[_0x5a128d(0x267)][_0x5a128d(0x397)](_0x7178ca),this[_0x5a128d(0x459)]+=_0x7178ca[_0x5a128d(0x2be)];},'_process':function(_0x5d85b8){var _0x4b66aa=_0x2ea687,_0x1c77a6,_0x356eb3=this[_0x4b66aa(0x267)],_0x10bbb2=_0x356eb3[_0x4b66aa(0x164)],_0x26f5e0=_0x356eb3[_0x4b66aa(0x2be)],_0x1e3ab4=this[_0x4b66aa(0x3d7)],_0x36aa60=_0x1e3ab4*0x4,_0x5ad20b=_0x26f5e0/_0x36aa60;_0x5d85b8?_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x42e)](_0x5ad20b):_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x217)]((_0x5ad20b|0x0)-this[_0x4b66aa(0x200)],0x0);var _0x519ee6=_0x5ad20b*_0x1e3ab4,_0x318f7f=_0x3d5fd7[_0x4b66aa(0x1ad)](_0x519ee6*0x4,_0x26f5e0);if(_0x519ee6){for(var _0x834cca=0x0;_0x834cca<_0x519ee6;_0x834cca+=_0x1e3ab4)this[_0x4b66aa(0x2e2)](_0x10bbb2,_0x834cca);_0x1c77a6=_0x10bbb2['splice'](0x0,_0x519ee6),_0x356eb3['sigBytes']-=_0x318f7f;}return new _0x3a671c[(_0x4b66aa(0x1b3))](_0x1c77a6,_0x318f7f);},'clone':function(){var _0x1bb5e9=_0x2ea687,_0x53adca=_0x30c857[_0x1bb5e9(0x426)][_0x1bb5e9(0x209)](this);return _0x53adca['_data']=this['_data'][_0x1bb5e9(0x426)](),_0x53adca;},'_minBufferSize':0x0});_0x44f9ee[_0x2ea687(0x2c2)]=_0x53a5a8[_0x2ea687(0x1fa)]({'cfg':_0x30c857[_0x2ea687(0x1fa)](),'init':function(_0x39aa62){var _0x460752=_0x2ea687;this[_0x460752(0x280)]=this[_0x460752(0x280)][_0x460752(0x1fa)](_0x39aa62),this[_0x460752(0x3c3)]();},'reset':function(){var _0x696b1a=_0x2ea687;_0x53a5a8['reset'][_0x696b1a(0x209)](this),this[_0x696b1a(0x357)]();},'update':function(_0x1fbd69){var _0x2f6e91=_0x2ea687;return this[_0x2f6e91(0x254)](_0x1fbd69),this['_process'](),this;},'finalize':function(_0x19cd4b){var _0x594142=_0x2ea687;_0x19cd4b&&this[_0x594142(0x254)](_0x19cd4b);var _0x59feb9=this[_0x594142(0x39d)]();return _0x59feb9;},'blockSize':0x10,'_createHelper':function(_0x5cfb7a){return function(_0x5df4da,_0x5a0c22){var _0x27fd24=_0x30c3;return new _0x5cfb7a[(_0x27fd24(0x1b3))](_0x5a0c22)[_0x27fd24(0x19a)](_0x5df4da);};},'_createHmacHelper':function(_0x255eca){return function(_0x111f37,_0x425328){var _0x3c9a27=_0x30c3;return new _0x28d12a[(_0x3c9a27(0x2b2))][(_0x3c9a27(0x1b3))](_0x255eca,_0x425328)[_0x3c9a27(0x19a)](_0x111f37);};}});var _0x28d12a=_0x2694ac[_0x2ea687(0x174)]={};return _0x2694ac;}(Math);return _0x416e6c;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x57ea30(0x294)],Qt;function wi(){var _0x20d6ce=_0x57ea30;return Qt||(Qt=0x1,function(_0x26a1be,_0x3734a1){(function(_0x32c966,_0x5c4020){var _0x51c4c0=_0x30c3;_0x26a1be[_0x51c4c0(0x294)]=_0x5c4020(ne());}(xr,function(_0x4b000c){var _0xaf2e11=_0x30c3;return(function(){var _0x4cad48=_0x30c3,_0x343403=_0x4b000c,_0x45a3a3=_0x343403['lib'],_0x444bb0=_0x45a3a3[_0x4cad48(0x2c3)],_0x2fc7b7=_0x343403[_0x4cad48(0x374)];_0x2fc7b7[_0x4cad48(0x373)]={'stringify':function(_0x476fae){var _0x29f90b=_0x4cad48,_0x5b4716=_0x476fae[_0x29f90b(0x164)],_0x2789ac=_0x476fae[_0x29f90b(0x2be)],_0x10a418=this[_0x29f90b(0x253)];_0x476fae[_0x29f90b(0x230)]();for(var _0x4a817b=[],_0x8b8452=0x0;_0x8b8452<_0x2789ac;_0x8b8452+=0x3)for(var _0x2375b4=_0x5b4716[_0x8b8452>>>0x2]>>>0x18-_0x8b8452%0x4*0x8&0xff,_0x539ec4=_0x5b4716[_0x8b8452+0x1>>>0x2]>>>0x18-(_0x8b8452+0x1)%0x4*0x8&0xff,_0x5b8dd6=_0x5b4716[_0x8b8452+0x2>>>0x2]>>>0x18-(_0x8b8452+0x2)%0x4*0x8&0xff,_0x33a994=_0x2375b4<<0x10|_0x539ec4<<0x8|_0x5b8dd6,_0x37ec90=0x0;_0x37ec90<0x4&&_0x8b8452+_0x37ec90*0.75<_0x2789ac;_0x37ec90++)_0x4a817b[_0x29f90b(0x1d7)](_0x10a418['charAt'](_0x33a994>>>0x6*(0x3-_0x37ec90)&0x3f));var _0x2fda10=_0x10a418[_0x29f90b(0x334)](0x40);if(_0x2fda10){for(;_0x4a817b[_0x29f90b(0x1d3)]%0x4;)_0x4a817b[_0x29f90b(0x1d7)](_0x2fda10);}return _0x4a817b[_0x29f90b(0x31f)]('');},'parse':function(_0x5e4205){var _0x3d12bd=_0x4cad48,_0x5a64c3=_0x5e4205[_0x3d12bd(0x1d3)],_0x1b8686=this[_0x3d12bd(0x253)],_0x500b3d=this[_0x3d12bd(0x17e)];if(!_0x500b3d){_0x500b3d=this[_0x3d12bd(0x17e)]=[];for(var _0x393e15=0x0;_0x393e15<_0x1b8686[_0x3d12bd(0x1d3)];_0x393e15++)_0x500b3d[_0x1b8686[_0x3d12bd(0x318)](_0x393e15)]=_0x393e15;}var _0x57853a=_0x1b8686[_0x3d12bd(0x334)](0x40);if(_0x57853a){var _0x2fe9b9=_0x5e4205[_0x3d12bd(0x450)](_0x57853a);_0x2fe9b9!==-0x1&&(_0x5a64c3=_0x2fe9b9);}return _0x15170b(_0x5e4205,_0x5a64c3,_0x500b3d);},'_map':_0x4cad48(0x402)};function _0x15170b(_0x32ce22,_0x77495a,_0x5400be){var _0x3425de=_0x4cad48;for(var _0x1ec0de=[],_0xc77bde=0x0,_0x12114c=0x0;_0x12114c<_0x77495a;_0x12114c++)if(_0x12114c%0x4){var _0xee4a29=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c-0x1)]<<_0x12114c%0x4*0x2,_0x2dc5db=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c)]>>>0x6-_0x12114c%0x4*0x2,_0x192856=_0xee4a29|_0x2dc5db;_0x1ec0de[_0xc77bde>>>0x2]|=_0x192856<<0x18-_0xc77bde%0x4*0x8,_0xc77bde++;}return _0x444bb0[_0x3425de(0x1ea)](_0x1ec0de,_0xc77bde);}}()),_0x4b000c[_0xaf2e11(0x374)][_0xaf2e11(0x373)];}));}(We)),We[_0x20d6ce(0x294)];}var Ke={'exports':{}},Lr=Ke[_0x57ea30(0x294)],ei;function Mr(){var _0x115903=_0x57ea30;return ei||(ei=0x1,function(_0x51e5fc,_0x200d85){(function(_0x336477,_0x373036){var _0x9f0e9b=_0x30c3;_0x51e5fc[_0x9f0e9b(0x294)]=_0x373036(ne());}(Lr,function(_0x2250ca){var _0x1e1dfa=_0x30c3;return function(_0x50c9e7){var _0xd08139=_0x30c3,_0x1600af=_0x2250ca,_0xc9d6df=_0x1600af[_0xd08139(0x1f4)],_0x223a3b=_0xc9d6df[_0xd08139(0x2c3)],_0x4c01bf=_0xc9d6df[_0xd08139(0x2c2)],_0x500c88=_0x1600af['algo'],_0x17c531=[];(function(){var _0x1d6747=_0xd08139;for(var _0x14541e=0x0;_0x14541e<0x40;_0x14541e++)_0x17c531[_0x14541e]=_0x50c9e7[_0x1d6747(0x234)](_0x50c9e7['sin'](_0x14541e+0x1))*0x100000000|0x0;}());var _0x390570=_0x500c88[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x1fa)]({'_doReset':function(){var _0x29f32c=_0xd08139;this[_0x29f32c(0x195)]=new _0x223a3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4d26d7,_0x100115){var _0x512da6=_0xd08139;for(var _0x1c808d=0x0;_0x1c808d<0x10;_0x1c808d++){var _0x297ef0=_0x100115+_0x1c808d,_0x4b2a01=_0x4d26d7[_0x297ef0];_0x4d26d7[_0x297ef0]=(_0x4b2a01<<0x8|_0x4b2a01>>>0x18)&0xff00ff|(_0x4b2a01<<0x18|_0x4b2a01>>>0x8)&0xff00ff00;}var _0x391718=this[_0x512da6(0x195)][_0x512da6(0x164)],_0x3bb08b=_0x4d26d7[_0x100115+0x0],_0x5bbf37=_0x4d26d7[_0x100115+0x1],_0x298ccc=_0x4d26d7[_0x100115+0x2],_0x2531dd=_0x4d26d7[_0x100115+0x3],_0x34f9c0=_0x4d26d7[_0x100115+0x4],_0x26b3c4=_0x4d26d7[_0x100115+0x5],_0x1e2886=_0x4d26d7[_0x100115+0x6],_0x55ee2a=_0x4d26d7[_0x100115+0x7],_0x249b43=_0x4d26d7[_0x100115+0x8],_0x23d873=_0x4d26d7[_0x100115+0x9],_0x5e6541=_0x4d26d7[_0x100115+0xa],_0x2cfb94=_0x4d26d7[_0x100115+0xb],_0x584dbd=_0x4d26d7[_0x100115+0xc],_0x479b1e=_0x4d26d7[_0x100115+0xd],_0x17caad=_0x4d26d7[_0x100115+0xe],_0x542e96=_0x4d26d7[_0x100115+0xf],_0x59494f=_0x391718[0x0],_0x23e4b2=_0x391718[0x1],_0x260bea=_0x391718[0x2],_0x5ec29e=_0x391718[0x3];_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x7,_0x17c531[0x0]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5bbf37,0xc,_0x17c531[0x1]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0x11,_0x17c531[0x2]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2531dd,0x16,_0x17c531[0x3]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x7,_0x17c531[0x4]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x26b3c4,0xc,_0x17c531[0x5]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0x11,_0x17c531[0x6]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x55ee2a,0x16,_0x17c531[0x7]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x7,_0x17c531[0x8]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x23d873,0xc,_0x17c531[0x9]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0x11,_0x17c531[0xa]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2cfb94,0x16,_0x17c531[0xb]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x7,_0x17c531[0xc]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x479b1e,0xc,_0x17c531[0xd]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0x11,_0x17c531[0xe]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x542e96,0x16,_0x17c531[0xf]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x5,_0x17c531[0x10]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x1e2886,0x9,_0x17c531[0x11]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0xe,_0x17c531[0x12]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x3bb08b,0x14,_0x17c531[0x13]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x5,_0x17c531[0x14]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5e6541,0x9,_0x17c531[0x15]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0xe,_0x17c531[0x16]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x34f9c0,0x14,_0x17c531[0x17]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x5,_0x17c531[0x18]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x17caad,0x9,_0x17c531[0x19]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0xe,_0x17c531[0x1a]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x249b43,0x14,_0x17c531[0x1b]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x5,_0x17c531[0x1c]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x298ccc,0x9,_0x17c531[0x1d]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0xe,_0x17c531[0x1e]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x584dbd,0x14,_0x17c531[0x1f]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x4,_0x17c531[0x20]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x249b43,0xb,_0x17c531[0x21]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0x10,_0x17c531[0x22]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x17caad,0x17,_0x17c531[0x23]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x4,_0x17c531[0x24]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x34f9c0,0xb,_0x17c531[0x25]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0x10,_0x17c531[0x26]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5e6541,0x17,_0x17c531[0x27]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x4,_0x17c531[0x28]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x3bb08b,0xb,_0x17c531[0x29]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0x10,_0x17c531[0x2a]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x1e2886,0x17,_0x17c531[0x2b]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x4,_0x17c531[0x2c]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x584dbd,0xb,_0x17c531[0x2d]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0x10,_0x17c531[0x2e]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x298ccc,0x17,_0x17c531[0x2f]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x6,_0x17c531[0x30]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x55ee2a,0xa,_0x17c531[0x31]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0xf,_0x17c531[0x32]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x26b3c4,0x15,_0x17c531[0x33]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x6,_0x17c531[0x34]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2531dd,0xa,_0x17c531[0x35]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0xf,_0x17c531[0x36]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5bbf37,0x15,_0x17c531[0x37]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x6,_0x17c531[0x38]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x542e96,0xa,_0x17c531[0x39]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0xf,_0x17c531[0x3a]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x479b1e,0x15,_0x17c531[0x3b]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x6,_0x17c531[0x3c]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2cfb94,0xa,_0x17c531[0x3d]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0xf,_0x17c531[0x3e]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x23d873,0x15,_0x17c531[0x3f]),_0x391718[0x0]=_0x391718[0x0]+_0x59494f|0x0,_0x391718[0x1]=_0x391718[0x1]+_0x23e4b2|0x0,_0x391718[0x2]=_0x391718[0x2]+_0x260bea|0x0,_0x391718[0x3]=_0x391718[0x3]+_0x5ec29e|0x0;},'_doFinalize':function(){var _0x122987=_0xd08139,_0x5d0d39=this[_0x122987(0x267)],_0x3ca6d7=_0x5d0d39[_0x122987(0x164)],_0x559b1c=this[_0x122987(0x459)]*0x8,_0x47871f=_0x5d0d39[_0x122987(0x2be)]*0x8;_0x3ca6d7[_0x47871f>>>0x5]|=0x80<<0x18-_0x47871f%0x20;var _0x14fee6=_0x50c9e7[_0x122987(0x1f9)](_0x559b1c/0x100000000),_0x5d6821=_0x559b1c;_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xf]=(_0x14fee6<<0x8|_0x14fee6>>>0x18)&0xff00ff|(_0x14fee6<<0x18|_0x14fee6>>>0x8)&0xff00ff00,_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xe]=(_0x5d6821<<0x8|_0x5d6821>>>0x18)&0xff00ff|(_0x5d6821<<0x18|_0x5d6821>>>0x8)&0xff00ff00,_0x5d0d39[_0x122987(0x2be)]=(_0x3ca6d7['length']+0x1)*0x4,this[_0x122987(0x2b6)]();for(var _0x534fd4=this['_hash'],_0x1e73d7=_0x534fd4['words'],_0x13921b=0x0;_0x13921b<0x4;_0x13921b++){var _0x27ac50=_0x1e73d7[_0x13921b];_0x1e73d7[_0x13921b]=(_0x27ac50<<0x8|_0x27ac50>>>0x18)&0xff00ff|(_0x27ac50<<0x18|_0x27ac50>>>0x8)&0xff00ff00;}return _0x534fd4;},'clone':function(){var _0x944299=_0xd08139,_0x44a23b=_0x4c01bf[_0x944299(0x426)][_0x944299(0x209)](this);return _0x44a23b[_0x944299(0x195)]=this[_0x944299(0x195)]['clone'](),_0x44a23b;}});function _0xe41216(_0x2c2f9e,_0x5024ad,_0x3be956,_0x2fde95,_0x4afbf6,_0x5ac54d,_0x49d1ee){var _0x2389b6=_0x2c2f9e+(_0x5024ad&_0x3be956|~_0x5024ad&_0x2fde95)+_0x4afbf6+_0x49d1ee;return(_0x2389b6<<_0x5ac54d|_0x2389b6>>>0x20-_0x5ac54d)+_0x5024ad;}function _0x151243(_0x1310fc,_0x5b1497,_0x41cb48,_0x2e1b2e,_0xb94b96,_0x54107d,_0x21fee1){var _0x14cebf=_0x1310fc+(_0x5b1497&_0x2e1b2e|_0x41cb48&~_0x2e1b2e)+_0xb94b96+_0x21fee1;return(_0x14cebf<<_0x54107d|_0x14cebf>>>0x20-_0x54107d)+_0x5b1497;}function _0x226869(_0x11e4bd,_0xda20e,_0x194caa,_0x2df22f,_0x5011dd,_0x307c5f,_0x1260d3){var _0x187295=_0x11e4bd+(_0xda20e^_0x194caa^_0x2df22f)+_0x5011dd+_0x1260d3;return(_0x187295<<_0x307c5f|_0x187295>>>0x20-_0x307c5f)+_0xda20e;}function _0xb2fd0e(_0x2a2d56,_0x47adac,_0x31ec36,_0x4e5106,_0x11e69f,_0x564606,_0x3ac394){var _0x29ee17=_0x2a2d56+(_0x31ec36^(_0x47adac|~_0x4e5106))+_0x11e69f+_0x3ac394;return(_0x29ee17<<_0x564606|_0x29ee17>>>0x20-_0x564606)+_0x47adac;}_0x1600af[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x40a)](_0x390570),_0x1600af[_0xd08139(0x394)]=_0x4c01bf['_createHmacHelper'](_0x390570);}(Math),_0x2250ca[_0x1e1dfa(0x35f)];}));}(Ke)),Ke[_0x115903(0x294)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x57ea30(0x294)],ti;function Hr(){var _0xccd80f=_0x57ea30;return ti||(ti=0x1,function(_0x2e1426,_0x877e31){(function(_0x2efb7e,_0x1c6d6d){var _0x31247a=_0x30c3;_0x2e1426[_0x31247a(0x294)]=_0x1c6d6d(ne());}($r,function(_0x38a3e1){var _0x14cefb=_0x30c3;return(function(){var _0x132af6=_0x30c3,_0x712e5a=_0x38a3e1,_0x505d08=_0x712e5a[_0x132af6(0x1f4)],_0x30ee17=_0x505d08[_0x132af6(0x2c3)],_0x4f733c=_0x505d08[_0x132af6(0x2c2)],_0x3312be=_0x712e5a[_0x132af6(0x174)],_0x3f8443=[],_0x4dca57=_0x3312be['SHA1']=_0x4f733c[_0x132af6(0x1fa)]({'_doReset':function(){var _0x4e8c37=_0x132af6;this[_0x4e8c37(0x195)]=new _0x30ee17[(_0x4e8c37(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c459e,_0x281d6c){var _0x47dd2b=_0x132af6;for(var _0xa9854a=this['_hash'][_0x47dd2b(0x164)],_0x4690f1=_0xa9854a[0x0],_0x2d559d=_0xa9854a[0x1],_0x53c37b=_0xa9854a[0x2],_0xa3adea=_0xa9854a[0x3],_0x28e20a=_0xa9854a[0x4],_0x247d3d=0x0;_0x247d3d<0x50;_0x247d3d++){if(_0x247d3d<0x10)_0x3f8443[_0x247d3d]=_0x2c459e[_0x281d6c+_0x247d3d]|0x0;else{var _0x2305fb=_0x3f8443[_0x247d3d-0x3]^_0x3f8443[_0x247d3d-0x8]^_0x3f8443[_0x247d3d-0xe]^_0x3f8443[_0x247d3d-0x10];_0x3f8443[_0x247d3d]=_0x2305fb<<0x1|_0x2305fb>>>0x1f;}var _0xc511fa=(_0x4690f1<<0x5|_0x4690f1>>>0x1b)+_0x28e20a+_0x3f8443[_0x247d3d];_0x247d3d<0x14?_0xc511fa+=(_0x2d559d&_0x53c37b|~_0x2d559d&_0xa3adea)+0x5a827999:_0x247d3d<0x28?_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)+0x6ed9eba1:_0x247d3d<0x3c?_0xc511fa+=(_0x2d559d&_0x53c37b|_0x2d559d&_0xa3adea|_0x53c37b&_0xa3adea)-0x70e44324:_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)-0x359d3e2a,_0x28e20a=_0xa3adea,_0xa3adea=_0x53c37b,_0x53c37b=_0x2d559d<<0x1e|_0x2d559d>>>0x2,_0x2d559d=_0x4690f1,_0x4690f1=_0xc511fa;}_0xa9854a[0x0]=_0xa9854a[0x0]+_0x4690f1|0x0,_0xa9854a[0x1]=_0xa9854a[0x1]+_0x2d559d|0x0,_0xa9854a[0x2]=_0xa9854a[0x2]+_0x53c37b|0x0,_0xa9854a[0x3]=_0xa9854a[0x3]+_0xa3adea|0x0,_0xa9854a[0x4]=_0xa9854a[0x4]+_0x28e20a|0x0;},'_doFinalize':function(){var _0x4cbedc=_0x132af6,_0xa8df9f=this[_0x4cbedc(0x267)],_0x5360b1=_0xa8df9f[_0x4cbedc(0x164)],_0x3c3cff=this[_0x4cbedc(0x459)]*0x8,_0x147865=_0xa8df9f[_0x4cbedc(0x2be)]*0x8;return _0x5360b1[_0x147865>>>0x5]|=0x80<<0x18-_0x147865%0x20,_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c3cff/0x100000000),_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xf]=_0x3c3cff,_0xa8df9f[_0x4cbedc(0x2be)]=_0x5360b1[_0x4cbedc(0x1d3)]*0x4,this['_process'](),this[_0x4cbedc(0x195)];},'clone':function(){var _0x345e29=_0x132af6,_0x1686d5=_0x4f733c[_0x345e29(0x426)][_0x345e29(0x209)](this);return _0x1686d5[_0x345e29(0x195)]=this['_hash'][_0x345e29(0x426)](),_0x1686d5;}});_0x712e5a[_0x132af6(0x20f)]=_0x4f733c['_createHelper'](_0x4dca57),_0x712e5a[_0x132af6(0x263)]=_0x4f733c[_0x132af6(0x1b7)](_0x4dca57);}()),_0x38a3e1[_0x14cefb(0x20f)];}));}(qe)),qe[_0xccd80f(0x294)];}var ze={'exports':{}},kr=ze[_0x57ea30(0x294)],ii;function jr(){var _0x5b4fa2=_0x57ea30;return ii||(ii=0x1,function(_0x552e66,_0x58cf5c){(function(_0x35024c,_0x5a255d){var _0x27f354=_0x30c3;_0x552e66[_0x27f354(0x294)]=_0x5a255d(ne());}(kr,function(_0x5dca0c){(function(){var _0x568bf6=_0x30c3,_0xcdb7c7=_0x5dca0c,_0x23652d=_0xcdb7c7['lib'],_0x30495a=_0x23652d['Base'],_0x4abd72=_0xcdb7c7[_0x568bf6(0x374)],_0x36715d=_0x4abd72['Utf8'],_0x56d327=_0xcdb7c7[_0x568bf6(0x174)];_0x56d327['HMAC']=_0x30495a['extend']({'init':function(_0x197c60,_0xd1fbd){var _0x3108b3=_0x568bf6;_0x197c60=this[_0x3108b3(0x447)]=new _0x197c60[(_0x3108b3(0x1b3))](),typeof _0xd1fbd=='string'&&(_0xd1fbd=_0x36715d[_0x3108b3(0x228)](_0xd1fbd));var _0x1708c9=_0x197c60[_0x3108b3(0x3d7)],_0x1759a2=_0x1708c9*0x4;_0xd1fbd[_0x3108b3(0x2be)]>_0x1759a2&&(_0xd1fbd=_0x197c60[_0x3108b3(0x19a)](_0xd1fbd)),_0xd1fbd[_0x3108b3(0x230)]();for(var _0x2539f7=this[_0x3108b3(0x3cf)]=_0xd1fbd['clone'](),_0x543510=this['_iKey']=_0xd1fbd[_0x3108b3(0x426)](),_0x4ac8b0=_0x2539f7[_0x3108b3(0x164)],_0x17d10e=_0x543510[_0x3108b3(0x164)],_0x2465ec=0x0;_0x2465ec<_0x1708c9;_0x2465ec++)_0x4ac8b0[_0x2465ec]^=0x5c5c5c5c,_0x17d10e[_0x2465ec]^=0x36363636;_0x2539f7['sigBytes']=_0x543510[_0x3108b3(0x2be)]=_0x1759a2,this[_0x3108b3(0x3c3)]();},'reset':function(){var _0x32fe4b=_0x568bf6,_0x10e786=this[_0x32fe4b(0x447)];_0x10e786[_0x32fe4b(0x3c3)](),_0x10e786['update'](this[_0x32fe4b(0x2ee)]);},'update':function(_0x3a0235){var _0x8626c1=_0x568bf6;return this['_hasher'][_0x8626c1(0x16a)](_0x3a0235),this;},'finalize':function(_0x41a264){var _0x34f90a=_0x568bf6,_0x5eeeea=this['_hasher'],_0x2e9646=_0x5eeeea[_0x34f90a(0x19a)](_0x41a264);_0x5eeeea['reset']();var _0x390c21=_0x5eeeea[_0x34f90a(0x19a)](this[_0x34f90a(0x3cf)][_0x34f90a(0x426)]()['concat'](_0x2e9646));return _0x390c21;}});}());}));}(ze)),ze[_0x5b4fa2(0x294)];}var Br=Ye[_0x57ea30(0x294)],ni;function Ui(){var _0x153b57=_0x57ea30;return ni||(ni=0x1,function(_0x57d24c,_0x21e60e){(function(_0x1af515,_0x27b7df,_0x5f071a){_0x57d24c['exports']=_0x27b7df(ne(),Hr(),jr());}(Br,function(_0x162f1f){var _0x1f1af3=_0x30c3;return(function(){var _0x30aa42=_0x30c3,_0x56370f=_0x162f1f,_0x52634f=_0x56370f['lib'],_0x259932=_0x52634f['Base'],_0x34b461=_0x52634f['WordArray'],_0x2b550a=_0x56370f[_0x30aa42(0x174)],_0x497cb8=_0x2b550a[_0x30aa42(0x35f)],_0x3de2f7=_0x2b550a['EvpKDF']=_0x259932[_0x30aa42(0x1fa)]({'cfg':_0x259932['extend']({'keySize':0x80/0x20,'hasher':_0x497cb8,'iterations':0x1}),'init':function(_0xdcc9b9){var _0x35f773=_0x30aa42;this[_0x35f773(0x280)]=this[_0x35f773(0x280)]['extend'](_0xdcc9b9);},'compute':function(_0x33e286,_0x47d61a){var _0x247b23=_0x30aa42;for(var _0x26c7b0,_0x33a819=this[_0x247b23(0x280)],_0x1e2245=_0x33a819['hasher'][_0x247b23(0x1ea)](),_0x17ca05=_0x34b461['create'](),_0x514329=_0x17ca05[_0x247b23(0x164)],_0x1baf4c=_0x33a819[_0x247b23(0x429)],_0x35aa9f=_0x33a819[_0x247b23(0x304)];_0x514329[_0x247b23(0x1d3)]<_0x1baf4c;){_0x26c7b0&&_0x1e2245[_0x247b23(0x16a)](_0x26c7b0),_0x26c7b0=_0x1e2245[_0x247b23(0x16a)](_0x33e286)[_0x247b23(0x19a)](_0x47d61a),_0x1e2245[_0x247b23(0x3c3)]();for(var _0x339319=0x1;_0x339319<_0x35aa9f;_0x339319++)_0x26c7b0=_0x1e2245[_0x247b23(0x19a)](_0x26c7b0),_0x1e2245['reset']();_0x17ca05[_0x247b23(0x397)](_0x26c7b0);}return _0x17ca05['sigBytes']=_0x1baf4c*0x4,_0x17ca05;}});_0x56370f[_0x30aa42(0x31b)]=function(_0x52a128,_0x51cef5,_0x3afe9){var _0x2080d5=_0x30aa42;return _0x3de2f7[_0x2080d5(0x1ea)](_0x3afe9)[_0x2080d5(0x1e4)](_0x52a128,_0x51cef5);};}()),_0x162f1f[_0x1f1af3(0x31b)];}));}(Ye)),Ye[_0x153b57(0x294)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x4ff1cb=_0x57ea30;return ri||(ri=0x1,function(_0x2dbf4e,_0x328db3){(function(_0xa4c310,_0x2b3c9a,_0x32c24b){_0x2dbf4e['exports']=_0x2b3c9a(ne(),Ui());}(Fr,function(_0x206321){var _0x39ebd4=_0x30c3;_0x206321[_0x39ebd4(0x1f4)]['Cipher']||function(_0x350d2d){var _0x3e7ac3=_0x39ebd4,_0xd6c5ea=_0x206321,_0x952988=_0xd6c5ea[_0x3e7ac3(0x1f4)],_0x35db50=_0x952988[_0x3e7ac3(0x1c8)],_0x5b4dc8=_0x952988['WordArray'],_0x6006fe=_0x952988[_0x3e7ac3(0x2cc)],_0x528530=_0xd6c5ea[_0x3e7ac3(0x374)];_0x528530[_0x3e7ac3(0x3d0)];var _0x59859a=_0x528530[_0x3e7ac3(0x373)],_0xb93b49=_0xd6c5ea[_0x3e7ac3(0x174)],_0x3aea00=_0xb93b49[_0x3e7ac3(0x31b)],_0xb3363e=_0x952988[_0x3e7ac3(0x185)]=_0x6006fe[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)](),'createEncryptor':function(_0x2aaff2,_0x195586){var _0x10f1e2=_0x3e7ac3;return this[_0x10f1e2(0x1ea)](this[_0x10f1e2(0x171)],_0x2aaff2,_0x195586);},'createDecryptor':function(_0x15585b,_0x335e3a){var _0x1d678f=_0x3e7ac3;return this[_0x1d678f(0x1ea)](this['_DEC_XFORM_MODE'],_0x15585b,_0x335e3a);},'init':function(_0x28cc5a,_0x535f91,_0x3d0e06){var _0x205ca6=_0x3e7ac3;this[_0x205ca6(0x280)]=this[_0x205ca6(0x280)][_0x205ca6(0x1fa)](_0x3d0e06),this['_xformMode']=_0x28cc5a,this['_key']=_0x535f91,this[_0x205ca6(0x3c3)]();},'reset':function(){var _0xf435b2=_0x3e7ac3;_0x6006fe[_0xf435b2(0x3c3)]['call'](this),this['_doReset']();},'process':function(_0x4f0339){return this['_append'](_0x4f0339),this['_process']();},'finalize':function(_0x56deb8){var _0x27f0fa=_0x3e7ac3;_0x56deb8&&this[_0x27f0fa(0x254)](_0x56deb8);var _0x5905b5=this[_0x27f0fa(0x39d)]();return _0x5905b5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x152aaa(_0x483813){var _0x1a0351=_0x30c3;return typeof _0x483813==_0x1a0351(0x3e0)?_0x3de0c2:_0x38206e;}return function(_0x493ed8){return{'encrypt':function(_0x18a168,_0xd52bf,_0x361843){return _0x152aaa(_0xd52bf)['encrypt'](_0x493ed8,_0x18a168,_0xd52bf,_0x361843);},'decrypt':function(_0x777f5,_0x5c1dd2,_0x26327c){return _0x152aaa(_0x5c1dd2)['decrypt'](_0x493ed8,_0x777f5,_0x5c1dd2,_0x26327c);}};};}())});_0x952988[_0x3e7ac3(0x34f)]=_0xb3363e['extend']({'_doFinalize':function(){var _0x252215=_0x3e7ac3,_0x41e525=this[_0x252215(0x2b6)](!0x0);return _0x41e525;},'blockSize':0x1});var _0x42759f=_0xd6c5ea[_0x3e7ac3(0x2aa)]={},_0x383f3d=_0x952988['BlockCipherMode']=_0x35db50[_0x3e7ac3(0x1fa)]({'createEncryptor':function(_0x3d61b8,_0x51c171){var _0x2c00f2=_0x3e7ac3;return this[_0x2c00f2(0x1a5)][_0x2c00f2(0x1ea)](_0x3d61b8,_0x51c171);},'createDecryptor':function(_0x27ace5,_0x5c8a6e){return this['Decryptor']['create'](_0x27ace5,_0x5c8a6e);},'init':function(_0x735cb5,_0x392c30){var _0x5d0e23=_0x3e7ac3;this[_0x5d0e23(0x2d7)]=_0x735cb5,this['_iv']=_0x392c30;}}),_0x149dad=_0x42759f[_0x3e7ac3(0x3aa)]=(function(){var _0x3079f2=_0x3e7ac3,_0x241024=_0x383f3d['extend']();_0x241024[_0x3079f2(0x1a5)]=_0x241024['extend']({'processBlock':function(_0x4995cb,_0x5cee44){var _0xd8342f=_0x3079f2,_0x10d728=this[_0xd8342f(0x2d7)],_0x16d6f6=_0x10d728[_0xd8342f(0x3d7)];_0x56fbca[_0xd8342f(0x209)](this,_0x4995cb,_0x5cee44,_0x16d6f6),_0x10d728[_0xd8342f(0x351)](_0x4995cb,_0x5cee44),this[_0xd8342f(0x16b)]=_0x4995cb[_0xd8342f(0x1b1)](_0x5cee44,_0x5cee44+_0x16d6f6);}}),_0x241024['Decryptor']=_0x241024[_0x3079f2(0x1fa)]({'processBlock':function(_0xbd2d80,_0x548a6a){var _0x33ae97=_0x3079f2,_0x4d82b5=this['_cipher'],_0x35af6e=_0x4d82b5[_0x33ae97(0x3d7)],_0x33ecf6=_0xbd2d80[_0x33ae97(0x1b1)](_0x548a6a,_0x548a6a+_0x35af6e);_0x4d82b5[_0x33ae97(0x24d)](_0xbd2d80,_0x548a6a),_0x56fbca[_0x33ae97(0x209)](this,_0xbd2d80,_0x548a6a,_0x35af6e),this[_0x33ae97(0x16b)]=_0x33ecf6;}});function _0x56fbca(_0x58bf40,_0x50cc35,_0x5d1ba0){var _0x1b3b32=_0x3079f2,_0x4f0549,_0x46b9bb=this[_0x1b3b32(0x220)];_0x46b9bb?(_0x4f0549=_0x46b9bb,this['_iv']=_0x350d2d):_0x4f0549=this[_0x1b3b32(0x16b)];for(var _0x2fbab5=0x0;_0x2fbab5<_0x5d1ba0;_0x2fbab5++)_0x58bf40[_0x50cc35+_0x2fbab5]^=_0x4f0549[_0x2fbab5];}return _0x241024;}()),_0x3f9f59=_0xd6c5ea[_0x3e7ac3(0x396)]={},_0x458dd1=_0x3f9f59[_0x3e7ac3(0x42a)]={'pad':function(_0x48537c,_0x3baea8){var _0x48eb01=_0x3e7ac3;for(var _0x1f5bf2=_0x3baea8*0x4,_0x2154dc=_0x1f5bf2-_0x48537c['sigBytes']%_0x1f5bf2,_0x4f834f=_0x2154dc<<0x18|_0x2154dc<<0x10|_0x2154dc<<0x8|_0x2154dc,_0xdae7d3=[],_0x59c30f=0x0;_0x59c30f<_0x2154dc;_0x59c30f+=0x4)_0xdae7d3[_0x48eb01(0x1d7)](_0x4f834f);var _0x200f36=_0x5b4dc8['create'](_0xdae7d3,_0x2154dc);_0x48537c['concat'](_0x200f36);},'unpad':function(_0x28e2ed){var _0x38f989=_0x3e7ac3,_0x5595a8=_0x28e2ed[_0x38f989(0x164)][_0x28e2ed[_0x38f989(0x2be)]-0x1>>>0x2]&0xff;_0x28e2ed['sigBytes']-=_0x5595a8;}};_0x952988[_0x3e7ac3(0x3b8)]=_0xb3363e['extend']({'cfg':_0xb3363e[_0x3e7ac3(0x280)]['extend']({'mode':_0x149dad,'padding':_0x458dd1}),'reset':function(){var _0x1659e5=_0x3e7ac3,_0x3b6c36;_0xb3363e[_0x1659e5(0x3c3)][_0x1659e5(0x209)](this);var _0xcbe973=this[_0x1659e5(0x280)],_0xa08b93=_0xcbe973['iv'],_0x58d6ca=_0xcbe973['mode'];this[_0x1659e5(0x316)]==this[_0x1659e5(0x171)]?_0x3b6c36=_0x58d6ca['createEncryptor']:(_0x3b6c36=_0x58d6ca[_0x1659e5(0x368)],this['_minBufferSize']=0x1),this[_0x1659e5(0x441)]&&this[_0x1659e5(0x441)][_0x1659e5(0x2d4)]==_0x3b6c36?this[_0x1659e5(0x441)]['init'](this,_0xa08b93&&_0xa08b93['words']):(this[_0x1659e5(0x441)]=_0x3b6c36[_0x1659e5(0x209)](_0x58d6ca,this,_0xa08b93&&_0xa08b93['words']),this[_0x1659e5(0x441)]['__creator']=_0x3b6c36);},'_doProcessBlock':function(_0x2e0c7a,_0xf20e27){var _0x5e64f3=_0x3e7ac3;this[_0x5e64f3(0x441)][_0x5e64f3(0x2cd)](_0x2e0c7a,_0xf20e27);},'_doFinalize':function(){var _0x81c40d=_0x3e7ac3,_0x51839f,_0x4de858=this[_0x81c40d(0x280)][_0x81c40d(0x303)];return this['_xformMode']==this[_0x81c40d(0x171)]?(_0x4de858[_0x81c40d(0x396)](this[_0x81c40d(0x267)],this[_0x81c40d(0x3d7)]),_0x51839f=this[_0x81c40d(0x2b6)](!0x0)):(_0x51839f=this[_0x81c40d(0x2b6)](!0x0),_0x4de858[_0x81c40d(0x319)](_0x51839f)),_0x51839f;},'blockSize':0x80/0x20});var _0x386fd7=_0x952988[_0x3e7ac3(0x24f)]=_0x35db50['extend']({'init':function(_0x13a2cc){var _0x125de0=_0x3e7ac3;this[_0x125de0(0x3b9)](_0x13a2cc);},'toString':function(_0x523bbb){var _0x1fcc85=_0x3e7ac3;return(_0x523bbb||this['formatter'])[_0x1fcc85(0x3ea)](this);}}),_0x14bdf5=_0xd6c5ea['format']={},_0x23f619=_0x14bdf5[_0x3e7ac3(0x246)]={'stringify':function(_0x305467){var _0x3f040e=_0x3e7ac3,_0x3d84a9,_0x2337cb=_0x305467[_0x3f040e(0x2d5)],_0x1eebbe=_0x305467[_0x3f040e(0x43c)];return _0x1eebbe?_0x3d84a9=_0x5b4dc8['create']([0x53616c74,0x65645f5f])[_0x3f040e(0x397)](_0x1eebbe)['concat'](_0x2337cb):_0x3d84a9=_0x2337cb,_0x3d84a9[_0x3f040e(0x416)](_0x59859a);},'parse':function(_0x185e62){var _0x5459c5=_0x3e7ac3,_0x1fd4c7,_0x51a764=_0x59859a[_0x5459c5(0x228)](_0x185e62),_0x4bd153=_0x51a764[_0x5459c5(0x164)];return _0x4bd153[0x0]==0x53616c74&&_0x4bd153[0x1]==0x65645f5f&&(_0x1fd4c7=_0x5b4dc8[_0x5459c5(0x1ea)](_0x4bd153[_0x5459c5(0x1b1)](0x2,0x4)),_0x4bd153[_0x5459c5(0x387)](0x0,0x4),_0x51a764[_0x5459c5(0x2be)]-=0x10),_0x386fd7['create']({'ciphertext':_0x51a764,'salt':_0x1fd4c7});}},_0x38206e=_0x952988['SerializableCipher']=_0x35db50[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)]({'format':_0x23f619}),'encrypt':function(_0x1edc93,_0x161c74,_0x42c8a9,_0x533c3b){var _0x8389ed=_0x3e7ac3;_0x533c3b=this['cfg']['extend'](_0x533c3b);var _0xe0a9b8=_0x1edc93[_0x8389ed(0x43f)](_0x42c8a9,_0x533c3b),_0x2b645d=_0xe0a9b8[_0x8389ed(0x19a)](_0x161c74),_0x169bcc=_0xe0a9b8[_0x8389ed(0x280)];return _0x386fd7[_0x8389ed(0x1ea)]({'ciphertext':_0x2b645d,'key':_0x42c8a9,'iv':_0x169bcc['iv'],'algorithm':_0x1edc93,'mode':_0x169bcc[_0x8389ed(0x2aa)],'padding':_0x169bcc[_0x8389ed(0x303)],'blockSize':_0x1edc93[_0x8389ed(0x3d7)],'formatter':_0x533c3b[_0x8389ed(0x432)]});},'decrypt':function(_0x1f2df6,_0x3febb4,_0x576575,_0x57bd7c){var _0x155c4e=_0x3e7ac3;_0x57bd7c=this[_0x155c4e(0x280)]['extend'](_0x57bd7c),_0x3febb4=this[_0x155c4e(0x413)](_0x3febb4,_0x57bd7c[_0x155c4e(0x432)]);var _0x1a0bf3=_0x1f2df6[_0x155c4e(0x368)](_0x576575,_0x57bd7c)[_0x155c4e(0x19a)](_0x3febb4[_0x155c4e(0x2d5)]);return _0x1a0bf3;},'_parse':function(_0x42b74e,_0x12667c){var _0x493974=_0x3e7ac3;return typeof _0x42b74e==_0x493974(0x3e0)?_0x12667c[_0x493974(0x228)](_0x42b74e,this):_0x42b74e;}}),_0x479690=_0xd6c5ea[_0x3e7ac3(0x38d)]={},_0x41bae4=_0x479690[_0x3e7ac3(0x246)]={'execute':function(_0x4ae0a8,_0x18f940,_0xf01f04,_0x152f05,_0x83c78a){var _0xb61f13=_0x3e7ac3;if(_0x152f05||(_0x152f05=_0x5b4dc8[_0xb61f13(0x32f)](0x40/0x8)),_0x83c78a)var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04,'hasher':_0x83c78a})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);else var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);var _0x14b93b=_0x5b4dc8[_0xb61f13(0x1ea)](_0x51d770[_0xb61f13(0x164)][_0xb61f13(0x1b1)](_0x18f940),_0xf01f04*0x4);return _0x51d770[_0xb61f13(0x2be)]=_0x18f940*0x4,_0x386fd7[_0xb61f13(0x1ea)]({'key':_0x51d770,'iv':_0x14b93b,'salt':_0x152f05});}},_0x3de0c2=_0x952988['PasswordBasedCipher']=_0x38206e[_0x3e7ac3(0x1fa)]({'cfg':_0x38206e[_0x3e7ac3(0x280)]['extend']({'kdf':_0x41bae4}),'encrypt':function(_0x448ebc,_0x55608e,_0x86af25,_0x5bb4b2){var _0x3dab1d=_0x3e7ac3;_0x5bb4b2=this[_0x3dab1d(0x280)][_0x3dab1d(0x1fa)](_0x5bb4b2);var _0x218739=_0x5bb4b2[_0x3dab1d(0x38d)][_0x3dab1d(0x17a)](_0x86af25,_0x448ebc['keySize'],_0x448ebc[_0x3dab1d(0x232)],_0x5bb4b2[_0x3dab1d(0x43c)],_0x5bb4b2[_0x3dab1d(0x42b)]);_0x5bb4b2['iv']=_0x218739['iv'];var _0x256949=_0x38206e[_0x3dab1d(0x1c1)][_0x3dab1d(0x209)](this,_0x448ebc,_0x55608e,_0x218739[_0x3dab1d(0x275)],_0x5bb4b2);return _0x256949[_0x3dab1d(0x3b9)](_0x218739),_0x256949;},'decrypt':function(_0x2015cd,_0x2adcf0,_0x51877a,_0x433006){var _0x349fa1=_0x3e7ac3;_0x433006=this[_0x349fa1(0x280)][_0x349fa1(0x1fa)](_0x433006),_0x2adcf0=this[_0x349fa1(0x413)](_0x2adcf0,_0x433006[_0x349fa1(0x432)]);var _0x37628e=_0x433006[_0x349fa1(0x38d)]['execute'](_0x51877a,_0x2015cd['keySize'],_0x2015cd[_0x349fa1(0x232)],_0x2adcf0['salt'],_0x433006[_0x349fa1(0x42b)]);_0x433006['iv']=_0x37628e['iv'];var _0x2f20a5=_0x38206e[_0x349fa1(0x1cf)][_0x349fa1(0x209)](this,_0x2015cd,_0x2adcf0,_0x37628e[_0x349fa1(0x275)],_0x433006);return _0x2f20a5;}});}();}));}(Je)),Je[_0x4ff1cb(0x294)];}var Vr=Ve[_0x57ea30(0x294)],si;function Gr(){var _0x522583=_0x57ea30;return si||(si=0x1,function(_0x1d5cbe,_0x34059e){(function(_0xe95eee,_0x28cf7a,_0x5be5ee){var _0x415059=_0x30c3;_0x1d5cbe[_0x415059(0x294)]=_0x28cf7a(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x48a192){var _0x55d263=_0x30c3;return(function(){var _0x5eb22c=_0x30c3,_0x37fa4b=_0x48a192,_0x18620a=_0x37fa4b[_0x5eb22c(0x1f4)],_0x227fb3=_0x18620a[_0x5eb22c(0x3b8)],_0x5652b2=_0x37fa4b[_0x5eb22c(0x174)],_0x1d8196=[],_0x176665=[],_0xed3c80=[],_0x3c44f7=[],_0x260e08=[],_0x6e6208=[],_0x2d80fb=[],_0x4c808c=[],_0x2972b3=[],_0x3ccac2=[];(function(){for(var _0x586e15=[],_0x382741=0x0;_0x382741<0x100;_0x382741++)_0x382741<0x80?_0x586e15[_0x382741]=_0x382741<<0x1:_0x586e15[_0x382741]=_0x382741<<0x1^0x11b;for(var _0x1a91c8=0x0,_0x26398d=0x0,_0x382741=0x0;_0x382741<0x100;_0x382741++){var _0x3d3000=_0x26398d^_0x26398d<<0x1^_0x26398d<<0x2^_0x26398d<<0x3^_0x26398d<<0x4;_0x3d3000=_0x3d3000>>>0x8^_0x3d3000&0xff^0x63,_0x1d8196[_0x1a91c8]=_0x3d3000,_0x176665[_0x3d3000]=_0x1a91c8;var _0x2cbac4=_0x586e15[_0x1a91c8],_0x5572c1=_0x586e15[_0x2cbac4],_0x504dfa=_0x586e15[_0x5572c1],_0x340df7=_0x586e15[_0x3d3000]*0x101^_0x3d3000*0x1010100;_0xed3c80[_0x1a91c8]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x3c44f7[_0x1a91c8]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x260e08[_0x1a91c8]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x6e6208[_0x1a91c8]=_0x340df7;var _0x340df7=_0x504dfa*0x1010101^_0x5572c1*0x10001^_0x2cbac4*0x101^_0x1a91c8*0x1010100;_0x2d80fb[_0x3d3000]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x4c808c[_0x3d3000]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x2972b3[_0x3d3000]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x3ccac2[_0x3d3000]=_0x340df7,_0x1a91c8?(_0x1a91c8=_0x2cbac4^_0x586e15[_0x586e15[_0x586e15[_0x504dfa^_0x2cbac4]]],_0x26398d^=_0x586e15[_0x586e15[_0x26398d]]):_0x1a91c8=_0x26398d=0x1;}}());var _0x10470d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xf76294=_0x5652b2['AES']=_0x227fb3[_0x5eb22c(0x1fa)]({'_doReset':function(){var _0xf439a6=_0x5eb22c,_0x361d0a;if(!(this[_0xf439a6(0x245)]&&this[_0xf439a6(0x325)]===this[_0xf439a6(0x27b)])){for(var _0x3bb19c=this[_0xf439a6(0x325)]=this[_0xf439a6(0x27b)],_0x278e7f=_0x3bb19c[_0xf439a6(0x164)],_0x330621=_0x3bb19c[_0xf439a6(0x2be)]/0x4,_0x35cf97=this[_0xf439a6(0x245)]=_0x330621+0x6,_0x2fe6d6=(_0x35cf97+0x1)*0x4,_0x540594=this[_0xf439a6(0x21b)]=[],_0x463977=0x0;_0x463977<_0x2fe6d6;_0x463977++)_0x463977<_0x330621?_0x540594[_0x463977]=_0x278e7f[_0x463977]:(_0x361d0a=_0x540594[_0x463977-0x1],_0x463977%_0x330621?_0x330621>0x6&&_0x463977%_0x330621==0x4&&(_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff]):(_0x361d0a=_0x361d0a<<0x8|_0x361d0a>>>0x18,_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff],_0x361d0a^=_0x10470d[_0x463977/_0x330621|0x0]<<0x18),_0x540594[_0x463977]=_0x540594[_0x463977-_0x330621]^_0x361d0a);for(var _0x2f5078=this[_0xf439a6(0x3db)]=[],_0x1ee2be=0x0;_0x1ee2be<_0x2fe6d6;_0x1ee2be++){var _0x463977=_0x2fe6d6-_0x1ee2be;if(_0x1ee2be%0x4)var _0x361d0a=_0x540594[_0x463977];else var _0x361d0a=_0x540594[_0x463977-0x4];_0x1ee2be<0x4||_0x463977<=0x4?_0x2f5078[_0x1ee2be]=_0x361d0a:_0x2f5078[_0x1ee2be]=_0x2d80fb[_0x1d8196[_0x361d0a>>>0x18]]^_0x4c808c[_0x1d8196[_0x361d0a>>>0x10&0xff]]^_0x2972b3[_0x1d8196[_0x361d0a>>>0x8&0xff]]^_0x3ccac2[_0x1d8196[_0x361d0a&0xff]];}}},'encryptBlock':function(_0x21c274,_0x2b5f5e){var _0x52c4ba=_0x5eb22c;this['_doCryptBlock'](_0x21c274,_0x2b5f5e,this[_0x52c4ba(0x21b)],_0xed3c80,_0x3c44f7,_0x260e08,_0x6e6208,_0x1d8196);},'decryptBlock':function(_0x3ca4f4,_0x541ea1){var _0x26d164=_0x5eb22c,_0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1,this[_0x26d164(0x2eb)](_0x3ca4f4,_0x541ea1,this[_0x26d164(0x3db)],_0x2d80fb,_0x4c808c,_0x2972b3,_0x3ccac2,_0x176665);var _0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1;},'_doCryptBlock':function(_0x3751e5,_0x5e76ac,_0x5bd5c3,_0x287eef,_0x5bd8ee,_0x5c56fc,_0x31d1a4,_0x34cf63){var _0x33ec3d=_0x5eb22c;for(var _0x5d383a=this[_0x33ec3d(0x245)],_0x556323=_0x3751e5[_0x5e76ac]^_0x5bd5c3[0x0],_0x87e227=_0x3751e5[_0x5e76ac+0x1]^_0x5bd5c3[0x1],_0x3ceb9b=_0x3751e5[_0x5e76ac+0x2]^_0x5bd5c3[0x2],_0x5c26ee=_0x3751e5[_0x5e76ac+0x3]^_0x5bd5c3[0x3],_0x360a82=0x4,_0x4ff944=0x1;_0x4ff944<_0x5d383a;_0x4ff944++){var _0x514fd2=_0x287eef[_0x556323>>>0x18]^_0x5bd8ee[_0x87e227>>>0x10&0xff]^_0x5c56fc[_0x3ceb9b>>>0x8&0xff]^_0x31d1a4[_0x5c26ee&0xff]^_0x5bd5c3[_0x360a82++],_0xae1874=_0x287eef[_0x87e227>>>0x18]^_0x5bd8ee[_0x3ceb9b>>>0x10&0xff]^_0x5c56fc[_0x5c26ee>>>0x8&0xff]^_0x31d1a4[_0x556323&0xff]^_0x5bd5c3[_0x360a82++],_0x12604e=_0x287eef[_0x3ceb9b>>>0x18]^_0x5bd8ee[_0x5c26ee>>>0x10&0xff]^_0x5c56fc[_0x556323>>>0x8&0xff]^_0x31d1a4[_0x87e227&0xff]^_0x5bd5c3[_0x360a82++],_0x524db2=_0x287eef[_0x5c26ee>>>0x18]^_0x5bd8ee[_0x556323>>>0x10&0xff]^_0x5c56fc[_0x87e227>>>0x8&0xff]^_0x31d1a4[_0x3ceb9b&0xff]^_0x5bd5c3[_0x360a82++];_0x556323=_0x514fd2,_0x87e227=_0xae1874,_0x3ceb9b=_0x12604e,_0x5c26ee=_0x524db2;}var _0x514fd2=(_0x34cf63[_0x556323>>>0x18]<<0x18|_0x34cf63[_0x87e227>>>0x10&0xff]<<0x10|_0x34cf63[_0x3ceb9b>>>0x8&0xff]<<0x8|_0x34cf63[_0x5c26ee&0xff])^_0x5bd5c3[_0x360a82++],_0xae1874=(_0x34cf63[_0x87e227>>>0x18]<<0x18|_0x34cf63[_0x3ceb9b>>>0x10&0xff]<<0x10|_0x34cf63[_0x5c26ee>>>0x8&0xff]<<0x8|_0x34cf63[_0x556323&0xff])^_0x5bd5c3[_0x360a82++],_0x12604e=(_0x34cf63[_0x3ceb9b>>>0x18]<<0x18|_0x34cf63[_0x5c26ee>>>0x10&0xff]<<0x10|_0x34cf63[_0x556323>>>0x8&0xff]<<0x8|_0x34cf63[_0x87e227&0xff])^_0x5bd5c3[_0x360a82++],_0x524db2=(_0x34cf63[_0x5c26ee>>>0x18]<<0x18|_0x34cf63[_0x556323>>>0x10&0xff]<<0x10|_0x34cf63[_0x87e227>>>0x8&0xff]<<0x8|_0x34cf63[_0x3ceb9b&0xff])^_0x5bd5c3[_0x360a82++];_0x3751e5[_0x5e76ac]=_0x514fd2,_0x3751e5[_0x5e76ac+0x1]=_0xae1874,_0x3751e5[_0x5e76ac+0x2]=_0x12604e,_0x3751e5[_0x5e76ac+0x3]=_0x524db2;},'keySize':0x100/0x20});_0x37fa4b['AES']=_0x227fb3[_0x5eb22c(0x40a)](_0xf76294);}()),_0x48a192[_0x55d263(0x390)];}));}(Ve)),Ve[_0x522583(0x294)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x57ea30(0x294)],ai;function zr(){var _0x4090da=_0x57ea30;return ai||(ai=0x1,function(_0x2df0a3,_0x1f3996){(function(_0x4aa056,_0x42badf){var _0x50d0f8=_0x30c3;_0x2df0a3[_0x50d0f8(0x294)]=_0x42badf(ne());}(qr,function(_0xcaa399){var _0x85d15c=_0x30c3;return _0xcaa399[_0x85d15c(0x374)][_0x85d15c(0x3d0)];}));}(Xe)),Xe[_0x4090da(0x294)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x35be6b=_0x57ea30;return ci||(ci=0x1,function(_0x4c873a,_0x5cb069){(function(_0x4081f5,_0x337ca5){var _0x3a145c=_0x30c3;_0x4c873a[_0x3a145c(0x294)]=_0x337ca5(ne());}(Zr,function(_0x18a038){var _0x11451a=_0x30c3;return(function(){var _0x447ffe=_0x30c3;if(typeof ArrayBuffer==_0x447ffe(0x2d6)){var _0x1624ff=_0x18a038,_0x46f88c=_0x1624ff[_0x447ffe(0x1f4)],_0x4fca5d=_0x46f88c[_0x447ffe(0x2c3)],_0x373894=_0x4fca5d[_0x447ffe(0x1b3)],_0x960acd=_0x4fca5d['init']=function(_0x414107){var _0x486e75=_0x447ffe;if(_0x414107 instanceof ArrayBuffer&&(_0x414107=new Uint8Array(_0x414107)),(_0x414107 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x414107 instanceof Uint8ClampedArray||_0x414107 instanceof Int16Array||_0x414107 instanceof Uint16Array||_0x414107 instanceof Int32Array||_0x414107 instanceof Uint32Array||_0x414107 instanceof Float32Array||_0x414107 instanceof Float64Array)&&(_0x414107=new Uint8Array(_0x414107[_0x486e75(0x43d)],_0x414107[_0x486e75(0x1d5)],_0x414107[_0x486e75(0x1cb)])),_0x414107 instanceof Uint8Array){for(var _0x670779=_0x414107[_0x486e75(0x1cb)],_0x578cb6=[],_0x14cc78=0x0;_0x14cc78<_0x670779;_0x14cc78++)_0x578cb6[_0x14cc78>>>0x2]|=_0x414107[_0x14cc78]<<0x18-_0x14cc78%0x4*0x8;_0x373894[_0x486e75(0x209)](this,_0x578cb6,_0x670779);}else _0x373894['apply'](this,arguments);};_0x960acd[_0x447ffe(0x33d)]=_0x4fca5d;}}()),_0x18a038[_0x11451a(0x1f4)][_0x11451a(0x2c3)];}));}(Ze)),Ze[_0x35be6b(0x294)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x57ea30(0x294)],hi;function ns(){var _0x7ed198=_0x57ea30;return hi||(hi=0x1,function(_0x5cabce,_0x7b440e){(function(_0x37927a,_0x3b22b1,_0x53be73){var _0x57bd4d=_0x30c3;_0x5cabce[_0x57bd4d(0x294)]=_0x3b22b1(ne(),Ai());}(is,function(_0x20bc0e){var _0x3fa20a=_0x30c3;return _0x20bc0e[_0x3fa20a(0x396)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x20bc0e[_0x3fa20a(0x396)][_0x3fa20a(0x21f)];}));}(Qe)),Qe[_0x7ed198(0x294)];}var rs=ns();const ss=ke(rs);function os(_0x3e57ad,_0x201861){var _0x11c2de=_0x57ea30;const _0x1931dc=_0x201861-_0x3e57ad[_0x11c2de(0x1d3)]%_0x201861,_0x3150f8=String[_0x11c2de(0x187)](_0x1931dc)[_0x11c2de(0x378)](_0x1931dc);return _0x3e57ad+_0x3150f8;}function as(_0x25c005,_0x54bde7){var _0xc15db=_0x57ea30;const _0x10f795=ts[_0xc15db(0x32f)](0x10),_0x581b1f=os(_0x25c005,0x10),_0x32cc0f=Kr[_0xc15db(0x1c1)](Xr[_0xc15db(0x228)](_0x581b1f),oi[_0xc15db(0x228)](_0x54bde7),{'iv':_0x10f795,'padding':ss});return _0x10f795['concat'](_0x32cc0f[_0xc15db(0x2d5)])['toString'](oi);}function cs(){var _0x5c8aab=_0x57ea30;const _0x1a2520=_0x27997a()[_0x5c8aab(0x170)];if(_0x1a2520){const _0x561ab1={'time':Math[_0x5c8aab(0x1f9)](Date['now']()/0x3e8),'domain':location[_0x5c8aab(0x163)]};return as(JSON[_0x5c8aab(0x3ea)](_0x561ab1),_0x1a2520);}}var hs=Object[_0x57ea30(0x2ab)],_s=Object[_0x57ea30(0x457)],ls=(_0x2ceb30,_0x4b0a83,_0x411066,_0x92e341)=>{var _0x38d1d7=_0x57ea30;for(var _0xa67bc=_0x92e341>0x1?void 0x0:_0x92e341?_s(_0x4b0a83,_0x411066):_0x4b0a83,_0x3f1ecb=_0x2ceb30[_0x38d1d7(0x1d3)]-0x1,_0x477b6d;_0x3f1ecb>=0x0;_0x3f1ecb--)(_0x477b6d=_0x2ceb30[_0x3f1ecb])&&(_0xa67bc=(_0x92e341?_0x477b6d(_0x4b0a83,_0x411066,_0xa67bc):_0x477b6d(_0xa67bc))||_0xa67bc);return _0x92e341&&_0xa67bc&&hs(_0x4b0a83,_0x411066,_0xa67bc),_0xa67bc;},us=(_0x15ef62,_0x1e472a)=>(_0x10d898,_0x443f36)=>_0x1e472a(_0x10d898,_0x443f36,_0x15ef62);let ot=class{constructor(_0x36ec2a){var _0xdda260=_0x57ea30;this[_0xdda260(0x2ec)]=_0x36ec2a,this['_initRequestHeader']();}[_0x57ea30(0x1fd)](){var _0x375a80=_0x57ea30;this['_httpService'][_0x375a80(0x18f)]({'interceptor':(_0xd36374,_0x21b74b)=>{var _0x3e5edb=_0x375a80;const _0x167896=_0xd36374[_0x3e5edb(0x444)],_0x3da07f=cs();return _0x3da07f&&_0x167896[_0x3e5edb(0x44b)](_0x3e5edb(0x313),_0x3da07f),_0x21b74b(_0xd36374);}});}};ot=ls([us(0x0,_0x121c70(_0x457bbb))],ot);var ds=Object[_0x57ea30(0x2ab)],fs=Object[_0x57ea30(0x457)],vs=(_0x1abc06,_0x1f810c,_0x390d37,_0x1994a9)=>{for(var _0x260705=_0x1994a9>0x1?void 0x0:_0x1994a9?fs(_0x1f810c,_0x390d37):_0x1f810c,_0x2a7bc1=_0x1abc06['length']-0x1,_0x17305e;_0x2a7bc1>=0x0;_0x2a7bc1--)(_0x17305e=_0x1abc06[_0x2a7bc1])&&(_0x260705=(_0x1994a9?_0x17305e(_0x1f810c,_0x390d37,_0x260705):_0x17305e(_0x260705))||_0x260705);return _0x1994a9&&_0x260705&&ds(_0x1f810c,_0x390d37,_0x260705),_0x260705;},mt=(_0x52c57a,_0x12d007)=>(_0x2e3847,_0x3393bd)=>_0x12d007(_0x2e3847,_0x3393bd,_0x52c57a);let Ot=class extends _0x577131{constructor(_0x655f53,_0x40c5c5,_0xf05122){var _0x3c3f4b=_0x57ea30;super(),N(this,_0x3c3f4b(0x43a),new _0x21aea0(null)),N(this,_0x3c3f4b(0x2ae),this[_0x3c3f4b(0x43a)][_0x3c3f4b(0x271)]()),(this[_0x3c3f4b(0x26f)]=_0x655f53,this[_0x3c3f4b(0x38a)]=_0x40c5c5,this[_0x3c3f4b(0x42d)]=_0xf05122);}async[_0x57ea30(0x411)](_0x474ec3,_0x4e71d1,_0x249b95){var _0xc6d8b7=_0x57ea30;this['_unitInfo$'][_0xc6d8b7(0x205)]({'unitId':_0x474ec3,'type':_0x4e71d1,'subUnitId':_0x249b95});let _0x31c129=null;switch(_0x4e71d1){case Q[_0xc6d8b7(0x2d1)]:{_0x31c129=await this[_0xc6d8b7(0x34b)](_0x474ec3);break;}case Q[_0xc6d8b7(0x44d)]:{_0x31c129=await this[_0xc6d8b7(0x338)](_0x474ec3);break;}default:{this[_0xc6d8b7(0x26f)]['error'](_0xc6d8b7(0x352),_0xc6d8b7(0x42f));break;}}return _0x31c129;}async[_0x57ea30(0x34b)](_0x2bc8af){var _0x1ac279=_0x57ea30,_0x53370e;let _0x3fb610=0x0;const _0x31e39f=await((_0x53370e=this[_0x1ac279(0x42d)])==null?void 0x0:_0x53370e[_0x1ac279(0x323)](_0x2bc8af));return _0x31e39f&&(_0x31e39f[_0x1ac279(0x366)]||_0x31e39f[_0x1ac279(0x409)][_0x1ac279(0x1d3)]!==0x0)&&(_0x3fb610=_0x31e39f['rev']),_0x3fb610===0x0&&this[_0x1ac279(0x26f)]['debug'](_0x1ac279(0x352),_0x1ac279(0x3b7)),this[_0x1ac279(0x38a)][_0x1ac279(0x3e3)](_0x2bc8af,_0x3fb610);}async['_loadDoc'](_0x1c96c5){var _0x3dd5fc=_0x57ea30,_0x2ef512;let _0x3da2b6=0x0;const _0x4ba457=await((_0x2ef512=this['_localCacheService'])==null?void 0x0:_0x2ef512[_0x3dd5fc(0x323)](_0x1c96c5));return _0x4ba457&&(_0x4ba457['awaitingChangeset']||_0x4ba457[_0x3dd5fc(0x409)][_0x3dd5fc(0x1d3)]!==0x0)&&(_0x3da2b6=_0x4ba457['rev']),_0x3da2b6===0x0&&this[_0x3dd5fc(0x26f)][_0x3dd5fc(0x243)](_0x3dd5fc(0x352),_0x3dd5fc(0x3b7)),this['_snapshotService'][_0x3dd5fc(0x431)](_0x1c96c5,_0x3da2b6);}};Ot=vs([mt(0x0,_0x410aea),mt(0x1,_0x121c70(_0x2a96f5)),mt(0x2,_0x1d8841(J))],Ot);var ps=Object[_0x57ea30(0x2ab)],ms=Object[_0x57ea30(0x457)],gs=(_0xbb5666,_0x33d763,_0x1a4287,_0x3493cf)=>{var _0x10a924=_0x57ea30;for(var _0x20617f=_0x3493cf>0x1?void 0x0:_0x3493cf?ms(_0x33d763,_0x1a4287):_0x33d763,_0x367872=_0xbb5666[_0x10a924(0x1d3)]-0x1,_0x4820e8;_0x367872>=0x0;_0x367872--)(_0x4820e8=_0xbb5666[_0x367872])&&(_0x20617f=(_0x3493cf?_0x4820e8(_0x33d763,_0x1a4287,_0x20617f):_0x4820e8(_0x20617f))||_0x20617f);return _0x3493cf&&_0x20617f&&ps(_0x33d763,_0x1a4287,_0x20617f),_0x20617f;},gt=(_0x5ad240,_0x4a6f29)=>(_0x3e03e4,_0x2c6110)=>_0x4a6f29(_0x3e03e4,_0x2c6110,_0x5ad240);const Ss=[_0x57ea30(0x3de),_0x57ea30(0x332),_0x57ea30(0x3a2),_0x57ea30(0x16e),_0x57ea30(0x242)],Es=0x5*0x400*0x400,Is=_0x57ea30(0x3c5),Ts=_0x57ea30(0x2f0),Cs=_0x57ea30(0x1ff),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x314128,_0x1d9275,_0x56e20a){var _0xec4ccf=_0x57ea30;N(this,'_waitCount',0x0),N(this,_0xec4ccf(0x326),new _0x378d79()),N(this,_0xec4ccf(0x2c5),this[_0xec4ccf(0x326)]),N(this,_0xec4ccf(0x360),new Map()),(this['_httpService']=_0x314128,this[_0xec4ccf(0x276)]=_0x1d9275,this[_0xec4ccf(0x46f)]=_0x56e20a);}[_0x57ea30(0x23c)](_0x2054f5){var _0x51c7b8=_0x57ea30;this[_0x51c7b8(0x20e)]=_0x2054f5,this[_0x51c7b8(0x326)]['next'](_0x2054f5);}[_0x57ea30(0x454)](_0x56d71b,_0xfaf81){var _0x3a2a48=_0x57ea30;if(_0xfaf81===_0x3aee31['BASE64']){const _0x2af99e=new Image();return _0x2af99e[_0x3a2a48(0x37d)]=_0x56d71b,_0x2af99e;}return this[_0x3a2a48(0x360)]['get'](_0x56d71b);}[_0x57ea30(0x2fc)](_0x518858,_0x3f8ba0,_0x48ad81){var _0x4ddbf5=_0x57ea30;_0x3f8ba0===_0x3aee31['BASE64']||_0x48ad81==null||this[_0x4ddbf5(0x360)][_0x4ddbf5(0x44b)](_0x518858,_0x48ad81);}async[_0x57ea30(0x15f)](_0x2a895b){var _0x3e2b1b=_0x57ea30;try{const _0xa9e620=this[_0x3e2b1b(0x44a)](this[_0x3e2b1b(0x3ca)](),''+_0x2a895b),_0x4ce792=(await this[_0x3e2b1b(0x2ec)][_0x3e2b1b(0x17b)](_0xa9e620))[_0x3e2b1b(0x3d6)];if(_0x4ce792[_0x3e2b1b(0x24b)]&&_0x4ce792[_0x3e2b1b(0x24b)]['code']===Ii['OK']){const _0x35f490=new URL(_0x4ce792['url'],this[_0x3e2b1b(0x3e4)]())['toString']();return Promise[_0x3e2b1b(0x1c9)](_0x35f490);}return Promise['reject'](_0x4ce792['error']);}catch(_0xc1677d){return Promise[_0x3e2b1b(0x2ed)](_0xc1677d);}}async[_0x57ea30(0x173)](_0x211fa0){var _0x4383f9=_0x57ea30;let _0x236ada='';if(!Ss[_0x4383f9(0x39b)](_0x211fa0[_0x4383f9(0x466)]))return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3['ERROR_IMAGE_TYPE']));if(_0x211fa0['size']>Es)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x57e7c3['ERROR_EXCEED_SIZE']));try{const _0x2d4713=new FormData();_0x2d4713['append'](_0x4383f9(0x299),_0x211fa0);const _0x3a5fe9=this[_0x4383f9(0x46f)][_0x4383f9(0x393)](),_0x265228=_0x3a5fe9==null?void 0x0:_0x3a5fe9[_0x4383f9(0x377)]();if(!_0x265228)throw new Error(_0x4383f9(0x3d5));const _0x4a3882=this[_0x4383f9(0x1da)]()+_0x4383f9(0x37e)+_0x211fa0['size'][_0x4383f9(0x416)]()+_0x4383f9(0x35a)+Ti[_0x4383f9(0x33e)]+_0x4383f9(0x292)+encodeURIComponent(_0x265228),_0x562137=await(await fetch(_0x4a3882,{'method':'POST','body':_0x2d4713}))[_0x4383f9(0x38f)]();if(typeof _0x562137[_0x4383f9(0x19f)]!=_0x4383f9(0x3e0))return this[_0x4383f9(0x433)](),Promise['reject'](new Error(_0x57e7c3[_0x4383f9(0x3af)]));_0x236ada=_0x562137['FileId'];}catch{return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3[_0x4383f9(0x3af)]));}return new Promise((_0x3bf61e,_0xbfc3eb)=>{var _0x3071f6=_0x4383f9;const _0x3f3034=new FileReader();_0x3f3034['readAsDataURL'](_0x211fa0),_0x3f3034[_0x3071f6(0x3c9)]=_0x17afeb=>{var _0x4597f3=_0x3071f6,_0x5d1e14;const _0x4464ca=(_0x5d1e14=_0x17afeb[_0x4597f3(0x39e)])==null?void 0x0:_0x5d1e14[_0x4597f3(0x2e3)];if(_0x4464ca==null){this[_0x4597f3(0x433)](),_0xbfc3eb(new Error(_0x57e7c3[_0x4597f3(0x3af)]));return;}const _0x15853e=_0xb8971a[_0x4597f3(0x3ae)](0x6);_0x3bf61e({'imageId':_0x15853e,'imageSourceType':_0x3aee31[_0x4597f3(0x264)],'source':_0x236ada,'base64Cache':_0x4464ca,'status':_0x57e7c3[_0x4597f3(0x18b)]}),this[_0x4597f3(0x433)]();};});}['_getUploadFileURL'](){var _0x26ece1=_0x57ea30,_0x3638b3,_0x55b94b;const _0x544409=this[_0x26ece1(0x276)][_0x26ece1(0x341)](Is),_0x7b55da=this[_0x26ece1(0x276)][_0x26ece1(0x341)](q);return(_0x55b94b=(_0x3638b3=_0x7b55da==null?void 0x0:_0x7b55da[_0x26ece1(0x380)])!=null?_0x3638b3:_0x544409)!=null?_0x55b94b:Ts;}['_getSignURL'](){var _0x4d2ced=_0x57ea30,_0x320204,_0x255059;const _0x3a1ff5=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](Cs),_0x15b9e6=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](q);return(_0x255059=(_0x320204=_0x15b9e6==null?void 0x0:_0x15b9e6['signUrlServerUrl'])!=null?_0x320204:_0x3a1ff5)!=null?_0x255059:Rs;}[_0x57ea30(0x3e4)](){var _0x1fa135=_0x57ea30,_0xa3986d;const _0x70360e=this[_0x1fa135(0x276)][_0x1fa135(0x341)](q);return(_0xa3986d=_0x70360e==null?void 0x0:_0x70360e[_0x1fa135(0x208)])!=null?_0xa3986d:location['origin'];}['_replaceFileID'](_0x518ca1,_0x4dfd82){var _0x3d4bc6=_0x57ea30;return _0x518ca1[_0x3d4bc6(0x395)](_0x3d4bc6(0x3fe),_0x4dfd82);}[_0x57ea30(0x433)](){var _0x4bf470=_0x57ea30;this['_waitCount']-=0x1,this[_0x4bf470(0x326)]['next'](this[_0x4bf470(0x20e)]);}};function _0x2a30(){var _0x1a7081=['getCollabEntity$','SYNCED','createInstance','file','_throwTelemetryCollaborationNewChangeset','startsWith','_transformRemoteChangesetByIMECache','origin','_clearTimeoutTimer','liveShareOperation','disableLocalCache','eventID','SOCKET_FAILED','addHandlerCallback','_onConnectionFailed','RETRY_CONNECTING_MAX_COUNT','_onConnectionOpen','[OfflineState]:\x20received\x20acknowledgement.','_socketMessageSubscription','readInt32LE','mode','defineProperty','onTransformSelections','/fetchmissing?from=','unitInfo$','_substituteRedoStack','onCommandExecuted','enableOfflineEditing','HMAC','event$','PERSON','[CollaborationState]:\x20apply\x20error!','_process','USERS_ENTER','_executeRemoteChangeset','members$','getCurrentUser','_retryConnectingTimer','Hex','UNKNOWN_CMD','sigBytes','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareNewHost','Hasher','WordArray','objects','change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','withCredentials','_sendHeartbeatTimer','map','_sender','SEND_CHANGESET_TIMEOUT','BufferedBlockAlgorithm','processBlock','name','fromCollab','/allowed','UNIVER_SHEET','_rescheduleHeartbeat','delete','__creator','ciphertext','function','_cipher','uniscriptRunEvent','_startCollaboration','CLOSE_ROOM','open$','YUUMI_URL_COL_OUT_OF_RANGE','getMember','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_scheduleCompleteTimestamp','_onCombEvent','_doProcessBlock','result','_resendWithTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','/role','_init','/unit/','_submitChangeset','_unitID','_doCryptBlock','_httpService','reject','_iKey','_getAPIPrefix','/universer-api/stream/file/upload','getResourcesRequest','INTERNAL_ERROR','_status$','APPLY_NON_SEQUENTIAL_REVISION','1748436UByNzv','onCommentUpdate','_onUserLeave','/rev/','fetchThroughInterceptors','SNAPSHOT_INVALID_SNAPSHOT','clear','addImageSourceCache','disposeWithMe','collaborators','method','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_networkConditionService','params','padding','iterations','objectID','LIVESHARE_OPERATION','runId','[SyncedState]:\x20received\x20rejection.','_emitMembers','save\x20fail\x20reason\x20is\x20','CHANGESET_SHOULD_RETRY','UPDATE_CURSOR','/universer-api/authz','HEARTBEAT','NOT_COLLAB','c2Prime','/universer-api/snapshot','close','x-univer-host','_singleActiveUnitService','_entities','_xformMode','pluginName','charCodeAt','unpad','_checkMissing','EvpKDF','_revisionService','COMMENT_UPDATE','LICENSE_EXPORT_SIZE_EXCEEDED','join','OTHER_CLIENT_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','195vUvXPo','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_keyPriorReset','_change$','_updateLocalCache','_sendingTimer','_createHandler','ws://127.0.0.1:8000/universer-api/comb/connect','connection\x20error','_collaborationTimeoutTimer','cmd','_disableEditing','random','LEAVE','requestParams','image/jpeg','state$','charAt','onTransformRemoteChangesetByStateCache','_commandService','forEach','_loadDoc','62YlTjmP','isArray','fetchMiss','enableSingleActiveInstanceLock','prototype','UnitEmbedded','editing\x20status\x20changed\x20to','waitForRoom$','getConfig','auth.needGotoLoginAlert','getUnitOnRev','message$','YUUMI_UNABLE_LOAD_URL','AWAITING','_getUndoStack','_telemetryInfo','OFFLINE','UNIVER_SLIDE','_loadSheet','data','transformMutationsWithChangeset','SUBMIT_CHANGESET','StreamCipher','batchAllowed','encryptBlock','[DataLoaderService]','workbook','collaboration-client.config','_listenToNetworkCondition','getRoom','_doReset','_retryCount','_handler','&source=','collaboration_new_changeset','_HTTPService','sessionStatus$','revision','MD5','_imageSourceCache','pending','now','_clearRedo','_lockTransition','_roomCreated$','awaitingChangeset','_initDependencies','createDecryptor','find','interceptor','_fetchMissChangesets','send','changesets','sendChangesetTimeout','unknown','UNISCRIPT_RUN','onStarting','/universer-api/snapshot/','Base64','enc','_compressMutationService','subUnitId','getUnitId','repeat','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','allowed','_state','permissionRejEvent','src','?size=','randomUUID','uploadFileServerUrl','getTime','getUnitType','getTypeOfUnitDisposed$','pauseCollaboration','[OfflineState]:\x20received\x20changeset.','list','splice','_stopTelemetryCollaborationNewChangeset','_onRemoteRetry','_snapshotService','stopTime','UNAUTHENTICATED','kdf','ALREADY_EXISTS','json','AES','\x20to\x20','_onFetchMissResult','getFocusedUnit','HmacMD5','replace','pad','concat','reduce','originalMeta','updatePermissionPoint','includes','_socket','_doFinalize','target','_eventService','JOINING','_transformIMECache','image/jpg','getTypeOfUnitAdded$','IDLE','_tryEnsureSocket','snapshot','getMemberID','apply','crypto','CBC','LIVESHARE_FETCH_OPERATIONS','_createInitialState','CONFLICT','generateRandomId','ERROR_IMAGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commentService','refreshPermission','collabSubmitChangesetUrl','_collaborationPaused','wsSessionTicketUrl','_onJoinRoomEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','BlockCipher','mixIn','FAIL','error$','collaMsg','SOCKET_FAILED_RETRY','_socket$','JOIN_ROOM_FAILED','getSnapshotAPIPath','_toggleOnline','put','reset','_config','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','$super','awaiting_with_pending','COMPRESS_MUTATION_SEND','onload','_getSignURL','_showConflictNotification','JOIN','csShouldRetryEvent','socketService','_oKey','Utf8','_changesetSessionId','unit-cache-','_localeService','_createSocketURL','unitId\x20is\x20not\x20found','body','blockSize','_onUserJoin','HELLO','commentUpdateEvent','_invKeySchedule','saveSnapshot','_scheduleCollaborationTimeoutTimer','image/png','every','string','SHOULD_CLOSE_CONN','/object','loadSheet','_getDownloadEndpointURL','_onRemoteACK','session.room-cnt-exceeds','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_schedule','UNDEFINED','stringify','createCollaborator','_injector','getWorkbookSelections','_timeoutTimer','HEARTBEAT_INTERVAL','reconnect','title','href','YUUMI_RATE_OVER_LIMIT','getCurrentRevOfUnit','transformChangesets','onTransformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','isPermissionRej','_isPermissionRej','_transformUndoredo','_onLocalMutation','FETCH_MISS','close$','{fileID}','/universer-api/oidc/authpage','getRandomValues','[PendingState]:\x20received\x20acknowledgement.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','members','YUUMI_SUBSCRIPTION_NOT_FOUND','post','univer-pro.collaboration-client-socket-service','search','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','mutations','_createHelper','state','12848AKESkW','\x20-\x20','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_REQUEST_HOST','_clearCollaborationTimeoutTimer','loadUnit','COLLAB_SUBMIT_CHANGESET_URL','_parse','NEW_CHANGESETS','executeCommand','toString','[CollaborationSessionService]:\x20socket\x20error','UPDATE_PERMISSION_OBJ','routeKey','NO_OTHER_CLIENTS_EDITING','_collaborationUIEventService','has','_sessionStatus$','getUnit','_transformStateCache','toggleOnline','leaveEvent','APPLY_PERMISSION_DENIED','hasOwnProperty','PERMISSION_DENIED','updateMember','clone','[CollaborationSession]','_clearHeartbeatTimer','keySize','Pkcs7','hasher','_incrementRevisionNumber','_localCacheService','ceil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','requireSession','loadDoc','format','_decreaseWaiting','UNIVER_PROJECT','listCollaborators','/new_changes','deleteCollaborator','updatePermissionObjEvent','entries','_unitInfo$','_initCloseConn','salt','buffer','PERMISSION_REJ','createEncryptor','APPLY_DUPLICATED','_mode','encode','infoRsp','headers','_onRemoteRejected','_entityInit$','_hasher','objectType','ONLINE','_replaceFileID','set','_type','UNIVER_DOC','bind','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','MSG_FOR_ERROR','CHANGESET_REVISION_CONFILICT','75RoWUzJ','getImageSourceCache','getCollabEntity','updateOfflineData','getOwnPropertyDescriptor','CHANGESET_ACK','_nDataBytes','_commentUpdate$','override','[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.','status$','_transitionLocked','/collaborator','_startTelemetryCollaborationNewChangeset','newCsEvent','_unlockTransition','roomInfos','_transformService','_authzIoService','type','19904mPzqeO','symbol','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INVALID_ARGUMENT','unsubscribe','complete','NOT_FOUND','[UniverCollaborationClientPlugin]','_univerInstanceService','USERS_LEAVE','conflict','_resendTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_instanceService','session','OTHER_CLIENTS_EDITING','_syncEditingCollabCursor','failed\x20to\x20apply\x20missed\x20changesets!','_registerDependencies','transformStack\x20failed!','getImage','24saKQiB','synced','onRemoteAck','hostname','words','getInterceptPoints','csAckEvent','TOO_MANY_REQUESTS','_createInitialStateImpl','_transformStack','update','_prevBlock','getAllMembers','msCrypto','image/gif','_socketReady','__Key__','_ENC_XFORM_MODE','then','saveImage','algo','[FetchMissState]','[CollaborationSessionService]','_getCtorByUniverType','HEARTBEAT_TIMEOUT','subscribe','execute','get','awaiting','onTransformState','_reverseMap','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectActions','values','FETCH_MISSING','[CollaborationUndoRedoService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Cipher','focused$','fromCharCode','_createSocket','45268wgXznV','session.room-not-exists','SUCCUSS','_replayCachedMutations','[PendingState]:\x20unhandled\x20univer\x20type:\x20','?url=','registerHTTPInterceptor','c1Prime','getSheetBlock','size','_redoStacks','closeSession','_hash','actions','pipe','location','url','finalize','_clearLocalCache','memberID','_transformRemoteChangesetByStateCache','toggleOffline','FileId','univer-pro.collaboration-client.single-active-unit-service','_initMergeInterceptor','getUnitStatus$','_clearUndo','onSyncEditingCollabCursor','Encryptor','/block/','5540YvuDVq','_getLoginPath','toLowerCase','_updateState','onRemoteRej','_exhaustRemoteChangesetQueue','min','baseRev','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','enableAuthServer','slice','MUTATION','init','469285hNKibq','_getRedoStack','reqId','_createHmacHelper','getDeserializedSheetBlock','userID','incrementRevOfUnit','session.join-failed','LOGIN_URL_KEY','listRoles','status','LICENSE_DISTRO_REJECTED','socket\x20close','encrypt','compose','onMissedChangesetFetched','dispose$','confirm','onSendChangeset','_getSessionTicket','Base','resolve','JOIN_ROOM_NOT_EXISTS','byteLength','roles','People','createSocket','decrypt','6GEJjfj','_waitForHeartbeatResponse','code','length','_sessions','byteOffset','appendMutation','push','_shouldReportTelemetry','capture','_getUploadFileURL','/universer-api/user/session-ticket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateStatus','from','\x20in\x20_schedule.','APPLY_REVISION_CONFILICT','UNIVER_UNKNOWN','saveSheetBlock','sessionTicket','compute','shouldCloseConn','authzUrl','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','create','HttpExport','_awaitingChangeset','filter','offline','\x0aAfter:\x20','_removeRoom','APPLY_REJECT','_queuedRemoteChangesets','GLOBAL_ROOMS_CNT_EXCEEDS','lib','_permissionService','saveChangeset','_state$','_toggleOffline','floor','extend','/object/','&to=','_initRequestHeader','searchParams','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_minBufferSize','3831667lQDRjR','startTime','equals','_collaborationSessionService','next','_acknowledgedAwaitingChangeset','_onRemoteChangeset','downloadEndpointUrl','call','selections','_transformSelections','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','_waitCount','SHA1','UNKNOWN_CODE','_onRecvEvent','_sendHeartbeat','setCurrentUser','dispose','ENSURE_SNAPSHOT_EXECUTION','editingUnit','max','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','emitEvent','_keySchedule','_joinRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','NoPadding','_iv','/-/object/list','onlyLocal','_substituteUndoStack','JOIN_ROOM_FULL','SUBMIT_CHANGESET_TIMEOUT','Undefined','JOIN_ROOM_PERMISSION_DENIED','parse','onMissingChangesets','onLocalMutation','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_socketService','1230678xUwlDL','UnitSnapshot','UNRECOGNIZED','clamp','_candidateSocket','ivSize','textRanges','abs','_changesetReqId','getValue','univer-pro.collaboration-client.network-condition.service','_tryReconnect','unitID','_applyRemoteChangeset','CHANGESET_REJ','setWaitCount','default','patch','_getSendChangesetTimeout','RECV','_onConflict','image/bmp','debug','fetch_missing','_nRounds','OpenSSL','sid','subject','COLLAB_WEB_SOCKET_URL','INGEST','error','PY_RUNTIME_SCRIPT_ERROR','decryptBlock','snapshotServerUrl','CipherParams','_initUnitPermissionChange','_telemetryService','getCurrentSelections','_map','_append','m2Prime','_getAPIPrefixPath','POST','onTransformIME','collabWebSocketUrl','_roomMembers','localeService','substr','_getCurrentRevision','_undoRedoService','_resendTimer','fetching\x20missing\x20changesets\x20from\x20','[SyncedState]:\x20received\x20acknowledgement.','resourceIDs','HmacSHA1','UUID','updateCollaborator','session.room-full','_data','catch','onRemoteChangeset','rng','randomBytes','PSEUDO_FETCH_MISSING_RESULT','localCacheService','joinEvent','_logService','removeMember','asObservable','_userManagerService','range','deepClone','key','_configService','HttpImport','_pendingMutations','not_collab','[PendingState]:\x20received\x20rejection.','_key','LICENSE_IMPORT_SIZE_EXCEEDED','_clearScheduledTask','/universer-api/comb','setShowComponents','cfg','_http','retryConnectingInterval','session.room-permission-denied','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_remoteChangesetQueue','resend','COMPLETION_FINISHED','unitId','add','commentUpdate$','avatar','LIVESHARE_TERMINATE','sessionStatus','transformSelections','fetchMissingChangesets','_handlerCallback','_event$','&assign=','_memberService','exports','collaboration-client.local-cache-service'];_0x2a30=function(){return _0x1a7081;};return _0x2a30();}yt=gs([gt(0x0,_0x121c70(_0x457bbb)),gt(0x1,_0x5a8f33),gt(0x2,_0x121c70(_0x3b1049))],yt);var bs=Object[_0x57ea30(0x2ab)],Os=Object[_0x57ea30(0x457)],ys=(_0x2cfc9a,_0x361039,_0x5da77d,_0x39008b)=>{var _0x4bc045=_0x57ea30;for(var _0x9edbdd=_0x39008b>0x1?void 0x0:_0x39008b?Os(_0x361039,_0x5da77d):_0x361039,_0x8493e0=_0x2cfc9a[_0x4bc045(0x1d3)]-0x1,_0x5cd991;_0x8493e0>=0x0;_0x8493e0--)(_0x5cd991=_0x2cfc9a[_0x8493e0])&&(_0x9edbdd=(_0x39008b?_0x5cd991(_0x361039,_0x5da77d,_0x9edbdd):_0x5cd991(_0x9edbdd))||_0x9edbdd);return _0x39008b&&_0x9edbdd&&bs(_0x361039,_0x5da77d,_0x9edbdd),_0x9edbdd;},_i=(_0x206d85,_0x2dc00c)=>(_0x252806,_0x50c96f)=>_0x2dc00c(_0x252806,_0x50c96f,_0x206d85);const Ns='/universer-api/authz';let Nt=class{constructor(_0x31f4f6,_0x2d7150){var _0x5cb769=_0x57ea30;this[_0x5cb769(0x276)]=_0x31f4f6,this[_0x5cb769(0x35c)]=_0x2d7150;}['_getAPIPrefixPath'](){var _0x2e7490=_0x57ea30,_0x52d30c,_0x50b71b;const _0x21e389=this[_0x2e7490(0x276)][_0x2e7490(0x341)](Pi),_0x5e0bd2=this[_0x2e7490(0x276)][_0x2e7490(0x341)](q);return(_0x50b71b=(_0x52d30c=_0x5e0bd2==null?void 0x0:_0x5e0bd2[_0x2e7490(0x1e6)])!=null?_0x52d30c:_0x21e389)!=null?_0x50b71b:Ns;}async[_0x57ea30(0x386)](_0xa3fbdc){var _0x4e77b1=_0x57ea30;const _0x2c6250=this['_getAPIPrefixPath']()+_0x4e77b1(0x45f);return{'list':[{'title':_0x4e77b1(0x1cd),'mentions':(await this[_0x4e77b1(0x35c)][_0x4e77b1(0x17b)](_0x2c6250,{'params':{'objectID':_0xa3fbdc[_0x4e77b1(0x288)],'unitID':_0xa3fbdc[_0x4e77b1(0x288)]}}))['body'][_0x4e77b1(0x2fe)][_0x4e77b1(0x2c9)](_0x2e6c75=>({'objectId':_0x2e6c75['id'],'name':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'metadata':{'icon':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x28b)]},'label':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'objectType':_0xce523b['PERSON']})),'metadata':{},'type':_0xce523b[_0x4e77b1(0x2b4)]}]};}};Nt=ys([_i(0x0,_0x121c70(_0x5a8f33)),_i(0x1,_0x121c70(_0x457bbb))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x57ea30(0x457)],ws=(_0x527ba2,_0x21eb19,_0x1a101e,_0x33b6fb)=>{for(var _0x18f7c3=_0x33b6fb>0x1?void 0x0:_0x33b6fb?Ps(_0x21eb19,_0x1a101e):_0x21eb19,_0x4bc380=_0x527ba2['length']-0x1,_0x1e129b;_0x4bc380>=0x0;_0x4bc380--)(_0x1e129b=_0x527ba2[_0x4bc380])&&(_0x18f7c3=(_0x33b6fb?_0x1e129b(_0x21eb19,_0x1a101e,_0x18f7c3):_0x1e129b(_0x18f7c3))||_0x18f7c3);return _0x33b6fb&&_0x18f7c3&&Ds(_0x21eb19,_0x1a101e,_0x18f7c3),_0x18f7c3;},Se=(_0x5d2951,_0x599151)=>(_0x48714a,_0x4ad88e)=>_0x599151(_0x48714a,_0x4ad88e,_0x5d2951);let at=class extends _0x577131{constructor(_0x58c8f9,_0x513403,_0x3a95c3,_0x11e320,_0xd4d968,_0x334b70,_0x7a5193){var _0x3097d7=_0x57ea30;super(),this[_0x3097d7(0x3ec)]=_0x58c8f9,this['_univerInstanceService']=_0x513403,this[_0x3097d7(0x1f5)]=_0x3a95c3,this[_0x3097d7(0x204)]=_0x11e320,this[_0x3097d7(0x41b)]=_0xd4d968,this[_0x3097d7(0x465)]=_0x334b70,this[_0x3097d7(0x25e)]=_0x7a5193,this[_0x3097d7(0x250)](),this['_initCloseConn']();}[_0x57ea30(0x43b)](){var _0x1802c1=_0x57ea30;const _0x3f3746=async _0x15d0b0=>{var _0x9bdef5=_0x30c3;(await this[_0x9bdef5(0x204)][_0x9bdef5(0x430)](_0x15d0b0))[_0x9bdef5(0x2b3)][_0x9bdef5(0x197)](_0x4d1c41(_0x453fbd=>_0x453fbd[_0x9bdef5(0x2a1)]===_0x50f10f['SHOULD_CLOSE_CONN']),_0x5c07a4(this[_0x9bdef5(0x1c4)]))[_0x9bdef5(0x179)](_0x119b60=>{var _0x4f61fb=_0x9bdef5;const _0x377f3a=_0x119b60,{reason:_0x4e3932}=_0x377f3a[_0x4f61fb(0x34c)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x4f61fb(0x2da)],'data':_0x4e3932}),this[_0x4f61fb(0x1f5)][_0x4f61fb(0x39a)](new _0x4f0669(_0x15d0b0)['id'],!0x1),this['_collaborationSessionService'][_0x4f61fb(0x194)](_0x15d0b0);});};_0x20f86f(this['_univerInstanceService'][_0x1802c1(0x3a3)](_0x33b7bd['UNIVER_SHEET']),this[_0x1802c1(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd[_0x1802c1(0x44d)]))[_0x1802c1(0x197)](_0x18d76c(_0x19355c=>_0x19355c[_0x1802c1(0x377)]()),_0x4d1c41(_0x5535fd=>!_0x213a90(_0x5535fd)),_0x5c07a4(this[_0x1802c1(0x1c4)]))[_0x1802c1(0x179)](_0x14dfc4=>{_0x3f3746(_0x14dfc4);});}[_0x57ea30(0x250)](){var _0x4c4353=_0x57ea30;const _0x244d38=async _0x27ad56=>{var _0x3f8661=_0x30c3;const _0x84c5f9=await this[_0x3f8661(0x204)][_0x3f8661(0x430)](_0x27ad56),_0x26a682=this[_0x3f8661(0x3ec)]['get'](_0x50561b);_0x84c5f9['event$'][_0x3f8661(0x197)](_0x4d1c41(_0x2f5feb=>_0x2f5feb['eventID']===_0x50f10f[_0x3f8661(0x418)]),_0x5c07a4(this[_0x3f8661(0x1c4)]))['subscribe'](_0x1b1652=>{var _0x3786e1=_0x3f8661;const _0x516d99=_0x1b1652,{objectId:_0x5399a2}=_0x516d99['data'];_0x5399a2===_0x27ad56?_0x26a682['initWorkbookPermissionChange'](_0x27ad56):_0x26a682[_0x3786e1(0x3b2)](_0x27ad56,_0x5399a2);});};_0x20f86f(this[_0x4c4353(0x46f)][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x2d1)]),this['_univerInstanceService'][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x44d)]))['pipe'](_0x18d76c(_0x3ec885=>_0x3ec885[_0x4c4353(0x377)]()),_0x4d1c41(_0x24180f=>!_0x213a90(_0x24180f)),_0x5c07a4(this['dispose$']))[_0x4c4353(0x179)](_0x16780b=>{_0x244d38(_0x16780b);});}};at=ws([Se(0x0,_0x121c70(_0x49358f)),Se(0x1,_0x3b1049),Se(0x2,_0x8b7349),Se(0x3,_0x121c70(Le)),Se(0x4,_0x121c70(pe)),Se(0x5,_0xce0ee1),Se(0x6,_0x2cf6cb)],at);var Us=Object[_0x57ea30(0x2ab)],As=Object[_0x57ea30(0x457)],xs=(_0x14205b,_0x390628,_0x49172c,_0x26b541)=>{var _0x1e7326=_0x57ea30;for(var _0x415b33=_0x26b541>0x1?void 0x0:_0x26b541?As(_0x390628,_0x49172c):_0x390628,_0x1c5bb0=_0x14205b[_0x1e7326(0x1d3)]-0x1,_0x3fd370;_0x1c5bb0>=0x0;_0x1c5bb0--)(_0x3fd370=_0x14205b[_0x1c5bb0])&&(_0x415b33=(_0x26b541?_0x3fd370(_0x390628,_0x49172c,_0x415b33):_0x3fd370(_0x415b33))||_0x415b33);return _0x26b541&&_0x415b33&&Us(_0x390628,_0x49172c,_0x415b33),_0x415b33;},li=(_0x32764b,_0x44226c)=>(_0x1ad8a3,_0x16f10d)=>_0x44226c(_0x1ad8a3,_0x16f10d,_0x32764b);let Dt=class{constructor(_0x258363,_0x5d8115){var _0x4fb48c=_0x57ea30;this[_0x4fb48c(0x276)]=_0x258363,this[_0x4fb48c(0x2ec)]=_0x5d8115;}async[_0x57ea30(0x343)](_0x30c4e7,_0x2877f1){var _0x5f0643=_0x57ea30,_0x3ec527;const {unitID:_0xc24fc4,type:_0x318c49,revision:_0x3d2185=0x0}=_0x2877f1,_0x27642d=this[_0x5f0643(0x3c0)]()+'/'+_0x318c49+_0x5f0643(0x2e8)+_0xc24fc4+_0x5f0643(0x2f8)+_0x3d2185,_0x354e37=(await this[_0x5f0643(0x2ec)]['get'](_0x27642d))[_0x5f0643(0x3d6)],_0x3e730e=(_0x3ec527=_0x354e37[_0x5f0643(0x3a6)])==null?void 0x0:_0x3ec527[_0x5f0643(0x353)];if(_0x3e730e){const _0x58a853=_0x3e730e==null?void 0x0:_0x3e730e['originalMeta'],_0x455b02=_0x29ae7b[_0x5f0643(0x442)](_0x4da21e(_0x58a853));_0x3e730e[_0x5f0643(0x399)]=_0x455b02,Object[_0x5f0643(0x439)](_0x3e730e['sheets'])['forEach'](([,_0x185877])=>{var _0x5ce745=_0x5f0643;const _0x371fa9=_0x185877['originalMeta'],_0x2f32c3=_0x29ae7b[_0x5ce745(0x442)](_0x4da21e(_0x371fa9));_0x185877[_0x5ce745(0x399)]=_0x2f32c3;});}return _0x354e37;}async[_0x57ea30(0x191)](_0x527d55,_0x4ee1dd){var _0x58e4ca=_0x57ea30;const {unitID:_0x175fa6,type:_0x113b91,blockID:_0x204639}=_0x4ee1dd,_0x490b6d=this[_0x58e4ca(0x2ef)]()+'/'+_0x113b91+_0x58e4ca(0x2e8)+_0x175fa6+_0x58e4ca(0x1a6)+_0x204639;return(await this['_httpService']['get'](_0x490b6d))['body'];}async[_0x57ea30(0x1b8)](_0x3120c7,_0x121940){var _0x4e5834=_0x57ea30;const {unitID:_0x51342b,type:_0x861706,blockID:_0x42ab43}=_0x121940,_0xbf47c7=this[_0x4e5834(0x2ef)]()+'/block/'+_0x861706+'/unit/'+_0x51342b+_0x4e5834(0x1a6)+_0x42ab43;return(await this[_0x4e5834(0x2ec)]['get'](_0xbf47c7))[_0x4e5834(0x3d6)];}async[_0x57ea30(0x28f)](_0x4ac70e,_0x2b6441){var _0x29b481=_0x57ea30;const {unitID:_0x1a3559,type:_0x58bf34,from:_0x5d5dd9,to:_0x136750}=_0x2b6441,_0x31dd10=this['_getAPIPrefix']()+'/'+_0x58bf34+_0x29b481(0x2e8)+_0x1a3559+_0x29b481(0x2ad)+_0x5d5dd9+_0x29b481(0x1fc)+_0x136750;return(await this[_0x29b481(0x2ec)][_0x29b481(0x17b)](_0x31dd10))[_0x29b481(0x3d6)];}['getSnapshotAPIPath'](){var _0x43676f=_0x57ea30,_0x1751be;return(_0x1751be=this['_configService'][_0x43676f(0x341)](Tn))!=null?_0x1751be:this[_0x43676f(0x2ef)]();}[_0x57ea30(0x2ef)](){var _0x194767=_0x57ea30,_0x4df49d,_0x292db7;const _0x56fa2d=this[_0x194767(0x276)][_0x194767(0x341)](En),_0x5d55d5=this[_0x194767(0x276)][_0x194767(0x341)](q);return(_0x292db7=(_0x4df49d=_0x5d55d5==null?void 0x0:_0x5d55d5[_0x194767(0x24e)])!=null?_0x4df49d:_0x56fa2d)!=null?_0x292db7:In;}async[_0x57ea30(0x2f1)](_0xaff98d,_0x2ef1b6){var _0x3e6a1b=_0x57ea30;const _0x1739c7=_0x3e6a1b(0x372)+_0x2ef1b6['type']+_0x3e6a1b(0x2e8)+_0x2ef1b6[_0x3e6a1b(0x239)]+'/resources';return(await this[_0x3e6a1b(0x2ec)]['get'](_0x1739c7,{'params':{'resourceId':JSON[_0x3e6a1b(0x3ea)](_0x2ef1b6[_0x3e6a1b(0x262)])}}))[_0x3e6a1b(0x3d6)];}[_0x57ea30(0x3dc)](){var _0x1acb9b=_0x57ea30;throw new Error(_0x1acb9b(0x3e7));}[_0x57ea30(0x1e2)](){var _0x686ee7=_0x57ea30;throw new Error(_0x686ee7(0x3e7));}[_0x57ea30(0x1f6)](){var _0x4c4097=_0x57ea30;throw new Error(_0x4c4097(0x3e7));}['copyFileMeta'](){var _0x5c279c=_0x57ea30;throw new Error(_0x5c279c(0x3e7));}[_0x57ea30(0x219)](){var _0x6c969c=_0x57ea30;throw new Error(_0x6c969c(0x3e7));}};Dt=xs([li(0x0,_0x5a8f33),li(0x1,_0x121c70(_0x457bbb))],Dt);var Ls=Object[_0x57ea30(0x2ab)],Ms=Object[_0x57ea30(0x457)],$s=(_0x1dca69,_0x34d851,_0x5c9a8f,_0x9bdda2)=>{var _0x41f480=_0x57ea30;for(var _0x5e5c0d=_0x9bdda2>0x1?void 0x0:_0x9bdda2?Ms(_0x34d851,_0x5c9a8f):_0x34d851,_0x20c5ed=_0x1dca69[_0x41f480(0x1d3)]-0x1,_0xc978a3;_0x20c5ed>=0x0;_0x20c5ed--)(_0xc978a3=_0x1dca69[_0x20c5ed])&&(_0x5e5c0d=(_0x9bdda2?_0xc978a3(_0x34d851,_0x5c9a8f,_0x5e5c0d):_0xc978a3(_0x5e5c0d))||_0x5e5c0d);return _0x9bdda2&&_0x5e5c0d&&Ls(_0x34d851,_0x5c9a8f,_0x5e5c0d),_0x5e5c0d;},Ae=(_0x56afa8,_0x181d4b)=>(_0xf951cf,_0x430c70)=>_0x181d4b(_0xf951cf,_0x430c70,_0x56afa8);let Pt=class extends _0x4339c9{constructor(_0x5e42e9,_0x2d1e50,_0x3c7031,_0x408881,_0x5a3e27){var _0x6f5ef5=_0x57ea30;super(_0x5e42e9,_0x2d1e50,_0x3c7031),this[_0x6f5ef5(0x464)]=_0x408881,this[_0x6f5ef5(0x26f)]=_0x5a3e27;}['transformUndoRedo'](_0x3bec32,_0x3a1347){var _0x28c4e6=_0x57ea30;const _0x28dbb5=this['_getUndoStack'](_0x3bec32);if(_0x28dbb5)try{const _0x4fd25c=this[_0x28c4e6(0x169)](_0x28dbb5,_0x3a1347);this['_substituteUndoStack'](_0x3bec32,_0x4fd25c);}catch(_0x118bfc){this['_logService']['error'](_0x28c4e6(0x183),_0x118bfc),this['_clearUndo'](_0x3bec32);}const _0x5e4d0d=this[_0x28c4e6(0x1b5)](_0x3bec32);if(_0x5e4d0d)try{const _0x5083f8=this[_0x28c4e6(0x169)](_0x5e4d0d,_0x3a1347);this[_0x28c4e6(0x2af)](_0x3bec32,_0x5083f8);}catch(_0x45441e){this[_0x28c4e6(0x26f)][_0x28c4e6(0x24b)](_0x45441e),this[_0x28c4e6(0x363)](_0x3bec32);}}[_0x57ea30(0x1a3)](_0x1d4ea7){var _0x12f433=_0x57ea30;const _0x4e37e5=this[_0x12f433(0x347)](_0x1d4ea7);_0x4e37e5&&(_0x4e37e5['length']=0x0,this[_0x12f433(0x1dd)]());}[_0x57ea30(0x363)](_0x537efd){var _0x1a9ad0=_0x57ea30;const _0x5c26c6=this[_0x1a9ad0(0x1b5)](_0x537efd);_0x5c26c6&&(_0x5c26c6['length']=0x0,this['_updateStatus']());}[_0x57ea30(0x223)](_0x34fa03,_0x151343){var _0x36a7b1=_0x57ea30;this['_undoStacks'][_0x36a7b1(0x44b)](_0x34fa03,_0x151343),this[_0x36a7b1(0x1dd)]();}[_0x57ea30(0x2af)](_0x4ab065,_0x184a52){var _0x1278a7=_0x57ea30;this[_0x1278a7(0x193)]['set'](_0x4ab065,_0x184a52),this[_0x1278a7(0x1dd)]();}[_0x57ea30(0x169)](_0x518616,_0x398fef){var _0x3585ca=_0x57ea30;const _0x532b28=[];let _0x5f3e08=_0x398fef,_0x422390=_0x398fef;for(let _0x45f915=_0x518616[_0x3585ca(0x1d3)]-0x1;_0x45f915>=0x0;_0x45f915--){const {unitID:_0xca7e05,undoMutations:_0x23409c,redoMutations:_0x1da53a}=_0x518616[_0x45f915],_0x424f5c=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x5f3e08,_0x23409c),_0x50b4f1=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x422390,_0x1da53a);if(_0x2fe811(_0x424f5c)||_0x2fe811(_0x50b4f1)){this[_0x3585ca(0x26f)][_0x3585ca(0x24b)](_0x3585ca(0x183),_0x3585ca(0x15e),_0x424f5c,_0x50b4f1);break;}_0x5f3e08=_0x424f5c[_0x3585ca(0x190)],_0x422390=_0x50b4f1['c1Prime'],_0x532b28[_0x3585ca(0x1d7)]({'unitID':_0xca7e05,'undoMutations':_0x424f5c[_0x3585ca(0x255)],'redoMutations':_0x50b4f1[_0x3585ca(0x255)]});}return _0x532b28['reverse']();}};Pt=$s([Ae(0x0,_0x3b1049),Ae(0x1,_0x39c537),Ae(0x2,_0x1b919b),Ae(0x3,_0x4877b5),Ae(0x4,_0x410aea)],Pt);var xi=Object[_0x57ea30(0x2ab)],Hs=Object[_0x57ea30(0x457)],ks=(_0x11e106,_0x19bd0c,_0x1138c5)=>_0x19bd0c in _0x11e106?xi(_0x11e106,_0x19bd0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1138c5}):_0x11e106[_0x19bd0c]=_0x1138c5,js=(_0x37bec7,_0x3a0788,_0x3678a7,_0x6f0de8)=>{for(var _0xd575c1=_0x6f0de8>0x1?void 0x0:_0x6f0de8?Hs(_0x3a0788,_0x3678a7):_0x3a0788,_0x3b32aa=_0x37bec7['length']-0x1,_0x5820dc;_0x3b32aa>=0x0;_0x3b32aa--)(_0x5820dc=_0x37bec7[_0x3b32aa])&&(_0xd575c1=(_0x6f0de8?_0x5820dc(_0x3a0788,_0x3678a7,_0xd575c1):_0x5820dc(_0xd575c1))||_0xd575c1);return _0x6f0de8&&_0xd575c1&&xi(_0x3a0788,_0x3678a7,_0xd575c1),_0xd575c1;},St=(_0x20dc7a,_0x2bd821)=>(_0x40edd2,_0x14492a)=>_0x2bd821(_0x40edd2,_0x14492a,_0x20dc7a),Bs=(_0x1869d5,_0x51b32a,_0x10e8da)=>ks(_0x1869d5,_0x51b32a+'',_0x10e8da);const Fs=_0x57ea30(0x2e5);let wt=class extends _0x802d0b{constructor(_0x31d50e=Wt,_0x550719,_0x4cfbfd,_0x839f16){var _0x54c9dd=_0x57ea30;super(),this[_0x54c9dd(0x3c4)]=_0x31d50e,this[_0x54c9dd(0x26f)]=_0x550719,this[_0x54c9dd(0x3ec)]=_0x4cfbfd,this[_0x54c9dd(0x276)]=_0x839f16;const {..._0x5d0e3b}=_0x136c0d({},Wt,this[_0x54c9dd(0x3c4)]);this['_configService']['setConfig'](q,_0x5d0e3b);}[_0x57ea30(0x371)](){var _0x49beef=_0x57ea30;this[_0x49beef(0x15d)](),this[_0x49beef(0x367)]();}[_0x57ea30(0x15d)](){var _0x405d35=_0x57ea30,_0x323632,_0x1b5188,_0x4bf022,_0x137bd8;this[_0x405d35(0x3ec)][_0x405d35(0x41c)](_0x2cf6cb)&&this[_0x405d35(0x26f)]['error'](_0x405d35(0x46e),_0x405d35(0x300));const _0x2c5847=_0x3795e4([[_0x2cf6cb,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1b5188=(_0x323632=this['_config'])==null?void 0x0:_0x323632[_0x405d35(0x3ce)])!=null?_0x1b5188:Et}],[_0x1a1ac3,{'useClass':Dt}],[_0xce0ee1,{'useClass':bt}],[_0x1b3fb2,{'useClass':yt}],[_0x34756c,{'useClass':Nt}],[rt],[Rt]],(_0x4bf022=this['_config'])==null?void 0x0:_0x4bf022[_0x405d35(0x45b)]);if(!((_0x137bd8=this['_config'])!=null&&_0x137bd8[_0x405d35(0x33c)])){const _0x1bfdfe=_0x2c5847['findIndex'](([_0x23fe0b])=>_0x23fe0b===ht);_0x1bfdfe!==-0x1&&_0x2c5847[_0x405d35(0x387)](_0x1bfdfe,0x1);}_0xdc2135(this[_0x405d35(0x3ec)],_0x2c5847);}['_initDependencies'](){var _0x4eb9b7=_0x57ea30,_0x21e536,_0x5b8de0,_0x26fd87;this[_0x4eb9b7(0x3ec)][_0x4eb9b7(0x17b)](_0x457bbb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e84f0({'maxParallel':0x6})}),(_0x21e536=this[_0x4eb9b7(0x3c4)])!=null&&_0x21e536[_0x4eb9b7(0x2b1)]||(_0x5b8de0=this['_injector'][_0x4eb9b7(0x17b)](J,_0x2b20f2['OPTIONAL']))==null||_0x5b8de0[_0x4eb9b7(0x2a0)](),(_0x26fd87=this[_0x4eb9b7(0x3c4)])!=null&&_0x26fd87[_0x4eb9b7(0x1b0)]&&_0x571d99(this['_injector'],[[st]]),_0x571d99(this[_0x4eb9b7(0x3ec)],[[ot],[rt],[at]]);}};Bs(wt,_0x57ea30(0x317),Fs),wt=js([_0x21b86b(_0x4b4955,_0x1ca7f4,_0xf16f04),St(0x1,_0x410aea),St(0x2,_0x121c70(_0x49358f)),St(0x3,_0x5a8f33)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|