@univerjs-pro/collaboration-client 0.10.4 → 0.10.5-nightly.202508290716
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +12 -12
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x47228c=_0x3374;(function(_0x340a6f,_0x3d37e1){var _0x16633d=_0x3374,_0x480725=_0x340a6f();while(!![]){try{var _0x3f228a=-parseInt(_0x16633d(0x273))/0x1*(parseInt(_0x16633d(0x158))/0x2)+-parseInt(_0x16633d(0x1c3))/0x3*(parseInt(_0x16633d(0x2db))/0x4)+parseInt(_0x16633d(0x1b2))/0x5+-parseInt(_0x16633d(0x2bb))/0x6+-parseInt(_0x16633d(0x14e))/0x7+parseInt(_0x16633d(0x1d6))/0x8+parseInt(_0x16633d(0x18e))/0x9*(parseInt(_0x16633d(0x1de))/0xa);if(_0x3f228a===_0x3d37e1)break;else _0x480725['push'](_0x480725['shift']());}catch(_0x2dfd8b){_0x480725['push'](_0x480725['shift']());}}}(_0x1e43,0xf376d));var yi=Object[_0x47228c(0x2cb)],Ni=(_0x169edc,_0x32140c,_0x3a5a7c)=>_0x32140c in _0x169edc?yi(_0x169edc,_0x32140c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a5a7c}):_0x169edc[_0x32140c]=_0x3a5a7c,N=(_0x4de591,_0x570e13,_0xdf4074)=>Ni(_0x4de591,typeof _0x570e13!='symbol'?_0x570e13+'':_0x570e13,_0xdf4074);import{CollaborationEvent as _0xc7c78a,ITransformService as _0x22fc1f,isTransformMutationsWithChangesetSuccess as _0x847b75,mapDocumentTypeToUniverType as _0x2bc809,RevisionService as _0x30ba57,isTransformChangesetsSuccess as _0x1fbfb2,CompressMutationService as _0x40c04b,parseProtocolChangeset as _0x202b3a,uuidv4 as _0x108802,ISnapshotServerService as _0x41c906,parseChangesetToProtocol as _0x232c24,SnapshotService as _0x14df1f,textEncoder as _0x2c4177,b64DecodeUnicode as _0x267453,isTransformMutationsWithChangesetFailure as _0x5613d0,UniverCollaborationPlugin as _0x467267}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x6f36d2,Inject as _0xc239af,UserManagerService as _0x362937,Disposable as _0x53c149,UniverInstanceType as _0x390c45,ILogService as _0x21a42f,IConfigService as _0x475c66,Optional as _0x4bf004,RxDisposable as _0x28cd13,createIdentifier as _0x4ee518,Injector as _0x5022d2,Tools as _0x4e4485,Rectangle as _0xd2b951,ICommandService as _0xccbcfa,JSONX as _0x433bf9,CommandType as _0xef926e,IUndoRedoService as _0x48af92,IPermissionService as _0x421caf,LocaleService as _0x4eb4c1,sequenceExecute as _0x4ba5ae,toDisposable as _0x55aacd,DisposableCollection as _0x4ab0d9,Workbook as _0x556d51,generateRandomId as _0xe76d03,MentionType as _0x40153f,isInternalEditorID as _0x545c12,LocalUndoRedoService as _0x3019f8,IContextService as _0x291cf,DependentOn as _0x3ee4c5,Plugin as _0x30755d,merge as _0x2fb79c,mergeOverrideWithDependencies as _0x28ef92,IAuthzIoService as _0x537d11,IMentionIOService as _0x2f4255,registerDependencies as _0x5007ec,Quantity as _0x47a399,touchDependencies as _0x1a4080}from'@univerjs/core';import{RichTextEditingMutation as _0x15985e}from'@univerjs/docs';import{SheetsSelectionsService as _0x229f5e,SetSelectionsOperation as _0x42fd1b,InsertSheetMutation as _0x5e8fe7,EmptyMutation as _0x33d5bb,WorkbookEditablePermission as _0x1a2993,SheetPermissionInitController as _0x22d09b}from'@univerjs/sheets';import{Subject as _0x105634,merge as _0x3ce8ce,of as _0x43c5de,BehaviorSubject as _0x6f618b,takeUntil as _0x28c423,ReplaySubject as _0x542c68,take as _0x5ec3e5,map as _0x4f5b4b,shareReplay as _0x4d4210,firstValueFrom as _0x324d56,concatMap as _0x49f209}from'rxjs';import{ITelemetryService as _0x286028}from'@univerjs/telemetry';import{map as _0x4395b4,take as _0xecbf3e,filter as _0x37ce78,delay as _0x4401a8,takeUntil as _0x1866fc}from'rxjs/operators';import{HTTPService as _0x1784b0,ISocketService as _0x537010,MergeInterceptorFactory as _0x1e4a78,HTTPRequest as _0x42f72f,UniverNetworkPlugin as _0x17f9de,ThresholdInterceptorFactory as _0x194e54}from'@univerjs/network';import{ImageSourceType as _0x30bc4f,ImageUploadStatusType as _0x426fe0,IImageIoService as _0x460d47}from'@univerjs/drawing';import{getGlobalObject as _0x515ec6}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x47228c(0x2aa),ps=0x7d0,ms=_0x47228c(0x3b4),Ir='/universer-api/user/session-ticket',gs=_0x47228c(0x12b),Ss=0x7530,di=_0x47228c(0x312),fi=0x4e20,Es=0x4e20,Is=_0x47228c(0x275),Ts=0x3,Tr=_0x47228c(0x17c),Cr=0x3e8,Cs=_0x47228c(0x2c9),Rs=_0x47228c(0x32e),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or='/universer-api/uniscript';var vi=(_0x5446f0=>(_0x5446f0[_0x5446f0['UNDEFINED']=0x0]=_0x47228c(0x1ae),_0x5446f0[_0x5446f0['OK']=0x1]='OK',_0x5446f0[_0x5446f0[_0x47228c(0x240)]=0x2]=_0x47228c(0x240),_0x5446f0[_0x5446f0['PERMISSION_DENIED']=0x3]=_0x47228c(0x374),_0x5446f0[_0x5446f0['NOT_FOUND']=0x4]=_0x47228c(0x2c2),_0x5446f0[_0x5446f0[_0x47228c(0x2ff)]=0x5]=_0x47228c(0x2ff),_0x5446f0[_0x5446f0[_0x47228c(0x3d2)]=0x6]=_0x47228c(0x3d2),_0x5446f0[_0x5446f0[_0x47228c(0x3bc)]=0x7]=_0x47228c(0x3bc),_0x5446f0[_0x5446f0['TOO_MANY_REQUESTS']=0x8]=_0x47228c(0x2ea),_0x5446f0[_0x5446f0[_0x47228c(0x2ee)]=0x9]=_0x47228c(0x2ee),_0x5446f0[_0x5446f0[_0x47228c(0x182)]=0xa]=_0x47228c(0x182),_0x5446f0[_0x5446f0['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x47228c(0x1e7),_0x5446f0[_0x5446f0[_0x47228c(0x1ba)]=0xc]=_0x47228c(0x1ba),_0x5446f0[_0x5446f0[_0x47228c(0x12d)]=0xd]=_0x47228c(0x12d),_0x5446f0[_0x5446f0[_0x47228c(0x1a3)]=0xe]=_0x47228c(0x1a3),_0x5446f0[_0x5446f0[_0x47228c(0x272)]=0x1389]=_0x47228c(0x272),_0x5446f0[_0x5446f0[_0x47228c(0x1e8)]=0x1771]=_0x47228c(0x1e8),_0x5446f0[_0x5446f0[_0x47228c(0x2bf)]=0x1772]=_0x47228c(0x2bf),_0x5446f0[_0x5446f0[_0x47228c(0x2c5)]=0x1773]=_0x47228c(0x2c5),_0x5446f0[_0x5446f0[_0x47228c(0x2ce)]=0x1b59]=_0x47228c(0x2ce),_0x5446f0[_0x5446f0[_0x47228c(0x385)]=0x1b5a]=_0x47228c(0x385),_0x5446f0[_0x5446f0[_0x47228c(0x1fd)]=0x1b5b]=_0x47228c(0x1fd),_0x5446f0[_0x5446f0[_0x47228c(0x220)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5446f0[_0x5446f0[_0x47228c(0x3e6)]=0x1b5d]='APPLY_DUPLICATED',_0x5446f0[_0x5446f0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5446f0[_0x5446f0[_0x47228c(0x167)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5446f0[_0x5446f0[_0x47228c(0x383)]=0x232a]=_0x47228c(0x383),_0x5446f0[_0x5446f0[_0x47228c(0x253)]=0x232b]=_0x47228c(0x253),_0x5446f0[_0x5446f0[_0x47228c(0x15c)]=0x232c]=_0x47228c(0x15c),_0x5446f0[_0x5446f0[_0x47228c(0x1ab)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5446f0[_0x5446f0['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5446f0[_0x5446f0[_0x47228c(0x428)]=0x2712]=_0x47228c(0x428),_0x5446f0[_0x5446f0['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5446f0[_0x5446f0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x47228c(0x2fe),_0x5446f0[_0x5446f0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x47228c(0x2a0),_0x5446f0[_0x5446f0[_0x47228c(0x234)]=0x271b]=_0x47228c(0x234),_0x5446f0[_0x5446f0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x47228c(0x34b),_0x5446f0[_0x5446f0[_0x47228c(0x19a)]=0x271d]=_0x47228c(0x19a),_0x5446f0[_0x5446f0[_0x47228c(0x1c7)]=0x271e]=_0x47228c(0x1c7),_0x5446f0[_0x5446f0[_0x47228c(0x40b)]=0x271f]=_0x47228c(0x40b),_0x5446f0[_0x5446f0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x47228c(0x323),_0x5446f0[_0x5446f0[_0x47228c(0x19b)]=0x2af9]=_0x47228c(0x19b),_0x5446f0[_0x5446f0[_0x47228c(0x22d)]=0x2ee1]=_0x47228c(0x22d),_0x5446f0[_0x5446f0[_0x47228c(0x18b)]=0x2ee2]='INVALID_INVITE_CODE',_0x5446f0[_0x5446f0[_0x47228c(0x291)]=0x2ee3]=_0x47228c(0x291),_0x5446f0[_0x5446f0[_0x47228c(0x382)]=0x2ee4]=_0x47228c(0x382),_0x5446f0[_0x5446f0[_0x47228c(0x329)]=0x2ee5]=_0x47228c(0x329),_0x5446f0[_0x5446f0[_0x47228c(0x2ae)]=0x32c9]=_0x47228c(0x2ae),_0x5446f0[_0x5446f0[_0x47228c(0x373)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5446f0[_0x5446f0[_0x47228c(0x2d0)]=0x32cb]=_0x47228c(0x2d0),_0x5446f0[_0x5446f0[_0x47228c(0x3e5)]=-0x1]=_0x47228c(0x3e5),_0x5446f0))(vi||{}),Z=(_0xfc4f17=>(_0xfc4f17[_0xfc4f17[_0x47228c(0x2e5)]=0x0]=_0x47228c(0x2e5),_0xfc4f17[_0xfc4f17[_0x47228c(0x321)]=0x1]=_0x47228c(0x321),_0xfc4f17[_0xfc4f17[_0x47228c(0x21c)]=0x2]=_0x47228c(0x21c),_0xfc4f17[_0xfc4f17[_0x47228c(0x184)]=0x3]='UNIVER_SLIDE',_0xfc4f17[_0xfc4f17['UNIVER_PROJECT']=0x4]=_0x47228c(0x213),_0xfc4f17[_0xfc4f17['UNRECOGNIZED']=-0x1]=_0x47228c(0x3e5),_0xfc4f17))(Z||{}),F=(_0x256852=>(_0x256852[_0x256852['UNKNOWN_CMD']=0x0]=_0x47228c(0x2ca),_0x256852[_0x256852[_0x47228c(0x1a2)]=0x1]='HELLO',_0x256852[_0x256852['JOIN']=0x2]='JOIN',_0x256852[_0x256852[_0x47228c(0x2f1)]=0x3]=_0x47228c(0x2f1),_0x256852[_0x256852[_0x47228c(0x1a6)]=0x4]=_0x47228c(0x1a6),_0x256852[_0x256852[_0x47228c(0x395)]=0x5]='HEARTBEAT',_0x256852[_0x256852[_0x47228c(0x2f8)]=0x6]=_0x47228c(0x2f8),_0x256852[_0x256852[_0x47228c(0x3e5)]=-0x1]='UNRECOGNIZED',_0x256852))(F||{}),pe=(_0x396a75=>(_0x396a75[_0x396a75[_0x47228c(0x38b)]=0x0]=_0x47228c(0x38b),_0x396a75[_0x396a75['OK']=0x1]='OK',_0x396a75[_0x396a75[_0x47228c(0x1aa)]=0x2]=_0x47228c(0x1aa),_0x396a75[_0x396a75['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x396a75[_0x396a75[_0x47228c(0x41c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x396a75[_0x396a75[_0x47228c(0x3f8)]=0x3eb]=_0x47228c(0x3f8),_0x396a75[_0x396a75[_0x47228c(0x19f)]=0x3ec]=_0x47228c(0x19f),_0x396a75[_0x396a75['UNRECOGNIZED']=-0x1]=_0x47228c(0x3e5),_0x396a75))(pe||{}),pi=(_0x3ce106=>(_0x3ce106[_0x3ce106[_0x47228c(0x36f)]=0x0]=_0x47228c(0x36f),_0x3ce106[_0x3ce106[_0x47228c(0x3b7)]=0x1]='HttpImport',_0x3ce106[_0x3ce106[_0x47228c(0x22e)]=0x2]=_0x47228c(0x22e),_0x3ce106[_0x3ce106[_0x47228c(0x335)]=0x3]=_0x47228c(0x335),_0x3ce106[_0x3ce106[_0x47228c(0x183)]=0x4]=_0x47228c(0x183),_0x3ce106[_0x3ce106['UserProfileImg']=0x5]=_0x47228c(0x3d3),_0x3ce106[_0x3ce106[_0x47228c(0x3e5)]=-0x1]='UNRECOGNIZED',_0x3ce106))(pi||{});const Os=_0x47228c(0x40e);function bs(_0xee6cc8){var _0xb4c70c=_0x47228c;return JSON[_0xb4c70c(0x261)](_0xee6cc8)[_0xb4c70c(0x344)];}var ne=(_0xa72af0=>(_0xa72af0[_0x47228c(0x251)]=_0x47228c(0x251),_0xa72af0[_0x47228c(0x374)]=_0x47228c(0x374),_0xa72af0['CONFLICT']='CONFLICT',_0xa72af0[_0x47228c(0x2f3)]=_0x47228c(0x2f3),_0xa72af0[_0x47228c(0x27e)]=_0x47228c(0x27e),_0xa72af0[_0x47228c(0x18c)]=_0x47228c(0x18c),_0xa72af0['SOCKET_FAILED']=_0x47228c(0x3c4),_0xa72af0[_0x47228c(0x390)]=_0x47228c(0x390),_0xa72af0))(ne||{});class ve{constructor(){var _0x471157=_0x47228c;N(this,_0x471157(0x2b8),new _0x105634()),N(this,_0x471157(0x241),this[_0x471157(0x2b8)][_0x471157(0x14a)]());}['emitEvent'](_0x18e139){var _0x11b403=_0x47228c;this[_0x11b403(0x2b8)][_0x11b403(0x426)](_0x18e139);}}class mi{constructor(){var _0x2af520=_0x47228c;N(this,_0x2af520(0x172),new _0x105634()),N(this,'commentUpdate$',this[_0x2af520(0x172)][_0x2af520(0x14a)]());}['onCommentUpdate'](_0x29aa8c){var _0x556eef=_0x47228c;this[_0x556eef(0x172)][_0x556eef(0x426)](_0x29aa8c);}}var ys=Object[_0x47228c(0x3d5)],Ns=(_0x1bac34,_0x33cf7c,_0x34429c,_0x577ca9)=>{for(var _0xd9fb93=_0x577ca9>0x1?void 0x0:_0x577ca9?ys(_0x33cf7c,_0x34429c):_0x33cf7c,_0x581c31=_0x1bac34['length']-0x1,_0x511641;_0x581c31>=0x0;_0x581c31--)(_0x511641=_0x1bac34[_0x581c31])&&(_0xd9fb93=_0x511641(_0xd9fb93)||_0xd9fb93);return _0xd9fb93;},Ft=(_0x583fad,_0x40a2cf)=>(_0x2bfd47,_0x2d9412)=>_0x40a2cf(_0x2bfd47,_0x2d9412,_0x583fad);let we=class extends _0x53c149{constructor(_0x5db63b,_0x4c81e5){var _0x5be8ba=_0x47228c;super(),N(this,_0x5be8ba(0x31c),new Map()),N(this,'_roomCreated$',new _0x105634()),(this[_0x5be8ba(0x1a5)]=_0x5db63b,this['_userManagerService']=_0x4c81e5,this['disposeWithMe'](_0x3ce8ce(this[_0x5be8ba(0x1a5)][_0x5be8ba(0x248)](_0x390c45[_0x5be8ba(0x21c)])['pipe'](_0x4395b4(_0x17d41a=>_0x17d41a[_0x5be8ba(0x187)]())),this[_0x5be8ba(0x1a5)][_0x5be8ba(0x248)](_0x390c45[_0x5be8ba(0x321)])[_0x5be8ba(0x231)](_0x4395b4(_0x52631e=>_0x52631e['getUnitId']())),this[_0x5be8ba(0x1a5)][_0x5be8ba(0x248)](_0x390c45[_0x5be8ba(0x184)])[_0x5be8ba(0x231)](_0x4395b4(_0x4d408b=>_0x4d408b['getUnitId']())))[_0x5be8ba(0x417)](_0x397f42=>this[_0x5be8ba(0x37f)](_0x397f42))));}[_0x47228c(0x2b2)](_0x3c5c2b){var _0x34a46b=_0x47228c;return this['_roomMembers'][_0x34a46b(0x1b9)](_0x3c5c2b)?_0x43c5de(this[_0x34a46b(0x31c)][_0x34a46b(0x2b6)](_0x3c5c2b)):this[_0x34a46b(0x3a9)][_0x34a46b(0x231)](_0x4395b4(_0x1a0f29=>{var _0x434967=_0x34a46b;if(_0x1a0f29===_0x3c5c2b)return this[_0x434967(0x31c)][_0x434967(0x2b6)](_0x1a0f29);}));}['setCurrentUser'](_0x4bdebe){var _0x854be3=_0x47228c;this[_0x854be3(0x2dc)]['setCurrentUser'](_0x4bdebe);}[_0x47228c(0x340)](){var _0x182df9=_0x47228c;return this['_userManagerService'][_0x182df9(0x340)]();}[_0x47228c(0x16d)](_0x3a78bd,_0x14b796){var _0x3c26da=_0x47228c;let _0x5a0736=this[_0x3c26da(0x31c)][_0x3c26da(0x2b6)](_0x3a78bd);_0x5a0736||(_0x5a0736=new Ds(),this[_0x3c26da(0x31c)]['set'](_0x3a78bd,_0x5a0736),this[_0x3c26da(0x3a9)][_0x3c26da(0x426)](_0x3a78bd)),_0x5a0736[_0x3c26da(0x16d)](_0x14b796);}[_0x47228c(0x1f5)](_0x4bdd01,_0x173126){var _0x38fcd3=_0x47228c;const _0x94efe5=this[_0x38fcd3(0x31c)]['get'](_0x4bdd01);_0x94efe5&&_0x94efe5[_0x38fcd3(0x1f5)](_0x173126);}[_0x47228c(0x229)](_0x941978){var _0x4bd9d7=_0x47228c;return this[_0x4bd9d7(0x31c)][_0x4bd9d7(0x2b6)](_0x941978);}[_0x47228c(0x152)](_0x15c313,_0xd94954){var _0x9fa7ce=_0x47228c;const _0x3d9f7c=this[_0x9fa7ce(0x31c)]['get'](_0x15c313);if(_0x3d9f7c)return _0x3d9f7c[_0x9fa7ce(0x152)](_0xd94954);}[_0x47228c(0x37f)](_0x62c457){var _0x57fdad=_0x47228c;const _0x17cf5e=this[_0x57fdad(0x31c)][_0x57fdad(0x2b6)](_0x62c457);_0x17cf5e&&(_0x17cf5e[_0x57fdad(0x3de)](),this[_0x57fdad(0x31c)]['delete'](_0x62c457));}[_0x47228c(0x3de)](){var _0x55827f=_0x47228c;this[_0x55827f(0x31c)][_0x55827f(0x39d)](_0x2cf797=>_0x2cf797[_0x55827f(0x3de)]()),this[_0x55827f(0x31c)][_0x55827f(0x3df)](),this[_0x55827f(0x3a9)][_0x55827f(0x2d6)]();}};we=Ns([Ft(0x0,_0x6f36d2),Ft(0x1,_0xc239af(_0x362937))],we);class Ds extends _0x53c149{constructor(){var _0x108400=_0x47228c;super(...arguments),N(this,'_members',new Map()),N(this,_0x108400(0x302),new _0x6f618b(this[_0x108400(0x411)])),N(this,_0x108400(0x2fa),this['_members$'][_0x108400(0x14a)]());}[_0x47228c(0x3de)](){var _0x18d972=_0x47228c;this['_members'][_0x18d972(0x3df)]();}[_0x47228c(0x16d)](_0x1fbaa8){var _0x53527a=_0x47228c;this['_members']['set'](_0x1fbaa8[_0x53527a(0x1e2)],_0x1fbaa8),this[_0x53527a(0x3f0)]();}['removeMember'](_0x3c5097){var _0x504b09=_0x47228c;this[_0x504b09(0x411)]['delete'](_0x3c5097);}[_0x47228c(0x152)](_0x2f9a1c){var _0x29539b=_0x47228c;return this['_members'][_0x29539b(0x2b6)](_0x2f9a1c);}['getAllMembers'](){var _0x17ee91=_0x47228c;return Array['from'](this['_members'][_0x17ee91(0x1e4)]());}[_0x47228c(0x3f0)](){var _0xd564fe=_0x47228c;this[_0xd564fe(0x302)][_0xd564fe(0x426)](this[_0xd564fe(0x411)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x5dc7a7,_0x57e39a,_0x36c8d3,_0x4647b3)=>{var _0x5c7df4=_0x47228c;for(var _0x183a9b=_0x4647b3>0x1?void 0x0:_0x4647b3?Us(_0x57e39a,_0x36c8d3):_0x57e39a,_0x3e7932=_0x5dc7a7[_0x5c7df4(0x344)]-0x1,_0x113adc;_0x3e7932>=0x0;_0x3e7932--)(_0x113adc=_0x5dc7a7[_0x3e7932])&&(_0x183a9b=_0x113adc(_0x183a9b)||_0x183a9b);return _0x183a9b;},Ce=(_0x5012e4,_0x3704ac)=>(_0x2bb4fe,_0x570df3)=>_0x3704ac(_0x2bb4fe,_0x570df3,_0x5012e4),ge=(_0x3327e2=>(_0x3327e2[_0x3327e2[_0x47228c(0x1bb)]=0x0]=_0x47228c(0x1bb),_0x3327e2[_0x3327e2[_0x47228c(0x418)]=0x1]='JOINING',_0x3327e2[_0x3327e2[_0x47228c(0x386)]=0x2]='OFFLINE',_0x3327e2[_0x3327e2[_0x47228c(0x2e1)]=0x3]=_0x47228c(0x2e1),_0x3327e2))(ge||{});const Vt={[pe[_0x47228c(0x1aa)]]:'session.join-failed',[pe['JOIN_ROOM_FULL']]:'session.room-full',[pe[_0x47228c(0x41c)]]:_0x47228c(0x32f),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x47228c(0x32a),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x47228c(0x3fe)};let gt=class extends _0x28cd13{constructor(_0x633146,_0x4de112,_0x24c220,_0x297e0a,_0x1c90b9,_0x4864b9,_0xd7b88b,_0x2717e1){var _0x12010d=_0x47228c;super(),N(this,_0x12010d(0x26f),new _0x6f618b(0x0)),N(this,_0x12010d(0x2b7),this[_0x12010d(0x26f)][_0x12010d(0x14a)]()),N(this,_0x12010d(0x2b8),new _0x105634()),N(this,_0x12010d(0x241),this[_0x12010d(0x2b8)][_0x12010d(0x14a)]()),N(this,_0x12010d(0x309)),N(this,_0x12010d(0x3be)),N(this,_0x12010d(0x21f)),N(this,_0x12010d(0x236),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x633146,this['_logService']=_0x24c220,this[_0x12010d(0x363)]=_0x297e0a,this[_0x12010d(0x3c2)]=_0x1c90b9,this['_commentService']=_0x4864b9,this['_collaborationUIEventService']=_0xd7b88b,this[_0x12010d(0x36b)]=_0x2717e1,this[_0x12010d(0x236)]=!!this[_0x12010d(0x36b)],_0x4de112[_0x12010d(0x231)](_0x28c423(this['dispose$']))['subscribe'](_0x27da06=>{var _0x3bd80e=_0x12010d,_0xc0cd36;typeof _0x27da06>'u'||(this[_0x3bd80e(0x309)]=_0x27da06,_0x27da06?(this[_0x3bd80e(0x23b)](_0x27da06),this['_socketMessageSubscription']=_0x27da06[_0x3bd80e(0x19e)][_0x3bd80e(0x417)](_0x50b670=>{var _0x46938c=_0x3bd80e;_0x50b670[_0x46938c(0x347)]===this['_unitID']&&this['_onCombEvent'](_0x50b670);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3bd80e(0x26f)][_0x3bd80e(0x426)](0x2),(_0xc0cd36=this[_0x3bd80e(0x3be)])==null||_0xc0cd36[_0x3bd80e(0x1af)](),this[_0x3bd80e(0x3be)]=null));}));}get[_0x47228c(0x3b8)](){var _0x50bfbd=_0x47228c;return this['_sessionStatus$'][_0x50bfbd(0x3c0)]();}['getMemberID'](){var _0x4df77f=_0x47228c,_0x33c2db,_0x509216;return(_0x509216=(_0x33c2db=this['_socket'])==null?void 0x0:_0x33c2db[_0x4df77f(0x1e2)])!=null?_0x509216:null;}[_0x47228c(0x3de)](){var _0x363877=_0x47228c;super[_0x363877(0x3de)](),this[_0x363877(0x2b9)][_0x363877(0x426)](),this[_0x363877(0x2b9)][_0x363877(0x2d6)]();}[_0x47228c(0x141)](){var _0x548b91=_0x47228c,_0x20a93b,_0x47b708;this[_0x548b91(0x2a2)](),(_0x20a93b=this[_0x548b91(0x309)])==null||_0x20a93b['send']({'cmd':F[_0x548b91(0x2f1)],'data':{'roomID':this[_0x548b91(0x34d)]}}),(_0x47b708=this[_0x548b91(0x309)])==null||_0x47b708['close'](),this[_0x548b91(0x2b8)][_0x548b91(0x2d6)](),this['_sessionStatus$'][_0x548b91(0x2d6)](),this['dispose']();}[_0x47228c(0x377)](_0x390e61){var _0x3cb7b8=_0x47228c;_0x390e61[_0x3cb7b8(0x3a7)]===F[_0x3cb7b8(0x42b)]?this[_0x3cb7b8(0x2f4)](_0x390e61):_0x390e61[_0x3cb7b8(0x3a7)]===F[_0x3cb7b8(0x2f8)]&&this[_0x3cb7b8(0x17b)](_0x390e61);}[_0x47228c(0x23b)](_0x4b9b1c){var _0x709f45=_0x47228c;this[_0x709f45(0x26f)]['next'](0x1),_0x4b9b1c[_0x709f45(0x2cf)]({'cmd':F[_0x709f45(0x42b)],'routeKey':this[_0x709f45(0x34d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x709f45(0x34d)]}]}});}['_onJoinRoomEvent'](_0x4de55b){var _0x1d54b6=_0x47228c,_0x2af941;if(_0x4de55b[_0x1d54b6(0x37e)]in Vt){this[_0x1d54b6(0x24f)][_0x1d54b6(0x18f)]({'id':ne[_0x1d54b6(0x27e)],'data':Vt[_0x4de55b[_0x1d54b6(0x37e)]]}),this[_0x1d54b6(0x26f)][_0x1d54b6(0x426)](0x2);return;}this['_sessionStatus$'][_0x1d54b6(0x426)](0x3);const _0x731f6a=(_0x2af941=_0x4de55b[_0x1d54b6(0x23f)][_0x1d54b6(0x245)][this[_0x1d54b6(0x34d)]])==null?void 0x0:_0x2af941[_0x1d54b6(0x292)];_0x731f6a&&_0x731f6a['forEach'](_0x44b91a=>this[_0x1d54b6(0x3c2)][_0x1d54b6(0x16d)](this['_unitID'],_0x44b91a));}[_0x47228c(0x17b)](_0x560322){var _0x282502=_0x47228c;try{const _0x479081=_0x560322['data'];switch(_0x479081[_0x282502(0x3f5)]){case _0xc7c78a[_0x282502(0x38a)]:this[_0x282502(0x289)](_0x479081),this[_0x282502(0x2b8)]['next'](_0x479081);break;case _0xc7c78a[_0x282502(0x41a)]:this[_0x282502(0x1c6)](_0x479081),this[_0x282502(0x2b8)][_0x282502(0x426)](_0x479081);break;case _0xc7c78a['CHANGESET_ACK']:case _0xc7c78a['CHANGESET_SHOULD_RETRY']:this[_0x282502(0x205)](),this['_clearCollaborationTimeoutTimer'](),this[_0x282502(0x2b8)][_0x282502(0x426)](_0x479081);break;case _0xc7c78a[_0x282502(0x29f)]:this[_0x282502(0x36e)]['error'](_0x282502(0x1fa)+JSON[_0x282502(0x261)](_0x479081)),this[_0x282502(0x2b8)]['next'](_0x479081);break;case _0xc7c78a[_0x282502(0x380)]:this[_0x282502(0x303)][_0x282502(0x1ed)](_0x479081[_0x282502(0x23f)]),this['_event$'][_0x282502(0x426)](_0x479081);break;default:this[_0x282502(0x2b8)]['next'](_0x479081);}}catch(_0x4e5be8){this['_logService'][_0x282502(0x1ce)](_0x4e5be8,_0x560322);}}[_0x47228c(0x289)](_0x330558){var _0xdc4eed=_0x47228c;this[_0xdc4eed(0x3c2)][_0xdc4eed(0x16d)](this[_0xdc4eed(0x34d)],_0x330558[_0xdc4eed(0x23f)]);}['_onUserLeave'](_0xf1547f){var _0x111833=_0x47228c;this[_0x111833(0x3c2)][_0x111833(0x1f5)](this['_unitID'],_0xf1547f[_0x111833(0x23f)][_0x111833(0x1e2)]);}async[_0x47228c(0x2cf)](_0x3ed075,_0x5b1c5a){var _0x527aaf=_0x47228c;if(this[_0x527aaf(0x3b8)]!==0x3||!this['_socket'])throw new Error(_0x527aaf(0x310));try{_0x3ed075[_0x527aaf(0x3f5)]===_0xc7c78a[_0x527aaf(0x1ad)]&&(this[_0x527aaf(0x39a)](),this[_0x527aaf(0x12c)](_0x3ed075)),this['_socket'][_0x527aaf(0x2cf)]({'cmd':F['INGEST'],'routeKey':_0x5b1c5a,'routeType':'','data':_0x3ed075});}catch(_0x4206b5){this[_0x527aaf(0x36e)]['error'](_0x4206b5);}}[_0x47228c(0x39a)](){var _0x1e7da0=_0x47228c,_0xa61b84;this[_0x1e7da0(0x21f)]=setTimeout(()=>{var _0x40be52=_0x1e7da0;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x40be52(0x390)]});},(_0xa61b84=this[_0x1e7da0(0x363)][_0x1e7da0(0x3ff)](di))!=null?_0xa61b84:fi);}[_0x47228c(0x378)](){var _0x12f0c3=_0x47228c;this[_0x12f0c3(0x21f)]&&(clearTimeout(this[_0x12f0c3(0x21f)]),this[_0x12f0c3(0x21f)]=null);}[_0x47228c(0x12c)](_0x37d056){var _0x4f4ae2=_0x47228c;if(!this['_shouldReportTelemetry'])return;const {data:_0x1fe0fb}=_0x37d056,{unitID:_0x42dab5,changeset:_0x4dc251}=_0x1fe0fb,{mutations:_0x1c4ee3,type:_0x1f44c9}=_0x4dc251;this[_0x4f4ae2(0x1a4)]={'unitId':_0x42dab5,'type':_0x1f44c9,'startTime':performance[_0x4f4ae2(0x34a)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x1c4ee3)};}[_0x47228c(0x205)](){var _0x192238=_0x47228c;if(this[_0x192238(0x236)]){if(!this[_0x192238(0x1a4)]){this[_0x192238(0x36e)][_0x192238(0x1ce)](_0x192238(0x40f),_0x192238(0x3c8));return;}this[_0x192238(0x1a4)][_0x192238(0x39f)]=performance[_0x192238(0x34a)](),this[_0x192238(0x1a4)]['duration']=this[_0x192238(0x1a4)][_0x192238(0x39f)]-this[_0x192238(0x1a4)][_0x192238(0x223)],this[_0x192238(0x36b)][_0x192238(0x3b2)](Os,this['_telemetryInfo']),this[_0x192238(0x1a4)]=null;}}[_0x47228c(0x2a2)](){var _0x2672b4=_0x47228c;this[_0x2672b4(0x1a4)]=null;}};gt=As([Ce(0x2,_0x21a42f),Ce(0x3,_0x475c66),Ce(0x4,_0xc239af(we)),Ce(0x5,_0xc239af(mi)),Ce(0x6,_0xc239af(ve)),Ce(0x7,_0x4bf004(_0x286028))],gt);const J=_0x4ee518('collaboration-client.local-cache-service');function br(_0x5f15bf){var _0x19b0e9=_0x47228c;return _0x19b0e9(0x326)+_0x5f15bf;}var ws=Object[_0x47228c(0x3d5)],Ps=(_0x5c22da,_0x4cb687,_0xad6e5c,_0x44fa99)=>{var _0x1ad9a5=_0x47228c;for(var _0x1c9d7e=_0x44fa99>0x1?void 0x0:_0x44fa99?ws(_0x4cb687,_0xad6e5c):_0x4cb687,_0x2022dc=_0x5c22da[_0x1ad9a5(0x344)]-0x1,_0x4ffa9b;_0x2022dc>=0x0;_0x2022dc--)(_0x4ffa9b=_0x5c22da[_0x2022dc])&&(_0x1c9d7e=_0x4ffa9b(_0x1c9d7e)||_0x1c9d7e);return _0x1c9d7e;},ut=(_0x296633,_0x1c3598)=>(_0x2645d8,_0x29944b)=>_0x1c3598(_0x2645d8,_0x29944b,_0x296633);function Ms(_0x4e37c7){var _0x27d2c9=_0x47228c;const {unitID:_0xf9d7e6,mutations:_0x275625}=_0x4e37c7;return{'unitId':_0xf9d7e6,'subUnitId':_0x275625[0x0][_0x27d2c9(0x2a6)][_0x27d2c9(0x2ec)]};}let it=class{constructor(_0x515711,_0x245e5f,_0x3047d3){var _0x90382d=_0x47228c;this[_0x90382d(0x356)]=_0x515711,this['_transformService']=_0x245e5f,this[_0x90382d(0x38d)]=_0x3047d3;}[_0x47228c(0x3e7)](_0x21cbd0){var _0x17b71a=_0x47228c,_0x234e5d,_0x568a4e,_0x47a38a,_0x5af005;const _0x27c17c=this[_0x17b71a(0x356)][_0x17b71a(0x2b6)](_0x229f5e),{unitId:_0x18eaf9,subUnitId:_0x2cb41c}=Ms(_0x21cbd0),_0x3a4648=_0x27c17c==null?void 0x0:_0x27c17c[_0x17b71a(0x1ee)](_0x18eaf9)[_0x17b71a(0x294)](),_0x302b46=(_0x568a4e=(_0x234e5d=this[_0x17b71a(0x38d)][_0x17b71a(0x1ea)](_0x18eaf9))==null?void 0x0:_0x234e5d['getActiveSheet']())==null?void 0x0:_0x568a4e[_0x17b71a(0x17d)]();if(_0x3a4648[_0x17b71a(0x344)]===0x0||!_0x18eaf9||!_0x2cb41c)return;const _0x5e7c1c=[{'id':_0x42fd1b['id'],'params':{'unitId':_0x18eaf9,'subUnitId':_0x302b46,'selections':_0x4e4485['deepClone'](_0x3a4648)}}],_0x465577=this[_0x17b71a(0x1db)][_0x17b71a(0x318)](_0x21cbd0,_0x5e7c1c);if(!_0x847b75(_0x465577))throw _0x465577[_0x17b71a(0x1ce)];const _0x521d04=(_0x5af005=(_0x47a38a=_0x465577[_0x17b71a(0x2c8)][0x0])==null?void 0x0:_0x47a38a[_0x17b71a(0x2a6)])==null?void 0x0:_0x5af005['selections'];if(Array['isArray'](_0x521d04)&&_0x521d04[_0x17b71a(0x344)]){if(_0x521d04[_0x17b71a(0x344)]===_0x5e7c1c[0x0][_0x17b71a(0x2a6)][_0x17b71a(0x3bd)]['length']&&_0x521d04['every']((_0x402530,_0x1c583a)=>_0xd2b951[_0x17b71a(0x24a)](_0x402530['range'],_0x5e7c1c[0x0][_0x17b71a(0x2a6)][_0x17b71a(0x3bd)][_0x1c583a]['range'])))return;this[_0x17b71a(0x356)][_0x17b71a(0x2b6)](_0xccbcfa)[_0x17b71a(0x285)](_0x42fd1b['id'],{'unitId':_0x18eaf9,'subUnitId':_0x302b46,'selections':_0x521d04});}}};it=Ps([ut(0x0,_0xc239af(_0x5022d2)),ut(0x1,_0x22fc1f),ut(0x2,_0x6f36d2)],it);const ht=_0x4ee518(_0x47228c(0x2c6));var gi=(_0x5ee599=>(_0x5ee599[_0x5ee599[_0x47228c(0x2a3)]=0x0]=_0x47228c(0x2a3),_0x5ee599[_0x5ee599['OTHER_CLIENTS_EDITING']=0x1]=_0x47228c(0x265),_0x5ee599))(gi||{});const K=_0x47228c(0x3dc),Ls={},xs=new Set([_0x5e8fe7['id']]);function Wt(_0x25ce3e,_0x16d4c7,_0x31474b,_0x27b47f,_0x1fdce4){var _0x21914b=_0x47228c,_0x586d19,_0x168cb3,_0x1ed80e,_0x3a206f;const _0x35a204=[];for(const _0x43c85b of _0x25ce3e)if(xs[_0x21914b(0x1b9)](_0x43c85b['id'])){if(_0x35a204[_0x21914b(0x344)]>0x0)break;_0x35a204[_0x21914b(0x198)](_0x43c85b);break;}else _0x35a204[_0x21914b(0x198)](_0x43c85b);const _0x310ea9=(_0x168cb3=(_0x586d19=_0x1fdce4['getCurrentUser']())==null?void 0x0:_0x586d19[_0x21914b(0x1f2)])!=null?_0x168cb3:'unknown',_0x32f774=(_0x3a206f=(_0x1ed80e=_0x1fdce4[_0x21914b(0x340)]())==null?void 0x0:_0x1ed80e[_0x21914b(0x1e2)])!=null?_0x3a206f:_0x21914b(0x2ed);return{'changeset':{'unitID':_0x16d4c7,'type':_0x2bc809(_0x31474b['getUnitType'](_0x16d4c7)),'baseRev':_0x27b47f[_0x21914b(0x3b3)](_0x16d4c7),'revision':0x0,'userID':_0x310ea9,'memberID':_0x32f774,'mutations':_0x35a204},'pendingMutations':_0x25ce3e[_0x21914b(0x20c)](_0x35a204[_0x21914b(0x344)])};}function ks(_0x3fb9e0,_0x212ad7,_0x2a6c43,_0x5e530f,_0x5a3cb2){var _0x1c5193=_0x47228c,_0x477681,_0x485dee,_0x5e1ca2,_0x27c285;const _0x2bdd63=[_0x3fb9e0[_0x1c5193(0x355)]((_0x43a395,_0x55a037)=>{var _0xa4479e=_0x1c5193,_0x2c49cc;const {id:_0x5c0ae2}=_0x43a395,{id:_0x4b0aac,type:_0x4250de}=_0x55a037,_0xaf473e=(_0x2c49cc=_0x43a395[_0xa4479e(0x2a6)])!=null?_0x2c49cc:{'actions':null},_0x40f492=_0x55a037[_0xa4479e(0x2a6)];if(_0x5c0ae2&&_0x5c0ae2!==_0x4b0aac)throw new Error(_0xa4479e(0x228)+_0x5c0ae2+'\x20-\x20'+_0x4b0aac+'.');return{..._0x43a395,'id':_0x4b0aac,'type':_0x4250de,'params':{'unitId':_0x40f492[_0xa4479e(0x322)],'textRanges':_0x40f492[_0xa4479e(0x199)],'actions':_0x433bf9[_0xa4479e(0x299)](_0xaf473e[_0xa4479e(0x136)],_0x40f492[_0xa4479e(0x136)])}};},{})],_0x2aa6bf=(_0x485dee=(_0x477681=_0x5a3cb2['getCurrentUser']())==null?void 0x0:_0x477681['userID'])!=null?_0x485dee:_0x1c5193(0x2ed),_0x2b66ce=(_0x27c285=(_0x5e1ca2=_0x5a3cb2[_0x1c5193(0x340)]())==null?void 0x0:_0x5e1ca2[_0x1c5193(0x1e2)])!=null?_0x27c285:_0x1c5193(0x2ed);return{'changeset':{'unitID':_0x212ad7,'type':_0x2bc809(_0x2a6c43['getUnitType'](_0x212ad7)),'baseRev':_0x5e530f['getCurrentRevOfUnit'](_0x212ad7),'revision':0x0,'userID':_0x2aa6bf,'memberID':_0x2b66ce,'mutations':_0x2bdd63},'pendingMutations':[]};}function Si(_0x179e3f,_0x384045){var _0x4d3fce=_0x47228c;const _0x3ba716=new _0x542c68(0x1);return setTimeout(()=>_0x3ba716[_0x4d3fce(0x426)](_0x384045),_0x179e3f),_0x3ba716[_0x4d3fce(0x14a)]()[_0x4d3fce(0x231)](_0x5ec3e5(0x1));}const $s={'id':_0x33d5bb['id'],'type':_0xef926e['MUTATION'],'params':{}};var Hs=Object[_0x47228c(0x3d5)],Ee=(_0xfa020f,_0x346b2e,_0x364da4,_0xf7bba1)=>{for(var _0x20a3a3=_0xf7bba1>0x1?void 0x0:_0xf7bba1?Hs(_0x346b2e,_0x364da4):_0x346b2e,_0x9d7aad=_0xfa020f['length']-0x1,_0x4b78f2;_0x9d7aad>=0x0;_0x9d7aad--)(_0x4b78f2=_0xfa020f[_0x9d7aad])&&(_0x20a3a3=_0x4b78f2(_0x20a3a3)||_0x20a3a3);return _0x20a3a3;},P=(_0x1d6161,_0x5cab6a)=>(_0x3040e8,_0x1fda8e)=>_0x5cab6a(_0x3040e8,_0x1fda8e,_0x1d6161),Ei=(_0x59ef1c=>(_0x59ef1c[_0x47228c(0x32c)]=_0x47228c(0x338),_0x59ef1c['SYNCED']=_0x47228c(0x315),_0x59ef1c[_0x47228c(0x3d6)]=_0x47228c(0x2cc),_0x59ef1c[_0x47228c(0x1e1)]=_0x47228c(0x2d7),_0x59ef1c[_0x47228c(0x308)]=_0x47228c(0x26e),_0x59ef1c[_0x47228c(0x239)]='fetch_missing',_0x59ef1c[_0x47228c(0x413)]=_0x47228c(0x3e1),_0x59ef1c[_0x47228c(0x386)]=_0x47228c(0x407),_0x59ef1c))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x3c43c1,_0x5cc31d,_0x5ed59f,_0x215d46,_0x15a2f0,_0x4a6d56,_0x226fd3,_0x157cd7,_0x51d98c){var _0x1e469d=_0x47228c;N(this,_0x1e469d(0x316),null),N(this,_0x1e469d(0x38c),[]),(this[_0x1e469d(0x25a)]=_0x3c43c1,this['type']=_0x5cc31d,this[_0x1e469d(0x1eb)]=_0x15a2f0,this[_0x1e469d(0x369)]=_0x4a6d56,this['_undoRedoService']=_0x226fd3,this[_0x1e469d(0x226)]=_0x157cd7,this['_localCacheService']=_0x51d98c,this[_0x1e469d(0x316)]=_0x5ed59f,this[_0x1e469d(0x38c)]=_0x215d46);}[_0x47228c(0x2bd)](_0x141817){var _0x5c5901=_0x47228c;const _0x45c075=this[_0x5c5901(0x226)][_0x5c5901(0x3b3)](this[_0x5c5901(0x25a)]);return _0x141817[_0x5c5901(0x402)]>_0x45c075+0x1?(this['_handler']['onMissingChangesets']({'from':_0x45c075,'to':_0x141817[_0x5c5901(0x402)]-0x1}),!0x0):!0x1;}[_0x47228c(0x3a3)](_0x3e7d3c){var _0x525f86=_0x47228c;this['_undoRedoService'][_0x525f86(0x1c9)](this[_0x525f86(0x25a)],_0x3e7d3c);}[_0x47228c(0x35f)](_0x1d8a64){var _0x5ac97c=_0x47228c,_0x24eae0,_0x3d39ba;(_0x3d39ba=(_0x24eae0=this[_0x5ac97c(0x1eb)])[_0x5ac97c(0x334)])==null||_0x3d39ba[_0x5ac97c(0x16c)](_0x24eae0,_0x1d8a64);}[_0x47228c(0x27a)](_0x4be4b7){var _0x1f119a=_0x47228c,_0x3a7d93,_0x475b29;return(_0x475b29=(_0x3a7d93=this[_0x1f119a(0x1eb)])[_0x1f119a(0x393)])==null?void 0x0:_0x475b29['call'](_0x3a7d93,_0x4be4b7);}[_0x47228c(0x429)](_0x35f455){var _0x37ae19=_0x47228c,_0x4e291b,_0x49c8da;return(_0x49c8da=(_0x4e291b=this[_0x37ae19(0x1eb)])[_0x37ae19(0x146)])==null?void 0x0:_0x49c8da[_0x37ae19(0x16c)](_0x4e291b,_0x35f455);}[_0x47228c(0x3fb)](_0x2169ab){var _0x3cac55=_0x47228c,_0x42c68c,_0x6e83d7,_0x211192;return(_0x211192=(_0x6e83d7=(_0x42c68c=this[_0x3cac55(0x1eb)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x6e83d7[_0x3cac55(0x16c)](_0x42c68c,_0x2169ab))!=null?_0x211192:_0x2169ab;}[_0x47228c(0x26a)](_0x540e59){var _0x455f9a=_0x47228c,_0x1484c3,_0x113e77,_0x2b01f2;return(_0x2b01f2=(_0x113e77=(_0x1484c3=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x113e77[_0x455f9a(0x16c)](_0x1484c3,_0x540e59))!=null?_0x2b01f2:_0x540e59;}[_0x47228c(0x3cd)](_0x5cf003){var _0x42419a=_0x47228c,_0x1e754b,_0x137167;if(this['type']===Z[_0x42419a(0x321)]){const {unitID:_0xb80c9e,mutations:_0x4eac53,memberID:_0x22a785}=_0x5cf003,_0x4ca83e=_0x4eac53[0x0][_0x42419a(0x2a6)][_0x42419a(0x199)];Array[_0x42419a(0x23a)](_0x4ca83e)&&_0x4ca83e[_0x42419a(0x344)]>0x0&&((_0x137167=(_0x1e754b=this[_0x42419a(0x1eb)])[_0x42419a(0x3ea)])==null||_0x137167[_0x42419a(0x16c)](_0x1e754b,{'unitID':_0xb80c9e,'memberID':_0x22a785,'textRanges':_0x4ca83e}));}}['_updateLocalCache'](){var _0x11c07c=_0x47228c,_0x440488;(_0x440488=this[_0x11c07c(0x24e)])==null||_0x440488['updateOfflineData'](this[_0x11c07c(0x25a)],this['type'],this['_awaitingChangeset'],this[_0x11c07c(0x38c)]);}[_0x47228c(0x28d)](){var _0x7456ec=_0x47228c;return this[_0x7456ec(0x226)][_0x7456ec(0x3b3)](this[_0x7456ec(0x25a)]);}['_incrementRevisionNumber'](){var _0x24542e=_0x47228c;this[_0x24542e(0x226)]['incrementRevOfUnit'](this[_0x24542e(0x25a)]);}[_0x47228c(0x25e)](_0x40bb4a){var _0x50ec41=_0x47228c,_0x44b066;let _0x20a2ba=this[_0x50ec41(0x3fb)](_0x40bb4a);_0x20a2ba=this[_0x50ec41(0x26a)](_0x20a2ba);const _0x210d6f=_0x4ba5ae(_0x20a2ba[_0x50ec41(0x14d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x210d6f[_0x50ec41(0x2c1)])throw _0x210d6f[_0x50ec41(0x1ce)]instanceof Error?_0x210d6f[_0x50ec41(0x1ce)]:new Error((_0x44b066=_0x210d6f['error'])!=null?_0x44b066:_0x50ec41(0x2b3));this['_transformIMECache'](_0x20a2ba),this[_0x50ec41(0x429)](_0x20a2ba),this[_0x50ec41(0x3a3)](_0x40bb4a),this[_0x50ec41(0x35f)](_0x20a2ba),this[_0x50ec41(0x3cd)](_0x20a2ba),this[_0x50ec41(0x3b1)]();}}let ye=class extends Ie{constructor(_0x4132ed,_0x823f93,_0x109c64,_0x437f44,_0x25d413,_0x563d92,_0x3eca48,_0x17b4cf,_0x22074e,_0x2d49bd){var _0x46fb5b=_0x47228c;super(_0x4132ed,_0x823f93,null,[],_0x109c64,_0x3eca48,_0x563d92,_0x437f44,_0x2d49bd),N(this,'status',_0x46fb5b(0x315)),(this['_injector']=_0x25d413,this[_0x46fb5b(0x36e)]=_0x17b4cf,this['_transformService']=_0x22074e,this[_0x46fb5b(0x384)]=_0x2d49bd);}[_0x47228c(0x422)](_0x1cb84c){var _0x34baf4=_0x47228c;const _0x35fd9e=this[_0x34baf4(0x356)][_0x34baf4(0x22f)](re,this[_0x34baf4(0x25a)],this[_0x34baf4(0x2da)],[_0x1cb84c],this[_0x34baf4(0x1eb)]);return _0x35fd9e[_0x34baf4(0x367)](),_0x35fd9e[_0x34baf4(0x305)](),_0x35fd9e;}['onRemoteChangeset'](_0x1bd8f0){var _0x5053b2=_0x47228c;if(this[_0x5053b2(0x2bd)](_0x1bd8f0))return this[_0x5053b2(0x356)][_0x5053b2(0x22f)](Q,this[_0x5053b2(0x25a)],this[_0x5053b2(0x2da)],null,[],null,[_0x1bd8f0],this[_0x5053b2(0x1eb)]);try{const _0x68edfc=this[_0x5053b2(0x1db)][_0x5053b2(0x318)](_0x1bd8f0,[$s]);if(_0x847b75(_0x68edfc)){const {c1Prime:_0x4f220c}=_0x68edfc;return this[_0x5053b2(0x25e)](_0x4f220c),this;}throw _0x68edfc[_0x5053b2(0x1ce)];}catch(_0x503863){return this['_logService'][_0x5053b2(0x1ce)](_0x503863),this[_0x5053b2(0x379)](!0x1);}}['_onConflict'](_0x422772){var _0x403577=_0x47228c;return this['_injector'][_0x403577(0x22f)](le,this['unitID'],this[_0x403577(0x2da)],null,[],this[_0x403577(0x1eb)],_0x422772);}[_0x47228c(0x147)](){var _0x2438b8=_0x47228c;throw new Error(_0x2438b8(0x150));}[_0x47228c(0x29d)](){var _0x4a2128=_0x47228c;throw new Error(_0x4a2128(0x388));}[_0x47228c(0x250)](){return this;}['toggleOffline'](){var _0x530d2a=_0x47228c;return this[_0x530d2a(0x356)]['createInstance'](ue,this['unitID'],this[_0x530d2a(0x2da)],null,[],this[_0x530d2a(0x1eb)]);}[_0x47228c(0x3ee)](){return this;}[_0x47228c(0x246)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5a6a0c=_0x47228c;const _0x159f23=this['_revisionService'][_0x5a6a0c(0x3b3)](this[_0x5a6a0c(0x25a)]);return this[_0x5a6a0c(0x1eb)][_0x5a6a0c(0x345)]({'from':_0x159f23,'to':0x0}),this['_injector']['createInstance'](Q,this['unitID'],this[_0x5a6a0c(0x2da)],null,[],null,[],this[_0x5a6a0c(0x1eb)]);}};ye=Ee([P(0x3,_0xc239af(_0x30ba57)),P(0x4,_0xc239af(_0x5022d2)),P(0x5,_0x48af92),P(0x6,_0xccbcfa),P(0x7,_0x21a42f),P(0x8,_0x22fc1f),P(0x9,_0x4bf004(J))],ye);let re=class extends Ie{constructor(_0x184db2,_0x267dd8,_0x292ff3,_0x512ee3,_0x212430,_0x453b19,_0xd6b599,_0x4bc5d7,_0x27de52,_0x4d21a4,_0x15f1db,_0x28b3ca,_0x3776c5,_0x168dea){var _0x3997e7=_0x47228c;super(_0x184db2,_0x267dd8,null,_0x292ff3,_0x512ee3,_0x27de52,_0x3776c5,_0x453b19,_0x168dea),N(this,_0x3997e7(0x293),_0x3997e7(0x2cc)),N(this,_0x3997e7(0x163),null),N(this,'_sendingTimer',null),(this[_0x3997e7(0x356)]=_0x212430,this[_0x3997e7(0x3c2)]=_0xd6b599,this[_0x3997e7(0x36e)]=_0x4bc5d7,this[_0x3997e7(0x363)]=_0x4d21a4,this[_0x3997e7(0x1db)]=_0x15f1db,this['_univerInstanceService']=_0x28b3ca);}[_0x47228c(0x422)](_0xc0ba6b){var _0x55ea44=_0x47228c;return this['_pendingMutations'][_0x55ea44(0x198)](_0xc0ba6b),this[_0x55ea44(0x305)](),this;}[_0x47228c(0x38e)](_0x16cdf9){var _0x5b9889=_0x47228c;if(this[_0x5b9889(0x2bd)](_0x16cdf9))return this[_0x5b9889(0x153)](),this['_injector'][_0x5b9889(0x22f)](Q,this[_0x5b9889(0x25a)],this['type'],null,this[_0x5b9889(0x38c)],null,[_0x16cdf9],this[_0x5b9889(0x1eb)]);try{const _0x174bf2=this[_0x5b9889(0x1db)][_0x5b9889(0x318)](_0x16cdf9,this[_0x5b9889(0x38c)]);if(_0x847b75(_0x174bf2)){const {c1Prime:_0x2a2c11,m2Prime:_0x5a5b8a}=_0x174bf2;this['_executeRemoteChangeset'](_0x2a2c11);const _0x58561f=this['_injector'][_0x5b9889(0x22f)](re,this[_0x5b9889(0x25a)],this['type'],_0x5a5b8a,this[_0x5b9889(0x1eb)]);this['_clearScheduledTask']();const _0xd5c83=new Date()['getTime'](),_0x57e749=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0xd5c83,0x0):this['_getSendChangesetTimeout']();return _0x58561f[_0x5b9889(0x367)](_0x57e749),_0x58561f;}throw _0x174bf2['error'];}catch(_0x2f4d53){return this['_logService'][_0x5b9889(0x1ce)](_0x2f4d53),this[_0x5b9889(0x379)](!0x1);}}['onRemoteAck'](){var _0x48ffe1=_0x47228c;throw new Error(_0x48ffe1(0x41e));}[_0x47228c(0x29d)](){var _0xabc722=_0x47228c;throw new Error(_0xabc722(0x364));}[_0x47228c(0x250)](){return this;}[_0x47228c(0x3e3)](){var _0x119a4b=_0x47228c;return this[_0x119a4b(0x153)](),this['_injector'][_0x119a4b(0x22f)](ue,this[_0x119a4b(0x25a)],this[_0x119a4b(0x2da)],null,this[_0x119a4b(0x38c)],this['_handler']);}[_0x47228c(0x3ee)](){return this;}[_0x47228c(0x367)](_0x39641e){var _0x525012=_0x47228c;const _0x2d03ef=_0x39641e!=null?_0x39641e:this[_0x525012(0x361)]();this[_0x525012(0x163)]=new Date()[_0x525012(0x2e2)]()+_0x2d03ef,this['_sendingTimer']=setTimeout(()=>{var _0x3c9819=_0x525012;this[_0x3c9819(0x153)]();let _0x1d7128=null;switch(this[_0x3c9819(0x2da)]){case Z['UNIVER_SHEET']:{_0x1d7128=Wt(this[_0x3c9819(0x38c)],this[_0x3c9819(0x25a)],this[_0x3c9819(0x1a5)],this[_0x3c9819(0x226)],this[_0x3c9819(0x3c2)]);break;}case Z[_0x3c9819(0x321)]:{this[_0x3c9819(0x38c)][_0x3c9819(0x410)](_0x49e483=>_0x49e483['id']===_0x15985e['id'])?_0x1d7128=ks(this[_0x3c9819(0x38c)],this[_0x3c9819(0x25a)],this[_0x3c9819(0x1a5)],this[_0x3c9819(0x226)],this[_0x3c9819(0x3c2)]):_0x1d7128=Wt(this[_0x3c9819(0x38c)],this[_0x3c9819(0x25a)],this[_0x3c9819(0x1a5)],this[_0x3c9819(0x226)],this[_0x3c9819(0x3c2)]);break;}default:throw new Error(_0x3c9819(0x39e)+this[_0x3c9819(0x2da)]+_0x3c9819(0x1b1));}const {changeset:_0xf60cf9,pendingMutations:_0x292845}=_0x1d7128;this['_handler'][_0x3c9819(0x169)](_0xf60cf9);const _0x37921f=_0x292845[_0x3c9819(0x344)]?this[_0x3c9819(0x356)][_0x3c9819(0x22f)](ae,this[_0x3c9819(0x25a)],this['type'],_0xf60cf9,_0x292845,this['_handler'],void 0x0):this[_0x3c9819(0x356)]['createInstance'](_e,this[_0x3c9819(0x25a)],this[_0x3c9819(0x2da)],_0xf60cf9,this['_handler']);_0x37921f[_0x3c9819(0x305)](),this['_handler']['onStateChange'](this,_0x37921f);},_0x2d03ef);}[_0x47228c(0x361)](){var _0x832c25=_0x47228c,_0x25a703;const _0x2ccfe5=this['_configService'][_0x832c25(0x3ff)](K);return(_0x25a703=_0x2ccfe5==null?void 0x0:_0x2ccfe5[_0x832c25(0x254)])!=null?_0x25a703:ps;}[_0x47228c(0x246)](){var _0xada7b8=_0x47228c;throw new Error(_0xada7b8(0x419));}['_clearScheduledTask'](){var _0x21a58e=_0x47228c;this[_0x21a58e(0x1dd)]!=null&&(clearTimeout(this[_0x21a58e(0x1dd)]),this[_0x21a58e(0x1dd)]=null);}[_0x47228c(0x379)](_0x57c81d){var _0x4d8834=_0x47228c;return this['_clearScheduledTask'](),this[_0x4d8834(0x356)][_0x4d8834(0x22f)](le,this['unitID'],this['type'],null,this[_0x4d8834(0x38c)],this[_0x4d8834(0x1eb)],_0x57c81d);}};re=Ee([P(0x4,_0xc239af(_0x5022d2)),P(0x5,_0xc239af(_0x30ba57)),P(0x6,_0xc239af(we)),P(0x7,_0x21a42f),P(0x8,_0xccbcfa),P(0x9,_0x475c66),P(0xa,_0x22fc1f),P(0xb,_0x6f36d2),P(0xc,_0x48af92),P(0xd,_0x4bf004(J))],re);let _e=class extends Ie{constructor(_0x5be83f,_0x27f124,_0x536ada,_0x463997,_0x44b63c,_0x47692b,_0x456b2f,_0x3a8042,_0x1541cd,_0x28f166,_0x323d41){var _0xd156ac=_0x47228c;super(_0x5be83f,_0x27f124,_0x536ada,[],_0x463997,_0x456b2f,_0x28f166,_0x47692b,_0x323d41),N(this,_0xd156ac(0x293),_0xd156ac(0x2d7)),N(this,_0xd156ac(0x359),0x0),N(this,_0xd156ac(0x3c6)),N(this,_0xd156ac(0x22b)),(this[_0xd156ac(0x356)]=_0x44b63c,this['_logService']=_0x3a8042,this[_0xd156ac(0x1db)]=_0x1541cd);}[_0x47228c(0x422)](_0x2c3f1e){var _0x304fbe=_0x47228c;this[_0x304fbe(0x153)]();const _0x17dfb4=this[_0x304fbe(0x356)][_0x304fbe(0x22f)](ae,this[_0x304fbe(0x25a)],this[_0x304fbe(0x2da)],this[_0x304fbe(0x316)],[_0x2c3f1e],this[_0x304fbe(0x1eb)],this['_resendTimer']);return _0x17dfb4[_0x304fbe(0x305)](),_0x17dfb4;}[_0x47228c(0x38e)](_0x91f2c5){var _0x54fe25=_0x47228c;if(this['_checkMissing'](_0x91f2c5))return this[_0x54fe25(0x153)](),this[_0x54fe25(0x356)][_0x54fe25(0x22f)](Q,this[_0x54fe25(0x25a)],this[_0x54fe25(0x2da)],this['_awaitingChangeset'],[],null,[_0x91f2c5],this[_0x54fe25(0x1eb)]);try{const _0x480062=this[_0x54fe25(0x1db)][_0x54fe25(0x1cb)]([_0x91f2c5],[this[_0x54fe25(0x316)]],!0x1);if(_0x1fbfb2(_0x480062)){const {c1Prime:_0x49acf7,c2Prime:_0x45945f}=_0x480062;this['_executeRemoteChangeset'](_0x49acf7[0x0]),_0x45945f[0x0][_0x54fe25(0x1c0)]=this[_0x54fe25(0x28d)](),this['_clearScheduledTask']();const _0x12ebda=this[_0x54fe25(0x356)][_0x54fe25(0x22f)](_e,this[_0x54fe25(0x25a)],this[_0x54fe25(0x2da)],_0x45945f[0x0],this[_0x54fe25(0x1eb)]);return _0x12ebda[_0x54fe25(0x305)](),_0x12ebda;}return this[_0x54fe25(0x379)](!0x1);}catch(_0x43374d){return this[_0x54fe25(0x36e)][_0x54fe25(0x1ce)](_0x43374d),this[_0x54fe25(0x379)](!0x1);}}[_0x47228c(0x147)](_0x284156){var _0x595675=_0x47228c;this['_clearScheduledTask']();const _0x2b0c08=this[_0x595675(0x226)][_0x595675(0x3b3)](this['unitID']);if(_0x284156[_0x595675(0x402)]<_0x2b0c08-0x1)return this;if(this[_0x595675(0x2bd)](_0x284156))return this[_0x595675(0x356)][_0x595675(0x22f)](Q,this['unitID'],this[_0x595675(0x2da)],null,[],this[_0x595675(0x316)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5a0385=this['_injector'][_0x595675(0x22f)](ye,this['unitID'],this[_0x595675(0x2da)],this[_0x595675(0x1eb)]);return _0x5a0385[_0x595675(0x305)](),_0x5a0385;}[_0x47228c(0x29d)](_0xc920eb){var _0x63f244=_0x47228c;return this['_onConflict'](!!(_0xc920eb!=null&&_0xc920eb[_0x63f244(0x3e8)]));}[_0x47228c(0x250)](_0x2ba7f1){var _0x55d968=_0x47228c;return this[_0x55d968(0x359)]>Ii?this[_0x55d968(0x3e3)]():(this[_0x55d968(0x3c6)]=Si(this[_0x55d968(0x359)],{'timeout':this['_resendTimeout'],'reqId':_0x2ba7f1[_0x55d968(0x351)]}),this[_0x55d968(0x22b)]=this[_0x55d968(0x3c6)][_0x55d968(0x417)](({reqId:_0xd8eb8e,timeout:_0x464185})=>{this['_resendWithTimeout'](_0xd8eb8e,_0x464185);}),this);}[_0x47228c(0x3e3)](){var _0x33d205=_0x47228c;return this[_0x33d205(0x153)](),this[_0x33d205(0x356)][_0x33d205(0x22f)](ue,this[_0x33d205(0x25a)],this['type'],this[_0x33d205(0x316)],[],this[_0x33d205(0x1eb)]);}[_0x47228c(0x3ee)](){return this;}['resend'](){var _0x5dc627=_0x47228c;this['_handler'][_0x5dc627(0x169)](this[_0x5dc627(0x316)]);}[_0x47228c(0x379)](_0x26746c){var _0x367f2c=_0x47228c;return this[_0x367f2c(0x153)](),this[_0x367f2c(0x356)]['createInstance'](le,this[_0x367f2c(0x25a)],this[_0x367f2c(0x2da)],this[_0x367f2c(0x316)],[],this[_0x367f2c(0x1eb)],_0x26746c);}[_0x47228c(0x2a5)](_0x4addba,_0x1619b6){var _0x429e01=_0x47228c,_0x5f1684;_0x4addba===((_0x5f1684=this[_0x429e01(0x316)])==null?void 0x0:_0x5f1684[_0x429e01(0x351)])&&(this['resend'](),this[_0x429e01(0x359)]=_0x1619b6===0x0?0x3e8:_0x1619b6*0x2);}[_0x47228c(0x153)](){var _0xf61814=_0x47228c,_0x464d00;(_0x464d00=this[_0xf61814(0x22b)])==null||_0x464d00[_0xf61814(0x1af)](),this[_0xf61814(0x359)]=0x0;}};_e=Ee([P(0x4,_0xc239af(_0x5022d2)),P(0x5,_0xc239af(_0x30ba57)),P(0x6,_0xccbcfa),P(0x7,_0x21a42f),P(0x8,_0x22fc1f),P(0x9,_0x48af92),P(0xa,_0x4bf004(J))],_e);let ae=class extends Ie{constructor(_0x21fd05,_0x14064c,_0x18ac0c,_0x5c8da8,_0x125c01,_0xe2b6a6,_0x10094e,_0x49a87d,_0x2e055c,_0x244606,_0x45807c,_0x282931,_0x374350){var _0xd10d82=_0x47228c;super(_0x21fd05,_0x14064c,_0x18ac0c,_0x5c8da8,_0x125c01,_0x2e055c,_0x282931,_0x49a87d,_0x374350),N(this,_0xd10d82(0x293),_0xd10d82(0x26e)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0xd10d82(0x356)]=_0x10094e,this[_0xd10d82(0x36e)]=_0x244606,this[_0xd10d82(0x1db)]=_0x45807c,this[_0xd10d82(0x384)]=_0x374350,_0xe2b6a6&&(this[_0xd10d82(0x3c6)]=_0xe2b6a6,this['_sender']=this['_resendTimer'][_0xd10d82(0x417)](({reqId:_0x3237da,timeout:_0x18028b})=>{this['_resendWithTimeout'](_0x3237da,_0x18028b);})));}['appendMutation'](_0xd3241e){var _0x276966=_0x47228c;return this[_0x276966(0x38c)][_0x276966(0x198)](_0xd3241e),this;}['onRemoteChangeset'](_0x4ff5f1){var _0x54426e=_0x47228c;if(this['_checkMissing'](_0x4ff5f1))return this[_0x54426e(0x153)](),this['_injector'][_0x54426e(0x22f)](Q,this[_0x54426e(0x25a)],this[_0x54426e(0x2da)],this[_0x54426e(0x316)],this[_0x54426e(0x38c)],null,[_0x4ff5f1],this['_handler']);try{const _0x21e39c=this[_0x54426e(0x1db)][_0x54426e(0x1cb)]([_0x4ff5f1],[this[_0x54426e(0x316)]],!0x1);if(_0x1fbfb2(_0x21e39c)){const {c1Prime:_0xcc33c5,c2Prime:_0xca900}=_0x21e39c,_0x28b61f=this[_0x54426e(0x1db)]['transformMutationsWithChangeset'](_0xcc33c5[0x0],this[_0x54426e(0x38c)]);if(_0x847b75(_0x28b61f)){const {c1Prime:_0x35db4e,m2Prime:_0x1735e1}=_0x28b61f;return this[_0x54426e(0x25e)](_0x35db4e),_0xca900[0x0][_0x54426e(0x1c0)]=this[_0x54426e(0x28d)](),this[_0x54426e(0x153)](),this[_0x54426e(0x356)]['createInstance'](ae,this[_0x54426e(0x25a)],this[_0x54426e(0x2da)],_0xca900[0x0],_0x1735e1,this[_0x54426e(0x1eb)],void 0x0);}throw _0x28b61f[_0x54426e(0x1ce)];}throw _0x21e39c[_0x54426e(0x1ce)];}catch(_0x3eb0b8){return this['_logService']['error'](_0x3eb0b8),this[_0x54426e(0x379)](!0x1);}}[_0x47228c(0x147)](_0x2c094a){var _0x1bc01d=_0x47228c;if(this[_0x1bc01d(0x153)](),this[_0x1bc01d(0x2bd)](_0x2c094a))return this[_0x1bc01d(0x356)]['createInstance'](Q,this[_0x1bc01d(0x25a)],this[_0x1bc01d(0x2da)],null,this[_0x1bc01d(0x38c)],this[_0x1bc01d(0x316)],[],this[_0x1bc01d(0x1eb)]);this[_0x1bc01d(0x3b1)]();const _0x21b6eb=this[_0x1bc01d(0x356)][_0x1bc01d(0x22f)](re,this[_0x1bc01d(0x25a)],this[_0x1bc01d(0x2da)],this[_0x1bc01d(0x38c)],this['_handler']);return _0x21b6eb[_0x1bc01d(0x367)](),_0x21b6eb[_0x1bc01d(0x305)](),_0x21b6eb;}[_0x47228c(0x29d)](_0x455c2d){var _0x14a5ee=_0x47228c;return this['_onConflict'](!!(_0x455c2d!=null&&_0x455c2d[_0x14a5ee(0x3e8)]));}[_0x47228c(0x250)](_0x3421a0){var _0x48cc1d=_0x47228c;return this[_0x48cc1d(0x359)]>Ii?this[_0x48cc1d(0x3e3)]():(this[_0x48cc1d(0x3c6)]=Si(this[_0x48cc1d(0x359)],{'timeout':this[_0x48cc1d(0x359)],'reqId':_0x3421a0['reqId']}),this['_sender']=this['_resendTimer'][_0x48cc1d(0x417)](({reqId:_0x4e0626,timeout:_0x1aa5c7})=>{var _0xd1e619=_0x48cc1d;this[_0xd1e619(0x2a5)](_0x4e0626,_0x1aa5c7);}),this);}[_0x47228c(0x3e3)](){var _0x79399d=_0x47228c;return this[_0x79399d(0x153)](),this[_0x79399d(0x356)]['createInstance'](ue,this['unitID'],this[_0x79399d(0x2da)],this[_0x79399d(0x316)],this['_pendingMutations'],this[_0x79399d(0x1eb)]);}[_0x47228c(0x3ee)](){return this;}[_0x47228c(0x246)](){var _0x1ed0e9=_0x47228c;this['_handler'][_0x1ed0e9(0x169)](this['_awaitingChangeset']);}['_onConflict'](_0x247dc0){var _0x3d59d1=_0x47228c;return this[_0x3d59d1(0x153)](),this[_0x3d59d1(0x356)][_0x3d59d1(0x22f)](le,this[_0x3d59d1(0x25a)],this['type'],null,this['_pendingMutations'],this[_0x3d59d1(0x1eb)],_0x247dc0);}[_0x47228c(0x2a5)](_0x377cd0,_0x3a744c){var _0x3abd10=_0x47228c,_0xd21b9;_0x377cd0===((_0xd21b9=this[_0x3abd10(0x316)])==null?void 0x0:_0xd21b9[_0x3abd10(0x351)])&&(this[_0x3abd10(0x246)](),this[_0x3abd10(0x359)]=_0x3a744c===0x0?0x3e8:_0x3a744c*0x2);}[_0x47228c(0x153)](){var _0x397b19=_0x47228c,_0x2b193c;(_0x2b193c=this['_sender'])==null||_0x2b193c[_0x397b19(0x1af)](),this[_0x397b19(0x359)]=0x0;}};ae=Ee([P(0x6,_0xc239af(_0x5022d2)),P(0x7,_0xc239af(_0x30ba57)),P(0x8,_0xccbcfa),P(0x9,_0x21a42f),P(0xa,_0x22fc1f),P(0xb,_0x48af92),P(0xc,_0x4bf004(J))],ae);let le=class extends Ie{constructor(_0x2529cc,_0x422d42,_0x42f424,_0x258a2b,_0x1647b1,_0xdb8b9e=!0x1,_0x5bf356,_0x163011,_0x5f55e4,_0x968427,_0x5968f2,_0x20582c,_0x63cf82){var _0x707284=_0x47228c;super(_0x2529cc,_0x422d42,_0x42f424,_0x258a2b,_0x1647b1,_0x163011,_0x5f55e4,_0x968427,_0x63cf82),N(this,_0x707284(0x293),_0x707284(0x3e1)),(this['_isPermissionRej']=_0xdb8b9e,this[_0x707284(0x1df)]=_0x5bf356,this[_0x707284(0x37d)]=_0x5968f2,this['_collaborationUIEventService']=_0x20582c,this[_0x707284(0x384)]=_0x63cf82,this[_0x707284(0x304)](),this[_0x707284(0x132)](),this[_0x707284(0x21b)]());}[_0x47228c(0x422)](){return this;}[_0x47228c(0x38e)](){return this;}[_0x47228c(0x147)](){return this;}['onRemoteRej'](){return this;}[_0x47228c(0x250)](){return this;}[_0x47228c(0x3e3)](){return this;}[_0x47228c(0x3ee)](){return this;}[_0x47228c(0x246)](){var _0x35b147=_0x47228c;throw new Error(_0x35b147(0x28e));}[_0x47228c(0x132)](){var _0x442739=_0x47228c,_0x4146b9;(_0x4146b9=this[_0x442739(0x24e)])==null||_0x4146b9[_0x442739(0x29b)](this['unitID'],this[_0x442739(0x2da)],null,[]);}[_0x47228c(0x304)](){var _0x29c5f9=_0x47228c;this[_0x29c5f9(0x143)]?this[_0x29c5f9(0x24f)][_0x29c5f9(0x18f)]({'id':ne[_0x29c5f9(0x374)]}):this['_collaborationUIEventService'][_0x29c5f9(0x18f)]({'id':ne[_0x29c5f9(0x413)]});}['_disableEditing'](){var _0x58893e=_0x47228c;this[_0x58893e(0x1df)][_0x58893e(0x1a7)](new _0x1a2993(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0xc239af(_0x421caf)),P(0x7,_0xccbcfa),P(0x8,_0x48af92),P(0x9,_0xc239af(_0x30ba57)),P(0xa,_0xc239af(_0x4eb4c1)),P(0xb,_0xc239af(ve)),P(0xc,_0x4bf004(J))],le);let ue=class extends Ie{constructor(_0x4efbf5,_0x35234d,_0x3a39f0,_0x290e93,_0x41a3dc,_0x1c744b,_0x2adea7,_0x3dbaab,_0x45e6b2,_0x2ac675){var _0x83ae4b=_0x47228c;super(_0x4efbf5,_0x35234d,_0x3a39f0,_0x290e93,_0x41a3dc,_0x3dbaab,_0x45e6b2,_0x2adea7,_0x2ac675),N(this,_0x83ae4b(0x293),_0x83ae4b(0x407)),this[_0x83ae4b(0x356)]=_0x1c744b;}[_0x47228c(0x422)](_0x18f168){var _0x4f84df=_0x47228c;return this[_0x4f84df(0x38c)][_0x4f84df(0x198)](_0x18f168),this[_0x4f84df(0x305)](),this;}[_0x47228c(0x38e)](_0x306a75){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x47228c(0x147)](){var _0xfb613b=_0x47228c;throw new Error(_0xfb613b(0x137));}[_0x47228c(0x29d)](){var _0x5e4918=_0x47228c;throw new Error(_0x5e4918(0x1be));}[_0x47228c(0x250)](){return this;}[_0x47228c(0x3e3)](){return this;}['toggleOnline'](){var _0x4b7d6a=_0x47228c;const {_injector:_0x3beed5,_pendingMutations:_0x1b73fb,_awaitingChangeset:_0x55419f,unitID:_0x491e1b,_handler:_0x475655,type:_0x414d5b}=this,_0x47b43d=Ti(_0x3beed5,_0x491e1b,_0x414d5b,_0x55419f,_0x1b73fb,_0x475655);return _0x47b43d instanceof re?_0x47b43d[_0x4b7d6a(0x367)]():(_0x47b43d instanceof ae||_0x47b43d instanceof _e)&&_0x47b43d[_0x4b7d6a(0x246)](),_0x47b43d;}['resend'](){var _0x59b3d7=_0x47228c;throw new Error(_0x59b3d7(0x3c9));}};ue=Ee([P(0x5,_0xc239af(_0x5022d2)),P(0x6,_0xc239af(_0x30ba57)),P(0x7,_0xccbcfa),P(0x8,_0x48af92),P(0x9,_0x4bf004(J))],ue);let Q=class extends Ie{constructor(_0x9d7ee0,_0x37cfeb,_0x3adec0,_0x5e0354,_0x507d1f,_0x1ac454,_0x10aa50,_0x1c8017,_0x43c10c,_0x594f34,_0x16120c,_0x5439ed,_0x58c465,_0x2c35f5){var _0x47e16d=_0x47228c;super(_0x9d7ee0,_0x37cfeb,_0x3adec0,_0x5e0354,_0x10aa50,_0x16120c,_0x5439ed,_0x43c10c,_0x2c35f5),N(this,_0x47e16d(0x293),'fetch_missing'),(this[_0x47e16d(0x324)]=_0x507d1f,this[_0x47e16d(0x1b6)]=_0x1ac454,this[_0x47e16d(0x356)]=_0x1c8017,this[_0x47e16d(0x36e)]=_0x594f34,this[_0x47e16d(0x1db)]=_0x58c465,this[_0x47e16d(0x384)]=_0x2c35f5);}[_0x47228c(0x421)](_0x2600b4){var _0x34a91b=_0x47228c;try{const _0x2e0ffc=[..._0x2600b4,...this[_0x34a91b(0x1b6)]],_0x2c192a=[this['_awaitingChangeset']||this[_0x34a91b(0x324)]][_0x34a91b(0x2d3)](_0x40e101=>!!_0x40e101);let _0x22b362,_0x116628;if(_0x2c192a['length']){const _0x289d77=this[_0x34a91b(0x1db)][_0x34a91b(0x1cb)](_0x2e0ffc,_0x2c192a,!0x1);if(!_0x1fbfb2(_0x289d77))throw _0x289d77[_0x34a91b(0x1ce)];_0x22b362=_0x289d77['c1Prime'],_0x116628=_0x289d77['c2Prime'];}else _0x22b362=_0x2e0ffc,_0x116628=[];let _0x17d510=this['_pendingMutations'];_0x22b362[_0x34a91b(0x39d)](_0x42bd48=>{var _0x586c92=_0x34a91b;let _0x484ab0;if(_0x17d510[_0x586c92(0x344)]){const _0x1ae2a6=this[_0x586c92(0x1db)]['transformMutationsWithChangeset'](_0x42bd48,_0x17d510);if(!_0x847b75(_0x1ae2a6))throw _0x1ae2a6[_0x586c92(0x1ce)];_0x484ab0=_0x1ae2a6['c1Prime'],_0x17d510=_0x1ae2a6[_0x586c92(0x2c8)];}else _0x484ab0=_0x42bd48;this[_0x586c92(0x25e)](_0x484ab0);}),this[_0x34a91b(0x324)]&&this['_incrementRevisionNumber'](),this[_0x34a91b(0x316)]&&_0x116628[_0x34a91b(0x344)]&&(_0x116628[0x0][_0x34a91b(0x1c0)]=this[_0x34a91b(0x28d)]());let _0x4f2ce9;if(this['_awaitingChangeset']&&_0x17d510[_0x34a91b(0x344)]!==0x0)_0x4f2ce9=this[_0x34a91b(0x356)][_0x34a91b(0x22f)](ae,this[_0x34a91b(0x25a)],this['type'],_0x116628[0x0],_0x17d510,this[_0x34a91b(0x1eb)],void 0x0);else{if(this[_0x34a91b(0x316)]&&_0x17d510['length']===0x0)_0x116628[0x0][_0x34a91b(0x1c0)]=this['_getCurrentRevision'](),_0x4f2ce9=this[_0x34a91b(0x356)][_0x34a91b(0x22f)](_e,this[_0x34a91b(0x25a)],this[_0x34a91b(0x2da)],_0x116628[0x0],this['_handler']);else{if(_0x17d510['length']!==0x0){const _0x42067a=this[_0x34a91b(0x356)][_0x34a91b(0x22f)](re,this[_0x34a91b(0x25a)],this[_0x34a91b(0x2da)],_0x17d510,this[_0x34a91b(0x1eb)]);_0x42067a[_0x34a91b(0x367)](),_0x4f2ce9=_0x42067a;}else _0x4f2ce9=this[_0x34a91b(0x356)][_0x34a91b(0x22f)](ye,this[_0x34a91b(0x25a)],this[_0x34a91b(0x2da)],this[_0x34a91b(0x1eb)]);}}return _0x4f2ce9['_updateLocalCache'](),_0x4f2ce9;}catch(_0x1d84e0){return this[_0x34a91b(0x36e)][_0x34a91b(0x1ce)]('[FetchMissState]',_0x34a91b(0x1c8),_0x1d84e0),this['_injector'][_0x34a91b(0x22f)](le,this[_0x34a91b(0x25a)],this[_0x34a91b(0x2da)],this[_0x34a91b(0x316)],this[_0x34a91b(0x38c)],this[_0x34a91b(0x1eb)],!0x1);}}['resend'](){var _0x20be79=_0x47228c;throw new Error(_0x20be79(0x3c3));}[_0x47228c(0x422)](_0x2c35bc){var _0x5140f3=_0x47228c;return this[_0x5140f3(0x38c)][_0x5140f3(0x198)](_0x2c35bc),this;}[_0x47228c(0x38e)](_0x548c06){var _0x5c285a=_0x47228c;return this[_0x5c285a(0x1b6)][_0x5c285a(0x198)](_0x548c06),this;}[_0x47228c(0x147)](_0xe3fa62){var _0x163fd5=_0x47228c;if(this[_0x163fd5(0x316)])return this[_0x163fd5(0x324)]=this[_0x163fd5(0x316)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x47228c(0x29d)](_0x37d2dc){var _0x2295b2=_0x47228c;return this[_0x2295b2(0x379)](!!(_0x37d2dc!=null&&_0x37d2dc[_0x2295b2(0x3e8)]));}[_0x47228c(0x250)](){return this;}[_0x47228c(0x3e3)](){var _0x51336a=_0x47228c;return this[_0x51336a(0x356)][_0x51336a(0x22f)](ue,this['unitID'],this['type'],this[_0x51336a(0x316)],this[_0x51336a(0x38c)],this[_0x51336a(0x1eb)]);}[_0x47228c(0x3ee)](){return this;}['_onConflict'](_0x383d96){var _0x27f677=_0x47228c;return this[_0x27f677(0x356)]['createInstance'](le,this[_0x27f677(0x25a)],this[_0x27f677(0x2da)],this[_0x27f677(0x316)],this[_0x27f677(0x38c)],this[_0x27f677(0x1eb)],_0x383d96);}};Q=Ee([P(0x7,_0xc239af(_0x5022d2)),P(0x8,_0xc239af(_0x30ba57)),P(0x9,_0x21a42f),P(0xa,_0xccbcfa),P(0xb,_0x48af92),P(0xc,_0x22fc1f),P(0xd,_0x4bf004(J))],Q);function Ti(_0x3244d5,_0x377a91,_0x41c7e8,_0x3f041f,_0x2f7c92,_0x44c9e1){var _0x4b0500=_0x47228c;return _0x3f041f&&_0x2f7c92[_0x4b0500(0x344)]?_0x3244d5[_0x4b0500(0x22f)](ae,_0x377a91,_0x41c7e8,_0x3f041f,_0x2f7c92,_0x44c9e1,void 0x0):_0x3f041f?_0x3244d5['createInstance'](_e,_0x377a91,_0x41c7e8,_0x3f041f,_0x44c9e1):_0x2f7c92[_0x4b0500(0x344)]?_0x3244d5[_0x4b0500(0x22f)](re,_0x377a91,_0x41c7e8,_0x2f7c92,_0x44c9e1):_0x3244d5[_0x4b0500(0x22f)](ye,_0x377a91,_0x41c7e8,_0x44c9e1);}var Bs=Object[_0x47228c(0x3d5)],wt=(_0x399f90,_0x5208ff,_0x5d65ce,_0x5bd7c0)=>{var _0x2a178e=_0x47228c;for(var _0x1a3381=_0x5bd7c0>0x1?void 0x0:_0x5bd7c0?Bs(_0x5208ff,_0x5d65ce):_0x5208ff,_0x336fd3=_0x399f90[_0x2a178e(0x344)]-0x1,_0x47972b;_0x336fd3>=0x0;_0x336fd3--)(_0x47972b=_0x399f90[_0x336fd3])&&(_0x1a3381=_0x47972b(_0x1a3381)||_0x1a3381);return _0x1a3381;},H=(_0x3e4b5b,_0x383b02)=>(_0x3e68ed,_0x75af6c)=>_0x383b02(_0x3e68ed,_0x75af6c,_0x3e4b5b);let st=class extends _0x28cd13{constructor(_0x2e6d7a,_0x49d065,_0x500208,_0x235516,_0x2275a5,_0x3383bf,_0x256179,_0x3e2344,_0xb25354,_0x4a45da,_0xc3c460,_0x1134f9,_0x14a53e){var _0x3293e3=_0x47228c;super(),N(this,'_state$',new _0x6f618b(null)),N(this,_0x3293e3(0x3cb),this[_0x3293e3(0x330)][_0x3293e3(0x14a)]()),N(this,_0x3293e3(0x1a9)),N(this,_0x3293e3(0x1b8),!0x1),N(this,_0x3293e3(0x35a),''),N(this,_0x3293e3(0x1da),0x0),N(this,_0x3293e3(0x331),this[_0x3293e3(0x3cb)]['pipe'](_0x4f5b4b(_0xeb0829=>_0xeb0829?_0xeb0829[_0x3293e3(0x293)]:Ei['OFFLINE']),_0x4d4210(0x1))),N(this,_0x3293e3(0x320),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x3293e3(0x25a)]=_0x2e6d7a,this['session']=_0x49d065,this['_type']=_0x500208,this[_0x3293e3(0x356)]=_0x235516,this[_0x3293e3(0x2e9)]=_0x2275a5,this[_0x3293e3(0x37d)]=_0x3383bf,this[_0x3293e3(0x226)]=_0x256179,this[_0x3293e3(0x350)]=_0x3e2344,this[_0x3293e3(0x36e)]=_0xb25354,this[_0x3293e3(0x369)]=_0x4a45da,this[_0x3293e3(0x1df)]=_0xc3c460,this[_0x3293e3(0x3ab)]=_0x1134f9,this[_0x3293e3(0x24e)]=_0x14a53e);}get[_0x47228c(0x40c)](){var _0x3b5477=_0x47228c;return this[_0x3b5477(0x1a9)];}async[_0x47228c(0x3bb)](){var _0x381961=_0x47228c;if(this[_0x381961(0x40c)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x381961(0x392)]();}[_0x47228c(0x296)](){var _0x53282d=_0x47228c;return this[_0x53282d(0x1b8)]=!0x0,_0x55aacd(()=>{var _0x56efa6=_0x53282d;this['_collaborationPaused']=!0x1,this[_0x56efa6(0x1fe)]();});}[_0x47228c(0x33e)](_0x2f6f8a){var _0x508ff6=_0x47228c;this[_0x508ff6(0x2d5)](_0x2f6f8a);}[_0x47228c(0x3a0)](_0x14e67c){var _0x5bb5cf=_0x47228c;this[_0x5bb5cf(0x1a9)]=_0x14e67c,this[_0x5bb5cf(0x330)]['next'](_0x14e67c);}async[_0x47228c(0x392)](){var _0x66915e=_0x47228c,_0x39215c;this['_updateState'](await this[_0x66915e(0x149)]()),this[_0x66915e(0x3ab)]&&((_0x39215c=this[_0x66915e(0x3ab)])==null||_0x39215c[_0x66915e(0x2e6)](this['unitID']),this[_0x66915e(0x371)](this[_0x66915e(0x3ab)][_0x66915e(0x204)](this[_0x66915e(0x25a)])['subscribe'](_0x56c048=>{var _0x3a3f0b=_0x66915e;this[_0x3a3f0b(0x36e)][_0x3a3f0b(0x2fd)](_0x3a3f0b(0x177),_0x3a3f0b(0x25d),_0x56c048),_0x56c048===gi[_0x3a3f0b(0x265)]?(this[_0x3a3f0b(0x350)][_0x3a3f0b(0x18f)]({'id':ne[_0x3a3f0b(0x251)]}),this[_0x3a3f0b(0x1df)][_0x3a3f0b(0x1a7)](new _0x1a2993(this['unitID'])['id'],!0x1),this[_0x3a3f0b(0x1df)][_0x3a3f0b(0x352)](!0x1)):(this[_0x3a3f0b(0x1df)][_0x3a3f0b(0x1a7)](new _0x1a2993(this[_0x3a3f0b(0x25a)])['id'],!0x0),this[_0x3a3f0b(0x1df)]['setShowComponents'](!0x0));})));let _0x21cd12=!0x1;return this['disposeWithMe'](this[_0x66915e(0x1ec)][_0x66915e(0x2b7)][_0x66915e(0x417)](_0x422706=>{var _0x492378=_0x66915e;_0x422706===ge[_0x492378(0x2e1)]?this[_0x492378(0x3fc)](_0x21cd12):_0x422706===ge[_0x492378(0x386)]&&(_0x21cd12=!0x0,this[_0x492378(0x233)]());})),this['disposeWithMe'](this[_0x66915e(0x1ec)][_0x66915e(0x241)][_0x66915e(0x417)](_0x836e0e=>{var _0x17d419=_0x66915e;try{switch(_0x836e0e[_0x17d419(0x3f5)]){case _0xc7c78a[_0x17d419(0x20f)]:{this[_0x17d419(0x262)](_0x202b3a(_0x836e0e[_0x17d419(0x23f)]));break;}case _0xc7c78a[_0x17d419(0x394)]:{this['_onRemoteACK'](_0x836e0e['data']);break;}case _0xc7c78a[_0x17d419(0x27d)]:{this[_0x17d419(0x157)]();break;}case _0xc7c78a[_0x17d419(0x194)]:{this[_0x17d419(0x192)](_0x836e0e[_0x17d419(0x23f)]);break;}case _0xc7c78a[_0x17d419(0x41b)]:{this[_0x17d419(0x13d)](_0x836e0e[_0x17d419(0x23f)][_0x17d419(0x2d8)][_0x17d419(0x3c7)](_0x5a67f4=>_0x202b3a(_0x5a67f4)));break;}case _0xc7c78a[_0x17d419(0x328)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0xc7c78a[_0x17d419(0x16f)]:break;}}catch(_0x373364){throw console[_0x17d419(0x1ce)](_0x17d419(0x139),_0x373364),_0x373364;}})),this[_0x66915e(0x1a9)];}[_0x47228c(0x2de)](){var _0x5c6a43=_0x47228c;this[_0x5c6a43(0x320)]=!0x1;}[_0x47228c(0x174)](){var _0x480b7a=_0x47228c;if(this[_0x480b7a(0x320)])throw new Error(_0x480b7a(0x227));this[_0x480b7a(0x320)]=!0x0;}[_0x47228c(0x2d5)](_0x266cc5){var _0x625e52=_0x47228c;this[_0x625e52(0x174)](),this[_0x625e52(0x3a0)](this[_0x625e52(0x1a9)][_0x625e52(0x422)](_0x266cc5)),this[_0x625e52(0x2de)]();}[_0x47228c(0x262)](_0x423c8a){var _0x503939=_0x47228c;if(!(_0x423c8a[_0x503939(0x402)]<=this[_0x503939(0x226)][_0x503939(0x3b3)](this[_0x503939(0x25a)]))){if(this[_0x503939(0x1b8)]){this['_remoteChangesetQueue'][_0x503939(0x198)](_0x423c8a);return;}this[_0x503939(0x3b6)](_0x423c8a);}}[_0x47228c(0x1fe)](){var _0x4073dc=_0x47228c;this[_0x4073dc(0x33c)][_0x4073dc(0x39d)](_0x203387=>this[_0x4073dc(0x3b6)](_0x203387)),this[_0x4073dc(0x33c)]=[];}[_0x47228c(0x3b6)](_0x4e84ef){var _0x4a3cc1=_0x47228c;const _0x56a48e=this[_0x4a3cc1(0x2e9)][_0x4a3cc1(0x1ef)]['fetchThroughInterceptors'](this[_0x4a3cc1(0x2e9)]['interceptor']['getInterceptPoints']()[_0x4a3cc1(0x26d)])(_0x4e84ef[_0x4a3cc1(0x14d)],null)||_0x4e84ef[_0x4a3cc1(0x14d)],_0x42d9de={..._0x4e84ef,'mutations':_0x56a48e};this[_0x4a3cc1(0x174)](),this[_0x4a3cc1(0x3a0)](this[_0x4a3cc1(0x1a9)][_0x4a3cc1(0x38e)](_0x42d9de)),this[_0x4a3cc1(0x2de)]();}[_0x47228c(0x24c)](_0x5d2f40){var _0x24436a=_0x47228c;this['_lockTransition'](),this['_updateState'](this[_0x24436a(0x1a9)][_0x24436a(0x147)](_0x5d2f40)),this[_0x24436a(0x2de)]();}[_0x47228c(0x157)](_0x3a3f85){var _0x4e7383=_0x47228c;this[_0x4e7383(0x174)](),this[_0x4e7383(0x3a0)](this[_0x4e7383(0x1a9)][_0x4e7383(0x29d)](_0x3a3f85)),this[_0x4e7383(0x2de)]();}['_onRemoteRetry'](_0x4c8a1d){var _0x2bc028=_0x47228c;this[_0x2bc028(0x174)](),this[_0x2bc028(0x3a0)](this['_state'][_0x2bc028(0x250)](_0x4c8a1d)),this['_unlockTransition']();}[_0x47228c(0x13d)](_0x2128a1){var _0xb6c343=_0x47228c;if(!(this[_0xb6c343(0x1a9)]instanceof Q))throw new TypeError(_0xb6c343(0x252));const _0x58cfc9=_0x2128a1['map'](_0x53ddeb=>{var _0xa2dec1=_0xb6c343;const _0x3fd718=this[_0xa2dec1(0x2e9)][_0xa2dec1(0x1ef)][_0xa2dec1(0x29e)](this[_0xa2dec1(0x2e9)][_0xa2dec1(0x1ef)][_0xa2dec1(0x173)]()[_0xa2dec1(0x26d)])(_0x53ddeb[_0xa2dec1(0x14d)],null)||_0x53ddeb[_0xa2dec1(0x14d)];return{..._0x53ddeb,'mutations':_0x3fd718};});this[_0xb6c343(0x174)](),this[_0xb6c343(0x3a0)](this['_state'][_0xb6c343(0x421)](_0x58cfc9)),this[_0xb6c343(0x2de)]();}[_0x47228c(0x233)](){var _0x4c564f=_0x47228c;this[_0x4c564f(0x174)](),this['_updateState'](this[_0x4c564f(0x1a9)][_0x4c564f(0x3e3)]()),this[_0x4c564f(0x2de)]();}[_0x47228c(0x3fc)](_0xdc6180=!0x1){var _0x4e7b44=_0x47228c;this[_0x4e7b44(0x174)](),this[_0x4e7b44(0x3a0)](this[_0x4e7b44(0x1a9)][_0x4e7b44(0x3ee)]()),this[_0x4e7b44(0x2de)]();const _0x50bbfb=this[_0x4e7b44(0x1a9)];_0xdc6180&&_0x50bbfb instanceof ye&&(this['_lockTransition'](),this[_0x4e7b44(0x3a0)](_0x50bbfb[_0x4e7b44(0x362)]()),this[_0x4e7b44(0x2de)]());}async[_0x47228c(0x149)](){return new Promise(_0x5710cf=>{var _0xde2566=_0x3374;this[_0xde2566(0x1ec)]['sessionStatus$'][_0xde2566(0x231)](_0x5ec3e5(0x1))[_0xde2566(0x417)](async _0x2b1e78=>{var _0x4542de=_0xde2566;_0x5710cf(await this[_0x4542de(0x2eb)](_0x2b1e78===ge[_0x4542de(0x2e1)]));});});}[_0x47228c(0x257)](){var _0x61a4e4=_0x47228c;const _0x43780f=this[_0x61a4e4(0x25a)];return{'onStateChange':(_0x26711f,_0x144c69)=>{var _0x242518=_0x61a4e4;if(_0x26711f!==this[_0x242518(0x1a9)])throw new Error(_0x242518(0x148)+_0x26711f[_0x242518(0x293)]+'\x0aAfter:\x20'+_0x144c69[_0x242518(0x293)]+_0x242518(0x219)+this[_0x242518(0x1a9)][_0x242518(0x293)]);this[_0x242518(0x3a0)](_0x144c69);},'onSendChangeset':_0x1265d7=>{var _0x1c19c8=_0x61a4e4;_0x1265d7[_0x1c19c8(0x2c3)]||(_0x1265d7['sid']=this[_0x1c19c8(0x35a)],_0x1265d7[_0x1c19c8(0x351)]=++this[_0x1c19c8(0x1da)]);const _0x1f381c={'eventID':_0xc7c78a[_0x1c19c8(0x1ad)],'data':{'unitID':_0x1265d7[_0x1c19c8(0x25a)],'unitType':this[_0x1c19c8(0x23c)],'changeset':_0x1265d7,'memberID':this[_0x1c19c8(0x1ec)][_0x1c19c8(0x2bc)]()}};this[_0x1c19c8(0x1ec)][_0x1c19c8(0x2cf)](_0x1f381c,this[_0x1c19c8(0x25a)]);},'onMissingChangesets':({from:_0x6882dc,to:_0x353ece})=>{var _0x35b7ab=_0x61a4e4;this[_0x35b7ab(0x36e)][_0x35b7ab(0x2fd)](_0x35b7ab(0x177),_0x35b7ab(0x408)+_0x6882dc+_0x35b7ab(0x24d)+_0x353ece);const _0x41bb12={'eventID':_0xc7c78a['FETCH_MISSING'],'data':{'unitID':_0x43780f,'unitType':this[_0x35b7ab(0x23c)],'from':_0x6882dc,'to':_0x353ece}};this[_0x35b7ab(0x1ec)][_0x35b7ab(0x2cf)](_0x41bb12,this[_0x35b7ab(0x25a)]);}};}async[_0x47228c(0x2eb)](_0x5ea0df){var _0x45ed26=_0x47228c,_0x29430f,_0x18dc0b,_0xe0b502;const _0x55a69f=await((_0x29430f=this[_0x45ed26(0x24e)])==null?void 0x0:_0x29430f[_0x45ed26(0x3a5)](this[_0x45ed26(0x25a)])),_0x265417=(_0x18dc0b=_0x55a69f==null?void 0x0:_0x55a69f[_0x45ed26(0x14d)])!=null?_0x18dc0b:[],_0x368a0e=(_0xe0b502=_0x55a69f==null?void 0x0:_0x55a69f['awaitingChangeset'])!=null?_0xe0b502:null,_0x3869b7=!!(_0x368a0e!=null&&_0x368a0e[_0x45ed26(0x2c3)])&&!!(_0x368a0e!=null&&_0x368a0e[_0x45ed26(0x351)]);this[_0x45ed26(0x35a)]=_0x3869b7?_0x368a0e['sid']:_0x108802(),this[_0x45ed26(0x1da)]=_0x3869b7?_0x368a0e[_0x45ed26(0x351)]:0x0;const _0x2b0b38=this[_0x45ed26(0x25a)];try{this[_0x45ed26(0x224)](_0x368a0e,_0x265417);}catch(_0x2d932d){this[_0x45ed26(0x36e)]['error'](_0x2d932d);}const _0x59df11=this['_createHandler']();if(_0x5ea0df){const _0x2baffe=Ti(this[_0x45ed26(0x356)],_0x2b0b38,this[_0x45ed26(0x23c)],_0x368a0e,_0x265417,_0x59df11);return _0x2baffe instanceof re?_0x2baffe[_0x45ed26(0x367)]():(_0x2baffe instanceof ae||_0x2baffe instanceof _e)&&_0x2baffe['resend'](),_0x2baffe;}return this['_injector']['createInstance'](ue,_0x2b0b38,this[_0x45ed26(0x23c)],_0x368a0e,_0x265417,_0x59df11);}[_0x47228c(0x224)](_0x231518,_0x1b94e6){var _0x47f219=_0x47228c,_0x22c137,_0x158ebe;const _0x4b8aa4=this[_0x47f219(0x2e9)][_0x47f219(0x1ef)][_0x47f219(0x29e)](this['_compressMutationService'][_0x47f219(0x1ef)][_0x47f219(0x173)]()[_0x47f219(0x26d)]);(_0x22c137=_0x4b8aa4((_0x231518==null?void 0x0:_0x231518[_0x47f219(0x14d)])||[],null))==null||_0x22c137['forEach'](_0x1ae164=>this[_0x47f219(0x369)][_0x47f219(0x285)](_0x1ae164['id'],_0x1ae164[_0x47f219(0x2a6)])),(_0x158ebe=_0x4b8aa4(_0x1b94e6||[],null))==null||_0x158ebe[_0x47f219(0x39d)](_0x385fb7=>this[_0x47f219(0x369)]['executeCommand'](_0x385fb7['id'],_0x385fb7['params']));}};st=wt([H(0x3,_0xc239af(_0x5022d2)),H(0x4,_0xc239af(_0x40c04b)),H(0x5,_0xc239af(_0x4eb4c1)),H(0x6,_0xc239af(_0x30ba57)),H(0x7,_0xc239af(ve)),H(0x8,_0x21a42f),H(0x9,_0xccbcfa),H(0xa,_0x421caf),H(0xb,_0x4bf004(ht)),H(0xc,_0x4bf004(J))],st);let St=class extends st{constructor(_0x586ee1,_0x42bd79,_0x39391b,_0x1a5920,_0xad2a37,_0x23d563,_0x1e0545,_0x40c903,_0x29abb0,_0x17815a,_0x539e4f,_0x35cfa4,_0x790bfa){var _0x53a673=_0x47228c;super(_0x586ee1,_0x39391b,_0x42bd79,_0x1a5920,_0xad2a37,_0x23d563,_0x1e0545,_0x40c903,_0x29abb0,_0x17815a,_0x539e4f,_0x35cfa4,_0x790bfa),N(this,_0x53a673(0x21a),null),(this[_0x53a673(0x25a)]=_0x586ee1,this['type']=_0x42bd79);}[_0x47228c(0x412)](_0x4cd086){var _0x4226bc=_0x47228c;this[_0x4226bc(0x21a)]=_0x4cd086;}[_0x47228c(0x3de)](){this['_handlerCallback']=null,super['dispose']();}[_0x47228c(0x257)](){var _0x375260=_0x47228c;const _0x4f6a69=super[_0x375260(0x257)]();return _0x4f6a69['onTransformIME']=_0x563d5e=>{var _0x4ff544=_0x375260,_0x558557,_0x433532;return(_0x433532=(_0x558557=this[_0x4ff544(0x21a)])==null?void 0x0:_0x558557[_0x4ff544(0x393)])==null?void 0x0:_0x433532[_0x4ff544(0x16c)](_0x558557,_0x563d5e);},_0x4f6a69[_0x375260(0x146)]=_0x41f502=>{var _0x4f1bbd=_0x375260,_0x1d77b4,_0x2d20ae;return(_0x2d20ae=(_0x1d77b4=this[_0x4f1bbd(0x21a)])==null?void 0x0:_0x1d77b4[_0x4f1bbd(0x146)])==null?void 0x0:_0x2d20ae[_0x4f1bbd(0x16c)](_0x1d77b4,_0x41f502);},_0x4f6a69['onTransformSelections']=_0x12c822=>{var _0x539772=_0x375260,_0x817110,_0x50efa4;return(_0x50efa4=(_0x817110=this['_handlerCallback'])==null?void 0x0:_0x817110[_0x539772(0x334)])==null?void 0x0:_0x50efa4[_0x539772(0x16c)](_0x817110,_0x12c822);},_0x4f6a69[_0x375260(0x3ea)]=_0x16b6b5=>{var _0x2b60a0=_0x375260,_0x29be43,_0x5114ab;return(_0x5114ab=(_0x29be43=this[_0x2b60a0(0x21a)])==null?void 0x0:_0x29be43[_0x2b60a0(0x3ea)])==null?void 0x0:_0x5114ab['call'](_0x29be43,_0x16b6b5);},_0x4f6a69[_0x375260(0x171)]=_0x54ffd4=>{var _0x2bb8ad=_0x375260,_0x476dbe,_0x4703df,_0x420c05;if(!((_0x476dbe=this[_0x2bb8ad(0x21a)])!=null&&_0x476dbe[_0x2bb8ad(0x171)]))throw new Error(_0x2bb8ad(0x357));return(_0x420c05=(_0x4703df=this[_0x2bb8ad(0x21a)])==null?void 0x0:_0x4703df[_0x2bb8ad(0x171)])==null?void 0x0:_0x420c05['call'](_0x4703df,_0x54ffd4);},_0x4f6a69['onTransformRemoteChangesetByStateCache']=_0x28b94e=>{var _0x175643=_0x375260,_0x4f85de,_0x3cc41d,_0x4db1b8;if(!((_0x4f85de=this['_handlerCallback'])!=null&&_0x4f85de[_0x175643(0x238)]))throw new Error(_0x175643(0x12a));return(_0x4db1b8=(_0x3cc41d=this[_0x175643(0x21a)])==null?void 0x0:_0x3cc41d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4db1b8['call'](_0x3cc41d,_0x28b94e);},_0x4f6a69;}async[_0x47228c(0x392)](){var _0xbe8343=_0x47228c;const _0x11c685=await super[_0xbe8343(0x392)]();return this[_0xbe8343(0x371)](this[_0xbe8343(0x369)][_0xbe8343(0x3d9)]((_0x6eb29c,_0x251ac4)=>{var _0x5af3ae=_0xbe8343;if(_0x6eb29c[_0x5af3ae(0x2da)]!==_0xef926e['MUTATION']||_0x251ac4!=null&&_0x251ac4[_0x5af3ae(0x34c)]||_0x251ac4!=null&&_0x251ac4['onlyLocal']||_0x6eb29c['id']===_0x15985e['id'])return;const _0x50e439=_0x6eb29c[_0x5af3ae(0x2a6)];if((_0x50e439==null?void 0x0:_0x50e439['unitId'])!==this['unitID'])return;const _0x390692=_0x6eb29c,_0x33b6a4=this[_0x5af3ae(0x2e9)][_0x5af3ae(0x1ef)][_0x5af3ae(0x29e)](this['_compressMutationService'][_0x5af3ae(0x1ef)][_0x5af3ae(0x173)]()[_0x5af3ae(0x405)])([_0x390692],null)||[_0x390692];this[_0x5af3ae(0x2d5)](_0x33b6a4[0x0]);})),_0x11c685;}};St=wt([H(0x3,_0xc239af(_0x5022d2)),H(0x4,_0xc239af(_0x40c04b)),H(0x5,_0xc239af(_0x4eb4c1)),H(0x6,_0xc239af(_0x30ba57)),H(0x7,_0xc239af(ve)),H(0x8,_0x21a42f),H(0x9,_0xccbcfa),H(0xa,_0x421caf),H(0xb,_0x4bf004(ht)),H(0xc,_0x4bf004(J))],St);let Et=class extends st{constructor(_0x315d0c,_0x98cd9b,_0x3a4518,_0x54a4c9,_0x2113a1,_0x1870ab,_0x2f6b48,_0x3fd50b,_0x1253a9,_0x2929c6,_0x588ab0,_0x39c312,_0x2851b5,_0x5dc273){var _0xbe6f5f=_0x47228c;super(_0x315d0c,_0x3a4518,_0x98cd9b,_0x54a4c9,_0x2113a1,_0x1870ab,_0x2f6b48,_0x1253a9,_0x2929c6,_0x588ab0,_0x39c312,_0x2851b5,_0x5dc273),this[_0xbe6f5f(0x25a)]=_0x315d0c,this[_0xbe6f5f(0x2da)]=_0x98cd9b,this['_sheetTransformSelectionsService']=_0x3fd50b;}['_createHandler'](){var _0x3355e6=_0x47228c;const _0x1881d2=super['_createHandler']();return _0x1881d2[_0x3355e6(0x334)]=_0x409afe=>this[_0x3355e6(0x14f)][_0x3355e6(0x3e7)](_0x409afe),_0x1881d2;}async[_0x47228c(0x392)](){var _0x32d6c3=_0x47228c;const _0x5d97a5=await super[_0x32d6c3(0x392)]();return this[_0x32d6c3(0x371)](this[_0x32d6c3(0x369)][_0x32d6c3(0x3d9)]((_0x1058cd,_0x16ce34)=>{var _0x4ac432=_0x32d6c3;if(_0x1058cd[_0x4ac432(0x2da)]!==_0xef926e['MUTATION']||_0x16ce34!=null&&_0x16ce34[_0x4ac432(0x34c)]||_0x16ce34!=null&&_0x16ce34[_0x4ac432(0x131)])return;const _0x494464=_0x1058cd['params'];if((_0x494464==null?void 0x0:_0x494464['unitId'])!==this['unitID'])return;const _0x29cabc=_0x1058cd,_0x51881f=this['_compressMutationService'][_0x4ac432(0x1ef)]['fetchThroughInterceptors'](this[_0x4ac432(0x2e9)][_0x4ac432(0x1ef)][_0x4ac432(0x173)]()[_0x4ac432(0x405)])([_0x29cabc],null)||[_0x29cabc];this[_0x4ac432(0x2d5)](_0x51881f[0x0]);})),_0x5d97a5;}};Et=wt([H(0x3,_0xc239af(_0x5022d2)),H(0x4,_0xc239af(_0x40c04b)),H(0x5,_0xc239af(_0x4eb4c1)),H(0x6,_0xc239af(_0x30ba57)),H(0x7,_0xc239af(it)),H(0x8,_0xc239af(ve)),H(0x9,_0x21a42f),H(0xa,_0xccbcfa),H(0xb,_0x421caf),H(0xc,_0x4bf004(ht)),H(0xd,_0x4bf004(J))],Et);const js=_0x4ee518('univer-pro.collaboration-client.network-condition.service');function Fs(_0x295330){var _0x326c01=_0x47228c,_0x863bf1,_0x1c5aee,_0x5bb5d6,_0x542648,_0x4ca13b;const _0x554ebc=_0x295330['data'],_0xbacf62=JSON[_0x326c01(0x31a)](_0x554ebc);switch(_0xbacf62[_0x326c01(0x3a7)]){case F['HEARTBEAT']:case F[_0x326c01(0x1a2)]:{const _0x151683=_0xbacf62[_0x326c01(0x3f2)];return{..._0xbacf62,'data':_0x151683,'cmd':_0xbacf62[_0x326c01(0x3a7)]};}case F['JOIN']:{const _0x4b9c10=_0xbacf62[_0x326c01(0x313)];return{..._0xbacf62,'data':_0x4b9c10,'cmd':_0xbacf62[_0x326c01(0x3a7)]};}case F[_0x326c01(0x2f8)]:{const _0xe938a0=_0xbacf62['collaMsg'];switch(_0xe938a0['eventID']){case _0xc7c78a[_0x326c01(0x328)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':(_0x863bf1=_0xe938a0[_0x326c01(0x263)])==null?void 0x0:_0x863bf1['cs']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x394)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':(_0x1c5aee=_0xe938a0['csAckEvent'])==null?void 0x0:_0x1c5aee['cs']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x20f)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':(_0x5bb5d6=_0xe938a0[_0x326c01(0x399)])==null?void 0x0:_0x5bb5d6['cs']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x27d)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':(_0x542648=_0xe938a0['csRejEvent'])==null?void 0x0:_0x542648['cs']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x194)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':(_0x4ca13b=_0xe938a0[_0x326c01(0x3d1)])==null?void 0x0:_0x4ca13b['cs']},'cmd':_0xbacf62['cmd']};case _0xc7c78a[_0x326c01(0x279)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x16b)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x38a)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x33b)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x41a)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x1b4)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x27c)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0['liveShareNewHost']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x181)]:case _0xc7c78a[_0x326c01(0x179)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x397)]},'cmd':_0xbacf62['cmd']};case _0xc7c78a['LIVESHARE_TERMINATE']:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0['liveShareNewHost']},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x29f)]:return{..._0xbacf62,'data':_0xe938a0,'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a['COMMENT_UPDATE']:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x186)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x3ae)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x23d)]},'cmd':_0xbacf62['cmd']};case _0xc7c78a[_0x326c01(0x30c)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x1ac)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};case _0xc7c78a[_0x326c01(0x16f)]:return{..._0xbacf62,'data':{..._0xe938a0,'data':_0xe938a0[_0x326c01(0x3e9)]},'cmd':_0xbacf62[_0x326c01(0x3a7)]};default:return _0xbacf62;}}default:return _0xbacf62;}}function Vs(_0x5b7b47){var _0x13aca4=_0x47228c;switch(_0x5b7b47['cmd']){case F[_0x13aca4(0x395)]:case F[_0x13aca4(0x1a2)]:return JSON[_0x13aca4(0x261)]({'cmd':_0x5b7b47[_0x13aca4(0x3a7)],'routeKey':_0x5b7b47[_0x13aca4(0x347)]});case F[_0x13aca4(0x1a6)]:{let _0x5e946a;switch(_0x5b7b47[_0x13aca4(0x23f)]['eventID']){case _0xc7c78a[_0x13aca4(0x279)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x279)],'updateCursorEvent':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x41a)]:{_0x5e946a={'eventID':_0xc7c78a['USERS_LEAVE'],'leaveEvent':_0x5b7b47[_0x13aca4(0x23f)]['data']};break;}case _0xc7c78a[_0x13aca4(0x38a)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x38a)],'joinEvent':_0x5b7b47['data'][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x27c)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x27c)],'liveShareNewHost':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x179)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x179)],'liveShareOperation':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x1b0)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x1b0)],'liveShareTerminate':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x290)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x290)],'liveShareRequestHost':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x23f)]};break;}case _0xc7c78a[_0x13aca4(0x181)]:{_0x5e946a={'eventID':_0xc7c78a[_0x13aca4(0x181)]};break;}default:_0x5e946a={'eventID':_0x5b7b47[_0x13aca4(0x23f)][_0x13aca4(0x3f5)]};}return JSON[_0x13aca4(0x261)]({'cmd':_0x5b7b47[_0x13aca4(0x3a7)],'routeKey':_0x5b7b47[_0x13aca4(0x347)],'collaMsg':_0x5e946a});}case F['JOIN']:return JSON[_0x13aca4(0x261)]({'cmd':_0x5b7b47[_0x13aca4(0x3a7)],'routeKey':_0x5b7b47['routeKey'],'joinReq':_0x5b7b47['data']});case F['LEAVE']:return JSON[_0x13aca4(0x261)]({'cmd':_0x5b7b47['cmd'],'routeKey':_0x5b7b47[_0x13aca4(0x347)],'leaveReq':_0x5b7b47[_0x13aca4(0x23f)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0x47228c(0x3d5)],Gs=(_0x491a95,_0x1118eb,_0x74b8bc,_0x1b44c3)=>{for(var _0xb29426=_0x1b44c3>0x1?void 0x0:_0x1b44c3?Ws(_0x1118eb,_0x74b8bc):_0x1118eb,_0x3d92b1=_0x491a95['length']-0x1,_0x1f00ab;_0x3d92b1>=0x0;_0x3d92b1--)(_0x1f00ab=_0x491a95[_0x3d92b1])&&(_0xb29426=_0x1f00ab(_0xb29426)||_0xb29426);return _0xb29426;},De=(_0x1657c0,_0x379ca7)=>(_0x181f40,_0x5ed258)=>_0x379ca7(_0x181f40,_0x5ed258,_0x1657c0);const Ci=_0x4ee518('univer-pro.collaboration-client-socket-service');function Ys(_0x127895,_0x808be3,_0x1e229b){var _0x3a9ab6=_0x47228c;return _0x127895+'/'+_0x808be3+'/unit/'+_0x1e229b+_0x3a9ab6(0x3fd);}let Gt=class extends _0x53c149{constructor(_0x255ae5,_0x579709,_0x207cd9,_0x3d830d,_0x4a6463){var _0x306b6e=_0x47228c;super(),this[_0x306b6e(0x356)]=_0x255ae5,this[_0x306b6e(0x3d4)]=_0x579709,this[_0x306b6e(0x363)]=_0x207cd9,this['_logService']=_0x3d830d,this[_0x306b6e(0x1f8)]=_0x4a6463;}['_doCreateSocket'](_0xa143d9){var _0x53925f=_0x47228c;const _0x5c5fc1=this[_0x53925f(0x356)][_0x53925f(0x2b6)](_0x537010);if(!_0x5c5fc1)throw new Error(_0x53925f(0x3d0));const _0x328a2c=_0x5c5fc1[_0x53925f(0x327)](_0xa143d9);if(!_0x328a2c)throw new Error(_0x53925f(0x3dd));const _0x44cd0e=new _0x4ab0d9(),_0x115e89=new _0x105634();_0x44cd0e[_0x53925f(0x260)](_0x328a2c[_0x53925f(0x358)][_0x53925f(0x417)](_0x2ba41b=>_0x115e89['next'](_0x2ba41b))),_0x44cd0e[_0x53925f(0x260)](_0x55aacd(()=>_0x115e89[_0x53925f(0x2d6)]()));const _0x16d4b9=new _0x105634();_0x44cd0e[_0x53925f(0x260)](_0x328a2c['error$']['subscribe'](_0x36bc2d=>_0x16d4b9['next'](_0x36bc2d))),_0x44cd0e[_0x53925f(0x260)](_0x55aacd(()=>_0x16d4b9['complete']()));const _0x1f76a5=new _0x105634();_0x44cd0e['add'](_0x328a2c[_0x53925f(0x19e)][_0x53925f(0x417)](_0x3d7fa2=>{var _0x432a05=_0x53925f;const _0x1ec845=Fs(_0x3d7fa2);_0x1f76a5[_0x432a05(0x426)](_0x1ec845);})),_0x44cd0e[_0x53925f(0x260)](_0x55aacd(()=>_0x1f76a5['complete']()));let _0x63502a;const _0x22716c=()=>{var _0x48dc33=_0x53925f;_0x16d4b9[_0x48dc33(0x426)](new Event('connection\x20error')),_0x115e89[_0x48dc33(0x426)](new Event(_0x48dc33(0x376))),_0x63502a['close']();};return _0x63502a={'memberID':'','close$':_0x115e89[_0x53925f(0x14a)](),'error$':_0x16d4b9['asObservable'](),'open$':_0x328a2c[_0x53925f(0x370)],'message$':_0x1f76a5[_0x53925f(0x14a)](),'send':_0x590bfa=>{var _0x4b1067=_0x53925f;if(_0x590bfa[_0x4b1067(0x3a7)]===F['INGEST']){if(_0x590bfa[_0x4b1067(0x23f)]['eventID']===_0xc7c78a[_0x4b1067(0x1ad)]){this['_submitChangeset'](_0x63502a,_0x590bfa[_0x4b1067(0x23f)])[_0x4b1067(0x130)](_0x543def=>{var _0x16d827=_0x4b1067;this['_logService'][_0x16d827(0x1ce)](_0x543def),_0x22716c();});return;}if(_0x590bfa['data'][_0x4b1067(0x3f5)]===_0xc7c78a['FETCH_MISSING']){const _0x2b371d=_0x590bfa[_0x4b1067(0x23f)];this['_fetchMissChangesets'](_0x2b371d)[_0x4b1067(0x3cc)](_0x5b19b1=>{var _0x1f4eb0=_0x4b1067;_0x1f76a5[_0x1f4eb0(0x426)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x2b371d['data'][_0x1f4eb0(0x25a)],'routeType':'','data':{'eventID':_0xc7c78a[_0x1f4eb0(0x41b)],'data':{'changesets':_0x5b19b1}}});})[_0x4b1067(0x130)](_0x502a87=>{var _0x1e3820=_0x4b1067;this['_logService'][_0x1e3820(0x1ce)](_0x502a87),_0x22716c();});return;}}_0x328a2c['send'](Vs(_0x590bfa));},'close':()=>{var _0x26881c=_0x53925f;_0x328a2c['close'](),_0x44cd0e[_0x26881c(0x3de)]();}},_0x63502a;}async[_0x47228c(0x176)](_0x298949,_0x5a0908){var _0x4200d7=_0x47228c,_0x50c0b5;const {unitType:_0xdf22a3,unitID:_0x40b10f,changeset:_0x5498e4}=_0x5a0908[_0x4200d7(0x23f)],_0x1ee3ce={'unitID':_0x40b10f,'memberID':_0x298949[_0x4200d7(0x1e2)],'type':_0xdf22a3,'changeset':_0x232c24(_0x5498e4)},_0x4e24f5=this['_configService'][_0x4200d7(0x3ff)](K),_0x336821=Ys((_0x50c0b5=_0x4e24f5==null?void 0x0:_0x4e24f5[_0x4200d7(0x25f)])!=null?_0x50c0b5:Cs,_0xdf22a3,_0x40b10f);try{await this[_0x4200d7(0x3d4)]['post'](_0x336821,{'body':_0x1ee3ce});}catch(_0x3d5ff1){throw this[_0x4200d7(0x36e)]['error'](_0x4200d7(0x40f),_0x4200d7(0x154)),_0x3d5ff1;}}async['_fetchMissChangesets'](_0x1cc615){var _0xf45825=_0x47228c;const {unitID:_0xc9f18f,from:_0x433d9c,to:_0x4e132f,unitType:_0x24592a}=_0x1cc615[_0xf45825(0x23f)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xc9f18f,'type':_0x24592a,'from':_0x433d9c,'to':_0x4e132f}))['changesets'];}};Gt=Gs([De(0x0,_0xc239af(_0x5022d2)),De(0x1,_0xc239af(_0x1784b0)),De(0x2,_0x475c66),De(0x3,_0x21a42f),De(0x4,_0x41c906)],Gt);var Ks=Object[_0x47228c(0x3d5)],qs=(_0x763ce3,_0x38db59,_0x534ccf,_0x1949d1)=>{for(var _0x3d68d6=_0x1949d1>0x1?void 0x0:_0x1949d1?Ks(_0x38db59,_0x534ccf):_0x38db59,_0x479075=_0x763ce3['length']-0x1,_0x29c313;_0x479075>=0x0;_0x479075--)(_0x29c313=_0x763ce3[_0x479075])&&(_0x3d68d6=_0x29c313(_0x3d68d6)||_0x3d68d6);return _0x3d68d6;},Re=(_0x5bc6cb,_0x5d9eaa)=>(_0x3bdca3,_0x43a4dc)=>_0x5d9eaa(_0x3bdca3,_0x43a4dc,_0x5bc6cb);let Pe=class extends _0x53c149{constructor(_0x351b95,_0xbb04a5,_0x18781d,_0x4cbf34,_0x56e345,_0x5e1c16){var _0x33d93f=_0x47228c;super(),N(this,_0x33d93f(0x140),new _0x6f618b(void 0x0)),N(this,_0x33d93f(0x1a0),this[_0x33d93f(0x140)][_0x33d93f(0x14a)]()),N(this,'_candidateSocket',null),N(this,_0x33d93f(0x180),new Map()),N(this,'_status$',new _0x6f618b(ge[_0x33d93f(0x1bb)])),N(this,'status$',this[_0x33d93f(0x31d)][_0x33d93f(0x14a)]()),N(this,_0x33d93f(0x2f0),!0x1),N(this,_0x33d93f(0x2a1)),N(this,_0x33d93f(0x1b3),0x0),N(this,_0x33d93f(0x2f9)),N(this,_0x33d93f(0x2af)),(this[_0x33d93f(0x356)]=_0x351b95,this[_0x33d93f(0x36e)]=_0xbb04a5,this[_0x33d93f(0x363)]=_0x18781d,this[_0x33d93f(0x23e)]=_0x4cbf34,this[_0x33d93f(0x24f)]=_0x56e345,this['_networkConditionService']=_0x5e1c16,this[_0x33d93f(0x225)]());}get[_0x47228c(0x309)](){var _0x4f342c=_0x47228c;return this['_socket$'][_0x4f342c(0x3c0)]();}['_listenToNetworkCondition'](){var _0x7e8db5=_0x47228c;this['_networkConditionService']&&this[_0x7e8db5(0x371)](this[_0x7e8db5(0x166)][_0x7e8db5(0x16a)][_0x7e8db5(0x417)](_0x2ff299=>{var _0x221164=_0x7e8db5;_0x2ff299&&!this[_0x221164(0x309)]&&this['reconnect'](),_0x2ff299||this['_onOffline']();}));}[_0x47228c(0x3de)](){var _0x194da7=_0x47228c;super[_0x194da7(0x3de)](),this[_0x194da7(0x3a1)](),this[_0x194da7(0x1f0)](),this[_0x194da7(0x242)](),this['_sessions']['forEach'](_0x71ddb7=>_0x71ddb7['dispose']()),this[_0x194da7(0x180)][_0x194da7(0x3df)](),this['_status$'][_0x194da7(0x2d6)]();}async[_0x47228c(0x34e)](_0x3e6841){var _0x57cbad=_0x47228c;if(this['_sessions']['has'](_0x3e6841))return this[_0x57cbad(0x180)][_0x57cbad(0x2b6)](_0x3e6841);this[_0x57cbad(0x214)]();const _0x2b7e72=this['_injector']['createInstance'](gt,_0x3e6841,this['_socket$'][_0x57cbad(0x14a)]());return this[_0x57cbad(0x180)][_0x57cbad(0x31b)](_0x3e6841,_0x2b7e72),_0x2b7e72;}[_0x47228c(0x3da)](_0xd714ae){var _0x5db0a3=_0x47228c,_0x2c5135;const _0x3b58c5=this['_sessions'][_0x5db0a3(0x2b6)](_0xd714ae);_0x3b58c5&&(this[_0x5db0a3(0x180)][_0x5db0a3(0x12f)](_0xd714ae),_0x3b58c5[_0x5db0a3(0x141)]()),this[_0x5db0a3(0x180)]['size']||(_0x2c5135=this['_socket'])==null||_0x2c5135[_0x5db0a3(0x141)]();}[_0x47228c(0x32b)](){var _0x4b12ab=_0x47228c;this[_0x4b12ab(0x1b3)]=0x0,this[_0x4b12ab(0x3a1)](),this['_tryReconnect']();}[_0x47228c(0x3a1)](){var _0x146e20=_0x47228c;this[_0x146e20(0x2a1)]!=null&&(clearTimeout(this[_0x146e20(0x2a1)]),this[_0x146e20(0x2a1)]=null);}async[_0x47228c(0x14b)](){var _0x3678ca=_0x47228c,_0x4dc19e;const _0x3e927c=this[_0x3678ca(0x363)][_0x3678ca(0x3ff)](K),_0x56d2ce=(_0x4dc19e=_0x3e927c==null?void 0x0:_0x3e927c['collabWebSocketUrl'])!=null?_0x4dc19e:ms,_0x4c840e=await this['_socketService'][_0x3678ca(0x327)](_0x56d2ce);return this['_candidateSocket']=_0x4c840e,_0x4c840e;}async[_0x47228c(0x214)](){var _0x3ebaf6=_0x47228c,_0x37f252,_0x4a1b80;try{const _0x5812fc=(_0x4a1b80=(_0x37f252=this[_0x3ebaf6(0x309)])!=null?_0x37f252:this[_0x3ebaf6(0x2c7)])!=null?_0x4a1b80:await this['_createSocket']();if(_0x5812fc){const _0x1ddee1=_0x5812fc[_0x3ebaf6(0x2cf)];_0x5812fc[_0x3ebaf6(0x2cf)]=_0x23fe9c=>(this['_rescheduleHeartbeat'](),_0x1ddee1[_0x3ebaf6(0x196)](_0x5812fc,[_0x23fe9c])),_0x5812fc[_0x3ebaf6(0x19e)][_0x3ebaf6(0x417)](_0x5de701=>this['_onMessage'](_0x5812fc,_0x5de701)),_0x5812fc['error$'][_0x3ebaf6(0x231)](_0xecbf3e(0x1))['subscribe'](_0x50a6c1=>this[_0x3ebaf6(0x36e)][_0x3ebaf6(0x1ce)](_0x3ebaf6(0x30f),_0x50a6c1)),_0x5812fc[_0x3ebaf6(0x370)][_0x3ebaf6(0x231)](_0xecbf3e(0x1))[_0x3ebaf6(0x417)](()=>{var _0x44d89d=_0x3ebaf6;this[_0x44d89d(0x3db)](_0x5812fc);}),_0x5812fc[_0x3ebaf6(0x358)][_0x3ebaf6(0x231)](_0xecbf3e(0x1))[_0x3ebaf6(0x417)](_0x3e903b=>{var _0x9e9193=_0x3ebaf6;this[_0x9e9193(0x36e)][_0x9e9193(0x2fd)](_0x9e9193(0x1a1),_0x9e9193(0x1d1),_0x3e903b),this[_0x9e9193(0x134)]();});}}catch(_0x277499){this[_0x3ebaf6(0x36e)][_0x3ebaf6(0x1ce)](_0x277499),this[_0x3ebaf6(0x134)]();}}[_0x47228c(0x3db)](_0x5202a0){var _0x2744ef=_0x47228c;this['_logService'][_0x2744ef(0x2fd)](_0x2744ef(0x1a1),'socket\x20open.'),_0x5202a0['send']({'cmd':F[_0x2744ef(0x1a2)]}),this['_rescheduleHeartbeat']();}[_0x47228c(0x156)](){var _0x3c0f58=_0x47228c;this['_socketReady']=!0x1,this[_0x3c0f58(0x2c7)]=null,this[_0x3c0f58(0x31d)][_0x3c0f58(0x426)](ge[_0x3c0f58(0x386)]),this['_socket$'][_0x3c0f58(0x426)](null),this[_0x3c0f58(0x1f0)](),this[_0x3c0f58(0x242)]();}[_0x47228c(0x134)](){var _0x3d29a4=_0x47228c,_0x550abc;this[_0x3d29a4(0x156)](),this['_retryCount']<((_0x550abc=this[_0x3d29a4(0x363)]['getConfig'](Is))!=null?_0x550abc:Ts)?(this['_collaborationUIEventService'][_0x3d29a4(0x18f)]({'id':ne[_0x3d29a4(0x18c)]}),this[_0x3d29a4(0x288)]()):this[_0x3d29a4(0x24f)][_0x3d29a4(0x18f)]({'id':ne[_0x3d29a4(0x3c4)]});}[_0x47228c(0x288)](){var _0x3cf0e9=_0x47228c,_0x5dc18d;const _0x2c911d=this[_0x3cf0e9(0x1b3)],_0x58603b=this[_0x3cf0e9(0x363)][_0x3cf0e9(0x3ff)](K),_0x1fc556=_0x2c911d===0x0?0x0:((_0x5dc18d=_0x58603b==null?void 0x0:_0x58603b[_0x3cf0e9(0x15a)])!=null?_0x5dc18d:Es)*0x2**_0x2c911d;this[_0x3cf0e9(0x2a1)]=setTimeout(()=>{var _0x444a54=_0x3cf0e9;clearTimeout(this[_0x444a54(0x2a1)]),this[_0x444a54(0x2a1)]=null,this['_tryEnsureSocket']();},_0x1fc556),this[_0x3cf0e9(0x1b3)]+=0x1;}[_0x47228c(0x217)](_0x2574c7,_0x10eb77){var _0x3812dd=_0x47228c;const {cmd:_0x208d7c}=_0x10eb77;_0x208d7c===F['HELLO']&&!this['_socketReady']&&(_0x2574c7[_0x3812dd(0x1e2)]=_0x10eb77[_0x3812dd(0x23f)]['memberID'],this['_socket$'][_0x3812dd(0x426)](_0x2574c7),this[_0x3812dd(0x31d)]['next'](ge['ONLINE']),this['_socketReady']=!0x0,this[_0x3812dd(0x2c7)]=null),_0x208d7c===F[_0x3812dd(0x395)]&&this[_0x3812dd(0x1f0)](),this[_0x3812dd(0x35c)]();}[_0x47228c(0x35c)](){var _0x28fa6b=_0x47228c,_0x40b37b;this[_0x28fa6b(0x242)](),this[_0x28fa6b(0x2f9)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x40b37b=this[_0x28fa6b(0x363)][_0x28fa6b(0x3ff)](gs))!=null?_0x40b37b:Ss);}[_0x47228c(0x415)](){var _0x44db59=_0x47228c;this[_0x44db59(0x309)][_0x44db59(0x2cf)]({'cmd':F[_0x44db59(0x395)]}),this[_0x44db59(0x1bf)]();}[_0x47228c(0x1bf)](){var _0x3d0ef4=_0x47228c,_0x5ec8e3;this['_timeoutTimer']=setTimeout(()=>this[_0x3d0ef4(0x134)](),(_0x5ec8e3=this[_0x3d0ef4(0x363)][_0x3d0ef4(0x3ff)](di))!=null?_0x5ec8e3:fi);}['_clearHeartbeatTimer'](){var _0x5e8301=_0x47228c;this[_0x5e8301(0x2f9)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5e8301(0x2f9)]=null);}[_0x47228c(0x1f0)](){var _0x3f1c6f=_0x47228c;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3f1c6f(0x2af)]),this[_0x3f1c6f(0x2af)]=null);}};Pe=qs([Re(0x0,_0xc239af(_0x5022d2)),Re(0x1,_0x21a42f),Re(0x2,_0x475c66),Re(0x3,Ci),Re(0x4,_0xc239af(ve)),Re(0x5,_0x4bf004(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x4c255d,_0x2b43b8,_0x3e57b1,_0x2f0b59)=>{var _0x4b6f5c=_0x47228c;for(var _0xffa970=_0x2f0b59>0x1?void 0x0:_0x2f0b59?zs(_0x2b43b8,_0x3e57b1):_0x2b43b8,_0x511a22=_0x4c255d[_0x4b6f5c(0x344)]-0x1,_0x1b4534;_0x511a22>=0x0;_0x511a22--)(_0x1b4534=_0x4c255d[_0x511a22])&&(_0xffa970=_0x1b4534(_0xffa970)||_0xffa970);return _0xffa970;},Be=(_0x566767,_0x38f962)=>(_0x15d5f6,_0x4c9c9)=>_0x38f962(_0x15d5f6,_0x4c9c9,_0x566767);let nt=class extends _0x28cd13{constructor(_0x3795ec,_0x1e840e,_0x4d5d02,_0x275479){var _0x2a96e0=_0x47228c,_0x5691f3;super(),N(this,_0x2a96e0(0x2a4),new Map()),N(this,_0x2a96e0(0x1c2),new _0x105634()),N(this,_0x2a96e0(0x3b9),this[_0x2a96e0(0x1c2)]['asObservable']()),(this[_0x2a96e0(0x356)]=_0x3795ec,this[_0x2a96e0(0x211)]=_0x1e840e,this[_0x2a96e0(0x363)]=_0x4d5d02,this[_0x2a96e0(0x1a5)]=_0x275479,((_0x5691f3=this[_0x2a96e0(0x363)][_0x2a96e0(0x3ff)](K))==null?void 0x0:_0x5691f3[_0x2a96e0(0x387)])!==!0x1&&this[_0x2a96e0(0x392)]());}['dispose'](){var _0x2eaa9e=_0x47228c;super[_0x2eaa9e(0x3de)](),this[_0x2eaa9e(0x2a4)][_0x2eaa9e(0x39d)](_0x56fcb4=>_0x56fcb4['dispose']()),this['_entities'][_0x2eaa9e(0x3df)]();}['getCollabEntity'](_0x2815e6){var _0x2f4d6c=_0x47228c,_0x214b80;return(_0x214b80=this[_0x2f4d6c(0x2a4)][_0x2f4d6c(0x2b6)](_0x2815e6))!=null?_0x214b80:null;}['getCollabEntity$'](_0xb0fc80){var _0xa6cde4=_0x47228c;const _0x3f9785=this[_0xa6cde4(0x3aa)](_0xb0fc80);return _0x3f9785?_0x43c5de(_0x3f9785):this[_0xa6cde4(0x1c2)]['pipe'](_0x37ce78(_0xdc270b=>_0xdc270b[_0xa6cde4(0x25a)]===_0xb0fc80));}[_0x47228c(0x2a7)](_0x5e7f5a){var _0x59ea8f=_0x47228c;return _0x324d56(this[_0x59ea8f(0x3ef)](_0x5e7f5a)[_0x59ea8f(0x231)](_0x4395b4(()=>{})));}[_0x47228c(0x392)](){var _0x454df7=_0x47228c;this[_0x454df7(0x1a5)][_0x454df7(0x2f2)](_0x390c45['UNIVER_SHEET'])[_0x454df7(0x231)](_0x28c423(this[_0x454df7(0x2b9)]),_0x4401a8(0x10))[_0x454df7(0x417)](async _0x211807=>{var _0x5846ea=_0x454df7;const _0x4c6119=_0x211807[_0x5846ea(0x187)](),_0x33b04a=await this[_0x5846ea(0x286)](_0x4c6119,Z['UNIVER_SHEET']);this[_0x5846ea(0x2a4)][_0x5846ea(0x31b)](_0x4c6119,_0x33b04a);}),this['_univerInstanceService'][_0x454df7(0x2f2)](_0x390c45[_0x454df7(0x321)])['pipe'](_0x28c423(this[_0x454df7(0x2b9)]),_0x4401a8(0x10))[_0x454df7(0x231)](_0x37ce78(_0x4b3336=>!_0x4b3336[_0x454df7(0x187)]()['startsWith']('__')))[_0x454df7(0x417)](async _0x29a0fd=>{var _0x1e7a41=_0x454df7;const _0x3aa087=_0x29a0fd[_0x1e7a41(0x187)](),_0x25bc52=await this[_0x1e7a41(0x286)](_0x3aa087,Z[_0x1e7a41(0x321)]);this[_0x1e7a41(0x2a4)][_0x1e7a41(0x31b)](_0x3aa087,_0x25bc52);}),_0x3ce8ce(this[_0x454df7(0x1a5)]['getTypeOfUnitDisposed$'](_0x390c45['UNIVER_SHEET']),this[_0x454df7(0x1a5)][_0x454df7(0x248)](_0x390c45[_0x454df7(0x321)]))[_0x454df7(0x231)](_0x28c423(this[_0x454df7(0x2b9)]))[_0x454df7(0x417)](_0x1c7364=>{var _0x14a290=_0x454df7;const _0x485868=_0x1c7364[_0x14a290(0x187)](),_0x394944=this[_0x14a290(0x2a4)][_0x14a290(0x2b6)](_0x485868);_0x394944&&(_0x394944[_0x14a290(0x3de)](),this['_entities'][_0x14a290(0x12f)](_0x485868));});}async[_0x47228c(0x286)](_0x2279e2,_0x5969b7){var _0x35a3e4=_0x47228c;const _0x3ebb7c=await this[_0x35a3e4(0x211)][_0x35a3e4(0x34e)](_0x2279e2),_0x25032e=this[_0x35a3e4(0x356)]['createInstance'](this['_getCtorByUniverType'](_0x5969b7),_0x2279e2,_0x5969b7,_0x3ebb7c);return await _0x25032e[_0x35a3e4(0x3bb)](),this['_entityInit$'][_0x35a3e4(0x426)](_0x25032e),_0x25032e;}[_0x47228c(0x33d)](_0x386387){var _0x5f4a49=_0x47228c;switch(_0x386387){case Z[_0x5f4a49(0x321)]:return St;case Z[_0x5f4a49(0x21c)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x386387);}}};nt=Js([Be(0x0,_0xc239af(_0x5022d2)),Be(0x1,_0xc239af(Pe)),Be(0x2,_0x475c66),Be(0x3,_0x6f36d2)],nt);var Xs=Object[_0x47228c(0x3d5)],Zs=(_0x985da6,_0x1455f2,_0x3e8862,_0x489c61)=>{var _0x23aed5=_0x47228c;for(var _0x496970=_0x489c61>0x1?void 0x0:_0x489c61?Xs(_0x1455f2,_0x3e8862):_0x1455f2,_0xed7aa5=_0x985da6[_0x23aed5(0x344)]-0x1,_0x3f926e;_0xed7aa5>=0x0;_0xed7aa5--)(_0x3f926e=_0x985da6[_0xed7aa5])&&(_0x496970=_0x3f926e(_0x496970)||_0x496970);return _0x496970;},Yt=(_0x5c85ac,_0x380dd3)=>(_0x10b067,_0x394b5a)=>_0x380dd3(_0x10b067,_0x394b5a,_0x5c85ac);const Qs=_0x47228c(0x1e6),en='Univer';let It=class extends _0x53c149{constructor(_0x5e89ae,_0x33d8b7){var _0x3eef1d=_0x47228c;super(),this['_univerInstanceService']=_0x5e89ae,this[_0x3eef1d(0x363)]=_0x33d8b7,this[_0x3eef1d(0x392)]();}[_0x47228c(0x392)](){var _0x4b842b=_0x47228c;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x4b842b(0x417)](()=>{var _0x570da8=_0x4b842b,_0x2b6b22;const _0x18e96a=this[_0x570da8(0x1a5)][_0x570da8(0x3cf)]();let _0x8fe51f=(_0x2b6b22=this['_configService']['getConfig'](Qs))!=null?_0x2b6b22:en;_0x18e96a instanceof _0x556d51&&(_0x8fe51f=_0x18e96a[_0x570da8(0x2df)]),document[_0x570da8(0x221)]=_0x8fe51f;}));}};It=Zs([Yt(0x0,_0x6f36d2),Yt(0x1,_0x475c66)],It);var tn=Object[_0x47228c(0x3d5)],sn=(_0xc4871d,_0x56010f,_0x5e567d,_0x2d3fba)=>{for(var _0x322f32=_0x2d3fba>0x1?void 0x0:_0x2d3fba?tn(_0x56010f,_0x5e567d):_0x56010f,_0x4e15de=_0xc4871d['length']-0x1,_0x4a77c3;_0x4e15de>=0x0;_0x4e15de--)(_0x4a77c3=_0xc4871d[_0x4e15de])&&(_0x322f32=_0x4a77c3(_0x322f32)||_0x322f32);return _0x322f32;},dt=(_0x4ab988,_0xc779d)=>(_0xd813db,_0x556409)=>_0xc779d(_0xd813db,_0x556409,_0x4ab988);let rt=class{constructor(_0x3e24a5,_0x3a1294,_0x1ff642){var _0x2c7d76=_0x47228c;this[_0x2c7d76(0x363)]=_0x3e24a5,this[_0x2c7d76(0x3d4)]=_0x3a1294,this[_0x2c7d76(0x389)]=_0x1ff642,this['init']();}[_0x47228c(0x3bb)](){var _0x4ac7b3=_0x47228c;this[_0x4ac7b3(0x3d4)][_0x4ac7b3(0x1e5)]({'priority':0x1,'interceptor':(_0x321676,_0x1111e0)=>_0x1111e0(_0x321676)[_0x4ac7b3(0x231)](_0x49f209(async _0x2e04e6=>{var _0x1614bc=_0x4ac7b3;const _0x4673ba=_0x2e04e6;if(_0x4673ba[_0x1614bc(0x293)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x1614bc(0x307)](this[_0x1614bc(0x389)]['t'](_0x1614bc(0x325)))){const _0x470ef8=window[_0x1614bc(0x17a)](window['location']['href']);window[_0x1614bc(0x27f)]['href']=this[_0x1614bc(0x37a)]()+_0x1614bc(0x1d9)+_0x470ef8;}}return _0x4673ba;}))});}['_getLoginPath'](){var _0x3ed879=_0x47228c,_0x5cd25f;const _0x58da24=this[_0x3ed879(0x363)][_0x3ed879(0x3ff)](K);return(_0x5cd25f=_0x58da24==null?void 0x0:_0x58da24['loginUrlKey'])!=null?_0x5cd25f:Rs;}};rt=sn([dt(0x0,_0x475c66),dt(0x1,_0xc239af(_0x1784b0)),dt(0x2,_0xc239af(_0x4eb4c1))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x359fd6,_0x101fc6,_0x1791f7,_0x2698bd)=>{var _0x33bcbc=_0x47228c;for(var _0x293a16=_0x2698bd>0x1?void 0x0:_0x2698bd?nn(_0x101fc6,_0x1791f7):_0x101fc6,_0x87505e=_0x359fd6[_0x33bcbc(0x344)]-0x1,_0x1d2595;_0x87505e>=0x0;_0x87505e--)(_0x1d2595=_0x359fd6[_0x87505e])&&(_0x293a16=_0x1d2595(_0x293a16)||_0x293a16);return _0x293a16;},Kt=(_0x5b5b68,_0x5e2a9d)=>(_0x40864e,_0x24de3b)=>_0x5e2a9d(_0x40864e,_0x24de3b,_0x5b5b68);const an=_0x47228c(0x314);let Tt=class extends _0x53c149{constructor(_0x5e4260,_0x1aa02d){var _0x2dede6=_0x47228c;super(),this[_0x2dede6(0x13f)]=_0x5e4260,this[_0x2dede6(0x363)]=_0x1aa02d,this[_0x2dede6(0x267)]();}['_initMergeInterceptor'](){var _0x4f0538=_0x47228c;const _0x36c2ed=this;this[_0x4f0538(0x371)](this['_HTTPService'][_0x4f0538(0x1e5)]({'priority':0x3e7,'interceptor':_0x1e4a78({'isMatch'(_0x4b6f24){var _0x24074b=_0x4f0538,_0x506f6c;if(_0x4b6f24[_0x24074b(0x283)]===_0x24074b(0x391)&&((_0x506f6c=_0x4b6f24[_0x24074b(0x2d9)])!=null&&_0x506f6c[_0x24074b(0x420)])){const {objectID:_0x1c6b59,objectType:_0x45e41}=_0x4b6f24[_0x24074b(0x2d9)]['body']||{};if(!_0x1c6b59||_0x45e41===void 0x0)return!0x1;const _0x4c4899=_0x36c2ed[_0x24074b(0x2b5)]()+'/'+_0x45e41+'/object/'+_0x1c6b59+_0x24074b(0x27b);if(_0x4b6f24['url']===_0x4c4899)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x407e61){var _0x31c51b=_0x4f0538,_0x1537a1;return(_0x1537a1=_0x407e61[_0x31c51b(0x2d9)])==null?void 0x0:_0x1537a1[_0x31c51b(0x420)];},'mergeParamsToRequest'(_0x4ed7f7,_0x497f72){var _0x9d3f16=_0x4f0538;const _0x32f4ae=_0x36c2ed['_getAPIPrefixPath']()+_0x9d3f16(0x349),_0x1c378d=_0x4ed7f7[_0x9d3f16(0x355)]((_0x2c3900,_0x33be5b)=>{var _0x1e7cd7=_0x9d3f16;const {unitID:_0x4cb1d5,objectID:_0x1e090f,objectType:_0x3bfb4e,actions:_0x6fd495}=_0x33be5b;return _0x2c3900[_0x4cb1d5]||(_0x2c3900[_0x4cb1d5]={}),_0x2c3900[_0x4cb1d5][_0x1e090f]||(_0x2c3900[_0x4cb1d5][_0x1e090f]={'objectID':_0x1e090f,'objectType':_0x3bfb4e,'actions':[]}),_0x2c3900[_0x4cb1d5][_0x1e090f]['actions'][_0x1e7cd7(0x198)](..._0x6fd495),_0x2c3900;},{}),_0x38ea44=[];for(const _0x5a92ec in _0x1c378d)for(const _0x419ecc in _0x1c378d[_0x5a92ec]){const {actions:_0x99735d,objectType:_0x581190}=_0x1c378d[_0x5a92ec][_0x419ecc],_0x4aab61=[...new Set(_0x99735d)];_0x38ea44[_0x9d3f16(0x198)]({'unitID':_0x5a92ec,'objectID':_0x419ecc,'objectType':_0x581190,'actions':_0x4aab61});}return new _0x42f72f(_0x9d3f16(0x391),_0x32f4ae,{'headers':_0x497f72['headers'],'withCredentials':_0x497f72['withCredentials'],'responseType':_0x497f72[_0x9d3f16(0x21d)],'body':{'requests':_0x38ea44}});}},{'distributeResult'(_0x597c18,_0x15cde6){const {objectActions:_0x520504}=_0x597c18;return _0x15cde6['map'](_0x5e5eb8=>{var _0x3649e5=_0x3374;const {unitID:_0x4dce74,objectID:_0x4b01e5,actions:_0x58afdb}=_0x5e5eb8,_0x42a5de=_0x520504[_0x3649e5(0x3f6)](_0x139069=>_0x139069[_0x3649e5(0x25a)]===_0x4dce74&&_0x139069['objectID']===_0x4b01e5),_0x223ad8=_0x58afdb['map'](_0x3d569f=>_0x42a5de==null?void 0x0:_0x42a5de[_0x3649e5(0x136)][_0x3649e5(0x3f6)](_0x48c2c8=>_0x48c2c8[_0x3649e5(0x348)]===_0x3d569f))[_0x3649e5(0x2d3)](_0x22fd1c=>!!_0x22fd1c);return{'config':_0x5e5eb8,'result':{'actions':_0x223ad8,'error':_0x597c18[_0x3649e5(0x1ce)]}};});}})}));}[_0x47228c(0x2b5)](){var _0x271969=_0x47228c,_0x355f91;const _0x30642a=this[_0x271969(0x363)][_0x271969(0x3ff)](K);return(_0x355f91=_0x30642a==null?void 0x0:_0x30642a[_0x271969(0x2e8)])!=null?_0x355f91:an;}async[_0x47228c(0x3bf)](_0x1cecaf){var _0x37e911=_0x47228c;const _0x203609=this[_0x37e911(0x2b5)]()+'/'+_0x1cecaf[_0x37e911(0x28a)]+_0x37e911(0x255);return(await this[_0x37e911(0x13f)][_0x37e911(0x144)](_0x203609,{'body':_0x1cecaf}))['body'][_0x37e911(0x1a8)]||'';}async[_0x47228c(0x425)](_0x3b589d){var _0x323633=_0x47228c;const _0x3439d0=this[_0x323633(0x2b5)]()+_0x323633(0x28b);return(await this[_0x323633(0x13f)][_0x323633(0x144)](_0x3439d0,{'body':_0x3b589d}))[_0x323633(0x420)][_0x323633(0x197)];}async[_0x47228c(0x3f9)](_0x5e7b3f){var _0x3e3472=_0x47228c,_0x3f31f1,_0x5c8b64;const _0xfeab3=this['_getAPIPrefixPath']()+'/'+_0x5e7b3f[_0x3e3472(0x28a)]+_0x3e3472(0x40d)+_0x5e7b3f[_0x3e3472(0x1a8)],_0xc8ca49=await this[_0x3e3472(0x13f)][_0x3e3472(0x15b)](_0xfeab3,{'body':_0x5e7b3f});if(((_0x5c8b64=(_0x3f31f1=_0xc8ca49==null?void 0x0:_0xc8ca49[_0x3e3472(0x420)])==null?void 0x0:_0x3f31f1[_0x3e3472(0x1ce)])==null?void 0x0:_0x5c8b64['code'])!==0x1)throw new Error(_0x3e3472(0x21e));}async[_0x47228c(0x232)](_0x3dd38f){var _0x1e54e7=_0x47228c;const _0x3b5156=this['_getAPIPrefixPath']()+'/'+_0x3dd38f[_0x1e54e7(0x28a)]+_0x1e54e7(0x40d)+_0x3dd38f[_0x1e54e7(0x1a8)]+_0x1e54e7(0x27b);return(await this[_0x1e54e7(0x13f)][_0x1e54e7(0x144)](_0x3b5156,{'body':_0x3dd38f}))[_0x1e54e7(0x420)][_0x1e54e7(0x136)];}async[_0x47228c(0x3a2)](_0x3d5c74){var _0x5ab54b=_0x47228c;const _0x177de1=this[_0x5ab54b(0x2b5)]()+_0x5ab54b(0x349);return(await this[_0x5ab54b(0x13f)]['post'](_0x177de1,{'body':{'requests':_0x3d5c74}}))['body']['objectActions'];}async[_0x47228c(0x33a)](_0x3d1fc4){var _0x316901=_0x47228c;const _0x2f4330=this[_0x316901(0x2b5)]()+'/'+_0x3d1fc4['objectType']+_0x316901(0x306),_0x2a7344=await this['_HTTPService']['post'](_0x2f4330,{'body':_0x3d1fc4});return{'roles':_0x2a7344[_0x316901(0x420)][_0x316901(0x353)],'actions':_0x2a7344[_0x316901(0x420)]['actions']};}async[_0x47228c(0x25c)](_0x44f6e1){var _0x297d3a=_0x47228c;const _0x232d2d=this[_0x297d3a(0x2b5)]()+_0x297d3a(0x360);await this[_0x297d3a(0x13f)]['delete'](_0x232d2d,{'params':{'collaboratorID':_0x44f6e1[_0x297d3a(0x207)],'objectID':_0x44f6e1[_0x297d3a(0x1a8)],'unitID':_0x44f6e1[_0x297d3a(0x25a)]}});}async[_0x47228c(0x39b)](_0x5d1a89){var _0x14b54c=_0x47228c;const _0x25c5cf=this[_0x14b54c(0x2b5)]()+_0x14b54c(0x360);await this[_0x14b54c(0x13f)][_0x14b54c(0x202)](_0x25c5cf,{'body':_0x5d1a89});}async[_0x47228c(0x203)](_0xdae54f){var _0x4b5b26=_0x47228c;const _0x411055=this[_0x4b5b26(0x2b5)]()+'/collaborator';await this['_HTTPService'][_0x4b5b26(0x144)](_0x411055,{'body':_0xdae54f});}async[_0x47228c(0x20a)](_0x519ad3){var _0x4755e6=_0x47228c;const _0x2b109b=this[_0x4755e6(0x2b5)]()+_0x4755e6(0x360);return(await this[_0x4755e6(0x13f)][_0x4755e6(0x2b6)](_0x2b109b,{'params':{'objectID':_0x519ad3[_0x4755e6(0x1a8)],'unitID':_0x519ad3[_0x4755e6(0x25a)]}}))[_0x4755e6(0x420)][_0x4755e6(0x15d)];}async[_0x47228c(0x135)](_0x23718f){var _0xec5d82=_0x47228c;const _0x46629f=this[_0xec5d82(0x2b5)]()+'/collaborator';await this[_0xec5d82(0x13f)][_0xec5d82(0x15b)](_0x46629f,{'body':_0x23718f});}};Tt=rn([Kt(0x0,_0xc239af(_0x1784b0)),Kt(0x1,_0xc239af(_0x475c66))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x376482){var _0x6263e8=_0x47228c;return _0x376482&&_0x376482[_0x6263e8(0x30a)]&&Object[_0x6263e8(0x12e)][_0x6263e8(0x155)][_0x6263e8(0x16c)](_0x376482,_0x6263e8(0x1ff))?_0x376482['default']:_0x376482;}var Ve={'exports':{}};function on(_0x56a72d){var _0x42c0a1=_0x47228c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x56a72d+_0x42c0a1(0x3d7));}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x3c8e4e=_0x47228c;return qt||(qt=0x1,function(_0x56f0e8,_0x5716ed){(function(_0x497cdc,_0x177dee){var _0x201eb7=_0x3374;_0x56f0e8[_0x201eb7(0x164)]=_0x177dee();}(cn,function(){var _0xcfb357=_0xcfb357||function(_0x26b99c,_0x172bac){var _0x383986=_0x3374,_0x5b62c6;if(typeof window<'u'&&window[_0x383986(0x17f)]&&(_0x5b62c6=window[_0x383986(0x17f)]),typeof self<'u'&&self['crypto']&&(_0x5b62c6=self[_0x383986(0x17f)]),typeof globalThis<'u'&&globalThis[_0x383986(0x17f)]&&(_0x5b62c6=globalThis[_0x383986(0x17f)]),!_0x5b62c6&&typeof window<'u'&&window['msCrypto']&&(_0x5b62c6=window[_0x383986(0x3ad)]),!_0x5b62c6&&typeof ft<'u'&&ft[_0x383986(0x17f)]&&(_0x5b62c6=ft[_0x383986(0x17f)]),!_0x5b62c6&&typeof on==_0x383986(0x1f7))try{_0x5b62c6=require('crypto');}catch{}var _0x3b5787=function(){var _0x4e72ab=_0x383986;if(_0x5b62c6){if(typeof _0x5b62c6[_0x4e72ab(0x311)]==_0x4e72ab(0x1f7))try{return _0x5b62c6[_0x4e72ab(0x311)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b62c6[_0x4e72ab(0x1e9)]==_0x4e72ab(0x1f7))try{return _0x5b62c6['randomBytes'](0x4)[_0x4e72ab(0x237)]();}catch{}}throw new Error(_0x4e72ab(0x1f1));},_0x468f50=Object[_0x383986(0x3bf)]||(function(){function _0x385897(){}return function(_0x2bbdf4){var _0x21b34f=_0x3374,_0x4ce6e9;return _0x385897['prototype']=_0x2bbdf4,_0x4ce6e9=new _0x385897(),_0x385897[_0x21b34f(0x12e)]=null,_0x4ce6e9;};}()),_0x21c0c={},_0x3969f7=_0x21c0c['lib']={},_0xc489d2=_0x3969f7[_0x383986(0x3a4)]=(function(){return{'extend':function(_0x1aba99){var _0x3f3e60=_0x3374,_0x572197=_0x468f50(this);return _0x1aba99&&_0x572197[_0x3f3e60(0x18a)](_0x1aba99),(!_0x572197[_0x3f3e60(0x155)](_0x3f3e60(0x3bb))||this[_0x3f3e60(0x3bb)]===_0x572197[_0x3f3e60(0x3bb)])&&(_0x572197[_0x3f3e60(0x3bb)]=function(){var _0x4e416b=_0x3f3e60;_0x572197['$super']['init'][_0x4e416b(0x196)](this,arguments);}),_0x572197['init'][_0x3f3e60(0x12e)]=_0x572197,_0x572197[_0x3f3e60(0x1d5)]=this,_0x572197;},'create':function(){var _0x42557c=_0x3374,_0x57b741=this[_0x42557c(0x41d)]();return _0x57b741[_0x42557c(0x3bb)][_0x42557c(0x196)](_0x57b741,arguments),_0x57b741;},'init':function(){},'mixIn':function(_0x2cf363){var _0x258e86=_0x3374;for(var _0x9758f in _0x2cf363)_0x2cf363[_0x258e86(0x155)](_0x9758f)&&(this[_0x9758f]=_0x2cf363[_0x9758f]);_0x2cf363[_0x258e86(0x155)](_0x258e86(0x3f7))&&(this['toString']=_0x2cf363[_0x258e86(0x3f7)]);},'clone':function(){var _0x4ba6f1=_0x3374;return this[_0x4ba6f1(0x3bb)][_0x4ba6f1(0x12e)][_0x4ba6f1(0x41d)](this);}};}()),_0x546b6a=_0x3969f7[_0x383986(0x3af)]=_0xc489d2['extend']({'init':function(_0x279c34,_0x2fba18){var _0x5336a1=_0x383986;_0x279c34=this[_0x5336a1(0x133)]=_0x279c34||[],_0x2fba18!=_0x172bac?this[_0x5336a1(0x2a9)]=_0x2fba18:this[_0x5336a1(0x2a9)]=_0x279c34['length']*0x4;},'toString':function(_0x258ff7){return(_0x258ff7||_0x474617)['stringify'](this);},'concat':function(_0x25cd1a){var _0x275096=_0x383986,_0x253542=this[_0x275096(0x133)],_0xb05bd=_0x25cd1a[_0x275096(0x133)],_0x295819=this['sigBytes'],_0x140c99=_0x25cd1a['sigBytes'];if(this[_0x275096(0x3c5)](),_0x295819%0x4)for(var _0x21a1b8=0x0;_0x21a1b8<_0x140c99;_0x21a1b8++){var _0x10b25b=_0xb05bd[_0x21a1b8>>>0x2]>>>0x18-_0x21a1b8%0x4*0x8&0xff;_0x253542[_0x295819+_0x21a1b8>>>0x2]|=_0x10b25b<<0x18-(_0x295819+_0x21a1b8)%0x4*0x8;}else{for(var _0x8c8783=0x0;_0x8c8783<_0x140c99;_0x8c8783+=0x4)_0x253542[_0x295819+_0x8c8783>>>0x2]=_0xb05bd[_0x8c8783>>>0x2];}return this[_0x275096(0x2a9)]+=_0x140c99,this;},'clamp':function(){var _0x2ed3eb=_0x383986,_0x3f2ae6=this[_0x2ed3eb(0x133)],_0x3a1780=this[_0x2ed3eb(0x2a9)];_0x3f2ae6[_0x3a1780>>>0x2]&=0xffffffff<<0x20-_0x3a1780%0x4*0x8,_0x3f2ae6[_0x2ed3eb(0x344)]=_0x26b99c['ceil'](_0x3a1780/0x4);},'clone':function(){var _0x3b3921=_0x383986,_0x989534=_0xc489d2[_0x3b3921(0x36c)]['call'](this);return _0x989534[_0x3b3921(0x133)]=this[_0x3b3921(0x133)][_0x3b3921(0x20c)](0x0),_0x989534;},'random':function(_0x21bab7){for(var _0x5be74a=[],_0x54df35=0x0;_0x54df35<_0x21bab7;_0x54df35+=0x4)_0x5be74a['push'](_0x3b5787());return new _0x546b6a['init'](_0x5be74a,_0x21bab7);}}),_0x273e0d=_0x21c0c[_0x383986(0x185)]={},_0x474617=_0x273e0d['Hex']={'stringify':function(_0x16854a){var _0x2c2e68=_0x383986;for(var _0x1393e7=_0x16854a[_0x2c2e68(0x133)],_0x536960=_0x16854a['sigBytes'],_0x291a7f=[],_0x31171a=0x0;_0x31171a<_0x536960;_0x31171a++){var _0x43b9c3=_0x1393e7[_0x31171a>>>0x2]>>>0x18-_0x31171a%0x4*0x8&0xff;_0x291a7f['push']((_0x43b9c3>>>0x4)[_0x2c2e68(0x3f7)](0x10)),_0x291a7f['push']((_0x43b9c3&0xf)[_0x2c2e68(0x3f7)](0x10));}return _0x291a7f[_0x2c2e68(0x2e3)]('');},'parse':function(_0x3cfe5b){var _0xa8a11e=_0x383986;for(var _0x4e8bc0=_0x3cfe5b[_0xa8a11e(0x344)],_0x2840ca=[],_0x2b313f=0x0;_0x2b313f<_0x4e8bc0;_0x2b313f+=0x2)_0x2840ca[_0x2b313f>>>0x3]|=parseInt(_0x3cfe5b['substr'](_0x2b313f,0x2),0x10)<<0x18-_0x2b313f%0x8*0x4;return new _0x546b6a[(_0xa8a11e(0x3bb))](_0x2840ca,_0x4e8bc0/0x2);}},_0x487205=_0x273e0d[_0x383986(0x3f3)]={'stringify':function(_0x464ddd){var _0x2688b2=_0x383986;for(var _0x1739fc=_0x464ddd[_0x2688b2(0x133)],_0x14519e=_0x464ddd[_0x2688b2(0x2a9)],_0xe7d665=[],_0x1f127c=0x0;_0x1f127c<_0x14519e;_0x1f127c++){var _0x2979f6=_0x1739fc[_0x1f127c>>>0x2]>>>0x18-_0x1f127c%0x4*0x8&0xff;_0xe7d665['push'](String[_0x2688b2(0x2ef)](_0x2979f6));}return _0xe7d665[_0x2688b2(0x2e3)]('');},'parse':function(_0x337c8b){var _0x42548b=_0x383986;for(var _0x4f1606=_0x337c8b[_0x42548b(0x344)],_0xe9eb87=[],_0x49dd67=0x0;_0x49dd67<_0x4f1606;_0x49dd67++)_0xe9eb87[_0x49dd67>>>0x2]|=(_0x337c8b[_0x42548b(0x3ce)](_0x49dd67)&0xff)<<0x18-_0x49dd67%0x4*0x8;return new _0x546b6a[(_0x42548b(0x3bb))](_0xe9eb87,_0x4f1606);}},_0x16f9e2=_0x273e0d[_0x383986(0x208)]={'stringify':function(_0x4be082){var _0x7a90e0=_0x383986;try{return decodeURIComponent(escape(_0x487205['stringify'](_0x4be082)));}catch{throw new Error(_0x7a90e0(0x276));}},'parse':function(_0x4f62c9){var _0xe1bf45=_0x383986;return _0x487205[_0xe1bf45(0x31a)](unescape(encodeURIComponent(_0x4f62c9)));}},_0x284651=_0x3969f7['BufferedBlockAlgorithm']=_0xc489d2[_0x383986(0x41d)]({'reset':function(){var _0x1325d8=_0x383986;this[_0x1325d8(0x3fa)]=new _0x546b6a[(_0x1325d8(0x3bb))](),this['_nDataBytes']=0x0;},'_append':function(_0x14e92e){var _0x5f44f9=_0x383986;typeof _0x14e92e==_0x5f44f9(0x13e)&&(_0x14e92e=_0x16f9e2[_0x5f44f9(0x31a)](_0x14e92e)),this[_0x5f44f9(0x3fa)][_0x5f44f9(0x375)](_0x14e92e),this[_0x5f44f9(0x190)]+=_0x14e92e[_0x5f44f9(0x2a9)];},'_process':function(_0x58e3a9){var _0xb560d8=_0x383986,_0x245aad,_0x551c57=this[_0xb560d8(0x3fa)],_0x532da2=_0x551c57['words'],_0x5971d1=_0x551c57['sigBytes'],_0x4bec3c=this[_0xb560d8(0x3f1)],_0x26da38=_0x4bec3c*0x4,_0x292722=_0x5971d1/_0x26da38;_0x58e3a9?_0x292722=_0x26b99c['ceil'](_0x292722):_0x292722=_0x26b99c[_0xb560d8(0x297)]((_0x292722|0x0)-this[_0xb560d8(0x32d)],0x0);var _0x19d953=_0x292722*_0x4bec3c,_0x2a1f02=_0x26b99c['min'](_0x19d953*0x4,_0x5971d1);if(_0x19d953){for(var _0x4dc3bf=0x0;_0x4dc3bf<_0x19d953;_0x4dc3bf+=_0x4bec3c)this['_doProcessBlock'](_0x532da2,_0x4dc3bf);_0x245aad=_0x532da2[_0xb560d8(0x2d1)](0x0,_0x19d953),_0x551c57[_0xb560d8(0x2a9)]-=_0x2a1f02;}return new _0x546b6a['init'](_0x245aad,_0x2a1f02);},'clone':function(){var _0x1d03e6=_0x383986,_0x31f331=_0xc489d2[_0x1d03e6(0x36c)][_0x1d03e6(0x16c)](this);return _0x31f331[_0x1d03e6(0x3fa)]=this[_0x1d03e6(0x3fa)]['clone'](),_0x31f331;},'_minBufferSize':0x0});_0x3969f7[_0x383986(0x2f6)]=_0x284651[_0x383986(0x41d)]({'cfg':_0xc489d2['extend'](),'init':function(_0x2a1c82){var _0xbb5fa0=_0x383986;this['cfg']=this[_0xbb5fa0(0x3e0)]['extend'](_0x2a1c82),this[_0xbb5fa0(0x2d2)]();},'reset':function(){var _0xf5417a=_0x383986;_0x284651[_0xf5417a(0x2d2)][_0xf5417a(0x16c)](this),this[_0xf5417a(0x2be)]();},'update':function(_0x498343){var _0x55820f=_0x383986;return this[_0x55820f(0x1f9)](_0x498343),this['_process'](),this;},'finalize':function(_0x25269b){var _0x49e359=_0x383986;_0x25269b&&this[_0x49e359(0x1f9)](_0x25269b);var _0x15033b=this['_doFinalize']();return _0x15033b;},'blockSize':0x10,'_createHelper':function(_0x28d335){return function(_0x38762a,_0x1d45c9){var _0x33db9c=_0x3374;return new _0x28d335[(_0x33db9c(0x3bb))](_0x1d45c9)[_0x33db9c(0x278)](_0x38762a);};},'_createHmacHelper':function(_0x20f079){return function(_0x47b064,_0x52ba29){var _0x27886e=_0x3374;return new _0x1ec332[(_0x27886e(0x270))][(_0x27886e(0x3bb))](_0x20f079,_0x52ba29)[_0x27886e(0x278)](_0x47b064);};}});var _0x1ec332=_0x21c0c['algo']={};return _0x21c0c;}(Math);return _0xcfb357;}));}(We)),We[_0x3c8e4e(0x164)];}var Ge={'exports':{}},hn=Ge[_0x47228c(0x164)],zt;function Ri(){var _0x270c6e=_0x47228c;return zt||(zt=0x1,function(_0x3684f0,_0x6dc169){(function(_0x1deca9,_0x42e4ee){var _0x1f987e=_0x3374;_0x3684f0[_0x1f987e(0x164)]=_0x42e4ee(te());}(hn,function(_0x2f7372){var _0x3edd0b=_0x3374;return(function(){var _0x234891=_0x3374,_0x2ed868=_0x2f7372,_0x758da9=_0x2ed868['lib'],_0x524e67=_0x758da9[_0x234891(0x3af)],_0xf072cc=_0x2ed868[_0x234891(0x185)];_0xf072cc[_0x234891(0x26c)]={'stringify':function(_0x391ef1){var _0x57bbac=_0x234891,_0x2c3aae=_0x391ef1[_0x57bbac(0x133)],_0x470e87=_0x391ef1[_0x57bbac(0x2a9)],_0x21b56d=this[_0x57bbac(0x280)];_0x391ef1[_0x57bbac(0x3c5)]();for(var _0x2dacdf=[],_0x2861e1=0x0;_0x2861e1<_0x470e87;_0x2861e1+=0x3)for(var _0x143f5f=_0x2c3aae[_0x2861e1>>>0x2]>>>0x18-_0x2861e1%0x4*0x8&0xff,_0x11ed9e=_0x2c3aae[_0x2861e1+0x1>>>0x2]>>>0x18-(_0x2861e1+0x1)%0x4*0x8&0xff,_0x3c77f7=_0x2c3aae[_0x2861e1+0x2>>>0x2]>>>0x18-(_0x2861e1+0x2)%0x4*0x8&0xff,_0x2371a5=_0x143f5f<<0x10|_0x11ed9e<<0x8|_0x3c77f7,_0x3ee874=0x0;_0x3ee874<0x4&&_0x2861e1+_0x3ee874*0.75<_0x470e87;_0x3ee874++)_0x2dacdf[_0x57bbac(0x198)](_0x21b56d[_0x57bbac(0x39c)](_0x2371a5>>>0x6*(0x3-_0x3ee874)&0x3f));var _0x49985f=_0x21b56d[_0x57bbac(0x39c)](0x40);if(_0x49985f){for(;_0x2dacdf['length']%0x4;)_0x2dacdf['push'](_0x49985f);}return _0x2dacdf[_0x57bbac(0x2e3)]('');},'parse':function(_0x45366d){var _0x2aacc5=_0x234891,_0x2d874b=_0x45366d['length'],_0x22094d=this['_map'],_0x1adfb1=this[_0x2aacc5(0x1d8)];if(!_0x1adfb1){_0x1adfb1=this[_0x2aacc5(0x1d8)]=[];for(var _0x2f2f08=0x0;_0x2f2f08<_0x22094d[_0x2aacc5(0x344)];_0x2f2f08++)_0x1adfb1[_0x22094d[_0x2aacc5(0x3ce)](_0x2f2f08)]=_0x2f2f08;}var _0x2e081c=_0x22094d[_0x2aacc5(0x39c)](0x40);if(_0x2e081c){var _0x5c548a=_0x45366d['indexOf'](_0x2e081c);_0x5c548a!==-0x1&&(_0x2d874b=_0x5c548a);}return _0x16b5ab(_0x45366d,_0x2d874b,_0x1adfb1);},'_map':_0x234891(0x200)};function _0x16b5ab(_0xee379d,_0x5c5528,_0x4b9b57){var _0x373dc1=_0x234891;for(var _0x39f4a9=[],_0x325544=0x0,_0xa6eff8=0x0;_0xa6eff8<_0x5c5528;_0xa6eff8++)if(_0xa6eff8%0x4){var _0x58b90e=_0x4b9b57[_0xee379d[_0x373dc1(0x3ce)](_0xa6eff8-0x1)]<<_0xa6eff8%0x4*0x2,_0x2de206=_0x4b9b57[_0xee379d['charCodeAt'](_0xa6eff8)]>>>0x6-_0xa6eff8%0x4*0x2,_0x3743b0=_0x58b90e|_0x2de206;_0x39f4a9[_0x325544>>>0x2]|=_0x3743b0<<0x18-_0x325544%0x4*0x8,_0x325544++;}return _0x524e67[_0x373dc1(0x3bf)](_0x39f4a9,_0x325544);}}()),_0x2f7372[_0x3edd0b(0x185)][_0x3edd0b(0x26c)];}));}(Ge)),Ge[_0x270c6e(0x164)];}function _0x1e43(){var _0x3c22a8=['reconnect','NOT_COLLAB','_minBufferSize','/universer-api/oidc/authpage','session.room-not-exists','_state$','status$','decryptBlock','keySize','onTransformSelections','UnitEmbedded','PERSON','BlockCipherMode','not_collab','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','listRoles','joinEvent','_remoteChangesetQueue','_getCtorByUniverType','onLocalMutation','_doFinalize','getCurrentUser','loadSheet','{fileID}','_cipher','length','onMissingChangesets','pad','routeKey','action','/-/object/-/batch_allowed','now','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromCollab','_unitID','requireSession','entries','_eventService','reqId','setShowComponents','roles','kdf','reduce','_injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','close$','_resendTimeout','_changesetSessionId','c1Prime','_rescheduleHeartbeat','/rev/','originalMeta','_transformSelections','/collaborator','_getSendChangesetTimeout','fetchMiss','_configService','[PendingState]:\x20received\x20rejection.','&source=','_collaborationSessionService','_schedule','mode','_commandService','HmacMD5','_telemetryService','clone','_keySchedule','_logService','Undefined','open$','disposeWithMe','setWaitCount','MOBILE_HAS_BEEN_BOUND','PERMISSION_DENIED','concat','connection\x20error','_onCombEvent','_clearCollaborationTimeoutTimer','_onConflict','_getLoginPath','_substituteUndoStack','_redoStacks','_localeService','code','_removeRoom','COMMENT_UPDATE','encode','USER_NOT_INVITED_CODE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','localCacheService','APPLY_NON_SEQUENTIAL_REVISION','OFFLINE','enableCollaboration','[SyncedState]:\x20received\x20rejection.','localeService','USERS_ENTER','UNKNOWN_CODE','_pendingMutations','_instanceService','onRemoteChangeset','getImage','SUBMIT_CHANGESET_TIMEOUT','POST','_init','onTransformIME','CHANGESET_ACK','HEARTBEAT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','liveShareOperation','_iKey','newCsEvent','_scheduleCollaborationTimeoutTimer','updateCollaborator','charAt','forEach','[PendingState]:\x20unhandled\x20univer\x20type:\x20','stopTime','_updateState','_clearRetryConnectingTimer','batchAllowed','_transformUndoredo','Base','loadOfflineData','rev','cmd','reject','_roomCreated$','getCollabEntity','_singleActiveUnitService','file','msCrypto','UPDATE_PERMISSION_OBJ','WordArray','createDecryptor','_incrementRevisionNumber','capture','getCurrentRevOfUnit','ws://127.0.0.1:8000/universer-api/comb/connect','uploadFileServerUrl','_applyRemoteChangeset','HttpImport','sessionStatus','entityInit$','SerializableCipher','init','INVALID_ARGUMENT','selections','_socketMessageSubscription','create','getValue','byteLength','_memberService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED','clamp','_resendTimer','map','telemetry\x20info\x20is\x20not\x20initialized','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','lib','state$','then','_syncEditingCollabCursor','charCodeAt','getFocusedUnit','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','csShouldRetryEvent','ALREADY_EXISTS','UserProfileImg','_httpService','getOwnPropertyDescriptor','PENDING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','onCommandExecuted','closeSession','_onConnectionOpen','collaboration-client.config','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','dispose','clear','cfg','conflict','_imageSourceCache','toggleOffline','enableAuthServer','UNRECOGNIZED','APPLY_DUPLICATED','transformSelections','isPermissionRej','uniscriptRunEvent','onSyncEditingCollabCursor','?size=','_clearUndo','OPTIONAL','toggleOnline','getCollabEntity$','_emitMembers','blockSize','infoRsp','Latin1','repeat','eventID','find','toString','JOIN_ROOM_PERMISSION_DENIED','update','_data','_transformRemoteChangesetByIMECache','_toggleOnline','/new_changes','session.room-cnt-exceeds','getConfig','workbook','_createHmacHelper','revision','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformStack\x20failed!','COMPRESS_MUTATION_SEND','findIndex','offline','fetching\x20missing\x20changesets\x20from\x20','floor','getSnapshotAPIPath','YUUMI_AI_RUN_FAILED','state','/object/','collaboration_new_changeset','[CollaborationSession]','every','_members','addHandlerCallback','CONFLICT','replace','_sendHeartbeat','append','subscribe','JOINING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_LEAVE','PSEUDO_FETCH_MISSING_RESULT','JOIN_ROOM_NOT_EXISTS','extend','[PendingState]:\x20received\x20acknowledgement.','avatar','body','onMissedChangesetFetched','appendMutation','snapshotServerUrl','/resources','list','next','_substituteRedoStack','YUUMI_URL_COL_OUT_OF_RANGE','_transformStateCache','socketService','JOIN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','HEARTBEAT_INTERVAL','_startTelemetryCollaborationNewChangeset','EMAIL_VERIFY_CODE_MISMATCH','prototype','delete','catch','onlyLocal','_clearLocalCache','words','_onConnectionFailed','putCollaborators','actions','[OfflineState]:\x20received\x20acknowledgement.','_getRedoStack','Error\x20on\x20receiving\x20event','OpenSSL','format','_initRequestHeader','_onFetchMissResult','string','_HTTPService','_socket$','close','url','_isPermissionRej','post','getLatestCsReqIdBySid','onTransformState','onRemoteAck','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_createInitialState','asObservable','_createSocket','/block/','mutations','2894941PaVmxI','_sheetTransformSelectionsService','[SyncedState]:\x20received\x20acknowledgement.','fetchMissingChangesets','getMember','_clearScheduledTask','submit\x20changeset\x20error!','hasOwnProperty','_onOffline','_onRemoteRejected','28950hZhdZs','execute','retryConnectingInterval','put','LICENSE_EXPORT_SIZE_EXCEEDED','collaborators','iterations','&assign=','image/jpg','HmacSHA1','_change$','_scheduleCompleteTimestamp','exports','EvpKDF','_networkConditionService','LICENSE_MAX_UNITS_EXCEEDED','buffer','onSendChangeset','online$','updateCursorEvent','call','updateMember','size','UNISCRIPT_RUN','byteOffset','onTransformRemoteChangesetByIMECache','_commentUpdate$','getInterceptPoints','_lockTransition','updateSnapshot','_submitChangeset','[CollaborationEntity]','Cipher','LIVESHARE_OPERATION','encodeURIComponent','_onRecvEvent','LOCAL_CACHE_INTERVAL','getSheetId','UUID','crypto','_sessions','LIVESHARE_FETCH_OPERATIONS','LOGIN_FAILED','UnitSnapshot','UNIVER_SLIDE','enc','commentUpdateEvent','getUnitId','enableSingleActiveInstanceLock','_initDependencies','mixIn','INVALID_INVITE_CODE','SOCKET_FAILED_RETRY','_replaceFileID','9377703aNUpTS','emitEvent','_nDataBytes','origin','_onRemoteRetry','_snapshotService','CHANGESET_SHOULD_RETRY','__creator','apply','objects','push','textRanges','YUUMI_ALL_TABLES_IS_INVALID','PY_RUNTIME_SCRIPT_ERROR','sin','headers','message$','GLOBAL_ROOMS_CNT_EXCEEDS','socket$','[CollaborationSessionService]','HELLO','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_telemetryInfo','_univerInstanceService','INGEST','updatePermissionPoint','objectID','_state','FAIL','LICENSE_DISTRO_REJECTED','shouldCloseConn','SUBMIT_CHANGESET','UNDEFINED','unsubscribe','LIVESHARE_TERMINATE','\x20in\x20_schedule.','8280640qtSVAe','_retryCount','leaveEvent','SHA1','_queuedRemoteChangesets','[DataLoaderService]','_collaborationPaused','has','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IDLE','NoPadding','unitId\x20is\x20not\x20found','[OfflineState]:\x20received\x20rejection.','_waitForHeartbeatResponse','baseRev','__Key__','_entityInit$','231MPEbJI','_getSignURL','_hash','_onUserLeave','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','failed\x20to\x20apply\x20missed\x20changesets!','transformUndoRedo','_unitInfo$','transformChangesets','override','_keyPriorReset','error','_prevBlock','resolve','socket\x20close','getUnitOnRev','_doCryptBlock','sheets','$super','2682296OCyoPd','initWorkbookPermissionChange','_reverseMap','?url=','_changesetReqId','_transformService','getImageSourceCache','_sendingTimer','20SSgffA','_permissionService','encrypt','AWAITING','memberID','ERROR_EXCEED_SIZE','values','registerHTTPInterceptor','DEFAULT_FILE_NAME','MOBILE_VERIFY_CODE_MISMATCH','SNAPSHOT_INVALID_SNAPSHOT','randomBytes','getUnit','_handler','session','onCommentUpdate','getWorkbookSelections','interceptor','_clearTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','userID','[UniverCollaborationClientPlugin]','image/bmp','removeMember','copyFileMeta','function','_snapshotServerService','_append','save\x20fail\x20reason\x20is\x20','Pkcs7','loadUnit','APPLY_REVISION_CONFILICT','_exhaustRemoteChangesetQueue','default','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_ENC_XFORM_MODE','patch','createCollaborator','getUnitStatus$','_stopTelemetryCollaborationNewChangeset','PasswordBasedCipher','collaboratorID','Utf8','ERROR_IMAGE_TYPE','listCollaborators','_process','slice','padding','/universer-api/stream/file/upload','NEW_CHANGESETS','_initUnitPermissionChange','_collabSessionService','compute','UNIVER_PROJECT','_tryEnsureSocket','_key','formatter','_onMessage','onload','\x0aCurrent:\x20','_handlerCallback','_disableEditing','UNIVER_SHEET','responseType','Failed\x20to\x20update\x20permission\x20point','_collaborationTimeoutTimer','APPLY_PERMISSION_DENIED','title','unitInfo$','startTime','_replayCachedMutations','_listenToNetworkCondition','_revisionService','[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.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getRoom','Decryptor','_sender','algo','INVITE_CODE_HAS_BEEN_UES','HttpExport','createInstance','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','pipe','allowed','_toggleOffline','YUUMI_ASYNCIO_CANCELLED','CipherParams','_shouldReportTelemetry','readInt32LE','onTransformRemoteChangesetByStateCache','FETCH_MISS','isArray','_joinRoom','_type','updatePermissionObjEvent','_socketService','data','INTERNAL_ERROR','event$','_clearHeartbeatTimer','_getAPIPrefix','subject','roomInfos','resend','_initCloseConn','getTypeOfUnitDisposed$','_decreaseWaiting','equals','includes','_onRemoteACK','\x20to\x20','_localCacheService','_collaborationUIEventService','onRemoteRetry','OTHER_CLIENT_EDITING','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LICENSE_IMPORT_SIZE_EXCEEDED','sendChangesetTimeout','/object','BASE64','_createHandler','_registerDependencies','Encryptor','unitID','_getUploadFileURL','deleteCollaborator','editing\x20status\x20changed\x20to','_executeRemoteChangeset','collabSubmitChangesetUrl','add','stringify','_onRemoteChangeset','permissionRejEvent','_xformMode','OTHER_CLIENTS_EDITING','enableOfflineEditing','_initMergeInterceptor','SUCCUSS','ciphertext','_transformRemoteChangesetByStateCache','_getUndoStack','Base64','COMPRESS_MUTATION_APPLY','awaiting_with_pending','_sessionStatus$','HMAC','change$','CHANGESET_REVISION_CONFILICT','107TRtesF','_clearRedo','RETRY_CONNECTING_MAX_COUNT','Malformed\x20UTF-8\x20data','key','finalize','UPDATE_CURSOR','_transformIMECache','/allowed','LIVESHARE_NEW_HOST','CHANGESET_REJ','JOIN_ROOM_FAILED','location','_map','image/jpeg','_createHelper','method','_transformStack','executeCommand','_startCollaboration','_iv','_tryReconnect','_onUserJoin','objectType','/-/object/list','/unit/','_getCurrentRevision','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','decrypt','LIVESHARE_REQUEST_HOST','INVITE_CODE_REQUIRED','members','status','getCurrentSelections','_waitCount','pauseCollaboration','max','CBC','compose','/universer-api/snapshot/','updateOfflineData','FileId','onRemoteRej','fetchThroughInterceptors','MSG_FOR_ERROR','YUUMI_NO_CUBOID_FOR_QUESTION','_retryConnectingTimer','_throwTelemetryCollaborationNewChangeset','NO_OTHER_CLIENTS_EDITING','_entities','_resendWithTimeout','params','readyForCollab','random','sigBytes','SNAPSHOT_URL_KEY','loadDoc','saveImage','_invKeySchedule','WECHAT_HAS_BEEN_BOUND','_timeoutTimer','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','hasher','waitForRoom$','[CollaborationState]:\x20apply\x20error!','_oKey','_getAPIPrefixPath','get','sessionStatus$','_event$','dispose$','_updateStatus','6231468GAHTTH','getMemberID','_checkMissing','_doReset','SNAPSHOT_HAS_BEEN_REMOVED','_config','result','NOT_FOUND','sid','_parse','ENSURE_SNAPSHOT_EXECUTION','univer-pro.collaboration-client.single-active-unit-service','_candidateSocket','m2Prime','/universer-api/comb','UNKNOWN_CMD','defineProperty','pending','signUrlServerUrl','APPLY_REJECT','send','EMAIL_HAS_BEEN_BOUND','splice','reset','filter','/fetchmissing?from=','_onLocalMutation','complete','awaiting','changesets','requestParams','type','4008YnymML','_userManagerService','addImageSourceCache','_unlockTransition','name','&to=','ONLINE','getTime','join','_getDownloadEndpointURL','UNIVER_UNKNOWN','editingUnit','reverse','authzUrl','_compressMutationService','TOO_MANY_REQUESTS','_createInitialStateImpl','subUnitId','unknown','COMPLETION_FINISHED','fromCharCode','_socketReady','LEAVE','getTypeOfUnitAdded$','CLOSE_ROOM','_onJoinRoomEvent','ivSize','Hasher','MD5','RECV','_sendHeartbeatTimer','members$','BufferedBlockAlgorithm','_hasher','debug','YUUMI_SUBSCRIPTION_NOT_FOUND','UNAUTHENTICATED','[CollaborationUndoRedoService]','AES','_members$','_commentService','_showConflictNotification','_updateLocalCache','/role','confirm','AWAITING_WITH_PENDING','_socket','__esModule','downloadEndpointUrl','SHOULD_CLOSE_CONN','encryptBlock','salt','[CollaborationSessionService]:\x20socket\x20error','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRandomValues','HEARTBEAT_TIMEOUT','joinRsp','/universer-api/authz','synced','_awaitingChangeset','pluginName','transformMutationsWithChangeset','_nRounds','parse','set','_roomMembers','_status$','People','ERROR_IMAGE','_transitionLocked','UNIVER_DOC','unitId','YUUMI_CONNECTOR_URL_NOT_FOUND','_acknowledgedAwaitingChangeset','auth.needGotoLoginAlert','unit-cache-','createSocket','PERMISSION_REJ','INVITE_CODE_ALREADY_BOUND','session.room-permission-denied'];_0x1e43=function(){return _0x3c22a8;};return _0x1e43();}var Ye={'exports':{}},_n=Ye['exports'],Jt;function ln(){var _0x57eedb=_0x47228c;return Jt||(Jt=0x1,function(_0x1c3a10,_0x48df07){(function(_0x11a7b3,_0xc79275){var _0x2c1d15=_0x3374;_0x1c3a10[_0x2c1d15(0x164)]=_0xc79275(te());}(_n,function(_0x362b3c){return function(_0x122285){var _0x3dc0eb=_0x3374,_0x2a675d=_0x362b3c,_0x40aa0c=_0x2a675d['lib'],_0x3ff9f1=_0x40aa0c[_0x3dc0eb(0x3af)],_0x433a7d=_0x40aa0c['Hasher'],_0x8cf7cb=_0x2a675d['algo'],_0x3e1ebd=[];(function(){var _0x4efec0=_0x3dc0eb;for(var _0x378619=0x0;_0x378619<0x40;_0x378619++)_0x3e1ebd[_0x378619]=_0x122285['abs'](_0x122285[_0x4efec0(0x19c)](_0x378619+0x1))*0x100000000|0x0;}());var _0x5166b9=_0x8cf7cb[_0x3dc0eb(0x2f7)]=_0x433a7d[_0x3dc0eb(0x41d)]({'_doReset':function(){var _0x200d26=_0x3dc0eb;this['_hash']=new _0x3ff9f1[(_0x200d26(0x3bb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4538ce,_0x1e76fd){var _0x46e41e=_0x3dc0eb;for(var _0x5e9866=0x0;_0x5e9866<0x10;_0x5e9866++){var _0x37cb87=_0x1e76fd+_0x5e9866,_0x13135c=_0x4538ce[_0x37cb87];_0x4538ce[_0x37cb87]=(_0x13135c<<0x8|_0x13135c>>>0x18)&0xff00ff|(_0x13135c<<0x18|_0x13135c>>>0x8)&0xff00ff00;}var _0x1780a5=this[_0x46e41e(0x1c5)]['words'],_0x1a093f=_0x4538ce[_0x1e76fd+0x0],_0x5e95ea=_0x4538ce[_0x1e76fd+0x1],_0x1ecafc=_0x4538ce[_0x1e76fd+0x2],_0x164dd1=_0x4538ce[_0x1e76fd+0x3],_0x3c7e05=_0x4538ce[_0x1e76fd+0x4],_0x33f25a=_0x4538ce[_0x1e76fd+0x5],_0x46a595=_0x4538ce[_0x1e76fd+0x6],_0x11867b=_0x4538ce[_0x1e76fd+0x7],_0x57c609=_0x4538ce[_0x1e76fd+0x8],_0x446f83=_0x4538ce[_0x1e76fd+0x9],_0x241852=_0x4538ce[_0x1e76fd+0xa],_0x4dd1c0=_0x4538ce[_0x1e76fd+0xb],_0x1a180d=_0x4538ce[_0x1e76fd+0xc],_0x402d48=_0x4538ce[_0x1e76fd+0xd],_0x56bc7f=_0x4538ce[_0x1e76fd+0xe],_0x43563e=_0x4538ce[_0x1e76fd+0xf],_0x3c1425=_0x1780a5[0x0],_0x9bbeec=_0x1780a5[0x1],_0x5e7eab=_0x1780a5[0x2],_0x4e7cbf=_0x1780a5[0x3];_0x3c1425=_0x131949(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x1a093f,0x7,_0x3e1ebd[0x0]),_0x4e7cbf=_0x131949(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x5e95ea,0xc,_0x3e1ebd[0x1]),_0x5e7eab=_0x131949(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x1ecafc,0x11,_0x3e1ebd[0x2]),_0x9bbeec=_0x131949(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x164dd1,0x16,_0x3e1ebd[0x3]),_0x3c1425=_0x131949(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c7e05,0x7,_0x3e1ebd[0x4]),_0x4e7cbf=_0x131949(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x33f25a,0xc,_0x3e1ebd[0x5]),_0x5e7eab=_0x131949(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x46a595,0x11,_0x3e1ebd[0x6]),_0x9bbeec=_0x131949(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x11867b,0x16,_0x3e1ebd[0x7]),_0x3c1425=_0x131949(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x57c609,0x7,_0x3e1ebd[0x8]),_0x4e7cbf=_0x131949(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x446f83,0xc,_0x3e1ebd[0x9]),_0x5e7eab=_0x131949(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x241852,0x11,_0x3e1ebd[0xa]),_0x9bbeec=_0x131949(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x4dd1c0,0x16,_0x3e1ebd[0xb]),_0x3c1425=_0x131949(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x1a180d,0x7,_0x3e1ebd[0xc]),_0x4e7cbf=_0x131949(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x402d48,0xc,_0x3e1ebd[0xd]),_0x5e7eab=_0x131949(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x56bc7f,0x11,_0x3e1ebd[0xe]),_0x9bbeec=_0x131949(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x43563e,0x16,_0x3e1ebd[0xf]),_0x3c1425=_0x142138(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x5e95ea,0x5,_0x3e1ebd[0x10]),_0x4e7cbf=_0x142138(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x46a595,0x9,_0x3e1ebd[0x11]),_0x5e7eab=_0x142138(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x4dd1c0,0xe,_0x3e1ebd[0x12]),_0x9bbeec=_0x142138(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x1a093f,0x14,_0x3e1ebd[0x13]),_0x3c1425=_0x142138(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x33f25a,0x5,_0x3e1ebd[0x14]),_0x4e7cbf=_0x142138(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x241852,0x9,_0x3e1ebd[0x15]),_0x5e7eab=_0x142138(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x43563e,0xe,_0x3e1ebd[0x16]),_0x9bbeec=_0x142138(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x3c7e05,0x14,_0x3e1ebd[0x17]),_0x3c1425=_0x142138(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x446f83,0x5,_0x3e1ebd[0x18]),_0x4e7cbf=_0x142138(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x56bc7f,0x9,_0x3e1ebd[0x19]),_0x5e7eab=_0x142138(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x164dd1,0xe,_0x3e1ebd[0x1a]),_0x9bbeec=_0x142138(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x57c609,0x14,_0x3e1ebd[0x1b]),_0x3c1425=_0x142138(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x402d48,0x5,_0x3e1ebd[0x1c]),_0x4e7cbf=_0x142138(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x1ecafc,0x9,_0x3e1ebd[0x1d]),_0x5e7eab=_0x142138(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x11867b,0xe,_0x3e1ebd[0x1e]),_0x9bbeec=_0x142138(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x1a180d,0x14,_0x3e1ebd[0x1f]),_0x3c1425=_0x10f718(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x33f25a,0x4,_0x3e1ebd[0x20]),_0x4e7cbf=_0x10f718(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x57c609,0xb,_0x3e1ebd[0x21]),_0x5e7eab=_0x10f718(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x4dd1c0,0x10,_0x3e1ebd[0x22]),_0x9bbeec=_0x10f718(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x56bc7f,0x17,_0x3e1ebd[0x23]),_0x3c1425=_0x10f718(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x5e95ea,0x4,_0x3e1ebd[0x24]),_0x4e7cbf=_0x10f718(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x3c7e05,0xb,_0x3e1ebd[0x25]),_0x5e7eab=_0x10f718(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x11867b,0x10,_0x3e1ebd[0x26]),_0x9bbeec=_0x10f718(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x241852,0x17,_0x3e1ebd[0x27]),_0x3c1425=_0x10f718(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x402d48,0x4,_0x3e1ebd[0x28]),_0x4e7cbf=_0x10f718(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x1a093f,0xb,_0x3e1ebd[0x29]),_0x5e7eab=_0x10f718(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x164dd1,0x10,_0x3e1ebd[0x2a]),_0x9bbeec=_0x10f718(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x46a595,0x17,_0x3e1ebd[0x2b]),_0x3c1425=_0x10f718(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x446f83,0x4,_0x3e1ebd[0x2c]),_0x4e7cbf=_0x10f718(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x1a180d,0xb,_0x3e1ebd[0x2d]),_0x5e7eab=_0x10f718(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x43563e,0x10,_0x3e1ebd[0x2e]),_0x9bbeec=_0x10f718(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x1ecafc,0x17,_0x3e1ebd[0x2f]),_0x3c1425=_0x16b9e2(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x1a093f,0x6,_0x3e1ebd[0x30]),_0x4e7cbf=_0x16b9e2(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x11867b,0xa,_0x3e1ebd[0x31]),_0x5e7eab=_0x16b9e2(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x56bc7f,0xf,_0x3e1ebd[0x32]),_0x9bbeec=_0x16b9e2(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x33f25a,0x15,_0x3e1ebd[0x33]),_0x3c1425=_0x16b9e2(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x1a180d,0x6,_0x3e1ebd[0x34]),_0x4e7cbf=_0x16b9e2(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x164dd1,0xa,_0x3e1ebd[0x35]),_0x5e7eab=_0x16b9e2(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x241852,0xf,_0x3e1ebd[0x36]),_0x9bbeec=_0x16b9e2(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x5e95ea,0x15,_0x3e1ebd[0x37]),_0x3c1425=_0x16b9e2(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x57c609,0x6,_0x3e1ebd[0x38]),_0x4e7cbf=_0x16b9e2(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x43563e,0xa,_0x3e1ebd[0x39]),_0x5e7eab=_0x16b9e2(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x46a595,0xf,_0x3e1ebd[0x3a]),_0x9bbeec=_0x16b9e2(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x402d48,0x15,_0x3e1ebd[0x3b]),_0x3c1425=_0x16b9e2(_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c7e05,0x6,_0x3e1ebd[0x3c]),_0x4e7cbf=_0x16b9e2(_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x5e7eab,_0x4dd1c0,0xa,_0x3e1ebd[0x3d]),_0x5e7eab=_0x16b9e2(_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x9bbeec,_0x1ecafc,0xf,_0x3e1ebd[0x3e]),_0x9bbeec=_0x16b9e2(_0x9bbeec,_0x5e7eab,_0x4e7cbf,_0x3c1425,_0x446f83,0x15,_0x3e1ebd[0x3f]),_0x1780a5[0x0]=_0x1780a5[0x0]+_0x3c1425|0x0,_0x1780a5[0x1]=_0x1780a5[0x1]+_0x9bbeec|0x0,_0x1780a5[0x2]=_0x1780a5[0x2]+_0x5e7eab|0x0,_0x1780a5[0x3]=_0x1780a5[0x3]+_0x4e7cbf|0x0;},'_doFinalize':function(){var _0x8868a2=_0x3dc0eb,_0x4f265c=this[_0x8868a2(0x3fa)],_0x18c95e=_0x4f265c[_0x8868a2(0x133)],_0x362cb6=this[_0x8868a2(0x190)]*0x8,_0x48dbab=_0x4f265c[_0x8868a2(0x2a9)]*0x8;_0x18c95e[_0x48dbab>>>0x5]|=0x80<<0x18-_0x48dbab%0x20;var _0xa01e84=_0x122285[_0x8868a2(0x409)](_0x362cb6/0x100000000),_0x1a505c=_0x362cb6;_0x18c95e[(_0x48dbab+0x40>>>0x9<<0x4)+0xf]=(_0xa01e84<<0x8|_0xa01e84>>>0x18)&0xff00ff|(_0xa01e84<<0x18|_0xa01e84>>>0x8)&0xff00ff00,_0x18c95e[(_0x48dbab+0x40>>>0x9<<0x4)+0xe]=(_0x1a505c<<0x8|_0x1a505c>>>0x18)&0xff00ff|(_0x1a505c<<0x18|_0x1a505c>>>0x8)&0xff00ff00,_0x4f265c[_0x8868a2(0x2a9)]=(_0x18c95e[_0x8868a2(0x344)]+0x1)*0x4,this['_process']();for(var _0x35851e=this['_hash'],_0x44781f=_0x35851e[_0x8868a2(0x133)],_0x475523=0x0;_0x475523<0x4;_0x475523++){var _0x3ebc89=_0x44781f[_0x475523];_0x44781f[_0x475523]=(_0x3ebc89<<0x8|_0x3ebc89>>>0x18)&0xff00ff|(_0x3ebc89<<0x18|_0x3ebc89>>>0x8)&0xff00ff00;}return _0x35851e;},'clone':function(){var _0x4ae137=_0x3dc0eb,_0x542824=_0x433a7d[_0x4ae137(0x36c)][_0x4ae137(0x16c)](this);return _0x542824[_0x4ae137(0x1c5)]=this[_0x4ae137(0x1c5)][_0x4ae137(0x36c)](),_0x542824;}});function _0x131949(_0x4a6e84,_0x17e8e6,_0x44c94b,_0x3c370c,_0x442eff,_0x2a6a60,_0x2c9e6e){var _0x5b1cb0=_0x4a6e84+(_0x17e8e6&_0x44c94b|~_0x17e8e6&_0x3c370c)+_0x442eff+_0x2c9e6e;return(_0x5b1cb0<<_0x2a6a60|_0x5b1cb0>>>0x20-_0x2a6a60)+_0x17e8e6;}function _0x142138(_0x186552,_0x56f5a8,_0x356259,_0x3cf3da,_0x155c71,_0x4b9504,_0x3b256c){var _0x2da825=_0x186552+(_0x56f5a8&_0x3cf3da|_0x356259&~_0x3cf3da)+_0x155c71+_0x3b256c;return(_0x2da825<<_0x4b9504|_0x2da825>>>0x20-_0x4b9504)+_0x56f5a8;}function _0x10f718(_0x2343af,_0xda4825,_0x3ba5a0,_0x4dcbf8,_0x59f377,_0x3345c8,_0xc66508){var _0x7896ba=_0x2343af+(_0xda4825^_0x3ba5a0^_0x4dcbf8)+_0x59f377+_0xc66508;return(_0x7896ba<<_0x3345c8|_0x7896ba>>>0x20-_0x3345c8)+_0xda4825;}function _0x16b9e2(_0x45fe35,_0x3b5b52,_0x5b108f,_0x3edbe2,_0x1ba3ae,_0x720495,_0x334720){var _0x552db3=_0x45fe35+(_0x5b108f^(_0x3b5b52|~_0x3edbe2))+_0x1ba3ae+_0x334720;return(_0x552db3<<_0x720495|_0x552db3>>>0x20-_0x720495)+_0x3b5b52;}_0x2a675d[_0x3dc0eb(0x2f7)]=_0x433a7d['_createHelper'](_0x5166b9),_0x2a675d[_0x3dc0eb(0x36a)]=_0x433a7d[_0x3dc0eb(0x401)](_0x5166b9);}(Math),_0x362b3c['MD5'];}));}(Ye)),Ye[_0x57eedb(0x164)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x47228c(0x164)],Xt;function dn(){var _0x127ebf=_0x47228c;return Xt||(Xt=0x1,function(_0x27d0c5,_0x18ac96){(function(_0x1aa091,_0x21d45){var _0x231b98=_0x3374;_0x27d0c5[_0x231b98(0x164)]=_0x21d45(te());}(un,function(_0x2aa4f0){var _0x21eef0=_0x3374;return(function(){var _0x14aca2=_0x3374,_0x27ce17=_0x2aa4f0,_0x1f1117=_0x27ce17['lib'],_0x178a05=_0x1f1117[_0x14aca2(0x3af)],_0x600308=_0x1f1117['Hasher'],_0x53e8f2=_0x27ce17[_0x14aca2(0x22c)],_0x3ba580=[],_0xd6c723=_0x53e8f2[_0x14aca2(0x1b5)]=_0x600308[_0x14aca2(0x41d)]({'_doReset':function(){var _0x32745c=_0x14aca2;this['_hash']=new _0x178a05[(_0x32745c(0x3bb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6ad64,_0x13fed5){var _0x3546fe=_0x14aca2;for(var _0x3edcbb=this[_0x3546fe(0x1c5)][_0x3546fe(0x133)],_0x29f496=_0x3edcbb[0x0],_0x25ca76=_0x3edcbb[0x1],_0x41b403=_0x3edcbb[0x2],_0x2f3eee=_0x3edcbb[0x3],_0xdc83ac=_0x3edcbb[0x4],_0x2819e6=0x0;_0x2819e6<0x50;_0x2819e6++){if(_0x2819e6<0x10)_0x3ba580[_0x2819e6]=_0x6ad64[_0x13fed5+_0x2819e6]|0x0;else{var _0x59fa5b=_0x3ba580[_0x2819e6-0x3]^_0x3ba580[_0x2819e6-0x8]^_0x3ba580[_0x2819e6-0xe]^_0x3ba580[_0x2819e6-0x10];_0x3ba580[_0x2819e6]=_0x59fa5b<<0x1|_0x59fa5b>>>0x1f;}var _0x1d6f90=(_0x29f496<<0x5|_0x29f496>>>0x1b)+_0xdc83ac+_0x3ba580[_0x2819e6];_0x2819e6<0x14?_0x1d6f90+=(_0x25ca76&_0x41b403|~_0x25ca76&_0x2f3eee)+0x5a827999:_0x2819e6<0x28?_0x1d6f90+=(_0x25ca76^_0x41b403^_0x2f3eee)+0x6ed9eba1:_0x2819e6<0x3c?_0x1d6f90+=(_0x25ca76&_0x41b403|_0x25ca76&_0x2f3eee|_0x41b403&_0x2f3eee)-0x70e44324:_0x1d6f90+=(_0x25ca76^_0x41b403^_0x2f3eee)-0x359d3e2a,_0xdc83ac=_0x2f3eee,_0x2f3eee=_0x41b403,_0x41b403=_0x25ca76<<0x1e|_0x25ca76>>>0x2,_0x25ca76=_0x29f496,_0x29f496=_0x1d6f90;}_0x3edcbb[0x0]=_0x3edcbb[0x0]+_0x29f496|0x0,_0x3edcbb[0x1]=_0x3edcbb[0x1]+_0x25ca76|0x0,_0x3edcbb[0x2]=_0x3edcbb[0x2]+_0x41b403|0x0,_0x3edcbb[0x3]=_0x3edcbb[0x3]+_0x2f3eee|0x0,_0x3edcbb[0x4]=_0x3edcbb[0x4]+_0xdc83ac|0x0;},'_doFinalize':function(){var _0x51726d=_0x14aca2,_0x204944=this[_0x51726d(0x3fa)],_0x4f2c0b=_0x204944[_0x51726d(0x133)],_0x1bc034=this[_0x51726d(0x190)]*0x8,_0x575318=_0x204944[_0x51726d(0x2a9)]*0x8;return _0x4f2c0b[_0x575318>>>0x5]|=0x80<<0x18-_0x575318%0x20,_0x4f2c0b[(_0x575318+0x40>>>0x9<<0x4)+0xe]=Math[_0x51726d(0x409)](_0x1bc034/0x100000000),_0x4f2c0b[(_0x575318+0x40>>>0x9<<0x4)+0xf]=_0x1bc034,_0x204944[_0x51726d(0x2a9)]=_0x4f2c0b[_0x51726d(0x344)]*0x4,this[_0x51726d(0x20b)](),this[_0x51726d(0x1c5)];},'clone':function(){var _0x49c7a4=_0x14aca2,_0x2854bb=_0x600308[_0x49c7a4(0x36c)][_0x49c7a4(0x16c)](this);return _0x2854bb[_0x49c7a4(0x1c5)]=this[_0x49c7a4(0x1c5)][_0x49c7a4(0x36c)](),_0x2854bb;}});_0x27ce17[_0x14aca2(0x1b5)]=_0x600308[_0x14aca2(0x282)](_0xd6c723),_0x27ce17[_0x14aca2(0x161)]=_0x600308['_createHmacHelper'](_0xd6c723);}()),_0x2aa4f0[_0x21eef0(0x1b5)];}));}(qe)),qe[_0x127ebf(0x164)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){return Zt||(Zt=0x1,function(_0x2f9cbb,_0x5f33b7){(function(_0x1224b1,_0x2858d2){_0x2f9cbb['exports']=_0x2858d2(te());}(fn,function(_0x581652){(function(){var _0x565499=_0x3374,_0x36c915=_0x581652,_0x389928=_0x36c915[_0x565499(0x3ca)],_0x852c3=_0x389928[_0x565499(0x3a4)],_0x18f9c0=_0x36c915[_0x565499(0x185)],_0x391e6d=_0x18f9c0['Utf8'],_0x518113=_0x36c915[_0x565499(0x22c)];_0x518113['HMAC']=_0x852c3[_0x565499(0x41d)]({'init':function(_0x3263f0,_0x5c6301){var _0x56be83=_0x565499;_0x3263f0=this[_0x56be83(0x2fc)]=new _0x3263f0[(_0x56be83(0x3bb))](),typeof _0x5c6301==_0x56be83(0x13e)&&(_0x5c6301=_0x391e6d[_0x56be83(0x31a)](_0x5c6301));var _0xe44d46=_0x3263f0[_0x56be83(0x3f1)],_0x38eaa4=_0xe44d46*0x4;_0x5c6301[_0x56be83(0x2a9)]>_0x38eaa4&&(_0x5c6301=_0x3263f0['finalize'](_0x5c6301)),_0x5c6301['clamp']();for(var _0x361b79=this[_0x56be83(0x2b4)]=_0x5c6301['clone'](),_0x3a8643=this['_iKey']=_0x5c6301[_0x56be83(0x36c)](),_0x537c24=_0x361b79[_0x56be83(0x133)],_0x310922=_0x3a8643[_0x56be83(0x133)],_0x492bb8=0x0;_0x492bb8<_0xe44d46;_0x492bb8++)_0x537c24[_0x492bb8]^=0x5c5c5c5c,_0x310922[_0x492bb8]^=0x36363636;_0x361b79['sigBytes']=_0x3a8643[_0x56be83(0x2a9)]=_0x38eaa4,this[_0x56be83(0x2d2)]();},'reset':function(){var _0x239764=_0x565499,_0x12bb57=this[_0x239764(0x2fc)];_0x12bb57[_0x239764(0x2d2)](),_0x12bb57[_0x239764(0x3f9)](this[_0x239764(0x398)]);},'update':function(_0x35e70e){var _0x2ee012=_0x565499;return this[_0x2ee012(0x2fc)][_0x2ee012(0x3f9)](_0x35e70e),this;},'finalize':function(_0xf4278e){var _0x4d0af3=_0x565499,_0x17e823=this[_0x4d0af3(0x2fc)],_0x170198=_0x17e823[_0x4d0af3(0x278)](_0xf4278e);_0x17e823['reset']();var _0x2eceb1=_0x17e823['finalize'](this[_0x4d0af3(0x2b4)][_0x4d0af3(0x36c)]()[_0x4d0af3(0x375)](_0x170198));return _0x2eceb1;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x47228c(0x164)],Qt;function Oi(){var _0x176490=_0x47228c;return Qt||(Qt=0x1,function(_0x488364,_0x154f39){(function(_0x244333,_0x181b1a,_0x452bb1){var _0x6cab25=_0x3374;_0x488364[_0x6cab25(0x164)]=_0x181b1a(te(),dn(),vn());}(pn,function(_0x196f54){var _0x229a18=_0x3374;return(function(){var _0x369d61=_0x3374,_0x10ded2=_0x196f54,_0x599a0b=_0x10ded2['lib'],_0x558311=_0x599a0b['Base'],_0x35083e=_0x599a0b[_0x369d61(0x3af)],_0x22aebd=_0x10ded2['algo'],_0x5e36ac=_0x22aebd[_0x369d61(0x2f7)],_0x111d9a=_0x22aebd['EvpKDF']=_0x558311[_0x369d61(0x41d)]({'cfg':_0x558311[_0x369d61(0x41d)]({'keySize':0x80/0x20,'hasher':_0x5e36ac,'iterations':0x1}),'init':function(_0x211562){var _0x2ace8f=_0x369d61;this[_0x2ace8f(0x3e0)]=this[_0x2ace8f(0x3e0)][_0x2ace8f(0x41d)](_0x211562);},'compute':function(_0x500896,_0xcd6b8d){var _0x2b678c=_0x369d61;for(var _0x55cc2f,_0xfb5251=this[_0x2b678c(0x3e0)],_0x2f40d1=_0xfb5251[_0x2b678c(0x2b1)][_0x2b678c(0x3bf)](),_0x36f57d=_0x35083e['create'](),_0x33e026=_0x36f57d[_0x2b678c(0x133)],_0x5ef91c=_0xfb5251[_0x2b678c(0x333)],_0x4fb9d4=_0xfb5251[_0x2b678c(0x15e)];_0x33e026[_0x2b678c(0x344)]<_0x5ef91c;){_0x55cc2f&&_0x2f40d1[_0x2b678c(0x3f9)](_0x55cc2f),_0x55cc2f=_0x2f40d1[_0x2b678c(0x3f9)](_0x500896)[_0x2b678c(0x278)](_0xcd6b8d),_0x2f40d1[_0x2b678c(0x2d2)]();for(var _0x2a8d88=0x1;_0x2a8d88<_0x4fb9d4;_0x2a8d88++)_0x55cc2f=_0x2f40d1[_0x2b678c(0x278)](_0x55cc2f),_0x2f40d1[_0x2b678c(0x2d2)]();_0x36f57d[_0x2b678c(0x375)](_0x55cc2f);}return _0x36f57d[_0x2b678c(0x2a9)]=_0x5ef91c*0x4,_0x36f57d;}});_0x10ded2[_0x369d61(0x165)]=function(_0x3c1e43,_0x1ad50b,_0x3cbc5e){var _0x3584cb=_0x369d61;return _0x111d9a['create'](_0x3cbc5e)[_0x3584cb(0x212)](_0x3c1e43,_0x1ad50b);};}()),_0x196f54[_0x229a18(0x165)];}));}(Ke)),Ke[_0x176490(0x164)];}var Je={'exports':{}},mn=Je['exports'],ei;function bi(){var _0x39fde2=_0x47228c;return ei||(ei=0x1,function(_0x3c1e1d,_0x21e897){(function(_0x1fded3,_0x4af781,_0x4af81f){var _0x8b945=_0x3374;_0x3c1e1d[_0x8b945(0x164)]=_0x4af781(te(),Oi());}(mn,function(_0x36282d){var _0x239db9=_0x3374;_0x36282d['lib'][_0x239db9(0x178)]||function(_0x26d4c6){var _0x3becda=_0x239db9,_0xf987b5=_0x36282d,_0x1c17d4=_0xf987b5[_0x3becda(0x3ca)],_0x4e0623=_0x1c17d4[_0x3becda(0x3a4)],_0x410260=_0x1c17d4[_0x3becda(0x3af)],_0x26c607=_0x1c17d4[_0x3becda(0x2fb)],_0x50c77b=_0xf987b5[_0x3becda(0x185)];_0x50c77b['Utf8'];var _0xfe6cc=_0x50c77b[_0x3becda(0x26c)],_0x226cc6=_0xf987b5[_0x3becda(0x22c)],_0x5c6640=_0x226cc6[_0x3becda(0x165)],_0x2b8b5e=_0x1c17d4[_0x3becda(0x178)]=_0x26c607[_0x3becda(0x41d)]({'cfg':_0x4e0623['extend'](),'createEncryptor':function(_0x519feb,_0x410876){var _0x1f111f=_0x3becda;return this[_0x1f111f(0x3bf)](this[_0x1f111f(0x201)],_0x519feb,_0x410876);},'createDecryptor':function(_0x36662e,_0x1a5814){return this['create'](this['_DEC_XFORM_MODE'],_0x36662e,_0x1a5814);},'init':function(_0x48ab63,_0x31988a,_0x22fa3c){var _0x3348d4=_0x3becda;this[_0x3348d4(0x3e0)]=this[_0x3348d4(0x3e0)][_0x3348d4(0x41d)](_0x22fa3c),this[_0x3348d4(0x264)]=_0x48ab63,this[_0x3348d4(0x215)]=_0x31988a,this[_0x3348d4(0x2d2)]();},'reset':function(){var _0x94ccdd=_0x3becda;_0x26c607[_0x94ccdd(0x2d2)][_0x94ccdd(0x16c)](this),this[_0x94ccdd(0x2be)]();},'process':function(_0x1e5d65){var _0x4d7bab=_0x3becda;return this['_append'](_0x1e5d65),this[_0x4d7bab(0x20b)]();},'finalize':function(_0x374b7e){var _0x2204bd=_0x3becda;_0x374b7e&&this[_0x2204bd(0x1f9)](_0x374b7e);var _0x4849c6=this[_0x2204bd(0x33f)]();return _0x4849c6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4092c3(_0x3ddf22){var _0x2e8af5=_0x3374;return typeof _0x3ddf22==_0x2e8af5(0x13e)?_0x9be781:_0xe10620;}return function(_0xe9dd26){return{'encrypt':function(_0x5c19f3,_0x3621c3,_0x39c69f){var _0xcbd1e=_0x3374;return _0x4092c3(_0x3621c3)[_0xcbd1e(0x1e0)](_0xe9dd26,_0x5c19f3,_0x3621c3,_0x39c69f);},'decrypt':function(_0x511e53,_0x534be3,_0x4e468e){var _0x209ddd=_0x3374;return _0x4092c3(_0x534be3)[_0x209ddd(0x28f)](_0xe9dd26,_0x511e53,_0x534be3,_0x4e468e);}};};}())});_0x1c17d4['StreamCipher']=_0x2b8b5e[_0x3becda(0x41d)]({'_doFinalize':function(){var _0x2bed0d=_0x3becda,_0x1bd756=this[_0x2bed0d(0x20b)](!0x0);return _0x1bd756;},'blockSize':0x1});var _0x63ee9c=_0xf987b5['mode']={},_0x2a52c7=_0x1c17d4[_0x3becda(0x337)]=_0x4e0623['extend']({'createEncryptor':function(_0x276eaf,_0x25b6f5){var _0x1771bb=_0x3becda;return this['Encryptor'][_0x1771bb(0x3bf)](_0x276eaf,_0x25b6f5);},'createDecryptor':function(_0x308938,_0x6dde35){var _0x24f65d=_0x3becda;return this['Decryptor'][_0x24f65d(0x3bf)](_0x308938,_0x6dde35);},'init':function(_0x49c95a,_0x1fe267){var _0x56503f=_0x3becda;this[_0x56503f(0x343)]=_0x49c95a,this[_0x56503f(0x287)]=_0x1fe267;}}),_0x1a7696=_0x63ee9c[_0x3becda(0x298)]=(function(){var _0x44f316=_0x3becda,_0x1acc7c=_0x2a52c7['extend']();_0x1acc7c[_0x44f316(0x259)]=_0x1acc7c['extend']({'processBlock':function(_0x431125,_0xbe0f33){var _0x14d72c=_0x44f316,_0x91f3b6=this[_0x14d72c(0x343)],_0x15f4e9=_0x91f3b6[_0x14d72c(0x3f1)];_0x196d47[_0x14d72c(0x16c)](this,_0x431125,_0xbe0f33,_0x15f4e9),_0x91f3b6[_0x14d72c(0x30d)](_0x431125,_0xbe0f33),this[_0x14d72c(0x1cf)]=_0x431125[_0x14d72c(0x20c)](_0xbe0f33,_0xbe0f33+_0x15f4e9);}}),_0x1acc7c[_0x44f316(0x22a)]=_0x1acc7c['extend']({'processBlock':function(_0x2d5fe5,_0x52decc){var _0x19e32c=_0x44f316,_0x1b9aae=this[_0x19e32c(0x343)],_0x1e9c0c=_0x1b9aae[_0x19e32c(0x3f1)],_0x55ee5e=_0x2d5fe5[_0x19e32c(0x20c)](_0x52decc,_0x52decc+_0x1e9c0c);_0x1b9aae[_0x19e32c(0x332)](_0x2d5fe5,_0x52decc),_0x196d47[_0x19e32c(0x16c)](this,_0x2d5fe5,_0x52decc,_0x1e9c0c),this[_0x19e32c(0x1cf)]=_0x55ee5e;}});function _0x196d47(_0x31400e,_0x55d461,_0x267b6f){var _0x12a35c=_0x44f316,_0xbb524f,_0x1c11de=this[_0x12a35c(0x287)];_0x1c11de?(_0xbb524f=_0x1c11de,this[_0x12a35c(0x287)]=_0x26d4c6):_0xbb524f=this['_prevBlock'];for(var _0x556815=0x0;_0x556815<_0x267b6f;_0x556815++)_0x31400e[_0x55d461+_0x556815]^=_0xbb524f[_0x556815];}return _0x1acc7c;}()),_0x36f1b3=_0xf987b5[_0x3becda(0x346)]={},_0x26128b=_0x36f1b3[_0x3becda(0x1fb)]={'pad':function(_0x2f6fd6,_0x5637a7){var _0x17aaef=_0x3becda;for(var _0x129e78=_0x5637a7*0x4,_0x437591=_0x129e78-_0x2f6fd6[_0x17aaef(0x2a9)]%_0x129e78,_0x967cdb=_0x437591<<0x18|_0x437591<<0x10|_0x437591<<0x8|_0x437591,_0x37bdbf=[],_0x485b43=0x0;_0x485b43<_0x437591;_0x485b43+=0x4)_0x37bdbf[_0x17aaef(0x198)](_0x967cdb);var _0x5adb2f=_0x410260[_0x17aaef(0x3bf)](_0x37bdbf,_0x437591);_0x2f6fd6[_0x17aaef(0x375)](_0x5adb2f);},'unpad':function(_0x45db73){var _0x1cd718=_0x3becda,_0x36979a=_0x45db73[_0x1cd718(0x133)][_0x45db73[_0x1cd718(0x2a9)]-0x1>>>0x2]&0xff;_0x45db73['sigBytes']-=_0x36979a;}};_0x1c17d4['BlockCipher']=_0x2b8b5e[_0x3becda(0x41d)]({'cfg':_0x2b8b5e['cfg']['extend']({'mode':_0x1a7696,'padding':_0x26128b}),'reset':function(){var _0x3e01c0=_0x3becda,_0x5af672;_0x2b8b5e[_0x3e01c0(0x2d2)]['call'](this);var _0x2cd363=this['cfg'],_0x1cfe3d=_0x2cd363['iv'],_0x4dcbed=_0x2cd363[_0x3e01c0(0x368)];this[_0x3e01c0(0x264)]==this['_ENC_XFORM_MODE']?_0x5af672=_0x4dcbed['createEncryptor']:(_0x5af672=_0x4dcbed['createDecryptor'],this[_0x3e01c0(0x32d)]=0x1),this[_0x3e01c0(0x3d8)]&&this['_mode'][_0x3e01c0(0x195)]==_0x5af672?this['_mode'][_0x3e01c0(0x3bb)](this,_0x1cfe3d&&_0x1cfe3d[_0x3e01c0(0x133)]):(this[_0x3e01c0(0x3d8)]=_0x5af672[_0x3e01c0(0x16c)](_0x4dcbed,this,_0x1cfe3d&&_0x1cfe3d[_0x3e01c0(0x133)]),this['_mode'][_0x3e01c0(0x195)]=_0x5af672);},'_doProcessBlock':function(_0x252a4d,_0x212e72){var _0x4b4914=_0x3becda;this[_0x4b4914(0x3d8)]['processBlock'](_0x252a4d,_0x212e72);},'_doFinalize':function(){var _0x2042e4=_0x3becda,_0x7a85e7,_0x50ac7c=this['cfg'][_0x2042e4(0x20d)];return this[_0x2042e4(0x264)]==this[_0x2042e4(0x201)]?(_0x50ac7c[_0x2042e4(0x346)](this['_data'],this[_0x2042e4(0x3f1)]),_0x7a85e7=this[_0x2042e4(0x20b)](!0x0)):(_0x7a85e7=this[_0x2042e4(0x20b)](!0x0),_0x50ac7c['unpad'](_0x7a85e7)),_0x7a85e7;},'blockSize':0x80/0x20});var _0x21adca=_0x1c17d4[_0x3becda(0x235)]=_0x4e0623[_0x3becda(0x41d)]({'init':function(_0x54112f){this['mixIn'](_0x54112f);},'toString':function(_0x2f92ae){var _0x1c8d7f=_0x3becda;return(_0x2f92ae||this[_0x1c8d7f(0x216)])[_0x1c8d7f(0x261)](this);}}),_0x72df09=_0xf987b5[_0x3becda(0x13b)]={},_0x490df3=_0x72df09[_0x3becda(0x13a)]={'stringify':function(_0xcb76de){var _0x22aa48=_0x3becda,_0x1846ed,_0x2714b5=_0xcb76de[_0x22aa48(0x269)],_0x536c25=_0xcb76de[_0x22aa48(0x30e)];return _0x536c25?_0x1846ed=_0x410260['create']([0x53616c74,0x65645f5f])[_0x22aa48(0x375)](_0x536c25)[_0x22aa48(0x375)](_0x2714b5):_0x1846ed=_0x2714b5,_0x1846ed['toString'](_0xfe6cc);},'parse':function(_0x456958){var _0x4b0524=_0x3becda,_0x27b8da,_0x32e2f5=_0xfe6cc['parse'](_0x456958),_0xa8058=_0x32e2f5[_0x4b0524(0x133)];return _0xa8058[0x0]==0x53616c74&&_0xa8058[0x1]==0x65645f5f&&(_0x27b8da=_0x410260[_0x4b0524(0x3bf)](_0xa8058['slice'](0x2,0x4)),_0xa8058[_0x4b0524(0x2d1)](0x0,0x4),_0x32e2f5[_0x4b0524(0x2a9)]-=0x10),_0x21adca['create']({'ciphertext':_0x32e2f5,'salt':_0x27b8da});}},_0xe10620=_0x1c17d4[_0x3becda(0x3ba)]=_0x4e0623[_0x3becda(0x41d)]({'cfg':_0x4e0623[_0x3becda(0x41d)]({'format':_0x490df3}),'encrypt':function(_0x2931c5,_0x1daea4,_0x1fb99b,_0xa9dcdd){var _0x245181=_0x3becda;_0xa9dcdd=this[_0x245181(0x3e0)]['extend'](_0xa9dcdd);var _0x2670d3=_0x2931c5['createEncryptor'](_0x1fb99b,_0xa9dcdd),_0x3c8fae=_0x2670d3[_0x245181(0x278)](_0x1daea4),_0x2d8654=_0x2670d3['cfg'];return _0x21adca[_0x245181(0x3bf)]({'ciphertext':_0x3c8fae,'key':_0x1fb99b,'iv':_0x2d8654['iv'],'algorithm':_0x2931c5,'mode':_0x2d8654[_0x245181(0x368)],'padding':_0x2d8654['padding'],'blockSize':_0x2931c5[_0x245181(0x3f1)],'formatter':_0xa9dcdd['format']});},'decrypt':function(_0x27709f,_0x35325c,_0x3bcb79,_0x11f322){var _0x11ad36=_0x3becda;_0x11f322=this['cfg']['extend'](_0x11f322),_0x35325c=this[_0x11ad36(0x2c4)](_0x35325c,_0x11f322[_0x11ad36(0x13b)]);var _0x2c8978=_0x27709f[_0x11ad36(0x3b0)](_0x3bcb79,_0x11f322)[_0x11ad36(0x278)](_0x35325c[_0x11ad36(0x269)]);return _0x2c8978;},'_parse':function(_0x224365,_0x351b8a){var _0x4a2f5b=_0x3becda;return typeof _0x224365==_0x4a2f5b(0x13e)?_0x351b8a[_0x4a2f5b(0x31a)](_0x224365,this):_0x224365;}}),_0x5d7959=_0xf987b5['kdf']={},_0x2c6e91=_0x5d7959[_0x3becda(0x13a)]={'execute':function(_0x1d0fd,_0x4418a3,_0x37a027,_0x2debbb,_0x3579a1){var _0x3a4dc4=_0x3becda;if(_0x2debbb||(_0x2debbb=_0x410260[_0x3a4dc4(0x2a8)](0x40/0x8)),_0x3579a1)var _0x547388=_0x5c6640[_0x3a4dc4(0x3bf)]({'keySize':_0x4418a3+_0x37a027,'hasher':_0x3579a1})[_0x3a4dc4(0x212)](_0x1d0fd,_0x2debbb);else var _0x547388=_0x5c6640[_0x3a4dc4(0x3bf)]({'keySize':_0x4418a3+_0x37a027})[_0x3a4dc4(0x212)](_0x1d0fd,_0x2debbb);var _0x3d2280=_0x410260['create'](_0x547388[_0x3a4dc4(0x133)][_0x3a4dc4(0x20c)](_0x4418a3),_0x37a027*0x4);return _0x547388[_0x3a4dc4(0x2a9)]=_0x4418a3*0x4,_0x21adca[_0x3a4dc4(0x3bf)]({'key':_0x547388,'iv':_0x3d2280,'salt':_0x2debbb});}},_0x9be781=_0x1c17d4[_0x3becda(0x206)]=_0xe10620[_0x3becda(0x41d)]({'cfg':_0xe10620[_0x3becda(0x3e0)][_0x3becda(0x41d)]({'kdf':_0x2c6e91}),'encrypt':function(_0x9ed44,_0x3eb592,_0x21ac42,_0x2369e3){var _0x16a9b9=_0x3becda;_0x2369e3=this[_0x16a9b9(0x3e0)][_0x16a9b9(0x41d)](_0x2369e3);var _0x55ea66=_0x2369e3[_0x16a9b9(0x354)][_0x16a9b9(0x159)](_0x21ac42,_0x9ed44['keySize'],_0x9ed44[_0x16a9b9(0x2f5)],_0x2369e3['salt'],_0x2369e3['hasher']);_0x2369e3['iv']=_0x55ea66['iv'];var _0x5f3494=_0xe10620[_0x16a9b9(0x1e0)][_0x16a9b9(0x16c)](this,_0x9ed44,_0x3eb592,_0x55ea66['key'],_0x2369e3);return _0x5f3494['mixIn'](_0x55ea66),_0x5f3494;},'decrypt':function(_0x5b4302,_0x5a04e3,_0x3b6b01,_0x42855e){var _0x39208f=_0x3becda;_0x42855e=this[_0x39208f(0x3e0)][_0x39208f(0x41d)](_0x42855e),_0x5a04e3=this[_0x39208f(0x2c4)](_0x5a04e3,_0x42855e[_0x39208f(0x13b)]);var _0x15e5cc=_0x42855e[_0x39208f(0x354)][_0x39208f(0x159)](_0x3b6b01,_0x5b4302['keySize'],_0x5b4302[_0x39208f(0x2f5)],_0x5a04e3[_0x39208f(0x30e)],_0x42855e[_0x39208f(0x2b1)]);_0x42855e['iv']=_0x15e5cc['iv'];var _0x5e5da3=_0xe10620['decrypt'][_0x39208f(0x16c)](this,_0x5b4302,_0x5a04e3,_0x15e5cc[_0x39208f(0x277)],_0x42855e);return _0x5e5da3;}});}();}));}(Je)),Je[_0x39fde2(0x164)];}var gn=Ve[_0x47228c(0x164)],ti;function Sn(){var _0x5f1685=_0x47228c;return ti||(ti=0x1,function(_0xb4a8b4,_0x1160be){(function(_0x54f47d,_0x3033ea,_0x7c6cb3){var _0x4313c9=_0x3374;_0xb4a8b4[_0x4313c9(0x164)]=_0x3033ea(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x13b27e){var _0x1c5004=_0x3374;return(function(){var _0xc80d06=_0x3374,_0x5edf80=_0x13b27e,_0x915b2=_0x5edf80[_0xc80d06(0x3ca)],_0x5efb8a=_0x915b2['BlockCipher'],_0x4b5108=_0x5edf80[_0xc80d06(0x22c)],_0x130d0b=[],_0x75840e=[],_0x393b84=[],_0xcd9998=[],_0x135e91=[],_0x3dd7f1=[],_0x5bb7f1=[],_0x5912dd=[],_0x5b503a=[],_0x512900=[];(function(){for(var _0x950059=[],_0x5abb34=0x0;_0x5abb34<0x100;_0x5abb34++)_0x5abb34<0x80?_0x950059[_0x5abb34]=_0x5abb34<<0x1:_0x950059[_0x5abb34]=_0x5abb34<<0x1^0x11b;for(var _0x59843f=0x0,_0x14e51c=0x0,_0x5abb34=0x0;_0x5abb34<0x100;_0x5abb34++){var _0x5abdde=_0x14e51c^_0x14e51c<<0x1^_0x14e51c<<0x2^_0x14e51c<<0x3^_0x14e51c<<0x4;_0x5abdde=_0x5abdde>>>0x8^_0x5abdde&0xff^0x63,_0x130d0b[_0x59843f]=_0x5abdde,_0x75840e[_0x5abdde]=_0x59843f;var _0x161e67=_0x950059[_0x59843f],_0x36ee4e=_0x950059[_0x161e67],_0x28bc59=_0x950059[_0x36ee4e],_0x5ed550=_0x950059[_0x5abdde]*0x101^_0x5abdde*0x1010100;_0x393b84[_0x59843f]=_0x5ed550<<0x18|_0x5ed550>>>0x8,_0xcd9998[_0x59843f]=_0x5ed550<<0x10|_0x5ed550>>>0x10,_0x135e91[_0x59843f]=_0x5ed550<<0x8|_0x5ed550>>>0x18,_0x3dd7f1[_0x59843f]=_0x5ed550;var _0x5ed550=_0x28bc59*0x1010101^_0x36ee4e*0x10001^_0x161e67*0x101^_0x59843f*0x1010100;_0x5bb7f1[_0x5abdde]=_0x5ed550<<0x18|_0x5ed550>>>0x8,_0x5912dd[_0x5abdde]=_0x5ed550<<0x10|_0x5ed550>>>0x10,_0x5b503a[_0x5abdde]=_0x5ed550<<0x8|_0x5ed550>>>0x18,_0x512900[_0x5abdde]=_0x5ed550,_0x59843f?(_0x59843f=_0x161e67^_0x950059[_0x950059[_0x950059[_0x28bc59^_0x161e67]]],_0x14e51c^=_0x950059[_0x950059[_0x14e51c]]):_0x59843f=_0x14e51c=0x1;}}());var _0x1e2434=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xea6530=_0x4b5108[_0xc80d06(0x301)]=_0x5efb8a[_0xc80d06(0x41d)]({'_doReset':function(){var _0x5a63f3=_0xc80d06,_0x2cdb8c;if(!(this[_0x5a63f3(0x319)]&&this[_0x5a63f3(0x1cd)]===this[_0x5a63f3(0x215)])){for(var _0x1dc08e=this[_0x5a63f3(0x1cd)]=this[_0x5a63f3(0x215)],_0x3109f5=_0x1dc08e[_0x5a63f3(0x133)],_0x476a1b=_0x1dc08e[_0x5a63f3(0x2a9)]/0x4,_0x4699ca=this['_nRounds']=_0x476a1b+0x6,_0x2a77a9=(_0x4699ca+0x1)*0x4,_0x535e89=this['_keySchedule']=[],_0x4ba5e7=0x0;_0x4ba5e7<_0x2a77a9;_0x4ba5e7++)_0x4ba5e7<_0x476a1b?_0x535e89[_0x4ba5e7]=_0x3109f5[_0x4ba5e7]:(_0x2cdb8c=_0x535e89[_0x4ba5e7-0x1],_0x4ba5e7%_0x476a1b?_0x476a1b>0x6&&_0x4ba5e7%_0x476a1b==0x4&&(_0x2cdb8c=_0x130d0b[_0x2cdb8c>>>0x18]<<0x18|_0x130d0b[_0x2cdb8c>>>0x10&0xff]<<0x10|_0x130d0b[_0x2cdb8c>>>0x8&0xff]<<0x8|_0x130d0b[_0x2cdb8c&0xff]):(_0x2cdb8c=_0x2cdb8c<<0x8|_0x2cdb8c>>>0x18,_0x2cdb8c=_0x130d0b[_0x2cdb8c>>>0x18]<<0x18|_0x130d0b[_0x2cdb8c>>>0x10&0xff]<<0x10|_0x130d0b[_0x2cdb8c>>>0x8&0xff]<<0x8|_0x130d0b[_0x2cdb8c&0xff],_0x2cdb8c^=_0x1e2434[_0x4ba5e7/_0x476a1b|0x0]<<0x18),_0x535e89[_0x4ba5e7]=_0x535e89[_0x4ba5e7-_0x476a1b]^_0x2cdb8c);for(var _0x4aa602=this[_0x5a63f3(0x2ad)]=[],_0x4b38ca=0x0;_0x4b38ca<_0x2a77a9;_0x4b38ca++){var _0x4ba5e7=_0x2a77a9-_0x4b38ca;if(_0x4b38ca%0x4)var _0x2cdb8c=_0x535e89[_0x4ba5e7];else var _0x2cdb8c=_0x535e89[_0x4ba5e7-0x4];_0x4b38ca<0x4||_0x4ba5e7<=0x4?_0x4aa602[_0x4b38ca]=_0x2cdb8c:_0x4aa602[_0x4b38ca]=_0x5bb7f1[_0x130d0b[_0x2cdb8c>>>0x18]]^_0x5912dd[_0x130d0b[_0x2cdb8c>>>0x10&0xff]]^_0x5b503a[_0x130d0b[_0x2cdb8c>>>0x8&0xff]]^_0x512900[_0x130d0b[_0x2cdb8c&0xff]];}}},'encryptBlock':function(_0x12f9e9,_0x4be073){var _0x2bcb47=_0xc80d06;this['_doCryptBlock'](_0x12f9e9,_0x4be073,this[_0x2bcb47(0x36d)],_0x393b84,_0xcd9998,_0x135e91,_0x3dd7f1,_0x130d0b);},'decryptBlock':function(_0x5cfe6e,_0x3cd7ef){var _0x8421bc=_0xc80d06,_0x4b0626=_0x5cfe6e[_0x3cd7ef+0x1];_0x5cfe6e[_0x3cd7ef+0x1]=_0x5cfe6e[_0x3cd7ef+0x3],_0x5cfe6e[_0x3cd7ef+0x3]=_0x4b0626,this[_0x8421bc(0x1d3)](_0x5cfe6e,_0x3cd7ef,this[_0x8421bc(0x2ad)],_0x5bb7f1,_0x5912dd,_0x5b503a,_0x512900,_0x75840e);var _0x4b0626=_0x5cfe6e[_0x3cd7ef+0x1];_0x5cfe6e[_0x3cd7ef+0x1]=_0x5cfe6e[_0x3cd7ef+0x3],_0x5cfe6e[_0x3cd7ef+0x3]=_0x4b0626;},'_doCryptBlock':function(_0x4351df,_0x23ca2e,_0x17ccb5,_0xcd3cb5,_0x260204,_0x428c84,_0x44ae2d,_0x434006){var _0x5ce85e=_0xc80d06;for(var _0x445eee=this[_0x5ce85e(0x319)],_0x59869a=_0x4351df[_0x23ca2e]^_0x17ccb5[0x0],_0x320405=_0x4351df[_0x23ca2e+0x1]^_0x17ccb5[0x1],_0x3fe2cf=_0x4351df[_0x23ca2e+0x2]^_0x17ccb5[0x2],_0x129bf3=_0x4351df[_0x23ca2e+0x3]^_0x17ccb5[0x3],_0x66889a=0x4,_0x51287b=0x1;_0x51287b<_0x445eee;_0x51287b++){var _0x4265e4=_0xcd3cb5[_0x59869a>>>0x18]^_0x260204[_0x320405>>>0x10&0xff]^_0x428c84[_0x3fe2cf>>>0x8&0xff]^_0x44ae2d[_0x129bf3&0xff]^_0x17ccb5[_0x66889a++],_0x4b3ffe=_0xcd3cb5[_0x320405>>>0x18]^_0x260204[_0x3fe2cf>>>0x10&0xff]^_0x428c84[_0x129bf3>>>0x8&0xff]^_0x44ae2d[_0x59869a&0xff]^_0x17ccb5[_0x66889a++],_0xe87bc6=_0xcd3cb5[_0x3fe2cf>>>0x18]^_0x260204[_0x129bf3>>>0x10&0xff]^_0x428c84[_0x59869a>>>0x8&0xff]^_0x44ae2d[_0x320405&0xff]^_0x17ccb5[_0x66889a++],_0x9d369=_0xcd3cb5[_0x129bf3>>>0x18]^_0x260204[_0x59869a>>>0x10&0xff]^_0x428c84[_0x320405>>>0x8&0xff]^_0x44ae2d[_0x3fe2cf&0xff]^_0x17ccb5[_0x66889a++];_0x59869a=_0x4265e4,_0x320405=_0x4b3ffe,_0x3fe2cf=_0xe87bc6,_0x129bf3=_0x9d369;}var _0x4265e4=(_0x434006[_0x59869a>>>0x18]<<0x18|_0x434006[_0x320405>>>0x10&0xff]<<0x10|_0x434006[_0x3fe2cf>>>0x8&0xff]<<0x8|_0x434006[_0x129bf3&0xff])^_0x17ccb5[_0x66889a++],_0x4b3ffe=(_0x434006[_0x320405>>>0x18]<<0x18|_0x434006[_0x3fe2cf>>>0x10&0xff]<<0x10|_0x434006[_0x129bf3>>>0x8&0xff]<<0x8|_0x434006[_0x59869a&0xff])^_0x17ccb5[_0x66889a++],_0xe87bc6=(_0x434006[_0x3fe2cf>>>0x18]<<0x18|_0x434006[_0x129bf3>>>0x10&0xff]<<0x10|_0x434006[_0x59869a>>>0x8&0xff]<<0x8|_0x434006[_0x320405&0xff])^_0x17ccb5[_0x66889a++],_0x9d369=(_0x434006[_0x129bf3>>>0x18]<<0x18|_0x434006[_0x59869a>>>0x10&0xff]<<0x10|_0x434006[_0x320405>>>0x8&0xff]<<0x8|_0x434006[_0x3fe2cf&0xff])^_0x17ccb5[_0x66889a++];_0x4351df[_0x23ca2e]=_0x4265e4,_0x4351df[_0x23ca2e+0x1]=_0x4b3ffe,_0x4351df[_0x23ca2e+0x2]=_0xe87bc6,_0x4351df[_0x23ca2e+0x3]=_0x9d369;},'keySize':0x100/0x20});_0x5edf80[_0xc80d06(0x301)]=_0x5efb8a['_createHelper'](_0xea6530);}()),_0x13b27e[_0x1c5004(0x301)];}));}(Ve)),Ve[_0x5f1685(0x164)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x47228c(0x164)],si;function Rn(){var _0x2287e8=_0x47228c;return si||(si=0x1,function(_0x5c886e,_0xc0564a){(function(_0x390e55,_0x1ac486){_0x5c886e['exports']=_0x1ac486(te());}(Cn,function(_0x39d51e){var _0x5d6a01=_0x3374;return _0x39d51e['enc'][_0x5d6a01(0x208)];}));}(Xe)),Xe[_0x2287e8(0x164)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){return ni||(ni=0x1,function(_0x539180,_0x1e600f){(function(_0x8bed91,_0x3ad708){var _0x180b83=_0x3374;_0x539180[_0x180b83(0x164)]=_0x3ad708(te());}(yn,function(_0x479f35){return(function(){var _0x3e19f0=_0x3374;if(typeof ArrayBuffer==_0x3e19f0(0x1f7)){var _0x1bcc41=_0x479f35,_0x3bd744=_0x1bcc41[_0x3e19f0(0x3ca)],_0x228301=_0x3bd744[_0x3e19f0(0x3af)],_0x8d3bf3=_0x228301[_0x3e19f0(0x3bb)],_0x148ccd=_0x228301[_0x3e19f0(0x3bb)]=function(_0x7afff0){var _0x28eaec=_0x3e19f0;if(_0x7afff0 instanceof ArrayBuffer&&(_0x7afff0=new Uint8Array(_0x7afff0)),(_0x7afff0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x7afff0 instanceof Uint8ClampedArray||_0x7afff0 instanceof Int16Array||_0x7afff0 instanceof Uint16Array||_0x7afff0 instanceof Int32Array||_0x7afff0 instanceof Uint32Array||_0x7afff0 instanceof Float32Array||_0x7afff0 instanceof Float64Array)&&(_0x7afff0=new Uint8Array(_0x7afff0[_0x28eaec(0x168)],_0x7afff0[_0x28eaec(0x170)],_0x7afff0[_0x28eaec(0x3c1)])),_0x7afff0 instanceof Uint8Array){for(var _0x1756ea=_0x7afff0[_0x28eaec(0x3c1)],_0x29e334=[],_0x734938=0x0;_0x734938<_0x1756ea;_0x734938++)_0x29e334[_0x734938>>>0x2]|=_0x7afff0[_0x734938]<<0x18-_0x734938%0x4*0x8;_0x8d3bf3[_0x28eaec(0x16c)](this,_0x29e334,_0x1756ea);}else _0x8d3bf3[_0x28eaec(0x196)](this,arguments);};_0x148ccd[_0x3e19f0(0x12e)]=_0x228301;}}()),_0x479f35['lib']['WordArray'];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x2c2e9f=_0x47228c;return ri||(ri=0x1,function(_0x2ed84b,_0x52a929){(function(_0x151f39,_0x5439be,_0x3e8449){var _0x1bc534=_0x3374;_0x2ed84b[_0x1bc534(0x164)]=_0x5439be(te(),bi());}(An,function(_0x2bd800){var _0x5167ba=_0x3374;return _0x2bd800[_0x5167ba(0x346)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2bd800[_0x5167ba(0x346)][_0x5167ba(0x1bc)];}));}(Qe)),Qe[_0x2c2e9f(0x164)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x4db3cc,_0x4cfd3c){var _0x864aae=_0x47228c;const _0x3125de=_0x4cfd3c-_0x4db3cc[_0x864aae(0x344)]%_0x4cfd3c,_0xe66ef2=String[_0x864aae(0x2ef)](_0x3125de)[_0x864aae(0x3f4)](_0x3125de);return _0x4db3cc+_0xe66ef2;}function xn(_0x523115,_0x354ba2){var _0x3075da=_0x47228c;const _0x2079ae=Un[_0x3075da(0x2a8)](0x10),_0x1bc019=Ln(_0x523115,0x10),_0x387882=In[_0x3075da(0x1e0)](bn[_0x3075da(0x31a)](_0x1bc019),ii['parse'](_0x354ba2),{'iv':_0x2079ae,'padding':Mn});return _0x2079ae['concat'](_0x387882[_0x3075da(0x269)])[_0x3075da(0x3f7)](ii);}function kn(){var _0x408f3d=_0x47228c;const _0x647dad=_0x515ec6()[_0x408f3d(0x1c1)];if(_0x647dad){const _0x49704f={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x408f3d(0x261)](_0x49704f),_0x647dad);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x4c1005,_0xbd46c8,_0x4a859b,_0x2a102f)=>{for(var _0x368c02=_0x2a102f>0x1?void 0x0:_0x2a102f?$n(_0xbd46c8,_0x4a859b):_0xbd46c8,_0x285212=_0x4c1005['length']-0x1,_0x1d5964;_0x285212>=0x0;_0x285212--)(_0x1d5964=_0x4c1005[_0x285212])&&(_0x368c02=_0x1d5964(_0x368c02)||_0x368c02);return _0x368c02;},Bn=(_0x527947,_0x22b656)=>(_0x15f592,_0x49d95e)=>_0x22b656(_0x15f592,_0x49d95e,_0x527947);let at=class{constructor(_0x42f9f3){var _0x53cf99=_0x47228c;this[_0x53cf99(0x3d4)]=_0x42f9f3,this[_0x53cf99(0x13c)]();}['_initRequestHeader'](){var _0x3e1534=_0x47228c;this[_0x3e1534(0x3d4)][_0x3e1534(0x1e5)]({'interceptor':(_0x2b9137,_0xbd1309)=>{var _0x43403e=_0x3e1534;const _0x8254b7=_0x2b9137[_0x43403e(0x19d)],_0x4b74b8=kn();return _0x4b74b8&&_0x8254b7[_0x43403e(0x31b)]('x-univer-host',_0x4b74b8),_0xbd1309(_0x2b9137);}});}};function _0x3374(_0x26738b,_0x4b19e9){var _0x1e43db=_0x1e43();return _0x3374=function(_0x337467,_0x313870){_0x337467=_0x337467-0x12a;var _0x593acf=_0x1e43db[_0x337467];return _0x593acf;},_0x3374(_0x26738b,_0x4b19e9);}at=Hn([Bn(0x0,_0xc239af(_0x1784b0))],at);var jn=Object[_0x47228c(0x3d5)],Fn=(_0x12b0ab,_0x58d850,_0x5dd56e,_0x46ea57)=>{for(var _0x305924=_0x46ea57>0x1?void 0x0:_0x46ea57?jn(_0x58d850,_0x5dd56e):_0x58d850,_0x35ec70=_0x12b0ab['length']-0x1,_0x45f986;_0x35ec70>=0x0;_0x35ec70--)(_0x45f986=_0x12b0ab[_0x35ec70])&&(_0x305924=_0x45f986(_0x305924)||_0x305924);return _0x305924;},vt=(_0xfda781,_0x77da7e)=>(_0x46fbf2,_0x248a0f)=>_0x77da7e(_0x46fbf2,_0x248a0f,_0xfda781);let Ct=class extends _0x28cd13{constructor(_0x3a60c1,_0x24bac3,_0x126877){var _0x19cda=_0x47228c;super(),N(this,_0x19cda(0x1ca),new _0x6f618b(null)),N(this,_0x19cda(0x222),this[_0x19cda(0x1ca)][_0x19cda(0x14a)]()),(this[_0x19cda(0x36e)]=_0x3a60c1,this[_0x19cda(0x193)]=_0x24bac3,this[_0x19cda(0x24e)]=_0x126877);}async['loadUnitOfRevision'](_0x2162e3,_0x21e863,_0x2d68a3){var _0x1e00d9=_0x47228c;this[_0x1e00d9(0x1ca)][_0x1e00d9(0x426)]({'unitId':_0x2162e3,'type':_0x21e863});let _0x12fe60=null;switch(_0x21e863){case Z[_0x1e00d9(0x21c)]:{_0x12fe60=await this[_0x1e00d9(0x193)][_0x1e00d9(0x341)](_0x2162e3,_0x2d68a3);break;}case Z[_0x1e00d9(0x321)]:{_0x12fe60=await this[_0x1e00d9(0x193)][_0x1e00d9(0x2ab)](_0x2162e3,_0x2d68a3);break;}default:{this['_logService'][_0x1e00d9(0x1ce)](_0x1e00d9(0x1b7),_0x1e00d9(0x339));break;}}return _0x12fe60;}async[_0x47228c(0x1fc)](_0xb9010d,_0x4292bc,_0x48ad64){var _0x2768cf=_0x47228c,_0x33060a;this['_unitInfo$'][_0x2768cf(0x426)]({'unitId':_0xb9010d,'type':_0x4292bc,'subUnitId':_0x48ad64});let _0x4a7870=0x0;const _0x765f39=await((_0x33060a=this[_0x2768cf(0x24e)])==null?void 0x0:_0x33060a[_0x2768cf(0x3a5)](_0xb9010d));return _0x765f39&&(_0x765f39['awaitingChangeset']||_0x765f39[_0x2768cf(0x14d)][_0x2768cf(0x344)]!==0x0)&&(_0x4a7870=_0x765f39[_0x2768cf(0x3a6)]),_0x4a7870===0x0&&this[_0x2768cf(0x36e)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0xb9010d,_0x4292bc,_0x4a7870);}};Ct=Fn([vt(0x0,_0x21a42f),vt(0x1,_0xc239af(_0x14df1f)),vt(0x2,_0x4bf004(J))],Ct);var Vn=Object[_0x47228c(0x3d5)],Wn=(_0x25862e,_0xb07979,_0x4e1b18,_0x4407c0)=>{for(var _0x1bf08f=_0x4407c0>0x1?void 0x0:_0x4407c0?Vn(_0xb07979,_0x4e1b18):_0xb07979,_0x54bd5e=_0x25862e['length']-0x1,_0xbb56fb;_0x54bd5e>=0x0;_0x54bd5e--)(_0xbb56fb=_0x25862e[_0x54bd5e])&&(_0x1bf08f=_0xbb56fb(_0x1bf08f)||_0x1bf08f);return _0x1bf08f;},pt=(_0x3ad83d,_0x1519c4)=>(_0x254313,_0xfebcc1)=>_0x1519c4(_0x254313,_0xfebcc1,_0x3ad83d);const Gn=['image/png',_0x47228c(0x281),_0x47228c(0x160),'image/gif',_0x47228c(0x1f4)],Yn=0x5*0x400*0x400,Kn=_0x47228c(0x20e),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x40fe7a,_0x4357c8,_0x5a7af6){var _0x3ad81b=_0x47228c;N(this,_0x3ad81b(0x295),0x0),N(this,_0x3ad81b(0x162),new _0x105634()),N(this,_0x3ad81b(0x271),this[_0x3ad81b(0x162)]),N(this,_0x3ad81b(0x3e2),new Map()),(this['_httpService']=_0x40fe7a,this[_0x3ad81b(0x363)]=_0x4357c8,this[_0x3ad81b(0x1a5)]=_0x5a7af6);}[_0x47228c(0x372)](_0x3e6fd4){var _0x37504c=_0x47228c;this['_waitCount']=_0x3e6fd4,this['_change$'][_0x37504c(0x426)](_0x3e6fd4);}[_0x47228c(0x1dc)](_0x1e4bda,_0x562f84){var _0x4d812c=_0x47228c;if(_0x562f84===_0x30bc4f['BASE64']){const _0x144cb7=new Image();return _0x144cb7['src']=_0x1e4bda,_0x144cb7;}return this[_0x4d812c(0x3e2)][_0x4d812c(0x2b6)](_0x1e4bda);}[_0x47228c(0x2dd)](_0x32de14,_0x52b6a7,_0x43b6e7){var _0x2ed77e=_0x47228c;_0x52b6a7===_0x30bc4f[_0x2ed77e(0x256)]||_0x43b6e7==null||this[_0x2ed77e(0x3e2)][_0x2ed77e(0x31b)](_0x32de14,_0x43b6e7);}async[_0x47228c(0x38f)](_0x1ee198){var _0x4d233b=_0x47228c;try{const _0x2f787d=this[_0x4d233b(0x18d)](this[_0x4d233b(0x1c4)](),''+_0x1ee198),_0x1c223e=(await this[_0x4d233b(0x3d4)]['get'](_0x2f787d))[_0x4d233b(0x420)];if(_0x1c223e[_0x4d233b(0x1ce)]&&_0x1c223e[_0x4d233b(0x1ce)][_0x4d233b(0x37e)]===vi['OK']){const _0x14a8c7=new URL(_0x1c223e[_0x4d233b(0x142)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x4d233b(0x1d0)](_0x14a8c7);}return Promise[_0x4d233b(0x3a8)](_0x1c223e[_0x4d233b(0x1ce)]);}catch(_0x107027){return Promise[_0x4d233b(0x3a8)](_0x107027);}}async[_0x47228c(0x2ac)](_0x4ed209){var _0x2edb47=_0x47228c;let _0x653826='';if(!Gn[_0x2edb47(0x24b)](_0x4ed209[_0x2edb47(0x2da)]))return this[_0x2edb47(0x249)](),Promise[_0x2edb47(0x3a8)](new Error(_0x426fe0[_0x2edb47(0x209)]));if(_0x4ed209[_0x2edb47(0x16e)]>Yn)return this[_0x2edb47(0x249)](),Promise[_0x2edb47(0x3a8)](new Error(_0x426fe0[_0x2edb47(0x1e3)]));try{const _0x177ee3=new FormData();_0x177ee3[_0x2edb47(0x416)](_0x2edb47(0x3ac),_0x4ed209);const _0x11e74b=this[_0x2edb47(0x1a5)][_0x2edb47(0x3cf)](),_0x455b3a=_0x11e74b==null?void 0x0:_0x11e74b[_0x2edb47(0x187)]();if(!_0x455b3a)throw new Error(_0x2edb47(0x1bd));const _0x466772=this[_0x2edb47(0x25b)]()+_0x2edb47(0x3eb)+_0x4ed209[_0x2edb47(0x16e)][_0x2edb47(0x3f7)]()+_0x2edb47(0x365)+pi[_0x2edb47(0x335)]+_0x2edb47(0x15f)+encodeURIComponent(_0x455b3a),_0x184d7f={'body':_0x177ee3},_0x24bc19=(await this[_0x2edb47(0x3d4)][_0x2edb47(0x144)](_0x466772,_0x184d7f))[_0x2edb47(0x420)];if(typeof _0x24bc19[_0x2edb47(0x29c)]!=_0x2edb47(0x13e))return this[_0x2edb47(0x249)](),Promise[_0x2edb47(0x3a8)](new Error(_0x426fe0[_0x2edb47(0x31f)]));_0x653826=_0x24bc19[_0x2edb47(0x29c)];}catch{return this[_0x2edb47(0x249)](),Promise[_0x2edb47(0x3a8)](new Error(_0x426fe0[_0x2edb47(0x31f)]));}return new Promise((_0x52383c,_0x524695)=>{var _0x93dcc9=_0x2edb47;const _0x5d03e6=new FileReader();_0x5d03e6['readAsDataURL'](_0x4ed209),_0x5d03e6[_0x93dcc9(0x218)]=_0x2273b4=>{var _0x54defe=_0x93dcc9,_0x46cc9e;const _0x41a6b9=(_0x46cc9e=_0x2273b4['target'])==null?void 0x0:_0x46cc9e[_0x54defe(0x2c1)];if(_0x41a6b9==null){this[_0x54defe(0x249)](),_0x524695(new Error(_0x426fe0[_0x54defe(0x31f)]));return;}const _0x1dc48f=_0xe76d03(0x6);_0x52383c({'imageId':_0x1dc48f,'imageSourceType':_0x30bc4f[_0x54defe(0x17e)],'source':_0x653826,'base64Cache':_0x41a6b9,'status':_0x426fe0[_0x54defe(0x268)]}),this[_0x54defe(0x249)]();};});}[_0x47228c(0x25b)](){var _0x36320a=_0x47228c,_0x5839c8;const _0xd8bd5f=this[_0x36320a(0x363)][_0x36320a(0x3ff)](K);return(_0x5839c8=_0xd8bd5f==null?void 0x0:_0xd8bd5f[_0x36320a(0x3b5)])!=null?_0x5839c8:Kn;}[_0x47228c(0x1c4)](){var _0x816676=_0x47228c,_0x195ece;const _0x261356=this[_0x816676(0x363)]['getConfig'](K);return(_0x195ece=_0x261356==null?void 0x0:_0x261356[_0x816676(0x2cd)])!=null?_0x195ece:qn;}[_0x47228c(0x2e4)](){var _0x268757=_0x47228c,_0xfa805c;const _0x345ade=this[_0x268757(0x363)][_0x268757(0x3ff)](K);return(_0xfa805c=_0x345ade==null?void 0x0:_0x345ade[_0x268757(0x30b)])!=null?_0xfa805c:location[_0x268757(0x191)];}['_replaceFileID'](_0x24e7f0,_0x25f3c6){var _0x579ece=_0x47228c;return _0x24e7f0[_0x579ece(0x414)](_0x579ece(0x342),_0x25f3c6);}['_decreaseWaiting'](){var _0x3343f1=_0x47228c;this[_0x3343f1(0x295)]-=0x1,this[_0x3343f1(0x162)][_0x3343f1(0x426)](this[_0x3343f1(0x295)]);}};Rt=Wn([pt(0x0,_0xc239af(_0x1784b0)),pt(0x1,_0x475c66),pt(0x2,_0xc239af(_0x6f36d2))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x40e126,_0x1b87dd,_0xf0c6ee,_0x4fc883)=>{for(var _0x57e767=_0x4fc883>0x1?void 0x0:_0x4fc883?zn(_0x1b87dd,_0xf0c6ee):_0x1b87dd,_0x1ea914=_0x40e126['length']-0x1,_0x49594a;_0x1ea914>=0x0;_0x1ea914--)(_0x49594a=_0x40e126[_0x1ea914])&&(_0x57e767=_0x49594a(_0x57e767)||_0x57e767);return _0x57e767;},ai=(_0x4714d2,_0x2b1bd)=>(_0x541049,_0x55b227)=>_0x2b1bd(_0x541049,_0x55b227,_0x4714d2);const Xn=_0x47228c(0x314);let Ot=class{constructor(_0x191f0b,_0x447c4e){var _0x196356=_0x47228c;this['_configService']=_0x191f0b,this[_0x196356(0x13f)]=_0x447c4e;}[_0x47228c(0x2b5)](){var _0x262c49=_0x47228c,_0x1ae891;const _0x332776=this[_0x262c49(0x363)][_0x262c49(0x3ff)](K);return(_0x1ae891=_0x332776==null?void 0x0:_0x332776[_0x262c49(0x2e8)])!=null?_0x1ae891:Xn;}async[_0x47228c(0x425)](_0x562168){var _0x5a274f=_0x47228c;const _0x4174e6=this[_0x5a274f(0x2b5)]()+_0x5a274f(0x360);return{'list':[{'title':_0x5a274f(0x31e),'mentions':(await this[_0x5a274f(0x13f)]['get'](_0x4174e6,{'params':{'objectID':_0x562168[_0x5a274f(0x322)],'unitID':_0x562168[_0x5a274f(0x322)]}}))[_0x5a274f(0x420)][_0x5a274f(0x15d)][_0x5a274f(0x3c7)](_0x519738=>({'objectId':_0x519738['id'],'name':_0x519738[_0x5a274f(0x244)][_0x5a274f(0x2df)],'metadata':{'icon':_0x519738[_0x5a274f(0x244)][_0x5a274f(0x41f)]},'label':_0x519738['subject'][_0x5a274f(0x2df)],'objectType':_0x40153f[_0x5a274f(0x336)]})),'metadata':{},'type':_0x40153f[_0x5a274f(0x336)]}]};}};Ot=Jn([ai(0x0,_0xc239af(_0x475c66)),ai(0x1,_0xc239af(_0x1784b0))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x37cabf,_0x5c5f4b,_0x3a142a,_0x12e212)=>{for(var _0x2afe4e=_0x12e212>0x1?void 0x0:_0x12e212?Zn(_0x5c5f4b,_0x3a142a):_0x5c5f4b,_0x595d26=_0x37cabf['length']-0x1,_0x1eff2e;_0x595d26>=0x0;_0x595d26--)(_0x1eff2e=_0x37cabf[_0x595d26])&&(_0x2afe4e=_0x1eff2e(_0x2afe4e)||_0x2afe4e);return _0x2afe4e;},Ue=(_0x1f81d4,_0x5b3b92)=>(_0xb2348,_0x44ecd2)=>_0x5b3b92(_0xb2348,_0x44ecd2,_0x1f81d4);let ot=class extends _0x28cd13{constructor(_0x224463,_0x2693d9,_0x1e8704,_0x3243b0,_0x17a445){var _0x50b2ba=_0x47228c;super(),this['_injector']=_0x224463,this[_0x50b2ba(0x1a5)]=_0x2693d9,this[_0x50b2ba(0x1df)]=_0x1e8704,this[_0x50b2ba(0x366)]=_0x3243b0,this[_0x50b2ba(0x24f)]=_0x17a445,this[_0x50b2ba(0x210)](),this[_0x50b2ba(0x247)]();}[_0x47228c(0x247)](){var _0x377b1b=_0x47228c;const _0x3aecab=async _0x9d7ca=>{var _0x43aa40=_0x3374;(await this['_collaborationSessionService'][_0x43aa40(0x34e)](_0x9d7ca))[_0x43aa40(0x241)][_0x43aa40(0x231)](_0x37ce78(_0x2d7b2c=>_0x2d7b2c[_0x43aa40(0x3f5)]===_0xc7c78a[_0x43aa40(0x30c)]),_0x1866fc(this[_0x43aa40(0x2b9)]))['subscribe'](_0x5e4076=>{var _0x241b86=_0x43aa40;const _0x3ab2ce=_0x5e4076,{reason:_0x236332}=_0x3ab2ce[_0x241b86(0x23f)];this[_0x241b86(0x24f)][_0x241b86(0x18f)]({'id':ne[_0x241b86(0x2f3)],'data':_0x236332}),this[_0x241b86(0x1df)][_0x241b86(0x1a7)](new _0x1a2993(_0x9d7ca)['id'],!0x1),this[_0x241b86(0x366)][_0x241b86(0x3da)](_0x9d7ca);});};_0x3ce8ce(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x390c45['UNIVER_SHEET']),this[_0x377b1b(0x1a5)][_0x377b1b(0x2f2)](_0x390c45[_0x377b1b(0x321)]))[_0x377b1b(0x231)](_0x4395b4(_0x27cecb=>_0x27cecb[_0x377b1b(0x187)]()),_0x37ce78(_0x5af7b7=>!_0x545c12(_0x5af7b7)),_0x1866fc(this[_0x377b1b(0x2b9)]))[_0x377b1b(0x417)](_0x2917de=>{_0x3aecab(_0x2917de);});}['_initUnitPermissionChange'](){var _0x1900ee=_0x47228c;const _0x34260b=async _0x4698c6=>{var _0x241eff=_0x3374;const _0xcb5636=await this['_collaborationSessionService'][_0x241eff(0x34e)](_0x4698c6),_0x175fcd=this[_0x241eff(0x356)]['get'](_0x22d09b);_0xcb5636[_0x241eff(0x241)][_0x241eff(0x231)](_0x37ce78(_0x427eb6=>_0x427eb6[_0x241eff(0x3f5)]===_0xc7c78a[_0x241eff(0x3ae)]),_0x1866fc(this[_0x241eff(0x2b9)]))[_0x241eff(0x417)](_0x4e4b0f=>{var _0x268068=_0x241eff;const _0x39d80c=_0x4e4b0f,{objectId:_0x8ebb7f}=_0x39d80c[_0x268068(0x23f)];_0x8ebb7f===_0x4698c6?_0x175fcd[_0x268068(0x1d7)](_0x4698c6):_0x175fcd['refreshPermission'](_0x4698c6,_0x8ebb7f);});};_0x3ce8ce(this[_0x1900ee(0x1a5)]['getTypeOfUnitAdded$'](_0x390c45['UNIVER_SHEET']))[_0x1900ee(0x231)](_0x4395b4(_0x18062d=>_0x18062d[_0x1900ee(0x187)]()),_0x37ce78(_0x9588bd=>!_0x545c12(_0x9588bd)),_0x1866fc(this['dispose$']))[_0x1900ee(0x417)](_0x58d572=>{_0x34260b(_0x58d572);});}};ot=Qn([Ue(0x0,_0xc239af(_0x5022d2)),Ue(0x1,_0x6f36d2),Ue(0x2,_0x421caf),Ue(0x3,_0xc239af(Pe)),Ue(0x4,_0xc239af(ve))],ot);var er=Object[_0x47228c(0x3d5)],tr=(_0x5b2a75,_0x3ebcb8,_0x57fda1,_0x34aa0d)=>{var _0x7034b2=_0x47228c;for(var _0x1575c8=_0x34aa0d>0x1?void 0x0:_0x34aa0d?er(_0x3ebcb8,_0x57fda1):_0x3ebcb8,_0x3d5344=_0x5b2a75[_0x7034b2(0x344)]-0x1,_0x519566;_0x3d5344>=0x0;_0x3d5344--)(_0x519566=_0x5b2a75[_0x3d5344])&&(_0x1575c8=_0x519566(_0x1575c8)||_0x1575c8);return _0x1575c8;},oi=(_0x2ec42f,_0x2db96f)=>(_0x573d2f,_0x4c91e3)=>_0x2db96f(_0x573d2f,_0x4c91e3,_0x2ec42f);let bt=class{constructor(_0x3f8f08,_0x3bbdc3){var _0x3df2f8=_0x47228c;this[_0x3df2f8(0x363)]=_0x3f8f08,this[_0x3df2f8(0x3d4)]=_0x3bbdc3;}async[_0x47228c(0x1d2)](_0x34c478,_0xab2823){var _0x41118c=_0x47228c,_0x146d35;const {unitID:_0x28d9bb,type:_0x58e436,revision:_0x243da0=0x0}=_0xab2823,_0x466981=this[_0x41118c(0x40a)]()+'/'+_0x58e436+'/unit/'+_0x28d9bb+_0x41118c(0x35d)+_0x243da0,_0x1a7adb=(await this['_httpService'][_0x41118c(0x2b6)](_0x466981))['body'],_0xe80323=(_0x146d35=_0x1a7adb['snapshot'])==null?void 0x0:_0x146d35[_0x41118c(0x400)];if(_0xe80323){const _0x57d4ca=_0xe80323==null?void 0x0:_0xe80323[_0x41118c(0x35e)],_0x18dcb7=_0x2c4177[_0x41118c(0x381)](_0x267453(_0x57d4ca));_0xe80323[_0x41118c(0x35e)]=_0x18dcb7,Object[_0x41118c(0x34f)](_0xe80323[_0x41118c(0x1d4)])[_0x41118c(0x39d)](([,_0x3c13a1])=>{var _0x6a8420=_0x41118c;const _0x33d234=_0x3c13a1[_0x6a8420(0x35e)],_0x2c80fb=_0x2c4177['encode'](_0x267453(_0x33d234));_0x3c13a1[_0x6a8420(0x35e)]=_0x2c80fb;});}return _0x1a7adb;}async['getSheetBlock'](_0x34e45c,_0x1ec36b){var _0xa8f275=_0x47228c;const {unitID:_0x5d0e53,type:_0x4bebe4,blockID:_0x3d29a1}=_0x1ec36b,_0x22e7da=this[_0xa8f275(0x243)]()+'/'+_0x4bebe4+_0xa8f275(0x28c)+_0x5d0e53+_0xa8f275(0x14c)+_0x3d29a1;return(await this[_0xa8f275(0x3d4)][_0xa8f275(0x2b6)](_0x22e7da))['body'];}async['getDeserializedSheetBlock'](_0x29d5b8,_0x4d1bd5){var _0x4f2969=_0x47228c;const {unitID:_0x5e24f6,type:_0x508d81,blockID:_0x471df3}=_0x4d1bd5,_0x20c934=this[_0x4f2969(0x243)]()+_0x4f2969(0x14c)+_0x508d81+_0x4f2969(0x28c)+_0x5e24f6+_0x4f2969(0x14c)+_0x471df3;return(await this['_httpService']['get'](_0x20c934))[_0x4f2969(0x420)];}async[_0x47228c(0x151)](_0x507d19,_0x6b93d2){var _0x17c19d=_0x47228c;const {unitID:_0x1290b1,type:_0x486a0c,from:_0x28316b,to:_0x45f5c8}=_0x6b93d2,_0x4ca7b3=this[_0x17c19d(0x243)]()+'/'+_0x486a0c+'/unit/'+_0x1290b1+_0x17c19d(0x2d4)+_0x28316b+_0x17c19d(0x2e0)+_0x45f5c8;return(await this['_httpService'][_0x17c19d(0x2b6)](_0x4ca7b3))[_0x17c19d(0x420)];}[_0x47228c(0x40a)](){var _0xf9d745=_0x47228c,_0x37f8ee;return(_0x37f8ee=this[_0xf9d745(0x363)][_0xf9d745(0x3ff)](vs))!=null?_0x37f8ee:this[_0xf9d745(0x243)]();}['_getAPIPrefix'](){var _0x4b42f8=_0x47228c,_0x4b672c;const _0x625c9f=this['_configService'][_0x4b42f8(0x3ff)](K);return(_0x4b672c=_0x625c9f==null?void 0x0:_0x625c9f[_0x4b42f8(0x423)])!=null?_0x4b672c:fs;}async['getResourcesRequest'](_0x3ab743,_0x5e5be8){var _0x4aa154=_0x47228c;const _0x2d9e67=_0x4aa154(0x29a)+_0x5e5be8[_0x4aa154(0x2da)]+'/unit/'+_0x5e5be8[_0x4aa154(0x25a)]+_0x4aa154(0x424);return(await this[_0x4aa154(0x3d4)]['get'](_0x2d9e67,{'params':{'resourceId':JSON[_0x4aa154(0x261)](_0x5e5be8['resourceIDs'])}}))[_0x4aa154(0x420)];}['saveSnapshot'](){var _0x2918ca=_0x47228c;throw new Error(_0x2918ca(0x396));}[_0x47228c(0x175)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x2c12f9=_0x47228c;throw new Error(_0x2c12f9(0x396));}['saveChangeset'](){var _0x4ebc29=_0x47228c;throw new Error(_0x4ebc29(0x396));}[_0x47228c(0x1f6)](){var _0x562077=_0x47228c;throw new Error(_0x562077(0x396));}[_0x47228c(0x145)](){var _0x29fe86=_0x47228c;throw new Error(_0x29fe86(0x396));}};bt=tr([oi(0x0,_0x475c66),oi(0x1,_0xc239af(_0x1784b0))],bt);var ir=Object[_0x47228c(0x3d5)],sr=(_0x327ca0,_0x496008,_0x48bf42,_0x566ac3)=>{for(var _0x39f857=_0x566ac3>0x1?void 0x0:_0x566ac3?ir(_0x496008,_0x48bf42):_0x496008,_0x3f3c8f=_0x327ca0['length']-0x1,_0x98628c;_0x3f3c8f>=0x0;_0x3f3c8f--)(_0x98628c=_0x327ca0[_0x3f3c8f])&&(_0x39f857=_0x98628c(_0x39f857)||_0x39f857);return _0x39f857;},Ae=(_0x2ceb88,_0x268e5e)=>(_0x51f1b3,_0x26f890)=>_0x268e5e(_0x51f1b3,_0x26f890,_0x2ceb88);let yt=class extends _0x3019f8{constructor(_0x4b6cd3,_0x104fb7,_0x5459ac,_0x4d757b,_0x4b3d0f){var _0x3fb9a1=_0x47228c;super(_0x4b6cd3,_0x104fb7,_0x5459ac),this[_0x3fb9a1(0x1db)]=_0x4d757b,this[_0x3fb9a1(0x36e)]=_0x4b3d0f;}[_0x47228c(0x1c9)](_0x5780ad,_0xdfd914){var _0x3c50b8=_0x47228c;const _0x9818f5=this[_0x3c50b8(0x26b)](_0x5780ad);if(_0x9818f5)try{const _0x5d2458=this[_0x3c50b8(0x284)](_0x9818f5,_0xdfd914);this[_0x3c50b8(0x37b)](_0x5780ad,_0x5d2458);}catch(_0x358306){this['_logService'][_0x3c50b8(0x1ce)](_0x3c50b8(0x300),_0x358306),this[_0x3c50b8(0x3ec)](_0x5780ad);}const _0x33c44b=this[_0x3c50b8(0x138)](_0x5780ad);if(_0x33c44b)try{const _0x14f718=this[_0x3c50b8(0x284)](_0x33c44b,_0xdfd914);this[_0x3c50b8(0x427)](_0x5780ad,_0x14f718);}catch(_0x5c90b3){this[_0x3c50b8(0x36e)][_0x3c50b8(0x1ce)](_0x5c90b3),this['_clearRedo'](_0x5780ad);}}['_clearUndo'](_0x4bb45e){var _0x3cb6c7=_0x47228c;const _0x18ca05=this['_getUndoStack'](_0x4bb45e);_0x18ca05&&(_0x18ca05[_0x3cb6c7(0x344)]=0x0,this['_updateStatus']());}[_0x47228c(0x274)](_0x2c6abd){var _0x3daf0b=_0x47228c;const _0x5052d3=this[_0x3daf0b(0x138)](_0x2c6abd);_0x5052d3&&(_0x5052d3['length']=0x0,this[_0x3daf0b(0x2ba)]());}[_0x47228c(0x37b)](_0x478dd8,_0x4c7850){var _0x2dcaf7=_0x47228c;this['_undoStacks'][_0x2dcaf7(0x31b)](_0x478dd8,_0x4c7850),this[_0x2dcaf7(0x2ba)]();}[_0x47228c(0x427)](_0xa97a07,_0x291834){var _0x500cd4=_0x47228c;this[_0x500cd4(0x37c)][_0x500cd4(0x31b)](_0xa97a07,_0x291834),this['_updateStatus']();}[_0x47228c(0x284)](_0x63604c,_0x2a7c7a){var _0x2f3158=_0x47228c;const _0x126112=[];let _0x300d09=_0x2a7c7a,_0x21ff9d=_0x2a7c7a;for(let _0x5e8eb7=_0x63604c['length']-0x1;_0x5e8eb7>=0x0;_0x5e8eb7--){const {unitID:_0x2d33c5,undoMutations:_0x45d55a,redoMutations:_0x1a6a8e}=_0x63604c[_0x5e8eb7],_0x2128b0=this[_0x2f3158(0x1db)][_0x2f3158(0x318)](_0x300d09,_0x45d55a),_0x119b80=this[_0x2f3158(0x1db)][_0x2f3158(0x318)](_0x21ff9d,_0x1a6a8e);if(_0x5613d0(_0x2128b0)||_0x5613d0(_0x119b80)){this[_0x2f3158(0x36e)][_0x2f3158(0x1ce)]('[CollaborationUndoRedoService]',_0x2f3158(0x404),_0x2128b0,_0x119b80);break;}_0x300d09=_0x2128b0[_0x2f3158(0x35b)],_0x21ff9d=_0x119b80[_0x2f3158(0x35b)],_0x126112[_0x2f3158(0x198)]({'unitID':_0x2d33c5,'undoMutations':_0x2128b0['m2Prime'],'redoMutations':_0x119b80[_0x2f3158(0x2c8)]});}return _0x126112[_0x2f3158(0x2e7)]();}};yt=sr([Ae(0x0,_0x6f36d2),Ae(0x1,_0xccbcfa),Ae(0x2,_0x291cf),Ae(0x3,_0x22fc1f),Ae(0x4,_0x21a42f)],yt);var nr=Object['defineProperty'],rr=Object[_0x47228c(0x3d5)],ar=(_0x29335c,_0x1bf293,_0x29f7d0)=>_0x1bf293 in _0x29335c?nr(_0x29335c,_0x1bf293,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29f7d0}):_0x29335c[_0x1bf293]=_0x29f7d0,or=(_0x288713,_0x3ccfdb,_0x1268e3,_0x4425b9)=>{var _0xa73195=_0x47228c;for(var _0xd1ac00=_0x4425b9>0x1?void 0x0:_0x4425b9?rr(_0x3ccfdb,_0x1268e3):_0x3ccfdb,_0x26b1c9=_0x288713[_0xa73195(0x344)]-0x1,_0x251737;_0x26b1c9>=0x0;_0x26b1c9--)(_0x251737=_0x288713[_0x26b1c9])&&(_0xd1ac00=_0x251737(_0xd1ac00)||_0xd1ac00);return _0xd1ac00;},mt=(_0x31bb69,_0x274c41)=>(_0xcc9619,_0x44f254)=>_0x274c41(_0xcc9619,_0x44f254,_0x31bb69),cr=(_0x3d1049,_0x1e77e4,_0x5d61c8)=>ar(_0x3d1049,_0x1e77e4+'',_0x5d61c8);const hr=_0x47228c(0x403);let Nt=class extends _0x30755d{constructor(_0x3b9389,_0x17c015,_0x3d45d0,_0x4d9f56){var _0x480eec=_0x47228c;super(),N(this,_0x480eec(0x2c0)),(this['_logService']=_0x17c015,this[_0x480eec(0x356)]=_0x3d45d0,this[_0x480eec(0x363)]=_0x4d9f56);const {..._0x552ef9}=_0x2fb79c({},Ls,_0x3b9389);if(!_0x552ef9[_0x480eec(0x42a)])throw new Error(_0x480eec(0x2b0));this[_0x480eec(0x2c0)]=_0x552ef9,this[_0x480eec(0x363)]['setConfig'](K,_0x552ef9);}['onStarting'](){var _0x2bc847=_0x47228c;this['_registerDependencies'](),this[_0x2bc847(0x189)]();}[_0x47228c(0x258)](){var _0x1ae79e=_0x47228c,_0x1edfc4,_0x2e1170;this[_0x1ae79e(0x356)][_0x1ae79e(0x1b9)](_0x48af92)&&this[_0x1ae79e(0x36e)][_0x1ae79e(0x1ce)](_0x1ae79e(0x1f3),_0x1ae79e(0x230));const _0x383e05=_0x28ef92([[_0x48af92,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x1ae79e(0x2c0)][_0x1ae79e(0x42a)]}],[_0x41c906,{'useClass':bt}],[_0x537d11,{'useClass':Tt}],[_0x460d47,{'useClass':Rt}],[_0x2f4255,{'useClass':Ot}],[nt],[It]],(_0x1edfc4=this[_0x1ae79e(0x2c0)])==null?void 0x0:_0x1edfc4[_0x1ae79e(0x1cc)]);if(!((_0x2e1170=this['_config'])!=null&&_0x2e1170[_0x1ae79e(0x188)])){const _0x51f58e=_0x383e05[_0x1ae79e(0x406)](([_0x2ef065])=>_0x2ef065===ht);_0x51f58e!==-0x1&&_0x383e05[_0x1ae79e(0x2d1)](_0x51f58e,0x1);}_0x5007ec(this[_0x1ae79e(0x356)],_0x383e05);}[_0x47228c(0x189)](){var _0x9a6123=_0x47228c,_0x222662,_0xcfdce0,_0x4808c6;this[_0x9a6123(0x356)][_0x9a6123(0x2b6)](_0x1784b0)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x194e54({'maxParallel':0x6})}),(_0x222662=this[_0x9a6123(0x2c0)])!=null&&_0x222662[_0x9a6123(0x266)]||(_0xcfdce0=this[_0x9a6123(0x356)][_0x9a6123(0x2b6)](J,_0x47a399[_0x9a6123(0x3ed)]))==null||_0xcfdce0['disableLocalCache'](),(_0x4808c6=this['_config'])!=null&&_0x4808c6[_0x9a6123(0x3e4)]&&_0x1a4080(this['_injector'],[[rt]]),_0x1a4080(this[_0x9a6123(0x356)],[[at],[nt],[ot]]);}};cr(Nt,_0x47228c(0x317),hr),Nt=or([_0x3ee4c5(_0x467267,_0x17f9de),mt(0x1,_0x21a42f),mt(0x2,_0xc239af(_0x5022d2)),mt(0x3,_0x475c66)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|
1
|
+
var _0x285015=_0x32e5;(function(_0x196542,_0x22c49f){var _0x4aab25=_0x32e5,_0x21396f=_0x196542();while(!![]){try{var _0x36d544=-parseInt(_0x4aab25(0x2df))/0x1+-parseInt(_0x4aab25(0x17e))/0x2+-parseInt(_0x4aab25(0x356))/0x3*(parseInt(_0x4aab25(0x2ee))/0x4)+parseInt(_0x4aab25(0x3a2))/0x5*(-parseInt(_0x4aab25(0x306))/0x6)+parseInt(_0x4aab25(0x24f))/0x7*(-parseInt(_0x4aab25(0x374))/0x8)+-parseInt(_0x4aab25(0x1ff))/0x9+parseInt(_0x4aab25(0x2ff))/0xa;if(_0x36d544===_0x22c49f)break;else _0x21396f['push'](_0x21396f['shift']());}catch(_0x2acd6a){_0x21396f['push'](_0x21396f['shift']());}}}(_0x21d2,0x62f36));var yi=Object[_0x285015(0x1c9)],Ni=(_0x200f00,_0x1cc985,_0x29f121)=>_0x1cc985 in _0x200f00?yi(_0x200f00,_0x1cc985,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29f121}):_0x200f00[_0x1cc985]=_0x29f121,N=(_0x302828,_0x1931d6,_0x32ecf5)=>Ni(_0x302828,typeof _0x1931d6!=_0x285015(0x244)?_0x1931d6+'':_0x1931d6,_0x32ecf5);function _0x21d2(){var _0x2d392e=['[CollaborationSessionService]','list','__Key__','onload','clone','_emitMembers','Pkcs7','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareOperation','_applyRemoteChangeset','enableAuthServer','textRanges','sendChangesetTimeout','decrypt','_event$','unitId','href','charAt','INVALID_ARGUMENT','CONFLICT','SNAPSHOT_INVALID_SNAPSHOT','_clearTimeoutTimer','createInstance','onTransformState','_createHelper','WordArray','pauseCollaboration','append','_getAPIPrefix','socket\x20close','status$','__creator','_removeRoom','SHA1','AWAITING','_executeRemoteChangeset','sin','_stopTelemetryCollaborationNewChangeset','addImageSourceCache','close$','snapshotServerUrl','extend','[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.','BufferedBlockAlgorithm','75rfBspp','_clearUndo','[CollaborationState]:\x20apply\x20error!','_initRequestHeader','HEARTBEAT','_onConflict','_socketMessageSubscription','revision','cmd','JOINING','transformUndoRedo','getSheetBlock','\x20to\x20','YUUMI_ALL_TABLES_IS_INVALID','_telemetryInfo','_unitInfo$','origin','_httpService','_tryReconnect','UNISCRIPT_RUN','put','_syncEditingCollabCursor','compose','getTypeOfUnitAdded$','/object/','CBC','_parse','YUUMI_TABLE_NOT_FOUND_IN_UNIT','random','_incrementRevisionNumber','384JAkQdV','UNIVER_SLIDE','image/gif','getInterceptPoints','encode','_replayCachedMutations','fetch_missing','_clearRetryConnectingTimer','members','APPLY_DUPLICATED','_initCloseConn','FileId','_roomCreated$','error$','_configService','USERS_ENTER','UNIVER_UNKNOWN','headers','selections','BASE64','_tryEnsureSocket','UNIVER_DOC','/universer-api/oidc/authpage','JOIN_ROOM_PERMISSION_DENIED','_members$','PERSON','save\x20fail\x20reason\x20is\x20','pipe','salt','_invKeySchedule','set','FAIL','originalMeta','_key','localeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformStack','LIVESHARE_OPERATION','_onRecvEvent','clear','reconnect','UNDEFINED','FETCH_MISSING','_redoStacks','_shouldReportTelemetry','signUrlServerUrl','485hEuvOb','onTransformSelections','updateCursorEvent','INTERNAL_ERROR','_imageSourceCache','clamp','_acknowledgedAwaitingChangeset','_doReset','every','NOT_FOUND','HttpExport','push','setWaitCount','duration','send','algo','_entities','size','onSendChangeset','univer-pro.collaboration-client-socket-service','csRejEvent','_onJoinRoomEvent','csShouldRetryEvent','_listenToNetworkCondition','event$','failed\x20to\x20apply\x20missed\x20changesets!','code','_localCacheService','_showConflictNotification','Base','SerializableCipher','_onRemoteACK','_prevBlock','socket\x20open.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','key','LIVESHARE_NEW_HOST','_nRounds','UNRECOGNIZED','setShowComponents','_onConnectionFailed','_entityInit$','disableLocalCache','YUUMI_AI_RUN_FAILED','_startCollaboration','Cipher','GLOBAL_ROOMS_CNT_EXCEEDS','listCollaborators','/universer-api/user/session-ticket','onTransformRemoteChangesetByIMECache','_networkConditionService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','action','body','_onConnectionOpen','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/role','reject','snapshot','_lockTransition','_onFetchMissResult','WECHAT_HAS_BEEN_BOUND','_transformRemoteChangesetByIMECache','_reverseMap','getUnitId','getCurrentUser','_append','memberID','map','apply','byteLength','_updateState','CONNECTOR_DATA_TOO_LARGE','function','_getSignURL','LICENSE_DISTRO_REJECTED','NO_OTHER_CLIENTS_EDITING','values','_getRedoStack','patch','[CollaborationSession]','subUnitId','PERMISSION_REJ','univer-pro.collaboration-client.network-condition.service','online$','call','_initMergeInterceptor','LOCAL_CACHE_INTERVAL','getUnit','HEARTBEAT_INTERVAL','session.room-full','unitInfo$','INVITE_CODE_ALREADY_BOUND','[CollaborationUndoRedoService]','PSEUDO_FETCH_MISSING_RESULT','forEach','format','update','interceptor','_scheduleCompleteTimestamp','_collaborationTimeoutTimer','_snapshotService','createCollaborator','awaitingChangeset','unpad','_createHmacHelper','confirm','registerHTTPInterceptor','getResourcesRequest','_disableEditing','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createInitialState','_retryCount','getRoom','LOGIN_FAILED','[PendingState]:\x20received\x20rejection.','UnitSnapshot','/-/object/-/batch_allowed','location','socketService','_schedule','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_candidateSocket','sessionStatus','YUUMI_SUBSCRIPTION_NOT_FOUND','shouldCloseConn','formatter','/block/','mixIn','findIndex','EvpKDF','_transformSelections','createEncryptor','Utf8','onTransformRemoteChangesetByStateCache','CLOSE_ROOM','/allowed','close','join','INGEST','Hasher','_state','open$','reverse','_initUnitPermissionChange','objectType','_checkMissing','Hex','_singleActiveUnitService','roomInfos','_undoRedoService','UPDATE_PERMISSION_OBJ','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_userManagerService','_injector','_sessions','has','pending','/universer-api/stream/file/upload','[UniverCollaborationClientPlugin]','collaboration_new_changeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','$super','fromCollab','_changesetSessionId','asObservable','YUUMI_URL_COL_OUT_OF_RANGE','_localeService','_onUserLeave','fetchMissingChangesets','getAllMembers','MD5','ONLINE','commentUpdate$','_transformStateCache','_transitionLocked','delete','APPLY_REVISION_CONFILICT','_onLocalMutation','_getLoginPath','pluginName','YUUMI_UNABLE_LOAD_URL','/universer-api/snapshot/','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UNIVER_COLLABORATION_CLIENT_PLUGIN','joinEvent','_transformIMECache','_sendHeartbeatTimer','/universer-api/authz','Could\x20not\x20dynamically\x20require\x20\x22','_resendTimeout','finalize','transformMutationsWithChangeset','?size=','_scheduleCollaborationTimeoutTimer','from','Error\x20on\x20receiving\x20event','ceil','OpenSSL','_clearLocalCache','listRoles','HttpImport','USER_NOT_INVITED_CODE','ERROR_IMAGE_TYPE','SHOULD_CLOSE_CONN','words','byteOffset','auth.needGotoLoginAlert','UNKNOWN_CODE','members$','reduce','_keyPriorReset','collaboration-client.config','entityInit$','synced','_DEC_XFORM_MODE','sheets','authzUrl','451194dYonpp','LICENSE_IMPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','univer-pro.collaboration-client.single-active-unit-service','fetchThroughInterceptors','debug','socket$','unitId\x20is\x20not\x20found','CHANGESET_REVISION_CONFILICT','getTypeOfUnitDisposed$','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getUnitStatus$','floor','telemetry\x20info\x20is\x20not\x20initialized','onTransformIME','_registerDependencies','_collaborationSessionService','_change$','_transformService','getCurrentSelections','_getUploadFileURL','awaiting_with_pending','get','padding','_doCryptBlock','find','loadUnit','StreamCipher','OFFLINE','_clearCollaborationTimeoutTimer','_waitForHeartbeatResponse','MOBILE_VERIFY_CODE_MISMATCH','onRemoteAck','_onRemoteRetry','decryptBlock','_sender','sigBytes','USERS_LEAVE','_timeoutTimer','SOCKET_FAILED_RETRY','[OfflineState]:\x20received\x20acknowledgement.','startTime','_clearRedo','PY_RUNTIME_SCRIPT_ERROR','_nDataBytes','processBlock','file','_replaceFileID','joinRsp','PENDING','add','onCommandExecuted','_minBufferSize','_commandService','state$','session.room-permission-denied','loadOfflineData','LICENSE_MAX_UNITS_EXCEEDED','image/png','[FetchMissState]','POST','withCredentials','onStateChange','rev','_data','LIVESHARE_REQUEST_HOST','_startTelemetryCollaborationNewChangeset','requestParams','repeat','leaveEvent','m2Prime','result','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CipherParams','defineProperty','_compressMutationService','getCollabEntity$','session.room-cnt-exceeds','sessionStatus$','error','appendMutation','_snapshotServerService','getDeserializedSheetBlock','Encryptor','COMPRESS_MUTATION_APPLY','_config','DEFAULT_FILE_NAME','downloadEndpointUrl','APPLY_NON_SEQUENTIAL_REVISION','__esModule','complete','onlyLocal','pad','_collaborationPaused','transformSelections','UUID','_onRemoteChangeset','toString','getImage','status','cfg','OPTIONAL','baseRev','_permissionService','_instanceService','updateOfflineData','params','kdf','JOIN','SYNCED','conflict','getUnitType','getRandomValues','_throwTelemetryCollaborationNewChangeset','execute','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','getFocusedUnit','dispose$','isPermissionRej','responseType','_initDependencies','_onUserJoin','_getCurrentRevision','_toggleOffline','_state$','3710232IuswHq','updateMember','_telemetryService','mutations','url','onStarting','JOIN_ROOM_FULL','getImageSourceCache','_members','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','reqId','_createHandler','replace','enc','_transformUndoredo','/object','_rescheduleHeartbeat','_process','name','fetchMiss','updatePermissionObjEvent','JOIN_ROOM_FAILED','editingUnit','UNAUTHENTICATED','YUUMI_RATE_OVER_LIMIT','_cipher','_doCreateSocket','_ENC_XFORM_MODE','_sendHeartbeat','PasswordBasedCipher','/unit/','src','unitID','_getDownloadEndpointURL','_eventService','_remoteChangesetQueue','getCollabEntity','readInt32LE','commentUpdateEvent','_queuedRemoteChangesets','Decryptor','HELLO','avatar','_onMessage','removeMember','SUCCUSS','EMAIL_HAS_BEEN_BOUND','transformStack\x20failed!','resend','_transformRemoteChangesetByStateCache','equals','editing\x20status\x20changed\x20to','_onRemoteRejected','crypto','routeKey','CHANGESET_ACK','collaborators','_socketReady','hasher','updatePermissionPoint','_socket$','_awaitingChangeset','getMember','_socket','_onCombEvent','_getCtorByUniverType','session.room-not-exists','INVITE_CODE_HAS_BEEN_UES','[PendingState]:\x20unhandled\x20univer\x20type:\x20','symbol','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sid','_iv','batchAllowed','APPLY_PERMISSION_DENIED','OTHER_CLIENT_EDITING','getMemberID','exports','LEAVE','stringify','46921hgKGve','UNKNOWN_CMD','_getSendChangesetTimeout','BlockCipher','string','ciphertext','CHANGESET_REJ','UNIVER_PROJECT','Univer','YUUMI_NO_CUBOID_FOR_QUESTION','_clearScheduledTask','state','eventID','enableCollaboration','APPLY_REJECT','UPDATE_CURSOR','_retryConnectingTimer','encryptBlock','c1Prime','capture','onCommentUpdate','objects','INVITE_CODE_REQUIRED','actions','COMMENT_UPDATE','/fetchmissing?from=','_keySchedule','_updateStatus','next','slice','parse','mode','_map','ivSize','HMAC','_decreaseWaiting','HmacSHA1','Base64','SNAPSHOT_HAS_BEEN_REMOVED','transformChangesets','MSG_FOR_ERROR','image/bmp','toggleOnline','resolve','getSnapshotAPIPath','localCacheService','onSyncEditingCollabCursor','min','resourceIDs','default','target','objectID','reset','post','JOIN_ROOM_NOT_EXISTS','MOBILE_HAS_BEEN_BOUND','getSheetId','data','_mode','hasOwnProperty','_oKey','create','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','emitEvent','unknown','_updateLocalCache','RECV','toggleOffline','onRemoteChangeset','compute','[OfflineState]:\x20received\x20changeset.','_fetchMissChangesets','MUTATION','_joinRoom','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNIVER_SHEET','_unlockTransition','copyFileMeta','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/collaborator','stopTime','_sessionStatus$','/universer-api/snapshot','_hasher','type','_undoStacks','&to=','CHANGESET_SHOULD_RETRY','loadSheet','_createInitialStateImpl','_iKey','charCodeAt','setConfig','_toggleOnline','IDLE','_univerInstanceService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUBMIT_CHANGESET','encodeURIComponent','\x0aAfter:\x20','TOO_MANY_REQUESTS','ENSURE_SNAPSHOT_EXECUTION','range','UnitEmbedded','msCrypto','[PendingState]:\x20received\x20acknowledgement.','[CollaborationSessionService]:\x20socket\x20error','now','connection\x20error','subscribe','session','userID','prototype','submit\x20changeset\x20error!','then','LIVESHARE_FETCH_OPERATIONS','onRemoteRetry','title','hostname','_commentService','_clearHeartbeatTimer','_changesetReqId','changesets','subject','&assign=','PERMISSION_DENIED','_waitCount','not_collab','saveChangeset','Malformed\x20UTF-8\x20data','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','_onOffline','_roomMembers','_init','_type','unsubscribe','YUUMI_ASYNCIO_CANCELLED','_collabSessionService','lib','onRemoteRej','requireSession','_collaborationUIEventService','liveShareNewHost','128315tRCNlB','_getUndoStack','getTime','_substituteUndoStack','_submitChangeset','onMissingChangesets','_isPermissionRej','Undefined','encrypt','startsWith','_unitID','_getAPIPrefixPath','getConfig','_resendTimer','catch','80008tmUJsS','init','YUUMI_CONNECTOR_URL_NOT_FOUND','_HTTPService','_revisionService','_memberService','session.join-failed','AWAITING_WITH_PENDING','SOCKET_FAILED','keySize','/resources','_substituteRedoStack','readyForCollab','COMPRESS_MUTATION_SEND','_handlerCallback','_hash','/-/object/list','20521350kJiNiA','closeSession','getActiveSheet','deleteCollaborator','_sheetTransformSelectionsService','blockSize','length','3642uWEalE','getCurrentRevOfUnit','_commentUpdate$','HmacMD5','_createSocket','OTHER_CLIENTS_EDITING','filter','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabSubmitChangesetUrl','NEW_CHANGESETS','getOwnPropertyDescriptor','ERROR_IMAGE','executeCommand','isArray','disposeWithMe','/new_changes','randomBytes','?url=','collaboration-client.local-cache-service','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','COMPLETION_FINISHED','awaiting','concat','_status$','collabWebSocketUrl','_xformMode','dispose','onMissedChangesetFetched','_pendingMutations','deepClone','message$','saveImage','_resendWithTimeout','_handler','_logService','&source='];_0x21d2=function(){return _0x2d392e;};return _0x21d2();}import{CollaborationEvent as _0x2a645f,ITransformService as _0x549b0b,isTransformMutationsWithChangesetSuccess as _0x439c53,mapDocumentTypeToUniverType as _0x4e1eb7,RevisionService as _0x59a9d0,isTransformChangesetsSuccess as _0x2669af,CompressMutationService as _0x3f1cc2,parseProtocolChangeset as _0x1fcd89,uuidv4 as _0x58a4d4,ISnapshotServerService as _0xb4eaae,parseChangesetToProtocol as _0x4627b8,SnapshotService as _0x114e4d,textEncoder as _0x36c723,b64DecodeUnicode as _0x25132f,isTransformMutationsWithChangesetFailure as _0x2ae3b5,UniverCollaborationPlugin as _0x5e053b}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x957fe2,Inject as _0x1f8eab,UserManagerService as _0x550ddc,Disposable as _0x2b109f,UniverInstanceType as _0x3a3c86,ILogService as _0xfc8632,IConfigService as _0x4676fe,Optional as _0x10bde8,RxDisposable as _0x1f8cdd,createIdentifier as _0x24f86a,Injector as _0x231415,Tools as _0x55abbf,Rectangle as _0x546150,ICommandService as _0x3ae5a2,JSONX as _0x319db3,CommandType as _0x39e9ac,IUndoRedoService as _0x2017c9,IPermissionService as _0x249ffe,LocaleService as _0x18f0cb,sequenceExecute as _0x2eb79e,toDisposable as _0xe655bf,DisposableCollection as _0xec246e,Workbook as _0xa8c085,generateRandomId as _0x28aad4,MentionType as _0x5573bb,isInternalEditorID as _0x466872,LocalUndoRedoService as _0x30d5e5,IContextService as _0x40a186,DependentOn as _0xe84b9d,Plugin as _0x4d592c,merge as _0x50237d,mergeOverrideWithDependencies as _0x324a6e,IAuthzIoService as _0x4079b2,IMentionIOService as _0x588111,registerDependencies as _0x5db734,Quantity as _0x20403d,touchDependencies as _0x396126}from'@univerjs/core';import{RichTextEditingMutation as _0x64c533}from'@univerjs/docs';import{SheetsSelectionsService as _0x299067,SetSelectionsOperation as _0x3fd54d,InsertSheetMutation as _0x5b4982,EmptyMutation as _0x29f0eb,WorkbookEditablePermission as _0x20d21f,SheetPermissionInitController as _0x3bde58}from'@univerjs/sheets';import{Subject as _0x1e0fa4,merge as _0x540e40,of as _0x16096b,BehaviorSubject as _0x229484,takeUntil as _0x506746,ReplaySubject as _0x2c4516,take as _0x4f1414,map as _0x3e7787,shareReplay as _0x8c8e,firstValueFrom as _0x3cd1a1,concatMap as _0x41cf1b}from'rxjs';import{ITelemetryService as _0x5d2f98}from'@univerjs/telemetry';import{map as _0x27b12b,take as _0x3fdc76,filter as _0x176fa8,delay as _0x56bcfe,takeUntil as _0x34602c}from'rxjs/operators';import{HTTPService as _0x289ab0,ISocketService as _0x3ef1c1,MergeInterceptorFactory as _0x10d77c,HTTPRequest as _0x53f682,UniverNetworkPlugin as _0x3db3c2,ThresholdInterceptorFactory as _0x4b2ed2}from'@univerjs/network';import{ImageSourceType as _0x4855a8,ImageUploadStatusType as _0x36a149,IImageIoService as _0x503895}from'@univerjs/drawing';import{getGlobalObject as _0x37e730}from'@univerjs-pro/license';const fs=_0x285015(0x2a1),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir=_0x285015(0x3d2),gs=_0x285015(0x3fb),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x285015(0x3f9),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x285015(0x38a),Rr=_0x285015(0x30d),Or='/universer-api/uniscript';var vi=(_0x18866c=>(_0x18866c[_0x18866c[_0x285015(0x39d)]=0x0]='UNDEFINED',_0x18866c[_0x18866c['OK']=0x1]='OK',_0x18866c[_0x18866c[_0x285015(0x3a5)]=0x2]=_0x285015(0x3a5),_0x18866c[_0x18866c[_0x285015(0x2cc)]=0x3]='PERMISSION_DENIED',_0x18866c[_0x18866c[_0x285015(0x3ab)]=0x4]=_0x285015(0x3ab),_0x18866c[_0x18866c['UNAUTHENTICATED']=0x5]=_0x285015(0x216),_0x18866c[_0x18866c['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x18866c[_0x18866c[_0x285015(0x33c)]=0x7]=_0x285015(0x33c),_0x18866c[_0x18866c[_0x285015(0x2b3)]=0x8]=_0x285015(0x2b3),_0x18866c[_0x18866c[_0x285015(0x31a)]=0x9]=_0x285015(0x31a),_0x18866c[_0x18866c['LOGIN_FAILED']=0xa]=_0x285015(0x414),_0x18866c[_0x18866c['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x285015(0x19e),_0x18866c[_0x18866c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x285015(0x245),_0x18866c[_0x18866c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x18866c[_0x18866c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x285015(0x1f2),_0x18866c[_0x18866c[_0x285015(0x186)]=0x1389]=_0x285015(0x186),_0x18866c[_0x18866c[_0x285015(0x33e)]=0x1771]=_0x285015(0x33e),_0x18866c[_0x18866c[_0x285015(0x275)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x18866c[_0x18866c[_0x285015(0x2b4)]=0x1773]=_0x285015(0x2b4),_0x18866c[_0x18866c[_0x285015(0x25d)]=0x1b59]=_0x285015(0x25d),_0x18866c[_0x18866c[_0x285015(0x1d7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x18866c[_0x18866c[_0x285015(0x155)]=0x1b5b]=_0x285015(0x155),_0x18866c[_0x18866c[_0x285015(0x249)]=0x1b5c]=_0x285015(0x249),_0x18866c[_0x18866c[_0x285015(0x37d)]=0x1b5d]=_0x285015(0x37d),_0x18866c[_0x18866c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x285015(0x3ea),_0x18866c[_0x18866c[_0x285015(0x1b8)]=0x2329]=_0x285015(0x1b8),_0x18866c[_0x18866c[_0x285015(0x397)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x18866c[_0x18866c[_0x285015(0x17f)]=0x232b]=_0x285015(0x17f),_0x18866c[_0x18866c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x18866c[_0x18866c[_0x285015(0x3ed)]=0x232d]=_0x285015(0x3ed),_0x18866c[_0x18866c[_0x285015(0x159)]=0x2711]=_0x285015(0x159),_0x18866c[_0x18866c[_0x285015(0x448)]=0x2712]=_0x285015(0x448),_0x18866c[_0x18866c[_0x285015(0x217)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x18866c[_0x18866c[_0x285015(0x41e)]=0x2714]=_0x285015(0x41e),_0x18866c[_0x18866c[_0x285015(0x258)]=0x271a]=_0x285015(0x258),_0x18866c[_0x18866c[_0x285015(0x2d8)]=0x271b]=_0x285015(0x2d8),_0x18866c[_0x18866c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x285015(0x371),_0x18866c[_0x18866c[_0x285015(0x363)]=0x271d]=_0x285015(0x363),_0x18866c[_0x18866c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x18866c[_0x18866c[_0x285015(0x3cd)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x18866c[_0x18866c[_0x285015(0x2f0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x18866c[_0x18866c[_0x285015(0x1aa)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x18866c[_0x18866c[_0x285015(0x242)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x18866c[_0x18866c['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x18866c[_0x18866c[_0x285015(0x265)]=0x2ee3]=_0x285015(0x265),_0x18866c[_0x18866c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x285015(0x16e),_0x18866c[_0x18866c[_0x285015(0x3fe)]=0x2ee5]=_0x285015(0x3fe),_0x18866c[_0x18866c[_0x285015(0x3df)]=0x32c9]=_0x285015(0x3df),_0x18866c[_0x18866c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x285015(0x286),_0x18866c[_0x18866c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x285015(0x22d),_0x18866c[_0x18866c[_0x285015(0x3c8)]=-0x1]=_0x285015(0x3c8),_0x18866c))(vi||{}),Z=(_0x5cb6ec=>(_0x5cb6ec[_0x5cb6ec[_0x285015(0x384)]=0x0]=_0x285015(0x384),_0x5cb6ec[_0x5cb6ec[_0x285015(0x389)]=0x1]=_0x285015(0x389),_0x5cb6ec[_0x5cb6ec[_0x285015(0x29a)]=0x2]=_0x285015(0x29a),_0x5cb6ec[_0x5cb6ec[_0x285015(0x375)]=0x3]=_0x285015(0x375),_0x5cb6ec[_0x5cb6ec[_0x285015(0x256)]=0x4]=_0x285015(0x256),_0x5cb6ec[_0x5cb6ec['UNRECOGNIZED']=-0x1]=_0x285015(0x3c8),_0x5cb6ec))(Z||{}),F=(_0x2198ac=>(_0x2198ac[_0x2198ac[_0x285015(0x250)]=0x0]=_0x285015(0x250),_0x2198ac[_0x2198ac[_0x285015(0x228)]=0x1]=_0x285015(0x228),_0x2198ac[_0x2198ac[_0x285015(0x1eb)]=0x2]='JOIN',_0x2198ac[_0x2198ac[_0x285015(0x24d)]=0x3]=_0x285015(0x24d),_0x2198ac[_0x2198ac[_0x285015(0x42d)]=0x4]=_0x285015(0x42d),_0x2198ac[_0x2198ac[_0x285015(0x35a)]=0x5]=_0x285015(0x35a),_0x2198ac[_0x2198ac[_0x285015(0x291)]=0x6]=_0x285015(0x291),_0x2198ac[_0x2198ac[_0x285015(0x3c8)]=-0x1]=_0x285015(0x3c8),_0x2198ac))(F||{}),pe=(_0x133f78=>(_0x133f78[_0x133f78[_0x285015(0x174)]=0x0]=_0x285015(0x174),_0x133f78[_0x133f78['OK']=0x1]='OK',_0x133f78[_0x133f78[_0x285015(0x393)]=0x2]=_0x285015(0x393),_0x133f78[_0x133f78[_0x285015(0x205)]=0x3e9]=_0x285015(0x205),_0x133f78[_0x133f78[_0x285015(0x285)]=0x3ea]=_0x285015(0x285),_0x133f78[_0x133f78[_0x285015(0x38b)]=0x3eb]=_0x285015(0x38b),_0x133f78[_0x133f78[_0x285015(0x3d0)]=0x3ec]=_0x285015(0x3d0),_0x133f78[_0x133f78['UNRECOGNIZED']=-0x1]=_0x285015(0x3c8),_0x133f78))(pe||{}),pi=(_0x4d9ab7=>(_0x4d9ab7[_0x4d9ab7[_0x285015(0x2e6)]=0x0]=_0x285015(0x2e6),_0x4d9ab7[_0x4d9ab7[_0x285015(0x16d)]=0x1]='HttpImport',_0x4d9ab7[_0x4d9ab7[_0x285015(0x3ac)]=0x2]=_0x285015(0x3ac),_0x4d9ab7[_0x4d9ab7[_0x285015(0x2b6)]=0x3]='UnitEmbedded',_0x4d9ab7[_0x4d9ab7[_0x285015(0x416)]=0x4]='UnitSnapshot',_0x4d9ab7[_0x4d9ab7['UserProfileImg']=0x5]='UserProfileImg',_0x4d9ab7[_0x4d9ab7[_0x285015(0x3c8)]=-0x1]=_0x285015(0x3c8),_0x4d9ab7))(pi||{});const Os=_0x285015(0x442);function bs(_0x54b3fe){var _0x66a27c=_0x285015;return JSON[_0x66a27c(0x24e)](_0x54b3fe)[_0x66a27c(0x305)];}var ne=(_0x434796=>(_0x434796['OTHER_CLIENT_EDITING']=_0x285015(0x24a),_0x434796[_0x285015(0x2cc)]='PERMISSION_DENIED',_0x434796[_0x285015(0x33d)]=_0x285015(0x33d),_0x434796['CLOSE_ROOM']=_0x285015(0x429),_0x434796[_0x285015(0x214)]=_0x285015(0x214),_0x434796['SOCKET_FAILED_RETRY']=_0x285015(0x1a6),_0x434796['SOCKET_FAILED']=_0x285015(0x2f6),_0x434796[_0x285015(0x180)]='SUBMIT_CHANGESET_TIMEOUT',_0x434796))(ne||{});class ve{constructor(){var _0x7e3f1b=_0x285015;N(this,_0x7e3f1b(0x338),new _0x1e0fa4()),N(this,_0x7e3f1b(0x3ba),this['_event$']['asObservable']());}[_0x285015(0x28e)](_0x258e28){var _0x54e56d=_0x285015;this[_0x54e56d(0x338)][_0x54e56d(0x26b)](_0x258e28);}}class mi{constructor(){var _0x49bc6d=_0x285015;N(this,_0x49bc6d(0x308),new _0x1e0fa4()),N(this,_0x49bc6d(0x44f),this[_0x49bc6d(0x308)][_0x49bc6d(0x447)]());}['onCommentUpdate'](_0x5e3f2a){var _0x1ebd89=_0x285015;this[_0x1ebd89(0x308)][_0x1ebd89(0x26b)](_0x5e3f2a);}}var ys=Object[_0x285015(0x310)],Ns=(_0x196608,_0x2ccfe9,_0xcd542e,_0x2e35e5)=>{var _0x4be906=_0x285015;for(var _0x34df56=_0x2e35e5>0x1?void 0x0:_0x2e35e5?ys(_0x2ccfe9,_0xcd542e):_0x2ccfe9,_0x1a9466=_0x196608[_0x4be906(0x305)]-0x1,_0xd5b0df;_0x1a9466>=0x0;_0x1a9466--)(_0xd5b0df=_0x196608[_0x1a9466])&&(_0x34df56=_0xd5b0df(_0x34df56)||_0x34df56);return _0x34df56;},Ft=(_0x534801,_0x1a9745)=>(_0x2ea799,_0x3b6c0e)=>_0x1a9745(_0x2ea799,_0x3b6c0e,_0x534801);let we=class extends _0x2b109f{constructor(_0x29f809,_0x265689){var _0x2f9b33=_0x285015;super(),N(this,_0x2f9b33(0x2d4),new Map()),N(this,_0x2f9b33(0x380),new _0x1e0fa4()),(this[_0x2f9b33(0x2ae)]=_0x29f809,this[_0x2f9b33(0x43b)]=_0x265689,this[_0x2f9b33(0x314)](_0x540e40(this[_0x2f9b33(0x2ae)][_0x2f9b33(0x187)](_0x3a3c86[_0x2f9b33(0x29a)])[_0x2f9b33(0x38f)](_0x27b12b(_0x46db42=>_0x46db42[_0x2f9b33(0x3e2)]())),this['_univerInstanceService'][_0x2f9b33(0x187)](_0x3a3c86['UNIVER_DOC'])[_0x2f9b33(0x38f)](_0x27b12b(_0x51547a=>_0x51547a[_0x2f9b33(0x3e2)]())),this['_univerInstanceService'][_0x2f9b33(0x187)](_0x3a3c86[_0x2f9b33(0x375)])['pipe'](_0x27b12b(_0x5f1f97=>_0x5f1f97['getUnitId']())))[_0x2f9b33(0x2bc)](_0x154947=>this['_removeRoom'](_0x154947))));}['waitForRoom$'](_0x301524){var _0x3c57e8=_0x285015;return this['_roomMembers'][_0x3c57e8(0x43e)](_0x301524)?_0x16096b(this['_roomMembers']['get'](_0x301524)):this[_0x3c57e8(0x380)][_0x3c57e8(0x38f)](_0x27b12b(_0x55d1e1=>{var _0x2f012c=_0x3c57e8;if(_0x55d1e1===_0x301524)return this[_0x2f012c(0x2d4)][_0x2f012c(0x195)](_0x55d1e1);}));}['setCurrentUser'](_0x314865){var _0x377ba7=_0x285015;this[_0x377ba7(0x43b)]['setCurrentUser'](_0x314865);}[_0x285015(0x3e3)](){var _0x595816=_0x285015;return this[_0x595816(0x43b)][_0x595816(0x3e3)]();}[_0x285015(0x200)](_0x2e805d,_0x4e87bc){var _0x5b4537=_0x285015;let _0x12ae53=this['_roomMembers'][_0x5b4537(0x195)](_0x2e805d);_0x12ae53||(_0x12ae53=new Ds(),this[_0x5b4537(0x2d4)][_0x5b4537(0x392)](_0x2e805d,_0x12ae53),this[_0x5b4537(0x380)][_0x5b4537(0x26b)](_0x2e805d)),_0x12ae53['updateMember'](_0x4e87bc);}[_0x285015(0x22b)](_0x15f245,_0x74ca9e){var _0x486037=_0x285015;const _0x1eb86b=this[_0x486037(0x2d4)][_0x486037(0x195)](_0x15f245);_0x1eb86b&&_0x1eb86b[_0x486037(0x22b)](_0x74ca9e);}[_0x285015(0x413)](_0x100ccc){var _0x19b85c=_0x285015;return this['_roomMembers'][_0x19b85c(0x195)](_0x100ccc);}['getMember'](_0x2483cf,_0x3deff7){var _0x248dc7=_0x285015;const _0x15652e=this[_0x248dc7(0x2d4)][_0x248dc7(0x195)](_0x2483cf);if(_0x15652e)return _0x15652e[_0x248dc7(0x23d)](_0x3deff7);}[_0x285015(0x34a)](_0x4b4a1c){var _0x59d35=_0x285015;const _0x458903=this['_roomMembers'][_0x59d35(0x195)](_0x4b4a1c);_0x458903&&(_0x458903[_0x59d35(0x320)](),this[_0x59d35(0x2d4)][_0x59d35(0x154)](_0x4b4a1c));}[_0x285015(0x320)](){var _0x55ff6e=_0x285015;this[_0x55ff6e(0x2d4)][_0x55ff6e(0x401)](_0x4e4d4e=>_0x4e4d4e['dispose']()),this[_0x55ff6e(0x2d4)][_0x55ff6e(0x39b)](),this[_0x55ff6e(0x380)][_0x55ff6e(0x1d9)]();}};we=Ns([Ft(0x0,_0x957fe2),Ft(0x1,_0x1f8eab(_0x550ddc))],we);class Ds extends _0x2b109f{constructor(){var _0x4a16bd=_0x285015;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x229484(this[_0x4a16bd(0x207)])),N(this,_0x4a16bd(0x175),this[_0x4a16bd(0x38c)]['asObservable']());}[_0x285015(0x320)](){var _0x2ae6dd=_0x285015;this['_members'][_0x2ae6dd(0x39b)]();}[_0x285015(0x200)](_0x4608cf){var _0x56fc72=_0x285015;this[_0x56fc72(0x207)][_0x56fc72(0x392)](_0x4608cf['memberID'],_0x4608cf),this[_0x56fc72(0x32f)]();}[_0x285015(0x22b)](_0x47a6d1){var _0x369012=_0x285015;this['_members'][_0x369012(0x154)](_0x47a6d1);}[_0x285015(0x23d)](_0x204863){var _0x4f107f=_0x285015;return this[_0x4f107f(0x207)][_0x4f107f(0x195)](_0x204863);}[_0x285015(0x44c)](){var _0x1d589a=_0x285015;return Array[_0x1d589a(0x167)](this['_members'][_0x1d589a(0x3ef)]());}[_0x285015(0x32f)](){var _0x2d4d49=_0x285015;this[_0x2d4d49(0x38c)]['next'](this['_members']);}}var Us=Object[_0x285015(0x310)],As=(_0xa5140b,_0x16955c,_0x2caf57,_0x4448b9)=>{var _0x3a08be=_0x285015;for(var _0x294dc0=_0x4448b9>0x1?void 0x0:_0x4448b9?Us(_0x16955c,_0x2caf57):_0x16955c,_0xb3c6ed=_0xa5140b[_0x3a08be(0x305)]-0x1,_0x26895b;_0xb3c6ed>=0x0;_0xb3c6ed--)(_0x26895b=_0xa5140b[_0xb3c6ed])&&(_0x294dc0=_0x26895b(_0x294dc0)||_0x294dc0);return _0x294dc0;},Ce=(_0x325673,_0x556320)=>(_0x59c4be,_0x257f3d)=>_0x556320(_0x59c4be,_0x257f3d,_0x325673),ge=(_0x3a5f2a=>(_0x3a5f2a[_0x3a5f2a[_0x285015(0x2ad)]=0x0]=_0x285015(0x2ad),_0x3a5f2a[_0x3a5f2a[_0x285015(0x35f)]=0x1]=_0x285015(0x35f),_0x3a5f2a[_0x3a5f2a[_0x285015(0x19b)]=0x2]=_0x285015(0x19b),_0x3a5f2a[_0x3a5f2a['ONLINE']=0x3]=_0x285015(0x44e),_0x3a5f2a))(ge||{});const Vt={[pe[_0x285015(0x393)]]:_0x285015(0x2f4),[pe[_0x285015(0x205)]]:_0x285015(0x3fc),[pe[_0x285015(0x285)]]:_0x285015(0x241),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x285015(0x1b6),[pe[_0x285015(0x3d0)]]:_0x285015(0x1cc)};let gt=class extends _0x1f8cdd{constructor(_0xa03c41,_0x407fbc,_0x2d29c6,_0x14bdb7,_0x35258d,_0x5c4945,_0xfbac,_0x3dc51a){var _0x5bdbde=_0x285015;super(),N(this,'_sessionStatus$',new _0x229484(0x0)),N(this,_0x5bdbde(0x1cd),this[_0x5bdbde(0x2a0)][_0x5bdbde(0x447)]()),N(this,_0x5bdbde(0x338),new _0x1e0fa4()),N(this,'event$',this[_0x5bdbde(0x338)][_0x5bdbde(0x447)]()),N(this,_0x5bdbde(0x23e)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x5bdbde(0x3a0),!0x1),N(this,_0x5bdbde(0x364),null),(this['_unitID']=_0xa03c41,this['_logService']=_0x2d29c6,this[_0x5bdbde(0x382)]=_0x14bdb7,this['_memberService']=_0x35258d,this[_0x5bdbde(0x2c6)]=_0x5c4945,this[_0x5bdbde(0x2dd)]=_0xfbac,this[_0x5bdbde(0x201)]=_0x3dc51a,this[_0x5bdbde(0x3a0)]=!!this[_0x5bdbde(0x201)],_0x407fbc[_0x5bdbde(0x38f)](_0x506746(this[_0x5bdbde(0x1f7)]))[_0x5bdbde(0x2bc)](_0x546a13=>{var _0x2da075=_0x5bdbde,_0x4425df;typeof _0x546a13>'u'||(this['_socket']=_0x546a13,_0x546a13?(this[_0x2da075(0x298)](_0x546a13),this[_0x2da075(0x35c)]=_0x546a13[_0x2da075(0x324)][_0x2da075(0x2bc)](_0x2d40dd=>{var _0x43787c=_0x2da075;_0x2d40dd[_0x43787c(0x235)]===this['_unitID']&&this[_0x43787c(0x23f)](_0x2d40dd);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2da075(0x2a0)][_0x2da075(0x26b)](0x2),(_0x4425df=this[_0x2da075(0x35c)])==null||_0x4425df['unsubscribe'](),this[_0x2da075(0x35c)]=null));}));}get[_0x285015(0x41d)](){var _0x1afa56=_0x285015;return this[_0x1afa56(0x2a0)]['getValue']();}[_0x285015(0x24b)](){var _0x140e58=_0x285015,_0x5e492b,_0x224d19;return(_0x224d19=(_0x5e492b=this[_0x140e58(0x23e)])==null?void 0x0:_0x5e492b[_0x140e58(0x3e5)])!=null?_0x224d19:null;}[_0x285015(0x320)](){var _0x413df7=_0x285015;super[_0x413df7(0x320)](),this[_0x413df7(0x1f7)][_0x413df7(0x26b)](),this[_0x413df7(0x1f7)][_0x413df7(0x1d9)]();}[_0x285015(0x42b)](){var _0x670ee3=_0x285015,_0x317ca,_0x1d603c;this[_0x670ee3(0x1f0)](),(_0x317ca=this[_0x670ee3(0x23e)])==null||_0x317ca[_0x670ee3(0x3b0)]({'cmd':F[_0x670ee3(0x24d)],'data':{'roomID':this[_0x670ee3(0x2e9)]}}),(_0x1d603c=this['_socket'])==null||_0x1d603c[_0x670ee3(0x42b)](),this['_event$'][_0x670ee3(0x1d9)](),this[_0x670ee3(0x2a0)][_0x670ee3(0x1d9)](),this[_0x670ee3(0x320)]();}[_0x285015(0x23f)](_0x398635){var _0x2df7cb=_0x285015;_0x398635['cmd']===F[_0x2df7cb(0x1eb)]?this[_0x2df7cb(0x3b7)](_0x398635):_0x398635['cmd']===F[_0x2df7cb(0x291)]&&this[_0x2df7cb(0x39a)](_0x398635);}['_joinRoom'](_0xffd0c4){var _0x3e78e6=_0x285015;this[_0x3e78e6(0x2a0)][_0x3e78e6(0x26b)](0x1),_0xffd0c4['send']({'cmd':F[_0x3e78e6(0x1eb)],'routeKey':this[_0x3e78e6(0x2e9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e78e6(0x2e9)]}]}});}['_onJoinRoomEvent'](_0x23a433){var _0xc22cf1=_0x285015,_0x426901;if(_0x23a433[_0xc22cf1(0x3bc)]in Vt){this[_0xc22cf1(0x2dd)][_0xc22cf1(0x28e)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0x23a433['code']]}),this[_0xc22cf1(0x2a0)][_0xc22cf1(0x26b)](0x2);return;}this[_0xc22cf1(0x2a0)]['next'](0x3);const _0x27fc75=(_0x426901=_0x23a433['data'][_0xc22cf1(0x437)][this[_0xc22cf1(0x2e9)]])==null?void 0x0:_0x426901[_0xc22cf1(0x37c)];_0x27fc75&&_0x27fc75[_0xc22cf1(0x401)](_0x2fdff3=>this[_0xc22cf1(0x2f3)]['updateMember'](this[_0xc22cf1(0x2e9)],_0x2fdff3));}['_onRecvEvent'](_0xc5b6a8){var _0x4e5a46=_0x285015;try{const _0x3348c1=_0xc5b6a8['data'];switch(_0x3348c1['eventID']){case _0x2a645f[_0x4e5a46(0x383)]:this[_0x4e5a46(0x1fb)](_0x3348c1),this[_0x4e5a46(0x338)][_0x4e5a46(0x26b)](_0x3348c1);break;case _0x2a645f[_0x4e5a46(0x1a4)]:this[_0x4e5a46(0x44a)](_0x3348c1),this[_0x4e5a46(0x338)]['next'](_0x3348c1);break;case _0x2a645f[_0x4e5a46(0x236)]:case _0x2a645f[_0x4e5a46(0x2a6)]:this[_0x4e5a46(0x34f)](),this[_0x4e5a46(0x19c)](),this[_0x4e5a46(0x338)][_0x4e5a46(0x26b)](_0x3348c1);break;case _0x2a645f[_0x4e5a46(0x277)]:this[_0x4e5a46(0x328)][_0x4e5a46(0x1ce)](_0x4e5a46(0x38e)+JSON[_0x4e5a46(0x24e)](_0x3348c1)),this[_0x4e5a46(0x338)][_0x4e5a46(0x26b)](_0x3348c1);break;case _0x2a645f[_0x4e5a46(0x267)]:this[_0x4e5a46(0x2c6)][_0x4e5a46(0x263)](_0x3348c1[_0x4e5a46(0x288)]),this['_event$'][_0x4e5a46(0x26b)](_0x3348c1);break;default:this[_0x4e5a46(0x338)][_0x4e5a46(0x26b)](_0x3348c1);}}catch(_0x3827ba){this['_logService'][_0x4e5a46(0x1ce)](_0x3827ba,_0xc5b6a8);}}[_0x285015(0x1fb)](_0x5edfa0){var _0x5aa8a3=_0x285015;this[_0x5aa8a3(0x2f3)][_0x5aa8a3(0x200)](this['_unitID'],_0x5edfa0[_0x5aa8a3(0x288)]);}['_onUserLeave'](_0x233509){var _0x168ebb=_0x285015;this[_0x168ebb(0x2f3)][_0x168ebb(0x22b)](this['_unitID'],_0x233509[_0x168ebb(0x288)][_0x168ebb(0x3e5)]);}async[_0x285015(0x3b0)](_0x505f40,_0x2cf4b8){var _0x1d3ba5=_0x285015;if(this[_0x1d3ba5(0x41d)]!==0x3||!this['_socket'])throw new Error(_0x1d3ba5(0x208));try{_0x505f40[_0x1d3ba5(0x25b)]===_0x2a645f['SUBMIT_CHANGESET']&&(this[_0x1d3ba5(0x166)](),this['_startTelemetryCollaborationNewChangeset'](_0x505f40)),this[_0x1d3ba5(0x23e)][_0x1d3ba5(0x3b0)]({'cmd':F[_0x1d3ba5(0x42d)],'routeKey':_0x2cf4b8,'routeType':'','data':_0x505f40});}catch(_0x422fbb){this[_0x1d3ba5(0x328)][_0x1d3ba5(0x1ce)](_0x422fbb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x112be2=_0x285015,_0x3aea63;this[_0x112be2(0x406)]=setTimeout(()=>{var _0x3de483=_0x112be2;this['_collaborationTimeoutTimer']=null,this[_0x3de483(0x2dd)][_0x3de483(0x28e)]({'id':ne[_0x3de483(0x180)]});},(_0x3aea63=this[_0x112be2(0x382)][_0x112be2(0x2eb)](di))!=null?_0x3aea63:fi);}[_0x285015(0x19c)](){var _0x106441=_0x285015;this[_0x106441(0x406)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x106441(0x406)]=null);}[_0x285015(0x1c1)](_0x533ecb){var _0x1c2dde=_0x285015;if(!this[_0x1c2dde(0x3a0)])return;const {data:_0x5349af}=_0x533ecb,{unitID:_0x4ff9ab,changeset:_0x4567da}=_0x5349af,{mutations:_0x5e61fa,type:_0x2bbda6}=_0x4567da;this[_0x1c2dde(0x364)]={'unitId':_0x4ff9ab,'type':_0x2bbda6,'startTime':performance[_0x1c2dde(0x2ba)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x5e61fa)};}[_0x285015(0x34f)](){var _0x14f804=_0x285015;if(this[_0x14f804(0x3a0)]){if(!this['_telemetryInfo']){this['_logService'][_0x14f804(0x1ce)](_0x14f804(0x3f2),_0x14f804(0x18c));return;}this[_0x14f804(0x364)][_0x14f804(0x29f)]=performance[_0x14f804(0x2ba)](),this[_0x14f804(0x364)][_0x14f804(0x3af)]=this[_0x14f804(0x364)][_0x14f804(0x29f)]-this['_telemetryInfo'][_0x14f804(0x1a8)],this[_0x14f804(0x201)][_0x14f804(0x262)](Os,this[_0x14f804(0x364)]),this[_0x14f804(0x364)]=null;}}[_0x285015(0x1f0)](){var _0x2883e2=_0x285015;this[_0x2883e2(0x364)]=null;}};gt=As([Ce(0x2,_0xfc8632),Ce(0x3,_0x4676fe),Ce(0x4,_0x1f8eab(we)),Ce(0x5,_0x1f8eab(mi)),Ce(0x6,_0x1f8eab(ve)),Ce(0x7,_0x10bde8(_0x5d2f98))],gt);const J=_0x24f86a(_0x285015(0x318));function br(_0x5ee0b2){return'unit-cache-'+_0x5ee0b2;}var ws=Object[_0x285015(0x310)],Ps=(_0x2a43b4,_0x55ca77,_0x268822,_0x419eb1)=>{var _0x20799b=_0x285015;for(var _0x4c54ec=_0x419eb1>0x1?void 0x0:_0x419eb1?ws(_0x55ca77,_0x268822):_0x55ca77,_0x3d493e=_0x2a43b4[_0x20799b(0x305)]-0x1,_0x33921a;_0x3d493e>=0x0;_0x3d493e--)(_0x33921a=_0x2a43b4[_0x3d493e])&&(_0x4c54ec=_0x33921a(_0x4c54ec)||_0x4c54ec);return _0x4c54ec;},ut=(_0x4ca3e6,_0x5ee687)=>(_0x3dc4ac,_0x3fc63d)=>_0x5ee687(_0x3dc4ac,_0x3fc63d,_0x4ca3e6);function Ms(_0x5930f2){var _0x2a0ddf=_0x285015;const {unitID:_0x5397a3,mutations:_0x4150b1}=_0x5930f2;return{'unitId':_0x5397a3,'subUnitId':_0x4150b1[0x0][_0x2a0ddf(0x1e9)][_0x2a0ddf(0x3f3)]};}let it=class{constructor(_0x380663,_0x327a9f,_0x30cb50){var _0xcc4f16=_0x285015;this[_0xcc4f16(0x43c)]=_0x380663,this[_0xcc4f16(0x191)]=_0x327a9f,this[_0xcc4f16(0x1e7)]=_0x30cb50;}[_0x285015(0x1dd)](_0x3f0ae2){var _0x223655=_0x285015,_0x59982d,_0x4d2a50,_0x29a1a6,_0x5219d2;const _0x27a88e=this[_0x223655(0x43c)][_0x223655(0x195)](_0x299067),{unitId:_0x27d896,subUnitId:_0x2d1c4c}=Ms(_0x3f0ae2),_0x19ab61=_0x27a88e==null?void 0x0:_0x27a88e['getWorkbookSelections'](_0x27d896)[_0x223655(0x192)](),_0x3ca3ac=(_0x4d2a50=(_0x59982d=this['_instanceService'][_0x223655(0x3fa)](_0x27d896))==null?void 0x0:_0x59982d[_0x223655(0x301)]())==null?void 0x0:_0x4d2a50[_0x223655(0x287)]();if(_0x19ab61[_0x223655(0x305)]===0x0||!_0x27d896||!_0x2d1c4c)return;const _0x1f82d5=[{'id':_0x3fd54d['id'],'params':{'unitId':_0x27d896,'subUnitId':_0x3ca3ac,'selections':_0x55abbf[_0x223655(0x323)](_0x19ab61)}}],_0x32067b=this[_0x223655(0x191)][_0x223655(0x164)](_0x3f0ae2,_0x1f82d5);if(!_0x439c53(_0x32067b))throw _0x32067b[_0x223655(0x1ce)];const _0x377487=(_0x5219d2=(_0x29a1a6=_0x32067b['m2Prime'][0x0])==null?void 0x0:_0x29a1a6[_0x223655(0x1e9)])==null?void 0x0:_0x5219d2[_0x223655(0x386)];if(Array[_0x223655(0x313)](_0x377487)&&_0x377487[_0x223655(0x305)]){if(_0x377487['length']===_0x1f82d5[0x0]['params'][_0x223655(0x386)][_0x223655(0x305)]&&_0x377487['every']((_0x53ef05,_0x327171)=>_0x546150[_0x223655(0x231)](_0x53ef05[_0x223655(0x2b5)],_0x1f82d5[0x0][_0x223655(0x1e9)][_0x223655(0x386)][_0x327171]['range'])))return;this['_injector']['get'](_0x3ae5a2)[_0x223655(0x312)](_0x3fd54d['id'],{'unitId':_0x27d896,'subUnitId':_0x3ca3ac,'selections':_0x377487});}}};it=Ps([ut(0x0,_0x1f8eab(_0x231415)),ut(0x1,_0x549b0b),ut(0x2,_0x957fe2)],it);const ht=_0x24f86a(_0x285015(0x181));var gi=(_0x2fa010=>(_0x2fa010[_0x2fa010[_0x285015(0x3ee)]=0x0]=_0x285015(0x3ee),_0x2fa010[_0x2fa010[_0x285015(0x30b)]=0x1]=_0x285015(0x30b),_0x2fa010))(gi||{});const K=_0x285015(0x178),Ls={},xs=new Set([_0x5b4982['id']]);function Wt(_0x5caba2,_0x48fd01,_0x4a3a0b,_0x4a34f6,_0x16e6be){var _0x4f6c68=_0x285015,_0x5f2f00,_0x5a3377,_0x3c8122,_0x356b6c;const _0x1e6b3e=[];for(const _0x5a8a98 of _0x5caba2)if(xs['has'](_0x5a8a98['id'])){if(_0x1e6b3e[_0x4f6c68(0x305)]>0x0)break;_0x1e6b3e[_0x4f6c68(0x3ad)](_0x5a8a98);break;}else _0x1e6b3e[_0x4f6c68(0x3ad)](_0x5a8a98);const _0x887002=(_0x5a3377=(_0x5f2f00=_0x16e6be[_0x4f6c68(0x3e3)]())==null?void 0x0:_0x5f2f00[_0x4f6c68(0x2be)])!=null?_0x5a3377:_0x4f6c68(0x28f),_0x2ec21c=(_0x356b6c=(_0x3c8122=_0x16e6be['getCurrentUser']())==null?void 0x0:_0x3c8122[_0x4f6c68(0x3e5)])!=null?_0x356b6c:_0x4f6c68(0x28f);return{'changeset':{'unitID':_0x48fd01,'type':_0x4e1eb7(_0x4a3a0b[_0x4f6c68(0x1ee)](_0x48fd01)),'baseRev':_0x4a34f6[_0x4f6c68(0x307)](_0x48fd01),'revision':0x0,'userID':_0x887002,'memberID':_0x2ec21c,'mutations':_0x1e6b3e},'pendingMutations':_0x5caba2[_0x4f6c68(0x26c)](_0x1e6b3e[_0x4f6c68(0x305)])};}function ks(_0x237d38,_0x38a6b5,_0x13123d,_0x322279,_0x44f828){var _0x5e7f59=_0x285015,_0x1b96f1,_0xa5abd3,_0x21c930,_0x13e807;const _0x2736ed=[_0x237d38[_0x5e7f59(0x176)]((_0xec0018,_0x2f7938)=>{var _0x401fe8=_0x5e7f59,_0x11377f;const {id:_0x36580e}=_0xec0018,{id:_0x36e968,type:_0x42d8c6}=_0x2f7938,_0x3a7284=(_0x11377f=_0xec0018[_0x401fe8(0x1e9)])!=null?_0x11377f:{'actions':null},_0x380ef7=_0x2f7938[_0x401fe8(0x1e9)];if(_0x36580e&&_0x36580e!==_0x36e968)throw new Error(_0x401fe8(0x3d5)+_0x36580e+'\x20-\x20'+_0x36e968+'.');return{..._0xec0018,'id':_0x36e968,'type':_0x42d8c6,'params':{'unitId':_0x380ef7[_0x401fe8(0x339)],'textRanges':_0x380ef7[_0x401fe8(0x335)],'actions':_0x319db3[_0x401fe8(0x36c)](_0x3a7284[_0x401fe8(0x266)],_0x380ef7[_0x401fe8(0x266)])}};},{})],_0x21aae6=(_0xa5abd3=(_0x1b96f1=_0x44f828[_0x5e7f59(0x3e3)]())==null?void 0x0:_0x1b96f1[_0x5e7f59(0x2be)])!=null?_0xa5abd3:_0x5e7f59(0x28f),_0x2ad480=(_0x13e807=(_0x21c930=_0x44f828[_0x5e7f59(0x3e3)]())==null?void 0x0:_0x21c930[_0x5e7f59(0x3e5)])!=null?_0x13e807:'unknown';return{'changeset':{'unitID':_0x38a6b5,'type':_0x4e1eb7(_0x13123d[_0x5e7f59(0x1ee)](_0x38a6b5)),'baseRev':_0x322279['getCurrentRevOfUnit'](_0x38a6b5),'revision':0x0,'userID':_0x21aae6,'memberID':_0x2ad480,'mutations':_0x2736ed},'pendingMutations':[]};}function Si(_0x2177e0,_0x1a0bd7){var _0x559a51=_0x285015;const _0x11e97e=new _0x2c4516(0x1);return setTimeout(()=>_0x11e97e[_0x559a51(0x26b)](_0x1a0bd7),_0x2177e0),_0x11e97e[_0x559a51(0x447)]()[_0x559a51(0x38f)](_0x4f1414(0x1));}const $s={'id':_0x29f0eb['id'],'type':_0x39e9ac[_0x285015(0x297)],'params':{}};var Hs=Object[_0x285015(0x310)],Ee=(_0x1e2a43,_0x26b342,_0x24f8cf,_0x3adeaa)=>{var _0x36d9b6=_0x285015;for(var _0x82996a=_0x3adeaa>0x1?void 0x0:_0x3adeaa?Hs(_0x26b342,_0x24f8cf):_0x26b342,_0x1b32f0=_0x1e2a43[_0x36d9b6(0x305)]-0x1,_0x469749;_0x1b32f0>=0x0;_0x1b32f0--)(_0x469749=_0x1e2a43[_0x1b32f0])&&(_0x82996a=_0x469749(_0x82996a)||_0x82996a);return _0x82996a;},P=(_0x1ce07b,_0x25e8f1)=>(_0x5ab15f,_0x128ac4)=>_0x25e8f1(_0x5ab15f,_0x128ac4,_0x1ce07b),Ei=(_0xac7b96=>(_0xac7b96['NOT_COLLAB']=_0x285015(0x2ce),_0xac7b96[_0x285015(0x1ec)]=_0x285015(0x17a),_0xac7b96[_0x285015(0x1b0)]=_0x285015(0x43f),_0xac7b96[_0x285015(0x34c)]=_0x285015(0x31b),_0xac7b96[_0x285015(0x2f5)]=_0x285015(0x194),_0xac7b96['FETCH_MISS']=_0x285015(0x37a),_0xac7b96[_0x285015(0x33d)]='conflict',_0xac7b96[_0x285015(0x19b)]='offline',_0xac7b96))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x52c6c9,_0x43c1e5,_0x52c16b,_0x3f792a,_0x5c12e0,_0x239fac,_0x4ac74a,_0x21a75e,_0x54e793){var _0x21a486=_0x285015;N(this,'_awaitingChangeset',null),N(this,_0x21a486(0x322),[]),(this[_0x21a486(0x21f)]=_0x52c6c9,this[_0x21a486(0x2a3)]=_0x43c1e5,this[_0x21a486(0x327)]=_0x5c12e0,this[_0x21a486(0x1b4)]=_0x239fac,this[_0x21a486(0x438)]=_0x4ac74a,this['_revisionService']=_0x21a75e,this[_0x21a486(0x3bd)]=_0x54e793,this['_awaitingChangeset']=_0x52c16b,this[_0x21a486(0x322)]=_0x3f792a);}[_0x285015(0x434)](_0x15d255){var _0x149880=_0x285015;const _0x2529b0=this[_0x149880(0x2f2)]['getCurrentRevOfUnit'](this['unitID']);return _0x15d255[_0x149880(0x35d)]>_0x2529b0+0x1?(this['_handler'][_0x149880(0x2e4)]({'from':_0x2529b0,'to':_0x15d255['revision']-0x1}),!0x0):!0x1;}[_0x285015(0x20d)](_0x2ae984){var _0x1f4663=_0x285015;this[_0x1f4663(0x438)]['transformUndoRedo'](this['unitID'],_0x2ae984);}[_0x285015(0x425)](_0x26f850){var _0x34f7b2=_0x285015,_0x4e9a96,_0x598f0e;(_0x598f0e=(_0x4e9a96=this[_0x34f7b2(0x327)])[_0x34f7b2(0x3a3)])==null||_0x598f0e['call'](_0x4e9a96,_0x26f850);}['_transformIMECache'](_0xb09bc7){var _0x17bdbc=_0x285015,_0x1361ba,_0xb5377d;return(_0xb5377d=(_0x1361ba=this[_0x17bdbc(0x327)])[_0x17bdbc(0x18d)])==null?void 0x0:_0xb5377d[_0x17bdbc(0x3f7)](_0x1361ba,_0xb09bc7);}[_0x285015(0x450)](_0x8b7eb9){var _0x11d41=_0x285015,_0x3b1d62,_0x3fae85;return(_0x3fae85=(_0x3b1d62=this[_0x11d41(0x327)])[_0x11d41(0x341)])==null?void 0x0:_0x3fae85['call'](_0x3b1d62,_0x8b7eb9);}['_transformRemoteChangesetByIMECache'](_0xed1e71){var _0x1445b2=_0x285015,_0x1d755c,_0xbd81b6,_0x4e332d;return(_0x4e332d=(_0xbd81b6=(_0x1d755c=this[_0x1445b2(0x327)])[_0x1445b2(0x3d3)])==null?void 0x0:_0xbd81b6[_0x1445b2(0x3f7)](_0x1d755c,_0xed1e71))!=null?_0x4e332d:_0xed1e71;}[_0x285015(0x230)](_0x1e7b9b){var _0x27e6d4=_0x285015,_0x2ad6ac,_0x357090,_0x4bf495;return(_0x4bf495=(_0x357090=(_0x2ad6ac=this['_handler'])[_0x27e6d4(0x428)])==null?void 0x0:_0x357090[_0x27e6d4(0x3f7)](_0x2ad6ac,_0x1e7b9b))!=null?_0x4bf495:_0x1e7b9b;}[_0x285015(0x36b)](_0x5cf3b0){var _0x27214f=_0x285015,_0x345eeb,_0x415474;if(this[_0x27214f(0x2a3)]===Z[_0x27214f(0x389)]){const {unitID:_0x2fba35,mutations:_0x2cf769,memberID:_0x4f9d9e}=_0x5cf3b0,_0x5a3b58=_0x2cf769[0x0][_0x27214f(0x1e9)]['textRanges'];Array['isArray'](_0x5a3b58)&&_0x5a3b58['length']>0x0&&((_0x415474=(_0x345eeb=this[_0x27214f(0x327)])[_0x27214f(0x27d)])==null||_0x415474[_0x27214f(0x3f7)](_0x345eeb,{'unitID':_0x2fba35,'memberID':_0x4f9d9e,'textRanges':_0x5a3b58}));}}[_0x285015(0x290)](){var _0x34ee23=_0x285015,_0x22909d;(_0x22909d=this['_localCacheService'])==null||_0x22909d[_0x34ee23(0x1e8)](this[_0x34ee23(0x21f)],this[_0x34ee23(0x2a3)],this[_0x34ee23(0x23c)],this[_0x34ee23(0x322)]);}[_0x285015(0x1fc)](){var _0x4238a2=_0x285015;return this[_0x4238a2(0x2f2)][_0x4238a2(0x307)](this[_0x4238a2(0x21f)]);}['_incrementRevisionNumber'](){var _0x3f48c8=_0x285015;this[_0x3f48c8(0x2f2)]['incrementRevOfUnit'](this[_0x3f48c8(0x21f)]);}[_0x285015(0x34d)](_0x2d29a2){var _0x37d5c2=_0x285015,_0x16064f;let _0x1e36aa=this[_0x37d5c2(0x3e0)](_0x2d29a2);_0x1e36aa=this['_transformRemoteChangesetByStateCache'](_0x1e36aa);const _0x117594=_0x2eb79e(_0x1e36aa[_0x37d5c2(0x202)],this['_commandService'],{'fromCollab':!0x0});if(!_0x117594['result'])throw _0x117594[_0x37d5c2(0x1ce)]instanceof Error?_0x117594[_0x37d5c2(0x1ce)]:new Error((_0x16064f=_0x117594['error'])!=null?_0x16064f:_0x37d5c2(0x358));this[_0x37d5c2(0x15e)](_0x1e36aa),this['_transformStateCache'](_0x1e36aa),this['_transformUndoredo'](_0x2d29a2),this['_transformSelections'](_0x1e36aa),this['_syncEditingCollabCursor'](_0x1e36aa),this[_0x37d5c2(0x373)]();}}let ye=class extends Ie{constructor(_0x42ac9d,_0x392b2e,_0x28a5d6,_0x2113c4,_0x3a6b9c,_0x524441,_0x25149b,_0x463c6b,_0x200deb,_0x404ce7){var _0x47eb62=_0x285015;super(_0x42ac9d,_0x392b2e,null,[],_0x28a5d6,_0x25149b,_0x524441,_0x2113c4,_0x404ce7),N(this,'status',_0x47eb62(0x17a)),(this[_0x47eb62(0x43c)]=_0x3a6b9c,this[_0x47eb62(0x328)]=_0x463c6b,this[_0x47eb62(0x191)]=_0x200deb,this[_0x47eb62(0x27c)]=_0x404ce7);}[_0x285015(0x1cf)](_0x26872d){var _0x14827f=_0x285015;const _0x357a0b=this[_0x14827f(0x43c)][_0x14827f(0x340)](re,this[_0x14827f(0x21f)],this[_0x14827f(0x2a3)],[_0x26872d],this[_0x14827f(0x327)]);return _0x357a0b['_schedule'](),_0x357a0b[_0x14827f(0x290)](),_0x357a0b;}[_0x285015(0x293)](_0x4d9181){var _0x566011=_0x285015;if(this[_0x566011(0x434)](_0x4d9181))return this['_injector'][_0x566011(0x340)](Q,this[_0x566011(0x21f)],this[_0x566011(0x2a3)],null,[],null,[_0x4d9181],this[_0x566011(0x327)]);try{const _0x173dde=this['_transformService'][_0x566011(0x164)](_0x4d9181,[$s]);if(_0x439c53(_0x173dde)){const {c1Prime:_0x27db87}=_0x173dde;return this[_0x566011(0x34d)](_0x27db87),this;}throw _0x173dde['error'];}catch(_0xba7fa){return this[_0x566011(0x328)][_0x566011(0x1ce)](_0xba7fa),this['_onConflict'](!0x1);}}[_0x285015(0x35b)](_0xb4b97){var _0x5ccc40=_0x285015;return this[_0x5ccc40(0x43c)]['createInstance'](le,this[_0x5ccc40(0x21f)],this[_0x5ccc40(0x2a3)],null,[],this[_0x5ccc40(0x327)],_0xb4b97);}[_0x285015(0x19f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x285015(0x2db)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x285015(0x2c3)](){return this;}[_0x285015(0x292)](){var _0x2c47b3=_0x285015;return this[_0x2c47b3(0x43c)][_0x2c47b3(0x340)](ue,this[_0x2c47b3(0x21f)],this[_0x2c47b3(0x2a3)],null,[],this[_0x2c47b3(0x327)]);}['toggleOnline'](){return this;}[_0x285015(0x22f)](){var _0xa93848=_0x285015;throw new Error(_0xa93848(0x28d));}[_0x285015(0x212)](){var _0x5cdc13=_0x285015;const _0x540d7f=this[_0x5cdc13(0x2f2)][_0x5cdc13(0x307)](this[_0x5cdc13(0x21f)]);return this[_0x5cdc13(0x327)]['onMissingChangesets']({'from':_0x540d7f,'to':0x0}),this[_0x5cdc13(0x43c)]['createInstance'](Q,this[_0x5cdc13(0x21f)],this[_0x5cdc13(0x2a3)],null,[],null,[],this[_0x5cdc13(0x327)]);}};ye=Ee([P(0x3,_0x1f8eab(_0x59a9d0)),P(0x4,_0x1f8eab(_0x231415)),P(0x5,_0x2017c9),P(0x6,_0x3ae5a2),P(0x7,_0xfc8632),P(0x8,_0x549b0b),P(0x9,_0x10bde8(J))],ye);let re=class extends Ie{constructor(_0x15c231,_0x44fc2a,_0x145314,_0x4a4e2e,_0x7c37ac,_0x5c01c0,_0x4093e3,_0x33e43e,_0x1d8f91,_0xd248a9,_0x4d14ab,_0x278fa7,_0xf16ccf,_0xb682a6){var _0x4439f1=_0x285015;super(_0x15c231,_0x44fc2a,null,_0x145314,_0x4a4e2e,_0x1d8f91,_0xf16ccf,_0x5c01c0,_0xb682a6),N(this,'status','pending'),N(this,_0x4439f1(0x405),null),N(this,'_sendingTimer',null),(this[_0x4439f1(0x43c)]=_0x7c37ac,this['_memberService']=_0x4093e3,this['_logService']=_0x33e43e,this['_configService']=_0xd248a9,this['_transformService']=_0x4d14ab,this[_0x4439f1(0x2ae)]=_0x278fa7);}[_0x285015(0x1cf)](_0x1a07fa){var _0x4d14b4=_0x285015;return this['_pendingMutations'][_0x4d14b4(0x3ad)](_0x1a07fa),this[_0x4d14b4(0x290)](),this;}[_0x285015(0x293)](_0x16cd14){var _0x4ad975=_0x285015;if(this[_0x4ad975(0x434)](_0x16cd14))return this['_clearScheduledTask'](),this[_0x4ad975(0x43c)][_0x4ad975(0x340)](Q,this[_0x4ad975(0x21f)],this[_0x4ad975(0x2a3)],null,this[_0x4ad975(0x322)],null,[_0x16cd14],this['_handler']);try{const _0xec6bb3=this['_transformService'][_0x4ad975(0x164)](_0x16cd14,this[_0x4ad975(0x322)]);if(_0x439c53(_0xec6bb3)){const {c1Prime:_0xa55157,m2Prime:_0x14df89}=_0xec6bb3;this[_0x4ad975(0x34d)](_0xa55157);const _0x30c6d9=this['_injector'][_0x4ad975(0x340)](re,this[_0x4ad975(0x21f)],this[_0x4ad975(0x2a3)],_0x14df89,this[_0x4ad975(0x327)]);this[_0x4ad975(0x259)]();const _0x12a51d=new Date()[_0x4ad975(0x2e1)](),_0xbb4c3e=this[_0x4ad975(0x405)]?Math['max'](this[_0x4ad975(0x405)]-_0x12a51d,0x0):this[_0x4ad975(0x251)]();return _0x30c6d9['_schedule'](_0xbb4c3e),_0x30c6d9;}throw _0xec6bb3[_0x4ad975(0x1ce)];}catch(_0xc476df){return this[_0x4ad975(0x328)]['error'](_0xc476df),this[_0x4ad975(0x35b)](!0x1);}}[_0x285015(0x19f)](){var _0x4a4a10=_0x285015;throw new Error(_0x4a4a10(0x2b8));}[_0x285015(0x2db)](){var _0x18e4b3=_0x285015;throw new Error(_0x18e4b3(0x415));}[_0x285015(0x2c3)](){return this;}[_0x285015(0x292)](){var _0x3e93b9=_0x285015;return this[_0x3e93b9(0x259)](),this[_0x3e93b9(0x43c)]['createInstance'](ue,this[_0x3e93b9(0x21f)],this[_0x3e93b9(0x2a3)],null,this[_0x3e93b9(0x322)],this[_0x3e93b9(0x327)]);}[_0x285015(0x279)](){return this;}['_schedule'](_0x42d3b2){var _0x3e8c3d=_0x285015;const _0x442603=_0x42d3b2!=null?_0x42d3b2:this[_0x3e8c3d(0x251)]();this[_0x3e8c3d(0x405)]=new Date()['getTime']()+_0x442603,this[_0x3e8c3d(0x1f5)]=setTimeout(()=>{var _0x373a87=_0x3e8c3d;this[_0x373a87(0x259)]();let _0x7852ac=null;switch(this['type']){case Z[_0x373a87(0x29a)]:{_0x7852ac=Wt(this[_0x373a87(0x322)],this['unitID'],this[_0x373a87(0x2ae)],this[_0x373a87(0x2f2)],this[_0x373a87(0x2f3)]);break;}case Z[_0x373a87(0x389)]:{this[_0x373a87(0x322)][_0x373a87(0x3aa)](_0x312e02=>_0x312e02['id']===_0x64c533['id'])?_0x7852ac=ks(this[_0x373a87(0x322)],this['unitID'],this[_0x373a87(0x2ae)],this[_0x373a87(0x2f2)],this[_0x373a87(0x2f3)]):_0x7852ac=Wt(this[_0x373a87(0x322)],this['unitID'],this[_0x373a87(0x2ae)],this[_0x373a87(0x2f2)],this[_0x373a87(0x2f3)]);break;}default:throw new Error(_0x373a87(0x243)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x54dcaf,pendingMutations:_0x57d1f0}=_0x7852ac;this[_0x373a87(0x327)][_0x373a87(0x3b4)](_0x54dcaf);const _0x3b9f27=_0x57d1f0[_0x373a87(0x305)]?this['_injector'][_0x373a87(0x340)](ae,this['unitID'],this['type'],_0x54dcaf,_0x57d1f0,this[_0x373a87(0x327)],void 0x0):this[_0x373a87(0x43c)][_0x373a87(0x340)](_e,this[_0x373a87(0x21f)],this[_0x373a87(0x2a3)],_0x54dcaf,this[_0x373a87(0x327)]);_0x3b9f27['_updateLocalCache'](),this[_0x373a87(0x327)][_0x373a87(0x1bd)](this,_0x3b9f27);},_0x442603);}['_getSendChangesetTimeout'](){var _0x50ece7=_0x285015,_0xec7445;const _0x42eaea=this[_0x50ece7(0x382)][_0x50ece7(0x2eb)](K);return(_0xec7445=_0x42eaea==null?void 0x0:_0x42eaea[_0x50ece7(0x336)])!=null?_0xec7445:ps;}[_0x285015(0x22f)](){var _0x991f42=_0x285015;throw new Error(_0x991f42(0x2d1));}['_clearScheduledTask'](){var _0x567b93=_0x285015;this[_0x567b93(0x1f5)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x567b93(0x1f5)]=null);}['_onConflict'](_0xc01b16){var _0x589151=_0x285015;return this[_0x589151(0x259)](),this[_0x589151(0x43c)][_0x589151(0x340)](le,this[_0x589151(0x21f)],this[_0x589151(0x2a3)],null,this[_0x589151(0x322)],this['_handler'],_0xc01b16);}};re=Ee([P(0x4,_0x1f8eab(_0x231415)),P(0x5,_0x1f8eab(_0x59a9d0)),P(0x6,_0x1f8eab(we)),P(0x7,_0xfc8632),P(0x8,_0x3ae5a2),P(0x9,_0x4676fe),P(0xa,_0x549b0b),P(0xb,_0x957fe2),P(0xc,_0x2017c9),P(0xd,_0x10bde8(J))],re);let _e=class extends Ie{constructor(_0x47ff27,_0x5032bf,_0x1748cc,_0x188f3d,_0x39d87f,_0x553a47,_0x5d8fcb,_0x39eeaa,_0x30e88e,_0x5b65cf,_0xf1fdcf){var _0x5a073b=_0x285015;super(_0x47ff27,_0x5032bf,_0x1748cc,[],_0x188f3d,_0x5d8fcb,_0x5b65cf,_0x553a47,_0xf1fdcf),N(this,'status',_0x5a073b(0x31b)),N(this,_0x5a073b(0x162),0x0),N(this,_0x5a073b(0x2ec)),N(this,_0x5a073b(0x1a2)),(this[_0x5a073b(0x43c)]=_0x39d87f,this['_logService']=_0x39eeaa,this[_0x5a073b(0x191)]=_0x30e88e);}[_0x285015(0x1cf)](_0x2c26b7){var _0x522313=_0x285015;this['_clearScheduledTask']();const _0x48a22f=this[_0x522313(0x43c)][_0x522313(0x340)](ae,this[_0x522313(0x21f)],this[_0x522313(0x2a3)],this[_0x522313(0x23c)],[_0x2c26b7],this[_0x522313(0x327)],this[_0x522313(0x2ec)]);return _0x48a22f[_0x522313(0x290)](),_0x48a22f;}[_0x285015(0x293)](_0x4088bf){var _0x62dbba=_0x285015;if(this[_0x62dbba(0x434)](_0x4088bf))return this[_0x62dbba(0x259)](),this[_0x62dbba(0x43c)]['createInstance'](Q,this[_0x62dbba(0x21f)],this[_0x62dbba(0x2a3)],this[_0x62dbba(0x23c)],[],null,[_0x4088bf],this[_0x62dbba(0x327)]);try{const _0x552449=this[_0x62dbba(0x191)][_0x62dbba(0x276)]([_0x4088bf],[this[_0x62dbba(0x23c)]],!0x1);if(_0x2669af(_0x552449)){const {c1Prime:_0x45ac25,c2Prime:_0x301d18}=_0x552449;this[_0x62dbba(0x34d)](_0x45ac25[0x0]),_0x301d18[0x0][_0x62dbba(0x1e5)]=this[_0x62dbba(0x1fc)](),this[_0x62dbba(0x259)]();const _0x5a77d8=this[_0x62dbba(0x43c)][_0x62dbba(0x340)](_e,this[_0x62dbba(0x21f)],this[_0x62dbba(0x2a3)],_0x301d18[0x0],this['_handler']);return _0x5a77d8['_updateLocalCache'](),_0x5a77d8;}return this[_0x62dbba(0x35b)](!0x1);}catch(_0x59b9cb){return this['_logService'][_0x62dbba(0x1ce)](_0x59b9cb),this[_0x62dbba(0x35b)](!0x1);}}[_0x285015(0x19f)](_0x5d6f51){var _0x1c0d65=_0x285015;this[_0x1c0d65(0x259)]();const _0x11c2af=this[_0x1c0d65(0x2f2)][_0x1c0d65(0x307)](this['unitID']);if(_0x5d6f51[_0x1c0d65(0x35d)]<_0x11c2af-0x1)return this;if(this[_0x1c0d65(0x434)](_0x5d6f51))return this[_0x1c0d65(0x43c)][_0x1c0d65(0x340)](Q,this['unitID'],this[_0x1c0d65(0x2a3)],null,[],this['_awaitingChangeset'],[],this[_0x1c0d65(0x327)]);this['_incrementRevisionNumber']();const _0x19fd6f=this[_0x1c0d65(0x43c)][_0x1c0d65(0x340)](ye,this[_0x1c0d65(0x21f)],this['type'],this[_0x1c0d65(0x327)]);return _0x19fd6f[_0x1c0d65(0x290)](),_0x19fd6f;}[_0x285015(0x2db)](_0x53eb5a){var _0x450d28=_0x285015;return this[_0x450d28(0x35b)](!!(_0x53eb5a!=null&&_0x53eb5a[_0x450d28(0x1f8)]));}['onRemoteRetry'](_0x8840d4){var _0x1a3c5d=_0x285015;return this['_resendTimeout']>Ii?this[_0x1a3c5d(0x292)]():(this[_0x1a3c5d(0x2ec)]=Si(this[_0x1a3c5d(0x162)],{'timeout':this[_0x1a3c5d(0x162)],'reqId':_0x8840d4[_0x1a3c5d(0x209)]}),this['_sender']=this[_0x1a3c5d(0x2ec)][_0x1a3c5d(0x2bc)](({reqId:_0x36539b,timeout:_0x4078ab})=>{var _0x14f122=_0x1a3c5d;this[_0x14f122(0x326)](_0x36539b,_0x4078ab);}),this);}[_0x285015(0x292)](){var _0x5f13c5=_0x285015;return this['_clearScheduledTask'](),this[_0x5f13c5(0x43c)][_0x5f13c5(0x340)](ue,this[_0x5f13c5(0x21f)],this[_0x5f13c5(0x2a3)],this[_0x5f13c5(0x23c)],[],this[_0x5f13c5(0x327)]);}[_0x285015(0x279)](){return this;}['resend'](){var _0x293621=_0x285015;this['_handler'][_0x293621(0x3b4)](this[_0x293621(0x23c)]);}['_onConflict'](_0x4dcbda){var _0x38bde7=_0x285015;return this[_0x38bde7(0x259)](),this[_0x38bde7(0x43c)][_0x38bde7(0x340)](le,this['unitID'],this['type'],this[_0x38bde7(0x23c)],[],this['_handler'],_0x4dcbda);}[_0x285015(0x326)](_0x33c707,_0x13f045){var _0x4bbc85=_0x285015,_0x234689;_0x33c707===((_0x234689=this['_awaitingChangeset'])==null?void 0x0:_0x234689['reqId'])&&(this[_0x4bbc85(0x22f)](),this[_0x4bbc85(0x162)]=_0x13f045===0x0?0x3e8:_0x13f045*0x2);}[_0x285015(0x259)](){var _0x5e5090=_0x285015,_0x2a6e68;(_0x2a6e68=this[_0x5e5090(0x1a2)])==null||_0x2a6e68[_0x5e5090(0x2d7)](),this[_0x5e5090(0x162)]=0x0;}};_e=Ee([P(0x4,_0x1f8eab(_0x231415)),P(0x5,_0x1f8eab(_0x59a9d0)),P(0x6,_0x3ae5a2),P(0x7,_0xfc8632),P(0x8,_0x549b0b),P(0x9,_0x2017c9),P(0xa,_0x10bde8(J))],_e);let ae=class extends Ie{constructor(_0x1beb2b,_0x54229f,_0x3d3596,_0x4f74d0,_0x148e93,_0x2e5805,_0x1e9daa,_0xecc653,_0x26eb95,_0xddbf5d,_0x270b8b,_0x2a9fe1,_0x2e918f){var _0x2522fd=_0x285015;super(_0x1beb2b,_0x54229f,_0x3d3596,_0x4f74d0,_0x148e93,_0x26eb95,_0x2a9fe1,_0xecc653,_0x2e918f),N(this,_0x2522fd(0x1e2),'awaiting_with_pending'),N(this,_0x2522fd(0x162),0x0),N(this,_0x2522fd(0x2ec)),N(this,_0x2522fd(0x1a2)),(this[_0x2522fd(0x43c)]=_0x1e9daa,this[_0x2522fd(0x328)]=_0xddbf5d,this['_transformService']=_0x270b8b,this[_0x2522fd(0x27c)]=_0x2e918f,_0x2e5805&&(this[_0x2522fd(0x2ec)]=_0x2e5805,this[_0x2522fd(0x1a2)]=this[_0x2522fd(0x2ec)]['subscribe'](({reqId:_0x1b366f,timeout:_0x59dcad})=>{var _0x3334a4=_0x2522fd;this[_0x3334a4(0x326)](_0x1b366f,_0x59dcad);})));}[_0x285015(0x1cf)](_0x1e7ad2){var _0x3d1f41=_0x285015;return this['_pendingMutations'][_0x3d1f41(0x3ad)](_0x1e7ad2),this;}[_0x285015(0x293)](_0x366c1a){var _0x46b436=_0x285015;if(this[_0x46b436(0x434)](_0x366c1a))return this['_clearScheduledTask'](),this['_injector'][_0x46b436(0x340)](Q,this[_0x46b436(0x21f)],this['type'],this[_0x46b436(0x23c)],this[_0x46b436(0x322)],null,[_0x366c1a],this[_0x46b436(0x327)]);try{const _0x505c49=this[_0x46b436(0x191)][_0x46b436(0x276)]([_0x366c1a],[this['_awaitingChangeset']],!0x1);if(_0x2669af(_0x505c49)){const {c1Prime:_0x4fe673,c2Prime:_0x31bb76}=_0x505c49,_0x3b99df=this[_0x46b436(0x191)]['transformMutationsWithChangeset'](_0x4fe673[0x0],this['_pendingMutations']);if(_0x439c53(_0x3b99df)){const {c1Prime:_0x543515,m2Prime:_0x186e5c}=_0x3b99df;return this[_0x46b436(0x34d)](_0x543515),_0x31bb76[0x0][_0x46b436(0x1e5)]=this[_0x46b436(0x1fc)](),this[_0x46b436(0x259)](),this[_0x46b436(0x43c)][_0x46b436(0x340)](ae,this[_0x46b436(0x21f)],this['type'],_0x31bb76[0x0],_0x186e5c,this[_0x46b436(0x327)],void 0x0);}throw _0x3b99df['error'];}throw _0x505c49['error'];}catch(_0x1f2ecb){return this['_logService'][_0x46b436(0x1ce)](_0x1f2ecb),this['_onConflict'](!0x1);}}[_0x285015(0x19f)](_0x39a51f){var _0x3d026a=_0x285015;if(this[_0x3d026a(0x259)](),this[_0x3d026a(0x434)](_0x39a51f))return this[_0x3d026a(0x43c)][_0x3d026a(0x340)](Q,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x3d026a(0x23c)],[],this[_0x3d026a(0x327)]);this[_0x3d026a(0x373)]();const _0x1b4cb8=this[_0x3d026a(0x43c)]['createInstance'](re,this['unitID'],this['type'],this[_0x3d026a(0x322)],this['_handler']);return _0x1b4cb8[_0x3d026a(0x41a)](),_0x1b4cb8[_0x3d026a(0x290)](),_0x1b4cb8;}[_0x285015(0x2db)](_0x147a04){var _0xb0b234=_0x285015;return this[_0xb0b234(0x35b)](!!(_0x147a04!=null&&_0x147a04['isPermissionRej']));}['onRemoteRetry'](_0x28c521){var _0x1c9035=_0x285015;return this[_0x1c9035(0x162)]>Ii?this['toggleOffline']():(this[_0x1c9035(0x2ec)]=Si(this[_0x1c9035(0x162)],{'timeout':this['_resendTimeout'],'reqId':_0x28c521[_0x1c9035(0x209)]}),this[_0x1c9035(0x1a2)]=this['_resendTimer'][_0x1c9035(0x2bc)](({reqId:_0x27042c,timeout:_0x4f30a8})=>{var _0x25181a=_0x1c9035;this[_0x25181a(0x326)](_0x27042c,_0x4f30a8);}),this);}[_0x285015(0x292)](){var _0x512771=_0x285015;return this[_0x512771(0x259)](),this[_0x512771(0x43c)][_0x512771(0x340)](ue,this[_0x512771(0x21f)],this['type'],this[_0x512771(0x23c)],this[_0x512771(0x322)],this[_0x512771(0x327)]);}[_0x285015(0x279)](){return this;}['resend'](){var _0x19953b=_0x285015;this['_handler'][_0x19953b(0x3b4)](this[_0x19953b(0x23c)]);}['_onConflict'](_0x5077f1){var _0x5e83fa=_0x285015;return this['_clearScheduledTask'](),this[_0x5e83fa(0x43c)]['createInstance'](le,this[_0x5e83fa(0x21f)],this[_0x5e83fa(0x2a3)],null,this[_0x5e83fa(0x322)],this[_0x5e83fa(0x327)],_0x5077f1);}[_0x285015(0x326)](_0x3dd9ed,_0x3a150b){var _0x50b72e=_0x285015,_0x2fd832;_0x3dd9ed===((_0x2fd832=this[_0x50b72e(0x23c)])==null?void 0x0:_0x2fd832['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x3a150b===0x0?0x3e8:_0x3a150b*0x2);}[_0x285015(0x259)](){var _0x4ae487=_0x285015,_0x1701fe;(_0x1701fe=this[_0x4ae487(0x1a2)])==null||_0x1701fe['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x1f8eab(_0x231415)),P(0x7,_0x1f8eab(_0x59a9d0)),P(0x8,_0x3ae5a2),P(0x9,_0xfc8632),P(0xa,_0x549b0b),P(0xb,_0x2017c9),P(0xc,_0x10bde8(J))],ae);let le=class extends Ie{constructor(_0x1f8992,_0x1cf126,_0x7cf7d2,_0x5a1329,_0x25fcb4,_0x595174=!0x1,_0x41fbc4,_0x10ef68,_0x1f217d,_0x2ac1f2,_0x45ed5c,_0x4e0522,_0x4eb55f){var _0x38b7e3=_0x285015;super(_0x1f8992,_0x1cf126,_0x7cf7d2,_0x5a1329,_0x25fcb4,_0x10ef68,_0x1f217d,_0x2ac1f2,_0x4eb55f),N(this,_0x38b7e3(0x1e2),_0x38b7e3(0x1ed)),(this['_isPermissionRej']=_0x595174,this['_permissionService']=_0x41fbc4,this[_0x38b7e3(0x449)]=_0x45ed5c,this[_0x38b7e3(0x2dd)]=_0x4e0522,this['localCacheService']=_0x4eb55f,this[_0x38b7e3(0x3be)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x285015(0x293)](){return this;}[_0x285015(0x19f)](){return this;}[_0x285015(0x2db)](){return this;}[_0x285015(0x2c3)](){return this;}[_0x285015(0x292)](){return this;}['toggleOnline'](){return this;}[_0x285015(0x22f)](){var _0x1a7302=_0x285015;throw new Error(_0x1a7302(0x1f4));}[_0x285015(0x16b)](){var _0x1362ca=_0x285015,_0x4b4a14;(_0x4b4a14=this[_0x1362ca(0x3bd)])==null||_0x4b4a14[_0x1362ca(0x1e8)](this[_0x1362ca(0x21f)],this['type'],null,[]);}['_showConflictNotification'](){var _0x27b27f=_0x285015;this[_0x27b27f(0x2e5)]?this[_0x27b27f(0x2dd)][_0x27b27f(0x28e)]({'id':ne[_0x27b27f(0x2cc)]}):this[_0x27b27f(0x2dd)]['emitEvent']({'id':ne[_0x27b27f(0x33d)]});}[_0x285015(0x40f)](){var _0x9572f0=_0x285015;this[_0x9572f0(0x1e6)]['updatePermissionPoint'](new _0x20d21f(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x1f8eab(_0x249ffe)),P(0x7,_0x3ae5a2),P(0x8,_0x2017c9),P(0x9,_0x1f8eab(_0x59a9d0)),P(0xa,_0x1f8eab(_0x18f0cb)),P(0xb,_0x1f8eab(ve)),P(0xc,_0x10bde8(J))],le);let ue=class extends Ie{constructor(_0xe78bf,_0x105ecf,_0x4a609b,_0x5e00a9,_0x2d28d5,_0x6c6e8f,_0x5d44cd,_0x13a1d8,_0x4acdb7,_0x5d85ad){var _0x53debb=_0x285015;super(_0xe78bf,_0x105ecf,_0x4a609b,_0x5e00a9,_0x2d28d5,_0x13a1d8,_0x4acdb7,_0x5d44cd,_0x5d85ad),N(this,_0x53debb(0x1e2),'offline'),this[_0x53debb(0x43c)]=_0x6c6e8f;}[_0x285015(0x1cf)](_0x426397){var _0x42de97=_0x285015;return this[_0x42de97(0x322)]['push'](_0x426397),this[_0x42de97(0x290)](),this;}['onRemoteChangeset'](_0x5cbff3){var _0xbfe008=_0x285015;throw new Error(_0xbfe008(0x295));}[_0x285015(0x19f)](){var _0x44e313=_0x285015;throw new Error(_0x44e313(0x1a7));}[_0x285015(0x2db)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x285015(0x2c3)](){return this;}[_0x285015(0x292)](){return this;}[_0x285015(0x279)](){var _0x1fce21=_0x285015;const {_injector:_0x594aef,_pendingMutations:_0x25a41e,_awaitingChangeset:_0x5ab5a0,unitID:_0x11303d,_handler:_0x35d716,type:_0x4e89e6}=this,_0x4a7d23=Ti(_0x594aef,_0x11303d,_0x4e89e6,_0x5ab5a0,_0x25a41e,_0x35d716);return _0x4a7d23 instanceof re?_0x4a7d23[_0x1fce21(0x41a)]():(_0x4a7d23 instanceof ae||_0x4a7d23 instanceof _e)&&_0x4a7d23['resend'](),_0x4a7d23;}['resend'](){var _0x392d32=_0x285015;throw new Error(_0x392d32(0x331));}};ue=Ee([P(0x5,_0x1f8eab(_0x231415)),P(0x6,_0x1f8eab(_0x59a9d0)),P(0x7,_0x3ae5a2),P(0x8,_0x2017c9),P(0x9,_0x10bde8(J))],ue);let Q=class extends Ie{constructor(_0xcf892c,_0x6eb191,_0xf49408,_0x4e8729,_0x26697a,_0x515040,_0x3f2370,_0x872333,_0x37e89b,_0x86f38d,_0x5315aa,_0x30f4e9,_0x1f079c,_0x579c51){var _0x4a9481=_0x285015;super(_0xcf892c,_0x6eb191,_0xf49408,_0x4e8729,_0x3f2370,_0x5315aa,_0x30f4e9,_0x37e89b,_0x579c51),N(this,_0x4a9481(0x1e2),'fetch_missing'),(this[_0x4a9481(0x3a8)]=_0x26697a,this['_queuedRemoteChangesets']=_0x515040,this[_0x4a9481(0x43c)]=_0x872333,this['_logService']=_0x86f38d,this[_0x4a9481(0x191)]=_0x1f079c,this[_0x4a9481(0x27c)]=_0x579c51);}[_0x285015(0x321)](_0x29fb98){var _0x4f472d=_0x285015;try{const _0x54edd4=[..._0x29fb98,...this[_0x4f472d(0x226)]],_0x428a5a=[this[_0x4f472d(0x23c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x5a62b5=>!!_0x5a62b5);let _0xf88331,_0x413101;if(_0x428a5a[_0x4f472d(0x305)]){const _0x3a4ff8=this[_0x4f472d(0x191)][_0x4f472d(0x276)](_0x54edd4,_0x428a5a,!0x1);if(!_0x2669af(_0x3a4ff8))throw _0x3a4ff8[_0x4f472d(0x1ce)];_0xf88331=_0x3a4ff8[_0x4f472d(0x261)],_0x413101=_0x3a4ff8['c2Prime'];}else _0xf88331=_0x54edd4,_0x413101=[];let _0x562e6f=this[_0x4f472d(0x322)];_0xf88331[_0x4f472d(0x401)](_0x84ea1b=>{var _0x40c10d=_0x4f472d;let _0x19f797;if(_0x562e6f[_0x40c10d(0x305)]){const _0x1e8458=this[_0x40c10d(0x191)]['transformMutationsWithChangeset'](_0x84ea1b,_0x562e6f);if(!_0x439c53(_0x1e8458))throw _0x1e8458[_0x40c10d(0x1ce)];_0x19f797=_0x1e8458[_0x40c10d(0x261)],_0x562e6f=_0x1e8458['m2Prime'];}else _0x19f797=_0x84ea1b;this['_executeRemoteChangeset'](_0x19f797);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x413101[_0x4f472d(0x305)]&&(_0x413101[0x0][_0x4f472d(0x1e5)]=this['_getCurrentRevision']());let _0x3f94dc;if(this[_0x4f472d(0x23c)]&&_0x562e6f[_0x4f472d(0x305)]!==0x0)_0x3f94dc=this[_0x4f472d(0x43c)][_0x4f472d(0x340)](ae,this['unitID'],this[_0x4f472d(0x2a3)],_0x413101[0x0],_0x562e6f,this[_0x4f472d(0x327)],void 0x0);else{if(this[_0x4f472d(0x23c)]&&_0x562e6f[_0x4f472d(0x305)]===0x0)_0x413101[0x0][_0x4f472d(0x1e5)]=this['_getCurrentRevision'](),_0x3f94dc=this[_0x4f472d(0x43c)][_0x4f472d(0x340)](_e,this['unitID'],this[_0x4f472d(0x2a3)],_0x413101[0x0],this['_handler']);else{if(_0x562e6f[_0x4f472d(0x305)]!==0x0){const _0x69eb45=this[_0x4f472d(0x43c)][_0x4f472d(0x340)](re,this[_0x4f472d(0x21f)],this[_0x4f472d(0x2a3)],_0x562e6f,this[_0x4f472d(0x327)]);_0x69eb45[_0x4f472d(0x41a)](),_0x3f94dc=_0x69eb45;}else _0x3f94dc=this[_0x4f472d(0x43c)][_0x4f472d(0x340)](ye,this['unitID'],this[_0x4f472d(0x2a3)],this[_0x4f472d(0x327)]);}}return _0x3f94dc[_0x4f472d(0x290)](),_0x3f94dc;}catch(_0x2d3bd0){return this[_0x4f472d(0x328)]['error'](_0x4f472d(0x1ba),_0x4f472d(0x3bb),_0x2d3bd0),this[_0x4f472d(0x43c)][_0x4f472d(0x340)](le,this[_0x4f472d(0x21f)],this[_0x4f472d(0x2a3)],this[_0x4f472d(0x23c)],this[_0x4f472d(0x322)],this[_0x4f472d(0x327)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x272319){var _0x16a409=_0x285015;return this[_0x16a409(0x322)][_0x16a409(0x3ad)](_0x272319),this;}[_0x285015(0x293)](_0x420094){var _0x21d101=_0x285015;return this[_0x21d101(0x226)][_0x21d101(0x3ad)](_0x420094),this;}[_0x285015(0x19f)](_0x16a4ba){var _0x463e5e=_0x285015;if(this[_0x463e5e(0x23c)])return this['_acknowledgedAwaitingChangeset']=this[_0x463e5e(0x23c)],this[_0x463e5e(0x23c)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x23c9ea){var _0x1d0b68=_0x285015;return this[_0x1d0b68(0x35b)](!!(_0x23c9ea!=null&&_0x23c9ea[_0x1d0b68(0x1f8)]));}[_0x285015(0x2c3)](){return this;}['toggleOffline'](){var _0x4db101=_0x285015;return this[_0x4db101(0x43c)][_0x4db101(0x340)](ue,this[_0x4db101(0x21f)],this['type'],this[_0x4db101(0x23c)],this[_0x4db101(0x322)],this[_0x4db101(0x327)]);}['toggleOnline'](){return this;}[_0x285015(0x35b)](_0x289181){var _0x544d56=_0x285015;return this['_injector'][_0x544d56(0x340)](le,this[_0x544d56(0x21f)],this[_0x544d56(0x2a3)],this[_0x544d56(0x23c)],this['_pendingMutations'],this[_0x544d56(0x327)],_0x289181);}};Q=Ee([P(0x7,_0x1f8eab(_0x231415)),P(0x8,_0x1f8eab(_0x59a9d0)),P(0x9,_0xfc8632),P(0xa,_0x3ae5a2),P(0xb,_0x2017c9),P(0xc,_0x549b0b),P(0xd,_0x10bde8(J))],Q);function Ti(_0x35d139,_0x2d0986,_0xd8f77c,_0xf74ba3,_0x470be3,_0x58d68e){var _0x3559ba=_0x285015;return _0xf74ba3&&_0x470be3[_0x3559ba(0x305)]?_0x35d139['createInstance'](ae,_0x2d0986,_0xd8f77c,_0xf74ba3,_0x470be3,_0x58d68e,void 0x0):_0xf74ba3?_0x35d139[_0x3559ba(0x340)](_e,_0x2d0986,_0xd8f77c,_0xf74ba3,_0x58d68e):_0x470be3[_0x3559ba(0x305)]?_0x35d139[_0x3559ba(0x340)](re,_0x2d0986,_0xd8f77c,_0x470be3,_0x58d68e):_0x35d139['createInstance'](ye,_0x2d0986,_0xd8f77c,_0x58d68e);}var Bs=Object[_0x285015(0x310)],wt=(_0x235c57,_0x1319ac,_0x4adf32,_0x45e422)=>{for(var _0xd496cb=_0x45e422>0x1?void 0x0:_0x45e422?Bs(_0x1319ac,_0x4adf32):_0x1319ac,_0x433c45=_0x235c57['length']-0x1,_0x51403d;_0x433c45>=0x0;_0x433c45--)(_0x51403d=_0x235c57[_0x433c45])&&(_0xd496cb=_0x51403d(_0xd496cb)||_0xd496cb);return _0xd496cb;},H=(_0x55a3eb,_0xa78258)=>(_0x274397,_0x28a4fc)=>_0xa78258(_0x274397,_0x28a4fc,_0x55a3eb);let st=class extends _0x1f8cdd{constructor(_0x495d49,_0x1ec35e,_0x188893,_0x23ccdd,_0x228721,_0xc84f11,_0x594a85,_0x45bf25,_0x3b9e06,_0xe54602,_0x571853,_0x4088ee,_0x1db480){var _0x866062=_0x285015;super(),N(this,_0x866062(0x1fe),new _0x229484(null)),N(this,_0x866062(0x1b5),this[_0x866062(0x1fe)][_0x866062(0x447)]()),N(this,_0x866062(0x42f)),N(this,'_collaborationPaused',!0x1),N(this,_0x866062(0x446),''),N(this,_0x866062(0x2c8),0x0),N(this,_0x866062(0x348),this['state$']['pipe'](_0x3e7787(_0x349b31=>_0x349b31?_0x349b31[_0x866062(0x1e2)]:Ei[_0x866062(0x19b)]),_0x8c8e(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x495d49,this[_0x866062(0x2bd)]=_0x1ec35e,this[_0x866062(0x2d6)]=_0x188893,this[_0x866062(0x43c)]=_0x23ccdd,this['_compressMutationService']=_0x228721,this['_localeService']=_0xc84f11,this['_revisionService']=_0x594a85,this[_0x866062(0x221)]=_0x45bf25,this[_0x866062(0x328)]=_0x3b9e06,this[_0x866062(0x1b4)]=_0xe54602,this['_permissionService']=_0x571853,this[_0x866062(0x436)]=_0x4088ee,this['_localCacheService']=_0x1db480);}get[_0x285015(0x25a)](){var _0x4bc7a6=_0x285015;return this[_0x4bc7a6(0x42f)];}async['init'](){var _0x4a8e63=_0x285015;if(this[_0x4a8e63(0x25a)])throw new Error(_0x4a8e63(0x319));await this[_0x4a8e63(0x2d5)]();}[_0x285015(0x344)](){return this['_collaborationPaused']=!0x0,_0xe655bf(()=>{var _0x3f8bf7=_0x32e5;this[_0x3f8bf7(0x1dc)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x30fc14){var _0x47f9b5=_0x285015;this[_0x47f9b5(0x156)](_0x30fc14);}['_updateState'](_0x4c0621){var _0x5bdeca=_0x285015;this[_0x5bdeca(0x42f)]=_0x4c0621,this[_0x5bdeca(0x1fe)][_0x5bdeca(0x26b)](_0x4c0621);}async[_0x285015(0x2d5)](){var _0x11c6ed=_0x285015,_0x4e2a84;this[_0x11c6ed(0x3e9)](await this[_0x11c6ed(0x411)]()),this[_0x11c6ed(0x436)]&&((_0x4e2a84=this[_0x11c6ed(0x436)])==null||_0x4e2a84[_0x11c6ed(0x215)](this[_0x11c6ed(0x21f)]),this[_0x11c6ed(0x314)](this[_0x11c6ed(0x436)][_0x11c6ed(0x18a)](this[_0x11c6ed(0x21f)])['subscribe'](_0x5d0df2=>{var _0x14f6e6=_0x11c6ed;this[_0x14f6e6(0x328)][_0x14f6e6(0x183)]('[CollaborationEntity]',_0x14f6e6(0x232),_0x5d0df2),_0x5d0df2===gi['OTHER_CLIENTS_EDITING']?(this[_0x14f6e6(0x221)][_0x14f6e6(0x28e)]({'id':ne[_0x14f6e6(0x24a)]}),this[_0x14f6e6(0x1e6)][_0x14f6e6(0x23a)](new _0x20d21f(this[_0x14f6e6(0x21f)])['id'],!0x1),this[_0x14f6e6(0x1e6)]['setShowComponents'](!0x1)):(this[_0x14f6e6(0x1e6)][_0x14f6e6(0x23a)](new _0x20d21f(this[_0x14f6e6(0x21f)])['id'],!0x0),this[_0x14f6e6(0x1e6)][_0x14f6e6(0x3c9)](!0x0));})));let _0x3bdc7d=!0x1;return this['disposeWithMe'](this[_0x11c6ed(0x2bd)]['sessionStatus$'][_0x11c6ed(0x2bc)](_0x429bbd=>{var _0x3a2e80=_0x11c6ed;_0x429bbd===ge[_0x3a2e80(0x44e)]?this['_toggleOnline'](_0x3bdc7d):_0x429bbd===ge[_0x3a2e80(0x19b)]&&(_0x3bdc7d=!0x0,this['_toggleOffline']());})),this[_0x11c6ed(0x314)](this[_0x11c6ed(0x2bd)][_0x11c6ed(0x3ba)][_0x11c6ed(0x2bc)](_0x60abd8=>{var _0x349cda=_0x11c6ed;try{switch(_0x60abd8['eventID']){case _0x2a645f[_0x349cda(0x30f)]:{this[_0x349cda(0x1df)](_0x1fcd89(_0x60abd8[_0x349cda(0x288)]));break;}case _0x2a645f[_0x349cda(0x236)]:{this[_0x349cda(0x3c1)](_0x60abd8['data']);break;}case _0x2a645f[_0x349cda(0x255)]:{this[_0x349cda(0x233)]();break;}case _0x2a645f[_0x349cda(0x2a6)]:{this['_onRemoteRetry'](_0x60abd8[_0x349cda(0x288)]);break;}case _0x2a645f[_0x349cda(0x400)]:{this['_onFetchMissResult'](_0x60abd8['data'][_0x349cda(0x2c9)][_0x349cda(0x3e6)](_0x23bd5d=>_0x1fcd89(_0x23bd5d)));break;}case _0x2a645f[_0x349cda(0x3f4)]:{this[_0x349cda(0x233)]({'isPermissionRej':!0x0});break;}case _0x2a645f[_0x349cda(0x369)]:break;}}catch(_0x41a09d){throw console[_0x349cda(0x1ce)](_0x349cda(0x168),_0x41a09d),_0x41a09d;}})),this['_state'];}['_unlockTransition'](){var _0xd876bf=_0x285015;this[_0xd876bf(0x451)]=!0x1;}[_0x285015(0x3dd)](){var _0x538f99=_0x285015;if(this[_0x538f99(0x451)])throw new Error(_0x538f99(0x354));this['_transitionLocked']=!0x0;}[_0x285015(0x156)](_0x3e2bf9){var _0x2d9843=_0x285015;this[_0x2d9843(0x3dd)](),this['_updateState'](this['_state'][_0x2d9843(0x1cf)](_0x3e2bf9)),this['_unlockTransition']();}[_0x285015(0x1df)](_0x946d68){var _0x1c0d75=_0x285015;if(!(_0x946d68[_0x1c0d75(0x35d)]<=this['_revisionService'][_0x1c0d75(0x307)](this[_0x1c0d75(0x21f)]))){if(this[_0x1c0d75(0x1dc)]){this[_0x1c0d75(0x222)][_0x1c0d75(0x3ad)](_0x946d68);return;}this[_0x1c0d75(0x333)](_0x946d68);}}['_exhaustRemoteChangesetQueue'](){var _0x4d560a=_0x285015;this[_0x4d560a(0x222)][_0x4d560a(0x401)](_0x5271f6=>this[_0x4d560a(0x333)](_0x5271f6)),this[_0x4d560a(0x222)]=[];}[_0x285015(0x333)](_0x5c0bbf){var _0x426381=_0x285015;const _0x5c390b=this['_compressMutationService'][_0x426381(0x404)]['fetchThroughInterceptors'](this[_0x426381(0x1ca)][_0x426381(0x404)][_0x426381(0x377)]()[_0x426381(0x1d3)])(_0x5c0bbf[_0x426381(0x202)],null)||_0x5c0bbf[_0x426381(0x202)],_0x1ada16={..._0x5c0bbf,'mutations':_0x5c390b};this['_lockTransition'](),this[_0x426381(0x3e9)](this[_0x426381(0x42f)][_0x426381(0x293)](_0x1ada16)),this['_unlockTransition']();}[_0x285015(0x3c1)](_0x51d173){var _0xc8836b=_0x285015;this['_lockTransition'](),this[_0xc8836b(0x3e9)](this['_state']['onRemoteAck'](_0x51d173)),this[_0xc8836b(0x29b)]();}[_0x285015(0x233)](_0x545b3b){var _0x2092e0=_0x285015;this[_0x2092e0(0x3dd)](),this[_0x2092e0(0x3e9)](this[_0x2092e0(0x42f)]['onRemoteRej'](_0x545b3b)),this[_0x2092e0(0x29b)]();}[_0x285015(0x1a0)](_0x1e2a9d){var _0x1ea439=_0x285015;this[_0x1ea439(0x3dd)](),this[_0x1ea439(0x3e9)](this['_state']['onRemoteRetry'](_0x1e2a9d)),this['_unlockTransition']();}[_0x285015(0x3de)](_0x2a0b72){var _0x52f689=_0x285015;if(!(this[_0x52f689(0x42f)]instanceof Q))throw new TypeError(_0x52f689(0x3c4));const _0x4b0dfa=_0x2a0b72[_0x52f689(0x3e6)](_0xdcd431=>{var _0x4c8e37=_0x52f689;const _0x597ee5=this['_compressMutationService'][_0x4c8e37(0x404)][_0x4c8e37(0x182)](this['_compressMutationService'][_0x4c8e37(0x404)][_0x4c8e37(0x377)]()[_0x4c8e37(0x1d3)])(_0xdcd431['mutations'],null)||_0xdcd431[_0x4c8e37(0x202)];return{..._0xdcd431,'mutations':_0x597ee5};});this[_0x52f689(0x3dd)](),this[_0x52f689(0x3e9)](this[_0x52f689(0x42f)][_0x52f689(0x321)](_0x4b0dfa)),this[_0x52f689(0x29b)]();}[_0x285015(0x1fd)](){var _0xd7ece2=_0x285015;this['_lockTransition'](),this[_0xd7ece2(0x3e9)](this[_0xd7ece2(0x42f)]['toggleOffline']()),this[_0xd7ece2(0x29b)]();}[_0x285015(0x2ac)](_0x46293e=!0x1){var _0x5d16d5=_0x285015;this[_0x5d16d5(0x3dd)](),this['_updateState'](this[_0x5d16d5(0x42f)][_0x5d16d5(0x279)]()),this[_0x5d16d5(0x29b)]();const _0x4b10cb=this[_0x5d16d5(0x42f)];_0x46293e&&_0x4b10cb instanceof ye&&(this['_lockTransition'](),this[_0x5d16d5(0x3e9)](_0x4b10cb[_0x5d16d5(0x212)]()),this[_0x5d16d5(0x29b)]());}async[_0x285015(0x411)](){return new Promise(_0x44be4f=>{var _0x4c6542=_0x32e5;this['session'][_0x4c6542(0x1cd)][_0x4c6542(0x38f)](_0x4f1414(0x1))[_0x4c6542(0x2bc)](async _0x16489d=>{var _0x486476=_0x4c6542;_0x44be4f(await this['_createInitialStateImpl'](_0x16489d===ge[_0x486476(0x44e)]));});});}[_0x285015(0x20a)](){var _0x4fae65=_0x285015;const _0x536b3b=this[_0x4fae65(0x21f)];return{'onStateChange':(_0x2d60f3,_0x190859)=>{var _0x2ffda8=_0x4fae65;if(_0x2d60f3!==this['_state'])throw new Error(_0x2ffda8(0x189)+_0x2d60f3[_0x2ffda8(0x1e2)]+_0x2ffda8(0x2b2)+_0x190859['status']+'\x0aCurrent:\x20'+this[_0x2ffda8(0x42f)]['status']);this[_0x2ffda8(0x3e9)](_0x190859);},'onSendChangeset':_0x74655=>{var _0x3da249=_0x4fae65;_0x74655[_0x3da249(0x246)]||(_0x74655[_0x3da249(0x246)]=this[_0x3da249(0x446)],_0x74655['reqId']=++this['_changesetReqId']);const _0x105499={'eventID':_0x2a645f[_0x3da249(0x2b0)],'data':{'unitID':_0x74655['unitID'],'unitType':this[_0x3da249(0x2d6)],'changeset':_0x74655,'memberID':this[_0x3da249(0x2bd)][_0x3da249(0x24b)]()}};this[_0x3da249(0x2bd)][_0x3da249(0x3b0)](_0x105499,this[_0x3da249(0x21f)]);},'onMissingChangesets':({from:_0x1a7dda,to:_0x5b27e4})=>{var _0x54342c=_0x4fae65;this[_0x54342c(0x328)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1a7dda+_0x54342c(0x362)+_0x5b27e4);const _0x2d6b1d={'eventID':_0x2a645f[_0x54342c(0x39e)],'data':{'unitID':_0x536b3b,'unitType':this[_0x54342c(0x2d6)],'from':_0x1a7dda,'to':_0x5b27e4}};this[_0x54342c(0x2bd)][_0x54342c(0x3b0)](_0x2d6b1d,this[_0x54342c(0x21f)]);}};}async[_0x285015(0x2a8)](_0x182a9d){var _0x2ccac7=_0x285015,_0x213609,_0x52c8f5,_0x227b59;const _0x2ec1af=await((_0x213609=this[_0x2ccac7(0x3bd)])==null?void 0x0:_0x213609[_0x2ccac7(0x1b7)](this[_0x2ccac7(0x21f)])),_0x41bb6b=(_0x52c8f5=_0x2ec1af==null?void 0x0:_0x2ec1af['mutations'])!=null?_0x52c8f5:[],_0x2dd04f=(_0x227b59=_0x2ec1af==null?void 0x0:_0x2ec1af[_0x2ccac7(0x409)])!=null?_0x227b59:null,_0x2dd82b=!!(_0x2dd04f!=null&&_0x2dd04f[_0x2ccac7(0x246)])&&!!(_0x2dd04f!=null&&_0x2dd04f['reqId']);this[_0x2ccac7(0x446)]=_0x2dd82b?_0x2dd04f[_0x2ccac7(0x246)]:_0x58a4d4(),this[_0x2ccac7(0x2c8)]=_0x2dd82b?_0x2dd04f[_0x2ccac7(0x209)]:0x0;const _0x299a28=this[_0x2ccac7(0x21f)];try{this[_0x2ccac7(0x379)](_0x2dd04f,_0x41bb6b);}catch(_0x4ca711){this[_0x2ccac7(0x328)][_0x2ccac7(0x1ce)](_0x4ca711);}const _0x61f90=this[_0x2ccac7(0x20a)]();if(_0x182a9d){const _0x38914d=Ti(this['_injector'],_0x299a28,this[_0x2ccac7(0x2d6)],_0x2dd04f,_0x41bb6b,_0x61f90);return _0x38914d instanceof re?_0x38914d['_schedule']():(_0x38914d instanceof ae||_0x38914d instanceof _e)&&_0x38914d['resend'](),_0x38914d;}return this['_injector']['createInstance'](ue,_0x299a28,this[_0x2ccac7(0x2d6)],_0x2dd04f,_0x41bb6b,_0x61f90);}['_replayCachedMutations'](_0x5e857a,_0x1cad07){var _0x550d4b=_0x285015,_0x4ad853,_0x21b7eb;const _0x530cab=this[_0x550d4b(0x1ca)][_0x550d4b(0x404)][_0x550d4b(0x182)](this[_0x550d4b(0x1ca)][_0x550d4b(0x404)][_0x550d4b(0x377)]()[_0x550d4b(0x1d3)]);(_0x4ad853=_0x530cab((_0x5e857a==null?void 0x0:_0x5e857a['mutations'])||[],null))==null||_0x4ad853['forEach'](_0x119f21=>this['_commandService'][_0x550d4b(0x312)](_0x119f21['id'],_0x119f21[_0x550d4b(0x1e9)])),(_0x21b7eb=_0x530cab(_0x1cad07||[],null))==null||_0x21b7eb[_0x550d4b(0x401)](_0xf67ccf=>this[_0x550d4b(0x1b4)][_0x550d4b(0x312)](_0xf67ccf['id'],_0xf67ccf['params']));}};st=wt([H(0x3,_0x1f8eab(_0x231415)),H(0x4,_0x1f8eab(_0x3f1cc2)),H(0x5,_0x1f8eab(_0x18f0cb)),H(0x6,_0x1f8eab(_0x59a9d0)),H(0x7,_0x1f8eab(ve)),H(0x8,_0xfc8632),H(0x9,_0x3ae5a2),H(0xa,_0x249ffe),H(0xb,_0x10bde8(ht)),H(0xc,_0x10bde8(J))],st);let St=class extends st{constructor(_0x4adc0a,_0x5874bb,_0x368f3b,_0x3e5fc0,_0x430032,_0x55f638,_0x531c19,_0xb2c9b9,_0x12b38a,_0x2111b3,_0x7b8685,_0x21a920,_0x5a15c8){var _0x218c0e=_0x285015;super(_0x4adc0a,_0x368f3b,_0x5874bb,_0x3e5fc0,_0x430032,_0x55f638,_0x531c19,_0xb2c9b9,_0x12b38a,_0x2111b3,_0x7b8685,_0x21a920,_0x5a15c8),N(this,_0x218c0e(0x2fc),null),(this['unitID']=_0x4adc0a,this[_0x218c0e(0x2a3)]=_0x5874bb);}['addHandlerCallback'](_0x5d7a13){var _0x1298fb=_0x285015;this[_0x1298fb(0x2fc)]=_0x5d7a13;}['dispose'](){var _0x37a85c=_0x285015;this[_0x37a85c(0x2fc)]=null,super[_0x37a85c(0x320)]();}[_0x285015(0x20a)](){var _0x428724=_0x285015;const _0x56ad02=super[_0x428724(0x20a)]();return _0x56ad02[_0x428724(0x18d)]=_0x4cf910=>{var _0x32a0b6=_0x428724,_0x5b2895,_0x5b3535;return(_0x5b3535=(_0x5b2895=this[_0x32a0b6(0x2fc)])==null?void 0x0:_0x5b2895['onTransformIME'])==null?void 0x0:_0x5b3535['call'](_0x5b2895,_0x4cf910);},_0x56ad02[_0x428724(0x341)]=_0x25f64e=>{var _0x400037=_0x428724,_0x5e1656,_0x107ee3;return(_0x107ee3=(_0x5e1656=this[_0x400037(0x2fc)])==null?void 0x0:_0x5e1656['onTransformState'])==null?void 0x0:_0x107ee3[_0x400037(0x3f7)](_0x5e1656,_0x25f64e);},_0x56ad02['onTransformSelections']=_0x59b5e5=>{var _0x957b71=_0x428724,_0x381809,_0x179e3d;return(_0x179e3d=(_0x381809=this[_0x957b71(0x2fc)])==null?void 0x0:_0x381809[_0x957b71(0x3a3)])==null?void 0x0:_0x179e3d['call'](_0x381809,_0x59b5e5);},_0x56ad02[_0x428724(0x27d)]=_0x938728=>{var _0x375ac3=_0x428724,_0x574dd0,_0x405b5f;return(_0x405b5f=(_0x574dd0=this[_0x375ac3(0x2fc)])==null?void 0x0:_0x574dd0[_0x375ac3(0x27d)])==null?void 0x0:_0x405b5f[_0x375ac3(0x3f7)](_0x574dd0,_0x938728);},_0x56ad02[_0x428724(0x3d3)]=_0x1f104b=>{var _0x26eff4=_0x428724,_0x148ddc,_0x51a630,_0x15998d;if(!((_0x148ddc=this[_0x26eff4(0x2fc)])!=null&&_0x148ddc['onTransformRemoteChangesetByIMECache']))throw new Error(_0x26eff4(0x2af));return(_0x15998d=(_0x51a630=this[_0x26eff4(0x2fc)])==null?void 0x0:_0x51a630[_0x26eff4(0x3d3)])==null?void 0x0:_0x15998d[_0x26eff4(0x3f7)](_0x51a630,_0x1f104b);},_0x56ad02[_0x428724(0x428)]=_0x42015f=>{var _0x2e0ef7=_0x428724,_0x1148e8,_0x5a3723,_0xaf1354;if(!((_0x1148e8=this[_0x2e0ef7(0x2fc)])!=null&&_0x1148e8[_0x2e0ef7(0x428)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xaf1354=(_0x5a3723=this[_0x2e0ef7(0x2fc)])==null?void 0x0:_0x5a3723[_0x2e0ef7(0x428)])==null?void 0x0:_0xaf1354['call'](_0x5a3723,_0x42015f);},_0x56ad02;}async[_0x285015(0x2d5)](){var _0x556ab7=_0x285015;const _0x11f1ce=await super[_0x556ab7(0x2d5)]();return this['disposeWithMe'](this['_commandService'][_0x556ab7(0x1b2)]((_0x551b14,_0x1ac93f)=>{var _0x1f4f39=_0x556ab7;if(_0x551b14['type']!==_0x39e9ac[_0x1f4f39(0x297)]||_0x1ac93f!=null&&_0x1ac93f[_0x1f4f39(0x445)]||_0x1ac93f!=null&&_0x1ac93f[_0x1f4f39(0x1da)]||_0x551b14['id']===_0x64c533['id'])return;const _0x38402d=_0x551b14[_0x1f4f39(0x1e9)];if((_0x38402d==null?void 0x0:_0x38402d[_0x1f4f39(0x339)])!==this[_0x1f4f39(0x21f)])return;const _0x3477d7=_0x551b14,_0x59a6e9=this[_0x1f4f39(0x1ca)]['interceptor'][_0x1f4f39(0x182)](this['_compressMutationService'][_0x1f4f39(0x404)][_0x1f4f39(0x377)]()[_0x1f4f39(0x2fb)])([_0x3477d7],null)||[_0x3477d7];this['_onLocalMutation'](_0x59a6e9[0x0]);})),_0x11f1ce;}};St=wt([H(0x3,_0x1f8eab(_0x231415)),H(0x4,_0x1f8eab(_0x3f1cc2)),H(0x5,_0x1f8eab(_0x18f0cb)),H(0x6,_0x1f8eab(_0x59a9d0)),H(0x7,_0x1f8eab(ve)),H(0x8,_0xfc8632),H(0x9,_0x3ae5a2),H(0xa,_0x249ffe),H(0xb,_0x10bde8(ht)),H(0xc,_0x10bde8(J))],St);let Et=class extends st{constructor(_0x2f62b3,_0x17cb66,_0x5f15e7,_0x4747d1,_0x4d1014,_0x3c120c,_0x31c290,_0x29d2e0,_0x10dbbf,_0x57d258,_0xac477a,_0x28c944,_0x177322,_0x45fd82){var _0x16f332=_0x285015;super(_0x2f62b3,_0x5f15e7,_0x17cb66,_0x4747d1,_0x4d1014,_0x3c120c,_0x31c290,_0x10dbbf,_0x57d258,_0xac477a,_0x28c944,_0x177322,_0x45fd82),this['unitID']=_0x2f62b3,this[_0x16f332(0x2a3)]=_0x17cb66,this[_0x16f332(0x303)]=_0x29d2e0;}[_0x285015(0x20a)](){var _0x119675=_0x285015;const _0x29dbbe=super[_0x119675(0x20a)]();return _0x29dbbe[_0x119675(0x3a3)]=_0x4bf323=>this[_0x119675(0x303)][_0x119675(0x1dd)](_0x4bf323),_0x29dbbe;}async[_0x285015(0x2d5)](){var _0x1653c3=_0x285015;const _0x21172c=await super[_0x1653c3(0x2d5)]();return this[_0x1653c3(0x314)](this[_0x1653c3(0x1b4)][_0x1653c3(0x1b2)]((_0x54917e,_0x3bd551)=>{var _0x4b2e2d=_0x1653c3;if(_0x54917e[_0x4b2e2d(0x2a3)]!==_0x39e9ac[_0x4b2e2d(0x297)]||_0x3bd551!=null&&_0x3bd551[_0x4b2e2d(0x445)]||_0x3bd551!=null&&_0x3bd551[_0x4b2e2d(0x1da)])return;const _0x3a9f0c=_0x54917e[_0x4b2e2d(0x1e9)];if((_0x3a9f0c==null?void 0x0:_0x3a9f0c[_0x4b2e2d(0x339)])!==this[_0x4b2e2d(0x21f)])return;const _0x23d998=_0x54917e,_0x29e79c=this[_0x4b2e2d(0x1ca)][_0x4b2e2d(0x404)][_0x4b2e2d(0x182)](this[_0x4b2e2d(0x1ca)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x23d998],null)||[_0x23d998];this['_onLocalMutation'](_0x29e79c[0x0]);})),_0x21172c;}};Et=wt([H(0x3,_0x1f8eab(_0x231415)),H(0x4,_0x1f8eab(_0x3f1cc2)),H(0x5,_0x1f8eab(_0x18f0cb)),H(0x6,_0x1f8eab(_0x59a9d0)),H(0x7,_0x1f8eab(it)),H(0x8,_0x1f8eab(ve)),H(0x9,_0xfc8632),H(0xa,_0x3ae5a2),H(0xb,_0x249ffe),H(0xc,_0x10bde8(ht)),H(0xd,_0x10bde8(J))],Et);const js=_0x24f86a(_0x285015(0x3f5));function Fs(_0x2b27a2){var _0x13308d=_0x285015,_0x1831da,_0x30d0dc,_0x28686b,_0x2faea8,_0x25950f;const _0x4ee86c=_0x2b27a2[_0x13308d(0x288)],_0x42c969=JSON[_0x13308d(0x26d)](_0x4ee86c);switch(_0x42c969[_0x13308d(0x35e)]){case F['HEARTBEAT']:case F[_0x13308d(0x228)]:{const _0x34e822=_0x42c969['infoRsp'];return{..._0x42c969,'data':_0x34e822,'cmd':_0x42c969['cmd']};}case F[_0x13308d(0x1eb)]:{const _0x59ce06=_0x42c969[_0x13308d(0x1af)];return{..._0x42c969,'data':_0x59ce06,'cmd':_0x42c969[_0x13308d(0x35e)]};}case F[_0x13308d(0x291)]:{const _0x1ff114=_0x42c969['collaMsg'];switch(_0x1ff114['eventID']){case _0x2a645f[_0x13308d(0x3f4)]:return{..._0x42c969,'data':{..._0x1ff114,'data':(_0x1831da=_0x1ff114['permissionRejEvent'])==null?void 0x0:_0x1831da['cs']},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x236)]:return{..._0x42c969,'data':{..._0x1ff114,'data':(_0x30d0dc=_0x1ff114['csAckEvent'])==null?void 0x0:_0x30d0dc['cs']},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x30f)]:return{..._0x42c969,'data':{..._0x1ff114,'data':(_0x28686b=_0x1ff114['newCsEvent'])==null?void 0x0:_0x28686b['cs']},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x255)]:return{..._0x42c969,'data':{..._0x1ff114,'data':(_0x2faea8=_0x1ff114[_0x13308d(0x3b6)])==null?void 0x0:_0x2faea8['cs']},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x2a6)]:return{..._0x42c969,'data':{..._0x1ff114,'data':(_0x25950f=_0x1ff114[_0x13308d(0x3b8)])==null?void 0x0:_0x25950f['cs']},'cmd':_0x42c969['cmd']};case _0x2a645f[_0x13308d(0x25e)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x3a4)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f['USERS_ENTER']:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x15d)]},'cmd':_0x42c969['cmd']};case _0x2a645f[_0x13308d(0x1a4)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x1c4)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x3c6)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x2de)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f['LIVESHARE_FETCH_OPERATIONS']:case _0x2a645f['LIVESHARE_OPERATION']:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x332)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x188)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114['liveShareNewHost']},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f['MSG_FOR_ERROR']:return{..._0x42c969,'data':_0x1ff114,'cmd':_0x42c969['cmd']};case _0x2a645f[_0x13308d(0x267)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x225)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f['UPDATE_PERMISSION_OBJ']:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x213)]},'cmd':_0x42c969[_0x13308d(0x35e)]};case _0x2a645f[_0x13308d(0x170)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114[_0x13308d(0x41f)]},'cmd':_0x42c969['cmd']};case _0x2a645f[_0x13308d(0x369)]:return{..._0x42c969,'data':{..._0x1ff114,'data':_0x1ff114['uniscriptRunEvent']},'cmd':_0x42c969['cmd']};default:return _0x42c969;}}default:return _0x42c969;}}function Vs(_0x4d7a26){var _0x3caf22=_0x285015;switch(_0x4d7a26[_0x3caf22(0x35e)]){case F[_0x3caf22(0x35a)]:case F[_0x3caf22(0x228)]:return JSON[_0x3caf22(0x24e)]({'cmd':_0x4d7a26['cmd'],'routeKey':_0x4d7a26[_0x3caf22(0x235)]});case F[_0x3caf22(0x42d)]:{let _0x457247;switch(_0x4d7a26[_0x3caf22(0x288)][_0x3caf22(0x25b)]){case _0x2a645f[_0x3caf22(0x25e)]:{_0x457247={'eventID':_0x2a645f['UPDATE_CURSOR'],'updateCursorEvent':_0x4d7a26['data'][_0x3caf22(0x288)]};break;}case _0x2a645f[_0x3caf22(0x1a4)]:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x1a4)],'leaveEvent':_0x4d7a26[_0x3caf22(0x288)][_0x3caf22(0x288)]};break;}case _0x2a645f[_0x3caf22(0x383)]:{_0x457247={'eventID':_0x2a645f['USERS_ENTER'],'joinEvent':_0x4d7a26[_0x3caf22(0x288)][_0x3caf22(0x288)]};break;}case _0x2a645f[_0x3caf22(0x3c6)]:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x3c6)],'liveShareNewHost':_0x4d7a26[_0x3caf22(0x288)][_0x3caf22(0x288)]};break;}case _0x2a645f[_0x3caf22(0x399)]:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x399)],'liveShareOperation':_0x4d7a26[_0x3caf22(0x288)][_0x3caf22(0x288)]};break;}case _0x2a645f['LIVESHARE_TERMINATE']:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x188)],'liveShareTerminate':_0x4d7a26['data'][_0x3caf22(0x288)]};break;}case _0x2a645f[_0x3caf22(0x1c0)]:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x1c0)],'liveShareRequestHost':_0x4d7a26[_0x3caf22(0x288)]['data']};break;}case _0x2a645f[_0x3caf22(0x2c2)]:{_0x457247={'eventID':_0x2a645f[_0x3caf22(0x2c2)]};break;}default:_0x457247={'eventID':_0x4d7a26['data']['eventID']};}return JSON[_0x3caf22(0x24e)]({'cmd':_0x4d7a26['cmd'],'routeKey':_0x4d7a26[_0x3caf22(0x235)],'collaMsg':_0x457247});}case F[_0x3caf22(0x1eb)]:return JSON['stringify']({'cmd':_0x4d7a26[_0x3caf22(0x35e)],'routeKey':_0x4d7a26[_0x3caf22(0x235)],'joinReq':_0x4d7a26['data']});case F['LEAVE']:return JSON['stringify']({'cmd':_0x4d7a26[_0x3caf22(0x35e)],'routeKey':_0x4d7a26[_0x3caf22(0x235)],'leaveReq':_0x4d7a26[_0x3caf22(0x288)]});default:throw new Error(_0x3caf22(0x1c7));}}var Ws=Object[_0x285015(0x310)],Gs=(_0x53ccae,_0x4ff4a8,_0x7a79ea,_0x7fb4b)=>{for(var _0x2f06e8=_0x7fb4b>0x1?void 0x0:_0x7fb4b?Ws(_0x4ff4a8,_0x7a79ea):_0x4ff4a8,_0x1465e4=_0x53ccae['length']-0x1,_0xc474d4;_0x1465e4>=0x0;_0x1465e4--)(_0xc474d4=_0x53ccae[_0x1465e4])&&(_0x2f06e8=_0xc474d4(_0x2f06e8)||_0x2f06e8);return _0x2f06e8;},De=(_0x5e9dd8,_0x51b64b)=>(_0x281615,_0x38b84b)=>_0x51b64b(_0x281615,_0x38b84b,_0x5e9dd8);const Ci=_0x24f86a(_0x285015(0x3b5));function Ys(_0x3c7afb,_0x3c9742,_0x236331){var _0x144bb2=_0x285015;return _0x3c7afb+'/'+_0x3c9742+_0x144bb2(0x21d)+_0x236331+_0x144bb2(0x315);}let Gt=class extends _0x2b109f{constructor(_0xa6f1e8,_0x576992,_0x2a139e,_0x56a20d,_0x25c0f1){var _0x37dee0=_0x285015;super(),this[_0x37dee0(0x43c)]=_0xa6f1e8,this[_0x37dee0(0x367)]=_0x576992,this[_0x37dee0(0x382)]=_0x2a139e,this[_0x37dee0(0x328)]=_0x56a20d,this[_0x37dee0(0x1d0)]=_0x25c0f1;}[_0x285015(0x219)](_0x598cc9){var _0xe50ddd=_0x285015;const _0x55647d=this['_injector'][_0xe50ddd(0x195)](_0x3ef1c1);if(!_0x55647d)throw new Error(_0xe50ddd(0x299));const _0x4fba4e=_0x55647d['createSocket'](_0x598cc9);if(!_0x4fba4e)throw new Error(_0xe50ddd(0x3d9));const _0x4c3a07=new _0xec246e(),_0x372ed7=new _0x1e0fa4();_0x4c3a07[_0xe50ddd(0x1b1)](_0x4fba4e[_0xe50ddd(0x351)][_0xe50ddd(0x2bc)](_0x31ac1d=>_0x372ed7[_0xe50ddd(0x26b)](_0x31ac1d))),_0x4c3a07[_0xe50ddd(0x1b1)](_0xe655bf(()=>_0x372ed7['complete']()));const _0x2c578e=new _0x1e0fa4();_0x4c3a07[_0xe50ddd(0x1b1)](_0x4fba4e[_0xe50ddd(0x381)][_0xe50ddd(0x2bc)](_0xf43f6e=>_0x2c578e['next'](_0xf43f6e))),_0x4c3a07['add'](_0xe655bf(()=>_0x2c578e[_0xe50ddd(0x1d9)]()));const _0x46c199=new _0x1e0fa4();_0x4c3a07[_0xe50ddd(0x1b1)](_0x4fba4e[_0xe50ddd(0x324)][_0xe50ddd(0x2bc)](_0x5cd97d=>{var _0x4e74d6=_0xe50ddd;const _0x581014=Fs(_0x5cd97d);_0x46c199[_0x4e74d6(0x26b)](_0x581014);})),_0x4c3a07[_0xe50ddd(0x1b1)](_0xe655bf(()=>_0x46c199[_0xe50ddd(0x1d9)]()));let _0xd78e37;const _0x31a0ee=()=>{var _0x452228=_0xe50ddd;_0x2c578e['next'](new Event(_0x452228(0x2bb))),_0x372ed7['next'](new Event(_0x452228(0x2bb))),_0xd78e37[_0x452228(0x42b)]();};return _0xd78e37={'memberID':'','close$':_0x372ed7[_0xe50ddd(0x447)](),'error$':_0x2c578e[_0xe50ddd(0x447)](),'open$':_0x4fba4e[_0xe50ddd(0x430)],'message$':_0x46c199[_0xe50ddd(0x447)](),'send':_0x5b54c0=>{var _0x9582ff=_0xe50ddd;if(_0x5b54c0[_0x9582ff(0x35e)]===F[_0x9582ff(0x42d)]){if(_0x5b54c0[_0x9582ff(0x288)][_0x9582ff(0x25b)]===_0x2a645f[_0x9582ff(0x2b0)]){this[_0x9582ff(0x2e3)](_0xd78e37,_0x5b54c0['data'])[_0x9582ff(0x2ed)](_0x2d25ab=>{var _0x4fd880=_0x9582ff;this['_logService'][_0x4fd880(0x1ce)](_0x2d25ab),_0x31a0ee();});return;}if(_0x5b54c0[_0x9582ff(0x288)][_0x9582ff(0x25b)]===_0x2a645f[_0x9582ff(0x39e)]){const _0x389dd1=_0x5b54c0[_0x9582ff(0x288)];this[_0x9582ff(0x296)](_0x389dd1)[_0x9582ff(0x2c1)](_0x261ee4=>{var _0x1fd761=_0x9582ff;_0x46c199[_0x1fd761(0x26b)]({'cmd':F[_0x1fd761(0x291)],'code':pe['OK'],'routeKey':_0x389dd1['data'][_0x1fd761(0x21f)],'routeType':'','data':{'eventID':_0x2a645f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x261ee4}}});})[_0x9582ff(0x2ed)](_0x42a87a=>{var _0x3c453a=_0x9582ff;this['_logService'][_0x3c453a(0x1ce)](_0x42a87a),_0x31a0ee();});return;}}_0x4fba4e[_0x9582ff(0x3b0)](Vs(_0x5b54c0));},'close':()=>{var _0x6bc860=_0xe50ddd;_0x4fba4e['close'](),_0x4c3a07[_0x6bc860(0x320)]();}},_0xd78e37;}async['_submitChangeset'](_0x363aa0,_0x35c141){var _0x19384d=_0x285015,_0x205fd2;const {unitType:_0x5a1c48,unitID:_0x10af08,changeset:_0x16bc06}=_0x35c141['data'],_0x47fea8={'unitID':_0x10af08,'memberID':_0x363aa0['memberID'],'type':_0x5a1c48,'changeset':_0x4627b8(_0x16bc06)},_0xee945f=this[_0x19384d(0x382)][_0x19384d(0x2eb)](K),_0x2b3ae3=Ys((_0x205fd2=_0xee945f==null?void 0x0:_0xee945f[_0x19384d(0x30e)])!=null?_0x205fd2:Cs,_0x5a1c48,_0x10af08);try{await this[_0x19384d(0x367)][_0x19384d(0x284)](_0x2b3ae3,{'body':_0x47fea8});}catch(_0x3e09cc){throw this['_logService'][_0x19384d(0x1ce)](_0x19384d(0x3f2),_0x19384d(0x2c0)),_0x3e09cc;}}async['_fetchMissChangesets'](_0x49bd77){var _0x2c185c=_0x285015;const {unitID:_0x2ded72,from:_0x1d4194,to:_0x1e14f3,unitType:_0x416538}=_0x49bd77['data'];return(await this['_snapshotServerService'][_0x2c185c(0x44b)]({'metadata':void 0x0},{'unitID':_0x2ded72,'type':_0x416538,'from':_0x1d4194,'to':_0x1e14f3}))['changesets'];}};Gt=Gs([De(0x0,_0x1f8eab(_0x231415)),De(0x1,_0x1f8eab(_0x289ab0)),De(0x2,_0x4676fe),De(0x3,_0xfc8632),De(0x4,_0xb4eaae)],Gt);var Ks=Object[_0x285015(0x310)],qs=(_0x268b94,_0x2e7c91,_0x1209f9,_0x48d698)=>{for(var _0x59ab84=_0x48d698>0x1?void 0x0:_0x48d698?Ks(_0x2e7c91,_0x1209f9):_0x2e7c91,_0x5da68b=_0x268b94['length']-0x1,_0x54dd19;_0x5da68b>=0x0;_0x5da68b--)(_0x54dd19=_0x268b94[_0x5da68b])&&(_0x59ab84=_0x54dd19(_0x59ab84)||_0x59ab84);return _0x59ab84;},Re=(_0x20feaf,_0x5572f6)=>(_0x1581ab,_0x1aea44)=>_0x5572f6(_0x1581ab,_0x1aea44,_0x20feaf);let Pe=class extends _0x2b109f{constructor(_0x1bcf2e,_0x942472,_0x5fc94e,_0x2ea446,_0x5bcfbb,_0x50dcef){var _0x1dd175=_0x285015;super(),N(this,_0x1dd175(0x23b),new _0x229484(void 0x0)),N(this,_0x1dd175(0x184),this[_0x1dd175(0x23b)]['asObservable']()),N(this,_0x1dd175(0x41c),null),N(this,_0x1dd175(0x43d),new Map()),N(this,'_status$',new _0x229484(ge['IDLE'])),N(this,'status$',this[_0x1dd175(0x31d)][_0x1dd175(0x447)]()),N(this,'_socketReady',!0x1),N(this,_0x1dd175(0x25f)),N(this,_0x1dd175(0x412),0x0),N(this,_0x1dd175(0x15f)),N(this,_0x1dd175(0x1a5)),(this[_0x1dd175(0x43c)]=_0x1bcf2e,this[_0x1dd175(0x328)]=_0x942472,this[_0x1dd175(0x382)]=_0x5fc94e,this['_socketService']=_0x2ea446,this[_0x1dd175(0x2dd)]=_0x5bcfbb,this[_0x1dd175(0x3d4)]=_0x50dcef,this[_0x1dd175(0x3b9)]());}get[_0x285015(0x23e)](){var _0x559ec4=_0x285015;return this[_0x559ec4(0x23b)][_0x559ec4(0x1f3)]();}[_0x285015(0x3b9)](){var _0x4bbc3a=_0x285015;this[_0x4bbc3a(0x3d4)]&&this[_0x4bbc3a(0x314)](this[_0x4bbc3a(0x3d4)][_0x4bbc3a(0x3f6)][_0x4bbc3a(0x2bc)](_0x325121=>{var _0x56da44=_0x4bbc3a;_0x325121&&!this['_socket']&&this[_0x56da44(0x39c)](),_0x325121||this[_0x56da44(0x2d3)]();}));}[_0x285015(0x320)](){var _0x23a634=_0x285015;super[_0x23a634(0x320)](),this[_0x23a634(0x37b)](),this[_0x23a634(0x33f)](),this[_0x23a634(0x2c7)](),this[_0x23a634(0x43d)][_0x23a634(0x401)](_0xed402c=>_0xed402c[_0x23a634(0x320)]()),this[_0x23a634(0x43d)][_0x23a634(0x39b)](),this[_0x23a634(0x31d)][_0x23a634(0x1d9)]();}async[_0x285015(0x2dc)](_0x3d6522){var _0x14ea0e=_0x285015;if(this[_0x14ea0e(0x43d)][_0x14ea0e(0x43e)](_0x3d6522))return this[_0x14ea0e(0x43d)][_0x14ea0e(0x195)](_0x3d6522);this['_tryEnsureSocket']();const _0x4ba2e3=this['_injector'][_0x14ea0e(0x340)](gt,_0x3d6522,this[_0x14ea0e(0x23b)][_0x14ea0e(0x447)]());return this[_0x14ea0e(0x43d)]['set'](_0x3d6522,_0x4ba2e3),_0x4ba2e3;}[_0x285015(0x300)](_0x1f4190){var _0x4e30fd=_0x285015,_0x46c1a3;const _0x3d41d6=this['_sessions'][_0x4e30fd(0x195)](_0x1f4190);_0x3d41d6&&(this[_0x4e30fd(0x43d)][_0x4e30fd(0x154)](_0x1f4190),_0x3d41d6[_0x4e30fd(0x42b)]()),this['_sessions'][_0x4e30fd(0x3b3)]||(_0x46c1a3=this['_socket'])==null||_0x46c1a3[_0x4e30fd(0x42b)]();}['reconnect'](){var _0x5f2404=_0x285015;this[_0x5f2404(0x412)]=0x0,this[_0x5f2404(0x37b)](),this['_tryReconnect']();}[_0x285015(0x37b)](){var _0x3fc6fc=_0x285015;this[_0x3fc6fc(0x25f)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3fc6fc(0x25f)]=null);}async[_0x285015(0x30a)](){var _0x1e7de6=_0x285015,_0x1c1894;const _0x4c94d4=this[_0x1e7de6(0x382)][_0x1e7de6(0x2eb)](K),_0x2eb963=(_0x1c1894=_0x4c94d4==null?void 0x0:_0x4c94d4[_0x1e7de6(0x31e)])!=null?_0x1c1894:ms,_0x2fb3dd=await this['_socketService']['createSocket'](_0x2eb963);return this[_0x1e7de6(0x41c)]=_0x2fb3dd,_0x2fb3dd;}async['_tryEnsureSocket'](){var _0x5b583f=_0x285015,_0x1b9ca9,_0x4319bd;try{const _0xbdb328=(_0x4319bd=(_0x1b9ca9=this[_0x5b583f(0x23e)])!=null?_0x1b9ca9:this[_0x5b583f(0x41c)])!=null?_0x4319bd:await this[_0x5b583f(0x30a)]();if(_0xbdb328){const _0x3ccbd4=_0xbdb328['send'];_0xbdb328[_0x5b583f(0x3b0)]=_0x34f834=>(this['_rescheduleHeartbeat'](),_0x3ccbd4[_0x5b583f(0x3e7)](_0xbdb328,[_0x34f834])),_0xbdb328['message$']['subscribe'](_0x10073e=>this[_0x5b583f(0x22a)](_0xbdb328,_0x10073e)),_0xbdb328[_0x5b583f(0x381)][_0x5b583f(0x38f)](_0x3fdc76(0x1))['subscribe'](_0x4300ff=>this[_0x5b583f(0x328)]['error'](_0x5b583f(0x2b9),_0x4300ff)),_0xbdb328['open$'][_0x5b583f(0x38f)](_0x3fdc76(0x1))[_0x5b583f(0x2bc)](()=>{var _0xfe5f04=_0x5b583f;this[_0xfe5f04(0x3d8)](_0xbdb328);}),_0xbdb328[_0x5b583f(0x351)][_0x5b583f(0x38f)](_0x3fdc76(0x1))[_0x5b583f(0x2bc)](_0x2b90b3=>{var _0x1cdae9=_0x5b583f;this['_logService'][_0x1cdae9(0x183)](_0x1cdae9(0x32a),_0x1cdae9(0x347),_0x2b90b3),this['_onConnectionFailed']();});}}catch(_0x30040b){this[_0x5b583f(0x328)][_0x5b583f(0x1ce)](_0x30040b),this[_0x5b583f(0x3ca)]();}}[_0x285015(0x3d8)](_0x5a1ce8){var _0x3716e5=_0x285015;this[_0x3716e5(0x328)][_0x3716e5(0x183)](_0x3716e5(0x32a),_0x3716e5(0x3c3)),_0x5a1ce8[_0x3716e5(0x3b0)]({'cmd':F[_0x3716e5(0x228)]}),this[_0x3716e5(0x20f)]();}[_0x285015(0x2d3)](){var _0x6f9b4b=_0x285015;this[_0x6f9b4b(0x238)]=!0x1,this[_0x6f9b4b(0x41c)]=null,this[_0x6f9b4b(0x31d)][_0x6f9b4b(0x26b)](ge['OFFLINE']),this[_0x6f9b4b(0x23b)][_0x6f9b4b(0x26b)](null),this[_0x6f9b4b(0x33f)](),this[_0x6f9b4b(0x2c7)]();}[_0x285015(0x3ca)](){var _0x1c1f16=_0x285015,_0x25a1a4;this[_0x1c1f16(0x2d3)](),this[_0x1c1f16(0x412)]<((_0x25a1a4=this[_0x1c1f16(0x382)][_0x1c1f16(0x2eb)](Is))!=null?_0x25a1a4:Ts)?(this[_0x1c1f16(0x2dd)][_0x1c1f16(0x28e)]({'id':ne[_0x1c1f16(0x1a6)]}),this[_0x1c1f16(0x368)]()):this['_collaborationUIEventService']['emitEvent']({'id':ne['SOCKET_FAILED']});}[_0x285015(0x368)](){var _0x4502eb=_0x285015,_0x21fbb2;const _0x39f997=this[_0x4502eb(0x412)],_0x10caae=this['_configService'][_0x4502eb(0x2eb)](K),_0x2cdd0d=_0x39f997===0x0?0x0:((_0x21fbb2=_0x10caae==null?void 0x0:_0x10caae['retryConnectingInterval'])!=null?_0x21fbb2:Es)*0x2**_0x39f997;this[_0x4502eb(0x25f)]=setTimeout(()=>{var _0x556a88=_0x4502eb;clearTimeout(this['_retryConnectingTimer']),this[_0x556a88(0x25f)]=null,this[_0x556a88(0x388)]();},_0x2cdd0d),this['_retryCount']+=0x1;}['_onMessage'](_0x12f466,_0x59a1aa){var _0x919ef3=_0x285015;const {cmd:_0x1b5a9c}=_0x59a1aa;_0x1b5a9c===F[_0x919ef3(0x228)]&&!this[_0x919ef3(0x238)]&&(_0x12f466[_0x919ef3(0x3e5)]=_0x59a1aa[_0x919ef3(0x288)][_0x919ef3(0x3e5)],this[_0x919ef3(0x23b)][_0x919ef3(0x26b)](_0x12f466),this[_0x919ef3(0x31d)][_0x919ef3(0x26b)](ge[_0x919ef3(0x44e)]),this['_socketReady']=!0x0,this[_0x919ef3(0x41c)]=null),_0x1b5a9c===F[_0x919ef3(0x35a)]&&this[_0x919ef3(0x33f)](),this[_0x919ef3(0x20f)]();}[_0x285015(0x20f)](){var _0x40de38=_0x285015,_0x43d0b6;this[_0x40de38(0x2c7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x40de38(0x21b)](),(_0x43d0b6=this[_0x40de38(0x382)][_0x40de38(0x2eb)](gs))!=null?_0x43d0b6:Ss);}['_sendHeartbeat'](){var _0x991fc=_0x285015;this['_socket'][_0x991fc(0x3b0)]({'cmd':F['HEARTBEAT']}),this[_0x991fc(0x19d)]();}[_0x285015(0x19d)](){var _0x4d953c=_0x285015,_0x2b4567;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x2b4567=this[_0x4d953c(0x382)]['getConfig'](di))!=null?_0x2b4567:fi);}['_clearHeartbeatTimer'](){var _0x40dd67=_0x285015;this[_0x40dd67(0x15f)]!=null&&(clearTimeout(this[_0x40dd67(0x15f)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x3388c0=_0x285015;this[_0x3388c0(0x1a5)]!=null&&(clearTimeout(this[_0x3388c0(0x1a5)]),this[_0x3388c0(0x1a5)]=null);}};Pe=qs([Re(0x0,_0x1f8eab(_0x231415)),Re(0x1,_0xfc8632),Re(0x2,_0x4676fe),Re(0x3,Ci),Re(0x4,_0x1f8eab(ve)),Re(0x5,_0x10bde8(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x420dd2,_0x4a7cc0,_0x5d1aee,_0x29c26a)=>{var _0xcd6e80=_0x285015;for(var _0x1c849a=_0x29c26a>0x1?void 0x0:_0x29c26a?zs(_0x4a7cc0,_0x5d1aee):_0x4a7cc0,_0x5e94b6=_0x420dd2[_0xcd6e80(0x305)]-0x1,_0x20a764;_0x5e94b6>=0x0;_0x5e94b6--)(_0x20a764=_0x420dd2[_0x5e94b6])&&(_0x1c849a=_0x20a764(_0x1c849a)||_0x1c849a);return _0x1c849a;},Be=(_0x30ce1e,_0x15e1b3)=>(_0x5809d6,_0x598893)=>_0x15e1b3(_0x5809d6,_0x598893,_0x30ce1e);let nt=class extends _0x1f8cdd{constructor(_0x3723fe,_0x48083c,_0x5cdb54,_0x4c83ef){var _0x45ae5a=_0x285015,_0x5c4df1;super(),N(this,_0x45ae5a(0x3b2),new Map()),N(this,'_entityInit$',new _0x1e0fa4()),N(this,_0x45ae5a(0x179),this[_0x45ae5a(0x3cb)]['asObservable']()),(this[_0x45ae5a(0x43c)]=_0x3723fe,this[_0x45ae5a(0x2d9)]=_0x48083c,this['_configService']=_0x5cdb54,this['_univerInstanceService']=_0x4c83ef,((_0x5c4df1=this[_0x45ae5a(0x382)][_0x45ae5a(0x2eb)](K))==null?void 0x0:_0x5c4df1[_0x45ae5a(0x25c)])!==!0x1&&this[_0x45ae5a(0x2d5)]());}[_0x285015(0x320)](){var _0x49d04a=_0x285015;super[_0x49d04a(0x320)](),this[_0x49d04a(0x3b2)][_0x49d04a(0x401)](_0x3faf0d=>_0x3faf0d['dispose']()),this['_entities']['clear']();}[_0x285015(0x223)](_0x3037dd){var _0x29289f=_0x285015,_0x374360;return(_0x374360=this['_entities'][_0x29289f(0x195)](_0x3037dd))!=null?_0x374360:null;}['getCollabEntity$'](_0x185b5b){var _0x136913=_0x285015;const _0x219258=this[_0x136913(0x223)](_0x185b5b);return _0x219258?_0x16096b(_0x219258):this['_entityInit$'][_0x136913(0x38f)](_0x176fa8(_0x3f41bd=>_0x3f41bd['unitID']===_0x185b5b));}[_0x285015(0x2fa)](_0x98b659){var _0xff7c67=_0x285015;return _0x3cd1a1(this[_0xff7c67(0x1cb)](_0x98b659)[_0xff7c67(0x38f)](_0x27b12b(()=>{})));}['_init'](){var _0x19d8ff=_0x285015;this[_0x19d8ff(0x2ae)][_0x19d8ff(0x36d)](_0x3a3c86['UNIVER_SHEET'])[_0x19d8ff(0x38f)](_0x506746(this[_0x19d8ff(0x1f7)]),_0x56bcfe(0x10))[_0x19d8ff(0x2bc)](async _0xec2569=>{var _0x4a96ed=_0x19d8ff;const _0x51f1a9=_0xec2569[_0x4a96ed(0x3e2)](),_0x2f32ee=await this[_0x4a96ed(0x3ce)](_0x51f1a9,Z[_0x4a96ed(0x29a)]);this[_0x4a96ed(0x3b2)][_0x4a96ed(0x392)](_0x51f1a9,_0x2f32ee);}),this[_0x19d8ff(0x2ae)][_0x19d8ff(0x36d)](_0x3a3c86[_0x19d8ff(0x389)])[_0x19d8ff(0x38f)](_0x506746(this[_0x19d8ff(0x1f7)]),_0x56bcfe(0x10))[_0x19d8ff(0x38f)](_0x176fa8(_0x3f699e=>!_0x3f699e[_0x19d8ff(0x3e2)]()[_0x19d8ff(0x2e8)]('__')))['subscribe'](async _0x3da5d9=>{var _0x570258=_0x19d8ff;const _0x510092=_0x3da5d9['getUnitId'](),_0x665723=await this[_0x570258(0x3ce)](_0x510092,Z['UNIVER_DOC']);this[_0x570258(0x3b2)]['set'](_0x510092,_0x665723);}),_0x540e40(this[_0x19d8ff(0x2ae)][_0x19d8ff(0x187)](_0x3a3c86['UNIVER_SHEET']),this['_univerInstanceService'][_0x19d8ff(0x187)](_0x3a3c86['UNIVER_DOC']))[_0x19d8ff(0x38f)](_0x506746(this['dispose$']))[_0x19d8ff(0x2bc)](_0x2039c4=>{var _0x29599b=_0x19d8ff;const _0x54db07=_0x2039c4[_0x29599b(0x3e2)](),_0x598f9f=this[_0x29599b(0x3b2)][_0x29599b(0x195)](_0x54db07);_0x598f9f&&(_0x598f9f[_0x29599b(0x320)](),this[_0x29599b(0x3b2)][_0x29599b(0x154)](_0x54db07));});}async[_0x285015(0x3ce)](_0x3f73df,_0x4cbbcc){var _0x3805b0=_0x285015;const _0x4b517e=await this[_0x3805b0(0x2d9)][_0x3805b0(0x2dc)](_0x3f73df),_0x4a8ee8=this[_0x3805b0(0x43c)][_0x3805b0(0x340)](this[_0x3805b0(0x240)](_0x4cbbcc),_0x3f73df,_0x4cbbcc,_0x4b517e);return await _0x4a8ee8[_0x3805b0(0x2ef)](),this[_0x3805b0(0x3cb)][_0x3805b0(0x26b)](_0x4a8ee8),_0x4a8ee8;}['_getCtorByUniverType'](_0x5cd84a){var _0xb9703c=_0x285015;switch(_0x5cd84a){case Z[_0xb9703c(0x389)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0xb9703c(0x41b)+_0x5cd84a);}}};nt=Js([Be(0x0,_0x1f8eab(_0x231415)),Be(0x1,_0x1f8eab(Pe)),Be(0x2,_0x4676fe),Be(0x3,_0x957fe2)],nt);var Xs=Object[_0x285015(0x310)],Zs=(_0xb270c8,_0x2482b2,_0x5dcad2,_0x3f988a)=>{var _0x54a5fa=_0x285015;for(var _0x47ddde=_0x3f988a>0x1?void 0x0:_0x3f988a?Xs(_0x2482b2,_0x5dcad2):_0x2482b2,_0x4e0561=_0xb270c8[_0x54a5fa(0x305)]-0x1,_0x445f62;_0x4e0561>=0x0;_0x4e0561--)(_0x445f62=_0xb270c8[_0x4e0561])&&(_0x47ddde=_0x445f62(_0x47ddde)||_0x47ddde);return _0x47ddde;},Yt=(_0x4c2f30,_0x507662)=>(_0x28f7e3,_0x45f6e7)=>_0x507662(_0x28f7e3,_0x45f6e7,_0x4c2f30);const Qs=_0x285015(0x1d5),en=_0x285015(0x257);let It=class extends _0x2b109f{constructor(_0x500519,_0x2cb8e9){var _0xe7afb2=_0x285015;super(),this[_0xe7afb2(0x2ae)]=_0x500519,this['_configService']=_0x2cb8e9,this['_init']();}[_0x285015(0x2d5)](){var _0x116b4a=_0x285015;this[_0x116b4a(0x314)](this[_0x116b4a(0x2ae)]['focused$'][_0x116b4a(0x2bc)](()=>{var _0x15e1d5=_0x116b4a,_0xf79cec;const _0x18cfc0=this[_0x15e1d5(0x2ae)][_0x15e1d5(0x1f6)]();let _0xc394ac=(_0xf79cec=this[_0x15e1d5(0x382)][_0x15e1d5(0x2eb)](Qs))!=null?_0xf79cec:en;_0x18cfc0 instanceof _0xa8c085&&(_0xc394ac=_0x18cfc0[_0x15e1d5(0x211)]),document[_0x15e1d5(0x2c4)]=_0xc394ac;}));}};It=Zs([Yt(0x0,_0x957fe2),Yt(0x1,_0x4676fe)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x290b9c,_0x3fdaf8,_0x482fb6,_0x133952)=>{var _0x307c8e=_0x285015;for(var _0x49a5d9=_0x133952>0x1?void 0x0:_0x133952?tn(_0x3fdaf8,_0x482fb6):_0x3fdaf8,_0x1d9ee6=_0x290b9c[_0x307c8e(0x305)]-0x1,_0x40ea5e;_0x1d9ee6>=0x0;_0x1d9ee6--)(_0x40ea5e=_0x290b9c[_0x1d9ee6])&&(_0x49a5d9=_0x40ea5e(_0x49a5d9)||_0x49a5d9);return _0x49a5d9;},dt=(_0x43b92f,_0x5f3287)=>(_0x4b75c2,_0x20b149)=>_0x5f3287(_0x4b75c2,_0x20b149,_0x43b92f);let rt=class{constructor(_0x29d163,_0x298d78,_0x54d44d){var _0x2088fd=_0x285015;this[_0x2088fd(0x382)]=_0x29d163,this['_httpService']=_0x298d78,this[_0x2088fd(0x396)]=_0x54d44d,this[_0x2088fd(0x2ef)]();}[_0x285015(0x2ef)](){var _0x59fa85=_0x285015;this[_0x59fa85(0x367)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x382386,_0x49ef9a)=>_0x49ef9a(_0x382386)[_0x59fa85(0x38f)](_0x41cf1b(async _0x2dc8cf=>{var _0x4ca1fb=_0x59fa85;const _0x108a6b=_0x2dc8cf;if(_0x108a6b[_0x4ca1fb(0x1e2)]===0x191){if(typeof window>'u')throw new Error(_0x4ca1fb(0x43a));if(window[_0x4ca1fb(0x40c)](this[_0x4ca1fb(0x396)]['t'](_0x4ca1fb(0x173)))){const _0x7f4c14=window[_0x4ca1fb(0x2b1)](window[_0x4ca1fb(0x418)][_0x4ca1fb(0x33a)]);window[_0x4ca1fb(0x418)]['href']=this[_0x4ca1fb(0x157)]()+_0x4ca1fb(0x317)+_0x7f4c14;}}return _0x108a6b;}))});}[_0x285015(0x157)](){var _0x2368ef=_0x285015,_0x37db5b;const _0x4a6dbb=this[_0x2368ef(0x382)][_0x2368ef(0x2eb)](K);return(_0x37db5b=_0x4a6dbb==null?void 0x0:_0x4a6dbb['loginUrlKey'])!=null?_0x37db5b:Rs;}};rt=sn([dt(0x0,_0x4676fe),dt(0x1,_0x1f8eab(_0x289ab0)),dt(0x2,_0x1f8eab(_0x18f0cb))],rt);var nn=Object[_0x285015(0x310)],rn=(_0xeeda2f,_0x26c24b,_0x487e61,_0x1c99b9)=>{var _0x1eabd3=_0x285015;for(var _0x2ea3ca=_0x1c99b9>0x1?void 0x0:_0x1c99b9?nn(_0x26c24b,_0x487e61):_0x26c24b,_0x487728=_0xeeda2f[_0x1eabd3(0x305)]-0x1,_0x2bff01;_0x487728>=0x0;_0x487728--)(_0x2bff01=_0xeeda2f[_0x487728])&&(_0x2ea3ca=_0x2bff01(_0x2ea3ca)||_0x2ea3ca);return _0x2ea3ca;},Kt=(_0x331bac,_0x17a460)=>(_0x2389f9,_0x1c8bf1)=>_0x17a460(_0x2389f9,_0x1c8bf1,_0x331bac);const an=_0x285015(0x160);let Tt=class extends _0x2b109f{constructor(_0xa6f213,_0x5c5f75){var _0x326f33=_0x285015;super(),this[_0x326f33(0x2f1)]=_0xa6f213,this[_0x326f33(0x382)]=_0x5c5f75,this[_0x326f33(0x3f8)]();}[_0x285015(0x3f8)](){var _0x4e0d3b=_0x285015;const _0x55ee22=this;this[_0x4e0d3b(0x314)](this[_0x4e0d3b(0x2f1)][_0x4e0d3b(0x40d)]({'priority':0x3e7,'interceptor':_0x10d77c({'isMatch'(_0x10ddf5){var _0x4242aa=_0x4e0d3b,_0x529c30;if(_0x10ddf5['method']===_0x4242aa(0x1bb)&&((_0x529c30=_0x10ddf5['requestParams'])!=null&&_0x529c30['body'])){const {objectID:_0x8aa628,objectType:_0x3c923a}=_0x10ddf5[_0x4242aa(0x1c2)][_0x4242aa(0x3d7)]||{};if(!_0x8aa628||_0x3c923a===void 0x0)return!0x1;const _0x5b350c=_0x55ee22[_0x4242aa(0x2ea)]()+'/'+_0x3c923a+_0x4242aa(0x36e)+_0x8aa628+_0x4242aa(0x42a);if(_0x10ddf5[_0x4242aa(0x203)]===_0x5b350c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16176a){var _0x21f53b;return(_0x21f53b=_0x16176a['requestParams'])==null?void 0x0:_0x21f53b['body'];},'mergeParamsToRequest'(_0x392fa6,_0x30a0b2){var _0x4c7e4f=_0x4e0d3b;const _0x458b50=_0x55ee22['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3fe793=_0x392fa6[_0x4c7e4f(0x176)]((_0x2c7ed0,_0xf639c9)=>{var _0x16fc18=_0x4c7e4f;const {unitID:_0x156ca1,objectID:_0xba6a7d,objectType:_0x54b4be,actions:_0x3ddf81}=_0xf639c9;return _0x2c7ed0[_0x156ca1]||(_0x2c7ed0[_0x156ca1]={}),_0x2c7ed0[_0x156ca1][_0xba6a7d]||(_0x2c7ed0[_0x156ca1][_0xba6a7d]={'objectID':_0xba6a7d,'objectType':_0x54b4be,'actions':[]}),_0x2c7ed0[_0x156ca1][_0xba6a7d][_0x16fc18(0x266)][_0x16fc18(0x3ad)](..._0x3ddf81),_0x2c7ed0;},{}),_0x227663=[];for(const _0x4d9a44 in _0x3fe793)for(const _0x10b010 in _0x3fe793[_0x4d9a44]){const {actions:_0xadd5da,objectType:_0x24f597}=_0x3fe793[_0x4d9a44][_0x10b010],_0x378f78=[...new Set(_0xadd5da)];_0x227663[_0x4c7e4f(0x3ad)]({'unitID':_0x4d9a44,'objectID':_0x10b010,'objectType':_0x24f597,'actions':_0x378f78});}return new _0x53f682(_0x4c7e4f(0x1bb),_0x458b50,{'headers':_0x30a0b2[_0x4c7e4f(0x385)],'withCredentials':_0x30a0b2[_0x4c7e4f(0x1bc)],'responseType':_0x30a0b2[_0x4c7e4f(0x1f9)],'body':{'requests':_0x227663}});}},{'distributeResult'(_0x4935c2,_0x359a72){var _0x362490=_0x4e0d3b;const {objectActions:_0x5d87cc}=_0x4935c2;return _0x359a72[_0x362490(0x3e6)](_0x17750d=>{var _0x17a2a1=_0x362490;const {unitID:_0x338779,objectID:_0x4f4844,actions:_0x450f47}=_0x17750d,_0x2371d4=_0x5d87cc[_0x17a2a1(0x198)](_0x259c93=>_0x259c93['unitID']===_0x338779&&_0x259c93[_0x17a2a1(0x282)]===_0x4f4844),_0x40184a=_0x450f47[_0x17a2a1(0x3e6)](_0x383f6=>_0x2371d4==null?void 0x0:_0x2371d4[_0x17a2a1(0x266)]['find'](_0x175262=>_0x175262[_0x17a2a1(0x3d6)]===_0x383f6))[_0x17a2a1(0x30c)](_0x5bc785=>!!_0x5bc785);return{'config':_0x17750d,'result':{'actions':_0x40184a,'error':_0x4935c2[_0x17a2a1(0x1ce)]}};});}})}));}[_0x285015(0x2ea)](){var _0x1bbc20=_0x285015,_0xcac1e0;const _0x4a3d3d=this[_0x1bbc20(0x382)][_0x1bbc20(0x2eb)](K);return(_0xcac1e0=_0x4a3d3d==null?void 0x0:_0x4a3d3d[_0x1bbc20(0x17d)])!=null?_0xcac1e0:an;}async[_0x285015(0x28c)](_0x570af2){var _0x10e919=_0x285015;const _0x5330eb=this['_getAPIPrefixPath']()+'/'+_0x570af2[_0x10e919(0x433)]+_0x10e919(0x20e);return(await this[_0x10e919(0x2f1)][_0x10e919(0x284)](_0x5330eb,{'body':_0x570af2}))[_0x10e919(0x3d7)]['objectID']||'';}async[_0x285015(0x32b)](_0xed9dc4){var _0xb35f4b=_0x285015;const _0xc285c6=this['_getAPIPrefixPath']()+_0xb35f4b(0x2fe);return(await this[_0xb35f4b(0x2f1)][_0xb35f4b(0x284)](_0xc285c6,{'body':_0xed9dc4}))['body'][_0xb35f4b(0x264)];}async[_0x285015(0x403)](_0xa5aa3){var _0x5213d8=_0x285015,_0x1b582f,_0x38d84f;const _0x35d36a=this[_0x5213d8(0x2ea)]()+'/'+_0xa5aa3[_0x5213d8(0x433)]+_0x5213d8(0x36e)+_0xa5aa3[_0x5213d8(0x282)],_0x3873b7=await this[_0x5213d8(0x2f1)][_0x5213d8(0x36a)](_0x35d36a,{'body':_0xa5aa3});if(((_0x38d84f=(_0x1b582f=_0x3873b7==null?void 0x0:_0x3873b7[_0x5213d8(0x3d7)])==null?void 0x0:_0x1b582f[_0x5213d8(0x1ce)])==null?void 0x0:_0x38d84f[_0x5213d8(0x3bc)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x12ad8a){var _0x419003=_0x285015;const _0x3edf7d=this[_0x419003(0x2ea)]()+'/'+_0x12ad8a[_0x419003(0x433)]+_0x419003(0x36e)+_0x12ad8a['objectID']+_0x419003(0x42a);return(await this[_0x419003(0x2f1)][_0x419003(0x284)](_0x3edf7d,{'body':_0x12ad8a}))[_0x419003(0x3d7)][_0x419003(0x266)];}async[_0x285015(0x248)](_0x1aefac){var _0x5a2f0a=_0x285015;const _0x5c104f=this['_getAPIPrefixPath']()+_0x5a2f0a(0x417);return(await this[_0x5a2f0a(0x2f1)]['post'](_0x5c104f,{'body':{'requests':_0x1aefac}}))['body']['objectActions'];}async[_0x285015(0x16c)](_0x572f17){var _0x18b36f=_0x285015;const _0x257bc7=this[_0x18b36f(0x2ea)]()+'/'+_0x572f17[_0x18b36f(0x433)]+_0x18b36f(0x3da),_0x24b27d=await this['_HTTPService'][_0x18b36f(0x284)](_0x257bc7,{'body':_0x572f17});return{'roles':_0x24b27d['body']['roles'],'actions':_0x24b27d[_0x18b36f(0x3d7)][_0x18b36f(0x266)]};}async[_0x285015(0x302)](_0x4cd72f){var _0x154251=_0x285015;const _0x59e950=this[_0x154251(0x2ea)]()+_0x154251(0x29e);await this['_HTTPService'][_0x154251(0x154)](_0x59e950,{'params':{'collaboratorID':_0x4cd72f['collaboratorID'],'objectID':_0x4cd72f[_0x154251(0x282)],'unitID':_0x4cd72f[_0x154251(0x21f)]}});}async['updateCollaborator'](_0x214053){var _0x3cf66f=_0x285015;const _0x5ec868=this['_getAPIPrefixPath']()+_0x3cf66f(0x29e);await this[_0x3cf66f(0x2f1)][_0x3cf66f(0x3f1)](_0x5ec868,{'body':_0x214053});}async[_0x285015(0x408)](_0x4b5ebe){var _0xf02d07=_0x285015;const _0x42de08=this['_getAPIPrefixPath']()+_0xf02d07(0x29e);await this[_0xf02d07(0x2f1)]['post'](_0x42de08,{'body':_0x4b5ebe});}async[_0x285015(0x3d1)](_0x30298d){var _0x2bf095=_0x285015;const _0x56b265=this['_getAPIPrefixPath']()+_0x2bf095(0x29e);return(await this[_0x2bf095(0x2f1)][_0x2bf095(0x195)](_0x56b265,{'params':{'objectID':_0x30298d[_0x2bf095(0x282)],'unitID':_0x30298d['unitID']}}))[_0x2bf095(0x3d7)][_0x2bf095(0x237)];}async['putCollaborators'](_0x320c71){var _0x2c1864=_0x285015;const _0x6eb3a3=this[_0x2c1864(0x2ea)]()+_0x2c1864(0x29e);await this['_HTTPService'][_0x2c1864(0x36a)](_0x6eb3a3,{'body':_0x320c71});}};Tt=rn([Kt(0x0,_0x1f8eab(_0x289ab0)),Kt(0x1,_0x1f8eab(_0x4676fe))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xea98b){var _0x42f865=_0x285015;return _0xea98b&&_0xea98b[_0x42f865(0x1d8)]&&Object[_0x42f865(0x2bf)]['hasOwnProperty'][_0x42f865(0x3f7)](_0xea98b,_0x42f865(0x280))?_0xea98b[_0x42f865(0x280)]:_0xea98b;}var Ve={'exports':{}};function on(_0x342f94){var _0x128118=_0x285015;throw new Error(_0x128118(0x161)+_0x342f94+_0x128118(0x29d));}var We={'exports':{}},cn=We[_0x285015(0x24c)],qt;function te(){return qt||(qt=0x1,function(_0x379eec,_0x4ad4c2){(function(_0x20f8d5,_0x4bc911){_0x379eec['exports']=_0x4bc911();}(cn,function(){var _0x303ed4=_0x303ed4||function(_0x4de907,_0x16d6c7){var _0xd14c9e=_0x32e5,_0x87cddc;if(typeof window<'u'&&window['crypto']&&(_0x87cddc=window[_0xd14c9e(0x234)]),typeof self<'u'&&self[_0xd14c9e(0x234)]&&(_0x87cddc=self[_0xd14c9e(0x234)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x87cddc=globalThis[_0xd14c9e(0x234)]),!_0x87cddc&&typeof window<'u'&&window[_0xd14c9e(0x2b7)]&&(_0x87cddc=window[_0xd14c9e(0x2b7)]),!_0x87cddc&&typeof ft<'u'&&ft[_0xd14c9e(0x234)]&&(_0x87cddc=ft[_0xd14c9e(0x234)]),!_0x87cddc&&typeof on==_0xd14c9e(0x3eb))try{_0x87cddc=require('crypto');}catch{}var _0x3538d8=function(){var _0x4b6286=_0xd14c9e;if(_0x87cddc){if(typeof _0x87cddc['getRandomValues']==_0x4b6286(0x3eb))try{return _0x87cddc[_0x4b6286(0x1ef)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x87cddc['randomBytes']=='function')try{return _0x87cddc[_0x4b6286(0x316)](0x4)[_0x4b6286(0x224)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x187c6e=Object['create']||(function(){function _0x4c808b(){}return function(_0x5afecb){var _0x161aad=_0x32e5,_0x3dd4de;return _0x4c808b[_0x161aad(0x2bf)]=_0x5afecb,_0x3dd4de=new _0x4c808b(),_0x4c808b[_0x161aad(0x2bf)]=null,_0x3dd4de;};}()),_0x3e0cd7={},_0xa8e699=_0x3e0cd7[_0xd14c9e(0x2da)]={},_0x14d9b5=_0xa8e699[_0xd14c9e(0x3bf)]=(function(){return{'extend':function(_0x3a0400){var _0x5e84e2=_0x32e5,_0x2c505f=_0x187c6e(this);return _0x3a0400&&_0x2c505f[_0x5e84e2(0x422)](_0x3a0400),(!_0x2c505f[_0x5e84e2(0x28a)](_0x5e84e2(0x2ef))||this[_0x5e84e2(0x2ef)]===_0x2c505f[_0x5e84e2(0x2ef)])&&(_0x2c505f['init']=function(){var _0x5d04a3=_0x5e84e2;_0x2c505f['$super'][_0x5d04a3(0x2ef)][_0x5d04a3(0x3e7)](this,arguments);}),_0x2c505f[_0x5e84e2(0x2ef)][_0x5e84e2(0x2bf)]=_0x2c505f,_0x2c505f[_0x5e84e2(0x444)]=this,_0x2c505f;},'create':function(){var _0x3ad27d=_0x32e5,_0x2f9140=this['extend']();return _0x2f9140[_0x3ad27d(0x2ef)][_0x3ad27d(0x3e7)](_0x2f9140,arguments),_0x2f9140;},'init':function(){},'mixIn':function(_0x1e500b){var _0x2e5501=_0x32e5;for(var _0x362410 in _0x1e500b)_0x1e500b[_0x2e5501(0x28a)](_0x362410)&&(this[_0x362410]=_0x1e500b[_0x362410]);_0x1e500b[_0x2e5501(0x28a)](_0x2e5501(0x1e0))&&(this[_0x2e5501(0x1e0)]=_0x1e500b[_0x2e5501(0x1e0)]);},'clone':function(){var _0x5a6eba=_0x32e5;return this['init'][_0x5a6eba(0x2bf)][_0x5a6eba(0x353)](this);}};}()),_0x2f9bc6=_0xa8e699[_0xd14c9e(0x343)]=_0x14d9b5[_0xd14c9e(0x353)]({'init':function(_0x555032,_0x35b30e){var _0x1409d7=_0xd14c9e;_0x555032=this[_0x1409d7(0x171)]=_0x555032||[],_0x35b30e!=_0x16d6c7?this['sigBytes']=_0x35b30e:this[_0x1409d7(0x1a3)]=_0x555032[_0x1409d7(0x305)]*0x4;},'toString':function(_0x256178){var _0x16e828=_0xd14c9e;return(_0x256178||_0x4107d1)[_0x16e828(0x24e)](this);},'concat':function(_0x9143d3){var _0x2c7b71=_0xd14c9e,_0x32819e=this[_0x2c7b71(0x171)],_0x2eb76a=_0x9143d3['words'],_0x3a3040=this[_0x2c7b71(0x1a3)],_0x57db24=_0x9143d3['sigBytes'];if(this[_0x2c7b71(0x3a7)](),_0x3a3040%0x4)for(var _0x3b6d66=0x0;_0x3b6d66<_0x57db24;_0x3b6d66++){var _0x5757b0=_0x2eb76a[_0x3b6d66>>>0x2]>>>0x18-_0x3b6d66%0x4*0x8&0xff;_0x32819e[_0x3a3040+_0x3b6d66>>>0x2]|=_0x5757b0<<0x18-(_0x3a3040+_0x3b6d66)%0x4*0x8;}else{for(var _0x137a7b=0x0;_0x137a7b<_0x57db24;_0x137a7b+=0x4)_0x32819e[_0x3a3040+_0x137a7b>>>0x2]=_0x2eb76a[_0x137a7b>>>0x2];}return this['sigBytes']+=_0x57db24,this;},'clamp':function(){var _0xe97fab=_0xd14c9e,_0x515c51=this[_0xe97fab(0x171)],_0x4de251=this['sigBytes'];_0x515c51[_0x4de251>>>0x2]&=0xffffffff<<0x20-_0x4de251%0x4*0x8,_0x515c51[_0xe97fab(0x305)]=_0x4de907['ceil'](_0x4de251/0x4);},'clone':function(){var _0x2b627b=_0xd14c9e,_0x34d47b=_0x14d9b5[_0x2b627b(0x32e)]['call'](this);return _0x34d47b[_0x2b627b(0x171)]=this[_0x2b627b(0x171)][_0x2b627b(0x26c)](0x0),_0x34d47b;},'random':function(_0x3c6dd6){var _0x352df9=_0xd14c9e;for(var _0x3f318c=[],_0x587786=0x0;_0x587786<_0x3c6dd6;_0x587786+=0x4)_0x3f318c[_0x352df9(0x3ad)](_0x3538d8());return new _0x2f9bc6[(_0x352df9(0x2ef))](_0x3f318c,_0x3c6dd6);}}),_0x8aeb7e=_0x3e0cd7[_0xd14c9e(0x20c)]={},_0x4107d1=_0x8aeb7e[_0xd14c9e(0x435)]={'stringify':function(_0x85c181){var _0x978fcf=_0xd14c9e;for(var _0x22997a=_0x85c181[_0x978fcf(0x171)],_0x4fdbea=_0x85c181[_0x978fcf(0x1a3)],_0x2a4353=[],_0x26284d=0x0;_0x26284d<_0x4fdbea;_0x26284d++){var _0xc0ca06=_0x22997a[_0x26284d>>>0x2]>>>0x18-_0x26284d%0x4*0x8&0xff;_0x2a4353[_0x978fcf(0x3ad)]((_0xc0ca06>>>0x4)[_0x978fcf(0x1e0)](0x10)),_0x2a4353[_0x978fcf(0x3ad)]((_0xc0ca06&0xf)['toString'](0x10));}return _0x2a4353[_0x978fcf(0x42c)]('');},'parse':function(_0x54f9b0){var _0x59e4f8=_0xd14c9e;for(var _0x539375=_0x54f9b0[_0x59e4f8(0x305)],_0x32d9c6=[],_0x54e0dd=0x0;_0x54e0dd<_0x539375;_0x54e0dd+=0x2)_0x32d9c6[_0x54e0dd>>>0x3]|=parseInt(_0x54f9b0['substr'](_0x54e0dd,0x2),0x10)<<0x18-_0x54e0dd%0x8*0x4;return new _0x2f9bc6[(_0x59e4f8(0x2ef))](_0x32d9c6,_0x539375/0x2);}},_0x57f114=_0x8aeb7e['Latin1']={'stringify':function(_0x259edb){var _0xf8e4d2=_0xd14c9e;for(var _0x1a4c70=_0x259edb['words'],_0x74fdbc=_0x259edb[_0xf8e4d2(0x1a3)],_0x1bc297=[],_0x1bd041=0x0;_0x1bd041<_0x74fdbc;_0x1bd041++){var _0x5dc66c=_0x1a4c70[_0x1bd041>>>0x2]>>>0x18-_0x1bd041%0x4*0x8&0xff;_0x1bc297['push'](String[_0xf8e4d2(0x2d2)](_0x5dc66c));}return _0x1bc297['join']('');},'parse':function(_0x151e93){var _0x1038a4=_0xd14c9e;for(var _0x2945e0=_0x151e93[_0x1038a4(0x305)],_0x564195=[],_0xc7a022=0x0;_0xc7a022<_0x2945e0;_0xc7a022++)_0x564195[_0xc7a022>>>0x2]|=(_0x151e93[_0x1038a4(0x2aa)](_0xc7a022)&0xff)<<0x18-_0xc7a022%0x4*0x8;return new _0x2f9bc6['init'](_0x564195,_0x2945e0);}},_0x3acce2=_0x8aeb7e[_0xd14c9e(0x427)]={'stringify':function(_0x1d0e37){var _0x44aa2f=_0xd14c9e;try{return decodeURIComponent(escape(_0x57f114[_0x44aa2f(0x24e)](_0x1d0e37)));}catch{throw new Error(_0x44aa2f(0x2d0));}},'parse':function(_0x13b654){var _0x159946=_0xd14c9e;return _0x57f114[_0x159946(0x26d)](unescape(encodeURIComponent(_0x13b654)));}},_0x1be83b=_0xa8e699[_0xd14c9e(0x355)]=_0x14d9b5['extend']({'reset':function(){var _0x4def37=_0xd14c9e;this[_0x4def37(0x1bf)]=new _0x2f9bc6[(_0x4def37(0x2ef))](),this['_nDataBytes']=0x0;},'_append':function(_0x4fc6d3){var _0x5d1088=_0xd14c9e;typeof _0x4fc6d3==_0x5d1088(0x253)&&(_0x4fc6d3=_0x3acce2[_0x5d1088(0x26d)](_0x4fc6d3)),this['_data']['concat'](_0x4fc6d3),this[_0x5d1088(0x1ab)]+=_0x4fc6d3[_0x5d1088(0x1a3)];},'_process':function(_0x3f9330){var _0x16191a=_0xd14c9e,_0x251012,_0x45e738=this[_0x16191a(0x1bf)],_0x3ffdea=_0x45e738['words'],_0x48164e=_0x45e738[_0x16191a(0x1a3)],_0x155df7=this[_0x16191a(0x304)],_0x4781e3=_0x155df7*0x4,_0x4c0a9c=_0x48164e/_0x4781e3;_0x3f9330?_0x4c0a9c=_0x4de907[_0x16191a(0x169)](_0x4c0a9c):_0x4c0a9c=_0x4de907['max']((_0x4c0a9c|0x0)-this[_0x16191a(0x1b3)],0x0);var _0x404021=_0x4c0a9c*_0x155df7,_0x196830=_0x4de907[_0x16191a(0x27e)](_0x404021*0x4,_0x48164e);if(_0x404021){for(var _0x305c69=0x0;_0x305c69<_0x404021;_0x305c69+=_0x155df7)this['_doProcessBlock'](_0x3ffdea,_0x305c69);_0x251012=_0x3ffdea['splice'](0x0,_0x404021),_0x45e738[_0x16191a(0x1a3)]-=_0x196830;}return new _0x2f9bc6[(_0x16191a(0x2ef))](_0x251012,_0x196830);},'clone':function(){var _0x458479=_0xd14c9e,_0xb3ed76=_0x14d9b5['clone']['call'](this);return _0xb3ed76[_0x458479(0x1bf)]=this[_0x458479(0x1bf)]['clone'](),_0xb3ed76;},'_minBufferSize':0x0});_0xa8e699[_0xd14c9e(0x42e)]=_0x1be83b['extend']({'cfg':_0x14d9b5[_0xd14c9e(0x353)](),'init':function(_0x2ad5a5){var _0x1ffa26=_0xd14c9e;this['cfg']=this[_0x1ffa26(0x1e3)][_0x1ffa26(0x353)](_0x2ad5a5),this[_0x1ffa26(0x283)]();},'reset':function(){var _0x1c9436=_0xd14c9e;_0x1be83b[_0x1c9436(0x283)][_0x1c9436(0x3f7)](this),this[_0x1c9436(0x3a9)]();},'update':function(_0x4b3385){var _0x35f158=_0xd14c9e;return this[_0x35f158(0x3e4)](_0x4b3385),this[_0x35f158(0x210)](),this;},'finalize':function(_0x381108){var _0x37bc79=_0xd14c9e;_0x381108&&this[_0x37bc79(0x3e4)](_0x381108);var _0x4f20c6=this['_doFinalize']();return _0x4f20c6;},'blockSize':0x10,'_createHelper':function(_0x5cc705){return function(_0x4c38a7,_0x41f217){var _0x36be92=_0x32e5;return new _0x5cc705[(_0x36be92(0x2ef))](_0x41f217)['finalize'](_0x4c38a7);};},'_createHmacHelper':function(_0x3d6c1f){return function(_0x350f32,_0x241b83){var _0x4fd208=_0x32e5;return new _0x488672[(_0x4fd208(0x271))][(_0x4fd208(0x2ef))](_0x3d6c1f,_0x241b83)['finalize'](_0x350f32);};}});var _0x488672=_0x3e0cd7[_0xd14c9e(0x3b1)]={};return _0x3e0cd7;}(Math);return _0x303ed4;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x285015(0x24c)],zt;function Ri(){return zt||(zt=0x1,function(_0x236ea8,_0x26c996){(function(_0x36d2c7,_0x6d821){var _0x30794f=_0x32e5;_0x236ea8[_0x30794f(0x24c)]=_0x6d821(te());}(hn,function(_0x2362b1){var _0x5a532=_0x32e5;return(function(){var _0x36f549=_0x32e5,_0x1ee771=_0x2362b1,_0x483669=_0x1ee771[_0x36f549(0x2da)],_0x30d482=_0x483669[_0x36f549(0x343)],_0x262ac8=_0x1ee771[_0x36f549(0x20c)];_0x262ac8['Base64']={'stringify':function(_0x1b9e95){var _0x49b551=_0x36f549,_0x447867=_0x1b9e95['words'],_0xf037ca=_0x1b9e95[_0x49b551(0x1a3)],_0x3b51bc=this[_0x49b551(0x26f)];_0x1b9e95[_0x49b551(0x3a7)]();for(var _0x222b26=[],_0x2aa756=0x0;_0x2aa756<_0xf037ca;_0x2aa756+=0x3)for(var _0x347347=_0x447867[_0x2aa756>>>0x2]>>>0x18-_0x2aa756%0x4*0x8&0xff,_0x335b0b=_0x447867[_0x2aa756+0x1>>>0x2]>>>0x18-(_0x2aa756+0x1)%0x4*0x8&0xff,_0x5ec467=_0x447867[_0x2aa756+0x2>>>0x2]>>>0x18-(_0x2aa756+0x2)%0x4*0x8&0xff,_0x414f44=_0x347347<<0x10|_0x335b0b<<0x8|_0x5ec467,_0x5e6bb5=0x0;_0x5e6bb5<0x4&&_0x2aa756+_0x5e6bb5*0.75<_0xf037ca;_0x5e6bb5++)_0x222b26['push'](_0x3b51bc[_0x49b551(0x33b)](_0x414f44>>>0x6*(0x3-_0x5e6bb5)&0x3f));var _0x2a21e0=_0x3b51bc[_0x49b551(0x33b)](0x40);if(_0x2a21e0){for(;_0x222b26[_0x49b551(0x305)]%0x4;)_0x222b26['push'](_0x2a21e0);}return _0x222b26[_0x49b551(0x42c)]('');},'parse':function(_0x273852){var _0x1a7fe3=_0x36f549,_0x5e1b1e=_0x273852[_0x1a7fe3(0x305)],_0x494f82=this[_0x1a7fe3(0x26f)],_0x4952f0=this[_0x1a7fe3(0x3e1)];if(!_0x4952f0){_0x4952f0=this[_0x1a7fe3(0x3e1)]=[];for(var _0x626a09=0x0;_0x626a09<_0x494f82[_0x1a7fe3(0x305)];_0x626a09++)_0x4952f0[_0x494f82[_0x1a7fe3(0x2aa)](_0x626a09)]=_0x626a09;}var _0x585081=_0x494f82['charAt'](0x40);if(_0x585081){var _0x4b8569=_0x273852['indexOf'](_0x585081);_0x4b8569!==-0x1&&(_0x5e1b1e=_0x4b8569);}return _0x2a9ea4(_0x273852,_0x5e1b1e,_0x4952f0);},'_map':_0x36f549(0x15b)};function _0x2a9ea4(_0x30fca7,_0x1e4ad3,_0x5e49c1){var _0x2cd69f=_0x36f549;for(var _0x2b6519=[],_0x41e125=0x0,_0x153174=0x0;_0x153174<_0x1e4ad3;_0x153174++)if(_0x153174%0x4){var _0x55a2c1=_0x5e49c1[_0x30fca7[_0x2cd69f(0x2aa)](_0x153174-0x1)]<<_0x153174%0x4*0x2,_0x53198d=_0x5e49c1[_0x30fca7[_0x2cd69f(0x2aa)](_0x153174)]>>>0x6-_0x153174%0x4*0x2,_0x43ac03=_0x55a2c1|_0x53198d;_0x2b6519[_0x41e125>>>0x2]|=_0x43ac03<<0x18-_0x41e125%0x4*0x8,_0x41e125++;}return _0x30d482[_0x2cd69f(0x28c)](_0x2b6519,_0x41e125);}}()),_0x2362b1[_0x5a532(0x20c)][_0x5a532(0x274)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x285015(0x24c)],Jt;function ln(){var _0x28cc3e=_0x285015;return Jt||(Jt=0x1,function(_0x5aefb0,_0x31542c){(function(_0xd96208,_0x29e44d){var _0x52a958=_0x32e5;_0x5aefb0[_0x52a958(0x24c)]=_0x29e44d(te());}(_n,function(_0x578f8d){var _0x4596ab=_0x32e5;return function(_0x1c883d){var _0x4e8625=_0x32e5,_0x3c021a=_0x578f8d,_0x5a20b9=_0x3c021a['lib'],_0x51396f=_0x5a20b9['WordArray'],_0x20149f=_0x5a20b9[_0x4e8625(0x42e)],_0x26b4a0=_0x3c021a['algo'],_0x57e0de=[];(function(){var _0x4c731a=_0x4e8625;for(var _0x489533=0x0;_0x489533<0x40;_0x489533++)_0x57e0de[_0x489533]=_0x1c883d['abs'](_0x1c883d[_0x4c731a(0x34e)](_0x489533+0x1))*0x100000000|0x0;}());var _0x13731e=_0x26b4a0[_0x4e8625(0x44d)]=_0x20149f[_0x4e8625(0x353)]({'_doReset':function(){var _0xe3e0d1=_0x4e8625;this[_0xe3e0d1(0x2fd)]=new _0x51396f[(_0xe3e0d1(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x426201,_0x2477de){var _0x336ba4=_0x4e8625;for(var _0x5da339=0x0;_0x5da339<0x10;_0x5da339++){var _0x1168d1=_0x2477de+_0x5da339,_0x2b53d2=_0x426201[_0x1168d1];_0x426201[_0x1168d1]=(_0x2b53d2<<0x8|_0x2b53d2>>>0x18)&0xff00ff|(_0x2b53d2<<0x18|_0x2b53d2>>>0x8)&0xff00ff00;}var _0x85c5b2=this[_0x336ba4(0x2fd)][_0x336ba4(0x171)],_0xf297a8=_0x426201[_0x2477de+0x0],_0x58a92e=_0x426201[_0x2477de+0x1],_0x3e8505=_0x426201[_0x2477de+0x2],_0x3582ad=_0x426201[_0x2477de+0x3],_0x1f0f7a=_0x426201[_0x2477de+0x4],_0x3b8e3c=_0x426201[_0x2477de+0x5],_0x174a75=_0x426201[_0x2477de+0x6],_0x22bd5a=_0x426201[_0x2477de+0x7],_0x2752a2=_0x426201[_0x2477de+0x8],_0x44e921=_0x426201[_0x2477de+0x9],_0x306a18=_0x426201[_0x2477de+0xa],_0x391b0c=_0x426201[_0x2477de+0xb],_0x368dcf=_0x426201[_0x2477de+0xc],_0x3eaa48=_0x426201[_0x2477de+0xd],_0x1e6280=_0x426201[_0x2477de+0xe],_0x158661=_0x426201[_0x2477de+0xf],_0x14cd53=_0x85c5b2[0x0],_0x478b87=_0x85c5b2[0x1],_0x570d1a=_0x85c5b2[0x2],_0x297ece=_0x85c5b2[0x3];_0x14cd53=_0x165afb(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0xf297a8,0x7,_0x57e0de[0x0]),_0x297ece=_0x165afb(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x58a92e,0xc,_0x57e0de[0x1]),_0x570d1a=_0x165afb(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x3e8505,0x11,_0x57e0de[0x2]),_0x478b87=_0x165afb(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x3582ad,0x16,_0x57e0de[0x3]),_0x14cd53=_0x165afb(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x1f0f7a,0x7,_0x57e0de[0x4]),_0x297ece=_0x165afb(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x3b8e3c,0xc,_0x57e0de[0x5]),_0x570d1a=_0x165afb(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x174a75,0x11,_0x57e0de[0x6]),_0x478b87=_0x165afb(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x22bd5a,0x16,_0x57e0de[0x7]),_0x14cd53=_0x165afb(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x2752a2,0x7,_0x57e0de[0x8]),_0x297ece=_0x165afb(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x44e921,0xc,_0x57e0de[0x9]),_0x570d1a=_0x165afb(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x306a18,0x11,_0x57e0de[0xa]),_0x478b87=_0x165afb(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x391b0c,0x16,_0x57e0de[0xb]),_0x14cd53=_0x165afb(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x368dcf,0x7,_0x57e0de[0xc]),_0x297ece=_0x165afb(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x3eaa48,0xc,_0x57e0de[0xd]),_0x570d1a=_0x165afb(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x1e6280,0x11,_0x57e0de[0xe]),_0x478b87=_0x165afb(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x158661,0x16,_0x57e0de[0xf]),_0x14cd53=_0x20b6a0(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x58a92e,0x5,_0x57e0de[0x10]),_0x297ece=_0x20b6a0(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x174a75,0x9,_0x57e0de[0x11]),_0x570d1a=_0x20b6a0(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x391b0c,0xe,_0x57e0de[0x12]),_0x478b87=_0x20b6a0(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0xf297a8,0x14,_0x57e0de[0x13]),_0x14cd53=_0x20b6a0(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x3b8e3c,0x5,_0x57e0de[0x14]),_0x297ece=_0x20b6a0(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x306a18,0x9,_0x57e0de[0x15]),_0x570d1a=_0x20b6a0(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x158661,0xe,_0x57e0de[0x16]),_0x478b87=_0x20b6a0(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x1f0f7a,0x14,_0x57e0de[0x17]),_0x14cd53=_0x20b6a0(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x44e921,0x5,_0x57e0de[0x18]),_0x297ece=_0x20b6a0(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x1e6280,0x9,_0x57e0de[0x19]),_0x570d1a=_0x20b6a0(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x3582ad,0xe,_0x57e0de[0x1a]),_0x478b87=_0x20b6a0(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x2752a2,0x14,_0x57e0de[0x1b]),_0x14cd53=_0x20b6a0(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x3eaa48,0x5,_0x57e0de[0x1c]),_0x297ece=_0x20b6a0(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x3e8505,0x9,_0x57e0de[0x1d]),_0x570d1a=_0x20b6a0(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x22bd5a,0xe,_0x57e0de[0x1e]),_0x478b87=_0x20b6a0(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x368dcf,0x14,_0x57e0de[0x1f]),_0x14cd53=_0x5147f3(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x3b8e3c,0x4,_0x57e0de[0x20]),_0x297ece=_0x5147f3(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x2752a2,0xb,_0x57e0de[0x21]),_0x570d1a=_0x5147f3(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x391b0c,0x10,_0x57e0de[0x22]),_0x478b87=_0x5147f3(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x1e6280,0x17,_0x57e0de[0x23]),_0x14cd53=_0x5147f3(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x58a92e,0x4,_0x57e0de[0x24]),_0x297ece=_0x5147f3(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x1f0f7a,0xb,_0x57e0de[0x25]),_0x570d1a=_0x5147f3(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x22bd5a,0x10,_0x57e0de[0x26]),_0x478b87=_0x5147f3(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x306a18,0x17,_0x57e0de[0x27]),_0x14cd53=_0x5147f3(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x3eaa48,0x4,_0x57e0de[0x28]),_0x297ece=_0x5147f3(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0xf297a8,0xb,_0x57e0de[0x29]),_0x570d1a=_0x5147f3(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x3582ad,0x10,_0x57e0de[0x2a]),_0x478b87=_0x5147f3(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x174a75,0x17,_0x57e0de[0x2b]),_0x14cd53=_0x5147f3(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x44e921,0x4,_0x57e0de[0x2c]),_0x297ece=_0x5147f3(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x368dcf,0xb,_0x57e0de[0x2d]),_0x570d1a=_0x5147f3(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x158661,0x10,_0x57e0de[0x2e]),_0x478b87=_0x5147f3(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x3e8505,0x17,_0x57e0de[0x2f]),_0x14cd53=_0x4a24e4(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0xf297a8,0x6,_0x57e0de[0x30]),_0x297ece=_0x4a24e4(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x22bd5a,0xa,_0x57e0de[0x31]),_0x570d1a=_0x4a24e4(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x1e6280,0xf,_0x57e0de[0x32]),_0x478b87=_0x4a24e4(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x3b8e3c,0x15,_0x57e0de[0x33]),_0x14cd53=_0x4a24e4(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x368dcf,0x6,_0x57e0de[0x34]),_0x297ece=_0x4a24e4(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x3582ad,0xa,_0x57e0de[0x35]),_0x570d1a=_0x4a24e4(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x306a18,0xf,_0x57e0de[0x36]),_0x478b87=_0x4a24e4(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x58a92e,0x15,_0x57e0de[0x37]),_0x14cd53=_0x4a24e4(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x2752a2,0x6,_0x57e0de[0x38]),_0x297ece=_0x4a24e4(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x158661,0xa,_0x57e0de[0x39]),_0x570d1a=_0x4a24e4(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x174a75,0xf,_0x57e0de[0x3a]),_0x478b87=_0x4a24e4(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x3eaa48,0x15,_0x57e0de[0x3b]),_0x14cd53=_0x4a24e4(_0x14cd53,_0x478b87,_0x570d1a,_0x297ece,_0x1f0f7a,0x6,_0x57e0de[0x3c]),_0x297ece=_0x4a24e4(_0x297ece,_0x14cd53,_0x478b87,_0x570d1a,_0x391b0c,0xa,_0x57e0de[0x3d]),_0x570d1a=_0x4a24e4(_0x570d1a,_0x297ece,_0x14cd53,_0x478b87,_0x3e8505,0xf,_0x57e0de[0x3e]),_0x478b87=_0x4a24e4(_0x478b87,_0x570d1a,_0x297ece,_0x14cd53,_0x44e921,0x15,_0x57e0de[0x3f]),_0x85c5b2[0x0]=_0x85c5b2[0x0]+_0x14cd53|0x0,_0x85c5b2[0x1]=_0x85c5b2[0x1]+_0x478b87|0x0,_0x85c5b2[0x2]=_0x85c5b2[0x2]+_0x570d1a|0x0,_0x85c5b2[0x3]=_0x85c5b2[0x3]+_0x297ece|0x0;},'_doFinalize':function(){var _0x3f46fd=_0x4e8625,_0x5d0281=this[_0x3f46fd(0x1bf)],_0x59ad4e=_0x5d0281['words'],_0x1a97b5=this[_0x3f46fd(0x1ab)]*0x8,_0x3e9d94=_0x5d0281['sigBytes']*0x8;_0x59ad4e[_0x3e9d94>>>0x5]|=0x80<<0x18-_0x3e9d94%0x20;var _0x3f0b00=_0x1c883d[_0x3f46fd(0x18b)](_0x1a97b5/0x100000000),_0x578591=_0x1a97b5;_0x59ad4e[(_0x3e9d94+0x40>>>0x9<<0x4)+0xf]=(_0x3f0b00<<0x8|_0x3f0b00>>>0x18)&0xff00ff|(_0x3f0b00<<0x18|_0x3f0b00>>>0x8)&0xff00ff00,_0x59ad4e[(_0x3e9d94+0x40>>>0x9<<0x4)+0xe]=(_0x578591<<0x8|_0x578591>>>0x18)&0xff00ff|(_0x578591<<0x18|_0x578591>>>0x8)&0xff00ff00,_0x5d0281[_0x3f46fd(0x1a3)]=(_0x59ad4e['length']+0x1)*0x4,this[_0x3f46fd(0x210)]();for(var _0x46cb6d=this['_hash'],_0xee78a8=_0x46cb6d[_0x3f46fd(0x171)],_0x365b5f=0x0;_0x365b5f<0x4;_0x365b5f++){var _0x22c9da=_0xee78a8[_0x365b5f];_0xee78a8[_0x365b5f]=(_0x22c9da<<0x8|_0x22c9da>>>0x18)&0xff00ff|(_0x22c9da<<0x18|_0x22c9da>>>0x8)&0xff00ff00;}return _0x46cb6d;},'clone':function(){var _0x5dd829=_0x4e8625,_0x1a2e56=_0x20149f[_0x5dd829(0x32e)][_0x5dd829(0x3f7)](this);return _0x1a2e56['_hash']=this[_0x5dd829(0x2fd)]['clone'](),_0x1a2e56;}});function _0x165afb(_0x18c735,_0x986c3b,_0x3239c6,_0x5f1359,_0x299488,_0x14b408,_0x191d6e){var _0x37a84b=_0x18c735+(_0x986c3b&_0x3239c6|~_0x986c3b&_0x5f1359)+_0x299488+_0x191d6e;return(_0x37a84b<<_0x14b408|_0x37a84b>>>0x20-_0x14b408)+_0x986c3b;}function _0x20b6a0(_0x561b19,_0x36795b,_0x87128b,_0x4abe2d,_0x2d1be6,_0x332951,_0x24ad6d){var _0x3804c2=_0x561b19+(_0x36795b&_0x4abe2d|_0x87128b&~_0x4abe2d)+_0x2d1be6+_0x24ad6d;return(_0x3804c2<<_0x332951|_0x3804c2>>>0x20-_0x332951)+_0x36795b;}function _0x5147f3(_0x159406,_0x48871c,_0x356f51,_0x27a97f,_0xad8951,_0x2b3f6d,_0x50383a){var _0x403592=_0x159406+(_0x48871c^_0x356f51^_0x27a97f)+_0xad8951+_0x50383a;return(_0x403592<<_0x2b3f6d|_0x403592>>>0x20-_0x2b3f6d)+_0x48871c;}function _0x4a24e4(_0x1ea031,_0x8b3fa,_0x38cb33,_0x5d6432,_0xb6d833,_0x8951d,_0x3cb4a8){var _0x2df385=_0x1ea031+(_0x38cb33^(_0x8b3fa|~_0x5d6432))+_0xb6d833+_0x3cb4a8;return(_0x2df385<<_0x8951d|_0x2df385>>>0x20-_0x8951d)+_0x8b3fa;}_0x3c021a[_0x4e8625(0x44d)]=_0x20149f[_0x4e8625(0x342)](_0x13731e),_0x3c021a[_0x4e8625(0x309)]=_0x20149f[_0x4e8625(0x40b)](_0x13731e);}(Math),_0x578f8d[_0x4596ab(0x44d)];}));}(Ye)),Ye[_0x28cc3e(0x24c)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x285015(0x24c)],Xt;function dn(){var _0x8be718=_0x285015;return Xt||(Xt=0x1,function(_0x3c44fd,_0x15d6f5){(function(_0x24b675,_0x2a4088){var _0x3a14d8=_0x32e5;_0x3c44fd[_0x3a14d8(0x24c)]=_0x2a4088(te());}(un,function(_0x2968a7){var _0x412259=_0x32e5;return(function(){var _0x511072=_0x32e5,_0x42ec6f=_0x2968a7,_0x2fab2f=_0x42ec6f['lib'],_0x10f2ea=_0x2fab2f[_0x511072(0x343)],_0x288ad2=_0x2fab2f['Hasher'],_0xeb4b47=_0x42ec6f[_0x511072(0x3b1)],_0x87dd2d=[],_0x471dc9=_0xeb4b47[_0x511072(0x34b)]=_0x288ad2[_0x511072(0x353)]({'_doReset':function(){var _0x1c81ba=_0x511072;this[_0x1c81ba(0x2fd)]=new _0x10f2ea[(_0x1c81ba(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c0cd6,_0x5a245e){var _0x535c04=_0x511072;for(var _0x3a40c0=this[_0x535c04(0x2fd)][_0x535c04(0x171)],_0x2212b0=_0x3a40c0[0x0],_0x4356a0=_0x3a40c0[0x1],_0x185e88=_0x3a40c0[0x2],_0x4d512a=_0x3a40c0[0x3],_0x43a463=_0x3a40c0[0x4],_0xc12603=0x0;_0xc12603<0x50;_0xc12603++){if(_0xc12603<0x10)_0x87dd2d[_0xc12603]=_0x2c0cd6[_0x5a245e+_0xc12603]|0x0;else{var _0x3d9961=_0x87dd2d[_0xc12603-0x3]^_0x87dd2d[_0xc12603-0x8]^_0x87dd2d[_0xc12603-0xe]^_0x87dd2d[_0xc12603-0x10];_0x87dd2d[_0xc12603]=_0x3d9961<<0x1|_0x3d9961>>>0x1f;}var _0xa8cd07=(_0x2212b0<<0x5|_0x2212b0>>>0x1b)+_0x43a463+_0x87dd2d[_0xc12603];_0xc12603<0x14?_0xa8cd07+=(_0x4356a0&_0x185e88|~_0x4356a0&_0x4d512a)+0x5a827999:_0xc12603<0x28?_0xa8cd07+=(_0x4356a0^_0x185e88^_0x4d512a)+0x6ed9eba1:_0xc12603<0x3c?_0xa8cd07+=(_0x4356a0&_0x185e88|_0x4356a0&_0x4d512a|_0x185e88&_0x4d512a)-0x70e44324:_0xa8cd07+=(_0x4356a0^_0x185e88^_0x4d512a)-0x359d3e2a,_0x43a463=_0x4d512a,_0x4d512a=_0x185e88,_0x185e88=_0x4356a0<<0x1e|_0x4356a0>>>0x2,_0x4356a0=_0x2212b0,_0x2212b0=_0xa8cd07;}_0x3a40c0[0x0]=_0x3a40c0[0x0]+_0x2212b0|0x0,_0x3a40c0[0x1]=_0x3a40c0[0x1]+_0x4356a0|0x0,_0x3a40c0[0x2]=_0x3a40c0[0x2]+_0x185e88|0x0,_0x3a40c0[0x3]=_0x3a40c0[0x3]+_0x4d512a|0x0,_0x3a40c0[0x4]=_0x3a40c0[0x4]+_0x43a463|0x0;},'_doFinalize':function(){var _0x1f1e9d=_0x511072,_0x2143a2=this[_0x1f1e9d(0x1bf)],_0x48cabf=_0x2143a2[_0x1f1e9d(0x171)],_0x57ecc7=this[_0x1f1e9d(0x1ab)]*0x8,_0xe9d043=_0x2143a2['sigBytes']*0x8;return _0x48cabf[_0xe9d043>>>0x5]|=0x80<<0x18-_0xe9d043%0x20,_0x48cabf[(_0xe9d043+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f1e9d(0x18b)](_0x57ecc7/0x100000000),_0x48cabf[(_0xe9d043+0x40>>>0x9<<0x4)+0xf]=_0x57ecc7,_0x2143a2['sigBytes']=_0x48cabf['length']*0x4,this[_0x1f1e9d(0x210)](),this[_0x1f1e9d(0x2fd)];},'clone':function(){var _0x2629f6=_0x511072,_0x58e5bf=_0x288ad2[_0x2629f6(0x32e)][_0x2629f6(0x3f7)](this);return _0x58e5bf[_0x2629f6(0x2fd)]=this[_0x2629f6(0x2fd)][_0x2629f6(0x32e)](),_0x58e5bf;}});_0x42ec6f[_0x511072(0x34b)]=_0x288ad2[_0x511072(0x342)](_0x471dc9),_0x42ec6f[_0x511072(0x273)]=_0x288ad2['_createHmacHelper'](_0x471dc9);}()),_0x2968a7[_0x412259(0x34b)];}));}(qe)),qe[_0x8be718(0x24c)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x2d75b3=_0x285015;return Zt||(Zt=0x1,function(_0x67f966,_0x305f37){(function(_0x393b65,_0x15dfc9){var _0x89beec=_0x32e5;_0x67f966[_0x89beec(0x24c)]=_0x15dfc9(te());}(fn,function(_0x1a460c){(function(){var _0xf0470=_0x32e5,_0x352587=_0x1a460c,_0x80f662=_0x352587[_0xf0470(0x2da)],_0x145b71=_0x80f662['Base'],_0x653651=_0x352587['enc'],_0x25221c=_0x653651['Utf8'],_0x4fa5ed=_0x352587[_0xf0470(0x3b1)];_0x4fa5ed[_0xf0470(0x271)]=_0x145b71['extend']({'init':function(_0x37a71b,_0x37d625){var _0x551a6a=_0xf0470;_0x37a71b=this[_0x551a6a(0x2a2)]=new _0x37a71b[(_0x551a6a(0x2ef))](),typeof _0x37d625=='string'&&(_0x37d625=_0x25221c[_0x551a6a(0x26d)](_0x37d625));var _0xba586e=_0x37a71b[_0x551a6a(0x304)],_0x5091f3=_0xba586e*0x4;_0x37d625[_0x551a6a(0x1a3)]>_0x5091f3&&(_0x37d625=_0x37a71b[_0x551a6a(0x163)](_0x37d625)),_0x37d625['clamp']();for(var _0x18d768=this[_0x551a6a(0x28b)]=_0x37d625[_0x551a6a(0x32e)](),_0x2257ec=this[_0x551a6a(0x2a9)]=_0x37d625[_0x551a6a(0x32e)](),_0x7761b6=_0x18d768['words'],_0x3f57b0=_0x2257ec[_0x551a6a(0x171)],_0x318a6f=0x0;_0x318a6f<_0xba586e;_0x318a6f++)_0x7761b6[_0x318a6f]^=0x5c5c5c5c,_0x3f57b0[_0x318a6f]^=0x36363636;_0x18d768['sigBytes']=_0x2257ec[_0x551a6a(0x1a3)]=_0x5091f3,this[_0x551a6a(0x283)]();},'reset':function(){var _0x14937c=_0xf0470,_0x1a3a30=this[_0x14937c(0x2a2)];_0x1a3a30[_0x14937c(0x283)](),_0x1a3a30[_0x14937c(0x403)](this['_iKey']);},'update':function(_0x40401c){var _0x22f939=_0xf0470;return this[_0x22f939(0x2a2)]['update'](_0x40401c),this;},'finalize':function(_0x174193){var _0x310fdf=_0xf0470,_0x5368cf=this[_0x310fdf(0x2a2)],_0x2ebbae=_0x5368cf[_0x310fdf(0x163)](_0x174193);_0x5368cf[_0x310fdf(0x283)]();var _0x48ac0e=_0x5368cf['finalize'](this[_0x310fdf(0x28b)][_0x310fdf(0x32e)]()[_0x310fdf(0x31c)](_0x2ebbae));return _0x48ac0e;}});}());}));}(ze)),ze[_0x2d75b3(0x24c)];}var pn=Ke['exports'],Qt;function Oi(){var _0x22c13c=_0x285015;return Qt||(Qt=0x1,function(_0x1c2f26,_0x4b554f){(function(_0x1598f8,_0x5baadd,_0x2ed466){var _0x171879=_0x32e5;_0x1c2f26[_0x171879(0x24c)]=_0x5baadd(te(),dn(),vn());}(pn,function(_0x5cdf7c){return(function(){var _0x3c1ae7=_0x32e5,_0x1166f=_0x5cdf7c,_0xe91874=_0x1166f[_0x3c1ae7(0x2da)],_0xdae3bd=_0xe91874[_0x3c1ae7(0x3bf)],_0x3d9977=_0xe91874[_0x3c1ae7(0x343)],_0x35951f=_0x1166f[_0x3c1ae7(0x3b1)],_0x2d089d=_0x35951f[_0x3c1ae7(0x44d)],_0x3ae27d=_0x35951f[_0x3c1ae7(0x424)]=_0xdae3bd[_0x3c1ae7(0x353)]({'cfg':_0xdae3bd['extend']({'keySize':0x80/0x20,'hasher':_0x2d089d,'iterations':0x1}),'init':function(_0x37a9dd){var _0xe94c04=_0x3c1ae7;this[_0xe94c04(0x1e3)]=this[_0xe94c04(0x1e3)][_0xe94c04(0x353)](_0x37a9dd);},'compute':function(_0x31af06,_0x397947){var _0x1afa24=_0x3c1ae7;for(var _0x1e923c,_0x1a804c=this[_0x1afa24(0x1e3)],_0x1be22f=_0x1a804c[_0x1afa24(0x239)]['create'](),_0x233583=_0x3d9977[_0x1afa24(0x28c)](),_0x30d5c5=_0x233583['words'],_0x26f357=_0x1a804c[_0x1afa24(0x2f7)],_0x558721=_0x1a804c['iterations'];_0x30d5c5[_0x1afa24(0x305)]<_0x26f357;){_0x1e923c&&_0x1be22f[_0x1afa24(0x403)](_0x1e923c),_0x1e923c=_0x1be22f[_0x1afa24(0x403)](_0x31af06)[_0x1afa24(0x163)](_0x397947),_0x1be22f[_0x1afa24(0x283)]();for(var _0x5eb87c=0x1;_0x5eb87c<_0x558721;_0x5eb87c++)_0x1e923c=_0x1be22f[_0x1afa24(0x163)](_0x1e923c),_0x1be22f[_0x1afa24(0x283)]();_0x233583[_0x1afa24(0x31c)](_0x1e923c);}return _0x233583[_0x1afa24(0x1a3)]=_0x26f357*0x4,_0x233583;}});_0x1166f[_0x3c1ae7(0x424)]=function(_0x56bfab,_0x3a8072,_0x1a7787){var _0x3cf8be=_0x3c1ae7;return _0x3ae27d['create'](_0x1a7787)[_0x3cf8be(0x294)](_0x56bfab,_0x3a8072);};}()),_0x5cdf7c['EvpKDF'];}));}(Ke)),Ke[_0x22c13c(0x24c)];}var Je={'exports':{}},mn=Je['exports'],ei;function bi(){var _0x4f411d=_0x285015;return ei||(ei=0x1,function(_0x199990,_0x5f16df){(function(_0x46eaf5,_0x22d47f,_0x1366dc){var _0x4b904f=_0x32e5;_0x199990[_0x4b904f(0x24c)]=_0x22d47f(te(),Oi());}(mn,function(_0x24cafe){var _0x20a286=_0x32e5;_0x24cafe[_0x20a286(0x2da)][_0x20a286(0x3cf)]||function(_0x722df5){var _0x42bcb1=_0x20a286,_0x4059e3=_0x24cafe,_0x537827=_0x4059e3['lib'],_0x131f12=_0x537827['Base'],_0xf59890=_0x537827[_0x42bcb1(0x343)],_0x1bf551=_0x537827['BufferedBlockAlgorithm'],_0x31aa98=_0x4059e3[_0x42bcb1(0x20c)];_0x31aa98['Utf8'];var _0x52428d=_0x31aa98[_0x42bcb1(0x274)],_0x3ff939=_0x4059e3[_0x42bcb1(0x3b1)],_0x2e04ad=_0x3ff939[_0x42bcb1(0x424)],_0x27056e=_0x537827[_0x42bcb1(0x3cf)]=_0x1bf551[_0x42bcb1(0x353)]({'cfg':_0x131f12[_0x42bcb1(0x353)](),'createEncryptor':function(_0x36688c,_0x5a5605){var _0xdd40b1=_0x42bcb1;return this[_0xdd40b1(0x28c)](this[_0xdd40b1(0x21a)],_0x36688c,_0x5a5605);},'createDecryptor':function(_0x11d57d,_0x15f439){var _0x4562cc=_0x42bcb1;return this[_0x4562cc(0x28c)](this[_0x4562cc(0x17b)],_0x11d57d,_0x15f439);},'init':function(_0x4e1b40,_0xd7b3f5,_0x4a6d50){var _0x545390=_0x42bcb1;this[_0x545390(0x1e3)]=this['cfg'][_0x545390(0x353)](_0x4a6d50),this[_0x545390(0x31f)]=_0x4e1b40,this[_0x545390(0x395)]=_0xd7b3f5,this[_0x545390(0x283)]();},'reset':function(){var _0x5770bb=_0x42bcb1;_0x1bf551['reset'][_0x5770bb(0x3f7)](this),this[_0x5770bb(0x3a9)]();},'process':function(_0x57e807){var _0x2e1c10=_0x42bcb1;return this[_0x2e1c10(0x3e4)](_0x57e807),this['_process']();},'finalize':function(_0x2affa8){var _0x3bbdb9=_0x42bcb1;_0x2affa8&&this[_0x3bbdb9(0x3e4)](_0x2affa8);var _0x164c8f=this['_doFinalize']();return _0x164c8f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x36133a(_0x12f3c7){var _0x18fdad=_0x32e5;return typeof _0x12f3c7==_0x18fdad(0x253)?_0xb3c8bc:_0x1ca002;}return function(_0x496ff4){return{'encrypt':function(_0x30f055,_0x2a7b2d,_0x3c06c8){var _0x1f7357=_0x32e5;return _0x36133a(_0x2a7b2d)[_0x1f7357(0x2e7)](_0x496ff4,_0x30f055,_0x2a7b2d,_0x3c06c8);},'decrypt':function(_0x487db6,_0x34e57c,_0xd5a6fc){var _0x2b7292=_0x32e5;return _0x36133a(_0x34e57c)[_0x2b7292(0x337)](_0x496ff4,_0x487db6,_0x34e57c,_0xd5a6fc);}};};}())});_0x537827[_0x42bcb1(0x19a)]=_0x27056e[_0x42bcb1(0x353)]({'_doFinalize':function(){var _0x3f8d6c=this['_process'](!0x0);return _0x3f8d6c;},'blockSize':0x1});var _0x5449d4=_0x4059e3[_0x42bcb1(0x26e)]={},_0x3a0840=_0x537827['BlockCipherMode']=_0x131f12[_0x42bcb1(0x353)]({'createEncryptor':function(_0x5089a5,_0x21798f){var _0xf7f00=_0x42bcb1;return this[_0xf7f00(0x1d2)][_0xf7f00(0x28c)](_0x5089a5,_0x21798f);},'createDecryptor':function(_0x5850de,_0x3a7d8c){var _0x33180c=_0x42bcb1;return this[_0x33180c(0x227)][_0x33180c(0x28c)](_0x5850de,_0x3a7d8c);},'init':function(_0x5ab6cd,_0x5410d9){var _0x3eb3e0=_0x42bcb1;this['_cipher']=_0x5ab6cd,this[_0x3eb3e0(0x247)]=_0x5410d9;}}),_0x218f46=_0x5449d4[_0x42bcb1(0x36f)]=(function(){var _0xe330ba=_0x42bcb1,_0x2a18e5=_0x3a0840[_0xe330ba(0x353)]();_0x2a18e5[_0xe330ba(0x1d2)]=_0x2a18e5[_0xe330ba(0x353)]({'processBlock':function(_0x2692fd,_0x1f71ab){var _0x3ec9e0=_0xe330ba,_0x2c937a=this['_cipher'],_0x80142c=_0x2c937a[_0x3ec9e0(0x304)];_0x8a862b[_0x3ec9e0(0x3f7)](this,_0x2692fd,_0x1f71ab,_0x80142c),_0x2c937a[_0x3ec9e0(0x260)](_0x2692fd,_0x1f71ab),this['_prevBlock']=_0x2692fd[_0x3ec9e0(0x26c)](_0x1f71ab,_0x1f71ab+_0x80142c);}}),_0x2a18e5[_0xe330ba(0x227)]=_0x2a18e5['extend']({'processBlock':function(_0x50fdda,_0x1d118f){var _0xddb2b1=_0xe330ba,_0x504a7c=this[_0xddb2b1(0x218)],_0x5a15ec=_0x504a7c[_0xddb2b1(0x304)],_0x429807=_0x50fdda[_0xddb2b1(0x26c)](_0x1d118f,_0x1d118f+_0x5a15ec);_0x504a7c[_0xddb2b1(0x1a1)](_0x50fdda,_0x1d118f),_0x8a862b[_0xddb2b1(0x3f7)](this,_0x50fdda,_0x1d118f,_0x5a15ec),this[_0xddb2b1(0x3c2)]=_0x429807;}});function _0x8a862b(_0x518ffd,_0x5ba153,_0x3e8361){var _0x9101e9=_0xe330ba,_0x252524,_0x45e048=this[_0x9101e9(0x247)];_0x45e048?(_0x252524=_0x45e048,this['_iv']=_0x722df5):_0x252524=this[_0x9101e9(0x3c2)];for(var _0x5e160b=0x0;_0x5e160b<_0x3e8361;_0x5e160b++)_0x518ffd[_0x5ba153+_0x5e160b]^=_0x252524[_0x5e160b];}return _0x2a18e5;}()),_0x4b6103=_0x4059e3['pad']={},_0xa1ea78=_0x4b6103[_0x42bcb1(0x330)]={'pad':function(_0x107ee8,_0x2c22d9){var _0x438c48=_0x42bcb1;for(var _0x5c70ff=_0x2c22d9*0x4,_0x2b7195=_0x5c70ff-_0x107ee8[_0x438c48(0x1a3)]%_0x5c70ff,_0x218ac7=_0x2b7195<<0x18|_0x2b7195<<0x10|_0x2b7195<<0x8|_0x2b7195,_0x50ca14=[],_0x46c7ea=0x0;_0x46c7ea<_0x2b7195;_0x46c7ea+=0x4)_0x50ca14[_0x438c48(0x3ad)](_0x218ac7);var _0x25a760=_0xf59890[_0x438c48(0x28c)](_0x50ca14,_0x2b7195);_0x107ee8[_0x438c48(0x31c)](_0x25a760);},'unpad':function(_0x378447){var _0x36b63f=_0x42bcb1,_0x3c8ccb=_0x378447['words'][_0x378447[_0x36b63f(0x1a3)]-0x1>>>0x2]&0xff;_0x378447[_0x36b63f(0x1a3)]-=_0x3c8ccb;}};_0x537827[_0x42bcb1(0x252)]=_0x27056e[_0x42bcb1(0x353)]({'cfg':_0x27056e[_0x42bcb1(0x1e3)][_0x42bcb1(0x353)]({'mode':_0x218f46,'padding':_0xa1ea78}),'reset':function(){var _0x211eb6=_0x42bcb1,_0x48b694;_0x27056e[_0x211eb6(0x283)][_0x211eb6(0x3f7)](this);var _0x45641b=this['cfg'],_0x1af98b=_0x45641b['iv'],_0x38e155=_0x45641b[_0x211eb6(0x26e)];this['_xformMode']==this[_0x211eb6(0x21a)]?_0x48b694=_0x38e155[_0x211eb6(0x426)]:(_0x48b694=_0x38e155['createDecryptor'],this[_0x211eb6(0x1b3)]=0x1),this[_0x211eb6(0x289)]&&this[_0x211eb6(0x289)]['__creator']==_0x48b694?this[_0x211eb6(0x289)]['init'](this,_0x1af98b&&_0x1af98b[_0x211eb6(0x171)]):(this['_mode']=_0x48b694[_0x211eb6(0x3f7)](_0x38e155,this,_0x1af98b&&_0x1af98b[_0x211eb6(0x171)]),this[_0x211eb6(0x289)][_0x211eb6(0x349)]=_0x48b694);},'_doProcessBlock':function(_0x3187cf,_0x337217){var _0x7e83b2=_0x42bcb1;this[_0x7e83b2(0x289)][_0x7e83b2(0x1ac)](_0x3187cf,_0x337217);},'_doFinalize':function(){var _0x58d9ef=_0x42bcb1,_0xb4291e,_0x111514=this[_0x58d9ef(0x1e3)]['padding'];return this[_0x58d9ef(0x31f)]==this[_0x58d9ef(0x21a)]?(_0x111514['pad'](this[_0x58d9ef(0x1bf)],this['blockSize']),_0xb4291e=this[_0x58d9ef(0x210)](!0x0)):(_0xb4291e=this[_0x58d9ef(0x210)](!0x0),_0x111514[_0x58d9ef(0x40a)](_0xb4291e)),_0xb4291e;},'blockSize':0x80/0x20});var _0x565a3d=_0x537827[_0x42bcb1(0x1c8)]=_0x131f12[_0x42bcb1(0x353)]({'init':function(_0x4c010f){var _0x2fc798=_0x42bcb1;this[_0x2fc798(0x422)](_0x4c010f);},'toString':function(_0x57f16c){var _0x46b6c1=_0x42bcb1;return(_0x57f16c||this[_0x46b6c1(0x420)])[_0x46b6c1(0x24e)](this);}}),_0x1d2644=_0x4059e3['format']={},_0x413d93=_0x1d2644[_0x42bcb1(0x16a)]={'stringify':function(_0x3bb815){var _0x4492f1=_0x42bcb1,_0x2e464f,_0x68f2ce=_0x3bb815[_0x4492f1(0x254)],_0x1128fa=_0x3bb815[_0x4492f1(0x390)];return _0x1128fa?_0x2e464f=_0xf59890[_0x4492f1(0x28c)]([0x53616c74,0x65645f5f])[_0x4492f1(0x31c)](_0x1128fa)[_0x4492f1(0x31c)](_0x68f2ce):_0x2e464f=_0x68f2ce,_0x2e464f['toString'](_0x52428d);},'parse':function(_0x2d4fe7){var _0x3c27d3=_0x42bcb1,_0x589b64,_0x5ea9bf=_0x52428d[_0x3c27d3(0x26d)](_0x2d4fe7),_0x428679=_0x5ea9bf[_0x3c27d3(0x171)];return _0x428679[0x0]==0x53616c74&&_0x428679[0x1]==0x65645f5f&&(_0x589b64=_0xf59890[_0x3c27d3(0x28c)](_0x428679['slice'](0x2,0x4)),_0x428679['splice'](0x0,0x4),_0x5ea9bf[_0x3c27d3(0x1a3)]-=0x10),_0x565a3d[_0x3c27d3(0x28c)]({'ciphertext':_0x5ea9bf,'salt':_0x589b64});}},_0x1ca002=_0x537827[_0x42bcb1(0x3c0)]=_0x131f12[_0x42bcb1(0x353)]({'cfg':_0x131f12['extend']({'format':_0x413d93}),'encrypt':function(_0x9aa61b,_0x4ffd0c,_0x57b8d5,_0x5ddddb){var _0x1cd71b=_0x42bcb1;_0x5ddddb=this[_0x1cd71b(0x1e3)][_0x1cd71b(0x353)](_0x5ddddb);var _0x59322f=_0x9aa61b[_0x1cd71b(0x426)](_0x57b8d5,_0x5ddddb),_0x236243=_0x59322f['finalize'](_0x4ffd0c),_0x130f8f=_0x59322f[_0x1cd71b(0x1e3)];return _0x565a3d[_0x1cd71b(0x28c)]({'ciphertext':_0x236243,'key':_0x57b8d5,'iv':_0x130f8f['iv'],'algorithm':_0x9aa61b,'mode':_0x130f8f[_0x1cd71b(0x26e)],'padding':_0x130f8f[_0x1cd71b(0x196)],'blockSize':_0x9aa61b[_0x1cd71b(0x304)],'formatter':_0x5ddddb[_0x1cd71b(0x402)]});},'decrypt':function(_0x57bd33,_0x5c6184,_0x1674c6,_0x64868d){var _0x18a138=_0x42bcb1;_0x64868d=this[_0x18a138(0x1e3)][_0x18a138(0x353)](_0x64868d),_0x5c6184=this[_0x18a138(0x370)](_0x5c6184,_0x64868d[_0x18a138(0x402)]);var _0x40cba2=_0x57bd33['createDecryptor'](_0x1674c6,_0x64868d)['finalize'](_0x5c6184[_0x18a138(0x254)]);return _0x40cba2;},'_parse':function(_0x37924e,_0x456d81){return typeof _0x37924e=='string'?_0x456d81['parse'](_0x37924e,this):_0x37924e;}}),_0x4a61cd=_0x4059e3['kdf']={},_0x59643b=_0x4a61cd[_0x42bcb1(0x16a)]={'execute':function(_0x34df7f,_0x58da84,_0x20840b,_0x5e13f9,_0x38dea8){var _0x493ea1=_0x42bcb1;if(_0x5e13f9||(_0x5e13f9=_0xf59890[_0x493ea1(0x372)](0x40/0x8)),_0x38dea8)var _0x5533c8=_0x2e04ad[_0x493ea1(0x28c)]({'keySize':_0x58da84+_0x20840b,'hasher':_0x38dea8})[_0x493ea1(0x294)](_0x34df7f,_0x5e13f9);else var _0x5533c8=_0x2e04ad[_0x493ea1(0x28c)]({'keySize':_0x58da84+_0x20840b})[_0x493ea1(0x294)](_0x34df7f,_0x5e13f9);var _0x1b0ad8=_0xf59890[_0x493ea1(0x28c)](_0x5533c8[_0x493ea1(0x171)]['slice'](_0x58da84),_0x20840b*0x4);return _0x5533c8[_0x493ea1(0x1a3)]=_0x58da84*0x4,_0x565a3d[_0x493ea1(0x28c)]({'key':_0x5533c8,'iv':_0x1b0ad8,'salt':_0x5e13f9});}},_0xb3c8bc=_0x537827[_0x42bcb1(0x21c)]=_0x1ca002[_0x42bcb1(0x353)]({'cfg':_0x1ca002[_0x42bcb1(0x1e3)][_0x42bcb1(0x353)]({'kdf':_0x59643b}),'encrypt':function(_0xb7a315,_0x1ee5b5,_0x8d1dce,_0x1fa141){var _0x319c75=_0x42bcb1;_0x1fa141=this[_0x319c75(0x1e3)][_0x319c75(0x353)](_0x1fa141);var _0x476761=_0x1fa141[_0x319c75(0x1ea)]['execute'](_0x8d1dce,_0xb7a315[_0x319c75(0x2f7)],_0xb7a315['ivSize'],_0x1fa141[_0x319c75(0x390)],_0x1fa141[_0x319c75(0x239)]);_0x1fa141['iv']=_0x476761['iv'];var _0x26a7ff=_0x1ca002[_0x319c75(0x2e7)]['call'](this,_0xb7a315,_0x1ee5b5,_0x476761['key'],_0x1fa141);return _0x26a7ff[_0x319c75(0x422)](_0x476761),_0x26a7ff;},'decrypt':function(_0x4c6c4c,_0x2fdde4,_0x1a8ead,_0xbcc2dc){var _0x2dd914=_0x42bcb1;_0xbcc2dc=this[_0x2dd914(0x1e3)]['extend'](_0xbcc2dc),_0x2fdde4=this[_0x2dd914(0x370)](_0x2fdde4,_0xbcc2dc[_0x2dd914(0x402)]);var _0xe78998=_0xbcc2dc[_0x2dd914(0x1ea)][_0x2dd914(0x1f1)](_0x1a8ead,_0x4c6c4c[_0x2dd914(0x2f7)],_0x4c6c4c[_0x2dd914(0x270)],_0x2fdde4[_0x2dd914(0x390)],_0xbcc2dc['hasher']);_0xbcc2dc['iv']=_0xe78998['iv'];var _0x30f4ec=_0x1ca002[_0x2dd914(0x337)][_0x2dd914(0x3f7)](this,_0x4c6c4c,_0x2fdde4,_0xe78998[_0x2dd914(0x3c5)],_0xbcc2dc);return _0x30f4ec;}});}();}));}(Je)),Je[_0x4f411d(0x24c)];}var gn=Ve['exports'],ti;function Sn(){return ti||(ti=0x1,function(_0x97ad15,_0x18a0ec){(function(_0x47f8b1,_0x1cf68f,_0x156107){var _0xcaa828=_0x32e5;_0x97ad15[_0xcaa828(0x24c)]=_0x1cf68f(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x32c04b){return(function(){var _0x5212fa=_0x32e5,_0x380766=_0x32c04b,_0x1ad7e4=_0x380766[_0x5212fa(0x2da)],_0x2d07a9=_0x1ad7e4[_0x5212fa(0x252)],_0x1bad78=_0x380766[_0x5212fa(0x3b1)],_0x5bcc1d=[],_0x25da18=[],_0x242aee=[],_0x4ecb8c=[],_0xb0808b=[],_0x49d4fe=[],_0x5c4894=[],_0x25e01a=[],_0x190fd6=[],_0x3f0120=[];(function(){for(var _0x4a1ae9=[],_0x1dd948=0x0;_0x1dd948<0x100;_0x1dd948++)_0x1dd948<0x80?_0x4a1ae9[_0x1dd948]=_0x1dd948<<0x1:_0x4a1ae9[_0x1dd948]=_0x1dd948<<0x1^0x11b;for(var _0x42ed67=0x0,_0x24524b=0x0,_0x1dd948=0x0;_0x1dd948<0x100;_0x1dd948++){var _0x4c126c=_0x24524b^_0x24524b<<0x1^_0x24524b<<0x2^_0x24524b<<0x3^_0x24524b<<0x4;_0x4c126c=_0x4c126c>>>0x8^_0x4c126c&0xff^0x63,_0x5bcc1d[_0x42ed67]=_0x4c126c,_0x25da18[_0x4c126c]=_0x42ed67;var _0x9cb688=_0x4a1ae9[_0x42ed67],_0xf44c33=_0x4a1ae9[_0x9cb688],_0x25fff6=_0x4a1ae9[_0xf44c33],_0x57298e=_0x4a1ae9[_0x4c126c]*0x101^_0x4c126c*0x1010100;_0x242aee[_0x42ed67]=_0x57298e<<0x18|_0x57298e>>>0x8,_0x4ecb8c[_0x42ed67]=_0x57298e<<0x10|_0x57298e>>>0x10,_0xb0808b[_0x42ed67]=_0x57298e<<0x8|_0x57298e>>>0x18,_0x49d4fe[_0x42ed67]=_0x57298e;var _0x57298e=_0x25fff6*0x1010101^_0xf44c33*0x10001^_0x9cb688*0x101^_0x42ed67*0x1010100;_0x5c4894[_0x4c126c]=_0x57298e<<0x18|_0x57298e>>>0x8,_0x25e01a[_0x4c126c]=_0x57298e<<0x10|_0x57298e>>>0x10,_0x190fd6[_0x4c126c]=_0x57298e<<0x8|_0x57298e>>>0x18,_0x3f0120[_0x4c126c]=_0x57298e,_0x42ed67?(_0x42ed67=_0x9cb688^_0x4a1ae9[_0x4a1ae9[_0x4a1ae9[_0x25fff6^_0x9cb688]]],_0x24524b^=_0x4a1ae9[_0x4a1ae9[_0x24524b]]):_0x42ed67=_0x24524b=0x1;}}());var _0x4d8bd2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1e540d=_0x1bad78['AES']=_0x2d07a9[_0x5212fa(0x353)]({'_doReset':function(){var _0x486e7d=_0x5212fa,_0x58dc1f;if(!(this[_0x486e7d(0x3c7)]&&this[_0x486e7d(0x177)]===this['_key'])){for(var _0x211191=this[_0x486e7d(0x177)]=this['_key'],_0x22f7e6=_0x211191['words'],_0x33c553=_0x211191[_0x486e7d(0x1a3)]/0x4,_0x2fd13d=this['_nRounds']=_0x33c553+0x6,_0x4334fe=(_0x2fd13d+0x1)*0x4,_0x2511c7=this[_0x486e7d(0x269)]=[],_0x2dcfb0=0x0;_0x2dcfb0<_0x4334fe;_0x2dcfb0++)_0x2dcfb0<_0x33c553?_0x2511c7[_0x2dcfb0]=_0x22f7e6[_0x2dcfb0]:(_0x58dc1f=_0x2511c7[_0x2dcfb0-0x1],_0x2dcfb0%_0x33c553?_0x33c553>0x6&&_0x2dcfb0%_0x33c553==0x4&&(_0x58dc1f=_0x5bcc1d[_0x58dc1f>>>0x18]<<0x18|_0x5bcc1d[_0x58dc1f>>>0x10&0xff]<<0x10|_0x5bcc1d[_0x58dc1f>>>0x8&0xff]<<0x8|_0x5bcc1d[_0x58dc1f&0xff]):(_0x58dc1f=_0x58dc1f<<0x8|_0x58dc1f>>>0x18,_0x58dc1f=_0x5bcc1d[_0x58dc1f>>>0x18]<<0x18|_0x5bcc1d[_0x58dc1f>>>0x10&0xff]<<0x10|_0x5bcc1d[_0x58dc1f>>>0x8&0xff]<<0x8|_0x5bcc1d[_0x58dc1f&0xff],_0x58dc1f^=_0x4d8bd2[_0x2dcfb0/_0x33c553|0x0]<<0x18),_0x2511c7[_0x2dcfb0]=_0x2511c7[_0x2dcfb0-_0x33c553]^_0x58dc1f);for(var _0x2248bf=this[_0x486e7d(0x391)]=[],_0x7b3144=0x0;_0x7b3144<_0x4334fe;_0x7b3144++){var _0x2dcfb0=_0x4334fe-_0x7b3144;if(_0x7b3144%0x4)var _0x58dc1f=_0x2511c7[_0x2dcfb0];else var _0x58dc1f=_0x2511c7[_0x2dcfb0-0x4];_0x7b3144<0x4||_0x2dcfb0<=0x4?_0x2248bf[_0x7b3144]=_0x58dc1f:_0x2248bf[_0x7b3144]=_0x5c4894[_0x5bcc1d[_0x58dc1f>>>0x18]]^_0x25e01a[_0x5bcc1d[_0x58dc1f>>>0x10&0xff]]^_0x190fd6[_0x5bcc1d[_0x58dc1f>>>0x8&0xff]]^_0x3f0120[_0x5bcc1d[_0x58dc1f&0xff]];}}},'encryptBlock':function(_0x5df20b,_0x5eb4c8){var _0x28e379=_0x5212fa;this[_0x28e379(0x197)](_0x5df20b,_0x5eb4c8,this['_keySchedule'],_0x242aee,_0x4ecb8c,_0xb0808b,_0x49d4fe,_0x5bcc1d);},'decryptBlock':function(_0x16963b,_0x398054){var _0x3a2d0e=_0x5212fa,_0x5c8a1c=_0x16963b[_0x398054+0x1];_0x16963b[_0x398054+0x1]=_0x16963b[_0x398054+0x3],_0x16963b[_0x398054+0x3]=_0x5c8a1c,this[_0x3a2d0e(0x197)](_0x16963b,_0x398054,this['_invKeySchedule'],_0x5c4894,_0x25e01a,_0x190fd6,_0x3f0120,_0x25da18);var _0x5c8a1c=_0x16963b[_0x398054+0x1];_0x16963b[_0x398054+0x1]=_0x16963b[_0x398054+0x3],_0x16963b[_0x398054+0x3]=_0x5c8a1c;},'_doCryptBlock':function(_0x3aa79a,_0x19bfd8,_0x2732b6,_0x3d1d81,_0xbff46e,_0x456a1c,_0x2a9e78,_0xc357fa){for(var _0x28ea0f=this['_nRounds'],_0xe491f9=_0x3aa79a[_0x19bfd8]^_0x2732b6[0x0],_0xbe5e76=_0x3aa79a[_0x19bfd8+0x1]^_0x2732b6[0x1],_0x4fdf3d=_0x3aa79a[_0x19bfd8+0x2]^_0x2732b6[0x2],_0x3f7697=_0x3aa79a[_0x19bfd8+0x3]^_0x2732b6[0x3],_0x430425=0x4,_0x44798c=0x1;_0x44798c<_0x28ea0f;_0x44798c++){var _0x4d25f9=_0x3d1d81[_0xe491f9>>>0x18]^_0xbff46e[_0xbe5e76>>>0x10&0xff]^_0x456a1c[_0x4fdf3d>>>0x8&0xff]^_0x2a9e78[_0x3f7697&0xff]^_0x2732b6[_0x430425++],_0x26f1a6=_0x3d1d81[_0xbe5e76>>>0x18]^_0xbff46e[_0x4fdf3d>>>0x10&0xff]^_0x456a1c[_0x3f7697>>>0x8&0xff]^_0x2a9e78[_0xe491f9&0xff]^_0x2732b6[_0x430425++],_0xd3b2d=_0x3d1d81[_0x4fdf3d>>>0x18]^_0xbff46e[_0x3f7697>>>0x10&0xff]^_0x456a1c[_0xe491f9>>>0x8&0xff]^_0x2a9e78[_0xbe5e76&0xff]^_0x2732b6[_0x430425++],_0x3ff334=_0x3d1d81[_0x3f7697>>>0x18]^_0xbff46e[_0xe491f9>>>0x10&0xff]^_0x456a1c[_0xbe5e76>>>0x8&0xff]^_0x2a9e78[_0x4fdf3d&0xff]^_0x2732b6[_0x430425++];_0xe491f9=_0x4d25f9,_0xbe5e76=_0x26f1a6,_0x4fdf3d=_0xd3b2d,_0x3f7697=_0x3ff334;}var _0x4d25f9=(_0xc357fa[_0xe491f9>>>0x18]<<0x18|_0xc357fa[_0xbe5e76>>>0x10&0xff]<<0x10|_0xc357fa[_0x4fdf3d>>>0x8&0xff]<<0x8|_0xc357fa[_0x3f7697&0xff])^_0x2732b6[_0x430425++],_0x26f1a6=(_0xc357fa[_0xbe5e76>>>0x18]<<0x18|_0xc357fa[_0x4fdf3d>>>0x10&0xff]<<0x10|_0xc357fa[_0x3f7697>>>0x8&0xff]<<0x8|_0xc357fa[_0xe491f9&0xff])^_0x2732b6[_0x430425++],_0xd3b2d=(_0xc357fa[_0x4fdf3d>>>0x18]<<0x18|_0xc357fa[_0x3f7697>>>0x10&0xff]<<0x10|_0xc357fa[_0xe491f9>>>0x8&0xff]<<0x8|_0xc357fa[_0xbe5e76&0xff])^_0x2732b6[_0x430425++],_0x3ff334=(_0xc357fa[_0x3f7697>>>0x18]<<0x18|_0xc357fa[_0xe491f9>>>0x10&0xff]<<0x10|_0xc357fa[_0xbe5e76>>>0x8&0xff]<<0x8|_0xc357fa[_0x4fdf3d&0xff])^_0x2732b6[_0x430425++];_0x3aa79a[_0x19bfd8]=_0x4d25f9,_0x3aa79a[_0x19bfd8+0x1]=_0x26f1a6,_0x3aa79a[_0x19bfd8+0x2]=_0xd3b2d,_0x3aa79a[_0x19bfd8+0x3]=_0x3ff334;},'keySize':0x100/0x20});_0x380766['AES']=_0x2d07a9['_createHelper'](_0x1e540d);}()),_0x32c04b['AES'];}));}(Ve)),Ve['exports'];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x285015(0x24c)],si;function Rn(){var _0x20351c=_0x285015;return si||(si=0x1,function(_0x46042e,_0x423e9b){(function(_0x4470aa,_0x859e8){var _0xe76336=_0x32e5;_0x46042e[_0xe76336(0x24c)]=_0x859e8(te());}(Cn,function(_0x575e4c){var _0x494107=_0x32e5;return _0x575e4c['enc'][_0x494107(0x427)];}));}(Xe)),Xe[_0x20351c(0x24c)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0xfc8611=_0x285015;return ni||(ni=0x1,function(_0x1e987f,_0x4d0937){(function(_0xcdb8e2,_0x2c358e){var _0x55b2ab=_0x32e5;_0x1e987f[_0x55b2ab(0x24c)]=_0x2c358e(te());}(yn,function(_0x31865c){var _0x5bb55f=_0x32e5;return(function(){var _0x566646=_0x32e5;if(typeof ArrayBuffer==_0x566646(0x3eb)){var _0x3197cb=_0x31865c,_0x2104dc=_0x3197cb[_0x566646(0x2da)],_0x58704f=_0x2104dc['WordArray'],_0x6436db=_0x58704f[_0x566646(0x2ef)],_0x14f119=_0x58704f[_0x566646(0x2ef)]=function(_0x2fc443){var _0x8074a3=_0x566646;if(_0x2fc443 instanceof ArrayBuffer&&(_0x2fc443=new Uint8Array(_0x2fc443)),(_0x2fc443 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2fc443 instanceof Uint8ClampedArray||_0x2fc443 instanceof Int16Array||_0x2fc443 instanceof Uint16Array||_0x2fc443 instanceof Int32Array||_0x2fc443 instanceof Uint32Array||_0x2fc443 instanceof Float32Array||_0x2fc443 instanceof Float64Array)&&(_0x2fc443=new Uint8Array(_0x2fc443['buffer'],_0x2fc443[_0x8074a3(0x172)],_0x2fc443[_0x8074a3(0x3e8)])),_0x2fc443 instanceof Uint8Array){for(var _0xc49d7a=_0x2fc443[_0x8074a3(0x3e8)],_0x562cb3=[],_0x3102d5=0x0;_0x3102d5<_0xc49d7a;_0x3102d5++)_0x562cb3[_0x3102d5>>>0x2]|=_0x2fc443[_0x3102d5]<<0x18-_0x3102d5%0x4*0x8;_0x6436db[_0x8074a3(0x3f7)](this,_0x562cb3,_0xc49d7a);}else _0x6436db[_0x8074a3(0x3e7)](this,arguments);};_0x14f119[_0x566646(0x2bf)]=_0x58704f;}}()),_0x31865c[_0x5bb55f(0x2da)][_0x5bb55f(0x343)];}));}(Ze)),Ze[_0xfc8611(0x24c)];}var Dn=Nn();const Un=$e(Dn);function _0x32e5(_0x5d1c51,_0x5196b2){var _0x21d26a=_0x21d2();return _0x32e5=function(_0x32e59b,_0x39f8c4){_0x32e59b=_0x32e59b-0x154;var _0x23cf5d=_0x21d26a[_0x32e59b];return _0x23cf5d;},_0x32e5(_0x5d1c51,_0x5196b2);}var Qe={'exports':{}},An=Qe[_0x285015(0x24c)],ri;function wn(){return ri||(ri=0x1,function(_0x6daf18,_0x2a34a1){(function(_0x3ef3f1,_0x523741,_0x14a12e){var _0x2433bc=_0x32e5;_0x6daf18[_0x2433bc(0x24c)]=_0x523741(te(),bi());}(An,function(_0x2a3977){var _0x18d65f=_0x32e5;return _0x2a3977[_0x18d65f(0x1db)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2a3977[_0x18d65f(0x1db)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x48e4cc,_0x39e94f){var _0x25873d=_0x285015;const _0x425e14=_0x39e94f-_0x48e4cc[_0x25873d(0x305)]%_0x39e94f,_0x47babd=String[_0x25873d(0x2d2)](_0x425e14)[_0x25873d(0x1c3)](_0x425e14);return _0x48e4cc+_0x47babd;}function xn(_0xefe478,_0x1ae7f7){var _0x2aa291=_0x285015;const _0x223893=Un[_0x2aa291(0x372)](0x10),_0x4766fb=Ln(_0xefe478,0x10),_0x5b9772=In['encrypt'](bn[_0x2aa291(0x26d)](_0x4766fb),ii[_0x2aa291(0x26d)](_0x1ae7f7),{'iv':_0x223893,'padding':Mn});return _0x223893['concat'](_0x5b9772[_0x2aa291(0x254)])['toString'](ii);}function kn(){var _0xe55095=_0x285015;const _0xe55c19=_0x37e730()[_0xe55095(0x32c)];if(_0xe55c19){const _0x35b117={'time':Math['floor'](Date[_0xe55095(0x2ba)]()/0x3e8),'domain':location[_0xe55095(0x2c5)]};return xn(JSON[_0xe55095(0x24e)](_0x35b117),_0xe55c19);}}var $n=Object[_0x285015(0x310)],Hn=(_0x31544c,_0x441b46,_0x4fc5f6,_0x660330)=>{for(var _0x5b22ee=_0x660330>0x1?void 0x0:_0x660330?$n(_0x441b46,_0x4fc5f6):_0x441b46,_0x1a2a13=_0x31544c['length']-0x1,_0x473e99;_0x1a2a13>=0x0;_0x1a2a13--)(_0x473e99=_0x31544c[_0x1a2a13])&&(_0x5b22ee=_0x473e99(_0x5b22ee)||_0x5b22ee);return _0x5b22ee;},Bn=(_0x464f3d,_0x733e65)=>(_0x14b6f4,_0x3568bf)=>_0x733e65(_0x14b6f4,_0x3568bf,_0x464f3d);let at=class{constructor(_0x3279a0){var _0x33f7d3=_0x285015;this[_0x33f7d3(0x367)]=_0x3279a0,this['_initRequestHeader']();}[_0x285015(0x359)](){var _0x48e9b=_0x285015;this[_0x48e9b(0x367)][_0x48e9b(0x40d)]({'interceptor':(_0x2cafc1,_0x598ac6)=>{var _0x2763a9=_0x48e9b;const _0xe2c5e=_0x2cafc1['headers'],_0x208549=kn();return _0x208549&&_0xe2c5e[_0x2763a9(0x392)]('x-univer-host',_0x208549),_0x598ac6(_0x2cafc1);}});}};at=Hn([Bn(0x0,_0x1f8eab(_0x289ab0))],at);var jn=Object[_0x285015(0x310)],Fn=(_0x1d161e,_0x287aca,_0x46f03a,_0x951736)=>{var _0x459750=_0x285015;for(var _0x4c65f6=_0x951736>0x1?void 0x0:_0x951736?jn(_0x287aca,_0x46f03a):_0x287aca,_0xe85d3d=_0x1d161e[_0x459750(0x305)]-0x1,_0x5a676e;_0xe85d3d>=0x0;_0xe85d3d--)(_0x5a676e=_0x1d161e[_0xe85d3d])&&(_0x4c65f6=_0x5a676e(_0x4c65f6)||_0x4c65f6);return _0x4c65f6;},vt=(_0x4b2ef5,_0x39d213)=>(_0x5a4255,_0x597a2c)=>_0x39d213(_0x5a4255,_0x597a2c,_0x4b2ef5);let Ct=class extends _0x1f8cdd{constructor(_0x439d1b,_0x424c06,_0xe5c8b0){var _0x270549=_0x285015;super(),N(this,_0x270549(0x365),new _0x229484(null)),N(this,_0x270549(0x3fd),this['_unitInfo$'][_0x270549(0x447)]()),(this[_0x270549(0x328)]=_0x439d1b,this['_snapshotService']=_0x424c06,this['_localCacheService']=_0xe5c8b0);}async['loadUnitOfRevision'](_0x27af53,_0x595849,_0x199d4a){var _0x204c55=_0x285015;this['_unitInfo$'][_0x204c55(0x26b)]({'unitId':_0x27af53,'type':_0x595849});let _0x1f2c28=null;switch(_0x595849){case Z[_0x204c55(0x29a)]:{_0x1f2c28=await this[_0x204c55(0x407)][_0x204c55(0x2a7)](_0x27af53,_0x199d4a);break;}case Z['UNIVER_DOC']:{_0x1f2c28=await this[_0x204c55(0x407)]['loadDoc'](_0x27af53,_0x199d4a);break;}default:{this['_logService'][_0x204c55(0x1ce)]('[DataLoaderService]',_0x204c55(0x410));break;}}return _0x1f2c28;}async[_0x285015(0x199)](_0x44678a,_0x1199da,_0x5b4545){var _0x57f45c=_0x285015,_0x3f3133;this[_0x57f45c(0x365)][_0x57f45c(0x26b)]({'unitId':_0x44678a,'type':_0x1199da,'subUnitId':_0x5b4545});let _0x497f08=0x0;const _0x3add54=await((_0x3f3133=this[_0x57f45c(0x3bd)])==null?void 0x0:_0x3f3133[_0x57f45c(0x1b7)](_0x44678a));return _0x3add54&&(_0x3add54[_0x57f45c(0x409)]||_0x3add54[_0x57f45c(0x202)]['length']!==0x0)&&(_0x497f08=_0x3add54[_0x57f45c(0x1be)]),_0x497f08===0x0&&this[_0x57f45c(0x328)][_0x57f45c(0x183)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x44678a,_0x1199da,_0x497f08);}};Ct=Fn([vt(0x0,_0xfc8632),vt(0x1,_0x1f8eab(_0x114e4d)),vt(0x2,_0x10bde8(J))],Ct);var Vn=Object[_0x285015(0x310)],Wn=(_0x659048,_0x69b65,_0xb9762d,_0x27deee)=>{var _0x212e0c=_0x285015;for(var _0x20b9fc=_0x27deee>0x1?void 0x0:_0x27deee?Vn(_0x69b65,_0xb9762d):_0x69b65,_0x15d3fb=_0x659048[_0x212e0c(0x305)]-0x1,_0x3a7d51;_0x15d3fb>=0x0;_0x15d3fb--)(_0x3a7d51=_0x659048[_0x15d3fb])&&(_0x20b9fc=_0x3a7d51(_0x20b9fc)||_0x20b9fc);return _0x20b9fc;},pt=(_0x47cc7e,_0x3bcc8e)=>(_0x2bab0a,_0x535005)=>_0x3bcc8e(_0x2bab0a,_0x535005,_0x47cc7e);const Gn=[_0x285015(0x1b9),'image/jpeg','image/jpg',_0x285015(0x376),_0x285015(0x278)],Yn=0x5*0x400*0x400,Kn=_0x285015(0x440),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x12a142,_0x5a77cf,_0x2c8ef4){var _0x123a71=_0x285015;N(this,_0x123a71(0x2cd),0x0),N(this,_0x123a71(0x190),new _0x1e0fa4()),N(this,'change$',this['_change$']),N(this,_0x123a71(0x3a6),new Map()),(this['_httpService']=_0x12a142,this['_configService']=_0x5a77cf,this[_0x123a71(0x2ae)]=_0x2c8ef4);}[_0x285015(0x3ae)](_0x26a96f){var _0x67b4ed=_0x285015;this[_0x67b4ed(0x2cd)]=_0x26a96f,this[_0x67b4ed(0x190)][_0x67b4ed(0x26b)](_0x26a96f);}[_0x285015(0x206)](_0x2c7a31,_0x5c3617){var _0x3c9664=_0x285015;if(_0x5c3617===_0x4855a8['BASE64']){const _0x5e78b7=new Image();return _0x5e78b7[_0x3c9664(0x21e)]=_0x2c7a31,_0x5e78b7;}return this[_0x3c9664(0x3a6)]['get'](_0x2c7a31);}[_0x285015(0x350)](_0x1fa62f,_0x47eca2,_0x334905){var _0x2e0495=_0x285015;_0x47eca2===_0x4855a8[_0x2e0495(0x387)]||_0x334905==null||this[_0x2e0495(0x3a6)][_0x2e0495(0x392)](_0x1fa62f,_0x334905);}async[_0x285015(0x1e1)](_0x947149){var _0xf83981=_0x285015;try{const _0x5e8961=this[_0xf83981(0x1ae)](this[_0xf83981(0x3ec)](),''+_0x947149),_0x1e6691=(await this[_0xf83981(0x367)][_0xf83981(0x195)](_0x5e8961))[_0xf83981(0x3d7)];if(_0x1e6691[_0xf83981(0x1ce)]&&_0x1e6691['error'][_0xf83981(0x3bc)]===vi['OK']){const _0x3ea885=new URL(_0x1e6691[_0xf83981(0x203)],this[_0xf83981(0x220)]())[_0xf83981(0x1e0)]();return Promise[_0xf83981(0x27a)](_0x3ea885);}return Promise[_0xf83981(0x3db)](_0x1e6691[_0xf83981(0x1ce)]);}catch(_0x58c13f){return Promise[_0xf83981(0x3db)](_0x58c13f);}}async[_0x285015(0x325)](_0xf3491f){var _0x249026=_0x285015;let _0x1a6d36='';if(!Gn['includes'](_0xf3491f[_0x249026(0x2a3)]))return this[_0x249026(0x272)](),Promise['reject'](new Error(_0x36a149[_0x249026(0x16f)]));if(_0xf3491f[_0x249026(0x3b3)]>Yn)return this[_0x249026(0x272)](),Promise[_0x249026(0x3db)](new Error(_0x36a149['ERROR_EXCEED_SIZE']));try{const _0x5e8295=new FormData();_0x5e8295[_0x249026(0x345)](_0x249026(0x1ad),_0xf3491f);const _0x50127d=this['_univerInstanceService'][_0x249026(0x1f6)](),_0xf24029=_0x50127d==null?void 0x0:_0x50127d[_0x249026(0x3e2)]();if(!_0xf24029)throw new Error(_0x249026(0x185));const _0x53aca4=this[_0x249026(0x193)]()+_0x249026(0x165)+_0xf3491f[_0x249026(0x3b3)]['toString']()+_0x249026(0x329)+pi[_0x249026(0x2b6)]+_0x249026(0x2cb)+encodeURIComponent(_0xf24029),_0x19f5b0={'body':_0x5e8295},_0x23081f=(await this[_0x249026(0x367)][_0x249026(0x284)](_0x53aca4,_0x19f5b0))['body'];if(typeof _0x23081f[_0x249026(0x37f)]!=_0x249026(0x253))return this[_0x249026(0x272)](),Promise[_0x249026(0x3db)](new Error(_0x36a149['ERROR_IMAGE']));_0x1a6d36=_0x23081f[_0x249026(0x37f)];}catch{return this[_0x249026(0x272)](),Promise[_0x249026(0x3db)](new Error(_0x36a149[_0x249026(0x311)]));}return new Promise((_0x4d9b08,_0x200562)=>{var _0x54a87b=_0x249026;const _0x1787b2=new FileReader();_0x1787b2['readAsDataURL'](_0xf3491f),_0x1787b2[_0x54a87b(0x32d)]=_0x7c0659=>{var _0x4d5915=_0x54a87b,_0x39ca4a;const _0x4868f6=(_0x39ca4a=_0x7c0659[_0x4d5915(0x281)])==null?void 0x0:_0x39ca4a[_0x4d5915(0x1c6)];if(_0x4868f6==null){this[_0x4d5915(0x272)](),_0x200562(new Error(_0x36a149['ERROR_IMAGE']));return;}const _0x551052=_0x28aad4(0x6);_0x4d9b08({'imageId':_0x551052,'imageSourceType':_0x4855a8[_0x4d5915(0x1de)],'source':_0x1a6d36,'base64Cache':_0x4868f6,'status':_0x36a149[_0x4d5915(0x22c)]}),this[_0x4d5915(0x272)]();};});}[_0x285015(0x193)](){var _0x4316bd=_0x285015,_0x29c265;const _0x280e7d=this['_configService'][_0x4316bd(0x2eb)](K);return(_0x29c265=_0x280e7d==null?void 0x0:_0x280e7d['uploadFileServerUrl'])!=null?_0x29c265:Kn;}[_0x285015(0x3ec)](){var _0x2c09b8=_0x285015,_0x1ee426;const _0x4a210c=this['_configService'][_0x2c09b8(0x2eb)](K);return(_0x1ee426=_0x4a210c==null?void 0x0:_0x4a210c[_0x2c09b8(0x3a1)])!=null?_0x1ee426:qn;}[_0x285015(0x220)](){var _0x2d8a86=_0x285015,_0x56de07;const _0x1e3f31=this['_configService'][_0x2d8a86(0x2eb)](K);return(_0x56de07=_0x1e3f31==null?void 0x0:_0x1e3f31[_0x2d8a86(0x1d6)])!=null?_0x56de07:location[_0x2d8a86(0x366)];}[_0x285015(0x1ae)](_0x4fed98,_0x5c7e17){var _0xfb05e9=_0x285015;return _0x4fed98[_0xfb05e9(0x20b)]('{fileID}',_0x5c7e17);}['_decreaseWaiting'](){var _0x7cf2e=_0x285015;this[_0x7cf2e(0x2cd)]-=0x1,this[_0x7cf2e(0x190)][_0x7cf2e(0x26b)](this[_0x7cf2e(0x2cd)]);}};Rt=Wn([pt(0x0,_0x1f8eab(_0x289ab0)),pt(0x1,_0x4676fe),pt(0x2,_0x1f8eab(_0x957fe2))],Rt);var zn=Object[_0x285015(0x310)],Jn=(_0x5f2f31,_0x3387c9,_0x42d568,_0xff443d)=>{for(var _0x47aaa3=_0xff443d>0x1?void 0x0:_0xff443d?zn(_0x3387c9,_0x42d568):_0x3387c9,_0x5a3bbf=_0x5f2f31['length']-0x1,_0x43117a;_0x5a3bbf>=0x0;_0x5a3bbf--)(_0x43117a=_0x5f2f31[_0x5a3bbf])&&(_0x47aaa3=_0x43117a(_0x47aaa3)||_0x47aaa3);return _0x47aaa3;},ai=(_0xcf282e,_0x56bd4c)=>(_0xf68214,_0x215373)=>_0x56bd4c(_0xf68214,_0x215373,_0xcf282e);const Xn=_0x285015(0x160);let Ot=class{constructor(_0x1ed835,_0x32e728){var _0x542d46=_0x285015;this[_0x542d46(0x382)]=_0x1ed835,this[_0x542d46(0x2f1)]=_0x32e728;}[_0x285015(0x2ea)](){var _0x10de4f=_0x285015,_0x3aa2d0;const _0x5cec0e=this[_0x10de4f(0x382)][_0x10de4f(0x2eb)](K);return(_0x3aa2d0=_0x5cec0e==null?void 0x0:_0x5cec0e[_0x10de4f(0x17d)])!=null?_0x3aa2d0:Xn;}async[_0x285015(0x32b)](_0x197eaf){var _0x44225d=_0x285015;const _0x1eed99=this[_0x44225d(0x2ea)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x44225d(0x195)](_0x1eed99,{'params':{'objectID':_0x197eaf[_0x44225d(0x339)],'unitID':_0x197eaf[_0x44225d(0x339)]}}))[_0x44225d(0x3d7)][_0x44225d(0x237)][_0x44225d(0x3e6)](_0x479b24=>({'objectId':_0x479b24['id'],'name':_0x479b24[_0x44225d(0x2ca)]['name'],'metadata':{'icon':_0x479b24['subject'][_0x44225d(0x229)]},'label':_0x479b24[_0x44225d(0x2ca)]['name'],'objectType':_0x5573bb['PERSON']})),'metadata':{},'type':_0x5573bb[_0x44225d(0x38d)]}]};}};Ot=Jn([ai(0x0,_0x1f8eab(_0x4676fe)),ai(0x1,_0x1f8eab(_0x289ab0))],Ot);var Zn=Object[_0x285015(0x310)],Qn=(_0x2e2071,_0x21b692,_0x54a3b4,_0xb2362c)=>{var _0x2a2519=_0x285015;for(var _0x255170=_0xb2362c>0x1?void 0x0:_0xb2362c?Zn(_0x21b692,_0x54a3b4):_0x21b692,_0x1a2752=_0x2e2071[_0x2a2519(0x305)]-0x1,_0x3cbebc;_0x1a2752>=0x0;_0x1a2752--)(_0x3cbebc=_0x2e2071[_0x1a2752])&&(_0x255170=_0x3cbebc(_0x255170)||_0x255170);return _0x255170;},Ue=(_0x14ac7a,_0xc6cfe9)=>(_0x108c97,_0xe90ff4)=>_0xc6cfe9(_0x108c97,_0xe90ff4,_0x14ac7a);let ot=class extends _0x1f8cdd{constructor(_0x5da1f1,_0x19a22c,_0x51e805,_0x2d3a91,_0x4e5693){var _0x2ff3e7=_0x285015;super(),this['_injector']=_0x5da1f1,this['_univerInstanceService']=_0x19a22c,this[_0x2ff3e7(0x1e6)]=_0x51e805,this['_collaborationSessionService']=_0x2d3a91,this[_0x2ff3e7(0x2dd)]=_0x4e5693,this[_0x2ff3e7(0x432)](),this[_0x2ff3e7(0x37e)]();}[_0x285015(0x37e)](){var _0xd85e63=_0x285015;const _0x45404b=async _0x50ef88=>{var _0x44c9d0=_0x32e5;(await this['_collaborationSessionService']['requireSession'](_0x50ef88))[_0x44c9d0(0x3ba)][_0x44c9d0(0x38f)](_0x176fa8(_0x3d3a0d=>_0x3d3a0d['eventID']===_0x2a645f['SHOULD_CLOSE_CONN']),_0x34602c(this[_0x44c9d0(0x1f7)]))[_0x44c9d0(0x2bc)](_0x58bea2=>{var _0x306ed5=_0x44c9d0;const _0x3e61de=_0x58bea2,{reason:_0x576d12}=_0x3e61de['data'];this[_0x306ed5(0x2dd)][_0x306ed5(0x28e)]({'id':ne['CLOSE_ROOM'],'data':_0x576d12}),this[_0x306ed5(0x1e6)][_0x306ed5(0x23a)](new _0x20d21f(_0x50ef88)['id'],!0x1),this[_0x306ed5(0x18f)][_0x306ed5(0x300)](_0x50ef88);});};_0x540e40(this[_0xd85e63(0x2ae)][_0xd85e63(0x36d)](_0x3a3c86['UNIVER_SHEET']),this['_univerInstanceService'][_0xd85e63(0x36d)](_0x3a3c86[_0xd85e63(0x389)]))[_0xd85e63(0x38f)](_0x27b12b(_0x2fdaad=>_0x2fdaad['getUnitId']()),_0x176fa8(_0x155095=>!_0x466872(_0x155095)),_0x34602c(this[_0xd85e63(0x1f7)]))[_0xd85e63(0x2bc)](_0x25b111=>{_0x45404b(_0x25b111);});}[_0x285015(0x432)](){var _0x3c45f4=_0x285015;const _0xa7645d=async _0x2ec823=>{var _0x4111f0=_0x32e5;const _0x4967c4=await this[_0x4111f0(0x18f)]['requireSession'](_0x2ec823),_0x1673a5=this[_0x4111f0(0x43c)][_0x4111f0(0x195)](_0x3bde58);_0x4967c4[_0x4111f0(0x3ba)][_0x4111f0(0x38f)](_0x176fa8(_0x4e8eb6=>_0x4e8eb6[_0x4111f0(0x25b)]===_0x2a645f[_0x4111f0(0x439)]),_0x34602c(this['dispose$']))[_0x4111f0(0x2bc)](_0x2542ae=>{const _0x2bb930=_0x2542ae,{objectId:_0x4c4f33}=_0x2bb930['data'];_0x4c4f33===_0x2ec823?_0x1673a5['initWorkbookPermissionChange'](_0x2ec823):_0x1673a5['refreshPermission'](_0x2ec823,_0x4c4f33);});};_0x540e40(this[_0x3c45f4(0x2ae)][_0x3c45f4(0x36d)](_0x3a3c86[_0x3c45f4(0x29a)]))[_0x3c45f4(0x38f)](_0x27b12b(_0x11965e=>_0x11965e['getUnitId']()),_0x176fa8(_0x509389=>!_0x466872(_0x509389)),_0x34602c(this['dispose$']))[_0x3c45f4(0x2bc)](_0x560dd4=>{_0xa7645d(_0x560dd4);});}};ot=Qn([Ue(0x0,_0x1f8eab(_0x231415)),Ue(0x1,_0x957fe2),Ue(0x2,_0x249ffe),Ue(0x3,_0x1f8eab(Pe)),Ue(0x4,_0x1f8eab(ve))],ot);var er=Object[_0x285015(0x310)],tr=(_0x1ae3c5,_0x615406,_0x1e75ce,_0x5d4589)=>{for(var _0x2bc1a3=_0x5d4589>0x1?void 0x0:_0x5d4589?er(_0x615406,_0x1e75ce):_0x615406,_0x4e8445=_0x1ae3c5['length']-0x1,_0x475185;_0x4e8445>=0x0;_0x4e8445--)(_0x475185=_0x1ae3c5[_0x4e8445])&&(_0x2bc1a3=_0x475185(_0x2bc1a3)||_0x2bc1a3);return _0x2bc1a3;},oi=(_0x4f6ce7,_0x5026c2)=>(_0x35b6b4,_0x1a3287)=>_0x5026c2(_0x35b6b4,_0x1a3287,_0x4f6ce7);let bt=class{constructor(_0xd37b91,_0x25857a){var _0x291814=_0x285015;this[_0x291814(0x382)]=_0xd37b91,this[_0x291814(0x367)]=_0x25857a;}async['getUnitOnRev'](_0x1c2893,_0x2b389a){var _0x4f030f=_0x285015,_0x2e8301;const {unitID:_0x23d92f,type:_0x4be69b,revision:_0x4eb0f2=0x0}=_0x2b389a,_0x519149=this[_0x4f030f(0x27b)]()+'/'+_0x4be69b+_0x4f030f(0x21d)+_0x23d92f+'/rev/'+_0x4eb0f2,_0x41edb8=(await this[_0x4f030f(0x367)][_0x4f030f(0x195)](_0x519149))[_0x4f030f(0x3d7)],_0x2481b7=(_0x2e8301=_0x41edb8[_0x4f030f(0x3dc)])==null?void 0x0:_0x2e8301['workbook'];if(_0x2481b7){const _0x3b59e9=_0x2481b7==null?void 0x0:_0x2481b7[_0x4f030f(0x394)],_0x2d86a9=_0x36c723[_0x4f030f(0x378)](_0x25132f(_0x3b59e9));_0x2481b7['originalMeta']=_0x2d86a9,Object['entries'](_0x2481b7[_0x4f030f(0x17c)])[_0x4f030f(0x401)](([,_0x502bfa])=>{var _0x1ca585=_0x4f030f;const _0x4803be=_0x502bfa[_0x1ca585(0x394)],_0x35c244=_0x36c723[_0x1ca585(0x378)](_0x25132f(_0x4803be));_0x502bfa[_0x1ca585(0x394)]=_0x35c244;});}return _0x41edb8;}async[_0x285015(0x361)](_0x5caa29,_0x1c483b){var _0x68b8b1=_0x285015;const {unitID:_0x196a30,type:_0x2d7896,blockID:_0x177281}=_0x1c483b,_0x3bf273=this[_0x68b8b1(0x346)]()+'/'+_0x2d7896+'/unit/'+_0x196a30+_0x68b8b1(0x421)+_0x177281;return(await this[_0x68b8b1(0x367)][_0x68b8b1(0x195)](_0x3bf273))[_0x68b8b1(0x3d7)];}async[_0x285015(0x1d1)](_0x580c6a,_0x54276b){var _0x5c2d1a=_0x285015;const {unitID:_0x1922ab,type:_0x454923,blockID:_0xd7f7a9}=_0x54276b,_0xe6419f=this[_0x5c2d1a(0x346)]()+_0x5c2d1a(0x421)+_0x454923+_0x5c2d1a(0x21d)+_0x1922ab+'/block/'+_0xd7f7a9;return(await this[_0x5c2d1a(0x367)]['get'](_0xe6419f))['body'];}async[_0x285015(0x44b)](_0x23b16f,_0x239475){var _0x32ec27=_0x285015;const {unitID:_0x98f2a9,type:_0x56ceda,from:_0x1a5d85,to:_0x136c57}=_0x239475,_0xaf6e98=this['_getAPIPrefix']()+'/'+_0x56ceda+_0x32ec27(0x21d)+_0x98f2a9+_0x32ec27(0x268)+_0x1a5d85+_0x32ec27(0x2a5)+_0x136c57;return(await this[_0x32ec27(0x367)][_0x32ec27(0x195)](_0xaf6e98))[_0x32ec27(0x3d7)];}[_0x285015(0x27b)](){var _0x62e896=_0x285015,_0x59d8c5;return(_0x59d8c5=this[_0x62e896(0x382)]['getConfig'](vs))!=null?_0x59d8c5:this[_0x62e896(0x346)]();}[_0x285015(0x346)](){var _0x2c7bde=_0x285015,_0xc4ce48;const _0x230caa=this[_0x2c7bde(0x382)][_0x2c7bde(0x2eb)](K);return(_0xc4ce48=_0x230caa==null?void 0x0:_0x230caa[_0x2c7bde(0x352)])!=null?_0xc4ce48:fs;}async[_0x285015(0x40e)](_0x3b6331,_0x679f5e){var _0x10a128=_0x285015;const _0x4ea171=_0x10a128(0x15a)+_0x679f5e[_0x10a128(0x2a3)]+_0x10a128(0x21d)+_0x679f5e[_0x10a128(0x21f)]+_0x10a128(0x2f8);return(await this[_0x10a128(0x367)]['get'](_0x4ea171,{'params':{'resourceId':JSON[_0x10a128(0x24e)](_0x679f5e[_0x10a128(0x27f)])}}))[_0x10a128(0x3d7)];}['saveSnapshot'](){var _0x2d0259=_0x285015;throw new Error(_0x2d0259(0x443));}['updateSnapshot'](){var _0x822a9b=_0x285015;throw new Error(_0x822a9b(0x443));}['saveSheetBlock'](){var _0x2952a3=_0x285015;throw new Error(_0x2952a3(0x443));}[_0x285015(0x2cf)](){var _0x3344b8=_0x285015;throw new Error(_0x3344b8(0x443));}[_0x285015(0x29c)](){var _0x7a9e34=_0x285015;throw new Error(_0x7a9e34(0x443));}['getLatestCsReqIdBySid'](){var _0x100b2b=_0x285015;throw new Error(_0x100b2b(0x443));}};bt=tr([oi(0x0,_0x4676fe),oi(0x1,_0x1f8eab(_0x289ab0))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x1b6e49,_0x593e54,_0x11c445,_0x2b0b09)=>{var _0x3a2aa7=_0x285015;for(var _0x8470a6=_0x2b0b09>0x1?void 0x0:_0x2b0b09?ir(_0x593e54,_0x11c445):_0x593e54,_0x691298=_0x1b6e49[_0x3a2aa7(0x305)]-0x1,_0xebc36e;_0x691298>=0x0;_0x691298--)(_0xebc36e=_0x1b6e49[_0x691298])&&(_0x8470a6=_0xebc36e(_0x8470a6)||_0x8470a6);return _0x8470a6;},Ae=(_0x47a0b1,_0x1a2ed6)=>(_0x2105b7,_0x4b2d61)=>_0x1a2ed6(_0x2105b7,_0x4b2d61,_0x47a0b1);let yt=class extends _0x30d5e5{constructor(_0x1dcfff,_0x4f4786,_0x14ca18,_0x4e5317,_0x7a82c4){var _0x3ed1be=_0x285015;super(_0x1dcfff,_0x4f4786,_0x14ca18),this[_0x3ed1be(0x191)]=_0x4e5317,this['_logService']=_0x7a82c4;}[_0x285015(0x360)](_0x43c0f5,_0x5baee3){var _0x3e7328=_0x285015;const _0x163759=this[_0x3e7328(0x2e0)](_0x43c0f5);if(_0x163759)try{const _0x4ad73f=this[_0x3e7328(0x398)](_0x163759,_0x5baee3);this[_0x3e7328(0x2e2)](_0x43c0f5,_0x4ad73f);}catch(_0x3f95d9){this[_0x3e7328(0x328)][_0x3e7328(0x1ce)]('[CollaborationUndoRedoService]',_0x3f95d9),this[_0x3e7328(0x357)](_0x43c0f5);}const _0x1af766=this['_getRedoStack'](_0x43c0f5);if(_0x1af766)try{const _0x6aeeb3=this[_0x3e7328(0x398)](_0x1af766,_0x5baee3);this[_0x3e7328(0x2f9)](_0x43c0f5,_0x6aeeb3);}catch(_0x1677cc){this[_0x3e7328(0x328)][_0x3e7328(0x1ce)](_0x1677cc),this['_clearRedo'](_0x43c0f5);}}[_0x285015(0x357)](_0x2a4102){var _0x2cfc88=_0x285015;const _0x3b18c5=this[_0x2cfc88(0x2e0)](_0x2a4102);_0x3b18c5&&(_0x3b18c5[_0x2cfc88(0x305)]=0x0,this[_0x2cfc88(0x26a)]());}[_0x285015(0x1a9)](_0xea48a8){var _0x26d049=_0x285015;const _0x1372c4=this[_0x26d049(0x3f0)](_0xea48a8);_0x1372c4&&(_0x1372c4[_0x26d049(0x305)]=0x0,this[_0x26d049(0x26a)]());}['_substituteUndoStack'](_0x93674,_0x5463be){var _0x4b14d5=_0x285015;this[_0x4b14d5(0x2a4)][_0x4b14d5(0x392)](_0x93674,_0x5463be),this[_0x4b14d5(0x26a)]();}[_0x285015(0x2f9)](_0x2bab88,_0x7157a9){var _0x3f0eb6=_0x285015;this[_0x3f0eb6(0x39f)][_0x3f0eb6(0x392)](_0x2bab88,_0x7157a9),this[_0x3f0eb6(0x26a)]();}[_0x285015(0x398)](_0x5c7258,_0x4c3d57){var _0xfd09a5=_0x285015;const _0x17fd5c=[];let _0x290818=_0x4c3d57,_0x444920=_0x4c3d57;for(let _0x397635=_0x5c7258[_0xfd09a5(0x305)]-0x1;_0x397635>=0x0;_0x397635--){const {unitID:_0x1ec477,undoMutations:_0x5345e4,redoMutations:_0x3a0a86}=_0x5c7258[_0x397635],_0x519fc4=this[_0xfd09a5(0x191)][_0xfd09a5(0x164)](_0x290818,_0x5345e4),_0x59574f=this[_0xfd09a5(0x191)][_0xfd09a5(0x164)](_0x444920,_0x3a0a86);if(_0x2ae3b5(_0x519fc4)||_0x2ae3b5(_0x59574f)){this[_0xfd09a5(0x328)][_0xfd09a5(0x1ce)](_0xfd09a5(0x3ff),_0xfd09a5(0x22e),_0x519fc4,_0x59574f);break;}_0x290818=_0x519fc4[_0xfd09a5(0x261)],_0x444920=_0x59574f['c1Prime'],_0x17fd5c['push']({'unitID':_0x1ec477,'undoMutations':_0x519fc4[_0xfd09a5(0x1c5)],'redoMutations':_0x59574f[_0xfd09a5(0x1c5)]});}return _0x17fd5c[_0xfd09a5(0x431)]();}};yt=sr([Ae(0x0,_0x957fe2),Ae(0x1,_0x3ae5a2),Ae(0x2,_0x40a186),Ae(0x3,_0x549b0b),Ae(0x4,_0xfc8632)],yt);var nr=Object[_0x285015(0x1c9)],rr=Object[_0x285015(0x310)],ar=(_0x2a93da,_0x4720d4,_0x13af0e)=>_0x4720d4 in _0x2a93da?nr(_0x2a93da,_0x4720d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13af0e}):_0x2a93da[_0x4720d4]=_0x13af0e,or=(_0x179b66,_0x4a2104,_0x209b8a,_0x1ad812)=>{var _0x17ffa1=_0x285015;for(var _0x1e2aa8=_0x1ad812>0x1?void 0x0:_0x1ad812?rr(_0x4a2104,_0x209b8a):_0x4a2104,_0xf428e7=_0x179b66[_0x17ffa1(0x305)]-0x1,_0x3169cb;_0xf428e7>=0x0;_0xf428e7--)(_0x3169cb=_0x179b66[_0xf428e7])&&(_0x1e2aa8=_0x3169cb(_0x1e2aa8)||_0x1e2aa8);return _0x1e2aa8;},mt=(_0x9badf,_0x125403)=>(_0xce7f41,_0x4db689)=>_0x125403(_0xce7f41,_0x4db689,_0x9badf),cr=(_0x41f529,_0x545445,_0x3f2e1f)=>ar(_0x41f529,_0x545445+'',_0x3f2e1f);const hr=_0x285015(0x15c);let Nt=class extends _0x4d592c{constructor(_0xdbcc31,_0x489f6f,_0x59442f,_0x2b7313){var _0x465078=_0x285015;super(),N(this,_0x465078(0x1d4)),(this['_logService']=_0x489f6f,this[_0x465078(0x43c)]=_0x59442f,this['_configService']=_0x2b7313);const {..._0x25bf79}=_0x50237d({},Ls,_0xdbcc31);if(!_0x25bf79[_0x465078(0x419)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x465078(0x1d4)]=_0x25bf79,this['_configService'][_0x465078(0x2ab)](K,_0x25bf79);}[_0x285015(0x204)](){var _0x225a15=_0x285015;this[_0x225a15(0x18e)](),this[_0x225a15(0x1fa)]();}['_registerDependencies'](){var _0x3914fc=_0x285015,_0x874183,_0x220e49;this[_0x3914fc(0x43c)][_0x3914fc(0x43e)](_0x2017c9)&&this['_logService'][_0x3914fc(0x1ce)](_0x3914fc(0x441),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5dae36=_0x324a6e([[_0x2017c9,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config'][_0x3914fc(0x419)]}],[_0xb4eaae,{'useClass':bt}],[_0x4079b2,{'useClass':Tt}],[_0x503895,{'useClass':Rt}],[_0x588111,{'useClass':Ot}],[nt],[It]],(_0x874183=this[_0x3914fc(0x1d4)])==null?void 0x0:_0x874183['override']);if(!((_0x220e49=this[_0x3914fc(0x1d4)])!=null&&_0x220e49['enableSingleActiveInstanceLock'])){const _0x48458d=_0x5dae36[_0x3914fc(0x423)](([_0x426c2c])=>_0x426c2c===ht);_0x48458d!==-0x1&&_0x5dae36['splice'](_0x48458d,0x1);}_0x5db734(this['_injector'],_0x5dae36);}['_initDependencies'](){var _0x41b6d8=_0x285015,_0x1a10e3,_0x457840,_0x1a8b3a;this[_0x41b6d8(0x43c)][_0x41b6d8(0x195)](_0x289ab0)[_0x41b6d8(0x40d)]({'priority':0x14,'interceptor':_0x4b2ed2({'maxParallel':0x6})}),(_0x1a10e3=this[_0x41b6d8(0x1d4)])!=null&&_0x1a10e3['enableOfflineEditing']||(_0x457840=this[_0x41b6d8(0x43c)]['get'](J,_0x20403d[_0x41b6d8(0x1e4)]))==null||_0x457840[_0x41b6d8(0x3cc)](),(_0x1a8b3a=this[_0x41b6d8(0x1d4)])!=null&&_0x1a8b3a[_0x41b6d8(0x334)]&&_0x396126(this[_0x41b6d8(0x43c)],[[rt]]),_0x396126(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x285015(0x158),hr),Nt=or([_0xe84b9d(_0x5e053b,_0x3db3c2),mt(0x1,_0xfc8632),mt(0x2,_0x1f8eab(_0x231415)),mt(0x3,_0x4676fe)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|