@univerjs-pro/collaboration-client 0.5.1-nightly.202412031606 → 0.5.1-nightly.202412041606
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/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x5e3172=_0x1eb2;(function(_0x39b754,_0x2f135a){const _0x3e60b1=_0x1eb2,_0x197efc=_0x39b754();while(!![]){try{const _0x230929=parseInt(_0x3e60b1(0x3ff))/0x1*(parseInt(_0x3e60b1(0x26e))/0x2)+-parseInt(_0x3e60b1(0x3dc))/0x3*(parseInt(_0x3e60b1(0x3fb))/0x4)+parseInt(_0x3e60b1(0x208))/0x5+parseInt(_0x3e60b1(0x400))/0x6+-parseInt(_0x3e60b1(0x173))/0x7*(parseInt(_0x3e60b1(0x3e3))/0x8)+parseInt(_0x3e60b1(0x4b8))/0x9*(parseInt(_0x3e60b1(0x179))/0xa)+parseInt(_0x3e60b1(0x384))/0xb;if(_0x230929===_0x2f135a)break;else _0x197efc['push'](_0x197efc['shift']());}catch(_0x31303e){_0x197efc['push'](_0x197efc['shift']());}}}(_0x1abc,0x4c1d9));var cr=Object['defineProperty'],hr=(_0x15b577,_0x52334e,_0x16f8fd)=>_0x52334e in _0x15b577?cr(_0x15b577,_0x52334e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f8fd}):_0x15b577[_0x52334e]=_0x16f8fd,g=(_0x42e6cd,_0x202912,_0x3c81be)=>hr(_0x42e6cd,typeof _0x202912!=_0x5e3172(0x36d)?_0x202912+'':_0x202912,_0x3c81be);import{createIdentifier as _0x311f8c,Inject as _0x1259a7,Disposable as _0x5f337f,DisposableCollection as _0x1f64b1,toDisposable as _0x38e5fb,IConfigService as _0x3a37b7,ILogService as _0xadcc6,UserManagerService as _0x43b087,UniverInstanceType as _0xfbb68f,IUniverInstanceService as _0x381e7e,LocaleService as _0x56a2bf,Optional as _0x2f5f30,RxDisposable as _0x5ce84d,Injector as _0xa6ca3c,Tools as _0x279a54,ILocalStorageService as _0x489004,Rectangle as _0x50302c,ICommandService as _0x58c2c0,DOC_RANGE_TYPE as _0x263740,JSONX as _0x1bb50c,CommandType as _0x57cf4b,IPermissionService as _0x51028f,IUndoRedoService as _0x2d3235,sequenceExecute as _0x399b47,debounce as _0x38f51c,COLORS as _0x341aed,ColorKit as _0x5842d9,ThemeService as _0x3b15b9,fromEventSubject as _0xb2198c,useDependency as _0x57885b,connectInjector as _0x517e5d,Workbook as _0x1d9cb8,MentionType as _0xbf08a,isInternalEditorID as _0x48d1da,LocalUndoRedoService as _0x301e35,IContextService as _0x1f3c95,DependentOn as _0x447968,Plugin as _0x35856f,touchDependencies as _0x3ab8ae,IAuthzIoService as _0x5ae3ef,IMentionIOService as _0x5c1989,registerDependencies as _0x3ef291,mergeOverrideWithDependencies as _0x11b22e}from'@univerjs/core';import{Subject as _0x1b8780,merge as _0x143e60,takeUntil as _0x34041a,BehaviorSubject as _0xd0d94b,distinctUntilChanged as _0x11e04f,fromEvent as _0x1a191c,ReplaySubject as _0x3d17ca,take as _0x3decc5,map as _0x461042,shareReplay as _0x55695a,of as _0x4f62b6,debounceTime as _0x5fe042,filter as _0x446160,switchMap as _0x12c24e,combineLatest as _0x1bfc9f,concatMap as _0x21776c,mapTo as _0x15c046}from'rxjs';import{map as _0x2945cf,take as _0x287b41,filter as _0x3c0a43,delay as _0x5a47b9,throttleTime as _0x14e77d,takeUntil as _0x209ee4,switchMap as _0x506a28}from'rxjs/operators';import{MessageType as _0x59169d,Tooltip as _0x172eaf}from'@univerjs/design';import{HTTPService as _0x21ff0e,WebSocketService as _0x5b73a6,MergeInterceptorFactory as _0x146515,HTTPRequest as _0x427f8d,UniverNetworkPlugin as _0x284272,ThresholdInterceptorFactory as _0x3d2a05}from'@univerjs/network';import{IBeforeCloseService as _0x38bd7e,IMessageService as _0x28a2c3,INotificationService as _0xe36565,useObservable as _0x82b757,BuiltInUIPart as _0x4a568e,IUIPartsService as _0x5beba5}from'@univerjs/ui';import{CollaborationEvent as _0x385814,parseChangesetToProtocol as _0x103c14,ISnapshotServerService as _0x18e368,isTransformMutationFailure as _0x29729a,isTransformMutationsWithChangesetSuccess as _0x17cfb3,ITransformService as _0x2a04be,RevisionService as _0x5730a1,mapDocumentTypeToUniverType as _0x20d9fb,isTransformChangesetsSuccess as _0x1b6696,CompressMutationService as _0x2efac4,parseProtocolChangeset as _0x5e0840,SnapshotService as _0x2dad5b,textEncoder as _0xf9a5c6,b64DecodeUnicode as _0x1a04e2,isTransformMutationsWithChangesetFailure as _0x2ccc3c,UniverCollaborationPlugin as _0x30e153}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x42c595}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x195c19,RichTextEditingMutation as _0x48d9a2,SetTextSelectionsOperation as _0x6a5ee2,DocSkeletonManagerService as _0x218e07}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3ded9c,DocStateChangeManagerService as _0x59d42b,IDocClipboardService as _0x51fcd5,NodePositionConvertToCursor as _0x23a52e,NodePositionConvertToRectRange as _0x135bfe,TEXT_RANGE_LAYER_INDEX as _0x2641c4,SetDocZoomRatioOperation as _0x56f25a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x10dd54,SetSelectionsOperation as _0x3f708e,InsertSheetMutation as _0x1c7d98,EmptyMutation as _0x4b8f30,WorkbookEditablePermission as _0x1a4341,RefRangeService as _0x4fe9a5,EffectRefRangId as _0x1d34c9,handleIRemoveRow as _0x45470d,handleIRemoveCol as _0x2f48a3,handleMoveRange as _0x16c781,handleInsertRow as _0x57fbd7,handleInsertRangeMoveRight as _0x10303e,handleInsertRangeMoveDown as _0x28267d,handleInsertCol as _0x4f5a43,handleDeleteRangeMoveUp as _0x34bf8e,handleDeleteRangeMoveLeft as _0xa5d192,runRefRangeMutations as _0x212980,SetWorksheetActivateCommand as _0x5d7f9e}from'@univerjs/sheets';import{IRenderManagerService as _0x2d7ddc,Shape as _0x3f24aa,Rect as _0x5876ba,getColor as _0x58cb0a,RegularPolygon as _0x2f6ca8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2759c0,Vector2 as _0x40d11c,SHEET_VIEWPORT_KEY as _0x3dbe35}from'@univerjs/engine-render';import{IImageIoService as _0x1c8798,ImageSourceType as _0xa7900e,ImageUploadStatusType as _0x2f0162}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x987e76,serializeRangeWithSheet as _0x51efb3}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5d1f2f,getCoordByCell as _0x1028ea,getSheetObject as _0x7eaba5,SheetPermissionInitController as _0x25b747}from'@univerjs/sheets-ui';import _0x165312,{forwardRef as _0x5af4de,useRef as _0xa7cda3,createElement as _0x27aa2b,useCallback as _0x3c29fa}from'react';import{IRemoteInstanceService as _0x4ec8cb}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn='/universer-api/snapshot',Tn=_0x5e3172(0x457),wh=_0x5e3172(0x19c),Rn=0x7d0,On=_0x5e3172(0x182),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x5e3172(0x201),Dn=_0x5e3172(0x513),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x5e3172(0x362),An=0x3,Mn=_0x5e3172(0x127),xn=0x3e8,Ln=_0x5e3172(0x1b8),$n=_0x5e3172(0x444),Hn='LOGIN_URL_KEY',jn=_0x5e3172(0x4e7);var Fi=(_0x1e25dd=>(_0x1e25dd[_0x1e25dd[_0x5e3172(0x252)]=0x0]=_0x5e3172(0x252),_0x1e25dd[_0x1e25dd['OK']=0x1]='OK',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3d4)]=0x2]='INTERNAL_ERROR',_0x1e25dd[_0x1e25dd['PERMISSION_DENIED']=0x3]=_0x5e3172(0x4f8),_0x1e25dd[_0x1e25dd[_0x5e3172(0x22f)]=0x4]=_0x5e3172(0x22f),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3f4)]=0x5]=_0x5e3172(0x3f4),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3fa)]=0x6]=_0x5e3172(0x3fa),_0x1e25dd[_0x1e25dd[_0x5e3172(0x181)]=0x7]='INVALID_ARGUMENT',_0x1e25dd[_0x1e25dd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e3)]=0x9]=_0x5e3172(0x4e3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x36c)]=0x1389]=_0x5e3172(0x36c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e0)]=0x1771]=_0x5e3172(0x4e0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e25dd[_0x1e25dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5e3172(0x323),_0x1e25dd[_0x1e25dd['APPLY_REJECT']=0x1b59]=_0x5e3172(0x478),_0x1e25dd[_0x1e25dd['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e3172(0x1b0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x2fb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3ab)]=0x1b5c]=_0x5e3172(0x3ab),_0x1e25dd[_0x1e25dd['APPLY_DUPLICATED']=0x1b5d]=_0x5e3172(0x1f3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x337)]=0x1f41]=_0x5e3172(0x337),_0x1e25dd[_0x1e25dd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5e3172(0x35c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x330)]=0x232a]=_0x5e3172(0x330),_0x1e25dd[_0x1e25dd[_0x5e3172(0x138)]=0x232b]=_0x5e3172(0x138),_0x1e25dd[_0x1e25dd[_0x5e3172(0x351)]=0x232c]=_0x5e3172(0x351),_0x1e25dd[_0x1e25dd[_0x5e3172(0x42a)]=0x232d]=_0x5e3172(0x42a),_0x1e25dd[_0x1e25dd[_0x5e3172(0x1f0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1e25dd[_0x1e25dd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e25dd[_0x1e25dd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e3172(0x1ad),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3b0)]=0x2714]=_0x5e3172(0x3b0),_0x1e25dd[_0x1e25dd['UNRECOGNIZED']=-0x1]=_0x5e3172(0x175),_0x1e25dd))(Fi||{}),ae=(_0x14fa79=>(_0x14fa79[_0x14fa79['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x14fa79[_0x14fa79['UNIVER_DOC']=0x1]=_0x5e3172(0x11d),_0x14fa79[_0x14fa79[_0x5e3172(0x1c2)]=0x2]='UNIVER_SHEET',_0x14fa79[_0x14fa79[_0x5e3172(0x32e)]=0x3]=_0x5e3172(0x32e),_0x14fa79[_0x14fa79[_0x5e3172(0x375)]=0x4]='UNIVER_PROJECT',_0x14fa79[_0x14fa79[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x14fa79))(ae||{}),W=(_0x80a1be=>(_0x80a1be[_0x80a1be[_0x5e3172(0x39d)]=0x0]=_0x5e3172(0x39d),_0x80a1be[_0x80a1be[_0x5e3172(0x33e)]=0x1]=_0x5e3172(0x33e),_0x80a1be[_0x80a1be['JOIN']=0x2]=_0x5e3172(0x1ac),_0x80a1be[_0x80a1be['LEAVE']=0x3]=_0x5e3172(0x1df),_0x80a1be[_0x80a1be[_0x5e3172(0x23c)]=0x4]=_0x5e3172(0x23c),_0x80a1be[_0x80a1be[_0x5e3172(0x420)]=0x5]=_0x5e3172(0x420),_0x80a1be[_0x80a1be['RECV']=0x6]=_0x5e3172(0x31b),_0x80a1be[_0x80a1be[_0x5e3172(0x175)]=-0x1]='UNRECOGNIZED',_0x80a1be))(W||{}),Pe=(_0x4a8764=>(_0x4a8764[_0x4a8764[_0x5e3172(0x34b)]=0x0]=_0x5e3172(0x34b),_0x4a8764[_0x4a8764['OK']=0x1]='OK',_0x4a8764[_0x4a8764[_0x5e3172(0x1cd)]=0x2]='FAIL',_0x4a8764[_0x4a8764[_0x5e3172(0x164)]=0x3e9]=_0x5e3172(0x164),_0x4a8764[_0x4a8764[_0x5e3172(0x12e)]=0x3ea]=_0x5e3172(0x12e),_0x4a8764[_0x4a8764[_0x5e3172(0x267)]=0x3eb]=_0x5e3172(0x267),_0x4a8764[_0x4a8764[_0x5e3172(0x1af)]=0x3ec]=_0x5e3172(0x1af),_0x4a8764[_0x4a8764[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x4a8764))(Pe||{}),Vi=(_0x471e2d=>(_0x471e2d[_0x471e2d['Undefined']=0x0]=_0x5e3172(0x317),_0x471e2d[_0x471e2d[_0x5e3172(0x446)]=0x1]='HttpImport',_0x471e2d[_0x471e2d['HttpExport']=0x2]=_0x5e3172(0x160),_0x471e2d[_0x471e2d[_0x5e3172(0x16c)]=0x3]=_0x5e3172(0x16c),_0x471e2d[_0x471e2d['UnitSnapshot']=0x4]=_0x5e3172(0x439),_0x471e2d[_0x471e2d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x471e2d))(Vi||{});const Q=_0x5e3172(0x497),Bn={};function kn(_0x17f977){const _0x20357d=_0x5e3172;var _0xf13991,_0x3462bc,_0x30f07e,_0x2c7e82,_0x59507d;const _0x387b23=_0x17f977['data'],_0x39cef7=JSON['parse'](_0x387b23);switch(_0x39cef7[_0x20357d(0x35f)]){case W[_0x20357d(0x420)]:case W[_0x20357d(0x33e)]:{const _0x5a37fd=_0x39cef7[_0x20357d(0x3d1)];return{..._0x39cef7,'data':_0x5a37fd,'cmd':_0x39cef7[_0x20357d(0x35f)]};}case W[_0x20357d(0x1ac)]:{const _0x5be17b=_0x39cef7[_0x20357d(0x2d8)];return{..._0x39cef7,'data':_0x5be17b,'cmd':_0x39cef7['cmd']};}case W['RECV']:{const _0x3fdbd6=_0x39cef7[_0x20357d(0x21b)];switch(_0x3fdbd6['eventID']){case _0x385814[_0x20357d(0x3e9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0xf13991=_0x3fdbd6[_0x20357d(0x2cb)])==null?void 0x0:_0xf13991['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2e5)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x3462bc=_0x3fdbd6[_0x20357d(0x150)])==null?void 0x0:_0x3462bc['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x331)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x30f07e=_0x3fdbd6['newCsEvent'])==null?void 0x0:_0x30f07e['cs']},'cmd':_0x39cef7['cmd']};case _0x385814['CHANGESET_REJ']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x2c7e82=_0x3fdbd6['csRejEvent'])==null?void 0x0:_0x2c7e82['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x155)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x59507d=_0x3fdbd6[_0x20357d(0x453)])==null?void 0x0:_0x59507d['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x514)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x142)]},'cmd':_0x39cef7['cmd']};case _0x385814['USERS_ENTER']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['joinEvent']},'cmd':_0x39cef7['cmd']};case _0x385814[_0x20357d(0x10f)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x4ed)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x4bc)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x251)]:case _0x385814[_0x20357d(0x30b)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x46a)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x250)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814['MSG_FOR_ERROR']:return{..._0x39cef7,'data':_0x3fdbd6,'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2a9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['commentUpdateEvent']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x278)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x532)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x137)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['shouldCloseConn']},'cmd':_0x39cef7[_0x20357d(0x35f)]};default:return _0x39cef7;}}default:return _0x39cef7;}}function Wn(_0x14763b){const _0x476fa2=_0x5e3172;switch(_0x14763b[_0x476fa2(0x35f)]){case W[_0x476fa2(0x420)]:case W[_0x476fa2(0x33e)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b['routeKey']});case W[_0x476fa2(0x23c)]:{let _0x55ed95;switch(_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]){case _0x385814[_0x476fa2(0x514)]:{_0x55ed95={'eventID':_0x385814['UPDATE_CURSOR'],'updateCursorEvent':_0x14763b['data']['data']};break;}case _0x385814[_0x476fa2(0x10f)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x10f)],'leaveEvent':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x3c2)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x3c2)],'joinEvent':_0x14763b['data'][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x4bc)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x4bc)],'liveShareNewHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814[_0x476fa2(0x30b)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x30b)],'liveShareOperation':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x250)]:{_0x55ed95={'eventID':_0x385814['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x157)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x157)],'liveShareRequestHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814['LIVESHARE_FETCH_OPERATIONS']:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x251)]};break;}default:_0x55ed95={'eventID':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]};}return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'collaMsg':_0x55ed95});}case W[_0x476fa2(0x1ac)]:return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'joinReq':_0x14763b['data']});case W[_0x476fa2(0x1df)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'leaveReq':_0x14763b[_0x476fa2(0x288)]});default:throw new Error(_0x476fa2(0x398));}}var Fn=Object[_0x5e3172(0x243)],Vn=Object[_0x5e3172(0x26f)],Gn=(_0x2d42c6,_0x190d4f,_0x3ce1d2,_0x1bd443)=>{const _0x4b6f99=_0x5e3172;for(var _0x3b5253=_0x1bd443>0x1?void 0x0:_0x1bd443?Vn(_0x190d4f,_0x3ce1d2):_0x190d4f,_0x3d9c32=_0x2d42c6[_0x4b6f99(0x2c8)]-0x1,_0x431c26;_0x3d9c32>=0x0;_0x3d9c32--)(_0x431c26=_0x2d42c6[_0x3d9c32])&&(_0x3b5253=(_0x1bd443?_0x431c26(_0x190d4f,_0x3ce1d2,_0x3b5253):_0x431c26(_0x3b5253))||_0x3b5253);return _0x1bd443&&_0x3b5253&&Fn(_0x190d4f,_0x3ce1d2,_0x3b5253),_0x3b5253;},ze=(_0x10a368,_0xb11ce9)=>(_0x446084,_0x5387ac)=>_0xb11ce9(_0x446084,_0x5387ac,_0x10a368);const Gi=_0x311f8c(_0x5e3172(0x141));function Yn(_0x5247e3,_0x458ff8,_0x407fb8){return _0x5247e3+'/'+_0x458ff8+'/unit/'+_0x407fb8+'/new_changes';}let cs=class extends _0x5f337f{constructor(_0xd6e93d,_0x2de433,_0x3d5edd,_0x5015f2,_0x5b56a0){const _0x591725=_0x5e3172;super(),this['_http']=_0xd6e93d,this['_ws']=_0x2de433,this[_0x591725(0x270)]=_0x3d5edd,this[_0x591725(0x52d)]=_0x5015f2,this[_0x591725(0x41d)]=_0x5b56a0;}[_0x5e3172(0x111)](_0x2d68b5){const _0x2834a5=_0x5e3172,_0x428e93=this[_0x2834a5(0x4a0)]['createSocket'](_0x2d68b5);if(!_0x428e93)throw new Error(_0x2834a5(0x17a));const _0x27aaa4=new _0x1f64b1(),_0x561bbc=new _0x1b8780();_0x27aaa4['add'](_0x428e93[_0x2834a5(0x3b8)][_0x2834a5(0x134)](_0x350d41=>_0x561bbc[_0x2834a5(0x23b)](_0x350d41))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x561bbc['complete']()));const _0x6deb48=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x521)][_0x2834a5(0x134)](_0x5cc656=>_0x6deb48['next'](_0x5cc656))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x6deb48['complete']()));const _0x63127e=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x4a1)][_0x2834a5(0x134)](_0x43646d=>{const _0x5ebe18=_0x2834a5,_0x56cb89=kn(_0x43646d);_0x63127e[_0x5ebe18(0x23b)](_0x56cb89);})),_0x27aaa4['add'](_0x38e5fb(()=>_0x63127e['complete']()));let _0x843f0a;const _0x1c6832=()=>{const _0x51288a=_0x2834a5;_0x6deb48[_0x51288a(0x23b)](new Event(_0x51288a(0x4a2))),_0x561bbc[_0x51288a(0x23b)](new CloseEvent(_0x51288a(0x4a2))),_0x843f0a[_0x51288a(0x177)]();};return _0x843f0a={'memberID':'','close$':_0x561bbc[_0x2834a5(0x306)](),'error$':_0x6deb48[_0x2834a5(0x306)](),'open$':_0x428e93['open$'],'message$':_0x63127e[_0x2834a5(0x306)](),'send':_0x2ef2b4=>{const _0x57d91f=_0x2834a5;if(_0x2ef2b4[_0x57d91f(0x35f)]===W[_0x57d91f(0x23c)]){if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814[_0x57d91f(0x27a)]){this[_0x57d91f(0x393)](_0x843f0a,_0x2ef2b4['data'])[_0x57d91f(0x33b)](_0x21502b=>{const _0x614ad9=_0x57d91f;this[_0x614ad9(0x52d)]['error'](_0x21502b),_0x1c6832();});return;}if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814['FETCH_MISSING']){const _0x1d6701=_0x2ef2b4['data'];this[_0x57d91f(0x355)](_0x1d6701)['then'](_0x2430f6=>{const _0x5b373a=_0x57d91f;_0x63127e['next']({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1d6701[_0x5b373a(0x288)][_0x5b373a(0x4e4)],'routeType':'','data':{'eventID':_0x385814[_0x5b373a(0x46d)],'data':{'changesets':_0x2430f6}}});})['catch'](_0x18da79=>{const _0x21d0bd=_0x57d91f;this[_0x21d0bd(0x52d)]['error'](_0x18da79),_0x1c6832();});return;}}_0x428e93['send'](Wn(_0x2ef2b4));},'close':()=>{const _0x58835e=_0x2834a5;_0x428e93[_0x58835e(0x177)](),_0x27aaa4[_0x58835e(0x48f)]();}},_0x843f0a;}async['_submitChangeset'](_0x2a2316,_0x3fc3b2){const _0x56846c=_0x5e3172;var _0x1bf7d4,_0x19d167;const {unitType:_0x5c86c7,unitID:_0x4d7cbc,changeset:_0x6e456c}=_0x3fc3b2[_0x56846c(0x288)],_0x4029e6={'unitID':_0x4d7cbc,'memberID':_0x2a2316['memberID'],'type':_0x5c86c7,'changeset':_0x103c14(_0x6e456c)},_0x4c542d=this[_0x56846c(0x270)][_0x56846c(0x186)](Ln),_0xa2ddbd=this[_0x56846c(0x270)]['getConfig'](Q),_0x425adf=Yn((_0x19d167=(_0x1bf7d4=_0xa2ddbd==null?void 0x0:_0xa2ddbd[_0x56846c(0x23f)])!=null?_0x1bf7d4:_0x4c542d)!=null?_0x19d167:$n,_0x5c86c7,_0x4d7cbc);try{await this['_http'][_0x56846c(0x2a5)](_0x425adf,{'body':_0x4029e6});}catch(_0x577686){throw this[_0x56846c(0x52d)][_0x56846c(0x295)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x577686;}}async[_0x5e3172(0x355)](_0x36b46){const _0x2658d7=_0x5e3172,{unitID:_0x983c91,from:_0x1515fe,to:_0x514340,unitType:_0x3710e0}=_0x36b46[_0x2658d7(0x288)];return(await this[_0x2658d7(0x41d)][_0x2658d7(0x41a)]({'metadata':void 0x0},{'unitID':_0x983c91,'type':_0x3710e0,'from':_0x1515fe,'to':_0x514340}))[_0x2658d7(0x3fd)];}};cs=Gn([ze(0x0,_0x1259a7(_0x21ff0e)),ze(0x1,_0x1259a7(_0x5b73a6)),ze(0x2,_0x3a37b7),ze(0x3,_0xadcc6),ze(0x4,_0x18e368)],cs);const Kn=_0x5e3172(0x474);function qn(_0xa7edf3){const _0x4fee80=_0x5e3172;return JSON[_0x4fee80(0x50f)](_0xa7edf3)[_0x4fee80(0x2c8)];}class Yi{constructor(){const _0x2628f0=_0x5e3172;g(this,_0x2628f0(0x537),new _0x1b8780()),g(this,_0x2628f0(0x210),this['_commentUpdate$'][_0x2628f0(0x306)]());}[_0x5e3172(0x263)](_0x4ea9e1){const _0x447e00=_0x5e3172;this['_commentUpdate$'][_0x447e00(0x23b)](_0x4ea9e1);}}var zn=Object['defineProperty'],Xn=Object[_0x5e3172(0x26f)],Jn=(_0x1245b5,_0x334b43,_0x50d036,_0x558731)=>{for(var _0x2841fe=_0x558731>0x1?void 0x0:_0x558731?Xn(_0x334b43,_0x50d036):_0x334b43,_0x4df9df=_0x1245b5['length']-0x1,_0x4ef320;_0x4df9df>=0x0;_0x4df9df--)(_0x4ef320=_0x1245b5[_0x4df9df])&&(_0x2841fe=(_0x558731?_0x4ef320(_0x334b43,_0x50d036,_0x2841fe):_0x4ef320(_0x2841fe))||_0x2841fe);return _0x558731&&_0x2841fe&&zn(_0x334b43,_0x50d036,_0x2841fe),_0x2841fe;},Ks=(_0x2fe8ad,_0x2f5ce6)=>(_0x88ffee,_0x5c2de2)=>_0x2f5ce6(_0x88ffee,_0x5c2de2,_0x2fe8ad);let Me=class extends _0x5f337f{constructor(_0x4b5a53,_0x1a06dc){const _0x477203=_0x5e3172;super(),g(this,'_roomMembers',new Map()),(this[_0x477203(0x153)]=_0x4b5a53,this['_userManagerService']=_0x1a06dc,this[_0x477203(0x2d9)](_0x38e5fb(_0x143e60(this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET'])['pipe'](_0x2945cf(_0x200919=>_0x200919[_0x477203(0x12f)]())),this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x477203(0x11d)])['pipe'](_0x2945cf(_0x1530d4=>_0x1530d4['getUnitId']())),this[_0x477203(0x153)][_0x477203(0x241)](_0xfbb68f['UNIVER_SLIDE'])[_0x477203(0x4b6)](_0x2945cf(_0xf4bd21=>_0xf4bd21[_0x477203(0x12f)]())))[_0x477203(0x134)](_0x3d80ca=>this[_0x477203(0x441)](_0x3d80ca)))));}[_0x5e3172(0x287)](_0x4b7a81){const _0x30b697=_0x5e3172;this[_0x30b697(0x414)][_0x30b697(0x287)](_0x4b7a81);}[_0x5e3172(0x3d8)](){const _0x5b6677=_0x5e3172;return this[_0x5b6677(0x414)][_0x5b6677(0x3d8)]();}[_0x5e3172(0x508)](_0x5dc18e,_0x5a2bfb){const _0x213924=_0x5e3172;let _0x40cb28=this[_0x213924(0x222)]['get'](_0x5dc18e);_0x40cb28||(_0x40cb28=new Zn(),this['_roomMembers'][_0x213924(0x332)](_0x5dc18e,_0x40cb28)),_0x40cb28[_0x213924(0x508)](_0x5a2bfb);}[_0x5e3172(0x37f)](_0x531bc1,_0xa8192a){const _0x155d74=_0x5e3172,_0x477309=this[_0x155d74(0x222)][_0x155d74(0x307)](_0x531bc1);_0x477309&&_0x477309[_0x155d74(0x37f)](_0xa8192a);}[_0x5e3172(0x44a)](_0x34a8f7){const _0x2f30f2=_0x5e3172;return this[_0x2f30f2(0x222)]['get'](_0x34a8f7);}[_0x5e3172(0x116)](_0x2f595a,_0x29b080){const _0x5cf4fa=_0x5e3172,_0x292aa1=this[_0x5cf4fa(0x222)]['get'](_0x2f595a);if(_0x292aa1)return _0x292aa1['getMember'](_0x29b080);}[_0x5e3172(0x441)](_0x151e2b){const _0x2719d3=_0x5e3172,_0x91fae9=this[_0x2719d3(0x222)][_0x2719d3(0x307)](_0x151e2b);_0x91fae9&&(_0x91fae9[_0x2719d3(0x48f)](),this['_roomMembers']['delete'](_0x151e2b));}['dispose'](){const _0x278e5e=_0x5e3172;this[_0x278e5e(0x222)][_0x278e5e(0x356)](_0x2409a2=>_0x2409a2[_0x278e5e(0x48f)]()),this[_0x278e5e(0x222)]['clear']();}};Me=Jn([Ks(0x0,_0x381e7e),Ks(0x1,_0x1259a7(_0x43b087))],Me);class Zn extends _0x5f337f{constructor(){super(...arguments),g(this,'_members',new Map());}[_0x5e3172(0x48f)](){const _0x4b7ab7=_0x5e3172;this[_0x4b7ab7(0x15d)][_0x4b7ab7(0x3db)]();}[_0x5e3172(0x508)](_0x2cf65e){this['_members']['set'](_0x2cf65e['memberID'],_0x2cf65e);}[_0x5e3172(0x37f)](_0x2c8d28){const _0x5c9597=_0x5e3172;this[_0x5c9597(0x15d)][_0x5c9597(0x480)](_0x2c8d28);}[_0x5e3172(0x116)](_0x49f3e8){const _0x5afc54=_0x5e3172;return this[_0x5afc54(0x15d)][_0x5afc54(0x307)](_0x49f3e8);}[_0x5e3172(0x19b)](){const _0x1ce631=_0x5e3172;return Array[_0x1ce631(0x49e)](this[_0x1ce631(0x15d)][_0x1ce631(0x21a)]());}}var Qn=Object[_0x5e3172(0x243)],eo=Object['getOwnPropertyDescriptor'],to=(_0x39a800,_0x9d7f3f,_0x4c4611,_0x47bd6c)=>{for(var _0x47c961=_0x47bd6c>0x1?void 0x0:_0x47bd6c?eo(_0x9d7f3f,_0x4c4611):_0x9d7f3f,_0x16ffd1=_0x39a800['length']-0x1,_0x2b2eb1;_0x16ffd1>=0x0;_0x16ffd1--)(_0x2b2eb1=_0x39a800[_0x16ffd1])&&(_0x47c961=(_0x47bd6c?_0x2b2eb1(_0x9d7f3f,_0x4c4611,_0x47c961):_0x2b2eb1(_0x47c961))||_0x47c961);return _0x47bd6c&&_0x47c961&&Qn(_0x9d7f3f,_0x4c4611,_0x47c961),_0x47c961;},Ee=(_0x56fe93,_0x205064)=>(_0x18f8b6,_0x4d0ebe)=>_0x205064(_0x18f8b6,_0x4d0ebe,_0x56fe93),fe=(_0x1e94cc=>(_0x1e94cc[_0x1e94cc[_0x5e3172(0x352)]=0x0]=_0x5e3172(0x352),_0x1e94cc[_0x1e94cc[_0x5e3172(0x51c)]=0x1]=_0x5e3172(0x51c),_0x1e94cc[_0x1e94cc['OFFLINE']=0x2]=_0x5e3172(0x4d7),_0x1e94cc[_0x1e94cc['ONLINE']=0x3]=_0x5e3172(0x2e2),_0x1e94cc))(fe||{});const qs={[Pe[_0x5e3172(0x1cd)]]:_0x5e3172(0x3e6),[Pe[_0x5e3172(0x164)]]:_0x5e3172(0x14e),[Pe[_0x5e3172(0x12e)]]:_0x5e3172(0x25c),[Pe[_0x5e3172(0x267)]]:_0x5e3172(0x1eb),[Pe[_0x5e3172(0x1af)]]:'session.room-cnt-exceeds'};let hs=class extends _0x5ce84d{constructor(_0x3d3998,_0x3eabf4,_0x549ef3,_0x51e2bd,_0x1cfb8a,_0x18af0e,_0x2466a2,_0xd3f03d,_0x58c8c5,_0x2e20ed){const _0x23c703=_0x5e3172;super(),g(this,_0x23c703(0x50b),new _0xd0d94b(0x0)),g(this,_0x23c703(0x18c),this[_0x23c703(0x50b)]['asObservable']()),g(this,_0x23c703(0x15a),new _0x1b8780()),g(this,_0x23c703(0x2c6),this['_event$']['asObservable']()),g(this,_0x23c703(0x437)),g(this,_0x23c703(0x174)),g(this,_0x23c703(0x2ac)),g(this,_0x23c703(0x367),!0x1),g(this,_0x23c703(0x238),null),(this[_0x23c703(0x507)]=_0x3d3998,this['_logService']=_0x549ef3,this['_beforeCloseService']=_0x51e2bd,this[_0x23c703(0x1ee)]=_0x1cfb8a,this[_0x23c703(0x270)]=_0x18af0e,this[_0x23c703(0x48a)]=_0x2466a2,this['_memberService']=_0xd3f03d,this[_0x23c703(0x119)]=_0x58c8c5,this[_0x23c703(0x234)]=_0x2e20ed,this[_0x23c703(0x367)]=!!this[_0x23c703(0x234)],_0x3eabf4[_0x23c703(0x4b6)](_0x34041a(this[_0x23c703(0x511)]))['subscribe'](_0x493201=>{const _0x5ad192=_0x23c703;var _0x52275b;typeof _0x493201>'u'||(this[_0x5ad192(0x437)]=_0x493201,_0x493201?(this[_0x5ad192(0x139)](_0x493201),this[_0x5ad192(0x174)]=_0x493201[_0x5ad192(0x4a1)]['subscribe'](_0xe23949=>{const _0x3f3d5b=_0x5ad192;_0xe23949['routeKey']===this[_0x3f3d5b(0x507)]&&this[_0x3f3d5b(0x246)](_0xe23949);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5ad192(0x50b)][_0x5ad192(0x23b)](0x2),(_0x52275b=this[_0x5ad192(0x174)])==null||_0x52275b[_0x5ad192(0x527)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x23c703(0x2b6)][_0x23c703(0x196)](()=>{const _0x4961a0=_0x23c703;var _0x379be3;(_0x379be3=this['_socket'])==null||_0x379be3[_0x4961a0(0x3e0)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x5e3172(0x189)](){const _0x5d4309=_0x5e3172;return this[_0x5d4309(0x50b)][_0x5d4309(0x15b)]();}[_0x5e3172(0x399)](){const _0x3290cf=_0x5e3172;var _0x585a8a,_0xf8a0a8;return(_0xf8a0a8=(_0x585a8a=this[_0x3290cf(0x437)])==null?void 0x0:_0x585a8a[_0x3290cf(0x3f1)])!=null?_0xf8a0a8:null;}[_0x5e3172(0x48f)](){const _0x5e1fab=_0x5e3172;super[_0x5e1fab(0x48f)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x23b)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x41f)]();}[_0x5e3172(0x177)](){const _0x42faca=_0x5e3172;var _0x4fe6a6,_0x279018;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4fe6a6=this['_socket'])==null||_0x4fe6a6[_0x42faca(0x3e0)]({'cmd':W[_0x42faca(0x1df)],'data':{'roomID':this[_0x42faca(0x507)]}}),(_0x279018=this[_0x42faca(0x437)])==null||_0x279018[_0x42faca(0x177)](),this[_0x42faca(0x15a)][_0x42faca(0x41f)](),this[_0x42faca(0x50b)][_0x42faca(0x41f)](),this[_0x42faca(0x48f)]();}[_0x5e3172(0x246)](_0x33467d){const _0x44029b=_0x5e3172;_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x1ac)]?this['_onJoinRoomEvent'](_0x33467d):_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x31b)]&&this[_0x44029b(0x275)](_0x33467d);}['_joinRoom'](_0x596e41){const _0x49e5b7=_0x5e3172;this[_0x49e5b7(0x50b)]['next'](0x1),_0x596e41[_0x49e5b7(0x3e0)]({'cmd':W[_0x49e5b7(0x1ac)],'routeKey':this[_0x49e5b7(0x507)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49e5b7(0x507)]}]}});}['_onJoinRoomEvent'](_0x3146e0){const _0x3c76bc=_0x5e3172;var _0x31eb00;if(_0x3146e0['code']in qs){this['_messageService'][_0x3c76bc(0x4b7)]({'type':_0x59169d[_0x3c76bc(0x18b)],'content':this[_0x3c76bc(0x48a)]['t'](qs[_0x3146e0[_0x3c76bc(0x1d0)]])}),this[_0x3c76bc(0x50b)][_0x3c76bc(0x23b)](0x2);return;}this[_0x3c76bc(0x50b)]['next'](0x3);const _0x31b9d1=(_0x31eb00=_0x3146e0[_0x3c76bc(0x288)][_0x3c76bc(0x4d3)][this[_0x3c76bc(0x507)]])==null?void 0x0:_0x31eb00[_0x3c76bc(0x4e1)];_0x31b9d1&&_0x31b9d1['forEach'](_0x17f7c1=>this[_0x3c76bc(0x16b)][_0x3c76bc(0x508)](this[_0x3c76bc(0x507)],_0x17f7c1));}['_onRecvEvent'](_0xf7219){const _0x18ea7c=_0x5e3172;try{const _0x228d34=_0xf7219[_0x18ea7c(0x288)];switch(_0x228d34[_0x18ea7c(0x451)]){case _0x385814[_0x18ea7c(0x3c2)]:this[_0x18ea7c(0x28d)](_0x228d34),this['_event$'][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x10f)]:this['_onUserLeave'](_0x228d34),this['_event$']['next'](_0x228d34);break;case _0x385814[_0x18ea7c(0x2e5)]:case _0x385814['CHANGESET_SHOULD_RETRY']:this[_0x18ea7c(0x178)](),this[_0x18ea7c(0x2ce)](),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x411)]:this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x18ea7c(0x133)+JSON[_0x18ea7c(0x50f)](_0x228d34)),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x2a9)]:this[_0x18ea7c(0x119)][_0x18ea7c(0x263)](_0x228d34[_0x18ea7c(0x288)]),this[_0x18ea7c(0x15a)]['next'](_0x228d34);break;default:this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);}}catch(_0x1d67d4){this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x1d67d4,_0xf7219);}}[_0x5e3172(0x28d)](_0x46f969){const _0x40d09e=_0x5e3172;this[_0x40d09e(0x16b)][_0x40d09e(0x508)](this[_0x40d09e(0x507)],_0x46f969[_0x40d09e(0x288)]);}[_0x5e3172(0x45a)](_0x4490ad){const _0x423670=_0x5e3172;this[_0x423670(0x16b)][_0x423670(0x37f)](this['_unitID'],_0x4490ad[_0x423670(0x288)]['memberID']);}async[_0x5e3172(0x3e0)](_0xa2ab26,_0x1a9bf4){const _0xf04ad=_0x5e3172;if(this[_0xf04ad(0x189)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xa2ab26[_0xf04ad(0x451)]===_0x385814['SUBMIT_CHANGESET']&&(this[_0xf04ad(0x3d5)](),this[_0xf04ad(0x4fa)](_0xa2ab26)),this['_socket'][_0xf04ad(0x3e0)]({'cmd':W[_0xf04ad(0x23c)],'routeKey':_0x1a9bf4,'routeType':'','data':_0xa2ab26});}catch(_0x5d0a00){this[_0xf04ad(0x52d)][_0xf04ad(0x295)](_0x5d0a00);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4cab0d=_0x5e3172;var _0x4b26e6;this[_0x4cab0d(0x2ac)]=window[_0x4cab0d(0x273)](()=>{const _0x49dc70=_0x4cab0d;this[_0x49dc70(0x2ac)]=null,this[_0x49dc70(0x1ee)][_0x49dc70(0x4b7)]({'type':_0x59169d[_0x49dc70(0x135)],'content':this[_0x49dc70(0x48a)]['t']('session.collaboration-timeout')});},(_0x4b26e6=this[_0x4cab0d(0x270)][_0x4cab0d(0x186)](ki))!=null?_0x4b26e6:Wi);}['_clearCollaborationTimeoutTimer'](){const _0x5b5439=_0x5e3172;this[_0x5b5439(0x2ac)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5b5439(0x2ac)]=null);}[_0x5e3172(0x4fa)](_0x4b3164){const _0x2b8a42=_0x5e3172;if(!this[_0x2b8a42(0x367)])return;const {data:_0x2b086c}=_0x4b3164,{unitID:_0x1facc7,changeset:_0x1a65eb}=_0x2b086c,{mutations:_0xf68e39,type:_0x39494f}=_0x1a65eb;this[_0x2b8a42(0x238)]={'unitId':_0x1facc7,'type':_0x39494f,'startTime':performance[_0x2b8a42(0x256)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf68e39)};}[_0x5e3172(0x178)](){const _0x2ba02b=_0x5e3172;if(this['_shouldReportTelemetry']){if(!this[_0x2ba02b(0x238)]){this[_0x2ba02b(0x52d)][_0x2ba02b(0x295)](_0x2ba02b(0x487),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2ba02b(0x238)][_0x2ba02b(0x4a5)]=performance[_0x2ba02b(0x256)](),this['_telemetryInfo'][_0x2ba02b(0x290)]=this[_0x2ba02b(0x238)]['stopTime']-this[_0x2ba02b(0x238)][_0x2ba02b(0x194)],this[_0x2ba02b(0x234)][_0x2ba02b(0x1a2)](Kn,this[_0x2ba02b(0x238)]),this['_telemetryInfo']=null;}}[_0x5e3172(0x4fc)](){const _0x2ae619=_0x5e3172;this[_0x2ae619(0x238)]=null;}};hs=to([Ee(0x2,_0xadcc6),Ee(0x3,_0x38bd7e),Ee(0x4,_0x28a2c3),Ee(0x5,_0x3a37b7),Ee(0x6,_0x1259a7(_0x56a2bf)),Ee(0x7,_0x1259a7(Me)),Ee(0x8,_0x1259a7(Yi)),Ee(0x9,_0x2f5f30(_0x42c595))],hs);var so=Object['defineProperty'],io=Object[_0x5e3172(0x26f)],ro=(_0x5e8d8b,_0x383c17,_0x54df92,_0x3689a6)=>{const _0x4e0732=_0x5e3172;for(var _0x518b13=_0x3689a6>0x1?void 0x0:_0x3689a6?io(_0x383c17,_0x54df92):_0x383c17,_0xc3ebec=_0x5e8d8b[_0x4e0732(0x2c8)]-0x1,_0x2116bc;_0xc3ebec>=0x0;_0xc3ebec--)(_0x2116bc=_0x5e8d8b[_0xc3ebec])&&(_0x518b13=(_0x3689a6?_0x2116bc(_0x383c17,_0x54df92,_0x518b13):_0x2116bc(_0x518b13))||_0x518b13);return _0x3689a6&&_0x518b13&&so(_0x383c17,_0x54df92,_0x518b13),_0x518b13;},ye=(_0x58c95a,_0x553a23)=>(_0x42e168,_0x52b47f)=>_0x553a23(_0x42e168,_0x52b47f,_0x58c95a);let xe=class extends _0x5f337f{constructor(_0xfd5a90,_0x1b76f9,_0x2a4dda,_0x54eed2,_0x1a14bc,_0x7febe9,_0x402a35){const _0x27f3d5=_0x5e3172;super(),g(this,_0x27f3d5(0x1d7),new _0xd0d94b(void 0x0)),g(this,'socket$',this[_0x27f3d5(0x1d7)][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x187),null),g(this,_0x27f3d5(0x17f),new Map()),g(this,_0x27f3d5(0x1d6),new _0xd0d94b(fe[_0x27f3d5(0x352)])),g(this,_0x27f3d5(0x52f),this['_status$'][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x1d4),!0x1),g(this,_0x27f3d5(0x3c3)),g(this,_0x27f3d5(0x2f7),0x0),g(this,_0x27f3d5(0x12d)),g(this,_0x27f3d5(0x311)),(this['_injector']=_0xfd5a90,this[_0x27f3d5(0x48a)]=_0x1b76f9,this[_0x27f3d5(0x1ee)]=_0x2a4dda,this[_0x27f3d5(0x52d)]=_0x54eed2,this[_0x27f3d5(0x270)]=_0x1a14bc,this[_0x27f3d5(0x2b3)]=_0x7febe9,this['_httpService']=_0x402a35,this[_0x27f3d5(0x3cf)]());}get[_0x5e3172(0x437)](){const _0x1ef607=_0x5e3172;return this[_0x1ef607(0x1d7)]['getValue']();}[_0x5e3172(0x3cf)](){const _0x1df571=_0x5e3172;this[_0x1df571(0x145)](),this[_0x1df571(0x2e8)]();}[_0x5e3172(0x48f)](){const _0x366a1c=_0x5e3172;super['dispose'](),this[_0x366a1c(0x17f)]['forEach'](_0x57ecf5=>_0x57ecf5['dispose']()),this[_0x366a1c(0x17f)][_0x366a1c(0x3db)](),this['_status$'][_0x366a1c(0x41f)]();}async[_0x5e3172(0x17e)](_0x4de43d){const _0x23e2f2=_0x5e3172;if(this['_sessions'][_0x23e2f2(0x3cb)](_0x4de43d))return this[_0x23e2f2(0x17f)][_0x23e2f2(0x307)](_0x4de43d);this['_tryEnsureSocket']();const _0x273206=this[_0x23e2f2(0x3b4)][_0x23e2f2(0x13c)](hs,_0x4de43d,this[_0x23e2f2(0x1d7)][_0x23e2f2(0x306)]());return this[_0x23e2f2(0x17f)][_0x23e2f2(0x332)](_0x4de43d,_0x273206),_0x273206;}['closeSession'](_0xa93c75){const _0x4baebc=_0x5e3172;var _0x4f5643;const _0x4a0606=this['_sessions'][_0x4baebc(0x307)](_0xa93c75);_0x4a0606&&(this['_sessions'][_0x4baebc(0x480)](_0xa93c75),_0x4a0606['close']()),this[_0x4baebc(0x17f)][_0x4baebc(0x3aa)]||(_0x4f5643=this[_0x4baebc(0x437)])==null||_0x4f5643[_0x4baebc(0x177)]();}['reconnect'](){const _0x56693b=_0x5e3172;this['_retryCount']=0x0,this[_0x56693b(0x3c3)]!=null&&(clearTimeout(this[_0x56693b(0x3c3)]),this['_retryConnectingTimer']=null),this[_0x56693b(0x322)]();}async[_0x5e3172(0x3d6)](){const _0x37ffad=_0x5e3172;var _0x478709,_0x3e8dae,_0x4ccfa4;const _0x2c9c16=this[_0x37ffad(0x270)]['getConfig'](Q),_0x445e35=(_0x478709=_0x2c9c16==null?void 0x0:_0x2c9c16['wsSessionTicketUrl'])!=null?_0x478709:wn;return(_0x4ccfa4=(_0x3e8dae=(await this['_httpService'][_0x37ffad(0x307)](_0x445e35,{'headers':{'Content-Type':_0x37ffad(0x17b)}}))[_0x37ffad(0x2da)])==null?void 0x0:_0x3e8dae['ticket'])!=null?_0x4ccfa4:'';}[_0x5e3172(0x3da)](_0x163086){const _0x572bff=_0x5e3172;var _0x5d185b,_0x2731b0;const _0x504784=this[_0x572bff(0x270)][_0x572bff(0x186)](On),_0x33b5ef=this[_0x572bff(0x270)][_0x572bff(0x186)](Q),_0x2df0a4=(_0x2731b0=(_0x5d185b=_0x33b5ef==null?void 0x0:_0x33b5ef[_0x572bff(0x2dd)])!=null?_0x5d185b:_0x504784)!=null?_0x2731b0:yn,_0xea6b91=new URL(_0x2df0a4,window[_0x572bff(0x4e2)]['origin']);return _0xea6b91['searchParams'][_0x572bff(0x332)]('sessionTicket',_0x163086),_0xea6b91[_0x572bff(0x129)]();}async[_0x5e3172(0x348)](){const _0x18b459=_0x5e3172,_0x1efbe=await this[_0x18b459(0x3d6)](),_0x510ce7=this['_createSocketURL'](_0x1efbe),_0x25ad56=this[_0x18b459(0x2b3)][_0x18b459(0x111)](_0x510ce7);return this['_candidateSocket']=_0x25ad56,_0x25ad56;}async[_0x5e3172(0x1b7)](){const _0xb75577=_0x5e3172;var _0x501ae9,_0x2528bf;try{const _0x494b0f=(_0x2528bf=(_0x501ae9=this['_socket'])!=null?_0x501ae9:this[_0xb75577(0x187)])!=null?_0x2528bf:await this[_0xb75577(0x348)]();if(_0x494b0f){const _0x58ed8d=_0x494b0f['send'];_0x494b0f[_0xb75577(0x3e0)]=_0x1a5431=>(this['_rescheduleHeartbeat'](),_0x58ed8d[_0xb75577(0x212)](_0x494b0f,[_0x1a5431])),_0x494b0f[_0xb75577(0x4a1)]['subscribe'](_0x54be46=>this[_0xb75577(0x156)](_0x494b0f,_0x54be46)),_0x494b0f[_0xb75577(0x521)][_0xb75577(0x4b6)](_0x287b41(0x1))[_0xb75577(0x134)](_0x1103e7=>this['_logService'][_0xb75577(0x295)](_0xb75577(0x476),_0x1103e7)),_0x494b0f['open$']['pipe'](_0x287b41(0x1))[_0xb75577(0x134)](()=>{this['_onConnectionOpen'](_0x494b0f);}),_0x494b0f[_0xb75577(0x3b8)]['pipe'](_0x287b41(0x1))['subscribe'](_0x32f5a0=>{const _0x1b9a88=_0xb75577;this['_logService'][_0x1b9a88(0x16d)](_0x1b9a88(0x1c4),_0x1b9a88(0x4ce),_0x32f5a0),this['_onConnectionFailed']();});}}catch(_0x5db971){this['_logService']['error'](_0x5db971),this[_0xb75577(0x1b5)]();}}[_0x5e3172(0x2ba)](_0x359406){const _0x33f2cb=_0x5e3172;this[_0x33f2cb(0x52d)]['debug'](_0x33f2cb(0x1c4),_0x33f2cb(0x18d)),_0x359406[_0x33f2cb(0x3e0)]({'cmd':W[_0x33f2cb(0x33e)]}),this[_0x33f2cb(0x427)]();}[_0x5e3172(0x145)](){const _0x550e2b=_0x5e3172;window[_0x550e2b(0x522)](_0x550e2b(0x11b),()=>this[_0x550e2b(0x31a)]());}[_0x5e3172(0x31a)](){const _0x1f1bd5=_0x5e3172;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1f1bd5(0x23b)](fe['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x1f1bd5(0x4f0)]();}['_onConnectionFailed'](){const _0x55486e=_0x5e3172;var _0xdb8e37;this[_0x55486e(0x31a)](),this[_0x55486e(0x2f7)]<((_0xdb8e37=this[_0x55486e(0x270)][_0x55486e(0x186)](Un))!=null?_0xdb8e37:An)?(this[_0x55486e(0x1ee)][_0x55486e(0x4b7)]({'key':_0x55486e(0x198),'type':_0x59169d[_0x55486e(0x18b)],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x4ca))}),this[_0x55486e(0x322)]()):this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x59169d['Error'],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x3b2))});}['_listenToOnlineEvent'](){const _0x463cde=_0x5e3172,_0x3079af=()=>{const _0x9472fa=_0x1eb2;this['_socket']||this[_0x9472fa(0x48b)]();},_0x41b05f=()=>{const _0x1c81a4=_0x1eb2;this[_0x1c81a4(0x437)]||document['visibilityState']===_0x1c81a4(0x185)||this[_0x1c81a4(0x48b)]();};window[_0x463cde(0x522)]('online',_0x3079af),document[_0x463cde(0x522)]('visibilitychange',_0x41b05f);}[_0x5e3172(0x322)](){const _0x348249=_0x5e3172;var _0x57ef63;const _0x32c7cf=this[_0x348249(0x2f7)],_0x622768=this[_0x348249(0x270)][_0x348249(0x186)](Q),_0xeb33fc=_0x32c7cf===0x0?0x0:((_0x57ef63=_0x622768==null?void 0x0:_0x622768[_0x348249(0x319)])!=null?_0x57ef63:Nn)*0x2**_0x32c7cf;this[_0x348249(0x3c3)]=window[_0x348249(0x273)](()=>{const _0x41c67a=_0x348249;clearTimeout(this[_0x41c67a(0x3c3)]),this[_0x41c67a(0x3c3)]=null,this[_0x41c67a(0x1b7)]();},_0xeb33fc),this[_0x348249(0x2f7)]+=0x1;}['_onMessage'](_0x3fa92f,_0x1f2e51){const _0x4157c6=_0x5e3172,{cmd:_0x5efba3}=_0x1f2e51;_0x5efba3===W[_0x4157c6(0x33e)]&&!this[_0x4157c6(0x1d4)]&&(_0x3fa92f[_0x4157c6(0x3f1)]=_0x1f2e51[_0x4157c6(0x288)]['memberID'],this[_0x4157c6(0x1d7)][_0x4157c6(0x23b)](_0x3fa92f),this['_status$'][_0x4157c6(0x23b)](fe[_0x4157c6(0x2e2)]),this[_0x4157c6(0x1d4)]=!0x0,this[_0x4157c6(0x187)]=null),_0x5efba3===W[_0x4157c6(0x420)]&&this['_clearTimeoutTimer'](),this[_0x4157c6(0x427)]();}[_0x5e3172(0x427)](){const _0x41d33a=_0x5e3172;var _0x450232;this[_0x41d33a(0x4f0)](),this[_0x41d33a(0x12d)]=window[_0x41d33a(0x273)](()=>this['_sendHeartbeat'](),(_0x450232=this[_0x41d33a(0x270)][_0x41d33a(0x186)](Dn))!=null?_0x450232:Pn);}[_0x5e3172(0x445)](){const _0x716955=_0x5e3172;this[_0x716955(0x437)][_0x716955(0x3e0)]({'cmd':W[_0x716955(0x420)]}),this[_0x716955(0x2d3)]();}[_0x5e3172(0x2d3)](){const _0x27de45=_0x5e3172;var _0x106058;this[_0x27de45(0x311)]=window['setTimeout'](()=>this[_0x27de45(0x1b5)](),(_0x106058=this[_0x27de45(0x270)][_0x27de45(0x186)](ki))!=null?_0x106058:Wi);}[_0x5e3172(0x4f0)](){const _0x2d7b59=_0x5e3172;this[_0x2d7b59(0x12d)]!=null&&(clearTimeout(this[_0x2d7b59(0x12d)]),this['_sendHeartbeatTimer']=null);}[_0x5e3172(0x2f1)](){const _0x52ca72=_0x5e3172;this[_0x52ca72(0x311)]!=null&&(clearTimeout(this[_0x52ca72(0x311)]),this[_0x52ca72(0x311)]=null);}};xe=ro([ye(0x0,_0x1259a7(_0xa6ca3c)),ye(0x1,_0x1259a7(_0x56a2bf)),ye(0x2,_0x28a2c3),ye(0x3,_0xadcc6),ye(0x4,_0x3a37b7),ye(0x5,Gi),ye(0x6,_0x1259a7(_0x21ff0e))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x5e3172(0x129)](0x10)[_0x5e3172(0x469)](0x1));function no(_0x8d3d4b,_0x504228=0x0){const _0x337337=_0x5e3172;return(Y[_0x8d3d4b[_0x504228+0x0]]+Y[_0x8d3d4b[_0x504228+0x1]]+Y[_0x8d3d4b[_0x504228+0x2]]+Y[_0x8d3d4b[_0x504228+0x3]]+'-'+Y[_0x8d3d4b[_0x504228+0x4]]+Y[_0x8d3d4b[_0x504228+0x5]]+'-'+Y[_0x8d3d4b[_0x504228+0x6]]+Y[_0x8d3d4b[_0x504228+0x7]]+'-'+Y[_0x8d3d4b[_0x504228+0x8]]+Y[_0x8d3d4b[_0x504228+0x9]]+'-'+Y[_0x8d3d4b[_0x504228+0xa]]+Y[_0x8d3d4b[_0x504228+0xb]]+Y[_0x8d3d4b[_0x504228+0xc]]+Y[_0x8d3d4b[_0x504228+0xd]]+Y[_0x8d3d4b[_0x504228+0xe]]+Y[_0x8d3d4b[_0x504228+0xf]])[_0x337337(0x1cc)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x58bdca=_0x5e3172;if(!Gt){if(typeof crypto>'u'||!crypto[_0x58bdca(0x2db)])throw new Error(_0x58bdca(0x27f));Gt=crypto[_0x58bdca(0x2db)][_0x58bdca(0x40e)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x5e3172(0x325)]&&crypto[_0x5e3172(0x325)][_0x5e3172(0x40e)](crypto),zs={'randomUUID':co};function ho(_0x461f80,_0x1c2437,_0x4d9dd8){const _0x9b796f=_0x5e3172;if(zs['randomUUID']&&!_0x1c2437&&!_0x461f80)return zs['randomUUID']();_0x461f80=_0x461f80||{};const _0x2d8266=_0x461f80[_0x9b796f(0x34c)]||(_0x461f80['rng']||ao)();return _0x2d8266[0x6]=_0x2d8266[0x6]&0xf|0x40,_0x2d8266[0x8]=_0x2d8266[0x8]&0x3f|0x80,no(_0x2d8266);}var lo=Object[_0x5e3172(0x243)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x21b7da,_0x16fb36,_0x278aef,_0x15f61e)=>{for(var _0x3680c3=_0x15f61e>0x1?void 0x0:_0x15f61e?_o(_0x16fb36,_0x278aef):_0x16fb36,_0x153ad3=_0x21b7da['length']-0x1,_0x2f183c;_0x153ad3>=0x0;_0x153ad3--)(_0x2f183c=_0x21b7da[_0x153ad3])&&(_0x3680c3=(_0x15f61e?_0x2f183c(_0x16fb36,_0x278aef,_0x3680c3):_0x2f183c(_0x3680c3))||_0x3680c3);return _0x15f61e&&_0x3680c3&&lo(_0x16fb36,_0x278aef,_0x3680c3),_0x3680c3;},Yt=(_0x5c30cd,_0x5cd188)=>(_0xe1f822,_0x527f68)=>_0x5cd188(_0xe1f822,_0x527f68,_0x5c30cd);let yt=class{constructor(_0x27993f,_0x1e821a,_0x209376){const _0x252c47=_0x5e3172;this[_0x252c47(0x3b4)]=_0x27993f,this[_0x252c47(0x4ff)]=_0x1e821a,this[_0x252c47(0x4ee)]=_0x209376;}[_0x5e3172(0x1d8)](_0x31d3e7){const _0x258148=_0x5e3172;this[_0x258148(0x2f0)](_0x31d3e7),this[_0x258148(0x440)](_0x31d3e7);}[_0x5e3172(0x3a2)](_0x2a812c){const _0x1740c6=_0x5e3172,{unitID:_0x411b1d}=_0x2a812c,_0x429a4c=this[_0x1740c6(0x4ee)][_0x1740c6(0x340)](_0x411b1d)[_0x1740c6(0x3c4)](_0x3ded9c),{redoCache:_0x1b22d2}=_0x429a4c[_0x1740c6(0x1e4)]();if(_0x1b22d2[_0x1740c6(0x2c8)]===0x0)return _0x2a812c;let _0xbb3a18=_0x279a54['deepClone'](_0x2a812c['mutations'][0x0]);for(let _0x3a4e09=0x0;_0x3a4e09<_0x1b22d2[_0x1740c6(0x2c8)];_0x3a4e09++){const _0x402251={'id':'doc.mutation.rich-text-editing','params':{..._0x1b22d2[_0x3a4e09]}},_0x1f7825=this['_transformService'][_0x1740c6(0x357)](_0xbb3a18,_0x402251,!0x1);if(_0x29729a(_0x1f7825))throw _0x1f7825[_0x1740c6(0x295)];_0xbb3a18=_0x1f7825[_0x1740c6(0x4df)];}return{..._0x279a54['deepClone'](_0x2a812c),'mutations':[_0xbb3a18]};}['_transformUndoRedoStack'](_0x33d8af){const _0x290f0f=_0x5e3172,{unitID:_0xca9435}=_0x33d8af,_0x4eea35=this[_0x290f0f(0x4ee)][_0x290f0f(0x340)](_0xca9435)[_0x290f0f(0x3c4)](_0x3ded9c),{undoCache:_0x5db5b8,redoCache:_0x430d83}=_0x4eea35[_0x290f0f(0x1e4)]();if(_0x5db5b8['length']===0x0||_0x430d83[_0x290f0f(0x2c8)]===0x0)return;const _0x55d77a=[],_0x58c8a6=[];let _0x5a642a=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]),_0x325ce3=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]);for(let _0x2eebbd=_0x5db5b8[_0x290f0f(0x2c8)]-0x1;_0x2eebbd>=0x0;_0x2eebbd--){const _0xbf63dd={'id':_0x290f0f(0x42b),'params':{..._0x5db5b8[_0x2eebbd]}},_0x5a0e9a={'id':_0x290f0f(0x42b),'params':{..._0x430d83[_0x2eebbd]}},_0x2c7971=this[_0x290f0f(0x4ff)][_0x290f0f(0x357)](_0x5a642a,_0xbf63dd,!0x1),_0xd0fc6e=this[_0x290f0f(0x4ff)]['transformMutation'](_0x325ce3,_0x5a0e9a,!0x1);if(_0x29729a(_0x2c7971))throw _0x2c7971[_0x290f0f(0x295)];if(_0x29729a(_0xd0fc6e))throw _0xd0fc6e[_0x290f0f(0x295)];_0x55d77a[_0x290f0f(0x4d0)](_0x2c7971['m2Prime'][_0x290f0f(0x436)]),_0x58c8a6[_0x290f0f(0x4d0)](_0xd0fc6e[_0x290f0f(0x20f)][_0x290f0f(0x436)]),_0x5a642a=_0x2c7971['m1Prime'],_0x325ce3=_0xd0fc6e[_0x290f0f(0x4df)];}_0x4eea35[_0x290f0f(0x377)]({'undoCache':_0x55d77a,'redoCache':_0x58c8a6});}[_0x5e3172(0x440)](_0x4dcd26){const _0x3bcc07=_0x5e3172,{unitID:_0x56d4d1}=_0x4dcd26,_0x5e46c9=this[_0x3bcc07(0x4ee)][_0x3bcc07(0x340)](_0x56d4d1)[_0x3bcc07(0x3c4)](_0x3ded9c),_0x3a916a=_0x5e46c9[_0x3bcc07(0x294)]();if(_0x3a916a==null)return;const _0x51ed5d=[{'id':_0x3bcc07(0x42b),'params':{'unitId':_0x4dcd26[_0x3bcc07(0x4e4)],'actions':null,'textRanges':[_0x3a916a]}}],_0x439e56=this[_0x3bcc07(0x4ff)][_0x3bcc07(0x4a6)](_0x4dcd26,_0x51ed5d);if(!_0x17cfb3(_0x439e56))throw _0x439e56[_0x3bcc07(0x295)];const _0x2a359d=_0x439e56[_0x3bcc07(0x20f)][0x0][_0x3bcc07(0x436)][_0x3bcc07(0x495)];Array['isArray'](_0x2a359d)&&_0x2a359d[_0x3bcc07(0x2c8)]&&_0x5e46c9[_0x3bcc07(0x239)](_0x2a359d[0x0]);}};yt=uo([Yt(0x0,_0x1259a7(_0xa6ca3c)),Yt(0x1,_0x2a04be),Yt(0x2,_0x2d7ddc)],yt);var fo=Object[_0x5e3172(0x243)],vo=Object[_0x5e3172(0x26f)],po=(_0xd73d1e,_0x7cb30f,_0x566de3,_0x40a183)=>{const _0x2e5161=_0x5e3172;for(var _0x37003a=_0x40a183>0x1?void 0x0:_0x40a183?vo(_0x7cb30f,_0x566de3):_0x7cb30f,_0x5ce76a=_0xd73d1e[_0x2e5161(0x2c8)]-0x1,_0x2c218a;_0x5ce76a>=0x0;_0x5ce76a--)(_0x2c218a=_0xd73d1e[_0x5ce76a])&&(_0x37003a=(_0x40a183?_0x2c218a(_0x7cb30f,_0x566de3,_0x37003a):_0x2c218a(_0x37003a))||_0x37003a);return _0x40a183&&_0x37003a&&fo(_0x7cb30f,_0x566de3,_0x37003a),_0x37003a;},Xe=(_0x3cf245,_0x1f168f)=>(_0x541dd0,_0x1b5f5d)=>_0x1f168f(_0x541dd0,_0x1b5f5d,_0x3cf245);let z=class extends _0x5f337f{constructor(_0x322f21,_0x29f9ef,_0x1d420b,_0x5c1a02,_0x1a68a1){const _0x56a61b=_0x5e3172;super(),g(this,_0x56a61b(0x247),new Map()),g(this,_0x56a61b(0x3e1),new Map()),g(this,_0x56a61b(0x31c),!0x1),(this[_0x56a61b(0x270)]=_0x322f21,this['_localStorageService']=_0x29f9ef,this[_0x56a61b(0x2b6)]=_0x1d420b,this[_0x56a61b(0x48a)]=_0x5c1a02,this[_0x56a61b(0x2fd)]=_0x1a68a1,this[_0x56a61b(0x523)]());}[_0x5e3172(0x27d)](){const _0x16a384=_0x5e3172;this[_0x16a384(0x31c)]=!0x0;}[_0x5e3172(0x190)](){const _0x5d45f2=_0x5e3172;this[_0x5d45f2(0x31c)]=!0x1;}[_0x5e3172(0x48f)](){const _0x5865a3=_0x5e3172;this[_0x5865a3(0x3cc)]()[_0x5865a3(0x15e)](()=>super[_0x5865a3(0x48f)]());}async['loadOfflineData'](_0x430502){const _0x4f3ecd=_0x5e3172;return this[_0x4f3ecd(0x31c)]?null:this[_0x4f3ecd(0x406)][_0x4f3ecd(0x359)](Xs(_0x430502));}async[_0x5e3172(0x428)](_0x1cc653,_0x515283){const _0x3ad32f=_0x5e3172;return!!this[_0x3ad32f(0x406)][_0x3ad32f(0x154)](_0x1cc653,_0x515283);}[_0x5e3172(0x422)](_0x496937,_0x5af84d,_0x2709e4,_0x164545){const _0x15e84e=_0x5e3172,_0x2ef569=this[_0x15e84e(0x2fd)][_0x15e84e(0x30c)](_0x496937);this[_0x15e84e(0x247)]['set'](_0x496937,{'unitID':_0x496937,'type':_0x5af84d,'awaitingChangeset':_0x2709e4,'mutations':_0x164545,'rev':_0x2ef569}),this[_0x15e84e(0x3e1)][_0x15e84e(0x3cb)](_0x496937)||this[_0x15e84e(0x1b4)](_0x496937);}[_0x5e3172(0x1b4)](_0x5a34dd){const _0x166e72=_0x5e3172,_0x49325=this['_getSaveTimeout']();_0x49325===0x0?this[_0x166e72(0x2a2)](_0x5a34dd):this[_0x166e72(0x3e1)][_0x166e72(0x332)](_0x5a34dd,setTimeout(()=>this[_0x166e72(0x2a2)](_0x5a34dd),_0x49325));}[_0x5e3172(0x4be)](){const _0x58e2d0=_0x5e3172;var _0x4b149d;return(_0x4b149d=this[_0x58e2d0(0x270)]['getConfig'](Mn))!=null?_0x4b149d:xn;}[_0x5e3172(0x2a2)](_0x56a95b){const _0x48482d=_0x5e3172,_0x1faa19=this[_0x48482d(0x3e1)]['get'](_0x56a95b);return _0x1faa19!==void 0x0&&window[_0x48482d(0x1fd)](_0x1faa19),this[_0x48482d(0x406)][_0x48482d(0x154)](Xs(_0x56a95b),this['_cachedData'][_0x48482d(0x307)](_0x56a95b))[_0x48482d(0x15e)](()=>this[_0x48482d(0x3e1)]['delete'](_0x56a95b));}async['exhaustSavingTask'](){const _0xbed44f=_0x5e3172,_0x33c3c7=[];this[_0xbed44f(0x3e1)]['forEach']((_0x2546f7,_0x5482bb)=>{const _0x35fc25=_0xbed44f;window[_0x35fc25(0x1fd)](_0x2546f7),_0x33c3c7[_0x35fc25(0x38e)](this['_saveCache'](_0x5482bb)[_0x35fc25(0x15e)](()=>{const _0x316ae6=_0x35fc25;this[_0x316ae6(0x3e1)]['delete'](_0x5482bb);}));}),await Promise[_0xbed44f(0x49a)](_0x33c3c7);}[_0x5e3172(0x523)](){const _0x4b9273=_0x5e3172;this[_0x4b9273(0x2d9)](this[_0x4b9273(0x2b6)]['registerBeforeClose'](()=>{const _0x388878=_0x4b9273;if(this[_0x388878(0x3e1)][_0x388878(0x3aa)])return this[_0x388878(0x48a)]['t']('collaboration-client.offline-data-not-saved');}));}};z=po([Xe(0x0,_0x3a37b7),Xe(0x1,_0x489004),Xe(0x2,_0x38bd7e),Xe(0x3,_0x1259a7(_0x56a2bf)),Xe(0x4,_0x1259a7(_0x5730a1))],z);function Xs(_0x278885){const _0x448532=_0x5e3172;return _0x448532(0x2bf)+_0x278885;}var mo=Object[_0x5e3172(0x243)],go=Object[_0x5e3172(0x26f)],So=(_0xdac360,_0x3a8474,_0x48c0f1,_0xa86c74)=>{const _0x24890c=_0x5e3172;for(var _0x2a9a29=_0xa86c74>0x1?void 0x0:_0xa86c74?go(_0x3a8474,_0x48c0f1):_0x3a8474,_0x510887=_0xdac360[_0x24890c(0x2c8)]-0x1,_0x473d1c;_0x510887>=0x0;_0x510887--)(_0x473d1c=_0xdac360[_0x510887])&&(_0x2a9a29=(_0xa86c74?_0x473d1c(_0x3a8474,_0x48c0f1,_0x2a9a29):_0x473d1c(_0x2a9a29))||_0x2a9a29);return _0xa86c74&&_0x2a9a29&&mo(_0x3a8474,_0x48c0f1,_0x2a9a29),_0x2a9a29;},Kt=(_0x4cb289,_0x1ea2e2)=>(_0x525e5e,_0x4205f8)=>_0x1ea2e2(_0x525e5e,_0x4205f8,_0x4cb289);function Io(_0x19ddae){const {unitID:_0x54421f,mutations:_0x232840}=_0x19ddae;return{'unitId':_0x54421f,'subUnitId':_0x232840[0x0]['params']['subUnitId']};}let wt=class{constructor(_0x29cdd3,_0x30bcc7,_0x2c67ca){const _0x4b6d2e=_0x5e3172;this[_0x4b6d2e(0x3b4)]=_0x29cdd3,this[_0x4b6d2e(0x4ff)]=_0x30bcc7,this[_0x4b6d2e(0x3f2)]=_0x2c67ca;}[_0x5e3172(0x385)](_0x5cfb32){const _0x92cf6a=_0x5e3172;var _0x11d21b,_0x2748ec,_0x4bd1c3,_0x4a4a42;const _0x142255=this[_0x92cf6a(0x3b4)]['get'](_0x10dd54),{unitId:_0x5075e5,subUnitId:_0x55db68}=Io(_0x5cfb32),_0x30c259=_0x142255[_0x92cf6a(0x43e)](_0x5075e5)[_0x92cf6a(0x39e)](),_0x483b56=(_0x2748ec=(_0x11d21b=this['_instanceService']['getUnit'](_0x5075e5))==null?void 0x0:_0x11d21b[_0x92cf6a(0x328)]())==null?void 0x0:_0x2748ec[_0x92cf6a(0x29c)]();if(_0x30c259[_0x92cf6a(0x2c8)]===0x0||!_0x5075e5||!_0x55db68)return;const _0x4e9bec=[{'id':_0x3f708e['id'],'params':{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x279a54[_0x92cf6a(0x3d3)](_0x30c259)}}],_0x2ca355=this[_0x92cf6a(0x4ff)]['transformMutationsWithChangeset'](_0x5cfb32,_0x4e9bec);if(!_0x17cfb3(_0x2ca355))throw _0x2ca355['error'];const _0x5352ec=(_0x4a4a42=(_0x4bd1c3=_0x2ca355[_0x92cf6a(0x20f)][0x0])==null?void 0x0:_0x4bd1c3[_0x92cf6a(0x436)])==null?void 0x0:_0x4a4a42['selections'];if(Array[_0x92cf6a(0x468)](_0x5352ec)&&_0x5352ec[_0x92cf6a(0x2c8)]){if(_0x5352ec[_0x92cf6a(0x2c8)]===_0x4e9bec[0x0][_0x92cf6a(0x436)][_0x92cf6a(0x217)][_0x92cf6a(0x2c8)]&&_0x5352ec[_0x92cf6a(0x3b5)]((_0x48f1d3,_0x252ac0)=>_0x50302c['equals'](_0x48f1d3[_0x92cf6a(0x168)],_0x4e9bec[0x0]['params']['selections'][_0x252ac0][_0x92cf6a(0x168)])))return;this[_0x92cf6a(0x3b4)][_0x92cf6a(0x307)](_0x58c2c0)['executeCommand'](_0x3f708e['id'],{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x5352ec});}}};wt=So([Kt(0x0,_0x1259a7(_0xa6ca3c)),Kt(0x1,_0x2a04be),Kt(0x2,_0x381e7e)],wt);const jt=_0x311f8c(_0x5e3172(0x22b));var Ki=(_0x14d0b7=>(_0x14d0b7[_0x14d0b7[_0x5e3172(0x3ec)]=0x0]=_0x5e3172(0x3ec),_0x14d0b7[_0x14d0b7['OTHER_CLIENTS_EDITING']=0x1]=_0x5e3172(0x42e),_0x14d0b7))(Ki||{});const Js=0x7530,Zs=_0x5e3172(0x490);class Co extends _0x5f337f{constructor(){const _0x50d31f=_0x5e3172;super(),g(this,'_id',_0x279a54[_0x50d31f(0x18f)]()),g(this,_0x50d31f(0x510),new Set()),g(this,_0x50d31f(0x2a7),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x50d31f(0x25d),new Map()),g(this,_0x50d31f(0x216),new Map()),this[_0x50d31f(0x1d2)]();}[_0x5e3172(0x48f)](){const _0x48b516=_0x5e3172;super['dispose'](),this[_0x48b516(0x25d)][_0x48b516(0x356)]((_0x45ed88,_0x28df67)=>this[_0x48b516(0x456)](_0x28df67)),this[_0x48b516(0x1f6)]&&window[_0x48b516(0x463)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x552a85){const _0x519a05=_0x5e3172;return this[_0x519a05(0x315)](_0x552a85)[_0x519a05(0x4b6)](_0x11e04f());}[_0x5e3172(0x203)](_0x390ff5){const _0x1c22ca=_0x5e3172;this['_selfUnitIDs'][_0x1c22ca(0x3aa)]===0x0&&this[_0x1c22ca(0x12b)](),this[_0x1c22ca(0x510)][_0x1c22ca(0x15f)](_0x390ff5),this[_0x1c22ca(0x147)]({'type':0x0,'memberID':this[_0x1c22ca(0x466)],'unitIDs':[_0x390ff5],'isForwarded':!0x1});}[_0x5e3172(0x3af)](_0x2c2d40){const _0x5bedcd=_0x5e3172;this[_0x5bedcd(0x510)][_0x5bedcd(0x480)](_0x2c2d40),this[_0x5bedcd(0x510)][_0x5bedcd(0x3aa)]===0x0&&this['_heartbeatTimer']&&window[_0x5bedcd(0x463)](this[_0x5bedcd(0x1f6)]);}[_0x5e3172(0x1d2)](){const _0x37a48e=_0x5e3172;this[_0x37a48e(0x2d9)](_0x38e5fb(_0x1a191c(window,_0x37a48e(0x333))[_0x37a48e(0x134)](_0x536b2d=>{const _0x45d501=_0x37a48e;if(_0x536b2d[_0x45d501(0x36a)]!==Zs||!_0x536b2d[_0x45d501(0x191)])return;const _0x5dfea5=JSON[_0x45d501(0x32f)](_0x536b2d[_0x45d501(0x191)]);this[_0x45d501(0x2fe)](_0x5dfea5);}))),window[_0x37a48e(0x522)]('unload',()=>this[_0x37a48e(0x147)]({'type':0x1,'memberID':this[_0x37a48e(0x466)],'unitIDs':Array[_0x37a48e(0x49e)](this[_0x37a48e(0x510)])}));}[_0x5e3172(0x2fe)](_0x3328d5){const _0x3c8184=_0x5e3172;switch(_0x3328d5[_0x3c8184(0x20d)]){case 0x0:this[_0x3c8184(0x465)](_0x3328d5);break;case 0x1:this[_0x3c8184(0x316)](_0x3328d5);break;case 0x2:this[_0x3c8184(0x2ee)](_0x3328d5);break;}}[_0x5e3172(0x465)](_0x4268b9){const _0x1732ef=_0x5e3172,{unitIDs:_0x4bddf6,memberID:_0x8d0570,isForwarded:_0x236eb5}=_0x4268b9;_0x4bddf6['forEach'](_0x4cb7d5=>{const _0x3c9a12=_0x1eb2;if(!_0x236eb5&&this[_0x3c9a12(0x2a7)][_0x3c9a12(0x3cb)](_0x4cb7d5)&&this[_0x3c9a12(0x315)](_0x4cb7d5)[_0x3c9a12(0x23b)](0x1),!this['_unitOnClients'][_0x3c9a12(0x3cb)](_0x4cb7d5)||!this[_0x3c9a12(0x2a7)]['get'](_0x4cb7d5)[_0x3c9a12(0x3cb)](_0x8d0570)){const _0x22dcd9=this[_0x3c9a12(0x2a7)][_0x3c9a12(0x307)](_0x4cb7d5)||new Set();_0x22dcd9['add'](_0x8d0570),this[_0x3c9a12(0x2a7)][_0x3c9a12(0x332)](_0x4cb7d5,_0x22dcd9),this[_0x3c9a12(0x489)](_0x8d0570);}}),_0x236eb5||this[_0x1732ef(0x147)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1732ef(0x510)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x186d6a){const _0x24cc81=_0x5e3172;this['_removeClearOtherTimer'](_0x186d6a);const _0x5d7d2b=window[_0x24cc81(0x273)](()=>{const _0x28b505=_0x24cc81;this[_0x28b505(0x2a7)][_0x28b505(0x356)](_0x23c532=>{const _0xace539=_0x28b505;_0x23c532[_0xace539(0x480)](_0x186d6a);});},Js*0x2);this[_0x24cc81(0x25d)][_0x24cc81(0x332)](_0x186d6a,_0x5d7d2b);}[_0x5e3172(0x456)](_0x322c2b){const _0x160654=_0x5e3172;if(this[_0x160654(0x25d)][_0x160654(0x3cb)](_0x322c2b)){const _0x379b83=this[_0x160654(0x25d)][_0x160654(0x307)](_0x322c2b);_0x379b83&&window['clearTimeout'](_0x379b83),this[_0x160654(0x25d)][_0x160654(0x332)](_0x322c2b,null);}}[_0x5e3172(0x316)](_0x170b81){const _0x538874=_0x5e3172,{memberID:_0x480dbf,unitIDs:_0x5f3dca}=_0x170b81;_0x5f3dca['forEach'](_0x2716db=>{const _0x1d591d=_0x1eb2;var _0x582a0e;const _0x190e4c=this['_unitOnClients'][_0x1d591d(0x307)](_0x2716db);_0x190e4c&&(_0x190e4c['delete'](_0x480dbf),(_0x582a0e=this[_0x1d591d(0x315)](_0x2716db))==null||_0x582a0e[_0x1d591d(0x23b)](_0x190e4c['size']===0x0?0x0:0x1));}),this[_0x538874(0x456)](_0x480dbf);}['_handleHeartbeatEvent'](_0x522038){const _0x869e1f=_0x5e3172;this[_0x869e1f(0x489)](_0x522038[_0x869e1f(0x3f1)]);}[_0x5e3172(0x147)](_0x2ebf2d){const _0x55294a=_0x5e3172;localStorage[_0x55294a(0x154)](Zs,JSON[_0x55294a(0x50f)](_0x2ebf2d));}[_0x5e3172(0x12b)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Js);}[_0x5e3172(0x315)](_0x598a0d){const _0x185b55=_0x5e3172;return this[_0x185b55(0x216)]['has'](_0x598a0d)||this['_unitStatus']['set'](_0x598a0d,new _0xd0d94b(0x0)),this[_0x185b55(0x216)][_0x185b55(0x307)](_0x598a0d);}}var Eo=Object[_0x5e3172(0x243)],bo=Object[_0x5e3172(0x26f)],To=(_0x5d4b25,_0x4be612,_0x1525ef,_0x5c93d1)=>{const _0x120eaf=_0x5e3172;for(var _0x4f19b0=_0x5c93d1>0x1?void 0x0:_0x5c93d1?bo(_0x4be612,_0x1525ef):_0x4be612,_0x28e336=_0x5d4b25[_0x120eaf(0x2c8)]-0x1,_0x2e6422;_0x28e336>=0x0;_0x28e336--)(_0x2e6422=_0x5d4b25[_0x28e336])&&(_0x4f19b0=(_0x5c93d1?_0x2e6422(_0x4be612,_0x1525ef,_0x4f19b0):_0x2e6422(_0x4f19b0))||_0x4f19b0);return _0x5c93d1&&_0x4f19b0&&Eo(_0x4be612,_0x1525ef,_0x4f19b0),_0x4f19b0;},qt=(_0x5ead5,_0x14ebf9)=>(_0x1affdf,_0x5cf8ac)=>_0x14ebf9(_0x1affdf,_0x5cf8ac,_0x5ead5);let Dt=class{constructor(_0x3b8330,_0x5a4b6f,_0x40ce67){const _0x3533d0=_0x5e3172;this[_0x3533d0(0x3b4)]=_0x3b8330,this[_0x3533d0(0x4ff)]=_0x5a4b6f,this[_0x3533d0(0x3dd)]=_0x40ce67;}[_0x5e3172(0x48d)](_0x2c5974){const _0x24ede3=_0x5e3172;this[_0x24ede3(0x3ee)](_0x2c5974);}[_0x5e3172(0x3a2)](_0x271dcf){const _0x2a244d=_0x5e3172,{unitID:_0xed4036}=_0x271dcf,{collaboration:_0x1f9d7d}=this[_0x2a244d(0x3dd)][_0x2a244d(0x4f5)](_0xed4036);if(_0x1f9d7d[_0x2a244d(0x2c8)]===0x0)return _0x271dcf;let _0x333b6e=_0x279a54[_0x2a244d(0x3d3)](_0x271dcf['mutations'][0x0]);for(let _0x18c0e6=0x0;_0x18c0e6<_0x1f9d7d[_0x2a244d(0x2c8)];_0x18c0e6++){const _0x1811e7={'id':_0x2a244d(0x42b),'params':{'unitId':_0x1f9d7d[_0x18c0e6][_0x2a244d(0x452)],..._0x1f9d7d[_0x18c0e6][_0x2a244d(0x305)]}},_0xdd4b26=this[_0x2a244d(0x4ff)][_0x2a244d(0x357)](_0x333b6e,_0x1811e7,!0x1);if(_0x29729a(_0xdd4b26))throw _0xdd4b26[_0x2a244d(0x295)];_0x333b6e=_0xdd4b26[_0x2a244d(0x4df)];}return{..._0x279a54['deepClone'](_0x271dcf),'mutations':[_0x333b6e]};}[_0x5e3172(0x3ee)](_0x3ba0b9){const _0x328e51=_0x5e3172,{unitID:_0x1c82fd}=_0x3ba0b9,{history:_0x3f4314,collaboration:_0x89a6a3}=this[_0x328e51(0x3dd)][_0x328e51(0x4f5)](_0x1c82fd);if(_0x3f4314['length']===0x0&&_0x89a6a3[_0x328e51(0x2c8)]===0x0)return;const _0xc8d2c1=[],_0x399169=[];let _0x1d242d=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9['mutations'][0x0]),_0xed8371=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x103e66=_0x3f4314[_0x328e51(0x2c8)]-0x1;_0x103e66>=0x0;_0x103e66--){const _0x19ef9d={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66]['unitId'],..._0x3f4314[_0x103e66][_0x328e51(0x44f)]}},_0x5361ce={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66][_0x328e51(0x452)],..._0x3f4314[_0x103e66][_0x328e51(0x305)]}},_0x4ba5fd=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x19ef9d,!0x1),_0x5d0770=this[_0x328e51(0x4ff)]['transformMutation'](_0xed8371,_0x5361ce,!0x1);if(_0x29729a(_0x4ba5fd))throw _0x4ba5fd[_0x328e51(0x295)];if(_0x29729a(_0x5d0770))throw _0x5d0770[_0x328e51(0x295)];_0xc8d2c1[_0x328e51(0x4d0)]({..._0x3f4314[_0x103e66],'undoState':_0x4ba5fd[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x5d0770[_0x328e51(0x20f)]['params']}),_0x1d242d=_0x4ba5fd[_0x328e51(0x4df)],_0xed8371=_0x5d0770[_0x328e51(0x4df)];}_0x1d242d=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]),_0xed8371=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x267b61=_0x89a6a3[_0x328e51(0x2c8)]-0x1;_0x267b61>=0x0;_0x267b61--){const _0x25328b={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61][_0x328e51(0x452)],..._0x89a6a3[_0x267b61][_0x328e51(0x44f)]}},_0x4b3f6e={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61]['unitId'],..._0x89a6a3[_0x267b61][_0x328e51(0x305)]}},_0x2695b2=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x25328b,!0x1),_0x277047=this['_transformService'][_0x328e51(0x357)](_0xed8371,_0x4b3f6e,!0x1);if(_0x29729a(_0x2695b2))throw _0x2695b2['error'];if(_0x29729a(_0x277047))throw _0x277047[_0x328e51(0x295)];_0x399169[_0x328e51(0x4d0)]({..._0x89a6a3[_0x267b61],'undoState':_0x2695b2[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x277047[_0x328e51(0x20f)][_0x328e51(0x436)]}),_0x1d242d=_0x2695b2[_0x328e51(0x4df)],_0xed8371=_0x277047[_0x328e51(0x4df)];}this['_docStateChangeManagerService'][_0x328e51(0x3e7)](_0x1c82fd,{'history':_0xc8d2c1,'collaboration':_0x399169});}};Dt=To([qt(0x0,_0x1259a7(_0xa6ca3c)),qt(0x1,_0x2a04be),qt(0x2,_0x1259a7(_0x59d42b))],Dt);function qi(_0x533d1c){const _0x226c94=_0x5e3172;let _0x3f1ebe='';for(const _0x35738f of _0x533d1c){const {startOffset:_0x127e57,endOffset:_0x67837c,isActive:_0x2c9c7c,rangeType:_0x2270f1,segmentId:_0xfa3405,segmentPage:_0x53361}=_0x35738f;_0x3f1ebe[_0x226c94(0x2c8)]&&(_0x3f1ebe+=','),_0x3f1ebe+=_0x127e57+':'+_0x67837c+':'+(_0x2c9c7c?'1':'0')+':'+_0x2270f1+':'+_0xfa3405+':'+_0x53361;}return _0x3f1ebe;}function Ro(_0x394ebd){const _0x3b9e5f=_0x5e3172,_0x26b983=_0x394ebd['split'](','),_0xd43148=[];for(const _0x1eddc8 of _0x26b983){const [_0x5a7e15,_0xd1f189,_0x339f16,_0x545e24,_0x4798fd,_0x9ea24]=_0x1eddc8['split'](':');_0xd43148[_0x3b9e5f(0x38e)]({'startOffset':Number(_0x5a7e15),'endOffset':Number(_0xd1f189),'collapsed':_0x5a7e15===_0xd1f189,'isActive':_0x339f16==='1','rangeType':_0x545e24===_0x263740[_0x3b9e5f(0x4e9)]?_0x263740[_0x3b9e5f(0x4e9)]:_0x263740[_0x3b9e5f(0x353)],'segmentId':typeof _0x4798fd==_0x3b9e5f(0x429)?String(_0x4798fd):'','segmentPage':Number(_0x9ea24!=null?_0x9ea24:-0x1)});}return _0xd43148['some'](_0x4d4be8=>_0x4d4be8[_0x3b9e5f(0x3ad)])||(_0xd43148[0x0][_0x3b9e5f(0x3ad)]=!0x0),_0xd43148;}class Ds extends _0x5ce84d{constructor(){const _0xfa50b3=_0x5e3172;super(...arguments),g(this,_0xfa50b3(0x200),new _0xd0d94b(null)),g(this,_0xfa50b3(0x1f1),this[_0xfa50b3(0x200)]['asObservable']());}[_0x5e3172(0x3ef)](_0x5ee830){const _0x594ea9=_0x5e3172,{unitID:_0xda08ff,memberID:_0x2869ee,textRanges:_0x2cb7f5}=_0x5ee830,_0xb9357f=qi(_0x2cb7f5);if(_0xb9357f==='')return;const _0x460d74={'unitID':_0xda08ff,'memberID':_0x2869ee,'selection':_0xb9357f};this[_0x594ea9(0x200)][_0x594ea9(0x23b)](_0x460d74);}}var Oo=Object[_0x5e3172(0x243)],yo=Object[_0x5e3172(0x26f)],wo=(_0x398a4c,_0x5700be,_0x5fd964,_0x5e234c)=>{const _0x4a4e85=_0x5e3172;for(var _0x4a6d06=_0x5e234c>0x1?void 0x0:_0x5e234c?yo(_0x5700be,_0x5fd964):_0x5700be,_0x29a396=_0x398a4c[_0x4a4e85(0x2c8)]-0x1,_0x26d001;_0x29a396>=0x0;_0x29a396--)(_0x26d001=_0x398a4c[_0x29a396])&&(_0x4a6d06=(_0x5e234c?_0x26d001(_0x5700be,_0x5fd964,_0x4a6d06):_0x26d001(_0x4a6d06))||_0x4a6d06);return _0x5e234c&&_0x4a6d06&&Oo(_0x5700be,_0x5fd964,_0x4a6d06),_0x4a6d06;},Qs=(_0x4b5819,_0x4dcf4b)=>(_0x1d53bd,_0xd62e2e)=>_0x4dcf4b(_0x1d53bd,_0xd62e2e,_0x4b5819);let Pt=class{constructor(_0x31cb15,_0x375d1f){const _0x7a999d=_0x5e3172;this[_0x7a999d(0x3b4)]=_0x31cb15,this[_0x7a999d(0x4ff)]=_0x375d1f;}['transformSelections'](_0x585606){const _0x7c8524=_0x5e3172;var _0x12394d;const _0x20801c=this['_injector'][_0x7c8524(0x307)](_0x195c19),_0x19be76=(_0x12394d=_0x20801c[_0x7c8524(0x388)]())!=null?_0x12394d:[];if(_0x19be76[_0x7c8524(0x2c8)]===0x0)return;const _0x29e78f=_0x585606[_0x7c8524(0x4e4)],_0x27856c=[{'id':_0x7c8524(0x42b),'params':{'unitId':_0x29e78f,'actions':null,'textRanges':_0x19be76}}],_0x5c9b3a=this[_0x7c8524(0x4ff)][_0x7c8524(0x4a6)](_0x585606,_0x27856c);if(!_0x17cfb3(_0x5c9b3a))throw _0x5c9b3a[_0x7c8524(0x295)];const _0x214d8e=_0x5c9b3a[_0x7c8524(0x20f)][0x0][_0x7c8524(0x436)][_0x7c8524(0x495)];Array[_0x7c8524(0x468)](_0x214d8e)&&_0x214d8e[_0x7c8524(0x2c8)]&&_0x20801c[_0x7c8524(0x1bd)](_0x214d8e,{'unitId':_0x29e78f,'subUnitId':_0x29e78f},!0x1);}};Pt=wo([Qs(0x0,_0x1259a7(_0xa6ca3c)),Qs(0x1,_0x2a04be)],Pt);const Do=new Set([_0x1c7d98['id']]);function ei(_0x33979e,_0x113b31,_0x560341,_0x3497f6,_0x2f6527){const _0x40a62e=_0x5e3172;var _0x4ba91c,_0xfa58a0,_0x18335e,_0x1d69a0;const _0x1863b9=[];for(const _0x28b1d3 of _0x33979e)if(Do[_0x40a62e(0x3cb)](_0x28b1d3['id'])){if(_0x1863b9[_0x40a62e(0x2c8)]>0x0)break;_0x1863b9['push'](_0x28b1d3);break;}else _0x1863b9[_0x40a62e(0x38e)](_0x28b1d3);const _0x326e71=(_0xfa58a0=(_0x4ba91c=_0x2f6527[_0x40a62e(0x3d8)]())==null?void 0x0:_0x4ba91c['userID'])!=null?_0xfa58a0:_0x40a62e(0x3c8),_0x148205=(_0x1d69a0=(_0x18335e=_0x2f6527['getCurrentUser']())==null?void 0x0:_0x18335e[_0x40a62e(0x3f1)])!=null?_0x1d69a0:_0x40a62e(0x3c8);return{'changeset':{'unitID':_0x113b31,'type':_0x20d9fb(_0x560341[_0x40a62e(0x443)](_0x113b31)),'baseRev':_0x3497f6[_0x40a62e(0x30c)](_0x113b31),'revision':0x0,'userID':_0x326e71,'memberID':_0x148205,'mutations':_0x1863b9},'pendingMutations':_0x33979e[_0x40a62e(0x469)](_0x1863b9[_0x40a62e(0x2c8)])};}function Po(_0x405de2,_0x508eb5,_0x35f92e,_0x5cc972,_0x59ad7b){const _0x2360e3=_0x5e3172;var _0x4021ff,_0x36c0c6,_0x3f3fee,_0x1c0a12;const _0x6b120f=[_0x405de2['reduce']((_0x2cee5e,_0x75dc59)=>{const _0x11e10c=_0x1eb2;var _0x2090fc;const {id:_0x5e95df}=_0x2cee5e,{id:_0x3a1513,type:_0x5d08d5}=_0x75dc59,_0x16028e=(_0x2090fc=_0x2cee5e['params'])!=null?_0x2090fc:{'actions':null},_0x655466=_0x75dc59[_0x11e10c(0x436)];if(_0x5e95df&&_0x5e95df!==_0x3a1513)throw new Error(_0x11e10c(0x20a)+_0x5e95df+'\x20-\x20'+_0x3a1513+'.');return{..._0x2cee5e,'id':_0x3a1513,'type':_0x5d08d5,'params':{'unitId':_0x655466['unitId'],'textRanges':_0x655466[_0x11e10c(0x495)],'actions':_0x1bb50c[_0x11e10c(0x269)](_0x16028e[_0x11e10c(0x39b)],_0x655466['actions'])}};},{})],_0x590c76=(_0x36c0c6=(_0x4021ff=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x4021ff[_0x2360e3(0x2f3)])!=null?_0x36c0c6:'unknown',_0x56c921=(_0x1c0a12=(_0x3f3fee=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x3f3fee[_0x2360e3(0x3f1)])!=null?_0x1c0a12:'unknown';return{'changeset':{'unitID':_0x508eb5,'type':_0x20d9fb(_0x35f92e[_0x2360e3(0x443)](_0x508eb5)),'baseRev':_0x5cc972['getCurrentRevOfUnit'](_0x508eb5),'revision':0x0,'userID':_0x590c76,'memberID':_0x56c921,'mutations':_0x6b120f},'pendingMutations':[]};}function zi(_0x1e9b14,_0x3990f7){const _0xf6f78a=_0x5e3172,_0x1a806f=new _0x3d17ca(0x1);return setTimeout(()=>_0x1a806f[_0xf6f78a(0x23b)](_0x3990f7),_0x1e9b14),_0x1a806f[_0xf6f78a(0x306)]()[_0xf6f78a(0x4b6)](_0x3decc5(0x1));}const No={'id':_0x4b8f30['id'],'type':_0x57cf4b[_0x5e3172(0x345)],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x5e3172(0x26f)],$e=(_0x7ca87c,_0x5e59eb,_0xf14a88,_0x1094f1)=>{const _0x2f8a00=_0x5e3172;for(var _0x39d9f7=_0x1094f1>0x1?void 0x0:_0x1094f1?Ao(_0x5e59eb,_0xf14a88):_0x5e59eb,_0x237393=_0x7ca87c[_0x2f8a00(0x2c8)]-0x1,_0x2d72dc;_0x237393>=0x0;_0x237393--)(_0x2d72dc=_0x7ca87c[_0x237393])&&(_0x39d9f7=(_0x1094f1?_0x2d72dc(_0x5e59eb,_0xf14a88,_0x39d9f7):_0x2d72dc(_0x39d9f7))||_0x39d9f7);return _0x1094f1&&_0x39d9f7&&Uo(_0x5e59eb,_0xf14a88,_0x39d9f7),_0x39d9f7;},A=(_0x566bc2,_0x45f121)=>(_0x3ab2e2,_0x48e422)=>_0x45f121(_0x3ab2e2,_0x48e422,_0x566bc2),J=(_0x51f903=>(_0x51f903[_0x5e3172(0x1aa)]=_0x5e3172(0x2d4),_0x51f903[_0x5e3172(0x29a)]=_0x5e3172(0x125),_0x51f903[_0x5e3172(0x42d)]=_0x5e3172(0x1c0),_0x51f903['AWAITING']='awaiting',_0x51f903['AWAITING_WITH_PENDING']=_0x5e3172(0x2fc),_0x51f903[_0x5e3172(0x3e2)]=_0x5e3172(0x45f),_0x51f903[_0x5e3172(0x423)]=_0x5e3172(0x1a5),_0x51f903['OFFLINE']='offline',_0x51f903))(J||{});const Xi=0xea60;class He{constructor(_0x436f0c,_0x38286b,_0xefc703,_0x40b203,_0x1b0054,_0x5a29a4,_0x58f21e,_0x6ecfac,_0x3cd239){const _0x2827ee=_0x5e3172;g(this,'_awaitingChangeset',null),g(this,_0x2827ee(0x199),[]),(this[_0x2827ee(0x4e4)]=_0x436f0c,this[_0x2827ee(0x20d)]=_0x38286b,this[_0x2827ee(0x231)]=_0x1b0054,this['_commandService']=_0x5a29a4,this[_0x2827ee(0x195)]=_0x58f21e,this[_0x2827ee(0x2fd)]=_0x6ecfac,this[_0x2827ee(0x32a)]=_0x3cd239,this['_awaitingChangeset']=_0xefc703,this['_pendingMutations']=_0x40b203);}[_0x5e3172(0x4a4)](_0xa99304){const _0x2d7bcc=_0x5e3172,_0x3ad4c9=this['_revisionService'][_0x2d7bcc(0x30c)](this['unitID']);return _0xa99304['revision']>_0x3ad4c9+0x1?(this[_0x2d7bcc(0x231)][_0x2d7bcc(0x4ef)]({'from':_0x3ad4c9,'to':_0xa99304[_0x2d7bcc(0x2ed)]-0x1}),!0x0):!0x1;}[_0x5e3172(0x23e)](_0x43b582){const _0x49af9d=_0x5e3172;this[_0x49af9d(0x195)]['transformUndoRedo'](this[_0x49af9d(0x4e4)],_0x43b582);}[_0x5e3172(0x45e)](_0x320752){const _0x507edf=_0x5e3172;var _0x3da160,_0x322dbc;(_0x322dbc=(_0x3da160=this[_0x507edf(0x231)])['onTransformSelections'])==null||_0x322dbc[_0x507edf(0x500)](_0x3da160,_0x320752);}[_0x5e3172(0x148)](_0x43e068){const _0x10e8e7=_0x5e3172;var _0x4ecb2c,_0x319e11;return(_0x319e11=(_0x4ecb2c=this[_0x10e8e7(0x231)])[_0x10e8e7(0x408)])==null?void 0x0:_0x319e11[_0x10e8e7(0x500)](_0x4ecb2c,_0x43e068);}['_transformStateCache'](_0x2e1348){const _0x1c1aef=_0x5e3172;var _0x4884af,_0x5c62da;return(_0x5c62da=(_0x4884af=this[_0x1c1aef(0x231)])[_0x1c1aef(0x2ab)])==null?void 0x0:_0x5c62da[_0x1c1aef(0x500)](_0x4884af,_0x2e1348);}[_0x5e3172(0x291)](_0x241485){const _0x5560d5=_0x5e3172;var _0x459c70,_0x2c893b,_0x45d682;return(_0x45d682=(_0x2c893b=(_0x459c70=this['_handler'])[_0x5560d5(0x461)])==null?void 0x0:_0x2c893b[_0x5560d5(0x500)](_0x459c70,_0x241485))!=null?_0x45d682:_0x241485;}[_0x5e3172(0x29f)](_0x392fb9){const _0x2e75e8=_0x5e3172;var _0x3be9f2,_0x379de7,_0xacb4da;return(_0xacb4da=(_0x379de7=(_0x3be9f2=this[_0x2e75e8(0x231)])[_0x2e75e8(0x4dc)])==null?void 0x0:_0x379de7['call'](_0x3be9f2,_0x392fb9))!=null?_0xacb4da:_0x392fb9;}[_0x5e3172(0x39a)](_0x24b393){const _0x30eecd=_0x5e3172;var _0x14711b,_0x9321c2;if(this[_0x30eecd(0x20d)]===ae['UNIVER_DOC']){const {unitID:_0x4f85bc,mutations:_0x8ce343,memberID:_0x3ffcbe}=_0x24b393,_0x201bd1=_0x8ce343[0x0][_0x30eecd(0x436)][_0x30eecd(0x495)];Array[_0x30eecd(0x468)](_0x201bd1)&&_0x201bd1[_0x30eecd(0x2c8)]>0x0&&((_0x9321c2=(_0x14711b=this[_0x30eecd(0x231)])[_0x30eecd(0x1ca)])==null||_0x9321c2[_0x30eecd(0x500)](_0x14711b,{'unitID':_0x4f85bc,'memberID':_0x3ffcbe,'textRanges':_0x201bd1}));}}[_0x5e3172(0x324)](){const _0x373c97=_0x5e3172;this[_0x373c97(0x32a)][_0x373c97(0x422)](this[_0x373c97(0x4e4)],this[_0x373c97(0x20d)],this[_0x373c97(0x536)],this['_pendingMutations']);}[_0x5e3172(0x20e)](){const _0x3f0730=_0x5e3172;return this[_0x3f0730(0x2fd)]['getCurrentRevOfUnit'](this[_0x3f0730(0x4e4)]);}[_0x5e3172(0x3ac)](){const _0x113eaf=_0x5e3172;this[_0x113eaf(0x2fd)][_0x113eaf(0x417)](this[_0x113eaf(0x4e4)]);}[_0x5e3172(0x2a3)](_0x47849e){const _0x72d0db=_0x5e3172;var _0x49b047;let _0x583f1f=this[_0x72d0db(0x291)](_0x47849e);_0x583f1f=this[_0x72d0db(0x29f)](_0x583f1f);const _0x4e76b7=_0x399b47(_0x583f1f['mutations'],this[_0x72d0db(0x327)],{'fromCollab':!0x0});if(!_0x4e76b7[_0x72d0db(0x1a8)])throw _0x4e76b7['error']instanceof Error?_0x4e76b7[_0x72d0db(0x295)]:new Error((_0x49b047=_0x4e76b7['error'])!=null?_0x49b047:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x583f1f),this[_0x72d0db(0x29d)](_0x583f1f),this[_0x72d0db(0x23e)](_0x47849e),this['_transformSelections'](_0x583f1f),this[_0x72d0db(0x39a)](_0x583f1f),this[_0x72d0db(0x3ac)]();}}let Fe=class extends He{constructor(_0x4fc7a1,_0x2e6f60,_0x542410,_0x22e94a,_0x2b574d,_0x9bc3ff,_0x1c55ac,_0x430708,_0xe2e81f,_0x5b8c47){const _0x3e74ec=_0x5e3172;super(_0x4fc7a1,_0x2e6f60,null,[],_0x542410,_0x430708,_0x1c55ac,_0x22e94a,_0x2b574d),g(this,_0x3e74ec(0x38b),_0x3e74ec(0x125)),(this[_0x3e74ec(0x3b4)]=_0x9bc3ff,this['_logService']=_0xe2e81f,this[_0x3e74ec(0x4ff)]=_0x5b8c47);}[_0x5e3172(0x144)](_0x3c4217){const _0x2cb3f9=_0x5e3172,_0x1bbb3f=this[_0x2cb3f9(0x3b4)][_0x2cb3f9(0x13c)](pe,this[_0x2cb3f9(0x4e4)],this[_0x2cb3f9(0x20d)],[_0x3c4217],this[_0x2cb3f9(0x231)]);return _0x1bbb3f[_0x2cb3f9(0x43f)](),_0x1bbb3f[_0x2cb3f9(0x324)](),_0x1bbb3f;}['onRemoteChangeset'](_0x217365){const _0xdb1920=_0x5e3172;if(this[_0xdb1920(0x4a4)](_0x217365))return this['_injector'][_0xdb1920(0x13c)](ce,this[_0xdb1920(0x4e4)],this[_0xdb1920(0x20d)],null,[],null,[_0x217365],this[_0xdb1920(0x231)]);try{const _0xcc7bdf=this['_transformService']['transformMutationsWithChangeset'](_0x217365,[No]);if(_0x17cfb3(_0xcc7bdf)){const {c1Prime:_0x566e75}=_0xcc7bdf;return this['_executeRemoteChangeset'](_0x566e75),this;}throw _0xcc7bdf['error'];}catch(_0x526e72){return this[_0xdb1920(0x52d)][_0xdb1920(0x295)](_0x526e72),this[_0xdb1920(0x49d)](!0x1);}}[_0x5e3172(0x49d)](_0x3bd922){const _0x14969d=_0x5e3172;return this[_0x14969d(0x3b4)][_0x14969d(0x13c)](Re,this[_0x14969d(0x4e4)],this[_0x14969d(0x20d)],null,[],this[_0x14969d(0x231)],_0x3bd922);}['onRemoteAck'](){const _0x4804f5=_0x5e3172;throw new Error(_0x4804f5(0x374));}[_0x5e3172(0x3b3)](){const _0xd82d2f=_0x5e3172;throw new Error(_0xd82d2f(0x503));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x560ec8=_0x5e3172;return this[_0x560ec8(0x3b4)][_0x560ec8(0x13c)](Oe,this['unitID'],this[_0x560ec8(0x20d)],null,[],this[_0x560ec8(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e3172(0x38c)](){const _0x383e2c=_0x5e3172,_0xd9258c=this['_revisionService'][_0x383e2c(0x30c)](this[_0x383e2c(0x4e4)]);return this[_0x383e2c(0x231)]['onMissingChangesets']({'from':_0xd9258c,'to':0x0}),this[_0x383e2c(0x3b4)]['createInstance'](ce,this[_0x383e2c(0x4e4)],this[_0x383e2c(0x20d)],null,[],null,[],this[_0x383e2c(0x231)]);}};Fe=$e([A(0x3,_0x1259a7(_0x5730a1)),A(0x4,_0x1259a7(z)),A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x2d3235),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be)],Fe);let pe=class extends He{constructor(_0x554b0b,_0x372073,_0x602293,_0x166305,_0x3ad0dc,_0x2526cd,_0xbfc2a5,_0x226da9,_0x230f37,_0xc4cecc,_0x610d91,_0x1ae1cb,_0x3077a7,_0x29c47c){const _0x583472=_0x5e3172;super(_0x554b0b,_0x372073,null,_0x602293,_0x166305,_0xc4cecc,_0x29c47c,_0x2526cd,_0xbfc2a5),g(this,'status',_0x583472(0x1c0)),g(this,_0x583472(0x24a),null),g(this,_0x583472(0x3ed),null),(this[_0x583472(0x3b4)]=_0x3ad0dc,this[_0x583472(0x16b)]=_0x226da9,this[_0x583472(0x52d)]=_0x230f37,this[_0x583472(0x270)]=_0x610d91,this[_0x583472(0x4ff)]=_0x1ae1cb,this['_univerInstanceService']=_0x3077a7);}['appendMutation'](_0x292e2f){const _0x586adc=_0x5e3172;return this[_0x586adc(0x199)][_0x586adc(0x38e)](_0x292e2f),this['_updateLocalCache'](),this;}[_0x5e3172(0x34a)](_0x5e71c5){const _0x330c62=_0x5e3172;if(this[_0x330c62(0x4a4)](_0x5e71c5))return this[_0x330c62(0x3ca)](),this[_0x330c62(0x3b4)][_0x330c62(0x13c)](ce,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],null,this[_0x330c62(0x199)],null,[_0x5e71c5],this[_0x330c62(0x231)]);try{const _0x1be4cb=this[_0x330c62(0x4ff)][_0x330c62(0x4a6)](_0x5e71c5,this['_pendingMutations']);if(_0x17cfb3(_0x1be4cb)){const {c1Prime:_0x4a19f2,m2Prime:_0x3897b1}=_0x1be4cb;this[_0x330c62(0x2a3)](_0x4a19f2);const _0x7f61c5=this[_0x330c62(0x3b4)]['createInstance'](pe,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],_0x3897b1,this[_0x330c62(0x231)]);return this['_clearScheduledTask'](),_0x7f61c5[_0x330c62(0x43f)](this['_scheduleTimestamp']?Math[_0x330c62(0x2a1)](0x0,new Date()[_0x330c62(0x3a3)]()-this['_scheduleTimestamp']):this[_0x330c62(0x44b)]()),_0x7f61c5;}throw _0x1be4cb[_0x330c62(0x295)];}catch(_0x4abd86){return this[_0x330c62(0x52d)][_0x330c62(0x295)](_0x4abd86),this[_0x330c62(0x49d)](!0x1);}}[_0x5e3172(0x15c)](){const _0x21bb21=_0x5e3172;throw new Error(_0x21bb21(0x4fb));}[_0x5e3172(0x3b3)](){const _0x35ef4e=_0x5e3172;throw new Error(_0x35ef4e(0x211));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x372123=_0x5e3172;return this[_0x372123(0x3ca)](),this[_0x372123(0x3b4)][_0x372123(0x13c)](Oe,this[_0x372123(0x4e4)],this[_0x372123(0x20d)],null,this['_pendingMutations'],this[_0x372123(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x43f)](_0x1710d7){const _0xf95e9=_0x5e3172,_0x35f160=_0x1710d7!=null?_0x1710d7:this[_0xf95e9(0x44b)]();this[_0xf95e9(0x24a)]=new Date()[_0xf95e9(0x3a3)](),this['_sendingTimer']=window[_0xf95e9(0x273)](()=>{const _0x3d4009=_0xf95e9;this[_0x3d4009(0x3ca)]();let _0x51ed41=null;switch(this[_0x3d4009(0x20d)]){case ae['UNIVER_SHEET']:{_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this['_memberService']);break;}case ae[_0x3d4009(0x11d)]:{this[_0x3d4009(0x199)][_0x3d4009(0x3b5)](_0x2545c3=>_0x2545c3['id']===_0x48d9a2['id'])?_0x51ed41=Po(this['_pendingMutations'],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this[_0x3d4009(0x16b)]):_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this['_univerInstanceService'],this[_0x3d4009(0x2fd)],this['_memberService']);break;}default:throw new Error(_0x3d4009(0x283)+this[_0x3d4009(0x20d)]+_0x3d4009(0x519));}const {changeset:_0x20abe7,pendingMutations:_0x266788}=_0x51ed41;this[_0x3d4009(0x231)][_0x3d4009(0x26b)](_0x20abe7);const _0x1c664e=_0x266788[_0x3d4009(0x2c8)]?this['_injector'][_0x3d4009(0x13c)](me,this[_0x3d4009(0x4e4)],this[_0x3d4009(0x20d)],_0x20abe7,_0x266788,this['_handler'],void 0x0):this[_0x3d4009(0x3b4)][_0x3d4009(0x13c)](Te,this['unitID'],this[_0x3d4009(0x20d)],_0x20abe7,this[_0x3d4009(0x231)]);_0x1c664e['_updateLocalCache'](),this[_0x3d4009(0x231)][_0x3d4009(0x2e1)](this,_0x1c664e);},_0x35f160);}['_getSendChangesetTimeout'](){const _0x45dfeb=_0x5e3172;var _0x41df36;const _0x36fb32=this[_0x45dfeb(0x270)]['getConfig'](Q);return(_0x41df36=_0x36fb32==null?void 0x0:_0x36fb32['sendChangesetTimeout'])!=null?_0x41df36:Rn;}[_0x5e3172(0x430)](){const _0x5b8e5a=_0x5e3172;throw new Error(_0x5b8e5a(0x4b2));}[_0x5e3172(0x3ca)](){const _0x130cce=_0x5e3172;this[_0x130cce(0x3ed)]!=null&&(clearTimeout(this[_0x130cce(0x3ed)]),this['_sendingTimer']=null);}[_0x5e3172(0x49d)](_0x2f7d70){const _0x44cc3c=_0x5e3172;return this[_0x44cc3c(0x3ca)](),this[_0x44cc3c(0x3b4)]['createInstance'](Re,this['unitID'],this[_0x44cc3c(0x20d)],null,this[_0x44cc3c(0x199)],this['_handler'],_0x2f7d70);}};pe=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x1259a7(Me)),A(0x8,_0xadcc6),A(0x9,_0x58c2c0),A(0xa,_0x3a37b7),A(0xb,_0x2a04be),A(0xc,_0x381e7e),A(0xd,_0x2d3235)],pe);let Te=class extends He{constructor(_0x2bbe74,_0x1d1a4c,_0x3d4320,_0x353987,_0x361670,_0x1abcba,_0x31d0dd,_0x4c7827,_0x129722,_0x3efcbf,_0x5b09b0){const _0x28d0c5=_0x5e3172;super(_0x2bbe74,_0x1d1a4c,_0x3d4320,[],_0x353987,_0x4c7827,_0x5b09b0,_0x1abcba,_0x31d0dd),g(this,_0x28d0c5(0x38b),_0x28d0c5(0x43d)),g(this,_0x28d0c5(0x4f6),0x0),g(this,_0x28d0c5(0x272)),g(this,_0x28d0c5(0x4da)),(this[_0x28d0c5(0x3b4)]=_0x361670,this['_logService']=_0x129722,this[_0x28d0c5(0x4ff)]=_0x3efcbf);}['appendMutation'](_0x3a1ff0){const _0x2b4fce=_0x5e3172;this[_0x2b4fce(0x3ca)]();const _0x384406=this[_0x2b4fce(0x3b4)][_0x2b4fce(0x13c)](me,this['unitID'],this[_0x2b4fce(0x20d)],this[_0x2b4fce(0x536)],[_0x3a1ff0],this['_handler'],this[_0x2b4fce(0x272)]);return _0x384406['_updateLocalCache'](),_0x384406;}[_0x5e3172(0x34a)](_0x10eea3){const _0x5ebc48=_0x5e3172;if(this[_0x5ebc48(0x4a4)](_0x10eea3))return this[_0x5ebc48(0x3ca)](),this['_injector'][_0x5ebc48(0x13c)](ce,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],this['_awaitingChangeset'],[],null,[_0x10eea3],this['_handler']);try{const _0x218614=this[_0x5ebc48(0x4ff)][_0x5ebc48(0x530)]([_0x10eea3],[this[_0x5ebc48(0x536)]],!0x1);if(_0x1b6696(_0x218614)){const {c1Prime:_0x2cf2c4,c2Prime:_0x45c2be}=_0x218614;this[_0x5ebc48(0x2a3)](_0x2cf2c4[0x0]),_0x45c2be[0x0]['baseRev']=this[_0x5ebc48(0x20e)](),this[_0x5ebc48(0x3ca)]();const _0x51125f=this[_0x5ebc48(0x3b4)][_0x5ebc48(0x13c)](Te,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],_0x45c2be[0x0],this['_handler']);return _0x51125f['_updateLocalCache'](),_0x51125f;}return this['_onConflict'](!0x1);}catch(_0x1dfe88){return this[_0x5ebc48(0x52d)]['error'](_0x1dfe88),this[_0x5ebc48(0x49d)](!0x1);}}[_0x5e3172(0x15c)](_0x4f80ce){const _0x58dcf4=_0x5e3172;this['_clearScheduledTask']();const _0x53777f=this[_0x58dcf4(0x2fd)][_0x58dcf4(0x30c)](this[_0x58dcf4(0x4e4)]);if(_0x4f80ce[_0x58dcf4(0x2ed)]<_0x53777f-0x1)return this;if(this[_0x58dcf4(0x4a4)](_0x4f80ce))return this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](ce,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x58dcf4(0x231)]);this['_incrementRevisionNumber']();const _0x2a4f39=this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](Fe,this[_0x58dcf4(0x4e4)],this[_0x58dcf4(0x20d)],this[_0x58dcf4(0x231)]);return _0x2a4f39['_updateLocalCache'](),_0x2a4f39;}['onRemoteRej'](_0xfea293){const _0x1335dc=_0x5e3172;return this[_0x1335dc(0x49d)](!!(_0xfea293!=null&&_0xfea293['isPermissionRej']));}['onRemoteRetry'](_0x27539b){const _0x2422ce=_0x5e3172;return this[_0x2422ce(0x4f6)]>Xi?this[_0x2422ce(0x448)]():(this[_0x2422ce(0x272)]=zi(this[_0x2422ce(0x4f6)],{'timeout':this[_0x2422ce(0x4f6)],'reqId':_0x27539b[_0x2422ce(0x11c)]}),this[_0x2422ce(0x4da)]=this[_0x2422ce(0x272)]['subscribe'](({reqId:_0x494339,timeout:_0x14e3af})=>{const _0x5e4b04=_0x2422ce;this[_0x5e4b04(0x442)](_0x494339,_0x14e3af);}),this);}[_0x5e3172(0x448)](){const _0xabb7fa=_0x5e3172;return this[_0xabb7fa(0x3ca)](),this['_injector'][_0xabb7fa(0x13c)](Oe,this[_0xabb7fa(0x4e4)],this[_0xabb7fa(0x20d)],this[_0xabb7fa(0x536)],[],this['_handler']);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){const _0x21c8d0=_0x5e3172;this['_handler'][_0x21c8d0(0x26b)](this[_0x21c8d0(0x536)]);}[_0x5e3172(0x49d)](_0x5ba035){const _0x25ea86=_0x5e3172;return this['_clearScheduledTask'](),this[_0x25ea86(0x3b4)][_0x25ea86(0x13c)](Re,this[_0x25ea86(0x4e4)],this[_0x25ea86(0x20d)],this[_0x25ea86(0x536)],[],this[_0x25ea86(0x231)],_0x5ba035);}[_0x5e3172(0x442)](_0xbe3787,_0x14d3ba){const _0x17701c=_0x5e3172;var _0x48761c;_0xbe3787===((_0x48761c=this['_awaitingChangeset'])==null?void 0x0:_0x48761c[_0x17701c(0x11c)])&&(this[_0x17701c(0x430)](),this['_resendTimeout']=_0x14d3ba===0x0?0x3e8:_0x14d3ba*0x2);}[_0x5e3172(0x3ca)](){const _0x3b9b6a=_0x5e3172;var _0x49fc2c;(_0x49fc2c=this[_0x3b9b6a(0x4da)])==null||_0x49fc2c[_0x3b9b6a(0x527)](),this['_resendTimeout']=0x0;}};Te=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be),A(0xa,_0x2d3235)],Te);let me=class extends He{constructor(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x3f336a,_0x31afcd,_0x506c9d,_0x4f7a5b,_0x37c9af,_0x5dc825,_0x317b42,_0x3359d6){const _0x57fad6=_0x5e3172;super(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x37c9af,_0x3359d6,_0x506c9d,_0x4f7a5b),g(this,'status','awaiting_with_pending'),g(this,_0x57fad6(0x4f6),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x57fad6(0x3b4)]=_0x31afcd,this[_0x57fad6(0x52d)]=_0x5dc825,this[_0x57fad6(0x4ff)]=_0x317b42,_0x3f336a&&(this['_resendTimer']=_0x3f336a,this[_0x57fad6(0x4da)]=this[_0x57fad6(0x272)][_0x57fad6(0x134)](({reqId:_0x285682,timeout:_0x13216d})=>{const _0x3750e8=_0x57fad6;this[_0x3750e8(0x442)](_0x285682,_0x13216d);})));}['appendMutation'](_0x45beb7){const _0x3af237=_0x5e3172;return this[_0x3af237(0x199)][_0x3af237(0x38e)](_0x45beb7),this;}[_0x5e3172(0x34a)](_0x42972f){const _0x11f7f2=_0x5e3172;if(this['_checkMissing'](_0x42972f))return this[_0x11f7f2(0x3ca)](),this['_injector'][_0x11f7f2(0x13c)](ce,this[_0x11f7f2(0x4e4)],this[_0x11f7f2(0x20d)],this[_0x11f7f2(0x536)],this[_0x11f7f2(0x199)],null,[_0x42972f],this[_0x11f7f2(0x231)]);try{const _0x2c1680=this[_0x11f7f2(0x4ff)]['transformChangesets']([_0x42972f],[this[_0x11f7f2(0x536)]],!0x1);if(_0x1b6696(_0x2c1680)){const {c1Prime:_0x1f9bde,c2Prime:_0x363237}=_0x2c1680,_0x2316a2=this[_0x11f7f2(0x4ff)][_0x11f7f2(0x4a6)](_0x1f9bde[0x0],this[_0x11f7f2(0x199)]);if(_0x17cfb3(_0x2316a2)){const {c1Prime:_0xc143d,m2Prime:_0x19b1eb}=_0x2316a2;return this['_executeRemoteChangeset'](_0xc143d),_0x363237[0x0]['baseRev']=this[_0x11f7f2(0x20e)](),this[_0x11f7f2(0x3ca)](),this[_0x11f7f2(0x3b4)][_0x11f7f2(0x13c)](me,this['unitID'],this['type'],_0x363237[0x0],_0x19b1eb,this[_0x11f7f2(0x231)],void 0x0);}throw _0x2316a2[_0x11f7f2(0x295)];}throw _0x2c1680[_0x11f7f2(0x295)];}catch(_0x36e4e0){return this['_logService'][_0x11f7f2(0x295)](_0x36e4e0),this[_0x11f7f2(0x49d)](!0x1);}}['onRemoteAck'](_0x663cbb){const _0x1ea889=_0x5e3172;if(this['_clearScheduledTask'](),this[_0x1ea889(0x4a4)](_0x663cbb))return this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](ce,this[_0x1ea889(0x4e4)],this[_0x1ea889(0x20d)],null,this[_0x1ea889(0x199)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc3cda3=this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](pe,this['unitID'],this[_0x1ea889(0x20d)],this[_0x1ea889(0x199)],this['_handler']);return _0xc3cda3[_0x1ea889(0x43f)](),_0xc3cda3['_updateLocalCache'](),_0xc3cda3;}['onRemoteRej'](_0xeab0c){const _0x56c507=_0x5e3172;return this[_0x56c507(0x49d)](!!(_0xeab0c!=null&&_0xeab0c[_0x56c507(0x3f9)]));}[_0x5e3172(0x36b)](_0x449dbc){const _0x1ec292=_0x5e3172;return this['_resendTimeout']>Xi?this['toggleOffline']():(this[_0x1ec292(0x272)]=zi(this[_0x1ec292(0x4f6)],{'timeout':this[_0x1ec292(0x4f6)],'reqId':_0x449dbc[_0x1ec292(0x11c)]}),this[_0x1ec292(0x4da)]=this[_0x1ec292(0x272)][_0x1ec292(0x134)](({reqId:_0x6ff21b,timeout:_0x5dbf92})=>{const _0x176127=_0x1ec292;this[_0x176127(0x442)](_0x6ff21b,_0x5dbf92);}),this);}[_0x5e3172(0x448)](){const _0x5050d9=_0x5e3172;return this['_clearScheduledTask'](),this[_0x5050d9(0x3b4)][_0x5050d9(0x13c)](Oe,this[_0x5050d9(0x4e4)],this[_0x5050d9(0x20d)],this[_0x5050d9(0x536)],this['_pendingMutations'],this[_0x5050d9(0x231)]);}['toggleOnline'](){return this;}[_0x5e3172(0x430)](){const _0x14df74=_0x5e3172;this[_0x14df74(0x231)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e3172(0x49d)](_0x8d8bb0){const _0x330a38=_0x5e3172;return this['_clearScheduledTask'](),this[_0x330a38(0x3b4)]['createInstance'](Re,this[_0x330a38(0x4e4)],this[_0x330a38(0x20d)],null,this[_0x330a38(0x199)],this[_0x330a38(0x231)],_0x8d8bb0);}[_0x5e3172(0x442)](_0x588632,_0x3d607b){const _0x451a4a=_0x5e3172;var _0x38adca;_0x588632===((_0x38adca=this[_0x451a4a(0x536)])==null?void 0x0:_0x38adca[_0x451a4a(0x11c)])&&(this['resend'](),this['_resendTimeout']=_0x3d607b===0x0?0x3e8:_0x3d607b*0x2);}[_0x5e3172(0x3ca)](){const _0x3fe543=_0x5e3172;var _0x3d7311;(_0x3d7311=this['_sender'])==null||_0x3d7311[_0x3fe543(0x527)](),this[_0x3fe543(0x4f6)]=0x0;}};me=$e([A(0x6,_0x1259a7(_0xa6ca3c)),A(0x7,_0x1259a7(_0x5730a1)),A(0x8,_0x1259a7(z)),A(0x9,_0x58c2c0),A(0xa,_0xadcc6),A(0xb,_0x2a04be),A(0xc,_0x2d3235)],me);let Re=class extends He{constructor(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x5bb3af=!0x1,_0x4fc63f,_0x53cd5a,_0x143d4a,_0xd4d137,_0x22f7e5,_0x4523f4,_0x3d5cbc){const _0x1834b4=_0x5e3172;super(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x53cd5a,_0x143d4a,_0x22f7e5,_0xd4d137),g(this,'status',_0x1834b4(0x1a5)),(this[_0x1834b4(0x4c1)]=_0x5bb3af,this[_0x1834b4(0x366)]=_0x4fc63f,this['_localeService']=_0x4523f4,this['_notificationService']=_0x3d5cbc,this['_showConflictNotification'](),this[_0x1834b4(0x118)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5e3172(0x34a)](){return this;}[_0x5e3172(0x15c)](){return this;}[_0x5e3172(0x3b3)](){return this;}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1f722a=_0x5e3172;this['_localCacheService'][_0x1f722a(0x422)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3cc404=_0x5e3172;this['_isPermissionRej']?this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x450)),'content':this['_localeService']['t'](_0x3cc404(0x50c)),'type':_0x3cc404(0x295),'duration':0x0}):this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x4f9)),'content':this[_0x3cc404(0x48a)]['t']('conflict.content'),'type':_0x3cc404(0x295),'duration':0x0});}[_0x5e3172(0x373)](){const _0x3e1849=_0x5e3172;this['_permissionService'][_0x3e1849(0x299)](new _0x1a4341(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1259a7(_0x51028f)),A(0x7,_0x58c2c0),A(0x8,_0x2d3235),A(0x9,_0x1259a7(z)),A(0xa,_0x1259a7(_0x5730a1)),A(0xb,_0x1259a7(_0x56a2bf)),A(0xc,_0xe36565)],Re);let Oe=class extends He{constructor(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x54d3bd,_0x19f6a4,_0x333285,_0x14fc2d,_0x5567b0){const _0x34dc50=_0x5e3172;super(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x14fc2d,_0x5567b0,_0x19f6a4,_0x333285),g(this,_0x34dc50(0x38b),_0x34dc50(0x11b)),this[_0x34dc50(0x3b4)]=_0x54d3bd;}[_0x5e3172(0x144)](_0x170100){const _0x4c763d=_0x5e3172;return this[_0x4c763d(0x199)][_0x4c763d(0x38e)](_0x170100),this[_0x4c763d(0x324)](),this;}[_0x5e3172(0x34a)](_0x20dbf0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x18bec3=_0x5e3172;throw new Error(_0x18bec3(0x343));}['onRemoteRej'](){const _0x2bd4a6=_0x5e3172;throw new Error(_0x2bd4a6(0x416));}['onRemoteRetry'](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){const _0x1691f2=_0x5e3172,{_injector:_0x43733c,_pendingMutations:_0x23a8d2,_awaitingChangeset:_0x5490d7,unitID:_0x56b526,_handler:_0x321bf6,type:_0x5392da}=this,_0x3df492=Ji(_0x43733c,_0x56b526,_0x5392da,_0x5490d7,_0x23a8d2,_0x321bf6);return _0x3df492 instanceof pe?_0x3df492['_schedule']():(_0x3df492 instanceof me||_0x3df492 instanceof Te)&&_0x3df492[_0x1691f2(0x430)](),_0x3df492;}[_0x5e3172(0x430)](){const _0x378904=_0x5e3172;throw new Error(_0x378904(0x48e));}};Oe=$e([A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x1259a7(_0x5730a1)),A(0x7,_0x1259a7(z)),A(0x8,_0x58c2c0),A(0x9,_0x2d3235)],Oe);let ce=class extends He{constructor(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x5dbe70,_0x239297,_0x117eed,_0x58eee9,_0x1a876a,_0xfd8cc,_0xdfd309,_0x470239,_0x54372b,_0x3333ca){const _0x463e47=_0x5e3172;super(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x117eed,_0x470239,_0x54372b,_0x1a876a,_0xfd8cc),g(this,_0x463e47(0x38b),_0x463e47(0x45f)),(this[_0x463e47(0x3fe)]=_0x5dbe70,this[_0x463e47(0x52c)]=_0x239297,this[_0x463e47(0x3b4)]=_0x58eee9,this[_0x463e47(0x52d)]=_0xdfd309,this[_0x463e47(0x4ff)]=_0x3333ca);}[_0x5e3172(0x25b)](_0x11ce24){const _0x9bb1cd=_0x5e3172;try{const _0x38bc43=[..._0x11ce24,...this[_0x9bb1cd(0x52c)]],_0x43403a=[this[_0x9bb1cd(0x536)]||this[_0x9bb1cd(0x3fe)]][_0x9bb1cd(0x1fe)](_0x3a0c89=>!!_0x3a0c89);let _0x5f247e,_0x27dd3f;if(_0x43403a[_0x9bb1cd(0x2c8)]){const _0x377b16=this[_0x9bb1cd(0x4ff)][_0x9bb1cd(0x530)](_0x38bc43,_0x43403a,!0x1);if(!_0x1b6696(_0x377b16))throw _0x377b16[_0x9bb1cd(0x295)];_0x5f247e=_0x377b16[_0x9bb1cd(0x1e7)],_0x27dd3f=_0x377b16[_0x9bb1cd(0x39c)];}else _0x5f247e=_0x38bc43,_0x27dd3f=[];let _0x373c41=this[_0x9bb1cd(0x199)];_0x5f247e['forEach'](_0x5c5386=>{const _0x422f4e=_0x9bb1cd;let _0x244469;if(_0x373c41[_0x422f4e(0x2c8)]){const _0x178a32=this[_0x422f4e(0x4ff)][_0x422f4e(0x4a6)](_0x5c5386,_0x373c41);if(!_0x17cfb3(_0x178a32))throw _0x178a32[_0x422f4e(0x295)];_0x244469=_0x178a32[_0x422f4e(0x1e7)],_0x373c41=_0x178a32['m2Prime'];}else _0x244469=_0x5c5386;this[_0x422f4e(0x2a3)](_0x244469);}),this[_0x9bb1cd(0x3fe)]&&this[_0x9bb1cd(0x3ac)](),this[_0x9bb1cd(0x536)]&&_0x27dd3f[_0x9bb1cd(0x2c8)]&&(_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision']());let _0x4f198e;if(this[_0x9bb1cd(0x536)]&&_0x373c41[_0x9bb1cd(0x2c8)]!==0x0)_0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](me,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],_0x373c41,this[_0x9bb1cd(0x231)],void 0x0);else{if(this['_awaitingChangeset']&&_0x373c41[_0x9bb1cd(0x2c8)]===0x0)_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision'](),_0x4f198e=this['_injector'][_0x9bb1cd(0x13c)](Te,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],this['_handler']);else{if(_0x373c41['length']!==0x0){const _0x845884=this[_0x9bb1cd(0x3b4)]['createInstance'](pe,this[_0x9bb1cd(0x4e4)],this['type'],_0x373c41,this[_0x9bb1cd(0x231)]);_0x845884[_0x9bb1cd(0x43f)](),_0x4f198e=_0x845884;}else _0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Fe,this[_0x9bb1cd(0x4e4)],this['type'],this[_0x9bb1cd(0x231)]);}}return _0x4f198e[_0x9bb1cd(0x324)](),_0x4f198e;}catch(_0x45ecf1){return this[_0x9bb1cd(0x52d)]['error'](_0x9bb1cd(0x1d3),_0x9bb1cd(0x37d),_0x45ecf1),this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Re,this['unitID'],this['type'],this[_0x9bb1cd(0x536)],this[_0x9bb1cd(0x199)],this['_handler'],!0x1);}}[_0x5e3172(0x430)](){const _0x1a4be7=_0x5e3172;throw new Error(_0x1a4be7(0x509));}[_0x5e3172(0x144)](_0x54f31e){const _0x4be4d1=_0x5e3172;return this[_0x4be4d1(0x199)]['push'](_0x54f31e),this;}[_0x5e3172(0x34a)](_0x55c7d8){const _0x42cba8=_0x5e3172;return this[_0x42cba8(0x52c)][_0x42cba8(0x38e)](_0x55c7d8),this;}['onRemoteAck'](_0x2c9365){const _0x3fb59e=_0x5e3172;if(this[_0x3fb59e(0x536)])return this[_0x3fb59e(0x3fe)]=this[_0x3fb59e(0x536)],this[_0x3fb59e(0x536)]=null,this;throw new Error(_0x3fb59e(0x2a4));}[_0x5e3172(0x3b3)](_0x2e0b2c){const _0x42ac6c=_0x5e3172;return this[_0x42ac6c(0x49d)](!!(_0x2e0b2c!=null&&_0x2e0b2c[_0x42ac6c(0x3f9)]));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x47a045=_0x5e3172;return this[_0x47a045(0x3b4)][_0x47a045(0x13c)](Oe,this[_0x47a045(0x4e4)],this[_0x47a045(0x20d)],this[_0x47a045(0x536)],this[_0x47a045(0x199)],this[_0x47a045(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x49d)](_0x4932e0){const _0x430cb0=_0x5e3172;return this['_injector'][_0x430cb0(0x13c)](Re,this[_0x430cb0(0x4e4)],this[_0x430cb0(0x20d)],this[_0x430cb0(0x536)],this[_0x430cb0(0x199)],this[_0x430cb0(0x231)],_0x4932e0);}};ce=$e([A(0x7,_0x1259a7(_0xa6ca3c)),A(0x8,_0x1259a7(_0x5730a1)),A(0x9,_0x1259a7(z)),A(0xa,_0xadcc6),A(0xb,_0x58c2c0),A(0xc,_0x2d3235),A(0xd,_0x2a04be)],ce);function Ji(_0xe8dcb8,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138){const _0x212689=_0x5e3172;return _0x17bb12&&_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](me,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138,void 0x0):_0x17bb12?_0xe8dcb8[_0x212689(0x13c)](Te,_0x2561df,_0x3536d4,_0x17bb12,_0x1ec138):_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](pe,_0x2561df,_0x3536d4,_0x252534,_0x1ec138):_0xe8dcb8[_0x212689(0x13c)](Fe,_0x2561df,_0x3536d4,_0x1ec138);}var Mo=Object[_0x5e3172(0x243)],xo=Object[_0x5e3172(0x26f)],Ps=(_0x3a1bac,_0x3c609c,_0x1b2b85,_0x2c2abf)=>{const _0x5d33da=_0x5e3172;for(var _0x330d2b=_0x2c2abf>0x1?void 0x0:_0x2c2abf?xo(_0x3c609c,_0x1b2b85):_0x3c609c,_0x2203e9=_0x3a1bac[_0x5d33da(0x2c8)]-0x1,_0x1aa53b;_0x2203e9>=0x0;_0x2203e9--)(_0x1aa53b=_0x3a1bac[_0x2203e9])&&(_0x330d2b=(_0x2c2abf?_0x1aa53b(_0x3c609c,_0x1b2b85,_0x330d2b):_0x1aa53b(_0x330d2b))||_0x330d2b);return _0x2c2abf&&_0x330d2b&&Mo(_0x3c609c,_0x1b2b85,_0x330d2b),_0x330d2b;},H=(_0x580e1e,_0x30bc56)=>(_0x380d1d,_0x3b636c)=>_0x30bc56(_0x380d1d,_0x3b636c,_0x580e1e);let Nt=class extends _0x5ce84d{constructor(_0x4b2364,_0x520f55,_0x527ec5,_0x4694be,_0xf57beb,_0x3332cd,_0x5a4f8d,_0x45c727,_0x2ace9a,_0x2702aa,_0x4923eb,_0x4f4d4d,_0x45183e){const _0x86def1=_0x5e3172;super(),g(this,_0x86def1(0x158),new _0xd0d94b(null)),g(this,'state$',this[_0x86def1(0x158)][_0x86def1(0x306)]()),g(this,_0x86def1(0x3c6)),g(this,_0x86def1(0x4c2),!0x1),g(this,_0x86def1(0x34f),''),g(this,_0x86def1(0x409),0x0),g(this,_0x86def1(0x52f),this['state$']['pipe'](_0x461042(_0x50ad14=>_0x50ad14?_0x50ad14[_0x86def1(0x38b)]:J[_0x86def1(0x4d7)]),_0x55695a(0x1))),g(this,_0x86def1(0x162),!0x1),g(this,_0x86def1(0x4bd),[]),(this[_0x86def1(0x4e4)]=_0x4b2364,this[_0x86def1(0x4a7)]=_0x520f55,this[_0x86def1(0x183)]=_0x527ec5,this[_0x86def1(0x3b4)]=_0x4694be,this['_localCacheService']=_0xf57beb,this[_0x86def1(0x3f0)]=_0x3332cd,this['_localeService']=_0x5a4f8d,this[_0x86def1(0x2fd)]=_0x45c727,this[_0x86def1(0x52d)]=_0x2ace9a,this[_0x86def1(0x327)]=_0x2702aa,this[_0x86def1(0x1ee)]=_0x4923eb,this[_0x86def1(0x366)]=_0x4f4d4d,this[_0x86def1(0x4d2)]=_0x45183e);}get['state'](){return this['_state'];}async[_0x5e3172(0x433)](){const _0x58b67d=_0x5e3172;if(this[_0x58b67d(0x3e5)])throw new Error(_0x58b67d(0x46c));await this[_0x58b67d(0x1d2)]();}['pauseCollaboration'](){const _0x5aa0ef=_0x5e3172;return this[_0x5aa0ef(0x4c2)]=!0x0,_0x38e5fb(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e3172(0x2b2)](_0x301e14){const _0x16b7b9=_0x5e3172;this[_0x16b7b9(0x3c6)]=_0x301e14,this[_0x16b7b9(0x158)]['next'](_0x301e14);}async[_0x5e3172(0x1d2)](){const _0x3306fc=_0x5e3172;var _0xbabfc0;this[_0x3306fc(0x2b2)](await this[_0x3306fc(0x1a0)]()),this['_singleActiveUnitService']&&((_0xbabfc0=this['_singleActiveUnitService'])==null||_0xbabfc0[_0x3306fc(0x203)](this[_0x3306fc(0x4e4)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3306fc(0x395)](this[_0x3306fc(0x4e4)])[_0x3306fc(0x134)](_0x5bb347=>{const _0x49a09d=_0x3306fc;this[_0x49a09d(0x52d)][_0x49a09d(0x16d)](_0x49a09d(0x43a),'editing\x20status\x20changed\x20to',_0x5bb347),_0x5bb347===Ki['OTHER_CLIENTS_EDITING']?(this[_0x49a09d(0x1ee)]['show']({'content':this[_0x49a09d(0x48a)]['t'](_0x49a09d(0x464)),'type':_0x59169d[_0x49a09d(0x18b)]}),this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x1),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x1)):(this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x0),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x0));})));let _0x1a4e6c=!0x1;return this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)]['sessionStatus$'][_0x3306fc(0x134)](_0x11e3c8=>{const _0x382745=_0x3306fc;_0x11e3c8===fe['ONLINE']?this[_0x382745(0x235)](_0x1a4e6c):_0x11e3c8===fe[_0x382745(0x4d7)]&&(_0x1a4e6c=!0x0,this[_0x382745(0x2bd)]());})),this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)][_0x3306fc(0x2c6)][_0x3306fc(0x134)](_0x3ab282=>{const _0x2379d8=_0x3306fc;try{switch(_0x3ab282[_0x2379d8(0x451)]){case _0x385814[_0x2379d8(0x331)]:{this['_onRemoteChangeset'](_0x5e0840(_0x3ab282[_0x2379d8(0x288)]));break;}case _0x385814[_0x2379d8(0x2e5)]:{this['_onRemoteACK'](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x2f4)]:{this[_0x2379d8(0x10d)]();break;}case _0x385814[_0x2379d8(0x155)]:{this[_0x2379d8(0x46f)](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x46d)]:{this['_onFetchMissResult'](_0x3ab282[_0x2379d8(0x288)][_0x2379d8(0x3fd)][_0x2379d8(0x2b4)](_0x11241e=>_0x5e0840(_0x11241e)));break;}case _0x385814[_0x2379d8(0x3e9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x12e077){throw console[_0x2379d8(0x295)](_0x2379d8(0x3a9),_0x12e077),_0x12e077;}})),this[_0x3306fc(0x3c6)];}[_0x5e3172(0x229)](){const _0x46814c=_0x5e3172;this[_0x46814c(0x162)]=!0x1;}[_0x5e3172(0x4cc)](){const _0x35e46f=_0x5e3172;if(this[_0x35e46f(0x162)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x5e3172(0x4a3)](_0x5f4772){const _0x224a98=_0x5e3172;this[_0x224a98(0x4cc)](),this[_0x224a98(0x2b2)](this[_0x224a98(0x3c6)][_0x224a98(0x144)](_0x5f4772)),this['_unlockTransition']();}[_0x5e3172(0x1ab)](_0x1f5c9f){const _0x88c1fc=_0x5e3172;if(!(_0x1f5c9f[_0x88c1fc(0x2ed)]<=this[_0x88c1fc(0x2fd)][_0x88c1fc(0x30c)](this[_0x88c1fc(0x4e4)]))){if(this[_0x88c1fc(0x4c2)]){this['_remoteChangesetQueue'][_0x88c1fc(0x38e)](_0x1f5c9f);return;}this[_0x88c1fc(0x380)](_0x1f5c9f);}}[_0x5e3172(0x117)](){const _0x2ccd77=_0x5e3172;this['_remoteChangesetQueue'][_0x2ccd77(0x356)](_0x4f8e18=>this[_0x2ccd77(0x380)](_0x4f8e18)),this[_0x2ccd77(0x4bd)]=[];}['_applyRemoteChangeset'](_0x45f26f){const _0x42f667=_0x5e3172,_0xb8eca4=this[_0x42f667(0x3f0)][_0x42f667(0x110)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x42f667(0x110)][_0x42f667(0x1ff)]()[_0x42f667(0x410)])(_0x45f26f[_0x42f667(0x1b2)],null)||_0x45f26f[_0x42f667(0x1b2)],_0x81b871={..._0x45f26f,'mutations':_0xb8eca4};this[_0x42f667(0x4cc)](),this[_0x42f667(0x2b2)](this[_0x42f667(0x3c6)][_0x42f667(0x34a)](_0x81b871)),this[_0x42f667(0x229)]();}[_0x5e3172(0x4c5)](_0x3fe4e1){const _0x5ea9fd=_0x5e3172;this['_lockTransition'](),this[_0x5ea9fd(0x2b2)](this['_state'][_0x5ea9fd(0x15c)](_0x3fe4e1)),this[_0x5ea9fd(0x229)]();}[_0x5e3172(0x10d)](_0x3319a3){const _0xc3f2fe=_0x5e3172;this['_lockTransition'](),this['_updateState'](this[_0xc3f2fe(0x3c6)][_0xc3f2fe(0x3b3)](_0x3319a3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ae348){const _0x2e377b=_0x5e3172;this[_0x2e377b(0x4cc)](),this[_0x2e377b(0x2b2)](this['_state'][_0x2e377b(0x36b)](_0x4ae348)),this[_0x2e377b(0x229)]();}[_0x5e3172(0x401)](_0x25f388){const _0x16ff0e=_0x5e3172;if(!(this[_0x16ff0e(0x3c6)]instanceof ce))throw new TypeError(_0x16ff0e(0x475));const _0x342b97=_0x25f388[_0x16ff0e(0x2b4)](_0x53890d=>{const _0x49ef6c=_0x16ff0e,_0x3ded77=this[_0x49ef6c(0x3f0)]['interceptor'][_0x49ef6c(0x37e)](this['_compressMutationService']['interceptor'][_0x49ef6c(0x1ff)]()[_0x49ef6c(0x410)])(_0x53890d[_0x49ef6c(0x1b2)],null)||_0x53890d[_0x49ef6c(0x1b2)];return{..._0x53890d,'mutations':_0x3ded77};});this['_lockTransition'](),this['_updateState'](this[_0x16ff0e(0x3c6)]['onMissedChangesetFetched'](_0x342b97)),this[_0x16ff0e(0x229)]();}[_0x5e3172(0x2bd)](){const _0x5cb585=_0x5e3172;this[_0x5cb585(0x4cc)](),this[_0x5cb585(0x2b2)](this[_0x5cb585(0x3c6)][_0x5cb585(0x448)]()),this[_0x5cb585(0x229)]();}[_0x5e3172(0x235)](_0x46e1f8=!0x1){const _0x988520=_0x5e3172;this['_lockTransition'](),this[_0x988520(0x2b2)](this[_0x988520(0x3c6)]['toggleOnline']()),this[_0x988520(0x229)]();const _0x196861=this[_0x988520(0x3c6)];_0x46e1f8&&_0x196861 instanceof Fe&&(this[_0x988520(0x4cc)](),this['_updateState'](_0x196861['fetchMiss']()),this[_0x988520(0x229)]());}async[_0x5e3172(0x1a0)](){return new Promise(_0x20fa0d=>{const _0x17799b=_0x1eb2;this['session'][_0x17799b(0x18c)][_0x17799b(0x4b6)](_0x3decc5(0x1))[_0x17799b(0x134)](async _0x3ecfb3=>{const _0x29182b=_0x17799b;_0x20fa0d(await this['_createInitialStateImpl'](_0x3ecfb3===fe[_0x29182b(0x2e2)]));});});}['_createHandler'](){const _0x55c9f2=_0x5e3172,_0x264c90=this[_0x55c9f2(0x4e4)];return{'onStateChange':(_0xa321d3,_0x342f0b)=>{const _0x37ccbb=_0x55c9f2;if(_0xa321d3!==this[_0x37ccbb(0x3c6)])throw new Error(_0x37ccbb(0x240)+_0xa321d3[_0x37ccbb(0x38b)]+_0x37ccbb(0x3d0)+_0x342f0b[_0x37ccbb(0x38b)]+_0x37ccbb(0x159)+this[_0x37ccbb(0x3c6)][_0x37ccbb(0x38b)]);this[_0x37ccbb(0x2b2)](_0x342f0b);},'onSendChangeset':_0xce5de1=>{const _0x482085=_0x55c9f2;_0xce5de1[_0x482085(0x12c)]||(_0xce5de1[_0x482085(0x12c)]=this[_0x482085(0x34f)],_0xce5de1[_0x482085(0x11c)]=++this[_0x482085(0x409)]);const _0x5e5a24={'eventID':_0x385814[_0x482085(0x27a)],'data':{'unitID':_0xce5de1[_0x482085(0x4e4)],'unitType':this[_0x482085(0x183)],'changeset':_0xce5de1,'memberID':this[_0x482085(0x4a7)]['getMemberID']()}};this[_0x482085(0x4a7)][_0x482085(0x3e0)](_0x5e5a24,this['unitID']);},'onMissingChangesets':({from:_0x27e365,to:_0x3c8fe6})=>{const _0x4938f1=_0x55c9f2;this['_logService'][_0x4938f1(0x16d)](_0x4938f1(0x43a),'fetching\x20missing\x20changesets\x20from\x20'+_0x27e365+'\x20to\x20'+_0x3c8fe6);const _0x1d9605={'eventID':_0x385814['FETCH_MISSING'],'data':{'unitID':_0x264c90,'unitType':this[_0x4938f1(0x183)],'from':_0x27e365,'to':_0x3c8fe6}};this['session'][_0x4938f1(0x3e0)](_0x1d9605,this['unitID']);}};}async[_0x5e3172(0x339)](_0x50c038){const _0x40d8dc=_0x5e3172;var _0x4038d1,_0x1bb405;const _0x4f0895=await this[_0x40d8dc(0x32a)]['loadOfflineData'](this[_0x40d8dc(0x4e4)]),_0x6aa9f6=(_0x4038d1=_0x4f0895==null?void 0x0:_0x4f0895[_0x40d8dc(0x1b2)])!=null?_0x4038d1:[],_0x429394=(_0x1bb405=_0x4f0895==null?void 0x0:_0x4f0895['awaitingChangeset'])!=null?_0x1bb405:null,_0x5f5094=!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x12c)])&&!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x11c)]);this[_0x40d8dc(0x34f)]=_0x5f5094?_0x429394[_0x40d8dc(0x12c)]:ho(),this[_0x40d8dc(0x409)]=_0x5f5094?_0x429394['reqId']:0x0;const _0x4b8ad3=this['unitID'];try{this[_0x40d8dc(0x502)](_0x429394,_0x6aa9f6);}catch(_0x71a95b){this[_0x40d8dc(0x52d)][_0x40d8dc(0x295)](_0x71a95b);}const _0x59c0d2=this['_createHandler']();if(_0x50c038){const _0x2910c1=Ji(this['_injector'],_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);return _0x2910c1 instanceof pe?_0x2910c1[_0x40d8dc(0x43f)]():(_0x2910c1 instanceof me||_0x2910c1 instanceof Te)&&_0x2910c1[_0x40d8dc(0x430)](),_0x2910c1;}return this[_0x40d8dc(0x3b4)]['createInstance'](Oe,_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);}[_0x5e3172(0x502)](_0x3f840b,_0x3f557e){const _0x325aaa=_0x5e3172;var _0x226371,_0x107ec8;const _0x5083f1=this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x37e)](this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x1ff)]()[_0x325aaa(0x410)]);(_0x226371=_0x5083f1((_0x3f840b==null?void 0x0:_0x3f840b['mutations'])||[],null))==null||_0x226371[_0x325aaa(0x356)](_0x435f54=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x435f54['id'],_0x435f54[_0x325aaa(0x436)])),(_0x107ec8=_0x5083f1(_0x3f557e||[],null))==null||_0x107ec8[_0x325aaa(0x356)](_0x4b179b=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x4b179b['id'],_0x4b179b[_0x325aaa(0x436)]));}};Nt=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0xadcc6),H(0x9,_0x58c2c0),H(0xa,_0x28a2c3),H(0xb,_0x51028f),H(0xc,_0x2f5f30(jt))],Nt);let ls=class extends Nt{constructor(_0xc9588f,_0x59ff8e,_0x40941b,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x310814,_0x58cf35,_0x1d66c1,_0xb925ac,_0x26a0e9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1){const _0x41b7d2=_0x5e3172;super(_0xc9588f,_0x40941b,_0x59ff8e,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1),this['unitID']=_0xc9588f,this['type']=_0x59ff8e,this[_0x41b7d2(0x3dd)]=_0x310814,this['_docTransformIMECacheService']=_0x58cf35,this['_docTransformStateCacheService']=_0x1d66c1,this[_0x41b7d2(0x26d)]=_0xb925ac,this['_docSyncEditingCollabCursorService']=_0x26a0e9;}['_createHandler'](){const _0x98899a=_0x5e3172,_0x389975=super[_0x98899a(0x35e)]();return _0x389975[_0x98899a(0x408)]=_0x3c4c8a=>this['_docTransformIMECacheService']['transformIMECache'](_0x3c4c8a),_0x389975['onTransformState']=_0x440691=>this[_0x98899a(0x2ae)]['transformStateCache'](_0x440691),_0x389975[_0x98899a(0x1bf)]=_0x4469b7=>this[_0x98899a(0x26d)][_0x98899a(0x385)](_0x4469b7),_0x389975[_0x98899a(0x1ca)]=_0x5f1895=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f1895),_0x389975[_0x98899a(0x461)]=_0x15f9d5=>this[_0x98899a(0x2e7)]['transformRemoteChangeset'](_0x15f9d5),_0x389975[_0x98899a(0x4dc)]=_0x19cf46=>this[_0x98899a(0x2ae)][_0x98899a(0x3a2)](_0x19cf46),_0x389975;}async['_init'](){const _0x1deafd=_0x5e3172,_0x5aca9a=await super[_0x1deafd(0x1d2)]();return this['disposeWithMe'](this[_0x1deafd(0x3dd)][_0x1deafd(0x33c)]['pipe'](_0x34041a(this[_0x1deafd(0x511)]))[_0x1deafd(0x134)](_0x1421e6=>{const _0x1bc00b=_0x1deafd;if(_0x1421e6==null)return;const {unitId:_0x459b70,redoState:_0x46487f,commandId:_0x5674b3}=_0x1421e6;if(_0x459b70!==this[_0x1bc00b(0x4e4)])return;const _0x1b01cc={'id':_0x5674b3,'type':_0x57cf4b[_0x1bc00b(0x345)],'params':{'unitId':_0x459b70,'actions':_0x46487f['actions'],'textRanges':null}};this[_0x1bc00b(0x4a3)](_0x1b01cc);})),this[_0x1deafd(0x2d9)](this['_commandService'][_0x1deafd(0x1e2)]((_0x1e1db2,_0x4257b8)=>{const _0x3c7653=_0x1deafd;if(_0x1e1db2['type']!==_0x57cf4b[_0x3c7653(0x345)]||_0x4257b8!=null&&_0x4257b8[_0x3c7653(0x3ce)]||_0x4257b8!=null&&_0x4257b8['onlyLocal']||_0x1e1db2['id']===_0x48d9a2['id'])return;const _0x4c6262=_0x1e1db2[_0x3c7653(0x436)];if((_0x4c6262==null?void 0x0:_0x4c6262['unitId'])!==this['unitID'])return;const _0x35c35b=_0x1e1db2,_0x23a749=this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['fetchThroughInterceptors'](this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['getInterceptPoints']()[_0x3c7653(0x2de)])([_0x35c35b],null)||[_0x35c35b];this[_0x3c7653(0x4a3)](_0x23a749[0x0]);})),_0x5aca9a;}};ls=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(_0x59d42b)),H(0x9,_0x1259a7(yt)),H(0xa,_0x1259a7(Dt)),H(0xb,_0x1259a7(Pt)),H(0xc,_0x1259a7(Ds)),H(0xd,_0xadcc6),H(0xe,_0x58c2c0),H(0xf,_0x28a2c3),H(0x10,_0x51028f),H(0x11,_0x2f5f30(jt))],ls);let _s=class extends Nt{constructor(_0x63e310,_0x14deb8,_0x2d6196,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x4bec64,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce){const _0x29e5c2=_0x5e3172;super(_0x63e310,_0x2d6196,_0x14deb8,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce),this[_0x29e5c2(0x4e4)]=_0x63e310,this[_0x29e5c2(0x20d)]=_0x14deb8,this[_0x29e5c2(0x404)]=_0x4bec64;}[_0x5e3172(0x35e)](){const _0x522f44=_0x5e3172,_0x587303=super['_createHandler']();return _0x587303[_0x522f44(0x1bf)]=_0x5183e9=>this[_0x522f44(0x404)]['transformSelections'](_0x5183e9),_0x587303;}async[_0x5e3172(0x1d2)](){const _0x384ffe=_0x5e3172,_0x479b32=await super[_0x384ffe(0x1d2)]();return this[_0x384ffe(0x2d9)](this['_commandService'][_0x384ffe(0x1e2)]((_0x25f1d6,_0x3df31e)=>{const _0xd8ced8=_0x384ffe;if(_0x25f1d6[_0xd8ced8(0x20d)]!==_0x57cf4b[_0xd8ced8(0x345)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x3ce)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x13b)])return;const _0x216ef1=_0x25f1d6['params'];if((_0x216ef1==null?void 0x0:_0x216ef1[_0xd8ced8(0x452)])!==this[_0xd8ced8(0x4e4)])return;const _0x54f50=_0x25f1d6,_0x51b7d8=this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x37e)](this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x1ff)]()[_0xd8ced8(0x2de)])([_0x54f50],null)||[_0x54f50];this[_0xd8ced8(0x4a3)](_0x51b7d8[0x0]);})),_0x479b32;}};_s=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(wt)),H(0x9,_0xadcc6),H(0xa,_0x58c2c0),H(0xb,_0x28a2c3),H(0xc,_0x51028f),H(0xd,_0x2f5f30(jt))],_s);var Lo=Object[_0x5e3172(0x243)],$o=Object[_0x5e3172(0x26f)],Ho=(_0x784141,_0x4b33d8,_0x98e847,_0x4cc933)=>{const _0x1425bb=_0x5e3172;for(var _0x2c114e=_0x4cc933>0x1?void 0x0:_0x4cc933?$o(_0x4b33d8,_0x98e847):_0x4b33d8,_0x3ae7ef=_0x784141[_0x1425bb(0x2c8)]-0x1,_0x4e8deb;_0x3ae7ef>=0x0;_0x3ae7ef--)(_0x4e8deb=_0x784141[_0x3ae7ef])&&(_0x2c114e=(_0x4cc933?_0x4e8deb(_0x4b33d8,_0x98e847,_0x2c114e):_0x4e8deb(_0x2c114e))||_0x2c114e);return _0x4cc933&&_0x2c114e&&Lo(_0x4b33d8,_0x98e847,_0x2c114e),_0x2c114e;},zt=(_0x1a6a00,_0x52d06d)=>(_0x49b94d,_0x4bc980)=>_0x52d06d(_0x49b94d,_0x4bc980,_0x1a6a00);let rt=class extends _0x5ce84d{constructor(_0x14e532,_0x3a1518,_0x52cead){const _0x19d488=_0x5e3172;super(),g(this,'_entities',new Map()),g(this,_0x19d488(0x43c),new _0x1b8780()),(this[_0x19d488(0x3b4)]=_0x14e532,this[_0x19d488(0x22d)]=_0x3a1518,this[_0x19d488(0x153)]=_0x52cead,this[_0x19d488(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x25bd78=_0x5e3172;super[_0x25bd78(0x48f)](),this[_0x25bd78(0x24f)][_0x25bd78(0x356)](_0x333677=>_0x333677[_0x25bd78(0x48f)]()),this[_0x25bd78(0x24f)][_0x25bd78(0x3db)]();}[_0x5e3172(0x4eb)](_0x1de866){const _0x2610a7=_0x5e3172;var _0x1f4974;return(_0x1f4974=this[_0x2610a7(0x24f)][_0x2610a7(0x307)](_0x1de866))!=null?_0x1f4974:null;}[_0x5e3172(0x46e)](_0x27c5c9){const _0x378010=_0x5e3172,_0xc52a83=this['getCollabEntity'](_0x27c5c9);return _0xc52a83?_0x4f62b6(_0xc52a83):this[_0x378010(0x43c)][_0x378010(0x4b6)](_0x3c0a43(_0x5b8be3=>_0x5b8be3[_0x378010(0x4e4)]===_0x27c5c9));}[_0x5e3172(0x1d2)](){const _0x3fca07=_0x5e3172;this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f[_0x3fca07(0x1c2)])[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x134)](async _0x2f0dc2=>{const _0x5e2f53=_0x3fca07,_0x5a654a=_0x2f0dc2['getUnitId'](),_0x4a6a18=await this['_startCollaboration'](_0x5a654a,ae[_0x5e2f53(0x1c2)]);this[_0x5e2f53(0x24f)][_0x5e2f53(0x332)](_0x5a654a,_0x4a6a18);}),this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f['UNIVER_DOC'])['pipe'](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x4b6)](_0x3c0a43(_0x36904e=>!_0x36904e[_0x3fca07(0x12f)]()[_0x3fca07(0x1b9)]('__')))[_0x3fca07(0x134)](async _0x3c71d4=>{const _0x5e22bf=_0x3fca07,_0x34ff8a=_0x3c71d4[_0x5e22bf(0x12f)](),_0x857117=await this[_0x5e22bf(0x413)](_0x34ff8a,ae[_0x5e22bf(0x11d)]);this[_0x5e22bf(0x24f)]['set'](_0x34ff8a,_0x857117);}),_0x143e60(this[_0x3fca07(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET']),this[_0x3fca07(0x153)][_0x3fca07(0x241)](_0xfbb68f[_0x3fca07(0x11d)]))[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]))['subscribe'](_0x135229=>{const _0x2d53fd=_0x3fca07,_0x2b779a=_0x135229['getUnitId'](),_0x557c9d=this[_0x2d53fd(0x24f)][_0x2d53fd(0x307)](_0x2b779a);_0x557c9d&&(_0x557c9d[_0x2d53fd(0x48f)](),this[_0x2d53fd(0x24f)]['delete'](_0x2b779a));});}async[_0x5e3172(0x413)](_0x1912a1,_0x3befed){const _0x5ccaa0=_0x5e3172,_0x3592d6=await this['_collabSessionService'][_0x5ccaa0(0x17e)](_0x1912a1),_0x495b69=this[_0x5ccaa0(0x3b4)][_0x5ccaa0(0x13c)](this[_0x5ccaa0(0x3ae)](_0x3befed),_0x1912a1,_0x3befed,_0x3592d6);return await _0x495b69[_0x5ccaa0(0x433)](),this[_0x5ccaa0(0x43c)][_0x5ccaa0(0x23b)](_0x495b69),_0x495b69;}[_0x5e3172(0x3ae)](_0x2d9a8f){const _0x3b9d93=_0x5e3172;switch(_0x2d9a8f){case ae[_0x3b9d93(0x11d)]:return ls;case ae[_0x3b9d93(0x1c2)]:return _s;default:throw new Error(_0x3b9d93(0x163)+_0x2d9a8f);}}};rt=Ho([zt(0x0,_0x1259a7(_0xa6ca3c)),zt(0x1,_0x1259a7(xe)),zt(0x2,_0x381e7e)],rt);var jo=Object['defineProperty'],Bo=Object[_0x5e3172(0x26f)],ko=(_0x286385,_0x309464,_0x1f9efc,_0x382e7a)=>{const _0x4eec3f=_0x5e3172;for(var _0x322e75=_0x382e7a>0x1?void 0x0:_0x382e7a?Bo(_0x309464,_0x1f9efc):_0x309464,_0x580723=_0x286385[_0x4eec3f(0x2c8)]-0x1,_0x41fea4;_0x580723>=0x0;_0x580723--)(_0x41fea4=_0x286385[_0x580723])&&(_0x322e75=(_0x382e7a?_0x41fea4(_0x309464,_0x1f9efc,_0x322e75):_0x41fea4(_0x322e75))||_0x322e75);return _0x382e7a&&_0x322e75&&jo(_0x309464,_0x1f9efc,_0x322e75),_0x322e75;},ti=(_0x372a37,_0x1ff0c2)=>(_0x3c52cb,_0x55cc09)=>_0x1ff0c2(_0x3c52cb,_0x55cc09,_0x372a37);let Ut=class extends _0x5ce84d{constructor(_0x54f294,_0x928c56){const _0xa55e2d=_0x5e3172;super(),this[_0xa55e2d(0x310)]=_0x54f294,this[_0xa55e2d(0x4c0)]=_0x928c56,this['_init']();}[_0x5e3172(0x1d2)](){const _0x5a0c04=_0x5e3172,_0xf7aa1=this;this[_0x5a0c04(0x2d9)](this['_docClipboardService'][_0x5a0c04(0x4ec)]({'onBeforePasteImage':async _0x184c2f=>{const _0xd014d6=_0x5a0c04,_0x4e2446=await _0xf7aa1[_0xd014d6(0x4c0)][_0xd014d6(0x341)](_0x184c2f);return _0x4e2446?{'source':_0x4e2446[_0xd014d6(0x38f)],'imageSourceType':_0x4e2446[_0xd014d6(0x4dd)]}:null;}}));}};Ut=ko([ti(0x0,_0x51fcd5),ti(0x1,_0x1c8798)],Ut);const si=[_0x5e3172(0x50e),_0x5e3172(0x3b7),_0x5e3172(0x207),_0x5e3172(0x301),_0x5e3172(0x14d),_0x5e3172(0x485)];class Ns extends _0x5f337f{constructor(){const _0x854622=_0x5e3172;super(...arguments),g(this,_0x854622(0x24b),new Map()),g(this,'_colorIndex',0x0);}[_0x5e3172(0x236)](_0x410980){const _0x210598=_0x5e3172;if(this['_assignedColors'][_0x210598(0x3cb)](_0x410980))return this['_assignedColors'][_0x210598(0x307)](_0x410980);const _0x2e063c=si[this[_0x210598(0x2cd)]];return this[_0x210598(0x2cd)]=(this[_0x210598(0x2cd)]+0x1)%si[_0x210598(0x2c8)],this[_0x210598(0x24b)][_0x210598(0x332)](_0x410980,_0x2e063c),_0x2e063c;}}var Wo=Object[_0x5e3172(0x243)],Fo=Object[_0x5e3172(0x26f)],Vo=(_0x5a36cf,_0x2b613e,_0x36706d,_0x4aec6b)=>{for(var _0x17be08=_0x4aec6b>0x1?void 0x0:_0x4aec6b?Fo(_0x2b613e,_0x36706d):_0x2b613e,_0x8f18=_0x5a36cf['length']-0x1,_0x26c6f5;_0x8f18>=0x0;_0x8f18--)(_0x26c6f5=_0x5a36cf[_0x8f18])&&(_0x17be08=(_0x4aec6b?_0x26c6f5(_0x2b613e,_0x36706d,_0x17be08):_0x26c6f5(_0x17be08))||_0x17be08);return _0x4aec6b&&_0x17be08&&Wo(_0x2b613e,_0x36706d,_0x17be08),_0x17be08;},we=(_0x183b09,_0x4d98cf)=>(_0x4fd1d2,_0x5918bc)=>_0x4d98cf(_0x4fd1d2,_0x5918bc,_0x183b09);const Go=0x12c,Yo=0x64;function _0x1abc(){const _0x37c301=['localeService','/resources','USERS_ENTER','_retryConnectingTimer','with','objectActions','_state','getUniverSheetInstance','unknown','abs','_clearScheduledTask','has','exhaustSavingTask','cursorInfo','fromCollab','_initEventListeners','\x0aAfter:\x20','infoRsp','liveShareNewHost','deepClone','INTERNAL_ERROR','_scheduleCollaborationTimeoutTimer','_getSessionTicket','_updateCollabCursors','getCurrentUser','_getDownloadEndpointURL','_createSocketURL','clear','42GjrGJr','_docStateChangeManagerService','ERROR_IMAGE','reset','send','_saveTaskMap','FETCH_MISS','409512bHxOjn','_shapes','state','session.join-failed','setStateCache','snapshotServerUrl','PERMISSION_REJ','_prevBlock','_scene','NO_OTHER_CLIENTS_EDITING','_sendingTimer','_transformHistoryAndStateStack','syncEditingCollabCursor','_compressMutationService','memberID','_instanceService','/universer-api/authz','UNAUTHENTICATED','_anchor','_collabCursorController','round','/collaborator','isPermissionRej','ALREADY_EXISTS','176992rPxOra','getCollabCursors$','changesets','_acknowledgedAwaitingChangeset','565gJvyLl','3028566UawZPo','_onFetchMissResult','_session','splice','_sheetTransformSelectionsService','socketService','_localStorageService','getUnitOnRev','onTransformIME','_changesetReqId','FromArray','_getSheetObject','subUnitId','encryptBlock','bind','[DataLoaderController]','COMPRESS_MUTATION_APPLY','MSG_FOR_ERROR','text','_startCollaboration','_userManagerService','_eventUnsubscribe','[OfflineState]:\x20received\x20rejection.','incrementRevOfUnit','unitId\x20is\x20not\x20found','_backgroundColor','fetchMissingChangesets','_nDataBytes','_collaborationSessionService','_snapshotServerService','_labelPosition','complete','HEARTBEAT','ceil','updateOfflineData','CONFLICT','onPointerMove$','_document','&to=','_rescheduleHeartbeat','saveOfflineData','string','LICENSE_DISTRO_REJECTED','doc.mutation.rich-text-editing','_updateSubUnitFromURLParams','PENDING','OTHER_CLIENTS_EDITING','sheetId','resend','setParam','_initMergeInterceptor','init','charAt','_render','params','_socket','/universer-api/snapshot/','UnitSnapshot','[CollaborationEntity]','univer-online-status-title','_entityInit$','awaiting','getWorkbookSelections','_schedule','_transformPreviousActiveRange','_removeRoom','_resendWithTimeout','getUnitType','/universer-api/comb','_sendHeartbeat','HttpImport','encrypt','toggleOffline','_snapshotService','getRoom','_getSendChangesetTimeout','collab-client.tooltip.reconnect','endRow','readInt32LE','undoState','permission.title','eventID','unitId','csShouldRetryEvent','HmacMD5','_clearRedo','_removeClearOtherTimer','SNAPSHOT_URL_KEY','title','resize','_onUserLeave','_getUploadFileURL','saveSnapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','fetch_missing','setConfig','onTransformRemoteChangesetByIMECache','format','clearInterval','collaboration.single-unit.warning','_handleJoinEvent','_id','top','isArray','slice','liveShareOperation','_clearUndo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','_onRemoteRetry','collaborators','cfg','defs','randomBytes','collaboration_new_changeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','_setupSubUnitSync','APPLY_REJECT','collabStatus.fetchMiss','MD5','ReactCurrentOwner','roomMembers$','univer-online','replaceState','loadOfflineData','delete','deleteCollaborator','msCrypto','listRoles','/universer-api/stream/file/upload','gold400','flatMap','[CollaborationSession]','_getRedoStack','_scheduleClearOtherTimer','_localeService','reconnect','compute','transformStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','ACTIVE_UNIT_EVENT_CHANNEL','reverse','collabStatus.offline','_cipher','_roomMembers$','textRanges','Unknown\x20user','collaboration-client.config','getResourcesRequest','kdf','all','_registerRenderDependencies','addObject','_onConflict','from','path','_ws','message$','connection\x20error','_onLocalMutation','_checkMissing','stopTime','transformMutationsWithChangeset','session','Base64','cursorInfo$','onPointerEnter$','#fff','x-univer-host','signUrlServerUrl','_initUnitPermissionChange','image/jpg','_registerDependencies','&assign=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','_themeService','collaboration.closeRoom','pipe','show','314946bmxxcJ','concat','_transformStack','clamp','LIVESHARE_NEW_HOST','_remoteChangesetQueue','_getSaveTimeout','getSheetBlock','_imageIoService','_isPermissionRej','_collaborationPaused','bottom','_getScale','_onRemoteACK','_anchorDot','{fileID}','_startDocCollabCursor','onPointerLeave$','session.will-retry','DeleteRangeMoveLeftCommandId','_lockTransition','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket\x20close','on-line-single','unshift','_initStatusComponent','_singleActiveUnitService','roomInfos','_context','fromCharCode','update','OFFLINE','hasOwnProperty','1em','_sender','_initStatusListener','onTransformRemoteChangesetByStateCache','imageSourceType','_updateLocalCursor','m1Prime','SNAPSHOT_INVALID_SNAPSHOT','members','location','COMPLETION_FINISHED','unitID','attrs','_range','/universer-api/oidc/authpage','prototype','TEXT','responseType','getCollabEntity','addClipboardHook','leaveEvent','_renderManagerService','onMissingChangesets','_clearHeartbeatTimer','fillStyle','propertyIsEnumerable','_urlService','_updateStatus','getStateCache','_resendTimeout','trim','PERMISSION_DENIED','conflict.title','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20received\x20acknowledgement.','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','fillText','_transformService','call','avatar','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','allowed','div','clone','_unitID','updateMember','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEW_MAIN','_sessionStatus$','permission.content','_collaborationController','purple300','stringify','_selfUnitIDs','dispose$','hostname','HEARTBEAT_INTERVAL','UPDATE_CURSOR','snapshot','Fragment','backgroundColor','getParam','\x20in\x20_schedule.','iterations','_keyPriorReset','JOINING','BASE64','_hash','_colorAssignService','searchParams','error$','addEventListener','_setupBeforeClosingHandler','decrypt','activeSheet$','ivSize','unsubscribe','algo','image/gif','UniverIcon','People','_queuedRemoteChangesets','_logService','_startSheetCollabCursor','status$','transformChangesets','Univer','updatePermissionObjEvent','selection','hovered','_httpService','_awaitingChangeset','_commentUpdate$','_onRemoteRejected','_doCryptBlock','USERS_LEAVE','interceptor','createSocket','HEADER_MENU','salt','_key','substr','getMember','_exhaustRemoteChangesetQueue','_clearLocalCache','_commentService','engine','offline','reqId','UNIVER_DOC','ref','sigBytes','pluginName','name','_nRounds','fill','transformStack\x20failed!','synced','downloadEndpointUrl','LOCAL_CACHE_INTERVAL','number','toString','putCollaborators','_scheduleHeartbeat','sid','_sendHeartbeatTimer','JOIN_ROOM_NOT_EXISTS','getUnitId','src','method','/object/','save\x20fail\x20reason\x20is\x20','subscribe','Error','_undoStacks','SHOULD_CLOSE_CONN','LICENSE_IMPORT_SIZE_EXCEEDED','_joinRoom','collabStatus.synced','onlyLocal','createInstance','/unit/','_getAnchorBounding','authzUrl','roles','univer-pro.collaboration-client-socket-service','updateCursorEvent','transformUndoRedo','appendMutation','_listenToOfflineEvent','onlineStatusTitle','_send','_transformIMECache','_notificationService','__creator','subscribeEvent','getRangePointData','blue400','session.room-full','_substituteRedoStack','csAckEvent','AUTHZ_URL_KEY','_reverseMap','_univerInstanceService','setItem','CHANGESET_SHOULD_RETRY','_onMessage','LIVESHARE_REQUEST_HOST','_state$','\x0aCurrent:\x20','_event$','getValue','onRemoteAck','_members','then','add','HttpExport','font','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','JOIN_ROOM_FULL','url','_loadDoc','whenReady','range','list','history','_memberService','UnitEmbedded','debug','_onCursorUpdate','entries','withCredentials','SNAPSHOT_HAS_BEEN_REMOVED','buffer','35hllUkw','_socketMessageSubscription','UNRECOGNIZED','Hasher','close','_stopTelemetryCollaborationNewChangeset','10abUhRi','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','application/json','getCurrent','translate(.97)','requireSession','_sessions','getViewport','INVALID_ARGUMENT','COLLAB_WEB_SOCKET_URL','_type','batchAllowed','hidden','getConfig','_candidateSocket','Utf8','sessionStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Warning','sessionStatus$','socket\x20open.','xlink:href','generateRandomId','enableLocalCache','newValue','_initDependencies','_drawTextRange','startTime','_undoRedoService','registerOnClose','DEFAULT_FILE_NAME','collaboration-session-retry','_pendingMutations','_onCursorDelete','getAllMembers','SEND_CHANGESET_TIMEOUT','getSheetBySheetId','onTransformChange$','[CollaborationUndoRedoService]','_createInitialState','ERROR_EXCEED_SIZE','capture','copyFileMeta','_lastPointer','conflict','hasher','toggleOnline','result','_minBufferSize','NOT_COLLAB','_onRemoteChangeset','JOIN','YUUMI_RATE_OVER_LIMIT','svg','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','mutations','NoPadding','_scheduleSaving','_onConnectionFailed','replace','_tryEnsureSocket','COLLAB_SUBMIT_CHANGESET_URL','startsWith','getTypeOfUnitAdded$','_cursor','tag','replaceDocRanges','_doFinalize','onTransformSelections','pending','_replaceFileID','UNIVER_SHEET','_config','[CollaborationSessionService]','words','_waitCount','registerComponent','sheetID','Could\x20not\x20dynamically\x20require\x20\x22','onSyncEditingCollabCursor','off-line-single','toLowerCase','FAIL','AWAITING_WITH_PENDING','repeat','code','&source=','_init','[FetchMissState]','_socketReady','makeDirty','_status$','_socket$','transformIMECache','?size=','InsertColCommandId','roomMembers','_refRangeService','jsxs','_cursors','LEAVE','OnLineSingle','Decryptor','onCommandExecuted','lineTo','getUndoRedoMutationParamsCache','lib','focused$','c1Prime','getCurrentUnitForType','enableAuthServer','collab-text-range-','session.room-permission-denied','indexOf','idSuffix','_messageService','_redoStacks','YUUMI_UNABLE_LOAD_URL','collabCursorState$','width','APPLY_DUPLICATED','encodeURIComponent','_ENC_XFORM_MODE','_heartbeatTimer','_initCommandExecutedListener','toRgbString','_getAPIPrefixPath','urlChange$','_textBubble','_createHmacHelper','clearTimeout','filter','getInterceptPoints','_collabCursorState$','/universer-api/user/session-ticket','change$','editingUnit','workbook','_invKeySchedule','transformByState','verdancy600','1855635wGadEY','/block/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','uni.network.url-service','/-/object/-/batch_allowed','type','_getCurrentRevision','m2Prime','commentUpdate$','[PendingState]:\x20received\x20rejection.','apply','put','baseRev','assign','_unitStatus','selections','black','getCellPositionByOffset','values','collaMsg','reject','onload','floor','padding','SHA1','_iKey','_roomMembers','execute','off-line-single_clip0_910_343','requestParams','row','awaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_unlockTransition','popstate','univer-pro.collaboration-client.single-active-unit-service','AWAITING','_collabSessionService','origin','NOT_FOUND','_color','_handler','hide','_getAPIPrefix','_telemetryService','_toggleOnline','assignAColorForMemberID','/object','_telemetryInfo','setActiveRange','confirm','next','INGEST','icon','_transformUndoredo','collabSubmitChangesetUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getTypeOfUnitDisposed$','_online','defineProperty','finalize','_append','_onCombEvent','_cachedData','_removeCollabCursors','DeleteRangeMoveUpCommandId','_scheduleTimestamp','_assignedColors','registerHTTPInterceptor','WordArray','mixIn','_entities','LIVESHARE_TERMINATE','LIVESHARE_FETCH_OPERATIONS','UNDEFINED','objects','labelPosition','_doReset','now','getOffsetConfig','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','getVpScrollXYInfoByPosToVp','onMissedChangesetFetched','session.room-not-exists','_clearOtherTimers','__esModule','getAncestorScale','headers','image/bmp','MoveRangeCommandId','onCommentUpdate','findNodePositionByCharIndex','patch','executeCommand','JOIN_ROOM_PERMISSION_DENIED','processBlock','compose','min','onSendChangeset','originalMeta','_docTransformSelectionsService','90PgBedm','getOwnPropertyDescriptor','_configService','SerializableCipher','_resendTimer','setTimeout','onReady','_onRecvEvent','url(#$1','subject','UPDATE_PERMISSION_OBJ','univer-offline','SUBMIT_CHANGESET','getFocusedUnit','_updateURLWithCurrentState','disableLocalCache','getImageSourceCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','clipPath','loadSheet','defIds','[PendingState]:\x20unhandled\x20univer\x20type:\x20','pushState','_parse','getMergeData','setCurrentUser','data','for','isEditing','_imageSourceCache','react.element','_onUserJoin','override','getImage','duration','_transformRemoteChangesetByIMECache','POST','ranges','getActiveRange','error','colorChannel1','FileId','/universer-api/file/{fileID}/sign-url','updatePermissionPoint','SYNCED','sheets','getSheetId','_transformStateCache','image/jpeg','_transformRemoteChangesetByStateCache','RemoveColCommandId','max','_saveCache','_executeRemoteChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','post','startColumn','_unitOnClients','drawWith','COMMENT_UPDATE','_initRequestHeader','onTransformState','_collaborationTimeoutTimer','file','_docTransformStateCacheService','setAlpha','blockSize','loadDoc','_updateState','_socketService','map','_createHelper','_beforeCloseService','formatter','jsx','ERROR_IMAGE_TYPE','_onConnectionOpen','mode','includes','_toggleOffline','saveSheetBlock','unit-cache-','_hideTimer','extend','initWorkbookPermissionChange','Cipher','_xformMode','_name','event$','measureText','length','restore','/rev/','permissionRejEvent','contains','_colorIndex','_clearCollaborationTimeoutTimer','_getMergeRange','CipherParams','OpenSSL','encode','_waitForHeartbeatResponse','not_collab','_change$','getSnapshotAPIPath','_oKey','joinRsp','disposeWithMe','body','getRandomValues','transform','collabWebSocketUrl','COMPRESS_MUTATION_SEND','create','getDeserializedSheetBlock','onStateChange','ONLINE','setShapeProps','objectType','CHANGESET_ACK','getLatestCsReqIdBySid','_docTransformIMECacheService','_listenToOnlineEvent','getSkeleton','Encryptor','_cursorInfo$','currentSkeleton$','revision','_handleHeartbeatEvent','substring','_transformUndoRedoStack','_clearTimeoutTimer','decryptBlock','userID','CHANGESET_REJ','_decreaseWaiting','_syncEditingCollabCursorService','_retryCount','?url=','/allowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REVISION_CONFILICT','awaiting_with_pending','_revisionService','_handleEvent','[UniverCollaborationClientPlugin]','_substituteUndoStack','red300','enc','save','join','redoState','asObservable','get','function','setShowComponents','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','LIVESHARE_OPERATION','getCurrentRevOfUnit','endColumn','registerRefRange','$super','_docClipboardService','_timeoutTimer','registerRenderModule','currentColor','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_ensureSubject','_handleLeaveEvent','Undefined','routeKey','retryConnectingInterval','_onOffline','RECV','_disabled','displayName','collab-rect-range-','_HTTPService','Latin1','_handleHover','_tryReconnect','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCache','randomUUID','charCodeAt','_commandService','getActiveSheet','_hasher','_localCacheService','collabStatus.syncing','createDecryptor','_draw','UNIVER_SLIDE','parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NEW_CHANGESETS','set','storage','_doProcessBlock','onMouseMove','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','sin','_createInitialStateImpl','height','catch','docStateChange$','EvpKDF','HELLO','saveChangeset','getRenderById','saveImage','_cursorShapes','[OfflineState]:\x20received\x20acknowledgement.','subunit','MUTATION','defaultProps','_refreshCollabCursors','_createSocket','children','onRemoteChangeset','UNKNOWN_CODE','random','_getSignURL','_data','_changesetSessionId','action','LICENSE_EXPORT_SIZE_EXCEEDED','IDLE','RECT','reduce','_fetchMissChangesets','forEach','transformMutation','none','getItem','_iv','_getLoginPath','LICENSE_MAX_UNITS_EXCEEDED','M0\x200H16V16H0z','_createHandler','cmd','HMAC','byteOffset','RETRY_CONNECTING_MAX_COUNT','current','_loadSheet','currentTheme$','_permissionService','_shouldReportTelemetry','Base','color','key','onRemoteRetry','CHANGESET_REVISION_CONFILICT','symbol','_sheetSkeletonManagerService','arc','_process','rgba(255,\x20255,\x20255,\x200.01)','_uiPartsService','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','byteLength','setUndoRedoMutationParamsCache','_hover','onRendered','_map','onStarting','CBC','failed\x20to\x20apply\x20missed\x20changesets!','fetchThroughInterceptors','removeMember','_applyRemoteChangeset','objectID','univer-online-status-icon','setWaitCount','2759669bthLCG','transformSelections','crypto','SUCCUSS','getDocRanges','_onRefRangeChange','__Key__','status','fetchMiss','href','push','source','_initResize','BlockCipher','on-line-single_clip0_910_349','_submitChangeset','enableSingleActiveInstanceLock','getUnitStatus$','_hovered','unpad','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getMemberID','_syncEditingCollabCursor','actions','c2Prime','UNKNOWN_CMD','getCurrentSelections','InsertRangeMoveDownCommandId','auth.needGotoLoginAlert','default','transformRemoteChangeset','getTime','column','ciphertext','UUID','AES','updateCollaborator','Error\x20on\x20receiving\x20event','size','APPLY_PERMISSION_DENIED','_incrementRevisionNumber','isActive','_getCtorByUniverType','disposeUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','keySize','session.connection-failed','onRemoteRej','_injector','every','...','jiqing500','close$','_keySchedule','resolve','createEncryptor','getUnhiddenWorksheets','pad','_DEC_XFORM_MODE','_getUndoStack'];_0x1abc=function(){return _0x37c301;};return _0x1abc();}let us=class extends _0x5ce84d{constructor(_0x49b451,_0x20c029,_0x13e481,_0x24484b,_0x3abe8b,_0x353ef7,_0xce2db8,_0x326f41,_0x62801e){const _0x47014b=_0x5e3172;super(),g(this,_0x47014b(0x242),!0x1),g(this,_0x47014b(0x1d2),!0x1),g(this,_0x47014b(0x2eb),new _0xd0d94b(new Map())),g(this,_0x47014b(0x4a9),this[_0x47014b(0x2eb)]['asObservable']()),g(this,_0x47014b(0x494),new _0xd0d94b([])),g(this,_0x47014b(0x47c),this[_0x47014b(0x494)][_0x47014b(0x4b6)](_0x5fe042(Go))),g(this,'_updateLocalCursor',_0x38f51c(_0x417b92=>{const _0x40cd7e=_0x47014b,_0x5b75c7={'eventID':_0x385814[_0x40cd7e(0x514)],'data':{'unitID':this[_0x40cd7e(0x4e4)],'memberID':this[_0x40cd7e(0x402)][_0x40cd7e(0x399)](),'selection':qi(_0x417b92)}};this[_0x40cd7e(0x402)]['send'](_0x5b75c7,this['unitID']);},Yo)),(this[_0x47014b(0x4e4)]=_0x49b451,this['_session']=_0x20c029,this[_0x47014b(0x3b4)]=_0x13e481,this['_colorAssignService']=_0x24484b,this['_memberService']=_0x3abe8b,this[_0x47014b(0x2f6)]=_0x353ef7,this['_transformService']=_0xce2db8,this[_0x47014b(0x153)]=_0x326f41,this['_commandService']=_0x62801e);}get[_0x5e3172(0x3cd)](){const _0x3302b4=_0x5e3172;return this[_0x3302b4(0x2eb)][_0x3302b4(0x15b)]();}get['roomMembers'](){const _0xa615b8=_0x5e3172;return this['_roomMembers$'][_0xa615b8(0x15b)]();}[_0x5e3172(0x48f)](){const _0x566f45=_0x5e3172;super['dispose'](),this[_0x566f45(0x2eb)][_0x566f45(0x23b)](new Map()),this['_cursorInfo$'][_0x566f45(0x41f)](),this[_0x566f45(0x494)][_0x566f45(0x23b)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2b6b3a=_0x5e3172;this[_0x2b6b3a(0x1d2)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x494f43=>{const _0x56065c=_0x2b6b3a;_0x494f43===fe[_0x56065c(0x2e2)]?this[_0x56065c(0x235)]():this[_0x56065c(0x2bd)]();}),this[_0x2b6b3a(0x402)]['event$']['pipe'](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x510473=>{const _0x42b0a3=_0x2b6b3a,_0x2e0e55=_0x510473['eventID'];_0x2e0e55===_0x385814[_0x42b0a3(0x514)]&&this['_onCursorUpdate'](_0x510473),_0x2e0e55===_0x385814[_0x42b0a3(0x10f)]&&this['_onCursorDelete'](_0x510473);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)][_0x2b6b3a(0x1e2)](_0x5aac62=>{const _0x595bd0=_0x2b6b3a,_0x355d63=_0x5aac62['params'];_0x355d63!=null&&this['_online']&&_0x5aac62['id']===_0x6a5ee2['id']&&_0x355d63[_0x595bd0(0x452)]===this['unitID']&&_0x355d63[_0x595bd0(0x28a)]===!0x1&&_0x355d63['ranges'][_0x595bd0(0x2c8)]>0x0&&this[_0x595bd0(0x4de)](_0x355d63[_0x595bd0(0x293)]);})),this[_0x2b6b3a(0x2f6)][_0x2b6b3a(0x1f1)][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x79e971=>{const _0x53ee24=_0x2b6b3a;if((_0x79e971==null?void 0x0:_0x79e971[_0x53ee24(0x4e4)])!==this['unitID'])return;const _0x10fab0={'eventID':_0x385814[_0x53ee24(0x514)],'data':_0x79e971};this[_0x53ee24(0x16e)](_0x10fab0);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)]['onCommandExecuted'](_0x18528e=>{const _0x1925dc=_0x2b6b3a;if(_0x18528e['params']==null)return;const _0x55f5af=_0x18528e[_0x1925dc(0x436)];if(_0x18528e['id']!==_0x48d9a2['id']||_0x55f5af['unitId']!==this[_0x1925dc(0x4e4)])return;const _0x3a75dc={'id':_0x1925dc(0x42b),'params':_0x55f5af},_0x25e5e6=this[_0x1925dc(0x3cd)];for(const [_0x24848e,_0x42d6d2]of _0x25e5e6){const _0x119a18={'id':_0x1925dc(0x42b),'params':{'unitId':this[_0x1925dc(0x4e4)],'actions':null,'textRanges':_0x42d6d2[_0x1925dc(0x293)]}},_0x382ed8=this['_transformService']['transformMutation'](_0x3a75dc,_0x119a18,!0x1);if(_0x29729a(_0x382ed8))throw _0x382ed8[_0x1925dc(0x295)];_0x25e5e6['set'](_0x24848e,{..._0x42d6d2,'ranges':_0x382ed8[_0x1925dc(0x20f)]['params'][_0x1925dc(0x495)]});}queueMicrotask(()=>{const _0x5b5b3d=_0x1925dc;this[_0x5b5b3d(0x2eb)][_0x5b5b3d(0x23b)](_0x25e5e6);});})));}[_0x5e3172(0x16e)](_0x2909f1){const _0xa5ac4b=_0x5e3172;var _0x488731,_0xc28643;const {memberID:_0xffd79e,selection:_0x245742}=_0x2909f1[_0xa5ac4b(0x288)],_0x2c7a2c=Ro(_0x245742),_0x133a99=(_0xc28643=(_0x488731=this[_0xa5ac4b(0x16b)][_0xa5ac4b(0x116)](this[_0xa5ac4b(0x4e4)],_0xffd79e))==null?void 0x0:_0x488731[_0xa5ac4b(0x121)])!=null?_0xc28643:'Unknown\x20user',_0x1748b9={'color':this[_0xa5ac4b(0x51f)][_0xa5ac4b(0x236)](_0xffd79e),'name':_0x133a99,'ranges':_0x2c7a2c},_0x3f69cb=this['cursorInfo'];_0x3f69cb[_0xa5ac4b(0x332)](_0xffd79e,_0x1748b9),this[_0xa5ac4b(0x2eb)][_0xa5ac4b(0x23b)](_0x3f69cb);}[_0x5e3172(0x19a)](_0x4eade6){const _0x29a245=_0x5e3172,{memberID:_0x257139}=_0x4eade6[_0x29a245(0x288)],_0x2e3c7d=this['cursorInfo'];_0x2e3c7d[_0x29a245(0x480)](_0x257139),this[_0x29a245(0x2eb)][_0x29a245(0x23b)](_0x2e3c7d);}['_toggleOnline'](){const _0xef40c4=_0x5e3172;var _0x5e42f9;if(this[_0xef40c4(0x242)]=!0x0,((_0x5e42f9=this[_0xef40c4(0x153)][_0xef40c4(0x27b)]())==null?void 0x0:_0x5e42f9[_0xef40c4(0x12f)]())!==this[_0xef40c4(0x4e4)])return;const _0x63ebad=this[_0xef40c4(0x3b4)][_0xef40c4(0x307)](_0x195c19)[_0xef40c4(0x388)]();Array[_0xef40c4(0x468)](_0x63ebad)&&_0x63ebad[_0xef40c4(0x2c8)]>0x0&&this['_updateLocalCursor'](_0x63ebad);}[_0x5e3172(0x2bd)](){const _0x17dbf0=_0x5e3172;this[_0x17dbf0(0x242)]=!0x1;}};us=Vo([we(0x2,_0x1259a7(_0xa6ca3c)),we(0x3,_0x1259a7(Ns)),we(0x4,_0x1259a7(Me)),we(0x5,_0x1259a7(Ds)),we(0x6,_0x2a04be),we(0x7,_0x381e7e),we(0x8,_0x58c2c0)],us);var Ko=Object[_0x5e3172(0x243)],qo=Object[_0x5e3172(0x26f)],zo=(_0x82a76e,_0x53e084,_0x22dfb7,_0x13e800)=>{for(var _0x46b0ff=_0x13e800>0x1?void 0x0:_0x13e800?qo(_0x53e084,_0x22dfb7):_0x53e084,_0x192816=_0x82a76e['length']-0x1,_0x1de4e1;_0x192816>=0x0;_0x192816--)(_0x1de4e1=_0x82a76e[_0x192816])&&(_0x46b0ff=(_0x13e800?_0x1de4e1(_0x53e084,_0x22dfb7,_0x46b0ff):_0x1de4e1(_0x46b0ff))||_0x46b0ff);return _0x13e800&&_0x46b0ff&&Ko(_0x53e084,_0x22dfb7,_0x46b0ff),_0x46b0ff;},Be=(_0x310d51,_0x5e5da3)=>(_0x156c74,_0x1c4db4)=>_0x5e5da3(_0x156c74,_0x1c4db4,_0x310d51);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x25d1e8=[],_0x30587b=!0x1;return _0x46737f=>{const _0x20eb83=_0x1eb2;_0x25d1e8[_0x20eb83(0x38e)](_0x46737f),_0x30587b||(_0x30587b=!0x0,setTimeout(()=>{const _0x182d43=_0x20eb83;_0x25d1e8[_0x182d43(0x356)](_0xdcbac0=>_0xdcbac0()),_0x25d1e8=[],_0x30587b=!0x1;}));};};let ds=class extends _0x5ce84d{constructor(_0x48bb0e,_0x5e7337,_0x43ac2c,_0x4ef9af,_0x489fd1,_0x122df5,_0x4dd799,_0x5f380d){const _0x59ec9a=_0x5e3172;super(),g(this,_0x59ec9a(0x242),!0x1),g(this,_0x59ec9a(0x1d2),!0x1),g(this,_0x59ec9a(0x2eb),new _0xd0d94b(new Map())),g(this,_0x59ec9a(0x4a9),this[_0x59ec9a(0x2eb)][_0x59ec9a(0x306)]()),g(this,'_roomMembers$',new _0xd0d94b([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5fe042(Xo))),g(this,_0x59ec9a(0x4de),_0x38f51c((_0xfadf30,_0x2f6f5e)=>{const _0x561c7e=_0x59ec9a,_0x2e4955={'eventID':_0x385814[_0x561c7e(0x514)],'data':{'unitID':this[_0x561c7e(0x4e4)],'memberID':this[_0x561c7e(0x402)][_0x561c7e(0x399)](),'selection':_0x51efb3(_0xfadf30,_0x2f6f5e['range'])}};this[_0x561c7e(0x402)][_0x561c7e(0x3e0)](_0x2e4955,this[_0x561c7e(0x4e4)]);},Jo)),(this['unitID']=_0x48bb0e,this[_0x59ec9a(0x402)]=_0x5e7337,this[_0x59ec9a(0x3b4)]=_0x43ac2c,this[_0x59ec9a(0x51f)]=_0x4ef9af,this['_memberService']=_0x489fd1,this['_univerInstanceService']=_0x122df5,this['_commandService']=_0x4dd799,this[_0x59ec9a(0x1dc)]=_0x5f380d);}get[_0x5e3172(0x3cd)](){const _0x5e34db=_0x5e3172;return this['_cursorInfo$'][_0x5e34db(0x15b)]();}get[_0x5e3172(0x1db)](){const _0x2edb56=_0x5e3172;return this[_0x2edb56(0x494)][_0x2edb56(0x15b)]();}[_0x5e3172(0x48f)](){const _0x21e05f=_0x5e3172;super[_0x21e05f(0x48f)](),this[_0x21e05f(0x2eb)]['next'](new Map()),this[_0x21e05f(0x2eb)][_0x21e05f(0x41f)](),this[_0x21e05f(0x494)][_0x21e05f(0x23b)]([]),this[_0x21e05f(0x494)][_0x21e05f(0x41f)]();}['init'](){const _0x35d08=_0x5e3172;this['_init']||(this[_0x35d08(0x1d2)]=!0x0,this[_0x35d08(0x402)][_0x35d08(0x18c)]['pipe'](_0x34041a(this[_0x35d08(0x511)]))[_0x35d08(0x134)](_0x2bddca=>{const _0x4b1603=_0x35d08;_0x2bddca===fe[_0x4b1603(0x2e2)]?this[_0x4b1603(0x235)]():this[_0x4b1603(0x2bd)]();}),this[_0x35d08(0x402)]['event$'][_0x35d08(0x4b6)](_0x34041a(this[_0x35d08(0x511)]))['subscribe'](_0x664acc=>{const _0x4a0075=_0x35d08,_0x3e094d=_0x664acc['eventID'];_0x3e094d===_0x385814[_0x4a0075(0x514)]&&this[_0x4a0075(0x16e)](_0x664acc),_0x3e094d===_0x385814[_0x4a0075(0x10f)]&&this[_0x4a0075(0x19a)](_0x664acc);}),this[_0x35d08(0x389)](),this[_0x35d08(0x2d9)](this['_commandService'][_0x35d08(0x1e2)](_0x29133b=>{const _0x30ddc3=_0x35d08;if(this[_0x30ddc3(0x242)]&&_0x29133b['id']===_0x3f708e['id']&&_0x29133b[_0x30ddc3(0x436)][_0x30ddc3(0x452)]===this['unitID']){const _0x5ab8f6=_0x29133b[_0x30ddc3(0x436)];this['_updateLocalCursor'](_0x5ab8f6[_0x30ddc3(0x40c)],_0x5ab8f6[_0x30ddc3(0x217)][0x0]);}})));}['_onCursorUpdate'](_0x43e68b){const _0x2dffc2=_0x5e3172;var _0x4b1683,_0x304a38;const {memberID:_0x48ad7c,selection:_0x3153a3}=_0x43e68b[_0x2dffc2(0x288)],{sheetName:_0x4b4f8e,range:_0x4f016c}=_0x987e76(_0x3153a3),_0x292ffa={'name':(_0x304a38=(_0x4b1683=this[_0x2dffc2(0x16b)]['getMember'](this[_0x2dffc2(0x4e4)],_0x48ad7c))==null?void 0x0:_0x4b1683[_0x2dffc2(0x121)])!=null?_0x304a38:_0x2dffc2(0x496),'range':this[_0x2dffc2(0x2cf)](_0x4b4f8e,_0x4f016c),'sheetID':_0x4b4f8e,'color':this['_colorAssignService'][_0x2dffc2(0x236)](_0x48ad7c),'selection':_0x3153a3},_0x1066c2=this[_0x2dffc2(0x3cd)];_0x1066c2['set'](_0x48ad7c,_0x292ffa),this[_0x2dffc2(0x2eb)][_0x2dffc2(0x23b)](_0x1066c2);}['_onCursorDelete'](_0xa4b712){const _0x58a384=_0x5e3172,{memberID:_0x52cfac}=_0xa4b712['data'],_0x311598=this[_0x58a384(0x3cd)];_0x311598[_0x58a384(0x480)](_0x52cfac),this[_0x58a384(0x2eb)][_0x58a384(0x23b)](_0x311598);}['_getMergeRange'](_0x1f7217,_0x8c5908){const _0x1608a3=_0x5e3172;var _0x2d5ca2,_0x4437c7;const _0x561ef6=(_0x4437c7=(_0x2d5ca2=this[_0x1608a3(0x153)][_0x1608a3(0x3c7)](this[_0x1608a3(0x4e4)]))==null?void 0x0:_0x2d5ca2[_0x1608a3(0x19d)](_0x1f7217))==null?void 0x0:_0x4437c7[_0x1608a3(0x286)]();return(_0x561ef6==null?void 0x0:_0x561ef6['find'](_0x564b8e=>_0x50302c[_0x1608a3(0x2cc)](_0x564b8e,_0x8c5908)))||_0x8c5908;}['_onRefRangeChange'](){const _0x223675=_0x5e3172,_0x5b1765=new _0x1f64b1(),_0x4c7d90=Zo(),_0x3d3b02=()=>{const _0x3ca8cd=_0x1eb2;_0x5b1765[_0x3ca8cd(0x48f)]();const _0x420c21=(_0x7ffb41,_0x25adeb,_0x102998,_0x55f847)=>{const _0x5308a3=_0x3ca8cd;let _0x4373b5=[];switch(_0x7ffb41['id']){case _0x1d34c9[_0x5308a3(0x4cb)]:{_0x4373b5=_0xa5d192(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x249)]:{_0x4373b5=_0x34bf8e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x1da)]:{_0x4373b5=_0x4f5a43(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x39f)]:{_0x4373b5=_0x28267d(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRangeMoveRightCommandId']:{_0x4373b5=_0x10303e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRowCommandId']:{_0x4373b5=_0x57fbd7(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x262)]:{_0x4373b5=_0x16c781(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x2a0)]:{_0x4373b5=_0x2f48a3(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['RemoveRowCommandId']:{_0x4373b5=_0x45470d(_0x7ffb41,_0x55f847);break;}}const _0x160357=_0x212980(_0x4373b5,_0x55f847),_0x4ed618=this[_0x5308a3(0x3cd)][_0x5308a3(0x307)](_0x25adeb);if(_0x4ed618&&_0x160357){const _0x29ab23={..._0x4ed618,'range':_0x160357};this[_0x5308a3(0x3cd)][_0x5308a3(0x332)](_0x25adeb,_0x29ab23),_0x4c7d90(()=>{const _0x5db3b8=_0x5308a3,_0x289eea=this[_0x5db3b8(0x1dc)][_0x5db3b8(0x30e)](_0x160357,_0x1325dc=>(_0x289eea[_0x5db3b8(0x48f)](),_0x420c21(_0x1325dc,_0x25adeb,_0x102998,_0x160357)));_0x5b1765[_0x5db3b8(0x15f)](_0x289eea);});}return{'redos':[],'undos':[]};};this[_0x3ca8cd(0x3cd)]['forEach']((_0x2d7ed0,_0x446cb2)=>{const _0x102166=_0x3ca8cd,{range:_0x13b209,sheetID:_0x753b7e}=_0x2d7ed0,_0x1ad8ba=this['_refRangeService']['registerRefRange'](_0x13b209,_0x21fc60=>(_0x1ad8ba[_0x102166(0x48f)](),_0x420c21(_0x21fc60,_0x446cb2,_0x753b7e,_0x13b209)));_0x5b1765['add'](_0x1ad8ba);});};this[_0x223675(0x2d9)](_0x38e5fb(this[_0x223675(0x2eb)][_0x223675(0x134)](()=>{_0x3d3b02();})));}['_toggleOnline'](){const _0x15bbb6=_0x5e3172;var _0x2e432f,_0x249c89;if(this[_0x15bbb6(0x242)]=!0x0,((_0x2e432f=this[_0x15bbb6(0x153)][_0x15bbb6(0x27b)]())==null?void 0x0:_0x2e432f[_0x15bbb6(0x12f)]())!==this[_0x15bbb6(0x4e4)])return;const _0x109523=(_0x249c89=this[_0x15bbb6(0x3b4)]['get'](_0x10dd54)[_0x15bbb6(0x39e)]())==null?void 0x0:_0x249c89[0x0],_0x434f30=this[_0x15bbb6(0x153)][_0x15bbb6(0x1e8)](_0xfbb68f[_0x15bbb6(0x1c2)])[_0x15bbb6(0x328)]();_0x109523&&_0x434f30&&this[_0x15bbb6(0x4de)](_0x434f30[_0x15bbb6(0x29c)](),_0x109523);}[_0x5e3172(0x2bd)](){const _0x5b9037=_0x5e3172;this[_0x5b9037(0x242)]=!0x1;}};ds=zo([Be(0x2,_0x1259a7(_0xa6ca3c)),Be(0x3,_0x1259a7(Ns)),Be(0x4,_0x1259a7(Me)),Be(0x5,_0x381e7e),Be(0x6,_0x58c2c0),Be(0x7,_0x1259a7(_0x4fe9a5))],ds);var Qo=Object[_0x5e3172(0x243)],ea=Object[_0x5e3172(0x26f)],ta=(_0x5a6434,_0x53a875,_0x16bcb0,_0x57cc09)=>{const _0x3667fc=_0x5e3172;for(var _0x40a7db=_0x57cc09>0x1?void 0x0:_0x57cc09?ea(_0x53a875,_0x16bcb0):_0x53a875,_0x1911fc=_0x5a6434[_0x3667fc(0x2c8)]-0x1,_0x5620fe;_0x1911fc>=0x0;_0x1911fc--)(_0x5620fe=_0x5a6434[_0x1911fc])&&(_0x40a7db=(_0x57cc09?_0x5620fe(_0x53a875,_0x16bcb0,_0x40a7db):_0x5620fe(_0x40a7db))||_0x40a7db);return _0x57cc09&&_0x40a7db&&Qo(_0x53a875,_0x16bcb0,_0x40a7db),_0x40a7db;},Xt=(_0x3f9166,_0x4fb1a4)=>(_0x2c87c1,_0x19aded)=>_0x4fb1a4(_0x2c87c1,_0x19aded,_0x3f9166);let Ve=class extends _0x5ce84d{constructor(_0x20d83d,_0x1ff6d5,_0x3bc5b9){const _0x22af22=_0x5e3172;super(),g(this,_0x22af22(0x24f),new Map()),g(this,_0x22af22(0x43c),new _0x1b8780()),(this[_0x22af22(0x153)]=_0x20d83d,this['_injector']=_0x1ff6d5,this['_collabSessionService']=_0x3bc5b9,this[_0x22af22(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x41de84=_0x5e3172;super['dispose'](),this[_0x41de84(0x43c)][_0x41de84(0x41f)](),this[_0x41de84(0x24f)]['forEach'](_0x4f98b2=>_0x4f98b2[_0x41de84(0x48f)]());}[_0x5e3172(0x3fc)](_0x367ba5){const _0x4a51fc=_0x5e3172;return this['_entities'][_0x4a51fc(0x3cb)](_0x367ba5)?this[_0x4a51fc(0x24f)]['get'](_0x367ba5)[_0x4a51fc(0x4a9)]:this['_entityInit$'][_0x4a51fc(0x4b6)](_0x446160(_0x28bfb9=>_0x28bfb9[_0x4a51fc(0x4e4)]===_0x367ba5),_0x12c24e(_0x177d80=>_0x177d80['cursorInfo$']));}[_0x5e3172(0x1d2)](){const _0x4fc813=_0x5e3172;this['_univerInstanceService'][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x1c2)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](async _0x3e4b21=>{const _0x3822dc=_0x4fc813,_0x14efe1=_0x3e4b21[_0x3822dc(0x12f)](),_0x2801af=await this[_0x3822dc(0x52e)](_0x14efe1);this['_entityInit$']['next'](_0x2801af),this[_0x3822dc(0x24f)][_0x3822dc(0x332)](_0x14efe1,_0x2801af);}),this[_0x4fc813(0x153)][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x11d)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['pipe'](_0x446160(_0x3a17a6=>!_0x3a17a6[_0x4fc813(0x12f)]()[_0x4fc813(0x1b9)]('__')))[_0x4fc813(0x134)](async _0x115f52=>{const _0x2b45bd=_0x4fc813,_0x8e0d3b=_0x115f52[_0x2b45bd(0x12f)](),_0x739887=await this['_startDocCollabCursor'](_0x8e0d3b);this[_0x2b45bd(0x43c)]['next'](_0x739887),this[_0x2b45bd(0x24f)]['set'](_0x8e0d3b,_0x739887);}),_0x143e60(this[_0x4fc813(0x153)][_0x4fc813(0x241)](_0xfbb68f[_0x4fc813(0x11d)]),this[_0x4fc813(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x4fc813(0x1c2)]))[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](_0x44d531=>{const _0x46029f=_0x4fc813,_0xc368bc=_0x44d531['getUnitId'](),_0x570dd7=this['_entities']['get'](_0xc368bc);_0x570dd7&&(_0x570dd7[_0x46029f(0x48f)](),this[_0x46029f(0x24f)][_0x46029f(0x480)](_0xc368bc));});}async['_startSheetCollabCursor'](_0x58284e){const _0x2c78db=_0x5e3172,_0x2fb22c=await this['_collabSessionService']['requireSession'](_0x58284e),_0x2da2c6=this[_0x2c78db(0x3b4)][_0x2c78db(0x13c)](ds,_0x58284e,_0x2fb22c);return _0x2da2c6[_0x2c78db(0x433)](),_0x2da2c6;}async[_0x5e3172(0x4c8)](_0x3d3ba6){const _0x530977=_0x5e3172,_0xe63789=await this[_0x530977(0x22d)][_0x530977(0x17e)](_0x3d3ba6),_0x16a8a0=this[_0x530977(0x3b4)][_0x530977(0x13c)](us,_0x3d3ba6,_0xe63789);return _0x16a8a0[_0x530977(0x433)](),_0x16a8a0;}};Ve=ta([Xt(0x0,_0x381e7e),Xt(0x1,_0x1259a7(_0xa6ca3c)),Xt(0x2,_0x1259a7(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x260d6c,_0x34705a){const _0x2fbf71=_0x5e3172;let {radius:_0x219cf5,width:_0x4aedfe,height:_0x56710d}=_0x34705a;_0x219cf5=_0x219cf5!=null?_0x219cf5:0x0,_0x4aedfe=_0x4aedfe!=null?_0x4aedfe:0x1e,_0x56710d=_0x56710d!=null?_0x56710d:0x1e;let _0x5c3a3f=0x0,_0x1967aa=0x0,_0x3aa916=0x0;_0x5c3a3f=_0x1967aa=_0x3aa916=Math[_0x2fbf71(0x26a)](_0x219cf5,_0x4aedfe/0x2,_0x56710d/0x2),_0x260d6c['beginPath'](),_0x260d6c['moveTo'](_0x5c3a3f,0x0),_0x260d6c['lineTo'](_0x4aedfe-_0x1967aa,0x0),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x1967aa,_0x1967aa,_0x1967aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](_0x4aedfe,_0x56710d-_0x3aa916),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x3aa916,_0x56710d-_0x3aa916,_0x3aa916,0x0,Math['PI']/0x2,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](0x0,_0x56710d),_0x260d6c['lineTo'](0x0,_0x5c3a3f),_0x260d6c[_0x2fbf71(0x36f)](_0x5c3a3f,_0x5c3a3f,_0x5c3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x260d6c['closePath'](),_0x34705a[_0x2fbf71(0x123)]&&(_0x260d6c[_0x2fbf71(0x303)](),_0x260d6c[_0x2fbf71(0x4f1)]=_0x34705a[_0x2fbf71(0x123)],_0x34705a['fillRule']==='evenodd'?_0x260d6c[_0x2fbf71(0x123)]('evenodd'):_0x260d6c[_0x2fbf71(0x123)](),_0x260d6c[_0x2fbf71(0x2c9)]());}class Bt extends _0x3f24aa{constructor(_0x51fccc,_0x274ed7){const _0x4e50b5=_0x5e3172;super(_0x51fccc,_0x274ed7),g(this,_0x4e50b5(0x369)),g(this,_0x4e50b5(0x412)),(this[_0x4e50b5(0x369)]=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x369)],this['text']=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x412)]);}static[_0x5e3172(0x2a8)](_0x49a353,_0x54e4ca){const _0x1cf39e=_0x5e3172,{text:_0x422830,color:_0x2178a8}=_0x54e4ca;_0x49a353[_0x1cf39e(0x303)](),_0x49a353[_0x1cf39e(0x161)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f026b=_0x49a353[_0x1cf39e(0x2c7)](_0x422830)[_0x1cf39e(0x1f2)],_0x745cba=Math[_0x1cf39e(0x26a)](_0x1f026b+0x2*Jt,ii);ia(_0x49a353,{'height':nt,'radius':0x4,'width':_0x745cba,'fill':_0x2178a8,'evented':!0x1}),_0x49a353[_0x1cf39e(0x4f1)]='#FFF';const _0x36111a=Jt,_0x9699d2=nt-sa,_0x59f444=ii-0x2*Jt;if(_0x1f026b>_0x59f444){let _0x314853='',_0x198659=0x0;for(const _0xbb1c96 of _0x422830){const _0x221e16=_0x49a353[_0x1cf39e(0x2c7)](_0xbb1c96)[_0x1cf39e(0x1f2)];if(_0x198659+_0x221e16<=_0x59f444-_0x49a353[_0x1cf39e(0x2c7)](_0x1cf39e(0x3b6))[_0x1cf39e(0x1f2)])_0x314853+=_0xbb1c96,_0x198659+=_0x221e16;else{_0x314853+='...';break;}}_0x49a353[_0x1cf39e(0x4fe)](_0x314853,_0x36111a,_0x9699d2);}else _0x49a353['fillText'](_0x422830,_0x36111a,_0x9699d2);_0x49a353[_0x1cf39e(0x2c9)]();}[_0x5e3172(0x32d)](_0x28feeb){Bt['drawWith'](_0x28feeb,this);}}const Zt='collab-text-anchor-',ra=_0x5e3172(0x1ea),na=_0x5e3172(0x31e),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x5e3172(0x371);class ri{constructor(_0xacd008,_0x485170,_0x2fc50c,_0x5cf4c8){const _0xdbe5a2=_0x5e3172;g(this,_0xdbe5a2(0x3e4),[]),g(this,'_anchor',null),g(this,_0xdbe5a2(0x1fb),null),g(this,'_anchorDot',null),g(this,_0xdbe5a2(0x2c0),null),g(this,_0xdbe5a2(0x415),null),(this[_0xdbe5a2(0x1bb)]=_0xacd008,this[_0xdbe5a2(0x3eb)]=_0x485170,this['_docSkeleton']=_0x2fc50c,this[_0xdbe5a2(0x425)]=_0x5cf4c8,this[_0xdbe5a2(0x435)]());}set[_0x5e3172(0x378)](_0x1e3f1e){const _0x2e5e11=_0x5e3172;_0x1e3f1e?(this[_0x2e5e11(0x4c6)]&&this['_anchorDot'][_0x2e5e11(0x232)](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x4b7)]()):(this['_anchorDot']&&this[_0x2e5e11(0x4c6)]['show'](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x232)]());}[_0x5e3172(0x48f)](){const _0x21dc0b=_0x5e3172;for(const _0x1d6d31 of this[_0x21dc0b(0x3e4)])_0x1d6d31[_0x21dc0b(0x48f)]();this[_0x21dc0b(0x1fb)]&&this[_0x21dc0b(0x1fb)]['dispose'](),this[_0x21dc0b(0x4c6)]&&this[_0x21dc0b(0x4c6)][_0x21dc0b(0x48f)](),this['_anchor']&&this[_0x21dc0b(0x3f5)][_0x21dc0b(0x48f)](),this[_0x21dc0b(0x415)]&&this[_0x21dc0b(0x415)]();}[_0x5e3172(0x435)](){const _0x39b12e=_0x5e3172;var _0x3da377;const {_docSkeleton:_0x4eefd7,_document:_0x25dc7b}=this,{color:_0x16ba58,name:_0x47d85e,ranges:_0x89ae1b}=this[_0x39b12e(0x1bb)],_0x23e91e=_0x25dc7b[_0x39b12e(0x257)](),{docsLeft:_0x36fafe,docsTop:_0x45b983}=_0x23e91e,_0xe190f9=new _0x23a52e(_0x23e91e,_0x4eefd7);for(const {startOffset:_0x1854c6,endOffset:_0x43978a,rangeType:_0x12b106,segmentId:_0x557368,segmentPage:_0x36b7f4,collapsed:_0x1ae1d3,isActive:_0x1ab284}of _0x89ae1b){const _0x211103=_0x4eefd7[_0x39b12e(0x264)](_0x1854c6,!0x0,_0x557368,_0x36b7f4);let _0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a,!0x0,_0x557368,_0x36b7f4);if(_0x1f8300==null&&(_0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a-0x1,!0x1,_0x557368,_0x36b7f4)),_0x1ab284){const {contentBoxPointGroup:_0xbcc775}=_0xe190f9[_0x39b12e(0x14c)](_0x1f8300,_0x1f8300);if(_0xbcc775[_0x39b12e(0x2c8)]===0x0)continue;this['_drawAnchor'](_0x16ba58,_0xbcc775,_0x36fafe,_0x45b983,_0x47d85e),this['_eventUnsubscribe']=this[_0x39b12e(0x321)]();}if(_0x211103&&_0x1f8300){if(_0x12b106===_0x263740[_0x39b12e(0x353)]){const _0x3fd2d7=new _0x135bfe(_0x23e91e,_0x4eefd7),{pointGroup:_0x1fb9b8}=(_0x3da377=_0x3fd2d7['getRangePointData'](_0x211103,_0x1f8300))!=null?_0x3da377:{};if(_0x1fb9b8==null||_0x1fb9b8[_0x39b12e(0x2c8)]===0x0)continue;this['_drawRectRange'](_0x16ba58,_0x1fb9b8,_0x36fafe,_0x45b983);}else{if(!_0x1ae1d3){const {borderBoxPointGroup:_0x41d2ba}=_0xe190f9['getRangePointData'](_0x211103,_0x1f8300);if(_0x41d2ba[_0x39b12e(0x2c8)]===0x0)continue;this[_0x39b12e(0x193)](_0x16ba58,_0x41d2ba,_0x36fafe,_0x45b983);}}}}}['_drawAnchor'](_0x298a44,_0x2963c4,_0x9e7bf4,_0x13f491,_0x144d69){const _0x49aa86=_0x5e3172,_0x5c08e3=this[_0x49aa86(0x13e)](_0x2963c4),{left:_0x4aebbf,top:_0x487e17,height:_0x52f302}=_0x5c08e3,_0x4e2420=this[_0x49aa86(0x4c4)](),_0x261378=aa/_0x4e2420,_0x46ebf9=new _0x5876ba(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491,'height':_0x52f302,'width':oa,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':_0x261378,'stroke':ca,'evented':!0x0});this[_0x49aa86(0x3f5)]=_0x46ebf9,this['_scene'][_0x49aa86(0x49c)](_0x46ebf9,_0x2641c4);const _0x3d5828=new _0x5876ba(Zt+_0x279a54['generateRandomId'](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x298a44||_0x58cb0a(_0x341aed['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3d5828,this[_0x49aa86(0x3eb)]['addObject'](_0x3d5828,_0x2641c4);const _0x5b8ff4=new Bt(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-nt,'text':_0x144d69,'color':_0x298a44});this['_textBubble']=_0x5b8ff4,this[_0x49aa86(0x3eb)]['addObject'](_0x5b8ff4,_0x2641c4),this[_0x49aa86(0x378)]=!0x1;}[_0x5e3172(0x321)](){const _0x5dbc1f=_0x5e3172,_0x7053b2=this[_0x5dbc1f(0x3f5)][_0x5dbc1f(0x4aa)][_0x5dbc1f(0x14b)](()=>{const _0x4bf167=_0x5dbc1f;this[_0x4bf167(0x378)]=!0x0;}),_0x306e2a=this['_anchor'][_0x5dbc1f(0x4c9)]['subscribeEvent'](()=>{const _0x1e85fd=_0x5dbc1f;this['_hideTimer']&&clearTimeout(this[_0x1e85fd(0x2c0)]),this[_0x1e85fd(0x2c0)]=setTimeout(()=>{const _0x205d19=_0x1e85fd;this[_0x205d19(0x378)]=!0x1;},0x7d0);});return()=>{const _0xc341fd=_0x5dbc1f;_0x7053b2[_0xc341fd(0x527)](),_0x306e2a['unsubscribe']();};}[_0x5e3172(0x193)](_0x338942,_0x1c717b,_0x3cedc4,_0x10fea6){const _0x4b1f1c=_0x5e3172,_0x3494c8=new _0x5842d9(_0x338942)[_0x4b1f1c(0x2af)](0.2)[_0x4b1f1c(0x1f8)](),_0x2c3cd6=new _0x2f6ca8(ra+_0x279a54[_0x4b1f1c(0x18f)](Je),{'pointsGroup':_0x1c717b,'fill':_0x3494c8||_0x58cb0a(_0x341aed[_0x4b1f1c(0x218)],0.2),'left':_0x3cedc4,'top':_0x10fea6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b1f1c(0x3e4)][_0x4b1f1c(0x38e)](_0x2c3cd6),this['_scene'][_0x4b1f1c(0x49c)](_0x2c3cd6,_0x2641c4);}['_drawRectRange'](_0x438458,_0x2aabd4,_0x190dd3,_0x324a77){const _0x3320e2=_0x5e3172,_0x3dd34e=new _0x5842d9(_0x438458)[_0x3320e2(0x2af)](0.2)[_0x3320e2(0x1f8)](),_0x14cde2=new _0x2f6ca8(na+_0x279a54['generateRandomId'](Je),{'pointsGroup':_0x2aabd4,'fill':_0x3dd34e||_0x58cb0a(_0x341aed['black'],0.2),'left':_0x190dd3,'top':_0x324a77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3320e2(0x3e4)][_0x3320e2(0x38e)](_0x14cde2),this[_0x3320e2(0x3eb)][_0x3320e2(0x49c)](_0x14cde2,_0x2641c4);}[_0x5e3172(0x13e)](_0x40a650){const _0x79d4=_0x40a650[0x0],_0x1a6cb1=_0x79d4[0x0],_0x1b7efa=_0x79d4[0x2],{x:_0x2c8d7c,y:_0x5dc30c}=_0x1a6cb1,{x:_0x3a2f02,y:_0x4131a5}=_0x1b7efa;return{'left':_0x2c8d7c,'top':_0x5dc30c,'width':_0x3a2f02-_0x2c8d7c,'height':_0x4131a5-_0x5dc30c};}[_0x5e3172(0x4c4)](){const _0xa40793=_0x5e3172,{scaleX:_0xaab586,scaleY:_0x4aa88d}=this[_0xa40793(0x3eb)][_0xa40793(0x25f)]();return Math['max'](_0xaab586,_0x4aa88d);}}var ha=Object['defineProperty'],la=Object[_0x5e3172(0x26f)],_a=(_0x553e90,_0x454a83,_0x3982c0,_0x51de46)=>{const _0x3ca675=_0x5e3172;for(var _0x2f3aa4=_0x51de46>0x1?void 0x0:_0x51de46?la(_0x454a83,_0x3982c0):_0x454a83,_0x356ba9=_0x553e90[_0x3ca675(0x2c8)]-0x1,_0x3f81cf;_0x356ba9>=0x0;_0x356ba9--)(_0x3f81cf=_0x553e90[_0x356ba9])&&(_0x2f3aa4=(_0x51de46?_0x3f81cf(_0x454a83,_0x3982c0,_0x2f3aa4):_0x3f81cf(_0x2f3aa4))||_0x2f3aa4);return _0x51de46&&_0x2f3aa4&&ha(_0x454a83,_0x3982c0,_0x2f3aa4),_0x2f3aa4;},ht=(_0xd31d77,_0x386236)=>(_0x1666cd,_0x8641ea)=>_0x386236(_0x1666cd,_0x8641ea,_0xd31d77);let fs=class extends _0x5ce84d{constructor(_0x4599c9,_0x4af69b,_0x345f80,_0x5dae7b,_0x2412f1){const _0x141e18=_0x5e3172;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x141e18(0x4d4)]=_0x4599c9,this['_docSkeletonManagerService']=_0x4af69b,this[_0x141e18(0x3f6)]=_0x345f80,this[_0x141e18(0x327)]=_0x5dae7b,this[_0x141e18(0x4b4)]=_0x2412f1,this[_0x141e18(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x1d5688=_0x5e3172,_0x51046c=this[_0x1d5688(0x4d4)][_0x1d5688(0x452)],_0xc371cc=this['_docSkeletonManagerService'];this[_0x1d5688(0x2d9)](_0x1bfc9f([this[_0x1d5688(0x3f6)][_0x1d5688(0x3fc)](_0x51046c),this[_0x1d5688(0x4b4)][_0x1d5688(0x365)]])[_0x1d5688(0x4b6)](_0x2945cf(([_0x3b42f4,_0x591e6b])=>({'skeleton':_0xc371cc[_0x1d5688(0x2e9)](),'cursors':[..._0x3b42f4[_0x1d5688(0x21a)]()][_0x1d5688(0x486)](_0x10147d=>({..._0x10147d,'color':_0x591e6b[_0x10147d['color']]}))})))[_0x1d5688(0x134)](_0x1e350b=>{const _0x140021=_0x1d5688;if(this[_0x140021(0x248)](),_0x1e350b){const {skeleton:_0x2bc7ad,cursors:_0x5eb60b}=_0x1e350b;this[_0x140021(0x3d7)](_0x2bc7ad,_0x5eb60b);}})),this[_0x1d5688(0x390)](),this[_0x1d5688(0x1f7)]();}[_0x5e3172(0x3d7)](_0x2405ad,_0x1ee054){const _0x2cecf3=_0x5e3172,{scene:_0x4c9e47,mainComponent:_0x16e25a}=this[_0x2cecf3(0x4d4)],_0x3d9e77=_0x1ee054[_0x2cecf3(0x2b4)](_0x7a824a=>new ri(_0x7a824a,_0x4c9e47,_0x2405ad,_0x16e25a));this[_0x2cecf3(0x342)]=_0x3d9e77,this['_cursors']=_0x1ee054;}[_0x5e3172(0x347)](){const _0x4974a8=_0x5e3172;this[_0x4974a8(0x248)]();const {scene:_0x4a85ec,mainComponent:_0x28279f}=this['_context'],_0x3f7aa2=this['_docSkeletonManagerService'][_0x4974a8(0x2e9)](),_0x312cc2=this[_0x4974a8(0x1de)][_0x4974a8(0x2b4)](_0x2f0c4b=>new ri(_0x2f0c4b,_0x4a85ec,_0x3f7aa2,_0x28279f));this[_0x4974a8(0x342)]=_0x312cc2;}[_0x5e3172(0x248)](){const _0x40ef28=_0x5e3172;this[_0x40ef28(0x342)]['forEach'](_0x10fdf2=>_0x10fdf2[_0x40ef28(0x48f)]()),this['_cursorShapes']=[];}[_0x5e3172(0x1f7)](){const _0x5b9ce7=_0x5e3172,_0x1f9c88=[_0x56f25a['id']];this[_0x5b9ce7(0x2d9)](this['_commandService'][_0x5b9ce7(0x1e2)](_0x10af6d=>{const _0x404c1a=_0x5b9ce7;_0x1f9c88['includes'](_0x10af6d['id'])&&_0x10af6d[_0x404c1a(0x436)][_0x404c1a(0x452)]===this[_0x404c1a(0x4d4)][_0x404c1a(0x452)]&&this['_refreshCollabCursors']();}));}[_0x5e3172(0x390)](){const _0x47532b=_0x5e3172;this[_0x47532b(0x2d9)](_0xb2198c(this['_context'][_0x47532b(0x11a)][_0x47532b(0x19e)])[_0x47532b(0x4b6)](_0x3c0a43(_0x3d5a58=>_0x3d5a58[_0x47532b(0x20d)]===_0x2759c0[_0x47532b(0x459)]),_0x14e77d(0x10))[_0x47532b(0x134)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1259a7(_0x218e07)),ht(0x2,_0x1259a7(Ve)),ht(0x3,_0x58c2c0),ht(0x4,_0x1259a7(_0x3b15b9))],fs);const ua=0x1,da=1.5;class fa extends _0x3f24aa{constructor(_0x138e53,_0x1604b8){const _0x4f0ab6=_0x5e3172;super(_0x138e53,_0x1604b8),g(this,'_color'),g(this,_0x4f0ab6(0x396),!0x1),g(this,_0x4f0ab6(0x4e6)),g(this,'_name',''),g(this,_0x4f0ab6(0x41e),'top'),g(this,'_backgroundColor'),(_0x1604b8&&this[_0x4f0ab6(0x2e3)](_0x1604b8),this[_0x4f0ab6(0x4aa)]['subscribeEvent'](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f0ab6(0x14b)](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x1})));}[_0x5e3172(0x2e3)](_0x584116){const _0x51b433=_0x5e3172;var _0x5ddf82,_0x282581,_0x98bfb5,_0x1e9443,_0x5a1434,_0x41e641;this['_color']=(_0x5ddf82=_0x584116['color'])!=null?_0x5ddf82:this[_0x51b433(0x230)],this['_hovered']=(_0x282581=_0x584116[_0x51b433(0x534)])!=null?_0x282581:this[_0x51b433(0x396)],this[_0x51b433(0x4e6)]=(_0x98bfb5=_0x584116[_0x51b433(0x168)])!=null?_0x98bfb5:this[_0x51b433(0x4e6)],this[_0x51b433(0x2c5)]=(_0x1e9443=_0x584116['name'])!=null?_0x1e9443:this[_0x51b433(0x2c5)],this[_0x51b433(0x41e)]=(_0x5a1434=_0x584116[_0x51b433(0x254)])!=null?_0x5a1434:this[_0x51b433(0x41e)],this['_backgroundColor']=(_0x41e641=_0x584116[_0x51b433(0x517)])!=null?_0x41e641:this[_0x51b433(0x419)],this[_0x51b433(0x206)]({'width':_0x584116[_0x51b433(0x1f2)],'height':_0x584116[_0x51b433(0x33a)]});}['onMouseMove'](_0x12b476){const _0x90d4d0=_0x5e3172,{row:_0x38f560,column:_0x41a52b}=_0x12b476;if(_0x38f560>=this[_0x90d4d0(0x4e6)]['startRow']&&_0x38f560<=this['_range'][_0x90d4d0(0x44d)]&&_0x41a52b>=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x2a6)]&&_0x41a52b<=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x30d)]){this[_0x90d4d0(0x2e3)]({'hovered':!0x0});return;}this[_0x90d4d0(0x2e3)]({'hovered':!0x1});}['triggerDblclick'](_0x43f762){return!0x1;}[_0x5e3172(0x32d)](_0x1821b9){const _0x2c7b99=_0x5e3172;_0x5876ba[_0x2c7b99(0x2a8)](_0x1821b9,{'width':this[_0x2c7b99(0x1f2)],'height':this[_0x2c7b99(0x33a)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c7b99(0x419)]}),this[_0x2c7b99(0x396)]&&(_0x1821b9[_0x2c7b99(0x303)](),_0x1821b9[_0x2c7b99(0x2dc)](0x1,0x0,0x0,0x1,this[_0x2c7b99(0x1f2)],this[_0x2c7b99(0x41e)]==='bottom'?0x0:-nt),Bt[_0x2c7b99(0x2a8)](_0x1821b9,{'text':this[_0x2c7b99(0x2c5)],'color':this[_0x2c7b99(0x230)]}),_0x1821b9[_0x2c7b99(0x2c9)]());}}var va=Object[_0x5e3172(0x243)],pa=Object[_0x5e3172(0x26f)],ma=(_0x5d5dbc,_0x3c9ff2,_0x358b18,_0x203130)=>{const _0xd40e36=_0x5e3172;for(var _0x288e1c=_0x203130>0x1?void 0x0:_0x203130?pa(_0x3c9ff2,_0x358b18):_0x3c9ff2,_0x5a5a5c=_0x5d5dbc[_0xd40e36(0x2c8)]-0x1,_0x2c107a;_0x5a5a5c>=0x0;_0x5a5a5c--)(_0x2c107a=_0x5d5dbc[_0x5a5a5c])&&(_0x288e1c=(_0x203130?_0x2c107a(_0x3c9ff2,_0x358b18,_0x288e1c):_0x2c107a(_0x288e1c))||_0x288e1c);return _0x203130&&_0x288e1c&&va(_0x3c9ff2,_0x358b18,_0x288e1c),_0x288e1c;},es=(_0x556931,_0x6f7b74)=>(_0x45bd16,_0x57f0db)=>_0x6f7b74(_0x45bd16,_0x57f0db,_0x556931);const ga=0x1389;let vs=class extends _0x5ce84d{constructor(_0x4637bc,_0xee0210,_0x5e3f2d,_0x24a0e4){const _0x5b81ea=_0x5e3172;super(),g(this,_0x5b81ea(0x1de),new Set()),g(this,_0x5b81ea(0x1a4),null),(this['_context']=_0x4637bc,this[_0x5b81ea(0x36e)]=_0xee0210,this[_0x5b81ea(0x3f6)]=_0x5e3f2d,this[_0x5b81ea(0x4b4)]=_0x24a0e4,this[_0x5b81ea(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x4e86c2=_0x5e3172;this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)][_0x4e86c2(0x4b6)](_0x209ee4(this[_0x4e86c2(0x511)]),_0x506a28(_0x38f670=>{const _0x5c75b1=_0x4e86c2;if(_0x38f670){const _0x5b5795=_0x38f670[_0x5c75b1(0x42f)];return _0x1bfc9f(this[_0x5c75b1(0x3f6)][_0x5c75b1(0x3fc)](this['_context'][_0x5c75b1(0x452)]),this[_0x5c75b1(0x4b4)][_0x5c75b1(0x365)])[_0x5c75b1(0x4b6)](_0x2945cf(([_0x592e56,_0x401f6a])=>{const _0xe204f4=_0x5c75b1,_0x3c189b=new Map();return _0x592e56[_0xe204f4(0x356)]((_0x490b74,_0x5a7751)=>{const _0x5771e6=_0xe204f4;if(_0x490b74[_0x5771e6(0x1c8)]===_0x5b5795){const _0x3545a9={..._0x490b74};_0x3545a9[_0x5771e6(0x369)]=_0x401f6a[_0x490b74[_0x5771e6(0x369)]],_0x3c189b[_0x5771e6(0x332)](_0x5a7751,_0x3545a9);}}),{'skeleton':_0x38f670,'cursors':_0x3c189b};}));}return _0x4f62b6({'skeleton':null,'cursors':new Map()});}))[_0x4e86c2(0x134)](({skeleton:_0x5c5c47,cursors:_0x3a1cc1})=>{const _0x42a3b1=_0x4e86c2;this['_removeCollabCursors'](),_0x5c5c47&&this[_0x42a3b1(0x3d7)](_0x5c5c47,_0x3a1cc1);}),this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)]['subscribe'](_0x30856f=>{const _0x254c95=_0x4e86c2;if(_0x30856f==null)return;const {skeleton:_0x5df8ca}=_0x30856f,{scene:_0xa84e0b}=this[_0x254c95(0x4d4)];_0xa84e0b[_0x254c95(0x424)][_0x254c95(0x14b)](_0x38f51c(_0x3c1dd3=>{const _0xe85e6b=_0x254c95;var _0x2d9d1a,_0x161525;const {offsetX:_0x150b29,offsetY:_0x5293ff}=_0x3c1dd3,{x:_0x1c1fd4,y:_0x4c4014}=_0xa84e0b['getRelativeToViewportCoord'](_0x40d11c[_0xe85e6b(0x40a)]([_0x150b29,_0x5293ff])),{scaleX:_0x409349,scaleY:_0xa066e7}=_0xa84e0b[_0xe85e6b(0x25f)](),_0x4c1dab=_0xa84e0b[_0xe85e6b(0x180)](_0x3dbe35[_0xe85e6b(0x50a)]),_0x4dcd02=_0xa84e0b[_0xe85e6b(0x25a)](_0x40d11c[_0xe85e6b(0x40a)]([_0x1c1fd4,_0x4c4014]),_0x4c1dab),_0x340d88=_0x5df8ca[_0xe85e6b(0x219)](_0x150b29,_0x5293ff,_0x409349,_0xa066e7,_0x4dcd02);((_0x2d9d1a=this['_lastPointer'])==null?void 0x0:_0x2d9d1a[_0xe85e6b(0x3a4)])===_0x340d88['column']&&((_0x161525=this[_0xe85e6b(0x1a4)])==null?void 0x0:_0x161525[_0xe85e6b(0x226)])===_0x340d88['row']||this[_0xe85e6b(0x1de)][_0xe85e6b(0x356)](_0x50010e=>{const _0x56a323=_0xe85e6b;_0x50010e[_0x56a323(0x335)](_0x340d88);});},0x64));});}[_0x5e3172(0x3d7)](_0x18e23f,_0x162a6e){const _0x868883=_0x5e3172;var _0x4cd326;const _0x14725a=(_0x4cd326=this[_0x868883(0x36e)][_0x868883(0x17c)]())==null?void 0x0:_0x4cd326['skeleton'];if(!_0x14725a)return;const _0x3c3dda=this['_getSheetObject']();if(!_0x3c3dda)return;this[_0x868883(0x1de)][_0x868883(0x356)](_0x2c8af2=>{const _0x41a29d=_0x868883;_0x2c8af2[_0x41a29d(0x1d5)]();});const {scene:_0x2d7dfd}=_0x3c3dda,_0x21621e=Sa(Array[_0x868883(0x49e)](_0x162a6e[_0x868883(0x21a)]()))['map'](_0x69f602=>{const _0x38389f=_0x868883,{color:_0x283470,range:_0x37da33,name:_0x5892bb,selection:_0x444a27,sheetID:_0x4c4ccb}=_0x69f602,{startColumn:_0x4d14ee,startRow:_0x17c6fc,endColumn:_0x18f91d,endRow:_0x484076}=_0x37da33,_0x17d3bf=_0x1028ea(_0x17c6fc,_0x4d14ee,_0x2d7dfd,_0x14725a),_0xbce160=_0x1028ea(_0x484076,_0x18f91d,_0x2d7dfd,_0x14725a),{columnHeaderHeightAndMarginTop:_0x518fbe}=_0x14725a,{startX:_0x3e5c2c,startY:_0x3afa07}=_0x17d3bf,{endX:_0x5c0e6f,endY:_0x10a8a3}=_0xbce160,_0x5ba9d3=_0x5c0e6f-_0x3e5c2c,_0x40a48b=_0x10a8a3-_0x3afa07,_0x32bf0b={'labelPosition':_0x3afa07-_0x518fbe>=nt?_0x38389f(0x467):_0x38389f(0x4c3),'sheetID':_0x4c4ccb,'range':_0x37da33,'color':_0x283470,'name':_0x5892bb,'selection':_0x444a27,'left':_0x3e5c2c,'top':_0x3afa07,'width':_0x5ba9d3,'height':_0x40a48b,'evented':!0x1,'zIndex':ga};return new fa(_0x5892bb,_0x32bf0b);});_0x2d7dfd['addObjects'](_0x21621e,ua),this[_0x868883(0x1de)]=new Set(_0x21621e);}['_removeCollabCursors'](){const _0x414339=_0x5e3172;var _0x47381e;(_0x47381e=this[_0x414339(0x1de)])==null||_0x47381e[_0x414339(0x356)](_0x2ec5e8=>_0x2ec5e8['dispose']());}[_0x5e3172(0x40b)](){const _0x1d8b5b=_0x5e3172;return _0x7eaba5(this['_context']['unit'],this[_0x1d8b5b(0x4d4)]);}};vs=ma([es(0x1,_0x1259a7(_0x5d1f2f)),es(0x2,_0x1259a7(Ve)),es(0x3,_0x1259a7(_0x3b15b9))],vs);function Sa(_0x3d42ab){const _0x3b7c58=_0x5e3172,_0xabb5c3=new Map();return _0x3d42ab[_0x3b7c58(0x356)](_0x2bffd0=>{const _0x3184c2=_0x3b7c58;if(_0xabb5c3[_0x3184c2(0x3cb)](_0x2bffd0[_0x3184c2(0x533)])){const _0x321dde=_0xabb5c3[_0x3184c2(0x307)](_0x2bffd0[_0x3184c2(0x533)]);_0x321dde[_0x3184c2(0x121)]+=',\x20'+_0x2bffd0[_0x3184c2(0x121)];}else _0xabb5c3['set'](_0x2bffd0[_0x3184c2(0x533)],_0x2bffd0);}),Array[_0x3b7c58(0x49e)](_0xabb5c3['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x324395){const _0x468efe=_0x5e3172;return _0x324395&&_0x324395[_0x468efe(0x25e)]&&Object[_0x468efe(0x4e8)][_0x468efe(0x4d8)]['call'](_0x324395,_0x468efe(0x3a1))?_0x324395[_0x468efe(0x3a1)]:_0x324395;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x3ba933=_0x5e3172;if(ni)return Ze;ni=0x1;var _0x961aab=_0x165312,_0x1c5bf7=Symbol[_0x3ba933(0x289)](_0x3ba933(0x28c)),_0x614ed0=Symbol[_0x3ba933(0x289)]('react.fragment'),_0x251ca0=Object[_0x3ba933(0x4e8)]['hasOwnProperty'],_0x1a8bfd=_0x961aab['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3ba933(0x47b)],_0x524a08={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x394b93(_0x233a0e,_0xcb6ec2,_0x2aa8ed){const _0x171f76=_0x3ba933;var _0x2b2e74,_0x4529e4={},_0x527d80=null,_0x2825e2=null;_0x2aa8ed!==void 0x0&&(_0x527d80=''+_0x2aa8ed),_0xcb6ec2[_0x171f76(0x36a)]!==void 0x0&&(_0x527d80=''+_0xcb6ec2[_0x171f76(0x36a)]),_0xcb6ec2[_0x171f76(0x11e)]!==void 0x0&&(_0x2825e2=_0xcb6ec2[_0x171f76(0x11e)]);for(_0x2b2e74 in _0xcb6ec2)_0x251ca0['call'](_0xcb6ec2,_0x2b2e74)&&!_0x524a08['hasOwnProperty'](_0x2b2e74)&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);if(_0x233a0e&&_0x233a0e['defaultProps']){for(_0x2b2e74 in(_0xcb6ec2=_0x233a0e[_0x171f76(0x346)],_0xcb6ec2))_0x4529e4[_0x2b2e74]===void 0x0&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);}return{'$$typeof':_0x1c5bf7,'type':_0x233a0e,'key':_0x527d80,'ref':_0x2825e2,'props':_0x4529e4,'_owner':_0x1a8bfd[_0x171f76(0x363)]};}return Ze[_0x3ba933(0x516)]=_0x614ed0,Ze[_0x3ba933(0x2b8)]=_0x394b93,Ze[_0x3ba933(0x1dd)]=_0x394b93,Ze;}var oi;function Ca(){const _0x28ef33=_0x5e3172;return oi||(oi=0x1,ss[_0x28ef33(0x4b3)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0x437dc2=_0x5e3172;return te=Object['assign']||function(_0x546cd5){const _0x24e934=_0x1eb2;for(var _0x1812d4,_0x15806f=0x1,_0x4211e3=arguments[_0x24e934(0x2c8)];_0x15806f<_0x4211e3;_0x15806f++){_0x1812d4=arguments[_0x15806f];for(var _0x2488ad in _0x1812d4)Object[_0x24e934(0x4e8)][_0x24e934(0x4d8)][_0x24e934(0x500)](_0x1812d4,_0x2488ad)&&(_0x546cd5[_0x2488ad]=_0x1812d4[_0x2488ad]);}return _0x546cd5;},te[_0x437dc2(0x212)](this,arguments);},Ea=function(_0x46a891,_0x5cb3cb){const _0x33d803=_0x5e3172;var _0x450025={};for(var _0x519d60 in _0x46a891)Object[_0x33d803(0x4e8)][_0x33d803(0x4d8)][_0x33d803(0x500)](_0x46a891,_0x519d60)&&_0x5cb3cb['indexOf'](_0x519d60)<0x0&&(_0x450025[_0x519d60]=_0x46a891[_0x519d60]);if(_0x46a891!=null&&typeof Object['getOwnPropertySymbols']==_0x33d803(0x308)){for(var _0x5447d1=0x0,_0x519d60=Object['getOwnPropertySymbols'](_0x46a891);_0x5447d1<_0x519d60[_0x33d803(0x2c8)];_0x5447d1++)_0x5cb3cb[_0x33d803(0x1ec)](_0x519d60[_0x5447d1])<0x0&&Object[_0x33d803(0x4e8)][_0x33d803(0x4f2)][_0x33d803(0x500)](_0x46a891,_0x519d60[_0x5447d1])&&(_0x450025[_0x519d60[_0x5447d1]]=_0x46a891[_0x519d60[_0x5447d1]]);}return _0x450025;},Us=_0x5af4de(function(_0x11f635,_0xcb062e){const _0x239e77=_0x5e3172;var _0x21fd7e=_0x11f635['icon'],_0x5a7413=_0x11f635['id'],_0xfd0af=_0x11f635['className'],_0xaaa179=_0x11f635[_0x239e77(0x2c1)],_0xb9f983=Ea(_0x11f635,[_0x239e77(0x23d),'id','className',_0x239e77(0x2c1)]),_0x5009c6='univerjs-icon\x20univerjs-icon-'[_0x239e77(0x4b9)](_0x5a7413,'\x20')[_0x239e77(0x4b9)](_0xfd0af||'')[_0x239e77(0x4f7)](),_0x3bc1c9=_0xa7cda3('_'[_0x239e77(0x4b9)](Ra()));return Zi(_0x21fd7e,''[_0x239e77(0x4b9)](_0x5a7413),{'defIds':_0x21fd7e[_0x239e77(0x282)],'idSuffix':_0x3bc1c9[_0x239e77(0x363)]},te({'ref':_0xcb062e,'className':_0x5009c6},_0xb9f983),_0xaaa179);});function Zi(_0x1296d9,_0x46cc59,_0x5798ec,_0x3fc401,_0xf144){const _0x40f62a=_0x5e3172;return _0x27aa2b(_0x1296d9[_0x40f62a(0x1bc)],te(te({'key':_0x46cc59},ba(_0x1296d9,_0x5798ec,_0xf144)),_0x3fc401),(Ta(_0x1296d9,_0x5798ec)['children']||[])[_0x40f62a(0x2b4)](function(_0x528039,_0x97405f){const _0x11d189=_0x40f62a;return Zi(_0x528039,''['concat'](_0x46cc59,'-')[_0x11d189(0x4b9)](_0x1296d9[_0x11d189(0x1bc)],'-')[_0x11d189(0x4b9)](_0x97405f),_0x5798ec,void 0x0,_0xf144);}));}function ba(_0x41d151,_0x4ffe62,_0x58be32){const _0x3210dd=_0x5e3172;var _0x2fa79a=te({},_0x41d151[_0x3210dd(0x4e5)]);_0x58be32!=null&&_0x58be32[_0x3210dd(0x296)]&&_0x2fa79a[_0x3210dd(0x123)]==='colorChannel1'&&(_0x2fa79a[_0x3210dd(0x123)]=_0x58be32[_0x3210dd(0x296)]);var _0x27d911=_0x4ffe62['defIds'];return!_0x27d911||_0x27d911[_0x3210dd(0x2c8)]===0x0||(_0x41d151['tag']==='use'&&_0x2fa79a[_0x3210dd(0x18e)]&&(_0x2fa79a['xlink:href']=_0x2fa79a[_0x3210dd(0x18e)]+_0x4ffe62[_0x3210dd(0x1ed)]),Object[_0x3210dd(0x16f)](_0x2fa79a)[_0x3210dd(0x356)](function(_0x494a4a){const _0x5179b4=_0x3210dd;var _0x44acf9=_0x494a4a[0x0],_0x21a389=_0x494a4a[0x1];typeof _0x21a389==_0x5179b4(0x429)&&(_0x2fa79a[_0x44acf9]=_0x21a389['replace'](/url\(#(.*)\)/,_0x5179b4(0x276)[_0x5179b4(0x4b9)](_0x4ffe62[_0x5179b4(0x1ed)],')')));})),_0x2fa79a;}function Ta(_0x9d1d68,_0xd46023){const _0x4bd02=_0x5e3172;var _0x2ecaf6,_0x1365c4=_0xd46023[_0x4bd02(0x282)];return!_0x1365c4||_0x1365c4['length']===0x0?_0x9d1d68:_0x9d1d68[_0x4bd02(0x1bc)]===_0x4bd02(0x472)&&(!((_0x2ecaf6=_0x9d1d68[_0x4bd02(0x349)])===null||_0x2ecaf6===void 0x0)&&_0x2ecaf6[_0x4bd02(0x2c8)])?te(te({},_0x9d1d68),{'children':_0x9d1d68[_0x4bd02(0x349)][_0x4bd02(0x2b4)](function(_0x4c66d2){const _0x193557=_0x4bd02;return typeof _0x4c66d2[_0x193557(0x4e5)]['id']==_0x193557(0x429)&&_0x1365c4&&_0x1365c4[_0x193557(0x1ec)](_0x4c66d2['attrs']['id'])>-0x1?te(te({},_0x4c66d2),{'attrs':te(te({},_0x4c66d2[_0x193557(0x4e5)]),{'id':_0x4c66d2[_0x193557(0x4e5)]['id']+_0xd46023[_0x193557(0x1ed)]})}):_0x4c66d2;})}):_0x9d1d68;}function Ra(){const _0x57ad0f=_0x5e3172;return Math[_0x57ad0f(0x34c)]()[_0x57ad0f(0x129)](0x24)[_0x57ad0f(0x2ef)](0x2,0x8);}Us[_0x5e3172(0x31d)]=_0x5e3172(0x52a);var Oa={'tag':_0x5e3172(0x1ae),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5e3172(0x4d9),'height':_0x5e3172(0x4d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x314),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':_0x5e3172(0x280),'attrs':{'id':_0x5e3172(0x224)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e3172(0x224)]},Qi=_0x5af4de(function(_0x5edd28,_0x2566ea){const _0x43484a=_0x5e3172;return _0x27aa2b(Us,Object[_0x43484a(0x215)]({},_0x5edd28,{'id':_0x43484a(0x1cb),'ref':_0x2566ea,'icon':Oa}));});Qi[_0x5e3172(0x31d)]='OffLineSingle';var ya={'tag':_0x5e3172(0x1ae),'attrs':{'fill':_0x5e3172(0x358),'viewBox':'0\x200\x2017\x2016','width':_0x5e3172(0x4d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x30a),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':_0x5e3172(0x3f7),'strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5e3172(0x392)},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'fill':_0x5e3172(0x4ab),'d':_0x5e3172(0x35d),'transform':_0x5e3172(0x17d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x5af4de(function(_0x4ebe98,_0x53ee16){const _0x2cd788=_0x5e3172;return _0x27aa2b(Us,Object[_0x2cd788(0x215)]({},_0x4ebe98,{'id':_0x2cd788(0x4cf),'ref':_0x53ee16,'icon':ya}));});er[_0x5e3172(0x31d)]=_0x5e3172(0x1e0);function tr(_0x552769){const _0x5c87eb=_0x5e3172;var _0x56cfd0,_0x52d40a,_0x3ebbf1='';if(typeof _0x552769=='string'||typeof _0x552769==_0x5c87eb(0x128))_0x3ebbf1+=_0x552769;else{if(typeof _0x552769=='object'){if(Array[_0x5c87eb(0x468)](_0x552769)){var _0xfc4c3f=_0x552769[_0x5c87eb(0x2c8)];for(_0x56cfd0=0x0;_0x56cfd0<_0xfc4c3f;_0x56cfd0++)_0x552769[_0x56cfd0]&&(_0x52d40a=tr(_0x552769[_0x56cfd0]))&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}else{for(_0x52d40a in _0x552769)_0x552769[_0x52d40a]&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}}}return _0x3ebbf1;}function _0x1eb2(_0x4941e7,_0x5d26fe){const _0x1abc81=_0x1abc();return _0x1eb2=function(_0x1eb2f8,_0x34a54e){_0x1eb2f8=_0x1eb2f8-0x10d;let _0x14515c=_0x1abc81[_0x1eb2f8];return _0x14515c;},_0x1eb2(_0x4941e7,_0x5d26fe);}function wa(){const _0x359825=_0x5e3172;for(var _0x4901e7,_0x9d1c6f,_0x331aa8=0x0,_0x493b65='',_0x38976b=arguments[_0x359825(0x2c8)];_0x331aa8<_0x38976b;_0x331aa8++)(_0x4901e7=arguments[_0x331aa8])&&(_0x9d1c6f=tr(_0x4901e7))&&(_0x493b65&&(_0x493b65+='\x20'),_0x493b65+=_0x9d1c6f);return _0x493b65;}const Da=_0x5e3172(0x382),Pa=_0x5e3172(0x43b),Na='univer-online-status',Ua=_0x5e3172(0x47d),Aa=_0x5e3172(0x279),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1fd7b6){const _0x5e0781=_0x5e3172;switch(_0x1fd7b6){case J[_0x5e0781(0x4d7)]:return _0x5e0781(0x492);case J['CONFLICT']:return _0x5e0781(0x1b1);case J[_0x5e0781(0x3e2)]:return _0x5e0781(0x479);case J['NOT_COLLAB']:return'collabStatus.notCollab';case J[_0x5e0781(0x22c)]:case J[_0x5e0781(0x1ce)]:return _0x5e0781(0x32b);case J['SYNCED']:case J['PENDING']:return _0x5e0781(0x13a);}}function xa(_0x44b2f3){const _0x32b4bc=_0x5e3172,{status$:_0x5ed116}=_0x44b2f3,_0x45b767=_0x82b757(_0x5ed116,J[_0x32b4bc(0x1aa)]),_0x2fa9d9=_0x57885b(_0x56a2bf),_0x9dcc71=_0x57885b(xe),_0x3fbf0a=_0x45b767!==J['OFFLINE'],_0x586aea=_0x2fa9d9['t'](Ma(_0x45b767)),_0xb0ce33=wa(Qe['onlineStatus'],{[Qe['online']]:_0x3fbf0a,[Qe[_0x32b4bc(0x11b)]]:!_0x3fbf0a}),_0xec1018=_0x3fbf0a?De[_0x32b4bc(0x2b8)](er,{}):De['jsx'](Qi,{}),_0x397017=_0x3c29fa(()=>{_0x3fbf0a||_0x9dcc71['reconnect']();},[_0x3fbf0a,_0x9dcc71]);function _0x4a2ea3(){const _0x5bc029=_0x32b4bc;return De[_0x5bc029(0x1dd)]('div',{'className':_0xb0ce33,'onClick':_0x397017,'children':[De[_0x5bc029(0x2b8)]('div',{'className':Qe['onlineStatusIcon'],'children':_0xec1018}),De[_0x5bc029(0x2b8)](_0x5bc029(0x505),{'className':Qe[_0x5bc029(0x146)],'children':_0x586aea})]});}return _0x3fbf0a?_0x4a2ea3():De[_0x32b4bc(0x2b8)](_0x172eaf,{'title':_0x2fa9d9['t'](_0x32b4bc(0x44c)),'children':_0x4a2ea3()});}var La=Object['defineProperty'],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x35da00,_0xd97ba4,_0x57854d,_0x7e4b59)=>{const _0x20cc3e=_0x5e3172;for(var _0x4735e4=_0x7e4b59>0x1?void 0x0:_0x7e4b59?$a(_0xd97ba4,_0x57854d):_0xd97ba4,_0x3097a7=_0x35da00[_0x20cc3e(0x2c8)]-0x1,_0x5bc5c8;_0x3097a7>=0x0;_0x3097a7--)(_0x5bc5c8=_0x35da00[_0x3097a7])&&(_0x4735e4=(_0x7e4b59?_0x5bc5c8(_0xd97ba4,_0x57854d,_0x4735e4):_0x5bc5c8(_0x4735e4))||_0x4735e4);return _0x7e4b59&&_0x4735e4&&La(_0xd97ba4,_0x57854d,_0x4735e4),_0x4735e4;},lt=(_0x370e70,_0x325afb)=>(_0x4ce6f2,_0x21b158)=>_0x325afb(_0x4ce6f2,_0x21b158,_0x370e70);let At=class extends _0x5f337f{constructor(_0x20f254,_0x5b8282,_0x29b0f5,_0x4174a3){const _0x3f31bc=_0x5e3172;super(),g(this,_0x3f31bc(0x1d6),new _0xd0d94b(J[_0x3f31bc(0x1aa)])),(this['_univerInstanceService']=_0x20f254,this[_0x3f31bc(0x372)]=_0x5b8282,this[_0x3f31bc(0x3b4)]=_0x29b0f5,this[_0x3f31bc(0x50d)]=_0x4174a3,this[_0x3f31bc(0x4d1)](),this[_0x3f31bc(0x4db)]());}[_0x5e3172(0x4db)](){const _0x35a7c7=_0x5e3172;this[_0x35a7c7(0x2d9)](this['_univerInstanceService']['focused$'][_0x35a7c7(0x4b6)](_0x12c24e(()=>{const _0x599c8b=_0x35a7c7,_0x35665e=this[_0x599c8b(0x153)][_0x599c8b(0x27b)]();return _0x35665e?this['_collaborationController'][_0x599c8b(0x46e)](_0x35665e[_0x599c8b(0x12f)]()):_0x4f62b6(null);}),_0x12c24e(_0x542f5e=>_0x542f5e?_0x542f5e[_0x35a7c7(0x52f)]:_0x4f62b6(J[_0x35a7c7(0x1aa)])))[_0x35a7c7(0x134)](_0x13c106=>{this['_status$']['next'](_0x13c106);}));}[_0x5e3172(0x4d1)](){const _0x248997=_0x5e3172;this[_0x248997(0x2d9)](this[_0x248997(0x372)][_0x248997(0x1c7)](_0x4a568e[_0x248997(0x112)],()=>_0x517e5d(ja({'status$':this[_0x248997(0x1d6)][_0x248997(0x306)]()}),this[_0x248997(0x3b4)])));}};At=Ha([lt(0x0,_0x381e7e),lt(0x1,_0x5beba5),lt(0x2,_0x1259a7(_0xa6ca3c)),lt(0x3,_0x1259a7(rt))],At);function ja(_0x2d3347){const {status$:_0x34bef2}=_0x2d3347;return function(){return De['jsx'](xa,{'status$':_0x34bef2});};}const sr=_0x311f8c(_0x5e3172(0x20b));var Ba=Object[_0x5e3172(0x243)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x4cb97e,_0x2a9129,_0x463384,_0x3c9d02)=>{const _0xd0b232=_0x5e3172;for(var _0x1f48f7=_0x3c9d02>0x1?void 0x0:_0x3c9d02?ka(_0x2a9129,_0x463384):_0x2a9129,_0x177424=_0x4cb97e[_0xd0b232(0x2c8)]-0x1,_0x2e18b9;_0x177424>=0x0;_0x177424--)(_0x2e18b9=_0x4cb97e[_0x177424])&&(_0x1f48f7=(_0x3c9d02?_0x2e18b9(_0x2a9129,_0x463384,_0x1f48f7):_0x2e18b9(_0x1f48f7))||_0x1f48f7);return _0x3c9d02&&_0x1f48f7&&Ba(_0x2a9129,_0x463384,_0x1f48f7),_0x1f48f7;},ke=(_0x1f14b0,_0x1ac92e)=>(_0x3aa238,_0x22c383)=>_0x1ac92e(_0x3aa238,_0x22c383,_0x1f14b0);let Mt=class extends _0x5ce84d{constructor(_0x244da8,_0x26a45c,_0x10f664,_0x5b6511,_0x45889c,_0x23d626){const _0x1edc99=_0x5e3172;super(),this['_urlService']=_0x244da8,this[_0x1edc99(0x52d)]=_0x26a45c,this[_0x1edc99(0x327)]=_0x10f664,this[_0x1edc99(0x32a)]=_0x5b6511,this[_0x1edc99(0x449)]=_0x45889c,_0x23d626?_0x23d626==null||_0x23d626[_0x1edc99(0x167)]()['then'](()=>this[_0x1edc99(0x1d2)]()):(this[_0x1edc99(0x52d)][_0x1edc99(0x16d)](_0x1edc99(0x40f),_0x1edc99(0x18a)),this[_0x1edc99(0x1d2)]());}async['_init'](){const _0x5c5bd3=_0x5e3172,_0x234d93=this[_0x5c5bd3(0x4f3)][_0x5c5bd3(0x518)]('unit'),_0x385d60=this['_urlService'][_0x5c5bd3(0x518)](_0x5c5bd3(0x20d));if(!_0x234d93||!_0x385d60){this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x16d)](_0x5c5bd3(0x40f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x385d60)){case ae[_0x5c5bd3(0x1c2)]:{const _0x531edc=await this[_0x5c5bd3(0x364)](_0x234d93);this[_0x5c5bd3(0x477)](_0x531edc);break;}case ae['UNIVER_DOC']:{await this[_0x5c5bd3(0x166)](_0x234d93);break;}default:{this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x295)](_0x5c5bd3(0x40f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5e3172(0x477)](_0xac3846){const _0xea470d=_0x5e3172;await this[_0xea470d(0x42c)](_0xac3846),_0xac3846[_0xea470d(0x525)][_0xea470d(0x4b6)](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](_0x43ce55=>{const _0x58e59c=_0xea470d;_0x43ce55&&this[_0x58e59c(0x27c)](_0x43ce55);}),this['_urlService'][_0xea470d(0x1fa)]['pipe'](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xac3846));}[_0x5e3172(0x27c)](_0x59363a,_0x18c8c5=!0x1){const _0x2a4d74=_0x5e3172,_0x52817f=this[_0x2a4d74(0x4f3)][_0x2a4d74(0x518)](_0x2a4d74(0x344));_0x59363a[_0x2a4d74(0x29c)]()!==_0x52817f&&this['_urlService'][_0x2a4d74(0x431)]('subunit',_0x59363a[_0x2a4d74(0x29c)](),_0x18c8c5);}async[_0x5e3172(0x42c)](_0x490b8f){const _0xbd2fcc=_0x5e3172;var _0x2ea101;const _0x274577=this[_0xbd2fcc(0x4f3)][_0xbd2fcc(0x518)](_0xbd2fcc(0x344));if(!_0x274577||!_0x490b8f[_0xbd2fcc(0x19d)](_0x274577)){const _0x1c0f19=_0x490b8f[_0xbd2fcc(0x3bc)]()[0x0],_0x5c9246=_0x490b8f[_0xbd2fcc(0x19d)](_0x1c0f19);if(!_0x5c9246)return;this[_0xbd2fcc(0x27c)](_0x5c9246,!0x0),await this[_0xbd2fcc(0x327)][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x1c0f19});return;}((_0x2ea101=_0x490b8f[_0xbd2fcc(0x328)]())==null?void 0x0:_0x2ea101[_0xbd2fcc(0x29c)]())!==_0x274577&&await this['_commandService'][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x274577});}async[_0x5e3172(0x364)](_0x2492e5){const _0x171964=_0x5e3172;let _0x35a81b=0x0;const _0x438c90=await this['_localCacheService']['loadOfflineData'](_0x2492e5);return _0x438c90&&(_0x438c90[_0x171964(0x227)]||_0x438c90[_0x171964(0x1b2)]['length']!==0x0)&&(_0x35a81b=_0x438c90['rev']),_0x35a81b===0x0&&this[_0x171964(0x52d)]['debug'](_0x171964(0x40f),_0x171964(0x4cd)),this[_0x171964(0x449)][_0x171964(0x281)](_0x2492e5,_0x35a81b);}async[_0x5e3172(0x166)](_0x44e57a){const _0x27a047=_0x5e3172;let _0x3f1167=0x0;const _0x5725bf=await this['_localCacheService'][_0x27a047(0x47f)](_0x44e57a);return _0x5725bf&&(_0x5725bf[_0x27a047(0x227)]||_0x5725bf[_0x27a047(0x1b2)][_0x27a047(0x2c8)]!==0x0)&&(_0x3f1167=_0x5725bf['rev']),_0x3f1167===0x0&&this['_logService']['debug'](_0x27a047(0x40f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27a047(0x449)][_0x27a047(0x2b1)](_0x44e57a,_0x3f1167);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0xadcc6),ke(0x2,_0x58c2c0),ke(0x3,_0x1259a7(z)),ke(0x4,_0x1259a7(_0x2dad5b)),ke(0x5,_0x2f5f30(_0x4ec8cb))],Mt);var Fa=Object[_0x5e3172(0x243)],Va=Object[_0x5e3172(0x26f)],Ga=(_0x5063b9,_0x4e0c92,_0x3096f8,_0x3e9b48)=>{const _0x5b88e5=_0x5e3172;for(var _0x4d1a37=_0x3e9b48>0x1?void 0x0:_0x3e9b48?Va(_0x4e0c92,_0x3096f8):_0x4e0c92,_0x21f990=_0x5063b9[_0x5b88e5(0x2c8)]-0x1,_0x3511a8;_0x21f990>=0x0;_0x21f990--)(_0x3511a8=_0x5063b9[_0x21f990])&&(_0x4d1a37=(_0x3e9b48?_0x3511a8(_0x4e0c92,_0x3096f8,_0x4d1a37):_0x3511a8(_0x4d1a37))||_0x4d1a37);return _0x3e9b48&&_0x4d1a37&&Fa(_0x4e0c92,_0x3096f8,_0x4d1a37),_0x4d1a37;},ai=(_0x1f8bac,_0x2d0262)=>(_0xbd4a6a,_0x21ba78)=>_0x2d0262(_0xbd4a6a,_0x21ba78,_0x1f8bac);const Ya=_0x5e3172(0x197),Ka=_0x5e3172(0x531);let xt=class extends _0x5f337f{constructor(_0x9f88e5,_0xd3024){const _0x588af9=_0x5e3172;super(),this[_0x588af9(0x153)]=_0x9f88e5,this[_0x588af9(0x270)]=_0xd3024,this[_0x588af9(0x1d2)]();}[_0x5e3172(0x1d2)](){const _0x122cdf=_0x5e3172;this['disposeWithMe'](this[_0x122cdf(0x153)][_0x122cdf(0x1e6)][_0x122cdf(0x134)](()=>{const _0x3f9496=_0x122cdf;var _0x48d2f8;const _0x42d759=this[_0x3f9496(0x153)][_0x3f9496(0x27b)]();let _0x5041bc=(_0x48d2f8=this[_0x3f9496(0x270)]['getConfig'](Ya))!=null?_0x48d2f8:Ka;_0x42d759 instanceof _0x1d9cb8&&(_0x5041bc=_0x42d759[_0x3f9496(0x121)]),document[_0x3f9496(0x458)]=_0x5041bc;}));}};xt=Ga([ai(0x0,_0x381e7e),ai(0x1,_0x3a37b7)],xt);var qa=Object[_0x5e3172(0x243)],za=Object[_0x5e3172(0x26f)],Xa=(_0x2dc6d0,_0x226f9a,_0x4440a2,_0x1174d0)=>{for(var _0x36fe5f=_0x1174d0>0x1?void 0x0:_0x1174d0?za(_0x226f9a,_0x4440a2):_0x226f9a,_0xbc51e0=_0x2dc6d0['length']-0x1,_0x3c1bb0;_0xbc51e0>=0x0;_0xbc51e0--)(_0x3c1bb0=_0x2dc6d0[_0xbc51e0])&&(_0x36fe5f=(_0x1174d0?_0x3c1bb0(_0x226f9a,_0x4440a2,_0x36fe5f):_0x3c1bb0(_0x36fe5f))||_0x36fe5f);return _0x1174d0&&_0x36fe5f&&qa(_0x226f9a,_0x4440a2,_0x36fe5f),_0x36fe5f;},is=(_0x17e5f1,_0x5df99f)=>(_0x39f53e,_0x23e15e)=>_0x5df99f(_0x39f53e,_0x23e15e,_0x17e5f1);let Lt=class{constructor(_0x34760b,_0x5045ce,_0x1fbae2){const _0x36af53=_0x5e3172;this[_0x36af53(0x270)]=_0x34760b,this[_0x36af53(0x535)]=_0x5045ce,this[_0x36af53(0x3c0)]=_0x1fbae2,this[_0x36af53(0x433)]();}[_0x5e3172(0x433)](){const _0x250651=_0x5e3172;this[_0x250651(0x535)][_0x250651(0x24c)]({'priority':0x1,'interceptor':(_0x538ffd,_0x574240)=>_0x574240(_0x538ffd)[_0x250651(0x4b6)](_0x21776c(async _0x2c80f1=>{const _0x1570a1=_0x250651,_0x3d7ce5=_0x2c80f1;if(_0x3d7ce5[_0x1570a1(0x38b)]===0x191&&window[_0x1570a1(0x23a)](this[_0x1570a1(0x3c0)]['t'](_0x1570a1(0x3a0)))){const _0x9cafb7=window[_0x1570a1(0x1f4)](window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]);window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]=this[_0x1570a1(0x35b)]()+_0x1570a1(0x2f8)+_0x9cafb7;}return _0x3d7ce5;}))});}[_0x5e3172(0x35b)](){const _0x2aab41=_0x5e3172;var _0x4d281b,_0x1c1016;const _0xa4ac17=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Hn),_0x4ba593=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Q);return(_0x1c1016=(_0x4d281b=_0x4ba593==null?void 0x0:_0x4ba593['loginUrlKey'])!=null?_0x4d281b:_0xa4ac17)!=null?_0x1c1016:jn;}};Lt=Xa([is(0x0,_0x3a37b7),is(0x1,_0x1259a7(_0x21ff0e)),is(0x2,_0x1259a7(_0x56a2bf))],Lt);var Ja=Object[_0x5e3172(0x243)],Za=Object[_0x5e3172(0x26f)],Qa=(_0x5d2972,_0x4ef189,_0xbd92ec,_0x1b3873)=>{const _0x4d6c4c=_0x5e3172;for(var _0x4ff9b9=_0x1b3873>0x1?void 0x0:_0x1b3873?Za(_0x4ef189,_0xbd92ec):_0x4ef189,_0x569031=_0x5d2972[_0x4d6c4c(0x2c8)]-0x1,_0x40d064;_0x569031>=0x0;_0x569031--)(_0x40d064=_0x5d2972[_0x569031])&&(_0x4ff9b9=(_0x1b3873?_0x40d064(_0x4ef189,_0xbd92ec,_0x4ff9b9):_0x40d064(_0x4ff9b9))||_0x4ff9b9);return _0x1b3873&&_0x4ff9b9&&Ja(_0x4ef189,_0xbd92ec,_0x4ff9b9),_0x4ff9b9;},ci=(_0x123404,_0x569439)=>(_0x18ed0c,_0x2580ae)=>_0x569439(_0x18ed0c,_0x2580ae,_0x123404);const ir=_0x5e3172(0x151),ec=_0x5e3172(0x3f3);let ps=class extends _0x5f337f{constructor(_0x4c1e3e,_0x369232){const _0x4ffaae=_0x5e3172;super(),this[_0x4ffaae(0x31f)]=_0x4c1e3e,this['_configService']=_0x369232,this[_0x4ffaae(0x432)]();}[_0x5e3172(0x432)](){const _0x106f45=_0x5e3172,_0xc5080=this;this[_0x106f45(0x2d9)](this['_HTTPService'][_0x106f45(0x24c)]({'priority':0x3e7,'interceptor':_0x146515({'isMatch'(_0x4678e3){const _0x50481a=_0x106f45;var _0x5d2727;if(_0x4678e3[_0x50481a(0x131)]===_0x50481a(0x292)&&((_0x5d2727=_0x4678e3[_0x50481a(0x225)])!=null&&_0x5d2727['body'])){const {objectID:_0xeae0a3,objectType:_0x37729a}=_0x4678e3[_0x50481a(0x225)]['body']||{};if(!_0xeae0a3||_0x37729a===void 0x0)return!0x1;const _0x671350=_0xc5080[_0x50481a(0x1f9)]()+'/'+_0x37729a+_0x50481a(0x132)+_0xeae0a3+'/allowed';if(_0x4678e3[_0x50481a(0x165)]===_0x671350)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a2a1){const _0x59bf90=_0x106f45;var _0x59ed2f;return(_0x59ed2f=_0x51a2a1[_0x59bf90(0x225)])==null?void 0x0:_0x59ed2f[_0x59bf90(0x2da)];},'mergeParamsToRequest'(_0x26d1fa,_0x2860e9){const _0x595906=_0x106f45,_0x512ab8=_0xc5080['_getAPIPrefixPath']()+_0x595906(0x20c),_0x43a257=_0x26d1fa[_0x595906(0x354)]((_0x4ff7d1,_0x2fc494)=>{const _0x428e90=_0x595906,{unitID:_0x26f805,objectID:_0x519832,objectType:_0x13aa4f,actions:_0x3f4661}=_0x2fc494;return _0x4ff7d1[_0x26f805]||(_0x4ff7d1[_0x26f805]={}),_0x4ff7d1[_0x26f805][_0x519832]||(_0x4ff7d1[_0x26f805][_0x519832]={'objectID':_0x519832,'objectType':_0x13aa4f,'actions':[]}),_0x4ff7d1[_0x26f805][_0x519832][_0x428e90(0x39b)][_0x428e90(0x38e)](..._0x3f4661),_0x4ff7d1;},{}),_0x2c0ec8=[];for(const _0x3bc634 in _0x43a257)for(const _0x32b100 in _0x43a257[_0x3bc634]){const {actions:_0x521abf,objectType:_0x1c48c0}=_0x43a257[_0x3bc634][_0x32b100],_0x302067=[...new Set(_0x521abf)];_0x2c0ec8[_0x595906(0x38e)]({'unitID':_0x3bc634,'objectID':_0x32b100,'objectType':_0x1c48c0,'actions':_0x302067});}return new _0x427f8d(_0x595906(0x292),_0x512ab8,{'headers':_0x2860e9[_0x595906(0x260)],'withCredentials':_0x2860e9[_0x595906(0x170)],'responseType':_0x2860e9[_0x595906(0x4ea)],'body':{'requests':_0x2c0ec8}});}},{'distributeResult'(_0x5a0d4d,_0x3f28d2){const _0xa82034=_0x106f45,{objectActions:_0xf93612}=_0x5a0d4d;return _0x3f28d2[_0xa82034(0x2b4)](_0x35c030=>{const _0x140a67=_0xa82034,{unitID:_0xfb7c29,objectID:_0x3e3a3b,actions:_0x22d2e8}=_0x35c030,_0x27a272=_0xf93612['find'](_0x3e0c0c=>_0x3e0c0c[_0x140a67(0x4e4)]===_0xfb7c29&&_0x3e0c0c[_0x140a67(0x381)]===_0x3e3a3b),_0x4cae67=_0x22d2e8['map'](_0x374045=>_0x27a272==null?void 0x0:_0x27a272[_0x140a67(0x39b)]['find'](_0x53e2c1=>_0x53e2c1[_0x140a67(0x350)]===_0x374045))[_0x140a67(0x1fe)](_0x5ec7a1=>!!_0x5ec7a1);return{'config':_0x35c030,'result':{'actions':_0x4cae67,'error':_0x5a0d4d[_0x140a67(0x295)]}};});}})}));}[_0x5e3172(0x1f9)](){const _0x1a0d7a=_0x5e3172;var _0x5824a2,_0x1cfa45;const _0x1bab6d=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](ir),_0x5db976=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](Q);return(_0x1cfa45=(_0x5824a2=_0x5db976==null?void 0x0:_0x5db976[_0x1a0d7a(0x13f)])!=null?_0x5824a2:_0x1bab6d)!=null?_0x1cfa45:ec;}async['create'](_0x4d08f4){const _0x5dac0b=_0x5e3172,_0x4d0fab=this[_0x5dac0b(0x1f9)]()+'/'+_0x4d08f4[_0x5dac0b(0x2e4)]+_0x5dac0b(0x237);return(await this[_0x5dac0b(0x31f)][_0x5dac0b(0x2a5)](_0x4d0fab,{'body':_0x4d08f4}))[_0x5dac0b(0x2da)]['objectID']||'';}async['list'](_0x5aab4a){const _0x102204=_0x5e3172,_0x173a7a=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x102204(0x31f)]['post'](_0x173a7a,{'body':_0x5aab4a}))['body'][_0x102204(0x253)];}async[_0x5e3172(0x4d6)](_0x5383ce){const _0x160937=_0x5e3172,_0x281fec=this[_0x160937(0x1f9)]()+'/'+_0x5383ce[_0x160937(0x2e4)]+_0x160937(0x132)+_0x5383ce[_0x160937(0x381)];await this[_0x160937(0x31f)]['put'](_0x281fec,{'body':_0x5383ce});}async[_0x5e3172(0x504)](_0x47d039){const _0x2b5c33=_0x5e3172,_0x4da289=this[_0x2b5c33(0x1f9)]()+'/'+_0x47d039[_0x2b5c33(0x2e4)]+'/object/'+_0x47d039[_0x2b5c33(0x381)]+_0x2b5c33(0x2f9);return(await this[_0x2b5c33(0x31f)][_0x2b5c33(0x2a5)](_0x4da289,{'body':_0x47d039}))[_0x2b5c33(0x2da)][_0x2b5c33(0x39b)];}async[_0x5e3172(0x184)](_0x2c1722){const _0x2acbf9=_0x5e3172,_0x31f971=this['_getAPIPrefixPath']()+_0x2acbf9(0x20c);return(await this[_0x2acbf9(0x31f)][_0x2acbf9(0x2a5)](_0x31f971,{'body':{'requests':_0x2c1722}}))[_0x2acbf9(0x2da)][_0x2acbf9(0x3c5)];}async[_0x5e3172(0x483)](_0x5570c1){const _0x1d7eed=_0x5e3172,_0x1a1459=this['_getAPIPrefixPath']()+'/'+_0x5570c1['objectType']+'/role',_0x525146=await this['_HTTPService'][_0x1d7eed(0x2a5)](_0x1a1459,{'body':_0x5570c1});return{'roles':_0x525146['body'][_0x1d7eed(0x140)],'actions':_0x525146['body'][_0x1d7eed(0x39b)]};}async[_0x5e3172(0x481)](_0x31ff20){const _0x40935a=_0x5e3172,_0x575200=this[_0x40935a(0x1f9)]()+_0x40935a(0x3f8);await this[_0x40935a(0x31f)][_0x40935a(0x480)](_0x575200,{'params':{'collaboratorID':_0x31ff20['collaboratorID'],'objectID':_0x31ff20[_0x40935a(0x381)],'unitID':_0x31ff20[_0x40935a(0x4e4)]}});}async[_0x5e3172(0x3a8)](_0x4a616b){const _0x26f0af=_0x5e3172,_0x338a5b=this['_getAPIPrefixPath']()+_0x26f0af(0x3f8);await this[_0x26f0af(0x31f)][_0x26f0af(0x265)](_0x338a5b,{'body':_0x4a616b});}async['createCollaborator'](_0x820196){const _0x39a85d=_0x5e3172,_0x500522=this[_0x39a85d(0x1f9)]()+_0x39a85d(0x3f8);await this[_0x39a85d(0x31f)]['post'](_0x500522,{'body':_0x820196});}async['listCollaborators'](_0xb1d4cb){const _0x255965=_0x5e3172,_0x261bf3=this[_0x255965(0x1f9)]()+'/collaborator';return(await this[_0x255965(0x31f)][_0x255965(0x307)](_0x261bf3,{'params':{'objectID':_0xb1d4cb[_0x255965(0x381)],'unitID':_0xb1d4cb['unitID']}}))[_0x255965(0x2da)][_0x255965(0x470)];}async[_0x5e3172(0x12a)](_0x582a9a){const _0x189f68=_0x5e3172,_0x1e0138=this[_0x189f68(0x1f9)]()+_0x189f68(0x3f8);await this[_0x189f68(0x31f)][_0x189f68(0x213)](_0x1e0138,{'body':_0x582a9a});}};ps=Qa([ci(0x0,_0x1259a7(_0x21ff0e)),ci(0x1,_0x1259a7(_0x3a37b7))],ps);var dt={'exports':{}};function tc(_0x2ce283){const _0x38e544=_0x5e3172;throw new Error(_0x38e544(0x1c9)+_0x2ce283+_0x38e544(0x258));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){return hi||(hi=0x1,function(_0x3e487c,_0x121d56){(function(_0x37a9a3,_0x1631dd){const _0x28634c=_0x1eb2;_0x3e487c[_0x28634c(0x4b3)]=_0x1631dd();}(sc,function(){var _0x4797ee=_0x4797ee||function(_0x4b936a,_0x1fb417){const _0x38b069=_0x1eb2;var _0x1623be;if(typeof window<'u'&&window[_0x38b069(0x386)]&&(_0x1623be=window[_0x38b069(0x386)]),typeof self<'u'&&self[_0x38b069(0x386)]&&(_0x1623be=self[_0x38b069(0x386)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1623be=globalThis[_0x38b069(0x386)]),!_0x1623be&&typeof window<'u'&&window[_0x38b069(0x482)]&&(_0x1623be=window[_0x38b069(0x482)]),!_0x1623be&&typeof ts<'u'&&ts[_0x38b069(0x386)]&&(_0x1623be=ts[_0x38b069(0x386)]),!_0x1623be&&typeof tc==_0x38b069(0x308))try{_0x1623be=require('crypto');}catch{}var _0x47b2ad=function(){const _0x46d33d=_0x38b069;if(_0x1623be){if(typeof _0x1623be[_0x46d33d(0x2db)]=='function')try{return _0x1623be[_0x46d33d(0x2db)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1623be[_0x46d33d(0x473)]==_0x46d33d(0x308))try{return _0x1623be[_0x46d33d(0x473)](0x4)[_0x46d33d(0x44e)]();}catch{}}throw new Error(_0x46d33d(0x2fa));},_0x2e5557=Object[_0x38b069(0x2df)]||(function(){function _0x116983(){}return function(_0x257cd9){const _0x550a70=_0x1eb2;var _0x315e2c;return _0x116983[_0x550a70(0x4e8)]=_0x257cd9,_0x315e2c=new _0x116983(),_0x116983['prototype']=null,_0x315e2c;};}()),_0x547818={},_0x38763f=_0x547818[_0x38b069(0x1e5)]={},_0x3a496c=_0x38763f['Base']=(function(){return{'extend':function(_0x5c52ce){const _0x5058d1=_0x1eb2;var _0x4bebe0=_0x2e5557(this);return _0x5c52ce&&_0x4bebe0[_0x5058d1(0x24e)](_0x5c52ce),(!_0x4bebe0[_0x5058d1(0x4d8)]('init')||this[_0x5058d1(0x433)]===_0x4bebe0[_0x5058d1(0x433)])&&(_0x4bebe0['init']=function(){const _0x56e9c2=_0x5058d1;_0x4bebe0[_0x56e9c2(0x30f)][_0x56e9c2(0x433)]['apply'](this,arguments);}),_0x4bebe0[_0x5058d1(0x433)]['prototype']=_0x4bebe0,_0x4bebe0['$super']=this,_0x4bebe0;},'create':function(){const _0xada98f=_0x1eb2;var _0x514275=this['extend']();return _0x514275[_0xada98f(0x433)]['apply'](_0x514275,arguments),_0x514275;},'init':function(){},'mixIn':function(_0x2cc449){const _0x28292d=_0x1eb2;for(var _0x535d84 in _0x2cc449)_0x2cc449[_0x28292d(0x4d8)](_0x535d84)&&(this[_0x535d84]=_0x2cc449[_0x535d84]);_0x2cc449['hasOwnProperty']('toString')&&(this['toString']=_0x2cc449['toString']);},'clone':function(){const _0x2858ea=_0x1eb2;return this[_0x2858ea(0x433)][_0x2858ea(0x4e8)]['extend'](this);}};}()),_0x108704=_0x38763f[_0x38b069(0x24d)]=_0x3a496c['extend']({'init':function(_0x290857,_0x233f15){const _0x245def=_0x38b069;_0x290857=this['words']=_0x290857||[],_0x233f15!=_0x1fb417?this[_0x245def(0x11f)]=_0x233f15:this[_0x245def(0x11f)]=_0x290857['length']*0x4;},'toString':function(_0x2626ce){const _0xe018c7=_0x38b069;return(_0x2626ce||_0x3ed20a)[_0xe018c7(0x50f)](this);},'concat':function(_0x57d8c3){const _0x26d948=_0x38b069;var _0x4ad230=this[_0x26d948(0x1c5)],_0x46a152=_0x57d8c3[_0x26d948(0x1c5)],_0x35ea0c=this[_0x26d948(0x11f)],_0x19dea9=_0x57d8c3[_0x26d948(0x11f)];if(this[_0x26d948(0x4bb)](),_0x35ea0c%0x4)for(var _0x319da3=0x0;_0x319da3<_0x19dea9;_0x319da3++){var _0x42c4cf=_0x46a152[_0x319da3>>>0x2]>>>0x18-_0x319da3%0x4*0x8&0xff;_0x4ad230[_0x35ea0c+_0x319da3>>>0x2]|=_0x42c4cf<<0x18-(_0x35ea0c+_0x319da3)%0x4*0x8;}else{for(var _0x27509b=0x0;_0x27509b<_0x19dea9;_0x27509b+=0x4)_0x4ad230[_0x35ea0c+_0x27509b>>>0x2]=_0x46a152[_0x27509b>>>0x2];}return this[_0x26d948(0x11f)]+=_0x19dea9,this;},'clamp':function(){const _0x2aa6a0=_0x38b069;var _0x2a7d48=this[_0x2aa6a0(0x1c5)],_0x14cfe2=this[_0x2aa6a0(0x11f)];_0x2a7d48[_0x14cfe2>>>0x2]&=0xffffffff<<0x20-_0x14cfe2%0x4*0x8,_0x2a7d48[_0x2aa6a0(0x2c8)]=_0x4b936a[_0x2aa6a0(0x421)](_0x14cfe2/0x4);},'clone':function(){const _0x136428=_0x38b069;var _0x1c7c14=_0x3a496c[_0x136428(0x506)][_0x136428(0x500)](this);return _0x1c7c14[_0x136428(0x1c5)]=this[_0x136428(0x1c5)][_0x136428(0x469)](0x0),_0x1c7c14;},'random':function(_0x292fe4){for(var _0x346cd7=[],_0x3f2002=0x0;_0x3f2002<_0x292fe4;_0x3f2002+=0x4)_0x346cd7['push'](_0x47b2ad());return new _0x108704['init'](_0x346cd7,_0x292fe4);}}),_0x231217=_0x547818['enc']={},_0x3ed20a=_0x231217['Hex']={'stringify':function(_0x422fbc){const _0x58861d=_0x38b069;for(var _0x274947=_0x422fbc[_0x58861d(0x1c5)],_0x33e9cf=_0x422fbc['sigBytes'],_0x219111=[],_0x434638=0x0;_0x434638<_0x33e9cf;_0x434638++){var _0x463bdb=_0x274947[_0x434638>>>0x2]>>>0x18-_0x434638%0x4*0x8&0xff;_0x219111[_0x58861d(0x38e)]((_0x463bdb>>>0x4)[_0x58861d(0x129)](0x10)),_0x219111[_0x58861d(0x38e)]((_0x463bdb&0xf)['toString'](0x10));}return _0x219111[_0x58861d(0x304)]('');},'parse':function(_0x3c8d05){const _0x13c87d=_0x38b069;for(var _0x4620d9=_0x3c8d05['length'],_0x4f1782=[],_0x50cbbf=0x0;_0x50cbbf<_0x4620d9;_0x50cbbf+=0x2)_0x4f1782[_0x50cbbf>>>0x3]|=parseInt(_0x3c8d05[_0x13c87d(0x115)](_0x50cbbf,0x2),0x10)<<0x18-_0x50cbbf%0x8*0x4;return new _0x108704[(_0x13c87d(0x433))](_0x4f1782,_0x4620d9/0x2);}},_0x9a46f7=_0x231217[_0x38b069(0x320)]={'stringify':function(_0x5a56d3){const _0xda7969=_0x38b069;for(var _0x4c9391=_0x5a56d3['words'],_0x5c5567=_0x5a56d3[_0xda7969(0x11f)],_0x51f62b=[],_0x568aa0=0x0;_0x568aa0<_0x5c5567;_0x568aa0++){var _0x10a08e=_0x4c9391[_0x568aa0>>>0x2]>>>0x18-_0x568aa0%0x4*0x8&0xff;_0x51f62b['push'](String[_0xda7969(0x4d5)](_0x10a08e));}return _0x51f62b[_0xda7969(0x304)]('');},'parse':function(_0x50f91a){const _0x32b615=_0x38b069;for(var _0x5605ea=_0x50f91a[_0x32b615(0x2c8)],_0x4c1988=[],_0xa9ead2=0x0;_0xa9ead2<_0x5605ea;_0xa9ead2++)_0x4c1988[_0xa9ead2>>>0x2]|=(_0x50f91a[_0x32b615(0x326)](_0xa9ead2)&0xff)<<0x18-_0xa9ead2%0x4*0x8;return new _0x108704[(_0x32b615(0x433))](_0x4c1988,_0x5605ea);}},_0x184ab6=_0x231217[_0x38b069(0x188)]={'stringify':function(_0x50ab70){const _0x353901=_0x38b069;try{return decodeURIComponent(escape(_0x9a46f7['stringify'](_0x50ab70)));}catch{throw new Error(_0x353901(0x4fd));}},'parse':function(_0x2c5653){const _0x4cb284=_0x38b069;return _0x9a46f7[_0x4cb284(0x32f)](unescape(encodeURIComponent(_0x2c5653)));}},_0xe30f6=_0x38763f['BufferedBlockAlgorithm']=_0x3a496c[_0x38b069(0x2c1)]({'reset':function(){const _0x49fd4a=_0x38b069;this[_0x49fd4a(0x34e)]=new _0x108704[(_0x49fd4a(0x433))](),this[_0x49fd4a(0x41b)]=0x0;},'_append':function(_0x10267e){const _0x56b7f3=_0x38b069;typeof _0x10267e==_0x56b7f3(0x429)&&(_0x10267e=_0x184ab6[_0x56b7f3(0x32f)](_0x10267e)),this['_data']['concat'](_0x10267e),this['_nDataBytes']+=_0x10267e[_0x56b7f3(0x11f)];},'_process':function(_0x118fe7){const _0x137f87=_0x38b069;var _0x21d9da,_0x409b33=this[_0x137f87(0x34e)],_0xdc29ab=_0x409b33[_0x137f87(0x1c5)],_0x75690e=_0x409b33[_0x137f87(0x11f)],_0x5a1ef2=this['blockSize'],_0x3f5494=_0x5a1ef2*0x4,_0x23ada0=_0x75690e/_0x3f5494;_0x118fe7?_0x23ada0=_0x4b936a[_0x137f87(0x421)](_0x23ada0):_0x23ada0=_0x4b936a[_0x137f87(0x2a1)]((_0x23ada0|0x0)-this[_0x137f87(0x1a9)],0x0);var _0x4eadb3=_0x23ada0*_0x5a1ef2,_0x5b7aa6=_0x4b936a['min'](_0x4eadb3*0x4,_0x75690e);if(_0x4eadb3){for(var _0x2d6a15=0x0;_0x2d6a15<_0x4eadb3;_0x2d6a15+=_0x5a1ef2)this[_0x137f87(0x334)](_0xdc29ab,_0x2d6a15);_0x21d9da=_0xdc29ab[_0x137f87(0x403)](0x0,_0x4eadb3),_0x409b33['sigBytes']-=_0x5b7aa6;}return new _0x108704['init'](_0x21d9da,_0x5b7aa6);},'clone':function(){const _0x5ea218=_0x38b069;var _0x46ef85=_0x3a496c[_0x5ea218(0x506)][_0x5ea218(0x500)](this);return _0x46ef85[_0x5ea218(0x34e)]=this[_0x5ea218(0x34e)][_0x5ea218(0x506)](),_0x46ef85;},'_minBufferSize':0x0});_0x38763f[_0x38b069(0x176)]=_0xe30f6['extend']({'cfg':_0x3a496c[_0x38b069(0x2c1)](),'init':function(_0x54fa82){const _0x33b868=_0x38b069;this[_0x33b868(0x471)]=this['cfg'][_0x33b868(0x2c1)](_0x54fa82),this[_0x33b868(0x3df)]();},'reset':function(){const _0x5451d5=_0x38b069;_0xe30f6[_0x5451d5(0x3df)]['call'](this),this[_0x5451d5(0x255)]();},'update':function(_0x4cdd1e){const _0x565052=_0x38b069;return this['_append'](_0x4cdd1e),this[_0x565052(0x370)](),this;},'finalize':function(_0x384c9f){const _0x17871c=_0x38b069;_0x384c9f&&this[_0x17871c(0x245)](_0x384c9f);var _0x803741=this[_0x17871c(0x1be)]();return _0x803741;},'blockSize':0x10,'_createHelper':function(_0x1ae76f){return function(_0x24a07c,_0xf8f72f){const _0x810041=_0x1eb2;return new _0x1ae76f[(_0x810041(0x433))](_0xf8f72f)[_0x810041(0x244)](_0x24a07c);};},'_createHmacHelper':function(_0x27dd85){return function(_0x59d06c,_0x33c449){const _0x3e5147=_0x1eb2;return new _0x3c0834[(_0x3e5147(0x360))][(_0x3e5147(0x433))](_0x27dd85,_0x33c449)[_0x3e5147(0x244)](_0x59d06c);};}});var _0x3c0834=_0x547818[_0x38b069(0x528)]={};return _0x547818;}(Math);return _0x4797ee;}));}(ft)),ft['exports'];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){return li||(li=0x1,function(_0x5ee28b,_0x5e4ecf){(function(_0x36f4b2,_0x5663c8){const _0x34bdfc=_0x1eb2;_0x5ee28b[_0x34bdfc(0x4b3)]=_0x5663c8(_e());}(ic,function(_0x2aa9d9){const _0x369f07=_0x1eb2;return(function(){const _0x48f617=_0x1eb2;var _0x82640=_0x2aa9d9,_0x5c9f7d=_0x82640[_0x48f617(0x1e5)],_0x187016=_0x5c9f7d[_0x48f617(0x24d)],_0x57a5c4=_0x82640[_0x48f617(0x302)];_0x57a5c4[_0x48f617(0x4a8)]={'stringify':function(_0x11894f){const _0x248c7e=_0x48f617;var _0x2fce33=_0x11894f[_0x248c7e(0x1c5)],_0x39d32b=_0x11894f[_0x248c7e(0x11f)],_0xbc76a2=this[_0x248c7e(0x37a)];_0x11894f['clamp']();for(var _0x333db2=[],_0x2cfca3=0x0;_0x2cfca3<_0x39d32b;_0x2cfca3+=0x3)for(var _0x5de5ad=_0x2fce33[_0x2cfca3>>>0x2]>>>0x18-_0x2cfca3%0x4*0x8&0xff,_0x446586=_0x2fce33[_0x2cfca3+0x1>>>0x2]>>>0x18-(_0x2cfca3+0x1)%0x4*0x8&0xff,_0x11636f=_0x2fce33[_0x2cfca3+0x2>>>0x2]>>>0x18-(_0x2cfca3+0x2)%0x4*0x8&0xff,_0x3a7210=_0x5de5ad<<0x10|_0x446586<<0x8|_0x11636f,_0x253836=0x0;_0x253836<0x4&&_0x2cfca3+_0x253836*0.75<_0x39d32b;_0x253836++)_0x333db2[_0x248c7e(0x38e)](_0xbc76a2[_0x248c7e(0x434)](_0x3a7210>>>0x6*(0x3-_0x253836)&0x3f));var _0x49aecb=_0xbc76a2[_0x248c7e(0x434)](0x40);if(_0x49aecb){for(;_0x333db2[_0x248c7e(0x2c8)]%0x4;)_0x333db2['push'](_0x49aecb);}return _0x333db2[_0x248c7e(0x304)]('');},'parse':function(_0x2024a6){const _0x4e967a=_0x48f617;var _0x291c86=_0x2024a6[_0x4e967a(0x2c8)],_0x398b31=this[_0x4e967a(0x37a)],_0x13aa54=this[_0x4e967a(0x152)];if(!_0x13aa54){_0x13aa54=this[_0x4e967a(0x152)]=[];for(var _0x459488=0x0;_0x459488<_0x398b31[_0x4e967a(0x2c8)];_0x459488++)_0x13aa54[_0x398b31['charCodeAt'](_0x459488)]=_0x459488;}var _0x18c233=_0x398b31[_0x4e967a(0x434)](0x40);if(_0x18c233){var _0x9b1080=_0x2024a6[_0x4e967a(0x1ec)](_0x18c233);_0x9b1080!==-0x1&&(_0x291c86=_0x9b1080);}return _0xbabeec(_0x2024a6,_0x291c86,_0x13aa54);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xbabeec(_0xab3527,_0x469181,_0x3fdedb){const _0x46b95c=_0x48f617;for(var _0x479e93=[],_0x1a0090=0x0,_0x2fc597=0x0;_0x2fc597<_0x469181;_0x2fc597++)if(_0x2fc597%0x4){var _0x5dc48e=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597-0x1)]<<_0x2fc597%0x4*0x2,_0x4ad986=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597)]>>>0x6-_0x2fc597%0x4*0x2,_0x4a0499=_0x5dc48e|_0x4ad986;_0x479e93[_0x1a0090>>>0x2]|=_0x4a0499<<0x18-_0x1a0090%0x4*0x8,_0x1a0090++;}return _0x187016['create'](_0x479e93,_0x1a0090);}}()),_0x2aa9d9['enc'][_0x369f07(0x4a8)];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x5e3172(0x4b3)],_i;function nc(){return _i||(_i=0x1,function(_0x4bc69c,_0x278069){(function(_0x2eab92,_0x4530f8){const _0x570fba=_0x1eb2;_0x4bc69c[_0x570fba(0x4b3)]=_0x4530f8(_e());}(rc,function(_0x48e8d0){const _0x2b60f=_0x1eb2;return function(_0x4b6181){const _0x3361a6=_0x1eb2;var _0x5dcc0a=_0x48e8d0,_0x2925d7=_0x5dcc0a[_0x3361a6(0x1e5)],_0x57036a=_0x2925d7[_0x3361a6(0x24d)],_0x2e918b=_0x2925d7[_0x3361a6(0x176)],_0x1fb206=_0x5dcc0a[_0x3361a6(0x528)],_0x242130=[];(function(){const _0x2c11f8=_0x3361a6;for(var _0x121768=0x0;_0x121768<0x40;_0x121768++)_0x242130[_0x121768]=_0x4b6181[_0x2c11f8(0x3c9)](_0x4b6181[_0x2c11f8(0x338)](_0x121768+0x1))*0x100000000|0x0;}());var _0x1884de=_0x1fb206[_0x3361a6(0x47a)]=_0x2e918b['extend']({'_doReset':function(){const _0x47855f=_0x3361a6;this[_0x47855f(0x51e)]=new _0x57036a[(_0x47855f(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36995a,_0x1d0d3c){const _0x275c29=_0x3361a6;for(var _0x5aaebe=0x0;_0x5aaebe<0x10;_0x5aaebe++){var _0x3caf20=_0x1d0d3c+_0x5aaebe,_0x32f2d9=_0x36995a[_0x3caf20];_0x36995a[_0x3caf20]=(_0x32f2d9<<0x8|_0x32f2d9>>>0x18)&0xff00ff|(_0x32f2d9<<0x18|_0x32f2d9>>>0x8)&0xff00ff00;}var _0x117d59=this[_0x275c29(0x51e)][_0x275c29(0x1c5)],_0x26de2e=_0x36995a[_0x1d0d3c+0x0],_0x5b0daf=_0x36995a[_0x1d0d3c+0x1],_0x7ea7ef=_0x36995a[_0x1d0d3c+0x2],_0x489526=_0x36995a[_0x1d0d3c+0x3],_0x22e9f1=_0x36995a[_0x1d0d3c+0x4],_0x537189=_0x36995a[_0x1d0d3c+0x5],_0x26d643=_0x36995a[_0x1d0d3c+0x6],_0x5b9c6f=_0x36995a[_0x1d0d3c+0x7],_0xe2df69=_0x36995a[_0x1d0d3c+0x8],_0x35cb3a=_0x36995a[_0x1d0d3c+0x9],_0x33fbdb=_0x36995a[_0x1d0d3c+0xa],_0x22c9d8=_0x36995a[_0x1d0d3c+0xb],_0x5321d0=_0x36995a[_0x1d0d3c+0xc],_0x8e2cdc=_0x36995a[_0x1d0d3c+0xd],_0x2186ee=_0x36995a[_0x1d0d3c+0xe],_0x2a30e0=_0x36995a[_0x1d0d3c+0xf],_0x46f23d=_0x117d59[0x0],_0x3f3a32=_0x117d59[0x1],_0x14e483=_0x117d59[0x2],_0x332c70=_0x117d59[0x3];_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x7,_0x242130[0x0]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b0daf,0xc,_0x242130[0x1]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0x11,_0x242130[0x2]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x489526,0x16,_0x242130[0x3]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x7,_0x242130[0x4]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x537189,0xc,_0x242130[0x5]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0x11,_0x242130[0x6]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b9c6f,0x16,_0x242130[0x7]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x7,_0x242130[0x8]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x35cb3a,0xc,_0x242130[0x9]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0x11,_0x242130[0xa]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22c9d8,0x16,_0x242130[0xb]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x7,_0x242130[0xc]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x8e2cdc,0xc,_0x242130[0xd]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0x11,_0x242130[0xe]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2a30e0,0x16,_0x242130[0xf]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x5,_0x242130[0x10]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26d643,0x9,_0x242130[0x11]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0xe,_0x242130[0x12]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26de2e,0x14,_0x242130[0x13]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x5,_0x242130[0x14]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x33fbdb,0x9,_0x242130[0x15]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0xe,_0x242130[0x16]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22e9f1,0x14,_0x242130[0x17]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x5,_0x242130[0x18]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2186ee,0x9,_0x242130[0x19]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0xe,_0x242130[0x1a]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0xe2df69,0x14,_0x242130[0x1b]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x5,_0x242130[0x1c]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x7ea7ef,0x9,_0x242130[0x1d]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0xe,_0x242130[0x1e]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5321d0,0x14,_0x242130[0x1f]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x4,_0x242130[0x20]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0xe2df69,0xb,_0x242130[0x21]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0x10,_0x242130[0x22]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2186ee,0x17,_0x242130[0x23]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x4,_0x242130[0x24]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22e9f1,0xb,_0x242130[0x25]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0x10,_0x242130[0x26]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x33fbdb,0x17,_0x242130[0x27]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x4,_0x242130[0x28]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26de2e,0xb,_0x242130[0x29]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0x10,_0x242130[0x2a]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26d643,0x17,_0x242130[0x2b]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x4,_0x242130[0x2c]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5321d0,0xb,_0x242130[0x2d]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0x10,_0x242130[0x2e]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x7ea7ef,0x17,_0x242130[0x2f]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x6,_0x242130[0x30]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b9c6f,0xa,_0x242130[0x31]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0xf,_0x242130[0x32]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x537189,0x15,_0x242130[0x33]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x6,_0x242130[0x34]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x489526,0xa,_0x242130[0x35]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0xf,_0x242130[0x36]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b0daf,0x15,_0x242130[0x37]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x6,_0x242130[0x38]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2a30e0,0xa,_0x242130[0x39]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0xf,_0x242130[0x3a]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x8e2cdc,0x15,_0x242130[0x3b]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x6,_0x242130[0x3c]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22c9d8,0xa,_0x242130[0x3d]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0xf,_0x242130[0x3e]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x35cb3a,0x15,_0x242130[0x3f]),_0x117d59[0x0]=_0x117d59[0x0]+_0x46f23d|0x0,_0x117d59[0x1]=_0x117d59[0x1]+_0x3f3a32|0x0,_0x117d59[0x2]=_0x117d59[0x2]+_0x14e483|0x0,_0x117d59[0x3]=_0x117d59[0x3]+_0x332c70|0x0;},'_doFinalize':function(){const _0x5af428=_0x3361a6;var _0x144f07=this['_data'],_0x96641a=_0x144f07[_0x5af428(0x1c5)],_0x330086=this[_0x5af428(0x41b)]*0x8,_0x3f5cce=_0x144f07[_0x5af428(0x11f)]*0x8;_0x96641a[_0x3f5cce>>>0x5]|=0x80<<0x18-_0x3f5cce%0x20;var _0x661742=_0x4b6181[_0x5af428(0x21e)](_0x330086/0x100000000),_0x46a28=_0x330086;_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xf]=(_0x661742<<0x8|_0x661742>>>0x18)&0xff00ff|(_0x661742<<0x18|_0x661742>>>0x8)&0xff00ff00,_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xe]=(_0x46a28<<0x8|_0x46a28>>>0x18)&0xff00ff|(_0x46a28<<0x18|_0x46a28>>>0x8)&0xff00ff00,_0x144f07[_0x5af428(0x11f)]=(_0x96641a[_0x5af428(0x2c8)]+0x1)*0x4,this['_process']();for(var _0x561dae=this[_0x5af428(0x51e)],_0x2578c4=_0x561dae[_0x5af428(0x1c5)],_0x9a94e9=0x0;_0x9a94e9<0x4;_0x9a94e9++){var _0x40a375=_0x2578c4[_0x9a94e9];_0x2578c4[_0x9a94e9]=(_0x40a375<<0x8|_0x40a375>>>0x18)&0xff00ff|(_0x40a375<<0x18|_0x40a375>>>0x8)&0xff00ff00;}return _0x561dae;},'clone':function(){const _0x1e58d4=_0x3361a6;var _0x5f14b0=_0x2e918b[_0x1e58d4(0x506)][_0x1e58d4(0x500)](this);return _0x5f14b0[_0x1e58d4(0x51e)]=this[_0x1e58d4(0x51e)][_0x1e58d4(0x506)](),_0x5f14b0;}});function _0x803f12(_0x561335,_0x40720f,_0x314e06,_0x23cf39,_0x48cf3c,_0x44abf7,_0x5c2f6a){var _0x51d30c=_0x561335+(_0x40720f&_0x314e06|~_0x40720f&_0x23cf39)+_0x48cf3c+_0x5c2f6a;return(_0x51d30c<<_0x44abf7|_0x51d30c>>>0x20-_0x44abf7)+_0x40720f;}function _0x22bfae(_0x3d486e,_0x3af70d,_0x398e48,_0xfa55ad,_0x1944e6,_0x3d7889,_0x3fde04){var _0xc7dbf7=_0x3d486e+(_0x3af70d&_0xfa55ad|_0x398e48&~_0xfa55ad)+_0x1944e6+_0x3fde04;return(_0xc7dbf7<<_0x3d7889|_0xc7dbf7>>>0x20-_0x3d7889)+_0x3af70d;}function _0x4c655e(_0x5b299a,_0x3c3c94,_0x55511e,_0x2bd859,_0x3d1bd5,_0x206715,_0x5158a0){var _0x371f4a=_0x5b299a+(_0x3c3c94^_0x55511e^_0x2bd859)+_0x3d1bd5+_0x5158a0;return(_0x371f4a<<_0x206715|_0x371f4a>>>0x20-_0x206715)+_0x3c3c94;}function _0x57368b(_0x230cb5,_0x1c8064,_0x179ecb,_0x2f3ff3,_0x58afd9,_0x17f237,_0xeb02f8){var _0x8628bd=_0x230cb5+(_0x179ecb^(_0x1c8064|~_0x2f3ff3))+_0x58afd9+_0xeb02f8;return(_0x8628bd<<_0x17f237|_0x8628bd>>>0x20-_0x17f237)+_0x1c8064;}_0x5dcc0a[_0x3361a6(0x47a)]=_0x2e918b[_0x3361a6(0x2b5)](_0x1884de),_0x5dcc0a[_0x3361a6(0x454)]=_0x2e918b[_0x3361a6(0x1fc)](_0x1884de);}(Math),_0x48e8d0[_0x2b60f(0x47a)];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x5e3172(0x4b3)],ui;function ac(){const _0x2c6c37=_0x5e3172;return ui||(ui=0x1,function(_0x5acff6,_0x240a8b){(function(_0x392112,_0x14a5e6){_0x5acff6['exports']=_0x14a5e6(_e());}(oc,function(_0x18eaf7){const _0x1326cf=_0x1eb2;return(function(){const _0x594af3=_0x1eb2;var _0x45c2bb=_0x18eaf7,_0x4946e3=_0x45c2bb[_0x594af3(0x1e5)],_0x16ec50=_0x4946e3['WordArray'],_0x23f2ca=_0x4946e3[_0x594af3(0x176)],_0x49f0a5=_0x45c2bb[_0x594af3(0x528)],_0x209c6d=[],_0x5ccb92=_0x49f0a5[_0x594af3(0x220)]=_0x23f2ca['extend']({'_doReset':function(){const _0x5889b0=_0x594af3;this['_hash']=new _0x16ec50[(_0x5889b0(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d7a9f,_0x448cdc){const _0x512a71=_0x594af3;for(var _0x58bd7d=this['_hash'][_0x512a71(0x1c5)],_0x16620a=_0x58bd7d[0x0],_0xec0ae4=_0x58bd7d[0x1],_0xf5202d=_0x58bd7d[0x2],_0x3246a8=_0x58bd7d[0x3],_0x2e3c0b=_0x58bd7d[0x4],_0x51bfba=0x0;_0x51bfba<0x50;_0x51bfba++){if(_0x51bfba<0x10)_0x209c6d[_0x51bfba]=_0x2d7a9f[_0x448cdc+_0x51bfba]|0x0;else{var _0x5a87ec=_0x209c6d[_0x51bfba-0x3]^_0x209c6d[_0x51bfba-0x8]^_0x209c6d[_0x51bfba-0xe]^_0x209c6d[_0x51bfba-0x10];_0x209c6d[_0x51bfba]=_0x5a87ec<<0x1|_0x5a87ec>>>0x1f;}var _0x3d4564=(_0x16620a<<0x5|_0x16620a>>>0x1b)+_0x2e3c0b+_0x209c6d[_0x51bfba];_0x51bfba<0x14?_0x3d4564+=(_0xec0ae4&_0xf5202d|~_0xec0ae4&_0x3246a8)+0x5a827999:_0x51bfba<0x28?_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)+0x6ed9eba1:_0x51bfba<0x3c?_0x3d4564+=(_0xec0ae4&_0xf5202d|_0xec0ae4&_0x3246a8|_0xf5202d&_0x3246a8)-0x70e44324:_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)-0x359d3e2a,_0x2e3c0b=_0x3246a8,_0x3246a8=_0xf5202d,_0xf5202d=_0xec0ae4<<0x1e|_0xec0ae4>>>0x2,_0xec0ae4=_0x16620a,_0x16620a=_0x3d4564;}_0x58bd7d[0x0]=_0x58bd7d[0x0]+_0x16620a|0x0,_0x58bd7d[0x1]=_0x58bd7d[0x1]+_0xec0ae4|0x0,_0x58bd7d[0x2]=_0x58bd7d[0x2]+_0xf5202d|0x0,_0x58bd7d[0x3]=_0x58bd7d[0x3]+_0x3246a8|0x0,_0x58bd7d[0x4]=_0x58bd7d[0x4]+_0x2e3c0b|0x0;},'_doFinalize':function(){const _0x5ed0ba=_0x594af3;var _0x2da31d=this[_0x5ed0ba(0x34e)],_0x29c930=_0x2da31d[_0x5ed0ba(0x1c5)],_0x329a77=this[_0x5ed0ba(0x41b)]*0x8,_0x39f5f7=_0x2da31d['sigBytes']*0x8;return _0x29c930[_0x39f5f7>>>0x5]|=0x80<<0x18-_0x39f5f7%0x20,_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ed0ba(0x21e)](_0x329a77/0x100000000),_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xf]=_0x329a77,_0x2da31d[_0x5ed0ba(0x11f)]=_0x29c930[_0x5ed0ba(0x2c8)]*0x4,this['_process'](),this[_0x5ed0ba(0x51e)];},'clone':function(){const _0x175c5f=_0x594af3;var _0x2c7e53=_0x23f2ca['clone']['call'](this);return _0x2c7e53[_0x175c5f(0x51e)]=this[_0x175c5f(0x51e)][_0x175c5f(0x506)](),_0x2c7e53;}});_0x45c2bb[_0x594af3(0x220)]=_0x23f2ca['_createHelper'](_0x5ccb92),_0x45c2bb['HmacSHA1']=_0x23f2ca['_createHmacHelper'](_0x5ccb92);}()),_0x18eaf7[_0x1326cf(0x220)];}));}(gt)),gt[_0x2c6c37(0x4b3)];}var St={'exports':{}},cc=St[_0x5e3172(0x4b3)],di;function hc(){const _0x3dcf3e=_0x5e3172;return di||(di=0x1,function(_0x110b5f,_0x5cc869){(function(_0x1c1bb6,_0x21cc11){const _0x3d7ac9=_0x1eb2;_0x110b5f[_0x3d7ac9(0x4b3)]=_0x21cc11(_e());}(cc,function(_0x2707c9){(function(){const _0x2245a1=_0x1eb2;var _0x4ce1da=_0x2707c9,_0x43c708=_0x4ce1da[_0x2245a1(0x1e5)],_0xaf8b90=_0x43c708[_0x2245a1(0x368)],_0xca2bea=_0x4ce1da[_0x2245a1(0x302)],_0x19a832=_0xca2bea['Utf8'],_0x698644=_0x4ce1da['algo'];_0x698644[_0x2245a1(0x360)]=_0xaf8b90[_0x2245a1(0x2c1)]({'init':function(_0x4c8d28,_0x41cd7f){const _0x5f2ddb=_0x2245a1;_0x4c8d28=this['_hasher']=new _0x4c8d28['init'](),typeof _0x41cd7f==_0x5f2ddb(0x429)&&(_0x41cd7f=_0x19a832[_0x5f2ddb(0x32f)](_0x41cd7f));var _0x45041a=_0x4c8d28[_0x5f2ddb(0x2b0)],_0x197501=_0x45041a*0x4;_0x41cd7f[_0x5f2ddb(0x11f)]>_0x197501&&(_0x41cd7f=_0x4c8d28[_0x5f2ddb(0x244)](_0x41cd7f)),_0x41cd7f[_0x5f2ddb(0x4bb)]();for(var _0x43ebb0=this[_0x5f2ddb(0x2d7)]=_0x41cd7f['clone'](),_0x14e62a=this['_iKey']=_0x41cd7f['clone'](),_0x5bb0c7=_0x43ebb0[_0x5f2ddb(0x1c5)],_0x1ab290=_0x14e62a['words'],_0xdca9ee=0x0;_0xdca9ee<_0x45041a;_0xdca9ee++)_0x5bb0c7[_0xdca9ee]^=0x5c5c5c5c,_0x1ab290[_0xdca9ee]^=0x36363636;_0x43ebb0[_0x5f2ddb(0x11f)]=_0x14e62a['sigBytes']=_0x197501,this[_0x5f2ddb(0x3df)]();},'reset':function(){const _0x410662=_0x2245a1;var _0x299498=this[_0x410662(0x329)];_0x299498[_0x410662(0x3df)](),_0x299498[_0x410662(0x4d6)](this[_0x410662(0x221)]);},'update':function(_0x3ee8e9){const _0x5ec8fd=_0x2245a1;return this['_hasher'][_0x5ec8fd(0x4d6)](_0x3ee8e9),this;},'finalize':function(_0x299a8c){const _0x38ab7d=_0x2245a1;var _0x535525=this[_0x38ab7d(0x329)],_0x27b256=_0x535525[_0x38ab7d(0x244)](_0x299a8c);_0x535525[_0x38ab7d(0x3df)]();var _0x331110=_0x535525['finalize'](this[_0x38ab7d(0x2d7)][_0x38ab7d(0x506)]()[_0x38ab7d(0x4b9)](_0x27b256));return _0x331110;}});}());}));}(St)),St[_0x3dcf3e(0x4b3)];}var lc=mt['exports'],fi;function nr(){return fi||(fi=0x1,function(_0x4ec378,_0x147063){(function(_0x4d87f8,_0x5cc808,_0xa34a5d){const _0x144453=_0x1eb2;_0x4ec378[_0x144453(0x4b3)]=_0x5cc808(_e(),ac(),hc());}(lc,function(_0x42c396){const _0x511ce6=_0x1eb2;return(function(){const _0x50b50b=_0x1eb2;var _0x69942b=_0x42c396,_0x14b2c5=_0x69942b['lib'],_0x6ee7f4=_0x14b2c5[_0x50b50b(0x368)],_0x5a3d01=_0x14b2c5[_0x50b50b(0x24d)],_0x1d105b=_0x69942b[_0x50b50b(0x528)],_0x1d2329=_0x1d105b['MD5'],_0x43c33b=_0x1d105b[_0x50b50b(0x33d)]=_0x6ee7f4['extend']({'cfg':_0x6ee7f4[_0x50b50b(0x2c1)]({'keySize':0x80/0x20,'hasher':_0x1d2329,'iterations':0x1}),'init':function(_0xc49337){const _0x27370c=_0x50b50b;this['cfg']=this[_0x27370c(0x471)]['extend'](_0xc49337);},'compute':function(_0x1036f4,_0x308be8){const _0x3fa78f=_0x50b50b;for(var _0x5246f3,_0x22b1a8=this[_0x3fa78f(0x471)],_0x3f3848=_0x22b1a8[_0x3fa78f(0x1a6)]['create'](),_0x40784d=_0x5a3d01['create'](),_0x37dbc7=_0x40784d[_0x3fa78f(0x1c5)],_0x38cfdf=_0x22b1a8['keySize'],_0x545902=_0x22b1a8[_0x3fa78f(0x51a)];_0x37dbc7[_0x3fa78f(0x2c8)]<_0x38cfdf;){_0x5246f3&&_0x3f3848['update'](_0x5246f3),_0x5246f3=_0x3f3848['update'](_0x1036f4)[_0x3fa78f(0x244)](_0x308be8),_0x3f3848[_0x3fa78f(0x3df)]();for(var _0x4b12d2=0x1;_0x4b12d2<_0x545902;_0x4b12d2++)_0x5246f3=_0x3f3848[_0x3fa78f(0x244)](_0x5246f3),_0x3f3848['reset']();_0x40784d[_0x3fa78f(0x4b9)](_0x5246f3);}return _0x40784d['sigBytes']=_0x38cfdf*0x4,_0x40784d;}});_0x69942b[_0x50b50b(0x33d)]=function(_0x412b8b,_0x5e4d67,_0x5061a0){const _0x17993b=_0x50b50b;return _0x43c33b[_0x17993b(0x2df)](_0x5061a0)[_0x17993b(0x48c)](_0x412b8b,_0x5e4d67);};}()),_0x42c396[_0x511ce6(0x33d)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x5e3172(0x4b3)],vi;function or(){return vi||(vi=0x1,function(_0x1f053b,_0x5e4477){(function(_0x34f154,_0x17fd4e,_0x456633){const _0x51eaa2=_0x1eb2;_0x1f053b[_0x51eaa2(0x4b3)]=_0x17fd4e(_e(),nr());}(_c,function(_0xbdb76d){const _0x34d4ec=_0x1eb2;_0xbdb76d[_0x34d4ec(0x1e5)]['Cipher']||function(_0x4bb1fa){const _0x3dc2af=_0x34d4ec;var _0xf768da=_0xbdb76d,_0x4d3f8e=_0xf768da['lib'],_0x35ec30=_0x4d3f8e[_0x3dc2af(0x368)],_0x13219c=_0x4d3f8e['WordArray'],_0x5a9b93=_0x4d3f8e['BufferedBlockAlgorithm'],_0xf737b=_0xf768da[_0x3dc2af(0x302)];_0xf737b[_0x3dc2af(0x188)];var _0x4ffc0f=_0xf737b['Base64'],_0xbc269=_0xf768da[_0x3dc2af(0x528)],_0x140c22=_0xbc269['EvpKDF'],_0x1a4433=_0x4d3f8e[_0x3dc2af(0x2c3)]=_0x5a9b93[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)](),'createEncryptor':function(_0xd7a186,_0x1e6b2f){const _0xbd8dee=_0x3dc2af;return this[_0xbd8dee(0x2df)](this[_0xbd8dee(0x1f5)],_0xd7a186,_0x1e6b2f);},'createDecryptor':function(_0x21ac3d,_0x452a29){const _0x2a96c7=_0x3dc2af;return this['create'](this[_0x2a96c7(0x3be)],_0x21ac3d,_0x452a29);},'init':function(_0x3ee1e5,_0x4b0e2c,_0x2ad9ae){const _0x3772ea=_0x3dc2af;this['cfg']=this[_0x3772ea(0x471)][_0x3772ea(0x2c1)](_0x2ad9ae),this[_0x3772ea(0x2c4)]=_0x3ee1e5,this[_0x3772ea(0x114)]=_0x4b0e2c,this[_0x3772ea(0x3df)]();},'reset':function(){const _0x3e821e=_0x3dc2af;_0x5a9b93[_0x3e821e(0x3df)][_0x3e821e(0x500)](this),this[_0x3e821e(0x255)]();},'process':function(_0x33ed1f){const _0x5a8a31=_0x3dc2af;return this[_0x5a8a31(0x245)](_0x33ed1f),this['_process']();},'finalize':function(_0x5468b1){_0x5468b1&&this['_append'](_0x5468b1);var _0x4b11db=this['_doFinalize']();return _0x4b11db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x282e10(_0x2425c5){const _0x3da68d=_0x1eb2;return typeof _0x2425c5==_0x3da68d(0x429)?_0x575d09:_0x43e921;}return function(_0x5d7a0c){return{'encrypt':function(_0x154dfa,_0x3f7968,_0x193aac){const _0x528c7d=_0x1eb2;return _0x282e10(_0x3f7968)[_0x528c7d(0x447)](_0x5d7a0c,_0x154dfa,_0x3f7968,_0x193aac);},'decrypt':function(_0x4b556a,_0x3d5e0c,_0xe4fe8e){return _0x282e10(_0x3d5e0c)['decrypt'](_0x5d7a0c,_0x4b556a,_0x3d5e0c,_0xe4fe8e);}};};}())});_0x4d3f8e['StreamCipher']=_0x1a4433[_0x3dc2af(0x2c1)]({'_doFinalize':function(){const _0x2e3eeb=_0x3dc2af;var _0x1bf95c=this[_0x2e3eeb(0x370)](!0x0);return _0x1bf95c;},'blockSize':0x1});var _0x7173e7=_0xf768da[_0x3dc2af(0x2bb)]={},_0x1a3241=_0x4d3f8e[_0x3dc2af(0x336)]=_0x35ec30[_0x3dc2af(0x2c1)]({'createEncryptor':function(_0x73771f,_0x49c4ab){const _0x41b0b1=_0x3dc2af;return this[_0x41b0b1(0x2ea)][_0x41b0b1(0x2df)](_0x73771f,_0x49c4ab);},'createDecryptor':function(_0x365e77,_0x6989a2){const _0x3b86e4=_0x3dc2af;return this[_0x3b86e4(0x1e1)][_0x3b86e4(0x2df)](_0x365e77,_0x6989a2);},'init':function(_0x3474b3,_0xa154e3){const _0x1f1702=_0x3dc2af;this[_0x1f1702(0x493)]=_0x3474b3,this[_0x1f1702(0x35a)]=_0xa154e3;}}),_0x19e5cb=_0x7173e7[_0x3dc2af(0x37c)]=(function(){const _0x3b0edc=_0x3dc2af;var _0x40a3c2=_0x1a3241[_0x3b0edc(0x2c1)]();_0x40a3c2[_0x3b0edc(0x2ea)]=_0x40a3c2[_0x3b0edc(0x2c1)]({'processBlock':function(_0x4ae166,_0x5a14bb){const _0x56b39e=_0x3b0edc;var _0x275baa=this[_0x56b39e(0x493)],_0x35ba83=_0x275baa[_0x56b39e(0x2b0)];_0x438640[_0x56b39e(0x500)](this,_0x4ae166,_0x5a14bb,_0x35ba83),_0x275baa[_0x56b39e(0x40d)](_0x4ae166,_0x5a14bb),this[_0x56b39e(0x3ea)]=_0x4ae166['slice'](_0x5a14bb,_0x5a14bb+_0x35ba83);}}),_0x40a3c2[_0x3b0edc(0x1e1)]=_0x40a3c2['extend']({'processBlock':function(_0x7637f1,_0x245e97){const _0x579a7e=_0x3b0edc;var _0x2a80d1=this[_0x579a7e(0x493)],_0x2ce515=_0x2a80d1[_0x579a7e(0x2b0)],_0x52ad94=_0x7637f1[_0x579a7e(0x469)](_0x245e97,_0x245e97+_0x2ce515);_0x2a80d1[_0x579a7e(0x2f2)](_0x7637f1,_0x245e97),_0x438640[_0x579a7e(0x500)](this,_0x7637f1,_0x245e97,_0x2ce515),this[_0x579a7e(0x3ea)]=_0x52ad94;}});function _0x438640(_0x5c47f8,_0x2403ed,_0xbbffc6){const _0x38c7ed=_0x3b0edc;var _0x376f12,_0x38f9e2=this[_0x38c7ed(0x35a)];_0x38f9e2?(_0x376f12=_0x38f9e2,this[_0x38c7ed(0x35a)]=_0x4bb1fa):_0x376f12=this[_0x38c7ed(0x3ea)];for(var _0x1cdd7e=0x0;_0x1cdd7e<_0xbbffc6;_0x1cdd7e++)_0x5c47f8[_0x2403ed+_0x1cdd7e]^=_0x376f12[_0x1cdd7e];}return _0x40a3c2;}()),_0x42547f=_0xf768da[_0x3dc2af(0x3bd)]={},_0x14d1cb=_0x42547f['Pkcs7']={'pad':function(_0x2835b4,_0x5c0625){const _0x341fed=_0x3dc2af;for(var _0x549e9e=_0x5c0625*0x4,_0x4f5d47=_0x549e9e-_0x2835b4['sigBytes']%_0x549e9e,_0x509e71=_0x4f5d47<<0x18|_0x4f5d47<<0x10|_0x4f5d47<<0x8|_0x4f5d47,_0x827eed=[],_0x9f7239=0x0;_0x9f7239<_0x4f5d47;_0x9f7239+=0x4)_0x827eed[_0x341fed(0x38e)](_0x509e71);var _0x2c1dce=_0x13219c[_0x341fed(0x2df)](_0x827eed,_0x4f5d47);_0x2835b4[_0x341fed(0x4b9)](_0x2c1dce);},'unpad':function(_0x4a6fd0){const _0x273647=_0x3dc2af;var _0xb5dcb8=_0x4a6fd0['words'][_0x4a6fd0[_0x273647(0x11f)]-0x1>>>0x2]&0xff;_0x4a6fd0[_0x273647(0x11f)]-=_0xb5dcb8;}};_0x4d3f8e[_0x3dc2af(0x391)]=_0x1a4433['extend']({'cfg':_0x1a4433['cfg'][_0x3dc2af(0x2c1)]({'mode':_0x19e5cb,'padding':_0x14d1cb}),'reset':function(){const _0x48ef11=_0x3dc2af;var _0x14f349;_0x1a4433[_0x48ef11(0x3df)][_0x48ef11(0x500)](this);var _0x585d23=this[_0x48ef11(0x471)],_0x316749=_0x585d23['iv'],_0x437b99=_0x585d23['mode'];this[_0x48ef11(0x2c4)]==this[_0x48ef11(0x1f5)]?_0x14f349=_0x437b99[_0x48ef11(0x3bb)]:(_0x14f349=_0x437b99['createDecryptor'],this[_0x48ef11(0x1a9)]=0x1),this[_0x48ef11(0x259)]&&this[_0x48ef11(0x259)][_0x48ef11(0x14a)]==_0x14f349?this['_mode'][_0x48ef11(0x433)](this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]):(this[_0x48ef11(0x259)]=_0x14f349['call'](_0x437b99,this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]),this[_0x48ef11(0x259)]['__creator']=_0x14f349);},'_doProcessBlock':function(_0x18b8cb,_0x133882){const _0x99a7ac=_0x3dc2af;this[_0x99a7ac(0x259)][_0x99a7ac(0x268)](_0x18b8cb,_0x133882);},'_doFinalize':function(){const _0x9fde58=_0x3dc2af;var _0x2ebede,_0x55e5eb=this[_0x9fde58(0x471)][_0x9fde58(0x21f)];return this['_xformMode']==this[_0x9fde58(0x1f5)]?(_0x55e5eb[_0x9fde58(0x3bd)](this[_0x9fde58(0x34e)],this['blockSize']),_0x2ebede=this['_process'](!0x0)):(_0x2ebede=this[_0x9fde58(0x370)](!0x0),_0x55e5eb[_0x9fde58(0x397)](_0x2ebede)),_0x2ebede;},'blockSize':0x80/0x20});var _0x989f28=_0x4d3f8e[_0x3dc2af(0x2d0)]=_0x35ec30[_0x3dc2af(0x2c1)]({'init':function(_0x458e4c){this['mixIn'](_0x458e4c);},'toString':function(_0x1736e5){const _0x3f3ec5=_0x3dc2af;return(_0x1736e5||this[_0x3f3ec5(0x2b7)])[_0x3f3ec5(0x50f)](this);}}),_0x40b3df=_0xf768da['format']={},_0x1a24cf=_0x40b3df[_0x3dc2af(0x2d1)]={'stringify':function(_0x3c5b71){const _0x33faf7=_0x3dc2af;var _0x562de0,_0x12e59b=_0x3c5b71[_0x33faf7(0x3a5)],_0x3dd8f8=_0x3c5b71['salt'];return _0x3dd8f8?_0x562de0=_0x13219c[_0x33faf7(0x2df)]([0x53616c74,0x65645f5f])[_0x33faf7(0x4b9)](_0x3dd8f8)[_0x33faf7(0x4b9)](_0x12e59b):_0x562de0=_0x12e59b,_0x562de0['toString'](_0x4ffc0f);},'parse':function(_0x5bc4e5){const _0x5d6398=_0x3dc2af;var _0x46e895,_0x5b5339=_0x4ffc0f['parse'](_0x5bc4e5),_0x5de8c2=_0x5b5339[_0x5d6398(0x1c5)];return _0x5de8c2[0x0]==0x53616c74&&_0x5de8c2[0x1]==0x65645f5f&&(_0x46e895=_0x13219c['create'](_0x5de8c2['slice'](0x2,0x4)),_0x5de8c2[_0x5d6398(0x403)](0x0,0x4),_0x5b5339[_0x5d6398(0x11f)]-=0x10),_0x989f28['create']({'ciphertext':_0x5b5339,'salt':_0x46e895});}},_0x43e921=_0x4d3f8e[_0x3dc2af(0x271)]=_0x35ec30[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)]({'format':_0x1a24cf}),'encrypt':function(_0x2124c4,_0x4e6826,_0x2956c0,_0x26a6d1){const _0x2d80f9=_0x3dc2af;_0x26a6d1=this[_0x2d80f9(0x471)][_0x2d80f9(0x2c1)](_0x26a6d1);var _0xe608a2=_0x2124c4[_0x2d80f9(0x3bb)](_0x2956c0,_0x26a6d1),_0x461d84=_0xe608a2[_0x2d80f9(0x244)](_0x4e6826),_0x69e205=_0xe608a2[_0x2d80f9(0x471)];return _0x989f28[_0x2d80f9(0x2df)]({'ciphertext':_0x461d84,'key':_0x2956c0,'iv':_0x69e205['iv'],'algorithm':_0x2124c4,'mode':_0x69e205[_0x2d80f9(0x2bb)],'padding':_0x69e205[_0x2d80f9(0x21f)],'blockSize':_0x2124c4[_0x2d80f9(0x2b0)],'formatter':_0x26a6d1[_0x2d80f9(0x462)]});},'decrypt':function(_0x5ecef1,_0x19b3bf,_0x2094bc,_0xe837c6){const _0x490d6f=_0x3dc2af;_0xe837c6=this[_0x490d6f(0x471)][_0x490d6f(0x2c1)](_0xe837c6),_0x19b3bf=this[_0x490d6f(0x285)](_0x19b3bf,_0xe837c6[_0x490d6f(0x462)]);var _0x1947b5=_0x5ecef1[_0x490d6f(0x32c)](_0x2094bc,_0xe837c6)[_0x490d6f(0x244)](_0x19b3bf[_0x490d6f(0x3a5)]);return _0x1947b5;},'_parse':function(_0x204229,_0x4fc00d){const _0x3e09b5=_0x3dc2af;return typeof _0x204229==_0x3e09b5(0x429)?_0x4fc00d['parse'](_0x204229,this):_0x204229;}}),_0x1e3083=_0xf768da['kdf']={},_0x356732=_0x1e3083[_0x3dc2af(0x2d1)]={'execute':function(_0x123ed5,_0x2d8c6b,_0x53c612,_0x4d315d,_0x5e6922){const _0x1502f5=_0x3dc2af;if(_0x4d315d||(_0x4d315d=_0x13219c['random'](0x40/0x8)),_0x5e6922)var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612,'hasher':_0x5e6922})['compute'](_0x123ed5,_0x4d315d);else var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612})[_0x1502f5(0x48c)](_0x123ed5,_0x4d315d);var _0x1ccfce=_0x13219c[_0x1502f5(0x2df)](_0x4f1d4e[_0x1502f5(0x1c5)]['slice'](_0x2d8c6b),_0x53c612*0x4);return _0x4f1d4e[_0x1502f5(0x11f)]=_0x2d8c6b*0x4,_0x989f28['create']({'key':_0x4f1d4e,'iv':_0x1ccfce,'salt':_0x4d315d});}},_0x575d09=_0x4d3f8e['PasswordBasedCipher']=_0x43e921[_0x3dc2af(0x2c1)]({'cfg':_0x43e921[_0x3dc2af(0x471)]['extend']({'kdf':_0x356732}),'encrypt':function(_0x241498,_0x121aa4,_0x2987cd,_0x10f41e){const _0x2c63ba=_0x3dc2af;_0x10f41e=this[_0x2c63ba(0x471)][_0x2c63ba(0x2c1)](_0x10f41e);var _0x4257cd=_0x10f41e[_0x2c63ba(0x499)][_0x2c63ba(0x223)](_0x2987cd,_0x241498[_0x2c63ba(0x3b1)],_0x241498[_0x2c63ba(0x526)],_0x10f41e['salt'],_0x10f41e[_0x2c63ba(0x1a6)]);_0x10f41e['iv']=_0x4257cd['iv'];var _0x358340=_0x43e921[_0x2c63ba(0x447)][_0x2c63ba(0x500)](this,_0x241498,_0x121aa4,_0x4257cd[_0x2c63ba(0x36a)],_0x10f41e);return _0x358340[_0x2c63ba(0x24e)](_0x4257cd),_0x358340;},'decrypt':function(_0x36532f,_0x4502d7,_0x549b88,_0x45bafc){const _0x3a4393=_0x3dc2af;_0x45bafc=this['cfg'][_0x3a4393(0x2c1)](_0x45bafc),_0x4502d7=this['_parse'](_0x4502d7,_0x45bafc[_0x3a4393(0x462)]);var _0x2564b5=_0x45bafc[_0x3a4393(0x499)][_0x3a4393(0x223)](_0x549b88,_0x36532f[_0x3a4393(0x3b1)],_0x36532f['ivSize'],_0x4502d7[_0x3a4393(0x113)],_0x45bafc['hasher']);_0x45bafc['iv']=_0x2564b5['iv'];var _0x436986=_0x43e921[_0x3a4393(0x524)][_0x3a4393(0x500)](this,_0x36532f,_0x4502d7,_0x2564b5[_0x3a4393(0x36a)],_0x45bafc);return _0x436986;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x11a7c0=_0x5e3172;return pi||(pi=0x1,function(_0x3c3ef4,_0x3d477b){(function(_0x43e2e6,_0x40b6d5,_0x54a00d){_0x3c3ef4['exports']=_0x40b6d5(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4840ed){const _0x1e2c34=_0x1eb2;return(function(){const _0x3a808a=_0x1eb2;var _0x486d4b=_0x4840ed,_0x352192=_0x486d4b['lib'],_0x9f9660=_0x352192[_0x3a808a(0x391)],_0x5cf04b=_0x486d4b[_0x3a808a(0x528)],_0x52cea7=[],_0x148584=[],_0x16f265=[],_0x534156=[],_0x34df70=[],_0x42da92=[],_0x1f93cc=[],_0x20a490=[],_0x2815df=[],_0x56a7c2=[];(function(){for(var _0x386661=[],_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++)_0x2a2696<0x80?_0x386661[_0x2a2696]=_0x2a2696<<0x1:_0x386661[_0x2a2696]=_0x2a2696<<0x1^0x11b;for(var _0x27b2a6=0x0,_0x241395=0x0,_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++){var _0x212ab4=_0x241395^_0x241395<<0x1^_0x241395<<0x2^_0x241395<<0x3^_0x241395<<0x4;_0x212ab4=_0x212ab4>>>0x8^_0x212ab4&0xff^0x63,_0x52cea7[_0x27b2a6]=_0x212ab4,_0x148584[_0x212ab4]=_0x27b2a6;var _0x5af5a5=_0x386661[_0x27b2a6],_0x4a8c99=_0x386661[_0x5af5a5],_0x5d3820=_0x386661[_0x4a8c99],_0x451173=_0x386661[_0x212ab4]*0x101^_0x212ab4*0x1010100;_0x16f265[_0x27b2a6]=_0x451173<<0x18|_0x451173>>>0x8,_0x534156[_0x27b2a6]=_0x451173<<0x10|_0x451173>>>0x10,_0x34df70[_0x27b2a6]=_0x451173<<0x8|_0x451173>>>0x18,_0x42da92[_0x27b2a6]=_0x451173;var _0x451173=_0x5d3820*0x1010101^_0x4a8c99*0x10001^_0x5af5a5*0x101^_0x27b2a6*0x1010100;_0x1f93cc[_0x212ab4]=_0x451173<<0x18|_0x451173>>>0x8,_0x20a490[_0x212ab4]=_0x451173<<0x10|_0x451173>>>0x10,_0x2815df[_0x212ab4]=_0x451173<<0x8|_0x451173>>>0x18,_0x56a7c2[_0x212ab4]=_0x451173,_0x27b2a6?(_0x27b2a6=_0x5af5a5^_0x386661[_0x386661[_0x386661[_0x5d3820^_0x5af5a5]]],_0x241395^=_0x386661[_0x386661[_0x241395]]):_0x27b2a6=_0x241395=0x1;}}());var _0x500ea9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37048f=_0x5cf04b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2c1)]({'_doReset':function(){const _0x4cdd7c=_0x3a808a;var _0x2bc76c;if(!(this[_0x4cdd7c(0x122)]&&this[_0x4cdd7c(0x51b)]===this[_0x4cdd7c(0x114)])){for(var _0x44640a=this[_0x4cdd7c(0x51b)]=this[_0x4cdd7c(0x114)],_0x1e8f4b=_0x44640a[_0x4cdd7c(0x1c5)],_0x3ec0e5=_0x44640a['sigBytes']/0x4,_0x4cf6ba=this['_nRounds']=_0x3ec0e5+0x6,_0x319a73=(_0x4cf6ba+0x1)*0x4,_0x179e0b=this['_keySchedule']=[],_0x1c6c8f=0x0;_0x1c6c8f<_0x319a73;_0x1c6c8f++)_0x1c6c8f<_0x3ec0e5?_0x179e0b[_0x1c6c8f]=_0x1e8f4b[_0x1c6c8f]:(_0x2bc76c=_0x179e0b[_0x1c6c8f-0x1],_0x1c6c8f%_0x3ec0e5?_0x3ec0e5>0x6&&_0x1c6c8f%_0x3ec0e5==0x4&&(_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff]):(_0x2bc76c=_0x2bc76c<<0x8|_0x2bc76c>>>0x18,_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff],_0x2bc76c^=_0x500ea9[_0x1c6c8f/_0x3ec0e5|0x0]<<0x18),_0x179e0b[_0x1c6c8f]=_0x179e0b[_0x1c6c8f-_0x3ec0e5]^_0x2bc76c);for(var _0x4bbfa6=this[_0x4cdd7c(0x205)]=[],_0x29474b=0x0;_0x29474b<_0x319a73;_0x29474b++){var _0x1c6c8f=_0x319a73-_0x29474b;if(_0x29474b%0x4)var _0x2bc76c=_0x179e0b[_0x1c6c8f];else var _0x2bc76c=_0x179e0b[_0x1c6c8f-0x4];_0x29474b<0x4||_0x1c6c8f<=0x4?_0x4bbfa6[_0x29474b]=_0x2bc76c:_0x4bbfa6[_0x29474b]=_0x1f93cc[_0x52cea7[_0x2bc76c>>>0x18]]^_0x20a490[_0x52cea7[_0x2bc76c>>>0x10&0xff]]^_0x2815df[_0x52cea7[_0x2bc76c>>>0x8&0xff]]^_0x56a7c2[_0x52cea7[_0x2bc76c&0xff]];}}},'encryptBlock':function(_0x1066e1,_0x2237e9){const _0x3e0e2f=_0x3a808a;this[_0x3e0e2f(0x10e)](_0x1066e1,_0x2237e9,this[_0x3e0e2f(0x3b9)],_0x16f265,_0x534156,_0x34df70,_0x42da92,_0x52cea7);},'decryptBlock':function(_0x489225,_0x3eeafc){const _0x201d5e=_0x3a808a;var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9,this[_0x201d5e(0x10e)](_0x489225,_0x3eeafc,this['_invKeySchedule'],_0x1f93cc,_0x20a490,_0x2815df,_0x56a7c2,_0x148584);var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9;},'_doCryptBlock':function(_0x2bf1f9,_0xb0af47,_0x49087e,_0x442e9b,_0x32ff6b,_0x2c922a,_0x55bc19,_0x14d14b){const _0x340043=_0x3a808a;for(var _0x451f09=this[_0x340043(0x122)],_0x162366=_0x2bf1f9[_0xb0af47]^_0x49087e[0x0],_0x55cfd3=_0x2bf1f9[_0xb0af47+0x1]^_0x49087e[0x1],_0xd46af2=_0x2bf1f9[_0xb0af47+0x2]^_0x49087e[0x2],_0x359a61=_0x2bf1f9[_0xb0af47+0x3]^_0x49087e[0x3],_0x5a34b9=0x4,_0x566356=0x1;_0x566356<_0x451f09;_0x566356++){var _0x3a9f0a=_0x442e9b[_0x162366>>>0x18]^_0x32ff6b[_0x55cfd3>>>0x10&0xff]^_0x2c922a[_0xd46af2>>>0x8&0xff]^_0x55bc19[_0x359a61&0xff]^_0x49087e[_0x5a34b9++],_0x310930=_0x442e9b[_0x55cfd3>>>0x18]^_0x32ff6b[_0xd46af2>>>0x10&0xff]^_0x2c922a[_0x359a61>>>0x8&0xff]^_0x55bc19[_0x162366&0xff]^_0x49087e[_0x5a34b9++],_0x1e3db3=_0x442e9b[_0xd46af2>>>0x18]^_0x32ff6b[_0x359a61>>>0x10&0xff]^_0x2c922a[_0x162366>>>0x8&0xff]^_0x55bc19[_0x55cfd3&0xff]^_0x49087e[_0x5a34b9++],_0x1feb14=_0x442e9b[_0x359a61>>>0x18]^_0x32ff6b[_0x162366>>>0x10&0xff]^_0x2c922a[_0x55cfd3>>>0x8&0xff]^_0x55bc19[_0xd46af2&0xff]^_0x49087e[_0x5a34b9++];_0x162366=_0x3a9f0a,_0x55cfd3=_0x310930,_0xd46af2=_0x1e3db3,_0x359a61=_0x1feb14;}var _0x3a9f0a=(_0x14d14b[_0x162366>>>0x18]<<0x18|_0x14d14b[_0x55cfd3>>>0x10&0xff]<<0x10|_0x14d14b[_0xd46af2>>>0x8&0xff]<<0x8|_0x14d14b[_0x359a61&0xff])^_0x49087e[_0x5a34b9++],_0x310930=(_0x14d14b[_0x55cfd3>>>0x18]<<0x18|_0x14d14b[_0xd46af2>>>0x10&0xff]<<0x10|_0x14d14b[_0x359a61>>>0x8&0xff]<<0x8|_0x14d14b[_0x162366&0xff])^_0x49087e[_0x5a34b9++],_0x1e3db3=(_0x14d14b[_0xd46af2>>>0x18]<<0x18|_0x14d14b[_0x359a61>>>0x10&0xff]<<0x10|_0x14d14b[_0x162366>>>0x8&0xff]<<0x8|_0x14d14b[_0x55cfd3&0xff])^_0x49087e[_0x5a34b9++],_0x1feb14=(_0x14d14b[_0x359a61>>>0x18]<<0x18|_0x14d14b[_0x162366>>>0x10&0xff]<<0x10|_0x14d14b[_0x55cfd3>>>0x8&0xff]<<0x8|_0x14d14b[_0xd46af2&0xff])^_0x49087e[_0x5a34b9++];_0x2bf1f9[_0xb0af47]=_0x3a9f0a,_0x2bf1f9[_0xb0af47+0x1]=_0x310930,_0x2bf1f9[_0xb0af47+0x2]=_0x1e3db3,_0x2bf1f9[_0xb0af47+0x3]=_0x1feb14;},'keySize':0x100/0x20});_0x486d4b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2b5)](_0x37048f);}()),_0x4840ed[_0x1e2c34(0x3a7)];}));}(dt)),dt[_0x11a7c0(0x4b3)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x5e3172(0x4b3)],gi;function gc(){const _0x5509a0=_0x5e3172;return gi||(gi=0x1,function(_0x541ca3,_0x592c82){(function(_0x5e424a,_0x356bb0){const _0x424205=_0x1eb2;_0x541ca3[_0x424205(0x4b3)]=_0x356bb0(_e());}(mc,function(_0xd6ceb3){const _0x182340=_0x1eb2;return _0xd6ceb3[_0x182340(0x302)][_0x182340(0x188)];}));}(Ct)),Ct[_0x5509a0(0x4b3)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x5e3172(0x4b3)],Si;function Ec(){const _0x29cc6c=_0x5e3172;return Si||(Si=0x1,function(_0x69c85f,_0x6f6e4d){(function(_0x348ddc,_0x1fab6a){const _0x5810e2=_0x1eb2;_0x69c85f[_0x5810e2(0x4b3)]=_0x1fab6a(_e());}(Cc,function(_0x37a954){const _0x286a11=_0x1eb2;return(function(){const _0x570a3c=_0x1eb2;if(typeof ArrayBuffer=='function'){var _0x5689c0=_0x37a954,_0x20f06e=_0x5689c0[_0x570a3c(0x1e5)],_0x3cf7db=_0x20f06e[_0x570a3c(0x24d)],_0x32c229=_0x3cf7db['init'],_0x3c59c6=_0x3cf7db[_0x570a3c(0x433)]=function(_0x36c059){const _0x4832a9=_0x570a3c;if(_0x36c059 instanceof ArrayBuffer&&(_0x36c059=new Uint8Array(_0x36c059)),(_0x36c059 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x36c059 instanceof Uint8ClampedArray||_0x36c059 instanceof Int16Array||_0x36c059 instanceof Uint16Array||_0x36c059 instanceof Int32Array||_0x36c059 instanceof Uint32Array||_0x36c059 instanceof Float32Array||_0x36c059 instanceof Float64Array)&&(_0x36c059=new Uint8Array(_0x36c059[_0x4832a9(0x172)],_0x36c059[_0x4832a9(0x361)],_0x36c059[_0x4832a9(0x376)])),_0x36c059 instanceof Uint8Array){for(var _0x461c47=_0x36c059[_0x4832a9(0x376)],_0x3910f5=[],_0x502926=0x0;_0x502926<_0x461c47;_0x502926++)_0x3910f5[_0x502926>>>0x2]|=_0x36c059[_0x502926]<<0x18-_0x502926%0x4*0x8;_0x32c229[_0x4832a9(0x500)](this,_0x3910f5,_0x461c47);}else _0x32c229[_0x4832a9(0x212)](this,arguments);};_0x3c59c6[_0x570a3c(0x4e8)]=_0x3cf7db;}}()),_0x37a954['lib'][_0x286a11(0x24d)];}));}(Et)),Et[_0x29cc6c(0x4b3)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt['exports'],Ii;function Oc(){const _0x55d426=_0x5e3172;return Ii||(Ii=0x1,function(_0x5dea5d,_0x2c5aa0){(function(_0x3b2d34,_0xfd3514,_0x4e21be){const _0x12a51f=_0x1eb2;_0x5dea5d[_0x12a51f(0x4b3)]=_0xfd3514(_e(),or());}(Rc,function(_0x4249bf){const _0x243e5f=_0x1eb2;return _0x4249bf['pad'][_0x243e5f(0x1b3)]={'pad':function(){},'unpad':function(){}},_0x4249bf[_0x243e5f(0x3bd)][_0x243e5f(0x1b3)];}));}(bt)),bt[_0x55d426(0x4b3)];}var yc=Oc();const wc=ct(yc);function Dc(_0x1a8645,_0x3d7997){const _0x138240=_0x5e3172,_0x150d9e=_0x3d7997-_0x1a8645[_0x138240(0x2c8)]%_0x3d7997,_0xa7300f=String[_0x138240(0x4d5)](_0x150d9e)[_0x138240(0x1cf)](_0x150d9e);return _0x1a8645+_0xa7300f;}function Pc(_0x23b4be,_0x7f78b3){const _0x1ef9c9=_0x5e3172,_0x3900b3=Tc[_0x1ef9c9(0x34c)](0x10),_0x15ae21=Dc(_0x23b4be,0x10),_0x5a3624=vc[_0x1ef9c9(0x447)](Ic[_0x1ef9c9(0x32f)](_0x15ae21),mi[_0x1ef9c9(0x32f)](_0x7f78b3),{'iv':_0x3900b3,'padding':wc});return _0x3900b3[_0x1ef9c9(0x4b9)](_0x5a3624[_0x1ef9c9(0x3a5)])[_0x1ef9c9(0x129)](mi);}function Nc(){const _0x3b9bae=_0x5e3172,_0x2e3deb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3b9bae(0x38a)];if(_0x2e3deb){const _0x2beb42={'time':Math[_0x3b9bae(0x21e)](Date[_0x3b9bae(0x256)]()/0x3e8),'domain':location[_0x3b9bae(0x512)]};return Pc(JSON[_0x3b9bae(0x50f)](_0x2beb42),_0x2e3deb);}}var Uc=Object['defineProperty'],Ac=Object[_0x5e3172(0x26f)],Mc=(_0x43098f,_0x1606d9,_0x293472,_0x675988)=>{const _0x794061=_0x5e3172;for(var _0x3342a4=_0x675988>0x1?void 0x0:_0x675988?Ac(_0x1606d9,_0x293472):_0x1606d9,_0x48d86f=_0x43098f[_0x794061(0x2c8)]-0x1,_0x9e642c;_0x48d86f>=0x0;_0x48d86f--)(_0x9e642c=_0x43098f[_0x48d86f])&&(_0x3342a4=(_0x675988?_0x9e642c(_0x1606d9,_0x293472,_0x3342a4):_0x9e642c(_0x3342a4))||_0x3342a4);return _0x675988&&_0x3342a4&&Uc(_0x1606d9,_0x293472,_0x3342a4),_0x3342a4;},xc=(_0x103dc3,_0x403750)=>(_0x3e8334,_0x428812)=>_0x403750(_0x3e8334,_0x428812,_0x103dc3);let $t=class{constructor(_0x35eedc){const _0x53fb08=_0x5e3172;this[_0x53fb08(0x535)]=_0x35eedc,this[_0x53fb08(0x2aa)]();}['_initRequestHeader'](){const _0xb0b679=_0x5e3172;this[_0xb0b679(0x535)][_0xb0b679(0x24c)]({'interceptor':(_0x1775fd,_0x1b7cc6)=>{const _0xbed144=_0xb0b679,_0x4de707=_0x1775fd[_0xbed144(0x260)],_0x55f1b7=Nc();return _0x55f1b7&&_0x4de707[_0xbed144(0x332)](_0xbed144(0x4ac),_0x55f1b7),_0x1b7cc6(_0x1775fd);}});}};$t=Mc([xc(0x0,_0x1259a7(_0x21ff0e))],$t);var Lc=Object[_0x5e3172(0x243)],$c=Object[_0x5e3172(0x26f)],Hc=(_0x91838,_0x5c7973,_0x4596f3,_0x6fa5b4)=>{const _0x251931=_0x5e3172;for(var _0x1cd978=_0x6fa5b4>0x1?void 0x0:_0x6fa5b4?$c(_0x5c7973,_0x4596f3):_0x5c7973,_0x536d7a=_0x91838[_0x251931(0x2c8)]-0x1,_0x19b9ce;_0x536d7a>=0x0;_0x536d7a--)(_0x19b9ce=_0x91838[_0x536d7a])&&(_0x1cd978=(_0x6fa5b4?_0x19b9ce(_0x5c7973,_0x4596f3,_0x1cd978):_0x19b9ce(_0x1cd978))||_0x1cd978);return _0x6fa5b4&&_0x1cd978&&Lc(_0x5c7973,_0x4596f3,_0x1cd978),_0x1cd978;},rs=(_0x577bf4,_0x48e82b)=>(_0x3c82b2,_0x18fe79)=>_0x48e82b(_0x3c82b2,_0x18fe79,_0x577bf4);const jc=['image/png',_0x5e3172(0x29e),_0x5e3172(0x4af),_0x5e3172(0x529),_0x5e3172(0x261)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x5e3172(0x484),Fc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Vc=_0x5e3172(0x298);let ms=class{constructor(_0x51361b,_0x13069e,_0x15c084){const _0x280f6f=_0x5e3172;g(this,_0x280f6f(0x1c6),0x0),g(this,'_change$',new _0x1b8780()),g(this,_0x280f6f(0x202),this[_0x280f6f(0x2d5)]),g(this,_0x280f6f(0x28b),new Map()),(this[_0x280f6f(0x535)]=_0x51361b,this[_0x280f6f(0x270)]=_0x13069e,this['_univerInstanceService']=_0x15c084);}[_0x5e3172(0x383)](_0x75be67){const _0x4e1a0b=_0x5e3172;this[_0x4e1a0b(0x1c6)]=_0x75be67,this['_change$'][_0x4e1a0b(0x23b)](_0x75be67);}[_0x5e3172(0x27e)](_0x542cc9,_0x28e51f){const _0x779e15=_0x5e3172;if(_0x28e51f===_0xa7900e[_0x779e15(0x51d)]){const _0x6a2376=new Image();return _0x6a2376[_0x779e15(0x130)]=_0x542cc9,_0x6a2376;}return this[_0x779e15(0x28b)][_0x779e15(0x307)](_0x542cc9);}['addImageSourceCache'](_0x345277,_0x435ec8,_0x1d0054){const _0x2deb25=_0x5e3172;_0x435ec8===_0xa7900e[_0x2deb25(0x51d)]||_0x1d0054==null||this[_0x2deb25(0x28b)][_0x2deb25(0x332)](_0x345277,_0x1d0054);}async[_0x5e3172(0x28f)](_0x5ce59a){const _0xe0f810=_0x5e3172;try{const _0xbfabd6=this[_0xe0f810(0x1c1)](this[_0xe0f810(0x34d)](),''+_0x5ce59a),_0x365f9c=(await this[_0xe0f810(0x535)][_0xe0f810(0x307)](_0xbfabd6))[_0xe0f810(0x2da)];if(_0x365f9c[_0xe0f810(0x295)]&&_0x365f9c[_0xe0f810(0x295)][_0xe0f810(0x1d0)]===Fi['OK']){const _0x416235=new URL(_0x365f9c[_0xe0f810(0x165)],this[_0xe0f810(0x3d9)]())['toString']();return Promise[_0xe0f810(0x3ba)](_0x416235);}return Promise[_0xe0f810(0x21c)](_0x365f9c[_0xe0f810(0x295)]);}catch(_0x4df722){return Promise[_0xe0f810(0x21c)](_0x4df722);}}async[_0x5e3172(0x341)](_0x329ad9){const _0x5eefc5=_0x5e3172;let _0x4ea60a='';if(!jc[_0x5eefc5(0x2bc)](_0x329ad9['type']))return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x2b9)]));if(_0x329ad9['size']>Bc)return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x1a1)]));try{const _0x27cc2d=new FormData();_0x27cc2d['append'](_0x5eefc5(0x2ad),_0x329ad9);const _0x2916ca=this[_0x5eefc5(0x153)][_0x5eefc5(0x27b)](),_0x37185b=_0x2916ca==null?void 0x0:_0x2916ca[_0x5eefc5(0x12f)]();if(!_0x37185b)throw new Error(_0x5eefc5(0x418));const _0xeeaaa4=this[_0x5eefc5(0x45b)]()+_0x5eefc5(0x1d9)+_0x329ad9[_0x5eefc5(0x3aa)][_0x5eefc5(0x129)]()+_0x5eefc5(0x1d1)+Vi[_0x5eefc5(0x16c)]+_0x5eefc5(0x4b1)+encodeURIComponent(_0x37185b),_0xa43bd9=await(await fetch(_0xeeaaa4,{'method':_0x5eefc5(0x292),'body':_0x27cc2d}))['json']();if(typeof _0xa43bd9['FileId']!=_0x5eefc5(0x429))return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162['ERROR_IMAGE']));_0x4ea60a=_0xa43bd9[_0x5eefc5(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x3de)]));}return new Promise((_0x4a4c54,_0x3649c1)=>{const _0x4d726e=_0x5eefc5,_0x2eb13e=new FileReader();_0x2eb13e['readAsDataURL'](_0x329ad9),_0x2eb13e[_0x4d726e(0x21d)]=_0x3c42f5=>{const _0x229398=_0x4d726e;var _0x365fff;const _0x188404=(_0x365fff=_0x3c42f5['target'])==null?void 0x0:_0x365fff['result'];if(_0x188404==null){this['_decreaseWaiting'](),_0x3649c1(new Error(_0x2f0162[_0x229398(0x3de)]));return;}const _0x2b0087=_0x279a54['generateRandomId'](0x6);_0x4a4c54({'imageId':_0x2b0087,'imageSourceType':_0xa7900e[_0x229398(0x3a6)],'source':_0x4ea60a,'base64Cache':_0x188404,'status':_0x2f0162[_0x229398(0x387)]}),this[_0x229398(0x2f5)]();};});}[_0x5e3172(0x45b)](){const _0x119d05=_0x5e3172;var _0x49af4d,_0xc6cddf;const _0x363057=this[_0x119d05(0x270)][_0x119d05(0x186)](kc),_0x2f816c=this[_0x119d05(0x270)][_0x119d05(0x186)](Q);return(_0xc6cddf=(_0x49af4d=_0x2f816c==null?void 0x0:_0x2f816c['uploadFileServerUrl'])!=null?_0x49af4d:_0x363057)!=null?_0xc6cddf:Wc;}[_0x5e3172(0x34d)](){const _0x489b32=_0x5e3172;var _0x53fdfd,_0x3d8a8b;const _0x42695d=this[_0x489b32(0x270)][_0x489b32(0x186)](Fc),_0x5a70cc=this[_0x489b32(0x270)]['getConfig'](Q);return(_0x3d8a8b=(_0x53fdfd=_0x5a70cc==null?void 0x0:_0x5a70cc[_0x489b32(0x4ad)])!=null?_0x53fdfd:_0x42695d)!=null?_0x3d8a8b:Vc;}['_getDownloadEndpointURL'](){const _0x3dae2d=_0x5e3172;var _0x29735f;const _0x5e5f27=this[_0x3dae2d(0x270)][_0x3dae2d(0x186)](Q);return(_0x29735f=_0x5e5f27==null?void 0x0:_0x5e5f27[_0x3dae2d(0x126)])!=null?_0x29735f:location[_0x3dae2d(0x22e)];}[_0x5e3172(0x1c1)](_0x58f3e0,_0x51c0da){const _0x1ea7c0=_0x5e3172;return _0x58f3e0[_0x1ea7c0(0x1b6)](_0x1ea7c0(0x4c7),_0x51c0da);}[_0x5e3172(0x2f5)](){const _0x28f97a=_0x5e3172;this[_0x28f97a(0x1c6)]-=0x1,this['_change$'][_0x28f97a(0x23b)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x1259a7(_0x21ff0e)),rs(0x1,_0x3a37b7),rs(0x2,_0x1259a7(_0x381e7e))],ms);var Gc=Object[_0x5e3172(0x243)],Yc=Object[_0x5e3172(0x26f)],Kc=(_0x1445f7,_0x20002b,_0x324075,_0x271ff7)=>{const _0x5402eb=_0x5e3172;for(var _0x25cb52=_0x271ff7>0x1?void 0x0:_0x271ff7?Yc(_0x20002b,_0x324075):_0x20002b,_0x54a48a=_0x1445f7[_0x5402eb(0x2c8)]-0x1,_0x4d7534;_0x54a48a>=0x0;_0x54a48a--)(_0x4d7534=_0x1445f7[_0x54a48a])&&(_0x25cb52=(_0x271ff7?_0x4d7534(_0x20002b,_0x324075,_0x25cb52):_0x4d7534(_0x25cb52))||_0x25cb52);return _0x271ff7&&_0x25cb52&&Gc(_0x20002b,_0x324075,_0x25cb52),_0x25cb52;},Ci=(_0x63c8e8,_0x9aca3)=>(_0x5c7a3a,_0x4d4378)=>_0x9aca3(_0x5c7a3a,_0x4d4378,_0x63c8e8);const qc='/universer-api/authz';let gs=class{constructor(_0x4bf135,_0x1f8962){const _0x511619=_0x5e3172;this[_0x511619(0x270)]=_0x4bf135,this[_0x511619(0x31f)]=_0x1f8962;}['_getAPIPrefixPath'](){const _0x583683=_0x5e3172;var _0x17be6d,_0x298ddd;const _0x4a50a0=this[_0x583683(0x270)][_0x583683(0x186)](ir),_0x3a2d16=this[_0x583683(0x270)]['getConfig'](Q);return(_0x298ddd=(_0x17be6d=_0x3a2d16==null?void 0x0:_0x3a2d16[_0x583683(0x13f)])!=null?_0x17be6d:_0x4a50a0)!=null?_0x298ddd:qc;}async[_0x5e3172(0x169)](_0x278932){const _0x3ea186=_0x5e3172,_0x43ba8f=this[_0x3ea186(0x1f9)]()+_0x3ea186(0x3f8);return{'list':[{'title':_0x3ea186(0x52b),'mentions':(await this[_0x3ea186(0x31f)][_0x3ea186(0x307)](_0x43ba8f,{'params':{'objectID':_0x278932[_0x3ea186(0x452)],'unitID':_0x278932[_0x3ea186(0x452)]}}))[_0x3ea186(0x2da)][_0x3ea186(0x470)]['map'](_0x1a65b1=>({'objectId':_0x1a65b1['id'],'name':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x121)],'metadata':{'icon':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x501)]},'label':_0x1a65b1['subject'][_0x3ea186(0x121)],'objectType':_0xbf08a['PERSON']})),'metadata':{},'type':_0xbf08a['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1259a7(_0x3a37b7)),Ci(0x1,_0x1259a7(_0x21ff0e))],gs);var zc=Object[_0x5e3172(0x243)],Xc=Object[_0x5e3172(0x26f)],Jc=(_0x1657be,_0x4a993d,_0x5490d6,_0x4a9605)=>{const _0xb78ae1=_0x5e3172;for(var _0x2d2a61=_0x4a9605>0x1?void 0x0:_0x4a9605?Xc(_0x4a993d,_0x5490d6):_0x4a993d,_0xaf24f2=_0x1657be[_0xb78ae1(0x2c8)]-0x1,_0x29f24e;_0xaf24f2>=0x0;_0xaf24f2--)(_0x29f24e=_0x1657be[_0xaf24f2])&&(_0x2d2a61=(_0x4a9605?_0x29f24e(_0x4a993d,_0x5490d6,_0x2d2a61):_0x29f24e(_0x2d2a61))||_0x2d2a61);return _0x4a9605&&_0x2d2a61&&zc(_0x4a993d,_0x5490d6,_0x2d2a61),_0x2d2a61;},et=(_0xd96f24,_0x30d349)=>(_0x15826b,_0x18a3e8)=>_0x30d349(_0x15826b,_0x18a3e8,_0xd96f24);let Ht=class extends _0x5ce84d{constructor(_0x3a5b8f,_0x46b5ff,_0xb3ff4c,_0x2b3405,_0x554b15){const _0x5b2293=_0x5e3172;super(),this[_0x5b2293(0x3b4)]=_0x3a5b8f,this[_0x5b2293(0x153)]=_0x46b5ff,this[_0x5b2293(0x366)]=_0xb3ff4c,this[_0x5b2293(0x41c)]=_0x2b3405,this[_0x5b2293(0x48a)]=_0x554b15,this[_0x5b2293(0x4ae)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x36d9f2=_0x5e3172,_0x1a3191=async _0x48dc98=>{const _0x10eff5=_0x1eb2;(await this[_0x10eff5(0x41c)][_0x10eff5(0x17e)](_0x48dc98))['event$'][_0x10eff5(0x4b6)](_0x3c0a43(_0x5f0803=>_0x5f0803[_0x10eff5(0x451)]===_0x385814['SHOULD_CLOSE_CONN']),_0x209ee4(this[_0x10eff5(0x511)]))[_0x10eff5(0x134)](_0x32ed67=>{const _0x2a9ccc=_0x10eff5,_0x2b3b47=_0x32ed67,{reason:_0x13cc6f}=_0x2b3b47[_0x2a9ccc(0x288)];this[_0x2a9ccc(0x3b4)][_0x2a9ccc(0x307)](_0x28a2c3)['show']({'type':_0x59169d['Error'],'content':this[_0x2a9ccc(0x48a)]['t'](_0x2a9ccc(0x4b5))+'('+_0x13cc6f+')'}),this[_0x2a9ccc(0x366)][_0x2a9ccc(0x299)](new _0x1a4341(_0x48dc98)['id'],!0x1),this[_0x2a9ccc(0x41c)]['closeSession'](_0x48dc98);});};_0x143e60(this[_0x36d9f2(0x153)][_0x36d9f2(0x1ba)](_0xfbb68f[_0x36d9f2(0x1c2)]),this['_univerInstanceService'][_0x36d9f2(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x36d9f2(0x4b6)](_0x2945cf(_0x2f76f2=>_0x2f76f2[_0x36d9f2(0x12f)]()),_0x3c0a43(_0x249fc9=>!_0x48d1da(_0x249fc9)),_0x209ee4(this[_0x36d9f2(0x511)]))['subscribe'](_0x2f7bf8=>{_0x1a3191(_0x2f7bf8);});}['_initUnitPermissionChange'](){const _0x4b10c9=_0x5e3172,_0x5f2407=async _0x634587=>{const _0x3c7d5d=_0x1eb2;(await this[_0x3c7d5d(0x41c)][_0x3c7d5d(0x17e)](_0x634587))['event$'][_0x3c7d5d(0x4b6)](_0x3c0a43(_0x54a332=>_0x54a332[_0x3c7d5d(0x451)]===_0x385814[_0x3c7d5d(0x278)]),_0x209ee4(this[_0x3c7d5d(0x511)]))[_0x3c7d5d(0x134)](_0x7e990b=>{const _0x28d657=_0x3c7d5d,_0x23bd3a=_0x7e990b,{objectId:_0x33984d}=_0x23bd3a['data'],_0x179340=this['_injector'][_0x28d657(0x307)](_0x25b747);_0x33984d===_0x634587?_0x179340[_0x28d657(0x2c2)](_0x634587):_0x179340['refreshPermission'](_0x634587,_0x33984d);});};_0x143e60(this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f[_0x4b10c9(0x1c2)]),this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x4b10c9(0x4b6)](_0x2945cf(_0x4e65d7=>_0x4e65d7[_0x4b10c9(0x12f)]()),_0x3c0a43(_0x495e8b=>!_0x48d1da(_0x495e8b)),_0x209ee4(this['dispose$']))[_0x4b10c9(0x134)](_0x110253=>{_0x5f2407(_0x110253);});}};Ht=Jc([et(0x0,_0x1259a7(_0xa6ca3c)),et(0x1,_0x381e7e),et(0x2,_0x51028f),et(0x3,_0x1259a7(xe)),et(0x4,_0x1259a7(_0x56a2bf))],Ht);var Zc=Object[_0x5e3172(0x243)],Qc=Object[_0x5e3172(0x26f)],eh=(_0x4d5adb,_0x26af68,_0x34a252,_0x30314d)=>{const _0x40c8e3=_0x5e3172;for(var _0x5dbef4=_0x30314d>0x1?void 0x0:_0x30314d?Qc(_0x26af68,_0x34a252):_0x26af68,_0xe4d6d3=_0x4d5adb[_0x40c8e3(0x2c8)]-0x1,_0x340b4c;_0xe4d6d3>=0x0;_0xe4d6d3--)(_0x340b4c=_0x4d5adb[_0xe4d6d3])&&(_0x5dbef4=(_0x30314d?_0x340b4c(_0x26af68,_0x34a252,_0x5dbef4):_0x340b4c(_0x5dbef4))||_0x5dbef4);return _0x30314d&&_0x5dbef4&&Zc(_0x26af68,_0x34a252,_0x5dbef4),_0x5dbef4;},Ei=(_0x553cf7,_0x293ae5)=>(_0x55825a,_0x37dd5d)=>_0x293ae5(_0x55825a,_0x37dd5d,_0x553cf7);let Ss=class{constructor(_0x4f0bce,_0x1ab1a4){this['_configService']=_0x4f0bce,this['_httpService']=_0x1ab1a4;}async[_0x5e3172(0x407)](_0x2ad534,_0xd802e8){const _0x811bca=_0x5e3172;var _0x2a0c1e;const {unitID:_0x264608,type:_0x5eca53,revision:_0x567595=0x0}=_0xd802e8,_0x174120=this['getSnapshotAPIPath']()+'/'+_0x5eca53+_0x811bca(0x13d)+_0x264608+_0x811bca(0x2ca)+_0x567595,_0x585578=(await this[_0x811bca(0x535)][_0x811bca(0x307)](_0x174120))[_0x811bca(0x2da)],_0x587970=(_0x2a0c1e=_0x585578[_0x811bca(0x515)])==null?void 0x0:_0x2a0c1e[_0x811bca(0x204)];if(_0x587970){const _0x2b91a2=_0x587970==null?void 0x0:_0x587970[_0x811bca(0x26c)],_0x266323=_0xf9a5c6[_0x811bca(0x2d2)](_0x1a04e2(_0x2b91a2));_0x587970['originalMeta']=_0x266323,Object[_0x811bca(0x16f)](_0x587970[_0x811bca(0x29b)])[_0x811bca(0x356)](([,_0x34add0])=>{const _0x1174ae=_0x811bca,_0xbd94b4=_0x34add0[_0x1174ae(0x26c)],_0x198403=_0xf9a5c6[_0x1174ae(0x2d2)](_0x1a04e2(_0xbd94b4));_0x34add0[_0x1174ae(0x26c)]=_0x198403;});}return _0x585578;}async[_0x5e3172(0x4bf)](_0x20d110,_0x1ebef9){const _0x1e220f=_0x5e3172,{unitID:_0x371e32,type:_0x1c8025,blockID:_0x4d65e6}=_0x1ebef9,_0x1d88a0=this['_getAPIPrefix']()+'/'+_0x1c8025+'/unit/'+_0x371e32+_0x1e220f(0x209)+_0x4d65e6;return(await this['_httpService'][_0x1e220f(0x307)](_0x1d88a0))[_0x1e220f(0x2da)];}async[_0x5e3172(0x2e0)](_0x923457,_0x82fd03){const _0x580f31=_0x5e3172,{unitID:_0x1d292e,type:_0x3fa0f6,blockID:_0x3fee32}=_0x82fd03,_0x519b51=this[_0x580f31(0x233)]()+_0x580f31(0x209)+_0x3fa0f6+_0x580f31(0x13d)+_0x1d292e+'/block/'+_0x3fee32;return(await this[_0x580f31(0x535)][_0x580f31(0x307)](_0x519b51))[_0x580f31(0x2da)];}async[_0x5e3172(0x41a)](_0x255f50,_0x470d4f){const _0x2bfe90=_0x5e3172,{unitID:_0x706a13,type:_0x4fb874,from:_0x39e688,to:_0x204df2}=_0x470d4f,_0x263791=this['_getAPIPrefix']()+'/'+_0x4fb874+_0x2bfe90(0x13d)+_0x706a13+'/fetchmissing?from='+_0x39e688+_0x2bfe90(0x426)+_0x204df2;return(await this[_0x2bfe90(0x535)]['get'](_0x263791))[_0x2bfe90(0x2da)];}[_0x5e3172(0x2d6)](){const _0x13acd4=_0x5e3172;var _0x454a34;return(_0x454a34=this[_0x13acd4(0x270)][_0x13acd4(0x186)](Tn))!=null?_0x454a34:this[_0x13acd4(0x233)]();}[_0x5e3172(0x233)](){const _0x16595e=_0x5e3172;var _0x2f8611,_0x1172e5;const _0x2f6716=this[_0x16595e(0x270)][_0x16595e(0x186)](En),_0x1d84fc=this[_0x16595e(0x270)][_0x16595e(0x186)](Q);return(_0x1172e5=(_0x2f8611=_0x1d84fc==null?void 0x0:_0x1d84fc[_0x16595e(0x3e8)])!=null?_0x2f8611:_0x2f6716)!=null?_0x1172e5:bn;}async[_0x5e3172(0x498)](_0x5d8164,_0x283a97){const _0x407c46=_0x5e3172,_0x256b89=_0x407c46(0x438)+_0x283a97[_0x407c46(0x20d)]+'/unit/'+_0x283a97[_0x407c46(0x4e4)]+_0x407c46(0x3c1);return(await this[_0x407c46(0x535)][_0x407c46(0x307)](_0x256b89,{'params':{'resourceId':JSON[_0x407c46(0x50f)](_0x283a97['resourceIDs'])}}))[_0x407c46(0x2da)];}[_0x5e3172(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2be)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x33f)](){const _0x2d58d5=_0x5e3172;throw new Error(_0x2d58d5(0x45d));}[_0x5e3172(0x1a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x3a37b7),Ei(0x1,_0x1259a7(_0x21ff0e))],Ss);var th=Object[_0x5e3172(0x243)],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4bce29,_0x8b0d34,_0x38e13e,_0x369784)=>{const _0x462ef2=_0x5e3172;for(var _0x2c7dd9=_0x369784>0x1?void 0x0:_0x369784?sh(_0x8b0d34,_0x38e13e):_0x8b0d34,_0xfc1b73=_0x4bce29[_0x462ef2(0x2c8)]-0x1,_0x1e7378;_0xfc1b73>=0x0;_0xfc1b73--)(_0x1e7378=_0x4bce29[_0xfc1b73])&&(_0x2c7dd9=(_0x369784?_0x1e7378(_0x8b0d34,_0x38e13e,_0x2c7dd9):_0x1e7378(_0x2c7dd9))||_0x2c7dd9);return _0x369784&&_0x2c7dd9&&th(_0x8b0d34,_0x38e13e,_0x2c7dd9),_0x2c7dd9;},tt=(_0x29c3ff,_0x5b58b4)=>(_0x1a27b2,_0xc60d7)=>_0x5b58b4(_0x1a27b2,_0xc60d7,_0x29c3ff);let Is=class extends _0x301e35{constructor(_0x18eb0e,_0x3d14e6,_0x224b4a,_0x327810,_0x6b136a){const _0x66f195=_0x5e3172;super(_0x18eb0e,_0x3d14e6,_0x224b4a),this[_0x66f195(0x4ff)]=_0x327810,this[_0x66f195(0x52d)]=_0x6b136a;}[_0x5e3172(0x143)](_0x2364ef,_0x504f9b){const _0x30d47e=_0x5e3172,_0x5b6d2b=this[_0x30d47e(0x3bf)](_0x2364ef);if(_0x5b6d2b)try{const _0xafaaef=this['_transformStack'](_0x5b6d2b,_0x504f9b);this[_0x30d47e(0x300)](_0x2364ef,_0xafaaef);}catch(_0x4c2ba4){this['_logService'][_0x30d47e(0x295)](_0x30d47e(0x19f),_0x4c2ba4),this['_clearUndo'](_0x2364ef);}const _0x493cfb=this[_0x30d47e(0x488)](_0x2364ef);if(_0x493cfb)try{const _0x394b1b=this['_transformStack'](_0x493cfb,_0x504f9b);this[_0x30d47e(0x14f)](_0x2364ef,_0x394b1b);}catch(_0x422262){this['_logService']['error'](_0x422262),this[_0x30d47e(0x455)](_0x2364ef);}}[_0x5e3172(0x46b)](_0xd2e177){const _0x49d8b7=_0x5e3172,_0x3f715c=this[_0x49d8b7(0x3bf)](_0xd2e177);_0x3f715c&&(_0x3f715c[_0x49d8b7(0x2c8)]=0x0,this[_0x49d8b7(0x4f4)]());}[_0x5e3172(0x455)](_0x142411){const _0xe8f7d6=_0x5e3172,_0x3be05b=this['_getRedoStack'](_0x142411);_0x3be05b&&(_0x3be05b[_0xe8f7d6(0x2c8)]=0x0,this['_updateStatus']());}[_0x5e3172(0x300)](_0x26412d,_0x121f63){const _0x5b7c7=_0x5e3172;this[_0x5b7c7(0x136)][_0x5b7c7(0x332)](_0x26412d,_0x121f63),this['_updateStatus']();}[_0x5e3172(0x14f)](_0x1d124f,_0x4ec93d){const _0x2605ea=_0x5e3172;this[_0x2605ea(0x1ef)][_0x2605ea(0x332)](_0x1d124f,_0x4ec93d),this[_0x2605ea(0x4f4)]();}[_0x5e3172(0x4ba)](_0x2a5040,_0x24b221){const _0x2e18c8=_0x5e3172,_0x452db1=[];let _0x3fdb1e=_0x24b221,_0x1b3bb8=_0x24b221;for(let _0x1db772=_0x2a5040[_0x2e18c8(0x2c8)]-0x1;_0x1db772>=0x0;_0x1db772--){const {unitID:_0x40d3b6,undoMutations:_0x47a9f4,redoMutations:_0x1e1086}=_0x2a5040[_0x1db772],_0x3a41cc=this['_transformService'][_0x2e18c8(0x4a6)](_0x3fdb1e,_0x47a9f4),_0x29723c=this[_0x2e18c8(0x4ff)][_0x2e18c8(0x4a6)](_0x1b3bb8,_0x1e1086);if(_0x2ccc3c(_0x3a41cc)||_0x2ccc3c(_0x29723c)){this[_0x2e18c8(0x52d)][_0x2e18c8(0x295)](_0x2e18c8(0x19f),_0x2e18c8(0x124),_0x3a41cc,_0x29723c);break;}_0x3fdb1e=_0x3a41cc[_0x2e18c8(0x1e7)],_0x1b3bb8=_0x29723c['c1Prime'],_0x452db1[_0x2e18c8(0x38e)]({'unitID':_0x40d3b6,'undoMutations':_0x3a41cc[_0x2e18c8(0x20f)],'redoMutations':_0x29723c['m2Prime']});}return _0x452db1[_0x2e18c8(0x491)]();}};Is=ih([tt(0x0,_0x381e7e),tt(0x1,_0x58c2c0),tt(0x2,_0x1f3c95),tt(0x3,_0x2a04be),tt(0x4,_0xadcc6)],Is);class rh extends _0x5ce84d{constructor(){const _0x4437e3=_0x5e3172;super(),g(this,_0x4437e3(0x1fa)),this[_0x4437e3(0x1fa)]=_0x1a191c(window,_0x4437e3(0x22a))[_0x4437e3(0x4b6)](_0x34041a(this[_0x4437e3(0x511)]),_0x55695a(0x1),_0x15c046(void 0x0));}[_0x5e3172(0x431)](_0x5d1a33,_0x4e5e4b,_0x52f6a6=!0x1){const _0x4b4f0e=_0x5e3172,_0x4505e2=new URL(window[_0x4b4f0e(0x4e2)][_0x4b4f0e(0x38d)]);_0x4505e2['searchParams']['set'](_0x5d1a33,_0x4e5e4b),_0x52f6a6?window[_0x4b4f0e(0x16a)][_0x4b4f0e(0x47e)]('','',_0x4505e2['toString']()):window['history'][_0x4b4f0e(0x284)]('','',_0x4505e2[_0x4b4f0e(0x129)]());}['removeParam'](_0x5e78bc,_0xabc87f=!0x1){const _0x5141ea=_0x5e3172,_0x3dfa41=new URL(window[_0x5141ea(0x4e2)][_0x5141ea(0x38d)]);_0x3dfa41[_0x5141ea(0x520)][_0x5141ea(0x480)](_0x5e78bc),_0xabc87f?window[_0x5141ea(0x16a)][_0x5141ea(0x47e)]('','',_0x3dfa41[_0x5141ea(0x129)]()):window[_0x5141ea(0x16a)][_0x5141ea(0x284)]('','',_0x3dfa41[_0x5141ea(0x129)]());}['getParam'](_0x1c3db7){const _0x587c01=_0x5e3172;var _0x2eb2d9;return(_0x2eb2d9=new URL(window[_0x587c01(0x4e2)][_0x587c01(0x38d)])[_0x587c01(0x520)][_0x587c01(0x307)](_0x1c3db7))!=null?_0x2eb2d9:void 0x0;}}var ar=Object[_0x5e3172(0x243)],nh=Object[_0x5e3172(0x26f)],oh=(_0x469c08,_0x1a031a,_0x4c537b)=>_0x1a031a in _0x469c08?ar(_0x469c08,_0x1a031a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c537b}):_0x469c08[_0x1a031a]=_0x4c537b,ah=(_0x5c2520,_0x30738f,_0x417af1,_0x43a2ea)=>{for(var _0x3d2e3d=_0x43a2ea>0x1?void 0x0:_0x43a2ea?nh(_0x30738f,_0x417af1):_0x30738f,_0x216218=_0x5c2520['length']-0x1,_0xd1d157;_0x216218>=0x0;_0x216218--)(_0xd1d157=_0x5c2520[_0x216218])&&(_0x3d2e3d=(_0x43a2ea?_0xd1d157(_0x30738f,_0x417af1,_0x3d2e3d):_0xd1d157(_0x3d2e3d))||_0x3d2e3d);return _0x43a2ea&&_0x3d2e3d&&ar(_0x30738f,_0x417af1,_0x3d2e3d),_0x3d2e3d;},_t=(_0x34a0dd,_0x2fa2ed)=>(_0x50c441,_0x36a5db)=>_0x2fa2ed(_0x50c441,_0x36a5db,_0x34a0dd),ch=(_0x58d84f,_0x341872,_0x5af571)=>oh(_0x58d84f,_0x341872+'',_0x5af571);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x35856f{constructor(_0xbc1fd=Bn,_0x2046da,_0x2e53a6,_0x16c6c6,_0x305c1c){const _0x58bd7e=_0x5e3172;super(),this['_config']=_0xbc1fd,this[_0x58bd7e(0x52d)]=_0x2046da,this[_0x58bd7e(0x4ee)]=_0x2e53a6,this[_0x58bd7e(0x3b4)]=_0x16c6c6,this['_configService']=_0x305c1c;const {..._0x288362}=this[_0x58bd7e(0x1c3)];this['_configService'][_0x58bd7e(0x460)](Q,_0x288362);}[_0x5e3172(0x37b)](){const _0xc645f0=_0x5e3172;this[_0xc645f0(0x4b0)](),this[_0xc645f0(0x192)]();}[_0x5e3172(0x274)](){_0x3ab8ae(this['_injector'],[[xt],[Ut]]);}[_0x5e3172(0x379)](){const _0x3812a6=_0x5e3172;this[_0x3812a6(0x49b)]();}[_0x5e3172(0x4b0)](){const _0xf41f2b=_0x5e3172;var _0x6cdcd3,_0xcb4a19,_0x556fed,_0x37f5ee;this[_0xf41f2b(0x3b4)][_0xf41f2b(0x3cb)](_0x2d3235)&&this[_0xf41f2b(0x52d)][_0xf41f2b(0x295)](_0xf41f2b(0x2ff),_0xf41f2b(0x228));const _0x1b3ffa=[[_0x2d3235,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x5b73a6],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0xcb4a19=(_0x6cdcd3=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x6cdcd3[_0xf41f2b(0x405)])!=null?_0xcb4a19:cs}],[_0x18e368,{'useClass':Ss}],[_0x5ae3ef,{'useClass':ps}],[_0x1c8798,{'useClass':ms}],[_0x5c1989,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x556fed=this[_0xf41f2b(0x1c3)])!=null&&_0x556fed[_0xf41f2b(0x394)]&&_0x1b3ffa[_0xf41f2b(0x38e)]([jt,{'useClass':Co}]),_0x3ef291(this[_0xf41f2b(0x3b4)],_0x11b22e(_0x1b3ffa,(_0x37f5ee=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x37f5ee[_0xf41f2b(0x28e)]));}['_registerRenderDependencies'](){const _0x3fc57d=_0x5e3172;this[_0x3fc57d(0x2d9)](this[_0x3fc57d(0x4ee)][_0x3fc57d(0x312)](_0xfbb68f[_0x3fc57d(0x11d)],[fs])),this[_0x3fc57d(0x2d9)](this['_renderManagerService'][_0x3fc57d(0x312)](_0xfbb68f['UNIVER_SHEET'],[vs]));}[_0x5e3172(0x192)](){const _0x3d18c6=_0x5e3172;var _0xba8a95,_0x149675;this[_0x3d18c6(0x3b4)][_0x3d18c6(0x307)](_0x21ff0e)[_0x3d18c6(0x24c)]({'priority':0x14,'interceptor':_0x3d2a05({'maxParallel':0x6})}),(_0xba8a95=this[_0x3d18c6(0x1c3)])!=null&&_0xba8a95['enableOfflineEditing']||this['_injector'][_0x3d18c6(0x307)](z)[_0x3d18c6(0x27d)](),(_0x149675=this[_0x3d18c6(0x1c3)])!=null&&_0x149675[_0x3d18c6(0x1e9)]&&_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[Lt]]),_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x5e3172(0x120),hh),Cs=ah([_0x447968(_0x30e153,_0x284272),_t(0x1,_0xadcc6),_t(0x2,_0x2d7ddc),_t(0x3,_0x1259a7(_0xa6ca3c)),_t(0x4,_0x3a37b7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|
1
|
+
const _0x2025fc=_0x46d8;(function(_0x42029,_0x47065b){const _0x3777cf=_0x46d8,_0x286874=_0x42029();while(!![]){try{const _0x302d4c=-parseInt(_0x3777cf(0x26d))/0x1*(parseInt(_0x3777cf(0x114))/0x2)+-parseInt(_0x3777cf(0x43c))/0x3*(-parseInt(_0x3777cf(0x30e))/0x4)+-parseInt(_0x3777cf(0x24f))/0x5+-parseInt(_0x3777cf(0x1e1))/0x6+parseInt(_0x3777cf(0x453))/0x7*(parseInt(_0x3777cf(0xee))/0x8)+-parseInt(_0x3777cf(0xd0))/0x9+parseInt(_0x3777cf(0x201))/0xa;if(_0x302d4c===_0x47065b)break;else _0x286874['push'](_0x286874['shift']());}catch(_0x5c13f8){_0x286874['push'](_0x286874['shift']());}}}(_0x5197,0xa5bc6));var cr=Object['defineProperty'],hr=(_0x58d0da,_0x34d97e,_0x3a12df)=>_0x34d97e in _0x58d0da?cr(_0x58d0da,_0x34d97e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a12df}):_0x58d0da[_0x34d97e]=_0x3a12df,g=(_0x1ed939,_0x214b10,_0x42747c)=>hr(_0x1ed939,typeof _0x214b10!=_0x2025fc(0x357)?_0x214b10+'':_0x214b10,_0x42747c);import{createIdentifier as _0x30094b,Inject as _0x5847bf,Disposable as _0x24229e,DisposableCollection as _0x55a86c,toDisposable as _0x7c72c3,IConfigService as _0x4df844,ILogService as _0x49d195,UserManagerService as _0x1fb10d,UniverInstanceType as _0xb166dc,IUniverInstanceService as _0x425cee,LocaleService as _0x4b4756,Optional as _0x133fb4,RxDisposable as _0x5ec0cb,Injector as _0x5d7671,Tools as _0x529634,ILocalStorageService as _0x5353b6,Rectangle as _0x1a8bad,ICommandService as _0x28287a,DOC_RANGE_TYPE as _0x2bd610,JSONX as _0x421ddc,CommandType as _0x4f220f,IPermissionService as _0x1700fb,IUndoRedoService as _0x4bbe15,sequenceExecute as _0x512337,debounce as _0x26c09b,COLORS as _0x37cb7b,ColorKit as _0x13add7,ThemeService as _0x14c134,fromEventSubject as _0x2095a5,useDependency as _0x121dc7,connectInjector as _0x556999,Workbook as _0x21f116,MentionType as _0x153717,isInternalEditorID as _0x56718f,LocalUndoRedoService as _0x18ef81,IContextService as _0x4ea7fc,DependentOn as _0x2048c2,Plugin as _0x5001bc,touchDependencies as _0x5404e4,IAuthzIoService as _0x5cfc2f,IMentionIOService as _0x2d3ae3,registerDependencies as _0x43027c,mergeOverrideWithDependencies as _0x3474e1}from'@univerjs/core';import{Subject as _0x1c0b9c,merge as _0x38a986,takeUntil as _0x7b6507,BehaviorSubject as _0x1074c2,distinctUntilChanged as _0x17cf14,fromEvent as _0x6a336f,ReplaySubject as _0x5e2516,take as _0x54d89e,map as _0x2e263c,shareReplay as _0x2c1940,of as _0x43d0da,debounceTime as _0x493feb,filter as _0x2eb5c7,switchMap as _0x4e1242,combineLatest as _0x238a3a,concatMap as _0x4ab7bd,mapTo as _0x2d3712}from'rxjs';import{map as _0xb11c2f,take as _0x1abfcf,filter as _0xa0d892,delay as _0xca605e,throttleTime as _0x300e66,takeUntil as _0xc7ed86,switchMap as _0x51df4e}from'rxjs/operators';import{MessageType as _0x3f6750,Tooltip as _0x4ddf03}from'@univerjs/design';import{HTTPService as _0x310387,WebSocketService as _0x1293ea,MergeInterceptorFactory as _0x212a92,HTTPRequest as _0x30acee,UniverNetworkPlugin as _0x6b1b5c,ThresholdInterceptorFactory as _0x156843}from'@univerjs/network';import{IBeforeCloseService as _0x176b35,IMessageService as _0x3d017a,INotificationService as _0x28a3f3,useObservable as _0x5dcc9e,BuiltInUIPart as _0x2879fd,IUIPartsService as _0x100c23}from'@univerjs/ui';import{CollaborationEvent as _0x3a14f4,parseChangesetToProtocol as _0x100c80,ISnapshotServerService as _0xbd688,isTransformMutationFailure as _0x3e27e9,isTransformMutationsWithChangesetSuccess as _0x341c91,ITransformService as _0x2fbfa5,RevisionService as _0x389697,mapDocumentTypeToUniverType as _0x3761c7,isTransformChangesetsSuccess as _0xba8c63,CompressMutationService as _0x550e78,parseProtocolChangeset as _0x3cc097,SnapshotService as _0x3ef466,textEncoder as _0x55ea7a,b64DecodeUnicode as _0x1facae,isTransformMutationsWithChangesetFailure as _0xc9659d,UniverCollaborationPlugin as _0x1105e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xeb3a8b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x49b6ea,RichTextEditingMutation as _0x3ef379,SetTextSelectionsOperation as _0x10a027,DocSkeletonManagerService as _0x4e067d}from'@univerjs/docs';import{DocIMEInputManagerService as _0x5d51e1,DocStateChangeManagerService as _0x4ee933,IDocClipboardService as _0x3d5ec4,NodePositionConvertToCursor as _0x44a430,NodePositionConvertToRectRange as _0x4512fd,TEXT_RANGE_LAYER_INDEX as _0x505883,SetDocZoomRatioOperation as _0x3c0f91}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2d0767,SetSelectionsOperation as _0x3295dc,InsertSheetMutation as _0x5bc6a8,EmptyMutation as _0x40bf05,WorkbookEditablePermission as _0x232ff6,RefRangeService as _0x4f6ae0,EffectRefRangId as _0x1bada9,handleIRemoveRow as _0x5842ca,handleIRemoveCol as _0x4cc33a,handleMoveRange as _0x11ac4c,handleInsertRow as _0x1fe1d1,handleInsertRangeMoveRight as _0x38f4c6,handleInsertRangeMoveDown as _0x21ee51,handleInsertCol as _0x3c8a96,handleDeleteRangeMoveUp as _0x27e6e3,handleDeleteRangeMoveLeft as _0x322dc1,runRefRangeMutations as _0x5a1647,SetWorksheetActivateCommand as _0x31bc6f}from'@univerjs/sheets';import{IRenderManagerService as _0x27432a,Shape as _0x280f32,Rect as _0x10cdd3,getColor as _0x44a483,RegularPolygon as _0x2d60c8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f5711,Vector2 as _0x483d6a,SHEET_VIEWPORT_KEY as _0x5a71d0}from'@univerjs/engine-render';import{IImageIoService as _0x1fd980,ImageSourceType as _0x3882da,ImageUploadStatusType as _0x228958}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x129840,serializeRangeWithSheet as _0xf165cf}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x46c626,getCoordByCell as _0x473bbb,getSheetObject as _0x10d32f,SheetPermissionInitController as _0x244d66}from'@univerjs/sheets-ui';import _0x3f0cf0,{forwardRef as _0x338e7b,useRef as _0x28ff08,createElement as _0x10eb66,useCallback as _0x2496ba}from'react';import{IRemoteInstanceService as _0x3b46ab}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn=_0x2025fc(0x20e),Tn='SNAPSHOT_URL_KEY',wh=_0x2025fc(0x2b2),Rn=0x7d0,On=_0x2025fc(0xde),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn='/universer-api/user/session-ticket',Dn=_0x2025fc(0x233),Pn=0x7530,ki=_0x2025fc(0x476),Wi=0x4e20,Nn=0x4e20,Un=_0x2025fc(0x1fc),An=0x3,Mn='LOCAL_CACHE_INTERVAL',xn=0x3e8,Ln=_0x2025fc(0x325),$n=_0x2025fc(0x1fa),Hn=_0x2025fc(0x45d),jn=_0x2025fc(0x268);var Fi=(_0x162f5d=>(_0x162f5d[_0x162f5d[_0x2025fc(0x3e8)]=0x0]=_0x2025fc(0x3e8),_0x162f5d[_0x162f5d['OK']=0x1]='OK',_0x162f5d[_0x162f5d[_0x2025fc(0xbd)]=0x2]=_0x2025fc(0xbd),_0x162f5d[_0x162f5d[_0x2025fc(0x411)]=0x3]=_0x2025fc(0x411),_0x162f5d[_0x162f5d[_0x2025fc(0x45b)]=0x4]=_0x2025fc(0x45b),_0x162f5d[_0x162f5d[_0x2025fc(0x35a)]=0x5]=_0x2025fc(0x35a),_0x162f5d[_0x162f5d[_0x2025fc(0x331)]=0x6]=_0x2025fc(0x331),_0x162f5d[_0x162f5d[_0x2025fc(0x257)]=0x7]=_0x2025fc(0x257),_0x162f5d[_0x162f5d[_0x2025fc(0x3e1)]=0x8]=_0x2025fc(0x3e1),_0x162f5d[_0x162f5d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162f5d[_0x162f5d[_0x2025fc(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0x49b)]=0x1771]=_0x2025fc(0x49b),_0x162f5d[_0x162f5d[_0x2025fc(0x2a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162f5d[_0x162f5d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2025fc(0x3a8),_0x162f5d[_0x162f5d['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162f5d[_0x162f5d[_0x2025fc(0x4af)]=0x1b5a]=_0x2025fc(0x4af),_0x162f5d[_0x162f5d[_0x2025fc(0x1d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0xf1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x162f5d[_0x162f5d[_0x2025fc(0x101)]=0x1b5d]='APPLY_DUPLICATED',_0x162f5d[_0x162f5d[_0x2025fc(0x43f)]=0x1f41]=_0x2025fc(0x43f),_0x162f5d[_0x162f5d[_0x2025fc(0x14e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x162f5d[_0x162f5d[_0x2025fc(0x13f)]=0x232a]=_0x2025fc(0x13f),_0x162f5d[_0x162f5d[_0x2025fc(0x1ca)]=0x232b]=_0x2025fc(0x1ca),_0x162f5d[_0x162f5d[_0x2025fc(0x23e)]=0x232c]=_0x2025fc(0x23e),_0x162f5d[_0x162f5d[_0x2025fc(0x38d)]=0x232d]=_0x2025fc(0x38d),_0x162f5d[_0x162f5d[_0x2025fc(0x3dd)]=0x2711]=_0x2025fc(0x3dd),_0x162f5d[_0x162f5d[_0x2025fc(0x303)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x162f5d[_0x162f5d[_0x2025fc(0x47e)]=0x2713]=_0x2025fc(0x47e),_0x162f5d[_0x162f5d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2025fc(0x10f),_0x162f5d[_0x162f5d['UNRECOGNIZED']=-0x1]=_0x2025fc(0x104),_0x162f5d))(Fi||{}),ae=(_0x49a5fa=>(_0x49a5fa[_0x49a5fa[_0x2025fc(0x38e)]=0x0]=_0x2025fc(0x38e),_0x49a5fa[_0x49a5fa['UNIVER_DOC']=0x1]=_0x2025fc(0x3ad),_0x49a5fa[_0x49a5fa[_0x2025fc(0x4a6)]=0x2]=_0x2025fc(0x4a6),_0x49a5fa[_0x49a5fa[_0x2025fc(0x472)]=0x3]=_0x2025fc(0x472),_0x49a5fa[_0x49a5fa['UNIVER_PROJECT']=0x4]=_0x2025fc(0x1f4),_0x49a5fa[_0x49a5fa['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49a5fa))(ae||{}),W=(_0x2376d0=>(_0x2376d0[_0x2376d0[_0x2025fc(0x129)]=0x0]='UNKNOWN_CMD',_0x2376d0[_0x2376d0['HELLO']=0x1]=_0x2025fc(0x17c),_0x2376d0[_0x2376d0[_0x2025fc(0xea)]=0x2]='JOIN',_0x2376d0[_0x2376d0[_0x2025fc(0x387)]=0x3]=_0x2025fc(0x387),_0x2376d0[_0x2376d0[_0x2025fc(0x365)]=0x4]='INGEST',_0x2376d0[_0x2376d0[_0x2025fc(0x4a5)]=0x5]='HEARTBEAT',_0x2376d0[_0x2376d0[_0x2025fc(0x247)]=0x6]=_0x2025fc(0x247),_0x2376d0[_0x2376d0[_0x2025fc(0x104)]=-0x1]='UNRECOGNIZED',_0x2376d0))(W||{}),Pe=(_0x1be4d5=>(_0x1be4d5[_0x1be4d5[_0x2025fc(0x35b)]=0x0]='UNKNOWN_CODE',_0x1be4d5[_0x1be4d5['OK']=0x1]='OK',_0x1be4d5[_0x1be4d5[_0x2025fc(0x1d5)]=0x2]=_0x2025fc(0x1d5),_0x1be4d5[_0x1be4d5[_0x2025fc(0x4a4)]=0x3e9]=_0x2025fc(0x4a4),_0x1be4d5[_0x1be4d5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2025fc(0x41e),_0x1be4d5[_0x1be4d5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2025fc(0x2f3),_0x1be4d5[_0x1be4d5[_0x2025fc(0x267)]=0x3ec]=_0x2025fc(0x267),_0x1be4d5[_0x1be4d5[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0x1be4d5))(Pe||{}),Vi=(_0xa4a949=>(_0xa4a949[_0xa4a949[_0x2025fc(0x435)]=0x0]=_0x2025fc(0x435),_0xa4a949[_0xa4a949[_0x2025fc(0x2a2)]=0x1]='HttpImport',_0xa4a949[_0xa4a949[_0x2025fc(0x302)]=0x2]=_0x2025fc(0x302),_0xa4a949[_0xa4a949['UnitEmbedded']=0x3]=_0x2025fc(0x239),_0xa4a949[_0xa4a949[_0x2025fc(0x3ac)]=0x4]=_0x2025fc(0x3ac),_0xa4a949[_0xa4a949[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0xa4a949))(Vi||{});const Q=_0x2025fc(0x197),Bn={};function kn(_0x2da184){const _0x28bbac=_0x2025fc;var _0xb626fa,_0x4eeb2d,_0x183095,_0x167953,_0x396954;const _0x1dcfe7=_0x2da184['data'],_0x330d72=JSON[_0x28bbac(0x211)](_0x1dcfe7);switch(_0x330d72[_0x28bbac(0x32d)]){case W[_0x28bbac(0x4a5)]:case W[_0x28bbac(0x17c)]:{const _0x4911d6=_0x330d72[_0x28bbac(0x1bd)];return{..._0x330d72,'data':_0x4911d6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W[_0x28bbac(0xea)]:{const _0x5f44e6=_0x330d72[_0x28bbac(0x48d)];return{..._0x330d72,'data':_0x5f44e6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W['RECV']:{const _0x831847=_0x330d72[_0x28bbac(0x381)];switch(_0x831847[_0x28bbac(0x28b)]){case _0x3a14f4[_0x28bbac(0x102)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0xb626fa=_0x831847[_0x28bbac(0x3ef)])==null?void 0x0:_0xb626fa['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3d7)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x4eeb2d=_0x831847['csAckEvent'])==null?void 0x0:_0x4eeb2d['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x36e)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x183095=_0x831847['newCsEvent'])==null?void 0x0:_0x183095['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x180)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x167953=_0x831847[_0x28bbac(0x30b)])==null?void 0x0:_0x167953['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['CHANGESET_SHOULD_RETRY']:return{..._0x330d72,'data':{..._0x831847,'data':(_0x396954=_0x831847[_0x28bbac(0x370)])==null?void 0x0:_0x396954['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['UPDATE_CURSOR']:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x235)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0xc3)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['joinEvent']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3dc)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x22d)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x29b)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x177)]:case _0x3a14f4[_0x28bbac(0x44c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x390)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2ef)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4['MSG_FOR_ERROR']:return{..._0x330d72,'data':_0x831847,'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2b6)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x189)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x47c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['updatePermissionObjEvent']},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x23f)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['shouldCloseConn']},'cmd':_0x330d72[_0x28bbac(0x32d)]};default:return _0x330d72;}}default:return _0x330d72;}}function Wn(_0x318407){const _0x15c075=_0x2025fc;switch(_0x318407[_0x15c075(0x32d)]){case W[_0x15c075(0x4a5)]:case W[_0x15c075(0x17c)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407['cmd'],'routeKey':_0x318407[_0x15c075(0x15f)]});case W[_0x15c075(0x365)]:{let _0x47fecc;switch(_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]){case _0x3a14f4[_0x15c075(0x30f)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x30f)],'updateCursorEvent':_0x318407[_0x15c075(0x2a0)]['data']};break;}case _0x3a14f4[_0x15c075(0x3dc)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x3dc)],'leaveEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4['USERS_ENTER']:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xc3)],'joinEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x29b)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x29b)],'liveShareNewHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x44c)]:{_0x47fecc={'eventID':_0x3a14f4['LIVESHARE_OPERATION'],'liveShareOperation':_0x318407['data'][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x2ef)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x2ef)],'liveShareTerminate':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0xba)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xba)],'liveShareRequestHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x177)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x177)]};break;}default:_0x47fecc={'eventID':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]};}return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'collaMsg':_0x47fecc});}case W[_0x15c075(0xea)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'joinReq':_0x318407['data']});case W[_0x15c075(0x387)]:return JSON['stringify']({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'leaveReq':_0x318407['data']});default:throw new Error(_0x15c075(0x380));}}var Fn=Object[_0x2025fc(0x385)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x3d4c12,_0x1b82d5,_0x452e89,_0x35e945)=>{for(var _0x320321=_0x35e945>0x1?void 0x0:_0x35e945?Vn(_0x1b82d5,_0x452e89):_0x1b82d5,_0xba9b2e=_0x3d4c12['length']-0x1,_0x3d85ad;_0xba9b2e>=0x0;_0xba9b2e--)(_0x3d85ad=_0x3d4c12[_0xba9b2e])&&(_0x320321=(_0x35e945?_0x3d85ad(_0x1b82d5,_0x452e89,_0x320321):_0x3d85ad(_0x320321))||_0x320321);return _0x35e945&&_0x320321&&Fn(_0x1b82d5,_0x452e89,_0x320321),_0x320321;},ze=(_0x4af1c2,_0x57c8b4)=>(_0x440e65,_0x27238c)=>_0x57c8b4(_0x440e65,_0x27238c,_0x4af1c2);const Gi=_0x30094b(_0x2025fc(0xec));function Yn(_0x24df20,_0x1ec02f,_0x3ba80d){const _0x29d9da=_0x2025fc;return _0x24df20+'/'+_0x1ec02f+_0x29d9da(0x332)+_0x3ba80d+_0x29d9da(0x275);}let cs=class extends _0x24229e{constructor(_0x4c269f,_0x5158a7,_0x4cb00c,_0x49c0b0,_0x4be3c3){const _0x3c101e=_0x2025fc;super(),this[_0x3c101e(0xe3)]=_0x4c269f,this[_0x3c101e(0x123)]=_0x5158a7,this[_0x3c101e(0xb4)]=_0x4cb00c,this[_0x3c101e(0xc1)]=_0x49c0b0,this[_0x3c101e(0x144)]=_0x4be3c3;}['createSocket'](_0x431bc9){const _0x49b787=_0x2025fc,_0x493043=this[_0x49b787(0x123)][_0x49b787(0x164)](_0x431bc9);if(!_0x493043)throw new Error(_0x49b787(0x3f9));const _0x33f243=new _0x55a86c(),_0xa0d392=new _0x1c0b9c();_0x33f243['add'](_0x493043['close$']['subscribe'](_0x2d5848=>_0xa0d392[_0x49b787(0x382)](_0x2d5848))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0xa0d392[_0x49b787(0x3c5)]()));const _0x45820f=new _0x1c0b9c();_0x33f243['add'](_0x493043[_0x49b787(0x19a)]['subscribe'](_0x4be68c=>_0x45820f[_0x49b787(0x382)](_0x4be68c))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x45820f['complete']()));const _0x1d5efd=new _0x1c0b9c();_0x33f243[_0x49b787(0x4b0)](_0x493043[_0x49b787(0x400)]['subscribe'](_0x15a905=>{const _0x32372b=kn(_0x15a905);_0x1d5efd['next'](_0x32372b);})),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x1d5efd[_0x49b787(0x3c5)]()));let _0x2b5dd8;const _0x265475=()=>{const _0x51d609=_0x49b787;_0x45820f[_0x51d609(0x382)](new Event(_0x51d609(0x163))),_0xa0d392[_0x51d609(0x382)](new CloseEvent(_0x51d609(0x163))),_0x2b5dd8[_0x51d609(0x206)]();};return _0x2b5dd8={'memberID':'','close$':_0xa0d392[_0x49b787(0xf7)](),'error$':_0x45820f[_0x49b787(0xf7)](),'open$':_0x493043[_0x49b787(0x46d)],'message$':_0x1d5efd['asObservable'](),'send':_0x4df455=>{const _0x3628d1=_0x49b787;if(_0x4df455[_0x3628d1(0x32d)]===W[_0x3628d1(0x365)]){if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x1ae)]){this[_0x3628d1(0x13a)](_0x2b5dd8,_0x4df455[_0x3628d1(0x2a0)])[_0x3628d1(0x1c4)](_0x1088d0=>{const _0x113d68=_0x3628d1;this['_logService'][_0x113d68(0x279)](_0x1088d0),_0x265475();});return;}if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x37c)]){const _0x558e34=_0x4df455[_0x3628d1(0x2a0)];this[_0x3628d1(0x1a8)](_0x558e34)[_0x3628d1(0x1c0)](_0x7e576e=>{const _0x456f9c=_0x3628d1;_0x1d5efd[_0x456f9c(0x382)]({'cmd':W[_0x456f9c(0x247)],'code':Pe['OK'],'routeKey':_0x558e34[_0x456f9c(0x2a0)][_0x456f9c(0x2bf)],'routeType':'','data':{'eventID':_0x3a14f4['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x7e576e}}});})[_0x3628d1(0x1c4)](_0x488153=>{const _0x3871af=_0x3628d1;this['_logService'][_0x3871af(0x279)](_0x488153),_0x265475();});return;}}_0x493043[_0x3628d1(0xc9)](Wn(_0x4df455));},'close':()=>{const _0x534aee=_0x49b787;_0x493043[_0x534aee(0x206)](),_0x33f243['dispose']();}},_0x2b5dd8;}async[_0x2025fc(0x13a)](_0xdea43a,_0x53c9c8){const _0x6657d3=_0x2025fc;var _0x52890b,_0x23d203;const {unitType:_0x57e18b,unitID:_0x5c74d7,changeset:_0x2d229b}=_0x53c9c8['data'],_0x4790ae={'unitID':_0x5c74d7,'memberID':_0xdea43a[_0x6657d3(0x471)],'type':_0x57e18b,'changeset':_0x100c80(_0x2d229b)},_0x505c10=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Ln),_0x4ceb44=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Q),_0x22c382=Yn((_0x23d203=(_0x52890b=_0x4ceb44==null?void 0x0:_0x4ceb44['collabSubmitChangesetUrl'])!=null?_0x52890b:_0x505c10)!=null?_0x23d203:$n,_0x57e18b,_0x5c74d7);try{await this[_0x6657d3(0xe3)][_0x6657d3(0x17b)](_0x22c382,{'body':_0x4790ae});}catch(_0x111663){throw this[_0x6657d3(0xc1)][_0x6657d3(0x279)](_0x6657d3(0x3c1),'submit\x20changeset\x20error!'),_0x111663;}}async[_0x2025fc(0x1a8)](_0x65b829){const _0x21e4fa=_0x2025fc,{unitID:_0x404dcc,from:_0x3850e7,to:_0x23f3cf,unitType:_0x565536}=_0x65b829['data'];return(await this[_0x21e4fa(0x144)][_0x21e4fa(0x436)]({'metadata':void 0x0},{'unitID':_0x404dcc,'type':_0x565536,'from':_0x3850e7,'to':_0x23f3cf}))['changesets'];}};cs=Gn([ze(0x0,_0x5847bf(_0x310387)),ze(0x1,_0x5847bf(_0x1293ea)),ze(0x2,_0x4df844),ze(0x3,_0x49d195),ze(0x4,_0xbd688)],cs);const Kn='collaboration_new_changeset';function qn(_0x5a916a){const _0x215047=_0x2025fc;return JSON['stringify'](_0x5a916a)[_0x215047(0x161)];}class Yi{constructor(){const _0x18ae8a=_0x2025fc;g(this,_0x18ae8a(0x2b3),new _0x1c0b9c()),g(this,_0x18ae8a(0x3d3),this[_0x18ae8a(0x2b3)][_0x18ae8a(0xf7)]());}[_0x2025fc(0x158)](_0x47b2ba){const _0x56e546=_0x2025fc;this[_0x56e546(0x2b3)][_0x56e546(0x382)](_0x47b2ba);}}var zn=Object[_0x2025fc(0x385)],Xn=Object[_0x2025fc(0x18c)],Jn=(_0x396e50,_0x2ad5c6,_0x3a1077,_0x4e5370)=>{const _0xb4e1be=_0x2025fc;for(var _0x28d2f2=_0x4e5370>0x1?void 0x0:_0x4e5370?Xn(_0x2ad5c6,_0x3a1077):_0x2ad5c6,_0x3a3c4f=_0x396e50[_0xb4e1be(0x161)]-0x1,_0xcfd366;_0x3a3c4f>=0x0;_0x3a3c4f--)(_0xcfd366=_0x396e50[_0x3a3c4f])&&(_0x28d2f2=(_0x4e5370?_0xcfd366(_0x2ad5c6,_0x3a1077,_0x28d2f2):_0xcfd366(_0x28d2f2))||_0x28d2f2);return _0x4e5370&&_0x28d2f2&&zn(_0x2ad5c6,_0x3a1077,_0x28d2f2),_0x28d2f2;},Ks=(_0x5bd51f,_0x49c88a)=>(_0x3cdf49,_0x50ebac)=>_0x49c88a(_0x3cdf49,_0x50ebac,_0x5bd51f);let Me=class extends _0x24229e{constructor(_0x179ef,_0x1dbc9a){const _0x31d74f=_0x2025fc;super(),g(this,_0x31d74f(0x3a7),new Map()),(this['_univerInstanceService']=_0x179ef,this[_0x31d74f(0xb6)]=_0x1dbc9a,this[_0x31d74f(0x10c)](_0x7c72c3(_0x38a986(this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x4a6)])[_0x31d74f(0x150)](_0xb11c2f(_0x3c78d1=>_0x3c78d1['getUnitId']())),this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x3ad)])[_0x31d74f(0x150)](_0xb11c2f(_0x1ff6b6=>_0x1ff6b6[_0x31d74f(0x10b)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_SLIDE'])[_0x31d74f(0x150)](_0xb11c2f(_0x2380ce=>_0x2380ce['getUnitId']())))[_0x31d74f(0x140)](_0x20c82c=>this[_0x31d74f(0xbc)](_0x20c82c)))));}[_0x2025fc(0x38f)](_0x2a8539){const _0x2739e2=_0x2025fc;this['_userManagerService'][_0x2739e2(0x38f)](_0x2a8539);}[_0x2025fc(0x14b)](){const _0x224124=_0x2025fc;return this[_0x224124(0xb6)][_0x224124(0x14b)]();}['updateMember'](_0x363a14,_0x350d78){const _0x553c88=_0x2025fc;let _0x17be7e=this[_0x553c88(0x3a7)][_0x553c88(0x33e)](_0x363a14);_0x17be7e||(_0x17be7e=new Zn(),this[_0x553c88(0x3a7)][_0x553c88(0x39c)](_0x363a14,_0x17be7e)),_0x17be7e[_0x553c88(0x24d)](_0x350d78);}[_0x2025fc(0xd7)](_0x3f5d56,_0x2597bf){const _0x5d5cf7=_0x2025fc,_0x232ce5=this[_0x5d5cf7(0x3a7)][_0x5d5cf7(0x33e)](_0x3f5d56);_0x232ce5&&_0x232ce5[_0x5d5cf7(0xd7)](_0x2597bf);}[_0x2025fc(0x14c)](_0x338f4c){const _0xab16d9=_0x2025fc;return this[_0xab16d9(0x3a7)][_0xab16d9(0x33e)](_0x338f4c);}['getMember'](_0x5b74a3,_0x1da905){const _0x285be6=_0x2025fc,_0x2265d0=this['_roomMembers'][_0x285be6(0x33e)](_0x5b74a3);if(_0x2265d0)return _0x2265d0[_0x285be6(0x419)](_0x1da905);}[_0x2025fc(0xbc)](_0x3354cc){const _0x261949=_0x2025fc,_0xdb58aa=this[_0x261949(0x3a7)][_0x261949(0x33e)](_0x3354cc);_0xdb58aa&&(_0xdb58aa[_0x261949(0x1e5)](),this['_roomMembers'][_0x261949(0x165)](_0x3354cc));}[_0x2025fc(0x1e5)](){const _0x1f061e=_0x2025fc;this['_roomMembers']['forEach'](_0x270894=>_0x270894['dispose']()),this[_0x1f061e(0x3a7)][_0x1f061e(0x116)]();}};Me=Jn([Ks(0x0,_0x425cee),Ks(0x1,_0x5847bf(_0x1fb10d))],Me);class Zn extends _0x24229e{constructor(){const _0x1a644e=_0x2025fc;super(...arguments),g(this,_0x1a644e(0x3df),new Map());}['dispose'](){const _0x2129a3=_0x2025fc;this[_0x2129a3(0x3df)][_0x2129a3(0x116)]();}[_0x2025fc(0x24d)](_0x251cf0){const _0xfc3b1c=_0x2025fc;this[_0xfc3b1c(0x3df)]['set'](_0x251cf0[_0xfc3b1c(0x471)],_0x251cf0);}[_0x2025fc(0xd7)](_0x121c4b){const _0x3cf8b6=_0x2025fc;this[_0x3cf8b6(0x3df)]['delete'](_0x121c4b);}['getMember'](_0x3ee787){const _0x3995e1=_0x2025fc;return this[_0x3995e1(0x3df)][_0x3995e1(0x33e)](_0x3ee787);}[_0x2025fc(0xce)](){const _0x3918f4=_0x2025fc;return Array['from'](this[_0x3918f4(0x3df)][_0x3918f4(0x3ed)]());}}var Qn=Object[_0x2025fc(0x385)],eo=Object['getOwnPropertyDescriptor'],to=(_0x3f02e5,_0x3f0bf3,_0xa56b7c,_0x3bd5f7)=>{const _0x4df583=_0x2025fc;for(var _0x1e6824=_0x3bd5f7>0x1?void 0x0:_0x3bd5f7?eo(_0x3f0bf3,_0xa56b7c):_0x3f0bf3,_0x477427=_0x3f02e5[_0x4df583(0x161)]-0x1,_0x359b97;_0x477427>=0x0;_0x477427--)(_0x359b97=_0x3f02e5[_0x477427])&&(_0x1e6824=(_0x3bd5f7?_0x359b97(_0x3f0bf3,_0xa56b7c,_0x1e6824):_0x359b97(_0x1e6824))||_0x1e6824);return _0x3bd5f7&&_0x1e6824&&Qn(_0x3f0bf3,_0xa56b7c,_0x1e6824),_0x1e6824;},Ee=(_0x3b1967,_0x58e993)=>(_0x2bb12f,_0x1fea69)=>_0x58e993(_0x2bb12f,_0x1fea69,_0x3b1967),fe=(_0x1514de=>(_0x1514de[_0x1514de[_0x2025fc(0x388)]=0x0]=_0x2025fc(0x388),_0x1514de[_0x1514de[_0x2025fc(0x349)]=0x1]=_0x2025fc(0x349),_0x1514de[_0x1514de[_0x2025fc(0x23c)]=0x2]=_0x2025fc(0x23c),_0x1514de[_0x1514de[_0x2025fc(0xad)]=0x3]=_0x2025fc(0xad),_0x1514de))(fe||{});const qs={[Pe[_0x2025fc(0x1d5)]]:_0x2025fc(0x3d9),[Pe['JOIN_ROOM_FULL']]:'session.room-full',[Pe[_0x2025fc(0x41e)]]:'session.room-not-exists',[Pe[_0x2025fc(0x2f3)]]:_0x2025fc(0x3d1),[Pe[_0x2025fc(0x267)]]:_0x2025fc(0xaf)};let hs=class extends _0x5ec0cb{constructor(_0x24eaa1,_0x3a6760,_0xaf61ea,_0x4fe672,_0x335b68,_0x2646a3,_0x589ad2,_0x8d1ff9,_0x3b920d,_0x3c512d){const _0x2acde2=_0x2025fc;super(),g(this,_0x2acde2(0x2f1),new _0x1074c2(0x0)),g(this,_0x2acde2(0x1ff),this['_sessionStatus$'][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x304),new _0x1c0b9c()),g(this,_0x2acde2(0x142),this[_0x2acde2(0x304)][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x212)),g(this,_0x2acde2(0x47f)),g(this,'_collaborationTimeoutTimer'),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x2acde2(0x2e5),null),(this['_unitID']=_0x24eaa1,this['_logService']=_0xaf61ea,this['_beforeCloseService']=_0x4fe672,this[_0x2acde2(0x362)]=_0x335b68,this[_0x2acde2(0xb4)]=_0x2646a3,this[_0x2acde2(0x3a9)]=_0x589ad2,this[_0x2acde2(0x31c)]=_0x8d1ff9,this['_commentService']=_0x3b920d,this[_0x2acde2(0x311)]=_0x3c512d,this['_shouldReportTelemetry']=!!this[_0x2acde2(0x311)],_0x3a6760[_0x2acde2(0x150)](_0x7b6507(this[_0x2acde2(0x345)]))[_0x2acde2(0x140)](_0x597266=>{const _0x18c99e=_0x2acde2;var _0x2e9286;typeof _0x597266>'u'||(this[_0x18c99e(0x212)]=_0x597266,_0x597266?(this['_joinRoom'](_0x597266),this[_0x18c99e(0x47f)]=_0x597266[_0x18c99e(0x400)][_0x18c99e(0x140)](_0x46a9db=>{const _0x13598d=_0x18c99e;_0x46a9db[_0x13598d(0x15f)]===this[_0x13598d(0x41c)]&&this[_0x13598d(0x3ea)](_0x46a9db);})):(this[_0x18c99e(0x264)](),this[_0x18c99e(0x2f1)]['next'](0x2),(_0x2e9286=this[_0x18c99e(0x47f)])==null||_0x2e9286[_0x18c99e(0x2dd)](),this[_0x18c99e(0x47f)]=null));}),this[_0x2acde2(0x10c)](this[_0x2acde2(0x181)][_0x2acde2(0x2db)](()=>{const _0x1fb1c7=_0x2acde2;var _0x3f519a;(_0x3f519a=this[_0x1fb1c7(0x212)])==null||_0x3f519a[_0x1fb1c7(0xc9)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1fb1c7(0x41c)]}});})));}get['sessionStatus'](){const _0x3ebdb1=_0x2025fc;return this['_sessionStatus$'][_0x3ebdb1(0x42a)]();}[_0x2025fc(0x316)](){const _0x47b228=_0x2025fc;var _0x43fddf,_0xa68226;return(_0xa68226=(_0x43fddf=this['_socket'])==null?void 0x0:_0x43fddf[_0x47b228(0x471)])!=null?_0xa68226:null;}[_0x2025fc(0x1e5)](){const _0xa59c91=_0x2025fc;super[_0xa59c91(0x1e5)](),this[_0xa59c91(0x345)][_0xa59c91(0x382)](),this[_0xa59c91(0x345)][_0xa59c91(0x3c5)]();}['close'](){const _0x20a233=_0x2025fc;var _0x3b8f46,_0x5157c6;this[_0x20a233(0x264)](),(_0x3b8f46=this[_0x20a233(0x212)])==null||_0x3b8f46[_0x20a233(0xc9)]({'cmd':W[_0x20a233(0x387)],'data':{'roomID':this[_0x20a233(0x41c)]}}),(_0x5157c6=this['_socket'])==null||_0x5157c6[_0x20a233(0x206)](),this[_0x20a233(0x304)][_0x20a233(0x3c5)](),this['_sessionStatus$']['complete'](),this[_0x20a233(0x1e5)]();}['_onCombEvent'](_0x514244){const _0x16d652=_0x2025fc;_0x514244[_0x16d652(0x32d)]===W[_0x16d652(0xea)]?this[_0x16d652(0x168)](_0x514244):_0x514244['cmd']===W[_0x16d652(0x247)]&&this[_0x16d652(0x1d4)](_0x514244);}['_joinRoom'](_0x40d30e){const _0x390c93=_0x2025fc;this[_0x390c93(0x2f1)][_0x390c93(0x382)](0x1),_0x40d30e[_0x390c93(0xc9)]({'cmd':W[_0x390c93(0xea)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x390c93(0x41c)]}]}});}[_0x2025fc(0x168)](_0x17c369){const _0x1e69d2=_0x2025fc;var _0x1493a9;if(_0x17c369[_0x1e69d2(0x179)]in qs){this['_messageService'][_0x1e69d2(0x3c2)]({'type':_0x3f6750['Warning'],'content':this['_localeService']['t'](qs[_0x17c369[_0x1e69d2(0x179)]])}),this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x2);return;}this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x3);const _0x2a8cab=(_0x1493a9=_0x17c369[_0x1e69d2(0x2a0)]['roomInfos'][this[_0x1e69d2(0x41c)]])==null?void 0x0:_0x1493a9[_0x1e69d2(0x3de)];_0x2a8cab&&_0x2a8cab[_0x1e69d2(0x2e1)](_0x56f60a=>this['_memberService'][_0x1e69d2(0x24d)](this[_0x1e69d2(0x41c)],_0x56f60a));}[_0x2025fc(0x1d4)](_0x133a08){const _0x4c940a=_0x2025fc;try{const _0x5bcadd=_0x133a08['data'];switch(_0x5bcadd['eventID']){case _0x3a14f4[_0x4c940a(0xc3)]:this['_onUserJoin'](_0x5bcadd),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3dc)]:this[_0x4c940a(0x3e0)](_0x5bcadd),this['_event$'][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3d7)]:case _0x3a14f4[_0x4c940a(0x32f)]:this[_0x4c940a(0xa6)](),this[_0x4c940a(0x346)](),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x1f3)]:this[_0x4c940a(0xc1)][_0x4c940a(0x279)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4c940a(0x11e)](_0x5bcadd)),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x2b6)]:this[_0x4c940a(0x25d)][_0x4c940a(0x158)](_0x5bcadd[_0x4c940a(0x2a0)]),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;default:this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);}}catch(_0x42dc46){this[_0x4c940a(0xc1)]['error'](_0x42dc46,_0x133a08);}}[_0x2025fc(0x4b4)](_0x8ac805){const _0x3aa7e2=_0x2025fc;this[_0x3aa7e2(0x31c)][_0x3aa7e2(0x24d)](this[_0x3aa7e2(0x41c)],_0x8ac805['data']);}['_onUserLeave'](_0x5aa94a){const _0x3fb9a0=_0x2025fc;this['_memberService'][_0x3fb9a0(0xd7)](this['_unitID'],_0x5aa94a[_0x3fb9a0(0x2a0)]['memberID']);}async[_0x2025fc(0xc9)](_0x4dff1d,_0x57d413){const _0x1ca43e=_0x2025fc;if(this[_0x1ca43e(0x27c)]!==0x3||!this[_0x1ca43e(0x212)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4dff1d['eventID']===_0x3a14f4[_0x1ca43e(0x1ae)]&&(this[_0x1ca43e(0x315)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dff1d)),this['_socket'][_0x1ca43e(0xc9)]({'cmd':W[_0x1ca43e(0x365)],'routeKey':_0x57d413,'routeType':'','data':_0x4dff1d});}catch(_0x2a2e75){this[_0x1ca43e(0xc1)][_0x1ca43e(0x279)](_0x2a2e75);}}[_0x2025fc(0x315)](){const _0x1c1b23=_0x2025fc;var _0x1dc86a;this[_0x1c1b23(0x350)]=window[_0x1c1b23(0x16d)](()=>{const _0x4df287=_0x1c1b23;this[_0x4df287(0x350)]=null,this[_0x4df287(0x362)][_0x4df287(0x3c2)]({'type':_0x3f6750[_0x4df287(0x2ee)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x1dc86a=this[_0x1c1b23(0xb4)][_0x1c1b23(0x217)](ki))!=null?_0x1dc86a:Wi);}[_0x2025fc(0x346)](){const _0x548983=_0x2025fc;this[_0x548983(0x350)]&&(clearTimeout(this[_0x548983(0x350)]),this[_0x548983(0x350)]=null);}[_0x2025fc(0x33b)](_0x500503){const _0x1aa4fc=_0x2025fc;if(!this[_0x1aa4fc(0x47a)])return;const {data:_0x107dda}=_0x500503,{unitID:_0x4e8620,changeset:_0x4d5cb0}=_0x107dda,{mutations:_0x57006e,type:_0x4a22b4}=_0x4d5cb0;this[_0x1aa4fc(0x2e5)]={'unitId':_0x4e8620,'type':_0x4a22b4,'startTime':performance[_0x1aa4fc(0x1d9)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x57006e)};}[_0x2025fc(0xa6)](){const _0x46ef89=_0x2025fc;if(this[_0x46ef89(0x47a)]){if(!this['_telemetryInfo']){this[_0x46ef89(0xc1)]['error'](_0x46ef89(0x3c1),_0x46ef89(0x2a1));return;}this[_0x46ef89(0x2e5)][_0x46ef89(0x276)]=performance['now'](),this[_0x46ef89(0x2e5)]['duration']=this[_0x46ef89(0x2e5)]['stopTime']-this['_telemetryInfo'][_0x46ef89(0xcc)],this[_0x46ef89(0x311)][_0x46ef89(0x23b)](Kn,this['_telemetryInfo']),this[_0x46ef89(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x28deba=_0x2025fc;this[_0x28deba(0x2e5)]=null;}};hs=to([Ee(0x2,_0x49d195),Ee(0x3,_0x176b35),Ee(0x4,_0x3d017a),Ee(0x5,_0x4df844),Ee(0x6,_0x5847bf(_0x4b4756)),Ee(0x7,_0x5847bf(Me)),Ee(0x8,_0x5847bf(Yi)),Ee(0x9,_0x133fb4(_0xeb3a8b))],hs);var so=Object[_0x2025fc(0x385)],io=Object[_0x2025fc(0x18c)],ro=(_0x5916e1,_0x4de38e,_0x209a61,_0x19fdc4)=>{const _0x50e291=_0x2025fc;for(var _0xb6abfd=_0x19fdc4>0x1?void 0x0:_0x19fdc4?io(_0x4de38e,_0x209a61):_0x4de38e,_0x1f0249=_0x5916e1[_0x50e291(0x161)]-0x1,_0x560e8b;_0x1f0249>=0x0;_0x1f0249--)(_0x560e8b=_0x5916e1[_0x1f0249])&&(_0xb6abfd=(_0x19fdc4?_0x560e8b(_0x4de38e,_0x209a61,_0xb6abfd):_0x560e8b(_0xb6abfd))||_0xb6abfd);return _0x19fdc4&&_0xb6abfd&&so(_0x4de38e,_0x209a61,_0xb6abfd),_0xb6abfd;},ye=(_0x362c7b,_0x224056)=>(_0x51bef1,_0xf378dc)=>_0x224056(_0x51bef1,_0xf378dc,_0x362c7b);let xe=class extends _0x24229e{constructor(_0x481561,_0x236f76,_0x4bd0c9,_0x502c05,_0x136454,_0x53f234,_0x3da87b){const _0x59c439=_0x2025fc;super(),g(this,_0x59c439(0x2b0),new _0x1074c2(void 0x0)),g(this,_0x59c439(0xb7),this[_0x59c439(0x2b0)][_0x59c439(0xf7)]()),g(this,_0x59c439(0x188),null),g(this,'_sessions',new Map()),g(this,_0x59c439(0x1ac),new _0x1074c2(fe['IDLE'])),g(this,_0x59c439(0x1cf),this[_0x59c439(0x1ac)][_0x59c439(0xf7)]()),g(this,'_socketReady',!0x1),g(this,_0x59c439(0x2e2)),g(this,_0x59c439(0x439),0x0),g(this,_0x59c439(0x2e0)),g(this,_0x59c439(0x4b3)),(this[_0x59c439(0x147)]=_0x481561,this['_localeService']=_0x236f76,this['_messageService']=_0x4bd0c9,this[_0x59c439(0xc1)]=_0x502c05,this[_0x59c439(0xb4)]=_0x136454,this['_socketService']=_0x53f234,this[_0x59c439(0x2d8)]=_0x3da87b,this['_initEventListeners']());}get[_0x2025fc(0x212)](){const _0x210756=_0x2025fc;return this[_0x210756(0x2b0)][_0x210756(0x42a)]();}[_0x2025fc(0x22b)](){const _0xf7b1ba=_0x2025fc;this[_0xf7b1ba(0xc6)](),this['_listenToOnlineEvent']();}[_0x2025fc(0x1e5)](){const _0x2937c2=_0x2025fc;super[_0x2937c2(0x1e5)](),this['_sessions'][_0x2937c2(0x2e1)](_0xe2a8dd=>_0xe2a8dd[_0x2937c2(0x1e5)]()),this[_0x2937c2(0x263)][_0x2937c2(0x116)](),this[_0x2937c2(0x1ac)]['complete']();}async[_0x2025fc(0x40d)](_0x447701){const _0xb85665=_0x2025fc;if(this[_0xb85665(0x263)][_0xb85665(0x24c)](_0x447701))return this[_0xb85665(0x263)][_0xb85665(0x33e)](_0x447701);this[_0xb85665(0x492)]();const _0x9e3976=this[_0xb85665(0x147)]['createInstance'](hs,_0x447701,this[_0xb85665(0x2b0)][_0xb85665(0xf7)]());return this[_0xb85665(0x263)][_0xb85665(0x39c)](_0x447701,_0x9e3976),_0x9e3976;}[_0x2025fc(0x416)](_0x2dc5ba){const _0x524af4=_0x2025fc;var _0x5201e0;const _0x157fa2=this['_sessions'][_0x524af4(0x33e)](_0x2dc5ba);_0x157fa2&&(this[_0x524af4(0x263)][_0x524af4(0x165)](_0x2dc5ba),_0x157fa2[_0x524af4(0x206)]()),this[_0x524af4(0x263)][_0x524af4(0x2ac)]||(_0x5201e0=this['_socket'])==null||_0x5201e0[_0x524af4(0x206)]();}[_0x2025fc(0x35e)](){const _0xe054dd=_0x2025fc;this[_0xe054dd(0x439)]=0x0,this[_0xe054dd(0x2e2)]!=null&&(clearTimeout(this[_0xe054dd(0x2e2)]),this['_retryConnectingTimer']=null),this[_0xe054dd(0x4ac)]();}async['_getSessionTicket'](){const _0x64a01b=_0x2025fc;var _0x36db72,_0x185766,_0x2d9241;const _0x43cbc5=this[_0x64a01b(0xb4)]['getConfig'](Q),_0x590007=(_0x36db72=_0x43cbc5==null?void 0x0:_0x43cbc5['wsSessionTicketUrl'])!=null?_0x36db72:wn;return(_0x2d9241=(_0x185766=(await this[_0x64a01b(0x2d8)]['get'](_0x590007,{'headers':{'Content-Type':_0x64a01b(0x473)}}))[_0x64a01b(0x41f)])==null?void 0x0:_0x185766[_0x64a01b(0x269)])!=null?_0x2d9241:'';}[_0x2025fc(0x408)](_0xd9d3aa){const _0x6b5cad=_0x2025fc;var _0x5bf115,_0x31b5cd;const _0x52e6f4=this[_0x6b5cad(0xb4)]['getConfig'](On),_0xc9b706=this[_0x6b5cad(0xb4)][_0x6b5cad(0x217)](Q),_0x3ae05f=(_0x31b5cd=(_0x5bf115=_0xc9b706==null?void 0x0:_0xc9b706[_0x6b5cad(0x3a4)])!=null?_0x5bf115:_0x52e6f4)!=null?_0x31b5cd:yn,_0x11cdef=new URL(_0x3ae05f,window[_0x6b5cad(0x16a)][_0x6b5cad(0x25c)]);return _0x11cdef[_0x6b5cad(0x3ec)][_0x6b5cad(0x39c)](_0x6b5cad(0x131),_0xd9d3aa),_0x11cdef[_0x6b5cad(0x135)]();}async[_0x2025fc(0x249)](){const _0x30bf7b=_0x2025fc,_0x323ee3=await this[_0x30bf7b(0x12f)](),_0x2c70eb=this['_createSocketURL'](_0x323ee3),_0x2b0af9=this[_0x30bf7b(0x30d)][_0x30bf7b(0x164)](_0x2c70eb);return this[_0x30bf7b(0x188)]=_0x2b0af9,_0x2b0af9;}async[_0x2025fc(0x492)](){const _0x535d3e=_0x2025fc;var _0xa232fe,_0x5b1a0b;try{const _0x2f9981=(_0x5b1a0b=(_0xa232fe=this[_0x535d3e(0x212)])!=null?_0xa232fe:this[_0x535d3e(0x188)])!=null?_0x5b1a0b:await this[_0x535d3e(0x249)]();if(_0x2f9981){const _0x12862c=_0x2f9981['send'];_0x2f9981[_0x535d3e(0xc9)]=_0x54c913=>(this[_0x535d3e(0x1cc)](),_0x12862c[_0x535d3e(0x38b)](_0x2f9981,[_0x54c913])),_0x2f9981[_0x535d3e(0x400)][_0x535d3e(0x140)](_0x51d9f1=>this['_onMessage'](_0x2f9981,_0x51d9f1)),_0x2f9981[_0x535d3e(0x19a)][_0x535d3e(0x150)](_0x1abfcf(0x1))['subscribe'](_0x395f34=>this[_0x535d3e(0xc1)][_0x535d3e(0x279)](_0x535d3e(0x414),_0x395f34)),_0x2f9981[_0x535d3e(0x46d)]['pipe'](_0x1abfcf(0x1))[_0x535d3e(0x140)](()=>{const _0x44dc80=_0x535d3e;this[_0x44dc80(0x22e)](_0x2f9981);}),_0x2f9981['close$'][_0x535d3e(0x150)](_0x1abfcf(0x1))[_0x535d3e(0x140)](_0x58ed03=>{const _0x33066c=_0x535d3e;this['_logService'][_0x33066c(0x456)](_0x33066c(0x29c),_0x33066c(0x28e),_0x58ed03),this[_0x33066c(0x105)]();});}}catch(_0xad8ef2){this['_logService'][_0x535d3e(0x279)](_0xad8ef2),this[_0x535d3e(0x105)]();}}[_0x2025fc(0x22e)](_0x1640b6){const _0x40a7f7=_0x2025fc;this[_0x40a7f7(0xc1)][_0x40a7f7(0x456)](_0x40a7f7(0x29c),_0x40a7f7(0x3e6)),_0x1640b6[_0x40a7f7(0xc9)]({'cmd':W['HELLO']}),this[_0x40a7f7(0x1cc)]();}[_0x2025fc(0xc6)](){const _0x231132=_0x2025fc;window[_0x231132(0x238)](_0x231132(0x13e),()=>this[_0x231132(0x149)]());}[_0x2025fc(0x149)](){const _0x567e23=_0x2025fc;this[_0x567e23(0x3ab)]=!0x1,this[_0x567e23(0x188)]=null,this[_0x567e23(0x1ac)][_0x567e23(0x382)](fe['OFFLINE']),this[_0x567e23(0x2b0)][_0x567e23(0x382)](null),this[_0x567e23(0x4a0)](),this[_0x567e23(0x3b6)]();}['_onConnectionFailed'](){const _0x527dd0=_0x2025fc;var _0x34e86a;this[_0x527dd0(0x149)](),this[_0x527dd0(0x439)]<((_0x34e86a=this[_0x527dd0(0xb4)][_0x527dd0(0x217)](Un))!=null?_0x34e86a:An)?(this[_0x527dd0(0x362)][_0x527dd0(0x3c2)]({'key':_0x527dd0(0x1a1),'type':_0x3f6750['Warning'],'content':this[_0x527dd0(0x3a9)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x527dd0(0x362)]['show']({'key':_0x527dd0(0x1a1),'type':_0x3f6750[_0x527dd0(0x2ee)],'content':this[_0x527dd0(0x3a9)]['t'](_0x527dd0(0x185))});}[_0x2025fc(0x44b)](){const _0x172175=_0x2025fc,_0x3aae65=()=>{const _0x5b839b=_0x46d8;this[_0x5b839b(0x212)]||this[_0x5b839b(0x35e)]();},_0x4875d8=()=>{const _0x43b857=_0x46d8;this[_0x43b857(0x212)]||document[_0x43b857(0x417)]===_0x43b857(0x176)||this[_0x43b857(0x35e)]();};window[_0x172175(0x238)](_0x172175(0x219),_0x3aae65),document[_0x172175(0x238)](_0x172175(0x1b6),_0x4875d8);}[_0x2025fc(0x4ac)](){const _0x4fdf47=_0x2025fc;var _0x233137;const _0x3b1e15=this[_0x4fdf47(0x439)],_0x191805=this[_0x4fdf47(0xb4)][_0x4fdf47(0x217)](Q),_0x472246=_0x3b1e15===0x0?0x0:((_0x233137=_0x191805==null?void 0x0:_0x191805[_0x4fdf47(0x410)])!=null?_0x233137:Nn)*0x2**_0x3b1e15;this[_0x4fdf47(0x2e2)]=window[_0x4fdf47(0x16d)](()=>{const _0xaf3a20=_0x4fdf47;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0xaf3a20(0x492)]();},_0x472246),this[_0x4fdf47(0x439)]+=0x1;}[_0x2025fc(0x11b)](_0x3df48b,_0xf1561a){const _0x1feb97=_0x2025fc,{cmd:_0x259736}=_0xf1561a;_0x259736===W['HELLO']&&!this['_socketReady']&&(_0x3df48b[_0x1feb97(0x471)]=_0xf1561a[_0x1feb97(0x2a0)][_0x1feb97(0x471)],this[_0x1feb97(0x2b0)]['next'](_0x3df48b),this[_0x1feb97(0x1ac)][_0x1feb97(0x382)](fe[_0x1feb97(0xad)]),this[_0x1feb97(0x3ab)]=!0x0,this[_0x1feb97(0x188)]=null),_0x259736===W[_0x1feb97(0x4a5)]&&this['_clearTimeoutTimer'](),this[_0x1feb97(0x1cc)]();}['_rescheduleHeartbeat'](){const _0x1f489b=_0x2025fc;var _0x35780c;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x1f489b(0x16d)](()=>this[_0x1f489b(0x204)](),(_0x35780c=this['_configService'][_0x1f489b(0x217)](Dn))!=null?_0x35780c:Pn);}[_0x2025fc(0x204)](){const _0x30b615=_0x2025fc;this[_0x30b615(0x212)][_0x30b615(0xc9)]({'cmd':W[_0x30b615(0x4a5)]}),this[_0x30b615(0x225)]();}[_0x2025fc(0x225)](){const _0x5bf09b=_0x2025fc;var _0x3eb902;this['_timeoutTimer']=window[_0x5bf09b(0x16d)](()=>this['_onConnectionFailed'](),(_0x3eb902=this[_0x5bf09b(0xb4)][_0x5bf09b(0x217)](ki))!=null?_0x3eb902:Wi);}[_0x2025fc(0x3b6)](){const _0x41e877=_0x2025fc;this[_0x41e877(0x2e0)]!=null&&(clearTimeout(this[_0x41e877(0x2e0)]),this[_0x41e877(0x2e0)]=null);}[_0x2025fc(0x4a0)](){const _0x1cdc37=_0x2025fc;this[_0x1cdc37(0x4b3)]!=null&&(clearTimeout(this[_0x1cdc37(0x4b3)]),this[_0x1cdc37(0x4b3)]=null);}};xe=ro([ye(0x0,_0x5847bf(_0x5d7671)),ye(0x1,_0x5847bf(_0x4b4756)),ye(0x2,_0x3d017a),ye(0x3,_0x49d195),ye(0x4,_0x4df844),ye(0x5,Gi),ye(0x6,_0x5847bf(_0x310387))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x2025fc(0x22f)]((i+0x100)[_0x2025fc(0x135)](0x10)['slice'](0x1));function no(_0x4854b1,_0x2ff98e=0x0){return(Y[_0x4854b1[_0x2ff98e+0x0]]+Y[_0x4854b1[_0x2ff98e+0x1]]+Y[_0x4854b1[_0x2ff98e+0x2]]+Y[_0x4854b1[_0x2ff98e+0x3]]+'-'+Y[_0x4854b1[_0x2ff98e+0x4]]+Y[_0x4854b1[_0x2ff98e+0x5]]+'-'+Y[_0x4854b1[_0x2ff98e+0x6]]+Y[_0x4854b1[_0x2ff98e+0x7]]+'-'+Y[_0x4854b1[_0x2ff98e+0x8]]+Y[_0x4854b1[_0x2ff98e+0x9]]+'-'+Y[_0x4854b1[_0x2ff98e+0xa]]+Y[_0x4854b1[_0x2ff98e+0xb]]+Y[_0x4854b1[_0x2ff98e+0xc]]+Y[_0x4854b1[_0x2ff98e+0xd]]+Y[_0x4854b1[_0x2ff98e+0xe]]+Y[_0x4854b1[_0x2ff98e+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x50930a=_0x2025fc;if(!Gt){if(typeof crypto>'u'||!crypto[_0x50930a(0x286)])throw new Error(_0x50930a(0x12b));Gt=crypto[_0x50930a(0x286)][_0x50930a(0x2c1)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x2025fc(0xf6)]&&crypto['randomUUID'][_0x2025fc(0x2c1)](crypto),zs={'randomUUID':co};function ho(_0x57d1b6,_0x18054e,_0x543c0b){const _0x713210=_0x2025fc;if(zs[_0x713210(0xf6)]&&!_0x18054e&&!_0x57d1b6)return zs['randomUUID']();_0x57d1b6=_0x57d1b6||{};const _0x11d262=_0x57d1b6['random']||(_0x57d1b6[_0x713210(0x354)]||ao)();return _0x11d262[0x6]=_0x11d262[0x6]&0xf|0x40,_0x11d262[0x8]=_0x11d262[0x8]&0x3f|0x80,no(_0x11d262);}var lo=Object['defineProperty'],_o=Object[_0x2025fc(0x18c)],uo=(_0x1782ff,_0x456255,_0x5543ba,_0x119be1)=>{const _0x2a1520=_0x2025fc;for(var _0x440ebe=_0x119be1>0x1?void 0x0:_0x119be1?_o(_0x456255,_0x5543ba):_0x456255,_0x5e7844=_0x1782ff[_0x2a1520(0x161)]-0x1,_0xd10ef0;_0x5e7844>=0x0;_0x5e7844--)(_0xd10ef0=_0x1782ff[_0x5e7844])&&(_0x440ebe=(_0x119be1?_0xd10ef0(_0x456255,_0x5543ba,_0x440ebe):_0xd10ef0(_0x440ebe))||_0x440ebe);return _0x119be1&&_0x440ebe&&lo(_0x456255,_0x5543ba,_0x440ebe),_0x440ebe;},Yt=(_0xb96441,_0x590e54)=>(_0x1544e8,_0x3ddead)=>_0x590e54(_0x1544e8,_0x3ddead,_0xb96441);let yt=class{constructor(_0x16bc13,_0x2c13d4,_0x339d22){const _0x409839=_0x2025fc;this['_injector']=_0x16bc13,this[_0x409839(0x128)]=_0x2c13d4,this[_0x409839(0x319)]=_0x339d22;}[_0x2025fc(0xcb)](_0x31d1d4){const _0xebe0f0=_0x2025fc;this[_0xebe0f0(0x2c7)](_0x31d1d4),this[_0xebe0f0(0x3a3)](_0x31d1d4);}[_0x2025fc(0x422)](_0x3b8e20){const _0x46e6a5=_0x2025fc,{unitID:_0x90b4ca}=_0x3b8e20,_0x4e6c5a=this[_0x46e6a5(0x319)][_0x46e6a5(0x266)](_0x90b4ca)[_0x46e6a5(0x1bc)](_0x5d51e1),{redoCache:_0x10eb4f}=_0x4e6c5a[_0x46e6a5(0x209)]();if(_0x10eb4f['length']===0x0)return _0x3b8e20;let _0x33c064=_0x529634['deepClone'](_0x3b8e20['mutations'][0x0]);for(let _0xdbfd1d=0x0;_0xdbfd1d<_0x10eb4f[_0x46e6a5(0x161)];_0xdbfd1d++){const _0x52b55b={'id':_0x46e6a5(0x495),'params':{..._0x10eb4f[_0xdbfd1d]}},_0x4381ac=this[_0x46e6a5(0x128)]['transformMutation'](_0x33c064,_0x52b55b,!0x1);if(_0x3e27e9(_0x4381ac))throw _0x4381ac[_0x46e6a5(0x279)];_0x33c064=_0x4381ac[_0x46e6a5(0x44f)];}return{..._0x529634[_0x46e6a5(0x2ad)](_0x3b8e20),'mutations':[_0x33c064]};}[_0x2025fc(0x2c7)](_0x4793b9){const _0xf955af=_0x2025fc,{unitID:_0x9f1d5}=_0x4793b9,_0xc25981=this[_0xf955af(0x319)][_0xf955af(0x266)](_0x9f1d5)[_0xf955af(0x1bc)](_0x5d51e1),{undoCache:_0x124ac2,redoCache:_0x21a332}=_0xc25981[_0xf955af(0x209)]();if(_0x124ac2[_0xf955af(0x161)]===0x0||_0x21a332[_0xf955af(0x161)]===0x0)return;const _0x3761c5=[],_0x2e62ae=[];let _0xeb95f7=_0x529634['deepClone'](_0x4793b9['mutations'][0x0]),_0x1f665e=_0x529634[_0xf955af(0x2ad)](_0x4793b9['mutations'][0x0]);for(let _0x54644b=_0x124ac2[_0xf955af(0x161)]-0x1;_0x54644b>=0x0;_0x54644b--){const _0x313a29={'id':_0xf955af(0x495),'params':{..._0x124ac2[_0x54644b]}},_0x55bdea={'id':_0xf955af(0x495),'params':{..._0x21a332[_0x54644b]}},_0x49fe53=this[_0xf955af(0x128)]['transformMutation'](_0xeb95f7,_0x313a29,!0x1),_0x2e28e2=this['_transformService']['transformMutation'](_0x1f665e,_0x55bdea,!0x1);if(_0x3e27e9(_0x49fe53))throw _0x49fe53['error'];if(_0x3e27e9(_0x2e28e2))throw _0x2e28e2[_0xf955af(0x279)];_0x3761c5[_0xf955af(0x3bd)](_0x49fe53['m2Prime']['params']),_0x2e62ae['unshift'](_0x2e28e2[_0xf955af(0x270)][_0xf955af(0x3a0)]),_0xeb95f7=_0x49fe53[_0xf955af(0x44f)],_0x1f665e=_0x2e28e2[_0xf955af(0x44f)];}_0xc25981[_0xf955af(0x21d)]({'undoCache':_0x3761c5,'redoCache':_0x2e62ae});}[_0x2025fc(0x3a3)](_0x521678){const _0x1b16c7=_0x2025fc,{unitID:_0x358cc9}=_0x521678,_0x5d40ea=this[_0x1b16c7(0x319)][_0x1b16c7(0x266)](_0x358cc9)[_0x1b16c7(0x1bc)](_0x5d51e1),_0x38da89=_0x5d40ea[_0x1b16c7(0x1c5)]();if(_0x38da89==null)return;const _0x161eda=[{'id':_0x1b16c7(0x495),'params':{'unitId':_0x521678[_0x1b16c7(0x2bf)],'actions':null,'textRanges':[_0x38da89]}}],_0x4f80a9=this[_0x1b16c7(0x128)][_0x1b16c7(0x39e)](_0x521678,_0x161eda);if(!_0x341c91(_0x4f80a9))throw _0x4f80a9[_0x1b16c7(0x279)];const _0x3871c1=_0x4f80a9['m2Prime'][0x0][_0x1b16c7(0x3a0)][_0x1b16c7(0x1b1)];Array[_0x1b16c7(0x287)](_0x3871c1)&&_0x3871c1['length']&&_0x5d40ea['setActiveRange'](_0x3871c1[0x0]);}};yt=uo([Yt(0x0,_0x5847bf(_0x5d7671)),Yt(0x1,_0x2fbfa5),Yt(0x2,_0x27432a)],yt);var fo=Object[_0x2025fc(0x385)],vo=Object[_0x2025fc(0x18c)],po=(_0x27c617,_0x399994,_0xe4972a,_0x6cdca7)=>{const _0x27a66f=_0x2025fc;for(var _0x3e4894=_0x6cdca7>0x1?void 0x0:_0x6cdca7?vo(_0x399994,_0xe4972a):_0x399994,_0x4d74d9=_0x27c617[_0x27a66f(0x161)]-0x1,_0x3f7f3b;_0x4d74d9>=0x0;_0x4d74d9--)(_0x3f7f3b=_0x27c617[_0x4d74d9])&&(_0x3e4894=(_0x6cdca7?_0x3f7f3b(_0x399994,_0xe4972a,_0x3e4894):_0x3f7f3b(_0x3e4894))||_0x3e4894);return _0x6cdca7&&_0x3e4894&&fo(_0x399994,_0xe4972a,_0x3e4894),_0x3e4894;},Xe=(_0x2b6a4b,_0x4550c8)=>(_0x484d97,_0x7072f)=>_0x4550c8(_0x484d97,_0x7072f,_0x2b6a4b);let z=class extends _0x24229e{constructor(_0x1c3334,_0x3f150d,_0x118910,_0x25d6fe,_0x5e7d4c){const _0x40ebd7=_0x2025fc;super(),g(this,_0x40ebd7(0x173),new Map()),g(this,_0x40ebd7(0x19b),new Map()),g(this,'_disabled',!0x1),(this[_0x40ebd7(0xb4)]=_0x1c3334,this[_0x40ebd7(0x207)]=_0x3f150d,this[_0x40ebd7(0x181)]=_0x118910,this[_0x40ebd7(0x3a9)]=_0x25d6fe,this[_0x40ebd7(0x1b0)]=_0x5e7d4c,this[_0x40ebd7(0x155)]());}['disableLocalCache'](){const _0x20fe13=_0x2025fc;this[_0x20fe13(0x2e4)]=!0x0;}['enableLocalCache'](){const _0x103913=_0x2025fc;this[_0x103913(0x2e4)]=!0x1;}[_0x2025fc(0x1e5)](){const _0x100d5a=_0x2025fc;this[_0x100d5a(0x3b1)]()[_0x100d5a(0x1c0)](()=>super[_0x100d5a(0x1e5)]());}async[_0x2025fc(0x3cc)](_0x488dff){const _0xa2c886=_0x2025fc;return this[_0xa2c886(0x2e4)]?null:this[_0xa2c886(0x207)]['getItem'](Xs(_0x488dff));}async[_0x2025fc(0x1d7)](_0x2b5348,_0x329493){const _0x4c5512=_0x2025fc;return!!this[_0x4c5512(0x207)][_0x4c5512(0x1aa)](_0x2b5348,_0x329493);}[_0x2025fc(0x291)](_0x4f5568,_0x18ac11,_0x36d67c,_0x48585a){const _0x36f9bb=_0x2025fc,_0x45ec47=this[_0x36f9bb(0x1b0)][_0x36f9bb(0x21f)](_0x4f5568);this[_0x36f9bb(0x173)][_0x36f9bb(0x39c)](_0x4f5568,{'unitID':_0x4f5568,'type':_0x18ac11,'awaitingChangeset':_0x36d67c,'mutations':_0x48585a,'rev':_0x45ec47}),this[_0x36f9bb(0x19b)]['has'](_0x4f5568)||this[_0x36f9bb(0x489)](_0x4f5568);}[_0x2025fc(0x489)](_0x143ac9){const _0x112c86=_0x2025fc,_0x22f68e=this['_getSaveTimeout']();_0x22f68e===0x0?this[_0x112c86(0x280)](_0x143ac9):this['_saveTaskMap'][_0x112c86(0x39c)](_0x143ac9,setTimeout(()=>this[_0x112c86(0x280)](_0x143ac9),_0x22f68e));}[_0x2025fc(0xa8)](){const _0x35ab0f=_0x2025fc;var _0x534a30;return(_0x534a30=this[_0x35ab0f(0xb4)][_0x35ab0f(0x217)](Mn))!=null?_0x534a30:xn;}[_0x2025fc(0x280)](_0x3ebb3c){const _0x21ee2b=_0x2025fc,_0x2f7325=this['_saveTaskMap'][_0x21ee2b(0x33e)](_0x3ebb3c);return _0x2f7325!==void 0x0&&window[_0x21ee2b(0x4b1)](_0x2f7325),this['_localStorageService'][_0x21ee2b(0x1aa)](Xs(_0x3ebb3c),this[_0x21ee2b(0x173)][_0x21ee2b(0x33e)](_0x3ebb3c))[_0x21ee2b(0x1c0)](()=>this['_saveTaskMap']['delete'](_0x3ebb3c));}async[_0x2025fc(0x3b1)](){const _0x599c50=_0x2025fc,_0x4ac8af=[];this['_saveTaskMap'][_0x599c50(0x2e1)]((_0x1248ea,_0x224d75)=>{const _0x5b36d6=_0x599c50;window['clearTimeout'](_0x1248ea),_0x4ac8af['push'](this[_0x5b36d6(0x280)](_0x224d75)['then'](()=>{const _0xced072=_0x5b36d6;this[_0xced072(0x19b)][_0xced072(0x165)](_0x224d75);}));}),await Promise[_0x599c50(0x395)](_0x4ac8af);}[_0x2025fc(0x155)](){const _0x3e7ee5=_0x2025fc;this[_0x3e7ee5(0x10c)](this[_0x3e7ee5(0x181)][_0x3e7ee5(0x2c8)](()=>{const _0x4ad78e=_0x3e7ee5;if(this[_0x4ad78e(0x19b)][_0x4ad78e(0x2ac)])return this[_0x4ad78e(0x3a9)]['t'](_0x4ad78e(0x475));}));}};z=po([Xe(0x0,_0x4df844),Xe(0x1,_0x5353b6),Xe(0x2,_0x176b35),Xe(0x3,_0x5847bf(_0x4b4756)),Xe(0x4,_0x5847bf(_0x389697))],z);function Xs(_0x325426){const _0x140626=_0x2025fc;return _0x140626(0x459)+_0x325426;}var mo=Object['defineProperty'],go=Object[_0x2025fc(0x18c)],So=(_0x3d99ec,_0x3e8fd8,_0x5c7693,_0x121c47)=>{const _0x1fe0a4=_0x2025fc;for(var _0x2b9a79=_0x121c47>0x1?void 0x0:_0x121c47?go(_0x3e8fd8,_0x5c7693):_0x3e8fd8,_0x84031a=_0x3d99ec[_0x1fe0a4(0x161)]-0x1,_0x255359;_0x84031a>=0x0;_0x84031a--)(_0x255359=_0x3d99ec[_0x84031a])&&(_0x2b9a79=(_0x121c47?_0x255359(_0x3e8fd8,_0x5c7693,_0x2b9a79):_0x255359(_0x2b9a79))||_0x2b9a79);return _0x121c47&&_0x2b9a79&&mo(_0x3e8fd8,_0x5c7693,_0x2b9a79),_0x2b9a79;},Kt=(_0x217f6b,_0x43c268)=>(_0x11e6cd,_0x180623)=>_0x43c268(_0x11e6cd,_0x180623,_0x217f6b);function Io(_0x3dfef6){const _0x32b9a4=_0x2025fc,{unitID:_0x1aaefe,mutations:_0x41e0c6}=_0x3dfef6;return{'unitId':_0x1aaefe,'subUnitId':_0x41e0c6[0x0]['params'][_0x32b9a4(0x457)]};}let wt=class{constructor(_0x144fc7,_0x49b6a3,_0x158d26){const _0x41bad9=_0x2025fc;this[_0x41bad9(0x147)]=_0x144fc7,this[_0x41bad9(0x128)]=_0x49b6a3,this[_0x41bad9(0xe8)]=_0x158d26;}[_0x2025fc(0x231)](_0x118312){const _0x1bae1c=_0x2025fc;var _0x146c4f,_0xdd4a90,_0x5c7bc3,_0x681f7e;const _0x2dc7da=this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x2d0767),{unitId:_0x2923e7,subUnitId:_0x4e8252}=Io(_0x118312),_0xa38baa=_0x2dc7da['getWorkbookSelections'](_0x2923e7)[_0x1bae1c(0xef)](),_0x4c24c8=(_0xdd4a90=(_0x146c4f=this[_0x1bae1c(0xe8)][_0x1bae1c(0x1a6)](_0x2923e7))==null?void 0x0:_0x146c4f[_0x1bae1c(0x406)]())==null?void 0x0:_0xdd4a90[_0x1bae1c(0x369)]();if(_0xa38baa[_0x1bae1c(0x161)]===0x0||!_0x2923e7||!_0x4e8252)return;const _0x5ebae3=[{'id':_0x3295dc['id'],'params':{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x529634[_0x1bae1c(0x2ad)](_0xa38baa)}}],_0x2e4f26=this[_0x1bae1c(0x128)][_0x1bae1c(0x39e)](_0x118312,_0x5ebae3);if(!_0x341c91(_0x2e4f26))throw _0x2e4f26[_0x1bae1c(0x279)];const _0x1b85fc=(_0x681f7e=(_0x5c7bc3=_0x2e4f26[_0x1bae1c(0x270)][0x0])==null?void 0x0:_0x5c7bc3['params'])==null?void 0x0:_0x681f7e[_0x1bae1c(0x12e)];if(Array[_0x1bae1c(0x287)](_0x1b85fc)&&_0x1b85fc[_0x1bae1c(0x161)]){if(_0x1b85fc[_0x1bae1c(0x161)]===_0x5ebae3[0x0][_0x1bae1c(0x3a0)]['selections'][_0x1bae1c(0x161)]&&_0x1b85fc['every']((_0x35a642,_0x46e464)=>_0x1a8bad[_0x1bae1c(0x1c6)](_0x35a642[_0x1bae1c(0x200)],_0x5ebae3[0x0][_0x1bae1c(0x3a0)][_0x1bae1c(0x12e)][_0x46e464][_0x1bae1c(0x200)])))return;this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x28287a)[_0x1bae1c(0x344)](_0x3295dc['id'],{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x1b85fc});}}};wt=So([Kt(0x0,_0x5847bf(_0x5d7671)),Kt(0x1,_0x2fbfa5),Kt(0x2,_0x425cee)],wt);const jt=_0x30094b('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x303067=>(_0x303067[_0x303067[_0x2025fc(0x46b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x303067[_0x303067['OTHER_CLIENTS_EDITING']=0x1]=_0x2025fc(0xaa),_0x303067))(Ki||{});const Js=0x7530,Zs=_0x2025fc(0x4bc);class Co extends _0x24229e{constructor(){const _0x5da5ff=_0x2025fc;super(),g(this,'_id',_0x529634[_0x5da5ff(0x210)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5da5ff(0x34c),new Map()),g(this,_0x5da5ff(0x337),null),g(this,_0x5da5ff(0x461),new Map()),g(this,_0x5da5ff(0x49e),new Map()),this['_init']();}[_0x2025fc(0x1e5)](){const _0xe6abb2=_0x2025fc;super[_0xe6abb2(0x1e5)](),this['_clearOtherTimers'][_0xe6abb2(0x2e1)]((_0x2574cd,_0x4f9fd0)=>this[_0xe6abb2(0x444)](_0x4f9fd0)),this[_0xe6abb2(0x337)]&&window[_0xe6abb2(0x3fd)](this[_0xe6abb2(0x337)]);}[_0x2025fc(0x430)](_0x385651){const _0x56d530=_0x2025fc;return this[_0x56d530(0x4ae)](_0x385651)[_0x56d530(0x150)](_0x17cf14());}[_0x2025fc(0xf2)](_0x1f2616){const _0x179adb=_0x2025fc;this[_0x179adb(0x1b3)][_0x179adb(0x2ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0x179adb(0x1b3)][_0x179adb(0x4b0)](_0x1f2616),this['_send']({'type':0x0,'memberID':this[_0x179adb(0x15a)],'unitIDs':[_0x1f2616],'isForwarded':!0x1});}['disposeUnit'](_0x24b177){const _0x12aede=_0x2025fc;this[_0x12aede(0x1b3)]['delete'](_0x24b177),this[_0x12aede(0x1b3)][_0x12aede(0x2ac)]===0x0&&this[_0x12aede(0x337)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2025fc(0x100)](){const _0x551115=_0x2025fc;this[_0x551115(0x10c)](_0x7c72c3(_0x6a336f(window,_0x551115(0x111))[_0x551115(0x140)](_0x14dd9d=>{const _0x3728e8=_0x551115;if(_0x14dd9d[_0x3728e8(0x45c)]!==Zs||!_0x14dd9d[_0x3728e8(0x3e5)])return;const _0x5b2a09=JSON['parse'](_0x14dd9d[_0x3728e8(0x3e5)]);this[_0x3728e8(0x366)](_0x5b2a09);}))),window[_0x551115(0x238)](_0x551115(0x4ba),()=>this[_0x551115(0x4b2)]({'type':0x1,'memberID':this[_0x551115(0x15a)],'unitIDs':Array[_0x551115(0x11c)](this[_0x551115(0x1b3)])}));}[_0x2025fc(0x366)](_0x37a684){const _0x5dcd18=_0x2025fc;switch(_0x37a684[_0x5dcd18(0x442)]){case 0x0:this['_handleJoinEvent'](_0x37a684);break;case 0x1:this['_handleLeaveEvent'](_0x37a684);break;case 0x2:this[_0x5dcd18(0x2fb)](_0x37a684);break;}}[_0x2025fc(0x45a)](_0xaaf2ae){const _0x43f736=_0x2025fc,{unitIDs:_0x2e76f6,memberID:_0x5b1d4a,isForwarded:_0x32bbf9}=_0xaaf2ae;_0x2e76f6['forEach'](_0x2a46bf=>{const _0x41840d=_0x46d8;if(!_0x32bbf9&&this[_0x41840d(0x34c)][_0x41840d(0x24c)](_0x2a46bf)&&this[_0x41840d(0x4ae)](_0x2a46bf)[_0x41840d(0x382)](0x1),!this[_0x41840d(0x34c)]['has'](_0x2a46bf)||!this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)[_0x41840d(0x24c)](_0x5b1d4a)){const _0x1a044a=this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)||new Set();_0x1a044a[_0x41840d(0x4b0)](_0x5b1d4a),this[_0x41840d(0x34c)][_0x41840d(0x39c)](_0x2a46bf,_0x1a044a),this[_0x41840d(0x43a)](_0x5b1d4a);}}),_0x32bbf9||this[_0x43f736(0x4b2)]({'type':0x0,'memberID':this[_0x43f736(0x15a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x97e4d0){const _0x7eb8ad=_0x2025fc;this['_removeClearOtherTimer'](_0x97e4d0);const _0x25fff2=window[_0x7eb8ad(0x16d)](()=>{const _0x5b245d=_0x7eb8ad;this['_unitOnClients'][_0x5b245d(0x2e1)](_0x1bd951=>{const _0x208e41=_0x5b245d;_0x1bd951[_0x208e41(0x165)](_0x97e4d0);});},Js*0x2);this[_0x7eb8ad(0x461)]['set'](_0x97e4d0,_0x25fff2);}[_0x2025fc(0x444)](_0x5c195c){const _0x5bcc44=_0x2025fc;if(this[_0x5bcc44(0x461)][_0x5bcc44(0x24c)](_0x5c195c)){const _0x113854=this[_0x5bcc44(0x461)][_0x5bcc44(0x33e)](_0x5c195c);_0x113854&&window[_0x5bcc44(0x4b1)](_0x113854),this[_0x5bcc44(0x461)]['set'](_0x5c195c,null);}}[_0x2025fc(0x3f4)](_0x26bb2b){const _0x402ff2=_0x2025fc,{memberID:_0x36ba73,unitIDs:_0x9d30d7}=_0x26bb2b;_0x9d30d7[_0x402ff2(0x2e1)](_0x55e26f=>{const _0x47cf21=_0x402ff2;var _0x11ef07;const _0xd0eeb6=this[_0x47cf21(0x34c)][_0x47cf21(0x33e)](_0x55e26f);_0xd0eeb6&&(_0xd0eeb6[_0x47cf21(0x165)](_0x36ba73),(_0x11ef07=this[_0x47cf21(0x4ae)](_0x55e26f))==null||_0x11ef07[_0x47cf21(0x382)](_0xd0eeb6[_0x47cf21(0x2ac)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x36ba73);}['_handleHeartbeatEvent'](_0x59471a){const _0x46d273=_0x2025fc;this[_0x46d273(0x43a)](_0x59471a['memberID']);}[_0x2025fc(0x4b2)](_0x57e811){const _0x44460b=_0x2025fc;localStorage[_0x44460b(0x1aa)](Zs,JSON[_0x44460b(0x11e)](_0x57e811));}[_0x2025fc(0x2e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x250503=_0x46d8;this['_send']({'type':0x2,'memberID':this[_0x250503(0x15a)]});},Js);}['_ensureSubject'](_0x4d6cbb){const _0x54bd69=_0x2025fc;return this[_0x54bd69(0x49e)][_0x54bd69(0x24c)](_0x4d6cbb)||this[_0x54bd69(0x49e)][_0x54bd69(0x39c)](_0x4d6cbb,new _0x1074c2(0x0)),this[_0x54bd69(0x49e)]['get'](_0x4d6cbb);}}var Eo=Object[_0x2025fc(0x385)],bo=Object['getOwnPropertyDescriptor'],To=(_0x215ee1,_0xbb8759,_0x5a4ab4,_0x3aa60a)=>{const _0xd3f270=_0x2025fc;for(var _0x16641f=_0x3aa60a>0x1?void 0x0:_0x3aa60a?bo(_0xbb8759,_0x5a4ab4):_0xbb8759,_0xf7fe35=_0x215ee1[_0xd3f270(0x161)]-0x1,_0x232392;_0xf7fe35>=0x0;_0xf7fe35--)(_0x232392=_0x215ee1[_0xf7fe35])&&(_0x16641f=(_0x3aa60a?_0x232392(_0xbb8759,_0x5a4ab4,_0x16641f):_0x232392(_0x16641f))||_0x16641f);return _0x3aa60a&&_0x16641f&&Eo(_0xbb8759,_0x5a4ab4,_0x16641f),_0x16641f;},qt=(_0x3ff1f9,_0x107fd3)=>(_0x4d38e8,_0x339bae)=>_0x107fd3(_0x4d38e8,_0x339bae,_0x3ff1f9);let Dt=class{constructor(_0x56f84e,_0x582b68,_0xa0ca2){const _0x43ea71=_0x2025fc;this['_injector']=_0x56f84e,this[_0x43ea71(0x128)]=_0x582b68,this[_0x43ea71(0x10a)]=_0xa0ca2;}['transformStateCache'](_0x5d48e0){this['_transformHistoryAndStateStack'](_0x5d48e0);}['transformRemoteChangeset'](_0x44548a){const _0x20c530=_0x2025fc,{unitID:_0x77b850}=_0x44548a,{collaboration:_0x122ad9}=this[_0x20c530(0x10a)][_0x20c530(0x322)](_0x77b850);if(_0x122ad9[_0x20c530(0x161)]===0x0)return _0x44548a;let _0x12c0dd=_0x529634[_0x20c530(0x2ad)](_0x44548a[_0x20c530(0x335)][0x0]);for(let _0x1d7a59=0x0;_0x1d7a59<_0x122ad9[_0x20c530(0x161)];_0x1d7a59++){const _0x173c51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x122ad9[_0x1d7a59][_0x20c530(0x273)],..._0x122ad9[_0x1d7a59]['redoState']}},_0x5c82c3=this[_0x20c530(0x128)]['transformMutation'](_0x12c0dd,_0x173c51,!0x1);if(_0x3e27e9(_0x5c82c3))throw _0x5c82c3[_0x20c530(0x279)];_0x12c0dd=_0x5c82c3[_0x20c530(0x44f)];}return{..._0x529634[_0x20c530(0x2ad)](_0x44548a),'mutations':[_0x12c0dd]};}[_0x2025fc(0x418)](_0x79927f){const _0x3d0cfa=_0x2025fc,{unitID:_0x2e26a0}=_0x79927f,{history:_0x5b4e04,collaboration:_0x450915}=this[_0x3d0cfa(0x10a)]['getStateCache'](_0x2e26a0);if(_0x5b4e04['length']===0x0&&_0x450915[_0x3d0cfa(0x161)]===0x0)return;const _0x1cf9fa=[],_0x175eb7=[];let _0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634['deepClone'](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x4bac98=_0x5b4e04[_0x3d0cfa(0x161)]-0x1;_0x4bac98>=0x0;_0x4bac98--){const _0x32bbb4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x347)]}},_0x3c5e90={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x1a3)]}},_0x49eed6=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x32bbb4,!0x1),_0x5bea87=this['_transformService'][_0x3d0cfa(0x4b6)](_0x39b658,_0x3c5e90,!0x1);if(_0x3e27e9(_0x49eed6))throw _0x49eed6[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x5bea87))throw _0x5bea87[_0x3d0cfa(0x279)];_0x1cf9fa[_0x3d0cfa(0x3bd)]({..._0x5b4e04[_0x4bac98],'undoState':_0x49eed6[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)],'redoState':_0x5bea87['m2Prime'][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x49eed6[_0x3d0cfa(0x44f)],_0x39b658=_0x5bea87[_0x3d0cfa(0x44f)];}_0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x9adcc9=_0x450915[_0x3d0cfa(0x161)]-0x1;_0x9adcc9>=0x0;_0x9adcc9--){const _0x4b093c={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x347)]}},_0x512950={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x1a3)]}},_0x45f2a5=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x4b093c,!0x1),_0x11a9db=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0x39b658,_0x512950,!0x1);if(_0x3e27e9(_0x45f2a5))throw _0x45f2a5[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x11a9db))throw _0x11a9db[_0x3d0cfa(0x279)];_0x175eb7[_0x3d0cfa(0x3bd)]({..._0x450915[_0x9adcc9],'undoState':_0x45f2a5[_0x3d0cfa(0x270)]['params'],'redoState':_0x11a9db[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x45f2a5[_0x3d0cfa(0x44f)],_0x39b658=_0x11a9db[_0x3d0cfa(0x44f)];}this[_0x3d0cfa(0x10a)]['setStateCache'](_0x2e26a0,{'history':_0x1cf9fa,'collaboration':_0x175eb7});}};Dt=To([qt(0x0,_0x5847bf(_0x5d7671)),qt(0x1,_0x2fbfa5),qt(0x2,_0x5847bf(_0x4ee933))],Dt);function qi(_0x447802){const _0x23d3a4=_0x2025fc;let _0x591fb7='';for(const _0x456e9e of _0x447802){const {startOffset:_0x3bc739,endOffset:_0x4258e0,isActive:_0x24626d,rangeType:_0x3c4464,segmentId:_0x17e384,segmentPage:_0x508fec}=_0x456e9e;_0x591fb7[_0x23d3a4(0x161)]&&(_0x591fb7+=','),_0x591fb7+=_0x3bc739+':'+_0x4258e0+':'+(_0x24626d?'1':'0')+':'+_0x3c4464+':'+_0x17e384+':'+_0x508fec;}return _0x591fb7;}function Ro(_0x3d4b47){const _0x56bac5=_0x2025fc,_0xc0e35d=_0x3d4b47['split'](','),_0x240b0e=[];for(const _0x13ccc4 of _0xc0e35d){const [_0xa6d7f0,_0x249e8e,_0x33c149,_0x3cc19b,_0xdac98d,_0x53cf02]=_0x13ccc4[_0x56bac5(0x2c6)](':');_0x240b0e[_0x56bac5(0x22f)]({'startOffset':Number(_0xa6d7f0),'endOffset':Number(_0x249e8e),'collapsed':_0xa6d7f0===_0x249e8e,'isActive':_0x33c149==='1','rangeType':_0x3cc19b===_0x2bd610[_0x56bac5(0x2b8)]?_0x2bd610[_0x56bac5(0x2b8)]:_0x2bd610[_0x56bac5(0x246)],'segmentId':typeof _0xdac98d==_0x56bac5(0x151)?String(_0xdac98d):'','segmentPage':Number(_0x53cf02!=null?_0x53cf02:-0x1)});}return _0x240b0e['some'](_0x509351=>_0x509351[_0x56bac5(0x19e)])||(_0x240b0e[0x0]['isActive']=!0x0),_0x240b0e;}class Ds extends _0x5ec0cb{constructor(){const _0x4c0dc6=_0x2025fc;super(...arguments),g(this,'_collabCursorState$',new _0x1074c2(null)),g(this,_0x4c0dc6(0x451),this[_0x4c0dc6(0x1ea)][_0x4c0dc6(0xf7)]());}[_0x2025fc(0xc2)](_0x4fdcb0){const _0x38d62c=_0x2025fc,{unitID:_0x49afeb,memberID:_0x18d412,textRanges:_0x4404d2}=_0x4fdcb0,_0x27cafd=qi(_0x4404d2);if(_0x27cafd==='')return;const _0x2821fa={'unitID':_0x49afeb,'memberID':_0x18d412,'selection':_0x27cafd};this[_0x38d62c(0x1ea)][_0x38d62c(0x382)](_0x2821fa);}}var Oo=Object[_0x2025fc(0x385)],yo=Object['getOwnPropertyDescriptor'],wo=(_0xbdb01d,_0x34914b,_0x2b6b41,_0x26bd8b)=>{const _0x507179=_0x2025fc;for(var _0x292316=_0x26bd8b>0x1?void 0x0:_0x26bd8b?yo(_0x34914b,_0x2b6b41):_0x34914b,_0x599586=_0xbdb01d[_0x507179(0x161)]-0x1,_0x5941a0;_0x599586>=0x0;_0x599586--)(_0x5941a0=_0xbdb01d[_0x599586])&&(_0x292316=(_0x26bd8b?_0x5941a0(_0x34914b,_0x2b6b41,_0x292316):_0x5941a0(_0x292316))||_0x292316);return _0x26bd8b&&_0x292316&&Oo(_0x34914b,_0x2b6b41,_0x292316),_0x292316;},Qs=(_0x3b2b21,_0x17c3fc)=>(_0x1a8f44,_0xe66bf0)=>_0x17c3fc(_0x1a8f44,_0xe66bf0,_0x3b2b21);let Pt=class{constructor(_0x3d378d,_0x5dad3b){const _0x2833a3=_0x2025fc;this[_0x2833a3(0x147)]=_0x3d378d,this[_0x2833a3(0x128)]=_0x5dad3b;}[_0x2025fc(0x231)](_0x1608db){const _0x5561b2=_0x2025fc;var _0x3084e4;const _0x2e6f48=this[_0x5561b2(0x147)][_0x5561b2(0x33e)](_0x49b6ea),_0x167fbd=(_0x3084e4=_0x2e6f48[_0x5561b2(0x391)]())!=null?_0x3084e4:[];if(_0x167fbd['length']===0x0)return;const _0x403bf3=_0x1608db['unitID'],_0x32ec32=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x403bf3,'actions':null,'textRanges':_0x167fbd}}],_0x403107=this[_0x5561b2(0x128)][_0x5561b2(0x39e)](_0x1608db,_0x32ec32);if(!_0x341c91(_0x403107))throw _0x403107[_0x5561b2(0x279)];const _0xb6d254=_0x403107[_0x5561b2(0x270)][0x0][_0x5561b2(0x3a0)][_0x5561b2(0x1b1)];Array[_0x5561b2(0x287)](_0xb6d254)&&_0xb6d254['length']&&_0x2e6f48[_0x5561b2(0x2f9)](_0xb6d254,{'unitId':_0x403bf3,'subUnitId':_0x403bf3},!0x1);}};Pt=wo([Qs(0x0,_0x5847bf(_0x5d7671)),Qs(0x1,_0x2fbfa5)],Pt);const Do=new Set([_0x5bc6a8['id']]);function ei(_0x435586,_0x477b87,_0x4f3dcd,_0x3143f9,_0x1f8859){const _0xbf01e3=_0x2025fc;var _0x1a45af,_0x21fed4,_0x314ee6,_0x37aa38;const _0x2669f8=[];for(const _0x39c8b5 of _0x435586)if(Do[_0xbf01e3(0x24c)](_0x39c8b5['id'])){if(_0x2669f8[_0xbf01e3(0x161)]>0x0)break;_0x2669f8[_0xbf01e3(0x22f)](_0x39c8b5);break;}else _0x2669f8['push'](_0x39c8b5);const _0x4489fd=(_0x21fed4=(_0x1a45af=_0x1f8859['getCurrentUser']())==null?void 0x0:_0x1a45af[_0xbf01e3(0x37e)])!=null?_0x21fed4:_0xbf01e3(0x248),_0x315a03=(_0x37aa38=(_0x314ee6=_0x1f8859[_0xbf01e3(0x14b)]())==null?void 0x0:_0x314ee6['memberID'])!=null?_0x37aa38:_0xbf01e3(0x248);return{'changeset':{'unitID':_0x477b87,'type':_0x3761c7(_0x4f3dcd[_0xbf01e3(0x3e3)](_0x477b87)),'baseRev':_0x3143f9[_0xbf01e3(0x21f)](_0x477b87),'revision':0x0,'userID':_0x4489fd,'memberID':_0x315a03,'mutations':_0x2669f8},'pendingMutations':_0x435586[_0xbf01e3(0x48f)](_0x2669f8[_0xbf01e3(0x161)])};}function Po(_0xaa9500,_0x887e65,_0x2519c7,_0x2562a7,_0x256860){const _0xe0d0e=_0x2025fc;var _0x202771,_0xe28d44,_0x10e86f,_0x173082;const _0x3f7bf1=[_0xaa9500[_0xe0d0e(0x393)]((_0x2c94a8,_0x1c1cf3)=>{const _0x5c5a7a=_0xe0d0e;var _0x489a8c;const {id:_0x4ea249}=_0x2c94a8,{id:_0xbb4d4c,type:_0x18e641}=_0x1c1cf3,_0x3a591b=(_0x489a8c=_0x2c94a8[_0x5c5a7a(0x3a0)])!=null?_0x489a8c:{'actions':null},_0x1edb2d=_0x1c1cf3[_0x5c5a7a(0x3a0)];if(_0x4ea249&&_0x4ea249!==_0xbb4d4c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4ea249+_0x5c5a7a(0x38a)+_0xbb4d4c+'.');return{..._0x2c94a8,'id':_0xbb4d4c,'type':_0x18e641,'params':{'unitId':_0x1edb2d[_0x5c5a7a(0x273)],'textRanges':_0x1edb2d[_0x5c5a7a(0x1b1)],'actions':_0x421ddc[_0x5c5a7a(0x468)](_0x3a591b[_0x5c5a7a(0x49a)],_0x1edb2d[_0x5c5a7a(0x49a)])}};},{})],_0x4365f1=(_0xe28d44=(_0x202771=_0x256860[_0xe0d0e(0x14b)]())==null?void 0x0:_0x202771['userID'])!=null?_0xe28d44:_0xe0d0e(0x248),_0x212c5f=(_0x173082=(_0x10e86f=_0x256860['getCurrentUser']())==null?void 0x0:_0x10e86f[_0xe0d0e(0x471)])!=null?_0x173082:'unknown';return{'changeset':{'unitID':_0x887e65,'type':_0x3761c7(_0x2519c7['getUnitType'](_0x887e65)),'baseRev':_0x2562a7[_0xe0d0e(0x21f)](_0x887e65),'revision':0x0,'userID':_0x4365f1,'memberID':_0x212c5f,'mutations':_0x3f7bf1},'pendingMutations':[]};}function zi(_0x2d54c1,_0xf646c5){const _0x1dff4b=_0x2025fc,_0x11c9ab=new _0x5e2516(0x1);return setTimeout(()=>_0x11c9ab[_0x1dff4b(0x382)](_0xf646c5),_0x2d54c1),_0x11c9ab['asObservable']()[_0x1dff4b(0x150)](_0x54d89e(0x1));}const No={'id':_0x40bf05['id'],'type':_0x4f220f[_0x2025fc(0x2c5)],'params':{}};var Uo=Object[_0x2025fc(0x385)],Ao=Object[_0x2025fc(0x18c)],$e=(_0x3a0634,_0x593556,_0x2580cb,_0x4b4dbe)=>{for(var _0x85f2c5=_0x4b4dbe>0x1?void 0x0:_0x4b4dbe?Ao(_0x593556,_0x2580cb):_0x593556,_0x8c23ab=_0x3a0634['length']-0x1,_0x13f5bd;_0x8c23ab>=0x0;_0x8c23ab--)(_0x13f5bd=_0x3a0634[_0x8c23ab])&&(_0x85f2c5=(_0x4b4dbe?_0x13f5bd(_0x593556,_0x2580cb,_0x85f2c5):_0x13f5bd(_0x85f2c5))||_0x85f2c5);return _0x4b4dbe&&_0x85f2c5&&Uo(_0x593556,_0x2580cb,_0x85f2c5),_0x85f2c5;},A=(_0x517766,_0x51fd35)=>(_0x23f0b3,_0x12ceb4)=>_0x51fd35(_0x23f0b3,_0x12ceb4,_0x517766),J=(_0x1468b5=>(_0x1468b5['NOT_COLLAB']=_0x2025fc(0x360),_0x1468b5[_0x2025fc(0x274)]='synced',_0x1468b5[_0x2025fc(0x469)]=_0x2025fc(0x46a),_0x1468b5['AWAITING']=_0x2025fc(0x1c3),_0x1468b5[_0x2025fc(0x4bd)]=_0x2025fc(0x1c1),_0x1468b5['FETCH_MISS']=_0x2025fc(0x377),_0x1468b5[_0x2025fc(0x312)]=_0x2025fc(0x137),_0x1468b5[_0x2025fc(0x23c)]='offline',_0x1468b5))(J||{});const Xi=0xea60;class He{constructor(_0x13a4f6,_0x5ac678,_0x281934,_0x5d640b,_0x4ed833,_0x2a45f8,_0x52050e,_0x3882e0,_0x678d64){const _0x517a4a=_0x2025fc;g(this,_0x517a4a(0x47d),null),g(this,_0x517a4a(0x398),[]),(this[_0x517a4a(0x2bf)]=_0x13a4f6,this[_0x517a4a(0x442)]=_0x5ac678,this[_0x517a4a(0x452)]=_0x4ed833,this[_0x517a4a(0x481)]=_0x2a45f8,this[_0x517a4a(0x21e)]=_0x52050e,this[_0x517a4a(0x1b0)]=_0x3882e0,this[_0x517a4a(0x2a4)]=_0x678d64,this[_0x517a4a(0x47d)]=_0x281934,this[_0x517a4a(0x398)]=_0x5d640b);}['_checkMissing'](_0x22795b){const _0xa1f689=_0x2025fc,_0x130bf1=this[_0xa1f689(0x1b0)]['getCurrentRevOfUnit'](this['unitID']);return _0x22795b['revision']>_0x130bf1+0x1?(this[_0xa1f689(0x452)]['onMissingChangesets']({'from':_0x130bf1,'to':_0x22795b[_0xa1f689(0x458)]-0x1}),!0x0):!0x1;}[_0x2025fc(0x2ed)](_0x574bc1){const _0x5e3fda=_0x2025fc;this[_0x5e3fda(0x21e)][_0x5e3fda(0x338)](this['unitID'],_0x574bc1);}[_0x2025fc(0xd9)](_0x5d2a42){const _0x173ef4=_0x2025fc;var _0x45cadd,_0xd626f0;(_0xd626f0=(_0x45cadd=this['_handler'])[_0x173ef4(0x106)])==null||_0xd626f0[_0x173ef4(0x494)](_0x45cadd,_0x5d2a42);}[_0x2025fc(0x1bf)](_0x402236){const _0x3276ab=_0x2025fc;var _0x462e86,_0x5e4167;return(_0x5e4167=(_0x462e86=this[_0x3276ab(0x452)])[_0x3276ab(0x38c)])==null?void 0x0:_0x5e4167[_0x3276ab(0x494)](_0x462e86,_0x402236);}[_0x2025fc(0x26f)](_0x245756){const _0x16f584=_0x2025fc;var _0x26fb9f,_0x1fe02a;return(_0x1fe02a=(_0x26fb9f=this[_0x16f584(0x452)])[_0x16f584(0x401)])==null?void 0x0:_0x1fe02a[_0x16f584(0x494)](_0x26fb9f,_0x245756);}[_0x2025fc(0x191)](_0x445ec9){const _0x91390d=_0x2025fc;var _0xbc4f15,_0x4a29fc,_0x2525c8;return(_0x2525c8=(_0x4a29fc=(_0xbc4f15=this[_0x91390d(0x452)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a29fc[_0x91390d(0x494)](_0xbc4f15,_0x445ec9))!=null?_0x2525c8:_0x445ec9;}[_0x2025fc(0x2d5)](_0x54295e){const _0x5e4851=_0x2025fc;var _0xd93821,_0x1fa965,_0x8f6823;return(_0x8f6823=(_0x1fa965=(_0xd93821=this[_0x5e4851(0x452)])[_0x5e4851(0x2eb)])==null?void 0x0:_0x1fa965[_0x5e4851(0x494)](_0xd93821,_0x54295e))!=null?_0x8f6823:_0x54295e;}[_0x2025fc(0x3d0)](_0x257f87){const _0x1c83d6=_0x2025fc;var _0x3c0df1,_0xd8b89c;if(this[_0x1c83d6(0x442)]===ae[_0x1c83d6(0x3ad)]){const {unitID:_0x398fce,mutations:_0x16ccf1,memberID:_0x4de8d0}=_0x257f87,_0xda12fe=_0x16ccf1[0x0][_0x1c83d6(0x3a0)][_0x1c83d6(0x1b1)];Array[_0x1c83d6(0x287)](_0xda12fe)&&_0xda12fe[_0x1c83d6(0x161)]>0x0&&((_0xd8b89c=(_0x3c0df1=this[_0x1c83d6(0x452)])[_0x1c83d6(0x1f5)])==null||_0xd8b89c[_0x1c83d6(0x494)](_0x3c0df1,{'unitID':_0x398fce,'memberID':_0x4de8d0,'textRanges':_0xda12fe}));}}[_0x2025fc(0x2e9)](){const _0x2e8e60=_0x2025fc;this[_0x2e8e60(0x2a4)][_0x2e8e60(0x291)](this[_0x2e8e60(0x2bf)],this[_0x2e8e60(0x442)],this[_0x2e8e60(0x47d)],this[_0x2e8e60(0x398)]);}[_0x2025fc(0x3b8)](){const _0x569dbb=_0x2025fc;return this[_0x569dbb(0x1b0)][_0x569dbb(0x21f)](this[_0x569dbb(0x2bf)]);}[_0x2025fc(0x139)](){const _0x534ac0=_0x2025fc;this[_0x534ac0(0x1b0)]['incrementRevOfUnit'](this[_0x534ac0(0x2bf)]);}['_executeRemoteChangeset'](_0x4f3b4f){const _0x488b22=_0x2025fc;var _0x2a8be0;let _0x26b0c6=this[_0x488b22(0x191)](_0x4f3b4f);_0x26b0c6=this[_0x488b22(0x2d5)](_0x26b0c6);const _0x201cb3=_0x512337(_0x26b0c6[_0x488b22(0x335)],this[_0x488b22(0x481)],{'fromCollab':!0x0});if(!_0x201cb3[_0x488b22(0x491)])throw _0x201cb3[_0x488b22(0x279)]instanceof Error?_0x201cb3[_0x488b22(0x279)]:new Error((_0x2a8be0=_0x201cb3['error'])!=null?_0x2a8be0:_0x488b22(0x333));this['_transformIMECache'](_0x26b0c6),this['_transformStateCache'](_0x26b0c6),this[_0x488b22(0x2ed)](_0x4f3b4f),this[_0x488b22(0xd9)](_0x26b0c6),this[_0x488b22(0x3d0)](_0x26b0c6),this[_0x488b22(0x139)]();}}let Fe=class extends He{constructor(_0x5253a2,_0x55d817,_0x3d30a0,_0xccb898,_0x3eecad,_0x2d2fe8,_0x64f58a,_0x459505,_0x1d63bf,_0x5975b6){const _0x1a5a08=_0x2025fc;super(_0x5253a2,_0x55d817,null,[],_0x3d30a0,_0x459505,_0x64f58a,_0xccb898,_0x3eecad),g(this,_0x1a5a08(0x2e8),_0x1a5a08(0x399)),(this[_0x1a5a08(0x147)]=_0x2d2fe8,this['_logService']=_0x1d63bf,this['_transformService']=_0x5975b6);}[_0x2025fc(0x2b7)](_0x363ca5){const _0x569a1a=_0x2025fc,_0x16855e=this['_injector'][_0x569a1a(0x12a)](pe,this['unitID'],this['type'],[_0x363ca5],this[_0x569a1a(0x452)]);return _0x16855e[_0x569a1a(0x34f)](),_0x16855e[_0x569a1a(0x2e9)](),_0x16855e;}[_0x2025fc(0xfa)](_0x54246f){const _0x4c7d55=_0x2025fc;if(this[_0x4c7d55(0x437)](_0x54246f))return this[_0x4c7d55(0x147)]['createInstance'](ce,this['unitID'],this[_0x4c7d55(0x442)],null,[],null,[_0x54246f],this[_0x4c7d55(0x452)]);try{const _0x2c4441=this[_0x4c7d55(0x128)][_0x4c7d55(0x39e)](_0x54246f,[No]);if(_0x341c91(_0x2c4441)){const {c1Prime:_0x4c7cd9}=_0x2c4441;return this[_0x4c7d55(0x2ae)](_0x4c7cd9),this;}throw _0x2c4441[_0x4c7d55(0x279)];}catch(_0x2e60e0){return this[_0x4c7d55(0xc1)][_0x4c7d55(0x279)](_0x2e60e0),this[_0x4c7d55(0xf4)](!0x1);}}[_0x2025fc(0xf4)](_0x40ee1f){const _0x587d0f=_0x2025fc;return this['_injector'][_0x587d0f(0x12a)](Re,this['unitID'],this[_0x587d0f(0x442)],null,[],this[_0x587d0f(0x452)],_0x40ee1f);}[_0x2025fc(0x40f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){const _0x35be91=_0x2025fc;throw new Error(_0x35be91(0x2ec));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){const _0x13f946=_0x2025fc;return this[_0x13f946(0x147)]['createInstance'](Oe,this[_0x13f946(0x2bf)],this[_0x13f946(0x442)],null,[],this[_0x13f946(0x452)]);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x52d20c=_0x2025fc;throw new Error(_0x52d20c(0x1dc));}['fetchMiss'](){const _0x51784e=_0x2025fc,_0x103353=this[_0x51784e(0x1b0)][_0x51784e(0x21f)](this[_0x51784e(0x2bf)]);return this['_handler'][_0x51784e(0x2a5)]({'from':_0x103353,'to':0x0}),this['_injector'][_0x51784e(0x12a)](ce,this[_0x51784e(0x2bf)],this[_0x51784e(0x442)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x5847bf(_0x389697)),A(0x4,_0x5847bf(z)),A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x4bbe15),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5)],Fe);let pe=class extends He{constructor(_0x61e5ae,_0x3fff89,_0x2c64af,_0x53bb6e,_0x2ee5d8,_0x989103,_0x5134ac,_0x136613,_0x5d4231,_0x5d2d17,_0x4be79e,_0x429f15,_0x40fcb5,_0x3239a1){const _0x495d31=_0x2025fc;super(_0x61e5ae,_0x3fff89,null,_0x2c64af,_0x53bb6e,_0x5d2d17,_0x3239a1,_0x989103,_0x5134ac),g(this,_0x495d31(0x2e8),_0x495d31(0x46a)),g(this,_0x495d31(0x109),null),g(this,_0x495d31(0x396),null),(this[_0x495d31(0x147)]=_0x2ee5d8,this['_memberService']=_0x136613,this[_0x495d31(0xc1)]=_0x5d4231,this['_configService']=_0x4be79e,this[_0x495d31(0x128)]=_0x429f15,this[_0x495d31(0x3cf)]=_0x40fcb5);}[_0x2025fc(0x2b7)](_0x20e268){const _0x117d18=_0x2025fc;return this[_0x117d18(0x398)][_0x117d18(0x22f)](_0x20e268),this[_0x117d18(0x2e9)](),this;}[_0x2025fc(0xfa)](_0x320d3){const _0x492b49=_0x2025fc;if(this[_0x492b49(0x437)](_0x320d3))return this[_0x492b49(0x3a5)](),this[_0x492b49(0x147)][_0x492b49(0x12a)](ce,this['unitID'],this[_0x492b49(0x442)],null,this[_0x492b49(0x398)],null,[_0x320d3],this['_handler']);try{const _0x3538f5=this['_transformService']['transformMutationsWithChangeset'](_0x320d3,this[_0x492b49(0x398)]);if(_0x341c91(_0x3538f5)){const {c1Prime:_0x3ba168,m2Prime:_0x56321c}=_0x3538f5;this[_0x492b49(0x2ae)](_0x3ba168);const _0x381610=this[_0x492b49(0x147)][_0x492b49(0x12a)](pe,this[_0x492b49(0x2bf)],this[_0x492b49(0x442)],_0x56321c,this[_0x492b49(0x452)]);return this[_0x492b49(0x3a5)](),_0x381610[_0x492b49(0x34f)](this[_0x492b49(0x109)]?Math[_0x492b49(0x3f2)](0x0,new Date()[_0x492b49(0x2f6)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x381610;}throw _0x3538f5[_0x492b49(0x279)];}catch(_0x1fc981){return this[_0x492b49(0xc1)][_0x492b49(0x279)](_0x1fc981),this[_0x492b49(0xf4)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2025fc(0x412)](){return this;}['toggleOffline'](){const _0x1cf1b7=_0x2025fc;return this[_0x1cf1b7(0x3a5)](),this['_injector'][_0x1cf1b7(0x12a)](Oe,this[_0x1cf1b7(0x2bf)],this[_0x1cf1b7(0x442)],null,this[_0x1cf1b7(0x398)],this['_handler']);}[_0x2025fc(0x375)](){return this;}['_schedule'](_0x1a7141){const _0x194f69=_0x2025fc,_0x2758bb=_0x1a7141!=null?_0x1a7141:this[_0x194f69(0x194)]();this[_0x194f69(0x109)]=new Date()[_0x194f69(0x2f6)](),this[_0x194f69(0x396)]=window[_0x194f69(0x16d)](()=>{const _0x589762=_0x194f69;this['_clearScheduledTask']();let _0x2a9c66=null;switch(this[_0x589762(0x442)]){case ae['UNIVER_SHEET']:{_0x2a9c66=ei(this[_0x589762(0x398)],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this['_revisionService'],this[_0x589762(0x31c)]);break;}case ae[_0x589762(0x3ad)]:{this[_0x589762(0x398)][_0x589762(0x253)](_0x5c42ff=>_0x5c42ff['id']===_0x3ef379['id'])?_0x2a9c66=Po(this['_pendingMutations'],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this[_0x589762(0x1b0)],this[_0x589762(0x31c)]):_0x2a9c66=ei(this['_pendingMutations'],this[_0x589762(0x2bf)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x589762(0xc8)+this[_0x589762(0x442)]+_0x589762(0x2de));}const {changeset:_0x2d27da,pendingMutations:_0x40bff1}=_0x2a9c66;this[_0x589762(0x452)][_0x589762(0x32e)](_0x2d27da);const _0x4f8e92=_0x40bff1['length']?this['_injector'][_0x589762(0x12a)](me,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,_0x40bff1,this[_0x589762(0x452)],void 0x0):this[_0x589762(0x147)][_0x589762(0x12a)](Te,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,this[_0x589762(0x452)]);_0x4f8e92[_0x589762(0x2e9)](),this['_handler'][_0x589762(0xe4)](this,_0x4f8e92);},_0x2758bb);}['_getSendChangesetTimeout'](){const _0x2e45e6=_0x2025fc;var _0x4c1cce;const _0x18e8ae=this[_0x2e45e6(0xb4)][_0x2e45e6(0x217)](Q);return(_0x4c1cce=_0x18e8ae==null?void 0x0:_0x18e8ae[_0x2e45e6(0x40e)])!=null?_0x4c1cce:Rn;}[_0x2025fc(0xd8)](){const _0x537863=_0x2025fc;throw new Error(_0x537863(0x3ee));}['_clearScheduledTask'](){const _0x5945c4=_0x2025fc;this[_0x5945c4(0x396)]!=null&&(clearTimeout(this[_0x5945c4(0x396)]),this[_0x5945c4(0x396)]=null);}[_0x2025fc(0xf4)](_0x3556b0){const _0x22c029=_0x2025fc;return this[_0x22c029(0x3a5)](),this[_0x22c029(0x147)]['createInstance'](Re,this[_0x22c029(0x2bf)],this[_0x22c029(0x442)],null,this[_0x22c029(0x398)],this[_0x22c029(0x452)],_0x3556b0);}};pe=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x5847bf(Me)),A(0x8,_0x49d195),A(0x9,_0x28287a),A(0xa,_0x4df844),A(0xb,_0x2fbfa5),A(0xc,_0x425cee),A(0xd,_0x4bbe15)],pe);let Te=class extends He{constructor(_0x3fdeb1,_0x715049,_0x9b2a2,_0x3b3923,_0x2a59e6,_0x346569,_0x13afb3,_0x2bc3d5,_0x4763cf,_0x5c4c76,_0x206461){const _0x5f125e=_0x2025fc;super(_0x3fdeb1,_0x715049,_0x9b2a2,[],_0x3b3923,_0x2bc3d5,_0x206461,_0x346569,_0x13afb3),g(this,_0x5f125e(0x2e8),_0x5f125e(0x1c3)),g(this,'_resendTimeout',0x0),g(this,_0x5f125e(0x4a8)),g(this,_0x5f125e(0x2d4)),(this[_0x5f125e(0x147)]=_0x2a59e6,this['_logService']=_0x4763cf,this[_0x5f125e(0x128)]=_0x5c4c76);}[_0x2025fc(0x2b7)](_0x14c8bc){const _0x21635a=_0x2025fc;this[_0x21635a(0x3a5)]();const _0x2d13b1=this['_injector'][_0x21635a(0x12a)](me,this[_0x21635a(0x2bf)],this[_0x21635a(0x442)],this['_awaitingChangeset'],[_0x14c8bc],this[_0x21635a(0x452)],this[_0x21635a(0x4a8)]);return _0x2d13b1[_0x21635a(0x2e9)](),_0x2d13b1;}[_0x2025fc(0xfa)](_0x177167){const _0x37645f=_0x2025fc;if(this[_0x37645f(0x437)](_0x177167))return this[_0x37645f(0x3a5)](),this[_0x37645f(0x147)][_0x37645f(0x12a)](ce,this[_0x37645f(0x2bf)],this['type'],this['_awaitingChangeset'],[],null,[_0x177167],this[_0x37645f(0x452)]);try{const _0x4fc374=this[_0x37645f(0x128)][_0x37645f(0x301)]([_0x177167],[this['_awaitingChangeset']],!0x1);if(_0xba8c63(_0x4fc374)){const {c1Prime:_0x3822af,c2Prime:_0x50148d}=_0x4fc374;this[_0x37645f(0x2ae)](_0x3822af[0x0]),_0x50148d[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x37645f(0x3a5)]();const _0x44eadd=this[_0x37645f(0x147)][_0x37645f(0x12a)](Te,this['unitID'],this[_0x37645f(0x442)],_0x50148d[0x0],this[_0x37645f(0x452)]);return _0x44eadd['_updateLocalCache'](),_0x44eadd;}return this[_0x37645f(0xf4)](!0x1);}catch(_0x1de3e2){return this['_logService'][_0x37645f(0x279)](_0x1de3e2),this[_0x37645f(0xf4)](!0x1);}}[_0x2025fc(0x40f)](_0x237a66){const _0x49c53b=_0x2025fc;this[_0x49c53b(0x3a5)]();const _0x524a06=this[_0x49c53b(0x1b0)][_0x49c53b(0x21f)](this['unitID']);if(_0x237a66['revision']<_0x524a06-0x1)return this;if(this['_checkMissing'](_0x237a66))return this['_injector'][_0x49c53b(0x12a)](ce,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],null,[],this[_0x49c53b(0x47d)],[],this[_0x49c53b(0x452)]);this['_incrementRevisionNumber']();const _0xd73c40=this[_0x49c53b(0x147)][_0x49c53b(0x12a)](Fe,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],this['_handler']);return _0xd73c40['_updateLocalCache'](),_0xd73c40;}[_0x2025fc(0xa5)](_0x13c3d3){const _0x3eddf9=_0x2025fc;return this[_0x3eddf9(0xf4)](!!(_0x13c3d3!=null&&_0x13c3d3[_0x3eddf9(0x1d3)]));}[_0x2025fc(0x412)](_0x344d9b){const _0x36b6dc=_0x2025fc;return this[_0x36b6dc(0xda)]>Xi?this[_0x36b6dc(0x242)]():(this[_0x36b6dc(0x4a8)]=zi(this['_resendTimeout'],{'timeout':this[_0x36b6dc(0xda)],'reqId':_0x344d9b[_0x36b6dc(0x153)]}),this[_0x36b6dc(0x2d4)]=this[_0x36b6dc(0x4a8)][_0x36b6dc(0x140)](({reqId:_0x5a2cec,timeout:_0x18cbfc})=>{this['_resendWithTimeout'](_0x5a2cec,_0x18cbfc);}),this);}[_0x2025fc(0x242)](){const _0x12cb61=_0x2025fc;return this[_0x12cb61(0x3a5)](),this['_injector'][_0x12cb61(0x12a)](Oe,this['unitID'],this['type'],this[_0x12cb61(0x47d)],[],this[_0x12cb61(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0x1e5f28=_0x2025fc;this[_0x1e5f28(0x452)][_0x1e5f28(0x32e)](this[_0x1e5f28(0x47d)]);}[_0x2025fc(0xf4)](_0x590e88){const _0x1cad62=_0x2025fc;return this[_0x1cad62(0x3a5)](),this[_0x1cad62(0x147)][_0x1cad62(0x12a)](Re,this[_0x1cad62(0x2bf)],this['type'],this[_0x1cad62(0x47d)],[],this[_0x1cad62(0x452)],_0x590e88);}[_0x2025fc(0x2d0)](_0x58b085,_0xf4d62c){const _0x134ed3=_0x2025fc;var _0x1be731;_0x58b085===((_0x1be731=this[_0x134ed3(0x47d)])==null?void 0x0:_0x1be731[_0x134ed3(0x153)])&&(this['resend'](),this['_resendTimeout']=_0xf4d62c===0x0?0x3e8:_0xf4d62c*0x2);}[_0x2025fc(0x3a5)](){const _0x5b4a8f=_0x2025fc;var _0x5ee5c6;(_0x5ee5c6=this[_0x5b4a8f(0x2d4)])==null||_0x5ee5c6[_0x5b4a8f(0x2dd)](),this[_0x5b4a8f(0xda)]=0x0;}};Te=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5),A(0xa,_0x4bbe15)],Te);let me=class extends He{constructor(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x3d0124,_0x4b0bbd,_0x2977af,_0x1cce43,_0x321800,_0x3bada2,_0x5927f4,_0x48df66){const _0x27bded=_0x2025fc;super(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x321800,_0x48df66,_0x2977af,_0x1cce43),g(this,_0x27bded(0x2e8),_0x27bded(0x1c1)),g(this,'_resendTimeout',0x0),g(this,_0x27bded(0x4a8)),g(this,_0x27bded(0x2d4)),(this[_0x27bded(0x147)]=_0x4b0bbd,this[_0x27bded(0xc1)]=_0x3bada2,this[_0x27bded(0x128)]=_0x5927f4,_0x3d0124&&(this[_0x27bded(0x4a8)]=_0x3d0124,this[_0x27bded(0x2d4)]=this[_0x27bded(0x4a8)][_0x27bded(0x140)](({reqId:_0x9df784,timeout:_0x327e7a})=>{this['_resendWithTimeout'](_0x9df784,_0x327e7a);})));}['appendMutation'](_0x35833c){const _0xa595b9=_0x2025fc;return this[_0xa595b9(0x398)]['push'](_0x35833c),this;}[_0x2025fc(0xfa)](_0x299a2f){const _0x4835c3=_0x2025fc;if(this[_0x4835c3(0x437)](_0x299a2f))return this[_0x4835c3(0x3a5)](),this['_injector'][_0x4835c3(0x12a)](ce,this[_0x4835c3(0x2bf)],this[_0x4835c3(0x442)],this[_0x4835c3(0x47d)],this[_0x4835c3(0x398)],null,[_0x299a2f],this[_0x4835c3(0x452)]);try{const _0x1e786d=this[_0x4835c3(0x128)][_0x4835c3(0x301)]([_0x299a2f],[this[_0x4835c3(0x47d)]],!0x1);if(_0xba8c63(_0x1e786d)){const {c1Prime:_0xd7dc12,c2Prime:_0x102fcb}=_0x1e786d,_0x370232=this[_0x4835c3(0x128)][_0x4835c3(0x39e)](_0xd7dc12[0x0],this[_0x4835c3(0x398)]);if(_0x341c91(_0x370232)){const {c1Prime:_0x3d1be8,m2Prime:_0x235be8}=_0x370232;return this[_0x4835c3(0x2ae)](_0x3d1be8),_0x102fcb[0x0][_0x4835c3(0x1eb)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x4835c3(0x147)]['createInstance'](me,this[_0x4835c3(0x2bf)],this['type'],_0x102fcb[0x0],_0x235be8,this[_0x4835c3(0x452)],void 0x0);}throw _0x370232[_0x4835c3(0x279)];}throw _0x1e786d[_0x4835c3(0x279)];}catch(_0x2b2842){return this[_0x4835c3(0xc1)][_0x4835c3(0x279)](_0x2b2842),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x571ea6){const _0x3eafac=_0x2025fc;if(this[_0x3eafac(0x3a5)](),this[_0x3eafac(0x437)](_0x571ea6))return this[_0x3eafac(0x147)][_0x3eafac(0x12a)](ce,this[_0x3eafac(0x2bf)],this['type'],null,this[_0x3eafac(0x398)],this[_0x3eafac(0x47d)],[],this['_handler']);this[_0x3eafac(0x139)]();const _0x301cc0=this[_0x3eafac(0x147)][_0x3eafac(0x12a)](pe,this[_0x3eafac(0x2bf)],this[_0x3eafac(0x442)],this[_0x3eafac(0x398)],this[_0x3eafac(0x452)]);return _0x301cc0[_0x3eafac(0x34f)](),_0x301cc0[_0x3eafac(0x2e9)](),_0x301cc0;}[_0x2025fc(0xa5)](_0x4083f9){const _0x2eeef0=_0x2025fc;return this[_0x2eeef0(0xf4)](!!(_0x4083f9!=null&&_0x4083f9[_0x2eeef0(0x1d3)]));}[_0x2025fc(0x412)](_0x4e7155){const _0x4b833c=_0x2025fc;return this[_0x4b833c(0xda)]>Xi?this[_0x4b833c(0x242)]():(this['_resendTimer']=zi(this[_0x4b833c(0xda)],{'timeout':this['_resendTimeout'],'reqId':_0x4e7155[_0x4b833c(0x153)]}),this[_0x4b833c(0x2d4)]=this[_0x4b833c(0x4a8)][_0x4b833c(0x140)](({reqId:_0x3900c3,timeout:_0x5b1d16})=>{const _0x411704=_0x4b833c;this[_0x411704(0x2d0)](_0x3900c3,_0x5b1d16);}),this);}['toggleOffline'](){const _0x3ce7aa=_0x2025fc;return this[_0x3ce7aa(0x3a5)](),this[_0x3ce7aa(0x147)][_0x3ce7aa(0x12a)](Oe,this[_0x3ce7aa(0x2bf)],this[_0x3ce7aa(0x442)],this[_0x3ce7aa(0x47d)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x130e7f=_0x2025fc;this[_0x130e7f(0x452)][_0x130e7f(0x32e)](this['_awaitingChangeset']);}[_0x2025fc(0xf4)](_0x5e739d){const _0x3e5f3d=_0x2025fc;return this[_0x3e5f3d(0x3a5)](),this[_0x3e5f3d(0x147)][_0x3e5f3d(0x12a)](Re,this[_0x3e5f3d(0x2bf)],this[_0x3e5f3d(0x442)],null,this[_0x3e5f3d(0x398)],this[_0x3e5f3d(0x452)],_0x5e739d);}[_0x2025fc(0x2d0)](_0x5973c4,_0x3401a1){const _0x4d46d1=_0x2025fc;var _0x11fd3b;_0x5973c4===((_0x11fd3b=this[_0x4d46d1(0x47d)])==null?void 0x0:_0x11fd3b[_0x4d46d1(0x153)])&&(this[_0x4d46d1(0xd8)](),this[_0x4d46d1(0xda)]=_0x3401a1===0x0?0x3e8:_0x3401a1*0x2);}[_0x2025fc(0x3a5)](){const _0x42f3d0=_0x2025fc;var _0x125bac;(_0x125bac=this['_sender'])==null||_0x125bac[_0x42f3d0(0x2dd)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5847bf(_0x5d7671)),A(0x7,_0x5847bf(_0x389697)),A(0x8,_0x5847bf(z)),A(0x9,_0x28287a),A(0xa,_0x49d195),A(0xb,_0x2fbfa5),A(0xc,_0x4bbe15)],me);let Re=class extends He{constructor(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x180c8b=!0x1,_0x4a7d9e,_0x5c37b3,_0x41424f,_0x15c481,_0x38fe09,_0x44fed0,_0x392150){const _0x4bbb8e=_0x2025fc;super(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x5c37b3,_0x41424f,_0x38fe09,_0x15c481),g(this,_0x4bbb8e(0x2e8),'conflict'),(this['_isPermissionRej']=_0x180c8b,this['_permissionService']=_0x4a7d9e,this[_0x4bbb8e(0x3a9)]=_0x44fed0,this[_0x4bbb8e(0x2e3)]=_0x392150,this[_0x4bbb8e(0x125)](),this[_0x4bbb8e(0x1f8)](),this[_0x4bbb8e(0x2d9)]());}['appendMutation'](){return this;}[_0x2025fc(0xfa)](){return this;}[_0x2025fc(0x40f)](){return this;}[_0x2025fc(0xa5)](){return this;}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0xc5ad8f=_0x2025fc;throw new Error(_0xc5ad8f(0x28f));}['_clearLocalCache'](){const _0x135bed=_0x2025fc;this['_localCacheService']['updateOfflineData'](this[_0x135bed(0x2bf)],this[_0x135bed(0x442)],null,[]);}['_showConflictNotification'](){const _0x117c98=_0x2025fc;this['_isPermissionRej']?this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x292)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x1a2)),'type':_0x117c98(0x279),'duration':0x0}):this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x288)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x103)),'type':_0x117c98(0x279),'duration':0x0});}[_0x2025fc(0x2d9)](){const _0x258d35=_0x2025fc;this[_0x258d35(0x2fa)][_0x258d35(0x2ce)](new _0x232ff6(this[_0x258d35(0x2bf)])['id'],!0x1);}};Re=$e([A(0x6,_0x5847bf(_0x1700fb)),A(0x7,_0x28287a),A(0x8,_0x4bbe15),A(0x9,_0x5847bf(z)),A(0xa,_0x5847bf(_0x389697)),A(0xb,_0x5847bf(_0x4b4756)),A(0xc,_0x28a3f3)],Re);let Oe=class extends He{constructor(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x205633,_0x4a956a,_0x524476,_0x390277,_0x2d3d72){const _0x4cde14=_0x2025fc;super(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x390277,_0x2d3d72,_0x4a956a,_0x524476),g(this,_0x4cde14(0x2e8),_0x4cde14(0x13e)),this[_0x4cde14(0x147)]=_0x205633;}['appendMutation'](_0xec3e34){const _0x2d380e=_0x2025fc;return this[_0x2d380e(0x398)][_0x2d380e(0x22f)](_0xec3e34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x18af5d){const _0x2068cd=_0x2025fc;throw new Error(_0x2068cd(0x282));}['onRemoteAck'](){const _0x3f8656=_0x2025fc;throw new Error(_0x3f8656(0x334));}[_0x2025fc(0xa5)](){const _0x5f32a2=_0x2025fc;throw new Error(_0x5f32a2(0x329));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){const _0x1f81e4=_0x2025fc,{_injector:_0x5f5b8a,_pendingMutations:_0x35d943,_awaitingChangeset:_0x183ee8,unitID:_0x1395e4,_handler:_0x48e0db,type:_0x19b0c9}=this,_0x66f909=Ji(_0x5f5b8a,_0x1395e4,_0x19b0c9,_0x183ee8,_0x35d943,_0x48e0db);return _0x66f909 instanceof pe?_0x66f909['_schedule']():(_0x66f909 instanceof me||_0x66f909 instanceof Te)&&_0x66f909[_0x1f81e4(0xd8)](),_0x66f909;}['resend'](){const _0x4f1283=_0x2025fc;throw new Error(_0x4f1283(0x463));}};Oe=$e([A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x5847bf(_0x389697)),A(0x7,_0x5847bf(z)),A(0x8,_0x28287a),A(0x9,_0x4bbe15)],Oe);let ce=class extends He{constructor(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0xae4049,_0xb6aaad,_0x84fd2e,_0x5cdd09,_0x1a2961,_0xd5fbd4,_0x29256a,_0x9ded7c,_0x79b74b,_0x48f2a0){const _0x2a5910=_0x2025fc;super(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0x84fd2e,_0x9ded7c,_0x79b74b,_0x1a2961,_0xd5fbd4),g(this,_0x2a5910(0x2e8),_0x2a5910(0x377)),(this[_0x2a5910(0x35f)]=_0xae4049,this[_0x2a5910(0x162)]=_0xb6aaad,this[_0x2a5910(0x147)]=_0x5cdd09,this[_0x2a5910(0xc1)]=_0x29256a,this[_0x2a5910(0x128)]=_0x48f2a0);}[_0x2025fc(0x143)](_0x525c58){const _0x206a23=_0x2025fc;try{const _0x1d6297=[..._0x525c58,...this[_0x206a23(0x162)]],_0x3712e7=[this[_0x206a23(0x47d)]||this[_0x206a23(0x35f)]][_0x206a23(0xb8)](_0x28da36=>!!_0x28da36);let _0x4f5499,_0x1efd2a;if(_0x3712e7[_0x206a23(0x161)]){const _0x2751a9=this[_0x206a23(0x128)]['transformChangesets'](_0x1d6297,_0x3712e7,!0x1);if(!_0xba8c63(_0x2751a9))throw _0x2751a9['error'];_0x4f5499=_0x2751a9[_0x206a23(0x26a)],_0x1efd2a=_0x2751a9[_0x206a23(0x117)];}else _0x4f5499=_0x1d6297,_0x1efd2a=[];let _0x7dea70=this[_0x206a23(0x398)];_0x4f5499[_0x206a23(0x2e1)](_0x27095e=>{const _0x3fd13d=_0x206a23;let _0x21183c;if(_0x7dea70[_0x3fd13d(0x161)]){const _0x17c628=this[_0x3fd13d(0x128)][_0x3fd13d(0x39e)](_0x27095e,_0x7dea70);if(!_0x341c91(_0x17c628))throw _0x17c628[_0x3fd13d(0x279)];_0x21183c=_0x17c628[_0x3fd13d(0x26a)],_0x7dea70=_0x17c628[_0x3fd13d(0x270)];}else _0x21183c=_0x27095e;this[_0x3fd13d(0x2ae)](_0x21183c);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x206a23(0x47d)]&&_0x1efd2a[_0x206a23(0x161)]&&(_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision']());let _0x237365;if(this['_awaitingChangeset']&&_0x7dea70[_0x206a23(0x161)]!==0x0)_0x237365=this['_injector'][_0x206a23(0x12a)](me,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],_0x1efd2a[0x0],_0x7dea70,this[_0x206a23(0x452)],void 0x0);else{if(this['_awaitingChangeset']&&_0x7dea70['length']===0x0)_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision'](),_0x237365=this['_injector']['createInstance'](Te,this['unitID'],this[_0x206a23(0x442)],_0x1efd2a[0x0],this[_0x206a23(0x452)]);else{if(_0x7dea70['length']!==0x0){const _0x2b5be8=this['_injector']['createInstance'](pe,this['unitID'],this[_0x206a23(0x442)],_0x7dea70,this[_0x206a23(0x452)]);_0x2b5be8['_schedule'](),_0x237365=_0x2b5be8;}else _0x237365=this[_0x206a23(0x147)]['createInstance'](Fe,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this[_0x206a23(0x452)]);}}return _0x237365[_0x206a23(0x2e9)](),_0x237365;}catch(_0x4ad4ef){return this['_logService'][_0x206a23(0x279)]('[FetchMissState]',_0x206a23(0x42c),_0x4ad4ef),this['_injector']['createInstance'](Re,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x206a23(0x452)],!0x1);}}[_0x2025fc(0xd8)](){const _0x5c18ef=_0x2025fc;throw new Error(_0x5c18ef(0x17f));}[_0x2025fc(0x2b7)](_0x4d5bc9){return this['_pendingMutations']['push'](_0x4d5bc9),this;}[_0x2025fc(0xfa)](_0xcd8a86){const _0x195cd5=_0x2025fc;return this['_queuedRemoteChangesets'][_0x195cd5(0x22f)](_0xcd8a86),this;}[_0x2025fc(0x40f)](_0x4f0872){const _0x1743f6=_0x2025fc;if(this[_0x1743f6(0x47d)])return this[_0x1743f6(0x35f)]=this[_0x1743f6(0x47d)],this[_0x1743f6(0x47d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2025fc(0xa5)](_0x514268){const _0x31ee05=_0x2025fc;return this[_0x31ee05(0xf4)](!!(_0x514268!=null&&_0x514268[_0x31ee05(0x1d3)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x58eda8=_0x2025fc;return this['_injector'][_0x58eda8(0x12a)](Oe,this[_0x58eda8(0x2bf)],this[_0x58eda8(0x442)],this[_0x58eda8(0x47d)],this[_0x58eda8(0x398)],this[_0x58eda8(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xf4)](_0xe29a5){const _0x2e6d8c=_0x2025fc;return this[_0x2e6d8c(0x147)][_0x2e6d8c(0x12a)](Re,this['unitID'],this['type'],this[_0x2e6d8c(0x47d)],this[_0x2e6d8c(0x398)],this[_0x2e6d8c(0x452)],_0xe29a5);}};ce=$e([A(0x7,_0x5847bf(_0x5d7671)),A(0x8,_0x5847bf(_0x389697)),A(0x9,_0x5847bf(z)),A(0xa,_0x49d195),A(0xb,_0x28287a),A(0xc,_0x4bbe15),A(0xd,_0x2fbfa5)],ce);function Ji(_0xb5fe79,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab){const _0x1de5d8=_0x2025fc;return _0x2852d2&&_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](me,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab,void 0x0):_0x2852d2?_0xb5fe79['createInstance'](Te,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x22c6ab):_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](pe,_0x2e1f33,_0x2e7dd2,_0x597de3,_0x22c6ab):_0xb5fe79['createInstance'](Fe,_0x2e1f33,_0x2e7dd2,_0x22c6ab);}var Mo=Object[_0x2025fc(0x385)],xo=Object[_0x2025fc(0x18c)],Ps=(_0xd8fba3,_0x218257,_0x21e9b3,_0x30c238)=>{const _0x8eb70d=_0x2025fc;for(var _0x495b2e=_0x30c238>0x1?void 0x0:_0x30c238?xo(_0x218257,_0x21e9b3):_0x218257,_0x512f5e=_0xd8fba3[_0x8eb70d(0x161)]-0x1,_0x242571;_0x512f5e>=0x0;_0x512f5e--)(_0x242571=_0xd8fba3[_0x512f5e])&&(_0x495b2e=(_0x30c238?_0x242571(_0x218257,_0x21e9b3,_0x495b2e):_0x242571(_0x495b2e))||_0x495b2e);return _0x30c238&&_0x495b2e&&Mo(_0x218257,_0x21e9b3,_0x495b2e),_0x495b2e;},H=(_0x2d54bc,_0x137bf2)=>(_0x4aab23,_0x5418eb)=>_0x137bf2(_0x4aab23,_0x5418eb,_0x2d54bc);let Nt=class extends _0x5ec0cb{constructor(_0x1927cb,_0x1b63f0,_0x87e79a,_0x14117a,_0xda6bb5,_0x27b593,_0x14b808,_0x40fa00,_0x535be6,_0x5c53c4,_0x23c6c0,_0x24fe38,_0x3e5485){const _0x50ae10=_0x2025fc;super(),g(this,_0x50ae10(0x3ae),new _0x1074c2(null)),g(this,_0x50ae10(0x361),this[_0x50ae10(0x3ae)][_0x50ae10(0xf7)]()),g(this,_0x50ae10(0x3be)),g(this,_0x50ae10(0x45e),!0x1),g(this,_0x50ae10(0x3bc),''),g(this,'_changesetReqId',0x0),g(this,_0x50ae10(0x1cf),this[_0x50ae10(0x361)][_0x50ae10(0x150)](_0x2e263c(_0x2e4eca=>_0x2e4eca?_0x2e4eca[_0x50ae10(0x2e8)]:J['OFFLINE']),_0x2c1940(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x50ae10(0x20f),[]),(this[_0x50ae10(0x2bf)]=_0x1927cb,this['session']=_0x1b63f0,this['_type']=_0x87e79a,this[_0x50ae10(0x147)]=_0x14117a,this[_0x50ae10(0x2a4)]=_0xda6bb5,this[_0x50ae10(0xff)]=_0x27b593,this[_0x50ae10(0x3a9)]=_0x14b808,this[_0x50ae10(0x1b0)]=_0x40fa00,this[_0x50ae10(0xc1)]=_0x535be6,this['_commandService']=_0x5c53c4,this[_0x50ae10(0x362)]=_0x23c6c0,this[_0x50ae10(0x2fa)]=_0x24fe38,this['_singleActiveUnitService']=_0x3e5485);}get['state'](){const _0x21a8ba=_0x2025fc;return this[_0x21a8ba(0x3be)];}async[_0x2025fc(0x289)](){const _0x2d3dcf=_0x2025fc;if(this[_0x2d3dcf(0x2cf)])throw new Error(_0x2d3dcf(0x22a));await this[_0x2d3dcf(0x100)]();}['pauseCollaboration'](){const _0x279a0a=_0x2025fc;return this[_0x279a0a(0x45e)]=!0x0,_0x7c72c3(()=>{const _0x513910=_0x279a0a;this['_collaborationPaused']=!0x1,this[_0x513910(0x3cb)]();});}[_0x2025fc(0x19d)](_0x9af5f){const _0x3bd759=_0x2025fc;this[_0x3bd759(0x3be)]=_0x9af5f,this['_state$']['next'](_0x9af5f);}async[_0x2025fc(0x100)](){const _0x9c0cdb=_0x2025fc;var _0x4cc3e6;this['_updateState'](await this[_0x9c0cdb(0x351)]()),this[_0x9c0cdb(0x3c6)]&&((_0x4cc3e6=this[_0x9c0cdb(0x3c6)])==null||_0x4cc3e6[_0x9c0cdb(0xf2)](this[_0x9c0cdb(0x2bf)]),this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x3c6)][_0x9c0cdb(0x430)](this[_0x9c0cdb(0x2bf)])[_0x9c0cdb(0x140)](_0xd9e257=>{const _0x436f85=_0x9c0cdb;this[_0x436f85(0xc1)][_0x436f85(0x456)](_0x436f85(0x124),_0x436f85(0xfb),_0xd9e257),_0xd9e257===Ki['OTHER_CLIENTS_EDITING']?(this[_0x436f85(0x362)][_0x436f85(0x3c2)]({'content':this['_localeService']['t'](_0x436f85(0x16e)),'type':_0x3f6750[_0x436f85(0x3b9)]}),this['_permissionService'][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x1),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x1)):(this[_0x436f85(0x2fa)][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x0),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x0));})));let _0x3e75b4=!0x1;return this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x17e)]['sessionStatus$'][_0x9c0cdb(0x140)](_0x4fb7a2=>{const _0x5b6cdc=_0x9c0cdb;_0x4fb7a2===fe[_0x5b6cdc(0xad)]?this['_toggleOnline'](_0x3e75b4):_0x4fb7a2===fe[_0x5b6cdc(0x23c)]&&(_0x3e75b4=!0x0,this['_toggleOffline']());})),this[_0x9c0cdb(0x10c)](this['session'][_0x9c0cdb(0x142)][_0x9c0cdb(0x140)](_0x5068ad=>{const _0x17625b=_0x9c0cdb;try{switch(_0x5068ad['eventID']){case _0x3a14f4[_0x17625b(0x36e)]:{this[_0x17625b(0x363)](_0x3cc097(_0x5068ad[_0x17625b(0x2a0)]));break;}case _0x3a14f4[_0x17625b(0x3d7)]:{this[_0x17625b(0x1d0)](_0x5068ad['data']);break;}case _0x3a14f4[_0x17625b(0x180)]:{this['_onRemoteRejected']();break;}case _0x3a14f4[_0x17625b(0x32f)]:{this[_0x17625b(0x132)](_0x5068ad['data']);break;}case _0x3a14f4['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x17625b(0xdf)](_0x5068ad[_0x17625b(0x2a0)][_0x17625b(0x2ea)][_0x17625b(0x23a)](_0x118a14=>_0x3cc097(_0x118a14)));break;}case _0x3a14f4[_0x17625b(0x102)]:this[_0x17625b(0x193)]({'isPermissionRej':!0x0});}}catch(_0x4051dd){throw console[_0x17625b(0x279)]('Error\x20on\x20receiving\x20event',_0x4051dd),_0x4051dd;}})),this[_0x9c0cdb(0x3be)];}[_0x2025fc(0x4ad)](){this['_transitionLocked']=!0x1;}[_0x2025fc(0x29d)](){const _0x10b2b6=_0x2025fc;if(this['_transitionLocked'])throw new Error(_0x10b2b6(0x1a0));this[_0x10b2b6(0x470)]=!0x0;}['_onLocalMutation'](_0xd04655){const _0x42b150=_0x2025fc;this[_0x42b150(0x29d)](),this[_0x42b150(0x19d)](this['_state'][_0x42b150(0x2b7)](_0xd04655)),this[_0x42b150(0x4ad)]();}[_0x2025fc(0x363)](_0x4ffe98){const _0x1d4bdf=_0x2025fc;if(!(_0x4ffe98['revision']<=this[_0x1d4bdf(0x1b0)][_0x1d4bdf(0x21f)](this[_0x1d4bdf(0x2bf)]))){if(this[_0x1d4bdf(0x45e)]){this[_0x1d4bdf(0x20f)][_0x1d4bdf(0x22f)](_0x4ffe98);return;}this[_0x1d4bdf(0x2c0)](_0x4ffe98);}}['_exhaustRemoteChangesetQueue'](){const _0x4d93a6=_0x2025fc;this[_0x4d93a6(0x20f)][_0x4d93a6(0x2e1)](_0x56e299=>this[_0x4d93a6(0x2c0)](_0x56e299)),this[_0x4d93a6(0x20f)]=[];}['_applyRemoteChangeset'](_0x8f58a){const _0x377782=_0x2025fc,_0x58c823=this[_0x377782(0xff)][_0x377782(0x364)]['fetchThroughInterceptors'](this[_0x377782(0xff)][_0x377782(0x364)][_0x377782(0x25e)]()['COMPRESS_MUTATION_APPLY'])(_0x8f58a['mutations'],null)||_0x8f58a[_0x377782(0x335)],_0x2d859d={..._0x8f58a,'mutations':_0x58c823};this[_0x377782(0x29d)](),this['_updateState'](this[_0x377782(0x3be)][_0x377782(0xfa)](_0x2d859d)),this['_unlockTransition']();}[_0x2025fc(0x1d0)](_0x4ca285){const _0x383c32=_0x2025fc;this['_lockTransition'](),this[_0x383c32(0x19d)](this[_0x383c32(0x3be)]['onRemoteAck'](_0x4ca285)),this[_0x383c32(0x4ad)]();}['_onRemoteRejected'](_0x1d84d1){const _0x95c42=_0x2025fc;this['_lockTransition'](),this[_0x95c42(0x19d)](this[_0x95c42(0x3be)][_0x95c42(0xa5)](_0x1d84d1)),this[_0x95c42(0x4ad)]();}[_0x2025fc(0x132)](_0x84ced8){const _0x264fa1=_0x2025fc;this['_lockTransition'](),this['_updateState'](this[_0x264fa1(0x3be)][_0x264fa1(0x412)](_0x84ced8)),this[_0x264fa1(0x4ad)]();}[_0x2025fc(0xdf)](_0x508599){const _0x434e81=_0x2025fc;if(!(this[_0x434e81(0x3be)]instanceof ce))throw new TypeError(_0x434e81(0x3fe));const _0xd1ec0d=_0x508599[_0x434e81(0x23a)](_0x3e1681=>{const _0x2fbd62=_0x434e81,_0x4c73e7=this[_0x2fbd62(0xff)]['interceptor'][_0x2fbd62(0x3ca)](this['_compressMutationService']['interceptor'][_0x2fbd62(0x25e)]()[_0x2fbd62(0x3b2)])(_0x3e1681[_0x2fbd62(0x335)],null)||_0x3e1681[_0x2fbd62(0x335)];return{..._0x3e1681,'mutations':_0x4c73e7};});this[_0x434e81(0x29d)](),this['_updateState'](this[_0x434e81(0x3be)]['onMissedChangesetFetched'](_0xd1ec0d)),this[_0x434e81(0x4ad)]();}['_toggleOffline'](){const _0x281364=_0x2025fc;this['_lockTransition'](),this[_0x281364(0x19d)](this['_state'][_0x281364(0x242)]()),this[_0x281364(0x4ad)]();}['_toggleOnline'](_0x1855f6=!0x1){const _0x310491=_0x2025fc;this[_0x310491(0x29d)](),this[_0x310491(0x19d)](this[_0x310491(0x3be)]['toggleOnline']()),this[_0x310491(0x4ad)]();const _0x1a063a=this[_0x310491(0x3be)];_0x1855f6&&_0x1a063a instanceof Fe&&(this['_lockTransition'](),this[_0x310491(0x19d)](_0x1a063a[_0x310491(0x2fd)]()),this['_unlockTransition']());}async[_0x2025fc(0x351)](){return new Promise(_0x402e1d=>{const _0x6a231=_0x46d8;this[_0x6a231(0x17e)]['sessionStatus$'][_0x6a231(0x150)](_0x54d89e(0x1))[_0x6a231(0x140)](async _0x2d4530=>{const _0x59c7ec=_0x6a231;_0x402e1d(await this[_0x59c7ec(0x3af)](_0x2d4530===fe['ONLINE']));});});}['_createHandler'](){const _0x79d312=_0x2025fc,_0x37cfaa=this[_0x79d312(0x2bf)];return{'onStateChange':(_0x2d8eca,_0x372a3b)=>{const _0xd40402=_0x79d312;if(_0x2d8eca!==this[_0xd40402(0x3be)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d8eca[_0xd40402(0x2e8)]+'\x0aAfter:\x20'+_0x372a3b[_0xd40402(0x2e8)]+_0xd40402(0x3d8)+this['_state'][_0xd40402(0x2e8)]);this[_0xd40402(0x19d)](_0x372a3b);},'onSendChangeset':_0x546711=>{const _0xbd2614=_0x79d312;_0x546711[_0xbd2614(0x427)]||(_0x546711[_0xbd2614(0x427)]=this[_0xbd2614(0x3bc)],_0x546711[_0xbd2614(0x153)]=++this[_0xbd2614(0x198)]);const _0x3da6e5={'eventID':_0x3a14f4[_0xbd2614(0x1ae)],'data':{'unitID':_0x546711['unitID'],'unitType':this['_type'],'changeset':_0x546711,'memberID':this[_0xbd2614(0x17e)][_0xbd2614(0x316)]()}};this['session'][_0xbd2614(0xc9)](_0x3da6e5,this['unitID']);},'onMissingChangesets':({from:_0x4da1f9,to:_0x3e8389})=>{const _0x15702f=_0x79d312;this[_0x15702f(0xc1)][_0x15702f(0x456)]('[CollaborationEntity]',_0x15702f(0x424)+_0x4da1f9+_0x15702f(0x272)+_0x3e8389);const _0x2ec3c9={'eventID':_0x3a14f4[_0x15702f(0x37c)],'data':{'unitID':_0x37cfaa,'unitType':this[_0x15702f(0xe6)],'from':_0x4da1f9,'to':_0x3e8389}};this[_0x15702f(0x17e)][_0x15702f(0xc9)](_0x2ec3c9,this[_0x15702f(0x2bf)]);}};}async['_createInitialStateImpl'](_0x1adb30){const _0xff8a0d=_0x2025fc;var _0x8bf60c,_0x23efc2;const _0x4c0ed8=await this['_localCacheService']['loadOfflineData'](this[_0xff8a0d(0x2bf)]),_0x182328=(_0x8bf60c=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x335)])!=null?_0x8bf60c:[],_0xc618ac=(_0x23efc2=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x3b0)])!=null?_0x23efc2:null,_0x5cc9a6=!!(_0xc618ac!=null&&_0xc618ac[_0xff8a0d(0x427)])&&!!(_0xc618ac!=null&&_0xc618ac['reqId']);this[_0xff8a0d(0x3bc)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x427)]:ho(),this[_0xff8a0d(0x198)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x153)]:0x0;const _0x3c589e=this[_0xff8a0d(0x2bf)];try{this[_0xff8a0d(0x3c9)](_0xc618ac,_0x182328);}catch(_0x5d6d42){this[_0xff8a0d(0xc1)][_0xff8a0d(0x279)](_0x5d6d42);}const _0x5a76a6=this['_createHandler']();if(_0x1adb30){const _0x52e6d6=Ji(this[_0xff8a0d(0x147)],_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);return _0x52e6d6 instanceof pe?_0x52e6d6[_0xff8a0d(0x34f)]():(_0x52e6d6 instanceof me||_0x52e6d6 instanceof Te)&&_0x52e6d6[_0xff8a0d(0xd8)](),_0x52e6d6;}return this['_injector']['createInstance'](Oe,_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);}[_0x2025fc(0x3c9)](_0x55c389,_0x437396){const _0x1d7de7=_0x2025fc;var _0x42a678,_0x294135;const _0xcbfea9=this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x3ca)](this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x25e)]()[_0x1d7de7(0x3b2)]);(_0x42a678=_0xcbfea9((_0x55c389==null?void 0x0:_0x55c389[_0x1d7de7(0x335)])||[],null))==null||_0x42a678[_0x1d7de7(0x2e1)](_0x499eae=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x499eae['id'],_0x499eae['params'])),(_0x294135=_0xcbfea9(_0x437396||[],null))==null||_0x294135[_0x1d7de7(0x2e1)](_0x5d7b80=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x5d7b80['id'],_0x5d7b80[_0x1d7de7(0x3a0)]));}};Nt=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x49d195),H(0x9,_0x28287a),H(0xa,_0x3d017a),H(0xb,_0x1700fb),H(0xc,_0x133fb4(jt))],Nt);let ls=class extends Nt{constructor(_0x21c6ca,_0xe59817,_0x489d6b,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x514c0f,_0x34ef47,_0x4697ee,_0x57e29b,_0x4c4ce5,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174){const _0x2d4b3a=_0x2025fc;super(_0x21c6ca,_0x489d6b,_0xe59817,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174),this['unitID']=_0x21c6ca,this[_0x2d4b3a(0x442)]=_0xe59817,this['_docStateChangeManagerService']=_0x514c0f,this[_0x2d4b3a(0x1f6)]=_0x34ef47,this[_0x2d4b3a(0x136)]=_0x4697ee,this[_0x2d4b3a(0x348)]=_0x57e29b,this[_0x2d4b3a(0x1ee)]=_0x4c4ce5;}['_createHandler'](){const _0x328915=_0x2025fc,_0x25f8a5=super[_0x328915(0x230)]();return _0x25f8a5[_0x328915(0x38c)]=_0x48c9c6=>this['_docTransformIMECacheService'][_0x328915(0xcb)](_0x48c9c6),_0x25f8a5[_0x328915(0x401)]=_0x3da323=>this[_0x328915(0x136)][_0x328915(0x15d)](_0x3da323),_0x25f8a5[_0x328915(0x106)]=_0x3ea21c=>this['_docTransformSelectionsService']['transformSelections'](_0x3ea21c),_0x25f8a5[_0x328915(0x1f5)]=_0x4b1d1a=>this['_docSyncEditingCollabCursorService'][_0x328915(0xc2)](_0x4b1d1a),_0x25f8a5['onTransformRemoteChangesetByIMECache']=_0x5f1d9a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5f1d9a),_0x25f8a5[_0x328915(0x2eb)]=_0x467342=>this[_0x328915(0x136)]['transformRemoteChangeset'](_0x467342),_0x25f8a5;}async['_init'](){const _0x4476d4=_0x2025fc,_0x5c4c51=await super[_0x4476d4(0x100)]();return this[_0x4476d4(0x10c)](this[_0x4476d4(0x10a)][_0x4476d4(0x359)][_0x4476d4(0x150)](_0x7b6507(this[_0x4476d4(0x345)]))['subscribe'](_0x329516=>{const _0x42bbbf=_0x4476d4;if(_0x329516==null)return;const {unitId:_0x1f701c,redoState:_0x223f86,commandId:_0x469d0a}=_0x329516;if(_0x1f701c!==this[_0x42bbbf(0x2bf)])return;const _0x965c94={'id':_0x469d0a,'type':_0x4f220f[_0x42bbbf(0x2c5)],'params':{'unitId':_0x1f701c,'actions':_0x223f86[_0x42bbbf(0x49a)],'textRanges':null}};this[_0x42bbbf(0x21c)](_0x965c94);})),this['disposeWithMe'](this[_0x4476d4(0x481)][_0x4476d4(0x18a)]((_0x35c55f,_0x53db8d)=>{const _0x3abd8a=_0x4476d4;if(_0x35c55f['type']!==_0x4f220f[_0x3abd8a(0x2c5)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0xae)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0x2df)]||_0x35c55f['id']===_0x3ef379['id'])return;const _0x3dc6f2=_0x35c55f[_0x3abd8a(0x3a0)];if((_0x3dc6f2==null?void 0x0:_0x3dc6f2[_0x3abd8a(0x273)])!==this[_0x3abd8a(0x2bf)])return;const _0x2c8a5e=_0x35c55f,_0x378646=this[_0x3abd8a(0xff)]['interceptor'][_0x3abd8a(0x3ca)](this[_0x3abd8a(0xff)][_0x3abd8a(0x364)][_0x3abd8a(0x25e)]()[_0x3abd8a(0x1a7)])([_0x2c8a5e],null)||[_0x2c8a5e];this[_0x3abd8a(0x21c)](_0x378646[0x0]);})),_0x5c4c51;}};ls=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(_0x4ee933)),H(0x9,_0x5847bf(yt)),H(0xa,_0x5847bf(Dt)),H(0xb,_0x5847bf(Pt)),H(0xc,_0x5847bf(Ds)),H(0xd,_0x49d195),H(0xe,_0x28287a),H(0xf,_0x3d017a),H(0x10,_0x1700fb),H(0x11,_0x133fb4(jt))],ls);let _s=class extends Nt{constructor(_0x5725e6,_0xec50dc,_0x387cbb,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0xd095b9,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895){const _0x28ddc1=_0x2025fc;super(_0x5725e6,_0x387cbb,_0xec50dc,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895),this[_0x28ddc1(0x2bf)]=_0x5725e6,this['type']=_0xec50dc,this[_0x28ddc1(0x31b)]=_0xd095b9;}[_0x2025fc(0x230)](){const _0x363bac=_0x2025fc,_0x4ae7d4=super[_0x363bac(0x230)]();return _0x4ae7d4[_0x363bac(0x106)]=_0xc3980a=>this[_0x363bac(0x31b)][_0x363bac(0x231)](_0xc3980a),_0x4ae7d4;}async[_0x2025fc(0x100)](){const _0x5f02c4=_0x2025fc,_0x3058d7=await super[_0x5f02c4(0x100)]();return this[_0x5f02c4(0x10c)](this[_0x5f02c4(0x481)][_0x5f02c4(0x18a)]((_0x471a1d,_0x324ad9)=>{const _0x26743f=_0x5f02c4;if(_0x471a1d['type']!==_0x4f220f[_0x26743f(0x2c5)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0xae)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0x2df)])return;const _0x34c8bd=_0x471a1d[_0x26743f(0x3a0)];if((_0x34c8bd==null?void 0x0:_0x34c8bd['unitId'])!==this['unitID'])return;const _0x139340=_0x471a1d,_0x496bb5=this['_compressMutationService'][_0x26743f(0x364)][_0x26743f(0x3ca)](this[_0x26743f(0xff)][_0x26743f(0x364)][_0x26743f(0x25e)]()[_0x26743f(0x1a7)])([_0x139340],null)||[_0x139340];this['_onLocalMutation'](_0x496bb5[0x0]);})),_0x3058d7;}};_s=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(wt)),H(0x9,_0x49d195),H(0xa,_0x28287a),H(0xb,_0x3d017a),H(0xc,_0x1700fb),H(0xd,_0x133fb4(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x2025fc(0x18c)],Ho=(_0x513d38,_0xc6d3bd,_0x208974,_0x2a774f)=>{const _0x31c576=_0x2025fc;for(var _0x52e8e9=_0x2a774f>0x1?void 0x0:_0x2a774f?$o(_0xc6d3bd,_0x208974):_0xc6d3bd,_0x3b52a3=_0x513d38[_0x31c576(0x161)]-0x1,_0x395f04;_0x3b52a3>=0x0;_0x3b52a3--)(_0x395f04=_0x513d38[_0x3b52a3])&&(_0x52e8e9=(_0x2a774f?_0x395f04(_0xc6d3bd,_0x208974,_0x52e8e9):_0x395f04(_0x52e8e9))||_0x52e8e9);return _0x2a774f&&_0x52e8e9&&Lo(_0xc6d3bd,_0x208974,_0x52e8e9),_0x52e8e9;},zt=(_0x164bfd,_0x411ea0)=>(_0x170b6f,_0x1bf0e7)=>_0x411ea0(_0x170b6f,_0x1bf0e7,_0x164bfd);let rt=class extends _0x5ec0cb{constructor(_0x2f2a0b,_0x617662,_0x5a9388){const _0x53985e=_0x2025fc;super(),g(this,'_entities',new Map()),g(this,_0x53985e(0x44e),new _0x1c0b9c()),(this[_0x53985e(0x147)]=_0x2f2a0b,this['_collabSessionService']=_0x617662,this[_0x53985e(0x3cf)]=_0x5a9388,this[_0x53985e(0x100)]());}['dispose'](){const _0x2d3dca=_0x2025fc;super['dispose'](),this[_0x2d3dca(0x3da)][_0x2d3dca(0x2e1)](_0xd8b1f1=>_0xd8b1f1['dispose']()),this[_0x2d3dca(0x3da)][_0x2d3dca(0x116)]();}['getCollabEntity'](_0x954c6f){const _0x323de5=_0x2025fc;var _0x183eed;return(_0x183eed=this[_0x323de5(0x3da)][_0x323de5(0x33e)](_0x954c6f))!=null?_0x183eed:null;}['getCollabEntity$'](_0x50048a){const _0x3c8b5b=_0x2025fc,_0x3c46c2=this[_0x3c8b5b(0x497)](_0x50048a);return _0x3c46c2?_0x43d0da(_0x3c46c2):this[_0x3c8b5b(0x44e)]['pipe'](_0xa0d892(_0x2e345f=>_0x2e345f[_0x3c8b5b(0x2bf)]===_0x50048a));}['_init'](){const _0x3ca4f9=_0x2025fc;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_SHEET'])[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))[_0x3ca4f9(0x140)](async _0xd82d05=>{const _0x3c881b=_0x3ca4f9,_0x306e06=_0xd82d05[_0x3c881b(0x10b)](),_0x4b79e8=await this[_0x3c881b(0x429)](_0x306e06,ae[_0x3c881b(0x4a6)]);this['_entities'][_0x3c881b(0x39c)](_0x306e06,_0x4b79e8);}),this[_0x3ca4f9(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC'])['pipe'](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))['pipe'](_0xa0d892(_0x54a4d2=>!_0x54a4d2['getUnitId']()['startsWith']('__')))['subscribe'](async _0x22d610=>{const _0x4b9139=_0x3ca4f9,_0x274528=_0x22d610[_0x4b9139(0x10b)](),_0x208812=await this[_0x4b9139(0x429)](_0x274528,ae[_0x4b9139(0x3ad)]);this[_0x4b9139(0x3da)][_0x4b9139(0x39c)](_0x274528,_0x208812);}),_0x38a986(this[_0x3ca4f9(0x3cf)][_0x3ca4f9(0x2f2)](_0xb166dc[_0x3ca4f9(0x4a6)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_DOC']))[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]))[_0x3ca4f9(0x140)](_0x99ba42=>{const _0x2b6e71=_0x3ca4f9,_0x3b8bed=_0x99ba42['getUnitId'](),_0x471671=this['_entities'][_0x2b6e71(0x33e)](_0x3b8bed);_0x471671&&(_0x471671[_0x2b6e71(0x1e5)](),this['_entities'][_0x2b6e71(0x165)](_0x3b8bed));});}async[_0x2025fc(0x429)](_0x3b6676,_0x2bdf70){const _0x6b58c9=_0x2025fc,_0x580ed5=await this['_collabSessionService']['requireSession'](_0x3b6676),_0x259a61=this[_0x6b58c9(0x147)][_0x6b58c9(0x12a)](this[_0x6b58c9(0x40c)](_0x2bdf70),_0x3b6676,_0x2bdf70,_0x580ed5);return await _0x259a61[_0x6b58c9(0x289)](),this[_0x6b58c9(0x44e)][_0x6b58c9(0x382)](_0x259a61),_0x259a61;}[_0x2025fc(0x40c)](_0x38ac44){const _0x289032=_0x2025fc;switch(_0x38ac44){case ae[_0x289032(0x3ad)]:return ls;case ae[_0x289032(0x4a6)]:return _s;default:throw new Error(_0x289032(0x493)+_0x38ac44);}}};rt=Ho([zt(0x0,_0x5847bf(_0x5d7671)),zt(0x1,_0x5847bf(xe)),zt(0x2,_0x425cee)],rt);var jo=Object[_0x2025fc(0x385)],Bo=Object[_0x2025fc(0x18c)],ko=(_0x2815a5,_0xe142af,_0x25898e,_0x433015)=>{const _0x138e07=_0x2025fc;for(var _0x21cf8a=_0x433015>0x1?void 0x0:_0x433015?Bo(_0xe142af,_0x25898e):_0xe142af,_0x495c82=_0x2815a5[_0x138e07(0x161)]-0x1,_0x2a91e8;_0x495c82>=0x0;_0x495c82--)(_0x2a91e8=_0x2815a5[_0x495c82])&&(_0x21cf8a=(_0x433015?_0x2a91e8(_0xe142af,_0x25898e,_0x21cf8a):_0x2a91e8(_0x21cf8a))||_0x21cf8a);return _0x433015&&_0x21cf8a&&jo(_0xe142af,_0x25898e,_0x21cf8a),_0x21cf8a;},ti=(_0x4c6dc1,_0x312cc5)=>(_0x633c43,_0x318309)=>_0x312cc5(_0x633c43,_0x318309,_0x4c6dc1);let Ut=class extends _0x5ec0cb{constructor(_0x372061,_0x245271){const _0x16467c=_0x2025fc;super(),this[_0x16467c(0x2b4)]=_0x372061,this[_0x16467c(0x156)]=_0x245271,this[_0x16467c(0x100)]();}[_0x2025fc(0x100)](){const _0x2dafb3=_0x2025fc,_0x31e8c7=this;this[_0x2dafb3(0x10c)](this[_0x2dafb3(0x2b4)][_0x2dafb3(0x15b)]({'onBeforePasteImage':async _0x36ce1e=>{const _0x1931ed=_0x2dafb3,_0x83e37d=await _0x31e8c7[_0x1931ed(0x156)]['saveImage'](_0x36ce1e);return _0x83e37d?{'source':_0x83e37d['source'],'imageSourceType':_0x83e37d[_0x1931ed(0xc4)]}:null;}}));}};Ut=ko([ti(0x0,_0x3d5ec4),ti(0x1,_0x1fd980)],Ut);const si=[_0x2025fc(0x3b5),_0x2025fc(0x175),'verdancy600',_0x2025fc(0x474),_0x2025fc(0x308),_0x2025fc(0x2cd)];class Ns extends _0x24229e{constructor(){const _0x43ed2f=_0x2025fc;super(...arguments),g(this,_0x43ed2f(0xf8),new Map()),g(this,'_colorIndex',0x0);}[_0x2025fc(0x271)](_0x5cb963){const _0x474cab=_0x2025fc;if(this['_assignedColors']['has'](_0x5cb963))return this['_assignedColors'][_0x474cab(0x33e)](_0x5cb963);const _0x122735=si[this[_0x474cab(0xcd)]];return this[_0x474cab(0xcd)]=(this[_0x474cab(0xcd)]+0x1)%si[_0x474cab(0x161)],this[_0x474cab(0xf8)][_0x474cab(0x39c)](_0x5cb963,_0x122735),_0x122735;}}var Wo=Object['defineProperty'],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0xc335ad,_0x377ddc,_0x354b33,_0x279f5f)=>{const _0x4a1139=_0x2025fc;for(var _0x1d603c=_0x279f5f>0x1?void 0x0:_0x279f5f?Fo(_0x377ddc,_0x354b33):_0x377ddc,_0x58c5a6=_0xc335ad[_0x4a1139(0x161)]-0x1,_0xb8be30;_0x58c5a6>=0x0;_0x58c5a6--)(_0xb8be30=_0xc335ad[_0x58c5a6])&&(_0x1d603c=(_0x279f5f?_0xb8be30(_0x377ddc,_0x354b33,_0x1d603c):_0xb8be30(_0x1d603c))||_0x1d603c);return _0x279f5f&&_0x1d603c&&Wo(_0x377ddc,_0x354b33,_0x1d603c),_0x1d603c;},we=(_0x529c42,_0x2db288)=>(_0x36f72f,_0x1e2ca6)=>_0x2db288(_0x36f72f,_0x1e2ca6,_0x529c42);const Go=0x12c,Yo=0x64;let us=class extends _0x5ec0cb{constructor(_0x2595fb,_0x20e4cc,_0x81a61d,_0x1be167,_0x1aaf62,_0x570f15,_0x3da5a8,_0x8a1e43,_0x598b6c){const _0xcbfa7f=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0xcbfa7f(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0xcbfa7f(0x25b),this[_0xcbfa7f(0x31a)]['asObservable']()),g(this,_0xcbfa7f(0x3f8),new _0x1074c2([])),g(this,'roomMembers$',this[_0xcbfa7f(0x3f8)]['pipe'](_0x493feb(Go))),g(this,_0xcbfa7f(0x199),_0x26c09b(_0x50e879=>{const _0x1c2dad=_0xcbfa7f,_0xe6aa2e={'eventID':_0x3a14f4[_0x1c2dad(0x30f)],'data':{'unitID':this[_0x1c2dad(0x2bf)],'memberID':this[_0x1c2dad(0x318)][_0x1c2dad(0x316)](),'selection':qi(_0x50e879)}};this[_0x1c2dad(0x318)][_0x1c2dad(0xc9)](_0xe6aa2e,this['unitID']);},Yo)),(this['unitID']=_0x2595fb,this[_0xcbfa7f(0x318)]=_0x20e4cc,this['_injector']=_0x81a61d,this['_colorAssignService']=_0x1be167,this[_0xcbfa7f(0x31c)]=_0x1aaf62,this[_0xcbfa7f(0x187)]=_0x570f15,this[_0xcbfa7f(0x128)]=_0x3da5a8,this[_0xcbfa7f(0x3cf)]=_0x8a1e43,this['_commandService']=_0x598b6c);}get['cursorInfo'](){const _0x38d0f4=_0x2025fc;return this['_cursorInfo$'][_0x38d0f4(0x42a)]();}get[_0x2025fc(0x340)](){const _0x4a4656=_0x2025fc;return this[_0x4a4656(0x3f8)][_0x4a4656(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x107904=_0x2025fc;super[_0x107904(0x1e5)](),this[_0x107904(0x31a)][_0x107904(0x382)](new Map()),this['_cursorInfo$'][_0x107904(0x3c5)](),this[_0x107904(0x3f8)]['next']([]),this[_0x107904(0x3f8)][_0x107904(0x3c5)]();}[_0x2025fc(0x289)](){const _0x131fc7=_0x2025fc;this[_0x131fc7(0x100)]||(this['_init']=!0x0,this[_0x131fc7(0x318)][_0x131fc7(0x1ff)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x98c67=>{const _0x4a000a=_0x131fc7;_0x98c67===fe[_0x4a000a(0xad)]?this[_0x4a000a(0x1dd)]():this[_0x4a000a(0x37a)]();}),this[_0x131fc7(0x318)][_0x131fc7(0x142)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x46c47d=>{const _0x5b7949=_0x131fc7,_0x425808=_0x46c47d[_0x5b7949(0x28b)];_0x425808===_0x3a14f4[_0x5b7949(0x30f)]&&this[_0x5b7949(0x37b)](_0x46c47d),_0x425808===_0x3a14f4[_0x5b7949(0x3dc)]&&this[_0x5b7949(0x27f)](_0x46c47d);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x436598=>{const _0xea9d46=_0x131fc7,_0x245706=_0x436598[_0xea9d46(0x3a0)];_0x245706!=null&&this[_0xea9d46(0x34b)]&&_0x436598['id']===_0x10a027['id']&&_0x245706[_0xea9d46(0x273)]===this[_0xea9d46(0x2bf)]&&_0x245706['isEditing']===!0x1&&_0x245706['ranges'][_0xea9d46(0x161)]>0x0&&this[_0xea9d46(0x199)](_0x245706[_0xea9d46(0xe5)]);})),this['_syncEditingCollabCursorService'][_0x131fc7(0x451)][_0x131fc7(0x150)](_0x7b6507(this['dispose$']))[_0x131fc7(0x140)](_0x1a2368=>{const _0x4c6c01=_0x131fc7;if((_0x1a2368==null?void 0x0:_0x1a2368[_0x4c6c01(0x2bf)])!==this[_0x4c6c01(0x2bf)])return;const _0x136e3e={'eventID':_0x3a14f4[_0x4c6c01(0x30f)],'data':_0x1a2368};this[_0x4c6c01(0x37b)](_0x136e3e);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x4c4ff9=>{const _0x4a6607=_0x131fc7;if(_0x4c4ff9['params']==null)return;const _0x7d3f78=_0x4c4ff9['params'];if(_0x4c4ff9['id']!==_0x3ef379['id']||_0x7d3f78[_0x4a6607(0x273)]!==this['unitID'])return;const _0x5b88ac={'id':_0x4a6607(0x495),'params':_0x7d3f78},_0x3911ee=this[_0x4a6607(0x13c)];for(const [_0x16181c,_0x3f466c]of _0x3911ee){const _0xad6d48={'id':_0x4a6607(0x495),'params':{'unitId':this[_0x4a6607(0x2bf)],'actions':null,'textRanges':_0x3f466c['ranges']}},_0x3ad238=this[_0x4a6607(0x128)][_0x4a6607(0x4b6)](_0x5b88ac,_0xad6d48,!0x1);if(_0x3e27e9(_0x3ad238))throw _0x3ad238[_0x4a6607(0x279)];_0x3911ee['set'](_0x16181c,{..._0x3f466c,'ranges':_0x3ad238[_0x4a6607(0x270)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4fd245=_0x4a6607;this[_0x4fd245(0x31a)][_0x4fd245(0x382)](_0x3911ee);});})));}['_onCursorUpdate'](_0x54a95d){const _0xa25c92=_0x2025fc;var _0x9da666,_0x4f1fe6;const {memberID:_0x36aa0c,selection:_0x2aa8ad}=_0x54a95d[_0xa25c92(0x2a0)],_0xabf8bb=Ro(_0x2aa8ad),_0x389f53=(_0x4f1fe6=(_0x9da666=this[_0xa25c92(0x31c)][_0xa25c92(0x419)](this[_0xa25c92(0x2bf)],_0x36aa0c))==null?void 0x0:_0x9da666[_0xa25c92(0x1c7)])!=null?_0x4f1fe6:'Unknown\x20user',_0x5791a6={'color':this[_0xa25c92(0xd4)][_0xa25c92(0x271)](_0x36aa0c),'name':_0x389f53,'ranges':_0xabf8bb},_0xd6133f=this['cursorInfo'];_0xd6133f[_0xa25c92(0x39c)](_0x36aa0c,_0x5791a6),this['_cursorInfo$']['next'](_0xd6133f);}[_0x2025fc(0x27f)](_0x25cb42){const _0x19ec88=_0x2025fc,{memberID:_0x5835af}=_0x25cb42[_0x19ec88(0x2a0)],_0x8f196e=this['cursorInfo'];_0x8f196e[_0x19ec88(0x165)](_0x5835af),this['_cursorInfo$'][_0x19ec88(0x382)](_0x8f196e);}['_toggleOnline'](){const _0x2af701=_0x2025fc;var _0x38c47a;if(this['_online']=!0x0,((_0x38c47a=this[_0x2af701(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x38c47a['getUnitId']())!==this[_0x2af701(0x2bf)])return;const _0x3a8405=this[_0x2af701(0x147)][_0x2af701(0x33e)](_0x49b6ea)[_0x2af701(0x391)]();Array[_0x2af701(0x287)](_0x3a8405)&&_0x3a8405[_0x2af701(0x161)]>0x0&&this['_updateLocalCursor'](_0x3a8405);}[_0x2025fc(0x37a)](){this['_online']=!0x1;}};us=Vo([we(0x2,_0x5847bf(_0x5d7671)),we(0x3,_0x5847bf(Ns)),we(0x4,_0x5847bf(Me)),we(0x5,_0x5847bf(Ds)),we(0x6,_0x2fbfa5),we(0x7,_0x425cee),we(0x8,_0x28287a)],us);var Ko=Object[_0x2025fc(0x385)],qo=Object[_0x2025fc(0x18c)],zo=(_0x296615,_0x15e862,_0xe14735,_0x379419)=>{const _0x1fd064=_0x2025fc;for(var _0x322ec3=_0x379419>0x1?void 0x0:_0x379419?qo(_0x15e862,_0xe14735):_0x15e862,_0x413e02=_0x296615[_0x1fd064(0x161)]-0x1,_0x2088b6;_0x413e02>=0x0;_0x413e02--)(_0x2088b6=_0x296615[_0x413e02])&&(_0x322ec3=(_0x379419?_0x2088b6(_0x15e862,_0xe14735,_0x322ec3):_0x2088b6(_0x322ec3))||_0x322ec3);return _0x379419&&_0x322ec3&&Ko(_0x15e862,_0xe14735,_0x322ec3),_0x322ec3;},Be=(_0x4a26fb,_0x1135ae)=>(_0x5012cc,_0x4c98c5)=>_0x1135ae(_0x5012cc,_0x4c98c5,_0x4a26fb);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x4a904f=[],_0x2382f1=!0x1;return _0x16c211=>{const _0x5526c0=_0x46d8;_0x4a904f[_0x5526c0(0x22f)](_0x16c211),_0x2382f1||(_0x2382f1=!0x0,setTimeout(()=>{_0x4a904f['forEach'](_0x2a2d1f=>_0x2a2d1f()),_0x4a904f=[],_0x2382f1=!0x1;}));};};let ds=class extends _0x5ec0cb{constructor(_0x58684b,_0x4a35da,_0x5b58f8,_0x6edf59,_0x5ef742,_0x2790c6,_0x22c41b,_0x177bca){const _0x38c610=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0x38c610(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0x38c610(0x25b),this[_0x38c610(0x31a)][_0x38c610(0xf7)]()),g(this,_0x38c610(0x3f8),new _0x1074c2([])),g(this,_0x38c610(0x20a),this['_roomMembers$'][_0x38c610(0x150)](_0x493feb(Xo))),g(this,'_updateLocalCursor',_0x26c09b((_0x47ae9a,_0x2a20e2)=>{const _0x53eab5=_0x38c610,_0x4179be={'eventID':_0x3a14f4[_0x53eab5(0x30f)],'data':{'unitID':this['unitID'],'memberID':this[_0x53eab5(0x318)][_0x53eab5(0x316)](),'selection':_0xf165cf(_0x47ae9a,_0x2a20e2[_0x53eab5(0x200)])}};this[_0x53eab5(0x318)][_0x53eab5(0xc9)](_0x4179be,this[_0x53eab5(0x2bf)]);},Jo)),(this['unitID']=_0x58684b,this[_0x38c610(0x318)]=_0x4a35da,this[_0x38c610(0x147)]=_0x5b58f8,this[_0x38c610(0xd4)]=_0x6edf59,this[_0x38c610(0x31c)]=_0x5ef742,this[_0x38c610(0x3cf)]=_0x2790c6,this[_0x38c610(0x481)]=_0x22c41b,this[_0x38c610(0x2b9)]=_0x177bca);}get[_0x2025fc(0x13c)](){const _0x46b4f8=_0x2025fc;return this[_0x46b4f8(0x31a)][_0x46b4f8(0x42a)]();}get[_0x2025fc(0x340)](){const _0x114be7=_0x2025fc;return this[_0x114be7(0x3f8)][_0x114be7(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x2128e4=_0x2025fc;super[_0x2128e4(0x1e5)](),this['_cursorInfo$'][_0x2128e4(0x382)](new Map()),this['_cursorInfo$'][_0x2128e4(0x3c5)](),this['_roomMembers$']['next']([]),this[_0x2128e4(0x3f8)][_0x2128e4(0x3c5)]();}['init'](){const _0x60ba36=_0x2025fc;this[_0x60ba36(0x100)]||(this[_0x60ba36(0x100)]=!0x0,this[_0x60ba36(0x318)][_0x60ba36(0x1ff)][_0x60ba36(0x150)](_0x7b6507(this['dispose$']))[_0x60ba36(0x140)](_0x2611a0=>{const _0xa805a=_0x60ba36;_0x2611a0===fe[_0xa805a(0xad)]?this[_0xa805a(0x1dd)]():this['_toggleOffline']();}),this[_0x60ba36(0x318)][_0x60ba36(0x142)][_0x60ba36(0x150)](_0x7b6507(this[_0x60ba36(0x345)]))['subscribe'](_0x4615e5=>{const _0x223c60=_0x60ba36,_0x589115=_0x4615e5[_0x223c60(0x28b)];_0x589115===_0x3a14f4[_0x223c60(0x30f)]&&this[_0x223c60(0x37b)](_0x4615e5),_0x589115===_0x3a14f4[_0x223c60(0x3dc)]&&this[_0x223c60(0x27f)](_0x4615e5);}),this[_0x60ba36(0x342)](),this['disposeWithMe'](this[_0x60ba36(0x481)][_0x60ba36(0x18a)](_0x34cab8=>{const _0x34ae91=_0x60ba36;if(this[_0x34ae91(0x34b)]&&_0x34cab8['id']===_0x3295dc['id']&&_0x34cab8['params'][_0x34ae91(0x273)]===this[_0x34ae91(0x2bf)]){const _0x62d5c6=_0x34cab8[_0x34ae91(0x3a0)];this['_updateLocalCursor'](_0x62d5c6[_0x34ae91(0x457)],_0x62d5c6[_0x34ae91(0x12e)][0x0]);}})));}['_onCursorUpdate'](_0x196831){const _0x2afaeb=_0x2025fc;var _0x246301,_0x1c970e;const {memberID:_0x287053,selection:_0x63b0f7}=_0x196831[_0x2afaeb(0x2a0)],{sheetName:_0x3a45da,range:_0x303439}=_0x129840(_0x63b0f7),_0x1cdbfc={'name':(_0x1c970e=(_0x246301=this[_0x2afaeb(0x31c)]['getMember'](this[_0x2afaeb(0x2bf)],_0x287053))==null?void 0x0:_0x246301[_0x2afaeb(0x1c7)])!=null?_0x1c970e:_0x2afaeb(0x293),'range':this[_0x2afaeb(0x1c2)](_0x3a45da,_0x303439),'sheetID':_0x3a45da,'color':this[_0x2afaeb(0xd4)][_0x2afaeb(0x271)](_0x287053),'selection':_0x63b0f7},_0x1d68c9=this['cursorInfo'];_0x1d68c9[_0x2afaeb(0x39c)](_0x287053,_0x1cdbfc),this[_0x2afaeb(0x31a)]['next'](_0x1d68c9);}['_onCursorDelete'](_0x37d34e){const _0x30e99a=_0x2025fc,{memberID:_0xf57cb7}=_0x37d34e[_0x30e99a(0x2a0)],_0x3ba346=this['cursorInfo'];_0x3ba346[_0x30e99a(0x165)](_0xf57cb7),this[_0x30e99a(0x31a)]['next'](_0x3ba346);}[_0x2025fc(0x1c2)](_0x141cd,_0x43109f){const _0x1ac796=_0x2025fc;var _0x33f2fa,_0x1a764f;const _0x54f558=(_0x1a764f=(_0x33f2fa=this[_0x1ac796(0x3cf)][_0x1ac796(0x26e)](this[_0x1ac796(0x2bf)]))==null?void 0x0:_0x33f2fa[_0x1ac796(0xe2)](_0x141cd))==null?void 0x0:_0x1a764f['getMergeData']();return(_0x54f558==null?void 0x0:_0x54f558['find'](_0x385a59=>_0x1a8bad['contains'](_0x385a59,_0x43109f)))||_0x43109f;}[_0x2025fc(0x342)](){const _0x499e62=_0x2025fc,_0x2de843=new _0x55a86c(),_0x89f88d=Zo(),_0x379315=()=>{const _0x9d27d1=_0x46d8;_0x2de843['dispose']();const _0x27622a=(_0x3a3da1,_0x52a7c3,_0x10f49e,_0x921713)=>{const _0x409897=_0x46d8;let _0x576b00=[];switch(_0x3a3da1['id']){case _0x1bada9['DeleteRangeMoveLeftCommandId']:{_0x576b00=_0x322dc1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x178)]:{_0x576b00=_0x27e6e3(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x2da)]:{_0x576b00=_0x3c8a96(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1f2)]:{_0x576b00=_0x21ee51(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRangeMoveRightCommandId']:{_0x576b00=_0x38f4c6(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRowCommandId']:{_0x576b00=_0x1fe1d1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1ed)]:{_0x576b00=_0x11ac4c(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveColCommandId']:{_0x576b00=_0x4cc33a(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveRowCommandId']:{_0x576b00=_0x5842ca(_0x3a3da1,_0x921713);break;}}const _0xd024b4=_0x5a1647(_0x576b00,_0x921713),_0x3da313=this[_0x409897(0x13c)][_0x409897(0x33e)](_0x52a7c3);if(_0x3da313&&_0xd024b4){const _0x29d2aa={..._0x3da313,'range':_0xd024b4};this[_0x409897(0x13c)][_0x409897(0x39c)](_0x52a7c3,_0x29d2aa),_0x89f88d(()=>{const _0x2bc186=_0x409897,_0x38d5f8=this[_0x2bc186(0x2b9)][_0x2bc186(0x43e)](_0xd024b4,_0x2d3b72=>(_0x38d5f8[_0x2bc186(0x1e5)](),_0x27622a(_0x2d3b72,_0x52a7c3,_0x10f49e,_0xd024b4)));_0x2de843[_0x2bc186(0x4b0)](_0x38d5f8);});}return{'redos':[],'undos':[]};};this[_0x9d27d1(0x13c)]['forEach']((_0x16caf9,_0xffd7ae)=>{const _0x43897c=_0x9d27d1,{range:_0x149ee8,sheetID:_0xaf952f}=_0x16caf9,_0x212197=this[_0x43897c(0x2b9)][_0x43897c(0x43e)](_0x149ee8,_0x2e4db3=>(_0x212197[_0x43897c(0x1e5)](),_0x27622a(_0x2e4db3,_0xffd7ae,_0xaf952f,_0x149ee8)));_0x2de843[_0x43897c(0x4b0)](_0x212197);});};this[_0x499e62(0x10c)](_0x7c72c3(this[_0x499e62(0x31a)][_0x499e62(0x140)](()=>{_0x379315();})));}[_0x2025fc(0x1dd)](){const _0x1ffc16=_0x2025fc;var _0x225ab4,_0x41ea9c;if(this[_0x1ffc16(0x34b)]=!0x0,((_0x225ab4=this[_0x1ffc16(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x225ab4[_0x1ffc16(0x10b)]())!==this[_0x1ffc16(0x2bf)])return;const _0x2642d9=(_0x41ea9c=this[_0x1ffc16(0x147)][_0x1ffc16(0x33e)](_0x2d0767)[_0x1ffc16(0xef)]())==null?void 0x0:_0x41ea9c[0x0],_0x5f5d3e=this[_0x1ffc16(0x3cf)]['getCurrentUnitForType'](_0xb166dc['UNIVER_SHEET'])[_0x1ffc16(0x406)]();_0x2642d9&&_0x5f5d3e&&this['_updateLocalCursor'](_0x5f5d3e[_0x1ffc16(0x369)](),_0x2642d9);}['_toggleOffline'](){const _0x31f61b=_0x2025fc;this[_0x31f61b(0x34b)]=!0x1;}};ds=zo([Be(0x2,_0x5847bf(_0x5d7671)),Be(0x3,_0x5847bf(Ns)),Be(0x4,_0x5847bf(Me)),Be(0x5,_0x425cee),Be(0x6,_0x28287a),Be(0x7,_0x5847bf(_0x4f6ae0))],ds);var Qo=Object[_0x2025fc(0x385)],ea=Object[_0x2025fc(0x18c)],ta=(_0x105a2d,_0xca0eb8,_0x41da9c,_0x187c8d)=>{for(var _0x3d9b64=_0x187c8d>0x1?void 0x0:_0x187c8d?ea(_0xca0eb8,_0x41da9c):_0xca0eb8,_0x1ecf7b=_0x105a2d['length']-0x1,_0x396fff;_0x1ecf7b>=0x0;_0x1ecf7b--)(_0x396fff=_0x105a2d[_0x1ecf7b])&&(_0x3d9b64=(_0x187c8d?_0x396fff(_0xca0eb8,_0x41da9c,_0x3d9b64):_0x396fff(_0x3d9b64))||_0x3d9b64);return _0x187c8d&&_0x3d9b64&&Qo(_0xca0eb8,_0x41da9c,_0x3d9b64),_0x3d9b64;},Xt=(_0x11b9b2,_0xff1a39)=>(_0x3f82e2,_0x294a93)=>_0xff1a39(_0x3f82e2,_0x294a93,_0x11b9b2);let Ve=class extends _0x5ec0cb{constructor(_0x1f41f0,_0x1457d3,_0x43a9b3){const _0x1d66b6=_0x2025fc;super(),g(this,_0x1d66b6(0x3da),new Map()),g(this,_0x1d66b6(0x44e),new _0x1c0b9c()),(this[_0x1d66b6(0x3cf)]=_0x1f41f0,this[_0x1d66b6(0x147)]=_0x1457d3,this[_0x1d66b6(0x29e)]=_0x43a9b3,this[_0x1d66b6(0x100)]());}[_0x2025fc(0x1e5)](){const _0x5ecbc0=_0x2025fc;super[_0x5ecbc0(0x1e5)](),this['_entityInit$'][_0x5ecbc0(0x3c5)](),this[_0x5ecbc0(0x3da)]['forEach'](_0x43e007=>_0x43e007[_0x5ecbc0(0x1e5)]());}['getCollabCursors$'](_0x46cbe5){const _0x389bc2=_0x2025fc;return this[_0x389bc2(0x3da)]['has'](_0x46cbe5)?this[_0x389bc2(0x3da)][_0x389bc2(0x33e)](_0x46cbe5)['cursorInfo$']:this[_0x389bc2(0x44e)][_0x389bc2(0x150)](_0x2eb5c7(_0x312f80=>_0x312f80[_0x389bc2(0x2bf)]===_0x46cbe5),_0x4e1242(_0x34c9c2=>_0x34c9c2[_0x389bc2(0x25b)]));}[_0x2025fc(0x100)](){const _0x31d578=_0x2025fc;this[_0x31d578(0x3cf)][_0x31d578(0x2c3)](_0xb166dc['UNIVER_SHEET'])[_0x31d578(0x150)](_0x7b6507(this[_0x31d578(0x345)]))[_0x31d578(0x140)](async _0x21bae0=>{const _0x514954=_0x31d578,_0x4d4e39=_0x21bae0[_0x514954(0x10b)](),_0xa91401=await this[_0x514954(0x465)](_0x4d4e39);this[_0x514954(0x44e)][_0x514954(0x382)](_0xa91401),this[_0x514954(0x3da)][_0x514954(0x39c)](_0x4d4e39,_0xa91401);}),this['_univerInstanceService'][_0x31d578(0x2c3)](_0xb166dc[_0x31d578(0x3ad)])['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['pipe'](_0x2eb5c7(_0x26021a=>!_0x26021a[_0x31d578(0x10b)]()[_0x31d578(0x33d)]('__')))[_0x31d578(0x140)](async _0x1ec6e2=>{const _0x2deafb=_0x31d578,_0x59807d=_0x1ec6e2[_0x2deafb(0x10b)](),_0x253815=await this[_0x2deafb(0x4a7)](_0x59807d);this[_0x2deafb(0x44e)][_0x2deafb(0x382)](_0x253815),this[_0x2deafb(0x3da)][_0x2deafb(0x39c)](_0x59807d,_0x253815);}),_0x38a986(this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x3ad)]),this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x4a6)]))['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['subscribe'](_0x46740f=>{const _0xbbb552=_0x31d578,_0x534324=_0x46740f['getUnitId'](),_0x658d53=this[_0xbbb552(0x3da)]['get'](_0x534324);_0x658d53&&(_0x658d53[_0xbbb552(0x1e5)](),this[_0xbbb552(0x3da)][_0xbbb552(0x165)](_0x534324));});}async['_startSheetCollabCursor'](_0xbbb4d8){const _0xdf10a3=_0x2025fc,_0x579e85=await this['_collabSessionService']['requireSession'](_0xbbb4d8),_0x4317ad=this[_0xdf10a3(0x147)][_0xdf10a3(0x12a)](ds,_0xbbb4d8,_0x579e85);return _0x4317ad[_0xdf10a3(0x289)](),_0x4317ad;}async[_0x2025fc(0x4a7)](_0x39d1ed){const _0x216753=_0x2025fc,_0x531bb4=await this[_0x216753(0x29e)]['requireSession'](_0x39d1ed),_0x26aad3=this[_0x216753(0x147)]['createInstance'](us,_0x39d1ed,_0x531bb4);return _0x26aad3[_0x216753(0x289)](),_0x26aad3;}};Ve=ta([Xt(0x0,_0x425cee),Xt(0x1,_0x5847bf(_0x5d7671)),Xt(0x2,_0x5847bf(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3cc447,_0x2b4db8){const _0x25e6dd=_0x2025fc;let {radius:_0x2bdb87,width:_0x391fcb,height:_0x2f5fe1}=_0x2b4db8;_0x2bdb87=_0x2bdb87!=null?_0x2bdb87:0x0,_0x391fcb=_0x391fcb!=null?_0x391fcb:0x1e,_0x2f5fe1=_0x2f5fe1!=null?_0x2f5fe1:0x1e;let _0x50b1df=0x0,_0x5af365=0x0,_0x359c31=0x0;_0x50b1df=_0x5af365=_0x359c31=Math['min'](_0x2bdb87,_0x391fcb/0x2,_0x2f5fe1/0x2),_0x3cc447[_0x25e6dd(0x389)](),_0x3cc447[_0x25e6dd(0x36d)](_0x50b1df,0x0),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb-_0x5af365,0x0),_0x3cc447[_0x25e6dd(0x4b8)](_0x391fcb-_0x5af365,_0x5af365,_0x5af365,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb,_0x2f5fe1-_0x359c31),_0x3cc447['arc'](_0x391fcb-_0x359c31,_0x2f5fe1-_0x359c31,_0x359c31,0x0,Math['PI']/0x2,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x2f5fe1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x50b1df),_0x3cc447[_0x25e6dd(0x4b8)](_0x50b1df,_0x50b1df,_0x50b1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc447['closePath'](),_0x2b4db8[_0x25e6dd(0x46e)]&&(_0x3cc447[_0x25e6dd(0x14f)](),_0x3cc447[_0x25e6dd(0x477)]=_0x2b4db8['fill'],_0x2b4db8[_0x25e6dd(0x336)]===_0x25e6dd(0x28a)?_0x3cc447[_0x25e6dd(0x46e)](_0x25e6dd(0x28a)):_0x3cc447['fill'](),_0x3cc447[_0x25e6dd(0x309)]());}class Bt extends _0x280f32{constructor(_0x15fa38,_0x3b5001){const _0x39df93=_0x2025fc;super(_0x15fa38,_0x3b5001),g(this,'color'),g(this,'text'),(this[_0x39df93(0x26b)]=_0x3b5001==null?void 0x0:_0x3b5001[_0x39df93(0x26b)],this[_0x39df93(0x438)]=_0x3b5001==null?void 0x0:_0x3b5001['text']);}static[_0x2025fc(0xac)](_0x392dc5,_0x5d13b2){const _0x3bfcb5=_0x2025fc,{text:_0x15466a,color:_0x451e18}=_0x5d13b2;_0x392dc5[_0x3bfcb5(0x14f)](),_0x392dc5['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x143447=_0x392dc5[_0x3bfcb5(0x482)](_0x15466a)['width'],_0x20aedc=Math[_0x3bfcb5(0x1af)](_0x143447+0x2*Jt,ii);ia(_0x392dc5,{'height':nt,'radius':0x4,'width':_0x20aedc,'fill':_0x451e18,'evented':!0x1}),_0x392dc5['fillStyle']=_0x3bfcb5(0x321);const _0x30d758=Jt,_0x1f4293=nt-sa,_0x467773=ii-0x2*Jt;if(_0x143447>_0x467773){let _0x430c52='',_0x11465b=0x0;for(const _0x85587c of _0x15466a){const _0x1b522b=_0x392dc5['measureText'](_0x85587c)[_0x3bfcb5(0x478)];if(_0x11465b+_0x1b522b<=_0x467773-_0x392dc5[_0x3bfcb5(0x482)]('...')[_0x3bfcb5(0x478)])_0x430c52+=_0x85587c,_0x11465b+=_0x1b522b;else{_0x430c52+=_0x3bfcb5(0x1df);break;}}_0x392dc5['fillText'](_0x430c52,_0x30d758,_0x1f4293);}else _0x392dc5['fillText'](_0x15466a,_0x30d758,_0x1f4293);_0x392dc5[_0x3bfcb5(0x309)]();}[_0x2025fc(0x368)](_0x4a3a38){const _0x36cb23=_0x2025fc;Bt[_0x36cb23(0xac)](_0x4a3a38,this);}}const Zt=_0x2025fc(0x39b),ra=_0x2025fc(0x42b),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x4f248c,_0x4073ba,_0x308545,_0x409e99){const _0x23de23=_0x2025fc;g(this,'_shapes',[]),g(this,_0x23de23(0x2b5),null),g(this,_0x23de23(0x2fe),null),g(this,_0x23de23(0x1ad),null),g(this,'_hideTimer',null),g(this,_0x23de23(0x3a6),null),(this[_0x23de23(0x1fb)]=_0x4f248c,this[_0x23de23(0x2a7)]=_0x4073ba,this['_docSkeleton']=_0x308545,this[_0x23de23(0x296)]=_0x409e99,this[_0x23de23(0x3cd)]());}set[_0x2025fc(0x3c7)](_0x11fd0f){const _0x1dbbdf=_0x2025fc;_0x11fd0f?(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)]['hide'](),this['_textBubble']&&this[_0x1dbbdf(0x2fe)][_0x1dbbdf(0x3c2)]()):(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)][_0x1dbbdf(0x3c2)](),this['_textBubble']&&this['_textBubble'][_0x1dbbdf(0x467)]());}['dispose'](){const _0x5ea684=_0x2025fc;for(const _0x27e343 of this[_0x5ea684(0x18d)])_0x27e343[_0x5ea684(0x1e5)]();this['_textBubble']&&this[_0x5ea684(0x2fe)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x1ad)]&&this[_0x5ea684(0x1ad)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x2b5)]&&this[_0x5ea684(0x2b5)]['dispose'](),this[_0x5ea684(0x3a6)]&&this[_0x5ea684(0x3a6)]();}[_0x2025fc(0x3cd)](){const _0x23655c=_0x2025fc;var _0x21229e;const {_docSkeleton:_0x2614cd,_document:_0x54c521}=this,{color:_0x1fa2e2,name:_0x593ed6,ranges:_0x17bd32}=this[_0x23655c(0x1fb)],_0x5124f2=_0x54c521[_0x23655c(0x326)](),{docsLeft:_0x41cfe2,docsTop:_0x17526e}=_0x5124f2,_0x12e3bb=new _0x44a430(_0x5124f2,_0x2614cd);for(const {startOffset:_0x40858a,endOffset:_0x5e7909,rangeType:_0x4555f7,segmentId:_0x21cd38,segmentPage:_0x4159bb,collapsed:_0x4e5c82,isActive:_0x2a2150}of _0x17bd32){const _0x495b6f=_0x2614cd[_0x23655c(0x159)](_0x40858a,!0x0,_0x21cd38,_0x4159bb);let _0x3d736f=_0x2614cd[_0x23655c(0x159)](_0x5e7909,!0x0,_0x21cd38,_0x4159bb);if(_0x3d736f==null&&(_0x3d736f=_0x2614cd['findNodePositionByCharIndex'](_0x5e7909-0x1,!0x1,_0x21cd38,_0x4159bb)),_0x2a2150){const {contentBoxPointGroup:_0x4befee}=_0x12e3bb['getRangePointData'](_0x3d736f,_0x3d736f);if(_0x4befee[_0x23655c(0x161)]===0x0)continue;this[_0x23655c(0x367)](_0x1fa2e2,_0x4befee,_0x41cfe2,_0x17526e,_0x593ed6),this[_0x23655c(0x3a6)]=this[_0x23655c(0x19f)]();}if(_0x495b6f&&_0x3d736f){if(_0x4555f7===_0x2bd610[_0x23655c(0x246)]){const _0x243703=new _0x4512fd(_0x5124f2,_0x2614cd),{pointGroup:_0xb86604}=(_0x21229e=_0x243703[_0x23655c(0x34e)](_0x495b6f,_0x3d736f))!=null?_0x21229e:{};if(_0xb86604==null||_0xb86604[_0x23655c(0x161)]===0x0)continue;this['_drawRectRange'](_0x1fa2e2,_0xb86604,_0x41cfe2,_0x17526e);}else{if(!_0x4e5c82){const {borderBoxPointGroup:_0x18978d}=_0x12e3bb[_0x23655c(0x34e)](_0x495b6f,_0x3d736f);if(_0x18978d['length']===0x0)continue;this[_0x23655c(0x1ba)](_0x1fa2e2,_0x18978d,_0x41cfe2,_0x17526e);}}}}}[_0x2025fc(0x367)](_0x1c704a,_0xb6e98a,_0x34cfb0,_0x413c8b,_0x39de35){const _0x493b14=_0x2025fc,_0x45555c=this['_getAnchorBounding'](_0xb6e98a),{left:_0x4b7b04,top:_0x101cc5,height:_0x3d9d15}=_0x45555c,_0x3e8e80=this[_0x493b14(0x157)](),_0x2bb308=aa/_0x3e8e80,_0x230fdc=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b,'height':_0x3d9d15,'width':oa,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':_0x2bb308,'stroke':ca,'evented':!0x0});this[_0x493b14(0x2b5)]=_0x230fdc,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x230fdc,_0x505883);const _0x4cb602=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':0x0,'stroke':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'evented':!0x1});this[_0x493b14(0x1ad)]=_0x4cb602,this['_scene'][_0x493b14(0x21a)](_0x4cb602,_0x505883);const _0x5514a4=new Bt(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-nt,'text':_0x39de35,'color':_0x1c704a});this['_textBubble']=_0x5514a4,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x5514a4,_0x505883),this[_0x493b14(0x3c7)]=!0x1;}[_0x2025fc(0x19f)](){const _0x426402=_0x2025fc,_0x441501=this[_0x426402(0x2b5)][_0x426402(0x2bd)][_0x426402(0x113)](()=>{this['_hover']=!0x0;}),_0x254fba=this['_anchor']['onPointerLeave$'][_0x426402(0x113)](()=>{const _0x45dfad=_0x426402;this[_0x45dfad(0x300)]&&clearTimeout(this[_0x45dfad(0x300)]),this['_hideTimer']=setTimeout(()=>{const _0x20410d=_0x45dfad;this[_0x20410d(0x3c7)]=!0x1;},0x7d0);});return()=>{const _0x41d54e=_0x426402;_0x441501[_0x41d54e(0x2dd)](),_0x254fba['unsubscribe']();};}[_0x2025fc(0x1ba)](_0x4ef440,_0x599f70,_0x460cc2,_0x4229be){const _0x4c87d4=_0x2025fc,_0x41f7c8=new _0x13add7(_0x4ef440)[_0x4c87d4(0xe0)](0.2)[_0x4c87d4(0x455)](),_0x4ed1b5=new _0x2d60c8(ra+_0x529634[_0x4c87d4(0x210)](Je),{'pointsGroup':_0x599f70,'fill':_0x41f7c8||_0x44a483(_0x37cb7b['black'],0.2),'left':_0x460cc2,'top':_0x4229be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c87d4(0x22f)](_0x4ed1b5),this[_0x4c87d4(0x2a7)][_0x4c87d4(0x21a)](_0x4ed1b5,_0x505883);}['_drawRectRange'](_0x5aaa5c,_0x494929,_0x4380b3,_0x11a1a3){const _0x4209d4=_0x2025fc,_0x26782a=new _0x13add7(_0x5aaa5c)[_0x4209d4(0xe0)](0.2)['toRgbString'](),_0x2e748c=new _0x2d60c8(na+_0x529634[_0x4209d4(0x210)](Je),{'pointsGroup':_0x494929,'fill':_0x26782a||_0x44a483(_0x37cb7b[_0x4209d4(0x262)],0.2),'left':_0x4380b3,'top':_0x11a1a3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4209d4(0x22f)](_0x2e748c),this[_0x4209d4(0x2a7)][_0x4209d4(0x21a)](_0x2e748c,_0x505883);}[_0x2025fc(0x3e4)](_0x10a07f){const _0x5c41d0=_0x10a07f[0x0],_0x44a1d3=_0x5c41d0[0x0],_0x1a9501=_0x5c41d0[0x2],{x:_0x9dd65,y:_0x3b6a22}=_0x44a1d3,{x:_0x44be18,y:_0x5e9457}=_0x1a9501;return{'left':_0x9dd65,'top':_0x3b6a22,'width':_0x44be18-_0x9dd65,'height':_0x5e9457-_0x3b6a22};}[_0x2025fc(0x157)](){const _0x545517=_0x2025fc,{scaleX:_0x572d66,scaleY:_0x4f6c1b}=this['_scene']['getAncestorScale']();return Math[_0x545517(0x3f2)](_0x572d66,_0x4f6c1b);}}var ha=Object[_0x2025fc(0x385)],la=Object[_0x2025fc(0x18c)],_a=(_0x191039,_0x2b7032,_0xd5df74,_0x1fe8d2)=>{const _0x1cd4fa=_0x2025fc;for(var _0x3afa98=_0x1fe8d2>0x1?void 0x0:_0x1fe8d2?la(_0x2b7032,_0xd5df74):_0x2b7032,_0x1733fe=_0x191039[_0x1cd4fa(0x161)]-0x1,_0x43335d;_0x1733fe>=0x0;_0x1733fe--)(_0x43335d=_0x191039[_0x1733fe])&&(_0x3afa98=(_0x1fe8d2?_0x43335d(_0x2b7032,_0xd5df74,_0x3afa98):_0x43335d(_0x3afa98))||_0x3afa98);return _0x1fe8d2&&_0x3afa98&&ha(_0x2b7032,_0xd5df74,_0x3afa98),_0x3afa98;},ht=(_0x19b861,_0x5e567e)=>(_0x5e68f0,_0x1eb527)=>_0x5e567e(_0x5e68f0,_0x1eb527,_0x19b861);let fs=class extends _0x5ec0cb{constructor(_0x1b685a,_0xd0310b,_0x2879f8,_0x12002e,_0x49a43d){const _0x409f55=_0x2025fc;super(),g(this,'_cursorShapes',[]),g(this,_0x409f55(0x449),[]),(this[_0x409f55(0x294)]=_0x1b685a,this[_0x409f55(0x343)]=_0xd0310b,this['_collabCursorController']=_0x2879f8,this[_0x409f55(0x481)]=_0x12002e,this['_themeService']=_0x49a43d,this[_0x409f55(0x100)]());}[_0x2025fc(0x100)](){const _0x429e5f=_0x2025fc,_0x41d87e=this[_0x429e5f(0x294)][_0x429e5f(0x273)],_0x1970de=this[_0x429e5f(0x343)];this[_0x429e5f(0x10c)](_0x238a3a([this[_0x429e5f(0xab)][_0x429e5f(0x327)](_0x41d87e),this[_0x429e5f(0x1c8)][_0x429e5f(0x3e9)]])['pipe'](_0xb11c2f(([_0x4bd832,_0x4a418b])=>({'skeleton':_0x1970de[_0x429e5f(0x240)](),'cursors':[..._0x4bd832[_0x429e5f(0x3ed)]()][_0x429e5f(0x3b3)](_0x394dc6=>({..._0x394dc6,'color':_0x4a418b[_0x394dc6[_0x429e5f(0x26b)]]}))})))[_0x429e5f(0x140)](_0xbe7958=>{const _0x5c5689=_0x429e5f;if(this[_0x5c5689(0x1da)](),_0xbe7958){const {skeleton:_0x2ed3f1,cursors:_0x168cc9}=_0xbe7958;this[_0x5c5689(0x3fb)](_0x2ed3f1,_0x168cc9);}})),this['_initResize'](),this[_0x429e5f(0x498)]();}['_updateCollabCursors'](_0x5661fb,_0x2c4a1f){const _0x40c74e=_0x2025fc,{scene:_0x33b72f,mainComponent:_0x1e52f7}=this['_context'],_0x116dfc=_0x2c4a1f['map'](_0x3221d3=>new ri(_0x3221d3,_0x33b72f,_0x5661fb,_0x1e52f7));this[_0x40c74e(0x1d2)]=_0x116dfc,this[_0x40c74e(0x449)]=_0x2c4a1f;}[_0x2025fc(0x130)](){const _0x2e4043=_0x2025fc;this[_0x2e4043(0x1da)]();const {scene:_0x13951b,mainComponent:_0x4386c6}=this[_0x2e4043(0x294)],_0x3e5319=this['_docSkeletonManagerService'][_0x2e4043(0x240)](),_0x3f87de=this[_0x2e4043(0x449)][_0x2e4043(0x23a)](_0xdf5ba=>new ri(_0xdf5ba,_0x13951b,_0x3e5319,_0x4386c6));this['_cursorShapes']=_0x3f87de;}[_0x2025fc(0x1da)](){const _0x3cc48f=_0x2025fc;this[_0x3cc48f(0x1d2)][_0x3cc48f(0x2e1)](_0x3eade5=>_0x3eade5[_0x3cc48f(0x1e5)]()),this[_0x3cc48f(0x1d2)]=[];}[_0x2025fc(0x498)](){const _0x1c7244=_0x2025fc,_0x27f111=[_0x3c0f91['id']];this[_0x1c7244(0x10c)](this['_commandService'][_0x1c7244(0x18a)](_0x18407c=>{const _0x74fd2c=_0x1c7244;_0x27f111[_0x74fd2c(0xd3)](_0x18407c['id'])&&_0x18407c[_0x74fd2c(0x3a0)][_0x74fd2c(0x273)]===this['_context']['unitId']&&this[_0x74fd2c(0x130)]();}));}[_0x2025fc(0x14a)](){const _0x2cc7fa=_0x2025fc;this[_0x2cc7fa(0x10c)](_0x2095a5(this[_0x2cc7fa(0x294)][_0x2cc7fa(0x2d1)][_0x2cc7fa(0x222)])[_0x2cc7fa(0x150)](_0xa0d892(_0x46acb4=>_0x46acb4[_0x2cc7fa(0x442)]===_0x3f5711[_0x2cc7fa(0x464)]),_0x300e66(0x10))[_0x2cc7fa(0x140)](()=>{const _0x180e1a=_0x2cc7fa;this[_0x180e1a(0x130)]();}));}};fs=_a([ht(0x1,_0x5847bf(_0x4e067d)),ht(0x2,_0x5847bf(Ve)),ht(0x3,_0x28287a),ht(0x4,_0x5847bf(_0x14c134))],fs);const ua=0x1,da=1.5;class fa extends _0x280f32{constructor(_0x11855d,_0x19a383){const _0x2865e3=_0x2025fc;super(_0x11855d,_0x19a383),g(this,_0x2865e3(0x426)),g(this,_0x2865e3(0x26c),!0x1),g(this,'_range'),g(this,'_name',''),g(this,_0x2865e3(0x499),'top'),g(this,_0x2865e3(0x490)),(_0x19a383&&this[_0x2865e3(0x2b1)](_0x19a383),this[_0x2865e3(0x2bd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2865e3(0x121)][_0x2865e3(0x113)](()=>this[_0x2865e3(0x2b1)]({'hovered':!0x1})));}[_0x2025fc(0x2b1)](_0x2cc4d8){const _0x215cdf=_0x2025fc;var _0x43b883,_0x484081,_0x3a973c,_0xbd5cd0,_0x2d7850,_0x1bdd8c;this[_0x215cdf(0x426)]=(_0x43b883=_0x2cc4d8[_0x215cdf(0x26b)])!=null?_0x43b883:this[_0x215cdf(0x426)],this[_0x215cdf(0x26c)]=(_0x484081=_0x2cc4d8[_0x215cdf(0x237)])!=null?_0x484081:this[_0x215cdf(0x26c)],this['_range']=(_0x3a973c=_0x2cc4d8[_0x215cdf(0x200)])!=null?_0x3a973c:this[_0x215cdf(0xd1)],this['_name']=(_0xbd5cd0=_0x2cc4d8[_0x215cdf(0x1c7)])!=null?_0xbd5cd0:this[_0x215cdf(0x386)],this['_labelPosition']=(_0x2d7850=_0x2cc4d8[_0x215cdf(0x2f8)])!=null?_0x2d7850:this['_labelPosition'],this[_0x215cdf(0x490)]=(_0x1bdd8c=_0x2cc4d8['backgroundColor'])!=null?_0x1bdd8c:this[_0x215cdf(0x490)],this[_0x215cdf(0xed)]({'width':_0x2cc4d8[_0x215cdf(0x478)],'height':_0x2cc4d8[_0x215cdf(0x3b4)]});}[_0x2025fc(0x47b)](_0x49ab97){const _0x52cb59=_0x2025fc,{row:_0x333170,column:_0x579a2b}=_0x49ab97;if(_0x333170>=this[_0x52cb59(0xd1)][_0x52cb59(0x23d)]&&_0x333170<=this[_0x52cb59(0xd1)][_0x52cb59(0x402)]&&_0x579a2b>=this[_0x52cb59(0xd1)]['startColumn']&&_0x579a2b<=this[_0x52cb59(0xd1)][_0x52cb59(0x483)]){this[_0x52cb59(0x2b1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xc8ac10){return!0x1;}[_0x2025fc(0x368)](_0x1e6c6b){const _0x8db5d7=_0x2025fc;_0x10cdd3['drawWith'](_0x1e6c6b,{'width':this[_0x8db5d7(0x478)],'height':this[_0x8db5d7(0x3b4)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x8db5d7(0x490)]}),this[_0x8db5d7(0x26c)]&&(_0x1e6c6b[_0x8db5d7(0x14f)](),_0x1e6c6b[_0x8db5d7(0x441)](0x1,0x0,0x0,0x1,this[_0x8db5d7(0x478)],this[_0x8db5d7(0x499)]===_0x8db5d7(0x48a)?0x0:-nt),Bt[_0x8db5d7(0xac)](_0x1e6c6b,{'text':this[_0x8db5d7(0x386)],'color':this['_color']}),_0x1e6c6b[_0x8db5d7(0x309)]());}}var va=Object[_0x2025fc(0x385)],pa=Object[_0x2025fc(0x18c)],ma=(_0x17380b,_0x42ade6,_0x2e1296,_0x104633)=>{const _0x937611=_0x2025fc;for(var _0x285501=_0x104633>0x1?void 0x0:_0x104633?pa(_0x42ade6,_0x2e1296):_0x42ade6,_0x33c0c7=_0x17380b[_0x937611(0x161)]-0x1,_0x1808c1;_0x33c0c7>=0x0;_0x33c0c7--)(_0x1808c1=_0x17380b[_0x33c0c7])&&(_0x285501=(_0x104633?_0x1808c1(_0x42ade6,_0x2e1296,_0x285501):_0x1808c1(_0x285501))||_0x285501);return _0x104633&&_0x285501&&va(_0x42ade6,_0x2e1296,_0x285501),_0x285501;},es=(_0x55d5da,_0x2cf7ac)=>(_0x4a5cfe,_0x4f6a7b)=>_0x2cf7ac(_0x4a5cfe,_0x4f6a7b,_0x55d5da);const ga=0x1389;let vs=class extends _0x5ec0cb{constructor(_0x3e7ba9,_0x281192,_0x451f11,_0x13d35a){const _0x503ae4=_0x2025fc;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x503ae4(0x294)]=_0x3e7ba9,this[_0x503ae4(0x14d)]=_0x281192,this['_collabCursorController']=_0x451f11,this[_0x503ae4(0x1c8)]=_0x13d35a,this[_0x503ae4(0x100)]());}[_0x2025fc(0x100)](){const _0x27eeab=_0x2025fc;this[_0x27eeab(0x14d)]['currentSkeleton$'][_0x27eeab(0x150)](_0xc7ed86(this[_0x27eeab(0x345)]),_0x51df4e(_0x5b03c4=>{const _0x271013=_0x27eeab;if(_0x5b03c4){const _0x4b48a9=_0x5b03c4[_0x271013(0x12c)];return _0x238a3a(this[_0x271013(0xab)][_0x271013(0x327)](this['_context'][_0x271013(0x273)]),this['_themeService'][_0x271013(0x3e9)])['pipe'](_0xb11c2f(([_0x3913ed,_0x33a1d1])=>{const _0x243915=_0x271013,_0x733044=new Map();return _0x3913ed[_0x243915(0x2e1)]((_0xf8165f,_0x487239)=>{const _0x2d1382=_0x243915;if(_0xf8165f[_0x2d1382(0x4aa)]===_0x4b48a9){const _0x195d5a={..._0xf8165f};_0x195d5a['color']=_0x33a1d1[_0xf8165f[_0x2d1382(0x26b)]],_0x733044[_0x2d1382(0x39c)](_0x487239,_0x195d5a);}}),{'skeleton':_0x5b03c4,'cursors':_0x733044};}));}return _0x43d0da({'skeleton':null,'cursors':new Map()});}))[_0x27eeab(0x140)](({skeleton:_0x4dd941,cursors:_0x4d3c2c})=>{const _0x331b3b=_0x27eeab;this[_0x331b3b(0x1da)](),_0x4dd941&&this['_updateCollabCursors'](_0x4dd941,_0x4d3c2c);}),this[_0x27eeab(0x14d)][_0x27eeab(0x3fa)]['subscribe'](_0x55bc18=>{const _0xc9f64f=_0x27eeab;if(_0x55bc18==null)return;const {skeleton:_0x5226fc}=_0x55bc18,{scene:_0x5778e0}=this[_0xc9f64f(0x294)];_0x5778e0[_0xc9f64f(0x20d)][_0xc9f64f(0x113)](_0x26c09b(_0x4f6038=>{const _0xb32ee5=_0xc9f64f;var _0x871e8b,_0x1cc21e;const {offsetX:_0x11ceef,offsetY:_0x30ac69}=_0x4f6038,{x:_0x43a276,y:_0x47e2f}=_0x5778e0['getRelativeToViewportCoord'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x11ceef,_0x30ac69])),{scaleX:_0x5610a5,scaleY:_0x84066b}=_0x5778e0[_0xb32ee5(0x277)](),_0x528f7a=_0x5778e0[_0xb32ee5(0x20b)](_0x5a71d0['VIEW_MAIN']),_0x695cb5=_0x5778e0['getVpScrollXYInfoByPosToVp'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x43a276,_0x47e2f]),_0x528f7a),_0x49e1dc=_0x5226fc[_0xb32ee5(0x169)](_0x11ceef,_0x30ac69,_0x5610a5,_0x84066b,_0x695cb5);((_0x871e8b=this[_0xb32ee5(0x195)])==null?void 0x0:_0x871e8b[_0xb32ee5(0x1d6)])===_0x49e1dc[_0xb32ee5(0x1d6)]&&((_0x1cc21e=this['_lastPointer'])==null?void 0x0:_0x1cc21e[_0xb32ee5(0x18f)])===_0x49e1dc[_0xb32ee5(0x18f)]||this[_0xb32ee5(0x449)][_0xb32ee5(0x2e1)](_0x9adca4=>{_0x9adca4['onMouseMove'](_0x49e1dc);});},0x64));});}[_0x2025fc(0x3fb)](_0x584d23,_0x5c02c8){const _0x52ece7=_0x2025fc;var _0x4299a5;const _0x3ecce2=(_0x4299a5=this['_sheetSkeletonManagerService'][_0x52ece7(0x2f5)]())==null?void 0x0:_0x4299a5[_0x52ece7(0x440)];if(!_0x3ecce2)return;const _0x48b17b=this[_0x52ece7(0x454)]();if(!_0x48b17b)return;this[_0x52ece7(0x449)][_0x52ece7(0x2e1)](_0x2abf16=>{const _0x5ec7d1=_0x52ece7;_0x2abf16[_0x5ec7d1(0x203)]();});const {scene:_0x200e3e}=_0x48b17b,_0x2cdbd8=Sa(Array['from'](_0x5c02c8[_0x52ece7(0x3ed)]()))[_0x52ece7(0x23a)](_0x4b3afc=>{const _0x29fa09=_0x52ece7,{color:_0x56c877,range:_0x33cd8f,name:_0x4de9d5,selection:_0x3a3dac,sheetID:_0x386905}=_0x4b3afc,{startColumn:_0x2088ef,startRow:_0x3058c8,endColumn:_0x2e50d6,endRow:_0x1aed29}=_0x33cd8f,_0x5ecfae=_0x473bbb(_0x3058c8,_0x2088ef,_0x200e3e,_0x3ecce2),_0x3b83f6=_0x473bbb(_0x1aed29,_0x2e50d6,_0x200e3e,_0x3ecce2),{columnHeaderHeightAndMarginTop:_0x404c9f}=_0x3ecce2,{startX:_0x261f2f,startY:_0x20529f}=_0x5ecfae,{endX:_0x20cf14,endY:_0x96bebc}=_0x3b83f6,_0x43a374=_0x20cf14-_0x261f2f,_0x5e4653=_0x96bebc-_0x20529f,_0x199e16={'labelPosition':_0x20529f-_0x404c9f>=nt?_0x29fa09(0x37f):_0x29fa09(0x48a),'sheetID':_0x386905,'range':_0x33cd8f,'color':_0x56c877,'name':_0x4de9d5,'selection':_0x3a3dac,'left':_0x261f2f,'top':_0x20529f,'width':_0x43a374,'height':_0x5e4653,'evented':!0x1,'zIndex':ga};return new fa(_0x4de9d5,_0x199e16);});_0x200e3e[_0x52ece7(0x372)](_0x2cdbd8,ua),this['_cursors']=new Set(_0x2cdbd8);}['_removeCollabCursors'](){const _0x4d896f=_0x2025fc;var _0x56ac80;(_0x56ac80=this[_0x4d896f(0x449)])==null||_0x56ac80['forEach'](_0x5522cf=>_0x5522cf['dispose']());}[_0x2025fc(0x454)](){const _0x4e065a=_0x2025fc;return _0x10d32f(this[_0x4e065a(0x294)][_0x4e065a(0x2bb)],this[_0x4e065a(0x294)]);}};vs=ma([es(0x1,_0x5847bf(_0x46c626)),es(0x2,_0x5847bf(Ve)),es(0x3,_0x5847bf(_0x14c134))],vs);function Sa(_0x172ff7){const _0x98b58c=_0x2025fc,_0x126495=new Map();return _0x172ff7[_0x98b58c(0x2e1)](_0xba9fe1=>{const _0x26854d=_0x98b58c;if(_0x126495[_0x26854d(0x24c)](_0xba9fe1[_0x26854d(0x43b)])){const _0x366733=_0x126495[_0x26854d(0x33e)](_0xba9fe1[_0x26854d(0x43b)]);_0x366733[_0x26854d(0x1c7)]+=',\x20'+_0xba9fe1[_0x26854d(0x1c7)];}else _0x126495[_0x26854d(0x39c)](_0xba9fe1['selection'],_0xba9fe1);}),Array[_0x98b58c(0x11c)](_0x126495['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x3340ed){const _0x5904cd=_0x2025fc;return _0x3340ed&&_0x3340ed[_0x5904cd(0x229)]&&Object[_0x5904cd(0x33f)]['hasOwnProperty'][_0x5904cd(0x494)](_0x3340ed,_0x5904cd(0x3c8))?_0x3340ed['default']:_0x3340ed;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x4be54b=_0x2025fc;if(ni)return Ze;ni=0x1;var _0x23d010=_0x3f0cf0,_0x32b869=Symbol[_0x4be54b(0x146)](_0x4be54b(0x39d)),_0xae1650=Symbol[_0x4be54b(0x146)](_0x4be54b(0x36c)),_0x5f3768=Object[_0x4be54b(0x33f)][_0x4be54b(0x413)],_0x16c004=_0x23d010[_0x4be54b(0x13b)]['ReactCurrentOwner'],_0x353bcc={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x115fda(_0x28b8d0,_0x3f5bbd,_0xdb1dfc){const _0x31043e=_0x4be54b;var _0x292d5e,_0x12742f={},_0x3e7e02=null,_0x2a76f8=null;_0xdb1dfc!==void 0x0&&(_0x3e7e02=''+_0xdb1dfc),_0x3f5bbd[_0x31043e(0x45c)]!==void 0x0&&(_0x3e7e02=''+_0x3f5bbd[_0x31043e(0x45c)]),_0x3f5bbd['ref']!==void 0x0&&(_0x2a76f8=_0x3f5bbd['ref']);for(_0x292d5e in _0x3f5bbd)_0x5f3768['call'](_0x3f5bbd,_0x292d5e)&&!_0x353bcc['hasOwnProperty'](_0x292d5e)&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);if(_0x28b8d0&&_0x28b8d0['defaultProps']){for(_0x292d5e in(_0x3f5bbd=_0x28b8d0[_0x31043e(0x485)],_0x3f5bbd))_0x12742f[_0x292d5e]===void 0x0&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);}return{'$$typeof':_0x32b869,'type':_0x28b8d0,'key':_0x3e7e02,'ref':_0x2a76f8,'props':_0x12742f,'_owner':_0x16c004[_0x31043e(0x122)]};}return Ze[_0x4be54b(0xbb)]=_0xae1650,Ze[_0x4be54b(0x4b9)]=_0x115fda,Ze[_0x4be54b(0x110)]=_0x115fda,Ze;}var oi;function Ca(){const _0xe5f7ae=_0x2025fc;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0xe5f7ae(0x317)];}var De=Ca(),te=function(){const _0x16f379=_0x2025fc;return te=Object['assign']||function(_0x5dee62){const _0x1167ee=_0x46d8;for(var _0x3ed36f,_0x10f76f=0x1,_0x26ae3c=arguments[_0x1167ee(0x161)];_0x10f76f<_0x26ae3c;_0x10f76f++){_0x3ed36f=arguments[_0x10f76f];for(var _0x1c1189 in _0x3ed36f)Object[_0x1167ee(0x33f)][_0x1167ee(0x413)][_0x1167ee(0x494)](_0x3ed36f,_0x1c1189)&&(_0x5dee62[_0x1c1189]=_0x3ed36f[_0x1c1189]);}return _0x5dee62;},te[_0x16f379(0x38b)](this,arguments);},Ea=function(_0x29979d,_0xf5431c){const _0x56210b=_0x2025fc;var _0x430ffa={};for(var _0x273633 in _0x29979d)Object['prototype'][_0x56210b(0x413)][_0x56210b(0x494)](_0x29979d,_0x273633)&&_0xf5431c[_0x56210b(0x1a5)](_0x273633)<0x0&&(_0x430ffa[_0x273633]=_0x29979d[_0x273633]);if(_0x29979d!=null&&typeof Object[_0x56210b(0x35d)]==_0x56210b(0x2d6)){for(var _0x1bb0c9=0x0,_0x273633=Object[_0x56210b(0x35d)](_0x29979d);_0x1bb0c9<_0x273633[_0x56210b(0x161)];_0x1bb0c9++)_0xf5431c[_0x56210b(0x1a5)](_0x273633[_0x1bb0c9])<0x0&&Object[_0x56210b(0x33f)][_0x56210b(0x227)][_0x56210b(0x494)](_0x29979d,_0x273633[_0x1bb0c9])&&(_0x430ffa[_0x273633[_0x1bb0c9]]=_0x29979d[_0x273633[_0x1bb0c9]]);}return _0x430ffa;},Us=_0x338e7b(function(_0x43d089,_0x306b76){const _0x21727b=_0x2025fc;var _0x23b322=_0x43d089[_0x21727b(0x213)],_0x3b36b9=_0x43d089['id'],_0x5ae39c=_0x43d089[_0x21727b(0x46c)],_0x2567fa=_0x43d089['extend'],_0x115f1c=Ea(_0x43d089,[_0x21727b(0x213),'id',_0x21727b(0x46c),'extend']),_0x50534e='univerjs-icon\x20univerjs-icon-'['concat'](_0x3b36b9,'\x20')['concat'](_0x5ae39c||'')['trim'](),_0x419fba=_0x28ff08('_'[_0x21727b(0x40a)](Ra()));return Zi(_0x23b322,''[_0x21727b(0x40a)](_0x3b36b9),{'defIds':_0x23b322[_0x21727b(0x428)],'idSuffix':_0x419fba[_0x21727b(0x122)]},te({'ref':_0x306b76,'className':_0x50534e},_0x115f1c),_0x2567fa);});function Zi(_0x30c318,_0x5384ca,_0x30d4f6,_0x55f5c9,_0x4512e3){const _0x367eed=_0x2025fc;return _0x10eb66(_0x30c318['tag'],te(te({'key':_0x5384ca},ba(_0x30c318,_0x30d4f6,_0x4512e3)),_0x55f5c9),(Ta(_0x30c318,_0x30d4f6)[_0x367eed(0x32c)]||[])[_0x367eed(0x23a)](function(_0x366425,_0x43eb0d){const _0x4eaa2b=_0x367eed;return Zi(_0x366425,''[_0x4eaa2b(0x40a)](_0x5384ca,'-')['concat'](_0x30c318[_0x4eaa2b(0x40b)],'-')['concat'](_0x43eb0d),_0x30d4f6,void 0x0,_0x4512e3);}));}function ba(_0x2033eb,_0x1dcdc3,_0x5d46eb){const _0x47816b=_0x2025fc;var _0x5aa307=te({},_0x2033eb['attrs']);_0x5d46eb!=null&&_0x5d46eb[_0x47816b(0x18b)]&&_0x5aa307[_0x47816b(0x46e)]===_0x47816b(0x18b)&&(_0x5aa307[_0x47816b(0x46e)]=_0x5d46eb['colorChannel1']);var _0x117dfd=_0x1dcdc3[_0x47816b(0x428)];return!_0x117dfd||_0x117dfd['length']===0x0||(_0x2033eb[_0x47816b(0x40b)]==='use'&&_0x5aa307[_0x47816b(0x29a)]&&(_0x5aa307[_0x47816b(0x29a)]=_0x5aa307[_0x47816b(0x29a)]+_0x1dcdc3[_0x47816b(0xd6)]),Object[_0x47816b(0xf5)](_0x5aa307)[_0x47816b(0x2e1)](function(_0x5b168c){const _0x526f5a=_0x47816b;var _0x37f5e2=_0x5b168c[0x0],_0x104eef=_0x5b168c[0x1];typeof _0x104eef=='string'&&(_0x5aa307[_0x37f5e2]=_0x104eef[_0x526f5a(0x11f)](/url\(#(.*)\)/,'url(#$1'[_0x526f5a(0x40a)](_0x1dcdc3[_0x526f5a(0xd6)],')')));})),_0x5aa307;}function Ta(_0x360076,_0x4667c5){const _0x2f633e=_0x2025fc;var _0x263520,_0x14c12b=_0x4667c5[_0x2f633e(0x428)];return!_0x14c12b||_0x14c12b[_0x2f633e(0x161)]===0x0?_0x360076:_0x360076['tag']===_0x2f633e(0x443)&&(!((_0x263520=_0x360076['children'])===null||_0x263520===void 0x0)&&_0x263520[_0x2f633e(0x161)])?te(te({},_0x360076),{'children':_0x360076['children'][_0x2f633e(0x23a)](function(_0x324b6e){const _0x3423e7=_0x2f633e;return typeof _0x324b6e[_0x3423e7(0xf3)]['id']==_0x3423e7(0x151)&&_0x14c12b&&_0x14c12b[_0x3423e7(0x1a5)](_0x324b6e[_0x3423e7(0xf3)]['id'])>-0x1?te(te({},_0x324b6e),{'attrs':te(te({},_0x324b6e[_0x3423e7(0xf3)]),{'id':_0x324b6e[_0x3423e7(0xf3)]['id']+_0x4667c5[_0x3423e7(0xd6)]})}):_0x324b6e;})}):_0x360076;}function Ra(){const _0x328892=_0x2025fc;return Math['random']()[_0x328892(0x135)](0x24)[_0x328892(0x1ec)](0x2,0x8);}Us[_0x2025fc(0x44d)]=_0x2025fc(0x265);var Oa={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x182),'width':_0x2025fc(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2025fc(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0xd2),'strokeLinecap':'round','strokeLinejoin':_0x2025fc(0xe9),'strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':_0x2025fc(0x425)},'children':[{'tag':_0x2025fc(0x320),'attrs':{'fill':'#fff','d':_0x2025fc(0x215)}}]}]}],'defIds':[_0x2025fc(0x425)]},Qi=_0x338e7b(function(_0x28794b,_0x426148){const _0x21423a=_0x2025fc;return _0x10eb66(Us,Object[_0x21423a(0x20c)]({},_0x28794b,{'id':'off-line-single','ref':_0x426148,'icon':Oa}));});Qi[_0x2025fc(0x44d)]='OffLineSingle';var ya={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x49c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2025fc(0x320),'attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0x244),'strokeLinecap':_0x2025fc(0xe9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2025fc(0x48b),'d':_0x2025fc(0x215),'transform':_0x2025fc(0x24b)}}]}]}],'defIds':[_0x2025fc(0x1b7)]},er=_0x338e7b(function(_0x3e82a8,_0x528e3a){const _0x40ff6f=_0x2025fc;return _0x10eb66(Us,Object[_0x40ff6f(0x20c)]({},_0x3e82a8,{'id':_0x40ff6f(0x16f),'ref':_0x528e3a,'icon':ya}));});er[_0x2025fc(0x44d)]=_0x2025fc(0x1f9);function tr(_0x4c1e51){const _0x25188e=_0x2025fc;var _0x16a9a0,_0x54776e,_0x54f225='';if(typeof _0x4c1e51==_0x25188e(0x151)||typeof _0x4c1e51==_0x25188e(0xc7))_0x54f225+=_0x4c1e51;else{if(typeof _0x4c1e51==_0x25188e(0x297)){if(Array[_0x25188e(0x287)](_0x4c1e51)){var _0x7f7dbb=_0x4c1e51[_0x25188e(0x161)];for(_0x16a9a0=0x0;_0x16a9a0<_0x7f7dbb;_0x16a9a0++)_0x4c1e51[_0x16a9a0]&&(_0x54776e=tr(_0x4c1e51[_0x16a9a0]))&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}else{for(_0x54776e in _0x4c1e51)_0x4c1e51[_0x54776e]&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}}}return _0x54f225;}function wa(){const _0x5220e5=_0x2025fc;for(var _0x36eeb1,_0x3ad1e8,_0xefd7b0=0x0,_0x2d88af='',_0x32aa87=arguments[_0x5220e5(0x161)];_0xefd7b0<_0x32aa87;_0xefd7b0++)(_0x36eeb1=arguments[_0xefd7b0])&&(_0x3ad1e8=tr(_0x36eeb1))&&(_0x2d88af&&(_0x2d88af+='\x20'),_0x2d88af+=_0x3ad1e8);return _0x2d88af;}const Da='univer-online-status-icon',Pa=_0x2025fc(0x295),Na='univer-online-status',Ua=_0x2025fc(0x11d),Aa=_0x2025fc(0x3e7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x2cd0ff){const _0x3e6472=_0x2025fc;switch(_0x2cd0ff){case J['OFFLINE']:return'collabStatus.offline';case J['CONFLICT']:return _0x3e6472(0x415);case J[_0x3e6472(0x2d7)]:return _0x3e6472(0x433);case J[_0x3e6472(0x174)]:return _0x3e6472(0x466);case J[_0x3e6472(0x236)]:case J['AWAITING_WITH_PENDING']:return _0x3e6472(0x1b9);case J[_0x3e6472(0x274)]:case J[_0x3e6472(0x469)]:return'collabStatus.synced';}}function xa(_0x442d0e){const _0x4d3989=_0x2025fc,{status$:_0x1929b8}=_0x442d0e,_0x2d39c2=_0x5dcc9e(_0x1929b8,J[_0x4d3989(0x174)]),_0x46197f=_0x121dc7(_0x4b4756),_0x121ffb=_0x121dc7(xe),_0x1517c4=_0x2d39c2!==J[_0x4d3989(0x23c)],_0x5abe1f=_0x46197f['t'](Ma(_0x2d39c2)),_0x47bc11=wa(Qe['onlineStatus'],{[Qe[_0x4d3989(0x219)]]:_0x1517c4,[Qe[_0x4d3989(0x13e)]]:!_0x1517c4}),_0x2b5551=_0x1517c4?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x2b07cc=_0x2496ba(()=>{const _0x4b19c3=_0x4d3989;_0x1517c4||_0x121ffb[_0x4b19c3(0x35e)]();},[_0x1517c4,_0x121ffb]);function _0x96c3ab(){const _0x56af11=_0x4d3989;return De[_0x56af11(0x110)](_0x56af11(0x192),{'className':_0x47bc11,'onClick':_0x2b07cc,'children':[De[_0x56af11(0x4b9)](_0x56af11(0x192),{'className':Qe[_0x56af11(0x1be)],'children':_0x2b5551}),De[_0x56af11(0x4b9)]('div',{'className':Qe['onlineStatusTitle'],'children':_0x5abe1f})]});}return _0x1517c4?_0x96c3ab():De[_0x4d3989(0x4b9)](_0x4ddf03,{'title':_0x46197f['t']('collab-client.tooltip.reconnect'),'children':_0x96c3ab()});}var La=Object[_0x2025fc(0x385)],$a=Object[_0x2025fc(0x18c)],Ha=(_0x279082,_0x17558f,_0x45f955,_0x227caf)=>{const _0x597949=_0x2025fc;for(var _0x1bd0d1=_0x227caf>0x1?void 0x0:_0x227caf?$a(_0x17558f,_0x45f955):_0x17558f,_0xd4b6e0=_0x279082[_0x597949(0x161)]-0x1,_0xc3e98c;_0xd4b6e0>=0x0;_0xd4b6e0--)(_0xc3e98c=_0x279082[_0xd4b6e0])&&(_0x1bd0d1=(_0x227caf?_0xc3e98c(_0x17558f,_0x45f955,_0x1bd0d1):_0xc3e98c(_0x1bd0d1))||_0x1bd0d1);return _0x227caf&&_0x1bd0d1&&La(_0x17558f,_0x45f955,_0x1bd0d1),_0x1bd0d1;},lt=(_0xf4e819,_0x2d9199)=>(_0x4bc06a,_0x3bd00e)=>_0x2d9199(_0x4bc06a,_0x3bd00e,_0xf4e819);let At=class extends _0x24229e{constructor(_0x5c5324,_0x3bc8ed,_0x538326,_0x7ab99a){const _0x1b06b8=_0x2025fc;super(),g(this,_0x1b06b8(0x1ac),new _0x1074c2(J[_0x1b06b8(0x174)])),(this[_0x1b06b8(0x3cf)]=_0x5c5324,this[_0x1b06b8(0x3e2)]=_0x3bc8ed,this[_0x1b06b8(0x147)]=_0x538326,this['_collaborationController']=_0x7ab99a,this[_0x1b06b8(0x2cc)](),this[_0x1b06b8(0x4ab)]());}['_initStatusListener'](){const _0x1bf207=_0x2025fc;this[_0x1bf207(0x10c)](this[_0x1bf207(0x3cf)]['focused$']['pipe'](_0x4e1242(()=>{const _0x4ae648=_0x1bf207,_0x2874c9=this[_0x4ae648(0x3cf)]['getFocusedUnit']();return _0x2874c9?this[_0x4ae648(0x1f0)][_0x4ae648(0x403)](_0x2874c9[_0x4ae648(0x10b)]()):_0x43d0da(null);}),_0x4e1242(_0x1f5bd4=>_0x1f5bd4?_0x1f5bd4[_0x1bf207(0x1cf)]:_0x43d0da(J['NOT_COLLAB'])))[_0x1bf207(0x140)](_0x1efa99=>{const _0x203591=_0x1bf207;this[_0x203591(0x1ac)]['next'](_0x1efa99);}));}[_0x2025fc(0x2cc)](){const _0x4a15c1=_0x2025fc;this[_0x4a15c1(0x10c)](this['_uiPartsService']['registerComponent'](_0x2879fd[_0x4a15c1(0x25a)],()=>_0x556999(ja({'status$':this[_0x4a15c1(0x1ac)][_0x4a15c1(0xf7)]()}),this[_0x4a15c1(0x147)])));}};At=Ha([lt(0x0,_0x425cee),lt(0x1,_0x100c23),lt(0x2,_0x5847bf(_0x5d7671)),lt(0x3,_0x5847bf(rt))],At);function ja(_0x58b9a5){const {status$:_0x33afc2}=_0x58b9a5;return function(){const _0x22508f=_0x46d8;return De[_0x22508f(0x4b9)](xa,{'status$':_0x33afc2});};}const sr=_0x30094b(_0x2025fc(0xe1));var Ba=Object[_0x2025fc(0x385)],ka=Object[_0x2025fc(0x18c)],Wa=(_0x335559,_0x24945f,_0x284b0c,_0xaa5ae5)=>{for(var _0xb36413=_0xaa5ae5>0x1?void 0x0:_0xaa5ae5?ka(_0x24945f,_0x284b0c):_0x24945f,_0x14fb12=_0x335559['length']-0x1,_0x4cddc4;_0x14fb12>=0x0;_0x14fb12--)(_0x4cddc4=_0x335559[_0x14fb12])&&(_0xb36413=(_0xaa5ae5?_0x4cddc4(_0x24945f,_0x284b0c,_0xb36413):_0x4cddc4(_0xb36413))||_0xb36413);return _0xaa5ae5&&_0xb36413&&Ba(_0x24945f,_0x284b0c,_0xb36413),_0xb36413;},ke=(_0x24c065,_0x232318)=>(_0x5de502,_0x22d8d5)=>_0x232318(_0x5de502,_0x22d8d5,_0x24c065);let Mt=class extends _0x5ec0cb{constructor(_0x1e07a3,_0x5370b5,_0x502cf4,_0x3832a3,_0x5bc5d8,_0x4ee62e){const _0x162afe=_0x2025fc;super(),this['_urlService']=_0x1e07a3,this[_0x162afe(0xc1)]=_0x5370b5,this['_commandService']=_0x502cf4,this[_0x162afe(0x2a4)]=_0x3832a3,this[_0x162afe(0xd5)]=_0x5bc5d8,_0x4ee62e?_0x4ee62e==null||_0x4ee62e[_0x162afe(0x214)]()[_0x162afe(0x1c0)](()=>this[_0x162afe(0x100)]()):(this[_0x162afe(0xc1)][_0x162afe(0x456)](_0x162afe(0x307),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x162afe(0x100)]());}async[_0x2025fc(0x100)](){const _0x13f306=_0x2025fc,_0x593989=this[_0x13f306(0x371)][_0x13f306(0x30a)](_0x13f306(0x2bb)),_0x5723ac=this['_urlService'][_0x13f306(0x30a)](_0x13f306(0x442));if(!_0x593989||!_0x5723ac){this[_0x13f306(0xc1)][_0x13f306(0x456)]('[DataLoaderController]',_0x13f306(0x1b8));return;}switch(Number(_0x5723ac)){case ae[_0x13f306(0x4a6)]:{const _0x1783f5=await this[_0x13f306(0xfd)](_0x593989);this['_setupSubUnitSync'](_0x1783f5);break;}case ae['UNIVER_DOC']:{await this['_loadDoc'](_0x593989);break;}default:{this[_0x13f306(0xc1)]['error'](_0x13f306(0x307),_0x13f306(0x405));break;}}}async[_0x2025fc(0x115)](_0xb7ac47){const _0x530346=_0x2025fc;await this['_updateSubUnitFromURLParams'](_0xb7ac47),_0xb7ac47[_0x530346(0x232)][_0x530346(0x150)](_0x7b6507(this['dispose$']))[_0x530346(0x140)](_0x2424cb=>{const _0x4d8983=_0x530346;_0x2424cb&&this[_0x4d8983(0x3d5)](_0x2424cb);}),this[_0x530346(0x371)][_0x530346(0xb2)][_0x530346(0x150)](_0x7b6507(this[_0x530346(0x345)]))[_0x530346(0x140)](()=>this[_0x530346(0x281)](_0xb7ac47));}[_0x2025fc(0x3d5)](_0x3fc208,_0x27d98e=!0x1){const _0x3e5a11=_0x2025fc,_0x2f8252=this[_0x3e5a11(0x371)][_0x3e5a11(0x30a)](_0x3e5a11(0x35c));_0x3fc208[_0x3e5a11(0x369)]()!==_0x2f8252&&this[_0x3e5a11(0x371)][_0x3e5a11(0x43d)](_0x3e5a11(0x35c),_0x3fc208[_0x3e5a11(0x369)](),_0x27d98e);}async[_0x2025fc(0x281)](_0x455028){const _0x46159e=_0x2025fc;var _0x311bef;const _0x28ca29=this[_0x46159e(0x371)]['getParam']('subunit');if(!_0x28ca29||!_0x455028[_0x46159e(0xe2)](_0x28ca29)){const _0x180e0a=_0x455028['getUnhiddenWorksheets']()[0x0],_0xdeac75=_0x455028[_0x46159e(0xe2)](_0x180e0a);if(!_0xdeac75)return;this['_updateURLWithCurrentState'](_0xdeac75,!0x0),await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x180e0a});return;}((_0x311bef=_0x455028[_0x46159e(0x406)]())==null?void 0x0:_0x311bef[_0x46159e(0x369)]())!==_0x28ca29&&await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x28ca29});}async['_loadSheet'](_0x54262c){const _0x53ca76=_0x2025fc;let _0x509433=0x0;const _0xf128a5=await this[_0x53ca76(0x2a4)][_0x53ca76(0x3cc)](_0x54262c);return _0xf128a5&&(_0xf128a5['awaitingChangeset']||_0xf128a5[_0x53ca76(0x335)][_0x53ca76(0x161)]!==0x0)&&(_0x509433=_0xf128a5[_0x53ca76(0x220)]),_0x509433===0x0&&this[_0x53ca76(0xc1)]['debug'](_0x53ca76(0x307),_0x53ca76(0x2d2)),this[_0x53ca76(0xd5)]['loadSheet'](_0x54262c,_0x509433);}async['_loadDoc'](_0x308801){const _0x2fd233=_0x2025fc;let _0xf21ae=0x0;const _0x4db73e=await this['_localCacheService'][_0x2fd233(0x3cc)](_0x308801);return _0x4db73e&&(_0x4db73e[_0x2fd233(0x3b0)]||_0x4db73e[_0x2fd233(0x335)][_0x2fd233(0x161)]!==0x0)&&(_0xf21ae=_0x4db73e[_0x2fd233(0x220)]),_0xf21ae===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x2fd233(0x2d2)),this[_0x2fd233(0xd5)][_0x2fd233(0x259)](_0x308801,_0xf21ae);}};function _0x5197(){const _0x4d5cc6=['path','#FFF','getStateCache','_doCryptBlock','mode','COLLAB_SUBMIT_CHANGESET_URL','getOffsetConfig','getCollabCursors$','_waitCount','[OfflineState]:\x20received\x20rejection.','byteLength','hostname','children','cmd','onSendChangeset','CHANGESET_SHOULD_RETRY','_getLoginPath','ALREADY_EXISTS','/unit/','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','mutations','fillRule','_heartbeatTimer','transformUndoRedo','roles','reject','_startTelemetryCollaborationNewChangeset','url','startsWith','get','prototype','roomMembers','_getDownloadEndpointURL','_onRefRangeChange','_docSkeletonManagerService','executeCommand','dispose$','_clearCollaborationTimeoutTimer','undoState','_docTransformSelectionsService','JOINING','abs','_online','_unitOnClients','listCollaborators','getRangePointData','_schedule','_collaborationTimeoutTimer','_createInitialState','words','BlockCipherMode','rng','_iv','requestParams','symbol','popstate','docStateChange$','UNAUTHENTICATED','UNKNOWN_CODE','subunit','getOwnPropertySymbols','reconnect','_acknowledgedAwaitingChangeset','not_collab','state$','_messageService','_onRemoteChangeset','interceptor','INGEST','_handleEvent','_drawAnchor','_draw','getSheetId','encrypt','enableSingleActiveInstanceLock','react.fragment','moveTo','NEW_CHANGESETS','_substituteRedoStack','csShouldRetryEvent','_urlService','addObjects','ceil','liveShareNewHost','toggleOnline','reverse','fetch_missing','clamp','createCollaborator','_toggleOffline','_onCursorUpdate','FETCH_MISSING','_nDataBytes','userID','top','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaMsg','next','_imageSourceCache','patch','defineProperty','_name','LEAVE','IDLE','beginPath','\x20-\x20','apply','onTransformIME','LICENSE_DISTRO_REJECTED','UNIVER_UNKNOWN','setCurrentUser','liveShareOperation','getDocRanges','image/png','reduce','mixIn','all','_sendingTimer','/allowed','_pendingMutations','synced','snapshotServerUrl','collab-text-anchor-','set','react.element','transformMutationsWithChangeset','svg','params','currentColor','_initUnitPermissionChange','_transformPreviousActiveRange','collabWebSocketUrl','_clearScheduledTask','_eventUnsubscribe','_roomMembers','ENSURE_SNAPSHOT_EXECUTION','_localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','UnitSnapshot','UNIVER_DOC','_state$','_createInitialStateImpl','awaitingChangeset','exhaustSavingTask','COMPRESS_MUTATION_APPLY','flatMap','height','purple300','_clearHeartbeatTimer','addImageSourceCache','_getCurrentRevision','Warning','repeat','padding','_changesetSessionId','unshift','_state','_hash','list','[CollaborationSession]','show','{fileID}','target','complete','_singleActiveUnitService','_hover','default','_replayCachedMutations','fetchThroughInterceptors','_exhaustRemoteChangesetQueue','loadOfflineData','_render','UUID','_univerInstanceService','_syncEditingCollabCursor','session.room-permission-denied','SHA1','commentUpdate$','createEncryptor','_updateURLWithCurrentState','_keyPriorReset','CHANGESET_ACK','\x0aCurrent:\x20','session.join-failed','_entities','_ENC_XFORM_MODE','USERS_LEAVE','YUUMI_UNABLE_LOAD_URL','members','_members','_onUserLeave','TOO_MANY_REQUESTS','_uiPartsService','getUnitType','_getAnchorBounding','newValue','socket\x20open.','univer-offline','UNDEFINED','currentTheme$','_onCombEvent','saveImage','searchParams','values','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','decryptBlock','href','max','allowed','_handleLeaveEvent','FromArray','_HTTPService','Hasher','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','currentSkeleton$','_updateCollabCursors','/universer-api/file/{fileID}/sign-url','clearInterval','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getFocusedUnit','message$','onTransformState','endRow','getCollabEntity$','_nRounds','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getActiveSheet','onload','_createSocketURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','concat','tag','_getCtorByUniverType','requireSession','sendChangesetTimeout','onRemoteAck','retryConnectingInterval','PERMISSION_DENIED','onRemoteRetry','hasOwnProperty','[CollaborationSessionService]:\x20socket\x20error','collabStatus.conflict','closeSession','visibilityState','_transformHistoryAndStateStack','getMember','refreshPermission','enableAuthServer','_unitID','ERROR_EXCEED_SIZE','JOIN_ROOM_NOT_EXISTS','body','encode','_getRedoStack','transformRemoteChangeset','/universer-api/authz','fetching\x20missing\x20changesets\x20from\x20','off-line-single_clip0_910_343','_color','sid','defIds','_startCollaboration','getValue','collab-text-range-','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','objectActions','onRendered','getUnitStatus$','collaborators','[CollaborationUndoRedoService]','collabStatus.fetchMiss','_cipher','Undefined','fetchMissingChangesets','_checkMissing','text','_retryCount','_scheduleClearOtherTimer','selection','72kwfkCy','setParam','registerRefRange','CONNECTOR_DATA_TOO_LARGE','skeleton','transform','type','defs','_removeClearOtherTimer','POST','enableOfflineEditing','saveChangeset','/-/object/list','_cursors','override','_listenToOnlineEvent','LIVESHARE_OPERATION','displayName','_entityInit$','m1Prime','BufferedBlockAlgorithm','collabCursorState$','_handler','101836GxltVa','_getSheetObject','toRgbString','debug','subUnitId','revision','unit-cache-','_handleJoinEvent','NOT_FOUND','key','LOGIN_URL_KEY','_collaborationPaused','pad','localeService','_clearOtherTimers','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resize','_startSheetCollabCursor','collabStatus.notCollab','hide','compose','PENDING','pending','NO_OTHER_CLIENTS_EDITING','className','open$','fill','randomBytes','_transitionLocked','memberID','UNIVER_SLIDE','application/json','red300','collaboration-client.offline-data-not-saved','HEARTBEAT_TIMEOUT','fillStyle','width','Malformed\x20UTF-8\x20data','_shouldReportTelemetry','onMouseMove','UPDATE_PERMISSION_OBJ','_awaitingChangeset','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','?url=','_commandService','measureText','endColumn','initWorkbookPermissionChange','defaultProps','_initMergeInterceptor','withCredentials','Utf8','_scheduleSaving','bottom','#fff','getImageSourceCache','joinRsp','random','slice','_backgroundColor','result','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','call','doc.mutation.rich-text-editing','AUTHZ_URL_KEY','getCollabEntity','_initCommandExecutedListener','_labelPosition','actions','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','/object/','_unitStatus','registerRenderModule','_clearTimeoutTimer','image/gif','extend','sigBytes','JOIN_ROOM_FULL','HEARTBEAT','UNIVER_SHEET','_startDocCollabCursor','_resendTimer','_transformStack','sheetID','_initStatusListener','_tryReconnect','_unlockTransition','_ensureSubject','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','_send','_timeoutTimer','_onUserJoin','SUCCUSS','transformMutation','&assign=','arc','jsx','unload','_initRequestHeader','ACTIVE_UNIT_EVENT_CHANNEL','AWAITING_WITH_PENDING','buffer','ERROR_IMAGE_TYPE','onRemoteRej','_stopTelemetryCollaborationNewChangeset','put','_getSaveTimeout','Latin1','OTHER_CLIENTS_EDITING','_collabCursorController','drawWith','ONLINE','fromCollab','session.room-cnt-exceeds','PasswordBasedCipher','transformStack\x20failed!','urlChange$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_configService','_createHelper','_userManagerService','socket$','filter','_process','LIVESHARE_REQUEST_HOST','Fragment','_removeRoom','INTERNAL_ERROR','decrypt','update','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_logService','syncEditingCollabCursor','USERS_ENTER','imageSourceType','history','_listenToOfflineEvent','number','[PendingState]:\x20unhandled\x20univer\x20type:\x20','send','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformIMECache','startTime','_colorIndex','getAllMembers','charCodeAt','11373057DWoovu','_range','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','includes','_colorAssignService','_snapshotService','idSuffix','removeMember','resend','_transformSelections','_resendTimeout','enc','getSnapshotAPIPath','BlockCipher','COLLAB_WEB_SOCKET_URL','_onFetchMissResult','setAlpha','uni.network.url-service','getSheetBySheetId','_http','onStateChange','ranges','_type','none','_instanceService','round','JOIN','CipherParams','univer-pro.collaboration-client-socket-service','transformByState','280yTOAYS','getCurrentSelections','Hex','APPLY_PERMISSION_DENIED','editingUnit','attrs','_onConflict','entries','randomUUID','asObservable','_assignedColors','x-univer-host','onRemoteChangeset','editing\x20status\x20changed\x20to','AES','_loadSheet','onStarting','_compressMutationService','_init','APPLY_DUPLICATED','PERMISSION_REJ','conflict.content','UNRECOGNIZED','_onConnectionFailed','onTransformSelections','_hasher','HmacSHA1','_scheduleTimestamp','_docStateChangeManagerService','getUnitId','disposeWithMe','_DEC_XFORM_MODE','_getAPIPrefixPath','YUUMI_SUBSCRIPTION_NOT_FOUND','jsxs','storage','blockSize','subscribeEvent','29066wBmWdT','_setupSubUnitSync','clear','c2Prime','lib','getImage','charAt','_onMessage','from','univer-online','stringify','replace','OpenSSL','onPointerLeave$','current','_ws','[CollaborationEntity]','_showConflictNotification','formatter','floor','_transformService','UNKNOWN_CMD','createInstance','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sheetId','_minBufferSize','selections','_getSessionTicket','_refreshCollabCursors','sessionTicket','_onRemoteRetry','getDeserializedSheetBlock','setConfig','toString','_docTransformStateCacheService','conflict','_initCloseConn','_incrementRevisionNumber','_submitChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','cursorInfo','_registerRenderDependencies','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','ivSize','event$','onMissedChangesetFetched','_snapshotServerService','msCrypto','for','_injector','originalMeta','_onOffline','_initResize','getCurrentUser','getRoom','_sheetSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','save','pipe','string','method','reqId','_updateStatus','_setupBeforeClosingHandler','_imageIoService','_getScale','onCommentUpdate','findNodePositionByCharIndex','_id','addClipboardHook','NoPadding','transformStateCache','HmacMD5','routeKey','resourceIDs','length','_queuedRemoteChangesets','connection\x20error','createSocket','delete','/rev/','url(#off-line-single_clip0_910_343)','_onJoinRoomEvent','getCellPositionByOffset','location','_config','_invKeySchedule','setTimeout','collaboration.single-unit.warning','on-line-single','collaboration.closeRoom','saveSheetBlock','/universer-api/snapshot/','_cachedData','NOT_COLLAB','jiqing500','hidden','LIVESHARE_FETCH_OPERATIONS','DeleteRangeMoveUpCommandId','code','&to=','post','HELLO','finalize','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REJ','_beforeCloseService','0\x200\x2016\x2016','collaboratorID','/universer-api/stream/file/upload','session.connection-failed','uploadFileServerUrl','_syncEditingCollabCursorService','_candidateSocket','commentUpdateEvent','onCommandExecuted','colorChannel1','getOwnPropertyDescriptor','_shapes','readAsDataURL','row','image/jpeg','_transformRemoteChangesetByIMECache','div','_onRemoteRejected','_getSendChangesetTimeout','_lastPointer','action','collaboration-client.config','_changesetReqId','_updateLocalCursor','error$','_saveTaskMap','[UniverCollaborationClientPlugin]','_updateState','isActive','_handleHover','[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.','collaboration-session-retry','permission.content','redoState','__creator','indexOf','getUnit','COMPRESS_MUTATION_SEND','_fetchMissChangesets','_getAPIPrefix','setItem','lineTo','_status$','_anchorDot','SUBMIT_CHANGESET','min','_revisionService','textRanges','_change$','_selfUnitIDs','algo','readInt32LE','visibilitychange','on-line-single_clip0_910_349','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_drawTextRange','removeParam','with','infoRsp','onlineStatusIcon','_transformIMECache','then','awaiting_with_pending','_getMergeRange','awaiting','catch','getActiveRange','equals','name','_themeService','WordArray','LICENSE_IMPORT_SIZE_EXCEEDED','_getUndoStack','_rescheduleHeartbeat','_keySchedule','/block/','status$','_onRemoteACK','kdf','_cursorShapes','isPermissionRej','_onRecvEvent','FAIL','column','saveOfflineData','APPLY_REVISION_CONFILICT','now','_removeCollabCursors','objectID','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOnline','_reverseMap','...','unpad','318660LnECwi','_redoStacks','_clearUndo','substr','dispose','PERSON','HMAC','setShowComponents','_mode','_collabCursorState$','baseRev','substring','MoveRangeCommandId','_docSyncEditingCollabCursorService','objects','_collaborationController','loginUrlKey','InsertRangeMoveDownCommandId','MSG_FOR_ERROR','UNIVER_PROJECT','onSyncEditingCollabCursor','_docTransformIMECacheService','json','_clearLocalCache','OnLineSingle','/universer-api/comb','_cursor','RETRY_CONNECTING_MAX_COUNT','salt','_substituteUndoStack','sessionStatus$','range','29911320AsHNJH','socketService','makeDirty','_sendHeartbeat','Encryptor','close','_localStorageService','fromCharCode','getUndoRedoMutationParamsCache','roomMembers$','getViewport','assign','onPointerMove$','/universer-api/snapshot','_remoteChangesetQueue','generateRandomId','parse','_socket','icon','whenReady','M0\x200H16V16H0z','reset','getConfig','MD5','online','addObject','/collaborator','_onLocalMutation','setUndoRedoMutationParamsCache','_undoRedoService','getCurrentRevOfUnit','rev','crypto','onTransformChange$','authzUrl','format','_waitForHeartbeatResponse','sin','propertyIsEnumerable','_doReset','__esModule','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_initEventListeners','Base64','leaveEvent','_onConnectionOpen','push','_createHandler','transformSelections','activeSheet$','HEARTBEAT_INTERVAL','Pkcs7','updateCursorEvent','AWAITING','hovered','addEventListener','UnitEmbedded','map','capture','OFFLINE','startRow','LICENSE_EXPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','getSkeleton','_clearRedo','toggleOffline','clipPath','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_append','RECT','RECV','unknown','_createSocket','_getUploadFileURL','translate(.97)','has','updateMember','sheets','5468865oAKzcg','cfg','&source=','encodeURIComponent','every','keySize','Decryptor','_parse','INVALID_ARGUMENT','ERROR_IMAGE','loadDoc','HEADER_MENU','cursorInfo$','origin','_commentService','getInterceptPoints','_iKey','listRoles','hasher','black','_sessions','_throwTelemetryCollaborationNewChangeset','UniverIcon','getRenderById','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/oidc/authpage','ticket','c1Prime','color','_hovered','46wsdAMK','getUniverSheetInstance','_transformStateCache','m2Prime','assignAColorForMemberID','\x20to\x20','unitId','SYNCED','/new_changes','stopTime','getAncestorScale','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','error','ciphertext','?size=','sessionStatus','create','_data','_onCursorDelete','_saveCache','_updateSubUnitFromURLParams','[OfflineState]:\x20received\x20changeset.','focused$','_oKey','responseType','getRandomValues','isArray','conflict.title','init','evenodd','eventID','headers','FileId','socket\x20close','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/resources','updateOfflineData','permission.title','Unknown\x20user','_context','univer-online-status-title','_document','object','Base','registerHTTPInterceptor','xlink:href','LIVESHARE_NEW_HOST','[CollaborationSessionService]','_lockTransition','_collabSessionService','_collaborationSessionService','data','telemetry\x20info\x20is\x20not\x20initialized','HttpImport','_createHmacHelper','_localCacheService','onMissingChangesets','CHANGESET_REVISION_CONFILICT','_scene','SNAPSHOT_HAS_BEEN_REMOVED','replaceState','avatar','copyFileMeta','size','deepClone','_executeRemoteChangeset','_initDependencies','_socket$','setShapeProps','SEND_CHANGESET_TIMEOUT','_commentUpdate$','_docClipboardService','_anchor','COMMENT_UPDATE','appendMutation','TEXT','_refRangeService','EvpKDF','unit','_map','onPointerEnter$','disableLocalCache','unitID','_applyRemoteChangeset','bind','createDecryptor','getTypeOfUnitAdded$','clone','MUTATION','split','_transformUndoRedoStack','registerBeforeClose','/-/object/-/batch_allowed','compute','pushState','_initStatusComponent','gold400','updatePermissionPoint','state','_resendWithTimeout','engine','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_undoStacks','_sender','_transformRemoteChangesetByStateCache','function','FETCH_MISS','_httpService','_disableEditing','InsertColCommandId','registerOnClose','execute','unsubscribe','\x20in\x20_schedule.','onlyLocal','_sendHeartbeatTimer','forEach','_retryConnectingTimer','_notificationService','_disabled','_telemetryInfo','objectType','_scheduleHeartbeat','status','_updateLocalCache','changesets','onTransformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','_transformUndoredo','Error','LIVESHARE_TERMINATE','1em','_sessionStatus$','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCurrent','getTime','/role','labelPosition','replaceDocRanges','_permissionService','_handleHeartbeatEvent','join','fetchMiss','_textBubble','updateCollaborator','_hideTimer','transformChangesets','HttpExport','YUUMI_URL_COL_OUT_OF_RANGE','_event$','_prevBlock','_key','[DataLoaderController]','blue400','restore','getParam','csRejEvent','image/jpg','_socketService','42936Nwetvk','UPDATE_CURSOR','getResourcesRequest','_telemetryService','CONFLICT','_xformMode','change$','_scheduleCollaborationTimeoutTimer','getMemberID','exports','_session','_renderManagerService','_cursorInfo$','_sheetTransformSelectionsService','_memberService','Cipher','SerializableCipher','BASE64'];_0x5197=function(){return _0x4d5cc6;};return _0x5197();}Mt=Wa([ke(0x0,sr),ke(0x1,_0x49d195),ke(0x2,_0x28287a),ke(0x3,_0x5847bf(z)),ke(0x4,_0x5847bf(_0x3ef466)),ke(0x5,_0x133fb4(_0x3b46ab))],Mt);var Fa=Object[_0x2025fc(0x385)],Va=Object[_0x2025fc(0x18c)],Ga=(_0x2e2939,_0x5c4d2d,_0x48cdf2,_0x330165)=>{const _0x403702=_0x2025fc;for(var _0x317d64=_0x330165>0x1?void 0x0:_0x330165?Va(_0x5c4d2d,_0x48cdf2):_0x5c4d2d,_0x1f656f=_0x2e2939[_0x403702(0x161)]-0x1,_0x2ca9ad;_0x1f656f>=0x0;_0x1f656f--)(_0x2ca9ad=_0x2e2939[_0x1f656f])&&(_0x317d64=(_0x330165?_0x2ca9ad(_0x5c4d2d,_0x48cdf2,_0x317d64):_0x2ca9ad(_0x317d64))||_0x317d64);return _0x330165&&_0x317d64&&Fa(_0x5c4d2d,_0x48cdf2,_0x317d64),_0x317d64;},ai=(_0x17ec59,_0x3b2abb)=>(_0x18463a,_0x19d326)=>_0x3b2abb(_0x18463a,_0x19d326,_0x17ec59);const Ya='DEFAULT_FILE_NAME',Ka='Univer';let xt=class extends _0x24229e{constructor(_0x369fa9,_0x18770d){const _0x47cf3e=_0x2025fc;super(),this[_0x47cf3e(0x3cf)]=_0x369fa9,this[_0x47cf3e(0xb4)]=_0x18770d,this[_0x47cf3e(0x100)]();}[_0x2025fc(0x100)](){const _0x28f96=_0x2025fc;this['disposeWithMe'](this[_0x28f96(0x3cf)][_0x28f96(0x283)]['subscribe'](()=>{const _0x1766c1=_0x28f96;var _0x282296;const _0x24c51b=this[_0x1766c1(0x3cf)][_0x1766c1(0x3ff)]();let _0x4127e2=(_0x282296=this[_0x1766c1(0xb4)][_0x1766c1(0x217)](Ya))!=null?_0x282296:Ka;_0x24c51b instanceof _0x21f116&&(_0x4127e2=_0x24c51b['name']),document['title']=_0x4127e2;}));}};xt=Ga([ai(0x0,_0x425cee),ai(0x1,_0x4df844)],xt);var qa=Object['defineProperty'],za=Object[_0x2025fc(0x18c)],Xa=(_0x3a8bd8,_0x39b237,_0x597302,_0x2b8851)=>{const _0x3120f1=_0x2025fc;for(var _0x54edf7=_0x2b8851>0x1?void 0x0:_0x2b8851?za(_0x39b237,_0x597302):_0x39b237,_0x5ed1a1=_0x3a8bd8[_0x3120f1(0x161)]-0x1,_0x3fab3a;_0x5ed1a1>=0x0;_0x5ed1a1--)(_0x3fab3a=_0x3a8bd8[_0x5ed1a1])&&(_0x54edf7=(_0x2b8851?_0x3fab3a(_0x39b237,_0x597302,_0x54edf7):_0x3fab3a(_0x54edf7))||_0x54edf7);return _0x2b8851&&_0x54edf7&&qa(_0x39b237,_0x597302,_0x54edf7),_0x54edf7;},is=(_0x20bd93,_0x107893)=>(_0x1dfe25,_0x369054)=>_0x107893(_0x1dfe25,_0x369054,_0x20bd93);let Lt=class{constructor(_0x166ae8,_0x2e1659,_0x38a74b){const _0x469c14=_0x2025fc;this[_0x469c14(0xb4)]=_0x166ae8,this[_0x469c14(0x2d8)]=_0x2e1659,this[_0x469c14(0x460)]=_0x38a74b,this['init']();}[_0x2025fc(0x289)](){const _0xbeb9e3=_0x2025fc;this[_0xbeb9e3(0x2d8)][_0xbeb9e3(0x299)]({'priority':0x1,'interceptor':(_0x3e5f7f,_0x4806e5)=>_0x4806e5(_0x3e5f7f)[_0xbeb9e3(0x150)](_0x4ab7bd(async _0x4d1407=>{const _0x1161f8=_0xbeb9e3,_0x2e6f0f=_0x4d1407;if(_0x2e6f0f[_0x1161f8(0x2e8)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4e2391=window[_0x1161f8(0x252)](window[_0x1161f8(0x16a)][_0x1161f8(0x3f1)]);window[_0x1161f8(0x16a)]['href']=this[_0x1161f8(0x330)]()+_0x1161f8(0x480)+_0x4e2391;}return _0x2e6f0f;}))});}[_0x2025fc(0x330)](){const _0x3882d7=_0x2025fc;var _0x2d8118,_0x14b9db;const _0x5c0028=this[_0x3882d7(0xb4)]['getConfig'](Hn),_0x545893=this[_0x3882d7(0xb4)]['getConfig'](Q);return(_0x14b9db=(_0x2d8118=_0x545893==null?void 0x0:_0x545893[_0x3882d7(0x1f1)])!=null?_0x2d8118:_0x5c0028)!=null?_0x14b9db:jn;}};Lt=Xa([is(0x0,_0x4df844),is(0x1,_0x5847bf(_0x310387)),is(0x2,_0x5847bf(_0x4b4756))],Lt);var Ja=Object[_0x2025fc(0x385)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0xa78cf4,_0x1fe76e,_0x494151,_0x43ebc6)=>{const _0x2ea55d=_0x2025fc;for(var _0x2527a7=_0x43ebc6>0x1?void 0x0:_0x43ebc6?Za(_0x1fe76e,_0x494151):_0x1fe76e,_0x44b86e=_0xa78cf4[_0x2ea55d(0x161)]-0x1,_0x5bf5cc;_0x44b86e>=0x0;_0x44b86e--)(_0x5bf5cc=_0xa78cf4[_0x44b86e])&&(_0x2527a7=(_0x43ebc6?_0x5bf5cc(_0x1fe76e,_0x494151,_0x2527a7):_0x5bf5cc(_0x2527a7))||_0x2527a7);return _0x43ebc6&&_0x2527a7&&Ja(_0x1fe76e,_0x494151,_0x2527a7),_0x2527a7;},ci=(_0x5cf53a,_0x348d8b)=>(_0x343837,_0x3a54c8)=>_0x348d8b(_0x343837,_0x3a54c8,_0x5cf53a);const ir=_0x2025fc(0x496),ec=_0x2025fc(0x423);let ps=class extends _0x24229e{constructor(_0x30ca7b,_0x4988e0){const _0x1a5b48=_0x2025fc;super(),this['_HTTPService']=_0x30ca7b,this[_0x1a5b48(0xb4)]=_0x4988e0,this[_0x1a5b48(0x486)]();}[_0x2025fc(0x486)](){const _0xf934e5=_0x2025fc,_0xcfe61c=this;this[_0xf934e5(0x10c)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x212a92({'isMatch'(_0x6b0dd2){const _0x9c326=_0xf934e5;var _0x1038de;if(_0x6b0dd2[_0x9c326(0x152)]===_0x9c326(0x445)&&((_0x1038de=_0x6b0dd2['requestParams'])!=null&&_0x1038de['body'])){const {objectID:_0x3cb908,objectType:_0x11f4c7}=_0x6b0dd2[_0x9c326(0x356)][_0x9c326(0x41f)]||{};if(!_0x3cb908||_0x11f4c7===void 0x0)return!0x1;const _0x492097=_0xcfe61c[_0x9c326(0x10e)]()+'/'+_0x11f4c7+_0x9c326(0x49d)+_0x3cb908+_0x9c326(0x397);if(_0x6b0dd2['url']===_0x492097)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58983c){const _0x53aa7a=_0xf934e5;var _0x1a3028;return(_0x1a3028=_0x58983c[_0x53aa7a(0x356)])==null?void 0x0:_0x1a3028[_0x53aa7a(0x41f)];},'mergeParamsToRequest'(_0x8cda02,_0x14ff66){const _0x1055c3=_0xf934e5,_0x366681=_0xcfe61c[_0x1055c3(0x10e)]()+_0x1055c3(0x2c9),_0x1ac405=_0x8cda02[_0x1055c3(0x393)]((_0x482dfd,_0x1baa0d)=>{const _0x25a065=_0x1055c3,{unitID:_0x2d18b8,objectID:_0x4f9ff8,objectType:_0x4fee8e,actions:_0x129cd3}=_0x1baa0d;return _0x482dfd[_0x2d18b8]||(_0x482dfd[_0x2d18b8]={}),_0x482dfd[_0x2d18b8][_0x4f9ff8]||(_0x482dfd[_0x2d18b8][_0x4f9ff8]={'objectID':_0x4f9ff8,'objectType':_0x4fee8e,'actions':[]}),_0x482dfd[_0x2d18b8][_0x4f9ff8][_0x25a065(0x49a)][_0x25a065(0x22f)](..._0x129cd3),_0x482dfd;},{}),_0x94014=[];for(const _0x24f5c4 in _0x1ac405)for(const _0x12ee54 in _0x1ac405[_0x24f5c4]){const {actions:_0x331d35,objectType:_0x347972}=_0x1ac405[_0x24f5c4][_0x12ee54],_0x34c95=[...new Set(_0x331d35)];_0x94014[_0x1055c3(0x22f)]({'unitID':_0x24f5c4,'objectID':_0x12ee54,'objectType':_0x347972,'actions':_0x34c95});}return new _0x30acee(_0x1055c3(0x445),_0x366681,{'headers':_0x14ff66['headers'],'withCredentials':_0x14ff66[_0x1055c3(0x487)],'responseType':_0x14ff66[_0x1055c3(0x285)],'body':{'requests':_0x94014}});}},{'distributeResult'(_0x3ec77f,_0x101d63){const _0x1e65fa=_0xf934e5,{objectActions:_0x15631a}=_0x3ec77f;return _0x101d63[_0x1e65fa(0x23a)](_0x5cf0a0=>{const _0x4108e7=_0x1e65fa,{unitID:_0x106988,objectID:_0xb30177,actions:_0x43fe34}=_0x5cf0a0,_0x2fad07=_0x15631a['find'](_0x415d60=>_0x415d60[_0x4108e7(0x2bf)]===_0x106988&&_0x415d60['objectID']===_0xb30177),_0xfbfcd3=_0x43fe34[_0x4108e7(0x23a)](_0x46cdd3=>_0x2fad07==null?void 0x0:_0x2fad07[_0x4108e7(0x49a)]['find'](_0xa12af9=>_0xa12af9[_0x4108e7(0x196)]===_0x46cdd3))[_0x4108e7(0xb8)](_0x590c5a=>!!_0x590c5a);return{'config':_0x5cf0a0,'result':{'actions':_0xfbfcd3,'error':_0x3ec77f['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x91c613=_0x2025fc;var _0x42313c,_0x4540fd;const _0x4528a4=this[_0x91c613(0xb4)][_0x91c613(0x217)](ir),_0x5f04c6=this['_configService'][_0x91c613(0x217)](Q);return(_0x4540fd=(_0x42313c=_0x5f04c6==null?void 0x0:_0x5f04c6['authzUrl'])!=null?_0x42313c:_0x4528a4)!=null?_0x4540fd:ec;}async[_0x2025fc(0x27d)](_0x50504d){const _0x2cdc42=_0x2025fc,_0x1e0f6c=this[_0x2cdc42(0x10e)]()+'/'+_0x50504d[_0x2cdc42(0x2e6)]+'/object';return(await this[_0x2cdc42(0x3f6)][_0x2cdc42(0x17b)](_0x1e0f6c,{'body':_0x50504d}))[_0x2cdc42(0x41f)][_0x2cdc42(0x1db)]||'';}async[_0x2025fc(0x3c0)](_0x2df5cc){const _0x52ec22=_0x2025fc,_0x56a7e5=this['_getAPIPrefixPath']()+_0x52ec22(0x448);return(await this[_0x52ec22(0x3f6)]['post'](_0x56a7e5,{'body':_0x2df5cc}))['body'][_0x52ec22(0x1ef)];}async['update'](_0x261f48){const _0x2047e3=_0x2025fc,_0x2c773a=this[_0x2047e3(0x10e)]()+'/'+_0x261f48['objectType']+_0x2047e3(0x49d)+_0x261f48[_0x2047e3(0x1db)];await this['_HTTPService'][_0x2047e3(0xa7)](_0x2c773a,{'body':_0x261f48});}async[_0x2025fc(0x3f3)](_0x2ed562){const _0xd6f194=_0x2025fc,_0x568af3=this[_0xd6f194(0x10e)]()+'/'+_0x2ed562[_0xd6f194(0x2e6)]+_0xd6f194(0x49d)+_0x2ed562[_0xd6f194(0x1db)]+_0xd6f194(0x397);return(await this[_0xd6f194(0x3f6)][_0xd6f194(0x17b)](_0x568af3,{'body':_0x2ed562}))[_0xd6f194(0x41f)][_0xd6f194(0x49a)];}async['batchAllowed'](_0x116226){const _0x4b5ec3=_0x2025fc,_0x2c334a=this[_0x4b5ec3(0x10e)]()+_0x4b5ec3(0x2c9);return(await this[_0x4b5ec3(0x3f6)][_0x4b5ec3(0x17b)](_0x2c334a,{'body':{'requests':_0x116226}}))['body'][_0x4b5ec3(0x42e)];}async[_0x2025fc(0x260)](_0x19bbbf){const _0x23be81=_0x2025fc,_0x437699=this[_0x23be81(0x10e)]()+'/'+_0x19bbbf[_0x23be81(0x2e6)]+_0x23be81(0x2f7),_0x1e663c=await this[_0x23be81(0x3f6)][_0x23be81(0x17b)](_0x437699,{'body':_0x19bbbf});return{'roles':_0x1e663c[_0x23be81(0x41f)][_0x23be81(0x339)],'actions':_0x1e663c[_0x23be81(0x41f)]['actions']};}async['deleteCollaborator'](_0x3cb3c2){const _0x3c382e=_0x2025fc,_0x8a250a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3c382e(0x3f6)][_0x3c382e(0x165)](_0x8a250a,{'params':{'collaboratorID':_0x3cb3c2[_0x3c382e(0x183)],'objectID':_0x3cb3c2['objectID'],'unitID':_0x3cb3c2[_0x3c382e(0x2bf)]}});}async[_0x2025fc(0x2ff)](_0x5a5813){const _0x31d64e=_0x2025fc,_0x264a34=this[_0x31d64e(0x10e)]()+_0x31d64e(0x21b);await this[_0x31d64e(0x3f6)][_0x31d64e(0x384)](_0x264a34,{'body':_0x5a5813});}async[_0x2025fc(0x379)](_0x1779d4){const _0x19eb66=_0x2025fc,_0x165633=this[_0x19eb66(0x10e)]()+_0x19eb66(0x21b);await this[_0x19eb66(0x3f6)][_0x19eb66(0x17b)](_0x165633,{'body':_0x1779d4});}async[_0x2025fc(0x34d)](_0x230b87){const _0x25b8f8=_0x2025fc,_0x228548=this[_0x25b8f8(0x10e)]()+'/collaborator';return(await this['_HTTPService'][_0x25b8f8(0x33e)](_0x228548,{'params':{'objectID':_0x230b87[_0x25b8f8(0x1db)],'unitID':_0x230b87[_0x25b8f8(0x2bf)]}}))[_0x25b8f8(0x41f)][_0x25b8f8(0x431)];}async['putCollaborators'](_0xbe85f3){const _0x32485f=_0x2025fc,_0x4f20cf=this[_0x32485f(0x10e)]()+_0x32485f(0x21b);await this[_0x32485f(0x3f6)][_0x32485f(0xa7)](_0x4f20cf,{'body':_0xbe85f3});}};ps=Qa([ci(0x0,_0x5847bf(_0x310387)),ci(0x1,_0x5847bf(_0x4df844))],ps);var dt={'exports':{}};function tc(_0x415eab){const _0x6166e8=_0x2025fc;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x415eab+_0x6166e8(0x3aa));}var ft={'exports':{}},sc=ft[_0x2025fc(0x317)],hi;function _e(){const _0x39a0a1=_0x2025fc;return hi||(hi=0x1,function(_0x3ddf99,_0x222226){(function(_0x5cc5ed,_0x1fe65d){const _0x3f2756=_0x46d8;_0x3ddf99[_0x3f2756(0x317)]=_0x1fe65d();}(sc,function(){var _0x335e8f=_0x335e8f||function(_0x562cfe,_0x5549ea){const _0x98ca51=_0x46d8;var _0x5804e6;if(typeof window<'u'&&window[_0x98ca51(0x221)]&&(_0x5804e6=window[_0x98ca51(0x221)]),typeof self<'u'&&self['crypto']&&(_0x5804e6=self[_0x98ca51(0x221)]),typeof globalThis<'u'&&globalThis[_0x98ca51(0x221)]&&(_0x5804e6=globalThis[_0x98ca51(0x221)]),!_0x5804e6&&typeof window<'u'&&window[_0x98ca51(0x145)]&&(_0x5804e6=window[_0x98ca51(0x145)]),!_0x5804e6&&typeof ts<'u'&&ts[_0x98ca51(0x221)]&&(_0x5804e6=ts[_0x98ca51(0x221)]),!_0x5804e6&&typeof tc=='function')try{_0x5804e6=require(_0x98ca51(0x221));}catch{}var _0x3de7a1=function(){const _0x4dc1f7=_0x98ca51;if(_0x5804e6){if(typeof _0x5804e6[_0x4dc1f7(0x286)]==_0x4dc1f7(0x2d6))try{return _0x5804e6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5804e6[_0x4dc1f7(0x46f)]=='function')try{return _0x5804e6[_0x4dc1f7(0x46f)](0x4)[_0x4dc1f7(0x1b5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3db323=Object[_0x98ca51(0x27d)]||(function(){function _0x36647b(){}return function(_0x5505c2){const _0xb701b0=_0x46d8;var _0x198c43;return _0x36647b['prototype']=_0x5505c2,_0x198c43=new _0x36647b(),_0x36647b[_0xb701b0(0x33f)]=null,_0x198c43;};}()),_0x3e85e0={},_0x50a321=_0x3e85e0[_0x98ca51(0x118)]={},_0x32fc90=_0x50a321['Base']=(function(){return{'extend':function(_0x272069){const _0xfc10cf=_0x46d8;var _0x399017=_0x3db323(this);return _0x272069&&_0x399017[_0xfc10cf(0x394)](_0x272069),(!_0x399017['hasOwnProperty']('init')||this[_0xfc10cf(0x289)]===_0x399017[_0xfc10cf(0x289)])&&(_0x399017[_0xfc10cf(0x289)]=function(){_0x399017['$super']['init']['apply'](this,arguments);}),_0x399017[_0xfc10cf(0x289)][_0xfc10cf(0x33f)]=_0x399017,_0x399017['$super']=this,_0x399017;},'create':function(){const _0x547a8a=_0x46d8;var _0x1562d1=this[_0x547a8a(0x4a2)]();return _0x1562d1[_0x547a8a(0x289)]['apply'](_0x1562d1,arguments),_0x1562d1;},'init':function(){},'mixIn':function(_0x34c264){const _0x535ab3=_0x46d8;for(var _0x1f745f in _0x34c264)_0x34c264[_0x535ab3(0x413)](_0x1f745f)&&(this[_0x1f745f]=_0x34c264[_0x1f745f]);_0x34c264[_0x535ab3(0x413)](_0x535ab3(0x135))&&(this[_0x535ab3(0x135)]=_0x34c264['toString']);},'clone':function(){const _0x3a2fa5=_0x46d8;return this[_0x3a2fa5(0x289)][_0x3a2fa5(0x33f)][_0x3a2fa5(0x4a2)](this);}};}()),_0x246015=_0x50a321[_0x98ca51(0x1c9)]=_0x32fc90[_0x98ca51(0x4a2)]({'init':function(_0x19efb8,_0x2dbd92){const _0x15aa1d=_0x98ca51;_0x19efb8=this[_0x15aa1d(0x352)]=_0x19efb8||[],_0x2dbd92!=_0x5549ea?this['sigBytes']=_0x2dbd92:this[_0x15aa1d(0x4a3)]=_0x19efb8[_0x15aa1d(0x161)]*0x4;},'toString':function(_0x3397ad){return(_0x3397ad||_0x472cfc)['stringify'](this);},'concat':function(_0x4bbf00){const _0x47c431=_0x98ca51;var _0x33a956=this[_0x47c431(0x352)],_0xd4d8fa=_0x4bbf00[_0x47c431(0x352)],_0x131c73=this['sigBytes'],_0x8930b3=_0x4bbf00[_0x47c431(0x4a3)];if(this['clamp'](),_0x131c73%0x4)for(var _0x1eac78=0x0;_0x1eac78<_0x8930b3;_0x1eac78++){var _0x39bc60=_0xd4d8fa[_0x1eac78>>>0x2]>>>0x18-_0x1eac78%0x4*0x8&0xff;_0x33a956[_0x131c73+_0x1eac78>>>0x2]|=_0x39bc60<<0x18-(_0x131c73+_0x1eac78)%0x4*0x8;}else{for(var _0x43eb2f=0x0;_0x43eb2f<_0x8930b3;_0x43eb2f+=0x4)_0x33a956[_0x131c73+_0x43eb2f>>>0x2]=_0xd4d8fa[_0x43eb2f>>>0x2];}return this[_0x47c431(0x4a3)]+=_0x8930b3,this;},'clamp':function(){const _0x1cabee=_0x98ca51;var _0x3d7a67=this[_0x1cabee(0x352)],_0x5d188e=this[_0x1cabee(0x4a3)];_0x3d7a67[_0x5d188e>>>0x2]&=0xffffffff<<0x20-_0x5d188e%0x4*0x8,_0x3d7a67[_0x1cabee(0x161)]=_0x562cfe['ceil'](_0x5d188e/0x4);},'clone':function(){const _0x45ae1b=_0x98ca51;var _0x5ddea7=_0x32fc90[_0x45ae1b(0x2c4)][_0x45ae1b(0x494)](this);return _0x5ddea7[_0x45ae1b(0x352)]=this['words'][_0x45ae1b(0x48f)](0x0),_0x5ddea7;},'random':function(_0x309fa3){const _0x5a7207=_0x98ca51;for(var _0x10e505=[],_0x54b02e=0x0;_0x54b02e<_0x309fa3;_0x54b02e+=0x4)_0x10e505[_0x5a7207(0x22f)](_0x3de7a1());return new _0x246015[(_0x5a7207(0x289))](_0x10e505,_0x309fa3);}}),_0x59dfc1=_0x3e85e0['enc']={},_0x472cfc=_0x59dfc1[_0x98ca51(0xf0)]={'stringify':function(_0x5c4817){const _0x1fe5dd=_0x98ca51;for(var _0x48396f=_0x5c4817['words'],_0xe25b35=_0x5c4817[_0x1fe5dd(0x4a3)],_0x1d841a=[],_0x53af68=0x0;_0x53af68<_0xe25b35;_0x53af68++){var _0x5f0bdb=_0x48396f[_0x53af68>>>0x2]>>>0x18-_0x53af68%0x4*0x8&0xff;_0x1d841a['push']((_0x5f0bdb>>>0x4)[_0x1fe5dd(0x135)](0x10)),_0x1d841a[_0x1fe5dd(0x22f)]((_0x5f0bdb&0xf)[_0x1fe5dd(0x135)](0x10));}return _0x1d841a[_0x1fe5dd(0x2fc)]('');},'parse':function(_0x3309fd){const _0x2b6f25=_0x98ca51;for(var _0x547cd3=_0x3309fd['length'],_0x173643=[],_0x5e2bb5=0x0;_0x5e2bb5<_0x547cd3;_0x5e2bb5+=0x2)_0x173643[_0x5e2bb5>>>0x3]|=parseInt(_0x3309fd[_0x2b6f25(0x1e4)](_0x5e2bb5,0x2),0x10)<<0x18-_0x5e2bb5%0x8*0x4;return new _0x246015[(_0x2b6f25(0x289))](_0x173643,_0x547cd3/0x2);}},_0x470fa0=_0x59dfc1[_0x98ca51(0xa9)]={'stringify':function(_0x48499f){const _0x4ba632=_0x98ca51;for(var _0x27d363=_0x48499f[_0x4ba632(0x352)],_0x593012=_0x48499f['sigBytes'],_0xdce93a=[],_0x229bd0=0x0;_0x229bd0<_0x593012;_0x229bd0++){var _0x3f7000=_0x27d363[_0x229bd0>>>0x2]>>>0x18-_0x229bd0%0x4*0x8&0xff;_0xdce93a[_0x4ba632(0x22f)](String[_0x4ba632(0x208)](_0x3f7000));}return _0xdce93a[_0x4ba632(0x2fc)]('');},'parse':function(_0x53e04d){const _0x5c242a=_0x98ca51;for(var _0x4750ed=_0x53e04d['length'],_0x4c8565=[],_0x4d9e4e=0x0;_0x4d9e4e<_0x4750ed;_0x4d9e4e++)_0x4c8565[_0x4d9e4e>>>0x2]|=(_0x53e04d[_0x5c242a(0xcf)](_0x4d9e4e)&0xff)<<0x18-_0x4d9e4e%0x4*0x8;return new _0x246015['init'](_0x4c8565,_0x4750ed);}},_0x36665f=_0x59dfc1[_0x98ca51(0x488)]={'stringify':function(_0x8e393e){const _0x2ab546=_0x98ca51;try{return decodeURIComponent(escape(_0x470fa0['stringify'](_0x8e393e)));}catch{throw new Error(_0x2ab546(0x479));}},'parse':function(_0x1114e6){const _0x2dfd61=_0x98ca51;return _0x470fa0[_0x2dfd61(0x211)](unescape(encodeURIComponent(_0x1114e6)));}},_0xf6147a=_0x50a321[_0x98ca51(0x450)]=_0x32fc90[_0x98ca51(0x4a2)]({'reset':function(){const _0x519ebe=_0x98ca51;this[_0x519ebe(0x27e)]=new _0x246015[(_0x519ebe(0x289))](),this[_0x519ebe(0x37d)]=0x0;},'_append':function(_0x26d357){const _0x555ff3=_0x98ca51;typeof _0x26d357==_0x555ff3(0x151)&&(_0x26d357=_0x36665f['parse'](_0x26d357)),this['_data']['concat'](_0x26d357),this['_nDataBytes']+=_0x26d357['sigBytes'];},'_process':function(_0x4d7dc3){const _0x1f16e3=_0x98ca51;var _0x54efb1,_0x1cc4d1=this['_data'],_0x3e3d9f=_0x1cc4d1[_0x1f16e3(0x352)],_0x32adcc=_0x1cc4d1[_0x1f16e3(0x4a3)],_0x2d2e07=this[_0x1f16e3(0x112)],_0xf49af6=_0x2d2e07*0x4,_0x4e003d=_0x32adcc/_0xf49af6;_0x4d7dc3?_0x4e003d=_0x562cfe[_0x1f16e3(0x373)](_0x4e003d):_0x4e003d=_0x562cfe[_0x1f16e3(0x3f2)]((_0x4e003d|0x0)-this['_minBufferSize'],0x0);var _0x426619=_0x4e003d*_0x2d2e07,_0x5532d7=_0x562cfe[_0x1f16e3(0x1af)](_0x426619*0x4,_0x32adcc);if(_0x426619){for(var _0x18af55=0x0;_0x18af55<_0x426619;_0x18af55+=_0x2d2e07)this['_doProcessBlock'](_0x3e3d9f,_0x18af55);_0x54efb1=_0x3e3d9f['splice'](0x0,_0x426619),_0x1cc4d1['sigBytes']-=_0x5532d7;}return new _0x246015[(_0x1f16e3(0x289))](_0x54efb1,_0x5532d7);},'clone':function(){const _0x364066=_0x98ca51;var _0x50391a=_0x32fc90[_0x364066(0x2c4)][_0x364066(0x494)](this);return _0x50391a['_data']=this[_0x364066(0x27e)][_0x364066(0x2c4)](),_0x50391a;},'_minBufferSize':0x0});_0x50a321[_0x98ca51(0x3f7)]=_0xf6147a[_0x98ca51(0x4a2)]({'cfg':_0x32fc90[_0x98ca51(0x4a2)](),'init':function(_0x5c8b1a){const _0x5b5a13=_0x98ca51;this[_0x5b5a13(0x250)]=this[_0x5b5a13(0x250)][_0x5b5a13(0x4a2)](_0x5c8b1a),this[_0x5b5a13(0x216)]();},'reset':function(){const _0x591755=_0x98ca51;_0xf6147a[_0x591755(0x216)][_0x591755(0x494)](this),this[_0x591755(0x228)]();},'update':function(_0xadce0){const _0x2efa6d=_0x98ca51;return this[_0x2efa6d(0x245)](_0xadce0),this[_0x2efa6d(0xb9)](),this;},'finalize':function(_0x1c73f6){_0x1c73f6&&this['_append'](_0x1c73f6);var _0x4fe7b6=this['_doFinalize']();return _0x4fe7b6;},'blockSize':0x10,'_createHelper':function(_0xc3ff70){return function(_0x1dba1f,_0x529a88){const _0xa09828=_0x46d8;return new _0xc3ff70[(_0xa09828(0x289))](_0x529a88)[_0xa09828(0x17d)](_0x1dba1f);};},'_createHmacHelper':function(_0x569101){return function(_0x58ada4,_0x148b0e){const _0x5d75f0=_0x46d8;return new _0x4c8a31[(_0x5d75f0(0x1e7))]['init'](_0x569101,_0x148b0e)[_0x5d75f0(0x17d)](_0x58ada4);};}});var _0x4c8a31=_0x3e85e0[_0x98ca51(0x1b4)]={};return _0x3e85e0;}(Math);return _0x335e8f;}));}(ft)),ft[_0x39a0a1(0x317)];}var vt={'exports':{}},ic=vt[_0x2025fc(0x317)],li;function rr(){const _0x17e632=_0x2025fc;return li||(li=0x1,function(_0x42fc4c,_0x155738){(function(_0x48bfdf,_0x5887a1){_0x42fc4c['exports']=_0x5887a1(_e());}(ic,function(_0x1572ea){const _0x5bbb0b=_0x46d8;return(function(){const _0x23facd=_0x46d8;var _0x8545c=_0x1572ea,_0x3b141d=_0x8545c['lib'],_0x57e332=_0x3b141d['WordArray'],_0x4733aa=_0x8545c['enc'];_0x4733aa[_0x23facd(0x22c)]={'stringify':function(_0x2dfcbb){const _0x59ae69=_0x23facd;var _0x5c265c=_0x2dfcbb[_0x59ae69(0x352)],_0xab7ebd=_0x2dfcbb[_0x59ae69(0x4a3)],_0x2d6634=this[_0x59ae69(0x2bc)];_0x2dfcbb[_0x59ae69(0x378)]();for(var _0x1e46f3=[],_0x4a2f24=0x0;_0x4a2f24<_0xab7ebd;_0x4a2f24+=0x3)for(var _0x478ad1=_0x5c265c[_0x4a2f24>>>0x2]>>>0x18-_0x4a2f24%0x4*0x8&0xff,_0x164f67=_0x5c265c[_0x4a2f24+0x1>>>0x2]>>>0x18-(_0x4a2f24+0x1)%0x4*0x8&0xff,_0x52a9ab=_0x5c265c[_0x4a2f24+0x2>>>0x2]>>>0x18-(_0x4a2f24+0x2)%0x4*0x8&0xff,_0x5d81c2=_0x478ad1<<0x10|_0x164f67<<0x8|_0x52a9ab,_0x4daf87=0x0;_0x4daf87<0x4&&_0x4a2f24+_0x4daf87*0.75<_0xab7ebd;_0x4daf87++)_0x1e46f3[_0x59ae69(0x22f)](_0x2d6634['charAt'](_0x5d81c2>>>0x6*(0x3-_0x4daf87)&0x3f));var _0x1254dc=_0x2d6634['charAt'](0x40);if(_0x1254dc){for(;_0x1e46f3[_0x59ae69(0x161)]%0x4;)_0x1e46f3['push'](_0x1254dc);}return _0x1e46f3['join']('');},'parse':function(_0x452252){const _0x277351=_0x23facd;var _0x503646=_0x452252[_0x277351(0x161)],_0x556b0e=this['_map'],_0x138a9c=this[_0x277351(0x1de)];if(!_0x138a9c){_0x138a9c=this[_0x277351(0x1de)]=[];for(var _0xe3e8f2=0x0;_0xe3e8f2<_0x556b0e[_0x277351(0x161)];_0xe3e8f2++)_0x138a9c[_0x556b0e[_0x277351(0xcf)](_0xe3e8f2)]=_0xe3e8f2;}var _0x3c143f=_0x556b0e[_0x277351(0x11a)](0x40);if(_0x3c143f){var _0x1f6f20=_0x452252['indexOf'](_0x3c143f);_0x1f6f20!==-0x1&&(_0x503646=_0x1f6f20);}return _0x50224b(_0x452252,_0x503646,_0x138a9c);},'_map':_0x23facd(0xb3)};function _0x50224b(_0x238365,_0x48667c,_0x17268b){const _0x3142d2=_0x23facd;for(var _0x119a8e=[],_0x23978b=0x0,_0x4a06b5=0x0;_0x4a06b5<_0x48667c;_0x4a06b5++)if(_0x4a06b5%0x4){var _0x68f1b8=_0x17268b[_0x238365['charCodeAt'](_0x4a06b5-0x1)]<<_0x4a06b5%0x4*0x2,_0xb36df2=_0x17268b[_0x238365[_0x3142d2(0xcf)](_0x4a06b5)]>>>0x6-_0x4a06b5%0x4*0x2,_0x3f429e=_0x68f1b8|_0xb36df2;_0x119a8e[_0x23978b>>>0x2]|=_0x3f429e<<0x18-_0x23978b%0x4*0x8,_0x23978b++;}return _0x57e332[_0x3142d2(0x27d)](_0x119a8e,_0x23978b);}}()),_0x1572ea['enc'][_0x5bbb0b(0x22c)];}));}(vt)),vt[_0x17e632(0x317)];}var pt={'exports':{}},rc=pt[_0x2025fc(0x317)],_i;function nc(){const _0x401b46=_0x2025fc;return _i||(_i=0x1,function(_0x484283,_0x169cc8){(function(_0x37f656,_0x1c368e){const _0x3e2816=_0x46d8;_0x484283[_0x3e2816(0x317)]=_0x1c368e(_e());}(rc,function(_0x48a821){const _0x2022bd=_0x46d8;return function(_0x33e3ba){const _0x152b31=_0x46d8;var _0x308a71=_0x48a821,_0x135d98=_0x308a71[_0x152b31(0x118)],_0x173365=_0x135d98[_0x152b31(0x1c9)],_0x475382=_0x135d98[_0x152b31(0x3f7)],_0x4d56bb=_0x308a71[_0x152b31(0x1b4)],_0x1e7a19=[];(function(){const _0x3469b8=_0x152b31;for(var _0x31c2e9=0x0;_0x31c2e9<0x40;_0x31c2e9++)_0x1e7a19[_0x31c2e9]=_0x33e3ba[_0x3469b8(0x34a)](_0x33e3ba[_0x3469b8(0x226)](_0x31c2e9+0x1))*0x100000000|0x0;}());var _0x580c0d=_0x4d56bb[_0x152b31(0x218)]=_0x475382[_0x152b31(0x4a2)]({'_doReset':function(){const _0x3975b3=_0x152b31;this['_hash']=new _0x173365[(_0x3975b3(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105e1a,_0x532738){const _0x129fe4=_0x152b31;for(var _0x3ebd47=0x0;_0x3ebd47<0x10;_0x3ebd47++){var _0x10aa36=_0x532738+_0x3ebd47,_0xbbea3c=_0x105e1a[_0x10aa36];_0x105e1a[_0x10aa36]=(_0xbbea3c<<0x8|_0xbbea3c>>>0x18)&0xff00ff|(_0xbbea3c<<0x18|_0xbbea3c>>>0x8)&0xff00ff00;}var _0x2a54b4=this['_hash'][_0x129fe4(0x352)],_0x43399d=_0x105e1a[_0x532738+0x0],_0x5e8331=_0x105e1a[_0x532738+0x1],_0x190d5b=_0x105e1a[_0x532738+0x2],_0x11420b=_0x105e1a[_0x532738+0x3],_0x5e927b=_0x105e1a[_0x532738+0x4],_0x3f5b00=_0x105e1a[_0x532738+0x5],_0xab7976=_0x105e1a[_0x532738+0x6],_0x57f4fe=_0x105e1a[_0x532738+0x7],_0x50b617=_0x105e1a[_0x532738+0x8],_0x53eb6b=_0x105e1a[_0x532738+0x9],_0x1dd291=_0x105e1a[_0x532738+0xa],_0x5d1129=_0x105e1a[_0x532738+0xb],_0x41f7aa=_0x105e1a[_0x532738+0xc],_0x1af36e=_0x105e1a[_0x532738+0xd],_0x4fbe18=_0x105e1a[_0x532738+0xe],_0x5cdb9a=_0x105e1a[_0x532738+0xf],_0x108fce=_0x2a54b4[0x0],_0x3bb65f=_0x2a54b4[0x1],_0x2c0979=_0x2a54b4[0x2],_0x562c90=_0x2a54b4[0x3];_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x7,_0x1e7a19[0x0]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e8331,0xc,_0x1e7a19[0x1]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0x11,_0x1e7a19[0x2]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x11420b,0x16,_0x1e7a19[0x3]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x7,_0x1e7a19[0x4]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x3f5b00,0xc,_0x1e7a19[0x5]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0x11,_0x1e7a19[0x6]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x57f4fe,0x16,_0x1e7a19[0x7]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x7,_0x1e7a19[0x8]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x53eb6b,0xc,_0x1e7a19[0x9]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0x11,_0x1e7a19[0xa]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5d1129,0x16,_0x1e7a19[0xb]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x7,_0x1e7a19[0xc]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1af36e,0xc,_0x1e7a19[0xd]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0x11,_0x1e7a19[0xe]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5cdb9a,0x16,_0x1e7a19[0xf]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x5,_0x1e7a19[0x10]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0xab7976,0x9,_0x1e7a19[0x11]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0xe,_0x1e7a19[0x12]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x43399d,0x14,_0x1e7a19[0x13]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x5,_0x1e7a19[0x14]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1dd291,0x9,_0x1e7a19[0x15]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0xe,_0x1e7a19[0x16]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e927b,0x14,_0x1e7a19[0x17]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x5,_0x1e7a19[0x18]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x4fbe18,0x9,_0x1e7a19[0x19]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0xe,_0x1e7a19[0x1a]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x50b617,0x14,_0x1e7a19[0x1b]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x5,_0x1e7a19[0x1c]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x190d5b,0x9,_0x1e7a19[0x1d]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0xe,_0x1e7a19[0x1e]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x41f7aa,0x14,_0x1e7a19[0x1f]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x4,_0x1e7a19[0x20]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x50b617,0xb,_0x1e7a19[0x21]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0x10,_0x1e7a19[0x22]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x4fbe18,0x17,_0x1e7a19[0x23]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x4,_0x1e7a19[0x24]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e927b,0xb,_0x1e7a19[0x25]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0x10,_0x1e7a19[0x26]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1dd291,0x17,_0x1e7a19[0x27]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x4,_0x1e7a19[0x28]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x43399d,0xb,_0x1e7a19[0x29]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0x10,_0x1e7a19[0x2a]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0xab7976,0x17,_0x1e7a19[0x2b]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x4,_0x1e7a19[0x2c]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x41f7aa,0xb,_0x1e7a19[0x2d]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0x10,_0x1e7a19[0x2e]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x190d5b,0x17,_0x1e7a19[0x2f]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x6,_0x1e7a19[0x30]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x57f4fe,0xa,_0x1e7a19[0x31]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0xf,_0x1e7a19[0x32]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x3f5b00,0x15,_0x1e7a19[0x33]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x6,_0x1e7a19[0x34]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x11420b,0xa,_0x1e7a19[0x35]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0xf,_0x1e7a19[0x36]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e8331,0x15,_0x1e7a19[0x37]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x6,_0x1e7a19[0x38]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5cdb9a,0xa,_0x1e7a19[0x39]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0xf,_0x1e7a19[0x3a]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1af36e,0x15,_0x1e7a19[0x3b]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x6,_0x1e7a19[0x3c]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5d1129,0xa,_0x1e7a19[0x3d]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0xf,_0x1e7a19[0x3e]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x53eb6b,0x15,_0x1e7a19[0x3f]),_0x2a54b4[0x0]=_0x2a54b4[0x0]+_0x108fce|0x0,_0x2a54b4[0x1]=_0x2a54b4[0x1]+_0x3bb65f|0x0,_0x2a54b4[0x2]=_0x2a54b4[0x2]+_0x2c0979|0x0,_0x2a54b4[0x3]=_0x2a54b4[0x3]+_0x562c90|0x0;},'_doFinalize':function(){const _0x51c478=_0x152b31;var _0x16f8f3=this[_0x51c478(0x27e)],_0x20c863=_0x16f8f3['words'],_0x70b1dc=this['_nDataBytes']*0x8,_0x163965=_0x16f8f3[_0x51c478(0x4a3)]*0x8;_0x20c863[_0x163965>>>0x5]|=0x80<<0x18-_0x163965%0x20;var _0xcd0f76=_0x33e3ba[_0x51c478(0x127)](_0x70b1dc/0x100000000),_0x1b28c5=_0x70b1dc;_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xf]=(_0xcd0f76<<0x8|_0xcd0f76>>>0x18)&0xff00ff|(_0xcd0f76<<0x18|_0xcd0f76>>>0x8)&0xff00ff00,_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xe]=(_0x1b28c5<<0x8|_0x1b28c5>>>0x18)&0xff00ff|(_0x1b28c5<<0x18|_0x1b28c5>>>0x8)&0xff00ff00,_0x16f8f3[_0x51c478(0x4a3)]=(_0x20c863[_0x51c478(0x161)]+0x1)*0x4,this[_0x51c478(0xb9)]();for(var _0x50be95=this[_0x51c478(0x3bf)],_0x31464b=_0x50be95['words'],_0x4c58a4=0x0;_0x4c58a4<0x4;_0x4c58a4++){var _0x4b89fc=_0x31464b[_0x4c58a4];_0x31464b[_0x4c58a4]=(_0x4b89fc<<0x8|_0x4b89fc>>>0x18)&0xff00ff|(_0x4b89fc<<0x18|_0x4b89fc>>>0x8)&0xff00ff00;}return _0x50be95;},'clone':function(){const _0x5500a4=_0x152b31;var _0x1a765f=_0x475382[_0x5500a4(0x2c4)]['call'](this);return _0x1a765f[_0x5500a4(0x3bf)]=this[_0x5500a4(0x3bf)][_0x5500a4(0x2c4)](),_0x1a765f;}});function _0x23cdc2(_0x325bb6,_0x4d2f0f,_0x3fac72,_0x33e294,_0x9e75b1,_0x11be50,_0x1e26d0){var _0x290fc6=_0x325bb6+(_0x4d2f0f&_0x3fac72|~_0x4d2f0f&_0x33e294)+_0x9e75b1+_0x1e26d0;return(_0x290fc6<<_0x11be50|_0x290fc6>>>0x20-_0x11be50)+_0x4d2f0f;}function _0xcc315d(_0x1a9f89,_0x53d816,_0x165ea5,_0xd166fc,_0x406af4,_0x116943,_0xb7a0e3){var _0xffdb35=_0x1a9f89+(_0x53d816&_0xd166fc|_0x165ea5&~_0xd166fc)+_0x406af4+_0xb7a0e3;return(_0xffdb35<<_0x116943|_0xffdb35>>>0x20-_0x116943)+_0x53d816;}function _0x391572(_0x2ac7af,_0xceefd3,_0x565f95,_0x3eda20,_0x46056c,_0x44f073,_0x12ac4c){var _0x1d9e39=_0x2ac7af+(_0xceefd3^_0x565f95^_0x3eda20)+_0x46056c+_0x12ac4c;return(_0x1d9e39<<_0x44f073|_0x1d9e39>>>0x20-_0x44f073)+_0xceefd3;}function _0x18800e(_0x307826,_0x592293,_0x15fcc3,_0x410b54,_0x14ddd2,_0x10bc15,_0x51104a){var _0x46d294=_0x307826+(_0x15fcc3^(_0x592293|~_0x410b54))+_0x14ddd2+_0x51104a;return(_0x46d294<<_0x10bc15|_0x46d294>>>0x20-_0x10bc15)+_0x592293;}_0x308a71['MD5']=_0x475382[_0x152b31(0xb5)](_0x580c0d),_0x308a71[_0x152b31(0x15e)]=_0x475382[_0x152b31(0x2a3)](_0x580c0d);}(Math),_0x48a821[_0x2022bd(0x218)];}));}(pt)),pt[_0x401b46(0x317)];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){const _0x540eea=_0x2025fc;return ui||(ui=0x1,function(_0x5b01ee,_0xef0f57){(function(_0x3e5d8d,_0x401caa){const _0x1569db=_0x46d8;_0x5b01ee[_0x1569db(0x317)]=_0x401caa(_e());}(oc,function(_0x40d8d3){return(function(){const _0x4e8a82=_0x46d8;var _0x335ecf=_0x40d8d3,_0x1962d5=_0x335ecf[_0x4e8a82(0x118)],_0x516d47=_0x1962d5[_0x4e8a82(0x1c9)],_0x3d6380=_0x1962d5[_0x4e8a82(0x3f7)],_0xeaabf3=_0x335ecf[_0x4e8a82(0x1b4)],_0x53eb51=[],_0x14a88d=_0xeaabf3[_0x4e8a82(0x3d2)]=_0x3d6380['extend']({'_doReset':function(){const _0x28109f=_0x4e8a82;this[_0x28109f(0x3bf)]=new _0x516d47[(_0x28109f(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d2490,_0x4780db){const _0x1714a6=_0x4e8a82;for(var _0xb9b468=this[_0x1714a6(0x3bf)][_0x1714a6(0x352)],_0x334729=_0xb9b468[0x0],_0x217c4e=_0xb9b468[0x1],_0x3e798d=_0xb9b468[0x2],_0x3759f3=_0xb9b468[0x3],_0x26b037=_0xb9b468[0x4],_0x27b40c=0x0;_0x27b40c<0x50;_0x27b40c++){if(_0x27b40c<0x10)_0x53eb51[_0x27b40c]=_0x4d2490[_0x4780db+_0x27b40c]|0x0;else{var _0x3b07aa=_0x53eb51[_0x27b40c-0x3]^_0x53eb51[_0x27b40c-0x8]^_0x53eb51[_0x27b40c-0xe]^_0x53eb51[_0x27b40c-0x10];_0x53eb51[_0x27b40c]=_0x3b07aa<<0x1|_0x3b07aa>>>0x1f;}var _0x33f08d=(_0x334729<<0x5|_0x334729>>>0x1b)+_0x26b037+_0x53eb51[_0x27b40c];_0x27b40c<0x14?_0x33f08d+=(_0x217c4e&_0x3e798d|~_0x217c4e&_0x3759f3)+0x5a827999:_0x27b40c<0x28?_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)+0x6ed9eba1:_0x27b40c<0x3c?_0x33f08d+=(_0x217c4e&_0x3e798d|_0x217c4e&_0x3759f3|_0x3e798d&_0x3759f3)-0x70e44324:_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)-0x359d3e2a,_0x26b037=_0x3759f3,_0x3759f3=_0x3e798d,_0x3e798d=_0x217c4e<<0x1e|_0x217c4e>>>0x2,_0x217c4e=_0x334729,_0x334729=_0x33f08d;}_0xb9b468[0x0]=_0xb9b468[0x0]+_0x334729|0x0,_0xb9b468[0x1]=_0xb9b468[0x1]+_0x217c4e|0x0,_0xb9b468[0x2]=_0xb9b468[0x2]+_0x3e798d|0x0,_0xb9b468[0x3]=_0xb9b468[0x3]+_0x3759f3|0x0,_0xb9b468[0x4]=_0xb9b468[0x4]+_0x26b037|0x0;},'_doFinalize':function(){const _0x1a579d=_0x4e8a82;var _0x5aaf55=this[_0x1a579d(0x27e)],_0x345e7f=_0x5aaf55[_0x1a579d(0x352)],_0x5bb244=this[_0x1a579d(0x37d)]*0x8,_0x3e4aef=_0x5aaf55[_0x1a579d(0x4a3)]*0x8;return _0x345e7f[_0x3e4aef>>>0x5]|=0x80<<0x18-_0x3e4aef%0x20,_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a579d(0x127)](_0x5bb244/0x100000000),_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xf]=_0x5bb244,_0x5aaf55[_0x1a579d(0x4a3)]=_0x345e7f[_0x1a579d(0x161)]*0x4,this[_0x1a579d(0xb9)](),this[_0x1a579d(0x3bf)];},'clone':function(){const _0x14ea1c=_0x4e8a82;var _0x53fa84=_0x3d6380[_0x14ea1c(0x2c4)]['call'](this);return _0x53fa84[_0x14ea1c(0x3bf)]=this[_0x14ea1c(0x3bf)][_0x14ea1c(0x2c4)](),_0x53fa84;}});_0x335ecf['SHA1']=_0x3d6380[_0x4e8a82(0xb5)](_0x14a88d),_0x335ecf[_0x4e8a82(0x108)]=_0x3d6380['_createHmacHelper'](_0x14a88d);}()),_0x40d8d3['SHA1'];}));}(gt)),gt[_0x540eea(0x317)];}var St={'exports':{}},cc=St['exports'],di;function hc(){const _0x314e7c=_0x2025fc;return di||(di=0x1,function(_0x4ddde0,_0x2b3d4a){(function(_0x251aa1,_0x422e75){const _0x5bd9b8=_0x46d8;_0x4ddde0[_0x5bd9b8(0x317)]=_0x422e75(_e());}(cc,function(_0xe87935){(function(){const _0x1324a3=_0x46d8;var _0x4e26eb=_0xe87935,_0x2e2718=_0x4e26eb[_0x1324a3(0x118)],_0x1a23bc=_0x2e2718[_0x1324a3(0x298)],_0x574d2b=_0x4e26eb[_0x1324a3(0xdb)],_0x25196f=_0x574d2b[_0x1324a3(0x488)],_0x53887f=_0x4e26eb[_0x1324a3(0x1b4)];_0x53887f[_0x1324a3(0x1e7)]=_0x1a23bc[_0x1324a3(0x4a2)]({'init':function(_0x41ac01,_0x3c1e17){const _0x51eefe=_0x1324a3;_0x41ac01=this[_0x51eefe(0x107)]=new _0x41ac01['init'](),typeof _0x3c1e17==_0x51eefe(0x151)&&(_0x3c1e17=_0x25196f[_0x51eefe(0x211)](_0x3c1e17));var _0x464049=_0x41ac01[_0x51eefe(0x112)],_0xdcc8c0=_0x464049*0x4;_0x3c1e17[_0x51eefe(0x4a3)]>_0xdcc8c0&&(_0x3c1e17=_0x41ac01[_0x51eefe(0x17d)](_0x3c1e17)),_0x3c1e17[_0x51eefe(0x378)]();for(var _0x32a8b7=this[_0x51eefe(0x284)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x403a2d=this[_0x51eefe(0x25f)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x50b851=_0x32a8b7[_0x51eefe(0x352)],_0x149ec7=_0x403a2d[_0x51eefe(0x352)],_0x29dc6c=0x0;_0x29dc6c<_0x464049;_0x29dc6c++)_0x50b851[_0x29dc6c]^=0x5c5c5c5c,_0x149ec7[_0x29dc6c]^=0x36363636;_0x32a8b7[_0x51eefe(0x4a3)]=_0x403a2d[_0x51eefe(0x4a3)]=_0xdcc8c0,this[_0x51eefe(0x216)]();},'reset':function(){const _0x51706a=_0x1324a3;var _0xd3f15e=this[_0x51706a(0x107)];_0xd3f15e['reset'](),_0xd3f15e[_0x51706a(0xbf)](this[_0x51706a(0x25f)]);},'update':function(_0x139dcd){return this['_hasher']['update'](_0x139dcd),this;},'finalize':function(_0x42b305){const _0x3a4e49=_0x1324a3;var _0x2a12b8=this[_0x3a4e49(0x107)],_0x1a91a5=_0x2a12b8['finalize'](_0x42b305);_0x2a12b8['reset']();var _0x95c138=_0x2a12b8[_0x3a4e49(0x17d)](this['_oKey']['clone']()[_0x3a4e49(0x40a)](_0x1a91a5));return _0x95c138;}});}());}));}(St)),St[_0x314e7c(0x317)];}var lc=mt['exports'],fi;function _0x46d8(_0x7ce7e9,_0x453604){const _0x5197c2=_0x5197();return _0x46d8=function(_0x46d88f,_0x302619){_0x46d88f=_0x46d88f-0xa4;let _0x400d2c=_0x5197c2[_0x46d88f];return _0x400d2c;},_0x46d8(_0x7ce7e9,_0x453604);}function nr(){const _0x22af66=_0x2025fc;return fi||(fi=0x1,function(_0x1401db,_0x1fcd16){(function(_0x2490a6,_0x342771,_0x153c8d){const _0x30fb07=_0x46d8;_0x1401db[_0x30fb07(0x317)]=_0x342771(_e(),ac(),hc());}(lc,function(_0x148432){return(function(){const _0x5b28fc=_0x46d8;var _0x2448e5=_0x148432,_0xc0f0ec=_0x2448e5['lib'],_0x1a82a1=_0xc0f0ec[_0x5b28fc(0x298)],_0x4be92a=_0xc0f0ec[_0x5b28fc(0x1c9)],_0x4d1d4c=_0x2448e5[_0x5b28fc(0x1b4)],_0x2c0e45=_0x4d1d4c['MD5'],_0x4e4088=_0x4d1d4c[_0x5b28fc(0x2ba)]=_0x1a82a1[_0x5b28fc(0x4a2)]({'cfg':_0x1a82a1[_0x5b28fc(0x4a2)]({'keySize':0x80/0x20,'hasher':_0x2c0e45,'iterations':0x1}),'init':function(_0x4731b2){const _0x27fe2f=_0x5b28fc;this[_0x27fe2f(0x250)]=this['cfg']['extend'](_0x4731b2);},'compute':function(_0x50e5a5,_0x4aaf1c){const _0x5abf7b=_0x5b28fc;for(var _0x945380,_0x17337c=this[_0x5abf7b(0x250)],_0x15fe18=_0x17337c[_0x5abf7b(0x261)][_0x5abf7b(0x27d)](),_0x2b632f=_0x4be92a[_0x5abf7b(0x27d)](),_0x54813e=_0x2b632f[_0x5abf7b(0x352)],_0x3d03c3=_0x17337c[_0x5abf7b(0x254)],_0x43d092=_0x17337c['iterations'];_0x54813e[_0x5abf7b(0x161)]<_0x3d03c3;){_0x945380&&_0x15fe18[_0x5abf7b(0xbf)](_0x945380),_0x945380=_0x15fe18['update'](_0x50e5a5)[_0x5abf7b(0x17d)](_0x4aaf1c),_0x15fe18[_0x5abf7b(0x216)]();for(var _0x1e55e5=0x1;_0x1e55e5<_0x43d092;_0x1e55e5++)_0x945380=_0x15fe18[_0x5abf7b(0x17d)](_0x945380),_0x15fe18[_0x5abf7b(0x216)]();_0x2b632f[_0x5abf7b(0x40a)](_0x945380);}return _0x2b632f[_0x5abf7b(0x4a3)]=_0x3d03c3*0x4,_0x2b632f;}});_0x2448e5[_0x5b28fc(0x2ba)]=function(_0x1b67e1,_0x55b086,_0x4f00d6){const _0x18b3d2=_0x5b28fc;return _0x4e4088[_0x18b3d2(0x27d)](_0x4f00d6)[_0x18b3d2(0x2ca)](_0x1b67e1,_0x55b086);};}()),_0x148432['EvpKDF'];}));}(mt)),mt[_0x22af66(0x317)];}var It={'exports':{}},_c=It[_0x2025fc(0x317)],vi;function or(){return vi||(vi=0x1,function(_0x437363,_0x18ef93){(function(_0x4a8e7b,_0x5396d3,_0x162549){const _0x24a4b6=_0x46d8;_0x437363[_0x24a4b6(0x317)]=_0x5396d3(_e(),nr());}(_c,function(_0x4cdc08){_0x4cdc08['lib']['Cipher']||function(_0x75539f){const _0x1a834e=_0x46d8;var _0x131487=_0x4cdc08,_0x43dedf=_0x131487[_0x1a834e(0x118)],_0x4ba3e6=_0x43dedf['Base'],_0x16e173=_0x43dedf[_0x1a834e(0x1c9)],_0x1ec9d7=_0x43dedf[_0x1a834e(0x450)],_0x9dcb7=_0x131487['enc'];_0x9dcb7[_0x1a834e(0x488)];var _0x1d8690=_0x9dcb7[_0x1a834e(0x22c)],_0xa36d5e=_0x131487[_0x1a834e(0x1b4)],_0x1a5c2d=_0xa36d5e[_0x1a834e(0x2ba)],_0x170403=_0x43dedf[_0x1a834e(0x31d)]=_0x1ec9d7[_0x1a834e(0x4a2)]({'cfg':_0x4ba3e6[_0x1a834e(0x4a2)](),'createEncryptor':function(_0x599fa6,_0x4740ec){const _0x2e08f9=_0x1a834e;return this[_0x2e08f9(0x27d)](this[_0x2e08f9(0x3db)],_0x599fa6,_0x4740ec);},'createDecryptor':function(_0x2a4bd3,_0x193aca){const _0x139219=_0x1a834e;return this[_0x139219(0x27d)](this[_0x139219(0x10d)],_0x2a4bd3,_0x193aca);},'init':function(_0x3e5d11,_0x13a032,_0x236e6d){const _0x5b8894=_0x1a834e;this['cfg']=this['cfg'][_0x5b8894(0x4a2)](_0x236e6d),this[_0x5b8894(0x313)]=_0x3e5d11,this[_0x5b8894(0x306)]=_0x13a032,this[_0x5b8894(0x216)]();},'reset':function(){const _0x5a26e7=_0x1a834e;_0x1ec9d7[_0x5a26e7(0x216)][_0x5a26e7(0x494)](this),this[_0x5a26e7(0x228)]();},'process':function(_0x4992e0){const _0x1b0f79=_0x1a834e;return this[_0x1b0f79(0x245)](_0x4992e0),this[_0x1b0f79(0xb9)]();},'finalize':function(_0xccdd70){_0xccdd70&&this['_append'](_0xccdd70);var _0x3df9b=this['_doFinalize']();return _0x3df9b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bb796(_0x229dd5){const _0x42d92f=_0x46d8;return typeof _0x229dd5==_0x42d92f(0x151)?_0x4c24a3:_0xf309e7;}return function(_0x1f1c02){return{'encrypt':function(_0x5552f0,_0x1946ea,_0x53cda0){const _0x30e37a=_0x46d8;return _0x4bb796(_0x1946ea)[_0x30e37a(0x36a)](_0x1f1c02,_0x5552f0,_0x1946ea,_0x53cda0);},'decrypt':function(_0x4643ca,_0x44b12a,_0x5ed82b){const _0x470b7f=_0x46d8;return _0x4bb796(_0x44b12a)[_0x470b7f(0xbe)](_0x1f1c02,_0x4643ca,_0x44b12a,_0x5ed82b);}};};}())});_0x43dedf['StreamCipher']=_0x170403[_0x1a834e(0x4a2)]({'_doFinalize':function(){const _0x1366b8=_0x1a834e;var _0xc43c70=this[_0x1366b8(0xb9)](!0x0);return _0xc43c70;},'blockSize':0x1});var _0x489559=_0x131487['mode']={},_0x158b9d=_0x43dedf[_0x1a834e(0x353)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'createEncryptor':function(_0xe71ab9,_0x346906){const _0x1d0642=_0x1a834e;return this[_0x1d0642(0x205)][_0x1d0642(0x27d)](_0xe71ab9,_0x346906);},'createDecryptor':function(_0x308509,_0x522959){const _0x97010a=_0x1a834e;return this[_0x97010a(0x255)][_0x97010a(0x27d)](_0x308509,_0x522959);},'init':function(_0x20c6f9,_0x1d6e29){const _0x19012b=_0x1a834e;this[_0x19012b(0x434)]=_0x20c6f9,this[_0x19012b(0x355)]=_0x1d6e29;}}),_0x2c8fd0=_0x489559['CBC']=(function(){const _0xa07ae1=_0x1a834e;var _0x4a0679=_0x158b9d['extend']();_0x4a0679[_0xa07ae1(0x205)]=_0x4a0679['extend']({'processBlock':function(_0x435b8b,_0x16e3dc){const _0x3f05d0=_0xa07ae1;var _0x1e06b9=this[_0x3f05d0(0x434)],_0x4d3141=_0x1e06b9[_0x3f05d0(0x112)];_0x166e7d[_0x3f05d0(0x494)](this,_0x435b8b,_0x16e3dc,_0x4d3141),_0x1e06b9['encryptBlock'](_0x435b8b,_0x16e3dc),this[_0x3f05d0(0x305)]=_0x435b8b[_0x3f05d0(0x48f)](_0x16e3dc,_0x16e3dc+_0x4d3141);}}),_0x4a0679[_0xa07ae1(0x255)]=_0x4a0679['extend']({'processBlock':function(_0xbfe314,_0x4b9807){const _0x7f1adf=_0xa07ae1;var _0xb17a73=this['_cipher'],_0x5c374f=_0xb17a73[_0x7f1adf(0x112)],_0x277182=_0xbfe314[_0x7f1adf(0x48f)](_0x4b9807,_0x4b9807+_0x5c374f);_0xb17a73[_0x7f1adf(0x3f0)](_0xbfe314,_0x4b9807),_0x166e7d[_0x7f1adf(0x494)](this,_0xbfe314,_0x4b9807,_0x5c374f),this['_prevBlock']=_0x277182;}});function _0x166e7d(_0x31d75a,_0x11eb71,_0x2071f9){const _0x5b4b7c=_0xa07ae1;var _0x4b1168,_0x4864dc=this['_iv'];_0x4864dc?(_0x4b1168=_0x4864dc,this['_iv']=_0x75539f):_0x4b1168=this[_0x5b4b7c(0x305)];for(var _0x2d2e67=0x0;_0x2d2e67<_0x2071f9;_0x2d2e67++)_0x31d75a[_0x11eb71+_0x2d2e67]^=_0x4b1168[_0x2d2e67];}return _0x4a0679;}()),_0x37e52c=_0x131487[_0x1a834e(0x45f)]={},_0x70b5a3=_0x37e52c[_0x1a834e(0x234)]={'pad':function(_0x348bb6,_0x12f930){const _0x24703b=_0x1a834e;for(var _0x56529b=_0x12f930*0x4,_0x28a59e=_0x56529b-_0x348bb6[_0x24703b(0x4a3)]%_0x56529b,_0x2e3343=_0x28a59e<<0x18|_0x28a59e<<0x10|_0x28a59e<<0x8|_0x28a59e,_0x1506d5=[],_0x17685d=0x0;_0x17685d<_0x28a59e;_0x17685d+=0x4)_0x1506d5[_0x24703b(0x22f)](_0x2e3343);var _0x5ee0b8=_0x16e173[_0x24703b(0x27d)](_0x1506d5,_0x28a59e);_0x348bb6[_0x24703b(0x40a)](_0x5ee0b8);},'unpad':function(_0x6938d2){const _0x181535=_0x1a834e;var _0x4b5186=_0x6938d2[_0x181535(0x352)][_0x6938d2[_0x181535(0x4a3)]-0x1>>>0x2]&0xff;_0x6938d2[_0x181535(0x4a3)]-=_0x4b5186;}};_0x43dedf[_0x1a834e(0xdd)]=_0x170403[_0x1a834e(0x4a2)]({'cfg':_0x170403['cfg'][_0x1a834e(0x4a2)]({'mode':_0x2c8fd0,'padding':_0x70b5a3}),'reset':function(){const _0x2d9c9e=_0x1a834e;var _0x588d05;_0x170403[_0x2d9c9e(0x216)][_0x2d9c9e(0x494)](this);var _0x3c7854=this['cfg'],_0x309558=_0x3c7854['iv'],_0x1472c9=_0x3c7854[_0x2d9c9e(0x324)];this[_0x2d9c9e(0x313)]==this[_0x2d9c9e(0x3db)]?_0x588d05=_0x1472c9[_0x2d9c9e(0x3d4)]:(_0x588d05=_0x1472c9['createDecryptor'],this[_0x2d9c9e(0x12d)]=0x1),this['_mode']&&this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]==_0x588d05?this['_mode']['init'](this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]):(this[_0x2d9c9e(0x1e9)]=_0x588d05[_0x2d9c9e(0x494)](_0x1472c9,this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]),this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]=_0x588d05);},'_doProcessBlock':function(_0x457140,_0x1cfef1){const _0x54b27b=_0x1a834e;this[_0x54b27b(0x1e9)]['processBlock'](_0x457140,_0x1cfef1);},'_doFinalize':function(){const _0x2a5a69=_0x1a834e;var _0x8254fa,_0x3e1a0c=this[_0x2a5a69(0x250)]['padding'];return this[_0x2a5a69(0x313)]==this['_ENC_XFORM_MODE']?(_0x3e1a0c['pad'](this[_0x2a5a69(0x27e)],this[_0x2a5a69(0x112)]),_0x8254fa=this[_0x2a5a69(0xb9)](!0x0)):(_0x8254fa=this[_0x2a5a69(0xb9)](!0x0),_0x3e1a0c[_0x2a5a69(0x1e0)](_0x8254fa)),_0x8254fa;},'blockSize':0x80/0x20});var _0x2a4e40=_0x43dedf[_0x1a834e(0xeb)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'init':function(_0x1a4d2f){this['mixIn'](_0x1a4d2f);},'toString':function(_0x61b07b){const _0x5723ca=_0x1a834e;return(_0x61b07b||this[_0x5723ca(0x126)])[_0x5723ca(0x11e)](this);}}),_0xf37682=_0x131487[_0x1a834e(0x224)]={},_0x3fccaa=_0xf37682[_0x1a834e(0x120)]={'stringify':function(_0x3c99f1){const _0x455810=_0x1a834e;var _0x278aef,_0x53ee10=_0x3c99f1['ciphertext'],_0x1747a1=_0x3c99f1[_0x455810(0x1fd)];return _0x1747a1?_0x278aef=_0x16e173[_0x455810(0x27d)]([0x53616c74,0x65645f5f])[_0x455810(0x40a)](_0x1747a1)[_0x455810(0x40a)](_0x53ee10):_0x278aef=_0x53ee10,_0x278aef[_0x455810(0x135)](_0x1d8690);},'parse':function(_0x185270){const _0xdaa06b=_0x1a834e;var _0x3bbd6b,_0x5580a0=_0x1d8690[_0xdaa06b(0x211)](_0x185270),_0x3cdf65=_0x5580a0['words'];return _0x3cdf65[0x0]==0x53616c74&&_0x3cdf65[0x1]==0x65645f5f&&(_0x3bbd6b=_0x16e173[_0xdaa06b(0x27d)](_0x3cdf65['slice'](0x2,0x4)),_0x3cdf65['splice'](0x0,0x4),_0x5580a0[_0xdaa06b(0x4a3)]-=0x10),_0x2a4e40[_0xdaa06b(0x27d)]({'ciphertext':_0x5580a0,'salt':_0x3bbd6b});}},_0xf309e7=_0x43dedf[_0x1a834e(0x31e)]=_0x4ba3e6['extend']({'cfg':_0x4ba3e6['extend']({'format':_0x3fccaa}),'encrypt':function(_0x3d6186,_0x3c396f,_0x3f3803,_0x5b1cdd){const _0x15a56f=_0x1a834e;_0x5b1cdd=this[_0x15a56f(0x250)]['extend'](_0x5b1cdd);var _0x21f2a2=_0x3d6186[_0x15a56f(0x3d4)](_0x3f3803,_0x5b1cdd),_0x4fd2a0=_0x21f2a2[_0x15a56f(0x17d)](_0x3c396f),_0x48518f=_0x21f2a2[_0x15a56f(0x250)];return _0x2a4e40[_0x15a56f(0x27d)]({'ciphertext':_0x4fd2a0,'key':_0x3f3803,'iv':_0x48518f['iv'],'algorithm':_0x3d6186,'mode':_0x48518f['mode'],'padding':_0x48518f[_0x15a56f(0x3bb)],'blockSize':_0x3d6186[_0x15a56f(0x112)],'formatter':_0x5b1cdd['format']});},'decrypt':function(_0x1d3387,_0x398913,_0x1c0ff3,_0x4c712d){const _0x456bb8=_0x1a834e;_0x4c712d=this[_0x456bb8(0x250)][_0x456bb8(0x4a2)](_0x4c712d),_0x398913=this[_0x456bb8(0x256)](_0x398913,_0x4c712d[_0x456bb8(0x224)]);var _0x350edc=_0x1d3387[_0x456bb8(0x2c2)](_0x1c0ff3,_0x4c712d)['finalize'](_0x398913[_0x456bb8(0x27a)]);return _0x350edc;},'_parse':function(_0x49f215,_0x2b8e93){const _0x3c99a6=_0x1a834e;return typeof _0x49f215==_0x3c99a6(0x151)?_0x2b8e93[_0x3c99a6(0x211)](_0x49f215,this):_0x49f215;}}),_0x4d8783=_0x131487[_0x1a834e(0x1d1)]={},_0x33710c=_0x4d8783[_0x1a834e(0x120)]={'execute':function(_0x29f753,_0x5bcece,_0x223538,_0xc7285c,_0x2902b7){const _0xc1b969=_0x1a834e;if(_0xc7285c||(_0xc7285c=_0x16e173['random'](0x40/0x8)),_0x2902b7)var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538,'hasher':_0x2902b7})[_0xc1b969(0x2ca)](_0x29f753,_0xc7285c);else var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538})['compute'](_0x29f753,_0xc7285c);var _0x2752f5=_0x16e173[_0xc1b969(0x27d)](_0x58815d['words'][_0xc1b969(0x48f)](_0x5bcece),_0x223538*0x4);return _0x58815d[_0xc1b969(0x4a3)]=_0x5bcece*0x4,_0x2a4e40[_0xc1b969(0x27d)]({'key':_0x58815d,'iv':_0x2752f5,'salt':_0xc7285c});}},_0x4c24a3=_0x43dedf[_0x1a834e(0xb0)]=_0xf309e7[_0x1a834e(0x4a2)]({'cfg':_0xf309e7[_0x1a834e(0x250)]['extend']({'kdf':_0x33710c}),'encrypt':function(_0x14c49d,_0x5b5c6f,_0x360216,_0x234a25){const _0x381bc6=_0x1a834e;_0x234a25=this[_0x381bc6(0x250)]['extend'](_0x234a25);var _0x341211=_0x234a25['kdf'][_0x381bc6(0x2dc)](_0x360216,_0x14c49d[_0x381bc6(0x254)],_0x14c49d[_0x381bc6(0x141)],_0x234a25[_0x381bc6(0x1fd)],_0x234a25[_0x381bc6(0x261)]);_0x234a25['iv']=_0x341211['iv'];var _0x265d0=_0xf309e7[_0x381bc6(0x36a)][_0x381bc6(0x494)](this,_0x14c49d,_0x5b5c6f,_0x341211['key'],_0x234a25);return _0x265d0[_0x381bc6(0x394)](_0x341211),_0x265d0;},'decrypt':function(_0x212295,_0x1c8ac9,_0x5b2f0e,_0x45df94){const _0x462d78=_0x1a834e;_0x45df94=this['cfg'][_0x462d78(0x4a2)](_0x45df94),_0x1c8ac9=this[_0x462d78(0x256)](_0x1c8ac9,_0x45df94[_0x462d78(0x224)]);var _0x528992=_0x45df94[_0x462d78(0x1d1)]['execute'](_0x5b2f0e,_0x212295[_0x462d78(0x254)],_0x212295[_0x462d78(0x141)],_0x1c8ac9[_0x462d78(0x1fd)],_0x45df94['hasher']);_0x45df94['iv']=_0x528992['iv'];var _0x402c6c=_0xf309e7['decrypt'][_0x462d78(0x494)](this,_0x212295,_0x1c8ac9,_0x528992[_0x462d78(0x45c)],_0x45df94);return _0x402c6c;}});}();}));}(It)),It['exports'];}var uc=dt[_0x2025fc(0x317)],pi;function dc(){const _0x3afdcd=_0x2025fc;return pi||(pi=0x1,function(_0x3e79f6,_0x1e2016){(function(_0x119ac0,_0x2ce047,_0x56f06c){const _0x3bf0e4=_0x46d8;_0x3e79f6[_0x3bf0e4(0x317)]=_0x2ce047(_e(),rr(),nc(),nr(),or());}(uc,function(_0x278a9c){const _0x55ff72=_0x46d8;return(function(){const _0x2e4fb1=_0x46d8;var _0x30f791=_0x278a9c,_0x1f3da1=_0x30f791[_0x2e4fb1(0x118)],_0x1af67c=_0x1f3da1[_0x2e4fb1(0xdd)],_0x4bd355=_0x30f791[_0x2e4fb1(0x1b4)],_0x5367ed=[],_0x185cc8=[],_0x22e6e1=[],_0x1060bc=[],_0x9e24e5=[],_0x31ea26=[],_0x14e023=[],_0x507ab5=[],_0x3c9e17=[],_0x57dcfb=[];(function(){for(var _0x39d0ef=[],_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++)_0x4b896b<0x80?_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1:_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1^0x11b;for(var _0x2cb7bc=0x0,_0x3bec17=0x0,_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++){var _0x168dfc=_0x3bec17^_0x3bec17<<0x1^_0x3bec17<<0x2^_0x3bec17<<0x3^_0x3bec17<<0x4;_0x168dfc=_0x168dfc>>>0x8^_0x168dfc&0xff^0x63,_0x5367ed[_0x2cb7bc]=_0x168dfc,_0x185cc8[_0x168dfc]=_0x2cb7bc;var _0x75f292=_0x39d0ef[_0x2cb7bc],_0x36e8b9=_0x39d0ef[_0x75f292],_0x347ff9=_0x39d0ef[_0x36e8b9],_0x369bf4=_0x39d0ef[_0x168dfc]*0x101^_0x168dfc*0x1010100;_0x22e6e1[_0x2cb7bc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x1060bc[_0x2cb7bc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x9e24e5[_0x2cb7bc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x31ea26[_0x2cb7bc]=_0x369bf4;var _0x369bf4=_0x347ff9*0x1010101^_0x36e8b9*0x10001^_0x75f292*0x101^_0x2cb7bc*0x1010100;_0x14e023[_0x168dfc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x507ab5[_0x168dfc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x3c9e17[_0x168dfc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x57dcfb[_0x168dfc]=_0x369bf4,_0x2cb7bc?(_0x2cb7bc=_0x75f292^_0x39d0ef[_0x39d0ef[_0x39d0ef[_0x347ff9^_0x75f292]]],_0x3bec17^=_0x39d0ef[_0x39d0ef[_0x3bec17]]):_0x2cb7bc=_0x3bec17=0x1;}}());var _0x43dc6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4a9580=_0x4bd355[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0x4a2)]({'_doReset':function(){const _0x16b0a9=_0x2e4fb1;var _0x39989e;if(!(this[_0x16b0a9(0x404)]&&this['_keyPriorReset']===this[_0x16b0a9(0x306)])){for(var _0x20e33d=this[_0x16b0a9(0x3d6)]=this[_0x16b0a9(0x306)],_0x13af51=_0x20e33d[_0x16b0a9(0x352)],_0x398939=_0x20e33d[_0x16b0a9(0x4a3)]/0x4,_0x55d7ff=this[_0x16b0a9(0x404)]=_0x398939+0x6,_0x2de9e8=(_0x55d7ff+0x1)*0x4,_0x2d555e=this['_keySchedule']=[],_0x46837a=0x0;_0x46837a<_0x2de9e8;_0x46837a++)_0x46837a<_0x398939?_0x2d555e[_0x46837a]=_0x13af51[_0x46837a]:(_0x39989e=_0x2d555e[_0x46837a-0x1],_0x46837a%_0x398939?_0x398939>0x6&&_0x46837a%_0x398939==0x4&&(_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff]):(_0x39989e=_0x39989e<<0x8|_0x39989e>>>0x18,_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff],_0x39989e^=_0x43dc6b[_0x46837a/_0x398939|0x0]<<0x18),_0x2d555e[_0x46837a]=_0x2d555e[_0x46837a-_0x398939]^_0x39989e);for(var _0x38a722=this[_0x16b0a9(0x16c)]=[],_0x4df2e2=0x0;_0x4df2e2<_0x2de9e8;_0x4df2e2++){var _0x46837a=_0x2de9e8-_0x4df2e2;if(_0x4df2e2%0x4)var _0x39989e=_0x2d555e[_0x46837a];else var _0x39989e=_0x2d555e[_0x46837a-0x4];_0x4df2e2<0x4||_0x46837a<=0x4?_0x38a722[_0x4df2e2]=_0x39989e:_0x38a722[_0x4df2e2]=_0x14e023[_0x5367ed[_0x39989e>>>0x18]]^_0x507ab5[_0x5367ed[_0x39989e>>>0x10&0xff]]^_0x3c9e17[_0x5367ed[_0x39989e>>>0x8&0xff]]^_0x57dcfb[_0x5367ed[_0x39989e&0xff]];}}},'encryptBlock':function(_0x5d7414,_0x3ee591){const _0x173b07=_0x2e4fb1;this['_doCryptBlock'](_0x5d7414,_0x3ee591,this[_0x173b07(0x1cd)],_0x22e6e1,_0x1060bc,_0x9e24e5,_0x31ea26,_0x5367ed);},'decryptBlock':function(_0x2491fe,_0x3b6eaf){const _0x46fc69=_0x2e4fb1;var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09,this[_0x46fc69(0x323)](_0x2491fe,_0x3b6eaf,this['_invKeySchedule'],_0x14e023,_0x507ab5,_0x3c9e17,_0x57dcfb,_0x185cc8);var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09;},'_doCryptBlock':function(_0x1dd776,_0x2cad6c,_0x21777d,_0x48fefa,_0x1e7597,_0x365698,_0x180445,_0x515e74){const _0x586714=_0x2e4fb1;for(var _0x47dcc8=this[_0x586714(0x404)],_0xfa56d8=_0x1dd776[_0x2cad6c]^_0x21777d[0x0],_0x30cb02=_0x1dd776[_0x2cad6c+0x1]^_0x21777d[0x1],_0x29f017=_0x1dd776[_0x2cad6c+0x2]^_0x21777d[0x2],_0x23d7c1=_0x1dd776[_0x2cad6c+0x3]^_0x21777d[0x3],_0x5bbcef=0x4,_0x108599=0x1;_0x108599<_0x47dcc8;_0x108599++){var _0x24ee2f=_0x48fefa[_0xfa56d8>>>0x18]^_0x1e7597[_0x30cb02>>>0x10&0xff]^_0x365698[_0x29f017>>>0x8&0xff]^_0x180445[_0x23d7c1&0xff]^_0x21777d[_0x5bbcef++],_0x3f0c73=_0x48fefa[_0x30cb02>>>0x18]^_0x1e7597[_0x29f017>>>0x10&0xff]^_0x365698[_0x23d7c1>>>0x8&0xff]^_0x180445[_0xfa56d8&0xff]^_0x21777d[_0x5bbcef++],_0x29e532=_0x48fefa[_0x29f017>>>0x18]^_0x1e7597[_0x23d7c1>>>0x10&0xff]^_0x365698[_0xfa56d8>>>0x8&0xff]^_0x180445[_0x30cb02&0xff]^_0x21777d[_0x5bbcef++],_0x39b79d=_0x48fefa[_0x23d7c1>>>0x18]^_0x1e7597[_0xfa56d8>>>0x10&0xff]^_0x365698[_0x30cb02>>>0x8&0xff]^_0x180445[_0x29f017&0xff]^_0x21777d[_0x5bbcef++];_0xfa56d8=_0x24ee2f,_0x30cb02=_0x3f0c73,_0x29f017=_0x29e532,_0x23d7c1=_0x39b79d;}var _0x24ee2f=(_0x515e74[_0xfa56d8>>>0x18]<<0x18|_0x515e74[_0x30cb02>>>0x10&0xff]<<0x10|_0x515e74[_0x29f017>>>0x8&0xff]<<0x8|_0x515e74[_0x23d7c1&0xff])^_0x21777d[_0x5bbcef++],_0x3f0c73=(_0x515e74[_0x30cb02>>>0x18]<<0x18|_0x515e74[_0x29f017>>>0x10&0xff]<<0x10|_0x515e74[_0x23d7c1>>>0x8&0xff]<<0x8|_0x515e74[_0xfa56d8&0xff])^_0x21777d[_0x5bbcef++],_0x29e532=(_0x515e74[_0x29f017>>>0x18]<<0x18|_0x515e74[_0x23d7c1>>>0x10&0xff]<<0x10|_0x515e74[_0xfa56d8>>>0x8&0xff]<<0x8|_0x515e74[_0x30cb02&0xff])^_0x21777d[_0x5bbcef++],_0x39b79d=(_0x515e74[_0x23d7c1>>>0x18]<<0x18|_0x515e74[_0xfa56d8>>>0x10&0xff]<<0x10|_0x515e74[_0x30cb02>>>0x8&0xff]<<0x8|_0x515e74[_0x29f017&0xff])^_0x21777d[_0x5bbcef++];_0x1dd776[_0x2cad6c]=_0x24ee2f,_0x1dd776[_0x2cad6c+0x1]=_0x3f0c73,_0x1dd776[_0x2cad6c+0x2]=_0x29e532,_0x1dd776[_0x2cad6c+0x3]=_0x39b79d;},'keySize':0x100/0x20});_0x30f791[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0xb5)](_0x4a9580);}()),_0x278a9c[_0x55ff72(0xfc)];}));}(dt)),dt[_0x3afdcd(0x317)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){const _0x3b3586=_0x2025fc;return gi||(gi=0x1,function(_0x119779,_0x312ca9){(function(_0x5b4eb0,_0xb4d625){const _0x592ce8=_0x46d8;_0x119779[_0x592ce8(0x317)]=_0xb4d625(_e());}(mc,function(_0x510f88){const _0xd69047=_0x46d8;return _0x510f88[_0xd69047(0xdb)][_0xd69047(0x488)];}));}(Ct)),Ct[_0x3b3586(0x317)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x2025fc(0x317)],Si;function Ec(){const _0x43d317=_0x2025fc;return Si||(Si=0x1,function(_0x1f8a5b,_0x1b3da9){(function(_0x4861b5,_0x40ed07){_0x1f8a5b['exports']=_0x40ed07(_e());}(Cc,function(_0x21a69b){const _0xbd6c50=_0x46d8;return(function(){const _0x3f9dab=_0x46d8;if(typeof ArrayBuffer==_0x3f9dab(0x2d6)){var _0x2a91ac=_0x21a69b,_0x39f789=_0x2a91ac[_0x3f9dab(0x118)],_0x1f6b9e=_0x39f789[_0x3f9dab(0x1c9)],_0x1103e8=_0x1f6b9e[_0x3f9dab(0x289)],_0xd5dbed=_0x1f6b9e[_0x3f9dab(0x289)]=function(_0x2a8527){const _0x14c5b3=_0x3f9dab;if(_0x2a8527 instanceof ArrayBuffer&&(_0x2a8527=new Uint8Array(_0x2a8527)),(_0x2a8527 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a8527 instanceof Uint8ClampedArray||_0x2a8527 instanceof Int16Array||_0x2a8527 instanceof Uint16Array||_0x2a8527 instanceof Int32Array||_0x2a8527 instanceof Uint32Array||_0x2a8527 instanceof Float32Array||_0x2a8527 instanceof Float64Array)&&(_0x2a8527=new Uint8Array(_0x2a8527[_0x14c5b3(0x4be)],_0x2a8527['byteOffset'],_0x2a8527['byteLength'])),_0x2a8527 instanceof Uint8Array){for(var _0x586c07=_0x2a8527[_0x14c5b3(0x32a)],_0x41331f=[],_0x55811c=0x0;_0x55811c<_0x586c07;_0x55811c++)_0x41331f[_0x55811c>>>0x2]|=_0x2a8527[_0x55811c]<<0x18-_0x55811c%0x4*0x8;_0x1103e8[_0x14c5b3(0x494)](this,_0x41331f,_0x586c07);}else _0x1103e8[_0x14c5b3(0x38b)](this,arguments);};_0xd5dbed['prototype']=_0x1f6b9e;}}()),_0x21a69b[_0xbd6c50(0x118)][_0xbd6c50(0x1c9)];}));}(Et)),Et[_0x43d317(0x317)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x2025fc(0x317)],Ii;function Oc(){return Ii||(Ii=0x1,function(_0x2c0c38,_0x2ff440){(function(_0x38b22c,_0x4a3eb2,_0x34672b){const _0x46cdd6=_0x46d8;_0x2c0c38[_0x46cdd6(0x317)]=_0x4a3eb2(_e(),or());}(Rc,function(_0x482228){const _0x342d2c=_0x46d8;return _0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)]={'pad':function(){},'unpad':function(){}},_0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)];}));}(bt)),bt['exports'];}var yc=Oc();const wc=ct(yc);function Dc(_0x1fd90d,_0x9063a8){const _0x336da5=_0x2025fc,_0x18b518=_0x9063a8-_0x1fd90d[_0x336da5(0x161)]%_0x9063a8,_0x3299fb=String[_0x336da5(0x208)](_0x18b518)[_0x336da5(0x3ba)](_0x18b518);return _0x1fd90d+_0x3299fb;}function Pc(_0x290f2f,_0x3f5ba0){const _0x4900ba=_0x2025fc,_0x1f7956=Tc[_0x4900ba(0x48e)](0x10),_0x594184=Dc(_0x290f2f,0x10),_0xe87556=vc[_0x4900ba(0x36a)](Ic[_0x4900ba(0x211)](_0x594184),mi['parse'](_0x3f5ba0),{'iv':_0x1f7956,'padding':wc});return _0x1f7956[_0x4900ba(0x40a)](_0xe87556[_0x4900ba(0x27a)])[_0x4900ba(0x135)](mi);}function Nc(){const _0x2dce8f=_0x2025fc,_0x8fc464=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8fc464){const _0x89745b={'time':Math[_0x2dce8f(0x127)](Date[_0x2dce8f(0x1d9)]()/0x3e8),'domain':location[_0x2dce8f(0x32b)]};return Pc(JSON['stringify'](_0x89745b),_0x8fc464);}}var Uc=Object[_0x2025fc(0x385)],Ac=Object[_0x2025fc(0x18c)],Mc=(_0x2685e9,_0x6c04ab,_0x287c86,_0x14cf89)=>{for(var _0x4f36e7=_0x14cf89>0x1?void 0x0:_0x14cf89?Ac(_0x6c04ab,_0x287c86):_0x6c04ab,_0x445e12=_0x2685e9['length']-0x1,_0x300862;_0x445e12>=0x0;_0x445e12--)(_0x300862=_0x2685e9[_0x445e12])&&(_0x4f36e7=(_0x14cf89?_0x300862(_0x6c04ab,_0x287c86,_0x4f36e7):_0x300862(_0x4f36e7))||_0x4f36e7);return _0x14cf89&&_0x4f36e7&&Uc(_0x6c04ab,_0x287c86,_0x4f36e7),_0x4f36e7;},xc=(_0x9ece60,_0x39eb8b)=>(_0x5ecc87,_0xc52f92)=>_0x39eb8b(_0x5ecc87,_0xc52f92,_0x9ece60);let $t=class{constructor(_0x1bb02c){const _0x4abdae=_0x2025fc;this['_httpService']=_0x1bb02c,this[_0x4abdae(0x4bb)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1c42a0,_0x4231a3)=>{const _0x52ba1b=_0x46d8,_0x432d51=_0x1c42a0[_0x52ba1b(0x28c)],_0x56ab59=Nc();return _0x56ab59&&_0x432d51['set'](_0x52ba1b(0xf9),_0x56ab59),_0x4231a3(_0x1c42a0);}});}};$t=Mc([xc(0x0,_0x5847bf(_0x310387))],$t);var Lc=Object[_0x2025fc(0x385)],$c=Object['getOwnPropertyDescriptor'],Hc=(_0x25f18f,_0x558306,_0x320659,_0x1db419)=>{for(var _0x2ac72c=_0x1db419>0x1?void 0x0:_0x1db419?$c(_0x558306,_0x320659):_0x558306,_0x43378a=_0x25f18f['length']-0x1,_0x4cbe1b;_0x43378a>=0x0;_0x43378a--)(_0x4cbe1b=_0x25f18f[_0x43378a])&&(_0x2ac72c=(_0x1db419?_0x4cbe1b(_0x558306,_0x320659,_0x2ac72c):_0x4cbe1b(_0x2ac72c))||_0x2ac72c);return _0x1db419&&_0x2ac72c&&Lc(_0x558306,_0x320659,_0x2ac72c),_0x2ac72c;},rs=(_0x553ce9,_0x45a7fb)=>(_0x4053c2,_0x4e8a69)=>_0x45a7fb(_0x4053c2,_0x4e8a69,_0x553ce9);const jc=[_0x2025fc(0x392),_0x2025fc(0x190),_0x2025fc(0x30c),_0x2025fc(0x4a1),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x2025fc(0x278),Wc=_0x2025fc(0x184),Fc=_0x2025fc(0xc0),Vc=_0x2025fc(0x3fc);let ms=class{constructor(_0x4db8e3,_0x42c56c,_0xc76584){const _0x3d0458=_0x2025fc;g(this,_0x3d0458(0x328),0x0),g(this,'_change$',new _0x1c0b9c()),g(this,_0x3d0458(0x314),this[_0x3d0458(0x1b2)]),g(this,'_imageSourceCache',new Map()),(this[_0x3d0458(0x2d8)]=_0x4db8e3,this[_0x3d0458(0xb4)]=_0x42c56c,this[_0x3d0458(0x3cf)]=_0xc76584);}['setWaitCount'](_0x162832){const _0x162ba5=_0x2025fc;this[_0x162ba5(0x328)]=_0x162832,this['_change$'][_0x162ba5(0x382)](_0x162832);}[_0x2025fc(0x48c)](_0x50f4e3,_0x12fe74){const _0x1cc4e1=_0x2025fc;if(_0x12fe74===_0x3882da[_0x1cc4e1(0x31f)]){const _0x3b6128=new Image();return _0x3b6128['src']=_0x50f4e3,_0x3b6128;}return this[_0x1cc4e1(0x383)]['get'](_0x50f4e3);}[_0x2025fc(0x3b7)](_0x5da71c,_0x35d4db,_0x7a1918){const _0x4d4266=_0x2025fc;_0x35d4db===_0x3882da[_0x4d4266(0x31f)]||_0x7a1918==null||this['_imageSourceCache'][_0x4d4266(0x39c)](_0x5da71c,_0x7a1918);}async[_0x2025fc(0x119)](_0x42da52){const _0x580296=_0x2025fc;try{const _0x14f3ca=this['_replaceFileID'](this['_getSignURL'](),''+_0x42da52),_0x5ac225=(await this['_httpService'][_0x580296(0x33e)](_0x14f3ca))[_0x580296(0x41f)];if(_0x5ac225[_0x580296(0x279)]&&_0x5ac225[_0x580296(0x279)]['code']===Fi['OK']){const _0x363c7f=new URL(_0x5ac225[_0x580296(0x33c)],this[_0x580296(0x341)]())['toString']();return Promise['resolve'](_0x363c7f);}return Promise[_0x580296(0x33a)](_0x5ac225[_0x580296(0x279)]);}catch(_0x1c55ac){return Promise['reject'](_0x1c55ac);}}async[_0x2025fc(0x3eb)](_0x3f3992){const _0x2df248=_0x2025fc;let _0x316ad1='';if(!jc['includes'](_0x3f3992[_0x2df248(0x442)]))return this[_0x2df248(0x42d)](),Promise['reject'](new Error(_0x228958[_0x2df248(0xa4)]));if(_0x3f3992[_0x2df248(0x2ac)]>Bc)return this['_decreaseWaiting'](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x41d)]));try{const _0x57b59d=new FormData();_0x57b59d['append']('file',_0x3f3992);const _0x18302b=this[_0x2df248(0x3cf)][_0x2df248(0x3ff)](),_0xad246f=_0x18302b==null?void 0x0:_0x18302b['getUnitId']();if(!_0xad246f)throw new Error('unitId\x20is\x20not\x20found');const _0x382e18=this[_0x2df248(0x24a)]()+_0x2df248(0x27b)+_0x3f3992[_0x2df248(0x2ac)]['toString']()+_0x2df248(0x251)+Vi[_0x2df248(0x239)]+_0x2df248(0x4b7)+encodeURIComponent(_0xad246f),_0x1f6d34=await(await fetch(_0x382e18,{'method':'POST','body':_0x57b59d}))[_0x2df248(0x1f7)]();if(typeof _0x1f6d34[_0x2df248(0x28d)]!=_0x2df248(0x151))return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));_0x316ad1=_0x1f6d34['FileId'];}catch{return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));}return new Promise((_0x50efec,_0x53ed22)=>{const _0x23989d=_0x2df248,_0x2f9706=new FileReader();_0x2f9706[_0x23989d(0x18e)](_0x3f3992),_0x2f9706[_0x23989d(0x407)]=_0x196477=>{const _0x2149a3=_0x23989d;var _0x4d7785;const _0x2e71c1=(_0x4d7785=_0x196477[_0x2149a3(0x3c4)])==null?void 0x0:_0x4d7785['result'];if(_0x2e71c1==null){this[_0x2149a3(0x42d)](),_0x53ed22(new Error(_0x228958['ERROR_IMAGE']));return;}const _0x246414=_0x529634[_0x2149a3(0x210)](0x6);_0x50efec({'imageId':_0x246414,'imageSourceType':_0x3882da[_0x2149a3(0x3ce)],'source':_0x316ad1,'base64Cache':_0x2e71c1,'status':_0x228958[_0x2149a3(0x4b5)]}),this[_0x2149a3(0x42d)]();};});}[_0x2025fc(0x24a)](){const _0x5b1db4=_0x2025fc;var _0x322418,_0x1e09df;const _0x2aec6b=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](kc),_0x5b27b6=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](Q);return(_0x1e09df=(_0x322418=_0x5b27b6==null?void 0x0:_0x5b27b6[_0x5b1db4(0x186)])!=null?_0x322418:_0x2aec6b)!=null?_0x1e09df:Wc;}['_getSignURL'](){const _0x457564=_0x2025fc;var _0x1b67d3,_0x12a2b6;const _0x2d4539=this[_0x457564(0xb4)]['getConfig'](Fc),_0x16c34f=this['_configService'][_0x457564(0x217)](Q);return(_0x12a2b6=(_0x1b67d3=_0x16c34f==null?void 0x0:_0x16c34f['signUrlServerUrl'])!=null?_0x1b67d3:_0x2d4539)!=null?_0x12a2b6:Vc;}['_getDownloadEndpointURL'](){const _0x957711=_0x2025fc;var _0x52a874;const _0x2437a3=this[_0x957711(0xb4)]['getConfig'](Q);return(_0x52a874=_0x2437a3==null?void 0x0:_0x2437a3['downloadEndpointUrl'])!=null?_0x52a874:location[_0x957711(0x25c)];}['_replaceFileID'](_0x51f604,_0x4886dd){const _0x5ec1a7=_0x2025fc;return _0x51f604[_0x5ec1a7(0x11f)](_0x5ec1a7(0x3c3),_0x4886dd);}['_decreaseWaiting'](){const _0x56acc9=_0x2025fc;this[_0x56acc9(0x328)]-=0x1,this[_0x56acc9(0x1b2)][_0x56acc9(0x382)](this[_0x56acc9(0x328)]);}};ms=Hc([rs(0x0,_0x5847bf(_0x310387)),rs(0x1,_0x4df844),rs(0x2,_0x5847bf(_0x425cee))],ms);var Gc=Object[_0x2025fc(0x385)],Yc=Object[_0x2025fc(0x18c)],Kc=(_0x3e00f7,_0x452080,_0x1fdd9c,_0x174c53)=>{const _0x54c1c8=_0x2025fc;for(var _0x2c9417=_0x174c53>0x1?void 0x0:_0x174c53?Yc(_0x452080,_0x1fdd9c):_0x452080,_0x58af7e=_0x3e00f7[_0x54c1c8(0x161)]-0x1,_0x58185a;_0x58af7e>=0x0;_0x58af7e--)(_0x58185a=_0x3e00f7[_0x58af7e])&&(_0x2c9417=(_0x174c53?_0x58185a(_0x452080,_0x1fdd9c,_0x2c9417):_0x58185a(_0x2c9417))||_0x2c9417);return _0x174c53&&_0x2c9417&&Gc(_0x452080,_0x1fdd9c,_0x2c9417),_0x2c9417;},Ci=(_0xdf60e1,_0x2b4df5)=>(_0x42c7df,_0x45fdef)=>_0x2b4df5(_0x42c7df,_0x45fdef,_0xdf60e1);const qc=_0x2025fc(0x423);let gs=class{constructor(_0x9d5e21,_0x9f17b0){const _0x1c9b3e=_0x2025fc;this['_configService']=_0x9d5e21,this[_0x1c9b3e(0x3f6)]=_0x9f17b0;}[_0x2025fc(0x10e)](){const _0x4e81eb=_0x2025fc;var _0x1c0b81,_0x422e0d;const _0x496549=this[_0x4e81eb(0xb4)]['getConfig'](ir),_0x3f016b=this['_configService']['getConfig'](Q);return(_0x422e0d=(_0x1c0b81=_0x3f016b==null?void 0x0:_0x3f016b[_0x4e81eb(0x223)])!=null?_0x1c0b81:_0x496549)!=null?_0x422e0d:qc;}async[_0x2025fc(0x3c0)](_0x2fb70d){const _0x1bcaf5=_0x2025fc,_0x4ff034=this[_0x1bcaf5(0x10e)]()+_0x1bcaf5(0x21b);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1bcaf5(0x33e)](_0x4ff034,{'params':{'objectID':_0x2fb70d[_0x1bcaf5(0x273)],'unitID':_0x2fb70d['unitId']}}))[_0x1bcaf5(0x41f)][_0x1bcaf5(0x431)][_0x1bcaf5(0x23a)](_0x24aa42=>({'objectId':_0x24aa42['id'],'name':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'metadata':{'icon':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x2aa)]},'label':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'objectType':_0x153717[_0x1bcaf5(0x1e6)]})),'metadata':{},'type':_0x153717[_0x1bcaf5(0x1e6)]}]};}};gs=Kc([Ci(0x0,_0x5847bf(_0x4df844)),Ci(0x1,_0x5847bf(_0x310387))],gs);var zc=Object[_0x2025fc(0x385)],Xc=Object[_0x2025fc(0x18c)],Jc=(_0x2d9c10,_0x1bdd9b,_0x206049,_0x5216f0)=>{const _0x492d02=_0x2025fc;for(var _0x56b89a=_0x5216f0>0x1?void 0x0:_0x5216f0?Xc(_0x1bdd9b,_0x206049):_0x1bdd9b,_0x588dc1=_0x2d9c10[_0x492d02(0x161)]-0x1,_0x34ac72;_0x588dc1>=0x0;_0x588dc1--)(_0x34ac72=_0x2d9c10[_0x588dc1])&&(_0x56b89a=(_0x5216f0?_0x34ac72(_0x1bdd9b,_0x206049,_0x56b89a):_0x34ac72(_0x56b89a))||_0x56b89a);return _0x5216f0&&_0x56b89a&&zc(_0x1bdd9b,_0x206049,_0x56b89a),_0x56b89a;},et=(_0x7a4161,_0x4542b3)=>(_0x731c80,_0x161166)=>_0x4542b3(_0x731c80,_0x161166,_0x7a4161);let Ht=class extends _0x5ec0cb{constructor(_0x589fb5,_0x317a29,_0x55f05c,_0x437716,_0x254c87){const _0x5c361e=_0x2025fc;super(),this[_0x5c361e(0x147)]=_0x589fb5,this['_univerInstanceService']=_0x317a29,this[_0x5c361e(0x2fa)]=_0x55f05c,this[_0x5c361e(0x29f)]=_0x437716,this[_0x5c361e(0x3a9)]=_0x254c87,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2025fc(0x138)](){const _0x23ddab=_0x2025fc,_0x4c5ffa=async _0x593619=>{const _0x446476=_0x46d8;(await this[_0x446476(0x29f)]['requireSession'](_0x593619))[_0x446476(0x142)]['pipe'](_0xa0d892(_0x527b78=>_0x527b78[_0x446476(0x28b)]===_0x3a14f4[_0x446476(0x23f)]),_0xc7ed86(this[_0x446476(0x345)]))[_0x446476(0x140)](_0x3d749b=>{const _0x4092b7=_0x446476,_0x2edd8d=_0x3d749b,{reason:_0x3f13f5}=_0x2edd8d['data'];this['_injector'][_0x4092b7(0x33e)](_0x3d017a)[_0x4092b7(0x3c2)]({'type':_0x3f6750['Error'],'content':this[_0x4092b7(0x3a9)]['t'](_0x4092b7(0x170))+'('+_0x3f13f5+')'}),this[_0x4092b7(0x2fa)][_0x4092b7(0x2ce)](new _0x232ff6(_0x593619)['id'],!0x1),this['_collaborationSessionService'][_0x4092b7(0x416)](_0x593619);});};_0x38a986(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc[_0x23ddab(0x4a6)]),this[_0x23ddab(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC']))[_0x23ddab(0x150)](_0xb11c2f(_0x260643=>_0x260643['getUnitId']()),_0xa0d892(_0x31e236=>!_0x56718f(_0x31e236)),_0xc7ed86(this[_0x23ddab(0x345)]))['subscribe'](_0x2fc801=>{_0x4c5ffa(_0x2fc801);});}[_0x2025fc(0x3a2)](){const _0x3f1410=_0x2025fc,_0x4fe9b3=async _0x324a51=>{const _0x570022=_0x46d8;(await this[_0x570022(0x29f)][_0x570022(0x40d)](_0x324a51))[_0x570022(0x142)][_0x570022(0x150)](_0xa0d892(_0x3c7e0d=>_0x3c7e0d[_0x570022(0x28b)]===_0x3a14f4[_0x570022(0x47c)]),_0xc7ed86(this['dispose$']))[_0x570022(0x140)](_0x54009b=>{const _0x347c89=_0x570022,_0x1be2a7=_0x54009b,{objectId:_0x5dc056}=_0x1be2a7[_0x347c89(0x2a0)],_0x760537=this[_0x347c89(0x147)][_0x347c89(0x33e)](_0x244d66);_0x5dc056===_0x324a51?_0x760537[_0x347c89(0x484)](_0x324a51):_0x760537[_0x347c89(0x41a)](_0x324a51,_0x5dc056);});};_0x38a986(this['_univerInstanceService'][_0x3f1410(0x2c3)](_0xb166dc[_0x3f1410(0x4a6)]),this[_0x3f1410(0x3cf)][_0x3f1410(0x2c3)](_0xb166dc['UNIVER_DOC']))[_0x3f1410(0x150)](_0xb11c2f(_0x429e56=>_0x429e56[_0x3f1410(0x10b)]()),_0xa0d892(_0x46b635=>!_0x56718f(_0x46b635)),_0xc7ed86(this['dispose$']))[_0x3f1410(0x140)](_0x481385=>{_0x4fe9b3(_0x481385);});}};Ht=Jc([et(0x0,_0x5847bf(_0x5d7671)),et(0x1,_0x425cee),et(0x2,_0x1700fb),et(0x3,_0x5847bf(xe)),et(0x4,_0x5847bf(_0x4b4756))],Ht);var Zc=Object[_0x2025fc(0x385)],Qc=Object[_0x2025fc(0x18c)],eh=(_0x2a96ce,_0x2bcd06,_0x3e358c,_0x10a8b0)=>{const _0x1c08a4=_0x2025fc;for(var _0x92ed3f=_0x10a8b0>0x1?void 0x0:_0x10a8b0?Qc(_0x2bcd06,_0x3e358c):_0x2bcd06,_0x259333=_0x2a96ce[_0x1c08a4(0x161)]-0x1,_0x5648d9;_0x259333>=0x0;_0x259333--)(_0x5648d9=_0x2a96ce[_0x259333])&&(_0x92ed3f=(_0x10a8b0?_0x5648d9(_0x2bcd06,_0x3e358c,_0x92ed3f):_0x5648d9(_0x92ed3f))||_0x92ed3f);return _0x10a8b0&&_0x92ed3f&&Zc(_0x2bcd06,_0x3e358c,_0x92ed3f),_0x92ed3f;},Ei=(_0x2d6094,_0x3d7aa8)=>(_0x5c0838,_0x58995e)=>_0x3d7aa8(_0x5c0838,_0x58995e,_0x2d6094);let Ss=class{constructor(_0xea21db,_0x2d8eb){const _0x3fc5ae=_0x2025fc;this[_0x3fc5ae(0xb4)]=_0xea21db,this[_0x3fc5ae(0x2d8)]=_0x2d8eb;}async['getUnitOnRev'](_0x9241c6,_0x4976b2){const _0x162641=_0x2025fc;var _0x2044f1;const {unitID:_0xc242a6,type:_0x469f3f,revision:_0x28b396=0x0}=_0x4976b2,_0x554294=this[_0x162641(0xdc)]()+'/'+_0x469f3f+'/unit/'+_0xc242a6+_0x162641(0x166)+_0x28b396,_0x200f68=(await this[_0x162641(0x2d8)][_0x162641(0x33e)](_0x554294))['body'],_0x24ea4f=(_0x2044f1=_0x200f68['snapshot'])==null?void 0x0:_0x2044f1['workbook'];if(_0x24ea4f){const _0x36faf9=_0x24ea4f==null?void 0x0:_0x24ea4f[_0x162641(0x148)],_0x3b083e=_0x55ea7a['encode'](_0x1facae(_0x36faf9));_0x24ea4f[_0x162641(0x148)]=_0x3b083e,Object[_0x162641(0xf5)](_0x24ea4f[_0x162641(0x24e)])['forEach'](([,_0x59bc85])=>{const _0x4d3764=_0x162641,_0x3fa0ae=_0x59bc85[_0x4d3764(0x148)],_0x2b7fed=_0x55ea7a[_0x4d3764(0x420)](_0x1facae(_0x3fa0ae));_0x59bc85['originalMeta']=_0x2b7fed;});}return _0x200f68;}async['getSheetBlock'](_0x335500,_0x123d5d){const _0x2951ef=_0x2025fc,{unitID:_0x7b181a,type:_0x818f28,blockID:_0x540ea5}=_0x123d5d,_0x1bf96e=this[_0x2951ef(0x1a9)]()+'/'+_0x818f28+_0x2951ef(0x332)+_0x7b181a+_0x2951ef(0x1ce)+_0x540ea5;return(await this[_0x2951ef(0x2d8)][_0x2951ef(0x33e)](_0x1bf96e))[_0x2951ef(0x41f)];}async[_0x2025fc(0x133)](_0x1d999c,_0x51347f){const _0x445e8f=_0x2025fc,{unitID:_0x2c8fea,type:_0x917239,blockID:_0x5d20db}=_0x51347f,_0x4e9f0e=this['_getAPIPrefix']()+_0x445e8f(0x1ce)+_0x917239+_0x445e8f(0x332)+_0x2c8fea+_0x445e8f(0x1ce)+_0x5d20db;return(await this[_0x445e8f(0x2d8)][_0x445e8f(0x33e)](_0x4e9f0e))[_0x445e8f(0x41f)];}async[_0x2025fc(0x436)](_0x27b0b8,_0x328f5a){const _0x10fd18=_0x2025fc,{unitID:_0x55ff61,type:_0x2d087a,from:_0x76cff6,to:_0x447897}=_0x328f5a,_0x40c1c8=this[_0x10fd18(0x1a9)]()+'/'+_0x2d087a+'/unit/'+_0x55ff61+'/fetchmissing?from='+_0x76cff6+_0x10fd18(0x17a)+_0x447897;return(await this[_0x10fd18(0x2d8)]['get'](_0x40c1c8))[_0x10fd18(0x41f)];}[_0x2025fc(0xdc)](){var _0x40ab19;return(_0x40ab19=this['_configService']['getConfig'](Tn))!=null?_0x40ab19:this['_getAPIPrefix']();}[_0x2025fc(0x1a9)](){const _0x1a03a6=_0x2025fc;var _0x3476e1,_0x444738;const _0x17be26=this['_configService'][_0x1a03a6(0x217)](En),_0x2b3e64=this['_configService'][_0x1a03a6(0x217)](Q);return(_0x444738=(_0x3476e1=_0x2b3e64==null?void 0x0:_0x2b3e64[_0x1a03a6(0x39a)])!=null?_0x3476e1:_0x17be26)!=null?_0x444738:bn;}async[_0x2025fc(0x310)](_0x2f577a,_0x4e2515){const _0x48c5a0=_0x2025fc,_0x1c55e5=_0x48c5a0(0x172)+_0x4e2515[_0x48c5a0(0x442)]+_0x48c5a0(0x332)+_0x4e2515['unitID']+_0x48c5a0(0x290);return(await this[_0x48c5a0(0x2d8)][_0x48c5a0(0x33e)](_0x1c55e5,{'params':{'resourceId':JSON[_0x48c5a0(0x11e)](_0x4e2515[_0x48c5a0(0x160)])}}))[_0x48c5a0(0x41f)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x171)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x447)](){const _0x407b21=_0x2025fc;throw new Error(_0x407b21(0x409));}[_0x2025fc(0x2ab)](){const _0x5c0e34=_0x2025fc;throw new Error(_0x5c0e34(0x409));}['getLatestCsReqIdBySid'](){const _0x548f33=_0x2025fc;throw new Error(_0x548f33(0x409));}};Ss=eh([Ei(0x0,_0x4df844),Ei(0x1,_0x5847bf(_0x310387))],Ss);var th=Object[_0x2025fc(0x385)],sh=Object[_0x2025fc(0x18c)],ih=(_0x3302ad,_0x2f8238,_0x4d2840,_0x29953a)=>{const _0x116349=_0x2025fc;for(var _0x554564=_0x29953a>0x1?void 0x0:_0x29953a?sh(_0x2f8238,_0x4d2840):_0x2f8238,_0x25ff72=_0x3302ad[_0x116349(0x161)]-0x1,_0x1d0f33;_0x25ff72>=0x0;_0x25ff72--)(_0x1d0f33=_0x3302ad[_0x25ff72])&&(_0x554564=(_0x29953a?_0x1d0f33(_0x2f8238,_0x4d2840,_0x554564):_0x1d0f33(_0x554564))||_0x554564);return _0x29953a&&_0x554564&&th(_0x2f8238,_0x4d2840,_0x554564),_0x554564;},tt=(_0x416d3b,_0x2e14ee)=>(_0x1a78d5,_0x4417b2)=>_0x2e14ee(_0x1a78d5,_0x4417b2,_0x416d3b);let Is=class extends _0x18ef81{constructor(_0x3f8ec8,_0x430a8a,_0x19a250,_0x3d114d,_0x21c817){const _0xc286da=_0x2025fc;super(_0x3f8ec8,_0x430a8a,_0x19a250),this[_0xc286da(0x128)]=_0x3d114d,this['_logService']=_0x21c817;}[_0x2025fc(0x338)](_0xc4e31e,_0x19d186){const _0x42a516=_0x2025fc,_0x487fae=this['_getUndoStack'](_0xc4e31e);if(_0x487fae)try{const _0x3bae0e=this[_0x42a516(0x4a9)](_0x487fae,_0x19d186);this[_0x42a516(0x1fe)](_0xc4e31e,_0x3bae0e);}catch(_0x2dff00){this[_0x42a516(0xc1)]['error'](_0x42a516(0x432),_0x2dff00),this[_0x42a516(0x1e3)](_0xc4e31e);}const _0x1e754a=this[_0x42a516(0x421)](_0xc4e31e);if(_0x1e754a)try{const _0x4b1259=this['_transformStack'](_0x1e754a,_0x19d186);this[_0x42a516(0x36f)](_0xc4e31e,_0x4b1259);}catch(_0x2ffff6){this[_0x42a516(0xc1)][_0x42a516(0x279)](_0x2ffff6),this['_clearRedo'](_0xc4e31e);}}['_clearUndo'](_0x55ff73){const _0x4af3bd=_0x2025fc,_0x2a34e9=this[_0x4af3bd(0x1cb)](_0x55ff73);_0x2a34e9&&(_0x2a34e9[_0x4af3bd(0x161)]=0x0,this[_0x4af3bd(0x154)]());}[_0x2025fc(0x241)](_0x43352f){const _0x103c12=_0x2025fc,_0x4a83ef=this[_0x103c12(0x421)](_0x43352f);_0x4a83ef&&(_0x4a83ef[_0x103c12(0x161)]=0x0,this[_0x103c12(0x154)]());}[_0x2025fc(0x1fe)](_0x365611,_0x33eb3a){const _0x2f682d=_0x2025fc;this[_0x2f682d(0x2d3)]['set'](_0x365611,_0x33eb3a),this[_0x2f682d(0x154)]();}[_0x2025fc(0x36f)](_0x13ddcb,_0x43d488){const _0x40afb1=_0x2025fc;this[_0x40afb1(0x1e2)][_0x40afb1(0x39c)](_0x13ddcb,_0x43d488),this[_0x40afb1(0x154)]();}[_0x2025fc(0x4a9)](_0x217d7d,_0x2da942){const _0x526bba=_0x2025fc,_0x15cc3c=[];let _0x17c98d=_0x2da942,_0x15053a=_0x2da942;for(let _0x483588=_0x217d7d[_0x526bba(0x161)]-0x1;_0x483588>=0x0;_0x483588--){const {unitID:_0xc5b764,undoMutations:_0x3419ef,redoMutations:_0x38cf3c}=_0x217d7d[_0x483588],_0x51ae06=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x17c98d,_0x3419ef),_0x534966=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x15053a,_0x38cf3c);if(_0xc9659d(_0x51ae06)||_0xc9659d(_0x534966)){this[_0x526bba(0xc1)]['error'](_0x526bba(0x432),_0x526bba(0xb1),_0x51ae06,_0x534966);break;}_0x17c98d=_0x51ae06[_0x526bba(0x26a)],_0x15053a=_0x534966[_0x526bba(0x26a)],_0x15cc3c[_0x526bba(0x22f)]({'unitID':_0xc5b764,'undoMutations':_0x51ae06[_0x526bba(0x270)],'redoMutations':_0x534966['m2Prime']});}return _0x15cc3c[_0x526bba(0x376)]();}};Is=ih([tt(0x0,_0x425cee),tt(0x1,_0x28287a),tt(0x2,_0x4ea7fc),tt(0x3,_0x2fbfa5),tt(0x4,_0x49d195)],Is);class rh extends _0x5ec0cb{constructor(){const _0x1cfbad=_0x2025fc;super(),g(this,'urlChange$'),this[_0x1cfbad(0xb2)]=_0x6a336f(window,_0x1cfbad(0x358))[_0x1cfbad(0x150)](_0x7b6507(this[_0x1cfbad(0x345)]),_0x2c1940(0x1),_0x2d3712(void 0x0));}[_0x2025fc(0x43d)](_0x1c830c,_0x2ccbc7,_0x4d4145=!0x1){const _0x78f59b=_0x2025fc,_0x310996=new URL(window[_0x78f59b(0x16a)][_0x78f59b(0x3f1)]);_0x310996['searchParams'][_0x78f59b(0x39c)](_0x1c830c,_0x2ccbc7),_0x4d4145?window[_0x78f59b(0xc5)][_0x78f59b(0x2a9)]('','',_0x310996['toString']()):window['history'][_0x78f59b(0x2cb)]('','',_0x310996[_0x78f59b(0x135)]());}[_0x2025fc(0x1bb)](_0x7b5a71,_0x5a2d17=!0x1){const _0x1ee0d9=_0x2025fc,_0x23ea98=new URL(window['location'][_0x1ee0d9(0x3f1)]);_0x23ea98[_0x1ee0d9(0x3ec)]['delete'](_0x7b5a71),_0x5a2d17?window['history']['replaceState']('','',_0x23ea98[_0x1ee0d9(0x135)]()):window[_0x1ee0d9(0xc5)][_0x1ee0d9(0x2cb)]('','',_0x23ea98['toString']());}[_0x2025fc(0x30a)](_0x54581b){const _0x228379=_0x2025fc;var _0x5d9ff2;return(_0x5d9ff2=new URL(window['location'][_0x228379(0x3f1)])[_0x228379(0x3ec)][_0x228379(0x33e)](_0x54581b))!=null?_0x5d9ff2:void 0x0;}}var ar=Object[_0x2025fc(0x385)],nh=Object[_0x2025fc(0x18c)],oh=(_0x157d20,_0x2cf3f1,_0x40a4cf)=>_0x2cf3f1 in _0x157d20?ar(_0x157d20,_0x2cf3f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40a4cf}):_0x157d20[_0x2cf3f1]=_0x40a4cf,ah=(_0x18cad5,_0x22e29a,_0x396882,_0x2419be)=>{const _0x51dee1=_0x2025fc;for(var _0x3bb0b1=_0x2419be>0x1?void 0x0:_0x2419be?nh(_0x22e29a,_0x396882):_0x22e29a,_0x52f170=_0x18cad5[_0x51dee1(0x161)]-0x1,_0x2f685f;_0x52f170>=0x0;_0x52f170--)(_0x2f685f=_0x18cad5[_0x52f170])&&(_0x3bb0b1=(_0x2419be?_0x2f685f(_0x22e29a,_0x396882,_0x3bb0b1):_0x2f685f(_0x3bb0b1))||_0x3bb0b1);return _0x2419be&&_0x3bb0b1&&ar(_0x22e29a,_0x396882,_0x3bb0b1),_0x3bb0b1;},_t=(_0x327e3e,_0x4be7b9)=>(_0x71b61e,_0x398234)=>_0x4be7b9(_0x71b61e,_0x398234,_0x327e3e),ch=(_0x555af6,_0x58610e,_0x240164)=>oh(_0x555af6,_0x58610e+'',_0x240164);const hh=_0x2025fc(0xca);let Cs=class extends _0x5001bc{constructor(_0x1151df=Bn,_0x430354,_0x16ced7,_0x5eb873,_0x176c02){const _0xac53ad=_0x2025fc;super(),this[_0xac53ad(0x16b)]=_0x1151df,this[_0xac53ad(0xc1)]=_0x430354,this[_0xac53ad(0x319)]=_0x16ced7,this[_0xac53ad(0x147)]=_0x5eb873,this['_configService']=_0x176c02;const {..._0x5dd239}=this[_0xac53ad(0x16b)];this[_0xac53ad(0xb4)][_0xac53ad(0x134)](Q,_0x5dd239);}[_0x2025fc(0xfe)](){const _0x3d4cac=_0x2025fc;this['_registerDependencies'](),this[_0x3d4cac(0x2af)]();}['onReady'](){const _0x4d58f2=_0x2025fc;_0x5404e4(this[_0x4d58f2(0x147)],[[xt],[Ut]]);}[_0x2025fc(0x42f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2020fb=_0x2025fc;var _0x1f74f8,_0x1ddede,_0x32b498,_0x373a39;this['_injector'][_0x2020fb(0x24c)](_0x4bbe15)&&this[_0x2020fb(0xc1)][_0x2020fb(0x279)](_0x2020fb(0x19c),_0x2020fb(0x2f4));const _0x4d8e02=[[_0x4bbe15,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x1293ea],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x1ddede=(_0x1f74f8=this[_0x2020fb(0x16b)])==null?void 0x0:_0x1f74f8[_0x2020fb(0x202)])!=null?_0x1ddede:cs}],[_0xbd688,{'useClass':Ss}],[_0x5cfc2f,{'useClass':ps}],[_0x1fd980,{'useClass':ms}],[_0x2d3ae3,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x32b498=this['_config'])!=null&&_0x32b498[_0x2020fb(0x36b)]&&_0x4d8e02['push']([jt,{'useClass':Co}]),_0x43027c(this['_injector'],_0x3474e1(_0x4d8e02,(_0x373a39=this[_0x2020fb(0x16b)])==null?void 0x0:_0x373a39[_0x2020fb(0x44a)]));}[_0x2025fc(0x13d)](){const _0x18fe91=_0x2025fc;this[_0x18fe91(0x10c)](this['_renderManagerService'][_0x18fe91(0x49f)](_0xb166dc['UNIVER_DOC'],[fs])),this['disposeWithMe'](this[_0x18fe91(0x319)][_0x18fe91(0x49f)](_0xb166dc[_0x18fe91(0x4a6)],[vs]));}[_0x2025fc(0x2af)](){const _0x4168b8=_0x2025fc;var _0x3491b6,_0x12ed9e;this[_0x4168b8(0x147)][_0x4168b8(0x33e)](_0x310387)[_0x4168b8(0x299)]({'priority':0x14,'interceptor':_0x156843({'maxParallel':0x6})}),(_0x3491b6=this[_0x4168b8(0x16b)])!=null&&_0x3491b6[_0x4168b8(0x446)]||this[_0x4168b8(0x147)]['get'](z)[_0x4168b8(0x2be)](),(_0x12ed9e=this[_0x4168b8(0x16b)])!=null&&_0x12ed9e[_0x4168b8(0x41b)]&&_0x5404e4(this[_0x4168b8(0x147)],[[Lt]]),_0x5404e4(this[_0x4168b8(0x147)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,'pluginName',hh),Cs=ah([_0x2048c2(_0x1105e5,_0x6b1b5c),_t(0x1,_0x49d195),_t(0x2,_0x27432a),_t(0x3,_0x5847bf(_0x5d7671)),_t(0x4,_0x4df844)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|