@univerjs-pro/collaboration-client 0.6.0-nightly.202502011605 → 0.6.0-nightly.202502021605
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 _0x49793d=_0x4bee;(function(_0x3daf98,_0x2dd885){var _0x3b05c7=_0x4bee,_0x126c85=_0x3daf98();while(!![]){try{var _0x28f9cb=parseInt(_0x3b05c7(0x228))/0x1*(-parseInt(_0x3b05c7(0x215))/0x2)+parseInt(_0x3b05c7(0x183))/0x3*(parseInt(_0x3b05c7(0x185))/0x4)+parseInt(_0x3b05c7(0x276))/0x5*(-parseInt(_0x3b05c7(0x265))/0x6)+parseInt(_0x3b05c7(0x407))/0x7*(-parseInt(_0x3b05c7(0x231))/0x8)+-parseInt(_0x3b05c7(0x140))/0x9+-parseInt(_0x3b05c7(0x14c))/0xa+parseInt(_0x3b05c7(0x2a4))/0xb;if(_0x28f9cb===_0x2dd885)break;else _0x126c85['push'](_0x126c85['shift']());}catch(_0x580290){_0x126c85['push'](_0x126c85['shift']());}}}(_0x429d,0xd84f2));var Li=Object['defineProperty'],Mi=(_0x3fe534,_0x744d75,_0x1b0e22)=>_0x744d75 in _0x3fe534?Li(_0x3fe534,_0x744d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0e22}):_0x3fe534[_0x744d75]=_0x1b0e22,N=(_0x2f8dc8,_0x4b9704,_0x478bef)=>Mi(_0x2f8dc8,typeof _0x4b9704!=_0x49793d(0x3d8)?_0x4b9704+'':_0x4b9704,_0x478bef);import{createIdentifier as _0x2350c4,Inject as _0x385788,Injector as _0x5bf262,Disposable as _0x59e757,DisposableCollection as _0x1deeaf,toDisposable as _0x6eb0c8,IConfigService as _0x59c83a,ILogService as _0x1b7927,UserManagerService as _0x4937ef,UniverInstanceType as _0x3c00f5,IUniverInstanceService as _0x5d0af3,LocaleService as _0x3b0bbb,Optional as _0xd81374,RxDisposable as _0x366443,Tools as _0x335a02,Rectangle as _0x24778b,ICommandService as _0x2f1659,JSONX as _0x24175c,CommandType as _0x382451,IPermissionService as _0x45b29e,IUndoRedoService as _0x5583fc,sequenceExecute as _0xb7f461,Workbook as _0x265a32,MentionType as _0x2cc76c,IAuthzIoService as _0xffe8de,isInternalEditorID as _0x2276d0,LocalUndoRedoService as _0x244888,IContextService as _0x5477ff,DependentOn as _0x2aa712,Plugin as _0x1f104c,merge as _0x1ece26,mergeOverrideWithDependencies as _0x17a839,IMentionIOService as _0x5dc5e0,registerDependencies as _0xed180e,Quantity as _0xe9384,touchDependencies as _0x27b24c}from'@univerjs/core';import{Subject as _0x2e441e,merge as _0x504d97,of as _0x816256,BehaviorSubject as _0x2c2109,takeUntil as _0x102d9c,ReplaySubject as _0x41cacf,take as _0x11ee62,map as _0x3c8f3c,shareReplay as _0x5f474d,firstValueFrom as _0x3a12b2,concatMap as _0x356c71}from'rxjs';import{map as _0x5c5618,take as _0xf039c5,filter as _0x21e0ae,delay as _0x4bdc25,takeUntil as _0x14de08}from'rxjs/operators';import{HTTPService as _0x140e67,ISocketService as _0x51fd13,MergeInterceptorFactory as _0x1d936c,HTTPRequest as _0x13d768,UniverNetworkPlugin as _0x4065f4,ThresholdInterceptorFactory as _0x60dc94}from'@univerjs/network';import{CollaborationEvent as _0x4e3835,parseChangesetToProtocol as _0x22ee42,ISnapshotServerService as _0x3bef3d,isTransformMutationsWithChangesetSuccess as _0x455619,ITransformService as _0x36f829,mapDocumentTypeToUniverType as _0x43649d,RevisionService as _0x152bc0,isTransformChangesetsSuccess as _0x1af738,CompressMutationService as _0x5631f9,parseProtocolChangeset as _0x2f89bd,SnapshotService as _0x41462f,textEncoder as _0x27fb90,b64DecodeUnicode as _0x15a9fd,isTransformMutationsWithChangesetFailure as _0x52d160,UniverCollaborationPlugin as _0x2d2bbe}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x180871}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5521ba}from'@univerjs/docs';import{SheetsSelectionsService as _0x1f79cd,SetSelectionsOperation as _0x9a15cb,InsertSheetMutation as _0x58e021,EmptyMutation as _0xcf1ae9,WorkbookEditablePermission as _0xd4a4bb,SheetPermissionInitController as _0x3a52e1,UniverSheetsPlugin as _0x2f5c70}from'@univerjs/sheets';import{ImageSourceType as _0x1b2324,ImageUploadStatusType as _0x172a02,IImageIoService as _0x4a8339}from'@univerjs/drawing';import{getGlobalObject as _0x3c65aa}from'@univerjs-pro/license';const En=_0x49793d(0x251),In=_0x49793d(0x1c0),Tn=_0x49793d(0x38c),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x49793d(0x3d9),On=_0x49793d(0x363),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x49793d(0x2e2),Ei=0x4e20,Dn=0x4e20,Pn=_0x49793d(0x311),wn=0x3,to=_0x49793d(0x3ac),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x49793d(0x1aa),xn='LOGIN_URL_KEY',Ln=_0x49793d(0x22c),no=_0x49793d(0x249),ro=_0x49793d(0x264);var Ii=(_0x4b7d8c=>(_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2bf)]=0x0]=_0x49793d(0x2bf),_0x4b7d8c[_0x4b7d8c['OK']=0x1]='OK',_0x4b7d8c[_0x4b7d8c['INTERNAL_ERROR']=0x2]=_0x49793d(0x2ee),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x336)]=0x3]=_0x49793d(0x336),_0x4b7d8c[_0x4b7d8c['NOT_FOUND']=0x4]=_0x49793d(0x34f),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x375)]=0x5]=_0x49793d(0x375),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x16d)]=0x6]=_0x49793d(0x16d),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x12c)]=0x7]=_0x49793d(0x12c),_0x4b7d8c[_0x4b7d8c['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x4b7d8c[_0x4b7d8c[_0x49793d(0x1c2)]=0x9]=_0x49793d(0x1c2),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2a2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4b7d8c[_0x4b7d8c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x49793d(0x159),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x379)]=0x1772]=_0x49793d(0x379),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x266)]=0x1773]=_0x49793d(0x266),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x295)]=0x1b59]=_0x49793d(0x295),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x1a0)]=0x1b5a]=_0x49793d(0x1a0),_0x4b7d8c[_0x4b7d8c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x49793d(0x208),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2e0)]=0x1b5c]=_0x49793d(0x2e0),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x415)]=0x1b5d]='APPLY_DUPLICATED',_0x4b7d8c[_0x4b7d8c[_0x49793d(0x376)]=0x1f41]=_0x49793d(0x376),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x346)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4b7d8c[_0x4b7d8c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x49793d(0x2df),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x35d)]=0x232b]=_0x49793d(0x35d),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x3e8)]=0x232c]=_0x49793d(0x3e8),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x309)]=0x232d]=_0x49793d(0x309),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x361)]=0x2711]=_0x49793d(0x361),_0x4b7d8c[_0x4b7d8c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x49793d(0x1de),_0x4b7d8c[_0x4b7d8c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x49793d(0x339),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x191)]=0x2714]=_0x49793d(0x191),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x254)]=0x2af9]=_0x49793d(0x254),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x4b7d8c))(Ii||{}),Q=(_0x3e4479=>(_0x3e4479[_0x3e4479[_0x49793d(0x36c)]=0x0]=_0x49793d(0x36c),_0x3e4479[_0x3e4479[_0x49793d(0x281)]=0x1]=_0x49793d(0x281),_0x3e4479[_0x3e4479[_0x49793d(0x305)]=0x2]=_0x49793d(0x305),_0x3e4479[_0x3e4479[_0x49793d(0x2f9)]=0x3]=_0x49793d(0x2f9),_0x3e4479[_0x3e4479['UNIVER_PROJECT']=0x4]=_0x49793d(0x28a),_0x3e4479[_0x3e4479[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x3e4479))(Q||{}),F=(_0x2052f1=>(_0x2052f1[_0x2052f1[_0x49793d(0x19b)]=0x0]=_0x49793d(0x19b),_0x2052f1[_0x2052f1[_0x49793d(0x1d1)]=0x1]=_0x49793d(0x1d1),_0x2052f1[_0x2052f1[_0x49793d(0x280)]=0x2]='JOIN',_0x2052f1[_0x2052f1[_0x49793d(0x2b1)]=0x3]=_0x49793d(0x2b1),_0x2052f1[_0x2052f1[_0x49793d(0x366)]=0x4]=_0x49793d(0x366),_0x2052f1[_0x2052f1[_0x49793d(0x224)]=0x5]='HEARTBEAT',_0x2052f1[_0x2052f1[_0x49793d(0x1ac)]=0x6]=_0x49793d(0x1ac),_0x2052f1[_0x2052f1['UNRECOGNIZED']=-0x1]=_0x49793d(0x2be),_0x2052f1))(F||{}),Ee=(_0x64bb8e=>(_0x64bb8e[_0x64bb8e['UNKNOWN_CODE']=0x0]=_0x49793d(0x17f),_0x64bb8e[_0x64bb8e['OK']=0x1]='OK',_0x64bb8e[_0x64bb8e[_0x49793d(0x417)]=0x2]='FAIL',_0x64bb8e[_0x64bb8e[_0x49793d(0x35f)]=0x3e9]='JOIN_ROOM_FULL',_0x64bb8e[_0x64bb8e[_0x49793d(0x250)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x64bb8e[_0x64bb8e[_0x49793d(0x22e)]=0x3eb]=_0x49793d(0x22e),_0x64bb8e[_0x64bb8e[_0x49793d(0x24d)]=0x3ec]=_0x49793d(0x24d),_0x64bb8e[_0x64bb8e['UNRECOGNIZED']=-0x1]=_0x49793d(0x2be),_0x64bb8e))(Ee||{}),Ti=(_0x5b7eeb=>(_0x5b7eeb[_0x5b7eeb['Undefined']=0x0]=_0x49793d(0x245),_0x5b7eeb[_0x5b7eeb['HttpImport']=0x1]=_0x49793d(0x331),_0x5b7eeb[_0x5b7eeb['HttpExport']=0x2]='HttpExport',_0x5b7eeb[_0x5b7eeb['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b7eeb[_0x5b7eeb[_0x49793d(0x40f)]=0x4]=_0x49793d(0x40f),_0x5b7eeb[_0x5b7eeb[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x5b7eeb))(Ti||{});const q=_0x49793d(0x1a2),Wt={};var se=(_0x367584=>(_0x367584[_0x49793d(0x3c6)]='OTHER_CLIENT_EDITING',_0x367584[_0x49793d(0x336)]=_0x49793d(0x336),_0x367584[_0x49793d(0x294)]='CONFLICT',_0x367584[_0x49793d(0x2cc)]=_0x49793d(0x2cc),_0x367584['JOIN_ROOM_FAILED']=_0x49793d(0x221),_0x367584[_0x49793d(0x29a)]=_0x49793d(0x29a),_0x367584['SOCKET_FAILED']=_0x49793d(0x246),_0x367584[_0x49793d(0x124)]='SUBMIT_CHANGESET_TIMEOUT',_0x367584))(se||{});class pe{constructor(){var _0x1b5c4b=_0x49793d;N(this,_0x1b5c4b(0x3f0),new _0x2e441e()),N(this,_0x1b5c4b(0x2aa),this[_0x1b5c4b(0x3f0)]['asObservable']());}['emitEvent'](_0x77845e){var _0x382815=_0x49793d;this[_0x382815(0x3f0)]['next'](_0x77845e);}}const Mn=_0x2350c4(_0x49793d(0x355));function $n(_0x4a7cba){var _0xb00945=_0x49793d,_0x4a3d49,_0x280374,_0x3ccab8,_0x21dff4,_0x49d8d4;const _0x31e06b=_0x4a7cba[_0xb00945(0x31b)],_0x2ec465=JSON[_0xb00945(0x188)](_0x31e06b);switch(_0x2ec465[_0xb00945(0x3ed)]){case F['HEARTBEAT']:case F['HELLO']:{const _0x2f8df2=_0x2ec465[_0xb00945(0x1a1)];return{..._0x2ec465,'data':_0x2f8df2,'cmd':_0x2ec465['cmd']};}case F['JOIN']:{const _0x182191=_0x2ec465[_0xb00945(0x227)];return{..._0x2ec465,'data':_0x182191,'cmd':_0x2ec465[_0xb00945(0x3ed)]};}case F[_0xb00945(0x1ac)]:{const _0xc529ad=_0x2ec465[_0xb00945(0x144)];switch(_0xc529ad[_0xb00945(0x289)]){case _0x4e3835[_0xb00945(0x389)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x4a3d49=_0xc529ad['permissionRejEvent'])==null?void 0x0:_0x4a3d49['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x378)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x280374=_0xc529ad['csAckEvent'])==null?void 0x0:_0x280374['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835['NEW_CHANGESETS']:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x3ccab8=_0xc529ad[_0xb00945(0x26c)])==null?void 0x0:_0x3ccab8['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x252)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x21dff4=_0xc529ad[_0xb00945(0x2d2)])==null?void 0x0:_0x21dff4['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x2ed)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x49d8d4=_0xc529ad[_0xb00945(0x150)])==null?void 0x0:_0x49d8d4['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x3d6)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x33b)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x1a5)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x1bf)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x11a)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x416)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x418)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b3)]},'cmd':_0x2ec465['cmd']};case _0x4e3835[_0xb00945(0x30d)]:case _0x4e3835[_0xb00945(0x1f8)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x219)]},'cmd':_0x2ec465['cmd']};case _0x4e3835[_0xb00945(0x20d)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b3)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x38e)]:return{..._0x2ec465,'data':_0xc529ad,'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x1c9)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x130)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x402)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b5)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835['SHOULD_CLOSE_CONN']:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x335)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x344)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad['uniscriptRunEvent']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};default:return _0x2ec465;}}default:return _0x2ec465;}}function Hn(_0x25791e){var _0x3594aa=_0x49793d;switch(_0x25791e['cmd']){case F[_0x3594aa(0x224)]:case F[_0x3594aa(0x1d1)]:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e[_0x3594aa(0x3ed)],'routeKey':_0x25791e[_0x3594aa(0x119)]});case F[_0x3594aa(0x366)]:{let _0x4690d6;switch(_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x289)]){case _0x4e3835[_0x3594aa(0x3d6)]:{_0x4690d6={'eventID':_0x4e3835['UPDATE_CURSOR'],'updateCursorEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x11a)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x11a)],'leaveEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x1a5)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x1a5)],'joinEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x418)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x418)],'liveShareNewHost':_0x25791e[_0x3594aa(0x31b)]['data']};break;}case _0x4e3835[_0x3594aa(0x1f8)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x1f8)],'liveShareOperation':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x20d)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x20d)],'liveShareTerminate':_0x25791e[_0x3594aa(0x31b)]['data']};break;}case _0x4e3835['LIVESHARE_REQUEST_HOST']:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x24f)],'liveShareRequestHost':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x30d)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x30d)]};break;}default:_0x4690d6={'eventID':_0x25791e[_0x3594aa(0x31b)]['eventID']};}return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e['cmd'],'routeKey':_0x25791e['routeKey'],'collaMsg':_0x4690d6});}case F['JOIN']:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e['cmd'],'routeKey':_0x25791e[_0x3594aa(0x119)],'joinReq':_0x25791e[_0x3594aa(0x31b)]});case F[_0x3594aa(0x2b1)]:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e[_0x3594aa(0x3ed)],'routeKey':_0x25791e[_0x3594aa(0x119)],'leaveReq':_0x25791e[_0x3594aa(0x31b)]});default:throw new Error(_0x3594aa(0x413));}}var kn=Object[_0x49793d(0x2b7)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x222842,_0x4710a1,_0x1f4fe8,_0x32b0e5)=>{for(var _0x34ecb8=_0x32b0e5>0x1?void 0x0:_0x32b0e5?jn(_0x4710a1,_0x1f4fe8):_0x4710a1,_0x280b8a=_0x222842['length']-0x1,_0xc8e2db;_0x280b8a>=0x0;_0x280b8a--)(_0xc8e2db=_0x222842[_0x280b8a])&&(_0x34ecb8=(_0x32b0e5?_0xc8e2db(_0x4710a1,_0x1f4fe8,_0x34ecb8):_0xc8e2db(_0x34ecb8))||_0x34ecb8);return _0x32b0e5&&_0x34ecb8&&kn(_0x4710a1,_0x1f4fe8,_0x34ecb8),_0x34ecb8;},Ue=(_0x5f261b,_0x2d599f)=>(_0x431208,_0x3050bd)=>_0x2d599f(_0x431208,_0x3050bd,_0x5f261b);const Ci=_0x2350c4(_0x49793d(0x3e4));function Fn(_0x5aab9f,_0x1bb11d,_0xec05fa){var _0x12c566=_0x49793d;return _0x5aab9f+'/'+_0x1bb11d+_0x12c566(0x337)+_0xec05fa+_0x12c566(0x2dd);}let Et=class extends _0x59e757{constructor(_0xf223a2,_0x29c186,_0x1de5a7,_0x3a69e1,_0x6099bc){var _0x59ff82=_0x49793d;super(),this[_0x59ff82(0x20f)]=_0xf223a2,this[_0x59ff82(0x181)]=_0x29c186,this['_configService']=_0x1de5a7,this[_0x59ff82(0x172)]=_0x3a69e1,this[_0x59ff82(0x128)]=_0x6099bc;}[_0x49793d(0x352)](_0x340900){var _0x2a6be9=_0x49793d;const _0x2a91d3=this[_0x2a6be9(0x20f)][_0x2a6be9(0x2c8)](_0x51fd13);if(!_0x2a91d3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x214779=_0x2a91d3['createSocket'](_0x340900);if(!_0x214779)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12abbf=new _0x1deeaf(),_0x2c1291=new _0x2e441e();_0x12abbf['add'](_0x214779[_0x2a6be9(0x146)][_0x2a6be9(0x405)](_0x176502=>_0x2c1291[_0x2a6be9(0x33d)](_0x176502))),_0x12abbf['add'](_0x6eb0c8(()=>_0x2c1291[_0x2a6be9(0x1bb)]()));const _0x15d8e3=new _0x2e441e();_0x12abbf[_0x2a6be9(0x243)](_0x214779[_0x2a6be9(0x38b)][_0x2a6be9(0x405)](_0x2909ae=>_0x15d8e3[_0x2a6be9(0x33d)](_0x2909ae))),_0x12abbf[_0x2a6be9(0x243)](_0x6eb0c8(()=>_0x15d8e3[_0x2a6be9(0x1bb)]()));const _0x1cd7f3=new _0x2e441e();_0x12abbf[_0x2a6be9(0x243)](_0x214779['message$'][_0x2a6be9(0x405)](_0x1bf5b2=>{var _0x2b9e46=_0x2a6be9;const _0x45e220=$n(_0x1bf5b2);_0x1cd7f3[_0x2b9e46(0x33d)](_0x45e220);})),_0x12abbf['add'](_0x6eb0c8(()=>_0x1cd7f3[_0x2a6be9(0x1bb)]()));let _0x3b40f5;const _0x151fb2=()=>{var _0x55e065=_0x2a6be9;_0x15d8e3['next'](new Event(_0x55e065(0x2f1))),_0x2c1291['next'](new CloseEvent(_0x55e065(0x2f1))),_0x3b40f5[_0x55e065(0x387)]();};return _0x3b40f5={'memberID':'','close$':_0x2c1291[_0x2a6be9(0x1c6)](),'error$':_0x15d8e3[_0x2a6be9(0x1c6)](),'open$':_0x214779[_0x2a6be9(0x380)],'message$':_0x1cd7f3[_0x2a6be9(0x1c6)](),'send':_0x4e92af=>{var _0xc94380=_0x2a6be9;if(_0x4e92af[_0xc94380(0x3ed)]===F[_0xc94380(0x366)]){if(_0x4e92af[_0xc94380(0x31b)][_0xc94380(0x289)]===_0x4e3835[_0xc94380(0x1ea)]){this[_0xc94380(0x2eb)](_0x3b40f5,_0x4e92af['data'])['catch'](_0x114dbd=>{var _0x48635d=_0xc94380;this[_0x48635d(0x172)][_0x48635d(0x2a6)](_0x114dbd),_0x151fb2();});return;}if(_0x4e92af[_0xc94380(0x31b)][_0xc94380(0x289)]===_0x4e3835[_0xc94380(0x153)]){const _0x3c8120=_0x4e92af[_0xc94380(0x31b)];this[_0xc94380(0x2f0)](_0x3c8120)[_0xc94380(0x1b0)](_0x56c830=>{var _0x43fcb3=_0xc94380;_0x1cd7f3[_0x43fcb3(0x33d)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x3c8120['data'][_0x43fcb3(0x13e)],'routeType':'','data':{'eventID':_0x4e3835[_0x43fcb3(0x37b)],'data':{'changesets':_0x56c830}}});})[_0xc94380(0x1ae)](_0x21fc80=>{var _0x359a06=_0xc94380;this[_0x359a06(0x172)][_0x359a06(0x2a6)](_0x21fc80),_0x151fb2();});return;}}_0x214779['send'](Hn(_0x4e92af));},'close':()=>{var _0x4fb842=_0x2a6be9;_0x214779[_0x4fb842(0x387)](),_0x12abbf[_0x4fb842(0x28c)]();}},_0x3b40f5;}async[_0x49793d(0x2eb)](_0x103ba4,_0x48aec9){var _0x49d57f=_0x49793d,_0x3b57c5,_0x258a6b;const {unitType:_0x499141,unitID:_0x1af25e,changeset:_0x425deb}=_0x48aec9[_0x49d57f(0x31b)],_0x23cb82={'unitID':_0x1af25e,'memberID':_0x103ba4['memberID'],'type':_0x499141,'changeset':_0x22ee42(_0x425deb)},_0xac7e7f=this[_0x49d57f(0x3dd)][_0x49d57f(0x27a)](Un),_0x339043=this[_0x49d57f(0x3dd)][_0x49d57f(0x27a)](q),_0x258749=Fn((_0x258a6b=(_0x3b57c5=_0x339043==null?void 0x0:_0x339043[_0x49d57f(0x3a9)])!=null?_0x3b57c5:_0xac7e7f)!=null?_0x258a6b:An,_0x499141,_0x1af25e);try{await this[_0x49d57f(0x181)][_0x49d57f(0x1a7)](_0x258749,{'body':_0x23cb82});}catch(_0x224244){throw this[_0x49d57f(0x172)][_0x49d57f(0x2a6)]('[CollaborationSession]',_0x49d57f(0x255)),_0x224244;}}async[_0x49793d(0x2f0)](_0x1e23cc){var _0x4674c8=_0x49793d;const {unitID:_0x21df56,from:_0x4372e9,to:_0x2fbdab,unitType:_0x590fd2}=_0x1e23cc[_0x4674c8(0x31b)];return(await this[_0x4674c8(0x128)][_0x4674c8(0x152)]({'metadata':void 0x0},{'unitID':_0x21df56,'type':_0x590fd2,'from':_0x4372e9,'to':_0x2fbdab}))[_0x4674c8(0x360)];}};Et=Bn([Ue(0x0,_0x385788(_0x5bf262)),Ue(0x1,_0x385788(_0x140e67)),Ue(0x2,_0x59c83a),Ue(0x3,_0x1b7927),Ue(0x4,_0x3bef3d)],Et);const Vn=_0x49793d(0x213);function Gn(_0x421ad1){var _0xce7a3a=_0x49793d;return JSON[_0xce7a3a(0x142)](_0x421ad1)['length'];}class Ri{constructor(){var _0x161a5f=_0x49793d;N(this,_0x161a5f(0x3c1),new _0x2e441e()),N(this,_0x161a5f(0x1db),this[_0x161a5f(0x3c1)][_0x161a5f(0x1c6)]());}['onCommentUpdate'](_0x588779){var _0x3ced36=_0x49793d;this['_commentUpdate$'][_0x3ced36(0x33d)](_0x588779);}}var Wn=Object[_0x49793d(0x2b7)],Kn=Object[_0x49793d(0x2fc)],Yn=(_0x347284,_0x5ac4c2,_0x26dee1,_0x3f7b81)=>{var _0x409164=_0x49793d;for(var _0x1a12b7=_0x3f7b81>0x1?void 0x0:_0x3f7b81?Kn(_0x5ac4c2,_0x26dee1):_0x5ac4c2,_0x4f96e1=_0x347284[_0x409164(0x12f)]-0x1,_0x14a4b4;_0x4f96e1>=0x0;_0x4f96e1--)(_0x14a4b4=_0x347284[_0x4f96e1])&&(_0x1a12b7=(_0x3f7b81?_0x14a4b4(_0x5ac4c2,_0x26dee1,_0x1a12b7):_0x14a4b4(_0x1a12b7))||_0x1a12b7);return _0x3f7b81&&_0x1a12b7&&Wn(_0x5ac4c2,_0x26dee1,_0x1a12b7),_0x1a12b7;},Kt=(_0x1d250e,_0x501929)=>(_0x192d00,_0x1e1f9c)=>_0x501929(_0x192d00,_0x1e1f9c,_0x1d250e);let xe=class extends _0x59e757{constructor(_0x493bdf,_0x496c5f){var _0x41d9dd=_0x49793d;super(),N(this,_0x41d9dd(0x3d0),new Map()),N(this,_0x41d9dd(0x3c5),new _0x2e441e()),(this['_univerInstanceService']=_0x493bdf,this['_userManagerService']=_0x496c5f,this['disposeWithMe'](_0x504d97(this[_0x41d9dd(0x3fa)][_0x41d9dd(0x15a)](_0x3c00f5[_0x41d9dd(0x305)])[_0x41d9dd(0x357)](_0x5c5618(_0x2e89b7=>_0x2e89b7[_0x41d9dd(0x25c)]())),this[_0x41d9dd(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5['UNIVER_DOC'])['pipe'](_0x5c5618(_0x1e2b92=>_0x1e2b92[_0x41d9dd(0x25c)]())),this[_0x41d9dd(0x3fa)][_0x41d9dd(0x15a)](_0x3c00f5[_0x41d9dd(0x2f9)])['pipe'](_0x5c5618(_0x29c2e9=>_0x29c2e9['getUnitId']())))['subscribe'](_0x28e347=>this[_0x41d9dd(0x2de)](_0x28e347))));}[_0x49793d(0x2bd)](_0x40526){var _0x1c1e63=_0x49793d;return this[_0x1c1e63(0x3d0)][_0x1c1e63(0x408)](_0x40526)?_0x816256(this['_roomMembers'][_0x1c1e63(0x2c8)](_0x40526)):this['_roomCreated$'][_0x1c1e63(0x357)](_0x5c5618(_0x1c9425=>{var _0x3f5dfa=_0x1c1e63;if(_0x1c9425===_0x40526)return this[_0x3f5dfa(0x3d0)]['get'](_0x1c9425);}));}[_0x49793d(0x13c)](_0x20550c){var _0x11c07e=_0x49793d;this[_0x11c07e(0x262)][_0x11c07e(0x13c)](_0x20550c);}[_0x49793d(0x3fc)](){var _0x1098f9=_0x49793d;return this['_userManagerService'][_0x1098f9(0x3fc)]();}[_0x49793d(0x1eb)](_0x466eed,_0x3503f7){var _0x4313f2=_0x49793d;let _0x55caea=this[_0x4313f2(0x3d0)][_0x4313f2(0x2c8)](_0x466eed);_0x55caea||(_0x55caea=new qn(),this[_0x4313f2(0x3d0)][_0x4313f2(0x12e)](_0x466eed,_0x55caea),this[_0x4313f2(0x3c5)]['next'](_0x466eed)),_0x55caea[_0x4313f2(0x1eb)](_0x3503f7);}[_0x49793d(0x15d)](_0x48172e,_0x240662){var _0x3a0e17=_0x49793d;const _0x18f9e0=this[_0x3a0e17(0x3d0)][_0x3a0e17(0x2c8)](_0x48172e);_0x18f9e0&&_0x18f9e0[_0x3a0e17(0x15d)](_0x240662);}[_0x49793d(0x291)](_0x9bfa55){var _0x2117e7=_0x49793d;return this[_0x2117e7(0x3d0)][_0x2117e7(0x2c8)](_0x9bfa55);}[_0x49793d(0x141)](_0x2cb80d,_0x2bdd82){var _0x473cb7=_0x49793d;const _0x1c4cd9=this['_roomMembers'][_0x473cb7(0x2c8)](_0x2cb80d);if(_0x1c4cd9)return _0x1c4cd9[_0x473cb7(0x141)](_0x2bdd82);}[_0x49793d(0x2de)](_0x1a7754){var _0x2dc576=_0x49793d;const _0x95ce22=this[_0x2dc576(0x3d0)][_0x2dc576(0x2c8)](_0x1a7754);_0x95ce22&&(_0x95ce22[_0x2dc576(0x28c)](),this[_0x2dc576(0x3d0)]['delete'](_0x1a7754));}[_0x49793d(0x28c)](){var _0x532204=_0x49793d;this[_0x532204(0x3d0)][_0x532204(0x193)](_0x36cff2=>_0x36cff2[_0x532204(0x28c)]()),this[_0x532204(0x3d0)]['clear'](),this[_0x532204(0x3c5)][_0x532204(0x1bb)]();}};xe=Yn([Kt(0x0,_0x5d0af3),Kt(0x1,_0x385788(_0x4937ef))],xe);class qn extends _0x59e757{constructor(){var _0x2e09f2=_0x49793d;super(...arguments),N(this,_0x2e09f2(0x143),new Map()),N(this,'_members$',new _0x2c2109(this[_0x2e09f2(0x143)])),N(this,_0x2e09f2(0x320),this['_members$']['asObservable']());}['dispose'](){var _0xf32ec8=_0x49793d;this['_members'][_0xf32ec8(0x406)]();}['updateMember'](_0x28a48e){var _0x2d10ff=_0x49793d;this[_0x2d10ff(0x143)][_0x2d10ff(0x12e)](_0x28a48e[_0x2d10ff(0x3a2)],_0x28a48e),this[_0x2d10ff(0x2ec)]();}[_0x49793d(0x15d)](_0x8a9e32){var _0x526c94=_0x49793d;this[_0x526c94(0x143)]['delete'](_0x8a9e32);}['getMember'](_0x18b13a){var _0x98e4cb=_0x49793d;return this[_0x98e4cb(0x143)][_0x98e4cb(0x2c8)](_0x18b13a);}[_0x49793d(0x1ba)](){var _0xf45531=_0x49793d;return Array['from'](this[_0xf45531(0x143)]['values']());}['_emitMembers'](){var _0x575e16=_0x49793d;this[_0x575e16(0x310)][_0x575e16(0x33d)](this[_0x575e16(0x143)]);}}var zn=Object[_0x49793d(0x2b7)],Jn=Object[_0x49793d(0x2fc)],Xn=(_0x4e19c7,_0x485871,_0x55ded5,_0x1680a5)=>{for(var _0x5560ce=_0x1680a5>0x1?void 0x0:_0x1680a5?Jn(_0x485871,_0x55ded5):_0x485871,_0xa32346=_0x4e19c7['length']-0x1,_0x869606;_0xa32346>=0x0;_0xa32346--)(_0x869606=_0x4e19c7[_0xa32346])&&(_0x5560ce=(_0x1680a5?_0x869606(_0x485871,_0x55ded5,_0x5560ce):_0x869606(_0x5560ce))||_0x5560ce);return _0x1680a5&&_0x5560ce&&zn(_0x485871,_0x55ded5,_0x5560ce),_0x5560ce;},me=(_0x493a8f,_0x1ffa3d)=>(_0x448ab1,_0x5e8853)=>_0x1ffa3d(_0x448ab1,_0x5e8853,_0x493a8f),Te=(_0x2d01d8=>(_0x2d01d8[_0x2d01d8[_0x49793d(0x384)]=0x0]=_0x49793d(0x384),_0x2d01d8[_0x2d01d8[_0x49793d(0x158)]=0x1]='JOINING',_0x2d01d8[_0x2d01d8['OFFLINE']=0x2]=_0x49793d(0x3fd),_0x2d01d8[_0x2d01d8[_0x49793d(0x17d)]=0x3]=_0x49793d(0x17d),_0x2d01d8))(Te||{});const Yt={[Ee['FAIL']]:_0x49793d(0x3cc),[Ee['JOIN_ROOM_FULL']]:_0x49793d(0x1ca),[Ee[_0x49793d(0x250)]]:_0x49793d(0x259),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x49793d(0x24d)]]:_0x49793d(0x1a6)};let It=class extends _0x366443{constructor(_0x473f03,_0x40ace6,_0xee1c93,_0x12964d,_0x5f1b79,_0xe2d580,_0x10ffec,_0x380a1d,_0x18153a){var _0x16e728=_0x49793d;super(),N(this,_0x16e728(0x223),new _0x2c2109(0x0)),N(this,_0x16e728(0x148),this[_0x16e728(0x223)][_0x16e728(0x1c6)]()),N(this,'_event$',new _0x2e441e()),N(this,'event$',this[_0x16e728(0x3f0)]['asObservable']()),N(this,_0x16e728(0x308)),N(this,_0x16e728(0x3fb)),N(this,_0x16e728(0x1af)),N(this,_0x16e728(0x2c2),!0x1),N(this,_0x16e728(0x32e),null),(this[_0x16e728(0x241)]=_0x473f03,this[_0x16e728(0x172)]=_0xee1c93,this['_configService']=_0x12964d,this[_0x16e728(0x1f1)]=_0x5f1b79,this[_0x16e728(0x202)]=_0xe2d580,this[_0x16e728(0x395)]=_0x10ffec,this[_0x16e728(0x26e)]=_0x380a1d,this['_telemetryService']=_0x18153a,this['_shouldReportTelemetry']=!!this[_0x16e728(0x282)],_0x40ace6[_0x16e728(0x357)](_0x102d9c(this[_0x16e728(0x200)]))[_0x16e728(0x405)](_0x4558b5=>{var _0xb5d50f=_0x16e728,_0x1ff47f;typeof _0x4558b5>'u'||(this['_socket']=_0x4558b5,_0x4558b5?(this[_0xb5d50f(0x205)](_0x4558b5),this[_0xb5d50f(0x3fb)]=_0x4558b5[_0xb5d50f(0x3ec)]['subscribe'](_0x263515=>{var _0x12c66d=_0xb5d50f;_0x263515['routeKey']===this[_0x12c66d(0x241)]&&this[_0x12c66d(0x35e)](_0x263515);})):(this[_0xb5d50f(0x1ee)](),this['_sessionStatus$'][_0xb5d50f(0x33d)](0x2),(_0x1ff47f=this['_socketMessageSubscription'])==null||_0x1ff47f[_0xb5d50f(0x201)](),this['_socketMessageSubscription']=null));}));}get[_0x49793d(0x298)](){var _0x4156e9=_0x49793d;return this['_sessionStatus$'][_0x4156e9(0x394)]();}['getMemberID'](){var _0x22f4af=_0x49793d,_0x350eed,_0x4ec324;return(_0x4ec324=(_0x350eed=this[_0x22f4af(0x308)])==null?void 0x0:_0x350eed[_0x22f4af(0x3a2)])!=null?_0x4ec324:null;}['dispose'](){super['dispose'](),this['dispose$']['next'](),this['dispose$']['complete']();}[_0x49793d(0x387)](){var _0x334a38=_0x49793d,_0x333fcf,_0x22fa3c;this[_0x334a38(0x1ee)](),(_0x333fcf=this['_socket'])==null||_0x333fcf['send']({'cmd':F[_0x334a38(0x2b1)],'data':{'roomID':this['_unitID']}}),(_0x22fa3c=this[_0x334a38(0x308)])==null||_0x22fa3c[_0x334a38(0x387)](),this[_0x334a38(0x3f0)][_0x334a38(0x1bb)](),this[_0x334a38(0x223)][_0x334a38(0x1bb)](),this[_0x334a38(0x28c)]();}[_0x49793d(0x35e)](_0x5165b8){var _0x11345b=_0x49793d;_0x5165b8[_0x11345b(0x3ed)]===F[_0x11345b(0x280)]?this[_0x11345b(0x317)](_0x5165b8):_0x5165b8[_0x11345b(0x3ed)]===F[_0x11345b(0x1ac)]&&this[_0x11345b(0x2da)](_0x5165b8);}[_0x49793d(0x205)](_0x5da421){var _0x46c353=_0x49793d;this[_0x46c353(0x223)][_0x46c353(0x33d)](0x1),_0x5da421[_0x46c353(0x2b9)]({'cmd':F['JOIN'],'routeKey':this[_0x46c353(0x241)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46c353(0x241)]}]}});}[_0x49793d(0x317)](_0x2002e8){var _0x2419ed=_0x49793d,_0x89019c;if(_0x2002e8['code']in Yt){this[_0x2419ed(0x26e)][_0x2419ed(0x3cf)]({'id':se[_0x2419ed(0x221)],'data':Yt[_0x2002e8[_0x2419ed(0x284)]]}),this[_0x2419ed(0x223)]['next'](0x2);return;}this[_0x2419ed(0x223)][_0x2419ed(0x33d)](0x3);const _0x3f85a9=(_0x89019c=_0x2002e8[_0x2419ed(0x31b)][_0x2419ed(0x1f0)][this[_0x2419ed(0x241)]])==null?void 0x0:_0x89019c[_0x2419ed(0x301)];_0x3f85a9&&_0x3f85a9[_0x2419ed(0x193)](_0x787c60=>this['_memberService'][_0x2419ed(0x1eb)](this[_0x2419ed(0x241)],_0x787c60));}['_onRecvEvent'](_0x21a1d1){var _0x551f8f=_0x49793d;try{const _0x3e246e=_0x21a1d1[_0x551f8f(0x31b)];switch(_0x3e246e['eventID']){case _0x4e3835[_0x551f8f(0x1a5)]:this[_0x551f8f(0x1a9)](_0x3e246e),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x11a)]:this[_0x551f8f(0x35a)](_0x3e246e),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x378)]:case _0x4e3835[_0x551f8f(0x2ed)]:this[_0x551f8f(0x2b8)](),this[_0x551f8f(0x155)](),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x38e)]:this[_0x551f8f(0x172)][_0x551f8f(0x2a6)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x551f8f(0x142)](_0x3e246e)),this['_event$'][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835['COMMENT_UPDATE']:this[_0x551f8f(0x395)]['onCommentUpdate'](_0x3e246e[_0x551f8f(0x31b)]),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;default:this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);}}catch(_0x4f4546){this[_0x551f8f(0x172)][_0x551f8f(0x2a6)](_0x4f4546,_0x21a1d1);}}[_0x49793d(0x1a9)](_0x5f1cce){var _0x37d923=_0x49793d;this['_memberService']['updateMember'](this[_0x37d923(0x241)],_0x5f1cce[_0x37d923(0x31b)]);}[_0x49793d(0x35a)](_0x2edff3){var _0xafcffe=_0x49793d;this['_memberService'][_0xafcffe(0x15d)](this[_0xafcffe(0x241)],_0x2edff3[_0xafcffe(0x31b)]['memberID']);}async['send'](_0xf28c9c,_0x14b5fc){var _0x509e9e=_0x49793d;if(this[_0x509e9e(0x298)]!==0x3||!this['_socket'])throw new Error(_0x509e9e(0x2bb));try{_0xf28c9c[_0x509e9e(0x289)]===_0x4e3835[_0x509e9e(0x1ea)]&&(this[_0x509e9e(0x2ea)](),this[_0x509e9e(0x321)](_0xf28c9c)),this[_0x509e9e(0x308)][_0x509e9e(0x2b9)]({'cmd':F[_0x509e9e(0x366)],'routeKey':_0x14b5fc,'routeType':'','data':_0xf28c9c});}catch(_0x9a8d00){this['_logService'][_0x509e9e(0x2a6)](_0x9a8d00);}}[_0x49793d(0x2ea)](){var _0x2cb021=_0x49793d,_0x2a8ef3;this[_0x2cb021(0x1af)]=setTimeout(()=>{var _0x511405=_0x2cb021;this['_collaborationTimeoutTimer']=null,this[_0x511405(0x26e)][_0x511405(0x3cf)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2a8ef3=this[_0x2cb021(0x3dd)][_0x2cb021(0x27a)](Si))!=null?_0x2a8ef3:Ei);}[_0x49793d(0x155)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x49793d(0x321)](_0x4342ea){var _0x210765=_0x49793d;if(!this[_0x210765(0x2c2)])return;const {data:_0x18bedc}=_0x4342ea,{unitID:_0x433e84,changeset:_0x402544}=_0x18bedc,{mutations:_0x3ce4a9,type:_0x1d9fe1}=_0x402544;this[_0x210765(0x32e)]={'unitId':_0x433e84,'type':_0x1d9fe1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x3ce4a9)};}[_0x49793d(0x2b8)](){var _0x112caa=_0x49793d;if(this['_shouldReportTelemetry']){if(!this[_0x112caa(0x32e)]){this['_logService'][_0x112caa(0x2a6)]('[CollaborationSession]',_0x112caa(0x21c));return;}this['_telemetryInfo']['stopTime']=performance[_0x112caa(0x1b8)](),this[_0x112caa(0x32e)]['duration']=this[_0x112caa(0x32e)][_0x112caa(0x13f)]-this['_telemetryInfo']['startTime'],this[_0x112caa(0x282)][_0x112caa(0x236)](Vn,this[_0x112caa(0x32e)]),this[_0x112caa(0x32e)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2fdbc4=_0x49793d;this[_0x2fdbc4(0x32e)]=null;}};It=Xn([me(0x2,_0x1b7927),me(0x3,_0x59c83a),me(0x4,_0x385788(_0x3b0bbb)),me(0x5,_0x385788(xe)),me(0x6,_0x385788(Ri)),me(0x7,_0x385788(pe)),me(0x8,_0xd81374(_0x180871))],It);var Zn=Object[_0x49793d(0x2b7)],Qn=Object[_0x49793d(0x2fc)],er=(_0x14a4af,_0x5a8109,_0x802cdd,_0x576207)=>{var _0x1c0d86=_0x49793d;for(var _0x2e10d5=_0x576207>0x1?void 0x0:_0x576207?Qn(_0x5a8109,_0x802cdd):_0x5a8109,_0x128d9e=_0x14a4af[_0x1c0d86(0x12f)]-0x1,_0xb9658c;_0x128d9e>=0x0;_0x128d9e--)(_0xb9658c=_0x14a4af[_0x128d9e])&&(_0x2e10d5=(_0x576207?_0xb9658c(_0x5a8109,_0x802cdd,_0x2e10d5):_0xb9658c(_0x2e10d5))||_0x2e10d5);return _0x576207&&_0x2e10d5&&Zn(_0x5a8109,_0x802cdd,_0x2e10d5),_0x2e10d5;},ge=(_0x2b5ef0,_0x53ccfa)=>(_0x10ede5,_0x55ae98)=>_0x53ccfa(_0x10ede5,_0x55ae98,_0x2b5ef0);let Le=class extends _0x59e757{constructor(_0x5792fc,_0x59c685,_0x1e7ab9,_0x555859,_0x5dc263,_0xf0531b,_0x30b4c3){var _0xc93cca=_0x49793d;super(),N(this,_0xc93cca(0x3d3),new _0x2c2109(void 0x0)),N(this,'socket$',this[_0xc93cca(0x3d3)][_0xc93cca(0x1c6)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x2c2109(Te[_0xc93cca(0x384)])),N(this,_0xc93cca(0x296),this[_0xc93cca(0x21a)][_0xc93cca(0x1c6)]()),N(this,_0xc93cca(0x2c4),!0x1),N(this,_0xc93cca(0x1b4)),N(this,'_retryCount',0x0),N(this,_0xc93cca(0x23b)),N(this,'_timeoutTimer'),(this[_0xc93cca(0x20f)]=_0x5792fc,this[_0xc93cca(0x172)]=_0x59c685,this['_configService']=_0x1e7ab9,this[_0xc93cca(0x2d9)]=_0x555859,this[_0xc93cca(0x206)]=_0x5dc263,this[_0xc93cca(0x26e)]=_0xf0531b,this[_0xc93cca(0x304)]=_0x30b4c3,this['_listenToNetworkCondition']());}get['_socket'](){var _0x54ee2b=_0x49793d;return this[_0x54ee2b(0x3d3)]['getValue']();}[_0x49793d(0x17a)](){var _0xd78f27=_0x49793d;this[_0xd78f27(0x304)]&&this['disposeWithMe'](this['_networkConditionService'][_0xd78f27(0x1e8)][_0xd78f27(0x405)](_0x2a6111=>{var _0x1e52fa=_0xd78f27;_0x2a6111&&!this['_socket']&&this[_0x1e52fa(0x39c)](),_0x2a6111||this['_onOffline']();}));}[_0x49793d(0x28c)](){var _0x2d79b8=_0x49793d;super['dispose'](),this[_0x2d79b8(0x2e8)][_0x2d79b8(0x193)](_0x1cf057=>_0x1cf057[_0x2d79b8(0x28c)]()),this[_0x2d79b8(0x2e8)][_0x2d79b8(0x406)](),this['_status$']['complete']();}async['requireSession'](_0x433a97){var _0x13071b=_0x49793d;if(this[_0x13071b(0x2e8)][_0x13071b(0x408)](_0x433a97))return this[_0x13071b(0x2e8)][_0x13071b(0x2c8)](_0x433a97);this[_0x13071b(0x3aa)]();const _0x2c7fd8=this[_0x13071b(0x20f)][_0x13071b(0x3a6)](It,_0x433a97,this['_socket$'][_0x13071b(0x1c6)]());return this[_0x13071b(0x2e8)]['set'](_0x433a97,_0x2c7fd8),_0x2c7fd8;}[_0x49793d(0x176)](_0x4bd86f){var _0x3e7787=_0x49793d,_0x311696;const _0x26104c=this[_0x3e7787(0x2e8)][_0x3e7787(0x2c8)](_0x4bd86f);_0x26104c&&(this[_0x3e7787(0x2e8)][_0x3e7787(0x385)](_0x4bd86f),_0x26104c[_0x3e7787(0x387)]()),this['_sessions'][_0x3e7787(0x117)]||(_0x311696=this['_socket'])==null||_0x311696[_0x3e7787(0x387)]();}['reconnect'](){var _0x40c222=_0x49793d;this[_0x40c222(0x26a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x40c222(0x1b4)]),this[_0x40c222(0x1b4)]=null),this['_tryReconnect']();}async[_0x49793d(0x1d2)](){var _0x10b604=_0x49793d,_0x3bcbad,_0x28e0f9,_0x1aaa28;const _0x4e21d0=this[_0x10b604(0x3dd)][_0x10b604(0x27a)](q),_0x1bef9d=(_0x3bcbad=_0x4e21d0==null?void 0x0:_0x4e21d0[_0x10b604(0x2a9)])!=null?_0x3bcbad:On;return(_0x1aaa28=(_0x28e0f9=(await this['_httpService'][_0x10b604(0x2c8)](_0x1bef9d,{'headers':{'Content-Type':_0x10b604(0x392)}}))[_0x10b604(0x3f1)])==null?void 0x0:_0x28e0f9[_0x10b604(0x37a)])!=null?_0x1aaa28:'';}[_0x49793d(0x1fe)](_0x223f28){var _0x238af7=_0x49793d,_0x53675f,_0x33f33d;const _0x296396=this[_0x238af7(0x3dd)][_0x238af7(0x27a)](Rn),_0x2261b4=this['_configService']['getConfig'](q),_0x39d529=(_0x33f33d=(_0x53675f=_0x2261b4==null?void 0x0:_0x2261b4[_0x238af7(0x383)])!=null?_0x53675f:_0x296396)!=null?_0x33f33d:bn,_0x3ce5ba=typeof window>'u'?new URL(_0x39d529):new URL(_0x39d529,window[_0x238af7(0x196)][_0x238af7(0x19a)]);_0x3ce5ba[_0x238af7(0x14b)][_0x238af7(0x12e)](_0x238af7(0x13a),_0x223f28);const _0x11cfd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x238af7(0x196)]['search']);return _0x11cfd1[_0x238af7(0x2c8)](_0x238af7(0x2c6))&&_0x3ce5ba['searchParams']['set']('runId',_0x11cfd1[_0x238af7(0x2c8)](_0x238af7(0x2c6))),_0x3ce5ba[_0x238af7(0x3c4)]();}async[_0x49793d(0x1d5)](){var _0x4e851a=_0x49793d;const _0xe6c6de=await this['_getSessionTicket'](),_0x1b4f7e=this[_0x4e851a(0x1fe)](_0xe6c6de),_0x14950b=this['_socketService'][_0x4e851a(0x352)](_0x1b4f7e);return this[_0x4e851a(0x2db)]=_0x14950b,_0x14950b;}async[_0x49793d(0x3aa)](){var _0x11ecb1=_0x49793d,_0x5e81db,_0x4793bf;try{const _0x46d2fe=(_0x4793bf=(_0x5e81db=this[_0x11ecb1(0x308)])!=null?_0x5e81db:this['_candidateSocket'])!=null?_0x4793bf:await this[_0x11ecb1(0x1d5)]();if(_0x46d2fe){const _0x374cf9=_0x46d2fe[_0x11ecb1(0x2b9)];_0x46d2fe[_0x11ecb1(0x2b9)]=_0xebf9b=>(this[_0x11ecb1(0x397)](),_0x374cf9[_0x11ecb1(0x220)](_0x46d2fe,[_0xebf9b])),_0x46d2fe['message$'][_0x11ecb1(0x405)](_0x2e2898=>this[_0x11ecb1(0x1e9)](_0x46d2fe,_0x2e2898)),_0x46d2fe[_0x11ecb1(0x38b)][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](_0x4b1b3b=>this['_logService']['error'](_0x11ecb1(0x2a8),_0x4b1b3b)),_0x46d2fe[_0x11ecb1(0x380)][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](()=>{var _0xb9ab0f=_0x11ecb1;this[_0xb9ab0f(0x27e)](_0x46d2fe);}),_0x46d2fe['close$'][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](_0x3b896b=>{var _0x52b5cd=_0x11ecb1;this[_0x52b5cd(0x172)][_0x52b5cd(0x31d)]('[CollaborationSessionService]','socket\x20close',_0x3b896b),this[_0x52b5cd(0x1cd)]();});}}catch(_0x568696){this[_0x11ecb1(0x172)][_0x11ecb1(0x2a6)](_0x568696),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x43d4a4){var _0x400191=_0x49793d;this['_logService'][_0x400191(0x31d)](_0x400191(0x139),'socket\x20open.'),_0x43d4a4[_0x400191(0x2b9)]({'cmd':F[_0x400191(0x1d1)]}),this[_0x400191(0x397)]();}[_0x49793d(0x218)](){var _0x9ec650=_0x49793d;this[_0x9ec650(0x2c4)]=!0x1,this[_0x9ec650(0x2db)]=null,this[_0x9ec650(0x21a)][_0x9ec650(0x33d)](Te[_0x9ec650(0x3fd)]),this[_0x9ec650(0x3d3)][_0x9ec650(0x33d)](null),this[_0x9ec650(0x277)](),this[_0x9ec650(0x30b)]();}[_0x49793d(0x1cd)](){var _0x520e64=_0x49793d,_0x26f683;this[_0x520e64(0x218)](),this[_0x520e64(0x26a)]<((_0x26f683=this[_0x520e64(0x3dd)][_0x520e64(0x27a)](Pn))!=null?_0x26f683:wn)?(this['_collaborationUIEventService'][_0x520e64(0x3cf)]({'id':se[_0x520e64(0x29a)]}),this[_0x520e64(0x229)]()):this[_0x520e64(0x26e)]['emitEvent']({'id':se[_0x520e64(0x246)]});}[_0x49793d(0x229)](){var _0x587a4d=_0x49793d,_0x5e2fe9;const _0x45c9ba=this[_0x587a4d(0x26a)],_0x10cbbd=this[_0x587a4d(0x3dd)][_0x587a4d(0x27a)](q),_0x2b0a25=_0x45c9ba===0x0?0x0:((_0x5e2fe9=_0x10cbbd==null?void 0x0:_0x10cbbd[_0x587a4d(0x39d)])!=null?_0x5e2fe9:Dn)*0x2**_0x45c9ba;this[_0x587a4d(0x1b4)]=setTimeout(()=>{var _0xb0ba71=_0x587a4d;clearTimeout(this['_retryConnectingTimer']),this[_0xb0ba71(0x1b4)]=null,this[_0xb0ba71(0x3aa)]();},_0x2b0a25),this[_0x587a4d(0x26a)]+=0x1;}[_0x49793d(0x1e9)](_0x330e8c,_0x3acb36){var _0x31fc5b=_0x49793d;const {cmd:_0x193510}=_0x3acb36;_0x193510===F['HELLO']&&!this[_0x31fc5b(0x2c4)]&&(_0x330e8c[_0x31fc5b(0x3a2)]=_0x3acb36[_0x31fc5b(0x31b)][_0x31fc5b(0x3a2)],this[_0x31fc5b(0x3d3)][_0x31fc5b(0x33d)](_0x330e8c),this[_0x31fc5b(0x21a)][_0x31fc5b(0x33d)](Te[_0x31fc5b(0x17d)]),this[_0x31fc5b(0x2c4)]=!0x0,this[_0x31fc5b(0x2db)]=null),_0x193510===F[_0x31fc5b(0x224)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x49793d(0x397)](){var _0x47c548=_0x49793d,_0x5d309c;this[_0x47c548(0x30b)](),this[_0x47c548(0x23b)]=setTimeout(()=>this[_0x47c548(0x293)](),(_0x5d309c=this['_configService'][_0x47c548(0x27a)](yn))!=null?_0x5d309c:Nn);}['_sendHeartbeat'](){var _0x5d4046=_0x49793d;this[_0x5d4046(0x308)][_0x5d4046(0x2b9)]({'cmd':F['HEARTBEAT']}),this[_0x5d4046(0x3ba)]();}[_0x49793d(0x3ba)](){var _0x4da436;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4da436=this['_configService']['getConfig'](Si))!=null?_0x4da436:Ei);}['_clearHeartbeatTimer'](){var _0x4bef2a=_0x49793d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4bef2a(0x23b)]=null);}[_0x49793d(0x277)](){var _0x118e43=_0x49793d;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x118e43(0x332)]),this[_0x118e43(0x332)]=null);}};Le=er([ge(0x0,_0x385788(_0x5bf262)),ge(0x1,_0x1b7927),ge(0x2,_0x59c83a),ge(0x3,Ci),ge(0x4,_0x385788(_0x140e67)),ge(0x5,_0x385788(pe)),ge(0x6,_0xd81374(Mn))],Le);function _0x4bee(_0x3939f9,_0x55e8ef){var _0x429df5=_0x429d();return _0x4bee=function(_0x4bee0e,_0x2c8ffd){_0x4bee0e=_0x4bee0e-0x113;var _0x341c38=_0x429df5[_0x4bee0e];return _0x341c38;},_0x4bee(_0x3939f9,_0x55e8ef);}const V=[];for(let n=0x0;n<0x100;++n)V[_0x49793d(0x3bf)]((n+0x100)[_0x49793d(0x3c4)](0x10)['slice'](0x1));function tr(_0x269bfb,_0x63babf=0x0){var _0x395d1f=_0x49793d;return(V[_0x269bfb[_0x63babf+0x0]]+V[_0x269bfb[_0x63babf+0x1]]+V[_0x269bfb[_0x63babf+0x2]]+V[_0x269bfb[_0x63babf+0x3]]+'-'+V[_0x269bfb[_0x63babf+0x4]]+V[_0x269bfb[_0x63babf+0x5]]+'-'+V[_0x269bfb[_0x63babf+0x6]]+V[_0x269bfb[_0x63babf+0x7]]+'-'+V[_0x269bfb[_0x63babf+0x8]]+V[_0x269bfb[_0x63babf+0x9]]+'-'+V[_0x269bfb[_0x63babf+0xa]]+V[_0x269bfb[_0x63babf+0xb]]+V[_0x269bfb[_0x63babf+0xc]]+V[_0x269bfb[_0x63babf+0xd]]+V[_0x269bfb[_0x63babf+0xe]]+V[_0x269bfb[_0x63babf+0xf]])[_0x395d1f(0x3f6)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x484f14=_0x49793d;if(!ut){if(typeof crypto>'u'||!crypto[_0x484f14(0x362)])throw new Error(_0x484f14(0x3b6));ut=crypto[_0x484f14(0x362)][_0x484f14(0x19c)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x49793d(0x399)]&&crypto[_0x49793d(0x399)][_0x49793d(0x19c)](crypto),qt={'randomUUID':rr};function sr(_0x162388,_0x218bbe,_0x1fc0e1){var _0x68c291=_0x49793d,_0x4a4de3,_0x484484,_0x49fd28;if(qt[_0x68c291(0x399)]&&!_0x162388)return qt['randomUUID']();_0x162388=_0x162388||{};const _0x21cf26=(_0x49fd28=(_0x484484=_0x162388[_0x68c291(0x3e6)])!=null?_0x484484:(_0x4a4de3=_0x162388[_0x68c291(0x1f4)])==null?void 0x0:_0x4a4de3['call'](_0x162388))!=null?_0x49fd28:nr();if(_0x21cf26['length']<0x10)throw new Error(_0x68c291(0x381));return _0x21cf26[0x6]=_0x21cf26[0x6]&0xf|0x40,_0x21cf26[0x8]=_0x21cf26[0x8]&0x3f|0x80,tr(_0x21cf26);}const J=_0x2350c4('collaboration-client.local-cache-service');function so(_0x778f08){return'unit-cache-'+_0x778f08;}var or=Object[_0x49793d(0x2b7)],ar=Object[_0x49793d(0x2fc)],cr=(_0xe642b,_0x469dfa,_0xf28309,_0xd187b1)=>{var _0x2cd8b8=_0x49793d;for(var _0x4fdbee=_0xd187b1>0x1?void 0x0:_0xd187b1?ar(_0x469dfa,_0xf28309):_0x469dfa,_0x3dc539=_0xe642b[_0x2cd8b8(0x12f)]-0x1,_0x519963;_0x3dc539>=0x0;_0x3dc539--)(_0x519963=_0xe642b[_0x3dc539])&&(_0x4fdbee=(_0xd187b1?_0x519963(_0x469dfa,_0xf28309,_0x4fdbee):_0x519963(_0x4fdbee))||_0x4fdbee);return _0xd187b1&&_0x4fdbee&&or(_0x469dfa,_0xf28309,_0x4fdbee),_0x4fdbee;},dt=(_0x11ae3c,_0xea54c7)=>(_0x2ff9f6,_0x5d5376)=>_0xea54c7(_0x2ff9f6,_0x5d5376,_0x11ae3c);function hr(_0x4901ef){var _0x4f31b9=_0x49793d;const {unitID:_0x57a92e,mutations:_0x1ece4c}=_0x4901ef;return{'unitId':_0x57a92e,'subUnitId':_0x1ece4c[0x0]['params'][_0x4f31b9(0x313)]};}let it=class{constructor(_0x1a5b1c,_0x10362a,_0x2804a3){var _0x36411d=_0x49793d;this[_0x36411d(0x20f)]=_0x1a5b1c,this[_0x36411d(0x3b4)]=_0x10362a,this['_instanceService']=_0x2804a3;}[_0x49793d(0x2f8)](_0x11a164){var _0x1c175b=_0x49793d,_0x378765,_0x13532c,_0xecc3d5,_0x17b4e3;const _0x1a6060=this['_injector'][_0x1c175b(0x2c8)](_0x1f79cd),{unitId:_0x12c150,subUnitId:_0x2b4acd}=hr(_0x11a164),_0x138da4=_0x1a6060==null?void 0x0:_0x1a6060[_0x1c175b(0x1ed)](_0x12c150)[_0x1c175b(0x358)](),_0x531c65=(_0x13532c=(_0x378765=this[_0x1c175b(0x23e)][_0x1c175b(0x371)](_0x12c150))==null?void 0x0:_0x378765['getActiveSheet']())==null?void 0x0:_0x13532c[_0x1c175b(0x2d4)]();if(_0x138da4[_0x1c175b(0x12f)]===0x0||!_0x12c150||!_0x2b4acd)return;const _0x3e49d8=[{'id':_0x9a15cb['id'],'params':{'unitId':_0x12c150,'subUnitId':_0x531c65,'selections':_0x335a02[_0x1c175b(0x1c8)](_0x138da4)}}],_0x1d0172=this['_transformService'][_0x1c175b(0x1c5)](_0x11a164,_0x3e49d8);if(!_0x455619(_0x1d0172))throw _0x1d0172[_0x1c175b(0x2a6)];const _0x5dd221=(_0x17b4e3=(_0xecc3d5=_0x1d0172[_0x1c175b(0x34a)][0x0])==null?void 0x0:_0xecc3d5[_0x1c175b(0x3b7)])==null?void 0x0:_0x17b4e3[_0x1c175b(0x1e3)];if(Array[_0x1c175b(0x23d)](_0x5dd221)&&_0x5dd221[_0x1c175b(0x12f)]){if(_0x5dd221[_0x1c175b(0x12f)]===_0x3e49d8[0x0][_0x1c175b(0x3b7)][_0x1c175b(0x1e3)]['length']&&_0x5dd221[_0x1c175b(0x28f)]((_0x51546d,_0x500e01)=>_0x24778b[_0x1c175b(0x177)](_0x51546d[_0x1c175b(0x234)],_0x3e49d8[0x0]['params'][_0x1c175b(0x1e3)][_0x500e01][_0x1c175b(0x234)])))return;this[_0x1c175b(0x20f)][_0x1c175b(0x2c8)](_0x2f1659)[_0x1c175b(0x247)](_0x9a15cb['id'],{'unitId':_0x12c150,'subUnitId':_0x531c65,'selections':_0x5dd221});}}};it=cr([dt(0x0,_0x385788(_0x5bf262)),dt(0x1,_0x36f829),dt(0x2,_0x5d0af3)],it);const ht=_0x2350c4(_0x49793d(0x303));var bi=(_0x9b78c5=>(_0x9b78c5[_0x9b78c5[_0x49793d(0x39f)]=0x0]=_0x49793d(0x39f),_0x9b78c5[_0x9b78c5['OTHER_CLIENTS_EDITING']=0x1]=_0x49793d(0x170),_0x9b78c5))(bi||{});const _r=new Set([_0x58e021['id']]);function zt(_0x1042bf,_0x56fda2,_0x291646,_0x56058a,_0x16b450){var _0x6899df=_0x49793d,_0x244e2a,_0x41fef6,_0x2153f5,_0x3655c1;const _0xc2ead1=[];for(const _0x342c2a of _0x1042bf)if(_r[_0x6899df(0x408)](_0x342c2a['id'])){if(_0xc2ead1['length']>0x0)break;_0xc2ead1[_0x6899df(0x3bf)](_0x342c2a);break;}else _0xc2ead1[_0x6899df(0x3bf)](_0x342c2a);const _0x1af0e1=(_0x41fef6=(_0x244e2a=_0x16b450[_0x6899df(0x3fc)]())==null?void 0x0:_0x244e2a[_0x6899df(0x211)])!=null?_0x41fef6:'unknown',_0x1a55aa=(_0x3655c1=(_0x2153f5=_0x16b450[_0x6899df(0x3fc)]())==null?void 0x0:_0x2153f5['memberID'])!=null?_0x3655c1:_0x6899df(0x283);return{'changeset':{'unitID':_0x56fda2,'type':_0x43649d(_0x291646[_0x6899df(0x2c3)](_0x56fda2)),'baseRev':_0x56058a[_0x6899df(0x115)](_0x56fda2),'revision':0x0,'userID':_0x1af0e1,'memberID':_0x1a55aa,'mutations':_0xc2ead1},'pendingMutations':_0x1042bf['slice'](_0xc2ead1[_0x6899df(0x12f)])};}function lr(_0xc4390b,_0x24c4af,_0x4fa2f2,_0x423a1f,_0xb9c7b7){var _0x17f396=_0x49793d,_0x5ce91f,_0x1a17bb,_0x24ef4b,_0x2d4164;const _0x5a4928=[_0xc4390b[_0x17f396(0x27b)]((_0x2bbd7a,_0x119cb8)=>{var _0x23b4cd=_0x17f396,_0x3613b0;const {id:_0x303d96}=_0x2bbd7a,{id:_0x2c3671,type:_0x1a0077}=_0x119cb8,_0x31a469=(_0x3613b0=_0x2bbd7a[_0x23b4cd(0x3b7)])!=null?_0x3613b0:{'actions':null},_0x34e815=_0x119cb8['params'];if(_0x303d96&&_0x303d96!==_0x2c3671)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x303d96+_0x23b4cd(0x3b0)+_0x2c3671+'.');return{..._0x2bbd7a,'id':_0x2c3671,'type':_0x1a0077,'params':{'unitId':_0x34e815['unitId'],'textRanges':_0x34e815[_0x23b4cd(0x1bc)],'actions':_0x24175c[_0x23b4cd(0x27c)](_0x31a469[_0x23b4cd(0x386)],_0x34e815[_0x23b4cd(0x386)])}};},{})],_0x3f0677=(_0x1a17bb=(_0x5ce91f=_0xb9c7b7[_0x17f396(0x3fc)]())==null?void 0x0:_0x5ce91f[_0x17f396(0x211)])!=null?_0x1a17bb:'unknown',_0x3c8ed1=(_0x2d4164=(_0x24ef4b=_0xb9c7b7[_0x17f396(0x3fc)]())==null?void 0x0:_0x24ef4b[_0x17f396(0x3a2)])!=null?_0x2d4164:_0x17f396(0x283);return{'changeset':{'unitID':_0x24c4af,'type':_0x43649d(_0x4fa2f2['getUnitType'](_0x24c4af)),'baseRev':_0x423a1f[_0x17f396(0x115)](_0x24c4af),'revision':0x0,'userID':_0x3f0677,'memberID':_0x3c8ed1,'mutations':_0x5a4928},'pendingMutations':[]};}function Oi(_0x471c38,_0x5be9e5){var _0x24a0f0=_0x49793d;const _0x78f0=new _0x41cacf(0x1);return setTimeout(()=>_0x78f0[_0x24a0f0(0x33d)](_0x5be9e5),_0x471c38),_0x78f0[_0x24a0f0(0x1c6)]()[_0x24a0f0(0x357)](_0x11ee62(0x1));}const ur={'id':_0xcf1ae9['id'],'type':_0x382451['MUTATION'],'params':{}};var dr=Object[_0x49793d(0x2b7)],fr=Object[_0x49793d(0x2fc)],Re=(_0x2a0de4,_0x31719a,_0x4f902b,_0x1bb1e5)=>{var _0x202134=_0x49793d;for(var _0x1e3b74=_0x1bb1e5>0x1?void 0x0:_0x1bb1e5?fr(_0x31719a,_0x4f902b):_0x31719a,_0x6ff581=_0x2a0de4[_0x202134(0x12f)]-0x1,_0x50fc2f;_0x6ff581>=0x0;_0x6ff581--)(_0x50fc2f=_0x2a0de4[_0x6ff581])&&(_0x1e3b74=(_0x1bb1e5?_0x50fc2f(_0x31719a,_0x4f902b,_0x1e3b74):_0x50fc2f(_0x1e3b74))||_0x1e3b74);return _0x1bb1e5&&_0x1e3b74&&dr(_0x31719a,_0x4f902b,_0x1e3b74),_0x1e3b74;},A=(_0x380535,_0x18242a)=>(_0x5de825,_0x4c9ec3)=>_0x18242a(_0x5de825,_0x4c9ec3,_0x380535),yi=(_0x67f4ae=>(_0x67f4ae[_0x49793d(0x18a)]=_0x49793d(0x41b),_0x67f4ae[_0x49793d(0x16f)]='synced',_0x67f4ae[_0x49793d(0x126)]=_0x49793d(0x300),_0x67f4ae[_0x49793d(0x3d5)]=_0x49793d(0x3d7),_0x67f4ae[_0x49793d(0x40c)]='awaiting_with_pending',_0x67f4ae[_0x49793d(0x1c3)]='fetch_missing',_0x67f4ae[_0x49793d(0x294)]='conflict',_0x67f4ae[_0x49793d(0x3fd)]=_0x49793d(0x149),_0x67f4ae))(yi||{});const Ni=0xea60;class be{constructor(_0x44e5b5,_0x13fb55,_0x55033a,_0xa5c1f8,_0x5447f0,_0x16b46c,_0x41f02f,_0x205705,_0x42af38){var _0x28f111=_0x49793d;N(this,_0x28f111(0x222),null),N(this,_0x28f111(0x1da),[]),(this[_0x28f111(0x13e)]=_0x44e5b5,this[_0x28f111(0x1a8)]=_0x13fb55,this[_0x28f111(0x327)]=_0x5447f0,this[_0x28f111(0x15b)]=_0x16b46c,this[_0x28f111(0x160)]=_0x41f02f,this['_revisionService']=_0x205705,this[_0x28f111(0x38a)]=_0x42af38,this['_awaitingChangeset']=_0x55033a,this[_0x28f111(0x1da)]=_0xa5c1f8);}[_0x49793d(0x3da)](_0x1413de){var _0x468cae=_0x49793d;const _0x1790ff=this[_0x468cae(0x306)][_0x468cae(0x115)](this[_0x468cae(0x13e)]);return _0x1413de['revision']>_0x1790ff+0x1?(this['_handler'][_0x468cae(0x171)]({'from':_0x1790ff,'to':_0x1413de['revision']-0x1}),!0x0):!0x1;}[_0x49793d(0x38f)](_0x4f7acd){var _0x580a78=_0x49793d;this[_0x580a78(0x160)][_0x580a78(0x22b)](this[_0x580a78(0x13e)],_0x4f7acd);}[_0x49793d(0x388)](_0x524417){var _0x1702d5=_0x49793d,_0x4daa5d,_0x1c7619;(_0x1c7619=(_0x4daa5d=this['_handler'])[_0x1702d5(0x29e)])==null||_0x1c7619['call'](_0x4daa5d,_0x524417);}[_0x49793d(0x1cf)](_0x3b6a19){var _0x3e6cd5=_0x49793d,_0x139fac,_0x17e6cd;return(_0x17e6cd=(_0x139fac=this[_0x3e6cd5(0x327)])[_0x3e6cd5(0x15f)])==null?void 0x0:_0x17e6cd[_0x3e6cd5(0x1bd)](_0x139fac,_0x3b6a19);}[_0x49793d(0x179)](_0x182be5){var _0x27e6fc=_0x49793d,_0x2b506c,_0x21113e;return(_0x21113e=(_0x2b506c=this[_0x27e6fc(0x327)])[_0x27e6fc(0x2cb)])==null?void 0x0:_0x21113e[_0x27e6fc(0x1bd)](_0x2b506c,_0x182be5);}[_0x49793d(0x1f2)](_0x4bf720){var _0x41ef44=_0x49793d,_0x3811bd,_0xb3656c,_0x3bdc88;return(_0x3bdc88=(_0xb3656c=(_0x3811bd=this[_0x41ef44(0x327)])[_0x41ef44(0x120)])==null?void 0x0:_0xb3656c[_0x41ef44(0x1bd)](_0x3811bd,_0x4bf720))!=null?_0x3bdc88:_0x4bf720;}[_0x49793d(0x3ce)](_0x399783){var _0x1013b3=_0x49793d,_0x539245,_0x58a9d8,_0xae97d8;return(_0xae97d8=(_0x58a9d8=(_0x539245=this[_0x1013b3(0x327)])[_0x1013b3(0x3c9)])==null?void 0x0:_0x58a9d8[_0x1013b3(0x1bd)](_0x539245,_0x399783))!=null?_0xae97d8:_0x399783;}[_0x49793d(0x1d8)](_0x521cbf){var _0x788cab=_0x49793d,_0x32a8ad,_0x452baf;if(this[_0x788cab(0x1a8)]===Q[_0x788cab(0x281)]){const {unitID:_0x1e7ed8,mutations:_0x5e0015,memberID:_0x4bcc47}=_0x521cbf,_0x53d32e=_0x5e0015[0x0]['params'][_0x788cab(0x1bc)];Array[_0x788cab(0x23d)](_0x53d32e)&&_0x53d32e[_0x788cab(0x12f)]>0x0&&((_0x452baf=(_0x32a8ad=this[_0x788cab(0x327)])[_0x788cab(0x3e9)])==null||_0x452baf[_0x788cab(0x1bd)](_0x32a8ad,{'unitID':_0x1e7ed8,'memberID':_0x4bcc47,'textRanges':_0x53d32e}));}}['_updateLocalCache'](){var _0x446a76=_0x49793d,_0x5031fa;(_0x5031fa=this[_0x446a76(0x38a)])==null||_0x5031fa[_0x446a76(0x137)](this[_0x446a76(0x13e)],this[_0x446a76(0x1a8)],this['_awaitingChangeset'],this[_0x446a76(0x1da)]);}['_getCurrentRevision'](){var _0x5ec1af=_0x49793d;return this[_0x5ec1af(0x306)][_0x5ec1af(0x115)](this['unitID']);}[_0x49793d(0x129)](){var _0x50e5e3=_0x49793d;this[_0x50e5e3(0x306)][_0x50e5e3(0x338)](this['unitID']);}[_0x49793d(0x353)](_0xa5fe67){var _0x5e99d7=_0x49793d,_0x862788;let _0x2395f2=this[_0x5e99d7(0x1f2)](_0xa5fe67);_0x2395f2=this[_0x5e99d7(0x3ce)](_0x2395f2);const _0x301c32=_0xb7f461(_0x2395f2[_0x5e99d7(0x261)],this[_0x5e99d7(0x15b)],{'fromCollab':!0x0});if(!_0x301c32[_0x5e99d7(0x34d)])throw _0x301c32[_0x5e99d7(0x2a6)]instanceof Error?_0x301c32[_0x5e99d7(0x2a6)]:new Error((_0x862788=_0x301c32['error'])!=null?_0x862788:_0x5e99d7(0x28b));this['_transformIMECache'](_0x2395f2),this['_transformStateCache'](_0x2395f2),this['_transformUndoredo'](_0xa5fe67),this[_0x5e99d7(0x388)](_0x2395f2),this[_0x5e99d7(0x1d8)](_0x2395f2),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x25f495,_0x3ac75d,_0x48bff5,_0x1db201,_0x2e2dfb,_0x35f509,_0x601273,_0x4e9d1f,_0x1285ca,_0x7d153f){var _0x39e6eb=_0x49793d;super(_0x25f495,_0x3ac75d,null,[],_0x48bff5,_0x601273,_0x35f509,_0x1db201,_0x7d153f),N(this,_0x39e6eb(0x32c),_0x39e6eb(0x186)),(this['_injector']=_0x2e2dfb,this[_0x39e6eb(0x172)]=_0x4e9d1f,this[_0x39e6eb(0x3b4)]=_0x1285ca,this['localCacheService']=_0x7d153f);}['appendMutation'](_0x5d4d17){var _0x10fe69=_0x49793d;const _0x17fe19=this[_0x10fe69(0x20f)]['createInstance'](oe,this['unitID'],this[_0x10fe69(0x1a8)],[_0x5d4d17],this[_0x10fe69(0x327)]);return _0x17fe19['_schedule'](),_0x17fe19[_0x10fe69(0x232)](),_0x17fe19;}[_0x49793d(0x18f)](_0x520094){var _0x2b42ae=_0x49793d;if(this[_0x2b42ae(0x3da)](_0x520094))return this[_0x2b42ae(0x20f)][_0x2b42ae(0x3a6)](te,this[_0x2b42ae(0x13e)],this[_0x2b42ae(0x1a8)],null,[],null,[_0x520094],this[_0x2b42ae(0x327)]);try{const _0x14a246=this[_0x2b42ae(0x3b4)]['transformMutationsWithChangeset'](_0x520094,[ur]);if(_0x455619(_0x14a246)){const {c1Prime:_0xaf256d}=_0x14a246;return this[_0x2b42ae(0x353)](_0xaf256d),this;}throw _0x14a246['error'];}catch(_0x388af6){return this['_logService'][_0x2b42ae(0x2a6)](_0x388af6),this['_onConflict'](!0x1);}}[_0x49793d(0x127)](_0x1ef976){var _0x107c36=_0x49793d;return this['_injector']['createInstance'](de,this['unitID'],this[_0x107c36(0x1a8)],null,[],this['_handler'],_0x1ef976);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x49793d(0x20c)](){var _0x2d74ee=_0x49793d;throw new Error(_0x2d74ee(0x226));}[_0x49793d(0x14d)](){return this;}[_0x49793d(0x3de)](){var _0x55f59c=_0x49793d;return this[_0x55f59c(0x20f)]['createInstance'](fe,this[_0x55f59c(0x13e)],this[_0x55f59c(0x1a8)],null,[],this[_0x55f59c(0x327)]);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x2e6)](){var _0x4bf8fc=_0x49793d;throw new Error(_0x4bf8fc(0x114));}[_0x49793d(0x19f)](){var _0x233d8e=_0x49793d;const _0x55281a=this[_0x233d8e(0x306)]['getCurrentRevOfUnit'](this[_0x233d8e(0x13e)]);return this[_0x233d8e(0x327)][_0x233d8e(0x171)]({'from':_0x55281a,'to':0x0}),this[_0x233d8e(0x20f)]['createInstance'](te,this[_0x233d8e(0x13e)],this[_0x233d8e(0x1a8)],null,[],null,[],this[_0x233d8e(0x327)]);}};De=Re([A(0x3,_0x385788(_0x152bc0)),A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x5583fc),A(0x6,_0x2f1659),A(0x7,_0x1b7927),A(0x8,_0x36f829),A(0x9,_0xd81374(J))],De);let oe=class extends be{constructor(_0x48d87c,_0x47c642,_0xd94943,_0x1b050c,_0xb8c290,_0x2a1621,_0x1e186d,_0x43b7b9,_0x53852a,_0x2aa14a,_0x117847,_0x234d3f,_0x27d803,_0x2f9f19){var _0x1354e5=_0x49793d;super(_0x48d87c,_0x47c642,null,_0xd94943,_0x1b050c,_0x53852a,_0x27d803,_0x2a1621,_0x2f9f19),N(this,_0x1354e5(0x32c),_0x1354e5(0x300)),N(this,_0x1354e5(0x275),null),N(this,_0x1354e5(0x324),null),(this[_0x1354e5(0x20f)]=_0xb8c290,this[_0x1354e5(0x202)]=_0x1e186d,this[_0x1354e5(0x172)]=_0x43b7b9,this['_configService']=_0x2aa14a,this[_0x1354e5(0x3b4)]=_0x117847,this[_0x1354e5(0x3fa)]=_0x234d3f);}[_0x49793d(0x3df)](_0x407252){var _0x37db47=_0x49793d;return this[_0x37db47(0x1da)][_0x37db47(0x3bf)](_0x407252),this[_0x37db47(0x232)](),this;}[_0x49793d(0x18f)](_0x13c9cf){var _0x862c94=_0x49793d;if(this[_0x862c94(0x3da)](_0x13c9cf))return this[_0x862c94(0x372)](),this[_0x862c94(0x20f)][_0x862c94(0x3a6)](te,this[_0x862c94(0x13e)],this[_0x862c94(0x1a8)],null,this[_0x862c94(0x1da)],null,[_0x13c9cf],this['_handler']);try{const _0x1935b2=this['_transformService'][_0x862c94(0x1c5)](_0x13c9cf,this['_pendingMutations']);if(_0x455619(_0x1935b2)){const {c1Prime:_0x394f5a,m2Prime:_0x2215c4}=_0x1935b2;this[_0x862c94(0x353)](_0x394f5a);const _0x334f12=this['_injector'][_0x862c94(0x3a6)](oe,this['unitID'],this[_0x862c94(0x1a8)],_0x2215c4,this[_0x862c94(0x327)]);this[_0x862c94(0x372)]();const _0x4497c3=new Date()[_0x862c94(0x1e2)](),_0x1ce42b=this['_scheduleCompleteTimestamp']?Math[_0x862c94(0x351)](this['_scheduleCompleteTimestamp']-_0x4497c3,0x0):this['_getSendChangesetTimeout']();return _0x334f12[_0x862c94(0x3d2)](_0x1ce42b),_0x334f12;}throw _0x1935b2[_0x862c94(0x2a6)];}catch(_0x4333cb){return this[_0x862c94(0x172)][_0x862c94(0x2a6)](_0x4333cb),this[_0x862c94(0x127)](!0x1);}}[_0x49793d(0x3ea)](){var _0xddf4c9=_0x49793d;throw new Error(_0xddf4c9(0x3ad));}[_0x49793d(0x20c)](){var _0x5d69cd=_0x49793d;throw new Error(_0x5d69cd(0x3b9));}[_0x49793d(0x14d)](){return this;}['toggleOffline'](){var _0x45a71b=_0x49793d;return this[_0x45a71b(0x372)](),this[_0x45a71b(0x20f)]['createInstance'](fe,this[_0x45a71b(0x13e)],this['type'],null,this[_0x45a71b(0x1da)],this[_0x45a71b(0x327)]);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x3d2)](_0x3281ee){var _0x546283=_0x49793d;const _0x5f54cf=_0x3281ee!=null?_0x3281ee:this[_0x546283(0x3b8)]();this[_0x546283(0x275)]=new Date()['getTime']()+_0x5f54cf,this['_sendingTimer']=setTimeout(()=>{var _0x4792f0=_0x546283;this[_0x4792f0(0x372)]();let _0x49fdb0=null;switch(this['type']){case Q[_0x4792f0(0x305)]:{_0x49fdb0=zt(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this['_revisionService'],this[_0x4792f0(0x202)]);break;}case Q['UNIVER_DOC']:{this[_0x4792f0(0x1da)][_0x4792f0(0x28f)](_0x293a10=>_0x293a10['id']===_0x5521ba['id'])?_0x49fdb0=lr(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this[_0x4792f0(0x306)],this[_0x4792f0(0x202)]):_0x49fdb0=zt(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this[_0x4792f0(0x306)],this[_0x4792f0(0x202)]);break;}default:throw new Error(_0x4792f0(0x414)+this['type']+_0x4792f0(0x2d3));}const {changeset:_0x4a4f8b,pendingMutations:_0x3c55f1}=_0x49fdb0;this[_0x4792f0(0x327)][_0x4792f0(0x27f)](_0x4a4f8b);const _0x10db51=_0x3c55f1[_0x4792f0(0x12f)]?this[_0x4792f0(0x20f)][_0x4792f0(0x3a6)](ae,this['unitID'],this[_0x4792f0(0x1a8)],_0x4a4f8b,_0x3c55f1,this[_0x4792f0(0x327)],void 0x0):this['_injector']['createInstance'](ue,this['unitID'],this[_0x4792f0(0x1a8)],_0x4a4f8b,this[_0x4792f0(0x327)]);_0x10db51['_updateLocalCache'](),this[_0x4792f0(0x327)]['onStateChange'](this,_0x10db51);},_0x5f54cf);}[_0x49793d(0x3b8)](){var _0x46e3c9=_0x49793d,_0x4bc4a4;const _0x40921e=this[_0x46e3c9(0x3dd)][_0x46e3c9(0x27a)](q);return(_0x4bc4a4=_0x40921e==null?void 0x0:_0x40921e['sendChangesetTimeout'])!=null?_0x4bc4a4:Cn;}[_0x49793d(0x2e6)](){var _0x11478f=_0x49793d;throw new Error(_0x11478f(0x23c));}[_0x49793d(0x372)](){var _0x3c591f=_0x49793d;this[_0x3c591f(0x324)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3c591f(0x324)]=null);}[_0x49793d(0x127)](_0x1fec5d){var _0xc156b7=_0x49793d;return this['_clearScheduledTask'](),this[_0xc156b7(0x20f)][_0xc156b7(0x3a6)](de,this['unitID'],this['type'],null,this[_0xc156b7(0x1da)],this[_0xc156b7(0x327)],_0x1fec5d);}};oe=Re([A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x385788(_0x152bc0)),A(0x6,_0x385788(xe)),A(0x7,_0x1b7927),A(0x8,_0x2f1659),A(0x9,_0x59c83a),A(0xa,_0x36f829),A(0xb,_0x5d0af3),A(0xc,_0x5583fc),A(0xd,_0xd81374(J))],oe);let ue=class extends be{constructor(_0x599595,_0x410f6c,_0x55a6d5,_0x3f328c,_0x5502ba,_0x35a645,_0x34b728,_0x351b35,_0x2498cf,_0x3d9368,_0x149133){var _0x206970=_0x49793d;super(_0x599595,_0x410f6c,_0x55a6d5,[],_0x3f328c,_0x34b728,_0x3d9368,_0x35a645,_0x149133),N(this,_0x206970(0x32c),_0x206970(0x3d7)),N(this,'_resendTimeout',0x0),N(this,_0x206970(0x25a)),N(this,_0x206970(0x3c0)),(this[_0x206970(0x20f)]=_0x5502ba,this['_logService']=_0x351b35,this['_transformService']=_0x2498cf);}['appendMutation'](_0x4f8385){var _0x3ef6ff=_0x49793d;this[_0x3ef6ff(0x372)]();const _0x3053e1=this[_0x3ef6ff(0x20f)]['createInstance'](ae,this[_0x3ef6ff(0x13e)],this[_0x3ef6ff(0x1a8)],this[_0x3ef6ff(0x222)],[_0x4f8385],this[_0x3ef6ff(0x327)],this[_0x3ef6ff(0x25a)]);return _0x3053e1[_0x3ef6ff(0x232)](),_0x3053e1;}[_0x49793d(0x18f)](_0x1880e4){var _0x2bb8c4=_0x49793d;if(this['_checkMissing'](_0x1880e4))return this[_0x2bb8c4(0x372)](),this[_0x2bb8c4(0x20f)][_0x2bb8c4(0x3a6)](te,this[_0x2bb8c4(0x13e)],this['type'],this[_0x2bb8c4(0x222)],[],null,[_0x1880e4],this[_0x2bb8c4(0x327)]);try{const _0x46ded2=this[_0x2bb8c4(0x3b4)][_0x2bb8c4(0x192)]([_0x1880e4],[this['_awaitingChangeset']],!0x1);if(_0x1af738(_0x46ded2)){const {c1Prime:_0xf0118b,c2Prime:_0x47a8e4}=_0x46ded2;this['_executeRemoteChangeset'](_0xf0118b[0x0]),_0x47a8e4[0x0][_0x2bb8c4(0x242)]=this[_0x2bb8c4(0x3f5)](),this[_0x2bb8c4(0x372)]();const _0x1cdc32=this[_0x2bb8c4(0x20f)][_0x2bb8c4(0x3a6)](ue,this[_0x2bb8c4(0x13e)],this[_0x2bb8c4(0x1a8)],_0x47a8e4[0x0],this[_0x2bb8c4(0x327)]);return _0x1cdc32[_0x2bb8c4(0x232)](),_0x1cdc32;}return this[_0x2bb8c4(0x127)](!0x1);}catch(_0x4e7ee5){return this[_0x2bb8c4(0x172)][_0x2bb8c4(0x2a6)](_0x4e7ee5),this[_0x2bb8c4(0x127)](!0x1);}}[_0x49793d(0x3ea)](_0x34fe1a){var _0x26f8c0=_0x49793d;this[_0x26f8c0(0x372)]();const _0x563c46=this[_0x26f8c0(0x306)][_0x26f8c0(0x115)](this['unitID']);if(_0x34fe1a['revision']<_0x563c46-0x1)return this;if(this['_checkMissing'](_0x34fe1a))return this[_0x26f8c0(0x20f)][_0x26f8c0(0x3a6)](te,this['unitID'],this[_0x26f8c0(0x1a8)],null,[],this[_0x26f8c0(0x222)],[],this[_0x26f8c0(0x327)]);this[_0x26f8c0(0x129)]();const _0x130a95=this[_0x26f8c0(0x20f)]['createInstance'](De,this[_0x26f8c0(0x13e)],this['type'],this[_0x26f8c0(0x327)]);return _0x130a95['_updateLocalCache'](),_0x130a95;}['onRemoteRej'](_0xa5ce8a){var _0x38ed74=_0x49793d;return this[_0x38ed74(0x127)](!!(_0xa5ce8a!=null&&_0xa5ce8a[_0x38ed74(0x401)]));}[_0x49793d(0x14d)](_0x327f39){var _0x500779=_0x49793d;return this[_0x500779(0x28d)]>Ni?this['toggleOffline']():(this[_0x500779(0x25a)]=Oi(this[_0x500779(0x28d)],{'timeout':this[_0x500779(0x28d)],'reqId':_0x327f39['reqId']}),this[_0x500779(0x3c0)]=this[_0x500779(0x25a)]['subscribe'](({reqId:_0x2b20bc,timeout:_0x305948})=>{var _0x27f961=_0x500779;this[_0x27f961(0x22f)](_0x2b20bc,_0x305948);}),this);}[_0x49793d(0x3de)](){var _0x1afe1f=_0x49793d;return this['_clearScheduledTask'](),this['_injector'][_0x1afe1f(0x3a6)](fe,this[_0x1afe1f(0x13e)],this[_0x1afe1f(0x1a8)],this[_0x1afe1f(0x222)],[],this[_0x1afe1f(0x327)]);}['toggleOnline'](){return this;}[_0x49793d(0x2e6)](){var _0x5e42f7=_0x49793d;this[_0x5e42f7(0x327)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x49793d(0x127)](_0x3c7ab0){var _0x48e858=_0x49793d;return this['_clearScheduledTask'](),this[_0x48e858(0x20f)]['createInstance'](de,this[_0x48e858(0x13e)],this['type'],this[_0x48e858(0x222)],[],this[_0x48e858(0x327)],_0x3c7ab0);}[_0x49793d(0x22f)](_0xf8e5af,_0x2169bb){var _0x2c0ac2=_0x49793d,_0xbbcc29;_0xf8e5af===((_0xbbcc29=this['_awaitingChangeset'])==null?void 0x0:_0xbbcc29[_0x2c0ac2(0x285)])&&(this['resend'](),this[_0x2c0ac2(0x28d)]=_0x2169bb===0x0?0x3e8:_0x2169bb*0x2);}['_clearScheduledTask'](){var _0x3e5591=_0x49793d,_0x1e1508;(_0x1e1508=this[_0x3e5591(0x3c0)])==null||_0x1e1508[_0x3e5591(0x201)](),this[_0x3e5591(0x28d)]=0x0;}};ue=Re([A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x385788(_0x152bc0)),A(0x6,_0x2f1659),A(0x7,_0x1b7927),A(0x8,_0x36f829),A(0x9,_0x5583fc),A(0xa,_0xd81374(J))],ue);let ae=class extends be{constructor(_0x54ade6,_0x42e6d9,_0x1b4f35,_0x283d28,_0x12a57f,_0x4435f6,_0x37e39d,_0x438d08,_0x4920c8,_0x48be05,_0x288e9f,_0x4fbc4b,_0x195044){var _0x441363=_0x49793d;super(_0x54ade6,_0x42e6d9,_0x1b4f35,_0x283d28,_0x12a57f,_0x4920c8,_0x4fbc4b,_0x438d08,_0x195044),N(this,_0x441363(0x32c),_0x441363(0x25f)),N(this,_0x441363(0x28d),0x0),N(this,_0x441363(0x25a)),N(this,_0x441363(0x3c0)),(this[_0x441363(0x20f)]=_0x37e39d,this[_0x441363(0x172)]=_0x48be05,this['_transformService']=_0x288e9f,this[_0x441363(0x419)]=_0x195044,_0x4435f6&&(this[_0x441363(0x25a)]=_0x4435f6,this[_0x441363(0x3c0)]=this[_0x441363(0x25a)][_0x441363(0x405)](({reqId:_0x1cb949,timeout:_0x1d6ba7})=>{var _0x469552=_0x441363;this[_0x469552(0x22f)](_0x1cb949,_0x1d6ba7);})));}[_0x49793d(0x3df)](_0x2133c3){var _0xce7f62=_0x49793d;return this[_0xce7f62(0x1da)][_0xce7f62(0x3bf)](_0x2133c3),this;}[_0x49793d(0x18f)](_0x50a75d){var _0x959e99=_0x49793d;if(this[_0x959e99(0x3da)](_0x50a75d))return this[_0x959e99(0x372)](),this['_injector']['createInstance'](te,this[_0x959e99(0x13e)],this[_0x959e99(0x1a8)],this[_0x959e99(0x222)],this[_0x959e99(0x1da)],null,[_0x50a75d],this[_0x959e99(0x327)]);try{const _0x3c4d78=this[_0x959e99(0x3b4)][_0x959e99(0x192)]([_0x50a75d],[this[_0x959e99(0x222)]],!0x1);if(_0x1af738(_0x3c4d78)){const {c1Prime:_0x513ee9,c2Prime:_0x461195}=_0x3c4d78,_0x4a1364=this[_0x959e99(0x3b4)][_0x959e99(0x1c5)](_0x513ee9[0x0],this['_pendingMutations']);if(_0x455619(_0x4a1364)){const {c1Prime:_0x1b6d40,m2Prime:_0x22b106}=_0x4a1364;return this[_0x959e99(0x353)](_0x1b6d40),_0x461195[0x0][_0x959e99(0x242)]=this[_0x959e99(0x3f5)](),this[_0x959e99(0x372)](),this[_0x959e99(0x20f)][_0x959e99(0x3a6)](ae,this[_0x959e99(0x13e)],this[_0x959e99(0x1a8)],_0x461195[0x0],_0x22b106,this[_0x959e99(0x327)],void 0x0);}throw _0x4a1364[_0x959e99(0x2a6)];}throw _0x3c4d78['error'];}catch(_0x27bc97){return this[_0x959e99(0x172)][_0x959e99(0x2a6)](_0x27bc97),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4643bf){var _0x2bc661=_0x49793d;if(this[_0x2bc661(0x372)](),this['_checkMissing'](_0x4643bf))return this[_0x2bc661(0x20f)][_0x2bc661(0x3a6)](te,this[_0x2bc661(0x13e)],this['type'],null,this['_pendingMutations'],this[_0x2bc661(0x222)],[],this[_0x2bc661(0x327)]);this['_incrementRevisionNumber']();const _0x4166d9=this['_injector'][_0x2bc661(0x3a6)](oe,this[_0x2bc661(0x13e)],this[_0x2bc661(0x1a8)],this[_0x2bc661(0x1da)],this['_handler']);return _0x4166d9[_0x2bc661(0x3d2)](),_0x4166d9[_0x2bc661(0x232)](),_0x4166d9;}[_0x49793d(0x20c)](_0x4af5b6){var _0x521fe7=_0x49793d;return this['_onConflict'](!!(_0x4af5b6!=null&&_0x4af5b6[_0x521fe7(0x401)]));}['onRemoteRetry'](_0x4854a9){var _0x44928a=_0x49793d;return this['_resendTimeout']>Ni?this[_0x44928a(0x3de)]():(this['_resendTimer']=Oi(this[_0x44928a(0x28d)],{'timeout':this['_resendTimeout'],'reqId':_0x4854a9[_0x44928a(0x285)]}),this[_0x44928a(0x3c0)]=this[_0x44928a(0x25a)][_0x44928a(0x405)](({reqId:_0x101953,timeout:_0x53c43b})=>{var _0x442ea0=_0x44928a;this[_0x442ea0(0x22f)](_0x101953,_0x53c43b);}),this);}[_0x49793d(0x3de)](){var _0x3289ca=_0x49793d;return this[_0x3289ca(0x372)](),this[_0x3289ca(0x20f)][_0x3289ca(0x3a6)](fe,this['unitID'],this[_0x3289ca(0x1a8)],this[_0x3289ca(0x222)],this['_pendingMutations'],this[_0x3289ca(0x327)]);}[_0x49793d(0x345)](){return this;}['resend'](){var _0x59452e=_0x49793d;this['_handler'][_0x59452e(0x27f)](this[_0x59452e(0x222)]);}['_onConflict'](_0x120639){var _0x47d95d=_0x49793d;return this['_clearScheduledTask'](),this['_injector'][_0x47d95d(0x3a6)](de,this[_0x47d95d(0x13e)],this[_0x47d95d(0x1a8)],null,this[_0x47d95d(0x1da)],this['_handler'],_0x120639);}[_0x49793d(0x22f)](_0x193331,_0x5a74f3){var _0xe42edc=_0x49793d,_0x44b5b5;_0x193331===((_0x44b5b5=this[_0xe42edc(0x222)])==null?void 0x0:_0x44b5b5['reqId'])&&(this['resend'](),this[_0xe42edc(0x28d)]=_0x5a74f3===0x0?0x3e8:_0x5a74f3*0x2);}[_0x49793d(0x372)](){var _0x12b5dc=_0x49793d,_0x1586f1;(_0x1586f1=this[_0x12b5dc(0x3c0)])==null||_0x1586f1[_0x12b5dc(0x201)](),this[_0x12b5dc(0x28d)]=0x0;}};ae=Re([A(0x6,_0x385788(_0x5bf262)),A(0x7,_0x385788(_0x152bc0)),A(0x8,_0x2f1659),A(0x9,_0x1b7927),A(0xa,_0x36f829),A(0xb,_0x5583fc),A(0xc,_0xd81374(J))],ae);let de=class extends be{constructor(_0x4343bd,_0x370e76,_0x7bb5f4,_0xc4a244,_0x36b22f,_0x247eec=!0x1,_0x275dc1,_0x1e9a55,_0x302047,_0x100fd6,_0x40953a,_0x5cae14,_0x1e8cd1){var _0x495dbe=_0x49793d;super(_0x4343bd,_0x370e76,_0x7bb5f4,_0xc4a244,_0x36b22f,_0x1e9a55,_0x302047,_0x100fd6,_0x1e8cd1),N(this,_0x495dbe(0x32c),_0x495dbe(0x24a)),(this['_isPermissionRej']=_0x247eec,this[_0x495dbe(0x39a)]=_0x275dc1,this[_0x495dbe(0x1f1)]=_0x40953a,this['_collaborationUIEventService']=_0x5cae14,this[_0x495dbe(0x419)]=_0x1e8cd1,this[_0x495dbe(0x258)](),this[_0x495dbe(0x318)](),this[_0x495dbe(0x3e5)]());}[_0x49793d(0x3df)](){return this;}['onRemoteChangeset'](){return this;}[_0x49793d(0x3ea)](){return this;}[_0x49793d(0x20c)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x49793d(0x345)](){return this;}[_0x49793d(0x2e6)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x49793d(0x318)](){var _0x14ec8b=_0x49793d,_0x214a68;(_0x214a68=this[_0x14ec8b(0x38a)])==null||_0x214a68[_0x14ec8b(0x137)](this[_0x14ec8b(0x13e)],this[_0x14ec8b(0x1a8)],null,[]);}['_showConflictNotification'](){var _0x50ed72=_0x49793d;this[_0x50ed72(0x263)]?this[_0x50ed72(0x26e)][_0x50ed72(0x3cf)]({'id':se[_0x50ed72(0x336)]}):this['_collaborationUIEventService'][_0x50ed72(0x3cf)]({'id':se[_0x50ed72(0x294)]});}[_0x49793d(0x3e5)](){var _0x47db16=_0x49793d;this[_0x47db16(0x39a)][_0x47db16(0x34b)](new _0xd4a4bb(this[_0x47db16(0x13e)])['id'],!0x1);}};de=Re([A(0x6,_0x385788(_0x45b29e)),A(0x7,_0x2f1659),A(0x8,_0x5583fc),A(0x9,_0x385788(_0x152bc0)),A(0xa,_0x385788(_0x3b0bbb)),A(0xb,_0x385788(pe)),A(0xc,_0xd81374(J))],de);let fe=class extends be{constructor(_0x55fd30,_0x192ba7,_0x2aa172,_0x131619,_0xd64e48,_0x2aca76,_0x8d1ae0,_0x3fa378,_0x4b640d,_0x1d6973){var _0x2440d0=_0x49793d;super(_0x55fd30,_0x192ba7,_0x2aa172,_0x131619,_0xd64e48,_0x3fa378,_0x4b640d,_0x8d1ae0,_0x1d6973),N(this,_0x2440d0(0x32c),_0x2440d0(0x149)),this[_0x2440d0(0x20f)]=_0x2aca76;}[_0x49793d(0x3df)](_0x1fdebd){var _0x1325a9=_0x49793d;return this[_0x1325a9(0x1da)]['push'](_0x1fdebd),this[_0x1325a9(0x232)](),this;}['onRemoteChangeset'](_0x4cb34f){var _0x208fc4=_0x49793d;throw new Error(_0x208fc4(0x3c7));}['onRemoteAck'](){var _0x41120a=_0x49793d;throw new Error(_0x41120a(0x125));}[_0x49793d(0x20c)](){var _0xaac7de=_0x49793d;throw new Error(_0xaac7de(0x274));}[_0x49793d(0x14d)](){return this;}[_0x49793d(0x3de)](){return this;}[_0x49793d(0x345)](){var _0x2b5ca3=_0x49793d;const {_injector:_0x2f0395,_pendingMutations:_0x4a6011,_awaitingChangeset:_0x3331a2,unitID:_0x3768f1,_handler:_0x85879d,type:_0x46f57d}=this,_0x274083=Di(_0x2f0395,_0x3768f1,_0x46f57d,_0x3331a2,_0x4a6011,_0x85879d);return _0x274083 instanceof oe?_0x274083[_0x2b5ca3(0x3d2)]():(_0x274083 instanceof ae||_0x274083 instanceof ue)&&_0x274083[_0x2b5ca3(0x2e6)](),_0x274083;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x385788(_0x5bf262)),A(0x6,_0x385788(_0x152bc0)),A(0x7,_0x2f1659),A(0x8,_0x5583fc),A(0x9,_0xd81374(J))],fe);let te=class extends be{constructor(_0x27735b,_0x4c7f88,_0xea1658,_0x1d7f2a,_0x3c6975,_0x49c80f,_0x56283d,_0x2ac7d3,_0x4da84e,_0x255f01,_0x2ce48a,_0x54b7f3,_0x385015,_0x20f706){var _0x1544d8=_0x49793d;super(_0x27735b,_0x4c7f88,_0xea1658,_0x1d7f2a,_0x56283d,_0x2ce48a,_0x54b7f3,_0x4da84e,_0x20f706),N(this,_0x1544d8(0x32c),_0x1544d8(0x33e)),(this[_0x1544d8(0x315)]=_0x3c6975,this['_queuedRemoteChangesets']=_0x49c80f,this['_injector']=_0x2ac7d3,this[_0x1544d8(0x172)]=_0x255f01,this['_transformService']=_0x385015,this[_0x1544d8(0x419)]=_0x20f706);}['onMissedChangesetFetched'](_0x254623){var _0x4f81d7=_0x49793d;try{const _0x6b780a=[..._0x254623,...this['_queuedRemoteChangesets']],_0xc53440=[this[_0x4f81d7(0x222)]||this[_0x4f81d7(0x315)]]['filter'](_0x3035d0=>!!_0x3035d0);let _0x5d800e,_0x2727fc;if(_0xc53440[_0x4f81d7(0x12f)]){const _0x26d755=this[_0x4f81d7(0x3b4)][_0x4f81d7(0x192)](_0x6b780a,_0xc53440,!0x1);if(!_0x1af738(_0x26d755))throw _0x26d755[_0x4f81d7(0x2a6)];_0x5d800e=_0x26d755['c1Prime'],_0x2727fc=_0x26d755[_0x4f81d7(0x2ca)];}else _0x5d800e=_0x6b780a,_0x2727fc=[];let _0xb1cb16=this[_0x4f81d7(0x1da)];_0x5d800e[_0x4f81d7(0x193)](_0x2699be=>{var _0x3e6c6c=_0x4f81d7;let _0x291b90;if(_0xb1cb16[_0x3e6c6c(0x12f)]){const _0xfc66c4=this['_transformService']['transformMutationsWithChangeset'](_0x2699be,_0xb1cb16);if(!_0x455619(_0xfc66c4))throw _0xfc66c4[_0x3e6c6c(0x2a6)];_0x291b90=_0xfc66c4[_0x3e6c6c(0x3c2)],_0xb1cb16=_0xfc66c4[_0x3e6c6c(0x34a)];}else _0x291b90=_0x2699be;this[_0x3e6c6c(0x353)](_0x291b90);}),this[_0x4f81d7(0x315)]&&this[_0x4f81d7(0x129)](),this[_0x4f81d7(0x222)]&&_0x2727fc[_0x4f81d7(0x12f)]&&(_0x2727fc[0x0][_0x4f81d7(0x242)]=this[_0x4f81d7(0x3f5)]());let _0x5a1563;if(this[_0x4f81d7(0x222)]&&_0xb1cb16[_0x4f81d7(0x12f)]!==0x0)_0x5a1563=this['_injector'][_0x4f81d7(0x3a6)](ae,this['unitID'],this[_0x4f81d7(0x1a8)],_0x2727fc[0x0],_0xb1cb16,this[_0x4f81d7(0x327)],void 0x0);else{if(this[_0x4f81d7(0x222)]&&_0xb1cb16[_0x4f81d7(0x12f)]===0x0)_0x2727fc[0x0]['baseRev']=this[_0x4f81d7(0x3f5)](),_0x5a1563=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](ue,this[_0x4f81d7(0x13e)],this['type'],_0x2727fc[0x0],this[_0x4f81d7(0x327)]);else{if(_0xb1cb16[_0x4f81d7(0x12f)]!==0x0){const _0x15d8e1=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](oe,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],_0xb1cb16,this[_0x4f81d7(0x327)]);_0x15d8e1['_schedule'](),_0x5a1563=_0x15d8e1;}else _0x5a1563=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](De,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],this[_0x4f81d7(0x327)]);}}return _0x5a1563['_updateLocalCache'](),_0x5a1563;}catch(_0x33eef4){return this[_0x4f81d7(0x172)][_0x4f81d7(0x2a6)](_0x4f81d7(0x2c5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x33eef4),this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](de,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],this[_0x4f81d7(0x222)],this[_0x4f81d7(0x1da)],this[_0x4f81d7(0x327)],!0x1);}}['resend'](){var _0x6eaf5a=_0x49793d;throw new Error(_0x6eaf5a(0x147));}[_0x49793d(0x3df)](_0x1bd7c6){var _0x45edd7=_0x49793d;return this[_0x45edd7(0x1da)]['push'](_0x1bd7c6),this;}[_0x49793d(0x18f)](_0x33194b){var _0x537258=_0x49793d;return this['_queuedRemoteChangesets'][_0x537258(0x3bf)](_0x33194b),this;}[_0x49793d(0x3ea)](_0x363dd7){var _0xe2ada8=_0x49793d;if(this[_0xe2ada8(0x222)])return this[_0xe2ada8(0x315)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0xe2ada8(0x1d0));}[_0x49793d(0x20c)](_0x595552){var _0x438436=_0x49793d;return this['_onConflict'](!!(_0x595552!=null&&_0x595552[_0x438436(0x401)]));}[_0x49793d(0x14d)](){return this;}['toggleOffline'](){var _0x81d4cc=_0x49793d;return this['_injector'][_0x81d4cc(0x3a6)](fe,this[_0x81d4cc(0x13e)],this[_0x81d4cc(0x1a8)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x127)](_0x135fd3){var _0xe5ad64=_0x49793d;return this[_0xe5ad64(0x20f)][_0xe5ad64(0x3a6)](de,this[_0xe5ad64(0x13e)],this[_0xe5ad64(0x1a8)],this[_0xe5ad64(0x222)],this[_0xe5ad64(0x1da)],this[_0xe5ad64(0x327)],_0x135fd3);}};te=Re([A(0x7,_0x385788(_0x5bf262)),A(0x8,_0x385788(_0x152bc0)),A(0x9,_0x1b7927),A(0xa,_0x2f1659),A(0xb,_0x5583fc),A(0xc,_0x36f829),A(0xd,_0xd81374(J))],te);function Di(_0x397122,_0x3fad1b,_0x579070,_0x1d77ef,_0x1cd256,_0x299625){var _0x3e313f=_0x49793d;return _0x1d77ef&&_0x1cd256[_0x3e313f(0x12f)]?_0x397122[_0x3e313f(0x3a6)](ae,_0x3fad1b,_0x579070,_0x1d77ef,_0x1cd256,_0x299625,void 0x0):_0x1d77ef?_0x397122[_0x3e313f(0x3a6)](ue,_0x3fad1b,_0x579070,_0x1d77ef,_0x299625):_0x1cd256[_0x3e313f(0x12f)]?_0x397122[_0x3e313f(0x3a6)](oe,_0x3fad1b,_0x579070,_0x1cd256,_0x299625):_0x397122[_0x3e313f(0x3a6)](De,_0x3fad1b,_0x579070,_0x299625);}var vr=Object[_0x49793d(0x2b7)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x5a3d20,_0x28b1aa,_0x596f88,_0x2035c5)=>{var _0x1a0d81=_0x49793d;for(var _0x4fa416=_0x2035c5>0x1?void 0x0:_0x2035c5?pr(_0x28b1aa,_0x596f88):_0x28b1aa,_0x19eead=_0x5a3d20[_0x1a0d81(0x12f)]-0x1,_0x1dcd93;_0x19eead>=0x0;_0x19eead--)(_0x1dcd93=_0x5a3d20[_0x19eead])&&(_0x4fa416=(_0x2035c5?_0x1dcd93(_0x28b1aa,_0x596f88,_0x4fa416):_0x1dcd93(_0x4fa416))||_0x4fa416);return _0x2035c5&&_0x4fa416&&vr(_0x28b1aa,_0x596f88,_0x4fa416),_0x4fa416;},k=(_0x10fa93,_0x12fe10)=>(_0x7b2a4d,_0x12e729)=>_0x12fe10(_0x7b2a4d,_0x12e729,_0x10fa93);let nt=class extends _0x366443{constructor(_0x53f7ec,_0x38fe32,_0x2ffdc0,_0x413828,_0x2b3b4d,_0x535065,_0x4e266e,_0x5bf429,_0x5407d9,_0x3436ac,_0x446b4c,_0x1f1e1d,_0x269b31){var _0x57063a=_0x49793d;super(),N(this,_0x57063a(0x21e),new _0x2c2109(null)),N(this,_0x57063a(0x118),this[_0x57063a(0x21e)][_0x57063a(0x1c6)]()),N(this,_0x57063a(0x268)),N(this,_0x57063a(0x347),!0x1),N(this,_0x57063a(0x3db),''),N(this,_0x57063a(0x329),0x0),N(this,_0x57063a(0x296),this[_0x57063a(0x118)][_0x57063a(0x357)](_0x3c8f3c(_0x311c60=>_0x311c60?_0x311c60['status']:yi[_0x57063a(0x3fd)]),_0x5f474d(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x57063a(0x194),[]),(this[_0x57063a(0x13e)]=_0x53f7ec,this[_0x57063a(0x1ce)]=_0x38fe32,this[_0x57063a(0x210)]=_0x2ffdc0,this[_0x57063a(0x20f)]=_0x413828,this[_0x57063a(0x203)]=_0x2b3b4d,this[_0x57063a(0x1f1)]=_0x535065,this[_0x57063a(0x306)]=_0x4e266e,this[_0x57063a(0x1e4)]=_0x5bf429,this[_0x57063a(0x172)]=_0x5407d9,this['_commandService']=_0x3436ac,this[_0x57063a(0x39a)]=_0x446b4c,this[_0x57063a(0x209)]=_0x1f1e1d,this['_localCacheService']=_0x269b31);}get[_0x49793d(0x2b0)](){var _0xc6cc74=_0x49793d;return this[_0xc6cc74(0x268)];}async[_0x49793d(0x25d)](){var _0x38efc0=_0x49793d;if(this[_0x38efc0(0x2b0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x38efc0(0x3eb)]();}[_0x49793d(0x13d)](){var _0x5acc41=_0x49793d;return this[_0x5acc41(0x347)]=!0x0,_0x6eb0c8(()=>{var _0x4a14c2=_0x5acc41;this[_0x4a14c2(0x347)]=!0x1,this[_0x4a14c2(0x1b2)]();});}[_0x49793d(0x2ad)](_0x1b2534){var _0x3d80bc=_0x49793d;this[_0x3d80bc(0x16b)](_0x1b2534);}['_updateState'](_0x302f86){var _0x3f200d=_0x49793d;this['_state']=_0x302f86,this[_0x3f200d(0x21e)][_0x3f200d(0x33d)](_0x302f86);}async[_0x49793d(0x3eb)](){var _0x15d659=_0x49793d,_0x1e42ae;this[_0x15d659(0x2fa)](await this[_0x15d659(0x3bb)]()),this[_0x15d659(0x209)]&&((_0x1e42ae=this[_0x15d659(0x209)])==null||_0x1e42ae[_0x15d659(0x3b3)](this[_0x15d659(0x13e)]),this['disposeWithMe'](this[_0x15d659(0x209)]['getUnitStatus$'](this['unitID'])[_0x15d659(0x405)](_0x5792d4=>{var _0x196cc3=_0x15d659;this[_0x196cc3(0x172)]['debug'](_0x196cc3(0x2ac),_0x196cc3(0x3c3),_0x5792d4),_0x5792d4===bi[_0x196cc3(0x170)]?(this[_0x196cc3(0x1e4)][_0x196cc3(0x3cf)]({'id':se[_0x196cc3(0x3c6)]}),this[_0x196cc3(0x39a)][_0x196cc3(0x34b)](new _0xd4a4bb(this[_0x196cc3(0x13e)])['id'],!0x1),this['_permissionService'][_0x196cc3(0x20e)](!0x1)):(this[_0x196cc3(0x39a)]['updatePermissionPoint'](new _0xd4a4bb(this[_0x196cc3(0x13e)])['id'],!0x0),this[_0x196cc3(0x39a)][_0x196cc3(0x20e)](!0x0));})));let _0x1780b0=!0x1;return this[_0x15d659(0x307)](this['session']['sessionStatus$'][_0x15d659(0x405)](_0x27863a=>{var _0x2209c0=_0x15d659;_0x27863a===Te[_0x2209c0(0x17d)]?this[_0x2209c0(0x175)](_0x1780b0):_0x27863a===Te['OFFLINE']&&(_0x1780b0=!0x0,this[_0x2209c0(0x2d5)]());})),this[_0x15d659(0x307)](this[_0x15d659(0x1ce)]['event$']['subscribe'](_0x3fcceb=>{var _0x3f6a59=_0x15d659;try{switch(_0x3fcceb['eventID']){case _0x4e3835[_0x3f6a59(0x29f)]:{this['_onRemoteChangeset'](_0x2f89bd(_0x3fcceb[_0x3f6a59(0x31b)]));break;}case _0x4e3835[_0x3f6a59(0x378)]:{this[_0x3f6a59(0x3ca)](_0x3fcceb[_0x3f6a59(0x31b)]);break;}case _0x4e3835[_0x3f6a59(0x252)]:{this[_0x3f6a59(0x1cc)]();break;}case _0x4e3835[_0x3f6a59(0x2ed)]:{this['_onRemoteRetry'](_0x3fcceb[_0x3f6a59(0x31b)]);break;}case _0x4e3835[_0x3f6a59(0x37b)]:{this[_0x3f6a59(0x323)](_0x3fcceb['data'][_0x3f6a59(0x360)][_0x3f6a59(0x238)](_0x165765=>_0x2f89bd(_0x165765)));break;}case _0x4e3835[_0x3f6a59(0x389)]:{this[_0x3f6a59(0x1cc)]({'isPermissionRej':!0x0});break;}case _0x4e3835[_0x3f6a59(0x344)]:break;}}catch(_0x5bed4f){throw console[_0x3f6a59(0x2a6)](_0x3f6a59(0x134),_0x5bed4f),_0x5bed4f;}})),this[_0x15d659(0x268)];}[_0x49793d(0x3ff)](){var _0x354614=_0x49793d;this[_0x354614(0x364)]=!0x1;}['_lockTransition'](){var _0x1b1ee6=_0x49793d;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1b1ee6(0x364)]=!0x0;}[_0x49793d(0x16b)](_0x1a1655){var _0x4eeef2=_0x49793d;this[_0x4eeef2(0x279)](),this[_0x4eeef2(0x2fa)](this['_state'][_0x4eeef2(0x3df)](_0x1a1655)),this[_0x4eeef2(0x3ff)]();}['_onRemoteChangeset'](_0x1a0df8){var _0x5a679f=_0x49793d;if(!(_0x1a0df8['revision']<=this['_revisionService'][_0x5a679f(0x115)](this[_0x5a679f(0x13e)]))){if(this[_0x5a679f(0x347)]){this[_0x5a679f(0x194)][_0x5a679f(0x3bf)](_0x1a0df8);return;}this[_0x5a679f(0x136)](_0x1a0df8);}}[_0x49793d(0x1b2)](){var _0x327b16=_0x49793d;this[_0x327b16(0x194)][_0x327b16(0x193)](_0x1c635d=>this['_applyRemoteChangeset'](_0x1c635d)),this[_0x327b16(0x194)]=[];}[_0x49793d(0x136)](_0x1e0518){var _0x3f518c=_0x49793d;const _0xc65dc2=this[_0x3f518c(0x203)]['interceptor'][_0x3f518c(0x1f7)](this[_0x3f518c(0x203)]['interceptor']['getInterceptPoints']()[_0x3f518c(0x2e4)])(_0x1e0518['mutations'],null)||_0x1e0518[_0x3f518c(0x261)],_0x3c7145={..._0x1e0518,'mutations':_0xc65dc2};this[_0x3f518c(0x279)](),this['_updateState'](this['_state'][_0x3f518c(0x18f)](_0x3c7145)),this[_0x3f518c(0x3ff)]();}['_onRemoteACK'](_0x13e110){var _0x2e7acb=_0x49793d;this['_lockTransition'](),this[_0x2e7acb(0x2fa)](this[_0x2e7acb(0x268)][_0x2e7acb(0x3ea)](_0x13e110)),this[_0x2e7acb(0x3ff)]();}['_onRemoteRejected'](_0x582d4d){var _0x2c8843=_0x49793d;this['_lockTransition'](),this[_0x2c8843(0x2fa)](this[_0x2c8843(0x268)][_0x2c8843(0x20c)](_0x582d4d)),this[_0x2c8843(0x3ff)]();}[_0x49793d(0x237)](_0x57af5f){var _0x15a0f1=_0x49793d;this['_lockTransition'](),this[_0x15a0f1(0x2fa)](this['_state'][_0x15a0f1(0x14d)](_0x57af5f)),this[_0x15a0f1(0x3ff)]();}[_0x49793d(0x323)](_0x35569d){var _0x289c77=_0x49793d;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3b691d=_0x35569d[_0x289c77(0x238)](_0x7838f7=>{var _0x4de129=_0x289c77;const _0x36dcd8=this['_compressMutationService'][_0x4de129(0x166)][_0x4de129(0x1f7)](this[_0x4de129(0x203)][_0x4de129(0x166)]['getInterceptPoints']()[_0x4de129(0x2e4)])(_0x7838f7[_0x4de129(0x261)],null)||_0x7838f7['mutations'];return{..._0x7838f7,'mutations':_0x36dcd8};});this[_0x289c77(0x279)](),this[_0x289c77(0x2fa)](this['_state'][_0x289c77(0x174)](_0x3b691d)),this[_0x289c77(0x3ff)]();}[_0x49793d(0x2d5)](){var _0x513f09=_0x49793d;this[_0x513f09(0x279)](),this[_0x513f09(0x2fa)](this[_0x513f09(0x268)][_0x513f09(0x3de)]()),this[_0x513f09(0x3ff)]();}[_0x49793d(0x175)](_0x435863=!0x1){var _0x30c713=_0x49793d;this['_lockTransition'](),this[_0x30c713(0x2fa)](this['_state'][_0x30c713(0x345)]()),this[_0x30c713(0x3ff)]();const _0x467d24=this[_0x30c713(0x268)];_0x435863&&_0x467d24 instanceof De&&(this['_lockTransition'](),this['_updateState'](_0x467d24['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1e1bbe=>{var _0x3da859=_0x4bee;this[_0x3da859(0x1ce)][_0x3da859(0x148)][_0x3da859(0x357)](_0x11ee62(0x1))[_0x3da859(0x405)](async _0x3e7f4a=>{var _0x1b64ef=_0x3da859;_0x1e1bbe(await this['_createInitialStateImpl'](_0x3e7f4a===Te[_0x1b64ef(0x17d)]));});});}[_0x49793d(0x199)](){var _0x1ebb81=_0x49793d;const _0x933df6=this[_0x1ebb81(0x13e)];return{'onStateChange':(_0x47daab,_0x3915eb)=>{var _0x457d64=_0x1ebb81;if(_0x47daab!==this[_0x457d64(0x268)])throw new Error(_0x457d64(0x225)+_0x47daab[_0x457d64(0x32c)]+_0x457d64(0x1dd)+_0x3915eb[_0x457d64(0x32c)]+_0x457d64(0x2d6)+this[_0x457d64(0x268)][_0x457d64(0x32c)]);this['_updateState'](_0x3915eb);},'onSendChangeset':_0x520d59=>{var _0x969e8a=_0x1ebb81;_0x520d59[_0x969e8a(0x326)]||(_0x520d59[_0x969e8a(0x326)]=this['_changesetSessionId'],_0x520d59[_0x969e8a(0x285)]=++this[_0x969e8a(0x329)]);const _0x10a9a7={'eventID':_0x4e3835[_0x969e8a(0x1ea)],'data':{'unitID':_0x520d59[_0x969e8a(0x13e)],'unitType':this[_0x969e8a(0x210)],'changeset':_0x520d59,'memberID':this[_0x969e8a(0x1ce)]['getMemberID']()}};this[_0x969e8a(0x1ce)][_0x969e8a(0x2b9)](_0x10a9a7,this[_0x969e8a(0x13e)]);},'onMissingChangesets':({from:_0x47945f,to:_0x4261d4})=>{var _0x534aaf=_0x1ebb81;this[_0x534aaf(0x172)][_0x534aaf(0x31d)](_0x534aaf(0x2ac),_0x534aaf(0x24b)+_0x47945f+_0x534aaf(0x2b6)+_0x4261d4);const _0x4bc048={'eventID':_0x4e3835[_0x534aaf(0x153)],'data':{'unitID':_0x933df6,'unitType':this['_type'],'from':_0x47945f,'to':_0x4261d4}};this[_0x534aaf(0x1ce)][_0x534aaf(0x2b9)](_0x4bc048,this[_0x534aaf(0x13e)]);}};}async[_0x49793d(0x1b1)](_0x4bc305){var _0xccae4d=_0x49793d,_0x4b448d,_0x1ea714,_0x5ef469;const _0x1e3768=await((_0x4b448d=this[_0xccae4d(0x38a)])==null?void 0x0:_0x4b448d[_0xccae4d(0x12b)](this[_0xccae4d(0x13e)])),_0xbb0b7=(_0x1ea714=_0x1e3768==null?void 0x0:_0x1e3768[_0xccae4d(0x261)])!=null?_0x1ea714:[],_0x498cec=(_0x5ef469=_0x1e3768==null?void 0x0:_0x1e3768[_0xccae4d(0x240)])!=null?_0x5ef469:null,_0x11d30a=!!(_0x498cec!=null&&_0x498cec[_0xccae4d(0x326)])&&!!(_0x498cec!=null&&_0x498cec[_0xccae4d(0x285)]);this[_0xccae4d(0x3db)]=_0x11d30a?_0x498cec[_0xccae4d(0x326)]:sr(),this[_0xccae4d(0x329)]=_0x11d30a?_0x498cec[_0xccae4d(0x285)]:0x0;const _0x15de50=this[_0xccae4d(0x13e)];try{this[_0xccae4d(0x11c)](_0x498cec,_0xbb0b7);}catch(_0x40e21f){this[_0xccae4d(0x172)][_0xccae4d(0x2a6)](_0x40e21f);}const _0x2878a5=this['_createHandler']();if(_0x4bc305){const _0x4bf166=Di(this['_injector'],_0x15de50,this[_0xccae4d(0x210)],_0x498cec,_0xbb0b7,_0x2878a5);return _0x4bf166 instanceof oe?_0x4bf166[_0xccae4d(0x3d2)]():(_0x4bf166 instanceof ae||_0x4bf166 instanceof ue)&&_0x4bf166[_0xccae4d(0x2e6)](),_0x4bf166;}return this[_0xccae4d(0x20f)]['createInstance'](fe,_0x15de50,this['_type'],_0x498cec,_0xbb0b7,_0x2878a5);}[_0x49793d(0x11c)](_0x35752e,_0x2ba1f5){var _0xfdebba=_0x49793d,_0x72250a,_0x3bbcbf;const _0x2fa59c=this['_compressMutationService'][_0xfdebba(0x166)][_0xfdebba(0x1f7)](this[_0xfdebba(0x203)]['interceptor'][_0xfdebba(0x145)]()['COMPRESS_MUTATION_APPLY']);(_0x72250a=_0x2fa59c((_0x35752e==null?void 0x0:_0x35752e[_0xfdebba(0x261)])||[],null))==null||_0x72250a[_0xfdebba(0x193)](_0x316890=>this[_0xfdebba(0x15b)][_0xfdebba(0x247)](_0x316890['id'],_0x316890[_0xfdebba(0x3b7)])),(_0x3bbcbf=_0x2fa59c(_0x2ba1f5||[],null))==null||_0x3bbcbf[_0xfdebba(0x193)](_0x448947=>this['_commandService'][_0xfdebba(0x247)](_0x448947['id'],_0x448947['params']));}};nt=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(pe)),k(0x8,_0x1b7927),k(0x9,_0x2f1659),k(0xa,_0x45b29e),k(0xb,_0xd81374(ht)),k(0xc,_0xd81374(J))],nt);let Tt=class extends nt{constructor(_0x47c60d,_0x29477a,_0x98fe32,_0x5078c7,_0x5497d2,_0x37e698,_0x3894b3,_0x45df13,_0x3a6cc5,_0x5d4401,_0x928f62,_0x374438,_0x44ed47){var _0x45722c=_0x49793d;super(_0x47c60d,_0x98fe32,_0x29477a,_0x5078c7,_0x5497d2,_0x37e698,_0x3894b3,_0x45df13,_0x3a6cc5,_0x5d4401,_0x928f62,_0x374438,_0x44ed47),N(this,_0x45722c(0x26b),null),(this[_0x45722c(0x13e)]=_0x47c60d,this[_0x45722c(0x1a8)]=_0x29477a);}[_0x49793d(0x1f6)](_0x4bfc84){var _0x57d9db=_0x49793d;this[_0x57d9db(0x26b)]=_0x4bfc84;}[_0x49793d(0x28c)](){var _0x32c23d=_0x49793d;this[_0x32c23d(0x26b)]=null,super['dispose']();}[_0x49793d(0x199)](){var _0x8f8249=_0x49793d;const _0x5d14fe=super[_0x8f8249(0x199)]();return _0x5d14fe[_0x8f8249(0x15f)]=_0x48b216=>{var _0x237156=_0x8f8249,_0x5674cc,_0x3fba0a;return(_0x3fba0a=(_0x5674cc=this[_0x237156(0x26b)])==null?void 0x0:_0x5674cc['onTransformIME'])==null?void 0x0:_0x3fba0a[_0x237156(0x1bd)](_0x5674cc,_0x48b216);},_0x5d14fe['onTransformState']=_0x28a141=>{var _0x55d9be=_0x8f8249,_0x11ff38,_0x32fb6e;return(_0x32fb6e=(_0x11ff38=this[_0x55d9be(0x26b)])==null?void 0x0:_0x11ff38[_0x55d9be(0x2cb)])==null?void 0x0:_0x32fb6e[_0x55d9be(0x1bd)](_0x11ff38,_0x28a141);},_0x5d14fe['onTransformSelections']=_0x1410a2=>{var _0x395b37=_0x8f8249,_0x47a05d,_0x29676b;return(_0x29676b=(_0x47a05d=this[_0x395b37(0x26b)])==null?void 0x0:_0x47a05d[_0x395b37(0x29e)])==null?void 0x0:_0x29676b['call'](_0x47a05d,_0x1410a2);},_0x5d14fe['onSyncEditingCollabCursor']=_0x1f2d9c=>{var _0x80ba24=_0x8f8249,_0x448048,_0x30b882;return(_0x30b882=(_0x448048=this[_0x80ba24(0x26b)])==null?void 0x0:_0x448048['onSyncEditingCollabCursor'])==null?void 0x0:_0x30b882[_0x80ba24(0x1bd)](_0x448048,_0x1f2d9c);},_0x5d14fe[_0x8f8249(0x120)]=_0x24b81a=>{var _0x2c01ce=_0x8f8249,_0x15a0cb,_0x2cd22c,_0x4acf41;if(!((_0x15a0cb=this[_0x2c01ce(0x26b)])!=null&&_0x15a0cb[_0x2c01ce(0x120)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4acf41=(_0x2cd22c=this[_0x2c01ce(0x26b)])==null?void 0x0:_0x2cd22c[_0x2c01ce(0x120)])==null?void 0x0:_0x4acf41['call'](_0x2cd22c,_0x24b81a);},_0x5d14fe[_0x8f8249(0x3c9)]=_0x2e11af=>{var _0x40e704=_0x8f8249,_0x2bb374,_0x123aeb,_0x2f918a;if(!((_0x2bb374=this[_0x40e704(0x26b)])!=null&&_0x2bb374[_0x40e704(0x3c9)]))throw new Error(_0x40e704(0x29c));return(_0x2f918a=(_0x123aeb=this[_0x40e704(0x26b)])==null?void 0x0:_0x123aeb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f918a[_0x40e704(0x1bd)](_0x123aeb,_0x2e11af);},_0x5d14fe;}async['_init'](){var _0xe4915f=_0x49793d;const _0x253efe=await super[_0xe4915f(0x3eb)]();return this[_0xe4915f(0x307)](this[_0xe4915f(0x15b)][_0xe4915f(0x2ef)]((_0x534e93,_0x394d97)=>{var _0x30c4d5=_0xe4915f;if(_0x534e93['type']!==_0x382451['MUTATION']||_0x394d97!=null&&_0x394d97[_0x30c4d5(0x233)]||_0x394d97!=null&&_0x394d97[_0x30c4d5(0x212)]||_0x534e93['id']===_0x5521ba['id'])return;const _0x2d1b7c=_0x534e93[_0x30c4d5(0x3b7)];if((_0x2d1b7c==null?void 0x0:_0x2d1b7c['unitId'])!==this['unitID'])return;const _0x50eb75=_0x534e93,_0x4197a6=this['_compressMutationService'][_0x30c4d5(0x166)][_0x30c4d5(0x1f7)](this[_0x30c4d5(0x203)][_0x30c4d5(0x166)][_0x30c4d5(0x145)]()[_0x30c4d5(0x316)])([_0x50eb75],null)||[_0x50eb75];this[_0x30c4d5(0x16b)](_0x4197a6[0x0]);})),_0x253efe;}};Tt=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(pe)),k(0x8,_0x1b7927),k(0x9,_0x2f1659),k(0xa,_0x45b29e),k(0xb,_0xd81374(ht)),k(0xc,_0xd81374(J))],Tt);let Ct=class extends nt{constructor(_0x176d69,_0xa2a962,_0x3f9a1a,_0x21158d,_0x336526,_0xd8e206,_0x382988,_0x103db3,_0x36107c,_0x5c86a6,_0x5526aa,_0x157360,_0x2f7d8d,_0x55b4b6){var _0x2aafa4=_0x49793d;super(_0x176d69,_0x3f9a1a,_0xa2a962,_0x21158d,_0x336526,_0xd8e206,_0x382988,_0x36107c,_0x5c86a6,_0x5526aa,_0x157360,_0x2f7d8d,_0x55b4b6),this[_0x2aafa4(0x13e)]=_0x176d69,this['type']=_0xa2a962,this[_0x2aafa4(0x2a0)]=_0x103db3;}[_0x49793d(0x199)](){var _0x2807d5=_0x49793d;const _0x4282e7=super[_0x2807d5(0x199)]();return _0x4282e7['onTransformSelections']=_0x19dba0=>this['_sheetTransformSelectionsService']['transformSelections'](_0x19dba0),_0x4282e7;}async['_init'](){var _0x58d20b=_0x49793d;const _0x4ad8b7=await super['_init']();return this['disposeWithMe'](this[_0x58d20b(0x15b)]['onCommandExecuted']((_0x3e8c1c,_0x62af4a)=>{var _0x157c62=_0x58d20b;if(_0x3e8c1c['type']!==_0x382451[_0x157c62(0x167)]||_0x62af4a!=null&&_0x62af4a[_0x157c62(0x233)]||_0x62af4a!=null&&_0x62af4a[_0x157c62(0x212)])return;const _0x121f5c=_0x3e8c1c[_0x157c62(0x3b7)];if((_0x121f5c==null?void 0x0:_0x121f5c[_0x157c62(0x2ab)])!==this[_0x157c62(0x13e)])return;const _0x15fb06=_0x3e8c1c,_0x354ca3=this[_0x157c62(0x203)][_0x157c62(0x166)][_0x157c62(0x1f7)](this[_0x157c62(0x203)][_0x157c62(0x166)][_0x157c62(0x145)]()[_0x157c62(0x316)])([_0x15fb06],null)||[_0x15fb06];this[_0x157c62(0x16b)](_0x354ca3[0x0]);})),_0x4ad8b7;}};Ct=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(it)),k(0x8,_0x385788(pe)),k(0x9,_0x1b7927),k(0xa,_0x2f1659),k(0xb,_0x45b29e),k(0xc,_0xd81374(ht)),k(0xd,_0xd81374(J))],Ct);var mr=Object[_0x49793d(0x2b7)],gr=Object[_0x49793d(0x2fc)],Sr=(_0x49192e,_0x52abb3,_0x23ee72,_0x3e3c4f)=>{var _0x358b69=_0x49793d;for(var _0x5220a8=_0x3e3c4f>0x1?void 0x0:_0x3e3c4f?gr(_0x52abb3,_0x23ee72):_0x52abb3,_0x34df12=_0x49192e[_0x358b69(0x12f)]-0x1,_0x28c80d;_0x34df12>=0x0;_0x34df12--)(_0x28c80d=_0x49192e[_0x34df12])&&(_0x5220a8=(_0x3e3c4f?_0x28c80d(_0x52abb3,_0x23ee72,_0x5220a8):_0x28c80d(_0x5220a8))||_0x5220a8);return _0x3e3c4f&&_0x5220a8&&mr(_0x52abb3,_0x23ee72,_0x5220a8),_0x5220a8;},ft=(_0x3b91d5,_0x35e4f2)=>(_0x2878d4,_0xc9ece7)=>_0x35e4f2(_0x2878d4,_0xc9ece7,_0x3b91d5);let rt=class extends _0x366443{constructor(_0x2fae6f,_0x51e3f0,_0xb044ac){var _0x311d76=_0x49793d;super(),N(this,_0x311d76(0x3a0),new Map()),N(this,'_entityInit$',new _0x2e441e()),N(this,_0x311d76(0x377),this[_0x311d76(0x14f)][_0x311d76(0x1c6)]()),(this[_0x311d76(0x20f)]=_0x2fae6f,this[_0x311d76(0x2e1)]=_0x51e3f0,this['_univerInstanceService']=_0xb044ac,this[_0x311d76(0x3eb)]());}[_0x49793d(0x28c)](){var _0x16d0a6=_0x49793d;super[_0x16d0a6(0x28c)](),this[_0x16d0a6(0x3a0)]['forEach'](_0x1309ba=>_0x1309ba[_0x16d0a6(0x28c)]()),this[_0x16d0a6(0x3a0)][_0x16d0a6(0x406)]();}['getCollabEntity'](_0x5536f2){var _0x12a5a3=_0x49793d,_0x264c7e;return(_0x264c7e=this[_0x12a5a3(0x3a0)][_0x12a5a3(0x2c8)](_0x5536f2))!=null?_0x264c7e:null;}[_0x49793d(0x278)](_0x1a902e){var _0xfdec9a=_0x49793d;const _0x5f41f5=this[_0xfdec9a(0x18b)](_0x1a902e);return _0x5f41f5?_0x816256(_0x5f41f5):this[_0xfdec9a(0x14f)][_0xfdec9a(0x357)](_0x21e0ae(_0x4a1800=>_0x4a1800[_0xfdec9a(0x13e)]===_0x1a902e));}['readyForCollab'](_0x4fc758){var _0x4e610b=_0x49793d;return _0x3a12b2(this[_0x4e610b(0x278)](_0x4fc758)[_0x4e610b(0x357)](_0x5c5618(()=>{})));}[_0x49793d(0x3eb)](){var _0x4779bb=_0x49793d;this[_0x4779bb(0x3fa)][_0x4779bb(0x412)](_0x3c00f5[_0x4779bb(0x305)])[_0x4779bb(0x357)](_0x102d9c(this[_0x4779bb(0x200)]),_0x4bdc25(0x10))[_0x4779bb(0x405)](async _0x4e0dc4=>{var _0x5883c=_0x4779bb;const _0x1c7e9c=_0x4e0dc4[_0x5883c(0x25c)](),_0x3c79d1=await this[_0x5883c(0x325)](_0x1c7e9c,Q[_0x5883c(0x305)]);this[_0x5883c(0x3a0)]['set'](_0x1c7e9c,_0x3c79d1);}),this[_0x4779bb(0x3fa)]['getTypeOfUnitAdded$'](_0x3c00f5[_0x4779bb(0x281)])[_0x4779bb(0x357)](_0x102d9c(this[_0x4779bb(0x200)]),_0x4bdc25(0x10))['pipe'](_0x21e0ae(_0x312cc6=>!_0x312cc6[_0x4779bb(0x25c)]()[_0x4779bb(0x1b9)]('__')))[_0x4779bb(0x405)](async _0x3f5fa3=>{var _0x3ced64=_0x4779bb;const _0x25229f=_0x3f5fa3[_0x3ced64(0x25c)](),_0x36f0ab=await this[_0x3ced64(0x325)](_0x25229f,Q[_0x3ced64(0x281)]);this[_0x3ced64(0x3a0)]['set'](_0x25229f,_0x36f0ab);}),_0x504d97(this[_0x4779bb(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5[_0x4779bb(0x305)]),this[_0x4779bb(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5[_0x4779bb(0x281)]))['pipe'](_0x102d9c(this['dispose$']))[_0x4779bb(0x405)](_0x4b8e47=>{var _0x813602=_0x4779bb;const _0x17e233=_0x4b8e47[_0x813602(0x25c)](),_0x3a9029=this[_0x813602(0x3a0)][_0x813602(0x2c8)](_0x17e233);_0x3a9029&&(_0x3a9029[_0x813602(0x28c)](),this[_0x813602(0x3a0)]['delete'](_0x17e233));});}async[_0x49793d(0x325)](_0x2615b3,_0x556355){var _0x4d8193=_0x49793d;const _0x24b80e=await this[_0x4d8193(0x2e1)][_0x4d8193(0x1d7)](_0x2615b3),_0x1a1ed7=this['_injector'][_0x4d8193(0x3a6)](this['_getCtorByUniverType'](_0x556355),_0x2615b3,_0x556355,_0x24b80e);return await _0x1a1ed7[_0x4d8193(0x25d)](),this[_0x4d8193(0x14f)][_0x4d8193(0x33d)](_0x1a1ed7),_0x1a1ed7;}[_0x49793d(0x319)](_0x3176cd){var _0x2cbf32=_0x49793d;switch(_0x3176cd){case Q[_0x2cbf32(0x281)]:return Tt;case Q[_0x2cbf32(0x305)]:return Ct;default:throw new Error(_0x2cbf32(0x40e)+_0x3176cd);}}};rt=Sr([ft(0x0,_0x385788(_0x5bf262)),ft(0x1,_0x385788(Le)),ft(0x2,_0x5d0af3)],rt);var Er=Object[_0x49793d(0x2b7)],Ir=Object[_0x49793d(0x2fc)],Tr=(_0x2a3f26,_0x5625f1,_0x1aa81b,_0x3ccb08)=>{var _0x2e9594=_0x49793d;for(var _0x21c32b=_0x3ccb08>0x1?void 0x0:_0x3ccb08?Ir(_0x5625f1,_0x1aa81b):_0x5625f1,_0x171fb7=_0x2a3f26[_0x2e9594(0x12f)]-0x1,_0x57077f;_0x171fb7>=0x0;_0x171fb7--)(_0x57077f=_0x2a3f26[_0x171fb7])&&(_0x21c32b=(_0x3ccb08?_0x57077f(_0x5625f1,_0x1aa81b,_0x21c32b):_0x57077f(_0x21c32b))||_0x21c32b);return _0x3ccb08&&_0x21c32b&&Er(_0x5625f1,_0x1aa81b,_0x21c32b),_0x21c32b;},Jt=(_0x255f7b,_0x18309d)=>(_0x61748c,_0x2bee67)=>_0x18309d(_0x61748c,_0x2bee67,_0x255f7b);const Cr='DEFAULT_FILE_NAME',Rr=_0x49793d(0x17b);let Rt=class extends _0x59e757{constructor(_0x410eb3,_0x594bb1){var _0x1cb970=_0x49793d;super(),this[_0x1cb970(0x3fa)]=_0x410eb3,this[_0x1cb970(0x3dd)]=_0x594bb1,this[_0x1cb970(0x3eb)]();}['_init'](){var _0x1a8279=_0x49793d;this[_0x1a8279(0x307)](this[_0x1a8279(0x3fa)][_0x1a8279(0x34e)][_0x1a8279(0x405)](()=>{var _0x3bcb31=_0x1a8279,_0x5c8312;const _0x20e3c5=this[_0x3bcb31(0x3fa)]['getFocusedUnit']();let _0x1d90ab=(_0x5c8312=this[_0x3bcb31(0x3dd)][_0x3bcb31(0x27a)](Cr))!=null?_0x5c8312:Rr;_0x20e3c5 instanceof _0x265a32&&(_0x1d90ab=_0x20e3c5[_0x3bcb31(0x3c8)]),document['title']=_0x1d90ab;}));}};Rt=Tr([Jt(0x0,_0x5d0af3),Jt(0x1,_0x59c83a)],Rt);var br=Object[_0x49793d(0x2b7)],Or=Object[_0x49793d(0x2fc)],yr=(_0x3ca117,_0x46ad63,_0x47f9d8,_0x2b46d7)=>{var _0x28f58d=_0x49793d;for(var _0x2dd15d=_0x2b46d7>0x1?void 0x0:_0x2b46d7?Or(_0x46ad63,_0x47f9d8):_0x46ad63,_0x18b3bf=_0x3ca117[_0x28f58d(0x12f)]-0x1,_0x513c77;_0x18b3bf>=0x0;_0x18b3bf--)(_0x513c77=_0x3ca117[_0x18b3bf])&&(_0x2dd15d=(_0x2b46d7?_0x513c77(_0x46ad63,_0x47f9d8,_0x2dd15d):_0x513c77(_0x2dd15d))||_0x2dd15d);return _0x2b46d7&&_0x2dd15d&&br(_0x46ad63,_0x47f9d8,_0x2dd15d),_0x2dd15d;},vt=(_0xcabffa,_0x13b457)=>(_0x1a21ee,_0x12c029)=>_0x13b457(_0x1a21ee,_0x12c029,_0xcabffa);let st=class{constructor(_0x38771b,_0xb8fc12,_0xc1eeb9){var _0x2c84d0=_0x49793d;this[_0x2c84d0(0x3dd)]=_0x38771b,this[_0x2c84d0(0x206)]=_0xb8fc12,this['localeService']=_0xc1eeb9,this[_0x2c84d0(0x25d)]();}[_0x49793d(0x25d)](){var _0x29d2c8=_0x49793d;this[_0x29d2c8(0x206)][_0x29d2c8(0x1e7)]({'priority':0x1,'interceptor':(_0x4eab5b,_0x4f08e8)=>_0x4f08e8(_0x4eab5b)[_0x29d2c8(0x357)](_0x356c71(async _0x170c2d=>{var _0x5a62b4=_0x29d2c8;const _0x424512=_0x170c2d;if(_0x424512[_0x5a62b4(0x32c)]===0x191){if(typeof window>'u')throw new Error(_0x5a62b4(0x3a8));if(window[_0x5a62b4(0x2c9)](this[_0x5a62b4(0x1cb)]['t'](_0x5a62b4(0x1f9)))){const _0x3e6f1c=window[_0x5a62b4(0x32b)](window['location'][_0x5a62b4(0x3e1)]);window[_0x5a62b4(0x196)]['href']=this[_0x5a62b4(0x302)]()+'?url='+_0x3e6f1c;}}return _0x424512;}))});}['_getLoginPath'](){var _0x3cbcdb=_0x49793d,_0x338aa4,_0x33f297;const _0x2a76ed=this[_0x3cbcdb(0x3dd)][_0x3cbcdb(0x27a)](xn),_0x4f5e9e=this[_0x3cbcdb(0x3dd)][_0x3cbcdb(0x27a)](q);return(_0x33f297=(_0x338aa4=_0x4f5e9e==null?void 0x0:_0x4f5e9e[_0x3cbcdb(0x3a5)])!=null?_0x338aa4:_0x2a76ed)!=null?_0x33f297:Ln;}};st=yr([vt(0x0,_0x59c83a),vt(0x1,_0x385788(_0x140e67)),vt(0x2,_0x385788(_0x3b0bbb))],st);var Nr=Object[_0x49793d(0x2b7)],Dr=Object[_0x49793d(0x2fc)],Pr=(_0x4501d4,_0x2697a9,_0x1751dd,_0x79e2a8)=>{var _0x4eceff=_0x49793d;for(var _0x5ef08f=_0x79e2a8>0x1?void 0x0:_0x79e2a8?Dr(_0x2697a9,_0x1751dd):_0x2697a9,_0x1132d8=_0x4501d4[_0x4eceff(0x12f)]-0x1,_0x3735ad;_0x1132d8>=0x0;_0x1132d8--)(_0x3735ad=_0x4501d4[_0x1132d8])&&(_0x5ef08f=(_0x79e2a8?_0x3735ad(_0x2697a9,_0x1751dd,_0x5ef08f):_0x3735ad(_0x5ef08f))||_0x5ef08f);return _0x79e2a8&&_0x5ef08f&&Nr(_0x2697a9,_0x1751dd,_0x5ef08f),_0x5ef08f;},Xt=(_0x5e0a3d,_0x16fe03)=>(_0x1743cd,_0x4d56e5)=>_0x16fe03(_0x1743cd,_0x4d56e5,_0x5e0a3d);const Pi='AUTHZ_URL_KEY',wr=_0x49793d(0x3d1);let bt=class extends _0x59e757{constructor(_0x22f751,_0x9f69c2){var _0x2af8d2=_0x49793d;super(),this['_HTTPService']=_0x22f751,this[_0x2af8d2(0x3dd)]=_0x9f69c2,this[_0x2af8d2(0x3b1)]();}['_initMergeInterceptor'](){var _0x2b5c2d=_0x49793d;const _0x436454=this;this[_0x2b5c2d(0x307)](this[_0x2b5c2d(0x396)][_0x2b5c2d(0x1e7)]({'priority':0x3e7,'interceptor':_0x1d936c({'isMatch'(_0x5e6a0f){var _0x18a6d5=_0x2b5c2d,_0xa24ea1;if(_0x5e6a0f[_0x18a6d5(0x271)]==='POST'&&((_0xa24ea1=_0x5e6a0f[_0x18a6d5(0x16c)])!=null&&_0xa24ea1[_0x18a6d5(0x3f1)])){const {objectID:_0x1a8c3f,objectType:_0x28c682}=_0x5e6a0f[_0x18a6d5(0x16c)][_0x18a6d5(0x3f1)]||{};if(!_0x1a8c3f||_0x28c682===void 0x0)return!0x1;const _0x4a1772=_0x436454[_0x18a6d5(0x3be)]()+'/'+_0x28c682+_0x18a6d5(0x133)+_0x1a8c3f+_0x18a6d5(0x32f);if(_0x5e6a0f[_0x18a6d5(0x169)]===_0x4a1772)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe242c9){var _0x240c32=_0x2b5c2d,_0x2ae267;return(_0x2ae267=_0xe242c9[_0x240c32(0x16c)])==null?void 0x0:_0x2ae267['body'];},'mergeParamsToRequest'(_0x4efd12,_0x3e540e){var _0x409a2c=_0x2b5c2d;const _0x73aef3=_0x436454['_getAPIPrefixPath']()+_0x409a2c(0x32d),_0x5a3273=_0x4efd12['reduce']((_0x13c8c4,_0x5b8281)=>{var _0x44c502=_0x409a2c;const {unitID:_0x4ad7c7,objectID:_0xe6b00c,objectType:_0x5bf0ed,actions:_0x3c1901}=_0x5b8281;return _0x13c8c4[_0x4ad7c7]||(_0x13c8c4[_0x4ad7c7]={}),_0x13c8c4[_0x4ad7c7][_0xe6b00c]||(_0x13c8c4[_0x4ad7c7][_0xe6b00c]={'objectID':_0xe6b00c,'objectType':_0x5bf0ed,'actions':[]}),_0x13c8c4[_0x4ad7c7][_0xe6b00c][_0x44c502(0x386)]['push'](..._0x3c1901),_0x13c8c4;},{}),_0x5b1ed0=[];for(const _0x1d017e in _0x5a3273)for(const _0x45640f in _0x5a3273[_0x1d017e]){const {actions:_0x413c27,objectType:_0x501cc0}=_0x5a3273[_0x1d017e][_0x45640f],_0x17da45=[...new Set(_0x413c27)];_0x5b1ed0[_0x409a2c(0x3bf)]({'unitID':_0x1d017e,'objectID':_0x45640f,'objectType':_0x501cc0,'actions':_0x17da45});}return new _0x13d768(_0x409a2c(0x257),_0x73aef3,{'headers':_0x3e540e[_0x409a2c(0x398)],'withCredentials':_0x3e540e[_0x409a2c(0x25e)],'responseType':_0x3e540e[_0x409a2c(0x20b)],'body':{'requests':_0x5b1ed0}});}},{'distributeResult'(_0xcd1cbc,_0x546703){const {objectActions:_0x370295}=_0xcd1cbc;return _0x546703['map'](_0xdb45ed=>{var _0x572daf=_0x4bee;const {unitID:_0x2fcd0d,objectID:_0x3cd7fe,actions:_0x233a5e}=_0xdb45ed,_0x18d439=_0x370295[_0x572daf(0x2f3)](_0x3e6c43=>_0x3e6c43['unitID']===_0x2fcd0d&&_0x3e6c43[_0x572daf(0x37f)]===_0x3cd7fe),_0x4f2f05=_0x233a5e[_0x572daf(0x238)](_0x2f865d=>_0x18d439==null?void 0x0:_0x18d439[_0x572daf(0x386)][_0x572daf(0x2f3)](_0x3f669c=>_0x3f669c[_0x572daf(0x1c7)]===_0x2f865d))[_0x572daf(0x31f)](_0xfcd114=>!!_0xfcd114);return{'config':_0xdb45ed,'result':{'actions':_0x4f2f05,'error':_0xcd1cbc[_0x572daf(0x2a6)]}};});}})}));}[_0x49793d(0x3be)](){var _0x118995=_0x49793d,_0x41fd2a,_0x289ebb;const _0x3fa714=this[_0x118995(0x3dd)][_0x118995(0x27a)](Pi),_0x292006=this[_0x118995(0x3dd)][_0x118995(0x27a)](q);return(_0x289ebb=(_0x41fd2a=_0x292006==null?void 0x0:_0x292006[_0x118995(0x239)])!=null?_0x41fd2a:_0x3fa714)!=null?_0x289ebb:wr;}async[_0x49793d(0x367)](_0x56a31f){var _0x15a375=_0x49793d;const _0x865bd=this[_0x15a375(0x3be)]()+'/'+_0x56a31f[_0x15a375(0x1a3)]+_0x15a375(0x207);return(await this[_0x15a375(0x396)][_0x15a375(0x1a7)](_0x865bd,{'body':_0x56a31f}))[_0x15a375(0x3f1)]['objectID']||'';}async['list'](_0x26da39){var _0x1c5145=_0x49793d;const _0x5219c0=this[_0x1c5145(0x3be)]()+_0x1c5145(0x404);return(await this[_0x1c5145(0x396)][_0x1c5145(0x1a7)](_0x5219c0,{'body':_0x26da39}))[_0x1c5145(0x3f1)]['objects'];}async[_0x49793d(0x3af)](_0x272434){var _0x2bd0e7=_0x49793d;const _0x3b0f82=this[_0x2bd0e7(0x3be)]()+'/'+_0x272434[_0x2bd0e7(0x1a3)]+'/object/'+_0x272434[_0x2bd0e7(0x37f)];await this[_0x2bd0e7(0x396)]['put'](_0x3b0f82,{'body':_0x272434});}async[_0x49793d(0x2f2)](_0x84cbde){var _0x2b4dfd=_0x49793d;const _0x456b8c=this[_0x2b4dfd(0x3be)]()+'/'+_0x84cbde[_0x2b4dfd(0x1a3)]+_0x2b4dfd(0x133)+_0x84cbde['objectID']+_0x2b4dfd(0x32f);return(await this[_0x2b4dfd(0x396)][_0x2b4dfd(0x1a7)](_0x456b8c,{'body':_0x84cbde}))[_0x2b4dfd(0x3f1)][_0x2b4dfd(0x386)];}async['batchAllowed'](_0x43bb01){var _0x4153b0=_0x49793d;const _0xf8dbfd=this[_0x4153b0(0x3be)]()+_0x4153b0(0x32d);return(await this[_0x4153b0(0x396)][_0x4153b0(0x1a7)](_0xf8dbfd,{'body':{'requests':_0x43bb01}}))[_0x4153b0(0x3f1)][_0x4153b0(0x1b5)];}async['listRoles'](_0x51be32){var _0x4a915d=_0x49793d;const _0x1769bd=this[_0x4a915d(0x3be)]()+'/'+_0x51be32[_0x4a915d(0x1a3)]+_0x4a915d(0x2cf),_0x24fd56=await this[_0x4a915d(0x396)][_0x4a915d(0x1a7)](_0x1769bd,{'body':_0x51be32});return{'roles':_0x24fd56[_0x4a915d(0x3f1)]['roles'],'actions':_0x24fd56[_0x4a915d(0x3f1)][_0x4a915d(0x386)]};}async['deleteCollaborator'](_0x371e49){var _0x2b6467=_0x49793d;const _0x3985a3=this[_0x2b6467(0x3be)]()+_0x2b6467(0x25b);await this['_HTTPService']['delete'](_0x3985a3,{'params':{'collaboratorID':_0x371e49[_0x2b6467(0x349)],'objectID':_0x371e49[_0x2b6467(0x37f)],'unitID':_0x371e49['unitID']}});}async['updateCollaborator'](_0x29a06d){var _0x4ffa88=_0x49793d;const _0x480e12=this[_0x4ffa88(0x3be)]()+_0x4ffa88(0x25b);await this[_0x4ffa88(0x396)][_0x4ffa88(0x400)](_0x480e12,{'body':_0x29a06d});}async[_0x49793d(0x1d4)](_0x3a588){var _0x5447f1=_0x49793d;const _0x4d2e2e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5447f1(0x396)][_0x5447f1(0x1a7)](_0x4d2e2e,{'body':_0x3a588});}async[_0x49793d(0x288)](_0x260c65){var _0x57c3a8=_0x49793d;const _0x1c68ee=this[_0x57c3a8(0x3be)]()+_0x57c3a8(0x25b);return(await this[_0x57c3a8(0x396)][_0x57c3a8(0x2c8)](_0x1c68ee,{'params':{'objectID':_0x260c65[_0x57c3a8(0x37f)],'unitID':_0x260c65[_0x57c3a8(0x13e)]}}))[_0x57c3a8(0x3f1)][_0x57c3a8(0x180)];}async[_0x49793d(0x163)](_0x378f63){var _0x14d138=_0x49793d;const _0x58ad6d=this[_0x14d138(0x3be)]()+_0x14d138(0x25b);await this[_0x14d138(0x396)][_0x14d138(0x2a5)](_0x58ad6d,{'body':_0x378f63});}};bt=Pr([Xt(0x0,_0x385788(_0x140e67)),Xt(0x1,_0x385788(_0x59c83a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xd2904e){var _0x27034a=_0x49793d;return _0xd2904e&&_0xd2904e['__esModule']&&Object[_0x27034a(0x330)][_0x27034a(0x3cb)]['call'](_0xd2904e,_0x27034a(0x1fc))?_0xd2904e[_0x27034a(0x1fc)]:_0xd2904e;}var Ve={'exports':{}};function Ur(_0x5a06bd){var _0x4fd70d=_0x49793d;throw new Error(_0x4fd70d(0x135)+_0x5a06bd+_0x4fd70d(0x260));}var Ge={'exports':{}},Ar=Ge[_0x49793d(0x16a)],Zt;function ne(){var _0x513e76=_0x49793d;return Zt||(Zt=0x1,function(_0xc07cda,_0x3ceca0){(function(_0x151b53,_0x11ba76){var _0x10f369=_0x4bee;_0xc07cda[_0x10f369(0x16a)]=_0x11ba76();}(Ar,function(){var _0x3ebd3d=_0x3ebd3d||function(_0x2d8b11,_0x251006){var _0x399541=_0x4bee,_0x10d35a;if(typeof window<'u'&&window[_0x399541(0x350)]&&(_0x10d35a=window[_0x399541(0x350)]),typeof self<'u'&&self[_0x399541(0x350)]&&(_0x10d35a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x399541(0x350)]&&(_0x10d35a=globalThis[_0x399541(0x350)]),!_0x10d35a&&typeof window<'u'&&window[_0x399541(0x1e5)]&&(_0x10d35a=window[_0x399541(0x1e5)]),!_0x10d35a&&typeof pt<'u'&&pt[_0x399541(0x350)]&&(_0x10d35a=pt['crypto']),!_0x10d35a&&typeof Ur==_0x399541(0x230))try{_0x10d35a=require(_0x399541(0x350));}catch{}var _0x5649b3=function(){var _0x4e9acb=_0x399541;if(_0x10d35a){if(typeof _0x10d35a[_0x4e9acb(0x362)]==_0x4e9acb(0x230))try{return _0x10d35a[_0x4e9acb(0x362)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10d35a[_0x4e9acb(0x122)]==_0x4e9acb(0x230))try{return _0x10d35a['randomBytes'](0x4)[_0x4e9acb(0x270)]();}catch{}}throw new Error(_0x4e9acb(0x132));},_0x299795=Object['create']||(function(){function _0xefd08a(){}return function(_0x241c57){var _0x156145=_0x4bee,_0x204968;return _0xefd08a[_0x156145(0x330)]=_0x241c57,_0x204968=new _0xefd08a(),_0xefd08a[_0x156145(0x330)]=null,_0x204968;};}()),_0x10b344={},_0x493e32=_0x10b344[_0x399541(0x22d)]={},_0x25052b=_0x493e32[_0x399541(0x3f4)]=(function(){return{'extend':function(_0x5a1793){var _0x43109b=_0x4bee,_0x1aeaaf=_0x299795(this);return _0x5a1793&&_0x1aeaaf[_0x43109b(0x11d)](_0x5a1793),(!_0x1aeaaf['hasOwnProperty'](_0x43109b(0x25d))||this[_0x43109b(0x25d)]===_0x1aeaaf[_0x43109b(0x25d)])&&(_0x1aeaaf['init']=function(){var _0x4eb584=_0x43109b;_0x1aeaaf['$super'][_0x4eb584(0x25d)][_0x4eb584(0x220)](this,arguments);}),_0x1aeaaf[_0x43109b(0x25d)][_0x43109b(0x330)]=_0x1aeaaf,_0x1aeaaf['$super']=this,_0x1aeaaf;},'create':function(){var _0x31548e=_0x4bee,_0x2843a6=this[_0x31548e(0x1d6)]();return _0x2843a6['init']['apply'](_0x2843a6,arguments),_0x2843a6;},'init':function(){},'mixIn':function(_0x163104){var _0x2c3c69=_0x4bee;for(var _0x40c1b4 in _0x163104)_0x163104[_0x2c3c69(0x3cb)](_0x40c1b4)&&(this[_0x40c1b4]=_0x163104[_0x40c1b4]);_0x163104[_0x2c3c69(0x3cb)]('toString')&&(this[_0x2c3c69(0x3c4)]=_0x163104[_0x2c3c69(0x3c4)]);},'clone':function(){var _0x493999=_0x4bee;return this['init'][_0x493999(0x330)]['extend'](this);}};}()),_0x31b12c=_0x493e32[_0x399541(0x328)]=_0x25052b[_0x399541(0x1d6)]({'init':function(_0x20ed57,_0x4f0737){var _0x2401d2=_0x399541;_0x20ed57=this['words']=_0x20ed57||[],_0x4f0737!=_0x251006?this[_0x2401d2(0x244)]=_0x4f0737:this[_0x2401d2(0x244)]=_0x20ed57[_0x2401d2(0x12f)]*0x4;},'toString':function(_0x1172d7){var _0x3d5250=_0x399541;return(_0x1172d7||_0x79f454)[_0x3d5250(0x142)](this);},'concat':function(_0x372d20){var _0x300ec7=_0x399541,_0x30a651=this[_0x300ec7(0x314)],_0x25919=_0x372d20[_0x300ec7(0x314)],_0x5cf5bd=this[_0x300ec7(0x244)],_0x529493=_0x372d20[_0x300ec7(0x244)];if(this['clamp'](),_0x5cf5bd%0x4)for(var _0x3a04f6=0x0;_0x3a04f6<_0x529493;_0x3a04f6++){var _0x4e3822=_0x25919[_0x3a04f6>>>0x2]>>>0x18-_0x3a04f6%0x4*0x8&0xff;_0x30a651[_0x5cf5bd+_0x3a04f6>>>0x2]|=_0x4e3822<<0x18-(_0x5cf5bd+_0x3a04f6)%0x4*0x8;}else{for(var _0x457a36=0x0;_0x457a36<_0x529493;_0x457a36+=0x4)_0x30a651[_0x5cf5bd+_0x457a36>>>0x2]=_0x25919[_0x457a36>>>0x2];}return this[_0x300ec7(0x244)]+=_0x529493,this;},'clamp':function(){var _0x5c4317=_0x399541,_0x10760d=this[_0x5c4317(0x314)],_0x437886=this[_0x5c4317(0x244)];_0x10760d[_0x437886>>>0x2]&=0xffffffff<<0x20-_0x437886%0x4*0x8,_0x10760d[_0x5c4317(0x12f)]=_0x2d8b11[_0x5c4317(0x2e9)](_0x437886/0x4);},'clone':function(){var _0x510b65=_0x399541,_0x527b69=_0x25052b['clone'][_0x510b65(0x1bd)](this);return _0x527b69[_0x510b65(0x314)]=this['words'][_0x510b65(0x3f2)](0x0),_0x527b69;},'random':function(_0x324b14){var _0x2e52c8=_0x399541;for(var _0x6d7b7c=[],_0x1993db=0x0;_0x1993db<_0x324b14;_0x1993db+=0x4)_0x6d7b7c[_0x2e52c8(0x3bf)](_0x5649b3());return new _0x31b12c[(_0x2e52c8(0x25d))](_0x6d7b7c,_0x324b14);}}),_0x334b7d=_0x10b344[_0x399541(0x157)]={},_0x79f454=_0x334b7d['Hex']={'stringify':function(_0x2465af){var _0xcd2a29=_0x399541;for(var _0x5e79e8=_0x2465af[_0xcd2a29(0x314)],_0x1cbcf0=_0x2465af['sigBytes'],_0x19c4b2=[],_0xb5a59b=0x0;_0xb5a59b<_0x1cbcf0;_0xb5a59b++){var _0x2c3891=_0x5e79e8[_0xb5a59b>>>0x2]>>>0x18-_0xb5a59b%0x4*0x8&0xff;_0x19c4b2['push']((_0x2c3891>>>0x4)[_0xcd2a29(0x3c4)](0x10)),_0x19c4b2[_0xcd2a29(0x3bf)]((_0x2c3891&0xf)[_0xcd2a29(0x3c4)](0x10));}return _0x19c4b2['join']('');},'parse':function(_0x1d3961){var _0x50ad1b=_0x399541;for(var _0x1c4532=_0x1d3961[_0x50ad1b(0x12f)],_0x22fa6f=[],_0x1a8fad=0x0;_0x1a8fad<_0x1c4532;_0x1a8fad+=0x2)_0x22fa6f[_0x1a8fad>>>0x3]|=parseInt(_0x1d3961[_0x50ad1b(0x18d)](_0x1a8fad,0x2),0x10)<<0x18-_0x1a8fad%0x8*0x4;return new _0x31b12c[(_0x50ad1b(0x25d))](_0x22fa6f,_0x1c4532/0x2);}},_0x388d21=_0x334b7d['Latin1']={'stringify':function(_0x4e2dca){var _0x584170=_0x399541;for(var _0x4a558d=_0x4e2dca[_0x584170(0x314)],_0x3b8d45=_0x4e2dca['sigBytes'],_0x53db00=[],_0x8bfad4=0x0;_0x8bfad4<_0x3b8d45;_0x8bfad4++){var _0x27ec86=_0x4a558d[_0x8bfad4>>>0x2]>>>0x18-_0x8bfad4%0x4*0x8&0xff;_0x53db00[_0x584170(0x3bf)](String['fromCharCode'](_0x27ec86));}return _0x53db00['join']('');},'parse':function(_0x3b2c25){var _0x2e48ea=_0x399541;for(var _0x2b39c1=_0x3b2c25['length'],_0x4c3211=[],_0x3b765b=0x0;_0x3b765b<_0x2b39c1;_0x3b765b++)_0x4c3211[_0x3b765b>>>0x2]|=(_0x3b2c25['charCodeAt'](_0x3b765b)&0xff)<<0x18-_0x3b765b%0x4*0x8;return new _0x31b12c[(_0x2e48ea(0x25d))](_0x4c3211,_0x2b39c1);}},_0x5cb289=_0x334b7d[_0x399541(0x189)]={'stringify':function(_0x5d72b0){var _0x520f39=_0x399541;try{return decodeURIComponent(escape(_0x388d21['stringify'](_0x5d72b0)));}catch{throw new Error(_0x520f39(0x36d));}},'parse':function(_0x547d2b){var _0x48e0fd=_0x399541;return _0x388d21[_0x48e0fd(0x188)](unescape(encodeURIComponent(_0x547d2b)));}},_0x4a521a=_0x493e32['BufferedBlockAlgorithm']=_0x25052b['extend']({'reset':function(){var _0x39006f=_0x399541;this[_0x39006f(0x151)]=new _0x31b12c[(_0x39006f(0x25d))](),this[_0x39006f(0x2dc)]=0x0;},'_append':function(_0x4d7137){var _0x57fbae=_0x399541;typeof _0x4d7137=='string'&&(_0x4d7137=_0x5cb289[_0x57fbae(0x188)](_0x4d7137)),this[_0x57fbae(0x151)][_0x57fbae(0x299)](_0x4d7137),this[_0x57fbae(0x2dc)]+=_0x4d7137['sigBytes'];},'_process':function(_0x4439f7){var _0xd34b53=_0x399541,_0x465ef1,_0x12ec85=this['_data'],_0x1bd071=_0x12ec85[_0xd34b53(0x314)],_0x5e218c=_0x12ec85[_0xd34b53(0x244)],_0x4e04d1=this[_0xd34b53(0x292)],_0x19e8f5=_0x4e04d1*0x4,_0x55d37b=_0x5e218c/_0x19e8f5;_0x4439f7?_0x55d37b=_0x2d8b11[_0xd34b53(0x2e9)](_0x55d37b):_0x55d37b=_0x2d8b11['max']((_0x55d37b|0x0)-this['_minBufferSize'],0x0);var _0x178159=_0x55d37b*_0x4e04d1,_0x3db24c=_0x2d8b11[_0xd34b53(0x14a)](_0x178159*0x4,_0x5e218c);if(_0x178159){for(var _0x8399ab=0x0;_0x8399ab<_0x178159;_0x8399ab+=_0x4e04d1)this[_0xd34b53(0x2d0)](_0x1bd071,_0x8399ab);_0x465ef1=_0x1bd071['splice'](0x0,_0x178159),_0x12ec85[_0xd34b53(0x244)]-=_0x3db24c;}return new _0x31b12c[(_0xd34b53(0x25d))](_0x465ef1,_0x3db24c);},'clone':function(){var _0x721628=_0x399541,_0x24d3f1=_0x25052b[_0x721628(0x15c)][_0x721628(0x1bd)](this);return _0x24d3f1[_0x721628(0x151)]=this[_0x721628(0x151)][_0x721628(0x15c)](),_0x24d3f1;},'_minBufferSize':0x0});_0x493e32[_0x399541(0x3e3)]=_0x4a521a[_0x399541(0x1d6)]({'cfg':_0x25052b['extend'](),'init':function(_0x4a5b80){var _0xefe11d=_0x399541;this[_0xefe11d(0x2e5)]=this[_0xefe11d(0x2e5)][_0xefe11d(0x1d6)](_0x4a5b80),this[_0xefe11d(0x3a4)]();},'reset':function(){var _0x4b375a=_0x399541;_0x4a521a[_0x4b375a(0x3a4)]['call'](this),this[_0x4b375a(0x1fb)]();},'update':function(_0x375638){var _0x5e8f6f=_0x399541;return this[_0x5e8f6f(0x1b3)](_0x375638),this[_0x5e8f6f(0x40a)](),this;},'finalize':function(_0x47bb23){var _0x469033=_0x399541;_0x47bb23&&this[_0x469033(0x1b3)](_0x47bb23);var _0x400de4=this['_doFinalize']();return _0x400de4;},'blockSize':0x10,'_createHelper':function(_0x17f857){return function(_0x1d5b69,_0x530576){var _0x24e8d5=_0x4bee;return new _0x17f857[(_0x24e8d5(0x25d))](_0x530576)['finalize'](_0x1d5b69);};},'_createHmacHelper':function(_0xc29030){return function(_0x11d3ab,_0x30319a){var _0x4339da=_0x4bee;return new _0xe11a57[(_0x4339da(0x26d))][(_0x4339da(0x25d))](_0xc29030,_0x30319a)[_0x4339da(0x390)](_0x11d3ab);};}});var _0xe11a57=_0x10b344[_0x399541(0x24e)]={};return _0x10b344;}(Math);return _0x3ebd3d;}));}(Ge)),Ge[_0x513e76(0x16a)];}var We={'exports':{}},xr=We[_0x49793d(0x16a)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x12efac,_0x2d55ba){(function(_0x3a7c7f,_0x44915b){var _0x384614=_0x4bee;_0x12efac[_0x384614(0x16a)]=_0x44915b(ne());}(xr,function(_0x217957){var _0x165d07=_0x4bee;return(function(){var _0x4594f2=_0x4bee,_0x318799=_0x217957,_0x12814b=_0x318799[_0x4594f2(0x22d)],_0x39bf6f=_0x12814b[_0x4594f2(0x328)],_0x384b66=_0x318799[_0x4594f2(0x157)];_0x384b66[_0x4594f2(0x31a)]={'stringify':function(_0x454581){var _0x109356=_0x4594f2,_0x2750f4=_0x454581[_0x109356(0x314)],_0x32a84d=_0x454581[_0x109356(0x244)],_0x5e0cfd=this[_0x109356(0x2a3)];_0x454581[_0x109356(0x168)]();for(var _0x407e2e=[],_0xce0802=0x0;_0xce0802<_0x32a84d;_0xce0802+=0x3)for(var _0x191b86=_0x2750f4[_0xce0802>>>0x2]>>>0x18-_0xce0802%0x4*0x8&0xff,_0x393a53=_0x2750f4[_0xce0802+0x1>>>0x2]>>>0x18-(_0xce0802+0x1)%0x4*0x8&0xff,_0x3c26f7=_0x2750f4[_0xce0802+0x2>>>0x2]>>>0x18-(_0xce0802+0x2)%0x4*0x8&0xff,_0x506efb=_0x191b86<<0x10|_0x393a53<<0x8|_0x3c26f7,_0x2031ca=0x0;_0x2031ca<0x4&&_0xce0802+_0x2031ca*0.75<_0x32a84d;_0x2031ca++)_0x407e2e[_0x109356(0x3bf)](_0x5e0cfd['charAt'](_0x506efb>>>0x6*(0x3-_0x2031ca)&0x3f));var _0x101236=_0x5e0cfd['charAt'](0x40);if(_0x101236){for(;_0x407e2e[_0x109356(0x12f)]%0x4;)_0x407e2e[_0x109356(0x3bf)](_0x101236);}return _0x407e2e[_0x109356(0x1e6)]('');},'parse':function(_0x45cdad){var _0x3f1e1c=_0x4594f2,_0x17886b=_0x45cdad['length'],_0x8cd855=this[_0x3f1e1c(0x2a3)],_0x21ef27=this['_reverseMap'];if(!_0x21ef27){_0x21ef27=this[_0x3f1e1c(0x341)]=[];for(var _0x55f971=0x0;_0x55f971<_0x8cd855[_0x3f1e1c(0x12f)];_0x55f971++)_0x21ef27[_0x8cd855[_0x3f1e1c(0x1fd)](_0x55f971)]=_0x55f971;}var _0x369365=_0x8cd855[_0x3f1e1c(0x273)](0x40);if(_0x369365){var _0x7d5b14=_0x45cdad[_0x3f1e1c(0x1e0)](_0x369365);_0x7d5b14!==-0x1&&(_0x17886b=_0x7d5b14);}return _0x1486d1(_0x45cdad,_0x17886b,_0x21ef27);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1486d1(_0x2947bc,_0x434e80,_0x3325f9){var _0x1f28e3=_0x4594f2;for(var _0x337647=[],_0x2de6a5=0x0,_0x3a64a5=0x0;_0x3a64a5<_0x434e80;_0x3a64a5++)if(_0x3a64a5%0x4){var _0x921008=_0x3325f9[_0x2947bc['charCodeAt'](_0x3a64a5-0x1)]<<_0x3a64a5%0x4*0x2,_0x843002=_0x3325f9[_0x2947bc[_0x1f28e3(0x1fd)](_0x3a64a5)]>>>0x6-_0x3a64a5%0x4*0x2,_0x58c3ca=_0x921008|_0x843002;_0x337647[_0x2de6a5>>>0x2]|=_0x58c3ca<<0x18-_0x2de6a5%0x4*0x8,_0x2de6a5++;}return _0x39bf6f[_0x1f28e3(0x367)](_0x337647,_0x2de6a5);}}()),_0x217957['enc'][_0x165d07(0x31a)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x49793d(0x16a)],ei;function Mr(){var _0x24171b=_0x49793d;return ei||(ei=0x1,function(_0x38b773,_0x5a0387){(function(_0xec632b,_0x170273){var _0x48232d=_0x4bee;_0x38b773[_0x48232d(0x16a)]=_0x170273(ne());}(Lr,function(_0x3210c0){var _0x4979f2=_0x4bee;return function(_0x27f53b){var _0xf988ec=_0x4bee,_0x4fbf50=_0x3210c0,_0x398aab=_0x4fbf50[_0xf988ec(0x22d)],_0x18c05f=_0x398aab[_0xf988ec(0x328)],_0x107772=_0x398aab['Hasher'],_0x17b58e=_0x4fbf50[_0xf988ec(0x24e)],_0x23e971=[];(function(){var _0x4f9aef=_0xf988ec;for(var _0x4e1f2e=0x0;_0x4e1f2e<0x40;_0x4e1f2e++)_0x23e971[_0x4e1f2e]=_0x27f53b[_0x4f9aef(0x35b)](_0x27f53b['sin'](_0x4e1f2e+0x1))*0x100000000|0x0;}());var _0x16d2c3=_0x17b58e[_0xf988ec(0x322)]=_0x107772[_0xf988ec(0x1d6)]({'_doReset':function(){var _0x145d17=_0xf988ec;this[_0x145d17(0x13b)]=new _0x18c05f[(_0x145d17(0x25d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19aace,_0x42b496){var _0x3c85ec=_0xf988ec;for(var _0xade797=0x0;_0xade797<0x10;_0xade797++){var _0x34d550=_0x42b496+_0xade797,_0x16ed27=_0x19aace[_0x34d550];_0x19aace[_0x34d550]=(_0x16ed27<<0x8|_0x16ed27>>>0x18)&0xff00ff|(_0x16ed27<<0x18|_0x16ed27>>>0x8)&0xff00ff00;}var _0x54b297=this[_0x3c85ec(0x13b)]['words'],_0x3ba608=_0x19aace[_0x42b496+0x0],_0xa73016=_0x19aace[_0x42b496+0x1],_0x2272fd=_0x19aace[_0x42b496+0x2],_0x3e2992=_0x19aace[_0x42b496+0x3],_0x2395d7=_0x19aace[_0x42b496+0x4],_0x5f375d=_0x19aace[_0x42b496+0x5],_0x8a731d=_0x19aace[_0x42b496+0x6],_0x1ae8c8=_0x19aace[_0x42b496+0x7],_0x47ea46=_0x19aace[_0x42b496+0x8],_0xcc1ed=_0x19aace[_0x42b496+0x9],_0xf5547b=_0x19aace[_0x42b496+0xa],_0x4335bf=_0x19aace[_0x42b496+0xb],_0x47557a=_0x19aace[_0x42b496+0xc],_0x5a4c10=_0x19aace[_0x42b496+0xd],_0x569af9=_0x19aace[_0x42b496+0xe],_0x3f9ea6=_0x19aace[_0x42b496+0xf],_0xb44825=_0x54b297[0x0],_0x1ae697=_0x54b297[0x1],_0x2dc488=_0x54b297[0x2],_0x45aade=_0x54b297[0x3];_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x3ba608,0x7,_0x23e971[0x0]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xa73016,0xc,_0x23e971[0x1]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x2272fd,0x11,_0x23e971[0x2]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3e2992,0x16,_0x23e971[0x3]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x2395d7,0x7,_0x23e971[0x4]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x5f375d,0xc,_0x23e971[0x5]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x8a731d,0x11,_0x23e971[0x6]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x1ae8c8,0x16,_0x23e971[0x7]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47ea46,0x7,_0x23e971[0x8]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xcc1ed,0xc,_0x23e971[0x9]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0xf5547b,0x11,_0x23e971[0xa]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x4335bf,0x16,_0x23e971[0xb]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47557a,0x7,_0x23e971[0xc]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x5a4c10,0xc,_0x23e971[0xd]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x569af9,0x11,_0x23e971[0xe]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3f9ea6,0x16,_0x23e971[0xf]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xa73016,0x5,_0x23e971[0x10]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x8a731d,0x9,_0x23e971[0x11]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x4335bf,0xe,_0x23e971[0x12]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3ba608,0x14,_0x23e971[0x13]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5f375d,0x5,_0x23e971[0x14]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xf5547b,0x9,_0x23e971[0x15]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3f9ea6,0xe,_0x23e971[0x16]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x2395d7,0x14,_0x23e971[0x17]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xcc1ed,0x5,_0x23e971[0x18]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x569af9,0x9,_0x23e971[0x19]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3e2992,0xe,_0x23e971[0x1a]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x47ea46,0x14,_0x23e971[0x1b]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5a4c10,0x5,_0x23e971[0x1c]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x2272fd,0x9,_0x23e971[0x1d]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x1ae8c8,0xe,_0x23e971[0x1e]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x47557a,0x14,_0x23e971[0x1f]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5f375d,0x4,_0x23e971[0x20]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x47ea46,0xb,_0x23e971[0x21]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x4335bf,0x10,_0x23e971[0x22]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x569af9,0x17,_0x23e971[0x23]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xa73016,0x4,_0x23e971[0x24]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x2395d7,0xb,_0x23e971[0x25]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x1ae8c8,0x10,_0x23e971[0x26]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xf5547b,0x17,_0x23e971[0x27]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5a4c10,0x4,_0x23e971[0x28]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3ba608,0xb,_0x23e971[0x29]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3e2992,0x10,_0x23e971[0x2a]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x8a731d,0x17,_0x23e971[0x2b]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xcc1ed,0x4,_0x23e971[0x2c]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x47557a,0xb,_0x23e971[0x2d]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3f9ea6,0x10,_0x23e971[0x2e]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x2272fd,0x17,_0x23e971[0x2f]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x3ba608,0x6,_0x23e971[0x30]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x1ae8c8,0xa,_0x23e971[0x31]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x569af9,0xf,_0x23e971[0x32]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x5f375d,0x15,_0x23e971[0x33]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47557a,0x6,_0x23e971[0x34]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3e2992,0xa,_0x23e971[0x35]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0xf5547b,0xf,_0x23e971[0x36]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xa73016,0x15,_0x23e971[0x37]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47ea46,0x6,_0x23e971[0x38]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3f9ea6,0xa,_0x23e971[0x39]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x8a731d,0xf,_0x23e971[0x3a]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x5a4c10,0x15,_0x23e971[0x3b]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x2395d7,0x6,_0x23e971[0x3c]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x4335bf,0xa,_0x23e971[0x3d]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x2272fd,0xf,_0x23e971[0x3e]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xcc1ed,0x15,_0x23e971[0x3f]),_0x54b297[0x0]=_0x54b297[0x0]+_0xb44825|0x0,_0x54b297[0x1]=_0x54b297[0x1]+_0x1ae697|0x0,_0x54b297[0x2]=_0x54b297[0x2]+_0x2dc488|0x0,_0x54b297[0x3]=_0x54b297[0x3]+_0x45aade|0x0;},'_doFinalize':function(){var _0x3ef3c8=_0xf988ec,_0x48d127=this['_data'],_0x51211e=_0x48d127[_0x3ef3c8(0x314)],_0x35be60=this[_0x3ef3c8(0x2dc)]*0x8,_0x384a1d=_0x48d127[_0x3ef3c8(0x244)]*0x8;_0x51211e[_0x384a1d>>>0x5]|=0x80<<0x18-_0x384a1d%0x20;var _0xae8154=_0x27f53b[_0x3ef3c8(0x173)](_0x35be60/0x100000000),_0x199b46=_0x35be60;_0x51211e[(_0x384a1d+0x40>>>0x9<<0x4)+0xf]=(_0xae8154<<0x8|_0xae8154>>>0x18)&0xff00ff|(_0xae8154<<0x18|_0xae8154>>>0x8)&0xff00ff00,_0x51211e[(_0x384a1d+0x40>>>0x9<<0x4)+0xe]=(_0x199b46<<0x8|_0x199b46>>>0x18)&0xff00ff|(_0x199b46<<0x18|_0x199b46>>>0x8)&0xff00ff00,_0x48d127[_0x3ef3c8(0x244)]=(_0x51211e[_0x3ef3c8(0x12f)]+0x1)*0x4,this[_0x3ef3c8(0x40a)]();for(var _0x40678f=this['_hash'],_0x582c11=_0x40678f['words'],_0x3fef3b=0x0;_0x3fef3b<0x4;_0x3fef3b++){var _0x31e628=_0x582c11[_0x3fef3b];_0x582c11[_0x3fef3b]=(_0x31e628<<0x8|_0x31e628>>>0x18)&0xff00ff|(_0x31e628<<0x18|_0x31e628>>>0x8)&0xff00ff00;}return _0x40678f;},'clone':function(){var _0x1a96bf=_0xf988ec,_0x35e6b3=_0x107772['clone'][_0x1a96bf(0x1bd)](this);return _0x35e6b3[_0x1a96bf(0x13b)]=this[_0x1a96bf(0x13b)][_0x1a96bf(0x15c)](),_0x35e6b3;}});function _0x2d4173(_0x30de7f,_0x1cdd30,_0x3a3dce,_0x34ab3e,_0x46e8fc,_0x5739eb,_0x44f0fe){var _0x3a8b41=_0x30de7f+(_0x1cdd30&_0x3a3dce|~_0x1cdd30&_0x34ab3e)+_0x46e8fc+_0x44f0fe;return(_0x3a8b41<<_0x5739eb|_0x3a8b41>>>0x20-_0x5739eb)+_0x1cdd30;}function _0x5e6bdc(_0x1e9a24,_0x5c895c,_0x164375,_0x1b0a90,_0x56313f,_0x205d45,_0x5e3630){var _0x5caa77=_0x1e9a24+(_0x5c895c&_0x1b0a90|_0x164375&~_0x1b0a90)+_0x56313f+_0x5e3630;return(_0x5caa77<<_0x205d45|_0x5caa77>>>0x20-_0x205d45)+_0x5c895c;}function _0x4a62f6(_0x54d66a,_0x55b985,_0x51d299,_0x4ea7ca,_0x560a03,_0x10e486,_0x1fd3b3){var _0x28a3ac=_0x54d66a+(_0x55b985^_0x51d299^_0x4ea7ca)+_0x560a03+_0x1fd3b3;return(_0x28a3ac<<_0x10e486|_0x28a3ac>>>0x20-_0x10e486)+_0x55b985;}function _0x2c2f33(_0x4f2ed8,_0x336039,_0x2a9045,_0x525f0f,_0x36673f,_0xf5f2c9,_0x3756e5){var _0x3512a3=_0x4f2ed8+(_0x2a9045^(_0x336039|~_0x525f0f))+_0x36673f+_0x3756e5;return(_0x3512a3<<_0xf5f2c9|_0x3512a3>>>0x20-_0xf5f2c9)+_0x336039;}_0x4fbf50['MD5']=_0x107772[_0xf988ec(0x1ad)](_0x16d2c3),_0x4fbf50['HmacMD5']=_0x107772[_0xf988ec(0x156)](_0x16d2c3);}(Math),_0x3210c0[_0x4979f2(0x322)];}));}(Ke)),Ke[_0x24171b(0x16a)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x49793d(0x16a)],ti;function Hr(){var _0x597de9=_0x49793d;return ti||(ti=0x1,function(_0x122d27,_0x3e4828){(function(_0x78d87,_0x547842){var _0x397047=_0x4bee;_0x122d27[_0x397047(0x16a)]=_0x547842(ne());}($r,function(_0x99ea53){var _0xdacb5a=_0x4bee;return(function(){var _0x2ebe49=_0x4bee,_0x1d047d=_0x99ea53,_0x45178a=_0x1d047d[_0x2ebe49(0x22d)],_0x1c2798=_0x45178a[_0x2ebe49(0x328)],_0x31f40b=_0x45178a[_0x2ebe49(0x3e3)],_0x488f72=_0x1d047d[_0x2ebe49(0x24e)],_0x428881=[],_0x4941d5=_0x488f72['SHA1']=_0x31f40b[_0x2ebe49(0x1d6)]({'_doReset':function(){var _0x5a5895=_0x2ebe49;this[_0x5a5895(0x13b)]=new _0x1c2798[(_0x5a5895(0x25d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d01d2,_0x41f625){var _0x5a3adc=_0x2ebe49;for(var _0x71226a=this[_0x5a3adc(0x13b)]['words'],_0x25ac70=_0x71226a[0x0],_0x508053=_0x71226a[0x1],_0x596991=_0x71226a[0x2],_0x196272=_0x71226a[0x3],_0x8c30c2=_0x71226a[0x4],_0x10aede=0x0;_0x10aede<0x50;_0x10aede++){if(_0x10aede<0x10)_0x428881[_0x10aede]=_0x2d01d2[_0x41f625+_0x10aede]|0x0;else{var _0x580223=_0x428881[_0x10aede-0x3]^_0x428881[_0x10aede-0x8]^_0x428881[_0x10aede-0xe]^_0x428881[_0x10aede-0x10];_0x428881[_0x10aede]=_0x580223<<0x1|_0x580223>>>0x1f;}var _0x48eca5=(_0x25ac70<<0x5|_0x25ac70>>>0x1b)+_0x8c30c2+_0x428881[_0x10aede];_0x10aede<0x14?_0x48eca5+=(_0x508053&_0x596991|~_0x508053&_0x196272)+0x5a827999:_0x10aede<0x28?_0x48eca5+=(_0x508053^_0x596991^_0x196272)+0x6ed9eba1:_0x10aede<0x3c?_0x48eca5+=(_0x508053&_0x596991|_0x508053&_0x196272|_0x596991&_0x196272)-0x70e44324:_0x48eca5+=(_0x508053^_0x596991^_0x196272)-0x359d3e2a,_0x8c30c2=_0x196272,_0x196272=_0x596991,_0x596991=_0x508053<<0x1e|_0x508053>>>0x2,_0x508053=_0x25ac70,_0x25ac70=_0x48eca5;}_0x71226a[0x0]=_0x71226a[0x0]+_0x25ac70|0x0,_0x71226a[0x1]=_0x71226a[0x1]+_0x508053|0x0,_0x71226a[0x2]=_0x71226a[0x2]+_0x596991|0x0,_0x71226a[0x3]=_0x71226a[0x3]+_0x196272|0x0,_0x71226a[0x4]=_0x71226a[0x4]+_0x8c30c2|0x0;},'_doFinalize':function(){var _0x5f019e=_0x2ebe49,_0x4ce5c6=this[_0x5f019e(0x151)],_0x185371=_0x4ce5c6['words'],_0x58feb7=this[_0x5f019e(0x2dc)]*0x8,_0x25f00d=_0x4ce5c6[_0x5f019e(0x244)]*0x8;return _0x185371[_0x25f00d>>>0x5]|=0x80<<0x18-_0x25f00d%0x20,_0x185371[(_0x25f00d+0x40>>>0x9<<0x4)+0xe]=Math[_0x5f019e(0x173)](_0x58feb7/0x100000000),_0x185371[(_0x25f00d+0x40>>>0x9<<0x4)+0xf]=_0x58feb7,_0x4ce5c6[_0x5f019e(0x244)]=_0x185371[_0x5f019e(0x12f)]*0x4,this[_0x5f019e(0x40a)](),this[_0x5f019e(0x13b)];},'clone':function(){var _0x4b36f2=_0x2ebe49,_0x79e864=_0x31f40b[_0x4b36f2(0x15c)][_0x4b36f2(0x1bd)](this);return _0x79e864[_0x4b36f2(0x13b)]=this[_0x4b36f2(0x13b)]['clone'](),_0x79e864;}});_0x1d047d[_0x2ebe49(0x2ff)]=_0x31f40b['_createHelper'](_0x4941d5),_0x1d047d['HmacSHA1']=_0x31f40b['_createHmacHelper'](_0x4941d5);}()),_0x99ea53[_0xdacb5a(0x2ff)];}));}(qe)),qe[_0x597de9(0x16a)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x305871,_0x596365){(function(_0x4de659,_0x480f84){var _0x3f9378=_0x4bee;_0x305871[_0x3f9378(0x16a)]=_0x480f84(ne());}(kr,function(_0x2daa1b){(function(){var _0x394cdb=_0x4bee,_0xa281f9=_0x2daa1b,_0x42d6c1=_0xa281f9[_0x394cdb(0x22d)],_0x53922a=_0x42d6c1['Base'],_0x4cf24c=_0xa281f9[_0x394cdb(0x157)],_0x52ff86=_0x4cf24c[_0x394cdb(0x189)],_0x465414=_0xa281f9[_0x394cdb(0x24e)];_0x465414[_0x394cdb(0x26d)]=_0x53922a[_0x394cdb(0x1d6)]({'init':function(_0x4f3ca3,_0x51a55e){var _0x25c80f=_0x394cdb;_0x4f3ca3=this[_0x25c80f(0x2f4)]=new _0x4f3ca3[(_0x25c80f(0x25d))](),typeof _0x51a55e==_0x25c80f(0x198)&&(_0x51a55e=_0x52ff86[_0x25c80f(0x188)](_0x51a55e));var _0x42446a=_0x4f3ca3[_0x25c80f(0x292)],_0x4aac33=_0x42446a*0x4;_0x51a55e['sigBytes']>_0x4aac33&&(_0x51a55e=_0x4f3ca3[_0x25c80f(0x390)](_0x51a55e)),_0x51a55e['clamp']();for(var _0x25953e=this['_oKey']=_0x51a55e[_0x25c80f(0x15c)](),_0x3b6094=this[_0x25c80f(0x19d)]=_0x51a55e['clone'](),_0x3d0125=_0x25953e[_0x25c80f(0x314)],_0x2ac299=_0x3b6094['words'],_0x68c0d7=0x0;_0x68c0d7<_0x42446a;_0x68c0d7++)_0x3d0125[_0x68c0d7]^=0x5c5c5c5c,_0x2ac299[_0x68c0d7]^=0x36363636;_0x25953e[_0x25c80f(0x244)]=_0x3b6094['sigBytes']=_0x4aac33,this[_0x25c80f(0x3a4)]();},'reset':function(){var _0x4596cc=_0x394cdb,_0x486594=this[_0x4596cc(0x2f4)];_0x486594[_0x4596cc(0x3a4)](),_0x486594[_0x4596cc(0x3af)](this[_0x4596cc(0x19d)]);},'update':function(_0x43d950){var _0x13a938=_0x394cdb;return this[_0x13a938(0x2f4)][_0x13a938(0x3af)](_0x43d950),this;},'finalize':function(_0x2564f2){var _0x1b3863=_0x394cdb,_0x5b1890=this['_hasher'],_0x1e1d87=_0x5b1890[_0x1b3863(0x390)](_0x2564f2);_0x5b1890[_0x1b3863(0x3a4)]();var _0xafb6eb=_0x5b1890[_0x1b3863(0x390)](this['_oKey'][_0x1b3863(0x15c)]()[_0x1b3863(0x299)](_0x1e1d87));return _0xafb6eb;}});}());}));}(ze)),ze['exports'];}var Br=Ye['exports'],ni;function Ui(){var _0x472d11=_0x49793d;return ni||(ni=0x1,function(_0x138311,_0x538edd){(function(_0x9f7dbf,_0x3e983c,_0x5ddf87){_0x138311['exports']=_0x3e983c(ne(),Hr(),jr());}(Br,function(_0x266963){var _0x53441f=_0x4bee;return(function(){var _0x5a0e34=_0x4bee,_0x4d931e=_0x266963,_0x4f7833=_0x4d931e[_0x5a0e34(0x22d)],_0x41c717=_0x4f7833['Base'],_0x406791=_0x4f7833[_0x5a0e34(0x328)],_0x4fedd8=_0x4d931e['algo'],_0x6ba1e7=_0x4fedd8[_0x5a0e34(0x322)],_0x8dce4b=_0x4fedd8['EvpKDF']=_0x41c717[_0x5a0e34(0x1d6)]({'cfg':_0x41c717[_0x5a0e34(0x1d6)]({'keySize':0x80/0x20,'hasher':_0x6ba1e7,'iterations':0x1}),'init':function(_0x4dafcc){var _0xdfcc3a=_0x5a0e34;this[_0xdfcc3a(0x2e5)]=this[_0xdfcc3a(0x2e5)][_0xdfcc3a(0x1d6)](_0x4dafcc);},'compute':function(_0x46a2ed,_0x4d6f37){var _0x93c1e6=_0x5a0e34;for(var _0xf4649a,_0x30b20f=this['cfg'],_0xe803ef=_0x30b20f[_0x93c1e6(0x138)][_0x93c1e6(0x367)](),_0x4db380=_0x406791[_0x93c1e6(0x367)](),_0x287504=_0x4db380['words'],_0x251149=_0x30b20f[_0x93c1e6(0x116)],_0x5ce863=_0x30b20f['iterations'];_0x287504[_0x93c1e6(0x12f)]<_0x251149;){_0xf4649a&&_0xe803ef[_0x93c1e6(0x3af)](_0xf4649a),_0xf4649a=_0xe803ef[_0x93c1e6(0x3af)](_0x46a2ed)[_0x93c1e6(0x390)](_0x4d6f37),_0xe803ef['reset']();for(var _0x2cdd54=0x1;_0x2cdd54<_0x5ce863;_0x2cdd54++)_0xf4649a=_0xe803ef[_0x93c1e6(0x390)](_0xf4649a),_0xe803ef[_0x93c1e6(0x3a4)]();_0x4db380[_0x93c1e6(0x299)](_0xf4649a);}return _0x4db380[_0x93c1e6(0x244)]=_0x251149*0x4,_0x4db380;}});_0x4d931e['EvpKDF']=function(_0x50985f,_0x254237,_0x3211a4){var _0x47d116=_0x5a0e34;return _0x8dce4b['create'](_0x3211a4)[_0x47d116(0x15e)](_0x50985f,_0x254237);};}()),_0x266963[_0x53441f(0x14e)];}));}(Ye)),Ye[_0x472d11(0x16a)];}var Je={'exports':{}},Fr=Je[_0x49793d(0x16a)],ri;function Ai(){var _0x50608b=_0x49793d;return ri||(ri=0x1,function(_0x4acd51,_0x10f76){(function(_0x389bf4,_0x2a724c,_0x10b83c){var _0x2a5829=_0x4bee;_0x4acd51[_0x2a5829(0x16a)]=_0x2a724c(ne(),Ui());}(Fr,function(_0x3b9ba0){var _0x1a3c8e=_0x4bee;_0x3b9ba0['lib'][_0x1a3c8e(0x23a)]||function(_0x5d7dea){var _0x5df8c8=_0x1a3c8e,_0x42c056=_0x3b9ba0,_0x54acc2=_0x42c056[_0x5df8c8(0x22d)],_0x5141db=_0x54acc2[_0x5df8c8(0x3f4)],_0x513599=_0x54acc2[_0x5df8c8(0x328)],_0x4adf2e=_0x54acc2[_0x5df8c8(0x3e2)],_0x431754=_0x42c056[_0x5df8c8(0x157)];_0x431754['Utf8'];var _0x10bd79=_0x431754[_0x5df8c8(0x31a)],_0x5c6c4b=_0x42c056['algo'],_0x54d8e0=_0x5c6c4b[_0x5df8c8(0x14e)],_0x19b2ca=_0x54acc2[_0x5df8c8(0x23a)]=_0x4adf2e[_0x5df8c8(0x1d6)]({'cfg':_0x5141db['extend'](),'createEncryptor':function(_0x43f079,_0x2e3549){var _0x460dc9=_0x5df8c8;return this['create'](this[_0x460dc9(0x190)],_0x43f079,_0x2e3549);},'createDecryptor':function(_0x123e9f,_0x46ef65){var _0x17808e=_0x5df8c8;return this[_0x17808e(0x367)](this[_0x17808e(0x11f)],_0x123e9f,_0x46ef65);},'init':function(_0x5782d1,_0x15389f,_0x256650){var _0x2cb218=_0x5df8c8;this[_0x2cb218(0x2e5)]=this[_0x2cb218(0x2e5)][_0x2cb218(0x1d6)](_0x256650),this[_0x2cb218(0x3a1)]=_0x5782d1,this[_0x2cb218(0x3ae)]=_0x15389f,this[_0x2cb218(0x3a4)]();},'reset':function(){var _0x3c273d=_0x5df8c8;_0x4adf2e[_0x3c273d(0x3a4)]['call'](this),this[_0x3c273d(0x1fb)]();},'process':function(_0x3e68be){return this['_append'](_0x3e68be),this['_process']();},'finalize':function(_0x95350c){_0x95350c&&this['_append'](_0x95350c);var _0x159423=this['_doFinalize']();return _0x159423;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x116e6f(_0x576d47){return typeof _0x576d47=='string'?_0x4fce5a:_0x269372;}return function(_0x573bb2){return{'encrypt':function(_0x1ce654,_0x1968e4,_0x4464c3){return _0x116e6f(_0x1968e4)['encrypt'](_0x573bb2,_0x1ce654,_0x1968e4,_0x4464c3);},'decrypt':function(_0x2a8f1b,_0x1211b8,_0x248d4a){var _0x50a925=_0x4bee;return _0x116e6f(_0x1211b8)[_0x50a925(0x30a)](_0x573bb2,_0x2a8f1b,_0x1211b8,_0x248d4a);}};};}())});_0x54acc2[_0x5df8c8(0x3f9)]=_0x19b2ca['extend']({'_doFinalize':function(){var _0x931392=_0x5df8c8,_0x109a0f=this[_0x931392(0x40a)](!0x0);return _0x109a0f;},'blockSize':0x1});var _0x1acc10=_0x42c056['mode']={},_0x6fafd5=_0x54acc2[_0x5df8c8(0x11e)]=_0x5141db['extend']({'createEncryptor':function(_0xbccf78,_0x17c864){var _0x4e4565=_0x5df8c8;return this[_0x4e4565(0x410)][_0x4e4565(0x367)](_0xbccf78,_0x17c864);},'createDecryptor':function(_0x19c12f,_0x43cba1){var _0x333efa=_0x5df8c8;return this[_0x333efa(0x36e)][_0x333efa(0x367)](_0x19c12f,_0x43cba1);},'init':function(_0x28e874,_0x33785b){var _0x3de0f4=_0x5df8c8;this[_0x3de0f4(0x204)]=_0x28e874,this['_iv']=_0x33785b;}}),_0x2031e4=_0x1acc10[_0x5df8c8(0x1df)]=(function(){var _0x395359=_0x5df8c8,_0x1be6fe=_0x6fafd5['extend']();_0x1be6fe['Encryptor']=_0x1be6fe[_0x395359(0x1d6)]({'processBlock':function(_0x458f4c,_0x2cc2d0){var _0x3001f4=_0x395359,_0x569479=this[_0x3001f4(0x204)],_0x49566e=_0x569479[_0x3001f4(0x292)];_0x2cdffa[_0x3001f4(0x1bd)](this,_0x458f4c,_0x2cc2d0,_0x49566e),_0x569479[_0x3001f4(0x41a)](_0x458f4c,_0x2cc2d0),this[_0x3001f4(0x1e1)]=_0x458f4c[_0x3001f4(0x3f2)](_0x2cc2d0,_0x2cc2d0+_0x49566e);}}),_0x1be6fe['Decryptor']=_0x1be6fe[_0x395359(0x1d6)]({'processBlock':function(_0x4a9d03,_0x376f3a){var _0x18771e=_0x395359,_0x5e4a5a=this['_cipher'],_0x1ca523=_0x5e4a5a[_0x18771e(0x292)],_0x22bac7=_0x4a9d03['slice'](_0x376f3a,_0x376f3a+_0x1ca523);_0x5e4a5a[_0x18771e(0x123)](_0x4a9d03,_0x376f3a),_0x2cdffa[_0x18771e(0x1bd)](this,_0x4a9d03,_0x376f3a,_0x1ca523),this[_0x18771e(0x1e1)]=_0x22bac7;}});function _0x2cdffa(_0x4cb7c0,_0x57d625,_0x28ea97){var _0x28f650=_0x395359,_0x37b478,_0x3d35f2=this[_0x28f650(0x356)];_0x3d35f2?(_0x37b478=_0x3d35f2,this[_0x28f650(0x356)]=_0x5d7dea):_0x37b478=this[_0x28f650(0x1e1)];for(var _0x21dff6=0x0;_0x21dff6<_0x28ea97;_0x21dff6++)_0x4cb7c0[_0x57d625+_0x21dff6]^=_0x37b478[_0x21dff6];}return _0x1be6fe;}()),_0x267acb=_0x42c056[_0x5df8c8(0x369)]={},_0x59d3ae=_0x267acb[_0x5df8c8(0x2fb)]={'pad':function(_0x166ac6,_0x3bcfab){var _0x4f1bec=_0x5df8c8;for(var _0x4d1ddb=_0x3bcfab*0x4,_0x4f708e=_0x4d1ddb-_0x166ac6[_0x4f1bec(0x244)]%_0x4d1ddb,_0x185418=_0x4f708e<<0x18|_0x4f708e<<0x10|_0x4f708e<<0x8|_0x4f708e,_0x6519c4=[],_0x5029c5=0x0;_0x5029c5<_0x4f708e;_0x5029c5+=0x4)_0x6519c4[_0x4f1bec(0x3bf)](_0x185418);var _0x46fe22=_0x513599[_0x4f1bec(0x367)](_0x6519c4,_0x4f708e);_0x166ac6[_0x4f1bec(0x299)](_0x46fe22);},'unpad':function(_0x479329){var _0x47c032=_0x5df8c8,_0x351f29=_0x479329[_0x47c032(0x314)][_0x479329[_0x47c032(0x244)]-0x1>>>0x2]&0xff;_0x479329[_0x47c032(0x244)]-=_0x351f29;}};_0x54acc2[_0x5df8c8(0x21d)]=_0x19b2ca['extend']({'cfg':_0x19b2ca[_0x5df8c8(0x2e5)][_0x5df8c8(0x1d6)]({'mode':_0x2031e4,'padding':_0x59d3ae}),'reset':function(){var _0x4759b7=_0x5df8c8,_0xa8f61f;_0x19b2ca[_0x4759b7(0x3a4)][_0x4759b7(0x1bd)](this);var _0x179781=this[_0x4759b7(0x2e5)],_0x544029=_0x179781['iv'],_0x2a1676=_0x179781[_0x4759b7(0x18c)];this[_0x4759b7(0x3a1)]==this['_ENC_XFORM_MODE']?_0xa8f61f=_0x2a1676[_0x4759b7(0x2bc)]:(_0xa8f61f=_0x2a1676[_0x4759b7(0x2d7)],this[_0x4759b7(0x1b7)]=0x1),this[_0x4759b7(0x1ff)]&&this[_0x4759b7(0x1ff)]['__creator']==_0xa8f61f?this[_0x4759b7(0x1ff)][_0x4759b7(0x25d)](this,_0x544029&&_0x544029[_0x4759b7(0x314)]):(this[_0x4759b7(0x1ff)]=_0xa8f61f[_0x4759b7(0x1bd)](_0x2a1676,this,_0x544029&&_0x544029[_0x4759b7(0x314)]),this[_0x4759b7(0x1ff)]['__creator']=_0xa8f61f);},'_doProcessBlock':function(_0x1d023d,_0x3d8f79){var _0x1a6929=_0x5df8c8;this[_0x1a6929(0x1ff)][_0x1a6929(0x216)](_0x1d023d,_0x3d8f79);},'_doFinalize':function(){var _0x9ca393=_0x5df8c8,_0x54962f,_0x4fda47=this[_0x9ca393(0x2e5)][_0x9ca393(0x2f6)];return this[_0x9ca393(0x3a1)]==this[_0x9ca393(0x190)]?(_0x4fda47[_0x9ca393(0x369)](this[_0x9ca393(0x151)],this[_0x9ca393(0x292)]),_0x54962f=this[_0x9ca393(0x40a)](!0x0)):(_0x54962f=this[_0x9ca393(0x40a)](!0x0),_0x4fda47[_0x9ca393(0x1dc)](_0x54962f)),_0x54962f;},'blockSize':0x80/0x20});var _0x172158=_0x54acc2[_0x5df8c8(0x113)]=_0x5141db[_0x5df8c8(0x1d6)]({'init':function(_0x51bc5b){var _0x13c290=_0x5df8c8;this[_0x13c290(0x11d)](_0x51bc5b);},'toString':function(_0x2aafee){var _0x1ba603=_0x5df8c8;return(_0x2aafee||this[_0x1ba603(0x3ef)])[_0x1ba603(0x142)](this);}}),_0x190099=_0x42c056[_0x5df8c8(0x195)]={},_0x26d3d6=_0x190099[_0x5df8c8(0x2e7)]={'stringify':function(_0x1cd9d7){var _0x46d2d4=_0x5df8c8,_0x194ec7,_0x44b264=_0x1cd9d7[_0x46d2d4(0x2a7)],_0x3daa51=_0x1cd9d7[_0x46d2d4(0x2af)];return _0x3daa51?_0x194ec7=_0x513599['create']([0x53616c74,0x65645f5f])[_0x46d2d4(0x299)](_0x3daa51)[_0x46d2d4(0x299)](_0x44b264):_0x194ec7=_0x44b264,_0x194ec7[_0x46d2d4(0x3c4)](_0x10bd79);},'parse':function(_0x5a67e5){var _0x311189=_0x5df8c8,_0x25794d,_0x3c516a=_0x10bd79[_0x311189(0x188)](_0x5a67e5),_0x499fa3=_0x3c516a[_0x311189(0x314)];return _0x499fa3[0x0]==0x53616c74&&_0x499fa3[0x1]==0x65645f5f&&(_0x25794d=_0x513599[_0x311189(0x367)](_0x499fa3[_0x311189(0x3f2)](0x2,0x4)),_0x499fa3['splice'](0x0,0x4),_0x3c516a[_0x311189(0x244)]-=0x10),_0x172158[_0x311189(0x367)]({'ciphertext':_0x3c516a,'salt':_0x25794d});}},_0x269372=_0x54acc2[_0x5df8c8(0x2c1)]=_0x5141db[_0x5df8c8(0x1d6)]({'cfg':_0x5141db[_0x5df8c8(0x1d6)]({'format':_0x26d3d6}),'encrypt':function(_0x585e68,_0x2a2f77,_0x12b2cb,_0xbe0ba4){var _0x534d9d=_0x5df8c8;_0xbe0ba4=this[_0x534d9d(0x2e5)][_0x534d9d(0x1d6)](_0xbe0ba4);var _0x2a1883=_0x585e68[_0x534d9d(0x2bc)](_0x12b2cb,_0xbe0ba4),_0x275740=_0x2a1883[_0x534d9d(0x390)](_0x2a2f77),_0x5072d6=_0x2a1883[_0x534d9d(0x2e5)];return _0x172158['create']({'ciphertext':_0x275740,'key':_0x12b2cb,'iv':_0x5072d6['iv'],'algorithm':_0x585e68,'mode':_0x5072d6['mode'],'padding':_0x5072d6['padding'],'blockSize':_0x585e68[_0x534d9d(0x292)],'formatter':_0xbe0ba4[_0x534d9d(0x195)]});},'decrypt':function(_0x4e3b65,_0x5dc3a7,_0x5aed44,_0x3d83ca){var _0x36d660=_0x5df8c8;_0x3d83ca=this[_0x36d660(0x2e5)]['extend'](_0x3d83ca),_0x5dc3a7=this[_0x36d660(0x35c)](_0x5dc3a7,_0x3d83ca['format']);var _0x3afecb=_0x4e3b65[_0x36d660(0x2d7)](_0x5aed44,_0x3d83ca)[_0x36d660(0x390)](_0x5dc3a7['ciphertext']);return _0x3afecb;},'_parse':function(_0x4c5a40,_0x126fe4){var _0x59ec4c=_0x5df8c8;return typeof _0x4c5a40==_0x59ec4c(0x198)?_0x126fe4[_0x59ec4c(0x188)](_0x4c5a40,this):_0x4c5a40;}}),_0x492e46=_0x42c056[_0x5df8c8(0x403)]={},_0x23a242=_0x492e46[_0x5df8c8(0x2e7)]={'execute':function(_0x5603d1,_0x16dc65,_0x271c61,_0x5d9af0,_0x9ba3c2){var _0xf6d93f=_0x5df8c8;if(_0x5d9af0||(_0x5d9af0=_0x513599['random'](0x40/0x8)),_0x9ba3c2)var _0xe2200b=_0x54d8e0['create']({'keySize':_0x16dc65+_0x271c61,'hasher':_0x9ba3c2})['compute'](_0x5603d1,_0x5d9af0);else var _0xe2200b=_0x54d8e0[_0xf6d93f(0x367)]({'keySize':_0x16dc65+_0x271c61})[_0xf6d93f(0x15e)](_0x5603d1,_0x5d9af0);var _0x2a92a2=_0x513599[_0xf6d93f(0x367)](_0xe2200b[_0xf6d93f(0x314)][_0xf6d93f(0x3f2)](_0x16dc65),_0x271c61*0x4);return _0xe2200b[_0xf6d93f(0x244)]=_0x16dc65*0x4,_0x172158[_0xf6d93f(0x367)]({'key':_0xe2200b,'iv':_0x2a92a2,'salt':_0x5d9af0});}},_0x4fce5a=_0x54acc2['PasswordBasedCipher']=_0x269372['extend']({'cfg':_0x269372[_0x5df8c8(0x2e5)]['extend']({'kdf':_0x23a242}),'encrypt':function(_0x3123f2,_0x39bcc3,_0x416c3f,_0x4a4000){var _0x29bd40=_0x5df8c8;_0x4a4000=this[_0x29bd40(0x2e5)][_0x29bd40(0x1d6)](_0x4a4000);var _0x26b879=_0x4a4000[_0x29bd40(0x403)][_0x29bd40(0x3f3)](_0x416c3f,_0x3123f2[_0x29bd40(0x116)],_0x3123f2[_0x29bd40(0x11b)],_0x4a4000[_0x29bd40(0x2af)],_0x4a4000[_0x29bd40(0x138)]);_0x4a4000['iv']=_0x26b879['iv'];var _0x256df1=_0x269372['encrypt'][_0x29bd40(0x1bd)](this,_0x3123f2,_0x39bcc3,_0x26b879[_0x29bd40(0x3b2)],_0x4a4000);return _0x256df1['mixIn'](_0x26b879),_0x256df1;},'decrypt':function(_0x2618cb,_0x57b28e,_0x4354dc,_0x271b11){var _0x3ab83e=_0x5df8c8;_0x271b11=this['cfg']['extend'](_0x271b11),_0x57b28e=this[_0x3ab83e(0x35c)](_0x57b28e,_0x271b11['format']);var _0x498290=_0x271b11['kdf'][_0x3ab83e(0x3f3)](_0x4354dc,_0x2618cb[_0x3ab83e(0x116)],_0x2618cb[_0x3ab83e(0x11b)],_0x57b28e[_0x3ab83e(0x2af)],_0x271b11[_0x3ab83e(0x138)]);_0x271b11['iv']=_0x498290['iv'];var _0xbe4a6f=_0x269372[_0x3ab83e(0x30a)][_0x3ab83e(0x1bd)](this,_0x2618cb,_0x57b28e,_0x498290[_0x3ab83e(0x3b2)],_0x271b11);return _0xbe4a6f;}});}();}));}(Je)),Je[_0x50608b(0x16a)];}var Vr=Ve[_0x49793d(0x16a)],si;function Gr(){return si||(si=0x1,function(_0x34c9a1,_0x2c4ab7){(function(_0x35794e,_0x27f358,_0x100146){var _0x5b222b=_0x4bee;_0x34c9a1[_0x5b222b(0x16a)]=_0x27f358(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2f970b){return(function(){var _0x5d83fb=_0x4bee,_0x265d31=_0x2f970b,_0x584e3a=_0x265d31[_0x5d83fb(0x22d)],_0x279bc9=_0x584e3a['BlockCipher'],_0x474b47=_0x265d31['algo'],_0x58051f=[],_0x2ed79a=[],_0x4b1110=[],_0x15bb6a=[],_0x1a26b1=[],_0x272546=[],_0x1fc516=[],_0x3739e5=[],_0x496e10=[],_0x2d0035=[];(function(){for(var _0x544974=[],_0xe6dcc5=0x0;_0xe6dcc5<0x100;_0xe6dcc5++)_0xe6dcc5<0x80?_0x544974[_0xe6dcc5]=_0xe6dcc5<<0x1:_0x544974[_0xe6dcc5]=_0xe6dcc5<<0x1^0x11b;for(var _0x5d3fcc=0x0,_0x4cbb89=0x0,_0xe6dcc5=0x0;_0xe6dcc5<0x100;_0xe6dcc5++){var _0x3f701a=_0x4cbb89^_0x4cbb89<<0x1^_0x4cbb89<<0x2^_0x4cbb89<<0x3^_0x4cbb89<<0x4;_0x3f701a=_0x3f701a>>>0x8^_0x3f701a&0xff^0x63,_0x58051f[_0x5d3fcc]=_0x3f701a,_0x2ed79a[_0x3f701a]=_0x5d3fcc;var _0x9384dc=_0x544974[_0x5d3fcc],_0x458944=_0x544974[_0x9384dc],_0x198430=_0x544974[_0x458944],_0x29c955=_0x544974[_0x3f701a]*0x101^_0x3f701a*0x1010100;_0x4b1110[_0x5d3fcc]=_0x29c955<<0x18|_0x29c955>>>0x8,_0x15bb6a[_0x5d3fcc]=_0x29c955<<0x10|_0x29c955>>>0x10,_0x1a26b1[_0x5d3fcc]=_0x29c955<<0x8|_0x29c955>>>0x18,_0x272546[_0x5d3fcc]=_0x29c955;var _0x29c955=_0x198430*0x1010101^_0x458944*0x10001^_0x9384dc*0x101^_0x5d3fcc*0x1010100;_0x1fc516[_0x3f701a]=_0x29c955<<0x18|_0x29c955>>>0x8,_0x3739e5[_0x3f701a]=_0x29c955<<0x10|_0x29c955>>>0x10,_0x496e10[_0x3f701a]=_0x29c955<<0x8|_0x29c955>>>0x18,_0x2d0035[_0x3f701a]=_0x29c955,_0x5d3fcc?(_0x5d3fcc=_0x9384dc^_0x544974[_0x544974[_0x544974[_0x198430^_0x9384dc]]],_0x4cbb89^=_0x544974[_0x544974[_0x4cbb89]]):_0x5d3fcc=_0x4cbb89=0x1;}}());var _0x19d504=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27c5ed=_0x474b47[_0x5d83fb(0x1d3)]=_0x279bc9[_0x5d83fb(0x1d6)]({'_doReset':function(){var _0x37b043=_0x5d83fb,_0x9032cd;if(!(this[_0x37b043(0x3d4)]&&this[_0x37b043(0x2a1)]===this['_key'])){for(var _0x5eb2d7=this[_0x37b043(0x2a1)]=this[_0x37b043(0x3ae)],_0x359298=_0x5eb2d7[_0x37b043(0x314)],_0x2ca011=_0x5eb2d7[_0x37b043(0x244)]/0x4,_0x585b36=this['_nRounds']=_0x2ca011+0x6,_0x4847dd=(_0x585b36+0x1)*0x4,_0x482c4e=this['_keySchedule']=[],_0x865978=0x0;_0x865978<_0x4847dd;_0x865978++)_0x865978<_0x2ca011?_0x482c4e[_0x865978]=_0x359298[_0x865978]:(_0x9032cd=_0x482c4e[_0x865978-0x1],_0x865978%_0x2ca011?_0x2ca011>0x6&&_0x865978%_0x2ca011==0x4&&(_0x9032cd=_0x58051f[_0x9032cd>>>0x18]<<0x18|_0x58051f[_0x9032cd>>>0x10&0xff]<<0x10|_0x58051f[_0x9032cd>>>0x8&0xff]<<0x8|_0x58051f[_0x9032cd&0xff]):(_0x9032cd=_0x9032cd<<0x8|_0x9032cd>>>0x18,_0x9032cd=_0x58051f[_0x9032cd>>>0x18]<<0x18|_0x58051f[_0x9032cd>>>0x10&0xff]<<0x10|_0x58051f[_0x9032cd>>>0x8&0xff]<<0x8|_0x58051f[_0x9032cd&0xff],_0x9032cd^=_0x19d504[_0x865978/_0x2ca011|0x0]<<0x18),_0x482c4e[_0x865978]=_0x482c4e[_0x865978-_0x2ca011]^_0x9032cd);for(var _0x2179de=this[_0x37b043(0x33c)]=[],_0x2ec05a=0x0;_0x2ec05a<_0x4847dd;_0x2ec05a++){var _0x865978=_0x4847dd-_0x2ec05a;if(_0x2ec05a%0x4)var _0x9032cd=_0x482c4e[_0x865978];else var _0x9032cd=_0x482c4e[_0x865978-0x4];_0x2ec05a<0x4||_0x865978<=0x4?_0x2179de[_0x2ec05a]=_0x9032cd:_0x2179de[_0x2ec05a]=_0x1fc516[_0x58051f[_0x9032cd>>>0x18]]^_0x3739e5[_0x58051f[_0x9032cd>>>0x10&0xff]]^_0x496e10[_0x58051f[_0x9032cd>>>0x8&0xff]]^_0x2d0035[_0x58051f[_0x9032cd&0xff]];}}},'encryptBlock':function(_0x4eda9d,_0x1526fa){var _0x5c006e=_0x5d83fb;this['_doCryptBlock'](_0x4eda9d,_0x1526fa,this[_0x5c006e(0x40b)],_0x4b1110,_0x15bb6a,_0x1a26b1,_0x272546,_0x58051f);},'decryptBlock':function(_0x2c410a,_0x5ab158){var _0x1e20f4=_0x5d83fb,_0x33d4bf=_0x2c410a[_0x5ab158+0x1];_0x2c410a[_0x5ab158+0x1]=_0x2c410a[_0x5ab158+0x3],_0x2c410a[_0x5ab158+0x3]=_0x33d4bf,this['_doCryptBlock'](_0x2c410a,_0x5ab158,this[_0x1e20f4(0x33c)],_0x1fc516,_0x3739e5,_0x496e10,_0x2d0035,_0x2ed79a);var _0x33d4bf=_0x2c410a[_0x5ab158+0x1];_0x2c410a[_0x5ab158+0x1]=_0x2c410a[_0x5ab158+0x3],_0x2c410a[_0x5ab158+0x3]=_0x33d4bf;},'_doCryptBlock':function(_0x35d053,_0xf3e04,_0x4ee8c8,_0x2404c4,_0x124044,_0x520eba,_0x36ceb0,_0x11361d){var _0x375a48=_0x5d83fb;for(var _0x59f18f=this[_0x375a48(0x3d4)],_0x56d36e=_0x35d053[_0xf3e04]^_0x4ee8c8[0x0],_0x1364bf=_0x35d053[_0xf3e04+0x1]^_0x4ee8c8[0x1],_0x3ff7a5=_0x35d053[_0xf3e04+0x2]^_0x4ee8c8[0x2],_0x480a99=_0x35d053[_0xf3e04+0x3]^_0x4ee8c8[0x3],_0x14adbf=0x4,_0x5630d1=0x1;_0x5630d1<_0x59f18f;_0x5630d1++){var _0x46a771=_0x2404c4[_0x56d36e>>>0x18]^_0x124044[_0x1364bf>>>0x10&0xff]^_0x520eba[_0x3ff7a5>>>0x8&0xff]^_0x36ceb0[_0x480a99&0xff]^_0x4ee8c8[_0x14adbf++],_0x50ffff=_0x2404c4[_0x1364bf>>>0x18]^_0x124044[_0x3ff7a5>>>0x10&0xff]^_0x520eba[_0x480a99>>>0x8&0xff]^_0x36ceb0[_0x56d36e&0xff]^_0x4ee8c8[_0x14adbf++],_0x233c03=_0x2404c4[_0x3ff7a5>>>0x18]^_0x124044[_0x480a99>>>0x10&0xff]^_0x520eba[_0x56d36e>>>0x8&0xff]^_0x36ceb0[_0x1364bf&0xff]^_0x4ee8c8[_0x14adbf++],_0x287bbd=_0x2404c4[_0x480a99>>>0x18]^_0x124044[_0x56d36e>>>0x10&0xff]^_0x520eba[_0x1364bf>>>0x8&0xff]^_0x36ceb0[_0x3ff7a5&0xff]^_0x4ee8c8[_0x14adbf++];_0x56d36e=_0x46a771,_0x1364bf=_0x50ffff,_0x3ff7a5=_0x233c03,_0x480a99=_0x287bbd;}var _0x46a771=(_0x11361d[_0x56d36e>>>0x18]<<0x18|_0x11361d[_0x1364bf>>>0x10&0xff]<<0x10|_0x11361d[_0x3ff7a5>>>0x8&0xff]<<0x8|_0x11361d[_0x480a99&0xff])^_0x4ee8c8[_0x14adbf++],_0x50ffff=(_0x11361d[_0x1364bf>>>0x18]<<0x18|_0x11361d[_0x3ff7a5>>>0x10&0xff]<<0x10|_0x11361d[_0x480a99>>>0x8&0xff]<<0x8|_0x11361d[_0x56d36e&0xff])^_0x4ee8c8[_0x14adbf++],_0x233c03=(_0x11361d[_0x3ff7a5>>>0x18]<<0x18|_0x11361d[_0x480a99>>>0x10&0xff]<<0x10|_0x11361d[_0x56d36e>>>0x8&0xff]<<0x8|_0x11361d[_0x1364bf&0xff])^_0x4ee8c8[_0x14adbf++],_0x287bbd=(_0x11361d[_0x480a99>>>0x18]<<0x18|_0x11361d[_0x56d36e>>>0x10&0xff]<<0x10|_0x11361d[_0x1364bf>>>0x8&0xff]<<0x8|_0x11361d[_0x3ff7a5&0xff])^_0x4ee8c8[_0x14adbf++];_0x35d053[_0xf3e04]=_0x46a771,_0x35d053[_0xf3e04+0x1]=_0x50ffff,_0x35d053[_0xf3e04+0x2]=_0x233c03,_0x35d053[_0xf3e04+0x3]=_0x287bbd;},'keySize':0x100/0x20});_0x265d31[_0x5d83fb(0x1d3)]=_0x279bc9['_createHelper'](_0x27c5ed);}()),_0x2f970b['AES'];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x49793d(0x16a)],ai;function zr(){var _0x22915b=_0x49793d;return ai||(ai=0x1,function(_0x3429cd,_0x53fca5){(function(_0x41b02b,_0x544b40){var _0x2bdb1c=_0x4bee;_0x3429cd[_0x2bdb1c(0x16a)]=_0x544b40(ne());}(qr,function(_0x1775a8){var _0x8e762e=_0x4bee;return _0x1775a8['enc'][_0x8e762e(0x189)];}));}(Xe)),Xe[_0x22915b(0x16a)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x387535,_0x25aabf){(function(_0x45372a,_0x33a55e){var _0x39b885=_0x4bee;_0x387535[_0x39b885(0x16a)]=_0x33a55e(ne());}(Zr,function(_0x9359a9){var _0x55935b=_0x4bee;return(function(){var _0x57484d=_0x4bee;if(typeof ArrayBuffer==_0x57484d(0x230)){var _0x693400=_0x9359a9,_0x353e58=_0x693400[_0x57484d(0x22d)],_0x592fee=_0x353e58[_0x57484d(0x328)],_0x43c883=_0x592fee[_0x57484d(0x25d)],_0x3cb42b=_0x592fee[_0x57484d(0x25d)]=function(_0x12b886){var _0x134aa9=_0x57484d;if(_0x12b886 instanceof ArrayBuffer&&(_0x12b886=new Uint8Array(_0x12b886)),(_0x12b886 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12b886 instanceof Uint8ClampedArray||_0x12b886 instanceof Int16Array||_0x12b886 instanceof Uint16Array||_0x12b886 instanceof Int32Array||_0x12b886 instanceof Uint32Array||_0x12b886 instanceof Float32Array||_0x12b886 instanceof Float64Array)&&(_0x12b886=new Uint8Array(_0x12b886[_0x134aa9(0x365)],_0x12b886['byteOffset'],_0x12b886['byteLength'])),_0x12b886 instanceof Uint8Array){for(var _0x506282=_0x12b886['byteLength'],_0x4ad5f5=[],_0x466536=0x0;_0x466536<_0x506282;_0x466536++)_0x4ad5f5[_0x466536>>>0x2]|=_0x12b886[_0x466536]<<0x18-_0x466536%0x4*0x8;_0x43c883[_0x134aa9(0x1bd)](this,_0x4ad5f5,_0x506282);}else _0x43c883['apply'](this,arguments);};_0x3cb42b[_0x57484d(0x330)]=_0x592fee;}}()),_0x9359a9['lib'][_0x55935b(0x328)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x2fb776=_0x49793d;return hi||(hi=0x1,function(_0x5ad713,_0x27bf3a){(function(_0x445e63,_0x45e0e1,_0x19ad16){var _0x260db7=_0x4bee;_0x5ad713[_0x260db7(0x16a)]=_0x45e0e1(ne(),Ai());}(is,function(_0x458cdc){var _0x1f25fd=_0x4bee;return _0x458cdc['pad'][_0x1f25fd(0x256)]={'pad':function(){},'unpad':function(){}},_0x458cdc['pad'][_0x1f25fd(0x256)];}));}(Qe)),Qe[_0x2fb776(0x16a)];}var rs=ns();const ss=ke(rs);function os(_0x5da380,_0x198b04){var _0x3edad1=_0x49793d;const _0x2ec1e8=_0x198b04-_0x5da380[_0x3edad1(0x12f)]%_0x198b04,_0x43ef29=String[_0x3edad1(0x235)](_0x2ec1e8)[_0x3edad1(0x165)](_0x2ec1e8);return _0x5da380+_0x43ef29;}function as(_0x3841ea,_0x4e5d1a){var _0x1ebc75=_0x49793d;const _0x4d8a2c=ts[_0x1ebc75(0x3e6)](0x10),_0x38316a=os(_0x3841ea,0x10),_0x2631d2=Kr[_0x1ebc75(0x382)](Xr[_0x1ebc75(0x188)](_0x38316a),oi[_0x1ebc75(0x188)](_0x4e5d1a),{'iv':_0x4d8a2c,'padding':ss});return _0x4d8a2c['concat'](_0x2631d2[_0x1ebc75(0x2a7)])[_0x1ebc75(0x3c4)](oi);}function cs(){var _0x1bfd01=_0x49793d;const _0x27378a=_0x3c65aa()[_0x1bfd01(0x34c)];if(_0x27378a){const _0x2b1a88={'time':Math[_0x1bfd01(0x173)](Date[_0x1bfd01(0x1b8)]()/0x3e8),'domain':location['hostname']};return as(JSON['stringify'](_0x2b1a88),_0x27378a);}}var hs=Object[_0x49793d(0x2b7)],_s=Object[_0x49793d(0x2fc)],ls=(_0x2cf3b6,_0x7906c7,_0x23a21f,_0x20b701)=>{var _0x2931cd=_0x49793d;for(var _0x3d7da1=_0x20b701>0x1?void 0x0:_0x20b701?_s(_0x7906c7,_0x23a21f):_0x7906c7,_0x356296=_0x2cf3b6[_0x2931cd(0x12f)]-0x1,_0x10d3f0;_0x356296>=0x0;_0x356296--)(_0x10d3f0=_0x2cf3b6[_0x356296])&&(_0x3d7da1=(_0x20b701?_0x10d3f0(_0x7906c7,_0x23a21f,_0x3d7da1):_0x10d3f0(_0x3d7da1))||_0x3d7da1);return _0x20b701&&_0x3d7da1&&hs(_0x7906c7,_0x23a21f,_0x3d7da1),_0x3d7da1;},us=(_0x109fd6,_0x4bd426)=>(_0x5367d9,_0x3a9310)=>_0x4bd426(_0x5367d9,_0x3a9310,_0x109fd6);let ot=class{constructor(_0x42fc87){var _0x7928d3=_0x49793d;this[_0x7928d3(0x206)]=_0x42fc87,this['_initRequestHeader']();}[_0x49793d(0x2e3)](){var _0x3a05ce=_0x49793d;this[_0x3a05ce(0x206)][_0x3a05ce(0x1e7)]({'interceptor':(_0x21b437,_0x16eab1)=>{var _0x38325f=_0x3a05ce;const _0x219f31=_0x21b437[_0x38325f(0x398)],_0x5a5ddf=cs();return _0x5a5ddf&&_0x219f31[_0x38325f(0x12e)](_0x38325f(0x40d),_0x5a5ddf),_0x16eab1(_0x21b437);}});}};ot=ls([us(0x0,_0x385788(_0x140e67))],ot);var ds=Object[_0x49793d(0x2b7)],fs=Object[_0x49793d(0x2fc)],vs=(_0x164cc6,_0x430ab6,_0x218713,_0x59cc8f)=>{var _0x179c26=_0x49793d;for(var _0x135564=_0x59cc8f>0x1?void 0x0:_0x59cc8f?fs(_0x430ab6,_0x218713):_0x430ab6,_0x224a0c=_0x164cc6[_0x179c26(0x12f)]-0x1,_0x4a19a4;_0x224a0c>=0x0;_0x224a0c--)(_0x4a19a4=_0x164cc6[_0x224a0c])&&(_0x135564=(_0x59cc8f?_0x4a19a4(_0x430ab6,_0x218713,_0x135564):_0x4a19a4(_0x135564))||_0x135564);return _0x59cc8f&&_0x135564&&ds(_0x430ab6,_0x218713,_0x135564),_0x135564;},mt=(_0x7ff17f,_0x2cd5a9)=>(_0x598a45,_0x2c7fe0)=>_0x2cd5a9(_0x598a45,_0x2c7fe0,_0x7ff17f);let Ot=class extends _0x366443{constructor(_0xc28220,_0xf0ff73,_0x56d1c5){var _0x1c0fed=_0x49793d;super(),N(this,'_unitInfo$',new _0x2c2109(null)),N(this,_0x1c0fed(0x162),this[_0x1c0fed(0x253)][_0x1c0fed(0x1c6)]()),(this[_0x1c0fed(0x172)]=_0xc28220,this['_snapshotService']=_0xf0ff73,this['_localCacheService']=_0x56d1c5);}async[_0x49793d(0x334)](_0x30fcb3,_0x25772d,_0x158315){var _0x3f0731=_0x49793d;this[_0x3f0731(0x253)]['next']({'unitId':_0x30fcb3,'type':_0x25772d,'subUnitId':_0x158315});let _0x5c89ca=null;switch(_0x25772d){case Q[_0x3f0731(0x305)]:{_0x5c89ca=await this[_0x3f0731(0x36a)](_0x30fcb3);break;}case Q[_0x3f0731(0x281)]:{_0x5c89ca=await this[_0x3f0731(0x24c)](_0x30fcb3);break;}default:{this['_logService'][_0x3f0731(0x2a6)](_0x3f0731(0x3b5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5c89ca;}async[_0x49793d(0x36a)](_0x3c09f2){var _0x5b15f0=_0x49793d,_0x3bee71;let _0x10e057=0x0;const _0x17989b=await((_0x3bee71=this[_0x5b15f0(0x38a)])==null?void 0x0:_0x3bee71['loadOfflineData'](_0x3c09f2));return _0x17989b&&(_0x17989b['awaitingChangeset']||_0x17989b[_0x5b15f0(0x261)]['length']!==0x0)&&(_0x10e057=_0x17989b[_0x5b15f0(0x3a7)]),_0x10e057===0x0&&this['_logService']['debug'](_0x5b15f0(0x3b5),_0x5b15f0(0x267)),this[_0x5b15f0(0x164)][_0x5b15f0(0x18e)](_0x3c09f2,_0x10e057);}async[_0x49793d(0x24c)](_0x1e4e92){var _0x52f40c=_0x49793d,_0x56d868;let _0x55a90a=0x0;const _0x21c6ac=await((_0x56d868=this[_0x52f40c(0x38a)])==null?void 0x0:_0x56d868[_0x52f40c(0x12b)](_0x1e4e92));return _0x21c6ac&&(_0x21c6ac[_0x52f40c(0x240)]||_0x21c6ac[_0x52f40c(0x261)][_0x52f40c(0x12f)]!==0x0)&&(_0x55a90a=_0x21c6ac[_0x52f40c(0x3a7)]),_0x55a90a===0x0&&this[_0x52f40c(0x172)][_0x52f40c(0x31d)]('[DataLoaderService]',_0x52f40c(0x267)),this[_0x52f40c(0x164)]['loadDoc'](_0x1e4e92,_0x55a90a);}};Ot=vs([mt(0x0,_0x1b7927),mt(0x1,_0x385788(_0x41462f)),mt(0x2,_0xd81374(J))],Ot);var ps=Object[_0x49793d(0x2b7)],ms=Object[_0x49793d(0x2fc)],gs=(_0x326aa2,_0x41aa80,_0x2637f9,_0x166883)=>{var _0x1b464f=_0x49793d;for(var _0x32a13e=_0x166883>0x1?void 0x0:_0x166883?ms(_0x41aa80,_0x2637f9):_0x41aa80,_0x72119e=_0x326aa2[_0x1b464f(0x12f)]-0x1,_0x2c9870;_0x72119e>=0x0;_0x72119e--)(_0x2c9870=_0x326aa2[_0x72119e])&&(_0x32a13e=(_0x166883?_0x2c9870(_0x41aa80,_0x2637f9,_0x32a13e):_0x2c9870(_0x32a13e))||_0x32a13e);return _0x166883&&_0x32a13e&&ps(_0x41aa80,_0x2637f9,_0x32a13e),_0x32a13e;},gt=(_0x29c367,_0x12e832)=>(_0x35cba8,_0x4037af)=>_0x12e832(_0x35cba8,_0x4037af,_0x29c367);const Ss=[_0x49793d(0x20a),_0x49793d(0x31e),'image/jpg',_0x49793d(0x1ab),_0x49793d(0x1a4)],Es=0x5*0x400*0x400,Is=_0x49793d(0x287),Ts=_0x49793d(0x30f),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x49793d(0x2fd);let yt=class{constructor(_0x262d19,_0x5b89eb,_0xe9676){var _0x492db8=_0x49793d;N(this,_0x492db8(0x391),0x0),N(this,_0x492db8(0x22a),new _0x2e441e()),N(this,'change$',this[_0x492db8(0x22a)]),N(this,_0x492db8(0x393),new Map()),(this['_httpService']=_0x262d19,this['_configService']=_0x5b89eb,this[_0x492db8(0x3fa)]=_0xe9676);}[_0x49793d(0x182)](_0x30386d){var _0x145797=_0x49793d;this[_0x145797(0x391)]=_0x30386d,this[_0x145797(0x22a)][_0x145797(0x33d)](_0x30386d);}[_0x49793d(0x2ce)](_0x56de3a,_0x524ca9){var _0x869398=_0x49793d;if(_0x524ca9===_0x1b2324[_0x869398(0x3bc)]){const _0x9b6c7c=new Image();return _0x9b6c7c[_0x869398(0x37e)]=_0x56de3a,_0x9b6c7c;}return this['_imageSourceCache'][_0x869398(0x2c8)](_0x56de3a);}[_0x49793d(0x2f7)](_0x47b58f,_0x40a528,_0x5b22d8){var _0x56cb80=_0x49793d;_0x40a528===_0x1b2324[_0x56cb80(0x3bc)]||_0x5b22d8==null||this[_0x56cb80(0x393)][_0x56cb80(0x12e)](_0x47b58f,_0x5b22d8);}async[_0x49793d(0x411)](_0x19e536){var _0x249b8b=_0x49793d;try{const _0x3e0584=this[_0x249b8b(0x2d8)](this[_0x249b8b(0x21b)](),''+_0x19e536),_0x18e60e=(await this[_0x249b8b(0x206)][_0x249b8b(0x2c8)](_0x3e0584))['body'];if(_0x18e60e['error']&&_0x18e60e['error'][_0x249b8b(0x284)]===Ii['OK']){const _0x53b42a=new URL(_0x18e60e[_0x249b8b(0x169)],this[_0x249b8b(0x373)]())[_0x249b8b(0x3c4)]();return Promise[_0x249b8b(0x33f)](_0x53b42a);}return Promise[_0x249b8b(0x340)](_0x18e60e['error']);}catch(_0x87550d){return Promise[_0x249b8b(0x340)](_0x87550d);}}async[_0x49793d(0x1d9)](_0x36cbb5){var _0x11b385=_0x49793d;let _0x40eb37='';if(!Ss[_0x11b385(0x33a)](_0x36cbb5[_0x11b385(0x1a8)]))return this[_0x11b385(0x17c)](),Promise[_0x11b385(0x340)](new Error(_0x172a02[_0x11b385(0x30e)]));if(_0x36cbb5[_0x11b385(0x117)]>Es)return this['_decreaseWaiting'](),Promise[_0x11b385(0x340)](new Error(_0x172a02[_0x11b385(0x178)]));try{const _0x51b582=new FormData();_0x51b582[_0x11b385(0x12a)](_0x11b385(0x161),_0x36cbb5);const _0x50b28c=this[_0x11b385(0x3fa)][_0x11b385(0x1b6)](),_0x249cb5=_0x50b28c==null?void 0x0:_0x50b28c['getUnitId']();if(!_0x249cb5)throw new Error('unitId\x20is\x20not\x20found');const _0x4b8ad9=this[_0x11b385(0x3a3)]()+_0x11b385(0x121)+_0x36cbb5[_0x11b385(0x117)]['toString']()+_0x11b385(0x39e)+Ti[_0x11b385(0x3ee)]+'&assign='+encodeURIComponent(_0x249cb5),_0x6b6d52=await(await fetch(_0x4b8ad9,{'method':_0x11b385(0x257),'body':_0x51b582}))[_0x11b385(0x3cd)]();if(typeof _0x6b6d52[_0x11b385(0x312)]!=_0x11b385(0x198))return this[_0x11b385(0x17c)](),Promise['reject'](new Error(_0x172a02[_0x11b385(0x343)]));_0x40eb37=_0x6b6d52[_0x11b385(0x312)];}catch{return this[_0x11b385(0x17c)](),Promise[_0x11b385(0x340)](new Error(_0x172a02['ERROR_IMAGE']));}return new Promise((_0x57728e,_0x4921bd)=>{var _0x4fe16f=_0x11b385;const _0x2ecd0b=new FileReader();_0x2ecd0b[_0x4fe16f(0x248)](_0x36cbb5),_0x2ecd0b[_0x4fe16f(0x3f7)]=_0xe5f645=>{var _0x288e67=_0x4fe16f,_0x36420d;const _0x36ac7b=(_0x36420d=_0xe5f645['target'])==null?void 0x0:_0x36420d[_0x288e67(0x34d)];if(_0x36ac7b==null){this['_decreaseWaiting'](),_0x4921bd(new Error(_0x172a02[_0x288e67(0x343)]));return;}const _0x1d0059=_0x335a02[_0x288e67(0x32a)](0x6);_0x57728e({'imageId':_0x1d0059,'imageSourceType':_0x1b2324[_0x288e67(0x1c1)],'source':_0x40eb37,'base64Cache':_0x36ac7b,'status':_0x172a02['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x49793d(0x3a3)](){var _0x35b38d=_0x49793d,_0x2be362,_0x3bb30f;const _0x3e211b=this[_0x35b38d(0x3dd)][_0x35b38d(0x27a)](Is),_0x4189ec=this['_configService']['getConfig'](q);return(_0x3bb30f=(_0x2be362=_0x4189ec==null?void 0x0:_0x4189ec[_0x35b38d(0x19e)])!=null?_0x2be362:_0x3e211b)!=null?_0x3bb30f:Ts;}[_0x49793d(0x21b)](){var _0x462eec=_0x49793d,_0xee5373,_0x502575;const _0x44c917=this['_configService']['getConfig'](Cs),_0x39862a=this['_configService']['getConfig'](q);return(_0x502575=(_0xee5373=_0x39862a==null?void 0x0:_0x39862a[_0x462eec(0x187)])!=null?_0xee5373:_0x44c917)!=null?_0x502575:Rs;}[_0x49793d(0x373)](){var _0x59061c=_0x49793d,_0x3279e8;const _0xc2eecb=this['_configService']['getConfig'](q);return(_0x3279e8=_0xc2eecb==null?void 0x0:_0xc2eecb['downloadEndpointUrl'])!=null?_0x3279e8:location[_0x59061c(0x19a)];}['_replaceFileID'](_0xe9db97,_0x3957be){var _0x3f332b=_0x49793d;return _0xe9db97[_0x3f332b(0x36f)](_0x3f332b(0x2fe),_0x3957be);}[_0x49793d(0x17c)](){var _0x29eee6=_0x49793d;this['_waitCount']-=0x1,this[_0x29eee6(0x22a)][_0x29eee6(0x33d)](this[_0x29eee6(0x391)]);}};yt=gs([gt(0x0,_0x385788(_0x140e67)),gt(0x1,_0x59c83a),gt(0x2,_0x385788(_0x5d0af3))],yt);var bs=Object[_0x49793d(0x2b7)],Os=Object[_0x49793d(0x2fc)],ys=(_0x3df85b,_0x485b42,_0x102bb9,_0x43cbc7)=>{var _0x40a552=_0x49793d;for(var _0x1307bc=_0x43cbc7>0x1?void 0x0:_0x43cbc7?Os(_0x485b42,_0x102bb9):_0x485b42,_0x1a6636=_0x3df85b[_0x40a552(0x12f)]-0x1,_0x5f08f5;_0x1a6636>=0x0;_0x1a6636--)(_0x5f08f5=_0x3df85b[_0x1a6636])&&(_0x1307bc=(_0x43cbc7?_0x5f08f5(_0x485b42,_0x102bb9,_0x1307bc):_0x5f08f5(_0x1307bc))||_0x1307bc);return _0x43cbc7&&_0x1307bc&&bs(_0x485b42,_0x102bb9,_0x1307bc),_0x1307bc;},_i=(_0x320ece,_0x2959fb)=>(_0x43e252,_0x1481d2)=>_0x2959fb(_0x43e252,_0x1481d2,_0x320ece);const Ns=_0x49793d(0x3d1);let Nt=class{constructor(_0x47ae70,_0x5356ca){var _0x37ba6f=_0x49793d;this[_0x37ba6f(0x3dd)]=_0x47ae70,this[_0x37ba6f(0x396)]=_0x5356ca;}[_0x49793d(0x3be)](){var _0x807c35=_0x49793d,_0x2060a3,_0x1d1a5e;const _0x3d9163=this[_0x807c35(0x3dd)][_0x807c35(0x27a)](Pi),_0x19f22c=this[_0x807c35(0x3dd)][_0x807c35(0x27a)](q);return(_0x1d1a5e=(_0x2060a3=_0x19f22c==null?void 0x0:_0x19f22c['authzUrl'])!=null?_0x2060a3:_0x3d9163)!=null?_0x1d1a5e:Ns;}async[_0x49793d(0x409)](_0x35a4ba){var _0x488c81=_0x49793d;const _0xcc4b2b=this[_0x488c81(0x3be)]()+'/collaborator';return{'list':[{'title':_0x488c81(0x3e7),'mentions':(await this[_0x488c81(0x396)][_0x488c81(0x2c8)](_0xcc4b2b,{'params':{'objectID':_0x35a4ba[_0x488c81(0x2ab)],'unitID':_0x35a4ba[_0x488c81(0x2ab)]}}))['body']['collaborators'][_0x488c81(0x238)](_0x6426c5=>({'objectId':_0x6426c5['id'],'name':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x3c8)],'metadata':{'icon':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x37d)]},'label':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x3c8)],'objectType':_0x2cc76c[_0x488c81(0x131)]})),'metadata':{},'type':_0x2cc76c[_0x488c81(0x131)]}]};}};Nt=ys([_i(0x0,_0x385788(_0x59c83a)),_i(0x1,_0x385788(_0x140e67))],Nt);var Ds=Object[_0x49793d(0x2b7)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x5de0b0,_0x2a0c61,_0x27ae35,_0x582049)=>{var _0x141771=_0x49793d;for(var _0x219716=_0x582049>0x1?void 0x0:_0x582049?Ps(_0x2a0c61,_0x27ae35):_0x2a0c61,_0x2e2c46=_0x5de0b0[_0x141771(0x12f)]-0x1,_0x253fd2;_0x2e2c46>=0x0;_0x2e2c46--)(_0x253fd2=_0x5de0b0[_0x2e2c46])&&(_0x219716=(_0x582049?_0x253fd2(_0x2a0c61,_0x27ae35,_0x219716):_0x253fd2(_0x219716))||_0x219716);return _0x582049&&_0x219716&&Ds(_0x2a0c61,_0x27ae35,_0x219716),_0x219716;},Se=(_0x273ccb,_0x479888)=>(_0x45c78a,_0x14dd98)=>_0x479888(_0x45c78a,_0x14dd98,_0x273ccb);let at=class extends _0x366443{constructor(_0x22e02f,_0x1dc5ac,_0x809af0,_0x33db80,_0x17fc49,_0x253421,_0xde9489){var _0x574f05=_0x49793d;super(),this['_injector']=_0x22e02f,this[_0x574f05(0x3fa)]=_0x1dc5ac,this['_permissionService']=_0x809af0,this[_0x574f05(0x368)]=_0x33db80,this['_collaborationUIEventService']=_0x17fc49,this[_0x574f05(0x3dc)]=_0x253421,this[_0x574f05(0x160)]=_0xde9489,this[_0x574f05(0x333)](),this[_0x574f05(0x184)]();}['_initCloseConn'](){var _0x504eba=_0x49793d;const _0x372cfd=async _0x149064=>{var _0x1d338f=_0x4bee;(await this[_0x1d338f(0x368)]['requireSession'](_0x149064))[_0x1d338f(0x2aa)]['pipe'](_0x21e0ae(_0x1645ca=>_0x1645ca['eventID']===_0x4e3835[_0x1d338f(0x197)]),_0x14de08(this['dispose$']))[_0x1d338f(0x405)](_0x5cb05e=>{var _0x3c7ce4=_0x1d338f;const _0xfa4c9b=_0x5cb05e,{reason:_0x4103d5}=_0xfa4c9b[_0x3c7ce4(0x31b)];this[_0x3c7ce4(0x26e)]['emitEvent']({'id':se[_0x3c7ce4(0x2cc)],'data':_0x4103d5}),this['_permissionService']['updatePermissionPoint'](new _0xd4a4bb(_0x149064)['id'],!0x1),this[_0x3c7ce4(0x368)]['closeSession'](_0x149064);});};_0x504d97(this[_0x504eba(0x3fa)][_0x504eba(0x412)](_0x3c00f5['UNIVER_SHEET']),this[_0x504eba(0x3fa)]['getTypeOfUnitAdded$'](_0x3c00f5['UNIVER_DOC']))['pipe'](_0x5c5618(_0x3cb9e0=>_0x3cb9e0[_0x504eba(0x25c)]()),_0x21e0ae(_0xf1b398=>!_0x2276d0(_0xf1b398)),_0x14de08(this['dispose$']))[_0x504eba(0x405)](_0x538b66=>{_0x372cfd(_0x538b66);});}[_0x49793d(0x333)](){var _0x7e5d78=_0x49793d;const _0x34a520=async _0x2acbfc=>{var _0x1eef30=_0x4bee;const _0x331f83=await this[_0x1eef30(0x368)]['requireSession'](_0x2acbfc),_0x222b9a=this['_injector'][_0x1eef30(0x2c8)](_0x3a52e1);_0x331f83[_0x1eef30(0x2aa)]['pipe'](_0x21e0ae(_0x2c5420=>_0x2c5420['eventID']===_0x4e3835[_0x1eef30(0x402)]),_0x14de08(this['dispose$']))[_0x1eef30(0x405)](_0x3db5c6=>{var _0x40fa02=_0x1eef30;const _0x1af512=_0x3db5c6,{objectId:_0x6e1ec2}=_0x1af512[_0x40fa02(0x31b)];_0x6e1ec2===_0x2acbfc?_0x222b9a[_0x40fa02(0x272)](_0x2acbfc):_0x222b9a[_0x40fa02(0x30c)](_0x2acbfc,_0x6e1ec2);});};_0x504d97(this['_univerInstanceService'][_0x7e5d78(0x412)](_0x3c00f5[_0x7e5d78(0x305)]),this['_univerInstanceService'][_0x7e5d78(0x412)](_0x3c00f5['UNIVER_DOC']))[_0x7e5d78(0x357)](_0x5c5618(_0x473bdc=>_0x473bdc[_0x7e5d78(0x25c)]()),_0x21e0ae(_0x42f14e=>!_0x2276d0(_0x42f14e)),_0x14de08(this[_0x7e5d78(0x200)]))['subscribe'](_0x71237e=>{_0x34a520(_0x71237e);});}};at=ws([Se(0x0,_0x385788(_0x5bf262)),Se(0x1,_0x5d0af3),Se(0x2,_0x45b29e),Se(0x3,_0x385788(Le)),Se(0x4,_0x385788(pe)),Se(0x5,_0xffe8de),Se(0x6,_0x5583fc)],at);function _0x429d(){var _0x39fb69=['\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','mutations','_userManagerService','_isPermissionRej','/universer-api/uniscript','825588kJwJgT','ENSURE_SNAPSHOT_EXECUTION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_state','/rev/','_retryCount','_handlerCallback','newCsEvent','HMAC','_collaborationUIEventService','/fetchmissing?from=','readInt32LE','method','initWorkbookPermissionChange','charAt','[OfflineState]:\x20received\x20rejection.','_scheduleCompleteTimestamp','45bFVZME','_clearTimeoutTimer','getCollabEntity$','_lockTransition','getConfig','reduce','compose','/block/','_onConnectionOpen','onSendChangeset','JOIN','UNIVER_DOC','_telemetryService','unknown','code','reqId','_transformStack','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','listCollaborators','eventID','UNIVER_PROJECT','[CollaborationState]:\x20apply\x20error!','dispose','_resendTimeout','disableLocalCache','every','_getRedoStack','getRoom','blockSize','_sendHeartbeat','CONFLICT','APPLY_REJECT','status$','workbook','sessionStatus','concat','SOCKET_FAILED_RETRY','_clearUndo','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','enableOfflineEditing','onTransformSelections','NEW_CHANGESETS','_sheetTransformSelectionsService','_keyPriorReset','CHANGESET_REVISION_CONFILICT','_map','57056076RjWfiH','put','error','ciphertext','[CollaborationSessionService]:\x20socket\x20error','wsSessionTicketUrl','event$','unitId','[CollaborationEntity]','onLocalMutation','_redoStacks','salt','state','LEAVE','&to=','liveShareNewHost','sheets','updatePermissionObjEvent','\x20to\x20','defineProperty','_stopTelemetryCollaborationNewChangeset','send','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createEncryptor','waitForRoom$','UNRECOGNIZED','UNDEFINED','pluginName','SerializableCipher','_shouldReportTelemetry','getUnitType','_socketReady','[FetchMissState]','runId','_substituteRedoStack','get','confirm','c2Prime','onTransformState','CLOSE_ROOM','subject','getImageSourceCache','/role','_doProcessBlock','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','csRejEvent','\x20in\x20_schedule.','getSheetId','_toggleOffline','\x0aCurrent:\x20','createDecryptor','_replaceFileID','_socketService','_onRecvEvent','_candidateSocket','_nDataBytes','/new_changes','_removeRoom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_PERMISSION_DENIED','_collabSessionService','HEARTBEAT_TIMEOUT','_initRequestHeader','COMPRESS_MUTATION_APPLY','cfg','resend','OpenSSL','_sessions','ceil','_scheduleCollaborationTimeoutTimer','_submitChangeset','_emitMembers','CHANGESET_SHOULD_RETRY','INTERNAL_ERROR','onCommandExecuted','_fetchMissChangesets','connection\x20error','allowed','find','_hasher','saveChangeset','padding','addImageSourceCache','transformSelections','UNIVER_SLIDE','_updateState','Pkcs7','getOwnPropertyDescriptor','/universer-api/file/{fileID}/sign-url','{fileID}','SHA1','pending','members','_getLoginPath','univer-pro.collaboration-client.single-active-unit-service','_networkConditionService','UNIVER_SHEET','_revisionService','disposeWithMe','_socket','LICENSE_DISTRO_REJECTED','decrypt','_clearHeartbeatTimer','refreshPermission','LIVESHARE_FETCH_OPERATIONS','ERROR_IMAGE_TYPE','/universer-api/stream/file/upload','_members$','RETRY_CONNECTING_MAX_COUNT','FileId','subUnitId','words','_acknowledgedAwaitingChangeset','COMPRESS_MUTATION_SEND','_onJoinRoomEvent','_clearLocalCache','_getCtorByUniverType','Base64','data','/universer-api/snapshot/','debug','image/jpeg','filter','members$','_startTelemetryCollaborationNewChangeset','MD5','_onFetchMissResult','_sendingTimer','_startCollaboration','sid','_handler','WordArray','_changesetReqId','generateRandomId','encodeURIComponent','status','/-/object/-/batch_allowed','_telemetryInfo','/allowed','prototype','HttpImport','_timeoutTimer','_initUnitPermissionChange','loadUnit','shouldCloseConn','PERMISSION_DENIED','/unit/','incrementRevOfUnit','YUUMI_RATE_OVER_LIMIT','includes','updateCursorEvent','_invKeySchedule','next','fetch_missing','resolve','reject','_reverseMap','_initDependencies','ERROR_IMAGE','UNISCRIPT_RUN','toggleOnline','LICENSE_MAX_UNITS_EXCEEDED','_collaborationPaused','originalMeta','collaboratorID','m2Prime','updatePermissionPoint','__Key__','result','focused$','NOT_FOUND','crypto','max','createSocket','_executeRemoteChangeset','getSnapshotAPIPath','univer-pro.collaboration-client.network-condition.service','_iv','pipe','getCurrentSelections','_getAPIPrefix','_onUserLeave','abs','_parse','LICENSE_IMPORT_SIZE_EXCEEDED','_onCombEvent','JOIN_ROOM_FULL','changesets','YUUMI_UNABLE_LOAD_URL','getRandomValues','/universer-api/user/session-ticket','_transitionLocked','buffer','INGEST','create','_collaborationSessionService','pad','_loadSheet','transformStack\x20failed!','UNIVER_UNKNOWN','Malformed\x20UTF-8\x20data','Decryptor','replace','_clearRedo','getUnit','_clearScheduledTask','_getDownloadEndpointURL','socketService','UNAUTHENTICATED','CONNECTOR_DATA_TOO_LARGE','entityInit$','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','ticket','PSEUDO_FETCH_MISSING_RESULT','getDeserializedSheetBlock','avatar','src','objectID','open$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','encrypt','collabWebSocketUrl','IDLE','delete','actions','close','_transformSelections','PERMISSION_REJ','_localCacheService','error$','SNAPSHOT_URL_KEY','override','MSG_FOR_ERROR','_transformUndoredo','finalize','_waitCount','application/json','_imageSourceCache','getValue','_commentService','_HTTPService','_rescheduleHeartbeat','headers','randomUUID','_permissionService','_substituteUndoStack','reconnect','retryConnectingInterval','&source=','NO_OTHER_CLIENTS_EDITING','_entities','_xformMode','memberID','_getUploadFileURL','reset','loginUrlKey','createInstance','rev','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collabSubmitChangesetUrl','_tryEnsureSocket','[CollaborationUndoRedoService]','LOCAL_CACHE_INTERVAL','[PendingState]:\x20received\x20acknowledgement.','_key','update','\x20-\x20','_initMergeInterceptor','key','editingUnit','_transformService','[DataLoaderService]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','params','_getSendChangesetTimeout','[PendingState]:\x20received\x20rejection.','_waitForHeartbeatResponse','_createInitialState','BASE64','copyFileMeta','_getAPIPrefixPath','push','_sender','_commentUpdate$','c1Prime','editing\x20status\x20changed\x20to','toString','_roomCreated$','OTHER_CLIENT_EDITING','[OfflineState]:\x20received\x20changeset.','name','onTransformRemoteChangesetByStateCache','_onRemoteACK','hasOwnProperty','session.join-failed','json','_transformRemoteChangesetByStateCache','emitEvent','_roomMembers','/universer-api/authz','_schedule','_socket$','_nRounds','AWAITING','UPDATE_CURSOR','awaiting','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','_checkMissing','_changesetSessionId','_authzIoService','_configService','toggleOffline','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','href','BufferedBlockAlgorithm','Hasher','univer-pro.collaboration-client-socket-service','_disableEditing','random','People','LICENSE_EXPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','onRemoteAck','_init','message$','cmd','UnitEmbedded','formatter','_event$','body','slice','execute','Base','_getCurrentRevision','toLowerCase','onload','saveSnapshot','StreamCipher','_univerInstanceService','_socketMessageSubscription','getCurrentUser','OFFLINE','_getUndoStack','_unlockTransition','patch','isPermissionRej','UPDATE_PERMISSION_OBJ','kdf','/-/object/list','subscribe','clear','3268993JJhOcI','has','list','_process','_keySchedule','AWAITING_WITH_PENDING','x-univer-host','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UnitSnapshot','Encryptor','getImage','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','APPLY_DUPLICATED','leaveEvent','FAIL','LIVESHARE_NEW_HOST','localCacheService','encryptBlock','not_collab','CipherParams','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentRevOfUnit','keySize','size','state$','routeKey','USERS_LEAVE','ivSize','_replayCachedMutations','mixIn','BlockCipherMode','_DEC_XFORM_MODE','onTransformRemoteChangesetByIMECache','?size=','randomBytes','decryptBlock','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20acknowledgement.','PENDING','_onConflict','_snapshotServerService','_incrementRevisionNumber','append','loadOfflineData','INVALID_ARGUMENT','_config','set','length','commentUpdateEvent','PERSON','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/object/','Error\x20on\x20receiving\x20event','Could\x20not\x20dynamically\x20require\x20\x22','_applyRemoteChangeset','updateOfflineData','hasher','[CollaborationSessionService]','sessionTicket','_hash','setCurrentUser','pauseCollaboration','unitID','stopTime','4994910TYiJBW','getMember','stringify','_members','collaMsg','getInterceptPoints','close$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus$','offline','min','searchParams','4558100CRbwXX','onRemoteRetry','EvpKDF','_entityInit$','csShouldRetryEvent','_data','fetchMissingChangesets','FETCH_MISSING','resourceIDs','_clearCollaborationTimeoutTimer','_createHmacHelper','enc','JOINING','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitDisposed$','_commandService','clone','removeMember','compute','onTransformIME','_undoRedoService','file','unitInfo$','putCollaborators','_snapshotService','repeat','interceptor','MUTATION','clamp','url','exports','_onLocalMutation','requestParams','ALREADY_EXISTS','OPTIONAL','SYNCED','OTHER_CLIENTS_EDITING','onMissingChangesets','_logService','floor','onMissedChangesetFetched','_toggleOnline','closeSession','equals','ERROR_EXCEED_SIZE','_transformStateCache','_listenToNetworkCondition','Univer','_decreaseWaiting','ONLINE','getUnitOnRev','UNKNOWN_CODE','collaborators','_http','setWaitCount','249123uYIKNh','_initCloseConn','12RaeuFi','synced','signUrlServerUrl','parse','Utf8','NOT_COLLAB','getCollabEntity','mode','substr','loadSheet','onRemoteChangeset','_ENC_XFORM_MODE','YUUMI_SUBSCRIPTION_NOT_FOUND','transformChangesets','forEach','_remoteChangesetQueue','format','location','SHOULD_CLOSE_CONN','string','_createHandler','origin','UNKNOWN_CMD','bind','_iKey','uploadFileServerUrl','fetchMiss','APPLY_NON_SEQUENTIAL_REVISION','infoRsp','collaboration-client.config','objectType','image/bmp','USERS_ENTER','session.room-cnt-exceeds','post','type','_onUserJoin','/universer-api/comb','image/gif','RECV','_createHelper','catch','_collaborationTimeoutTimer','then','_createInitialStateImpl','_exhaustRemoteChangesetQueue','_append','_retryConnectingTimer','objectActions','getFocusedUnit','_minBufferSize','now','startsWith','getAllMembers','complete','textRanges','call','onStarting','joinEvent','/universer-api/snapshot','UUID','COMPLETION_FINISHED','FETCH_MISS','snapshot','transformMutationsWithChangeset','asObservable','action','deepClone','COMMENT_UPDATE','session.room-full','localeService','_onRemoteRejected','_onConnectionFailed','session','_transformIMECache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','HELLO','_getSessionTicket','AES','createCollaborator','_createSocket','extend','requireSession','_syncEditingCollabCursor','saveImage','_pendingMutations','commentUpdate$','unpad','\x0aAfter:\x20','YUUMI_URL_COL_OUT_OF_RANGE','CBC','indexOf','_prevBlock','getTime','selections','_eventService','msCrypto','join','registerHTTPInterceptor','online$','_onMessage','SUBMIT_CHANGESET','updateMember','encode','getWorkbookSelections','_throwTelemetryCollaborationNewChangeset','reverse','roomInfos','_localeService','_transformRemoteChangesetByIMECache','[UniverCollaborationClientPlugin]','rng','snapshotServerUrl','addHandlerCallback','fetchThroughInterceptors','LIVESHARE_OPERATION','auth.needGotoLoginAlert','UNIVER_COLLABORATION_CLIENT_PLUGIN','_doReset','default','charCodeAt','_createSocketURL','_mode','dispose$','unsubscribe','_memberService','_compressMutationService','_cipher','_joinRoom','_httpService','/object','APPLY_REVISION_CONFILICT','_singleActiveUnitService','image/png','responseType','onRemoteRej','LIVESHARE_TERMINATE','setShowComponents','_injector','_type','userID','onlyLocal','collaboration_new_changeset','getSheetBlock','303746ekwMNx','processBlock','_updateStatus','_onOffline','liveShareOperation','_status$','_getSignURL','telemetry\x20info\x20is\x20not\x20initialized','BlockCipher','_state$','enableAuthServer','apply','JOIN_ROOM_FAILED','_awaitingChangeset','_sessionStatus$','HEARTBEAT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[SyncedState]:\x20received\x20rejection.','joinRsp','9roGrJO','_tryReconnect','_change$','transformUndoRedo','/universer-api/oidc/authpage','lib','JOIN_ROOM_PERMISSION_DENIED','_resendWithTimeout','function','16MgVUwz','_updateLocalCache','fromCollab','range','fromCharCode','capture','_onRemoteRetry','map','authzUrl','Cipher','_sendHeartbeatTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isArray','_instanceService','/resources','awaitingChangeset','_unitID','baseRev','add','sigBytes','Undefined','SOCKET_FAILED','executeCommand','readAsDataURL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','conflict','fetching\x20missing\x20changesets\x20from\x20','_loadDoc','GLOBAL_ROOMS_CNT_EXCEEDS','algo','LIVESHARE_REQUEST_HOST','JOIN_ROOM_NOT_EXISTS','SNAPSHOT_SERVER_URL_KEY','CHANGESET_REJ','_unitInfo$','PY_RUNTIME_SCRIPT_ERROR','submit\x20changeset\x20error!','NoPadding','POST','_showConflictNotification','session.room-not-exists','_resendTimer','/collaborator','getUnitId','init','withCredentials','awaiting_with_pending'];_0x429d=function(){return _0x39fb69;};return _0x429d();}var Us=Object[_0x49793d(0x2b7)],As=Object['getOwnPropertyDescriptor'],xs=(_0x44d882,_0x54bcda,_0x258574,_0x584696)=>{for(var _0x55c334=_0x584696>0x1?void 0x0:_0x584696?As(_0x54bcda,_0x258574):_0x54bcda,_0x279516=_0x44d882['length']-0x1,_0x2b7f6b;_0x279516>=0x0;_0x279516--)(_0x2b7f6b=_0x44d882[_0x279516])&&(_0x55c334=(_0x584696?_0x2b7f6b(_0x54bcda,_0x258574,_0x55c334):_0x2b7f6b(_0x55c334))||_0x55c334);return _0x584696&&_0x55c334&&Us(_0x54bcda,_0x258574,_0x55c334),_0x55c334;},li=(_0x1d9343,_0x53635e)=>(_0x19f587,_0x5e36fb)=>_0x53635e(_0x19f587,_0x5e36fb,_0x1d9343);let Dt=class{constructor(_0x47c575,_0x6a1108){var _0x5e4c45=_0x49793d;this[_0x5e4c45(0x3dd)]=_0x47c575,this['_httpService']=_0x6a1108;}async[_0x49793d(0x17e)](_0x37bf69,_0x366134){var _0xf754d2=_0x49793d,_0x71527e;const {unitID:_0xedaa0c,type:_0x2cae7c,revision:_0x40cdbf=0x0}=_0x366134,_0x5191be=this[_0xf754d2(0x354)]()+'/'+_0x2cae7c+_0xf754d2(0x337)+_0xedaa0c+_0xf754d2(0x269)+_0x40cdbf,_0x127c79=(await this[_0xf754d2(0x206)][_0xf754d2(0x2c8)](_0x5191be))['body'],_0x425517=(_0x71527e=_0x127c79[_0xf754d2(0x1c4)])==null?void 0x0:_0x71527e[_0xf754d2(0x297)];if(_0x425517){const _0x1c9cdb=_0x425517==null?void 0x0:_0x425517[_0xf754d2(0x348)],_0x2667cb=_0x27fb90[_0xf754d2(0x1ec)](_0x15a9fd(_0x1c9cdb));_0x425517[_0xf754d2(0x348)]=_0x2667cb,Object['entries'](_0x425517[_0xf754d2(0x2b4)])[_0xf754d2(0x193)](([,_0x213103])=>{var _0x1b8a86=_0xf754d2;const _0x3b0b1b=_0x213103[_0x1b8a86(0x348)],_0x1b34c9=_0x27fb90[_0x1b8a86(0x1ec)](_0x15a9fd(_0x3b0b1b));_0x213103[_0x1b8a86(0x348)]=_0x1b34c9;});}return _0x127c79;}async[_0x49793d(0x214)](_0x4c692c,_0x309f24){var _0xa20c08=_0x49793d;const {unitID:_0x73a4f7,type:_0x293bc9,blockID:_0x50b766}=_0x309f24,_0x31c384=this[_0xa20c08(0x359)]()+'/'+_0x293bc9+_0xa20c08(0x337)+_0x73a4f7+_0xa20c08(0x27d)+_0x50b766;return(await this[_0xa20c08(0x206)][_0xa20c08(0x2c8)](_0x31c384))[_0xa20c08(0x3f1)];}async[_0x49793d(0x37c)](_0x1349e6,_0xca600e){var _0x324d35=_0x49793d;const {unitID:_0x359311,type:_0x1c1f1f,blockID:_0x1ebca3}=_0xca600e,_0x4e588a=this[_0x324d35(0x359)]()+_0x324d35(0x27d)+_0x1c1f1f+'/unit/'+_0x359311+_0x324d35(0x27d)+_0x1ebca3;return(await this[_0x324d35(0x206)][_0x324d35(0x2c8)](_0x4e588a))[_0x324d35(0x3f1)];}async[_0x49793d(0x152)](_0x1a49e9,_0x2f3b9b){var _0x269bc2=_0x49793d;const {unitID:_0x32bd3b,type:_0x3a882e,from:_0x4360c7,to:_0x2de69d}=_0x2f3b9b,_0x308d0f=this['_getAPIPrefix']()+'/'+_0x3a882e+_0x269bc2(0x337)+_0x32bd3b+_0x269bc2(0x26f)+_0x4360c7+_0x269bc2(0x2b2)+_0x2de69d;return(await this[_0x269bc2(0x206)][_0x269bc2(0x2c8)](_0x308d0f))[_0x269bc2(0x3f1)];}[_0x49793d(0x354)](){var _0x46185d=_0x49793d,_0x2df26f;return(_0x2df26f=this['_configService'][_0x46185d(0x27a)](Tn))!=null?_0x2df26f:this[_0x46185d(0x359)]();}['_getAPIPrefix'](){var _0x1fc162=_0x49793d,_0x2c8607,_0x50407b;const _0x5dec29=this['_configService'][_0x1fc162(0x27a)](En),_0x52634c=this[_0x1fc162(0x3dd)][_0x1fc162(0x27a)](q);return(_0x50407b=(_0x2c8607=_0x52634c==null?void 0x0:_0x52634c[_0x1fc162(0x1f5)])!=null?_0x2c8607:_0x5dec29)!=null?_0x50407b:In;}async['getResourcesRequest'](_0x2f5ca1,_0x2d963f){var _0x1a3812=_0x49793d;const _0x52d527=_0x1a3812(0x31c)+_0x2d963f['type']+_0x1a3812(0x337)+_0x2d963f['unitID']+_0x1a3812(0x23f);return(await this[_0x1a3812(0x206)][_0x1a3812(0x2c8)](_0x52d527,{'params':{'resourceId':JSON[_0x1a3812(0x142)](_0x2d963f[_0x1a3812(0x154)])}}))['body'];}[_0x49793d(0x3f8)](){var _0x22116f=_0x49793d;throw new Error(_0x22116f(0x2d1));}['saveSheetBlock'](){var _0x36e4f9=_0x49793d;throw new Error(_0x36e4f9(0x2d1));}[_0x49793d(0x2f5)](){var _0x3c90a0=_0x49793d;throw new Error(_0x3c90a0(0x2d1));}[_0x49793d(0x3bd)](){var _0x3f914e=_0x49793d;throw new Error(_0x3f914e(0x2d1));}['getLatestCsReqIdBySid'](){var _0x2f71d2=_0x49793d;throw new Error(_0x2f71d2(0x2d1));}};Dt=xs([li(0x0,_0x59c83a),li(0x1,_0x385788(_0x140e67))],Dt);var Ls=Object[_0x49793d(0x2b7)],Ms=Object[_0x49793d(0x2fc)],$s=(_0x2fee76,_0x9b5d08,_0x3f77ab,_0xf391b9)=>{var _0x3569b7=_0x49793d;for(var _0xe52d46=_0xf391b9>0x1?void 0x0:_0xf391b9?Ms(_0x9b5d08,_0x3f77ab):_0x9b5d08,_0x194020=_0x2fee76[_0x3569b7(0x12f)]-0x1,_0x2f7f66;_0x194020>=0x0;_0x194020--)(_0x2f7f66=_0x2fee76[_0x194020])&&(_0xe52d46=(_0xf391b9?_0x2f7f66(_0x9b5d08,_0x3f77ab,_0xe52d46):_0x2f7f66(_0xe52d46))||_0xe52d46);return _0xf391b9&&_0xe52d46&&Ls(_0x9b5d08,_0x3f77ab,_0xe52d46),_0xe52d46;},Ae=(_0x48306a,_0x29973f)=>(_0x2f81df,_0x8d178)=>_0x29973f(_0x2f81df,_0x8d178,_0x48306a);let Pt=class extends _0x244888{constructor(_0x18e78f,_0x126811,_0x4431d0,_0x32544c,_0x3811d6){var _0xd0c0d8=_0x49793d;super(_0x18e78f,_0x126811,_0x4431d0),this[_0xd0c0d8(0x3b4)]=_0x32544c,this[_0xd0c0d8(0x172)]=_0x3811d6;}[_0x49793d(0x22b)](_0x281296,_0x531637){var _0x4bcfea=_0x49793d;const _0x4321d4=this[_0x4bcfea(0x3fe)](_0x281296);if(_0x4321d4)try{const _0x1bb4dd=this[_0x4bcfea(0x286)](_0x4321d4,_0x531637);this['_substituteUndoStack'](_0x281296,_0x1bb4dd);}catch(_0x42518e){this['_logService'][_0x4bcfea(0x2a6)](_0x4bcfea(0x3ab),_0x42518e),this[_0x4bcfea(0x29b)](_0x281296);}const _0x3242e8=this['_getRedoStack'](_0x281296);if(_0x3242e8)try{const _0x10f12e=this[_0x4bcfea(0x286)](_0x3242e8,_0x531637);this[_0x4bcfea(0x2c7)](_0x281296,_0x10f12e);}catch(_0x3ec074){this[_0x4bcfea(0x172)]['error'](_0x3ec074),this[_0x4bcfea(0x370)](_0x281296);}}['_clearUndo'](_0x28edfa){var _0x4beec1=_0x49793d;const _0x303c1f=this['_getUndoStack'](_0x28edfa);_0x303c1f&&(_0x303c1f['length']=0x0,this[_0x4beec1(0x217)]());}[_0x49793d(0x370)](_0x54b8c4){var _0xd242d3=_0x49793d;const _0x5b5bc3=this[_0xd242d3(0x290)](_0x54b8c4);_0x5b5bc3&&(_0x5b5bc3[_0xd242d3(0x12f)]=0x0,this[_0xd242d3(0x217)]());}[_0x49793d(0x39b)](_0x18cc02,_0x43c3dc){var _0x377d6a=_0x49793d;this['_undoStacks'][_0x377d6a(0x12e)](_0x18cc02,_0x43c3dc),this[_0x377d6a(0x217)]();}['_substituteRedoStack'](_0x17ea7d,_0x1d54f5){var _0x4fcb93=_0x49793d;this[_0x4fcb93(0x2ae)][_0x4fcb93(0x12e)](_0x17ea7d,_0x1d54f5),this[_0x4fcb93(0x217)]();}[_0x49793d(0x286)](_0x172a4f,_0x33a37b){var _0x595984=_0x49793d;const _0x3495d9=[];let _0x1582a9=_0x33a37b,_0x36d484=_0x33a37b;for(let _0x1c4990=_0x172a4f[_0x595984(0x12f)]-0x1;_0x1c4990>=0x0;_0x1c4990--){const {unitID:_0x3126c6,undoMutations:_0x3cc0a2,redoMutations:_0x557e70}=_0x172a4f[_0x1c4990],_0x19e54a=this['_transformService'][_0x595984(0x1c5)](_0x1582a9,_0x3cc0a2),_0x484502=this['_transformService'][_0x595984(0x1c5)](_0x36d484,_0x557e70);if(_0x52d160(_0x19e54a)||_0x52d160(_0x484502)){this[_0x595984(0x172)][_0x595984(0x2a6)](_0x595984(0x3ab),_0x595984(0x36b),_0x19e54a,_0x484502);break;}_0x1582a9=_0x19e54a[_0x595984(0x3c2)],_0x36d484=_0x484502[_0x595984(0x3c2)],_0x3495d9[_0x595984(0x3bf)]({'unitID':_0x3126c6,'undoMutations':_0x19e54a['m2Prime'],'redoMutations':_0x484502[_0x595984(0x34a)]});}return _0x3495d9[_0x595984(0x1ef)]();}};Pt=$s([Ae(0x0,_0x5d0af3),Ae(0x1,_0x2f1659),Ae(0x2,_0x5477ff),Ae(0x3,_0x36f829),Ae(0x4,_0x1b7927)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x49793d(0x2fc)],ks=(_0x159a7c,_0x24e1ca,_0x44a788)=>_0x24e1ca in _0x159a7c?xi(_0x159a7c,_0x24e1ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44a788}):_0x159a7c[_0x24e1ca]=_0x44a788,js=(_0x5d08dc,_0x1e2281,_0x465ae1,_0x24bac9)=>{var _0xdc5916=_0x49793d;for(var _0x56270=_0x24bac9>0x1?void 0x0:_0x24bac9?Hs(_0x1e2281,_0x465ae1):_0x1e2281,_0x53ded4=_0x5d08dc[_0xdc5916(0x12f)]-0x1,_0x340ad5;_0x53ded4>=0x0;_0x53ded4--)(_0x340ad5=_0x5d08dc[_0x53ded4])&&(_0x56270=(_0x24bac9?_0x340ad5(_0x1e2281,_0x465ae1,_0x56270):_0x340ad5(_0x56270))||_0x56270);return _0x24bac9&&_0x56270&&xi(_0x1e2281,_0x465ae1,_0x56270),_0x56270;},St=(_0x37c362,_0x3785e0)=>(_0x348116,_0x3132f8)=>_0x3785e0(_0x348116,_0x3132f8,_0x37c362),Bs=(_0x497ccd,_0x336722,_0x1d5662)=>ks(_0x497ccd,_0x336722+'',_0x1d5662);const Fs=_0x49793d(0x1fa);let wt=class extends _0x1f104c{constructor(_0x421ea9=Wt,_0x570173,_0x54ca29,_0x5256c4){var _0x6dad06=_0x49793d;super(),this[_0x6dad06(0x12d)]=_0x421ea9,this['_logService']=_0x570173,this[_0x6dad06(0x20f)]=_0x54ca29,this[_0x6dad06(0x3dd)]=_0x5256c4;const {..._0x4cfa60}=_0x1ece26({},Wt,this[_0x6dad06(0x12d)]);this[_0x6dad06(0x3dd)]['setConfig'](q,_0x4cfa60);}[_0x49793d(0x1be)](){var _0x20663d=_0x49793d;this[_0x20663d(0x2ba)](),this[_0x20663d(0x342)]();}[_0x49793d(0x2ba)](){var _0x3b64ba=_0x49793d,_0x33f3c9,_0x3fd64a,_0x245396,_0x3dfdc0;this[_0x3b64ba(0x20f)][_0x3b64ba(0x408)](_0x5583fc)&&this[_0x3b64ba(0x172)][_0x3b64ba(0x2a6)](_0x3b64ba(0x1f3),_0x3b64ba(0x3e0));const _0x2afa85=_0x17a839([[_0x5583fc,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x3fd64a=(_0x33f3c9=this['_config'])==null?void 0x0:_0x33f3c9[_0x3b64ba(0x374)])!=null?_0x3fd64a:Et}],[_0x3bef3d,{'useClass':Dt}],[_0xffe8de,{'useClass':bt}],[_0x4a8339,{'useClass':yt}],[_0x5dc5e0,{'useClass':Nt}],[rt],[Rt]],(_0x245396=this['_config'])==null?void 0x0:_0x245396[_0x3b64ba(0x38d)]);if(!((_0x3dfdc0=this['_config'])!=null&&_0x3dfdc0['enableSingleActiveInstanceLock'])){const _0x240145=_0x2afa85['findIndex'](([_0x5b7126])=>_0x5b7126===ht);_0x240145!==-0x1&&_0x2afa85['splice'](_0x240145,0x1);}_0xed180e(this[_0x3b64ba(0x20f)],_0x2afa85);}[_0x49793d(0x342)](){var _0x488030=_0x49793d,_0x10ffd8,_0xe85b67,_0x29f50c;this[_0x488030(0x20f)][_0x488030(0x2c8)](_0x140e67)[_0x488030(0x1e7)]({'priority':0x14,'interceptor':_0x60dc94({'maxParallel':0x6})}),(_0x10ffd8=this[_0x488030(0x12d)])!=null&&_0x10ffd8[_0x488030(0x29d)]||(_0xe85b67=this[_0x488030(0x20f)]['get'](J,_0xe9384[_0x488030(0x16e)]))==null||_0xe85b67[_0x488030(0x28e)](),(_0x29f50c=this[_0x488030(0x12d)])!=null&&_0x29f50c[_0x488030(0x21f)]&&_0x27b24c(this[_0x488030(0x20f)],[[st]]),_0x27b24c(this[_0x488030(0x20f)],[[ot],[rt],[at]]);}};Bs(wt,_0x49793d(0x2c0),Fs),wt=js([_0x2aa712(_0x2d2bbe,_0x2f5c70,_0x4065f4),St(0x1,_0x1b7927),St(0x2,_0x385788(_0x5bf262)),St(0x3,_0x59c83a)],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 _0x51303a=_0x1f09;(function(_0x4c6d51,_0xe6a3aa){var _0x46cf86=_0x1f09,_0x2ceaff=_0x4c6d51();while(!![]){try{var _0x2bd2d0=parseInt(_0x46cf86(0x218))/0x1+-parseInt(_0x46cf86(0x184))/0x2*(parseInt(_0x46cf86(0x2cc))/0x3)+parseInt(_0x46cf86(0x1a6))/0x4*(-parseInt(_0x46cf86(0x22c))/0x5)+-parseInt(_0x46cf86(0x1bb))/0x6*(parseInt(_0x46cf86(0x1ce))/0x7)+-parseInt(_0x46cf86(0x26d))/0x8+-parseInt(_0x46cf86(0x2cb))/0x9*(-parseInt(_0x46cf86(0x44a))/0xa)+parseInt(_0x46cf86(0x200))/0xb;if(_0x2bd2d0===_0xe6a3aa)break;else _0x2ceaff['push'](_0x2ceaff['shift']());}catch(_0x5d670f){_0x2ceaff['push'](_0x2ceaff['shift']());}}}(_0x1f79,0x45e40));var Li=Object[_0x51303a(0x281)],Mi=(_0x3c156c,_0x27c99d,_0x2d93f2)=>_0x27c99d in _0x3c156c?Li(_0x3c156c,_0x27c99d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d93f2}):_0x3c156c[_0x27c99d]=_0x2d93f2,N=(_0x40d421,_0x2cd257,_0x1f41c3)=>Mi(_0x40d421,typeof _0x2cd257!=_0x51303a(0x2c6)?_0x2cd257+'':_0x2cd257,_0x1f41c3);import{createIdentifier as _0x32ae6a,Inject as _0x2a2c27,Injector as _0x2ac98c,Disposable as _0x47cec6,DisposableCollection as _0x53658a,toDisposable as _0x24575e,IConfigService as _0x197b9e,ILogService as _0x7c7e3b,UserManagerService as _0x1dee39,UniverInstanceType as _0x500bf2,IUniverInstanceService as _0xd9ad76,LocaleService as _0x414916,Optional as _0x1a8278,RxDisposable as _0x2127fb,Tools as _0x299834,Rectangle as _0x81784f,ICommandService as _0x5c01af,JSONX as _0x8c9ea0,CommandType as _0x42bf5d,IPermissionService as _0xc50f2c,IUndoRedoService as _0x277f73,sequenceExecute as _0x26a0b3,Workbook as _0x14e09d,MentionType as _0x370726,IAuthzIoService as _0x289d4b,isInternalEditorID as _0x2f272e,LocalUndoRedoService as _0x3122ca,IContextService as _0x1f9cf4,DependentOn as _0x1b343a,Plugin as _0x2faba4,merge as _0x123239,mergeOverrideWithDependencies as _0x596fab,IMentionIOService as _0x5b09c9,registerDependencies as _0x55b7fd,Quantity as _0x5a06dd,touchDependencies as _0x351b51}from'@univerjs/core';import{Subject as _0x4973d7,merge as _0x204d3a,of as _0x56aeb4,BehaviorSubject as _0x5e258f,takeUntil as _0x2fe2c4,ReplaySubject as _0x5d8dc9,take as _0x81314e,map as _0x29778d,shareReplay as _0x3e88b4,firstValueFrom as _0x31a3a6,concatMap as _0x536272}from'rxjs';import{map as _0x21067b,take as _0x1a04c9,filter as _0x3cf649,delay as _0x506462,takeUntil as _0x26b065}from'rxjs/operators';import{HTTPService as _0x43259a,ISocketService as _0x2f9d08,MergeInterceptorFactory as _0x2d7c72,HTTPRequest as _0x24cdfb,UniverNetworkPlugin as _0x3f6290,ThresholdInterceptorFactory as _0x3d1b06}from'@univerjs/network';import{CollaborationEvent as _0x247b59,parseChangesetToProtocol as _0x4c01ce,ISnapshotServerService as _0x22279b,isTransformMutationsWithChangesetSuccess as _0x122f14,ITransformService as _0x1aa332,mapDocumentTypeToUniverType as _0x24f5bb,RevisionService as _0x408fec,isTransformChangesetsSuccess as _0x4d0c02,CompressMutationService as _0x3f7f69,parseProtocolChangeset as _0xf0555b,SnapshotService as _0x101ed4,textEncoder as _0x1eecf7,b64DecodeUnicode as _0x142033,isTransformMutationsWithChangesetFailure as _0x5c45d7,UniverCollaborationPlugin as _0x12509d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x27e094}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4e9af9}from'@univerjs/docs';import{SheetsSelectionsService as _0x112b24,SetSelectionsOperation as _0xf5e32b,InsertSheetMutation as _0x2ce3d3,EmptyMutation as _0x8ec12b,WorkbookEditablePermission as _0x8a0fbb,SheetPermissionInitController as _0x4e37fd,UniverSheetsPlugin as _0x511a9f}from'@univerjs/sheets';import{ImageSourceType as _0x5948a6,ImageUploadStatusType as _0xb9841d,IImageIoService as _0x2dfdfa}from'@univerjs/drawing';import{getGlobalObject as _0x581218}from'@univerjs-pro/license';const En=_0x51303a(0x3f5),In=_0x51303a(0x33a),Tn=_0x51303a(0x261),eo=_0x51303a(0x378),Cn=0x7d0,Rn=_0x51303a(0x2f3),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x51303a(0x221),yn=_0x51303a(0x396),Nn=0x7530,Si=_0x51303a(0x256),Ei=0x4e20,Dn=0x4e20,Pn=_0x51303a(0x1b3),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x51303a(0x228),An=_0x51303a(0x2e2),xn=_0x51303a(0x23e),Ln=_0x51303a(0x2d7),no=_0x51303a(0x317),ro=_0x51303a(0x23f);var Ii=(_0x179980=>(_0x179980[_0x179980['UNDEFINED']=0x0]=_0x51303a(0x15e),_0x179980[_0x179980['OK']=0x1]='OK',_0x179980[_0x179980['INTERNAL_ERROR']=0x2]=_0x51303a(0x213),_0x179980[_0x179980[_0x51303a(0x309)]=0x3]=_0x51303a(0x309),_0x179980[_0x179980['NOT_FOUND']=0x4]=_0x51303a(0x211),_0x179980[_0x179980[_0x51303a(0x428)]=0x5]=_0x51303a(0x428),_0x179980[_0x179980[_0x51303a(0x1f4)]=0x6]=_0x51303a(0x1f4),_0x179980[_0x179980[_0x51303a(0x37b)]=0x7]=_0x51303a(0x37b),_0x179980[_0x179980[_0x51303a(0x1e5)]=0x8]=_0x51303a(0x1e5),_0x179980[_0x179980['COMPLETION_FINISHED']=0x9]=_0x51303a(0x1f9),_0x179980[_0x179980[_0x51303a(0x39a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x23d)]=0x1771]=_0x51303a(0x23d),_0x179980[_0x179980['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x51303a(0x3fb),_0x179980[_0x179980[_0x51303a(0x230)]=0x1773]=_0x51303a(0x230),_0x179980[_0x179980[_0x51303a(0x31b)]=0x1b59]='APPLY_REJECT',_0x179980[_0x179980[_0x51303a(0x290)]=0x1b5a]=_0x51303a(0x290),_0x179980[_0x179980['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x185)]=0x1b5c]=_0x51303a(0x185),_0x179980[_0x179980[_0x51303a(0x232)]=0x1b5d]=_0x51303a(0x232),_0x179980[_0x179980['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x179980[_0x179980[_0x51303a(0x447)]=0x2329]=_0x51303a(0x447),_0x179980[_0x179980[_0x51303a(0x265)]=0x232a]=_0x51303a(0x265),_0x179980[_0x179980[_0x51303a(0x367)]=0x232b]=_0x51303a(0x367),_0x179980[_0x179980['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x51303a(0x26e),_0x179980[_0x179980[_0x51303a(0x3a9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x179980[_0x179980[_0x51303a(0x282)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x179980[_0x179980[_0x51303a(0x3ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x179980[_0x179980[_0x51303a(0x1f6)]=0x2713]=_0x51303a(0x1f6),_0x179980[_0x179980[_0x51303a(0x1ed)]=0x2714]=_0x51303a(0x1ed),_0x179980[_0x179980[_0x51303a(0x25a)]=0x2af9]=_0x51303a(0x25a),_0x179980[_0x179980[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x179980))(Ii||{}),Q=(_0x2caaac=>(_0x2caaac[_0x2caaac[_0x51303a(0x369)]=0x0]=_0x51303a(0x369),_0x2caaac[_0x2caaac[_0x51303a(0x31f)]=0x1]=_0x51303a(0x31f),_0x2caaac[_0x2caaac[_0x51303a(0x43d)]=0x2]=_0x51303a(0x43d),_0x2caaac[_0x2caaac['UNIVER_SLIDE']=0x3]=_0x51303a(0x231),_0x2caaac[_0x2caaac[_0x51303a(0x366)]=0x4]='UNIVER_PROJECT',_0x2caaac[_0x2caaac[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2caaac))(Q||{}),F=(_0x2e64aa=>(_0x2e64aa[_0x2e64aa[_0x51303a(0x406)]=0x0]='UNKNOWN_CMD',_0x2e64aa[_0x2e64aa[_0x51303a(0x204)]=0x1]=_0x51303a(0x204),_0x2e64aa[_0x2e64aa['JOIN']=0x2]=_0x51303a(0x3a3),_0x2e64aa[_0x2e64aa[_0x51303a(0x195)]=0x3]='LEAVE',_0x2e64aa[_0x2e64aa[_0x51303a(0x263)]=0x4]=_0x51303a(0x263),_0x2e64aa[_0x2e64aa[_0x51303a(0x342)]=0x5]=_0x51303a(0x342),_0x2e64aa[_0x2e64aa[_0x51303a(0x3d8)]=0x6]=_0x51303a(0x3d8),_0x2e64aa[_0x2e64aa[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2e64aa))(F||{}),Ee=(_0x503bf0=>(_0x503bf0[_0x503bf0[_0x51303a(0x386)]=0x0]=_0x51303a(0x386),_0x503bf0[_0x503bf0['OK']=0x1]='OK',_0x503bf0[_0x503bf0[_0x51303a(0x3ac)]=0x2]=_0x51303a(0x3ac),_0x503bf0[_0x503bf0['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x503bf0[_0x503bf0[_0x51303a(0x3fd)]=0x3ea]=_0x51303a(0x3fd),_0x503bf0[_0x503bf0['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x51303a(0x327),_0x503bf0[_0x503bf0[_0x51303a(0x2fb)]=0x3ec]=_0x51303a(0x2fb),_0x503bf0[_0x503bf0[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x503bf0))(Ee||{}),Ti=(_0x25a52f=>(_0x25a52f[_0x25a52f['Undefined']=0x0]='Undefined',_0x25a52f[_0x25a52f[_0x51303a(0x166)]=0x1]='HttpImport',_0x25a52f[_0x25a52f[_0x51303a(0x187)]=0x2]=_0x51303a(0x187),_0x25a52f[_0x25a52f[_0x51303a(0x28b)]=0x3]=_0x51303a(0x28b),_0x25a52f[_0x25a52f['UnitSnapshot']=0x4]=_0x51303a(0x41e),_0x25a52f[_0x25a52f[_0x51303a(0x1dc)]=-0x1]='UNRECOGNIZED',_0x25a52f))(Ti||{});const q=_0x51303a(0x27e),Wt={};var se=(_0x2f303c=>(_0x2f303c[_0x51303a(0x1ef)]=_0x51303a(0x1ef),_0x2f303c[_0x51303a(0x309)]=_0x51303a(0x309),_0x2f303c[_0x51303a(0x30e)]=_0x51303a(0x30e),_0x2f303c['CLOSE_ROOM']=_0x51303a(0x149),_0x2f303c['JOIN_ROOM_FAILED']=_0x51303a(0x387),_0x2f303c['SOCKET_FAILED_RETRY']=_0x51303a(0x3ba),_0x2f303c[_0x51303a(0x1e6)]=_0x51303a(0x1e6),_0x2f303c[_0x51303a(0x435)]=_0x51303a(0x435),_0x2f303c))(se||{});class pe{constructor(){var _0x117d0e=_0x51303a;N(this,_0x117d0e(0x3f3),new _0x4973d7()),N(this,_0x117d0e(0x3d0),this['_event$'][_0x117d0e(0x212)]());}[_0x51303a(0x313)](_0x454e7f){var _0x22e54a=_0x51303a;this[_0x22e54a(0x3f3)]['next'](_0x454e7f);}}const Mn=_0x32ae6a(_0x51303a(0x34d));function $n(_0x3876c9){var _0x57cca2=_0x51303a,_0x437194,_0x3c4707,_0x391d77,_0x28c609,_0x3e6dd1;const _0x5ab1a9=_0x3876c9[_0x57cca2(0x1cd)],_0xbad663=JSON[_0x57cca2(0x354)](_0x5ab1a9);switch(_0xbad663[_0x57cca2(0x1e8)]){case F['HEARTBEAT']:case F[_0x57cca2(0x204)]:{const _0x2806ef=_0xbad663[_0x57cca2(0x3b3)];return{..._0xbad663,'data':_0x2806ef,'cmd':_0xbad663[_0x57cca2(0x1e8)]};}case F[_0x57cca2(0x3a3)]:{const _0x26d33f=_0xbad663[_0x57cca2(0x16b)];return{..._0xbad663,'data':_0x26d33f,'cmd':_0xbad663['cmd']};}case F[_0x57cca2(0x3d8)]:{const _0x206595=_0xbad663['collaMsg'];switch(_0x206595[_0x57cca2(0x262)]){case _0x247b59[_0x57cca2(0x42f)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x437194=_0x206595['permissionRejEvent'])==null?void 0x0:_0x437194['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['CHANGESET_ACK']:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3c4707=_0x206595[_0x57cca2(0x2d6)])==null?void 0x0:_0x3c4707['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2df)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x391d77=_0x206595[_0x57cca2(0x359)])==null?void 0x0:_0x391d77['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x1d4)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x28c609=_0x206595['csRejEvent'])==null?void 0x0:_0x28c609['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x446)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3e6dd1=_0x206595[_0x57cca2(0x188)])==null?void 0x0:_0x3e6dd1['cs']},'cmd':_0xbad663['cmd']};case _0x247b59['UPDATE_CURSOR']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x1d2)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['USERS_ENTER']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x419)]},'cmd':_0xbad663['cmd']};case _0x247b59[_0x57cca2(0x3a7)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x3c5)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2bc)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x35d)]:case _0x247b59['LIVESHARE_OPERATION']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x160)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2de)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x3c3)]:return{..._0xbad663,'data':_0x206595,'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x268)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x423)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x425)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x279)]},'cmd':_0xbad663['cmd']};case _0x247b59['SHOULD_CLOSE_CONN']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x2a6)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2a3)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595['uniscriptRunEvent']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};default:return _0xbad663;}}default:return _0xbad663;}}function Hn(_0x4fcdbc){var _0x4ebaf3=_0x51303a;switch(_0x4fcdbc[_0x4ebaf3(0x1e8)]){case F[_0x4ebaf3(0x342)]:case F['HELLO']:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc['cmd'],'routeKey':_0x4fcdbc['routeKey']});case F[_0x4ebaf3(0x263)]:{let _0x1e6805;switch(_0x4fcdbc[_0x4ebaf3(0x1cd)]['eventID']){case _0x247b59[_0x4ebaf3(0x21b)]:{_0x1e6805={'eventID':_0x247b59['UPDATE_CURSOR'],'updateCursorEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x3a7)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x3a7)],'leaveEvent':_0x4fcdbc['data']['data']};break;}case _0x247b59[_0x4ebaf3(0x29c)]:{_0x1e6805={'eventID':_0x247b59['USERS_ENTER'],'joinEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x2bc)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2bc)],'liveShareNewHost':_0x4fcdbc[_0x4ebaf3(0x1cd)]['data']};break;}case _0x247b59[_0x4ebaf3(0x296)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x296)],'liveShareOperation':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59['LIVESHARE_TERMINATE']:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2de)],'liveShareTerminate':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x1b4)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x1b4)],'liveShareRequestHost':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x35d)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x35d)]};break;}default:_0x1e6805={'eventID':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x262)]};}return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'collaMsg':_0x1e6805});}case F[_0x4ebaf3(0x3a3)]:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'joinReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});case F[_0x4ebaf3(0x195)]:return JSON['stringify']({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc['routeKey'],'leaveReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x51303a(0x281)],jn=Object[_0x51303a(0x150)],Bn=(_0x6e21fb,_0x4f2f2c,_0x113962,_0x820666)=>{for(var _0x1ce108=_0x820666>0x1?void 0x0:_0x820666?jn(_0x4f2f2c,_0x113962):_0x4f2f2c,_0x14b691=_0x6e21fb['length']-0x1,_0x3736ac;_0x14b691>=0x0;_0x14b691--)(_0x3736ac=_0x6e21fb[_0x14b691])&&(_0x1ce108=(_0x820666?_0x3736ac(_0x4f2f2c,_0x113962,_0x1ce108):_0x3736ac(_0x1ce108))||_0x1ce108);return _0x820666&&_0x1ce108&&kn(_0x4f2f2c,_0x113962,_0x1ce108),_0x1ce108;},Ue=(_0xca64ec,_0x5825eb)=>(_0x5896da,_0x282c6e)=>_0x5825eb(_0x5896da,_0x282c6e,_0xca64ec);const Ci=_0x32ae6a('univer-pro.collaboration-client-socket-service');function Fn(_0x302d11,_0xa49ba4,_0x17e8a3){var _0x141d3b=_0x51303a;return _0x302d11+'/'+_0xa49ba4+_0x141d3b(0x38d)+_0x17e8a3+'/new_changes';}let Et=class extends _0x47cec6{constructor(_0xc420b9,_0x581222,_0x476321,_0x3e6e36,_0x2feb29){var _0x100490=_0x51303a;super(),this['_injector']=_0xc420b9,this[_0x100490(0x224)]=_0x581222,this[_0x100490(0x2c0)]=_0x476321,this[_0x100490(0x257)]=_0x3e6e36,this[_0x100490(0x20f)]=_0x2feb29;}[_0x51303a(0x2b0)](_0x340e5e){var _0x4bf3e3=_0x51303a;const _0x184cb7=this['_injector'][_0x4bf3e3(0x227)](_0x2f9d08);if(!_0x184cb7)throw new Error(_0x4bf3e3(0x18e));const _0x53ddb7=_0x184cb7[_0x4bf3e3(0x2b0)](_0x340e5e);if(!_0x53ddb7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5274f9=new _0x53658a(),_0x2f01bd=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x27d)][_0x4bf3e3(0x315)](_0x4c4082=>_0x2f01bd[_0x4bf3e3(0x334)](_0x4c4082))),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x2f01bd[_0x4bf3e3(0x147)]()));const _0x4c33d5=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7['error$']['subscribe'](_0x37c39c=>_0x4c33d5['next'](_0x37c39c))),_0x5274f9['add'](_0x24575e(()=>_0x4c33d5[_0x4bf3e3(0x147)]()));const _0x4ea49b=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x179)][_0x4bf3e3(0x315)](_0x2d3bc1=>{var _0x15b670=_0x4bf3e3;const _0x30f40c=$n(_0x2d3bc1);_0x4ea49b[_0x15b670(0x334)](_0x30f40c);})),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x4ea49b['complete']()));let _0x8e2f5;const _0x70328a=()=>{var _0x4afb76=_0x4bf3e3;_0x4c33d5[_0x4afb76(0x334)](new Event(_0x4afb76(0x395))),_0x2f01bd['next'](new CloseEvent(_0x4afb76(0x395))),_0x8e2f5[_0x4afb76(0x3cc)]();};return _0x8e2f5={'memberID':'','close$':_0x2f01bd[_0x4bf3e3(0x212)](),'error$':_0x4c33d5['asObservable'](),'open$':_0x53ddb7[_0x4bf3e3(0x16c)],'message$':_0x4ea49b[_0x4bf3e3(0x212)](),'send':_0x174496=>{var _0x1cc345=_0x4bf3e3;if(_0x174496[_0x1cc345(0x1e8)]===F['INGEST']){if(_0x174496['data'][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x28d)]){this[_0x1cc345(0x22d)](_0x8e2f5,_0x174496[_0x1cc345(0x1cd)])[_0x1cc345(0x3b5)](_0xb6ff83=>{var _0x31ba1c=_0x1cc345;this[_0x31ba1c(0x257)][_0x31ba1c(0x16e)](_0xb6ff83),_0x70328a();});return;}if(_0x174496[_0x1cc345(0x1cd)][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x2ca)]){const _0x20667f=_0x174496[_0x1cc345(0x1cd)];this[_0x1cc345(0x415)](_0x20667f)['then'](_0x59475e=>{var _0x54d9fb=_0x1cc345;_0x4ea49b[_0x54d9fb(0x334)]({'cmd':F[_0x54d9fb(0x3d8)],'code':Ee['OK'],'routeKey':_0x20667f['data'][_0x54d9fb(0x40d)],'routeType':'','data':{'eventID':_0x247b59[_0x54d9fb(0x3b1)],'data':{'changesets':_0x59475e}}});})[_0x1cc345(0x3b5)](_0x3e9153=>{var _0x50ca43=_0x1cc345;this[_0x50ca43(0x257)][_0x50ca43(0x16e)](_0x3e9153),_0x70328a();});return;}}_0x53ddb7[_0x1cc345(0x229)](Hn(_0x174496));},'close':()=>{var _0x3f919e=_0x4bf3e3;_0x53ddb7[_0x3f919e(0x3cc)](),_0x5274f9[_0x3f919e(0x421)]();}},_0x8e2f5;}async[_0x51303a(0x22d)](_0x5834a7,_0x4947d3){var _0x4a2788=_0x51303a,_0x1ab4c0,_0x1ecc57;const {unitType:_0x191802,unitID:_0x3d2de4,changeset:_0x573e2e}=_0x4947d3[_0x4a2788(0x1cd)],_0x1499e8={'unitID':_0x3d2de4,'memberID':_0x5834a7[_0x4a2788(0x2e5)],'type':_0x191802,'changeset':_0x4c01ce(_0x573e2e)},_0x1724de=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](Un),_0x25a861=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](q),_0x12a818=Fn((_0x1ecc57=(_0x1ab4c0=_0x25a861==null?void 0x0:_0x25a861[_0x4a2788(0x3c8)])!=null?_0x1ab4c0:_0x1724de)!=null?_0x1ecc57:An,_0x191802,_0x3d2de4);try{await this[_0x4a2788(0x224)][_0x4a2788(0x40b)](_0x12a818,{'body':_0x1499e8});}catch(_0x290f9f){throw this[_0x4a2788(0x257)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x290f9f;}}async[_0x51303a(0x415)](_0x4d51aa){var _0x5509bf=_0x51303a;const {unitID:_0x268d20,from:_0x497b06,to:_0x4d96d2,unitType:_0x321373}=_0x4d51aa[_0x5509bf(0x1cd)];return(await this[_0x5509bf(0x20f)][_0x5509bf(0x20b)]({'metadata':void 0x0},{'unitID':_0x268d20,'type':_0x321373,'from':_0x497b06,'to':_0x4d96d2}))['changesets'];}};Et=Bn([Ue(0x0,_0x2a2c27(_0x2ac98c)),Ue(0x1,_0x2a2c27(_0x43259a)),Ue(0x2,_0x197b9e),Ue(0x3,_0x7c7e3b),Ue(0x4,_0x22279b)],Et);const Vn='collaboration_new_changeset';function Gn(_0x1c0490){var _0xffddb1=_0x51303a;return JSON[_0xffddb1(0x235)](_0x1c0490)['length'];}class Ri{constructor(){var _0x51156f=_0x51303a;N(this,_0x51156f(0x2ba),new _0x4973d7()),N(this,'commentUpdate$',this[_0x51156f(0x2ba)][_0x51156f(0x212)]());}[_0x51303a(0x22e)](_0x5001d5){var _0x15272e=_0x51303a;this[_0x15272e(0x2ba)][_0x15272e(0x334)](_0x5001d5);}}var Wn=Object[_0x51303a(0x281)],Kn=Object[_0x51303a(0x150)],Yn=(_0x1c04fc,_0xe5978f,_0x20d123,_0x3ebe26)=>{var _0x5081a6=_0x51303a;for(var _0x5aef21=_0x3ebe26>0x1?void 0x0:_0x3ebe26?Kn(_0xe5978f,_0x20d123):_0xe5978f,_0x55a995=_0x1c04fc[_0x5081a6(0x2b9)]-0x1,_0x2044d7;_0x55a995>=0x0;_0x55a995--)(_0x2044d7=_0x1c04fc[_0x55a995])&&(_0x5aef21=(_0x3ebe26?_0x2044d7(_0xe5978f,_0x20d123,_0x5aef21):_0x2044d7(_0x5aef21))||_0x5aef21);return _0x3ebe26&&_0x5aef21&&Wn(_0xe5978f,_0x20d123,_0x5aef21),_0x5aef21;},Kt=(_0x1c6b93,_0x4bcb04)=>(_0x4fc9db,_0x542fe9)=>_0x4bcb04(_0x4fc9db,_0x542fe9,_0x1c6b93);let xe=class extends _0x47cec6{constructor(_0x256a58,_0x12986e){var _0x4b4a2c=_0x51303a;super(),N(this,_0x4b4a2c(0x2bf),new Map()),N(this,_0x4b4a2c(0x17a),new _0x4973d7()),(this[_0x4b4a2c(0x365)]=_0x256a58,this[_0x4b4a2c(0x253)]=_0x12986e,this['disposeWithMe'](_0x204d3a(this[_0x4b4a2c(0x365)]['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x43d)])[_0x4b4a2c(0x380)](_0x21067b(_0x2a5650=>_0x2a5650[_0x4b4a2c(0x438)]())),this[_0x4b4a2c(0x365)][_0x4b4a2c(0x43b)](_0x500bf2[_0x4b4a2c(0x31f)])['pipe'](_0x21067b(_0x2198aa=>_0x2198aa['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x231)])[_0x4b4a2c(0x380)](_0x21067b(_0x3ee3df=>_0x3ee3df[_0x4b4a2c(0x438)]())))[_0x4b4a2c(0x315)](_0x115c6d=>this[_0x4b4a2c(0x1a8)](_0x115c6d))));}['waitForRoom$'](_0xc5cc89){var _0x19bfd2=_0x51303a;return this[_0x19bfd2(0x2bf)][_0x19bfd2(0x371)](_0xc5cc89)?_0x56aeb4(this[_0x19bfd2(0x2bf)]['get'](_0xc5cc89)):this['_roomCreated$'][_0x19bfd2(0x380)](_0x21067b(_0x53fb06=>{var _0x487c93=_0x19bfd2;if(_0x53fb06===_0xc5cc89)return this['_roomMembers'][_0x487c93(0x227)](_0x53fb06);}));}['setCurrentUser'](_0xd4be76){var _0x354f2c=_0x51303a;this['_userManagerService'][_0x354f2c(0x2a8)](_0xd4be76);}['getCurrentUser'](){var _0x3ed5db=_0x51303a;return this[_0x3ed5db(0x253)]['getCurrentUser']();}[_0x51303a(0x245)](_0x19cdc7,_0x5b8f36){var _0x5b60a5=_0x51303a;let _0x2678e1=this['_roomMembers'][_0x5b60a5(0x227)](_0x19cdc7);_0x2678e1||(_0x2678e1=new qn(),this[_0x5b60a5(0x2bf)][_0x5b60a5(0x34c)](_0x19cdc7,_0x2678e1),this[_0x5b60a5(0x17a)][_0x5b60a5(0x334)](_0x19cdc7)),_0x2678e1[_0x5b60a5(0x245)](_0x5b8f36);}[_0x51303a(0x3c9)](_0x4d1336,_0x5c3331){var _0x3c91c3=_0x51303a;const _0x144787=this[_0x3c91c3(0x2bf)][_0x3c91c3(0x227)](_0x4d1336);_0x144787&&_0x144787[_0x3c91c3(0x3c9)](_0x5c3331);}[_0x51303a(0x32d)](_0x1deb4f){var _0x48c25b=_0x51303a;return this[_0x48c25b(0x2bf)][_0x48c25b(0x227)](_0x1deb4f);}[_0x51303a(0x3da)](_0x532cb8,_0x205eed){var _0x2d04d2=_0x51303a;const _0x71fcf0=this['_roomMembers'][_0x2d04d2(0x227)](_0x532cb8);if(_0x71fcf0)return _0x71fcf0[_0x2d04d2(0x3da)](_0x205eed);}[_0x51303a(0x1a8)](_0x5bab2a){var _0x4f0c5c=_0x51303a;const _0x148c0f=this[_0x4f0c5c(0x2bf)][_0x4f0c5c(0x227)](_0x5bab2a);_0x148c0f&&(_0x148c0f['dispose'](),this[_0x4f0c5c(0x2bf)]['delete'](_0x5bab2a));}['dispose'](){var _0xcd234c=_0x51303a;this[_0xcd234c(0x2bf)][_0xcd234c(0x2ed)](_0x15556b=>_0x15556b[_0xcd234c(0x421)]()),this[_0xcd234c(0x2bf)][_0xcd234c(0x346)](),this[_0xcd234c(0x17a)][_0xcd234c(0x147)]();}};xe=Yn([Kt(0x0,_0xd9ad76),Kt(0x1,_0x2a2c27(_0x1dee39))],xe);class qn extends _0x47cec6{constructor(){var _0x5aa001=_0x51303a;super(...arguments),N(this,_0x5aa001(0x178),new Map()),N(this,_0x5aa001(0x153),new _0x5e258f(this[_0x5aa001(0x178)])),N(this,_0x5aa001(0x2e9),this['_members$']['asObservable']());}['dispose'](){var _0x478a4a=_0x51303a;this[_0x478a4a(0x178)][_0x478a4a(0x346)]();}[_0x51303a(0x245)](_0x5c4ce9){var _0x3cc236=_0x51303a;this[_0x3cc236(0x178)][_0x3cc236(0x34c)](_0x5c4ce9[_0x3cc236(0x2e5)],_0x5c4ce9),this[_0x3cc236(0x15a)]();}['removeMember'](_0x682450){var _0x58daff=_0x51303a;this[_0x58daff(0x178)][_0x58daff(0x182)](_0x682450);}[_0x51303a(0x3da)](_0x39b994){var _0x1d1af0=_0x51303a;return this[_0x1d1af0(0x178)][_0x1d1af0(0x227)](_0x39b994);}[_0x51303a(0x35a)](){var _0x114823=_0x51303a;return Array[_0x114823(0x19d)](this[_0x114823(0x178)][_0x114823(0x413)]());}[_0x51303a(0x15a)](){var _0xb5f13a=_0x51303a;this[_0xb5f13a(0x153)][_0xb5f13a(0x334)](this[_0xb5f13a(0x178)]);}}var zn=Object[_0x51303a(0x281)],Jn=Object[_0x51303a(0x150)],Xn=(_0x135e9d,_0x1e75ed,_0x1fca79,_0x2540a4)=>{var _0x1d4f4e=_0x51303a;for(var _0x4935af=_0x2540a4>0x1?void 0x0:_0x2540a4?Jn(_0x1e75ed,_0x1fca79):_0x1e75ed,_0x31f11e=_0x135e9d[_0x1d4f4e(0x2b9)]-0x1,_0x165385;_0x31f11e>=0x0;_0x31f11e--)(_0x165385=_0x135e9d[_0x31f11e])&&(_0x4935af=(_0x2540a4?_0x165385(_0x1e75ed,_0x1fca79,_0x4935af):_0x165385(_0x4935af))||_0x4935af);return _0x2540a4&&_0x4935af&&zn(_0x1e75ed,_0x1fca79,_0x4935af),_0x4935af;},me=(_0x59e438,_0x2d5ebb)=>(_0x23141e,_0x1177c0)=>_0x2d5ebb(_0x23141e,_0x1177c0,_0x59e438),Te=(_0x483651=>(_0x483651[_0x483651['IDLE']=0x0]=_0x51303a(0x15f),_0x483651[_0x483651[_0x51303a(0x2b5)]=0x1]=_0x51303a(0x2b5),_0x483651[_0x483651[_0x51303a(0x2dd)]=0x2]='OFFLINE',_0x483651[_0x483651['ONLINE']=0x3]=_0x51303a(0x3e9),_0x483651))(Te||{});const Yt={[Ee['FAIL']]:_0x51303a(0x19f),[Ee[_0x51303a(0x1a5)]]:'session.room-full',[Ee[_0x51303a(0x3fd)]]:'session.room-not-exists',[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x51303a(0x410),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x51303a(0x27c)};let It=class extends _0x2127fb{constructor(_0x5248da,_0x31e3d2,_0x47e775,_0x30bf14,_0x407294,_0x19f4dc,_0x1c1650,_0x5602f9,_0x19b03c){var _0x42edcf=_0x51303a;super(),N(this,_0x42edcf(0x148),new _0x5e258f(0x0)),N(this,_0x42edcf(0x314),this[_0x42edcf(0x148)]['asObservable']()),N(this,_0x42edcf(0x3f3),new _0x4973d7()),N(this,'event$',this[_0x42edcf(0x3f3)]['asObservable']()),N(this,_0x42edcf(0x247)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x42edcf(0x418),!0x1),N(this,'_telemetryInfo',null),(this[_0x42edcf(0x2f9)]=_0x5248da,this[_0x42edcf(0x257)]=_0x47e775,this['_configService']=_0x30bf14,this[_0x42edcf(0x3fc)]=_0x407294,this[_0x42edcf(0x3b9)]=_0x19f4dc,this['_commentService']=_0x1c1650,this['_collaborationUIEventService']=_0x5602f9,this[_0x42edcf(0x28f)]=_0x19b03c,this[_0x42edcf(0x418)]=!!this[_0x42edcf(0x28f)],_0x31e3d2[_0x42edcf(0x380)](_0x2fe2c4(this['dispose$']))['subscribe'](_0x12d505=>{var _0x216c81=_0x42edcf,_0x2049da;typeof _0x12d505>'u'||(this[_0x216c81(0x247)]=_0x12d505,_0x12d505?(this[_0x216c81(0x1f0)](_0x12d505),this[_0x216c81(0x43a)]=_0x12d505['message$'][_0x216c81(0x315)](_0x149985=>{var _0x4ae5df=_0x216c81;_0x149985[_0x4ae5df(0x1e3)]===this[_0x4ae5df(0x2f9)]&&this[_0x4ae5df(0x3d5)](_0x149985);})):(this[_0x216c81(0x1f3)](),this[_0x216c81(0x148)][_0x216c81(0x334)](0x2),(_0x2049da=this['_socketMessageSubscription'])==null||_0x2049da[_0x216c81(0x29d)](),this[_0x216c81(0x43a)]=null));}));}get['sessionStatus'](){var _0x20e130=_0x51303a;return this['_sessionStatus$'][_0x20e130(0x173)]();}[_0x51303a(0x297)](){var _0xcde786,_0x45d34f;return(_0x45d34f=(_0xcde786=this['_socket'])==null?void 0x0:_0xcde786['memberID'])!=null?_0x45d34f:null;}[_0x51303a(0x421)](){var _0x453c03=_0x51303a;super[_0x453c03(0x421)](),this[_0x453c03(0x402)][_0x453c03(0x334)](),this[_0x453c03(0x402)][_0x453c03(0x147)]();}[_0x51303a(0x3cc)](){var _0x4fa7b0=_0x51303a,_0x3c991e,_0xc46651;this[_0x4fa7b0(0x1f3)](),(_0x3c991e=this['_socket'])==null||_0x3c991e['send']({'cmd':F[_0x4fa7b0(0x195)],'data':{'roomID':this[_0x4fa7b0(0x2f9)]}}),(_0xc46651=this[_0x4fa7b0(0x247)])==null||_0xc46651[_0x4fa7b0(0x3cc)](),this[_0x4fa7b0(0x3f3)][_0x4fa7b0(0x147)](),this[_0x4fa7b0(0x148)]['complete'](),this[_0x4fa7b0(0x421)]();}[_0x51303a(0x3d5)](_0x707611){var _0x4ff1fb=_0x51303a;_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3a3)]?this[_0x4ff1fb(0x1cb)](_0x707611):_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3d8)]&&this[_0x4ff1fb(0x370)](_0x707611);}['_joinRoom'](_0x4f2a0d){var _0x37bbc6=_0x51303a;this['_sessionStatus$'][_0x37bbc6(0x334)](0x1),_0x4f2a0d['send']({'cmd':F[_0x37bbc6(0x3a3)],'routeKey':this[_0x37bbc6(0x2f9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x37bbc6(0x2f9)]}]}});}['_onJoinRoomEvent'](_0x55b51e){var _0x48dcc3=_0x51303a,_0x158023;if(_0x55b51e[_0x48dcc3(0x175)]in Yt){this[_0x48dcc3(0x31e)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x55b51e[_0x48dcc3(0x175)]]}),this[_0x48dcc3(0x148)][_0x48dcc3(0x334)](0x2);return;}this[_0x48dcc3(0x148)]['next'](0x3);const _0x176c06=(_0x158023=_0x55b51e[_0x48dcc3(0x1cd)][_0x48dcc3(0x375)][this[_0x48dcc3(0x2f9)]])==null?void 0x0:_0x158023['members'];_0x176c06&&_0x176c06[_0x48dcc3(0x2ed)](_0x4ec68f=>this[_0x48dcc3(0x3b9)][_0x48dcc3(0x245)](this['_unitID'],_0x4ec68f));}[_0x51303a(0x370)](_0x5d05af){var _0x3244c7=_0x51303a;try{const _0x2d60b8=_0x5d05af['data'];switch(_0x2d60b8[_0x3244c7(0x262)]){case _0x247b59[_0x3244c7(0x29c)]:this[_0x3244c7(0x316)](_0x2d60b8),this[_0x3244c7(0x3f3)][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59['USERS_LEAVE']:this[_0x3244c7(0x157)](_0x2d60b8),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x2cd)]:case _0x247b59[_0x3244c7(0x446)]:this[_0x3244c7(0x17c)](),this[_0x3244c7(0x307)](),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x3c3)]:this[_0x3244c7(0x257)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x3244c7(0x235)](_0x2d60b8)),this['_event$'][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x268)]:this[_0x3244c7(0x3e8)]['onCommentUpdate'](_0x2d60b8[_0x3244c7(0x1cd)]),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;default:this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);}}catch(_0x4cf954){this[_0x3244c7(0x257)][_0x3244c7(0x16e)](_0x4cf954,_0x5d05af);}}[_0x51303a(0x316)](_0x1a8712){var _0x55084a=_0x51303a;this[_0x55084a(0x3b9)][_0x55084a(0x245)](this['_unitID'],_0x1a8712[_0x55084a(0x1cd)]);}[_0x51303a(0x157)](_0x3ded1e){var _0x30a334=_0x51303a;this[_0x30a334(0x3b9)][_0x30a334(0x3c9)](this[_0x30a334(0x2f9)],_0x3ded1e[_0x30a334(0x1cd)]['memberID']);}async[_0x51303a(0x229)](_0x286b00,_0x3e787b){var _0x2ca876=_0x51303a;if(this[_0x2ca876(0x2e7)]!==0x3||!this[_0x2ca876(0x247)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x286b00[_0x2ca876(0x262)]===_0x247b59['SUBMIT_CHANGESET']&&(this[_0x2ca876(0x17f)](),this[_0x2ca876(0x2af)](_0x286b00)),this[_0x2ca876(0x247)][_0x2ca876(0x229)]({'cmd':F[_0x2ca876(0x263)],'routeKey':_0x3e787b,'routeType':'','data':_0x286b00});}catch(_0x14f436){this['_logService']['error'](_0x14f436);}}[_0x51303a(0x17f)](){var _0x5ec6be=_0x51303a,_0x13642c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x338aa1=_0x1f09;this[_0x338aa1(0x1d5)]=null,this[_0x338aa1(0x31e)][_0x338aa1(0x313)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x13642c=this[_0x5ec6be(0x2c0)][_0x5ec6be(0x2ec)](Si))!=null?_0x13642c:Ei);}[_0x51303a(0x307)](){var _0x164909=_0x51303a;this[_0x164909(0x1d5)]&&(clearTimeout(this[_0x164909(0x1d5)]),this[_0x164909(0x1d5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x53380e){var _0x59756b=_0x51303a;if(!this[_0x59756b(0x418)])return;const {data:_0x13dc65}=_0x53380e,{unitID:_0x710e46,changeset:_0x10f098}=_0x13dc65,{mutations:_0x4235a2,type:_0x2febab}=_0x10f098;this[_0x59756b(0x39f)]={'unitId':_0x710e46,'type':_0x2febab,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4235a2)};}[_0x51303a(0x17c)](){var _0x44a36e=_0x51303a;if(this['_shouldReportTelemetry']){if(!this[_0x44a36e(0x39f)]){this[_0x44a36e(0x257)][_0x44a36e(0x16e)](_0x44a36e(0x162),_0x44a36e(0x37d));return;}this[_0x44a36e(0x39f)]['stopTime']=performance[_0x44a36e(0x35f)](),this[_0x44a36e(0x39f)][_0x44a36e(0x411)]=this[_0x44a36e(0x39f)][_0x44a36e(0x164)]-this[_0x44a36e(0x39f)][_0x44a36e(0x368)],this[_0x44a36e(0x28f)][_0x44a36e(0x42b)](Vn,this[_0x44a36e(0x39f)]),this[_0x44a36e(0x39f)]=null;}}[_0x51303a(0x1f3)](){var _0x99e134=_0x51303a;this[_0x99e134(0x39f)]=null;}};It=Xn([me(0x2,_0x7c7e3b),me(0x3,_0x197b9e),me(0x4,_0x2a2c27(_0x414916)),me(0x5,_0x2a2c27(xe)),me(0x6,_0x2a2c27(Ri)),me(0x7,_0x2a2c27(pe)),me(0x8,_0x1a8278(_0x27e094))],It);var Zn=Object[_0x51303a(0x281)],Qn=Object[_0x51303a(0x150)],er=(_0x13253b,_0x44ff2e,_0xc135c8,_0x41d4bf)=>{var _0x438b22=_0x51303a;for(var _0xcdbb27=_0x41d4bf>0x1?void 0x0:_0x41d4bf?Qn(_0x44ff2e,_0xc135c8):_0x44ff2e,_0x1d3c98=_0x13253b[_0x438b22(0x2b9)]-0x1,_0x13f99f;_0x1d3c98>=0x0;_0x1d3c98--)(_0x13f99f=_0x13253b[_0x1d3c98])&&(_0xcdbb27=(_0x41d4bf?_0x13f99f(_0x44ff2e,_0xc135c8,_0xcdbb27):_0x13f99f(_0xcdbb27))||_0xcdbb27);return _0x41d4bf&&_0xcdbb27&&Zn(_0x44ff2e,_0xc135c8,_0xcdbb27),_0xcdbb27;},ge=(_0x12c7ec,_0x44639f)=>(_0x5e75fc,_0x4523bf)=>_0x44639f(_0x5e75fc,_0x4523bf,_0x12c7ec);let Le=class extends _0x47cec6{constructor(_0x516698,_0x27958f,_0x230c4f,_0x309ed2,_0x3caa34,_0x1df7ea,_0x565776){var _0x225ab3=_0x51303a;super(),N(this,'_socket$',new _0x5e258f(void 0x0)),N(this,'socket$',this[_0x225ab3(0x272)][_0x225ab3(0x212)]()),N(this,'_candidateSocket',null),N(this,_0x225ab3(0x39d),new Map()),N(this,'_status$',new _0x5e258f(Te[_0x225ab3(0x15f)])),N(this,_0x225ab3(0x3a4),this[_0x225ab3(0x176)][_0x225ab3(0x212)]()),N(this,'_socketReady',!0x1),N(this,_0x225ab3(0x168)),N(this,'_retryCount',0x0),N(this,_0x225ab3(0x18b)),N(this,_0x225ab3(0x2a7)),(this[_0x225ab3(0x1ff)]=_0x516698,this[_0x225ab3(0x257)]=_0x27958f,this['_configService']=_0x230c4f,this['_socketService']=_0x309ed2,this[_0x225ab3(0x42c)]=_0x3caa34,this[_0x225ab3(0x31e)]=_0x1df7ea,this['_networkConditionService']=_0x565776,this[_0x225ab3(0x20c)]());}get[_0x51303a(0x247)](){var _0x318529=_0x51303a;return this[_0x318529(0x272)]['getValue']();}[_0x51303a(0x20c)](){var _0x4b5d16=_0x51303a;this[_0x4b5d16(0x26f)]&&this[_0x4b5d16(0x434)](this[_0x4b5d16(0x26f)]['online$'][_0x4b5d16(0x315)](_0xb9932=>{var _0x3271ab=_0x4b5d16;_0xb9932&&!this[_0x3271ab(0x247)]&&this['reconnect'](),_0xb9932||this['_onOffline']();}));}[_0x51303a(0x421)](){var _0xe0687d=_0x51303a;super[_0xe0687d(0x421)](),this[_0xe0687d(0x39d)][_0xe0687d(0x2ed)](_0x3ae367=>_0x3ae367[_0xe0687d(0x421)]()),this[_0xe0687d(0x39d)][_0xe0687d(0x346)](),this['_status$'][_0xe0687d(0x147)]();}async[_0x51303a(0x193)](_0x43ac7a){var _0x5f1915=_0x51303a;if(this[_0x5f1915(0x39d)][_0x5f1915(0x371)](_0x43ac7a))return this['_sessions']['get'](_0x43ac7a);this[_0x5f1915(0x3eb)]();const _0x5cf153=this[_0x5f1915(0x1ff)][_0x5f1915(0x372)](It,_0x43ac7a,this[_0x5f1915(0x272)][_0x5f1915(0x212)]());return this['_sessions'][_0x5f1915(0x34c)](_0x43ac7a,_0x5cf153),_0x5cf153;}[_0x51303a(0x407)](_0x4a5879){var _0x140312=_0x51303a,_0x1c5b29;const _0x4de70b=this[_0x140312(0x39d)][_0x140312(0x227)](_0x4a5879);_0x4de70b&&(this[_0x140312(0x39d)]['delete'](_0x4a5879),_0x4de70b[_0x140312(0x3cc)]()),this[_0x140312(0x39d)][_0x140312(0x1ad)]||(_0x1c5b29=this[_0x140312(0x247)])==null||_0x1c5b29['close']();}[_0x51303a(0x31a)](){var _0x21f6b8=_0x51303a;this[_0x21f6b8(0x2d5)]=0x0,this[_0x21f6b8(0x168)]!=null&&(clearTimeout(this[_0x21f6b8(0x168)]),this[_0x21f6b8(0x168)]=null),this[_0x21f6b8(0x3d7)]();}async[_0x51303a(0x3f1)](){var _0x4f645b=_0x51303a,_0x3a9135,_0xc3b876,_0x241302;const _0x4afcdd=this['_configService'][_0x4f645b(0x2ec)](q),_0xb1496b=(_0x3a9135=_0x4afcdd==null?void 0x0:_0x4afcdd[_0x4f645b(0x2c3)])!=null?_0x3a9135:On;return(_0x241302=(_0xc3b876=(await this[_0x4f645b(0x42c)][_0x4f645b(0x227)](_0xb1496b,{'headers':{'Content-Type':_0x4f645b(0x437)}}))[_0x4f645b(0x1df)])==null?void 0x0:_0xc3b876[_0x4f645b(0x3e4)])!=null?_0x241302:'';}[_0x51303a(0x217)](_0x413b42){var _0x1b6144=_0x51303a,_0x143efc,_0x333595;const _0x41956b=this[_0x1b6144(0x2c0)][_0x1b6144(0x2ec)](Rn),_0x333725=this['_configService'][_0x1b6144(0x2ec)](q),_0x3fa79b=(_0x333595=(_0x143efc=_0x333725==null?void 0x0:_0x333725[_0x1b6144(0x2ce)])!=null?_0x143efc:_0x41956b)!=null?_0x333595:bn,_0x527294=typeof window>'u'?new URL(_0x3fa79b):new URL(_0x3fa79b,window[_0x1b6144(0x215)][_0x1b6144(0x37f)]);_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)](_0x1b6144(0x1f2),_0x413b42);const _0x230088=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b6144(0x215)]['search']);return _0x230088[_0x1b6144(0x227)]('runId')&&_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)]('runId',_0x230088['get']('runId')),_0x527294[_0x1b6144(0x1d9)]();}async[_0x51303a(0x177)](){var _0x1c6dbc=_0x51303a;const _0x4dff5c=await this[_0x1c6dbc(0x3f1)](),_0x4d5ccd=this[_0x1c6dbc(0x217)](_0x4dff5c),_0x5036d3=this['_socketService']['createSocket'](_0x4d5ccd);return this[_0x1c6dbc(0x2eb)]=_0x5036d3,_0x5036d3;}async['_tryEnsureSocket'](){var _0x1f8fab=_0x51303a,_0x3af82d,_0x19bcb0;try{const _0xe98d7b=(_0x19bcb0=(_0x3af82d=this[_0x1f8fab(0x247)])!=null?_0x3af82d:this[_0x1f8fab(0x2eb)])!=null?_0x19bcb0:await this[_0x1f8fab(0x177)]();if(_0xe98d7b){const _0x42e2ac=_0xe98d7b['send'];_0xe98d7b['send']=_0x3a65b5=>(this[_0x1f8fab(0x449)](),_0x42e2ac[_0x1f8fab(0x277)](_0xe98d7b,[_0x3a65b5])),_0xe98d7b[_0x1f8fab(0x179)]['subscribe'](_0x3f46e5=>this['_onMessage'](_0xe98d7b,_0x3f46e5)),_0xe98d7b[_0x1f8fab(0x344)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x5944af=>this['_logService'][_0x1f8fab(0x16e)](_0x1f8fab(0x15d),_0x5944af)),_0xe98d7b[_0x1f8fab(0x16c)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](()=>{var _0x326730=_0x1f8fab;this[_0x326730(0x2d9)](_0xe98d7b);}),_0xe98d7b[_0x1f8fab(0x27d)][_0x1f8fab(0x380)](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x2177d5=>{var _0x59e6f6=_0x1f8fab;this['_logService'][_0x59e6f6(0x1cf)](_0x59e6f6(0x1be),'socket\x20close',_0x2177d5),this[_0x59e6f6(0x381)]();});}}catch(_0x3e0ccf){this[_0x1f8fab(0x257)]['error'](_0x3e0ccf),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3eda72){var _0x329bd5=_0x51303a;this['_logService'][_0x329bd5(0x1cf)](_0x329bd5(0x1be),_0x329bd5(0x181)),_0x3eda72[_0x329bd5(0x229)]({'cmd':F['HELLO']}),this[_0x329bd5(0x449)]();}['_onOffline'](){var _0xb2cd1b=_0x51303a;this[_0xb2cd1b(0x27f)]=!0x1,this[_0xb2cd1b(0x2eb)]=null,this['_status$']['next'](Te[_0xb2cd1b(0x2dd)]),this['_socket$'][_0xb2cd1b(0x334)](null),this[_0xb2cd1b(0x22a)](),this[_0xb2cd1b(0x308)]();}[_0x51303a(0x381)](){var _0x19f764=_0x51303a,_0x4bf6bd;this['_onOffline'](),this['_retryCount']<((_0x4bf6bd=this[_0x19f764(0x2c0)][_0x19f764(0x2ec)](Pn))!=null?_0x4bf6bd:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x19f764(0x3d7)]()):this[_0x19f764(0x31e)][_0x19f764(0x313)]({'id':se['SOCKET_FAILED']});}[_0x51303a(0x3d7)](){var _0x1e1282=_0x51303a,_0x578f5e;const _0x27d549=this[_0x1e1282(0x2d5)],_0x4a57ca=this[_0x1e1282(0x2c0)][_0x1e1282(0x2ec)](q),_0x13b060=_0x27d549===0x0?0x0:((_0x578f5e=_0x4a57ca==null?void 0x0:_0x4a57ca[_0x1e1282(0x1a1)])!=null?_0x578f5e:Dn)*0x2**_0x27d549;this[_0x1e1282(0x168)]=setTimeout(()=>{var _0x5d8a00=_0x1e1282;clearTimeout(this[_0x5d8a00(0x168)]),this[_0x5d8a00(0x168)]=null,this[_0x5d8a00(0x3eb)]();},_0x13b060),this[_0x1e1282(0x2d5)]+=0x1;}['_onMessage'](_0x425e96,_0xcb53e2){var _0x1dceba=_0x51303a;const {cmd:_0x51b8e9}=_0xcb53e2;_0x51b8e9===F[_0x1dceba(0x204)]&&!this[_0x1dceba(0x27f)]&&(_0x425e96['memberID']=_0xcb53e2[_0x1dceba(0x1cd)][_0x1dceba(0x2e5)],this[_0x1dceba(0x272)][_0x1dceba(0x334)](_0x425e96),this['_status$'][_0x1dceba(0x334)](Te[_0x1dceba(0x3e9)]),this['_socketReady']=!0x0,this[_0x1dceba(0x2eb)]=null),_0x51b8e9===F[_0x1dceba(0x342)]&&this['_clearTimeoutTimer'](),this[_0x1dceba(0x449)]();}[_0x51303a(0x449)](){var _0x31369b=_0x51303a,_0x5ed4b9;this['_clearHeartbeatTimer'](),this[_0x31369b(0x18b)]=setTimeout(()=>this[_0x31369b(0x29f)](),(_0x5ed4b9=this['_configService'][_0x31369b(0x2ec)](yn))!=null?_0x5ed4b9:Nn);}['_sendHeartbeat'](){var _0x25b451=_0x51303a;this[_0x25b451(0x247)][_0x25b451(0x229)]({'cmd':F[_0x25b451(0x342)]}),this[_0x25b451(0x3ea)]();}[_0x51303a(0x3ea)](){var _0x48d717=_0x51303a,_0x5defe8;this['_timeoutTimer']=setTimeout(()=>this[_0x48d717(0x381)](),(_0x5defe8=this['_configService'][_0x48d717(0x2ec)](Si))!=null?_0x5defe8:Ei);}[_0x51303a(0x308)](){var _0x3a10c5=_0x51303a;this[_0x3a10c5(0x18b)]!=null&&(clearTimeout(this[_0x3a10c5(0x18b)]),this[_0x3a10c5(0x18b)]=null);}['_clearTimeoutTimer'](){var _0x3355cf=_0x51303a;this[_0x3355cf(0x2a7)]!=null&&(clearTimeout(this[_0x3355cf(0x2a7)]),this[_0x3355cf(0x2a7)]=null);}};Le=er([ge(0x0,_0x2a2c27(_0x2ac98c)),ge(0x1,_0x7c7e3b),ge(0x2,_0x197b9e),ge(0x3,Ci),ge(0x4,_0x2a2c27(_0x43259a)),ge(0x5,_0x2a2c27(pe)),ge(0x6,_0x1a8278(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x51303a(0x1d9)](0x10)[_0x51303a(0x172)](0x1));function tr(_0x56569e,_0x46407=0x0){var _0x2c05a9=_0x51303a;return(V[_0x56569e[_0x46407+0x0]]+V[_0x56569e[_0x46407+0x1]]+V[_0x56569e[_0x46407+0x2]]+V[_0x56569e[_0x46407+0x3]]+'-'+V[_0x56569e[_0x46407+0x4]]+V[_0x56569e[_0x46407+0x5]]+'-'+V[_0x56569e[_0x46407+0x6]]+V[_0x56569e[_0x46407+0x7]]+'-'+V[_0x56569e[_0x46407+0x8]]+V[_0x56569e[_0x46407+0x9]]+'-'+V[_0x56569e[_0x46407+0xa]]+V[_0x56569e[_0x46407+0xb]]+V[_0x56569e[_0x46407+0xc]]+V[_0x56569e[_0x46407+0xd]]+V[_0x56569e[_0x46407+0xe]]+V[_0x56569e[_0x46407+0xf]])[_0x2c05a9(0x2c4)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x31bb9c=_0x51303a;if(!ut){if(typeof crypto>'u'||!crypto[_0x31bb9c(0x1dd)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x31bb9c(0x1dd)][_0x31bb9c(0x1af)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x51303a(0x2d2)]&&crypto[_0x51303a(0x2d2)][_0x51303a(0x1af)](crypto),qt={'randomUUID':rr};function sr(_0x44f6c2,_0x28ddb6,_0x563757){var _0x4b57aa=_0x51303a,_0x3b3813,_0x5ab98a,_0x50a85a;if(qt[_0x4b57aa(0x2d2)]&&!_0x44f6c2)return qt[_0x4b57aa(0x2d2)]();_0x44f6c2=_0x44f6c2||{};const _0x43e4af=(_0x50a85a=(_0x5ab98a=_0x44f6c2['random'])!=null?_0x5ab98a:(_0x3b3813=_0x44f6c2['rng'])==null?void 0x0:_0x3b3813[_0x4b57aa(0x270)](_0x44f6c2))!=null?_0x50a85a:nr();if(_0x43e4af[_0x4b57aa(0x2b9)]<0x10)throw new Error(_0x4b57aa(0x226));return _0x43e4af[0x6]=_0x43e4af[0x6]&0xf|0x40,_0x43e4af[0x8]=_0x43e4af[0x8]&0x3f|0x80,tr(_0x43e4af);}const J=_0x32ae6a(_0x51303a(0x255));function so(_0x4f549d){var _0x2eda7b=_0x51303a;return _0x2eda7b(0x1fd)+_0x4f549d;}var or=Object[_0x51303a(0x281)],ar=Object[_0x51303a(0x150)],cr=(_0x415712,_0x36cda9,_0x4d29a2,_0x4459c6)=>{for(var _0x3743d7=_0x4459c6>0x1?void 0x0:_0x4459c6?ar(_0x36cda9,_0x4d29a2):_0x36cda9,_0xfa2918=_0x415712['length']-0x1,_0x510d80;_0xfa2918>=0x0;_0xfa2918--)(_0x510d80=_0x415712[_0xfa2918])&&(_0x3743d7=(_0x4459c6?_0x510d80(_0x36cda9,_0x4d29a2,_0x3743d7):_0x510d80(_0x3743d7))||_0x3743d7);return _0x4459c6&&_0x3743d7&&or(_0x36cda9,_0x4d29a2,_0x3743d7),_0x3743d7;},dt=(_0x4fb969,_0xf529bb)=>(_0x272c67,_0x5d7894)=>_0xf529bb(_0x272c67,_0x5d7894,_0x4fb969);function hr(_0x5e9b62){var _0x24811a=_0x51303a;const {unitID:_0x501c8d,mutations:_0x3d5ffb}=_0x5e9b62;return{'unitId':_0x501c8d,'subUnitId':_0x3d5ffb[0x0]['params'][_0x24811a(0x3d4)]};}let it=class{constructor(_0x1478fc,_0x566759,_0xcccdbb){var _0x40a5e5=_0x51303a;this[_0x40a5e5(0x1ff)]=_0x1478fc,this[_0x40a5e5(0x223)]=_0x566759,this['_instanceService']=_0xcccdbb;}[_0x51303a(0x24f)](_0x238104){var _0x23a15a=_0x51303a,_0xd5b635,_0x44775d,_0x566d98,_0x27236a;const _0x22d23c=this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x112b24),{unitId:_0x265b78,subUnitId:_0x3c3cc2}=hr(_0x238104),_0x4f6152=_0x22d23c==null?void 0x0:_0x22d23c[_0x23a15a(0x3dc)](_0x265b78)[_0x23a15a(0x431)](),_0x52b145=(_0x44775d=(_0xd5b635=this[_0x23a15a(0x43f)]['getUnit'](_0x265b78))==null?void 0x0:_0xd5b635[_0x23a15a(0x420)]())==null?void 0x0:_0x44775d[_0x23a15a(0x324)]();if(_0x4f6152['length']===0x0||!_0x265b78||!_0x3c3cc2)return;const _0xa42453=[{'id':_0xf5e32b['id'],'params':{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x299834[_0x23a15a(0x35b)](_0x4f6152)}}],_0x570aae=this['_transformService'][_0x23a15a(0x405)](_0x238104,_0xa42453);if(!_0x122f14(_0x570aae))throw _0x570aae[_0x23a15a(0x16e)];const _0x1640f8=(_0x27236a=(_0x566d98=_0x570aae['m2Prime'][0x0])==null?void 0x0:_0x566d98[_0x23a15a(0x1b5)])==null?void 0x0:_0x27236a[_0x23a15a(0x362)];if(Array[_0x23a15a(0x3e6)](_0x1640f8)&&_0x1640f8[_0x23a15a(0x2b9)]){if(_0x1640f8[_0x23a15a(0x2b9)]===_0xa42453[0x0][_0x23a15a(0x1b5)][_0x23a15a(0x362)][_0x23a15a(0x2b9)]&&_0x1640f8['every']((_0x10d5ee,_0x365877)=>_0x81784f['equals'](_0x10d5ee[_0x23a15a(0x3d9)],_0xa42453[0x0]['params'][_0x23a15a(0x362)][_0x365877][_0x23a15a(0x3d9)])))return;this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x5c01af)[_0x23a15a(0x252)](_0xf5e32b['id'],{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x1640f8});}}};it=cr([dt(0x0,_0x2a2c27(_0x2ac98c)),dt(0x1,_0x1aa332),dt(0x2,_0xd9ad76)],it);const ht=_0x32ae6a(_0x51303a(0x25f));var bi=(_0x4766b5=>(_0x4766b5[_0x4766b5[_0x51303a(0x2c9)]=0x0]=_0x51303a(0x2c9),_0x4766b5[_0x4766b5[_0x51303a(0x151)]=0x1]='OTHER_CLIENTS_EDITING',_0x4766b5))(bi||{});const _r=new Set([_0x2ce3d3['id']]);function zt(_0x966489,_0x4a7023,_0x24daa4,_0x358e1f,_0x36f52d){var _0x5518ba=_0x51303a,_0x51b7df,_0x5acab8,_0x15978c,_0x467244;const _0x29a3b7=[];for(const _0x1bb17d of _0x966489)if(_r[_0x5518ba(0x371)](_0x1bb17d['id'])){if(_0x29a3b7[_0x5518ba(0x2b9)]>0x0)break;_0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);break;}else _0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);const _0x19dc50=(_0x5acab8=(_0x51b7df=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x51b7df['userID'])!=null?_0x5acab8:_0x5518ba(0x326),_0xeda030=(_0x467244=(_0x15978c=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x15978c[_0x5518ba(0x2e5)])!=null?_0x467244:_0x5518ba(0x326);return{'changeset':{'unitID':_0x4a7023,'type':_0x24f5bb(_0x24daa4[_0x5518ba(0x291)](_0x4a7023)),'baseRev':_0x358e1f['getCurrentRevOfUnit'](_0x4a7023),'revision':0x0,'userID':_0x19dc50,'memberID':_0xeda030,'mutations':_0x29a3b7},'pendingMutations':_0x966489[_0x5518ba(0x172)](_0x29a3b7[_0x5518ba(0x2b9)])};}function lr(_0x4fac70,_0x109b19,_0x11a001,_0x276c24,_0x387b8d){var _0x33af34=_0x51303a,_0x456cce,_0x49496d,_0x4b9bad,_0x4de248;const _0x2a85d5=[_0x4fac70['reduce']((_0x21bf4d,_0x48d41b)=>{var _0x55e860=_0x1f09,_0x26ae55;const {id:_0x4156f6}=_0x21bf4d,{id:_0x116d76,type:_0x583fe4}=_0x48d41b,_0x6f1fcc=(_0x26ae55=_0x21bf4d[_0x55e860(0x1b5)])!=null?_0x26ae55:{'actions':null},_0xb30497=_0x48d41b[_0x55e860(0x1b5)];if(_0x4156f6&&_0x4156f6!==_0x116d76)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4156f6+_0x55e860(0x304)+_0x116d76+'.');return{..._0x21bf4d,'id':_0x116d76,'type':_0x583fe4,'params':{'unitId':_0xb30497['unitId'],'textRanges':_0xb30497['textRanges'],'actions':_0x8c9ea0[_0x55e860(0x15b)](_0x6f1fcc[_0x55e860(0x398)],_0xb30497[_0x55e860(0x398)])}};},{})],_0x56dba8=(_0x49496d=(_0x456cce=_0x387b8d['getCurrentUser']())==null?void 0x0:_0x456cce[_0x33af34(0x433)])!=null?_0x49496d:_0x33af34(0x326),_0x22ee91=(_0x4de248=(_0x4b9bad=_0x387b8d[_0x33af34(0x432)]())==null?void 0x0:_0x4b9bad[_0x33af34(0x2e5)])!=null?_0x4de248:_0x33af34(0x326);return{'changeset':{'unitID':_0x109b19,'type':_0x24f5bb(_0x11a001['getUnitType'](_0x109b19)),'baseRev':_0x276c24[_0x33af34(0x1de)](_0x109b19),'revision':0x0,'userID':_0x56dba8,'memberID':_0x22ee91,'mutations':_0x2a85d5},'pendingMutations':[]};}function Oi(_0x544383,_0x3114dc){var _0x1a1a8c=_0x51303a;const _0x3b25ed=new _0x5d8dc9(0x1);return setTimeout(()=>_0x3b25ed['next'](_0x3114dc),_0x544383),_0x3b25ed[_0x1a1a8c(0x212)]()[_0x1a1a8c(0x380)](_0x81314e(0x1));}const ur={'id':_0x8ec12b['id'],'type':_0x42bf5d[_0x51303a(0x1fb)],'params':{}};var dr=Object[_0x51303a(0x281)],fr=Object[_0x51303a(0x150)],Re=(_0x1e248d,_0x10d496,_0x212998,_0x30081a)=>{var _0x4dbc65=_0x51303a;for(var _0x13b5ce=_0x30081a>0x1?void 0x0:_0x30081a?fr(_0x10d496,_0x212998):_0x10d496,_0x11bfe5=_0x1e248d[_0x4dbc65(0x2b9)]-0x1,_0x3de7b8;_0x11bfe5>=0x0;_0x11bfe5--)(_0x3de7b8=_0x1e248d[_0x11bfe5])&&(_0x13b5ce=(_0x30081a?_0x3de7b8(_0x10d496,_0x212998,_0x13b5ce):_0x3de7b8(_0x13b5ce))||_0x13b5ce);return _0x30081a&&_0x13b5ce&&dr(_0x10d496,_0x212998,_0x13b5ce),_0x13b5ce;},A=(_0x3b0330,_0x75b90a)=>(_0x195dcb,_0xcda67c)=>_0x75b90a(_0x195dcb,_0xcda67c,_0x3b0330),yi=(_0x58a0d4=>(_0x58a0d4[_0x51303a(0x329)]='not_collab',_0x58a0d4[_0x51303a(0x39c)]=_0x51303a(0x20e),_0x58a0d4['PENDING']=_0x51303a(0x15c),_0x58a0d4['AWAITING']='awaiting',_0x58a0d4[_0x51303a(0x41d)]=_0x51303a(0x1fe),_0x58a0d4[_0x51303a(0x343)]=_0x51303a(0x206),_0x58a0d4[_0x51303a(0x30e)]=_0x51303a(0x210),_0x58a0d4[_0x51303a(0x2dd)]=_0x51303a(0x3f2),_0x58a0d4))(yi||{});const Ni=0xea60;class be{constructor(_0x35b943,_0xa195cd,_0x5d34ef,_0x4eb19c,_0x3cfc91,_0x47435e,_0x198810,_0x27693e,_0x3b7da9){var _0x4da3a2=_0x51303a;N(this,_0x4da3a2(0x3cf),null),N(this,_0x4da3a2(0x1ea),[]),(this[_0x4da3a2(0x40d)]=_0x35b943,this[_0x4da3a2(0x390)]=_0xa195cd,this['_handler']=_0x3cfc91,this[_0x4da3a2(0x321)]=_0x47435e,this[_0x4da3a2(0x448)]=_0x198810,this['_revisionService']=_0x27693e,this[_0x4da3a2(0x303)]=_0x3b7da9,this['_awaitingChangeset']=_0x5d34ef,this[_0x4da3a2(0x1ea)]=_0x4eb19c);}['_checkMissing'](_0x15ee1a){var _0x499a12=_0x51303a;const _0x7f790d=this['_revisionService'][_0x499a12(0x1de)](this[_0x499a12(0x40d)]);return _0x15ee1a['revision']>_0x7f790d+0x1?(this[_0x499a12(0x392)][_0x499a12(0x3f4)]({'from':_0x7f790d,'to':_0x15ee1a[_0x499a12(0x1db)]-0x1}),!0x0):!0x1;}[_0x51303a(0x2e4)](_0x5dd6e0){var _0x376d92=_0x51303a;this[_0x376d92(0x448)][_0x376d92(0x2ad)](this[_0x376d92(0x40d)],_0x5dd6e0);}[_0x51303a(0x2d3)](_0x6af358){var _0x24242b=_0x51303a,_0x4b816a,_0x1863ca;(_0x1863ca=(_0x4b816a=this[_0x24242b(0x392)])[_0x24242b(0x1d7)])==null||_0x1863ca[_0x24242b(0x270)](_0x4b816a,_0x6af358);}[_0x51303a(0x2ab)](_0x1e5c74){var _0x2316a6=_0x51303a,_0x2c458b,_0x419bd5;return(_0x419bd5=(_0x2c458b=this[_0x2316a6(0x392)])[_0x2316a6(0x32c)])==null?void 0x0:_0x419bd5[_0x2316a6(0x270)](_0x2c458b,_0x1e5c74);}[_0x51303a(0x21d)](_0x5562fa){var _0x54249d=_0x51303a,_0x3379e4,_0x35e556;return(_0x35e556=(_0x3379e4=this[_0x54249d(0x392)])[_0x54249d(0x3a0)])==null?void 0x0:_0x35e556[_0x54249d(0x270)](_0x3379e4,_0x5562fa);}[_0x51303a(0x286)](_0x4c532c){var _0xcc1a74=_0x51303a,_0x1ff344,_0x496682,_0x594387;return(_0x594387=(_0x496682=(_0x1ff344=this['_handler'])[_0xcc1a74(0x1e2)])==null?void 0x0:_0x496682[_0xcc1a74(0x270)](_0x1ff344,_0x4c532c))!=null?_0x594387:_0x4c532c;}[_0x51303a(0x191)](_0x15d1ba){var _0x2fa108=_0x51303a,_0x19e02e,_0x517f2e,_0x287b1d;return(_0x287b1d=(_0x517f2e=(_0x19e02e=this[_0x2fa108(0x392)])[_0x2fa108(0x36a)])==null?void 0x0:_0x517f2e[_0x2fa108(0x270)](_0x19e02e,_0x15d1ba))!=null?_0x287b1d:_0x15d1ba;}[_0x51303a(0x2d0)](_0x5cbf04){var _0x5107d3=_0x51303a,_0x4d8686,_0x4d2d8f;if(this[_0x5107d3(0x390)]===Q['UNIVER_DOC']){const {unitID:_0x27293c,mutations:_0x3bddab,memberID:_0x3ac773}=_0x5cbf04,_0x5c285f=_0x3bddab[0x0][_0x5107d3(0x1b5)][_0x5107d3(0x336)];Array['isArray'](_0x5c285f)&&_0x5c285f[_0x5107d3(0x2b9)]>0x0&&((_0x4d2d8f=(_0x4d8686=this[_0x5107d3(0x392)])[_0x5107d3(0x161)])==null||_0x4d2d8f[_0x5107d3(0x270)](_0x4d8686,{'unitID':_0x27293c,'memberID':_0x3ac773,'textRanges':_0x5c285f}));}}[_0x51303a(0x3d2)](){var _0x25417a=_0x51303a,_0x394cb1;(_0x394cb1=this[_0x25417a(0x303)])==null||_0x394cb1['updateOfflineData'](this[_0x25417a(0x40d)],this[_0x25417a(0x390)],this[_0x25417a(0x3cf)],this[_0x25417a(0x1ea)]);}[_0x51303a(0x2f5)](){var _0x33ff9e=_0x51303a;return this[_0x33ff9e(0x3e1)][_0x33ff9e(0x1de)](this['unitID']);}[_0x51303a(0x3a2)](){var _0x1d1cfe=_0x51303a;this['_revisionService'][_0x1d1cfe(0x2ff)](this[_0x1d1cfe(0x40d)]);}[_0x51303a(0x1a3)](_0x2ec1e1){var _0x5af713=_0x51303a,_0x4144ce;let _0x2105ea=this[_0x5af713(0x286)](_0x2ec1e1);_0x2105ea=this['_transformRemoteChangesetByStateCache'](_0x2105ea);const _0x518a12=_0x26a0b3(_0x2105ea[_0x5af713(0x325)],this[_0x5af713(0x321)],{'fromCollab':!0x0});if(!_0x518a12[_0x5af713(0x2cf)])throw _0x518a12[_0x5af713(0x16e)]instanceof Error?_0x518a12[_0x5af713(0x16e)]:new Error((_0x4144ce=_0x518a12['error'])!=null?_0x4144ce:_0x5af713(0x1eb));this[_0x5af713(0x2ab)](_0x2105ea),this[_0x5af713(0x21d)](_0x2105ea),this[_0x5af713(0x2e4)](_0x2ec1e1),this['_transformSelections'](_0x2105ea),this['_syncEditingCollabCursor'](_0x2105ea),this[_0x5af713(0x3a2)]();}}let De=class extends be{constructor(_0x4f0fe4,_0x19b554,_0x19f71e,_0x34c565,_0x1d096a,_0x5df649,_0xc2e9e3,_0x2c3c9d,_0x3598c2,_0x796c47){var _0xc5aabf=_0x51303a;super(_0x4f0fe4,_0x19b554,null,[],_0x19f71e,_0xc2e9e3,_0x5df649,_0x34c565,_0x796c47),N(this,_0xc5aabf(0x3c2),'synced'),(this[_0xc5aabf(0x1ff)]=_0x1d096a,this[_0xc5aabf(0x257)]=_0x2c3c9d,this[_0xc5aabf(0x223)]=_0x3598c2,this[_0xc5aabf(0x19c)]=_0x796c47);}['appendMutation'](_0x203d32){var _0x4486d2=_0x51303a;const _0x44db0d=this[_0x4486d2(0x1ff)]['createInstance'](oe,this[_0x4486d2(0x40d)],this['type'],[_0x203d32],this['_handler']);return _0x44db0d[_0x4486d2(0x1d0)](),_0x44db0d['_updateLocalCache'](),_0x44db0d;}['onRemoteChangeset'](_0x1fae49){var _0x4e4b4e=_0x51303a;if(this[_0x4e4b4e(0x38f)](_0x1fae49))return this[_0x4e4b4e(0x1ff)][_0x4e4b4e(0x372)](te,this[_0x4e4b4e(0x40d)],this[_0x4e4b4e(0x390)],null,[],null,[_0x1fae49],this[_0x4e4b4e(0x392)]);try{const _0x32db3b=this[_0x4e4b4e(0x223)][_0x4e4b4e(0x405)](_0x1fae49,[ur]);if(_0x122f14(_0x32db3b)){const {c1Prime:_0x7ff38}=_0x32db3b;return this['_executeRemoteChangeset'](_0x7ff38),this;}throw _0x32db3b[_0x4e4b4e(0x16e)];}catch(_0x30df32){return this[_0x4e4b4e(0x257)]['error'](_0x30df32),this['_onConflict'](!0x1);}}['_onConflict'](_0x57ecda){var _0x300ee8=_0x51303a;return this[_0x300ee8(0x1ff)][_0x300ee8(0x372)](de,this[_0x300ee8(0x40d)],this[_0x300ee8(0x390)],null,[],this[_0x300ee8(0x392)],_0x57ecda);}[_0x51303a(0x3bd)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5d461f=_0x51303a;throw new Error(_0x5d461f(0x1ba));}['onRemoteRetry'](){return this;}[_0x51303a(0x37a)](){var _0x2e45c6=_0x51303a;return this['_injector']['createInstance'](fe,this[_0x2e45c6(0x40d)],this[_0x2e45c6(0x390)],null,[],this[_0x2e45c6(0x392)]);}[_0x51303a(0x267)](){return this;}['resend'](){var _0x132dcb=_0x51303a;throw new Error(_0x132dcb(0x29e));}['fetchMiss'](){var _0x2c5fcf=_0x51303a;const _0x5682b0=this['_revisionService'][_0x2c5fcf(0x1de)](this[_0x2c5fcf(0x40d)]);return this['_handler'][_0x2c5fcf(0x3f4)]({'from':_0x5682b0,'to':0x0}),this[_0x2c5fcf(0x1ff)][_0x2c5fcf(0x372)](te,this[_0x2c5fcf(0x40d)],this[_0x2c5fcf(0x390)],null,[],null,[],this[_0x2c5fcf(0x392)]);}};De=Re([A(0x3,_0x2a2c27(_0x408fec)),A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x277f73),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x1a8278(J))],De);let oe=class extends be{constructor(_0x4929d6,_0x59169d,_0x34322a,_0x2961ba,_0x346726,_0x1e35ee,_0x4f02d3,_0x274e94,_0x4b837f,_0x381057,_0x16a804,_0x2e56a5,_0x36f275,_0x5ccc39){var _0xe747a=_0x51303a;super(_0x4929d6,_0x59169d,null,_0x34322a,_0x2961ba,_0x4b837f,_0x36f275,_0x1e35ee,_0x5ccc39),N(this,_0xe747a(0x3c2),_0xe747a(0x15c)),N(this,_0xe747a(0x3a1),null),N(this,_0xe747a(0x361),null),(this[_0xe747a(0x1ff)]=_0x346726,this['_memberService']=_0x4f02d3,this[_0xe747a(0x257)]=_0x274e94,this['_configService']=_0x381057,this[_0xe747a(0x223)]=_0x16a804,this[_0xe747a(0x365)]=_0x2e56a5);}['appendMutation'](_0x1eb7fd){var _0x34c7ac=_0x51303a;return this['_pendingMutations']['push'](_0x1eb7fd),this[_0x34c7ac(0x3d2)](),this;}[_0x51303a(0x33d)](_0x774b4b){var _0x392f28=_0x51303a;if(this['_checkMissing'](_0x774b4b))return this[_0x392f28(0x26a)](),this['_injector']['createInstance'](te,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],null,this[_0x392f28(0x1ea)],null,[_0x774b4b],this[_0x392f28(0x392)]);try{const _0x1e0534=this[_0x392f28(0x223)]['transformMutationsWithChangeset'](_0x774b4b,this['_pendingMutations']);if(_0x122f14(_0x1e0534)){const {c1Prime:_0x281fa3,m2Prime:_0x1dc4d2}=_0x1e0534;this[_0x392f28(0x1a3)](_0x281fa3);const _0x14a32c=this['_injector'][_0x392f28(0x372)](oe,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],_0x1dc4d2,this[_0x392f28(0x392)]);this[_0x392f28(0x26a)]();const _0x59021c=new Date()[_0x392f28(0x198)](),_0x22368c=this[_0x392f28(0x3a1)]?Math[_0x392f28(0x298)](this[_0x392f28(0x3a1)]-_0x59021c,0x0):this[_0x392f28(0x248)]();return _0x14a32c[_0x392f28(0x1d0)](_0x22368c),_0x14a32c;}throw _0x1e0534[_0x392f28(0x16e)];}catch(_0x47b35a){return this[_0x392f28(0x257)]['error'](_0x47b35a),this[_0x392f28(0x14c)](!0x1);}}['onRemoteAck'](){var _0x25abcf=_0x51303a;throw new Error(_0x25abcf(0x39b));}[_0x51303a(0x216)](){var _0x9e647e=_0x51303a;throw new Error(_0x9e647e(0x1c6));}[_0x51303a(0x18d)](){return this;}[_0x51303a(0x37a)](){var _0x2cfe0c=_0x51303a;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0x2cfe0c(0x40d)],this[_0x2cfe0c(0x390)],null,this[_0x2cfe0c(0x1ea)],this[_0x2cfe0c(0x392)]);}['toggleOnline'](){return this;}[_0x51303a(0x1d0)](_0x4a5c3a){var _0x4ac5ad=_0x51303a;const _0x9c4e25=_0x4a5c3a!=null?_0x4a5c3a:this[_0x4ac5ad(0x248)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4ac5ad(0x198)]()+_0x9c4e25,this['_sendingTimer']=setTimeout(()=>{var _0x346adf=_0x4ac5ad;this[_0x346adf(0x26a)]();let _0x4cb6e3=null;switch(this[_0x346adf(0x390)]){case Q[_0x346adf(0x43d)]:{_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this[_0x346adf(0x365)],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x346adf(0x351)](_0x22e488=>_0x22e488['id']===_0x4e9af9['id'])?_0x4cb6e3=lr(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this['_memberService']):_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}default:throw new Error(_0x346adf(0x331)+this[_0x346adf(0x390)]+_0x346adf(0x1ac));}const {changeset:_0x4fa4aa,pendingMutations:_0x755937}=_0x4cb6e3;this['_handler'][_0x346adf(0x3f7)](_0x4fa4aa);const _0x297c0e=_0x755937[_0x346adf(0x2b9)]?this[_0x346adf(0x1ff)][_0x346adf(0x372)](ae,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,_0x755937,this[_0x346adf(0x392)],void 0x0):this[_0x346adf(0x1ff)][_0x346adf(0x372)](ue,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,this['_handler']);_0x297c0e['_updateLocalCache'](),this[_0x346adf(0x392)][_0x346adf(0x30f)](this,_0x297c0e);},_0x9c4e25);}[_0x51303a(0x248)](){var _0x3f69a7=_0x51303a,_0x353088;const _0x9c1233=this[_0x3f69a7(0x2c0)]['getConfig'](q);return(_0x353088=_0x9c1233==null?void 0x0:_0x9c1233[_0x3f69a7(0x350)])!=null?_0x353088:Cn;}[_0x51303a(0x39e)](){var _0x37469d=_0x51303a;throw new Error(_0x37469d(0x2c5));}[_0x51303a(0x26a)](){var _0x3af469=_0x51303a;this[_0x3af469(0x361)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3af469(0x361)]=null);}['_onConflict'](_0x591ef1){var _0x2e696e=_0x51303a;return this[_0x2e696e(0x26a)](),this[_0x2e696e(0x1ff)][_0x2e696e(0x372)](de,this[_0x2e696e(0x40d)],this[_0x2e696e(0x390)],null,this[_0x2e696e(0x1ea)],this['_handler'],_0x591ef1);}};oe=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x2a2c27(xe)),A(0x7,_0x7c7e3b),A(0x8,_0x5c01af),A(0x9,_0x197b9e),A(0xa,_0x1aa332),A(0xb,_0xd9ad76),A(0xc,_0x277f73),A(0xd,_0x1a8278(J))],oe);let ue=class extends be{constructor(_0x67f95f,_0x45e468,_0x24fde8,_0x34900b,_0x3d8e1b,_0x5d2f37,_0x30072e,_0x4215ca,_0xcd4fc0,_0x1403e1,_0x476fbc){var _0x3e49fe=_0x51303a;super(_0x67f95f,_0x45e468,_0x24fde8,[],_0x34900b,_0x30072e,_0x1403e1,_0x5d2f37,_0x476fbc),N(this,_0x3e49fe(0x3c2),_0x3e49fe(0x312)),N(this,_0x3e49fe(0x275),0x0),N(this,_0x3e49fe(0x155)),N(this,_0x3e49fe(0x28a)),(this[_0x3e49fe(0x1ff)]=_0x3d8e1b,this['_logService']=_0x4215ca,this[_0x3e49fe(0x223)]=_0xcd4fc0);}['appendMutation'](_0x102dd4){var _0x2bdad5=_0x51303a;this[_0x2bdad5(0x26a)]();const _0x370b7d=this[_0x2bdad5(0x1ff)][_0x2bdad5(0x372)](ae,this[_0x2bdad5(0x40d)],this[_0x2bdad5(0x390)],this[_0x2bdad5(0x3cf)],[_0x102dd4],this['_handler'],this['_resendTimer']);return _0x370b7d['_updateLocalCache'](),_0x370b7d;}[_0x51303a(0x33d)](_0x3f31ee){var _0x3af78a=_0x51303a;if(this[_0x3af78a(0x38f)](_0x3f31ee))return this[_0x3af78a(0x26a)](),this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](te,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],this[_0x3af78a(0x3cf)],[],null,[_0x3f31ee],this[_0x3af78a(0x392)]);try{const _0x5e80be=this[_0x3af78a(0x223)][_0x3af78a(0x335)]([_0x3f31ee],[this[_0x3af78a(0x3cf)]],!0x1);if(_0x4d0c02(_0x5e80be)){const {c1Prime:_0x46694e,c2Prime:_0x583391}=_0x5e80be;this['_executeRemoteChangeset'](_0x46694e[0x0]),_0x583391[0x0][_0x3af78a(0x2fc)]=this['_getCurrentRevision'](),this[_0x3af78a(0x26a)]();const _0x55be63=this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](ue,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],_0x583391[0x0],this[_0x3af78a(0x392)]);return _0x55be63[_0x3af78a(0x3d2)](),_0x55be63;}return this['_onConflict'](!0x1);}catch(_0x3edfbe){return this[_0x3af78a(0x257)][_0x3af78a(0x16e)](_0x3edfbe),this[_0x3af78a(0x14c)](!0x1);}}['onRemoteAck'](_0x5d77a4){var _0x2f3188=_0x51303a;this[_0x2f3188(0x26a)]();const _0x110b0f=this[_0x2f3188(0x3e1)][_0x2f3188(0x1de)](this[_0x2f3188(0x40d)]);if(_0x5d77a4[_0x2f3188(0x1db)]<_0x110b0f-0x1)return this;if(this[_0x2f3188(0x38f)](_0x5d77a4))return this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](te,this[_0x2f3188(0x40d)],this[_0x2f3188(0x390)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x2f3188(0x3a2)]();const _0x5e5b25=this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](De,this[_0x2f3188(0x40d)],this['type'],this[_0x2f3188(0x392)]);return _0x5e5b25[_0x2f3188(0x3d2)](),_0x5e5b25;}[_0x51303a(0x216)](_0x50fb2b){var _0x54ae03=_0x51303a;return this[_0x54ae03(0x14c)](!!(_0x50fb2b!=null&&_0x50fb2b[_0x54ae03(0x18a)]));}['onRemoteRetry'](_0x1e1028){var _0x26d5f2=_0x51303a;return this[_0x26d5f2(0x275)]>Ni?this[_0x26d5f2(0x37a)]():(this[_0x26d5f2(0x155)]=Oi(this[_0x26d5f2(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x1e1028[_0x26d5f2(0x24c)]}),this['_sender']=this[_0x26d5f2(0x155)][_0x26d5f2(0x315)](({reqId:_0x467dcd,timeout:_0x1b0605})=>{var _0x29162c=_0x26d5f2;this[_0x29162c(0x2f6)](_0x467dcd,_0x1b0605);}),this);}[_0x51303a(0x37a)](){var _0x2e69cd=_0x51303a;return this[_0x2e69cd(0x26a)](),this[_0x2e69cd(0x1ff)][_0x2e69cd(0x372)](fe,this['unitID'],this[_0x2e69cd(0x390)],this[_0x2e69cd(0x3cf)],[],this[_0x2e69cd(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x2ecc53=_0x51303a;this['_handler'][_0x2ecc53(0x3f7)](this[_0x2ecc53(0x3cf)]);}['_onConflict'](_0x306b8c){var _0x3ed88a=_0x51303a;return this['_clearScheduledTask'](),this[_0x3ed88a(0x1ff)]['createInstance'](de,this[_0x3ed88a(0x40d)],this[_0x3ed88a(0x390)],this['_awaitingChangeset'],[],this[_0x3ed88a(0x392)],_0x306b8c);}['_resendWithTimeout'](_0x5552cd,_0x5c8635){var _0x322889=_0x51303a,_0x3cdaa9;_0x5552cd===((_0x3cdaa9=this[_0x322889(0x3cf)])==null?void 0x0:_0x3cdaa9[_0x322889(0x24c)])&&(this[_0x322889(0x39e)](),this['_resendTimeout']=_0x5c8635===0x0?0x3e8:_0x5c8635*0x2);}[_0x51303a(0x26a)](){var _0x136315=_0x51303a,_0x468895;(_0x468895=this[_0x136315(0x28a)])==null||_0x468895[_0x136315(0x29d)](),this[_0x136315(0x275)]=0x0;}};ue=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x277f73),A(0xa,_0x1a8278(J))],ue);let ae=class extends be{constructor(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x2feab4,_0x1ccc38,_0x5bfb8d,_0x474c4c,_0x3fb970,_0x596eea,_0xeaaf7c,_0x591746){var _0x2d7b10=_0x51303a;super(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x474c4c,_0xeaaf7c,_0x5bfb8d,_0x591746),N(this,'status',_0x2d7b10(0x1fe)),N(this,_0x2d7b10(0x275),0x0),N(this,'_resendTimer'),N(this,_0x2d7b10(0x28a)),(this[_0x2d7b10(0x1ff)]=_0x1ccc38,this[_0x2d7b10(0x257)]=_0x3fb970,this[_0x2d7b10(0x223)]=_0x596eea,this['localCacheService']=_0x591746,_0x2feab4&&(this[_0x2d7b10(0x155)]=_0x2feab4,this[_0x2d7b10(0x28a)]=this['_resendTimer'][_0x2d7b10(0x315)](({reqId:_0x3510ed,timeout:_0x4026d9})=>{this['_resendWithTimeout'](_0x3510ed,_0x4026d9);})));}[_0x51303a(0x3e7)](_0x139d55){return this['_pendingMutations']['push'](_0x139d55),this;}[_0x51303a(0x33d)](_0x5c1a7){var _0x2e381a=_0x51303a;if(this[_0x2e381a(0x38f)](_0x5c1a7))return this[_0x2e381a(0x26a)](),this['_injector']['createInstance'](te,this['unitID'],this['type'],this[_0x2e381a(0x3cf)],this[_0x2e381a(0x1ea)],null,[_0x5c1a7],this[_0x2e381a(0x392)]);try{const _0x23bf99=this[_0x2e381a(0x223)]['transformChangesets']([_0x5c1a7],[this['_awaitingChangeset']],!0x1);if(_0x4d0c02(_0x23bf99)){const {c1Prime:_0x4f04bd,c2Prime:_0xf39a}=_0x23bf99,_0x10b2f9=this['_transformService'][_0x2e381a(0x405)](_0x4f04bd[0x0],this[_0x2e381a(0x1ea)]);if(_0x122f14(_0x10b2f9)){const {c1Prime:_0x567a7c,m2Prime:_0xa2622}=_0x10b2f9;return this[_0x2e381a(0x1a3)](_0x567a7c),_0xf39a[0x0][_0x2e381a(0x2fc)]=this[_0x2e381a(0x2f5)](),this['_clearScheduledTask'](),this[_0x2e381a(0x1ff)][_0x2e381a(0x372)](ae,this[_0x2e381a(0x40d)],this['type'],_0xf39a[0x0],_0xa2622,this[_0x2e381a(0x392)],void 0x0);}throw _0x10b2f9[_0x2e381a(0x16e)];}throw _0x23bf99[_0x2e381a(0x16e)];}catch(_0x4954cc){return this[_0x2e381a(0x257)][_0x2e381a(0x16e)](_0x4954cc),this[_0x2e381a(0x14c)](!0x1);}}['onRemoteAck'](_0xd9eeca){var _0x191b2a=_0x51303a;if(this[_0x191b2a(0x26a)](),this[_0x191b2a(0x38f)](_0xd9eeca))return this[_0x191b2a(0x1ff)][_0x191b2a(0x372)](te,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],null,this[_0x191b2a(0x1ea)],this[_0x191b2a(0x3cf)],[],this[_0x191b2a(0x392)]);this[_0x191b2a(0x3a2)]();const _0x166adb=this['_injector']['createInstance'](oe,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],this[_0x191b2a(0x1ea)],this[_0x191b2a(0x392)]);return _0x166adb[_0x191b2a(0x1d0)](),_0x166adb[_0x191b2a(0x3d2)](),_0x166adb;}[_0x51303a(0x216)](_0x42fcb9){var _0x27560e=_0x51303a;return this['_onConflict'](!!(_0x42fcb9!=null&&_0x42fcb9[_0x27560e(0x18a)]));}['onRemoteRetry'](_0x4c1cc4){var _0x1dc7a5=_0x51303a;return this[_0x1dc7a5(0x275)]>Ni?this[_0x1dc7a5(0x37a)]():(this[_0x1dc7a5(0x155)]=Oi(this[_0x1dc7a5(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x4c1cc4[_0x1dc7a5(0x24c)]}),this[_0x1dc7a5(0x28a)]=this['_resendTimer'][_0x1dc7a5(0x315)](({reqId:_0x524724,timeout:_0x21c8b9})=>{this['_resendWithTimeout'](_0x524724,_0x21c8b9);}),this);}[_0x51303a(0x37a)](){var _0x549152=_0x51303a;return this[_0x549152(0x26a)](),this[_0x549152(0x1ff)]['createInstance'](fe,this['unitID'],this[_0x549152(0x390)],this[_0x549152(0x3cf)],this['_pendingMutations'],this[_0x549152(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x106811=_0x51303a;this['_handler']['onSendChangeset'](this[_0x106811(0x3cf)]);}[_0x51303a(0x14c)](_0x295d52){var _0x2a03cf=_0x51303a;return this[_0x2a03cf(0x26a)](),this[_0x2a03cf(0x1ff)][_0x2a03cf(0x372)](de,this['unitID'],this[_0x2a03cf(0x390)],null,this[_0x2a03cf(0x1ea)],this[_0x2a03cf(0x392)],_0x295d52);}[_0x51303a(0x2f6)](_0x2a0ef5,_0x1d3f4b){var _0x5760fc=_0x51303a,_0x113bea;_0x2a0ef5===((_0x113bea=this['_awaitingChangeset'])==null?void 0x0:_0x113bea['reqId'])&&(this[_0x5760fc(0x39e)](),this[_0x5760fc(0x275)]=_0x1d3f4b===0x0?0x3e8:_0x1d3f4b*0x2);}['_clearScheduledTask'](){var _0x37cd49=_0x51303a,_0x3ff36c;(_0x3ff36c=this[_0x37cd49(0x28a)])==null||_0x3ff36c['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x2a2c27(_0x2ac98c)),A(0x7,_0x2a2c27(_0x408fec)),A(0x8,_0x5c01af),A(0x9,_0x7c7e3b),A(0xa,_0x1aa332),A(0xb,_0x277f73),A(0xc,_0x1a8278(J))],ae);let de=class extends be{constructor(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x73f786=!0x1,_0x3d35c3,_0x39ec6d,_0x5d3ef3,_0x19422f,_0xeb0357,_0x27003c,_0x4da2a2){var _0x3a35d0=_0x51303a;super(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x39ec6d,_0x5d3ef3,_0x19422f,_0x4da2a2),N(this,_0x3a35d0(0x3c2),_0x3a35d0(0x210)),(this['_isPermissionRej']=_0x73f786,this[_0x3a35d0(0x2e0)]=_0x3d35c3,this[_0x3a35d0(0x3fc)]=_0xeb0357,this[_0x3a35d0(0x31e)]=_0x27003c,this[_0x3a35d0(0x19c)]=_0x4da2a2,this[_0x3a35d0(0x299)](),this[_0x3a35d0(0x34b)](),this[_0x3a35d0(0x163)]());}['appendMutation'](){return this;}[_0x51303a(0x33d)](){return this;}[_0x51303a(0x3bd)](){return this;}[_0x51303a(0x216)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x110f25=_0x51303a;throw new Error(_0x110f25(0x358));}['_clearLocalCache'](){var _0x56586a=_0x51303a,_0x5d4f5a;(_0x5d4f5a=this['_localCacheService'])==null||_0x5d4f5a[_0x56586a(0x34e)](this[_0x56586a(0x40d)],this[_0x56586a(0x390)],null,[]);}['_showConflictNotification'](){var _0x5ea764=_0x51303a;this['_isPermissionRej']?this[_0x5ea764(0x31e)][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x309)]}):this['_collaborationUIEventService'][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x30e)]});}['_disableEditing'](){var _0x1fa412=_0x51303a;this[_0x1fa412(0x2e0)][_0x1fa412(0x238)](new _0x8a0fbb(this[_0x1fa412(0x40d)])['id'],!0x1);}};de=Re([A(0x6,_0x2a2c27(_0xc50f2c)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x2a2c27(_0x408fec)),A(0xa,_0x2a2c27(_0x414916)),A(0xb,_0x2a2c27(pe)),A(0xc,_0x1a8278(J))],de);let fe=class extends be{constructor(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x2be899,_0xe7e160,_0x4cae95,_0x1dfb83,_0x4cf1d4){super(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x4cae95,_0x1dfb83,_0xe7e160,_0x4cf1d4),N(this,'status','offline'),this['_injector']=_0x2be899;}[_0x51303a(0x3e7)](_0x168049){var _0x358147=_0x51303a;return this[_0x358147(0x1ea)][_0x358147(0x1c9)](_0x168049),this['_updateLocalCache'](),this;}[_0x51303a(0x33d)](_0x23aed2){var _0x2f4c12=_0x51303a;throw new Error(_0x2f4c12(0x21f));}[_0x51303a(0x3bd)](){var _0x22ca6b=_0x51303a;throw new Error(_0x22ca6b(0x25e));}[_0x51303a(0x216)](){var _0x44ad67=_0x51303a;throw new Error(_0x44ad67(0x21e));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){const {_injector:_0x3a8d99,_pendingMutations:_0x50b444,_awaitingChangeset:_0x805c3,unitID:_0x5de058,_handler:_0x5be689,type:_0x17456e}=this,_0x2e8af6=Di(_0x3a8d99,_0x5de058,_0x17456e,_0x805c3,_0x50b444,_0x5be689);return _0x2e8af6 instanceof oe?_0x2e8af6['_schedule']():(_0x2e8af6 instanceof ae||_0x2e8af6 instanceof ue)&&_0x2e8af6['resend'](),_0x2e8af6;}[_0x51303a(0x39e)](){var _0x22418b=_0x51303a;throw new Error(_0x22418b(0x2b8));}};fe=Re([A(0x5,_0x2a2c27(_0x2ac98c)),A(0x6,_0x2a2c27(_0x408fec)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x1a8278(J))],fe);let te=class extends be{constructor(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x46844b,_0x28a417,_0x5219e7,_0x4508b4,_0x2a53b4,_0x2557c1,_0x1fdbe2,_0x1366ef,_0xa9ccea,_0xddb39f){var _0x50b5d9=_0x51303a;super(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x5219e7,_0x1fdbe2,_0x1366ef,_0x2a53b4,_0xddb39f),N(this,'status',_0x50b5d9(0x206)),(this[_0x50b5d9(0x2e6)]=_0x46844b,this[_0x50b5d9(0x266)]=_0x28a417,this[_0x50b5d9(0x1ff)]=_0x4508b4,this[_0x50b5d9(0x257)]=_0x2557c1,this[_0x50b5d9(0x223)]=_0xa9ccea,this[_0x50b5d9(0x19c)]=_0xddb39f);}[_0x51303a(0x1ae)](_0x3ee865){var _0x17b13b=_0x51303a;try{const _0x2cf06f=[..._0x3ee865,...this[_0x17b13b(0x266)]],_0x29a16c=[this['_awaitingChangeset']||this[_0x17b13b(0x2e6)]][_0x17b13b(0x1bc)](_0x3d5daa=>!!_0x3d5daa);let _0x3bc448,_0x4b55bd;if(_0x29a16c['length']){const _0x9ffccb=this['_transformService'][_0x17b13b(0x335)](_0x2cf06f,_0x29a16c,!0x1);if(!_0x4d0c02(_0x9ffccb))throw _0x9ffccb['error'];_0x3bc448=_0x9ffccb[_0x17b13b(0x1c1)],_0x4b55bd=_0x9ffccb[_0x17b13b(0x203)];}else _0x3bc448=_0x2cf06f,_0x4b55bd=[];let _0x52d135=this[_0x17b13b(0x1ea)];_0x3bc448[_0x17b13b(0x2ed)](_0x449825=>{var _0x4d2e04=_0x17b13b;let _0x5d49e6;if(_0x52d135[_0x4d2e04(0x2b9)]){const _0x465076=this[_0x4d2e04(0x223)]['transformMutationsWithChangeset'](_0x449825,_0x52d135);if(!_0x122f14(_0x465076))throw _0x465076['error'];_0x5d49e6=_0x465076[_0x4d2e04(0x1c1)],_0x52d135=_0x465076['m2Prime'];}else _0x5d49e6=_0x449825;this[_0x4d2e04(0x1a3)](_0x5d49e6);}),this[_0x17b13b(0x2e6)]&&this[_0x17b13b(0x3a2)](),this[_0x17b13b(0x3cf)]&&_0x4b55bd['length']&&(_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)]());let _0x324d0d;if(this[_0x17b13b(0x3cf)]&&_0x52d135['length']!==0x0)_0x324d0d=this['_injector']['createInstance'](ae,this[_0x17b13b(0x40d)],this['type'],_0x4b55bd[0x0],_0x52d135,this[_0x17b13b(0x392)],void 0x0);else{if(this['_awaitingChangeset']&&_0x52d135[_0x17b13b(0x2b9)]===0x0)_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)](),_0x324d0d=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](ue,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x4b55bd[0x0],this[_0x17b13b(0x392)]);else{if(_0x52d135[_0x17b13b(0x2b9)]!==0x0){const _0x3ee1ce=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](oe,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x52d135,this[_0x17b13b(0x392)]);_0x3ee1ce['_schedule'](),_0x324d0d=_0x3ee1ce;}else _0x324d0d=this['_injector'][_0x17b13b(0x372)](De,this[_0x17b13b(0x40d)],this['type'],this[_0x17b13b(0x392)]);}}return _0x324d0d[_0x17b13b(0x3d2)](),_0x324d0d;}catch(_0x4ae3b0){return this[_0x17b13b(0x257)][_0x17b13b(0x16e)](_0x17b13b(0x205),_0x17b13b(0x443),_0x4ae3b0),this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](de,this[_0x17b13b(0x40d)],this['type'],this['_awaitingChangeset'],this[_0x17b13b(0x1ea)],this[_0x17b13b(0x392)],!0x1);}}['resend'](){var _0x4f948c=_0x51303a;throw new Error(_0x4f948c(0x33b));}[_0x51303a(0x3e7)](_0x33ba7f){var _0x3fe1f8=_0x51303a;return this[_0x3fe1f8(0x1ea)][_0x3fe1f8(0x1c9)](_0x33ba7f),this;}[_0x51303a(0x33d)](_0x4c7698){var _0x342761=_0x51303a;return this[_0x342761(0x266)][_0x342761(0x1c9)](_0x4c7698),this;}[_0x51303a(0x3bd)](_0x5dcc53){var _0x417bc9=_0x51303a;if(this[_0x417bc9(0x3cf)])return this[_0x417bc9(0x2e6)]=this[_0x417bc9(0x3cf)],this['_awaitingChangeset']=null,this;throw new Error(_0x417bc9(0x3c7));}[_0x51303a(0x216)](_0x5ca8d2){var _0x4e8bd7=_0x51303a;return this[_0x4e8bd7(0x14c)](!!(_0x5ca8d2!=null&&_0x5ca8d2['isPermissionRej']));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){var _0x30a942=_0x51303a;return this[_0x30a942(0x1ff)][_0x30a942(0x372)](fe,this[_0x30a942(0x40d)],this[_0x30a942(0x390)],this[_0x30a942(0x3cf)],this['_pendingMutations'],this[_0x30a942(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x14c)](_0x40909b){var _0x427177=_0x51303a;return this['_injector'][_0x427177(0x372)](de,this[_0x427177(0x40d)],this[_0x427177(0x390)],this[_0x427177(0x3cf)],this[_0x427177(0x1ea)],this[_0x427177(0x392)],_0x40909b);}};te=Re([A(0x7,_0x2a2c27(_0x2ac98c)),A(0x8,_0x2a2c27(_0x408fec)),A(0x9,_0x7c7e3b),A(0xa,_0x5c01af),A(0xb,_0x277f73),A(0xc,_0x1aa332),A(0xd,_0x1a8278(J))],te);function Di(_0x154613,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e){var _0x5d6a63=_0x51303a;return _0x2b13b1&&_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](ae,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e,void 0x0):_0x2b13b1?_0x154613[_0x5d6a63(0x372)](ue,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x19195e):_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](oe,_0x3b8fe8,_0x59dfcc,_0x16eaa2,_0x19195e):_0x154613[_0x5d6a63(0x372)](De,_0x3b8fe8,_0x59dfcc,_0x19195e);}var vr=Object['defineProperty'],pr=Object[_0x51303a(0x150)],Lt=(_0x6453a1,_0x160323,_0x457439,_0x111517)=>{var _0x5aea91=_0x51303a;for(var _0x36cf09=_0x111517>0x1?void 0x0:_0x111517?pr(_0x160323,_0x457439):_0x160323,_0x1f32dd=_0x6453a1[_0x5aea91(0x2b9)]-0x1,_0x3997db;_0x1f32dd>=0x0;_0x1f32dd--)(_0x3997db=_0x6453a1[_0x1f32dd])&&(_0x36cf09=(_0x111517?_0x3997db(_0x160323,_0x457439,_0x36cf09):_0x3997db(_0x36cf09))||_0x36cf09);return _0x111517&&_0x36cf09&&vr(_0x160323,_0x457439,_0x36cf09),_0x36cf09;},k=(_0x50b364,_0x18bd2e)=>(_0x1a449c,_0x3fa54a)=>_0x18bd2e(_0x1a449c,_0x3fa54a,_0x50b364);let nt=class extends _0x2127fb{constructor(_0x483d28,_0x3ef293,_0x5afed4,_0x1b66be,_0x5b8d12,_0xa34cf5,_0x23ffa4,_0x352fe2,_0x580645,_0x51e118,_0x4c3e25,_0x12a027,_0xf90251){var _0x32885a=_0x51303a;super(),N(this,'_state$',new _0x5e258f(null)),N(this,'state$',this[_0x32885a(0x33c)]['asObservable']()),N(this,_0x32885a(0x17d)),N(this,_0x32885a(0x3ce),!0x1),N(this,'_changesetSessionId',''),N(this,_0x32885a(0x1c3),0x0),N(this,'status$',this[_0x32885a(0x360)][_0x32885a(0x380)](_0x29778d(_0x2a5721=>_0x2a5721?_0x2a5721[_0x32885a(0x3c2)]:yi[_0x32885a(0x2dd)]),_0x3e88b4(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x32885a(0x408),[]),(this[_0x32885a(0x40d)]=_0x483d28,this[_0x32885a(0x306)]=_0x3ef293,this[_0x32885a(0x353)]=_0x5afed4,this[_0x32885a(0x1ff)]=_0x1b66be,this['_compressMutationService']=_0x5b8d12,this[_0x32885a(0x3fc)]=_0xa34cf5,this['_revisionService']=_0x23ffa4,this['_eventService']=_0x352fe2,this[_0x32885a(0x257)]=_0x580645,this[_0x32885a(0x321)]=_0x51e118,this[_0x32885a(0x2e0)]=_0x4c3e25,this[_0x32885a(0x374)]=_0x12a027,this[_0x32885a(0x303)]=_0xf90251);}get[_0x51303a(0x348)](){return this['_state'];}async[_0x51303a(0x239)](){var _0x56e53e=_0x51303a;if(this['state'])throw new Error(_0x56e53e(0x152));await this[_0x56e53e(0x25b)]();}[_0x51303a(0x349)](){var _0x40d704=_0x51303a;return this[_0x40d704(0x3ce)]=!0x0,_0x24575e(()=>{var _0x4abc45=_0x40d704;this[_0x4abc45(0x3ce)]=!0x1,this[_0x4abc45(0x300)]();});}['onLocalMutation'](_0x19be18){this['_onLocalMutation'](_0x19be18);}[_0x51303a(0x383)](_0x24b5be){var _0x5442cd=_0x51303a;this['_state']=_0x24b5be,this[_0x5442cd(0x33c)][_0x5442cd(0x334)](_0x24b5be);}async['_init'](){var _0x2f33ec=_0x51303a,_0x512aad;this[_0x2f33ec(0x383)](await this['_createInitialState']()),this[_0x2f33ec(0x374)]&&((_0x512aad=this[_0x2f33ec(0x374)])==null||_0x512aad[_0x2f33ec(0x2a2)](this[_0x2f33ec(0x40d)]),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x374)][_0x2f33ec(0x328)](this[_0x2f33ec(0x40d)])[_0x2f33ec(0x315)](_0x3621bb=>{var _0x2e994a=_0x2f33ec;this[_0x2e994a(0x257)][_0x2e994a(0x1cf)]('[CollaborationEntity]',_0x2e994a(0x341),_0x3621bb),_0x3621bb===bi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x2e994a(0x313)]({'id':se[_0x2e994a(0x1ef)]}),this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this[_0x2e994a(0x40d)])['id'],!0x1),this[_0x2e994a(0x2e0)][_0x2e994a(0x32e)](!0x1)):(this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ccd44=!0x1;return this['disposeWithMe'](this[_0x2f33ec(0x306)][_0x2f33ec(0x314)][_0x2f33ec(0x315)](_0x4dabad=>{var _0x630591=_0x2f33ec;_0x4dabad===Te[_0x630591(0x3e9)]?this['_toggleOnline'](_0x5ccd44):_0x4dabad===Te[_0x630591(0x2dd)]&&(_0x5ccd44=!0x0,this[_0x630591(0x2ac)]());})),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x306)][_0x2f33ec(0x3d0)][_0x2f33ec(0x315)](_0x324916=>{var _0x1af8f3=_0x2f33ec;try{switch(_0x324916[_0x1af8f3(0x262)]){case _0x247b59[_0x1af8f3(0x2df)]:{this['_onRemoteChangeset'](_0xf0555b(_0x324916[_0x1af8f3(0x1cd)]));break;}case _0x247b59['CHANGESET_ACK']:{this[_0x1af8f3(0x1c7)](_0x324916['data']);break;}case _0x247b59['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x247b59[_0x1af8f3(0x446)]:{this[_0x1af8f3(0x42a)](_0x324916['data']);break;}case _0x247b59[_0x1af8f3(0x3b1)]:{this[_0x1af8f3(0x412)](_0x324916[_0x1af8f3(0x1cd)]['changesets'][_0x1af8f3(0x2ea)](_0x324017=>_0xf0555b(_0x324017)));break;}case _0x247b59[_0x1af8f3(0x42f)]:{this[_0x1af8f3(0x302)]({'isPermissionRej':!0x0});break;}case _0x247b59['UNISCRIPT_RUN']:break;}}catch(_0x561a9f){throw console[_0x1af8f3(0x16e)](_0x1af8f3(0x1b1),_0x561a9f),_0x561a9f;}})),this['_state'];}[_0x51303a(0x3a6)](){var _0x437814=_0x51303a;this[_0x437814(0x339)]=!0x1;}[_0x51303a(0x26b)](){var _0x41d8fc=_0x51303a;if(this[_0x41d8fc(0x339)])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['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x4d38e2){var _0x439c9f=_0x51303a;this[_0x439c9f(0x26b)](),this[_0x439c9f(0x383)](this[_0x439c9f(0x17d)][_0x439c9f(0x3e7)](_0x4d38e2)),this[_0x439c9f(0x3a6)]();}[_0x51303a(0x426)](_0x1c2b48){var _0x4de17d=_0x51303a;if(!(_0x1c2b48[_0x4de17d(0x1db)]<=this[_0x4de17d(0x3e1)][_0x4de17d(0x1de)](this['unitID']))){if(this[_0x4de17d(0x3ce)]){this[_0x4de17d(0x408)][_0x4de17d(0x1c9)](_0x1c2b48);return;}this[_0x4de17d(0x3ca)](_0x1c2b48);}}[_0x51303a(0x300)](){var _0x583e8b=_0x51303a;this[_0x583e8b(0x408)][_0x583e8b(0x2ed)](_0x44e648=>this[_0x583e8b(0x3ca)](_0x44e648)),this[_0x583e8b(0x408)]=[];}[_0x51303a(0x3ca)](_0x14277b){var _0x2188d6=_0x51303a;const _0x4fb28f=this[_0x2188d6(0x3b2)]['interceptor'][_0x2188d6(0x400)](this[_0x2188d6(0x3b2)][_0x2188d6(0x2f8)]['getInterceptPoints']()[_0x2188d6(0x382)])(_0x14277b[_0x2188d6(0x325)],null)||_0x14277b[_0x2188d6(0x325)],_0x1263b7={..._0x14277b,'mutations':_0x4fb28f};this[_0x2188d6(0x26b)](),this[_0x2188d6(0x383)](this[_0x2188d6(0x17d)]['onRemoteChangeset'](_0x1263b7)),this['_unlockTransition']();}['_onRemoteACK'](_0x4d7027){var _0x3569ef=_0x51303a;this[_0x3569ef(0x26b)](),this['_updateState'](this['_state'][_0x3569ef(0x3bd)](_0x4d7027)),this[_0x3569ef(0x3a6)]();}['_onRemoteRejected'](_0x3db391){var _0x1aecc3=_0x51303a;this[_0x1aecc3(0x26b)](),this[_0x1aecc3(0x383)](this[_0x1aecc3(0x17d)][_0x1aecc3(0x216)](_0x3db391)),this['_unlockTransition']();}[_0x51303a(0x42a)](_0x37e58a){var _0x20ff41=_0x51303a;this[_0x20ff41(0x26b)](),this[_0x20ff41(0x383)](this[_0x20ff41(0x17d)][_0x20ff41(0x18d)](_0x37e58a)),this[_0x20ff41(0x3a6)]();}[_0x51303a(0x412)](_0x1dde53){var _0x3349df=_0x51303a;if(!(this[_0x3349df(0x17d)]instanceof te))throw new TypeError(_0x3349df(0x3dd));const _0x40e263=_0x1dde53[_0x3349df(0x2ea)](_0x386701=>{var _0x45f0e2=_0x3349df;const _0xf61d29=this[_0x45f0e2(0x3b2)][_0x45f0e2(0x2f8)][_0x45f0e2(0x400)](this['_compressMutationService'][_0x45f0e2(0x2f8)][_0x45f0e2(0x2b2)]()[_0x45f0e2(0x382)])(_0x386701['mutations'],null)||_0x386701[_0x45f0e2(0x325)];return{..._0x386701,'mutations':_0xf61d29};});this[_0x3349df(0x26b)](),this[_0x3349df(0x383)](this[_0x3349df(0x17d)][_0x3349df(0x1ae)](_0x40e263)),this['_unlockTransition']();}[_0x51303a(0x2ac)](){var _0xf0d343=_0x51303a;this[_0xf0d343(0x26b)](),this['_updateState'](this[_0xf0d343(0x17d)][_0xf0d343(0x37a)]()),this[_0xf0d343(0x3a6)]();}[_0x51303a(0x436)](_0x4e3ef1=!0x1){var _0x42414c=_0x51303a;this[_0x42414c(0x26b)](),this[_0x42414c(0x383)](this[_0x42414c(0x17d)][_0x42414c(0x267)]()),this[_0x42414c(0x3a6)]();const _0x3a126e=this[_0x42414c(0x17d)];_0x4e3ef1&&_0x3a126e instanceof De&&(this[_0x42414c(0x26b)](),this['_updateState'](_0x3a126e[_0x42414c(0x260)]()),this[_0x42414c(0x3a6)]());}async[_0x51303a(0x169)](){return new Promise(_0x3d2de0=>{var _0x1e4079=_0x1f09;this['session'][_0x1e4079(0x314)][_0x1e4079(0x380)](_0x81314e(0x1))[_0x1e4079(0x315)](async _0x20e540=>{var _0x84a329=_0x1e4079;_0x3d2de0(await this[_0x84a329(0x36e)](_0x20e540===Te['ONLINE']));});});}[_0x51303a(0x41c)](){const _0x16b09e=this['unitID'];return{'onStateChange':(_0x8d5161,_0x153a00)=>{var _0x41f585=_0x1f09;if(_0x8d5161!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x8d5161[_0x41f585(0x3c2)]+'\x0aAfter:\x20'+_0x153a00[_0x41f585(0x3c2)]+'\x0aCurrent:\x20'+this[_0x41f585(0x17d)][_0x41f585(0x3c2)]);this['_updateState'](_0x153a00);},'onSendChangeset':_0x395603=>{var _0x5ecef3=_0x1f09;_0x395603[_0x5ecef3(0x3d6)]||(_0x395603[_0x5ecef3(0x3d6)]=this[_0x5ecef3(0x401)],_0x395603[_0x5ecef3(0x24c)]=++this[_0x5ecef3(0x1c3)]);const _0x20bffd={'eventID':_0x247b59[_0x5ecef3(0x28d)],'data':{'unitID':_0x395603[_0x5ecef3(0x40d)],'unitType':this[_0x5ecef3(0x353)],'changeset':_0x395603,'memberID':this[_0x5ecef3(0x306)][_0x5ecef3(0x297)]()}};this['session'][_0x5ecef3(0x229)](_0x20bffd,this['unitID']);},'onMissingChangesets':({from:_0x2adc22,to:_0x58f3ce})=>{var _0x1042e2=_0x1f09;this['_logService'][_0x1042e2(0x1cf)](_0x1042e2(0x237),_0x1042e2(0x1e1)+_0x2adc22+_0x1042e2(0x23a)+_0x58f3ce);const _0x360766={'eventID':_0x247b59[_0x1042e2(0x2ca)],'data':{'unitID':_0x16b09e,'unitType':this['_type'],'from':_0x2adc22,'to':_0x58f3ce}};this[_0x1042e2(0x306)][_0x1042e2(0x229)](_0x360766,this[_0x1042e2(0x40d)]);}};}async[_0x51303a(0x36e)](_0x31a92c){var _0x1dbc8c=_0x51303a,_0x4b6fcb,_0x507c7a,_0x3303a4;const _0x56556f=await((_0x4b6fcb=this['_localCacheService'])==null?void 0x0:_0x4b6fcb['loadOfflineData'](this[_0x1dbc8c(0x40d)])),_0x260701=(_0x507c7a=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x325)])!=null?_0x507c7a:[],_0x4701bd=(_0x3303a4=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x3ec)])!=null?_0x3303a4:null,_0x49dfb1=!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x3d6)])&&!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x24c)]);this[_0x1dbc8c(0x401)]=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x3d6)]:sr(),this['_changesetReqId']=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x24c)]:0x0;const _0x5c054c=this['unitID'];try{this['_replayCachedMutations'](_0x4701bd,_0x260701);}catch(_0x47bf26){this[_0x1dbc8c(0x257)][_0x1dbc8c(0x16e)](_0x47bf26);}const _0x2f951e=this[_0x1dbc8c(0x41c)]();if(_0x31a92c){const _0xebdcf4=Di(this['_injector'],_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);return _0xebdcf4 instanceof oe?_0xebdcf4[_0x1dbc8c(0x1d0)]():(_0xebdcf4 instanceof ae||_0xebdcf4 instanceof ue)&&_0xebdcf4[_0x1dbc8c(0x39e)](),_0xebdcf4;}return this[_0x1dbc8c(0x1ff)][_0x1dbc8c(0x372)](fe,_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);}[_0x51303a(0x1d8)](_0x204df4,_0xa6727b){var _0x3473cc=_0x51303a,_0x159f4b,_0x56f91b;const _0x478f6=this['_compressMutationService'][_0x3473cc(0x2f8)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3473cc(0x2b2)]()['COMPRESS_MUTATION_APPLY']);(_0x159f4b=_0x478f6((_0x204df4==null?void 0x0:_0x204df4[_0x3473cc(0x325)])||[],null))==null||_0x159f4b[_0x3473cc(0x2ed)](_0x41dbad=>this[_0x3473cc(0x321)][_0x3473cc(0x252)](_0x41dbad['id'],_0x41dbad['params'])),(_0x56f91b=_0x478f6(_0xa6727b||[],null))==null||_0x56f91b[_0x3473cc(0x2ed)](_0x2619b0=>this['_commandService'][_0x3473cc(0x252)](_0x2619b0['id'],_0x2619b0[_0x3473cc(0x1b5)]));}};nt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],nt);let Tt=class extends nt{constructor(_0x4b7345,_0x5e9371,_0x4d6817,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185){var _0x32e0d6=_0x51303a;super(_0x4b7345,_0x4d6817,_0x5e9371,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185),N(this,_0x32e0d6(0x2a1),null),(this[_0x32e0d6(0x40d)]=_0x4b7345,this[_0x32e0d6(0x390)]=_0x5e9371);}[_0x51303a(0x1b8)](_0x16e686){var _0x5e81d4=_0x51303a;this[_0x5e81d4(0x2a1)]=_0x16e686;}[_0x51303a(0x421)](){var _0xdf4ef7=_0x51303a;this['_handlerCallback']=null,super[_0xdf4ef7(0x421)]();}['_createHandler'](){var _0x57c7cc=_0x51303a;const _0x3a49b3=super[_0x57c7cc(0x41c)]();return _0x3a49b3[_0x57c7cc(0x32c)]=_0x11161b=>{var _0x58fc7e=_0x57c7cc,_0x824ae6,_0x4b1dd3;return(_0x4b1dd3=(_0x824ae6=this[_0x58fc7e(0x2a1)])==null?void 0x0:_0x824ae6[_0x58fc7e(0x32c)])==null?void 0x0:_0x4b1dd3[_0x58fc7e(0x270)](_0x824ae6,_0x11161b);},_0x3a49b3[_0x57c7cc(0x3a0)]=_0x2c2a0b=>{var _0x3bf3e9=_0x57c7cc,_0x10fc16,_0x3701b0;return(_0x3701b0=(_0x10fc16=this[_0x3bf3e9(0x2a1)])==null?void 0x0:_0x10fc16[_0x3bf3e9(0x3a0)])==null?void 0x0:_0x3701b0['call'](_0x10fc16,_0x2c2a0b);},_0x3a49b3[_0x57c7cc(0x1d7)]=_0x196ada=>{var _0x4e3578=_0x57c7cc,_0xff3e5e,_0x15e13c;return(_0x15e13c=(_0xff3e5e=this['_handlerCallback'])==null?void 0x0:_0xff3e5e[_0x4e3578(0x1d7)])==null?void 0x0:_0x15e13c[_0x4e3578(0x270)](_0xff3e5e,_0x196ada);},_0x3a49b3['onSyncEditingCollabCursor']=_0x4ad5a8=>{var _0x3e57f3=_0x57c7cc,_0x372f79,_0xeab5d0;return(_0xeab5d0=(_0x372f79=this[_0x3e57f3(0x2a1)])==null?void 0x0:_0x372f79[_0x3e57f3(0x161)])==null?void 0x0:_0xeab5d0[_0x3e57f3(0x270)](_0x372f79,_0x4ad5a8);},_0x3a49b3[_0x57c7cc(0x1e2)]=_0x69555a=>{var _0x3e858c=_0x57c7cc,_0x50f7d2,_0x248577,_0x259cb0;if(!((_0x50f7d2=this['_handlerCallback'])!=null&&_0x50f7d2[_0x3e858c(0x1e2)]))throw new Error(_0x3e858c(0x29b));return(_0x259cb0=(_0x248577=this[_0x3e858c(0x2a1)])==null?void 0x0:_0x248577[_0x3e858c(0x1e2)])==null?void 0x0:_0x259cb0[_0x3e858c(0x270)](_0x248577,_0x69555a);},_0x3a49b3['onTransformRemoteChangesetByStateCache']=_0xdfd2d6=>{var _0x16836d=_0x57c7cc,_0x294e51,_0x574caf,_0x3a0b54;if(!((_0x294e51=this[_0x16836d(0x2a1)])!=null&&_0x294e51[_0x16836d(0x36a)]))throw new Error(_0x16836d(0x43c));return(_0x3a0b54=(_0x574caf=this[_0x16836d(0x2a1)])==null?void 0x0:_0x574caf[_0x16836d(0x36a)])==null?void 0x0:_0x3a0b54[_0x16836d(0x270)](_0x574caf,_0xdfd2d6);},_0x3a49b3;}async['_init'](){var _0x5b1fc7=_0x51303a;const _0x3fd713=await super[_0x5b1fc7(0x25b)]();return this[_0x5b1fc7(0x434)](this[_0x5b1fc7(0x321)][_0x5b1fc7(0x23b)]((_0x2221bc,_0x49002b)=>{var _0x5e16d4=_0x5b1fc7;if(_0x2221bc[_0x5e16d4(0x390)]!==_0x42bf5d[_0x5e16d4(0x1fb)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x40f)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x258)]||_0x2221bc['id']===_0x4e9af9['id'])return;const _0x4e0764=_0x2221bc['params'];if((_0x4e0764==null?void 0x0:_0x4e0764[_0x5e16d4(0x2f4)])!==this['unitID'])return;const _0x2bc390=_0x2221bc,_0x35983c=this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x400)](this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x2b2)]()[_0x5e16d4(0x37c)])([_0x2bc390],null)||[_0x2bc390];this[_0x5e16d4(0x202)](_0x35983c[0x0]);})),_0x3fd713;}};Tt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],Tt);let Ct=class extends nt{constructor(_0xb72fec,_0x2254d3,_0x4f454e,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x3dd5ed,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2){var _0x4009c0=_0x51303a;super(_0xb72fec,_0x4f454e,_0x2254d3,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2),this['unitID']=_0xb72fec,this['type']=_0x2254d3,this[_0x4009c0(0x251)]=_0x3dd5ed;}['_createHandler'](){var _0x5530b9=_0x51303a;const _0x180cfc=super['_createHandler']();return _0x180cfc[_0x5530b9(0x1d7)]=_0x26e457=>this['_sheetTransformSelectionsService'][_0x5530b9(0x24f)](_0x26e457),_0x180cfc;}async[_0x51303a(0x25b)](){var _0x42af4b=_0x51303a;const _0xb6f085=await super['_init']();return this[_0x42af4b(0x434)](this['_commandService'][_0x42af4b(0x23b)]((_0x58aa08,_0xef1803)=>{var _0x13595a=_0x42af4b;if(_0x58aa08[_0x13595a(0x390)]!==_0x42bf5d['MUTATION']||_0xef1803!=null&&_0xef1803[_0x13595a(0x40f)]||_0xef1803!=null&&_0xef1803[_0x13595a(0x258)])return;const _0x6c4931=_0x58aa08[_0x13595a(0x1b5)];if((_0x6c4931==null?void 0x0:_0x6c4931[_0x13595a(0x2f4)])!==this[_0x13595a(0x40d)])return;const _0x3dcd1f=_0x58aa08,_0x248f56=this[_0x13595a(0x3b2)][_0x13595a(0x2f8)][_0x13595a(0x400)](this[_0x13595a(0x3b2)]['interceptor'][_0x13595a(0x2b2)]()['COMPRESS_MUTATION_SEND'])([_0x3dcd1f],null)||[_0x3dcd1f];this[_0x13595a(0x202)](_0x248f56[0x0]);})),_0xb6f085;}};Ct=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(it)),k(0x8,_0x2a2c27(pe)),k(0x9,_0x7c7e3b),k(0xa,_0x5c01af),k(0xb,_0xc50f2c),k(0xc,_0x1a8278(ht)),k(0xd,_0x1a8278(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x51303a(0x150)],Sr=(_0x1dfa0f,_0x193074,_0x5541c8,_0x40d2ce)=>{var _0x5ad141=_0x51303a;for(var _0x5705aa=_0x40d2ce>0x1?void 0x0:_0x40d2ce?gr(_0x193074,_0x5541c8):_0x193074,_0x2ef516=_0x1dfa0f[_0x5ad141(0x2b9)]-0x1,_0xebceaa;_0x2ef516>=0x0;_0x2ef516--)(_0xebceaa=_0x1dfa0f[_0x2ef516])&&(_0x5705aa=(_0x40d2ce?_0xebceaa(_0x193074,_0x5541c8,_0x5705aa):_0xebceaa(_0x5705aa))||_0x5705aa);return _0x40d2ce&&_0x5705aa&&mr(_0x193074,_0x5541c8,_0x5705aa),_0x5705aa;},ft=(_0x2a54bb,_0x42ca6f)=>(_0xb6f3aa,_0x15ea8b)=>_0x42ca6f(_0xb6f3aa,_0x15ea8b,_0x2a54bb);let rt=class extends _0x2127fb{constructor(_0x26cb82,_0x3b90a3,_0x18dd6){var _0x27e67f=_0x51303a;super(),N(this,_0x27e67f(0x33f),new Map()),N(this,'_entityInit$',new _0x4973d7()),N(this,_0x27e67f(0x2a4),this[_0x27e67f(0x1f1)][_0x27e67f(0x212)]()),(this[_0x27e67f(0x1ff)]=_0x26cb82,this['_collabSessionService']=_0x3b90a3,this[_0x27e67f(0x365)]=_0x18dd6,this[_0x27e67f(0x25b)]());}[_0x51303a(0x421)](){var _0x51a1f2=_0x51303a;super[_0x51a1f2(0x421)](),this['_entities'][_0x51a1f2(0x2ed)](_0x5dc6ac=>_0x5dc6ac[_0x51a1f2(0x421)]()),this['_entities'][_0x51a1f2(0x346)]();}['getCollabEntity'](_0x56a5a3){var _0x5b0939=_0x51303a,_0xe3c0cc;return(_0xe3c0cc=this[_0x5b0939(0x33f)][_0x5b0939(0x227)](_0x56a5a3))!=null?_0xe3c0cc:null;}['getCollabEntity$'](_0x51c34b){var _0x173474=_0x51303a;const _0x124a50=this[_0x173474(0x3bf)](_0x51c34b);return _0x124a50?_0x56aeb4(_0x124a50):this[_0x173474(0x1f1)][_0x173474(0x380)](_0x3cf649(_0x2fad2d=>_0x2fad2d[_0x173474(0x40d)]===_0x51c34b));}[_0x51303a(0x384)](_0x19051c){var _0x5001c1=_0x51303a;return _0x31a3a6(this['getCollabEntity$'](_0x19051c)[_0x5001c1(0x380)](_0x21067b(()=>{})));}['_init'](){var _0x2580c0=_0x51303a;this[_0x2580c0(0x365)][_0x2580c0(0x18f)](_0x500bf2[_0x2580c0(0x43d)])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x315)](async _0x14c6cd=>{var _0x4bedbd=_0x2580c0;const _0xa49ee8=_0x14c6cd[_0x4bedbd(0x438)](),_0x245171=await this[_0x4bedbd(0x285)](_0xa49ee8,Q[_0x4bedbd(0x43d)]);this[_0x4bedbd(0x33f)]['set'](_0xa49ee8,_0x245171);}),this['_univerInstanceService'][_0x2580c0(0x18f)](_0x500bf2['UNIVER_DOC'])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x380)](_0x3cf649(_0x96d6f9=>!_0x96d6f9[_0x2580c0(0x438)]()[_0x2580c0(0x1f5)]('__')))[_0x2580c0(0x315)](async _0x2882a4=>{var _0x558d90=_0x2580c0;const _0x1f478e=_0x2882a4[_0x558d90(0x438)](),_0x26335a=await this[_0x558d90(0x285)](_0x1f478e,Q[_0x558d90(0x31f)]);this[_0x558d90(0x33f)][_0x558d90(0x34c)](_0x1f478e,_0x26335a);}),_0x204d3a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x43d)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x31f)]))['pipe'](_0x2fe2c4(this['dispose$']))['subscribe'](_0x90879=>{var _0x26567b=_0x2580c0;const _0x1eaff0=_0x90879[_0x26567b(0x438)](),_0x5aeede=this['_entities'][_0x26567b(0x227)](_0x1eaff0);_0x5aeede&&(_0x5aeede[_0x26567b(0x421)](),this[_0x26567b(0x33f)]['delete'](_0x1eaff0));});}async['_startCollaboration'](_0x9dfc4d,_0x3e532d){var _0x588484=_0x51303a;const _0x562465=await this[_0x588484(0x42e)][_0x588484(0x193)](_0x9dfc4d),_0x49064f=this[_0x588484(0x1ff)][_0x588484(0x372)](this['_getCtorByUniverType'](_0x3e532d),_0x9dfc4d,_0x3e532d,_0x562465);return await _0x49064f['init'](),this[_0x588484(0x1f1)][_0x588484(0x334)](_0x49064f),_0x49064f;}[_0x51303a(0x414)](_0x56129c){var _0x4db960=_0x51303a;switch(_0x56129c){case Q[_0x4db960(0x31f)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x4db960(0x154)+_0x56129c);}}};rt=Sr([ft(0x0,_0x2a2c27(_0x2ac98c)),ft(0x1,_0x2a2c27(Le)),ft(0x2,_0xd9ad76)],rt);var Er=Object['defineProperty'],Ir=Object[_0x51303a(0x150)],Tr=(_0x3e4560,_0x45fff6,_0x51adee,_0x5ea791)=>{var _0x48a454=_0x51303a;for(var _0x356ac6=_0x5ea791>0x1?void 0x0:_0x5ea791?Ir(_0x45fff6,_0x51adee):_0x45fff6,_0x129610=_0x3e4560[_0x48a454(0x2b9)]-0x1,_0x17c42e;_0x129610>=0x0;_0x129610--)(_0x17c42e=_0x3e4560[_0x129610])&&(_0x356ac6=(_0x5ea791?_0x17c42e(_0x45fff6,_0x51adee,_0x356ac6):_0x17c42e(_0x356ac6))||_0x356ac6);return _0x5ea791&&_0x356ac6&&Er(_0x45fff6,_0x51adee,_0x356ac6),_0x356ac6;},Jt=(_0x2fa1b4,_0x446a0f)=>(_0x42f0ad,_0xb402b)=>_0x446a0f(_0x42f0ad,_0xb402b,_0x2fa1b4);const Cr=_0x51303a(0x2d1),Rr=_0x51303a(0x37e);let Rt=class extends _0x47cec6{constructor(_0x5671a7,_0x2935d6){var _0x2fa6bc=_0x51303a;super(),this[_0x2fa6bc(0x365)]=_0x5671a7,this['_configService']=_0x2935d6,this[_0x2fa6bc(0x25b)]();}[_0x51303a(0x25b)](){var _0x3277d7=_0x51303a;this[_0x3277d7(0x434)](this[_0x3277d7(0x365)][_0x3277d7(0x2c2)][_0x3277d7(0x315)](()=>{var _0x39cde1=_0x3277d7,_0x2b7496;const _0x6a32ad=this[_0x39cde1(0x365)][_0x39cde1(0x422)]();let _0x15ce36=(_0x2b7496=this[_0x39cde1(0x2c0)]['getConfig'](Cr))!=null?_0x2b7496:Rr;_0x6a32ad instanceof _0x14e09d&&(_0x15ce36=_0x6a32ad['name']),document[_0x39cde1(0x32a)]=_0x15ce36;}));}};Rt=Tr([Jt(0x0,_0xd9ad76),Jt(0x1,_0x197b9e)],Rt);var br=Object[_0x51303a(0x281)],Or=Object[_0x51303a(0x150)],yr=(_0x2f4119,_0x21f919,_0x431075,_0x507287)=>{var _0x20d57d=_0x51303a;for(var _0x332416=_0x507287>0x1?void 0x0:_0x507287?Or(_0x21f919,_0x431075):_0x21f919,_0x1e117d=_0x2f4119[_0x20d57d(0x2b9)]-0x1,_0x2a07ee;_0x1e117d>=0x0;_0x1e117d--)(_0x2a07ee=_0x2f4119[_0x1e117d])&&(_0x332416=(_0x507287?_0x2a07ee(_0x21f919,_0x431075,_0x332416):_0x2a07ee(_0x332416))||_0x332416);return _0x507287&&_0x332416&&br(_0x21f919,_0x431075,_0x332416),_0x332416;},vt=(_0x49483c,_0x8a32c4)=>(_0x3c1c1a,_0x31369f)=>_0x8a32c4(_0x3c1c1a,_0x31369f,_0x49483c);let st=class{constructor(_0x124b5a,_0x2c4404,_0x29b889){var _0x52207d=_0x51303a;this[_0x52207d(0x2c0)]=_0x124b5a,this['_httpService']=_0x2c4404,this[_0x52207d(0x236)]=_0x29b889,this['init']();}[_0x51303a(0x239)](){var _0x569ed3=_0x51303a;this[_0x569ed3(0x42c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30b566,_0x311e73)=>_0x311e73(_0x30b566)['pipe'](_0x536272(async _0x16aae3=>{var _0x1a5221=_0x569ed3;const _0x18d534=_0x16aae3;if(_0x18d534[_0x1a5221(0x3c2)]===0x191){if(typeof window>'u')throw new Error(_0x1a5221(0x264));if(window[_0x1a5221(0x2a9)](this[_0x1a5221(0x236)]['t']('auth.needGotoLoginAlert'))){const _0x3907c4=window['encodeURIComponent'](window[_0x1a5221(0x215)][_0x1a5221(0x2a0)]);window[_0x1a5221(0x215)]['href']=this[_0x1a5221(0x30d)]()+_0x1a5221(0x40c)+_0x3907c4;}}return _0x18d534;}))});}[_0x51303a(0x30d)](){var _0x1e3d52=_0x51303a,_0x3cd97b,_0x584acc;const _0x360f28=this['_configService'][_0x1e3d52(0x2ec)](xn),_0x51965a=this[_0x1e3d52(0x2c0)]['getConfig'](q);return(_0x584acc=(_0x3cd97b=_0x51965a==null?void 0x0:_0x51965a[_0x1e3d52(0x246)])!=null?_0x3cd97b:_0x360f28)!=null?_0x584acc:Ln;}};st=yr([vt(0x0,_0x197b9e),vt(0x1,_0x2a2c27(_0x43259a)),vt(0x2,_0x2a2c27(_0x414916))],st);var Nr=Object[_0x51303a(0x281)],Dr=Object[_0x51303a(0x150)],Pr=(_0x35043a,_0x4d4422,_0x371555,_0x272caa)=>{var _0x245f23=_0x51303a;for(var _0x3d6edd=_0x272caa>0x1?void 0x0:_0x272caa?Dr(_0x4d4422,_0x371555):_0x4d4422,_0x1baa0d=_0x35043a[_0x245f23(0x2b9)]-0x1,_0x3dfa3a;_0x1baa0d>=0x0;_0x1baa0d--)(_0x3dfa3a=_0x35043a[_0x1baa0d])&&(_0x3d6edd=(_0x272caa?_0x3dfa3a(_0x4d4422,_0x371555,_0x3d6edd):_0x3dfa3a(_0x3d6edd))||_0x3d6edd);return _0x272caa&&_0x3d6edd&&Nr(_0x4d4422,_0x371555,_0x3d6edd),_0x3d6edd;},Xt=(_0x319e70,_0x21a82d)=>(_0x3fc119,_0xb09af5)=>_0x21a82d(_0x3fc119,_0xb09af5,_0x319e70);const Pi='AUTHZ_URL_KEY',wr='/universer-api/authz';let bt=class extends _0x47cec6{constructor(_0x4a5d4d,_0x398668){var _0x1d964c=_0x51303a;super(),this[_0x1d964c(0x36f)]=_0x4a5d4d,this[_0x1d964c(0x2c0)]=_0x398668,this['_initMergeInterceptor']();}[_0x51303a(0x293)](){var _0x484791=_0x51303a;const _0x2209b7=this;this[_0x484791(0x434)](this[_0x484791(0x36f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2d7c72({'isMatch'(_0x50a7f6){var _0x15abb2=_0x484791,_0x1aac98;if(_0x50a7f6[_0x15abb2(0x219)]==='POST'&&((_0x1aac98=_0x50a7f6['requestParams'])!=null&&_0x1aac98[_0x15abb2(0x1df)])){const {objectID:_0x34a562,objectType:_0x176f2a}=_0x50a7f6[_0x15abb2(0x201)][_0x15abb2(0x1df)]||{};if(!_0x34a562||_0x176f2a===void 0x0)return!0x1;const _0x2caec8=_0x2209b7[_0x15abb2(0x1b2)]()+'/'+_0x176f2a+_0x15abb2(0x180)+_0x34a562+'/allowed';if(_0x50a7f6[_0x15abb2(0x3fe)]===_0x2caec8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2506f0){var _0x16ff39=_0x484791,_0x176c36;return(_0x176c36=_0x2506f0[_0x16ff39(0x201)])==null?void 0x0:_0x176c36[_0x16ff39(0x1df)];},'mergeParamsToRequest'(_0x48b8a7,_0x44fdcd){var _0x203633=_0x484791;const _0x3584b6=_0x2209b7[_0x203633(0x1b2)]()+'/-/object/-/batch_allowed',_0x51e9f4=_0x48b8a7[_0x203633(0x20a)]((_0x218e8f,_0xdfefd3)=>{var _0x257225=_0x203633;const {unitID:_0x75b785,objectID:_0x3eb97c,objectType:_0x4fda02,actions:_0x1460bf}=_0xdfefd3;return _0x218e8f[_0x75b785]||(_0x218e8f[_0x75b785]={}),_0x218e8f[_0x75b785][_0x3eb97c]||(_0x218e8f[_0x75b785][_0x3eb97c]={'objectID':_0x3eb97c,'objectType':_0x4fda02,'actions':[]}),_0x218e8f[_0x75b785][_0x3eb97c][_0x257225(0x398)][_0x257225(0x1c9)](..._0x1460bf),_0x218e8f;},{}),_0x15b864=[];for(const _0x2d5a91 in _0x51e9f4)for(const _0x3d220e in _0x51e9f4[_0x2d5a91]){const {actions:_0x28b302,objectType:_0x360161}=_0x51e9f4[_0x2d5a91][_0x3d220e],_0x3e7a01=[...new Set(_0x28b302)];_0x15b864[_0x203633(0x1c9)]({'unitID':_0x2d5a91,'objectID':_0x3d220e,'objectType':_0x360161,'actions':_0x3e7a01});}return new _0x24cdfb(_0x203633(0x36d),_0x3584b6,{'headers':_0x44fdcd['headers'],'withCredentials':_0x44fdcd['withCredentials'],'responseType':_0x44fdcd[_0x203633(0x14b)],'body':{'requests':_0x15b864}});}},{'distributeResult'(_0x46146a,_0x51699a){var _0x1cdc04=_0x484791;const {objectActions:_0x33e14c}=_0x46146a;return _0x51699a[_0x1cdc04(0x2ea)](_0x3a1444=>{var _0x42b1ca=_0x1cdc04;const {unitID:_0x130b81,objectID:_0x3f98c3,actions:_0x4cefcf}=_0x3a1444,_0x1df230=_0x33e14c[_0x42b1ca(0x269)](_0x3737bc=>_0x3737bc[_0x42b1ca(0x40d)]===_0x130b81&&_0x3737bc['objectID']===_0x3f98c3),_0x3ca2bb=_0x4cefcf[_0x42b1ca(0x2ea)](_0x434bb1=>_0x1df230==null?void 0x0:_0x1df230[_0x42b1ca(0x398)][_0x42b1ca(0x269)](_0x451fff=>_0x451fff[_0x42b1ca(0x389)]===_0x434bb1))[_0x42b1ca(0x1bc)](_0x57aebf=>!!_0x57aebf);return{'config':_0x3a1444,'result':{'actions':_0x3ca2bb,'error':_0x46146a[_0x42b1ca(0x16e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x50e8f2=_0x51303a,_0x1e86ac,_0x55e4f6;const _0x23e7a3=this[_0x50e8f2(0x2c0)][_0x50e8f2(0x2ec)](Pi),_0x412d8a=this['_configService']['getConfig'](q);return(_0x55e4f6=(_0x1e86ac=_0x412d8a==null?void 0x0:_0x412d8a[_0x50e8f2(0x22f)])!=null?_0x1e86ac:_0x23e7a3)!=null?_0x55e4f6:wr;}async['create'](_0x1215db){var _0x48f91d=_0x51303a;const _0x5725f6=this[_0x48f91d(0x1b2)]()+'/'+_0x1215db[_0x48f91d(0x167)]+_0x48f91d(0x3fa);return(await this[_0x48f91d(0x36f)][_0x48f91d(0x40b)](_0x5725f6,{'body':_0x1215db}))[_0x48f91d(0x1df)]['objectID']||'';}async[_0x51303a(0x3f0)](_0x500294){var _0x4bfaa5=_0x51303a;const _0x550bd6=this[_0x4bfaa5(0x1b2)]()+_0x4bfaa5(0x1e9);return(await this[_0x4bfaa5(0x36f)]['post'](_0x550bd6,{'body':_0x500294}))[_0x4bfaa5(0x1df)][_0x4bfaa5(0x399)];}async['update'](_0x5cec73){var _0x2c3c09=_0x51303a;const _0x321f2a=this[_0x2c3c09(0x1b2)]()+'/'+_0x5cec73[_0x2c3c09(0x167)]+_0x2c3c09(0x180)+_0x5cec73['objectID'];await this[_0x2c3c09(0x36f)][_0x2c3c09(0x393)](_0x321f2a,{'body':_0x5cec73});}async[_0x51303a(0x294)](_0x4ced85){var _0x1e3205=_0x51303a;const _0x35ad07=this['_getAPIPrefixPath']()+'/'+_0x4ced85[_0x1e3205(0x167)]+_0x1e3205(0x180)+_0x4ced85[_0x1e3205(0x2f1)]+_0x1e3205(0x241);return(await this[_0x1e3205(0x36f)][_0x1e3205(0x40b)](_0x35ad07,{'body':_0x4ced85}))['body'][_0x1e3205(0x398)];}async[_0x51303a(0x3be)](_0x324a0d){var _0x2a799a=_0x51303a;const _0x465d05=this[_0x2a799a(0x1b2)]()+_0x2a799a(0x250);return(await this['_HTTPService']['post'](_0x465d05,{'body':{'requests':_0x324a0d}}))[_0x2a799a(0x1df)]['objectActions'];}async[_0x51303a(0x35e)](_0x44d592){var _0x488eef=_0x51303a;const _0xde2055=this['_getAPIPrefixPath']()+'/'+_0x44d592['objectType']+_0x488eef(0x1a9),_0x22f034=await this[_0x488eef(0x36f)][_0x488eef(0x40b)](_0xde2055,{'body':_0x44d592});return{'roles':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x340)],'actions':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x398)]};}async[_0x51303a(0x417)](_0x583af1){var _0x219585=_0x51303a;const _0x7053f6=this[_0x219585(0x1b2)]()+'/collaborator';await this[_0x219585(0x36f)][_0x219585(0x182)](_0x7053f6,{'params':{'collaboratorID':_0x583af1[_0x219585(0x1e0)],'objectID':_0x583af1[_0x219585(0x2f1)],'unitID':_0x583af1[_0x219585(0x40d)]}});}async[_0x51303a(0x2ae)](_0x5cf9db){var _0x1465f2=_0x51303a;const _0x1416dc=this[_0x1465f2(0x1b2)]()+_0x1465f2(0x1bf);await this[_0x1465f2(0x36f)][_0x1465f2(0x3b8)](_0x1416dc,{'body':_0x5cf9db});}async[_0x51303a(0x3e0)](_0x1ad251){var _0x276eb4=_0x51303a;const _0x41d98c=this[_0x276eb4(0x1b2)]()+_0x276eb4(0x1bf);await this[_0x276eb4(0x36f)][_0x276eb4(0x40b)](_0x41d98c,{'body':_0x1ad251});}async[_0x51303a(0x2be)](_0x97f7e7){var _0x39d239=_0x51303a;const _0x4d2569=this[_0x39d239(0x1b2)]()+_0x39d239(0x1bf);return(await this[_0x39d239(0x36f)][_0x39d239(0x227)](_0x4d2569,{'params':{'objectID':_0x97f7e7[_0x39d239(0x2f1)],'unitID':_0x97f7e7[_0x39d239(0x40d)]}}))[_0x39d239(0x1df)][_0x39d239(0x409)];}async[_0x51303a(0x3af)](_0x4cdab0){var _0x34b723=_0x51303a;const _0x5d2f3b=this[_0x34b723(0x1b2)]()+_0x34b723(0x1bf);await this['_HTTPService']['put'](_0x5d2f3b,{'body':_0x4cdab0});}};bt=Pr([Xt(0x0,_0x2a2c27(_0x43259a)),Xt(0x1,_0x2a2c27(_0x197b9e))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5bd351){var _0x3b349d=_0x51303a;return _0x5bd351&&_0x5bd351[_0x3b349d(0x2c8)]&&Object[_0x3b349d(0x445)]['hasOwnProperty'][_0x3b349d(0x270)](_0x5bd351,'default')?_0x5bd351['default']:_0x5bd351;}var Ve={'exports':{}};function Ur(_0x2c4fe4){var _0x5395fd=_0x51303a;throw new Error(_0x5395fd(0x174)+_0x2c4fe4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x51303a(0x34f)],Zt;function ne(){var _0x4a179d=_0x51303a;return Zt||(Zt=0x1,function(_0x26242c,_0x1c4b57){(function(_0x491710,_0x3f8909){_0x26242c['exports']=_0x3f8909();}(Ar,function(){var _0x388384=_0x388384||function(_0x38f389,_0x4c69c5){var _0x3c34de=_0x1f09,_0x1d82f7;if(typeof window<'u'&&window[_0x3c34de(0x2dc)]&&(_0x1d82f7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d82f7=self[_0x3c34de(0x2dc)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d82f7=globalThis[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof window<'u'&&window['msCrypto']&&(_0x1d82f7=window['msCrypto']),!_0x1d82f7&&typeof pt<'u'&&pt['crypto']&&(_0x1d82f7=pt[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof Ur==_0x3c34de(0x3bb))try{_0x1d82f7=require(_0x3c34de(0x2dc));}catch{}var _0x480fec=function(){var _0xafdf4f=_0x3c34de;if(_0x1d82f7){if(typeof _0x1d82f7[_0xafdf4f(0x1dd)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1dd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d82f7[_0xafdf4f(0x1a2)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1a2)](0x4)[_0xafdf4f(0x3ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3cb9d8=Object[_0x3c34de(0x16d)]||(function(){function _0x5a71d5(){}return function(_0x5f25d7){var _0x2154b9=_0x1f09,_0x300980;return _0x5a71d5[_0x2154b9(0x445)]=_0x5f25d7,_0x300980=new _0x5a71d5(),_0x5a71d5['prototype']=null,_0x300980;};}()),_0x517f34={},_0x3621ed=_0x517f34[_0x3c34de(0x186)]={},_0x318742=_0x3621ed[_0x3c34de(0x338)]=(function(){return{'extend':function(_0x2dc0c4){var _0x24d75b=_0x1f09,_0xae1d85=_0x3cb9d8(this);return _0x2dc0c4&&_0xae1d85['mixIn'](_0x2dc0c4),(!_0xae1d85['hasOwnProperty'](_0x24d75b(0x239))||this[_0x24d75b(0x239)]===_0xae1d85[_0x24d75b(0x239)])&&(_0xae1d85[_0x24d75b(0x239)]=function(){var _0x54f90b=_0x24d75b;_0xae1d85[_0x54f90b(0x3e2)][_0x54f90b(0x239)][_0x54f90b(0x277)](this,arguments);}),_0xae1d85['init'][_0x24d75b(0x445)]=_0xae1d85,_0xae1d85[_0x24d75b(0x3e2)]=this,_0xae1d85;},'create':function(){var _0x563ba6=_0x1f09,_0x3457e8=this['extend']();return _0x3457e8[_0x563ba6(0x239)]['apply'](_0x3457e8,arguments),_0x3457e8;},'init':function(){},'mixIn':function(_0xefb22d){var _0x5acbd8=_0x1f09;for(var _0x1706e8 in _0xefb22d)_0xefb22d[_0x5acbd8(0x3c1)](_0x1706e8)&&(this[_0x1706e8]=_0xefb22d[_0x1706e8]);_0xefb22d[_0x5acbd8(0x3c1)](_0x5acbd8(0x1d9))&&(this[_0x5acbd8(0x1d9)]=_0xefb22d[_0x5acbd8(0x1d9)]);},'clone':function(){var _0x55d286=_0x1f09;return this[_0x55d286(0x239)][_0x55d286(0x445)][_0x55d286(0x305)](this);}};}()),_0x31f7f3=_0x3621ed['WordArray']=_0x318742[_0x3c34de(0x305)]({'init':function(_0x7f8214,_0x39d91f){var _0x2d2c45=_0x3c34de;_0x7f8214=this['words']=_0x7f8214||[],_0x39d91f!=_0x4c69c5?this[_0x2d2c45(0x36c)]=_0x39d91f:this['sigBytes']=_0x7f8214[_0x2d2c45(0x2b9)]*0x4;},'toString':function(_0x5a20f4){var _0x172a20=_0x3c34de;return(_0x5a20f4||_0x223721)[_0x172a20(0x235)](this);},'concat':function(_0x2a055a){var _0x532d44=_0x3c34de,_0x28c0a9=this['words'],_0x4c808d=_0x2a055a[_0x532d44(0x3ff)],_0xbcdb70=this[_0x532d44(0x36c)],_0x6a4303=_0x2a055a[_0x532d44(0x36c)];if(this['clamp'](),_0xbcdb70%0x4)for(var _0x47d84e=0x0;_0x47d84e<_0x6a4303;_0x47d84e++){var _0x270b3f=_0x4c808d[_0x47d84e>>>0x2]>>>0x18-_0x47d84e%0x4*0x8&0xff;_0x28c0a9[_0xbcdb70+_0x47d84e>>>0x2]|=_0x270b3f<<0x18-(_0xbcdb70+_0x47d84e)%0x4*0x8;}else{for(var _0x2c1d0a=0x0;_0x2c1d0a<_0x6a4303;_0x2c1d0a+=0x4)_0x28c0a9[_0xbcdb70+_0x2c1d0a>>>0x2]=_0x4c808d[_0x2c1d0a>>>0x2];}return this[_0x532d44(0x36c)]+=_0x6a4303,this;},'clamp':function(){var _0x276ef4=_0x3c34de,_0x43765c=this[_0x276ef4(0x3ff)],_0x13f112=this[_0x276ef4(0x36c)];_0x43765c[_0x13f112>>>0x2]&=0xffffffff<<0x20-_0x13f112%0x4*0x8,_0x43765c[_0x276ef4(0x2b9)]=_0x38f389[_0x276ef4(0x190)](_0x13f112/0x4);},'clone':function(){var _0x4a45f8=_0x3c34de,_0x118dcd=_0x318742[_0x4a45f8(0x352)][_0x4a45f8(0x270)](this);return _0x118dcd['words']=this[_0x4a45f8(0x3ff)]['slice'](0x0),_0x118dcd;},'random':function(_0x3957e2){var _0x46f4bc=_0x3c34de;for(var _0x501334=[],_0x572142=0x0;_0x572142<_0x3957e2;_0x572142+=0x4)_0x501334[_0x46f4bc(0x1c9)](_0x480fec());return new _0x31f7f3[(_0x46f4bc(0x239))](_0x501334,_0x3957e2);}}),_0x13a01b=_0x517f34[_0x3c34de(0x364)]={},_0x223721=_0x13a01b['Hex']={'stringify':function(_0x5369f3){var _0x2b6faf=_0x3c34de;for(var _0x46d5d5=_0x5369f3['words'],_0x236dc5=_0x5369f3[_0x2b6faf(0x36c)],_0x3e913d=[],_0x5c97f5=0x0;_0x5c97f5<_0x236dc5;_0x5c97f5++){var _0x4445d4=_0x46d5d5[_0x5c97f5>>>0x2]>>>0x18-_0x5c97f5%0x4*0x8&0xff;_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4>>>0x4)[_0x2b6faf(0x1d9)](0x10)),_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4&0xf)[_0x2b6faf(0x1d9)](0x10));}return _0x3e913d[_0x2b6faf(0x1b7)]('');},'parse':function(_0x4e1da3){var _0x350dd4=_0x3c34de;for(var _0x206b8a=_0x4e1da3['length'],_0x556c37=[],_0x7f96bf=0x0;_0x7f96bf<_0x206b8a;_0x7f96bf+=0x2)_0x556c37[_0x7f96bf>>>0x3]|=parseInt(_0x4e1da3[_0x350dd4(0x41b)](_0x7f96bf,0x2),0x10)<<0x18-_0x7f96bf%0x8*0x4;return new _0x31f7f3[(_0x350dd4(0x239))](_0x556c37,_0x206b8a/0x2);}},_0x1fc8d5=_0x13a01b[_0x3c34de(0x363)]={'stringify':function(_0x185795){var _0x2e6039=_0x3c34de;for(var _0x317bd7=_0x185795[_0x2e6039(0x3ff)],_0x2a4920=_0x185795['sigBytes'],_0x2109f9=[],_0x45d954=0x0;_0x45d954<_0x2a4920;_0x45d954++){var _0x2adb48=_0x317bd7[_0x45d954>>>0x2]>>>0x18-_0x45d954%0x4*0x8&0xff;_0x2109f9[_0x2e6039(0x1c9)](String[_0x2e6039(0x34a)](_0x2adb48));}return _0x2109f9[_0x2e6039(0x1b7)]('');},'parse':function(_0x21464c){var _0x428262=_0x3c34de;for(var _0x20c8c0=_0x21464c[_0x428262(0x2b9)],_0xee43e7=[],_0x1f3408=0x0;_0x1f3408<_0x20c8c0;_0x1f3408++)_0xee43e7[_0x1f3408>>>0x2]|=(_0x21464c[_0x428262(0x28e)](_0x1f3408)&0xff)<<0x18-_0x1f3408%0x4*0x8;return new _0x31f7f3['init'](_0xee43e7,_0x20c8c0);}},_0x3eab57=_0x13a01b[_0x3c34de(0x3b0)]={'stringify':function(_0x229c31){var _0x5e9efd=_0x3c34de;try{return decodeURIComponent(escape(_0x1fc8d5[_0x5e9efd(0x235)](_0x229c31)));}catch{throw new Error(_0x5e9efd(0x429));}},'parse':function(_0x427d7e){return _0x1fc8d5['parse'](unescape(encodeURIComponent(_0x427d7e)));}},_0x1cf724=_0x3621ed[_0x3c34de(0x3c4)]=_0x318742[_0x3c34de(0x305)]({'reset':function(){var _0x53b074=_0x3c34de;this[_0x53b074(0x2d4)]=new _0x31f7f3['init'](),this[_0x53b074(0x170)]=0x0;},'_append':function(_0x597346){var _0x417b39=_0x3c34de;typeof _0x597346==_0x417b39(0x1a0)&&(_0x597346=_0x3eab57[_0x417b39(0x354)](_0x597346)),this[_0x417b39(0x2d4)]['concat'](_0x597346),this[_0x417b39(0x170)]+=_0x597346['sigBytes'];},'_process':function(_0x4f542c){var _0x46ea02=_0x3c34de,_0x5688c7,_0x5bd8ce=this[_0x46ea02(0x2d4)],_0x3cc874=_0x5bd8ce[_0x46ea02(0x3ff)],_0x37c97c=_0x5bd8ce['sigBytes'],_0x49f0b6=this[_0x46ea02(0x31d)],_0x1b1362=_0x49f0b6*0x4,_0x1be403=_0x37c97c/_0x1b1362;_0x4f542c?_0x1be403=_0x38f389[_0x46ea02(0x190)](_0x1be403):_0x1be403=_0x38f389[_0x46ea02(0x298)]((_0x1be403|0x0)-this[_0x46ea02(0x439)],0x0);var _0x3fa6c1=_0x1be403*_0x49f0b6,_0x18df06=_0x38f389['min'](_0x3fa6c1*0x4,_0x37c97c);if(_0x3fa6c1){for(var _0x5960c1=0x0;_0x5960c1<_0x3fa6c1;_0x5960c1+=_0x49f0b6)this[_0x46ea02(0x19a)](_0x3cc874,_0x5960c1);_0x5688c7=_0x3cc874['splice'](0x0,_0x3fa6c1),_0x5bd8ce[_0x46ea02(0x36c)]-=_0x18df06;}return new _0x31f7f3[(_0x46ea02(0x239))](_0x5688c7,_0x18df06);},'clone':function(){var _0xe77a15=_0x3c34de,_0x16a390=_0x318742[_0xe77a15(0x352)][_0xe77a15(0x270)](this);return _0x16a390['_data']=this[_0xe77a15(0x2d4)][_0xe77a15(0x352)](),_0x16a390;},'_minBufferSize':0x0});_0x3621ed[_0x3c34de(0x3d3)]=_0x1cf724['extend']({'cfg':_0x318742[_0x3c34de(0x305)](),'init':function(_0x456bd1){var _0x423735=_0x3c34de;this['cfg']=this[_0x423735(0x21a)][_0x423735(0x305)](_0x456bd1),this[_0x423735(0x1bd)]();},'reset':function(){var _0x1d73f4=_0x3c34de;_0x1cf724['reset'][_0x1d73f4(0x270)](this),this['_doReset']();},'update':function(_0x2438e5){var _0x160cac=_0x3c34de;return this[_0x160cac(0x289)](_0x2438e5),this[_0x160cac(0x276)](),this;},'finalize':function(_0x21d7b6){var _0x537134=_0x3c34de;_0x21d7b6&&this[_0x537134(0x289)](_0x21d7b6);var _0x4893a1=this['_doFinalize']();return _0x4893a1;},'blockSize':0x10,'_createHelper':function(_0x514412){return function(_0x21bd32,_0x4205e3){var _0xb646e2=_0x1f09;return new _0x514412[(_0xb646e2(0x239))](_0x4205e3)[_0xb646e2(0x441)](_0x21bd32);};},'_createHmacHelper':function(_0x4f228e){return function(_0x14369e,_0x1685a5){var _0x5d5f4c=_0x1f09;return new _0x455b16[(_0x5d5f4c(0x28c))][(_0x5d5f4c(0x239))](_0x4f228e,_0x1685a5)[_0x5d5f4c(0x441)](_0x14369e);};}});var _0x455b16=_0x517f34[_0x3c34de(0x301)]={};return _0x517f34;}(Math);return _0x388384;}));}(Ge)),Ge[_0x4a179d(0x34f)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x59f1ae=_0x51303a;return Qt||(Qt=0x1,function(_0x3c11cb,_0x3684d8){(function(_0x2878d0,_0x31ff06){var _0x839608=_0x1f09;_0x3c11cb[_0x839608(0x34f)]=_0x31ff06(ne());}(xr,function(_0x119f6c){var _0x43832b=_0x1f09;return(function(){var _0x22ebc9=_0x1f09,_0x5ae909=_0x119f6c,_0xd3a42b=_0x5ae909['lib'],_0x59b532=_0xd3a42b[_0x22ebc9(0x274)],_0x3559b1=_0x5ae909[_0x22ebc9(0x364)];_0x3559b1[_0x22ebc9(0x2c7)]={'stringify':function(_0x532fe1){var _0x4fd887=_0x22ebc9,_0x4aea9e=_0x532fe1[_0x4fd887(0x3ff)],_0x546bbb=_0x532fe1['sigBytes'],_0x237b6d=this[_0x4fd887(0x1c2)];_0x532fe1[_0x4fd887(0x21c)]();for(var _0x54c2e3=[],_0x437b62=0x0;_0x437b62<_0x546bbb;_0x437b62+=0x3)for(var _0x18824a=_0x4aea9e[_0x437b62>>>0x2]>>>0x18-_0x437b62%0x4*0x8&0xff,_0x9bbadd=_0x4aea9e[_0x437b62+0x1>>>0x2]>>>0x18-(_0x437b62+0x1)%0x4*0x8&0xff,_0x3c1eda=_0x4aea9e[_0x437b62+0x2>>>0x2]>>>0x18-(_0x437b62+0x2)%0x4*0x8&0xff,_0x2fa648=_0x18824a<<0x10|_0x9bbadd<<0x8|_0x3c1eda,_0x298a1f=0x0;_0x298a1f<0x4&&_0x437b62+_0x298a1f*0.75<_0x546bbb;_0x298a1f++)_0x54c2e3['push'](_0x237b6d[_0x4fd887(0x38a)](_0x2fa648>>>0x6*(0x3-_0x298a1f)&0x3f));var _0x3f8d6b=_0x237b6d[_0x4fd887(0x38a)](0x40);if(_0x3f8d6b){for(;_0x54c2e3['length']%0x4;)_0x54c2e3[_0x4fd887(0x1c9)](_0x3f8d6b);}return _0x54c2e3[_0x4fd887(0x1b7)]('');},'parse':function(_0x12cea2){var _0x2e7932=_0x22ebc9,_0x1920b8=_0x12cea2['length'],_0x580b45=this['_map'],_0x1fb60b=this[_0x2e7932(0x2b3)];if(!_0x1fb60b){_0x1fb60b=this['_reverseMap']=[];for(var _0x3e8da7=0x0;_0x3e8da7<_0x580b45[_0x2e7932(0x2b9)];_0x3e8da7++)_0x1fb60b[_0x580b45[_0x2e7932(0x28e)](_0x3e8da7)]=_0x3e8da7;}var _0x47c86a=_0x580b45['charAt'](0x40);if(_0x47c86a){var _0x34472f=_0x12cea2[_0x2e7932(0x16a)](_0x47c86a);_0x34472f!==-0x1&&(_0x1920b8=_0x34472f);}return _0x47acc7(_0x12cea2,_0x1920b8,_0x1fb60b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x47acc7(_0x2793d1,_0x45a33a,_0x3941af){var _0x337c1b=_0x22ebc9;for(var _0x47829f=[],_0x446755=0x0,_0x3bac8=0x0;_0x3bac8<_0x45a33a;_0x3bac8++)if(_0x3bac8%0x4){var _0x55820e=_0x3941af[_0x2793d1[_0x337c1b(0x28e)](_0x3bac8-0x1)]<<_0x3bac8%0x4*0x2,_0x574b79=_0x3941af[_0x2793d1['charCodeAt'](_0x3bac8)]>>>0x6-_0x3bac8%0x4*0x2,_0x272b57=_0x55820e|_0x574b79;_0x47829f[_0x446755>>>0x2]|=_0x272b57<<0x18-_0x446755%0x4*0x8,_0x446755++;}return _0x59b532[_0x337c1b(0x16d)](_0x47829f,_0x446755);}}()),_0x119f6c[_0x43832b(0x364)][_0x43832b(0x2c7)];}));}(We)),We[_0x59f1ae(0x34f)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function _0x1f09(_0x4d222f,_0xd197aa){var _0x1f79d3=_0x1f79();return _0x1f09=function(_0x1f09bc,_0x386cb3){_0x1f09bc=_0x1f09bc-0x147;var _0x4d1af2=_0x1f79d3[_0x1f09bc];return _0x4d1af2;},_0x1f09(_0x4d222f,_0xd197aa);}function Mr(){var _0x157476=_0x51303a;return ei||(ei=0x1,function(_0x5c1402,_0xd9dfa8){(function(_0x177135,_0x3a4da2){var _0x9d4263=_0x1f09;_0x5c1402[_0x9d4263(0x34f)]=_0x3a4da2(ne());}(Lr,function(_0x1981f0){return function(_0x323e64){var _0x35aaa1=_0x1f09,_0x90ac7d=_0x1981f0,_0x117792=_0x90ac7d[_0x35aaa1(0x186)],_0x207e8c=_0x117792[_0x35aaa1(0x274)],_0x3f9f52=_0x117792['Hasher'],_0xfc3e8d=_0x90ac7d[_0x35aaa1(0x301)],_0x4a972=[];(function(){var _0x493935=_0x35aaa1;for(var _0x4ff178=0x0;_0x4ff178<0x40;_0x4ff178++)_0x4a972[_0x4ff178]=_0x323e64[_0x493935(0x377)](_0x323e64['sin'](_0x4ff178+0x1))*0x100000000|0x0;}());var _0xe7d460=_0xfc3e8d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x305)]({'_doReset':function(){var _0x11db31=_0x35aaa1;this[_0x11db31(0x27a)]=new _0x207e8c[(_0x11db31(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x408717,_0xee065f){for(var _0x27a0ab=0x0;_0x27a0ab<0x10;_0x27a0ab++){var _0x41b4c8=_0xee065f+_0x27a0ab,_0x1bd740=_0x408717[_0x41b4c8];_0x408717[_0x41b4c8]=(_0x1bd740<<0x8|_0x1bd740>>>0x18)&0xff00ff|(_0x1bd740<<0x18|_0x1bd740>>>0x8)&0xff00ff00;}var _0x439c18=this['_hash']['words'],_0x2ff794=_0x408717[_0xee065f+0x0],_0x99bacc=_0x408717[_0xee065f+0x1],_0x2e64fd=_0x408717[_0xee065f+0x2],_0x537823=_0x408717[_0xee065f+0x3],_0x3e3a59=_0x408717[_0xee065f+0x4],_0xe168d3=_0x408717[_0xee065f+0x5],_0x12806c=_0x408717[_0xee065f+0x6],_0x45e62c=_0x408717[_0xee065f+0x7],_0x3cbcf8=_0x408717[_0xee065f+0x8],_0x358e5e=_0x408717[_0xee065f+0x9],_0x492476=_0x408717[_0xee065f+0xa],_0x2c7d7b=_0x408717[_0xee065f+0xb],_0x214d86=_0x408717[_0xee065f+0xc],_0x4bad60=_0x408717[_0xee065f+0xd],_0x5cc588=_0x408717[_0xee065f+0xe],_0x3104b6=_0x408717[_0xee065f+0xf],_0x591883=_0x439c18[0x0],_0x43df94=_0x439c18[0x1],_0x4e7bc3=_0x439c18[0x2],_0x391fe5=_0x439c18[0x3];_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x7,_0x4a972[0x0]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x99bacc,0xc,_0x4a972[0x1]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0x11,_0x4a972[0x2]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x537823,0x16,_0x4a972[0x3]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x7,_0x4a972[0x4]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0xe168d3,0xc,_0x4a972[0x5]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0x11,_0x4a972[0x6]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x45e62c,0x16,_0x4a972[0x7]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x7,_0x4a972[0x8]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x358e5e,0xc,_0x4a972[0x9]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0x11,_0x4a972[0xa]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2c7d7b,0x16,_0x4a972[0xb]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x7,_0x4a972[0xc]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x4bad60,0xc,_0x4a972[0xd]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0x11,_0x4a972[0xe]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3104b6,0x16,_0x4a972[0xf]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x5,_0x4a972[0x10]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x12806c,0x9,_0x4a972[0x11]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0xe,_0x4a972[0x12]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2ff794,0x14,_0x4a972[0x13]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x5,_0x4a972[0x14]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x492476,0x9,_0x4a972[0x15]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0xe,_0x4a972[0x16]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3e3a59,0x14,_0x4a972[0x17]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x5,_0x4a972[0x18]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x5cc588,0x9,_0x4a972[0x19]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0xe,_0x4a972[0x1a]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3cbcf8,0x14,_0x4a972[0x1b]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x5,_0x4a972[0x1c]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2e64fd,0x9,_0x4a972[0x1d]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0xe,_0x4a972[0x1e]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x214d86,0x14,_0x4a972[0x1f]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x4,_0x4a972[0x20]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3cbcf8,0xb,_0x4a972[0x21]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0x10,_0x4a972[0x22]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x5cc588,0x17,_0x4a972[0x23]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x4,_0x4a972[0x24]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3e3a59,0xb,_0x4a972[0x25]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0x10,_0x4a972[0x26]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x492476,0x17,_0x4a972[0x27]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x4,_0x4a972[0x28]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2ff794,0xb,_0x4a972[0x29]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0x10,_0x4a972[0x2a]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x12806c,0x17,_0x4a972[0x2b]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x4,_0x4a972[0x2c]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x214d86,0xb,_0x4a972[0x2d]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0x10,_0x4a972[0x2e]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2e64fd,0x17,_0x4a972[0x2f]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x6,_0x4a972[0x30]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x45e62c,0xa,_0x4a972[0x31]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0xf,_0x4a972[0x32]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0xe168d3,0x15,_0x4a972[0x33]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x6,_0x4a972[0x34]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x537823,0xa,_0x4a972[0x35]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0xf,_0x4a972[0x36]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x99bacc,0x15,_0x4a972[0x37]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x6,_0x4a972[0x38]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3104b6,0xa,_0x4a972[0x39]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0xf,_0x4a972[0x3a]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x4bad60,0x15,_0x4a972[0x3b]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x6,_0x4a972[0x3c]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2c7d7b,0xa,_0x4a972[0x3d]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0xf,_0x4a972[0x3e]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x358e5e,0x15,_0x4a972[0x3f]),_0x439c18[0x0]=_0x439c18[0x0]+_0x591883|0x0,_0x439c18[0x1]=_0x439c18[0x1]+_0x43df94|0x0,_0x439c18[0x2]=_0x439c18[0x2]+_0x4e7bc3|0x0,_0x439c18[0x3]=_0x439c18[0x3]+_0x391fe5|0x0;},'_doFinalize':function(){var _0x2c3055=_0x35aaa1,_0x5963a4=this[_0x2c3055(0x2d4)],_0x38f472=_0x5963a4[_0x2c3055(0x3ff)],_0x29f8fd=this['_nDataBytes']*0x8,_0x115137=_0x5963a4[_0x2c3055(0x36c)]*0x8;_0x38f472[_0x115137>>>0x5]|=0x80<<0x18-_0x115137%0x20;var _0x5eeef0=_0x323e64[_0x2c3055(0x20d)](_0x29f8fd/0x100000000),_0x36e157=_0x29f8fd;_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xf]=(_0x5eeef0<<0x8|_0x5eeef0>>>0x18)&0xff00ff|(_0x5eeef0<<0x18|_0x5eeef0>>>0x8)&0xff00ff00,_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xe]=(_0x36e157<<0x8|_0x36e157>>>0x18)&0xff00ff|(_0x36e157<<0x18|_0x36e157>>>0x8)&0xff00ff00,_0x5963a4[_0x2c3055(0x36c)]=(_0x38f472[_0x2c3055(0x2b9)]+0x1)*0x4,this[_0x2c3055(0x276)]();for(var _0x57d897=this[_0x2c3055(0x27a)],_0x11d94c=_0x57d897[_0x2c3055(0x3ff)],_0x59f001=0x0;_0x59f001<0x4;_0x59f001++){var _0x26a16=_0x11d94c[_0x59f001];_0x11d94c[_0x59f001]=(_0x26a16<<0x8|_0x26a16>>>0x18)&0xff00ff|(_0x26a16<<0x18|_0x26a16>>>0x8)&0xff00ff00;}return _0x57d897;},'clone':function(){var _0x193fc1=_0x35aaa1,_0x5957b2=_0x3f9f52['clone'][_0x193fc1(0x270)](this);return _0x5957b2['_hash']=this[_0x193fc1(0x27a)][_0x193fc1(0x352)](),_0x5957b2;}});function _0x1bcd73(_0x5ead1a,_0x98b3b8,_0x1d81f3,_0x43b034,_0xe65fa3,_0x5f247e,_0x2e37d0){var _0x1ad43c=_0x5ead1a+(_0x98b3b8&_0x1d81f3|~_0x98b3b8&_0x43b034)+_0xe65fa3+_0x2e37d0;return(_0x1ad43c<<_0x5f247e|_0x1ad43c>>>0x20-_0x5f247e)+_0x98b3b8;}function _0x1d492d(_0x5bdf05,_0x19b8f4,_0x971e0f,_0x22cc93,_0x781769,_0x91eb52,_0x3d27b2){var _0x1e75ee=_0x5bdf05+(_0x19b8f4&_0x22cc93|_0x971e0f&~_0x22cc93)+_0x781769+_0x3d27b2;return(_0x1e75ee<<_0x91eb52|_0x1e75ee>>>0x20-_0x91eb52)+_0x19b8f4;}function _0x3915a8(_0x3f121e,_0x2ab77e,_0x39d85b,_0x144d8d,_0x47ec02,_0x451862,_0xd9b001){var _0x54d4e3=_0x3f121e+(_0x2ab77e^_0x39d85b^_0x144d8d)+_0x47ec02+_0xd9b001;return(_0x54d4e3<<_0x451862|_0x54d4e3>>>0x20-_0x451862)+_0x2ab77e;}function _0xfaade(_0x287187,_0x264df6,_0x4c1a78,_0x1451c5,_0x343b24,_0x2b34ce,_0x11cd82){var _0x27d969=_0x287187+(_0x4c1a78^(_0x264df6|~_0x1451c5))+_0x343b24+_0x11cd82;return(_0x27d969<<_0x2b34ce|_0x27d969>>>0x20-_0x2b34ce)+_0x264df6;}_0x90ac7d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x332)](_0xe7d460),_0x90ac7d[_0x35aaa1(0x254)]=_0x3f9f52[_0x35aaa1(0x32b)](_0xe7d460);}(Math),_0x1981f0['MD5'];}));}(Ke)),Ke[_0x157476(0x34f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x1e0bb4=_0x51303a;return ti||(ti=0x1,function(_0x2cc3d7,_0xdd02aa){(function(_0x98320c,_0x430f82){var _0x4b661b=_0x1f09;_0x2cc3d7[_0x4b661b(0x34f)]=_0x430f82(ne());}($r,function(_0x1a5e27){var _0x1a4673=_0x1f09;return(function(){var _0x44d6d2=_0x1f09,_0x498502=_0x1a5e27,_0x3f82cd=_0x498502['lib'],_0x3391ea=_0x3f82cd[_0x44d6d2(0x274)],_0x2d2793=_0x3f82cd[_0x44d6d2(0x3d3)],_0x46f08f=_0x498502[_0x44d6d2(0x301)],_0x24cc14=[],_0x411b19=_0x46f08f[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x305)]({'_doReset':function(){var _0x359830=_0x44d6d2;this[_0x359830(0x27a)]=new _0x3391ea[(_0x359830(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1481d3,_0xbfca34){var _0x3ae58a=_0x44d6d2;for(var _0x2d750b=this[_0x3ae58a(0x27a)][_0x3ae58a(0x3ff)],_0x54241b=_0x2d750b[0x0],_0x1f0716=_0x2d750b[0x1],_0x255c10=_0x2d750b[0x2],_0x481113=_0x2d750b[0x3],_0x361c5f=_0x2d750b[0x4],_0x236e38=0x0;_0x236e38<0x50;_0x236e38++){if(_0x236e38<0x10)_0x24cc14[_0x236e38]=_0x1481d3[_0xbfca34+_0x236e38]|0x0;else{var _0x27b0c5=_0x24cc14[_0x236e38-0x3]^_0x24cc14[_0x236e38-0x8]^_0x24cc14[_0x236e38-0xe]^_0x24cc14[_0x236e38-0x10];_0x24cc14[_0x236e38]=_0x27b0c5<<0x1|_0x27b0c5>>>0x1f;}var _0x77e714=(_0x54241b<<0x5|_0x54241b>>>0x1b)+_0x361c5f+_0x24cc14[_0x236e38];_0x236e38<0x14?_0x77e714+=(_0x1f0716&_0x255c10|~_0x1f0716&_0x481113)+0x5a827999:_0x236e38<0x28?_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)+0x6ed9eba1:_0x236e38<0x3c?_0x77e714+=(_0x1f0716&_0x255c10|_0x1f0716&_0x481113|_0x255c10&_0x481113)-0x70e44324:_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)-0x359d3e2a,_0x361c5f=_0x481113,_0x481113=_0x255c10,_0x255c10=_0x1f0716<<0x1e|_0x1f0716>>>0x2,_0x1f0716=_0x54241b,_0x54241b=_0x77e714;}_0x2d750b[0x0]=_0x2d750b[0x0]+_0x54241b|0x0,_0x2d750b[0x1]=_0x2d750b[0x1]+_0x1f0716|0x0,_0x2d750b[0x2]=_0x2d750b[0x2]+_0x255c10|0x0,_0x2d750b[0x3]=_0x2d750b[0x3]+_0x481113|0x0,_0x2d750b[0x4]=_0x2d750b[0x4]+_0x361c5f|0x0;},'_doFinalize':function(){var _0x4943ba=_0x44d6d2,_0x256d4a=this[_0x4943ba(0x2d4)],_0x58edf2=_0x256d4a[_0x4943ba(0x3ff)],_0x22fe80=this[_0x4943ba(0x170)]*0x8,_0x419ffa=_0x256d4a['sigBytes']*0x8;return _0x58edf2[_0x419ffa>>>0x5]|=0x80<<0x18-_0x419ffa%0x20,_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x22fe80/0x100000000),_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xf]=_0x22fe80,_0x256d4a[_0x4943ba(0x36c)]=_0x58edf2[_0x4943ba(0x2b9)]*0x4,this[_0x4943ba(0x276)](),this['_hash'];},'clone':function(){var _0x53f3d6=_0x44d6d2,_0x420a63=_0x2d2793['clone'][_0x53f3d6(0x270)](this);return _0x420a63[_0x53f3d6(0x27a)]=this[_0x53f3d6(0x27a)][_0x53f3d6(0x352)](),_0x420a63;}});_0x498502[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x332)](_0x411b19),_0x498502[_0x44d6d2(0x2bd)]=_0x2d2793[_0x44d6d2(0x32b)](_0x411b19);}()),_0x1a5e27[_0x1a4673(0x1b0)];}));}(qe)),qe[_0x1e0bb4(0x34f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x45a5e6,_0x5cb9f4){(function(_0x323a8a,_0xd4874c){var _0x40fbf3=_0x1f09;_0x45a5e6[_0x40fbf3(0x34f)]=_0xd4874c(ne());}(kr,function(_0x392f0b){(function(){var _0x552a6c=_0x1f09,_0x57ecd3=_0x392f0b,_0x43c12a=_0x57ecd3[_0x552a6c(0x186)],_0x4b5d2d=_0x43c12a[_0x552a6c(0x338)],_0x1bf9f1=_0x57ecd3[_0x552a6c(0x364)],_0x591286=_0x1bf9f1[_0x552a6c(0x3b0)],_0x18d37e=_0x57ecd3['algo'];_0x18d37e[_0x552a6c(0x28c)]=_0x4b5d2d['extend']({'init':function(_0x1ff434,_0xa3dace){var _0x2b33b5=_0x552a6c;_0x1ff434=this[_0x2b33b5(0x1b9)]=new _0x1ff434[(_0x2b33b5(0x239))](),typeof _0xa3dace==_0x2b33b5(0x1a0)&&(_0xa3dace=_0x591286[_0x2b33b5(0x354)](_0xa3dace));var _0x55f4c0=_0x1ff434[_0x2b33b5(0x31d)],_0x2a5fc4=_0x55f4c0*0x4;_0xa3dace['sigBytes']>_0x2a5fc4&&(_0xa3dace=_0x1ff434[_0x2b33b5(0x441)](_0xa3dace)),_0xa3dace['clamp']();for(var _0x227794=this['_oKey']=_0xa3dace[_0x2b33b5(0x352)](),_0x1491de=this[_0x2b33b5(0x209)]=_0xa3dace[_0x2b33b5(0x352)](),_0x5b7e5e=_0x227794[_0x2b33b5(0x3ff)],_0x268914=_0x1491de[_0x2b33b5(0x3ff)],_0x2e34b8=0x0;_0x2e34b8<_0x55f4c0;_0x2e34b8++)_0x5b7e5e[_0x2e34b8]^=0x5c5c5c5c,_0x268914[_0x2e34b8]^=0x36363636;_0x227794[_0x2b33b5(0x36c)]=_0x1491de[_0x2b33b5(0x36c)]=_0x2a5fc4,this[_0x2b33b5(0x1bd)]();},'reset':function(){var _0x5c9e89=_0x552a6c,_0x35b9f1=this[_0x5c9e89(0x1b9)];_0x35b9f1[_0x5c9e89(0x1bd)](),_0x35b9f1['update'](this['_iKey']);},'update':function(_0x313877){var _0x260636=_0x552a6c;return this[_0x260636(0x1b9)][_0x260636(0x1e4)](_0x313877),this;},'finalize':function(_0x5b46c2){var _0xdd0946=_0x552a6c,_0x3bf425=this[_0xdd0946(0x1b9)],_0x28e36c=_0x3bf425[_0xdd0946(0x441)](_0x5b46c2);_0x3bf425['reset']();var _0x56b1df=_0x3bf425[_0xdd0946(0x441)](this[_0xdd0946(0x3f9)]['clone']()[_0xdd0946(0x249)](_0x28e36c));return _0x56b1df;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x51303a(0x34f)],ni;function Ui(){var _0x5be32e=_0x51303a;return ni||(ni=0x1,function(_0x134454,_0x1da539){(function(_0x5f05c2,_0x5ed828,_0x58c0e0){_0x134454['exports']=_0x5ed828(ne(),Hr(),jr());}(Br,function(_0x2f472c){var _0x28a511=_0x1f09;return(function(){var _0x26f9c3=_0x1f09,_0xd8e50e=_0x2f472c,_0x19e64b=_0xd8e50e[_0x26f9c3(0x186)],_0x309f53=_0x19e64b[_0x26f9c3(0x338)],_0x28067e=_0x19e64b['WordArray'],_0x2b8573=_0xd8e50e[_0x26f9c3(0x301)],_0x154600=_0x2b8573[_0x26f9c3(0x373)],_0x3c52bf=_0x2b8573[_0x26f9c3(0x192)]=_0x309f53[_0x26f9c3(0x305)]({'cfg':_0x309f53[_0x26f9c3(0x305)]({'keySize':0x80/0x20,'hasher':_0x154600,'iterations':0x1}),'init':function(_0x1b1d9b){var _0x5099a1=_0x26f9c3;this[_0x5099a1(0x21a)]=this[_0x5099a1(0x21a)]['extend'](_0x1b1d9b);},'compute':function(_0x490faa,_0x556c07){var _0x5d3268=_0x26f9c3;for(var _0x55af69,_0x1e0514=this[_0x5d3268(0x21a)],_0x198d57=_0x1e0514[_0x5d3268(0x3bc)][_0x5d3268(0x16d)](),_0x16a965=_0x28067e[_0x5d3268(0x16d)](),_0x24d905=_0x16a965[_0x5d3268(0x3ff)],_0x371470=_0x1e0514[_0x5d3268(0x2a5)],_0x3051d8=_0x1e0514[_0x5d3268(0x43e)];_0x24d905[_0x5d3268(0x2b9)]<_0x371470;){_0x55af69&&_0x198d57[_0x5d3268(0x1e4)](_0x55af69),_0x55af69=_0x198d57[_0x5d3268(0x1e4)](_0x490faa)['finalize'](_0x556c07),_0x198d57[_0x5d3268(0x1bd)]();for(var _0x3e16cf=0x1;_0x3e16cf<_0x3051d8;_0x3e16cf++)_0x55af69=_0x198d57['finalize'](_0x55af69),_0x198d57[_0x5d3268(0x1bd)]();_0x16a965[_0x5d3268(0x249)](_0x55af69);}return _0x16a965['sigBytes']=_0x371470*0x4,_0x16a965;}});_0xd8e50e[_0x26f9c3(0x192)]=function(_0x57831e,_0x4f9576,_0xdac66b){return _0x3c52bf['create'](_0xdac66b)['compute'](_0x57831e,_0x4f9576);};}()),_0x2f472c[_0x28a511(0x192)];}));}(Ye)),Ye[_0x5be32e(0x34f)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0xc803cc=_0x51303a;return ri||(ri=0x1,function(_0x44ccf9,_0x2ba8cf){(function(_0x478cca,_0x16fac6,_0x3c2965){var _0x450c3c=_0x1f09;_0x44ccf9[_0x450c3c(0x34f)]=_0x16fac6(ne(),Ui());}(Fr,function(_0x5db707){var _0x3233fc=_0x1f09;_0x5db707['lib'][_0x3233fc(0x189)]||function(_0x1e183c){var _0x1df056=_0x3233fc,_0xe370ac=_0x5db707,_0x229c59=_0xe370ac[_0x1df056(0x186)],_0x2b5e7e=_0x229c59['Base'],_0x271a26=_0x229c59[_0x1df056(0x274)],_0x4a6c05=_0x229c59[_0x1df056(0x3c4)],_0x4b11b4=_0xe370ac['enc'];_0x4b11b4['Utf8'];var _0x18ea9f=_0x4b11b4['Base64'],_0x2bd379=_0xe370ac[_0x1df056(0x301)],_0x356192=_0x2bd379['EvpKDF'],_0x27ec9d=_0x229c59['Cipher']=_0x4a6c05[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)](),'createEncryptor':function(_0x3f3d3c,_0x53c17e){var _0x58b04d=_0x1df056;return this[_0x58b04d(0x16d)](this[_0x58b04d(0x222)],_0x3f3d3c,_0x53c17e);},'createDecryptor':function(_0x5af0b8,_0xdea671){var _0x34b43e=_0x1df056;return this['create'](this[_0x34b43e(0x1aa)],_0x5af0b8,_0xdea671);},'init':function(_0x492d7a,_0x117f49,_0x743911){var _0x5aa810=_0x1df056;this[_0x5aa810(0x21a)]=this[_0x5aa810(0x21a)][_0x5aa810(0x305)](_0x743911),this[_0x5aa810(0x14d)]=_0x492d7a,this[_0x5aa810(0x159)]=_0x117f49,this['reset']();},'reset':function(){var _0x418dce=_0x1df056;_0x4a6c05[_0x418dce(0x1bd)][_0x418dce(0x270)](this),this[_0x418dce(0x2b1)]();},'process':function(_0x5ceb68){var _0x453c28=_0x1df056;return this[_0x453c28(0x289)](_0x5ceb68),this[_0x453c28(0x276)]();},'finalize':function(_0x232c15){var _0x4bafb7=_0x1df056;_0x232c15&&this[_0x4bafb7(0x289)](_0x232c15);var _0x224063=this[_0x4bafb7(0x376)]();return _0x224063;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x23425b(_0x5ecdf6){var _0x27c5f9=_0x1f09;return typeof _0x5ecdf6==_0x27c5f9(0x1a0)?_0x541eaa:_0x2a06ee;}return function(_0x4b3afd){return{'encrypt':function(_0xf2ea7e,_0x3db551,_0x3df183){var _0x30533c=_0x1f09;return _0x23425b(_0x3db551)[_0x30533c(0x295)](_0x4b3afd,_0xf2ea7e,_0x3db551,_0x3df183);},'decrypt':function(_0x35d589,_0xc880cf,_0x582e4a){return _0x23425b(_0xc880cf)['decrypt'](_0x4b3afd,_0x35d589,_0xc880cf,_0x582e4a);}};};}())});_0x229c59[_0x1df056(0x356)]=_0x27ec9d['extend']({'_doFinalize':function(){var _0x27ea2f=this['_process'](!0x0);return _0x27ea2f;},'blockSize':0x1});var _0x15dfe6=_0xe370ac[_0x1df056(0x244)]={},_0x5ae2aa=_0x229c59[_0x1df056(0x1a7)]=_0x2b5e7e[_0x1df056(0x305)]({'createEncryptor':function(_0x1d4bac,_0x12eb83){var _0xb1dda2=_0x1df056;return this[_0xb1dda2(0x278)]['create'](_0x1d4bac,_0x12eb83);},'createDecryptor':function(_0x193abc,_0xcabdaf){var _0x18be5c=_0x1df056;return this[_0x18be5c(0x1cc)][_0x18be5c(0x16d)](_0x193abc,_0xcabdaf);},'init':function(_0x5720f7,_0x2fded0){var _0x36fb11=_0x1df056;this[_0x36fb11(0x1c4)]=_0x5720f7,this[_0x36fb11(0x30b)]=_0x2fded0;}}),_0x47e23d=_0x15dfe6[_0x1df056(0x38e)]=(function(){var _0x2e9d94=_0x1df056,_0x3b8e65=_0x5ae2aa[_0x2e9d94(0x305)]();_0x3b8e65[_0x2e9d94(0x278)]=_0x3b8e65[_0x2e9d94(0x305)]({'processBlock':function(_0x3f334e,_0x4421df){var _0x4db0ab=_0x2e9d94,_0x3a2be8=this[_0x4db0ab(0x1c4)],_0x5610a7=_0x3a2be8[_0x4db0ab(0x31d)];_0x2f4716['call'](this,_0x3f334e,_0x4421df,_0x5610a7),_0x3a2be8[_0x4db0ab(0x427)](_0x3f334e,_0x4421df),this[_0x4db0ab(0x3de)]=_0x3f334e[_0x4db0ab(0x172)](_0x4421df,_0x4421df+_0x5610a7);}}),_0x3b8e65[_0x2e9d94(0x1cc)]=_0x3b8e65['extend']({'processBlock':function(_0x92becb,_0x590bac){var _0x20314d=_0x2e9d94,_0x3db968=this[_0x20314d(0x1c4)],_0x18f187=_0x3db968[_0x20314d(0x31d)],_0x3113b3=_0x92becb[_0x20314d(0x172)](_0x590bac,_0x590bac+_0x18f187);_0x3db968[_0x20314d(0x14e)](_0x92becb,_0x590bac),_0x2f4716[_0x20314d(0x270)](this,_0x92becb,_0x590bac,_0x18f187),this[_0x20314d(0x3de)]=_0x3113b3;}});function _0x2f4716(_0x566cf9,_0x2a4ea6,_0x3baf73){var _0x270e60=_0x2e9d94,_0x446fec,_0x2904a0=this[_0x270e60(0x30b)];_0x2904a0?(_0x446fec=_0x2904a0,this[_0x270e60(0x30b)]=_0x1e183c):_0x446fec=this[_0x270e60(0x3de)];for(var _0x5532df=0x0;_0x5532df<_0x3baf73;_0x5532df++)_0x566cf9[_0x2a4ea6+_0x5532df]^=_0x446fec[_0x5532df];}return _0x3b8e65;}()),_0x2bf88e=_0xe370ac[_0x1df056(0x442)]={},_0x30bb23=_0x2bf88e['Pkcs7']={'pad':function(_0x4cefd5,_0x2e7250){var _0x3f4c27=_0x1df056;for(var _0x1203a0=_0x2e7250*0x4,_0x5d7c42=_0x1203a0-_0x4cefd5['sigBytes']%_0x1203a0,_0x5e6112=_0x5d7c42<<0x18|_0x5d7c42<<0x10|_0x5d7c42<<0x8|_0x5d7c42,_0x9367a1=[],_0x467684=0x0;_0x467684<_0x5d7c42;_0x467684+=0x4)_0x9367a1[_0x3f4c27(0x1c9)](_0x5e6112);var _0x505b93=_0x271a26[_0x3f4c27(0x16d)](_0x9367a1,_0x5d7c42);_0x4cefd5['concat'](_0x505b93);},'unpad':function(_0x35676e){var _0x3ffb23=_0x1df056,_0x172062=_0x35676e[_0x3ffb23(0x3ff)][_0x35676e[_0x3ffb23(0x36c)]-0x1>>>0x2]&0xff;_0x35676e[_0x3ffb23(0x36c)]-=_0x172062;}};_0x229c59[_0x1df056(0x19e)]=_0x27ec9d[_0x1df056(0x305)]({'cfg':_0x27ec9d[_0x1df056(0x21a)][_0x1df056(0x305)]({'mode':_0x47e23d,'padding':_0x30bb23}),'reset':function(){var _0x7156e=_0x1df056,_0x63b90f;_0x27ec9d[_0x7156e(0x1bd)][_0x7156e(0x270)](this);var _0x4237da=this[_0x7156e(0x21a)],_0x59f6dd=_0x4237da['iv'],_0xdf8839=_0x4237da[_0x7156e(0x244)];this[_0x7156e(0x14d)]==this[_0x7156e(0x222)]?_0x63b90f=_0xdf8839[_0x7156e(0x1e7)]:(_0x63b90f=_0xdf8839[_0x7156e(0x1d6)],this['_minBufferSize']=0x1),this[_0x7156e(0x318)]&&this[_0x7156e(0x318)][_0x7156e(0x31c)]==_0x63b90f?this[_0x7156e(0x318)]['init'](this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]):(this[_0x7156e(0x318)]=_0x63b90f[_0x7156e(0x270)](_0xdf8839,this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]),this['_mode'][_0x7156e(0x31c)]=_0x63b90f);},'_doProcessBlock':function(_0x4ac300,_0x1b75b6){var _0x2e8882=_0x1df056;this[_0x2e8882(0x318)][_0x2e8882(0x208)](_0x4ac300,_0x1b75b6);},'_doFinalize':function(){var _0x3ccc24=_0x1df056,_0x5192ad,_0x14dcdd=this['cfg'][_0x3ccc24(0x355)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x14dcdd[_0x3ccc24(0x442)](this[_0x3ccc24(0x2d4)],this['blockSize']),_0x5192ad=this[_0x3ccc24(0x276)](!0x0)):(_0x5192ad=this['_process'](!0x0),_0x14dcdd[_0x3ccc24(0x330)](_0x5192ad)),_0x5192ad;},'blockSize':0x80/0x20});var _0x133e78=_0x229c59[_0x1df056(0x2ee)]=_0x2b5e7e[_0x1df056(0x305)]({'init':function(_0x473f90){this['mixIn'](_0x473f90);},'toString':function(_0x4f049f){var _0x4d7ed7=_0x1df056;return(_0x4f049f||this[_0x4d7ed7(0x197)])[_0x4d7ed7(0x235)](this);}}),_0x3980e5=_0xe370ac[_0x1df056(0x32f)]={},_0x1cb33b=_0x3980e5['OpenSSL']={'stringify':function(_0x41db7c){var _0x1aa81d=_0x1df056,_0x5a6662,_0x1ed8a1=_0x41db7c[_0x1aa81d(0x430)],_0x55a4a4=_0x41db7c[_0x1aa81d(0x3df)];return _0x55a4a4?_0x5a6662=_0x271a26[_0x1aa81d(0x16d)]([0x53616c74,0x65645f5f])['concat'](_0x55a4a4)[_0x1aa81d(0x249)](_0x1ed8a1):_0x5a6662=_0x1ed8a1,_0x5a6662[_0x1aa81d(0x1d9)](_0x18ea9f);},'parse':function(_0x57ccf3){var _0x32633a=_0x1df056,_0x151a21,_0x4214ae=_0x18ea9f[_0x32633a(0x354)](_0x57ccf3),_0x3ba2ed=_0x4214ae[_0x32633a(0x3ff)];return _0x3ba2ed[0x0]==0x53616c74&&_0x3ba2ed[0x1]==0x65645f5f&&(_0x151a21=_0x271a26[_0x32633a(0x16d)](_0x3ba2ed[_0x32633a(0x172)](0x2,0x4)),_0x3ba2ed[_0x32633a(0x271)](0x0,0x4),_0x4214ae[_0x32633a(0x36c)]-=0x10),_0x133e78[_0x32633a(0x16d)]({'ciphertext':_0x4214ae,'salt':_0x151a21});}},_0x2a06ee=_0x229c59[_0x1df056(0x2aa)]=_0x2b5e7e[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)]({'format':_0x1cb33b}),'encrypt':function(_0x24c025,_0x15d861,_0x45a984,_0x5f165a){var _0x4ece15=_0x1df056;_0x5f165a=this[_0x4ece15(0x21a)][_0x4ece15(0x305)](_0x5f165a);var _0x20835f=_0x24c025['createEncryptor'](_0x45a984,_0x5f165a),_0x5b700c=_0x20835f[_0x4ece15(0x441)](_0x15d861),_0x12cf6d=_0x20835f['cfg'];return _0x133e78[_0x4ece15(0x16d)]({'ciphertext':_0x5b700c,'key':_0x45a984,'iv':_0x12cf6d['iv'],'algorithm':_0x24c025,'mode':_0x12cf6d[_0x4ece15(0x244)],'padding':_0x12cf6d[_0x4ece15(0x355)],'blockSize':_0x24c025['blockSize'],'formatter':_0x5f165a[_0x4ece15(0x32f)]});},'decrypt':function(_0x32f832,_0x5a14b2,_0xd3b053,_0x439677){var _0x3dd757=_0x1df056;_0x439677=this[_0x3dd757(0x21a)]['extend'](_0x439677),_0x5a14b2=this[_0x3dd757(0x337)](_0x5a14b2,_0x439677[_0x3dd757(0x32f)]);var _0x50dd8a=_0x32f832[_0x3dd757(0x1d6)](_0xd3b053,_0x439677)['finalize'](_0x5a14b2[_0x3dd757(0x430)]);return _0x50dd8a;},'_parse':function(_0x5becb7,_0x50562a){var _0x5b6adf=_0x1df056;return typeof _0x5becb7==_0x5b6adf(0x1a0)?_0x50562a[_0x5b6adf(0x354)](_0x5becb7,this):_0x5becb7;}}),_0x5bdee8=_0xe370ac[_0x1df056(0x323)]={},_0x3f19ca=_0x5bdee8[_0x1df056(0x357)]={'execute':function(_0xd0b322,_0x4f1a4c,_0x179b96,_0x472e78,_0x1e807f){var _0x3ea7bb=_0x1df056;if(_0x472e78||(_0x472e78=_0x271a26[_0x3ea7bb(0x24a)](0x40/0x8)),_0x1e807f)var _0x5958c0=_0x356192['create']({'keySize':_0x4f1a4c+_0x179b96,'hasher':_0x1e807f})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);else var _0x5958c0=_0x356192[_0x3ea7bb(0x16d)]({'keySize':_0x4f1a4c+_0x179b96})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);var _0x1bf52a=_0x271a26[_0x3ea7bb(0x16d)](_0x5958c0[_0x3ea7bb(0x3ff)][_0x3ea7bb(0x172)](_0x4f1a4c),_0x179b96*0x4);return _0x5958c0[_0x3ea7bb(0x36c)]=_0x4f1a4c*0x4,_0x133e78[_0x3ea7bb(0x16d)]({'key':_0x5958c0,'iv':_0x1bf52a,'salt':_0x472e78});}},_0x541eaa=_0x229c59[_0x1df056(0x333)]=_0x2a06ee['extend']({'cfg':_0x2a06ee[_0x1df056(0x21a)][_0x1df056(0x305)]({'kdf':_0x3f19ca}),'encrypt':function(_0x99f2af,_0x1d7694,_0x4c82e2,_0x881b0d){var _0x582f87=_0x1df056;_0x881b0d=this[_0x582f87(0x21a)]['extend'](_0x881b0d);var _0x175241=_0x881b0d['kdf'][_0x582f87(0x17b)](_0x4c82e2,_0x99f2af[_0x582f87(0x2a5)],_0x99f2af['ivSize'],_0x881b0d[_0x582f87(0x3df)],_0x881b0d['hasher']);_0x881b0d['iv']=_0x175241['iv'];var _0x57e012=_0x2a06ee[_0x582f87(0x295)][_0x582f87(0x270)](this,_0x99f2af,_0x1d7694,_0x175241[_0x582f87(0x404)],_0x881b0d);return _0x57e012[_0x582f87(0x40a)](_0x175241),_0x57e012;},'decrypt':function(_0xb247f7,_0x1cdef0,_0x2ed157,_0x5dec92){var _0x1f5fc2=_0x1df056;_0x5dec92=this['cfg'][_0x1f5fc2(0x305)](_0x5dec92),_0x1cdef0=this[_0x1f5fc2(0x337)](_0x1cdef0,_0x5dec92[_0x1f5fc2(0x32f)]);var _0x282169=_0x5dec92[_0x1f5fc2(0x323)][_0x1f5fc2(0x17b)](_0x2ed157,_0xb247f7['keySize'],_0xb247f7[_0x1f5fc2(0x288)],_0x1cdef0['salt'],_0x5dec92[_0x1f5fc2(0x3bc)]);_0x5dec92['iv']=_0x282169['iv'];var _0x38f214=_0x2a06ee[_0x1f5fc2(0x41a)]['call'](this,_0xb247f7,_0x1cdef0,_0x282169[_0x1f5fc2(0x404)],_0x5dec92);return _0x38f214;}});}();}));}(Je)),Je[_0xc803cc(0x34f)];}var Vr=Ve[_0x51303a(0x34f)],si;function Gr(){var _0x5ecc9c=_0x51303a;return si||(si=0x1,function(_0x3e0bc8,_0x305bb4){(function(_0x13fd30,_0x3a69a6,_0x3d7323){_0x3e0bc8['exports']=_0x3a69a6(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x12dc8a){var _0x4bcde1=_0x1f09;return(function(){var _0x546082=_0x1f09,_0x5e4a68=_0x12dc8a,_0x54a9aa=_0x5e4a68[_0x546082(0x186)],_0x29b178=_0x54a9aa[_0x546082(0x19e)],_0x23229d=_0x5e4a68[_0x546082(0x301)],_0x5670d8=[],_0x20439f=[],_0x885976=[],_0x24d021=[],_0x2f7a17=[],_0x4c952d=[],_0xb6cfbd=[],_0x5f153a=[],_0x55c807=[],_0x3dd6dd=[];(function(){for(var _0x3138dc=[],_0x210f15=0x0;_0x210f15<0x100;_0x210f15++)_0x210f15<0x80?_0x3138dc[_0x210f15]=_0x210f15<<0x1:_0x3138dc[_0x210f15]=_0x210f15<<0x1^0x11b;for(var _0x2199e2=0x0,_0xbc28ee=0x0,_0x210f15=0x0;_0x210f15<0x100;_0x210f15++){var _0x344107=_0xbc28ee^_0xbc28ee<<0x1^_0xbc28ee<<0x2^_0xbc28ee<<0x3^_0xbc28ee<<0x4;_0x344107=_0x344107>>>0x8^_0x344107&0xff^0x63,_0x5670d8[_0x2199e2]=_0x344107,_0x20439f[_0x344107]=_0x2199e2;var _0x43efb2=_0x3138dc[_0x2199e2],_0x54dc8e=_0x3138dc[_0x43efb2],_0x3e3ac8=_0x3138dc[_0x54dc8e],_0x1b5aeb=_0x3138dc[_0x344107]*0x101^_0x344107*0x1010100;_0x885976[_0x2199e2]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x24d021[_0x2199e2]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x2f7a17[_0x2199e2]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x4c952d[_0x2199e2]=_0x1b5aeb;var _0x1b5aeb=_0x3e3ac8*0x1010101^_0x54dc8e*0x10001^_0x43efb2*0x101^_0x2199e2*0x1010100;_0xb6cfbd[_0x344107]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x5f153a[_0x344107]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x55c807[_0x344107]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x3dd6dd[_0x344107]=_0x1b5aeb,_0x2199e2?(_0x2199e2=_0x43efb2^_0x3138dc[_0x3138dc[_0x3138dc[_0x3e3ac8^_0x43efb2]]],_0xbc28ee^=_0x3138dc[_0x3138dc[_0xbc28ee]]):_0x2199e2=_0xbc28ee=0x1;}}());var _0x2c3dcd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x465b19=_0x23229d[_0x546082(0x3a8)]=_0x29b178['extend']({'_doReset':function(){var _0x367333=_0x546082,_0x46379f;if(!(this[_0x367333(0x2e3)]&&this['_keyPriorReset']===this['_key'])){for(var _0x1ca371=this[_0x367333(0x319)]=this[_0x367333(0x159)],_0x3ee31b=_0x1ca371[_0x367333(0x3ff)],_0x3c5276=_0x1ca371[_0x367333(0x36c)]/0x4,_0x5db419=this[_0x367333(0x2e3)]=_0x3c5276+0x6,_0x31fffc=(_0x5db419+0x1)*0x4,_0x1d41ba=this[_0x367333(0x16f)]=[],_0x1a323f=0x0;_0x1a323f<_0x31fffc;_0x1a323f++)_0x1a323f<_0x3c5276?_0x1d41ba[_0x1a323f]=_0x3ee31b[_0x1a323f]:(_0x46379f=_0x1d41ba[_0x1a323f-0x1],_0x1a323f%_0x3c5276?_0x3c5276>0x6&&_0x1a323f%_0x3c5276==0x4&&(_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff]):(_0x46379f=_0x46379f<<0x8|_0x46379f>>>0x18,_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff],_0x46379f^=_0x2c3dcd[_0x1a323f/_0x3c5276|0x0]<<0x18),_0x1d41ba[_0x1a323f]=_0x1d41ba[_0x1a323f-_0x3c5276]^_0x46379f);for(var _0x5aab06=this[_0x367333(0x214)]=[],_0xbc662=0x0;_0xbc662<_0x31fffc;_0xbc662++){var _0x1a323f=_0x31fffc-_0xbc662;if(_0xbc662%0x4)var _0x46379f=_0x1d41ba[_0x1a323f];else var _0x46379f=_0x1d41ba[_0x1a323f-0x4];_0xbc662<0x4||_0x1a323f<=0x4?_0x5aab06[_0xbc662]=_0x46379f:_0x5aab06[_0xbc662]=_0xb6cfbd[_0x5670d8[_0x46379f>>>0x18]]^_0x5f153a[_0x5670d8[_0x46379f>>>0x10&0xff]]^_0x55c807[_0x5670d8[_0x46379f>>>0x8&0xff]]^_0x3dd6dd[_0x5670d8[_0x46379f&0xff]];}}},'encryptBlock':function(_0x5d653c,_0x116a75){var _0x429775=_0x546082;this['_doCryptBlock'](_0x5d653c,_0x116a75,this[_0x429775(0x16f)],_0x885976,_0x24d021,_0x2f7a17,_0x4c952d,_0x5670d8);},'decryptBlock':function(_0x3b9e2e,_0x287cc6){var _0x31cf0a=_0x546082,_0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd,this[_0x31cf0a(0x2e8)](_0x3b9e2e,_0x287cc6,this['_invKeySchedule'],_0xb6cfbd,_0x5f153a,_0x55c807,_0x3dd6dd,_0x20439f);var _0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd;},'_doCryptBlock':function(_0x151995,_0x3e703d,_0x57524b,_0x4d49cd,_0x35cb93,_0x31726b,_0x181f76,_0x28fdeb){var _0x4c5c6a=_0x546082;for(var _0x14f4bd=this[_0x4c5c6a(0x2e3)],_0x384169=_0x151995[_0x3e703d]^_0x57524b[0x0],_0x40ed71=_0x151995[_0x3e703d+0x1]^_0x57524b[0x1],_0x2e3f5c=_0x151995[_0x3e703d+0x2]^_0x57524b[0x2],_0x1c10bc=_0x151995[_0x3e703d+0x3]^_0x57524b[0x3],_0x40555e=0x4,_0x406adf=0x1;_0x406adf<_0x14f4bd;_0x406adf++){var _0x26ff8e=_0x4d49cd[_0x384169>>>0x18]^_0x35cb93[_0x40ed71>>>0x10&0xff]^_0x31726b[_0x2e3f5c>>>0x8&0xff]^_0x181f76[_0x1c10bc&0xff]^_0x57524b[_0x40555e++],_0x31779a=_0x4d49cd[_0x40ed71>>>0x18]^_0x35cb93[_0x2e3f5c>>>0x10&0xff]^_0x31726b[_0x1c10bc>>>0x8&0xff]^_0x181f76[_0x384169&0xff]^_0x57524b[_0x40555e++],_0x4c6b02=_0x4d49cd[_0x2e3f5c>>>0x18]^_0x35cb93[_0x1c10bc>>>0x10&0xff]^_0x31726b[_0x384169>>>0x8&0xff]^_0x181f76[_0x40ed71&0xff]^_0x57524b[_0x40555e++],_0x236b14=_0x4d49cd[_0x1c10bc>>>0x18]^_0x35cb93[_0x384169>>>0x10&0xff]^_0x31726b[_0x40ed71>>>0x8&0xff]^_0x181f76[_0x2e3f5c&0xff]^_0x57524b[_0x40555e++];_0x384169=_0x26ff8e,_0x40ed71=_0x31779a,_0x2e3f5c=_0x4c6b02,_0x1c10bc=_0x236b14;}var _0x26ff8e=(_0x28fdeb[_0x384169>>>0x18]<<0x18|_0x28fdeb[_0x40ed71>>>0x10&0xff]<<0x10|_0x28fdeb[_0x2e3f5c>>>0x8&0xff]<<0x8|_0x28fdeb[_0x1c10bc&0xff])^_0x57524b[_0x40555e++],_0x31779a=(_0x28fdeb[_0x40ed71>>>0x18]<<0x18|_0x28fdeb[_0x2e3f5c>>>0x10&0xff]<<0x10|_0x28fdeb[_0x1c10bc>>>0x8&0xff]<<0x8|_0x28fdeb[_0x384169&0xff])^_0x57524b[_0x40555e++],_0x4c6b02=(_0x28fdeb[_0x2e3f5c>>>0x18]<<0x18|_0x28fdeb[_0x1c10bc>>>0x10&0xff]<<0x10|_0x28fdeb[_0x384169>>>0x8&0xff]<<0x8|_0x28fdeb[_0x40ed71&0xff])^_0x57524b[_0x40555e++],_0x236b14=(_0x28fdeb[_0x1c10bc>>>0x18]<<0x18|_0x28fdeb[_0x384169>>>0x10&0xff]<<0x10|_0x28fdeb[_0x40ed71>>>0x8&0xff]<<0x8|_0x28fdeb[_0x2e3f5c&0xff])^_0x57524b[_0x40555e++];_0x151995[_0x3e703d]=_0x26ff8e,_0x151995[_0x3e703d+0x1]=_0x31779a,_0x151995[_0x3e703d+0x2]=_0x4c6b02,_0x151995[_0x3e703d+0x3]=_0x236b14;},'keySize':0x100/0x20});_0x5e4a68['AES']=_0x29b178[_0x546082(0x332)](_0x465b19);}()),_0x12dc8a[_0x4bcde1(0x3a8)];}));}(Ve)),Ve[_0x5ecc9c(0x34f)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x51303a(0x34f)],ai;function zr(){var _0x5a9375=_0x51303a;return ai||(ai=0x1,function(_0x5c3d06,_0xefbdf1){(function(_0x5a8809,_0x3f6624){var _0x43a546=_0x1f09;_0x5c3d06[_0x43a546(0x34f)]=_0x3f6624(ne());}(qr,function(_0x147817){var _0x270a32=_0x1f09;return _0x147817[_0x270a32(0x364)]['Utf8'];}));}(Xe)),Xe[_0x5a9375(0x34f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x51303a(0x34f)],ci;function Qr(){var _0x23efbb=_0x51303a;return ci||(ci=0x1,function(_0x2598f1,_0x3e9175){(function(_0x3eb816,_0x4dbe1c){var _0x15ce0a=_0x1f09;_0x2598f1[_0x15ce0a(0x34f)]=_0x4dbe1c(ne());}(Zr,function(_0x1018da){var _0x3b8091=_0x1f09;return(function(){var _0xfa6b7c=_0x1f09;if(typeof ArrayBuffer==_0xfa6b7c(0x3bb)){var _0x3b0edb=_0x1018da,_0x4f9c42=_0x3b0edb[_0xfa6b7c(0x186)],_0x58eeb7=_0x4f9c42[_0xfa6b7c(0x274)],_0x51b17e=_0x58eeb7[_0xfa6b7c(0x239)],_0x39c6ff=_0x58eeb7[_0xfa6b7c(0x239)]=function(_0x78c5b3){var _0x3e95b4=_0xfa6b7c;if(_0x78c5b3 instanceof ArrayBuffer&&(_0x78c5b3=new Uint8Array(_0x78c5b3)),(_0x78c5b3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x78c5b3 instanceof Uint8ClampedArray||_0x78c5b3 instanceof Int16Array||_0x78c5b3 instanceof Uint16Array||_0x78c5b3 instanceof Int32Array||_0x78c5b3 instanceof Uint32Array||_0x78c5b3 instanceof Float32Array||_0x78c5b3 instanceof Float64Array)&&(_0x78c5b3=new Uint8Array(_0x78c5b3[_0x3e95b4(0x242)],_0x78c5b3[_0x3e95b4(0x403)],_0x78c5b3[_0x3e95b4(0x1c0)])),_0x78c5b3 instanceof Uint8Array){for(var _0x4540eb=_0x78c5b3[_0x3e95b4(0x1c0)],_0x177cb3=[],_0x11a6a8=0x0;_0x11a6a8<_0x4540eb;_0x11a6a8++)_0x177cb3[_0x11a6a8>>>0x2]|=_0x78c5b3[_0x11a6a8]<<0x18-_0x11a6a8%0x4*0x8;_0x51b17e[_0x3e95b4(0x270)](this,_0x177cb3,_0x4540eb);}else _0x51b17e[_0x3e95b4(0x277)](this,arguments);};_0x39c6ff['prototype']=_0x58eeb7;}}()),_0x1018da['lib'][_0x3b8091(0x274)];}));}(Ze)),Ze[_0x23efbb(0x34f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x384e65=_0x51303a;return hi||(hi=0x1,function(_0x11adb6,_0x29f918){(function(_0x4d0260,_0xe1ec03,_0x401616){_0x11adb6['exports']=_0xe1ec03(ne(),Ai());}(is,function(_0x287916){var _0x2df35b=_0x1f09;return _0x287916['pad'][_0x2df35b(0x2d8)]={'pad':function(){},'unpad':function(){}},_0x287916[_0x2df35b(0x442)][_0x2df35b(0x2d8)];}));}(Qe)),Qe[_0x384e65(0x34f)];}var rs=ns();const ss=ke(rs);function os(_0x28b43b,_0x1fbf3b){var _0x457500=_0x51303a;const _0x496b32=_0x1fbf3b-_0x28b43b[_0x457500(0x2b9)]%_0x1fbf3b,_0x5f464a=String[_0x457500(0x34a)](_0x496b32)[_0x457500(0x36b)](_0x496b32);return _0x28b43b+_0x5f464a;}function as(_0x13dd78,_0x24cbab){var _0x12abab=_0x51303a;const _0x14f2de=ts[_0x12abab(0x24a)](0x10),_0x5c077a=os(_0x13dd78,0x10),_0x2da29f=Kr[_0x12abab(0x295)](Xr[_0x12abab(0x354)](_0x5c077a),oi[_0x12abab(0x354)](_0x24cbab),{'iv':_0x14f2de,'padding':ss});return _0x14f2de[_0x12abab(0x249)](_0x2da29f[_0x12abab(0x430)])['toString'](oi);}function cs(){var _0x56bf86=_0x51303a;const _0x397764=_0x581218()[_0x56bf86(0x42d)];if(_0x397764){const _0x3ea6d9={'time':Math[_0x56bf86(0x20d)](Date[_0x56bf86(0x35f)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x56bf86(0x235)](_0x3ea6d9),_0x397764);}}var hs=Object[_0x51303a(0x281)],_s=Object[_0x51303a(0x150)],ls=(_0x11d05f,_0x425966,_0x326ff7,_0x2103df)=>{var _0x35251e=_0x51303a;for(var _0x20e23a=_0x2103df>0x1?void 0x0:_0x2103df?_s(_0x425966,_0x326ff7):_0x425966,_0x278ec2=_0x11d05f[_0x35251e(0x2b9)]-0x1,_0x13b05e;_0x278ec2>=0x0;_0x278ec2--)(_0x13b05e=_0x11d05f[_0x278ec2])&&(_0x20e23a=(_0x2103df?_0x13b05e(_0x425966,_0x326ff7,_0x20e23a):_0x13b05e(_0x20e23a))||_0x20e23a);return _0x2103df&&_0x20e23a&&hs(_0x425966,_0x326ff7,_0x20e23a),_0x20e23a;},us=(_0xec1f3b,_0x16e85f)=>(_0x43b46e,_0x556c72)=>_0x16e85f(_0x43b46e,_0x556c72,_0xec1f3b);let ot=class{constructor(_0x149648){var _0x1ed6d5=_0x51303a;this[_0x1ed6d5(0x42c)]=_0x149648,this[_0x1ed6d5(0x38c)]();}[_0x51303a(0x38c)](){var _0x533665=_0x51303a;this['_httpService'][_0x533665(0x14f)]({'interceptor':(_0x1ebce8,_0x35448e)=>{var _0x40795c=_0x533665;const _0x59d527=_0x1ebce8[_0x40795c(0x27b)],_0xa6b5a1=cs();return _0xa6b5a1&&_0x59d527['set'](_0x40795c(0x171),_0xa6b5a1),_0x35448e(_0x1ebce8);}});}};ot=ls([us(0x0,_0x2a2c27(_0x43259a))],ot);var ds=Object[_0x51303a(0x281)],fs=Object[_0x51303a(0x150)],vs=(_0x4ac732,_0x554a02,_0x46ab39,_0x3dc448)=>{var _0x56eb31=_0x51303a;for(var _0x193dbd=_0x3dc448>0x1?void 0x0:_0x3dc448?fs(_0x554a02,_0x46ab39):_0x554a02,_0xa8cfa=_0x4ac732[_0x56eb31(0x2b9)]-0x1,_0x2b19f6;_0xa8cfa>=0x0;_0xa8cfa--)(_0x2b19f6=_0x4ac732[_0xa8cfa])&&(_0x193dbd=(_0x3dc448?_0x2b19f6(_0x554a02,_0x46ab39,_0x193dbd):_0x2b19f6(_0x193dbd))||_0x193dbd);return _0x3dc448&&_0x193dbd&&ds(_0x554a02,_0x46ab39,_0x193dbd),_0x193dbd;},mt=(_0x2163d7,_0x1f9155)=>(_0x321be0,_0x40d15c)=>_0x1f9155(_0x321be0,_0x40d15c,_0x2163d7);let Ot=class extends _0x2127fb{constructor(_0x38a10f,_0x9087eb,_0x7a38fa){var _0x577c1b=_0x51303a;super(),N(this,_0x577c1b(0x207),new _0x5e258f(null)),N(this,_0x577c1b(0x322),this[_0x577c1b(0x207)][_0x577c1b(0x212)]()),(this['_logService']=_0x38a10f,this[_0x577c1b(0x284)]=_0x9087eb,this[_0x577c1b(0x303)]=_0x7a38fa);}async[_0x51303a(0x3b6)](_0x473515,_0x157b16,_0x377bdb){var _0x31ea1b=_0x51303a;this[_0x31ea1b(0x207)][_0x31ea1b(0x334)]({'unitId':_0x473515,'type':_0x157b16,'subUnitId':_0x377bdb});let _0x38cf25=null;switch(_0x157b16){case Q['UNIVER_SHEET']:{_0x38cf25=await this[_0x31ea1b(0x3b4)](_0x473515);break;}case Q[_0x31ea1b(0x31f)]:{_0x38cf25=await this[_0x31ea1b(0x1ca)](_0x473515);break;}default:{this[_0x31ea1b(0x257)][_0x31ea1b(0x16e)](_0x31ea1b(0x3cd),_0x31ea1b(0x3c6));break;}}return _0x38cf25;}async['_loadSheet'](_0x299857){var _0x5d1d8e=_0x51303a,_0x3c203a;let _0x1c1d67=0x0;const _0x35be77=await((_0x3c203a=this[_0x5d1d8e(0x303)])==null?void 0x0:_0x3c203a[_0x5d1d8e(0x2f7)](_0x299857));return _0x35be77&&(_0x35be77[_0x5d1d8e(0x3ec)]||_0x35be77['mutations']['length']!==0x0)&&(_0x1c1d67=_0x35be77[_0x5d1d8e(0x26c)]),_0x1c1d67===0x0&&this[_0x5d1d8e(0x257)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5d1d8e(0x284)][_0x5d1d8e(0x2fa)](_0x299857,_0x1c1d67);}async['_loadDoc'](_0x390298){var _0x5225e0=_0x51303a,_0x4458ab;let _0x333bb7=0x0;const _0x25e8fb=await((_0x4458ab=this[_0x5225e0(0x303)])==null?void 0x0:_0x4458ab['loadOfflineData'](_0x390298));return _0x25e8fb&&(_0x25e8fb[_0x5225e0(0x3ec)]||_0x25e8fb[_0x5225e0(0x325)][_0x5225e0(0x2b9)]!==0x0)&&(_0x333bb7=_0x25e8fb[_0x5225e0(0x26c)]),_0x333bb7===0x0&&this[_0x5225e0(0x257)][_0x5225e0(0x1cf)](_0x5225e0(0x3cd),_0x5225e0(0x243)),this['_snapshotService'][_0x5225e0(0x30a)](_0x390298,_0x333bb7);}};Ot=vs([mt(0x0,_0x7c7e3b),mt(0x1,_0x2a2c27(_0x101ed4)),mt(0x2,_0x1a8278(J))],Ot);var ps=Object[_0x51303a(0x281)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x1075e3,_0x42d540,_0x3e08d2,_0x19128d)=>{var _0x2d26d2=_0x51303a;for(var _0x3a0962=_0x19128d>0x1?void 0x0:_0x19128d?ms(_0x42d540,_0x3e08d2):_0x42d540,_0x2d22ce=_0x1075e3[_0x2d26d2(0x2b9)]-0x1,_0x13628d;_0x2d22ce>=0x0;_0x2d22ce--)(_0x13628d=_0x1075e3[_0x2d22ce])&&(_0x3a0962=(_0x19128d?_0x13628d(_0x42d540,_0x3e08d2,_0x3a0962):_0x13628d(_0x3a0962))||_0x3a0962);return _0x19128d&&_0x3a0962&&ps(_0x42d540,_0x3e08d2,_0x3a0962),_0x3a0962;},gt=(_0x513ea0,_0xd658f2)=>(_0x38ea80,_0x2c0599)=>_0xd658f2(_0x38ea80,_0x2c0599,_0x513ea0);const Ss=[_0x51303a(0x194),_0x51303a(0x165),'image/jpg',_0x51303a(0x3e3),_0x51303a(0x1c5)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x51303a(0x41f),Cs=_0x51303a(0x29a),Rs=_0x51303a(0x2f0);let yt=class{constructor(_0x323e86,_0x3ba1d4,_0x30c04d){var _0x5dcc37=_0x51303a;N(this,_0x5dcc37(0x1fc),0x0),N(this,'_change$',new _0x4973d7()),N(this,_0x5dcc37(0x220),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x5dcc37(0x42c)]=_0x323e86,this[_0x5dcc37(0x2c0)]=_0x3ba1d4,this[_0x5dcc37(0x365)]=_0x30c04d);}[_0x51303a(0x183)](_0x256ea6){var _0x3036dc=_0x51303a;this[_0x3036dc(0x1fc)]=_0x256ea6,this[_0x3036dc(0x240)]['next'](_0x256ea6);}[_0x51303a(0x3ad)](_0x313958,_0x496bd6){var _0x5d9076=_0x51303a;if(_0x496bd6===_0x5948a6[_0x5d9076(0x2b4)]){const _0x58066d=new Image();return _0x58066d[_0x5d9076(0x385)]=_0x313958,_0x58066d;}return this[_0x5d9076(0x2e1)][_0x5d9076(0x227)](_0x313958);}[_0x51303a(0x30c)](_0x338f40,_0x38ebc2,_0x3e0e8a){var _0x54aacb=_0x51303a;_0x38ebc2===_0x5948a6[_0x54aacb(0x2b4)]||_0x3e0e8a==null||this[_0x54aacb(0x2e1)][_0x54aacb(0x34c)](_0x338f40,_0x3e0e8a);}async[_0x51303a(0x416)](_0xdf1149){var _0x3edd6a=_0x51303a;try{const _0x5c4f01=this['_replaceFileID'](this[_0x3edd6a(0x2ef)](),''+_0xdf1149),_0xac9150=(await this[_0x3edd6a(0x42c)][_0x3edd6a(0x227)](_0x5c4f01))[_0x3edd6a(0x1df)];if(_0xac9150[_0x3edd6a(0x16e)]&&_0xac9150[_0x3edd6a(0x16e)][_0x3edd6a(0x175)]===Ii['OK']){const _0x5adc79=new URL(_0xac9150[_0x3edd6a(0x3fe)],this[_0x3edd6a(0x2f2)]())[_0x3edd6a(0x1d9)]();return Promise['resolve'](_0x5adc79);}return Promise[_0x3edd6a(0x158)](_0xac9150[_0x3edd6a(0x16e)]);}catch(_0x4e6107){return Promise['reject'](_0x4e6107);}}async[_0x51303a(0x345)](_0x5a8bf9){var _0x9d5a95=_0x51303a;let _0x401abf='';if(!Ss['includes'](_0x5a8bf9['type']))return this[_0x9d5a95(0x199)](),Promise['reject'](new Error(_0xb9841d[_0x9d5a95(0x1f8)]));if(_0x5a8bf9['size']>Es)return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_EXCEED_SIZE']));try{const _0x42efc7=new FormData();_0x42efc7['append'](_0x9d5a95(0x40e),_0x5a8bf9);const _0x2592dc=this['_univerInstanceService'][_0x9d5a95(0x422)](),_0x50be6e=_0x2592dc==null?void 0x0:_0x2592dc[_0x9d5a95(0x438)]();if(!_0x50be6e)throw new Error(_0x9d5a95(0x3a5));const _0x3744aa=this[_0x9d5a95(0x35c)]()+_0x9d5a95(0x2b7)+_0x5a8bf9[_0x9d5a95(0x1ad)][_0x9d5a95(0x1d9)]()+_0x9d5a95(0x379)+Ti[_0x9d5a95(0x28b)]+'&assign='+encodeURIComponent(_0x50be6e),_0x2b0d2c=await(await fetch(_0x3744aa,{'method':_0x9d5a95(0x36d),'body':_0x42efc7}))[_0x9d5a95(0x1f7)]();if(typeof _0x2b0d2c[_0x9d5a95(0x394)]!=_0x9d5a95(0x1a0))return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d[_0x9d5a95(0x1d3)]));_0x401abf=_0x2b0d2c['FileId'];}catch{return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_IMAGE']));}return new Promise((_0x196dfc,_0x5f240b)=>{const _0x29b26d=new FileReader();_0x29b26d['readAsDataURL'](_0x5a8bf9),_0x29b26d['onload']=_0x448b82=>{var _0x5d0cf1=_0x1f09,_0x382dec;const _0xd40f21=(_0x382dec=_0x448b82['target'])==null?void 0x0:_0x382dec[_0x5d0cf1(0x2cf)];if(_0xd40f21==null){this[_0x5d0cf1(0x199)](),_0x5f240b(new Error(_0xb9841d[_0x5d0cf1(0x1d3)]));return;}const _0x8531ec=_0x299834['generateRandomId'](0x6);_0x196dfc({'imageId':_0x8531ec,'imageSourceType':_0x5948a6['UUID'],'source':_0x401abf,'base64Cache':_0xd40f21,'status':_0xb9841d[_0x5d0cf1(0x156)]}),this[_0x5d0cf1(0x199)]();};});}['_getUploadFileURL'](){var _0x586255=_0x51303a,_0x543ccb,_0x27fae2;const _0x26ee35=this[_0x586255(0x2c0)][_0x586255(0x2ec)](Is),_0x17a872=this[_0x586255(0x2c0)]['getConfig'](q);return(_0x27fae2=(_0x543ccb=_0x17a872==null?void 0x0:_0x17a872[_0x586255(0x3f6)])!=null?_0x543ccb:_0x26ee35)!=null?_0x27fae2:Ts;}[_0x51303a(0x2ef)](){var _0x2c3916=_0x51303a,_0x5cf2e0,_0x770a52;const _0x47264b=this[_0x2c3916(0x2c0)][_0x2c3916(0x2ec)](Cs),_0x5bce9d=this['_configService'][_0x2c3916(0x2ec)](q);return(_0x770a52=(_0x5cf2e0=_0x5bce9d==null?void 0x0:_0x5bce9d[_0x2c3916(0x196)])!=null?_0x5cf2e0:_0x47264b)!=null?_0x770a52:Rs;}[_0x51303a(0x2f2)](){var _0x304d27=_0x51303a,_0x1dd083;const _0x23abb8=this[_0x304d27(0x2c0)][_0x304d27(0x2ec)](q);return(_0x1dd083=_0x23abb8==null?void 0x0:_0x23abb8['downloadEndpointUrl'])!=null?_0x1dd083:location['origin'];}['_replaceFileID'](_0x1f1b91,_0x2195a3){var _0x91f340=_0x51303a;return _0x1f1b91[_0x91f340(0x33e)]('{fileID}',_0x2195a3);}[_0x51303a(0x199)](){var _0x77526c=_0x51303a;this['_waitCount']-=0x1,this[_0x77526c(0x240)][_0x77526c(0x334)](this[_0x77526c(0x1fc)]);}};yt=gs([gt(0x0,_0x2a2c27(_0x43259a)),gt(0x1,_0x197b9e),gt(0x2,_0x2a2c27(_0xd9ad76))],yt);var bs=Object[_0x51303a(0x281)],Os=Object[_0x51303a(0x150)],ys=(_0x559ee1,_0x4cbf93,_0x37b312,_0x170975)=>{for(var _0xe25bf=_0x170975>0x1?void 0x0:_0x170975?Os(_0x4cbf93,_0x37b312):_0x4cbf93,_0x357463=_0x559ee1['length']-0x1,_0xffaa70;_0x357463>=0x0;_0x357463--)(_0xffaa70=_0x559ee1[_0x357463])&&(_0xe25bf=(_0x170975?_0xffaa70(_0x4cbf93,_0x37b312,_0xe25bf):_0xffaa70(_0xe25bf))||_0xe25bf);return _0x170975&&_0xe25bf&&bs(_0x4cbf93,_0x37b312,_0xe25bf),_0xe25bf;},_i=(_0x287d99,_0x63890d)=>(_0x1bd64e,_0x2d0932)=>_0x63890d(_0x1bd64e,_0x2d0932,_0x287d99);const Ns=_0x51303a(0x1b6);let Nt=class{constructor(_0x454e5c,_0x5af666){var _0x5d817c=_0x51303a;this[_0x5d817c(0x2c0)]=_0x454e5c,this[_0x5d817c(0x36f)]=_0x5af666;}[_0x51303a(0x1b2)](){var _0x5a55fe=_0x51303a,_0x156940,_0x163b20;const _0x585b70=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](Pi),_0x2a13d8=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](q);return(_0x163b20=(_0x156940=_0x2a13d8==null?void 0x0:_0x2a13d8[_0x5a55fe(0x22f)])!=null?_0x156940:_0x585b70)!=null?_0x163b20:Ns;}async[_0x51303a(0x3f0)](_0x2a3d65){var _0xac1380=_0x51303a;const _0x23924b=this[_0xac1380(0x1b2)]()+_0xac1380(0x1bf);return{'list':[{'title':'People','mentions':(await this[_0xac1380(0x36f)][_0xac1380(0x227)](_0x23924b,{'params':{'objectID':_0x2a3d65[_0xac1380(0x2f4)],'unitID':_0x2a3d65[_0xac1380(0x2f4)]}}))[_0xac1380(0x1df)][_0xac1380(0x409)][_0xac1380(0x2ea)](_0x2d6544=>({'objectId':_0x2d6544['id'],'name':_0x2d6544[_0xac1380(0x388)]['name'],'metadata':{'icon':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x391)]},'label':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x292)],'objectType':_0x370726[_0xac1380(0x17e)]})),'metadata':{},'type':_0x370726[_0xac1380(0x17e)]}]};}};Nt=ys([_i(0x0,_0x2a2c27(_0x197b9e)),_i(0x1,_0x2a2c27(_0x43259a))],Nt);var Ds=Object[_0x51303a(0x281)],Ps=Object[_0x51303a(0x150)],ws=(_0x46ccc6,_0x3042fd,_0x586e93,_0x3c7733)=>{var _0x1915bd=_0x51303a;for(var _0x5a1eca=_0x3c7733>0x1?void 0x0:_0x3c7733?Ps(_0x3042fd,_0x586e93):_0x3042fd,_0x4da9eb=_0x46ccc6[_0x1915bd(0x2b9)]-0x1,_0x302a2c;_0x4da9eb>=0x0;_0x4da9eb--)(_0x302a2c=_0x46ccc6[_0x4da9eb])&&(_0x5a1eca=(_0x3c7733?_0x302a2c(_0x3042fd,_0x586e93,_0x5a1eca):_0x302a2c(_0x5a1eca))||_0x5a1eca);return _0x3c7733&&_0x5a1eca&&Ds(_0x3042fd,_0x586e93,_0x5a1eca),_0x5a1eca;},Se=(_0x5b0441,_0x4ef802)=>(_0x1d8b55,_0x2b90ba)=>_0x4ef802(_0x1d8b55,_0x2b90ba,_0x5b0441);let at=class extends _0x2127fb{constructor(_0x3a37e5,_0x381b86,_0x959a17,_0x384fbe,_0x382b00,_0x28feb1,_0x536a90){var _0x34d56f=_0x51303a;super(),this[_0x34d56f(0x1ff)]=_0x3a37e5,this[_0x34d56f(0x365)]=_0x381b86,this['_permissionService']=_0x959a17,this[_0x34d56f(0x233)]=_0x384fbe,this[_0x34d56f(0x31e)]=_0x382b00,this[_0x34d56f(0x3b7)]=_0x28feb1,this[_0x34d56f(0x448)]=_0x536a90,this[_0x34d56f(0x23c)](),this['_initCloseConn']();}[_0x51303a(0x1ab)](){var _0x48c921=_0x51303a;const _0x7574f6=async _0x21a71b=>{var _0x194d9c=_0x1f09;(await this[_0x194d9c(0x233)][_0x194d9c(0x193)](_0x21a71b))[_0x194d9c(0x3d0)][_0x194d9c(0x380)](_0x3cf649(_0x5ab885=>_0x5ab885[_0x194d9c(0x262)]===_0x247b59['SHOULD_CLOSE_CONN']),_0x26b065(this['dispose$']))[_0x194d9c(0x315)](_0x39ab7d=>{var _0x59f465=_0x194d9c;const _0x49d315=_0x39ab7d,{reason:_0x152843}=_0x49d315[_0x59f465(0x1cd)];this['_collaborationUIEventService'][_0x59f465(0x313)]({'id':se[_0x59f465(0x149)],'data':_0x152843}),this[_0x59f465(0x2e0)]['updatePermissionPoint'](new _0x8a0fbb(_0x21a71b)['id'],!0x1),this[_0x59f465(0x233)][_0x59f465(0x407)](_0x21a71b);});};_0x204d3a(this[_0x48c921(0x365)][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x43d)]),this['_univerInstanceService'][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x31f)]))[_0x48c921(0x380)](_0x21067b(_0x700866=>_0x700866[_0x48c921(0x438)]()),_0x3cf649(_0x2c4ad6=>!_0x2f272e(_0x2c4ad6)),_0x26b065(this['dispose$']))[_0x48c921(0x315)](_0x133d57=>{_0x7574f6(_0x133d57);});}[_0x51303a(0x23c)](){var _0x4db972=_0x51303a;const _0x399932=async _0x2a0e23=>{var _0x5b88f3=_0x1f09;const _0x8e7867=await this['_collaborationSessionService'][_0x5b88f3(0x193)](_0x2a0e23),_0x525b8e=this['_injector'][_0x5b88f3(0x227)](_0x4e37fd);_0x8e7867[_0x5b88f3(0x3d0)][_0x5b88f3(0x380)](_0x3cf649(_0x5db196=>_0x5db196[_0x5b88f3(0x262)]===_0x247b59[_0x5b88f3(0x425)]),_0x26b065(this[_0x5b88f3(0x402)]))[_0x5b88f3(0x315)](_0x3423c7=>{var _0x2a645b=_0x5b88f3;const _0x5006af=_0x3423c7,{objectId:_0x301954}=_0x5006af[_0x2a645b(0x1cd)];_0x301954===_0x2a0e23?_0x525b8e[_0x2a645b(0x3db)](_0x2a0e23):_0x525b8e[_0x2a645b(0x2b6)](_0x2a0e23,_0x301954);});};_0x204d3a(this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2[_0x4db972(0x43d)]),this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2['UNIVER_DOC']))['pipe'](_0x21067b(_0x5822ac=>_0x5822ac[_0x4db972(0x438)]()),_0x3cf649(_0x18e690=>!_0x2f272e(_0x18e690)),_0x26b065(this[_0x4db972(0x402)]))['subscribe'](_0x39a6ad=>{_0x399932(_0x39a6ad);});}};at=ws([Se(0x0,_0x2a2c27(_0x2ac98c)),Se(0x1,_0xd9ad76),Se(0x2,_0xc50f2c),Se(0x3,_0x2a2c27(Le)),Se(0x4,_0x2a2c27(pe)),Se(0x5,_0x289d4b),Se(0x6,_0x277f73)],at);var Us=Object[_0x51303a(0x281)],As=Object[_0x51303a(0x150)],xs=(_0x29ef76,_0x35c732,_0x1476e8,_0x31d2de)=>{for(var _0x1b95b2=_0x31d2de>0x1?void 0x0:_0x31d2de?As(_0x35c732,_0x1476e8):_0x35c732,_0x5765f2=_0x29ef76['length']-0x1,_0x50d294;_0x5765f2>=0x0;_0x5765f2--)(_0x50d294=_0x29ef76[_0x5765f2])&&(_0x1b95b2=(_0x31d2de?_0x50d294(_0x35c732,_0x1476e8,_0x1b95b2):_0x50d294(_0x1b95b2))||_0x1b95b2);return _0x31d2de&&_0x1b95b2&&Us(_0x35c732,_0x1476e8,_0x1b95b2),_0x1b95b2;},li=(_0x2ea886,_0x39f3c3)=>(_0x226398,_0x34da4d)=>_0x39f3c3(_0x226398,_0x34da4d,_0x2ea886);function _0x1f79(){var _0x3e9024=['interceptor','_unitID','loadSheet','GLOBAL_ROOMS_CNT_EXCEEDS','baseRev','pluginName','copyFileMeta','incrementRevOfUnit','_exhaustRemoteChangesetQueue','algo','_onRemoteRejected','_localCacheService','\x20-\x20','extend','session','_clearCollaborationTimeoutTimer','_clearHeartbeatTimer','PERMISSION_DENIED','loadDoc','_iv','addImageSourceCache','_getLoginPath','CONFLICT','onStateChange','resourceIDs','enableOfflineEditing','awaiting','emitEvent','sessionStatus$','subscribe','_onUserJoin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_mode','_keyPriorReset','reconnect','APPLY_REJECT','__creator','blockSize','_collaborationUIEventService','UNIVER_DOC','_undoStacks','_commandService','unitInfo$','kdf','getSheetId','mutations','unknown','JOIN_ROOM_PERMISSION_DENIED','getUnitStatus$','NOT_COLLAB','title','_createHmacHelper','onTransformIME','getRoom','setShowComponents','format','unpad','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_createHelper','PasswordBasedCipher','next','transformChangesets','textRanges','_parse','Base','_transitionLocked','/universer-api/snapshot','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','onRemoteChangeset','replace','_entities','roles','editing\x20status\x20changed\x20to','HEARTBEAT','FETCH_MISS','error$','saveImage','clear','_clearUndo','state','pauseCollaboration','fromCharCode','_clearLocalCache','set','univer-pro.collaboration-client.network-condition.service','updateOfflineData','exports','sendChangesetTimeout','every','clone','_type','parse','padding','StreamCipher','OpenSSL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','newCsEvent','getAllMembers','deepClone','_getUploadFileURL','LIVESHARE_FETCH_OPERATIONS','listRoles','now','state$','_sendingTimer','selections','Latin1','enc','_univerInstanceService','UNIVER_PROJECT','LICENSE_IMPORT_SIZE_EXCEEDED','startTime','UNIVER_UNKNOWN','onTransformRemoteChangesetByStateCache','repeat','sigBytes','POST','_createInitialStateImpl','_HTTPService','_onRecvEvent','has','createInstance','MD5','_singleActiveUnitService','roomInfos','_doFinalize','abs','SEND_CHANGESET_TIMEOUT','&source=','toggleOffline','INVALID_ARGUMENT','COMPRESS_MUTATION_SEND','telemetry\x20info\x20is\x20not\x20initialized','Univer','origin','pipe','_onConnectionFailed','COMPRESS_MUTATION_APPLY','_updateState','readyForCollab','src','UNKNOWN_CODE','JOIN_ROOM_FAILED','subject','action','charAt','m2Prime','_initRequestHeader','/unit/','CBC','_checkMissing','type','avatar','_handler','put','FileId','connection\x20error','HEARTBEAT_INTERVAL','originalMeta','actions','objects','CHANGESET_REVISION_CONFILICT','[PendingState]:\x20received\x20acknowledgement.','SYNCED','_sessions','resend','_telemetryInfo','onTransformState','_scheduleCompleteTimestamp','_incrementRevisionNumber','JOIN','status$','unitId\x20is\x20not\x20found','_unlockTransition','USERS_LEAVE','AES','LICENSE_DISTRO_REJECTED','_getUndoStack','transformStack\x20failed!','FAIL','getImageSourceCache','sheets','putCollaborators','Utf8','PSEUDO_FETCH_MISSING_RESULT','_compressMutationService','infoRsp','_loadSheet','catch','loadUnit','_authzIoService','patch','_memberService','SOCKET_FAILED_RETRY','function','hasher','onRemoteAck','batchAllowed','getCollabEntity','_config','hasOwnProperty','status','MSG_FOR_ERROR','BufferedBlockAlgorithm','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collabSubmitChangesetUrl','removeMember','_applyRemoteChangeset','encode','close','[DataLoaderService]','_collaborationPaused','_awaitingChangeset','event$','findIndex','_updateLocalCache','Hasher','subUnitId','_onCombEvent','sid','_tryReconnect','RECV','range','getMember','initWorkbookPermissionChange','getWorkbookSelections','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_prevBlock','salt','createCollaborator','_revisionService','$super','image/gif','ticket','_updateStatus','isArray','appendMutation','_commentService','ONLINE','_waitForHeartbeatResponse','_tryEnsureSocket','awaitingChangeset','YUUMI_URL_COL_OUT_OF_RANGE','searchParams','readInt32LE','list','_getSessionTicket','offline','_event$','onMissingChangesets','SNAPSHOT_SERVER_URL_KEY','uploadFileServerUrl','onSendChangeset','_substituteRedoStack','_oKey','/object','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','JOIN_ROOM_NOT_EXISTS','url','words','fetchThroughInterceptors','_changesetSessionId','dispose$','byteOffset','key','transformMutationsWithChangeset','UNKNOWN_CMD','closeSession','_remoteChangesetQueue','collaborators','mixIn','post','?url=','unitID','file','fromCollab','session.room-permission-denied','duration','_onFetchMissResult','values','_getCtorByUniverType','_fetchMissChangesets','getImage','deleteCollaborator','_shouldReportTelemetry','joinEvent','decrypt','substr','_createHandler','AWAITING_WITH_PENDING','UnitSnapshot','/universer-api/stream/file/upload','getActiveSheet','dispose','getFocusedUnit','commentUpdateEvent','/fetchmissing?from=','UPDATE_PERMISSION_OBJ','_onRemoteChangeset','encryptBlock','UNAUTHENTICATED','Malformed\x20UTF-8\x20data','_onRemoteRetry','capture','_httpService','__Key__','_collabSessionService','PERMISSION_REJ','ciphertext','getCurrentSelections','getCurrentUser','userID','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','_toggleOnline','application/json','getUnitId','_minBufferSize','_socketMessageSubscription','getTypeOfUnitDisposed$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNIVER_SHEET','iterations','_instanceService','_initDependencies','finalize','pad','failed\x20to\x20apply\x20missed\x20changesets!','override','prototype','CHANGESET_SHOULD_RETRY','LICENSE_MAX_UNITS_EXCEEDED','_undoRedoService','_rescheduleHeartbeat','110UibBRK','complete','_sessionStatus$','CLOSE_ROOM','[UniverCollaborationClientPlugin]','responseType','_onConflict','_xformMode','decryptBlock','registerHTTPInterceptor','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_members$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_resendTimer','SUCCUSS','_onUserLeave','reject','_key','_emitMembers','compose','pending','[CollaborationSessionService]:\x20socket\x20error','UNDEFINED','IDLE','liveShareOperation','onSyncEditingCollabCursor','[CollaborationSession]','_disableEditing','stopTime','image/jpeg','HttpImport','objectType','_retryConnectingTimer','_createInitialState','indexOf','joinRsp','open$','create','error','_keySchedule','_nDataBytes','x-univer-host','slice','getValue','Could\x20not\x20dynamically\x20require\x20\x22','code','_status$','_createSocket','_members','message$','_roomCreated$','execute','_stopTelemetryCollaborationNewChangeset','_state','PERSON','_scheduleCollaborationTimeoutTimer','/object/','socket\x20open.','delete','setWaitCount','1962EblsVT','APPLY_PERMISSION_DENIED','lib','HttpExport','csShouldRetryEvent','Cipher','isPermissionRej','_sendHeartbeatTimer','&to=','onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getTypeOfUnitAdded$','ceil','_transformRemoteChangesetByStateCache','EvpKDF','requireSession','image/png','LEAVE','signUrlServerUrl','formatter','getTime','_decreaseWaiting','_doProcessBlock','/universer-api/snapshot/','localCacheService','from','BlockCipher','session.join-failed','string','retryConnectingInterval','randomBytes','_executeRemoteChangeset','getLatestCsReqIdBySid','JOIN_ROOM_FULL','904VtpeZw','BlockCipherMode','_removeRoom','/role','_DEC_XFORM_MODE','_initCloseConn','\x20in\x20_schedule.','size','onMissedChangesetFetched','bind','SHA1','Error\x20on\x20receiving\x20event','_getAPIPrefixPath','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_REQUEST_HOST','params','/universer-api/authz','join','addHandlerCallback','_hasher','[SyncedState]:\x20received\x20rejection.','1673832GodlJt','filter','reset','[CollaborationSessionService]','/collaborator','byteLength','c1Prime','_map','_changesetReqId','_cipher','image/bmp','[PendingState]:\x20received\x20rejection.','_onRemoteACK','_redoStacks','push','_loadDoc','_onJoinRoomEvent','Decryptor','data','7JgPUJO','debug','_schedule','getSnapshotAPIPath','updateCursorEvent','ERROR_IMAGE','CHANGESET_REJ','_collaborationTimeoutTimer','createDecryptor','onTransformSelections','_replayCachedMutations','toString','UNIVER_COLLABORATION_CLIENT_PLUGIN','revision','UNRECOGNIZED','getRandomValues','getCurrentRevOfUnit','body','collaboratorID','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByIMECache','routeKey','update','TOO_MANY_REQUESTS','SOCKET_FAILED','createEncryptor','cmd','/-/object/list','_pendingMutations','[CollaborationState]:\x20apply\x20error!','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','getUnitOnRev','OTHER_CLIENT_EDITING','_joinRoom','_entityInit$','sessionTicket','_throwTelemetryCollaborationNewChangeset','ALREADY_EXISTS','startsWith','YUUMI_RATE_OVER_LIMIT','json','ERROR_IMAGE_TYPE','COMPLETION_FINISHED','workbook','MUTATION','_waitCount','unit-cache-','awaiting_with_pending','_injector','8513197RpJDFX','requestParams','_onLocalMutation','c2Prime','HELLO','[FetchMissState]','fetch_missing','_unitInfo$','processBlock','_iKey','reduce','fetchMissingChangesets','_listenToNetworkCondition','floor','synced','_snapshotServerService','conflict','NOT_FOUND','asObservable','INTERNAL_ERROR','_invKeySchedule','location','onRemoteRej','_createSocketURL','79128OIVDrk','method','cfg','UPDATE_CURSOR','clamp','_transformStateCache','[OfflineState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20changeset.','change$','/universer-api/user/session-ticket','_ENC_XFORM_MODE','_transformService','_http','socketService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','get','COLLAB_SUBMIT_CHANGESET_URL','send','_clearTimeoutTimer','entries','7745Cirogn','_submitChangeset','onCommentUpdate','authzUrl','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SLIDE','APPLY_DUPLICATED','_collaborationSessionService','getResourcesRequest','stringify','localeService','[CollaborationEntity]','updatePermissionPoint','init','\x20to\x20','onCommandExecuted','_initUnitPermissionChange','SNAPSHOT_INVALID_SNAPSHOT','LOGIN_URL_KEY','/universer-api/uniscript','_change$','/allowed','buffer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','mode','updateMember','loginUrlKey','_socket','_getSendChangesetTimeout','concat','random','compute','reqId','_getAPIPrefix','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/-/object/-/batch_allowed','_sheetTransformSelectionsService','executeCommand','_userManagerService','HmacMD5','collaboration-client.local-cache-service','HEARTBEAT_TIMEOUT','_logService','onlyLocal','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','_init','/resources','_transformStack','[OfflineState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','fetchMiss','SNAPSHOT_URL_KEY','eventID','INGEST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','toggleOnline','COMMENT_UPDATE','find','_clearScheduledTask','_lockTransition','rev','333024sLrmEu','LICENSE_EXPORT_SIZE_EXCEEDED','_networkConditionService','call','splice','_socket$','getDeserializedSheetBlock','WordArray','_resendTimeout','_process','apply','Encryptor','updatePermissionObjEvent','_hash','headers','session.room-cnt-exceeds','close$','collaboration-client.config','_socketReady','liveShareNewHost','defineProperty','YUUMI_UNABLE_LOAD_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_snapshotService','_startCollaboration','_transformRemoteChangesetByIMECache','_clearRedo','ivSize','_append','_sender','UnitEmbedded','HMAC','SUBMIT_CHANGESET','charCodeAt','_telemetryService','APPLY_NON_SEQUENTIAL_REVISION','getUnitType','name','_initMergeInterceptor','allowed','encrypt','LIVESHARE_OPERATION','getMemberID','max','_showConflictNotification','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendHeartbeat','href','_handlerCallback','editingUnit','UNISCRIPT_RUN','entityInit$','keySize','shouldCloseConn','_timeoutTimer','setCurrentUser','confirm','SerializableCipher','_transformIMECache','_toggleOffline','transformUndoRedo','updateCollaborator','_startTelemetryCollaborationNewChangeset','createSocket','_doReset','getInterceptPoints','_reverseMap','BASE64','JOINING','refreshPermission','?size=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','length','_commentUpdate$','_substituteUndoStack','LIVESHARE_NEW_HOST','HmacSHA1','listCollaborators','_roomMembers','_configService','/block/','focused$','wsSessionTicketUrl','toLowerCase','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','Base64','__esModule','NO_OTHER_CLIENTS_EDITING','FETCH_MISSING','174897JhKcoN','336TyGthH','CHANGESET_ACK','collabWebSocketUrl','result','_syncEditingCollabCursor','DEFAULT_FILE_NAME','randomUUID','_transformSelections','_data','_retryCount','csAckEvent','/universer-api/oidc/authpage','NoPadding','_onConnectionOpen','saveSheetBlock','add','crypto','OFFLINE','LIVESHARE_TERMINATE','NEW_CHANGESETS','_permissionService','_imageSourceCache','/universer-api/comb','_nRounds','_transformUndoredo','memberID','_acknowledgedAwaitingChangeset','sessionStatus','_doCryptBlock','members$','map','_candidateSocket','getConfig','forEach','CipherParams','_getSignURL','/universer-api/file/{fileID}/sign-url','objectID','_getDownloadEndpointURL','COLLAB_WEB_SOCKET_URL','unitId','_getCurrentRevision','_resendWithTimeout','loadOfflineData'];_0x1f79=function(){return _0x3e9024;};return _0x1f79();}let Dt=class{constructor(_0x474842,_0x18f1da){var _0x92d3d3=_0x51303a;this[_0x92d3d3(0x2c0)]=_0x474842,this[_0x92d3d3(0x42c)]=_0x18f1da;}async[_0x51303a(0x1ee)](_0x2cbca3,_0x3ee937){var _0x502e31=_0x51303a,_0x30e554;const {unitID:_0x4cc55b,type:_0x59b7c7,revision:_0xbcb43c=0x0}=_0x3ee937,_0x167a7e=this[_0x502e31(0x1d1)]()+'/'+_0x59b7c7+_0x502e31(0x38d)+_0x4cc55b+'/rev/'+_0xbcb43c,_0x22e548=(await this[_0x502e31(0x42c)][_0x502e31(0x227)](_0x167a7e))[_0x502e31(0x1df)],_0x21a2ee=(_0x30e554=_0x22e548['snapshot'])==null?void 0x0:_0x30e554[_0x502e31(0x1fa)];if(_0x21a2ee){const _0x143e96=_0x21a2ee==null?void 0x0:_0x21a2ee[_0x502e31(0x397)],_0x636810=_0x1eecf7[_0x502e31(0x3cb)](_0x142033(_0x143e96));_0x21a2ee[_0x502e31(0x397)]=_0x636810,Object[_0x502e31(0x22b)](_0x21a2ee[_0x502e31(0x3ae)])[_0x502e31(0x2ed)](([,_0x3f6e6f])=>{var _0x2a4d60=_0x502e31;const _0x1d5e33=_0x3f6e6f[_0x2a4d60(0x397)],_0x2da8ca=_0x1eecf7[_0x2a4d60(0x3cb)](_0x142033(_0x1d5e33));_0x3f6e6f[_0x2a4d60(0x397)]=_0x2da8ca;});}return _0x22e548;}async['getSheetBlock'](_0xf28e3e,_0x1c8d97){var _0x7f7ec8=_0x51303a;const {unitID:_0x115be1,type:_0x5c114f,blockID:_0x4f44d6}=_0x1c8d97,_0x33397e=this[_0x7f7ec8(0x24d)]()+'/'+_0x5c114f+_0x7f7ec8(0x38d)+_0x115be1+_0x7f7ec8(0x2c1)+_0x4f44d6;return(await this[_0x7f7ec8(0x42c)][_0x7f7ec8(0x227)](_0x33397e))[_0x7f7ec8(0x1df)];}async[_0x51303a(0x273)](_0x179fbb,_0x5353ae){var _0x44297e=_0x51303a;const {unitID:_0x5449ee,type:_0x516f5b,blockID:_0x34fe95}=_0x5353ae,_0x20ba4d=this[_0x44297e(0x24d)]()+_0x44297e(0x2c1)+_0x516f5b+_0x44297e(0x38d)+_0x5449ee+_0x44297e(0x2c1)+_0x34fe95;return(await this[_0x44297e(0x42c)][_0x44297e(0x227)](_0x20ba4d))[_0x44297e(0x1df)];}async[_0x51303a(0x20b)](_0x3f6ef6,_0x354a3f){var _0x4d967d=_0x51303a;const {unitID:_0x4024d6,type:_0x388821,from:_0x309857,to:_0x1ca88d}=_0x354a3f,_0x1c91f9=this[_0x4d967d(0x24d)]()+'/'+_0x388821+_0x4d967d(0x38d)+_0x4024d6+_0x4d967d(0x424)+_0x309857+_0x4d967d(0x18c)+_0x1ca88d;return(await this[_0x4d967d(0x42c)]['get'](_0x1c91f9))[_0x4d967d(0x1df)];}[_0x51303a(0x1d1)](){var _0x54ea3e=_0x51303a,_0x71c10f;return(_0x71c10f=this[_0x54ea3e(0x2c0)][_0x54ea3e(0x2ec)](Tn))!=null?_0x71c10f:this['_getAPIPrefix']();}[_0x51303a(0x24d)](){var _0x4b337b=_0x51303a,_0x197f60,_0x2bc25a;const _0x29781c=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](En),_0x5d01fa=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](q);return(_0x2bc25a=(_0x197f60=_0x5d01fa==null?void 0x0:_0x5d01fa['snapshotServerUrl'])!=null?_0x197f60:_0x29781c)!=null?_0x2bc25a:In;}async[_0x51303a(0x234)](_0x1f8987,_0x2bb40b){var _0x17fe03=_0x51303a;const _0x13333b=_0x17fe03(0x19b)+_0x2bb40b['type']+_0x17fe03(0x38d)+_0x2bb40b[_0x17fe03(0x40d)]+_0x17fe03(0x25c);return(await this[_0x17fe03(0x42c)][_0x17fe03(0x227)](_0x13333b,{'params':{'resourceId':JSON[_0x17fe03(0x235)](_0x2bb40b[_0x17fe03(0x310)])}}))[_0x17fe03(0x1df)];}['saveSnapshot'](){var _0x4b9002=_0x51303a;throw new Error(_0x4b9002(0x24e));}[_0x51303a(0x2da)](){var _0x5b9783=_0x51303a;throw new Error(_0x5b9783(0x24e));}['saveChangeset'](){var _0x135d67=_0x51303a;throw new Error(_0x135d67(0x24e));}[_0x51303a(0x2fe)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51303a(0x1a4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x197b9e),li(0x1,_0x2a2c27(_0x43259a))],Dt);var Ls=Object[_0x51303a(0x281)],Ms=Object[_0x51303a(0x150)],$s=(_0x4c8d97,_0x1d5263,_0x29cba3,_0x556df3)=>{for(var _0x11598f=_0x556df3>0x1?void 0x0:_0x556df3?Ms(_0x1d5263,_0x29cba3):_0x1d5263,_0x47c887=_0x4c8d97['length']-0x1,_0x367da8;_0x47c887>=0x0;_0x47c887--)(_0x367da8=_0x4c8d97[_0x47c887])&&(_0x11598f=(_0x556df3?_0x367da8(_0x1d5263,_0x29cba3,_0x11598f):_0x367da8(_0x11598f))||_0x11598f);return _0x556df3&&_0x11598f&&Ls(_0x1d5263,_0x29cba3,_0x11598f),_0x11598f;},Ae=(_0x1bb24c,_0x546506)=>(_0x2128d5,_0x3ce6c1)=>_0x546506(_0x2128d5,_0x3ce6c1,_0x1bb24c);let Pt=class extends _0x3122ca{constructor(_0x14278c,_0x2bc16f,_0x58630f,_0x33a099,_0x27bd0d){var _0x3808a3=_0x51303a;super(_0x14278c,_0x2bc16f,_0x58630f),this[_0x3808a3(0x223)]=_0x33a099,this[_0x3808a3(0x257)]=_0x27bd0d;}[_0x51303a(0x2ad)](_0x4b6c26,_0x3e1341){var _0xd8ba69=_0x51303a;const _0x383d1b=this['_getUndoStack'](_0x4b6c26);if(_0x383d1b)try{const _0x5d31c8=this['_transformStack'](_0x383d1b,_0x3e1341);this[_0xd8ba69(0x2bb)](_0x4b6c26,_0x5d31c8);}catch(_0x45d655){this[_0xd8ba69(0x257)][_0xd8ba69(0x16e)]('[CollaborationUndoRedoService]',_0x45d655),this[_0xd8ba69(0x347)](_0x4b6c26);}const _0x5bbf35=this['_getRedoStack'](_0x4b6c26);if(_0x5bbf35)try{const _0x59bc18=this[_0xd8ba69(0x25d)](_0x5bbf35,_0x3e1341);this[_0xd8ba69(0x3f8)](_0x4b6c26,_0x59bc18);}catch(_0x42d437){this['_logService']['error'](_0x42d437),this['_clearRedo'](_0x4b6c26);}}[_0x51303a(0x347)](_0x698dd7){var _0x2b35a9=_0x51303a;const _0x3e1b1f=this[_0x2b35a9(0x3aa)](_0x698dd7);_0x3e1b1f&&(_0x3e1b1f['length']=0x0,this[_0x2b35a9(0x3e5)]());}[_0x51303a(0x287)](_0x56b782){var _0x233378=_0x51303a;const _0x196659=this['_getRedoStack'](_0x56b782);_0x196659&&(_0x196659[_0x233378(0x2b9)]=0x0,this[_0x233378(0x3e5)]());}['_substituteUndoStack'](_0x5318f1,_0x58bf6e){var _0x136e06=_0x51303a;this[_0x136e06(0x320)]['set'](_0x5318f1,_0x58bf6e),this[_0x136e06(0x3e5)]();}[_0x51303a(0x3f8)](_0x3b8472,_0x148198){var _0x705d91=_0x51303a;this[_0x705d91(0x1c8)]['set'](_0x3b8472,_0x148198),this['_updateStatus']();}[_0x51303a(0x25d)](_0x18951d,_0x6d7861){var _0x2090db=_0x51303a;const _0x184623=[];let _0xda6e4c=_0x6d7861,_0x156064=_0x6d7861;for(let _0x433097=_0x18951d[_0x2090db(0x2b9)]-0x1;_0x433097>=0x0;_0x433097--){const {unitID:_0x192b81,undoMutations:_0x399ed1,redoMutations:_0x1f6692}=_0x18951d[_0x433097],_0x1a37ed=this[_0x2090db(0x223)][_0x2090db(0x405)](_0xda6e4c,_0x399ed1),_0x4add18=this[_0x2090db(0x223)][_0x2090db(0x405)](_0x156064,_0x1f6692);if(_0x5c45d7(_0x1a37ed)||_0x5c45d7(_0x4add18)){this[_0x2090db(0x257)]['error']('[CollaborationUndoRedoService]',_0x2090db(0x3ab),_0x1a37ed,_0x4add18);break;}_0xda6e4c=_0x1a37ed[_0x2090db(0x1c1)],_0x156064=_0x4add18[_0x2090db(0x1c1)],_0x184623[_0x2090db(0x1c9)]({'unitID':_0x192b81,'undoMutations':_0x1a37ed[_0x2090db(0x38b)],'redoMutations':_0x4add18[_0x2090db(0x38b)]});}return _0x184623['reverse']();}};Pt=$s([Ae(0x0,_0xd9ad76),Ae(0x1,_0x5c01af),Ae(0x2,_0x1f9cf4),Ae(0x3,_0x1aa332),Ae(0x4,_0x7c7e3b)],Pt);var xi=Object[_0x51303a(0x281)],Hs=Object[_0x51303a(0x150)],ks=(_0x36f5ee,_0x4045f3,_0x1be19a)=>_0x4045f3 in _0x36f5ee?xi(_0x36f5ee,_0x4045f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1be19a}):_0x36f5ee[_0x4045f3]=_0x1be19a,js=(_0x518661,_0xcf6f83,_0x4c4735,_0x2bc85a)=>{var _0x5007bd=_0x51303a;for(var _0x47ce60=_0x2bc85a>0x1?void 0x0:_0x2bc85a?Hs(_0xcf6f83,_0x4c4735):_0xcf6f83,_0x925819=_0x518661[_0x5007bd(0x2b9)]-0x1,_0x4c8198;_0x925819>=0x0;_0x925819--)(_0x4c8198=_0x518661[_0x925819])&&(_0x47ce60=(_0x2bc85a?_0x4c8198(_0xcf6f83,_0x4c4735,_0x47ce60):_0x4c8198(_0x47ce60))||_0x47ce60);return _0x2bc85a&&_0x47ce60&&xi(_0xcf6f83,_0x4c4735,_0x47ce60),_0x47ce60;},St=(_0xe0d378,_0x10fe46)=>(_0x55286a,_0x3913c3)=>_0x10fe46(_0x55286a,_0x3913c3,_0xe0d378),Bs=(_0xbf2531,_0x5cff12,_0x53ee20)=>ks(_0xbf2531,_0x5cff12+'',_0x53ee20);const Fs=_0x51303a(0x1da);let wt=class extends _0x2faba4{constructor(_0x310f9a=Wt,_0x27e6a0,_0x31fea0,_0x27abd5){var _0x3635b8=_0x51303a;super(),this[_0x3635b8(0x3c0)]=_0x310f9a,this['_logService']=_0x27e6a0,this[_0x3635b8(0x1ff)]=_0x31fea0,this['_configService']=_0x27abd5;const {..._0x242d61}=_0x123239({},Wt,this[_0x3635b8(0x3c0)]);this[_0x3635b8(0x2c0)]['setConfig'](q,_0x242d61);}['onStarting'](){var _0x50bcc0=_0x51303a;this['_registerDependencies'](),this[_0x50bcc0(0x440)]();}[_0x51303a(0x259)](){var _0xf1a83a=_0x51303a,_0x1fa8d5,_0x5bbb81,_0x1b4ff1,_0x3a270d;this[_0xf1a83a(0x1ff)][_0xf1a83a(0x371)](_0x277f73)&&this[_0xf1a83a(0x257)][_0xf1a83a(0x16e)](_0xf1a83a(0x14a),_0xf1a83a(0x283));const _0x23384=_0x596fab([[_0x277f73,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5bbb81=(_0x1fa8d5=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1fa8d5[_0xf1a83a(0x225)])!=null?_0x5bbb81:Et}],[_0x22279b,{'useClass':Dt}],[_0x289d4b,{'useClass':bt}],[_0x2dfdfa,{'useClass':yt}],[_0x5b09c9,{'useClass':Nt}],[rt],[Rt]],(_0x1b4ff1=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1b4ff1[_0xf1a83a(0x444)]);if(!((_0x3a270d=this[_0xf1a83a(0x3c0)])!=null&&_0x3a270d[_0xf1a83a(0x1ec)])){const _0x5b0d8c=_0x23384[_0xf1a83a(0x3d1)](([_0x4f76b1])=>_0x4f76b1===ht);_0x5b0d8c!==-0x1&&_0x23384[_0xf1a83a(0x271)](_0x5b0d8c,0x1);}_0x55b7fd(this[_0xf1a83a(0x1ff)],_0x23384);}[_0x51303a(0x440)](){var _0x459b3c=_0x51303a,_0x2f74b3,_0x439e3d,_0x2438ab;this['_injector'][_0x459b3c(0x227)](_0x43259a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3d1b06({'maxParallel':0x6})}),(_0x2f74b3=this[_0x459b3c(0x3c0)])!=null&&_0x2f74b3[_0x459b3c(0x311)]||(_0x439e3d=this[_0x459b3c(0x1ff)][_0x459b3c(0x227)](J,_0x5a06dd['OPTIONAL']))==null||_0x439e3d['disableLocalCache'](),(_0x2438ab=this[_0x459b3c(0x3c0)])!=null&&_0x2438ab['enableAuthServer']&&_0x351b51(this[_0x459b3c(0x1ff)],[[st]]),_0x351b51(this[_0x459b3c(0x1ff)],[[ot],[rt],[at]]);}};Bs(wt,_0x51303a(0x2fd),Fs),wt=js([_0x1b343a(_0x12509d,_0x511a9f,_0x3f6290),St(0x1,_0x7c7e3b),St(0x2,_0x2a2c27(_0x2ac98c)),St(0x3,_0x197b9e)],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};
|