@univerjs-pro/collaboration-client 0.6.0-nightly.202502151605 → 0.6.0-nightly.202502171606
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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1f558c=_0x4725;(function(_0xab0a9a,_0x183a32){var _0x5e69c2=_0x4725,_0x42dc2f=_0xab0a9a();while(!![]){try{var _0x2d5e9e=-parseInt(_0x5e69c2(0x3af))/0x1+parseInt(_0x5e69c2(0x368))/0x2+-parseInt(_0x5e69c2(0x362))/0x3+-parseInt(_0x5e69c2(0x33b))/0x4+parseInt(_0x5e69c2(0x430))/0x5*(parseInt(_0x5e69c2(0x152))/0x6)+parseInt(_0x5e69c2(0x1e7))/0x7+parseInt(_0x5e69c2(0x241))/0x8*(parseInt(_0x5e69c2(0x1a4))/0x9);if(_0x2d5e9e===_0x183a32)break;else _0x42dc2f['push'](_0x42dc2f['shift']());}catch(_0x27b67a){_0x42dc2f['push'](_0x42dc2f['shift']());}}}(_0x3db1,0x7b71a));var Ai=Object['defineProperty'],xi=(_0x3b2f2a,_0x5675ea,_0xa50ee9)=>_0x5675ea in _0x3b2f2a?Ai(_0x3b2f2a,_0x5675ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa50ee9}):_0x3b2f2a[_0x5675ea]=_0xa50ee9,N=(_0x16b8ea,_0x136e93,_0x533142)=>xi(_0x16b8ea,typeof _0x136e93!='symbol'?_0x136e93+'':_0x136e93,_0x533142);import{createIdentifier as _0x2235da,Inject as _0x5b2811,Injector as _0x5b79bd,Disposable as _0xc53c05,DisposableCollection as _0x17a125,toDisposable as _0xd7d543,IConfigService as _0x4ea54a,ILogService as _0x574408,UserManagerService as _0x10939a,UniverInstanceType as _0x3886a9,IUniverInstanceService as _0x30c3be,LocaleService as _0x426c5e,Optional as _0x40673b,RxDisposable as _0x1a5dd9,Tools as _0x2d4a2c,Rectangle as _0x568d0c,ICommandService as _0x456150,JSONX as _0x431a9e,CommandType as _0x2402fa,IPermissionService as _0x5b9158,IUndoRedoService as _0x46c745,sequenceExecute as _0x4ff652,Workbook as _0x13ef59,MentionType as _0x4e27b9,isInternalEditorID as _0x5c098a,LocalUndoRedoService as _0x457268,IContextService as _0x201420,DependentOn as _0x208650,Plugin as _0x5290de,merge as _0x33bad6,mergeOverrideWithDependencies as _0x591a49,IAuthzIoService as _0x1b9835,IMentionIOService as _0x4e0d64,registerDependencies as _0x8001ff,Quantity as _0x5bd1e3,touchDependencies as _0x3a3a91}from'@univerjs/core';import{Subject as _0x13d4cc,merge as _0x404c78,of as _0xb786a0,BehaviorSubject as _0x12b284,takeUntil as _0x29925c,ReplaySubject as _0x40f8ad,take as _0x3669e7,map as _0x1d5c6b,shareReplay as _0x576d80,firstValueFrom as _0x9545a1,concatMap as _0x574dc9}from'rxjs';import{map as _0xeca816,take as _0x56ed41,filter as _0x1bdf9d,delay as _0x18b0fa,takeUntil as _0x30142f}from'rxjs/operators';import{CollaborationEvent as _0x238e1f,parseChangesetToProtocol as _0x32fcbc,ISnapshotServerService as _0x389d38,isTransformMutationsWithChangesetSuccess as _0x1a87e5,ITransformService as _0x45b9e1,mapDocumentTypeToUniverType as _0x46690e,RevisionService as _0x40fd0a,isTransformChangesetsSuccess as _0x2e616a,CompressMutationService as _0x112c57,parseProtocolChangeset as _0x350fd9,SnapshotService as _0x4c1140,textEncoder as _0x9a9792,b64DecodeUnicode as _0x3b9e94,isTransformMutationsWithChangesetFailure as _0x10ccbc,UniverCollaborationPlugin as _0x3c03b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x5b9922,ISocketService as _0x145494,MergeInterceptorFactory as _0x324ea2,HTTPRequest as _0x4ba1c4,UniverNetworkPlugin as _0xc797fa,ThresholdInterceptorFactory as _0x3cb4fe}from'@univerjs/network';import{ITelemetryService as _0x12c52a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3eafab}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c4be3,SetSelectionsOperation as _0xebdb79,InsertSheetMutation as _0x21cc23,EmptyMutation as _0x23cce6,WorkbookEditablePermission as _0x6a1b02,SheetPermissionInitController as _0x15e11e}from'@univerjs/sheets';import{ImageSourceType as _0x437e6e,ImageUploadStatusType as _0x42bf22,IImageIoService as _0x3f6478}from'@univerjs/drawing';import{getGlobalObject as _0x5d2141}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En='SNAPSHOT_URL_KEY',Zs='SEND_CHANGESET_TIMEOUT',In=0x7d0,Tn=_0x1f558c(0x2ce),Cn=_0x1f558c(0x281),Qs=_0x1f558c(0x1d8),bn=_0x1f558c(0x2a9),Rn=0x7530,mi=_0x1f558c(0x3b8),gi=0x4e20,On=0x4e20,yn=_0x1f558c(0x1a2),Nn=0x3,eo=_0x1f558c(0x3cb),to=0x3e8,Dn=_0x1f558c(0x32e),Pn=_0x1f558c(0x34b),wn=_0x1f558c(0x2cd),Un=_0x1f558c(0x13f),io=_0x1f558c(0x29a),no=_0x1f558c(0x2e2);var Si=(_0x39e088=>(_0x39e088[_0x39e088['UNDEFINED']=0x0]=_0x1f558c(0x232),_0x39e088[_0x39e088['OK']=0x1]='OK',_0x39e088[_0x39e088['INTERNAL_ERROR']=0x2]=_0x1f558c(0x1d4),_0x39e088[_0x39e088[_0x1f558c(0x1de)]=0x3]=_0x1f558c(0x1de),_0x39e088[_0x39e088['NOT_FOUND']=0x4]='NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x300)]=0x5]=_0x1f558c(0x300),_0x39e088[_0x39e088[_0x1f558c(0x1b2)]=0x6]='ALREADY_EXISTS',_0x39e088[_0x39e088[_0x1f558c(0x409)]=0x7]=_0x1f558c(0x409),_0x39e088[_0x39e088[_0x1f558c(0x297)]=0x8]='TOO_MANY_REQUESTS',_0x39e088[_0x39e088[_0x1f558c(0x398)]=0x9]=_0x1f558c(0x398),_0x39e088[_0x39e088['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x39e088[_0x39e088[_0x1f558c(0x288)]=0x1771]=_0x1f558c(0x288),_0x39e088[_0x39e088[_0x1f558c(0x3d1)]=0x1772]=_0x1f558c(0x3d1),_0x39e088[_0x39e088[_0x1f558c(0x212)]=0x1773]=_0x1f558c(0x212),_0x39e088[_0x39e088[_0x1f558c(0x14a)]=0x1b59]=_0x1f558c(0x14a),_0x39e088[_0x39e088['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f558c(0x206),_0x39e088[_0x39e088['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f558c(0x32f),_0x39e088[_0x39e088[_0x1f558c(0x292)]=0x1b5c]=_0x1f558c(0x292),_0x39e088[_0x39e088['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x39e088[_0x39e088[_0x1f558c(0x1d7)]=0x1f41]=_0x1f558c(0x1d7),_0x39e088[_0x39e088['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f558c(0x148),_0x39e088[_0x39e088['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f558c(0x1da),_0x39e088[_0x39e088[_0x1f558c(0x2bc)]=0x232b]=_0x1f558c(0x2bc),_0x39e088[_0x39e088['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1f558c(0x2b2),_0x39e088[_0x39e088['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1f558c(0x396),_0x39e088[_0x39e088['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1f558c(0x30b),_0x39e088[_0x39e088[_0x1f558c(0x285)]=0x2712]=_0x1f558c(0x285),_0x39e088[_0x39e088['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x39e088[_0x39e088['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x3a6)]=0x2af9]=_0x1f558c(0x3a6),_0x39e088[_0x39e088['UNRECOGNIZED']=-0x1]=_0x1f558c(0x34f),_0x39e088))(Si||{}),Q=(_0xb8ecdf=>(_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3cd)]=0x0]=_0x1f558c(0x3cd),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x143)]=0x1]=_0x1f558c(0x143),_0xb8ecdf[_0xb8ecdf['UNIVER_SHEET']=0x2]=_0x1f558c(0x3d3),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3e3)]=0x3]=_0x1f558c(0x3e3),_0xb8ecdf[_0xb8ecdf['UNIVER_PROJECT']=0x4]=_0x1f558c(0x243),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0xb8ecdf))(Q||{}),F=(_0x74430b=>(_0x74430b[_0x74430b[_0x1f558c(0x1ad)]=0x0]=_0x1f558c(0x1ad),_0x74430b[_0x74430b[_0x1f558c(0x28b)]=0x1]='HELLO',_0x74430b[_0x74430b[_0x1f558c(0x16e)]=0x2]=_0x1f558c(0x16e),_0x74430b[_0x74430b['LEAVE']=0x3]=_0x1f558c(0x260),_0x74430b[_0x74430b[_0x1f558c(0x24d)]=0x4]=_0x1f558c(0x24d),_0x74430b[_0x74430b[_0x1f558c(0x2c1)]=0x5]='HEARTBEAT',_0x74430b[_0x74430b['RECV']=0x6]='RECV',_0x74430b[_0x74430b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x74430b))(F||{}),ge=(_0x401e4b=>(_0x401e4b[_0x401e4b['UNKNOWN_CODE']=0x0]=_0x1f558c(0x39f),_0x401e4b[_0x401e4b['OK']=0x1]='OK',_0x401e4b[_0x401e4b[_0x1f558c(0x3c8)]=0x2]=_0x1f558c(0x3c8),_0x401e4b[_0x401e4b[_0x1f558c(0x185)]=0x3e9]=_0x1f558c(0x185),_0x401e4b[_0x401e4b[_0x1f558c(0x16a)]=0x3ea]=_0x1f558c(0x16a),_0x401e4b[_0x401e4b[_0x1f558c(0x39b)]=0x3eb]=_0x1f558c(0x39b),_0x401e4b[_0x401e4b[_0x1f558c(0x3bb)]=0x3ec]=_0x1f558c(0x3bb),_0x401e4b[_0x401e4b[_0x1f558c(0x34f)]=-0x1]='UNRECOGNIZED',_0x401e4b))(ge||{}),Ei=(_0x155952=>(_0x155952[_0x155952[_0x1f558c(0x302)]=0x0]='Undefined',_0x155952[_0x155952['HttpImport']=0x1]=_0x1f558c(0x1d6),_0x155952[_0x155952[_0x1f558c(0x2a7)]=0x2]=_0x1f558c(0x2a7),_0x155952[_0x155952[_0x1f558c(0x33c)]=0x3]=_0x1f558c(0x33c),_0x155952[_0x155952['UnitSnapshot']=0x4]='UnitSnapshot',_0x155952[_0x155952[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0x155952))(Ei||{});const q=_0x1f558c(0x1ab),An={};var se=(_0x5978cc=>(_0x5978cc[_0x1f558c(0x222)]='OTHER_CLIENT_EDITING',_0x5978cc[_0x1f558c(0x1de)]='PERMISSION_DENIED',_0x5978cc[_0x1f558c(0x2c7)]='CONFLICT',_0x5978cc[_0x1f558c(0x1ba)]='CLOSE_ROOM',_0x5978cc[_0x1f558c(0x1c1)]=_0x1f558c(0x1c1),_0x5978cc[_0x1f558c(0x1ee)]='SOCKET_FAILED_RETRY',_0x5978cc['SOCKET_FAILED']=_0x1f558c(0x415),_0x5978cc['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5978cc))(se||{});class pe{constructor(){var _0x1669ad=_0x1f558c;N(this,_0x1669ad(0x267),new _0x13d4cc()),N(this,_0x1669ad(0x1c9),this[_0x1669ad(0x267)][_0x1669ad(0x317)]());}[_0x1f558c(0x2ec)](_0x444f6e){var _0x4a5050=_0x1f558c;this[_0x4a5050(0x267)]['next'](_0x444f6e);}}const xn=_0x2235da(_0x1f558c(0x2b0));function Ln(_0xa4b886){var _0x44f1aa=_0x1f558c,_0xe2dae2,_0x1b1006,_0x34b2fd,_0x5d802f,_0x40867b;const _0xffac3a=_0xa4b886[_0x44f1aa(0x2f7)],_0x3344cf=JSON[_0x44f1aa(0x234)](_0xffac3a);switch(_0x3344cf[_0x44f1aa(0x301)]){case F[_0x44f1aa(0x2c1)]:case F[_0x44f1aa(0x28b)]:{const _0x5e21b5=_0x3344cf[_0x44f1aa(0x408)];return{..._0x3344cf,'data':_0x5e21b5,'cmd':_0x3344cf[_0x44f1aa(0x301)]};}case F[_0x44f1aa(0x16e)]:{const _0x395e3f=_0x3344cf[_0x44f1aa(0x21d)];return{..._0x3344cf,'data':_0x395e3f,'cmd':_0x3344cf['cmd']};}case F[_0x44f1aa(0x337)]:{const _0x509568=_0x3344cf['collaMsg'];switch(_0x509568[_0x44f1aa(0x20b)]){case _0x238e1f['PERMISSION_REJ']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0xe2dae2=_0x509568[_0x44f1aa(0x3e6)])==null?void 0x0:_0xe2dae2['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x325)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x1b1006=_0x509568[_0x44f1aa(0x192)])==null?void 0x0:_0x1b1006['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['NEW_CHANGESETS']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x34b2fd=_0x509568[_0x44f1aa(0x233)])==null?void 0x0:_0x34b2fd['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x2ad)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x5d802f=_0x509568['csRejEvent'])==null?void 0x0:_0x5d802f['cs']},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x3dd)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x40867b=_0x509568['csShouldRetryEvent'])==null?void 0x0:_0x40867b['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x33d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3aa)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x2d7)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3d4)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x294)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['leaveEvent']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['LIVESHARE_NEW_HOST']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x23b)]:case _0x238e1f['LIVESHARE_OPERATION']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x369)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x3f1)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf['cmd']};case _0x238e1f['MSG_FOR_ERROR']:return{..._0x3344cf,'data':_0x509568,'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x1ef)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x271)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x1b5)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x2e6)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x190)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x334)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x32d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x413)]},'cmd':_0x3344cf['cmd']};default:return _0x3344cf;}}default:return _0x3344cf;}}function Mn(_0x4002b7){var _0x2143cd=_0x1f558c;switch(_0x4002b7['cmd']){case F[_0x2143cd(0x2c1)]:case F['HELLO']:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)]});case F['INGEST']:{let _0x13c1f6;switch(_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]){case _0x238e1f[_0x2143cd(0x33d)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x33d)],'updateCursorEvent':_0x4002b7['data']['data']};break;}case _0x238e1f['USERS_LEAVE']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x294)],'leaveEvent':_0x4002b7['data']['data']};break;}case _0x238e1f[_0x2143cd(0x2d7)]:{_0x13c1f6={'eventID':_0x238e1f['USERS_ENTER'],'joinEvent':_0x4002b7['data'][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_NEW_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x25b)],'liveShareNewHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3df)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x3df)],'liveShareOperation':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3f1)]:{_0x13c1f6={'eventID':_0x238e1f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4002b7['data']['data']};break;}case _0x238e1f['LIVESHARE_REQUEST_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x340)],'liveShareRequestHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_FETCH_OPERATIONS']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x23b)]};break;}default:_0x13c1f6={'eventID':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]};}return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)],'collaMsg':_0x13c1f6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7[_0x2143cd(0x149)],'joinReq':_0x4002b7[_0x2143cd(0x2f7)]});case F[_0x2143cd(0x260)]:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7['routeKey'],'leaveReq':_0x4002b7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var $n=Object[_0x1f558c(0x175)],Hn=Object[_0x1f558c(0x330)],kn=(_0x235802,_0x2a98bd,_0xc4af4b,_0x1b36f1)=>{for(var _0x45654d=_0x1b36f1>0x1?void 0x0:_0x1b36f1?Hn(_0x2a98bd,_0xc4af4b):_0x2a98bd,_0x36b6a8=_0x235802['length']-0x1,_0x32eefd;_0x36b6a8>=0x0;_0x36b6a8--)(_0x32eefd=_0x235802[_0x36b6a8])&&(_0x45654d=(_0x1b36f1?_0x32eefd(_0x2a98bd,_0xc4af4b,_0x45654d):_0x32eefd(_0x45654d))||_0x45654d);return _0x1b36f1&&_0x45654d&&$n(_0x2a98bd,_0xc4af4b,_0x45654d),_0x45654d;},we=(_0x4c9476,_0x12acf1)=>(_0x11982e,_0x5dbd8c)=>_0x12acf1(_0x11982e,_0x5dbd8c,_0x4c9476);const Ii=_0x2235da(_0x1f558c(0x338));function jn(_0x419f42,_0x140a54,_0x22e2a4){var _0x67aab8=_0x1f558c;return _0x419f42+'/'+_0x140a54+_0x67aab8(0x348)+_0x22e2a4+_0x67aab8(0x254);}let Vt=class extends _0xc53c05{constructor(_0xd72b3a,_0x4e8720,_0x1bdf86,_0x24d883,_0x5beb64){var _0x149dc9=_0x1f558c;super(),this[_0x149dc9(0x1b3)]=_0xd72b3a,this[_0x149dc9(0x2d9)]=_0x4e8720,this[_0x149dc9(0x405)]=_0x1bdf86,this[_0x149dc9(0x343)]=_0x24d883,this[_0x149dc9(0x397)]=_0x5beb64;}['_doCreateSocket'](_0x38f03c){var _0x567777=_0x1f558c;const _0x5e5e48=this[_0x567777(0x1b3)][_0x567777(0x1e3)](_0x145494);if(!_0x5e5e48)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x135c1e=_0x5e5e48['createSocket'](_0x38f03c);if(!_0x135c1e)throw new Error(_0x567777(0x3b3));const _0x246a3d=new _0x17a125(),_0x550c2b=new _0x13d4cc();_0x246a3d['add'](_0x135c1e['close$']['subscribe'](_0x40beca=>_0x550c2b['next'](_0x40beca))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x550c2b['complete']()));const _0x3aade4=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e[_0x567777(0x364)][_0x567777(0x3a4)](_0x1c993e=>_0x3aade4[_0x567777(0x140)](_0x1c993e))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x3aade4[_0x567777(0x345)]()));const _0x1c6783=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e['message$'][_0x567777(0x3a4)](_0x282cba=>{var _0x5da3ef=_0x567777;const _0x273d72=Ln(_0x282cba);_0x1c6783[_0x5da3ef(0x140)](_0x273d72);})),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x1c6783[_0x567777(0x345)]()));let _0x18c1fc;const _0x55969a=()=>{var _0x5c3f46=_0x567777;_0x3aade4[_0x5c3f46(0x140)](new Event('connection\x20error')),_0x550c2b['next'](new Event('connection\x20error')),_0x18c1fc['close']();};return _0x18c1fc={'memberID':'','close$':_0x550c2b['asObservable'](),'error$':_0x3aade4[_0x567777(0x317)](),'open$':_0x135c1e['open$'],'message$':_0x1c6783[_0x567777(0x317)](),'send':_0x1f5465=>{var _0x192331=_0x567777;if(_0x1f5465[_0x192331(0x301)]===F[_0x192331(0x24d)]){if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x328)]){this['_submitChangeset'](_0x18c1fc,_0x1f5465[_0x192331(0x2f7)])[_0x192331(0x16b)](_0x151407=>{var _0x1668d8=_0x192331;this[_0x1668d8(0x343)]['error'](_0x151407),_0x55969a();});return;}if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x199)]){const _0x518616=_0x1f5465['data'];this['_fetchMissChangesets'](_0x518616)[_0x192331(0x1e4)](_0x5d140e=>{var _0x52e424=_0x192331;_0x1c6783[_0x52e424(0x140)]({'cmd':F[_0x52e424(0x337)],'code':ge['OK'],'routeKey':_0x518616[_0x52e424(0x2f7)][_0x52e424(0x3e0)],'routeType':'','data':{'eventID':_0x238e1f[_0x52e424(0x22b)],'data':{'changesets':_0x5d140e}}});})[_0x192331(0x16b)](_0x29ecfa=>{var _0x5f5153=_0x192331;this[_0x5f5153(0x343)][_0x5f5153(0x145)](_0x29ecfa),_0x55969a();});return;}}_0x135c1e[_0x192331(0x1dc)](Mn(_0x1f5465));},'close':()=>{var _0x34d51d=_0x567777;_0x135c1e[_0x34d51d(0x26e)](),_0x246a3d['dispose']();}},_0x18c1fc;}async[_0x1f558c(0x307)](_0x4219e5,_0x2b07bd){var _0x51b073=_0x1f558c,_0xb83097,_0x117644;const {unitType:_0x113fb5,unitID:_0x38a9b8,changeset:_0x821b57}=_0x2b07bd[_0x51b073(0x2f7)],_0x58245b={'unitID':_0x38a9b8,'memberID':_0x4219e5[_0x51b073(0x239)],'type':_0x113fb5,'changeset':_0x32fcbc(_0x821b57)},_0x49a3c7=this[_0x51b073(0x405)][_0x51b073(0x2a0)](Dn),_0x24e357=this[_0x51b073(0x405)]['getConfig'](q),_0x27f7e8=jn((_0x117644=(_0xb83097=_0x24e357==null?void 0x0:_0x24e357[_0x51b073(0x168)])!=null?_0xb83097:_0x49a3c7)!=null?_0x117644:Pn,_0x113fb5,_0x38a9b8);try{await this[_0x51b073(0x2d9)]['post'](_0x27f7e8,{'body':_0x58245b});}catch(_0x489e0e){throw this[_0x51b073(0x343)][_0x51b073(0x145)](_0x51b073(0x3fa),_0x51b073(0x1e1)),_0x489e0e;}}async[_0x1f558c(0x1f7)](_0xee5f83){var _0x2f0b8c=_0x1f558c;const {unitID:_0x211b83,from:_0xbd8f02,to:_0x194e05,unitType:_0x165495}=_0xee5f83[_0x2f0b8c(0x2f7)];return(await this[_0x2f0b8c(0x397)][_0x2f0b8c(0x24a)]({'metadata':void 0x0},{'unitID':_0x211b83,'type':_0x165495,'from':_0xbd8f02,'to':_0x194e05}))[_0x2f0b8c(0x200)];}};Vt=kn([we(0x0,_0x5b2811(_0x5b79bd)),we(0x1,_0x5b2811(_0x5b9922)),we(0x2,_0x4ea54a),we(0x3,_0x574408),we(0x4,_0x389d38)],Vt);const Bn=_0x1f558c(0x2c4);function Fn(_0x3e912e){var _0x3cd827=_0x1f558c;return JSON[_0x3cd827(0x283)](_0x3e912e)[_0x3cd827(0x158)];}class Ti{constructor(){var _0x1683c9=_0x1f558c;N(this,_0x1683c9(0x32b),new _0x13d4cc()),N(this,_0x1683c9(0x34e),this[_0x1683c9(0x32b)][_0x1683c9(0x317)]());}[_0x1f558c(0x358)](_0x209e4f){var _0x2cd29c=_0x1f558c;this[_0x2cd29c(0x32b)][_0x2cd29c(0x140)](_0x209e4f);}}var Gn=Object[_0x1f558c(0x175)],Vn=Object[_0x1f558c(0x330)],Wn=(_0x12f010,_0x31b9db,_0x354aa7,_0x11a0b8)=>{var _0x262cc1=_0x1f558c;for(var _0x5dc312=_0x11a0b8>0x1?void 0x0:_0x11a0b8?Vn(_0x31b9db,_0x354aa7):_0x31b9db,_0x45826b=_0x12f010[_0x262cc1(0x158)]-0x1,_0x32a036;_0x45826b>=0x0;_0x45826b--)(_0x32a036=_0x12f010[_0x45826b])&&(_0x5dc312=(_0x11a0b8?_0x32a036(_0x31b9db,_0x354aa7,_0x5dc312):_0x32a036(_0x5dc312))||_0x5dc312);return _0x11a0b8&&_0x5dc312&&Gn(_0x31b9db,_0x354aa7,_0x5dc312),_0x5dc312;},Wt=(_0x3fe96c,_0x51d321)=>(_0xdb55a,_0x9f59f2)=>_0x51d321(_0xdb55a,_0x9f59f2,_0x3fe96c);let xe=class extends _0xc53c05{constructor(_0x1cfa0c,_0x13b554){var _0xd54980=_0x1f558c;super(),N(this,_0xd54980(0x3f5),new Map()),N(this,'_roomCreated$',new _0x13d4cc()),(this['_univerInstanceService']=_0x1cfa0c,this['_userManagerService']=_0x13b554,this['disposeWithMe'](_0x404c78(this['_univerInstanceService'][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3d3)])['pipe'](_0xeca816(_0x36c16c=>_0x36c16c[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x143)])['pipe'](_0xeca816(_0x4775d1=>_0x4775d1[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3e3)])[_0xd54980(0x41e)](_0xeca816(_0x10b2d5=>_0x10b2d5[_0xd54980(0x253)]())))[_0xd54980(0x3a4)](_0x5490eb=>this['_removeRoom'](_0x5490eb))));}[_0x1f558c(0x26c)](_0x17d51c){var _0x42b002=_0x1f558c;return this[_0x42b002(0x3f5)]['has'](_0x17d51c)?_0xb786a0(this[_0x42b002(0x3f5)][_0x42b002(0x1e3)](_0x17d51c)):this[_0x42b002(0x1e5)][_0x42b002(0x41e)](_0xeca816(_0xbebec4=>{var _0x95c450=_0x42b002;if(_0xbebec4===_0x17d51c)return this['_roomMembers'][_0x95c450(0x1e3)](_0xbebec4);}));}[_0x1f558c(0x18e)](_0x373d95){var _0x1d71f0=_0x1f558c;this[_0x1d71f0(0x2f4)][_0x1d71f0(0x18e)](_0x373d95);}[_0x1f558c(0x1d3)](){var _0x1a0ee7=_0x1f558c;return this[_0x1a0ee7(0x2f4)][_0x1a0ee7(0x1d3)]();}[_0x1f558c(0x150)](_0x58a6da,_0x284b26){var _0x56c6e9=_0x1f558c;let _0x1fee26=this[_0x56c6e9(0x3f5)][_0x56c6e9(0x1e3)](_0x58a6da);_0x1fee26||(_0x1fee26=new Kn(),this[_0x56c6e9(0x3f5)][_0x56c6e9(0x319)](_0x58a6da,_0x1fee26),this['_roomCreated$'][_0x56c6e9(0x140)](_0x58a6da)),_0x1fee26[_0x56c6e9(0x150)](_0x284b26);}[_0x1f558c(0x3f2)](_0x3b184b,_0x445156){var _0x4b6fad=_0x1f558c;const _0x420207=this[_0x4b6fad(0x3f5)][_0x4b6fad(0x1e3)](_0x3b184b);_0x420207&&_0x420207[_0x4b6fad(0x3f2)](_0x445156);}[_0x1f558c(0x186)](_0x434d63){var _0x292072=_0x1f558c;return this[_0x292072(0x3f5)][_0x292072(0x1e3)](_0x434d63);}[_0x1f558c(0x347)](_0x3063be,_0x815dc3){var _0x11f214=_0x1f558c;const _0x1abd6a=this['_roomMembers'][_0x11f214(0x1e3)](_0x3063be);if(_0x1abd6a)return _0x1abd6a[_0x11f214(0x347)](_0x815dc3);}['_removeRoom'](_0x1edf98){var _0x150eed=_0x1f558c;const _0x491297=this[_0x150eed(0x3f5)][_0x150eed(0x1e3)](_0x1edf98);_0x491297&&(_0x491297[_0x150eed(0x227)](),this['_roomMembers'][_0x150eed(0x167)](_0x1edf98));}[_0x1f558c(0x227)](){var _0x4eeb21=_0x1f558c;this['_roomMembers'][_0x4eeb21(0x179)](_0x1818e7=>_0x1818e7['dispose']()),this['_roomMembers']['clear'](),this[_0x4eeb21(0x1e5)]['complete']();}};xe=Wn([Wt(0x0,_0x30c3be),Wt(0x1,_0x5b2811(_0x10939a))],xe);class Kn extends _0xc53c05{constructor(){var _0x36e8a3=_0x1f558c;super(...arguments),N(this,_0x36e8a3(0x36b),new Map()),N(this,_0x36e8a3(0x14f),new _0x12b284(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x1f558c(0x227)](){var _0x3f5dc0=_0x1f558c;this[_0x3f5dc0(0x36b)]['clear']();}[_0x1f558c(0x150)](_0x29edda){var _0x43eff9=_0x1f558c;this[_0x43eff9(0x36b)][_0x43eff9(0x319)](_0x29edda['memberID'],_0x29edda),this[_0x43eff9(0x165)]();}['removeMember'](_0x23fa81){this['_members']['delete'](_0x23fa81);}[_0x1f558c(0x347)](_0x57ec26){var _0x4396fb=_0x1f558c;return this[_0x4396fb(0x36b)][_0x4396fb(0x1e3)](_0x57ec26);}[_0x1f558c(0x423)](){var _0xbcb993=_0x1f558c;return Array[_0xbcb993(0x392)](this[_0xbcb993(0x36b)][_0xbcb993(0x351)]());}['_emitMembers'](){var _0x3373e4=_0x1f558c;this[_0x3373e4(0x14f)][_0x3373e4(0x140)](this[_0x3373e4(0x36b)]);}}var Yn=Object[_0x1f558c(0x175)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x18a1c6,_0x547b3c,_0x410b33,_0x4f681d)=>{for(var _0x52aa11=_0x4f681d>0x1?void 0x0:_0x4f681d?qn(_0x547b3c,_0x410b33):_0x547b3c,_0xd1a9e6=_0x18a1c6['length']-0x1,_0x22e8e4;_0xd1a9e6>=0x0;_0xd1a9e6--)(_0x22e8e4=_0x18a1c6[_0xd1a9e6])&&(_0x52aa11=(_0x4f681d?_0x22e8e4(_0x547b3c,_0x410b33,_0x52aa11):_0x22e8e4(_0x52aa11))||_0x52aa11);return _0x4f681d&&_0x52aa11&&Yn(_0x547b3c,_0x410b33,_0x52aa11),_0x52aa11;},me=(_0x39cba7,_0x51fc2e)=>(_0x47d103,_0x94cf8e)=>_0x51fc2e(_0x47d103,_0x94cf8e,_0x39cba7),Ee=(_0x54e54d=>(_0x54e54d[_0x54e54d[_0x1f558c(0x21a)]=0x0]=_0x1f558c(0x21a),_0x54e54d[_0x54e54d[_0x1f558c(0x279)]=0x1]=_0x1f558c(0x279),_0x54e54d[_0x54e54d[_0x1f558c(0x18f)]=0x2]=_0x1f558c(0x18f),_0x54e54d[_0x54e54d[_0x1f558c(0x262)]=0x3]='ONLINE',_0x54e54d))(Ee||{});const Kt={[ge[_0x1f558c(0x3c8)]]:_0x1f558c(0x142),[ge['JOIN_ROOM_FULL']]:_0x1f558c(0x146),[ge[_0x1f558c(0x16a)]]:'session.room-not-exists',[ge[_0x1f558c(0x39b)]]:'session.room-permission-denied',[ge[_0x1f558c(0x3bb)]]:_0x1f558c(0x3d5)};let Et=class extends _0x1a5dd9{constructor(_0x4ceb77,_0x7ae637,_0x316d79,_0x1d63af,_0x4c52b9,_0x525066,_0x24636f,_0x3f6a41,_0x25ba3d){var _0x3e80db=_0x1f558c;super(),N(this,_0x3e80db(0x277),new _0x12b284(0x0)),N(this,_0x3e80db(0x3ce),this[_0x3e80db(0x277)][_0x3e80db(0x317)]()),N(this,'_event$',new _0x13d4cc()),N(this,'event$',this[_0x3e80db(0x267)][_0x3e80db(0x317)]()),N(this,_0x3e80db(0x20f)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x3e80db(0x25f),!0x1),N(this,_0x3e80db(0x1b6),null),(this['_unitID']=_0x4ceb77,this[_0x3e80db(0x343)]=_0x316d79,this['_configService']=_0x1d63af,this[_0x3e80db(0x2c0)]=_0x4c52b9,this[_0x3e80db(0x35e)]=_0x525066,this[_0x3e80db(0x378)]=_0x24636f,this['_collaborationUIEventService']=_0x3f6a41,this[_0x3e80db(0x353)]=_0x25ba3d,this[_0x3e80db(0x25f)]=!!this[_0x3e80db(0x353)],_0x7ae637[_0x3e80db(0x41e)](_0x29925c(this['dispose$']))[_0x3e80db(0x3a4)](_0x17f35b=>{var _0x61ef42=_0x3e80db,_0x4f3fef;typeof _0x17f35b>'u'||(this[_0x61ef42(0x20f)]=_0x17f35b,_0x17f35b?(this['_joinRoom'](_0x17f35b),this[_0x61ef42(0x228)]=_0x17f35b[_0x61ef42(0x2e5)]['subscribe'](_0x4504d6=>{var _0x1587d5=_0x61ef42;_0x4504d6[_0x1587d5(0x149)]===this[_0x1587d5(0x17f)]&&this[_0x1587d5(0x151)](_0x4504d6);})):(this[_0x61ef42(0x421)](),this[_0x61ef42(0x277)]['next'](0x2),(_0x4f3fef=this[_0x61ef42(0x228)])==null||_0x4f3fef[_0x61ef42(0x207)](),this[_0x61ef42(0x228)]=null));}));}get[_0x1f558c(0x21c)](){var _0x16ccf2=_0x1f558c;return this[_0x16ccf2(0x277)][_0x16ccf2(0x213)]();}[_0x1f558c(0x22d)](){var _0x19d2f2=_0x1f558c,_0x5a2253,_0x3c2ba2;return(_0x3c2ba2=(_0x5a2253=this[_0x19d2f2(0x20f)])==null?void 0x0:_0x5a2253[_0x19d2f2(0x239)])!=null?_0x3c2ba2:null;}[_0x1f558c(0x227)](){var _0xfdb7d8=_0x1f558c;super[_0xfdb7d8(0x227)](),this[_0xfdb7d8(0x270)][_0xfdb7d8(0x140)](),this[_0xfdb7d8(0x270)]['complete']();}[_0x1f558c(0x26e)](){var _0x2e2b41=_0x1f558c,_0x22a145,_0x234a62;this[_0x2e2b41(0x421)](),(_0x22a145=this['_socket'])==null||_0x22a145[_0x2e2b41(0x1dc)]({'cmd':F[_0x2e2b41(0x260)],'data':{'roomID':this['_unitID']}}),(_0x234a62=this['_socket'])==null||_0x234a62[_0x2e2b41(0x26e)](),this[_0x2e2b41(0x267)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x277)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x227)]();}[_0x1f558c(0x151)](_0x3a879e){var _0x5b6cd4=_0x1f558c;_0x3a879e[_0x5b6cd4(0x301)]===F['JOIN']?this[_0x5b6cd4(0x344)](_0x3a879e):_0x3a879e[_0x5b6cd4(0x301)]===F[_0x5b6cd4(0x337)]&&this['_onRecvEvent'](_0x3a879e);}[_0x1f558c(0x375)](_0x4882cc){var _0x21d69b=_0x1f558c;this[_0x21d69b(0x277)]['next'](0x1),_0x4882cc[_0x21d69b(0x1dc)]({'cmd':F[_0x21d69b(0x16e)],'routeKey':this[_0x21d69b(0x17f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d69b(0x17f)]}]}});}[_0x1f558c(0x344)](_0x3d91c7){var _0x213f35=_0x1f558c,_0xd248c3;if(_0x3d91c7['code']in Kt){this[_0x213f35(0x323)][_0x213f35(0x2ec)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x3d91c7[_0x213f35(0x3e7)]]}),this['_sessionStatus$'][_0x213f35(0x140)](0x2);return;}this[_0x213f35(0x277)][_0x213f35(0x140)](0x3);const _0x244bdb=(_0xd248c3=_0x3d91c7[_0x213f35(0x2f7)][_0x213f35(0x27e)][this[_0x213f35(0x17f)]])==null?void 0x0:_0xd248c3[_0x213f35(0x16d)];_0x244bdb&&_0x244bdb[_0x213f35(0x179)](_0x4fe3f3=>this[_0x213f35(0x35e)][_0x213f35(0x150)](this[_0x213f35(0x17f)],_0x4fe3f3));}['_onRecvEvent'](_0x13c9b7){var _0x1f02dc=_0x1f558c;try{const _0x2bd35b=_0x13c9b7[_0x1f02dc(0x2f7)];switch(_0x2bd35b['eventID']){case _0x238e1f[_0x1f02dc(0x2d7)]:this[_0x1f02dc(0x1e2)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f['USERS_LEAVE']:this[_0x1f02dc(0x365)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x325)]:case _0x238e1f[_0x1f02dc(0x3dd)]:this[_0x1f02dc(0x1f9)](),this[_0x1f02dc(0x16f)](),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x219)]:this['_logService'][_0x1f02dc(0x145)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1f02dc(0x283)](_0x2bd35b)),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x1ef)]:this['_commentService'][_0x1f02dc(0x358)](_0x2bd35b['data']),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;default:this[_0x1f02dc(0x267)]['next'](_0x2bd35b);}}catch(_0x8a7db5){this[_0x1f02dc(0x343)][_0x1f02dc(0x145)](_0x8a7db5,_0x13c9b7);}}[_0x1f558c(0x1e2)](_0x108f30){var _0x1277de=_0x1f558c;this[_0x1277de(0x35e)][_0x1277de(0x150)](this[_0x1277de(0x17f)],_0x108f30['data']);}[_0x1f558c(0x365)](_0x17b474){var _0x42a98d=_0x1f558c;this['_memberService']['removeMember'](this['_unitID'],_0x17b474[_0x42a98d(0x2f7)]['memberID']);}async['send'](_0x542404,_0x3306ce){var _0xca3e07=_0x1f558c;if(this[_0xca3e07(0x21c)]!==0x3||!this[_0xca3e07(0x20f)])throw new Error(_0xca3e07(0x2ee));try{_0x542404['eventID']===_0x238e1f[_0xca3e07(0x328)]&&(this[_0xca3e07(0x1f5)](),this[_0xca3e07(0x2b8)](_0x542404)),this[_0xca3e07(0x20f)][_0xca3e07(0x1dc)]({'cmd':F[_0xca3e07(0x24d)],'routeKey':_0x3306ce,'routeType':'','data':_0x542404});}catch(_0x566503){this['_logService'][_0xca3e07(0x145)](_0x566503);}}[_0x1f558c(0x1f5)](){var _0x36bddc=_0x1f558c,_0x2bb276;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x233f2c=_0x4725;this[_0x233f2c(0x3ca)]=null,this[_0x233f2c(0x323)][_0x233f2c(0x2ec)]({'id':se[_0x233f2c(0x27f)]});},(_0x2bb276=this[_0x36bddc(0x405)]['getConfig'](mi))!=null?_0x2bb276:gi);}[_0x1f558c(0x16f)](){var _0x50cb43=_0x1f558c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x50cb43(0x3ca)]),this[_0x50cb43(0x3ca)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f50c3){var _0x3ea196=_0x1f558c;if(!this[_0x3ea196(0x25f)])return;const {data:_0x574835}=_0x2f50c3,{unitID:_0x23a9bd,changeset:_0x3d1c8f}=_0x574835,{mutations:_0x45c335,type:_0x20572c}=_0x3d1c8f;this[_0x3ea196(0x1b6)]={'unitId':_0x23a9bd,'type':_0x20572c,'startTime':performance[_0x3ea196(0x434)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x45c335)};}[_0x1f558c(0x1f9)](){var _0x392caa=_0x1f558c;if(this[_0x392caa(0x25f)]){if(!this[_0x392caa(0x1b6)]){this['_logService'][_0x392caa(0x145)](_0x392caa(0x3fa),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x392caa(0x1b6)][_0x392caa(0x220)]=performance[_0x392caa(0x434)](),this[_0x392caa(0x1b6)][_0x392caa(0x2dd)]=this[_0x392caa(0x1b6)][_0x392caa(0x220)]-this[_0x392caa(0x1b6)]['startTime'],this[_0x392caa(0x353)][_0x392caa(0x2fa)](Bn,this[_0x392caa(0x1b6)]),this[_0x392caa(0x1b6)]=null;}}[_0x1f558c(0x421)](){var _0x3497ef=_0x1f558c;this[_0x3497ef(0x1b6)]=null;}};Et=zn([me(0x2,_0x574408),me(0x3,_0x4ea54a),me(0x4,_0x5b2811(_0x426c5e)),me(0x5,_0x5b2811(xe)),me(0x6,_0x5b2811(Ti)),me(0x7,_0x5b2811(pe)),me(0x8,_0x40673b(_0x12c52a))],Et);var Jn=Object[_0x1f558c(0x175)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2cde4a,_0x38525b,_0x5b30cd,_0x387990)=>{var _0x67eaa4=_0x1f558c;for(var _0x1a4091=_0x387990>0x1?void 0x0:_0x387990?Xn(_0x38525b,_0x5b30cd):_0x38525b,_0x5c183d=_0x2cde4a[_0x67eaa4(0x158)]-0x1,_0x4e42f3;_0x5c183d>=0x0;_0x5c183d--)(_0x4e42f3=_0x2cde4a[_0x5c183d])&&(_0x1a4091=(_0x387990?_0x4e42f3(_0x38525b,_0x5b30cd,_0x1a4091):_0x4e42f3(_0x1a4091))||_0x1a4091);return _0x387990&&_0x1a4091&&Jn(_0x38525b,_0x5b30cd,_0x1a4091),_0x1a4091;},Re=(_0x3e4a36,_0x326405)=>(_0x4be005,_0xcbe9e3)=>_0x326405(_0x4be005,_0xcbe9e3,_0x3e4a36);let Le=class extends _0xc53c05{constructor(_0x4909e5,_0x4d1876,_0x29d265,_0x2ecbdd,_0x5819aa,_0x54064d){var _0x29b8de=_0x1f558c;super(),N(this,'_socket$',new _0x12b284(void 0x0)),N(this,_0x29b8de(0x3ad),this[_0x29b8de(0x280)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x31c),null),N(this,_0x29b8de(0x193),new Map()),N(this,'_status$',new _0x12b284(Ee[_0x29b8de(0x21a)])),N(this,_0x29b8de(0x2b3),this[_0x29b8de(0x282)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x2a8),!0x1),N(this,_0x29b8de(0x37e)),N(this,_0x29b8de(0x2e4),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x29b8de(0x384)),(this[_0x29b8de(0x1b3)]=_0x4909e5,this['_logService']=_0x4d1876,this['_configService']=_0x29d265,this[_0x29b8de(0x21f)]=_0x2ecbdd,this[_0x29b8de(0x323)]=_0x5819aa,this[_0x29b8de(0x2bf)]=_0x54064d,this[_0x29b8de(0x293)]());}get['_socket'](){var _0x2b7d85=_0x1f558c;return this[_0x2b7d85(0x280)][_0x2b7d85(0x213)]();}[_0x1f558c(0x293)](){var _0x41643f=_0x1f558c;this[_0x41643f(0x2bf)]&&this[_0x41643f(0x2d6)](this[_0x41643f(0x2bf)][_0x41643f(0x278)][_0x41643f(0x3a4)](_0x5dfb2b=>{var _0x2df9bf=_0x41643f;_0x5dfb2b&&!this[_0x2df9bf(0x20f)]&&this[_0x2df9bf(0x341)](),_0x5dfb2b||this[_0x2df9bf(0x3b9)]();}));}[_0x1f558c(0x227)](){var _0x8fc108=_0x1f558c;super[_0x8fc108(0x227)](),this[_0x8fc108(0x193)][_0x8fc108(0x179)](_0x3270d8=>_0x3270d8['dispose']()),this[_0x8fc108(0x193)]['clear'](),this[_0x8fc108(0x282)][_0x8fc108(0x345)]();}async[_0x1f558c(0x1a7)](_0x32b9ac){var _0x2b6679=_0x1f558c;if(this[_0x2b6679(0x193)]['has'](_0x32b9ac))return this[_0x2b6679(0x193)][_0x2b6679(0x1e3)](_0x32b9ac);this['_tryEnsureSocket']();const _0x3e78fa=this[_0x2b6679(0x1b3)][_0x2b6679(0x38e)](Et,_0x32b9ac,this[_0x2b6679(0x280)]['asObservable']());return this[_0x2b6679(0x193)][_0x2b6679(0x319)](_0x32b9ac,_0x3e78fa),_0x3e78fa;}[_0x1f558c(0x1a8)](_0xdfe921){var _0x1be5cb=_0x1f558c,_0x199a55;const _0xb7095c=this[_0x1be5cb(0x193)]['get'](_0xdfe921);_0xb7095c&&(this[_0x1be5cb(0x193)][_0x1be5cb(0x167)](_0xdfe921),_0xb7095c[_0x1be5cb(0x26e)]()),this[_0x1be5cb(0x193)][_0x1be5cb(0x191)]||(_0x199a55=this[_0x1be5cb(0x20f)])==null||_0x199a55['close']();}[_0x1f558c(0x341)](){var _0x2ae992=_0x1f558c;this[_0x2ae992(0x2e4)]=0x0,this[_0x2ae992(0x37e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2ae992(0x37e)]=null),this[_0x2ae992(0x412)]();}async[_0x1f558c(0x374)](){var _0x268edf=_0x1f558c,_0x18dcc2,_0x52c8f0;const _0x419a32=this['_configService']['getConfig'](Tn),_0x5afb09=this['_configService'][_0x268edf(0x2a0)](q),_0x4df2e7=(_0x52c8f0=(_0x18dcc2=_0x5afb09==null?void 0x0:_0x5afb09[_0x268edf(0x394)])!=null?_0x18dcc2:_0x419a32)!=null?_0x52c8f0:Cn,_0x180a67=await this['_socketService'][_0x268edf(0x402)](_0x4df2e7);return this[_0x268edf(0x31c)]=_0x180a67,_0x180a67;}async[_0x1f558c(0x3c1)](){var _0xaf17cd=_0x1f558c,_0x49e9b0,_0x348e85;try{const _0x111469=(_0x348e85=(_0x49e9b0=this[_0xaf17cd(0x20f)])!=null?_0x49e9b0:this[_0xaf17cd(0x31c)])!=null?_0x348e85:await this[_0xaf17cd(0x374)]();if(_0x111469){const _0x54c503=_0x111469['send'];_0x111469['send']=_0x4bd971=>(this[_0xaf17cd(0x357)](),_0x54c503[_0xaf17cd(0x1fa)](_0x111469,[_0x4bd971])),_0x111469['message$'][_0xaf17cd(0x3a4)](_0x3d7c48=>this[_0xaf17cd(0x224)](_0x111469,_0x3d7c48)),_0x111469[_0xaf17cd(0x364)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](_0x3ba3ce=>this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0xaf17cd(0x23c),_0x3ba3ce)),_0x111469[_0xaf17cd(0x333)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](()=>{var _0x2cd8e0=_0xaf17cd;this[_0x2cd8e0(0x3c2)](_0x111469);}),_0x111469['close$'][_0xaf17cd(0x41e)](_0x56ed41(0x1))[_0xaf17cd(0x3a4)](_0x522241=>{var _0x4782ba=_0xaf17cd;this[_0x4782ba(0x343)][_0x4782ba(0x2e3)]('[CollaborationSessionService]',_0x4782ba(0x2d2),_0x522241),this['_onConnectionFailed']();});}}catch(_0x164463){this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0x164463),this[_0xaf17cd(0x38d)]();}}[_0x1f558c(0x3c2)](_0x2b07ae){var _0x1b06c4=_0x1f558c;this['_logService']['debug'](_0x1b06c4(0x3be),_0x1b06c4(0x1b4)),_0x2b07ae[_0x1b06c4(0x1dc)]({'cmd':F['HELLO']}),this[_0x1b06c4(0x357)]();}[_0x1f558c(0x3b9)](){var _0x12838a=_0x1f558c;this[_0x12838a(0x2a8)]=!0x1,this[_0x12838a(0x31c)]=null,this[_0x12838a(0x282)]['next'](Ee[_0x12838a(0x18f)]),this[_0x12838a(0x280)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12838a(0x196)]();}[_0x1f558c(0x38d)](){var _0x51b5bf=_0x1f558c,_0x2b6f94;this['_onOffline'](),this[_0x51b5bf(0x2e4)]<((_0x2b6f94=this['_configService'][_0x51b5bf(0x2a0)](yn))!=null?_0x2b6f94:Nn)?(this['_collaborationUIEventService'][_0x51b5bf(0x2ec)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x51b5bf(0x412)]()):this[_0x51b5bf(0x323)]['emitEvent']({'id':se[_0x51b5bf(0x415)]});}[_0x1f558c(0x412)](){var _0x406dfb=_0x1f558c,_0x4fbfcc;const _0x138fef=this[_0x406dfb(0x2e4)],_0x44b7f9=this['_configService'][_0x406dfb(0x2a0)](q),_0x3b186a=_0x138fef===0x0?0x0:((_0x4fbfcc=_0x44b7f9==null?void 0x0:_0x44b7f9[_0x406dfb(0x40a)])!=null?_0x4fbfcc:On)*0x2**_0x138fef;this[_0x406dfb(0x37e)]=setTimeout(()=>{var _0x2c7ed8=_0x406dfb;clearTimeout(this[_0x2c7ed8(0x37e)]),this[_0x2c7ed8(0x37e)]=null,this['_tryEnsureSocket']();},_0x3b186a),this[_0x406dfb(0x2e4)]+=0x1;}[_0x1f558c(0x224)](_0x260b1b,_0x4f3855){var _0x3b6ca8=_0x1f558c;const {cmd:_0x5005a0}=_0x4f3855;_0x5005a0===F[_0x3b6ca8(0x28b)]&&!this[_0x3b6ca8(0x2a8)]&&(_0x260b1b[_0x3b6ca8(0x239)]=_0x4f3855[_0x3b6ca8(0x2f7)][_0x3b6ca8(0x239)],this['_socket$'][_0x3b6ca8(0x140)](_0x260b1b),this[_0x3b6ca8(0x282)][_0x3b6ca8(0x140)](Ee[_0x3b6ca8(0x262)]),this[_0x3b6ca8(0x2a8)]=!0x0,this[_0x3b6ca8(0x31c)]=null),_0x5005a0===F[_0x3b6ca8(0x2c1)]&&this[_0x3b6ca8(0x137)](),this[_0x3b6ca8(0x357)]();}[_0x1f558c(0x357)](){var _0x4dabe1=_0x1f558c,_0x4d8510;this['_clearHeartbeatTimer'](),this[_0x4dabe1(0x144)]=setTimeout(()=>this[_0x4dabe1(0x155)](),(_0x4d8510=this[_0x4dabe1(0x405)][_0x4dabe1(0x2a0)](bn))!=null?_0x4d8510:Rn);}['_sendHeartbeat'](){var _0x40cbda=_0x1f558c;this[_0x40cbda(0x20f)]['send']({'cmd':F[_0x40cbda(0x2c1)]}),this[_0x40cbda(0x29f)]();}[_0x1f558c(0x29f)](){var _0x25368a=_0x1f558c,_0x3e270b;this[_0x25368a(0x384)]=setTimeout(()=>this[_0x25368a(0x38d)](),(_0x3e270b=this[_0x25368a(0x405)]['getConfig'](mi))!=null?_0x3e270b:gi);}[_0x1f558c(0x196)](){var _0x586cd4=_0x1f558c;this[_0x586cd4(0x144)]!=null&&(clearTimeout(this[_0x586cd4(0x144)]),this['_sendHeartbeatTimer']=null);}[_0x1f558c(0x137)](){var _0x1f64a9=_0x1f558c;this[_0x1f64a9(0x384)]!=null&&(clearTimeout(this[_0x1f64a9(0x384)]),this[_0x1f64a9(0x384)]=null);}};Le=Zn([Re(0x0,_0x5b2811(_0x5b79bd)),Re(0x1,_0x574408),Re(0x2,_0x4ea54a),Re(0x3,Ii),Re(0x4,_0x5b2811(pe)),Re(0x5,_0x40673b(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1f558c(0x1eb)]((n+0x100)[_0x1f558c(0x28c)](0x10)[_0x1f558c(0x2db)](0x1));function Qn(_0x47655d,_0x4ad0a8=0x0){var _0xe12053=_0x1f558c;return(G[_0x47655d[_0x4ad0a8+0x0]]+G[_0x47655d[_0x4ad0a8+0x1]]+G[_0x47655d[_0x4ad0a8+0x2]]+G[_0x47655d[_0x4ad0a8+0x3]]+'-'+G[_0x47655d[_0x4ad0a8+0x4]]+G[_0x47655d[_0x4ad0a8+0x5]]+'-'+G[_0x47655d[_0x4ad0a8+0x6]]+G[_0x47655d[_0x4ad0a8+0x7]]+'-'+G[_0x47655d[_0x4ad0a8+0x8]]+G[_0x47655d[_0x4ad0a8+0x9]]+'-'+G[_0x47655d[_0x4ad0a8+0xa]]+G[_0x47655d[_0x4ad0a8+0xb]]+G[_0x47655d[_0x4ad0a8+0xc]]+G[_0x47655d[_0x4ad0a8+0xd]]+G[_0x47655d[_0x4ad0a8+0xe]]+G[_0x47655d[_0x4ad0a8+0xf]])[_0xe12053(0x3e1)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x1cff23=_0x1f558c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cff23(0x22c));ut=crypto[_0x1cff23(0x3ac)][_0x1cff23(0x26a)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x1f558c(0x359)]&&crypto[_0x1f558c(0x359)][_0x1f558c(0x26a)](crypto),Yt={'randomUUID':ir};function nr(_0x5227d2,_0xedf57b,_0x368519){var _0x17fcc9=_0x1f558c,_0x4556ae,_0x544d1e,_0x2ae93a;if(Yt[_0x17fcc9(0x359)]&&!_0x5227d2)return Yt['randomUUID']();_0x5227d2=_0x5227d2||{};const _0x518588=(_0x2ae93a=(_0x544d1e=_0x5227d2['random'])!=null?_0x544d1e:(_0x4556ae=_0x5227d2[_0x17fcc9(0x40b)])==null?void 0x0:_0x4556ae[_0x17fcc9(0x178)](_0x5227d2))!=null?_0x2ae93a:tr();if(_0x518588['length']<0x10)throw new Error(_0x17fcc9(0x1b9));return _0x518588[0x6]=_0x518588[0x6]&0xf|0x40,_0x518588[0x8]=_0x518588[0x8]&0x3f|0x80,Qn(_0x518588);}const J=_0x2235da('collaboration-client.local-cache-service');function ro(_0x4319e5){var _0x2724b1=_0x1f558c;return _0x2724b1(0x41f)+_0x4319e5;}var rr=Object[_0x1f558c(0x175)],sr=Object[_0x1f558c(0x330)],or=(_0x12e0da,_0x1dcd99,_0x2f808f,_0x3f94a4)=>{var _0x1ba802=_0x1f558c;for(var _0x3cf979=_0x3f94a4>0x1?void 0x0:_0x3f94a4?sr(_0x1dcd99,_0x2f808f):_0x1dcd99,_0x389888=_0x12e0da[_0x1ba802(0x158)]-0x1,_0x992f8e;_0x389888>=0x0;_0x389888--)(_0x992f8e=_0x12e0da[_0x389888])&&(_0x3cf979=(_0x3f94a4?_0x992f8e(_0x1dcd99,_0x2f808f,_0x3cf979):_0x992f8e(_0x3cf979))||_0x3cf979);return _0x3f94a4&&_0x3cf979&&rr(_0x1dcd99,_0x2f808f,_0x3cf979),_0x3cf979;},dt=(_0x2ada44,_0x4ebf39)=>(_0x53d822,_0x58c280)=>_0x4ebf39(_0x53d822,_0x58c280,_0x2ada44);function ar(_0x361cb8){var _0x40c645=_0x1f558c;const {unitID:_0x3af491,mutations:_0x19c130}=_0x361cb8;return{'unitId':_0x3af491,'subUnitId':_0x19c130[0x0][_0x40c645(0x3b2)][_0x40c645(0x209)]};}let it=class{constructor(_0x38166a,_0x55e3e9,_0x526b9f){var _0x287b1=_0x1f558c;this[_0x287b1(0x1b3)]=_0x38166a,this[_0x287b1(0x38a)]=_0x55e3e9,this[_0x287b1(0x1c7)]=_0x526b9f;}[_0x1f558c(0x188)](_0x1fbff3){var _0x342568=_0x1f558c,_0x539e68,_0x27f3a3,_0xe12a08,_0x4ad9e4;const _0x144b4d=this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x5c4be3),{unitId:_0x265cf5,subUnitId:_0x5eb5dc}=ar(_0x1fbff3),_0x28f63d=_0x144b4d==null?void 0x0:_0x144b4d[_0x342568(0x39a)](_0x265cf5)[_0x342568(0x3b4)](),_0x5b00b1=(_0x27f3a3=(_0x539e68=this[_0x342568(0x1c7)]['getUnit'](_0x265cf5))==null?void 0x0:_0x539e68['getActiveSheet']())==null?void 0x0:_0x27f3a3[_0x342568(0x266)]();if(_0x28f63d[_0x342568(0x158)]===0x0||!_0x265cf5||!_0x5eb5dc)return;const _0x53ce09=[{'id':_0xebdb79['id'],'params':{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x2d4a2c[_0x342568(0x1ff)](_0x28f63d)}}],_0x2d49bb=this['_transformService'][_0x342568(0x3e5)](_0x1fbff3,_0x53ce09);if(!_0x1a87e5(_0x2d49bb))throw _0x2d49bb[_0x342568(0x145)];const _0x405aa8=(_0x4ad9e4=(_0xe12a08=_0x2d49bb[_0x342568(0x141)][0x0])==null?void 0x0:_0xe12a08[_0x342568(0x3b2)])==null?void 0x0:_0x4ad9e4[_0x342568(0x25d)];if(Array[_0x342568(0x1bc)](_0x405aa8)&&_0x405aa8[_0x342568(0x158)]){if(_0x405aa8[_0x342568(0x158)]===_0x53ce09[0x0][_0x342568(0x3b2)]['selections'][_0x342568(0x158)]&&_0x405aa8[_0x342568(0x336)]((_0x490e2e,_0x43aef7)=>_0x568d0c[_0x342568(0x290)](_0x490e2e[_0x342568(0x201)],_0x53ce09[0x0][_0x342568(0x3b2)][_0x342568(0x25d)][_0x43aef7][_0x342568(0x201)])))return;this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x456150)[_0x342568(0x3bc)](_0xebdb79['id'],{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x405aa8});}}};it=or([dt(0x0,_0x5b2811(_0x5b79bd)),dt(0x1,_0x45b9e1),dt(0x2,_0x30c3be)],it);const ht=_0x2235da('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x3c78b4=>(_0x3c78b4[_0x3c78b4[_0x1f558c(0x1ec)]=0x0]=_0x1f558c(0x1ec),_0x3c78b4[_0x3c78b4[_0x1f558c(0x417)]=0x1]=_0x1f558c(0x417),_0x3c78b4))(Ci||{});const cr=new Set([_0x21cc23['id']]);function qt(_0x3dc594,_0x36d991,_0x25fa26,_0x389b6f,_0x3de245){var _0x1d1938=_0x1f558c,_0xc92dfe,_0x4f6f79,_0x27d98b,_0x29406d;const _0x25c101=[];for(const _0x453e45 of _0x3dc594)if(cr[_0x1d1938(0x163)](_0x453e45['id'])){if(_0x25c101['length']>0x0)break;_0x25c101['push'](_0x453e45);break;}else _0x25c101[_0x1d1938(0x1eb)](_0x453e45);const _0x4b8518=(_0x4f6f79=(_0xc92dfe=_0x3de245['getCurrentUser']())==null?void 0x0:_0xc92dfe[_0x1d1938(0x20d)])!=null?_0x4f6f79:_0x1d1938(0x19e),_0x282913=(_0x29406d=(_0x27d98b=_0x3de245[_0x1d1938(0x1d3)]())==null?void 0x0:_0x27d98b[_0x1d1938(0x239)])!=null?_0x29406d:_0x1d1938(0x19e);return{'changeset':{'unitID':_0x36d991,'type':_0x46690e(_0x25fa26['getUnitType'](_0x36d991)),'baseRev':_0x389b6f[_0x1d1938(0x372)](_0x36d991),'revision':0x0,'userID':_0x4b8518,'memberID':_0x282913,'mutations':_0x25c101},'pendingMutations':_0x3dc594['slice'](_0x25c101[_0x1d1938(0x158)])};}function hr(_0x5d2448,_0x51bcd1,_0x196045,_0x2aa3af,_0x5e8085){var _0x105071=_0x1f558c,_0x13bbe2,_0x4afe82,_0x23da82,_0x16b000;const _0x4abc17=[_0x5d2448['reduce']((_0x3d00d9,_0x3f797c)=>{var _0x1a3b36=_0x4725,_0x524d8e;const {id:_0x4dbecd}=_0x3d00d9,{id:_0x3f2dba,type:_0x52b151}=_0x3f797c,_0xf0b26f=(_0x524d8e=_0x3d00d9[_0x1a3b36(0x3b2)])!=null?_0x524d8e:{'actions':null},_0x5cc5cb=_0x3f797c[_0x1a3b36(0x3b2)];if(_0x4dbecd&&_0x4dbecd!==_0x3f2dba)throw new Error(_0x1a3b36(0x25c)+_0x4dbecd+'\x20-\x20'+_0x3f2dba+'.');return{..._0x3d00d9,'id':_0x3f2dba,'type':_0x52b151,'params':{'unitId':_0x5cc5cb[_0x1a3b36(0x33e)],'textRanges':_0x5cc5cb[_0x1a3b36(0x2bb)],'actions':_0x431a9e[_0x1a3b36(0x3a3)](_0xf0b26f['actions'],_0x5cc5cb[_0x1a3b36(0x2f8)])}};},{})],_0x3857ee=(_0x4afe82=(_0x13bbe2=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x13bbe2[_0x105071(0x20d)])!=null?_0x4afe82:_0x105071(0x19e),_0x10bbf8=(_0x16b000=(_0x23da82=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x23da82[_0x105071(0x239)])!=null?_0x16b000:_0x105071(0x19e);return{'changeset':{'unitID':_0x51bcd1,'type':_0x46690e(_0x196045[_0x105071(0x3a7)](_0x51bcd1)),'baseRev':_0x2aa3af[_0x105071(0x372)](_0x51bcd1),'revision':0x0,'userID':_0x3857ee,'memberID':_0x10bbf8,'mutations':_0x4abc17},'pendingMutations':[]};}function bi(_0x371682,_0x12a4ca){var _0x5f0085=_0x1f558c;const _0x2085e4=new _0x40f8ad(0x1);return setTimeout(()=>_0x2085e4[_0x5f0085(0x140)](_0x12a4ca),_0x371682),_0x2085e4[_0x5f0085(0x317)]()[_0x5f0085(0x41e)](_0x3669e7(0x1));}const _r={'id':_0x23cce6['id'],'type':_0x2402fa[_0x1f558c(0x173)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x1f558c(0x330)],Te=(_0xd3c184,_0x3fad35,_0x46beab,_0x50cfc0)=>{var _0x45f987=_0x1f558c;for(var _0x1fea66=_0x50cfc0>0x1?void 0x0:_0x50cfc0?ur(_0x3fad35,_0x46beab):_0x3fad35,_0x406510=_0xd3c184[_0x45f987(0x158)]-0x1,_0x1cbdc0;_0x406510>=0x0;_0x406510--)(_0x1cbdc0=_0xd3c184[_0x406510])&&(_0x1fea66=(_0x50cfc0?_0x1cbdc0(_0x3fad35,_0x46beab,_0x1fea66):_0x1cbdc0(_0x1fea66))||_0x1fea66);return _0x50cfc0&&_0x1fea66&&lr(_0x3fad35,_0x46beab,_0x1fea66),_0x1fea66;},A=(_0x2e0ae7,_0x43d612)=>(_0xecc431,_0x22f50b)=>_0x43d612(_0xecc431,_0x22f50b,_0x2e0ae7),Ri=(_0x2e7dc7=>(_0x2e7dc7[_0x1f558c(0x2df)]=_0x1f558c(0x3b5),_0x2e7dc7[_0x1f558c(0x29d)]=_0x1f558c(0x1f0),_0x2e7dc7[_0x1f558c(0x14d)]=_0x1f558c(0x275),_0x2e7dc7['AWAITING']='awaiting',_0x2e7dc7[_0x1f558c(0x182)]=_0x1f558c(0x39d),_0x2e7dc7[_0x1f558c(0x36c)]=_0x1f558c(0x335),_0x2e7dc7[_0x1f558c(0x2c7)]='conflict',_0x2e7dc7[_0x1f558c(0x18f)]='offline',_0x2e7dc7))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x161623,_0x4a5b2e,_0x27738c,_0x246bba,_0x594e43,_0x531f2a,_0x4b6519,_0x191dce,_0x1d2299){var _0x4fdbb6=_0x1f558c;N(this,_0x4fdbb6(0x3f4),null),N(this,_0x4fdbb6(0x2d0),[]),(this[_0x4fdbb6(0x3e0)]=_0x161623,this[_0x4fdbb6(0x15f)]=_0x4a5b2e,this['_handler']=_0x594e43,this['_commandService']=_0x531f2a,this[_0x4fdbb6(0x214)]=_0x4b6519,this[_0x4fdbb6(0x164)]=_0x191dce,this[_0x4fdbb6(0x28f)]=_0x1d2299,this[_0x4fdbb6(0x3f4)]=_0x27738c,this[_0x4fdbb6(0x2d0)]=_0x246bba);}[_0x1f558c(0x2de)](_0x244a31){var _0x31288e=_0x1f558c;const _0x4be15c=this['_revisionService'][_0x31288e(0x372)](this[_0x31288e(0x3e0)]);return _0x244a31[_0x31288e(0x2f9)]>_0x4be15c+0x1?(this[_0x31288e(0x389)][_0x31288e(0x35c)]({'from':_0x4be15c,'to':_0x244a31[_0x31288e(0x2f9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b576d){var _0x3775e3=_0x1f558c;this[_0x3775e3(0x214)][_0x3775e3(0x34c)](this[_0x3775e3(0x3e0)],_0x5b576d);}[_0x1f558c(0x27d)](_0x595cf0){var _0x4fdb2c=_0x1f558c,_0x565d5e,_0x2657ce;(_0x2657ce=(_0x565d5e=this[_0x4fdb2c(0x389)])[_0x4fdb2c(0x414)])==null||_0x2657ce[_0x4fdb2c(0x178)](_0x565d5e,_0x595cf0);}[_0x1f558c(0x3d7)](_0x2c54b9){var _0x193d34=_0x1f558c,_0x112cc0,_0x12e19e;return(_0x12e19e=(_0x112cc0=this[_0x193d34(0x389)])[_0x193d34(0x2be)])==null?void 0x0:_0x12e19e[_0x193d34(0x178)](_0x112cc0,_0x2c54b9);}[_0x1f558c(0x404)](_0x14b953){var _0x1ff1e7=_0x1f558c,_0x35cad2,_0x341632;return(_0x341632=(_0x35cad2=this['_handler'])[_0x1ff1e7(0x360)])==null?void 0x0:_0x341632[_0x1ff1e7(0x178)](_0x35cad2,_0x14b953);}['_transformRemoteChangesetByIMECache'](_0x272492){var _0x3bfdf4=_0x1f558c,_0x14c987,_0x2cf596,_0x1d1d31;return(_0x1d1d31=(_0x2cf596=(_0x14c987=this['_handler'])[_0x3bfdf4(0x2f6)])==null?void 0x0:_0x2cf596[_0x3bfdf4(0x178)](_0x14c987,_0x272492))!=null?_0x1d1d31:_0x272492;}[_0x1f558c(0x324)](_0x3dd8e9){var _0x30ca69=_0x1f558c,_0x3cf5df,_0x1fac5a,_0x3b0bd3;return(_0x3b0bd3=(_0x1fac5a=(_0x3cf5df=this[_0x30ca69(0x389)])[_0x30ca69(0x437)])==null?void 0x0:_0x1fac5a[_0x30ca69(0x178)](_0x3cf5df,_0x3dd8e9))!=null?_0x3b0bd3:_0x3dd8e9;}[_0x1f558c(0x225)](_0x4d092c){var _0x35554b=_0x1f558c,_0x19bd05,_0x3dcbe2;if(this[_0x35554b(0x15f)]===Q[_0x35554b(0x143)]){const {unitID:_0x13ac1f,mutations:_0x19f517,memberID:_0x58cc1e}=_0x4d092c,_0x1a8fdc=_0x19f517[0x0][_0x35554b(0x3b2)][_0x35554b(0x2bb)];Array[_0x35554b(0x1bc)](_0x1a8fdc)&&_0x1a8fdc['length']>0x0&&((_0x3dcbe2=(_0x19bd05=this[_0x35554b(0x389)])[_0x35554b(0x2f0)])==null||_0x3dcbe2['call'](_0x19bd05,{'unitID':_0x13ac1f,'memberID':_0x58cc1e,'textRanges':_0x1a8fdc}));}}[_0x1f558c(0x27b)](){var _0x24dd95=_0x1f558c,_0x51f756;(_0x51f756=this['_localCacheService'])==null||_0x51f756[_0x24dd95(0x303)](this[_0x24dd95(0x3e0)],this['type'],this[_0x24dd95(0x3f4)],this[_0x24dd95(0x2d0)]);}[_0x1f558c(0x2e0)](){var _0x1f4056=_0x1f558c;return this[_0x1f4056(0x164)][_0x1f4056(0x372)](this[_0x1f4056(0x3e0)]);}[_0x1f558c(0x286)](){var _0x497e98=_0x1f558c;this[_0x497e98(0x164)][_0x497e98(0x370)](this[_0x497e98(0x3e0)]);}[_0x1f558c(0x305)](_0x4e3daa){var _0xc45ca4=_0x1f558c,_0x4d2eca;let _0x301cdb=this['_transformRemoteChangesetByIMECache'](_0x4e3daa);_0x301cdb=this[_0xc45ca4(0x324)](_0x301cdb);const _0x54ade7=_0x4ff652(_0x301cdb['mutations'],this[_0xc45ca4(0x1d2)],{'fromCollab':!0x0});if(!_0x54ade7['result'])throw _0x54ade7[_0xc45ca4(0x145)]instanceof Error?_0x54ade7['error']:new Error((_0x4d2eca=_0x54ade7[_0xc45ca4(0x145)])!=null?_0x4d2eca:_0xc45ca4(0x1c0));this['_transformIMECache'](_0x301cdb),this[_0xc45ca4(0x404)](_0x301cdb),this['_transformUndoredo'](_0x4e3daa),this['_transformSelections'](_0x301cdb),this[_0xc45ca4(0x225)](_0x301cdb),this[_0xc45ca4(0x286)]();}}let Ne=class extends Ce{constructor(_0x43908d,_0x4b3b44,_0x2774f6,_0x53b313,_0x428a6f,_0x2f9dec,_0x2ce381,_0x22aee4,_0x3942c8,_0x179a02){var _0x1f23e0=_0x1f558c;super(_0x43908d,_0x4b3b44,null,[],_0x2774f6,_0x2ce381,_0x2f9dec,_0x53b313,_0x179a02),N(this,_0x1f23e0(0x1c2),_0x1f23e0(0x1f0)),(this['_injector']=_0x428a6f,this[_0x1f23e0(0x343)]=_0x22aee4,this[_0x1f23e0(0x38a)]=_0x3942c8,this[_0x1f23e0(0x1d1)]=_0x179a02);}['appendMutation'](_0x39c802){var _0x316ca5=_0x1f558c;const _0x31ccf2=this['_injector'][_0x316ca5(0x38e)](oe,this['unitID'],this[_0x316ca5(0x15f)],[_0x39c802],this['_handler']);return _0x31ccf2[_0x316ca5(0x3d9)](),_0x31ccf2[_0x316ca5(0x27b)](),_0x31ccf2;}['onRemoteChangeset'](_0x14b03a){var _0x58676e=_0x1f558c;if(this[_0x58676e(0x2de)](_0x14b03a))return this[_0x58676e(0x1b3)]['createInstance'](ee,this[_0x58676e(0x3e0)],this[_0x58676e(0x15f)],null,[],null,[_0x14b03a],this['_handler']);try{const _0x1252e7=this[_0x58676e(0x38a)][_0x58676e(0x3e5)](_0x14b03a,[_r]);if(_0x1a87e5(_0x1252e7)){const {c1Prime:_0x678ca6}=_0x1252e7;return this[_0x58676e(0x305)](_0x678ca6),this;}throw _0x1252e7[_0x58676e(0x145)];}catch(_0x1149d8){return this['_logService'][_0x58676e(0x145)](_0x1149d8),this[_0x58676e(0x3d2)](!0x1);}}['_onConflict'](_0xfa7287){var _0x411525=_0x1f558c;return this[_0x411525(0x1b3)]['createInstance'](ue,this[_0x411525(0x3e0)],this['type'],null,[],this[_0x411525(0x389)],_0xfa7287);}['onRemoteAck'](){var _0xfcb846=_0x1f558c;throw new Error(_0xfcb846(0x3fb));}['onRemoteRej'](){var _0x41a7ea=_0x1f558c;throw new Error(_0x41a7ea(0x3b1));}[_0x1f558c(0x387)](){return this;}[_0x1f558c(0x3ab)](){var _0x5c193b=_0x1f558c;return this[_0x5c193b(0x1b3)][_0x5c193b(0x38e)](de,this['unitID'],this['type'],null,[],this[_0x5c193b(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f558c(0x291)](){var _0x4f0cc9=_0x1f558c;const _0x12f2fa=this[_0x4f0cc9(0x164)][_0x4f0cc9(0x372)](this['unitID']);return this['_handler'][_0x4f0cc9(0x35c)]({'from':_0x12f2fa,'to':0x0}),this[_0x4f0cc9(0x1b3)]['createInstance'](ee,this[_0x4f0cc9(0x3e0)],this[_0x4f0cc9(0x15f)],null,[],null,[],this[_0x4f0cc9(0x389)]);}};Ne=Te([A(0x3,_0x5b2811(_0x40fd0a)),A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x46c745),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x40673b(J))],Ne);let oe=class extends Ce{constructor(_0x1ea37c,_0x843706,_0xc765a8,_0x2dbe0e,_0x453a41,_0x1a3dc0,_0x5ba4a7,_0x1076bd,_0x1f7701,_0x19045d,_0x12005a,_0x5effd6,_0x1295fa,_0x5061fc){var _0x56460e=_0x1f558c;super(_0x1ea37c,_0x843706,null,_0xc765a8,_0x2dbe0e,_0x1f7701,_0x1295fa,_0x1a3dc0,_0x5061fc),N(this,_0x56460e(0x1c2),_0x56460e(0x275)),N(this,_0x56460e(0x27a),null),N(this,_0x56460e(0x14b),null),(this['_injector']=_0x453a41,this['_memberService']=_0x5ba4a7,this['_logService']=_0x1076bd,this[_0x56460e(0x405)]=_0x19045d,this['_transformService']=_0x12005a,this[_0x56460e(0x435)]=_0x5effd6);}[_0x1f558c(0x20e)](_0x5855e8){var _0x352a26=_0x1f558c;return this[_0x352a26(0x2d0)][_0x352a26(0x1eb)](_0x5855e8),this[_0x352a26(0x27b)](),this;}[_0x1f558c(0x295)](_0x1ef681){var _0x30b36d=_0x1f558c;if(this[_0x30b36d(0x2de)](_0x1ef681))return this[_0x30b36d(0x2f5)](),this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](ee,this[_0x30b36d(0x3e0)],this[_0x30b36d(0x15f)],null,this['_pendingMutations'],null,[_0x1ef681],this['_handler']);try{const _0x376acd=this[_0x30b36d(0x38a)][_0x30b36d(0x3e5)](_0x1ef681,this[_0x30b36d(0x2d0)]);if(_0x1a87e5(_0x376acd)){const {c1Prime:_0x4247a8,m2Prime:_0x5b1b0d}=_0x376acd;this['_executeRemoteChangeset'](_0x4247a8);const _0x46656b=this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](oe,this['unitID'],this[_0x30b36d(0x15f)],_0x5b1b0d,this['_handler']);this[_0x30b36d(0x2f5)]();const _0x1ddbe7=new Date()[_0x30b36d(0x1c4)](),_0x5d7941=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x30b36d(0x27a)]-_0x1ddbe7,0x0):this['_getSendChangesetTimeout']();return _0x46656b['_schedule'](_0x5d7941),_0x46656b;}throw _0x376acd['error'];}catch(_0x477d96){return this['_logService'][_0x30b36d(0x145)](_0x477d96),this[_0x30b36d(0x3d2)](!0x1);}}['onRemoteAck'](){var _0x5f5d52=_0x1f558c;throw new Error(_0x5f5d52(0x1d9));}[_0x1f558c(0x19c)](){var _0x2e713b=_0x1f558c;throw new Error(_0x2e713b(0x246));}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){var _0x4c39d9=_0x1f558c;return this[_0x4c39d9(0x2f5)](),this[_0x4c39d9(0x1b3)][_0x4c39d9(0x38e)](de,this[_0x4c39d9(0x3e0)],this[_0x4c39d9(0x15f)],null,this[_0x4c39d9(0x2d0)],this[_0x4c39d9(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d9)](_0x4cd53e){var _0x54c6cd=_0x1f558c;const _0x2ab17f=_0x4cd53e!=null?_0x4cd53e:this[_0x54c6cd(0x42f)]();this[_0x54c6cd(0x27a)]=new Date()[_0x54c6cd(0x1c4)]()+_0x2ab17f,this[_0x54c6cd(0x14b)]=setTimeout(()=>{var _0x434abf=_0x54c6cd;this[_0x434abf(0x2f5)]();let _0x129a07=null;switch(this[_0x434abf(0x15f)]){case Q[_0x434abf(0x3d3)]:{_0x129a07=qt(this[_0x434abf(0x2d0)],this[_0x434abf(0x3e0)],this['_univerInstanceService'],this['_revisionService'],this[_0x434abf(0x35e)]);break;}case Q[_0x434abf(0x143)]:{this[_0x434abf(0x2d0)][_0x434abf(0x336)](_0x32016f=>_0x32016f['id']===_0x3eafab['id'])?_0x129a07=hr(this[_0x434abf(0x2d0)],this['unitID'],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this[_0x434abf(0x35e)]):_0x129a07=qt(this['_pendingMutations'],this[_0x434abf(0x3e0)],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this['_memberService']);break;}default:throw new Error(_0x434abf(0x18d)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d44a9,pendingMutations:_0x518612}=_0x129a07;this[_0x434abf(0x389)][_0x434abf(0x380)](_0x5d44a9);const _0x8fc168=_0x518612[_0x434abf(0x158)]?this[_0x434abf(0x1b3)]['createInstance'](ae,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,_0x518612,this[_0x434abf(0x389)],void 0x0):this[_0x434abf(0x1b3)][_0x434abf(0x38e)](le,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,this[_0x434abf(0x389)]);_0x8fc168[_0x434abf(0x27b)](),this[_0x434abf(0x389)][_0x434abf(0x27c)](this,_0x8fc168);},_0x2ab17f);}['_getSendChangesetTimeout'](){var _0x59a000=_0x1f558c,_0x42ad73;const _0x3cb24d=this[_0x59a000(0x405)][_0x59a000(0x2a0)](q);return(_0x42ad73=_0x3cb24d==null?void 0x0:_0x3cb24d[_0x59a000(0x23a)])!=null?_0x42ad73:In;}[_0x1f558c(0x311)](){var _0x40919c=_0x1f558c;throw new Error(_0x40919c(0x2f2));}[_0x1f558c(0x2f5)](){var _0x581864=_0x1f558c;this[_0x581864(0x14b)]!=null&&(clearTimeout(this[_0x581864(0x14b)]),this[_0x581864(0x14b)]=null);}[_0x1f558c(0x3d2)](_0xda5403){var _0x5cabb9=_0x1f558c;return this[_0x5cabb9(0x2f5)](),this[_0x5cabb9(0x1b3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x5cabb9(0x2d0)],this['_handler'],_0xda5403);}};oe=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x5b2811(xe)),A(0x7,_0x574408),A(0x8,_0x456150),A(0x9,_0x4ea54a),A(0xa,_0x45b9e1),A(0xb,_0x30c3be),A(0xc,_0x46c745),A(0xd,_0x40673b(J))],oe);let le=class extends Ce{constructor(_0x155179,_0x105df4,_0x6ab602,_0x3d0ee0,_0x22db75,_0x3449f1,_0x48443e,_0x2c712a,_0x2f1693,_0x11ba59,_0x3c9029){var _0x3c7eac=_0x1f558c;super(_0x155179,_0x105df4,_0x6ab602,[],_0x3d0ee0,_0x48443e,_0x11ba59,_0x3449f1,_0x3c9029),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x3c7eac(0x3ef)),N(this,_0x3c7eac(0x17c)),(this[_0x3c7eac(0x1b3)]=_0x22db75,this[_0x3c7eac(0x343)]=_0x2c712a,this[_0x3c7eac(0x38a)]=_0x2f1693);}['appendMutation'](_0xd8c05d){var _0x2fb096=_0x1f558c;this[_0x2fb096(0x2f5)]();const _0x85a85f=this[_0x2fb096(0x1b3)]['createInstance'](ae,this[_0x2fb096(0x3e0)],this[_0x2fb096(0x15f)],this[_0x2fb096(0x3f4)],[_0xd8c05d],this[_0x2fb096(0x389)],this[_0x2fb096(0x3ef)]);return _0x85a85f[_0x2fb096(0x27b)](),_0x85a85f;}[_0x1f558c(0x295)](_0x365a1f){var _0x3f154d=_0x1f558c;if(this[_0x3f154d(0x2de)](_0x365a1f))return this[_0x3f154d(0x2f5)](),this['_injector'][_0x3f154d(0x38e)](ee,this['unitID'],this['type'],this[_0x3f154d(0x3f4)],[],null,[_0x365a1f],this[_0x3f154d(0x389)]);try{const _0xeeac51=this[_0x3f154d(0x38a)][_0x3f154d(0x428)]([_0x365a1f],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0xeeac51)){const {c1Prime:_0x3b06fc,c2Prime:_0x2fc50b}=_0xeeac51;this[_0x3f154d(0x305)](_0x3b06fc[0x0]),_0x2fc50b[0x0][_0x3f154d(0x161)]=this[_0x3f154d(0x2e0)](),this[_0x3f154d(0x2f5)]();const _0x359bdf=this[_0x3f154d(0x1b3)]['createInstance'](le,this[_0x3f154d(0x3e0)],this[_0x3f154d(0x15f)],_0x2fc50b[0x0],this[_0x3f154d(0x389)]);return _0x359bdf[_0x3f154d(0x27b)](),_0x359bdf;}return this[_0x3f154d(0x3d2)](!0x1);}catch(_0x5b13b7){return this[_0x3f154d(0x343)]['error'](_0x5b13b7),this[_0x3f154d(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x4ef1d2){var _0x3c7dd6=_0x1f558c;this['_clearScheduledTask']();const _0x3e90bb=this[_0x3c7dd6(0x164)]['getCurrentRevOfUnit'](this[_0x3c7dd6(0x3e0)]);if(_0x4ef1d2[_0x3c7dd6(0x2f9)]<_0x3e90bb-0x1)return this;if(this[_0x3c7dd6(0x2de)](_0x4ef1d2))return this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](ee,this['unitID'],this[_0x3c7dd6(0x15f)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x537487=this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](Ne,this[_0x3c7dd6(0x3e0)],this['type'],this[_0x3c7dd6(0x389)]);return _0x537487[_0x3c7dd6(0x27b)](),_0x537487;}[_0x1f558c(0x19c)](_0x1be3e1){var _0x3c4b33=_0x1f558c;return this['_onConflict'](!!(_0x1be3e1!=null&&_0x1be3e1[_0x3c4b33(0x3cf)]));}[_0x1f558c(0x387)](_0x158b2a){var _0x125d22=_0x1f558c;return this[_0x125d22(0x249)]>Oi?this[_0x125d22(0x3ab)]():(this[_0x125d22(0x3ef)]=bi(this[_0x125d22(0x249)],{'timeout':this['_resendTimeout'],'reqId':_0x158b2a['reqId']}),this['_sender']=this[_0x125d22(0x3ef)]['subscribe'](({reqId:_0x5a54f9,timeout:_0x534636})=>{var _0x3a610c=_0x125d22;this[_0x3a610c(0x355)](_0x5a54f9,_0x534636);}),this);}[_0x1f558c(0x3ab)](){var _0x9476e8=_0x1f558c;return this[_0x9476e8(0x2f5)](),this[_0x9476e8(0x1b3)][_0x9476e8(0x38e)](de,this['unitID'],this[_0x9476e8(0x15f)],this[_0x9476e8(0x3f4)],[],this[_0x9476e8(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x311)](){var _0xa91202=_0x1f558c;this[_0xa91202(0x389)][_0xa91202(0x380)](this[_0xa91202(0x3f4)]);}[_0x1f558c(0x3d2)](_0x17d7bc){var _0x65ce17=_0x1f558c;return this[_0x65ce17(0x2f5)](),this['_injector'][_0x65ce17(0x38e)](ue,this['unitID'],this[_0x65ce17(0x15f)],this['_awaitingChangeset'],[],this['_handler'],_0x17d7bc);}[_0x1f558c(0x355)](_0x37f4bb,_0x26286d){var _0x3821ce=_0x1f558c,_0x1e6d68;_0x37f4bb===((_0x1e6d68=this[_0x3821ce(0x3f4)])==null?void 0x0:_0x1e6d68['reqId'])&&(this[_0x3821ce(0x311)](),this[_0x3821ce(0x249)]=_0x26286d===0x0?0x3e8:_0x26286d*0x2);}['_clearScheduledTask'](){var _0x473518=_0x1f558c,_0x27a116;(_0x27a116=this[_0x473518(0x17c)])==null||_0x27a116[_0x473518(0x207)](),this[_0x473518(0x249)]=0x0;}};le=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x46c745),A(0xa,_0x40673b(J))],le);let ae=class extends Ce{constructor(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x3049e9,_0x31f043,_0x35fb4f,_0x4dd554,_0x37186a,_0x54d3a3,_0x31eb6a,_0x15f145){var _0x2ad560=_0x1f558c;super(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x4dd554,_0x31eb6a,_0x35fb4f,_0x15f145),N(this,'status',_0x2ad560(0x39d)),N(this,_0x2ad560(0x249),0x0),N(this,_0x2ad560(0x3ef)),N(this,_0x2ad560(0x17c)),(this[_0x2ad560(0x1b3)]=_0x31f043,this[_0x2ad560(0x343)]=_0x37186a,this[_0x2ad560(0x38a)]=_0x54d3a3,this[_0x2ad560(0x1d1)]=_0x15f145,_0x3049e9&&(this[_0x2ad560(0x3ef)]=_0x3049e9,this['_sender']=this[_0x2ad560(0x3ef)][_0x2ad560(0x3a4)](({reqId:_0x3f14ef,timeout:_0x2670af})=>{var _0x1f00aa=_0x2ad560;this[_0x1f00aa(0x355)](_0x3f14ef,_0x2670af);})));}[_0x1f558c(0x20e)](_0x32d498){var _0xcb039a=_0x1f558c;return this['_pendingMutations'][_0xcb039a(0x1eb)](_0x32d498),this;}[_0x1f558c(0x295)](_0x3d7b6b){var _0x5e2c98=_0x1f558c;if(this['_checkMissing'](_0x3d7b6b))return this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ee,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],this['_awaitingChangeset'],this[_0x5e2c98(0x2d0)],null,[_0x3d7b6b],this['_handler']);try{const _0x4acb1c=this['_transformService']['transformChangesets']([_0x3d7b6b],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0x4acb1c)){const {c1Prime:_0x28e880,c2Prime:_0x38d6ea}=_0x4acb1c,_0x49cacd=this['_transformService'][_0x5e2c98(0x3e5)](_0x28e880[0x0],this[_0x5e2c98(0x2d0)]);if(_0x1a87e5(_0x49cacd)){const {c1Prime:_0xc5a746,m2Prime:_0x3246c0}=_0x49cacd;return this[_0x5e2c98(0x305)](_0xc5a746),_0x38d6ea[0x0][_0x5e2c98(0x161)]=this[_0x5e2c98(0x2e0)](),this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ae,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],_0x38d6ea[0x0],_0x3246c0,this[_0x5e2c98(0x389)],void 0x0);}throw _0x49cacd[_0x5e2c98(0x145)];}throw _0x4acb1c['error'];}catch(_0x4e7922){return this[_0x5e2c98(0x343)]['error'](_0x4e7922),this[_0x5e2c98(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x191b81){var _0x5eea98=_0x1f558c;if(this[_0x5eea98(0x2f5)](),this[_0x5eea98(0x2de)](_0x191b81))return this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](ee,this[_0x5eea98(0x3e0)],this['type'],null,this[_0x5eea98(0x2d0)],this[_0x5eea98(0x3f4)],[],this[_0x5eea98(0x389)]);this[_0x5eea98(0x286)]();const _0x3eb875=this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](oe,this[_0x5eea98(0x3e0)],this[_0x5eea98(0x15f)],this[_0x5eea98(0x2d0)],this[_0x5eea98(0x389)]);return _0x3eb875[_0x5eea98(0x3d9)](),_0x3eb875['_updateLocalCache'](),_0x3eb875;}[_0x1f558c(0x19c)](_0x5306fe){var _0x3c4f09=_0x1f558c;return this[_0x3c4f09(0x3d2)](!!(_0x5306fe!=null&&_0x5306fe[_0x3c4f09(0x3cf)]));}['onRemoteRetry'](_0x32b3a3){var _0x2dc11f=_0x1f558c;return this[_0x2dc11f(0x249)]>Oi?this[_0x2dc11f(0x3ab)]():(this[_0x2dc11f(0x3ef)]=bi(this[_0x2dc11f(0x249)],{'timeout':this[_0x2dc11f(0x249)],'reqId':_0x32b3a3['reqId']}),this['_sender']=this[_0x2dc11f(0x3ef)][_0x2dc11f(0x3a4)](({reqId:_0x55d643,timeout:_0x326b7e})=>{var _0x462a12=_0x2dc11f;this[_0x462a12(0x355)](_0x55d643,_0x326b7e);}),this);}[_0x1f558c(0x3ab)](){var _0x2fd66e=_0x1f558c;return this[_0x2fd66e(0x2f5)](),this['_injector'][_0x2fd66e(0x38e)](de,this[_0x2fd66e(0x3e0)],this[_0x2fd66e(0x15f)],this[_0x2fd66e(0x3f4)],this[_0x2fd66e(0x2d0)],this[_0x2fd66e(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){var _0x18bb8a=_0x1f558c;this[_0x18bb8a(0x389)]['onSendChangeset'](this[_0x18bb8a(0x3f4)]);}['_onConflict'](_0xcecadb){var _0x56ef8f=_0x1f558c;return this['_clearScheduledTask'](),this[_0x56ef8f(0x1b3)][_0x56ef8f(0x38e)](ue,this[_0x56ef8f(0x3e0)],this[_0x56ef8f(0x15f)],null,this[_0x56ef8f(0x2d0)],this[_0x56ef8f(0x389)],_0xcecadb);}['_resendWithTimeout'](_0x3eadfb,_0x2ca899){var _0x78f459=_0x1f558c,_0x5e2bb2;_0x3eadfb===((_0x5e2bb2=this[_0x78f459(0x3f4)])==null?void 0x0:_0x5e2bb2['reqId'])&&(this[_0x78f459(0x311)](),this[_0x78f459(0x249)]=_0x2ca899===0x0?0x3e8:_0x2ca899*0x2);}[_0x1f558c(0x2f5)](){var _0x270d14=_0x1f558c,_0x1d26c6;(_0x1d26c6=this['_sender'])==null||_0x1d26c6[_0x270d14(0x207)](),this[_0x270d14(0x249)]=0x0;}};ae=Te([A(0x6,_0x5b2811(_0x5b79bd)),A(0x7,_0x5b2811(_0x40fd0a)),A(0x8,_0x456150),A(0x9,_0x574408),A(0xa,_0x45b9e1),A(0xb,_0x46c745),A(0xc,_0x40673b(J))],ae);let ue=class extends Ce{constructor(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x392eeb=!0x1,_0x375319,_0x4a9b3d,_0x51be06,_0x41acaf,_0x233d81,_0x7202fa,_0x56d504){var _0x2d992b=_0x1f558c;super(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x4a9b3d,_0x51be06,_0x41acaf,_0x56d504),N(this,_0x2d992b(0x1c2),_0x2d992b(0x320)),(this[_0x2d992b(0x21e)]=_0x392eeb,this[_0x2d992b(0x30f)]=_0x375319,this[_0x2d992b(0x2c0)]=_0x233d81,this[_0x2d992b(0x323)]=_0x7202fa,this[_0x2d992b(0x1d1)]=_0x56d504,this[_0x2d992b(0x1b1)](),this[_0x2d992b(0x3a5)](),this[_0x2d992b(0x247)]());}[_0x1f558c(0x20e)](){return this;}[_0x1f558c(0x295)](){return this;}[_0x1f558c(0x40e)](){return this;}[_0x1f558c(0x19c)](){return this;}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x1f558c(0x311)](){var _0x5d5953=_0x1f558c;throw new Error(_0x5d5953(0x1bd));}[_0x1f558c(0x3a5)](){var _0x5a9ff3=_0x1f558c,_0x599606;(_0x599606=this[_0x5a9ff3(0x28f)])==null||_0x599606[_0x5a9ff3(0x303)](this['unitID'],this[_0x5a9ff3(0x15f)],null,[]);}[_0x1f558c(0x1b1)](){var _0x378fc9=_0x1f558c;this['_isPermissionRej']?this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x1de)]}):this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x2c7)]});}['_disableEditing'](){var _0x2982b9=_0x1f558c;this[_0x2982b9(0x30f)][_0x2982b9(0x298)](new _0x6a1b02(this[_0x2982b9(0x3e0)])['id'],!0x1);}};ue=Te([A(0x6,_0x5b2811(_0x5b9158)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x5b2811(_0x40fd0a)),A(0xa,_0x5b2811(_0x426c5e)),A(0xb,_0x5b2811(pe)),A(0xc,_0x40673b(J))],ue);let de=class extends Ce{constructor(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x28c6e7,_0x216f67,_0x50dd84,_0x2d4b4a,_0x5a198f){var _0x4d035c=_0x1f558c;super(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x50dd84,_0x2d4b4a,_0x216f67,_0x5a198f),N(this,'status',_0x4d035c(0x1c8)),this[_0x4d035c(0x1b3)]=_0x28c6e7;}[_0x1f558c(0x20e)](_0x5eee90){var _0x5708ea=_0x1f558c;return this[_0x5708ea(0x2d0)][_0x5708ea(0x1eb)](_0x5eee90),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3f49ce){var _0x5bda6c=_0x1f558c;throw new Error(_0x5bda6c(0x38c));}[_0x1f558c(0x40e)](){var _0x1f60d7=_0x1f558c;throw new Error(_0x1f60d7(0x367));}[_0x1f558c(0x19c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){return this;}[_0x1f558c(0x25a)](){var _0x1b32b7=_0x1f558c;const {_injector:_0x41953b,_pendingMutations:_0x493ff3,_awaitingChangeset:_0x4805f9,unitID:_0x4ae5f5,_handler:_0x19d987,type:_0x3d0ec7}=this,_0x4e9254=yi(_0x41953b,_0x4ae5f5,_0x3d0ec7,_0x4805f9,_0x493ff3,_0x19d987);return _0x4e9254 instanceof oe?_0x4e9254['_schedule']():(_0x4e9254 instanceof ae||_0x4e9254 instanceof le)&&_0x4e9254[_0x1b32b7(0x311)](),_0x4e9254;}[_0x1f558c(0x311)](){var _0x25eb5a=_0x1f558c;throw new Error(_0x25eb5a(0x422));}};de=Te([A(0x5,_0x5b2811(_0x5b79bd)),A(0x6,_0x5b2811(_0x40fd0a)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x40673b(J))],de);let ee=class extends Ce{constructor(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x5a75cb,_0x4cac91,_0x4c5e57,_0x5e9f81,_0x218e35,_0x4c4673,_0x1e9845,_0x184c46,_0x564894,_0x2d82de){var _0x4b1584=_0x1f558c;super(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x4c5e57,_0x1e9845,_0x184c46,_0x218e35,_0x2d82de),N(this,'status',_0x4b1584(0x335)),(this['_acknowledgedAwaitingChangeset']=_0x5a75cb,this['_queuedRemoteChangesets']=_0x4cac91,this['_injector']=_0x5e9f81,this[_0x4b1584(0x343)]=_0x4c4673,this[_0x4b1584(0x38a)]=_0x564894,this[_0x4b1584(0x1d1)]=_0x2d82de);}[_0x1f558c(0x312)](_0x14f929){var _0x1dbd2c=_0x1f558c;try{const _0x30839e=[..._0x14f929,...this[_0x1dbd2c(0x2bd)]],_0x18c1b3=[this['_awaitingChangeset']||this[_0x1dbd2c(0x309)]][_0x1dbd2c(0x436)](_0x5155f0=>!!_0x5155f0);let _0x213a22,_0x51231b;if(_0x18c1b3[_0x1dbd2c(0x158)]){const _0x58735e=this[_0x1dbd2c(0x38a)][_0x1dbd2c(0x428)](_0x30839e,_0x18c1b3,!0x1);if(!_0x2e616a(_0x58735e))throw _0x58735e[_0x1dbd2c(0x145)];_0x213a22=_0x58735e[_0x1dbd2c(0x424)],_0x51231b=_0x58735e[_0x1dbd2c(0x261)];}else _0x213a22=_0x30839e,_0x51231b=[];let _0x3fcd71=this[_0x1dbd2c(0x2d0)];_0x213a22[_0x1dbd2c(0x179)](_0x488411=>{var _0x3838cf=_0x1dbd2c;let _0x30ff9b;if(_0x3fcd71[_0x3838cf(0x158)]){const _0xa3366b=this[_0x3838cf(0x38a)][_0x3838cf(0x3e5)](_0x488411,_0x3fcd71);if(!_0x1a87e5(_0xa3366b))throw _0xa3366b[_0x3838cf(0x145)];_0x30ff9b=_0xa3366b[_0x3838cf(0x424)],_0x3fcd71=_0xa3366b[_0x3838cf(0x141)];}else _0x30ff9b=_0x488411;this[_0x3838cf(0x305)](_0x30ff9b);}),this[_0x1dbd2c(0x309)]&&this[_0x1dbd2c(0x286)](),this['_awaitingChangeset']&&_0x51231b[_0x1dbd2c(0x158)]&&(_0x51231b[0x0][_0x1dbd2c(0x161)]=this[_0x1dbd2c(0x2e0)]());let _0x1be07c;if(this['_awaitingChangeset']&&_0x3fcd71[_0x1dbd2c(0x158)]!==0x0)_0x1be07c=this['_injector'][_0x1dbd2c(0x38e)](ae,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],_0x3fcd71,this[_0x1dbd2c(0x389)],void 0x0);else{if(this[_0x1dbd2c(0x3f4)]&&_0x3fcd71['length']===0x0)_0x51231b[0x0]['baseRev']=this[_0x1dbd2c(0x2e0)](),_0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](le,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],this['_handler']);else{if(_0x3fcd71[_0x1dbd2c(0x158)]!==0x0){const _0x598a86=this['_injector'][_0x1dbd2c(0x38e)](oe,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x3fcd71,this[_0x1dbd2c(0x389)]);_0x598a86[_0x1dbd2c(0x3d9)](),_0x1be07c=_0x598a86;}else _0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](Ne,this['unitID'],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x389)]);}}return _0x1be07c[_0x1dbd2c(0x27b)](),_0x1be07c;}catch(_0x253685){return this[_0x1dbd2c(0x343)][_0x1dbd2c(0x145)](_0x1dbd2c(0x426),_0x1dbd2c(0x332),_0x253685),this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](ue,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x3f4)],this[_0x1dbd2c(0x2d0)],this[_0x1dbd2c(0x389)],!0x1);}}[_0x1f558c(0x311)](){var _0x1be9fd=_0x1f558c;throw new Error(_0x1be9fd(0x15b));}[_0x1f558c(0x20e)](_0x398c03){var _0x5641e1=_0x1f558c;return this['_pendingMutations'][_0x5641e1(0x1eb)](_0x398c03),this;}[_0x1f558c(0x295)](_0x431447){var _0x40e5b6=_0x1f558c;return this[_0x40e5b6(0x2bd)][_0x40e5b6(0x1eb)](_0x431447),this;}['onRemoteAck'](_0x5ec180){var _0x4f6369=_0x1f558c;if(this[_0x4f6369(0x3f4)])return this[_0x4f6369(0x309)]=this[_0x4f6369(0x3f4)],this[_0x4f6369(0x3f4)]=null,this;throw new Error(_0x4f6369(0x2a2));}[_0x1f558c(0x19c)](_0x45a136){var _0x2d5a43=_0x1f558c;return this[_0x2d5a43(0x3d2)](!!(_0x45a136!=null&&_0x45a136[_0x2d5a43(0x3cf)]));}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){var _0x568d32=_0x1f558c;return this[_0x568d32(0x1b3)]['createInstance'](de,this[_0x568d32(0x3e0)],this[_0x568d32(0x15f)],this[_0x568d32(0x3f4)],this[_0x568d32(0x2d0)],this[_0x568d32(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d2)](_0x556bd1){var _0x1cd9da=_0x1f558c;return this[_0x1cd9da(0x1b3)]['createInstance'](ue,this[_0x1cd9da(0x3e0)],this[_0x1cd9da(0x15f)],this[_0x1cd9da(0x3f4)],this[_0x1cd9da(0x2d0)],this[_0x1cd9da(0x389)],_0x556bd1);}};ee=Te([A(0x7,_0x5b2811(_0x5b79bd)),A(0x8,_0x5b2811(_0x40fd0a)),A(0x9,_0x574408),A(0xa,_0x456150),A(0xb,_0x46c745),A(0xc,_0x45b9e1),A(0xd,_0x40673b(J))],ee);function yi(_0x25fe4f,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9){var _0x15932e=_0x1f558c;return _0x352b6e&&_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](ae,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9,void 0x0):_0x352b6e?_0x25fe4f['createInstance'](le,_0x2bedd8,_0x26ab36,_0x352b6e,_0xd7f8a9):_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](oe,_0x2bedd8,_0x26ab36,_0x47f579,_0xd7f8a9):_0x25fe4f['createInstance'](Ne,_0x2bedd8,_0x26ab36,_0xd7f8a9);}var dr=Object['defineProperty'],fr=Object[_0x1f558c(0x330)],xt=(_0x462a76,_0x5c6930,_0xb78107,_0x1fdf4e)=>{for(var _0x5e4549=_0x1fdf4e>0x1?void 0x0:_0x1fdf4e?fr(_0x5c6930,_0xb78107):_0x5c6930,_0x2ca9da=_0x462a76['length']-0x1,_0x2ac7da;_0x2ca9da>=0x0;_0x2ca9da--)(_0x2ac7da=_0x462a76[_0x2ca9da])&&(_0x5e4549=(_0x1fdf4e?_0x2ac7da(_0x5c6930,_0xb78107,_0x5e4549):_0x2ac7da(_0x5e4549))||_0x5e4549);return _0x1fdf4e&&_0x5e4549&&dr(_0x5c6930,_0xb78107,_0x5e4549),_0x5e4549;},k=(_0x28c612,_0x12ba7c)=>(_0x4ca439,_0x173bcc)=>_0x12ba7c(_0x4ca439,_0x173bcc,_0x28c612);let nt=class extends _0x1a5dd9{constructor(_0x584940,_0x38ec7f,_0x4926b3,_0x53a0fc,_0x1dd380,_0x1fbc1e,_0x287847,_0x3aeca8,_0x2b42fb,_0xd9a42a,_0x2232da,_0x5c6f0c,_0x4e3617){var _0x4b8db1=_0x1f558c;super(),N(this,'_state$',new _0x12b284(null)),N(this,'state$',this['_state$'][_0x4b8db1(0x317)]()),N(this,'_state'),N(this,_0x4b8db1(0x388),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4b8db1(0x29c),0x0),N(this,_0x4b8db1(0x2b3),this[_0x4b8db1(0x24c)][_0x4b8db1(0x41e)](_0x1d5c6b(_0x34dc73=>_0x34dc73?_0x34dc73['status']:Ri['OFFLINE']),_0x576d80(0x1))),N(this,_0x4b8db1(0x2c9),!0x1),N(this,_0x4b8db1(0x230),[]),(this[_0x4b8db1(0x3e0)]=_0x584940,this[_0x4b8db1(0x425)]=_0x38ec7f,this[_0x4b8db1(0x318)]=_0x4926b3,this[_0x4b8db1(0x1b3)]=_0x53a0fc,this['_compressMutationService']=_0x1dd380,this[_0x4b8db1(0x2c0)]=_0x1fbc1e,this[_0x4b8db1(0x164)]=_0x287847,this['_eventService']=_0x3aeca8,this['_logService']=_0x2b42fb,this[_0x4b8db1(0x1d2)]=_0xd9a42a,this['_permissionService']=_0x2232da,this[_0x4b8db1(0x40d)]=_0x5c6f0c,this['_localCacheService']=_0x4e3617);}get[_0x1f558c(0x240)](){return this['_state'];}async[_0x1f558c(0x2e7)](){var _0x324d75=_0x1f558c;if(this[_0x324d75(0x240)])throw new Error(_0x324d75(0x2a1));await this[_0x324d75(0x2e9)]();}[_0x1f558c(0x205)](){return this['_collaborationPaused']=!0x0,_0xd7d543(()=>{var _0x5b1416=_0x4725;this['_collaborationPaused']=!0x1,this[_0x5b1416(0x198)]();});}[_0x1f558c(0x429)](_0x89aeb2){var _0x97a7ce=_0x1f558c;this[_0x97a7ce(0x2b4)](_0x89aeb2);}[_0x1f558c(0x177)](_0x1d718c){var _0x16137d=_0x1f558c;this[_0x16137d(0x310)]=_0x1d718c,this[_0x16137d(0x3c7)]['next'](_0x1d718c);}async['_init'](){var _0x598ece=_0x1f558c,_0xbe8838;this[_0x598ece(0x177)](await this['_createInitialState']()),this[_0x598ece(0x40d)]&&((_0xbe8838=this[_0x598ece(0x40d)])==null||_0xbe8838[_0x598ece(0x350)](this[_0x598ece(0x3e0)]),this[_0x598ece(0x2d6)](this[_0x598ece(0x40d)][_0x598ece(0x3c5)](this[_0x598ece(0x3e0)])[_0x598ece(0x3a4)](_0xeb7c9b=>{var _0x533df4=_0x598ece;this['_logService']['debug']('[CollaborationEntity]',_0x533df4(0x28a),_0xeb7c9b),_0xeb7c9b===Ci[_0x533df4(0x417)]?(this[_0x533df4(0x373)][_0x533df4(0x2ec)]({'id':se[_0x533df4(0x222)]}),this[_0x533df4(0x30f)][_0x533df4(0x298)](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x533df4(0x30f)]['updatePermissionPoint'](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x0),this[_0x533df4(0x30f)][_0x533df4(0x20c)](!0x0));})));let _0x25eb4b=!0x1;return this[_0x598ece(0x2d6)](this[_0x598ece(0x425)]['sessionStatus$'][_0x598ece(0x3a4)](_0x2f1fa1=>{var _0x98d980=_0x598ece;_0x2f1fa1===Ee[_0x98d980(0x262)]?this[_0x98d980(0x3f7)](_0x25eb4b):_0x2f1fa1===Ee[_0x98d980(0x18f)]&&(_0x25eb4b=!0x0,this['_toggleOffline']());})),this[_0x598ece(0x2d6)](this[_0x598ece(0x425)][_0x598ece(0x1c9)][_0x598ece(0x3a4)](_0x58152d=>{var _0x5b9ee3=_0x598ece;try{switch(_0x58152d[_0x5b9ee3(0x20b)]){case _0x238e1f[_0x5b9ee3(0x257)]:{this[_0x5b9ee3(0x3bf)](_0x350fd9(_0x58152d[_0x5b9ee3(0x2f7)]));break;}case _0x238e1f[_0x5b9ee3(0x325)]:{this['_onRemoteACK'](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f['CHANGESET_REJ']:{this[_0x5b9ee3(0x14e)]();break;}case _0x238e1f[_0x5b9ee3(0x3dd)]:{this[_0x5b9ee3(0x34a)](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f[_0x5b9ee3(0x22b)]:{this[_0x5b9ee3(0x18c)](_0x58152d[_0x5b9ee3(0x2f7)]['changesets'][_0x5b9ee3(0x3b0)](_0x2275f9=>_0x350fd9(_0x2275f9)));break;}case _0x238e1f[_0x5b9ee3(0x2fd)]:{this[_0x5b9ee3(0x14e)]({'isPermissionRej':!0x0});break;}case _0x238e1f[_0x5b9ee3(0x32d)]:break;}}catch(_0x1a4124){throw console[_0x5b9ee3(0x145)](_0x5b9ee3(0x197),_0x1a4124),_0x1a4124;}})),this[_0x598ece(0x310)];}['_unlockTransition'](){var _0x58179d=_0x1f558c;this[_0x58179d(0x2c9)]=!0x1;}['_lockTransition'](){var _0x4dd08a=_0x1f558c;if(this['_transitionLocked'])throw new Error(_0x4dd08a(0x393));this[_0x4dd08a(0x2c9)]=!0x0;}[_0x1f558c(0x2b4)](_0xc61510){var _0xabedd9=_0x1f558c;this['_lockTransition'](),this[_0xabedd9(0x177)](this[_0xabedd9(0x310)][_0xabedd9(0x20e)](_0xc61510)),this['_unlockTransition']();}[_0x1f558c(0x3bf)](_0x4958fb){var _0x15bf28=_0x1f558c;if(!(_0x4958fb['revision']<=this[_0x15bf28(0x164)][_0x15bf28(0x372)](this[_0x15bf28(0x3e0)]))){if(this[_0x15bf28(0x388)]){this[_0x15bf28(0x230)]['push'](_0x4958fb);return;}this['_applyRemoteChangeset'](_0x4958fb);}}[_0x1f558c(0x198)](){var _0x506b52=_0x1f558c;this[_0x506b52(0x230)][_0x506b52(0x179)](_0xbacb22=>this[_0x506b52(0x339)](_0xbacb22)),this[_0x506b52(0x230)]=[];}['_applyRemoteChangeset'](_0x10f8ce){var _0x541156=_0x1f558c;const _0x582de7=this[_0x541156(0x352)][_0x541156(0x226)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x541156(0x226)]['getInterceptPoints']()[_0x541156(0x2f3)])(_0x10f8ce[_0x541156(0x1cc)],null)||_0x10f8ce[_0x541156(0x1cc)],_0x2cce3a={..._0x10f8ce,'mutations':_0x582de7};this[_0x541156(0x2d5)](),this[_0x541156(0x177)](this[_0x541156(0x310)][_0x541156(0x295)](_0x2cce3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x3b8687){var _0x513624=_0x1f558c;this['_lockTransition'](),this[_0x513624(0x177)](this[_0x513624(0x310)]['onRemoteAck'](_0x3b8687)),this[_0x513624(0x26f)]();}[_0x1f558c(0x14e)](_0x5742ae){var _0x5821d3=_0x1f558c;this[_0x5821d3(0x2d5)](),this[_0x5821d3(0x177)](this[_0x5821d3(0x310)][_0x5821d3(0x19c)](_0x5742ae)),this[_0x5821d3(0x26f)]();}[_0x1f558c(0x34a)](_0x2e6ba4){var _0x46e26f=_0x1f558c;this[_0x46e26f(0x2d5)](),this[_0x46e26f(0x177)](this['_state'][_0x46e26f(0x387)](_0x2e6ba4)),this[_0x46e26f(0x26f)]();}[_0x1f558c(0x18c)](_0x430174){var _0x13cfa8=_0x1f558c;if(!(this[_0x13cfa8(0x310)]instanceof ee))throw new TypeError(_0x13cfa8(0x2ae));const _0x34bcfa=_0x430174[_0x13cfa8(0x3b0)](_0x367e56=>{var _0xf1f084=_0x13cfa8;const _0x3b3a8a=this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x269)](this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x30d)]()[_0xf1f084(0x2f3)])(_0x367e56['mutations'],null)||_0x367e56['mutations'];return{..._0x367e56,'mutations':_0x3b3a8a};});this[_0x13cfa8(0x2d5)](),this[_0x13cfa8(0x177)](this[_0x13cfa8(0x310)][_0x13cfa8(0x312)](_0x34bcfa)),this[_0x13cfa8(0x26f)]();}[_0x1f558c(0x410)](){var _0x59b004=_0x1f558c;this[_0x59b004(0x2d5)](),this['_updateState'](this[_0x59b004(0x310)][_0x59b004(0x3ab)]()),this[_0x59b004(0x26f)]();}['_toggleOnline'](_0xaa6462=!0x1){var _0x5177ab=_0x1f558c;this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](this[_0x5177ab(0x310)][_0x5177ab(0x25a)]()),this[_0x5177ab(0x26f)]();const _0x917c4e=this[_0x5177ab(0x310)];_0xaa6462&&_0x917c4e instanceof Ne&&(this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](_0x917c4e[_0x5177ab(0x291)]()),this[_0x5177ab(0x26f)]());}async['_createInitialState'](){return new Promise(_0x326911=>{var _0xf1e9cd=_0x4725;this[_0xf1e9cd(0x425)][_0xf1e9cd(0x3ce)]['pipe'](_0x3669e7(0x1))['subscribe'](async _0x4f161c=>{var _0x48ac70=_0xf1e9cd;_0x326911(await this['_createInitialStateImpl'](_0x4f161c===Ee[_0x48ac70(0x262)]));});});}[_0x1f558c(0x156)](){var _0x418581=_0x1f558c;const _0x5487b9=this[_0x418581(0x3e0)];return{'onStateChange':(_0x48641c,_0x405323)=>{var _0x3116b2=_0x418581;if(_0x48641c!==this[_0x3116b2(0x310)])throw new Error(_0x3116b2(0x3dc)+_0x48641c[_0x3116b2(0x1c2)]+_0x3116b2(0x31f)+_0x405323[_0x3116b2(0x1c2)]+_0x3116b2(0x1ac)+this[_0x3116b2(0x310)][_0x3116b2(0x1c2)]);this[_0x3116b2(0x177)](_0x405323);},'onSendChangeset':_0x347091=>{var _0x41c0ef=_0x418581;_0x347091[_0x41c0ef(0x2c8)]||(_0x347091['sid']=this[_0x41c0ef(0x184)],_0x347091[_0x41c0ef(0x29b)]=++this[_0x41c0ef(0x29c)]);const _0x5409a6={'eventID':_0x238e1f[_0x41c0ef(0x328)],'data':{'unitID':_0x347091['unitID'],'unitType':this[_0x41c0ef(0x318)],'changeset':_0x347091,'memberID':this[_0x41c0ef(0x425)]['getMemberID']()}};this[_0x41c0ef(0x425)][_0x41c0ef(0x1dc)](_0x5409a6,this[_0x41c0ef(0x3e0)]);},'onMissingChangesets':({from:_0x150202,to:_0x44800d})=>{var _0x52677d=_0x418581;this[_0x52677d(0x343)][_0x52677d(0x2e3)](_0x52677d(0x438),_0x52677d(0x356)+_0x150202+_0x52677d(0x210)+_0x44800d);const _0x13a6c8={'eventID':_0x238e1f[_0x52677d(0x199)],'data':{'unitID':_0x5487b9,'unitType':this['_type'],'from':_0x150202,'to':_0x44800d}};this['session'][_0x52677d(0x1dc)](_0x13a6c8,this['unitID']);}};}async['_createInitialStateImpl'](_0x2eab43){var _0x517d6e=_0x1f558c,_0x147299,_0x5250b9,_0x539440;const _0x1e7bd8=await((_0x147299=this['_localCacheService'])==null?void 0x0:_0x147299[_0x517d6e(0x41d)](this[_0x517d6e(0x3e0)])),_0x268dd7=(_0x5250b9=_0x1e7bd8==null?void 0x0:_0x1e7bd8[_0x517d6e(0x1cc)])!=null?_0x5250b9:[],_0x46aae4=(_0x539440=_0x1e7bd8==null?void 0x0:_0x1e7bd8['awaitingChangeset'])!=null?_0x539440:null,_0x569059=!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x2c8)])&&!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x29b)]);this[_0x517d6e(0x184)]=_0x569059?_0x46aae4[_0x517d6e(0x2c8)]:nr(),this['_changesetReqId']=_0x569059?_0x46aae4[_0x517d6e(0x29b)]:0x0;const _0x189569=this[_0x517d6e(0x3e0)];try{this['_replayCachedMutations'](_0x46aae4,_0x268dd7);}catch(_0x248261){this[_0x517d6e(0x343)][_0x517d6e(0x145)](_0x248261);}const _0x51b6e3=this[_0x517d6e(0x156)]();if(_0x2eab43){const _0x1f848e=yi(this[_0x517d6e(0x1b3)],_0x189569,this[_0x517d6e(0x318)],_0x46aae4,_0x268dd7,_0x51b6e3);return _0x1f848e instanceof oe?_0x1f848e[_0x517d6e(0x3d9)]():(_0x1f848e instanceof ae||_0x1f848e instanceof le)&&_0x1f848e['resend'](),_0x1f848e;}return this[_0x517d6e(0x1b3)][_0x517d6e(0x38e)](de,_0x189569,this['_type'],_0x46aae4,_0x268dd7,_0x51b6e3);}['_replayCachedMutations'](_0x10c6b3,_0x4ee13e){var _0x4e7195=_0x1f558c,_0x19e786,_0x167b67;const _0x4a06c1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4e7195(0x352)][_0x4e7195(0x226)][_0x4e7195(0x30d)]()[_0x4e7195(0x2f3)]);(_0x19e786=_0x4a06c1((_0x10c6b3==null?void 0x0:_0x10c6b3['mutations'])||[],null))==null||_0x19e786[_0x4e7195(0x179)](_0xc3930a=>this['_commandService'][_0x4e7195(0x3bc)](_0xc3930a['id'],_0xc3930a[_0x4e7195(0x3b2)])),(_0x167b67=_0x4a06c1(_0x4ee13e||[],null))==null||_0x167b67[_0x4e7195(0x179)](_0x3c66c6=>this[_0x4e7195(0x1d2)][_0x4e7195(0x3bc)](_0x3c66c6['id'],_0x3c66c6['params']));}};nt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],nt);let It=class extends nt{constructor(_0x5c4313,_0x328270,_0x123bc6,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74){var _0x3a73f9=_0x1f558c;super(_0x5c4313,_0x123bc6,_0x328270,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74),N(this,_0x3a73f9(0x1b0),null),(this[_0x3a73f9(0x3e0)]=_0x5c4313,this[_0x3a73f9(0x15f)]=_0x328270);}['addHandlerCallback'](_0x309646){var _0x26640a=_0x1f558c;this[_0x26640a(0x1b0)]=_0x309646;}[_0x1f558c(0x227)](){var _0x3f6bd6=_0x1f558c;this[_0x3f6bd6(0x1b0)]=null,super['dispose']();}[_0x1f558c(0x156)](){var _0x542cb2=_0x1f558c;const _0xfa395c=super[_0x542cb2(0x156)]();return _0xfa395c[_0x542cb2(0x2be)]=_0x1e46e0=>{var _0x346f04=_0x542cb2,_0x24b8d9,_0xca3323;return(_0xca3323=(_0x24b8d9=this[_0x346f04(0x1b0)])==null?void 0x0:_0x24b8d9['onTransformIME'])==null?void 0x0:_0xca3323[_0x346f04(0x178)](_0x24b8d9,_0x1e46e0);},_0xfa395c[_0x542cb2(0x360)]=_0x4801a2=>{var _0x3b22b9=_0x542cb2,_0x40432a,_0xdafcdb;return(_0xdafcdb=(_0x40432a=this[_0x3b22b9(0x1b0)])==null?void 0x0:_0x40432a[_0x3b22b9(0x360)])==null?void 0x0:_0xdafcdb[_0x3b22b9(0x178)](_0x40432a,_0x4801a2);},_0xfa395c[_0x542cb2(0x414)]=_0x1377cb=>{var _0x46c971=_0x542cb2,_0x453f99,_0x20c68f;return(_0x20c68f=(_0x453f99=this['_handlerCallback'])==null?void 0x0:_0x453f99[_0x46c971(0x414)])==null?void 0x0:_0x20c68f[_0x46c971(0x178)](_0x453f99,_0x1377cb);},_0xfa395c[_0x542cb2(0x2f0)]=_0x39d421=>{var _0x1addcd=_0x542cb2,_0x247a5c,_0x4d8218;return(_0x4d8218=(_0x247a5c=this[_0x1addcd(0x1b0)])==null?void 0x0:_0x247a5c[_0x1addcd(0x2f0)])==null?void 0x0:_0x4d8218['call'](_0x247a5c,_0x39d421);},_0xfa395c['onTransformRemoteChangesetByIMECache']=_0x72a2b=>{var _0x4c1660=_0x542cb2,_0x71600,_0x2919f6,_0x140276;if(!((_0x71600=this['_handlerCallback'])!=null&&_0x71600[_0x4c1660(0x2f6)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x140276=(_0x2919f6=this['_handlerCallback'])==null?void 0x0:_0x2919f6[_0x4c1660(0x2f6)])==null?void 0x0:_0x140276[_0x4c1660(0x178)](_0x2919f6,_0x72a2b);},_0xfa395c['onTransformRemoteChangesetByStateCache']=_0x5313fd=>{var _0x2fdbc0=_0x542cb2,_0x51c664,_0x248b91,_0x59b1cd;if(!((_0x51c664=this[_0x2fdbc0(0x1b0)])!=null&&_0x51c664[_0x2fdbc0(0x437)]))throw new Error(_0x2fdbc0(0x42d));return(_0x59b1cd=(_0x248b91=this['_handlerCallback'])==null?void 0x0:_0x248b91['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x59b1cd[_0x2fdbc0(0x178)](_0x248b91,_0x5313fd);},_0xfa395c;}async['_init'](){var _0x2ab5b9=_0x1f558c;const _0x94f2ef=await super[_0x2ab5b9(0x2e9)]();return this[_0x2ab5b9(0x2d6)](this['_commandService'][_0x2ab5b9(0x1aa)]((_0xa6a546,_0x68ea98)=>{var _0x423faa=_0x2ab5b9;if(_0xa6a546[_0x423faa(0x15f)]!==_0x2402fa[_0x423faa(0x173)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x308)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x231)]||_0xa6a546['id']===_0x3eafab['id'])return;const _0x7b098a=_0xa6a546[_0x423faa(0x3b2)];if((_0x7b098a==null?void 0x0:_0x7b098a['unitId'])!==this['unitID'])return;const _0x1257ee=_0xa6a546,_0x5d6fa5=this[_0x423faa(0x352)][_0x423faa(0x226)][_0x423faa(0x269)](this['_compressMutationService'][_0x423faa(0x226)][_0x423faa(0x30d)]()[_0x423faa(0x3f6)])([_0x1257ee],null)||[_0x1257ee];this[_0x423faa(0x2b4)](_0x5d6fa5[0x0]);})),_0x94f2ef;}};It=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],It);let Tt=class extends nt{constructor(_0x357985,_0x23a99e,_0x28cffc,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0x15de18,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740){var _0x1bcccf=_0x1f558c;super(_0x357985,_0x28cffc,_0x23a99e,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740),this[_0x1bcccf(0x3e0)]=_0x357985,this['type']=_0x23a99e,this[_0x1bcccf(0x13d)]=_0x15de18;}['_createHandler'](){var _0x2257d2=_0x1f558c;const _0x4abefb=super[_0x2257d2(0x156)]();return _0x4abefb['onTransformSelections']=_0x2ec37d=>this[_0x2257d2(0x13d)][_0x2257d2(0x188)](_0x2ec37d),_0x4abefb;}async[_0x1f558c(0x2e9)](){var _0x5bc905=_0x1f558c;const _0x2792aa=await super[_0x5bc905(0x2e9)]();return this[_0x5bc905(0x2d6)](this[_0x5bc905(0x1d2)][_0x5bc905(0x1aa)]((_0x33cec7,_0x449e79)=>{var _0xe13ca3=_0x5bc905;if(_0x33cec7[_0xe13ca3(0x15f)]!==_0x2402fa[_0xe13ca3(0x173)]||_0x449e79!=null&&_0x449e79['fromCollab']||_0x449e79!=null&&_0x449e79[_0xe13ca3(0x231)])return;const _0x40eceb=_0x33cec7[_0xe13ca3(0x3b2)];if((_0x40eceb==null?void 0x0:_0x40eceb[_0xe13ca3(0x33e)])!==this[_0xe13ca3(0x3e0)])return;const _0x1e67e5=_0x33cec7,_0x211b23=this['_compressMutationService']['interceptor'][_0xe13ca3(0x269)](this[_0xe13ca3(0x352)][_0xe13ca3(0x226)][_0xe13ca3(0x30d)]()[_0xe13ca3(0x3f6)])([_0x1e67e5],null)||[_0x1e67e5];this['_onLocalMutation'](_0x211b23[0x0]);})),_0x2792aa;}};Tt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(it)),k(0x8,_0x5b2811(pe)),k(0x9,_0x574408),k(0xa,_0x456150),k(0xb,_0x5b9158),k(0xc,_0x40673b(ht)),k(0xd,_0x40673b(J))],Tt);var vr=Object[_0x1f558c(0x175)],pr=Object[_0x1f558c(0x330)],mr=(_0x84df73,_0x952367,_0x4c8f6f,_0x3207d1)=>{var _0x4f2278=_0x1f558c;for(var _0x2ac94d=_0x3207d1>0x1?void 0x0:_0x3207d1?pr(_0x952367,_0x4c8f6f):_0x952367,_0x58829c=_0x84df73[_0x4f2278(0x158)]-0x1,_0x47fa79;_0x58829c>=0x0;_0x58829c--)(_0x47fa79=_0x84df73[_0x58829c])&&(_0x2ac94d=(_0x3207d1?_0x47fa79(_0x952367,_0x4c8f6f,_0x2ac94d):_0x47fa79(_0x2ac94d))||_0x2ac94d);return _0x3207d1&&_0x2ac94d&&vr(_0x952367,_0x4c8f6f,_0x2ac94d),_0x2ac94d;},ft=(_0x1f5718,_0x498701)=>(_0x24fb77,_0x5967e2)=>_0x498701(_0x24fb77,_0x5967e2,_0x1f5718);let rt=class extends _0x1a5dd9{constructor(_0x51bca1,_0x4952a3,_0x4e9958){var _0xad0321=_0x1f558c;super(),N(this,'_entities',new Map()),N(this,_0xad0321(0x272),new _0x13d4cc()),N(this,_0xad0321(0x36d),this['_entityInit$']['asObservable']()),(this[_0xad0321(0x1b3)]=_0x51bca1,this[_0xad0321(0x18b)]=_0x4952a3,this[_0xad0321(0x435)]=_0x4e9958,this[_0xad0321(0x2e9)]());}['dispose'](){var _0x3d6bb5=_0x1f558c;super[_0x3d6bb5(0x227)](),this[_0x3d6bb5(0x169)]['forEach'](_0x51e0da=>_0x51e0da['dispose']()),this[_0x3d6bb5(0x169)][_0x3d6bb5(0x377)]();}[_0x1f558c(0x273)](_0x9b811d){var _0x57124b=_0x1f558c,_0x5f5846;return(_0x5f5846=this['_entities'][_0x57124b(0x1e3)](_0x9b811d))!=null?_0x5f5846:null;}[_0x1f558c(0x204)](_0x289c6c){var _0x3b0277=_0x1f558c;const _0x2fb78e=this[_0x3b0277(0x273)](_0x289c6c);return _0x2fb78e?_0xb786a0(_0x2fb78e):this[_0x3b0277(0x272)]['pipe'](_0x1bdf9d(_0x3e6ca4=>_0x3e6ca4[_0x3b0277(0x3e0)]===_0x289c6c));}[_0x1f558c(0x180)](_0x5a23b6){var _0x4d69d2=_0x1f558c;return _0x9545a1(this[_0x4d69d2(0x204)](_0x5a23b6)[_0x4d69d2(0x41e)](_0xeca816(()=>{})));}[_0x1f558c(0x2e9)](){var _0x28714f=_0x1f558c;this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x3d3)])[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]),_0x18b0fa(0x10))[_0x28714f(0x3a4)](async _0x38a638=>{var _0x3f5073=_0x28714f;const _0x23aeaf=_0x38a638[_0x3f5073(0x253)](),_0x36a16e=await this[_0x3f5073(0x24e)](_0x23aeaf,Q['UNIVER_SHEET']);this[_0x3f5073(0x169)]['set'](_0x23aeaf,_0x36a16e);}),this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x143)])[_0x28714f(0x41e)](_0x29925c(this['dispose$']),_0x18b0fa(0x10))[_0x28714f(0x41e)](_0x1bdf9d(_0x18712e=>!_0x18712e['getUnitId']()[_0x28714f(0x19d)]('__')))[_0x28714f(0x3a4)](async _0x55deed=>{var _0x29e118=_0x28714f;const _0x381310=_0x55deed[_0x29e118(0x253)](),_0x45b7c7=await this['_startCollaboration'](_0x381310,Q['UNIVER_DOC']);this[_0x29e118(0x169)]['set'](_0x381310,_0x45b7c7);}),_0x404c78(this['_univerInstanceService'][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x3d3)]),this[_0x28714f(0x435)][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x143)]))[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]))[_0x28714f(0x3a4)](_0x29a4ad=>{var _0x58a5dc=_0x28714f;const _0x55e6a1=_0x29a4ad[_0x58a5dc(0x253)](),_0x1ecdd9=this['_entities']['get'](_0x55e6a1);_0x1ecdd9&&(_0x1ecdd9['dispose'](),this['_entities'][_0x58a5dc(0x167)](_0x55e6a1));});}async[_0x1f558c(0x24e)](_0x179a8a,_0x3b6b37){var _0x37e265=_0x1f558c;const _0x2eb9eb=await this[_0x37e265(0x18b)][_0x37e265(0x1a7)](_0x179a8a),_0x2fd93a=this[_0x37e265(0x1b3)]['createInstance'](this['_getCtorByUniverType'](_0x3b6b37),_0x179a8a,_0x3b6b37,_0x2eb9eb);return await _0x2fd93a[_0x37e265(0x2e7)](),this[_0x37e265(0x272)][_0x37e265(0x140)](_0x2fd93a),_0x2fd93a;}[_0x1f558c(0x2b5)](_0x415df0){var _0x275f90=_0x1f558c;switch(_0x415df0){case Q['UNIVER_DOC']:return It;case Q[_0x275f90(0x3d3)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x415df0);}}};rt=mr([ft(0x0,_0x5b2811(_0x5b79bd)),ft(0x1,_0x5b2811(Le)),ft(0x2,_0x30c3be)],rt);var gr=Object[_0x1f558c(0x175)],Sr=Object[_0x1f558c(0x330)],Er=(_0x36c326,_0x2d70f5,_0x351261,_0x3493ae)=>{var _0x37fc76=_0x1f558c;for(var _0x484fbb=_0x3493ae>0x1?void 0x0:_0x3493ae?Sr(_0x2d70f5,_0x351261):_0x2d70f5,_0x2b5d61=_0x36c326[_0x37fc76(0x158)]-0x1,_0x381eef;_0x2b5d61>=0x0;_0x2b5d61--)(_0x381eef=_0x36c326[_0x2b5d61])&&(_0x484fbb=(_0x3493ae?_0x381eef(_0x2d70f5,_0x351261,_0x484fbb):_0x381eef(_0x484fbb))||_0x484fbb);return _0x3493ae&&_0x484fbb&&gr(_0x2d70f5,_0x351261,_0x484fbb),_0x484fbb;},zt=(_0x4e5edc,_0x47078d)=>(_0x3fa8f0,_0x3b7525)=>_0x47078d(_0x3fa8f0,_0x3b7525,_0x4e5edc);const Ir=_0x1f558c(0x13b),Tr=_0x1f558c(0x2c3);let Ct=class extends _0xc53c05{constructor(_0xcd24a3,_0x45b60e){var _0x1abde9=_0x1f558c;super(),this[_0x1abde9(0x435)]=_0xcd24a3,this[_0x1abde9(0x405)]=_0x45b60e,this['_init']();}[_0x1f558c(0x2e9)](){var _0x1c9b8a=_0x1f558c;this[_0x1c9b8a(0x2d6)](this[_0x1c9b8a(0x435)]['focused$']['subscribe'](()=>{var _0x4757fa=_0x1c9b8a,_0x16080d;const _0x529cb0=this[_0x4757fa(0x435)]['getFocusedUnit']();let _0x44ba1a=(_0x16080d=this['_configService'][_0x4757fa(0x2a0)](Ir))!=null?_0x16080d:Tr;_0x529cb0 instanceof _0x13ef59&&(_0x44ba1a=_0x529cb0[_0x4757fa(0x42a)]),document['title']=_0x44ba1a;}));}};Ct=Er([zt(0x0,_0x30c3be),zt(0x1,_0x4ea54a)],Ct);var Cr=Object[_0x1f558c(0x175)],br=Object['getOwnPropertyDescriptor'],Rr=(_0x16c3f2,_0x2d4a7e,_0x15fd13,_0x2a9bbd)=>{var _0xce15af=_0x1f558c;for(var _0x16101c=_0x2a9bbd>0x1?void 0x0:_0x2a9bbd?br(_0x2d4a7e,_0x15fd13):_0x2d4a7e,_0x2e8432=_0x16c3f2[_0xce15af(0x158)]-0x1,_0xb7514f;_0x2e8432>=0x0;_0x2e8432--)(_0xb7514f=_0x16c3f2[_0x2e8432])&&(_0x16101c=(_0x2a9bbd?_0xb7514f(_0x2d4a7e,_0x15fd13,_0x16101c):_0xb7514f(_0x16101c))||_0x16101c);return _0x2a9bbd&&_0x16101c&&Cr(_0x2d4a7e,_0x15fd13,_0x16101c),_0x16101c;},vt=(_0x5029c6,_0x58b86f)=>(_0x31eacd,_0xabf114)=>_0x58b86f(_0x31eacd,_0xabf114,_0x5029c6);let st=class{constructor(_0x35231a,_0x2eeb92,_0x35d7f7){var _0x4fd65c=_0x1f558c;this['_configService']=_0x35231a,this[_0x4fd65c(0x2d9)]=_0x2eeb92,this[_0x4fd65c(0x1cf)]=_0x35d7f7,this['init']();}[_0x1f558c(0x2e7)](){var _0x4a32f3=_0x1f558c;this[_0x4a32f3(0x2d9)][_0x4a32f3(0x251)]({'priority':0x1,'interceptor':(_0x550e13,_0x261358)=>_0x261358(_0x550e13)['pipe'](_0x574dc9(async _0x674ca7=>{var _0x31b526=_0x4a32f3;const _0x5b6847=_0x674ca7;if(_0x5b6847[_0x31b526(0x1c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x31b526(0x1cf)]['t'](_0x31b526(0x218)))){const _0x3891b6=window['encodeURIComponent'](window[_0x31b526(0x15a)]['href']);window['location'][_0x31b526(0x21b)]=this[_0x31b526(0x403)]()+_0x31b526(0x16c)+_0x3891b6;}}return _0x5b6847;}))});}['_getLoginPath'](){var _0x3625c1=_0x1f558c,_0x5de4d4,_0x4cfaec;const _0xfc9610=this[_0x3625c1(0x405)][_0x3625c1(0x2a0)](wn),_0x5216a1=this[_0x3625c1(0x405)]['getConfig'](q);return(_0x4cfaec=(_0x5de4d4=_0x5216a1==null?void 0x0:_0x5216a1['loginUrlKey'])!=null?_0x5de4d4:_0xfc9610)!=null?_0x4cfaec:Un;}};st=Rr([vt(0x0,_0x4ea54a),vt(0x1,_0x5b2811(_0x5b9922)),vt(0x2,_0x5b2811(_0x426c5e))],st);var Or=Object[_0x1f558c(0x175)],yr=Object[_0x1f558c(0x330)],Nr=(_0x1cbf48,_0x345d9d,_0x4a3006,_0x28e77c)=>{var _0x10e89e=_0x1f558c;for(var _0x53593d=_0x28e77c>0x1?void 0x0:_0x28e77c?yr(_0x345d9d,_0x4a3006):_0x345d9d,_0x1d4f2a=_0x1cbf48[_0x10e89e(0x158)]-0x1,_0x3b33ca;_0x1d4f2a>=0x0;_0x1d4f2a--)(_0x3b33ca=_0x1cbf48[_0x1d4f2a])&&(_0x53593d=(_0x28e77c?_0x3b33ca(_0x345d9d,_0x4a3006,_0x53593d):_0x3b33ca(_0x53593d))||_0x53593d);return _0x28e77c&&_0x53593d&&Or(_0x345d9d,_0x4a3006,_0x53593d),_0x53593d;},Jt=(_0x19d4e4,_0xe24d26)=>(_0x23ae2e,_0x5b3b1d)=>_0xe24d26(_0x23ae2e,_0x5b3b1d,_0x19d4e4);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0xc53c05{constructor(_0x3e1175,_0x57c1d6){var _0x58ef39=_0x1f558c;super(),this['_HTTPService']=_0x3e1175,this[_0x58ef39(0x405)]=_0x57c1d6,this['_initMergeInterceptor']();}[_0x1f558c(0x1a5)](){var _0x40f5f5=_0x1f558c;const _0x509e6d=this;this[_0x40f5f5(0x2d6)](this[_0x40f5f5(0x2d4)][_0x40f5f5(0x251)]({'priority':0x3e7,'interceptor':_0x324ea2({'isMatch'(_0x27d9ba){var _0x542953=_0x40f5f5,_0x58be83;if(_0x27d9ba['method']===_0x542953(0x2d1)&&((_0x58be83=_0x27d9ba[_0x542953(0x1ed)])!=null&&_0x58be83[_0x542953(0x2ac)])){const {objectID:_0x408330,objectType:_0x1340ff}=_0x27d9ba[_0x542953(0x1ed)]['body']||{};if(!_0x408330||_0x1340ff===void 0x0)return!0x1;const _0x5c41c4=_0x509e6d[_0x542953(0x1ce)]()+'/'+_0x1340ff+'/object/'+_0x408330+_0x542953(0x390);if(_0x27d9ba[_0x542953(0x3c6)]===_0x5c41c4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b2365){var _0x2553ff=_0x40f5f5,_0xd32f90;return(_0xd32f90=_0x3b2365['requestParams'])==null?void 0x0:_0xd32f90[_0x2553ff(0x2ac)];},'mergeParamsToRequest'(_0x3f2918,_0x5ed504){var _0x3c4978=_0x40f5f5;const _0x7a967f=_0x509e6d[_0x3c4978(0x1ce)]()+_0x3c4978(0x1db),_0x4be17b=_0x3f2918[_0x3c4978(0x376)]((_0x1442c4,_0x33bc66)=>{var _0x578a75=_0x3c4978;const {unitID:_0x346482,objectID:_0xc0e480,objectType:_0x518002,actions:_0x4fb10d}=_0x33bc66;return _0x1442c4[_0x346482]||(_0x1442c4[_0x346482]={}),_0x1442c4[_0x346482][_0xc0e480]||(_0x1442c4[_0x346482][_0xc0e480]={'objectID':_0xc0e480,'objectType':_0x518002,'actions':[]}),_0x1442c4[_0x346482][_0xc0e480]['actions'][_0x578a75(0x1eb)](..._0x4fb10d),_0x1442c4;},{}),_0xa312f6=[];for(const _0x7b73d7 in _0x4be17b)for(const _0x2a04a2 in _0x4be17b[_0x7b73d7]){const {actions:_0x598553,objectType:_0xb6bfe}=_0x4be17b[_0x7b73d7][_0x2a04a2],_0xa42063=[...new Set(_0x598553)];_0xa312f6[_0x3c4978(0x1eb)]({'unitID':_0x7b73d7,'objectID':_0x2a04a2,'objectType':_0xb6bfe,'actions':_0xa42063});}return new _0x4ba1c4('POST',_0x7a967f,{'headers':_0x5ed504['headers'],'withCredentials':_0x5ed504['withCredentials'],'responseType':_0x5ed504[_0x3c4978(0x1d5)],'body':{'requests':_0xa312f6}});}},{'distributeResult'(_0x4522c8,_0x177471){var _0x495e40=_0x40f5f5;const {objectActions:_0x6ad2a8}=_0x4522c8;return _0x177471[_0x495e40(0x3b0)](_0x3164e8=>{var _0x384165=_0x495e40;const {unitID:_0x3f8688,objectID:_0x19e8b3,actions:_0x282fd5}=_0x3164e8,_0xa2191=_0x6ad2a8[_0x384165(0x1c5)](_0x22944d=>_0x22944d['unitID']===_0x3f8688&&_0x22944d[_0x384165(0x3a9)]===_0x19e8b3),_0x337089=_0x282fd5[_0x384165(0x3b0)](_0x5396e0=>_0xa2191==null?void 0x0:_0xa2191[_0x384165(0x2f8)]['find'](_0x9497d9=>_0x9497d9[_0x384165(0x3e9)]===_0x5396e0))['filter'](_0x30fc4b=>!!_0x30fc4b);return{'config':_0x3164e8,'result':{'actions':_0x337089,'error':_0x4522c8['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x49ee45=_0x1f558c,_0x7292b9,_0x27d3aa;const _0x32c3b0=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](Ni),_0x8e9f15=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](q);return(_0x27d3aa=(_0x7292b9=_0x8e9f15==null?void 0x0:_0x8e9f15['authzUrl'])!=null?_0x7292b9:_0x32c3b0)!=null?_0x27d3aa:Dr;}async[_0x1f558c(0x17d)](_0x2b9e33){var _0x21b4fb=_0x1f558c;const _0x5c5572=this[_0x21b4fb(0x1ce)]()+'/'+_0x2b9e33[_0x21b4fb(0x19a)]+_0x21b4fb(0x3c3);return(await this[_0x21b4fb(0x2d4)]['post'](_0x5c5572,{'body':_0x2b9e33}))['body'][_0x21b4fb(0x3a9)]||'';}async[_0x1f558c(0x13a)](_0x1a77e1){var _0x33c2dc=_0x1f558c;const _0x1bbb92=this[_0x33c2dc(0x1ce)]()+_0x33c2dc(0x1a3);return(await this['_HTTPService'][_0x33c2dc(0x268)](_0x1bbb92,{'body':_0x1a77e1}))['body'][_0x33c2dc(0x2b9)];}async[_0x1f558c(0x1fc)](_0x1fc7d6){var _0x54d130=_0x1f558c;const _0x27fe56=this['_getAPIPrefixPath']()+'/'+_0x1fc7d6[_0x54d130(0x19a)]+_0x54d130(0x3da)+_0x1fc7d6['objectID'];await this['_HTTPService']['put'](_0x27fe56,{'body':_0x1fc7d6});}async[_0x1f558c(0x256)](_0xd5c1b9){var _0x1d132b=_0x1f558c;const _0x10c31a=this['_getAPIPrefixPath']()+'/'+_0xd5c1b9[_0x1d132b(0x19a)]+'/object/'+_0xd5c1b9['objectID']+'/allowed';return(await this[_0x1d132b(0x2d4)]['post'](_0x10c31a,{'body':_0xd5c1b9}))[_0x1d132b(0x2ac)][_0x1d132b(0x2f8)];}async[_0x1f558c(0x1e0)](_0x4ca765){var _0x24e5eb=_0x1f558c;const _0x9cbc3f=this[_0x24e5eb(0x1ce)]()+_0x24e5eb(0x1db);return(await this['_HTTPService'][_0x24e5eb(0x268)](_0x9cbc3f,{'body':{'requests':_0x4ca765}}))['body'][_0x24e5eb(0x1c3)];}async[_0x1f558c(0x411)](_0x2d69bd){var _0x4a7a1a=_0x1f558c;const _0x5cbaca=this[_0x4a7a1a(0x1ce)]()+'/'+_0x2d69bd[_0x4a7a1a(0x19a)]+_0x4a7a1a(0x18a),_0x20f275=await this[_0x4a7a1a(0x2d4)][_0x4a7a1a(0x268)](_0x5cbaca,{'body':_0x2d69bd});return{'roles':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x1e8)],'actions':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x2f8)]};}async[_0x1f558c(0x40f)](_0x702d6c){var _0x4fe3ad=_0x1f558c;const _0x3d7273=this['_getAPIPrefixPath']()+_0x4fe3ad(0x32a);await this[_0x4fe3ad(0x2d4)]['delete'](_0x3d7273,{'params':{'collaboratorID':_0x702d6c[_0x4fe3ad(0x166)],'objectID':_0x702d6c[_0x4fe3ad(0x3a9)],'unitID':_0x702d6c[_0x4fe3ad(0x3e0)]}});}async[_0x1f558c(0x3a1)](_0x9ff1a4){var _0x1c5fb3=_0x1f558c;const _0x2e81c3=this[_0x1c5fb3(0x1ce)]()+_0x1c5fb3(0x32a);await this[_0x1c5fb3(0x2d4)][_0x1c5fb3(0x326)](_0x2e81c3,{'body':_0x9ff1a4});}async[_0x1f558c(0x2f1)](_0x579f3a){var _0x21add4=_0x1f558c;const _0x5b890d=this[_0x21add4(0x1ce)]()+_0x21add4(0x32a);await this[_0x21add4(0x2d4)]['post'](_0x5b890d,{'body':_0x579f3a});}async['listCollaborators'](_0x3c600b){var _0x2720f2=_0x1f558c;const _0x3ad0bf=this[_0x2720f2(0x1ce)]()+_0x2720f2(0x32a);return(await this['_HTTPService'][_0x2720f2(0x1e3)](_0x3ad0bf,{'params':{'objectID':_0x3c600b[_0x2720f2(0x3a9)],'unitID':_0x3c600b[_0x2720f2(0x3e0)]}}))[_0x2720f2(0x2ac)][_0x2720f2(0x181)];}async[_0x1f558c(0x162)](_0x3ecf79){var _0x7f9ab9=_0x1f558c;const _0x4d5516=this['_getAPIPrefixPath']()+_0x7f9ab9(0x32a);await this[_0x7f9ab9(0x2d4)][_0x7f9ab9(0x154)](_0x4d5516,{'body':_0x3ecf79});}};bt=Nr([Jt(0x0,_0x5b2811(_0x5b9922)),Jt(0x1,_0x5b2811(_0x4ea54a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2c5a98){var _0x4b9bbf=_0x1f558c;return _0x2c5a98&&_0x2c5a98[_0x4b9bbf(0x1f6)]&&Object[_0x4b9bbf(0x36a)][_0x4b9bbf(0x1fb)]['call'](_0x2c5a98,_0x4b9bbf(0x20a))?_0x2c5a98[_0x4b9bbf(0x20a)]:_0x2c5a98;}var Ge={'exports':{}};function Pr(_0x1bb6e1){var _0x5a5a31=_0x1f558c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1bb6e1+_0x5a5a31(0x259));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x386154,_0x1efd7e){(function(_0x7735ee,_0x5cfd20){var _0x5af178=_0x4725;_0x386154[_0x5af178(0x24b)]=_0x5cfd20();}(wr,function(){var _0x199ca3=_0x199ca3||function(_0x9b3f8,_0x11961c){var _0xd5443d=_0x4725,_0x1fcd98;if(typeof window<'u'&&window['crypto']&&(_0x1fcd98=window[_0xd5443d(0x3f0)]),typeof self<'u'&&self['crypto']&&(_0x1fcd98=self[_0xd5443d(0x3f0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1fcd98=globalThis[_0xd5443d(0x3f0)]),!_0x1fcd98&&typeof window<'u'&&window[_0xd5443d(0x2d3)]&&(_0x1fcd98=window[_0xd5443d(0x2d3)]),!_0x1fcd98&&typeof pt<'u'&&pt[_0xd5443d(0x3f0)]&&(_0x1fcd98=pt['crypto']),!_0x1fcd98&&typeof Pr==_0xd5443d(0x1dd))try{_0x1fcd98=require(_0xd5443d(0x3f0));}catch{}var _0x401748=function(){var _0x326496=_0xd5443d;if(_0x1fcd98){if(typeof _0x1fcd98[_0x326496(0x3ac)]==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x3ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fcd98['randomBytes']==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x195)](0x4)[_0x326496(0x400)]();}catch{}}throw new Error(_0x326496(0x3c9));},_0x550fc2=Object['create']||(function(){function _0x33b4f3(){}return function(_0x1879a9){var _0x4d1c28;return _0x33b4f3['prototype']=_0x1879a9,_0x4d1c28=new _0x33b4f3(),_0x33b4f3['prototype']=null,_0x4d1c28;};}()),_0x4b649e={},_0x178801=_0x4b649e[_0xd5443d(0x244)]={},_0x178658=_0x178801['Base']=(function(){return{'extend':function(_0x224c78){var _0x30a390=_0x4725,_0x4508ff=_0x550fc2(this);return _0x224c78&&_0x4508ff[_0x30a390(0x3cc)](_0x224c78),(!_0x4508ff[_0x30a390(0x1fb)]('init')||this['init']===_0x4508ff['init'])&&(_0x4508ff[_0x30a390(0x2e7)]=function(){var _0x545ac3=_0x30a390;_0x4508ff[_0x545ac3(0x3d0)][_0x545ac3(0x2e7)][_0x545ac3(0x1fa)](this,arguments);}),_0x4508ff[_0x30a390(0x2e7)][_0x30a390(0x36a)]=_0x4508ff,_0x4508ff[_0x30a390(0x3d0)]=this,_0x4508ff;},'create':function(){var _0x4441df=_0x4725,_0x39fbb9=this['extend']();return _0x39fbb9['init'][_0x4441df(0x1fa)](_0x39fbb9,arguments),_0x39fbb9;},'init':function(){},'mixIn':function(_0x5a114f){var _0xdf588a=_0x4725;for(var _0x1e52f2 in _0x5a114f)_0x5a114f[_0xdf588a(0x1fb)](_0x1e52f2)&&(this[_0x1e52f2]=_0x5a114f[_0x1e52f2]);_0x5a114f[_0xdf588a(0x1fb)](_0xdf588a(0x28c))&&(this[_0xdf588a(0x28c)]=_0x5a114f[_0xdf588a(0x28c)]);},'clone':function(){var _0x1c48fa=_0x4725;return this[_0x1c48fa(0x2e7)][_0x1c48fa(0x36a)][_0x1c48fa(0x22f)](this);}};}()),_0x11b207=_0x178801[_0xd5443d(0x3f3)]=_0x178658['extend']({'init':function(_0x3f9b1f,_0x2168ca){var _0x5b85c1=_0xd5443d;_0x3f9b1f=this[_0x5b85c1(0x287)]=_0x3f9b1f||[],_0x2168ca!=_0x11961c?this[_0x5b85c1(0x1bf)]=_0x2168ca:this[_0x5b85c1(0x1bf)]=_0x3f9b1f[_0x5b85c1(0x158)]*0x4;},'toString':function(_0x29e3a6){var _0x792981=_0xd5443d;return(_0x29e3a6||_0x56255b)[_0x792981(0x283)](this);},'concat':function(_0x21eac8){var _0x41ac1d=_0xd5443d,_0x1d6f99=this['words'],_0x39a771=_0x21eac8['words'],_0x5d7867=this[_0x41ac1d(0x1bf)],_0x4d2869=_0x21eac8['sigBytes'];if(this[_0x41ac1d(0x1df)](),_0x5d7867%0x4)for(var _0x1b747e=0x0;_0x1b747e<_0x4d2869;_0x1b747e++){var _0x26362f=_0x39a771[_0x1b747e>>>0x2]>>>0x18-_0x1b747e%0x4*0x8&0xff;_0x1d6f99[_0x5d7867+_0x1b747e>>>0x2]|=_0x26362f<<0x18-(_0x5d7867+_0x1b747e)%0x4*0x8;}else{for(var _0x503025=0x0;_0x503025<_0x4d2869;_0x503025+=0x4)_0x1d6f99[_0x5d7867+_0x503025>>>0x2]=_0x39a771[_0x503025>>>0x2];}return this[_0x41ac1d(0x1bf)]+=_0x4d2869,this;},'clamp':function(){var _0x6a5cb5=_0xd5443d,_0x4e2383=this[_0x6a5cb5(0x287)],_0x111254=this[_0x6a5cb5(0x1bf)];_0x4e2383[_0x111254>>>0x2]&=0xffffffff<<0x20-_0x111254%0x4*0x8,_0x4e2383[_0x6a5cb5(0x158)]=_0x9b3f8[_0x6a5cb5(0x35b)](_0x111254/0x4);},'clone':function(){var _0x18faef=_0xd5443d,_0x48b758=_0x178658[_0x18faef(0x395)][_0x18faef(0x178)](this);return _0x48b758['words']=this['words']['slice'](0x0),_0x48b758;},'random':function(_0x367664){var _0x4ba093=_0xd5443d;for(var _0x23ce07=[],_0xe216fc=0x0;_0xe216fc<_0x367664;_0xe216fc+=0x4)_0x23ce07[_0x4ba093(0x1eb)](_0x401748());return new _0x11b207[(_0x4ba093(0x2e7))](_0x23ce07,_0x367664);}}),_0x34dbda=_0x4b649e[_0xd5443d(0x349)]={},_0x56255b=_0x34dbda['Hex']={'stringify':function(_0x591005){var _0x28f065=_0xd5443d;for(var _0x1fc758=_0x591005[_0x28f065(0x287)],_0x37915a=_0x591005[_0x28f065(0x1bf)],_0x4e4b73=[],_0x3eff98=0x0;_0x3eff98<_0x37915a;_0x3eff98++){var _0x21a49c=_0x1fc758[_0x3eff98>>>0x2]>>>0x18-_0x3eff98%0x4*0x8&0xff;_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c>>>0x4)[_0x28f065(0x28c)](0x10)),_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c&0xf)['toString'](0x10));}return _0x4e4b73[_0x28f065(0x1be)]('');},'parse':function(_0x39a9ad){var _0x34c90f=_0xd5443d;for(var _0x21ac4a=_0x39a9ad[_0x34c90f(0x158)],_0x4c115d=[],_0x1d7eaf=0x0;_0x1d7eaf<_0x21ac4a;_0x1d7eaf+=0x2)_0x4c115d[_0x1d7eaf>>>0x3]|=parseInt(_0x39a9ad[_0x34c90f(0x217)](_0x1d7eaf,0x2),0x10)<<0x18-_0x1d7eaf%0x8*0x4;return new _0x11b207[(_0x34c90f(0x2e7))](_0x4c115d,_0x21ac4a/0x2);}},_0x2c8a9f=_0x34dbda['Latin1']={'stringify':function(_0x11534a){var _0x29a41c=_0xd5443d;for(var _0x19d2da=_0x11534a[_0x29a41c(0x287)],_0xdb4870=_0x11534a[_0x29a41c(0x1bf)],_0x33bebc=[],_0xbb115e=0x0;_0xbb115e<_0xdb4870;_0xbb115e++){var _0x25f710=_0x19d2da[_0xbb115e>>>0x2]>>>0x18-_0xbb115e%0x4*0x8&0xff;_0x33bebc[_0x29a41c(0x1eb)](String[_0x29a41c(0x37f)](_0x25f710));}return _0x33bebc[_0x29a41c(0x1be)]('');},'parse':function(_0x40f157){var _0x41ac8a=_0xd5443d;for(var _0x527c98=_0x40f157['length'],_0x4e8dd8=[],_0x36f6c5=0x0;_0x36f6c5<_0x527c98;_0x36f6c5++)_0x4e8dd8[_0x36f6c5>>>0x2]|=(_0x40f157[_0x41ac8a(0x406)](_0x36f6c5)&0xff)<<0x18-_0x36f6c5%0x4*0x8;return new _0x11b207[(_0x41ac8a(0x2e7))](_0x4e8dd8,_0x527c98);}},_0x4d89a8=_0x34dbda[_0xd5443d(0x39c)]={'stringify':function(_0x310b01){var _0x37ca7f=_0xd5443d;try{return decodeURIComponent(escape(_0x2c8a9f[_0x37ca7f(0x283)](_0x310b01)));}catch{throw new Error(_0x37ca7f(0x31a));}},'parse':function(_0x5486aa){return _0x2c8a9f['parse'](unescape(encodeURIComponent(_0x5486aa)));}},_0x52116d=_0x178801[_0xd5443d(0x3e2)]=_0x178658[_0xd5443d(0x22f)]({'reset':function(){var _0x4dabbd=_0xd5443d;this['_data']=new _0x11b207[(_0x4dabbd(0x2e7))](),this[_0x4dabbd(0x2ba)]=0x0;},'_append':function(_0x197b68){var _0x36395c=_0xd5443d;typeof _0x197b68=='string'&&(_0x197b68=_0x4d89a8[_0x36395c(0x234)](_0x197b68)),this[_0x36395c(0x2ca)][_0x36395c(0x147)](_0x197b68),this[_0x36395c(0x2ba)]+=_0x197b68['sigBytes'];},'_process':function(_0x3e568c){var _0x26df41=_0xd5443d,_0x181577,_0x46c75b=this['_data'],_0x4718d4=_0x46c75b[_0x26df41(0x287)],_0x78f0df=_0x46c75b[_0x26df41(0x1bf)],_0x59184c=this[_0x26df41(0x3b6)],_0x2bbd39=_0x59184c*0x4,_0x4c0f63=_0x78f0df/_0x2bbd39;_0x3e568c?_0x4c0f63=_0x9b3f8[_0x26df41(0x35b)](_0x4c0f63):_0x4c0f63=_0x9b3f8[_0x26df41(0x3de)]((_0x4c0f63|0x0)-this[_0x26df41(0x2fb)],0x0);var _0x376057=_0x4c0f63*_0x59184c,_0xd89c26=_0x9b3f8[_0x26df41(0x420)](_0x376057*0x4,_0x78f0df);if(_0x376057){for(var _0xfb7c72=0x0;_0xfb7c72<_0x376057;_0xfb7c72+=_0x59184c)this[_0x26df41(0x33a)](_0x4718d4,_0xfb7c72);_0x181577=_0x4718d4[_0x26df41(0x252)](0x0,_0x376057),_0x46c75b['sigBytes']-=_0xd89c26;}return new _0x11b207[(_0x26df41(0x2e7))](_0x181577,_0xd89c26);},'clone':function(){var _0x27d281=_0xd5443d,_0x304030=_0x178658['clone'][_0x27d281(0x178)](this);return _0x304030[_0x27d281(0x2ca)]=this['_data']['clone'](),_0x304030;},'_minBufferSize':0x0});_0x178801[_0xd5443d(0x1c6)]=_0x52116d[_0xd5443d(0x22f)]({'cfg':_0x178658['extend'](),'init':function(_0x1f02cf){var _0x1e9eff=_0xd5443d;this[_0x1e9eff(0x236)]=this['cfg'][_0x1e9eff(0x22f)](_0x1f02cf),this['reset']();},'reset':function(){var _0x325479=_0xd5443d;_0x52116d[_0x325479(0x43a)]['call'](this),this[_0x325479(0x3c0)]();},'update':function(_0x508950){var _0x2ff3dc=_0xd5443d;return this[_0x2ff3dc(0x203)](_0x508950),this[_0x2ff3dc(0x2dc)](),this;},'finalize':function(_0x5b090b){var _0x69ea75=_0xd5443d;_0x5b090b&&this[_0x69ea75(0x203)](_0x5b090b);var _0x25204c=this[_0x69ea75(0x30e)]();return _0x25204c;},'blockSize':0x10,'_createHelper':function(_0xcfe9c8){return function(_0x2df44a,_0x276913){var _0x406a3b=_0x4725;return new _0xcfe9c8[(_0x406a3b(0x2e7))](_0x276913)[_0x406a3b(0x327)](_0x2df44a);};},'_createHmacHelper':function(_0x307f98){return function(_0x194840,_0x3924a2){var _0x5bd76c=_0x4725;return new _0x4ec396[(_0x5bd76c(0x322))]['init'](_0x307f98,_0x3924a2)[_0x5bd76c(0x327)](_0x194840);};}});var _0x4ec396=_0x4b649e[_0xd5443d(0x135)]={};return _0x4b649e;}(Math);return _0x199ca3;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x1f558c(0x24b)],Zt;function Di(){var _0x2006f8=_0x1f558c;return Zt||(Zt=0x1,function(_0x2f8b80,_0x1fc25e){(function(_0x581189,_0x10400c){var _0x1d4961=_0x4725;_0x2f8b80[_0x1d4961(0x24b)]=_0x10400c(ie());}(Ur,function(_0x49d68d){var _0x55a5a7=_0x4725;return(function(){var _0x39b325=_0x4725,_0x2d0101=_0x49d68d,_0x16225e=_0x2d0101[_0x39b325(0x244)],_0x5eae84=_0x16225e[_0x39b325(0x3f3)],_0x1d9feb=_0x2d0101[_0x39b325(0x349)];_0x1d9feb['Base64']={'stringify':function(_0x1a9c50){var _0x284bec=_0x39b325,_0xba8b4b=_0x1a9c50[_0x284bec(0x287)],_0x4e08e8=_0x1a9c50[_0x284bec(0x1bf)],_0x4e5760=this[_0x284bec(0x2a3)];_0x1a9c50[_0x284bec(0x1df)]();for(var _0x127d43=[],_0x3eb063=0x0;_0x3eb063<_0x4e08e8;_0x3eb063+=0x3)for(var _0x1dfdf9=_0xba8b4b[_0x3eb063>>>0x2]>>>0x18-_0x3eb063%0x4*0x8&0xff,_0x1621d6=_0xba8b4b[_0x3eb063+0x1>>>0x2]>>>0x18-(_0x3eb063+0x1)%0x4*0x8&0xff,_0x4a7ec3=_0xba8b4b[_0x3eb063+0x2>>>0x2]>>>0x18-(_0x3eb063+0x2)%0x4*0x8&0xff,_0x5c81cc=_0x1dfdf9<<0x10|_0x1621d6<<0x8|_0x4a7ec3,_0x5ed90a=0x0;_0x5ed90a<0x4&&_0x3eb063+_0x5ed90a*0.75<_0x4e08e8;_0x5ed90a++)_0x127d43[_0x284bec(0x1eb)](_0x4e5760['charAt'](_0x5c81cc>>>0x6*(0x3-_0x5ed90a)&0x3f));var _0x2ed03a=_0x4e5760[_0x284bec(0x23e)](0x40);if(_0x2ed03a){for(;_0x127d43[_0x284bec(0x158)]%0x4;)_0x127d43[_0x284bec(0x1eb)](_0x2ed03a);}return _0x127d43[_0x284bec(0x1be)]('');},'parse':function(_0x4f3c8f){var _0x11cde2=_0x39b325,_0x1a6e64=_0x4f3c8f[_0x11cde2(0x158)],_0x3f2deb=this['_map'],_0x14375b=this[_0x11cde2(0x15c)];if(!_0x14375b){_0x14375b=this['_reverseMap']=[];for(var _0xdf6c7e=0x0;_0xdf6c7e<_0x3f2deb['length'];_0xdf6c7e++)_0x14375b[_0x3f2deb[_0x11cde2(0x406)](_0xdf6c7e)]=_0xdf6c7e;}var _0x491d4e=_0x3f2deb[_0x11cde2(0x23e)](0x40);if(_0x491d4e){var _0x20be19=_0x4f3c8f[_0x11cde2(0x431)](_0x491d4e);_0x20be19!==-0x1&&(_0x1a6e64=_0x20be19);}return _0x58bd0e(_0x4f3c8f,_0x1a6e64,_0x14375b);},'_map':_0x39b325(0x28e)};function _0x58bd0e(_0xb32d85,_0x2ae40f,_0x2ad3fa){var _0x48aba3=_0x39b325;for(var _0x552882=[],_0x56c44c=0x0,_0x4f149c=0x0;_0x4f149c<_0x2ae40f;_0x4f149c++)if(_0x4f149c%0x4){var _0x1691e6=_0x2ad3fa[_0xb32d85[_0x48aba3(0x406)](_0x4f149c-0x1)]<<_0x4f149c%0x4*0x2,_0xd02c0a=_0x2ad3fa[_0xb32d85['charCodeAt'](_0x4f149c)]>>>0x6-_0x4f149c%0x4*0x2,_0x2447bf=_0x1691e6|_0xd02c0a;_0x552882[_0x56c44c>>>0x2]|=_0x2447bf<<0x18-_0x56c44c%0x4*0x8,_0x56c44c++;}return _0x5eae84[_0x48aba3(0x17d)](_0x552882,_0x56c44c);}}()),_0x49d68d[_0x55a5a7(0x349)][_0x55a5a7(0x235)];}));}(We)),We[_0x2006f8(0x24b)];}var Ke={'exports':{}},Ar=Ke[_0x1f558c(0x24b)],Qt;function xr(){var _0x5e706f=_0x1f558c;return Qt||(Qt=0x1,function(_0xb7e99c,_0x5a1f41){(function(_0x38c4b7,_0x58c539){var _0x19be49=_0x4725;_0xb7e99c[_0x19be49(0x24b)]=_0x58c539(ie());}(Ar,function(_0x26c65b){var _0x40ea53=_0x4725;return function(_0x34044d){var _0x2b4789=_0x4725,_0x34e599=_0x26c65b,_0x4b9df0=_0x34e599[_0x2b4789(0x244)],_0x7746c3=_0x4b9df0[_0x2b4789(0x3f3)],_0xf6109a=_0x4b9df0[_0x2b4789(0x1c6)],_0x21fbb1=_0x34e599['algo'],_0x66806c=[];(function(){var _0x30e822=_0x2b4789;for(var _0x40cec8=0x0;_0x40cec8<0x40;_0x40cec8++)_0x66806c[_0x40cec8]=_0x34044d[_0x30e822(0x2c2)](_0x34044d['sin'](_0x40cec8+0x1))*0x100000000|0x0;}());var _0x1267cc=_0x21fbb1[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x22f)]({'_doReset':function(){var _0xc47b44=_0x2b4789;this['_hash']=new _0x7746c3[(_0xc47b44(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x77f11d,_0x38fb01){var _0x210da5=_0x2b4789;for(var _0x57c6af=0x0;_0x57c6af<0x10;_0x57c6af++){var _0x2c5314=_0x38fb01+_0x57c6af,_0x5d48c6=_0x77f11d[_0x2c5314];_0x77f11d[_0x2c5314]=(_0x5d48c6<<0x8|_0x5d48c6>>>0x18)&0xff00ff|(_0x5d48c6<<0x18|_0x5d48c6>>>0x8)&0xff00ff00;}var _0x3bb696=this['_hash'][_0x210da5(0x287)],_0x21dea3=_0x77f11d[_0x38fb01+0x0],_0x5bb799=_0x77f11d[_0x38fb01+0x1],_0x2fd8be=_0x77f11d[_0x38fb01+0x2],_0x4d5063=_0x77f11d[_0x38fb01+0x3],_0x47fa74=_0x77f11d[_0x38fb01+0x4],_0x500a33=_0x77f11d[_0x38fb01+0x5],_0x4ac336=_0x77f11d[_0x38fb01+0x6],_0x149fe7=_0x77f11d[_0x38fb01+0x7],_0x1b3b85=_0x77f11d[_0x38fb01+0x8],_0xb64e7=_0x77f11d[_0x38fb01+0x9],_0x3a5517=_0x77f11d[_0x38fb01+0xa],_0x2d5815=_0x77f11d[_0x38fb01+0xb],_0xa11665=_0x77f11d[_0x38fb01+0xc],_0x489fcf=_0x77f11d[_0x38fb01+0xd],_0x5581d7=_0x77f11d[_0x38fb01+0xe],_0x325286=_0x77f11d[_0x38fb01+0xf],_0x8666f1=_0x3bb696[0x0],_0x4e06fd=_0x3bb696[0x1],_0x2f2443=_0x3bb696[0x2],_0xcb00bb=_0x3bb696[0x3];_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x7,_0x66806c[0x0]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5bb799,0xc,_0x66806c[0x1]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0x11,_0x66806c[0x2]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4d5063,0x16,_0x66806c[0x3]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x7,_0x66806c[0x4]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x500a33,0xc,_0x66806c[0x5]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0x11,_0x66806c[0x6]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x149fe7,0x16,_0x66806c[0x7]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x7,_0x66806c[0x8]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xb64e7,0xc,_0x66806c[0x9]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0x11,_0x66806c[0xa]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2d5815,0x16,_0x66806c[0xb]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x7,_0x66806c[0xc]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x489fcf,0xc,_0x66806c[0xd]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0x11,_0x66806c[0xe]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x325286,0x16,_0x66806c[0xf]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x5,_0x66806c[0x10]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4ac336,0x9,_0x66806c[0x11]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0xe,_0x66806c[0x12]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x21dea3,0x14,_0x66806c[0x13]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x5,_0x66806c[0x14]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x3a5517,0x9,_0x66806c[0x15]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0xe,_0x66806c[0x16]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x47fa74,0x14,_0x66806c[0x17]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x5,_0x66806c[0x18]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5581d7,0x9,_0x66806c[0x19]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0xe,_0x66806c[0x1a]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x1b3b85,0x14,_0x66806c[0x1b]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x5,_0x66806c[0x1c]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2fd8be,0x9,_0x66806c[0x1d]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0xe,_0x66806c[0x1e]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xa11665,0x14,_0x66806c[0x1f]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x4,_0x66806c[0x20]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x1b3b85,0xb,_0x66806c[0x21]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0x10,_0x66806c[0x22]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5581d7,0x17,_0x66806c[0x23]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x4,_0x66806c[0x24]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x47fa74,0xb,_0x66806c[0x25]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0x10,_0x66806c[0x26]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x3a5517,0x17,_0x66806c[0x27]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x4,_0x66806c[0x28]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x21dea3,0xb,_0x66806c[0x29]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0x10,_0x66806c[0x2a]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4ac336,0x17,_0x66806c[0x2b]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x4,_0x66806c[0x2c]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xa11665,0xb,_0x66806c[0x2d]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0x10,_0x66806c[0x2e]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2fd8be,0x17,_0x66806c[0x2f]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x6,_0x66806c[0x30]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x149fe7,0xa,_0x66806c[0x31]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0xf,_0x66806c[0x32]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x500a33,0x15,_0x66806c[0x33]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x6,_0x66806c[0x34]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4d5063,0xa,_0x66806c[0x35]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0xf,_0x66806c[0x36]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5bb799,0x15,_0x66806c[0x37]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x6,_0x66806c[0x38]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x325286,0xa,_0x66806c[0x39]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0xf,_0x66806c[0x3a]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x489fcf,0x15,_0x66806c[0x3b]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x6,_0x66806c[0x3c]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2d5815,0xa,_0x66806c[0x3d]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0xf,_0x66806c[0x3e]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xb64e7,0x15,_0x66806c[0x3f]),_0x3bb696[0x0]=_0x3bb696[0x0]+_0x8666f1|0x0,_0x3bb696[0x1]=_0x3bb696[0x1]+_0x4e06fd|0x0,_0x3bb696[0x2]=_0x3bb696[0x2]+_0x2f2443|0x0,_0x3bb696[0x3]=_0x3bb696[0x3]+_0xcb00bb|0x0;},'_doFinalize':function(){var _0x2f84c8=_0x2b4789,_0x5d68e8=this[_0x2f84c8(0x2ca)],_0x11d792=_0x5d68e8['words'],_0x26cc3d=this['_nDataBytes']*0x8,_0x527695=_0x5d68e8[_0x2f84c8(0x1bf)]*0x8;_0x11d792[_0x527695>>>0x5]|=0x80<<0x18-_0x527695%0x20;var _0x162c3e=_0x34044d['floor'](_0x26cc3d/0x100000000),_0x2cc930=_0x26cc3d;_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xf]=(_0x162c3e<<0x8|_0x162c3e>>>0x18)&0xff00ff|(_0x162c3e<<0x18|_0x162c3e>>>0x8)&0xff00ff00,_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xe]=(_0x2cc930<<0x8|_0x2cc930>>>0x18)&0xff00ff|(_0x2cc930<<0x18|_0x2cc930>>>0x8)&0xff00ff00,_0x5d68e8[_0x2f84c8(0x1bf)]=(_0x11d792[_0x2f84c8(0x158)]+0x1)*0x4,this[_0x2f84c8(0x2dc)]();for(var _0x5d7e38=this['_hash'],_0x5c6eec=_0x5d7e38[_0x2f84c8(0x287)],_0xd81d92=0x0;_0xd81d92<0x4;_0xd81d92++){var _0x82575=_0x5c6eec[_0xd81d92];_0x5c6eec[_0xd81d92]=(_0x82575<<0x8|_0x82575>>>0x18)&0xff00ff|(_0x82575<<0x18|_0x82575>>>0x8)&0xff00ff00;}return _0x5d7e38;},'clone':function(){var _0x561c05=_0x2b4789,_0x36ee23=_0xf6109a[_0x561c05(0x395)]['call'](this);return _0x36ee23[_0x561c05(0x276)]=this[_0x561c05(0x276)][_0x561c05(0x395)](),_0x36ee23;}});function _0x3d666c(_0x381b11,_0x5f5624,_0x1356a3,_0x1cf1ec,_0x3c55aa,_0x411ca3,_0x5451ab){var _0x52d927=_0x381b11+(_0x5f5624&_0x1356a3|~_0x5f5624&_0x1cf1ec)+_0x3c55aa+_0x5451ab;return(_0x52d927<<_0x411ca3|_0x52d927>>>0x20-_0x411ca3)+_0x5f5624;}function _0x2fcf24(_0xd829b8,_0x54df79,_0x351db3,_0x41bc24,_0x50408c,_0x2e46b7,_0x54a61e){var _0x38ab29=_0xd829b8+(_0x54df79&_0x41bc24|_0x351db3&~_0x41bc24)+_0x50408c+_0x54a61e;return(_0x38ab29<<_0x2e46b7|_0x38ab29>>>0x20-_0x2e46b7)+_0x54df79;}function _0x59d49b(_0x368f3d,_0x1068a6,_0x11d669,_0x8ca0f,_0x15dd9d,_0x640d6c,_0x386df5){var _0x330b66=_0x368f3d+(_0x1068a6^_0x11d669^_0x8ca0f)+_0x15dd9d+_0x386df5;return(_0x330b66<<_0x640d6c|_0x330b66>>>0x20-_0x640d6c)+_0x1068a6;}function _0x455b83(_0x188c09,_0x304b49,_0x5d29a1,_0x4736f0,_0x44c367,_0x4a9f81,_0x280328){var _0x792a5=_0x188c09+(_0x5d29a1^(_0x304b49|~_0x4736f0))+_0x44c367+_0x280328;return(_0x792a5<<_0x4a9f81|_0x792a5>>>0x20-_0x4a9f81)+_0x304b49;}_0x34e599[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x36e)](_0x1267cc),_0x34e599[_0x2b4789(0x1e9)]=_0xf6109a[_0x2b4789(0x296)](_0x1267cc);}(Math),_0x26c65b[_0x40ea53(0x416)];}));}(Ke)),Ke[_0x5e706f(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x1f558c(0x24b)],ei;function Mr(){var _0xc6b48=_0x1f558c;return ei||(ei=0x1,function(_0x4c8e19,_0xf0135d){(function(_0x3face4,_0x3d49b0){var _0x1795f6=_0x4725;_0x4c8e19[_0x1795f6(0x24b)]=_0x3d49b0(ie());}(Lr,function(_0x28db15){var _0x47f2b2=_0x4725;return(function(){var _0x33d6d4=_0x4725,_0x1dbc39=_0x28db15,_0x3ae3c2=_0x1dbc39[_0x33d6d4(0x244)],_0x12b31b=_0x3ae3c2[_0x33d6d4(0x3f3)],_0xf1e8b2=_0x3ae3c2[_0x33d6d4(0x1c6)],_0x73bc9e=_0x1dbc39['algo'],_0x4c8162=[],_0x488e7d=_0x73bc9e[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x22f)]({'_doReset':function(){var _0x5781f3=_0x33d6d4;this['_hash']=new _0x12b31b[(_0x5781f3(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fa6e9,_0x46308b){var _0x368ae9=_0x33d6d4;for(var _0x4ae3bb=this[_0x368ae9(0x276)][_0x368ae9(0x287)],_0x188a17=_0x4ae3bb[0x0],_0x312baa=_0x4ae3bb[0x1],_0x30bf76=_0x4ae3bb[0x2],_0x3e8a26=_0x4ae3bb[0x3],_0x5d468e=_0x4ae3bb[0x4],_0x3ce10a=0x0;_0x3ce10a<0x50;_0x3ce10a++){if(_0x3ce10a<0x10)_0x4c8162[_0x3ce10a]=_0x3fa6e9[_0x46308b+_0x3ce10a]|0x0;else{var _0x3a1184=_0x4c8162[_0x3ce10a-0x3]^_0x4c8162[_0x3ce10a-0x8]^_0x4c8162[_0x3ce10a-0xe]^_0x4c8162[_0x3ce10a-0x10];_0x4c8162[_0x3ce10a]=_0x3a1184<<0x1|_0x3a1184>>>0x1f;}var _0xd8c0a1=(_0x188a17<<0x5|_0x188a17>>>0x1b)+_0x5d468e+_0x4c8162[_0x3ce10a];_0x3ce10a<0x14?_0xd8c0a1+=(_0x312baa&_0x30bf76|~_0x312baa&_0x3e8a26)+0x5a827999:_0x3ce10a<0x28?_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)+0x6ed9eba1:_0x3ce10a<0x3c?_0xd8c0a1+=(_0x312baa&_0x30bf76|_0x312baa&_0x3e8a26|_0x30bf76&_0x3e8a26)-0x70e44324:_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)-0x359d3e2a,_0x5d468e=_0x3e8a26,_0x3e8a26=_0x30bf76,_0x30bf76=_0x312baa<<0x1e|_0x312baa>>>0x2,_0x312baa=_0x188a17,_0x188a17=_0xd8c0a1;}_0x4ae3bb[0x0]=_0x4ae3bb[0x0]+_0x188a17|0x0,_0x4ae3bb[0x1]=_0x4ae3bb[0x1]+_0x312baa|0x0,_0x4ae3bb[0x2]=_0x4ae3bb[0x2]+_0x30bf76|0x0,_0x4ae3bb[0x3]=_0x4ae3bb[0x3]+_0x3e8a26|0x0,_0x4ae3bb[0x4]=_0x4ae3bb[0x4]+_0x5d468e|0x0;},'_doFinalize':function(){var _0x4cfdda=_0x33d6d4,_0xeecb07=this[_0x4cfdda(0x2ca)],_0x54ec78=_0xeecb07['words'],_0x1d05a2=this[_0x4cfdda(0x2ba)]*0x8,_0x5cf316=_0xeecb07[_0x4cfdda(0x1bf)]*0x8;return _0x54ec78[_0x5cf316>>>0x5]|=0x80<<0x18-_0x5cf316%0x20,_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xe]=Math[_0x4cfdda(0x183)](_0x1d05a2/0x100000000),_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xf]=_0x1d05a2,_0xeecb07[_0x4cfdda(0x1bf)]=_0x54ec78[_0x4cfdda(0x158)]*0x4,this['_process'](),this[_0x4cfdda(0x276)];},'clone':function(){var _0x154189=_0x33d6d4,_0x32e28a=_0xf1e8b2['clone']['call'](this);return _0x32e28a[_0x154189(0x276)]=this[_0x154189(0x276)][_0x154189(0x395)](),_0x32e28a;}});_0x1dbc39[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x36e)](_0x488e7d),_0x1dbc39[_0x33d6d4(0x363)]=_0xf1e8b2['_createHmacHelper'](_0x488e7d);}()),_0x28db15[_0x47f2b2(0x38f)];}));}(qe)),qe[_0xc6b48(0x24b)];}var ze={'exports':{}},$r=ze[_0x1f558c(0x24b)],ti;function Hr(){return ti||(ti=0x1,function(_0x4ae1cd,_0x534a77){(function(_0x463b81,_0x283319){_0x4ae1cd['exports']=_0x283319(ie());}($r,function(_0x169224){(function(){var _0x5d27b2=_0x4725,_0x48814d=_0x169224,_0x4243cd=_0x48814d[_0x5d27b2(0x244)],_0x3fbb41=_0x4243cd[_0x5d27b2(0x238)],_0x1014c1=_0x48814d[_0x5d27b2(0x349)],_0x2bb41a=_0x1014c1[_0x5d27b2(0x39c)],_0x9d0752=_0x48814d[_0x5d27b2(0x135)];_0x9d0752[_0x5d27b2(0x322)]=_0x3fbb41[_0x5d27b2(0x22f)]({'init':function(_0x5730a9,_0x254192){var _0x1ada4d=_0x5d27b2;_0x5730a9=this[_0x1ada4d(0x40c)]=new _0x5730a9['init'](),typeof _0x254192==_0x1ada4d(0x3ee)&&(_0x254192=_0x2bb41a[_0x1ada4d(0x234)](_0x254192));var _0x301cbf=_0x5730a9[_0x1ada4d(0x3b6)],_0x2ed8d3=_0x301cbf*0x4;_0x254192[_0x1ada4d(0x1bf)]>_0x2ed8d3&&(_0x254192=_0x5730a9['finalize'](_0x254192)),_0x254192[_0x1ada4d(0x1df)]();for(var _0x2a3c52=this[_0x1ada4d(0x342)]=_0x254192[_0x1ada4d(0x395)](),_0x5b55ca=this['_iKey']=_0x254192[_0x1ada4d(0x395)](),_0x10db9d=_0x2a3c52[_0x1ada4d(0x287)],_0x16bee5=_0x5b55ca[_0x1ada4d(0x287)],_0x4c5320=0x0;_0x4c5320<_0x301cbf;_0x4c5320++)_0x10db9d[_0x4c5320]^=0x5c5c5c5c,_0x16bee5[_0x4c5320]^=0x36363636;_0x2a3c52['sigBytes']=_0x5b55ca[_0x1ada4d(0x1bf)]=_0x2ed8d3,this[_0x1ada4d(0x43a)]();},'reset':function(){var _0x1cf0bc=_0x5d27b2,_0x1e4347=this['_hasher'];_0x1e4347[_0x1cf0bc(0x43a)](),_0x1e4347['update'](this[_0x1cf0bc(0x134)]);},'update':function(_0x5b627c){var _0x56ecb6=_0x5d27b2;return this[_0x56ecb6(0x40c)][_0x56ecb6(0x1fc)](_0x5b627c),this;},'finalize':function(_0x3a81e5){var _0x13ec2f=_0x5d27b2,_0x530e8c=this[_0x13ec2f(0x40c)],_0x20d78b=_0x530e8c[_0x13ec2f(0x327)](_0x3a81e5);_0x530e8c[_0x13ec2f(0x43a)]();var _0x24b476=_0x530e8c[_0x13ec2f(0x327)](this[_0x13ec2f(0x342)][_0x13ec2f(0x395)]()[_0x13ec2f(0x147)](_0x20d78b));return _0x24b476;}});}());}));}(ze)),ze['exports'];}var kr=Ye[_0x1f558c(0x24b)],ii;function Pi(){var _0xb8b628=_0x1f558c;return ii||(ii=0x1,function(_0x191d16,_0x2c51df){(function(_0x18b02f,_0x1f7166,_0x4a5e9d){var _0x3ba051=_0x4725;_0x191d16[_0x3ba051(0x24b)]=_0x1f7166(ie(),Mr(),Hr());}(kr,function(_0x51150e){var _0x1a5ffc=_0x4725;return(function(){var _0x82b45f=_0x4725,_0x104585=_0x51150e,_0x185e1a=_0x104585[_0x82b45f(0x244)],_0x30716e=_0x185e1a[_0x82b45f(0x238)],_0x2fd353=_0x185e1a[_0x82b45f(0x3f3)],_0x4289bf=_0x104585[_0x82b45f(0x135)],_0x46a857=_0x4289bf[_0x82b45f(0x416)],_0x405d5b=_0x4289bf[_0x82b45f(0x30a)]=_0x30716e[_0x82b45f(0x22f)]({'cfg':_0x30716e[_0x82b45f(0x22f)]({'keySize':0x80/0x20,'hasher':_0x46a857,'iterations':0x1}),'init':function(_0xe4e305){var _0x53ac42=_0x82b45f;this['cfg']=this[_0x53ac42(0x236)][_0x53ac42(0x22f)](_0xe4e305);},'compute':function(_0x3eef1d,_0x885fa){var _0x244f1b=_0x82b45f;for(var _0x4ba21e,_0x388c63=this[_0x244f1b(0x236)],_0x534eb9=_0x388c63[_0x244f1b(0x379)][_0x244f1b(0x17d)](),_0x468e01=_0x2fd353[_0x244f1b(0x17d)](),_0x4b1dbb=_0x468e01[_0x244f1b(0x287)],_0x48bed3=_0x388c63[_0x244f1b(0x314)],_0x119a8e=_0x388c63[_0x244f1b(0x194)];_0x4b1dbb['length']<_0x48bed3;){_0x4ba21e&&_0x534eb9['update'](_0x4ba21e),_0x4ba21e=_0x534eb9[_0x244f1b(0x1fc)](_0x3eef1d)['finalize'](_0x885fa),_0x534eb9[_0x244f1b(0x43a)]();for(var _0x45d5df=0x1;_0x45d5df<_0x119a8e;_0x45d5df++)_0x4ba21e=_0x534eb9[_0x244f1b(0x327)](_0x4ba21e),_0x534eb9[_0x244f1b(0x43a)]();_0x468e01[_0x244f1b(0x147)](_0x4ba21e);}return _0x468e01[_0x244f1b(0x1bf)]=_0x48bed3*0x4,_0x468e01;}});_0x104585[_0x82b45f(0x30a)]=function(_0xa00aa1,_0x11d87d,_0x29b316){var _0x2a8d8b=_0x82b45f;return _0x405d5b['create'](_0x29b316)[_0x2a8d8b(0x1b7)](_0xa00aa1,_0x11d87d);};}()),_0x51150e[_0x1a5ffc(0x30a)];}));}(Ye)),Ye[_0xb8b628(0x24b)];}var Je={'exports':{}},jr=Je[_0x1f558c(0x24b)],ni;function wi(){var _0x1d9d4b=_0x1f558c;return ni||(ni=0x1,function(_0x25aba0,_0x3ba688){(function(_0x645b3e,_0x16b30f,_0xcd2ceb){var _0xb969c9=_0x4725;_0x25aba0[_0xb969c9(0x24b)]=_0x16b30f(ie(),Pi());}(jr,function(_0x548695){var _0x5427e3=_0x4725;_0x548695[_0x5427e3(0x244)][_0x5427e3(0x299)]||function(_0x2f84b5){var _0x47ad0e=_0x5427e3,_0x1a9443=_0x548695,_0x52edcc=_0x1a9443[_0x47ad0e(0x244)],_0x11efdb=_0x52edcc[_0x47ad0e(0x238)],_0x303d7c=_0x52edcc[_0x47ad0e(0x3f3)],_0x5b446a=_0x52edcc['BufferedBlockAlgorithm'],_0x449a26=_0x1a9443[_0x47ad0e(0x349)];_0x449a26[_0x47ad0e(0x39c)];var _0x27df5f=_0x449a26[_0x47ad0e(0x235)],_0x2a14fd=_0x1a9443[_0x47ad0e(0x135)],_0x1b1d8a=_0x2a14fd[_0x47ad0e(0x30a)],_0x7e2489=_0x52edcc['Cipher']=_0x5b446a[_0x47ad0e(0x22f)]({'cfg':_0x11efdb[_0x47ad0e(0x22f)](),'createEncryptor':function(_0x38dd28,_0x27dc03){var _0x1f488f=_0x47ad0e;return this[_0x1f488f(0x17d)](this[_0x1f488f(0x381)],_0x38dd28,_0x27dc03);},'createDecryptor':function(_0x1ff861,_0x12a24e){var _0x4147ea=_0x47ad0e;return this[_0x4147ea(0x17d)](this[_0x4147ea(0x1fe)],_0x1ff861,_0x12a24e);},'init':function(_0x549eef,_0x4c4716,_0x46900d){var _0x4153c1=_0x47ad0e;this['cfg']=this[_0x4153c1(0x236)]['extend'](_0x46900d),this[_0x4153c1(0x42b)]=_0x549eef,this['_key']=_0x4c4716,this[_0x4153c1(0x43a)]();},'reset':function(){var _0x164529=_0x47ad0e;_0x5b446a[_0x164529(0x43a)][_0x164529(0x178)](this),this['_doReset']();},'process':function(_0x20e429){var _0x539c24=_0x47ad0e;return this['_append'](_0x20e429),this[_0x539c24(0x2dc)]();},'finalize':function(_0x26c893){var _0x441f13=_0x47ad0e;_0x26c893&&this[_0x441f13(0x203)](_0x26c893);var _0x5e0b42=this[_0x441f13(0x30e)]();return _0x5e0b42;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x557ee6(_0x5b19e0){var _0x289feb=_0x4725;return typeof _0x5b19e0==_0x289feb(0x3ee)?_0x2ceb36:_0x4585bb;}return function(_0x149c9a){return{'encrypt':function(_0x5cd4ad,_0x40847a,_0x2caae7){var _0x526334=_0x4725;return _0x557ee6(_0x40847a)[_0x526334(0x354)](_0x149c9a,_0x5cd4ad,_0x40847a,_0x2caae7);},'decrypt':function(_0xc3888f,_0x44c0be,_0x24e304){var _0x51d197=_0x4725;return _0x557ee6(_0x44c0be)[_0x51d197(0x3db)](_0x149c9a,_0xc3888f,_0x44c0be,_0x24e304);}};};}())});_0x52edcc[_0x47ad0e(0x1f8)]=_0x7e2489[_0x47ad0e(0x22f)]({'_doFinalize':function(){var _0x5de5cd=_0x47ad0e,_0x401e5f=this[_0x5de5cd(0x2dc)](!0x0);return _0x401e5f;},'blockSize':0x1});var _0x3d9f37=_0x1a9443[_0x47ad0e(0x1a9)]={},_0x3b2fe0=_0x52edcc['BlockCipherMode']=_0x11efdb[_0x47ad0e(0x22f)]({'createEncryptor':function(_0x4f521e,_0x4fd03b){var _0x4fbde4=_0x47ad0e;return this[_0x4fbde4(0x432)]['create'](_0x4f521e,_0x4fd03b);},'createDecryptor':function(_0x55c3c9,_0x1651f2){var _0x245d94=_0x47ad0e;return this[_0x245d94(0x41c)][_0x245d94(0x17d)](_0x55c3c9,_0x1651f2);},'init':function(_0x5b17b3,_0xf09063){var _0x281f80=_0x47ad0e;this[_0x281f80(0x321)]=_0x5b17b3,this[_0x281f80(0x250)]=_0xf09063;}}),_0xbe8c05=_0x3d9f37[_0x47ad0e(0x139)]=(function(){var _0x3195de=_0x47ad0e,_0x319052=_0x3b2fe0[_0x3195de(0x22f)]();_0x319052[_0x3195de(0x432)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x5d052e,_0x2472f5){var _0x3a24ae=_0x3195de,_0x414058=this[_0x3a24ae(0x321)],_0x3eb14=_0x414058[_0x3a24ae(0x3b6)];_0x45ad0f['call'](this,_0x5d052e,_0x2472f5,_0x3eb14),_0x414058[_0x3a24ae(0x3ae)](_0x5d052e,_0x2472f5),this[_0x3a24ae(0x2ab)]=_0x5d052e[_0x3a24ae(0x2db)](_0x2472f5,_0x2472f5+_0x3eb14);}}),_0x319052[_0x3195de(0x41c)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x431400,_0x350ffb){var _0x23a5e1=_0x3195de,_0x370e8a=this[_0x23a5e1(0x321)],_0x41fb1c=_0x370e8a['blockSize'],_0x25df78=_0x431400['slice'](_0x350ffb,_0x350ffb+_0x41fb1c);_0x370e8a[_0x23a5e1(0x3d6)](_0x431400,_0x350ffb),_0x45ad0f['call'](this,_0x431400,_0x350ffb,_0x41fb1c),this['_prevBlock']=_0x25df78;}});function _0x45ad0f(_0x2aedb5,_0x41f8d7,_0xcf57ee){var _0x2dd25b=_0x3195de,_0x4f1a8d,_0x582831=this[_0x2dd25b(0x250)];_0x582831?(_0x4f1a8d=_0x582831,this['_iv']=_0x2f84b5):_0x4f1a8d=this[_0x2dd25b(0x2ab)];for(var _0x5885c5=0x0;_0x5885c5<_0xcf57ee;_0x5885c5++)_0x2aedb5[_0x41f8d7+_0x5885c5]^=_0x4f1a8d[_0x5885c5];}return _0x319052;}()),_0x3bea21=_0x1a9443[_0x47ad0e(0x22a)]={},_0x240a97=_0x3bea21[_0x47ad0e(0x427)]={'pad':function(_0x551da9,_0x1e9f27){var _0x9bb678=_0x47ad0e;for(var _0x29b1a6=_0x1e9f27*0x4,_0x160b68=_0x29b1a6-_0x551da9[_0x9bb678(0x1bf)]%_0x29b1a6,_0x2869c2=_0x160b68<<0x18|_0x160b68<<0x10|_0x160b68<<0x8|_0x160b68,_0x5253ae=[],_0x178822=0x0;_0x178822<_0x160b68;_0x178822+=0x4)_0x5253ae[_0x9bb678(0x1eb)](_0x2869c2);var _0x43db1e=_0x303d7c[_0x9bb678(0x17d)](_0x5253ae,_0x160b68);_0x551da9[_0x9bb678(0x147)](_0x43db1e);},'unpad':function(_0x12bcb5){var _0x2bbc33=_0x47ad0e,_0x125cc3=_0x12bcb5['words'][_0x12bcb5[_0x2bbc33(0x1bf)]-0x1>>>0x2]&0xff;_0x12bcb5[_0x2bbc33(0x1bf)]-=_0x125cc3;}};_0x52edcc[_0x47ad0e(0x3e8)]=_0x7e2489[_0x47ad0e(0x22f)]({'cfg':_0x7e2489[_0x47ad0e(0x236)][_0x47ad0e(0x22f)]({'mode':_0xbe8c05,'padding':_0x240a97}),'reset':function(){var _0x37d568=_0x47ad0e,_0x496cd9;_0x7e2489[_0x37d568(0x43a)]['call'](this);var _0x14d4a6=this[_0x37d568(0x236)],_0x11b692=_0x14d4a6['iv'],_0x29819e=_0x14d4a6[_0x37d568(0x1a9)];this[_0x37d568(0x42b)]==this[_0x37d568(0x381)]?_0x496cd9=_0x29819e['createEncryptor']:(_0x496cd9=_0x29819e[_0x37d568(0x2ef)],this['_minBufferSize']=0x1),this[_0x37d568(0x32c)]&&this['_mode']['__creator']==_0x496cd9?this[_0x37d568(0x32c)]['init'](this,_0x11b692&&_0x11b692['words']):(this[_0x37d568(0x32c)]=_0x496cd9[_0x37d568(0x178)](_0x29819e,this,_0x11b692&&_0x11b692[_0x37d568(0x287)]),this['_mode'][_0x37d568(0x258)]=_0x496cd9);},'_doProcessBlock':function(_0x127ccf,_0x3f5a53){var _0x404081=_0x47ad0e;this[_0x404081(0x32c)][_0x404081(0x39e)](_0x127ccf,_0x3f5a53);},'_doFinalize':function(){var _0x4865c7=_0x47ad0e,_0xbe9c77,_0x1ce330=this['cfg'][_0x4865c7(0x2b1)];return this[_0x4865c7(0x42b)]==this[_0x4865c7(0x381)]?(_0x1ce330[_0x4865c7(0x22a)](this['_data'],this[_0x4865c7(0x3b6)]),_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0)):(_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0),_0x1ce330[_0x4865c7(0x22e)](_0xbe9c77)),_0xbe9c77;},'blockSize':0x80/0x20});var _0x257da2=_0x52edcc[_0x47ad0e(0x17a)]=_0x11efdb[_0x47ad0e(0x22f)]({'init':function(_0x38fcc3){var _0x234ae1=_0x47ad0e;this[_0x234ae1(0x3cc)](_0x38fcc3);},'toString':function(_0x4b95bb){var _0x5a5cac=_0x47ad0e;return(_0x4b95bb||this[_0x5a5cac(0x2b7)])[_0x5a5cac(0x283)](this);}}),_0x313094=_0x1a9443[_0x47ad0e(0x1cd)]={},_0x14c748=_0x313094['OpenSSL']={'stringify':function(_0x5add9b){var _0x35fea2=_0x47ad0e,_0x257fff,_0x3d5827=_0x5add9b[_0x35fea2(0x3fd)],_0xb33692=_0x5add9b[_0x35fea2(0x3f9)];return _0xb33692?_0x257fff=_0x303d7c['create']([0x53616c74,0x65645f5f])[_0x35fea2(0x147)](_0xb33692)['concat'](_0x3d5827):_0x257fff=_0x3d5827,_0x257fff[_0x35fea2(0x28c)](_0x27df5f);},'parse':function(_0x30e606){var _0x17358e=_0x47ad0e,_0x259ee0,_0x1e1d01=_0x27df5f['parse'](_0x30e606),_0x315a40=_0x1e1d01[_0x17358e(0x287)];return _0x315a40[0x0]==0x53616c74&&_0x315a40[0x1]==0x65645f5f&&(_0x259ee0=_0x303d7c[_0x17358e(0x17d)](_0x315a40[_0x17358e(0x2db)](0x2,0x4)),_0x315a40[_0x17358e(0x252)](0x0,0x4),_0x1e1d01[_0x17358e(0x1bf)]-=0x10),_0x257da2[_0x17358e(0x17d)]({'ciphertext':_0x1e1d01,'salt':_0x259ee0});}},_0x4585bb=_0x52edcc['SerializableCipher']=_0x11efdb[_0x47ad0e(0x22f)]({'cfg':_0x11efdb['extend']({'format':_0x14c748}),'encrypt':function(_0x402acc,_0x14e679,_0x55b4b5,_0x1b538c){var _0x8d62b3=_0x47ad0e;_0x1b538c=this[_0x8d62b3(0x236)][_0x8d62b3(0x22f)](_0x1b538c);var _0x357baf=_0x402acc[_0x8d62b3(0x2ff)](_0x55b4b5,_0x1b538c),_0x4876f1=_0x357baf[_0x8d62b3(0x327)](_0x14e679),_0x3b1e0c=_0x357baf[_0x8d62b3(0x236)];return _0x257da2['create']({'ciphertext':_0x4876f1,'key':_0x55b4b5,'iv':_0x3b1e0c['iv'],'algorithm':_0x402acc,'mode':_0x3b1e0c[_0x8d62b3(0x1a9)],'padding':_0x3b1e0c[_0x8d62b3(0x2b1)],'blockSize':_0x402acc[_0x8d62b3(0x3b6)],'formatter':_0x1b538c[_0x8d62b3(0x1cd)]});},'decrypt':function(_0x417517,_0x175592,_0x15ae49,_0x38de92){var _0x248b4f=_0x47ad0e;_0x38de92=this[_0x248b4f(0x236)][_0x248b4f(0x22f)](_0x38de92),_0x175592=this[_0x248b4f(0x170)](_0x175592,_0x38de92[_0x248b4f(0x1cd)]);var _0x325ee1=_0x417517[_0x248b4f(0x2ef)](_0x15ae49,_0x38de92)[_0x248b4f(0x327)](_0x175592['ciphertext']);return _0x325ee1;},'_parse':function(_0x1de106,_0x229e2d){var _0x150375=_0x47ad0e;return typeof _0x1de106==_0x150375(0x3ee)?_0x229e2d[_0x150375(0x234)](_0x1de106,this):_0x1de106;}}),_0x3bbda9=_0x1a9443[_0x47ad0e(0x331)]={},_0x2c50bf=_0x3bbda9[_0x47ad0e(0x136)]={'execute':function(_0x3c48d5,_0x297927,_0xed83ec,_0x104070,_0x140748){var _0x4254a5=_0x47ad0e;if(_0x104070||(_0x104070=_0x303d7c[_0x4254a5(0x35d)](0x40/0x8)),_0x140748)var _0xde238f=_0x1b1d8a['create']({'keySize':_0x297927+_0xed83ec,'hasher':_0x140748})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);else var _0xde238f=_0x1b1d8a[_0x4254a5(0x17d)]({'keySize':_0x297927+_0xed83ec})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);var _0x230c97=_0x303d7c['create'](_0xde238f[_0x4254a5(0x287)][_0x4254a5(0x2db)](_0x297927),_0xed83ec*0x4);return _0xde238f[_0x4254a5(0x1bf)]=_0x297927*0x4,_0x257da2[_0x4254a5(0x17d)]({'key':_0xde238f,'iv':_0x230c97,'salt':_0x104070});}},_0x2ceb36=_0x52edcc[_0x47ad0e(0x2eb)]=_0x4585bb[_0x47ad0e(0x22f)]({'cfg':_0x4585bb[_0x47ad0e(0x236)]['extend']({'kdf':_0x2c50bf}),'encrypt':function(_0x104f5e,_0x30279e,_0x354252,_0x31929c){var _0x17d422=_0x47ad0e;_0x31929c=this['cfg'][_0x17d422(0x22f)](_0x31929c);var _0x3526d7=_0x31929c[_0x17d422(0x331)][_0x17d422(0x3eb)](_0x354252,_0x104f5e[_0x17d422(0x314)],_0x104f5e[_0x17d422(0x202)],_0x31929c[_0x17d422(0x3f9)],_0x31929c['hasher']);_0x31929c['iv']=_0x3526d7['iv'];var _0x2dfb3e=_0x4585bb[_0x17d422(0x354)][_0x17d422(0x178)](this,_0x104f5e,_0x30279e,_0x3526d7['key'],_0x31929c);return _0x2dfb3e[_0x17d422(0x3cc)](_0x3526d7),_0x2dfb3e;},'decrypt':function(_0x1d6d70,_0x318537,_0x57bbdb,_0x457f09){var _0x30c03e=_0x47ad0e;_0x457f09=this[_0x30c03e(0x236)][_0x30c03e(0x22f)](_0x457f09),_0x318537=this['_parse'](_0x318537,_0x457f09[_0x30c03e(0x1cd)]);var _0x222f23=_0x457f09[_0x30c03e(0x331)][_0x30c03e(0x3eb)](_0x57bbdb,_0x1d6d70[_0x30c03e(0x314)],_0x1d6d70[_0x30c03e(0x202)],_0x318537[_0x30c03e(0x3f9)],_0x457f09[_0x30c03e(0x379)]);_0x457f09['iv']=_0x222f23['iv'];var _0x47dc05=_0x4585bb['decrypt'][_0x30c03e(0x178)](this,_0x1d6d70,_0x318537,_0x222f23[_0x30c03e(0x284)],_0x457f09);return _0x47dc05;}});}();}));}(Je)),Je[_0x1d9d4b(0x24b)];}var Br=Ge[_0x1f558c(0x24b)],ri;function Fr(){var _0x354c65=_0x1f558c;return ri||(ri=0x1,function(_0x1a40a7,_0x316e9b){(function(_0x144d4c,_0x33f035,_0x107942){var _0x4bb70e=_0x4725;_0x1a40a7[_0x4bb70e(0x24b)]=_0x33f035(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x440368){var _0x1fad41=_0x4725;return(function(){var _0x188395=_0x4725,_0x3604fc=_0x440368,_0x50624e=_0x3604fc[_0x188395(0x244)],_0x200503=_0x50624e[_0x188395(0x3e8)],_0x4869c7=_0x3604fc['algo'],_0xb54a68=[],_0x3ba722=[],_0xdb3016=[],_0x1ed5f1=[],_0x15fe73=[],_0x788078=[],_0x508a01=[],_0x10707c=[],_0x20668e=[],_0x17920e=[];(function(){for(var _0x240854=[],_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++)_0x53eb0a<0x80?_0x240854[_0x53eb0a]=_0x53eb0a<<0x1:_0x240854[_0x53eb0a]=_0x53eb0a<<0x1^0x11b;for(var _0x10100a=0x0,_0x512bf2=0x0,_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++){var _0x792522=_0x512bf2^_0x512bf2<<0x1^_0x512bf2<<0x2^_0x512bf2<<0x3^_0x512bf2<<0x4;_0x792522=_0x792522>>>0x8^_0x792522&0xff^0x63,_0xb54a68[_0x10100a]=_0x792522,_0x3ba722[_0x792522]=_0x10100a;var _0x959303=_0x240854[_0x10100a],_0x2f3f6=_0x240854[_0x959303],_0x507f40=_0x240854[_0x2f3f6],_0x59a9c0=_0x240854[_0x792522]*0x101^_0x792522*0x1010100;_0xdb3016[_0x10100a]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x1ed5f1[_0x10100a]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x15fe73[_0x10100a]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x788078[_0x10100a]=_0x59a9c0;var _0x59a9c0=_0x507f40*0x1010101^_0x2f3f6*0x10001^_0x959303*0x101^_0x10100a*0x1010100;_0x508a01[_0x792522]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x10707c[_0x792522]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x20668e[_0x792522]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x17920e[_0x792522]=_0x59a9c0,_0x10100a?(_0x10100a=_0x959303^_0x240854[_0x240854[_0x240854[_0x507f40^_0x959303]]],_0x512bf2^=_0x240854[_0x240854[_0x512bf2]]):_0x10100a=_0x512bf2=0x1;}}());var _0x328f2e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1159f7=_0x4869c7[_0x188395(0x316)]=_0x200503[_0x188395(0x22f)]({'_doReset':function(){var _0x374f5d=_0x188395,_0xf96a95;if(!(this[_0x374f5d(0x1fd)]&&this[_0x374f5d(0x371)]===this[_0x374f5d(0x3ea)])){for(var _0x413707=this[_0x374f5d(0x371)]=this[_0x374f5d(0x3ea)],_0x43b750=_0x413707[_0x374f5d(0x287)],_0x11a85b=_0x413707[_0x374f5d(0x1bf)]/0x4,_0x369059=this['_nRounds']=_0x11a85b+0x6,_0x2b8ffd=(_0x369059+0x1)*0x4,_0x11d44d=this['_keySchedule']=[],_0x23290e=0x0;_0x23290e<_0x2b8ffd;_0x23290e++)_0x23290e<_0x11a85b?_0x11d44d[_0x23290e]=_0x43b750[_0x23290e]:(_0xf96a95=_0x11d44d[_0x23290e-0x1],_0x23290e%_0x11a85b?_0x11a85b>0x6&&_0x23290e%_0x11a85b==0x4&&(_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff]):(_0xf96a95=_0xf96a95<<0x8|_0xf96a95>>>0x18,_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff],_0xf96a95^=_0x328f2e[_0x23290e/_0x11a85b|0x0]<<0x18),_0x11d44d[_0x23290e]=_0x11d44d[_0x23290e-_0x11a85b]^_0xf96a95);for(var _0x13d511=this['_invKeySchedule']=[],_0x5597a6=0x0;_0x5597a6<_0x2b8ffd;_0x5597a6++){var _0x23290e=_0x2b8ffd-_0x5597a6;if(_0x5597a6%0x4)var _0xf96a95=_0x11d44d[_0x23290e];else var _0xf96a95=_0x11d44d[_0x23290e-0x4];_0x5597a6<0x4||_0x23290e<=0x4?_0x13d511[_0x5597a6]=_0xf96a95:_0x13d511[_0x5597a6]=_0x508a01[_0xb54a68[_0xf96a95>>>0x18]]^_0x10707c[_0xb54a68[_0xf96a95>>>0x10&0xff]]^_0x20668e[_0xb54a68[_0xf96a95>>>0x8&0xff]]^_0x17920e[_0xb54a68[_0xf96a95&0xff]];}}},'encryptBlock':function(_0x32ad22,_0x3da847){var _0x2ba53e=_0x188395;this[_0x2ba53e(0x31d)](_0x32ad22,_0x3da847,this[_0x2ba53e(0x2ea)],_0xdb3016,_0x1ed5f1,_0x15fe73,_0x788078,_0xb54a68);},'decryptBlock':function(_0xebd508,_0x2a023d){var _0x5d137a=_0x188395,_0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca,this[_0x5d137a(0x31d)](_0xebd508,_0x2a023d,this['_invKeySchedule'],_0x508a01,_0x10707c,_0x20668e,_0x17920e,_0x3ba722);var _0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca;},'_doCryptBlock':function(_0x2f6c43,_0x9b5a77,_0x340ba2,_0x1cfaef,_0xb0a2ed,_0x47ee88,_0x192a95,_0x1fde43){for(var _0xa30147=this['_nRounds'],_0x4ad374=_0x2f6c43[_0x9b5a77]^_0x340ba2[0x0],_0x1687be=_0x2f6c43[_0x9b5a77+0x1]^_0x340ba2[0x1],_0x5a55d6=_0x2f6c43[_0x9b5a77+0x2]^_0x340ba2[0x2],_0x450460=_0x2f6c43[_0x9b5a77+0x3]^_0x340ba2[0x3],_0x3d286a=0x4,_0x36e116=0x1;_0x36e116<_0xa30147;_0x36e116++){var _0x154a90=_0x1cfaef[_0x4ad374>>>0x18]^_0xb0a2ed[_0x1687be>>>0x10&0xff]^_0x47ee88[_0x5a55d6>>>0x8&0xff]^_0x192a95[_0x450460&0xff]^_0x340ba2[_0x3d286a++],_0x9ba5f6=_0x1cfaef[_0x1687be>>>0x18]^_0xb0a2ed[_0x5a55d6>>>0x10&0xff]^_0x47ee88[_0x450460>>>0x8&0xff]^_0x192a95[_0x4ad374&0xff]^_0x340ba2[_0x3d286a++],_0x9d836c=_0x1cfaef[_0x5a55d6>>>0x18]^_0xb0a2ed[_0x450460>>>0x10&0xff]^_0x47ee88[_0x4ad374>>>0x8&0xff]^_0x192a95[_0x1687be&0xff]^_0x340ba2[_0x3d286a++],_0x322a96=_0x1cfaef[_0x450460>>>0x18]^_0xb0a2ed[_0x4ad374>>>0x10&0xff]^_0x47ee88[_0x1687be>>>0x8&0xff]^_0x192a95[_0x5a55d6&0xff]^_0x340ba2[_0x3d286a++];_0x4ad374=_0x154a90,_0x1687be=_0x9ba5f6,_0x5a55d6=_0x9d836c,_0x450460=_0x322a96;}var _0x154a90=(_0x1fde43[_0x4ad374>>>0x18]<<0x18|_0x1fde43[_0x1687be>>>0x10&0xff]<<0x10|_0x1fde43[_0x5a55d6>>>0x8&0xff]<<0x8|_0x1fde43[_0x450460&0xff])^_0x340ba2[_0x3d286a++],_0x9ba5f6=(_0x1fde43[_0x1687be>>>0x18]<<0x18|_0x1fde43[_0x5a55d6>>>0x10&0xff]<<0x10|_0x1fde43[_0x450460>>>0x8&0xff]<<0x8|_0x1fde43[_0x4ad374&0xff])^_0x340ba2[_0x3d286a++],_0x9d836c=(_0x1fde43[_0x5a55d6>>>0x18]<<0x18|_0x1fde43[_0x450460>>>0x10&0xff]<<0x10|_0x1fde43[_0x4ad374>>>0x8&0xff]<<0x8|_0x1fde43[_0x1687be&0xff])^_0x340ba2[_0x3d286a++],_0x322a96=(_0x1fde43[_0x450460>>>0x18]<<0x18|_0x1fde43[_0x4ad374>>>0x10&0xff]<<0x10|_0x1fde43[_0x1687be>>>0x8&0xff]<<0x8|_0x1fde43[_0x5a55d6&0xff])^_0x340ba2[_0x3d286a++];_0x2f6c43[_0x9b5a77]=_0x154a90,_0x2f6c43[_0x9b5a77+0x1]=_0x9ba5f6,_0x2f6c43[_0x9b5a77+0x2]=_0x9d836c,_0x2f6c43[_0x9b5a77+0x3]=_0x322a96;},'keySize':0x100/0x20});_0x3604fc[_0x188395(0x316)]=_0x200503[_0x188395(0x36e)](_0x1159f7);}()),_0x440368[_0x1fad41(0x316)];}));}(Ge)),Ge[_0x354c65(0x24b)];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x100c21=_0x1f558c;return oi||(oi=0x1,function(_0x533967,_0x5d680c){(function(_0x244c60,_0x31297f){var _0x1bd128=_0x4725;_0x533967[_0x1bd128(0x24b)]=_0x31297f(ie());}(Kr,function(_0x56f62a){var _0x40c799=_0x4725;return _0x56f62a[_0x40c799(0x349)][_0x40c799(0x39c)];}));}(Xe)),Xe[_0x100c21(0x24b)];}var qr=Yr();const zr=ke(qr);function _0x4725(_0xa701be,_0x2beb92){var _0x3db137=_0x3db1();return _0x4725=function(_0x472531,_0xa228cf){_0x472531=_0x472531-0x134;var _0x44edb5=_0x3db137[_0x472531];return _0x44edb5;},_0x4725(_0xa701be,_0x2beb92);}var Ze={'exports':{}},Jr=Ze['exports'],ai;function Xr(){var _0x30c28d=_0x1f558c;return ai||(ai=0x1,function(_0x5baccc,_0x20b894){(function(_0x221554,_0x3c4080){_0x5baccc['exports']=_0x3c4080(ie());}(Jr,function(_0x4a3e24){var _0x3bea74=_0x4725;return(function(){var _0x4943ae=_0x4725;if(typeof ArrayBuffer==_0x4943ae(0x1dd)){var _0x2b05c9=_0x4a3e24,_0x328369=_0x2b05c9[_0x4943ae(0x244)],_0x4be1c9=_0x328369[_0x4943ae(0x3f3)],_0x2039f3=_0x4be1c9[_0x4943ae(0x2e7)],_0x3854d9=_0x4be1c9[_0x4943ae(0x2e7)]=function(_0x3f2864){var _0x2ff819=_0x4943ae;if(_0x3f2864 instanceof ArrayBuffer&&(_0x3f2864=new Uint8Array(_0x3f2864)),(_0x3f2864 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f2864 instanceof Uint8ClampedArray||_0x3f2864 instanceof Int16Array||_0x3f2864 instanceof Uint16Array||_0x3f2864 instanceof Int32Array||_0x3f2864 instanceof Uint32Array||_0x3f2864 instanceof Float32Array||_0x3f2864 instanceof Float64Array)&&(_0x3f2864=new Uint8Array(_0x3f2864[_0x2ff819(0x3e4)],_0x3f2864[_0x2ff819(0x19f)],_0x3f2864[_0x2ff819(0x1e6)])),_0x3f2864 instanceof Uint8Array){for(var _0x7e74cb=_0x3f2864[_0x2ff819(0x1e6)],_0x4542eb=[],_0x1a8f46=0x0;_0x1a8f46<_0x7e74cb;_0x1a8f46++)_0x4542eb[_0x1a8f46>>>0x2]|=_0x3f2864[_0x1a8f46]<<0x18-_0x1a8f46%0x4*0x8;_0x2039f3[_0x2ff819(0x178)](this,_0x4542eb,_0x7e74cb);}else _0x2039f3[_0x2ff819(0x1fa)](this,arguments);};_0x3854d9[_0x4943ae(0x36a)]=_0x4be1c9;}}()),_0x4a3e24[_0x3bea74(0x244)][_0x3bea74(0x3f3)];}));}(Ze)),Ze[_0x30c28d(0x24b)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x1f558c(0x24b)],ci;function ts(){var _0x42ebf4=_0x1f558c;return ci||(ci=0x1,function(_0xd6f957,_0x362ec9){(function(_0x2fec6f,_0x364485,_0xf01132){_0xd6f957['exports']=_0x364485(ie(),wi());}(es,function(_0x122ee3){var _0x11ef96=_0x4725;return _0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)]={'pad':function(){},'unpad':function(){}},_0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)];}));}(Qe)),Qe[_0x42ebf4(0x24b)];}var is=ts();const ns=ke(is);function rs(_0x38b0b7,_0x9ef86){var _0x2d7825=_0x1f558c;const _0x599fa9=_0x9ef86-_0x38b0b7[_0x2d7825(0x158)]%_0x9ef86,_0x4c0301=String['fromCharCode'](_0x599fa9)[_0x2d7825(0x23d)](_0x599fa9);return _0x38b0b7+_0x4c0301;}function ss(_0x3f3971,_0x3d1e68){var _0x3c943b=_0x1f558c;const _0x5f1d6b=Qr[_0x3c943b(0x35d)](0x10),_0x35a324=rs(_0x3f3971,0x10),_0x3ad46f=Vr[_0x3c943b(0x354)](zr[_0x3c943b(0x234)](_0x35a324),si[_0x3c943b(0x234)](_0x3d1e68),{'iv':_0x5f1d6b,'padding':ns});return _0x5f1d6b[_0x3c943b(0x147)](_0x3ad46f[_0x3c943b(0x3fd)])[_0x3c943b(0x28c)](si);}function os(){var _0x177ee0=_0x1f558c;const _0x2d092a=_0x5d2141()[_0x177ee0(0x418)];if(_0x2d092a){const _0x2701ad={'time':Math['floor'](Date[_0x177ee0(0x434)]()/0x3e8),'domain':location[_0x177ee0(0x138)]};return ss(JSON[_0x177ee0(0x283)](_0x2701ad),_0x2d092a);}}var as=Object[_0x1f558c(0x175)],cs=Object[_0x1f558c(0x330)],hs=(_0x396143,_0x27a61a,_0x40a0ab,_0x57172a)=>{var _0x59b553=_0x1f558c;for(var _0x7c4209=_0x57172a>0x1?void 0x0:_0x57172a?cs(_0x27a61a,_0x40a0ab):_0x27a61a,_0xb17b51=_0x396143[_0x59b553(0x158)]-0x1,_0x2fef2a;_0xb17b51>=0x0;_0xb17b51--)(_0x2fef2a=_0x396143[_0xb17b51])&&(_0x7c4209=(_0x57172a?_0x2fef2a(_0x27a61a,_0x40a0ab,_0x7c4209):_0x2fef2a(_0x7c4209))||_0x7c4209);return _0x57172a&&_0x7c4209&&as(_0x27a61a,_0x40a0ab,_0x7c4209),_0x7c4209;},_s=(_0x17f266,_0x4ab52e)=>(_0x16b02a,_0x40518d)=>_0x4ab52e(_0x16b02a,_0x40518d,_0x17f266);let ot=class{constructor(_0x28077d){var _0x42fb29=_0x1f558c;this[_0x42fb29(0x2d9)]=_0x28077d,this[_0x42fb29(0x189)]();}[_0x1f558c(0x189)](){var _0x551689=_0x1f558c;this[_0x551689(0x2d9)][_0x551689(0x251)]({'interceptor':(_0x17bf67,_0x4c9320)=>{var _0x83fa7=_0x551689;const _0x8e9d2c=_0x17bf67['headers'],_0x59ce87=os();return _0x59ce87&&_0x8e9d2c[_0x83fa7(0x319)](_0x83fa7(0x2c6),_0x59ce87),_0x4c9320(_0x17bf67);}});}};ot=hs([_s(0x0,_0x5b2811(_0x5b9922))],ot);var ls=Object['defineProperty'],us=Object[_0x1f558c(0x330)],ds=(_0x56c298,_0x21cc56,_0x394907,_0x44f4fe)=>{var _0x3a614d=_0x1f558c;for(var _0xf1fcd=_0x44f4fe>0x1?void 0x0:_0x44f4fe?us(_0x21cc56,_0x394907):_0x21cc56,_0x42eea3=_0x56c298[_0x3a614d(0x158)]-0x1,_0x14a1e6;_0x42eea3>=0x0;_0x42eea3--)(_0x14a1e6=_0x56c298[_0x42eea3])&&(_0xf1fcd=(_0x44f4fe?_0x14a1e6(_0x21cc56,_0x394907,_0xf1fcd):_0x14a1e6(_0xf1fcd))||_0xf1fcd);return _0x44f4fe&&_0xf1fcd&&ls(_0x21cc56,_0x394907,_0xf1fcd),_0xf1fcd;},mt=(_0x246525,_0x14fd26)=>(_0x61c952,_0x532239)=>_0x14fd26(_0x61c952,_0x532239,_0x246525);let Rt=class extends _0x1a5dd9{constructor(_0x24f2f5,_0x1cfaa2,_0x3c9f49){var _0x1c8966=_0x1f558c;super(),N(this,_0x1c8966(0x176),new _0x12b284(null)),N(this,_0x1c8966(0x1ae),this[_0x1c8966(0x176)][_0x1c8966(0x317)]()),(this['_logService']=_0x24f2f5,this[_0x1c8966(0x159)]=_0x1cfaa2,this[_0x1c8966(0x28f)]=_0x3c9f49);}async[_0x1f558c(0x216)](_0xe350cf,_0xcaf43e,_0x2cd2ca){var _0x44e24a=_0x1f558c;this[_0x44e24a(0x176)][_0x44e24a(0x140)]({'unitId':_0xe350cf,'type':_0xcaf43e,'subUnitId':_0x2cd2ca});let _0x2fd256=null;switch(_0xcaf43e){case Q['UNIVER_SHEET']:{_0x2fd256=await this[_0x44e24a(0x3b7)](_0xe350cf);break;}case Q[_0x44e24a(0x143)]:{_0x2fd256=await this[_0x44e24a(0x215)](_0xe350cf);break;}default:{this['_logService'][_0x44e24a(0x145)](_0x44e24a(0x157),_0x44e24a(0x3bd));break;}}return _0x2fd256;}async[_0x1f558c(0x3b7)](_0x332c45){var _0x5238f8=_0x1f558c,_0x1297f9;let _0x1b9ed6=0x0;const _0xa1029=await((_0x1297f9=this[_0x5238f8(0x28f)])==null?void 0x0:_0x1297f9[_0x5238f8(0x41d)](_0x332c45));return _0xa1029&&(_0xa1029[_0x5238f8(0x3a8)]||_0xa1029['mutations'][_0x5238f8(0x158)]!==0x0)&&(_0x1b9ed6=_0xa1029['rev']),_0x1b9ed6===0x0&&this[_0x5238f8(0x343)][_0x5238f8(0x2e3)](_0x5238f8(0x157),_0x5238f8(0x13e)),this['_snapshotService'][_0x5238f8(0x31e)](_0x332c45,_0x1b9ed6);}async['_loadDoc'](_0x3c1b20){var _0x4de9a9=_0x1f558c,_0x47de2b;let _0x2cb4d8=0x0;const _0x34fa04=await((_0x47de2b=this[_0x4de9a9(0x28f)])==null?void 0x0:_0x47de2b['loadOfflineData'](_0x3c1b20));return _0x34fa04&&(_0x34fa04['awaitingChangeset']||_0x34fa04['mutations']['length']!==0x0)&&(_0x2cb4d8=_0x34fa04[_0x4de9a9(0x1cb)]),_0x2cb4d8===0x0&&this[_0x4de9a9(0x343)][_0x4de9a9(0x2e3)](_0x4de9a9(0x157),_0x4de9a9(0x13e)),this[_0x4de9a9(0x159)][_0x4de9a9(0x13c)](_0x3c1b20,_0x2cb4d8);}};Rt=ds([mt(0x0,_0x574408),mt(0x1,_0x5b2811(_0x4c1140)),mt(0x2,_0x40673b(J))],Rt);var fs=Object[_0x1f558c(0x175)],vs=Object[_0x1f558c(0x330)],ps=(_0x18add8,_0x54aa4b,_0x510fd9,_0x3829d0)=>{for(var _0x5cea9e=_0x3829d0>0x1?void 0x0:_0x3829d0?vs(_0x54aa4b,_0x510fd9):_0x54aa4b,_0x1218c9=_0x18add8['length']-0x1,_0xfdfff0;_0x1218c9>=0x0;_0x1218c9--)(_0xfdfff0=_0x18add8[_0x1218c9])&&(_0x5cea9e=(_0x3829d0?_0xfdfff0(_0x54aa4b,_0x510fd9,_0x5cea9e):_0xfdfff0(_0x5cea9e))||_0x5cea9e);return _0x3829d0&&_0x5cea9e&&fs(_0x54aa4b,_0x510fd9,_0x5cea9e),_0x5cea9e;},gt=(_0x3309e7,_0x3b6230)=>(_0x57bea1,_0x4c47a4)=>_0x3b6230(_0x57bea1,_0x4c47a4,_0x3309e7);const ms=[_0x1f558c(0x1b8),_0x1f558c(0x15d),_0x1f558c(0x2af),_0x1f558c(0x346),_0x1f558c(0x31b)],gs=0x5*0x400*0x400,Ss=_0x1f558c(0x25e),Es='/universer-api/stream/file/upload',Is='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ts=_0x1f558c(0x313);let Ot=class{constructor(_0x10ca1e,_0x3d993c,_0x3d6cd3){var _0x5b08fc=_0x1f558c;N(this,'_waitCount',0x0),N(this,_0x5b08fc(0x3d8),new _0x13d4cc()),N(this,_0x5b08fc(0x1ca),this['_change$']),N(this,_0x5b08fc(0x2fe),new Map()),(this['_httpService']=_0x10ca1e,this[_0x5b08fc(0x405)]=_0x3d993c,this['_univerInstanceService']=_0x3d6cd3);}['setWaitCount'](_0x432614){var _0x3debc7=_0x1f558c;this[_0x3debc7(0x263)]=_0x432614,this[_0x3debc7(0x3d8)][_0x3debc7(0x140)](_0x432614);}[_0x1f558c(0x2b6)](_0x369a97,_0x5000c0){var _0x575bfe=_0x1f558c;if(_0x5000c0===_0x437e6e[_0x575bfe(0x153)]){const _0x3a77f6=new Image();return _0x3a77f6[_0x575bfe(0x1af)]=_0x369a97,_0x3a77f6;}return this['_imageSourceCache']['get'](_0x369a97);}[_0x1f558c(0x237)](_0x58d5a2,_0x19ee16,_0x264b33){var _0xf24b32=_0x1f558c;_0x19ee16===_0x437e6e[_0xf24b32(0x153)]||_0x264b33==null||this[_0xf24b32(0x2fe)][_0xf24b32(0x319)](_0x58d5a2,_0x264b33);}async[_0x1f558c(0x3a2)](_0x2d5299){var _0x10d6cb=_0x1f558c;try{const _0x1489a5=this[_0x10d6cb(0x229)](this[_0x10d6cb(0x42c)](),''+_0x2d5299),_0x1432e8=(await this[_0x10d6cb(0x2d9)][_0x10d6cb(0x1e3)](_0x1489a5))[_0x10d6cb(0x2ac)];if(_0x1432e8[_0x10d6cb(0x145)]&&_0x1432e8[_0x10d6cb(0x145)][_0x10d6cb(0x3e7)]===Si['OK']){const _0x593e67=new URL(_0x1432e8[_0x10d6cb(0x3c6)],this[_0x10d6cb(0x2aa)]())[_0x10d6cb(0x28c)]();return Promise[_0x10d6cb(0x208)](_0x593e67);}return Promise[_0x10d6cb(0x187)](_0x1432e8['error']);}catch(_0x2c7929){return Promise[_0x10d6cb(0x187)](_0x2c7929);}}async[_0x1f558c(0x306)](_0x4e8c33){var _0x49b26b=_0x1f558c;let _0x57c0dc='';if(!ms[_0x49b26b(0x407)](_0x4e8c33[_0x49b26b(0x15f)]))return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x37c)]));if(_0x4e8c33[_0x49b26b(0x191)]>gs)return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x361)]));try{const _0x921e4e=new FormData();_0x921e4e[_0x49b26b(0x419)]('file',_0x4e8c33);const _0x1fc144=this[_0x49b26b(0x435)][_0x49b26b(0x3ff)](),_0x368cd6=_0x1fc144==null?void 0x0:_0x1fc144[_0x49b26b(0x253)]();if(!_0x368cd6)throw new Error('unitId\x20is\x20not\x20found');const _0xd9e52d=this['_getUploadFileURL']()+_0x49b26b(0x2d8)+_0x4e8c33[_0x49b26b(0x191)][_0x49b26b(0x28c)]()+_0x49b26b(0x37b)+Ei[_0x49b26b(0x33c)]+_0x49b26b(0x2e1)+encodeURIComponent(_0x368cd6),_0x4ae4ae=await(await fetch(_0xd9e52d,{'method':_0x49b26b(0x2d1),'body':_0x921e4e}))[_0x49b26b(0x391)]();if(typeof _0x4ae4ae[_0x49b26b(0x289)]!=_0x49b26b(0x3ee))return this[_0x49b26b(0x36f)](),Promise['reject'](new Error(_0x42bf22[_0x49b26b(0x3ed)]));_0x57c0dc=_0x4ae4ae['FileId'];}catch{return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22['ERROR_IMAGE']));}return new Promise((_0x573708,_0x45f039)=>{var _0x483ef2=_0x49b26b;const _0x269e7a=new FileReader();_0x269e7a[_0x483ef2(0x242)](_0x4e8c33),_0x269e7a[_0x483ef2(0x3fc)]=_0x78ecb4=>{var _0x34bcc5=_0x483ef2,_0x118651;const _0x2112b6=(_0x118651=_0x78ecb4[_0x34bcc5(0x37d)])==null?void 0x0:_0x118651[_0x34bcc5(0x386)];if(_0x2112b6==null){this[_0x34bcc5(0x36f)](),_0x45f039(new Error(_0x42bf22[_0x34bcc5(0x3ed)]));return;}const _0x516b31=_0x2d4a2c[_0x34bcc5(0x2a4)](0x6);_0x573708({'imageId':_0x516b31,'imageSourceType':_0x437e6e[_0x34bcc5(0x14c)],'source':_0x57c0dc,'base64Cache':_0x2112b6,'status':_0x42bf22['SUCCUSS']}),this[_0x34bcc5(0x36f)]();};});}['_getUploadFileURL'](){var _0x532057=_0x1f558c,_0x498b95,_0x216fe4;const _0x21b65d=this[_0x532057(0x405)][_0x532057(0x2a0)](Ss),_0x364738=this[_0x532057(0x405)]['getConfig'](q);return(_0x216fe4=(_0x498b95=_0x364738==null?void 0x0:_0x364738[_0x532057(0x1bb)])!=null?_0x498b95:_0x21b65d)!=null?_0x216fe4:Es;}[_0x1f558c(0x42c)](){var _0x403181=_0x1f558c,_0x9fed36,_0x4432ae;const _0x409ec4=this[_0x403181(0x405)]['getConfig'](Is),_0x27e5c1=this[_0x403181(0x405)][_0x403181(0x2a0)](q);return(_0x4432ae=(_0x9fed36=_0x27e5c1==null?void 0x0:_0x27e5c1['signUrlServerUrl'])!=null?_0x9fed36:_0x409ec4)!=null?_0x4432ae:Ts;}[_0x1f558c(0x2aa)](){var _0xc9720f=_0x1f558c,_0x450825;const _0x2a16ba=this[_0xc9720f(0x405)]['getConfig'](q);return(_0x450825=_0x2a16ba==null?void 0x0:_0x2a16ba['downloadEndpointUrl'])!=null?_0x450825:location[_0xc9720f(0x41a)];}[_0x1f558c(0x229)](_0x1f60e1,_0xcde69b){var _0x2589e1=_0x1f558c;return _0x1f60e1[_0x2589e1(0x37a)](_0x2589e1(0x223),_0xcde69b);}[_0x1f558c(0x36f)](){var _0x1edf43=_0x1f558c;this['_waitCount']-=0x1,this[_0x1edf43(0x3d8)][_0x1edf43(0x140)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x5b2811(_0x5b9922)),gt(0x1,_0x4ea54a),gt(0x2,_0x5b2811(_0x30c3be))],Ot);function _0x3db1(){var _0x133e35=['_status$','stringify','key','YUUMI_URL_COL_OUT_OF_RANGE','_incrementRevisionNumber','words','SNAPSHOT_INVALID_SNAPSHOT','FileId','editing\x20status\x20changed\x20to','HELLO','toString','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_localCacheService','equals','fetchMiss','APPLY_PERMISSION_DENIED','_listenToNetworkCondition','USERS_LEAVE','onRemoteChangeset','_createHmacHelper','TOO_MANY_REQUESTS','updatePermissionPoint','Cipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','reqId','_changesetReqId','SYNCED','refreshPermission','_waitForHeartbeatResponse','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_map','generateRandomId','authzUrl','avatar','HttpExport','_socketReady','HEARTBEAT_INTERVAL','_getDownloadEndpointURL','_prevBlock','body','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/jpg','univer-pro.collaboration-client.network-condition.service','padding','LICENSE_EXPORT_SIZE_EXCEEDED','status$','_onLocalMutation','_getCtorByUniverType','getImageSourceCache','formatter','_startTelemetryCollaborationNewChangeset','objects','_nDataBytes','textRanges','LICENSE_IMPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','onTransformIME','_networkConditionService','_localeService','HEARTBEAT','abs','Univer','collaboration_new_changeset','socketService','x-univer-host','CONFLICT','sid','_transitionLocked','_data','enableAuthServer','People','LOGIN_URL_KEY','COLLAB_WEB_SOCKET_URL','snapshot','_pendingMutations','POST','socket\x20close','msCrypto','_HTTPService','_lockTransition','disposeWithMe','USERS_ENTER','?size=','_httpService','_undoStacks','slice','_process','duration','_checkMissing','NOT_COLLAB','_getCurrentRevision','&assign=','/universer-api/uniscript','debug','_retryCount','message$','updatePermissionObjEvent','init','getSheetBlock','_init','_keySchedule','PasswordBasedCipher','emitEvent','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createDecryptor','onSyncEditingCollabCursor','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_userManagerService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','data','actions','revision','capture','_minBufferSize','PERSON','PERMISSION_REJ','_imageSourceCache','createEncryptor','UNAUTHENTICATED','cmd','Undefined','updateOfflineData','pluginName','_executeRemoteChangeset','saveImage','_submitChangeset','fromCollab','_acknowledgedAwaitingChangeset','EvpKDF','YUUMI_UNABLE_LOAD_URL','_initDependencies','getInterceptPoints','_doFinalize','_permissionService','_state','resend','onMissedChangesetFetched','/universer-api/file/{fileID}/sign-url','keySize','enableSingleActiveInstanceLock','AES','asObservable','_type','set','Malformed\x20UTF-8\x20data','image/bmp','_candidateSocket','_doCryptBlock','loadSheet','\x0aAfter:\x20','conflict','_cipher','HMAC','_collaborationUIEventService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','patch','finalize','SUBMIT_CHANGESET','UNIVER_COLLABORATION_CLIENT_PLUGIN','/collaborator','_commentUpdate$','_mode','UNISCRIPT_RUN','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','kdf','failed\x20to\x20apply\x20missed\x20changesets!','open$','shouldCloseConn','fetch_missing','every','RECV','univer-pro.collaboration-client-socket-service','_applyRemoteChangeset','_doProcessBlock','3565540nFGXXC','UnitEmbedded','UPDATE_CURSOR','unitId','setConfig','LIVESHARE_REQUEST_HOST','reconnect','_oKey','_logService','_onJoinRoomEvent','complete','image/gif','getMember','/unit/','enc','_onRemoteRetry','/universer-api/comb','transformUndoRedo','_getRedoStack','commentUpdate$','UNRECOGNIZED','editingUnit','values','_compressMutationService','_telemetryService','encrypt','_resendWithTimeout','fetching\x20missing\x20changesets\x20from\x20','_rescheduleHeartbeat','onCommentUpdate','randomUUID','/block/','ceil','onMissingChangesets','random','_memberService','_initCloseConn','onTransformState','ERROR_EXCEED_SIZE','1560414xaXLxh','HmacSHA1','error$','_onUserLeave','getSnapshotAPIPath','[OfflineState]:\x20received\x20acknowledgement.','112034HexZDR','liveShareOperation','prototype','_members','FETCH_MISS','entityInit$','_createHelper','_decreaseWaiting','incrementRevOfUnit','_keyPriorReset','getCurrentRevOfUnit','_eventService','_createSocket','_joinRoom','reduce','clear','_commentService','hasher','replace','&source=','ERROR_IMAGE_TYPE','target','_retryConnectingTimer','fromCharCode','onSendChangeset','_ENC_XFORM_MODE','getDeserializedSheetBlock','entries','_timeoutTimer','onStarting','result','onRemoteRetry','_collaborationPaused','_handler','_transformService','_clearRedo','[OfflineState]:\x20received\x20changeset.','_onConnectionFailed','createInstance','SHA1','/allowed','json','from','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','collabWebSocketUrl','clone','LICENSE_DISTRO_REJECTED','_snapshotServerService','COMPLETION_FINISHED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getWorkbookSelections','JOIN_ROOM_PERMISSION_DENIED','Utf8','awaiting_with_pending','processBlock','UNKNOWN_CODE','_config','updateCollaborator','getImage','compose','subscribe','_clearLocalCache','PY_RUNTIME_SCRIPT_ERROR','getUnitType','awaitingChangeset','objectID','updateCursorEvent','toggleOffline','getRandomValues','socket$','encryptBlock','404840neKVAl','map','[SyncedState]:\x20received\x20rejection.','params','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCurrentSelections','not_collab','blockSize','_loadSheet','HEARTBEAT_TIMEOUT','_onOffline','originalMeta','GLOBAL_ROOMS_CNT_EXCEEDS','executeCommand','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_onRemoteChangeset','_doReset','_tryEnsureSocket','_onConnectionOpen','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitStatus$','url','_state$','FAIL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_collaborationTimeoutTimer','LOCAL_CACHE_INTERVAL','mixIn','UNIVER_UNKNOWN','sessionStatus$','isPermissionRej','$super','SNAPSHOT_HAS_BEEN_REMOVED','_onConflict','UNIVER_SHEET','joinEvent','session.room-cnt-exceeds','decryptBlock','_transformIMECache','_change$','_schedule','/object/','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','max','LIVESHARE_OPERATION','unitID','toLowerCase','BufferedBlockAlgorithm','UNIVER_SLIDE','buffer','transformMutationsWithChangeset','permissionRejEvent','code','BlockCipher','action','_key','execute','getUnitOnRev','ERROR_IMAGE','string','_resendTimer','crypto','LIVESHARE_TERMINATE','removeMember','WordArray','_awaitingChangeset','_roomMembers','COMPRESS_MUTATION_SEND','_toggleOnline','encode','salt','[CollaborationSession]','[SyncedState]:\x20received\x20acknowledgement.','onload','ciphertext','findIndex','getFocusedUnit','readInt32LE','_getAPIPrefix','createSocket','_getLoginPath','_transformStateCache','_configService','charCodeAt','includes','infoRsp','INVALID_ARGUMENT','retryConnectingInterval','rng','_hasher','_singleActiveUnitService','onRemoteAck','deleteCollaborator','_toggleOffline','listRoles','_tryReconnect','uniscriptRunEvent','onTransformSelections','SOCKET_FAILED','MD5','OTHER_CLIENTS_EDITING','__Key__','append','origin','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','loadOfflineData','pipe','unit-cache-','min','_throwTelemetryCollaborationNewChangeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','c1Prime','session','[FetchMissState]','Pkcs7','transformChangesets','onLocalMutation','name','_xformMode','_getSignURL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/authz','_getSendChangesetTimeout','5xiaOBV','indexOf','Encryptor','_substituteRedoStack','now','_univerInstanceService','filter','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','disableLocalCache','reset','_iKey','algo','OpenSSL','_clearTimeoutTimer','hostname','CBC','list','DEFAULT_FILE_NAME','loadDoc','_sheetTransformSelectionsService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/oidc/authpage','next','m2Prime','session.join-failed','UNIVER_DOC','_sendHeartbeatTimer','error','session.room-full','concat','LICENSE_MAX_UNITS_EXCEEDED','routeKey','APPLY_REJECT','_sendingTimer','UUID','PENDING','_onRemoteRejected','_members$','updateMember','_onCombEvent','3458046eCZTSn','BASE64','put','_sendHeartbeat','_createHandler','[DataLoaderService]','length','_snapshotService','location','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','image/jpeg','getResourcesRequest','type','initWorkbookPermissionChange','baseRev','putCollaborators','has','_revisionService','_emitMembers','collaboratorID','delete','collabSubmitChangesetUrl','_entities','JOIN_ROOM_NOT_EXISTS','catch','?url=','members','JOIN','_clearCollaborationTimeoutTimer','_parse','transformStack\x20failed!','_initUnitPermissionChange','MUTATION','_transformStack','defineProperty','_unitInfo$','_updateState','call','forEach','CipherParams','[UniverCollaborationClientPlugin]','_sender','create','_collaborationSessionService','_unitID','readyForCollab','collaborators','AWAITING_WITH_PENDING','floor','_changesetSessionId','JOIN_ROOM_FULL','getRoom','reject','transformSelections','_initRequestHeader','/role','_collabSessionService','_onFetchMissResult','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','OFFLINE','SHOULD_CLOSE_CONN','size','csAckEvent','_sessions','iterations','randomBytes','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','FETCH_MISSING','objectType','_redoStacks','onRemoteRej','startsWith','unknown','byteOffset','add','getTypeOfUnitDisposed$','RETRY_CONNECTING_MAX_COUNT','/-/object/list','45xtojuy','_initMergeInterceptor','_updateStatus','requireSession','closeSession','mode','onCommandExecuted','collaboration-client.config','\x0aCurrent:\x20','UNKNOWN_CMD','unitInfo$','src','_handlerCallback','_showConflictNotification','ALREADY_EXISTS','_injector','socket\x20open.','UPDATE_PERMISSION_OBJ','_telemetryInfo','compute','image/png','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CLOSE_ROOM','uploadFileServerUrl','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','join','sigBytes','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FAILED','status','objectActions','getTime','find','Hasher','_instanceService','offline','event$','change$','rev','mutations','format','_getAPIPrefixPath','localeService','[CollaborationUndoRedoService]','localCacheService','_commandService','getCurrentUser','INTERNAL_ERROR','responseType','HttpImport','CONNECTOR_DATA_TOO_LARGE','/universer-api/user/session-ticket','[PendingState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/-/object/-/batch_allowed','send','function','PERMISSION_DENIED','clamp','batchAllowed','submit\x20changeset\x20error!','_onUserJoin','get','then','_roomCreated$','byteLength','4358802jRNply','roles','HmacMD5','getLatestCsReqIdBySid','push','NO_OTHER_CLIENTS_EDITING','requestParams','SOCKET_FAILED_RETRY','COMMENT_UPDATE','synced','copyFileMeta','OPTIONAL','workbook','subject','_scheduleCollaborationTimeoutTimer','__esModule','_fetchMissChangesets','StreamCipher','_stopTelemetryCollaborationNewChangeset','apply','hasOwnProperty','update','_nRounds','_DEC_XFORM_MODE','deepClone','changesets','range','ivSize','_append','getCollabEntity$','pauseCollaboration','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','resolve','subUnitId','default','eventID','setShowComponents','userID','appendMutation','_socket','\x20to\x20','_clearUndo','ENSURE_SNAPSHOT_EXECUTION','getValue','_undoRedoService','_loadDoc','loadUnit','substr','auth.needGotoLoginAlert','MSG_FOR_ERROR','IDLE','href','sessionStatus','joinRsp','_isPermissionRej','_socketService','stopTime','_getUndoStack','OTHER_CLIENT_EDITING','{fileID}','_onMessage','_syncEditingCollabCursor','interceptor','dispose','_socketMessageSubscription','_replaceFileID','pad','PSEUDO_FETCH_MISSING_RESULT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getMemberID','unpad','extend','_remoteChangesetQueue','onlyLocal','UNDEFINED','newCsEvent','parse','Base64','cfg','addImageSourceCache','Base','memberID','sendChangesetTimeout','LIVESHARE_FETCH_OPERATIONS','[CollaborationSessionService]:\x20socket\x20error','repeat','charAt','getTypeOfUnitAdded$','state','1707112MTQYsD','readAsDataURL','UNIVER_PROJECT','lib','NoPadding','[PendingState]:\x20received\x20rejection.','_disableEditing','/fetchmissing?from=','_resendTimeout','fetchMissingChangesets','exports','state$','INGEST','_startCollaboration','enableOfflineEditing','_iv','registerHTTPInterceptor','splice','getUnitId','/new_changes','saveSheetBlock','allowed','NEW_CHANGESETS','__creator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toggleOnline','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','selections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_shouldReportTelemetry','LEAVE','c2Prime','ONLINE','_waitCount','resourceIDs','/universer-api/snapshot/','getSheetId','_event$','post','fetchThroughInterceptors','bind','override','waitForRoom$','snapshotServerUrl','close','_unlockTransition','dispose$','commentUpdateEvent','_entityInit$','getCollabEntity','saveSnapshot','pending','_hash','_sessionStatus$','online$','JOINING','_scheduleCompleteTimestamp','_updateLocalCache','onStateChange','_transformSelections','roomInfos','SUBMIT_CHANGESET_TIMEOUT','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect'];_0x3db1=function(){return _0x133e35;};return _0x3db1();}var Cs=Object['defineProperty'],bs=Object[_0x1f558c(0x330)],Rs=(_0x601515,_0x100846,_0x4ac7b9,_0x5d9883)=>{var _0x18dddd=_0x1f558c;for(var _0x370929=_0x5d9883>0x1?void 0x0:_0x5d9883?bs(_0x100846,_0x4ac7b9):_0x100846,_0x582aff=_0x601515[_0x18dddd(0x158)]-0x1,_0x2757ef;_0x582aff>=0x0;_0x582aff--)(_0x2757ef=_0x601515[_0x582aff])&&(_0x370929=(_0x5d9883?_0x2757ef(_0x100846,_0x4ac7b9,_0x370929):_0x2757ef(_0x370929))||_0x370929);return _0x5d9883&&_0x370929&&Cs(_0x100846,_0x4ac7b9,_0x370929),_0x370929;},hi=(_0x582283,_0x367e8d)=>(_0x325768,_0x26a1e1)=>_0x367e8d(_0x325768,_0x26a1e1,_0x582283);const Os=_0x1f558c(0x42e);let yt=class{constructor(_0x4eaaa7,_0x5eb19d){var _0xecd69b=_0x1f558c;this['_configService']=_0x4eaaa7,this[_0xecd69b(0x2d4)]=_0x5eb19d;}[_0x1f558c(0x1ce)](){var _0x4f90c8=_0x1f558c,_0x236c25,_0x34db7c;const _0x52905a=this[_0x4f90c8(0x405)]['getConfig'](Ni),_0x3bbfc0=this[_0x4f90c8(0x405)]['getConfig'](q);return(_0x34db7c=(_0x236c25=_0x3bbfc0==null?void 0x0:_0x3bbfc0[_0x4f90c8(0x2a5)])!=null?_0x236c25:_0x52905a)!=null?_0x34db7c:Os;}async[_0x1f558c(0x13a)](_0x503019){var _0x37280a=_0x1f558c;const _0x1ccff6=this['_getAPIPrefixPath']()+_0x37280a(0x32a);return{'list':[{'title':_0x37280a(0x2cc),'mentions':(await this['_HTTPService']['get'](_0x1ccff6,{'params':{'objectID':_0x503019[_0x37280a(0x33e)],'unitID':_0x503019['unitId']}}))['body'][_0x37280a(0x181)]['map'](_0x586df9=>({'objectId':_0x586df9['id'],'name':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x42a)],'metadata':{'icon':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x2a6)]},'label':_0x586df9['subject'][_0x37280a(0x42a)],'objectType':_0x4e27b9[_0x37280a(0x2fc)]})),'metadata':{},'type':_0x4e27b9['PERSON']}]};}};yt=Rs([hi(0x0,_0x5b2811(_0x4ea54a)),hi(0x1,_0x5b2811(_0x5b9922))],yt);var ys=Object[_0x1f558c(0x175)],Ns=Object[_0x1f558c(0x330)],Ds=(_0x3b3503,_0x5b43ee,_0x472334,_0x4f3ef1)=>{var _0x25fedf=_0x1f558c;for(var _0x22c226=_0x4f3ef1>0x1?void 0x0:_0x4f3ef1?Ns(_0x5b43ee,_0x472334):_0x5b43ee,_0x357a15=_0x3b3503[_0x25fedf(0x158)]-0x1,_0x5c31a4;_0x357a15>=0x0;_0x357a15--)(_0x5c31a4=_0x3b3503[_0x357a15])&&(_0x22c226=(_0x4f3ef1?_0x5c31a4(_0x5b43ee,_0x472334,_0x22c226):_0x5c31a4(_0x22c226))||_0x22c226);return _0x4f3ef1&&_0x22c226&&ys(_0x5b43ee,_0x472334,_0x22c226),_0x22c226;},Ue=(_0x58d992,_0x1cea37)=>(_0x12fd01,_0x52e57b)=>_0x1cea37(_0x12fd01,_0x52e57b,_0x58d992);let at=class extends _0x1a5dd9{constructor(_0x29e80b,_0xb6d63a,_0x1fcf73,_0x350e04,_0x19a039){var _0x256b4b=_0x1f558c;super(),this[_0x256b4b(0x1b3)]=_0x29e80b,this[_0x256b4b(0x435)]=_0xb6d63a,this[_0x256b4b(0x30f)]=_0x1fcf73,this[_0x256b4b(0x17e)]=_0x350e04,this[_0x256b4b(0x323)]=_0x19a039,this[_0x256b4b(0x172)](),this[_0x256b4b(0x35f)]();}['_initCloseConn'](){var _0x2c6fb4=_0x1f558c;const _0x5be4a4=async _0x3dd495=>{var _0x467f6e=_0x4725;(await this['_collaborationSessionService'][_0x467f6e(0x1a7)](_0x3dd495))[_0x467f6e(0x1c9)][_0x467f6e(0x41e)](_0x1bdf9d(_0x1858e7=>_0x1858e7[_0x467f6e(0x20b)]===_0x238e1f[_0x467f6e(0x190)]),_0x30142f(this[_0x467f6e(0x270)]))[_0x467f6e(0x3a4)](_0x524afe=>{var _0x279de2=_0x467f6e;const _0x5a09d5=_0x524afe,{reason:_0x2abdb6}=_0x5a09d5[_0x279de2(0x2f7)];this[_0x279de2(0x323)][_0x279de2(0x2ec)]({'id':se[_0x279de2(0x1ba)],'data':_0x2abdb6}),this[_0x279de2(0x30f)]['updatePermissionPoint'](new _0x6a1b02(_0x3dd495)['id'],!0x1),this['_collaborationSessionService'][_0x279de2(0x1a8)](_0x3dd495);});};_0x404c78(this['_univerInstanceService'][_0x2c6fb4(0x23f)](_0x3886a9['UNIVER_SHEET']),this[_0x2c6fb4(0x435)]['getTypeOfUnitAdded$'](_0x3886a9[_0x2c6fb4(0x143)]))['pipe'](_0xeca816(_0xc5d8c8=>_0xc5d8c8['getUnitId']()),_0x1bdf9d(_0x38db8c=>!_0x5c098a(_0x38db8c)),_0x30142f(this[_0x2c6fb4(0x270)]))[_0x2c6fb4(0x3a4)](_0x4e46ce=>{_0x5be4a4(_0x4e46ce);});}[_0x1f558c(0x172)](){var _0x33f8f2=_0x1f558c;const _0x58d07c=async _0x3ef88c=>{var _0x4cb0c6=_0x4725;const _0x155477=await this[_0x4cb0c6(0x17e)][_0x4cb0c6(0x1a7)](_0x3ef88c),_0x18f2f1=this['_injector']['get'](_0x15e11e);_0x155477[_0x4cb0c6(0x1c9)][_0x4cb0c6(0x41e)](_0x1bdf9d(_0x408b2f=>_0x408b2f[_0x4cb0c6(0x20b)]===_0x238e1f['UPDATE_PERMISSION_OBJ']),_0x30142f(this[_0x4cb0c6(0x270)]))[_0x4cb0c6(0x3a4)](_0x3c412e=>{var _0x2120dd=_0x4cb0c6;const _0x4038b1=_0x3c412e,{objectId:_0x2aff2f}=_0x4038b1[_0x2120dd(0x2f7)];_0x2aff2f===_0x3ef88c?_0x18f2f1[_0x2120dd(0x160)](_0x3ef88c):_0x18f2f1[_0x2120dd(0x29e)](_0x3ef88c,_0x2aff2f);});};_0x404c78(this[_0x33f8f2(0x435)][_0x33f8f2(0x23f)](_0x3886a9[_0x33f8f2(0x3d3)]))['pipe'](_0xeca816(_0x2585de=>_0x2585de[_0x33f8f2(0x253)]()),_0x1bdf9d(_0x348d6a=>!_0x5c098a(_0x348d6a)),_0x30142f(this[_0x33f8f2(0x270)]))[_0x33f8f2(0x3a4)](_0x456290=>{_0x58d07c(_0x456290);});}};at=Ds([Ue(0x0,_0x5b2811(_0x5b79bd)),Ue(0x1,_0x30c3be),Ue(0x2,_0x5b9158),Ue(0x3,_0x5b2811(Le)),Ue(0x4,_0x5b2811(pe))],at);var Ps=Object[_0x1f558c(0x175)],ws=Object[_0x1f558c(0x330)],Us=(_0x1de490,_0x3ad4c8,_0x4461e2,_0x40ca7b)=>{for(var _0x559b6a=_0x40ca7b>0x1?void 0x0:_0x40ca7b?ws(_0x3ad4c8,_0x4461e2):_0x3ad4c8,_0x314b02=_0x1de490['length']-0x1,_0x915d2b;_0x314b02>=0x0;_0x314b02--)(_0x915d2b=_0x1de490[_0x314b02])&&(_0x559b6a=(_0x40ca7b?_0x915d2b(_0x3ad4c8,_0x4461e2,_0x559b6a):_0x915d2b(_0x559b6a))||_0x559b6a);return _0x40ca7b&&_0x559b6a&&Ps(_0x3ad4c8,_0x4461e2,_0x559b6a),_0x559b6a;},_i=(_0x5518b4,_0x12725d)=>(_0x38eab3,_0x47c013)=>_0x12725d(_0x38eab3,_0x47c013,_0x5518b4);let Nt=class{constructor(_0x2d299a,_0x59a0fb){var _0x3fd296=_0x1f558c;this[_0x3fd296(0x405)]=_0x2d299a,this[_0x3fd296(0x2d9)]=_0x59a0fb;}async[_0x1f558c(0x3ec)](_0x4934e7,_0x24574b){var _0x3ecaa4=_0x1f558c,_0x424cc4;const {unitID:_0x24f2f8,type:_0x23f6db,revision:_0x34aaf3=0x0}=_0x24574b,_0x279310=this[_0x3ecaa4(0x366)]()+'/'+_0x23f6db+_0x3ecaa4(0x348)+_0x24f2f8+'/rev/'+_0x34aaf3,_0x3b29c8=(await this[_0x3ecaa4(0x2d9)]['get'](_0x279310))[_0x3ecaa4(0x2ac)],_0x2bca10=(_0x424cc4=_0x3b29c8[_0x3ecaa4(0x2cf)])==null?void 0x0:_0x424cc4[_0x3ecaa4(0x1f3)];if(_0x2bca10){const _0x439fc0=_0x2bca10==null?void 0x0:_0x2bca10[_0x3ecaa4(0x3ba)],_0x151b2c=_0x9a9792['encode'](_0x3b9e94(_0x439fc0));_0x2bca10[_0x3ecaa4(0x3ba)]=_0x151b2c,Object[_0x3ecaa4(0x383)](_0x2bca10['sheets'])[_0x3ecaa4(0x179)](([,_0x598a8a])=>{var _0x39e69a=_0x3ecaa4;const _0x518329=_0x598a8a[_0x39e69a(0x3ba)],_0x57f1fa=_0x9a9792[_0x39e69a(0x3f8)](_0x3b9e94(_0x518329));_0x598a8a['originalMeta']=_0x57f1fa;});}return _0x3b29c8;}async[_0x1f558c(0x2e8)](_0x2b35d5,_0x47074f){var _0x772a27=_0x1f558c;const {unitID:_0x56beb6,type:_0x388a1d,blockID:_0x2d8544}=_0x47074f,_0x228308=this['_getAPIPrefix']()+'/'+_0x388a1d+_0x772a27(0x348)+_0x56beb6+'/block/'+_0x2d8544;return(await this[_0x772a27(0x2d9)][_0x772a27(0x1e3)](_0x228308))[_0x772a27(0x2ac)];}async[_0x1f558c(0x382)](_0x35c164,_0x198541){var _0xe832b3=_0x1f558c;const {unitID:_0xd081f3,type:_0x13d1e6,blockID:_0x306664}=_0x198541,_0x2511d6=this[_0xe832b3(0x401)]()+_0xe832b3(0x35a)+_0x13d1e6+_0xe832b3(0x348)+_0xd081f3+_0xe832b3(0x35a)+_0x306664;return(await this['_httpService'][_0xe832b3(0x1e3)](_0x2511d6))['body'];}async[_0x1f558c(0x24a)](_0x5075c9,_0x444349){var _0x35290c=_0x1f558c;const {unitID:_0x2d07db,type:_0x2545cb,from:_0x1d126b,to:_0x4568df}=_0x444349,_0x7902f=this[_0x35290c(0x401)]()+'/'+_0x2545cb+_0x35290c(0x348)+_0x2d07db+_0x35290c(0x248)+_0x1d126b+'&to='+_0x4568df;return(await this[_0x35290c(0x2d9)][_0x35290c(0x1e3)](_0x7902f))['body'];}['getSnapshotAPIPath'](){var _0x202b30=_0x1f558c,_0x4869d3;return(_0x4869d3=this['_configService'][_0x202b30(0x2a0)](En))!=null?_0x4869d3:this[_0x202b30(0x401)]();}[_0x1f558c(0x401)](){var _0xd93bdb=_0x1f558c,_0x4480f1,_0x22325f;const _0x26bac8=this[_0xd93bdb(0x405)][_0xd93bdb(0x2a0)](gn),_0x329094=this[_0xd93bdb(0x405)]['getConfig'](q);return(_0x22325f=(_0x4480f1=_0x329094==null?void 0x0:_0x329094[_0xd93bdb(0x26d)])!=null?_0x4480f1:_0x26bac8)!=null?_0x22325f:Sn;}async[_0x1f558c(0x15e)](_0x40affa,_0x11d391){var _0x103df4=_0x1f558c;const _0x1166b0=_0x103df4(0x265)+_0x11d391['type']+_0x103df4(0x348)+_0x11d391[_0x103df4(0x3e0)]+'/resources';return(await this[_0x103df4(0x2d9)][_0x103df4(0x1e3)](_0x1166b0,{'params':{'resourceId':JSON[_0x103df4(0x283)](_0x11d391[_0x103df4(0x264)])}}))[_0x103df4(0x2ac)];}[_0x1f558c(0x274)](){var _0x55c0da=_0x1f558c;throw new Error(_0x55c0da(0x3c4));}[_0x1f558c(0x255)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1ea)](){var _0xd1a3b9=_0x1f558c;throw new Error(_0xd1a3b9(0x3c4));}};Nt=Us([_i(0x0,_0x4ea54a),_i(0x1,_0x5b2811(_0x5b9922))],Nt);var As=Object[_0x1f558c(0x175)],xs=Object[_0x1f558c(0x330)],Ls=(_0x118a9c,_0x503f4b,_0x244f20,_0x52a483)=>{for(var _0x498495=_0x52a483>0x1?void 0x0:_0x52a483?xs(_0x503f4b,_0x244f20):_0x503f4b,_0x54acdd=_0x118a9c['length']-0x1,_0x1b79b3;_0x54acdd>=0x0;_0x54acdd--)(_0x1b79b3=_0x118a9c[_0x54acdd])&&(_0x498495=(_0x52a483?_0x1b79b3(_0x503f4b,_0x244f20,_0x498495):_0x1b79b3(_0x498495))||_0x498495);return _0x52a483&&_0x498495&&As(_0x503f4b,_0x244f20,_0x498495),_0x498495;},Ae=(_0xf7de90,_0x538d87)=>(_0x4944e6,_0xa2d163)=>_0x538d87(_0x4944e6,_0xa2d163,_0xf7de90);let Dt=class extends _0x457268{constructor(_0x2a943f,_0x3e26b2,_0x1c30b1,_0xbdb752,_0x3f6246){var _0x3a4b2b=_0x1f558c;super(_0x2a943f,_0x3e26b2,_0x1c30b1),this[_0x3a4b2b(0x38a)]=_0xbdb752,this[_0x3a4b2b(0x343)]=_0x3f6246;}[_0x1f558c(0x34c)](_0x1076ba,_0x1570ec){var _0x2c8222=_0x1f558c;const _0x3e52a2=this[_0x2c8222(0x221)](_0x1076ba);if(_0x3e52a2)try{const _0x35129e=this['_transformStack'](_0x3e52a2,_0x1570ec);this[_0x2c8222(0x28d)](_0x1076ba,_0x35129e);}catch(_0x4def73){this[_0x2c8222(0x343)][_0x2c8222(0x145)]('[CollaborationUndoRedoService]',_0x4def73),this[_0x2c8222(0x211)](_0x1076ba);}const _0x1f6566=this[_0x2c8222(0x34d)](_0x1076ba);if(_0x1f6566)try{const _0x187220=this[_0x2c8222(0x174)](_0x1f6566,_0x1570ec);this[_0x2c8222(0x433)](_0x1076ba,_0x187220);}catch(_0x4924be){this[_0x2c8222(0x343)][_0x2c8222(0x145)](_0x4924be),this[_0x2c8222(0x38b)](_0x1076ba);}}[_0x1f558c(0x211)](_0x5bd5a3){var _0x17345a=_0x1f558c;const _0x388e76=this[_0x17345a(0x221)](_0x5bd5a3);_0x388e76&&(_0x388e76[_0x17345a(0x158)]=0x0,this[_0x17345a(0x1a6)]());}[_0x1f558c(0x38b)](_0x13ae24){var _0x55fd1f=_0x1f558c;const _0x303fc2=this['_getRedoStack'](_0x13ae24);_0x303fc2&&(_0x303fc2[_0x55fd1f(0x158)]=0x0,this[_0x55fd1f(0x1a6)]());}[_0x1f558c(0x28d)](_0x5dd2f0,_0x6d582e){var _0x3eddd4=_0x1f558c;this[_0x3eddd4(0x2da)][_0x3eddd4(0x319)](_0x5dd2f0,_0x6d582e),this[_0x3eddd4(0x1a6)]();}['_substituteRedoStack'](_0x1ea684,_0x369a8c){var _0x2f4140=_0x1f558c;this[_0x2f4140(0x19b)][_0x2f4140(0x319)](_0x1ea684,_0x369a8c),this[_0x2f4140(0x1a6)]();}['_transformStack'](_0x48d0ff,_0x412b5f){var _0x491152=_0x1f558c;const _0x5b1226=[];let _0xaa9454=_0x412b5f,_0x138d66=_0x412b5f;for(let _0x1f1322=_0x48d0ff['length']-0x1;_0x1f1322>=0x0;_0x1f1322--){const {unitID:_0x5bae4c,undoMutations:_0x322c5d,redoMutations:_0x3a67e6}=_0x48d0ff[_0x1f1322],_0x1fb6ef=this[_0x491152(0x38a)][_0x491152(0x3e5)](_0xaa9454,_0x322c5d),_0xf630cd=this[_0x491152(0x38a)]['transformMutationsWithChangeset'](_0x138d66,_0x3a67e6);if(_0x10ccbc(_0x1fb6ef)||_0x10ccbc(_0xf630cd)){this['_logService'][_0x491152(0x145)](_0x491152(0x1d0),_0x491152(0x171),_0x1fb6ef,_0xf630cd);break;}_0xaa9454=_0x1fb6ef[_0x491152(0x424)],_0x138d66=_0xf630cd[_0x491152(0x424)],_0x5b1226[_0x491152(0x1eb)]({'unitID':_0x5bae4c,'undoMutations':_0x1fb6ef[_0x491152(0x141)],'redoMutations':_0xf630cd['m2Prime']});}return _0x5b1226['reverse']();}};Dt=Ls([Ae(0x0,_0x30c3be),Ae(0x1,_0x456150),Ae(0x2,_0x201420),Ae(0x3,_0x45b9e1),Ae(0x4,_0x574408)],Dt);var Ui=Object[_0x1f558c(0x175)],Ms=Object[_0x1f558c(0x330)],$s=(_0x1a19e0,_0x1fcdd0,_0x327650)=>_0x1fcdd0 in _0x1a19e0?Ui(_0x1a19e0,_0x1fcdd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x327650}):_0x1a19e0[_0x1fcdd0]=_0x327650,Hs=(_0x40de5e,_0x195004,_0x4fc68d,_0x44517b)=>{var _0x2ec702=_0x1f558c;for(var _0x49f8c6=_0x44517b>0x1?void 0x0:_0x44517b?Ms(_0x195004,_0x4fc68d):_0x195004,_0x3d74b7=_0x40de5e[_0x2ec702(0x158)]-0x1,_0x19ace2;_0x3d74b7>=0x0;_0x3d74b7--)(_0x19ace2=_0x40de5e[_0x3d74b7])&&(_0x49f8c6=(_0x44517b?_0x19ace2(_0x195004,_0x4fc68d,_0x49f8c6):_0x19ace2(_0x49f8c6))||_0x49f8c6);return _0x44517b&&_0x49f8c6&&Ui(_0x195004,_0x4fc68d,_0x49f8c6),_0x49f8c6;},St=(_0x4917f9,_0x224464)=>(_0x59ea0b,_0x515ef2)=>_0x224464(_0x59ea0b,_0x515ef2,_0x4917f9),ks=(_0x416efc,_0x2abe36,_0x59890b)=>$s(_0x416efc,_0x2abe36+'',_0x59890b);const js=_0x1f558c(0x329);let Pt=class extends _0x5290de{constructor(_0xb93f19,_0x3cde3a,_0x3cb917,_0x158a1b){var _0x4528b1=_0x1f558c;super(),N(this,_0x4528b1(0x3a0)),(this['_logService']=_0x3cde3a,this[_0x4528b1(0x1b3)]=_0x3cb917,this['_configService']=_0x158a1b);const {..._0x4def11}=_0x33bad6({},An,_0xb93f19);if(!_0x4def11[_0x4528b1(0x2c5)])throw new Error(_0x4528b1(0x41b));this[_0x4528b1(0x3a0)]=_0x4def11,this[_0x4528b1(0x405)][_0x4528b1(0x33f)](q,_0x4def11);}[_0x1f558c(0x385)](){var _0x5d63da=_0x1f558c;this[_0x5d63da(0x2ed)](),this[_0x5d63da(0x30c)]();}[_0x1f558c(0x2ed)](){var _0x2cbf3c=_0x1f558c,_0x3b916d,_0x1be061;this[_0x2cbf3c(0x1b3)][_0x2cbf3c(0x163)](_0x46c745)&&this[_0x2cbf3c(0x343)][_0x2cbf3c(0x145)](_0x2cbf3c(0x17b),_0x2cbf3c(0x399));const _0x13f316=_0x591a49([[_0x46c745,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this['_config'][_0x2cbf3c(0x2c5)]}],[_0x389d38,{'useClass':Nt}],[_0x1b9835,{'useClass':bt}],[_0x3f6478,{'useClass':Ot}],[_0x4e0d64,{'useClass':yt}],[rt],[Ct]],(_0x3b916d=this['_config'])==null?void 0x0:_0x3b916d[_0x2cbf3c(0x26b)]);if(!((_0x1be061=this[_0x2cbf3c(0x3a0)])!=null&&_0x1be061[_0x2cbf3c(0x315)])){const _0x10f1dc=_0x13f316[_0x2cbf3c(0x3fe)](([_0x334c35])=>_0x334c35===ht);_0x10f1dc!==-0x1&&_0x13f316[_0x2cbf3c(0x252)](_0x10f1dc,0x1);}_0x8001ff(this['_injector'],_0x13f316);}['_initDependencies'](){var _0x21a740=_0x1f558c,_0x3c93df,_0x72a343,_0x5f395b;this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](_0x5b9922)[_0x21a740(0x251)]({'priority':0x14,'interceptor':_0x3cb4fe({'maxParallel':0x6})}),(_0x3c93df=this['_config'])!=null&&_0x3c93df[_0x21a740(0x24f)]||(_0x72a343=this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](J,_0x5bd1e3[_0x21a740(0x1f2)]))==null||_0x72a343[_0x21a740(0x439)](),(_0x5f395b=this['_config'])!=null&&_0x5f395b[_0x21a740(0x2cb)]&&_0x3a3a91(this[_0x21a740(0x1b3)],[[st]]),_0x3a3a91(this['_injector'],[[ot],[rt],[at]]);}};ks(Pt,_0x1f558c(0x304),js),Pt=Hs([_0x208650(_0x3c03b4,_0xc797fa),St(0x1,_0x574408),St(0x2,_0x5b2811(_0x5b79bd)),St(0x3,_0x4ea54a)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|
1
|
+
var _0x424696=_0x181e;(function(_0x5c70c3,_0x21bd51){var _0x270ebd=_0x181e,_0xae9c0b=_0x5c70c3();while(!![]){try{var _0x594b75=-parseInt(_0x270ebd(0x1eb))/0x1*(-parseInt(_0x270ebd(0x273))/0x2)+-parseInt(_0x270ebd(0x1f2))/0x3+-parseInt(_0x270ebd(0x335))/0x4+-parseInt(_0x270ebd(0x2c4))/0x5+parseInt(_0x270ebd(0x3dc))/0x6*(-parseInt(_0x270ebd(0x3b6))/0x7)+parseInt(_0x270ebd(0x24c))/0x8*(-parseInt(_0x270ebd(0x2b5))/0x9)+-parseInt(_0x270ebd(0x38f))/0xa*(-parseInt(_0x270ebd(0x1e1))/0xb);if(_0x594b75===_0x21bd51)break;else _0xae9c0b['push'](_0xae9c0b['shift']());}catch(_0x2effeb){_0xae9c0b['push'](_0xae9c0b['shift']());}}}(_0x121f,0x27a93));var Ai=Object[_0x424696(0x311)],xi=(_0xcde174,_0x3fc668,_0x5a5ee0)=>_0x3fc668 in _0xcde174?Ai(_0xcde174,_0x3fc668,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a5ee0}):_0xcde174[_0x3fc668]=_0x5a5ee0,N=(_0x113c88,_0x1c7acd,_0x639bf1)=>xi(_0x113c88,typeof _0x1c7acd!=_0x424696(0x3cf)?_0x1c7acd+'':_0x1c7acd,_0x639bf1);import{createIdentifier as _0x685b6c,Inject as _0x186d60,Injector as _0x2d62be,Disposable as _0x221e87,DisposableCollection as _0x3279eb,toDisposable as _0x534a79,IConfigService as _0x257d37,ILogService as _0x4d59d7,UserManagerService as _0xefacff,UniverInstanceType as _0x6bba17,IUniverInstanceService as _0x5238c4,LocaleService as _0x24120b,Optional as _0x39d318,RxDisposable as _0x38323d,Tools as _0x12cf24,Rectangle as _0x246b53,ICommandService as _0xe2c354,JSONX as _0x481e85,CommandType as _0x3ee1d2,IPermissionService as _0xe332cb,IUndoRedoService as _0x4f2b06,sequenceExecute as _0x4e8515,Workbook as _0x1b3084,MentionType as _0x397eac,isInternalEditorID as _0x3f120e,LocalUndoRedoService as _0x30ef02,IContextService as _0x153884,DependentOn as _0x5c12b6,Plugin as _0x1c9c9b,merge as _0x11ae4a,mergeOverrideWithDependencies as _0x4a4db9,IAuthzIoService as _0x2928a1,IMentionIOService as _0x434831,registerDependencies as _0x20fda7,Quantity as _0x1cfcc2,touchDependencies as _0x53afbf}from'@univerjs/core';import{Subject as _0xdedd08,merge as _0x4a6b1e,of as _0x3de4c9,BehaviorSubject as _0x43ba24,takeUntil as _0xc564a9,ReplaySubject as _0x295ed0,take as _0x35e0b5,map as _0x5ccaf8,shareReplay as _0x2162fc,firstValueFrom as _0xbb7a05,concatMap as _0x173625}from'rxjs';import{map as _0x496697,take as _0x2769a4,filter as _0x2a5648,delay as _0xe6df08,takeUntil as _0x2c6c66}from'rxjs/operators';import{CollaborationEvent as _0x14e6e4,parseChangesetToProtocol as _0x3f78bd,ISnapshotServerService as _0x62c53e,isTransformMutationsWithChangesetSuccess as _0x8bddd3,ITransformService as _0xfa424c,mapDocumentTypeToUniverType as _0x3a6879,RevisionService as _0x3c36df,isTransformChangesetsSuccess as _0x2bad5c,CompressMutationService as _0x3edeb4,parseProtocolChangeset as _0x20134b,SnapshotService as _0x1e2019,textEncoder as _0x4fb5a6,b64DecodeUnicode as _0x276531,isTransformMutationsWithChangesetFailure as _0x81aea2,UniverCollaborationPlugin as _0x3310d8}from'@univerjs-pro/collaboration';import{HTTPService as _0x16a7d6,ISocketService as _0x15f34a,MergeInterceptorFactory as _0x26ddb3,HTTPRequest as _0x317d23,UniverNetworkPlugin as _0x51bd22,ThresholdInterceptorFactory as _0x1e11c4}from'@univerjs/network';import{ITelemetryService as _0x287e0e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x34da4a}from'@univerjs/docs';import{SheetsSelectionsService as _0x22d798,SetSelectionsOperation as _0x543fec,InsertSheetMutation as _0x3c5248,EmptyMutation as _0x2c38a3,WorkbookEditablePermission as _0x508a1c,SheetPermissionInitController as _0x5e55d9}from'@univerjs/sheets';import{ImageSourceType as _0xfa6755,ImageUploadStatusType as _0x4734a7,IImageIoService as _0x2e2108}from'@univerjs/drawing';import{getGlobalObject as _0x129d6d}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En=_0x424696(0x140),Zs=_0x424696(0x28b),In=0x7d0,Tn=_0x424696(0x228),Cn=_0x424696(0x3d0),Qs=_0x424696(0x295),bn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x424696(0x362),gi=0x4e20,On=0x4e20,yn=_0x424696(0x3d4),Nn=0x3,eo=_0x424696(0x1d5),to=0x3e8,Dn='COLLAB_SUBMIT_CHANGESET_URL',Pn='/universer-api/comb',wn=_0x424696(0x3d2),Un='/universer-api/oidc/authpage',io=_0x424696(0x407),no=_0x424696(0x3eb);var Si=(_0x21d151=>(_0x21d151[_0x21d151[_0x424696(0x3ff)]=0x0]=_0x424696(0x3ff),_0x21d151[_0x21d151['OK']=0x1]='OK',_0x21d151[_0x21d151['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x21d151[_0x21d151[_0x424696(0x3bf)]=0x3]=_0x424696(0x3bf),_0x21d151[_0x21d151[_0x424696(0x3de)]=0x4]='NOT_FOUND',_0x21d151[_0x21d151[_0x424696(0x2de)]=0x5]=_0x424696(0x2de),_0x21d151[_0x21d151[_0x424696(0x34d)]=0x6]=_0x424696(0x34d),_0x21d151[_0x21d151['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x21d151[_0x21d151[_0x424696(0x19c)]=0x8]=_0x424696(0x19c),_0x21d151[_0x21d151[_0x424696(0x414)]=0x9]=_0x424696(0x414),_0x21d151[_0x21d151[_0x424696(0x3c9)]=0x1389]=_0x424696(0x3c9),_0x21d151[_0x21d151[_0x424696(0x23b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x21d151[_0x21d151[_0x424696(0x22d)]=0x1772]=_0x424696(0x22d),_0x21d151[_0x21d151['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x424696(0x3fb),_0x21d151[_0x21d151[_0x424696(0x33d)]=0x1b59]='APPLY_REJECT',_0x21d151[_0x21d151[_0x424696(0x2c2)]=0x1b5a]=_0x424696(0x2c2),_0x21d151[_0x21d151[_0x424696(0x1a8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x21d151[_0x21d151[_0x424696(0x18e)]=0x1b5c]=_0x424696(0x18e),_0x21d151[_0x21d151['APPLY_DUPLICATED']=0x1b5d]=_0x424696(0x432),_0x21d151[_0x21d151[_0x424696(0x424)]=0x1f41]=_0x424696(0x424),_0x21d151[_0x21d151[_0x424696(0x386)]=0x2329]=_0x424696(0x386),_0x21d151[_0x21d151['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x21d151[_0x21d151[_0x424696(0x19e)]=0x232b]=_0x424696(0x19e),_0x21d151[_0x21d151['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x21d151[_0x21d151['LICENSE_DISTRO_REJECTED']=0x232d]=_0x424696(0x434),_0x21d151[_0x21d151[_0x424696(0x2f1)]=0x2711]=_0x424696(0x2f1),_0x21d151[_0x21d151[_0x424696(0x1b3)]=0x2712]=_0x424696(0x1b3),_0x21d151[_0x21d151[_0x424696(0x2e6)]=0x2713]=_0x424696(0x2e6),_0x21d151[_0x21d151['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x424696(0x231),_0x21d151[_0x21d151[_0x424696(0x153)]=0x2af9]=_0x424696(0x153),_0x21d151[_0x21d151[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x21d151))(Si||{}),Q=(_0x443f37=>(_0x443f37[_0x443f37[_0x424696(0x1f8)]=0x0]=_0x424696(0x1f8),_0x443f37[_0x443f37[_0x424696(0x240)]=0x1]=_0x424696(0x240),_0x443f37[_0x443f37[_0x424696(0x28c)]=0x2]=_0x424696(0x28c),_0x443f37[_0x443f37['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x443f37[_0x443f37[_0x424696(0x181)]=0x4]='UNIVER_PROJECT',_0x443f37[_0x443f37[_0x424696(0x3b2)]=-0x1]='UNRECOGNIZED',_0x443f37))(Q||{}),F=(_0x4f8fdb=>(_0x4f8fdb[_0x4f8fdb[_0x424696(0x147)]=0x0]=_0x424696(0x147),_0x4f8fdb[_0x4f8fdb[_0x424696(0x1cd)]=0x1]=_0x424696(0x1cd),_0x4f8fdb[_0x4f8fdb[_0x424696(0x32e)]=0x2]=_0x424696(0x32e),_0x4f8fdb[_0x4f8fdb[_0x424696(0x16d)]=0x3]=_0x424696(0x16d),_0x4f8fdb[_0x4f8fdb[_0x424696(0x437)]=0x4]=_0x424696(0x437),_0x4f8fdb[_0x4f8fdb['HEARTBEAT']=0x5]=_0x424696(0x2b2),_0x4f8fdb[_0x4f8fdb['RECV']=0x6]='RECV',_0x4f8fdb[_0x4f8fdb[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x4f8fdb))(F||{}),ge=(_0x476985=>(_0x476985[_0x476985['UNKNOWN_CODE']=0x0]=_0x424696(0x35b),_0x476985[_0x476985['OK']=0x1]='OK',_0x476985[_0x476985['FAIL']=0x2]='FAIL',_0x476985[_0x476985[_0x424696(0x195)]=0x3e9]=_0x424696(0x195),_0x476985[_0x476985[_0x424696(0x245)]=0x3ea]=_0x424696(0x245),_0x476985[_0x476985[_0x424696(0x1c5)]=0x3eb]=_0x424696(0x1c5),_0x476985[_0x476985['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x424696(0x27e),_0x476985[_0x476985[_0x424696(0x3b2)]=-0x1]='UNRECOGNIZED',_0x476985))(ge||{}),Ei=(_0x55f86a=>(_0x55f86a[_0x55f86a[_0x424696(0x3a8)]=0x0]='Undefined',_0x55f86a[_0x55f86a[_0x424696(0x2da)]=0x1]=_0x424696(0x2da),_0x55f86a[_0x55f86a[_0x424696(0x423)]=0x2]=_0x424696(0x423),_0x55f86a[_0x55f86a[_0x424696(0x222)]=0x3]='UnitEmbedded',_0x55f86a[_0x55f86a[_0x424696(0x1d3)]=0x4]=_0x424696(0x1d3),_0x55f86a[_0x55f86a[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x55f86a))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x16f31e=>(_0x16f31e[_0x424696(0x1cf)]=_0x424696(0x1cf),_0x16f31e[_0x424696(0x3bf)]=_0x424696(0x3bf),_0x16f31e['CONFLICT']=_0x424696(0x1b6),_0x16f31e['CLOSE_ROOM']='CLOSE_ROOM',_0x16f31e['JOIN_ROOM_FAILED']=_0x424696(0x382),_0x16f31e[_0x424696(0x345)]=_0x424696(0x345),_0x16f31e['SOCKET_FAILED']=_0x424696(0x333),_0x16f31e[_0x424696(0x417)]=_0x424696(0x417),_0x16f31e))(se||{});class pe{constructor(){var _0x8b008e=_0x424696;N(this,'_event$',new _0xdedd08()),N(this,_0x8b008e(0x224),this[_0x8b008e(0x313)][_0x8b008e(0x2a5)]());}['emitEvent'](_0x11dea9){var _0x373559=_0x424696;this['_event$'][_0x373559(0x3f2)](_0x11dea9);}}const xn=_0x685b6c(_0x424696(0x2f4));function Ln(_0x2527f3){var _0x24b603=_0x424696,_0x32fc24,_0x342260,_0x3718bb,_0x358532,_0x2c1605;const _0x4020a3=_0x2527f3[_0x24b603(0x2b4)],_0x33cb56=JSON['parse'](_0x4020a3);switch(_0x33cb56[_0x24b603(0x2b7)]){case F[_0x24b603(0x2b2)]:case F[_0x24b603(0x1cd)]:{const _0x51a5f2=_0x33cb56[_0x24b603(0x418)];return{..._0x33cb56,'data':_0x51a5f2,'cmd':_0x33cb56['cmd']};}case F[_0x24b603(0x32e)]:{const _0x5ce70c=_0x33cb56[_0x24b603(0x277)];return{..._0x33cb56,'data':_0x5ce70c,'cmd':_0x33cb56['cmd']};}case F[_0x24b603(0x29a)]:{const _0xf04580=_0x33cb56[_0x24b603(0x3f4)];switch(_0xf04580['eventID']){case _0x14e6e4[_0x24b603(0x19a)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x32fc24=_0xf04580[_0x24b603(0x247)])==null?void 0x0:_0x32fc24['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['CHANGESET_ACK']:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x342260=_0xf04580[_0x24b603(0x3e7)])==null?void 0x0:_0x342260['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x237)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x3718bb=_0xf04580[_0x24b603(0x1f5)])==null?void 0x0:_0x3718bb['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1e2)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x358532=_0xf04580['csRejEvent'])==null?void 0x0:_0x358532['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x3c6)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x2c1605=_0xf04580['csShouldRetryEvent'])==null?void 0x0:_0x2c1605['cs']},'cmd':_0x33cb56['cmd']};case _0x14e6e4[_0x24b603(0x435)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x176)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['USERS_ENTER']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x3af)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['USERS_LEAVE']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x179)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['LIVESHARE_NEW_HOST']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580['liveShareNewHost']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1f9)]:case _0x14e6e4[_0x24b603(0x173)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x357)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1b1)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x16e)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['MSG_FOR_ERROR']:return{..._0x33cb56,'data':_0xf04580,'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['COMMENT_UPDATE']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x192)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x2ef)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x2e3)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x19f)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x3f6)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x21d)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580['uniscriptRunEvent']},'cmd':_0x33cb56['cmd']};default:return _0x33cb56;}}default:return _0x33cb56;}}function Mn(_0x42d15e){var _0x1e0845=_0x424696;switch(_0x42d15e[_0x1e0845(0x2b7)]){case F[_0x1e0845(0x2b2)]:case F['HELLO']:return JSON[_0x1e0845(0x397)]({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey']});case F[_0x1e0845(0x437)]:{let _0x4490a2;switch(_0x42d15e[_0x1e0845(0x2b4)]['eventID']){case _0x14e6e4[_0x1e0845(0x435)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x435)],'updateCursorEvent':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x367)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x367)],'leaveEvent':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x2a0)]:{_0x4490a2={'eventID':_0x14e6e4['USERS_ENTER'],'joinEvent':_0x42d15e[_0x1e0845(0x2b4)]['data']};break;}case _0x14e6e4[_0x1e0845(0x363)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x363)],'liveShareNewHost':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x173)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x173)],'liveShareOperation':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x1b1)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x1b1)],'liveShareTerminate':_0x42d15e[_0x1e0845(0x2b4)]['data']};break;}case _0x14e6e4[_0x1e0845(0x385)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x385)],'liveShareRequestHost':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x1f9)]:{_0x4490a2={'eventID':_0x14e6e4['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4490a2={'eventID':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x30c)]};}return JSON[_0x1e0845(0x397)]({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e[_0x1e0845(0x25f)],'collaMsg':_0x4490a2});}case F['JOIN']:return JSON['stringify']({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey'],'joinReq':_0x42d15e['data']});case F[_0x1e0845(0x16d)]:return JSON['stringify']({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey'],'leaveReq':_0x42d15e['data']});default:throw new Error(_0x1e0845(0x42b));}}var $n=Object[_0x424696(0x311)],Hn=Object[_0x424696(0x275)],kn=(_0xde90f3,_0x219d4c,_0x3310ff,_0x33cf46)=>{var _0xa9e257=_0x424696;for(var _0x248a12=_0x33cf46>0x1?void 0x0:_0x33cf46?Hn(_0x219d4c,_0x3310ff):_0x219d4c,_0x5c265d=_0xde90f3[_0xa9e257(0x314)]-0x1,_0x3592e7;_0x5c265d>=0x0;_0x5c265d--)(_0x3592e7=_0xde90f3[_0x5c265d])&&(_0x248a12=(_0x33cf46?_0x3592e7(_0x219d4c,_0x3310ff,_0x248a12):_0x3592e7(_0x248a12))||_0x248a12);return _0x33cf46&&_0x248a12&&$n(_0x219d4c,_0x3310ff,_0x248a12),_0x248a12;},we=(_0x3013a8,_0x162a0e)=>(_0xe29d23,_0x520474)=>_0x162a0e(_0xe29d23,_0x520474,_0x3013a8);const Ii=_0x685b6c(_0x424696(0x2f5));function jn(_0x31cde9,_0x2bf503,_0x1ac0ae){var _0xb7c222=_0x424696;return _0x31cde9+'/'+_0x2bf503+_0xb7c222(0x213)+_0x1ac0ae+_0xb7c222(0x41b);}let Vt=class extends _0x221e87{constructor(_0x380842,_0x561121,_0x243ff5,_0x53b0fe,_0x4e00dd){var _0x39d326=_0x424696;super(),this[_0x39d326(0x21b)]=_0x380842,this['_httpService']=_0x561121,this[_0x39d326(0x15e)]=_0x243ff5,this[_0x39d326(0x389)]=_0x53b0fe,this[_0x39d326(0x178)]=_0x4e00dd;}[_0x424696(0x343)](_0x4c9e5e){var _0x3400f4=_0x424696;const _0xaddc7c=this['_injector'][_0x3400f4(0x396)](_0x15f34a);if(!_0xaddc7c)throw new Error(_0x3400f4(0x22c));const _0x3d34a3=_0xaddc7c[_0x3400f4(0x249)](_0x4c9e5e);if(!_0x3d34a3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3d4f7d=new _0x3279eb(),_0x64e22b=new _0xdedd08();_0x3d4f7d[_0x3400f4(0x1fc)](_0x3d34a3[_0x3400f4(0x267)][_0x3400f4(0x3cd)](_0x1bd7d8=>_0x64e22b[_0x3400f4(0x3f2)](_0x1bd7d8))),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x64e22b[_0x3400f4(0x292)]()));const _0x23874e=new _0xdedd08();_0x3d4f7d[_0x3400f4(0x1fc)](_0x3d34a3['error$'][_0x3400f4(0x3cd)](_0xe35843=>_0x23874e[_0x3400f4(0x3f2)](_0xe35843))),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x23874e[_0x3400f4(0x292)]()));const _0x306f85=new _0xdedd08();_0x3d4f7d['add'](_0x3d34a3[_0x3400f4(0x3e0)][_0x3400f4(0x3cd)](_0x122a05=>{var _0x5df9ed=_0x3400f4;const _0x409aad=Ln(_0x122a05);_0x306f85[_0x5df9ed(0x3f2)](_0x409aad);})),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x306f85['complete']()));let _0x410131;const _0x447c3c=()=>{var _0x64c887=_0x3400f4;_0x23874e[_0x64c887(0x3f2)](new Event('connection\x20error')),_0x64e22b[_0x64c887(0x3f2)](new Event(_0x64c887(0x1c2))),_0x410131[_0x64c887(0x26b)]();};return _0x410131={'memberID':'','close$':_0x64e22b[_0x3400f4(0x2a5)](),'error$':_0x23874e[_0x3400f4(0x2a5)](),'open$':_0x3d34a3[_0x3400f4(0x340)],'message$':_0x306f85[_0x3400f4(0x2a5)](),'send':_0x10a4f2=>{var _0x15f54b=_0x3400f4;if(_0x10a4f2[_0x15f54b(0x2b7)]===F[_0x15f54b(0x437)]){if(_0x10a4f2[_0x15f54b(0x2b4)][_0x15f54b(0x30c)]===_0x14e6e4['SUBMIT_CHANGESET']){this[_0x15f54b(0x20b)](_0x410131,_0x10a4f2[_0x15f54b(0x2b4)])['catch'](_0x25df95=>{var _0x28dd05=_0x15f54b;this[_0x28dd05(0x389)][_0x28dd05(0x20f)](_0x25df95),_0x447c3c();});return;}if(_0x10a4f2[_0x15f54b(0x2b4)][_0x15f54b(0x30c)]===_0x14e6e4[_0x15f54b(0x1c8)]){const _0x3b490c=_0x10a4f2[_0x15f54b(0x2b4)];this[_0x15f54b(0x413)](_0x3b490c)['then'](_0x149dde=>{var _0x1e9629=_0x15f54b;_0x306f85[_0x1e9629(0x3f2)]({'cmd':F[_0x1e9629(0x29a)],'code':ge['OK'],'routeKey':_0x3b490c[_0x1e9629(0x2b4)][_0x1e9629(0x161)],'routeType':'','data':{'eventID':_0x14e6e4[_0x1e9629(0x425)],'data':{'changesets':_0x149dde}}});})[_0x15f54b(0x25a)](_0x21b492=>{var _0x386c4a=_0x15f54b;this['_logService'][_0x386c4a(0x20f)](_0x21b492),_0x447c3c();});return;}}_0x3d34a3['send'](Mn(_0x10a4f2));},'close':()=>{var _0x147df1=_0x3400f4;_0x3d34a3['close'](),_0x3d4f7d[_0x147df1(0x406)]();}},_0x410131;}async[_0x424696(0x20b)](_0x3a0cbf,_0x54d1b6){var _0x13f729=_0x424696,_0x5210ac,_0x4a6a;const {unitType:_0x440c3a,unitID:_0x43090a,changeset:_0x5317c4}=_0x54d1b6['data'],_0x11e263={'unitID':_0x43090a,'memberID':_0x3a0cbf[_0x13f729(0x253)],'type':_0x440c3a,'changeset':_0x3f78bd(_0x5317c4)},_0x585516=this[_0x13f729(0x15e)][_0x13f729(0x2c0)](Dn),_0x413530=this['_configService']['getConfig'](q),_0x413da3=jn((_0x4a6a=(_0x5210ac=_0x413530==null?void 0x0:_0x413530[_0x13f729(0x3a0)])!=null?_0x5210ac:_0x585516)!=null?_0x4a6a:Pn,_0x440c3a,_0x43090a);try{await this[_0x13f729(0x3e2)]['post'](_0x413da3,{'body':_0x11e263});}catch(_0x51b5b8){throw this[_0x13f729(0x389)][_0x13f729(0x20f)](_0x13f729(0x1ac),_0x13f729(0x1dc)),_0x51b5b8;}}async[_0x424696(0x413)](_0x5b40ec){var _0x24d412=_0x424696;const {unitID:_0x298762,from:_0xc1cca0,to:_0x2746e7,unitType:_0x2b2a41}=_0x5b40ec[_0x24d412(0x2b4)];return(await this['_snapshotServerService'][_0x24d412(0x2ad)]({'metadata':void 0x0},{'unitID':_0x298762,'type':_0x2b2a41,'from':_0xc1cca0,'to':_0x2746e7}))[_0x24d412(0x379)];}};Vt=kn([we(0x0,_0x186d60(_0x2d62be)),we(0x1,_0x186d60(_0x16a7d6)),we(0x2,_0x257d37),we(0x3,_0x4d59d7),we(0x4,_0x62c53e)],Vt);const Bn='collaboration_new_changeset';function Fn(_0x579fca){var _0x2ff83b=_0x424696;return JSON[_0x2ff83b(0x397)](_0x579fca)['length'];}class Ti{constructor(){var _0x1cc787=_0x424696;N(this,_0x1cc787(0x2ff),new _0xdedd08()),N(this,'commentUpdate$',this[_0x1cc787(0x2ff)]['asObservable']());}[_0x424696(0x376)](_0x412f6a){var _0x4d1e1c=_0x424696;this[_0x4d1e1c(0x2ff)][_0x4d1e1c(0x3f2)](_0x412f6a);}}function _0x181e(_0x5a34c0,_0xc9aaa9){var _0x121f57=_0x121f();return _0x181e=function(_0x181e11,_0x33fef7){_0x181e11=_0x181e11-0x13a;var _0x2ab6c5=_0x121f57[_0x181e11];return _0x2ab6c5;},_0x181e(_0x5a34c0,_0xc9aaa9);}var Gn=Object[_0x424696(0x311)],Vn=Object[_0x424696(0x275)],Wn=(_0x1a29bd,_0x92f5a4,_0x3ab243,_0x24a27f)=>{var _0x15ad09=_0x424696;for(var _0x4b89e1=_0x24a27f>0x1?void 0x0:_0x24a27f?Vn(_0x92f5a4,_0x3ab243):_0x92f5a4,_0x30b5ce=_0x1a29bd[_0x15ad09(0x314)]-0x1,_0xd39b50;_0x30b5ce>=0x0;_0x30b5ce--)(_0xd39b50=_0x1a29bd[_0x30b5ce])&&(_0x4b89e1=(_0x24a27f?_0xd39b50(_0x92f5a4,_0x3ab243,_0x4b89e1):_0xd39b50(_0x4b89e1))||_0x4b89e1);return _0x24a27f&&_0x4b89e1&&Gn(_0x92f5a4,_0x3ab243,_0x4b89e1),_0x4b89e1;},Wt=(_0xb74da8,_0x432f6f)=>(_0x45f9ec,_0x343efe)=>_0x432f6f(_0x45f9ec,_0x343efe,_0xb74da8);let xe=class extends _0x221e87{constructor(_0x4a3f9d,_0x57fc7e){var _0x5172dc=_0x424696;super(),N(this,_0x5172dc(0x38b),new Map()),N(this,'_roomCreated$',new _0xdedd08()),(this[_0x5172dc(0x270)]=_0x4a3f9d,this['_userManagerService']=_0x57fc7e,this[_0x5172dc(0x35f)](_0x4a6b1e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x6bba17[_0x5172dc(0x28c)])[_0x5172dc(0x1fb)](_0x496697(_0x5b5423=>_0x5b5423[_0x5172dc(0x17c)]())),this[_0x5172dc(0x270)][_0x5172dc(0x1e9)](_0x6bba17[_0x5172dc(0x240)])[_0x5172dc(0x1fb)](_0x496697(_0x12375f=>_0x12375f[_0x5172dc(0x17c)]())),this[_0x5172dc(0x270)][_0x5172dc(0x1e9)](_0x6bba17[_0x5172dc(0x334)])[_0x5172dc(0x1fb)](_0x496697(_0x13e788=>_0x13e788['getUnitId']())))['subscribe'](_0x31224e=>this['_removeRoom'](_0x31224e))));}[_0x424696(0x325)](_0x56ccbf){var _0x33a02e=_0x424696;return this[_0x33a02e(0x38b)][_0x33a02e(0x3d3)](_0x56ccbf)?_0x3de4c9(this['_roomMembers']['get'](_0x56ccbf)):this[_0x33a02e(0x40b)][_0x33a02e(0x1fb)](_0x496697(_0xfde2ae=>{var _0xe3a1b7=_0x33a02e;if(_0xfde2ae===_0x56ccbf)return this['_roomMembers'][_0xe3a1b7(0x396)](_0xfde2ae);}));}[_0x424696(0x1ca)](_0x3d0169){var _0x3cd186=_0x424696;this['_userManagerService'][_0x3cd186(0x1ca)](_0x3d0169);}[_0x424696(0x433)](){var _0x474a6e=_0x424696;return this[_0x474a6e(0x320)][_0x474a6e(0x433)]();}[_0x424696(0x400)](_0x2f02e9,_0x409aed){var _0x5f0b10=_0x424696;let _0x21607e=this[_0x5f0b10(0x38b)][_0x5f0b10(0x396)](_0x2f02e9);_0x21607e||(_0x21607e=new Kn(),this[_0x5f0b10(0x38b)][_0x5f0b10(0x31f)](_0x2f02e9,_0x21607e),this[_0x5f0b10(0x40b)][_0x5f0b10(0x3f2)](_0x2f02e9)),_0x21607e[_0x5f0b10(0x400)](_0x409aed);}['removeMember'](_0x337fdd,_0xf4c5e1){var _0x10a6c3=_0x424696;const _0x5b04cc=this['_roomMembers']['get'](_0x337fdd);_0x5b04cc&&_0x5b04cc[_0x10a6c3(0x14e)](_0xf4c5e1);}['getRoom'](_0x549cd8){var _0x4bd111=_0x424696;return this[_0x4bd111(0x38b)][_0x4bd111(0x396)](_0x549cd8);}[_0x424696(0x2f2)](_0x457a1c,_0x1a5209){var _0x397abb=_0x424696;const _0x31fbb1=this[_0x397abb(0x38b)][_0x397abb(0x396)](_0x457a1c);if(_0x31fbb1)return _0x31fbb1['getMember'](_0x1a5209);}[_0x424696(0x422)](_0xad45a3){var _0x2aa271=_0x424696;const _0x224701=this[_0x2aa271(0x38b)][_0x2aa271(0x396)](_0xad45a3);_0x224701&&(_0x224701[_0x2aa271(0x406)](),this['_roomMembers']['delete'](_0xad45a3));}[_0x424696(0x406)](){var _0x5dc5ad=_0x424696;this['_roomMembers']['forEach'](_0xc4c4c8=>_0xc4c4c8[_0x5dc5ad(0x406)]()),this[_0x5dc5ad(0x38b)]['clear'](),this[_0x5dc5ad(0x40b)][_0x5dc5ad(0x292)]();}};xe=Wn([Wt(0x0,_0x5238c4),Wt(0x1,_0x186d60(_0xefacff))],xe);class Kn extends _0x221e87{constructor(){var _0x2f433c=_0x424696;super(...arguments),N(this,_0x2f433c(0x2ec),new Map()),N(this,'_members$',new _0x43ba24(this[_0x2f433c(0x2ec)])),N(this,_0x2f433c(0x1c4),this[_0x2f433c(0x1a4)][_0x2f433c(0x2a5)]());}[_0x424696(0x406)](){var _0x5a48f9=_0x424696;this[_0x5a48f9(0x2ec)][_0x5a48f9(0x2b0)]();}['updateMember'](_0x1586bf){var _0x4b37a=_0x424696;this['_members'][_0x4b37a(0x31f)](_0x1586bf[_0x4b37a(0x253)],_0x1586bf),this[_0x4b37a(0x1c3)]();}[_0x424696(0x14e)](_0x4c0e7d){var _0x401fcd=_0x424696;this[_0x401fcd(0x2ec)][_0x401fcd(0x16c)](_0x4c0e7d);}['getMember'](_0x251146){var _0x1b31cb=_0x424696;return this[_0x1b31cb(0x2ec)][_0x1b31cb(0x396)](_0x251146);}['getAllMembers'](){var _0x4a39bc=_0x424696;return Array[_0x4a39bc(0x3be)](this[_0x4a39bc(0x2ec)][_0x4a39bc(0x20c)]());}[_0x424696(0x1c3)](){var _0x1fa464=_0x424696;this[_0x1fa464(0x1a4)][_0x1fa464(0x3f2)](this[_0x1fa464(0x2ec)]);}}var Yn=Object[_0x424696(0x311)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x1ad2ad,_0x1f6c93,_0x40c487,_0x26bcdf)=>{var _0x62dc0f=_0x424696;for(var _0x105d43=_0x26bcdf>0x1?void 0x0:_0x26bcdf?qn(_0x1f6c93,_0x40c487):_0x1f6c93,_0x9b22ab=_0x1ad2ad[_0x62dc0f(0x314)]-0x1,_0x38510d;_0x9b22ab>=0x0;_0x9b22ab--)(_0x38510d=_0x1ad2ad[_0x9b22ab])&&(_0x105d43=(_0x26bcdf?_0x38510d(_0x1f6c93,_0x40c487,_0x105d43):_0x38510d(_0x105d43))||_0x105d43);return _0x26bcdf&&_0x105d43&&Yn(_0x1f6c93,_0x40c487,_0x105d43),_0x105d43;},me=(_0x4cd01e,_0x31d983)=>(_0x5d15e8,_0x42cae6)=>_0x31d983(_0x5d15e8,_0x42cae6,_0x4cd01e),Ee=(_0x12853e=>(_0x12853e[_0x12853e[_0x424696(0x1d8)]=0x0]='IDLE',_0x12853e[_0x12853e['JOINING']=0x1]=_0x424696(0x21c),_0x12853e[_0x12853e['OFFLINE']=0x2]='OFFLINE',_0x12853e[_0x12853e['ONLINE']=0x3]=_0x424696(0x34a),_0x12853e))(Ee||{});const Kt={[ge[_0x424696(0x38d)]]:_0x424696(0x1a0),[ge['JOIN_ROOM_FULL']]:_0x424696(0x3a7),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x424696(0x3c0),[ge[_0x424696(0x1c5)]]:'session.room-permission-denied',[ge[_0x424696(0x27e)]]:_0x424696(0x2bf)};let Et=class extends _0x38323d{constructor(_0x1d3e24,_0x334961,_0x224077,_0x2b55f2,_0x4a953f,_0x34e31c,_0x51f92b,_0x2c4884,_0x354f19){var _0x5a5c44=_0x424696;super(),N(this,_0x5a5c44(0x31e),new _0x43ba24(0x0)),N(this,_0x5a5c44(0x388),this[_0x5a5c44(0x31e)]['asObservable']()),N(this,'_event$',new _0xdedd08()),N(this,_0x5a5c44(0x224),this[_0x5a5c44(0x313)]['asObservable']()),N(this,_0x5a5c44(0x1db)),N(this,_0x5a5c44(0x3d9)),N(this,_0x5a5c44(0x3ed)),N(this,_0x5a5c44(0x234),!0x1),N(this,_0x5a5c44(0x3d7),null),(this[_0x5a5c44(0x30d)]=_0x1d3e24,this[_0x5a5c44(0x389)]=_0x224077,this[_0x5a5c44(0x15e)]=_0x2b55f2,this[_0x5a5c44(0x358)]=_0x4a953f,this['_memberService']=_0x34e31c,this[_0x5a5c44(0x412)]=_0x51f92b,this[_0x5a5c44(0x42c)]=_0x2c4884,this[_0x5a5c44(0x310)]=_0x354f19,this[_0x5a5c44(0x234)]=!!this['_telemetryService'],_0x334961[_0x5a5c44(0x1fb)](_0xc564a9(this[_0x5a5c44(0x1ad)]))['subscribe'](_0x459b12=>{var _0x355ffa=_0x5a5c44,_0x375126;typeof _0x459b12>'u'||(this['_socket']=_0x459b12,_0x459b12?(this['_joinRoom'](_0x459b12),this['_socketMessageSubscription']=_0x459b12['message$'][_0x355ffa(0x3cd)](_0x2a3116=>{var _0x197018=_0x355ffa;_0x2a3116[_0x197018(0x25f)]===this[_0x197018(0x30d)]&&this['_onCombEvent'](_0x2a3116);})):(this[_0x355ffa(0x2cf)](),this[_0x355ffa(0x31e)]['next'](0x2),(_0x375126=this[_0x355ffa(0x3d9)])==null||_0x375126[_0x355ffa(0x1c0)](),this[_0x355ffa(0x3d9)]=null));}));}get[_0x424696(0x383)](){var _0xabca8c=_0x424696;return this[_0xabca8c(0x31e)][_0xabca8c(0x361)]();}[_0x424696(0x40c)](){var _0xfa3140=_0x424696,_0x11ce39,_0x4b40d1;return(_0x4b40d1=(_0x11ce39=this[_0xfa3140(0x1db)])==null?void 0x0:_0x11ce39[_0xfa3140(0x253)])!=null?_0x4b40d1:null;}[_0x424696(0x406)](){var _0x458364=_0x424696;super['dispose'](),this['dispose$']['next'](),this[_0x458364(0x1ad)][_0x458364(0x292)]();}[_0x424696(0x26b)](){var _0x254a3d=_0x424696,_0x10321c,_0x43abe2;this['_throwTelemetryCollaborationNewChangeset'](),(_0x10321c=this[_0x254a3d(0x1db)])==null||_0x10321c[_0x254a3d(0x26d)]({'cmd':F[_0x254a3d(0x16d)],'data':{'roomID':this['_unitID']}}),(_0x43abe2=this[_0x254a3d(0x1db)])==null||_0x43abe2['close'](),this['_event$'][_0x254a3d(0x292)](),this[_0x254a3d(0x31e)][_0x254a3d(0x292)](),this[_0x254a3d(0x406)]();}['_onCombEvent'](_0xfb163f){var _0x3dcd3a=_0x424696;_0xfb163f[_0x3dcd3a(0x2b7)]===F[_0x3dcd3a(0x32e)]?this[_0x3dcd3a(0x1de)](_0xfb163f):_0xfb163f['cmd']===F['RECV']&&this[_0x3dcd3a(0x1cb)](_0xfb163f);}[_0x424696(0x312)](_0x24373d){var _0x358582=_0x424696;this[_0x358582(0x31e)][_0x358582(0x3f2)](0x1),_0x24373d['send']({'cmd':F['JOIN'],'routeKey':this[_0x358582(0x30d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x358582(0x30d)]}]}});}[_0x424696(0x1de)](_0x5d71de){var _0x591450=_0x424696,_0x23e38f;if(_0x5d71de['code']in Kt){this[_0x591450(0x42c)][_0x591450(0x342)]({'id':se[_0x591450(0x382)],'data':Kt[_0x5d71de[_0x591450(0x156)]]}),this[_0x591450(0x31e)]['next'](0x2);return;}this['_sessionStatus$'][_0x591450(0x3f2)](0x3);const _0xadb453=(_0x23e38f=_0x5d71de[_0x591450(0x2b4)][_0x591450(0x286)][this['_unitID']])==null?void 0x0:_0x23e38f[_0x591450(0x1f0)];_0xadb453&&_0xadb453[_0x591450(0x409)](_0x1abfd3=>this[_0x591450(0x162)]['updateMember'](this[_0x591450(0x30d)],_0x1abfd3));}[_0x424696(0x1cb)](_0x1dec8c){var _0x38716c=_0x424696;try{const _0x10eb87=_0x1dec8c[_0x38716c(0x2b4)];switch(_0x10eb87[_0x38716c(0x30c)]){case _0x14e6e4[_0x38716c(0x2a0)]:this[_0x38716c(0x184)](_0x10eb87),this['_event$'][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x367)]:this[_0x38716c(0x2c1)](_0x10eb87),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x39b)]:case _0x14e6e4[_0x38716c(0x3c6)]:this[_0x38716c(0x3b1)](),this['_clearCollaborationTimeoutTimer'](),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x36e)]:this[_0x38716c(0x389)]['error'](_0x38716c(0x353)+JSON[_0x38716c(0x397)](_0x10eb87)),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4['COMMENT_UPDATE']:this[_0x38716c(0x412)]['onCommentUpdate'](_0x10eb87[_0x38716c(0x2b4)]),this[_0x38716c(0x313)]['next'](_0x10eb87);break;default:this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);}}catch(_0x5d3667){this['_logService'][_0x38716c(0x20f)](_0x5d3667,_0x1dec8c);}}[_0x424696(0x184)](_0x15e77d){var _0xdfecd5=_0x424696;this[_0xdfecd5(0x162)]['updateMember'](this[_0xdfecd5(0x30d)],_0x15e77d[_0xdfecd5(0x2b4)]);}['_onUserLeave'](_0x333102){var _0x222720=_0x424696;this[_0x222720(0x162)][_0x222720(0x14e)](this[_0x222720(0x30d)],_0x333102[_0x222720(0x2b4)]['memberID']);}async[_0x424696(0x26d)](_0x4b6450,_0x49dbb6){var _0x281699=_0x424696;if(this[_0x281699(0x383)]!==0x3||!this[_0x281699(0x1db)])throw new Error(_0x281699(0x205));try{_0x4b6450[_0x281699(0x30c)]===_0x14e6e4[_0x281699(0x324)]&&(this[_0x281699(0x263)](),this['_startTelemetryCollaborationNewChangeset'](_0x4b6450)),this[_0x281699(0x1db)][_0x281699(0x26d)]({'cmd':F[_0x281699(0x437)],'routeKey':_0x49dbb6,'routeType':'','data':_0x4b6450});}catch(_0x77fa0a){this[_0x281699(0x389)][_0x281699(0x20f)](_0x77fa0a);}}[_0x424696(0x263)](){var _0x2de12a=_0x424696,_0x1451f5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x12233e=_0x181e;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x12233e(0x342)]({'id':se[_0x12233e(0x417)]});},(_0x1451f5=this[_0x2de12a(0x15e)][_0x2de12a(0x2c0)](mi))!=null?_0x1451f5:gi);}['_clearCollaborationTimeoutTimer'](){var _0x440500=_0x424696;this[_0x440500(0x3ed)]&&(clearTimeout(this[_0x440500(0x3ed)]),this['_collaborationTimeoutTimer']=null);}[_0x424696(0x199)](_0xc9af7c){var _0x5b82cc=_0x424696;if(!this[_0x5b82cc(0x234)])return;const {data:_0x29c09d}=_0xc9af7c,{unitID:_0x34b432,changeset:_0x1bd07d}=_0x29c09d,{mutations:_0x4c6184,type:_0x123a3e}=_0x1bd07d;this['_telemetryInfo']={'unitId':_0x34b432,'type':_0x123a3e,'startTime':performance[_0x5b82cc(0x3e5)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x4c6184)};}[_0x424696(0x3b1)](){var _0x1ea712=_0x424696;if(this[_0x1ea712(0x234)]){if(!this['_telemetryInfo']){this['_logService']['error'](_0x1ea712(0x1ac),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x1ea712(0x3f1)]=performance[_0x1ea712(0x3e5)](),this[_0x1ea712(0x3d7)][_0x1ea712(0x2d3)]=this[_0x1ea712(0x3d7)][_0x1ea712(0x3f1)]-this['_telemetryInfo'][_0x1ea712(0x250)],this['_telemetryService'][_0x1ea712(0x2e7)](Bn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1bef9e=_0x424696;this[_0x1bef9e(0x3d7)]=null;}};Et=zn([me(0x2,_0x4d59d7),me(0x3,_0x257d37),me(0x4,_0x186d60(_0x24120b)),me(0x5,_0x186d60(xe)),me(0x6,_0x186d60(Ti)),me(0x7,_0x186d60(pe)),me(0x8,_0x39d318(_0x287e0e))],Et);var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x590e9f,_0x4a7a27,_0x256ec2,_0x346418)=>{var _0x140e81=_0x424696;for(var _0x4763d2=_0x346418>0x1?void 0x0:_0x346418?Xn(_0x4a7a27,_0x256ec2):_0x4a7a27,_0x189d34=_0x590e9f[_0x140e81(0x314)]-0x1,_0x4cf46e;_0x189d34>=0x0;_0x189d34--)(_0x4cf46e=_0x590e9f[_0x189d34])&&(_0x4763d2=(_0x346418?_0x4cf46e(_0x4a7a27,_0x256ec2,_0x4763d2):_0x4cf46e(_0x4763d2))||_0x4763d2);return _0x346418&&_0x4763d2&&Jn(_0x4a7a27,_0x256ec2,_0x4763d2),_0x4763d2;},Re=(_0xa69c43,_0x34b00f)=>(_0x4155dd,_0x2544e4)=>_0x34b00f(_0x4155dd,_0x2544e4,_0xa69c43);let Le=class extends _0x221e87{constructor(_0x1710d6,_0x4fbcf8,_0x547dc1,_0x4adf8a,_0x10faed,_0x219f2e){var _0xe4f03=_0x424696;super(),N(this,_0xe4f03(0x21a),new _0x43ba24(void 0x0)),N(this,_0xe4f03(0x31a),this['_socket$'][_0xe4f03(0x2a5)]()),N(this,_0xe4f03(0x1da),null),N(this,_0xe4f03(0x371),new Map()),N(this,_0xe4f03(0x259),new _0x43ba24(Ee[_0xe4f03(0x1d8)])),N(this,_0xe4f03(0x282),this[_0xe4f03(0x259)][_0xe4f03(0x2a5)]()),N(this,_0xe4f03(0x291),!0x1),N(this,_0xe4f03(0x30e)),N(this,_0xe4f03(0x2f6),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xe4f03(0x2dc)),(this[_0xe4f03(0x21b)]=_0x1710d6,this[_0xe4f03(0x389)]=_0x4fbcf8,this['_configService']=_0x547dc1,this[_0xe4f03(0x3e9)]=_0x4adf8a,this[_0xe4f03(0x42c)]=_0x10faed,this[_0xe4f03(0x1ed)]=_0x219f2e,this[_0xe4f03(0x410)]());}get['_socket'](){var _0x29fcbd=_0x424696;return this[_0x29fcbd(0x21a)]['getValue']();}[_0x424696(0x410)](){var _0x3f01ff=_0x424696;this[_0x3f01ff(0x1ed)]&&this['disposeWithMe'](this[_0x3f01ff(0x1ed)][_0x3f01ff(0x392)][_0x3f01ff(0x3cd)](_0x3e5972=>{var _0x3fae26=_0x3f01ff;_0x3e5972&&!this['_socket']&&this[_0x3fae26(0x20d)](),_0x3e5972||this[_0x3fae26(0x1e0)]();}));}[_0x424696(0x406)](){var _0x10ceb2=_0x424696;super['dispose'](),this[_0x10ceb2(0x371)][_0x10ceb2(0x409)](_0x275efe=>_0x275efe['dispose']()),this[_0x10ceb2(0x371)][_0x10ceb2(0x2b0)](),this[_0x10ceb2(0x259)][_0x10ceb2(0x292)]();}async['requireSession'](_0x134679){var _0x1a2f99=_0x424696;if(this[_0x1a2f99(0x371)]['has'](_0x134679))return this[_0x1a2f99(0x371)]['get'](_0x134679);this[_0x1a2f99(0x370)]();const _0x13e646=this[_0x1a2f99(0x21b)][_0x1a2f99(0x3fc)](Et,_0x134679,this[_0x1a2f99(0x21a)][_0x1a2f99(0x2a5)]());return this[_0x1a2f99(0x371)]['set'](_0x134679,_0x13e646),_0x13e646;}[_0x424696(0x1a5)](_0x182d81){var _0x54a76d=_0x424696,_0x56b122;const _0x48aa90=this[_0x54a76d(0x371)][_0x54a76d(0x396)](_0x182d81);_0x48aa90&&(this['_sessions'][_0x54a76d(0x16c)](_0x182d81),_0x48aa90[_0x54a76d(0x26b)]()),this[_0x54a76d(0x371)][_0x54a76d(0x23a)]||(_0x56b122=this[_0x54a76d(0x1db)])==null||_0x56b122[_0x54a76d(0x26b)]();}[_0x424696(0x20d)](){var _0x2d597b=_0x424696;this[_0x2d597b(0x2f6)]=0x0,this[_0x2d597b(0x30e)]!=null&&(clearTimeout(this[_0x2d597b(0x30e)]),this[_0x2d597b(0x30e)]=null),this[_0x2d597b(0x3c1)]();}async[_0x424696(0x194)](){var _0x116c02=_0x424696,_0x3ea970,_0x5ef072;const _0x5ed94f=this[_0x116c02(0x15e)][_0x116c02(0x2c0)](Tn),_0xf399d3=this[_0x116c02(0x15e)][_0x116c02(0x2c0)](q),_0x289d9b=(_0x5ef072=(_0x3ea970=_0xf399d3==null?void 0x0:_0xf399d3['collabWebSocketUrl'])!=null?_0x3ea970:_0x5ed94f)!=null?_0x5ef072:Cn,_0x36697b=await this[_0x116c02(0x3e9)][_0x116c02(0x249)](_0x289d9b);return this['_candidateSocket']=_0x36697b,_0x36697b;}async[_0x424696(0x370)](){var _0x5376ab=_0x424696,_0x175c5e,_0x289386;try{const _0x3c0a46=(_0x289386=(_0x175c5e=this['_socket'])!=null?_0x175c5e:this[_0x5376ab(0x1da)])!=null?_0x289386:await this[_0x5376ab(0x194)]();if(_0x3c0a46){const _0x125c66=_0x3c0a46['send'];_0x3c0a46[_0x5376ab(0x26d)]=_0x25f5c3=>(this[_0x5376ab(0x2d2)](),_0x125c66[_0x5376ab(0x1df)](_0x3c0a46,[_0x25f5c3])),_0x3c0a46[_0x5376ab(0x3e0)][_0x5376ab(0x3cd)](_0x3a123f=>this[_0x5376ab(0x3ba)](_0x3c0a46,_0x3a123f)),_0x3c0a46['error$'][_0x5376ab(0x1fb)](_0x2769a4(0x1))['subscribe'](_0x1f92fb=>this['_logService'][_0x5376ab(0x20f)]('[CollaborationSessionService]:\x20socket\x20error',_0x1f92fb)),_0x3c0a46[_0x5376ab(0x340)][_0x5376ab(0x1fb)](_0x2769a4(0x1))['subscribe'](()=>{var _0x37f8e8=_0x5376ab;this[_0x37f8e8(0x30a)](_0x3c0a46);}),_0x3c0a46[_0x5376ab(0x267)]['pipe'](_0x2769a4(0x1))[_0x5376ab(0x3cd)](_0x43ef2a=>{var _0x1a47aa=_0x5376ab;this[_0x1a47aa(0x389)]['debug']('[CollaborationSessionService]',_0x1a47aa(0x23f),_0x43ef2a),this['_onConnectionFailed']();});}}catch(_0x26cb1f){this[_0x5376ab(0x389)][_0x5376ab(0x20f)](_0x26cb1f),this[_0x5376ab(0x186)]();}}['_onConnectionOpen'](_0x158149){var _0x2d0f78=_0x424696;this[_0x2d0f78(0x389)]['debug'](_0x2d0f78(0x2d8),'socket\x20open.'),_0x158149[_0x2d0f78(0x26d)]({'cmd':F['HELLO']}),this[_0x2d0f78(0x2d2)]();}[_0x424696(0x1e0)](){var _0x22ea07=_0x424696;this[_0x22ea07(0x291)]=!0x1,this[_0x22ea07(0x1da)]=null,this['_status$'][_0x22ea07(0x3f2)](Ee[_0x22ea07(0x200)]),this[_0x22ea07(0x21a)][_0x22ea07(0x3f2)](null),this[_0x22ea07(0x2d7)](),this['_clearHeartbeatTimer']();}[_0x424696(0x186)](){var _0x1f4227=_0x424696,_0x471295;this[_0x1f4227(0x1e0)](),this['_retryCount']<((_0x471295=this['_configService'][_0x1f4227(0x2c0)](yn))!=null?_0x471295:Nn)?(this[_0x1f4227(0x42c)][_0x1f4227(0x342)]({'id':se[_0x1f4227(0x345)]}),this['_tryReconnect']()):this[_0x1f4227(0x42c)][_0x1f4227(0x342)]({'id':se[_0x1f4227(0x333)]});}[_0x424696(0x3c1)](){var _0x1ad5b8=_0x424696,_0x39a3b9;const _0x3268fa=this['_retryCount'],_0x57fcb6=this[_0x1ad5b8(0x15e)][_0x1ad5b8(0x2c0)](q),_0x1e7e6d=_0x3268fa===0x0?0x0:((_0x39a3b9=_0x57fcb6==null?void 0x0:_0x57fcb6[_0x1ad5b8(0x218)])!=null?_0x39a3b9:On)*0x2**_0x3268fa;this[_0x1ad5b8(0x30e)]=setTimeout(()=>{var _0xc22a=_0x1ad5b8;clearTimeout(this[_0xc22a(0x30e)]),this[_0xc22a(0x30e)]=null,this[_0xc22a(0x370)]();},_0x1e7e6d),this[_0x1ad5b8(0x2f6)]+=0x1;}['_onMessage'](_0x206313,_0x222fb6){var _0x1ff708=_0x424696;const {cmd:_0x4b7728}=_0x222fb6;_0x4b7728===F['HELLO']&&!this[_0x1ff708(0x291)]&&(_0x206313[_0x1ff708(0x253)]=_0x222fb6[_0x1ff708(0x2b4)][_0x1ff708(0x253)],this['_socket$']['next'](_0x206313),this['_status$']['next'](Ee[_0x1ff708(0x34a)]),this[_0x1ff708(0x291)]=!0x0,this['_candidateSocket']=null),_0x4b7728===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x424696(0x2d2)](){var _0x48680b=_0x424696,_0x39234e;this[_0x48680b(0x154)](),this[_0x48680b(0x225)]=setTimeout(()=>this[_0x48680b(0x366)](),(_0x39234e=this[_0x48680b(0x15e)][_0x48680b(0x2c0)](bn))!=null?_0x39234e:Rn);}[_0x424696(0x366)](){var _0x14819c=_0x424696;this[_0x14819c(0x1db)]['send']({'cmd':F['HEARTBEAT']}),this[_0x14819c(0x33b)]();}[_0x424696(0x33b)](){var _0x2c0558=_0x424696,_0x2c773b;this[_0x2c0558(0x2dc)]=setTimeout(()=>this[_0x2c0558(0x186)](),(_0x2c773b=this['_configService']['getConfig'](mi))!=null?_0x2c773b:gi);}[_0x424696(0x154)](){var _0x1363a1=_0x424696;this[_0x1363a1(0x225)]!=null&&(clearTimeout(this[_0x1363a1(0x225)]),this[_0x1363a1(0x225)]=null);}['_clearTimeoutTimer'](){var _0x1ef6e6=_0x424696;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1ef6e6(0x2dc)]=null);}};Le=Zn([Re(0x0,_0x186d60(_0x2d62be)),Re(0x1,_0x4d59d7),Re(0x2,_0x257d37),Re(0x3,Ii),Re(0x4,_0x186d60(pe)),Re(0x5,_0x39d318(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x424696(0x232)]((n+0x100)['toString'](0x10)['slice'](0x1));function Qn(_0x279231,_0x4317e9=0x0){var _0x44b2d8=_0x424696;return(G[_0x279231[_0x4317e9+0x0]]+G[_0x279231[_0x4317e9+0x1]]+G[_0x279231[_0x4317e9+0x2]]+G[_0x279231[_0x4317e9+0x3]]+'-'+G[_0x279231[_0x4317e9+0x4]]+G[_0x279231[_0x4317e9+0x5]]+'-'+G[_0x279231[_0x4317e9+0x6]]+G[_0x279231[_0x4317e9+0x7]]+'-'+G[_0x279231[_0x4317e9+0x8]]+G[_0x279231[_0x4317e9+0x9]]+'-'+G[_0x279231[_0x4317e9+0xa]]+G[_0x279231[_0x4317e9+0xb]]+G[_0x279231[_0x4317e9+0xc]]+G[_0x279231[_0x4317e9+0xd]]+G[_0x279231[_0x4317e9+0xe]]+G[_0x279231[_0x4317e9+0xf]])[_0x44b2d8(0x1dd)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x2826d9=_0x424696;if(!ut){if(typeof crypto>'u'||!crypto[_0x2826d9(0x22b)])throw new Error(_0x2826d9(0x2d5));ut=crypto[_0x2826d9(0x22b)]['bind'](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x424696(0x3b5)][_0x424696(0x283)](crypto),Yt={'randomUUID':ir};function nr(_0xed3c84,_0x1d1286,_0x402230){var _0x1c42ad=_0x424696,_0x30d7e8,_0x2da1e8,_0x313fd5;if(Yt['randomUUID']&&!_0xed3c84)return Yt['randomUUID']();_0xed3c84=_0xed3c84||{};const _0xc85e97=(_0x313fd5=(_0x2da1e8=_0xed3c84[_0x1c42ad(0x174)])!=null?_0x2da1e8:(_0x30d7e8=_0xed3c84[_0x1c42ad(0x41f)])==null?void 0x0:_0x30d7e8[_0x1c42ad(0x22e)](_0xed3c84))!=null?_0x313fd5:tr();if(_0xc85e97['length']<0x10)throw new Error(_0x1c42ad(0x393));return _0xc85e97[0x6]=_0xc85e97[0x6]&0xf|0x40,_0xc85e97[0x8]=_0xc85e97[0x8]&0x3f|0x80,Qn(_0xc85e97);}const J=_0x685b6c('collaboration-client.local-cache-service');function ro(_0xf17b5c){var _0x3bde17=_0x424696;return _0x3bde17(0x3ee)+_0xf17b5c;}var rr=Object[_0x424696(0x311)],sr=Object[_0x424696(0x275)],or=(_0x522841,_0x50a740,_0x33341b,_0x2c4d5f)=>{var _0xd55baf=_0x424696;for(var _0x1fd147=_0x2c4d5f>0x1?void 0x0:_0x2c4d5f?sr(_0x50a740,_0x33341b):_0x50a740,_0x2a16ca=_0x522841[_0xd55baf(0x314)]-0x1,_0x1be36d;_0x2a16ca>=0x0;_0x2a16ca--)(_0x1be36d=_0x522841[_0x2a16ca])&&(_0x1fd147=(_0x2c4d5f?_0x1be36d(_0x50a740,_0x33341b,_0x1fd147):_0x1be36d(_0x1fd147))||_0x1fd147);return _0x2c4d5f&&_0x1fd147&&rr(_0x50a740,_0x33341b,_0x1fd147),_0x1fd147;},dt=(_0xa716ac,_0x34a0e4)=>(_0x1a1643,_0x323d3d)=>_0x34a0e4(_0x1a1643,_0x323d3d,_0xa716ac);function ar(_0x2c8e4e){var _0x69650a=_0x424696;const {unitID:_0x52ebf6,mutations:_0x4d950b}=_0x2c8e4e;return{'unitId':_0x52ebf6,'subUnitId':_0x4d950b[0x0]['params'][_0x69650a(0x28d)]};}let it=class{constructor(_0x27cd2e,_0x435f91,_0x24e923){var _0x394782=_0x424696;this[_0x394782(0x21b)]=_0x27cd2e,this['_transformService']=_0x435f91,this['_instanceService']=_0x24e923;}[_0x424696(0x323)](_0x47587d){var _0x367b00=_0x424696,_0x4858e6,_0x157531,_0x23d215,_0x44e6d0;const _0x460524=this[_0x367b00(0x21b)][_0x367b00(0x396)](_0x22d798),{unitId:_0x2dc34d,subUnitId:_0x270ff5}=ar(_0x47587d),_0x305374=_0x460524==null?void 0x0:_0x460524[_0x367b00(0x378)](_0x2dc34d)[_0x367b00(0x381)](),_0x55bd88=(_0x157531=(_0x4858e6=this[_0x367b00(0x33a)][_0x367b00(0x168)](_0x2dc34d))==null?void 0x0:_0x4858e6[_0x367b00(0x2fc)]())==null?void 0x0:_0x157531[_0x367b00(0x208)]();if(_0x305374[_0x367b00(0x314)]===0x0||!_0x2dc34d||!_0x270ff5)return;const _0x19eab0=[{'id':_0x543fec['id'],'params':{'unitId':_0x2dc34d,'subUnitId':_0x55bd88,'selections':_0x12cf24[_0x367b00(0x266)](_0x305374)}}],_0x2ddccf=this[_0x367b00(0x219)]['transformMutationsWithChangeset'](_0x47587d,_0x19eab0);if(!_0x8bddd3(_0x2ddccf))throw _0x2ddccf['error'];const _0x59e6b3=(_0x44e6d0=(_0x23d215=_0x2ddccf[_0x367b00(0x3b7)][0x0])==null?void 0x0:_0x23d215[_0x367b00(0x2e1)])==null?void 0x0:_0x44e6d0[_0x367b00(0x421)];if(Array[_0x367b00(0x166)](_0x59e6b3)&&_0x59e6b3['length']){if(_0x59e6b3['length']===_0x19eab0[0x0][_0x367b00(0x2e1)]['selections'][_0x367b00(0x314)]&&_0x59e6b3[_0x367b00(0x14a)]((_0xb3f992,_0x2889b0)=>_0x246b53['equals'](_0xb3f992[_0x367b00(0x40f)],_0x19eab0[0x0][_0x367b00(0x2e1)][_0x367b00(0x421)][_0x2889b0][_0x367b00(0x40f)])))return;this['_injector']['get'](_0xe2c354)['executeCommand'](_0x543fec['id'],{'unitId':_0x2dc34d,'subUnitId':_0x55bd88,'selections':_0x59e6b3});}}};it=or([dt(0x0,_0x186d60(_0x2d62be)),dt(0x1,_0xfa424c),dt(0x2,_0x5238c4)],it);const ht=_0x685b6c(_0x424696(0x41c));var Ci=(_0x138a90=>(_0x138a90[_0x138a90[_0x424696(0x373)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x138a90[_0x138a90[_0x424696(0x3df)]=0x1]='OTHER_CLIENTS_EDITING',_0x138a90))(Ci||{});const cr=new Set([_0x3c5248['id']]);function qt(_0xf30d0b,_0x233409,_0x2ffb7c,_0x3e12e5,_0x19f077){var _0x5952b8=_0x424696,_0x28ca1a,_0x494b8b,_0x26f0d4,_0x56cbbc;const _0x24378b=[];for(const _0x2ecdc7 of _0xf30d0b)if(cr['has'](_0x2ecdc7['id'])){if(_0x24378b[_0x5952b8(0x314)]>0x0)break;_0x24378b[_0x5952b8(0x232)](_0x2ecdc7);break;}else _0x24378b[_0x5952b8(0x232)](_0x2ecdc7);const _0x4379ee=(_0x494b8b=(_0x28ca1a=_0x19f077[_0x5952b8(0x433)]())==null?void 0x0:_0x28ca1a[_0x5952b8(0x257)])!=null?_0x494b8b:_0x5952b8(0x352),_0x304b06=(_0x56cbbc=(_0x26f0d4=_0x19f077[_0x5952b8(0x433)]())==null?void 0x0:_0x26f0d4['memberID'])!=null?_0x56cbbc:_0x5952b8(0x352);return{'changeset':{'unitID':_0x233409,'type':_0x3a6879(_0x2ffb7c[_0x5952b8(0x3a2)](_0x233409)),'baseRev':_0x3e12e5[_0x5952b8(0x3f8)](_0x233409),'revision':0x0,'userID':_0x4379ee,'memberID':_0x304b06,'mutations':_0x24378b},'pendingMutations':_0xf30d0b[_0x5952b8(0x2f9)](_0x24378b[_0x5952b8(0x314)])};}function hr(_0x5ccd07,_0x1300dc,_0x195368,_0x440b89,_0xd84a52){var _0x2cbc84=_0x424696,_0x5bc94b,_0x26a3c1,_0x11ae54,_0x25423f;const _0x164cbe=[_0x5ccd07[_0x2cbc84(0x3a1)]((_0x3991c5,_0x2e8c5e)=>{var _0x4abb24=_0x2cbc84,_0x4d111d;const {id:_0x228b67}=_0x3991c5,{id:_0x4cfb64,type:_0x426ee4}=_0x2e8c5e,_0x109b45=(_0x4d111d=_0x3991c5[_0x4abb24(0x2e1)])!=null?_0x4d111d:{'actions':null},_0x473d23=_0x2e8c5e['params'];if(_0x228b67&&_0x228b67!==_0x4cfb64)throw new Error(_0x4abb24(0x22a)+_0x228b67+_0x4abb24(0x14b)+_0x4cfb64+'.');return{..._0x3991c5,'id':_0x4cfb64,'type':_0x426ee4,'params':{'unitId':_0x473d23[_0x4abb24(0x3e3)],'textRanges':_0x473d23[_0x4abb24(0x3c2)],'actions':_0x481e85[_0x4abb24(0x20e)](_0x109b45[_0x4abb24(0x2a2)],_0x473d23[_0x4abb24(0x2a2)])}};},{})],_0x4d7112=(_0x26a3c1=(_0x5bc94b=_0xd84a52['getCurrentUser']())==null?void 0x0:_0x5bc94b[_0x2cbc84(0x257)])!=null?_0x26a3c1:_0x2cbc84(0x352),_0x143cce=(_0x25423f=(_0x11ae54=_0xd84a52[_0x2cbc84(0x433)]())==null?void 0x0:_0x11ae54[_0x2cbc84(0x253)])!=null?_0x25423f:_0x2cbc84(0x352);return{'changeset':{'unitID':_0x1300dc,'type':_0x3a6879(_0x195368[_0x2cbc84(0x3a2)](_0x1300dc)),'baseRev':_0x440b89[_0x2cbc84(0x3f8)](_0x1300dc),'revision':0x0,'userID':_0x4d7112,'memberID':_0x143cce,'mutations':_0x164cbe},'pendingMutations':[]};}function bi(_0x3818bd,_0x2d819b){var _0x198c32=_0x424696;const _0x371747=new _0x295ed0(0x1);return setTimeout(()=>_0x371747[_0x198c32(0x3f2)](_0x2d819b),_0x3818bd),_0x371747[_0x198c32(0x2a5)]()[_0x198c32(0x1fb)](_0x35e0b5(0x1));}const _r={'id':_0x2c38a3['id'],'type':_0x3ee1d2[_0x424696(0x1e6)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x424696(0x275)],Te=(_0x4b27ca,_0x25ec6a,_0x57af7f,_0x5f5a4c)=>{var _0x352377=_0x424696;for(var _0x238656=_0x5f5a4c>0x1?void 0x0:_0x5f5a4c?ur(_0x25ec6a,_0x57af7f):_0x25ec6a,_0x598b89=_0x4b27ca[_0x352377(0x314)]-0x1,_0x56d301;_0x598b89>=0x0;_0x598b89--)(_0x56d301=_0x4b27ca[_0x598b89])&&(_0x238656=(_0x5f5a4c?_0x56d301(_0x25ec6a,_0x57af7f,_0x238656):_0x56d301(_0x238656))||_0x238656);return _0x5f5a4c&&_0x238656&&lr(_0x25ec6a,_0x57af7f,_0x238656),_0x238656;},A=(_0x31e64b,_0x17054c)=>(_0x17b18b,_0x58a2a7)=>_0x17054c(_0x17b18b,_0x58a2a7,_0x31e64b),Ri=(_0x16160e=>(_0x16160e['NOT_COLLAB']=_0x424696(0x144),_0x16160e[_0x424696(0x17f)]=_0x424696(0x1bf),_0x16160e[_0x424696(0x15b)]=_0x424696(0x2ee),_0x16160e['AWAITING']=_0x424696(0x158),_0x16160e[_0x424696(0x264)]='awaiting_with_pending',_0x16160e[_0x424696(0x3fa)]='fetch_missing',_0x16160e[_0x424696(0x1b6)]=_0x424696(0x149),_0x16160e['OFFLINE']='offline',_0x16160e))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x8beae6,_0x45ff85,_0x3c8065,_0x32d385,_0x30cbbf,_0x214e85,_0x4a8e51,_0x563c2e,_0x22d3a1){var _0x470bb7=_0x424696;N(this,_0x470bb7(0x355),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x8beae6,this[_0x470bb7(0x1d7)]=_0x45ff85,this['_handler']=_0x30cbbf,this['_commandService']=_0x214e85,this[_0x470bb7(0x356)]=_0x4a8e51,this[_0x470bb7(0x3cb)]=_0x563c2e,this['_localCacheService']=_0x22d3a1,this['_awaitingChangeset']=_0x3c8065,this[_0x470bb7(0x3b0)]=_0x32d385);}[_0x424696(0x38e)](_0x1dbaa3){var _0x19c10b=_0x424696;const _0x4eb5ef=this[_0x19c10b(0x3cb)][_0x19c10b(0x3f8)](this[_0x19c10b(0x161)]);return _0x1dbaa3[_0x19c10b(0x28e)]>_0x4eb5ef+0x1?(this[_0x19c10b(0x157)][_0x19c10b(0x39a)]({'from':_0x4eb5ef,'to':_0x1dbaa3[_0x19c10b(0x28e)]-0x1}),!0x0):!0x1;}[_0x424696(0x2cc)](_0x2361b3){var _0x53aae6=_0x424696;this[_0x53aae6(0x356)][_0x53aae6(0x2e4)](this[_0x53aae6(0x161)],_0x2361b3);}[_0x424696(0x25c)](_0x5011db){var _0x39244c=_0x424696,_0x2b2926,_0x22e5de;(_0x22e5de=(_0x2b2926=this['_handler'])[_0x39244c(0x40a)])==null||_0x22e5de['call'](_0x2b2926,_0x5011db);}[_0x424696(0x2e0)](_0x4b0281){var _0x4c935b=_0x424696,_0x377b53,_0x2370f8;return(_0x2370f8=(_0x377b53=this[_0x4c935b(0x157)])[_0x4c935b(0x251)])==null?void 0x0:_0x2370f8[_0x4c935b(0x22e)](_0x377b53,_0x4b0281);}[_0x424696(0x1e5)](_0x2abdf1){var _0x285d80=_0x424696,_0x34cef9,_0x2dc597;return(_0x2dc597=(_0x34cef9=this[_0x285d80(0x157)])[_0x285d80(0x1e8)])==null?void 0x0:_0x2dc597[_0x285d80(0x22e)](_0x34cef9,_0x2abdf1);}[_0x424696(0x29f)](_0x301e7f){var _0x357564=_0x424696,_0x1428a7,_0x20ed11,_0x59d222;return(_0x59d222=(_0x20ed11=(_0x1428a7=this[_0x357564(0x157)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x20ed11['call'](_0x1428a7,_0x301e7f))!=null?_0x59d222:_0x301e7f;}[_0x424696(0x3db)](_0x21da5a){var _0x15c44a=_0x424696,_0x252d36,_0x5a5958,_0x38f5d4;return(_0x38f5d4=(_0x5a5958=(_0x252d36=this[_0x15c44a(0x157)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5a5958[_0x15c44a(0x22e)](_0x252d36,_0x21da5a))!=null?_0x38f5d4:_0x21da5a;}[_0x424696(0x188)](_0x1d279c){var _0x3ecdb6=_0x424696,_0x4ae5ea,_0x5aeace;if(this[_0x3ecdb6(0x1d7)]===Q[_0x3ecdb6(0x240)]){const {unitID:_0x1d8510,mutations:_0x48bb3e,memberID:_0x26cd71}=_0x1d279c,_0x7275a9=_0x48bb3e[0x0][_0x3ecdb6(0x2e1)][_0x3ecdb6(0x3c2)];Array[_0x3ecdb6(0x166)](_0x7275a9)&&_0x7275a9[_0x3ecdb6(0x314)]>0x0&&((_0x5aeace=(_0x4ae5ea=this[_0x3ecdb6(0x157)])[_0x3ecdb6(0x375)])==null||_0x5aeace[_0x3ecdb6(0x22e)](_0x4ae5ea,{'unitID':_0x1d8510,'memberID':_0x26cd71,'textRanges':_0x7275a9}));}}[_0x424696(0x3a9)](){var _0x46a7c7=_0x424696,_0x5d34cc;(_0x5d34cc=this[_0x46a7c7(0x354)])==null||_0x5d34cc[_0x46a7c7(0x330)](this['unitID'],this[_0x46a7c7(0x1d7)],this[_0x46a7c7(0x355)],this[_0x46a7c7(0x3b0)]);}[_0x424696(0x30b)](){var _0x9f36bc=_0x424696;return this[_0x9f36bc(0x3cb)][_0x9f36bc(0x3f8)](this[_0x9f36bc(0x161)]);}[_0x424696(0x428)](){var _0x3410fd=_0x424696;this[_0x3410fd(0x3cb)]['incrementRevOfUnit'](this[_0x3410fd(0x161)]);}[_0x424696(0x183)](_0x38e90f){var _0x3875cf=_0x424696,_0x2c76af;let _0x255d81=this[_0x3875cf(0x29f)](_0x38e90f);_0x255d81=this['_transformRemoteChangesetByStateCache'](_0x255d81);const _0x48e1d0=_0x4e8515(_0x255d81['mutations'],this[_0x3875cf(0x2ae)],{'fromCollab':!0x0});if(!_0x48e1d0[_0x3875cf(0x365)])throw _0x48e1d0[_0x3875cf(0x20f)]instanceof Error?_0x48e1d0[_0x3875cf(0x20f)]:new Error((_0x2c76af=_0x48e1d0[_0x3875cf(0x20f)])!=null?_0x2c76af:_0x3875cf(0x1e3));this[_0x3875cf(0x2e0)](_0x255d81),this[_0x3875cf(0x1e5)](_0x255d81),this[_0x3875cf(0x2cc)](_0x38e90f),this['_transformSelections'](_0x255d81),this[_0x3875cf(0x188)](_0x255d81),this[_0x3875cf(0x428)]();}}let Ne=class extends Ce{constructor(_0x4c1338,_0x3cfc98,_0x54205b,_0xb69803,_0x3b894b,_0x371acc,_0x3351f7,_0x15ae2b,_0xcd9824,_0x4e7cea){var _0x4b2b8c=_0x424696;super(_0x4c1338,_0x3cfc98,null,[],_0x54205b,_0x3351f7,_0x371acc,_0xb69803,_0x4e7cea),N(this,_0x4b2b8c(0x163),_0x4b2b8c(0x1bf)),(this['_injector']=_0x3b894b,this['_logService']=_0x15ae2b,this[_0x4b2b8c(0x219)]=_0xcd9824,this[_0x4b2b8c(0x3fd)]=_0x4e7cea);}['appendMutation'](_0x476a6c){var _0x230ace=_0x424696;const _0x13ac49=this[_0x230ace(0x21b)][_0x230ace(0x3fc)](oe,this[_0x230ace(0x161)],this[_0x230ace(0x1d7)],[_0x476a6c],this['_handler']);return _0x13ac49[_0x230ace(0x201)](),_0x13ac49['_updateLocalCache'](),_0x13ac49;}[_0x424696(0x2b3)](_0x1db37){var _0x6a8db7=_0x424696;if(this[_0x6a8db7(0x38e)](_0x1db37))return this[_0x6a8db7(0x21b)][_0x6a8db7(0x3fc)](ee,this[_0x6a8db7(0x161)],this['type'],null,[],null,[_0x1db37],this[_0x6a8db7(0x157)]);try{const _0x56aa84=this['_transformService']['transformMutationsWithChangeset'](_0x1db37,[_r]);if(_0x8bddd3(_0x56aa84)){const {c1Prime:_0xd79a36}=_0x56aa84;return this['_executeRemoteChangeset'](_0xd79a36),this;}throw _0x56aa84[_0x6a8db7(0x20f)];}catch(_0x33e535){return this[_0x6a8db7(0x389)][_0x6a8db7(0x20f)](_0x33e535),this[_0x6a8db7(0x155)](!0x1);}}['_onConflict'](_0x15f399){var _0x1875d4=_0x424696;return this[_0x1875d4(0x21b)][_0x1875d4(0x3fc)](ue,this['unitID'],this[_0x1875d4(0x1d7)],null,[],this['_handler'],_0x15f399);}[_0x424696(0x31d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5f03c8=_0x424696;throw new Error(_0x5f03c8(0x227));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2579bc=_0x424696;return this[_0x2579bc(0x21b)]['createInstance'](de,this[_0x2579bc(0x161)],this[_0x2579bc(0x1d7)],null,[],this[_0x2579bc(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x31ffb0=_0x424696;throw new Error(_0x31ffb0(0x256));}['fetchMiss'](){var _0x33961b=_0x424696;const _0x5a7f02=this[_0x33961b(0x3cb)][_0x33961b(0x3f8)](this['unitID']);return this[_0x33961b(0x157)][_0x33961b(0x39a)]({'from':_0x5a7f02,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this['type'],null,[],null,[],this[_0x33961b(0x157)]);}};Ne=Te([A(0x3,_0x186d60(_0x3c36df)),A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x4f2b06),A(0x6,_0xe2c354),A(0x7,_0x4d59d7),A(0x8,_0xfa424c),A(0x9,_0x39d318(J))],Ne);let oe=class extends Ce{constructor(_0x5383a9,_0x57ad30,_0x11eed6,_0x2f8506,_0x159ba2,_0x5250a6,_0x40512a,_0x1f680d,_0xffde8b,_0x3f1dfb,_0x525844,_0x340d04,_0x39df89,_0x1e28c4){var _0x29c786=_0x424696;super(_0x5383a9,_0x57ad30,null,_0x11eed6,_0x2f8506,_0xffde8b,_0x39df89,_0x5250a6,_0x1e28c4),N(this,_0x29c786(0x163),_0x29c786(0x2ee)),N(this,_0x29c786(0x1cc),null),N(this,'_sendingTimer',null),(this[_0x29c786(0x21b)]=_0x159ba2,this[_0x29c786(0x162)]=_0x40512a,this[_0x29c786(0x389)]=_0x1f680d,this[_0x29c786(0x15e)]=_0x3f1dfb,this[_0x29c786(0x219)]=_0x525844,this[_0x29c786(0x270)]=_0x340d04);}['appendMutation'](_0x5541e6){var _0x2e4d3f=_0x424696;return this['_pendingMutations'][_0x2e4d3f(0x232)](_0x5541e6),this['_updateLocalCache'](),this;}[_0x424696(0x2b3)](_0x477c54){var _0x5566e3=_0x424696;if(this[_0x5566e3(0x38e)](_0x477c54))return this[_0x5566e3(0x35c)](),this['_injector'][_0x5566e3(0x3fc)](ee,this[_0x5566e3(0x161)],this['type'],null,this[_0x5566e3(0x3b0)],null,[_0x477c54],this[_0x5566e3(0x157)]);try{const _0x35ecac=this[_0x5566e3(0x219)]['transformMutationsWithChangeset'](_0x477c54,this['_pendingMutations']);if(_0x8bddd3(_0x35ecac)){const {c1Prime:_0x36c31a,m2Prime:_0x2449a7}=_0x35ecac;this[_0x5566e3(0x183)](_0x36c31a);const _0x39979b=this['_injector'][_0x5566e3(0x3fc)](oe,this[_0x5566e3(0x161)],this[_0x5566e3(0x1d7)],_0x2449a7,this['_handler']);this[_0x5566e3(0x35c)]();const _0x5dbd51=new Date()[_0x5566e3(0x415)](),_0x3093bf=this[_0x5566e3(0x1cc)]?Math[_0x5566e3(0x1ec)](this[_0x5566e3(0x1cc)]-_0x5dbd51,0x0):this[_0x5566e3(0x420)]();return _0x39979b['_schedule'](_0x3093bf),_0x39979b;}throw _0x35ecac[_0x5566e3(0x20f)];}catch(_0x2adb12){return this[_0x5566e3(0x389)]['error'](_0x2adb12),this[_0x5566e3(0x155)](!0x1);}}[_0x424696(0x31d)](){var _0x58f74c=_0x424696;throw new Error(_0x58f74c(0x2ea));}[_0x424696(0x29c)](){var _0x592725=_0x424696;throw new Error(_0x592725(0x229));}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){var _0x386fc6=_0x424696;return this['_clearScheduledTask'](),this[_0x386fc6(0x21b)]['createInstance'](de,this[_0x386fc6(0x161)],this[_0x386fc6(0x1d7)],null,this[_0x386fc6(0x3b0)],this[_0x386fc6(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x201)](_0x298bff){var _0x31d1ca=_0x424696;const _0x33f49a=_0x298bff!=null?_0x298bff:this[_0x31d1ca(0x420)]();this[_0x31d1ca(0x1cc)]=new Date()[_0x31d1ca(0x415)]()+_0x33f49a,this[_0x31d1ca(0x1ea)]=setTimeout(()=>{var _0x30a0c0=_0x31d1ca;this['_clearScheduledTask']();let _0x185230=null;switch(this[_0x30a0c0(0x1d7)]){case Q[_0x30a0c0(0x28c)]:{_0x185230=qt(this[_0x30a0c0(0x3b0)],this[_0x30a0c0(0x161)],this['_univerInstanceService'],this[_0x30a0c0(0x3cb)],this['_memberService']);break;}case Q[_0x30a0c0(0x240)]:{this['_pendingMutations'][_0x30a0c0(0x14a)](_0x638b13=>_0x638b13['id']===_0x34da4a['id'])?_0x185230=hr(this[_0x30a0c0(0x3b0)],this['unitID'],this[_0x30a0c0(0x270)],this[_0x30a0c0(0x3cb)],this[_0x30a0c0(0x162)]):_0x185230=qt(this[_0x30a0c0(0x3b0)],this['unitID'],this[_0x30a0c0(0x270)],this[_0x30a0c0(0x3cb)],this['_memberService']);break;}default:throw new Error(_0x30a0c0(0x165)+this[_0x30a0c0(0x1d7)]+_0x30a0c0(0x391));}const {changeset:_0x48556d,pendingMutations:_0x55126c}=_0x185230;this['_handler']['onSendChangeset'](_0x48556d);const _0x11c91d=_0x55126c[_0x30a0c0(0x314)]?this['_injector'][_0x30a0c0(0x3fc)](ae,this[_0x30a0c0(0x161)],this['type'],_0x48556d,_0x55126c,this[_0x30a0c0(0x157)],void 0x0):this[_0x30a0c0(0x21b)][_0x30a0c0(0x3fc)](le,this['unitID'],this[_0x30a0c0(0x1d7)],_0x48556d,this[_0x30a0c0(0x157)]);_0x11c91d['_updateLocalCache'](),this[_0x30a0c0(0x157)][_0x30a0c0(0x280)](this,_0x11c91d);},_0x33f49a);}[_0x424696(0x420)](){var _0x43298c=_0x424696,_0x52549e;const _0x534046=this[_0x43298c(0x15e)]['getConfig'](q);return(_0x52549e=_0x534046==null?void 0x0:_0x534046[_0x43298c(0x402)])!=null?_0x52549e:In;}[_0x424696(0x38c)](){var _0x5a5e45=_0x424696;throw new Error(_0x5a5e45(0x269));}[_0x424696(0x35c)](){var _0x53fd9c=_0x424696;this[_0x53fd9c(0x1ea)]!=null&&(clearTimeout(this[_0x53fd9c(0x1ea)]),this[_0x53fd9c(0x1ea)]=null);}[_0x424696(0x155)](_0xffdbf0){var _0x551915=_0x424696;return this[_0x551915(0x35c)](),this['_injector'][_0x551915(0x3fc)](ue,this[_0x551915(0x161)],this[_0x551915(0x1d7)],null,this[_0x551915(0x3b0)],this[_0x551915(0x157)],_0xffdbf0);}};oe=Te([A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x186d60(_0x3c36df)),A(0x6,_0x186d60(xe)),A(0x7,_0x4d59d7),A(0x8,_0xe2c354),A(0x9,_0x257d37),A(0xa,_0xfa424c),A(0xb,_0x5238c4),A(0xc,_0x4f2b06),A(0xd,_0x39d318(J))],oe);let le=class extends Ce{constructor(_0x48bda8,_0x104a3d,_0x329fc8,_0x34ffca,_0x492093,_0x5a3a9c,_0x522d45,_0x93f009,_0x270305,_0x237e24,_0x332386){var _0x4d9493=_0x424696;super(_0x48bda8,_0x104a3d,_0x329fc8,[],_0x34ffca,_0x522d45,_0x237e24,_0x5a3a9c,_0x332386),N(this,_0x4d9493(0x163),_0x4d9493(0x158)),N(this,_0x4d9493(0x2c6),0x0),N(this,_0x4d9493(0x360)),N(this,_0x4d9493(0x216)),(this[_0x4d9493(0x21b)]=_0x492093,this[_0x4d9493(0x389)]=_0x93f009,this[_0x4d9493(0x219)]=_0x270305);}['appendMutation'](_0x4bdde2){var _0x55a1be=_0x424696;this['_clearScheduledTask']();const _0x4940a8=this['_injector'][_0x55a1be(0x3fc)](ae,this[_0x55a1be(0x161)],this[_0x55a1be(0x1d7)],this['_awaitingChangeset'],[_0x4bdde2],this[_0x55a1be(0x157)],this['_resendTimer']);return _0x4940a8[_0x55a1be(0x3a9)](),_0x4940a8;}[_0x424696(0x2b3)](_0x3ebe22){var _0x1acc74=_0x424696;if(this['_checkMissing'](_0x3ebe22))return this['_clearScheduledTask'](),this[_0x1acc74(0x21b)]['createInstance'](ee,this[_0x1acc74(0x161)],this[_0x1acc74(0x1d7)],this[_0x1acc74(0x355)],[],null,[_0x3ebe22],this[_0x1acc74(0x157)]);try{const _0xe97932=this[_0x1acc74(0x219)][_0x1acc74(0x3ab)]([_0x3ebe22],[this[_0x1acc74(0x355)]],!0x1);if(_0x2bad5c(_0xe97932)){const {c1Prime:_0x874e60,c2Prime:_0x3b2114}=_0xe97932;this['_executeRemoteChangeset'](_0x874e60[0x0]),_0x3b2114[0x0][_0x1acc74(0x1d4)]=this['_getCurrentRevision'](),this[_0x1acc74(0x35c)]();const _0x383c2f=this[_0x1acc74(0x21b)][_0x1acc74(0x3fc)](le,this['unitID'],this[_0x1acc74(0x1d7)],_0x3b2114[0x0],this[_0x1acc74(0x157)]);return _0x383c2f['_updateLocalCache'](),_0x383c2f;}return this['_onConflict'](!0x1);}catch(_0x43ac51){return this[_0x1acc74(0x389)][_0x1acc74(0x20f)](_0x43ac51),this[_0x1acc74(0x155)](!0x1);}}[_0x424696(0x31d)](_0x140a4e){var _0x4bd9fb=_0x424696;this[_0x4bd9fb(0x35c)]();const _0x6f27af=this[_0x4bd9fb(0x3cb)][_0x4bd9fb(0x3f8)](this['unitID']);if(_0x140a4e[_0x4bd9fb(0x28e)]<_0x6f27af-0x1)return this;if(this[_0x4bd9fb(0x38e)](_0x140a4e))return this[_0x4bd9fb(0x21b)]['createInstance'](ee,this[_0x4bd9fb(0x161)],this[_0x4bd9fb(0x1d7)],null,[],this[_0x4bd9fb(0x355)],[],this[_0x4bd9fb(0x157)]);this[_0x4bd9fb(0x428)]();const _0x5031c0=this[_0x4bd9fb(0x21b)][_0x4bd9fb(0x3fc)](Ne,this[_0x4bd9fb(0x161)],this[_0x4bd9fb(0x1d7)],this[_0x4bd9fb(0x157)]);return _0x5031c0[_0x4bd9fb(0x3a9)](),_0x5031c0;}[_0x424696(0x29c)](_0x45fef8){return this['_onConflict'](!!(_0x45fef8!=null&&_0x45fef8['isPermissionRej']));}[_0x424696(0x2c7)](_0xad4c7d){var _0x1e3981=_0x424696;return this[_0x1e3981(0x2c6)]>Oi?this[_0x1e3981(0x21f)]():(this[_0x1e3981(0x360)]=bi(this[_0x1e3981(0x2c6)],{'timeout':this[_0x1e3981(0x2c6)],'reqId':_0xad4c7d[_0x1e3981(0x1c9)]}),this['_sender']=this['_resendTimer'][_0x1e3981(0x3cd)](({reqId:_0x1994e6,timeout:_0x31c975})=>{this['_resendWithTimeout'](_0x1994e6,_0x31c975);}),this);}[_0x424696(0x21f)](){var _0x3f95b8=_0x424696;return this['_clearScheduledTask'](),this['_injector'][_0x3f95b8(0x3fc)](de,this[_0x3f95b8(0x161)],this[_0x3f95b8(0x1d7)],this[_0x3f95b8(0x355)],[],this[_0x3f95b8(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x254b09=_0x424696;this['_handler'][_0x254b09(0x244)](this[_0x254b09(0x355)]);}[_0x424696(0x155)](_0x445de9){var _0x2b0b0d=_0x424696;return this[_0x2b0b0d(0x35c)](),this[_0x2b0b0d(0x21b)][_0x2b0b0d(0x3fc)](ue,this[_0x2b0b0d(0x161)],this['type'],this[_0x2b0b0d(0x355)],[],this[_0x2b0b0d(0x157)],_0x445de9);}['_resendWithTimeout'](_0x1f44f0,_0x557f05){var _0x243e6c=_0x424696,_0x588117;_0x1f44f0===((_0x588117=this[_0x243e6c(0x355)])==null?void 0x0:_0x588117['reqId'])&&(this[_0x243e6c(0x38c)](),this['_resendTimeout']=_0x557f05===0x0?0x3e8:_0x557f05*0x2);}[_0x424696(0x35c)](){var _0x12bc58=_0x424696,_0x4ce59b;(_0x4ce59b=this['_sender'])==null||_0x4ce59b[_0x12bc58(0x1c0)](),this[_0x12bc58(0x2c6)]=0x0;}};le=Te([A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x186d60(_0x3c36df)),A(0x6,_0xe2c354),A(0x7,_0x4d59d7),A(0x8,_0xfa424c),A(0x9,_0x4f2b06),A(0xa,_0x39d318(J))],le);let ae=class extends Ce{constructor(_0x58e02b,_0x37b056,_0x23715c,_0x3169c4,_0x2ce289,_0x21868a,_0x2bf365,_0x454ba2,_0x3d67c6,_0x440e93,_0x444cbc,_0x187c1d,_0x3aa088){var _0x4e0e7f=_0x424696;super(_0x58e02b,_0x37b056,_0x23715c,_0x3169c4,_0x2ce289,_0x3d67c6,_0x187c1d,_0x454ba2,_0x3aa088),N(this,_0x4e0e7f(0x163),_0x4e0e7f(0x3f9)),N(this,_0x4e0e7f(0x2c6),0x0),N(this,'_resendTimer'),N(this,_0x4e0e7f(0x216)),(this['_injector']=_0x2bf365,this[_0x4e0e7f(0x389)]=_0x440e93,this[_0x4e0e7f(0x219)]=_0x444cbc,this[_0x4e0e7f(0x3fd)]=_0x3aa088,_0x21868a&&(this[_0x4e0e7f(0x360)]=_0x21868a,this[_0x4e0e7f(0x216)]=this[_0x4e0e7f(0x360)][_0x4e0e7f(0x3cd)](({reqId:_0x55283d,timeout:_0x5f1c83})=>{var _0xbd8088=_0x4e0e7f;this[_0xbd8088(0x32b)](_0x55283d,_0x5f1c83);})));}['appendMutation'](_0x160c33){var _0x29ee93=_0x424696;return this[_0x29ee93(0x3b0)][_0x29ee93(0x232)](_0x160c33),this;}[_0x424696(0x2b3)](_0x5a8887){var _0xadc5f8=_0x424696;if(this[_0xadc5f8(0x38e)](_0x5a8887))return this['_clearScheduledTask'](),this['_injector'][_0xadc5f8(0x3fc)](ee,this['unitID'],this[_0xadc5f8(0x1d7)],this[_0xadc5f8(0x355)],this['_pendingMutations'],null,[_0x5a8887],this[_0xadc5f8(0x157)]);try{const _0x9b5c73=this[_0xadc5f8(0x219)][_0xadc5f8(0x3ab)]([_0x5a8887],[this[_0xadc5f8(0x355)]],!0x1);if(_0x2bad5c(_0x9b5c73)){const {c1Prime:_0x4a7d6,c2Prime:_0x1c7640}=_0x9b5c73,_0x280438=this[_0xadc5f8(0x219)][_0xadc5f8(0x268)](_0x4a7d6[0x0],this[_0xadc5f8(0x3b0)]);if(_0x8bddd3(_0x280438)){const {c1Prime:_0x4c07ae,m2Prime:_0x4766d3}=_0x280438;return this['_executeRemoteChangeset'](_0x4c07ae),_0x1c7640[0x0][_0xadc5f8(0x1d4)]=this[_0xadc5f8(0x30b)](),this[_0xadc5f8(0x35c)](),this['_injector'][_0xadc5f8(0x3fc)](ae,this['unitID'],this[_0xadc5f8(0x1d7)],_0x1c7640[0x0],_0x4766d3,this[_0xadc5f8(0x157)],void 0x0);}throw _0x280438[_0xadc5f8(0x20f)];}throw _0x9b5c73['error'];}catch(_0x3032c3){return this['_logService']['error'](_0x3032c3),this[_0xadc5f8(0x155)](!0x1);}}[_0x424696(0x31d)](_0x36afd2){var _0x5b549c=_0x424696;if(this[_0x5b549c(0x35c)](),this[_0x5b549c(0x38e)](_0x36afd2))return this[_0x5b549c(0x21b)][_0x5b549c(0x3fc)](ee,this[_0x5b549c(0x161)],this[_0x5b549c(0x1d7)],null,this['_pendingMutations'],this[_0x5b549c(0x355)],[],this[_0x5b549c(0x157)]);this[_0x5b549c(0x428)]();const _0x480322=this['_injector'][_0x5b549c(0x3fc)](oe,this[_0x5b549c(0x161)],this[_0x5b549c(0x1d7)],this[_0x5b549c(0x3b0)],this['_handler']);return _0x480322[_0x5b549c(0x201)](),_0x480322[_0x5b549c(0x3a9)](),_0x480322;}[_0x424696(0x29c)](_0x505613){var _0xa9fc6d=_0x424696;return this[_0xa9fc6d(0x155)](!!(_0x505613!=null&&_0x505613['isPermissionRej']));}['onRemoteRetry'](_0x121e8d){var _0x8b6265=_0x424696;return this[_0x8b6265(0x2c6)]>Oi?this[_0x8b6265(0x21f)]():(this[_0x8b6265(0x360)]=bi(this[_0x8b6265(0x2c6)],{'timeout':this[_0x8b6265(0x2c6)],'reqId':_0x121e8d[_0x8b6265(0x1c9)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x27ba70,timeout:_0x46cae7})=>{var _0x226758=_0x8b6265;this[_0x226758(0x32b)](_0x27ba70,_0x46cae7);}),this);}[_0x424696(0x21f)](){var _0x17e0f9=_0x424696;return this[_0x17e0f9(0x35c)](),this[_0x17e0f9(0x21b)][_0x17e0f9(0x3fc)](de,this[_0x17e0f9(0x161)],this[_0x17e0f9(0x1d7)],this[_0x17e0f9(0x355)],this[_0x17e0f9(0x3b0)],this[_0x17e0f9(0x157)]);}[_0x424696(0x207)](){return this;}['resend'](){var _0x69032d=_0x424696;this[_0x69032d(0x157)][_0x69032d(0x244)](this[_0x69032d(0x355)]);}['_onConflict'](_0x4ac89d){var _0xc6ae54=_0x424696;return this[_0xc6ae54(0x35c)](),this[_0xc6ae54(0x21b)][_0xc6ae54(0x3fc)](ue,this[_0xc6ae54(0x161)],this['type'],null,this['_pendingMutations'],this[_0xc6ae54(0x157)],_0x4ac89d);}[_0x424696(0x32b)](_0x9e9c92,_0x57b76b){var _0x2702d5=_0x424696,_0x4c1b72;_0x9e9c92===((_0x4c1b72=this[_0x2702d5(0x355)])==null?void 0x0:_0x4c1b72[_0x2702d5(0x1c9)])&&(this[_0x2702d5(0x38c)](),this['_resendTimeout']=_0x57b76b===0x0?0x3e8:_0x57b76b*0x2);}['_clearScheduledTask'](){var _0x43955d=_0x424696,_0x600ea4;(_0x600ea4=this[_0x43955d(0x216)])==null||_0x600ea4[_0x43955d(0x1c0)](),this[_0x43955d(0x2c6)]=0x0;}};ae=Te([A(0x6,_0x186d60(_0x2d62be)),A(0x7,_0x186d60(_0x3c36df)),A(0x8,_0xe2c354),A(0x9,_0x4d59d7),A(0xa,_0xfa424c),A(0xb,_0x4f2b06),A(0xc,_0x39d318(J))],ae);let ue=class extends Ce{constructor(_0x1aee29,_0x193fdc,_0x4f78eb,_0x123637,_0x217d71,_0x16c04b=!0x1,_0x3fcc6e,_0x28f033,_0x1ffa04,_0xa23ec,_0x50dbab,_0x53be09,_0x2866fa){var _0x193819=_0x424696;super(_0x1aee29,_0x193fdc,_0x4f78eb,_0x123637,_0x217d71,_0x28f033,_0x1ffa04,_0xa23ec,_0x2866fa),N(this,_0x193819(0x163),_0x193819(0x149)),(this[_0x193819(0x14d)]=_0x16c04b,this[_0x193819(0x24a)]=_0x3fcc6e,this[_0x193819(0x358)]=_0x50dbab,this[_0x193819(0x42c)]=_0x53be09,this[_0x193819(0x3fd)]=_0x2866fa,this[_0x193819(0x2ac)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x424696(0x15d)](){return this;}[_0x424696(0x2b3)](){return this;}[_0x424696(0x31d)](){return this;}['onRemoteRej'](){return this;}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){return this;}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x3f360b=_0x424696;throw new Error(_0x3f360b(0x41a));}[_0x424696(0x197)](){var _0x42cf6c=_0x424696,_0x16bab3;(_0x16bab3=this['_localCacheService'])==null||_0x16bab3[_0x42cf6c(0x330)](this[_0x42cf6c(0x161)],this[_0x42cf6c(0x1d7)],null,[]);}['_showConflictNotification'](){var _0x36bf55=_0x424696;this[_0x36bf55(0x14d)]?this[_0x36bf55(0x42c)]['emitEvent']({'id':se[_0x36bf55(0x3bf)]}):this[_0x36bf55(0x42c)][_0x36bf55(0x342)]({'id':se[_0x36bf55(0x1b6)]});}[_0x424696(0x297)](){var _0x2e3bfc=_0x424696;this[_0x2e3bfc(0x24a)]['updatePermissionPoint'](new _0x508a1c(this[_0x2e3bfc(0x161)])['id'],!0x1);}};ue=Te([A(0x6,_0x186d60(_0xe332cb)),A(0x7,_0xe2c354),A(0x8,_0x4f2b06),A(0x9,_0x186d60(_0x3c36df)),A(0xa,_0x186d60(_0x24120b)),A(0xb,_0x186d60(pe)),A(0xc,_0x39d318(J))],ue);let de=class extends Ce{constructor(_0x594a3d,_0x2c078f,_0x4cebfa,_0x496d95,_0x3f5d3e,_0x1b3d30,_0x1567f7,_0x1b1e49,_0x1db6f8,_0x5044e2){var _0x55de67=_0x424696;super(_0x594a3d,_0x2c078f,_0x4cebfa,_0x496d95,_0x3f5d3e,_0x1b1e49,_0x1db6f8,_0x1567f7,_0x5044e2),N(this,'status',_0x55de67(0x403)),this[_0x55de67(0x21b)]=_0x1b3d30;}[_0x424696(0x15d)](_0x1b6369){var _0x5a894c=_0x424696;return this[_0x5a894c(0x3b0)][_0x5a894c(0x232)](_0x1b6369),this['_updateLocalCache'](),this;}[_0x424696(0x2b3)](_0x3f92d9){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x424696(0x31d)](){var _0x2872be=_0x424696;throw new Error(_0x2872be(0x146));}[_0x424696(0x29c)](){var _0x16ec09=_0x424696;throw new Error(_0x16ec09(0x182));}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){return this;}['toggleOnline'](){var _0x43aaac=_0x424696;const {_injector:_0x69349b,_pendingMutations:_0x4b218c,_awaitingChangeset:_0x2d89b4,unitID:_0x53eb68,_handler:_0x47f998,type:_0x15fa0a}=this,_0x5bf091=yi(_0x69349b,_0x53eb68,_0x15fa0a,_0x2d89b4,_0x4b218c,_0x47f998);return _0x5bf091 instanceof oe?_0x5bf091[_0x43aaac(0x201)]():(_0x5bf091 instanceof ae||_0x5bf091 instanceof le)&&_0x5bf091[_0x43aaac(0x38c)](),_0x5bf091;}[_0x424696(0x38c)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([A(0x5,_0x186d60(_0x2d62be)),A(0x6,_0x186d60(_0x3c36df)),A(0x7,_0xe2c354),A(0x8,_0x4f2b06),A(0x9,_0x39d318(J))],de);let ee=class extends Ce{constructor(_0x2d69b6,_0x1c581a,_0x30cd9d,_0x267de9,_0x3caaaf,_0x580026,_0xdf470b,_0x1a9a58,_0x39c7f6,_0x426d0e,_0x46ec56,_0x12ac2a,_0x58af82,_0x26fd97){var _0xcc2287=_0x424696;super(_0x2d69b6,_0x1c581a,_0x30cd9d,_0x267de9,_0xdf470b,_0x46ec56,_0x12ac2a,_0x39c7f6,_0x26fd97),N(this,_0xcc2287(0x163),_0xcc2287(0x202)),(this['_acknowledgedAwaitingChangeset']=_0x3caaaf,this[_0xcc2287(0x252)]=_0x580026,this[_0xcc2287(0x21b)]=_0x1a9a58,this[_0xcc2287(0x389)]=_0x426d0e,this[_0xcc2287(0x219)]=_0x58af82,this['localCacheService']=_0x26fd97);}[_0x424696(0x2e9)](_0xf79686){var _0x3ba053=_0x424696;try{const _0x4b56b1=[..._0xf79686,...this[_0x3ba053(0x252)]],_0x232a2f=[this[_0x3ba053(0x355)]||this[_0x3ba053(0x35e)]][_0x3ba053(0x317)](_0x59ea58=>!!_0x59ea58);let _0x41b84e,_0x4b2815;if(_0x232a2f[_0x3ba053(0x314)]){const _0x5084e5=this[_0x3ba053(0x219)][_0x3ba053(0x3ab)](_0x4b56b1,_0x232a2f,!0x1);if(!_0x2bad5c(_0x5084e5))throw _0x5084e5[_0x3ba053(0x20f)];_0x41b84e=_0x5084e5[_0x3ba053(0x2d9)],_0x4b2815=_0x5084e5[_0x3ba053(0x272)];}else _0x41b84e=_0x4b56b1,_0x4b2815=[];let _0xf13a6e=this[_0x3ba053(0x3b0)];_0x41b84e[_0x3ba053(0x409)](_0x3ee940=>{var _0x2aacec=_0x3ba053;let _0x1dc2a6;if(_0xf13a6e['length']){const _0x12e0ea=this['_transformService'][_0x2aacec(0x268)](_0x3ee940,_0xf13a6e);if(!_0x8bddd3(_0x12e0ea))throw _0x12e0ea[_0x2aacec(0x20f)];_0x1dc2a6=_0x12e0ea[_0x2aacec(0x2d9)],_0xf13a6e=_0x12e0ea[_0x2aacec(0x3b7)];}else _0x1dc2a6=_0x3ee940;this[_0x2aacec(0x183)](_0x1dc2a6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3ba053(0x428)](),this[_0x3ba053(0x355)]&&_0x4b2815[_0x3ba053(0x314)]&&(_0x4b2815[0x0]['baseRev']=this[_0x3ba053(0x30b)]());let _0x597bbc;if(this[_0x3ba053(0x355)]&&_0xf13a6e[_0x3ba053(0x314)]!==0x0)_0x597bbc=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](ae,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0x4b2815[0x0],_0xf13a6e,this[_0x3ba053(0x157)],void 0x0);else{if(this[_0x3ba053(0x355)]&&_0xf13a6e[_0x3ba053(0x314)]===0x0)_0x4b2815[0x0][_0x3ba053(0x1d4)]=this[_0x3ba053(0x30b)](),_0x597bbc=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](le,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0x4b2815[0x0],this['_handler']);else{if(_0xf13a6e[_0x3ba053(0x314)]!==0x0){const _0xad5dd6=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](oe,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0xf13a6e,this[_0x3ba053(0x157)]);_0xad5dd6['_schedule'](),_0x597bbc=_0xad5dd6;}else _0x597bbc=this[_0x3ba053(0x21b)]['createInstance'](Ne,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],this[_0x3ba053(0x157)]);}}return _0x597bbc[_0x3ba053(0x3a9)](),_0x597bbc;}catch(_0x3ed2d2){return this[_0x3ba053(0x389)][_0x3ba053(0x20f)](_0x3ba053(0x1c7),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3ed2d2),this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](ue,this[_0x3ba053(0x161)],this['type'],this[_0x3ba053(0x355)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x424696(0x38c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x424696(0x15d)](_0x5ea8f2){var _0x38fb3b=_0x424696;return this[_0x38fb3b(0x3b0)][_0x38fb3b(0x232)](_0x5ea8f2),this;}[_0x424696(0x2b3)](_0x4d4020){var _0x487cd7=_0x424696;return this[_0x487cd7(0x252)][_0x487cd7(0x232)](_0x4d4020),this;}[_0x424696(0x31d)](_0x4ace31){var _0x198b1b=_0x424696;if(this[_0x198b1b(0x355)])return this['_acknowledgedAwaitingChangeset']=this[_0x198b1b(0x355)],this[_0x198b1b(0x355)]=null,this;throw new Error(_0x198b1b(0x25d));}[_0x424696(0x29c)](_0x3e5940){return this['_onConflict'](!!(_0x3e5940!=null&&_0x3e5940['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x461dca=_0x424696;return this[_0x461dca(0x21b)][_0x461dca(0x3fc)](de,this[_0x461dca(0x161)],this['type'],this[_0x461dca(0x355)],this[_0x461dca(0x3b0)],this[_0x461dca(0x157)]);}[_0x424696(0x207)](){return this;}['_onConflict'](_0x354a92){var _0xac3541=_0x424696;return this['_injector'][_0xac3541(0x3fc)](ue,this[_0xac3541(0x161)],this['type'],this[_0xac3541(0x355)],this['_pendingMutations'],this['_handler'],_0x354a92);}};ee=Te([A(0x7,_0x186d60(_0x2d62be)),A(0x8,_0x186d60(_0x3c36df)),A(0x9,_0x4d59d7),A(0xa,_0xe2c354),A(0xb,_0x4f2b06),A(0xc,_0xfa424c),A(0xd,_0x39d318(J))],ee);function yi(_0x119f19,_0xf8441,_0x50dc26,_0x32c6ea,_0x2ed2ad,_0x5375f1){var _0x5e8ecc=_0x424696;return _0x32c6ea&&_0x2ed2ad[_0x5e8ecc(0x314)]?_0x119f19[_0x5e8ecc(0x3fc)](ae,_0xf8441,_0x50dc26,_0x32c6ea,_0x2ed2ad,_0x5375f1,void 0x0):_0x32c6ea?_0x119f19[_0x5e8ecc(0x3fc)](le,_0xf8441,_0x50dc26,_0x32c6ea,_0x5375f1):_0x2ed2ad['length']?_0x119f19['createInstance'](oe,_0xf8441,_0x50dc26,_0x2ed2ad,_0x5375f1):_0x119f19[_0x5e8ecc(0x3fc)](Ne,_0xf8441,_0x50dc26,_0x5375f1);}var dr=Object['defineProperty'],fr=Object[_0x424696(0x275)],xt=(_0x5ba705,_0x478d97,_0x5d4538,_0x10c9b6)=>{for(var _0x424bab=_0x10c9b6>0x1?void 0x0:_0x10c9b6?fr(_0x478d97,_0x5d4538):_0x478d97,_0x428128=_0x5ba705['length']-0x1,_0x1c1566;_0x428128>=0x0;_0x428128--)(_0x1c1566=_0x5ba705[_0x428128])&&(_0x424bab=(_0x10c9b6?_0x1c1566(_0x478d97,_0x5d4538,_0x424bab):_0x1c1566(_0x424bab))||_0x424bab);return _0x10c9b6&&_0x424bab&&dr(_0x478d97,_0x5d4538,_0x424bab),_0x424bab;},k=(_0x6ee5d0,_0x161d08)=>(_0xf4fd89,_0x416aa9)=>_0x161d08(_0xf4fd89,_0x416aa9,_0x6ee5d0);let nt=class extends _0x38323d{constructor(_0x3f5cc6,_0x1a1ece,_0x5f3476,_0xf8c7be,_0x23157a,_0x39ba15,_0x1d1c70,_0x3bce9f,_0x3841d8,_0x107fbb,_0x1ff95e,_0x1b7f5c,_0x53e102){var _0xc7a1d5=_0x424696;super(),N(this,_0xc7a1d5(0x33c),new _0x43ba24(null)),N(this,_0xc7a1d5(0x35d),this[_0xc7a1d5(0x33c)]['asObservable']()),N(this,_0xc7a1d5(0x17e)),N(this,_0xc7a1d5(0x395),!0x1),N(this,'_changesetSessionId',''),N(this,_0xc7a1d5(0x3ca),0x0),N(this,_0xc7a1d5(0x282),this['state$'][_0xc7a1d5(0x1fb)](_0x5ccaf8(_0x5d3338=>_0x5d3338?_0x5d3338['status']:Ri[_0xc7a1d5(0x200)]),_0x2162fc(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xc7a1d5(0x161)]=_0x3f5cc6,this[_0xc7a1d5(0x37c)]=_0x1a1ece,this[_0xc7a1d5(0x1ab)]=_0x5f3476,this[_0xc7a1d5(0x21b)]=_0xf8c7be,this[_0xc7a1d5(0x271)]=_0x23157a,this[_0xc7a1d5(0x358)]=_0x39ba15,this[_0xc7a1d5(0x3cb)]=_0x1d1c70,this[_0xc7a1d5(0x38a)]=_0x3bce9f,this['_logService']=_0x3841d8,this[_0xc7a1d5(0x2ae)]=_0x107fbb,this[_0xc7a1d5(0x24a)]=_0x1ff95e,this[_0xc7a1d5(0x3b3)]=_0x1b7f5c,this[_0xc7a1d5(0x354)]=_0x53e102);}get[_0x424696(0x372)](){var _0xb70f64=_0x424696;return this[_0xb70f64(0x17e)];}async[_0x424696(0x26e)](){var _0x5b616a=_0x424696;if(this[_0x5b616a(0x372)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5b616a(0x3ec)]();}[_0x424696(0x36c)](){var _0x275004=_0x424696;return this[_0x275004(0x395)]=!0x0,_0x534a79(()=>{var _0x4ce05e=_0x275004;this['_collaborationPaused']=!0x1,this[_0x4ce05e(0x20a)]();});}['onLocalMutation'](_0xd2797b){this['_onLocalMutation'](_0xd2797b);}[_0x424696(0x215)](_0x38979f){var _0x369fcb=_0x424696;this[_0x369fcb(0x17e)]=_0x38979f,this['_state$'][_0x369fcb(0x3f2)](_0x38979f);}async[_0x424696(0x3ec)](){var _0x200dc9=_0x424696,_0x4d0743;this['_updateState'](await this[_0x200dc9(0x3e6)]()),this[_0x200dc9(0x3b3)]&&((_0x4d0743=this[_0x200dc9(0x3b3)])==null||_0x4d0743[_0x200dc9(0x17d)](this[_0x200dc9(0x161)]),this[_0x200dc9(0x35f)](this['_singleActiveUnitService'][_0x200dc9(0x438)](this[_0x200dc9(0x161)])[_0x200dc9(0x3cd)](_0x3706c4=>{var _0x5ea96c=_0x200dc9;this[_0x5ea96c(0x389)][_0x5ea96c(0x169)](_0x5ea96c(0x318),_0x5ea96c(0x27a),_0x3706c4),_0x3706c4===Ci[_0x5ea96c(0x3df)]?(this['_eventService'][_0x5ea96c(0x342)]({'id':se[_0x5ea96c(0x1cf)]}),this[_0x5ea96c(0x24a)][_0x5ea96c(0x1a7)](new _0x508a1c(this[_0x5ea96c(0x161)])['id'],!0x1),this[_0x5ea96c(0x24a)]['setShowComponents'](!0x1)):(this[_0x5ea96c(0x24a)][_0x5ea96c(0x1a7)](new _0x508a1c(this[_0x5ea96c(0x161)])['id'],!0x0),this[_0x5ea96c(0x24a)]['setShowComponents'](!0x0));})));let _0x34e12b=!0x1;return this[_0x200dc9(0x35f)](this[_0x200dc9(0x37c)]['sessionStatus$'][_0x200dc9(0x3cd)](_0x11dd68=>{var _0x1ff985=_0x200dc9;_0x11dd68===Ee[_0x1ff985(0x34a)]?this[_0x1ff985(0x26f)](_0x34e12b):_0x11dd68===Ee[_0x1ff985(0x200)]&&(_0x34e12b=!0x0,this[_0x1ff985(0x246)]());})),this['disposeWithMe'](this['session'][_0x200dc9(0x224)][_0x200dc9(0x3cd)](_0x442789=>{var _0x570b02=_0x200dc9;try{switch(_0x442789[_0x570b02(0x30c)]){case _0x14e6e4[_0x570b02(0x237)]:{this[_0x570b02(0x34b)](_0x20134b(_0x442789['data']));break;}case _0x14e6e4['CHANGESET_ACK']:{this[_0x570b02(0x2ce)](_0x442789[_0x570b02(0x2b4)]);break;}case _0x14e6e4[_0x570b02(0x1e2)]:{this[_0x570b02(0x3a6)]();break;}case _0x14e6e4['CHANGESET_SHOULD_RETRY']:{this[_0x570b02(0x1b4)](_0x442789[_0x570b02(0x2b4)]);break;}case _0x14e6e4[_0x570b02(0x425)]:{this[_0x570b02(0x1a9)](_0x442789[_0x570b02(0x2b4)][_0x570b02(0x379)]['map'](_0x1440a8=>_0x20134b(_0x1440a8)));break;}case _0x14e6e4[_0x570b02(0x19a)]:{this[_0x570b02(0x3a6)]({'isPermissionRej':!0x0});break;}case _0x14e6e4[_0x570b02(0x21d)]:break;}}catch(_0x211043){throw console[_0x570b02(0x20f)]('Error\x20on\x20receiving\x20event',_0x211043),_0x211043;}})),this[_0x200dc9(0x17e)];}[_0x424696(0x193)](){var _0x5429cb=_0x424696;this[_0x5429cb(0x344)]=!0x1;}['_lockTransition'](){var _0x3e32d7=_0x424696;if(this[_0x3e32d7(0x344)])throw new Error(_0x3e32d7(0x3c3));this[_0x3e32d7(0x344)]=!0x0;}[_0x424696(0x1b2)](_0x3c8c22){var _0x1e60be=_0x424696;this[_0x1e60be(0x187)](),this[_0x1e60be(0x215)](this['_state']['appendMutation'](_0x3c8c22)),this['_unlockTransition']();}[_0x424696(0x34b)](_0x484fcf){var _0x237924=_0x424696;if(!(_0x484fcf[_0x237924(0x28e)]<=this[_0x237924(0x3cb)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x237924(0x395)]){this['_remoteChangesetQueue'][_0x237924(0x232)](_0x484fcf);return;}this[_0x237924(0x1be)](_0x484fcf);}}['_exhaustRemoteChangesetQueue'](){var _0x196643=_0x424696;this[_0x196643(0x2ab)]['forEach'](_0x294332=>this['_applyRemoteChangeset'](_0x294332)),this[_0x196643(0x2ab)]=[];}['_applyRemoteChangeset'](_0x2fc415){var _0x2319b2=_0x424696;const _0x4d219e=this[_0x2319b2(0x271)][_0x2319b2(0x18b)][_0x2319b2(0x36a)](this[_0x2319b2(0x271)][_0x2319b2(0x18b)][_0x2319b2(0x1d6)]()[_0x2319b2(0x1e4)])(_0x2fc415[_0x2319b2(0x230)],null)||_0x2fc415[_0x2319b2(0x230)],_0x3e185d={..._0x2fc415,'mutations':_0x4d219e};this[_0x2319b2(0x187)](),this[_0x2319b2(0x215)](this['_state'][_0x2319b2(0x2b3)](_0x3e185d)),this[_0x2319b2(0x193)]();}[_0x424696(0x2ce)](_0x3a56bb){var _0x932e5a=_0x424696;this[_0x932e5a(0x187)](),this['_updateState'](this[_0x932e5a(0x17e)][_0x932e5a(0x31d)](_0x3a56bb)),this[_0x932e5a(0x193)]();}['_onRemoteRejected'](_0x15a9ab){var _0x32b9d5=_0x424696;this[_0x32b9d5(0x187)](),this[_0x32b9d5(0x215)](this[_0x32b9d5(0x17e)][_0x32b9d5(0x29c)](_0x15a9ab)),this[_0x32b9d5(0x193)]();}['_onRemoteRetry'](_0x2fdf21){var _0x2b9ecc=_0x424696;this['_lockTransition'](),this[_0x2b9ecc(0x215)](this[_0x2b9ecc(0x17e)]['onRemoteRetry'](_0x2fdf21)),this[_0x2b9ecc(0x193)]();}[_0x424696(0x1a9)](_0x331d3f){var _0x132636=_0x424696;if(!(this['_state']instanceof ee))throw new TypeError(_0x132636(0x203));const _0x6a07e1=_0x331d3f[_0x132636(0x3c5)](_0x44ee87=>{var _0x2dd02d=_0x132636;const _0x283b97=this['_compressMutationService']['interceptor'][_0x2dd02d(0x36a)](this[_0x2dd02d(0x271)][_0x2dd02d(0x18b)][_0x2dd02d(0x1d6)]()[_0x2dd02d(0x1e4)])(_0x44ee87[_0x2dd02d(0x230)],null)||_0x44ee87[_0x2dd02d(0x230)];return{..._0x44ee87,'mutations':_0x283b97};});this['_lockTransition'](),this['_updateState'](this[_0x132636(0x17e)][_0x132636(0x2e9)](_0x6a07e1)),this['_unlockTransition']();}[_0x424696(0x246)](){var _0x313019=_0x424696;this[_0x313019(0x187)](),this['_updateState'](this[_0x313019(0x17e)][_0x313019(0x21f)]()),this['_unlockTransition']();}[_0x424696(0x26f)](_0x4b1b5b=!0x1){var _0x171df=_0x424696;this[_0x171df(0x187)](),this['_updateState'](this['_state'][_0x171df(0x207)]()),this[_0x171df(0x193)]();const _0xfc4ae1=this[_0x171df(0x17e)];_0x4b1b5b&&_0xfc4ae1 instanceof Ne&&(this['_lockTransition'](),this[_0x171df(0x215)](_0xfc4ae1[_0x171df(0x1a2)]()),this[_0x171df(0x193)]());}async[_0x424696(0x3e6)](){return new Promise(_0x252d3a=>{var _0x3e5b7c=_0x181e;this[_0x3e5b7c(0x37c)][_0x3e5b7c(0x388)][_0x3e5b7c(0x1fb)](_0x35e0b5(0x1))[_0x3e5b7c(0x3cd)](async _0x12c484=>{var _0x58ccb6=_0x3e5b7c;_0x252d3a(await this[_0x58ccb6(0x185)](_0x12c484===Ee[_0x58ccb6(0x34a)]));});});}['_createHandler'](){const _0x256510=this['unitID'];return{'onStateChange':(_0x50e94c,_0x5d4746)=>{var _0x39e6af=_0x181e;if(_0x50e94c!==this['_state'])throw new Error(_0x39e6af(0x1b5)+_0x50e94c['status']+_0x39e6af(0x1e7)+_0x5d4746[_0x39e6af(0x163)]+_0x39e6af(0x41d)+this[_0x39e6af(0x17e)][_0x39e6af(0x163)]);this[_0x39e6af(0x215)](_0x5d4746);},'onSendChangeset':_0x1736ad=>{var _0x30f16c=_0x181e;_0x1736ad[_0x30f16c(0x3f3)]||(_0x1736ad[_0x30f16c(0x3f3)]=this['_changesetSessionId'],_0x1736ad[_0x30f16c(0x1c9)]=++this['_changesetReqId']);const _0x5c454b={'eventID':_0x14e6e4[_0x30f16c(0x324)],'data':{'unitID':_0x1736ad[_0x30f16c(0x161)],'unitType':this[_0x30f16c(0x1ab)],'changeset':_0x1736ad,'memberID':this[_0x30f16c(0x37c)][_0x30f16c(0x40c)]()}};this[_0x30f16c(0x37c)][_0x30f16c(0x26d)](_0x5c454b,this[_0x30f16c(0x161)]);},'onMissingChangesets':({from:_0x576817,to:_0x4a4c0d})=>{var _0x14b27d=_0x181e;this[_0x14b27d(0x389)][_0x14b27d(0x169)](_0x14b27d(0x318),_0x14b27d(0x307)+_0x576817+_0x14b27d(0x1f7)+_0x4a4c0d);const _0x9e8f06={'eventID':_0x14e6e4[_0x14b27d(0x1c8)],'data':{'unitID':_0x256510,'unitType':this[_0x14b27d(0x1ab)],'from':_0x576817,'to':_0x4a4c0d}};this[_0x14b27d(0x37c)][_0x14b27d(0x26d)](_0x9e8f06,this[_0x14b27d(0x161)]);}};}async[_0x424696(0x185)](_0x40075e){var _0x7f73fb=_0x424696,_0x577774,_0x44bc26,_0xfbef3d;const _0x4d44a0=await((_0x577774=this[_0x7f73fb(0x354)])==null?void 0x0:_0x577774['loadOfflineData'](this['unitID'])),_0x3c34bc=(_0x44bc26=_0x4d44a0==null?void 0x0:_0x4d44a0['mutations'])!=null?_0x44bc26:[],_0x1a63ee=(_0xfbef3d=_0x4d44a0==null?void 0x0:_0x4d44a0[_0x7f73fb(0x278)])!=null?_0xfbef3d:null,_0x1d6a55=!!(_0x1a63ee!=null&&_0x1a63ee['sid'])&&!!(_0x1a63ee!=null&&_0x1a63ee[_0x7f73fb(0x1c9)]);this[_0x7f73fb(0x15c)]=_0x1d6a55?_0x1a63ee[_0x7f73fb(0x3f3)]:nr(),this[_0x7f73fb(0x3ca)]=_0x1d6a55?_0x1a63ee['reqId']:0x0;const _0x417344=this[_0x7f73fb(0x161)];try{this[_0x7f73fb(0x411)](_0x1a63ee,_0x3c34bc);}catch(_0x25548a){this['_logService'][_0x7f73fb(0x20f)](_0x25548a);}const _0x579e7b=this['_createHandler']();if(_0x40075e){const _0x435512=yi(this[_0x7f73fb(0x21b)],_0x417344,this[_0x7f73fb(0x1ab)],_0x1a63ee,_0x3c34bc,_0x579e7b);return _0x435512 instanceof oe?_0x435512[_0x7f73fb(0x201)]():(_0x435512 instanceof ae||_0x435512 instanceof le)&&_0x435512[_0x7f73fb(0x38c)](),_0x435512;}return this[_0x7f73fb(0x21b)][_0x7f73fb(0x3fc)](de,_0x417344,this[_0x7f73fb(0x1ab)],_0x1a63ee,_0x3c34bc,_0x579e7b);}[_0x424696(0x411)](_0x4125b3,_0x1c7215){var _0x41b33f=_0x424696,_0x1ed828,_0x38d51b;const _0x30ee04=this['_compressMutationService'][_0x41b33f(0x18b)][_0x41b33f(0x36a)](this[_0x41b33f(0x271)]['interceptor']['getInterceptPoints']()[_0x41b33f(0x1e4)]);(_0x1ed828=_0x30ee04((_0x4125b3==null?void 0x0:_0x4125b3[_0x41b33f(0x230)])||[],null))==null||_0x1ed828[_0x41b33f(0x409)](_0x25b77e=>this[_0x41b33f(0x2ae)][_0x41b33f(0x1bd)](_0x25b77e['id'],_0x25b77e[_0x41b33f(0x2e1)])),(_0x38d51b=_0x30ee04(_0x1c7215||[],null))==null||_0x38d51b[_0x41b33f(0x409)](_0x276181=>this[_0x41b33f(0x2ae)][_0x41b33f(0x1bd)](_0x276181['id'],_0x276181[_0x41b33f(0x2e1)]));}};nt=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(pe)),k(0x8,_0x4d59d7),k(0x9,_0xe2c354),k(0xa,_0xe332cb),k(0xb,_0x39d318(ht)),k(0xc,_0x39d318(J))],nt);let It=class extends nt{constructor(_0x560a61,_0x31198f,_0x26f9eb,_0x32f247,_0x547c53,_0x50c43f,_0x4b55c5,_0x4e255d,_0x48784f,_0x7da484,_0x1a0c96,_0x51c9d9,_0xcb5bb9){var _0x35dbfe=_0x424696;super(_0x560a61,_0x26f9eb,_0x31198f,_0x32f247,_0x547c53,_0x50c43f,_0x4b55c5,_0x4e255d,_0x48784f,_0x7da484,_0x1a0c96,_0x51c9d9,_0xcb5bb9),N(this,_0x35dbfe(0x1aa),null),(this[_0x35dbfe(0x161)]=_0x560a61,this[_0x35dbfe(0x1d7)]=_0x31198f);}['addHandlerCallback'](_0x4d1128){this['_handlerCallback']=_0x4d1128;}[_0x424696(0x406)](){var _0x3a9b95=_0x424696;this[_0x3a9b95(0x1aa)]=null,super[_0x3a9b95(0x406)]();}[_0x424696(0x315)](){var _0x4cb3fa=_0x424696;const _0x57c9d2=super[_0x4cb3fa(0x315)]();return _0x57c9d2['onTransformIME']=_0x4daa23=>{var _0x2e4f53=_0x4cb3fa,_0x3ca5dc,_0x2b2512;return(_0x2b2512=(_0x3ca5dc=this[_0x2e4f53(0x1aa)])==null?void 0x0:_0x3ca5dc[_0x2e4f53(0x251)])==null?void 0x0:_0x2b2512['call'](_0x3ca5dc,_0x4daa23);},_0x57c9d2[_0x4cb3fa(0x1e8)]=_0x3a437f=>{var _0x518145=_0x4cb3fa,_0x35db3b,_0x5617eb;return(_0x5617eb=(_0x35db3b=this[_0x518145(0x1aa)])==null?void 0x0:_0x35db3b[_0x518145(0x1e8)])==null?void 0x0:_0x5617eb['call'](_0x35db3b,_0x3a437f);},_0x57c9d2[_0x4cb3fa(0x40a)]=_0x3b6e37=>{var _0x26334e=_0x4cb3fa,_0x14bc48,_0x2cd8c6;return(_0x2cd8c6=(_0x14bc48=this['_handlerCallback'])==null?void 0x0:_0x14bc48[_0x26334e(0x40a)])==null?void 0x0:_0x2cd8c6[_0x26334e(0x22e)](_0x14bc48,_0x3b6e37);},_0x57c9d2['onSyncEditingCollabCursor']=_0x266802=>{var _0x3718cb=_0x4cb3fa,_0x31afb6,_0x3df70c;return(_0x3df70c=(_0x31afb6=this[_0x3718cb(0x1aa)])==null?void 0x0:_0x31afb6['onSyncEditingCollabCursor'])==null?void 0x0:_0x3df70c[_0x3718cb(0x22e)](_0x31afb6,_0x266802);},_0x57c9d2[_0x4cb3fa(0x145)]=_0x36aead=>{var _0x4de91b=_0x4cb3fa,_0x423c87,_0x262340,_0xb5d08b;if(!((_0x423c87=this[_0x4de91b(0x1aa)])!=null&&_0x423c87[_0x4de91b(0x145)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xb5d08b=(_0x262340=this['_handlerCallback'])==null?void 0x0:_0x262340['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb5d08b['call'](_0x262340,_0x36aead);},_0x57c9d2[_0x4cb3fa(0x23d)]=_0x396a12=>{var _0x13bb86=_0x4cb3fa,_0x4b00cc,_0xca7251,_0x3b1f9b;if(!((_0x4b00cc=this[_0x13bb86(0x1aa)])!=null&&_0x4b00cc['onTransformRemoteChangesetByStateCache']))throw new Error(_0x13bb86(0x209));return(_0x3b1f9b=(_0xca7251=this[_0x13bb86(0x1aa)])==null?void 0x0:_0xca7251[_0x13bb86(0x23d)])==null?void 0x0:_0x3b1f9b[_0x13bb86(0x22e)](_0xca7251,_0x396a12);},_0x57c9d2;}async['_init'](){var _0xfa3ad2=_0x424696;const _0x25ba45=await super[_0xfa3ad2(0x3ec)]();return this[_0xfa3ad2(0x35f)](this[_0xfa3ad2(0x2ae)][_0xfa3ad2(0x329)]((_0x3d1509,_0x562611)=>{var _0x40fbf3=_0xfa3ad2;if(_0x3d1509[_0x40fbf3(0x1d7)]!==_0x3ee1d2[_0x40fbf3(0x1e6)]||_0x562611!=null&&_0x562611[_0x40fbf3(0x3dd)]||_0x562611!=null&&_0x562611[_0x40fbf3(0x16b)]||_0x3d1509['id']===_0x34da4a['id'])return;const _0x5a9640=_0x3d1509[_0x40fbf3(0x2e1)];if((_0x5a9640==null?void 0x0:_0x5a9640[_0x40fbf3(0x3e3)])!==this[_0x40fbf3(0x161)])return;const _0xd79987=_0x3d1509,_0x44e61f=this['_compressMutationService'][_0x40fbf3(0x18b)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x40fbf3(0x18b)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0xd79987],null)||[_0xd79987];this[_0x40fbf3(0x1b2)](_0x44e61f[0x0]);})),_0x25ba45;}};It=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(pe)),k(0x8,_0x4d59d7),k(0x9,_0xe2c354),k(0xa,_0xe332cb),k(0xb,_0x39d318(ht)),k(0xc,_0x39d318(J))],It);let Tt=class extends nt{constructor(_0x5b37bb,_0x1484e1,_0x2f1661,_0x1f09c9,_0x18d571,_0x3c8b3f,_0x525cd5,_0x4b56b7,_0x198997,_0x25487e,_0x18a15e,_0x25a4b5,_0x47dbae,_0x5ad2ab){var _0x3d02ff=_0x424696;super(_0x5b37bb,_0x2f1661,_0x1484e1,_0x1f09c9,_0x18d571,_0x3c8b3f,_0x525cd5,_0x198997,_0x25487e,_0x18a15e,_0x25a4b5,_0x47dbae,_0x5ad2ab),this[_0x3d02ff(0x161)]=_0x5b37bb,this[_0x3d02ff(0x1d7)]=_0x1484e1,this[_0x3d02ff(0x294)]=_0x4b56b7;}[_0x424696(0x315)](){var _0x21d108=_0x424696;const _0x38d16f=super[_0x21d108(0x315)]();return _0x38d16f[_0x21d108(0x40a)]=_0x237b51=>this[_0x21d108(0x294)][_0x21d108(0x323)](_0x237b51),_0x38d16f;}async[_0x424696(0x3ec)](){var _0x42b269=_0x424696;const _0x31cc2e=await super[_0x42b269(0x3ec)]();return this['disposeWithMe'](this['_commandService'][_0x42b269(0x329)]((_0x49222e,_0x138761)=>{var _0x15d8cc=_0x42b269;if(_0x49222e[_0x15d8cc(0x1d7)]!==_0x3ee1d2['MUTATION']||_0x138761!=null&&_0x138761[_0x15d8cc(0x3dd)]||_0x138761!=null&&_0x138761[_0x15d8cc(0x16b)])return;const _0x22db5d=_0x49222e[_0x15d8cc(0x2e1)];if((_0x22db5d==null?void 0x0:_0x22db5d['unitId'])!==this['unitID'])return;const _0x53c390=_0x49222e,_0x1152f2=this[_0x15d8cc(0x271)]['interceptor'][_0x15d8cc(0x36a)](this[_0x15d8cc(0x271)][_0x15d8cc(0x18b)][_0x15d8cc(0x1d6)]()[_0x15d8cc(0x359)])([_0x53c390],null)||[_0x53c390];this['_onLocalMutation'](_0x1152f2[0x0]);})),_0x31cc2e;}};Tt=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(it)),k(0x8,_0x186d60(pe)),k(0x9,_0x4d59d7),k(0xa,_0xe2c354),k(0xb,_0xe332cb),k(0xc,_0x39d318(ht)),k(0xd,_0x39d318(J))],Tt);var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],mr=(_0x1d0183,_0x30077a,_0x5df6a0,_0x598c28)=>{var _0xfc6bc9=_0x424696;for(var _0x35d8c1=_0x598c28>0x1?void 0x0:_0x598c28?pr(_0x30077a,_0x5df6a0):_0x30077a,_0x3d4f6a=_0x1d0183[_0xfc6bc9(0x314)]-0x1,_0x211ced;_0x3d4f6a>=0x0;_0x3d4f6a--)(_0x211ced=_0x1d0183[_0x3d4f6a])&&(_0x35d8c1=(_0x598c28?_0x211ced(_0x30077a,_0x5df6a0,_0x35d8c1):_0x211ced(_0x35d8c1))||_0x35d8c1);return _0x598c28&&_0x35d8c1&&vr(_0x30077a,_0x5df6a0,_0x35d8c1),_0x35d8c1;},ft=(_0x46c21a,_0x9b4aa7)=>(_0x21aa83,_0x383208)=>_0x9b4aa7(_0x21aa83,_0x383208,_0x46c21a);let rt=class extends _0x38323d{constructor(_0x33dc39,_0x1b6bd8,_0x2581ad){var _0x1a6aab=_0x424696;super(),N(this,'_entities',new Map()),N(this,_0x1a6aab(0x305),new _0xdedd08()),N(this,_0x1a6aab(0x1ee),this[_0x1a6aab(0x305)][_0x1a6aab(0x2a5)]()),(this[_0x1a6aab(0x21b)]=_0x33dc39,this[_0x1a6aab(0x160)]=_0x1b6bd8,this[_0x1a6aab(0x270)]=_0x2581ad,this['_init']());}['dispose'](){var _0x444340=_0x424696;super['dispose'](),this[_0x444340(0x1a3)][_0x444340(0x409)](_0x317ecf=>_0x317ecf[_0x444340(0x406)]()),this['_entities'][_0x444340(0x2b0)]();}[_0x424696(0x37a)](_0x4d538a){var _0x31032b=_0x424696,_0x166956;return(_0x166956=this['_entities'][_0x31032b(0x396)](_0x4d538a))!=null?_0x166956:null;}[_0x424696(0x16a)](_0x40c4f2){var _0x150c24=_0x424696;const _0x18afa2=this[_0x150c24(0x37a)](_0x40c4f2);return _0x18afa2?_0x3de4c9(_0x18afa2):this[_0x150c24(0x305)][_0x150c24(0x1fb)](_0x2a5648(_0x232752=>_0x232752[_0x150c24(0x161)]===_0x40c4f2));}[_0x424696(0x3f5)](_0x192a1c){var _0x5aa670=_0x424696;return _0xbb7a05(this[_0x5aa670(0x16a)](_0x192a1c)[_0x5aa670(0x1fb)](_0x496697(()=>{})));}[_0x424696(0x3ec)](){var _0x4e775f=_0x424696;this['_univerInstanceService'][_0x4e775f(0x36d)](_0x6bba17[_0x4e775f(0x28c)])[_0x4e775f(0x1fb)](_0xc564a9(this[_0x4e775f(0x1ad)]),_0xe6df08(0x10))[_0x4e775f(0x3cd)](async _0x38df86=>{var _0x54a99e=_0x4e775f;const _0x4b11e2=_0x38df86[_0x54a99e(0x17c)](),_0xfd94b0=await this[_0x54a99e(0x1bb)](_0x4b11e2,Q[_0x54a99e(0x28c)]);this[_0x54a99e(0x1a3)][_0x54a99e(0x31f)](_0x4b11e2,_0xfd94b0);}),this[_0x4e775f(0x270)]['getTypeOfUnitAdded$'](_0x6bba17[_0x4e775f(0x240)])[_0x4e775f(0x1fb)](_0xc564a9(this[_0x4e775f(0x1ad)]),_0xe6df08(0x10))[_0x4e775f(0x1fb)](_0x2a5648(_0xc5cfd9=>!_0xc5cfd9['getUnitId']()['startsWith']('__')))[_0x4e775f(0x3cd)](async _0x305687=>{var _0x1ac95f=_0x4e775f;const _0x25b1cf=_0x305687[_0x1ac95f(0x17c)](),_0x43546b=await this[_0x1ac95f(0x1bb)](_0x25b1cf,Q[_0x1ac95f(0x240)]);this[_0x1ac95f(0x1a3)][_0x1ac95f(0x31f)](_0x25b1cf,_0x43546b);}),_0x4a6b1e(this['_univerInstanceService'][_0x4e775f(0x1e9)](_0x6bba17[_0x4e775f(0x28c)]),this['_univerInstanceService'][_0x4e775f(0x1e9)](_0x6bba17['UNIVER_DOC']))['pipe'](_0xc564a9(this['dispose$']))[_0x4e775f(0x3cd)](_0x55a63b=>{var _0x195cb3=_0x4e775f;const _0x504fd7=_0x55a63b[_0x195cb3(0x17c)](),_0xbc3105=this[_0x195cb3(0x1a3)]['get'](_0x504fd7);_0xbc3105&&(_0xbc3105['dispose'](),this[_0x195cb3(0x1a3)][_0x195cb3(0x16c)](_0x504fd7));});}async[_0x424696(0x1bb)](_0x370ac2,_0x11dc1){var _0x212cd0=_0x424696;const _0xb2d1ee=await this[_0x212cd0(0x160)][_0x212cd0(0x1f1)](_0x370ac2),_0x20e71c=this[_0x212cd0(0x21b)][_0x212cd0(0x3fc)](this[_0x212cd0(0x18a)](_0x11dc1),_0x370ac2,_0x11dc1,_0xb2d1ee);return await _0x20e71c[_0x212cd0(0x26e)](),this['_entityInit$'][_0x212cd0(0x3f2)](_0x20e71c),_0x20e71c;}[_0x424696(0x18a)](_0x4299d3){var _0x10b552=_0x424696;switch(_0x4299d3){case Q['UNIVER_DOC']:return It;case Q[_0x10b552(0x28c)]:return Tt;default:throw new Error(_0x10b552(0x190)+_0x4299d3);}}};rt=mr([ft(0x0,_0x186d60(_0x2d62be)),ft(0x1,_0x186d60(Le)),ft(0x2,_0x5238c4)],rt);var gr=Object[_0x424696(0x311)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x4b0f87,_0x5ad7e1,_0x12bdda,_0x287329)=>{var _0x4fbab5=_0x424696;for(var _0x5511f0=_0x287329>0x1?void 0x0:_0x287329?Sr(_0x5ad7e1,_0x12bdda):_0x5ad7e1,_0x1cb86e=_0x4b0f87[_0x4fbab5(0x314)]-0x1,_0x5569d2;_0x1cb86e>=0x0;_0x1cb86e--)(_0x5569d2=_0x4b0f87[_0x1cb86e])&&(_0x5511f0=(_0x287329?_0x5569d2(_0x5ad7e1,_0x12bdda,_0x5511f0):_0x5569d2(_0x5511f0))||_0x5511f0);return _0x287329&&_0x5511f0&&gr(_0x5ad7e1,_0x12bdda,_0x5511f0),_0x5511f0;},zt=(_0x3d628e,_0x3dcae0)=>(_0x20f5a8,_0x28d988)=>_0x3dcae0(_0x20f5a8,_0x28d988,_0x3d628e);const Ir='DEFAULT_FILE_NAME',Tr=_0x424696(0x2bc);let Ct=class extends _0x221e87{constructor(_0x1ca6be,_0x366fb2){var _0x56043a=_0x424696;super(),this[_0x56043a(0x270)]=_0x1ca6be,this['_configService']=_0x366fb2,this[_0x56043a(0x3ec)]();}['_init'](){var _0x56951b=_0x424696;this[_0x56951b(0x35f)](this[_0x56951b(0x270)][_0x56951b(0x2c3)][_0x56951b(0x3cd)](()=>{var _0xe71fe3=_0x56951b,_0x14a732;const _0x59932b=this[_0xe71fe3(0x270)][_0xe71fe3(0x172)]();let _0x13d634=(_0x14a732=this[_0xe71fe3(0x15e)][_0xe71fe3(0x2c0)](Ir))!=null?_0x14a732:Tr;_0x59932b instanceof _0x1b3084&&(_0x13d634=_0x59932b[_0xe71fe3(0x15a)]),document['title']=_0x13d634;}));}};Ct=Er([zt(0x0,_0x5238c4),zt(0x1,_0x257d37)],Ct);var Cr=Object[_0x424696(0x311)],br=Object[_0x424696(0x275)],Rr=(_0x59650b,_0x4ed294,_0x23a55e,_0x42589a)=>{for(var _0x4517a5=_0x42589a>0x1?void 0x0:_0x42589a?br(_0x4ed294,_0x23a55e):_0x4ed294,_0x5769ad=_0x59650b['length']-0x1,_0x2c1708;_0x5769ad>=0x0;_0x5769ad--)(_0x2c1708=_0x59650b[_0x5769ad])&&(_0x4517a5=(_0x42589a?_0x2c1708(_0x4ed294,_0x23a55e,_0x4517a5):_0x2c1708(_0x4517a5))||_0x4517a5);return _0x42589a&&_0x4517a5&&Cr(_0x4ed294,_0x23a55e,_0x4517a5),_0x4517a5;},vt=(_0x5e52aa,_0x40b7df)=>(_0x522bc1,_0x116e88)=>_0x40b7df(_0x522bc1,_0x116e88,_0x5e52aa);let st=class{constructor(_0x442f56,_0x4846c4,_0x523272){var _0x393f18=_0x424696;this[_0x393f18(0x15e)]=_0x442f56,this[_0x393f18(0x3e2)]=_0x4846c4,this[_0x393f18(0x24f)]=_0x523272,this[_0x393f18(0x26e)]();}[_0x424696(0x26e)](){var _0x52663f=_0x424696;this[_0x52663f(0x3e2)][_0x52663f(0x254)]({'priority':0x1,'interceptor':(_0x4e9abc,_0x18209a)=>_0x18209a(_0x4e9abc)[_0x52663f(0x1fb)](_0x173625(async _0x21ac6a=>{var _0x409044=_0x52663f;const _0x14118a=_0x21ac6a;if(_0x14118a[_0x409044(0x163)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x409044(0x32c)](this[_0x409044(0x24f)]['t'](_0x409044(0x2e5)))){const _0x3fa261=window[_0x409044(0x288)](window[_0x409044(0x235)][_0x409044(0x15f)]);window[_0x409044(0x235)]['href']=this['_getLoginPath']()+'?url='+_0x3fa261;}}return _0x14118a;}))});}[_0x424696(0x206)](){var _0x8a1c0c=_0x424696,_0x350128,_0x33aac5;const _0x2af1ee=this[_0x8a1c0c(0x15e)][_0x8a1c0c(0x2c0)](wn),_0x3be35a=this[_0x8a1c0c(0x15e)][_0x8a1c0c(0x2c0)](q);return(_0x33aac5=(_0x350128=_0x3be35a==null?void 0x0:_0x3be35a[_0x8a1c0c(0x347)])!=null?_0x350128:_0x2af1ee)!=null?_0x33aac5:Un;}};st=Rr([vt(0x0,_0x257d37),vt(0x1,_0x186d60(_0x16a7d6)),vt(0x2,_0x186d60(_0x24120b))],st);var Or=Object[_0x424696(0x311)],yr=Object[_0x424696(0x275)],Nr=(_0x163563,_0x1c4f1f,_0x5f0472,_0x27614a)=>{var _0x3f701a=_0x424696;for(var _0x44eea9=_0x27614a>0x1?void 0x0:_0x27614a?yr(_0x1c4f1f,_0x5f0472):_0x1c4f1f,_0x3987bc=_0x163563[_0x3f701a(0x314)]-0x1,_0x51dda2;_0x3987bc>=0x0;_0x3987bc--)(_0x51dda2=_0x163563[_0x3987bc])&&(_0x44eea9=(_0x27614a?_0x51dda2(_0x1c4f1f,_0x5f0472,_0x44eea9):_0x51dda2(_0x44eea9))||_0x44eea9);return _0x27614a&&_0x44eea9&&Or(_0x1c4f1f,_0x5f0472,_0x44eea9),_0x44eea9;},Jt=(_0x13c92d,_0x416fcf)=>(_0x3f9129,_0x50c447)=>_0x416fcf(_0x3f9129,_0x50c447,_0x13c92d);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0x221e87{constructor(_0x17ed5e,_0x249c90){var _0x4fbbc7=_0x424696;super(),this[_0x4fbbc7(0x16f)]=_0x17ed5e,this[_0x4fbbc7(0x15e)]=_0x249c90,this[_0x4fbbc7(0x26a)]();}[_0x424696(0x26a)](){const _0xefd6af=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x26ddb3({'isMatch'(_0x98101){var _0x567fe9=_0x181e,_0x3063f5;if(_0x98101['method']===_0x567fe9(0x2a7)&&((_0x3063f5=_0x98101[_0x567fe9(0x1ba)])!=null&&_0x3063f5['body'])){const {objectID:_0x2df370,objectType:_0x4a4fa8}=_0x98101['requestParams'][_0x567fe9(0x21e)]||{};if(!_0x2df370||_0x4a4fa8===void 0x0)return!0x1;const _0xdddf54=_0xefd6af[_0x567fe9(0x405)]()+'/'+_0x4a4fa8+_0x567fe9(0x2c8)+_0x2df370+_0x567fe9(0x1a6);if(_0x98101[_0x567fe9(0x3a5)]===_0xdddf54)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5e4ccc){var _0x419a8b=_0x181e,_0x40229f;return(_0x40229f=_0x5e4ccc['requestParams'])==null?void 0x0:_0x40229f[_0x419a8b(0x21e)];},'mergeParamsToRequest'(_0x304c49,_0x3bfa48){var _0xec79e2=_0x181e;const _0x16705c=_0xefd6af[_0xec79e2(0x405)]()+'/-/object/-/batch_allowed',_0x46e223=_0x304c49[_0xec79e2(0x3a1)]((_0x168724,_0x3e639e)=>{var _0x4c1e5c=_0xec79e2;const {unitID:_0x32643b,objectID:_0x138754,objectType:_0x3c3936,actions:_0x2445a5}=_0x3e639e;return _0x168724[_0x32643b]||(_0x168724[_0x32643b]={}),_0x168724[_0x32643b][_0x138754]||(_0x168724[_0x32643b][_0x138754]={'objectID':_0x138754,'objectType':_0x3c3936,'actions':[]}),_0x168724[_0x32643b][_0x138754][_0x4c1e5c(0x2a2)][_0x4c1e5c(0x232)](..._0x2445a5),_0x168724;},{}),_0xf31c74=[];for(const _0x945247 in _0x46e223)for(const _0x1f1d65 in _0x46e223[_0x945247]){const {actions:_0x4e180c,objectType:_0x2a865f}=_0x46e223[_0x945247][_0x1f1d65],_0x124cf6=[...new Set(_0x4e180c)];_0xf31c74[_0xec79e2(0x232)]({'unitID':_0x945247,'objectID':_0x1f1d65,'objectType':_0x2a865f,'actions':_0x124cf6});}return new _0x317d23(_0xec79e2(0x2a7),_0x16705c,{'headers':_0x3bfa48['headers'],'withCredentials':_0x3bfa48[_0xec79e2(0x32a)],'responseType':_0x3bfa48['responseType'],'body':{'requests':_0xf31c74}});}},{'distributeResult'(_0x40e4df,_0x23e28f){var _0x2504e4=_0x181e;const {objectActions:_0x506d98}=_0x40e4df;return _0x23e28f[_0x2504e4(0x3c5)](_0x2f0b49=>{var _0xd52843=_0x2504e4;const {unitID:_0xa59f38,objectID:_0x2e663a,actions:_0x42b7d1}=_0x2f0b49,_0x9116d4=_0x506d98[_0xd52843(0x143)](_0x1d87db=>_0x1d87db['unitID']===_0xa59f38&&_0x1d87db[_0xd52843(0x1ae)]===_0x2e663a),_0xbe9aab=_0x42b7d1[_0xd52843(0x3c5)](_0x5115f1=>_0x9116d4==null?void 0x0:_0x9116d4['actions'][_0xd52843(0x143)](_0xa1993d=>_0xa1993d[_0xd52843(0x221)]===_0x5115f1))[_0xd52843(0x317)](_0x3f1fc0=>!!_0x3f1fc0);return{'config':_0x2f0b49,'result':{'actions':_0xbe9aab,'error':_0x40e4df[_0xd52843(0x20f)]}};});}})}));}[_0x424696(0x405)](){var _0x220de0=_0x424696,_0x47b803,_0x16859e;const _0x4de2ae=this[_0x220de0(0x15e)][_0x220de0(0x2c0)](Ni),_0x5728d6=this['_configService'][_0x220de0(0x2c0)](q);return(_0x16859e=(_0x47b803=_0x5728d6==null?void 0x0:_0x5728d6[_0x220de0(0x3d5)])!=null?_0x47b803:_0x4de2ae)!=null?_0x16859e:Dr;}async[_0x424696(0x39e)](_0x5559f9){var _0x3e2b62=_0x424696;const _0x471e99=this[_0x3e2b62(0x405)]()+'/'+_0x5559f9[_0x3e2b62(0x2b6)]+'/object';return(await this['_HTTPService'][_0x3e2b62(0x427)](_0x471e99,{'body':_0x5559f9}))['body']['objectID']||'';}async['list'](_0x331646){var _0x374576=_0x424696;const _0x429faa=this[_0x374576(0x405)]()+'/-/object/list';return(await this[_0x374576(0x16f)]['post'](_0x429faa,{'body':_0x331646}))[_0x374576(0x21e)][_0x374576(0x279)];}async[_0x424696(0x321)](_0x4de572){var _0x11acbd=_0x424696;const _0x470c6e=this[_0x11acbd(0x405)]()+'/'+_0x4de572[_0x11acbd(0x2b6)]+_0x11acbd(0x2c8)+_0x4de572[_0x11acbd(0x1ae)];await this[_0x11acbd(0x16f)]['put'](_0x470c6e,{'body':_0x4de572});}async[_0x424696(0x142)](_0xef0276){var _0x587c61=_0x424696;const _0x22ac63=this['_getAPIPrefixPath']()+'/'+_0xef0276[_0x587c61(0x2b6)]+_0x587c61(0x2c8)+_0xef0276[_0x587c61(0x1ae)]+_0x587c61(0x1a6);return(await this['_HTTPService'][_0x587c61(0x427)](_0x22ac63,{'body':_0xef0276}))[_0x587c61(0x21e)][_0x587c61(0x2a2)];}async[_0x424696(0x426)](_0x1ada88){var _0x2f6c03=_0x424696;const _0x3cf12a=this[_0x2f6c03(0x405)]()+_0x2f6c03(0x3f0);return(await this[_0x2f6c03(0x16f)][_0x2f6c03(0x427)](_0x3cf12a,{'body':{'requests':_0x1ada88}}))[_0x2f6c03(0x21e)]['objectActions'];}async['listRoles'](_0x3a396a){var _0x23c1c6=_0x424696;const _0x26e787=this[_0x23c1c6(0x405)]()+'/'+_0x3a396a[_0x23c1c6(0x2b6)]+_0x23c1c6(0x191),_0x53c2c3=await this[_0x23c1c6(0x16f)][_0x23c1c6(0x427)](_0x26e787,{'body':_0x3a396a});return{'roles':_0x53c2c3['body'][_0x23c1c6(0x276)],'actions':_0x53c2c3[_0x23c1c6(0x21e)]['actions']};}async[_0x424696(0x151)](_0x257574){var _0x595746=_0x424696;const _0x2fb579=this[_0x595746(0x405)]()+'/collaborator';await this[_0x595746(0x16f)][_0x595746(0x16c)](_0x2fb579,{'params':{'collaboratorID':_0x257574[_0x595746(0x13a)],'objectID':_0x257574[_0x595746(0x1ae)],'unitID':_0x257574['unitID']}});}async[_0x424696(0x17a)](_0x35c258){var _0x4525c4=_0x424696;const _0xc5c04a=this[_0x4525c4(0x405)]()+_0x4525c4(0x40e);await this[_0x4525c4(0x16f)]['patch'](_0xc5c04a,{'body':_0x35c258});}async['createCollaborator'](_0x1fa6c9){var _0x210cd3=_0x424696;const _0x37f421=this[_0x210cd3(0x405)]()+_0x210cd3(0x40e);await this[_0x210cd3(0x16f)][_0x210cd3(0x427)](_0x37f421,{'body':_0x1fa6c9});}async[_0x424696(0x281)](_0x54fdb9){var _0x5382f0=_0x424696;const _0x1fa396=this[_0x5382f0(0x405)]()+_0x5382f0(0x40e);return(await this[_0x5382f0(0x16f)][_0x5382f0(0x396)](_0x1fa396,{'params':{'objectID':_0x54fdb9[_0x5382f0(0x1ae)],'unitID':_0x54fdb9['unitID']}}))['body'][_0x5382f0(0x25e)];}async[_0x424696(0x3c8)](_0x4c997c){var _0x5b6800=_0x424696;const _0x10d674=this[_0x5b6800(0x405)]()+_0x5b6800(0x40e);await this[_0x5b6800(0x16f)]['put'](_0x10d674,{'body':_0x4c997c});}};bt=Nr([Jt(0x0,_0x186d60(_0x16a7d6)),Jt(0x1,_0x186d60(_0x257d37))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x121f(){var _0x19f96d=['_status$','catch','OpenSSL','_transformSelections','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaborators','routeKey','pluginName','padding','_getRedoStack','_scheduleCollaborationTimeoutTimer','AWAITING_WITH_PENDING','BlockCipher','deepClone','close$','transformMutationsWithChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','close','reject','send','init','_toggleOnline','_univerInstanceService','_compressMutationService','c2Prime','24MalyNh','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getOwnPropertyDescriptor','roles','joinRsp','awaitingChangeset','objects','editing\x20status\x20changed\x20to','byteLength','PasswordBasedCipher','EXCHANGE_SIGN_URL_SERVER_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','onStarting','onStateChange','listCollaborators','status$','bind','clone','getLatestCsReqIdBySid','roomInfos','[DataLoaderService]','encodeURIComponent','_data','_loadDoc','SEND_CHANGESET_TIMEOUT','UNIVER_SHEET','subUnitId','revision','refreshPermission','getDeserializedSheetBlock','_socketReady','complete','Malformed\x20UTF-8\x20data','_sheetTransformSelectionsService','/universer-api/user/session-ticket','_clearRedo','_disableEditing','readAsDataURL','[CollaborationUndoRedoService]','RECV','_initUnitPermissionChange','onRemoteRej','headers','hasOwnProperty','_transformRemoteChangesetByIMECache','USERS_ENTER','[UniverCollaborationClientPlugin]','actions','charAt','algo','asObservable','_process','POST','enableOfflineEditing','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_DEC_XFORM_MODE','_remoteChangesetQueue','_showConflictNotification','fetchMissingChangesets','_commandService','encrypt','clear','snapshot','HEARTBEAT','onRemoteChangeset','data','37269cTtcDg','objectType','cmd','disableLocalCache','/universer-api/file/{fileID}/sign-url','_invKeySchedule','loadSheet','Univer','/universer-api/authz','/universer-api/snapshot/','session.room-cnt-exceeds','getConfig','_onUserLeave','APPLY_NON_SEQUENTIAL_REVISION','focused$','115230oejSlJ','extend','_resendTimeout','onRemoteRetry','/object/','_initRequestHeader','image/png','Could\x20not\x20dynamically\x20require\x20\x22','_transformUndoredo','finalize','_onRemoteACK','_throwTelemetryCollaborationNewChangeset','_ENC_XFORM_MODE','getSheetBlock','_rescheduleHeartbeat','duration','/block/','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_clearTimeoutTimer','[CollaborationSessionService]','c1Prime','HttpImport','join','_timeoutTimer','floor','UNAUTHENTICATED','encode','_transformIMECache','params','image/bmp','updatePermissionObjEvent','transformUndoRedo','auth.needGotoLoginAlert','YUUMI_RATE_OVER_LIMIT','capture','/fetchmissing?from=','onMissedChangesetFetched','[PendingState]:\x20received\x20acknowledgement.','snapshotServerUrl','_members','splice','pending','UPDATE_PERMISSION_OBJ','_createHelper','YUUMI_UNABLE_LOAD_URL','getMember','_keyPriorReset','univer-pro.collaboration-client.network-condition.service','univer-pro.collaboration-client-socket-service','_retryCount','_waitCount','_append','slice','repeat','_snapshotService','getActiveSheet','SerializableCipher','_xformMode','_commentUpdate$','byteOffset','resourceIDs','signUrlServerUrl','UUID','&source=','_entityInit$','msCrypto','fetching\x20missing\x20changesets\x20from\x20','blockSize','enableAuthServer','_onConnectionOpen','_getCurrentRevision','eventID','_unitID','_retryConnectingTimer','_doProcessBlock','_telemetryService','defineProperty','_joinRoom','_event$','length','_createHandler','salt','filter','[CollaborationEntity]','key','socket$','SHA1','keySize','onRemoteAck','_sessionStatus$','set','_userManagerService','update','WordArray','transformSelections','SUBMIT_CHANGESET','waitForRoom$','getSnapshotAPIPath','BufferedBlockAlgorithm','toString','onCommandExecuted','withCredentials','_resendWithTimeout','confirm','setWaitCount','JOIN','getImage','updateOfflineData','saveChangeset','origin','SOCKET_FAILED','UNIVER_SLIDE','966588DPujBA','ERROR_IMAGE','{fileID}','words','mode','_instanceService','_waitForHeartbeatResponse','_state$','APPLY_REJECT','parse','ivSize','open$','prototype','emitEvent','_doCreateSocket','_transitionLocked','SOCKET_FAILED_RETRY','_decreaseWaiting','loginUrlKey','_getUploadFileURL','getUnitOnRev','ONLINE','_onRemoteChangeset','change$','ALREADY_EXISTS','image/gif','generateRandomId','saveSnapshot','reset','unknown','save\x20fail\x20reason\x20is\x20','_localCacheService','_awaitingChangeset','_undoRedoService','liveShareOperation','_localeService','COMPRESS_MUTATION_SEND','initWorkbookPermissionChange','UNKNOWN_CODE','_clearScheduledTask','state$','_acknowledgedAwaitingChangeset','disposeWithMe','_resendTimer','getValue','HEARTBEAT_TIMEOUT','LIVESHARE_NEW_HOST','json','result','_sendHeartbeat','USERS_LEAVE','originalMeta','_substituteUndoStack','fetchThroughInterceptors','iterations','pauseCollaboration','getTypeOfUnitAdded$','MSG_FOR_ERROR','substr','_tryEnsureSocket','_sessions','state','NO_OTHER_CLIENTS_EDITING','loadUnit','onSyncEditingCollabCursor','onCommentUpdate','charCodeAt','getWorkbookSelections','changesets','getCollabEntity','Base','session','ERROR_EXCEED_SIZE','_hash','default','reverse','getCurrentSelections','JOIN_ROOM_FAILED','sessionStatus','BlockCipherMode','LIVESHARE_REQUEST_HOST','LICENSE_MAX_UNITS_EXCEEDED','rev','sessionStatus$','_logService','_eventService','_roomMembers','resend','FAIL','_checkMissing','10IBGIYY','createEncryptor','\x20in\x20_schedule.','online$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','clamp','_collaborationPaused','get','stringify','_change$','saveSheetBlock','onMissingChangesets','CHANGESET_ACK','_registerDependencies','_iKey','create','__esModule','collabSubmitChangesetUrl','reduce','getUnitType','__Key__','OPTIONAL','url','_onRemoteRejected','session.room-full','Undefined','_updateLocalCache','downloadEndpointUrl','transformChangesets','append','loadOfflineData','compute','joinEvent','_pendingMutations','_stopTelemetryCollaborationNewChangeset','UNRECOGNIZED','_singleActiveUnitService','function','randomUUID','546252MelCmw','m2Prime','fromCharCode','EvpKDF','_onMessage','entries','_loadSheet','_mode','from','PERMISSION_DENIED','session.room-not-exists','_tryReconnect','textRanges','[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.','readInt32LE','map','CHANGESET_SHOULD_RETRY','x-univer-host','putCollaborators','CHANGESET_REVISION_CONFILICT','_changesetReqId','_revisionService','Base64','subscribe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','saveImage','LOGIN_URL_KEY','has','RETRY_CONNECTING_MAX_COUNT','authzUrl','kdf','_telemetryInfo','Utf8','_socketMessageSubscription','subject','_transformRemoteChangesetByStateCache','18lVveyz','fromCollab','NOT_FOUND','OTHER_CLIENTS_EDITING','message$','src','_httpService','unitId','FileId','now','_createInitialState','csAckEvent','_nRounds','_socketService','_oKey','/universer-api/uniscript','_init','_collaborationTimeoutTimer','unit-cache-','setConfig','/-/object/-/batch_allowed','stopTime','next','sid','collaMsg','readyForCollab','shouldCloseConn','_nDataBytes','getCurrentRevOfUnit','awaiting_with_pending','FETCH_MISS','ENSURE_SNAPSHOT_EXECUTION','createInstance','localCacheService','CBC','UNDEFINED','updateMember','NoPadding','sendChangesetTimeout','offline','HmacSHA1','_getAPIPrefixPath','dispose','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_redoStacks','forEach','onTransformSelections','_roomCreated$','getMemberID','_prevBlock','/collaborator','range','_listenToNetworkCondition','_replayCachedMutations','_commentService','_fetchMissChangesets','COMPLETION_FINISHED','getTime','__creator','SUBMIT_CHANGESET_TIMEOUT','infoRsp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','univer-pro.collaboration-client.single-active-unit-service','\x0aCurrent:\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','rng','_getSendChangesetTimeout','selections','_removeRoom','HttpExport','CONNECTOR_DATA_TOO_LARGE','PSEUDO_FETCH_MISSING_RESULT','batchAllowed','post','_incrementRevisionNumber','_minBufferSize','_substituteRedoStack','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_collaborationUIEventService','copyFileMeta','image/jpg','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','AES','/universer-api/stream/file/upload','APPLY_DUPLICATED','getCurrentUser','LICENSE_DISTRO_REJECTED','UPDATE_CURSOR','_key','INGEST','getUnitStatus$','$super','collaboratorID','MD5','loadDoc','_createHmacHelper','crypto','BASE64','SNAPSHOT_URL_KEY','override','allowed','find','not_collab','onTransformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20acknowledgement.','UNKNOWN_CMD','_transformStack','conflict','every','\x20-\x20','_updateStatus','_isPermissionRej','removeMember','_hasher','concat','deleteCollaborator','Pkcs7','PY_RUNTIME_SCRIPT_ERROR','_clearHeartbeatTimer','_onConflict','code','_handler','awaiting','abs','name','PENDING','_changesetSessionId','appendMutation','_configService','href','_collabSessionService','unitID','_memberService','status','format','[PendingState]:\x20unhandled\x20univer\x20type:\x20','isArray','Hasher','getUnit','debug','getCollabEntity$','onlyLocal','delete','LEAVE','liveShareNewHost','_HTTPService','Hex','getResourcesRequest','getFocusedUnit','LIVESHARE_OPERATION','random','_undoStacks','updateCursorEvent','CipherParams','_snapshotServerService','leaveEvent','updateCollaborator','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnitId','editingUnit','_state','SYNCED','exports','UNIVER_PROJECT','[OfflineState]:\x20received\x20rejection.','_executeRemoteChangeset','_onUserJoin','_createInitialStateImpl','_onConnectionFailed','_lockTransition','_syncEditingCollabCursor','socketService','_getCtorByUniverType','interceptor','Encryptor','Latin1','APPLY_PERMISSION_DENIED','_map','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/role','commentUpdateEvent','_unlockTransition','_createSocket','JOIN_ROOM_FULL','onload','_clearLocalCache','_iv','_startTelemetryCollaborationNewChangeset','PERMISSION_REJ','Decryptor','TOO_MANY_REQUESTS','sigBytes','LICENSE_IMPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','session.join-failed','_doFinalize','fetchMiss','_entities','_members$','closeSession','/allowed','updatePermissionPoint','APPLY_REVISION_CONFILICT','_onFetchMissResult','_handlerCallback','_type','[CollaborationSession]','dispose$','objectID','workbook','PERSON','LIVESHARE_TERMINATE','_onLocalMutation','YUUMI_URL_COL_OUT_OF_RANGE','_onRemoteRetry','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CONFLICT','enc','_doReset','_doCryptBlock','requestParams','_startCollaboration','target','executeCommand','_applyRemoteChangeset','synced','unsubscribe','_imageSourceCache','connection\x20error','_emitMembers','members$','JOIN_ROOM_PERMISSION_DENIED','pad','[FetchMissState]','FETCH_MISSING','reqId','setCurrentUser','_onRecvEvent','_scheduleCompleteTimestamp','HELLO','&to=','OTHER_CLIENT_EDITING','_getSignURL','_clearUndo','createDecryptor','UnitSnapshot','baseRev','LOCAL_CACHE_INTERVAL','getInterceptPoints','type','IDLE','list','_candidateSocket','_socket','submit\x20changeset\x20error!','toLowerCase','_onJoinRoomEvent','apply','_onOffline','9113555LIhHTX','CHANGESET_REJ','[CollaborationState]:\x20apply\x20error!','COMPRESS_MUTATION_APPLY','_transformStateCache','MUTATION','\x0aAfter:\x20','onTransformState','getTypeOfUnitDisposed$','_sendingTimer','8297mkBRlc','max','_networkConditionService','entityInit$','cfg','members','requireSession','179301MmGmGt','_collaborationSessionService','unpad','newCsEvent','resolve','\x20to\x20','UNIVER_UNKNOWN','LIVESHARE_FETCH_OPERATIONS','_getDownloadEndpointURL','pipe','add','_config','randomBytes','_reverseMap','OFFLINE','_schedule','fetch_missing','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_unitInfo$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getLoginPath','toggleOnline','getSheetId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_exhaustRemoteChangesetQueue','_submitChangeset','values','reconnect','compose','error','decrypt','transformStack\x20failed!','HmacMD5','/unit/','ciphertext','_updateState','_sender','_getAPIPrefix','retryConnectingInterval','_transformService','_socket$','_injector','JOINING','UNISCRIPT_RUN','body','toggleOffline','/rev/','action','UnitEmbedded','_getUndoStack','event$','_sendHeartbeatTimer','ceil','[SyncedState]:\x20received\x20rejection.','COLLAB_WEB_SOCKET_URL','[PendingState]:\x20received\x20rejection.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getRandomValues','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SNAPSHOT_HAS_BEEN_REMOVED','call','string','mutations','YUUMI_SUBSCRIPTION_NOT_FOUND','push','lib','_shouldReportTelemetry','location','/resources','NEW_CHANGESETS','mixIn','replace','size','SNAPSHOT_INVALID_SNAPSHOT','CLOSE_ROOM','onTransformRemoteChangesetByStateCache','unitInfo$','socket\x20close','UNIVER_DOC','&assign=','?size=','_replaceFileID','onSendChangeset','JOIN_ROOM_NOT_EXISTS','_toggleOffline','permissionRejEvent','avatar','createSocket','_permissionService','_cipher','400HzNnYr','_parse','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','localeService','startTime','onTransformIME','_queuedRemoteChangesets','memberID','registerHTTPInterceptor','image/jpeg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','formatter'];_0x121f=function(){return _0x19f96d;};return _0x121f();}function ke(_0x39c42f){var _0x1612a5=_0x424696;return _0x39c42f&&_0x39c42f[_0x1612a5(0x39f)]&&Object[_0x1612a5(0x341)][_0x1612a5(0x29e)][_0x1612a5(0x22e)](_0x39c42f,'default')?_0x39c42f[_0x1612a5(0x37f)]:_0x39c42f;}var Ge={'exports':{}};function Pr(_0x32d2ee){var _0x471aaa=_0x424696;throw new Error(_0x471aaa(0x2cb)+_0x32d2ee+_0x471aaa(0x274));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x269142,_0x53889e){(function(_0x54a7be,_0xc39328){var _0x5ea574=_0x181e;_0x269142[_0x5ea574(0x180)]=_0xc39328();}(wr,function(){var _0x40e479=_0x40e479||function(_0x585a6d,_0x16a3ec){var _0x1f2d27=_0x181e,_0x589b82;if(typeof window<'u'&&window[_0x1f2d27(0x13e)]&&(_0x589b82=window[_0x1f2d27(0x13e)]),typeof self<'u'&&self[_0x1f2d27(0x13e)]&&(_0x589b82=self[_0x1f2d27(0x13e)]),typeof globalThis<'u'&&globalThis[_0x1f2d27(0x13e)]&&(_0x589b82=globalThis[_0x1f2d27(0x13e)]),!_0x589b82&&typeof window<'u'&&window[_0x1f2d27(0x306)]&&(_0x589b82=window[_0x1f2d27(0x306)]),!_0x589b82&&typeof pt<'u'&&pt[_0x1f2d27(0x13e)]&&(_0x589b82=pt[_0x1f2d27(0x13e)]),!_0x589b82&&typeof Pr==_0x1f2d27(0x3b4))try{_0x589b82=require('crypto');}catch{}var _0x5dfdfa=function(){var _0x3305a6=_0x1f2d27;if(_0x589b82){if(typeof _0x589b82[_0x3305a6(0x22b)]==_0x3305a6(0x3b4))try{return _0x589b82['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x589b82['randomBytes']=='function')try{return _0x589b82[_0x3305a6(0x1fe)](0x4)[_0x3305a6(0x3c4)]();}catch{}}throw new Error(_0x3305a6(0x24e));},_0x2da137=Object[_0x1f2d27(0x39e)]||(function(){function _0x11b4d8(){}return function(_0x47a9c3){var _0x38d911=_0x181e,_0x1a2411;return _0x11b4d8[_0x38d911(0x341)]=_0x47a9c3,_0x1a2411=new _0x11b4d8(),_0x11b4d8[_0x38d911(0x341)]=null,_0x1a2411;};}()),_0x25a541={},_0x42f17a=_0x25a541['lib']={},_0xc96b0e=_0x42f17a[_0x1f2d27(0x37b)]=(function(){return{'extend':function(_0x18e926){var _0x10e242=_0x181e,_0x25909d=_0x2da137(this);return _0x18e926&&_0x25909d[_0x10e242(0x238)](_0x18e926),(!_0x25909d[_0x10e242(0x29e)]('init')||this[_0x10e242(0x26e)]===_0x25909d['init'])&&(_0x25909d[_0x10e242(0x26e)]=function(){var _0x1e61f1=_0x10e242;_0x25909d[_0x1e61f1(0x439)][_0x1e61f1(0x26e)][_0x1e61f1(0x1df)](this,arguments);}),_0x25909d['init'][_0x10e242(0x341)]=_0x25909d,_0x25909d[_0x10e242(0x439)]=this,_0x25909d;},'create':function(){var _0xe914ef=_0x181e,_0x191475=this[_0xe914ef(0x2c5)]();return _0x191475[_0xe914ef(0x26e)][_0xe914ef(0x1df)](_0x191475,arguments),_0x191475;},'init':function(){},'mixIn':function(_0x12c72e){var _0x385604=_0x181e;for(var _0x1ad358 in _0x12c72e)_0x12c72e[_0x385604(0x29e)](_0x1ad358)&&(this[_0x1ad358]=_0x12c72e[_0x1ad358]);_0x12c72e[_0x385604(0x29e)]('toString')&&(this[_0x385604(0x328)]=_0x12c72e[_0x385604(0x328)]);},'clone':function(){var _0x34113e=_0x181e;return this[_0x34113e(0x26e)][_0x34113e(0x341)][_0x34113e(0x2c5)](this);}};}()),_0x4a4c50=_0x42f17a[_0x1f2d27(0x322)]=_0xc96b0e[_0x1f2d27(0x2c5)]({'init':function(_0x18d0de,_0x4c17ff){var _0x1b6885=_0x1f2d27;_0x18d0de=this['words']=_0x18d0de||[],_0x4c17ff!=_0x16a3ec?this[_0x1b6885(0x19d)]=_0x4c17ff:this[_0x1b6885(0x19d)]=_0x18d0de[_0x1b6885(0x314)]*0x4;},'toString':function(_0x183915){var _0x1d4c6a=_0x1f2d27;return(_0x183915||_0x5ab70e)[_0x1d4c6a(0x397)](this);},'concat':function(_0x812c92){var _0x4877e9=_0x1f2d27,_0x75108=this[_0x4877e9(0x338)],_0x40ea67=_0x812c92['words'],_0x36749c=this[_0x4877e9(0x19d)],_0x337884=_0x812c92[_0x4877e9(0x19d)];if(this[_0x4877e9(0x394)](),_0x36749c%0x4)for(var _0x5acca3=0x0;_0x5acca3<_0x337884;_0x5acca3++){var _0x42d128=_0x40ea67[_0x5acca3>>>0x2]>>>0x18-_0x5acca3%0x4*0x8&0xff;_0x75108[_0x36749c+_0x5acca3>>>0x2]|=_0x42d128<<0x18-(_0x36749c+_0x5acca3)%0x4*0x8;}else{for(var _0x239ecf=0x0;_0x239ecf<_0x337884;_0x239ecf+=0x4)_0x75108[_0x36749c+_0x239ecf>>>0x2]=_0x40ea67[_0x239ecf>>>0x2];}return this['sigBytes']+=_0x337884,this;},'clamp':function(){var _0x25daff=_0x1f2d27,_0x5f5440=this[_0x25daff(0x338)],_0x3f3771=this['sigBytes'];_0x5f5440[_0x3f3771>>>0x2]&=0xffffffff<<0x20-_0x3f3771%0x4*0x8,_0x5f5440[_0x25daff(0x314)]=_0x585a6d[_0x25daff(0x226)](_0x3f3771/0x4);},'clone':function(){var _0x10fe7a=_0x1f2d27,_0x363d50=_0xc96b0e[_0x10fe7a(0x284)]['call'](this);return _0x363d50[_0x10fe7a(0x338)]=this[_0x10fe7a(0x338)][_0x10fe7a(0x2f9)](0x0),_0x363d50;},'random':function(_0x4d1e67){var _0x4c7557=_0x1f2d27;for(var _0x35c3ae=[],_0x52c7a6=0x0;_0x52c7a6<_0x4d1e67;_0x52c7a6+=0x4)_0x35c3ae[_0x4c7557(0x232)](_0x5dfdfa());return new _0x4a4c50[(_0x4c7557(0x26e))](_0x35c3ae,_0x4d1e67);}}),_0x1e61f9=_0x25a541['enc']={},_0x5ab70e=_0x1e61f9[_0x1f2d27(0x170)]={'stringify':function(_0x324444){var _0x8140ed=_0x1f2d27;for(var _0x1cf907=_0x324444['words'],_0x2a6327=_0x324444[_0x8140ed(0x19d)],_0x20eefa=[],_0x31c998=0x0;_0x31c998<_0x2a6327;_0x31c998++){var _0x2ed33f=_0x1cf907[_0x31c998>>>0x2]>>>0x18-_0x31c998%0x4*0x8&0xff;_0x20eefa[_0x8140ed(0x232)]((_0x2ed33f>>>0x4)[_0x8140ed(0x328)](0x10)),_0x20eefa[_0x8140ed(0x232)]((_0x2ed33f&0xf)['toString'](0x10));}return _0x20eefa[_0x8140ed(0x2db)]('');},'parse':function(_0x2d047f){var _0x44cb64=_0x1f2d27;for(var _0x4c710f=_0x2d047f[_0x44cb64(0x314)],_0x59cdb0=[],_0x2e3c94=0x0;_0x2e3c94<_0x4c710f;_0x2e3c94+=0x2)_0x59cdb0[_0x2e3c94>>>0x3]|=parseInt(_0x2d047f[_0x44cb64(0x36f)](_0x2e3c94,0x2),0x10)<<0x18-_0x2e3c94%0x8*0x4;return new _0x4a4c50[(_0x44cb64(0x26e))](_0x59cdb0,_0x4c710f/0x2);}},_0x27341c=_0x1e61f9[_0x1f2d27(0x18d)]={'stringify':function(_0x3aa6c1){var _0xc83bee=_0x1f2d27;for(var _0x228b02=_0x3aa6c1[_0xc83bee(0x338)],_0x26360d=_0x3aa6c1[_0xc83bee(0x19d)],_0x4afc86=[],_0x29c1c0=0x0;_0x29c1c0<_0x26360d;_0x29c1c0++){var _0x32563f=_0x228b02[_0x29c1c0>>>0x2]>>>0x18-_0x29c1c0%0x4*0x8&0xff;_0x4afc86[_0xc83bee(0x232)](String[_0xc83bee(0x3b8)](_0x32563f));}return _0x4afc86[_0xc83bee(0x2db)]('');},'parse':function(_0x4330df){var _0x295186=_0x1f2d27;for(var _0x2f9c83=_0x4330df[_0x295186(0x314)],_0x4862d3=[],_0x4ace0d=0x0;_0x4ace0d<_0x2f9c83;_0x4ace0d++)_0x4862d3[_0x4ace0d>>>0x2]|=(_0x4330df['charCodeAt'](_0x4ace0d)&0xff)<<0x18-_0x4ace0d%0x4*0x8;return new _0x4a4c50['init'](_0x4862d3,_0x2f9c83);}},_0x13b170=_0x1e61f9['Utf8']={'stringify':function(_0x5b585a){var _0x90f517=_0x1f2d27;try{return decodeURIComponent(escape(_0x27341c[_0x90f517(0x397)](_0x5b585a)));}catch{throw new Error(_0x90f517(0x293));}},'parse':function(_0x3ebc00){var _0x44e6d2=_0x1f2d27;return _0x27341c[_0x44e6d2(0x33e)](unescape(encodeURIComponent(_0x3ebc00)));}},_0x41e789=_0x42f17a[_0x1f2d27(0x327)]=_0xc96b0e[_0x1f2d27(0x2c5)]({'reset':function(){var _0x2bc4fe=_0x1f2d27;this[_0x2bc4fe(0x289)]=new _0x4a4c50[(_0x2bc4fe(0x26e))](),this['_nDataBytes']=0x0;},'_append':function(_0x403319){var _0x3e91f9=_0x1f2d27;typeof _0x403319==_0x3e91f9(0x22f)&&(_0x403319=_0x13b170['parse'](_0x403319)),this[_0x3e91f9(0x289)][_0x3e91f9(0x150)](_0x403319),this['_nDataBytes']+=_0x403319['sigBytes'];},'_process':function(_0x1d3da2){var _0x56d7f2=_0x1f2d27,_0x8dc096,_0x1a65bb=this[_0x56d7f2(0x289)],_0xd145cc=_0x1a65bb[_0x56d7f2(0x338)],_0x19e917=_0x1a65bb[_0x56d7f2(0x19d)],_0x37e0ea=this[_0x56d7f2(0x308)],_0x39a582=_0x37e0ea*0x4,_0x36cebf=_0x19e917/_0x39a582;_0x1d3da2?_0x36cebf=_0x585a6d[_0x56d7f2(0x226)](_0x36cebf):_0x36cebf=_0x585a6d[_0x56d7f2(0x1ec)]((_0x36cebf|0x0)-this[_0x56d7f2(0x429)],0x0);var _0x36ed0a=_0x36cebf*_0x37e0ea,_0x25e17a=_0x585a6d['min'](_0x36ed0a*0x4,_0x19e917);if(_0x36ed0a){for(var _0x2bf7a5=0x0;_0x2bf7a5<_0x36ed0a;_0x2bf7a5+=_0x37e0ea)this[_0x56d7f2(0x30f)](_0xd145cc,_0x2bf7a5);_0x8dc096=_0xd145cc[_0x56d7f2(0x2ed)](0x0,_0x36ed0a),_0x1a65bb['sigBytes']-=_0x25e17a;}return new _0x4a4c50[(_0x56d7f2(0x26e))](_0x8dc096,_0x25e17a);},'clone':function(){var _0x42daec=_0x1f2d27,_0x4d9999=_0xc96b0e[_0x42daec(0x284)][_0x42daec(0x22e)](this);return _0x4d9999[_0x42daec(0x289)]=this[_0x42daec(0x289)][_0x42daec(0x284)](),_0x4d9999;},'_minBufferSize':0x0});_0x42f17a[_0x1f2d27(0x167)]=_0x41e789[_0x1f2d27(0x2c5)]({'cfg':_0xc96b0e['extend'](),'init':function(_0x1195c0){var _0x54c7b9=_0x1f2d27;this[_0x54c7b9(0x1ef)]=this['cfg']['extend'](_0x1195c0),this[_0x54c7b9(0x351)]();},'reset':function(){var _0x6625d8=_0x1f2d27;_0x41e789[_0x6625d8(0x351)][_0x6625d8(0x22e)](this),this[_0x6625d8(0x1b8)]();},'update':function(_0x31f3e8){var _0x3001be=_0x1f2d27;return this[_0x3001be(0x2f8)](_0x31f3e8),this[_0x3001be(0x2a6)](),this;},'finalize':function(_0x52a544){var _0x5cad16=_0x1f2d27;_0x52a544&&this[_0x5cad16(0x2f8)](_0x52a544);var _0x1e99fe=this[_0x5cad16(0x1a1)]();return _0x1e99fe;},'blockSize':0x10,'_createHelper':function(_0x532dd2){return function(_0xbef7fc,_0x3c367a){var _0x2c515f=_0x181e;return new _0x532dd2['init'](_0x3c367a)[_0x2c515f(0x2cd)](_0xbef7fc);};},'_createHmacHelper':function(_0x3aded6){return function(_0x4fa352,_0x5bec37){var _0x12e8f6=_0x181e;return new _0x303b10['HMAC'][(_0x12e8f6(0x26e))](_0x3aded6,_0x5bec37)['finalize'](_0x4fa352);};}});var _0x303b10=_0x25a541['algo']={};return _0x25a541;}(Math);return _0x40e479;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x424696(0x180)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x28c710,_0x5eb348){(function(_0x29b3f4,_0xecd04b){_0x28c710['exports']=_0xecd04b(ie());}(Ur,function(_0x5866d8){var _0x1614b9=_0x181e;return(function(){var _0x361833=_0x181e,_0x4723e2=_0x5866d8,_0x1087e1=_0x4723e2[_0x361833(0x233)],_0x4440a9=_0x1087e1[_0x361833(0x322)],_0x152bd2=_0x4723e2[_0x361833(0x1b7)];_0x152bd2[_0x361833(0x3cc)]={'stringify':function(_0x15d894){var _0x4e69a3=_0x361833,_0x1b4210=_0x15d894['words'],_0x48f1b=_0x15d894[_0x4e69a3(0x19d)],_0x46596c=this[_0x4e69a3(0x18f)];_0x15d894[_0x4e69a3(0x394)]();for(var _0x3d6423=[],_0x5aa05e=0x0;_0x5aa05e<_0x48f1b;_0x5aa05e+=0x3)for(var _0x4c309a=_0x1b4210[_0x5aa05e>>>0x2]>>>0x18-_0x5aa05e%0x4*0x8&0xff,_0x2a8b37=_0x1b4210[_0x5aa05e+0x1>>>0x2]>>>0x18-(_0x5aa05e+0x1)%0x4*0x8&0xff,_0x472059=_0x1b4210[_0x5aa05e+0x2>>>0x2]>>>0x18-(_0x5aa05e+0x2)%0x4*0x8&0xff,_0x2c9775=_0x4c309a<<0x10|_0x2a8b37<<0x8|_0x472059,_0x14c78f=0x0;_0x14c78f<0x4&&_0x5aa05e+_0x14c78f*0.75<_0x48f1b;_0x14c78f++)_0x3d6423[_0x4e69a3(0x232)](_0x46596c['charAt'](_0x2c9775>>>0x6*(0x3-_0x14c78f)&0x3f));var _0x5ee179=_0x46596c['charAt'](0x40);if(_0x5ee179){for(;_0x3d6423[_0x4e69a3(0x314)]%0x4;)_0x3d6423[_0x4e69a3(0x232)](_0x5ee179);}return _0x3d6423[_0x4e69a3(0x2db)]('');},'parse':function(_0x1055fe){var _0x156025=_0x361833,_0x1ac3ac=_0x1055fe[_0x156025(0x314)],_0x5bd173=this[_0x156025(0x18f)],_0x33cdc2=this[_0x156025(0x1ff)];if(!_0x33cdc2){_0x33cdc2=this[_0x156025(0x1ff)]=[];for(var _0x4d8b36=0x0;_0x4d8b36<_0x5bd173[_0x156025(0x314)];_0x4d8b36++)_0x33cdc2[_0x5bd173[_0x156025(0x377)](_0x4d8b36)]=_0x4d8b36;}var _0x57bbbf=_0x5bd173[_0x156025(0x2a3)](0x40);if(_0x57bbbf){var _0x5dc17f=_0x1055fe['indexOf'](_0x57bbbf);_0x5dc17f!==-0x1&&(_0x1ac3ac=_0x5dc17f);}return _0x47ddcb(_0x1055fe,_0x1ac3ac,_0x33cdc2);},'_map':_0x361833(0x3ce)};function _0x47ddcb(_0x17a1b6,_0x33712c,_0x2e2e3f){var _0x356953=_0x361833;for(var _0x4d6a2e=[],_0x29cfa2=0x0,_0x5b11cf=0x0;_0x5b11cf<_0x33712c;_0x5b11cf++)if(_0x5b11cf%0x4){var _0x2c7cbc=_0x2e2e3f[_0x17a1b6['charCodeAt'](_0x5b11cf-0x1)]<<_0x5b11cf%0x4*0x2,_0x7b6610=_0x2e2e3f[_0x17a1b6['charCodeAt'](_0x5b11cf)]>>>0x6-_0x5b11cf%0x4*0x2,_0x1c87d4=_0x2c7cbc|_0x7b6610;_0x4d6a2e[_0x29cfa2>>>0x2]|=_0x1c87d4<<0x18-_0x29cfa2%0x4*0x8,_0x29cfa2++;}return _0x4440a9[_0x356953(0x39e)](_0x4d6a2e,_0x29cfa2);}}()),_0x5866d8[_0x1614b9(0x1b7)][_0x1614b9(0x3cc)];}));}(We)),We['exports'];}var Ke={'exports':{}},Ar=Ke[_0x424696(0x180)],Qt;function xr(){var _0x5eb346=_0x424696;return Qt||(Qt=0x1,function(_0x50263c,_0x1c560c){(function(_0x18efa8,_0x1262b2){var _0x3531aa=_0x181e;_0x50263c[_0x3531aa(0x180)]=_0x1262b2(ie());}(Ar,function(_0x41dc80){var _0x4e452f=_0x181e;return function(_0xa9d063){var _0x270278=_0x181e,_0x30a85f=_0x41dc80,_0x1fa186=_0x30a85f['lib'],_0x416d1c=_0x1fa186[_0x270278(0x322)],_0x52d5a5=_0x1fa186[_0x270278(0x167)],_0x92a45d=_0x30a85f[_0x270278(0x2a4)],_0x23f640=[];(function(){var _0x5c5ae4=_0x270278;for(var _0x5b1184=0x0;_0x5b1184<0x40;_0x5b1184++)_0x23f640[_0x5b1184]=_0xa9d063[_0x5c5ae4(0x159)](_0xa9d063['sin'](_0x5b1184+0x1))*0x100000000|0x0;}());var _0x140c9e=_0x92a45d['MD5']=_0x52d5a5[_0x270278(0x2c5)]({'_doReset':function(){var _0x3be154=_0x270278;this[_0x3be154(0x37e)]=new _0x416d1c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x53e672,_0x211f00){var _0x35f7a1=_0x270278;for(var _0x32e805=0x0;_0x32e805<0x10;_0x32e805++){var _0x84c6c2=_0x211f00+_0x32e805,_0x18d5ad=_0x53e672[_0x84c6c2];_0x53e672[_0x84c6c2]=(_0x18d5ad<<0x8|_0x18d5ad>>>0x18)&0xff00ff|(_0x18d5ad<<0x18|_0x18d5ad>>>0x8)&0xff00ff00;}var _0x516247=this[_0x35f7a1(0x37e)]['words'],_0x1f55f4=_0x53e672[_0x211f00+0x0],_0x264d85=_0x53e672[_0x211f00+0x1],_0x2d81b9=_0x53e672[_0x211f00+0x2],_0x20c6a6=_0x53e672[_0x211f00+0x3],_0x299599=_0x53e672[_0x211f00+0x4],_0x414566=_0x53e672[_0x211f00+0x5],_0xc4a146=_0x53e672[_0x211f00+0x6],_0x5d7c4f=_0x53e672[_0x211f00+0x7],_0x21a28d=_0x53e672[_0x211f00+0x8],_0x26c288=_0x53e672[_0x211f00+0x9],_0x765fc9=_0x53e672[_0x211f00+0xa],_0x4c4839=_0x53e672[_0x211f00+0xb],_0xd43127=_0x53e672[_0x211f00+0xc],_0x5089fb=_0x53e672[_0x211f00+0xd],_0x35c794=_0x53e672[_0x211f00+0xe],_0x215e2d=_0x53e672[_0x211f00+0xf],_0x5b7a74=_0x516247[0x0],_0x56e32d=_0x516247[0x1],_0x23cc5c=_0x516247[0x2],_0x5a0fbb=_0x516247[0x3];_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x1f55f4,0x7,_0x23f640[0x0]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x264d85,0xc,_0x23f640[0x1]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x2d81b9,0x11,_0x23f640[0x2]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x20c6a6,0x16,_0x23f640[0x3]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x299599,0x7,_0x23f640[0x4]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x414566,0xc,_0x23f640[0x5]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0xc4a146,0x11,_0x23f640[0x6]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x5d7c4f,0x16,_0x23f640[0x7]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x21a28d,0x7,_0x23f640[0x8]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x26c288,0xc,_0x23f640[0x9]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x765fc9,0x11,_0x23f640[0xa]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x4c4839,0x16,_0x23f640[0xb]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0xd43127,0x7,_0x23f640[0xc]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5089fb,0xc,_0x23f640[0xd]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x35c794,0x11,_0x23f640[0xe]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x215e2d,0x16,_0x23f640[0xf]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x264d85,0x5,_0x23f640[0x10]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0xc4a146,0x9,_0x23f640[0x11]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x4c4839,0xe,_0x23f640[0x12]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x1f55f4,0x14,_0x23f640[0x13]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x414566,0x5,_0x23f640[0x14]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x765fc9,0x9,_0x23f640[0x15]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x215e2d,0xe,_0x23f640[0x16]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x299599,0x14,_0x23f640[0x17]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x26c288,0x5,_0x23f640[0x18]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x35c794,0x9,_0x23f640[0x19]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x20c6a6,0xe,_0x23f640[0x1a]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x21a28d,0x14,_0x23f640[0x1b]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5089fb,0x5,_0x23f640[0x1c]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x2d81b9,0x9,_0x23f640[0x1d]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x5d7c4f,0xe,_0x23f640[0x1e]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0xd43127,0x14,_0x23f640[0x1f]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x414566,0x4,_0x23f640[0x20]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x21a28d,0xb,_0x23f640[0x21]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x4c4839,0x10,_0x23f640[0x22]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x35c794,0x17,_0x23f640[0x23]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x264d85,0x4,_0x23f640[0x24]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x299599,0xb,_0x23f640[0x25]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x5d7c4f,0x10,_0x23f640[0x26]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x765fc9,0x17,_0x23f640[0x27]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5089fb,0x4,_0x23f640[0x28]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x1f55f4,0xb,_0x23f640[0x29]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x20c6a6,0x10,_0x23f640[0x2a]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0xc4a146,0x17,_0x23f640[0x2b]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x26c288,0x4,_0x23f640[0x2c]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0xd43127,0xb,_0x23f640[0x2d]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x215e2d,0x10,_0x23f640[0x2e]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x2d81b9,0x17,_0x23f640[0x2f]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x1f55f4,0x6,_0x23f640[0x30]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5d7c4f,0xa,_0x23f640[0x31]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x35c794,0xf,_0x23f640[0x32]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x414566,0x15,_0x23f640[0x33]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0xd43127,0x6,_0x23f640[0x34]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x20c6a6,0xa,_0x23f640[0x35]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x765fc9,0xf,_0x23f640[0x36]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x264d85,0x15,_0x23f640[0x37]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x21a28d,0x6,_0x23f640[0x38]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x215e2d,0xa,_0x23f640[0x39]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0xc4a146,0xf,_0x23f640[0x3a]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x5089fb,0x15,_0x23f640[0x3b]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x299599,0x6,_0x23f640[0x3c]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x4c4839,0xa,_0x23f640[0x3d]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x2d81b9,0xf,_0x23f640[0x3e]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x26c288,0x15,_0x23f640[0x3f]),_0x516247[0x0]=_0x516247[0x0]+_0x5b7a74|0x0,_0x516247[0x1]=_0x516247[0x1]+_0x56e32d|0x0,_0x516247[0x2]=_0x516247[0x2]+_0x23cc5c|0x0,_0x516247[0x3]=_0x516247[0x3]+_0x5a0fbb|0x0;},'_doFinalize':function(){var _0xf3d6b4=_0x270278,_0x247af5=this['_data'],_0x51f87=_0x247af5[_0xf3d6b4(0x338)],_0x16bf35=this[_0xf3d6b4(0x3f7)]*0x8,_0x1f2767=_0x247af5[_0xf3d6b4(0x19d)]*0x8;_0x51f87[_0x1f2767>>>0x5]|=0x80<<0x18-_0x1f2767%0x20;var _0x1ec22a=_0xa9d063['floor'](_0x16bf35/0x100000000),_0x226dae=_0x16bf35;_0x51f87[(_0x1f2767+0x40>>>0x9<<0x4)+0xf]=(_0x1ec22a<<0x8|_0x1ec22a>>>0x18)&0xff00ff|(_0x1ec22a<<0x18|_0x1ec22a>>>0x8)&0xff00ff00,_0x51f87[(_0x1f2767+0x40>>>0x9<<0x4)+0xe]=(_0x226dae<<0x8|_0x226dae>>>0x18)&0xff00ff|(_0x226dae<<0x18|_0x226dae>>>0x8)&0xff00ff00,_0x247af5[_0xf3d6b4(0x19d)]=(_0x51f87['length']+0x1)*0x4,this[_0xf3d6b4(0x2a6)]();for(var _0x4072ad=this['_hash'],_0x134d13=_0x4072ad['words'],_0x2c13d0=0x0;_0x2c13d0<0x4;_0x2c13d0++){var _0x22bac7=_0x134d13[_0x2c13d0];_0x134d13[_0x2c13d0]=(_0x22bac7<<0x8|_0x22bac7>>>0x18)&0xff00ff|(_0x22bac7<<0x18|_0x22bac7>>>0x8)&0xff00ff00;}return _0x4072ad;},'clone':function(){var _0x5ac835=_0x270278,_0x4848de=_0x52d5a5['clone']['call'](this);return _0x4848de[_0x5ac835(0x37e)]=this['_hash'][_0x5ac835(0x284)](),_0x4848de;}});function _0x511071(_0x48faaa,_0x37dffe,_0x39778b,_0x32c8a1,_0x361a10,_0x24426f,_0x45891c){var _0x578900=_0x48faaa+(_0x37dffe&_0x39778b|~_0x37dffe&_0x32c8a1)+_0x361a10+_0x45891c;return(_0x578900<<_0x24426f|_0x578900>>>0x20-_0x24426f)+_0x37dffe;}function _0x58230c(_0x52f05b,_0x58c155,_0x4baf4d,_0x386228,_0x2bfae5,_0x588212,_0x3c3e4c){var _0x2a50bd=_0x52f05b+(_0x58c155&_0x386228|_0x4baf4d&~_0x386228)+_0x2bfae5+_0x3c3e4c;return(_0x2a50bd<<_0x588212|_0x2a50bd>>>0x20-_0x588212)+_0x58c155;}function _0x4be6d0(_0x184ae0,_0x2b2081,_0x5caab5,_0x5a2eb0,_0x3160ed,_0x113299,_0x11bb04){var _0x40181a=_0x184ae0+(_0x2b2081^_0x5caab5^_0x5a2eb0)+_0x3160ed+_0x11bb04;return(_0x40181a<<_0x113299|_0x40181a>>>0x20-_0x113299)+_0x2b2081;}function _0x376a1b(_0x32731a,_0x31f619,_0x173acc,_0xa643aa,_0x2f1ada,_0x320c90,_0x45edfd){var _0x4adc84=_0x32731a+(_0x173acc^(_0x31f619|~_0xa643aa))+_0x2f1ada+_0x45edfd;return(_0x4adc84<<_0x320c90|_0x4adc84>>>0x20-_0x320c90)+_0x31f619;}_0x30a85f['MD5']=_0x52d5a5[_0x270278(0x2f0)](_0x140c9e),_0x30a85f[_0x270278(0x212)]=_0x52d5a5[_0x270278(0x13d)](_0x140c9e);}(Math),_0x41dc80[_0x4e452f(0x13b)];}));}(Ke)),Ke[_0x5eb346(0x180)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe['exports'],ei;function Mr(){var _0x397900=_0x424696;return ei||(ei=0x1,function(_0x12fdd2,_0x42e544){(function(_0x30d8a6,_0x491b61){var _0x25fcf0=_0x181e;_0x12fdd2[_0x25fcf0(0x180)]=_0x491b61(ie());}(Lr,function(_0x9cb893){var _0x2554bd=_0x181e;return(function(){var _0xa3253b=_0x181e,_0x5ead5c=_0x9cb893,_0xdc0a9=_0x5ead5c[_0xa3253b(0x233)],_0x32b372=_0xdc0a9[_0xa3253b(0x322)],_0x362425=_0xdc0a9[_0xa3253b(0x167)],_0x2379d5=_0x5ead5c[_0xa3253b(0x2a4)],_0x4c20fa=[],_0xe4ac01=_0x2379d5[_0xa3253b(0x31b)]=_0x362425['extend']({'_doReset':function(){var _0x121d66=_0xa3253b;this[_0x121d66(0x37e)]=new _0x32b372['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x47eca4,_0x2dbaa2){var _0x111d4c=_0xa3253b;for(var _0x31bc8c=this[_0x111d4c(0x37e)]['words'],_0x392718=_0x31bc8c[0x0],_0x185cbb=_0x31bc8c[0x1],_0x4f91fe=_0x31bc8c[0x2],_0xdd1a8a=_0x31bc8c[0x3],_0x2493e9=_0x31bc8c[0x4],_0x3f6260=0x0;_0x3f6260<0x50;_0x3f6260++){if(_0x3f6260<0x10)_0x4c20fa[_0x3f6260]=_0x47eca4[_0x2dbaa2+_0x3f6260]|0x0;else{var _0x124b9b=_0x4c20fa[_0x3f6260-0x3]^_0x4c20fa[_0x3f6260-0x8]^_0x4c20fa[_0x3f6260-0xe]^_0x4c20fa[_0x3f6260-0x10];_0x4c20fa[_0x3f6260]=_0x124b9b<<0x1|_0x124b9b>>>0x1f;}var _0x15e0c3=(_0x392718<<0x5|_0x392718>>>0x1b)+_0x2493e9+_0x4c20fa[_0x3f6260];_0x3f6260<0x14?_0x15e0c3+=(_0x185cbb&_0x4f91fe|~_0x185cbb&_0xdd1a8a)+0x5a827999:_0x3f6260<0x28?_0x15e0c3+=(_0x185cbb^_0x4f91fe^_0xdd1a8a)+0x6ed9eba1:_0x3f6260<0x3c?_0x15e0c3+=(_0x185cbb&_0x4f91fe|_0x185cbb&_0xdd1a8a|_0x4f91fe&_0xdd1a8a)-0x70e44324:_0x15e0c3+=(_0x185cbb^_0x4f91fe^_0xdd1a8a)-0x359d3e2a,_0x2493e9=_0xdd1a8a,_0xdd1a8a=_0x4f91fe,_0x4f91fe=_0x185cbb<<0x1e|_0x185cbb>>>0x2,_0x185cbb=_0x392718,_0x392718=_0x15e0c3;}_0x31bc8c[0x0]=_0x31bc8c[0x0]+_0x392718|0x0,_0x31bc8c[0x1]=_0x31bc8c[0x1]+_0x185cbb|0x0,_0x31bc8c[0x2]=_0x31bc8c[0x2]+_0x4f91fe|0x0,_0x31bc8c[0x3]=_0x31bc8c[0x3]+_0xdd1a8a|0x0,_0x31bc8c[0x4]=_0x31bc8c[0x4]+_0x2493e9|0x0;},'_doFinalize':function(){var _0x1f1078=_0xa3253b,_0x64524f=this[_0x1f1078(0x289)],_0x548d99=_0x64524f[_0x1f1078(0x338)],_0x3042e2=this[_0x1f1078(0x3f7)]*0x8,_0x45169d=_0x64524f[_0x1f1078(0x19d)]*0x8;return _0x548d99[_0x45169d>>>0x5]|=0x80<<0x18-_0x45169d%0x20,_0x548d99[(_0x45169d+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f1078(0x2dd)](_0x3042e2/0x100000000),_0x548d99[(_0x45169d+0x40>>>0x9<<0x4)+0xf]=_0x3042e2,_0x64524f[_0x1f1078(0x19d)]=_0x548d99[_0x1f1078(0x314)]*0x4,this[_0x1f1078(0x2a6)](),this['_hash'];},'clone':function(){var _0x29335e=_0xa3253b,_0x2f5b3e=_0x362425[_0x29335e(0x284)][_0x29335e(0x22e)](this);return _0x2f5b3e[_0x29335e(0x37e)]=this[_0x29335e(0x37e)][_0x29335e(0x284)](),_0x2f5b3e;}});_0x5ead5c['SHA1']=_0x362425[_0xa3253b(0x2f0)](_0xe4ac01),_0x5ead5c[_0xa3253b(0x404)]=_0x362425[_0xa3253b(0x13d)](_0xe4ac01);}()),_0x9cb893[_0x2554bd(0x31b)];}));}(qe)),qe[_0x397900(0x180)];}var ze={'exports':{}},$r=ze[_0x424696(0x180)],ti;function Hr(){var _0x32e9b6=_0x424696;return ti||(ti=0x1,function(_0x473102,_0x2b57b5){(function(_0x8e2284,_0x79f601){var _0x36e630=_0x181e;_0x473102[_0x36e630(0x180)]=_0x79f601(ie());}($r,function(_0x38f7a9){(function(){var _0x249611=_0x181e,_0xea25f2=_0x38f7a9,_0x298807=_0xea25f2[_0x249611(0x233)],_0xd0608a=_0x298807[_0x249611(0x37b)],_0x220603=_0xea25f2[_0x249611(0x1b7)],_0x2a0acd=_0x220603[_0x249611(0x3d8)],_0x5b1217=_0xea25f2['algo'];_0x5b1217['HMAC']=_0xd0608a[_0x249611(0x2c5)]({'init':function(_0x4af5a0,_0x11aff6){var _0x420931=_0x249611;_0x4af5a0=this[_0x420931(0x14f)]=new _0x4af5a0['init'](),typeof _0x11aff6==_0x420931(0x22f)&&(_0x11aff6=_0x2a0acd[_0x420931(0x33e)](_0x11aff6));var _0xebd68e=_0x4af5a0['blockSize'],_0x314549=_0xebd68e*0x4;_0x11aff6[_0x420931(0x19d)]>_0x314549&&(_0x11aff6=_0x4af5a0[_0x420931(0x2cd)](_0x11aff6)),_0x11aff6[_0x420931(0x394)]();for(var _0xc7e7bc=this[_0x420931(0x3ea)]=_0x11aff6[_0x420931(0x284)](),_0x1d1fbb=this['_iKey']=_0x11aff6[_0x420931(0x284)](),_0x334f27=_0xc7e7bc[_0x420931(0x338)],_0x136c87=_0x1d1fbb[_0x420931(0x338)],_0x330b0d=0x0;_0x330b0d<_0xebd68e;_0x330b0d++)_0x334f27[_0x330b0d]^=0x5c5c5c5c,_0x136c87[_0x330b0d]^=0x36363636;_0xc7e7bc[_0x420931(0x19d)]=_0x1d1fbb['sigBytes']=_0x314549,this[_0x420931(0x351)]();},'reset':function(){var _0x28b829=_0x249611,_0x5b2aad=this['_hasher'];_0x5b2aad[_0x28b829(0x351)](),_0x5b2aad[_0x28b829(0x321)](this[_0x28b829(0x39d)]);},'update':function(_0x5a36d2){var _0x81330a=_0x249611;return this['_hasher'][_0x81330a(0x321)](_0x5a36d2),this;},'finalize':function(_0x1aa9d5){var _0x584629=_0x249611,_0x4ea358=this[_0x584629(0x14f)],_0x26e4c2=_0x4ea358[_0x584629(0x2cd)](_0x1aa9d5);_0x4ea358['reset']();var _0x54eb09=_0x4ea358[_0x584629(0x2cd)](this['_oKey'][_0x584629(0x284)]()[_0x584629(0x150)](_0x26e4c2));return _0x54eb09;}});}());}));}(ze)),ze[_0x32e9b6(0x180)];}var kr=Ye[_0x424696(0x180)],ii;function Pi(){var _0x1edcf1=_0x424696;return ii||(ii=0x1,function(_0x319c3e,_0x1a533f){(function(_0x49458f,_0x450c3a,_0x5669c6){var _0x43e9d1=_0x181e;_0x319c3e[_0x43e9d1(0x180)]=_0x450c3a(ie(),Mr(),Hr());}(kr,function(_0x2d4555){return(function(){var _0x25a129=_0x181e,_0x101d3e=_0x2d4555,_0x2a03e3=_0x101d3e[_0x25a129(0x233)],_0x334f1d=_0x2a03e3['Base'],_0x4b4f6c=_0x2a03e3[_0x25a129(0x322)],_0x17c1db=_0x101d3e[_0x25a129(0x2a4)],_0x4159de=_0x17c1db[_0x25a129(0x13b)],_0x29f91b=_0x17c1db['EvpKDF']=_0x334f1d[_0x25a129(0x2c5)]({'cfg':_0x334f1d[_0x25a129(0x2c5)]({'keySize':0x80/0x20,'hasher':_0x4159de,'iterations':0x1}),'init':function(_0x4f2fb5){var _0x5b28fa=_0x25a129;this[_0x5b28fa(0x1ef)]=this[_0x5b28fa(0x1ef)][_0x5b28fa(0x2c5)](_0x4f2fb5);},'compute':function(_0x26d40d,_0x524207){var _0x5526fb=_0x25a129;for(var _0x56f588,_0x601cbc=this[_0x5526fb(0x1ef)],_0x17bf63=_0x601cbc['hasher'][_0x5526fb(0x39e)](),_0x467624=_0x4b4f6c[_0x5526fb(0x39e)](),_0x2dbcac=_0x467624['words'],_0x58f335=_0x601cbc[_0x5526fb(0x31c)],_0x15199e=_0x601cbc[_0x5526fb(0x36b)];_0x2dbcac[_0x5526fb(0x314)]<_0x58f335;){_0x56f588&&_0x17bf63[_0x5526fb(0x321)](_0x56f588),_0x56f588=_0x17bf63[_0x5526fb(0x321)](_0x26d40d)[_0x5526fb(0x2cd)](_0x524207),_0x17bf63['reset']();for(var _0x367b10=0x1;_0x367b10<_0x15199e;_0x367b10++)_0x56f588=_0x17bf63[_0x5526fb(0x2cd)](_0x56f588),_0x17bf63[_0x5526fb(0x351)]();_0x467624[_0x5526fb(0x150)](_0x56f588);}return _0x467624[_0x5526fb(0x19d)]=_0x58f335*0x4,_0x467624;}});_0x101d3e['EvpKDF']=function(_0x326399,_0x35bf47,_0x1e5721){return _0x29f91b['create'](_0x1e5721)['compute'](_0x326399,_0x35bf47);};}()),_0x2d4555['EvpKDF'];}));}(Ye)),Ye[_0x1edcf1(0x180)];}var Je={'exports':{}},jr=Je[_0x424696(0x180)],ni;function wi(){return ni||(ni=0x1,function(_0x334c57,_0x575766){(function(_0x1fd18b,_0x171a3f,_0x4a097e){_0x334c57['exports']=_0x171a3f(ie(),Pi());}(jr,function(_0x21ac39){_0x21ac39['lib']['Cipher']||function(_0xc6ac27){var _0x592e77=_0x181e,_0x3094d5=_0x21ac39,_0x3579ca=_0x3094d5[_0x592e77(0x233)],_0x4acc52=_0x3579ca['Base'],_0x46c868=_0x3579ca[_0x592e77(0x322)],_0xbbfbf1=_0x3579ca[_0x592e77(0x327)],_0x376117=_0x3094d5[_0x592e77(0x1b7)];_0x376117[_0x592e77(0x3d8)];var _0x2051fe=_0x376117[_0x592e77(0x3cc)],_0x3ed731=_0x3094d5['algo'],_0x661384=_0x3ed731[_0x592e77(0x3b9)],_0x4b70e3=_0x3579ca['Cipher']=_0xbbfbf1['extend']({'cfg':_0x4acc52[_0x592e77(0x2c5)](),'createEncryptor':function(_0x8315bc,_0x455e07){var _0x476cbf=_0x592e77;return this[_0x476cbf(0x39e)](this[_0x476cbf(0x2d0)],_0x8315bc,_0x455e07);},'createDecryptor':function(_0x533213,_0x44ce17){var _0x1e9e0a=_0x592e77;return this['create'](this[_0x1e9e0a(0x2aa)],_0x533213,_0x44ce17);},'init':function(_0x46c9bd,_0x4cc9fa,_0x223028){var _0x1f5858=_0x592e77;this[_0x1f5858(0x1ef)]=this[_0x1f5858(0x1ef)]['extend'](_0x223028),this[_0x1f5858(0x2fe)]=_0x46c9bd,this[_0x1f5858(0x436)]=_0x4cc9fa,this['reset']();},'reset':function(){var _0x2fe227=_0x592e77;_0xbbfbf1[_0x2fe227(0x351)][_0x2fe227(0x22e)](this),this[_0x2fe227(0x1b8)]();},'process':function(_0x3f7518){var _0x33c8bb=_0x592e77;return this[_0x33c8bb(0x2f8)](_0x3f7518),this[_0x33c8bb(0x2a6)]();},'finalize':function(_0x1d3012){var _0x578aa1=_0x592e77;_0x1d3012&&this[_0x578aa1(0x2f8)](_0x1d3012);var _0x5e4a23=this[_0x578aa1(0x1a1)]();return _0x5e4a23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2970ce(_0x134f2f){return typeof _0x134f2f=='string'?_0x105d6e:_0x1973c6;}return function(_0x20ee9b){return{'encrypt':function(_0x30b033,_0x5437ac,_0x53aa1b){var _0x31dd9e=_0x181e;return _0x2970ce(_0x5437ac)[_0x31dd9e(0x2af)](_0x20ee9b,_0x30b033,_0x5437ac,_0x53aa1b);},'decrypt':function(_0x36ef68,_0x483ff6,_0x2a362a){return _0x2970ce(_0x483ff6)['decrypt'](_0x20ee9b,_0x36ef68,_0x483ff6,_0x2a362a);}};};}())});_0x3579ca['StreamCipher']=_0x4b70e3['extend']({'_doFinalize':function(){var _0x4257d5=_0x592e77,_0x664132=this[_0x4257d5(0x2a6)](!0x0);return _0x664132;},'blockSize':0x1});var _0xfd091=_0x3094d5[_0x592e77(0x339)]={},_0x410e5e=_0x3579ca[_0x592e77(0x384)]=_0x4acc52[_0x592e77(0x2c5)]({'createEncryptor':function(_0x17a459,_0x29b874){var _0x11a00e=_0x592e77;return this[_0x11a00e(0x18c)]['create'](_0x17a459,_0x29b874);},'createDecryptor':function(_0x450ad3,_0x556645){var _0x1799ba=_0x592e77;return this[_0x1799ba(0x19b)][_0x1799ba(0x39e)](_0x450ad3,_0x556645);},'init':function(_0x5bd305,_0x10af86){var _0x20b3df=_0x592e77;this['_cipher']=_0x5bd305,this[_0x20b3df(0x198)]=_0x10af86;}}),_0x43322e=_0xfd091[_0x592e77(0x3fe)]=(function(){var _0xe728e=_0x592e77,_0x5eb839=_0x410e5e[_0xe728e(0x2c5)]();_0x5eb839['Encryptor']=_0x5eb839[_0xe728e(0x2c5)]({'processBlock':function(_0x2b2944,_0x82d363){var _0x5d831c=_0xe728e,_0x5ad0bc=this[_0x5d831c(0x24b)],_0x2688ae=_0x5ad0bc['blockSize'];_0x50fe2[_0x5d831c(0x22e)](this,_0x2b2944,_0x82d363,_0x2688ae),_0x5ad0bc['encryptBlock'](_0x2b2944,_0x82d363),this[_0x5d831c(0x40d)]=_0x2b2944[_0x5d831c(0x2f9)](_0x82d363,_0x82d363+_0x2688ae);}}),_0x5eb839[_0xe728e(0x19b)]=_0x5eb839[_0xe728e(0x2c5)]({'processBlock':function(_0x2479c4,_0x441340){var _0x4f3b01=_0xe728e,_0x29e607=this['_cipher'],_0x361ca2=_0x29e607[_0x4f3b01(0x308)],_0x48538a=_0x2479c4[_0x4f3b01(0x2f9)](_0x441340,_0x441340+_0x361ca2);_0x29e607['decryptBlock'](_0x2479c4,_0x441340),_0x50fe2['call'](this,_0x2479c4,_0x441340,_0x361ca2),this['_prevBlock']=_0x48538a;}});function _0x50fe2(_0x333c3f,_0x2f495b,_0x2a6894){var _0x7d3b3c=_0xe728e,_0x199d86,_0x2fc10c=this[_0x7d3b3c(0x198)];_0x2fc10c?(_0x199d86=_0x2fc10c,this[_0x7d3b3c(0x198)]=_0xc6ac27):_0x199d86=this[_0x7d3b3c(0x40d)];for(var _0x3d60af=0x0;_0x3d60af<_0x2a6894;_0x3d60af++)_0x333c3f[_0x2f495b+_0x3d60af]^=_0x199d86[_0x3d60af];}return _0x5eb839;}()),_0x593488=_0x3094d5[_0x592e77(0x1c6)]={},_0x35a24d=_0x593488[_0x592e77(0x152)]={'pad':function(_0xfc976b,_0x45a530){var _0x4a3fb9=_0x592e77;for(var _0x30da1a=_0x45a530*0x4,_0x431e33=_0x30da1a-_0xfc976b[_0x4a3fb9(0x19d)]%_0x30da1a,_0x62410b=_0x431e33<<0x18|_0x431e33<<0x10|_0x431e33<<0x8|_0x431e33,_0x489c5d=[],_0x2257e4=0x0;_0x2257e4<_0x431e33;_0x2257e4+=0x4)_0x489c5d[_0x4a3fb9(0x232)](_0x62410b);var _0x2af298=_0x46c868[_0x4a3fb9(0x39e)](_0x489c5d,_0x431e33);_0xfc976b[_0x4a3fb9(0x150)](_0x2af298);},'unpad':function(_0x1bfd3c){var _0x3a3563=_0x592e77,_0x941ec2=_0x1bfd3c['words'][_0x1bfd3c[_0x3a3563(0x19d)]-0x1>>>0x2]&0xff;_0x1bfd3c[_0x3a3563(0x19d)]-=_0x941ec2;}};_0x3579ca[_0x592e77(0x265)]=_0x4b70e3['extend']({'cfg':_0x4b70e3['cfg']['extend']({'mode':_0x43322e,'padding':_0x35a24d}),'reset':function(){var _0xa5b060=_0x592e77,_0x346979;_0x4b70e3[_0xa5b060(0x351)][_0xa5b060(0x22e)](this);var _0x21e64f=this['cfg'],_0x3568d9=_0x21e64f['iv'],_0x534dc3=_0x21e64f['mode'];this[_0xa5b060(0x2fe)]==this[_0xa5b060(0x2d0)]?_0x346979=_0x534dc3[_0xa5b060(0x390)]:(_0x346979=_0x534dc3[_0xa5b060(0x1d2)],this['_minBufferSize']=0x1),this[_0xa5b060(0x3bd)]&&this[_0xa5b060(0x3bd)]['__creator']==_0x346979?this[_0xa5b060(0x3bd)][_0xa5b060(0x26e)](this,_0x3568d9&&_0x3568d9[_0xa5b060(0x338)]):(this[_0xa5b060(0x3bd)]=_0x346979[_0xa5b060(0x22e)](_0x534dc3,this,_0x3568d9&&_0x3568d9[_0xa5b060(0x338)]),this['_mode'][_0xa5b060(0x416)]=_0x346979);},'_doProcessBlock':function(_0xd50f92,_0x521be5){this['_mode']['processBlock'](_0xd50f92,_0x521be5);},'_doFinalize':function(){var _0x265ee2=_0x592e77,_0x252436,_0x1669b4=this[_0x265ee2(0x1ef)]['padding'];return this[_0x265ee2(0x2fe)]==this['_ENC_XFORM_MODE']?(_0x1669b4['pad'](this[_0x265ee2(0x289)],this['blockSize']),_0x252436=this[_0x265ee2(0x2a6)](!0x0)):(_0x252436=this['_process'](!0x0),_0x1669b4[_0x265ee2(0x1f4)](_0x252436)),_0x252436;},'blockSize':0x80/0x20});var _0x169e7e=_0x3579ca[_0x592e77(0x177)]=_0x4acc52[_0x592e77(0x2c5)]({'init':function(_0x64d16e){this['mixIn'](_0x64d16e);},'toString':function(_0xf651ef){var _0x2ebfee=_0x592e77;return(_0xf651ef||this[_0x2ebfee(0x258)])[_0x2ebfee(0x397)](this);}}),_0x52c356=_0x3094d5[_0x592e77(0x164)]={},_0x57ee1f=_0x52c356[_0x592e77(0x25b)]={'stringify':function(_0x46303d){var _0x58e667=_0x592e77,_0x16dfb8,_0x230e44=_0x46303d[_0x58e667(0x214)],_0x259467=_0x46303d[_0x58e667(0x316)];return _0x259467?_0x16dfb8=_0x46c868[_0x58e667(0x39e)]([0x53616c74,0x65645f5f])['concat'](_0x259467)[_0x58e667(0x150)](_0x230e44):_0x16dfb8=_0x230e44,_0x16dfb8[_0x58e667(0x328)](_0x2051fe);},'parse':function(_0x3a61b5){var _0x1484db=_0x592e77,_0x212985,_0x1fb6f4=_0x2051fe[_0x1484db(0x33e)](_0x3a61b5),_0x4c4b5f=_0x1fb6f4['words'];return _0x4c4b5f[0x0]==0x53616c74&&_0x4c4b5f[0x1]==0x65645f5f&&(_0x212985=_0x46c868[_0x1484db(0x39e)](_0x4c4b5f[_0x1484db(0x2f9)](0x2,0x4)),_0x4c4b5f[_0x1484db(0x2ed)](0x0,0x4),_0x1fb6f4['sigBytes']-=0x10),_0x169e7e[_0x1484db(0x39e)]({'ciphertext':_0x1fb6f4,'salt':_0x212985});}},_0x1973c6=_0x3579ca[_0x592e77(0x2fd)]=_0x4acc52[_0x592e77(0x2c5)]({'cfg':_0x4acc52[_0x592e77(0x2c5)]({'format':_0x57ee1f}),'encrypt':function(_0x4c196e,_0x1d2531,_0x58b504,_0x5c9392){var _0x36b2df=_0x592e77;_0x5c9392=this['cfg'][_0x36b2df(0x2c5)](_0x5c9392);var _0x4e66f8=_0x4c196e['createEncryptor'](_0x58b504,_0x5c9392),_0x39b73e=_0x4e66f8[_0x36b2df(0x2cd)](_0x1d2531),_0x378d27=_0x4e66f8[_0x36b2df(0x1ef)];return _0x169e7e[_0x36b2df(0x39e)]({'ciphertext':_0x39b73e,'key':_0x58b504,'iv':_0x378d27['iv'],'algorithm':_0x4c196e,'mode':_0x378d27[_0x36b2df(0x339)],'padding':_0x378d27[_0x36b2df(0x261)],'blockSize':_0x4c196e['blockSize'],'formatter':_0x5c9392[_0x36b2df(0x164)]});},'decrypt':function(_0xa0b5d9,_0x92f1df,_0x560dd7,_0x16a12e){var _0x5e3c8f=_0x592e77;_0x16a12e=this[_0x5e3c8f(0x1ef)][_0x5e3c8f(0x2c5)](_0x16a12e),_0x92f1df=this[_0x5e3c8f(0x24d)](_0x92f1df,_0x16a12e[_0x5e3c8f(0x164)]);var _0x5735fa=_0xa0b5d9['createDecryptor'](_0x560dd7,_0x16a12e)[_0x5e3c8f(0x2cd)](_0x92f1df['ciphertext']);return _0x5735fa;},'_parse':function(_0x6a8d0d,_0x28fdf3){return typeof _0x6a8d0d=='string'?_0x28fdf3['parse'](_0x6a8d0d,this):_0x6a8d0d;}}),_0x523520=_0x3094d5[_0x592e77(0x3d6)]={},_0x4f5cc8=_0x523520[_0x592e77(0x25b)]={'execute':function(_0x8e5104,_0x3a90b1,_0x5bd275,_0x12b46d,_0x1411fe){var _0x324e96=_0x592e77;if(_0x12b46d||(_0x12b46d=_0x46c868[_0x324e96(0x174)](0x40/0x8)),_0x1411fe)var _0x569936=_0x661384[_0x324e96(0x39e)]({'keySize':_0x3a90b1+_0x5bd275,'hasher':_0x1411fe})[_0x324e96(0x3ae)](_0x8e5104,_0x12b46d);else var _0x569936=_0x661384[_0x324e96(0x39e)]({'keySize':_0x3a90b1+_0x5bd275})[_0x324e96(0x3ae)](_0x8e5104,_0x12b46d);var _0x178881=_0x46c868[_0x324e96(0x39e)](_0x569936[_0x324e96(0x338)][_0x324e96(0x2f9)](_0x3a90b1),_0x5bd275*0x4);return _0x569936['sigBytes']=_0x3a90b1*0x4,_0x169e7e['create']({'key':_0x569936,'iv':_0x178881,'salt':_0x12b46d});}},_0x105d6e=_0x3579ca[_0x592e77(0x27c)]=_0x1973c6[_0x592e77(0x2c5)]({'cfg':_0x1973c6[_0x592e77(0x1ef)][_0x592e77(0x2c5)]({'kdf':_0x4f5cc8}),'encrypt':function(_0x930188,_0x18ad9f,_0x7253cf,_0x1b7030){var _0x1b44c2=_0x592e77;_0x1b7030=this[_0x1b44c2(0x1ef)]['extend'](_0x1b7030);var _0x53b709=_0x1b7030[_0x1b44c2(0x3d6)]['execute'](_0x7253cf,_0x930188[_0x1b44c2(0x31c)],_0x930188['ivSize'],_0x1b7030[_0x1b44c2(0x316)],_0x1b7030['hasher']);_0x1b7030['iv']=_0x53b709['iv'];var _0x5c4fe9=_0x1973c6[_0x1b44c2(0x2af)][_0x1b44c2(0x22e)](this,_0x930188,_0x18ad9f,_0x53b709[_0x1b44c2(0x319)],_0x1b7030);return _0x5c4fe9[_0x1b44c2(0x238)](_0x53b709),_0x5c4fe9;},'decrypt':function(_0x13b094,_0x2a9f27,_0x450504,_0x52979e){var _0x13ef7d=_0x592e77;_0x52979e=this[_0x13ef7d(0x1ef)][_0x13ef7d(0x2c5)](_0x52979e),_0x2a9f27=this[_0x13ef7d(0x24d)](_0x2a9f27,_0x52979e[_0x13ef7d(0x164)]);var _0xe7c781=_0x52979e[_0x13ef7d(0x3d6)]['execute'](_0x450504,_0x13b094[_0x13ef7d(0x31c)],_0x13b094[_0x13ef7d(0x33f)],_0x2a9f27[_0x13ef7d(0x316)],_0x52979e['hasher']);_0x52979e['iv']=_0xe7c781['iv'];var _0x5b00f4=_0x1973c6[_0x13ef7d(0x210)]['call'](this,_0x13b094,_0x2a9f27,_0xe7c781['key'],_0x52979e);return _0x5b00f4;}});}();}));}(Je)),Je['exports'];}var Br=Ge[_0x424696(0x180)],ri;function Fr(){return ri||(ri=0x1,function(_0x3c8715,_0x5b7d1d){(function(_0x17f7b5,_0x21234d,_0x3b5c42){_0x3c8715['exports']=_0x21234d(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x47484d){var _0x2f2573=_0x181e;return(function(){var _0x4014ab=_0x181e,_0x3b3655=_0x47484d,_0x4394b8=_0x3b3655[_0x4014ab(0x233)],_0x48fc77=_0x4394b8['BlockCipher'],_0xb45b16=_0x3b3655[_0x4014ab(0x2a4)],_0x51d81c=[],_0x3f49e8=[],_0xa42e67=[],_0x244dc9=[],_0x3e27d4=[],_0x4f46b3=[],_0x5df750=[],_0x494152=[],_0xf236bb=[],_0x4d59f2=[];(function(){for(var _0x4b48d3=[],_0x400bd4=0x0;_0x400bd4<0x100;_0x400bd4++)_0x400bd4<0x80?_0x4b48d3[_0x400bd4]=_0x400bd4<<0x1:_0x4b48d3[_0x400bd4]=_0x400bd4<<0x1^0x11b;for(var _0x45a3b5=0x0,_0x5d3af7=0x0,_0x400bd4=0x0;_0x400bd4<0x100;_0x400bd4++){var _0x1c3813=_0x5d3af7^_0x5d3af7<<0x1^_0x5d3af7<<0x2^_0x5d3af7<<0x3^_0x5d3af7<<0x4;_0x1c3813=_0x1c3813>>>0x8^_0x1c3813&0xff^0x63,_0x51d81c[_0x45a3b5]=_0x1c3813,_0x3f49e8[_0x1c3813]=_0x45a3b5;var _0x703503=_0x4b48d3[_0x45a3b5],_0x504859=_0x4b48d3[_0x703503],_0x535382=_0x4b48d3[_0x504859],_0xb03b5=_0x4b48d3[_0x1c3813]*0x101^_0x1c3813*0x1010100;_0xa42e67[_0x45a3b5]=_0xb03b5<<0x18|_0xb03b5>>>0x8,_0x244dc9[_0x45a3b5]=_0xb03b5<<0x10|_0xb03b5>>>0x10,_0x3e27d4[_0x45a3b5]=_0xb03b5<<0x8|_0xb03b5>>>0x18,_0x4f46b3[_0x45a3b5]=_0xb03b5;var _0xb03b5=_0x535382*0x1010101^_0x504859*0x10001^_0x703503*0x101^_0x45a3b5*0x1010100;_0x5df750[_0x1c3813]=_0xb03b5<<0x18|_0xb03b5>>>0x8,_0x494152[_0x1c3813]=_0xb03b5<<0x10|_0xb03b5>>>0x10,_0xf236bb[_0x1c3813]=_0xb03b5<<0x8|_0xb03b5>>>0x18,_0x4d59f2[_0x1c3813]=_0xb03b5,_0x45a3b5?(_0x45a3b5=_0x703503^_0x4b48d3[_0x4b48d3[_0x4b48d3[_0x535382^_0x703503]]],_0x5d3af7^=_0x4b48d3[_0x4b48d3[_0x5d3af7]]):_0x45a3b5=_0x5d3af7=0x1;}}());var _0x3c7582=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16ce73=_0xb45b16[_0x4014ab(0x430)]=_0x48fc77['extend']({'_doReset':function(){var _0x1bd781=_0x4014ab,_0x4e3fd4;if(!(this[_0x1bd781(0x3e8)]&&this[_0x1bd781(0x2f3)]===this[_0x1bd781(0x436)])){for(var _0x4990a0=this['_keyPriorReset']=this[_0x1bd781(0x436)],_0x5cac12=_0x4990a0[_0x1bd781(0x338)],_0xba274d=_0x4990a0[_0x1bd781(0x19d)]/0x4,_0x3401f8=this[_0x1bd781(0x3e8)]=_0xba274d+0x6,_0x478d17=(_0x3401f8+0x1)*0x4,_0x3ebc5e=this['_keySchedule']=[],_0x21cff3=0x0;_0x21cff3<_0x478d17;_0x21cff3++)_0x21cff3<_0xba274d?_0x3ebc5e[_0x21cff3]=_0x5cac12[_0x21cff3]:(_0x4e3fd4=_0x3ebc5e[_0x21cff3-0x1],_0x21cff3%_0xba274d?_0xba274d>0x6&&_0x21cff3%_0xba274d==0x4&&(_0x4e3fd4=_0x51d81c[_0x4e3fd4>>>0x18]<<0x18|_0x51d81c[_0x4e3fd4>>>0x10&0xff]<<0x10|_0x51d81c[_0x4e3fd4>>>0x8&0xff]<<0x8|_0x51d81c[_0x4e3fd4&0xff]):(_0x4e3fd4=_0x4e3fd4<<0x8|_0x4e3fd4>>>0x18,_0x4e3fd4=_0x51d81c[_0x4e3fd4>>>0x18]<<0x18|_0x51d81c[_0x4e3fd4>>>0x10&0xff]<<0x10|_0x51d81c[_0x4e3fd4>>>0x8&0xff]<<0x8|_0x51d81c[_0x4e3fd4&0xff],_0x4e3fd4^=_0x3c7582[_0x21cff3/_0xba274d|0x0]<<0x18),_0x3ebc5e[_0x21cff3]=_0x3ebc5e[_0x21cff3-_0xba274d]^_0x4e3fd4);for(var _0x43d56c=this['_invKeySchedule']=[],_0x156e85=0x0;_0x156e85<_0x478d17;_0x156e85++){var _0x21cff3=_0x478d17-_0x156e85;if(_0x156e85%0x4)var _0x4e3fd4=_0x3ebc5e[_0x21cff3];else var _0x4e3fd4=_0x3ebc5e[_0x21cff3-0x4];_0x156e85<0x4||_0x21cff3<=0x4?_0x43d56c[_0x156e85]=_0x4e3fd4:_0x43d56c[_0x156e85]=_0x5df750[_0x51d81c[_0x4e3fd4>>>0x18]]^_0x494152[_0x51d81c[_0x4e3fd4>>>0x10&0xff]]^_0xf236bb[_0x51d81c[_0x4e3fd4>>>0x8&0xff]]^_0x4d59f2[_0x51d81c[_0x4e3fd4&0xff]];}}},'encryptBlock':function(_0x21f70c,_0x3841a9){this['_doCryptBlock'](_0x21f70c,_0x3841a9,this['_keySchedule'],_0xa42e67,_0x244dc9,_0x3e27d4,_0x4f46b3,_0x51d81c);},'decryptBlock':function(_0x55a25c,_0x3f037a){var _0x4972ad=_0x4014ab,_0x19df3c=_0x55a25c[_0x3f037a+0x1];_0x55a25c[_0x3f037a+0x1]=_0x55a25c[_0x3f037a+0x3],_0x55a25c[_0x3f037a+0x3]=_0x19df3c,this[_0x4972ad(0x1b9)](_0x55a25c,_0x3f037a,this[_0x4972ad(0x2ba)],_0x5df750,_0x494152,_0xf236bb,_0x4d59f2,_0x3f49e8);var _0x19df3c=_0x55a25c[_0x3f037a+0x1];_0x55a25c[_0x3f037a+0x1]=_0x55a25c[_0x3f037a+0x3],_0x55a25c[_0x3f037a+0x3]=_0x19df3c;},'_doCryptBlock':function(_0x147b78,_0x25d28b,_0x4ef176,_0x552fff,_0xb8fac,_0x5913e1,_0x4495e8,_0x987ca8){var _0x553086=_0x4014ab;for(var _0x4af72f=this[_0x553086(0x3e8)],_0x24e94f=_0x147b78[_0x25d28b]^_0x4ef176[0x0],_0x4406f7=_0x147b78[_0x25d28b+0x1]^_0x4ef176[0x1],_0x26e110=_0x147b78[_0x25d28b+0x2]^_0x4ef176[0x2],_0x42d878=_0x147b78[_0x25d28b+0x3]^_0x4ef176[0x3],_0x31663e=0x4,_0x4ff9c4=0x1;_0x4ff9c4<_0x4af72f;_0x4ff9c4++){var _0x607bc2=_0x552fff[_0x24e94f>>>0x18]^_0xb8fac[_0x4406f7>>>0x10&0xff]^_0x5913e1[_0x26e110>>>0x8&0xff]^_0x4495e8[_0x42d878&0xff]^_0x4ef176[_0x31663e++],_0x5cb1a0=_0x552fff[_0x4406f7>>>0x18]^_0xb8fac[_0x26e110>>>0x10&0xff]^_0x5913e1[_0x42d878>>>0x8&0xff]^_0x4495e8[_0x24e94f&0xff]^_0x4ef176[_0x31663e++],_0x3ca283=_0x552fff[_0x26e110>>>0x18]^_0xb8fac[_0x42d878>>>0x10&0xff]^_0x5913e1[_0x24e94f>>>0x8&0xff]^_0x4495e8[_0x4406f7&0xff]^_0x4ef176[_0x31663e++],_0x13a25c=_0x552fff[_0x42d878>>>0x18]^_0xb8fac[_0x24e94f>>>0x10&0xff]^_0x5913e1[_0x4406f7>>>0x8&0xff]^_0x4495e8[_0x26e110&0xff]^_0x4ef176[_0x31663e++];_0x24e94f=_0x607bc2,_0x4406f7=_0x5cb1a0,_0x26e110=_0x3ca283,_0x42d878=_0x13a25c;}var _0x607bc2=(_0x987ca8[_0x24e94f>>>0x18]<<0x18|_0x987ca8[_0x4406f7>>>0x10&0xff]<<0x10|_0x987ca8[_0x26e110>>>0x8&0xff]<<0x8|_0x987ca8[_0x42d878&0xff])^_0x4ef176[_0x31663e++],_0x5cb1a0=(_0x987ca8[_0x4406f7>>>0x18]<<0x18|_0x987ca8[_0x26e110>>>0x10&0xff]<<0x10|_0x987ca8[_0x42d878>>>0x8&0xff]<<0x8|_0x987ca8[_0x24e94f&0xff])^_0x4ef176[_0x31663e++],_0x3ca283=(_0x987ca8[_0x26e110>>>0x18]<<0x18|_0x987ca8[_0x42d878>>>0x10&0xff]<<0x10|_0x987ca8[_0x24e94f>>>0x8&0xff]<<0x8|_0x987ca8[_0x4406f7&0xff])^_0x4ef176[_0x31663e++],_0x13a25c=(_0x987ca8[_0x42d878>>>0x18]<<0x18|_0x987ca8[_0x24e94f>>>0x10&0xff]<<0x10|_0x987ca8[_0x4406f7>>>0x8&0xff]<<0x8|_0x987ca8[_0x26e110&0xff])^_0x4ef176[_0x31663e++];_0x147b78[_0x25d28b]=_0x607bc2,_0x147b78[_0x25d28b+0x1]=_0x5cb1a0,_0x147b78[_0x25d28b+0x2]=_0x3ca283,_0x147b78[_0x25d28b+0x3]=_0x13a25c;},'keySize':0x100/0x20});_0x3b3655[_0x4014ab(0x430)]=_0x48fc77[_0x4014ab(0x2f0)](_0x16ce73);}()),_0x47484d[_0x2f2573(0x430)];}));}(Ge)),Ge['exports'];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x32628c=_0x424696;return oi||(oi=0x1,function(_0x373001,_0x3186ce){(function(_0xbf4ba1,_0x133569){_0x373001['exports']=_0x133569(ie());}(Kr,function(_0x4c4c19){var _0x166620=_0x181e;return _0x4c4c19[_0x166620(0x1b7)]['Utf8'];}));}(Xe)),Xe[_0x32628c(0x180)];}var qr=Yr();const zr=ke(qr);var Ze={'exports':{}},Jr=Ze[_0x424696(0x180)],ai;function Xr(){var _0x365931=_0x424696;return ai||(ai=0x1,function(_0x443c7b,_0x4309c8){(function(_0x5adf6f,_0x3173ff){var _0x368faf=_0x181e;_0x443c7b[_0x368faf(0x180)]=_0x3173ff(ie());}(Jr,function(_0x16e1e1){var _0x2b82db=_0x181e;return(function(){var _0x33bb45=_0x181e;if(typeof ArrayBuffer==_0x33bb45(0x3b4)){var _0x2d1c4c=_0x16e1e1,_0x3aab20=_0x2d1c4c['lib'],_0x567925=_0x3aab20['WordArray'],_0x2bbedd=_0x567925['init'],_0x24e9b8=_0x567925[_0x33bb45(0x26e)]=function(_0x5b6e1f){var _0x24cf97=_0x33bb45;if(_0x5b6e1f instanceof ArrayBuffer&&(_0x5b6e1f=new Uint8Array(_0x5b6e1f)),(_0x5b6e1f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5b6e1f instanceof Uint8ClampedArray||_0x5b6e1f instanceof Int16Array||_0x5b6e1f instanceof Uint16Array||_0x5b6e1f instanceof Int32Array||_0x5b6e1f instanceof Uint32Array||_0x5b6e1f instanceof Float32Array||_0x5b6e1f instanceof Float64Array)&&(_0x5b6e1f=new Uint8Array(_0x5b6e1f['buffer'],_0x5b6e1f[_0x24cf97(0x300)],_0x5b6e1f['byteLength'])),_0x5b6e1f instanceof Uint8Array){for(var _0x5255d2=_0x5b6e1f[_0x24cf97(0x27b)],_0x2a1ad5=[],_0x5bf0fa=0x0;_0x5bf0fa<_0x5255d2;_0x5bf0fa++)_0x2a1ad5[_0x5bf0fa>>>0x2]|=_0x5b6e1f[_0x5bf0fa]<<0x18-_0x5bf0fa%0x4*0x8;_0x2bbedd[_0x24cf97(0x22e)](this,_0x2a1ad5,_0x5255d2);}else _0x2bbedd[_0x24cf97(0x1df)](this,arguments);};_0x24e9b8[_0x33bb45(0x341)]=_0x567925;}}()),_0x16e1e1[_0x2b82db(0x233)][_0x2b82db(0x322)];}));}(Ze)),Ze[_0x365931(0x180)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe['exports'],ci;function ts(){return ci||(ci=0x1,function(_0x2adc25,_0x5b3206){(function(_0x2c56fd,_0x19c229,_0x46a3b4){var _0x35a377=_0x181e;_0x2adc25[_0x35a377(0x180)]=_0x19c229(ie(),wi());}(es,function(_0x5a5510){var _0x19e5e8=_0x181e;return _0x5a5510[_0x19e5e8(0x1c6)][_0x19e5e8(0x401)]={'pad':function(){},'unpad':function(){}},_0x5a5510['pad'][_0x19e5e8(0x401)];}));}(Qe)),Qe['exports'];}var is=ts();const ns=ke(is);function rs(_0x42e0cc,_0x431d17){var _0x4de375=_0x424696;const _0xadf2c2=_0x431d17-_0x42e0cc[_0x4de375(0x314)]%_0x431d17,_0x59a381=String[_0x4de375(0x3b8)](_0xadf2c2)[_0x4de375(0x2fa)](_0xadf2c2);return _0x42e0cc+_0x59a381;}function ss(_0x531cdf,_0x4f7637){var _0x44c782=_0x424696;const _0x50d7e8=Qr['random'](0x10),_0x39d6a5=rs(_0x531cdf,0x10),_0x29b7c7=Vr[_0x44c782(0x2af)](zr[_0x44c782(0x33e)](_0x39d6a5),si[_0x44c782(0x33e)](_0x4f7637),{'iv':_0x50d7e8,'padding':ns});return _0x50d7e8['concat'](_0x29b7c7[_0x44c782(0x214)])[_0x44c782(0x328)](si);}function os(){var _0x2cc69b=_0x424696;const _0x1e4353=_0x129d6d()[_0x2cc69b(0x3a3)];if(_0x1e4353){const _0x42ceae={'time':Math[_0x2cc69b(0x2dd)](Date[_0x2cc69b(0x3e5)]()/0x3e8),'domain':location['hostname']};return ss(JSON['stringify'](_0x42ceae),_0x1e4353);}}var as=Object['defineProperty'],cs=Object[_0x424696(0x275)],hs=(_0x2f8e4e,_0x44d359,_0x487b52,_0xaac2cd)=>{var _0x5300b4=_0x424696;for(var _0x394542=_0xaac2cd>0x1?void 0x0:_0xaac2cd?cs(_0x44d359,_0x487b52):_0x44d359,_0x1468fc=_0x2f8e4e[_0x5300b4(0x314)]-0x1,_0x24583e;_0x1468fc>=0x0;_0x1468fc--)(_0x24583e=_0x2f8e4e[_0x1468fc])&&(_0x394542=(_0xaac2cd?_0x24583e(_0x44d359,_0x487b52,_0x394542):_0x24583e(_0x394542))||_0x394542);return _0xaac2cd&&_0x394542&&as(_0x44d359,_0x487b52,_0x394542),_0x394542;},_s=(_0x4a5eba,_0x12c1b4)=>(_0x3728a,_0x1ba501)=>_0x12c1b4(_0x3728a,_0x1ba501,_0x4a5eba);let ot=class{constructor(_0x28929c){var _0x2c5c18=_0x424696;this['_httpService']=_0x28929c,this[_0x2c5c18(0x2c9)]();}['_initRequestHeader'](){var _0x38100a=_0x424696;this[_0x38100a(0x3e2)][_0x38100a(0x254)]({'interceptor':(_0x5beb7c,_0xefccf7)=>{var _0x224fc6=_0x38100a;const _0x24cc5d=_0x5beb7c[_0x224fc6(0x29d)],_0x3d1c38=os();return _0x3d1c38&&_0x24cc5d[_0x224fc6(0x31f)](_0x224fc6(0x3c7),_0x3d1c38),_0xefccf7(_0x5beb7c);}});}};ot=hs([_s(0x0,_0x186d60(_0x16a7d6))],ot);var ls=Object[_0x424696(0x311)],us=Object[_0x424696(0x275)],ds=(_0x14f5f0,_0x3f318d,_0x3adf40,_0x4e4c18)=>{var _0xd5cf82=_0x424696;for(var _0x553264=_0x4e4c18>0x1?void 0x0:_0x4e4c18?us(_0x3f318d,_0x3adf40):_0x3f318d,_0x2f3eeb=_0x14f5f0[_0xd5cf82(0x314)]-0x1,_0x234dc4;_0x2f3eeb>=0x0;_0x2f3eeb--)(_0x234dc4=_0x14f5f0[_0x2f3eeb])&&(_0x553264=(_0x4e4c18?_0x234dc4(_0x3f318d,_0x3adf40,_0x553264):_0x234dc4(_0x553264))||_0x553264);return _0x4e4c18&&_0x553264&&ls(_0x3f318d,_0x3adf40,_0x553264),_0x553264;},mt=(_0x1fea43,_0x35e121)=>(_0x3eabab,_0x4265d0)=>_0x35e121(_0x3eabab,_0x4265d0,_0x1fea43);let Rt=class extends _0x38323d{constructor(_0x270ce3,_0x59ddba,_0x2cf217){var _0x551269=_0x424696;super(),N(this,_0x551269(0x204),new _0x43ba24(null)),N(this,_0x551269(0x23e),this[_0x551269(0x204)][_0x551269(0x2a5)]()),(this[_0x551269(0x389)]=_0x270ce3,this['_snapshotService']=_0x59ddba,this['_localCacheService']=_0x2cf217);}async[_0x424696(0x374)](_0x56eacf,_0x4600f1,_0x422c86){var _0x208f0b=_0x424696;this[_0x208f0b(0x204)][_0x208f0b(0x3f2)]({'unitId':_0x56eacf,'type':_0x4600f1,'subUnitId':_0x422c86});let _0xe6b5da=null;switch(_0x4600f1){case Q[_0x208f0b(0x28c)]:{_0xe6b5da=await this[_0x208f0b(0x3bc)](_0x56eacf);break;}case Q[_0x208f0b(0x240)]:{_0xe6b5da=await this[_0x208f0b(0x28a)](_0x56eacf);break;}default:{this['_logService'][_0x208f0b(0x20f)]('[DataLoaderService]',_0x208f0b(0x17b));break;}}return _0xe6b5da;}async[_0x424696(0x3bc)](_0x1780bd){var _0x2b8edb=_0x424696,_0x44175a;let _0x58ced1=0x0;const _0x55d61c=await((_0x44175a=this[_0x2b8edb(0x354)])==null?void 0x0:_0x44175a[_0x2b8edb(0x3ad)](_0x1780bd));return _0x55d61c&&(_0x55d61c[_0x2b8edb(0x278)]||_0x55d61c[_0x2b8edb(0x230)][_0x2b8edb(0x314)]!==0x0)&&(_0x58ced1=_0x55d61c['rev']),_0x58ced1===0x0&&this[_0x2b8edb(0x389)][_0x2b8edb(0x169)](_0x2b8edb(0x287),_0x2b8edb(0x2d6)),this['_snapshotService'][_0x2b8edb(0x2bb)](_0x1780bd,_0x58ced1);}async[_0x424696(0x28a)](_0x3f4f95){var _0x3f670b=_0x424696,_0x3b7a2e;let _0x4e8444=0x0;const _0x1c8494=await((_0x3b7a2e=this[_0x3f670b(0x354)])==null?void 0x0:_0x3b7a2e['loadOfflineData'](_0x3f4f95));return _0x1c8494&&(_0x1c8494[_0x3f670b(0x278)]||_0x1c8494[_0x3f670b(0x230)][_0x3f670b(0x314)]!==0x0)&&(_0x4e8444=_0x1c8494[_0x3f670b(0x387)]),_0x4e8444===0x0&&this[_0x3f670b(0x389)][_0x3f670b(0x169)](_0x3f670b(0x287),_0x3f670b(0x2d6)),this[_0x3f670b(0x2fb)][_0x3f670b(0x13c)](_0x3f4f95,_0x4e8444);}};Rt=ds([mt(0x0,_0x4d59d7),mt(0x1,_0x186d60(_0x1e2019)),mt(0x2,_0x39d318(J))],Rt);var fs=Object['defineProperty'],vs=Object[_0x424696(0x275)],ps=(_0x52793b,_0x409379,_0xd13be9,_0x1367ef)=>{var _0x2fb2e4=_0x424696;for(var _0x2c5d0b=_0x1367ef>0x1?void 0x0:_0x1367ef?vs(_0x409379,_0xd13be9):_0x409379,_0x4609da=_0x52793b[_0x2fb2e4(0x314)]-0x1,_0x2bb7c0;_0x4609da>=0x0;_0x4609da--)(_0x2bb7c0=_0x52793b[_0x4609da])&&(_0x2c5d0b=(_0x1367ef?_0x2bb7c0(_0x409379,_0xd13be9,_0x2c5d0b):_0x2bb7c0(_0x2c5d0b))||_0x2c5d0b);return _0x1367ef&&_0x2c5d0b&&fs(_0x409379,_0xd13be9,_0x2c5d0b),_0x2c5d0b;},gt=(_0x587d49,_0x177162)=>(_0x21fd40,_0x2a0a1a)=>_0x177162(_0x21fd40,_0x2a0a1a,_0x587d49);const ms=[_0x424696(0x2ca),_0x424696(0x255),_0x424696(0x42e),_0x424696(0x34e),_0x424696(0x2e2)],gs=0x5*0x400*0x400,Ss=_0x424696(0x419),Es=_0x424696(0x431),Is=_0x424696(0x27d),Ts=_0x424696(0x2b9);let Ot=class{constructor(_0x1234fc,_0x3b0480,_0x400dff){var _0xaca3=_0x424696;N(this,_0xaca3(0x2f7),0x0),N(this,_0xaca3(0x398),new _0xdedd08()),N(this,_0xaca3(0x34c),this[_0xaca3(0x398)]),N(this,_0xaca3(0x1c1),new Map()),(this['_httpService']=_0x1234fc,this[_0xaca3(0x15e)]=_0x3b0480,this[_0xaca3(0x270)]=_0x400dff);}[_0x424696(0x32d)](_0x1e3d74){var _0xa1257f=_0x424696;this[_0xa1257f(0x2f7)]=_0x1e3d74,this[_0xa1257f(0x398)][_0xa1257f(0x3f2)](_0x1e3d74);}['getImageSourceCache'](_0xfb35d7,_0xa1de18){var _0x55a2b7=_0x424696;if(_0xa1de18===_0xfa6755[_0x55a2b7(0x13f)]){const _0x335219=new Image();return _0x335219[_0x55a2b7(0x3e1)]=_0xfb35d7,_0x335219;}return this[_0x55a2b7(0x1c1)][_0x55a2b7(0x396)](_0xfb35d7);}['addImageSourceCache'](_0x3e998b,_0x20f16e,_0x18bfa2){var _0x1f088a=_0x424696;_0x20f16e===_0xfa6755[_0x1f088a(0x13f)]||_0x18bfa2==null||this[_0x1f088a(0x1c1)][_0x1f088a(0x31f)](_0x3e998b,_0x18bfa2);}async[_0x424696(0x32f)](_0x3d82e7){var _0x189cce=_0x424696;try{const _0x37bc78=this[_0x189cce(0x243)](this[_0x189cce(0x1d0)](),''+_0x3d82e7),_0x1e5a21=(await this[_0x189cce(0x3e2)][_0x189cce(0x396)](_0x37bc78))['body'];if(_0x1e5a21[_0x189cce(0x20f)]&&_0x1e5a21[_0x189cce(0x20f)]['code']===Si['OK']){const _0x4d55dd=new URL(_0x1e5a21[_0x189cce(0x3a5)],this[_0x189cce(0x1fa)]())[_0x189cce(0x328)]();return Promise[_0x189cce(0x1f6)](_0x4d55dd);}return Promise[_0x189cce(0x26c)](_0x1e5a21[_0x189cce(0x20f)]);}catch(_0x452c9e){return Promise[_0x189cce(0x26c)](_0x452c9e);}}async[_0x424696(0x3d1)](_0x169802){var _0x65d196=_0x424696;let _0x3bab2a='';if(!ms['includes'](_0x169802[_0x65d196(0x1d7)]))return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE_TYPE']));if(_0x169802[_0x65d196(0x23a)]>gs)return this[_0x65d196(0x346)](),Promise['reject'](new Error(_0x4734a7[_0x65d196(0x37d)]));try{const _0x340103=new FormData();_0x340103[_0x65d196(0x3ac)]('file',_0x169802);const _0x529f80=this[_0x65d196(0x270)]['getFocusedUnit'](),_0xe75332=_0x529f80==null?void 0x0:_0x529f80[_0x65d196(0x17c)]();if(!_0xe75332)throw new Error('unitId\x20is\x20not\x20found');const _0x591f85=this[_0x65d196(0x348)]()+_0x65d196(0x242)+_0x169802[_0x65d196(0x23a)][_0x65d196(0x328)]()+_0x65d196(0x304)+Ei[_0x65d196(0x222)]+_0x65d196(0x241)+encodeURIComponent(_0xe75332),_0x1b6fc4=await(await fetch(_0x591f85,{'method':_0x65d196(0x2a7),'body':_0x340103}))[_0x65d196(0x364)]();if(typeof _0x1b6fc4[_0x65d196(0x3e4)]!=_0x65d196(0x22f))return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE']));_0x3bab2a=_0x1b6fc4[_0x65d196(0x3e4)];}catch{return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE']));}return new Promise((_0x1dc3c4,_0xb21ac6)=>{var _0x68bd3f=_0x65d196;const _0x2862d9=new FileReader();_0x2862d9[_0x68bd3f(0x298)](_0x169802),_0x2862d9[_0x68bd3f(0x196)]=_0x5a72c0=>{var _0x1c402d=_0x68bd3f,_0x44b171;const _0x47a76f=(_0x44b171=_0x5a72c0[_0x1c402d(0x1bc)])==null?void 0x0:_0x44b171['result'];if(_0x47a76f==null){this[_0x1c402d(0x346)](),_0xb21ac6(new Error(_0x4734a7[_0x1c402d(0x336)]));return;}const _0x26bb79=_0x12cf24[_0x1c402d(0x34f)](0x6);_0x1dc3c4({'imageId':_0x26bb79,'imageSourceType':_0xfa6755[_0x1c402d(0x303)],'source':_0x3bab2a,'base64Cache':_0x47a76f,'status':_0x4734a7['SUCCUSS']}),this[_0x1c402d(0x346)]();};});}[_0x424696(0x348)](){var _0x1a27fd=_0x424696,_0x4d2a22,_0x5be651;const _0x445410=this[_0x1a27fd(0x15e)][_0x1a27fd(0x2c0)](Ss),_0xdde307=this['_configService'][_0x1a27fd(0x2c0)](q);return(_0x5be651=(_0x4d2a22=_0xdde307==null?void 0x0:_0xdde307['uploadFileServerUrl'])!=null?_0x4d2a22:_0x445410)!=null?_0x5be651:Es;}[_0x424696(0x1d0)](){var _0x3d05d0=_0x424696,_0x4ca902,_0x4fbee5;const _0x1446a5=this[_0x3d05d0(0x15e)][_0x3d05d0(0x2c0)](Is),_0x218447=this[_0x3d05d0(0x15e)]['getConfig'](q);return(_0x4fbee5=(_0x4ca902=_0x218447==null?void 0x0:_0x218447[_0x3d05d0(0x302)])!=null?_0x4ca902:_0x1446a5)!=null?_0x4fbee5:Ts;}[_0x424696(0x1fa)](){var _0x3c28a5=_0x424696,_0x270335;const _0x3beb10=this[_0x3c28a5(0x15e)]['getConfig'](q);return(_0x270335=_0x3beb10==null?void 0x0:_0x3beb10[_0x3c28a5(0x3aa)])!=null?_0x270335:location[_0x3c28a5(0x332)];}[_0x424696(0x243)](_0x27c369,_0x4ec99f){var _0x5957aa=_0x424696;return _0x27c369[_0x5957aa(0x239)](_0x5957aa(0x337),_0x4ec99f);}[_0x424696(0x346)](){var _0x419aa1=_0x424696;this['_waitCount']-=0x1,this[_0x419aa1(0x398)][_0x419aa1(0x3f2)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x186d60(_0x16a7d6)),gt(0x1,_0x257d37),gt(0x2,_0x186d60(_0x5238c4))],Ot);var Cs=Object['defineProperty'],bs=Object['getOwnPropertyDescriptor'],Rs=(_0x35c51a,_0x3a1d58,_0x20dd88,_0x2d0eb6)=>{var _0x465557=_0x424696;for(var _0x5a22e9=_0x2d0eb6>0x1?void 0x0:_0x2d0eb6?bs(_0x3a1d58,_0x20dd88):_0x3a1d58,_0xcb8fcf=_0x35c51a[_0x465557(0x314)]-0x1,_0x5da8ce;_0xcb8fcf>=0x0;_0xcb8fcf--)(_0x5da8ce=_0x35c51a[_0xcb8fcf])&&(_0x5a22e9=(_0x2d0eb6?_0x5da8ce(_0x3a1d58,_0x20dd88,_0x5a22e9):_0x5da8ce(_0x5a22e9))||_0x5a22e9);return _0x2d0eb6&&_0x5a22e9&&Cs(_0x3a1d58,_0x20dd88,_0x5a22e9),_0x5a22e9;},hi=(_0x19ddbf,_0x32788e)=>(_0x10561d,_0x1c4b32)=>_0x32788e(_0x10561d,_0x1c4b32,_0x19ddbf);const Os=_0x424696(0x2bd);let yt=class{constructor(_0x107093,_0x54189d){this['_configService']=_0x107093,this['_HTTPService']=_0x54189d;}['_getAPIPrefixPath'](){var _0x9ee017=_0x424696,_0x33639c,_0x29b7e3;const _0x506e21=this[_0x9ee017(0x15e)][_0x9ee017(0x2c0)](Ni),_0x59a0c3=this['_configService']['getConfig'](q);return(_0x29b7e3=(_0x33639c=_0x59a0c3==null?void 0x0:_0x59a0c3[_0x9ee017(0x3d5)])!=null?_0x33639c:_0x506e21)!=null?_0x29b7e3:Os;}async[_0x424696(0x1d9)](_0xd3a6){var _0x9f23ac=_0x424696;const _0x2849ff=this[_0x9f23ac(0x405)]()+_0x9f23ac(0x40e);return{'list':[{'title':'People','mentions':(await this[_0x9f23ac(0x16f)]['get'](_0x2849ff,{'params':{'objectID':_0xd3a6[_0x9f23ac(0x3e3)],'unitID':_0xd3a6[_0x9f23ac(0x3e3)]}}))[_0x9f23ac(0x21e)]['collaborators'][_0x9f23ac(0x3c5)](_0x2cee28=>({'objectId':_0x2cee28['id'],'name':_0x2cee28[_0x9f23ac(0x3da)][_0x9f23ac(0x15a)],'metadata':{'icon':_0x2cee28['subject'][_0x9f23ac(0x248)]},'label':_0x2cee28[_0x9f23ac(0x3da)][_0x9f23ac(0x15a)],'objectType':_0x397eac[_0x9f23ac(0x1b0)]})),'metadata':{},'type':_0x397eac[_0x9f23ac(0x1b0)]}]};}};yt=Rs([hi(0x0,_0x186d60(_0x257d37)),hi(0x1,_0x186d60(_0x16a7d6))],yt);var ys=Object['defineProperty'],Ns=Object[_0x424696(0x275)],Ds=(_0x4f136d,_0x57e998,_0x5190c0,_0x366f33)=>{var _0xda253b=_0x424696;for(var _0x562070=_0x366f33>0x1?void 0x0:_0x366f33?Ns(_0x57e998,_0x5190c0):_0x57e998,_0x5f13bc=_0x4f136d[_0xda253b(0x314)]-0x1,_0x48e1e1;_0x5f13bc>=0x0;_0x5f13bc--)(_0x48e1e1=_0x4f136d[_0x5f13bc])&&(_0x562070=(_0x366f33?_0x48e1e1(_0x57e998,_0x5190c0,_0x562070):_0x48e1e1(_0x562070))||_0x562070);return _0x366f33&&_0x562070&&ys(_0x57e998,_0x5190c0,_0x562070),_0x562070;},Ue=(_0x55aede,_0x22c1e1)=>(_0x504440,_0x2833dc)=>_0x22c1e1(_0x504440,_0x2833dc,_0x55aede);let at=class extends _0x38323d{constructor(_0x5da5c8,_0x18f077,_0xc0d331,_0x58e85c,_0x285daa){var _0x2e150a=_0x424696;super(),this['_injector']=_0x5da5c8,this['_univerInstanceService']=_0x18f077,this[_0x2e150a(0x24a)]=_0xc0d331,this['_collaborationSessionService']=_0x58e85c,this['_collaborationUIEventService']=_0x285daa,this[_0x2e150a(0x29b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x514a04=_0x424696;const _0x2c629d=async _0x3c3153=>{var _0xd8399a=_0x181e;(await this[_0xd8399a(0x1f3)][_0xd8399a(0x1f1)](_0x3c3153))[_0xd8399a(0x224)][_0xd8399a(0x1fb)](_0x2a5648(_0x163033=>_0x163033[_0xd8399a(0x30c)]===_0x14e6e4['SHOULD_CLOSE_CONN']),_0x2c6c66(this['dispose$']))[_0xd8399a(0x3cd)](_0x25cc4a=>{var _0x4a8077=_0xd8399a;const _0x1de338=_0x25cc4a,{reason:_0x502278}=_0x1de338[_0x4a8077(0x2b4)];this['_collaborationUIEventService'][_0x4a8077(0x342)]({'id':se[_0x4a8077(0x23c)],'data':_0x502278}),this[_0x4a8077(0x24a)]['updatePermissionPoint'](new _0x508a1c(_0x3c3153)['id'],!0x1),this[_0x4a8077(0x1f3)]['closeSession'](_0x3c3153);});};_0x4a6b1e(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x6bba17[_0x514a04(0x28c)]),this[_0x514a04(0x270)][_0x514a04(0x36d)](_0x6bba17['UNIVER_DOC']))[_0x514a04(0x1fb)](_0x496697(_0x115338=>_0x115338[_0x514a04(0x17c)]()),_0x2a5648(_0x139101=>!_0x3f120e(_0x139101)),_0x2c6c66(this[_0x514a04(0x1ad)]))[_0x514a04(0x3cd)](_0x1947cb=>{_0x2c629d(_0x1947cb);});}[_0x424696(0x29b)](){var _0x3d42f3=_0x424696;const _0x25ebbb=async _0xd82dec=>{var _0x1d5baf=_0x181e;const _0x1029b6=await this[_0x1d5baf(0x1f3)][_0x1d5baf(0x1f1)](_0xd82dec),_0xd19f0b=this['_injector'][_0x1d5baf(0x396)](_0x5e55d9);_0x1029b6[_0x1d5baf(0x224)][_0x1d5baf(0x1fb)](_0x2a5648(_0x49642a=>_0x49642a[_0x1d5baf(0x30c)]===_0x14e6e4['UPDATE_PERMISSION_OBJ']),_0x2c6c66(this[_0x1d5baf(0x1ad)]))[_0x1d5baf(0x3cd)](_0x4b528f=>{var _0x1e4cea=_0x1d5baf;const _0x568162=_0x4b528f,{objectId:_0x26fb8b}=_0x568162[_0x1e4cea(0x2b4)];_0x26fb8b===_0xd82dec?_0xd19f0b[_0x1e4cea(0x35a)](_0xd82dec):_0xd19f0b[_0x1e4cea(0x28f)](_0xd82dec,_0x26fb8b);});};_0x4a6b1e(this[_0x3d42f3(0x270)][_0x3d42f3(0x36d)](_0x6bba17['UNIVER_SHEET']))[_0x3d42f3(0x1fb)](_0x496697(_0x52c55a=>_0x52c55a[_0x3d42f3(0x17c)]()),_0x2a5648(_0xa2b640=>!_0x3f120e(_0xa2b640)),_0x2c6c66(this[_0x3d42f3(0x1ad)]))[_0x3d42f3(0x3cd)](_0x514e8a=>{_0x25ebbb(_0x514e8a);});}};at=Ds([Ue(0x0,_0x186d60(_0x2d62be)),Ue(0x1,_0x5238c4),Ue(0x2,_0xe332cb),Ue(0x3,_0x186d60(Le)),Ue(0x4,_0x186d60(pe))],at);var Ps=Object[_0x424696(0x311)],ws=Object[_0x424696(0x275)],Us=(_0x3f772e,_0x51213e,_0x1663a,_0x15e2d5)=>{var _0x2fb6c7=_0x424696;for(var _0x90e64c=_0x15e2d5>0x1?void 0x0:_0x15e2d5?ws(_0x51213e,_0x1663a):_0x51213e,_0x2e0459=_0x3f772e[_0x2fb6c7(0x314)]-0x1,_0x4be3f2;_0x2e0459>=0x0;_0x2e0459--)(_0x4be3f2=_0x3f772e[_0x2e0459])&&(_0x90e64c=(_0x15e2d5?_0x4be3f2(_0x51213e,_0x1663a,_0x90e64c):_0x4be3f2(_0x90e64c))||_0x90e64c);return _0x15e2d5&&_0x90e64c&&Ps(_0x51213e,_0x1663a,_0x90e64c),_0x90e64c;},_i=(_0x36a500,_0x3d4ae4)=>(_0x33f8e6,_0x5336c7)=>_0x3d4ae4(_0x33f8e6,_0x5336c7,_0x36a500);let Nt=class{constructor(_0x924dcd,_0x286eb3){this['_configService']=_0x924dcd,this['_httpService']=_0x286eb3;}async[_0x424696(0x349)](_0x2d1264,_0x192218){var _0x337035=_0x424696,_0x5c5574;const {unitID:_0x57dcea,type:_0x2bf1c9,revision:_0x39b72e=0x0}=_0x192218,_0x31b0f0=this['getSnapshotAPIPath']()+'/'+_0x2bf1c9+_0x337035(0x213)+_0x57dcea+_0x337035(0x220)+_0x39b72e,_0x3ed338=(await this[_0x337035(0x3e2)][_0x337035(0x396)](_0x31b0f0))['body'],_0x4bdf98=(_0x5c5574=_0x3ed338[_0x337035(0x2b1)])==null?void 0x0:_0x5c5574[_0x337035(0x1af)];if(_0x4bdf98){const _0x53a77e=_0x4bdf98==null?void 0x0:_0x4bdf98[_0x337035(0x368)],_0x2b13e1=_0x4fb5a6[_0x337035(0x2df)](_0x276531(_0x53a77e));_0x4bdf98[_0x337035(0x368)]=_0x2b13e1,Object[_0x337035(0x3bb)](_0x4bdf98['sheets'])[_0x337035(0x409)](([,_0x27b728])=>{var _0x355567=_0x337035;const _0x44b226=_0x27b728[_0x355567(0x368)],_0x1b2d4f=_0x4fb5a6[_0x355567(0x2df)](_0x276531(_0x44b226));_0x27b728[_0x355567(0x368)]=_0x1b2d4f;});}return _0x3ed338;}async[_0x424696(0x2d1)](_0x34d881,_0x53a266){var _0x13cebb=_0x424696;const {unitID:_0x417929,type:_0x246f75,blockID:_0xd24469}=_0x53a266,_0x4457a7=this[_0x13cebb(0x217)]()+'/'+_0x246f75+_0x13cebb(0x213)+_0x417929+_0x13cebb(0x2d4)+_0xd24469;return(await this['_httpService']['get'](_0x4457a7))[_0x13cebb(0x21e)];}async[_0x424696(0x290)](_0xcb6985,_0x15aca6){var _0x53e771=_0x424696;const {unitID:_0x1928d7,type:_0x30b542,blockID:_0x12a0ba}=_0x15aca6,_0x150e36=this[_0x53e771(0x217)]()+_0x53e771(0x2d4)+_0x30b542+_0x53e771(0x213)+_0x1928d7+_0x53e771(0x2d4)+_0x12a0ba;return(await this[_0x53e771(0x3e2)]['get'](_0x150e36))['body'];}async[_0x424696(0x2ad)](_0xcf3134,_0x270ee2){var _0x4cc6ad=_0x424696;const {unitID:_0x2a4e1d,type:_0x365e21,from:_0x5dfb39,to:_0x5d7559}=_0x270ee2,_0xca64c7=this['_getAPIPrefix']()+'/'+_0x365e21+_0x4cc6ad(0x213)+_0x2a4e1d+_0x4cc6ad(0x2e8)+_0x5dfb39+_0x4cc6ad(0x1ce)+_0x5d7559;return(await this['_httpService'][_0x4cc6ad(0x396)](_0xca64c7))[_0x4cc6ad(0x21e)];}[_0x424696(0x326)](){var _0x9ded65=_0x424696,_0x8d112;return(_0x8d112=this['_configService'][_0x9ded65(0x2c0)](En))!=null?_0x8d112:this[_0x9ded65(0x217)]();}[_0x424696(0x217)](){var _0x434e43=_0x424696,_0x323f4d,_0x4e649f;const _0x41f2b3=this[_0x434e43(0x15e)]['getConfig'](gn),_0x33d25a=this[_0x434e43(0x15e)]['getConfig'](q);return(_0x4e649f=(_0x323f4d=_0x33d25a==null?void 0x0:_0x33d25a[_0x434e43(0x2eb)])!=null?_0x323f4d:_0x41f2b3)!=null?_0x4e649f:Sn;}async[_0x424696(0x171)](_0x486ef5,_0x485bf6){var _0x50cc21=_0x424696;const _0x535bb3=_0x50cc21(0x2be)+_0x485bf6[_0x50cc21(0x1d7)]+_0x50cc21(0x213)+_0x485bf6[_0x50cc21(0x161)]+_0x50cc21(0x236);return(await this['_httpService'][_0x50cc21(0x396)](_0x535bb3,{'params':{'resourceId':JSON[_0x50cc21(0x397)](_0x485bf6[_0x50cc21(0x301)])}}))[_0x50cc21(0x21e)];}[_0x424696(0x350)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x424696(0x399)](){var _0x570fb4=_0x424696;throw new Error(_0x570fb4(0x41e));}[_0x424696(0x331)](){var _0x540c90=_0x424696;throw new Error(_0x540c90(0x41e));}[_0x424696(0x42d)](){var _0x3d671d=_0x424696;throw new Error(_0x3d671d(0x41e));}[_0x424696(0x285)](){var _0x29ace7=_0x424696;throw new Error(_0x29ace7(0x41e));}};Nt=Us([_i(0x0,_0x257d37),_i(0x1,_0x186d60(_0x16a7d6))],Nt);var As=Object[_0x424696(0x311)],xs=Object['getOwnPropertyDescriptor'],Ls=(_0x5c77e2,_0x23c13f,_0x3e6812,_0x2fd838)=>{for(var _0x2554e0=_0x2fd838>0x1?void 0x0:_0x2fd838?xs(_0x23c13f,_0x3e6812):_0x23c13f,_0x3181cd=_0x5c77e2['length']-0x1,_0xaf42f6;_0x3181cd>=0x0;_0x3181cd--)(_0xaf42f6=_0x5c77e2[_0x3181cd])&&(_0x2554e0=(_0x2fd838?_0xaf42f6(_0x23c13f,_0x3e6812,_0x2554e0):_0xaf42f6(_0x2554e0))||_0x2554e0);return _0x2fd838&&_0x2554e0&&As(_0x23c13f,_0x3e6812,_0x2554e0),_0x2554e0;},Ae=(_0x200e14,_0x41f89c)=>(_0x5382b9,_0x1edd03)=>_0x41f89c(_0x5382b9,_0x1edd03,_0x200e14);let Dt=class extends _0x30ef02{constructor(_0x5175f4,_0x14b7e6,_0xa822e0,_0x206500,_0xd70044){var _0x29f7fc=_0x424696;super(_0x5175f4,_0x14b7e6,_0xa822e0),this[_0x29f7fc(0x219)]=_0x206500,this[_0x29f7fc(0x389)]=_0xd70044;}[_0x424696(0x2e4)](_0x118c9e,_0x55765e){var _0x222d9d=_0x424696;const _0x31f5c4=this[_0x222d9d(0x223)](_0x118c9e);if(_0x31f5c4)try{const _0x25e714=this[_0x222d9d(0x148)](_0x31f5c4,_0x55765e);this[_0x222d9d(0x369)](_0x118c9e,_0x25e714);}catch(_0x3d1ad6){this[_0x222d9d(0x389)][_0x222d9d(0x20f)](_0x222d9d(0x299),_0x3d1ad6),this[_0x222d9d(0x1d1)](_0x118c9e);}const _0x5230eb=this[_0x222d9d(0x262)](_0x118c9e);if(_0x5230eb)try{const _0x3d2379=this['_transformStack'](_0x5230eb,_0x55765e);this[_0x222d9d(0x42a)](_0x118c9e,_0x3d2379);}catch(_0x320fff){this[_0x222d9d(0x389)][_0x222d9d(0x20f)](_0x320fff),this[_0x222d9d(0x296)](_0x118c9e);}}[_0x424696(0x1d1)](_0x171198){var _0x522ca2=_0x424696;const _0x57c190=this[_0x522ca2(0x223)](_0x171198);_0x57c190&&(_0x57c190['length']=0x0,this[_0x522ca2(0x14c)]());}['_clearRedo'](_0x33eddf){var _0x470864=_0x424696;const _0x185c15=this[_0x470864(0x262)](_0x33eddf);_0x185c15&&(_0x185c15[_0x470864(0x314)]=0x0,this[_0x470864(0x14c)]());}[_0x424696(0x369)](_0xfb9070,_0x1178c4){var _0x379caa=_0x424696;this[_0x379caa(0x175)][_0x379caa(0x31f)](_0xfb9070,_0x1178c4),this['_updateStatus']();}[_0x424696(0x42a)](_0x139fa4,_0x560ac7){var _0x42cff1=_0x424696;this[_0x42cff1(0x408)][_0x42cff1(0x31f)](_0x139fa4,_0x560ac7),this['_updateStatus']();}['_transformStack'](_0x55b660,_0x3e830d){var _0x5327f3=_0x424696;const _0x15722c=[];let _0x29b81c=_0x3e830d,_0x19d79f=_0x3e830d;for(let _0xefe7f8=_0x55b660['length']-0x1;_0xefe7f8>=0x0;_0xefe7f8--){const {unitID:_0x2fbe87,undoMutations:_0x2010f8,redoMutations:_0x345951}=_0x55b660[_0xefe7f8],_0x30c64e=this['_transformService'][_0x5327f3(0x268)](_0x29b81c,_0x2010f8),_0x5a5c01=this[_0x5327f3(0x219)][_0x5327f3(0x268)](_0x19d79f,_0x345951);if(_0x81aea2(_0x30c64e)||_0x81aea2(_0x5a5c01)){this[_0x5327f3(0x389)]['error'](_0x5327f3(0x299),_0x5327f3(0x211),_0x30c64e,_0x5a5c01);break;}_0x29b81c=_0x30c64e[_0x5327f3(0x2d9)],_0x19d79f=_0x5a5c01[_0x5327f3(0x2d9)],_0x15722c[_0x5327f3(0x232)]({'unitID':_0x2fbe87,'undoMutations':_0x30c64e[_0x5327f3(0x3b7)],'redoMutations':_0x5a5c01[_0x5327f3(0x3b7)]});}return _0x15722c[_0x5327f3(0x380)]();}};Dt=Ls([Ae(0x0,_0x5238c4),Ae(0x1,_0xe2c354),Ae(0x2,_0x153884),Ae(0x3,_0xfa424c),Ae(0x4,_0x4d59d7)],Dt);var Ui=Object[_0x424696(0x311)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x7f301,_0x43de0f,_0x172ec3)=>_0x43de0f in _0x7f301?Ui(_0x7f301,_0x43de0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x172ec3}):_0x7f301[_0x43de0f]=_0x172ec3,Hs=(_0xbe4b4,_0x56f06c,_0x262101,_0x34d57e)=>{var _0x4b50d7=_0x424696;for(var _0x2503a0=_0x34d57e>0x1?void 0x0:_0x34d57e?Ms(_0x56f06c,_0x262101):_0x56f06c,_0x4c9e78=_0xbe4b4[_0x4b50d7(0x314)]-0x1,_0xe9eaa6;_0x4c9e78>=0x0;_0x4c9e78--)(_0xe9eaa6=_0xbe4b4[_0x4c9e78])&&(_0x2503a0=(_0x34d57e?_0xe9eaa6(_0x56f06c,_0x262101,_0x2503a0):_0xe9eaa6(_0x2503a0))||_0x2503a0);return _0x34d57e&&_0x2503a0&&Ui(_0x56f06c,_0x262101,_0x2503a0),_0x2503a0;},St=(_0x5657ef,_0x30b405)=>(_0x46da4,_0x5090f2)=>_0x30b405(_0x46da4,_0x5090f2,_0x5657ef),ks=(_0x59925d,_0xd7a494,_0x59865e)=>$s(_0x59925d,_0xd7a494+'',_0x59865e);const js='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Pt=class extends _0x1c9c9b{constructor(_0x57e922,_0x3efa2f,_0xb313,_0x1d907b){var _0x426756=_0x424696;super(),N(this,'_config'),(this[_0x426756(0x389)]=_0x3efa2f,this[_0x426756(0x21b)]=_0xb313,this[_0x426756(0x15e)]=_0x1d907b);const {..._0x30e5c3}=_0x11ae4a({},An,_0x57e922);if(!_0x30e5c3[_0x426756(0x189)])throw new Error(_0x426756(0x2a9));this['_config']=_0x30e5c3,this[_0x426756(0x15e)][_0x426756(0x3ef)](q,_0x30e5c3);}[_0x424696(0x27f)](){var _0x1aaf7c=_0x424696;this[_0x1aaf7c(0x39c)](),this['_initDependencies']();}[_0x424696(0x39c)](){var _0x3cc95f=_0x424696,_0x27b60e,_0x5a0a04;this['_injector'][_0x3cc95f(0x3d3)](_0x4f2b06)&&this[_0x3cc95f(0x389)]['error'](_0x3cc95f(0x2a1),_0x3cc95f(0x42f));const _0x1026ac=_0x4a4db9([[_0x4f2b06,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this[_0x3cc95f(0x1fd)][_0x3cc95f(0x189)]}],[_0x62c53e,{'useClass':Nt}],[_0x2928a1,{'useClass':bt}],[_0x2e2108,{'useClass':Ot}],[_0x434831,{'useClass':yt}],[rt],[Ct]],(_0x27b60e=this[_0x3cc95f(0x1fd)])==null?void 0x0:_0x27b60e[_0x3cc95f(0x141)]);if(!((_0x5a0a04=this[_0x3cc95f(0x1fd)])!=null&&_0x5a0a04['enableSingleActiveInstanceLock'])){const _0x481906=_0x1026ac['findIndex'](([_0x4d452e])=>_0x4d452e===ht);_0x481906!==-0x1&&_0x1026ac[_0x3cc95f(0x2ed)](_0x481906,0x1);}_0x20fda7(this['_injector'],_0x1026ac);}['_initDependencies'](){var _0x1be5d1=_0x424696,_0x157367,_0x338f1a,_0x50cca8;this[_0x1be5d1(0x21b)]['get'](_0x16a7d6)[_0x1be5d1(0x254)]({'priority':0x14,'interceptor':_0x1e11c4({'maxParallel':0x6})}),(_0x157367=this[_0x1be5d1(0x1fd)])!=null&&_0x157367[_0x1be5d1(0x2a8)]||(_0x338f1a=this[_0x1be5d1(0x21b)][_0x1be5d1(0x396)](J,_0x1cfcc2[_0x1be5d1(0x3a4)]))==null||_0x338f1a[_0x1be5d1(0x2b8)](),(_0x50cca8=this[_0x1be5d1(0x1fd)])!=null&&_0x50cca8[_0x1be5d1(0x309)]&&_0x53afbf(this[_0x1be5d1(0x21b)],[[st]]),_0x53afbf(this[_0x1be5d1(0x21b)],[[ot],[rt],[at]]);}};ks(Pt,_0x424696(0x260),js),Pt=Hs([_0x5c12b6(_0x3310d8,_0x51bd22),St(0x1,_0x4d59d7),St(0x2,_0x186d60(_0x2d62be)),St(0x3,_0x257d37)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|