@univerjs-pro/collaboration-client 0.5.4-nightly.202501181312 → 0.5.4-nightly.202501181605
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 _0x59924f=_0x2b46;(function(_0x56c2cd,_0x1ec661){var _0x3accc7=_0x2b46,_0x233a42=_0x56c2cd();while(!![]){try{var _0x25d30c=parseInt(_0x3accc7(0x161))/0x1+parseInt(_0x3accc7(0x132))/0x2*(-parseInt(_0x3accc7(0x35a))/0x3)+-parseInt(_0x3accc7(0x400))/0x4*(parseInt(_0x3accc7(0x1a7))/0x5)+-parseInt(_0x3accc7(0x3aa))/0x6*(parseInt(_0x3accc7(0x405))/0x7)+-parseInt(_0x3accc7(0x14b))/0x8*(-parseInt(_0x3accc7(0x23b))/0x9)+-parseInt(_0x3accc7(0x1c7))/0xa*(-parseInt(_0x3accc7(0x40e))/0xb)+parseInt(_0x3accc7(0x21d))/0xc;if(_0x25d30c===_0x1ec661)break;else _0x233a42['push'](_0x233a42['shift']());}catch(_0x1a68c6){_0x233a42['push'](_0x233a42['shift']());}}}(_0x8331,0x2edee));var Li=Object[_0x59924f(0x385)],Mi=(_0x146c57,_0x467a7d,_0x2910da)=>_0x467a7d in _0x146c57?Li(_0x146c57,_0x467a7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2910da}):_0x146c57[_0x467a7d]=_0x2910da,N=(_0x3c68e9,_0x47045b,_0x50d5b8)=>Mi(_0x3c68e9,typeof _0x47045b!=_0x59924f(0x2ed)?_0x47045b+'':_0x47045b,_0x50d5b8);import{createIdentifier as _0x1a5277,Inject as _0x1bc764,Injector as _0x305299,Disposable as _0xfc6e5,DisposableCollection as _0x598c54,toDisposable as _0x22d2a9,IConfigService as _0x30c313,ILogService as _0x54d1e0,UserManagerService as _0x3016f9,UniverInstanceType as _0x51bed3,IUniverInstanceService as _0x4844be,LocaleService as _0x436289,Optional as _0x4e682c,RxDisposable as _0x2d45c2,Tools as _0x541b83,Rectangle as _0x239908,ICommandService as _0x138ae6,JSONX as _0x3e3981,CommandType as _0x1a1be5,IPermissionService as _0xb52dec,IUndoRedoService as _0x1d3917,sequenceExecute as _0x368920,Workbook as _0x12fdcf,MentionType as _0x439b82,IAuthzIoService as _0x29bb4e,isInternalEditorID as _0x3fdc3c,LocalUndoRedoService as _0x329d94,IContextService as _0x21d5ea,DependentOn as _0x4e34e1,Plugin as _0x581649,merge as _0x242ea6,mergeOverrideWithDependencies as _0x44c8c5,IMentionIOService as _0x58bb71,registerDependencies as _0x2a5538,Quantity as _0x2b7a3e,touchDependencies as _0x498568}from'@univerjs/core';import{Subject as _0x524606,merge as _0x4166c5,of as _0x815db8,BehaviorSubject as _0x1684f8,takeUntil as _0x3b11d7,ReplaySubject as _0x4111a3,take as _0x4b3b13,map as _0x617683,shareReplay as _0x69203a,firstValueFrom as _0x2b4fca,concatMap as _0x2f3673}from'rxjs';import{map as _0x23545a,take as _0x26095a,filter as _0xca8f0,delay as _0x264413,takeUntil as _0x412f17}from'rxjs/operators';import{HTTPService as _0x3edb0a,ISocketService as _0x2bfe6b,MergeInterceptorFactory as _0x450d4d,HTTPRequest as _0x29a0dd,UniverNetworkPlugin as _0x5d82ec,ThresholdInterceptorFactory as _0x244b97}from'@univerjs/network';import{CollaborationEvent as _0x2872d1,parseChangesetToProtocol as _0x11e097,ISnapshotServerService as _0x52101f,isTransformMutationsWithChangesetSuccess as _0x150ebb,ITransformService as _0x3511a4,mapDocumentTypeToUniverType as _0x25fbac,RevisionService as _0x55a265,isTransformChangesetsSuccess as _0x2c2188,CompressMutationService as _0x1b0178,parseProtocolChangeset as _0x241d74,SnapshotService as _0x566934,textEncoder as _0x1626ef,b64DecodeUnicode as _0x5d84db,isTransformMutationsWithChangesetFailure as _0x51b41b,UniverCollaborationPlugin as _0xb7ee05}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x235d78}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xf6a1e8}from'@univerjs/docs';function _0x2b46(_0xb1596c,_0x1356d3){var _0x833112=_0x8331();return _0x2b46=function(_0x2b4693,_0x311ae9){_0x2b4693=_0x2b4693-0x117;var _0xbc72b2=_0x833112[_0x2b4693];return _0xbc72b2;},_0x2b46(_0xb1596c,_0x1356d3);}import{SheetsSelectionsService as _0x49983d,SetSelectionsOperation as _0x2d20d8,InsertSheetMutation as _0x40acf0,EmptyMutation as _0x2ce20d,WorkbookEditablePermission as _0x28e48e,SheetPermissionInitController as _0x565119,UniverSheetsPlugin as _0x272fa0}from'@univerjs/sheets';import{ImageSourceType as _0x543e52,ImageUploadStatusType as _0x2c1caa,IImageIoService as _0x277dfa}from'@univerjs/drawing';import{getGlobalObject as _0x512f0c}from'@univerjs-pro/license';const En=_0x59924f(0x2a2),In=_0x59924f(0x19d),Tn=_0x59924f(0x3a7),eo=_0x59924f(0x277),Cn=0x7d0,Rn=_0x59924f(0x20b),bn=_0x59924f(0x2b8),On=_0x59924f(0x3d1),yn=_0x59924f(0x409),Nn=0x7530,Si=_0x59924f(0x29f),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x59924f(0x416),io=0x3e8,Un=_0x59924f(0x3c2),An=_0x59924f(0x363),xn=_0x59924f(0x25c),Ln=_0x59924f(0x1b6),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x59924f(0x2c9);var Ii=(_0x46c208=>(_0x46c208[_0x46c208['UNDEFINED']=0x0]=_0x59924f(0x337),_0x46c208[_0x46c208['OK']=0x1]='OK',_0x46c208[_0x46c208[_0x59924f(0x1c8)]=0x2]=_0x59924f(0x1c8),_0x46c208[_0x46c208[_0x59924f(0x16c)]=0x3]=_0x59924f(0x16c),_0x46c208[_0x46c208[_0x59924f(0x2ac)]=0x4]=_0x59924f(0x2ac),_0x46c208[_0x46c208['UNAUTHENTICATED']=0x5]=_0x59924f(0x284),_0x46c208[_0x46c208['ALREADY_EXISTS']=0x6]=_0x59924f(0x222),_0x46c208[_0x46c208['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x46c208[_0x46c208['TOO_MANY_REQUESTS']=0x8]=_0x59924f(0x20f),_0x46c208[_0x46c208['COMPLETION_FINISHED']=0x9]=_0x59924f(0x373),_0x46c208[_0x46c208[_0x59924f(0x1dd)]=0x1389]=_0x59924f(0x1dd),_0x46c208[_0x46c208[_0x59924f(0x343)]=0x1771]=_0x59924f(0x343),_0x46c208[_0x46c208[_0x59924f(0x230)]=0x1772]=_0x59924f(0x230),_0x46c208[_0x46c208['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x59924f(0x411),_0x46c208[_0x46c208[_0x59924f(0x366)]=0x1b59]='APPLY_REJECT',_0x46c208[_0x46c208['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x59924f(0x39f),_0x46c208[_0x46c208['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x59924f(0x223),_0x46c208[_0x46c208[_0x59924f(0x3c6)]=0x1b5c]=_0x59924f(0x3c6),_0x46c208[_0x46c208[_0x59924f(0x293)]=0x1b5d]=_0x59924f(0x293),_0x46c208[_0x46c208[_0x59924f(0x3ec)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x46c208[_0x46c208[_0x59924f(0x379)]=0x2329]=_0x59924f(0x379),_0x46c208[_0x46c208['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x59924f(0x288),_0x46c208[_0x46c208[_0x59924f(0x160)]=0x232b]=_0x59924f(0x160),_0x46c208[_0x46c208[_0x59924f(0x165)]=0x232c]=_0x59924f(0x165),_0x46c208[_0x46c208[_0x59924f(0x3a6)]=0x232d]=_0x59924f(0x3a6),_0x46c208[_0x46c208[_0x59924f(0x2e7)]=0x2711]=_0x59924f(0x2e7),_0x46c208[_0x46c208['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59924f(0x389),_0x46c208[_0x46c208[_0x59924f(0x36d)]=0x2713]=_0x59924f(0x36d),_0x46c208[_0x46c208[_0x59924f(0x26a)]=0x2714]=_0x59924f(0x26a),_0x46c208[_0x46c208[_0x59924f(0x348)]=0x2af9]=_0x59924f(0x348),_0x46c208[_0x46c208[_0x59924f(0x386)]=-0x1]=_0x59924f(0x386),_0x46c208))(Ii||{}),Q=(_0x30cfa1=>(_0x30cfa1[_0x30cfa1[_0x59924f(0x371)]=0x0]=_0x59924f(0x371),_0x30cfa1[_0x30cfa1['UNIVER_DOC']=0x1]=_0x59924f(0x3fa),_0x30cfa1[_0x30cfa1[_0x59924f(0x14c)]=0x2]=_0x59924f(0x14c),_0x30cfa1[_0x30cfa1[_0x59924f(0x37a)]=0x3]=_0x59924f(0x37a),_0x30cfa1[_0x30cfa1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x30cfa1[_0x30cfa1[_0x59924f(0x386)]=-0x1]=_0x59924f(0x386),_0x30cfa1))(Q||{}),F=(_0x5df77c=>(_0x5df77c[_0x5df77c[_0x59924f(0x2e4)]=0x0]='UNKNOWN_CMD',_0x5df77c[_0x5df77c[_0x59924f(0x193)]=0x1]=_0x59924f(0x193),_0x5df77c[_0x5df77c['JOIN']=0x2]='JOIN',_0x5df77c[_0x5df77c['LEAVE']=0x3]='LEAVE',_0x5df77c[_0x5df77c[_0x59924f(0x286)]=0x4]='INGEST',_0x5df77c[_0x5df77c[_0x59924f(0x41a)]=0x5]='HEARTBEAT',_0x5df77c[_0x5df77c[_0x59924f(0x345)]=0x6]=_0x59924f(0x345),_0x5df77c[_0x5df77c[_0x59924f(0x386)]=-0x1]='UNRECOGNIZED',_0x5df77c))(F||{}),Ee=(_0x524975=>(_0x524975[_0x524975['UNKNOWN_CODE']=0x0]=_0x59924f(0x3a8),_0x524975[_0x524975['OK']=0x1]='OK',_0x524975[_0x524975['FAIL']=0x2]=_0x59924f(0x3a9),_0x524975[_0x524975['JOIN_ROOM_FULL']=0x3e9]=_0x59924f(0x2e5),_0x524975[_0x524975[_0x59924f(0x3da)]=0x3ea]=_0x59924f(0x3da),_0x524975[_0x524975[_0x59924f(0x3d7)]=0x3eb]=_0x59924f(0x3d7),_0x524975[_0x524975[_0x59924f(0x418)]=0x3ec]=_0x59924f(0x418),_0x524975[_0x524975['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x524975))(Ee||{}),Ti=(_0x2ff5d3=>(_0x2ff5d3[_0x2ff5d3[_0x59924f(0x2ad)]=0x0]=_0x59924f(0x2ad),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x1ea)]=0x1]='HttpImport',_0x2ff5d3[_0x2ff5d3[_0x59924f(0x13e)]=0x2]=_0x59924f(0x13e),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x3a0)]=0x3]=_0x59924f(0x3a0),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x1c9)]=0x4]=_0x59924f(0x1c9),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x386)]=-0x1]='UNRECOGNIZED',_0x2ff5d3))(Ti||{});const q=_0x59924f(0x1ed),Wt={};var se=(_0x2e2962=>(_0x2e2962[_0x59924f(0x26d)]=_0x59924f(0x26d),_0x2e2962[_0x59924f(0x16c)]='PERMISSION_DENIED',_0x2e2962['CONFLICT']='CONFLICT',_0x2e2962['CLOSE_ROOM']='CLOSE_ROOM',_0x2e2962[_0x59924f(0x3bf)]=_0x59924f(0x3bf),_0x2e2962[_0x59924f(0x3ba)]='SOCKET_FAILED_RETRY',_0x2e2962[_0x59924f(0x1e9)]='SOCKET_FAILED',_0x2e2962[_0x59924f(0x2f9)]='SUBMIT_CHANGESET_TIMEOUT',_0x2e2962))(se||{});class pe{constructor(){var _0x226a95=_0x59924f;N(this,_0x226a95(0x240),new _0x524606()),N(this,_0x226a95(0x1ae),this[_0x226a95(0x240)]['asObservable']());}[_0x59924f(0x1fa)](_0x1c3c65){var _0x4f7e3e=_0x59924f;this['_event$'][_0x4f7e3e(0x268)](_0x1c3c65);}}const Mn=_0x1a5277('univer-pro.collaboration-client.network-condition.service');function $n(_0x66cbcd){var _0x2ab016=_0x59924f,_0x15a833,_0x41f3fe,_0x42634e,_0x3dac67,_0xb13afc;const _0x42431a=_0x66cbcd[_0x2ab016(0x27b)],_0xedd05f=JSON[_0x2ab016(0x272)](_0x42431a);switch(_0xedd05f[_0x2ab016(0x2b6)]){case F['HEARTBEAT']:case F[_0x2ab016(0x193)]:{const _0x2460cf=_0xedd05f[_0x2ab016(0x24c)];return{..._0xedd05f,'data':_0x2460cf,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};}case F[_0x2ab016(0x2d4)]:{const _0x63d6bf=_0xedd05f[_0x2ab016(0x296)];return{..._0xedd05f,'data':_0x63d6bf,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};}case F[_0x2ab016(0x345)]:{const _0x207a4e=_0xedd05f[_0x2ab016(0x35b)];switch(_0x207a4e[_0x2ab016(0x35c)]){case _0x2872d1[_0x2ab016(0x23e)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x15a833=_0x207a4e[_0x2ab016(0x407)])==null?void 0x0:_0x15a833['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x1bd)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x41f3fe=_0x207a4e[_0x2ab016(0x38d)])==null?void 0x0:_0x41f3fe['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['NEW_CHANGESETS']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x42634e=_0x207a4e[_0x2ab016(0x25e)])==null?void 0x0:_0x42634e['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['CHANGESET_REJ']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x3dac67=_0x207a4e[_0x2ab016(0x300)])==null?void 0x0:_0x3dac67['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['CHANGESET_SHOULD_RETRY']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0xb13afc=_0x207a4e[_0x2ab016(0x297)])==null?void 0x0:_0xb13afc['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['UPDATE_CURSOR']:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x22d)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x1ca)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x3db)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x372)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x1d5)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x266)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x1c0)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x36f)]:case _0x2872d1[_0x2ab016(0x2b9)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x15e)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x267)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e['liveShareNewHost']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x26f)]:return{..._0xedd05f,'data':_0x207a4e,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['COMMENT_UPDATE']:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x332)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x13b)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x142)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x221)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x26b)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x134)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e['uniscriptRunEvent']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};default:return _0xedd05f;}}default:return _0xedd05f;}}function Hn(_0x18c58f){var _0x5e895d=_0x59924f;switch(_0x18c58f[_0x5e895d(0x2b6)]){case F[_0x5e895d(0x41a)]:case F[_0x5e895d(0x193)]:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f['routeKey']});case F[_0x5e895d(0x286)]:{let _0x3f9e09;switch(_0x18c58f['data'][_0x5e895d(0x35c)]){case _0x2872d1['UPDATE_CURSOR']:{_0x3f9e09={'eventID':_0x2872d1['UPDATE_CURSOR'],'updateCursorEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1['USERS_LEAVE']:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x372)],'leaveEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x1ca)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x1ca)],'joinEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x266)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x266)],'liveShareNewHost':_0x18c58f[_0x5e895d(0x27b)]['data']};break;}case _0x2872d1[_0x5e895d(0x2b9)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x2b9)],'liveShareOperation':_0x18c58f['data'][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x267)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x267)],'liveShareTerminate':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x243)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x243)],'liveShareRequestHost':_0x18c58f['data'][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x36f)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x36f)]};break;}default:_0x3f9e09={'eventID':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x35c)]};}return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f['cmd'],'routeKey':_0x18c58f[_0x5e895d(0x36e)],'collaMsg':_0x3f9e09});}case F[_0x5e895d(0x2d4)]:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f['routeKey'],'joinReq':_0x18c58f[_0x5e895d(0x27b)]});case F['LEAVE']:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f[_0x5e895d(0x36e)],'leaveReq':_0x18c58f['data']});default:throw new Error(_0x5e895d(0x3ea));}}var kn=Object[_0x59924f(0x385)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0xf56ee3,_0x26fd39,_0x3c539c,_0x31a276)=>{for(var _0x2ec2df=_0x31a276>0x1?void 0x0:_0x31a276?jn(_0x26fd39,_0x3c539c):_0x26fd39,_0x5edaf9=_0xf56ee3['length']-0x1,_0x1731b6;_0x5edaf9>=0x0;_0x5edaf9--)(_0x1731b6=_0xf56ee3[_0x5edaf9])&&(_0x2ec2df=(_0x31a276?_0x1731b6(_0x26fd39,_0x3c539c,_0x2ec2df):_0x1731b6(_0x2ec2df))||_0x2ec2df);return _0x31a276&&_0x2ec2df&&kn(_0x26fd39,_0x3c539c,_0x2ec2df),_0x2ec2df;},Ue=(_0x387018,_0x283803)=>(_0x32ed62,_0x2ac9a4)=>_0x283803(_0x32ed62,_0x2ac9a4,_0x387018);const Ci=_0x1a5277(_0x59924f(0x412));function Fn(_0x343154,_0x4786e8,_0x52982c){var _0x2cb471=_0x59924f;return _0x343154+'/'+_0x4786e8+_0x2cb471(0x3e2)+_0x52982c+_0x2cb471(0x122);}let Et=class extends _0xfc6e5{constructor(_0x4c8e06,_0x2a6e9a,_0x22e306,_0x16d840,_0x50e4be){var _0x5be68f=_0x59924f;super(),this[_0x5be68f(0x3c3)]=_0x4c8e06,this['_http']=_0x2a6e9a,this[_0x5be68f(0x3c1)]=_0x22e306,this[_0x5be68f(0x11d)]=_0x16d840,this[_0x5be68f(0x1b2)]=_0x50e4be;}[_0x59924f(0x35f)](_0x3657b1){var _0x384ce1=_0x59924f;const _0x1aad76=this['_injector'][_0x384ce1(0x13d)](_0x2bfe6b);if(!_0x1aad76)throw new Error(_0x384ce1(0x269));const _0x285c8f=_0x1aad76[_0x384ce1(0x35f)](_0x3657b1);if(!_0x285c8f)throw new Error(_0x384ce1(0x167));const _0x57c56d=new _0x598c54(),_0x8d508=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f['close$'][_0x384ce1(0x387)](_0x1b3822=>_0x8d508['next'](_0x1b3822))),_0x57c56d[_0x384ce1(0x393)](_0x22d2a9(()=>_0x8d508['complete']()));const _0x736d70=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f[_0x384ce1(0x265)]['subscribe'](_0xdd431a=>_0x736d70[_0x384ce1(0x268)](_0xdd431a))),_0x57c56d['add'](_0x22d2a9(()=>_0x736d70[_0x384ce1(0x3cd)]()));const _0x3530c9=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f[_0x384ce1(0x117)][_0x384ce1(0x387)](_0x357d00=>{var _0x166c5d=_0x384ce1;const _0x5e66f3=$n(_0x357d00);_0x3530c9[_0x166c5d(0x268)](_0x5e66f3);})),_0x57c56d['add'](_0x22d2a9(()=>_0x3530c9['complete']()));let _0x493c1a;const _0x4a7563=()=>{var _0x3cc131=_0x384ce1;_0x736d70[_0x3cc131(0x268)](new Event(_0x3cc131(0x3c8))),_0x8d508['next'](new CloseEvent('connection\x20error')),_0x493c1a[_0x3cc131(0x1bc)]();};return _0x493c1a={'memberID':'','close$':_0x8d508[_0x384ce1(0x3b7)](),'error$':_0x736d70[_0x384ce1(0x3b7)](),'open$':_0x285c8f['open$'],'message$':_0x3530c9[_0x384ce1(0x3b7)](),'send':_0x4843a7=>{var _0x56e26e=_0x384ce1;if(_0x4843a7[_0x56e26e(0x2b6)]===F[_0x56e26e(0x286)]){if(_0x4843a7[_0x56e26e(0x27b)]['eventID']===_0x2872d1[_0x56e26e(0x172)]){this[_0x56e26e(0x1c1)](_0x493c1a,_0x4843a7[_0x56e26e(0x27b)])[_0x56e26e(0x2c0)](_0x4b50f7=>{var _0x26962c=_0x56e26e;this[_0x26962c(0x11d)]['error'](_0x4b50f7),_0x4a7563();});return;}if(_0x4843a7['data'][_0x56e26e(0x35c)]===_0x2872d1[_0x56e26e(0x39e)]){const _0xec7dd7=_0x4843a7[_0x56e26e(0x27b)];this[_0x56e26e(0x28a)](_0xec7dd7)[_0x56e26e(0x2fa)](_0x5422a=>{var _0x5d3224=_0x56e26e;_0x3530c9['next']({'cmd':F[_0x5d3224(0x345)],'code':Ee['OK'],'routeKey':_0xec7dd7[_0x5d3224(0x27b)][_0x5d3224(0x307)],'routeType':'','data':{'eventID':_0x2872d1['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5422a}}});})[_0x56e26e(0x2c0)](_0x53b7b5=>{var _0x3a3c0f=_0x56e26e;this[_0x3a3c0f(0x11d)][_0x3a3c0f(0x289)](_0x53b7b5),_0x4a7563();});return;}}_0x285c8f['send'](Hn(_0x4843a7));},'close':()=>{var _0x1c4628=_0x384ce1;_0x285c8f[_0x1c4628(0x1bc)](),_0x57c56d['dispose']();}},_0x493c1a;}async[_0x59924f(0x1c1)](_0x39598e,_0x1774ac){var _0x35f0fb=_0x59924f,_0x8fb2da,_0x411401;const {unitType:_0x18801a,unitID:_0x27048e,changeset:_0x5bd3d4}=_0x1774ac[_0x35f0fb(0x27b)],_0x505405={'unitID':_0x27048e,'memberID':_0x39598e['memberID'],'type':_0x18801a,'changeset':_0x11e097(_0x5bd3d4)},_0x541b5d=this[_0x35f0fb(0x3c1)][_0x35f0fb(0x180)](Un),_0x4d407e=this[_0x35f0fb(0x3c1)][_0x35f0fb(0x180)](q),_0x4a0c11=Fn((_0x411401=(_0x8fb2da=_0x4d407e==null?void 0x0:_0x4d407e[_0x35f0fb(0x20a)])!=null?_0x8fb2da:_0x541b5d)!=null?_0x411401:An,_0x18801a,_0x27048e);try{await this[_0x35f0fb(0x1c5)]['post'](_0x4a0c11,{'body':_0x505405});}catch(_0x2b6b54){throw this['_logService']['error'](_0x35f0fb(0x212),_0x35f0fb(0x390)),_0x2b6b54;}}async['_fetchMissChangesets'](_0x2a88ca){var _0x93a9f8=_0x59924f;const {unitID:_0xc3a941,from:_0x4e26af,to:_0x2e93e0,unitType:_0x452ad2}=_0x2a88ca[_0x93a9f8(0x27b)];return(await this['_snapshotServerService'][_0x93a9f8(0x1d2)]({'metadata':void 0x0},{'unitID':_0xc3a941,'type':_0x452ad2,'from':_0x4e26af,'to':_0x2e93e0}))[_0x93a9f8(0x3e7)];}};Et=Bn([Ue(0x0,_0x1bc764(_0x305299)),Ue(0x1,_0x1bc764(_0x3edb0a)),Ue(0x2,_0x30c313),Ue(0x3,_0x54d1e0),Ue(0x4,_0x52101f)],Et);const Vn=_0x59924f(0x30e);function Gn(_0x48dc0b){var _0x496c14=_0x59924f;return JSON['stringify'](_0x48dc0b)[_0x496c14(0x351)];}class Ri{constructor(){var _0x3cd0ae=_0x59924f;N(this,'_commentUpdate$',new _0x524606()),N(this,_0x3cd0ae(0x121),this[_0x3cd0ae(0x295)]['asObservable']());}[_0x59924f(0x251)](_0x3a2e32){this['_commentUpdate$']['next'](_0x3a2e32);}}var Wn=Object[_0x59924f(0x385)],Kn=Object[_0x59924f(0x33e)],Yn=(_0x253189,_0xc3132d,_0x31278b,_0x14eec8)=>{var _0x32d0d7=_0x59924f;for(var _0x376f23=_0x14eec8>0x1?void 0x0:_0x14eec8?Kn(_0xc3132d,_0x31278b):_0xc3132d,_0x4deb91=_0x253189[_0x32d0d7(0x351)]-0x1,_0x50fa5d;_0x4deb91>=0x0;_0x4deb91--)(_0x50fa5d=_0x253189[_0x4deb91])&&(_0x376f23=(_0x14eec8?_0x50fa5d(_0xc3132d,_0x31278b,_0x376f23):_0x50fa5d(_0x376f23))||_0x376f23);return _0x14eec8&&_0x376f23&&Wn(_0xc3132d,_0x31278b,_0x376f23),_0x376f23;},Kt=(_0x517b78,_0x2ab492)=>(_0x10c1ed,_0x59ed25)=>_0x2ab492(_0x10c1ed,_0x59ed25,_0x517b78);let xe=class extends _0xfc6e5{constructor(_0x5f1798,_0x418a3b){var _0x123fa6=_0x59924f;super(),N(this,_0x123fa6(0x1cc),new Map()),N(this,_0x123fa6(0x3d6),new _0x524606()),(this[_0x123fa6(0x2d7)]=_0x5f1798,this[_0x123fa6(0x3d5)]=_0x418a3b,this['disposeWithMe'](_0x4166c5(this[_0x123fa6(0x2d7)][_0x123fa6(0x2ca)](_0x51bed3['UNIVER_SHEET'])[_0x123fa6(0x25b)](_0x23545a(_0x278231=>_0x278231[_0x123fa6(0x201)]())),this[_0x123fa6(0x2d7)][_0x123fa6(0x2ca)](_0x51bed3[_0x123fa6(0x3fa)])[_0x123fa6(0x25b)](_0x23545a(_0x2aa298=>_0x2aa298['getUnitId']())),this['_univerInstanceService'][_0x123fa6(0x2ca)](_0x51bed3['UNIVER_SLIDE'])[_0x123fa6(0x25b)](_0x23545a(_0x5e588d=>_0x5e588d[_0x123fa6(0x201)]())))[_0x123fa6(0x387)](_0x11b2fa=>this['_removeRoom'](_0x11b2fa))));}[_0x59924f(0x225)](_0x2ae903){var _0x13edf7=_0x59924f;return this[_0x13edf7(0x1cc)]['has'](_0x2ae903)?_0x815db8(this[_0x13edf7(0x1cc)][_0x13edf7(0x13d)](_0x2ae903)):this[_0x13edf7(0x3d6)][_0x13edf7(0x25b)](_0x23545a(_0x10fc8d=>{var _0x4357cb=_0x13edf7;if(_0x10fc8d===_0x2ae903)return this[_0x4357cb(0x1cc)][_0x4357cb(0x13d)](_0x10fc8d);}));}['setCurrentUser'](_0x5cd177){var _0x5c86f4=_0x59924f;this[_0x5c86f4(0x3d5)][_0x5c86f4(0x1d3)](_0x5cd177);}[_0x59924f(0x38a)](){var _0x12ac00=_0x59924f;return this['_userManagerService'][_0x12ac00(0x38a)]();}[_0x59924f(0x37d)](_0x2095e3,_0x3f0110){var _0x1fb05d=_0x59924f;let _0x371648=this[_0x1fb05d(0x1cc)]['get'](_0x2095e3);_0x371648||(_0x371648=new qn(),this[_0x1fb05d(0x1cc)][_0x1fb05d(0x2d3)](_0x2095e3,_0x371648),this['_roomCreated$'][_0x1fb05d(0x268)](_0x2095e3)),_0x371648[_0x1fb05d(0x37d)](_0x3f0110);}['removeMember'](_0x18465c,_0xd7769c){var _0x4840e0=_0x59924f;const _0x372b9b=this[_0x4840e0(0x1cc)][_0x4840e0(0x13d)](_0x18465c);_0x372b9b&&_0x372b9b[_0x4840e0(0x3b5)](_0xd7769c);}[_0x59924f(0x1e1)](_0x2ad5ac){return this['_roomMembers']['get'](_0x2ad5ac);}[_0x59924f(0x19e)](_0x1f9a56,_0x59be4c){var _0x481806=_0x59924f;const _0x5dbc68=this[_0x481806(0x1cc)][_0x481806(0x13d)](_0x1f9a56);if(_0x5dbc68)return _0x5dbc68[_0x481806(0x19e)](_0x59be4c);}['_removeRoom'](_0x424612){var _0x230baa=_0x59924f;const _0x16c42d=this[_0x230baa(0x1cc)]['get'](_0x424612);_0x16c42d&&(_0x16c42d[_0x230baa(0x2c6)](),this[_0x230baa(0x1cc)][_0x230baa(0x255)](_0x424612));}['dispose'](){var _0x212484=_0x59924f;this['_roomMembers'][_0x212484(0x3be)](_0x4c8ef4=>_0x4c8ef4[_0x212484(0x2c6)]()),this[_0x212484(0x1cc)][_0x212484(0x392)](),this[_0x212484(0x3d6)][_0x212484(0x3cd)]();}};xe=Yn([Kt(0x0,_0x4844be),Kt(0x1,_0x1bc764(_0x3016f9))],xe);class qn extends _0xfc6e5{constructor(){var _0x58e3da=_0x59924f;super(...arguments),N(this,_0x58e3da(0x3bb),new Map()),N(this,_0x58e3da(0x2d1),new _0x1684f8(this[_0x58e3da(0x3bb)])),N(this,_0x58e3da(0x423),this[_0x58e3da(0x2d1)][_0x58e3da(0x3b7)]());}[_0x59924f(0x2c6)](){var _0x53b6ea=_0x59924f;this[_0x53b6ea(0x3bb)][_0x53b6ea(0x392)]();}['updateMember'](_0xcbd52b){var _0x106634=_0x59924f;this[_0x106634(0x3bb)][_0x106634(0x2d3)](_0xcbd52b['memberID'],_0xcbd52b),this['_emitMembers']();}['removeMember'](_0x526684){var _0x1e0aea=_0x59924f;this[_0x1e0aea(0x3bb)][_0x1e0aea(0x255)](_0x526684);}[_0x59924f(0x19e)](_0x39e335){var _0x255ac3=_0x59924f;return this[_0x255ac3(0x3bb)][_0x255ac3(0x13d)](_0x39e335);}[_0x59924f(0x358)](){var _0x2ad6b0=_0x59924f;return Array['from'](this[_0x2ad6b0(0x3bb)][_0x2ad6b0(0x1df)]());}[_0x59924f(0x1b8)](){var _0x19cdf9=_0x59924f;this['_members$'][_0x19cdf9(0x268)](this['_members']);}}var zn=Object[_0x59924f(0x385)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x5ea19c,_0x568a8a,_0x2bbeb7,_0x34aa9d)=>{var _0x37e89a=_0x59924f;for(var _0x433dfd=_0x34aa9d>0x1?void 0x0:_0x34aa9d?Jn(_0x568a8a,_0x2bbeb7):_0x568a8a,_0x16d7bd=_0x5ea19c[_0x37e89a(0x351)]-0x1,_0x2df4a0;_0x16d7bd>=0x0;_0x16d7bd--)(_0x2df4a0=_0x5ea19c[_0x16d7bd])&&(_0x433dfd=(_0x34aa9d?_0x2df4a0(_0x568a8a,_0x2bbeb7,_0x433dfd):_0x2df4a0(_0x433dfd))||_0x433dfd);return _0x34aa9d&&_0x433dfd&&zn(_0x568a8a,_0x2bbeb7,_0x433dfd),_0x433dfd;},me=(_0x5a6e49,_0x32d217)=>(_0x29b3b3,_0x3323cb)=>_0x32d217(_0x29b3b3,_0x3323cb,_0x5a6e49),Te=(_0x693c7c=>(_0x693c7c[_0x693c7c['IDLE']=0x0]=_0x59924f(0x40b),_0x693c7c[_0x693c7c['JOINING']=0x1]='JOINING',_0x693c7c[_0x693c7c[_0x59924f(0x39c)]=0x2]=_0x59924f(0x39c),_0x693c7c[_0x693c7c[_0x59924f(0x321)]=0x3]=_0x59924f(0x321),_0x693c7c))(Te||{});const Yt={[Ee['FAIL']]:_0x59924f(0x2f0),[Ee['JOIN_ROOM_FULL']]:_0x59924f(0x329),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x59924f(0x25f),[Ee[_0x59924f(0x3d7)]]:'session.room-permission-denied',[Ee[_0x59924f(0x418)]]:'session.room-cnt-exceeds'};let It=class extends _0x2d45c2{constructor(_0x265d3a,_0x254f8e,_0x1f5f73,_0x149e17,_0x2d25fa,_0x25987f,_0x5542d9,_0x468715,_0x216d44){var _0xb1b37a=_0x59924f;super(),N(this,_0xb1b37a(0x17f),new _0x1684f8(0x0)),N(this,_0xb1b37a(0x406),this[_0xb1b37a(0x17f)][_0xb1b37a(0x3b7)]()),N(this,_0xb1b37a(0x240),new _0x524606()),N(this,_0xb1b37a(0x1ae),this[_0xb1b37a(0x240)][_0xb1b37a(0x3b7)]()),N(this,'_socket'),N(this,_0xb1b37a(0x22e)),N(this,_0xb1b37a(0x30d)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0xb1b37a(0x1f1),null),(this[_0xb1b37a(0x11e)]=_0x265d3a,this['_logService']=_0x1f5f73,this[_0xb1b37a(0x3c1)]=_0x149e17,this[_0xb1b37a(0x14f)]=_0x2d25fa,this[_0xb1b37a(0x364)]=_0x25987f,this['_commentService']=_0x5542d9,this[_0xb1b37a(0x146)]=_0x468715,this[_0xb1b37a(0x259)]=_0x216d44,this['_shouldReportTelemetry']=!!this[_0xb1b37a(0x259)],_0x254f8e[_0xb1b37a(0x25b)](_0x3b11d7(this[_0xb1b37a(0x217)]))['subscribe'](_0x3fdf5b=>{var _0x5976ee=_0xb1b37a,_0x10765e;typeof _0x3fdf5b>'u'||(this[_0x5976ee(0x338)]=_0x3fdf5b,_0x3fdf5b?(this[_0x5976ee(0x1f4)](_0x3fdf5b),this[_0x5976ee(0x22e)]=_0x3fdf5b['message$'][_0x5976ee(0x387)](_0x38936b=>{var _0xd65786=_0x5976ee;_0x38936b[_0xd65786(0x36e)]===this['_unitID']&&this[_0xd65786(0x34d)](_0x38936b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5976ee(0x17f)][_0x5976ee(0x268)](0x2),(_0x10765e=this['_socketMessageSubscription'])==null||_0x10765e[_0x5976ee(0x1ee)](),this[_0x5976ee(0x22e)]=null));}));}get['sessionStatus'](){var _0x340c05=_0x59924f;return this[_0x340c05(0x17f)][_0x340c05(0x153)]();}['getMemberID'](){var _0x3d8f0b=_0x59924f,_0x5c0c8e,_0x575075;return(_0x575075=(_0x5c0c8e=this[_0x3d8f0b(0x338)])==null?void 0x0:_0x5c0c8e[_0x3d8f0b(0x331)])!=null?_0x575075:null;}['dispose'](){var _0x5bb200=_0x59924f;super[_0x5bb200(0x2c6)](),this[_0x5bb200(0x217)][_0x5bb200(0x268)](),this[_0x5bb200(0x217)][_0x5bb200(0x3cd)]();}['close'](){var _0x547ec6=_0x59924f,_0x288870,_0x5aba3f;this[_0x547ec6(0x2cf)](),(_0x288870=this[_0x547ec6(0x338)])==null||_0x288870[_0x547ec6(0x3e0)]({'cmd':F[_0x547ec6(0x203)],'data':{'roomID':this[_0x547ec6(0x11e)]}}),(_0x5aba3f=this[_0x547ec6(0x338)])==null||_0x5aba3f[_0x547ec6(0x1bc)](),this[_0x547ec6(0x240)][_0x547ec6(0x3cd)](),this[_0x547ec6(0x17f)]['complete'](),this[_0x547ec6(0x2c6)]();}[_0x59924f(0x34d)](_0x163fbd){var _0x64fbf5=_0x59924f;_0x163fbd[_0x64fbf5(0x2b6)]===F['JOIN']?this[_0x64fbf5(0x299)](_0x163fbd):_0x163fbd[_0x64fbf5(0x2b6)]===F[_0x64fbf5(0x345)]&&this[_0x64fbf5(0x394)](_0x163fbd);}['_joinRoom'](_0x6b3827){var _0x21d56d=_0x59924f;this[_0x21d56d(0x17f)][_0x21d56d(0x268)](0x1),_0x6b3827[_0x21d56d(0x3e0)]({'cmd':F[_0x21d56d(0x2d4)],'routeKey':this[_0x21d56d(0x11e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d56d(0x11e)]}]}});}[_0x59924f(0x299)](_0x1ffdaa){var _0x5a1c35=_0x59924f,_0x571c24;if(_0x1ffdaa[_0x5a1c35(0x3e9)]in Yt){this[_0x5a1c35(0x146)]['emitEvent']({'id':se[_0x5a1c35(0x3bf)],'data':Yt[_0x1ffdaa[_0x5a1c35(0x3e9)]]}),this['_sessionStatus$'][_0x5a1c35(0x268)](0x2);return;}this[_0x5a1c35(0x17f)][_0x5a1c35(0x268)](0x3);const _0x55fe16=(_0x571c24=_0x1ffdaa[_0x5a1c35(0x27b)][_0x5a1c35(0x2f6)][this[_0x5a1c35(0x11e)]])==null?void 0x0:_0x571c24[_0x5a1c35(0x3a5)];_0x55fe16&&_0x55fe16['forEach'](_0x3f8407=>this[_0x5a1c35(0x364)][_0x5a1c35(0x37d)](this[_0x5a1c35(0x11e)],_0x3f8407));}['_onRecvEvent'](_0x5f4eba){var _0x9d8122=_0x59924f;try{const _0x1d70d4=_0x5f4eba[_0x9d8122(0x27b)];switch(_0x1d70d4[_0x9d8122(0x35c)]){case _0x2872d1[_0x9d8122(0x1ca)]:this[_0x9d8122(0x17b)](_0x1d70d4),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x372)]:this[_0x9d8122(0x2c8)](_0x1d70d4),this['_event$']['next'](_0x1d70d4);break;case _0x2872d1['CHANGESET_ACK']:case _0x2872d1[_0x9d8122(0x247)]:this[_0x9d8122(0x3a3)](),this[_0x9d8122(0x315)](),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x26f)]:this[_0x9d8122(0x11d)][_0x9d8122(0x289)](_0x9d8122(0x414)+JSON['stringify'](_0x1d70d4)),this[_0x9d8122(0x240)][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x3bc)]:this[_0x9d8122(0x261)][_0x9d8122(0x251)](_0x1d70d4[_0x9d8122(0x27b)]),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;default:this['_event$']['next'](_0x1d70d4);}}catch(_0x18810d){this[_0x9d8122(0x11d)][_0x9d8122(0x289)](_0x18810d,_0x5f4eba);}}[_0x59924f(0x17b)](_0x168d9f){var _0x12e466=_0x59924f;this['_memberService'][_0x12e466(0x37d)](this[_0x12e466(0x11e)],_0x168d9f[_0x12e466(0x27b)]);}[_0x59924f(0x2c8)](_0x213aa5){var _0x397a53=_0x59924f;this[_0x397a53(0x364)][_0x397a53(0x3b5)](this[_0x397a53(0x11e)],_0x213aa5[_0x397a53(0x27b)][_0x397a53(0x331)]);}async[_0x59924f(0x3e0)](_0x104432,_0x524ec7){var _0x231d98=_0x59924f;if(this[_0x231d98(0x1aa)]!==0x3||!this[_0x231d98(0x338)])throw new Error(_0x231d98(0x32d));try{_0x104432[_0x231d98(0x35c)]===_0x2872d1[_0x231d98(0x172)]&&(this[_0x231d98(0x233)](),this[_0x231d98(0x249)](_0x104432)),this[_0x231d98(0x338)][_0x231d98(0x3e0)]({'cmd':F[_0x231d98(0x286)],'routeKey':_0x524ec7,'routeType':'','data':_0x104432});}catch(_0x57a8c4){this[_0x231d98(0x11d)]['error'](_0x57a8c4);}}[_0x59924f(0x233)](){var _0xede0e3=_0x59924f,_0xe9529d;this[_0xede0e3(0x30d)]=setTimeout(()=>{var _0x1f03cd=_0xede0e3;this[_0x1f03cd(0x30d)]=null,this['_collaborationUIEventService'][_0x1f03cd(0x1fa)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xe9529d=this[_0xede0e3(0x3c1)][_0xede0e3(0x180)](Si))!=null?_0xe9529d:Ei);}[_0x59924f(0x315)](){var _0x266142=_0x59924f;this[_0x266142(0x30d)]&&(clearTimeout(this[_0x266142(0x30d)]),this[_0x266142(0x30d)]=null);}[_0x59924f(0x249)](_0xc5b944){var _0x45576a=_0x59924f;if(!this[_0x45576a(0x3b0)])return;const {data:_0x58738f}=_0xc5b944,{unitID:_0x5aef7b,changeset:_0x1e29f6}=_0x58738f,{mutations:_0x1c27d0,type:_0x2f8a07}=_0x1e29f6;this[_0x45576a(0x1f1)]={'unitId':_0x5aef7b,'type':_0x2f8a07,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x1c27d0)};}[_0x59924f(0x3a3)](){var _0x79866b=_0x59924f;if(this['_shouldReportTelemetry']){if(!this[_0x79866b(0x1f1)]){this[_0x79866b(0x11d)][_0x79866b(0x289)](_0x79866b(0x212),_0x79866b(0x22b));return;}this[_0x79866b(0x1f1)][_0x79866b(0x31d)]=performance[_0x79866b(0x290)](),this['_telemetryInfo'][_0x79866b(0x21e)]=this[_0x79866b(0x1f1)][_0x79866b(0x31d)]-this[_0x79866b(0x1f1)][_0x79866b(0x191)],this['_telemetryService'][_0x79866b(0x2c2)](Vn,this[_0x79866b(0x1f1)]),this[_0x79866b(0x1f1)]=null;}}[_0x59924f(0x2cf)](){var _0x3c1779=_0x59924f;this[_0x3c1779(0x1f1)]=null;}};It=Xn([me(0x2,_0x54d1e0),me(0x3,_0x30c313),me(0x4,_0x1bc764(_0x436289)),me(0x5,_0x1bc764(xe)),me(0x6,_0x1bc764(Ri)),me(0x7,_0x1bc764(pe)),me(0x8,_0x4e682c(_0x235d78))],It);var Zn=Object[_0x59924f(0x385)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x11674b,_0x52785d,_0x473409,_0x1c4a6b)=>{var _0x1c946e=_0x59924f;for(var _0x2878b9=_0x1c4a6b>0x1?void 0x0:_0x1c4a6b?Qn(_0x52785d,_0x473409):_0x52785d,_0x638c5c=_0x11674b[_0x1c946e(0x351)]-0x1,_0x312100;_0x638c5c>=0x0;_0x638c5c--)(_0x312100=_0x11674b[_0x638c5c])&&(_0x2878b9=(_0x1c4a6b?_0x312100(_0x52785d,_0x473409,_0x2878b9):_0x312100(_0x2878b9))||_0x2878b9);return _0x1c4a6b&&_0x2878b9&&Zn(_0x52785d,_0x473409,_0x2878b9),_0x2878b9;},ge=(_0x4b29d3,_0x1fb0c3)=>(_0x3701cc,_0x569bec)=>_0x1fb0c3(_0x3701cc,_0x569bec,_0x4b29d3);let Le=class extends _0xfc6e5{constructor(_0x41d08d,_0x36fb9e,_0x5d89dd,_0x44ca28,_0x4a3b64,_0x2a5c16,_0x2015fa){var _0x5adb54=_0x59924f;super(),N(this,_0x5adb54(0x39a),new _0x1684f8(void 0x0)),N(this,'socket$',this['_socket$'][_0x5adb54(0x3b7)]()),N(this,_0x5adb54(0x1e3),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x1684f8(Te[_0x5adb54(0x40b)])),N(this,_0x5adb54(0x402),this[_0x5adb54(0x1ff)][_0x5adb54(0x3b7)]()),N(this,_0x5adb54(0x2a8),!0x1),N(this,_0x5adb54(0x41b)),N(this,_0x5adb54(0x1eb),0x0),N(this,_0x5adb54(0x190)),N(this,_0x5adb54(0x419)),(this[_0x5adb54(0x3c3)]=_0x41d08d,this[_0x5adb54(0x11d)]=_0x36fb9e,this['_configService']=_0x5d89dd,this[_0x5adb54(0x328)]=_0x44ca28,this[_0x5adb54(0x252)]=_0x4a3b64,this['_collaborationUIEventService']=_0x2a5c16,this[_0x5adb54(0x3b3)]=_0x2015fa,this['_listenToNetworkCondition']());}get[_0x59924f(0x338)](){var _0x1e3c5e=_0x59924f;return this[_0x1e3c5e(0x39a)]['getValue']();}[_0x59924f(0x32b)](){var _0x4c1a97=_0x59924f;this[_0x4c1a97(0x3b3)]&&this['disposeWithMe'](this[_0x4c1a97(0x3b3)][_0x4c1a97(0x14e)][_0x4c1a97(0x387)](_0x450294=>{var _0x1611e3=_0x4c1a97;_0x450294&&!this[_0x1611e3(0x338)]&&this[_0x1611e3(0x1a1)](),_0x450294||this[_0x1611e3(0x1f3)]();}));}[_0x59924f(0x2c6)](){var _0x226c89=_0x59924f;super[_0x226c89(0x2c6)](),this[_0x226c89(0x2a4)][_0x226c89(0x3be)](_0x541140=>_0x541140[_0x226c89(0x2c6)]()),this[_0x226c89(0x2a4)][_0x226c89(0x392)](),this[_0x226c89(0x1ff)][_0x226c89(0x3cd)]();}async['requireSession'](_0x5f0257){var _0x2c6c22=_0x59924f;if(this['_sessions'][_0x2c6c22(0x2bd)](_0x5f0257))return this[_0x2c6c22(0x2a4)][_0x2c6c22(0x13d)](_0x5f0257);this[_0x2c6c22(0x2df)]();const _0x1e9b0c=this[_0x2c6c22(0x3c3)][_0x2c6c22(0x151)](It,_0x5f0257,this[_0x2c6c22(0x39a)][_0x2c6c22(0x3b7)]());return this['_sessions']['set'](_0x5f0257,_0x1e9b0c),_0x1e9b0c;}[_0x59924f(0x1de)](_0x5b67dc){var _0x221533=_0x59924f,_0x4f1062;const _0x1e4bff=this[_0x221533(0x2a4)][_0x221533(0x13d)](_0x5b67dc);_0x1e4bff&&(this[_0x221533(0x2a4)][_0x221533(0x255)](_0x5b67dc),_0x1e4bff[_0x221533(0x1bc)]()),this[_0x221533(0x2a4)][_0x221533(0x1ba)]||(_0x4f1062=this['_socket'])==null||_0x4f1062['close']();}[_0x59924f(0x1a1)](){var _0x4ca56a=_0x59924f;this[_0x4ca56a(0x1eb)]=0x0,this[_0x4ca56a(0x41b)]!=null&&(clearTimeout(this[_0x4ca56a(0x41b)]),this['_retryConnectingTimer']=null),this[_0x4ca56a(0x15f)]();}async[_0x59924f(0x12a)](){var _0x26cf8a=_0x59924f,_0x5df8ee,_0x45806e,_0x16a404;const _0x72a6dc=this[_0x26cf8a(0x3c1)][_0x26cf8a(0x180)](q),_0x56c851=(_0x5df8ee=_0x72a6dc==null?void 0x0:_0x72a6dc['wsSessionTicketUrl'])!=null?_0x5df8ee:On;return(_0x16a404=(_0x45806e=(await this[_0x26cf8a(0x252)]['get'](_0x56c851,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x45806e[_0x26cf8a(0x1f6)])!=null?_0x16a404:'';}['_createSocketURL'](_0x42617a){var _0x2e0d4f=_0x59924f,_0x50d29f,_0x5c659a;const _0x37ea3c=this[_0x2e0d4f(0x3c1)][_0x2e0d4f(0x180)](Rn),_0x2437be=this[_0x2e0d4f(0x3c1)]['getConfig'](q),_0x18f6b3=(_0x5c659a=(_0x50d29f=_0x2437be==null?void 0x0:_0x2437be[_0x2e0d4f(0x3ae)])!=null?_0x50d29f:_0x37ea3c)!=null?_0x5c659a:bn,_0x11d07b=typeof window>'u'?new URL(_0x18f6b3):new URL(_0x18f6b3,window['location'][_0x2e0d4f(0x2ba)]);_0x11d07b[_0x2e0d4f(0x3f2)][_0x2e0d4f(0x2d3)](_0x2e0d4f(0x1e2),_0x42617a);const _0x138b6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2e0d4f(0x210)]);return _0x138b6f[_0x2e0d4f(0x13d)](_0x2e0d4f(0x327))&&_0x11d07b[_0x2e0d4f(0x3f2)][_0x2e0d4f(0x2d3)](_0x2e0d4f(0x327),_0x138b6f[_0x2e0d4f(0x13d)](_0x2e0d4f(0x327))),_0x11d07b[_0x2e0d4f(0x1b1)]();}async['_createSocket'](){var _0x467344=_0x59924f;const _0x543c14=await this[_0x467344(0x12a)](),_0x53b475=this[_0x467344(0x16b)](_0x543c14),_0x184e70=this[_0x467344(0x328)][_0x467344(0x35f)](_0x53b475);return this['_candidateSocket']=_0x184e70,_0x184e70;}async[_0x59924f(0x2df)](){var _0x472ba5=_0x59924f,_0x266bdc,_0x7c9c4f;try{const _0x2516fc=(_0x7c9c4f=(_0x266bdc=this[_0x472ba5(0x338)])!=null?_0x266bdc:this['_candidateSocket'])!=null?_0x7c9c4f:await this[_0x472ba5(0x368)]();if(_0x2516fc){const _0x151231=_0x2516fc[_0x472ba5(0x3e0)];_0x2516fc[_0x472ba5(0x3e0)]=_0x4d9262=>(this['_rescheduleHeartbeat'](),_0x151231[_0x472ba5(0x2dc)](_0x2516fc,[_0x4d9262])),_0x2516fc['message$'][_0x472ba5(0x387)](_0x43f99c=>this[_0x472ba5(0x30f)](_0x2516fc,_0x43f99c)),_0x2516fc['error$']['pipe'](_0x26095a(0x1))[_0x472ba5(0x387)](_0x3fbc21=>this[_0x472ba5(0x11d)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3fbc21)),_0x2516fc[_0x472ba5(0x1bf)][_0x472ba5(0x25b)](_0x26095a(0x1))[_0x472ba5(0x387)](()=>{var _0x3609a4=_0x472ba5;this[_0x3609a4(0x28d)](_0x2516fc);}),_0x2516fc[_0x472ba5(0x12c)][_0x472ba5(0x25b)](_0x26095a(0x1))[_0x472ba5(0x387)](_0x48a224=>{var _0x2ccdbe=_0x472ba5;this['_logService'][_0x2ccdbe(0x1d4)](_0x2ccdbe(0x168),_0x2ccdbe(0x164),_0x48a224),this[_0x2ccdbe(0x17e)]();});}}catch(_0x513ff9){this[_0x472ba5(0x11d)][_0x472ba5(0x289)](_0x513ff9),this['_onConnectionFailed']();}}[_0x59924f(0x28d)](_0x2da49a){var _0x316949=_0x59924f;this[_0x316949(0x11d)]['debug']('[CollaborationSessionService]',_0x316949(0x226)),_0x2da49a[_0x316949(0x3e0)]({'cmd':F[_0x316949(0x193)]}),this[_0x316949(0x158)]();}[_0x59924f(0x1f3)](){var _0x3d869f=_0x59924f;this[_0x3d869f(0x2a8)]=!0x1,this[_0x3d869f(0x1e3)]=null,this[_0x3d869f(0x1ff)][_0x3d869f(0x268)](Te['OFFLINE']),this[_0x3d869f(0x39a)][_0x3d869f(0x268)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x59924f(0x17e)](){var _0x2d8f21=_0x59924f,_0x46a68d;this[_0x2d8f21(0x1f3)](),this['_retryCount']<((_0x46a68d=this[_0x2d8f21(0x3c1)][_0x2d8f21(0x180)](Pn))!=null?_0x46a68d:wn)?(this['_collaborationUIEventService'][_0x2d8f21(0x1fa)]({'id':se[_0x2d8f21(0x3ba)]}),this[_0x2d8f21(0x15f)]()):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x2d8f21(0x1e9)]});}[_0x59924f(0x15f)](){var _0x335ba9=_0x59924f,_0x2b91d8;const _0xe68edc=this['_retryCount'],_0x9c25f1=this[_0x335ba9(0x3c1)][_0x335ba9(0x180)](q),_0x52b58b=_0xe68edc===0x0?0x0:((_0x2b91d8=_0x9c25f1==null?void 0x0:_0x9c25f1['retryConnectingInterval'])!=null?_0x2b91d8:Dn)*0x2**_0xe68edc;this[_0x335ba9(0x41b)]=setTimeout(()=>{var _0x2e7a26=_0x335ba9;clearTimeout(this['_retryConnectingTimer']),this[_0x2e7a26(0x41b)]=null,this[_0x2e7a26(0x2df)]();},_0x52b58b),this[_0x335ba9(0x1eb)]+=0x1;}[_0x59924f(0x30f)](_0x5b0d72,_0x4f4fa7){var _0x281863=_0x59924f;const {cmd:_0x2775c2}=_0x4f4fa7;_0x2775c2===F[_0x281863(0x193)]&&!this[_0x281863(0x2a8)]&&(_0x5b0d72['memberID']=_0x4f4fa7[_0x281863(0x27b)]['memberID'],this[_0x281863(0x39a)][_0x281863(0x268)](_0x5b0d72),this[_0x281863(0x1ff)][_0x281863(0x268)](Te['ONLINE']),this[_0x281863(0x2a8)]=!0x0,this[_0x281863(0x1e3)]=null),_0x2775c2===F[_0x281863(0x41a)]&&this[_0x281863(0x403)](),this['_rescheduleHeartbeat']();}[_0x59924f(0x158)](){var _0x182ac8=_0x59924f,_0x4edb92;this[_0x182ac8(0x3e4)](),this[_0x182ac8(0x190)]=setTimeout(()=>this[_0x182ac8(0x3f3)](),(_0x4edb92=this[_0x182ac8(0x3c1)][_0x182ac8(0x180)](yn))!=null?_0x4edb92:Nn);}[_0x59924f(0x3f3)](){var _0x5dd984=_0x59924f;this[_0x5dd984(0x338)][_0x5dd984(0x3e0)]({'cmd':F[_0x5dd984(0x41a)]}),this[_0x5dd984(0x404)]();}[_0x59924f(0x404)](){var _0x41edbb=_0x59924f,_0x5b2e64;this[_0x41edbb(0x419)]=setTimeout(()=>this[_0x41edbb(0x17e)](),(_0x5b2e64=this[_0x41edbb(0x3c1)][_0x41edbb(0x180)](Si))!=null?_0x5b2e64:Ei);}['_clearHeartbeatTimer'](){var _0x1037a3=_0x59924f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1037a3(0x190)]=null);}[_0x59924f(0x403)](){var _0x3be0b6=_0x59924f;this[_0x3be0b6(0x419)]!=null&&(clearTimeout(this[_0x3be0b6(0x419)]),this[_0x3be0b6(0x419)]=null);}};Le=er([ge(0x0,_0x1bc764(_0x305299)),ge(0x1,_0x54d1e0),ge(0x2,_0x30c313),ge(0x3,Ci),ge(0x4,_0x1bc764(_0x3edb0a)),ge(0x5,_0x1bc764(pe)),ge(0x6,_0x4e682c(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x59924f(0x1f7)]((n+0x100)['toString'](0x10)[_0x59924f(0x2aa)](0x1));function tr(_0x7be615,_0x2d4def=0x0){var _0x121ea3=_0x59924f;return(V[_0x7be615[_0x2d4def+0x0]]+V[_0x7be615[_0x2d4def+0x1]]+V[_0x7be615[_0x2d4def+0x2]]+V[_0x7be615[_0x2d4def+0x3]]+'-'+V[_0x7be615[_0x2d4def+0x4]]+V[_0x7be615[_0x2d4def+0x5]]+'-'+V[_0x7be615[_0x2d4def+0x6]]+V[_0x7be615[_0x2d4def+0x7]]+'-'+V[_0x7be615[_0x2d4def+0x8]]+V[_0x7be615[_0x2d4def+0x9]]+'-'+V[_0x7be615[_0x2d4def+0xa]]+V[_0x7be615[_0x2d4def+0xb]]+V[_0x7be615[_0x2d4def+0xc]]+V[_0x7be615[_0x2d4def+0xd]]+V[_0x7be615[_0x2d4def+0xe]]+V[_0x7be615[_0x2d4def+0xf]])[_0x121ea3(0x147)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x138e3a=_0x59924f;if(!ut){if(typeof crypto>'u'||!crypto[_0x138e3a(0x171)])throw new Error(_0x138e3a(0x232));ut=crypto['getRandomValues'][_0x138e3a(0x139)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x59924f(0x391)]&&crypto[_0x59924f(0x391)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x1e13ee,_0x2317c1,_0x51c3b3){var _0x48ba74=_0x59924f,_0x4e4c97,_0x3c070e,_0x7e3561;if(qt[_0x48ba74(0x391)]&&!_0x1e13ee)return qt[_0x48ba74(0x391)]();_0x1e13ee=_0x1e13ee||{};const _0x23e8d5=(_0x7e3561=(_0x3c070e=_0x1e13ee[_0x48ba74(0x279)])!=null?_0x3c070e:(_0x4e4c97=_0x1e13ee['rng'])==null?void 0x0:_0x4e4c97['call'](_0x1e13ee))!=null?_0x7e3561:nr();if(_0x23e8d5[_0x48ba74(0x351)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x23e8d5[0x6]=_0x23e8d5[0x6]&0xf|0x40,_0x23e8d5[0x8]=_0x23e8d5[0x8]&0x3f|0x80,tr(_0x23e8d5);}const J=_0x1a5277(_0x59924f(0x2e3));function so(_0x19cfe0){var _0x5852e9=_0x59924f;return _0x5852e9(0x36c)+_0x19cfe0;}var or=Object['defineProperty'],ar=Object[_0x59924f(0x33e)],cr=(_0x16b5b8,_0x51d8fe,_0x304d4a,_0x49ff04)=>{for(var _0x2dbb6a=_0x49ff04>0x1?void 0x0:_0x49ff04?ar(_0x51d8fe,_0x304d4a):_0x51d8fe,_0x3ab17d=_0x16b5b8['length']-0x1,_0x4a773a;_0x3ab17d>=0x0;_0x3ab17d--)(_0x4a773a=_0x16b5b8[_0x3ab17d])&&(_0x2dbb6a=(_0x49ff04?_0x4a773a(_0x51d8fe,_0x304d4a,_0x2dbb6a):_0x4a773a(_0x2dbb6a))||_0x2dbb6a);return _0x49ff04&&_0x2dbb6a&&or(_0x51d8fe,_0x304d4a,_0x2dbb6a),_0x2dbb6a;},dt=(_0x49d24c,_0x308b51)=>(_0x2b36a7,_0x416f75)=>_0x308b51(_0x2b36a7,_0x416f75,_0x49d24c);function hr(_0x460f04){var _0x33c3af=_0x59924f;const {unitID:_0x442f5d,mutations:_0x165ed6}=_0x460f04;return{'unitId':_0x442f5d,'subUnitId':_0x165ed6[0x0][_0x33c3af(0x3e3)][_0x33c3af(0x31f)]};}let it=class{constructor(_0x255d04,_0x315ec2,_0x56fe9d){var _0xff291a=_0x59924f;this[_0xff291a(0x3c3)]=_0x255d04,this[_0xff291a(0x2fc)]=_0x315ec2,this[_0xff291a(0x2f3)]=_0x56fe9d;}['transformSelections'](_0x44c0b7){var _0x2fd3fc=_0x59924f,_0x1decd3,_0x2ce617,_0x13a533,_0xe3aa82;const _0x4df315=this[_0x2fd3fc(0x3c3)]['get'](_0x49983d),{unitId:_0x198b67,subUnitId:_0x3eea40}=hr(_0x44c0b7),_0x3b00bb=_0x4df315==null?void 0x0:_0x4df315[_0x2fd3fc(0x1a2)](_0x198b67)['getCurrentSelections'](),_0xe1c435=(_0x2ce617=(_0x1decd3=this[_0x2fd3fc(0x2f3)]['getUnit'](_0x198b67))==null?void 0x0:_0x1decd3[_0x2fd3fc(0x271)]())==null?void 0x0:_0x2ce617[_0x2fd3fc(0x2d2)]();if(_0x3b00bb[_0x2fd3fc(0x351)]===0x0||!_0x198b67||!_0x3eea40)return;const _0x3db5e7=[{'id':_0x2d20d8['id'],'params':{'unitId':_0x198b67,'subUnitId':_0xe1c435,'selections':_0x541b83[_0x2fd3fc(0x18e)](_0x3b00bb)}}],_0x18645f=this['_transformService'][_0x2fd3fc(0x2e0)](_0x44c0b7,_0x3db5e7);if(!_0x150ebb(_0x18645f))throw _0x18645f['error'];const _0x654380=(_0xe3aa82=(_0x13a533=_0x18645f[_0x2fd3fc(0x3f9)][0x0])==null?void 0x0:_0x13a533[_0x2fd3fc(0x3e3)])==null?void 0x0:_0xe3aa82[_0x2fd3fc(0x11b)];if(Array[_0x2fd3fc(0x22a)](_0x654380)&&_0x654380[_0x2fd3fc(0x351)]){if(_0x654380['length']===_0x3db5e7[0x0][_0x2fd3fc(0x3e3)][_0x2fd3fc(0x11b)]['length']&&_0x654380[_0x2fd3fc(0x1b4)]((_0x13869f,_0x36e6e6)=>_0x239908[_0x2fd3fc(0x3a2)](_0x13869f[_0x2fd3fc(0x2ea)],_0x3db5e7[0x0]['params']['selections'][_0x36e6e6][_0x2fd3fc(0x2ea)])))return;this[_0x2fd3fc(0x3c3)][_0x2fd3fc(0x13d)](_0x138ae6)[_0x2fd3fc(0x13c)](_0x2d20d8['id'],{'unitId':_0x198b67,'subUnitId':_0xe1c435,'selections':_0x654380});}}};it=cr([dt(0x0,_0x1bc764(_0x305299)),dt(0x1,_0x3511a4),dt(0x2,_0x4844be)],it);const ht=_0x1a5277(_0x59924f(0x2c3));var bi=(_0x47f461=>(_0x47f461[_0x47f461[_0x59924f(0x145)]=0x0]=_0x59924f(0x145),_0x47f461[_0x47f461[_0x59924f(0x2e6)]=0x1]=_0x59924f(0x2e6),_0x47f461))(bi||{});const _r=new Set([_0x40acf0['id']]);function zt(_0x1eb972,_0x40d04a,_0x4ece66,_0x48140f,_0x18da34){var _0x40fc8c=_0x59924f,_0x574298,_0x1973fc,_0x2942a8,_0x279c7d;const _0x1c2433=[];for(const _0x4fcfaa of _0x1eb972)if(_r[_0x40fc8c(0x2bd)](_0x4fcfaa['id'])){if(_0x1c2433[_0x40fc8c(0x351)]>0x0)break;_0x1c2433['push'](_0x4fcfaa);break;}else _0x1c2433[_0x40fc8c(0x1f7)](_0x4fcfaa);const _0x52bc43=(_0x1973fc=(_0x574298=_0x18da34[_0x40fc8c(0x38a)]())==null?void 0x0:_0x574298['userID'])!=null?_0x1973fc:'unknown',_0x2d7967=(_0x279c7d=(_0x2942a8=_0x18da34[_0x40fc8c(0x38a)]())==null?void 0x0:_0x2942a8[_0x40fc8c(0x331)])!=null?_0x279c7d:_0x40fc8c(0x280);return{'changeset':{'unitID':_0x40d04a,'type':_0x25fbac(_0x4ece66[_0x40fc8c(0x3cf)](_0x40d04a)),'baseRev':_0x48140f[_0x40fc8c(0x3d4)](_0x40d04a),'revision':0x0,'userID':_0x52bc43,'memberID':_0x2d7967,'mutations':_0x1c2433},'pendingMutations':_0x1eb972[_0x40fc8c(0x2aa)](_0x1c2433['length'])};}function lr(_0x31e481,_0x422516,_0x2904b9,_0x52d075,_0x4b5eb5){var _0x3e8b01=_0x59924f,_0x17df48,_0x44b82f,_0xa5ef8c,_0x583fbf;const _0x25e40=[_0x31e481[_0x3e8b01(0x2d6)]((_0x396e52,_0x1a9e15)=>{var _0x5d3138=_0x3e8b01,_0x5d8946;const {id:_0x15b0db}=_0x396e52,{id:_0x5e2f42,type:_0x18f647}=_0x1a9e15,_0xdc27b=(_0x5d8946=_0x396e52['params'])!=null?_0x5d8946:{'actions':null},_0x1c7be3=_0x1a9e15[_0x5d3138(0x3e3)];if(_0x15b0db&&_0x15b0db!==_0x5e2f42)throw new Error(_0x5d3138(0x2a9)+_0x15b0db+'\x20-\x20'+_0x5e2f42+'.');return{..._0x396e52,'id':_0x5e2f42,'type':_0x18f647,'params':{'unitId':_0x1c7be3['unitId'],'textRanges':_0x1c7be3[_0x5d3138(0x29d)],'actions':_0x3e3981['compose'](_0xdc27b['actions'],_0x1c7be3['actions'])}};},{})],_0x378f57=(_0x44b82f=(_0x17df48=_0x4b5eb5[_0x3e8b01(0x38a)]())==null?void 0x0:_0x17df48['userID'])!=null?_0x44b82f:_0x3e8b01(0x280),_0x2d4e71=(_0x583fbf=(_0xa5ef8c=_0x4b5eb5[_0x3e8b01(0x38a)]())==null?void 0x0:_0xa5ef8c['memberID'])!=null?_0x583fbf:'unknown';return{'changeset':{'unitID':_0x422516,'type':_0x25fbac(_0x2904b9[_0x3e8b01(0x3cf)](_0x422516)),'baseRev':_0x52d075[_0x3e8b01(0x3d4)](_0x422516),'revision':0x0,'userID':_0x378f57,'memberID':_0x2d4e71,'mutations':_0x25e40},'pendingMutations':[]};}function Oi(_0xacc9c2,_0x28bfd2){var _0x25bb85=_0x59924f;const _0x252c88=new _0x4111a3(0x1);return setTimeout(()=>_0x252c88['next'](_0x28bfd2),_0xacc9c2),_0x252c88[_0x25bb85(0x3b7)]()[_0x25bb85(0x25b)](_0x4b3b13(0x1));}const ur={'id':_0x2ce20d['id'],'type':_0x1a1be5[_0x59924f(0x39d)],'params':{}};var dr=Object[_0x59924f(0x385)],fr=Object[_0x59924f(0x33e)],Re=(_0x163cef,_0x582bae,_0x309ce2,_0x4b581a)=>{for(var _0x1a7377=_0x4b581a>0x1?void 0x0:_0x4b581a?fr(_0x582bae,_0x309ce2):_0x582bae,_0x3f2ae7=_0x163cef['length']-0x1,_0x2e1131;_0x3f2ae7>=0x0;_0x3f2ae7--)(_0x2e1131=_0x163cef[_0x3f2ae7])&&(_0x1a7377=(_0x4b581a?_0x2e1131(_0x582bae,_0x309ce2,_0x1a7377):_0x2e1131(_0x1a7377))||_0x1a7377);return _0x4b581a&&_0x1a7377&&dr(_0x582bae,_0x309ce2,_0x1a7377),_0x1a7377;},A=(_0x762f1b,_0x4a6b54)=>(_0x2d9aa1,_0x54522e)=>_0x4a6b54(_0x2d9aa1,_0x54522e,_0x762f1b),yi=(_0x3145b7=>(_0x3145b7[_0x59924f(0x31a)]=_0x59924f(0x24b),_0x3145b7[_0x59924f(0x224)]='synced',_0x3145b7[_0x59924f(0x3de)]='pending',_0x3145b7[_0x59924f(0x2b4)]=_0x59924f(0x1d0),_0x3145b7[_0x59924f(0x3f0)]=_0x59924f(0x154),_0x3145b7[_0x59924f(0x1d7)]='fetch_missing',_0x3145b7[_0x59924f(0x312)]=_0x59924f(0x3f1),_0x3145b7['OFFLINE']=_0x59924f(0x357),_0x3145b7))(yi||{});const Ni=0xea60;class be{constructor(_0x2578b2,_0x58d552,_0x51250e,_0x4bca05,_0x1f478b,_0x38e578,_0x33e15a,_0x278466,_0xe1c624){var _0x16d160=_0x59924f;N(this,_0x16d160(0x2d8),null),N(this,_0x16d160(0x356),[]),(this[_0x16d160(0x307)]=_0x2578b2,this[_0x16d160(0x38c)]=_0x58d552,this[_0x16d160(0x34e)]=_0x1f478b,this[_0x16d160(0x395)]=_0x38e578,this[_0x16d160(0x1ce)]=_0x33e15a,this['_revisionService']=_0x278466,this[_0x16d160(0x1ac)]=_0xe1c624,this[_0x16d160(0x2d8)]=_0x51250e,this[_0x16d160(0x356)]=_0x4bca05);}[_0x59924f(0x2c7)](_0x1df2bd){var _0x85f45=_0x59924f;const _0x287d5f=this[_0x85f45(0x179)]['getCurrentRevOfUnit'](this['unitID']);return _0x1df2bd['revision']>_0x287d5f+0x1?(this[_0x85f45(0x34e)]['onMissingChangesets']({'from':_0x287d5f,'to':_0x1df2bd['revision']-0x1}),!0x0):!0x1;}[_0x59924f(0x206)](_0x5559f6){var _0xe1d675=_0x59924f;this['_undoRedoService']['transformUndoRedo'](this[_0xe1d675(0x307)],_0x5559f6);}['_transformSelections'](_0x3c4a9e){var _0x47a154=_0x59924f,_0x15047a,_0x51816e;(_0x51816e=(_0x15047a=this[_0x47a154(0x34e)])['onTransformSelections'])==null||_0x51816e[_0x47a154(0x401)](_0x15047a,_0x3c4a9e);}[_0x59924f(0x2d0)](_0x303a5c){var _0xd17d2c=_0x59924f,_0x23c137,_0x31f074;return(_0x31f074=(_0x23c137=this['_handler'])[_0xd17d2c(0x1cd)])==null?void 0x0:_0x31f074[_0xd17d2c(0x401)](_0x23c137,_0x303a5c);}['_transformStateCache'](_0x2cd125){var _0x43e63e=_0x59924f,_0x5b3480,_0x373630;return(_0x373630=(_0x5b3480=this[_0x43e63e(0x34e)])[_0x43e63e(0x3f6)])==null?void 0x0:_0x373630['call'](_0x5b3480,_0x2cd125);}[_0x59924f(0x16e)](_0x4f2d9e){var _0x3e7ddb=_0x59924f,_0x220af7,_0x389c8e,_0x25c91a;return(_0x25c91a=(_0x389c8e=(_0x220af7=this[_0x3e7ddb(0x34e)])[_0x3e7ddb(0x199)])==null?void 0x0:_0x389c8e['call'](_0x220af7,_0x4f2d9e))!=null?_0x25c91a:_0x4f2d9e;}[_0x59924f(0x3fc)](_0x461875){var _0x11fd99=_0x59924f,_0x41cdfb,_0x103c40,_0x290e16;return(_0x290e16=(_0x103c40=(_0x41cdfb=this[_0x11fd99(0x34e)])[_0x11fd99(0x234)])==null?void 0x0:_0x103c40[_0x11fd99(0x401)](_0x41cdfb,_0x461875))!=null?_0x290e16:_0x461875;}[_0x59924f(0x1bb)](_0x390843){var _0x560a23=_0x59924f,_0xa9e8d3,_0x49e332;if(this['type']===Q[_0x560a23(0x3fa)]){const {unitID:_0xa295fe,mutations:_0x37b16b,memberID:_0x183fe1}=_0x390843,_0x5130dd=_0x37b16b[0x0][_0x560a23(0x3e3)][_0x560a23(0x29d)];Array[_0x560a23(0x22a)](_0x5130dd)&&_0x5130dd['length']>0x0&&((_0x49e332=(_0xa9e8d3=this[_0x560a23(0x34e)])['onSyncEditingCollabCursor'])==null||_0x49e332[_0x560a23(0x401)](_0xa9e8d3,{'unitID':_0xa295fe,'memberID':_0x183fe1,'textRanges':_0x5130dd}));}}[_0x59924f(0x219)](){var _0x15e943=_0x59924f,_0x4cc87c;(_0x4cc87c=this[_0x15e943(0x1ac)])==null||_0x4cc87c[_0x15e943(0x124)](this[_0x15e943(0x307)],this['type'],this[_0x15e943(0x2d8)],this[_0x15e943(0x356)]);}[_0x59924f(0x29a)](){var _0x2a8a40=_0x59924f;return this[_0x2a8a40(0x179)][_0x2a8a40(0x3d4)](this[_0x2a8a40(0x307)]);}[_0x59924f(0x166)](){var _0x3e2ced=_0x59924f;this[_0x3e2ced(0x179)][_0x3e2ced(0x3e1)](this[_0x3e2ced(0x307)]);}[_0x59924f(0x3f8)](_0x2b19ed){var _0x536d62=_0x59924f,_0x2013b7;let _0x2cd4a6=this[_0x536d62(0x16e)](_0x2b19ed);_0x2cd4a6=this[_0x536d62(0x3fc)](_0x2cd4a6);const _0x323abe=_0x368920(_0x2cd4a6['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x323abe[_0x536d62(0x23f)])throw _0x323abe[_0x536d62(0x289)]instanceof Error?_0x323abe['error']:new Error((_0x2013b7=_0x323abe[_0x536d62(0x289)])!=null?_0x2013b7:_0x536d62(0x2eb));this[_0x536d62(0x2d0)](_0x2cd4a6),this['_transformStateCache'](_0x2cd4a6),this[_0x536d62(0x206)](_0x2b19ed),this['_transformSelections'](_0x2cd4a6),this[_0x536d62(0x1bb)](_0x2cd4a6),this[_0x536d62(0x166)]();}}let De=class extends be{constructor(_0x42f1c8,_0x32e90d,_0x2996bb,_0x1732e0,_0x3c4962,_0x4b5dd1,_0x5da543,_0xb2c5e2,_0x48f6ef,_0x5bb6b4){var _0x1d8ca3=_0x59924f;super(_0x42f1c8,_0x32e90d,null,[],_0x2996bb,_0x5da543,_0x4b5dd1,_0x1732e0,_0x5bb6b4),N(this,_0x1d8ca3(0x3cb),_0x1d8ca3(0x30b)),(this[_0x1d8ca3(0x3c3)]=_0x3c4962,this[_0x1d8ca3(0x11d)]=_0xb2c5e2,this[_0x1d8ca3(0x2fc)]=_0x48f6ef,this[_0x1d8ca3(0x29e)]=_0x5bb6b4);}['appendMutation'](_0x2f6193){var _0x457653=_0x59924f;const _0x34fc32=this['_injector']['createInstance'](oe,this['unitID'],this[_0x457653(0x38c)],[_0x2f6193],this['_handler']);return _0x34fc32['_schedule'](),_0x34fc32[_0x457653(0x219)](),_0x34fc32;}[_0x59924f(0x359)](_0x5b23ca){var _0x1f4b37=_0x59924f;if(this[_0x1f4b37(0x2c7)](_0x5b23ca))return this[_0x1f4b37(0x3c3)][_0x1f4b37(0x151)](te,this[_0x1f4b37(0x307)],this[_0x1f4b37(0x38c)],null,[],null,[_0x5b23ca],this[_0x1f4b37(0x34e)]);try{const _0x1789aa=this['_transformService'][_0x1f4b37(0x2e0)](_0x5b23ca,[ur]);if(_0x150ebb(_0x1789aa)){const {c1Prime:_0x50bf78}=_0x1789aa;return this[_0x1f4b37(0x3f8)](_0x50bf78),this;}throw _0x1789aa[_0x1f4b37(0x289)];}catch(_0x140f99){return this[_0x1f4b37(0x11d)][_0x1f4b37(0x289)](_0x140f99),this[_0x1f4b37(0x374)](!0x1);}}[_0x59924f(0x374)](_0x389907){var _0x3786de=_0x59924f;return this[_0x3786de(0x3c3)][_0x3786de(0x151)](de,this[_0x3786de(0x307)],this['type'],null,[],this['_handler'],_0x389907);}[_0x59924f(0x3af)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x59924f(0x256)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59924f(0x127)](){return this;}['toggleOffline'](){var _0x3b873a=_0x59924f;return this[_0x3b873a(0x3c3)][_0x3b873a(0x151)](fe,this[_0x3b873a(0x307)],this[_0x3b873a(0x38c)],null,[],this['_handler']);}[_0x59924f(0x2fe)](){return this;}[_0x59924f(0x1b9)](){var _0x471685=_0x59924f;throw new Error(_0x471685(0x188));}['fetchMiss'](){var _0xf48c95=_0x59924f;const _0xade556=this[_0xf48c95(0x179)]['getCurrentRevOfUnit'](this[_0xf48c95(0x307)]);return this[_0xf48c95(0x34e)][_0xf48c95(0x194)]({'from':_0xade556,'to':0x0}),this[_0xf48c95(0x3c3)][_0xf48c95(0x151)](te,this[_0xf48c95(0x307)],this['type'],null,[],null,[],this[_0xf48c95(0x34e)]);}};De=Re([A(0x3,_0x1bc764(_0x55a265)),A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1d3917),A(0x6,_0x138ae6),A(0x7,_0x54d1e0),A(0x8,_0x3511a4),A(0x9,_0x4e682c(J))],De);let oe=class extends be{constructor(_0x19e6d8,_0x4e953e,_0x2d50cb,_0x2e21,_0x695ef3,_0x22f08b,_0x2e5d6a,_0x56d4d2,_0x1ee5cd,_0x3968b3,_0x3e3d29,_0x34686c,_0x2f641e,_0x159eb6){var _0x22f2f2=_0x59924f;super(_0x19e6d8,_0x4e953e,null,_0x2d50cb,_0x2e21,_0x1ee5cd,_0x2f641e,_0x22f08b,_0x159eb6),N(this,_0x22f2f2(0x3cb),'pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0x22f2f2(0x3c3)]=_0x695ef3,this['_memberService']=_0x2e5d6a,this['_logService']=_0x56d4d2,this[_0x22f2f2(0x3c1)]=_0x3968b3,this[_0x22f2f2(0x2fc)]=_0x3e3d29,this[_0x22f2f2(0x2d7)]=_0x34686c);}[_0x59924f(0x396)](_0xb8acd1){var _0x1a0b42=_0x59924f;return this[_0x1a0b42(0x356)][_0x1a0b42(0x1f7)](_0xb8acd1),this[_0x1a0b42(0x219)](),this;}['onRemoteChangeset'](_0x5f5cb6){var _0x51e231=_0x59924f;if(this[_0x51e231(0x2c7)](_0x5f5cb6))return this[_0x51e231(0x16a)](),this[_0x51e231(0x3c3)]['createInstance'](te,this[_0x51e231(0x307)],this['type'],null,this[_0x51e231(0x356)],null,[_0x5f5cb6],this[_0x51e231(0x34e)]);try{const _0x17c9fe=this[_0x51e231(0x2fc)][_0x51e231(0x2e0)](_0x5f5cb6,this[_0x51e231(0x356)]);if(_0x150ebb(_0x17c9fe)){const {c1Prime:_0x464d2e,m2Prime:_0x50cfbf}=_0x17c9fe;this[_0x51e231(0x3f8)](_0x464d2e);const _0x232314=this[_0x51e231(0x3c3)][_0x51e231(0x151)](oe,this[_0x51e231(0x307)],this[_0x51e231(0x38c)],_0x50cfbf,this[_0x51e231(0x34e)]);this[_0x51e231(0x16a)]();const _0x32aa67=new Date()[_0x51e231(0x33f)](),_0x4d55e1=this[_0x51e231(0x186)]?Math[_0x51e231(0x28c)](this['_scheduleCompleteTimestamp']-_0x32aa67,0x0):this[_0x51e231(0x369)]();return _0x232314[_0x51e231(0x37b)](_0x4d55e1),_0x232314;}throw _0x17c9fe['error'];}catch(_0x2220fb){return this[_0x51e231(0x11d)]['error'](_0x2220fb),this['_onConflict'](!0x1);}}[_0x59924f(0x3af)](){var _0xcf8e36=_0x59924f;throw new Error(_0xcf8e36(0x1d9));}[_0x59924f(0x256)](){var _0x36a858=_0x59924f;throw new Error(_0x36a858(0x352));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){var _0x386905=_0x59924f;return this[_0x386905(0x16a)](),this[_0x386905(0x3c3)][_0x386905(0x151)](fe,this[_0x386905(0x307)],this[_0x386905(0x38c)],null,this[_0x386905(0x356)],this[_0x386905(0x34e)]);}[_0x59924f(0x2fe)](){return this;}['_schedule'](_0x234e20){var _0x12214e=_0x59924f;const _0x73d201=_0x234e20!=null?_0x234e20:this['_getSendChangesetTimeout']();this[_0x12214e(0x186)]=new Date()[_0x12214e(0x33f)]()+_0x73d201,this['_sendingTimer']=setTimeout(()=>{var _0x524541=_0x12214e;this[_0x524541(0x16a)]();let _0x11989c=null;switch(this['type']){case Q[_0x524541(0x14c)]:{_0x11989c=zt(this[_0x524541(0x356)],this[_0x524541(0x307)],this[_0x524541(0x2d7)],this[_0x524541(0x179)],this[_0x524541(0x364)]);break;}case Q[_0x524541(0x3fa)]:{this[_0x524541(0x356)][_0x524541(0x1b4)](_0x35b94d=>_0x35b94d['id']===_0xf6a1e8['id'])?_0x11989c=lr(this[_0x524541(0x356)],this[_0x524541(0x307)],this[_0x524541(0x2d7)],this[_0x524541(0x179)],this[_0x524541(0x364)]):_0x11989c=zt(this[_0x524541(0x356)],this['unitID'],this['_univerInstanceService'],this[_0x524541(0x179)],this[_0x524541(0x364)]);break;}default:throw new Error(_0x524541(0x301)+this[_0x524541(0x38c)]+'\x20in\x20_schedule.');}const {changeset:_0x6f2eb1,pendingMutations:_0x178b11}=_0x11989c;this[_0x524541(0x34e)][_0x524541(0x2ee)](_0x6f2eb1);const _0x466142=_0x178b11[_0x524541(0x351)]?this[_0x524541(0x3c3)][_0x524541(0x151)](ae,this[_0x524541(0x307)],this[_0x524541(0x38c)],_0x6f2eb1,_0x178b11,this[_0x524541(0x34e)],void 0x0):this[_0x524541(0x3c3)][_0x524541(0x151)](ue,this[_0x524541(0x307)],this[_0x524541(0x38c)],_0x6f2eb1,this[_0x524541(0x34e)]);_0x466142['_updateLocalCache'](),this[_0x524541(0x34e)][_0x524541(0x311)](this,_0x466142);},_0x73d201);}[_0x59924f(0x369)](){var _0x39a0f8=_0x59924f,_0x31ed59;const _0x299b7c=this[_0x39a0f8(0x3c1)]['getConfig'](q);return(_0x31ed59=_0x299b7c==null?void 0x0:_0x299b7c[_0x39a0f8(0x260)])!=null?_0x31ed59:Cn;}[_0x59924f(0x1b9)](){var _0x2c25a7=_0x59924f;throw new Error(_0x2c25a7(0x1a3));}[_0x59924f(0x16a)](){var _0x1cd7fa=_0x59924f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1cd7fa(0x367)]),this['_sendingTimer']=null);}['_onConflict'](_0x3afd0d){var _0x340f99=_0x59924f;return this[_0x340f99(0x16a)](),this[_0x340f99(0x3c3)][_0x340f99(0x151)](de,this[_0x340f99(0x307)],this[_0x340f99(0x38c)],null,this[_0x340f99(0x356)],this[_0x340f99(0x34e)],_0x3afd0d);}};oe=Re([A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1bc764(_0x55a265)),A(0x6,_0x1bc764(xe)),A(0x7,_0x54d1e0),A(0x8,_0x138ae6),A(0x9,_0x30c313),A(0xa,_0x3511a4),A(0xb,_0x4844be),A(0xc,_0x1d3917),A(0xd,_0x4e682c(J))],oe);let ue=class extends be{constructor(_0x4afebf,_0x29be44,_0x4730b5,_0x14d7a2,_0x4abceb,_0x138118,_0x13ef34,_0x5bbeb3,_0xd70a7f,_0xc3204e,_0xf7c013){var _0x2f70e6=_0x59924f;super(_0x4afebf,_0x29be44,_0x4730b5,[],_0x14d7a2,_0x13ef34,_0xc3204e,_0x138118,_0xf7c013),N(this,_0x2f70e6(0x3cb),_0x2f70e6(0x1d0)),N(this,_0x2f70e6(0x27e),0x0),N(this,'_resendTimer'),N(this,_0x2f70e6(0x175)),(this[_0x2f70e6(0x3c3)]=_0x4abceb,this[_0x2f70e6(0x11d)]=_0x5bbeb3,this['_transformService']=_0xd70a7f);}[_0x59924f(0x396)](_0x4eab83){var _0xc9aad3=_0x59924f;this[_0xc9aad3(0x16a)]();const _0x311a6d=this[_0xc9aad3(0x3c3)][_0xc9aad3(0x151)](ae,this[_0xc9aad3(0x307)],this[_0xc9aad3(0x38c)],this[_0xc9aad3(0x2d8)],[_0x4eab83],this['_handler'],this[_0xc9aad3(0x22f)]);return _0x311a6d[_0xc9aad3(0x219)](),_0x311a6d;}[_0x59924f(0x359)](_0x4b8302){var _0x2e0a73=_0x59924f;if(this[_0x2e0a73(0x2c7)](_0x4b8302))return this['_clearScheduledTask'](),this['_injector'][_0x2e0a73(0x151)](te,this[_0x2e0a73(0x307)],this[_0x2e0a73(0x38c)],this[_0x2e0a73(0x2d8)],[],null,[_0x4b8302],this[_0x2e0a73(0x34e)]);try{const _0x27cdb1=this[_0x2e0a73(0x2fc)]['transformChangesets']([_0x4b8302],[this[_0x2e0a73(0x2d8)]],!0x1);if(_0x2c2188(_0x27cdb1)){const {c1Prime:_0x59082e,c2Prime:_0x52a3ba}=_0x27cdb1;this[_0x2e0a73(0x3f8)](_0x59082e[0x0]),_0x52a3ba[0x0][_0x2e0a73(0x1e4)]=this[_0x2e0a73(0x29a)](),this[_0x2e0a73(0x16a)]();const _0x33e00a=this[_0x2e0a73(0x3c3)][_0x2e0a73(0x151)](ue,this[_0x2e0a73(0x307)],this[_0x2e0a73(0x38c)],_0x52a3ba[0x0],this[_0x2e0a73(0x34e)]);return _0x33e00a[_0x2e0a73(0x219)](),_0x33e00a;}return this[_0x2e0a73(0x374)](!0x1);}catch(_0x537d6f){return this['_logService'][_0x2e0a73(0x289)](_0x537d6f),this[_0x2e0a73(0x374)](!0x1);}}[_0x59924f(0x3af)](_0x57eed9){var _0x219b5c=_0x59924f;this['_clearScheduledTask']();const _0x5a34e6=this[_0x219b5c(0x179)][_0x219b5c(0x3d4)](this[_0x219b5c(0x307)]);if(_0x57eed9[_0x219b5c(0x40d)]<_0x5a34e6-0x1)return this;if(this['_checkMissing'](_0x57eed9))return this[_0x219b5c(0x3c3)]['createInstance'](te,this[_0x219b5c(0x307)],this[_0x219b5c(0x38c)],null,[],this[_0x219b5c(0x2d8)],[],this[_0x219b5c(0x34e)]);this[_0x219b5c(0x166)]();const _0x406ff8=this[_0x219b5c(0x3c3)]['createInstance'](De,this[_0x219b5c(0x307)],this[_0x219b5c(0x38c)],this['_handler']);return _0x406ff8[_0x219b5c(0x219)](),_0x406ff8;}[_0x59924f(0x256)](_0x34287d){var _0x255846=_0x59924f;return this[_0x255846(0x374)](!!(_0x34287d!=null&&_0x34287d[_0x255846(0x24e)]));}[_0x59924f(0x127)](_0x1958ce){var _0x1e6d1a=_0x59924f;return this[_0x1e6d1a(0x27e)]>Ni?this[_0x1e6d1a(0x41c)]():(this[_0x1e6d1a(0x22f)]=Oi(this[_0x1e6d1a(0x27e)],{'timeout':this[_0x1e6d1a(0x27e)],'reqId':_0x1958ce[_0x1e6d1a(0x235)]}),this[_0x1e6d1a(0x175)]=this[_0x1e6d1a(0x22f)][_0x1e6d1a(0x387)](({reqId:_0x2a7bd1,timeout:_0x31231f})=>{var _0x4a30e2=_0x1e6d1a;this[_0x4a30e2(0x24d)](_0x2a7bd1,_0x31231f);}),this);}[_0x59924f(0x41c)](){var _0x4cb8e3=_0x59924f;return this[_0x4cb8e3(0x16a)](),this[_0x4cb8e3(0x3c3)]['createInstance'](fe,this[_0x4cb8e3(0x307)],this[_0x4cb8e3(0x38c)],this[_0x4cb8e3(0x2d8)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x59924f(0x1b9)](){var _0x38df4b=_0x59924f;this[_0x38df4b(0x34e)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x59924f(0x374)](_0x199970){var _0x3b2a73=_0x59924f;return this[_0x3b2a73(0x16a)](),this[_0x3b2a73(0x3c3)][_0x3b2a73(0x151)](de,this[_0x3b2a73(0x307)],this['type'],this[_0x3b2a73(0x2d8)],[],this[_0x3b2a73(0x34e)],_0x199970);}[_0x59924f(0x24d)](_0x205ee8,_0x1663e1){var _0x5b64aa=_0x59924f,_0x4f0671;_0x205ee8===((_0x4f0671=this['_awaitingChangeset'])==null?void 0x0:_0x4f0671[_0x5b64aa(0x235)])&&(this['resend'](),this[_0x5b64aa(0x27e)]=_0x1663e1===0x0?0x3e8:_0x1663e1*0x2);}[_0x59924f(0x16a)](){var _0x4a6759=_0x59924f,_0x2690de;(_0x2690de=this[_0x4a6759(0x175)])==null||_0x2690de[_0x4a6759(0x1ee)](),this[_0x4a6759(0x27e)]=0x0;}};ue=Re([A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1bc764(_0x55a265)),A(0x6,_0x138ae6),A(0x7,_0x54d1e0),A(0x8,_0x3511a4),A(0x9,_0x1d3917),A(0xa,_0x4e682c(J))],ue);let ae=class extends be{constructor(_0x59ee72,_0xaddbdd,_0x4a0841,_0x137cd9,_0x591fdc,_0xb77533,_0x21eea4,_0x26d62d,_0x417b4d,_0x5cb028,_0x3bf277,_0x276d77,_0x30b1a5){var _0x9320f0=_0x59924f;super(_0x59ee72,_0xaddbdd,_0x4a0841,_0x137cd9,_0x591fdc,_0x417b4d,_0x276d77,_0x26d62d,_0x30b1a5),N(this,_0x9320f0(0x3cb),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x9320f0(0x22f)),N(this,'_sender'),(this['_injector']=_0x21eea4,this[_0x9320f0(0x11d)]=_0x5cb028,this[_0x9320f0(0x2fc)]=_0x3bf277,this[_0x9320f0(0x29e)]=_0x30b1a5,_0xb77533&&(this[_0x9320f0(0x22f)]=_0xb77533,this['_sender']=this['_resendTimer'][_0x9320f0(0x387)](({reqId:_0x4160cd,timeout:_0x41b7d6})=>{var _0x12237c=_0x9320f0;this[_0x12237c(0x24d)](_0x4160cd,_0x41b7d6);})));}[_0x59924f(0x396)](_0x2f4b32){var _0x5cc362=_0x59924f;return this[_0x5cc362(0x356)][_0x5cc362(0x1f7)](_0x2f4b32),this;}[_0x59924f(0x359)](_0xe5627c){var _0x56910f=_0x59924f;if(this['_checkMissing'](_0xe5627c))return this['_clearScheduledTask'](),this[_0x56910f(0x3c3)][_0x56910f(0x151)](te,this[_0x56910f(0x307)],this[_0x56910f(0x38c)],this[_0x56910f(0x2d8)],this[_0x56910f(0x356)],null,[_0xe5627c],this[_0x56910f(0x34e)]);try{const _0x40cbe2=this[_0x56910f(0x2fc)]['transformChangesets']([_0xe5627c],[this[_0x56910f(0x2d8)]],!0x1);if(_0x2c2188(_0x40cbe2)){const {c1Prime:_0x2956ef,c2Prime:_0x4f5090}=_0x40cbe2,_0x32dd2=this[_0x56910f(0x2fc)][_0x56910f(0x2e0)](_0x2956ef[0x0],this[_0x56910f(0x356)]);if(_0x150ebb(_0x32dd2)){const {c1Prime:_0x8cd368,m2Prime:_0x300560}=_0x32dd2;return this[_0x56910f(0x3f8)](_0x8cd368),_0x4f5090[0x0][_0x56910f(0x1e4)]=this[_0x56910f(0x29a)](),this['_clearScheduledTask'](),this[_0x56910f(0x3c3)][_0x56910f(0x151)](ae,this[_0x56910f(0x307)],this['type'],_0x4f5090[0x0],_0x300560,this[_0x56910f(0x34e)],void 0x0);}throw _0x32dd2[_0x56910f(0x289)];}throw _0x40cbe2[_0x56910f(0x289)];}catch(_0x49b845){return this[_0x56910f(0x11d)][_0x56910f(0x289)](_0x49b845),this['_onConflict'](!0x1);}}[_0x59924f(0x3af)](_0x39df06){var _0x45174e=_0x59924f;if(this[_0x45174e(0x16a)](),this['_checkMissing'](_0x39df06))return this['_injector'][_0x45174e(0x151)](te,this[_0x45174e(0x307)],this[_0x45174e(0x38c)],null,this['_pendingMutations'],this[_0x45174e(0x2d8)],[],this[_0x45174e(0x34e)]);this[_0x45174e(0x166)]();const _0x14d389=this[_0x45174e(0x3c3)][_0x45174e(0x151)](oe,this[_0x45174e(0x307)],this[_0x45174e(0x38c)],this['_pendingMutations'],this[_0x45174e(0x34e)]);return _0x14d389[_0x45174e(0x37b)](),_0x14d389[_0x45174e(0x219)](),_0x14d389;}[_0x59924f(0x256)](_0xb144f8){var _0x2671b9=_0x59924f;return this[_0x2671b9(0x374)](!!(_0xb144f8!=null&&_0xb144f8[_0x2671b9(0x24e)]));}[_0x59924f(0x127)](_0x919564){var _0x7b7833=_0x59924f;return this[_0x7b7833(0x27e)]>Ni?this['toggleOffline']():(this[_0x7b7833(0x22f)]=Oi(this[_0x7b7833(0x27e)],{'timeout':this[_0x7b7833(0x27e)],'reqId':_0x919564[_0x7b7833(0x235)]}),this[_0x7b7833(0x175)]=this[_0x7b7833(0x22f)][_0x7b7833(0x387)](({reqId:_0x5789a0,timeout:_0x593eca})=>{var _0x5651ca=_0x7b7833;this[_0x5651ca(0x24d)](_0x5789a0,_0x593eca);}),this);}[_0x59924f(0x41c)](){var _0x3f5131=_0x59924f;return this['_clearScheduledTask'](),this[_0x3f5131(0x3c3)][_0x3f5131(0x151)](fe,this['unitID'],this[_0x3f5131(0x38c)],this[_0x3f5131(0x2d8)],this['_pendingMutations'],this['_handler']);}[_0x59924f(0x2fe)](){return this;}[_0x59924f(0x1b9)](){var _0x3a26df=_0x59924f;this[_0x3a26df(0x34e)]['onSendChangeset'](this[_0x3a26df(0x2d8)]);}['_onConflict'](_0x458bdb){var _0x1a94e9=_0x59924f;return this[_0x1a94e9(0x16a)](),this[_0x1a94e9(0x3c3)][_0x1a94e9(0x151)](de,this[_0x1a94e9(0x307)],this[_0x1a94e9(0x38c)],null,this[_0x1a94e9(0x356)],this[_0x1a94e9(0x34e)],_0x458bdb);}[_0x59924f(0x24d)](_0x3302ca,_0x44b2a2){var _0x1b40f7=_0x59924f,_0x58eb17;_0x3302ca===((_0x58eb17=this['_awaitingChangeset'])==null?void 0x0:_0x58eb17[_0x1b40f7(0x235)])&&(this[_0x1b40f7(0x1b9)](),this['_resendTimeout']=_0x44b2a2===0x0?0x3e8:_0x44b2a2*0x2);}[_0x59924f(0x16a)](){var _0x7806a8=_0x59924f,_0x4dd30c;(_0x4dd30c=this[_0x7806a8(0x175)])==null||_0x4dd30c['unsubscribe'](),this[_0x7806a8(0x27e)]=0x0;}};ae=Re([A(0x6,_0x1bc764(_0x305299)),A(0x7,_0x1bc764(_0x55a265)),A(0x8,_0x138ae6),A(0x9,_0x54d1e0),A(0xa,_0x3511a4),A(0xb,_0x1d3917),A(0xc,_0x4e682c(J))],ae);let de=class extends be{constructor(_0xcb5aff,_0x33c3a,_0x4e46ac,_0x10c2ee,_0xcf7c23,_0xbac068=!0x1,_0x178364,_0x3717c4,_0x2aba82,_0x464ad3,_0x4d6b47,_0x1d6bd2,_0xd19034){var _0x4eecee=_0x59924f;super(_0xcb5aff,_0x33c3a,_0x4e46ac,_0x10c2ee,_0xcf7c23,_0x3717c4,_0x2aba82,_0x464ad3,_0xd19034),N(this,_0x4eecee(0x3cb),_0x4eecee(0x3f1)),(this[_0x4eecee(0x3fb)]=_0xbac068,this['_permissionService']=_0x178364,this[_0x4eecee(0x14f)]=_0x4d6b47,this['_collaborationUIEventService']=_0x1d6bd2,this[_0x4eecee(0x29e)]=_0xd19034,this[_0x4eecee(0x250)](),this[_0x4eecee(0x2a0)](),this[_0x4eecee(0x157)]());}[_0x59924f(0x396)](){return this;}[_0x59924f(0x359)](){return this;}[_0x59924f(0x3af)](){return this;}[_0x59924f(0x256)](){return this;}[_0x59924f(0x127)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x59924f(0x1b9)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x59924f(0x2a0)](){var _0x36d6fb=_0x59924f,_0x493b06;(_0x493b06=this[_0x36d6fb(0x1ac)])==null||_0x493b06['updateOfflineData'](this[_0x36d6fb(0x307)],this[_0x36d6fb(0x38c)],null,[]);}['_showConflictNotification'](){var _0x10651e=_0x59924f;this[_0x10651e(0x3fb)]?this[_0x10651e(0x146)][_0x10651e(0x1fa)]({'id':se['PERMISSION_DENIED']}):this[_0x10651e(0x146)][_0x10651e(0x1fa)]({'id':se[_0x10651e(0x312)]});}['_disableEditing'](){var _0x372311=_0x59924f;this[_0x372311(0x1e5)][_0x372311(0x119)](new _0x28e48e(this[_0x372311(0x307)])['id'],!0x1);}};de=Re([A(0x6,_0x1bc764(_0xb52dec)),A(0x7,_0x138ae6),A(0x8,_0x1d3917),A(0x9,_0x1bc764(_0x55a265)),A(0xa,_0x1bc764(_0x436289)),A(0xb,_0x1bc764(pe)),A(0xc,_0x4e682c(J))],de);let fe=class extends be{constructor(_0x36db4d,_0x5c40e7,_0x3f3251,_0x2dca29,_0xd27c29,_0x3ff0f9,_0x3f793d,_0x297b4b,_0x44ef17,_0x25a02d){var _0x7d345d=_0x59924f;super(_0x36db4d,_0x5c40e7,_0x3f3251,_0x2dca29,_0xd27c29,_0x297b4b,_0x44ef17,_0x3f793d,_0x25a02d),N(this,_0x7d345d(0x3cb),_0x7d345d(0x357)),this[_0x7d345d(0x3c3)]=_0x3ff0f9;}['appendMutation'](_0x19ae61){var _0x36fad0=_0x59924f;return this['_pendingMutations'][_0x36fad0(0x1f7)](_0x19ae61),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2da12e){var _0x3228f2=_0x59924f;throw new Error(_0x3228f2(0x135));}[_0x59924f(0x3af)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x59924f(0x256)](){var _0x52a37a=_0x59924f;throw new Error(_0x52a37a(0x213));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){return this;}['toggleOnline'](){var _0x568299=_0x59924f;const {_injector:_0x358411,_pendingMutations:_0x19b090,_awaitingChangeset:_0x424e73,unitID:_0x221162,_handler:_0x54e0c0,type:_0x714975}=this,_0x299c71=Di(_0x358411,_0x221162,_0x714975,_0x424e73,_0x19b090,_0x54e0c0);return _0x299c71 instanceof oe?_0x299c71['_schedule']():(_0x299c71 instanceof ae||_0x299c71 instanceof ue)&&_0x299c71[_0x568299(0x1b9)](),_0x299c71;}['resend'](){var _0x10f55c=_0x59924f;throw new Error(_0x10f55c(0x340));}};fe=Re([A(0x5,_0x1bc764(_0x305299)),A(0x6,_0x1bc764(_0x55a265)),A(0x7,_0x138ae6),A(0x8,_0x1d3917),A(0x9,_0x4e682c(J))],fe);let te=class extends be{constructor(_0x488ab5,_0x292add,_0x52002f,_0x4379a1,_0x4a05fb,_0x3314b5,_0x3f3d7f,_0x528c07,_0x2df6b1,_0x381672,_0x2cfa08,_0x470f6c,_0xf3a018,_0x5cd9d8){var _0x128176=_0x59924f;super(_0x488ab5,_0x292add,_0x52002f,_0x4379a1,_0x3f3d7f,_0x2cfa08,_0x470f6c,_0x2df6b1,_0x5cd9d8),N(this,_0x128176(0x3cb),_0x128176(0x3d8)),(this['_acknowledgedAwaitingChangeset']=_0x4a05fb,this[_0x128176(0x1a4)]=_0x3314b5,this[_0x128176(0x3c3)]=_0x528c07,this['_logService']=_0x381672,this['_transformService']=_0xf3a018,this[_0x128176(0x29e)]=_0x5cd9d8);}[_0x59924f(0x1fc)](_0x36f140){var _0x2807d4=_0x59924f;try{const _0x243c6f=[..._0x36f140,...this[_0x2807d4(0x1a4)]],_0x5c2301=[this[_0x2807d4(0x2d8)]||this[_0x2807d4(0x16f)]][_0x2807d4(0x20d)](_0x2fabe6=>!!_0x2fabe6);let _0x20e41e,_0x45b642;if(_0x5c2301[_0x2807d4(0x351)]){const _0x5a0881=this[_0x2807d4(0x2fc)][_0x2807d4(0x138)](_0x243c6f,_0x5c2301,!0x1);if(!_0x2c2188(_0x5a0881))throw _0x5a0881['error'];_0x20e41e=_0x5a0881['c1Prime'],_0x45b642=_0x5a0881['c2Prime'];}else _0x20e41e=_0x243c6f,_0x45b642=[];let _0x2fb0d5=this[_0x2807d4(0x356)];_0x20e41e[_0x2807d4(0x3be)](_0x310efa=>{var _0x36b106=_0x2807d4;let _0x4db28a;if(_0x2fb0d5[_0x36b106(0x351)]){const _0x4a92f1=this['_transformService'][_0x36b106(0x2e0)](_0x310efa,_0x2fb0d5);if(!_0x150ebb(_0x4a92f1))throw _0x4a92f1['error'];_0x4db28a=_0x4a92f1['c1Prime'],_0x2fb0d5=_0x4a92f1[_0x36b106(0x3f9)];}else _0x4db28a=_0x310efa;this[_0x36b106(0x3f8)](_0x4db28a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2807d4(0x166)](),this[_0x2807d4(0x2d8)]&&_0x45b642['length']&&(_0x45b642[0x0][_0x2807d4(0x1e4)]=this[_0x2807d4(0x29a)]());let _0x46a5b9;if(this[_0x2807d4(0x2d8)]&&_0x2fb0d5[_0x2807d4(0x351)]!==0x0)_0x46a5b9=this[_0x2807d4(0x3c3)]['createInstance'](ae,this['unitID'],this[_0x2807d4(0x38c)],_0x45b642[0x0],_0x2fb0d5,this[_0x2807d4(0x34e)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2fb0d5[_0x2807d4(0x351)]===0x0)_0x45b642[0x0][_0x2807d4(0x1e4)]=this[_0x2807d4(0x29a)](),_0x46a5b9=this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](ue,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],_0x45b642[0x0],this[_0x2807d4(0x34e)]);else{if(_0x2fb0d5[_0x2807d4(0x351)]!==0x0){const _0x15d2fd=this['_injector'][_0x2807d4(0x151)](oe,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],_0x2fb0d5,this['_handler']);_0x15d2fd[_0x2807d4(0x37b)](),_0x46a5b9=_0x15d2fd;}else _0x46a5b9=this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](De,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],this['_handler']);}}return _0x46a5b9[_0x2807d4(0x219)](),_0x46a5b9;}catch(_0x326135){return this[_0x2807d4(0x11d)]['error']('[FetchMissState]',_0x2807d4(0x24f),_0x326135),this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](de,this['unitID'],this['type'],this[_0x2807d4(0x2d8)],this[_0x2807d4(0x356)],this[_0x2807d4(0x34e)],!0x1);}}['resend'](){var _0x3f6272=_0x59924f;throw new Error(_0x3f6272(0x2ef));}[_0x59924f(0x396)](_0x22bb92){var _0x2b76ca=_0x59924f;return this[_0x2b76ca(0x356)]['push'](_0x22bb92),this;}[_0x59924f(0x359)](_0x587b58){var _0x49ed1a=_0x59924f;return this[_0x49ed1a(0x1a4)][_0x49ed1a(0x1f7)](_0x587b58),this;}[_0x59924f(0x3af)](_0x3eb8fa){var _0x363036=_0x59924f;if(this[_0x363036(0x2d8)])return this['_acknowledgedAwaitingChangeset']=this[_0x363036(0x2d8)],this[_0x363036(0x2d8)]=null,this;throw new Error(_0x363036(0x25a));}[_0x59924f(0x256)](_0x4a8b84){var _0x258723=_0x59924f;return this[_0x258723(0x374)](!!(_0x4a8b84!=null&&_0x4a8b84[_0x258723(0x24e)]));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){var _0x39899d=_0x59924f;return this[_0x39899d(0x3c3)][_0x39899d(0x151)](fe,this[_0x39899d(0x307)],this[_0x39899d(0x38c)],this[_0x39899d(0x2d8)],this[_0x39899d(0x356)],this[_0x39899d(0x34e)]);}[_0x59924f(0x2fe)](){return this;}['_onConflict'](_0x5b1cad){var _0x30dd21=_0x59924f;return this['_injector'][_0x30dd21(0x151)](de,this[_0x30dd21(0x307)],this[_0x30dd21(0x38c)],this[_0x30dd21(0x2d8)],this['_pendingMutations'],this['_handler'],_0x5b1cad);}};te=Re([A(0x7,_0x1bc764(_0x305299)),A(0x8,_0x1bc764(_0x55a265)),A(0x9,_0x54d1e0),A(0xa,_0x138ae6),A(0xb,_0x1d3917),A(0xc,_0x3511a4),A(0xd,_0x4e682c(J))],te);function Di(_0x3dd998,_0x4eba77,_0x32b498,_0x4f9fc4,_0x35485c,_0x5e4dc4){var _0x2ca337=_0x59924f;return _0x4f9fc4&&_0x35485c[_0x2ca337(0x351)]?_0x3dd998[_0x2ca337(0x151)](ae,_0x4eba77,_0x32b498,_0x4f9fc4,_0x35485c,_0x5e4dc4,void 0x0):_0x4f9fc4?_0x3dd998[_0x2ca337(0x151)](ue,_0x4eba77,_0x32b498,_0x4f9fc4,_0x5e4dc4):_0x35485c['length']?_0x3dd998[_0x2ca337(0x151)](oe,_0x4eba77,_0x32b498,_0x35485c,_0x5e4dc4):_0x3dd998[_0x2ca337(0x151)](De,_0x4eba77,_0x32b498,_0x5e4dc4);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x27140c,_0x4bc9a1,_0x403088,_0xf19a92)=>{var _0xfa03dc=_0x59924f;for(var _0x3ab3ec=_0xf19a92>0x1?void 0x0:_0xf19a92?pr(_0x4bc9a1,_0x403088):_0x4bc9a1,_0x20b98d=_0x27140c[_0xfa03dc(0x351)]-0x1,_0x4c93f9;_0x20b98d>=0x0;_0x20b98d--)(_0x4c93f9=_0x27140c[_0x20b98d])&&(_0x3ab3ec=(_0xf19a92?_0x4c93f9(_0x4bc9a1,_0x403088,_0x3ab3ec):_0x4c93f9(_0x3ab3ec))||_0x3ab3ec);return _0xf19a92&&_0x3ab3ec&&vr(_0x4bc9a1,_0x403088,_0x3ab3ec),_0x3ab3ec;},k=(_0xfb4457,_0x3afe80)=>(_0xf16308,_0x231be3)=>_0x3afe80(_0xf16308,_0x231be3,_0xfb4457);let nt=class extends _0x2d45c2{constructor(_0x25d755,_0x5ac2eb,_0x27a3d4,_0x44226c,_0x371fb9,_0x520c9b,_0x989bd7,_0x3e7333,_0x195dfa,_0x1f3b75,_0x540a5f,_0x13dbbf,_0x119e68){var _0x270537=_0x59924f;super(),N(this,'_state$',new _0x1684f8(null)),N(this,_0x270537(0x2e9),this[_0x270537(0x303)][_0x270537(0x3b7)]()),N(this,'_state'),N(this,_0x270537(0x388),!0x1),N(this,_0x270537(0x3c9),''),N(this,_0x270537(0x1a8),0x0),N(this,_0x270537(0x402),this['state$'][_0x270537(0x25b)](_0x617683(_0x4d2db0=>_0x4d2db0?_0x4d2db0[_0x270537(0x3cb)]:yi['OFFLINE']),_0x69203a(0x1))),N(this,_0x270537(0x178),!0x1),N(this,_0x270537(0x2de),[]),(this['unitID']=_0x25d755,this[_0x270537(0x1f8)]=_0x5ac2eb,this['_type']=_0x27a3d4,this['_injector']=_0x44226c,this[_0x270537(0x20c)]=_0x371fb9,this[_0x270537(0x14f)]=_0x520c9b,this[_0x270537(0x179)]=_0x989bd7,this[_0x270537(0x35d)]=_0x3e7333,this[_0x270537(0x11d)]=_0x195dfa,this[_0x270537(0x395)]=_0x1f3b75,this['_permissionService']=_0x540a5f,this[_0x270537(0x2be)]=_0x13dbbf,this['_localCacheService']=_0x119e68);}get['state'](){var _0x2d06b2=_0x59924f;return this[_0x2d06b2(0x242)];}async[_0x59924f(0x336)](){var _0x43521d=_0x59924f;if(this[_0x43521d(0x18d)])throw new Error(_0x43521d(0x384));await this[_0x43521d(0x309)]();}[_0x59924f(0x2e2)](){return this['_collaborationPaused']=!0x0,_0x22d2a9(()=>{var _0x5b75c7=_0x2b46;this[_0x5b75c7(0x388)]=!0x1,this[_0x5b75c7(0x41d)]();});}[_0x59924f(0x26c)](_0x2e0427){var _0x10206c=_0x59924f;this[_0x10206c(0x375)](_0x2e0427);}['_updateState'](_0x49f1b5){var _0x48f2a4=_0x59924f;this['_state']=_0x49f1b5,this[_0x48f2a4(0x303)][_0x48f2a4(0x268)](_0x49f1b5);}async[_0x59924f(0x309)](){var _0x3040a7=_0x59924f,_0x1db675;this[_0x3040a7(0x209)](await this[_0x3040a7(0x21a)]()),this['_singleActiveUnitService']&&((_0x1db675=this[_0x3040a7(0x2be)])==null||_0x1db675[_0x3040a7(0x398)](this[_0x3040a7(0x307)]),this[_0x3040a7(0x237)](this[_0x3040a7(0x2be)]['getUnitStatus$'](this['unitID'])[_0x3040a7(0x387)](_0x1c91b1=>{var _0x1f53db=_0x3040a7;this[_0x1f53db(0x11d)][_0x1f53db(0x1d4)](_0x1f53db(0x198),_0x1f53db(0x229),_0x1c91b1),_0x1c91b1===bi[_0x1f53db(0x2e6)]?(this[_0x1f53db(0x35d)][_0x1f53db(0x1fa)]({'id':se[_0x1f53db(0x26d)]}),this[_0x1f53db(0x1e5)][_0x1f53db(0x119)](new _0x28e48e(this['unitID'])['id'],!0x1),this[_0x1f53db(0x1e5)][_0x1f53db(0x27c)](!0x1)):(this['_permissionService'][_0x1f53db(0x119)](new _0x28e48e(this['unitID'])['id'],!0x0),this[_0x1f53db(0x1e5)][_0x1f53db(0x27c)](!0x0));})));let _0x41ff06=!0x1;return this['disposeWithMe'](this['session'][_0x3040a7(0x406)][_0x3040a7(0x387)](_0x56a578=>{var _0x2c6038=_0x3040a7;_0x56a578===Te[_0x2c6038(0x321)]?this['_toggleOnline'](_0x41ff06):_0x56a578===Te[_0x2c6038(0x39c)]&&(_0x41ff06=!0x0,this[_0x2c6038(0x3b8)]());})),this[_0x3040a7(0x237)](this[_0x3040a7(0x1f8)][_0x3040a7(0x1ae)]['subscribe'](_0x1848bf=>{var _0x3a9ff5=_0x3040a7;try{switch(_0x1848bf[_0x3a9ff5(0x35c)]){case _0x2872d1[_0x3a9ff5(0x228)]:{this[_0x3a9ff5(0x3f4)](_0x241d74(_0x1848bf[_0x3a9ff5(0x27b)]));break;}case _0x2872d1[_0x3a9ff5(0x1bd)]:{this[_0x3a9ff5(0x3c7)](_0x1848bf[_0x3a9ff5(0x27b)]);break;}case _0x2872d1[_0x3a9ff5(0x355)]:{this[_0x3a9ff5(0x15d)]();break;}case _0x2872d1[_0x3a9ff5(0x247)]:{this['_onRemoteRetry'](_0x1848bf['data']);break;}case _0x2872d1[_0x3a9ff5(0x1e7)]:{this['_onFetchMissResult'](_0x1848bf['data'][_0x3a9ff5(0x3e7)][_0x3a9ff5(0x30a)](_0x166ef1=>_0x241d74(_0x166ef1)));break;}case _0x2872d1['PERMISSION_REJ']:{this[_0x3a9ff5(0x15d)]({'isPermissionRej':!0x0});break;}case _0x2872d1[_0x3a9ff5(0x134)]:break;}}catch(_0x413aa1){throw console['error'](_0x3a9ff5(0x176),_0x413aa1),_0x413aa1;}})),this[_0x3040a7(0x242)];}['_unlockTransition'](){var _0x5a2c80=_0x59924f;this[_0x5a2c80(0x178)]=!0x1;}[_0x59924f(0x14a)](){var _0x433122=_0x59924f;if(this[_0x433122(0x178)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x433122(0x178)]=!0x0;}[_0x59924f(0x375)](_0x31221b){var _0x5eb737=_0x59924f;this[_0x5eb737(0x14a)](),this[_0x5eb737(0x209)](this['_state'][_0x5eb737(0x396)](_0x31221b)),this[_0x5eb737(0x184)]();}[_0x59924f(0x3f4)](_0x84a5c1){var _0x4d60f7=_0x59924f;if(!(_0x84a5c1['revision']<=this[_0x4d60f7(0x179)][_0x4d60f7(0x3d4)](this['unitID']))){if(this[_0x4d60f7(0x388)]){this[_0x4d60f7(0x2de)][_0x4d60f7(0x1f7)](_0x84a5c1);return;}this['_applyRemoteChangeset'](_0x84a5c1);}}[_0x59924f(0x41d)](){var _0x140ca9=_0x59924f;this[_0x140ca9(0x2de)][_0x140ca9(0x3be)](_0x28f3e6=>this[_0x140ca9(0x318)](_0x28f3e6)),this[_0x140ca9(0x2de)]=[];}[_0x59924f(0x318)](_0x5da0e0){var _0x1d4224=_0x59924f;const _0x2728b9=this[_0x1d4224(0x20c)][_0x1d4224(0x341)][_0x1d4224(0x2ae)](this[_0x1d4224(0x20c)][_0x1d4224(0x341)][_0x1d4224(0x1b0)]()[_0x1d4224(0x320)])(_0x5da0e0[_0x1d4224(0x29c)],null)||_0x5da0e0['mutations'],_0x10892c={..._0x5da0e0,'mutations':_0x2728b9};this[_0x1d4224(0x14a)](),this[_0x1d4224(0x209)](this[_0x1d4224(0x242)][_0x1d4224(0x359)](_0x10892c)),this[_0x1d4224(0x184)]();}[_0x59924f(0x3c7)](_0x3d4d87){var _0x443a7d=_0x59924f;this[_0x443a7d(0x14a)](),this[_0x443a7d(0x209)](this[_0x443a7d(0x242)]['onRemoteAck'](_0x3d4d87)),this['_unlockTransition']();}[_0x59924f(0x15d)](_0x62e211){var _0x33c248=_0x59924f;this[_0x33c248(0x14a)](),this[_0x33c248(0x209)](this[_0x33c248(0x242)][_0x33c248(0x256)](_0x62e211)),this[_0x33c248(0x184)]();}[_0x59924f(0x183)](_0x169af7){var _0x450d90=_0x59924f;this[_0x450d90(0x14a)](),this[_0x450d90(0x209)](this[_0x450d90(0x242)][_0x450d90(0x127)](_0x169af7)),this[_0x450d90(0x184)]();}[_0x59924f(0x40a)](_0x3bd465){var _0x2da2e5=_0x59924f;if(!(this['_state']instanceof te))throw new TypeError(_0x2da2e5(0x1af));const _0x23fe77=_0x3bd465['map'](_0xe4e69c=>{var _0x266dc7=_0x2da2e5;const _0x25bc89=this[_0x266dc7(0x20c)]['interceptor'][_0x266dc7(0x2ae)](this['_compressMutationService'][_0x266dc7(0x341)]['getInterceptPoints']()[_0x266dc7(0x320)])(_0xe4e69c[_0x266dc7(0x29c)],null)||_0xe4e69c[_0x266dc7(0x29c)];return{..._0xe4e69c,'mutations':_0x25bc89};});this[_0x2da2e5(0x14a)](),this[_0x2da2e5(0x209)](this[_0x2da2e5(0x242)][_0x2da2e5(0x1fc)](_0x23fe77)),this[_0x2da2e5(0x184)]();}[_0x59924f(0x3b8)](){var _0x3686c2=_0x59924f;this['_lockTransition'](),this[_0x3686c2(0x209)](this['_state'][_0x3686c2(0x41c)]()),this[_0x3686c2(0x184)]();}[_0x59924f(0x3f5)](_0x2fa7f1=!0x1){var _0x547864=_0x59924f;this['_lockTransition'](),this['_updateState'](this[_0x547864(0x242)][_0x547864(0x2fe)]()),this['_unlockTransition']();const _0x1bfe83=this['_state'];_0x2fa7f1&&_0x1bfe83 instanceof De&&(this[_0x547864(0x14a)](),this[_0x547864(0x209)](_0x1bfe83[_0x547864(0x36a)]()),this[_0x547864(0x184)]());}async[_0x59924f(0x21a)](){return new Promise(_0x9486cc=>{var _0x4a4ecd=_0x2b46;this['session'][_0x4a4ecd(0x406)][_0x4a4ecd(0x25b)](_0x4b3b13(0x1))[_0x4a4ecd(0x387)](async _0x26b385=>{var _0x59d4c6=_0x4a4ecd;_0x9486cc(await this[_0x59d4c6(0x325)](_0x26b385===Te['ONLINE']));});});}[_0x59924f(0x30c)](){var _0x2bfdd5=_0x59924f;const _0x43c530=this[_0x2bfdd5(0x307)];return{'onStateChange':(_0x598b78,_0x497ff6)=>{var _0x226e59=_0x2bfdd5;if(_0x598b78!==this[_0x226e59(0x242)])throw new Error(_0x226e59(0x1f5)+_0x598b78[_0x226e59(0x3cb)]+_0x226e59(0x2f8)+_0x497ff6[_0x226e59(0x3cb)]+_0x226e59(0x34b)+this['_state']['status']);this[_0x226e59(0x209)](_0x497ff6);},'onSendChangeset':_0x126e55=>{var _0x59b18e=_0x2bfdd5;_0x126e55[_0x59b18e(0x1b3)]||(_0x126e55[_0x59b18e(0x1b3)]=this[_0x59b18e(0x3c9)],_0x126e55[_0x59b18e(0x235)]=++this[_0x59b18e(0x1a8)]);const _0x4718d7={'eventID':_0x2872d1['SUBMIT_CHANGESET'],'data':{'unitID':_0x126e55[_0x59b18e(0x307)],'unitType':this[_0x59b18e(0x12d)],'changeset':_0x126e55,'memberID':this['session']['getMemberID']()}};this['session']['send'](_0x4718d7,this['unitID']);},'onMissingChangesets':({from:_0x55676e,to:_0x2592ea})=>{var _0x5e187c=_0x2bfdd5;this['_logService'][_0x5e187c(0x1d4)](_0x5e187c(0x198),'fetching\x20missing\x20changesets\x20from\x20'+_0x55676e+_0x5e187c(0x383)+_0x2592ea);const _0x4a7a5e={'eventID':_0x2872d1['FETCH_MISSING'],'data':{'unitID':_0x43c530,'unitType':this[_0x5e187c(0x12d)],'from':_0x55676e,'to':_0x2592ea}};this['session'][_0x5e187c(0x3e0)](_0x4a7a5e,this['unitID']);}};}async[_0x59924f(0x325)](_0x488a62){var _0xb5394e=_0x59924f,_0x408512,_0x1aba54,_0x9dc6b6;const _0x17959b=await((_0x408512=this[_0xb5394e(0x1ac)])==null?void 0x0:_0x408512['loadOfflineData'](this[_0xb5394e(0x307)])),_0x29c87c=(_0x1aba54=_0x17959b==null?void 0x0:_0x17959b[_0xb5394e(0x29c)])!=null?_0x1aba54:[],_0x2a0e03=(_0x9dc6b6=_0x17959b==null?void 0x0:_0x17959b[_0xb5394e(0x2f7)])!=null?_0x9dc6b6:null,_0x2d9ca0=!!(_0x2a0e03!=null&&_0x2a0e03[_0xb5394e(0x1b3)])&&!!(_0x2a0e03!=null&&_0x2a0e03[_0xb5394e(0x235)]);this[_0xb5394e(0x3c9)]=_0x2d9ca0?_0x2a0e03[_0xb5394e(0x1b3)]:sr(),this[_0xb5394e(0x1a8)]=_0x2d9ca0?_0x2a0e03['reqId']:0x0;const _0x5ca289=this[_0xb5394e(0x307)];try{this[_0xb5394e(0x3e6)](_0x2a0e03,_0x29c87c);}catch(_0xe8f2e7){this[_0xb5394e(0x11d)][_0xb5394e(0x289)](_0xe8f2e7);}const _0x212aea=this[_0xb5394e(0x30c)]();if(_0x488a62){const _0x5a1e8e=Di(this[_0xb5394e(0x3c3)],_0x5ca289,this[_0xb5394e(0x12d)],_0x2a0e03,_0x29c87c,_0x212aea);return _0x5a1e8e instanceof oe?_0x5a1e8e[_0xb5394e(0x37b)]():(_0x5a1e8e instanceof ae||_0x5a1e8e instanceof ue)&&_0x5a1e8e[_0xb5394e(0x1b9)](),_0x5a1e8e;}return this[_0xb5394e(0x3c3)][_0xb5394e(0x151)](fe,_0x5ca289,this[_0xb5394e(0x12d)],_0x2a0e03,_0x29c87c,_0x212aea);}[_0x59924f(0x3e6)](_0x3b041e,_0x129a15){var _0x4b3c3f=_0x59924f,_0x549246,_0xd901bd;const _0x183fd=this[_0x4b3c3f(0x20c)][_0x4b3c3f(0x341)][_0x4b3c3f(0x2ae)](this[_0x4b3c3f(0x20c)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x549246=_0x183fd((_0x3b041e==null?void 0x0:_0x3b041e[_0x4b3c3f(0x29c)])||[],null))==null||_0x549246['forEach'](_0x3bd502=>this['_commandService'][_0x4b3c3f(0x13c)](_0x3bd502['id'],_0x3bd502[_0x4b3c3f(0x3e3)])),(_0xd901bd=_0x183fd(_0x129a15||[],null))==null||_0xd901bd[_0x4b3c3f(0x3be)](_0x3ae600=>this[_0x4b3c3f(0x395)][_0x4b3c3f(0x13c)](_0x3ae600['id'],_0x3ae600['params']));}};nt=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(pe)),k(0x8,_0x54d1e0),k(0x9,_0x138ae6),k(0xa,_0xb52dec),k(0xb,_0x4e682c(ht)),k(0xc,_0x4e682c(J))],nt);let Tt=class extends nt{constructor(_0x2a7810,_0x2a237f,_0x50d641,_0x420805,_0x1e4ae1,_0xc8f057,_0x1bed98,_0x116736,_0x32ab55,_0x1a5e31,_0x50172f,_0x28656d,_0x21b63f){var _0x3cdcd9=_0x59924f;super(_0x2a7810,_0x50d641,_0x2a237f,_0x420805,_0x1e4ae1,_0xc8f057,_0x1bed98,_0x116736,_0x32ab55,_0x1a5e31,_0x50172f,_0x28656d,_0x21b63f),N(this,_0x3cdcd9(0x3ad),null),(this[_0x3cdcd9(0x307)]=_0x2a7810,this[_0x3cdcd9(0x38c)]=_0x2a237f);}[_0x59924f(0x324)](_0x4ef37d){var _0x1b73ee=_0x59924f;this[_0x1b73ee(0x3ad)]=_0x4ef37d;}[_0x59924f(0x2c6)](){var _0xd16a93=_0x59924f;this[_0xd16a93(0x3ad)]=null,super[_0xd16a93(0x2c6)]();}['_createHandler'](){var _0x1d627d=_0x59924f;const _0x247594=super[_0x1d627d(0x30c)]();return _0x247594[_0x1d627d(0x1cd)]=_0x8b1ff5=>{var _0x3c9226=_0x1d627d,_0xa38321,_0x28a954;return(_0x28a954=(_0xa38321=this['_handlerCallback'])==null?void 0x0:_0xa38321[_0x3c9226(0x1cd)])==null?void 0x0:_0x28a954['call'](_0xa38321,_0x8b1ff5);},_0x247594[_0x1d627d(0x3f6)]=_0x24bcf6=>{var _0x514ca2=_0x1d627d,_0x226b4c,_0x29c649;return(_0x29c649=(_0x226b4c=this[_0x514ca2(0x3ad)])==null?void 0x0:_0x226b4c[_0x514ca2(0x3f6)])==null?void 0x0:_0x29c649['call'](_0x226b4c,_0x24bcf6);},_0x247594[_0x1d627d(0x1f0)]=_0x534206=>{var _0x468e86=_0x1d627d,_0x21efa7,_0x114f81;return(_0x114f81=(_0x21efa7=this['_handlerCallback'])==null?void 0x0:_0x21efa7['onTransformSelections'])==null?void 0x0:_0x114f81[_0x468e86(0x401)](_0x21efa7,_0x534206);},_0x247594['onSyncEditingCollabCursor']=_0x15f6e8=>{var _0x198f9c=_0x1d627d,_0x34d261,_0x4d2447;return(_0x4d2447=(_0x34d261=this[_0x198f9c(0x3ad)])==null?void 0x0:_0x34d261[_0x198f9c(0x123)])==null?void 0x0:_0x4d2447[_0x198f9c(0x401)](_0x34d261,_0x15f6e8);},_0x247594['onTransformRemoteChangesetByIMECache']=_0x3e88aa=>{var _0x2d688a=_0x1d627d,_0x348998,_0x46ad7e,_0x31742c;if(!((_0x348998=this[_0x2d688a(0x3ad)])!=null&&_0x348998[_0x2d688a(0x199)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x31742c=(_0x46ad7e=this[_0x2d688a(0x3ad)])==null?void 0x0:_0x46ad7e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x31742c[_0x2d688a(0x401)](_0x46ad7e,_0x3e88aa);},_0x247594[_0x1d627d(0x234)]=_0x4d8d7a=>{var _0x1e4239=_0x1d627d,_0x1dcef3,_0x29581c,_0x287b60;if(!((_0x1dcef3=this[_0x1e4239(0x3ad)])!=null&&_0x1dcef3[_0x1e4239(0x234)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x287b60=(_0x29581c=this[_0x1e4239(0x3ad)])==null?void 0x0:_0x29581c[_0x1e4239(0x234)])==null?void 0x0:_0x287b60['call'](_0x29581c,_0x4d8d7a);},_0x247594;}async[_0x59924f(0x309)](){var _0x3810f2=_0x59924f;const _0x33ba51=await super['_init']();return this[_0x3810f2(0x237)](this['_commandService'][_0x3810f2(0x3d9)]((_0x11f962,_0x3a6ec9)=>{var _0x5ba213=_0x3810f2;if(_0x11f962[_0x5ba213(0x38c)]!==_0x1a1be5[_0x5ba213(0x39d)]||_0x3a6ec9!=null&&_0x3a6ec9[_0x5ba213(0x1db)]||_0x3a6ec9!=null&&_0x3a6ec9[_0x5ba213(0x313)]||_0x11f962['id']===_0xf6a1e8['id'])return;const _0x4feca7=_0x11f962[_0x5ba213(0x3e3)];if((_0x4feca7==null?void 0x0:_0x4feca7[_0x5ba213(0x3d2)])!==this[_0x5ba213(0x307)])return;const _0x38c1cc=_0x11f962,_0x51a577=this[_0x5ba213(0x20c)][_0x5ba213(0x341)]['fetchThroughInterceptors'](this[_0x5ba213(0x20c)]['interceptor'][_0x5ba213(0x1b0)]()[_0x5ba213(0x196)])([_0x38c1cc],null)||[_0x38c1cc];this[_0x5ba213(0x375)](_0x51a577[0x0]);})),_0x33ba51;}};Tt=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(pe)),k(0x8,_0x54d1e0),k(0x9,_0x138ae6),k(0xa,_0xb52dec),k(0xb,_0x4e682c(ht)),k(0xc,_0x4e682c(J))],Tt);let Ct=class extends nt{constructor(_0x2b0453,_0x515c67,_0x6c6e71,_0x25fd7c,_0x270608,_0x9195df,_0x35a93c,_0x296a99,_0x70da89,_0x275948,_0x47f7a9,_0x29d67e,_0x4ff352,_0x4cb74b){var _0xb9114=_0x59924f;super(_0x2b0453,_0x6c6e71,_0x515c67,_0x25fd7c,_0x270608,_0x9195df,_0x35a93c,_0x70da89,_0x275948,_0x47f7a9,_0x29d67e,_0x4ff352,_0x4cb74b),this[_0xb9114(0x307)]=_0x2b0453,this['type']=_0x515c67,this[_0xb9114(0x294)]=_0x296a99;}[_0x59924f(0x30c)](){var _0x59f417=_0x59924f;const _0x19292f=super['_createHandler']();return _0x19292f[_0x59f417(0x1f0)]=_0x189add=>this[_0x59f417(0x294)][_0x59f417(0x216)](_0x189add),_0x19292f;}async[_0x59924f(0x309)](){var _0x384955=_0x59924f;const _0x40aed1=await super[_0x384955(0x309)]();return this['disposeWithMe'](this[_0x384955(0x395)][_0x384955(0x3d9)]((_0x4611e6,_0x4868be)=>{var _0x1db99f=_0x384955;if(_0x4611e6[_0x1db99f(0x38c)]!==_0x1a1be5[_0x1db99f(0x39d)]||_0x4868be!=null&&_0x4868be[_0x1db99f(0x1db)]||_0x4868be!=null&&_0x4868be[_0x1db99f(0x313)])return;const _0x1f8406=_0x4611e6[_0x1db99f(0x3e3)];if((_0x1f8406==null?void 0x0:_0x1f8406['unitId'])!==this[_0x1db99f(0x307)])return;const _0x246dfc=_0x4611e6,_0x53ec79=this[_0x1db99f(0x20c)]['interceptor']['fetchThroughInterceptors'](this[_0x1db99f(0x20c)][_0x1db99f(0x341)][_0x1db99f(0x1b0)]()[_0x1db99f(0x196)])([_0x246dfc],null)||[_0x246dfc];this[_0x1db99f(0x375)](_0x53ec79[0x0]);})),_0x40aed1;}};Ct=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(it)),k(0x8,_0x1bc764(pe)),k(0x9,_0x54d1e0),k(0xa,_0x138ae6),k(0xb,_0xb52dec),k(0xc,_0x4e682c(ht)),k(0xd,_0x4e682c(J))],Ct);var mr=Object[_0x59924f(0x385)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x109e9f,_0x65763e,_0x133239,_0x20580f)=>{var _0x410c3e=_0x59924f;for(var _0x563391=_0x20580f>0x1?void 0x0:_0x20580f?gr(_0x65763e,_0x133239):_0x65763e,_0x9ecf74=_0x109e9f[_0x410c3e(0x351)]-0x1,_0x53e2e2;_0x9ecf74>=0x0;_0x9ecf74--)(_0x53e2e2=_0x109e9f[_0x9ecf74])&&(_0x563391=(_0x20580f?_0x53e2e2(_0x65763e,_0x133239,_0x563391):_0x53e2e2(_0x563391))||_0x563391);return _0x20580f&&_0x563391&&mr(_0x65763e,_0x133239,_0x563391),_0x563391;},ft=(_0x5e4224,_0x5a431f)=>(_0x24053d,_0x541953)=>_0x5a431f(_0x24053d,_0x541953,_0x5e4224);let rt=class extends _0x2d45c2{constructor(_0x25ecc7,_0x51ec30,_0x3e8803){var _0x198864=_0x59924f;super(),N(this,_0x198864(0x276),new Map()),N(this,_0x198864(0x424),new _0x524606()),N(this,_0x198864(0x3e5),this[_0x198864(0x424)][_0x198864(0x3b7)]()),(this[_0x198864(0x3c3)]=_0x25ecc7,this[_0x198864(0x310)]=_0x51ec30,this[_0x198864(0x2d7)]=_0x3e8803,this[_0x198864(0x309)]());}[_0x59924f(0x2c6)](){var _0x26b5c4=_0x59924f;super['dispose'](),this['_entities'][_0x26b5c4(0x3be)](_0x4b60b9=>_0x4b60b9[_0x26b5c4(0x2c6)]()),this[_0x26b5c4(0x276)][_0x26b5c4(0x392)]();}[_0x59924f(0x1ef)](_0x3b17bb){var _0x4eb83c=_0x59924f,_0x33521f;return(_0x33521f=this[_0x4eb83c(0x276)][_0x4eb83c(0x13d)](_0x3b17bb))!=null?_0x33521f:null;}[_0x59924f(0x236)](_0x2191ee){var _0xb0e3ad=_0x59924f;const _0x1c6455=this['getCollabEntity'](_0x2191ee);return _0x1c6455?_0x815db8(_0x1c6455):this['_entityInit$'][_0xb0e3ad(0x25b)](_0xca8f0(_0x5f2055=>_0x5f2055[_0xb0e3ad(0x307)]===_0x2191ee));}[_0x59924f(0x2b5)](_0x7e67ec){var _0x51ccab=_0x59924f;return _0x2b4fca(this[_0x51ccab(0x236)](_0x7e67ec)[_0x51ccab(0x25b)](_0x23545a(()=>{})));}[_0x59924f(0x309)](){var _0x100be8=_0x59924f;this[_0x100be8(0x2d7)][_0x100be8(0x3ed)](_0x51bed3[_0x100be8(0x14c)])[_0x100be8(0x25b)](_0x3b11d7(this[_0x100be8(0x217)]),_0x264413(0x10))[_0x100be8(0x387)](async _0x39879b=>{var _0x38d07c=_0x100be8;const _0x4e8893=_0x39879b[_0x38d07c(0x201)](),_0x3c1a67=await this[_0x38d07c(0x1ab)](_0x4e8893,Q[_0x38d07c(0x14c)]);this['_entities'][_0x38d07c(0x2d3)](_0x4e8893,_0x3c1a67);}),this[_0x100be8(0x2d7)][_0x100be8(0x3ed)](_0x51bed3[_0x100be8(0x3fa)])[_0x100be8(0x25b)](_0x3b11d7(this[_0x100be8(0x217)]),_0x264413(0x10))[_0x100be8(0x25b)](_0xca8f0(_0x3b4c39=>!_0x3b4c39[_0x100be8(0x201)]()[_0x100be8(0x361)]('__')))[_0x100be8(0x387)](async _0x462d68=>{var _0xe3b82f=_0x100be8;const _0x207cfb=_0x462d68[_0xe3b82f(0x201)](),_0x123a56=await this['_startCollaboration'](_0x207cfb,Q['UNIVER_DOC']);this['_entities']['set'](_0x207cfb,_0x123a56);}),_0x4166c5(this[_0x100be8(0x2d7)][_0x100be8(0x2ca)](_0x51bed3[_0x100be8(0x14c)]),this[_0x100be8(0x2d7)]['getTypeOfUnitDisposed$'](_0x51bed3['UNIVER_DOC']))['pipe'](_0x3b11d7(this['dispose$']))[_0x100be8(0x387)](_0x559580=>{var _0x10a31d=_0x100be8;const _0x4b6fd4=_0x559580[_0x10a31d(0x201)](),_0x20dc25=this[_0x10a31d(0x276)][_0x10a31d(0x13d)](_0x4b6fd4);_0x20dc25&&(_0x20dc25[_0x10a31d(0x2c6)](),this['_entities'][_0x10a31d(0x255)](_0x4b6fd4));});}async[_0x59924f(0x1ab)](_0x4b8385,_0x2c6510){var _0x183af5=_0x59924f;const _0xce4c55=await this[_0x183af5(0x310)][_0x183af5(0x205)](_0x4b8385),_0x270772=this['_injector'][_0x183af5(0x151)](this[_0x183af5(0x1d8)](_0x2c6510),_0x4b8385,_0x2c6510,_0xce4c55);return await _0x270772[_0x183af5(0x336)](),this[_0x183af5(0x424)][_0x183af5(0x268)](_0x270772),_0x270772;}['_getCtorByUniverType'](_0x4fc774){var _0x1483b5=_0x59924f;switch(_0x4fc774){case Q[_0x1483b5(0x3fa)]:return Tt;case Q[_0x1483b5(0x14c)]:return Ct;default:throw new Error(_0x1483b5(0x148)+_0x4fc774);}}};rt=Sr([ft(0x0,_0x1bc764(_0x305299)),ft(0x1,_0x1bc764(Le)),ft(0x2,_0x4844be)],rt);var Er=Object['defineProperty'],Ir=Object[_0x59924f(0x33e)],Tr=(_0x4e7778,_0xc284ed,_0x25a44f,_0x5ded5a)=>{var _0x20614c=_0x59924f;for(var _0x577894=_0x5ded5a>0x1?void 0x0:_0x5ded5a?Ir(_0xc284ed,_0x25a44f):_0xc284ed,_0x311a15=_0x4e7778[_0x20614c(0x351)]-0x1,_0x588180;_0x311a15>=0x0;_0x311a15--)(_0x588180=_0x4e7778[_0x311a15])&&(_0x577894=(_0x5ded5a?_0x588180(_0xc284ed,_0x25a44f,_0x577894):_0x588180(_0x577894))||_0x577894);return _0x5ded5a&&_0x577894&&Er(_0xc284ed,_0x25a44f,_0x577894),_0x577894;},Jt=(_0x5745dc,_0x586830)=>(_0x36470d,_0x245326)=>_0x586830(_0x36470d,_0x245326,_0x5745dc);const Cr=_0x59924f(0x2f2),Rr=_0x59924f(0x323);let Rt=class extends _0xfc6e5{constructor(_0x318e99,_0x35421a){var _0x20a3ab=_0x59924f;super(),this[_0x20a3ab(0x2d7)]=_0x318e99,this[_0x20a3ab(0x3c1)]=_0x35421a,this[_0x20a3ab(0x309)]();}[_0x59924f(0x309)](){var _0x490a94=_0x59924f;this[_0x490a94(0x237)](this[_0x490a94(0x2d7)][_0x490a94(0x26e)][_0x490a94(0x387)](()=>{var _0x43a1c5=_0x490a94,_0x5f20a2;const _0xbd4b73=this['_univerInstanceService'][_0x43a1c5(0x360)]();let _0x853859=(_0x5f20a2=this['_configService'][_0x43a1c5(0x180)](Cr))!=null?_0x5f20a2:Rr;_0xbd4b73 instanceof _0x12fdcf&&(_0x853859=_0xbd4b73[_0x43a1c5(0x38b)]),document[_0x43a1c5(0x1ec)]=_0x853859;}));}};Rt=Tr([Jt(0x0,_0x4844be),Jt(0x1,_0x30c313)],Rt);var br=Object[_0x59924f(0x385)],Or=Object[_0x59924f(0x33e)],yr=(_0x1df549,_0x3e0915,_0x3289d7,_0x3ff336)=>{var _0xdaf875=_0x59924f;for(var _0x4890ac=_0x3ff336>0x1?void 0x0:_0x3ff336?Or(_0x3e0915,_0x3289d7):_0x3e0915,_0x1c5f6c=_0x1df549[_0xdaf875(0x351)]-0x1,_0x4a7004;_0x1c5f6c>=0x0;_0x1c5f6c--)(_0x4a7004=_0x1df549[_0x1c5f6c])&&(_0x4890ac=(_0x3ff336?_0x4a7004(_0x3e0915,_0x3289d7,_0x4890ac):_0x4a7004(_0x4890ac))||_0x4890ac);return _0x3ff336&&_0x4890ac&&br(_0x3e0915,_0x3289d7,_0x4890ac),_0x4890ac;},vt=(_0x3cff87,_0x115f6b)=>(_0x1bd312,_0x57d545)=>_0x115f6b(_0x1bd312,_0x57d545,_0x3cff87);let st=class{constructor(_0x112bcd,_0x5897fb,_0x3fe60f){var _0x3c4ef6=_0x59924f;this[_0x3c4ef6(0x3c1)]=_0x112bcd,this[_0x3c4ef6(0x252)]=_0x5897fb,this[_0x3c4ef6(0x1be)]=_0x3fe60f,this[_0x3c4ef6(0x336)]();}[_0x59924f(0x336)](){var _0x2bb37a=_0x59924f;this[_0x2bb37a(0x252)][_0x2bb37a(0x29b)]({'priority':0x1,'interceptor':(_0x1ce265,_0x5acdc7)=>_0x5acdc7(_0x1ce265)[_0x2bb37a(0x25b)](_0x2f3673(async _0x33228e=>{var _0x24253a=_0x2bb37a;const _0x5f0b9c=_0x33228e;if(_0x5f0b9c['status']===0x191){if(typeof window>'u')throw new Error(_0x24253a(0x3b4));if(window['confirm'](this[_0x24253a(0x1be)]['t'](_0x24253a(0x3b2)))){const _0x32f979=window[_0x24253a(0x258)](window[_0x24253a(0x2a7)][_0x24253a(0x319)]);window[_0x24253a(0x2a7)][_0x24253a(0x319)]=this[_0x24253a(0x2cd)]()+_0x24253a(0x25d)+_0x32f979;}}return _0x5f0b9c;}))});}[_0x59924f(0x2cd)](){var _0x49a2b2=_0x59924f,_0x4196e6,_0x489b4f;const _0x4e3ceb=this[_0x49a2b2(0x3c1)][_0x49a2b2(0x180)](xn),_0x529ba5=this[_0x49a2b2(0x3c1)][_0x49a2b2(0x180)](q);return(_0x489b4f=(_0x4196e6=_0x529ba5==null?void 0x0:_0x529ba5['loginUrlKey'])!=null?_0x4196e6:_0x4e3ceb)!=null?_0x489b4f:Ln;}};st=yr([vt(0x0,_0x30c313),vt(0x1,_0x1bc764(_0x3edb0a)),vt(0x2,_0x1bc764(_0x436289))],st);var Nr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x229689,_0x1da93a,_0x1728d7,_0x2c3c23)=>{var _0x4e330c=_0x59924f;for(var _0x4fd6dd=_0x2c3c23>0x1?void 0x0:_0x2c3c23?Dr(_0x1da93a,_0x1728d7):_0x1da93a,_0x4717e3=_0x229689[_0x4e330c(0x351)]-0x1,_0x5674ad;_0x4717e3>=0x0;_0x4717e3--)(_0x5674ad=_0x229689[_0x4717e3])&&(_0x4fd6dd=(_0x2c3c23?_0x5674ad(_0x1da93a,_0x1728d7,_0x4fd6dd):_0x5674ad(_0x4fd6dd))||_0x4fd6dd);return _0x2c3c23&&_0x4fd6dd&&Nr(_0x1da93a,_0x1728d7,_0x4fd6dd),_0x4fd6dd;},Xt=(_0x3acde6,_0x560ae7)=>(_0x213c54,_0x54c79a)=>_0x560ae7(_0x213c54,_0x54c79a,_0x3acde6);const Pi=_0x59924f(0x378),wr=_0x59924f(0x365);let bt=class extends _0xfc6e5{constructor(_0xc8c050,_0x22a020){var _0x4ba29a=_0x59924f;super(),this[_0x4ba29a(0x2bc)]=_0xc8c050,this[_0x4ba29a(0x3c1)]=_0x22a020,this['_initMergeInterceptor']();}[_0x59924f(0x1c2)](){var _0x5ef497=_0x59924f;const _0x44d9a2=this;this['disposeWithMe'](this[_0x5ef497(0x2bc)][_0x5ef497(0x29b)]({'priority':0x3e7,'interceptor':_0x450d4d({'isMatch'(_0x66ac2a){var _0x5304d9=_0x5ef497,_0x2249e1;if(_0x66ac2a['method']==='POST'&&((_0x2249e1=_0x66ac2a[_0x5304d9(0x41f)])!=null&&_0x2249e1[_0x5304d9(0x413)])){const {objectID:_0x137db3,objectType:_0x5e7606}=_0x66ac2a[_0x5304d9(0x41f)][_0x5304d9(0x413)]||{};if(!_0x137db3||_0x5e7606===void 0x0)return!0x1;const _0xb2957e=_0x44d9a2[_0x5304d9(0x17a)]()+'/'+_0x5e7606+_0x5304d9(0x27a)+_0x137db3+_0x5304d9(0x317);if(_0x66ac2a[_0x5304d9(0x34f)]===_0xb2957e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b64d6){var _0x171236=_0x5ef497,_0x285783;return(_0x285783=_0x4b64d6[_0x171236(0x41f)])==null?void 0x0:_0x285783['body'];},'mergeParamsToRequest'(_0x1bf385,_0x2186f0){var _0x3d6e0c=_0x5ef497;const _0x5556d1=_0x44d9a2[_0x3d6e0c(0x17a)]()+_0x3d6e0c(0x1fb),_0x1b1393=_0x1bf385[_0x3d6e0c(0x2d6)]((_0x1ca7fa,_0x1285cc)=>{var _0xf647b1=_0x3d6e0c;const {unitID:_0x421544,objectID:_0x5d26ad,objectType:_0x45ee98,actions:_0x4844c4}=_0x1285cc;return _0x1ca7fa[_0x421544]||(_0x1ca7fa[_0x421544]={}),_0x1ca7fa[_0x421544][_0x5d26ad]||(_0x1ca7fa[_0x421544][_0x5d26ad]={'objectID':_0x5d26ad,'objectType':_0x45ee98,'actions':[]}),_0x1ca7fa[_0x421544][_0x5d26ad][_0xf647b1(0x1d6)][_0xf647b1(0x1f7)](..._0x4844c4),_0x1ca7fa;},{}),_0x6d60b2=[];for(const _0x2d44de in _0x1b1393)for(const _0x1315e4 in _0x1b1393[_0x2d44de]){const {actions:_0x43d16e,objectType:_0x39a2ed}=_0x1b1393[_0x2d44de][_0x1315e4],_0x74d87e=[...new Set(_0x43d16e)];_0x6d60b2[_0x3d6e0c(0x1f7)]({'unitID':_0x2d44de,'objectID':_0x1315e4,'objectType':_0x39a2ed,'actions':_0x74d87e});}return new _0x29a0dd('POST',_0x5556d1,{'headers':_0x2186f0[_0x3d6e0c(0x32f)],'withCredentials':_0x2186f0['withCredentials'],'responseType':_0x2186f0[_0x3d6e0c(0x15a)],'body':{'requests':_0x6d60b2}});}},{'distributeResult'(_0x1a67b4,_0x20e56b){var _0x3c5617=_0x5ef497;const {objectActions:_0x50857e}=_0x1a67b4;return _0x20e56b[_0x3c5617(0x30a)](_0x33b545=>{var _0x542389=_0x3c5617;const {unitID:_0x3f498a,objectID:_0x3fa981,actions:_0x1868f6}=_0x33b545,_0x43dde0=_0x50857e[_0x542389(0x2a3)](_0x4b046e=>_0x4b046e[_0x542389(0x307)]===_0x3f498a&&_0x4b046e[_0x542389(0x2c4)]===_0x3fa981),_0x40907a=_0x1868f6[_0x542389(0x30a)](_0xe6e0e7=>_0x43dde0==null?void 0x0:_0x43dde0[_0x542389(0x1d6)][_0x542389(0x2a3)](_0x2ed6bc=>_0x2ed6bc[_0x542389(0x347)]===_0xe6e0e7))['filter'](_0x2121e3=>!!_0x2121e3);return{'config':_0x33b545,'result':{'actions':_0x40907a,'error':_0x1a67b4[_0x542389(0x289)]}};});}})}));}[_0x59924f(0x17a)](){var _0x311946=_0x59924f,_0x3dc26f,_0x40f145;const _0x846d0a=this[_0x311946(0x3c1)]['getConfig'](Pi),_0xe06058=this[_0x311946(0x3c1)]['getConfig'](q);return(_0x40f145=(_0x3dc26f=_0xe06058==null?void 0x0:_0xe06058[_0x311946(0x241)])!=null?_0x3dc26f:_0x846d0a)!=null?_0x40f145:wr;}async[_0x59924f(0x133)](_0x510383){var _0x10cd96=_0x59924f;const _0x62a415=this[_0x10cd96(0x17a)]()+'/'+_0x510383[_0x10cd96(0x130)]+_0x10cd96(0x2a1);return(await this[_0x10cd96(0x2bc)][_0x10cd96(0x285)](_0x62a415,{'body':_0x510383}))[_0x10cd96(0x413)]['objectID']||'';}async[_0x59924f(0x287)](_0x6e2090){var _0x1d722b=_0x59924f;const _0x4fd1e8=this['_getAPIPrefixPath']()+_0x1d722b(0x2af);return(await this[_0x1d722b(0x2bc)][_0x1d722b(0x285)](_0x4fd1e8,{'body':_0x6e2090}))[_0x1d722b(0x413)][_0x1d722b(0x31c)];}async[_0x59924f(0x1c4)](_0x1116df){var _0x534923=_0x59924f;const _0x12c742=this['_getAPIPrefixPath']()+'/'+_0x1116df[_0x534923(0x130)]+_0x534923(0x27a)+_0x1116df[_0x534923(0x2c4)];await this['_HTTPService']['put'](_0x12c742,{'body':_0x1116df});}async['allowed'](_0x5d916b){var _0x3e03d6=_0x59924f;const _0x5228e3=this['_getAPIPrefixPath']()+'/'+_0x5d916b['objectType']+_0x3e03d6(0x27a)+_0x5d916b[_0x3e03d6(0x2c4)]+'/allowed';return(await this[_0x3e03d6(0x2bc)][_0x3e03d6(0x285)](_0x5228e3,{'body':_0x5d916b}))[_0x3e03d6(0x413)][_0x3e03d6(0x1d6)];}async['batchAllowed'](_0x4098e4){var _0x5b3bc4=_0x59924f;const _0x3263a9=this['_getAPIPrefixPath']()+_0x5b3bc4(0x1fb);return(await this[_0x5b3bc4(0x2bc)]['post'](_0x3263a9,{'body':{'requests':_0x4098e4}}))['body'][_0x5b3bc4(0x3bd)];}async[_0x59924f(0x17d)](_0x18a2aa){var _0x81bb1c=_0x59924f;const _0x1341f7=this['_getAPIPrefixPath']()+'/'+_0x18a2aa['objectType']+_0x81bb1c(0x2b1),_0x53114f=await this[_0x81bb1c(0x2bc)][_0x81bb1c(0x285)](_0x1341f7,{'body':_0x18a2aa});return{'roles':_0x53114f[_0x81bb1c(0x413)][_0x81bb1c(0x37c)],'actions':_0x53114f[_0x81bb1c(0x413)]['actions']};}async[_0x59924f(0x421)](_0x3c0598){var _0x37f014=_0x59924f;const _0x5d4b24=this[_0x37f014(0x17a)]()+_0x37f014(0x136);await this[_0x37f014(0x2bc)][_0x37f014(0x255)](_0x5d4b24,{'params':{'collaboratorID':_0x3c0598[_0x37f014(0x298)],'objectID':_0x3c0598['objectID'],'unitID':_0x3c0598[_0x37f014(0x307)]}});}async[_0x59924f(0x20e)](_0x5240a6){var _0x262381=_0x59924f;const _0x2d523d=this[_0x262381(0x17a)]()+'/collaborator';await this['_HTTPService'][_0x262381(0x32e)](_0x2d523d,{'body':_0x5240a6});}async[_0x59924f(0x15c)](_0x2b7de2){var _0x391cd9=_0x59924f;const _0x4a8b3d=this[_0x391cd9(0x17a)]()+'/collaborator';await this[_0x391cd9(0x2bc)][_0x391cd9(0x285)](_0x4a8b3d,{'body':_0x2b7de2});}async[_0x59924f(0x2c1)](_0x40dd19){var _0x485757=_0x59924f;const _0x10db39=this[_0x485757(0x17a)]()+_0x485757(0x136);return(await this['_HTTPService'][_0x485757(0x13d)](_0x10db39,{'params':{'objectID':_0x40dd19['objectID'],'unitID':_0x40dd19[_0x485757(0x307)]}}))[_0x485757(0x413)]['collaborators'];}async[_0x59924f(0x173)](_0x5a7556){var _0x3148c3=_0x59924f;const _0x2a914d=this[_0x3148c3(0x17a)]()+_0x3148c3(0x136);await this[_0x3148c3(0x2bc)][_0x3148c3(0x2d9)](_0x2a914d,{'body':_0x5a7556});}};bt=Pr([Xt(0x0,_0x1bc764(_0x3edb0a)),Xt(0x1,_0x1bc764(_0x30c313))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2bf1b8){var _0x507c08=_0x59924f;return _0x2bf1b8&&_0x2bf1b8[_0x507c08(0x27f)]&&Object[_0x507c08(0x3fe)]['hasOwnProperty'][_0x507c08(0x401)](_0x2bf1b8,'default')?_0x2bf1b8[_0x507c08(0x2f5)]:_0x2bf1b8;}var Ve={'exports':{}};function Ur(_0x4b86c7){var _0x4e2671=_0x59924f;throw new Error(_0x4e2671(0x2f1)+_0x4b86c7+_0x4e2671(0x264));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x4a3583=_0x59924f;return Zt||(Zt=0x1,function(_0x30b294,_0x214512){(function(_0x4ff251,_0x3ef543){var _0xf47161=_0x2b46;_0x30b294[_0xf47161(0x33c)]=_0x3ef543();}(Ar,function(){var _0x59ce5f=_0x59ce5f||function(_0x162eb0,_0x40b4f3){var _0x4bfdff=_0x2b46,_0x11aeaf;if(typeof window<'u'&&window['crypto']&&(_0x11aeaf=window['crypto']),typeof self<'u'&&self[_0x4bfdff(0x3ca)]&&(_0x11aeaf=self[_0x4bfdff(0x3ca)]),typeof globalThis<'u'&&globalThis[_0x4bfdff(0x3ca)]&&(_0x11aeaf=globalThis['crypto']),!_0x11aeaf&&typeof window<'u'&&window[_0x4bfdff(0x2a5)]&&(_0x11aeaf=window[_0x4bfdff(0x2a5)]),!_0x11aeaf&&typeof pt<'u'&&pt[_0x4bfdff(0x3ca)]&&(_0x11aeaf=pt[_0x4bfdff(0x3ca)]),!_0x11aeaf&&typeof Ur==_0x4bfdff(0x380))try{_0x11aeaf=require(_0x4bfdff(0x3ca));}catch{}var _0x12d963=function(){var _0x4d57bd=_0x4bfdff;if(_0x11aeaf){if(typeof _0x11aeaf[_0x4d57bd(0x171)]==_0x4d57bd(0x380))try{return _0x11aeaf['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x11aeaf[_0x4d57bd(0x1da)]=='function')try{return _0x11aeaf[_0x4d57bd(0x1da)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4d57bd(0x23a));},_0x35a72e=Object['create']||(function(){function _0xab959b(){}return function(_0x1cae52){var _0x9c910d=_0x2b46,_0x2c6580;return _0xab959b[_0x9c910d(0x3fe)]=_0x1cae52,_0x2c6580=new _0xab959b(),_0xab959b[_0x9c910d(0x3fe)]=null,_0x2c6580;};}()),_0x3ce4a6={},_0x36e4ef=_0x3ce4a6['lib']={},_0x4ed0a4=_0x36e4ef[_0x4bfdff(0x181)]=(function(){return{'extend':function(_0xd1d53f){var _0x1a44f3=_0x2b46,_0x443722=_0x35a72e(this);return _0xd1d53f&&_0x443722[_0x1a44f3(0x3c0)](_0xd1d53f),(!_0x443722[_0x1a44f3(0x28e)](_0x1a44f3(0x336))||this[_0x1a44f3(0x336)]===_0x443722['init'])&&(_0x443722['init']=function(){var _0xc63b1a=_0x1a44f3;_0x443722[_0xc63b1a(0x34c)][_0xc63b1a(0x336)][_0xc63b1a(0x2dc)](this,arguments);}),_0x443722[_0x1a44f3(0x336)]['prototype']=_0x443722,_0x443722[_0x1a44f3(0x34c)]=this,_0x443722;},'create':function(){var _0xc1dc1e=_0x2b46,_0xcd7e0f=this[_0xc1dc1e(0x410)]();return _0xcd7e0f['init']['apply'](_0xcd7e0f,arguments),_0xcd7e0f;},'init':function(){},'mixIn':function(_0x2c6dd0){var _0x4d5aed=_0x2b46;for(var _0x5d9edf in _0x2c6dd0)_0x2c6dd0[_0x4d5aed(0x28e)](_0x5d9edf)&&(this[_0x5d9edf]=_0x2c6dd0[_0x5d9edf]);_0x2c6dd0[_0x4d5aed(0x28e)](_0x4d5aed(0x1b1))&&(this[_0x4d5aed(0x1b1)]=_0x2c6dd0['toString']);},'clone':function(){var _0x55af93=_0x2b46;return this[_0x55af93(0x336)][_0x55af93(0x3fe)][_0x55af93(0x410)](this);}};}()),_0x3eb564=_0x36e4ef[_0x4bfdff(0x13a)]=_0x4ed0a4[_0x4bfdff(0x410)]({'init':function(_0x57bd51,_0x544f4e){var _0x2fa5d0=_0x4bfdff;_0x57bd51=this[_0x2fa5d0(0x211)]=_0x57bd51||[],_0x544f4e!=_0x40b4f3?this[_0x2fa5d0(0x2db)]=_0x544f4e:this[_0x2fa5d0(0x2db)]=_0x57bd51[_0x2fa5d0(0x351)]*0x4;},'toString':function(_0x1e1901){return(_0x1e1901||_0x346a65)['stringify'](this);},'concat':function(_0x283c85){var _0x585ce6=_0x4bfdff,_0x3101d3=this['words'],_0x33470a=_0x283c85['words'],_0x1c8d2f=this[_0x585ce6(0x2db)],_0x2274fd=_0x283c85['sigBytes'];if(this['clamp'](),_0x1c8d2f%0x4)for(var _0x2a7feb=0x0;_0x2a7feb<_0x2274fd;_0x2a7feb++){var _0x124584=_0x33470a[_0x2a7feb>>>0x2]>>>0x18-_0x2a7feb%0x4*0x8&0xff;_0x3101d3[_0x1c8d2f+_0x2a7feb>>>0x2]|=_0x124584<<0x18-(_0x1c8d2f+_0x2a7feb)%0x4*0x8;}else{for(var _0x1b3aa3=0x0;_0x1b3aa3<_0x2274fd;_0x1b3aa3+=0x4)_0x3101d3[_0x1c8d2f+_0x1b3aa3>>>0x2]=_0x33470a[_0x1b3aa3>>>0x2];}return this[_0x585ce6(0x2db)]+=_0x2274fd,this;},'clamp':function(){var _0x4d0378=_0x4bfdff,_0x343bf1=this[_0x4d0378(0x211)],_0x436d5f=this[_0x4d0378(0x2db)];_0x343bf1[_0x436d5f>>>0x2]&=0xffffffff<<0x20-_0x436d5f%0x4*0x8,_0x343bf1[_0x4d0378(0x351)]=_0x162eb0['ceil'](_0x436d5f/0x4);},'clone':function(){var _0xb452d7=_0x4bfdff,_0xde254=_0x4ed0a4[_0xb452d7(0x36b)][_0xb452d7(0x401)](this);return _0xde254['words']=this['words'][_0xb452d7(0x2aa)](0x0),_0xde254;},'random':function(_0xc25fbf){var _0x482be4=_0x4bfdff;for(var _0x4dc002=[],_0x207802=0x0;_0x207802<_0xc25fbf;_0x207802+=0x4)_0x4dc002[_0x482be4(0x1f7)](_0x12d963());return new _0x3eb564[(_0x482be4(0x336))](_0x4dc002,_0xc25fbf);}}),_0x5af4d8=_0x3ce4a6[_0x4bfdff(0x246)]={},_0x346a65=_0x5af4d8[_0x4bfdff(0x128)]={'stringify':function(_0x3fb838){var _0x28acd2=_0x4bfdff;for(var _0x361c3=_0x3fb838['words'],_0x18c109=_0x3fb838[_0x28acd2(0x2db)],_0x217595=[],_0x4f302e=0x0;_0x4f302e<_0x18c109;_0x4f302e++){var _0x261d72=_0x361c3[_0x4f302e>>>0x2]>>>0x18-_0x4f302e%0x4*0x8&0xff;_0x217595['push']((_0x261d72>>>0x4)['toString'](0x10)),_0x217595['push']((_0x261d72&0xf)[_0x28acd2(0x1b1)](0x10));}return _0x217595[_0x28acd2(0x155)]('');},'parse':function(_0x5bf893){var _0x1e3786=_0x4bfdff;for(var _0x550f4f=_0x5bf893[_0x1e3786(0x351)],_0x5815ca=[],_0x1c7790=0x0;_0x1c7790<_0x550f4f;_0x1c7790+=0x2)_0x5815ca[_0x1c7790>>>0x3]|=parseInt(_0x5bf893[_0x1e3786(0x3c5)](_0x1c7790,0x2),0x10)<<0x18-_0x1c7790%0x8*0x4;return new _0x3eb564[(_0x1e3786(0x336))](_0x5815ca,_0x550f4f/0x2);}},_0x81b5d4=_0x5af4d8[_0x4bfdff(0x370)]={'stringify':function(_0x4ebb80){var _0x6c4a76=_0x4bfdff;for(var _0xccf0c4=_0x4ebb80[_0x6c4a76(0x211)],_0x30f4dd=_0x4ebb80[_0x6c4a76(0x2db)],_0x557299=[],_0x5367a7=0x0;_0x5367a7<_0x30f4dd;_0x5367a7++){var _0x47aeca=_0xccf0c4[_0x5367a7>>>0x2]>>>0x18-_0x5367a7%0x4*0x8&0xff;_0x557299['push'](String['fromCharCode'](_0x47aeca));}return _0x557299[_0x6c4a76(0x155)]('');},'parse':function(_0x91fe5){var _0xbc5ce6=_0x4bfdff;for(var _0xd8f2cf=_0x91fe5[_0xbc5ce6(0x351)],_0x375239=[],_0x14b0d9=0x0;_0x14b0d9<_0xd8f2cf;_0x14b0d9++)_0x375239[_0x14b0d9>>>0x2]|=(_0x91fe5['charCodeAt'](_0x14b0d9)&0xff)<<0x18-_0x14b0d9%0x4*0x8;return new _0x3eb564[(_0xbc5ce6(0x336))](_0x375239,_0xd8f2cf);}},_0x125c7a=_0x5af4d8[_0x4bfdff(0x2fb)]={'stringify':function(_0x4e1e0e){var _0x42835f=_0x4bfdff;try{return decodeURIComponent(escape(_0x81b5d4[_0x42835f(0x3ce)](_0x4e1e0e)));}catch{throw new Error(_0x42835f(0x38e));}},'parse':function(_0x3ca3e6){var _0x5607e5=_0x4bfdff;return _0x81b5d4[_0x5607e5(0x272)](unescape(encodeURIComponent(_0x3ca3e6)));}},_0xe0491c=_0x36e4ef['BufferedBlockAlgorithm']=_0x4ed0a4[_0x4bfdff(0x410)]({'reset':function(){var _0x18aadf=_0x4bfdff;this[_0x18aadf(0x2bb)]=new _0x3eb564['init'](),this[_0x18aadf(0x197)]=0x0;},'_append':function(_0x27299d){var _0x1f5993=_0x4bfdff;typeof _0x27299d=='string'&&(_0x27299d=_0x125c7a[_0x1f5993(0x272)](_0x27299d)),this[_0x1f5993(0x2bb)][_0x1f5993(0x316)](_0x27299d),this[_0x1f5993(0x197)]+=_0x27299d['sigBytes'];},'_process':function(_0x7c4f44){var _0x51776f=_0x4bfdff,_0x4d5911,_0x44ab35=this['_data'],_0x3e084c=_0x44ab35['words'],_0xc395cb=_0x44ab35[_0x51776f(0x2db)],_0x51848c=this[_0x51776f(0x278)],_0x12dbb2=_0x51848c*0x4,_0x17fad8=_0xc395cb/_0x12dbb2;_0x7c4f44?_0x17fad8=_0x162eb0[_0x51776f(0x248)](_0x17fad8):_0x17fad8=_0x162eb0[_0x51776f(0x28c)]((_0x17fad8|0x0)-this[_0x51776f(0x40c)],0x0);var _0x5514cc=_0x17fad8*_0x51848c,_0x561181=_0x162eb0['min'](_0x5514cc*0x4,_0xc395cb);if(_0x5514cc){for(var _0x276982=0x0;_0x276982<_0x5514cc;_0x276982+=_0x51848c)this[_0x51776f(0x202)](_0x3e084c,_0x276982);_0x4d5911=_0x3e084c['splice'](0x0,_0x5514cc),_0x44ab35[_0x51776f(0x2db)]-=_0x561181;}return new _0x3eb564[(_0x51776f(0x336))](_0x4d5911,_0x561181);},'clone':function(){var _0x3499d9=_0x4bfdff,_0x50e53c=_0x4ed0a4[_0x3499d9(0x36b)][_0x3499d9(0x401)](this);return _0x50e53c[_0x3499d9(0x2bb)]=this[_0x3499d9(0x2bb)][_0x3499d9(0x36b)](),_0x50e53c;},'_minBufferSize':0x0});_0x36e4ef[_0x4bfdff(0x144)]=_0xe0491c[_0x4bfdff(0x410)]({'cfg':_0x4ed0a4[_0x4bfdff(0x410)](),'init':function(_0x4ea4da){var _0x3223db=_0x4bfdff;this[_0x3223db(0x3d3)]=this[_0x3223db(0x3d3)]['extend'](_0x4ea4da),this[_0x3223db(0x1a9)]();},'reset':function(){var _0x41714e=_0x4bfdff;_0xe0491c[_0x41714e(0x1a9)][_0x41714e(0x401)](this),this[_0x41714e(0x3df)]();},'update':function(_0x1687a1){var _0x1577c5=_0x4bfdff;return this['_append'](_0x1687a1),this[_0x1577c5(0x32c)](),this;},'finalize':function(_0x3ebaed){var _0x58410c=_0x4bfdff;_0x3ebaed&&this[_0x58410c(0x18c)](_0x3ebaed);var _0x4d5d35=this[_0x58410c(0x349)]();return _0x4d5d35;},'blockSize':0x10,'_createHelper':function(_0x21d83f){return function(_0x5d28b6,_0x598838){var _0x50fe85=_0x2b46;return new _0x21d83f[(_0x50fe85(0x336))](_0x598838)['finalize'](_0x5d28b6);};},'_createHmacHelper':function(_0x517498){return function(_0x590e34,_0x1c873d){var _0x4a1bae=_0x2b46;return new _0xc000af[(_0x4a1bae(0x177))][(_0x4a1bae(0x336))](_0x517498,_0x1c873d)[_0x4a1bae(0x37f)](_0x590e34);};}});var _0xc000af=_0x3ce4a6['algo']={};return _0x3ce4a6;}(Math);return _0x59ce5f;}));}(Ge)),Ge[_0x4a3583(0x33c)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x134455=_0x59924f;return Qt||(Qt=0x1,function(_0x6ef32a,_0x55722d){(function(_0x304cb5,_0x1f4aff){var _0x4129b0=_0x2b46;_0x6ef32a[_0x4129b0(0x33c)]=_0x1f4aff(ne());}(xr,function(_0x423ea6){var _0x47d6a8=_0x2b46;return(function(){var _0x39ed75=_0x2b46,_0x4efa41=_0x423ea6,_0x2c7512=_0x4efa41[_0x39ed75(0x3ee)],_0x397ec4=_0x2c7512[_0x39ed75(0x13a)],_0x1ef7ab=_0x4efa41[_0x39ed75(0x246)];_0x1ef7ab['Base64']={'stringify':function(_0x587cc4){var _0x2a1858=_0x39ed75,_0x25e3af=_0x587cc4[_0x2a1858(0x211)],_0x4e8484=_0x587cc4[_0x2a1858(0x2db)],_0x213dbb=this[_0x2a1858(0x2cc)];_0x587cc4[_0x2a1858(0x2d5)]();for(var _0x378c76=[],_0x580eb7=0x0;_0x580eb7<_0x4e8484;_0x580eb7+=0x3)for(var _0xfdc2d2=_0x25e3af[_0x580eb7>>>0x2]>>>0x18-_0x580eb7%0x4*0x8&0xff,_0x478c7f=_0x25e3af[_0x580eb7+0x1>>>0x2]>>>0x18-(_0x580eb7+0x1)%0x4*0x8&0xff,_0x31eed4=_0x25e3af[_0x580eb7+0x2>>>0x2]>>>0x18-(_0x580eb7+0x2)%0x4*0x8&0xff,_0x22dcd9=_0xfdc2d2<<0x10|_0x478c7f<<0x8|_0x31eed4,_0x53cd53=0x0;_0x53cd53<0x4&&_0x580eb7+_0x53cd53*0.75<_0x4e8484;_0x53cd53++)_0x378c76[_0x2a1858(0x1f7)](_0x213dbb[_0x2a1858(0x187)](_0x22dcd9>>>0x6*(0x3-_0x53cd53)&0x3f));var _0x685f40=_0x213dbb[_0x2a1858(0x187)](0x40);if(_0x685f40){for(;_0x378c76['length']%0x4;)_0x378c76[_0x2a1858(0x1f7)](_0x685f40);}return _0x378c76[_0x2a1858(0x155)]('');},'parse':function(_0x1d398e){var _0x8dfa83=_0x39ed75,_0x11d53f=_0x1d398e[_0x8dfa83(0x351)],_0x44bbe2=this[_0x8dfa83(0x2cc)],_0x76106e=this[_0x8dfa83(0x24a)];if(!_0x76106e){_0x76106e=this[_0x8dfa83(0x24a)]=[];for(var _0x149325=0x0;_0x149325<_0x44bbe2['length'];_0x149325++)_0x76106e[_0x44bbe2[_0x8dfa83(0x220)](_0x149325)]=_0x149325;}var _0x5100ba=_0x44bbe2['charAt'](0x40);if(_0x5100ba){var _0x269334=_0x1d398e[_0x8dfa83(0x3cc)](_0x5100ba);_0x269334!==-0x1&&(_0x11d53f=_0x269334);}return _0x5417bc(_0x1d398e,_0x11d53f,_0x76106e);},'_map':_0x39ed75(0x344)};function _0x5417bc(_0x522911,_0x42cc47,_0x2899dd){var _0x40c621=_0x39ed75;for(var _0x3fa9cd=[],_0x75a03a=0x0,_0x5e15e2=0x0;_0x5e15e2<_0x42cc47;_0x5e15e2++)if(_0x5e15e2%0x4){var _0x1a36b7=_0x2899dd[_0x522911[_0x40c621(0x220)](_0x5e15e2-0x1)]<<_0x5e15e2%0x4*0x2,_0x17671a=_0x2899dd[_0x522911[_0x40c621(0x220)](_0x5e15e2)]>>>0x6-_0x5e15e2%0x4*0x2,_0x27cce5=_0x1a36b7|_0x17671a;_0x3fa9cd[_0x75a03a>>>0x2]|=_0x27cce5<<0x18-_0x75a03a%0x4*0x8,_0x75a03a++;}return _0x397ec4[_0x40c621(0x133)](_0x3fa9cd,_0x75a03a);}}()),_0x423ea6[_0x47d6a8(0x246)]['Base64'];}));}(We)),We[_0x134455(0x33c)];}var Ke={'exports':{}},Lr=Ke[_0x59924f(0x33c)],ei;function Mr(){return ei||(ei=0x1,function(_0x4be435,_0x3bb48a){(function(_0x490b99,_0x1961fe){var _0x18a192=_0x2b46;_0x4be435[_0x18a192(0x33c)]=_0x1961fe(ne());}(Lr,function(_0x52f508){var _0x5894e2=_0x2b46;return function(_0x17e4aa){var _0x3ae6d5=_0x2b46,_0x5d0df8=_0x52f508,_0xa18264=_0x5d0df8[_0x3ae6d5(0x3ee)],_0x153c32=_0xa18264['WordArray'],_0x228b85=_0xa18264['Hasher'],_0x3e1038=_0x5d0df8['algo'],_0x38bbc9=[];(function(){var _0x4a6366=_0x3ae6d5;for(var _0x5d92b9=0x0;_0x5d92b9<0x40;_0x5d92b9++)_0x38bbc9[_0x5d92b9]=_0x17e4aa[_0x4a6366(0x3ff)](_0x17e4aa[_0x4a6366(0x18f)](_0x5d92b9+0x1))*0x100000000|0x0;}());var _0x28c5aa=_0x3e1038['MD5']=_0x228b85['extend']({'_doReset':function(){var _0x3d05d9=_0x3ae6d5;this['_hash']=new _0x153c32[(_0x3d05d9(0x336))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4a95d0,_0x21c3e4){var _0x54afa1=_0x3ae6d5;for(var _0x1a281f=0x0;_0x1a281f<0x10;_0x1a281f++){var _0xd5ef0a=_0x21c3e4+_0x1a281f,_0x332afe=_0x4a95d0[_0xd5ef0a];_0x4a95d0[_0xd5ef0a]=(_0x332afe<<0x8|_0x332afe>>>0x18)&0xff00ff|(_0x332afe<<0x18|_0x332afe>>>0x8)&0xff00ff00;}var _0x258481=this[_0x54afa1(0x3dc)]['words'],_0x253f98=_0x4a95d0[_0x21c3e4+0x0],_0x3d6ad3=_0x4a95d0[_0x21c3e4+0x1],_0x4e93ad=_0x4a95d0[_0x21c3e4+0x2],_0x56affc=_0x4a95d0[_0x21c3e4+0x3],_0x365642=_0x4a95d0[_0x21c3e4+0x4],_0x49a442=_0x4a95d0[_0x21c3e4+0x5],_0x1683bd=_0x4a95d0[_0x21c3e4+0x6],_0x255f70=_0x4a95d0[_0x21c3e4+0x7],_0x9150c1=_0x4a95d0[_0x21c3e4+0x8],_0x1e830e=_0x4a95d0[_0x21c3e4+0x9],_0x1c7267=_0x4a95d0[_0x21c3e4+0xa],_0x19524b=_0x4a95d0[_0x21c3e4+0xb],_0x52040a=_0x4a95d0[_0x21c3e4+0xc],_0xa248de=_0x4a95d0[_0x21c3e4+0xd],_0x5725fb=_0x4a95d0[_0x21c3e4+0xe],_0x907398=_0x4a95d0[_0x21c3e4+0xf],_0x4ec78c=_0x258481[0x0],_0x1b2fa0=_0x258481[0x1],_0x53339f=_0x258481[0x2],_0x5c1b56=_0x258481[0x3];_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x253f98,0x7,_0x38bbc9[0x0]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x3d6ad3,0xc,_0x38bbc9[0x1]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x4e93ad,0x11,_0x38bbc9[0x2]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x56affc,0x16,_0x38bbc9[0x3]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x365642,0x7,_0x38bbc9[0x4]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x49a442,0xc,_0x38bbc9[0x5]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1683bd,0x11,_0x38bbc9[0x6]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x255f70,0x16,_0x38bbc9[0x7]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x9150c1,0x7,_0x38bbc9[0x8]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1e830e,0xc,_0x38bbc9[0x9]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1c7267,0x11,_0x38bbc9[0xa]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x19524b,0x16,_0x38bbc9[0xb]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x52040a,0x7,_0x38bbc9[0xc]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0xa248de,0xc,_0x38bbc9[0xd]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x5725fb,0x11,_0x38bbc9[0xe]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x907398,0x16,_0x38bbc9[0xf]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x3d6ad3,0x5,_0x38bbc9[0x10]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1683bd,0x9,_0x38bbc9[0x11]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x19524b,0xe,_0x38bbc9[0x12]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x253f98,0x14,_0x38bbc9[0x13]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x49a442,0x5,_0x38bbc9[0x14]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1c7267,0x9,_0x38bbc9[0x15]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x907398,0xe,_0x38bbc9[0x16]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x365642,0x14,_0x38bbc9[0x17]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x1e830e,0x5,_0x38bbc9[0x18]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5725fb,0x9,_0x38bbc9[0x19]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x56affc,0xe,_0x38bbc9[0x1a]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x9150c1,0x14,_0x38bbc9[0x1b]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0xa248de,0x5,_0x38bbc9[0x1c]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x4e93ad,0x9,_0x38bbc9[0x1d]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x255f70,0xe,_0x38bbc9[0x1e]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x52040a,0x14,_0x38bbc9[0x1f]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x49a442,0x4,_0x38bbc9[0x20]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x9150c1,0xb,_0x38bbc9[0x21]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x19524b,0x10,_0x38bbc9[0x22]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x5725fb,0x17,_0x38bbc9[0x23]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x3d6ad3,0x4,_0x38bbc9[0x24]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x365642,0xb,_0x38bbc9[0x25]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x255f70,0x10,_0x38bbc9[0x26]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1c7267,0x17,_0x38bbc9[0x27]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0xa248de,0x4,_0x38bbc9[0x28]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x253f98,0xb,_0x38bbc9[0x29]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x56affc,0x10,_0x38bbc9[0x2a]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1683bd,0x17,_0x38bbc9[0x2b]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x1e830e,0x4,_0x38bbc9[0x2c]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x52040a,0xb,_0x38bbc9[0x2d]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x907398,0x10,_0x38bbc9[0x2e]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x4e93ad,0x17,_0x38bbc9[0x2f]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x253f98,0x6,_0x38bbc9[0x30]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x255f70,0xa,_0x38bbc9[0x31]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x5725fb,0xf,_0x38bbc9[0x32]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x49a442,0x15,_0x38bbc9[0x33]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x52040a,0x6,_0x38bbc9[0x34]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x56affc,0xa,_0x38bbc9[0x35]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1c7267,0xf,_0x38bbc9[0x36]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x3d6ad3,0x15,_0x38bbc9[0x37]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x9150c1,0x6,_0x38bbc9[0x38]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x907398,0xa,_0x38bbc9[0x39]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1683bd,0xf,_0x38bbc9[0x3a]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0xa248de,0x15,_0x38bbc9[0x3b]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x365642,0x6,_0x38bbc9[0x3c]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x19524b,0xa,_0x38bbc9[0x3d]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x4e93ad,0xf,_0x38bbc9[0x3e]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1e830e,0x15,_0x38bbc9[0x3f]),_0x258481[0x0]=_0x258481[0x0]+_0x4ec78c|0x0,_0x258481[0x1]=_0x258481[0x1]+_0x1b2fa0|0x0,_0x258481[0x2]=_0x258481[0x2]+_0x53339f|0x0,_0x258481[0x3]=_0x258481[0x3]+_0x5c1b56|0x0;},'_doFinalize':function(){var _0x470cab=_0x3ae6d5,_0x3762b0=this[_0x470cab(0x2bb)],_0x403456=_0x3762b0[_0x470cab(0x211)],_0x32dab4=this[_0x470cab(0x197)]*0x8,_0x4bba28=_0x3762b0[_0x470cab(0x2db)]*0x8;_0x403456[_0x4bba28>>>0x5]|=0x80<<0x18-_0x4bba28%0x20;var _0x5a355a=_0x17e4aa['floor'](_0x32dab4/0x100000000),_0x15f2ac=_0x32dab4;_0x403456[(_0x4bba28+0x40>>>0x9<<0x4)+0xf]=(_0x5a355a<<0x8|_0x5a355a>>>0x18)&0xff00ff|(_0x5a355a<<0x18|_0x5a355a>>>0x8)&0xff00ff00,_0x403456[(_0x4bba28+0x40>>>0x9<<0x4)+0xe]=(_0x15f2ac<<0x8|_0x15f2ac>>>0x18)&0xff00ff|(_0x15f2ac<<0x18|_0x15f2ac>>>0x8)&0xff00ff00,_0x3762b0[_0x470cab(0x2db)]=(_0x403456[_0x470cab(0x351)]+0x1)*0x4,this[_0x470cab(0x32c)]();for(var _0xc91bc3=this[_0x470cab(0x3dc)],_0x23a67c=_0xc91bc3[_0x470cab(0x211)],_0x47da20=0x0;_0x47da20<0x4;_0x47da20++){var _0x51e307=_0x23a67c[_0x47da20];_0x23a67c[_0x47da20]=(_0x51e307<<0x8|_0x51e307>>>0x18)&0xff00ff|(_0x51e307<<0x18|_0x51e307>>>0x8)&0xff00ff00;}return _0xc91bc3;},'clone':function(){var _0x168448=_0x3ae6d5,_0x39b523=_0x228b85[_0x168448(0x36b)][_0x168448(0x401)](this);return _0x39b523[_0x168448(0x3dc)]=this[_0x168448(0x3dc)][_0x168448(0x36b)](),_0x39b523;}});function _0x426ca1(_0x3e96b3,_0x49e3f3,_0x105218,_0x376cd4,_0x4323dc,_0x40d954,_0xd9cd1){var _0x254a54=_0x3e96b3+(_0x49e3f3&_0x105218|~_0x49e3f3&_0x376cd4)+_0x4323dc+_0xd9cd1;return(_0x254a54<<_0x40d954|_0x254a54>>>0x20-_0x40d954)+_0x49e3f3;}function _0x1fea07(_0x40202d,_0x156021,_0x500e8c,_0x4eb671,_0x2a8c17,_0xd8eb42,_0x199ddd){var _0x5f79ae=_0x40202d+(_0x156021&_0x4eb671|_0x500e8c&~_0x4eb671)+_0x2a8c17+_0x199ddd;return(_0x5f79ae<<_0xd8eb42|_0x5f79ae>>>0x20-_0xd8eb42)+_0x156021;}function _0x121f99(_0xb77dc6,_0x23c669,_0x1545ba,_0xb29219,_0x434695,_0x51315d,_0x5473df){var _0x2e8cf6=_0xb77dc6+(_0x23c669^_0x1545ba^_0xb29219)+_0x434695+_0x5473df;return(_0x2e8cf6<<_0x51315d|_0x2e8cf6>>>0x20-_0x51315d)+_0x23c669;}function _0x52083e(_0x121d33,_0x271032,_0x4c6bca,_0x1dc88e,_0x2e0eb3,_0x4d2539,_0x3674ef){var _0x3f1bc9=_0x121d33+(_0x4c6bca^(_0x271032|~_0x1dc88e))+_0x2e0eb3+_0x3674ef;return(_0x3f1bc9<<_0x4d2539|_0x3f1bc9>>>0x20-_0x4d2539)+_0x271032;}_0x5d0df8[_0x3ae6d5(0x408)]=_0x228b85[_0x3ae6d5(0x218)](_0x28c5aa),_0x5d0df8['HmacMD5']=_0x228b85[_0x3ae6d5(0x19c)](_0x28c5aa);}(Math),_0x52f508[_0x5894e2(0x408)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x348dcb=_0x59924f;return ti||(ti=0x1,function(_0x462946,_0x58daa0){(function(_0x58c13f,_0x44b5c9){var _0x13c935=_0x2b46;_0x462946[_0x13c935(0x33c)]=_0x44b5c9(ne());}($r,function(_0x2c1846){return(function(){var _0x1dcb34=_0x2b46,_0x33b7e3=_0x2c1846,_0x1cb0f7=_0x33b7e3[_0x1dcb34(0x3ee)],_0x33d89e=_0x1cb0f7[_0x1dcb34(0x13a)],_0x1a94e3=_0x1cb0f7[_0x1dcb34(0x144)],_0x50ab6d=_0x33b7e3[_0x1dcb34(0x195)],_0x3989bb=[],_0x3f2190=_0x50ab6d[_0x1dcb34(0x253)]=_0x1a94e3['extend']({'_doReset':function(){var _0x5b269c=_0x1dcb34;this['_hash']=new _0x33d89e[(_0x5b269c(0x336))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2ad648,_0x66305e){var _0x4fc552=_0x1dcb34;for(var _0x1f1616=this[_0x4fc552(0x3dc)][_0x4fc552(0x211)],_0x1f65fa=_0x1f1616[0x0],_0x3c7580=_0x1f1616[0x1],_0x537c00=_0x1f1616[0x2],_0x3ab2d4=_0x1f1616[0x3],_0x27296d=_0x1f1616[0x4],_0x572753=0x0;_0x572753<0x50;_0x572753++){if(_0x572753<0x10)_0x3989bb[_0x572753]=_0x2ad648[_0x66305e+_0x572753]|0x0;else{var _0x23fd67=_0x3989bb[_0x572753-0x3]^_0x3989bb[_0x572753-0x8]^_0x3989bb[_0x572753-0xe]^_0x3989bb[_0x572753-0x10];_0x3989bb[_0x572753]=_0x23fd67<<0x1|_0x23fd67>>>0x1f;}var _0x353fa5=(_0x1f65fa<<0x5|_0x1f65fa>>>0x1b)+_0x27296d+_0x3989bb[_0x572753];_0x572753<0x14?_0x353fa5+=(_0x3c7580&_0x537c00|~_0x3c7580&_0x3ab2d4)+0x5a827999:_0x572753<0x28?_0x353fa5+=(_0x3c7580^_0x537c00^_0x3ab2d4)+0x6ed9eba1:_0x572753<0x3c?_0x353fa5+=(_0x3c7580&_0x537c00|_0x3c7580&_0x3ab2d4|_0x537c00&_0x3ab2d4)-0x70e44324:_0x353fa5+=(_0x3c7580^_0x537c00^_0x3ab2d4)-0x359d3e2a,_0x27296d=_0x3ab2d4,_0x3ab2d4=_0x537c00,_0x537c00=_0x3c7580<<0x1e|_0x3c7580>>>0x2,_0x3c7580=_0x1f65fa,_0x1f65fa=_0x353fa5;}_0x1f1616[0x0]=_0x1f1616[0x0]+_0x1f65fa|0x0,_0x1f1616[0x1]=_0x1f1616[0x1]+_0x3c7580|0x0,_0x1f1616[0x2]=_0x1f1616[0x2]+_0x537c00|0x0,_0x1f1616[0x3]=_0x1f1616[0x3]+_0x3ab2d4|0x0,_0x1f1616[0x4]=_0x1f1616[0x4]+_0x27296d|0x0;},'_doFinalize':function(){var _0x4af762=_0x1dcb34,_0x543240=this[_0x4af762(0x2bb)],_0x3a8af0=_0x543240[_0x4af762(0x211)],_0x5530f9=this[_0x4af762(0x197)]*0x8,_0x316325=_0x543240[_0x4af762(0x2db)]*0x8;return _0x3a8af0[_0x316325>>>0x5]|=0x80<<0x18-_0x316325%0x20,_0x3a8af0[(_0x316325+0x40>>>0x9<<0x4)+0xe]=Math[_0x4af762(0x291)](_0x5530f9/0x100000000),_0x3a8af0[(_0x316325+0x40>>>0x9<<0x4)+0xf]=_0x5530f9,_0x543240[_0x4af762(0x2db)]=_0x3a8af0[_0x4af762(0x351)]*0x4,this['_process'](),this[_0x4af762(0x3dc)];},'clone':function(){var _0xe4303d=_0x1dcb34,_0x2eb359=_0x1a94e3[_0xe4303d(0x36b)][_0xe4303d(0x401)](this);return _0x2eb359['_hash']=this[_0xe4303d(0x3dc)][_0xe4303d(0x36b)](),_0x2eb359;}});_0x33b7e3[_0x1dcb34(0x253)]=_0x1a94e3['_createHelper'](_0x3f2190),_0x33b7e3['HmacSHA1']=_0x1a94e3[_0x1dcb34(0x19c)](_0x3f2190);}()),_0x2c1846['SHA1'];}));}(qe)),qe[_0x348dcb(0x33c)];}var ze={'exports':{}},kr=ze[_0x59924f(0x33c)],ii;function jr(){var _0x5049fc=_0x59924f;return ii||(ii=0x1,function(_0x82e17,_0x3f6017){(function(_0x2cf475,_0x3a3f54){var _0x1afccf=_0x2b46;_0x82e17[_0x1afccf(0x33c)]=_0x3a3f54(ne());}(kr,function(_0x4aff82){(function(){var _0x4b4961=_0x2b46,_0x4290b2=_0x4aff82,_0x38078f=_0x4290b2[_0x4b4961(0x3ee)],_0x32b41e=_0x38078f[_0x4b4961(0x181)],_0x18aa85=_0x4290b2['enc'],_0x443295=_0x18aa85[_0x4b4961(0x2fb)],_0x4f696b=_0x4290b2[_0x4b4961(0x195)];_0x4f696b[_0x4b4961(0x177)]=_0x32b41e[_0x4b4961(0x410)]({'init':function(_0x3d8d79,_0x589b0f){var _0x4b9e66=_0x4b4961;_0x3d8d79=this[_0x4b9e66(0x257)]=new _0x3d8d79[(_0x4b9e66(0x336))](),typeof _0x589b0f=='string'&&(_0x589b0f=_0x443295[_0x4b9e66(0x272)](_0x589b0f));var _0x25a69d=_0x3d8d79['blockSize'],_0x34f6e6=_0x25a69d*0x4;_0x589b0f[_0x4b9e66(0x2db)]>_0x34f6e6&&(_0x589b0f=_0x3d8d79[_0x4b9e66(0x37f)](_0x589b0f)),_0x589b0f[_0x4b9e66(0x2d5)]();for(var _0x4f7661=this[_0x4b9e66(0x174)]=_0x589b0f[_0x4b9e66(0x36b)](),_0x4d7929=this[_0x4b9e66(0x40f)]=_0x589b0f[_0x4b9e66(0x36b)](),_0x354e62=_0x4f7661[_0x4b9e66(0x211)],_0x167a58=_0x4d7929[_0x4b9e66(0x211)],_0x1e805d=0x0;_0x1e805d<_0x25a69d;_0x1e805d++)_0x354e62[_0x1e805d]^=0x5c5c5c5c,_0x167a58[_0x1e805d]^=0x36363636;_0x4f7661[_0x4b9e66(0x2db)]=_0x4d7929[_0x4b9e66(0x2db)]=_0x34f6e6,this[_0x4b9e66(0x1a9)]();},'reset':function(){var _0x12450a=_0x4b4961,_0x2ad8a3=this[_0x12450a(0x257)];_0x2ad8a3[_0x12450a(0x1a9)](),_0x2ad8a3[_0x12450a(0x1c4)](this[_0x12450a(0x40f)]);},'update':function(_0x44ce4f){var _0x26d439=_0x4b4961;return this[_0x26d439(0x257)][_0x26d439(0x1c4)](_0x44ce4f),this;},'finalize':function(_0x269ffa){var _0x54c305=_0x4b4961,_0x5ccd50=this[_0x54c305(0x257)],_0x2da84c=_0x5ccd50[_0x54c305(0x37f)](_0x269ffa);_0x5ccd50[_0x54c305(0x1a9)]();var _0x3dff5c=_0x5ccd50['finalize'](this[_0x54c305(0x174)][_0x54c305(0x36b)]()[_0x54c305(0x316)](_0x2da84c));return _0x3dff5c;}});}());}));}(ze)),ze[_0x5049fc(0x33c)];}var Br=Ye[_0x59924f(0x33c)],ni;function Ui(){return ni||(ni=0x1,function(_0x869a01,_0x4dea97){(function(_0x52aa46,_0x1f2a6a,_0x50518a){var _0x3be577=_0x2b46;_0x869a01[_0x3be577(0x33c)]=_0x1f2a6a(ne(),Hr(),jr());}(Br,function(_0x1afe82){return(function(){var _0x3a76e4=_0x2b46,_0x35862d=_0x1afe82,_0x50e32d=_0x35862d['lib'],_0x38259f=_0x50e32d[_0x3a76e4(0x181)],_0x1112f6=_0x50e32d[_0x3a76e4(0x13a)],_0x4d425e=_0x35862d[_0x3a76e4(0x195)],_0x68c3ec=_0x4d425e['MD5'],_0x30195e=_0x4d425e['EvpKDF']=_0x38259f[_0x3a76e4(0x410)]({'cfg':_0x38259f['extend']({'keySize':0x80/0x20,'hasher':_0x68c3ec,'iterations':0x1}),'init':function(_0x2fa173){var _0x3314dd=_0x3a76e4;this['cfg']=this[_0x3314dd(0x3d3)][_0x3314dd(0x410)](_0x2fa173);},'compute':function(_0x2d45f3,_0xd1a005){var _0x3be5de=_0x3a76e4;for(var _0x576ef4,_0x2aa499=this['cfg'],_0x14154f=_0x2aa499[_0x3be5de(0x3b9)][_0x3be5de(0x133)](),_0x13ed93=_0x1112f6['create'](),_0x35c503=_0x13ed93[_0x3be5de(0x211)],_0x4b296d=_0x2aa499['keySize'],_0x288e36=_0x2aa499[_0x3be5de(0x12b)];_0x35c503['length']<_0x4b296d;){_0x576ef4&&_0x14154f[_0x3be5de(0x1c4)](_0x576ef4),_0x576ef4=_0x14154f[_0x3be5de(0x1c4)](_0x2d45f3)[_0x3be5de(0x37f)](_0xd1a005),_0x14154f[_0x3be5de(0x1a9)]();for(var _0x9ef2dc=0x1;_0x9ef2dc<_0x288e36;_0x9ef2dc++)_0x576ef4=_0x14154f[_0x3be5de(0x37f)](_0x576ef4),_0x14154f[_0x3be5de(0x1a9)]();_0x13ed93['concat'](_0x576ef4);}return _0x13ed93[_0x3be5de(0x2db)]=_0x4b296d*0x4,_0x13ed93;}});_0x35862d[_0x3a76e4(0x377)]=function(_0x431617,_0x180efe,_0x1896d8){var _0x4e53e5=_0x3a76e4;return _0x30195e[_0x4e53e5(0x133)](_0x1896d8)[_0x4e53e5(0x2da)](_0x431617,_0x180efe);};}()),_0x1afe82['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x59924f(0x33c)],ri;function Ai(){var _0x8cf2db=_0x59924f;return ri||(ri=0x1,function(_0x3914a1,_0x2497ee){(function(_0x21fb00,_0x1cc1c7,_0x4b77ac){var _0xb87b81=_0x2b46;_0x3914a1[_0xb87b81(0x33c)]=_0x1cc1c7(ne(),Ui());}(Fr,function(_0x3d6f4f){_0x3d6f4f['lib']['Cipher']||function(_0x178c83){var _0x1a5270=_0x2b46,_0x49d1d0=_0x3d6f4f,_0x35a1c9=_0x49d1d0[_0x1a5270(0x3ee)],_0x2ec902=_0x35a1c9[_0x1a5270(0x181)],_0x31cece=_0x35a1c9[_0x1a5270(0x13a)],_0x4965f5=_0x35a1c9[_0x1a5270(0x3a1)],_0x500d02=_0x49d1d0[_0x1a5270(0x246)];_0x500d02['Utf8'];var _0x5e8bb8=_0x500d02['Base64'],_0x345cc8=_0x49d1d0[_0x1a5270(0x195)],_0x5e6c1f=_0x345cc8[_0x1a5270(0x377)],_0x2e8b0d=_0x35a1c9[_0x1a5270(0x182)]=_0x4965f5[_0x1a5270(0x410)]({'cfg':_0x2ec902['extend'](),'createEncryptor':function(_0x2ceb2d,_0x1b9847){var _0x3b45ae=_0x1a5270;return this['create'](this[_0x3b45ae(0x1d1)],_0x2ceb2d,_0x1b9847);},'createDecryptor':function(_0x38e0ad,_0x540d84){return this['create'](this['_DEC_XFORM_MODE'],_0x38e0ad,_0x540d84);},'init':function(_0x2d2f77,_0xaf8494,_0xc8d3de){var _0x54a055=_0x1a5270;this['cfg']=this[_0x54a055(0x3d3)][_0x54a055(0x410)](_0xc8d3de),this['_xformMode']=_0x2d2f77,this[_0x54a055(0x3c4)]=_0xaf8494,this[_0x54a055(0x1a9)]();},'reset':function(){var _0x499d74=_0x1a5270;_0x4965f5[_0x499d74(0x1a9)][_0x499d74(0x401)](this),this[_0x499d74(0x3df)]();},'process':function(_0x3c7c7c){var _0x2452ed=_0x1a5270;return this[_0x2452ed(0x18c)](_0x3c7c7c),this[_0x2452ed(0x32c)]();},'finalize':function(_0x46dff4){var _0x195377=_0x1a5270;_0x46dff4&&this['_append'](_0x46dff4);var _0x481df7=this[_0x195377(0x349)]();return _0x481df7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e32fc(_0x302c01){var _0x213c0f=_0x2b46;return typeof _0x302c01==_0x213c0f(0x422)?_0x17ad42:_0x40633f;}return function(_0x2f8d67){return{'encrypt':function(_0x143352,_0x57f152,_0x73c4e4){return _0x1e32fc(_0x57f152)['encrypt'](_0x2f8d67,_0x143352,_0x57f152,_0x73c4e4);},'decrypt':function(_0x1436ce,_0x4fe202,_0x31809f){var _0x200530=_0x2b46;return _0x1e32fc(_0x4fe202)[_0x200530(0x292)](_0x2f8d67,_0x1436ce,_0x4fe202,_0x31809f);}};};}())});_0x35a1c9[_0x1a5270(0x143)]=_0x2e8b0d[_0x1a5270(0x410)]({'_doFinalize':function(){var _0x3de299=_0x1a5270,_0x5032eb=this[_0x3de299(0x32c)](!0x0);return _0x5032eb;},'blockSize':0x1});var _0x52acd9=_0x49d1d0['mode']={},_0x478f3d=_0x35a1c9[_0x1a5270(0x2b7)]=_0x2ec902[_0x1a5270(0x410)]({'createEncryptor':function(_0x1604b3,_0x5209f6){return this['Encryptor']['create'](_0x1604b3,_0x5209f6);},'createDecryptor':function(_0x13a330,_0x2e57a8){var _0x48b37e=_0x1a5270;return this[_0x48b37e(0x282)][_0x48b37e(0x133)](_0x13a330,_0x2e57a8);},'init':function(_0x4a7f86,_0x53d2c8){var _0x2062d4=_0x1a5270;this[_0x2062d4(0x11f)]=_0x4a7f86,this[_0x2062d4(0x214)]=_0x53d2c8;}}),_0x357a2c=_0x52acd9['CBC']=(function(){var _0x38c256=_0x1a5270,_0x5eff31=_0x478f3d[_0x38c256(0x410)]();_0x5eff31[_0x38c256(0x204)]=_0x5eff31['extend']({'processBlock':function(_0x4cc198,_0x40f469){var _0x4fcebb=_0x38c256,_0x5091f4=this[_0x4fcebb(0x11f)],_0x434d88=_0x5091f4['blockSize'];_0x274951['call'](this,_0x4cc198,_0x40f469,_0x434d88),_0x5091f4['encryptBlock'](_0x4cc198,_0x40f469),this[_0x4fcebb(0x254)]=_0x4cc198['slice'](_0x40f469,_0x40f469+_0x434d88);}}),_0x5eff31[_0x38c256(0x282)]=_0x5eff31[_0x38c256(0x410)]({'processBlock':function(_0xf23a59,_0x38a16c){var _0x2bbca9=_0x38c256,_0x31c676=this[_0x2bbca9(0x11f)],_0x1108d0=_0x31c676[_0x2bbca9(0x278)],_0x97137c=_0xf23a59[_0x2bbca9(0x2aa)](_0x38a16c,_0x38a16c+_0x1108d0);_0x31c676[_0x2bbca9(0x33b)](_0xf23a59,_0x38a16c),_0x274951['call'](this,_0xf23a59,_0x38a16c,_0x1108d0),this[_0x2bbca9(0x254)]=_0x97137c;}});function _0x274951(_0xaa6aab,_0x465892,_0x1ea38b){var _0x4c18b6=_0x38c256,_0x4fad57,_0x4f47b3=this['_iv'];_0x4f47b3?(_0x4fad57=_0x4f47b3,this['_iv']=_0x178c83):_0x4fad57=this[_0x4c18b6(0x254)];for(var _0x35f351=0x0;_0x35f351<_0x1ea38b;_0x35f351++)_0xaa6aab[_0x465892+_0x35f351]^=_0x4fad57[_0x35f351];}return _0x5eff31;}()),_0x34ba6b=_0x49d1d0['pad']={},_0x536576=_0x34ba6b[_0x1a5270(0x17c)]={'pad':function(_0xd40c40,_0x42a73c){var _0x2c5746=_0x1a5270;for(var _0x5aa8b1=_0x42a73c*0x4,_0x3a5270=_0x5aa8b1-_0xd40c40[_0x2c5746(0x2db)]%_0x5aa8b1,_0x640535=_0x3a5270<<0x18|_0x3a5270<<0x10|_0x3a5270<<0x8|_0x3a5270,_0x585c01=[],_0x51949d=0x0;_0x51949d<_0x3a5270;_0x51949d+=0x4)_0x585c01[_0x2c5746(0x1f7)](_0x640535);var _0x34a3de=_0x31cece[_0x2c5746(0x133)](_0x585c01,_0x3a5270);_0xd40c40['concat'](_0x34a3de);},'unpad':function(_0x1515aa){var _0x4e8298=_0x1a5270,_0x4482aa=_0x1515aa[_0x4e8298(0x211)][_0x1515aa['sigBytes']-0x1>>>0x2]&0xff;_0x1515aa[_0x4e8298(0x2db)]-=_0x4482aa;}};_0x35a1c9['BlockCipher']=_0x2e8b0d[_0x1a5270(0x410)]({'cfg':_0x2e8b0d[_0x1a5270(0x3d3)][_0x1a5270(0x410)]({'mode':_0x357a2c,'padding':_0x536576}),'reset':function(){var _0x330f6a=_0x1a5270,_0x99d5db;_0x2e8b0d[_0x330f6a(0x1a9)][_0x330f6a(0x401)](this);var _0x22e1fa=this[_0x330f6a(0x3d3)],_0x5e4fb7=_0x22e1fa['iv'],_0x1ee8f2=_0x22e1fa[_0x330f6a(0x3ef)];this[_0x330f6a(0x2ff)]==this[_0x330f6a(0x1d1)]?_0x99d5db=_0x1ee8f2[_0x330f6a(0x207)]:(_0x99d5db=_0x1ee8f2[_0x330f6a(0x2ce)],this[_0x330f6a(0x40c)]=0x1),this[_0x330f6a(0x1e8)]&&this['_mode']['__creator']==_0x99d5db?this['_mode'][_0x330f6a(0x336)](this,_0x5e4fb7&&_0x5e4fb7['words']):(this[_0x330f6a(0x1e8)]=_0x99d5db[_0x330f6a(0x401)](_0x1ee8f2,this,_0x5e4fb7&&_0x5e4fb7[_0x330f6a(0x211)]),this[_0x330f6a(0x1e8)][_0x330f6a(0x2dd)]=_0x99d5db);},'_doProcessBlock':function(_0x1b467e,_0x48a6f8){var _0x17c0a7=_0x1a5270;this[_0x17c0a7(0x1e8)][_0x17c0a7(0x163)](_0x1b467e,_0x48a6f8);},'_doFinalize':function(){var _0xbd8bcb=_0x1a5270,_0x4d08b1,_0x53641d=this['cfg']['padding'];return this[_0xbd8bcb(0x2ff)]==this[_0xbd8bcb(0x1d1)]?(_0x53641d['pad'](this[_0xbd8bcb(0x2bb)],this['blockSize']),_0x4d08b1=this['_process'](!0x0)):(_0x4d08b1=this[_0xbd8bcb(0x32c)](!0x0),_0x53641d[_0xbd8bcb(0x399)](_0x4d08b1)),_0x4d08b1;},'blockSize':0x80/0x20});var _0x157fe6=_0x35a1c9[_0x1a5270(0x415)]=_0x2ec902['extend']({'init':function(_0x2c1576){var _0x17f01b=_0x1a5270;this[_0x17f01b(0x3c0)](_0x2c1576);},'toString':function(_0x594710){var _0x4c0623=_0x1a5270;return(_0x594710||this['formatter'])[_0x4c0623(0x3ce)](this);}}),_0x4fec2f=_0x49d1d0['format']={},_0x41c789=_0x4fec2f[_0x1a5270(0x333)]={'stringify':function(_0x366263){var _0x2f6af5=_0x1a5270,_0x4646de,_0xc686c6=_0x366263[_0x2f6af5(0x19f)],_0x3c827b=_0x366263[_0x2f6af5(0x3fd)];return _0x3c827b?_0x4646de=_0x31cece[_0x2f6af5(0x133)]([0x53616c74,0x65645f5f])[_0x2f6af5(0x316)](_0x3c827b)[_0x2f6af5(0x316)](_0xc686c6):_0x4646de=_0xc686c6,_0x4646de[_0x2f6af5(0x1b1)](_0x5e8bb8);},'parse':function(_0x5b9599){var _0x3e4aa2=_0x1a5270,_0x699997,_0x260e81=_0x5e8bb8[_0x3e4aa2(0x272)](_0x5b9599),_0x43bb36=_0x260e81[_0x3e4aa2(0x211)];return _0x43bb36[0x0]==0x53616c74&&_0x43bb36[0x1]==0x65645f5f&&(_0x699997=_0x31cece['create'](_0x43bb36[_0x3e4aa2(0x2aa)](0x2,0x4)),_0x43bb36[_0x3e4aa2(0x2a6)](0x0,0x4),_0x260e81[_0x3e4aa2(0x2db)]-=0x10),_0x157fe6['create']({'ciphertext':_0x260e81,'salt':_0x699997});}},_0x40633f=_0x35a1c9['SerializableCipher']=_0x2ec902[_0x1a5270(0x410)]({'cfg':_0x2ec902['extend']({'format':_0x41c789}),'encrypt':function(_0x354cf7,_0x550dfc,_0x35d5e1,_0x2e543b){var _0x1611a4=_0x1a5270;_0x2e543b=this['cfg'][_0x1611a4(0x410)](_0x2e543b);var _0x197114=_0x354cf7[_0x1611a4(0x207)](_0x35d5e1,_0x2e543b),_0x14abf6=_0x197114[_0x1611a4(0x37f)](_0x550dfc),_0x1e6c25=_0x197114['cfg'];return _0x157fe6[_0x1611a4(0x133)]({'ciphertext':_0x14abf6,'key':_0x35d5e1,'iv':_0x1e6c25['iv'],'algorithm':_0x354cf7,'mode':_0x1e6c25[_0x1611a4(0x3ef)],'padding':_0x1e6c25['padding'],'blockSize':_0x354cf7['blockSize'],'formatter':_0x2e543b['format']});},'decrypt':function(_0x40ffb2,_0x4bf969,_0x433bac,_0x3d9dbc){var _0x547b50=_0x1a5270;_0x3d9dbc=this[_0x547b50(0x3d3)][_0x547b50(0x410)](_0x3d9dbc),_0x4bf969=this[_0x547b50(0x353)](_0x4bf969,_0x3d9dbc['format']);var _0x26d156=_0x40ffb2['createDecryptor'](_0x433bac,_0x3d9dbc)[_0x547b50(0x37f)](_0x4bf969[_0x547b50(0x19f)]);return _0x26d156;},'_parse':function(_0x219099,_0x12397c){var _0x3a783f=_0x1a5270;return typeof _0x219099==_0x3a783f(0x422)?_0x12397c['parse'](_0x219099,this):_0x219099;}}),_0x109f2a=_0x49d1d0[_0x1a5270(0x38f)]={},_0x5a8c56=_0x109f2a['OpenSSL']={'execute':function(_0x43cbff,_0x22d109,_0xf7a845,_0x5a9bb,_0x42add8){var _0x20bab3=_0x1a5270;if(_0x5a9bb||(_0x5a9bb=_0x31cece['random'](0x40/0x8)),_0x42add8)var _0xe545c4=_0x5e6c1f[_0x20bab3(0x133)]({'keySize':_0x22d109+_0xf7a845,'hasher':_0x42add8})['compute'](_0x43cbff,_0x5a9bb);else var _0xe545c4=_0x5e6c1f['create']({'keySize':_0x22d109+_0xf7a845})['compute'](_0x43cbff,_0x5a9bb);var _0x29054e=_0x31cece['create'](_0xe545c4['words']['slice'](_0x22d109),_0xf7a845*0x4);return _0xe545c4['sigBytes']=_0x22d109*0x4,_0x157fe6[_0x20bab3(0x133)]({'key':_0xe545c4,'iv':_0x29054e,'salt':_0x5a9bb});}},_0x17ad42=_0x35a1c9[_0x1a5270(0x156)]=_0x40633f[_0x1a5270(0x410)]({'cfg':_0x40633f[_0x1a5270(0x3d3)][_0x1a5270(0x410)]({'kdf':_0x5a8c56}),'encrypt':function(_0x5850ef,_0x525619,_0x14f782,_0x1d96d8){var _0x390895=_0x1a5270;_0x1d96d8=this[_0x390895(0x3d3)][_0x390895(0x410)](_0x1d96d8);var _0x2a7709=_0x1d96d8[_0x390895(0x38f)][_0x390895(0x354)](_0x14f782,_0x5850ef[_0x390895(0x31b)],_0x5850ef[_0x390895(0x417)],_0x1d96d8[_0x390895(0x3fd)],_0x1d96d8['hasher']);_0x1d96d8['iv']=_0x2a7709['iv'];var _0x36bc7d=_0x40633f[_0x390895(0x1fe)]['call'](this,_0x5850ef,_0x525619,_0x2a7709[_0x390895(0x23c)],_0x1d96d8);return _0x36bc7d[_0x390895(0x3c0)](_0x2a7709),_0x36bc7d;},'decrypt':function(_0x3e1f22,_0x24def1,_0x270954,_0xbd4a84){var _0x30e89b=_0x1a5270;_0xbd4a84=this['cfg']['extend'](_0xbd4a84),_0x24def1=this[_0x30e89b(0x353)](_0x24def1,_0xbd4a84[_0x30e89b(0x39b)]);var _0x127543=_0xbd4a84[_0x30e89b(0x38f)][_0x30e89b(0x354)](_0x270954,_0x3e1f22[_0x30e89b(0x31b)],_0x3e1f22[_0x30e89b(0x417)],_0x24def1[_0x30e89b(0x3fd)],_0xbd4a84[_0x30e89b(0x3b9)]);_0xbd4a84['iv']=_0x127543['iv'];var _0x3b96fb=_0x40633f[_0x30e89b(0x292)][_0x30e89b(0x401)](this,_0x3e1f22,_0x24def1,_0x127543[_0x30e89b(0x23c)],_0xbd4a84);return _0x3b96fb;}});}();}));}(Je)),Je[_0x8cf2db(0x33c)];}var Vr=Ve['exports'],si;function Gr(){return si||(si=0x1,function(_0x47912c,_0x817d57){(function(_0x5bffa9,_0x3e35b3,_0x46c13e){var _0x5874bd=_0x2b46;_0x47912c[_0x5874bd(0x33c)]=_0x3e35b3(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x1b96ec){var _0x1f1874=_0x2b46;return(function(){var _0x3caea7=_0x2b46,_0x341328=_0x1b96ec,_0x4ed73a=_0x341328[_0x3caea7(0x3ee)],_0x65fda8=_0x4ed73a['BlockCipher'],_0xb9032c=_0x341328[_0x3caea7(0x195)],_0x162d1a=[],_0x1a982c=[],_0x523b01=[],_0x127ba3=[],_0x115e75=[],_0x3647b8=[],_0x5771b2=[],_0x15e863=[],_0x231812=[],_0x5733dd=[];(function(){for(var _0x5404e9=[],_0x19e2c3=0x0;_0x19e2c3<0x100;_0x19e2c3++)_0x19e2c3<0x80?_0x5404e9[_0x19e2c3]=_0x19e2c3<<0x1:_0x5404e9[_0x19e2c3]=_0x19e2c3<<0x1^0x11b;for(var _0x5c2d51=0x0,_0x444351=0x0,_0x19e2c3=0x0;_0x19e2c3<0x100;_0x19e2c3++){var _0x58bb1a=_0x444351^_0x444351<<0x1^_0x444351<<0x2^_0x444351<<0x3^_0x444351<<0x4;_0x58bb1a=_0x58bb1a>>>0x8^_0x58bb1a&0xff^0x63,_0x162d1a[_0x5c2d51]=_0x58bb1a,_0x1a982c[_0x58bb1a]=_0x5c2d51;var _0x5f22e0=_0x5404e9[_0x5c2d51],_0x93118f=_0x5404e9[_0x5f22e0],_0x28fe03=_0x5404e9[_0x93118f],_0x3ee98b=_0x5404e9[_0x58bb1a]*0x101^_0x58bb1a*0x1010100;_0x523b01[_0x5c2d51]=_0x3ee98b<<0x18|_0x3ee98b>>>0x8,_0x127ba3[_0x5c2d51]=_0x3ee98b<<0x10|_0x3ee98b>>>0x10,_0x115e75[_0x5c2d51]=_0x3ee98b<<0x8|_0x3ee98b>>>0x18,_0x3647b8[_0x5c2d51]=_0x3ee98b;var _0x3ee98b=_0x28fe03*0x1010101^_0x93118f*0x10001^_0x5f22e0*0x101^_0x5c2d51*0x1010100;_0x5771b2[_0x58bb1a]=_0x3ee98b<<0x18|_0x3ee98b>>>0x8,_0x15e863[_0x58bb1a]=_0x3ee98b<<0x10|_0x3ee98b>>>0x10,_0x231812[_0x58bb1a]=_0x3ee98b<<0x8|_0x3ee98b>>>0x18,_0x5733dd[_0x58bb1a]=_0x3ee98b,_0x5c2d51?(_0x5c2d51=_0x5f22e0^_0x5404e9[_0x5404e9[_0x5404e9[_0x28fe03^_0x5f22e0]]],_0x444351^=_0x5404e9[_0x5404e9[_0x444351]]):_0x5c2d51=_0x444351=0x1;}}());var _0x3019c2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x255ccb=_0xb9032c['AES']=_0x65fda8['extend']({'_doReset':function(){var _0x501949=_0x3caea7,_0x228d36;if(!(this['_nRounds']&&this[_0x501949(0x1f2)]===this[_0x501949(0x3c4)])){for(var _0x5004b2=this[_0x501949(0x1f2)]=this[_0x501949(0x3c4)],_0x35a570=_0x5004b2[_0x501949(0x211)],_0x317796=_0x5004b2['sigBytes']/0x4,_0x5ba6e3=this['_nRounds']=_0x317796+0x6,_0x116cfa=(_0x5ba6e3+0x1)*0x4,_0x4d19c8=this[_0x501949(0x3d0)]=[],_0x12a287=0x0;_0x12a287<_0x116cfa;_0x12a287++)_0x12a287<_0x317796?_0x4d19c8[_0x12a287]=_0x35a570[_0x12a287]:(_0x228d36=_0x4d19c8[_0x12a287-0x1],_0x12a287%_0x317796?_0x317796>0x6&&_0x12a287%_0x317796==0x4&&(_0x228d36=_0x162d1a[_0x228d36>>>0x18]<<0x18|_0x162d1a[_0x228d36>>>0x10&0xff]<<0x10|_0x162d1a[_0x228d36>>>0x8&0xff]<<0x8|_0x162d1a[_0x228d36&0xff]):(_0x228d36=_0x228d36<<0x8|_0x228d36>>>0x18,_0x228d36=_0x162d1a[_0x228d36>>>0x18]<<0x18|_0x162d1a[_0x228d36>>>0x10&0xff]<<0x10|_0x162d1a[_0x228d36>>>0x8&0xff]<<0x8|_0x162d1a[_0x228d36&0xff],_0x228d36^=_0x3019c2[_0x12a287/_0x317796|0x0]<<0x18),_0x4d19c8[_0x12a287]=_0x4d19c8[_0x12a287-_0x317796]^_0x228d36);for(var _0x5196a0=this[_0x501949(0x37e)]=[],_0x2a8963=0x0;_0x2a8963<_0x116cfa;_0x2a8963++){var _0x12a287=_0x116cfa-_0x2a8963;if(_0x2a8963%0x4)var _0x228d36=_0x4d19c8[_0x12a287];else var _0x228d36=_0x4d19c8[_0x12a287-0x4];_0x2a8963<0x4||_0x12a287<=0x4?_0x5196a0[_0x2a8963]=_0x228d36:_0x5196a0[_0x2a8963]=_0x5771b2[_0x162d1a[_0x228d36>>>0x18]]^_0x15e863[_0x162d1a[_0x228d36>>>0x10&0xff]]^_0x231812[_0x162d1a[_0x228d36>>>0x8&0xff]]^_0x5733dd[_0x162d1a[_0x228d36&0xff]];}}},'encryptBlock':function(_0x3542ea,_0x4cb6a4){var _0x1e8fe9=_0x3caea7;this[_0x1e8fe9(0x275)](_0x3542ea,_0x4cb6a4,this[_0x1e8fe9(0x3d0)],_0x523b01,_0x127ba3,_0x115e75,_0x3647b8,_0x162d1a);},'decryptBlock':function(_0x29dbc3,_0x34545c){var _0x315853=_0x3caea7,_0xcfc440=_0x29dbc3[_0x34545c+0x1];_0x29dbc3[_0x34545c+0x1]=_0x29dbc3[_0x34545c+0x3],_0x29dbc3[_0x34545c+0x3]=_0xcfc440,this[_0x315853(0x275)](_0x29dbc3,_0x34545c,this[_0x315853(0x37e)],_0x5771b2,_0x15e863,_0x231812,_0x5733dd,_0x1a982c);var _0xcfc440=_0x29dbc3[_0x34545c+0x1];_0x29dbc3[_0x34545c+0x1]=_0x29dbc3[_0x34545c+0x3],_0x29dbc3[_0x34545c+0x3]=_0xcfc440;},'_doCryptBlock':function(_0x31a6b3,_0x7c4264,_0xe57ea8,_0x4832e7,_0x45e66a,_0x504c72,_0x5ca779,_0x19922b){var _0x42cc11=_0x3caea7;for(var _0x3a8de0=this[_0x42cc11(0x231)],_0x27d587=_0x31a6b3[_0x7c4264]^_0xe57ea8[0x0],_0x5469bc=_0x31a6b3[_0x7c4264+0x1]^_0xe57ea8[0x1],_0x168a06=_0x31a6b3[_0x7c4264+0x2]^_0xe57ea8[0x2],_0x5e3cf7=_0x31a6b3[_0x7c4264+0x3]^_0xe57ea8[0x3],_0x48cd57=0x4,_0x7aa4a9=0x1;_0x7aa4a9<_0x3a8de0;_0x7aa4a9++){var _0x2009c2=_0x4832e7[_0x27d587>>>0x18]^_0x45e66a[_0x5469bc>>>0x10&0xff]^_0x504c72[_0x168a06>>>0x8&0xff]^_0x5ca779[_0x5e3cf7&0xff]^_0xe57ea8[_0x48cd57++],_0x3e241d=_0x4832e7[_0x5469bc>>>0x18]^_0x45e66a[_0x168a06>>>0x10&0xff]^_0x504c72[_0x5e3cf7>>>0x8&0xff]^_0x5ca779[_0x27d587&0xff]^_0xe57ea8[_0x48cd57++],_0x5eac4a=_0x4832e7[_0x168a06>>>0x18]^_0x45e66a[_0x5e3cf7>>>0x10&0xff]^_0x504c72[_0x27d587>>>0x8&0xff]^_0x5ca779[_0x5469bc&0xff]^_0xe57ea8[_0x48cd57++],_0x469dff=_0x4832e7[_0x5e3cf7>>>0x18]^_0x45e66a[_0x27d587>>>0x10&0xff]^_0x504c72[_0x5469bc>>>0x8&0xff]^_0x5ca779[_0x168a06&0xff]^_0xe57ea8[_0x48cd57++];_0x27d587=_0x2009c2,_0x5469bc=_0x3e241d,_0x168a06=_0x5eac4a,_0x5e3cf7=_0x469dff;}var _0x2009c2=(_0x19922b[_0x27d587>>>0x18]<<0x18|_0x19922b[_0x5469bc>>>0x10&0xff]<<0x10|_0x19922b[_0x168a06>>>0x8&0xff]<<0x8|_0x19922b[_0x5e3cf7&0xff])^_0xe57ea8[_0x48cd57++],_0x3e241d=(_0x19922b[_0x5469bc>>>0x18]<<0x18|_0x19922b[_0x168a06>>>0x10&0xff]<<0x10|_0x19922b[_0x5e3cf7>>>0x8&0xff]<<0x8|_0x19922b[_0x27d587&0xff])^_0xe57ea8[_0x48cd57++],_0x5eac4a=(_0x19922b[_0x168a06>>>0x18]<<0x18|_0x19922b[_0x5e3cf7>>>0x10&0xff]<<0x10|_0x19922b[_0x27d587>>>0x8&0xff]<<0x8|_0x19922b[_0x5469bc&0xff])^_0xe57ea8[_0x48cd57++],_0x469dff=(_0x19922b[_0x5e3cf7>>>0x18]<<0x18|_0x19922b[_0x27d587>>>0x10&0xff]<<0x10|_0x19922b[_0x5469bc>>>0x8&0xff]<<0x8|_0x19922b[_0x168a06&0xff])^_0xe57ea8[_0x48cd57++];_0x31a6b3[_0x7c4264]=_0x2009c2,_0x31a6b3[_0x7c4264+0x1]=_0x3e241d,_0x31a6b3[_0x7c4264+0x2]=_0x5eac4a,_0x31a6b3[_0x7c4264+0x3]=_0x469dff;},'keySize':0x100/0x20});_0x341328[_0x3caea7(0x21c)]=_0x65fda8['_createHelper'](_0x255ccb);}()),_0x1b96ec[_0x1f1874(0x21c)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x59924f(0x33c)],ai;function zr(){return ai||(ai=0x1,function(_0x488301,_0x5f03a5){(function(_0x9d4c06,_0x33b6f0){_0x488301['exports']=_0x33b6f0(ne());}(qr,function(_0x34140f){var _0x422506=_0x2b46;return _0x34140f[_0x422506(0x246)][_0x422506(0x2fb)];}));}(Xe)),Xe['exports'];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x59924f(0x33c)],ci;function Qr(){var _0x90bf82=_0x59924f;return ci||(ci=0x1,function(_0x1ee4ad,_0x110d6e){(function(_0x133c72,_0x3e978d){var _0x3d90a0=_0x2b46;_0x1ee4ad[_0x3d90a0(0x33c)]=_0x3e978d(ne());}(Zr,function(_0x3fadc8){var _0x7f5bf2=_0x2b46;return(function(){var _0x41b6c2=_0x2b46;if(typeof ArrayBuffer==_0x41b6c2(0x380)){var _0x57056b=_0x3fadc8,_0x5da8ec=_0x57056b[_0x41b6c2(0x3ee)],_0x33479b=_0x5da8ec['WordArray'],_0x51e0ec=_0x33479b[_0x41b6c2(0x336)],_0x5f148d=_0x33479b['init']=function(_0x1a284d){var _0x31531a=_0x41b6c2;if(_0x1a284d instanceof ArrayBuffer&&(_0x1a284d=new Uint8Array(_0x1a284d)),(_0x1a284d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a284d instanceof Uint8ClampedArray||_0x1a284d instanceof Int16Array||_0x1a284d instanceof Uint16Array||_0x1a284d instanceof Int32Array||_0x1a284d instanceof Uint32Array||_0x1a284d instanceof Float32Array||_0x1a284d instanceof Float64Array)&&(_0x1a284d=new Uint8Array(_0x1a284d[_0x31531a(0x16d)],_0x1a284d['byteOffset'],_0x1a284d[_0x31531a(0x2f4)])),_0x1a284d instanceof Uint8Array){for(var _0x4f7556=_0x1a284d[_0x31531a(0x2f4)],_0x41d9b2=[],_0x10d9e8=0x0;_0x10d9e8<_0x4f7556;_0x10d9e8++)_0x41d9b2[_0x10d9e8>>>0x2]|=_0x1a284d[_0x10d9e8]<<0x18-_0x10d9e8%0x4*0x8;_0x51e0ec['call'](this,_0x41d9b2,_0x4f7556);}else _0x51e0ec[_0x31531a(0x2dc)](this,arguments);};_0x5f148d['prototype']=_0x33479b;}}()),_0x3fadc8[_0x7f5bf2(0x3ee)][_0x7f5bf2(0x13a)];}));}(Ze)),Ze[_0x90bf82(0x33c)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x59924f(0x33c)],hi;function ns(){return hi||(hi=0x1,function(_0x1feba9,_0x598ae4){(function(_0x3161c3,_0x5ed9dc,_0x54f08d){var _0x4f04fe=_0x2b46;_0x1feba9[_0x4f04fe(0x33c)]=_0x5ed9dc(ne(),Ai());}(is,function(_0x2b220a){var _0x48c0f5=_0x2b46;return _0x2b220a[_0x48c0f5(0x21b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b220a['pad'][_0x48c0f5(0x27d)];}));}(Qe)),Qe['exports'];}function _0x8331(){var _0x351114=['_getLoginPath','createDecryptor','_throwTelemetryCollaborationNewChangeset','_transformIMECache','_members$','getSheetId','set','JOIN','clamp','reduce','_univerInstanceService','_awaitingChangeset','put','compute','sigBytes','apply','__creator','_remoteChangesetQueue','_tryEnsureSocket','transformMutationsWithChangeset','snapshotServerUrl','pauseCollaboration','collaboration-client.local-cache-service','UNKNOWN_CMD','JOIN_ROOM_FULL','OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','_initDependencies','state$','range','[CollaborationState]:\x20apply\x20error!','_config','symbol','onSendChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session.join-failed','Could\x20not\x20dynamically\x20require\x20\x22','DEFAULT_FILE_NAME','_instanceService','byteLength','default','roomInfos','awaitingChangeset','\x0aAfter:\x20','SUBMIT_CHANGESET_TIMEOUT','then','Utf8','_transformService','override','toggleOnline','_xformMode','csRejEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','_state$','onStarting','getImage','target','unitID','__Key__','_init','map','synced','_createHandler','_collaborationTimeoutTimer','collaboration_new_changeset','_onMessage','_collabSessionService','onStateChange','CONFLICT','onlyLocal','/fetchmissing?from=','_clearCollaborationTimeoutTimer','concat','/allowed','_applyRemoteChangeset','href','NOT_COLLAB','keySize','objects','stopTime','generateRandomId','subUnitId','COMPRESS_MUTATION_APPLY','ONLINE','/universer-api/file/{fileID}/sign-url','Univer','addHandlerCallback','_createInitialStateImpl','resolve','runId','_socketService','session.room-full','_substituteRedoStack','_listenToNetworkCondition','_process','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','patch','headers','_substituteUndoStack','memberID','commentUpdateEvent','OpenSSL','sheets','_decreaseWaiting','init','UNDEFINED','_socket','resourceIDs','_clearUndo','decryptBlock','exports','reverse','getOwnPropertyDescriptor','getTime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','interceptor','_replaceFileID','SNAPSHOT_INVALID_SNAPSHOT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','RECV','_initCloseConn','action','PY_RUNTIME_SCRIPT_ERROR','_doFinalize','/block/','\x0aCurrent:\x20','$super','_onCombEvent','_handler','url','json','length','[PendingState]:\x20received\x20rejection.','_parse','execute','CHANGESET_REJ','_pendingMutations','offline','getAllMembers','onRemoteChangeset','24159auwMBX','collaMsg','eventID','_eventService','[UniverCollaborationClientPlugin]','createSocket','getFocusedUnit','startsWith','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/universer-api/comb','_memberService','/universer-api/authz','APPLY_REJECT','_sendingTimer','_createSocket','_getSendChangesetTimeout','fetchMiss','clone','unit-cache-','YUUMI_RATE_OVER_LIMIT','routeKey','LIVESHARE_FETCH_OPERATIONS','Latin1','UNIVER_UNKNOWN','USERS_LEAVE','COMPLETION_FINISHED','_onConflict','_onLocalMutation','?size=','EvpKDF','AUTHZ_URL_KEY','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_SLIDE','_schedule','roles','updateMember','_invKeySchedule','finalize','function','enableAuthServer','change$','\x20to\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','defineProperty','UNRECOGNIZED','subscribe','_collaborationPaused','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentUser','name','type','csAckEvent','Malformed\x20UTF-8\x20data','kdf','submit\x20changeset\x20error!','randomUUID','clear','add','_onRecvEvent','_commandService','appendMutation','SUCCUSS','editingUnit','unpad','_socket$','format','OFFLINE','MUTATION','FETCH_MISSING','APPLY_NON_SEQUENTIAL_REVISION','UnitEmbedded','BufferedBlockAlgorithm','equals','_stopTelemetryCollaborationNewChangeset','getLatestCsReqIdBySid','members','LICENSE_DISTRO_REJECTED','SNAPSHOT_URL_KEY','UNKNOWN_CODE','FAIL','9666AAMxga','ERROR_IMAGE_TYPE','_clearRedo','_handlerCallback','collabWebSocketUrl','onRemoteAck','_shouldReportTelemetry','transformUndoRedo','auth.needGotoLoginAlert','_networkConditionService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','removeMember','rev','asObservable','_toggleOffline','hasher','SOCKET_FAILED_RETRY','_members','COMMENT_UPDATE','objectActions','forEach','JOIN_ROOM_FAILED','mixIn','_configService','COLLAB_SUBMIT_CHANGESET_URL','_injector','_key','substr','APPLY_PERMISSION_DENIED','_onRemoteACK','connection\x20error','_changesetSessionId','crypto','status','indexOf','complete','stringify','getUnitType','_keySchedule','/universer-api/user/session-ticket','unitId','cfg','getCurrentRevOfUnit','_userManagerService','_roomCreated$','JOIN_ROOM_PERMISSION_DENIED','fetch_missing','onCommandExecuted','JOIN_ROOM_NOT_EXISTS','joinEvent','_hash','_getUploadFileURL','PENDING','_doReset','send','incrementRevOfUnit','/unit/','params','_clearHeartbeatTimer','entityInit$','_replayCachedMutations','changesets','getUnitOnRev','code','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformStack','CONNECTOR_DATA_TOO_LARGE','getTypeOfUnitAdded$','lib','mode','AWAITING_WITH_PENDING','conflict','searchParams','_sendHeartbeat','_onRemoteChangeset','_toggleOnline','onTransformState','POST','_executeRemoteChangeset','m2Prime','UNIVER_DOC','_isPermissionRej','_transformRemoteChangesetByStateCache','salt','prototype','abs','4gzYQTV','call','status$','_clearTimeoutTimer','_waitForHeartbeatResponse','763leMuwr','sessionStatus$','permissionRejEvent','MD5','HEARTBEAT_INTERVAL','_onFetchMissResult','IDLE','_minBufferSize','revision','913yNgVLp','_iKey','extend','ENSURE_SNAPSHOT_EXECUTION','univer-pro.collaboration-client-socket-service','body','save\x20fail\x20reason\x20is\x20','CipherParams','LOCAL_CACHE_INTERVAL','ivSize','GLOBAL_ROOMS_CNT_EXCEEDS','_timeoutTimer','HEARTBEAT','_retryConnectingTimer','toggleOffline','_exhaustRemoteChangesetQueue','enableSingleActiveInstanceLock','requestParams','/universer-api/snapshot/','deleteCollaborator','string','members$','_entityInit$','message$','image/bmp','updatePermissionPoint','_registerDependencies','selections','_initRequestHeader','_logService','_unitID','_cipher','/rev/','commentUpdate$','/new_changes','onSyncEditingCollabCursor','updateOfflineData','originalMeta','getImageSourceCache','onRemoteRetry','Hex','onload','_getSessionTicket','iterations','close$','_type','unitId\x20is\x20not\x20found','signUrlServerUrl','objectType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','90uUlfEz','create','UNISCRIPT_RUN','[OfflineState]:\x20received\x20changeset.','/collaborator','getDeserializedSheetBlock','transformChangesets','bind','WordArray','UPDATE_PERMISSION_OBJ','executeCommand','get','HttpExport','addImageSourceCache','_snapshotService','avatar','updatePermissionObjEvent','StreamCipher','Hasher','NO_OTHER_CLIENTS_EDITING','_collaborationUIEventService','toLowerCase','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','enableOfflineEditing','_lockTransition','1492256ZkugZu','UNIVER_SHEET','_updateStatus','online$','_localeService','repeat','createInstance','_getUndoStack','getValue','awaiting_with_pending','join','PasswordBasedCipher','_disableEditing','_rescheduleHeartbeat','{fileID}','responseType','disableLocalCache','createCollaborator','_onRemoteRejected','liveShareOperation','_tryReconnect','LICENSE_IMPORT_SIZE_EXCEEDED','60132dMnJvt','c1Prime','processBlock','socket\x20close','LICENSE_EXPORT_SIZE_EXCEEDED','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]','UNIVER_COLLABORATION_CLIENT_PLUGIN','_clearScheduledTask','_createSocketURL','PERMISSION_DENIED','buffer','_transformRemoteChangesetByIMECache','_acknowledgedAwaitingChangeset','image/jpg','getRandomValues','SUBMIT_CHANGESET','putCollaborators','_oKey','_sender','Error\x20on\x20receiving\x20event','HMAC','_transitionLocked','_revisionService','_getAPIPrefixPath','_onUserJoin','Pkcs7','listRoles','_onConnectionFailed','_sessionStatus$','getConfig','Base','Cipher','_onRemoteRetry','_unlockTransition','_redoStacks','_scheduleCompleteTimestamp','charAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_imageSourceCache','_initUnitPermissionChange','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_append','state','deepClone','sin','_sendHeartbeatTimer','startTime','loadDoc','HELLO','onMissingChangesets','algo','COMPRESS_MUTATION_SEND','_nDataBytes','[CollaborationEntity]','onTransformRemoteChangesetByIMECache','loadUnit','image/jpeg','_createHmacHelper','/universer-api/snapshot','getMember','ciphertext','_loadDoc','reconnect','getWorkbookSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_queuedRemoteChangesets','_getRedoStack','snapshot','1493705BFkgzW','_changesetReqId','reset','sessionStatus','_startCollaboration','_localCacheService','_getDownloadEndpointURL','event$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getInterceptPoints','toString','_snapshotServerService','sid','every','_waitCount','/universer-api/oidc/authpage','transformStack\x20failed!','_emitMembers','resend','size','_syncEditingCollabCursor','close','CHANGESET_ACK','localeService','open$','liveShareNewHost','_submitChangeset','_initMergeInterceptor','file','update','_http','findIndex','2360QJYIjx','INTERNAL_ERROR','UnitSnapshot','USERS_ENTER','[CollaborationUndoRedoService]','_roomMembers','onTransformIME','_undoRedoService','getResourcesRequest','awaiting','_ENC_XFORM_MODE','fetchMissingChangesets','setCurrentUser','debug','leaveEvent','actions','FETCH_MISS','_getCtorByUniverType','[PendingState]:\x20received\x20acknowledgement.','randomBytes','fromCollab','reject','CHANGESET_REVISION_CONFILICT','closeSession','values','saveSheetBlock','getRoom','sessionTicket','_candidateSocket','baseRev','_permissionService','saveChangeset','PSEUDO_FETCH_MISSING_RESULT','_mode','SOCKET_FAILED','HttpImport','_retryCount','title','collaboration-client.config','unsubscribe','getCollabEntity','onTransformSelections','_telemetryInfo','_keyPriorReset','_onOffline','_joinRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ticket','push','session','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','emitEvent','/-/object/-/batch_allowed','onMissedChangesetFetched','getSheetBlock','encrypt','_status$','loadOfflineData','getUnitId','_doProcessBlock','LEAVE','Encryptor','requireSession','_transformUndoredo','createEncryptor','hostname','_updateState','collabSubmitChangesetUrl','COLLAB_WEB_SOCKET_URL','_compressMutationService','filter','updateCollaborator','TOO_MANY_REQUESTS','search','words','[CollaborationSession]','[OfflineState]:\x20received\x20rejection.','_iv','fromCharCode','transformSelections','dispose$','_createHelper','_updateLocalCache','_createInitialState','pad','AES','9149460DgxGfI','duration','copyFileMeta','charCodeAt','SHOULD_CLOSE_CONN','ALREADY_EXISTS','APPLY_REVISION_CONFILICT','SYNCED','waitForRoom$','socket\x20open.','&assign=','NEW_CHANGESETS','editing\x20status\x20changed\x20to','isArray','telemetry\x20info\x20is\x20not\x20initialized','_unitInfo$','updateCursorEvent','_socketMessageSubscription','_resendTimer','SNAPSHOT_HAS_BEEN_REMOVED','_nRounds','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_scheduleCollaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','reqId','getCollabEntity$','disposeWithMe','initWorkbookPermissionChange','setWaitCount','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','9VyJsbz','key','/universer-api/stream/file/upload','PERMISSION_REJ','result','_event$','authzUrl','_state','LIVESHARE_REQUEST_HOST','_change$','downloadEndpointUrl','enc','CHANGESET_SHOULD_RETRY','ceil','_startTelemetryCollaborationNewChangeset','_reverseMap','not_collab','infoRsp','_resendWithTimeout','isPermissionRej','failed\x20to\x20apply\x20missed\x20changesets!','_showConflictNotification','onCommentUpdate','_httpService','SHA1','_prevBlock','delete','onRemoteRej','_hasher','encodeURIComponent','_telemetryService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','pipe','LOGIN_URL_KEY','?url=','newCsEvent','session.room-not-exists','sendChangesetTimeout','_commentService','FileId','unitInfo$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','error$','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','next','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_SUBSCRIPTION_NOT_FOUND','shouldCloseConn','onLocalMutation','OTHER_CLIENT_EDITING','focused$','MSG_FOR_ERROR','_loadSheet','getActiveSheet','parse','subject','getSnapshotAPIPath','_doCryptBlock','_entities','SEND_CHANGESET_TIMEOUT','blockSize','random','/object/','data','setShowComponents','NoPadding','_resendTimeout','__esModule','unknown','ERROR_IMAGE','Decryptor','[DataLoaderService]','UNAUTHENTICATED','post','INGEST','list','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error','_fetchMissChangesets','&to=','max','_onConnectionOpen','hasOwnProperty','_collaborationSessionService','now','floor','decrypt','APPLY_DUPLICATED','_sheetTransformSelectionsService','_commentUpdate$','joinRsp','csShouldRetryEvent','collaboratorID','_onJoinRoomEvent','_getCurrentRevision','registerHTTPInterceptor','mutations','textRanges','localCacheService','HEARTBEAT_TIMEOUT','_clearLocalCache','/object','SNAPSHOT_SERVER_URL_KEY','find','_sessions','msCrypto','splice','location','_socketReady','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','slice','uploadFileServerUrl','NOT_FOUND','Undefined','fetchThroughInterceptors','/-/object/list','BASE64','/role','socketService','_getSignURL','AWAITING','readyForCollab','cmd','BlockCipherMode','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_OPERATION','origin','_data','_HTTPService','has','_singleActiveUnitService','image/gif','catch','listCollaborators','capture','univer-pro.collaboration-client.single-active-unit-service','objectID','encode','dispose','_checkMissing','_onUserLeave','/universer-api/uniscript','getTypeOfUnitDisposed$','_getAPIPrefix','_map'];_0x8331=function(){return _0x351114;};return _0x8331();}var rs=ns();const ss=ke(rs);function os(_0x4420e3,_0x6226f7){var _0x15269c=_0x59924f;const _0x31b961=_0x6226f7-_0x4420e3[_0x15269c(0x351)]%_0x6226f7,_0x33ffca=String[_0x15269c(0x215)](_0x31b961)[_0x15269c(0x150)](_0x31b961);return _0x4420e3+_0x33ffca;}function as(_0xd2ff70,_0x484eec){var _0xfda0e3=_0x59924f;const _0x48c58c=ts[_0xfda0e3(0x279)](0x10),_0xe3c07a=os(_0xd2ff70,0x10),_0x1f28ac=Kr['encrypt'](Xr['parse'](_0xe3c07a),oi[_0xfda0e3(0x272)](_0x484eec),{'iv':_0x48c58c,'padding':ss});return _0x48c58c[_0xfda0e3(0x316)](_0x1f28ac[_0xfda0e3(0x19f)])['toString'](oi);}function cs(){var _0x220d5d=_0x59924f;const _0x31b020=_0x512f0c()[_0x220d5d(0x308)];if(_0x31b020){const _0x42c8e7={'time':Math['floor'](Date[_0x220d5d(0x290)]()/0x3e8),'domain':location[_0x220d5d(0x208)]};return as(JSON['stringify'](_0x42c8e7),_0x31b020);}}var hs=Object['defineProperty'],_s=Object[_0x59924f(0x33e)],ls=(_0x3594e1,_0x35093b,_0x240636,_0x16c258)=>{var _0x4ee837=_0x59924f;for(var _0x201242=_0x16c258>0x1?void 0x0:_0x16c258?_s(_0x35093b,_0x240636):_0x35093b,_0x55febe=_0x3594e1[_0x4ee837(0x351)]-0x1,_0x2e8221;_0x55febe>=0x0;_0x55febe--)(_0x2e8221=_0x3594e1[_0x55febe])&&(_0x201242=(_0x16c258?_0x2e8221(_0x35093b,_0x240636,_0x201242):_0x2e8221(_0x201242))||_0x201242);return _0x16c258&&_0x201242&&hs(_0x35093b,_0x240636,_0x201242),_0x201242;},us=(_0x331cd8,_0x3d7ef0)=>(_0x366b9e,_0x5d8e54)=>_0x3d7ef0(_0x366b9e,_0x5d8e54,_0x331cd8);let ot=class{constructor(_0x1250ab){var _0x246144=_0x59924f;this[_0x246144(0x252)]=_0x1250ab,this['_initRequestHeader']();}[_0x59924f(0x11c)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1ddb10,_0x28cf6b)=>{var _0x32f015=_0x2b46;const _0x5f08e0=_0x1ddb10[_0x32f015(0x32f)],_0xc8c406=cs();return _0xc8c406&&_0x5f08e0[_0x32f015(0x2d3)]('x-univer-host',_0xc8c406),_0x28cf6b(_0x1ddb10);}});}};ot=ls([us(0x0,_0x1bc764(_0x3edb0a))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x223103,_0x3a7a33,_0x1abe69,_0x5c23d9)=>{var _0x56fb5b=_0x59924f;for(var _0x4c1cd3=_0x5c23d9>0x1?void 0x0:_0x5c23d9?fs(_0x3a7a33,_0x1abe69):_0x3a7a33,_0x25d7a1=_0x223103[_0x56fb5b(0x351)]-0x1,_0x236538;_0x25d7a1>=0x0;_0x25d7a1--)(_0x236538=_0x223103[_0x25d7a1])&&(_0x4c1cd3=(_0x5c23d9?_0x236538(_0x3a7a33,_0x1abe69,_0x4c1cd3):_0x236538(_0x4c1cd3))||_0x4c1cd3);return _0x5c23d9&&_0x4c1cd3&&ds(_0x3a7a33,_0x1abe69,_0x4c1cd3),_0x4c1cd3;},mt=(_0x3c14b0,_0x7d6167)=>(_0x17fbee,_0x43e763)=>_0x7d6167(_0x17fbee,_0x43e763,_0x3c14b0);let Ot=class extends _0x2d45c2{constructor(_0x32d2f6,_0x1a66ce,_0x364f76){var _0x445513=_0x59924f;super(),N(this,_0x445513(0x22c),new _0x1684f8(null)),N(this,_0x445513(0x263),this[_0x445513(0x22c)][_0x445513(0x3b7)]()),(this[_0x445513(0x11d)]=_0x32d2f6,this[_0x445513(0x140)]=_0x1a66ce,this[_0x445513(0x1ac)]=_0x364f76);}async[_0x59924f(0x19a)](_0xd1fd10,_0x55da99,_0x432e22){var _0xc2bcd6=_0x59924f;this['_unitInfo$']['next']({'unitId':_0xd1fd10,'type':_0x55da99,'subUnitId':_0x432e22});let _0x5284d9=null;switch(_0x55da99){case Q[_0xc2bcd6(0x14c)]:{_0x5284d9=await this[_0xc2bcd6(0x270)](_0xd1fd10);break;}case Q[_0xc2bcd6(0x3fa)]:{_0x5284d9=await this[_0xc2bcd6(0x1a0)](_0xd1fd10);break;}default:{this['_logService'][_0xc2bcd6(0x289)](_0xc2bcd6(0x283),_0xc2bcd6(0x131));break;}}return _0x5284d9;}async[_0x59924f(0x270)](_0x246faf){var _0x1045ac=_0x59924f,_0x2517d3;let _0x454eb9=0x0;const _0x214b0c=await((_0x2517d3=this[_0x1045ac(0x1ac)])==null?void 0x0:_0x2517d3[_0x1045ac(0x200)](_0x246faf));return _0x214b0c&&(_0x214b0c['awaitingChangeset']||_0x214b0c[_0x1045ac(0x29c)][_0x1045ac(0x351)]!==0x0)&&(_0x454eb9=_0x214b0c['rev']),_0x454eb9===0x0&&this[_0x1045ac(0x11d)]['debug'](_0x1045ac(0x283),_0x1045ac(0x1f9)),this[_0x1045ac(0x140)]['loadSheet'](_0x246faf,_0x454eb9);}async[_0x59924f(0x1a0)](_0x12888a){var _0x4f9112=_0x59924f,_0x441c68;let _0x3f7571=0x0;const _0x4fe20a=await((_0x441c68=this[_0x4f9112(0x1ac)])==null?void 0x0:_0x441c68[_0x4f9112(0x200)](_0x12888a));return _0x4fe20a&&(_0x4fe20a['awaitingChangeset']||_0x4fe20a[_0x4f9112(0x29c)][_0x4f9112(0x351)]!==0x0)&&(_0x3f7571=_0x4fe20a[_0x4f9112(0x3b6)]),_0x3f7571===0x0&&this[_0x4f9112(0x11d)][_0x4f9112(0x1d4)](_0x4f9112(0x283),_0x4f9112(0x1f9)),this['_snapshotService'][_0x4f9112(0x192)](_0x12888a,_0x3f7571);}};Ot=vs([mt(0x0,_0x54d1e0),mt(0x1,_0x1bc764(_0x566934)),mt(0x2,_0x4e682c(J))],Ot);var ps=Object[_0x59924f(0x385)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x1e6efa,_0x1821c2,_0x42193a,_0x3ad9c2)=>{var _0x192ad0=_0x59924f;for(var _0x390ea0=_0x3ad9c2>0x1?void 0x0:_0x3ad9c2?ms(_0x1821c2,_0x42193a):_0x1821c2,_0x7ba1e5=_0x1e6efa[_0x192ad0(0x351)]-0x1,_0x3c1ebf;_0x7ba1e5>=0x0;_0x7ba1e5--)(_0x3c1ebf=_0x1e6efa[_0x7ba1e5])&&(_0x390ea0=(_0x3ad9c2?_0x3c1ebf(_0x1821c2,_0x42193a,_0x390ea0):_0x3c1ebf(_0x390ea0))||_0x390ea0);return _0x3ad9c2&&_0x390ea0&&ps(_0x1821c2,_0x42193a,_0x390ea0),_0x390ea0;},gt=(_0x5440ed,_0x57a5e7)=>(_0x2c36b0,_0x1a5142)=>_0x57a5e7(_0x2c36b0,_0x1a5142,_0x5440ed);const Ss=['image/png',_0x59924f(0x19b),_0x59924f(0x170),_0x59924f(0x2bf),_0x59924f(0x118)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x59924f(0x23d),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x59924f(0x322);let yt=class{constructor(_0x3be99e,_0x56de73,_0xb7719){var _0x40b5ad=_0x59924f;N(this,_0x40b5ad(0x1b5),0x0),N(this,_0x40b5ad(0x244),new _0x524606()),N(this,_0x40b5ad(0x382),this[_0x40b5ad(0x244)]),N(this,_0x40b5ad(0x189),new Map()),(this[_0x40b5ad(0x252)]=_0x3be99e,this[_0x40b5ad(0x3c1)]=_0x56de73,this[_0x40b5ad(0x2d7)]=_0xb7719);}[_0x59924f(0x239)](_0x25550a){var _0x16d314=_0x59924f;this[_0x16d314(0x1b5)]=_0x25550a,this['_change$'][_0x16d314(0x268)](_0x25550a);}[_0x59924f(0x126)](_0x5ad12a,_0x8807a){var _0x5b5660=_0x59924f;if(_0x8807a===_0x543e52[_0x5b5660(0x2b0)]){const _0xfce53f=new Image();return _0xfce53f['src']=_0x5ad12a,_0xfce53f;}return this['_imageSourceCache'][_0x5b5660(0x13d)](_0x5ad12a);}[_0x59924f(0x13f)](_0x22b8ae,_0x2d6bb4,_0x44349e){var _0x3334d9=_0x59924f;_0x2d6bb4===_0x543e52[_0x3334d9(0x2b0)]||_0x44349e==null||this[_0x3334d9(0x189)][_0x3334d9(0x2d3)](_0x22b8ae,_0x44349e);}async[_0x59924f(0x305)](_0x78c220){var _0x4030ac=_0x59924f;try{const _0x2c042b=this[_0x4030ac(0x342)](this['_getSignURL'](),''+_0x78c220),_0x143f45=(await this['_httpService'][_0x4030ac(0x13d)](_0x2c042b))[_0x4030ac(0x413)];if(_0x143f45[_0x4030ac(0x289)]&&_0x143f45[_0x4030ac(0x289)]['code']===Ii['OK']){const _0x33be8b=new URL(_0x143f45[_0x4030ac(0x34f)],this[_0x4030ac(0x1ad)]())[_0x4030ac(0x1b1)]();return Promise[_0x4030ac(0x326)](_0x33be8b);}return Promise[_0x4030ac(0x1dc)](_0x143f45['error']);}catch(_0x88191){return Promise[_0x4030ac(0x1dc)](_0x88191);}}async['saveImage'](_0xac841a){var _0x10e518=_0x59924f;let _0x413d9d='';if(!Ss['includes'](_0xac841a[_0x10e518(0x38c)]))return this[_0x10e518(0x335)](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa[_0x10e518(0x3ab)]));if(_0xac841a[_0x10e518(0x1ba)]>Es)return this['_decreaseWaiting'](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa['ERROR_EXCEED_SIZE']));try{const _0xc2b279=new FormData();_0xc2b279['append'](_0x10e518(0x1c3),_0xac841a);const _0x4cbf44=this['_univerInstanceService'][_0x10e518(0x360)](),_0x2a6bd1=_0x4cbf44==null?void 0x0:_0x4cbf44[_0x10e518(0x201)]();if(!_0x2a6bd1)throw new Error(_0x10e518(0x12e));const _0x5b74ce=this[_0x10e518(0x3dd)]()+_0x10e518(0x376)+_0xac841a['size'][_0x10e518(0x1b1)]()+'&source='+Ti['UnitEmbedded']+_0x10e518(0x227)+encodeURIComponent(_0x2a6bd1),_0x365b3d=await(await fetch(_0x5b74ce,{'method':_0x10e518(0x3f7),'body':_0xc2b279}))[_0x10e518(0x350)]();if(typeof _0x365b3d[_0x10e518(0x262)]!=_0x10e518(0x422))return this[_0x10e518(0x335)](),Promise['reject'](new Error(_0x2c1caa[_0x10e518(0x281)]));_0x413d9d=_0x365b3d[_0x10e518(0x262)];}catch{return this[_0x10e518(0x335)](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa[_0x10e518(0x281)]));}return new Promise((_0x5d06f5,_0xfa4b2f)=>{var _0x407148=_0x10e518;const _0xcf9003=new FileReader();_0xcf9003['readAsDataURL'](_0xac841a),_0xcf9003[_0x407148(0x129)]=_0x4058c0=>{var _0xe889bd=_0x407148,_0x1fc5d2;const _0x5d250a=(_0x1fc5d2=_0x4058c0[_0xe889bd(0x306)])==null?void 0x0:_0x1fc5d2['result'];if(_0x5d250a==null){this[_0xe889bd(0x335)](),_0xfa4b2f(new Error(_0x2c1caa[_0xe889bd(0x281)]));return;}const _0x5c133a=_0x541b83[_0xe889bd(0x31e)](0x6);_0x5d06f5({'imageId':_0x5c133a,'imageSourceType':_0x543e52['UUID'],'source':_0x413d9d,'base64Cache':_0x5d250a,'status':_0x2c1caa[_0xe889bd(0x397)]}),this[_0xe889bd(0x335)]();};});}[_0x59924f(0x3dd)](){var _0x1fbad2=_0x59924f,_0x2efbb3,_0xc603fe;const _0xe81255=this[_0x1fbad2(0x3c1)][_0x1fbad2(0x180)](Is),_0x2f7996=this[_0x1fbad2(0x3c1)][_0x1fbad2(0x180)](q);return(_0xc603fe=(_0x2efbb3=_0x2f7996==null?void 0x0:_0x2f7996[_0x1fbad2(0x2ab)])!=null?_0x2efbb3:_0xe81255)!=null?_0xc603fe:Ts;}[_0x59924f(0x2b3)](){var _0x42eddb=_0x59924f,_0x145639,_0x5f0dde;const _0x233b1f=this[_0x42eddb(0x3c1)][_0x42eddb(0x180)](Cs),_0x4d408e=this[_0x42eddb(0x3c1)][_0x42eddb(0x180)](q);return(_0x5f0dde=(_0x145639=_0x4d408e==null?void 0x0:_0x4d408e[_0x42eddb(0x12f)])!=null?_0x145639:_0x233b1f)!=null?_0x5f0dde:Rs;}[_0x59924f(0x1ad)](){var _0x549fe2=_0x59924f,_0x517abf;const _0x51efd6=this[_0x549fe2(0x3c1)][_0x549fe2(0x180)](q);return(_0x517abf=_0x51efd6==null?void 0x0:_0x51efd6[_0x549fe2(0x245)])!=null?_0x517abf:location[_0x549fe2(0x2ba)];}[_0x59924f(0x342)](_0x18f0f5,_0x1fec69){var _0x24a2f4=_0x59924f;return _0x18f0f5['replace'](_0x24a2f4(0x159),_0x1fec69);}['_decreaseWaiting'](){var _0x121d1c=_0x59924f;this['_waitCount']-=0x1,this[_0x121d1c(0x244)][_0x121d1c(0x268)](this['_waitCount']);}};yt=gs([gt(0x0,_0x1bc764(_0x3edb0a)),gt(0x1,_0x30c313),gt(0x2,_0x1bc764(_0x4844be))],yt);var bs=Object[_0x59924f(0x385)],Os=Object[_0x59924f(0x33e)],ys=(_0x17b820,_0x41fe88,_0x2f4f43,_0x49c174)=>{var _0x2d8cda=_0x59924f;for(var _0x24e355=_0x49c174>0x1?void 0x0:_0x49c174?Os(_0x41fe88,_0x2f4f43):_0x41fe88,_0x3f21e3=_0x17b820[_0x2d8cda(0x351)]-0x1,_0x139523;_0x3f21e3>=0x0;_0x3f21e3--)(_0x139523=_0x17b820[_0x3f21e3])&&(_0x24e355=(_0x49c174?_0x139523(_0x41fe88,_0x2f4f43,_0x24e355):_0x139523(_0x24e355))||_0x24e355);return _0x49c174&&_0x24e355&&bs(_0x41fe88,_0x2f4f43,_0x24e355),_0x24e355;},_i=(_0x4ba9da,_0x3f7b02)=>(_0x16826c,_0xcee4bb)=>_0x3f7b02(_0x16826c,_0xcee4bb,_0x4ba9da);const Ns='/universer-api/authz';let Nt=class{constructor(_0x3fb55c,_0x3fca2d){var _0x179cbf=_0x59924f;this['_configService']=_0x3fb55c,this[_0x179cbf(0x2bc)]=_0x3fca2d;}[_0x59924f(0x17a)](){var _0x1c4ded=_0x59924f,_0x4b7bf2,_0x24d094;const _0x19c128=this[_0x1c4ded(0x3c1)][_0x1c4ded(0x180)](Pi),_0xfbca6d=this[_0x1c4ded(0x3c1)][_0x1c4ded(0x180)](q);return(_0x24d094=(_0x4b7bf2=_0xfbca6d==null?void 0x0:_0xfbca6d['authzUrl'])!=null?_0x4b7bf2:_0x19c128)!=null?_0x24d094:Ns;}async[_0x59924f(0x287)](_0x2a212e){var _0x501570=_0x59924f;const _0x3d29e3=this[_0x501570(0x17a)]()+_0x501570(0x136);return{'list':[{'title':'People','mentions':(await this[_0x501570(0x2bc)][_0x501570(0x13d)](_0x3d29e3,{'params':{'objectID':_0x2a212e[_0x501570(0x3d2)],'unitID':_0x2a212e[_0x501570(0x3d2)]}}))[_0x501570(0x413)]['collaborators'][_0x501570(0x30a)](_0x2f2d02=>({'objectId':_0x2f2d02['id'],'name':_0x2f2d02[_0x501570(0x273)]['name'],'metadata':{'icon':_0x2f2d02['subject'][_0x501570(0x141)]},'label':_0x2f2d02[_0x501570(0x273)]['name'],'objectType':_0x439b82[_0x501570(0x302)]})),'metadata':{},'type':_0x439b82[_0x501570(0x302)]}]};}};Nt=ys([_i(0x0,_0x1bc764(_0x30c313)),_i(0x1,_0x1bc764(_0x3edb0a))],Nt);var Ds=Object[_0x59924f(0x385)],Ps=Object[_0x59924f(0x33e)],ws=(_0x428584,_0x434654,_0x288d1a,_0x24b532)=>{for(var _0x1c345c=_0x24b532>0x1?void 0x0:_0x24b532?Ps(_0x434654,_0x288d1a):_0x434654,_0x518bf3=_0x428584['length']-0x1,_0x17499c;_0x518bf3>=0x0;_0x518bf3--)(_0x17499c=_0x428584[_0x518bf3])&&(_0x1c345c=(_0x24b532?_0x17499c(_0x434654,_0x288d1a,_0x1c345c):_0x17499c(_0x1c345c))||_0x1c345c);return _0x24b532&&_0x1c345c&&Ds(_0x434654,_0x288d1a,_0x1c345c),_0x1c345c;},Se=(_0x5f59bd,_0x165c1f)=>(_0x1cfcf9,_0x3b638e)=>_0x165c1f(_0x1cfcf9,_0x3b638e,_0x5f59bd);let at=class extends _0x2d45c2{constructor(_0x689e8c,_0x355d2a,_0x279ee5,_0x349b42,_0x3be413,_0x4594be,_0x3bfd3c){var _0x16be7c=_0x59924f;super(),this[_0x16be7c(0x3c3)]=_0x689e8c,this[_0x16be7c(0x2d7)]=_0x355d2a,this[_0x16be7c(0x1e5)]=_0x279ee5,this[_0x16be7c(0x28f)]=_0x349b42,this['_collaborationUIEventService']=_0x3be413,this['_authzIoService']=_0x4594be,this['_undoRedoService']=_0x3bfd3c,this['_initUnitPermissionChange'](),this[_0x16be7c(0x346)]();}[_0x59924f(0x346)](){var _0x1cefa3=_0x59924f;const _0x1656b1=async _0x4c6aef=>{var _0x1b5da6=_0x2b46;(await this['_collaborationSessionService'][_0x1b5da6(0x205)](_0x4c6aef))[_0x1b5da6(0x1ae)][_0x1b5da6(0x25b)](_0xca8f0(_0x58e19f=>_0x58e19f[_0x1b5da6(0x35c)]===_0x2872d1['SHOULD_CLOSE_CONN']),_0x412f17(this[_0x1b5da6(0x217)]))[_0x1b5da6(0x387)](_0x415568=>{var _0x1b9160=_0x1b5da6;const _0x246a2f=_0x415568,{reason:_0x30a712}=_0x246a2f[_0x1b9160(0x27b)];this[_0x1b9160(0x146)]['emitEvent']({'id':se['CLOSE_ROOM'],'data':_0x30a712}),this[_0x1b9160(0x1e5)][_0x1b9160(0x119)](new _0x28e48e(_0x4c6aef)['id'],!0x1),this[_0x1b9160(0x28f)][_0x1b9160(0x1de)](_0x4c6aef);});};_0x4166c5(this[_0x1cefa3(0x2d7)][_0x1cefa3(0x3ed)](_0x51bed3[_0x1cefa3(0x14c)]),this[_0x1cefa3(0x2d7)][_0x1cefa3(0x3ed)](_0x51bed3[_0x1cefa3(0x3fa)]))['pipe'](_0x23545a(_0xc6f78d=>_0xc6f78d['getUnitId']()),_0xca8f0(_0x4c5e86=>!_0x3fdc3c(_0x4c5e86)),_0x412f17(this['dispose$']))[_0x1cefa3(0x387)](_0x52182e=>{_0x1656b1(_0x52182e);});}[_0x59924f(0x18a)](){var _0x4883a3=_0x59924f;const _0x5302ae=async _0x59523b=>{var _0x350ced=_0x2b46;const _0x3a432d=await this['_collaborationSessionService']['requireSession'](_0x59523b),_0x130d22=this[_0x350ced(0x3c3)][_0x350ced(0x13d)](_0x565119);_0x3a432d[_0x350ced(0x1ae)][_0x350ced(0x25b)](_0xca8f0(_0x490957=>_0x490957[_0x350ced(0x35c)]===_0x2872d1[_0x350ced(0x13b)]),_0x412f17(this['dispose$']))['subscribe'](_0x3a44b8=>{var _0x40d514=_0x350ced;const _0x40793a=_0x3a44b8,{objectId:_0x5e925f}=_0x40793a['data'];_0x5e925f===_0x59523b?_0x130d22[_0x40d514(0x238)](_0x59523b):_0x130d22['refreshPermission'](_0x59523b,_0x5e925f);});};_0x4166c5(this[_0x4883a3(0x2d7)][_0x4883a3(0x3ed)](_0x51bed3[_0x4883a3(0x14c)]),this[_0x4883a3(0x2d7)][_0x4883a3(0x3ed)](_0x51bed3[_0x4883a3(0x3fa)]))['pipe'](_0x23545a(_0x5a7d86=>_0x5a7d86[_0x4883a3(0x201)]()),_0xca8f0(_0x4ffbcc=>!_0x3fdc3c(_0x4ffbcc)),_0x412f17(this['dispose$']))[_0x4883a3(0x387)](_0x1d7680=>{_0x5302ae(_0x1d7680);});}};at=ws([Se(0x0,_0x1bc764(_0x305299)),Se(0x1,_0x4844be),Se(0x2,_0xb52dec),Se(0x3,_0x1bc764(Le)),Se(0x4,_0x1bc764(pe)),Se(0x5,_0x29bb4e),Se(0x6,_0x1d3917)],at);var Us=Object[_0x59924f(0x385)],As=Object[_0x59924f(0x33e)],xs=(_0x529f7f,_0x1ab857,_0x44114e,_0x59a6ae)=>{for(var _0x1bd149=_0x59a6ae>0x1?void 0x0:_0x59a6ae?As(_0x1ab857,_0x44114e):_0x1ab857,_0xdcadb6=_0x529f7f['length']-0x1,_0x1857a9;_0xdcadb6>=0x0;_0xdcadb6--)(_0x1857a9=_0x529f7f[_0xdcadb6])&&(_0x1bd149=(_0x59a6ae?_0x1857a9(_0x1ab857,_0x44114e,_0x1bd149):_0x1857a9(_0x1bd149))||_0x1bd149);return _0x59a6ae&&_0x1bd149&&Us(_0x1ab857,_0x44114e,_0x1bd149),_0x1bd149;},li=(_0x36eb00,_0x33c075)=>(_0x155832,_0x4648fd)=>_0x33c075(_0x155832,_0x4648fd,_0x36eb00);let Dt=class{constructor(_0x543afd,_0x40444e){var _0x3d83ab=_0x59924f;this[_0x3d83ab(0x3c1)]=_0x543afd,this[_0x3d83ab(0x252)]=_0x40444e;}async[_0x59924f(0x3e8)](_0x5afc60,_0x1603f9){var _0x3e016e=_0x59924f,_0x3cc617;const {unitID:_0x3d021c,type:_0x2099e1,revision:_0x545c10=0x0}=_0x1603f9,_0x14933c=this[_0x3e016e(0x274)]()+'/'+_0x2099e1+_0x3e016e(0x3e2)+_0x3d021c+_0x3e016e(0x120)+_0x545c10,_0x111257=(await this[_0x3e016e(0x252)][_0x3e016e(0x13d)](_0x14933c))[_0x3e016e(0x413)],_0x404af4=(_0x3cc617=_0x111257[_0x3e016e(0x1a6)])==null?void 0x0:_0x3cc617['workbook'];if(_0x404af4){const _0x1b3c48=_0x404af4==null?void 0x0:_0x404af4[_0x3e016e(0x125)],_0x43fb19=_0x1626ef[_0x3e016e(0x2c5)](_0x5d84db(_0x1b3c48));_0x404af4[_0x3e016e(0x125)]=_0x43fb19,Object['entries'](_0x404af4[_0x3e016e(0x334)])['forEach'](([,_0x14849e])=>{var _0x466cae=_0x3e016e;const _0x4b6655=_0x14849e[_0x466cae(0x125)],_0x523a14=_0x1626ef[_0x466cae(0x2c5)](_0x5d84db(_0x4b6655));_0x14849e[_0x466cae(0x125)]=_0x523a14;});}return _0x111257;}async[_0x59924f(0x1fd)](_0xcd2ad4,_0x244e5a){var _0x59db9f=_0x59924f;const {unitID:_0x3775e8,type:_0xec9312,blockID:_0x440a65}=_0x244e5a,_0x5c3eea=this[_0x59db9f(0x2cb)]()+'/'+_0xec9312+_0x59db9f(0x3e2)+_0x3775e8+'/block/'+_0x440a65;return(await this[_0x59db9f(0x252)][_0x59db9f(0x13d)](_0x5c3eea))['body'];}async[_0x59924f(0x137)](_0x1c5bc7,_0xe94f53){var _0x45193c=_0x59924f;const {unitID:_0x46d156,type:_0x37810c,blockID:_0x8e3c06}=_0xe94f53,_0x4cde14=this[_0x45193c(0x2cb)]()+_0x45193c(0x34a)+_0x37810c+_0x45193c(0x3e2)+_0x46d156+_0x45193c(0x34a)+_0x8e3c06;return(await this[_0x45193c(0x252)][_0x45193c(0x13d)](_0x4cde14))[_0x45193c(0x413)];}async[_0x59924f(0x1d2)](_0x2e0151,_0x5955b6){var _0x205133=_0x59924f;const {unitID:_0x19c3ac,type:_0x2d32ac,from:_0x412a12,to:_0x5e46e3}=_0x5955b6,_0x87d3b=this['_getAPIPrefix']()+'/'+_0x2d32ac+_0x205133(0x3e2)+_0x19c3ac+_0x205133(0x314)+_0x412a12+_0x205133(0x28b)+_0x5e46e3;return(await this['_httpService'][_0x205133(0x13d)](_0x87d3b))[_0x205133(0x413)];}[_0x59924f(0x274)](){var _0x341241=_0x59924f,_0x9c9975;return(_0x9c9975=this[_0x341241(0x3c1)][_0x341241(0x180)](Tn))!=null?_0x9c9975:this[_0x341241(0x2cb)]();}['_getAPIPrefix'](){var _0x117fbd=_0x59924f,_0x104caf,_0x5c3b18;const _0x3a640e=this[_0x117fbd(0x3c1)][_0x117fbd(0x180)](En),_0x31e3cc=this[_0x117fbd(0x3c1)][_0x117fbd(0x180)](q);return(_0x5c3b18=(_0x104caf=_0x31e3cc==null?void 0x0:_0x31e3cc[_0x117fbd(0x2e1)])!=null?_0x104caf:_0x3a640e)!=null?_0x5c3b18:In;}async[_0x59924f(0x1cf)](_0x2b9125,_0x742f81){var _0x188c07=_0x59924f;const _0x9849fb=_0x188c07(0x420)+_0x742f81[_0x188c07(0x38c)]+_0x188c07(0x3e2)+_0x742f81[_0x188c07(0x307)]+'/resources';return(await this[_0x188c07(0x252)][_0x188c07(0x13d)](_0x9849fb,{'params':{'resourceId':JSON['stringify'](_0x742f81[_0x188c07(0x339)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x59924f(0x1e0)](){var _0x3b82ff=_0x59924f;throw new Error(_0x3b82ff(0x362));}[_0x59924f(0x1e6)](){var _0x898bfc=_0x59924f;throw new Error(_0x898bfc(0x362));}[_0x59924f(0x21f)](){var _0x37f857=_0x59924f;throw new Error(_0x37f857(0x362));}[_0x59924f(0x3a4)](){var _0x26d718=_0x59924f;throw new Error(_0x26d718(0x362));}};Dt=xs([li(0x0,_0x30c313),li(0x1,_0x1bc764(_0x3edb0a))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x59924f(0x33e)],$s=(_0x46ff0d,_0xbe5ed8,_0x5a1ed2,_0x59f5b5)=>{var _0x50359c=_0x59924f;for(var _0x427cdb=_0x59f5b5>0x1?void 0x0:_0x59f5b5?Ms(_0xbe5ed8,_0x5a1ed2):_0xbe5ed8,_0x197209=_0x46ff0d[_0x50359c(0x351)]-0x1,_0x278bf7;_0x197209>=0x0;_0x197209--)(_0x278bf7=_0x46ff0d[_0x197209])&&(_0x427cdb=(_0x59f5b5?_0x278bf7(_0xbe5ed8,_0x5a1ed2,_0x427cdb):_0x278bf7(_0x427cdb))||_0x427cdb);return _0x59f5b5&&_0x427cdb&&Ls(_0xbe5ed8,_0x5a1ed2,_0x427cdb),_0x427cdb;},Ae=(_0x3f1d4c,_0x3c4353)=>(_0x20f1d1,_0x475914)=>_0x3c4353(_0x20f1d1,_0x475914,_0x3f1d4c);let Pt=class extends _0x329d94{constructor(_0x3c14f6,_0x83736a,_0x59b0d1,_0x18bd12,_0x398842){var _0x140163=_0x59924f;super(_0x3c14f6,_0x83736a,_0x59b0d1),this[_0x140163(0x2fc)]=_0x18bd12,this['_logService']=_0x398842;}[_0x59924f(0x3b1)](_0x378ea,_0x285774){var _0x8205d8=_0x59924f;const _0x870533=this[_0x8205d8(0x152)](_0x378ea);if(_0x870533)try{const _0x467264=this['_transformStack'](_0x870533,_0x285774);this['_substituteUndoStack'](_0x378ea,_0x467264);}catch(_0x5c0527){this[_0x8205d8(0x11d)][_0x8205d8(0x289)]('[CollaborationUndoRedoService]',_0x5c0527),this['_clearUndo'](_0x378ea);}const _0xf96241=this[_0x8205d8(0x1a5)](_0x378ea);if(_0xf96241)try{const _0x132cf0=this[_0x8205d8(0x3eb)](_0xf96241,_0x285774);this[_0x8205d8(0x32a)](_0x378ea,_0x132cf0);}catch(_0x435474){this['_logService'][_0x8205d8(0x289)](_0x435474),this[_0x8205d8(0x3ac)](_0x378ea);}}[_0x59924f(0x33a)](_0x1691d7){var _0x204cdd=_0x59924f;const _0x574a40=this[_0x204cdd(0x152)](_0x1691d7);_0x574a40&&(_0x574a40['length']=0x0,this['_updateStatus']());}[_0x59924f(0x3ac)](_0x7e761b){var _0x2d14bf=_0x59924f;const _0x3406de=this[_0x2d14bf(0x1a5)](_0x7e761b);_0x3406de&&(_0x3406de['length']=0x0,this[_0x2d14bf(0x14d)]());}[_0x59924f(0x330)](_0x1ac24a,_0x2b04a7){var _0x236ebd=_0x59924f;this['_undoStacks'][_0x236ebd(0x2d3)](_0x1ac24a,_0x2b04a7),this['_updateStatus']();}[_0x59924f(0x32a)](_0x52df2b,_0x28ac48){var _0x1c74d2=_0x59924f;this[_0x1c74d2(0x185)][_0x1c74d2(0x2d3)](_0x52df2b,_0x28ac48),this['_updateStatus']();}[_0x59924f(0x3eb)](_0x149991,_0x39f636){var _0x2191ca=_0x59924f;const _0x43e2d2=[];let _0x11d8e4=_0x39f636,_0x4338dd=_0x39f636;for(let _0x4b6f9a=_0x149991[_0x2191ca(0x351)]-0x1;_0x4b6f9a>=0x0;_0x4b6f9a--){const {unitID:_0x3b8f90,undoMutations:_0x567f5b,redoMutations:_0x16f2e2}=_0x149991[_0x4b6f9a],_0x2ae364=this['_transformService'][_0x2191ca(0x2e0)](_0x11d8e4,_0x567f5b),_0x2c09c2=this['_transformService'][_0x2191ca(0x2e0)](_0x4338dd,_0x16f2e2);if(_0x51b41b(_0x2ae364)||_0x51b41b(_0x2c09c2)){this[_0x2191ca(0x11d)][_0x2191ca(0x289)](_0x2191ca(0x1cb),_0x2191ca(0x1b7),_0x2ae364,_0x2c09c2);break;}_0x11d8e4=_0x2ae364[_0x2191ca(0x162)],_0x4338dd=_0x2c09c2['c1Prime'],_0x43e2d2[_0x2191ca(0x1f7)]({'unitID':_0x3b8f90,'undoMutations':_0x2ae364[_0x2191ca(0x3f9)],'redoMutations':_0x2c09c2[_0x2191ca(0x3f9)]});}return _0x43e2d2[_0x2191ca(0x33d)]();}};Pt=$s([Ae(0x0,_0x4844be),Ae(0x1,_0x138ae6),Ae(0x2,_0x21d5ea),Ae(0x3,_0x3511a4),Ae(0x4,_0x54d1e0)],Pt);var xi=Object[_0x59924f(0x385)],Hs=Object[_0x59924f(0x33e)],ks=(_0x5d803c,_0x4c032f,_0x4f57f6)=>_0x4c032f in _0x5d803c?xi(_0x5d803c,_0x4c032f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f57f6}):_0x5d803c[_0x4c032f]=_0x4f57f6,js=(_0x4ab098,_0x2db1ef,_0x581fcb,_0x39ed72)=>{var _0x47ec44=_0x59924f;for(var _0x38b32e=_0x39ed72>0x1?void 0x0:_0x39ed72?Hs(_0x2db1ef,_0x581fcb):_0x2db1ef,_0xd445=_0x4ab098[_0x47ec44(0x351)]-0x1,_0x5c3ab3;_0xd445>=0x0;_0xd445--)(_0x5c3ab3=_0x4ab098[_0xd445])&&(_0x38b32e=(_0x39ed72?_0x5c3ab3(_0x2db1ef,_0x581fcb,_0x38b32e):_0x5c3ab3(_0x38b32e))||_0x38b32e);return _0x39ed72&&_0x38b32e&&xi(_0x2db1ef,_0x581fcb,_0x38b32e),_0x38b32e;},St=(_0x23024a,_0x41d7ee)=>(_0x2232ee,_0xc43e0c)=>_0x41d7ee(_0x2232ee,_0xc43e0c,_0x23024a),Bs=(_0x160a21,_0x4cbd06,_0x21ccd6)=>ks(_0x160a21,_0x4cbd06+'',_0x21ccd6);const Fs=_0x59924f(0x169);let wt=class extends _0x581649{constructor(_0x59a0d7=Wt,_0x444a0b,_0xf5ea51,_0x235905){var _0x36d33a=_0x59924f;super(),this['_config']=_0x59a0d7,this[_0x36d33a(0x11d)]=_0x444a0b,this[_0x36d33a(0x3c3)]=_0xf5ea51,this[_0x36d33a(0x3c1)]=_0x235905;const {..._0x6ba660}=_0x242ea6({},Wt,this[_0x36d33a(0x2ec)]);this[_0x36d33a(0x3c1)]['setConfig'](q,_0x6ba660);}[_0x59924f(0x304)](){var _0xa55706=_0x59924f;this[_0xa55706(0x11a)](),this[_0xa55706(0x2e8)]();}[_0x59924f(0x11a)](){var _0x15a979=_0x59924f,_0x161899,_0x5da668,_0x178793,_0x38b892;this[_0x15a979(0x3c3)]['has'](_0x1d3917)&&this[_0x15a979(0x11d)][_0x15a979(0x289)](_0x15a979(0x35e),_0x15a979(0x18b));const _0x310fe1=_0x44c8c5([[_0x1d3917,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5da668=(_0x161899=this[_0x15a979(0x2ec)])==null?void 0x0:_0x161899[_0x15a979(0x2b2)])!=null?_0x5da668:Et}],[_0x52101f,{'useClass':Dt}],[_0x29bb4e,{'useClass':bt}],[_0x277dfa,{'useClass':yt}],[_0x58bb71,{'useClass':Nt}],[rt],[Rt]],(_0x178793=this[_0x15a979(0x2ec)])==null?void 0x0:_0x178793[_0x15a979(0x2fd)]);if(!((_0x38b892=this[_0x15a979(0x2ec)])!=null&&_0x38b892[_0x15a979(0x41e)])){const _0x284f63=_0x310fe1[_0x15a979(0x1c6)](([_0x2e4923])=>_0x2e4923===ht);_0x284f63!==-0x1&&_0x310fe1[_0x15a979(0x2a6)](_0x284f63,0x1);}_0x2a5538(this[_0x15a979(0x3c3)],_0x310fe1);}[_0x59924f(0x2e8)](){var _0x130252=_0x59924f,_0x20b96f,_0x5e940f,_0x200ee7;this[_0x130252(0x3c3)][_0x130252(0x13d)](_0x3edb0a)[_0x130252(0x29b)]({'priority':0x14,'interceptor':_0x244b97({'maxParallel':0x6})}),(_0x20b96f=this[_0x130252(0x2ec)])!=null&&_0x20b96f[_0x130252(0x149)]||(_0x5e940f=this[_0x130252(0x3c3)][_0x130252(0x13d)](J,_0x2b7a3e['OPTIONAL']))==null||_0x5e940f[_0x130252(0x15b)](),(_0x200ee7=this[_0x130252(0x2ec)])!=null&&_0x200ee7[_0x130252(0x381)]&&_0x498568(this[_0x130252(0x3c3)],[[st]]),_0x498568(this[_0x130252(0x3c3)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x4e34e1(_0xb7ee05,_0x272fa0,_0x5d82ec),St(0x1,_0x54d1e0),St(0x2,_0x1bc764(_0x305299)),St(0x3,_0x30c313)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x384d48=_0x56fc;(function(_0x19e951,_0x5075df){var _0x558074=_0x56fc,_0x243334=_0x19e951();while(!![]){try{var _0x182e15=parseInt(_0x558074(0x1c8))/0x1+parseInt(_0x558074(0x2d8))/0x2*(-parseInt(_0x558074(0x3cd))/0x3)+-parseInt(_0x558074(0x3fc))/0x4+parseInt(_0x558074(0x1a7))/0x5+-parseInt(_0x558074(0x202))/0x6+-parseInt(_0x558074(0x28d))/0x7*(-parseInt(_0x558074(0x1ff))/0x8)+-parseInt(_0x558074(0x2d3))/0x9*(-parseInt(_0x558074(0x3c5))/0xa);if(_0x182e15===_0x5075df)break;else _0x243334['push'](_0x243334['shift']());}catch(_0x2236db){_0x243334['push'](_0x243334['shift']());}}}(_0x5c41,0x19b67));var Li=Object[_0x384d48(0x1e0)],Mi=(_0x1bf9b2,_0x32e487,_0x50725d)=>_0x32e487 in _0x1bf9b2?Li(_0x1bf9b2,_0x32e487,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50725d}):_0x1bf9b2[_0x32e487]=_0x50725d,N=(_0x820c0e,_0x17a890,_0x10220e)=>Mi(_0x820c0e,typeof _0x17a890!=_0x384d48(0x271)?_0x17a890+'':_0x17a890,_0x10220e);function _0x5c41(){var _0x597003=['[SyncedState]:\x20received\x20acknowledgement.','_compressMutationService','unitInfo$','body','updateMember','getUnit','_members','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','origin','_schedule','COLLAB_WEB_SOCKET_URL','shouldCloseConn','_applyRemoteChangeset','_clearScheduledTask','keySize','_transformSelections','_transformStack','_revisionService','_createSocketURL','[CollaborationState]:\x20apply\x20error!','init','getCollabEntity','fetchMiss','_handlerCallback','encrypt','_sendingTimer','_getSessionTicket','_ENC_XFORM_MODE','9QyyzxS','addImageSourceCache','infoRsp','concat','saveImage','14TsKAXZ','stopTime','csShouldRetryEvent','APPLY_REVISION_CONFILICT','_waitCount','dispose','override','joinEvent','_pendingMutations','collaboration-client.local-cache-service','transformMutationsWithChangeset','add','ivSize','_onRemoteChangeset','unsubscribe','LICENSE_DISTRO_REJECTED','parse','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initDependencies','image/jpg','/universer-api/snapshot','_resendTimeout','image/bmp','_substituteUndoStack','isArray','Decryptor','HMAC','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_resendWithTimeout','processBlock','_univerInstanceService','getSheetId','asObservable','_snapshotServerService','snapshot','_getCtorByUniverType','_unlockTransition','loadDoc','_imageSourceCache','Base64','APPLY_REJECT','pending','enc','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_IMPORT_SIZE_EXCEEDED','emitEvent','_onRemoteRejected','_queuedRemoteChangesets','lib','blockSize','appendMutation','title','UNKNOWN_CODE','updatePermissionPoint','encodeURIComponent','_instanceService','sessionTicket','_commentService','_xformMode','put','_keySchedule','_cipher','_parse','target','_clearCollaborationTimeoutTimer','toggleOnline','_commentUpdate$','state','_clearUndo','_prevBlock','collaMsg','onload','location','_resendTimer','unitId','MD5','onSendChangeset','_onRemoteRetry','userID','objectID','listCollaborators','data','[OfflineState]:\x20received\x20acknowledgement.','charCodeAt','onRemoteRej','LIVESHARE_NEW_HOST','delete','Encryptor','_onOffline','INTERNAL_ERROR','PERMISSION_DENIED','uniscriptRunEvent','setCurrentUser','mutations','FAIL','onStateChange','_executeRemoteChangeset','editing\x20status\x20changed\x20to','subscribe','editingUnit','find','join','_transformService','JOIN_ROOM_FULL','listRoles','_telemetryService','charAt','[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.','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','TOO_MANY_REQUESTS','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','c1Prime','sid','UNIVER_SHEET','SUBMIT_CHANGESET','fetch_missing','next','_listenToNetworkCondition','_roomCreated$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_REVISION_CONFILICT','type','message$','[CollaborationSessionService]','_disableEditing','/universer-api/oidc/authpage','putCollaborators','__creator','ERROR_EXCEED_SIZE','conflict','_config','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_URL_KEY','getCurrentUser','_type','getUnitId','SOCKET_FAILED','onSyncEditingCollabCursor','_entities','enableOfflineEditing','_doCryptBlock','sin','\x0aCurrent:\x20','createDecryptor','CipherParams','getActiveSheet','key','[UniverCollaborationClientPlugin]','_sender','_status$','push','[CollaborationSession]','dispose$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','set','COMMENT_UPDATE','_data','cfg','_createHelper','_transitionLocked','SYNCED','_getLoginPath','_collaborationSessionService','_collabSessionService','every','saveSnapshot','apply','entityInit$','ws://127.0.0.1:8000/universer-api/comb/connect','textRanges','_toggleOnline','now','JOIN_ROOM_PERMISSION_DENIED','startTime','localeService','_stopTelemetryCollaborationNewChangeset','from','_collaborationTimeoutTimer','/rev/','memberID','GLOBAL_ROOMS_CNT_EXCEEDS','_updateLocalCache','Base','NEW_CHANGESETS','RECV','/allowed','AUTHZ_URL_KEY','revision','padding','interceptor','[CollaborationUndoRedoService]','_getRedoStack','\x20in\x20_schedule.','onTransformIME','prototype','_submitChangeset','[PendingState]:\x20received\x20acknowledgement.','action','CHANGESET_REJ','_onRemoteACK','BufferedBlockAlgorithm','_getAPIPrefixPath','HEARTBEAT_INTERVAL','newCsEvent','_onUserLeave','stringify','status$','USERS_LEAVE','downloadEndpointUrl','registerHTTPInterceptor','error$','resend','unknown','/block/','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','auth.needGotoLoginAlert','_change$','Malformed\x20UTF-8\x20data','updateOfflineData','close','getCollabEntity$','fetchThroughInterceptors','mixIn','isPermissionRej','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getImage','UNIVER_DOC','string','LIVESHARE_REQUEST_HOST','_scheduleCollaborationTimeoutTimer','cmd','1516990khWVbt','ERROR_IMAGE','getConfig','_sessions','_onUserJoin','UNRECOGNIZED','OTHER_CLIENTS_EDITING','copyFileMeta','42069tQrHjm','requestParams','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_clearLocalCache','_injector','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_key','readInt32LE','SHOULD_CLOSE_CONN','send','_keyPriorReset','reset','HttpExport','algo','_localeService','_doProcessBlock','fetchMissingChangesets','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_SERVER_URL_KEY','decryptBlock','randomBytes','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','\x0aAfter:\x20','_onConnectionOpen','SEND_CHANGESET_TIMEOUT','encryptBlock','hasOwnProperty','ticket','roomInfos','sigBytes','CONFLICT','_candidateSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socketReady','BASE64','UNAUTHENTICATED','_changesetReqId','open$','OpenSSL','_handler','objectType','_onConnectionFailed','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SLIDE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','routeKey','_createInitialStateImpl','711276BQlQzz','_getAPIPrefix','_transformStateCache','UNIVER_PROJECT','getMember','session.room-cnt-exceeds','_socket','socket\x20open.','pad','ALREADY_EXISTS','univer-pro.collaboration-client.single-active-unit-service','YUUMI_SUBSCRIPTION_NOT_FOUND','_lockTransition','readAsDataURL','_permissionService','OTHER_CLIENT_EDITING','onCommandExecuted','fromCollab','min','_registerDependencies','onMissedChangesetFetched','values','patch','session.join-failed','msCrypto','reverse','filter','BlockCipherMode','Univer','_createHandler','image/png','readyForCollab','not_collab','_http','YUUMI_RATE_OVER_LIMIT','pluginName','JOIN','_transformRemoteChangesetByStateCache','&source=','LEAVE','onTransformSelections','HttpImport','NOT_FOUND','json','online$','pauseCollaboration','getImageSourceCache','_updateState','[OfflineState]:\x20received\x20rejection.','buffer','IDLE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformRemoteChangesetByIMECache','execute','post','_state','random','transformSelections','COMPRESS_MUTATION_APPLY','_acknowledgedAwaitingChangeset','ERROR_IMAGE_TYPE','UNKNOWN_CMD','url','getCurrentSelections','_onCombEvent','_emitMembers','words','_snapshotService','replace','floor','list','/new_changes','_clearHeartbeatTimer','/role','disposeWithMe','_collaborationPaused','session.room-full','_shouldReportTelemetry','getInterceptPoints','SOCKET_FAILED_RETRY','awaitingChangeset','m2Prime','&assign=','confirm','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','has','_getUndoStack','_throwTelemetryCollaborationNewChangeset','[FetchMissState]','workbook','_hasher','_nRounds','_getSignURL','UnitSnapshot','image/jpeg','connection\x20error','format','HELLO','_onConflict','_decreaseWaiting','getCurrentRevOfUnit','UPDATE_PERMISSION_OBJ','kdf','_map','_collaborationUIEventService','error','/unit/','APPLY_DUPLICATED','decrypt','event$','_syncEditingCollabCursor','_telemetryInfo','UnitEmbedded','closeSession','headers','signUrlServerUrl','?size=','setShowComponents','_memberService','objectActions','_nDataBytes','Cipher','JOIN_ROOM_FAILED','saveChangeset','_toggleOffline','max','SHA1','_clearTimeoutTimer','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','unitID','subject','avatar','originalMeta','failed\x20to\x20apply\x20missed\x20changesets!','CHANGESET_SHOULD_RETRY','formatter','src','fetching\x20missing\x20changesets\x20from\x20','liveShareNewHost','__esModule','_iKey','_undoStacks','_getDownloadEndpointURL','Hasher','authzUrl','Utf8','byteOffset','addHandlerCallback','_transformIMECache','image/gif','mode','sheets','function','getTypeOfUnitDisposed$','_onMessage','_rescheduleHeartbeat','/fetchmissing?from=','_retryConnectingTimer','onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_NOT_EXISTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','POST','href','application/json','sessionStatus$','compute','createSocket','collabWebSocketUrl','collaboratorID','UNISCRIPT_RUN','csAckEvent','close$','/object/','_entityInit$','FileId','82315uFQMku','OPTIONAL','toLowerCase','hasher','RETRY_CONNECTING_MAX_COUNT','rev','_getSendChangesetTimeout','transformChangesets','onRemoteChangeset','_createSocket','__Key__','getOwnPropertyDescriptor','selections','collaboration-client.config','debug','loadOfflineData','subUnitId','encode','getTime','PSEUDO_FETCH_MISSING_RESULT','leaveEvent','INGEST','requireSession','sendChangesetTimeout','changesets','getFocusedUnit','collabSubmitChangesetUrl','_reverseMap','_DEC_XFORM_MODE','call','create','entries','COLLAB_SUBMIT_CHANGESET_URL','106090BMCzRv','c2Prime','_socket$','synced','size','_startTelemetryCollaborationNewChangeset','LICENSE_MAX_UNITS_EXCEEDED','_eventService','_oKey','OFFLINE','_sendHeartbeatTimer','/collaborator','_checkMissing','ONLINE','disableLocalCache','randomUUID','COMPLETION_FINISHED','waitForRoom$','_changesetSessionId','_HTTPService','_mode','onTransformState','update','_localCacheService','defineProperty','actions','csRejEvent','_substituteRedoStack','joinRsp','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache','createEncryptor','allowed','PasswordBasedCipher','_logService','_configService','_replayCachedMutations','rng','commentUpdateEvent','iterations','_incrementRevisionNumber','_onLocalMutation','unitId\x20is\x20not\x20found','finalize','onCommentUpdate','USERS_ENTER','params','BlockCipher','code','ceil','getSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','slice','LOCAL_CACHE_INTERVAL','removeMember','985384zmSoIy','_socketService','localCacheService','96756AJiCeu','fromCharCode','collaborators','CLOSE_ROOM','Undefined','/universer-api/comb','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_minBufferSize','getTypeOfUnitAdded$','PERMISSION_REJ','length','_createHmacHelper','clamp','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','focused$','clone','onlyLocal','updatePermissionObjEvent','_updateStatus','_onRecvEvent','_removeRoom','capture','batchAllowed','awaiting_with_pending','catch','_append','_members$','_scheduleCompleteTimestamp','_initCloseConn','transformUndoRedo','_hash','_state$','getSnapshotAPIPath','_retryCount','_iv','MUTATION','_startCollaboration','/-/object/list','salt','sessionStatus','WordArray','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','onTransformRemoteChangesetByStateCache','wsSessionTicketUrl','status','_sendHeartbeat','_awaitingChangeset','_roomMembers','initWorkbookPermissionChange','_commandService','MSG_FOR_ERROR','LIVESHARE_TERMINATE','loginUrlKey','_process','[DataLoaderService]','toggleOffline','EvpKDF','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','splice','getUnitOnRev','_sheetTransformSelectionsService','UUID','uploadFileServerUrl','UNIVER_UNKNOWN','session','_showConflictNotification','_loadSheet','CONNECTOR_DATA_TOO_LARGE','deepClone','_loadDoc','searchParams','crypto','NO_OTHER_CLIENTS_EDITING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_initMergeInterceptor','NOT_COLLAB','CHANGESET_ACK','Could\x20not\x20dynamically\x20require\x20\x22','reject','reconnect','COMPRESS_MUTATION_SEND','_doReset','_joinRoom','_init','permissionRejEvent','getRandomValues','append','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationSessionService]:\x20socket\x20error','_onJoinRoomEvent','PY_RUNTIME_SCRIPT_ERROR','enableSingleActiveInstanceLock','_sessionStatus$','forEach','ciphertext','Hex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','extend','_createInitialState','PENDING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','bind','executeCommand','\x20-\x20','[CollaborationEntity]','state$','compose','_undoRedoService','_getUploadFileURL','symbol','HEARTBEAT_TIMEOUT','_tryReconnect','change$','$super','JOINING','getDeserializedSheetBlock','/universer-api/user/session-ticket','name','HEARTBEAT','exports','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','\x20to\x20','_networkConditionService','PERSON','_userManagerService','getMemberID','Pkcs7','FETCH_MISSING','result','ENSURE_SNAPSHOT_EXECUTION','{fileID}','_event$','_transformUndoredo','incrementRevOfUnit','members','range','reqId','7hVtQfj','HmacMD5','/-/object/-/batch_allowed','eventID','_fetchMissChangesets','/universer-api/snapshot/','repeat','baseRev','_isPermissionRej','clear','CBC','NoPadding','_exhaustRemoteChangesetQueue','createInstance','runId','responseType','_singleActiveUnitService','offline','AES','AWAITING_WITH_PENDING','_httpService','_timeoutTimer','UPDATE_CURSOR','toString','/universer-api/uniscript','SerializableCipher','_remoteChangesetQueue','/object','get','_unitID','byteLength','map','FETCH_MISS','complete','reduce','LIVESHARE_FETCH_OPERATIONS','_socketMessageSubscription','abs','onRemoteAck','resolve','submit\x20changeset\x20error!','loadUnit'];_0x5c41=function(){return _0x597003;};return _0x5c41();}import{createIdentifier as _0x49fd55,Inject as _0x524d9b,Injector as _0x1e48d3,Disposable as _0x347757,DisposableCollection as _0x1c03cd,toDisposable as _0x529a4c,IConfigService as _0x3564e5,ILogService as _0x1e9a27,UserManagerService as _0x40a6c6,UniverInstanceType as _0x5deaa7,IUniverInstanceService as _0x588b40,LocaleService as _0x3fdf27,Optional as _0x49b7db,RxDisposable as _0x2c70a0,Tools as _0xe421c3,Rectangle as _0x96c0e2,ICommandService as _0x3f1db4,JSONX as _0x5bbc99,CommandType as _0x27f1c3,IPermissionService as _0x2386b0,IUndoRedoService as _0x2e02f4,sequenceExecute as _0x2a084b,Workbook as _0xb396a2,MentionType as _0x478f38,IAuthzIoService as _0x5a60a8,isInternalEditorID as _0x47ad52,LocalUndoRedoService as _0x337441,IContextService as _0x2dc06d,DependentOn as _0x197520,Plugin as _0x33c7f6,merge as _0x78f827,mergeOverrideWithDependencies as _0x1de4ae,IMentionIOService as _0x251c0c,registerDependencies as _0x493563,Quantity as _0x2f1b9c,touchDependencies as _0x4b47bb}from'@univerjs/core';import{Subject as _0x14c30e,merge as _0x178676,of as _0xd625e4,BehaviorSubject as _0x34646d,takeUntil as _0x10b867,ReplaySubject as _0x27baf2,take as _0x4c3c1b,map as _0xb2b0a3,shareReplay as _0x4ba0df,firstValueFrom as _0x3804bf,concatMap as _0x3e81d3}from'rxjs';import{map as _0x4f7920,take as _0x2394d8,filter as _0x4a7a86,delay as _0x4a79c5,takeUntil as _0x8aaa0f}from'rxjs/operators';import{HTTPService as _0x1fa986,ISocketService as _0xc55183,MergeInterceptorFactory as _0x2ae067,HTTPRequest as _0x13ab81,UniverNetworkPlugin as _0x471945,ThresholdInterceptorFactory as _0x3b17f8}from'@univerjs/network';import{CollaborationEvent as _0x51f52f,parseChangesetToProtocol as _0x180124,ISnapshotServerService as _0x46e3e3,isTransformMutationsWithChangesetSuccess as _0x5265cb,ITransformService as _0x2e7c83,mapDocumentTypeToUniverType as _0x41452d,RevisionService as _0x32f691,isTransformChangesetsSuccess as _0x2a3274,CompressMutationService as _0x2f36ae,parseProtocolChangeset as _0x491f1a,SnapshotService as _0x31b040,textEncoder as _0x28e985,b64DecodeUnicode as _0x10ebf8,isTransformMutationsWithChangesetFailure as _0xe645cd,UniverCollaborationPlugin as _0x3588eb}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b4275}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x566255}from'@univerjs/docs';import{SheetsSelectionsService as _0x56d89c,SetSelectionsOperation as _0x37cbe9,InsertSheetMutation as _0xace5c5,EmptyMutation as _0x5ced12,WorkbookEditablePermission as _0x386980,SheetPermissionInitController as _0xdc28aa,UniverSheetsPlugin as _0x37d18c}from'@univerjs/sheets';import{ImageSourceType as _0x1dcd50,ImageUploadStatusType as _0x4b4ef7,IImageIoService as _0x3c6605}from'@univerjs/drawing';import{getGlobalObject as _0x39b028}from'@univerjs-pro/license';const En=_0x384d48(0x3df),In=_0x384d48(0x2ec),Tn=_0x384d48(0x360),eo=_0x384d48(0x3e5),Cn=0x7d0,Rn=_0x384d48(0x2c1),bn=_0x384d48(0x384),On=_0x384d48(0x278),yn=_0x384d48(0x3a6),Nn=0x7530,Si=_0x384d48(0x272),Ei=0x4e20,Dn=0x4e20,Pn=_0x384d48(0x1ab),wn=0x3,to=_0x384d48(0x1fd),io=0x3e8,Un=_0x384d48(0x1c7),An=_0x384d48(0x207),xn='LOGIN_URL_KEY',Ln=_0x384d48(0x359),no=_0x384d48(0x3be),ro=_0x384d48(0x2a5);var Ii=(_0x5f07d9=>(_0x5f07d9[_0x5f07d9['UNDEFINED']=0x0]=_0x384d48(0x22d),_0x5f07d9[_0x5f07d9['OK']=0x1]='OK',_0x5f07d9[_0x5f07d9[_0x384d48(0x332)]=0x2]=_0x384d48(0x332),_0x5f07d9[_0x5f07d9[_0x384d48(0x333)]=0x3]=_0x384d48(0x333),_0x5f07d9[_0x5f07d9[_0x384d48(0x426)]=0x4]=_0x384d48(0x426),_0x5f07d9[_0x5f07d9[_0x384d48(0x3f0)]=0x5]=_0x384d48(0x3f0),_0x5f07d9[_0x5f07d9['ALREADY_EXISTS']=0x6]=_0x384d48(0x405),_0x5f07d9[_0x5f07d9[_0x384d48(0x347)]=0x7]=_0x384d48(0x347),_0x5f07d9[_0x5f07d9[_0x384d48(0x346)]=0x8]=_0x384d48(0x346),_0x5f07d9[_0x5f07d9[_0x384d48(0x1d8)]=0x9]='COMPLETION_FINISHED',_0x5f07d9[_0x5f07d9[_0x384d48(0x354)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f07d9[_0x5f07d9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x384d48(0x304),_0x5f07d9[_0x5f07d9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x384d48(0x3de),_0x5f07d9[_0x5f07d9[_0x384d48(0x285)]=0x1773]=_0x384d48(0x285),_0x5f07d9[_0x5f07d9[_0x384d48(0x301)]=0x1b59]='APPLY_REJECT',_0x5f07d9[_0x5f07d9[_0x384d48(0x1fb)]=0x1b5a]=_0x384d48(0x1fb),_0x5f07d9[_0x5f07d9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x384d48(0x2db),_0x5f07d9[_0x5f07d9[_0x384d48(0x451)]=0x1b5c]=_0x384d48(0x451),_0x5f07d9[_0x5f07d9[_0x384d48(0x468)]=0x1b5d]=_0x384d48(0x468),_0x5f07d9[_0x5f07d9[_0x384d48(0x247)]=0x1f41]=_0x384d48(0x247),_0x5f07d9[_0x5f07d9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x384d48(0x1ce),_0x5f07d9[_0x5f07d9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x384d48(0x353),_0x5f07d9[_0x5f07d9[_0x384d48(0x305)]=0x232b]=_0x384d48(0x305),_0x5f07d9[_0x5f07d9[_0x384d48(0x3b2)]=0x232c]=_0x384d48(0x3b2),_0x5f07d9[_0x5f07d9[_0x384d48(0x2e7)]=0x232d]=_0x384d48(0x2e7),_0x5f07d9[_0x5f07d9[_0x384d48(0x35f)]=0x2711]=_0x384d48(0x35f),_0x5f07d9[_0x5f07d9[_0x384d48(0x3f7)]=0x2712]=_0x384d48(0x3f7),_0x5f07d9[_0x5f07d9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x384d48(0x41e),_0x5f07d9[_0x5f07d9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x384d48(0x407),_0x5f07d9[_0x5f07d9[_0x384d48(0x25e)]=0x2af9]=_0x384d48(0x25e),_0x5f07d9[_0x5f07d9[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x5f07d9))(Ii||{}),Q=(_0x44058d=>(_0x44058d[_0x44058d[_0x384d48(0x243)]=0x0]=_0x384d48(0x243),_0x44058d[_0x44058d[_0x384d48(0x3c0)]=0x1]=_0x384d48(0x3c0),_0x44058d[_0x44058d['UNIVER_SHEET']=0x2]=_0x384d48(0x34d),_0x44058d[_0x44058d[_0x384d48(0x3f8)]=0x3]=_0x384d48(0x3f8),_0x44058d[_0x44058d[_0x384d48(0x3ff)]=0x4]=_0x384d48(0x3ff),_0x44058d[_0x44058d[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x44058d))(Q||{}),F=(_0x6abb1b=>(_0x6abb1b[_0x6abb1b[_0x384d48(0x439)]=0x0]=_0x384d48(0x439),_0x6abb1b[_0x6abb1b[_0x384d48(0x45e)]=0x1]=_0x384d48(0x45e),_0x6abb1b[_0x6abb1b['JOIN']=0x2]=_0x384d48(0x420),_0x6abb1b[_0x6abb1b[_0x384d48(0x423)]=0x3]=_0x384d48(0x423),_0x6abb1b[_0x6abb1b['INGEST']=0x4]=_0x384d48(0x1bc),_0x6abb1b[_0x6abb1b[_0x384d48(0x27a)]=0x5]=_0x384d48(0x27a),_0x6abb1b[_0x6abb1b[_0x384d48(0x394)]=0x6]=_0x384d48(0x394),_0x6abb1b[_0x6abb1b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x6abb1b))(F||{}),Ee=(_0x2ed479=>(_0x2ed479[_0x2ed479[_0x384d48(0x30d)]=0x0]=_0x384d48(0x30d),_0x2ed479[_0x2ed479['OK']=0x1]='OK',_0x2ed479[_0x2ed479[_0x384d48(0x337)]=0x2]='FAIL',_0x2ed479[_0x2ed479[_0x384d48(0x340)]=0x3e9]=_0x384d48(0x340),_0x2ed479[_0x2ed479[_0x384d48(0x196)]=0x3ea]=_0x384d48(0x196),_0x2ed479[_0x2ed479['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x384d48(0x388),_0x2ed479[_0x2ed479[_0x384d48(0x390)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2ed479[_0x2ed479[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x2ed479))(Ee||{}),Ti=(_0x1584d9=>(_0x1584d9[_0x1584d9['Undefined']=0x0]=_0x384d48(0x206),_0x1584d9[_0x1584d9[_0x384d48(0x425)]=0x1]=_0x384d48(0x425),_0x1584d9[_0x1584d9[_0x384d48(0x3d9)]=0x2]=_0x384d48(0x3d9),_0x1584d9[_0x1584d9[_0x384d48(0x46d)]=0x3]='UnitEmbedded',_0x1584d9[_0x1584d9[_0x384d48(0x45a)]=0x4]='UnitSnapshot',_0x1584d9[_0x1584d9[_0x384d48(0x3ca)]=-0x1]=_0x384d48(0x3ca),_0x1584d9))(Ti||{});const q=_0x384d48(0x1b4),Wt={};var se=(_0x1bc8c3=>(_0x1bc8c3[_0x384d48(0x40b)]=_0x384d48(0x40b),_0x1bc8c3[_0x384d48(0x333)]='PERMISSION_DENIED',_0x1bc8c3[_0x384d48(0x3eb)]=_0x384d48(0x3eb),_0x1bc8c3[_0x384d48(0x205)]=_0x384d48(0x205),_0x1bc8c3['JOIN_ROOM_FAILED']=_0x384d48(0x170),_0x1bc8c3[_0x384d48(0x44b)]=_0x384d48(0x44b),_0x1bc8c3[_0x384d48(0x364)]=_0x384d48(0x364),_0x1bc8c3[_0x384d48(0x348)]=_0x384d48(0x348),_0x1bc8c3))(se||{});class pe{constructor(){var _0x2cb81d=_0x384d48;N(this,_0x2cb81d(0x287),new _0x14c30e()),N(this,_0x2cb81d(0x46a),this[_0x2cb81d(0x287)][_0x2cb81d(0x2f9)]());}['emitEvent'](_0xc71ca1){var _0x5a65d3=_0x384d48;this[_0x5a65d3(0x287)][_0x5a65d3(0x350)](_0xc71ca1);}}const Mn=_0x49fd55('univer-pro.collaboration-client.network-condition.service');function $n(_0x5e80d9){var _0x59b8a8=_0x384d48,_0x1a891c,_0xe0064,_0x38e161,_0x2536dc,_0x3cd24d;const _0x12cdde=_0x5e80d9[_0x59b8a8(0x32a)],_0x5aa246=JSON[_0x59b8a8(0x2e8)](_0x12cdde);switch(_0x5aa246[_0x59b8a8(0x3c4)]){case F[_0x59b8a8(0x27a)]:case F[_0x59b8a8(0x45e)]:{const _0x43184f=_0x5aa246[_0x59b8a8(0x2d5)];return{..._0x5aa246,'data':_0x43184f,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};}case F[_0x59b8a8(0x420)]:{const _0x5934e8=_0x5aa246[_0x59b8a8(0x1e4)];return{..._0x5aa246,'data':_0x5934e8,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};}case F['RECV']:{const _0x4b692f=_0x5aa246[_0x59b8a8(0x31f)];switch(_0x4b692f[_0x59b8a8(0x290)]){case _0x51f52f[_0x59b8a8(0x20b)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x1a891c=_0x4b692f[_0x59b8a8(0x258)])==null?void 0x0:_0x1a891c['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x250)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0xe0064=_0x4b692f[_0x59b8a8(0x1a2)])==null?void 0x0:_0xe0064['cs']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x393)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x38e161=_0x4b692f[_0x59b8a8(0x3a7)])==null?void 0x0:_0x38e161['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x3a2)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x2536dc=_0x4b692f[_0x59b8a8(0x1e2)])==null?void 0x0:_0x2536dc['cs']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x17c)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':(_0x3cd24d=_0x4b692f[_0x59b8a8(0x2da)])==null?void 0x0:_0x3cd24d['cs']},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x2a3)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f['updateCursorEvent']},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f['USERS_ENTER']:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x2df)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x3ab)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x1bb)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x32e)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x180)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x2b0)]:case _0x51f52f[_0x59b8a8(0x1e5)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f['liveShareOperation']},'cmd':_0x5aa246['cmd']};case _0x51f52f['LIVESHARE_TERMINATE']:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x180)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x236)]:return{..._0x5aa246,'data':_0x4b692f,'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x377)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x1ee)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x462)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x213)]},'cmd':_0x5aa246[_0x59b8a8(0x3c4)]};case _0x51f52f[_0x59b8a8(0x3d5)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x2c2)]},'cmd':_0x5aa246['cmd']};case _0x51f52f[_0x59b8a8(0x1a1)]:return{..._0x5aa246,'data':{..._0x4b692f,'data':_0x4b692f[_0x59b8a8(0x334)]},'cmd':_0x5aa246['cmd']};default:return _0x5aa246;}}default:return _0x5aa246;}}function Hn(_0x582fc4){var _0x404be9=_0x384d48;switch(_0x582fc4['cmd']){case F[_0x404be9(0x27a)]:case F[_0x404be9(0x45e)]:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4[_0x404be9(0x3fa)]});case F[_0x404be9(0x1bc)]:{let _0x3fac01;switch(_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x290)]){case _0x51f52f[_0x404be9(0x2a3)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x2a3)],'updateCursorEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x3ab)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x3ab)],'leaveEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x1f5)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x1f5)],'joinEvent':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f['LIVESHARE_NEW_HOST']:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x32e)],'liveShareNewHost':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x1e5)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x1e5)],'liveShareOperation':_0x582fc4['data']['data']};break;}case _0x51f52f[_0x404be9(0x237)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x237)],'liveShareTerminate':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x3c2)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x3c2)],'liveShareRequestHost':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x32a)]};break;}case _0x51f52f[_0x404be9(0x2b0)]:{_0x3fac01={'eventID':_0x51f52f[_0x404be9(0x2b0)]};break;}default:_0x3fac01={'eventID':_0x582fc4[_0x404be9(0x32a)][_0x404be9(0x290)]};}return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4['routeKey'],'collaMsg':_0x3fac01});}case F['JOIN']:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4['cmd'],'routeKey':_0x582fc4[_0x404be9(0x3fa)],'joinReq':_0x582fc4['data']});case F[_0x404be9(0x423)]:return JSON[_0x404be9(0x3a9)]({'cmd':_0x582fc4[_0x404be9(0x3c4)],'routeKey':_0x582fc4[_0x404be9(0x3fa)],'leaveReq':_0x582fc4[_0x404be9(0x32a)]});default:throw new Error(_0x404be9(0x3f9));}}var kn=Object[_0x384d48(0x1e0)],jn=Object[_0x384d48(0x1b2)],Bn=(_0x4ae034,_0x88e8eb,_0x157d89,_0x103f06)=>{var _0x371d18=_0x384d48;for(var _0x196e8a=_0x103f06>0x1?void 0x0:_0x103f06?jn(_0x88e8eb,_0x157d89):_0x88e8eb,_0xd90d75=_0x4ae034[_0x371d18(0x20c)]-0x1,_0x1b9499;_0xd90d75>=0x0;_0xd90d75--)(_0x1b9499=_0x4ae034[_0xd90d75])&&(_0x196e8a=(_0x103f06?_0x1b9499(_0x88e8eb,_0x157d89,_0x196e8a):_0x1b9499(_0x196e8a))||_0x196e8a);return _0x103f06&&_0x196e8a&&kn(_0x88e8eb,_0x157d89,_0x196e8a),_0x196e8a;},Ue=(_0x34890a,_0x10d8f4)=>(_0x500972,_0x29a3b3)=>_0x10d8f4(_0x500972,_0x29a3b3,_0x34890a);const Ci=_0x49fd55('univer-pro.collaboration-client-socket-service');function Fn(_0x1de315,_0x13e383,_0x5ab160){var _0x4efdaa=_0x384d48;return _0x1de315+'/'+_0x13e383+'/unit/'+_0x5ab160+_0x4efdaa(0x443);}let Et=class extends _0x347757{constructor(_0x5ba96b,_0x3bc015,_0x37a7d9,_0x1562ed,_0x42493c){var _0x488e8b=_0x384d48;super(),this[_0x488e8b(0x3d1)]=_0x5ba96b,this[_0x488e8b(0x41d)]=_0x3bc015,this[_0x488e8b(0x1eb)]=_0x37a7d9,this['_logService']=_0x1562ed,this[_0x488e8b(0x2fa)]=_0x42493c;}[_0x384d48(0x19e)](_0x3ac60e){var _0x2db3ad=_0x384d48;const _0x197af2=this[_0x2db3ad(0x3d1)][_0x2db3ad(0x2a9)](_0xc55183);if(!_0x197af2)throw new Error(_0x2db3ad(0x345));const _0x54d322=_0x197af2[_0x2db3ad(0x19e)](_0x3ac60e);if(!_0x54d322)throw new Error(_0x2db3ad(0x268));const _0x47e149=new _0x1c03cd(),_0x24dfd5=new _0x14c30e();_0x47e149[_0x2db3ad(0x2e3)](_0x54d322['close$'][_0x2db3ad(0x33b)](_0x31bec8=>_0x24dfd5['next'](_0x31bec8))),_0x47e149[_0x2db3ad(0x2e3)](_0x529a4c(()=>_0x24dfd5[_0x2db3ad(0x2ae)]()));const _0x1ce4ba=new _0x14c30e();_0x47e149[_0x2db3ad(0x2e3)](_0x54d322[_0x2db3ad(0x3ae)]['subscribe'](_0x573b49=>_0x1ce4ba['next'](_0x573b49))),_0x47e149['add'](_0x529a4c(()=>_0x1ce4ba['complete']()));const _0x7c7e5a=new _0x14c30e();_0x47e149['add'](_0x54d322[_0x2db3ad(0x356)][_0x2db3ad(0x33b)](_0x27d935=>{var _0x1cd624=_0x2db3ad;const _0x522eb2=$n(_0x27d935);_0x7c7e5a[_0x1cd624(0x350)](_0x522eb2);})),_0x47e149[_0x2db3ad(0x2e3)](_0x529a4c(()=>_0x7c7e5a[_0x2db3ad(0x2ae)]()));let _0x3ee0ad;const _0x2d4007=()=>{var _0x1e439d=_0x2db3ad;_0x1ce4ba[_0x1e439d(0x350)](new Event('connection\x20error')),_0x24dfd5[_0x1e439d(0x350)](new CloseEvent(_0x1e439d(0x45c))),_0x3ee0ad[_0x1e439d(0x3b9)]();};return _0x3ee0ad={'memberID':'','close$':_0x24dfd5['asObservable'](),'error$':_0x1ce4ba[_0x2db3ad(0x2f9)](),'open$':_0x54d322[_0x2db3ad(0x3f2)],'message$':_0x7c7e5a['asObservable'](),'send':_0x7fb52c=>{var _0x5d3e9a=_0x2db3ad;if(_0x7fb52c[_0x5d3e9a(0x3c4)]===F['INGEST']){if(_0x7fb52c[_0x5d3e9a(0x32a)][_0x5d3e9a(0x290)]===_0x51f52f[_0x5d3e9a(0x34e)]){this[_0x5d3e9a(0x39f)](_0x3ee0ad,_0x7fb52c[_0x5d3e9a(0x32a)])[_0x5d3e9a(0x21a)](_0x5bee7c=>{var _0x1134cb=_0x5d3e9a;this[_0x1134cb(0x1ea)][_0x1134cb(0x466)](_0x5bee7c),_0x2d4007();});return;}if(_0x7fb52c[_0x5d3e9a(0x32a)][_0x5d3e9a(0x290)]===_0x51f52f['FETCH_MISSING']){const _0x4086e2=_0x7fb52c[_0x5d3e9a(0x32a)];this[_0x5d3e9a(0x291)](_0x4086e2)['then'](_0x29f246=>{var _0xb9617f=_0x5d3e9a;_0x7c7e5a[_0xb9617f(0x350)]({'cmd':F[_0xb9617f(0x394)],'code':Ee['OK'],'routeKey':_0x4086e2[_0xb9617f(0x32a)][_0xb9617f(0x177)],'routeType':'','data':{'eventID':_0x51f52f[_0xb9617f(0x1ba)],'data':{'changesets':_0x29f246}}});})[_0x5d3e9a(0x21a)](_0x3a343a=>{var _0x5c509a=_0x5d3e9a;this[_0x5c509a(0x1ea)][_0x5c509a(0x466)](_0x3a343a),_0x2d4007();});return;}}_0x54d322['send'](Hn(_0x7fb52c));},'close':()=>{var _0xecad20=_0x2db3ad;_0x54d322[_0xecad20(0x3b9)](),_0x47e149[_0xecad20(0x2dd)]();}},_0x3ee0ad;}async['_submitChangeset'](_0x15c051,_0x5967ec){var _0x5c01e4=_0x384d48,_0x2692fe,_0x2749bb;const {unitType:_0x2f75f9,unitID:_0x306a0d,changeset:_0x4570ad}=_0x5967ec['data'],_0x594b4d={'unitID':_0x306a0d,'memberID':_0x15c051['memberID'],'type':_0x2f75f9,'changeset':_0x180124(_0x4570ad)},_0x1ac180=this[_0x5c01e4(0x1eb)]['getConfig'](Un),_0x288d1d=this[_0x5c01e4(0x1eb)][_0x5c01e4(0x3c7)](q),_0x52fa75=Fn((_0x2749bb=(_0x2692fe=_0x288d1d==null?void 0x0:_0x288d1d[_0x5c01e4(0x1c1)])!=null?_0x2692fe:_0x1ac180)!=null?_0x2749bb:An,_0x2f75f9,_0x306a0d);try{await this['_http'][_0x5c01e4(0x432)](_0x52fa75,{'body':_0x594b4d});}catch(_0x1a2b9e){throw this[_0x5c01e4(0x1ea)][_0x5c01e4(0x466)](_0x5c01e4(0x373),_0x5c01e4(0x2b5)),_0x1a2b9e;}}async[_0x384d48(0x291)](_0x567e3b){var _0x1cf37f=_0x384d48;const {unitID:_0x537d35,from:_0x55a22b,to:_0x55089d,unitType:_0x1499a3}=_0x567e3b[_0x1cf37f(0x32a)];return(await this[_0x1cf37f(0x2fa)][_0x1cf37f(0x3dd)]({'metadata':void 0x0},{'unitID':_0x537d35,'type':_0x1499a3,'from':_0x55a22b,'to':_0x55089d}))['changesets'];}};Et=Bn([Ue(0x0,_0x524d9b(_0x1e48d3)),Ue(0x1,_0x524d9b(_0x1fa986)),Ue(0x2,_0x3564e5),Ue(0x3,_0x1e9a27),Ue(0x4,_0x46e3e3)],Et);const Vn='collaboration_new_changeset';function Gn(_0x4abd44){var _0x549e10=_0x384d48;return JSON[_0x549e10(0x3a9)](_0x4abd44)[_0x549e10(0x20c)];}class Ri{constructor(){var _0xeab724=_0x384d48;N(this,'_commentUpdate$',new _0x14c30e()),N(this,'commentUpdate$',this[_0xeab724(0x31b)][_0xeab724(0x2f9)]());}[_0x384d48(0x1f4)](_0x45f973){var _0x583665=_0x384d48;this[_0x583665(0x31b)]['next'](_0x45f973);}}var Wn=Object[_0x384d48(0x1e0)],Kn=Object[_0x384d48(0x1b2)],Yn=(_0x39957b,_0x58e03e,_0x4caf84,_0x3ead7d)=>{var _0x3d15bf=_0x384d48;for(var _0x536a02=_0x3ead7d>0x1?void 0x0:_0x3ead7d?Kn(_0x58e03e,_0x4caf84):_0x58e03e,_0x3a0847=_0x39957b[_0x3d15bf(0x20c)]-0x1,_0x2d2e14;_0x3a0847>=0x0;_0x3a0847--)(_0x2d2e14=_0x39957b[_0x3a0847])&&(_0x536a02=(_0x3ead7d?_0x2d2e14(_0x58e03e,_0x4caf84,_0x536a02):_0x2d2e14(_0x536a02))||_0x536a02);return _0x3ead7d&&_0x536a02&&Wn(_0x58e03e,_0x4caf84,_0x536a02),_0x536a02;},Kt=(_0x383e93,_0x124b51)=>(_0x1b4893,_0x1c2d46)=>_0x124b51(_0x1b4893,_0x1c2d46,_0x383e93);let xe=class extends _0x347757{constructor(_0x2db08c,_0x163744){var _0x3ad300=_0x384d48;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x14c30e()),(this[_0x3ad300(0x2f7)]=_0x2db08c,this['_userManagerService']=_0x163744,this[_0x3ad300(0x446)](_0x178676(this[_0x3ad300(0x2f7)][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x34d)])[_0x3ad300(0x3b3)](_0x4f7920(_0x27eda9=>_0x27eda9[_0x3ad300(0x363)]())),this['_univerInstanceService'][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x3c0)])[_0x3ad300(0x3b3)](_0x4f7920(_0x1a9640=>_0x1a9640[_0x3ad300(0x363)]())),this[_0x3ad300(0x2f7)][_0x3ad300(0x18f)](_0x5deaa7[_0x3ad300(0x3f8)])[_0x3ad300(0x3b3)](_0x4f7920(_0x2b5954=>_0x2b5954[_0x3ad300(0x363)]())))['subscribe'](_0x48c76c=>this[_0x3ad300(0x216)](_0x48c76c))));}[_0x384d48(0x1d9)](_0x3cf092){var _0x1c856e=_0x384d48;return this['_roomMembers'][_0x1c856e(0x452)](_0x3cf092)?_0xd625e4(this[_0x1c856e(0x233)]['get'](_0x3cf092)):this[_0x1c856e(0x352)][_0x1c856e(0x3b3)](_0x4f7920(_0x1c4ab2=>{var _0x2f0795=_0x1c856e;if(_0x1c4ab2===_0x3cf092)return this[_0x2f0795(0x233)]['get'](_0x1c4ab2);}));}[_0x384d48(0x335)](_0x21f851){var _0xe04e26=_0x384d48;this[_0xe04e26(0x280)][_0xe04e26(0x335)](_0x21f851);}[_0x384d48(0x361)](){var _0x52ae9a=_0x384d48;return this[_0x52ae9a(0x280)][_0x52ae9a(0x361)]();}['updateMember'](_0x1d159e,_0x39a8fb){var _0x51ac1e=_0x384d48;let _0x3fd480=this[_0x51ac1e(0x233)][_0x51ac1e(0x2a9)](_0x1d159e);_0x3fd480||(_0x3fd480=new qn(),this[_0x51ac1e(0x233)][_0x51ac1e(0x376)](_0x1d159e,_0x3fd480),this[_0x51ac1e(0x352)][_0x51ac1e(0x350)](_0x1d159e)),_0x3fd480[_0x51ac1e(0x2bb)](_0x39a8fb);}[_0x384d48(0x1fe)](_0x2d72d5,_0x59ac3d){var _0x578909=_0x384d48;const _0x56172b=this[_0x578909(0x233)][_0x578909(0x2a9)](_0x2d72d5);_0x56172b&&_0x56172b[_0x578909(0x1fe)](_0x59ac3d);}['getRoom'](_0x524708){var _0x47aa0a=_0x384d48;return this[_0x47aa0a(0x233)][_0x47aa0a(0x2a9)](_0x524708);}['getMember'](_0x1414b9,_0x3374d6){var _0x294685=_0x384d48;const _0x1638a0=this[_0x294685(0x233)][_0x294685(0x2a9)](_0x1414b9);if(_0x1638a0)return _0x1638a0[_0x294685(0x400)](_0x3374d6);}[_0x384d48(0x216)](_0x24fbb4){var _0x4b928e=_0x384d48;const _0x5be078=this[_0x4b928e(0x233)]['get'](_0x24fbb4);_0x5be078&&(_0x5be078[_0x4b928e(0x2dd)](),this['_roomMembers']['delete'](_0x24fbb4));}[_0x384d48(0x2dd)](){var _0x5d3c11=_0x384d48;this['_roomMembers'][_0x5d3c11(0x261)](_0x33bf16=>_0x33bf16['dispose']()),this[_0x5d3c11(0x233)]['clear'](),this['_roomCreated$'][_0x5d3c11(0x2ae)]();}};xe=Yn([Kt(0x0,_0x588b40),Kt(0x1,_0x524d9b(_0x40a6c6))],xe);class qn extends _0x347757{constructor(){var _0x49157c=_0x384d48;super(...arguments),N(this,_0x49157c(0x2bd),new Map()),N(this,_0x49157c(0x21c),new _0x34646d(this[_0x49157c(0x2bd)])),N(this,'members$',this[_0x49157c(0x21c)]['asObservable']());}[_0x384d48(0x2dd)](){var _0x1bf5e8=_0x384d48;this[_0x1bf5e8(0x2bd)][_0x1bf5e8(0x296)]();}[_0x384d48(0x2bb)](_0x5eca83){var _0x3c0a66=_0x384d48;this[_0x3c0a66(0x2bd)]['set'](_0x5eca83['memberID'],_0x5eca83),this[_0x3c0a66(0x43d)]();}['removeMember'](_0x64e77a){var _0xb52dba=_0x384d48;this[_0xb52dba(0x2bd)][_0xb52dba(0x32f)](_0x64e77a);}[_0x384d48(0x400)](_0x1014a4){var _0x4808af=_0x384d48;return this[_0x4808af(0x2bd)][_0x4808af(0x2a9)](_0x1014a4);}['getAllMembers'](){var _0x134b46=_0x384d48;return Array[_0x134b46(0x38c)](this[_0x134b46(0x2bd)][_0x134b46(0x411)]());}[_0x384d48(0x43d)](){var _0x454221=_0x384d48;this[_0x454221(0x21c)][_0x454221(0x350)](this[_0x454221(0x2bd)]);}}var zn=Object[_0x384d48(0x1e0)],Jn=Object[_0x384d48(0x1b2)],Xn=(_0x4f30b4,_0x49708d,_0x405389,_0x54d691)=>{var _0x38ed41=_0x384d48;for(var _0x38676a=_0x54d691>0x1?void 0x0:_0x54d691?Jn(_0x49708d,_0x405389):_0x49708d,_0x3a0ee8=_0x4f30b4[_0x38ed41(0x20c)]-0x1,_0x5c01f8;_0x3a0ee8>=0x0;_0x3a0ee8--)(_0x5c01f8=_0x4f30b4[_0x3a0ee8])&&(_0x38676a=(_0x54d691?_0x5c01f8(_0x49708d,_0x405389,_0x38676a):_0x5c01f8(_0x38676a))||_0x38676a);return _0x54d691&&_0x38676a&&zn(_0x49708d,_0x405389,_0x38676a),_0x38676a;},me=(_0x87ecb2,_0x1eef76)=>(_0xc9d2fc,_0x193198)=>_0x1eef76(_0xc9d2fc,_0x193198,_0x87ecb2),Te=(_0xa71d6e=>(_0xa71d6e[_0xa71d6e[_0x384d48(0x42e)]=0x0]='IDLE',_0xa71d6e[_0xa71d6e[_0x384d48(0x276)]=0x1]=_0x384d48(0x276),_0xa71d6e[_0xa71d6e[_0x384d48(0x1d1)]=0x2]=_0x384d48(0x1d1),_0xa71d6e[_0xa71d6e['ONLINE']=0x3]=_0x384d48(0x1d5),_0xa71d6e))(Te||{});const Yt={[Ee[_0x384d48(0x337)]]:_0x384d48(0x413),[Ee[_0x384d48(0x340)]]:_0x384d48(0x448),[Ee[_0x384d48(0x196)]]:'session.room-not-exists',[Ee[_0x384d48(0x388)]]:'session.room-permission-denied',[Ee[_0x384d48(0x390)]]:_0x384d48(0x401)};let It=class extends _0x2c70a0{constructor(_0x2a1595,_0x7ed23,_0x247998,_0x557fa1,_0x40d0a5,_0x115089,_0x359b24,_0x2fa12f,_0x4c1aa7){var _0x111c6f=_0x384d48;super(),N(this,_0x111c6f(0x260),new _0x34646d(0x0)),N(this,_0x111c6f(0x19c),this['_sessionStatus$'][_0x111c6f(0x2f9)]()),N(this,_0x111c6f(0x287),new _0x14c30e()),N(this,_0x111c6f(0x46a),this[_0x111c6f(0x287)][_0x111c6f(0x2f9)]()),N(this,'_socket'),N(this,_0x111c6f(0x2b1)),N(this,_0x111c6f(0x38d)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x111c6f(0x46c),null),(this[_0x111c6f(0x2aa)]=_0x2a1595,this[_0x111c6f(0x1ea)]=_0x247998,this[_0x111c6f(0x1eb)]=_0x557fa1,this['_localeService']=_0x40d0a5,this['_memberService']=_0x115089,this[_0x111c6f(0x312)]=_0x359b24,this['_collaborationUIEventService']=_0x2fa12f,this[_0x111c6f(0x342)]=_0x4c1aa7,this[_0x111c6f(0x449)]=!!this[_0x111c6f(0x342)],_0x7ed23['pipe'](_0x10b867(this[_0x111c6f(0x374)]))[_0x111c6f(0x33b)](_0x2e581b=>{var _0x3607e7=_0x111c6f,_0x134f0f;typeof _0x2e581b>'u'||(this['_socket']=_0x2e581b,_0x2e581b?(this[_0x3607e7(0x256)](_0x2e581b),this['_socketMessageSubscription']=_0x2e581b[_0x3607e7(0x356)][_0x3607e7(0x33b)](_0x314e7c=>{var _0x1c9dc9=_0x3607e7;_0x314e7c[_0x1c9dc9(0x3fa)]===this['_unitID']&&this[_0x1c9dc9(0x43c)](_0x314e7c);})):(this[_0x3607e7(0x454)](),this[_0x3607e7(0x260)][_0x3607e7(0x350)](0x2),(_0x134f0f=this['_socketMessageSubscription'])==null||_0x134f0f[_0x3607e7(0x2e6)](),this[_0x3607e7(0x2b1)]=null));}));}get[_0x384d48(0x229)](){var _0x40cd81=_0x384d48;return this[_0x40cd81(0x260)]['getValue']();}['getMemberID'](){var _0x2bd41a=_0x384d48,_0x1af86b,_0x9a6bc5;return(_0x9a6bc5=(_0x1af86b=this[_0x2bd41a(0x402)])==null?void 0x0:_0x1af86b[_0x2bd41a(0x38f)])!=null?_0x9a6bc5:null;}[_0x384d48(0x2dd)](){var _0x1ddf59=_0x384d48;super[_0x1ddf59(0x2dd)](),this[_0x1ddf59(0x374)][_0x1ddf59(0x350)](),this[_0x1ddf59(0x374)][_0x1ddf59(0x2ae)]();}[_0x384d48(0x3b9)](){var _0x1195ff=_0x384d48,_0x363823,_0x22532f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x363823=this[_0x1195ff(0x402)])==null||_0x363823[_0x1195ff(0x3d6)]({'cmd':F[_0x1195ff(0x423)],'data':{'roomID':this[_0x1195ff(0x2aa)]}}),(_0x22532f=this['_socket'])==null||_0x22532f[_0x1195ff(0x3b9)](),this[_0x1195ff(0x287)]['complete'](),this['_sessionStatus$'][_0x1195ff(0x2ae)](),this['dispose']();}[_0x384d48(0x43c)](_0x4ed0f2){var _0x1fad1e=_0x384d48;_0x4ed0f2[_0x1fad1e(0x3c4)]===F[_0x1fad1e(0x420)]?this[_0x1fad1e(0x25d)](_0x4ed0f2):_0x4ed0f2[_0x1fad1e(0x3c4)]===F[_0x1fad1e(0x394)]&&this[_0x1fad1e(0x215)](_0x4ed0f2);}[_0x384d48(0x256)](_0x5e6e9d){var _0x353505=_0x384d48;this['_sessionStatus$'][_0x353505(0x350)](0x1),_0x5e6e9d[_0x353505(0x3d6)]({'cmd':F['JOIN'],'routeKey':this[_0x353505(0x2aa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x353505(0x2aa)]}]}});}[_0x384d48(0x25d)](_0x216451){var _0x48d044=_0x384d48,_0x46daf7;if(_0x216451[_0x48d044(0x1f8)]in Yt){this[_0x48d044(0x465)][_0x48d044(0x306)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x216451[_0x48d044(0x1f8)]]}),this[_0x48d044(0x260)][_0x48d044(0x350)](0x2);return;}this[_0x48d044(0x260)]['next'](0x3);const _0x46f11f=(_0x46daf7=_0x216451['data'][_0x48d044(0x3e9)][this[_0x48d044(0x2aa)]])==null?void 0x0:_0x46daf7[_0x48d044(0x28a)];_0x46f11f&&_0x46f11f[_0x48d044(0x261)](_0x23d8df=>this['_memberService'][_0x48d044(0x2bb)](this[_0x48d044(0x2aa)],_0x23d8df));}[_0x384d48(0x215)](_0x1f1727){var _0x964cc=_0x384d48;try{const _0x530938=_0x1f1727[_0x964cc(0x32a)];switch(_0x530938[_0x964cc(0x290)]){case _0x51f52f[_0x964cc(0x1f5)]:this[_0x964cc(0x3c9)](_0x530938),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['USERS_LEAVE']:this[_0x964cc(0x3a8)](_0x530938),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['CHANGESET_ACK']:case _0x51f52f['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x964cc(0x319)](),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['MSG_FOR_ERROR']:this[_0x964cc(0x1ea)][_0x964cc(0x466)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x964cc(0x3a9)](_0x530938)),this['_event$'][_0x964cc(0x350)](_0x530938);break;case _0x51f52f['COMMENT_UPDATE']:this['_commentService'][_0x964cc(0x1f4)](_0x530938[_0x964cc(0x32a)]),this[_0x964cc(0x287)][_0x964cc(0x350)](_0x530938);break;default:this['_event$'][_0x964cc(0x350)](_0x530938);}}catch(_0x193f0a){this[_0x964cc(0x1ea)][_0x964cc(0x466)](_0x193f0a,_0x1f1727);}}[_0x384d48(0x3c9)](_0x9bc874){var _0x3712fe=_0x384d48;this[_0x3712fe(0x473)]['updateMember'](this[_0x3712fe(0x2aa)],_0x9bc874[_0x3712fe(0x32a)]);}[_0x384d48(0x3a8)](_0x1e8e63){var _0x45c9d6=_0x384d48;this[_0x45c9d6(0x473)][_0x45c9d6(0x1fe)](this[_0x45c9d6(0x2aa)],_0x1e8e63[_0x45c9d6(0x32a)][_0x45c9d6(0x38f)]);}async[_0x384d48(0x3d6)](_0x378f36,_0x404527){var _0x1d3e53=_0x384d48;if(this[_0x1d3e53(0x229)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x378f36[_0x1d3e53(0x290)]===_0x51f52f['SUBMIT_CHANGESET']&&(this[_0x1d3e53(0x3c3)](),this[_0x1d3e53(0x1cd)](_0x378f36)),this['_socket'][_0x1d3e53(0x3d6)]({'cmd':F['INGEST'],'routeKey':_0x404527,'routeType':'','data':_0x378f36});}catch(_0xadcfe6){this[_0x1d3e53(0x1ea)][_0x1d3e53(0x466)](_0xadcfe6);}}[_0x384d48(0x3c3)](){var _0x50b92a=_0x384d48,_0x36e410;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x18bc64=_0x56fc;this['_collaborationTimeoutTimer']=null,this[_0x18bc64(0x465)][_0x18bc64(0x306)]({'id':se[_0x18bc64(0x348)]});},(_0x36e410=this[_0x50b92a(0x1eb)][_0x50b92a(0x3c7)](Si))!=null?_0x36e410:Ei);}[_0x384d48(0x319)](){var _0x504070=_0x384d48;this[_0x504070(0x38d)]&&(clearTimeout(this[_0x504070(0x38d)]),this[_0x504070(0x38d)]=null);}[_0x384d48(0x1cd)](_0x617f8c){var _0x37c6d6=_0x384d48;if(!this[_0x37c6d6(0x449)])return;const {data:_0x599ab3}=_0x617f8c,{unitID:_0x5ca06b,changeset:_0x4a8df9}=_0x599ab3,{mutations:_0xbf8506,type:_0x26c707}=_0x4a8df9;this[_0x37c6d6(0x46c)]={'unitId':_0x5ca06b,'type':_0x26c707,'startTime':performance[_0x37c6d6(0x387)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0xbf8506)};}[_0x384d48(0x38b)](){var _0x31fea1=_0x384d48;if(this[_0x31fea1(0x449)]){if(!this['_telemetryInfo']){this[_0x31fea1(0x1ea)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x31fea1(0x46c)]['stopTime']=performance[_0x31fea1(0x387)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x31fea1(0x2d9)]-this[_0x31fea1(0x46c)][_0x31fea1(0x389)],this['_telemetryService'][_0x31fea1(0x217)](Vn,this[_0x31fea1(0x46c)]),this[_0x31fea1(0x46c)]=null;}}[_0x384d48(0x454)](){var _0xe291cc=_0x384d48;this[_0xe291cc(0x46c)]=null;}};It=Xn([me(0x2,_0x1e9a27),me(0x3,_0x3564e5),me(0x4,_0x524d9b(_0x3fdf27)),me(0x5,_0x524d9b(xe)),me(0x6,_0x524d9b(Ri)),me(0x7,_0x524d9b(pe)),me(0x8,_0x49b7db(_0x1b4275))],It);var Zn=Object[_0x384d48(0x1e0)],Qn=Object[_0x384d48(0x1b2)],er=(_0x2d9d18,_0x1cd4fe,_0x36d0d6,_0x443599)=>{var _0x5d857b=_0x384d48;for(var _0x3bdd73=_0x443599>0x1?void 0x0:_0x443599?Qn(_0x1cd4fe,_0x36d0d6):_0x1cd4fe,_0x114f39=_0x2d9d18[_0x5d857b(0x20c)]-0x1,_0x57a81e;_0x114f39>=0x0;_0x114f39--)(_0x57a81e=_0x2d9d18[_0x114f39])&&(_0x3bdd73=(_0x443599?_0x57a81e(_0x1cd4fe,_0x36d0d6,_0x3bdd73):_0x57a81e(_0x3bdd73))||_0x3bdd73);return _0x443599&&_0x3bdd73&&Zn(_0x1cd4fe,_0x36d0d6,_0x3bdd73),_0x3bdd73;},ge=(_0x1f6e99,_0xdfa482)=>(_0x57fa7d,_0x95c3ca)=>_0xdfa482(_0x57fa7d,_0x95c3ca,_0x1f6e99);let Le=class extends _0x347757{constructor(_0x3f7fd3,_0x42fe00,_0x342e1d,_0x15d923,_0x12d496,_0x35e8b7,_0x1edb7f){var _0x55985b=_0x384d48;super(),N(this,_0x55985b(0x1ca),new _0x34646d(void 0x0)),N(this,'socket$',this[_0x55985b(0x1ca)][_0x55985b(0x2f9)]()),N(this,'_candidateSocket',null),N(this,_0x55985b(0x3c8),new Map()),N(this,_0x55985b(0x371),new _0x34646d(Te[_0x55985b(0x42e)])),N(this,_0x55985b(0x3aa),this[_0x55985b(0x371)][_0x55985b(0x2f9)]()),N(this,_0x55985b(0x3ee),!0x1),N(this,_0x55985b(0x193)),N(this,_0x55985b(0x223),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x55985b(0x2a2)),(this[_0x55985b(0x3d1)]=_0x3f7fd3,this['_logService']=_0x42fe00,this[_0x55985b(0x1eb)]=_0x342e1d,this[_0x55985b(0x200)]=_0x15d923,this[_0x55985b(0x2a1)]=_0x12d496,this[_0x55985b(0x465)]=_0x35e8b7,this[_0x55985b(0x27e)]=_0x1edb7f,this['_listenToNetworkCondition']());}get[_0x384d48(0x402)](){var _0x57e8f1=_0x384d48;return this[_0x57e8f1(0x1ca)]['getValue']();}[_0x384d48(0x351)](){var _0x1a7e69=_0x384d48;this[_0x1a7e69(0x27e)]&&this[_0x1a7e69(0x446)](this['_networkConditionService'][_0x1a7e69(0x428)]['subscribe'](_0x11a484=>{var _0x886bc4=_0x1a7e69;_0x11a484&&!this[_0x886bc4(0x402)]&&this[_0x886bc4(0x253)](),_0x11a484||this[_0x886bc4(0x331)]();}));}[_0x384d48(0x2dd)](){var _0x44f99f=_0x384d48;super[_0x44f99f(0x2dd)](),this[_0x44f99f(0x3c8)]['forEach'](_0x5af3e9=>_0x5af3e9['dispose']()),this[_0x44f99f(0x3c8)][_0x44f99f(0x296)](),this['_status$'][_0x44f99f(0x2ae)]();}async[_0x384d48(0x1bd)](_0xfb20a3){var _0x18dbae=_0x384d48;if(this[_0x18dbae(0x3c8)][_0x18dbae(0x452)](_0xfb20a3))return this[_0x18dbae(0x3c8)][_0x18dbae(0x2a9)](_0xfb20a3);this['_tryEnsureSocket']();const _0x5886b3=this[_0x18dbae(0x3d1)][_0x18dbae(0x29a)](It,_0xfb20a3,this['_socket$'][_0x18dbae(0x2f9)]());return this['_sessions']['set'](_0xfb20a3,_0x5886b3),_0x5886b3;}[_0x384d48(0x46e)](_0x5b43a3){var _0x461082=_0x384d48,_0x50e399;const _0x5af91f=this['_sessions'][_0x461082(0x2a9)](_0x5b43a3);_0x5af91f&&(this[_0x461082(0x3c8)][_0x461082(0x32f)](_0x5b43a3),_0x5af91f[_0x461082(0x3b9)]()),this[_0x461082(0x3c8)][_0x461082(0x1cc)]||(_0x50e399=this[_0x461082(0x402)])==null||_0x50e399['close']();}['reconnect'](){var _0xf4c918=_0x384d48;this[_0xf4c918(0x223)]=0x0,this[_0xf4c918(0x193)]!=null&&(clearTimeout(this[_0xf4c918(0x193)]),this[_0xf4c918(0x193)]=null),this[_0xf4c918(0x273)]();}async[_0x384d48(0x2d1)](){var _0x22dd30=_0x384d48,_0x1824cf,_0x232e0d,_0x26e6b3;const _0x1676bf=this[_0x22dd30(0x1eb)]['getConfig'](q),_0x36cd85=(_0x1824cf=_0x1676bf==null?void 0x0:_0x1676bf[_0x22dd30(0x22f)])!=null?_0x1824cf:On;return(_0x26e6b3=(_0x232e0d=(await this[_0x22dd30(0x2a1)][_0x22dd30(0x2a9)](_0x36cd85,{'headers':{'Content-Type':_0x22dd30(0x19b)}}))[_0x22dd30(0x2ba)])==null?void 0x0:_0x232e0d[_0x22dd30(0x3e8)])!=null?_0x26e6b3:'';}[_0x384d48(0x2c9)](_0x1c785d){var _0x51a085=_0x384d48,_0x496d08,_0xdc66c4;const _0x7aa479=this[_0x51a085(0x1eb)][_0x51a085(0x3c7)](Rn),_0x1a582d=this[_0x51a085(0x1eb)][_0x51a085(0x3c7)](q),_0x1a7658=(_0xdc66c4=(_0x496d08=_0x1a582d==null?void 0x0:_0x1a582d[_0x51a085(0x19f)])!=null?_0x496d08:_0x7aa479)!=null?_0xdc66c4:bn,_0x1eb305=typeof window>'u'?new URL(_0x1a7658):new URL(_0x1a7658,window['location'][_0x51a085(0x2bf)]);_0x1eb305[_0x51a085(0x24a)][_0x51a085(0x376)](_0x51a085(0x311),_0x1c785d);const _0x230c0d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x230c0d['get'](_0x51a085(0x29b))&&_0x1eb305[_0x51a085(0x24a)][_0x51a085(0x376)](_0x51a085(0x29b),_0x230c0d[_0x51a085(0x2a9)](_0x51a085(0x29b))),_0x1eb305[_0x51a085(0x2a4)]();}async[_0x384d48(0x1b0)](){var _0x26623d=_0x384d48;const _0x347e66=await this[_0x26623d(0x2d1)](),_0x3d9591=this[_0x26623d(0x2c9)](_0x347e66),_0x2b284f=this['_socketService'][_0x26623d(0x19e)](_0x3d9591);return this[_0x26623d(0x3ec)]=_0x2b284f,_0x2b284f;}async['_tryEnsureSocket'](){var _0x2c0b44=_0x384d48,_0x246564,_0x35329e;try{const _0x2fcb18=(_0x35329e=(_0x246564=this[_0x2c0b44(0x402)])!=null?_0x246564:this[_0x2c0b44(0x3ec)])!=null?_0x35329e:await this[_0x2c0b44(0x1b0)]();if(_0x2fcb18){const _0x4a27cf=_0x2fcb18[_0x2c0b44(0x3d6)];_0x2fcb18[_0x2c0b44(0x3d6)]=_0x44cbfc=>(this[_0x2c0b44(0x191)](),_0x4a27cf[_0x2c0b44(0x382)](_0x2fcb18,[_0x44cbfc])),_0x2fcb18[_0x2c0b44(0x356)]['subscribe'](_0x3dff00=>this[_0x2c0b44(0x190)](_0x2fcb18,_0x3dff00)),_0x2fcb18[_0x2c0b44(0x3ae)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](_0x579221=>this['_logService']['error'](_0x2c0b44(0x25c),_0x579221)),_0x2fcb18[_0x2c0b44(0x3f2)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](()=>{this['_onConnectionOpen'](_0x2fcb18);}),_0x2fcb18[_0x2c0b44(0x1a3)][_0x2c0b44(0x3b3)](_0x2394d8(0x1))[_0x2c0b44(0x33b)](_0x1c7464=>{var _0xe2e12b=_0x2c0b44;this[_0xe2e12b(0x1ea)][_0xe2e12b(0x1b5)](_0xe2e12b(0x357),'socket\x20close',_0x1c7464),this[_0xe2e12b(0x3f6)]();});}}catch(_0x5c8ca2){this[_0x2c0b44(0x1ea)][_0x2c0b44(0x466)](_0x5c8ca2),this[_0x2c0b44(0x3f6)]();}}[_0x384d48(0x3e4)](_0x4e4b81){var _0x4aa852=_0x384d48;this[_0x4aa852(0x1ea)][_0x4aa852(0x1b5)](_0x4aa852(0x357),_0x4aa852(0x403)),_0x4e4b81[_0x4aa852(0x3d6)]({'cmd':F['HELLO']}),this[_0x4aa852(0x191)]();}[_0x384d48(0x331)](){var _0x377a3a=_0x384d48;this[_0x377a3a(0x3ee)]=!0x1,this[_0x377a3a(0x3ec)]=null,this[_0x377a3a(0x371)][_0x377a3a(0x350)](Te[_0x377a3a(0x1d1)]),this[_0x377a3a(0x1ca)][_0x377a3a(0x350)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x6e0dfe=_0x384d48,_0x5a4a3d;this[_0x6e0dfe(0x331)](),this[_0x6e0dfe(0x223)]<((_0x5a4a3d=this['_configService'][_0x6e0dfe(0x3c7)](Pn))!=null?_0x5a4a3d:wn)?(this[_0x6e0dfe(0x465)]['emitEvent']({'id':se[_0x6e0dfe(0x44b)]}),this[_0x6e0dfe(0x273)]()):this[_0x6e0dfe(0x465)][_0x6e0dfe(0x306)]({'id':se[_0x6e0dfe(0x364)]});}[_0x384d48(0x273)](){var _0x106005=_0x384d48,_0x364d10;const _0x281cab=this[_0x106005(0x223)],_0x5ed98d=this['_configService'][_0x106005(0x3c7)](q),_0x3f6384=_0x281cab===0x0?0x0:((_0x364d10=_0x5ed98d==null?void 0x0:_0x5ed98d['retryConnectingInterval'])!=null?_0x364d10:Dn)*0x2**_0x281cab;this[_0x106005(0x193)]=setTimeout(()=>{var _0x26662c=_0x106005;clearTimeout(this[_0x26662c(0x193)]),this[_0x26662c(0x193)]=null,this['_tryEnsureSocket']();},_0x3f6384),this['_retryCount']+=0x1;}[_0x384d48(0x190)](_0x5b278e,_0x306196){var _0xbcdc0=_0x384d48;const {cmd:_0x6cd594}=_0x306196;_0x6cd594===F[_0xbcdc0(0x45e)]&&!this[_0xbcdc0(0x3ee)]&&(_0x5b278e[_0xbcdc0(0x38f)]=_0x306196[_0xbcdc0(0x32a)][_0xbcdc0(0x38f)],this[_0xbcdc0(0x1ca)][_0xbcdc0(0x350)](_0x5b278e),this['_status$'][_0xbcdc0(0x350)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0xbcdc0(0x3ec)]=null),_0x6cd594===F[_0xbcdc0(0x27a)]&&this['_clearTimeoutTimer'](),this[_0xbcdc0(0x191)]();}[_0x384d48(0x191)](){var _0x1e3424=_0x384d48,_0x379f94;this[_0x1e3424(0x444)](),this[_0x1e3424(0x1d2)]=setTimeout(()=>this[_0x1e3424(0x231)](),(_0x379f94=this['_configService'][_0x1e3424(0x3c7)](yn))!=null?_0x379f94:Nn);}[_0x384d48(0x231)](){var _0x29b63e=_0x384d48;this['_socket']['send']({'cmd':F[_0x29b63e(0x27a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x367b51=_0x384d48,_0x1796f0;this[_0x367b51(0x2a2)]=setTimeout(()=>this[_0x367b51(0x3f6)](),(_0x1796f0=this[_0x367b51(0x1eb)][_0x367b51(0x3c7)](Si))!=null?_0x1796f0:Ei);}[_0x384d48(0x444)](){var _0x46fd2c=_0x384d48;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x46fd2c(0x1d2)]),this[_0x46fd2c(0x1d2)]=null);}[_0x384d48(0x175)](){var _0x3eafb3=_0x384d48;this[_0x3eafb3(0x2a2)]!=null&&(clearTimeout(this[_0x3eafb3(0x2a2)]),this[_0x3eafb3(0x2a2)]=null);}};Le=er([ge(0x0,_0x524d9b(_0x1e48d3)),ge(0x1,_0x1e9a27),ge(0x2,_0x3564e5),ge(0x3,Ci),ge(0x4,_0x524d9b(_0x1fa986)),ge(0x5,_0x524d9b(pe)),ge(0x6,_0x49b7db(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x384d48(0x372)]((n+0x100)[_0x384d48(0x2a4)](0x10)['slice'](0x1));function tr(_0x3ac2a1,_0x3cfad0=0x0){var _0xcc1b64=_0x384d48;return(V[_0x3ac2a1[_0x3cfad0+0x0]]+V[_0x3ac2a1[_0x3cfad0+0x1]]+V[_0x3ac2a1[_0x3cfad0+0x2]]+V[_0x3ac2a1[_0x3cfad0+0x3]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x4]]+V[_0x3ac2a1[_0x3cfad0+0x5]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x6]]+V[_0x3ac2a1[_0x3cfad0+0x7]]+'-'+V[_0x3ac2a1[_0x3cfad0+0x8]]+V[_0x3ac2a1[_0x3cfad0+0x9]]+'-'+V[_0x3ac2a1[_0x3cfad0+0xa]]+V[_0x3ac2a1[_0x3cfad0+0xb]]+V[_0x3ac2a1[_0x3cfad0+0xc]]+V[_0x3ac2a1[_0x3cfad0+0xd]]+V[_0x3ac2a1[_0x3cfad0+0xe]]+V[_0x3ac2a1[_0x3cfad0+0xf]])[_0xcc1b64(0x1a9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3c7330=_0x384d48;if(!ut){if(typeof crypto>'u'||!crypto[_0x3c7330(0x259)])throw new Error(_0x3c7330(0x3cf));ut=crypto['getRandomValues'][_0x3c7330(0x269)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x384d48(0x1d7)]&&crypto[_0x384d48(0x1d7)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x1edef8,_0xeccaed,_0x4da9c){var _0x195bea=_0x384d48,_0x55c23f,_0x30ee4b,_0x1feb9d;if(qt[_0x195bea(0x1d7)]&&!_0x1edef8)return qt[_0x195bea(0x1d7)]();_0x1edef8=_0x1edef8||{};const _0x4ba8ca=(_0x1feb9d=(_0x30ee4b=_0x1edef8['random'])!=null?_0x30ee4b:(_0x55c23f=_0x1edef8[_0x195bea(0x1ed)])==null?void 0x0:_0x55c23f[_0x195bea(0x1c4)](_0x1edef8))!=null?_0x1feb9d:nr();if(_0x4ba8ca[_0x195bea(0x20c)]<0x10)throw new Error(_0x195bea(0x375));return _0x4ba8ca[0x6]=_0x4ba8ca[0x6]&0xf|0x40,_0x4ba8ca[0x8]=_0x4ba8ca[0x8]&0x3f|0x80,tr(_0x4ba8ca);}const J=_0x49fd55(_0x384d48(0x2e1));function so(_0x31a06d){return'unit-cache-'+_0x31a06d;}var or=Object[_0x384d48(0x1e0)],ar=Object[_0x384d48(0x1b2)],cr=(_0x4849f1,_0x1b176c,_0x18be1a,_0x1164e8)=>{for(var _0x4c65d3=_0x1164e8>0x1?void 0x0:_0x1164e8?ar(_0x1b176c,_0x18be1a):_0x1b176c,_0xb955af=_0x4849f1['length']-0x1,_0x5de725;_0xb955af>=0x0;_0xb955af--)(_0x5de725=_0x4849f1[_0xb955af])&&(_0x4c65d3=(_0x1164e8?_0x5de725(_0x1b176c,_0x18be1a,_0x4c65d3):_0x5de725(_0x4c65d3))||_0x4c65d3);return _0x1164e8&&_0x4c65d3&&or(_0x1b176c,_0x18be1a,_0x4c65d3),_0x4c65d3;},dt=(_0x41094f,_0x4f2e66)=>(_0xcc7e9d,_0xee0678)=>_0x4f2e66(_0xcc7e9d,_0xee0678,_0x41094f);function hr(_0x3a0c37){var _0x447a6e=_0x384d48;const {unitID:_0x26e6dd,mutations:_0x2c1a58}=_0x3a0c37;return{'unitId':_0x26e6dd,'subUnitId':_0x2c1a58[0x0][_0x447a6e(0x1f6)][_0x447a6e(0x1b7)]};}let it=class{constructor(_0x4bdb0c,_0x11ce4a,_0x5c4b0d){var _0x48e788=_0x384d48;this['_injector']=_0x4bdb0c,this['_transformService']=_0x11ce4a,this[_0x48e788(0x310)]=_0x5c4b0d;}['transformSelections'](_0x11cb90){var _0x49ed15=_0x384d48,_0x2cb2d1,_0x16fd73,_0x3bf993,_0x463831;const _0x297313=this['_injector'][_0x49ed15(0x2a9)](_0x56d89c),{unitId:_0x37f950,subUnitId:_0x580fa9}=hr(_0x11cb90),_0x21d9ac=_0x297313==null?void 0x0:_0x297313['getWorkbookSelections'](_0x37f950)[_0x49ed15(0x43b)](),_0x224a3b=(_0x16fd73=(_0x2cb2d1=this['_instanceService'][_0x49ed15(0x2bc)](_0x37f950))==null?void 0x0:_0x2cb2d1[_0x49ed15(0x36d)]())==null?void 0x0:_0x16fd73[_0x49ed15(0x2f8)]();if(_0x21d9ac[_0x49ed15(0x20c)]===0x0||!_0x37f950||!_0x580fa9)return;const _0x25cdb5=[{'id':_0x37cbe9['id'],'params':{'unitId':_0x37f950,'subUnitId':_0x224a3b,'selections':_0xe421c3[_0x49ed15(0x248)](_0x21d9ac)}}],_0x41f4ef=this[_0x49ed15(0x33f)][_0x49ed15(0x2e2)](_0x11cb90,_0x25cdb5);if(!_0x5265cb(_0x41f4ef))throw _0x41f4ef[_0x49ed15(0x466)];const _0xd64fdf=(_0x463831=(_0x3bf993=_0x41f4ef[_0x49ed15(0x44d)][0x0])==null?void 0x0:_0x3bf993[_0x49ed15(0x1f6)])==null?void 0x0:_0x463831[_0x49ed15(0x1b3)];if(Array['isArray'](_0xd64fdf)&&_0xd64fdf[_0x49ed15(0x20c)]){if(_0xd64fdf[_0x49ed15(0x20c)]===_0x25cdb5[0x0][_0x49ed15(0x1f6)][_0x49ed15(0x1b3)][_0x49ed15(0x20c)]&&_0xd64fdf[_0x49ed15(0x380)]((_0x456b48,_0x5974ce)=>_0x96c0e2['equals'](_0x456b48[_0x49ed15(0x28b)],_0x25cdb5[0x0][_0x49ed15(0x1f6)][_0x49ed15(0x1b3)][_0x5974ce][_0x49ed15(0x28b)])))return;this[_0x49ed15(0x3d1)][_0x49ed15(0x2a9)](_0x3f1db4)[_0x49ed15(0x26a)](_0x37cbe9['id'],{'unitId':_0x37f950,'subUnitId':_0x224a3b,'selections':_0xd64fdf});}}};it=cr([dt(0x0,_0x524d9b(_0x1e48d3)),dt(0x1,_0x2e7c83),dt(0x2,_0x588b40)],it);const ht=_0x49fd55(_0x384d48(0x406));var bi=(_0x38f44f=>(_0x38f44f[_0x38f44f[_0x384d48(0x24c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x38f44f[_0x38f44f[_0x384d48(0x3cb)]=0x1]=_0x384d48(0x3cb),_0x38f44f))(bi||{});const _r=new Set([_0xace5c5['id']]);function zt(_0x41381e,_0x2cab88,_0xb1aabb,_0x317cb0,_0x24abbf){var _0x520274=_0x384d48,_0xc555e3,_0x50cf27,_0x3c7f94,_0x203980;const _0x514340=[];for(const _0x5c5494 of _0x41381e)if(_r[_0x520274(0x452)](_0x5c5494['id'])){if(_0x514340[_0x520274(0x20c)]>0x0)break;_0x514340['push'](_0x5c5494);break;}else _0x514340[_0x520274(0x372)](_0x5c5494);const _0x506388=(_0x50cf27=(_0xc555e3=_0x24abbf['getCurrentUser']())==null?void 0x0:_0xc555e3[_0x520274(0x327)])!=null?_0x50cf27:_0x520274(0x3b0),_0x13df67=(_0x203980=(_0x3c7f94=_0x24abbf[_0x520274(0x361)]())==null?void 0x0:_0x3c7f94[_0x520274(0x38f)])!=null?_0x203980:_0x520274(0x3b0);return{'changeset':{'unitID':_0x2cab88,'type':_0x41452d(_0xb1aabb['getUnitType'](_0x2cab88)),'baseRev':_0x317cb0[_0x520274(0x461)](_0x2cab88),'revision':0x0,'userID':_0x506388,'memberID':_0x13df67,'mutations':_0x514340},'pendingMutations':_0x41381e[_0x520274(0x1fc)](_0x514340[_0x520274(0x20c)])};}function lr(_0x23d107,_0x425429,_0x34265b,_0x34c370,_0x5202ac){var _0x323bc3=_0x384d48,_0x21c0e3,_0x18c078,_0xdd8e44,_0x42fc11;const _0x331372=[_0x23d107[_0x323bc3(0x2af)]((_0x445791,_0x1ddd1a)=>{var _0x57679e=_0x323bc3,_0x3b4926;const {id:_0x5be497}=_0x445791,{id:_0x48468c,type:_0x1aad21}=_0x1ddd1a,_0x511c91=(_0x3b4926=_0x445791[_0x57679e(0x1f6)])!=null?_0x3b4926:{'actions':null},_0x42a2ef=_0x1ddd1a[_0x57679e(0x1f6)];if(_0x5be497&&_0x5be497!==_0x48468c)throw new Error(_0x57679e(0x2f4)+_0x5be497+_0x57679e(0x26b)+_0x48468c+'.');return{..._0x445791,'id':_0x48468c,'type':_0x1aad21,'params':{'unitId':_0x42a2ef[_0x57679e(0x323)],'textRanges':_0x42a2ef[_0x57679e(0x385)],'actions':_0x5bbc99[_0x57679e(0x26e)](_0x511c91[_0x57679e(0x1e1)],_0x42a2ef['actions'])}};},{})],_0x3b51b1=(_0x18c078=(_0x21c0e3=_0x5202ac[_0x323bc3(0x361)]())==null?void 0x0:_0x21c0e3[_0x323bc3(0x327)])!=null?_0x18c078:_0x323bc3(0x3b0),_0x217ad6=(_0x42fc11=(_0xdd8e44=_0x5202ac[_0x323bc3(0x361)]())==null?void 0x0:_0xdd8e44['memberID'])!=null?_0x42fc11:'unknown';return{'changeset':{'unitID':_0x425429,'type':_0x41452d(_0x34265b['getUnitType'](_0x425429)),'baseRev':_0x34c370[_0x323bc3(0x461)](_0x425429),'revision':0x0,'userID':_0x3b51b1,'memberID':_0x217ad6,'mutations':_0x331372},'pendingMutations':[]};}function Oi(_0x2b88e9,_0x44cdad){var _0x4a1fd3=_0x384d48;const _0x5a242d=new _0x27baf2(0x1);return setTimeout(()=>_0x5a242d['next'](_0x44cdad),_0x2b88e9),_0x5a242d['asObservable']()[_0x4a1fd3(0x3b3)](_0x4c3c1b(0x1));}const ur={'id':_0x5ced12['id'],'type':_0x27f1c3['MUTATION'],'params':{}};var dr=Object[_0x384d48(0x1e0)],fr=Object[_0x384d48(0x1b2)],Re=(_0x1cbf8f,_0x2dafe8,_0x4b4c38,_0x10df0c)=>{var _0x55bdff=_0x384d48;for(var _0x376761=_0x10df0c>0x1?void 0x0:_0x10df0c?fr(_0x2dafe8,_0x4b4c38):_0x2dafe8,_0x1bcc1b=_0x1cbf8f[_0x55bdff(0x20c)]-0x1,_0x3c310a;_0x1bcc1b>=0x0;_0x1bcc1b--)(_0x3c310a=_0x1cbf8f[_0x1bcc1b])&&(_0x376761=(_0x10df0c?_0x3c310a(_0x2dafe8,_0x4b4c38,_0x376761):_0x3c310a(_0x376761))||_0x376761);return _0x10df0c&&_0x376761&&dr(_0x2dafe8,_0x4b4c38,_0x376761),_0x376761;},A=(_0x4f463b,_0x4419e7)=>(_0x4fdbd6,_0x224d80)=>_0x4419e7(_0x4fdbd6,_0x224d80,_0x4f463b),yi=(_0x1236e3=>(_0x1236e3[_0x384d48(0x24f)]=_0x384d48(0x41c),_0x1236e3[_0x384d48(0x37c)]=_0x384d48(0x1cb),_0x1236e3[_0x384d48(0x267)]=_0x384d48(0x302),_0x1236e3['AWAITING']='awaiting',_0x1236e3[_0x384d48(0x2a0)]=_0x384d48(0x219),_0x1236e3[_0x384d48(0x2ad)]='fetch_missing',_0x1236e3[_0x384d48(0x3eb)]=_0x384d48(0x35d),_0x1236e3[_0x384d48(0x1d1)]=_0x384d48(0x29e),_0x1236e3))(yi||{});const Ni=0xea60;class be{constructor(_0x505d9f,_0x1bda93,_0x3a8cda,_0x1c1737,_0x28d8c8,_0x58d2bc,_0x217e43,_0x12a2b8,_0x462fef){var _0x162623=_0x384d48;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x162623(0x177)]=_0x505d9f,this['type']=_0x1bda93,this[_0x162623(0x3f4)]=_0x28d8c8,this[_0x162623(0x235)]=_0x58d2bc,this[_0x162623(0x26f)]=_0x217e43,this[_0x162623(0x2c8)]=_0x12a2b8,this[_0x162623(0x1df)]=_0x462fef,this[_0x162623(0x232)]=_0x3a8cda,this['_pendingMutations']=_0x1c1737);}[_0x384d48(0x1d4)](_0x118972){var _0x225a78=_0x384d48;const _0x2d0ae8=this['_revisionService'][_0x225a78(0x461)](this[_0x225a78(0x177)]);return _0x118972[_0x225a78(0x397)]>_0x2d0ae8+0x1?(this[_0x225a78(0x3f4)]['onMissingChangesets']({'from':_0x2d0ae8,'to':_0x118972[_0x225a78(0x397)]-0x1}),!0x0):!0x1;}[_0x384d48(0x288)](_0x8ea36e){var _0x1efe79=_0x384d48;this[_0x1efe79(0x26f)][_0x1efe79(0x21f)](this[_0x1efe79(0x177)],_0x8ea36e);}[_0x384d48(0x2c6)](_0x4c793b){var _0x1a7c74=_0x384d48,_0x458410,_0xa07352;(_0xa07352=(_0x458410=this[_0x1a7c74(0x3f4)])[_0x1a7c74(0x424)])==null||_0xa07352[_0x1a7c74(0x1c4)](_0x458410,_0x4c793b);}[_0x384d48(0x18a)](_0x620d14){var _0x5cdc78=_0x384d48,_0x4fc1f0,_0xb04c7d;return(_0xb04c7d=(_0x4fc1f0=this[_0x5cdc78(0x3f4)])[_0x5cdc78(0x39d)])==null?void 0x0:_0xb04c7d[_0x5cdc78(0x1c4)](_0x4fc1f0,_0x620d14);}[_0x384d48(0x3fe)](_0x53eadf){var _0x30a2b6=_0x384d48,_0x4d4bd9,_0x2f0571;return(_0x2f0571=(_0x4d4bd9=this[_0x30a2b6(0x3f4)])[_0x30a2b6(0x1dd)])==null?void 0x0:_0x2f0571[_0x30a2b6(0x1c4)](_0x4d4bd9,_0x53eadf);}[_0x384d48(0x430)](_0x2a5c1a){var _0x27da7e=_0x384d48,_0x128134,_0x3e22b6,_0x14f187;return(_0x14f187=(_0x3e22b6=(_0x128134=this[_0x27da7e(0x3f4)])[_0x27da7e(0x1e6)])==null?void 0x0:_0x3e22b6[_0x27da7e(0x1c4)](_0x128134,_0x2a5c1a))!=null?_0x14f187:_0x2a5c1a;}[_0x384d48(0x421)](_0x342356){var _0x21203a=_0x384d48,_0x1c6d0b,_0x48ce75,_0x5817c8;return(_0x5817c8=(_0x48ce75=(_0x1c6d0b=this[_0x21203a(0x3f4)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48ce75[_0x21203a(0x1c4)](_0x1c6d0b,_0x342356))!=null?_0x5817c8:_0x342356;}[_0x384d48(0x46b)](_0x96fd04){var _0x55effb=_0x384d48,_0x41d0e1,_0x2889aa;if(this[_0x55effb(0x355)]===Q[_0x55effb(0x3c0)]){const {unitID:_0x397177,mutations:_0x4a20c7,memberID:_0x43616d}=_0x96fd04,_0x2f2e8e=_0x4a20c7[0x0][_0x55effb(0x1f6)][_0x55effb(0x385)];Array[_0x55effb(0x2f0)](_0x2f2e8e)&&_0x2f2e8e[_0x55effb(0x20c)]>0x0&&((_0x2889aa=(_0x41d0e1=this[_0x55effb(0x3f4)])[_0x55effb(0x365)])==null||_0x2889aa[_0x55effb(0x1c4)](_0x41d0e1,{'unitID':_0x397177,'memberID':_0x43616d,'textRanges':_0x2f2e8e}));}}[_0x384d48(0x391)](){var _0x5c0794=_0x384d48,_0x4e4a3c;(_0x4e4a3c=this['_localCacheService'])==null||_0x4e4a3c[_0x5c0794(0x3b8)](this[_0x5c0794(0x177)],this[_0x5c0794(0x355)],this[_0x5c0794(0x232)],this['_pendingMutations']);}[_0x384d48(0x22b)](){var _0x54bb08=_0x384d48;return this[_0x54bb08(0x2c8)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4e3f11=_0x384d48;this[_0x4e3f11(0x2c8)][_0x4e3f11(0x289)](this[_0x4e3f11(0x177)]);}[_0x384d48(0x339)](_0xb630db){var _0x304426=_0x384d48,_0x169637;let _0x2f9eaa=this[_0x304426(0x430)](_0xb630db);_0x2f9eaa=this['_transformRemoteChangesetByStateCache'](_0x2f9eaa);const _0x56b36c=_0x2a084b(_0x2f9eaa['mutations'],this[_0x304426(0x235)],{'fromCollab':!0x0});if(!_0x56b36c[_0x304426(0x284)])throw _0x56b36c[_0x304426(0x466)]instanceof Error?_0x56b36c[_0x304426(0x466)]:new Error((_0x169637=_0x56b36c['error'])!=null?_0x169637:_0x304426(0x2ca));this[_0x304426(0x18a)](_0x2f9eaa),this['_transformStateCache'](_0x2f9eaa),this[_0x304426(0x288)](_0xb630db),this[_0x304426(0x2c6)](_0x2f9eaa),this['_syncEditingCollabCursor'](_0x2f9eaa),this[_0x304426(0x1f0)]();}}let De=class extends be{constructor(_0x2acd22,_0x35b0c3,_0x4b4ab8,_0x3edefa,_0x1ff885,_0x36e880,_0x3f5346,_0x10225d,_0x3952ab,_0x22c89b){var _0x41b626=_0x384d48;super(_0x2acd22,_0x35b0c3,null,[],_0x4b4ab8,_0x3f5346,_0x36e880,_0x3edefa,_0x22c89b),N(this,'status',_0x41b626(0x1cb)),(this[_0x41b626(0x3d1)]=_0x1ff885,this['_logService']=_0x10225d,this[_0x41b626(0x33f)]=_0x3952ab,this[_0x41b626(0x201)]=_0x22c89b);}[_0x384d48(0x30b)](_0x3809eb){var _0x1cd325=_0x384d48;const _0x5cd1d9=this[_0x1cd325(0x3d1)][_0x1cd325(0x29a)](oe,this[_0x1cd325(0x177)],this[_0x1cd325(0x355)],[_0x3809eb],this['_handler']);return _0x5cd1d9[_0x1cd325(0x2c0)](),_0x5cd1d9[_0x1cd325(0x391)](),_0x5cd1d9;}['onRemoteChangeset'](_0x3e50da){var _0xacea4a=_0x384d48;if(this[_0xacea4a(0x1d4)](_0x3e50da))return this[_0xacea4a(0x3d1)][_0xacea4a(0x29a)](te,this[_0xacea4a(0x177)],this['type'],null,[],null,[_0x3e50da],this[_0xacea4a(0x3f4)]);try{const _0x424fc4=this[_0xacea4a(0x33f)][_0xacea4a(0x2e2)](_0x3e50da,[ur]);if(_0x5265cb(_0x424fc4)){const {c1Prime:_0x256950}=_0x424fc4;return this['_executeRemoteChangeset'](_0x256950),this;}throw _0x424fc4['error'];}catch(_0x7da211){return this[_0xacea4a(0x1ea)]['error'](_0x7da211),this['_onConflict'](!0x1);}}['_onConflict'](_0x48ab56){var _0x4972b4=_0x384d48;return this[_0x4972b4(0x3d1)][_0x4972b4(0x29a)](de,this[_0x4972b4(0x177)],this[_0x4972b4(0x355)],null,[],this['_handler'],_0x48ab56);}[_0x384d48(0x2b3)](){var _0x36c51b=_0x384d48;throw new Error(_0x36c51b(0x2b7));}[_0x384d48(0x32d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){var _0x4dda3c=_0x384d48;return this[_0x4dda3c(0x3d1)]['createInstance'](fe,this['unitID'],this['type'],null,[],this[_0x4dda3c(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x187daf=_0x384d48;throw new Error(_0x187daf(0x195));}[_0x384d48(0x2cd)](){var _0x3e97ed=_0x384d48;const _0x24abac=this['_revisionService'][_0x3e97ed(0x461)](this[_0x3e97ed(0x177)]);return this['_handler']['onMissingChangesets']({'from':_0x24abac,'to':0x0}),this['_injector'][_0x3e97ed(0x29a)](te,this[_0x3e97ed(0x177)],this[_0x3e97ed(0x355)],null,[],null,[],this[_0x3e97ed(0x3f4)]);}};De=Re([A(0x3,_0x524d9b(_0x32f691)),A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x2e02f4),A(0x6,_0x3f1db4),A(0x7,_0x1e9a27),A(0x8,_0x2e7c83),A(0x9,_0x49b7db(J))],De);let oe=class extends be{constructor(_0x405770,_0x406b5f,_0x587e57,_0x261622,_0x568c22,_0x665c8b,_0x2708e0,_0x5145fe,_0x53c733,_0x5979a4,_0x10c6a3,_0x48d781,_0xe2781e,_0x35a5a8){var _0x134bbc=_0x384d48;super(_0x405770,_0x406b5f,null,_0x587e57,_0x261622,_0x53c733,_0xe2781e,_0x665c8b,_0x35a5a8),N(this,_0x134bbc(0x230),_0x134bbc(0x302)),N(this,_0x134bbc(0x21d),null),N(this,_0x134bbc(0x2d0),null),(this[_0x134bbc(0x3d1)]=_0x568c22,this[_0x134bbc(0x473)]=_0x2708e0,this[_0x134bbc(0x1ea)]=_0x5145fe,this[_0x134bbc(0x1eb)]=_0x5979a4,this[_0x134bbc(0x33f)]=_0x10c6a3,this[_0x134bbc(0x2f7)]=_0x48d781);}['appendMutation'](_0x213d33){var _0x52bf2a=_0x384d48;return this[_0x52bf2a(0x2e0)][_0x52bf2a(0x372)](_0x213d33),this['_updateLocalCache'](),this;}[_0x384d48(0x1af)](_0x12f3fb){var _0x3a4e5e=_0x384d48;if(this['_checkMissing'](_0x12f3fb))return this['_clearScheduledTask'](),this[_0x3a4e5e(0x3d1)][_0x3a4e5e(0x29a)](te,this[_0x3a4e5e(0x177)],this[_0x3a4e5e(0x355)],null,this[_0x3a4e5e(0x2e0)],null,[_0x12f3fb],this[_0x3a4e5e(0x3f4)]);try{const _0x710361=this[_0x3a4e5e(0x33f)][_0x3a4e5e(0x2e2)](_0x12f3fb,this[_0x3a4e5e(0x2e0)]);if(_0x5265cb(_0x710361)){const {c1Prime:_0xeace61,m2Prime:_0x55daf2}=_0x710361;this[_0x3a4e5e(0x339)](_0xeace61);const _0x104343=this[_0x3a4e5e(0x3d1)][_0x3a4e5e(0x29a)](oe,this[_0x3a4e5e(0x177)],this['type'],_0x55daf2,this[_0x3a4e5e(0x3f4)]);this[_0x3a4e5e(0x2c4)]();const _0x43f77b=new Date()[_0x3a4e5e(0x1b9)](),_0x190b36=this['_scheduleCompleteTimestamp']?Math[_0x3a4e5e(0x173)](this['_scheduleCompleteTimestamp']-_0x43f77b,0x0):this[_0x3a4e5e(0x1ad)]();return _0x104343['_schedule'](_0x190b36),_0x104343;}throw _0x710361[_0x3a4e5e(0x466)];}catch(_0x4c2ea5){return this[_0x3a4e5e(0x1ea)][_0x3a4e5e(0x466)](_0x4c2ea5),this[_0x3a4e5e(0x45f)](!0x1);}}[_0x384d48(0x2b3)](){var _0x4531cd=_0x384d48;throw new Error(_0x4531cd(0x3a0));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){var _0x378ce8=_0x384d48;return this['_clearScheduledTask'](),this['_injector'][_0x378ce8(0x29a)](fe,this[_0x378ce8(0x177)],this['type'],null,this[_0x378ce8(0x2e0)],this[_0x378ce8(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x2c0)](_0x466f52){var _0x836c54=_0x384d48;const _0x266d06=_0x466f52!=null?_0x466f52:this[_0x836c54(0x1ad)]();this[_0x836c54(0x21d)]=new Date()[_0x836c54(0x1b9)]()+_0x266d06,this[_0x836c54(0x2d0)]=setTimeout(()=>{var _0x237415=_0x836c54;this[_0x237415(0x2c4)]();let _0x398443=null;switch(this['type']){case Q[_0x237415(0x34d)]:{_0x398443=zt(this[_0x237415(0x2e0)],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this['_revisionService'],this['_memberService']);break;}case Q[_0x237415(0x3c0)]:{this[_0x237415(0x2e0)][_0x237415(0x380)](_0xfb869b=>_0xfb869b['id']===_0x566255['id'])?_0x398443=lr(this[_0x237415(0x2e0)],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this[_0x237415(0x2c8)],this['_memberService']):_0x398443=zt(this['_pendingMutations'],this[_0x237415(0x177)],this[_0x237415(0x2f7)],this[_0x237415(0x2c8)],this[_0x237415(0x473)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x237415(0x355)]+_0x237415(0x39c));}const {changeset:_0x1a4ae4,pendingMutations:_0x4a2625}=_0x398443;this[_0x237415(0x3f4)][_0x237415(0x325)](_0x1a4ae4);const _0x888ff5=_0x4a2625[_0x237415(0x20c)]?this[_0x237415(0x3d1)][_0x237415(0x29a)](ae,this[_0x237415(0x177)],this[_0x237415(0x355)],_0x1a4ae4,_0x4a2625,this[_0x237415(0x3f4)],void 0x0):this['_injector'][_0x237415(0x29a)](ue,this[_0x237415(0x177)],this[_0x237415(0x355)],_0x1a4ae4,this[_0x237415(0x3f4)]);_0x888ff5[_0x237415(0x391)](),this['_handler'][_0x237415(0x338)](this,_0x888ff5);},_0x266d06);}[_0x384d48(0x1ad)](){var _0x3ab91d=_0x384d48,_0x2f7c51;const _0x57dce0=this[_0x3ab91d(0x1eb)]['getConfig'](q);return(_0x2f7c51=_0x57dce0==null?void 0x0:_0x57dce0[_0x3ab91d(0x1be)])!=null?_0x2f7c51:Cn;}[_0x384d48(0x3af)](){var _0x5cd2be=_0x384d48;throw new Error(_0x5cd2be(0x264));}[_0x384d48(0x2c4)](){var _0x1d4f0b=_0x384d48;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1d4f0b(0x2d0)]),this['_sendingTimer']=null);}[_0x384d48(0x45f)](_0x154d3b){var _0x307f37=_0x384d48;return this['_clearScheduledTask'](),this[_0x307f37(0x3d1)][_0x307f37(0x29a)](de,this['unitID'],this[_0x307f37(0x355)],null,this[_0x307f37(0x2e0)],this[_0x307f37(0x3f4)],_0x154d3b);}};oe=Re([A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x524d9b(_0x32f691)),A(0x6,_0x524d9b(xe)),A(0x7,_0x1e9a27),A(0x8,_0x3f1db4),A(0x9,_0x3564e5),A(0xa,_0x2e7c83),A(0xb,_0x588b40),A(0xc,_0x2e02f4),A(0xd,_0x49b7db(J))],oe);let ue=class extends be{constructor(_0x13149c,_0x2f978c,_0x799357,_0x499f75,_0x588179,_0x3da1b4,_0x2f972f,_0x31ea6f,_0x1c198c,_0x472419,_0x53a008){var _0x20c5f4=_0x384d48;super(_0x13149c,_0x2f978c,_0x799357,[],_0x499f75,_0x2f972f,_0x472419,_0x3da1b4,_0x53a008),N(this,_0x20c5f4(0x230),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x20c5f4(0x322)),N(this,_0x20c5f4(0x370)),(this[_0x20c5f4(0x3d1)]=_0x588179,this['_logService']=_0x31ea6f,this[_0x20c5f4(0x33f)]=_0x1c198c);}[_0x384d48(0x30b)](_0x28dcc8){var _0x2db687=_0x384d48;this[_0x2db687(0x2c4)]();const _0x453605=this[_0x2db687(0x3d1)][_0x2db687(0x29a)](ae,this[_0x2db687(0x177)],this['type'],this[_0x2db687(0x232)],[_0x28dcc8],this[_0x2db687(0x3f4)],this[_0x2db687(0x322)]);return _0x453605['_updateLocalCache'](),_0x453605;}[_0x384d48(0x1af)](_0x12af67){var _0x1829bd=_0x384d48;if(this['_checkMissing'](_0x12af67))return this[_0x1829bd(0x2c4)](),this[_0x1829bd(0x3d1)][_0x1829bd(0x29a)](te,this[_0x1829bd(0x177)],this['type'],this[_0x1829bd(0x232)],[],null,[_0x12af67],this[_0x1829bd(0x3f4)]);try{const _0x5a34ee=this[_0x1829bd(0x33f)][_0x1829bd(0x1ae)]([_0x12af67],[this[_0x1829bd(0x232)]],!0x1);if(_0x2a3274(_0x5a34ee)){const {c1Prime:_0x45df1c,c2Prime:_0x469125}=_0x5a34ee;this[_0x1829bd(0x339)](_0x45df1c[0x0]),_0x469125[0x0]['baseRev']=this[_0x1829bd(0x22b)](),this[_0x1829bd(0x2c4)]();const _0x2226c5=this[_0x1829bd(0x3d1)][_0x1829bd(0x29a)](ue,this['unitID'],this[_0x1829bd(0x355)],_0x469125[0x0],this[_0x1829bd(0x3f4)]);return _0x2226c5[_0x1829bd(0x391)](),_0x2226c5;}return this[_0x1829bd(0x45f)](!0x1);}catch(_0x1617be){return this['_logService']['error'](_0x1617be),this[_0x1829bd(0x45f)](!0x1);}}[_0x384d48(0x2b3)](_0x307975){var _0x551642=_0x384d48;this[_0x551642(0x2c4)]();const _0x59b89a=this[_0x551642(0x2c8)][_0x551642(0x461)](this[_0x551642(0x177)]);if(_0x307975[_0x551642(0x397)]<_0x59b89a-0x1)return this;if(this[_0x551642(0x1d4)](_0x307975))return this[_0x551642(0x3d1)]['createInstance'](te,this[_0x551642(0x177)],this[_0x551642(0x355)],null,[],this[_0x551642(0x232)],[],this[_0x551642(0x3f4)]);this['_incrementRevisionNumber']();const _0x44aabb=this[_0x551642(0x3d1)][_0x551642(0x29a)](De,this['unitID'],this[_0x551642(0x355)],this['_handler']);return _0x44aabb['_updateLocalCache'](),_0x44aabb;}[_0x384d48(0x32d)](_0x52d243){return this['_onConflict'](!!(_0x52d243!=null&&_0x52d243['isPermissionRej']));}[_0x384d48(0x194)](_0x1d6f51){var _0x2ebf78=_0x384d48;return this[_0x2ebf78(0x2ed)]>Ni?this[_0x2ebf78(0x23b)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x2ebf78(0x2ed)],'reqId':_0x1d6f51[_0x2ebf78(0x28c)]}),this[_0x2ebf78(0x370)]=this['_resendTimer'][_0x2ebf78(0x33b)](({reqId:_0x5f0fec,timeout:_0x2ad8bc})=>{var _0x537305=_0x2ebf78;this[_0x537305(0x2f5)](_0x5f0fec,_0x2ad8bc);}),this);}[_0x384d48(0x23b)](){var _0xfdd459=_0x384d48;return this[_0xfdd459(0x2c4)](),this[_0xfdd459(0x3d1)]['createInstance'](fe,this['unitID'],this[_0xfdd459(0x355)],this[_0xfdd459(0x232)],[],this[_0xfdd459(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x2d3d1b=_0x384d48;this['_handler'][_0x2d3d1b(0x325)](this[_0x2d3d1b(0x232)]);}[_0x384d48(0x45f)](_0x34d394){var _0x51c2a4=_0x384d48;return this['_clearScheduledTask'](),this[_0x51c2a4(0x3d1)]['createInstance'](de,this['unitID'],this[_0x51c2a4(0x355)],this[_0x51c2a4(0x232)],[],this[_0x51c2a4(0x3f4)],_0x34d394);}[_0x384d48(0x2f5)](_0xe5cb74,_0x1160f9){var _0x4385c8=_0x384d48,_0x34e3a2;_0xe5cb74===((_0x34e3a2=this['_awaitingChangeset'])==null?void 0x0:_0x34e3a2[_0x4385c8(0x28c)])&&(this['resend'](),this[_0x4385c8(0x2ed)]=_0x1160f9===0x0?0x3e8:_0x1160f9*0x2);}['_clearScheduledTask'](){var _0x3fec45=_0x384d48,_0x4cc82d;(_0x4cc82d=this['_sender'])==null||_0x4cc82d[_0x3fec45(0x2e6)](),this[_0x3fec45(0x2ed)]=0x0;}};ue=Re([A(0x4,_0x524d9b(_0x1e48d3)),A(0x5,_0x524d9b(_0x32f691)),A(0x6,_0x3f1db4),A(0x7,_0x1e9a27),A(0x8,_0x2e7c83),A(0x9,_0x2e02f4),A(0xa,_0x49b7db(J))],ue);let ae=class extends be{constructor(_0x3868bf,_0xa969c9,_0x1c9649,_0x101478,_0x348083,_0x3e12a6,_0x40cad2,_0x4e6d12,_0x1b53ad,_0x1ba85e,_0x182f1a,_0x3e71ed,_0x5aea19){var _0x10d666=_0x384d48;super(_0x3868bf,_0xa969c9,_0x1c9649,_0x101478,_0x348083,_0x1b53ad,_0x3e71ed,_0x4e6d12,_0x5aea19),N(this,_0x10d666(0x230),_0x10d666(0x219)),N(this,_0x10d666(0x2ed),0x0),N(this,_0x10d666(0x322)),N(this,_0x10d666(0x370)),(this[_0x10d666(0x3d1)]=_0x40cad2,this[_0x10d666(0x1ea)]=_0x1ba85e,this[_0x10d666(0x33f)]=_0x182f1a,this[_0x10d666(0x201)]=_0x5aea19,_0x3e12a6&&(this[_0x10d666(0x322)]=_0x3e12a6,this['_sender']=this[_0x10d666(0x322)][_0x10d666(0x33b)](({reqId:_0x4babe4,timeout:_0x1cb760})=>{var _0x4767eb=_0x10d666;this[_0x4767eb(0x2f5)](_0x4babe4,_0x1cb760);})));}[_0x384d48(0x30b)](_0x278524){var _0x34304f=_0x384d48;return this[_0x34304f(0x2e0)][_0x34304f(0x372)](_0x278524),this;}['onRemoteChangeset'](_0x4290c9){var _0x3d4665=_0x384d48;if(this[_0x3d4665(0x1d4)](_0x4290c9))return this['_clearScheduledTask'](),this['_injector']['createInstance'](te,this['unitID'],this[_0x3d4665(0x355)],this['_awaitingChangeset'],this[_0x3d4665(0x2e0)],null,[_0x4290c9],this[_0x3d4665(0x3f4)]);try{const _0x4edaea=this['_transformService']['transformChangesets']([_0x4290c9],[this[_0x3d4665(0x232)]],!0x1);if(_0x2a3274(_0x4edaea)){const {c1Prime:_0x29833a,c2Prime:_0x327cec}=_0x4edaea,_0x4c9ced=this['_transformService'][_0x3d4665(0x2e2)](_0x29833a[0x0],this['_pendingMutations']);if(_0x5265cb(_0x4c9ced)){const {c1Prime:_0x2a3263,m2Prime:_0x3f3d41}=_0x4c9ced;return this[_0x3d4665(0x339)](_0x2a3263),_0x327cec[0x0]['baseRev']=this[_0x3d4665(0x22b)](),this[_0x3d4665(0x2c4)](),this[_0x3d4665(0x3d1)][_0x3d4665(0x29a)](ae,this[_0x3d4665(0x177)],this[_0x3d4665(0x355)],_0x327cec[0x0],_0x3f3d41,this['_handler'],void 0x0);}throw _0x4c9ced[_0x3d4665(0x466)];}throw _0x4edaea[_0x3d4665(0x466)];}catch(_0xc2a8fe){return this[_0x3d4665(0x1ea)][_0x3d4665(0x466)](_0xc2a8fe),this[_0x3d4665(0x45f)](!0x1);}}[_0x384d48(0x2b3)](_0x8b5ec8){var _0x249e3c=_0x384d48;if(this['_clearScheduledTask'](),this[_0x249e3c(0x1d4)](_0x8b5ec8))return this[_0x249e3c(0x3d1)][_0x249e3c(0x29a)](te,this[_0x249e3c(0x177)],this[_0x249e3c(0x355)],null,this[_0x249e3c(0x2e0)],this[_0x249e3c(0x232)],[],this[_0x249e3c(0x3f4)]);this[_0x249e3c(0x1f0)]();const _0x43f229=this[_0x249e3c(0x3d1)][_0x249e3c(0x29a)](oe,this[_0x249e3c(0x177)],this[_0x249e3c(0x355)],this[_0x249e3c(0x2e0)],this[_0x249e3c(0x3f4)]);return _0x43f229[_0x249e3c(0x2c0)](),_0x43f229[_0x249e3c(0x391)](),_0x43f229;}[_0x384d48(0x32d)](_0x20539d){var _0x223bba=_0x384d48;return this[_0x223bba(0x45f)](!!(_0x20539d!=null&&_0x20539d[_0x223bba(0x3bd)]));}['onRemoteRetry'](_0x138e74){var _0x3f31ed=_0x384d48;return this['_resendTimeout']>Ni?this[_0x3f31ed(0x23b)]():(this[_0x3f31ed(0x322)]=Oi(this[_0x3f31ed(0x2ed)],{'timeout':this[_0x3f31ed(0x2ed)],'reqId':_0x138e74[_0x3f31ed(0x28c)]}),this[_0x3f31ed(0x370)]=this[_0x3f31ed(0x322)][_0x3f31ed(0x33b)](({reqId:_0x51ef7b,timeout:_0x34ba80})=>{var _0x14b227=_0x3f31ed;this[_0x14b227(0x2f5)](_0x51ef7b,_0x34ba80);}),this);}[_0x384d48(0x23b)](){var _0x44c16c=_0x384d48;return this[_0x44c16c(0x2c4)](),this[_0x44c16c(0x3d1)][_0x44c16c(0x29a)](fe,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x44c16c(0x2e0)],this[_0x44c16c(0x3f4)]);}['toggleOnline'](){return this;}[_0x384d48(0x3af)](){var _0x42cd7b=_0x384d48;this[_0x42cd7b(0x3f4)]['onSendChangeset'](this[_0x42cd7b(0x232)]);}[_0x384d48(0x45f)](_0x2f3d07){var _0x5b45e9=_0x384d48;return this[_0x5b45e9(0x2c4)](),this[_0x5b45e9(0x3d1)][_0x5b45e9(0x29a)](de,this[_0x5b45e9(0x177)],this[_0x5b45e9(0x355)],null,this[_0x5b45e9(0x2e0)],this[_0x5b45e9(0x3f4)],_0x2f3d07);}['_resendWithTimeout'](_0x4669ae,_0xb9704b){var _0x2e7377=_0x384d48,_0x3b7f11;_0x4669ae===((_0x3b7f11=this[_0x2e7377(0x232)])==null?void 0x0:_0x3b7f11['reqId'])&&(this[_0x2e7377(0x3af)](),this[_0x2e7377(0x2ed)]=_0xb9704b===0x0?0x3e8:_0xb9704b*0x2);}[_0x384d48(0x2c4)](){var _0x1b415c=_0x384d48,_0x5eefb3;(_0x5eefb3=this[_0x1b415c(0x370)])==null||_0x5eefb3[_0x1b415c(0x2e6)](),this[_0x1b415c(0x2ed)]=0x0;}};ae=Re([A(0x6,_0x524d9b(_0x1e48d3)),A(0x7,_0x524d9b(_0x32f691)),A(0x8,_0x3f1db4),A(0x9,_0x1e9a27),A(0xa,_0x2e7c83),A(0xb,_0x2e02f4),A(0xc,_0x49b7db(J))],ae);let de=class extends be{constructor(_0x261e13,_0x4acb12,_0x36d4c4,_0x5487c4,_0x18beb8,_0x1f6874=!0x1,_0x335446,_0x121b77,_0x1d2c88,_0x1564d2,_0x2c4dd9,_0x3731a5,_0x3b1acc){var _0x13912b=_0x384d48;super(_0x261e13,_0x4acb12,_0x36d4c4,_0x5487c4,_0x18beb8,_0x121b77,_0x1d2c88,_0x1564d2,_0x3b1acc),N(this,_0x13912b(0x230),_0x13912b(0x35d)),(this['_isPermissionRej']=_0x1f6874,this[_0x13912b(0x40a)]=_0x335446,this[_0x13912b(0x3db)]=_0x2c4dd9,this[_0x13912b(0x465)]=_0x3731a5,this['localCacheService']=_0x3b1acc,this[_0x13912b(0x245)](),this[_0x13912b(0x3d0)](),this[_0x13912b(0x358)]());}['appendMutation'](){return this;}[_0x384d48(0x1af)](){return this;}['onRemoteAck'](){return this;}[_0x384d48(0x32d)](){return this;}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){return this;}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x3af)](){var _0x350dfe=_0x384d48;throw new Error(_0x350dfe(0x2f3));}['_clearLocalCache'](){var _0x4b52a7=_0x384d48,_0x4e2619;(_0x4e2619=this[_0x4b52a7(0x1df)])==null||_0x4e2619[_0x4b52a7(0x3b8)](this[_0x4b52a7(0x177)],this[_0x4b52a7(0x355)],null,[]);}['_showConflictNotification'](){var _0x3688a1=_0x384d48;this[_0x3688a1(0x295)]?this[_0x3688a1(0x465)][_0x3688a1(0x306)]({'id':se['PERMISSION_DENIED']}):this[_0x3688a1(0x465)][_0x3688a1(0x306)]({'id':se[_0x3688a1(0x3eb)]});}[_0x384d48(0x358)](){var _0x582a3c=_0x384d48;this[_0x582a3c(0x40a)][_0x582a3c(0x30e)](new _0x386980(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x524d9b(_0x2386b0)),A(0x7,_0x3f1db4),A(0x8,_0x2e02f4),A(0x9,_0x524d9b(_0x32f691)),A(0xa,_0x524d9b(_0x3fdf27)),A(0xb,_0x524d9b(pe)),A(0xc,_0x49b7db(J))],de);let fe=class extends be{constructor(_0x5ae57d,_0x4510c6,_0x2d6c3c,_0x1c2713,_0x2d93fd,_0x1e4814,_0x46d455,_0x4eb157,_0x1be7bd,_0x5d2f61){var _0x8d899b=_0x384d48;super(_0x5ae57d,_0x4510c6,_0x2d6c3c,_0x1c2713,_0x2d93fd,_0x4eb157,_0x1be7bd,_0x46d455,_0x5d2f61),N(this,'status',_0x8d899b(0x29e)),this[_0x8d899b(0x3d1)]=_0x1e4814;}[_0x384d48(0x30b)](_0x921b5d){var _0x1e6e41=_0x384d48;return this[_0x1e6e41(0x2e0)][_0x1e6e41(0x372)](_0x921b5d),this[_0x1e6e41(0x391)](),this;}[_0x384d48(0x1af)](_0x58c544){var _0x165807=_0x384d48;throw new Error(_0x165807(0x34a));}[_0x384d48(0x2b3)](){var _0xb8845f=_0x384d48;throw new Error(_0xb8845f(0x32b));}['onRemoteRej'](){var _0x23ba81=_0x384d48;throw new Error(_0x23ba81(0x42c));}[_0x384d48(0x194)](){return this;}[_0x384d48(0x23b)](){return this;}['toggleOnline'](){const {_injector:_0x300659,_pendingMutations:_0x34c0d0,_awaitingChangeset:_0x460f8d,unitID:_0x3cc799,_handler:_0x5095cd,type:_0x22bc9c}=this,_0xdbb1a3=Di(_0x300659,_0x3cc799,_0x22bc9c,_0x460f8d,_0x34c0d0,_0x5095cd);return _0xdbb1a3 instanceof oe?_0xdbb1a3['_schedule']():(_0xdbb1a3 instanceof ae||_0xdbb1a3 instanceof ue)&&_0xdbb1a3['resend'](),_0xdbb1a3;}['resend'](){var _0x2b5724=_0x384d48;throw new Error(_0x2b5724(0x3d2));}};fe=Re([A(0x5,_0x524d9b(_0x1e48d3)),A(0x6,_0x524d9b(_0x32f691)),A(0x7,_0x3f1db4),A(0x8,_0x2e02f4),A(0x9,_0x49b7db(J))],fe);let te=class extends be{constructor(_0x168209,_0x5490ad,_0xc95023,_0x1a29eb,_0x57d4e5,_0x25fe09,_0x4ec135,_0x170c6e,_0x58123a,_0x395768,_0x7c7704,_0x3c2ec9,_0x8b6041,_0x42f578){var _0x1a9897=_0x384d48;super(_0x168209,_0x5490ad,_0xc95023,_0x1a29eb,_0x4ec135,_0x7c7704,_0x3c2ec9,_0x58123a,_0x42f578),N(this,_0x1a9897(0x230),_0x1a9897(0x34f)),(this[_0x1a9897(0x437)]=_0x57d4e5,this[_0x1a9897(0x308)]=_0x25fe09,this['_injector']=_0x170c6e,this[_0x1a9897(0x1ea)]=_0x395768,this[_0x1a9897(0x33f)]=_0x8b6041,this[_0x1a9897(0x201)]=_0x42f578);}[_0x384d48(0x410)](_0x32cdd3){var _0x136bf6=_0x384d48;try{const _0x3b6721=[..._0x32cdd3,...this[_0x136bf6(0x308)]],_0x3a651b=[this[_0x136bf6(0x232)]||this[_0x136bf6(0x437)]]['filter'](_0x5a4f33=>!!_0x5a4f33);let _0x3abc7b,_0x32d39f;if(_0x3a651b['length']){const _0x2ba471=this[_0x136bf6(0x33f)][_0x136bf6(0x1ae)](_0x3b6721,_0x3a651b,!0x1);if(!_0x2a3274(_0x2ba471))throw _0x2ba471['error'];_0x3abc7b=_0x2ba471[_0x136bf6(0x34b)],_0x32d39f=_0x2ba471[_0x136bf6(0x1c9)];}else _0x3abc7b=_0x3b6721,_0x32d39f=[];let _0x283a69=this[_0x136bf6(0x2e0)];_0x3abc7b[_0x136bf6(0x261)](_0x484c47=>{var _0x79399=_0x136bf6;let _0x111917;if(_0x283a69['length']){const _0x593a48=this['_transformService'][_0x79399(0x2e2)](_0x484c47,_0x283a69);if(!_0x5265cb(_0x593a48))throw _0x593a48[_0x79399(0x466)];_0x111917=_0x593a48[_0x79399(0x34b)],_0x283a69=_0x593a48[_0x79399(0x44d)];}else _0x111917=_0x484c47;this[_0x79399(0x339)](_0x111917);}),this['_acknowledgedAwaitingChangeset']&&this[_0x136bf6(0x1f0)](),this[_0x136bf6(0x232)]&&_0x32d39f[_0x136bf6(0x20c)]&&(_0x32d39f[0x0][_0x136bf6(0x294)]=this[_0x136bf6(0x22b)]());let _0x38d7c4;if(this['_awaitingChangeset']&&_0x283a69['length']!==0x0)_0x38d7c4=this[_0x136bf6(0x3d1)][_0x136bf6(0x29a)](ae,this[_0x136bf6(0x177)],this[_0x136bf6(0x355)],_0x32d39f[0x0],_0x283a69,this[_0x136bf6(0x3f4)],void 0x0);else{if(this[_0x136bf6(0x232)]&&_0x283a69[_0x136bf6(0x20c)]===0x0)_0x32d39f[0x0][_0x136bf6(0x294)]=this[_0x136bf6(0x22b)](),_0x38d7c4=this[_0x136bf6(0x3d1)][_0x136bf6(0x29a)](ue,this[_0x136bf6(0x177)],this[_0x136bf6(0x355)],_0x32d39f[0x0],this[_0x136bf6(0x3f4)]);else{if(_0x283a69[_0x136bf6(0x20c)]!==0x0){const _0x1ac23b=this[_0x136bf6(0x3d1)]['createInstance'](oe,this[_0x136bf6(0x177)],this['type'],_0x283a69,this['_handler']);_0x1ac23b[_0x136bf6(0x2c0)](),_0x38d7c4=_0x1ac23b;}else _0x38d7c4=this[_0x136bf6(0x3d1)]['createInstance'](De,this['unitID'],this['type'],this[_0x136bf6(0x3f4)]);}}return _0x38d7c4[_0x136bf6(0x391)](),_0x38d7c4;}catch(_0x13adb6){return this[_0x136bf6(0x1ea)][_0x136bf6(0x466)](_0x136bf6(0x455),_0x136bf6(0x17b),_0x13adb6),this[_0x136bf6(0x3d1)]['createInstance'](de,this[_0x136bf6(0x177)],this['type'],this['_awaitingChangeset'],this[_0x136bf6(0x2e0)],this[_0x136bf6(0x3f4)],!0x1);}}[_0x384d48(0x3af)](){var _0x56686a=_0x384d48;throw new Error(_0x56686a(0x23d));}['appendMutation'](_0xcbdddd){var _0x5dabfa=_0x384d48;return this[_0x5dabfa(0x2e0)][_0x5dabfa(0x372)](_0xcbdddd),this;}[_0x384d48(0x1af)](_0x47238c){var _0x8fd334=_0x384d48;return this[_0x8fd334(0x308)][_0x8fd334(0x372)](_0x47238c),this;}[_0x384d48(0x2b3)](_0x2138d7){var _0x470caf=_0x384d48;if(this[_0x470caf(0x232)])return this[_0x470caf(0x437)]=this[_0x470caf(0x232)],this[_0x470caf(0x232)]=null,this;throw new Error(_0x470caf(0x3b4));}[_0x384d48(0x32d)](_0x29aaeb){var _0x3e1756=_0x384d48;return this['_onConflict'](!!(_0x29aaeb!=null&&_0x29aaeb[_0x3e1756(0x3bd)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xfd32bb=_0x384d48;return this[_0xfd32bb(0x3d1)][_0xfd32bb(0x29a)](fe,this[_0xfd32bb(0x177)],this['type'],this[_0xfd32bb(0x232)],this[_0xfd32bb(0x2e0)],this[_0xfd32bb(0x3f4)]);}[_0x384d48(0x31a)](){return this;}[_0x384d48(0x45f)](_0x27c8bd){var _0x35796d=_0x384d48;return this[_0x35796d(0x3d1)]['createInstance'](de,this['unitID'],this[_0x35796d(0x355)],this[_0x35796d(0x232)],this[_0x35796d(0x2e0)],this[_0x35796d(0x3f4)],_0x27c8bd);}};te=Re([A(0x7,_0x524d9b(_0x1e48d3)),A(0x8,_0x524d9b(_0x32f691)),A(0x9,_0x1e9a27),A(0xa,_0x3f1db4),A(0xb,_0x2e02f4),A(0xc,_0x2e7c83),A(0xd,_0x49b7db(J))],te);function Di(_0x1cf948,_0xf724b9,_0x205feb,_0x1e8e66,_0x438ed5,_0x446fcd){var _0x511c8d=_0x384d48;return _0x1e8e66&&_0x438ed5[_0x511c8d(0x20c)]?_0x1cf948[_0x511c8d(0x29a)](ae,_0xf724b9,_0x205feb,_0x1e8e66,_0x438ed5,_0x446fcd,void 0x0):_0x1e8e66?_0x1cf948[_0x511c8d(0x29a)](ue,_0xf724b9,_0x205feb,_0x1e8e66,_0x446fcd):_0x438ed5[_0x511c8d(0x20c)]?_0x1cf948[_0x511c8d(0x29a)](oe,_0xf724b9,_0x205feb,_0x438ed5,_0x446fcd):_0x1cf948['createInstance'](De,_0xf724b9,_0x205feb,_0x446fcd);}var vr=Object[_0x384d48(0x1e0)],pr=Object[_0x384d48(0x1b2)],Lt=(_0xe4a53e,_0x5b10c3,_0x3b848d,_0x458330)=>{var _0x4a3928=_0x384d48;for(var _0x401fca=_0x458330>0x1?void 0x0:_0x458330?pr(_0x5b10c3,_0x3b848d):_0x5b10c3,_0x3bbdbd=_0xe4a53e[_0x4a3928(0x20c)]-0x1,_0x96c1d9;_0x3bbdbd>=0x0;_0x3bbdbd--)(_0x96c1d9=_0xe4a53e[_0x3bbdbd])&&(_0x401fca=(_0x458330?_0x96c1d9(_0x5b10c3,_0x3b848d,_0x401fca):_0x96c1d9(_0x401fca))||_0x401fca);return _0x458330&&_0x401fca&&vr(_0x5b10c3,_0x3b848d,_0x401fca),_0x401fca;},k=(_0x4726f0,_0x2e9617)=>(_0x44261,_0x18b47a)=>_0x2e9617(_0x44261,_0x18b47a,_0x4726f0);let nt=class extends _0x2c70a0{constructor(_0x6c1951,_0x119173,_0x36a5ae,_0x351555,_0x1d8a5f,_0x363d62,_0xca8843,_0x2238bb,_0x5cedce,_0x2f5bd4,_0x2d928a,_0x5b028d,_0x541c44){var _0x5f153d=_0x384d48;super(),N(this,_0x5f153d(0x221),new _0x34646d(null)),N(this,'state$',this[_0x5f153d(0x221)][_0x5f153d(0x2f9)]()),N(this,'_state'),N(this,_0x5f153d(0x447),!0x1),N(this,_0x5f153d(0x1da),''),N(this,_0x5f153d(0x3f1),0x0),N(this,_0x5f153d(0x3aa),this[_0x5f153d(0x26d)][_0x5f153d(0x3b3)](_0xb2b0a3(_0x56cba3=>_0x56cba3?_0x56cba3[_0x5f153d(0x230)]:yi[_0x5f153d(0x1d1)]),_0x4ba0df(0x1))),N(this,_0x5f153d(0x37b),!0x1),N(this,_0x5f153d(0x2a7),[]),(this[_0x5f153d(0x177)]=_0x6c1951,this[_0x5f153d(0x244)]=_0x119173,this[_0x5f153d(0x362)]=_0x36a5ae,this[_0x5f153d(0x3d1)]=_0x351555,this[_0x5f153d(0x2b8)]=_0x1d8a5f,this[_0x5f153d(0x3db)]=_0x363d62,this[_0x5f153d(0x2c8)]=_0xca8843,this[_0x5f153d(0x1cf)]=_0x2238bb,this[_0x5f153d(0x1ea)]=_0x5cedce,this['_commandService']=_0x2f5bd4,this[_0x5f153d(0x40a)]=_0x2d928a,this[_0x5f153d(0x29d)]=_0x5b028d,this[_0x5f153d(0x1df)]=_0x541c44);}get[_0x384d48(0x31c)](){return this['_state'];}async['init'](){var _0x4d4dc1=_0x384d48;if(this['state'])throw new Error(_0x4d4dc1(0x198));await this[_0x4d4dc1(0x257)]();}[_0x384d48(0x429)](){return this['_collaborationPaused']=!0x0,_0x529a4c(()=>{var _0x438971=_0x56fc;this[_0x438971(0x447)]=!0x1,this[_0x438971(0x299)]();});}['onLocalMutation'](_0x4b9832){var _0xd4c6aa=_0x384d48;this[_0xd4c6aa(0x1f1)](_0x4b9832);}[_0x384d48(0x42b)](_0x1aa49b){var _0x135c66=_0x384d48;this['_state']=_0x1aa49b,this[_0x135c66(0x221)][_0x135c66(0x350)](_0x1aa49b);}async[_0x384d48(0x257)](){var _0x2bdab1=_0x384d48,_0x292867;this[_0x2bdab1(0x42b)](await this[_0x2bdab1(0x266)]()),this[_0x2bdab1(0x29d)]&&((_0x292867=this[_0x2bdab1(0x29d)])==null||_0x292867[_0x2bdab1(0x33c)](this[_0x2bdab1(0x177)]),this[_0x2bdab1(0x446)](this[_0x2bdab1(0x29d)]['getUnitStatus$'](this[_0x2bdab1(0x177)])['subscribe'](_0x28eb86=>{var _0x46c740=_0x2bdab1;this[_0x46c740(0x1ea)][_0x46c740(0x1b5)](_0x46c740(0x26c),_0x46c740(0x33a),_0x28eb86),_0x28eb86===bi[_0x46c740(0x3cb)]?(this['_eventService'][_0x46c740(0x306)]({'id':se[_0x46c740(0x40b)]}),this[_0x46c740(0x40a)][_0x46c740(0x30e)](new _0x386980(this[_0x46c740(0x177)])['id'],!0x1),this[_0x46c740(0x40a)][_0x46c740(0x472)](!0x1)):(this['_permissionService'][_0x46c740(0x30e)](new _0x386980(this[_0x46c740(0x177)])['id'],!0x0),this[_0x46c740(0x40a)][_0x46c740(0x472)](!0x0));})));let _0x2a8419=!0x1;return this[_0x2bdab1(0x446)](this[_0x2bdab1(0x244)]['sessionStatus$'][_0x2bdab1(0x33b)](_0x208418=>{var _0x50c4ca=_0x2bdab1;_0x208418===Te[_0x50c4ca(0x1d5)]?this[_0x50c4ca(0x386)](_0x2a8419):_0x208418===Te[_0x50c4ca(0x1d1)]&&(_0x2a8419=!0x0,this[_0x50c4ca(0x172)]());})),this[_0x2bdab1(0x446)](this['session']['event$'][_0x2bdab1(0x33b)](_0x182fab=>{var _0x5c5d8d=_0x2bdab1;try{switch(_0x182fab[_0x5c5d8d(0x290)]){case _0x51f52f[_0x5c5d8d(0x393)]:{this['_onRemoteChangeset'](_0x491f1a(_0x182fab[_0x5c5d8d(0x32a)]));break;}case _0x51f52f[_0x5c5d8d(0x250)]:{this[_0x5c5d8d(0x3a3)](_0x182fab['data']);break;}case _0x51f52f[_0x5c5d8d(0x3a2)]:{this[_0x5c5d8d(0x307)]();break;}case _0x51f52f[_0x5c5d8d(0x17c)]:{this[_0x5c5d8d(0x326)](_0x182fab[_0x5c5d8d(0x32a)]);break;}case _0x51f52f[_0x5c5d8d(0x1ba)]:{this['_onFetchMissResult'](_0x182fab[_0x5c5d8d(0x32a)][_0x5c5d8d(0x1bf)][_0x5c5d8d(0x2ac)](_0x3838e0=>_0x491f1a(_0x3838e0)));break;}case _0x51f52f['PERMISSION_REJ']:{this[_0x5c5d8d(0x307)]({'isPermissionRej':!0x0});break;}case _0x51f52f[_0x5c5d8d(0x1a1)]:break;}}catch(_0x5d0693){throw console[_0x5c5d8d(0x466)]('Error\x20on\x20receiving\x20event',_0x5d0693),_0x5d0693;}})),this[_0x2bdab1(0x433)];}[_0x384d48(0x2fd)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x195b2f=_0x384d48;if(this[_0x195b2f(0x37b)])throw new Error(_0x195b2f(0x344));this['_transitionLocked']=!0x0;}[_0x384d48(0x1f1)](_0x3440d5){var _0x48e67f=_0x384d48;this[_0x48e67f(0x408)](),this['_updateState'](this[_0x48e67f(0x433)]['appendMutation'](_0x3440d5)),this[_0x48e67f(0x2fd)]();}[_0x384d48(0x2e5)](_0xaeb492){var _0x26666c=_0x384d48;if(!(_0xaeb492[_0x26666c(0x397)]<=this['_revisionService'][_0x26666c(0x461)](this[_0x26666c(0x177)]))){if(this[_0x26666c(0x447)]){this[_0x26666c(0x2a7)]['push'](_0xaeb492);return;}this[_0x26666c(0x2c3)](_0xaeb492);}}[_0x384d48(0x299)](){var _0xd2a1d3=_0x384d48;this['_remoteChangesetQueue']['forEach'](_0x1f380f=>this[_0xd2a1d3(0x2c3)](_0x1f380f)),this[_0xd2a1d3(0x2a7)]=[];}[_0x384d48(0x2c3)](_0x5250ff){var _0x34edea=_0x384d48;const _0x55fde3=this['_compressMutationService'][_0x34edea(0x399)][_0x34edea(0x3bb)](this[_0x34edea(0x2b8)][_0x34edea(0x399)][_0x34edea(0x44a)]()[_0x34edea(0x436)])(_0x5250ff['mutations'],null)||_0x5250ff['mutations'],_0x4e0444={..._0x5250ff,'mutations':_0x55fde3};this[_0x34edea(0x408)](),this[_0x34edea(0x42b)](this[_0x34edea(0x433)][_0x34edea(0x1af)](_0x4e0444)),this['_unlockTransition']();}['_onRemoteACK'](_0x569118){var _0x551724=_0x384d48;this[_0x551724(0x408)](),this[_0x551724(0x42b)](this[_0x551724(0x433)][_0x551724(0x2b3)](_0x569118)),this[_0x551724(0x2fd)]();}[_0x384d48(0x307)](_0x22bd52){var _0x53fcce=_0x384d48;this['_lockTransition'](),this[_0x53fcce(0x42b)](this[_0x53fcce(0x433)][_0x53fcce(0x32d)](_0x22bd52)),this[_0x53fcce(0x2fd)]();}[_0x384d48(0x326)](_0x3ba51c){var _0x22fd12=_0x384d48;this[_0x22fd12(0x408)](),this[_0x22fd12(0x42b)](this[_0x22fd12(0x433)][_0x22fd12(0x194)](_0x3ba51c)),this[_0x22fd12(0x2fd)]();}['_onFetchMissResult'](_0x3958ec){var _0x392290=_0x384d48;if(!(this[_0x392290(0x433)]instanceof te))throw new TypeError(_0x392290(0x20f));const _0x2440aa=_0x3958ec[_0x392290(0x2ac)](_0x39949e=>{var _0x2a0818=_0x392290;const _0x3a216a=this[_0x2a0818(0x2b8)]['interceptor'][_0x2a0818(0x3bb)](this[_0x2a0818(0x2b8)][_0x2a0818(0x399)][_0x2a0818(0x44a)]()[_0x2a0818(0x436)])(_0x39949e[_0x2a0818(0x336)],null)||_0x39949e[_0x2a0818(0x336)];return{..._0x39949e,'mutations':_0x3a216a};});this[_0x392290(0x408)](),this[_0x392290(0x42b)](this[_0x392290(0x433)]['onMissedChangesetFetched'](_0x2440aa)),this['_unlockTransition']();}[_0x384d48(0x172)](){var _0x78965e=_0x384d48;this[_0x78965e(0x408)](),this['_updateState'](this[_0x78965e(0x433)][_0x78965e(0x23b)]()),this[_0x78965e(0x2fd)]();}['_toggleOnline'](_0x20ae87=!0x1){var _0x470067=_0x384d48;this[_0x470067(0x408)](),this[_0x470067(0x42b)](this[_0x470067(0x433)][_0x470067(0x31a)]()),this[_0x470067(0x2fd)]();const _0x46aa05=this[_0x470067(0x433)];_0x20ae87&&_0x46aa05 instanceof De&&(this[_0x470067(0x408)](),this['_updateState'](_0x46aa05[_0x470067(0x2cd)]()),this[_0x470067(0x2fd)]());}async[_0x384d48(0x266)](){return new Promise(_0x540d34=>{var _0x12e88b=_0x56fc;this[_0x12e88b(0x244)][_0x12e88b(0x19c)][_0x12e88b(0x3b3)](_0x4c3c1b(0x1))[_0x12e88b(0x33b)](async _0x4d1f77=>{var _0xb860e9=_0x12e88b;_0x540d34(await this[_0xb860e9(0x3fb)](_0x4d1f77===Te[_0xb860e9(0x1d5)]));});});}[_0x384d48(0x419)](){var _0x30505c=_0x384d48;const _0x5ca35b=this[_0x30505c(0x177)];return{'onStateChange':(_0xe9b343,_0x2eee3b)=>{var _0x594482=_0x30505c;if(_0xe9b343!==this['_state'])throw new Error(_0x594482(0x208)+_0xe9b343[_0x594482(0x230)]+_0x594482(0x3e3)+_0x2eee3b['status']+_0x594482(0x36a)+this[_0x594482(0x433)]['status']);this[_0x594482(0x42b)](_0x2eee3b);},'onSendChangeset':_0x360182=>{var _0x17f276=_0x30505c;_0x360182[_0x17f276(0x34c)]||(_0x360182[_0x17f276(0x34c)]=this['_changesetSessionId'],_0x360182[_0x17f276(0x28c)]=++this[_0x17f276(0x3f1)]);const _0x4d25a9={'eventID':_0x51f52f['SUBMIT_CHANGESET'],'data':{'unitID':_0x360182[_0x17f276(0x177)],'unitType':this[_0x17f276(0x362)],'changeset':_0x360182,'memberID':this[_0x17f276(0x244)][_0x17f276(0x281)]()}};this[_0x17f276(0x244)][_0x17f276(0x3d6)](_0x4d25a9,this[_0x17f276(0x177)]);},'onMissingChangesets':({from:_0x5cbdc0,to:_0x5ba423})=>{var _0x58a639=_0x30505c;this[_0x58a639(0x1ea)][_0x58a639(0x1b5)](_0x58a639(0x26c),_0x58a639(0x17f)+_0x5cbdc0+_0x58a639(0x27d)+_0x5ba423);const _0x2af9ce={'eventID':_0x51f52f[_0x58a639(0x283)],'data':{'unitID':_0x5ca35b,'unitType':this[_0x58a639(0x362)],'from':_0x5cbdc0,'to':_0x5ba423}};this['session'][_0x58a639(0x3d6)](_0x2af9ce,this[_0x58a639(0x177)]);}};}async[_0x384d48(0x3fb)](_0x25a4c3){var _0x18420f=_0x384d48,_0x2b7a30,_0x492920,_0x43524b;const _0x57891f=await((_0x2b7a30=this[_0x18420f(0x1df)])==null?void 0x0:_0x2b7a30[_0x18420f(0x1b6)](this[_0x18420f(0x177)])),_0x1bd147=(_0x492920=_0x57891f==null?void 0x0:_0x57891f[_0x18420f(0x336)])!=null?_0x492920:[],_0x58198a=(_0x43524b=_0x57891f==null?void 0x0:_0x57891f[_0x18420f(0x44c)])!=null?_0x43524b:null,_0x518ad5=!!(_0x58198a!=null&&_0x58198a[_0x18420f(0x34c)])&&!!(_0x58198a!=null&&_0x58198a[_0x18420f(0x28c)]);this[_0x18420f(0x1da)]=_0x518ad5?_0x58198a['sid']:sr(),this[_0x18420f(0x3f1)]=_0x518ad5?_0x58198a[_0x18420f(0x28c)]:0x0;const _0x719340=this[_0x18420f(0x177)];try{this['_replayCachedMutations'](_0x58198a,_0x1bd147);}catch(_0x3213a2){this[_0x18420f(0x1ea)][_0x18420f(0x466)](_0x3213a2);}const _0x276955=this[_0x18420f(0x419)]();if(_0x25a4c3){const _0x364219=Di(this[_0x18420f(0x3d1)],_0x719340,this[_0x18420f(0x362)],_0x58198a,_0x1bd147,_0x276955);return _0x364219 instanceof oe?_0x364219[_0x18420f(0x2c0)]():(_0x364219 instanceof ae||_0x364219 instanceof ue)&&_0x364219['resend'](),_0x364219;}return this['_injector']['createInstance'](fe,_0x719340,this[_0x18420f(0x362)],_0x58198a,_0x1bd147,_0x276955);}[_0x384d48(0x1ec)](_0x4ad595,_0x26a033){var _0x2b8ac2=_0x384d48,_0x4f7fe4,_0x567375;const _0x4fce30=this[_0x2b8ac2(0x2b8)][_0x2b8ac2(0x399)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b8ac2(0x399)][_0x2b8ac2(0x44a)]()[_0x2b8ac2(0x436)]);(_0x4f7fe4=_0x4fce30((_0x4ad595==null?void 0x0:_0x4ad595['mutations'])||[],null))==null||_0x4f7fe4[_0x2b8ac2(0x261)](_0x3a965f=>this[_0x2b8ac2(0x235)]['executeCommand'](_0x3a965f['id'],_0x3a965f[_0x2b8ac2(0x1f6)])),(_0x567375=_0x4fce30(_0x26a033||[],null))==null||_0x567375[_0x2b8ac2(0x261)](_0x406293=>this[_0x2b8ac2(0x235)][_0x2b8ac2(0x26a)](_0x406293['id'],_0x406293[_0x2b8ac2(0x1f6)]));}};nt=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(pe)),k(0x8,_0x1e9a27),k(0x9,_0x3f1db4),k(0xa,_0x2386b0),k(0xb,_0x49b7db(ht)),k(0xc,_0x49b7db(J))],nt);let Tt=class extends nt{constructor(_0x64cf1d,_0xeab05a,_0x1be79f,_0x200b06,_0x3bc542,_0x2151ee,_0x3e7c2a,_0x488813,_0x20c8aa,_0x34ab33,_0x35eb60,_0x14f2b0,_0x12d48c){var _0x1f63d1=_0x384d48;super(_0x64cf1d,_0x1be79f,_0xeab05a,_0x200b06,_0x3bc542,_0x2151ee,_0x3e7c2a,_0x488813,_0x20c8aa,_0x34ab33,_0x35eb60,_0x14f2b0,_0x12d48c),N(this,'_handlerCallback',null),(this[_0x1f63d1(0x177)]=_0x64cf1d,this[_0x1f63d1(0x355)]=_0xeab05a);}[_0x384d48(0x189)](_0x57744b){var _0x49816f=_0x384d48;this[_0x49816f(0x2ce)]=_0x57744b;}[_0x384d48(0x2dd)](){var _0x530e20=_0x384d48;this[_0x530e20(0x2ce)]=null,super[_0x530e20(0x2dd)]();}[_0x384d48(0x419)](){var _0x5ef3c6=_0x384d48;const _0x53eab9=super[_0x5ef3c6(0x419)]();return _0x53eab9['onTransformIME']=_0x1e9a54=>{var _0xdb526b=_0x5ef3c6,_0x15060e,_0x3b7a25;return(_0x3b7a25=(_0x15060e=this[_0xdb526b(0x2ce)])==null?void 0x0:_0x15060e['onTransformIME'])==null?void 0x0:_0x3b7a25[_0xdb526b(0x1c4)](_0x15060e,_0x1e9a54);},_0x53eab9[_0x5ef3c6(0x1dd)]=_0x1b8625=>{var _0x564e1f=_0x5ef3c6,_0x4bc1b6,_0x1071bb;return(_0x1071bb=(_0x4bc1b6=this[_0x564e1f(0x2ce)])==null?void 0x0:_0x4bc1b6[_0x564e1f(0x1dd)])==null?void 0x0:_0x1071bb[_0x564e1f(0x1c4)](_0x4bc1b6,_0x1b8625);},_0x53eab9[_0x5ef3c6(0x424)]=_0x55a2a6=>{var _0x107196=_0x5ef3c6,_0x3aac21,_0x3ad3e7;return(_0x3ad3e7=(_0x3aac21=this['_handlerCallback'])==null?void 0x0:_0x3aac21[_0x107196(0x424)])==null?void 0x0:_0x3ad3e7['call'](_0x3aac21,_0x55a2a6);},_0x53eab9[_0x5ef3c6(0x365)]=_0x18ab7c=>{var _0x5527c3=_0x5ef3c6,_0x527ce3,_0x3c7990;return(_0x3c7990=(_0x527ce3=this[_0x5527c3(0x2ce)])==null?void 0x0:_0x527ce3[_0x5527c3(0x365)])==null?void 0x0:_0x3c7990[_0x5527c3(0x1c4)](_0x527ce3,_0x18ab7c);},_0x53eab9['onTransformRemoteChangesetByIMECache']=_0x2c33df=>{var _0xe3e19f=_0x5ef3c6,_0x59e9fb,_0x2c512c,_0x262cae;if(!((_0x59e9fb=this[_0xe3e19f(0x2ce)])!=null&&_0x59e9fb[_0xe3e19f(0x1e6)]))throw new Error(_0xe3e19f(0x176));return(_0x262cae=(_0x2c512c=this['_handlerCallback'])==null?void 0x0:_0x2c512c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x262cae['call'](_0x2c512c,_0x2c33df);},_0x53eab9[_0x5ef3c6(0x22e)]=_0x2d73a5=>{var _0x4b2f8d=_0x5ef3c6,_0x1eda1d,_0x32a2e9,_0x3d9ffe;if(!((_0x1eda1d=this[_0x4b2f8d(0x2ce)])!=null&&_0x1eda1d[_0x4b2f8d(0x22e)]))throw new Error(_0x4b2f8d(0x42f));return(_0x3d9ffe=(_0x32a2e9=this[_0x4b2f8d(0x2ce)])==null?void 0x0:_0x32a2e9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3d9ffe[_0x4b2f8d(0x1c4)](_0x32a2e9,_0x2d73a5);},_0x53eab9;}async[_0x384d48(0x257)](){var _0x5dad5b=_0x384d48;const _0x31b3dd=await super['_init']();return this[_0x5dad5b(0x446)](this['_commandService'][_0x5dad5b(0x40c)]((_0x4a30c4,_0x1a7d3a)=>{var _0x96d958=_0x5dad5b;if(_0x4a30c4[_0x96d958(0x355)]!==_0x27f1c3['MUTATION']||_0x1a7d3a!=null&&_0x1a7d3a[_0x96d958(0x40d)]||_0x1a7d3a!=null&&_0x1a7d3a[_0x96d958(0x212)]||_0x4a30c4['id']===_0x566255['id'])return;const _0x20eca8=_0x4a30c4[_0x96d958(0x1f6)];if((_0x20eca8==null?void 0x0:_0x20eca8[_0x96d958(0x323)])!==this['unitID'])return;const _0x42c06e=_0x4a30c4,_0xd3f00b=this['_compressMutationService'][_0x96d958(0x399)][_0x96d958(0x3bb)](this[_0x96d958(0x2b8)]['interceptor'][_0x96d958(0x44a)]()[_0x96d958(0x254)])([_0x42c06e],null)||[_0x42c06e];this[_0x96d958(0x1f1)](_0xd3f00b[0x0]);})),_0x31b3dd;}};Tt=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(pe)),k(0x8,_0x1e9a27),k(0x9,_0x3f1db4),k(0xa,_0x2386b0),k(0xb,_0x49b7db(ht)),k(0xc,_0x49b7db(J))],Tt);let Ct=class extends nt{constructor(_0x111a62,_0x528dba,_0x4942e6,_0x1e5890,_0x2066fd,_0x590135,_0x5d2528,_0x288d8c,_0x2ccc39,_0x5ef13d,_0x137e78,_0x58669b,_0x44cffe,_0x84a65a){var _0x3772d3=_0x384d48;super(_0x111a62,_0x4942e6,_0x528dba,_0x1e5890,_0x2066fd,_0x590135,_0x5d2528,_0x2ccc39,_0x5ef13d,_0x137e78,_0x58669b,_0x44cffe,_0x84a65a),this[_0x3772d3(0x177)]=_0x111a62,this[_0x3772d3(0x355)]=_0x528dba,this['_sheetTransformSelectionsService']=_0x288d8c;}[_0x384d48(0x419)](){var _0x2e1cbc=_0x384d48;const _0x41a06d=super[_0x2e1cbc(0x419)]();return _0x41a06d[_0x2e1cbc(0x424)]=_0x561a04=>this[_0x2e1cbc(0x240)][_0x2e1cbc(0x435)](_0x561a04),_0x41a06d;}async['_init'](){var _0x8d2aa7=_0x384d48;const _0x368433=await super[_0x8d2aa7(0x257)]();return this['disposeWithMe'](this[_0x8d2aa7(0x235)][_0x8d2aa7(0x40c)]((_0x221157,_0x4db261)=>{var _0x44e5b5=_0x8d2aa7;if(_0x221157[_0x44e5b5(0x355)]!==_0x27f1c3[_0x44e5b5(0x225)]||_0x4db261!=null&&_0x4db261['fromCollab']||_0x4db261!=null&&_0x4db261[_0x44e5b5(0x212)])return;const _0x556709=_0x221157['params'];if((_0x556709==null?void 0x0:_0x556709[_0x44e5b5(0x323)])!==this[_0x44e5b5(0x177)])return;const _0x25cdb9=_0x221157,_0x4a1a9e=this['_compressMutationService'][_0x44e5b5(0x399)][_0x44e5b5(0x3bb)](this[_0x44e5b5(0x2b8)]['interceptor'][_0x44e5b5(0x44a)]()[_0x44e5b5(0x254)])([_0x25cdb9],null)||[_0x25cdb9];this['_onLocalMutation'](_0x4a1a9e[0x0]);})),_0x368433;}};Ct=Lt([k(0x3,_0x524d9b(_0x1e48d3)),k(0x4,_0x524d9b(_0x2f36ae)),k(0x5,_0x524d9b(_0x3fdf27)),k(0x6,_0x524d9b(_0x32f691)),k(0x7,_0x524d9b(it)),k(0x8,_0x524d9b(pe)),k(0x9,_0x1e9a27),k(0xa,_0x3f1db4),k(0xb,_0x2386b0),k(0xc,_0x49b7db(ht)),k(0xd,_0x49b7db(J))],Ct);var mr=Object[_0x384d48(0x1e0)],gr=Object[_0x384d48(0x1b2)],Sr=(_0x49136a,_0x1828ed,_0x551d1e,_0x5b72d2)=>{var _0x202963=_0x384d48;for(var _0x4e2c0f=_0x5b72d2>0x1?void 0x0:_0x5b72d2?gr(_0x1828ed,_0x551d1e):_0x1828ed,_0x3b7b7e=_0x49136a[_0x202963(0x20c)]-0x1,_0x55abde;_0x3b7b7e>=0x0;_0x3b7b7e--)(_0x55abde=_0x49136a[_0x3b7b7e])&&(_0x4e2c0f=(_0x5b72d2?_0x55abde(_0x1828ed,_0x551d1e,_0x4e2c0f):_0x55abde(_0x4e2c0f))||_0x4e2c0f);return _0x5b72d2&&_0x4e2c0f&&mr(_0x1828ed,_0x551d1e,_0x4e2c0f),_0x4e2c0f;},ft=(_0x12b8d0,_0x2db59e)=>(_0x139e1c,_0xadd667)=>_0x2db59e(_0x139e1c,_0xadd667,_0x12b8d0);let rt=class extends _0x2c70a0{constructor(_0xfac62a,_0x495ca2,_0x29d8ed){var _0x235f86=_0x384d48;super(),N(this,'_entities',new Map()),N(this,_0x235f86(0x1a5),new _0x14c30e()),N(this,_0x235f86(0x383),this['_entityInit$'][_0x235f86(0x2f9)]()),(this['_injector']=_0xfac62a,this[_0x235f86(0x37f)]=_0x495ca2,this['_univerInstanceService']=_0x29d8ed,this[_0x235f86(0x257)]());}[_0x384d48(0x2dd)](){var _0x295cef=_0x384d48;super['dispose'](),this[_0x295cef(0x366)][_0x295cef(0x261)](_0x4df249=>_0x4df249['dispose']()),this[_0x295cef(0x366)][_0x295cef(0x296)]();}[_0x384d48(0x2cc)](_0x4d7bcc){var _0x58aa87=_0x384d48,_0x29608e;return(_0x29608e=this[_0x58aa87(0x366)]['get'](_0x4d7bcc))!=null?_0x29608e:null;}[_0x384d48(0x3ba)](_0x35b7f2){var _0x19e880=_0x384d48;const _0x5a56f5=this[_0x19e880(0x2cc)](_0x35b7f2);return _0x5a56f5?_0xd625e4(_0x5a56f5):this[_0x19e880(0x1a5)][_0x19e880(0x3b3)](_0x4a7a86(_0x560248=>_0x560248['unitID']===_0x35b7f2));}[_0x384d48(0x41b)](_0x2eaac5){var _0x3d62ca=_0x384d48;return _0x3804bf(this[_0x3d62ca(0x3ba)](_0x2eaac5)['pipe'](_0x4f7920(()=>{})));}['_init'](){var _0x190ce3=_0x384d48;this[_0x190ce3(0x2f7)][_0x190ce3(0x20a)](_0x5deaa7[_0x190ce3(0x34d)])[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]),_0x4a79c5(0x10))[_0x190ce3(0x33b)](async _0x433977=>{var _0x5a1a8b=_0x190ce3;const _0x62c578=_0x433977[_0x5a1a8b(0x363)](),_0x36501a=await this[_0x5a1a8b(0x226)](_0x62c578,Q['UNIVER_SHEET']);this['_entities'][_0x5a1a8b(0x376)](_0x62c578,_0x36501a);}),this[_0x190ce3(0x2f7)][_0x190ce3(0x20a)](_0x5deaa7['UNIVER_DOC'])[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]),_0x4a79c5(0x10))['pipe'](_0x4a7a86(_0x264062=>!_0x264062['getUnitId']()['startsWith']('__')))['subscribe'](async _0x14890b=>{var _0x458774=_0x190ce3;const _0x32890c=_0x14890b[_0x458774(0x363)](),_0x146464=await this[_0x458774(0x226)](_0x32890c,Q['UNIVER_DOC']);this[_0x458774(0x366)][_0x458774(0x376)](_0x32890c,_0x146464);}),_0x178676(this[_0x190ce3(0x2f7)][_0x190ce3(0x18f)](_0x5deaa7[_0x190ce3(0x34d)]),this[_0x190ce3(0x2f7)][_0x190ce3(0x18f)](_0x5deaa7[_0x190ce3(0x3c0)]))[_0x190ce3(0x3b3)](_0x10b867(this[_0x190ce3(0x374)]))[_0x190ce3(0x33b)](_0x1be48a=>{var _0x5941ee=_0x190ce3;const _0x52c4d0=_0x1be48a['getUnitId'](),_0xebf938=this[_0x5941ee(0x366)][_0x5941ee(0x2a9)](_0x52c4d0);_0xebf938&&(_0xebf938[_0x5941ee(0x2dd)](),this[_0x5941ee(0x366)][_0x5941ee(0x32f)](_0x52c4d0));});}async['_startCollaboration'](_0x474fff,_0x2e8c66){var _0x4e7112=_0x384d48;const _0x39a343=await this[_0x4e7112(0x37f)]['requireSession'](_0x474fff),_0x202ca2=this[_0x4e7112(0x3d1)]['createInstance'](this[_0x4e7112(0x2fc)](_0x2e8c66),_0x474fff,_0x2e8c66,_0x39a343);return await _0x202ca2[_0x4e7112(0x2cb)](),this['_entityInit$']['next'](_0x202ca2),_0x202ca2;}['_getCtorByUniverType'](_0x434763){var _0x32ecb7=_0x384d48;switch(_0x434763){case Q[_0x32ecb7(0x3c0)]:return Tt;case Q[_0x32ecb7(0x34d)]:return Ct;default:throw new Error(_0x32ecb7(0x2be)+_0x434763);}}};rt=Sr([ft(0x0,_0x524d9b(_0x1e48d3)),ft(0x1,_0x524d9b(Le)),ft(0x2,_0x588b40)],rt);var Er=Object[_0x384d48(0x1e0)],Ir=Object[_0x384d48(0x1b2)],Tr=(_0x1d4899,_0x89c9c9,_0x20b088,_0x50bb95)=>{var _0x5b7eb8=_0x384d48;for(var _0x3bc509=_0x50bb95>0x1?void 0x0:_0x50bb95?Ir(_0x89c9c9,_0x20b088):_0x89c9c9,_0x1a8323=_0x1d4899[_0x5b7eb8(0x20c)]-0x1,_0x542d2f;_0x1a8323>=0x0;_0x1a8323--)(_0x542d2f=_0x1d4899[_0x1a8323])&&(_0x3bc509=(_0x50bb95?_0x542d2f(_0x89c9c9,_0x20b088,_0x3bc509):_0x542d2f(_0x3bc509))||_0x3bc509);return _0x50bb95&&_0x3bc509&&Er(_0x89c9c9,_0x20b088,_0x3bc509),_0x3bc509;},Jt=(_0x39d454,_0x41a9f6)=>(_0x2a0e4a,_0x549f30)=>_0x41a9f6(_0x2a0e4a,_0x549f30,_0x39d454);const Cr='DEFAULT_FILE_NAME',Rr=_0x384d48(0x418);let Rt=class extends _0x347757{constructor(_0x43dc45,_0x5613c5){var _0x2742b1=_0x384d48;super(),this[_0x2742b1(0x2f7)]=_0x43dc45,this[_0x2742b1(0x1eb)]=_0x5613c5,this[_0x2742b1(0x257)]();}[_0x384d48(0x257)](){var _0x1bfdd8=_0x384d48;this[_0x1bfdd8(0x446)](this['_univerInstanceService'][_0x1bfdd8(0x210)]['subscribe'](()=>{var _0x46ff2e=_0x1bfdd8,_0x1c197e;const _0x34e722=this[_0x46ff2e(0x2f7)][_0x46ff2e(0x1c0)]();let _0x3f6f1a=(_0x1c197e=this[_0x46ff2e(0x1eb)][_0x46ff2e(0x3c7)](Cr))!=null?_0x1c197e:Rr;_0x34e722 instanceof _0xb396a2&&(_0x3f6f1a=_0x34e722[_0x46ff2e(0x279)]),document[_0x46ff2e(0x30c)]=_0x3f6f1a;}));}};Rt=Tr([Jt(0x0,_0x588b40),Jt(0x1,_0x3564e5)],Rt);var br=Object['defineProperty'],Or=Object[_0x384d48(0x1b2)],yr=(_0x5c478d,_0x562cd4,_0x355543,_0x45c819)=>{for(var _0x17792b=_0x45c819>0x1?void 0x0:_0x45c819?Or(_0x562cd4,_0x355543):_0x562cd4,_0x290f9b=_0x5c478d['length']-0x1,_0x46a842;_0x290f9b>=0x0;_0x290f9b--)(_0x46a842=_0x5c478d[_0x290f9b])&&(_0x17792b=(_0x45c819?_0x46a842(_0x562cd4,_0x355543,_0x17792b):_0x46a842(_0x17792b))||_0x17792b);return _0x45c819&&_0x17792b&&br(_0x562cd4,_0x355543,_0x17792b),_0x17792b;},vt=(_0x3cea0b,_0x10d7ce)=>(_0x50a3cb,_0x1eba4f)=>_0x10d7ce(_0x50a3cb,_0x1eba4f,_0x3cea0b);let st=class{constructor(_0x1f21c3,_0x4e6995,_0x46dbb6){var _0x5d85ac=_0x384d48;this[_0x5d85ac(0x1eb)]=_0x1f21c3,this[_0x5d85ac(0x2a1)]=_0x4e6995,this['localeService']=_0x46dbb6,this['init']();}['init'](){var _0xad29df=_0x384d48;this[_0xad29df(0x2a1)][_0xad29df(0x3ad)]({'priority':0x1,'interceptor':(_0x5ab528,_0x1a0213)=>_0x1a0213(_0x5ab528)[_0xad29df(0x3b3)](_0x3e81d3(async _0x5e2d68=>{var _0x16b032=_0xad29df;const _0xaa9fc6=_0x5e2d68;if(_0xaa9fc6['status']===0x191){if(typeof window>'u')throw new Error(_0x16b032(0x3e2));if(window[_0x16b032(0x44f)](this[_0x16b032(0x38a)]['t'](_0x16b032(0x3b5)))){const _0x3bf57d=window[_0x16b032(0x30f)](window[_0x16b032(0x321)]['href']);window[_0x16b032(0x321)][_0x16b032(0x19a)]=this[_0x16b032(0x37d)]()+'?url='+_0x3bf57d;}}return _0xaa9fc6;}))});}[_0x384d48(0x37d)](){var _0x2ed43e=_0x384d48,_0x35a8a9,_0x1cbf44;const _0x561fce=this[_0x2ed43e(0x1eb)]['getConfig'](xn),_0x10161d=this[_0x2ed43e(0x1eb)][_0x2ed43e(0x3c7)](q);return(_0x1cbf44=(_0x35a8a9=_0x10161d==null?void 0x0:_0x10161d[_0x2ed43e(0x238)])!=null?_0x35a8a9:_0x561fce)!=null?_0x1cbf44:Ln;}};st=yr([vt(0x0,_0x3564e5),vt(0x1,_0x524d9b(_0x1fa986)),vt(0x2,_0x524d9b(_0x3fdf27))],st);var Nr=Object[_0x384d48(0x1e0)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x48eb7b,_0x153732,_0x59937e,_0x22db2c)=>{var _0x5ec359=_0x384d48;for(var _0x3ee09c=_0x22db2c>0x1?void 0x0:_0x22db2c?Dr(_0x153732,_0x59937e):_0x153732,_0x1ffaf8=_0x48eb7b[_0x5ec359(0x20c)]-0x1,_0x53f603;_0x1ffaf8>=0x0;_0x1ffaf8--)(_0x53f603=_0x48eb7b[_0x1ffaf8])&&(_0x3ee09c=(_0x22db2c?_0x53f603(_0x153732,_0x59937e,_0x3ee09c):_0x53f603(_0x3ee09c))||_0x3ee09c);return _0x22db2c&&_0x3ee09c&&Nr(_0x153732,_0x59937e,_0x3ee09c),_0x3ee09c;},Xt=(_0x260f4c,_0xdea853)=>(_0x5da994,_0x360ca3)=>_0xdea853(_0x5da994,_0x360ca3,_0x260f4c);const Pi=_0x384d48(0x396),wr='/universer-api/authz';let bt=class extends _0x347757{constructor(_0x3018f8,_0x140bda){var _0x44acfc=_0x384d48;super(),this['_HTTPService']=_0x3018f8,this[_0x44acfc(0x1eb)]=_0x140bda,this['_initMergeInterceptor']();}[_0x384d48(0x24e)](){var _0x39decc=_0x384d48;const _0x5c23b4=this;this['disposeWithMe'](this[_0x39decc(0x1db)][_0x39decc(0x3ad)]({'priority':0x3e7,'interceptor':_0x2ae067({'isMatch'(_0x53c783){var _0x2c27a0=_0x39decc,_0x4f6c7e;if(_0x53c783['method']===_0x2c27a0(0x199)&&((_0x4f6c7e=_0x53c783[_0x2c27a0(0x3ce)])!=null&&_0x4f6c7e['body'])){const {objectID:_0x38f877,objectType:_0x30cff3}=_0x53c783[_0x2c27a0(0x3ce)]['body']||{};if(!_0x38f877||_0x30cff3===void 0x0)return!0x1;const _0x2e4556=_0x5c23b4[_0x2c27a0(0x3a5)]()+'/'+_0x30cff3+_0x2c27a0(0x1a4)+_0x38f877+_0x2c27a0(0x395);if(_0x53c783[_0x2c27a0(0x43a)]===_0x2e4556)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51fbc9){var _0x556dda=_0x39decc,_0x112e8d;return(_0x112e8d=_0x51fbc9[_0x556dda(0x3ce)])==null?void 0x0:_0x112e8d['body'];},'mergeParamsToRequest'(_0x46d710,_0x1b59ea){var _0xca7e63=_0x39decc;const _0x130306=_0x5c23b4[_0xca7e63(0x3a5)]()+_0xca7e63(0x28f),_0x2e72d1=_0x46d710[_0xca7e63(0x2af)]((_0x415862,_0x500c18)=>{var _0x537228=_0xca7e63;const {unitID:_0x348fa0,objectID:_0x112d5a,objectType:_0x429339,actions:_0x83a528}=_0x500c18;return _0x415862[_0x348fa0]||(_0x415862[_0x348fa0]={}),_0x415862[_0x348fa0][_0x112d5a]||(_0x415862[_0x348fa0][_0x112d5a]={'objectID':_0x112d5a,'objectType':_0x429339,'actions':[]}),_0x415862[_0x348fa0][_0x112d5a][_0x537228(0x1e1)][_0x537228(0x372)](..._0x83a528),_0x415862;},{}),_0x5d8ac3=[];for(const _0x3ff232 in _0x2e72d1)for(const _0x5e069d in _0x2e72d1[_0x3ff232]){const {actions:_0x4ce0b2,objectType:_0x580841}=_0x2e72d1[_0x3ff232][_0x5e069d],_0x599584=[...new Set(_0x4ce0b2)];_0x5d8ac3[_0xca7e63(0x372)]({'unitID':_0x3ff232,'objectID':_0x5e069d,'objectType':_0x580841,'actions':_0x599584});}return new _0x13ab81(_0xca7e63(0x199),_0x130306,{'headers':_0x1b59ea[_0xca7e63(0x46f)],'withCredentials':_0x1b59ea['withCredentials'],'responseType':_0x1b59ea[_0xca7e63(0x29c)],'body':{'requests':_0x5d8ac3}});}},{'distributeResult'(_0x1350e8,_0x45edfe){const {objectActions:_0x278b04}=_0x1350e8;return _0x45edfe['map'](_0x46a05c=>{var _0x2aab46=_0x56fc;const {unitID:_0x4ba290,objectID:_0x20ee2d,actions:_0x516a5f}=_0x46a05c,_0x70e987=_0x278b04['find'](_0x1bfb96=>_0x1bfb96[_0x2aab46(0x177)]===_0x4ba290&&_0x1bfb96['objectID']===_0x20ee2d),_0x36ef07=_0x516a5f[_0x2aab46(0x2ac)](_0x5c8981=>_0x70e987==null?void 0x0:_0x70e987[_0x2aab46(0x1e1)][_0x2aab46(0x33d)](_0x471e75=>_0x471e75[_0x2aab46(0x3a1)]===_0x5c8981))[_0x2aab46(0x416)](_0x5213cc=>!!_0x5213cc);return{'config':_0x46a05c,'result':{'actions':_0x36ef07,'error':_0x1350e8[_0x2aab46(0x466)]}};});}})}));}[_0x384d48(0x3a5)](){var _0x1f82e7=_0x384d48,_0x3ac856,_0x23d210;const _0x4f9468=this[_0x1f82e7(0x1eb)][_0x1f82e7(0x3c7)](Pi),_0x2c0ba5=this['_configService'][_0x1f82e7(0x3c7)](q);return(_0x23d210=(_0x3ac856=_0x2c0ba5==null?void 0x0:_0x2c0ba5[_0x1f82e7(0x186)])!=null?_0x3ac856:_0x4f9468)!=null?_0x23d210:wr;}async[_0x384d48(0x1c5)](_0x5d38fa){var _0x178f8e=_0x384d48;const _0x533dcd=this[_0x178f8e(0x3a5)]()+'/'+_0x5d38fa['objectType']+_0x178f8e(0x2a8);return(await this[_0x178f8e(0x1db)]['post'](_0x533dcd,{'body':_0x5d38fa}))[_0x178f8e(0x2ba)][_0x178f8e(0x328)]||'';}async[_0x384d48(0x442)](_0x16cb3a){var _0x43daad=_0x384d48;const _0x17f1dd=this['_getAPIPrefixPath']()+_0x43daad(0x227);return(await this[_0x43daad(0x1db)][_0x43daad(0x432)](_0x17f1dd,{'body':_0x16cb3a}))[_0x43daad(0x2ba)]['objects'];}async[_0x384d48(0x1de)](_0x23f9a1){var _0x163a01=_0x384d48;const _0x51a235=this[_0x163a01(0x3a5)]()+'/'+_0x23f9a1[_0x163a01(0x3f5)]+_0x163a01(0x1a4)+_0x23f9a1[_0x163a01(0x328)];await this['_HTTPService']['put'](_0x51a235,{'body':_0x23f9a1});}async[_0x384d48(0x1e8)](_0xc51384){var _0x10b7fc=_0x384d48;const _0x48fcb3=this[_0x10b7fc(0x3a5)]()+'/'+_0xc51384['objectType']+_0x10b7fc(0x1a4)+_0xc51384[_0x10b7fc(0x328)]+'/allowed';return(await this[_0x10b7fc(0x1db)][_0x10b7fc(0x432)](_0x48fcb3,{'body':_0xc51384}))[_0x10b7fc(0x2ba)][_0x10b7fc(0x1e1)];}async[_0x384d48(0x218)](_0x4a536d){var _0x4b4818=_0x384d48;const _0x57d2d5=this[_0x4b4818(0x3a5)]()+_0x4b4818(0x28f);return(await this[_0x4b4818(0x1db)][_0x4b4818(0x432)](_0x57d2d5,{'body':{'requests':_0x4a536d}}))['body'][_0x4b4818(0x474)];}async[_0x384d48(0x341)](_0x21a9cd){var _0x1d9c90=_0x384d48;const _0x26bcbb=this[_0x1d9c90(0x3a5)]()+'/'+_0x21a9cd[_0x1d9c90(0x3f5)]+_0x1d9c90(0x445),_0x4ecf11=await this['_HTTPService']['post'](_0x26bcbb,{'body':_0x21a9cd});return{'roles':_0x4ecf11[_0x1d9c90(0x2ba)]['roles'],'actions':_0x4ecf11[_0x1d9c90(0x2ba)][_0x1d9c90(0x1e1)]};}async['deleteCollaborator'](_0x4a539d){var _0x33f6d2=_0x384d48;const _0xe831ec=this[_0x33f6d2(0x3a5)]()+_0x33f6d2(0x1d3);await this['_HTTPService'][_0x33f6d2(0x32f)](_0xe831ec,{'params':{'collaboratorID':_0x4a539d[_0x33f6d2(0x1a0)],'objectID':_0x4a539d['objectID'],'unitID':_0x4a539d[_0x33f6d2(0x177)]}});}async['updateCollaborator'](_0x6c2ac9){var _0x321284=_0x384d48;const _0x1bc585=this['_getAPIPrefixPath']()+_0x321284(0x1d3);await this[_0x321284(0x1db)][_0x321284(0x412)](_0x1bc585,{'body':_0x6c2ac9});}async['createCollaborator'](_0x24807f){var _0x15a720=_0x384d48;const _0x3d8944=this[_0x15a720(0x3a5)]()+'/collaborator';await this[_0x15a720(0x1db)][_0x15a720(0x432)](_0x3d8944,{'body':_0x24807f});}async[_0x384d48(0x329)](_0x303303){var _0x204451=_0x384d48;const _0x52a1d4=this['_getAPIPrefixPath']()+_0x204451(0x1d3);return(await this[_0x204451(0x1db)]['get'](_0x52a1d4,{'params':{'objectID':_0x303303[_0x204451(0x328)],'unitID':_0x303303['unitID']}}))[_0x204451(0x2ba)][_0x204451(0x204)];}async[_0x384d48(0x35a)](_0x2c5f84){var _0x58d5e6=_0x384d48;const _0x5e62eb=this['_getAPIPrefixPath']()+_0x58d5e6(0x1d3);await this['_HTTPService'][_0x58d5e6(0x314)](_0x5e62eb,{'body':_0x2c5f84});}};bt=Pr([Xt(0x0,_0x524d9b(_0x1fa986)),Xt(0x1,_0x524d9b(_0x3564e5))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x7d31c6){var _0x38097a=_0x384d48;return _0x7d31c6&&_0x7d31c6[_0x38097a(0x181)]&&Object['prototype'][_0x38097a(0x3e7)][_0x38097a(0x1c4)](_0x7d31c6,'default')?_0x7d31c6['default']:_0x7d31c6;}var Ve={'exports':{}};function Ur(_0x1f2aa5){var _0x97b1fa=_0x384d48;throw new Error(_0x97b1fa(0x251)+_0x1f2aa5+_0x97b1fa(0x22c));}var Ge={'exports':{}},Ar=Ge[_0x384d48(0x27b)],Zt;function ne(){var _0x207170=_0x384d48;return Zt||(Zt=0x1,function(_0x13fddf,_0x7f467e){(function(_0x297c75,_0x550d95){var _0x1193d7=_0x56fc;_0x13fddf[_0x1193d7(0x27b)]=_0x550d95();}(Ar,function(){var _0x34313f=_0x34313f||function(_0x41d30f,_0x34573f){var _0x34bf53=_0x56fc,_0x564eb5;if(typeof window<'u'&&window['crypto']&&(_0x564eb5=window[_0x34bf53(0x24b)]),typeof self<'u'&&self[_0x34bf53(0x24b)]&&(_0x564eb5=self[_0x34bf53(0x24b)]),typeof globalThis<'u'&&globalThis[_0x34bf53(0x24b)]&&(_0x564eb5=globalThis[_0x34bf53(0x24b)]),!_0x564eb5&&typeof window<'u'&&window[_0x34bf53(0x414)]&&(_0x564eb5=window[_0x34bf53(0x414)]),!_0x564eb5&&typeof pt<'u'&&pt[_0x34bf53(0x24b)]&&(_0x564eb5=pt['crypto']),!_0x564eb5&&typeof Ur==_0x34bf53(0x18e))try{_0x564eb5=require(_0x34bf53(0x24b));}catch{}var _0x141741=function(){var _0x59f533=_0x34bf53;if(_0x564eb5){if(typeof _0x564eb5[_0x59f533(0x259)]==_0x59f533(0x18e))try{return _0x564eb5[_0x59f533(0x259)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x564eb5[_0x59f533(0x3e1)]==_0x59f533(0x18e))try{return _0x564eb5[_0x59f533(0x3e1)](0x4)[_0x59f533(0x3d4)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x17e7a7=Object[_0x34bf53(0x1c5)]||(function(){function _0x426a0c(){}return function(_0x138d28){var _0x3bf364=_0x56fc,_0x5c3c18;return _0x426a0c[_0x3bf364(0x39e)]=_0x138d28,_0x5c3c18=new _0x426a0c(),_0x426a0c[_0x3bf364(0x39e)]=null,_0x5c3c18;};}()),_0x30352b={},_0x1349d5=_0x30352b[_0x34bf53(0x309)]={},_0x344e03=_0x1349d5[_0x34bf53(0x392)]=(function(){return{'extend':function(_0x337245){var _0xdbd27d=_0x56fc,_0x4f9daa=_0x17e7a7(this);return _0x337245&&_0x4f9daa[_0xdbd27d(0x3bc)](_0x337245),(!_0x4f9daa['hasOwnProperty'](_0xdbd27d(0x2cb))||this[_0xdbd27d(0x2cb)]===_0x4f9daa[_0xdbd27d(0x2cb)])&&(_0x4f9daa[_0xdbd27d(0x2cb)]=function(){var _0x2499af=_0xdbd27d;_0x4f9daa['$super'][_0x2499af(0x2cb)][_0x2499af(0x382)](this,arguments);}),_0x4f9daa[_0xdbd27d(0x2cb)][_0xdbd27d(0x39e)]=_0x4f9daa,_0x4f9daa[_0xdbd27d(0x275)]=this,_0x4f9daa;},'create':function(){var _0x571cf1=_0x56fc,_0x5aba25=this[_0x571cf1(0x265)]();return _0x5aba25['init'][_0x571cf1(0x382)](_0x5aba25,arguments),_0x5aba25;},'init':function(){},'mixIn':function(_0x4e43e1){var _0x2db423=_0x56fc;for(var _0x3797dd in _0x4e43e1)_0x4e43e1[_0x2db423(0x3e7)](_0x3797dd)&&(this[_0x3797dd]=_0x4e43e1[_0x3797dd]);_0x4e43e1[_0x2db423(0x3e7)](_0x2db423(0x2a4))&&(this[_0x2db423(0x2a4)]=_0x4e43e1[_0x2db423(0x2a4)]);},'clone':function(){var _0x565c9f=_0x56fc;return this['init'][_0x565c9f(0x39e)]['extend'](this);}};}()),_0x213493=_0x1349d5[_0x34bf53(0x22a)]=_0x344e03[_0x34bf53(0x265)]({'init':function(_0x4b0218,_0x2cc165){var _0x31d832=_0x34bf53;_0x4b0218=this[_0x31d832(0x43e)]=_0x4b0218||[],_0x2cc165!=_0x34573f?this['sigBytes']=_0x2cc165:this[_0x31d832(0x3ea)]=_0x4b0218['length']*0x4;},'toString':function(_0x5292d8){var _0x2e28c6=_0x34bf53;return(_0x5292d8||_0x411c31)[_0x2e28c6(0x3a9)](this);},'concat':function(_0x2864c8){var _0x1b0697=_0x34bf53,_0x70aec9=this['words'],_0x11e80b=_0x2864c8[_0x1b0697(0x43e)],_0x46ea60=this['sigBytes'],_0x2edc81=_0x2864c8[_0x1b0697(0x3ea)];if(this[_0x1b0697(0x20e)](),_0x46ea60%0x4)for(var _0x52b7af=0x0;_0x52b7af<_0x2edc81;_0x52b7af++){var _0x5af433=_0x11e80b[_0x52b7af>>>0x2]>>>0x18-_0x52b7af%0x4*0x8&0xff;_0x70aec9[_0x46ea60+_0x52b7af>>>0x2]|=_0x5af433<<0x18-(_0x46ea60+_0x52b7af)%0x4*0x8;}else{for(var _0x58142e=0x0;_0x58142e<_0x2edc81;_0x58142e+=0x4)_0x70aec9[_0x46ea60+_0x58142e>>>0x2]=_0x11e80b[_0x58142e>>>0x2];}return this[_0x1b0697(0x3ea)]+=_0x2edc81,this;},'clamp':function(){var _0x128632=_0x34bf53,_0x3cf3a6=this[_0x128632(0x43e)],_0x248f04=this[_0x128632(0x3ea)];_0x3cf3a6[_0x248f04>>>0x2]&=0xffffffff<<0x20-_0x248f04%0x4*0x8,_0x3cf3a6[_0x128632(0x20c)]=_0x41d30f[_0x128632(0x1f9)](_0x248f04/0x4);},'clone':function(){var _0x10790d=_0x34bf53,_0x2fee21=_0x344e03[_0x10790d(0x211)][_0x10790d(0x1c4)](this);return _0x2fee21['words']=this[_0x10790d(0x43e)]['slice'](0x0),_0x2fee21;},'random':function(_0x227f96){for(var _0x480284=[],_0x1bfa0b=0x0;_0x1bfa0b<_0x227f96;_0x1bfa0b+=0x4)_0x480284['push'](_0x141741());return new _0x213493['init'](_0x480284,_0x227f96);}}),_0x4518e0=_0x30352b[_0x34bf53(0x303)]={},_0x411c31=_0x4518e0[_0x34bf53(0x263)]={'stringify':function(_0x5395af){var _0x41fdb4=_0x34bf53;for(var _0x33a9=_0x5395af[_0x41fdb4(0x43e)],_0x5dac1b=_0x5395af['sigBytes'],_0x42f245=[],_0x51b16f=0x0;_0x51b16f<_0x5dac1b;_0x51b16f++){var _0x4451ab=_0x33a9[_0x51b16f>>>0x2]>>>0x18-_0x51b16f%0x4*0x8&0xff;_0x42f245['push']((_0x4451ab>>>0x4)[_0x41fdb4(0x2a4)](0x10)),_0x42f245['push']((_0x4451ab&0xf)[_0x41fdb4(0x2a4)](0x10));}return _0x42f245[_0x41fdb4(0x33e)]('');},'parse':function(_0x4816b1){var _0x520a8=_0x34bf53;for(var _0x23a5ee=_0x4816b1[_0x520a8(0x20c)],_0x2a5fb1=[],_0x4a9be9=0x0;_0x4a9be9<_0x23a5ee;_0x4a9be9+=0x2)_0x2a5fb1[_0x4a9be9>>>0x3]|=parseInt(_0x4816b1['substr'](_0x4a9be9,0x2),0x10)<<0x18-_0x4a9be9%0x8*0x4;return new _0x213493[(_0x520a8(0x2cb))](_0x2a5fb1,_0x23a5ee/0x2);}},_0x271057=_0x4518e0['Latin1']={'stringify':function(_0x18c728){var _0x51e3e4=_0x34bf53;for(var _0x26c060=_0x18c728[_0x51e3e4(0x43e)],_0x3fc02b=_0x18c728[_0x51e3e4(0x3ea)],_0x153af0=[],_0x440631=0x0;_0x440631<_0x3fc02b;_0x440631++){var _0x588061=_0x26c060[_0x440631>>>0x2]>>>0x18-_0x440631%0x4*0x8&0xff;_0x153af0[_0x51e3e4(0x372)](String[_0x51e3e4(0x203)](_0x588061));}return _0x153af0[_0x51e3e4(0x33e)]('');},'parse':function(_0x226776){var _0x302b71=_0x34bf53;for(var _0xc794b6=_0x226776[_0x302b71(0x20c)],_0x3da4a4=[],_0x11dddf=0x0;_0x11dddf<_0xc794b6;_0x11dddf++)_0x3da4a4[_0x11dddf>>>0x2]|=(_0x226776[_0x302b71(0x32c)](_0x11dddf)&0xff)<<0x18-_0x11dddf%0x4*0x8;return new _0x213493['init'](_0x3da4a4,_0xc794b6);}},_0x71c514=_0x4518e0['Utf8']={'stringify':function(_0x4cb84d){var _0x291448=_0x34bf53;try{return decodeURIComponent(escape(_0x271057['stringify'](_0x4cb84d)));}catch{throw new Error(_0x291448(0x3b7));}},'parse':function(_0x53dd56){var _0x324861=_0x34bf53;return _0x271057[_0x324861(0x2e8)](unescape(encodeURIComponent(_0x53dd56)));}},_0x2de564=_0x1349d5[_0x34bf53(0x3a4)]=_0x344e03[_0x34bf53(0x265)]({'reset':function(){var _0x937eb2=_0x34bf53;this['_data']=new _0x213493[(_0x937eb2(0x2cb))](),this[_0x937eb2(0x475)]=0x0;},'_append':function(_0x112424){var _0x570f0c=_0x34bf53;typeof _0x112424==_0x570f0c(0x3c1)&&(_0x112424=_0x71c514[_0x570f0c(0x2e8)](_0x112424)),this[_0x570f0c(0x378)][_0x570f0c(0x2d6)](_0x112424),this[_0x570f0c(0x475)]+=_0x112424[_0x570f0c(0x3ea)];},'_process':function(_0x3ebb6a){var _0x514b85=_0x34bf53,_0x18a8ea,_0x375546=this[_0x514b85(0x378)],_0x60c1ad=_0x375546[_0x514b85(0x43e)],_0x17a569=_0x375546[_0x514b85(0x3ea)],_0x29ab52=this[_0x514b85(0x30a)],_0x1b5ed7=_0x29ab52*0x4,_0x789a00=_0x17a569/_0x1b5ed7;_0x3ebb6a?_0x789a00=_0x41d30f['ceil'](_0x789a00):_0x789a00=_0x41d30f[_0x514b85(0x173)]((_0x789a00|0x0)-this[_0x514b85(0x209)],0x0);var _0x4e9ea8=_0x789a00*_0x29ab52,_0x4245cf=_0x41d30f[_0x514b85(0x40e)](_0x4e9ea8*0x4,_0x17a569);if(_0x4e9ea8){for(var _0x583b87=0x0;_0x583b87<_0x4e9ea8;_0x583b87+=_0x29ab52)this[_0x514b85(0x3dc)](_0x60c1ad,_0x583b87);_0x18a8ea=_0x60c1ad['splice'](0x0,_0x4e9ea8),_0x375546[_0x514b85(0x3ea)]-=_0x4245cf;}return new _0x213493[(_0x514b85(0x2cb))](_0x18a8ea,_0x4245cf);},'clone':function(){var _0x5c62e1=_0x34bf53,_0x44b7a3=_0x344e03[_0x5c62e1(0x211)][_0x5c62e1(0x1c4)](this);return _0x44b7a3[_0x5c62e1(0x378)]=this[_0x5c62e1(0x378)][_0x5c62e1(0x211)](),_0x44b7a3;},'_minBufferSize':0x0});_0x1349d5[_0x34bf53(0x185)]=_0x2de564[_0x34bf53(0x265)]({'cfg':_0x344e03[_0x34bf53(0x265)](),'init':function(_0x139fdd){var _0x4525ab=_0x34bf53;this['cfg']=this[_0x4525ab(0x379)][_0x4525ab(0x265)](_0x139fdd),this['reset']();},'reset':function(){var _0x1b9bd6=_0x34bf53;_0x2de564[_0x1b9bd6(0x3d8)][_0x1b9bd6(0x1c4)](this),this[_0x1b9bd6(0x255)]();},'update':function(_0x33ace6){return this['_append'](_0x33ace6),this['_process'](),this;},'finalize':function(_0x47b1e9){var _0x1fa80f=_0x34bf53;_0x47b1e9&&this[_0x1fa80f(0x21b)](_0x47b1e9);var _0x182ca6=this['_doFinalize']();return _0x182ca6;},'blockSize':0x10,'_createHelper':function(_0xc9603c){return function(_0x343073,_0x2ded03){var _0x16ad06=_0x56fc;return new _0xc9603c['init'](_0x2ded03)[_0x16ad06(0x1f3)](_0x343073);};},'_createHmacHelper':function(_0x22fbbb){return function(_0x197db4,_0x5bf378){var _0x4c073b=_0x56fc;return new _0x40d5a9[(_0x4c073b(0x2f2))][(_0x4c073b(0x2cb))](_0x22fbbb,_0x5bf378)['finalize'](_0x197db4);};}});var _0x40d5a9=_0x30352b[_0x34bf53(0x3da)]={};return _0x30352b;}(Math);return _0x34313f;}));}(Ge)),Ge[_0x207170(0x27b)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){return Qt||(Qt=0x1,function(_0x7baf7f,_0x4f6ece){(function(_0x1667b4,_0x647bb5){var _0x5caa7e=_0x56fc;_0x7baf7f[_0x5caa7e(0x27b)]=_0x647bb5(ne());}(xr,function(_0x5b0844){var _0x2415b8=_0x56fc;return(function(){var _0x5201a4=_0x56fc,_0x38dd59=_0x5b0844,_0x20c5c9=_0x38dd59[_0x5201a4(0x309)],_0x3476cc=_0x20c5c9[_0x5201a4(0x22a)],_0x437d77=_0x38dd59[_0x5201a4(0x303)];_0x437d77[_0x5201a4(0x300)]={'stringify':function(_0x1a4182){var _0x2aab6e=_0x5201a4,_0x993417=_0x1a4182[_0x2aab6e(0x43e)],_0x133d44=_0x1a4182[_0x2aab6e(0x3ea)],_0x32c60f=this['_map'];_0x1a4182[_0x2aab6e(0x20e)]();for(var _0x493657=[],_0x2f1855=0x0;_0x2f1855<_0x133d44;_0x2f1855+=0x3)for(var _0x3e5c04=_0x993417[_0x2f1855>>>0x2]>>>0x18-_0x2f1855%0x4*0x8&0xff,_0x20b418=_0x993417[_0x2f1855+0x1>>>0x2]>>>0x18-(_0x2f1855+0x1)%0x4*0x8&0xff,_0xaf7ecb=_0x993417[_0x2f1855+0x2>>>0x2]>>>0x18-(_0x2f1855+0x2)%0x4*0x8&0xff,_0x570ea8=_0x3e5c04<<0x10|_0x20b418<<0x8|_0xaf7ecb,_0x2ab275=0x0;_0x2ab275<0x4&&_0x2f1855+_0x2ab275*0.75<_0x133d44;_0x2ab275++)_0x493657[_0x2aab6e(0x372)](_0x32c60f[_0x2aab6e(0x343)](_0x570ea8>>>0x6*(0x3-_0x2ab275)&0x3f));var _0x29593b=_0x32c60f[_0x2aab6e(0x343)](0x40);if(_0x29593b){for(;_0x493657['length']%0x4;)_0x493657[_0x2aab6e(0x372)](_0x29593b);}return _0x493657[_0x2aab6e(0x33e)]('');},'parse':function(_0x35c7e2){var _0x442932=_0x5201a4,_0x30077b=_0x35c7e2[_0x442932(0x20c)],_0x3bd4f9=this[_0x442932(0x464)],_0x40e8cb=this[_0x442932(0x1c2)];if(!_0x40e8cb){_0x40e8cb=this[_0x442932(0x1c2)]=[];for(var _0x80da51=0x0;_0x80da51<_0x3bd4f9[_0x442932(0x20c)];_0x80da51++)_0x40e8cb[_0x3bd4f9[_0x442932(0x32c)](_0x80da51)]=_0x80da51;}var _0x1edf5f=_0x3bd4f9[_0x442932(0x343)](0x40);if(_0x1edf5f){var _0x156579=_0x35c7e2['indexOf'](_0x1edf5f);_0x156579!==-0x1&&(_0x30077b=_0x156579);}return _0x3afd4e(_0x35c7e2,_0x30077b,_0x40e8cb);},'_map':_0x5201a4(0x24d)};function _0x3afd4e(_0x33107f,_0x54064e,_0x5b31f9){var _0x40540c=_0x5201a4;for(var _0x5fbabe=[],_0x5871be=0x0,_0x4f600a=0x0;_0x4f600a<_0x54064e;_0x4f600a++)if(_0x4f600a%0x4){var _0x1c1b61=_0x5b31f9[_0x33107f[_0x40540c(0x32c)](_0x4f600a-0x1)]<<_0x4f600a%0x4*0x2,_0x1e4263=_0x5b31f9[_0x33107f[_0x40540c(0x32c)](_0x4f600a)]>>>0x6-_0x4f600a%0x4*0x2,_0x58e2eb=_0x1c1b61|_0x1e4263;_0x5fbabe[_0x5871be>>>0x2]|=_0x58e2eb<<0x18-_0x5871be%0x4*0x8,_0x5871be++;}return _0x3476cc['create'](_0x5fbabe,_0x5871be);}}()),_0x5b0844[_0x2415b8(0x303)][_0x2415b8(0x300)];}));}(We)),We['exports'];}function _0x56fc(_0x5b6670,_0x19dfd0){var _0x5c4163=_0x5c41();return _0x56fc=function(_0x56fc64,_0x118cae){_0x56fc64=_0x56fc64-0x16f;var _0x4c565f=_0x5c4163[_0x56fc64];return _0x4c565f;},_0x56fc(_0x5b6670,_0x19dfd0);}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x316fd6,_0x2cc07c){(function(_0x5a3f49,_0x1b7954){_0x316fd6['exports']=_0x1b7954(ne());}(Lr,function(_0x50d879){var _0x190e01=_0x56fc;return function(_0x50b768){var _0x4434a9=_0x56fc,_0x1129d8=_0x50d879,_0x5f4be7=_0x1129d8['lib'],_0x4d76ed=_0x5f4be7[_0x4434a9(0x22a)],_0x121096=_0x5f4be7['Hasher'],_0x15196d=_0x1129d8['algo'],_0x3ec551=[];(function(){var _0x2b6214=_0x4434a9;for(var _0x2023e3=0x0;_0x2023e3<0x40;_0x2023e3++)_0x3ec551[_0x2023e3]=_0x50b768[_0x2b6214(0x2b2)](_0x50b768[_0x2b6214(0x369)](_0x2023e3+0x1))*0x100000000|0x0;}());var _0x52bc8b=_0x15196d[_0x4434a9(0x324)]=_0x121096['extend']({'_doReset':function(){var _0x574c5c=_0x4434a9;this['_hash']=new _0x4d76ed[(_0x574c5c(0x2cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf3ba6,_0x117b1f){var _0x4e1562=_0x4434a9;for(var _0x2ad497=0x0;_0x2ad497<0x10;_0x2ad497++){var _0x38b678=_0x117b1f+_0x2ad497,_0x44b0ac=_0xf3ba6[_0x38b678];_0xf3ba6[_0x38b678]=(_0x44b0ac<<0x8|_0x44b0ac>>>0x18)&0xff00ff|(_0x44b0ac<<0x18|_0x44b0ac>>>0x8)&0xff00ff00;}var _0x428b83=this[_0x4e1562(0x220)][_0x4e1562(0x43e)],_0x5bf40e=_0xf3ba6[_0x117b1f+0x0],_0x267ddc=_0xf3ba6[_0x117b1f+0x1],_0x2c6b28=_0xf3ba6[_0x117b1f+0x2],_0x285a6e=_0xf3ba6[_0x117b1f+0x3],_0x4534f3=_0xf3ba6[_0x117b1f+0x4],_0x2c77be=_0xf3ba6[_0x117b1f+0x5],_0x31f0ad=_0xf3ba6[_0x117b1f+0x6],_0x32daaf=_0xf3ba6[_0x117b1f+0x7],_0x15f8ac=_0xf3ba6[_0x117b1f+0x8],_0x1d5c4a=_0xf3ba6[_0x117b1f+0x9],_0x3b94d7=_0xf3ba6[_0x117b1f+0xa],_0x2cdaf1=_0xf3ba6[_0x117b1f+0xb],_0xbbb499=_0xf3ba6[_0x117b1f+0xc],_0x30e871=_0xf3ba6[_0x117b1f+0xd],_0x52cc89=_0xf3ba6[_0x117b1f+0xe],_0x54115a=_0xf3ba6[_0x117b1f+0xf],_0x504901=_0x428b83[0x0],_0x5997c9=_0x428b83[0x1],_0x52960a=_0x428b83[0x2],_0x59a5a8=_0x428b83[0x3];_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x5bf40e,0x7,_0x3ec551[0x0]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x267ddc,0xc,_0x3ec551[0x1]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2c6b28,0x11,_0x3ec551[0x2]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x285a6e,0x16,_0x3ec551[0x3]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x4534f3,0x7,_0x3ec551[0x4]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2c77be,0xc,_0x3ec551[0x5]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x31f0ad,0x11,_0x3ec551[0x6]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x32daaf,0x16,_0x3ec551[0x7]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x15f8ac,0x7,_0x3ec551[0x8]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x1d5c4a,0xc,_0x3ec551[0x9]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x3b94d7,0x11,_0x3ec551[0xa]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2cdaf1,0x16,_0x3ec551[0xb]),_0x504901=_0x5dc0de(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0xbbb499,0x7,_0x3ec551[0xc]),_0x59a5a8=_0x5dc0de(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x30e871,0xc,_0x3ec551[0xd]),_0x52960a=_0x5dc0de(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x52cc89,0x11,_0x3ec551[0xe]),_0x5997c9=_0x5dc0de(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x54115a,0x16,_0x3ec551[0xf]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x267ddc,0x5,_0x3ec551[0x10]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x31f0ad,0x9,_0x3ec551[0x11]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2cdaf1,0xe,_0x3ec551[0x12]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x5bf40e,0x14,_0x3ec551[0x13]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x2c77be,0x5,_0x3ec551[0x14]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x3b94d7,0x9,_0x3ec551[0x15]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x54115a,0xe,_0x3ec551[0x16]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x4534f3,0x14,_0x3ec551[0x17]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x1d5c4a,0x5,_0x3ec551[0x18]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x52cc89,0x9,_0x3ec551[0x19]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x285a6e,0xe,_0x3ec551[0x1a]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x15f8ac,0x14,_0x3ec551[0x1b]),_0x504901=_0x4485ce(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x30e871,0x5,_0x3ec551[0x1c]),_0x59a5a8=_0x4485ce(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2c6b28,0x9,_0x3ec551[0x1d]),_0x52960a=_0x4485ce(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x32daaf,0xe,_0x3ec551[0x1e]),_0x5997c9=_0x4485ce(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0xbbb499,0x14,_0x3ec551[0x1f]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x2c77be,0x4,_0x3ec551[0x20]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x15f8ac,0xb,_0x3ec551[0x21]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2cdaf1,0x10,_0x3ec551[0x22]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x52cc89,0x17,_0x3ec551[0x23]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x267ddc,0x4,_0x3ec551[0x24]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x4534f3,0xb,_0x3ec551[0x25]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x32daaf,0x10,_0x3ec551[0x26]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x3b94d7,0x17,_0x3ec551[0x27]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x30e871,0x4,_0x3ec551[0x28]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x5bf40e,0xb,_0x3ec551[0x29]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x285a6e,0x10,_0x3ec551[0x2a]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x31f0ad,0x17,_0x3ec551[0x2b]),_0x504901=_0x194450(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x1d5c4a,0x4,_0x3ec551[0x2c]),_0x59a5a8=_0x194450(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0xbbb499,0xb,_0x3ec551[0x2d]),_0x52960a=_0x194450(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x54115a,0x10,_0x3ec551[0x2e]),_0x5997c9=_0x194450(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2c6b28,0x17,_0x3ec551[0x2f]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x5bf40e,0x6,_0x3ec551[0x30]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x32daaf,0xa,_0x3ec551[0x31]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x52cc89,0xf,_0x3ec551[0x32]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x2c77be,0x15,_0x3ec551[0x33]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0xbbb499,0x6,_0x3ec551[0x34]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x285a6e,0xa,_0x3ec551[0x35]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x3b94d7,0xf,_0x3ec551[0x36]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x267ddc,0x15,_0x3ec551[0x37]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x15f8ac,0x6,_0x3ec551[0x38]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x54115a,0xa,_0x3ec551[0x39]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x31f0ad,0xf,_0x3ec551[0x3a]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x30e871,0x15,_0x3ec551[0x3b]),_0x504901=_0x2f2472(_0x504901,_0x5997c9,_0x52960a,_0x59a5a8,_0x4534f3,0x6,_0x3ec551[0x3c]),_0x59a5a8=_0x2f2472(_0x59a5a8,_0x504901,_0x5997c9,_0x52960a,_0x2cdaf1,0xa,_0x3ec551[0x3d]),_0x52960a=_0x2f2472(_0x52960a,_0x59a5a8,_0x504901,_0x5997c9,_0x2c6b28,0xf,_0x3ec551[0x3e]),_0x5997c9=_0x2f2472(_0x5997c9,_0x52960a,_0x59a5a8,_0x504901,_0x1d5c4a,0x15,_0x3ec551[0x3f]),_0x428b83[0x0]=_0x428b83[0x0]+_0x504901|0x0,_0x428b83[0x1]=_0x428b83[0x1]+_0x5997c9|0x0,_0x428b83[0x2]=_0x428b83[0x2]+_0x52960a|0x0,_0x428b83[0x3]=_0x428b83[0x3]+_0x59a5a8|0x0;},'_doFinalize':function(){var _0x1a3a2e=_0x4434a9,_0x41ea64=this[_0x1a3a2e(0x378)],_0xd1783f=_0x41ea64[_0x1a3a2e(0x43e)],_0x505979=this[_0x1a3a2e(0x475)]*0x8,_0xf57fbb=_0x41ea64[_0x1a3a2e(0x3ea)]*0x8;_0xd1783f[_0xf57fbb>>>0x5]|=0x80<<0x18-_0xf57fbb%0x20;var _0x3919cc=_0x50b768[_0x1a3a2e(0x441)](_0x505979/0x100000000),_0x4bbb7a=_0x505979;_0xd1783f[(_0xf57fbb+0x40>>>0x9<<0x4)+0xf]=(_0x3919cc<<0x8|_0x3919cc>>>0x18)&0xff00ff|(_0x3919cc<<0x18|_0x3919cc>>>0x8)&0xff00ff00,_0xd1783f[(_0xf57fbb+0x40>>>0x9<<0x4)+0xe]=(_0x4bbb7a<<0x8|_0x4bbb7a>>>0x18)&0xff00ff|(_0x4bbb7a<<0x18|_0x4bbb7a>>>0x8)&0xff00ff00,_0x41ea64['sigBytes']=(_0xd1783f[_0x1a3a2e(0x20c)]+0x1)*0x4,this[_0x1a3a2e(0x239)]();for(var _0x170465=this[_0x1a3a2e(0x220)],_0x47b5f2=_0x170465[_0x1a3a2e(0x43e)],_0x57cbde=0x0;_0x57cbde<0x4;_0x57cbde++){var _0x323a3c=_0x47b5f2[_0x57cbde];_0x47b5f2[_0x57cbde]=(_0x323a3c<<0x8|_0x323a3c>>>0x18)&0xff00ff|(_0x323a3c<<0x18|_0x323a3c>>>0x8)&0xff00ff00;}return _0x170465;},'clone':function(){var _0x3555f0=_0x4434a9,_0x431b2c=_0x121096[_0x3555f0(0x211)][_0x3555f0(0x1c4)](this);return _0x431b2c[_0x3555f0(0x220)]=this[_0x3555f0(0x220)][_0x3555f0(0x211)](),_0x431b2c;}});function _0x5dc0de(_0x592460,_0x5d36db,_0x3f701e,_0x4f90b1,_0x98cbef,_0x16cabf,_0x26d5a2){var _0x3c089b=_0x592460+(_0x5d36db&_0x3f701e|~_0x5d36db&_0x4f90b1)+_0x98cbef+_0x26d5a2;return(_0x3c089b<<_0x16cabf|_0x3c089b>>>0x20-_0x16cabf)+_0x5d36db;}function _0x4485ce(_0x40a1c5,_0x1b59cc,_0x2dfbf0,_0x528031,_0xbbe311,_0x1dafcc,_0x4571d0){var _0x79a3cf=_0x40a1c5+(_0x1b59cc&_0x528031|_0x2dfbf0&~_0x528031)+_0xbbe311+_0x4571d0;return(_0x79a3cf<<_0x1dafcc|_0x79a3cf>>>0x20-_0x1dafcc)+_0x1b59cc;}function _0x194450(_0x3cf06f,_0x251c63,_0x1e7484,_0x418e47,_0x3ab857,_0x34921f,_0x43b049){var _0xaf474c=_0x3cf06f+(_0x251c63^_0x1e7484^_0x418e47)+_0x3ab857+_0x43b049;return(_0xaf474c<<_0x34921f|_0xaf474c>>>0x20-_0x34921f)+_0x251c63;}function _0x2f2472(_0x413cd5,_0x2483ff,_0x1ab8f8,_0x1e63f8,_0x189ee9,_0x1def58,_0x3fe1c6){var _0x46c4b4=_0x413cd5+(_0x1ab8f8^(_0x2483ff|~_0x1e63f8))+_0x189ee9+_0x3fe1c6;return(_0x46c4b4<<_0x1def58|_0x46c4b4>>>0x20-_0x1def58)+_0x2483ff;}_0x1129d8[_0x4434a9(0x324)]=_0x121096[_0x4434a9(0x37a)](_0x52bc8b),_0x1129d8[_0x4434a9(0x28e)]=_0x121096[_0x4434a9(0x20d)](_0x52bc8b);}(Math),_0x50d879[_0x190e01(0x324)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x384d48(0x27b)],ti;function Hr(){var _0x5f1f8d=_0x384d48;return ti||(ti=0x1,function(_0x563144,_0x23924a){(function(_0x586c70,_0x2bdc3a){_0x563144['exports']=_0x2bdc3a(ne());}($r,function(_0x337986){return(function(){var _0x4c93b1=_0x56fc,_0x3c745e=_0x337986,_0x4c53db=_0x3c745e[_0x4c93b1(0x309)],_0x2054a7=_0x4c53db['WordArray'],_0x4abdf4=_0x4c53db[_0x4c93b1(0x185)],_0x18fa89=_0x3c745e[_0x4c93b1(0x3da)],_0x426f65=[],_0x35f4db=_0x18fa89[_0x4c93b1(0x174)]=_0x4abdf4[_0x4c93b1(0x265)]({'_doReset':function(){var _0xecf693=_0x4c93b1;this[_0xecf693(0x220)]=new _0x2054a7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b71c6,_0x56db6e){var _0x28957b=_0x4c93b1;for(var _0x538fad=this[_0x28957b(0x220)][_0x28957b(0x43e)],_0x1162a3=_0x538fad[0x0],_0x218bd4=_0x538fad[0x1],_0x2dbce6=_0x538fad[0x2],_0x2033fa=_0x538fad[0x3],_0x2fac26=_0x538fad[0x4],_0x172f12=0x0;_0x172f12<0x50;_0x172f12++){if(_0x172f12<0x10)_0x426f65[_0x172f12]=_0x5b71c6[_0x56db6e+_0x172f12]|0x0;else{var _0x169604=_0x426f65[_0x172f12-0x3]^_0x426f65[_0x172f12-0x8]^_0x426f65[_0x172f12-0xe]^_0x426f65[_0x172f12-0x10];_0x426f65[_0x172f12]=_0x169604<<0x1|_0x169604>>>0x1f;}var _0x39defd=(_0x1162a3<<0x5|_0x1162a3>>>0x1b)+_0x2fac26+_0x426f65[_0x172f12];_0x172f12<0x14?_0x39defd+=(_0x218bd4&_0x2dbce6|~_0x218bd4&_0x2033fa)+0x5a827999:_0x172f12<0x28?_0x39defd+=(_0x218bd4^_0x2dbce6^_0x2033fa)+0x6ed9eba1:_0x172f12<0x3c?_0x39defd+=(_0x218bd4&_0x2dbce6|_0x218bd4&_0x2033fa|_0x2dbce6&_0x2033fa)-0x70e44324:_0x39defd+=(_0x218bd4^_0x2dbce6^_0x2033fa)-0x359d3e2a,_0x2fac26=_0x2033fa,_0x2033fa=_0x2dbce6,_0x2dbce6=_0x218bd4<<0x1e|_0x218bd4>>>0x2,_0x218bd4=_0x1162a3,_0x1162a3=_0x39defd;}_0x538fad[0x0]=_0x538fad[0x0]+_0x1162a3|0x0,_0x538fad[0x1]=_0x538fad[0x1]+_0x218bd4|0x0,_0x538fad[0x2]=_0x538fad[0x2]+_0x2dbce6|0x0,_0x538fad[0x3]=_0x538fad[0x3]+_0x2033fa|0x0,_0x538fad[0x4]=_0x538fad[0x4]+_0x2fac26|0x0;},'_doFinalize':function(){var _0x312976=_0x4c93b1,_0x26f741=this[_0x312976(0x378)],_0x25c57c=_0x26f741[_0x312976(0x43e)],_0x34332b=this[_0x312976(0x475)]*0x8,_0x5f1471=_0x26f741[_0x312976(0x3ea)]*0x8;return _0x25c57c[_0x5f1471>>>0x5]|=0x80<<0x18-_0x5f1471%0x20,_0x25c57c[(_0x5f1471+0x40>>>0x9<<0x4)+0xe]=Math[_0x312976(0x441)](_0x34332b/0x100000000),_0x25c57c[(_0x5f1471+0x40>>>0x9<<0x4)+0xf]=_0x34332b,_0x26f741[_0x312976(0x3ea)]=_0x25c57c[_0x312976(0x20c)]*0x4,this[_0x312976(0x239)](),this[_0x312976(0x220)];},'clone':function(){var _0x58148a=_0x4c93b1,_0x206b36=_0x4abdf4[_0x58148a(0x211)][_0x58148a(0x1c4)](this);return _0x206b36['_hash']=this['_hash'][_0x58148a(0x211)](),_0x206b36;}});_0x3c745e[_0x4c93b1(0x174)]=_0x4abdf4[_0x4c93b1(0x37a)](_0x35f4db),_0x3c745e['HmacSHA1']=_0x4abdf4[_0x4c93b1(0x20d)](_0x35f4db);}()),_0x337986['SHA1'];}));}(qe)),qe[_0x5f1f8d(0x27b)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x26d51b,_0x5bfe00){(function(_0x86f352,_0x3e3492){var _0x438ea1=_0x56fc;_0x26d51b[_0x438ea1(0x27b)]=_0x3e3492(ne());}(kr,function(_0x7359fa){(function(){var _0x5bb989=_0x56fc,_0x310f47=_0x7359fa,_0x5e7752=_0x310f47[_0x5bb989(0x309)],_0x341e16=_0x5e7752['Base'],_0x28f009=_0x310f47['enc'],_0x182436=_0x28f009[_0x5bb989(0x187)],_0x5e964a=_0x310f47[_0x5bb989(0x3da)];_0x5e964a['HMAC']=_0x341e16[_0x5bb989(0x265)]({'init':function(_0x48b0ca,_0x3f3de6){var _0x2f5ef9=_0x5bb989;_0x48b0ca=this[_0x2f5ef9(0x457)]=new _0x48b0ca['init'](),typeof _0x3f3de6=='string'&&(_0x3f3de6=_0x182436[_0x2f5ef9(0x2e8)](_0x3f3de6));var _0x1e561e=_0x48b0ca[_0x2f5ef9(0x30a)],_0x4bb0bc=_0x1e561e*0x4;_0x3f3de6['sigBytes']>_0x4bb0bc&&(_0x3f3de6=_0x48b0ca[_0x2f5ef9(0x1f3)](_0x3f3de6)),_0x3f3de6['clamp']();for(var _0x183c70=this[_0x2f5ef9(0x1d0)]=_0x3f3de6[_0x2f5ef9(0x211)](),_0x3bfbe5=this[_0x2f5ef9(0x182)]=_0x3f3de6['clone'](),_0x24e073=_0x183c70[_0x2f5ef9(0x43e)],_0x74299c=_0x3bfbe5[_0x2f5ef9(0x43e)],_0x5dc9a0=0x0;_0x5dc9a0<_0x1e561e;_0x5dc9a0++)_0x24e073[_0x5dc9a0]^=0x5c5c5c5c,_0x74299c[_0x5dc9a0]^=0x36363636;_0x183c70[_0x2f5ef9(0x3ea)]=_0x3bfbe5[_0x2f5ef9(0x3ea)]=_0x4bb0bc,this[_0x2f5ef9(0x3d8)]();},'reset':function(){var _0x2d0516=_0x5bb989,_0x1915ef=this[_0x2d0516(0x457)];_0x1915ef[_0x2d0516(0x3d8)](),_0x1915ef[_0x2d0516(0x1de)](this['_iKey']);},'update':function(_0x2b66ba){var _0x410da8=_0x5bb989;return this[_0x410da8(0x457)][_0x410da8(0x1de)](_0x2b66ba),this;},'finalize':function(_0x4094f8){var _0x412e76=_0x5bb989,_0x1598fc=this[_0x412e76(0x457)],_0x2ed99b=_0x1598fc[_0x412e76(0x1f3)](_0x4094f8);_0x1598fc['reset']();var _0x34485f=_0x1598fc[_0x412e76(0x1f3)](this['_oKey'][_0x412e76(0x211)]()[_0x412e76(0x2d6)](_0x2ed99b));return _0x34485f;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x384d48(0x27b)],ni;function Ui(){var _0x56fd05=_0x384d48;return ni||(ni=0x1,function(_0x43ee2b,_0x2ae705){(function(_0x1a703b,_0x2111ad,_0x5571d2){var _0x3af775=_0x56fc;_0x43ee2b[_0x3af775(0x27b)]=_0x2111ad(ne(),Hr(),jr());}(Br,function(_0x4b9294){var _0x40fa39=_0x56fc;return(function(){var _0x2a12da=_0x56fc,_0xf034a7=_0x4b9294,_0x42346b=_0xf034a7[_0x2a12da(0x309)],_0x5861e2=_0x42346b[_0x2a12da(0x392)],_0x1b449f=_0x42346b[_0x2a12da(0x22a)],_0x16082c=_0xf034a7[_0x2a12da(0x3da)],_0x9e4ae9=_0x16082c[_0x2a12da(0x324)],_0x37b8bd=_0x16082c['EvpKDF']=_0x5861e2[_0x2a12da(0x265)]({'cfg':_0x5861e2[_0x2a12da(0x265)]({'keySize':0x80/0x20,'hasher':_0x9e4ae9,'iterations':0x1}),'init':function(_0x461fb6){var _0x5c1b05=_0x2a12da;this[_0x5c1b05(0x379)]=this[_0x5c1b05(0x379)][_0x5c1b05(0x265)](_0x461fb6);},'compute':function(_0x20d3c6,_0x2457ff){var _0x850bf0=_0x2a12da;for(var _0x27901f,_0x3978f6=this['cfg'],_0x7ddc95=_0x3978f6[_0x850bf0(0x1aa)][_0x850bf0(0x1c5)](),_0x5d3ca5=_0x1b449f['create'](),_0x728761=_0x5d3ca5[_0x850bf0(0x43e)],_0x36b89c=_0x3978f6['keySize'],_0x58e436=_0x3978f6[_0x850bf0(0x1ef)];_0x728761[_0x850bf0(0x20c)]<_0x36b89c;){_0x27901f&&_0x7ddc95[_0x850bf0(0x1de)](_0x27901f),_0x27901f=_0x7ddc95['update'](_0x20d3c6)[_0x850bf0(0x1f3)](_0x2457ff),_0x7ddc95[_0x850bf0(0x3d8)]();for(var _0x2867ef=0x1;_0x2867ef<_0x58e436;_0x2867ef++)_0x27901f=_0x7ddc95[_0x850bf0(0x1f3)](_0x27901f),_0x7ddc95[_0x850bf0(0x3d8)]();_0x5d3ca5[_0x850bf0(0x2d6)](_0x27901f);}return _0x5d3ca5[_0x850bf0(0x3ea)]=_0x36b89c*0x4,_0x5d3ca5;}});_0xf034a7[_0x2a12da(0x23c)]=function(_0x46ba1f,_0x175119,_0x41d805){return _0x37b8bd['create'](_0x41d805)['compute'](_0x46ba1f,_0x175119);};}()),_0x4b9294[_0x40fa39(0x23c)];}));}(Ye)),Ye[_0x56fd05(0x27b)];}var Je={'exports':{}},Fr=Je[_0x384d48(0x27b)],ri;function Ai(){var _0x396254=_0x384d48;return ri||(ri=0x1,function(_0x4f1b91,_0x5f4ed1){(function(_0x54ac98,_0xffb0fa,_0x590e1d){_0x4f1b91['exports']=_0xffb0fa(ne(),Ui());}(Fr,function(_0x4c6262){var _0x550e6b=_0x56fc;_0x4c6262[_0x550e6b(0x309)][_0x550e6b(0x16f)]||function(_0x3b30fe){var _0x5b5ed8=_0x550e6b,_0x11a86f=_0x4c6262,_0x5bbfdf=_0x11a86f[_0x5b5ed8(0x309)],_0x3a308e=_0x5bbfdf[_0x5b5ed8(0x392)],_0x120f18=_0x5bbfdf[_0x5b5ed8(0x22a)],_0x40f2ea=_0x5bbfdf[_0x5b5ed8(0x3a4)],_0x548754=_0x11a86f[_0x5b5ed8(0x303)];_0x548754[_0x5b5ed8(0x187)];var _0x1c3b04=_0x548754[_0x5b5ed8(0x300)],_0x257d73=_0x11a86f['algo'],_0xcf2768=_0x257d73[_0x5b5ed8(0x23c)],_0xf51a43=_0x5bbfdf[_0x5b5ed8(0x16f)]=_0x40f2ea['extend']({'cfg':_0x3a308e['extend'](),'createEncryptor':function(_0x3e1478,_0x4c3014){var _0x53faa3=_0x5b5ed8;return this[_0x53faa3(0x1c5)](this[_0x53faa3(0x2d2)],_0x3e1478,_0x4c3014);},'createDecryptor':function(_0x7708b9,_0x492762){var _0x1beb09=_0x5b5ed8;return this['create'](this[_0x1beb09(0x1c3)],_0x7708b9,_0x492762);},'init':function(_0x438856,_0x3bd56c,_0x48cc9f){var _0x3bf072=_0x5b5ed8;this[_0x3bf072(0x379)]=this['cfg'][_0x3bf072(0x265)](_0x48cc9f),this[_0x3bf072(0x313)]=_0x438856,this[_0x3bf072(0x3d3)]=_0x3bd56c,this[_0x3bf072(0x3d8)]();},'reset':function(){_0x40f2ea['reset']['call'](this),this['_doReset']();},'process':function(_0xa15993){var _0x32ae68=_0x5b5ed8;return this[_0x32ae68(0x21b)](_0xa15993),this[_0x32ae68(0x239)]();},'finalize':function(_0x4017b2){var _0x427810=_0x5b5ed8;_0x4017b2&&this[_0x427810(0x21b)](_0x4017b2);var _0x267628=this['_doFinalize']();return _0x267628;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x411784(_0x5113ca){var _0x327f47=_0x56fc;return typeof _0x5113ca==_0x327f47(0x3c1)?_0x20cb6b:_0x3051a5;}return function(_0xc9af75){return{'encrypt':function(_0x22e6c2,_0x3aa5a2,_0x36ecb6){var _0x17898a=_0x56fc;return _0x411784(_0x3aa5a2)[_0x17898a(0x2cf)](_0xc9af75,_0x22e6c2,_0x3aa5a2,_0x36ecb6);},'decrypt':function(_0x51ff26,_0x2fe514,_0x2b8fd1){var _0x139408=_0x56fc;return _0x411784(_0x2fe514)[_0x139408(0x469)](_0xc9af75,_0x51ff26,_0x2fe514,_0x2b8fd1);}};};}())});_0x5bbfdf['StreamCipher']=_0xf51a43[_0x5b5ed8(0x265)]({'_doFinalize':function(){var _0x4e1514=_0x5b5ed8,_0x217013=this[_0x4e1514(0x239)](!0x0);return _0x217013;},'blockSize':0x1});var _0x2c0ad6=_0x11a86f['mode']={},_0x2dc358=_0x5bbfdf[_0x5b5ed8(0x417)]=_0x3a308e['extend']({'createEncryptor':function(_0x367e76,_0x2b0068){var _0x2965a5=_0x5b5ed8;return this[_0x2965a5(0x330)]['create'](_0x367e76,_0x2b0068);},'createDecryptor':function(_0x397ce0,_0x57a1b3){var _0x3ee5fb=_0x5b5ed8;return this[_0x3ee5fb(0x2f1)][_0x3ee5fb(0x1c5)](_0x397ce0,_0x57a1b3);},'init':function(_0x499cc7,_0xfd1490){var _0x50a291=_0x5b5ed8;this[_0x50a291(0x316)]=_0x499cc7,this['_iv']=_0xfd1490;}}),_0x142bd3=_0x2c0ad6[_0x5b5ed8(0x297)]=(function(){var _0x4e45ac=_0x5b5ed8,_0x4a6b0c=_0x2dc358['extend']();_0x4a6b0c[_0x4e45ac(0x330)]=_0x4a6b0c[_0x4e45ac(0x265)]({'processBlock':function(_0x34c17f,_0x2bcf34){var _0x59de7b=_0x4e45ac,_0x337c84=this[_0x59de7b(0x316)],_0x1fae95=_0x337c84[_0x59de7b(0x30a)];_0x453a13[_0x59de7b(0x1c4)](this,_0x34c17f,_0x2bcf34,_0x1fae95),_0x337c84[_0x59de7b(0x3e6)](_0x34c17f,_0x2bcf34),this[_0x59de7b(0x31e)]=_0x34c17f['slice'](_0x2bcf34,_0x2bcf34+_0x1fae95);}}),_0x4a6b0c[_0x4e45ac(0x2f1)]=_0x4a6b0c[_0x4e45ac(0x265)]({'processBlock':function(_0x3a53f6,_0x46b311){var _0x269066=_0x4e45ac,_0x3a9d23=this[_0x269066(0x316)],_0x46875a=_0x3a9d23['blockSize'],_0x6ede97=_0x3a53f6['slice'](_0x46b311,_0x46b311+_0x46875a);_0x3a9d23[_0x269066(0x3e0)](_0x3a53f6,_0x46b311),_0x453a13[_0x269066(0x1c4)](this,_0x3a53f6,_0x46b311,_0x46875a),this[_0x269066(0x31e)]=_0x6ede97;}});function _0x453a13(_0x4f90b2,_0x1b17c3,_0x124144){var _0x302741=_0x4e45ac,_0x34cd79,_0x4f1de6=this['_iv'];_0x4f1de6?(_0x34cd79=_0x4f1de6,this[_0x302741(0x224)]=_0x3b30fe):_0x34cd79=this[_0x302741(0x31e)];for(var _0x18d6d0=0x0;_0x18d6d0<_0x124144;_0x18d6d0++)_0x4f90b2[_0x1b17c3+_0x18d6d0]^=_0x34cd79[_0x18d6d0];}return _0x4a6b0c;}()),_0x4a9572=_0x11a86f[_0x5b5ed8(0x404)]={},_0x45b723=_0x4a9572[_0x5b5ed8(0x282)]={'pad':function(_0x14cbc0,_0x2b9edd){var _0xbea982=_0x5b5ed8;for(var _0x2b5387=_0x2b9edd*0x4,_0x39e447=_0x2b5387-_0x14cbc0[_0xbea982(0x3ea)]%_0x2b5387,_0x35df06=_0x39e447<<0x18|_0x39e447<<0x10|_0x39e447<<0x8|_0x39e447,_0x51f499=[],_0x182637=0x0;_0x182637<_0x39e447;_0x182637+=0x4)_0x51f499[_0xbea982(0x372)](_0x35df06);var _0x54ae12=_0x120f18[_0xbea982(0x1c5)](_0x51f499,_0x39e447);_0x14cbc0[_0xbea982(0x2d6)](_0x54ae12);},'unpad':function(_0x4f17cd){var _0x40c825=_0x5b5ed8,_0x9bc7b1=_0x4f17cd[_0x40c825(0x43e)][_0x4f17cd[_0x40c825(0x3ea)]-0x1>>>0x2]&0xff;_0x4f17cd[_0x40c825(0x3ea)]-=_0x9bc7b1;}};_0x5bbfdf['BlockCipher']=_0xf51a43[_0x5b5ed8(0x265)]({'cfg':_0xf51a43[_0x5b5ed8(0x379)][_0x5b5ed8(0x265)]({'mode':_0x142bd3,'padding':_0x45b723}),'reset':function(){var _0x2b31c2=_0x5b5ed8,_0x56f29f;_0xf51a43[_0x2b31c2(0x3d8)][_0x2b31c2(0x1c4)](this);var _0x1e1bff=this['cfg'],_0x5ba496=_0x1e1bff['iv'],_0x419b35=_0x1e1bff[_0x2b31c2(0x18c)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x56f29f=_0x419b35[_0x2b31c2(0x1e7)]:(_0x56f29f=_0x419b35[_0x2b31c2(0x36b)],this[_0x2b31c2(0x209)]=0x1),this[_0x2b31c2(0x1dc)]&&this[_0x2b31c2(0x1dc)][_0x2b31c2(0x35b)]==_0x56f29f?this[_0x2b31c2(0x1dc)][_0x2b31c2(0x2cb)](this,_0x5ba496&&_0x5ba496[_0x2b31c2(0x43e)]):(this[_0x2b31c2(0x1dc)]=_0x56f29f['call'](_0x419b35,this,_0x5ba496&&_0x5ba496['words']),this[_0x2b31c2(0x1dc)][_0x2b31c2(0x35b)]=_0x56f29f);},'_doProcessBlock':function(_0x3c6d35,_0x523a76){var _0xbd5d5d=_0x5b5ed8;this[_0xbd5d5d(0x1dc)][_0xbd5d5d(0x2f6)](_0x3c6d35,_0x523a76);},'_doFinalize':function(){var _0x251972=_0x5b5ed8,_0x2f9596,_0x4c74bb=this[_0x251972(0x379)][_0x251972(0x398)];return this['_xformMode']==this[_0x251972(0x2d2)]?(_0x4c74bb[_0x251972(0x404)](this['_data'],this[_0x251972(0x30a)]),_0x2f9596=this['_process'](!0x0)):(_0x2f9596=this[_0x251972(0x239)](!0x0),_0x4c74bb['unpad'](_0x2f9596)),_0x2f9596;},'blockSize':0x80/0x20});var _0xcb14d7=_0x5bbfdf[_0x5b5ed8(0x36c)]=_0x3a308e['extend']({'init':function(_0x478d0f){var _0x2216c2=_0x5b5ed8;this[_0x2216c2(0x3bc)](_0x478d0f);},'toString':function(_0x2e146c){var _0x51623b=_0x5b5ed8;return(_0x2e146c||this[_0x51623b(0x17d)])[_0x51623b(0x3a9)](this);}}),_0x15814b=_0x11a86f[_0x5b5ed8(0x45d)]={},_0x3f03c6=_0x15814b[_0x5b5ed8(0x3f3)]={'stringify':function(_0x14eafd){var _0x59c0c3=_0x5b5ed8,_0x343cbd,_0xaa3fa9=_0x14eafd[_0x59c0c3(0x262)],_0x3ca2fd=_0x14eafd[_0x59c0c3(0x228)];return _0x3ca2fd?_0x343cbd=_0x120f18[_0x59c0c3(0x1c5)]([0x53616c74,0x65645f5f])[_0x59c0c3(0x2d6)](_0x3ca2fd)[_0x59c0c3(0x2d6)](_0xaa3fa9):_0x343cbd=_0xaa3fa9,_0x343cbd['toString'](_0x1c3b04);},'parse':function(_0x41cbea){var _0x7f6e6d=_0x5b5ed8,_0x59b31c,_0x4e0a02=_0x1c3b04[_0x7f6e6d(0x2e8)](_0x41cbea),_0x4962d8=_0x4e0a02[_0x7f6e6d(0x43e)];return _0x4962d8[0x0]==0x53616c74&&_0x4962d8[0x1]==0x65645f5f&&(_0x59b31c=_0x120f18['create'](_0x4962d8[_0x7f6e6d(0x1fc)](0x2,0x4)),_0x4962d8[_0x7f6e6d(0x23e)](0x0,0x4),_0x4e0a02[_0x7f6e6d(0x3ea)]-=0x10),_0xcb14d7['create']({'ciphertext':_0x4e0a02,'salt':_0x59b31c});}},_0x3051a5=_0x5bbfdf[_0x5b5ed8(0x2a6)]=_0x3a308e['extend']({'cfg':_0x3a308e[_0x5b5ed8(0x265)]({'format':_0x3f03c6}),'encrypt':function(_0x86f598,_0x198c26,_0x4754ed,_0x19b72f){var _0x1c4508=_0x5b5ed8;_0x19b72f=this['cfg']['extend'](_0x19b72f);var _0x14106e=_0x86f598[_0x1c4508(0x1e7)](_0x4754ed,_0x19b72f),_0x5f92e=_0x14106e[_0x1c4508(0x1f3)](_0x198c26),_0x3477e5=_0x14106e['cfg'];return _0xcb14d7[_0x1c4508(0x1c5)]({'ciphertext':_0x5f92e,'key':_0x4754ed,'iv':_0x3477e5['iv'],'algorithm':_0x86f598,'mode':_0x3477e5[_0x1c4508(0x18c)],'padding':_0x3477e5['padding'],'blockSize':_0x86f598[_0x1c4508(0x30a)],'formatter':_0x19b72f[_0x1c4508(0x45d)]});},'decrypt':function(_0x5cbe35,_0x3917c6,_0x3a7709,_0x33e909){var _0x2ec7f3=_0x5b5ed8;_0x33e909=this[_0x2ec7f3(0x379)][_0x2ec7f3(0x265)](_0x33e909),_0x3917c6=this[_0x2ec7f3(0x317)](_0x3917c6,_0x33e909[_0x2ec7f3(0x45d)]);var _0x349e80=_0x5cbe35['createDecryptor'](_0x3a7709,_0x33e909)[_0x2ec7f3(0x1f3)](_0x3917c6[_0x2ec7f3(0x262)]);return _0x349e80;},'_parse':function(_0xed3b30,_0x3fead3){var _0x2bb44a=_0x5b5ed8;return typeof _0xed3b30==_0x2bb44a(0x3c1)?_0x3fead3[_0x2bb44a(0x2e8)](_0xed3b30,this):_0xed3b30;}}),_0x3bcd67=_0x11a86f[_0x5b5ed8(0x463)]={},_0x5a6b1a=_0x3bcd67['OpenSSL']={'execute':function(_0x26ff4b,_0x1fd6cb,_0x3caafa,_0x3b7303,_0x19d246){var _0x3020db=_0x5b5ed8;if(_0x3b7303||(_0x3b7303=_0x120f18[_0x3020db(0x434)](0x40/0x8)),_0x19d246)var _0x4602f8=_0xcf2768[_0x3020db(0x1c5)]({'keySize':_0x1fd6cb+_0x3caafa,'hasher':_0x19d246})[_0x3020db(0x19d)](_0x26ff4b,_0x3b7303);else var _0x4602f8=_0xcf2768[_0x3020db(0x1c5)]({'keySize':_0x1fd6cb+_0x3caafa})['compute'](_0x26ff4b,_0x3b7303);var _0x490fd0=_0x120f18[_0x3020db(0x1c5)](_0x4602f8[_0x3020db(0x43e)][_0x3020db(0x1fc)](_0x1fd6cb),_0x3caafa*0x4);return _0x4602f8[_0x3020db(0x3ea)]=_0x1fd6cb*0x4,_0xcb14d7[_0x3020db(0x1c5)]({'key':_0x4602f8,'iv':_0x490fd0,'salt':_0x3b7303});}},_0x20cb6b=_0x5bbfdf[_0x5b5ed8(0x1e9)]=_0x3051a5['extend']({'cfg':_0x3051a5[_0x5b5ed8(0x379)]['extend']({'kdf':_0x5a6b1a}),'encrypt':function(_0x479378,_0x44268f,_0x5ed514,_0x228dc7){var _0x1985b2=_0x5b5ed8;_0x228dc7=this['cfg'][_0x1985b2(0x265)](_0x228dc7);var _0x1a1bfd=_0x228dc7[_0x1985b2(0x463)][_0x1985b2(0x431)](_0x5ed514,_0x479378[_0x1985b2(0x2c5)],_0x479378[_0x1985b2(0x2e4)],_0x228dc7[_0x1985b2(0x228)],_0x228dc7['hasher']);_0x228dc7['iv']=_0x1a1bfd['iv'];var _0x675530=_0x3051a5['encrypt'][_0x1985b2(0x1c4)](this,_0x479378,_0x44268f,_0x1a1bfd[_0x1985b2(0x36e)],_0x228dc7);return _0x675530[_0x1985b2(0x3bc)](_0x1a1bfd),_0x675530;},'decrypt':function(_0x1d54e2,_0x4f5a7a,_0x53184d,_0xe03eea){var _0x4e8542=_0x5b5ed8;_0xe03eea=this[_0x4e8542(0x379)][_0x4e8542(0x265)](_0xe03eea),_0x4f5a7a=this[_0x4e8542(0x317)](_0x4f5a7a,_0xe03eea[_0x4e8542(0x45d)]);var _0x1c3126=_0xe03eea[_0x4e8542(0x463)]['execute'](_0x53184d,_0x1d54e2[_0x4e8542(0x2c5)],_0x1d54e2[_0x4e8542(0x2e4)],_0x4f5a7a[_0x4e8542(0x228)],_0xe03eea[_0x4e8542(0x1aa)]);_0xe03eea['iv']=_0x1c3126['iv'];var _0x477d97=_0x3051a5[_0x4e8542(0x469)][_0x4e8542(0x1c4)](this,_0x1d54e2,_0x4f5a7a,_0x1c3126['key'],_0xe03eea);return _0x477d97;}});}();}));}(Je)),Je[_0x396254(0x27b)];}var Vr=Ve[_0x384d48(0x27b)],si;function Gr(){var _0x4e58b2=_0x384d48;return si||(si=0x1,function(_0x41277d,_0x5ee81a){(function(_0x5b733c,_0x7fda5e,_0x29b2f3){var _0x3009e7=_0x56fc;_0x41277d[_0x3009e7(0x27b)]=_0x7fda5e(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x15e89b){var _0x44c505=_0x56fc;return(function(){var _0x2d9dfe=_0x56fc,_0x316dd1=_0x15e89b,_0x38380f=_0x316dd1[_0x2d9dfe(0x309)],_0x1f975e=_0x38380f[_0x2d9dfe(0x1f7)],_0xd2ca4f=_0x316dd1[_0x2d9dfe(0x3da)],_0x2c67f5=[],_0x3bf298=[],_0x11725d=[],_0x1d6047=[],_0x64eb2=[],_0x249049=[],_0x1e8814=[],_0x12bc8d=[],_0x157793=[],_0x48ec2a=[];(function(){for(var _0x33d687=[],_0x58c23c=0x0;_0x58c23c<0x100;_0x58c23c++)_0x58c23c<0x80?_0x33d687[_0x58c23c]=_0x58c23c<<0x1:_0x33d687[_0x58c23c]=_0x58c23c<<0x1^0x11b;for(var _0x53279c=0x0,_0x5d7b18=0x0,_0x58c23c=0x0;_0x58c23c<0x100;_0x58c23c++){var _0x3930ef=_0x5d7b18^_0x5d7b18<<0x1^_0x5d7b18<<0x2^_0x5d7b18<<0x3^_0x5d7b18<<0x4;_0x3930ef=_0x3930ef>>>0x8^_0x3930ef&0xff^0x63,_0x2c67f5[_0x53279c]=_0x3930ef,_0x3bf298[_0x3930ef]=_0x53279c;var _0x5e6826=_0x33d687[_0x53279c],_0x45925e=_0x33d687[_0x5e6826],_0xc7a627=_0x33d687[_0x45925e],_0x830ba=_0x33d687[_0x3930ef]*0x101^_0x3930ef*0x1010100;_0x11725d[_0x53279c]=_0x830ba<<0x18|_0x830ba>>>0x8,_0x1d6047[_0x53279c]=_0x830ba<<0x10|_0x830ba>>>0x10,_0x64eb2[_0x53279c]=_0x830ba<<0x8|_0x830ba>>>0x18,_0x249049[_0x53279c]=_0x830ba;var _0x830ba=_0xc7a627*0x1010101^_0x45925e*0x10001^_0x5e6826*0x101^_0x53279c*0x1010100;_0x1e8814[_0x3930ef]=_0x830ba<<0x18|_0x830ba>>>0x8,_0x12bc8d[_0x3930ef]=_0x830ba<<0x10|_0x830ba>>>0x10,_0x157793[_0x3930ef]=_0x830ba<<0x8|_0x830ba>>>0x18,_0x48ec2a[_0x3930ef]=_0x830ba,_0x53279c?(_0x53279c=_0x5e6826^_0x33d687[_0x33d687[_0x33d687[_0xc7a627^_0x5e6826]]],_0x5d7b18^=_0x33d687[_0x33d687[_0x5d7b18]]):_0x53279c=_0x5d7b18=0x1;}}());var _0x267044=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1efeda=_0xd2ca4f[_0x2d9dfe(0x29f)]=_0x1f975e[_0x2d9dfe(0x265)]({'_doReset':function(){var _0x416e68=_0x2d9dfe,_0x42c77b;if(!(this[_0x416e68(0x458)]&&this['_keyPriorReset']===this[_0x416e68(0x3d3)])){for(var _0x26c696=this[_0x416e68(0x3d7)]=this[_0x416e68(0x3d3)],_0x46e167=_0x26c696['words'],_0x8f78cb=_0x26c696[_0x416e68(0x3ea)]/0x4,_0x15a0c8=this[_0x416e68(0x458)]=_0x8f78cb+0x6,_0x222c55=(_0x15a0c8+0x1)*0x4,_0x45976e=this[_0x416e68(0x315)]=[],_0x2a2cc1=0x0;_0x2a2cc1<_0x222c55;_0x2a2cc1++)_0x2a2cc1<_0x8f78cb?_0x45976e[_0x2a2cc1]=_0x46e167[_0x2a2cc1]:(_0x42c77b=_0x45976e[_0x2a2cc1-0x1],_0x2a2cc1%_0x8f78cb?_0x8f78cb>0x6&&_0x2a2cc1%_0x8f78cb==0x4&&(_0x42c77b=_0x2c67f5[_0x42c77b>>>0x18]<<0x18|_0x2c67f5[_0x42c77b>>>0x10&0xff]<<0x10|_0x2c67f5[_0x42c77b>>>0x8&0xff]<<0x8|_0x2c67f5[_0x42c77b&0xff]):(_0x42c77b=_0x42c77b<<0x8|_0x42c77b>>>0x18,_0x42c77b=_0x2c67f5[_0x42c77b>>>0x18]<<0x18|_0x2c67f5[_0x42c77b>>>0x10&0xff]<<0x10|_0x2c67f5[_0x42c77b>>>0x8&0xff]<<0x8|_0x2c67f5[_0x42c77b&0xff],_0x42c77b^=_0x267044[_0x2a2cc1/_0x8f78cb|0x0]<<0x18),_0x45976e[_0x2a2cc1]=_0x45976e[_0x2a2cc1-_0x8f78cb]^_0x42c77b);for(var _0x561a07=this[_0x416e68(0x349)]=[],_0x21d07b=0x0;_0x21d07b<_0x222c55;_0x21d07b++){var _0x2a2cc1=_0x222c55-_0x21d07b;if(_0x21d07b%0x4)var _0x42c77b=_0x45976e[_0x2a2cc1];else var _0x42c77b=_0x45976e[_0x2a2cc1-0x4];_0x21d07b<0x4||_0x2a2cc1<=0x4?_0x561a07[_0x21d07b]=_0x42c77b:_0x561a07[_0x21d07b]=_0x1e8814[_0x2c67f5[_0x42c77b>>>0x18]]^_0x12bc8d[_0x2c67f5[_0x42c77b>>>0x10&0xff]]^_0x157793[_0x2c67f5[_0x42c77b>>>0x8&0xff]]^_0x48ec2a[_0x2c67f5[_0x42c77b&0xff]];}}},'encryptBlock':function(_0x3b9f1b,_0x237bfc){var _0x2b0f6f=_0x2d9dfe;this[_0x2b0f6f(0x368)](_0x3b9f1b,_0x237bfc,this[_0x2b0f6f(0x315)],_0x11725d,_0x1d6047,_0x64eb2,_0x249049,_0x2c67f5);},'decryptBlock':function(_0x4919ab,_0x41d037){var _0x3901cd=_0x2d9dfe,_0x4e81d0=_0x4919ab[_0x41d037+0x1];_0x4919ab[_0x41d037+0x1]=_0x4919ab[_0x41d037+0x3],_0x4919ab[_0x41d037+0x3]=_0x4e81d0,this[_0x3901cd(0x368)](_0x4919ab,_0x41d037,this['_invKeySchedule'],_0x1e8814,_0x12bc8d,_0x157793,_0x48ec2a,_0x3bf298);var _0x4e81d0=_0x4919ab[_0x41d037+0x1];_0x4919ab[_0x41d037+0x1]=_0x4919ab[_0x41d037+0x3],_0x4919ab[_0x41d037+0x3]=_0x4e81d0;},'_doCryptBlock':function(_0x55550c,_0x12a4fe,_0xec5d30,_0xa67adc,_0x33d0f9,_0x59e948,_0x7bbfd8,_0x3b12a2){var _0xcb3bb7=_0x2d9dfe;for(var _0x2dfdef=this[_0xcb3bb7(0x458)],_0x75e6b=_0x55550c[_0x12a4fe]^_0xec5d30[0x0],_0x2d3d66=_0x55550c[_0x12a4fe+0x1]^_0xec5d30[0x1],_0x526ac8=_0x55550c[_0x12a4fe+0x2]^_0xec5d30[0x2],_0x4ad452=_0x55550c[_0x12a4fe+0x3]^_0xec5d30[0x3],_0x460fd7=0x4,_0x29800e=0x1;_0x29800e<_0x2dfdef;_0x29800e++){var _0x7eadea=_0xa67adc[_0x75e6b>>>0x18]^_0x33d0f9[_0x2d3d66>>>0x10&0xff]^_0x59e948[_0x526ac8>>>0x8&0xff]^_0x7bbfd8[_0x4ad452&0xff]^_0xec5d30[_0x460fd7++],_0x7ead1f=_0xa67adc[_0x2d3d66>>>0x18]^_0x33d0f9[_0x526ac8>>>0x10&0xff]^_0x59e948[_0x4ad452>>>0x8&0xff]^_0x7bbfd8[_0x75e6b&0xff]^_0xec5d30[_0x460fd7++],_0x70822b=_0xa67adc[_0x526ac8>>>0x18]^_0x33d0f9[_0x4ad452>>>0x10&0xff]^_0x59e948[_0x75e6b>>>0x8&0xff]^_0x7bbfd8[_0x2d3d66&0xff]^_0xec5d30[_0x460fd7++],_0x2bd506=_0xa67adc[_0x4ad452>>>0x18]^_0x33d0f9[_0x75e6b>>>0x10&0xff]^_0x59e948[_0x2d3d66>>>0x8&0xff]^_0x7bbfd8[_0x526ac8&0xff]^_0xec5d30[_0x460fd7++];_0x75e6b=_0x7eadea,_0x2d3d66=_0x7ead1f,_0x526ac8=_0x70822b,_0x4ad452=_0x2bd506;}var _0x7eadea=(_0x3b12a2[_0x75e6b>>>0x18]<<0x18|_0x3b12a2[_0x2d3d66>>>0x10&0xff]<<0x10|_0x3b12a2[_0x526ac8>>>0x8&0xff]<<0x8|_0x3b12a2[_0x4ad452&0xff])^_0xec5d30[_0x460fd7++],_0x7ead1f=(_0x3b12a2[_0x2d3d66>>>0x18]<<0x18|_0x3b12a2[_0x526ac8>>>0x10&0xff]<<0x10|_0x3b12a2[_0x4ad452>>>0x8&0xff]<<0x8|_0x3b12a2[_0x75e6b&0xff])^_0xec5d30[_0x460fd7++],_0x70822b=(_0x3b12a2[_0x526ac8>>>0x18]<<0x18|_0x3b12a2[_0x4ad452>>>0x10&0xff]<<0x10|_0x3b12a2[_0x75e6b>>>0x8&0xff]<<0x8|_0x3b12a2[_0x2d3d66&0xff])^_0xec5d30[_0x460fd7++],_0x2bd506=(_0x3b12a2[_0x4ad452>>>0x18]<<0x18|_0x3b12a2[_0x75e6b>>>0x10&0xff]<<0x10|_0x3b12a2[_0x2d3d66>>>0x8&0xff]<<0x8|_0x3b12a2[_0x526ac8&0xff])^_0xec5d30[_0x460fd7++];_0x55550c[_0x12a4fe]=_0x7eadea,_0x55550c[_0x12a4fe+0x1]=_0x7ead1f,_0x55550c[_0x12a4fe+0x2]=_0x70822b,_0x55550c[_0x12a4fe+0x3]=_0x2bd506;},'keySize':0x100/0x20});_0x316dd1[_0x2d9dfe(0x29f)]=_0x1f975e[_0x2d9dfe(0x37a)](_0x1efeda);}()),_0x15e89b[_0x44c505(0x29f)];}));}(Ve)),Ve[_0x4e58b2(0x27b)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x384d48(0x27b)],ai;function zr(){var _0x19b73b=_0x384d48;return ai||(ai=0x1,function(_0x361b8d,_0x4c1877){(function(_0x5be4ae,_0x32bc2a){var _0x48acf2=_0x56fc;_0x361b8d[_0x48acf2(0x27b)]=_0x32bc2a(ne());}(qr,function(_0x1b50c6){var _0x37bc34=_0x56fc;return _0x1b50c6[_0x37bc34(0x303)]['Utf8'];}));}(Xe)),Xe[_0x19b73b(0x27b)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x384d48(0x27b)],ci;function Qr(){var _0x28e21a=_0x384d48;return ci||(ci=0x1,function(_0x1b597d,_0x45fa54){(function(_0x3fd442,_0x562c2b){var _0x221c3a=_0x56fc;_0x1b597d[_0x221c3a(0x27b)]=_0x562c2b(ne());}(Zr,function(_0x409d17){var _0x2c6478=_0x56fc;return(function(){var _0x48fc19=_0x56fc;if(typeof ArrayBuffer==_0x48fc19(0x18e)){var _0x1b14f0=_0x409d17,_0x4c9bce=_0x1b14f0['lib'],_0x541243=_0x4c9bce[_0x48fc19(0x22a)],_0x45b397=_0x541243[_0x48fc19(0x2cb)],_0x199def=_0x541243[_0x48fc19(0x2cb)]=function(_0x12ca57){var _0x1f4433=_0x48fc19;if(_0x12ca57 instanceof ArrayBuffer&&(_0x12ca57=new Uint8Array(_0x12ca57)),(_0x12ca57 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12ca57 instanceof Uint8ClampedArray||_0x12ca57 instanceof Int16Array||_0x12ca57 instanceof Uint16Array||_0x12ca57 instanceof Int32Array||_0x12ca57 instanceof Uint32Array||_0x12ca57 instanceof Float32Array||_0x12ca57 instanceof Float64Array)&&(_0x12ca57=new Uint8Array(_0x12ca57[_0x1f4433(0x42d)],_0x12ca57[_0x1f4433(0x188)],_0x12ca57[_0x1f4433(0x2ab)])),_0x12ca57 instanceof Uint8Array){for(var _0x4f4f89=_0x12ca57[_0x1f4433(0x2ab)],_0x251b8e=[],_0x867e4f=0x0;_0x867e4f<_0x4f4f89;_0x867e4f++)_0x251b8e[_0x867e4f>>>0x2]|=_0x12ca57[_0x867e4f]<<0x18-_0x867e4f%0x4*0x8;_0x45b397[_0x1f4433(0x1c4)](this,_0x251b8e,_0x4f4f89);}else _0x45b397[_0x1f4433(0x382)](this,arguments);};_0x199def[_0x48fc19(0x39e)]=_0x541243;}}()),_0x409d17[_0x2c6478(0x309)][_0x2c6478(0x22a)];}));}(Ze)),Ze[_0x28e21a(0x27b)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x384d48(0x27b)],hi;function ns(){return hi||(hi=0x1,function(_0x1f876f,_0x100161){(function(_0xf6d1,_0xbb253e,_0x5e990f){var _0x131520=_0x56fc;_0x1f876f[_0x131520(0x27b)]=_0xbb253e(ne(),Ai());}(is,function(_0x46daff){var _0x39613c=_0x56fc;return _0x46daff[_0x39613c(0x404)][_0x39613c(0x298)]={'pad':function(){},'unpad':function(){}},_0x46daff[_0x39613c(0x404)][_0x39613c(0x298)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0xaa09c7,_0x5d51ac){var _0x4f66ee=_0x384d48;const _0x405594=_0x5d51ac-_0xaa09c7[_0x4f66ee(0x20c)]%_0x5d51ac,_0x168871=String[_0x4f66ee(0x203)](_0x405594)[_0x4f66ee(0x293)](_0x405594);return _0xaa09c7+_0x168871;}function as(_0x43c49c,_0x335ddb){var _0x277a73=_0x384d48;const _0x13dd8d=ts[_0x277a73(0x434)](0x10),_0x2d6e98=os(_0x43c49c,0x10),_0x5b4177=Kr[_0x277a73(0x2cf)](Xr['parse'](_0x2d6e98),oi[_0x277a73(0x2e8)](_0x335ddb),{'iv':_0x13dd8d,'padding':ss});return _0x13dd8d[_0x277a73(0x2d6)](_0x5b4177['ciphertext'])[_0x277a73(0x2a4)](oi);}function cs(){var _0x3b807b=_0x384d48;const _0x280fa4=_0x39b028()[_0x3b807b(0x1b1)];if(_0x280fa4){const _0x4ceb75={'time':Math[_0x3b807b(0x441)](Date['now']()/0x3e8),'domain':location['hostname']};return as(JSON[_0x3b807b(0x3a9)](_0x4ceb75),_0x280fa4);}}var hs=Object['defineProperty'],_s=Object[_0x384d48(0x1b2)],ls=(_0x113179,_0x503f9b,_0x2dbd44,_0x4c0ed9)=>{for(var _0x3282cc=_0x4c0ed9>0x1?void 0x0:_0x4c0ed9?_s(_0x503f9b,_0x2dbd44):_0x503f9b,_0xf95dcf=_0x113179['length']-0x1,_0x1c7735;_0xf95dcf>=0x0;_0xf95dcf--)(_0x1c7735=_0x113179[_0xf95dcf])&&(_0x3282cc=(_0x4c0ed9?_0x1c7735(_0x503f9b,_0x2dbd44,_0x3282cc):_0x1c7735(_0x3282cc))||_0x3282cc);return _0x4c0ed9&&_0x3282cc&&hs(_0x503f9b,_0x2dbd44,_0x3282cc),_0x3282cc;},us=(_0x205cf0,_0x1525da)=>(_0x208c3a,_0x5ae828)=>_0x1525da(_0x208c3a,_0x5ae828,_0x205cf0);let ot=class{constructor(_0x1e16af){this['_httpService']=_0x1e16af,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x66f234=_0x384d48;this['_httpService'][_0x66f234(0x3ad)]({'interceptor':(_0x1c8e3b,_0x509c19)=>{var _0x5d6263=_0x66f234;const _0x4b5a36=_0x1c8e3b[_0x5d6263(0x46f)],_0x23d2c5=cs();return _0x23d2c5&&_0x4b5a36[_0x5d6263(0x376)]('x-univer-host',_0x23d2c5),_0x509c19(_0x1c8e3b);}});}};ot=ls([us(0x0,_0x524d9b(_0x1fa986))],ot);var ds=Object[_0x384d48(0x1e0)],fs=Object['getOwnPropertyDescriptor'],vs=(_0x514841,_0x429d2b,_0x4c289b,_0x2e3bfe)=>{var _0x4f8325=_0x384d48;for(var _0x21f747=_0x2e3bfe>0x1?void 0x0:_0x2e3bfe?fs(_0x429d2b,_0x4c289b):_0x429d2b,_0x300587=_0x514841[_0x4f8325(0x20c)]-0x1,_0x2d11cd;_0x300587>=0x0;_0x300587--)(_0x2d11cd=_0x514841[_0x300587])&&(_0x21f747=(_0x2e3bfe?_0x2d11cd(_0x429d2b,_0x4c289b,_0x21f747):_0x2d11cd(_0x21f747))||_0x21f747);return _0x2e3bfe&&_0x21f747&&ds(_0x429d2b,_0x4c289b,_0x21f747),_0x21f747;},mt=(_0x392637,_0x2a7fff)=>(_0x854597,_0x11d920)=>_0x2a7fff(_0x854597,_0x11d920,_0x392637);let Ot=class extends _0x2c70a0{constructor(_0x5236df,_0x40daaf,_0x57fd74){var _0x996192=_0x384d48;super(),N(this,'_unitInfo$',new _0x34646d(null)),N(this,_0x996192(0x2b9),this['_unitInfo$'][_0x996192(0x2f9)]()),(this[_0x996192(0x1ea)]=_0x5236df,this[_0x996192(0x43f)]=_0x40daaf,this[_0x996192(0x1df)]=_0x57fd74);}async[_0x384d48(0x2b6)](_0x5e9f32,_0x7c4619,_0x441e10){var _0x29e365=_0x384d48;this['_unitInfo$']['next']({'unitId':_0x5e9f32,'type':_0x7c4619,'subUnitId':_0x441e10});let _0x4579ef=null;switch(_0x7c4619){case Q[_0x29e365(0x34d)]:{_0x4579ef=await this[_0x29e365(0x246)](_0x5e9f32);break;}case Q['UNIVER_DOC']:{_0x4579ef=await this[_0x29e365(0x249)](_0x5e9f32);break;}default:{this[_0x29e365(0x1ea)][_0x29e365(0x466)](_0x29e365(0x23a),_0x29e365(0x450));break;}}return _0x4579ef;}async[_0x384d48(0x246)](_0xfec933){var _0x14c3ce=_0x384d48,_0x3b6b0d;let _0x4345ea=0x0;const _0x40f30e=await((_0x3b6b0d=this[_0x14c3ce(0x1df)])==null?void 0x0:_0x3b6b0d[_0x14c3ce(0x1b6)](_0xfec933));return _0x40f30e&&(_0x40f30e[_0x14c3ce(0x44c)]||_0x40f30e[_0x14c3ce(0x336)][_0x14c3ce(0x20c)]!==0x0)&&(_0x4345ea=_0x40f30e[_0x14c3ce(0x1ac)]),_0x4345ea===0x0&&this[_0x14c3ce(0x1ea)][_0x14c3ce(0x1b5)]('[DataLoaderService]',_0x14c3ce(0x2e9)),this[_0x14c3ce(0x43f)]['loadSheet'](_0xfec933,_0x4345ea);}async[_0x384d48(0x249)](_0x5e6d35){var _0x55286b=_0x384d48,_0x2c6bb9;let _0x3e7625=0x0;const _0x28ed57=await((_0x2c6bb9=this['_localCacheService'])==null?void 0x0:_0x2c6bb9[_0x55286b(0x1b6)](_0x5e6d35));return _0x28ed57&&(_0x28ed57[_0x55286b(0x44c)]||_0x28ed57[_0x55286b(0x336)][_0x55286b(0x20c)]!==0x0)&&(_0x3e7625=_0x28ed57[_0x55286b(0x1ac)]),_0x3e7625===0x0&&this[_0x55286b(0x1ea)]['debug'](_0x55286b(0x23a),_0x55286b(0x2e9)),this[_0x55286b(0x43f)][_0x55286b(0x2fe)](_0x5e6d35,_0x3e7625);}};Ot=vs([mt(0x0,_0x1e9a27),mt(0x1,_0x524d9b(_0x31b040)),mt(0x2,_0x49b7db(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x384d48(0x1b2)],gs=(_0x5255c1,_0x4ad768,_0x43280a,_0x3b1108)=>{var _0x4a3dd5=_0x384d48;for(var _0x1f125d=_0x3b1108>0x1?void 0x0:_0x3b1108?ms(_0x4ad768,_0x43280a):_0x4ad768,_0x43238b=_0x5255c1[_0x4a3dd5(0x20c)]-0x1,_0x11e1c6;_0x43238b>=0x0;_0x43238b--)(_0x11e1c6=_0x5255c1[_0x43238b])&&(_0x1f125d=(_0x3b1108?_0x11e1c6(_0x4ad768,_0x43280a,_0x1f125d):_0x11e1c6(_0x1f125d))||_0x1f125d);return _0x3b1108&&_0x1f125d&&ps(_0x4ad768,_0x43280a,_0x1f125d),_0x1f125d;},gt=(_0x387fd1,_0x12811d)=>(_0x24bf65,_0x1c8fa0)=>_0x12811d(_0x24bf65,_0x1c8fa0,_0x387fd1);const Ss=[_0x384d48(0x41a),_0x384d48(0x45b),_0x384d48(0x2eb),_0x384d48(0x18b),_0x384d48(0x2ee)],Es=0x5*0x400*0x400,Is=_0x384d48(0x25b),Ts='/universer-api/stream/file/upload',Cs=_0x384d48(0x197),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x294c3b,_0xd18b4b,_0x5d121e){var _0x2c121e=_0x384d48;N(this,_0x2c121e(0x2dc),0x0),N(this,_0x2c121e(0x3b6),new _0x14c30e()),N(this,_0x2c121e(0x274),this['_change$']),N(this,_0x2c121e(0x2ff),new Map()),(this[_0x2c121e(0x2a1)]=_0x294c3b,this['_configService']=_0xd18b4b,this[_0x2c121e(0x2f7)]=_0x5d121e);}['setWaitCount'](_0xbec62b){var _0x41c001=_0x384d48;this['_waitCount']=_0xbec62b,this[_0x41c001(0x3b6)]['next'](_0xbec62b);}[_0x384d48(0x42a)](_0x112e57,_0x37e432){var _0x152088=_0x384d48;if(_0x37e432===_0x1dcd50[_0x152088(0x3ef)]){const _0x1406b2=new Image();return _0x1406b2[_0x152088(0x17e)]=_0x112e57,_0x1406b2;}return this[_0x152088(0x2ff)][_0x152088(0x2a9)](_0x112e57);}[_0x384d48(0x2d4)](_0x2af79d,_0x3584e9,_0x4f44d0){var _0x1ecc5d=_0x384d48;_0x3584e9===_0x1dcd50[_0x1ecc5d(0x3ef)]||_0x4f44d0==null||this[_0x1ecc5d(0x2ff)][_0x1ecc5d(0x376)](_0x2af79d,_0x4f44d0);}async[_0x384d48(0x3bf)](_0x122feb){var _0x2b140f=_0x384d48;try{const _0x178062=this['_replaceFileID'](this['_getSignURL'](),''+_0x122feb),_0x15949d=(await this['_httpService'][_0x2b140f(0x2a9)](_0x178062))[_0x2b140f(0x2ba)];if(_0x15949d[_0x2b140f(0x466)]&&_0x15949d[_0x2b140f(0x466)]['code']===Ii['OK']){const _0x18c17b=new URL(_0x15949d[_0x2b140f(0x43a)],this['_getDownloadEndpointURL']())[_0x2b140f(0x2a4)]();return Promise[_0x2b140f(0x2b4)](_0x18c17b);}return Promise[_0x2b140f(0x252)](_0x15949d['error']);}catch(_0x33f287){return Promise[_0x2b140f(0x252)](_0x33f287);}}async[_0x384d48(0x2d7)](_0x3cba02){var _0x3961a3=_0x384d48;let _0x283e8a='';if(!Ss['includes'](_0x3cba02[_0x3961a3(0x355)]))return this[_0x3961a3(0x460)](),Promise['reject'](new Error(_0x4b4ef7[_0x3961a3(0x438)]));if(_0x3cba02[_0x3961a3(0x1cc)]>Es)return this[_0x3961a3(0x460)](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x35c)]));try{const _0x870f5e=new FormData();_0x870f5e[_0x3961a3(0x25a)]('file',_0x3cba02);const _0x8869f9=this[_0x3961a3(0x2f7)][_0x3961a3(0x1c0)](),_0x43dc7d=_0x8869f9==null?void 0x0:_0x8869f9[_0x3961a3(0x363)]();if(!_0x43dc7d)throw new Error(_0x3961a3(0x1f2));const _0x53e854=this['_getUploadFileURL']()+_0x3961a3(0x471)+_0x3cba02['size'][_0x3961a3(0x2a4)]()+_0x3961a3(0x422)+Ti['UnitEmbedded']+_0x3961a3(0x44e)+encodeURIComponent(_0x43dc7d),_0x29249c=await(await fetch(_0x53e854,{'method':'POST','body':_0x870f5e}))[_0x3961a3(0x427)]();if(typeof _0x29249c[_0x3961a3(0x1a6)]!='string')return this['_decreaseWaiting'](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x3c6)]));_0x283e8a=_0x29249c[_0x3961a3(0x1a6)];}catch{return this[_0x3961a3(0x460)](),Promise[_0x3961a3(0x252)](new Error(_0x4b4ef7[_0x3961a3(0x3c6)]));}return new Promise((_0x345726,_0x3bdf96)=>{var _0x46ad17=_0x3961a3;const _0x26d3e2=new FileReader();_0x26d3e2[_0x46ad17(0x409)](_0x3cba02),_0x26d3e2[_0x46ad17(0x320)]=_0x3be545=>{var _0x2292dc=_0x46ad17,_0x40f7e7;const _0x7a4a1b=(_0x40f7e7=_0x3be545[_0x2292dc(0x318)])==null?void 0x0:_0x40f7e7[_0x2292dc(0x284)];if(_0x7a4a1b==null){this[_0x2292dc(0x460)](),_0x3bdf96(new Error(_0x4b4ef7[_0x2292dc(0x3c6)]));return;}const _0x4f173a=_0xe421c3['generateRandomId'](0x6);_0x345726({'imageId':_0x4f173a,'imageSourceType':_0x1dcd50[_0x2292dc(0x241)],'source':_0x283e8a,'base64Cache':_0x7a4a1b,'status':_0x4b4ef7['SUCCUSS']}),this[_0x2292dc(0x460)]();};});}[_0x384d48(0x270)](){var _0x333fe1=_0x384d48,_0x13bd92,_0x757e88;const _0x3b4b46=this['_configService'][_0x333fe1(0x3c7)](Is),_0x7af6f6=this['_configService']['getConfig'](q);return(_0x757e88=(_0x13bd92=_0x7af6f6==null?void 0x0:_0x7af6f6[_0x333fe1(0x242)])!=null?_0x13bd92:_0x3b4b46)!=null?_0x757e88:Ts;}[_0x384d48(0x459)](){var _0x18c3a4=_0x384d48,_0x1e736e,_0x4465ab;const _0x363e40=this[_0x18c3a4(0x1eb)][_0x18c3a4(0x3c7)](Cs),_0x29383c=this[_0x18c3a4(0x1eb)][_0x18c3a4(0x3c7)](q);return(_0x4465ab=(_0x1e736e=_0x29383c==null?void 0x0:_0x29383c[_0x18c3a4(0x470)])!=null?_0x1e736e:_0x363e40)!=null?_0x4465ab:Rs;}[_0x384d48(0x184)](){var _0x10aeb8=_0x384d48,_0x1ed2aa;const _0x42b8c2=this[_0x10aeb8(0x1eb)]['getConfig'](q);return(_0x1ed2aa=_0x42b8c2==null?void 0x0:_0x42b8c2[_0x10aeb8(0x3ac)])!=null?_0x1ed2aa:location[_0x10aeb8(0x2bf)];}['_replaceFileID'](_0x50a62b,_0x1f163d){var _0x401343=_0x384d48;return _0x50a62b[_0x401343(0x440)](_0x401343(0x286),_0x1f163d);}[_0x384d48(0x460)](){var _0x42bfaf=_0x384d48;this[_0x42bfaf(0x2dc)]-=0x1,this[_0x42bfaf(0x3b6)][_0x42bfaf(0x350)](this[_0x42bfaf(0x2dc)]);}};yt=gs([gt(0x0,_0x524d9b(_0x1fa986)),gt(0x1,_0x3564e5),gt(0x2,_0x524d9b(_0x588b40))],yt);var bs=Object[_0x384d48(0x1e0)],Os=Object['getOwnPropertyDescriptor'],ys=(_0xca2b76,_0x212605,_0x5ee7ab,_0x4f56e9)=>{for(var _0x2b3e68=_0x4f56e9>0x1?void 0x0:_0x4f56e9?Os(_0x212605,_0x5ee7ab):_0x212605,_0x9a1e43=_0xca2b76['length']-0x1,_0x286ec0;_0x9a1e43>=0x0;_0x9a1e43--)(_0x286ec0=_0xca2b76[_0x9a1e43])&&(_0x2b3e68=(_0x4f56e9?_0x286ec0(_0x212605,_0x5ee7ab,_0x2b3e68):_0x286ec0(_0x2b3e68))||_0x2b3e68);return _0x4f56e9&&_0x2b3e68&&bs(_0x212605,_0x5ee7ab,_0x2b3e68),_0x2b3e68;},_i=(_0x2c87a3,_0x2811f2)=>(_0x29d7b0,_0x37150d)=>_0x2811f2(_0x29d7b0,_0x37150d,_0x2c87a3);const Ns='/universer-api/authz';let Nt=class{constructor(_0x34ab68,_0x3ff40f){this['_configService']=_0x34ab68,this['_HTTPService']=_0x3ff40f;}[_0x384d48(0x3a5)](){var _0xf01520=_0x384d48,_0x45c945,_0x7eb715;const _0xd5b41a=this[_0xf01520(0x1eb)]['getConfig'](Pi),_0x453cfb=this[_0xf01520(0x1eb)][_0xf01520(0x3c7)](q);return(_0x7eb715=(_0x45c945=_0x453cfb==null?void 0x0:_0x453cfb['authzUrl'])!=null?_0x45c945:_0xd5b41a)!=null?_0x7eb715:Ns;}async['list'](_0x164d12){var _0x1bfadb=_0x384d48;const _0x5ca5f6=this[_0x1bfadb(0x3a5)]()+_0x1bfadb(0x1d3);return{'list':[{'title':'People','mentions':(await this[_0x1bfadb(0x1db)][_0x1bfadb(0x2a9)](_0x5ca5f6,{'params':{'objectID':_0x164d12[_0x1bfadb(0x323)],'unitID':_0x164d12['unitId']}}))[_0x1bfadb(0x2ba)][_0x1bfadb(0x204)][_0x1bfadb(0x2ac)](_0x1d4ba3=>({'objectId':_0x1d4ba3['id'],'name':_0x1d4ba3[_0x1bfadb(0x178)][_0x1bfadb(0x279)],'metadata':{'icon':_0x1d4ba3[_0x1bfadb(0x178)][_0x1bfadb(0x179)]},'label':_0x1d4ba3[_0x1bfadb(0x178)]['name'],'objectType':_0x478f38[_0x1bfadb(0x27f)]})),'metadata':{},'type':_0x478f38['PERSON']}]};}};Nt=ys([_i(0x0,_0x524d9b(_0x3564e5)),_i(0x1,_0x524d9b(_0x1fa986))],Nt);var Ds=Object[_0x384d48(0x1e0)],Ps=Object[_0x384d48(0x1b2)],ws=(_0x240a8a,_0x3abfbc,_0x436bc8,_0x18dc3e)=>{var _0x20946e=_0x384d48;for(var _0x40484c=_0x18dc3e>0x1?void 0x0:_0x18dc3e?Ps(_0x3abfbc,_0x436bc8):_0x3abfbc,_0x5a0a4f=_0x240a8a[_0x20946e(0x20c)]-0x1,_0xbbc436;_0x5a0a4f>=0x0;_0x5a0a4f--)(_0xbbc436=_0x240a8a[_0x5a0a4f])&&(_0x40484c=(_0x18dc3e?_0xbbc436(_0x3abfbc,_0x436bc8,_0x40484c):_0xbbc436(_0x40484c))||_0x40484c);return _0x18dc3e&&_0x40484c&&Ds(_0x3abfbc,_0x436bc8,_0x40484c),_0x40484c;},Se=(_0x35f836,_0x455b1d)=>(_0x213d5c,_0x2d7dc9)=>_0x455b1d(_0x213d5c,_0x2d7dc9,_0x35f836);let at=class extends _0x2c70a0{constructor(_0x230670,_0x1e0983,_0x208223,_0x59e04e,_0x1718ef,_0x2e5960,_0x2295c9){var _0x3b9c61=_0x384d48;super(),this[_0x3b9c61(0x3d1)]=_0x230670,this[_0x3b9c61(0x2f7)]=_0x1e0983,this[_0x3b9c61(0x40a)]=_0x208223,this[_0x3b9c61(0x37e)]=_0x59e04e,this[_0x3b9c61(0x465)]=_0x1718ef,this['_authzIoService']=_0x2e5960,this[_0x3b9c61(0x26f)]=_0x2295c9,this['_initUnitPermissionChange'](),this[_0x3b9c61(0x21e)]();}['_initCloseConn'](){var _0x4988be=_0x384d48;const _0x87e4e1=async _0x2c2672=>{var _0xbf8585=_0x56fc;(await this[_0xbf8585(0x37e)][_0xbf8585(0x1bd)](_0x2c2672))[_0xbf8585(0x46a)][_0xbf8585(0x3b3)](_0x4a7a86(_0x56fdb8=>_0x56fdb8['eventID']===_0x51f52f[_0xbf8585(0x3d5)]),_0x8aaa0f(this[_0xbf8585(0x374)]))['subscribe'](_0x2ea43b=>{var _0x5b0121=_0xbf8585;const _0x5dbf91=_0x2ea43b,{reason:_0x30564c}=_0x5dbf91['data'];this[_0x5b0121(0x465)][_0x5b0121(0x306)]({'id':se[_0x5b0121(0x205)],'data':_0x30564c}),this[_0x5b0121(0x40a)][_0x5b0121(0x30e)](new _0x386980(_0x2c2672)['id'],!0x1),this['_collaborationSessionService'][_0x5b0121(0x46e)](_0x2c2672);});};_0x178676(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5deaa7['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5deaa7['UNIVER_DOC']))[_0x4988be(0x3b3)](_0x4f7920(_0x3374e8=>_0x3374e8[_0x4988be(0x363)]()),_0x4a7a86(_0x40ef21=>!_0x47ad52(_0x40ef21)),_0x8aaa0f(this[_0x4988be(0x374)]))[_0x4988be(0x33b)](_0x1d25e0=>{_0x87e4e1(_0x1d25e0);});}['_initUnitPermissionChange'](){var _0x26f3df=_0x384d48;const _0x2faa7d=async _0x5e49b2=>{var _0x2cf5ac=_0x56fc;const _0x230c91=await this[_0x2cf5ac(0x37e)][_0x2cf5ac(0x1bd)](_0x5e49b2),_0xeee9d1=this[_0x2cf5ac(0x3d1)][_0x2cf5ac(0x2a9)](_0xdc28aa);_0x230c91['event$'][_0x2cf5ac(0x3b3)](_0x4a7a86(_0x64b1a7=>_0x64b1a7[_0x2cf5ac(0x290)]===_0x51f52f[_0x2cf5ac(0x462)]),_0x8aaa0f(this[_0x2cf5ac(0x374)]))[_0x2cf5ac(0x33b)](_0x422ead=>{var _0x31d41c=_0x2cf5ac;const _0x2040d4=_0x422ead,{objectId:_0x11818d}=_0x2040d4[_0x31d41c(0x32a)];_0x11818d===_0x5e49b2?_0xeee9d1[_0x31d41c(0x234)](_0x5e49b2):_0xeee9d1['refreshPermission'](_0x5e49b2,_0x11818d);});};_0x178676(this['_univerInstanceService'][_0x26f3df(0x20a)](_0x5deaa7[_0x26f3df(0x34d)]),this['_univerInstanceService'][_0x26f3df(0x20a)](_0x5deaa7[_0x26f3df(0x3c0)]))[_0x26f3df(0x3b3)](_0x4f7920(_0x1b5b21=>_0x1b5b21[_0x26f3df(0x363)]()),_0x4a7a86(_0x115a53=>!_0x47ad52(_0x115a53)),_0x8aaa0f(this[_0x26f3df(0x374)]))[_0x26f3df(0x33b)](_0x2c78e9=>{_0x2faa7d(_0x2c78e9);});}};at=ws([Se(0x0,_0x524d9b(_0x1e48d3)),Se(0x1,_0x588b40),Se(0x2,_0x2386b0),Se(0x3,_0x524d9b(Le)),Se(0x4,_0x524d9b(pe)),Se(0x5,_0x5a60a8),Se(0x6,_0x2e02f4)],at);var Us=Object['defineProperty'],As=Object[_0x384d48(0x1b2)],xs=(_0x43b30c,_0x5a4077,_0x20e012,_0x32cf4a)=>{for(var _0xead80c=_0x32cf4a>0x1?void 0x0:_0x32cf4a?As(_0x5a4077,_0x20e012):_0x5a4077,_0x1b6e25=_0x43b30c['length']-0x1,_0x54d8f1;_0x1b6e25>=0x0;_0x1b6e25--)(_0x54d8f1=_0x43b30c[_0x1b6e25])&&(_0xead80c=(_0x32cf4a?_0x54d8f1(_0x5a4077,_0x20e012,_0xead80c):_0x54d8f1(_0xead80c))||_0xead80c);return _0x32cf4a&&_0xead80c&&Us(_0x5a4077,_0x20e012,_0xead80c),_0xead80c;},li=(_0x36bd9f,_0x35972c)=>(_0x5270d8,_0x1a4f79)=>_0x35972c(_0x5270d8,_0x1a4f79,_0x36bd9f);let Dt=class{constructor(_0x1b487a,_0x5b3d9e){var _0x3e6d01=_0x384d48;this[_0x3e6d01(0x1eb)]=_0x1b487a,this[_0x3e6d01(0x2a1)]=_0x5b3d9e;}async[_0x384d48(0x23f)](_0x500df2,_0x31a405){var _0x1f2218=_0x384d48,_0x45f388;const {unitID:_0x4c6c1b,type:_0x211785,revision:_0x505af5=0x0}=_0x31a405,_0x5aff42=this[_0x1f2218(0x222)]()+'/'+_0x211785+_0x1f2218(0x467)+_0x4c6c1b+_0x1f2218(0x38e)+_0x505af5,_0x48bd1c=(await this['_httpService'][_0x1f2218(0x2a9)](_0x5aff42))[_0x1f2218(0x2ba)],_0x1bd7c1=(_0x45f388=_0x48bd1c[_0x1f2218(0x2fb)])==null?void 0x0:_0x45f388[_0x1f2218(0x456)];if(_0x1bd7c1){const _0x5059db=_0x1bd7c1==null?void 0x0:_0x1bd7c1[_0x1f2218(0x17a)],_0x41fac0=_0x28e985[_0x1f2218(0x1b8)](_0x10ebf8(_0x5059db));_0x1bd7c1[_0x1f2218(0x17a)]=_0x41fac0,Object[_0x1f2218(0x1c6)](_0x1bd7c1[_0x1f2218(0x18d)])[_0x1f2218(0x261)](([,_0x1ab533])=>{var _0x11ae2=_0x1f2218;const _0x49fa29=_0x1ab533[_0x11ae2(0x17a)],_0x1f7c5b=_0x28e985[_0x11ae2(0x1b8)](_0x10ebf8(_0x49fa29));_0x1ab533[_0x11ae2(0x17a)]=_0x1f7c5b;});}return _0x48bd1c;}async[_0x384d48(0x1fa)](_0x1ef1d9,_0x5d6713){var _0x13ebad=_0x384d48;const {unitID:_0xc4fc6a,type:_0x30800d,blockID:_0x166eab}=_0x5d6713,_0x40159c=this[_0x13ebad(0x3fd)]()+'/'+_0x30800d+_0x13ebad(0x467)+_0xc4fc6a+'/block/'+_0x166eab;return(await this[_0x13ebad(0x2a1)][_0x13ebad(0x2a9)](_0x40159c))[_0x13ebad(0x2ba)];}async[_0x384d48(0x277)](_0x374dd6,_0x202c86){var _0x462fca=_0x384d48;const {unitID:_0x3c7cbf,type:_0x36e6b5,blockID:_0xc5be04}=_0x202c86,_0x3cc608=this[_0x462fca(0x3fd)]()+'/block/'+_0x36e6b5+_0x462fca(0x467)+_0x3c7cbf+_0x462fca(0x3b1)+_0xc5be04;return(await this[_0x462fca(0x2a1)][_0x462fca(0x2a9)](_0x3cc608))[_0x462fca(0x2ba)];}async[_0x384d48(0x3dd)](_0x1725da,_0x1288a6){var _0x4e1291=_0x384d48;const {unitID:_0x89bb83,type:_0x306aaf,from:_0x325a04,to:_0x17f56a}=_0x1288a6,_0x222c6d=this[_0x4e1291(0x3fd)]()+'/'+_0x306aaf+_0x4e1291(0x467)+_0x89bb83+_0x4e1291(0x192)+_0x325a04+'&to='+_0x17f56a;return(await this[_0x4e1291(0x2a1)]['get'](_0x222c6d))[_0x4e1291(0x2ba)];}[_0x384d48(0x222)](){var _0x4fb130=_0x384d48,_0x3eec92;return(_0x3eec92=this[_0x4fb130(0x1eb)][_0x4fb130(0x3c7)](Tn))!=null?_0x3eec92:this[_0x4fb130(0x3fd)]();}[_0x384d48(0x3fd)](){var _0x1f14bc=_0x384d48,_0x2a35ba,_0x3d7193;const _0x2acb2d=this[_0x1f14bc(0x1eb)][_0x1f14bc(0x3c7)](En),_0x3262e3=this['_configService'][_0x1f14bc(0x3c7)](q);return(_0x3d7193=(_0x2a35ba=_0x3262e3==null?void 0x0:_0x3262e3['snapshotServerUrl'])!=null?_0x2a35ba:_0x2acb2d)!=null?_0x3d7193:In;}async['getResourcesRequest'](_0x5ab352,_0x3b0804){var _0x34e770=_0x384d48;const _0x200cb9=_0x34e770(0x292)+_0x3b0804[_0x34e770(0x355)]+'/unit/'+_0x3b0804['unitID']+'/resources';return(await this[_0x34e770(0x2a1)][_0x34e770(0x2a9)](_0x200cb9,{'params':{'resourceId':JSON[_0x34e770(0x3a9)](_0x3b0804['resourceIDs'])}}))[_0x34e770(0x2ba)];}[_0x384d48(0x381)](){var _0x233202=_0x384d48;throw new Error(_0x233202(0x3ed));}['saveSheetBlock'](){var _0x4f5b76=_0x384d48;throw new Error(_0x4f5b76(0x3ed));}[_0x384d48(0x171)](){var _0x3f6efd=_0x384d48;throw new Error(_0x3f6efd(0x3ed));}[_0x384d48(0x3cc)](){var _0x52e69b=_0x384d48;throw new Error(_0x52e69b(0x3ed));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x3564e5),li(0x1,_0x524d9b(_0x1fa986))],Dt);var Ls=Object[_0x384d48(0x1e0)],Ms=Object[_0x384d48(0x1b2)],$s=(_0x12496b,_0x181d0e,_0x3a519d,_0x54444d)=>{var _0x31399d=_0x384d48;for(var _0xa63bdf=_0x54444d>0x1?void 0x0:_0x54444d?Ms(_0x181d0e,_0x3a519d):_0x181d0e,_0x19c2e2=_0x12496b[_0x31399d(0x20c)]-0x1,_0x4bbe6e;_0x19c2e2>=0x0;_0x19c2e2--)(_0x4bbe6e=_0x12496b[_0x19c2e2])&&(_0xa63bdf=(_0x54444d?_0x4bbe6e(_0x181d0e,_0x3a519d,_0xa63bdf):_0x4bbe6e(_0xa63bdf))||_0xa63bdf);return _0x54444d&&_0xa63bdf&&Ls(_0x181d0e,_0x3a519d,_0xa63bdf),_0xa63bdf;},Ae=(_0x174ce2,_0x1eb2d3)=>(_0x5c4b7e,_0x11bd03)=>_0x1eb2d3(_0x5c4b7e,_0x11bd03,_0x174ce2);let Pt=class extends _0x337441{constructor(_0x202c9e,_0x393182,_0xd5067,_0x1645a7,_0x23e5ef){var _0x53130c=_0x384d48;super(_0x202c9e,_0x393182,_0xd5067),this[_0x53130c(0x33f)]=_0x1645a7,this[_0x53130c(0x1ea)]=_0x23e5ef;}[_0x384d48(0x21f)](_0x1aceb2,_0x45b7eb){var _0x337265=_0x384d48;const _0x2a2872=this[_0x337265(0x453)](_0x1aceb2);if(_0x2a2872)try{const _0x269bd2=this[_0x337265(0x2c7)](_0x2a2872,_0x45b7eb);this[_0x337265(0x2ef)](_0x1aceb2,_0x269bd2);}catch(_0x16b6c4){this[_0x337265(0x1ea)][_0x337265(0x466)](_0x337265(0x39a),_0x16b6c4),this['_clearUndo'](_0x1aceb2);}const _0x5a942e=this[_0x337265(0x39b)](_0x1aceb2);if(_0x5a942e)try{const _0x4179c0=this[_0x337265(0x2c7)](_0x5a942e,_0x45b7eb);this[_0x337265(0x1e3)](_0x1aceb2,_0x4179c0);}catch(_0x5b8cb5){this[_0x337265(0x1ea)][_0x337265(0x466)](_0x5b8cb5),this['_clearRedo'](_0x1aceb2);}}[_0x384d48(0x31d)](_0x5c9fef){var _0x1d3562=_0x384d48;const _0x21a3aa=this[_0x1d3562(0x453)](_0x5c9fef);_0x21a3aa&&(_0x21a3aa[_0x1d3562(0x20c)]=0x0,this[_0x1d3562(0x214)]());}['_clearRedo'](_0xa5b1c8){var _0x27a676=_0x384d48;const _0x3d2ba2=this[_0x27a676(0x39b)](_0xa5b1c8);_0x3d2ba2&&(_0x3d2ba2['length']=0x0,this[_0x27a676(0x214)]());}[_0x384d48(0x2ef)](_0x5b51c8,_0x4fe9ac){var _0x5cc71e=_0x384d48;this[_0x5cc71e(0x183)][_0x5cc71e(0x376)](_0x5b51c8,_0x4fe9ac),this[_0x5cc71e(0x214)]();}[_0x384d48(0x1e3)](_0x319fd6,_0x3ed6b4){var _0xfb28fb=_0x384d48;this['_redoStacks'][_0xfb28fb(0x376)](_0x319fd6,_0x3ed6b4),this['_updateStatus']();}[_0x384d48(0x2c7)](_0x268b79,_0x286749){var _0x12ed51=_0x384d48;const _0x5cc7d6=[];let _0x33dc7c=_0x286749,_0x5e39fd=_0x286749;for(let _0x55e40b=_0x268b79['length']-0x1;_0x55e40b>=0x0;_0x55e40b--){const {unitID:_0x2e6a12,undoMutations:_0x1ea3a1,redoMutations:_0x5394e1}=_0x268b79[_0x55e40b],_0x17fc82=this[_0x12ed51(0x33f)][_0x12ed51(0x2e2)](_0x33dc7c,_0x1ea3a1),_0x482479=this[_0x12ed51(0x33f)]['transformMutationsWithChangeset'](_0x5e39fd,_0x5394e1);if(_0xe645cd(_0x17fc82)||_0xe645cd(_0x482479)){this[_0x12ed51(0x1ea)][_0x12ed51(0x466)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x17fc82,_0x482479);break;}_0x33dc7c=_0x17fc82[_0x12ed51(0x34b)],_0x5e39fd=_0x482479[_0x12ed51(0x34b)],_0x5cc7d6[_0x12ed51(0x372)]({'unitID':_0x2e6a12,'undoMutations':_0x17fc82[_0x12ed51(0x44d)],'redoMutations':_0x482479[_0x12ed51(0x44d)]});}return _0x5cc7d6[_0x12ed51(0x415)]();}};Pt=$s([Ae(0x0,_0x588b40),Ae(0x1,_0x3f1db4),Ae(0x2,_0x2dc06d),Ae(0x3,_0x2e7c83),Ae(0x4,_0x1e9a27)],Pt);var xi=Object[_0x384d48(0x1e0)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x2cbe94,_0x31a8b2,_0x355abc)=>_0x31a8b2 in _0x2cbe94?xi(_0x2cbe94,_0x31a8b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x355abc}):_0x2cbe94[_0x31a8b2]=_0x355abc,js=(_0x4b50c0,_0x338bb6,_0x32e128,_0x31419f)=>{var _0xf9a94b=_0x384d48;for(var _0x191784=_0x31419f>0x1?void 0x0:_0x31419f?Hs(_0x338bb6,_0x32e128):_0x338bb6,_0x3580a5=_0x4b50c0[_0xf9a94b(0x20c)]-0x1,_0x415b99;_0x3580a5>=0x0;_0x3580a5--)(_0x415b99=_0x4b50c0[_0x3580a5])&&(_0x191784=(_0x31419f?_0x415b99(_0x338bb6,_0x32e128,_0x191784):_0x415b99(_0x191784))||_0x191784);return _0x31419f&&_0x191784&&xi(_0x338bb6,_0x32e128,_0x191784),_0x191784;},St=(_0x48788c,_0x7b85d3)=>(_0x409f0f,_0x15652b)=>_0x7b85d3(_0x409f0f,_0x15652b,_0x48788c),Bs=(_0x1a193b,_0x144171,_0x32215b)=>ks(_0x1a193b,_0x144171+'',_0x32215b);const Fs='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x33c7f6{constructor(_0x196b01=Wt,_0x444411,_0x4e82fb,_0x124a7c){var _0x3f2eb7=_0x384d48;super(),this[_0x3f2eb7(0x35e)]=_0x196b01,this[_0x3f2eb7(0x1ea)]=_0x444411,this[_0x3f2eb7(0x3d1)]=_0x4e82fb,this[_0x3f2eb7(0x1eb)]=_0x124a7c;const {..._0x218967}=_0x78f827({},Wt,this[_0x3f2eb7(0x35e)]);this[_0x3f2eb7(0x1eb)]['setConfig'](q,_0x218967);}['onStarting'](){var _0x41fe09=_0x384d48;this[_0x41fe09(0x40f)](),this[_0x41fe09(0x2ea)]();}[_0x384d48(0x40f)](){var _0x55dbf7=_0x384d48,_0x64496d,_0xb36d7e,_0x586fa2,_0x7b5fb1;this['_injector']['has'](_0x2e02f4)&&this[_0x55dbf7(0x1ea)]['error'](_0x55dbf7(0x36f),_0x55dbf7(0x27c));const _0x4fa591=_0x1de4ae([[_0x2e02f4,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0xb36d7e=(_0x64496d=this['_config'])==null?void 0x0:_0x64496d['socketService'])!=null?_0xb36d7e:Et}],[_0x46e3e3,{'useClass':Dt}],[_0x5a60a8,{'useClass':bt}],[_0x3c6605,{'useClass':yt}],[_0x251c0c,{'useClass':Nt}],[rt],[Rt]],(_0x586fa2=this[_0x55dbf7(0x35e)])==null?void 0x0:_0x586fa2[_0x55dbf7(0x2de)]);if(!((_0x7b5fb1=this[_0x55dbf7(0x35e)])!=null&&_0x7b5fb1[_0x55dbf7(0x25f)])){const _0x2d4e40=_0x4fa591['findIndex'](([_0x3d801a])=>_0x3d801a===ht);_0x2d4e40!==-0x1&&_0x4fa591[_0x55dbf7(0x23e)](_0x2d4e40,0x1);}_0x493563(this['_injector'],_0x4fa591);}[_0x384d48(0x2ea)](){var _0x3c137e=_0x384d48,_0x4048b4,_0x8b36d1,_0x20f9eb;this['_injector']['get'](_0x1fa986)[_0x3c137e(0x3ad)]({'priority':0x14,'interceptor':_0x3b17f8({'maxParallel':0x6})}),(_0x4048b4=this[_0x3c137e(0x35e)])!=null&&_0x4048b4[_0x3c137e(0x367)]||(_0x8b36d1=this[_0x3c137e(0x3d1)][_0x3c137e(0x2a9)](J,_0x2f1b9c[_0x3c137e(0x1a8)]))==null||_0x8b36d1[_0x3c137e(0x1d6)](),(_0x20f9eb=this['_config'])!=null&&_0x20f9eb['enableAuthServer']&&_0x4b47bb(this['_injector'],[[st]]),_0x4b47bb(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x384d48(0x41f),Fs),wt=js([_0x197520(_0x3588eb,_0x37d18c,_0x471945),St(0x1,_0x1e9a27),St(0x2,_0x524d9b(_0x1e48d3)),St(0x3,_0x3564e5)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|