@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130703 → 0.10.8-nightly.202509200616
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x462894=_0x335a;(function(_0x23634d,_0x5f3004){const _0x227d13=_0x335a,_0x456a91=_0x23634d();while(!![]){try{const _0x3c84d7=parseInt(_0x227d13(0xb4))/0x1*(-parseInt(_0x227d13(0xd1))/0x2)+parseInt(_0x227d13(0xb9))/0x3*(-parseInt(_0x227d13(0x18c))/0x4)+-parseInt(_0x227d13(0xac))/0x5+-parseInt(_0x227d13(0x20e))/0x6*(-parseInt(_0x227d13(0x8a))/0x7)+-parseInt(_0x227d13(0x1a8))/0x8+-parseInt(_0x227d13(0x12d))/0x9*(parseInt(_0x227d13(0x99))/0xa)+-parseInt(_0x227d13(0x142))/0xb*(-parseInt(_0x227d13(0x260))/0xc);if(_0x3c84d7===_0x5f3004)break;else _0x456a91['push'](_0x456a91['shift']());}catch(_0x351bca){_0x456a91['push'](_0x456a91['shift']());}}}(_0x5c99,0x1d6f7));var xt=Object[_0x462894(0x207)],Bt=(_0x38e1c4,_0x5d3cf3,_0x1a3a40)=>_0x5d3cf3 in _0x38e1c4?xt(_0x38e1c4,_0x5d3cf3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3a40}):_0x38e1c4[_0x5d3cf3]=_0x1a3a40,_=(_0x44b8c9,_0x4f1335,_0x3e759c)=>Bt(_0x44b8c9,typeof _0x4f1335!=_0x462894(0x25b)?_0x4f1335+'':_0x4f1335,_0x3e759c);import{jsx as _0x1aa7a8,jsxs as _0xf1d35f}from'react/jsx-runtime';import{CollaborationStatus as _0x211192,CollaborationSessionService as _0x4f7017,CollaborationController as _0x2d5363,DataLoaderService as _0x339242,MemberService as _0x35ae7f,SessionStatus as _0xefa4ce,ILocalCacheService as _0x7f4ced,CollaborationUIEventService as _0x54c0e1,CollaborationUIEventId as _0x379d35,DocCollaborationEntity as _0x5f387e,getLocalCacheKey as _0x12fb6f,LOCAL_CACHE_INTERVAL as _0xc79a54,LOCAL_CACHE_INTERVAL_KEY as _0x2396ff,UniverCollaborationClientPlugin as _0x35732a,CollaborationSocketService as _0x1f05e8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1f19bf,DEFAULT_WS_SESSION_TICKET_URL as _0x30a8b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31ae05,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x47f050,UnitStatus as _0x20be11}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4086dc,IUniverInstanceService as _0x13b0f3,Inject as _0x4908fa,Injector as _0x5bd625,Disposable as _0x407d7b,createIdentifier as _0x237de2,ILogService as _0x40aafe,ICommandService as _0x42ff01,Optional as _0x53f03b,RxDisposable as _0x2425eb,Workbook as _0x2e24fe,DOC_RANGE_TYPE as _0x435ae7,debounce as _0x2c83e9,Rectangle as _0x9f19d6,DisposableCollection as _0x5fedaa,toDisposable as _0x425bc5,UniverInstanceType as _0x509904,generateRandomId as _0x3f1aaa,COLORS as _0x324582,ColorKit as _0x42986a,ThemeService as _0x50fadf,fromEventSubject as _0x5205b9,Tools as _0x2d0154,CommandType as _0x13b850,IConfigService as _0x10853f,ILocalStorageService as _0x4f8a47,DependentOn as _0x5404f0,Plugin as _0x5f471c,merge as _0x2ce7fb,registerDependencies as _0x402f0e,mergeOverrideWithDependencies as _0x383a3f,touchDependencies as _0x4bd4f7}from'@univerjs/core';import{useObservable as _0x15719e,useDependency as _0x4e05f4,IUIPartsService as _0x1809e7,BuiltInUIPart as _0x46e79d,connectInjector as _0x4490d8,IBeforeCloseService as _0x1590a8,IMessageService as _0x38c146,INotificationService as _0x49e3b3}from'@univerjs/ui';import{BehaviorSubject as _0x3b84c3,switchMap as _0x2dc9ff,of as _0x1304d5,takeUntil as _0x477b6f,debounceTime as _0x14fd8f,Subject as _0x2ffe8b,filter as _0x23ef07,merge as _0x2b216c,combineLatest as _0x2d6241,fromEvent as _0x10460d,shareReplay as _0x4c6e4e,mapTo as _0x332fda,distinctUntilChanged as _0x11a67b}from'rxjs';import{Tooltip as _0x859da8,clsx as _0x45c834,MessageType as _0x172f3a}from'@univerjs/design';import{forwardRef as _0x4ba1f1,useRef as _0x2e9670,createElement as _0x10795f,useCallback as _0x267c47}from'react';import{IRemoteInstanceService as _0x2f7d64}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4064e7,RefRangeService as _0x311aa5,SetSelectionsOperation as _0x2be5c5,SheetsSelectionsService as _0x4bb79e,EffectRefRangId as _0x3ba865,handleIRemoveRow as _0xd26a2a,handleIRemoveCol as _0xcefbbf,handleMoveRange as _0x44dc5b,handleInsertRow as _0x3126c4,handleInsertRangeMoveRight as _0x1c0258,handleInsertRangeMoveDown as _0x3f0bbf,handleInsertCol as _0x43474e,handleDeleteRangeMoveUp as _0x28159c,handleDeleteRangeMoveLeft as _0x565dac,runRefRangeMutations as _0x20aa35}from'@univerjs/sheets';import{Shape as _0x46a841,Rect as _0x165788,getColor as _0x41dd54,RegularPolygon as _0x1537ee,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x326786,Vector2 as _0x393e32,SHEET_VIEWPORT_KEY as _0x3ff617,IRenderManagerService as _0x5875bf}from'@univerjs/engine-render';import{ISocketService as _0x1542ec,WebSocketService as _0x2d7135,HTTPService as _0x2c6492}from'@univerjs/network';import{IDocClipboardService as _0x4da58e,NodePositionConvertToCursor as _0x14ab01,NodePositionConvertToRectRange as _0xa375cd,TEXT_RANGE_LAYER_INDEX as _0x4ad887,SetDocZoomRatioOperation as _0x1d3631,DocIMEInputManagerService as _0xb1c905,DocStateChangeManagerService as _0x101a78}from'@univerjs/docs-ui';import{IImageIoService as _0x52dfaf}from'@univerjs/drawing';import{ITransformService as _0x3d1a26,CollaborationEvent as _0x3428fc,isTransformMutationFailure as _0x18700a,isTransformMutationsWithChangesetSuccess as _0x5504c9,RevisionService as _0x363a13,ISnapshotServerService as _0xb7527d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x46f388,RichTextEditingMutation as _0x46af08,DocSelectionManagerService as _0xdbcf34,DocSkeletonManagerService as _0x7e904b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5c4505,serializeRangeWithSheet as _0x2f4ffb}from'@univerjs/engine-formula';import{map as _0x4a2751,filter as _0x557b08,throttleTime as _0x727cf8,takeUntil as _0x50fa01,switchMap as _0x92f7af}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5aac8a,getCoordByCell as _0x91eb96,getSheetObject as _0x12b955}from'@univerjs/sheets-ui';var v=function(){const _0x3e7e81=_0x462894;return v=Object[_0x3e7e81(0x123)]||function(_0x32a449){const _0x2f52f1=_0x3e7e81;for(var _0x364547,_0x56a04f=0x1,_0x1d1332=arguments['length'];_0x56a04f<_0x1d1332;_0x56a04f++){_0x364547=arguments[_0x56a04f];for(var _0xe21693 in _0x364547)Object['prototype'][_0x2f52f1(0x1fc)][_0x2f52f1(0x132)](_0x364547,_0xe21693)&&(_0x32a449[_0xe21693]=_0x364547[_0xe21693]);}return _0x32a449;},v[_0x3e7e81(0x7e)](this,arguments);},ci=function(_0x52ef6e,_0x19dbfb){const _0x4420d1=_0x462894;var _0x231452={};for(var _0x4237bd in _0x52ef6e)Object['prototype'][_0x4420d1(0x1fc)]['call'](_0x52ef6e,_0x4237bd)&&_0x19dbfb[_0x4420d1(0x1ec)](_0x4237bd)<0x0&&(_0x231452[_0x4237bd]=_0x52ef6e[_0x4237bd]);if(_0x52ef6e!=null&&typeof Object[_0x4420d1(0x95)]==_0x4420d1(0x256)){for(var _0x3db25f=0x0,_0x4237bd=Object['getOwnPropertySymbols'](_0x52ef6e);_0x3db25f<_0x4237bd[_0x4420d1(0x231)];_0x3db25f++)_0x19dbfb[_0x4420d1(0x1ec)](_0x4237bd[_0x3db25f])<0x0&&Object['prototype'][_0x4420d1(0x119)][_0x4420d1(0x132)](_0x52ef6e,_0x4237bd[_0x3db25f])&&(_0x231452[_0x4237bd[_0x3db25f]]=_0x52ef6e[_0x4237bd[_0x3db25f]]);}return _0x231452;},ke=_0x4ba1f1(function(_0x405277,_0x5769f4){const _0x7c4790=_0x462894;var _0x457528=_0x405277['icon'],_0x8e28e=_0x405277['id'],_0x389647=_0x405277['className'],_0x5133a9=_0x405277[_0x7c4790(0x1f9)],_0x55d128=ci(_0x405277,[_0x7c4790(0x26d),'id',_0x7c4790(0x103),_0x7c4790(0x1f9)]),_0x18291d=_0x7c4790(0xb5)[_0x7c4790(0x16d)](_0x8e28e,'\x20')[_0x7c4790(0x16d)](_0x389647||'')[_0x7c4790(0x1eb)](),_0x3a3648=_0x2e9670('_'[_0x7c4790(0x16d)](hi()));return Rt(_0x457528,''[_0x7c4790(0x16d)](_0x8e28e),{'defIds':_0x457528['defIds'],'idSuffix':_0x3a3648['current']},v({'ref':_0x5769f4,'className':_0x18291d},_0x55d128),_0x5133a9);});function Rt(_0x4245a3,_0x1e9f01,_0x17ed9f,_0x4d56e5,_0xefe74a){const _0x4fcdd3=_0x462894;return _0x10795f(_0x4245a3[_0x4fcdd3(0x76)],v(v({'key':_0x1e9f01},li(_0x4245a3,_0x17ed9f,_0xefe74a)),_0x4d56e5),(_i(_0x4245a3,_0x17ed9f)[_0x4fcdd3(0x175)]||[])[_0x4fcdd3(0x222)](function(_0x51f76a,_0x2e5a95){const _0x253c5e=_0x4fcdd3;return Rt(_0x51f76a,''[_0x253c5e(0x16d)](_0x1e9f01,'-')[_0x253c5e(0x16d)](_0x4245a3[_0x253c5e(0x76)],'-')[_0x253c5e(0x16d)](_0x2e5a95),_0x17ed9f,void 0x0,_0xefe74a);}));}function li(_0x23d5cd,_0x54bbbe,_0x50b3e9){const _0x2a5d30=_0x462894;var _0x785ffe=v({},_0x23d5cd[_0x2a5d30(0xf6)]);_0x50b3e9!=null&&_0x50b3e9[_0x2a5d30(0x155)]&&_0x785ffe['fill']===_0x2a5d30(0x155)&&(_0x785ffe[_0x2a5d30(0x125)]=_0x50b3e9['colorChannel1']),_0x23d5cd[_0x2a5d30(0x76)]==='mask'&&_0x785ffe['id']&&(_0x785ffe['id']=_0x785ffe['id']+_0x54bbbe[_0x2a5d30(0x216)]),Object[_0x2a5d30(0x248)](_0x785ffe)['forEach'](function(_0x4ab88f){const _0x1d33de=_0x2a5d30;var _0x23aae1=_0x4ab88f[0x0],_0x4322b5=_0x4ab88f[0x1];_0x23aae1===_0x1d33de(0xe0)&&typeof _0x4322b5=='string'&&(_0x785ffe[_0x23aae1]=_0x4322b5[_0x1d33de(0x78)](/url\(#(.*)\)/,_0x1d33de(0x232)[_0x1d33de(0x16d)](_0x54bbbe[_0x1d33de(0x216)],')')));});var _0x84a7f=_0x54bbbe['defIds'];return!_0x84a7f||_0x84a7f['length']===0x0||(_0x23d5cd[_0x2a5d30(0x76)]===_0x2a5d30(0x1f1)&&_0x785ffe[_0x2a5d30(0x12b)]&&(_0x785ffe['xlink:href']=_0x785ffe[_0x2a5d30(0x12b)]+_0x54bbbe[_0x2a5d30(0x216)]),Object[_0x2a5d30(0x248)](_0x785ffe)['forEach'](function(_0x25fc18){const _0x5616ef=_0x2a5d30;var _0x267e64=_0x25fc18[0x0],_0x155aac=_0x25fc18[0x1];typeof _0x155aac=='string'&&(_0x785ffe[_0x267e64]=_0x155aac['replace'](/url\(#(.*)\)/,_0x5616ef(0x232)[_0x5616ef(0x16d)](_0x54bbbe[_0x5616ef(0x216)],')')));})),_0x785ffe;}function _i(_0x4ce4e6,_0x233b48){const _0x27cb52=_0x462894;var _0x47542e,_0x33bbed=_0x233b48['defIds'];return!_0x33bbed||_0x33bbed[_0x27cb52(0x231)]===0x0?_0x4ce4e6:_0x4ce4e6[_0x27cb52(0x76)]===_0x27cb52(0x1c3)&&(!((_0x47542e=_0x4ce4e6['children'])===null||_0x47542e===void 0x0)&&_0x47542e[_0x27cb52(0x231)])?v(v({},_0x4ce4e6),{'children':_0x4ce4e6['children'][_0x27cb52(0x222)](function(_0xdae689){const _0x56532d=_0x27cb52;return typeof _0xdae689['attrs']['id']=='string'&&_0x33bbed&&_0x33bbed[_0x56532d(0x1b6)](_0xdae689['attrs']['id'])?v(v({},_0xdae689),{'attrs':v(v({},_0xdae689[_0x56532d(0xf6)]),{'id':_0xdae689[_0x56532d(0xf6)]['id']+_0x233b48[_0x56532d(0x216)]})}):_0xdae689;})}):_0x4ce4e6;}function hi(){const _0x34565a=_0x462894;return Math[_0x34565a(0x1c7)]()[_0x34565a(0x11d)](0x24)[_0x34565a(0xd6)](0x2,0x8);}ke[_0x462894(0xc7)]='UniverIcon';var ui={'tag':_0x462894(0x22e),'attrs':{'xmlns':_0x462894(0x152),'fill':_0x462894(0xcd),'viewBox':_0x462894(0x1f8),'width':_0x462894(0xa5),'height':_0x462894(0xa5)},'children':[{'tag':'g','attrs':{'clipPath':_0x462894(0x265)},'children':[{'tag':_0x462894(0x23e),'attrs':{'stroke':_0x462894(0x139),'d':_0x462894(0x144),'strokeLinecap':'round','strokeLinejoin':_0x462894(0x10e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x462894(0x1ff),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x462894(0x23e),'attrs':{'fill':_0x462894(0x126),'d':_0x462894(0x269)}}]}]}],'defIds':[_0x462894(0x235)]},Dt=_0x4ba1f1(function(_0x3bdfac,_0x558ebe){const _0x4a237e=_0x462894;return _0x10795f(ke,Object[_0x4a237e(0x123)]({},_0x3bdfac,{'id':'off-line-icon','ref':_0x558ebe,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x462894(0x22e),'attrs':{'xmlns':_0x462894(0x152),'fill':_0x462894(0xcd),'viewBox':_0x462894(0x1e7),'width':_0x462894(0xa5),'height':_0x462894(0xa5)},'children':[{'tag':'g','attrs':{'clipPath':_0x462894(0x186)},'children':[{'tag':_0x462894(0x23e),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':'round','strokeLinejoin':_0x462894(0x10e),'strokeWidth':1.2}}]},{'tag':_0x462894(0x1c3),'attrs':{},'children':[{'tag':_0x462894(0x1ff),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x462894(0x23e),'attrs':{'fill':_0x462894(0x126),'d':_0x462894(0x269),'transform':'translate(.97)'}}]}]}],'defIds':[_0x462894(0x131)]},Nt=_0x4ba1f1(function(_0x41fb87,_0x12a56a){const _0xeeca36=_0x462894;return _0x10795f(ke,Object[_0xeeca36(0x123)]({},_0x41fb87,{'id':_0xeeca36(0x250),'ref':_0x12a56a,'icon':di}));});Nt[_0x462894(0xc7)]=_0x462894(0x1e8);function fi(_0x946dad){const _0x57f7f7=_0x462894;switch(_0x946dad){case _0x211192[_0x57f7f7(0x100)]:return _0x57f7f7(0x11c);case _0x211192[_0x57f7f7(0x257)]:return _0x57f7f7(0xaf);case _0x211192['FETCH_MISS']:return _0x57f7f7(0xf9);case _0x211192[_0x57f7f7(0x102)]:return'collabStatus.notCollab';case _0x211192[_0x57f7f7(0x264)]:case _0x211192[_0x57f7f7(0x266)]:return'collabStatus.syncing';case _0x211192['SYNCED']:case _0x211192[_0x57f7f7(0x7f)]:return _0x57f7f7(0x1da);}}function Si(_0x501ad9){const _0x27ee92=_0x462894,{status$:_0x437858}=_0x501ad9,_0x11e564=_0x15719e(_0x437858,_0x211192[_0x27ee92(0x102)]),_0xbd766b=_0x4e05f4(_0x4086dc),_0x83d194=_0x4e05f4(_0x4f7017),_0x1ca496=_0x11e564!==_0x211192['OFFLINE'],_0x1f575c=_0xbd766b['t'](fi(_0x11e564)),_0x4091bc=_0x1ca496?_0x1aa7a8(Nt,{}):_0x1aa7a8(Dt,{}),_0xfeba62=_0x267c47(()=>{const _0x15a6f5=_0x27ee92;_0x1ca496||_0x83d194[_0x15a6f5(0x208)]();},[_0x1ca496,_0x83d194]);function _0x4fe764(){const _0x52066c=_0x27ee92;return _0xf1d35f(_0x52066c(0x1bb),{'className':_0x52066c(0xc1),'onClick':_0xfeba62,'children':[_0x1aa7a8(_0x52066c(0x1bb),{'className':_0x45c834('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1ca496,'univer-text-red-500':!_0x1ca496}),'children':_0x4091bc}),_0x1aa7a8(_0x52066c(0x1bb),{'className':_0x52066c(0xca),'children':_0x1f575c})]});}return _0x1ca496?_0x4fe764():_0x1aa7a8(_0x859da8,{'title':_0xbd766b['t'](_0x27ee92(0x1b3)),'children':_0x4fe764()});}var mi=Object[_0x462894(0x1a7)],Ii=(_0x5a8467,_0x4f683b,_0x5a3bab,_0x9e05b7)=>{const _0x246562=_0x462894;for(var _0x3cf945=_0x9e05b7>0x1?void 0x0:_0x9e05b7?mi(_0x4f683b,_0x5a3bab):_0x4f683b,_0xdd4042=_0x5a8467[_0x246562(0x231)]-0x1,_0x2f7114;_0xdd4042>=0x0;_0xdd4042--)(_0x2f7114=_0x5a8467[_0xdd4042])&&(_0x3cf945=_0x2f7114(_0x3cf945)||_0x3cf945);return _0x3cf945;},q=(_0x98d5e5,_0x450826)=>(_0x520d8d,_0xf8b30c)=>_0x450826(_0x520d8d,_0xf8b30c,_0x98d5e5);let se=class extends _0x407d7b{constructor(_0xa507b8,_0x3f5450,_0x368533,_0x242e6b){const _0x2c7612=_0x462894;super(),_(this,_0x2c7612(0x1d8),new _0x3b84c3(_0x211192[_0x2c7612(0x102)])),(this[_0x2c7612(0xcc)]=_0xa507b8,this['_injector']=_0x3f5450,this[_0x2c7612(0x226)]=_0x368533,this[_0x2c7612(0x1bf)]=_0x242e6b,this[_0x2c7612(0x128)](),this[_0x2c7612(0x108)]());}[_0x462894(0x108)](){const _0x2692ba=_0x462894;this['disposeWithMe'](this[_0x2692ba(0xcc)][_0x2692ba(0x14c)][_0x2692ba(0x16e)](_0x2dc9ff(()=>{const _0x58e583=_0x2692ba,_0x55b701=this[_0x58e583(0xcc)]['getFocusedUnit']();return _0x55b701?this[_0x58e583(0x226)]['getCollabEntity$'](_0x55b701[_0x58e583(0x147)]()):_0x1304d5(null);}),_0x2dc9ff(_0x53ee0e=>_0x53ee0e?_0x53ee0e[_0x2692ba(0xc9)]:_0x1304d5(_0x211192[_0x2692ba(0x102)])))[_0x2692ba(0x1f3)](_0x1ed8a1=>{const _0x4c4d67=_0x2692ba;this[_0x4c4d67(0x1d8)]['next'](_0x1ed8a1);}));}['_initStatusComponent'](){const _0x1b4c83=_0x462894;this[_0x1b4c83(0x9d)](this[_0x1b4c83(0x1bf)][_0x1b4c83(0x20b)](_0x46e79d[_0x1b4c83(0x16c)],()=>_0x4490d8(vi({'status$':this[_0x1b4c83(0x1d8)][_0x1b4c83(0xe4)]()}),this[_0x1b4c83(0x133)])));}};se=Ii([q(0x0,_0x13b0f3),q(0x1,_0x4908fa(_0x5bd625)),q(0x2,_0x4908fa(_0x2d5363)),q(0x3,_0x1809e7)],se);function vi(_0x393251){const {status$:_0x29011d}=_0x393251;return function(){return _0x1aa7a8(Si,{'status$':_0x29011d});};}const Ut=_0x237de2('uni.network.url-service');var gi=Object['getOwnPropertyDescriptor'],pi=(_0x3df430,_0x29a377,_0x1cdeeb,_0x2b5e76)=>{const _0x93d3f3=_0x462894;for(var _0x15c874=_0x2b5e76>0x1?void 0x0:_0x2b5e76?gi(_0x29a377,_0x1cdeeb):_0x29a377,_0x4ba2f7=_0x3df430[_0x93d3f3(0x231)]-0x1,_0x1d9ff9;_0x4ba2f7>=0x0;_0x4ba2f7--)(_0x1d9ff9=_0x3df430[_0x4ba2f7])&&(_0x15c874=_0x1d9ff9(_0x15c874)||_0x15c874);return _0x15c874;},G=(_0x3e59cb,_0x54a493)=>(_0x11b3a8,_0x3e13e3)=>_0x54a493(_0x11b3a8,_0x3e13e3,_0x3e59cb);let ie=class extends _0x2425eb{constructor(_0x39297d,_0x10dfa6,_0x56f213,_0x53d622,_0x4ccbea){const _0x5cada6=_0x462894;super(),this[_0x5cada6(0x1e9)]=_0x39297d,this[_0x5cada6(0xf5)]=_0x10dfa6,this[_0x5cada6(0x146)]=_0x56f213,this[_0x5cada6(0x237)]=_0x53d622,_0x4ccbea?_0x4ccbea==null||_0x4ccbea[_0x5cada6(0x1b1)]()[_0x5cada6(0xb3)](()=>this[_0x5cada6(0x252)]()):(this[_0x5cada6(0xf5)][_0x5cada6(0x267)](_0x5cada6(0xba),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5cada6(0x252)]());}async[_0x462894(0x252)](){const _0x3ac944=_0x462894,_0x387622=this['_urlService'][_0x3ac944(0x271)](_0x3ac944(0x206)),_0x13ee3a=this[_0x3ac944(0x1e9)]['getParam'](_0x3ac944(0xd5)),_0x2a0631=this[_0x3ac944(0x1e9)]['getParam'](_0x3ac944(0x19c));if(!_0x387622||!_0x13ee3a){this[_0x3ac944(0xf5)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x112237=await this[_0x3ac944(0x237)][_0x3ac944(0x1c5)](_0x387622,Number(_0x13ee3a),_0x2a0631);_0x112237&&_0x112237 instanceof _0x2e24fe&&this[_0x3ac944(0x130)](_0x112237);}async[_0x462894(0x130)](_0x23ed6a){const _0x52fdc4=_0x462894;await this[_0x52fdc4(0x1aa)](_0x23ed6a),_0x23ed6a[_0x52fdc4(0x1ee)]['pipe'](_0x477b6f(this[_0x52fdc4(0x19b)]))[_0x52fdc4(0x1f3)](_0x4bc0ae=>{const _0x4a138a=_0x52fdc4;_0x4bc0ae&&this[_0x4a138a(0x9e)](_0x4bc0ae);}),this[_0x52fdc4(0x1e9)]['urlChange$'][_0x52fdc4(0x16e)](_0x477b6f(this[_0x52fdc4(0x19b)]))[_0x52fdc4(0x1f3)](()=>this['_updateSubUnitFromURLParams'](_0x23ed6a));}['_updateURLWithCurrentState'](_0x43a17e,_0x5cafba=!0x1){const _0x543c27=_0x462894,_0x34b158=this[_0x543c27(0x1e9)]['getParam']('subunit');_0x43a17e['getSheetId']()!==_0x34b158&&this[_0x543c27(0x1e9)][_0x543c27(0x184)](_0x543c27(0x19c),_0x43a17e[_0x543c27(0xf4)](),_0x5cafba);}async[_0x462894(0x1aa)](_0x1d7e1a){const _0x1bf715=_0x462894;var _0x12a156;const _0x360bfa=this[_0x1bf715(0x1e9)][_0x1bf715(0x271)](_0x1bf715(0x19c));if(!_0x360bfa||!_0x1d7e1a['getSheetBySheetId'](_0x360bfa)){const _0x27d575=_0x1d7e1a['getUnhiddenWorksheets']()[0x0],_0x3df8a2=_0x1d7e1a['getSheetBySheetId'](_0x27d575);if(!_0x3df8a2)return;this[_0x1bf715(0x9e)](_0x3df8a2,!0x0),await this['_commandService'][_0x1bf715(0x1dc)](_0x4064e7['id'],{'unitId':_0x1d7e1a[_0x1bf715(0x147)](),'subUnitId':_0x27d575});return;}((_0x12a156=_0x1d7e1a[_0x1bf715(0x1ef)]())==null?void 0x0:_0x12a156[_0x1bf715(0xf4)]())!==_0x360bfa&&await this['_commandService']['executeCommand'](_0x4064e7['id'],{'unitId':_0x1d7e1a[_0x1bf715(0x147)](),'subUnitId':_0x360bfa});}};ie=pi([G(0x0,Ut),G(0x1,_0x40aafe),G(0x2,_0x42ff01),G(0x3,_0x4908fa(_0x339242)),G(0x4,_0x53f03b(_0x2f7d64))],ie);var Ci=Object[_0x462894(0x1a7)],Ei=(_0x128dd3,_0x4774ae,_0x4d0783,_0xae7686)=>{const _0x4bcec0=_0x462894;for(var _0x3a00a5=_0xae7686>0x1?void 0x0:_0xae7686?Ci(_0x4774ae,_0x4d0783):_0x4774ae,_0x1eb3b5=_0x128dd3[_0x4bcec0(0x231)]-0x1,_0x2ed021;_0x1eb3b5>=0x0;_0x1eb3b5--)(_0x2ed021=_0x128dd3[_0x1eb3b5])&&(_0x3a00a5=_0x2ed021(_0x3a00a5)||_0x3a00a5);return _0x3a00a5;},Je=(_0x2a7685,_0x32cc0d)=>(_0x504eb1,_0x3b22fb)=>_0x32cc0d(_0x504eb1,_0x3b22fb,_0x2a7685);let Ne=class extends _0x2425eb{constructor(_0x485243,_0x4263ec){const _0x311b89=_0x462894;super(),this['_docClipboardService']=_0x485243,this[_0x311b89(0xd7)]=_0x4263ec,this['_init']();}['_init'](){const _0x11dd5b=_0x462894,_0x3cce06=this;this[_0x11dd5b(0x9d)](this['_docClipboardService'][_0x11dd5b(0x138)]({'onBeforePasteImage':async _0x2a6e7d=>{const _0x4cfde2=_0x11dd5b,_0x18a22c=await _0x3cce06[_0x4cfde2(0xd7)][_0x4cfde2(0x272)](_0x2a6e7d);return _0x18a22c?{'source':_0x18a22c[_0x4cfde2(0xf7)],'imageSourceType':_0x18a22c[_0x4cfde2(0x106)]}:null;}}));}};Ne=Ei([Je(0x0,_0x4da58e),Je(0x1,_0x52dfaf)],Ne);function _0x5c99(){const _0xbbe3e4=['_updateURLWithCurrentState','OTHER_CLIENT_EDITING','delete','fillStyle','_collabSessionService','sessionTicket','drawWith','1em','_unitOnClients','_initResize','toRgbString','_scene','_scheduleHeartbeat','SNAPSHOT_HAS_BEEN_REMOVED','252250KnQOHY','MOBILE_VERIFY_CODE_MISMATCH','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_onCursorDelete','history','push','then','1408qkdaAb','univerjs-icon\x20univerjs-icon-','_transformPreviousActiveRange','SUBMIT_CHANGESET_TIMEOUT','subUnitId','219sdMaAD','[CollaborationDataLoaderController]','Warning','_sheetSkeletonManagerService','addHandlerCallback','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','bottom','stringify','univer-flex\x20univer-items-center','unshift','LICENSE_EXPORT_SIZE_EXCEEDED','_session','fillRule','_cursorInfo$','displayName','onMouseMove','status$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','moveTo','_univerInstanceService','none','textRanges','setInterval','ENSURE_SNAPSHOT_EXECUTION','94jBjQpC','getDocRanges','searchParams','APPLY_PERMISSION_DENIED','type','substring','_imageIoService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSheetObject','doc.mutation.rich-text-editing','registerRenderModule','_drawAnchor','onPointerEnter$','RemoveRowCommandId','getVpScrollXYInfoByPosToVp','mask','event$','_eventUnsubscribe','href','asObservable','_shapes','_updateLocalCursor','_startDocCollabCursor','getCurrentRevOfUnit','LOGIN_FAILED','getConfig','getRelativeToViewportCoord','_handleLeaveEvent','getTypeOfUnitAdded$','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getAnchorBounding','INVITE_CODE_HAS_BEEN_UES','_httpService','getSheetId','_logService','attrs','source','onPointerLeave$','collabStatus.fetchMiss','getTypeOfUnitDisposed$','_id','collaboration-client.offline-data-not-saved','YUUMI_ASYNCIO_CANCELLED','/run/','send','OFFLINE','_assignedColors','NOT_COLLAB','className','JOIN_ROOM_FAILED','_docTransformSelectionsService','imageSourceType','MoveRangeCommandId','_initStatusListener','YUUMI_ALL_TABLES_IS_INVALID','collaboration.closeRoom','getMemberID','setAlpha','Unknown\x20user','round','add','cursorInfo$','CHANGESET_REVISION_CONFILICT','currentTheme$','_removeCollabCursors','column','restore','transform','LICENSE_MAX_UNITS_EXCEEDED','NOT_FOUND','propertyIsEnumerable','evenodd','_updateCollabCursors','collabStatus.offline','toString','transformStateCache','complete','sessionStatus$','loadOfflineData','UNRECOGNIZED','assign','SNAPSHOT_INVALID_SNAPSHOT','fill','white','memberID','_initStatusComponent','_transformService','with','xlink:href','_localeService','225xEUDwU','_toggleOnline','jiqing.500','_setupSubUnitSync','on-line-icon_clip0_910_349','call','_injector','getCollabCursors$','collaboration.single-unit.warning','_getSaveTimeout','set','addClipboardHook','currentColor','_unitStatus','_initEvent','CLOSE_ROOM','mutations','editingUnit','_docTransformStateCacheService','ACTIVE_UNIT_EVENT_CHANNEL','_send','4268NxeKFR','flatMap','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','ONLINE','_commandService','getUnitId','error','getFocusedUnit','_context','name','focused$','enableLocalCache','PERMISSION_DENIED','isEditing','APPLY_REJECT','APPLY_DUPLICATED','http://www.w3.org/2000/svg','init','cursorInfo','colorChannel1','rgba(255,\x20255,\x20255,\x200.01)','getColorFromTheme','getCurrentUnitForType','session.connection-failed','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformHistoryAndStateStack','post','m1Prime','_backgroundColor','_createSocketURL','_initEntityListener','USERS_LEAVE','INVITE_CODE_REQUIRED','find','_hideTimer','unload','getMergeData','_cursor','createSocket','color','_entities','Failed','HEADER_MENU','concat','pipe','_anchorDot','collab-text-range-','code','setShapeProps','_registerDependencies','YUUMI_URL_COL_OUT_OF_RANGE','children','_docTransformIMECacheService','_setupBeforeClosingHandler','height','isArray','WECHAT_HAS_BEEN_BOUND','_roomMembers$','INVALID_INVITE_CODE','redoState','SOCKET_FAILED_RETRY','key','_refRangeService','data','clearTimeout','_notificationService','setParam','split','url(#on-line-icon_clip0_910_349)','_themeService','_docStateChangeManagerService','YUUMI_AI_RUN_FAILED','roomMembers$','_getMergeRange','7988PzaPSn','max','...','eventID','getValue','SOCKET_FAILED','_initCommandExecutedListener','beginPath','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','UNAUTHENTICATED','yellow.400','executionId','params','replaceState','dispose$','subunit','removeParam','setStateCache','_heartbeatTimer','onStarting','_renderManagerService','subscribeEvent','_hovered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','_handleEvent','getOwnPropertyDescriptor','437048eiWNvp','_handleHover','_updateSubUnitFromURLParams','top','getStateCache','urlChange$','_config','_syncEditingCollabCursorService','getCurrent','whenReady','transformSelections','collab-client.tooltip.reconnect','runOnServer','hide','includes','LICENSE_DISTRO_REJECTED','forEach','endRow','setActiveRange','div','getUniverSheetInstance','ticket','FromArray','_uiPartsService','startColumn','getRangePointData','_colorIndex','defs','dispose','loadUnit','undoState','random','addEventListener','ranges','_onRefRangeChange','_textBubble','_cachedData','m2Prime','syncEditingCollabCursor','collab-text-anchor-','application/json','selection','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObject','createInstance','_getSessionTicket','transformMutation','_hover','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.synced','unitID','executeCommand','_registerRenderDependencies','pluginName','InsertRowCommandId','_initDependencies','setUndoRedoMutationParamsCache','EMAIL_VERIFY_CODE_MISMATCH','_configService','_drawTextRange','onRendered','size','0\x200\x2017\x2016','OnLineIcon','_urlService','_color','trim','indexOf','DeleteRangeMoveUpCommandId','activeSheet$','getActiveSheet','_disabled','use','_range','subscribe','NO_OTHER_CLIENTS_EDITING','YUUMI_SUBSCRIPTION_NOT_FOUND','location','_messageService','0\x200\x2016\x2016','extend','string','setConfig','hasOwnProperty','_startSheetCollabCursor','Error','clipPath','next','INVALID_ARGUMENT','arc','APPLY_REVISION_CONFILICT','save','transformByState','unit','defineProperty','reconnect','range','_saveCache','registerComponent','getRenderById','RemoveColCommandId','496314URbKAa','_anchor','getSkeleton','_cursorShapes','ALREADY_EXISTS','_name','_docSkeleton','_collabCursorController','idSuffix','fillText','addObjects','width','UNIVER_DOC','_collaborationUIEventService','override','RECT','popstate','lineTo','_transformUndoRedoStack','resize','map','USER_NOT_INVITED_CODE','onCommandExecuted','_online','_collaborationController','measureText','roomMembers','_docSyncEditingCollabCursorService','_ensureSubject','_handleJoinEvent','text','result','svg','INVITE_CODE_ALREADY_BOUND','OTHER_CLIENTS_EDITING','length','url(#$1','contains','_localStorageService','off-line-icon_clip0_910_343','_saveTaskMap','_dataLoaderService','getUnitStatus$','session.collaboration-timeout','_cursors','min','_clearOtherTimers','_handleHeartbeatEvent','path','isActive','YUUMI_TABLE_NOT_FOUND_IN_UNIT','currentSkeleton$','backgroundColor','requireSession','transformIMECache','COMPLETION_FINISHED','DeleteRangeMoveLeftCommandId','runId','entries','_lastPointer','_draw','_selfUnitIDs','InsertColCommandId','MUTATION','_removeClearOtherTimer','getCellPositionByOffset','on-line-icon','YUUMI_RATE_OVER_LIMIT','_init','TOO_MANY_REQUESTS','blue.400','sheetId','function','CONFLICT','green.600','InsertRangeMoveDownCommandId','_drawRectRange','symbol','_toggleOffline','clearInterval','PY_RUNTIME_SCRIPT_ERROR','labelPosition','13164QOtktF','deepClone','body','collaboration-client-ui.config','AWAITING','url(#off-line-icon_clip0_910_343)','AWAITING_WITH_PENDING','debug','saveTaskMap','M0\x200H16V16H0z','getItem','show','MOBILE_HAS_BEEN_BOUND','icon','search','disposeUnit','YUUMI_UNABLE_LOAD_URL','getParam','saveImage','pushState','tag','triggerDblclick','replace','collab-rect-range-','has','setItem','startRow','newValue','apply','PENDING','closePath','TEXT','endColumn','UNIVER_SHEET','_memberService','origin','getMember','_onCursorUpdate','from','UPDATE_CURSOR','7euHvaa','black','_render','get','registerBeforeClose','_scheduleClearOtherTimer','_labelPosition','collabCursorState$','_localCacheService','unitId','values','getOwnPropertySymbols','_collabCursorState$','_instanceService','_colorAssignService','28300gEEDaR','findNodePositionByCharIndex','wsSessionTicketUrl','getViewport','disposeWithMe'];_0x5c99=function(){return _0xbbe3e4;};return _0x5c99();}const Ze=['purple.300',_0x462894(0x12f),_0x462894(0x258),'red.300',_0x462894(0x254),_0x462894(0x197)];class He extends _0x407d7b{constructor(){const _0x47dd55=_0x462894;super(...arguments),_(this,_0x47dd55(0x101),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x193af3){const _0x42432b=_0x462894;if(this[_0x42432b(0x101)][_0x42432b(0x7a)](_0x193af3))return this[_0x42432b(0x101)]['get'](_0x193af3);const _0x38543a=Ze[this[_0x42432b(0x1c2)]];return this['_colorIndex']=(this[_0x42432b(0x1c2)]+0x1)%Ze[_0x42432b(0x231)],this['_assignedColors'][_0x42432b(0x137)](_0x193af3,_0x38543a),_0x38543a;}}function Mt(_0x2cf953){const _0x6b3577=_0x462894;let _0x4641c0='';for(const _0x46b0f2 of _0x2cf953){const {startOffset:_0x560f89,endOffset:_0x10fe51,isActive:_0xe43db,rangeType:_0x2844e2,segmentId:_0x4a1a2d,segmentPage:_0xd2e21}=_0x46b0f2;_0x4641c0[_0x6b3577(0x231)]&&(_0x4641c0+=','),_0x4641c0+=_0x560f89+':'+_0x10fe51+':'+(_0xe43db?'1':'0')+':'+_0x2844e2+':'+_0x4a1a2d+':'+_0xd2e21;}return _0x4641c0;}function Oi(_0x5296ea){const _0x540d53=_0x462894,_0x329bae=_0x5296ea[_0x540d53(0x185)](','),_0x2769b9=[];for(const _0x3a77bb of _0x329bae){const [_0x37ce60,_0x603e61,_0x2ff3a8,_0x532067,_0x3b2712,_0x47c395]=_0x3a77bb[_0x540d53(0x185)](':');_0x2769b9[_0x540d53(0xb2)]({'startOffset':Number(_0x37ce60),'endOffset':Number(_0x603e61),'collapsed':_0x37ce60===_0x603e61,'isActive':_0x2ff3a8==='1','rangeType':_0x532067===_0x435ae7[_0x540d53(0x81)]?_0x435ae7[_0x540d53(0x81)]:_0x435ae7['RECT'],'segmentId':typeof _0x3b2712==_0x540d53(0x1fa)?String(_0x3b2712):'','segmentPage':Number(_0x47c395!=null?_0x47c395:-0x1)});}return _0x2769b9['some'](_0x135fee=>_0x135fee[_0x540d53(0x23f)])||(_0x2769b9[0x0]['isActive']=!0x0),_0x2769b9;}class Fe extends _0x2425eb{constructor(){const _0x4097e9=_0x462894;super(...arguments),_(this,_0x4097e9(0x96),new _0x3b84c3(null)),_(this,_0x4097e9(0x91),this[_0x4097e9(0x96)][_0x4097e9(0xe4)]());}[_0x462894(0x1ce)](_0x2c27d2){const _0x2f3010=_0x462894,{unitID:_0x26a271,memberID:_0x4f1100,textRanges:_0x3f9af3}=_0x2c27d2,_0x66a849=Mt(_0x3f9af3);if(_0x66a849==='')return;const _0x53ec84={'unitID':_0x26a271,'memberID':_0x4f1100,'selection':_0x66a849};this[_0x2f3010(0x96)][_0x2f3010(0x200)](_0x53ec84);}}var bi=Object[_0x462894(0x1a7)],Ti=(_0x324941,_0x2c1b33,_0x55cbad,_0x24ae41)=>{for(var _0x4ac805=_0x24ae41>0x1?void 0x0:_0x24ae41?bi(_0x2c1b33,_0x55cbad):_0x2c1b33,_0x191e2d=_0x324941['length']-0x1,_0x407c12;_0x191e2d>=0x0;_0x191e2d--)(_0x407c12=_0x324941[_0x191e2d])&&(_0x4ac805=_0x407c12(_0x4ac805)||_0x4ac805);return _0x4ac805;},P=(_0x2edb11,_0x52dd46)=>(_0x4fef37,_0x462c9a)=>_0x52dd46(_0x4fef37,_0x462c9a,_0x2edb11);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2425eb{constructor(_0x9a96a7,_0x4b2b5b,_0x526f58,_0x4fa69b,_0x255c14,_0x382961,_0x53b967,_0x4c6cb7,_0x2e98fc){const _0x5e9a21=_0x462894;super(),_(this,_0x5e9a21(0x225),!0x1),_(this,'_init',!0x1),_(this,_0x5e9a21(0xc6),new _0x3b84c3(new Map())),_(this,_0x5e9a21(0x110),this[_0x5e9a21(0xc6)][_0x5e9a21(0xe4)]()),_(this,_0x5e9a21(0x17b),new _0x3b84c3([])),_(this,_0x5e9a21(0x18a),this[_0x5e9a21(0x17b)][_0x5e9a21(0x16e)](_0x14fd8f(Ri))),_(this,_0x5e9a21(0xe6),_0x2c83e9(_0x478a89=>{const _0x884966=_0x5e9a21,_0x1bbea3={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':{'unitID':this[_0x884966(0x1db)],'memberID':this[_0x884966(0xc4)][_0x884966(0x10b)](),'selection':Mt(_0x478a89)}};this['_session']['send'](_0x1bbea3,this[_0x884966(0x1db)]);},Di)),(this['unitID']=_0x9a96a7,this['_session']=_0x4b2b5b,this['_injector']=_0x526f58,this['_colorAssignService']=_0x4fa69b,this[_0x5e9a21(0x84)]=_0x255c14,this[_0x5e9a21(0x1af)]=_0x382961,this[_0x5e9a21(0x129)]=_0x53b967,this[_0x5e9a21(0xcc)]=_0x4c6cb7,this[_0x5e9a21(0x146)]=_0x2e98fc);}get[_0x462894(0x154)](){const _0x131d38=_0x462894;return this[_0x131d38(0xc6)][_0x131d38(0x190)]();}get[_0x462894(0x228)](){const _0x27b6cc=_0x462894;return this[_0x27b6cc(0x17b)]['getValue']();}['dispose'](){const _0x399595=_0x462894;super[_0x399595(0x1c4)](),this[_0x399595(0xc6)][_0x399595(0x200)](new Map()),this[_0x399595(0xc6)]['complete'](),this[_0x399595(0x17b)]['next']([]),this[_0x399595(0x17b)][_0x399595(0x11f)]();}[_0x462894(0x153)](){const _0x280638=_0x462894;this['_init']||(this[_0x280638(0x252)]=!0x0,this[_0x280638(0xc4)][_0x280638(0x120)][_0x280638(0x16e)](_0x477b6f(this[_0x280638(0x19b)]))['subscribe'](_0x5e3ee3=>{const _0x369275=_0x280638;_0x5e3ee3===_0xefa4ce[_0x369275(0x145)]?this[_0x369275(0x12e)]():this['_toggleOffline']();}),this['_session'][_0x280638(0xe1)][_0x280638(0x16e)](_0x477b6f(this[_0x280638(0x19b)]))['subscribe'](_0x538af4=>{const _0xc77bdc=_0x280638,_0x54a152=_0x538af4[_0xc77bdc(0x18f)];_0x54a152===_0x3428fc[_0xc77bdc(0x89)]&&this[_0xc77bdc(0x87)](_0x538af4),_0x54a152===_0x3428fc[_0xc77bdc(0x161)]&&this['_onCursorDelete'](_0x538af4);}),this[_0x280638(0x9d)](this[_0x280638(0x146)][_0x280638(0x224)](_0x322cbd=>{const _0x4bf447=_0x280638,_0x40985c=_0x322cbd[_0x4bf447(0x199)];_0x40985c!=null&&this[_0x4bf447(0x225)]&&_0x322cbd['id']===_0x46f388['id']&&_0x40985c['unitId']===this[_0x4bf447(0x1db)]&&_0x40985c[_0x4bf447(0x14f)]===!0x1&&_0x40985c[_0x4bf447(0x1c9)]['length']>0x0&&this[_0x4bf447(0xe6)](_0x40985c[_0x4bf447(0x1c9)]);})),this[_0x280638(0x1af)]['collabCursorState$']['pipe'](_0x477b6f(this[_0x280638(0x19b)]))[_0x280638(0x1f3)](_0x5d6dbd=>{const _0x4a1e8f=_0x280638;if((_0x5d6dbd==null?void 0x0:_0x5d6dbd[_0x4a1e8f(0x1db)])!==this[_0x4a1e8f(0x1db)])return;const _0x39448b={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':_0x5d6dbd};this['_onCursorUpdate'](_0x39448b);}),this['disposeWithMe'](this['_commandService'][_0x280638(0x224)](_0x489422=>{const _0x3ddf3f=_0x280638;if(_0x489422[_0x3ddf3f(0x199)]==null)return;const _0xf864f4=_0x489422[_0x3ddf3f(0x199)];if(_0x489422['id']!==_0x46af08['id']||_0xf864f4[_0x3ddf3f(0x93)]!==this[_0x3ddf3f(0x1db)])return;const _0x362cc4={'id':_0x3ddf3f(0xda),'params':_0xf864f4},_0x23f743=this[_0x3ddf3f(0x154)];for(const [_0x6b397f,_0x1332fc]of _0x23f743){const _0x2aaa25={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3ddf3f(0x1db)],'actions':null,'textRanges':_0x1332fc['ranges']}},_0x491f57=this[_0x3ddf3f(0x129)][_0x3ddf3f(0x1d6)](_0x362cc4,_0x2aaa25,!0x1);if(_0x18700a(_0x491f57))throw _0x491f57[_0x3ddf3f(0x148)];_0x23f743[_0x3ddf3f(0x137)](_0x6b397f,{..._0x1332fc,'ranges':_0x491f57[_0x3ddf3f(0x1cd)]['params']['textRanges']});}queueMicrotask(()=>{const _0x1a7c15=_0x3ddf3f;this[_0x1a7c15(0xc6)][_0x1a7c15(0x200)](_0x23f743);});})));}[_0x462894(0x87)](_0x1b5d4f){const _0x3dda96=_0x462894;var _0x5da65d,_0x5b3ec1;const {memberID:_0x3f94d2,selection:_0x407bd8}=_0x1b5d4f[_0x3dda96(0x181)],_0x128c47=Oi(_0x407bd8),_0x3109c2=(_0x5b3ec1=(_0x5da65d=this[_0x3dda96(0x84)][_0x3dda96(0x86)](this[_0x3dda96(0x1db)],_0x3f94d2))==null?void 0x0:_0x5da65d[_0x3dda96(0x14b)])!=null?_0x5b3ec1:_0x3dda96(0x10d),_0x207d9b={'color':this[_0x3dda96(0x98)]['assignAColorForMemberID'](_0x3f94d2),'name':_0x3109c2,'ranges':_0x128c47},_0x201042=this[_0x3dda96(0x154)];_0x201042[_0x3dda96(0x137)](_0x3f94d2,_0x207d9b),this[_0x3dda96(0xc6)][_0x3dda96(0x200)](_0x201042);}[_0x462894(0xb0)](_0x41daaa){const _0x58987e=_0x462894,{memberID:_0x292867}=_0x41daaa[_0x58987e(0x181)],_0x564755=this['cursorInfo'];_0x564755[_0x58987e(0xa0)](_0x292867),this['_cursorInfo$'][_0x58987e(0x200)](_0x564755);}[_0x462894(0x12e)](){const _0x1a1b3f=_0x462894;var _0x78182f;if(this[_0x1a1b3f(0x225)]=!0x0,((_0x78182f=this[_0x1a1b3f(0xcc)][_0x1a1b3f(0x149)]())==null?void 0x0:_0x78182f['getUnitId']())!==this[_0x1a1b3f(0x1db)])return;const _0x19a65a=this[_0x1a1b3f(0x133)]['get'](_0xdbcf34)['getDocRanges']();Array['isArray'](_0x19a65a)&&_0x19a65a[_0x1a1b3f(0x231)]>0x0&&this['_updateLocalCursor'](_0x19a65a);}[_0x462894(0x25c)](){const _0x34dd1c=_0x462894;this[_0x34dd1c(0x225)]=!0x1;}};Ue=Ti([P(0x2,_0x4908fa(_0x5bd625)),P(0x3,_0x4908fa(He)),P(0x4,_0x4908fa(_0x35ae7f)),P(0x5,_0x4908fa(Fe)),P(0x6,_0x3d1a26),P(0x7,_0x13b0f3),P(0x8,_0x42ff01)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x2dd118,_0x2bc471,_0x48c5e8,_0x54a143)=>{for(var _0x27933d=_0x54a143>0x1?void 0x0:_0x54a143?Ni(_0x2bc471,_0x48c5e8):_0x2bc471,_0x574835=_0x2dd118['length']-0x1,_0x896bc1;_0x574835>=0x0;_0x574835--)(_0x896bc1=_0x2dd118[_0x574835])&&(_0x27933d=_0x896bc1(_0x27933d)||_0x27933d);return _0x27933d;},x=(_0x2d1108,_0x4bc0ea)=>(_0x287aa9,_0x25589f)=>_0x4bc0ea(_0x287aa9,_0x25589f,_0x2d1108);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x164d39=[],_0x16aa8f=!0x1;return _0x577712=>{_0x164d39['push'](_0x577712),_0x16aa8f||(_0x16aa8f=!0x0,setTimeout(()=>{const _0x38c1fa=_0x335a;_0x164d39[_0x38c1fa(0x1b8)](_0xc71e98=>_0xc71e98()),_0x164d39=[],_0x16aa8f=!0x1;}));};};let Me=class extends _0x2425eb{constructor(_0x58e9ea,_0x27ed29,_0x37e5e6,_0x4572ee,_0x1116bb,_0x2401e3,_0x2e3fc4,_0x1dcc29){const _0x234d6b=_0x462894;super(),_(this,_0x234d6b(0x225),!0x1),_(this,_0x234d6b(0x252),!0x1),_(this,'_cursorInfo$',new _0x3b84c3(new Map())),_(this,_0x234d6b(0x110),this[_0x234d6b(0xc6)][_0x234d6b(0xe4)]()),_(this,_0x234d6b(0x17b),new _0x3b84c3([])),_(this,_0x234d6b(0x18a),this[_0x234d6b(0x17b)][_0x234d6b(0x16e)](_0x14fd8f(Mi))),_(this,_0x234d6b(0xe6),_0x2c83e9((_0xfdcaf7,_0x24735a)=>{const _0x17b028=_0x234d6b,_0x458e61={'eventID':_0x3428fc['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x17b028(0xc4)][_0x17b028(0x10b)](),'selection':_0x2f4ffb(_0xfdcaf7,_0x24735a[_0x17b028(0x209)])}};this['_session'][_0x17b028(0xff)](_0x458e61,this[_0x17b028(0x1db)]);},Li)),(this[_0x234d6b(0x1db)]=_0x58e9ea,this[_0x234d6b(0xc4)]=_0x27ed29,this[_0x234d6b(0x133)]=_0x37e5e6,this[_0x234d6b(0x98)]=_0x4572ee,this[_0x234d6b(0x84)]=_0x1116bb,this[_0x234d6b(0xcc)]=_0x2401e3,this[_0x234d6b(0x146)]=_0x2e3fc4,this[_0x234d6b(0x180)]=_0x1dcc29);}get[_0x462894(0x154)](){const _0x16a91e=_0x462894;return this[_0x16a91e(0xc6)][_0x16a91e(0x190)]();}get['roomMembers'](){const _0x200a25=_0x462894;return this['_roomMembers$'][_0x200a25(0x190)]();}[_0x462894(0x1c4)](){const _0x1b8cca=_0x462894;super[_0x1b8cca(0x1c4)](),this[_0x1b8cca(0xc6)]['next'](new Map()),this[_0x1b8cca(0xc6)][_0x1b8cca(0x11f)](),this[_0x1b8cca(0x17b)][_0x1b8cca(0x200)]([]),this[_0x1b8cca(0x17b)]['complete']();}[_0x462894(0x153)](){const _0x29cbd9=_0x462894;this[_0x29cbd9(0x252)]||(this[_0x29cbd9(0x252)]=!0x0,this[_0x29cbd9(0xc4)][_0x29cbd9(0x120)]['pipe'](_0x477b6f(this['dispose$']))[_0x29cbd9(0x1f3)](_0x52a869=>{const _0x59855a=_0x29cbd9;_0x52a869===_0xefa4ce[_0x59855a(0x145)]?this[_0x59855a(0x12e)]():this[_0x59855a(0x25c)]();}),this[_0x29cbd9(0xc4)][_0x29cbd9(0xe1)][_0x29cbd9(0x16e)](_0x477b6f(this['dispose$']))['subscribe'](_0xfe8396=>{const _0x1dbb59=_0x29cbd9,_0x2184b1=_0xfe8396[_0x1dbb59(0x18f)];_0x2184b1===_0x3428fc[_0x1dbb59(0x89)]&&this[_0x1dbb59(0x87)](_0xfe8396),_0x2184b1===_0x3428fc[_0x1dbb59(0x161)]&&this['_onCursorDelete'](_0xfe8396);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x394cee=>{const _0x3aca7c=_0x29cbd9;if(this['_online']&&_0x394cee['id']===_0x2be5c5['id']&&_0x394cee[_0x3aca7c(0x199)][_0x3aca7c(0x93)]===this[_0x3aca7c(0x1db)]){const _0x571ac7=_0x394cee[_0x3aca7c(0x199)];this[_0x3aca7c(0xe6)](_0x571ac7[_0x3aca7c(0xb8)],_0x571ac7['selections'][0x0]);}})));}[_0x462894(0x87)](_0x350d1a){const _0x2d5582=_0x462894;var _0x2a94a4,_0x8a3b53;const {memberID:_0x10cd3b,selection:_0x21a034}=_0x350d1a[_0x2d5582(0x181)],{sheetName:_0x2b8e21,range:_0xe505c}=_0x5c4505(_0x21a034),_0x386834={'name':(_0x8a3b53=(_0x2a94a4=this[_0x2d5582(0x84)]['getMember'](this[_0x2d5582(0x1db)],_0x10cd3b))==null?void 0x0:_0x2a94a4[_0x2d5582(0x14b)])!=null?_0x8a3b53:_0x2d5582(0x10d),'range':this['_getMergeRange'](_0x2b8e21,_0xe505c),'sheetID':_0x2b8e21,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x10cd3b),'selection':_0x21a034},_0xb1a1d2=this[_0x2d5582(0x154)];_0xb1a1d2[_0x2d5582(0x137)](_0x10cd3b,_0x386834),this[_0x2d5582(0xc6)][_0x2d5582(0x200)](_0xb1a1d2);}[_0x462894(0xb0)](_0x43ef4d){const _0x4d9ee4=_0x462894,{memberID:_0x279c55}=_0x43ef4d['data'],_0x5f14e4=this[_0x4d9ee4(0x154)];_0x5f14e4['delete'](_0x279c55),this[_0x4d9ee4(0xc6)][_0x4d9ee4(0x200)](_0x5f14e4);}[_0x462894(0x18b)](_0x36bb22,_0xe1de26){const _0x14ebbe=_0x462894;var _0x4db733,_0x3827ef;const _0x2f4ec6=(_0x3827ef=(_0x4db733=this[_0x14ebbe(0xcc)][_0x14ebbe(0x1bc)](this[_0x14ebbe(0x1db)]))==null?void 0x0:_0x4db733['getSheetBySheetId'](_0x36bb22))==null?void 0x0:_0x3827ef[_0x14ebbe(0x166)]();return(_0x2f4ec6==null?void 0x0:_0x2f4ec6[_0x14ebbe(0x163)](_0x1b3cea=>_0x9f19d6[_0x14ebbe(0x233)](_0x1b3cea,_0xe1de26)))||_0xe1de26;}[_0x462894(0x1ca)](){const _0xd3a726=_0x462894,_0x572611=new _0x5fedaa(),_0x58c760=Pi(),_0x2074b5=()=>{const _0x6066d8=_0x335a;_0x572611[_0x6066d8(0x1c4)]();const _0x561d11=(_0x514856,_0x4357b3,_0x24754b,_0x285008)=>{const _0x2ded16=_0x6066d8;let _0xaa2868=[];switch(_0x514856['id']){case _0x3ba865[_0x2ded16(0x246)]:{_0xaa2868=_0x565dac(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x1ed)]:{_0xaa2868=_0x28159c(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x24c)]:{_0xaa2868=_0x43474e(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x259)]:{_0xaa2868=_0x3f0bbf(_0x514856,_0x285008);break;}case _0x3ba865['InsertRangeMoveRightCommandId']:{_0xaa2868=_0x1c0258(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x1df)]:{_0xaa2868=_0x3126c4(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x107)]:{_0xaa2868=_0x44dc5b(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0x20d)]:{_0xaa2868=_0xcefbbf(_0x514856,_0x285008);break;}case _0x3ba865[_0x2ded16(0xde)]:{_0xaa2868=_0xd26a2a(_0x514856,_0x285008);break;}}const _0x17c063=_0x20aa35(_0xaa2868,_0x285008),_0xbb77b6=this['cursorInfo'][_0x2ded16(0x8d)](_0x4357b3);if(_0xbb77b6&&_0x17c063){const _0x3ff76f={..._0xbb77b6,'range':_0x17c063};this[_0x2ded16(0x154)][_0x2ded16(0x137)](_0x4357b3,_0x3ff76f),_0x58c760(()=>{const _0x2f72b8=_0x2ded16,_0x309abb=this[_0x2f72b8(0x180)]['registerRefRange'](_0x17c063,_0x5cc577=>(_0x309abb[_0x2f72b8(0x1c4)](),_0x561d11(_0x5cc577,_0x4357b3,_0x24754b,_0x17c063)));_0x572611[_0x2f72b8(0x10f)](_0x309abb);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6066d8(0x1b8)]((_0x1eebe7,_0x1047b0)=>{const _0x47f94a=_0x6066d8,{range:_0x29ff60,sheetID:_0x30ffda}=_0x1eebe7,_0x42d706=this[_0x47f94a(0x180)]['registerRefRange'](_0x29ff60,_0x4a1eec=>(_0x42d706['dispose'](),_0x561d11(_0x4a1eec,_0x1047b0,_0x30ffda,_0x29ff60)));_0x572611['add'](_0x42d706);});};this[_0xd3a726(0x9d)](_0x425bc5(this['_cursorInfo$'][_0xd3a726(0x1f3)](()=>{_0x2074b5();})));}[_0x462894(0x12e)](){const _0x490cbc=_0x462894;var _0x3794e4,_0x1a0cfc;if(this['_online']=!0x0,((_0x3794e4=this[_0x490cbc(0xcc)][_0x490cbc(0x149)]())==null?void 0x0:_0x3794e4['getUnitId']())!==this[_0x490cbc(0x1db)])return;const _0x17a5cf=(_0x1a0cfc=this[_0x490cbc(0x133)][_0x490cbc(0x8d)](_0x4bb79e)['getCurrentSelections']())==null?void 0x0:_0x1a0cfc[0x0],_0x29ed16=this[_0x490cbc(0xcc)][_0x490cbc(0x158)](_0x509904[_0x490cbc(0x83)])['getActiveSheet']();_0x17a5cf&&_0x29ed16&&this[_0x490cbc(0xe6)](_0x29ed16[_0x490cbc(0xf4)](),_0x17a5cf);}[_0x462894(0x25c)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x4908fa(_0x5bd625)),x(0x3,_0x4908fa(He)),x(0x4,_0x4908fa(_0x35ae7f)),x(0x5,_0x13b0f3),x(0x6,_0x42ff01),x(0x7,_0x4908fa(_0x311aa5))],Me);var wi=Object[_0x462894(0x1a7)],Ai=(_0x279fe6,_0x10103a,_0x17adf7,_0x52d496)=>{const _0x484107=_0x462894;for(var _0x74107c=_0x52d496>0x1?void 0x0:_0x52d496?wi(_0x10103a,_0x17adf7):_0x10103a,_0x27704a=_0x279fe6[_0x484107(0x231)]-0x1,_0x4a13a6;_0x27704a>=0x0;_0x27704a--)(_0x4a13a6=_0x279fe6[_0x27704a])&&(_0x74107c=_0x4a13a6(_0x74107c)||_0x74107c);return _0x74107c;},me=(_0x4a5a9c,_0x46b9a7)=>(_0x343fa9,_0x5f4673)=>_0x46b9a7(_0x343fa9,_0x5f4673,_0x4a5a9c);let F=class extends _0x2425eb{constructor(_0x8cc9fb,_0x3c5f33,_0x3247fc){const _0x3ac763=_0x462894;super(),_(this,_0x3ac763(0x16a),new Map()),_(this,'_entityInit$',new _0x2ffe8b()),(this['_univerInstanceService']=_0x8cc9fb,this[_0x3ac763(0x133)]=_0x3c5f33,this[_0x3ac763(0xa2)]=_0x3247fc,this[_0x3ac763(0x252)]());}[_0x462894(0x1c4)](){const _0xec97ef=_0x462894;super[_0xec97ef(0x1c4)](),this[_0xec97ef(0x195)][_0xec97ef(0x11f)](),this[_0xec97ef(0x16a)][_0xec97ef(0x1b8)](_0x518b2b=>_0x518b2b[_0xec97ef(0x1c4)]());}[_0x462894(0x134)](_0x28cd2a){const _0xc2ebe0=_0x462894;return this[_0xc2ebe0(0x16a)]['has'](_0x28cd2a)?this['_entities'][_0xc2ebe0(0x8d)](_0x28cd2a)['cursorInfo$']:this[_0xc2ebe0(0x195)]['pipe'](_0x23ef07(_0x2cfecc=>_0x2cfecc['unitID']===_0x28cd2a),_0x2dc9ff(_0x2a17e0=>_0x2a17e0[_0xc2ebe0(0x110)]));}[_0x462894(0x252)](){const _0xe71fd5=_0x462894;this[_0xe71fd5(0xcc)][_0xe71fd5(0xed)](_0x509904['UNIVER_SHEET'])[_0xe71fd5(0x16e)](_0x477b6f(this['dispose$']))[_0xe71fd5(0x1f3)](async _0x1304c4=>{const _0x37ec7b=_0xe71fd5,_0x292c98=_0x1304c4['getUnitId'](),_0x288d5f=await this[_0x37ec7b(0x1fd)](_0x292c98);this[_0x37ec7b(0x195)]['next'](_0x288d5f),this[_0x37ec7b(0x16a)][_0x37ec7b(0x137)](_0x292c98,_0x288d5f);}),this['_univerInstanceService'][_0xe71fd5(0xed)](_0x509904[_0xe71fd5(0x21a)])[_0xe71fd5(0x16e)](_0x477b6f(this[_0xe71fd5(0x19b)]))['pipe'](_0x23ef07(_0x423d3f=>!_0x423d3f[_0xe71fd5(0x147)]()['startsWith']('__')))[_0xe71fd5(0x1f3)](async _0x4058d3=>{const _0x4c06dc=_0xe71fd5,_0x3d1168=_0x4058d3[_0x4c06dc(0x147)](),_0x1530f3=await this[_0x4c06dc(0xe7)](_0x3d1168);this['_entityInit$'][_0x4c06dc(0x200)](_0x1530f3),this[_0x4c06dc(0x16a)][_0x4c06dc(0x137)](_0x3d1168,_0x1530f3);}),_0x2b216c(this[_0xe71fd5(0xcc)][_0xe71fd5(0xfa)](_0x509904[_0xe71fd5(0x21a)]),this[_0xe71fd5(0xcc)][_0xe71fd5(0xfa)](_0x509904[_0xe71fd5(0x83)]))[_0xe71fd5(0x16e)](_0x477b6f(this[_0xe71fd5(0x19b)]))[_0xe71fd5(0x1f3)](_0x5880ba=>{const _0x1d9f36=_0xe71fd5,_0x12a334=_0x5880ba[_0x1d9f36(0x147)](),_0x5d7906=this['_entities'][_0x1d9f36(0x8d)](_0x12a334);_0x5d7906&&(_0x5d7906['dispose'](),this[_0x1d9f36(0x16a)][_0x1d9f36(0xa0)](_0x12a334));});}async[_0x462894(0x1fd)](_0x233560){const _0xa7caf6=_0x462894,_0x584989=await this[_0xa7caf6(0xa2)]['requireSession'](_0x233560),_0x9ffe05=this[_0xa7caf6(0x133)]['createInstance'](Me,_0x233560,_0x584989);return _0x9ffe05[_0xa7caf6(0x153)](),_0x9ffe05;}async['_startDocCollabCursor'](_0x1e2600){const _0x49887e=_0x462894,_0x35c804=await this[_0x49887e(0xa2)][_0x49887e(0x243)](_0x1e2600),_0x20f541=this[_0x49887e(0x133)][_0x49887e(0x1d4)](Ue,_0x1e2600,_0x35c804);return _0x20f541[_0x49887e(0x153)](),_0x20f541;}};F=Ai([me(0x0,_0x13b0f3),me(0x1,_0x4908fa(_0x5bd625)),me(0x2,_0x4908fa(_0x4f7017))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x5e3012,_0x721702){const _0x1ddd92=_0x462894;let {radius:_0x2dc0ff,width:_0x22a687,height:_0x59a816}=_0x721702;_0x2dc0ff=_0x2dc0ff!=null?_0x2dc0ff:0x0,_0x22a687=_0x22a687!=null?_0x22a687:0x1e,_0x59a816=_0x59a816!=null?_0x59a816:0x1e;let _0xd5af29=0x0,_0x7ad1f=0x0,_0x204abd=0x0;_0xd5af29=_0x7ad1f=_0x204abd=Math[_0x1ddd92(0x23b)](_0x2dc0ff,_0x22a687/0x2,_0x59a816/0x2),_0x5e3012[_0x1ddd92(0x193)](),_0x5e3012[_0x1ddd92(0xcb)](_0xd5af29,0x0),_0x5e3012['lineTo'](_0x22a687-_0x7ad1f,0x0),_0x5e3012[_0x1ddd92(0x202)](_0x22a687-_0x7ad1f,_0x7ad1f,_0x7ad1f,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e3012['lineTo'](_0x22a687,_0x59a816-_0x204abd),_0x5e3012['arc'](_0x22a687-_0x204abd,_0x59a816-_0x204abd,_0x204abd,0x0,Math['PI']/0x2,!0x1),_0x5e3012[_0x1ddd92(0x21f)](0x0,_0x59a816),_0x5e3012[_0x1ddd92(0x21f)](0x0,_0xd5af29),_0x5e3012[_0x1ddd92(0x202)](_0xd5af29,_0xd5af29,_0xd5af29,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e3012[_0x1ddd92(0x80)](),_0x721702['fill']&&(_0x5e3012[_0x1ddd92(0x204)](),_0x5e3012['fillStyle']=_0x721702[_0x1ddd92(0x125)],_0x721702[_0x1ddd92(0xc5)]===_0x1ddd92(0x11a)?_0x5e3012[_0x1ddd92(0x125)]('evenodd'):_0x5e3012[_0x1ddd92(0x125)](),_0x5e3012[_0x1ddd92(0x115)]());}class ue extends _0x46a841{constructor(_0x3ada72,_0x1c5cfc){const _0x16a50e=_0x462894;super(_0x3ada72,_0x1c5cfc),_(this,_0x16a50e(0x169)),_(this,_0x16a50e(0x22c)),(this[_0x16a50e(0x169)]=_0x1c5cfc==null?void 0x0:_0x1c5cfc['color'],this[_0x16a50e(0x22c)]=_0x1c5cfc==null?void 0x0:_0x1c5cfc[_0x16a50e(0x22c)]);}static[_0x462894(0xa4)](_0xc39d8b,_0x5cebfb){const _0x1a34ce=_0x462894,{text:_0x1a0c17,color:_0x3a3303}=_0x5cebfb;_0xc39d8b['save'](),_0xc39d8b['font']=_0x1a34ce(0x1a4);const _0x1fe8d5=_0xc39d8b[_0x1a34ce(0x227)](_0x1a0c17)[_0x1a34ce(0x219)],_0x4224ff=Math[_0x1a34ce(0x23b)](_0x1fe8d5+0x2*Ie,Qe);$i(_0xc39d8b,{'height':J,'radius':0x4,'width':_0x4224ff,'fill':_0x3a3303}),_0xc39d8b[_0x1a34ce(0xa1)]='#FFF';const _0x6cc929=Ie,_0x57be02=J-yi,_0x522650=Qe-0x2*Ie;if(_0x1fe8d5>_0x522650){let _0x4cbf07='',_0x53bc08=0x0;for(const _0x384a8e of _0x1a0c17){const _0x5c89b1=_0xc39d8b['measureText'](_0x384a8e)[_0x1a34ce(0x219)];if(_0x53bc08+_0x5c89b1<=_0x522650-_0xc39d8b[_0x1a34ce(0x227)](_0x1a34ce(0x18e))['width'])_0x4cbf07+=_0x384a8e,_0x53bc08+=_0x5c89b1;else{_0x4cbf07+='...';break;}}_0xc39d8b['fillText'](_0x4cbf07,_0x6cc929,_0x57be02);}else _0xc39d8b[_0x1a34ce(0x217)](_0x1a0c17,_0x6cc929,_0x57be02);_0xc39d8b[_0x1a34ce(0x115)]();}[_0x462894(0x24a)](_0x385abb){ue['drawWith'](_0x385abb,this);}}const ve=_0x462894(0x1cf),xi=_0x462894(0x170),Bi=_0x462894(0x79),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x462894(0x156);class qe{constructor(_0x1a28f6,_0x3902b8,_0x4beaee,_0x263177){const _0x5df2c8=_0x462894;_(this,_0x5df2c8(0xe5),[]),_(this,_0x5df2c8(0x20f),null),_(this,_0x5df2c8(0x1cb),null),_(this,_0x5df2c8(0x16f),null),_(this,_0x5df2c8(0x164),null),_(this,'_eventUnsubscribe',null),(this[_0x5df2c8(0x167)]=_0x1a28f6,this[_0x5df2c8(0xa9)]=_0x3902b8,this[_0x5df2c8(0x214)]=_0x4beaee,this['_document']=_0x263177,this['_render']());}set[_0x462894(0x1d7)](_0x13c3eb){const _0x330113=_0x462894;_0x13c3eb?(this[_0x330113(0x16f)]&&this[_0x330113(0x16f)][_0x330113(0x1b5)](),this[_0x330113(0x1cb)]&&this[_0x330113(0x1cb)][_0x330113(0x26b)]()):(this[_0x330113(0x16f)]&&this[_0x330113(0x16f)][_0x330113(0x26b)](),this[_0x330113(0x1cb)]&&this['_textBubble'][_0x330113(0x1b5)]());}[_0x462894(0x1c4)](){const _0x17c7d0=_0x462894;for(const _0x438566 of this[_0x17c7d0(0xe5)])_0x438566['dispose']();this['_textBubble']&&this[_0x17c7d0(0x1cb)]['dispose'](),this['_anchorDot']&&this[_0x17c7d0(0x16f)][_0x17c7d0(0x1c4)](),this['_anchor']&&this[_0x17c7d0(0x20f)][_0x17c7d0(0x1c4)](),this[_0x17c7d0(0xe2)]&&this[_0x17c7d0(0xe2)]();}[_0x462894(0x8c)](){const _0x4e008a=_0x462894;var _0x160483;const {_docSkeleton:_0x8112a0,_document:_0x5755e3}=this,{color:_0x504196,name:_0x55f696,ranges:_0xe654b6}=this[_0x4e008a(0x167)],_0x3b2b03=_0x5755e3['getOffsetConfig'](),{docsLeft:_0x1d6893,docsTop:_0x3e0de4}=_0x3b2b03,_0x524c6b=new _0x14ab01(_0x3b2b03,_0x8112a0);for(const {startOffset:_0x3aa4f3,endOffset:_0x43b7da,rangeType:_0x8c5ea,segmentId:_0x2f3c70,segmentPage:_0x376aee,collapsed:_0x4c840d,isActive:_0x5e4477}of _0xe654b6){const _0xc148e4=_0x8112a0[_0x4e008a(0x9a)](_0x3aa4f3,!0x0,_0x2f3c70,_0x376aee);let _0x1130a6=_0x8112a0[_0x4e008a(0x9a)](_0x43b7da,!0x0,_0x2f3c70,_0x376aee);if(_0x1130a6==null&&(_0x1130a6=_0x8112a0[_0x4e008a(0x9a)](_0x43b7da-0x1,!0x1,_0x2f3c70,_0x376aee)),_0x5e4477){const {contentBoxPointGroup:_0x2a56da}=_0x524c6b[_0x4e008a(0x1c1)](_0x1130a6,_0x1130a6);if(_0x2a56da[_0x4e008a(0x231)]===0x0)continue;this[_0x4e008a(0xdc)](_0x504196,_0x2a56da,_0x1d6893,_0x3e0de4,_0x55f696),this[_0x4e008a(0xe2)]=this['_handleHover']();}if(_0xc148e4&&_0x1130a6){if(_0x8c5ea===_0x435ae7[_0x4e008a(0x21d)]){const _0x409157=new _0xa375cd(_0x3b2b03,_0x8112a0),{pointGroup:_0x1dde53}=(_0x160483=_0x409157['getRangePointData'](_0xc148e4,_0x1130a6))!=null?_0x160483:{};if(_0x1dde53==null||_0x1dde53['length']===0x0)continue;this[_0x4e008a(0x25a)](_0x504196,_0x1dde53,_0x1d6893,_0x3e0de4);}else{if(!_0x4c840d){const {borderBoxPointGroup:_0x3ff37a}=_0x524c6b[_0x4e008a(0x1c1)](_0xc148e4,_0x1130a6);if(_0x3ff37a['length']===0x0)continue;this[_0x4e008a(0x1e4)](_0x504196,_0x3ff37a,_0x1d6893,_0x3e0de4);}}}}}[_0x462894(0xdc)](_0x215495,_0x210f87,_0x18609c,_0x3ced12,_0x2203d3){const _0x436cd3=_0x462894,_0x482499=this['_getAnchorBounding'](_0x210f87),{left:_0xe73ef3,top:_0x412533,height:_0x42235b}=_0x482499,_0x2a0ee9=this['_getScale'](),_0x2e2637=Hi/_0x2a0ee9,_0x14f09f=new _0x165788(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12,'height':_0x42235b,'width':ki,'fill':_0x215495||_0x41dd54(_0x324582[_0x436cd3(0x8b)],0x0),'strokeWidth':_0x2e2637,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x14f09f,this[_0x436cd3(0xa9)]['addObject'](_0x14f09f,_0x4ad887);const _0x541826=new _0x165788(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12-ge/0x2,'height':ge,'width':ge,'fill':_0x215495||_0x41dd54(_0x324582[_0x436cd3(0x8b)],0x0),'strokeWidth':0x0,'stroke':_0x215495||_0x41dd54(_0x324582['black'],0x0),'evented':!0x1});this[_0x436cd3(0x16f)]=_0x541826,this[_0x436cd3(0xa9)][_0x436cd3(0x1d3)](_0x541826,_0x4ad887);const _0x4e2cf1=new ue(ve+_0x3f1aaa(K),{'left':_0xe73ef3+_0x18609c-_0x2e2637,'top':_0x412533+_0x3ced12-J,'text':_0x2203d3,'color':_0x215495});this[_0x436cd3(0x1cb)]=_0x4e2cf1,this[_0x436cd3(0xa9)][_0x436cd3(0x1d3)](_0x4e2cf1,_0x4ad887),this[_0x436cd3(0x1d7)]=!0x1;}[_0x462894(0x1a9)](){const _0x15ee87=_0x462894,_0x47567a=this[_0x15ee87(0x20f)][_0x15ee87(0xdd)][_0x15ee87(0x1a2)](()=>{const _0x19d08e=_0x15ee87;this[_0x19d08e(0x1d7)]=!0x0;}),_0xc4d88d=this[_0x15ee87(0x20f)]['onPointerLeave$'][_0x15ee87(0x1a2)](()=>{const _0x3fdfe5=_0x15ee87;this['_hideTimer']&&clearTimeout(this[_0x3fdfe5(0x164)]),this['_hideTimer']=setTimeout(()=>{const _0x1bc53f=_0x3fdfe5;this[_0x1bc53f(0x1d7)]=!0x1;},0x7d0);});return()=>{_0x47567a['unsubscribe'](),_0xc4d88d['unsubscribe']();};}[_0x462894(0x1e4)](_0x229959,_0x38f5c9,_0x186b55,_0x10b611){const _0xe21c65=_0x462894,_0x37ebbe=new _0x42986a(_0x229959)[_0xe21c65(0x10c)](0.2)[_0xe21c65(0xa8)](),_0x5715e8=new _0x1537ee(xi+_0x3f1aaa(K),{'pointsGroup':_0x38f5c9,'fill':_0x37ebbe||_0x41dd54(_0x324582['black'],0.2),'left':_0x186b55,'top':_0x10b611,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe21c65(0xe5)][_0xe21c65(0xb2)](_0x5715e8),this[_0xe21c65(0xa9)][_0xe21c65(0x1d3)](_0x5715e8,_0x4ad887);}[_0x462894(0x25a)](_0x25dc83,_0x10a8d2,_0x5015fe,_0x50f96a){const _0x28e397=_0x462894,_0x4b1dab=new _0x42986a(_0x25dc83)[_0x28e397(0x10c)](0.2)[_0x28e397(0xa8)](),_0x4f5d6d=new _0x1537ee(Bi+_0x3f1aaa(K),{'pointsGroup':_0x10a8d2,'fill':_0x4b1dab||_0x41dd54(_0x324582['black'],0.2),'left':_0x5015fe,'top':_0x50f96a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28e397(0xe5)]['push'](_0x4f5d6d),this[_0x28e397(0xa9)][_0x28e397(0x1d3)](_0x4f5d6d,_0x4ad887);}[_0x462894(0xf1)](_0x5b7f90){const _0x449e7c=_0x5b7f90[0x0],_0x1277c0=_0x449e7c[0x0],_0x152918=_0x449e7c[0x2],{x:_0x5ebbd5,y:_0x405914}=_0x1277c0,{x:_0x5435fa,y:_0x26c11e}=_0x152918;return{'left':_0x5ebbd5,'top':_0x405914,'width':_0x5435fa-_0x5ebbd5,'height':_0x26c11e-_0x405914};}['_getScale'](){const _0xc1415b=_0x462894,{scaleX:_0x17952a,scaleY:_0x4161e8}=this['_scene']['getAncestorScale']();return Math[_0xc1415b(0x18d)](_0x17952a,_0x4161e8);}}var Yi=Object[_0x462894(0x1a7)],ji=(_0x34bd5b,_0x18ba41,_0x3ae551,_0x365611)=>{const _0xdeca92=_0x462894;for(var _0x16a831=_0x365611>0x1?void 0x0:_0x365611?Yi(_0x18ba41,_0x3ae551):_0x18ba41,_0x4b18cf=_0x34bd5b[_0xdeca92(0x231)]-0x1,_0x5abfac;_0x4b18cf>=0x0;_0x4b18cf--)(_0x5abfac=_0x34bd5b[_0x4b18cf])&&(_0x16a831=_0x5abfac(_0x16a831)||_0x16a831);return _0x16a831;},ee=(_0x10804c,_0x365fb4)=>(_0x31337c,_0x388f37)=>_0x365fb4(_0x31337c,_0x388f37,_0x10804c);let Le=class extends _0x2425eb{constructor(_0x3aeb03,_0x55edb0,_0x2c0e7f,_0x52503c,_0x50f563){const _0x5f5994=_0x462894;super(),_(this,_0x5f5994(0x211),[]),_(this,_0x5f5994(0x23a),[]),(this[_0x5f5994(0x14a)]=_0x3aeb03,this[_0x5f5994(0x1a5)]=_0x55edb0,this[_0x5f5994(0x215)]=_0x2c0e7f,this[_0x5f5994(0x146)]=_0x52503c,this['_themeService']=_0x50f563,this[_0x5f5994(0x252)]());}[_0x462894(0x252)](){const _0x30dddc=_0x462894,_0x162ef7=this['_context']['unitId'],_0xfc9cbe=this[_0x30dddc(0x1a5)];this[_0x30dddc(0x9d)](_0x2d6241([this[_0x30dddc(0x215)][_0x30dddc(0x134)](_0x162ef7),this['_themeService'][_0x30dddc(0x112)]])[_0x30dddc(0x16e)](_0x4a2751(([_0x5f3f37,_0x247788])=>({'skeleton':_0xfc9cbe[_0x30dddc(0x210)](),'cursors':[..._0x5f3f37['values']()][_0x30dddc(0x143)](_0x22c2a0=>({..._0x22c2a0,'color':this[_0x30dddc(0x187)][_0x30dddc(0x157)](_0x22c2a0['color'])}))})))[_0x30dddc(0x1f3)](_0x3cb3dc=>{const _0x29ddad=_0x30dddc;if(this[_0x29ddad(0x113)](),_0x3cb3dc){const {skeleton:_0x411810,cursors:_0x5a241f}=_0x3cb3dc;this['_updateCollabCursors'](_0x411810,_0x5a241f);}})),this[_0x30dddc(0xa7)](),this[_0x30dddc(0x192)]();}[_0x462894(0x11b)](_0x2edf2e,_0x20dfd1){const _0x3a1180=_0x462894,{scene:_0x2c77e9,mainComponent:_0x35d1c8}=this[_0x3a1180(0x14a)],_0x1990cd=_0x20dfd1['map'](_0x3e6bb5=>new qe(_0x3e6bb5,_0x2c77e9,_0x2edf2e,_0x35d1c8));this['_cursorShapes']=_0x1990cd,this[_0x3a1180(0x23a)]=_0x20dfd1;}['_refreshCollabCursors'](){const _0x3d5b5e=_0x462894;this['_removeCollabCursors']();const {scene:_0x289cb4,mainComponent:_0xfa06c7}=this[_0x3d5b5e(0x14a)],_0xfef2c3=this[_0x3d5b5e(0x1a5)][_0x3d5b5e(0x210)](),_0x550c05=this[_0x3d5b5e(0x23a)][_0x3d5b5e(0x222)](_0x4f2bdc=>new qe(_0x4f2bdc,_0x289cb4,_0xfef2c3,_0xfa06c7));this[_0x3d5b5e(0x211)]=_0x550c05;}[_0x462894(0x113)](){const _0x594d5e=_0x462894;this['_cursorShapes'][_0x594d5e(0x1b8)](_0x4c8a8e=>_0x4c8a8e[_0x594d5e(0x1c4)]()),this[_0x594d5e(0x211)]=[];}[_0x462894(0x192)](){const _0x10261e=_0x462894,_0x5e2d53=[_0x1d3631['id']];this[_0x10261e(0x9d)](this[_0x10261e(0x146)][_0x10261e(0x224)](_0x2f50a4=>{const _0x26db4f=_0x10261e;_0x5e2d53['includes'](_0x2f50a4['id'])&&_0x2f50a4['params'][_0x26db4f(0x93)]===this['_context'][_0x26db4f(0x93)]&&this[_0x26db4f(0xee)]();}));}[_0x462894(0xa7)](){const _0x5c7bdf=_0x462894;this[_0x5c7bdf(0x9d)](_0x5205b9(this[_0x5c7bdf(0x14a)]['engine']['onTransformChange$'])[_0x5c7bdf(0x16e)](_0x557b08(_0x166316=>_0x166316[_0x5c7bdf(0xd5)]===_0x326786[_0x5c7bdf(0x221)]),_0x727cf8(0x10))[_0x5c7bdf(0x1f3)](()=>{const _0x1a112c=_0x5c7bdf;this[_0x1a112c(0xee)]();}));}};Le=ji([ee(0x1,_0x4908fa(_0x7e904b)),ee(0x2,_0x4908fa(F)),ee(0x3,_0x42ff01),ee(0x4,_0x4908fa(_0x50fadf))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x46a841{constructor(_0x523048,_0x2de249){const _0x4c2077=_0x462894;super(_0x523048,_0x2de249),_(this,_0x4c2077(0x1ea)),_(this,_0x4c2077(0x1a3),!0x1),_(this,_0x4c2077(0x1f2)),_(this,_0x4c2077(0x213),''),_(this,_0x4c2077(0x90),_0x4c2077(0x1ab)),_(this,'_backgroundColor'),(_0x2de249&&this[_0x4c2077(0x172)](_0x2de249),this[_0x4c2077(0xdd)][_0x4c2077(0x1a2)](()=>this[_0x4c2077(0x172)]({'hovered':!0x0})),this[_0x4c2077(0xf8)][_0x4c2077(0x1a2)](()=>this[_0x4c2077(0x172)]({'hovered':!0x1})));}[_0x462894(0x172)](_0x154cdf){const _0x32e365=_0x462894;var _0x5d415a,_0x4c1841,_0x4e189b,_0x46e23b,_0x4bf360,_0x35d9ac;this[_0x32e365(0x1ea)]=(_0x5d415a=_0x154cdf[_0x32e365(0x169)])!=null?_0x5d415a:this[_0x32e365(0x1ea)],this['_hovered']=(_0x4c1841=_0x154cdf['hovered'])!=null?_0x4c1841:this[_0x32e365(0x1a3)],this[_0x32e365(0x1f2)]=(_0x4e189b=_0x154cdf['range'])!=null?_0x4e189b:this[_0x32e365(0x1f2)],this[_0x32e365(0x213)]=(_0x46e23b=_0x154cdf[_0x32e365(0x14b)])!=null?_0x46e23b:this[_0x32e365(0x213)],this[_0x32e365(0x90)]=(_0x4bf360=_0x154cdf[_0x32e365(0x25f)])!=null?_0x4bf360:this['_labelPosition'],this[_0x32e365(0x15e)]=(_0x35d9ac=_0x154cdf[_0x32e365(0x242)])!=null?_0x35d9ac:this[_0x32e365(0x15e)],this[_0x32e365(0x205)]({'width':_0x154cdf[_0x32e365(0x219)],'height':_0x154cdf[_0x32e365(0x178)]});}[_0x462894(0xc8)](_0x2d2a08){const _0x5ccaac=_0x462894,{row:_0x3f91ff,column:_0x3145da}=_0x2d2a08;if(_0x3f91ff>=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x7c)]&&_0x3f91ff<=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x1b9)]&&_0x3145da>=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x1c0)]&&_0x3145da<=this[_0x5ccaac(0x1f2)][_0x5ccaac(0x82)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x462894(0x77)](_0x1e1ec0){return!0x1;}[_0x462894(0x24a)](_0x57c83b){const _0x4d54c2=_0x462894;_0x165788['drawWith'](_0x57c83b,{'width':this[_0x4d54c2(0x219)],'height':this[_0x4d54c2(0x178)],'strokeWidth':Wi,'stroke':this[_0x4d54c2(0x1ea)],'evented':!0x1,'fill':this[_0x4d54c2(0x15e)]}),this[_0x4d54c2(0x1a3)]&&(_0x57c83b[_0x4d54c2(0x204)](),_0x57c83b[_0x4d54c2(0x116)](0x1,0x0,0x0,0x1,this['width'],this[_0x4d54c2(0x90)]===_0x4d54c2(0xbf)?0x0:-J),ue['drawWith'](_0x57c83b,{'text':this[_0x4d54c2(0x213)],'color':this['_color']}),_0x57c83b[_0x4d54c2(0x115)]());}}var Gi=Object[_0x462894(0x1a7)],Ki=(_0x25e1e9,_0x22ffe1,_0x2acf9e,_0x4cd11e)=>{for(var _0x3f5389=_0x4cd11e>0x1?void 0x0:_0x4cd11e?Gi(_0x22ffe1,_0x2acf9e):_0x22ffe1,_0x190cec=_0x25e1e9['length']-0x1,_0x2fd44f;_0x190cec>=0x0;_0x190cec--)(_0x2fd44f=_0x25e1e9[_0x190cec])&&(_0x3f5389=_0x2fd44f(_0x3f5389)||_0x3f5389);return _0x3f5389;},pe=(_0x4e296e,_0x1842ee)=>(_0x74a114,_0x377c34)=>_0x1842ee(_0x74a114,_0x377c34,_0x4e296e);const zi=0x1389;let Pe=class extends _0x2425eb{constructor(_0x19652b,_0x3d1ca2,_0x107374,_0x27a136){const _0x1a7f01=_0x462894;super(),_(this,_0x1a7f01(0x23a),new Set()),_(this,'_lastPointer',null),(this[_0x1a7f01(0x14a)]=_0x19652b,this[_0x1a7f01(0xbc)]=_0x3d1ca2,this[_0x1a7f01(0x215)]=_0x107374,this['_themeService']=_0x27a136,this[_0x1a7f01(0x252)]());}[_0x462894(0x252)](){const _0x50df2a=_0x462894;this[_0x50df2a(0xbc)][_0x50df2a(0x241)]['pipe'](_0x50fa01(this[_0x50df2a(0x19b)]),_0x92f7af(_0xf04271=>{const _0x27c94d=_0x50df2a;if(_0xf04271){const _0x3cae79=_0xf04271[_0x27c94d(0x255)];return _0x2d6241(this[_0x27c94d(0x215)][_0x27c94d(0x134)](this['_context'][_0x27c94d(0x93)]),this[_0x27c94d(0x187)][_0x27c94d(0x112)])[_0x27c94d(0x16e)](_0x4a2751(([_0x5f1798,_0x5e4126])=>{const _0x1e7969=_0x27c94d,_0x2eaf13=new Map();return _0x5f1798[_0x1e7969(0x1b8)]((_0x3c516d,_0xb07da2)=>{const _0x5ad094=_0x1e7969;if(_0x3c516d['sheetID']===_0x3cae79){const _0x292377={..._0x3c516d};_0x292377[_0x5ad094(0x169)]=this[_0x5ad094(0x187)]['getColorFromTheme'](_0x3c516d['color']),_0x2eaf13[_0x5ad094(0x137)](_0xb07da2,_0x292377);}}),{'skeleton':_0xf04271,'cursors':_0x2eaf13};}));}return _0x1304d5({'skeleton':null,'cursors':new Map()});}))[_0x50df2a(0x1f3)](({skeleton:_0xe6b3db,cursors:_0x321a0e})=>{const _0x5d46d3=_0x50df2a;this[_0x5d46d3(0x113)](),_0xe6b3db&&this[_0x5d46d3(0x11b)](_0xe6b3db,_0x321a0e);}),this[_0x50df2a(0xbc)][_0x50df2a(0x241)][_0x50df2a(0x1f3)](_0x1cc495=>{const _0x37c096=_0x50df2a;if(_0x1cc495==null)return;const {skeleton:_0x285d60}=_0x1cc495,{scene:_0x5c9bcd}=this[_0x37c096(0x14a)];_0x5c9bcd['onPointerMove$']['subscribeEvent'](_0x2c83e9(_0x2c2c48=>{const _0x27f0d7=_0x37c096;var _0x35c526,_0x4df9e9;const {offsetX:_0x5d19c0,offsetY:_0x13942d}=_0x2c2c48,{x:_0x3fc646,y:_0x437234}=_0x5c9bcd[_0x27f0d7(0xeb)](_0x393e32[_0x27f0d7(0x1be)]([_0x5d19c0,_0x13942d])),{scaleX:_0x574aa6,scaleY:_0x1a4ddc}=_0x5c9bcd['getAncestorScale'](),_0x35e46f=_0x5c9bcd[_0x27f0d7(0x9c)](_0x3ff617['VIEW_MAIN']),_0x45fa49=_0x5c9bcd[_0x27f0d7(0xdf)](_0x393e32[_0x27f0d7(0x1be)]([_0x3fc646,_0x437234]),_0x35e46f),_0x5d77ea=_0x285d60[_0x27f0d7(0x24f)](_0x5d19c0,_0x13942d,_0x574aa6,_0x1a4ddc,_0x45fa49);((_0x35c526=this[_0x27f0d7(0x249)])==null?void 0x0:_0x35c526[_0x27f0d7(0x114)])===_0x5d77ea[_0x27f0d7(0x114)]&&((_0x4df9e9=this[_0x27f0d7(0x249)])==null?void 0x0:_0x4df9e9['row'])===_0x5d77ea['row']||this['_cursors'][_0x27f0d7(0x1b8)](_0x7d7ac2=>{const _0x4ac991=_0x27f0d7;_0x7d7ac2[_0x4ac991(0xc8)](_0x5d77ea);});},0x64));});}[_0x462894(0x11b)](_0x3e17cf,_0x140db1){const _0x53bffb=_0x462894;var _0x3b43e0;const _0x5c1c9d=(_0x3b43e0=this[_0x53bffb(0xbc)][_0x53bffb(0x1b0)]())==null?void 0x0:_0x3b43e0['skeleton'];if(!_0x5c1c9d)return;const _0x50359c=this[_0x53bffb(0xd9)]();if(!_0x50359c)return;this[_0x53bffb(0x23a)]['forEach'](_0x3be657=>{_0x3be657['makeDirty']();});const {scene:_0x2a404c}=_0x50359c,_0x5a3167=Ji(Array[_0x53bffb(0x88)](_0x140db1['values']()))[_0x53bffb(0x222)](_0x263a99=>{const _0x5dad26=_0x53bffb,{color:_0x575bdb,range:_0x234625,name:_0x54e17c,selection:_0x273687,sheetID:_0x4beffd}=_0x263a99,{startColumn:_0x52d7a8,startRow:_0x9e832f,endColumn:_0x1eab80,endRow:_0x147243}=_0x234625,_0x376788=_0x91eb96(_0x9e832f,_0x52d7a8,_0x2a404c,_0x5c1c9d),_0x3ae735=_0x91eb96(_0x147243,_0x1eab80,_0x2a404c,_0x5c1c9d),{columnHeaderHeightAndMarginTop:_0x4506ec}=_0x5c1c9d,{startX:_0x2b86c2,startY:_0x527268}=_0x376788,{endX:_0x41fa97,endY:_0x23d89c}=_0x3ae735,_0x442fa7=_0x41fa97-_0x2b86c2,_0x51ddc4=_0x23d89c-_0x527268,_0x2806aa={'labelPosition':_0x527268-_0x4506ec>=J?'top':_0x5dad26(0xbf),'sheetID':_0x4beffd,'range':_0x234625,'color':_0x575bdb,'name':_0x54e17c,'selection':_0x273687,'left':_0x2b86c2,'top':_0x527268,'width':_0x442fa7,'height':_0x51ddc4,'evented':!0x1,'zIndex':zi};return new Xi(_0x54e17c,_0x2806aa);});_0x2a404c[_0x53bffb(0x218)](_0x5a3167,Vi),this[_0x53bffb(0x23a)]=new Set(_0x5a3167);}[_0x462894(0x113)](){const _0x57fbc8=_0x462894;var _0x1a9700;(_0x1a9700=this['_cursors'])==null||_0x1a9700[_0x57fbc8(0x1b8)](_0xc0c7f1=>_0xc0c7f1[_0x57fbc8(0x1c4)]());}[_0x462894(0xd9)](){const _0x1d7664=_0x462894;return _0x12b955(this[_0x1d7664(0x14a)][_0x1d7664(0x206)],this[_0x1d7664(0x14a)]);}};Pe=Ki([pe(0x1,_0x4908fa(_0x5aac8a)),pe(0x2,_0x4908fa(F)),pe(0x3,_0x4908fa(_0x50fadf))],Pe);function Ji(_0x1e81b5){const _0xe9d38a=_0x462894,_0x76c346=new Map();return _0x1e81b5['forEach'](_0x3f3f0b=>{const _0x232350=_0x335a;if(_0x76c346[_0x232350(0x7a)](_0x3f3f0b[_0x232350(0x1d1)])){const _0x20e027=_0x76c346[_0x232350(0x8d)](_0x3f3f0b[_0x232350(0x1d1)]);_0x20e027[_0x232350(0x14b)]+=',\x20'+_0x3f3f0b['name'];}else _0x76c346[_0x232350(0x137)](_0x3f3f0b['selection'],_0x3f3f0b);}),Array[_0xe9d38a(0x88)](_0x76c346[_0xe9d38a(0x94)]());}var Zi=Object[_0x462894(0x1a7)],Qi=(_0x59f278,_0x15a4bb,_0xd74d69,_0x403acf)=>{for(var _0x355a78=_0x403acf>0x1?void 0x0:_0x403acf?Zi(_0x15a4bb,_0xd74d69):_0x15a4bb,_0x530364=_0x59f278['length']-0x1,_0xb9fa28;_0x530364>=0x0;_0x530364--)(_0xb9fa28=_0x59f278[_0x530364])&&(_0x355a78=_0xb9fa28(_0x355a78)||_0x355a78);return _0x355a78;},B=(_0x121ee0,_0x1fc027)=>(_0x1832b6,_0x28c803)=>_0x1fc027(_0x1832b6,_0x28c803,_0x121ee0);function _0x335a(_0x202234,_0x104bd1){const _0x5c9903=_0x5c99();return _0x335a=function(_0x335ab1,_0xff28eb){_0x335ab1=_0x335ab1-0x76;let _0x4e5ebe=_0x5c9903[_0x335ab1];return _0x4e5ebe;},_0x335a(_0x202234,_0x104bd1);}let ne=class extends _0x407d7b{constructor(_0x38f4e4,_0x13ef37,_0x40ea97,_0x996cef,_0x489efc,_0x272108){const _0x425408=_0x462894;super(),this['_beforeCloseService']=_0x38f4e4,this[_0x425408(0x92)]=_0x13ef37,this[_0x425408(0x21b)]=_0x40ea97,this['_messageService']=_0x996cef,this[_0x425408(0x183)]=_0x489efc,this[_0x425408(0x12c)]=_0x272108,this[_0x425408(0x177)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x3e30ec=_0x462894;this[_0x3e30ec(0x9d)](this['_beforeCloseService'][_0x3e30ec(0x8e)](()=>{const _0x45f1f4=_0x3e30ec;if(this[_0x45f1f4(0x92)][_0x45f1f4(0x268)]['size'])return this[_0x45f1f4(0x12c)]['t'](_0x45f1f4(0xfc));}));}[_0x462894(0x13b)](){const _0x2d5a29=_0x462894;this[_0x2d5a29(0x9d)](this['_collaborationUIEventService'][_0x2d5a29(0xe1)]['subscribe'](_0x44cfd8=>{const _0x4c57af=_0x2d5a29;_0x44cfd8['id']===_0x379d35[_0x4c57af(0x9f)]&&this['_messageService']['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x135))}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x13c)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x14e)]&&this[_0x4c57af(0x183)]['show']({'title':this[_0x4c57af(0x12c)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4c57af(0x148),'duration':0x0}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x257)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x10a))+'('+_0x44cfd8['data']+')'}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x104)]&&this[_0x4c57af(0x1f7)]['show']({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this[_0x4c57af(0x12c)]['t'](_0x44cfd8['data']||'')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x17e)]&&this[_0x4c57af(0x1f7)][_0x4c57af(0x26b)]({'type':_0x172f3a[_0x4c57af(0xbb)],'content':this['_localeService']['t']('session.will-retry')}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0x191)]&&this['_messageService']['show']({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x159))}),_0x44cfd8['id']===_0x379d35[_0x4c57af(0xb7)]&&this[_0x4c57af(0x1f7)][_0x4c57af(0x26b)]({'type':_0x172f3a[_0x4c57af(0x1fe)],'content':this[_0x4c57af(0x12c)]['t'](_0x4c57af(0x239))});}));}};ne=Qi([B(0x0,_0x1590a8),B(0x1,_0x7f4ced),B(0x2,_0x4908fa(_0x54c0e1)),B(0x3,_0x38c146),B(0x4,_0x49e3b3),B(0x5,_0x4908fa(_0x4086dc))],ne);const qi=_0x462894(0x263),et={};var en=Object[_0x462894(0x1a7)],tn=(_0x205647,_0x38de15,_0x2f8ac2,_0x3079d3)=>{const _0x19837a=_0x462894;for(var _0x1652a2=_0x3079d3>0x1?void 0x0:_0x3079d3?en(_0x38de15,_0x2f8ac2):_0x38de15,_0x372e73=_0x205647[_0x19837a(0x231)]-0x1,_0x4fa2d3;_0x372e73>=0x0;_0x372e73--)(_0x4fa2d3=_0x205647[_0x372e73])&&(_0x1652a2=_0x4fa2d3(_0x1652a2)||_0x1652a2);return _0x1652a2;},tt=(_0x38c871,_0x56b93e)=>(_0x4f9229,_0x21ccce)=>_0x56b93e(_0x4f9229,_0x21ccce,_0x38c871);let re=class{constructor(_0x18b667,_0x2f72c4){const _0xaf4585=_0x462894;this[_0xaf4585(0x129)]=_0x18b667,this[_0xaf4585(0x1a1)]=_0x2f72c4;}[_0x462894(0x244)](_0xb2617){const _0x3ea192=_0x462894;this[_0x3ea192(0x220)](_0xb2617),this[_0x3ea192(0xb6)](_0xb2617);}['transformRemoteChangeset'](_0x1dca1d){const _0x484384=_0x462894,{unitID:_0x407286}=_0x1dca1d,_0x367de9=this[_0x484384(0x1a1)][_0x484384(0x20c)](_0x407286)[_0x484384(0x12a)](_0xb1c905),{redoCache:_0x43b7f6}=_0x367de9['getUndoRedoMutationParamsCache']();if(_0x43b7f6['length']===0x0)return _0x1dca1d;let _0xf4b534=_0x2d0154['deepClone'](_0x1dca1d[_0x484384(0x13d)][0x0]);for(let _0xe268ca=0x0;_0xe268ca<_0x43b7f6[_0x484384(0x231)];_0xe268ca++){const _0xc3a4df={'id':_0x484384(0xda),'params':{..._0x43b7f6[_0xe268ca]}},_0x5894de=this[_0x484384(0x129)]['transformMutation'](_0xf4b534,_0xc3a4df,!0x1);if(_0x18700a(_0x5894de))throw _0x5894de['error'];_0xf4b534=_0x5894de[_0x484384(0x15d)];}return{..._0x2d0154['deepClone'](_0x1dca1d),'mutations':[_0xf4b534]};}[_0x462894(0x220)](_0x313c61){const _0x24afb0=_0x462894,{unitID:_0x541e16}=_0x313c61,_0x131fb5=this[_0x24afb0(0x1a1)][_0x24afb0(0x20c)](_0x541e16)[_0x24afb0(0x12a)](_0xb1c905),{undoCache:_0x32848b,redoCache:_0x495f54}=_0x131fb5['getUndoRedoMutationParamsCache']();if(_0x32848b[_0x24afb0(0x231)]===0x0||_0x495f54[_0x24afb0(0x231)]===0x0)return;const _0x223265=[],_0x2c2746=[];let _0x209496=_0x2d0154[_0x24afb0(0x261)](_0x313c61[_0x24afb0(0x13d)][0x0]),_0x33cfd5=_0x2d0154[_0x24afb0(0x261)](_0x313c61[_0x24afb0(0x13d)][0x0]);for(let _0x39e56c=_0x32848b[_0x24afb0(0x231)]-0x1;_0x39e56c>=0x0;_0x39e56c--){const _0x27f61e={'id':_0x24afb0(0xda),'params':{..._0x32848b[_0x39e56c]}},_0x13944a={'id':_0x24afb0(0xda),'params':{..._0x495f54[_0x39e56c]}},_0x4d0a28=this[_0x24afb0(0x129)][_0x24afb0(0x1d6)](_0x209496,_0x27f61e,!0x1),_0x5c3d3f=this[_0x24afb0(0x129)][_0x24afb0(0x1d6)](_0x33cfd5,_0x13944a,!0x1);if(_0x18700a(_0x4d0a28))throw _0x4d0a28[_0x24afb0(0x148)];if(_0x18700a(_0x5c3d3f))throw _0x5c3d3f[_0x24afb0(0x148)];_0x223265['unshift'](_0x4d0a28[_0x24afb0(0x1cd)][_0x24afb0(0x199)]),_0x2c2746[_0x24afb0(0xc2)](_0x5c3d3f[_0x24afb0(0x1cd)][_0x24afb0(0x199)]),_0x209496=_0x4d0a28[_0x24afb0(0x15d)],_0x33cfd5=_0x5c3d3f[_0x24afb0(0x15d)];}_0x131fb5[_0x24afb0(0x1e1)]({'undoCache':_0x223265,'redoCache':_0x2c2746});}[_0x462894(0xb6)](_0x16a53f){const _0xd00799=_0x462894,{unitID:_0x1b2ce4}=_0x16a53f,_0x387072=this['_renderManagerService']['getRenderById'](_0x1b2ce4)[_0xd00799(0x12a)](_0xb1c905),_0x3ef80a=_0x387072['getActiveRange']();if(_0x3ef80a==null)return;const _0x48763a=[{'id':_0xd00799(0xda),'params':{'unitId':_0x16a53f[_0xd00799(0x1db)],'actions':null,'textRanges':[_0x3ef80a]}}],_0x3bd7aa=this[_0xd00799(0x129)]['transformMutationsWithChangeset'](_0x16a53f,_0x48763a);if(!_0x5504c9(_0x3bd7aa))throw _0x3bd7aa['error'];const _0x5b8912=_0x3bd7aa[_0xd00799(0x1cd)][0x0][_0xd00799(0x199)][_0xd00799(0xce)];Array[_0xd00799(0x179)](_0x5b8912)&&_0x5b8912[_0xd00799(0x231)]&&_0x387072[_0xd00799(0x1ba)](_0x5b8912[0x0]);}};re=tn([tt(0x0,_0x3d1a26),tt(0x1,_0x5875bf)],re);var sn=Object[_0x462894(0x1a7)],nn=(_0x632cef,_0xef6ac9,_0xb79488,_0x1a3fa7)=>{for(var _0x4b4f22=_0x1a3fa7>0x1?void 0x0:_0x1a3fa7?sn(_0xef6ac9,_0xb79488):_0xef6ac9,_0x1ec40e=_0x632cef['length']-0x1,_0x5c56bc;_0x1ec40e>=0x0;_0x1ec40e--)(_0x5c56bc=_0x632cef[_0x1ec40e])&&(_0x4b4f22=_0x5c56bc(_0x4b4f22)||_0x4b4f22);return _0x4b4f22;},Ce=(_0x4ae949,_0x2f4972)=>(_0x5d710b,_0x1b989b)=>_0x2f4972(_0x5d710b,_0x1b989b,_0x4ae949);let oe=class{constructor(_0x2afbe2,_0x15ef97,_0x23467e){const _0xc307c5=_0x462894;this[_0xc307c5(0x133)]=_0x2afbe2,this[_0xc307c5(0x129)]=_0x15ef97,this[_0xc307c5(0x188)]=_0x23467e;}[_0x462894(0x11e)](_0x4ae803){const _0x5e4c57=_0x462894;this[_0x5e4c57(0x15b)](_0x4ae803);}['transformRemoteChangeset'](_0x3a17e7){const _0x3d3c8c=_0x462894,{unitID:_0x478e7b}=_0x3a17e7,{collaboration:_0x46408d}=this[_0x3d3c8c(0x188)]['getStateCache'](_0x478e7b);if(_0x46408d[_0x3d3c8c(0x231)]===0x0)return _0x3a17e7;let _0x1cb6bc=_0x2d0154[_0x3d3c8c(0x261)](_0x3a17e7['mutations'][0x0]);for(let _0x4d57e9=0x0;_0x4d57e9<_0x46408d['length'];_0x4d57e9++){const _0x3581c3={'id':_0x3d3c8c(0xda),'params':{'unitId':_0x46408d[_0x4d57e9][_0x3d3c8c(0x93)],..._0x46408d[_0x4d57e9]['redoState']}},_0x274d7d=this[_0x3d3c8c(0x129)][_0x3d3c8c(0x1d6)](_0x1cb6bc,_0x3581c3,!0x1);if(_0x18700a(_0x274d7d))throw _0x274d7d[_0x3d3c8c(0x148)];_0x1cb6bc=_0x274d7d[_0x3d3c8c(0x15d)];}return{..._0x2d0154[_0x3d3c8c(0x261)](_0x3a17e7),'mutations':[_0x1cb6bc]};}[_0x462894(0x15b)](_0x678790){const _0x5542dc=_0x462894,{unitID:_0x5f21b8}=_0x678790,{history:_0xfdc18a,collaboration:_0x4d7fa1}=this[_0x5542dc(0x188)][_0x5542dc(0x1ac)](_0x5f21b8);if(_0xfdc18a[_0x5542dc(0x231)]===0x0&&_0x4d7fa1['length']===0x0)return;const _0x3a5d67=[],_0x2568a0=[];let _0x142dd8=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]),_0x5d9733=_0x2d0154['deepClone'](_0x678790[_0x5542dc(0x13d)][0x0]);for(let _0x10a9a3=_0xfdc18a[_0x5542dc(0x231)]-0x1;_0x10a9a3>=0x0;_0x10a9a3--){const _0x3e5fbb={'id':_0x5542dc(0xda),'params':{'unitId':_0xfdc18a[_0x10a9a3][_0x5542dc(0x93)],..._0xfdc18a[_0x10a9a3][_0x5542dc(0x1c6)]}},_0x445395={'id':_0x5542dc(0xda),'params':{'unitId':_0xfdc18a[_0x10a9a3][_0x5542dc(0x93)],..._0xfdc18a[_0x10a9a3][_0x5542dc(0x17d)]}},_0x3c6608=this['_transformService'][_0x5542dc(0x1d6)](_0x142dd8,_0x3e5fbb,!0x1),_0x5cfd48=this[_0x5542dc(0x129)]['transformMutation'](_0x5d9733,_0x445395,!0x1);if(_0x18700a(_0x3c6608))throw _0x3c6608['error'];if(_0x18700a(_0x5cfd48))throw _0x5cfd48[_0x5542dc(0x148)];_0x3a5d67[_0x5542dc(0xc2)]({..._0xfdc18a[_0x10a9a3],'undoState':_0x3c6608['m2Prime'][_0x5542dc(0x199)],'redoState':_0x5cfd48[_0x5542dc(0x1cd)][_0x5542dc(0x199)]}),_0x142dd8=_0x3c6608[_0x5542dc(0x15d)],_0x5d9733=_0x5cfd48[_0x5542dc(0x15d)];}_0x142dd8=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]),_0x5d9733=_0x2d0154[_0x5542dc(0x261)](_0x678790[_0x5542dc(0x13d)][0x0]);for(let _0x36328=_0x4d7fa1[_0x5542dc(0x231)]-0x1;_0x36328>=0x0;_0x36328--){const _0x54ba7a={'id':_0x5542dc(0xda),'params':{'unitId':_0x4d7fa1[_0x36328][_0x5542dc(0x93)],..._0x4d7fa1[_0x36328]['undoState']}},_0x130441={'id':_0x5542dc(0xda),'params':{'unitId':_0x4d7fa1[_0x36328]['unitId'],..._0x4d7fa1[_0x36328]['redoState']}},_0xd3041a=this[_0x5542dc(0x129)][_0x5542dc(0x1d6)](_0x142dd8,_0x54ba7a,!0x1),_0x23ce42=this[_0x5542dc(0x129)][_0x5542dc(0x1d6)](_0x5d9733,_0x130441,!0x1);if(_0x18700a(_0xd3041a))throw _0xd3041a[_0x5542dc(0x148)];if(_0x18700a(_0x23ce42))throw _0x23ce42[_0x5542dc(0x148)];_0x2568a0[_0x5542dc(0xc2)]({..._0x4d7fa1[_0x36328],'undoState':_0xd3041a[_0x5542dc(0x1cd)][_0x5542dc(0x199)],'redoState':_0x23ce42[_0x5542dc(0x1cd)][_0x5542dc(0x199)]}),_0x142dd8=_0xd3041a['m1Prime'],_0x5d9733=_0x23ce42[_0x5542dc(0x15d)];}this[_0x5542dc(0x188)][_0x5542dc(0x19e)](_0x5f21b8,{'history':_0x3a5d67,'collaboration':_0x2568a0});}};oe=nn([Ce(0x0,_0x4908fa(_0x5bd625)),Ce(0x1,_0x3d1a26),Ce(0x2,_0x4908fa(_0x101a78))],oe);var rn=Object[_0x462894(0x1a7)],on=(_0x579c00,_0x4b7a82,_0x2e40b2,_0x31dfd5)=>{const _0x1b2a14=_0x462894;for(var _0x172241=_0x31dfd5>0x1?void 0x0:_0x31dfd5?rn(_0x4b7a82,_0x2e40b2):_0x4b7a82,_0x154524=_0x579c00[_0x1b2a14(0x231)]-0x1,_0x517fdb;_0x154524>=0x0;_0x154524--)(_0x517fdb=_0x579c00[_0x154524])&&(_0x172241=_0x517fdb(_0x172241)||_0x172241);return _0x172241;},st=(_0x4b96a3,_0x341b40)=>(_0x2d210d,_0x42842c)=>_0x341b40(_0x2d210d,_0x42842c,_0x4b96a3);let ae=class{constructor(_0x16b40d,_0x92aab1){const _0x2d209b=_0x462894;this[_0x2d209b(0x133)]=_0x16b40d,this[_0x2d209b(0x129)]=_0x92aab1;}['transformSelections'](_0x52c901){const _0x3cfddf=_0x462894;var _0x315252;const _0x4ed63f=this[_0x3cfddf(0x133)][_0x3cfddf(0x8d)](_0xdbcf34),_0x889423=(_0x315252=_0x4ed63f[_0x3cfddf(0xd2)]())!=null?_0x315252:[];if(_0x889423[_0x3cfddf(0x231)]===0x0)return;const _0x2aa0a9=_0x52c901[_0x3cfddf(0x1db)],_0xb031a9=[{'id':_0x3cfddf(0xda),'params':{'unitId':_0x2aa0a9,'actions':null,'textRanges':_0x889423}}],_0x19f1ba=this['_transformService']['transformMutationsWithChangeset'](_0x52c901,_0xb031a9);if(!_0x5504c9(_0x19f1ba))throw _0x19f1ba[_0x3cfddf(0x148)];const _0x4ece58=_0x19f1ba['m2Prime'][0x0][_0x3cfddf(0x199)][_0x3cfddf(0xce)];Array[_0x3cfddf(0x179)](_0x4ece58)&&_0x4ece58['length']&&_0x4ed63f['replaceDocRanges'](_0x4ece58,{'unitId':_0x2aa0a9,'subUnitId':_0x2aa0a9},!0x1);}};ae=on([st(0x0,_0x4908fa(_0x5bd625)),st(0x1,_0x3d1a26)],ae);var an=Object[_0x462894(0x1a7)],cn=(_0x497894,_0x392036,_0x53b27c,_0x108df3)=>{const _0x9a05d5=_0x462894;for(var _0x514cfb=_0x108df3>0x1?void 0x0:_0x108df3?an(_0x392036,_0x53b27c):_0x392036,_0x4bf89f=_0x497894[_0x9a05d5(0x231)]-0x1,_0x5b86dd;_0x4bf89f>=0x0;_0x4bf89f--)(_0x5b86dd=_0x497894[_0x4bf89f])&&(_0x514cfb=_0x5b86dd(_0x514cfb)||_0x514cfb);return _0x514cfb;},N=(_0x101bf6,_0x2aca4d)=>(_0x3eff92,_0x5c5d20)=>_0x2aca4d(_0x3eff92,_0x5c5d20,_0x101bf6);let ce=class extends _0x407d7b{constructor(_0x54c700,_0x3eef41,_0x829564,_0x4700cc,_0x801811,_0x3a9a6f,_0x17ac7a,_0x40b23b){const _0x371d14=_0x462894;super(),_(this,'_status$',new _0x3b84c3(_0x211192[_0x371d14(0x102)])),(this['_docStateChangeManagerService']=_0x54c700,this['_collaborationController']=_0x3eef41,this['_docTransformIMECacheService']=_0x829564,this[_0x371d14(0x13f)]=_0x4700cc,this[_0x371d14(0x105)]=_0x801811,this[_0x371d14(0x229)]=_0x3a9a6f,this[_0x371d14(0x1f7)]=_0x17ac7a,this[_0x371d14(0x12c)]=_0x40b23b,this[_0x371d14(0x160)]());}[_0x462894(0x160)](){const _0x3271f2=_0x462894;this[_0x3271f2(0x9d)](this['_collaborationController']['entityInit$'][_0x3271f2(0x1f3)](_0x4720d0=>{const _0x6bde7e=_0x3271f2,_0x44d273=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x334b82=>{const _0xee6637=_0x335a;if(_0x334b82==null)return;const {unitId:_0x528827,redoState:_0xc0e7fc,commandId:_0x5ec399}=_0x334b82;if(_0x528827!==_0x4720d0[_0xee6637(0x1db)])return;const _0xedc6fb={'id':_0x5ec399,'type':_0x13b850[_0xee6637(0x24d)],'params':{'unitId':_0x528827,'actions':_0xc0e7fc['actions'],'textRanges':null}};_0x4720d0['onLocalMutation'](_0xedc6fb);});if(_0x4720d0['disposeWithMe'](_0x44d273),_0x4720d0 instanceof _0x5f387e){const _0x4fa5d0={'onTransformIME':_0x334202=>this[_0x6bde7e(0x176)][_0x6bde7e(0x244)](_0x334202),'onTransformState':_0x4c7cc7=>this[_0x6bde7e(0x13f)]['transformStateCache'](_0x4c7cc7),'onTransformSelections':_0x47d6d8=>this['_docTransformSelectionsService'][_0x6bde7e(0x1b2)](_0x47d6d8),'onSyncEditingCollabCursor':_0x2caf22=>this['_docSyncEditingCollabCursorService'][_0x6bde7e(0x1ce)](_0x2caf22),'onTransformRemoteChangesetByIMECache':_0x14865d=>this[_0x6bde7e(0x176)]['transformRemoteChangeset'](_0x14865d),'onTransformRemoteChangesetByStateCache':_0x54923f=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x54923f)};_0x4720d0[_0x6bde7e(0xbd)](_0x4fa5d0);}}));}};ce=cn([N(0x0,_0x4908fa(_0x101a78)),N(0x1,_0x4908fa(_0x2d5363)),N(0x2,_0x4908fa(re)),N(0x3,_0x4908fa(oe)),N(0x4,_0x4908fa(ae)),N(0x5,_0x4908fa(Fe)),N(0x6,_0x38c146),N(0x7,_0x4908fa(_0x4086dc))],ce);var ln=Object[_0x462894(0x1a7)],_n=(_0x2a21bb,_0x34eb9c,_0x5d0495,_0x2986b3)=>{const _0x1b8594=_0x462894;for(var _0x581917=_0x2986b3>0x1?void 0x0:_0x2986b3?ln(_0x34eb9c,_0x5d0495):_0x34eb9c,_0x1f33f9=_0x2a21bb[_0x1b8594(0x231)]-0x1,_0x4acfdf;_0x1f33f9>=0x0;_0x1f33f9--)(_0x4acfdf=_0x2a21bb[_0x1f33f9])&&(_0x581917=_0x4acfdf(_0x581917)||_0x581917);return _0x581917;},Ee=(_0x304be4,_0x46dbdf)=>(_0x563e1e,_0x4f4e45)=>_0x46dbdf(_0x563e1e,_0x4f4e45,_0x304be4);let we=class extends _0x407d7b{constructor(_0xe38ab,_0x118e0d,_0x3730a5){const _0x2a18dc=_0x462894;super(),_(this,_0x2a18dc(0x1cc),new Map()),_(this,_0x2a18dc(0x236),new Map()),_(this,'_disabled',!0x1),(this[_0x2a18dc(0x1e3)]=_0xe38ab,this['_localStorageService']=_0x118e0d,this['_revisionService']=_0x3730a5);}['disableLocalCache'](){const _0x181c9b=_0x462894;this[_0x181c9b(0x1f0)]=!0x0;}[_0x462894(0x14d)](){this['_disabled']=!0x1;}get[_0x462894(0x268)](){return this['_saveTaskMap'];}[_0x462894(0x1c4)](){const _0xaf7e56=_0x462894;this['exhaustSavingTask']()[_0xaf7e56(0xb3)](()=>super[_0xaf7e56(0x1c4)]());}async[_0x462894(0x121)](_0x452398){const _0x1ca67a=_0x462894;return this[_0x1ca67a(0x1f0)]?null:this[_0x1ca67a(0x234)][_0x1ca67a(0x26a)](_0x12fb6f(_0x452398));}async['saveOfflineData'](_0xbba865,_0x4e9184){const _0x41fe2d=_0x462894;return!!this[_0x41fe2d(0x234)]['setItem'](_0xbba865,_0x4e9184);}['updateOfflineData'](_0x1e4827,_0x4caa24,_0x484488,_0x511972){const _0x2f3d12=_0x462894,_0x41c055=this['_revisionService'][_0x2f3d12(0xe8)](_0x1e4827);this[_0x2f3d12(0x1cc)]['set'](_0x1e4827,{'unitID':_0x1e4827,'type':_0x4caa24,'awaitingChangeset':_0x484488,'mutations':_0x511972,'rev':_0x41c055}),this[_0x2f3d12(0x236)][_0x2f3d12(0x7a)](_0x1e4827)||this['_scheduleSaving'](_0x1e4827);}['_scheduleSaving'](_0x248a55){const _0x936d7b=_0x462894,_0x42be3b=this[_0x936d7b(0x136)]();_0x42be3b===0x0?this[_0x936d7b(0x20a)](_0x248a55):this[_0x936d7b(0x236)][_0x936d7b(0x137)](_0x248a55,setTimeout(()=>this[_0x936d7b(0x20a)](_0x248a55),_0x42be3b));}[_0x462894(0x136)](){const _0x4532a8=_0x462894;var _0x117085;return(_0x117085=this[_0x4532a8(0x1e3)][_0x4532a8(0xea)](_0x2396ff))!=null?_0x117085:_0xc79a54;}[_0x462894(0x20a)](_0xa89e7f){const _0x36cc4c=_0x462894,_0x2d9e01=this[_0x36cc4c(0x236)]['get'](_0xa89e7f);return _0x2d9e01!==void 0x0&&window[_0x36cc4c(0x182)](_0x2d9e01),this[_0x36cc4c(0x234)][_0x36cc4c(0x7b)](_0x12fb6f(_0xa89e7f),this[_0x36cc4c(0x1cc)][_0x36cc4c(0x8d)](_0xa89e7f))[_0x36cc4c(0xb3)](()=>this[_0x36cc4c(0x236)][_0x36cc4c(0xa0)](_0xa89e7f));}async['exhaustSavingTask'](){const _0x15bf98=_0x462894,_0x1a574d=[];this[_0x15bf98(0x236)]['forEach']((_0x27449d,_0x488d7e)=>{const _0x4b686d=_0x15bf98;window[_0x4b686d(0x182)](_0x27449d),_0x1a574d[_0x4b686d(0xb2)](this[_0x4b686d(0x20a)](_0x488d7e)[_0x4b686d(0xb3)](()=>{this['_saveTaskMap']['delete'](_0x488d7e);}));}),await Promise['all'](_0x1a574d);}};we=_n([Ee(0x0,_0x10853f),Ee(0x1,_0x4f8a47),Ee(0x2,_0x4908fa(_0x363a13))],we);class hn extends _0x2425eb{constructor(){const _0x9ce2dd=_0x462894;super(),_(this,_0x9ce2dd(0x1ad)),this[_0x9ce2dd(0x1ad)]=_0x10460d(window,_0x9ce2dd(0x21e))[_0x9ce2dd(0x16e)](_0x477b6f(this['dispose$']),_0x4c6e4e(0x1),_0x332fda(void 0x0));}['setParam'](_0x17fcff,_0x1eb6c6,_0x2f1604=!0x1){const _0x3b79b8=_0x462894,_0x1b0d62=new URL(window[_0x3b79b8(0x1f6)][_0x3b79b8(0xe3)]);_0x1b0d62[_0x3b79b8(0xd3)]['set'](_0x17fcff,_0x1eb6c6),_0x2f1604?window['history'][_0x3b79b8(0x19a)]('','',_0x1b0d62[_0x3b79b8(0x11d)]()):window[_0x3b79b8(0xb1)][_0x3b79b8(0x273)]('','',_0x1b0d62[_0x3b79b8(0x11d)]());}[_0x462894(0x19d)](_0x5242bd,_0x3fd5ea=!0x1){const _0x5c02a5=_0x462894,_0x2f975c=new URL(window['location'][_0x5c02a5(0xe3)]);_0x2f975c[_0x5c02a5(0xd3)]['delete'](_0x5242bd),_0x3fd5ea?window[_0x5c02a5(0xb1)][_0x5c02a5(0x19a)]('','',_0x2f975c[_0x5c02a5(0x11d)]()):window[_0x5c02a5(0xb1)][_0x5c02a5(0x273)]('','',_0x2f975c[_0x5c02a5(0x11d)]());}['getParam'](_0x34ea78){const _0x2baa87=_0x462894;var _0x15bd28;return(_0x15bd28=new URL(window[_0x2baa87(0x1f6)]['href'])[_0x2baa87(0xd3)][_0x2baa87(0x8d)](_0x34ea78))!=null?_0x15bd28:void 0x0;}}var un=Object[_0x462894(0x207)],dn=Object[_0x462894(0x1a7)],fn=(_0x1576c3,_0x96f078,_0x474836)=>_0x96f078 in _0x1576c3?un(_0x1576c3,_0x96f078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x474836}):_0x1576c3[_0x96f078]=_0x474836,Sn=(_0x25c0e9,_0x7b23b8,_0x57c854,_0x60487a)=>{for(var _0x5df7dc=_0x60487a>0x1?void 0x0:_0x60487a?dn(_0x7b23b8,_0x57c854):_0x7b23b8,_0x251127=_0x25c0e9['length']-0x1,_0x71e778;_0x251127>=0x0;_0x251127--)(_0x71e778=_0x25c0e9[_0x251127])&&(_0x5df7dc=_0x71e778(_0x5df7dc)||_0x5df7dc);return _0x5df7dc;},Oe=(_0x71e224,_0x498568)=>(_0x436bdb,_0x239a6b)=>_0x498568(_0x436bdb,_0x239a6b,_0x71e224),mn=(_0x5900cd,_0x43d158,_0x5a8b2b)=>fn(_0x5900cd,_0x43d158+'',_0x5a8b2b);const In=_0x462894(0xbe);let Ae=class extends _0x5f471c{constructor(_0x5b7bb6=et,_0x435896,_0x4337f3,_0x32409f){const _0x17ff60=_0x462894;super(),this[_0x17ff60(0x1ae)]=_0x5b7bb6,this[_0x17ff60(0x1a1)]=_0x435896,this['_injector']=_0x4337f3,this[_0x17ff60(0x1e3)]=_0x32409f;const {..._0xfd394f}=_0x2ce7fb({},et,this[_0x17ff60(0x1ae)]);this[_0x17ff60(0x1e3)][_0x17ff60(0x1fb)](qi,_0xfd394f);}[_0x462894(0x1a0)](){const _0x1a194e=_0x462894;this['_registerDependencies'](),this[_0x1a194e(0x1e0)]();}[_0x462894(0x1e5)](){const _0x5e2c37=_0x462894;this[_0x5e2c37(0x1dd)]();}[_0x462894(0x173)](){const _0x3ceea5=_0x462894;var _0xcacdba;const _0x413a69=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1542ec,{'useClass':_0x2d7135}],[_0x7f4ced,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x402f0e(this['_injector'],_0x383a3f(_0x413a69,(_0xcacdba=this[_0x3ceea5(0x1ae)])==null?void 0x0:_0xcacdba[_0x3ceea5(0x21c)]));}[_0x462894(0x1dd)](){const _0x1190de=_0x462894;this['disposeWithMe'](this[_0x1190de(0x1a1)]['registerRenderModule'](_0x509904[_0x1190de(0x21a)],[Le])),this[_0x1190de(0x9d)](this[_0x1190de(0x1a1)][_0x1190de(0xdb)](_0x509904[_0x1190de(0x83)],[Pe]));}['_initDependencies'](){const _0x14d072=_0x462894;_0x4bd4f7(this[_0x14d072(0x133)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x462894(0x1de),In),Ae=Sn([_0x5404f0(_0x35732a),Oe(0x1,_0x5875bf),Oe(0x2,_0x4908fa(_0x5bd625)),Oe(0x3,_0x10853f)],Ae);var vn=Object[_0x462894(0x1a7)],gn=(_0x3b2175,_0x54bfa6,_0x4757e,_0x2806da)=>{for(var _0x1cb72d=_0x2806da>0x1?void 0x0:_0x2806da?vn(_0x54bfa6,_0x4757e):_0x54bfa6,_0x2b3cbb=_0x3b2175['length']-0x1,_0x54081f;_0x2b3cbb>=0x0;_0x2b3cbb--)(_0x54081f=_0x3b2175[_0x2b3cbb])&&(_0x1cb72d=_0x54081f(_0x1cb72d)||_0x1cb72d);return _0x1cb72d;},z=(_0x26426a,_0x313cd3)=>(_0x243f10,_0x3b3cce)=>_0x313cd3(_0x243f10,_0x3b3cce,_0x26426a);let it=class extends _0x1f05e8{constructor(_0x1dac81,_0x3fbd59,_0x512047,_0x168e34,_0x3329aa){super(_0x1dac81,_0x3fbd59,_0x512047,_0x168e34,_0x3329aa);}async[_0x462894(0x168)](_0x1e2193){const _0x238f1b=_0x462894,_0x41a7ec=await this[_0x238f1b(0x1d5)](),_0x5e2428=this['_createSocketURL'](_0x1e2193,_0x41a7ec);return this['_doCreateSocket'](_0x5e2428);}[_0x462894(0x15f)](_0x2727f7,_0x362f01){const _0x48ccc7=_0x462894,_0x5426cf=typeof window>'u'?new URL(_0x2727f7):new URL(_0x2727f7,window[_0x48ccc7(0x1f6)][_0x48ccc7(0x85)]);_0x5426cf[_0x48ccc7(0xd3)][_0x48ccc7(0x137)](_0x48ccc7(0xa3),_0x362f01);const _0xe2d6d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48ccc7(0x1f6)][_0x48ccc7(0x26e)]);return _0xe2d6d9[_0x48ccc7(0x8d)](_0x48ccc7(0x247))&&_0x5426cf[_0x48ccc7(0xd3)][_0x48ccc7(0x137)]('runId',_0xe2d6d9[_0x48ccc7(0x8d)](_0x48ccc7(0x247))),_0x5426cf['toString']();}async[_0x462894(0x1d5)](){const _0x37131d=_0x462894;var _0x232b07,_0x41d963,_0x1b9e1e;const _0x198dad=this['_configService'][_0x37131d(0xea)](_0x1f19bf),_0xd2c382=(_0x232b07=_0x198dad==null?void 0x0:_0x198dad[_0x37131d(0x9b)])!=null?_0x232b07:_0x30a8b0;return(_0x1b9e1e=(_0x41d963=(await this['_httpService'][_0x37131d(0x8d)](_0xd2c382,{'headers':{'Content-Type':_0x37131d(0x1d0)}}))[_0x37131d(0x262)])==null?void 0x0:_0x41d963[_0x37131d(0x1bd)])!=null?_0x1b9e1e:'';}};it=gn([z(0x0,_0x4908fa(_0x5bd625)),z(0x1,_0x4908fa(_0x2c6492)),z(0x2,_0x10853f),z(0x3,_0x40aafe),z(0x4,_0xb7527d)],it);var Lt=(_0x118aba=>(_0x118aba[_0x118aba['UNDEFINED']=0x0]='UNDEFINED',_0x118aba[_0x118aba['OK']=0x1]='OK',_0x118aba[_0x118aba['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x118aba[_0x118aba[_0x462894(0x14e)]=0x3]='PERMISSION_DENIED',_0x118aba[_0x118aba['NOT_FOUND']=0x4]=_0x462894(0x118),_0x118aba[_0x118aba['UNAUTHENTICATED']=0x5]=_0x462894(0x196),_0x118aba[_0x118aba[_0x462894(0x212)]=0x6]=_0x462894(0x212),_0x118aba[_0x118aba[_0x462894(0x201)]=0x7]='INVALID_ARGUMENT',_0x118aba[_0x118aba['TOO_MANY_REQUESTS']=0x8]=_0x462894(0x253),_0x118aba[_0x118aba[_0x462894(0x245)]=0x9]=_0x462894(0x245),_0x118aba[_0x118aba[_0x462894(0xe9)]=0xa]=_0x462894(0xe9),_0x118aba[_0x118aba['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x462894(0xad),_0x118aba[_0x118aba[_0x462894(0x1d2)]=0xc]=_0x462894(0x1d2),_0x118aba[_0x118aba[_0x462894(0x1e2)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x118aba[_0x118aba[_0x462894(0xd8)]=0xe]=_0x462894(0xd8),_0x118aba[_0x118aba[_0x462894(0x111)]=0x1389]=_0x462894(0x111),_0x118aba[_0x118aba['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x462894(0x124),_0x118aba[_0x118aba[_0x462894(0xab)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x118aba[_0x118aba[_0x462894(0xd0)]=0x1773]=_0x462894(0xd0),_0x118aba[_0x118aba[_0x462894(0x150)]=0x1b59]=_0x462894(0x150),_0x118aba[_0x118aba[_0x462894(0x194)]=0x1b5a]=_0x462894(0x194),_0x118aba[_0x118aba[_0x462894(0x203)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x118aba[_0x118aba[_0x462894(0xd4)]=0x1b5c]=_0x462894(0xd4),_0x118aba[_0x118aba[_0x462894(0x151)]=0x1b5d]='APPLY_DUPLICATED',_0x118aba[_0x118aba['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x118aba[_0x118aba[_0x462894(0x117)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x118aba[_0x118aba[_0x462894(0xf0)]=0x232a]=_0x462894(0xf0),_0x118aba[_0x118aba['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x462894(0x1d9),_0x118aba[_0x118aba[_0x462894(0xc3)]=0x232c]=_0x462894(0xc3),_0x118aba[_0x118aba['LICENSE_DISTRO_REJECTED']=0x232d]=_0x462894(0x1b7),_0x118aba[_0x118aba[_0x462894(0x270)]=0x2711]=_0x462894(0x270),_0x118aba[_0x118aba[_0x462894(0x174)]=0x2712]=_0x462894(0x174),_0x118aba[_0x118aba[_0x462894(0x251)]=0x2713]=_0x462894(0x251),_0x118aba[_0x118aba[_0x462894(0x1f5)]=0x2714]=_0x462894(0x1f5),_0x118aba[_0x118aba['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x118aba[_0x118aba[_0x462894(0xfd)]=0x271b]=_0x462894(0xfd),_0x118aba[_0x118aba[_0x462894(0x240)]=0x271c]=_0x462894(0x240),_0x118aba[_0x118aba['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x462894(0x109),_0x118aba[_0x118aba[_0x462894(0xef)]=0x271e]=_0x462894(0xef),_0x118aba[_0x118aba[_0x462894(0x189)]=0x271f]=_0x462894(0x189),_0x118aba[_0x118aba[_0x462894(0x15a)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x118aba[_0x118aba['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x462894(0x25e),_0x118aba[_0x118aba[_0x462894(0xf2)]=0x2ee1]=_0x462894(0xf2),_0x118aba[_0x118aba[_0x462894(0x17c)]=0x2ee2]=_0x462894(0x17c),_0x118aba[_0x118aba[_0x462894(0x162)]=0x2ee3]=_0x462894(0x162),_0x118aba[_0x118aba['USER_NOT_INVITED_CODE']=0x2ee4]=_0x462894(0x223),_0x118aba[_0x118aba['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x462894(0x22f),_0x118aba[_0x118aba['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x462894(0x17a),_0x118aba[_0x118aba['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x462894(0x26c),_0x118aba[_0x118aba[_0x462894(0xae)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x118aba[_0x118aba[_0x462894(0x122)]=-0x1]='UNRECOGNIZED',_0x118aba))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x17042f,_0x35b9f4,_0x1fe0b1,_0x572c7c)=>{const _0xf2c957=_0x462894;for(var _0x409998=_0x572c7c>0x1?void 0x0:_0x572c7c?pn(_0x35b9f4,_0x1fe0b1):_0x35b9f4,_0x4d9a21=_0x17042f[_0xf2c957(0x231)]-0x1,_0x107b25;_0x4d9a21>=0x0;_0x4d9a21--)(_0x107b25=_0x17042f[_0x4d9a21])&&(_0x409998=_0x107b25(_0x409998)||_0x409998);return _0x409998;},be=(_0x5ae3cb,_0x272780)=>(_0x146f9c,_0x442945)=>_0x272780(_0x146f9c,_0x442945,_0x5ae3cb);let nt=class extends _0x407d7b{constructor(_0x1cd2e0,_0x16cc64,_0x7b940d){const _0x5ab22b=_0x462894;super(),this['_instanceService']=_0x1cd2e0,this[_0x5ab22b(0xf3)]=_0x16cc64,this['_configService']=_0x7b940d;}async[_0x462894(0x1b4)](_0x1d9f31,_0x3c9ee3,_0xf480d6,..._0x9465c7){const _0x3fadc6=_0x462894;var _0x3d4b30,_0x4d2ecd,_0x4a19c6,_0x293a3f;const _0x25b50e=this[_0x3fadc6(0x97)][_0x3fadc6(0x149)]();if(!_0x25b50e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d485b=((_0x3d4b30=this[_0x3fadc6(0x1e3)][_0x3fadc6(0xea)](_0x31ae05))!=null?_0x3d4b30:_0x47f050)+'/'+_0x1d9f31+_0x3fadc6(0xfe)+_0x3c9ee3,_0x372af8=new URL(window[_0x3fadc6(0x1f6)][_0x3fadc6(0xe3)]),_0x4fce21={'scriptId':_0x1d9f31,'runId':(_0x4d2ecd=_0x372af8[_0x3fadc6(0xd3)][_0x3fadc6(0x8d)](_0x3fadc6(0x247)))!=null?_0x4d2ecd:'','function':_0x3c9ee3,'unitId':_0x25b50e['getUnitId'](),'argsOfFunction':JSON[_0x3fadc6(0xc0)](_0x9465c7),'invokeId':(_0x4a19c6=_0xf480d6['invokeId'])!=null?_0x4a19c6:'','executionId':(_0x293a3f=_0xf480d6[_0x3fadc6(0x198)])!=null?_0x293a3f:''};try{const _0x49f8f2=await this[_0x3fadc6(0xf3)][_0x3fadc6(0x15c)](_0x5d485b,{'body':_0x4fce21});return _0x49f8f2['body'][_0x3fadc6(0x148)]&&_0x49f8f2[_0x3fadc6(0x262)]['error'][_0x3fadc6(0x171)]!==Lt['OK']?'Failed':_0x49f8f2[_0x3fadc6(0x262)][_0x3fadc6(0x22d)];}catch{return _0x3fadc6(0x16b);}}};nt=Cn([be(0x0,_0x13b0f3),be(0x1,_0x4908fa(_0x2c6492)),be(0x2,_0x10853f)],nt);const rt=0x7530,ot=_0x462894(0x140);class Fn extends _0x407d7b{constructor(){const _0x5f5a52=_0x462894;super(),_(this,_0x5f5a52(0xfb),_0x3f1aaa()),_(this,_0x5f5a52(0x24b),new Set()),_(this,_0x5f5a52(0xa6),new Map()),_(this,_0x5f5a52(0x19f),null),_(this,_0x5f5a52(0x23c),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x462894(0x1c4)](){const _0x14c5f9=_0x462894;super[_0x14c5f9(0x1c4)](),this['_clearOtherTimers']['forEach']((_0x1e8e4c,_0x3b38d7)=>this['_removeClearOtherTimer'](_0x3b38d7)),this[_0x14c5f9(0x19f)]&&window[_0x14c5f9(0x25d)](this[_0x14c5f9(0x19f)]);}[_0x462894(0x238)](_0x39db99){const _0x4390f6=_0x462894;return this[_0x4390f6(0x22a)](_0x39db99)[_0x4390f6(0x16e)](_0x11a67b());}[_0x462894(0x13e)](_0x458c79){const _0x55539e=_0x462894;this[_0x55539e(0x24b)]['size']===0x0&&this[_0x55539e(0xaa)](),this[_0x55539e(0x24b)][_0x55539e(0x10f)](_0x458c79),this[_0x55539e(0x141)]({'type':0x0,'memberID':this[_0x55539e(0xfb)],'unitIDs':[_0x458c79],'isForwarded':!0x1});}[_0x462894(0x26f)](_0xcfdb85){const _0x480b47=_0x462894;this[_0x480b47(0x24b)][_0x480b47(0xa0)](_0xcfdb85),this[_0x480b47(0x24b)][_0x480b47(0x1e6)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x480b47(0x19f)]);}['_init'](){const _0x329718=_0x462894;this[_0x329718(0x9d)](_0x425bc5(_0x10460d(window,'storage')[_0x329718(0x1f3)](_0x425bde=>{const _0x1b8ae9=_0x329718;if(_0x425bde[_0x1b8ae9(0x17f)]!==ot||!_0x425bde['newValue'])return;const _0x9bb934=JSON['parse'](_0x425bde[_0x1b8ae9(0x7d)]);this[_0x1b8ae9(0x1a6)](_0x9bb934);}))),window[_0x329718(0x1c8)](_0x329718(0x165),()=>this[_0x329718(0x141)]({'type':0x1,'memberID':this[_0x329718(0xfb)],'unitIDs':Array[_0x329718(0x88)](this[_0x329718(0x24b)])}));}[_0x462894(0x1a6)](_0x46d1c4){const _0x38eeed=_0x462894;switch(_0x46d1c4[_0x38eeed(0xd5)]){case 0x0:this[_0x38eeed(0x22b)](_0x46d1c4);break;case 0x1:this['_handleLeaveEvent'](_0x46d1c4);break;case 0x2:this[_0x38eeed(0x23d)](_0x46d1c4);break;}}[_0x462894(0x22b)](_0x3fda9a){const _0x150fdb=_0x462894,{unitIDs:_0x250913,memberID:_0xfa2262,isForwarded:_0x1feb5d}=_0x3fda9a;_0x250913[_0x150fdb(0x1b8)](_0x72f316=>{const _0x3751b9=_0x150fdb;if(!_0x1feb5d&&this[_0x3751b9(0xa6)][_0x3751b9(0x7a)](_0x72f316)&&this[_0x3751b9(0x22a)](_0x72f316)[_0x3751b9(0x200)](_0x20be11[_0x3751b9(0x230)]),!this[_0x3751b9(0xa6)][_0x3751b9(0x7a)](_0x72f316)||!this[_0x3751b9(0xa6)][_0x3751b9(0x8d)](_0x72f316)['has'](_0xfa2262)){const _0x365174=this[_0x3751b9(0xa6)]['get'](_0x72f316)||new Set();_0x365174[_0x3751b9(0x10f)](_0xfa2262),this[_0x3751b9(0xa6)][_0x3751b9(0x137)](_0x72f316,_0x365174),this['_scheduleClearOtherTimer'](_0xfa2262);}}),_0x1feb5d||this[_0x150fdb(0x141)]({'type':0x0,'memberID':this[_0x150fdb(0xfb)],'unitIDs':[...this[_0x150fdb(0x24b)]],'isForwarded':!0x0});}[_0x462894(0x8f)](_0x5ad496){const _0xaf3735=_0x462894;this[_0xaf3735(0x24e)](_0x5ad496);const _0x2c454f=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x4dee60=>{const _0x139bdf=_0x335a;_0x4dee60[_0x139bdf(0xa0)](_0x5ad496);});},rt*0x2);this[_0xaf3735(0x23c)][_0xaf3735(0x137)](_0x5ad496,_0x2c454f);}[_0x462894(0x24e)](_0x6ccbae){const _0x202b95=_0x462894;if(this[_0x202b95(0x23c)][_0x202b95(0x7a)](_0x6ccbae)){const _0x3a2780=this['_clearOtherTimers']['get'](_0x6ccbae);_0x3a2780&&window[_0x202b95(0x182)](_0x3a2780),this[_0x202b95(0x23c)][_0x202b95(0x137)](_0x6ccbae,null);}}[_0x462894(0xec)](_0x65164f){const _0x1f2977=_0x462894,{memberID:_0x22ea75,unitIDs:_0x253568}=_0x65164f;_0x253568[_0x1f2977(0x1b8)](_0x7c5a6f=>{const _0x110117=_0x1f2977;var _0x564b2a;const _0x10ce44=this[_0x110117(0xa6)][_0x110117(0x8d)](_0x7c5a6f);_0x10ce44&&(_0x10ce44[_0x110117(0xa0)](_0x22ea75),(_0x564b2a=this[_0x110117(0x22a)](_0x7c5a6f))==null||_0x564b2a['next'](_0x10ce44[_0x110117(0x1e6)]===0x0?_0x20be11['NO_OTHER_CLIENTS_EDITING']:_0x20be11[_0x110117(0x230)]));}),this[_0x1f2977(0x24e)](_0x22ea75);}[_0x462894(0x23d)](_0x18f69b){const _0x348b7b=_0x462894;this[_0x348b7b(0x8f)](_0x18f69b[_0x348b7b(0x127)]);}[_0x462894(0x141)](_0x3ed205){const _0x42114e=_0x462894;localStorage[_0x42114e(0x7b)](ot,JSON[_0x42114e(0xc0)](_0x3ed205));}[_0x462894(0xaa)](){const _0x12f06f=_0x462894;this[_0x12f06f(0x19f)]=window[_0x12f06f(0xcf)](()=>{const _0x3294e8=_0x12f06f;this['_send']({'type':0x2,'memberID':this[_0x3294e8(0xfb)]});},rt);}[_0x462894(0x22a)](_0x390c29){const _0x583b9c=_0x462894;return this[_0x583b9c(0x13a)]['has'](_0x390c29)||this[_0x583b9c(0x13a)][_0x583b9c(0x137)](_0x390c29,new _0x3b84c3(_0x20be11[_0x583b9c(0x1f4)])),this[_0x583b9c(0x13a)][_0x583b9c(0x8d)](_0x390c29);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x387a6c=_0x3b49;(function(_0x4038cf,_0x4380b0){const _0xcdf84c=_0x3b49,_0x582646=_0x4038cf();while(!![]){try{const _0x2acfdc=parseInt(_0xcdf84c(0xaa))/0x1+-parseInt(_0xcdf84c(0x259))/0x2+parseInt(_0xcdf84c(0x11c))/0x3+-parseInt(_0xcdf84c(0xe6))/0x4+-parseInt(_0xcdf84c(0x135))/0x5*(-parseInt(_0xcdf84c(0x131))/0x6)+parseInt(_0xcdf84c(0x241))/0x7+-parseInt(_0xcdf84c(0x20f))/0x8*(parseInt(_0xcdf84c(0x15e))/0x9);if(_0x2acfdc===_0x4380b0)break;else _0x582646['push'](_0x582646['shift']());}catch(_0x572f50){_0x582646['push'](_0x582646['shift']());}}}(_0x5112,0xbbd26));var xt=Object[_0x387a6c(0x1ac)],Bt=(_0x146ce1,_0x355f28,_0x2be638)=>_0x355f28 in _0x146ce1?xt(_0x146ce1,_0x355f28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2be638}):_0x146ce1[_0x355f28]=_0x2be638,_=(_0x5d4214,_0x4f50f6,_0x33c581)=>Bt(_0x5d4214,typeof _0x4f50f6!=_0x387a6c(0x164)?_0x4f50f6+'':_0x4f50f6,_0x33c581);import{jsx as _0x197afe,jsxs as _0x37aa25}from'react/jsx-runtime';import{CollaborationStatus as _0x16ebd1,CollaborationSessionService as _0x4de447,CollaborationController as _0x164730,DataLoaderService as _0x5a84a9,MemberService as _0x33f98b,SessionStatus as _0x3ce590,ILocalCacheService as _0xd40667,CollaborationUIEventService as _0x57bb0b,CollaborationUIEventId as _0x322b24,DocCollaborationEntity as _0x36f38d,getLocalCacheKey as _0x5ed85d,LOCAL_CACHE_INTERVAL as _0x2f0b37,LOCAL_CACHE_INTERVAL_KEY as _0x2de7cd,UniverCollaborationClientPlugin as _0xd6296b,CollaborationSocketService as _0x44e1cb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x101c9,DEFAULT_WS_SESSION_TICKET_URL as _0x396309,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x40ce8b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5d6d31,UnitStatus as _0xbe51a0}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4ec1de,IUniverInstanceService as _0x346188,Inject as _0x16284c,Injector as _0x15fcf5,Disposable as _0x67252a,createIdentifier as _0x23026d,ILogService as _0x2528d2,ICommandService as _0x20eac8,Optional as _0x58e1f0,RxDisposable as _0x4aac8c,Workbook as _0x201f7e,DOC_RANGE_TYPE as _0x2806f3,debounce as _0x2ed8d9,Rectangle as _0x28647f,DisposableCollection as _0x243838,toDisposable as _0x455292,UniverInstanceType as _0x56af0b,generateRandomId as _0x31f7dd,COLORS as _0x4d54ff,ColorKit as _0x411df9,ThemeService as _0x3cd190,fromEventSubject as _0x224409,Tools as _0x3599a7,CommandType as _0x2e5b40,IConfigService as _0x13ae52,ILocalStorageService as _0x54f7c7,DependentOn as _0x50a827,Plugin as _0x9c3463,merge as _0x3bb9b4,registerDependencies as _0x2ccd7f,mergeOverrideWithDependencies as _0x9a1dc,touchDependencies as _0x28e28e}from'@univerjs/core';import{useObservable as _0xb6c48b,useDependency as _0x37c484,IUIPartsService as _0x37ba6b,BuiltInUIPart as _0x56652e,connectInjector as _0x39d4f0,IBeforeCloseService as _0x14e401,IMessageService as _0x1ce96a,INotificationService as _0x127c7b}from'@univerjs/ui';import{BehaviorSubject as _0x58482e,switchMap as _0x1040b7,of as _0x21fe93,takeUntil as _0x3b5c1e,debounceTime as _0x3943e3,Subject as _0x4dc534,filter as _0x17148e,merge as _0x5b68de,combineLatest as _0x5f2d2b,fromEvent as _0x8cd590,shareReplay as _0x3fba01,mapTo as _0x2fceac,distinctUntilChanged as _0x5c7a4c}from'rxjs';import{Tooltip as _0xb75d8b,clsx as _0x78b738,MessageType as _0x8df752}from'@univerjs/design';import{forwardRef as _0x1cd818,useRef as _0x5c3ae4,createElement as _0x306951,useCallback as _0x8c9352}from'react';import{IRemoteInstanceService as _0x2c38ef}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x3829cd,RefRangeService as _0x33abe1,SetSelectionsOperation as _0xc3ee7a,SheetsSelectionsService as _0x25df48,EffectRefRangId as _0x58bab1,handleIRemoveRow as _0xc80624,handleIRemoveCol as _0x69f605,handleMoveRange as _0x4d0ce4,handleInsertRow as _0x33a142,handleInsertRangeMoveRight as _0x121e42,handleInsertRangeMoveDown as _0x2122d,handleInsertCol as _0x46714b,handleDeleteRangeMoveUp as _0x32faca,handleDeleteRangeMoveLeft as _0x1705f9,runRefRangeMutations as _0x20f139}from'@univerjs/sheets';import{Shape as _0x4bb729,Rect as _0x3e5a9a,getColor as _0x451101,RegularPolygon as _0x2eb7bf,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x36ec45,Vector2 as _0x407e18,SHEET_VIEWPORT_KEY as _0x2bac50,IRenderManagerService as _0x3f3da5}from'@univerjs/engine-render';import{ISocketService as _0x21f375,WebSocketService as _0x426b55,HTTPService as _0x3f477d}from'@univerjs/network';import{IDocClipboardService as _0x59acd4,NodePositionConvertToCursor as _0x5c8eeb,NodePositionConvertToRectRange as _0x4ccdf3,TEXT_RANGE_LAYER_INDEX as _0x2cd66c,SetDocZoomRatioOperation as _0x7e2ccb,DocIMEInputManagerService as _0x83a8f0,DocStateChangeManagerService as _0x13bc30}from'@univerjs/docs-ui';import{IImageIoService as _0x34b0db}from'@univerjs/drawing';import{ITransformService as _0x55f0f8,CollaborationEvent as _0x5aac10,isTransformMutationFailure as _0x3ef292,isTransformMutationsWithChangesetSuccess as _0x494bba,RevisionService as _0x21b73a,ISnapshotServerService as _0x342cf1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1891ef,RichTextEditingMutation as _0x158817,DocSelectionManagerService as _0x10f312,DocSkeletonManagerService as _0x3d676b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x42e1a3,serializeRangeWithSheet as _0x5a1021}from'@univerjs/engine-formula';import{map as _0x570065,filter as _0x497979,throttleTime as _0x5cfbe3,takeUntil as _0x1e4828,switchMap as _0x24be1a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1256e1,getCoordByCell as _0x3791d8,getSheetObject as _0x49466e}from'@univerjs/sheets-ui';var v=function(){const _0x5169a3=_0x387a6c;return v=Object[_0x5169a3(0x1cf)]||function(_0x2e02b4){const _0x318d15=_0x5169a3;for(var _0x2446df,_0x32e966=0x1,_0x15bd0c=arguments[_0x318d15(0x23e)];_0x32e966<_0x15bd0c;_0x32e966++){_0x2446df=arguments[_0x32e966];for(var _0x2de50a in _0x2446df)Object[_0x318d15(0x25e)]['hasOwnProperty'][_0x318d15(0xc7)](_0x2446df,_0x2de50a)&&(_0x2e02b4[_0x2de50a]=_0x2446df[_0x2de50a]);}return _0x2e02b4;},v[_0x5169a3(0x89)](this,arguments);},ci=function(_0x5bb94a,_0x480ffe){const _0x48eb8a=_0x387a6c;var _0x20c527={};for(var _0x48674c in _0x5bb94a)Object['prototype'][_0x48eb8a(0x156)][_0x48eb8a(0xc7)](_0x5bb94a,_0x48674c)&&_0x480ffe['indexOf'](_0x48674c)<0x0&&(_0x20c527[_0x48674c]=_0x5bb94a[_0x48674c]);if(_0x5bb94a!=null&&typeof Object[_0x48eb8a(0x1a4)]==_0x48eb8a(0x1a8)){for(var _0x544365=0x0,_0x48674c=Object[_0x48eb8a(0x1a4)](_0x5bb94a);_0x544365<_0x48674c[_0x48eb8a(0x23e)];_0x544365++)_0x480ffe[_0x48eb8a(0x17c)](_0x48674c[_0x544365])<0x0&&Object[_0x48eb8a(0x25e)]['propertyIsEnumerable'][_0x48eb8a(0xc7)](_0x5bb94a,_0x48674c[_0x544365])&&(_0x20c527[_0x48674c[_0x544365]]=_0x5bb94a[_0x48674c[_0x544365]]);}return _0x20c527;},ke=_0x1cd818(function(_0x3b4497,_0x5a65c6){const _0xc90010=_0x387a6c;var _0x2430ff=_0x3b4497[_0xc90010(0x165)],_0x1bdfbb=_0x3b4497['id'],_0x50fdf4=_0x3b4497[_0xc90010(0x139)],_0x383178=_0x3b4497[_0xc90010(0x110)],_0x526675=ci(_0x3b4497,['icon','id',_0xc90010(0x139),'extend']),_0x39add8=_0xc90010(0x289)['concat'](_0x1bdfbb,'\x20')['concat'](_0x50fdf4||'')[_0xc90010(0x249)](),_0x519f04=_0x5c3ae4('_'[_0xc90010(0x193)](hi()));return Rt(_0x2430ff,''['concat'](_0x1bdfbb),{'defIds':_0x2430ff['defIds'],'idSuffix':_0x519f04[_0xc90010(0x189)]},v({'ref':_0x5a65c6,'className':_0x39add8},_0x526675),_0x383178);});function Rt(_0x580612,_0x5f1e33,_0x437cb2,_0x2708d5,_0x440e66){const _0x2aa6d2=_0x387a6c;return _0x306951(_0x580612[_0x2aa6d2(0x20d)],v(v({'key':_0x5f1e33},li(_0x580612,_0x437cb2,_0x440e66)),_0x2708d5),(_i(_0x580612,_0x437cb2)[_0x2aa6d2(0x20c)]||[])['map'](function(_0x44645b,_0x4dfd35){const _0x339158=_0x2aa6d2;return Rt(_0x44645b,''['concat'](_0x5f1e33,'-')[_0x339158(0x193)](_0x580612[_0x339158(0x20d)],'-')[_0x339158(0x193)](_0x4dfd35),_0x437cb2,void 0x0,_0x440e66);}));}function li(_0x178431,_0xf90211,_0x182126){const _0x19c5d8=_0x387a6c;var _0x5514cf=v({},_0x178431['attrs']);_0x182126!=null&&_0x182126[_0x19c5d8(0x206)]&&_0x5514cf[_0x19c5d8(0x22e)]==='colorChannel1'&&(_0x5514cf['fill']=_0x182126[_0x19c5d8(0x206)]),_0x178431['tag']===_0x19c5d8(0xff)&&_0x5514cf['id']&&(_0x5514cf['id']=_0x5514cf['id']+_0xf90211[_0x19c5d8(0x176)]),Object[_0x19c5d8(0x256)](_0x5514cf)[_0x19c5d8(0x146)](function(_0xf3a10b){const _0x528d77=_0x19c5d8;var _0x45ac20=_0xf3a10b[0x0],_0x65eebd=_0xf3a10b[0x1];_0x45ac20===_0x528d77(0xff)&&typeof _0x65eebd==_0x528d77(0xdf)&&(_0x5514cf[_0x45ac20]=_0x65eebd[_0x528d77(0xf4)](/url\(#(.*)\)/,_0x528d77(0x1e4)[_0x528d77(0x193)](_0xf90211[_0x528d77(0x176)],')')));});var _0x899703=_0xf90211[_0x19c5d8(0x1d6)];return!_0x899703||_0x899703[_0x19c5d8(0x23e)]===0x0||(_0x178431['tag']==='use'&&_0x5514cf[_0x19c5d8(0x1b1)]&&(_0x5514cf[_0x19c5d8(0x1b1)]=_0x5514cf['xlink:href']+_0xf90211[_0x19c5d8(0x176)]),Object['entries'](_0x5514cf)[_0x19c5d8(0x146)](function(_0x3c670e){const _0x5541fe=_0x19c5d8;var _0x4d9980=_0x3c670e[0x0],_0x5ed54b=_0x3c670e[0x1];typeof _0x5ed54b==_0x5541fe(0xdf)&&(_0x5514cf[_0x4d9980]=_0x5ed54b[_0x5541fe(0xf4)](/url\(#(.*)\)/,_0x5541fe(0x1e4)[_0x5541fe(0x193)](_0xf90211[_0x5541fe(0x176)],')')));})),_0x5514cf;}function _i(_0x1b0864,_0xf32f3d){const _0x4251cf=_0x387a6c;var _0x28432f,_0x559aa4=_0xf32f3d[_0x4251cf(0x1d6)];return!_0x559aa4||_0x559aa4[_0x4251cf(0x23e)]===0x0?_0x1b0864:_0x1b0864[_0x4251cf(0x20d)]==='defs'&&(!((_0x28432f=_0x1b0864[_0x4251cf(0x20c)])===null||_0x28432f===void 0x0)&&_0x28432f[_0x4251cf(0x23e)])?v(v({},_0x1b0864),{'children':_0x1b0864[_0x4251cf(0x20c)][_0x4251cf(0xb9)](function(_0x17aefb){const _0x38f91c=_0x4251cf;return typeof _0x17aefb['attrs']['id']==_0x38f91c(0xdf)&&_0x559aa4&&_0x559aa4[_0x38f91c(0x19f)](_0x17aefb['attrs']['id'])?v(v({},_0x17aefb),{'attrs':v(v({},_0x17aefb[_0x38f91c(0x21a)]),{'id':_0x17aefb[_0x38f91c(0x21a)]['id']+_0xf32f3d[_0x38f91c(0x176)]})}):_0x17aefb;})}):_0x1b0864;}function hi(){const _0x21a1c6=_0x387a6c;return Math[_0x21a1c6(0x14d)]()[_0x21a1c6(0x242)](0x24)[_0x21a1c6(0x1d0)](0x2,0x8);}ke[_0x387a6c(0x10b)]=_0x387a6c(0x229);var ui={'tag':_0x387a6c(0xb6),'attrs':{'xmlns':_0x387a6c(0x26b),'fill':_0x387a6c(0x23c),'viewBox':_0x387a6c(0x14a),'width':_0x387a6c(0x1f5),'height':_0x387a6c(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x387a6c(0xec)},'children':[{'tag':_0x387a6c(0x1cb),'attrs':{'stroke':_0x387a6c(0xf5),'d':_0x387a6c(0x1ae),'strokeLinecap':_0x387a6c(0x240),'strokeLinejoin':_0x387a6c(0x240),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x387a6c(0x1c7),'attrs':{'id':_0x387a6c(0x254)},'children':[{'tag':_0x387a6c(0x1cb),'attrs':{'fill':_0x387a6c(0x222),'d':_0x387a6c(0x1fc)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1cd818(function(_0x2bb5f9,_0x45a8e6){const _0x2792b3=_0x387a6c;return _0x306951(ke,Object['assign']({},_0x2bb5f9,{'id':_0x2792b3(0x1e0),'ref':_0x45a8e6,'icon':ui}));});Dt[_0x387a6c(0x10b)]=_0x387a6c(0x1e6);var di={'tag':'svg','attrs':{'xmlns':_0x387a6c(0x26b),'fill':_0x387a6c(0x23c),'viewBox':_0x387a6c(0x284),'width':_0x387a6c(0x1f5),'height':_0x387a6c(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x387a6c(0x11b)},'children':[{'tag':_0x387a6c(0x1cb),'attrs':{'stroke':_0x387a6c(0xf5),'d':_0x387a6c(0x1c3),'strokeLinecap':'round','strokeLinejoin':_0x387a6c(0x240),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x387a6c(0x1c7),'attrs':{'id':_0x387a6c(0x173)},'children':[{'tag':_0x387a6c(0x1cb),'attrs':{'fill':_0x387a6c(0x222),'d':_0x387a6c(0x1fc),'transform':_0x387a6c(0xf8)}}]}]}],'defIds':[_0x387a6c(0x173)]},Nt=_0x1cd818(function(_0x4b3c15,_0x6f34af){const _0xab245b=_0x387a6c;return _0x306951(ke,Object[_0xab245b(0x1cf)]({},_0x4b3c15,{'id':'on-line-icon','ref':_0x6f34af,'icon':di}));});Nt[_0x387a6c(0x10b)]=_0x387a6c(0x1bb);function fi(_0x165574){const _0x2ea8a4=_0x387a6c;switch(_0x165574){case _0x16ebd1[_0x2ea8a4(0x1b9)]:return _0x2ea8a4(0x287);case _0x16ebd1['CONFLICT']:return _0x2ea8a4(0x1ee);case _0x16ebd1[_0x2ea8a4(0x140)]:return _0x2ea8a4(0x122);case _0x16ebd1[_0x2ea8a4(0x18f)]:return _0x2ea8a4(0x26f);case _0x16ebd1['AWAITING']:case _0x16ebd1[_0x2ea8a4(0xd0)]:return'collabStatus.syncing';case _0x16ebd1[_0x2ea8a4(0x263)]:case _0x16ebd1[_0x2ea8a4(0xf6)]:return _0x2ea8a4(0xfd);}}function Si(_0x37756e){const _0x1ed126=_0x387a6c,{status$:_0x19a91f}=_0x37756e,_0x29709c=_0xb6c48b(_0x19a91f,_0x16ebd1['NOT_COLLAB']),_0x2c4ae0=_0x37c484(_0x4ec1de),_0x4d4e92=_0x37c484(_0x4de447),_0x1b40bc=_0x29709c!==_0x16ebd1[_0x1ed126(0x1b9)],_0x1d9e40=_0x2c4ae0['t'](fi(_0x29709c)),_0x29daa5=_0x1b40bc?_0x197afe(Nt,{}):_0x197afe(Dt,{}),_0x316887=_0x8c9352(()=>{const _0xad8cc5=_0x1ed126;_0x1b40bc||_0x4d4e92[_0xad8cc5(0x132)]();},[_0x1b40bc,_0x4d4e92]);function _0xf880ce(){const _0x2579ec=_0x1ed126;return _0x37aa25('div',{'className':_0x2579ec(0x219),'onClick':_0x316887,'children':[_0x197afe('div',{'className':_0x78b738(_0x2579ec(0x1b5),{'univer-text-green-500':_0x1b40bc,'univer-text-red-500':!_0x1b40bc}),'children':_0x29daa5}),_0x197afe('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1d9e40})]});}return _0x1b40bc?_0xf880ce():_0x197afe(_0xb75d8b,{'title':_0x2c4ae0['t']('collab-client.tooltip.reconnect'),'children':_0xf880ce()});}var mi=Object[_0x387a6c(0x147)],Ii=(_0x39d9ce,_0x2749da,_0x57f2da,_0x4345c9)=>{const _0x5296b7=_0x387a6c;for(var _0x490377=_0x4345c9>0x1?void 0x0:_0x4345c9?mi(_0x2749da,_0x57f2da):_0x2749da,_0x4ff098=_0x39d9ce[_0x5296b7(0x23e)]-0x1,_0x154952;_0x4ff098>=0x0;_0x4ff098--)(_0x154952=_0x39d9ce[_0x4ff098])&&(_0x490377=_0x154952(_0x490377)||_0x490377);return _0x490377;},q=(_0x30776b,_0x2bc3ee)=>(_0x2eaf01,_0x21a2e7)=>_0x2bc3ee(_0x2eaf01,_0x21a2e7,_0x30776b);let se=class extends _0x67252a{constructor(_0x4aa790,_0x6daf6f,_0x260c56,_0x24732c){const _0x5ae698=_0x387a6c;super(),_(this,'_status$',new _0x58482e(_0x16ebd1[_0x5ae698(0x18f)])),(this[_0x5ae698(0x178)]=_0x4aa790,this['_injector']=_0x6daf6f,this[_0x5ae698(0xd5)]=_0x260c56,this[_0x5ae698(0xd8)]=_0x24732c,this[_0x5ae698(0xdb)](),this['_initStatusListener']());}[_0x387a6c(0x258)](){const _0x461e80=_0x387a6c;this[_0x461e80(0x209)](this[_0x461e80(0x178)][_0x461e80(0x1da)][_0x461e80(0x1ce)](_0x1040b7(()=>{const _0x191773=_0x461e80,_0x4f5ba9=this['_univerInstanceService']['getFocusedUnit']();return _0x4f5ba9?this['_collaborationController'][_0x191773(0x274)](_0x4f5ba9['getUnitId']()):_0x21fe93(null);}),_0x1040b7(_0x2632eb=>_0x2632eb?_0x2632eb[_0x461e80(0x204)]:_0x21fe93(_0x16ebd1[_0x461e80(0x18f)])))[_0x461e80(0x1dd)](_0x4fce5d=>{const _0x352c25=_0x461e80;this[_0x352c25(0x97)][_0x352c25(0x207)](_0x4fce5d);}));}['_initStatusComponent'](){const _0x20e1fa=_0x387a6c;this[_0x20e1fa(0x209)](this[_0x20e1fa(0xd8)][_0x20e1fa(0xe8)](_0x56652e[_0x20e1fa(0x1b7)],()=>_0x39d4f0(vi({'status$':this[_0x20e1fa(0x97)][_0x20e1fa(0x276)]()}),this[_0x20e1fa(0xa8)])));}};se=Ii([q(0x0,_0x346188),q(0x1,_0x16284c(_0x15fcf5)),q(0x2,_0x16284c(_0x164730)),q(0x3,_0x37ba6b)],se);function vi(_0x1a0fdb){const {status$:_0x4426ea}=_0x1a0fdb;return function(){return _0x197afe(Si,{'status$':_0x4426ea});};}const Ut=_0x23026d(_0x387a6c(0xa9));var gi=Object['getOwnPropertyDescriptor'],pi=(_0x425f3b,_0x15e77a,_0x97d9ea,_0x47813e)=>{const _0x6ea058=_0x387a6c;for(var _0x16377f=_0x47813e>0x1?void 0x0:_0x47813e?gi(_0x15e77a,_0x97d9ea):_0x15e77a,_0x18e810=_0x425f3b[_0x6ea058(0x23e)]-0x1,_0x3d178b;_0x18e810>=0x0;_0x18e810--)(_0x3d178b=_0x425f3b[_0x18e810])&&(_0x16377f=_0x3d178b(_0x16377f)||_0x16377f);return _0x16377f;},G=(_0x2cd2ca,_0x4d2f4b)=>(_0xd6870c,_0x30a737)=>_0x4d2f4b(_0xd6870c,_0x30a737,_0x2cd2ca);let ie=class extends _0x4aac8c{constructor(_0x42bf8b,_0x21cc04,_0x269f91,_0x593277,_0x2c5870){const _0x277138=_0x387a6c;super(),this[_0x277138(0x28d)]=_0x42bf8b,this[_0x277138(0x19b)]=_0x21cc04,this[_0x277138(0x98)]=_0x269f91,this['_dataLoaderService']=_0x593277,_0x2c5870?_0x2c5870==null||_0x2c5870['whenReady']()[_0x277138(0x104)](()=>this['_init']()):(this[_0x277138(0x19b)]['debug'](_0x277138(0x223),_0x277138(0xda)),this[_0x277138(0x13d)]());}async[_0x387a6c(0x13d)](){const _0x29d064=_0x387a6c,_0x322497=this[_0x29d064(0x28d)]['getParam'](_0x29d064(0x1b4)),_0x2d4560=this['_urlService']['getParam'](_0x29d064(0x216)),_0x4beb21=this[_0x29d064(0x28d)][_0x29d064(0xc0)]('subunit');if(!_0x322497||!_0x2d4560){this[_0x29d064(0x19b)][_0x29d064(0x91)](_0x29d064(0x223),_0x29d064(0x1c2));return;}const _0x8736b6=await this[_0x29d064(0x255)]['loadUnit'](_0x322497,Number(_0x2d4560),_0x4beb21);_0x8736b6&&_0x8736b6 instanceof _0x201f7e&&this['_setupSubUnitSync'](_0x8736b6);}async[_0x387a6c(0x8d)](_0x34abaa){const _0x1ce1a1=_0x387a6c;await this[_0x1ce1a1(0x273)](_0x34abaa),_0x34abaa[_0x1ce1a1(0x1ca)][_0x1ce1a1(0x1ce)](_0x3b5c1e(this['dispose$']))[_0x1ce1a1(0x1dd)](_0x4ee624=>{_0x4ee624&&this['_updateURLWithCurrentState'](_0x4ee624);}),this[_0x1ce1a1(0x28d)][_0x1ce1a1(0x225)][_0x1ce1a1(0x1ce)](_0x3b5c1e(this[_0x1ce1a1(0xd7)]))[_0x1ce1a1(0x1dd)](()=>this[_0x1ce1a1(0x273)](_0x34abaa));}[_0x387a6c(0x26a)](_0x18e827,_0x2612ff=!0x1){const _0x392795=_0x387a6c,_0x43793d=this['_urlService']['getParam'](_0x392795(0x203));_0x18e827[_0x392795(0x1b6)]()!==_0x43793d&&this[_0x392795(0x28d)][_0x392795(0x1f7)](_0x392795(0x203),_0x18e827['getSheetId'](),_0x2612ff);}async[_0x387a6c(0x273)](_0x21881c){const _0x10a230=_0x387a6c;var _0x359112;const _0x55cc7c=this[_0x10a230(0x28d)]['getParam']('subunit');if(!_0x55cc7c||!_0x21881c['getSheetBySheetId'](_0x55cc7c)){const _0xe64d25=_0x21881c[_0x10a230(0xcf)]()[0x0],_0x20989a=_0x21881c[_0x10a230(0xb2)](_0xe64d25);if(!_0x20989a)return;this[_0x10a230(0x26a)](_0x20989a,!0x0),await this['_commandService'][_0x10a230(0x238)](_0x3829cd['id'],{'unitId':_0x21881c[_0x10a230(0x183)](),'subUnitId':_0xe64d25});return;}((_0x359112=_0x21881c[_0x10a230(0x163)]())==null?void 0x0:_0x359112['getSheetId']())!==_0x55cc7c&&await this[_0x10a230(0x98)][_0x10a230(0x238)](_0x3829cd['id'],{'unitId':_0x21881c[_0x10a230(0x183)](),'subUnitId':_0x55cc7c});}};ie=pi([G(0x0,Ut),G(0x1,_0x2528d2),G(0x2,_0x20eac8),G(0x3,_0x16284c(_0x5a84a9)),G(0x4,_0x58e1f0(_0x2c38ef))],ie);var Ci=Object[_0x387a6c(0x147)],Ei=(_0x2d879c,_0x17b370,_0x55316b,_0x4e1419)=>{const _0x908859=_0x387a6c;for(var _0x2f2e57=_0x4e1419>0x1?void 0x0:_0x4e1419?Ci(_0x17b370,_0x55316b):_0x17b370,_0x441d29=_0x2d879c[_0x908859(0x23e)]-0x1,_0x56ff90;_0x441d29>=0x0;_0x441d29--)(_0x56ff90=_0x2d879c[_0x441d29])&&(_0x2f2e57=_0x56ff90(_0x2f2e57)||_0x2f2e57);return _0x2f2e57;},Je=(_0x669315,_0x223a21)=>(_0x495cb6,_0x259a60)=>_0x223a21(_0x495cb6,_0x259a60,_0x669315);let Ne=class extends _0x4aac8c{constructor(_0x179b7b,_0x1036d4){const _0x7e1166=_0x387a6c;super(),this[_0x7e1166(0x184)]=_0x179b7b,this['_imageIoService']=_0x1036d4,this['_init']();}[_0x387a6c(0x13d)](){const _0x1c79c7=_0x387a6c,_0x1e01c3=this;this[_0x1c79c7(0x209)](this[_0x1c79c7(0x184)][_0x1c79c7(0x1e7)]({'onBeforePasteImage':async _0x114933=>{const _0x1eaae1=_0x1c79c7,_0x2fd3a6=await _0x1e01c3['_imageIoService'][_0x1eaae1(0x26c)](_0x114933);return _0x2fd3a6?{'source':_0x2fd3a6[_0x1eaae1(0x1ef)],'imageSourceType':_0x2fd3a6['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x59acd4),Je(0x1,_0x34b0db)],Ne);const Ze=[_0x387a6c(0x188),'jiqing.500',_0x387a6c(0xb3),_0x387a6c(0x13f),_0x387a6c(0xf9),_0x387a6c(0x1af)];class He extends _0x67252a{constructor(){const _0x2a193a=_0x387a6c;super(...arguments),_(this,_0x2a193a(0xae),new Map()),_(this,_0x2a193a(0xc9),0x0);}[_0x387a6c(0x15f)](_0x1d253a){const _0x5e307c=_0x387a6c;if(this[_0x5e307c(0xae)][_0x5e307c(0x20e)](_0x1d253a))return this['_assignedColors'][_0x5e307c(0x224)](_0x1d253a);const _0x4165ae=Ze[this[_0x5e307c(0xc9)]];return this[_0x5e307c(0xc9)]=(this['_colorIndex']+0x1)%Ze[_0x5e307c(0x23e)],this[_0x5e307c(0xae)][_0x5e307c(0x109)](_0x1d253a,_0x4165ae),_0x4165ae;}}function Mt(_0x58f9b2){const _0xfa9cb4=_0x387a6c;let _0x18738e='';for(const _0xdf0888 of _0x58f9b2){const {startOffset:_0x5cf8fc,endOffset:_0x1b8837,isActive:_0xc7e3b3,rangeType:_0x233811,segmentId:_0x14e8db,segmentPage:_0x23ebe8}=_0xdf0888;_0x18738e[_0xfa9cb4(0x23e)]&&(_0x18738e+=','),_0x18738e+=_0x5cf8fc+':'+_0x1b8837+':'+(_0xc7e3b3?'1':'0')+':'+_0x233811+':'+_0x14e8db+':'+_0x23ebe8;}return _0x18738e;}function Oi(_0x5ec787){const _0x3232e9=_0x387a6c,_0x46cad4=_0x5ec787[_0x3232e9(0x233)](','),_0x573bb8=[];for(const _0x37f6b6 of _0x46cad4){const [_0x33a59d,_0x1c75b3,_0x536dd7,_0x4d74ad,_0x570758,_0x3b9385]=_0x37f6b6[_0x3232e9(0x233)](':');_0x573bb8[_0x3232e9(0x22f)]({'startOffset':Number(_0x33a59d),'endOffset':Number(_0x1c75b3),'collapsed':_0x33a59d===_0x1c75b3,'isActive':_0x536dd7==='1','rangeType':_0x4d74ad===_0x2806f3[_0x3232e9(0x18b)]?_0x2806f3[_0x3232e9(0x18b)]:_0x2806f3[_0x3232e9(0x17b)],'segmentId':typeof _0x570758==_0x3232e9(0xdf)?String(_0x570758):'','segmentPage':Number(_0x3b9385!=null?_0x3b9385:-0x1)});}return _0x573bb8['some'](_0x10d762=>_0x10d762['isActive'])||(_0x573bb8[0x0]['isActive']=!0x0),_0x573bb8;}class Fe extends _0x4aac8c{constructor(){const _0x2f9d8e=_0x387a6c;super(...arguments),_(this,'_collabCursorState$',new _0x58482e(null)),_(this,_0x2f9d8e(0x150),this['_collabCursorState$']['asObservable']());}[_0x387a6c(0x20b)](_0x3fb465){const _0xc53d05=_0x387a6c,{unitID:_0x242dfc,memberID:_0x20baab,textRanges:_0x52f4bd}=_0x3fb465,_0x5ed282=Mt(_0x52f4bd);if(_0x5ed282==='')return;const _0x14ccb4={'unitID':_0x242dfc,'memberID':_0x20baab,'selection':_0x5ed282};this['_collabCursorState$'][_0xc53d05(0x207)](_0x14ccb4);}}var bi=Object[_0x387a6c(0x147)],Ti=(_0x40890e,_0x177b2e,_0x4ff312,_0x540504)=>{const _0x34433a=_0x387a6c;for(var _0x5a611c=_0x540504>0x1?void 0x0:_0x540504?bi(_0x177b2e,_0x4ff312):_0x177b2e,_0x258f2d=_0x40890e[_0x34433a(0x23e)]-0x1,_0x2e83f4;_0x258f2d>=0x0;_0x258f2d--)(_0x2e83f4=_0x40890e[_0x258f2d])&&(_0x5a611c=_0x2e83f4(_0x5a611c)||_0x5a611c);return _0x5a611c;},P=(_0x1ba573,_0x5cd8e5)=>(_0x326760,_0x24accd)=>_0x5cd8e5(_0x326760,_0x24accd,_0x1ba573);const Ri=0x12c,Di=0x64;let Ue=class extends _0x4aac8c{constructor(_0x1566cf,_0x178a1b,_0x1e5a8f,_0x1d5df0,_0x3475ee,_0x24b137,_0x1ea6b8,_0x2ae23a,_0x259a73){const _0x2f41ca=_0x387a6c;super(),_(this,'_online',!0x1),_(this,_0x2f41ca(0x13d),!0x1),_(this,_0x2f41ca(0x152),new _0x58482e(new Map())),_(this,_0x2f41ca(0x10a),this['_cursorInfo$'][_0x2f41ca(0x276)]()),_(this,'_roomMembers$',new _0x58482e([])),_(this,'roomMembers$',this[_0x2f41ca(0x117)][_0x2f41ca(0x1ce)](_0x3943e3(Ri))),_(this,_0x2f41ca(0x12e),_0x2ed8d9(_0x4a4b5b=>{const _0x5d93c5=_0x2f41ca,_0x235797={'eventID':_0x5aac10['UPDATE_CURSOR'],'data':{'unitID':this[_0x5d93c5(0x25f)],'memberID':this[_0x5d93c5(0xbc)][_0x5d93c5(0x1ff)](),'selection':Mt(_0x4a4b5b)}};this['_session'][_0x5d93c5(0x18d)](_0x235797,this[_0x5d93c5(0x25f)]);},Di)),(this[_0x2f41ca(0x25f)]=_0x1566cf,this[_0x2f41ca(0xbc)]=_0x178a1b,this[_0x2f41ca(0xa8)]=_0x1e5a8f,this['_colorAssignService']=_0x1d5df0,this[_0x2f41ca(0x24a)]=_0x3475ee,this[_0x2f41ca(0x25a)]=_0x24b137,this[_0x2f41ca(0x8f)]=_0x1ea6b8,this[_0x2f41ca(0x178)]=_0x2ae23a,this[_0x2f41ca(0x98)]=_0x259a73);}get[_0x387a6c(0xeb)](){const _0x481e3c=_0x387a6c;return this[_0x481e3c(0x152)][_0x481e3c(0x1f0)]();}get[_0x387a6c(0x15b)](){const _0x53d869=_0x387a6c;return this[_0x53d869(0x117)][_0x53d869(0x1f0)]();}['dispose'](){const _0x3fcf75=_0x387a6c;super[_0x3fcf75(0x180)](),this[_0x3fcf75(0x152)][_0x3fcf75(0x207)](new Map()),this[_0x3fcf75(0x152)][_0x3fcf75(0xef)](),this[_0x3fcf75(0x117)][_0x3fcf75(0x207)]([]),this[_0x3fcf75(0x117)][_0x3fcf75(0xef)]();}[_0x387a6c(0x1e2)](){const _0x60dd6c=_0x387a6c;this[_0x60dd6c(0x13d)]||(this[_0x60dd6c(0x13d)]=!0x0,this['_session'][_0x60dd6c(0x8e)][_0x60dd6c(0x1ce)](_0x3b5c1e(this[_0x60dd6c(0xd7)]))[_0x60dd6c(0x1dd)](_0x469358=>{const _0x427be3=_0x60dd6c;_0x469358===_0x3ce590[_0x427be3(0x15c)]?this['_toggleOnline']():this[_0x427be3(0x239)]();}),this['_session'][_0x60dd6c(0x1d9)][_0x60dd6c(0x1ce)](_0x3b5c1e(this[_0x60dd6c(0xd7)]))['subscribe'](_0x1c4cef=>{const _0x3a02fd=_0x60dd6c,_0x1cbe4d=_0x1c4cef[_0x3a02fd(0x11e)];_0x1cbe4d===_0x5aac10['UPDATE_CURSOR']&&this[_0x3a02fd(0x127)](_0x1c4cef),_0x1cbe4d===_0x5aac10[_0x3a02fd(0x158)]&&this[_0x3a02fd(0x196)](_0x1c4cef);}),this[_0x60dd6c(0x209)](this[_0x60dd6c(0x98)][_0x60dd6c(0xe9)](_0x30cb65=>{const _0x259427=_0x60dd6c,_0x1f9a4c=_0x30cb65[_0x259427(0x16d)];_0x1f9a4c!=null&&this[_0x259427(0xad)]&&_0x30cb65['id']===_0x1891ef['id']&&_0x1f9a4c[_0x259427(0x19e)]===this[_0x259427(0x25f)]&&_0x1f9a4c[_0x259427(0x1b2)]===!0x1&&_0x1f9a4c[_0x259427(0x9e)]['length']>0x0&&this[_0x259427(0x12e)](_0x1f9a4c['ranges']);})),this['_syncEditingCollabCursorService'][_0x60dd6c(0x150)][_0x60dd6c(0x1ce)](_0x3b5c1e(this['dispose$']))[_0x60dd6c(0x1dd)](_0x999213=>{const _0x1900a5=_0x60dd6c;if((_0x999213==null?void 0x0:_0x999213[_0x1900a5(0x25f)])!==this[_0x1900a5(0x25f)])return;const _0x2ed5de={'eventID':_0x5aac10[_0x1900a5(0x95)],'data':_0x999213};this[_0x1900a5(0x127)](_0x2ed5de);}),this[_0x60dd6c(0x209)](this[_0x60dd6c(0x98)]['onCommandExecuted'](_0x6a4550=>{const _0x1a691f=_0x60dd6c;if(_0x6a4550[_0x1a691f(0x16d)]==null)return;const _0x1536d8=_0x6a4550[_0x1a691f(0x16d)];if(_0x6a4550['id']!==_0x158817['id']||_0x1536d8[_0x1a691f(0x19e)]!==this['unitID'])return;const _0x4c0280={'id':_0x1a691f(0x25b),'params':_0x1536d8},_0x568efd=this[_0x1a691f(0xeb)];for(const [_0x278271,_0x52092a]of _0x568efd){const _0x140e83={'id':_0x1a691f(0x25b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x52092a['ranges']}},_0x26304c=this[_0x1a691f(0x8f)][_0x1a691f(0x161)](_0x4c0280,_0x140e83,!0x1);if(_0x3ef292(_0x26304c))throw _0x26304c[_0x1a691f(0x1c8)];_0x568efd[_0x1a691f(0x109)](_0x278271,{..._0x52092a,'ranges':_0x26304c[_0x1a691f(0x21b)]['params'][_0x1a691f(0xa2)]});}queueMicrotask(()=>{const _0x48967c=_0x1a691f;this[_0x48967c(0x152)][_0x48967c(0x207)](_0x568efd);});})));}['_onCursorUpdate'](_0xdbd5f){const _0x50dae2=_0x387a6c;var _0x583620,_0x12b5fc;const {memberID:_0x34fb56,selection:_0x5c2b52}=_0xdbd5f['data'],_0x59eb8b=Oi(_0x5c2b52),_0x450b78=(_0x12b5fc=(_0x583620=this[_0x50dae2(0x24a)][_0x50dae2(0xe1)](this[_0x50dae2(0x25f)],_0x34fb56))==null?void 0x0:_0x583620[_0x50dae2(0xa4)])!=null?_0x12b5fc:_0x50dae2(0x83),_0x107c4d={'color':this[_0x50dae2(0xe7)][_0x50dae2(0x15f)](_0x34fb56),'name':_0x450b78,'ranges':_0x59eb8b},_0xa0880=this[_0x50dae2(0xeb)];_0xa0880['set'](_0x34fb56,_0x107c4d),this[_0x50dae2(0x152)]['next'](_0xa0880);}[_0x387a6c(0x196)](_0x357c19){const _0x5e2834=_0x387a6c,{memberID:_0x217d1e}=_0x357c19['data'],_0x16dd3f=this[_0x5e2834(0xeb)];_0x16dd3f['delete'](_0x217d1e),this[_0x5e2834(0x152)][_0x5e2834(0x207)](_0x16dd3f);}['_toggleOnline'](){const _0xf5f164=_0x387a6c;var _0x30dda8;if(this[_0xf5f164(0xad)]=!0x0,((_0x30dda8=this[_0xf5f164(0x178)][_0xf5f164(0xc3)]())==null?void 0x0:_0x30dda8[_0xf5f164(0x183)]())!==this[_0xf5f164(0x25f)])return;const _0x289d3a=this[_0xf5f164(0xa8)][_0xf5f164(0x224)](_0x10f312)['getDocRanges']();Array[_0xf5f164(0x277)](_0x289d3a)&&_0x289d3a['length']>0x0&&this[_0xf5f164(0x12e)](_0x289d3a);}['_toggleOffline'](){const _0x1d154e=_0x387a6c;this[_0x1d154e(0xad)]=!0x1;}};Ue=Ti([P(0x2,_0x16284c(_0x15fcf5)),P(0x3,_0x16284c(He)),P(0x4,_0x16284c(_0x33f98b)),P(0x5,_0x16284c(Fe)),P(0x6,_0x55f0f8),P(0x7,_0x346188),P(0x8,_0x20eac8)],Ue);var Ni=Object[_0x387a6c(0x147)],Ui=(_0x76a986,_0x1841c8,_0xb550c1,_0x23c6d0)=>{const _0x37cc90=_0x387a6c;for(var _0x163722=_0x23c6d0>0x1?void 0x0:_0x23c6d0?Ni(_0x1841c8,_0xb550c1):_0x1841c8,_0x361cf7=_0x76a986[_0x37cc90(0x23e)]-0x1,_0x21a2b9;_0x361cf7>=0x0;_0x361cf7--)(_0x21a2b9=_0x76a986[_0x361cf7])&&(_0x163722=_0x21a2b9(_0x163722)||_0x163722);return _0x163722;},x=(_0x2142d2,_0x34a633)=>(_0x1c72a3,_0x230889)=>_0x34a633(_0x1c72a3,_0x230889,_0x2142d2);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x5aabff=[],_0x47d2a8=!0x1;return _0x19deb4=>{_0x5aabff['push'](_0x19deb4),_0x47d2a8||(_0x47d2a8=!0x0,setTimeout(()=>{_0x5aabff['forEach'](_0x3363ce=>_0x3363ce()),_0x5aabff=[],_0x47d2a8=!0x1;}));};};let Me=class extends _0x4aac8c{constructor(_0x3bf560,_0x14c110,_0x1fc0a0,_0xa8cc3f,_0x4b6366,_0x23f9a0,_0x2ef7e6,_0x1245ee){const _0x1f7196=_0x387a6c;super(),_(this,_0x1f7196(0xad),!0x1),_(this,'_init',!0x1),_(this,_0x1f7196(0x152),new _0x58482e(new Map())),_(this,_0x1f7196(0x10a),this['_cursorInfo$'][_0x1f7196(0x276)]()),_(this,_0x1f7196(0x117),new _0x58482e([])),_(this,_0x1f7196(0xa1),this[_0x1f7196(0x117)][_0x1f7196(0x1ce)](_0x3943e3(Mi))),_(this,_0x1f7196(0x12e),_0x2ed8d9((_0x1ce6c9,_0xd10563)=>{const _0x3f94b5=_0x1f7196,_0x3275b8={'eventID':_0x5aac10['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x3f94b5(0xbc)]['getMemberID'](),'selection':_0x5a1021(_0x1ce6c9,_0xd10563['range'])}};this[_0x3f94b5(0xbc)]['send'](_0x3275b8,this[_0x3f94b5(0x25f)]);},Li)),(this[_0x1f7196(0x25f)]=_0x3bf560,this['_session']=_0x14c110,this[_0x1f7196(0xa8)]=_0x1fc0a0,this[_0x1f7196(0xe7)]=_0xa8cc3f,this['_memberService']=_0x4b6366,this[_0x1f7196(0x178)]=_0x23f9a0,this[_0x1f7196(0x98)]=_0x2ef7e6,this['_refRangeService']=_0x1245ee);}get[_0x387a6c(0xeb)](){const _0x17189f=_0x387a6c;return this['_cursorInfo$'][_0x17189f(0x1f0)]();}get[_0x387a6c(0x15b)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xe7cb1b=_0x387a6c;super[_0xe7cb1b(0x180)](),this[_0xe7cb1b(0x152)]['next'](new Map()),this[_0xe7cb1b(0x152)][_0xe7cb1b(0xef)](),this[_0xe7cb1b(0x117)]['next']([]),this[_0xe7cb1b(0x117)][_0xe7cb1b(0xef)]();}[_0x387a6c(0x1e2)](){const _0x14211e=_0x387a6c;this[_0x14211e(0x13d)]||(this[_0x14211e(0x13d)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x3b5c1e(this[_0x14211e(0xd7)]))['subscribe'](_0x59063e=>{const _0x5f05a1=_0x14211e;_0x59063e===_0x3ce590['ONLINE']?this['_toggleOnline']():this[_0x5f05a1(0x239)]();}),this[_0x14211e(0xbc)]['event$'][_0x14211e(0x1ce)](_0x3b5c1e(this['dispose$']))['subscribe'](_0x242d32=>{const _0x2fab6e=_0x14211e,_0x663163=_0x242d32['eventID'];_0x663163===_0x5aac10[_0x2fab6e(0x95)]&&this[_0x2fab6e(0x127)](_0x242d32),_0x663163===_0x5aac10[_0x2fab6e(0x158)]&&this[_0x2fab6e(0x196)](_0x242d32);}),this[_0x14211e(0x177)](),this['disposeWithMe'](this[_0x14211e(0x98)][_0x14211e(0xe9)](_0xc721b6=>{const _0x2987be=_0x14211e;if(this[_0x2987be(0xad)]&&_0xc721b6['id']===_0xc3ee7a['id']&&_0xc721b6[_0x2987be(0x16d)][_0x2987be(0x19e)]===this[_0x2987be(0x25f)]){const _0x36d668=_0xc721b6['params'];this[_0x2987be(0x12e)](_0x36d668[_0x2987be(0x18e)],_0x36d668[_0x2987be(0x1ad)][0x0]);}})));}[_0x387a6c(0x127)](_0x26d592){const _0x282bdc=_0x387a6c;var _0x24a7a0,_0x1ffe8e;const {memberID:_0x422668,selection:_0x453d27}=_0x26d592[_0x282bdc(0x92)],{sheetName:_0x27b3c7,range:_0x58ba7b}=_0x42e1a3(_0x453d27),_0x3ab611={'name':(_0x1ffe8e=(_0x24a7a0=this[_0x282bdc(0x24a)][_0x282bdc(0xe1)](this[_0x282bdc(0x25f)],_0x422668))==null?void 0x0:_0x24a7a0[_0x282bdc(0xa4)])!=null?_0x1ffe8e:_0x282bdc(0x83),'range':this['_getMergeRange'](_0x27b3c7,_0x58ba7b),'sheetID':_0x27b3c7,'color':this[_0x282bdc(0xe7)][_0x282bdc(0x15f)](_0x422668),'selection':_0x453d27},_0x24906c=this['cursorInfo'];_0x24906c['set'](_0x422668,_0x3ab611),this[_0x282bdc(0x152)][_0x282bdc(0x207)](_0x24906c);}['_onCursorDelete'](_0x39ee59){const _0x703dec=_0x387a6c,{memberID:_0x3fedfb}=_0x39ee59[_0x703dec(0x92)],_0x386d0d=this[_0x703dec(0xeb)];_0x386d0d['delete'](_0x3fedfb),this['_cursorInfo$'][_0x703dec(0x207)](_0x386d0d);}[_0x387a6c(0x272)](_0x4043f8,_0x40129d){const _0x42b88f=_0x387a6c;var _0x230dec,_0x2d542f;const _0x56543c=(_0x2d542f=(_0x230dec=this[_0x42b88f(0x178)][_0x42b88f(0x1d8)](this['unitID']))==null?void 0x0:_0x230dec[_0x42b88f(0xb2)](_0x4043f8))==null?void 0x0:_0x2d542f[_0x42b88f(0x15d)]();return(_0x56543c==null?void 0x0:_0x56543c[_0x42b88f(0x179)](_0x166372=>_0x28647f['contains'](_0x166372,_0x40129d)))||_0x40129d;}[_0x387a6c(0x177)](){const _0x2360e7=_0x387a6c,_0x42e51e=new _0x243838(),_0x5486ef=Pi(),_0x28e020=()=>{const _0x30c738=_0x3b49;_0x42e51e[_0x30c738(0x180)]();const _0x18113e=(_0x19c662,_0x35a8ee,_0x26dfa3,_0x4dc662)=>{const _0x2907f3=_0x30c738;let _0x4532db=[];switch(_0x19c662['id']){case _0x58bab1[_0x2907f3(0x167)]:{_0x4532db=_0x1705f9(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0x96)]:{_0x4532db=_0x32faca(_0x19c662,_0x4dc662);break;}case _0x58bab1['InsertColCommandId']:{_0x4532db=_0x46714b(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0xfb)]:{_0x4532db=_0x2122d(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0x1e8)]:{_0x4532db=_0x121e42(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0xd3)]:{_0x4532db=_0x33a142(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0x12d)]:{_0x4532db=_0x4d0ce4(_0x19c662,_0x4dc662);break;}case _0x58bab1[_0x2907f3(0x1f2)]:{_0x4532db=_0x69f605(_0x19c662,_0x4dc662);break;}case _0x58bab1['RemoveRowCommandId']:{_0x4532db=_0xc80624(_0x19c662,_0x4dc662);break;}}const _0x121e7e=_0x20f139(_0x4532db,_0x4dc662),_0x440165=this[_0x2907f3(0xeb)]['get'](_0x35a8ee);if(_0x440165&&_0x121e7e){const _0x48f350={..._0x440165,'range':_0x121e7e};this[_0x2907f3(0xeb)][_0x2907f3(0x109)](_0x35a8ee,_0x48f350),_0x5486ef(()=>{const _0x4f3617=_0x2907f3,_0x34a567=this[_0x4f3617(0xb1)]['registerRefRange'](_0x121e7e,_0x302456=>(_0x34a567[_0x4f3617(0x180)](),_0x18113e(_0x302456,_0x35a8ee,_0x26dfa3,_0x121e7e)));_0x42e51e[_0x4f3617(0x1d7)](_0x34a567);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x30c738(0x146)]((_0x2b74ac,_0x1a4d8e)=>{const _0x164936=_0x30c738,{range:_0x3a33a1,sheetID:_0x30bb21}=_0x2b74ac,_0x2fc6d5=this[_0x164936(0xb1)][_0x164936(0x1c6)](_0x3a33a1,_0x170676=>(_0x2fc6d5[_0x164936(0x180)](),_0x18113e(_0x170676,_0x1a4d8e,_0x30bb21,_0x3a33a1)));_0x42e51e[_0x164936(0x1d7)](_0x2fc6d5);});};this[_0x2360e7(0x209)](_0x455292(this['_cursorInfo$']['subscribe'](()=>{_0x28e020();})));}[_0x387a6c(0x1a0)](){const _0x56eef1=_0x387a6c;var _0x49bf84,_0x6fe133;if(this['_online']=!0x0,((_0x49bf84=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x49bf84[_0x56eef1(0x183)]())!==this[_0x56eef1(0x25f)])return;const _0x14cb81=(_0x6fe133=this['_injector'][_0x56eef1(0x224)](_0x25df48)[_0x56eef1(0x1ab)]())==null?void 0x0:_0x6fe133[0x0],_0x163d22=this[_0x56eef1(0x178)][_0x56eef1(0x10d)](_0x56af0b['UNIVER_SHEET'])['getActiveSheet']();_0x14cb81&&_0x163d22&&this['_updateLocalCursor'](_0x163d22[_0x56eef1(0x1b6)](),_0x14cb81);}['_toggleOffline'](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x16284c(_0x15fcf5)),x(0x3,_0x16284c(He)),x(0x4,_0x16284c(_0x33f98b)),x(0x5,_0x346188),x(0x6,_0x20eac8),x(0x7,_0x16284c(_0x33abe1))],Me);var wi=Object['getOwnPropertyDescriptor'],Ai=(_0x5b75de,_0x8eaa43,_0xb5b452,_0x584287)=>{const _0x7cdf32=_0x387a6c;for(var _0x432d2c=_0x584287>0x1?void 0x0:_0x584287?wi(_0x8eaa43,_0xb5b452):_0x8eaa43,_0x5e555e=_0x5b75de[_0x7cdf32(0x23e)]-0x1,_0x3f8776;_0x5e555e>=0x0;_0x5e555e--)(_0x3f8776=_0x5b75de[_0x5e555e])&&(_0x432d2c=_0x3f8776(_0x432d2c)||_0x432d2c);return _0x432d2c;},me=(_0xee946c,_0x419091)=>(_0x4a5b43,_0x32111c)=>_0x419091(_0x4a5b43,_0x32111c,_0xee946c);let F=class extends _0x4aac8c{constructor(_0x26d1bb,_0x1eec9b,_0x52d920){const _0x5f5423=_0x387a6c;super(),_(this,_0x5f5423(0xb8),new Map()),_(this,_0x5f5423(0x28c),new _0x4dc534()),(this[_0x5f5423(0x178)]=_0x26d1bb,this[_0x5f5423(0xa8)]=_0x1eec9b,this[_0x5f5423(0x103)]=_0x52d920,this[_0x5f5423(0x13d)]());}[_0x387a6c(0x180)](){const _0x465c68=_0x387a6c;super['dispose'](),this[_0x465c68(0x28c)][_0x465c68(0xef)](),this[_0x465c68(0xb8)][_0x465c68(0x146)](_0x316054=>_0x316054[_0x465c68(0x180)]());}[_0x387a6c(0xe0)](_0x453afa){const _0x5ed1e6=_0x387a6c;return this[_0x5ed1e6(0xb8)][_0x5ed1e6(0x20e)](_0x453afa)?this[_0x5ed1e6(0xb8)][_0x5ed1e6(0x224)](_0x453afa)['cursorInfo$']:this[_0x5ed1e6(0x28c)]['pipe'](_0x17148e(_0x17f1dd=>_0x17f1dd['unitID']===_0x453afa),_0x1040b7(_0x289d09=>_0x289d09[_0x5ed1e6(0x10a)]));}[_0x387a6c(0x13d)](){const _0x1df556=_0x387a6c;this[_0x1df556(0x178)]['getTypeOfUnitAdded$'](_0x56af0b['UNIVER_SHEET'])[_0x1df556(0x1ce)](_0x3b5c1e(this[_0x1df556(0xd7)]))['subscribe'](async _0x41766a=>{const _0x2708c0=_0x1df556,_0x1cd1a4=_0x41766a[_0x2708c0(0x183)](),_0x53d892=await this[_0x2708c0(0x200)](_0x1cd1a4);this[_0x2708c0(0x28c)][_0x2708c0(0x207)](_0x53d892),this[_0x2708c0(0xb8)][_0x2708c0(0x109)](_0x1cd1a4,_0x53d892);}),this[_0x1df556(0x178)][_0x1df556(0x23f)](_0x56af0b[_0x1df556(0xab)])[_0x1df556(0x1ce)](_0x3b5c1e(this[_0x1df556(0xd7)]))[_0x1df556(0x1ce)](_0x17148e(_0x3f1501=>!_0x3f1501[_0x1df556(0x183)]()['startsWith']('__')))[_0x1df556(0x1dd)](async _0x2afe5f=>{const _0xf0c5e=_0x1df556,_0x52f179=_0x2afe5f[_0xf0c5e(0x183)](),_0x5d908a=await this[_0xf0c5e(0x192)](_0x52f179);this[_0xf0c5e(0x28c)][_0xf0c5e(0x207)](_0x5d908a),this[_0xf0c5e(0xb8)]['set'](_0x52f179,_0x5d908a);}),_0x5b68de(this[_0x1df556(0x178)][_0x1df556(0x12b)](_0x56af0b['UNIVER_DOC']),this['_univerInstanceService'][_0x1df556(0x12b)](_0x56af0b[_0x1df556(0x252)]))['pipe'](_0x3b5c1e(this['dispose$']))[_0x1df556(0x1dd)](_0x4a54d9=>{const _0x544bf8=_0x1df556,_0x522685=_0x4a54d9['getUnitId'](),_0x9d8eaf=this['_entities'][_0x544bf8(0x224)](_0x522685);_0x9d8eaf&&(_0x9d8eaf[_0x544bf8(0x180)](),this[_0x544bf8(0xb8)][_0x544bf8(0xde)](_0x522685));});}async[_0x387a6c(0x200)](_0x21a00f){const _0x4aed5c=_0x387a6c,_0x4221e4=await this['_collabSessionService'][_0x4aed5c(0x138)](_0x21a00f),_0x1a826b=this['_injector'][_0x4aed5c(0x17d)](Me,_0x21a00f,_0x4221e4);return _0x1a826b['init'](),_0x1a826b;}async[_0x387a6c(0x192)](_0x278b10){const _0x250b49=_0x387a6c,_0x288844=await this[_0x250b49(0x103)][_0x250b49(0x138)](_0x278b10),_0x42cd2d=this['_injector'][_0x250b49(0x17d)](Ue,_0x278b10,_0x288844);return _0x42cd2d['init'](),_0x42cd2d;}};F=Ai([me(0x0,_0x346188),me(0x1,_0x16284c(_0x15fcf5)),me(0x2,_0x16284c(_0x4de447))],F);function _0x3b49(_0x5cbd91,_0x44eb81){const _0x5112ed=_0x5112();return _0x3b49=function(_0x3b490a,_0x7fec4d){_0x3b490a=_0x3b490a-0x83;let _0x445918=_0x5112ed[_0x3b490a];return _0x445918;},_0x3b49(_0x5cbd91,_0x44eb81);}const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x549cfd,_0x252892){const _0x38babb=_0x387a6c;let {radius:_0x1679da,width:_0x3f0e49,height:_0xac09d9}=_0x252892;_0x1679da=_0x1679da!=null?_0x1679da:0x0,_0x3f0e49=_0x3f0e49!=null?_0x3f0e49:0x1e,_0xac09d9=_0xac09d9!=null?_0xac09d9:0x1e;let _0x5c274e=0x0,_0x247fd6=0x0,_0x2179cf=0x0;_0x5c274e=_0x247fd6=_0x2179cf=Math[_0x38babb(0x283)](_0x1679da,_0x3f0e49/0x2,_0xac09d9/0x2),_0x549cfd['beginPath'](),_0x549cfd[_0x38babb(0xcd)](_0x5c274e,0x0),_0x549cfd[_0x38babb(0xdc)](_0x3f0e49-_0x247fd6,0x0),_0x549cfd['arc'](_0x3f0e49-_0x247fd6,_0x247fd6,_0x247fd6,Math['PI']*0x3/0x2,0x0,!0x1),_0x549cfd['lineTo'](_0x3f0e49,_0xac09d9-_0x2179cf),_0x549cfd[_0x38babb(0x166)](_0x3f0e49-_0x2179cf,_0xac09d9-_0x2179cf,_0x2179cf,0x0,Math['PI']/0x2,!0x1),_0x549cfd[_0x38babb(0xdc)](0x0,_0xac09d9),_0x549cfd[_0x38babb(0xdc)](0x0,_0x5c274e),_0x549cfd[_0x38babb(0x166)](_0x5c274e,_0x5c274e,_0x5c274e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x549cfd[_0x38babb(0x185)](),_0x252892[_0x38babb(0x22e)]&&(_0x549cfd[_0x38babb(0x215)](),_0x549cfd['fillStyle']=_0x252892['fill'],_0x252892[_0x38babb(0x22b)]===_0x38babb(0x133)?_0x549cfd[_0x38babb(0x22e)](_0x38babb(0x133)):_0x549cfd[_0x38babb(0x22e)](),_0x549cfd['restore']());}class ue extends _0x4bb729{constructor(_0x792d88,_0x5ce713){const _0x586eda=_0x387a6c;super(_0x792d88,_0x5ce713),_(this,_0x586eda(0xfe)),_(this,_0x586eda(0x205)),(this[_0x586eda(0xfe)]=_0x5ce713==null?void 0x0:_0x5ce713[_0x586eda(0xfe)],this[_0x586eda(0x205)]=_0x5ce713==null?void 0x0:_0x5ce713[_0x586eda(0x205)]);}static[_0x387a6c(0xa0)](_0x1921d8,_0x2270f4){const _0x4fc05b=_0x387a6c,{text:_0x535649,color:_0x259ac7}=_0x2270f4;_0x1921d8[_0x4fc05b(0x215)](),_0x1921d8['font']=_0x4fc05b(0x1c9);const _0x474eea=_0x1921d8[_0x4fc05b(0x279)](_0x535649)['width'],_0x3694a6=Math['min'](_0x474eea+0x2*Ie,Qe);$i(_0x1921d8,{'height':J,'radius':0x4,'width':_0x3694a6,'fill':_0x259ac7}),_0x1921d8[_0x4fc05b(0x9c)]=_0x4fc05b(0x10f);const _0x2b9fbe=Ie,_0x47d61c=J-yi,_0x5d4c3d=Qe-0x2*Ie;if(_0x474eea>_0x5d4c3d){let _0x2258c1='',_0x5ee0dd=0x0;for(const _0x5bbbcf of _0x535649){const _0x2fe684=_0x1921d8[_0x4fc05b(0x279)](_0x5bbbcf)[_0x4fc05b(0x8a)];if(_0x5ee0dd+_0x2fe684<=_0x5d4c3d-_0x1921d8['measureText'](_0x4fc05b(0x144))[_0x4fc05b(0x8a)])_0x2258c1+=_0x5bbbcf,_0x5ee0dd+=_0x2fe684;else{_0x2258c1+='...';break;}}_0x1921d8[_0x4fc05b(0x266)](_0x2258c1,_0x2b9fbe,_0x47d61c);}else _0x1921d8[_0x4fc05b(0x266)](_0x535649,_0x2b9fbe,_0x47d61c);_0x1921d8[_0x4fc05b(0x99)]();}[_0x387a6c(0x191)](_0x4e1a84){const _0x48f908=_0x387a6c;ue[_0x48f908(0xa0)](_0x4e1a84,this);}}const ve=_0x387a6c(0xca),xi=_0x387a6c(0x126),Bi=_0x387a6c(0x101),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x387a6c(0x1dc);class qe{constructor(_0x5785d9,_0xae11c8,_0x9439f3,_0x56dddf){const _0x3fda93=_0x387a6c;_(this,_0x3fda93(0x1c4),[]),_(this,_0x3fda93(0x1ec),null),_(this,_0x3fda93(0x93),null),_(this,_0x3fda93(0x1a2),null),_(this,_0x3fda93(0x1fd),null),_(this,_0x3fda93(0x210),null),(this[_0x3fda93(0x1d5)]=_0x5785d9,this['_scene']=_0xae11c8,this[_0x3fda93(0x23b)]=_0x9439f3,this[_0x3fda93(0x159)]=_0x56dddf,this['_render']());}set['_hover'](_0x28732d){const _0x4b6f3a=_0x387a6c;_0x28732d?(this[_0x4b6f3a(0x1a2)]&&this[_0x4b6f3a(0x1a2)]['hide'](),this[_0x4b6f3a(0x93)]&&this[_0x4b6f3a(0x93)][_0x4b6f3a(0xc5)]()):(this['_anchorDot']&&this[_0x4b6f3a(0x1a2)][_0x4b6f3a(0xc5)](),this[_0x4b6f3a(0x93)]&&this[_0x4b6f3a(0x93)][_0x4b6f3a(0x280)]());}[_0x387a6c(0x180)](){const _0x14a74d=_0x387a6c;for(const _0x1e8617 of this[_0x14a74d(0x1c4)])_0x1e8617[_0x14a74d(0x180)]();this[_0x14a74d(0x93)]&&this[_0x14a74d(0x93)][_0x14a74d(0x180)](),this['_anchorDot']&&this[_0x14a74d(0x1a2)]['dispose'](),this[_0x14a74d(0x1ec)]&&this[_0x14a74d(0x1ec)][_0x14a74d(0x180)](),this[_0x14a74d(0x210)]&&this[_0x14a74d(0x210)]();}[_0x387a6c(0xb7)](){const _0x473362=_0x387a6c;var _0x1502c4;const {_docSkeleton:_0x3bd3c4,_document:_0x316197}=this,{color:_0x3ff6ee,name:_0x1ed114,ranges:_0x2ba356}=this[_0x473362(0x1d5)],_0x4e91d7=_0x316197[_0x473362(0x281)](),{docsLeft:_0x118856,docsTop:_0x5ecec4}=_0x4e91d7,_0x2060ad=new _0x5c8eeb(_0x4e91d7,_0x3bd3c4);for(const {startOffset:_0x3a7dd5,endOffset:_0x4b4d4d,rangeType:_0x270b59,segmentId:_0x335b69,segmentPage:_0x1ca3f0,collapsed:_0x35d86d,isActive:_0x2ae671}of _0x2ba356){const _0x420216=_0x3bd3c4[_0x473362(0xc2)](_0x3a7dd5,!0x0,_0x335b69,_0x1ca3f0);let _0x534514=_0x3bd3c4[_0x473362(0xc2)](_0x4b4d4d,!0x0,_0x335b69,_0x1ca3f0);if(_0x534514==null&&(_0x534514=_0x3bd3c4[_0x473362(0xc2)](_0x4b4d4d-0x1,!0x1,_0x335b69,_0x1ca3f0)),_0x2ae671){const {contentBoxPointGroup:_0x25b68a}=_0x2060ad[_0x473362(0xa5)](_0x534514,_0x534514);if(_0x25b68a['length']===0x0)continue;this[_0x473362(0x14e)](_0x3ff6ee,_0x25b68a,_0x118856,_0x5ecec4,_0x1ed114),this[_0x473362(0x210)]=this['_handleHover']();}if(_0x420216&&_0x534514){if(_0x270b59===_0x2806f3[_0x473362(0x17b)]){const _0x18ea64=new _0x4ccdf3(_0x4e91d7,_0x3bd3c4),{pointGroup:_0x6df1be}=(_0x1502c4=_0x18ea64[_0x473362(0xa5)](_0x420216,_0x534514))!=null?_0x1502c4:{};if(_0x6df1be==null||_0x6df1be['length']===0x0)continue;this[_0x473362(0x236)](_0x3ff6ee,_0x6df1be,_0x118856,_0x5ecec4);}else{if(!_0x35d86d){const {borderBoxPointGroup:_0x5ce76f}=_0x2060ad[_0x473362(0xa5)](_0x420216,_0x534514);if(_0x5ce76f['length']===0x0)continue;this['_drawTextRange'](_0x3ff6ee,_0x5ce76f,_0x118856,_0x5ecec4);}}}}}['_drawAnchor'](_0x4e80ab,_0x1b3162,_0x5a60b1,_0x2ccc2f,_0x549348){const _0x411f2a=_0x387a6c,_0x176b00=this[_0x411f2a(0x1f9)](_0x1b3162),{left:_0x483dc4,top:_0x179d8a,height:_0x58b70b}=_0x176b00,_0x53656b=this['_getScale'](),_0x2a1a06=Hi/_0x53656b,_0x3abb13=new _0x3e5a9a(ve+_0x31f7dd(K),{'left':_0x483dc4+_0x5a60b1-_0x2a1a06,'top':_0x179d8a+_0x2ccc2f,'height':_0x58b70b,'width':ki,'fill':_0x4e80ab||_0x451101(_0x4d54ff[_0x411f2a(0x16b)],0x0),'strokeWidth':_0x2a1a06,'stroke':Fi,'evented':!0x0});this[_0x411f2a(0x1ec)]=_0x3abb13,this[_0x411f2a(0xe5)][_0x411f2a(0x1a5)](_0x3abb13,_0x2cd66c);const _0x2cfb75=new _0x3e5a9a(ve+_0x31f7dd(K),{'left':_0x483dc4+_0x5a60b1-_0x2a1a06,'top':_0x179d8a+_0x2ccc2f-ge/0x2,'height':ge,'width':ge,'fill':_0x4e80ab||_0x451101(_0x4d54ff['black'],0x0),'strokeWidth':0x0,'stroke':_0x4e80ab||_0x451101(_0x4d54ff[_0x411f2a(0x16b)],0x0),'evented':!0x1});this['_anchorDot']=_0x2cfb75,this[_0x411f2a(0xe5)][_0x411f2a(0x1a5)](_0x2cfb75,_0x2cd66c);const _0x4e19d3=new ue(ve+_0x31f7dd(K),{'left':_0x483dc4+_0x5a60b1-_0x2a1a06,'top':_0x179d8a+_0x2ccc2f-J,'text':_0x549348,'color':_0x4e80ab});this[_0x411f2a(0x93)]=_0x4e19d3,this[_0x411f2a(0xe5)][_0x411f2a(0x1a5)](_0x4e19d3,_0x2cd66c),this[_0x411f2a(0x11f)]=!0x1;}['_handleHover'](){const _0x368020=_0x387a6c,_0x726035=this['_anchor']['onPointerEnter$'][_0x368020(0x197)](()=>{this['_hover']=!0x0;}),_0x29adad=this[_0x368020(0x1ec)][_0x368020(0xf1)][_0x368020(0x197)](()=>{const _0x28c3d4=_0x368020;this[_0x28c3d4(0x1fd)]&&clearTimeout(this[_0x28c3d4(0x1fd)]),this[_0x28c3d4(0x1fd)]=setTimeout(()=>{const _0x12fab5=_0x28c3d4;this[_0x12fab5(0x11f)]=!0x1;},0x7d0);});return()=>{const _0x138bc5=_0x368020;_0x726035[_0x138bc5(0xdd)](),_0x29adad[_0x138bc5(0xdd)]();};}['_drawTextRange'](_0x432f06,_0xefc586,_0x4b730d,_0x467ff4){const _0x2e9d55=_0x387a6c,_0x5b0271=new _0x411df9(_0x432f06)[_0x2e9d55(0x1c5)](0.2)[_0x2e9d55(0x1d4)](),_0x3bb2b8=new _0x2eb7bf(xi+_0x31f7dd(K),{'pointsGroup':_0xefc586,'fill':_0x5b0271||_0x451101(_0x4d54ff[_0x2e9d55(0x16b)],0.2),'left':_0x4b730d,'top':_0x467ff4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e9d55(0x1c4)]['push'](_0x3bb2b8),this[_0x2e9d55(0xe5)][_0x2e9d55(0x1a5)](_0x3bb2b8,_0x2cd66c);}['_drawRectRange'](_0x191675,_0x5c9921,_0x621396,_0x43450a){const _0x86f8e0=_0x387a6c,_0x1c2205=new _0x411df9(_0x191675)[_0x86f8e0(0x1c5)](0.2)[_0x86f8e0(0x1d4)](),_0x52a50b=new _0x2eb7bf(Bi+_0x31f7dd(K),{'pointsGroup':_0x5c9921,'fill':_0x1c2205||_0x451101(_0x4d54ff[_0x86f8e0(0x16b)],0.2),'left':_0x621396,'top':_0x43450a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x86f8e0(0x22f)](_0x52a50b),this[_0x86f8e0(0xe5)][_0x86f8e0(0x1a5)](_0x52a50b,_0x2cd66c);}[_0x387a6c(0x1f9)](_0x3e6091){const _0x57e50b=_0x3e6091[0x0],_0x350345=_0x57e50b[0x0],_0x35b29d=_0x57e50b[0x2],{x:_0x2f1336,y:_0x72fed2}=_0x350345,{x:_0x5b7c98,y:_0x24e419}=_0x35b29d;return{'left':_0x2f1336,'top':_0x72fed2,'width':_0x5b7c98-_0x2f1336,'height':_0x24e419-_0x72fed2};}[_0x387a6c(0xaf)](){const _0x26dda9=_0x387a6c,{scaleX:_0x58d552,scaleY:_0x158524}=this[_0x26dda9(0xe5)][_0x26dda9(0x1cd)]();return Math[_0x26dda9(0x13b)](_0x58d552,_0x158524);}}var Yi=Object[_0x387a6c(0x147)],ji=(_0x1bf465,_0x17c5e1,_0x282963,_0x1a4b92)=>{const _0x13f341=_0x387a6c;for(var _0x41e78e=_0x1a4b92>0x1?void 0x0:_0x1a4b92?Yi(_0x17c5e1,_0x282963):_0x17c5e1,_0x10b4b8=_0x1bf465[_0x13f341(0x23e)]-0x1,_0x5c4399;_0x10b4b8>=0x0;_0x10b4b8--)(_0x5c4399=_0x1bf465[_0x10b4b8])&&(_0x41e78e=_0x5c4399(_0x41e78e)||_0x41e78e);return _0x41e78e;},ee=(_0xdf0dfc,_0x44f84a)=>(_0x43eef1,_0x3c1a7c)=>_0x44f84a(_0x43eef1,_0x3c1a7c,_0xdf0dfc);let Le=class extends _0x4aac8c{constructor(_0x398ada,_0x42062f,_0x2a34b8,_0x5ef002,_0x3e69ec){const _0x25d0c0=_0x387a6c;super(),_(this,_0x25d0c0(0x21c),[]),_(this,_0x25d0c0(0x221),[]),(this['_context']=_0x398ada,this[_0x25d0c0(0x13a)]=_0x42062f,this[_0x25d0c0(0x1db)]=_0x2a34b8,this[_0x25d0c0(0x98)]=_0x5ef002,this[_0x25d0c0(0x1a7)]=_0x3e69ec,this[_0x25d0c0(0x13d)]());}[_0x387a6c(0x13d)](){const _0x39a868=_0x387a6c,_0x180855=this['_context']['unitId'],_0x4d9624=this['_docSkeletonManagerService'];this[_0x39a868(0x209)](_0x5f2d2b([this[_0x39a868(0x1db)][_0x39a868(0xe0)](_0x180855),this[_0x39a868(0x1a7)]['currentTheme$']])[_0x39a868(0x1ce)](_0x570065(([_0x1de11e,_0x590742])=>({'skeleton':_0x4d9624[_0x39a868(0x22a)](),'cursors':[..._0x1de11e['values']()][_0x39a868(0xac)](_0x31c9dd=>({..._0x31c9dd,'color':this[_0x39a868(0x1a7)]['getColorFromTheme'](_0x31c9dd[_0x39a868(0xfe)])}))})))[_0x39a868(0x1dd)](_0x3d677e=>{const _0x25c22f=_0x39a868;if(this[_0x25c22f(0x114)](),_0x3d677e){const {skeleton:_0x244ad6,cursors:_0x3d4224}=_0x3d677e;this[_0x25c22f(0x1d3)](_0x244ad6,_0x3d4224);}})),this[_0x39a868(0xb4)](),this[_0x39a868(0xa3)]();}['_updateCollabCursors'](_0x506d54,_0x2ab439){const _0x78e910=_0x387a6c,{scene:_0x75934b,mainComponent:_0x3c96c6}=this[_0x78e910(0xbf)],_0x1be7b8=_0x2ab439['map'](_0x2f938b=>new qe(_0x2f938b,_0x75934b,_0x506d54,_0x3c96c6));this['_cursorShapes']=_0x1be7b8,this[_0x78e910(0x221)]=_0x2ab439;}[_0x387a6c(0x151)](){const _0x57cde4=_0x387a6c;this[_0x57cde4(0x114)]();const {scene:_0x2d8f47,mainComponent:_0x3d6d8c}=this['_context'],_0x148280=this[_0x57cde4(0x13a)]['getSkeleton'](),_0x4d9902=this[_0x57cde4(0x221)][_0x57cde4(0xb9)](_0x5c6eab=>new qe(_0x5c6eab,_0x2d8f47,_0x148280,_0x3d6d8c));this[_0x57cde4(0x21c)]=_0x4d9902;}[_0x387a6c(0x114)](){const _0x14b894=_0x387a6c;this[_0x14b894(0x21c)][_0x14b894(0x146)](_0x355b20=>_0x355b20[_0x14b894(0x180)]()),this[_0x14b894(0x21c)]=[];}[_0x387a6c(0xa3)](){const _0x8a0a9d=_0x387a6c,_0x323618=[_0x7e2ccb['id']];this[_0x8a0a9d(0x209)](this[_0x8a0a9d(0x98)][_0x8a0a9d(0xe9)](_0x11d4ba=>{const _0x2dec0b=_0x8a0a9d;_0x323618['includes'](_0x11d4ba['id'])&&_0x11d4ba['params'][_0x2dec0b(0x19e)]===this[_0x2dec0b(0xbf)][_0x2dec0b(0x19e)]&&this[_0x2dec0b(0x151)]();}));}[_0x387a6c(0xb4)](){const _0x1b7fa4=_0x387a6c;this['disposeWithMe'](_0x224409(this[_0x1b7fa4(0xbf)]['engine'][_0x1b7fa4(0x1f6)])[_0x1b7fa4(0x1ce)](_0x497979(_0x39eeef=>_0x39eeef[_0x1b7fa4(0x216)]===_0x36ec45[_0x1b7fa4(0x21d)]),_0x5cfbe3(0x10))[_0x1b7fa4(0x1dd)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x16284c(_0x3d676b)),ee(0x2,_0x16284c(F)),ee(0x3,_0x20eac8),ee(0x4,_0x16284c(_0x3cd190))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x4bb729{constructor(_0x5e5ed3,_0x2f7982){const _0x567931=_0x387a6c;super(_0x5e5ed3,_0x2f7982),_(this,'_color'),_(this,_0x567931(0x270),!0x1),_(this,_0x567931(0x125)),_(this,_0x567931(0xf0),''),_(this,_0x567931(0x120),'top'),_(this,_0x567931(0x217)),(_0x2f7982&&this[_0x567931(0x100)](_0x2f7982),this[_0x567931(0x226)][_0x567931(0x197)](()=>this[_0x567931(0x100)]({'hovered':!0x0})),this['onPointerLeave$'][_0x567931(0x197)](()=>this[_0x567931(0x100)]({'hovered':!0x1})));}[_0x387a6c(0x100)](_0x102052){const _0x436ab5=_0x387a6c;var _0x5d58ec,_0x5a9ff7,_0x43776f,_0x4fffb0,_0x1b426c,_0x3462f7;this[_0x436ab5(0x218)]=(_0x5d58ec=_0x102052[_0x436ab5(0xfe)])!=null?_0x5d58ec:this['_color'],this[_0x436ab5(0x270)]=(_0x5a9ff7=_0x102052[_0x436ab5(0x8c)])!=null?_0x5a9ff7:this[_0x436ab5(0x270)],this['_range']=(_0x43776f=_0x102052[_0x436ab5(0x130)])!=null?_0x43776f:this[_0x436ab5(0x125)],this[_0x436ab5(0xf0)]=(_0x4fffb0=_0x102052['name'])!=null?_0x4fffb0:this[_0x436ab5(0xf0)],this[_0x436ab5(0x120)]=(_0x1b426c=_0x102052[_0x436ab5(0x247)])!=null?_0x1b426c:this['_labelPosition'],this[_0x436ab5(0x217)]=(_0x3462f7=_0x102052[_0x436ab5(0x8b)])!=null?_0x3462f7:this[_0x436ab5(0x217)],this[_0x436ab5(0x275)]({'width':_0x102052[_0x436ab5(0x8a)],'height':_0x102052[_0x436ab5(0x134)]});}[_0x387a6c(0xc6)](_0x36f29c){const _0x5e3522=_0x387a6c,{row:_0x45cbe1,column:_0x2a94e6}=_0x36f29c;if(_0x45cbe1>=this[_0x5e3522(0x125)][_0x5e3522(0x9d)]&&_0x45cbe1<=this[_0x5e3522(0x125)][_0x5e3522(0x20a)]&&_0x2a94e6>=this[_0x5e3522(0x125)]['startColumn']&&_0x2a94e6<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5e3522(0x100)]({'hovered':!0x1});}[_0x387a6c(0x12f)](_0xefa4ec){return!0x1;}[_0x387a6c(0x191)](_0x1e6cb7){const _0x4718ab=_0x387a6c;_0x3e5a9a['drawWith'](_0x1e6cb7,{'width':this[_0x4718ab(0x8a)],'height':this['height'],'strokeWidth':Wi,'stroke':this[_0x4718ab(0x218)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4718ab(0x270)]&&(_0x1e6cb7[_0x4718ab(0x215)](),_0x1e6cb7[_0x4718ab(0x235)](0x1,0x0,0x0,0x1,this[_0x4718ab(0x8a)],this[_0x4718ab(0x120)]==='bottom'?0x0:-J),ue[_0x4718ab(0xa0)](_0x1e6cb7,{'text':this[_0x4718ab(0xf0)],'color':this[_0x4718ab(0x218)]}),_0x1e6cb7[_0x4718ab(0x99)]());}}var Gi=Object[_0x387a6c(0x147)],Ki=(_0x43cad7,_0x5d6a66,_0x514fe7,_0x2c8946)=>{const _0x23610b=_0x387a6c;for(var _0x332ef7=_0x2c8946>0x1?void 0x0:_0x2c8946?Gi(_0x5d6a66,_0x514fe7):_0x5d6a66,_0x2b6c77=_0x43cad7[_0x23610b(0x23e)]-0x1,_0x1624ed;_0x2b6c77>=0x0;_0x2b6c77--)(_0x1624ed=_0x43cad7[_0x2b6c77])&&(_0x332ef7=_0x1624ed(_0x332ef7)||_0x332ef7);return _0x332ef7;},pe=(_0x151816,_0x44bdaa)=>(_0x1312d5,_0x3478ae)=>_0x44bdaa(_0x1312d5,_0x3478ae,_0x151816);const zi=0x1389;function _0x5112(){const _0x4f286e=['then','_initEntityListener','entityInit$','collaboration-client.offline-data-not-saved','collaboration.single-unit.warning','set','cursorInfo$','displayName','setStateCache','getCurrentUnitForType','_docTransformStateCacheService','#FFF','extend','search','MOBILE_HAS_BEEN_BOUND','_ensureSubject','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','TOO_MANY_REQUESTS','_roomMembers$','_saveCache','ticket','_heartbeatTimer','url(#on-line-icon_clip0_910_349)','2953542rmzJRB','clearInterval','eventID','_hover','_labelPosition','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.fetchMiss','MOBILE_VERIFY_CODE_MISMATCH','memberID','_range','collab-text-range-','_onCursorUpdate','executionId','INVALID_INVITE_CODE','_localeService','getTypeOfUnitDisposed$','searchParams','MoveRangeCommandId','_updateLocalCursor','triggerDblclick','range','6tbhTTV','reconnect','evenodd','height','5499505ktNRxO','_revisionService','_unitStatus','requireSession','className','_docSkeletonManagerService','max','setItem','_init','removeParam','red.300','FETCH_MISS','CHANGESET_REVISION_CONFILICT','_docTransformSelectionsService','session.will-retry','...','_handleJoinEvent','forEach','getOwnPropertyDescriptor','setInterval','YUUMI_UNABLE_LOAD_URL','0\x200\x2016\x2016','onLocalMutation','NO_OTHER_CLIENTS_EDITING','random','_drawAnchor','_configService','collabCursorState$','_refreshCollabCursors','_cursorInfo$','all','disposeUnit','_getSessionTicket','hasOwnProperty','APPLY_REJECT','USERS_LEAVE','_document','getCellPositionByOffset','roomMembers','ONLINE','getMergeData','9xRgUAi','assignAColorForMemberID','getRenderById','transformMutation','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getActiveSheet','symbol','icon','arc','DeleteRangeMoveLeftCommandId','getDocRanges','clearTimeout','_registerDependencies','black','LICENSE_EXPORT_SIZE_EXCEEDED','params','APPLY_REVISION_CONFILICT','bottom','_renderManagerService','_send','top','on-line-icon_clip0_910_349','UNAUTHENTICATED','parse','idSuffix','_onRefRangeChange','_univerInstanceService','find','transformStateCache','RECT','indexOf','createInstance','UNRECOGNIZED','sessionTicket','dispose','_id','history','getUnitId','_docClipboardService','closePath','onPointerMove$','currentSkeleton$','purple.300','current','_cachedData','TEXT','getConfig','send','subUnitId','NOT_COLLAB','NOT_FOUND','_draw','_startDocCollabCursor','concat','_handleLeaveEvent','_getSheetObject','_onCursorDelete','subscribeEvent','transformIMECache','runOnServer','_collaborationUIEventService','_logService','href','getCurrentRevOfUnit','unitId','includes','_toggleOnline','getUnitStatus$','_anchorDot','YUUMI_CONNECTOR_URL_NOT_FOUND','getOwnPropertySymbols','addObject','exhaustSavingTask','_themeService','function','SUBMIT_CHANGESET_TIMEOUT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCurrentSelections','defineProperty','selections','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','yellow.400','INVITE_CODE_REQUIRED','xlink:href','isEditing','undoState','unit','univer-mr-2\x20univer-flex\x20univer-text-xl','getSheetId','HEADER_MENU','APPLY_PERMISSION_DENIED','OFFLINE','getViewport','OnLineIcon','location','PERMISSION_DENIED','/run/','_scheduleClearOtherTimer','values','YUUMI_RATE_OVER_LIMIT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','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','_shapes','setAlpha','registerRefRange','clipPath','error','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','activeSheet$','path','mutations','getAncestorScale','pipe','assign','substring','_transformUndoRedoStack','SNAPSHOT_INVALID_SNAPSHOT','_updateCollabCursors','toRgbString','_cursor','defIds','add','getUniverSheetInstance','event$','focused$','_collabCursorController','rgba(255,\x20255,\x20255,\x200.01)','subscribe','_removeClearOtherTimer','addHandlerCallback','off-line-icon','post','init','getRelativeToViewportCoord','url(#$1','_httpService','OffLineIcon','addClipboardHook','InsertRangeMoveRightCommandId','saveTaskMap','_scheduleHeartbeat','onRendered','_anchor','permission.content','collabStatus.conflict','source','getValue','replaceDocRanges','RemoveColCommandId','_messageService','_scheduleSaving','1em','onTransformChange$','setParam','YUUMI_ASYNCIO_CANCELLED','_getAnchorBounding','size','YUUMI_SUBSCRIPTION_NOT_FOUND','M0\x200H16V16H0z','_hideTimer','_sheetSkeletonManagerService','getMemberID','_startSheetCollabCursor','_docTransformIMECacheService','code','subunit','status$','text','colorChannel1','next','_clearOtherTimers','disposeWithMe','endRow','syncEditingCollabCursor','children','tag','has','10370088nPzQwx','_eventUnsubscribe','redoState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','save','type','_backgroundColor','_color','univer-flex\x20univer-items-center','attrs','m2Prime','_cursorShapes','resize','USER_NOT_INVITED_CODE','unshift','addEventListener','_cursors','white','[CollaborationDataLoaderController]','get','urlChange$','onPointerEnter$','_getSaveTimeout','enableLocalCache','UniverIcon','getSkeleton','fillRule','_setupBeforeClosingHandler','LICENSE_DISTRO_REJECTED','fill','push','_handleHeartbeatEvent','m1Prime','transformRemoteChangeset','split','FromArray','transform','_drawRectRange','_config','executeCommand','_toggleOffline','OTHER_CLIENTS_EDITING','_docSkeleton','none','origin','length','getTypeOfUnitAdded$','round','9756985qcxeBd','toString','_localCacheService','actions','transformMutationsWithChangeset','runId','labelPosition','loadOfflineData','trim','_memberService','getUndoRedoMutationParamsCache','getStateCache','registerRenderModule','PY_RUNTIME_SCRIPT_ERROR','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_AI_RUN_FAILED','updateOfflineData','UNIVER_SHEET','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon_clip0_910_343','_dataLoaderService','entries','collaboration-client-ui.config','_initStatusListener','2739126rEBtFg','_syncEditingCollabCursorService','doc.mutation.rich-text-editing','_docStateChangeManagerService','override','prototype','unitID','MUTATION','selection','Failed','SYNCED','YUUMI_ALL_TABLES_IS_INVALID','column','fillText','EMAIL_VERIFY_CODE_MISMATCH','editingUnit','WECHAT_HAS_BEEN_BOUND','_updateURLWithCurrentState','http://www.w3.org/2000/svg','saveImage','_notificationService','_initEvent','collabStatus.notCollab','_hovered','_initDependencies','_getMergeRange','_updateSubUnitFromURLParams','getCollabEntity$','transformByState','asObservable','isArray','unload','measureText','invokeId','_docSyncEditingCollabCursorService','UNDEFINED','COMPLETION_FINISHED','row','wsSessionTicketUrl','hide','getOffsetConfig','setActiveRange','min','0\x200\x2017\x2016','newValue','_localStorageService','collabStatus.offline','getItem','univerjs-icon\x20univerjs-icon-','_doCreateSocket','pluginName','_entityInit$','_urlService','Unknown\x20user','transformSelections','result','stringify','_transformPreviousActiveRange','getVpScrollXYInfoByPosToVp','apply','width','backgroundColor','hovered','_setupSubUnitSync','sessionStatus$','_transformService','onStarting','debug','data','_textBubble','LOGIN_FAILED','UPDATE_CURSOR','DeleteRangeMoveUpCommandId','_status$','_commandService','restore','_transformHistoryAndStateStack','APPLY_NON_SEQUENTIAL_REVISION','fillStyle','startRow','ranges','setConfig','drawWith','roomMembers$','textRanges','_initCommandExecutedListener','name','getRangePointData','addObjects','OTHER_CLIENT_EDITING','_injector','uni.network.url-service','150226NyoXhP','UNIVER_DOC','flatMap','_online','_assignedColors','_getScale','YUUMI_NO_CUBOID_FOR_QUESTION','_refRangeService','getSheetBySheetId','green.600','_initResize','_selfUnitIDs','svg','_render','_entities','map','CLOSE_ROOM','Error','_session','_unitOnClients','with','_context','getParam','_instanceService','findNodePositionByCharIndex','getFocusedUnit','from','show','onMouseMove','call','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_colorIndex','collab-text-anchor-','_createSocketURL','sheetID','moveTo','docStateChange$','getUnhiddenWorksheets','AWAITING_WITH_PENDING','_lastPointer','replaceState','InsertRowCommandId','_saveTaskMap','_collaborationController','Warning','dispose$','_uiPartsService','SNAPSHOT_HAS_BEEN_REMOVED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusComponent','lineTo','unsubscribe','delete','string','getCollabCursors$','getMember','VIEW_MAIN','pushState','collaboration.closeRoom','_scene','773416DfOtci','_colorAssignService','registerComponent','onCommandExecuted','deepClone','cursorInfo','url(#off-line-icon_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','sheetId','complete','_name','onPointerLeave$','body','INVITE_CODE_HAS_BEEN_UES','replace','currentColor','PENDING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','translate(.97)','blue.400','_disabled','InsertRangeMoveDownCommandId','JOIN_ROOM_FAILED','collabStatus.synced','color','mask','setShapeProps','collab-rect-range-','_registerRenderDependencies','_collabSessionService'];_0x5112=function(){return _0x4f286e;};return _0x5112();}let Pe=class extends _0x4aac8c{constructor(_0x5e9c80,_0x32090b,_0x1376dc,_0x183890){const _0xbb8a0=_0x387a6c;super(),_(this,_0xbb8a0(0x221),new Set()),_(this,_0xbb8a0(0xd1),null),(this['_context']=_0x5e9c80,this[_0xbb8a0(0x1fe)]=_0x32090b,this['_collabCursorController']=_0x1376dc,this[_0xbb8a0(0x1a7)]=_0x183890,this[_0xbb8a0(0x13d)]());}[_0x387a6c(0x13d)](){const _0x1b1335=_0x387a6c;this[_0x1b1335(0x1fe)]['currentSkeleton$']['pipe'](_0x1e4828(this[_0x1b1335(0xd7)]),_0x24be1a(_0x455f80=>{const _0x3a1f71=_0x1b1335;if(_0x455f80){const _0x9fe7e2=_0x455f80[_0x3a1f71(0xee)];return _0x5f2d2b(this['_collabCursorController'][_0x3a1f71(0xe0)](this[_0x3a1f71(0xbf)][_0x3a1f71(0x19e)]),this[_0x3a1f71(0x1a7)]['currentTheme$'])[_0x3a1f71(0x1ce)](_0x570065(([_0x13f865,_0x66226c])=>{const _0x23cd16=_0x3a1f71,_0x3940af=new Map();return _0x13f865[_0x23cd16(0x146)]((_0x100ae0,_0x504bdc)=>{const _0x575320=_0x23cd16;if(_0x100ae0[_0x575320(0xcc)]===_0x9fe7e2){const _0x2b98a8={..._0x100ae0};_0x2b98a8[_0x575320(0xfe)]=this['_themeService']['getColorFromTheme'](_0x100ae0[_0x575320(0xfe)]),_0x3940af[_0x575320(0x109)](_0x504bdc,_0x2b98a8);}}),{'skeleton':_0x455f80,'cursors':_0x3940af};}));}return _0x21fe93({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x245c1c,cursors:_0x5eaaa9})=>{const _0x1ed055=_0x1b1335;this[_0x1ed055(0x114)](),_0x245c1c&&this[_0x1ed055(0x1d3)](_0x245c1c,_0x5eaaa9);}),this['_sheetSkeletonManagerService'][_0x1b1335(0x187)][_0x1b1335(0x1dd)](_0x2cac57=>{const _0x38c6bf=_0x1b1335;if(_0x2cac57==null)return;const {skeleton:_0x40648a}=_0x2cac57,{scene:_0x6eab90}=this['_context'];_0x6eab90[_0x38c6bf(0x186)][_0x38c6bf(0x197)](_0x2ed8d9(_0x462d4d=>{const _0x4972f2=_0x38c6bf;var _0x33f208,_0x52b9cb;const {offsetX:_0x2d716b,offsetY:_0x296dca}=_0x462d4d,{x:_0x461b27,y:_0x4d4be9}=_0x6eab90[_0x4972f2(0x1e3)](_0x407e18[_0x4972f2(0x234)]([_0x2d716b,_0x296dca])),{scaleX:_0x4b976a,scaleY:_0x196527}=_0x6eab90[_0x4972f2(0x1cd)](),_0x10d739=_0x6eab90[_0x4972f2(0x1ba)](_0x2bac50[_0x4972f2(0xe2)]),_0x51604d=_0x6eab90[_0x4972f2(0x88)](_0x407e18['FromArray']([_0x461b27,_0x4d4be9]),_0x10d739),_0x2e31d1=_0x40648a[_0x4972f2(0x15a)](_0x2d716b,_0x296dca,_0x4b976a,_0x196527,_0x51604d);((_0x33f208=this[_0x4972f2(0xd1)])==null?void 0x0:_0x33f208[_0x4972f2(0x265)])===_0x2e31d1[_0x4972f2(0x265)]&&((_0x52b9cb=this[_0x4972f2(0xd1)])==null?void 0x0:_0x52b9cb[_0x4972f2(0x27e)])===_0x2e31d1[_0x4972f2(0x27e)]||this[_0x4972f2(0x221)][_0x4972f2(0x146)](_0x9fd412=>{const _0x13e32d=_0x4972f2;_0x9fd412[_0x13e32d(0xc6)](_0x2e31d1);});},0x64));});}['_updateCollabCursors'](_0x336197,_0x1be8d4){const _0x20deb4=_0x387a6c;var _0x2c3b79;const _0x591dd6=(_0x2c3b79=this[_0x20deb4(0x1fe)]['getCurrent']())==null?void 0x0:_0x2c3b79['skeleton'];if(!_0x591dd6)return;const _0x198a40=this[_0x20deb4(0x195)]();if(!_0x198a40)return;this['_cursors'][_0x20deb4(0x146)](_0x113b5a=>{_0x113b5a['makeDirty']();});const {scene:_0x269170}=_0x198a40,_0x1ebaed=Ji(Array['from'](_0x1be8d4[_0x20deb4(0x1c0)]()))[_0x20deb4(0xb9)](_0x5e1833=>{const _0x3a3db3=_0x20deb4,{color:_0x444524,range:_0x2143ea,name:_0x3c589f,selection:_0xc61f71,sheetID:_0x5301bc}=_0x5e1833,{startColumn:_0x261a7c,startRow:_0x16c9e3,endColumn:_0x412bb3,endRow:_0x1bd1e3}=_0x2143ea,_0x37eb9c=_0x3791d8(_0x16c9e3,_0x261a7c,_0x269170,_0x591dd6),_0x5e5871=_0x3791d8(_0x1bd1e3,_0x412bb3,_0x269170,_0x591dd6),{columnHeaderHeightAndMarginTop:_0x58075c}=_0x591dd6,{startX:_0x3c9225,startY:_0x40e1a1}=_0x37eb9c,{endX:_0x25f797,endY:_0x5f4416}=_0x5e5871,_0x389bda=_0x25f797-_0x3c9225,_0x346043=_0x5f4416-_0x40e1a1,_0x289609={'labelPosition':_0x40e1a1-_0x58075c>=J?_0x3a3db3(0x172):_0x3a3db3(0x16f),'sheetID':_0x5301bc,'range':_0x2143ea,'color':_0x444524,'name':_0x3c589f,'selection':_0xc61f71,'left':_0x3c9225,'top':_0x40e1a1,'width':_0x389bda,'height':_0x346043,'evented':!0x1,'zIndex':zi};return new Xi(_0x3c589f,_0x289609);});_0x269170[_0x20deb4(0xa6)](_0x1ebaed,Vi),this[_0x20deb4(0x221)]=new Set(_0x1ebaed);}[_0x387a6c(0x114)](){const _0x4bc03f=_0x387a6c;var _0x41faf3;(_0x41faf3=this[_0x4bc03f(0x221)])==null||_0x41faf3['forEach'](_0x1e7af0=>_0x1e7af0['dispose']());}[_0x387a6c(0x195)](){const _0x491180=_0x387a6c;return _0x49466e(this[_0x491180(0xbf)][_0x491180(0x1b4)],this[_0x491180(0xbf)]);}};Pe=Ki([pe(0x1,_0x16284c(_0x1256e1)),pe(0x2,_0x16284c(F)),pe(0x3,_0x16284c(_0x3cd190))],Pe);function Ji(_0x271e8d){const _0x360541=_0x387a6c,_0x16b379=new Map();return _0x271e8d['forEach'](_0x1347e1=>{const _0x31bad0=_0x3b49;if(_0x16b379[_0x31bad0(0x20e)](_0x1347e1[_0x31bad0(0x261)])){const _0x2440a2=_0x16b379[_0x31bad0(0x224)](_0x1347e1[_0x31bad0(0x261)]);_0x2440a2[_0x31bad0(0xa4)]+=',\x20'+_0x1347e1[_0x31bad0(0xa4)];}else _0x16b379['set'](_0x1347e1[_0x31bad0(0x261)],_0x1347e1);}),Array[_0x360541(0xc4)](_0x16b379[_0x360541(0x1c0)]());}var Zi=Object[_0x387a6c(0x147)],Qi=(_0x14b6dd,_0x16bdad,_0x21b9da,_0x556d52)=>{const _0xf30ad9=_0x387a6c;for(var _0x1dec74=_0x556d52>0x1?void 0x0:_0x556d52?Zi(_0x16bdad,_0x21b9da):_0x16bdad,_0x1243a5=_0x14b6dd[_0xf30ad9(0x23e)]-0x1,_0x288850;_0x1243a5>=0x0;_0x1243a5--)(_0x288850=_0x14b6dd[_0x1243a5])&&(_0x1dec74=_0x288850(_0x1dec74)||_0x1dec74);return _0x1dec74;},B=(_0x2794e6,_0x5632b2)=>(_0x56f989,_0x4c6b5d)=>_0x5632b2(_0x56f989,_0x4c6b5d,_0x2794e6);let ne=class extends _0x67252a{constructor(_0x3aa749,_0x5fc120,_0x9bb271,_0x512f97,_0x30d4b8,_0x479e42){const _0x4e8a0b=_0x387a6c;super(),this['_beforeCloseService']=_0x3aa749,this[_0x4e8a0b(0x243)]=_0x5fc120,this[_0x4e8a0b(0x19a)]=_0x9bb271,this[_0x4e8a0b(0x1f3)]=_0x512f97,this[_0x4e8a0b(0x26d)]=_0x30d4b8,this[_0x4e8a0b(0x12a)]=_0x479e42,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x387a6c(0x22c)](){const _0x22c8f3=_0x387a6c;this[_0x22c8f3(0x209)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x197325=_0x22c8f3;if(this[_0x197325(0x243)]['saveTaskMap']['size'])return this['_localeService']['t'](_0x197325(0x107));}));}[_0x387a6c(0x26e)](){const _0x2f8c03=_0x387a6c;this[_0x2f8c03(0x209)](this['_collaborationUIEventService'][_0x2f8c03(0x1d9)]['subscribe'](_0x565109=>{const _0x3075f4=_0x2f8c03;_0x565109['id']===_0x322b24[_0x3075f4(0xa7)]&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752['Warning'],'content':this['_localeService']['t'](_0x3075f4(0x108))}),_0x565109['id']===_0x322b24[_0x3075f4(0xba)]&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752[_0x3075f4(0xd6)],'content':this[_0x3075f4(0x12a)]['t'](_0x3075f4(0xe4))}),_0x565109['id']===_0x322b24[_0x3075f4(0x1bd)]&&this[_0x3075f4(0x26d)][_0x3075f4(0xc5)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x3075f4(0x1ed)),'type':_0x3075f4(0x1c8),'duration':0x0}),_0x565109['id']===_0x322b24['CONFLICT']&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752['Error'],'content':this[_0x3075f4(0x12a)]['t'](_0x3075f4(0xe4))+'('+_0x565109[_0x3075f4(0x92)]+')'}),_0x565109['id']===_0x322b24[_0x3075f4(0xfc)]&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752[_0x3075f4(0xd6)],'content':this[_0x3075f4(0x12a)]['t'](_0x565109[_0x3075f4(0x92)]||'')}),_0x565109['id']===_0x322b24['SOCKET_FAILED_RETRY']&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752[_0x3075f4(0xd6)],'content':this[_0x3075f4(0x12a)]['t'](_0x3075f4(0x143))}),_0x565109['id']===_0x322b24['SOCKET_FAILED']&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752[_0x3075f4(0xbb)],'content':this[_0x3075f4(0x12a)]['t']('session.connection-failed')}),_0x565109['id']===_0x322b24[_0x3075f4(0x1a9)]&&this[_0x3075f4(0x1f3)][_0x3075f4(0xc5)]({'type':_0x8df752['Error'],'content':this[_0x3075f4(0x12a)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x14e401),B(0x1,_0xd40667),B(0x2,_0x16284c(_0x57bb0b)),B(0x3,_0x1ce96a),B(0x4,_0x127c7b),B(0x5,_0x16284c(_0x4ec1de))],ne);const qi=_0x387a6c(0x257),et={};var en=Object[_0x387a6c(0x147)],tn=(_0x32d221,_0x105015,_0x42ed7e,_0x1e806c)=>{const _0x22f14e=_0x387a6c;for(var _0x2efe60=_0x1e806c>0x1?void 0x0:_0x1e806c?en(_0x105015,_0x42ed7e):_0x105015,_0x5c1868=_0x32d221[_0x22f14e(0x23e)]-0x1,_0x593f10;_0x5c1868>=0x0;_0x5c1868--)(_0x593f10=_0x32d221[_0x5c1868])&&(_0x2efe60=_0x593f10(_0x2efe60)||_0x2efe60);return _0x2efe60;},tt=(_0x302eb6,_0x3c06c7)=>(_0x226732,_0x4ee288)=>_0x3c06c7(_0x226732,_0x4ee288,_0x302eb6);let re=class{constructor(_0x34401d,_0x3f94ba){const _0x2a6502=_0x387a6c;this[_0x2a6502(0x8f)]=_0x34401d,this[_0x2a6502(0x170)]=_0x3f94ba;}[_0x387a6c(0x198)](_0x59b8b4){const _0x413ce2=_0x387a6c;this['_transformUndoRedoStack'](_0x59b8b4),this[_0x413ce2(0x87)](_0x59b8b4);}[_0x387a6c(0x232)](_0x475e84){const _0x5f0c0f=_0x387a6c,{unitID:_0xf775f0}=_0x475e84,_0x49f58c=this[_0x5f0c0f(0x170)][_0x5f0c0f(0x160)](_0xf775f0)[_0x5f0c0f(0xbe)](_0x83a8f0),{redoCache:_0xd71a2c}=_0x49f58c[_0x5f0c0f(0x24b)]();if(_0xd71a2c['length']===0x0)return _0x475e84;let _0x33e9b5=_0x3599a7['deepClone'](_0x475e84[_0x5f0c0f(0x1cc)][0x0]);for(let _0xdd0c76=0x0;_0xdd0c76<_0xd71a2c[_0x5f0c0f(0x23e)];_0xdd0c76++){const _0xad279d={'id':_0x5f0c0f(0x25b),'params':{..._0xd71a2c[_0xdd0c76]}},_0x4b458b=this[_0x5f0c0f(0x8f)][_0x5f0c0f(0x161)](_0x33e9b5,_0xad279d,!0x1);if(_0x3ef292(_0x4b458b))throw _0x4b458b[_0x5f0c0f(0x1c8)];_0x33e9b5=_0x4b458b[_0x5f0c0f(0x231)];}return{..._0x3599a7['deepClone'](_0x475e84),'mutations':[_0x33e9b5]};}[_0x387a6c(0x1d1)](_0x408e5d){const _0x3df376=_0x387a6c,{unitID:_0x36bf57}=_0x408e5d,_0x143da6=this[_0x3df376(0x170)][_0x3df376(0x160)](_0x36bf57)[_0x3df376(0xbe)](_0x83a8f0),{undoCache:_0x1c0d3a,redoCache:_0x2c3cd5}=_0x143da6[_0x3df376(0x24b)]();if(_0x1c0d3a[_0x3df376(0x23e)]===0x0||_0x2c3cd5[_0x3df376(0x23e)]===0x0)return;const _0x341d98=[],_0x8b1eb4=[];let _0x57f8dc=_0x3599a7[_0x3df376(0xea)](_0x408e5d[_0x3df376(0x1cc)][0x0]),_0x4b9f4f=_0x3599a7['deepClone'](_0x408e5d[_0x3df376(0x1cc)][0x0]);for(let _0x58e467=_0x1c0d3a[_0x3df376(0x23e)]-0x1;_0x58e467>=0x0;_0x58e467--){const _0x4d193c={'id':_0x3df376(0x25b),'params':{..._0x1c0d3a[_0x58e467]}},_0x246e94={'id':_0x3df376(0x25b),'params':{..._0x2c3cd5[_0x58e467]}},_0x4204c7=this[_0x3df376(0x8f)][_0x3df376(0x161)](_0x57f8dc,_0x4d193c,!0x1),_0x4b4bb0=this[_0x3df376(0x8f)][_0x3df376(0x161)](_0x4b9f4f,_0x246e94,!0x1);if(_0x3ef292(_0x4204c7))throw _0x4204c7['error'];if(_0x3ef292(_0x4b4bb0))throw _0x4b4bb0[_0x3df376(0x1c8)];_0x341d98['unshift'](_0x4204c7[_0x3df376(0x21b)]['params']),_0x8b1eb4[_0x3df376(0x21f)](_0x4b4bb0['m2Prime'][_0x3df376(0x16d)]),_0x57f8dc=_0x4204c7[_0x3df376(0x231)],_0x4b9f4f=_0x4b4bb0[_0x3df376(0x231)];}_0x143da6['setUndoRedoMutationParamsCache']({'undoCache':_0x341d98,'redoCache':_0x8b1eb4});}[_0x387a6c(0x87)](_0x903436){const _0x459203=_0x387a6c,{unitID:_0x471093}=_0x903436,_0x51d58c=this['_renderManagerService'][_0x459203(0x160)](_0x471093)[_0x459203(0xbe)](_0x83a8f0),_0x1589e4=_0x51d58c['getActiveRange']();if(_0x1589e4==null)return;const _0x13d232=[{'id':_0x459203(0x25b),'params':{'unitId':_0x903436['unitID'],'actions':null,'textRanges':[_0x1589e4]}}],_0x1ecb48=this[_0x459203(0x8f)][_0x459203(0x245)](_0x903436,_0x13d232);if(!_0x494bba(_0x1ecb48))throw _0x1ecb48[_0x459203(0x1c8)];const _0x3de7fa=_0x1ecb48[_0x459203(0x21b)][0x0][_0x459203(0x16d)][_0x459203(0xa2)];Array['isArray'](_0x3de7fa)&&_0x3de7fa[_0x459203(0x23e)]&&_0x51d58c[_0x459203(0x282)](_0x3de7fa[0x0]);}};re=tn([tt(0x0,_0x55f0f8),tt(0x1,_0x3f3da5)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0xed3967,_0x578332,_0x3df186,_0x5d59ac)=>{const _0x1550b5=_0x387a6c;for(var _0xe1617c=_0x5d59ac>0x1?void 0x0:_0x5d59ac?sn(_0x578332,_0x3df186):_0x578332,_0x2c66d4=_0xed3967[_0x1550b5(0x23e)]-0x1,_0x49bad7;_0x2c66d4>=0x0;_0x2c66d4--)(_0x49bad7=_0xed3967[_0x2c66d4])&&(_0xe1617c=_0x49bad7(_0xe1617c)||_0xe1617c);return _0xe1617c;},Ce=(_0x6dd59b,_0x4058fc)=>(_0x101ebe,_0x2c8595)=>_0x4058fc(_0x101ebe,_0x2c8595,_0x6dd59b);let oe=class{constructor(_0xa5fe09,_0x519873,_0x488604){const _0x467a37=_0x387a6c;this[_0x467a37(0xa8)]=_0xa5fe09,this[_0x467a37(0x8f)]=_0x519873,this[_0x467a37(0x25c)]=_0x488604;}[_0x387a6c(0x17a)](_0x176114){const _0x3095eb=_0x387a6c;this[_0x3095eb(0x9a)](_0x176114);}[_0x387a6c(0x232)](_0x1523ce){const _0x370396=_0x387a6c,{unitID:_0x5d9d13}=_0x1523ce,{collaboration:_0x2e8c5c}=this[_0x370396(0x25c)][_0x370396(0x24c)](_0x5d9d13);if(_0x2e8c5c[_0x370396(0x23e)]===0x0)return _0x1523ce;let _0x7215f4=_0x3599a7['deepClone'](_0x1523ce[_0x370396(0x1cc)][0x0]);for(let _0x294f70=0x0;_0x294f70<_0x2e8c5c[_0x370396(0x23e)];_0x294f70++){const _0x4fb5d9={'id':_0x370396(0x25b),'params':{'unitId':_0x2e8c5c[_0x294f70][_0x370396(0x19e)],..._0x2e8c5c[_0x294f70][_0x370396(0x211)]}},_0xd10bb0=this[_0x370396(0x8f)][_0x370396(0x161)](_0x7215f4,_0x4fb5d9,!0x1);if(_0x3ef292(_0xd10bb0))throw _0xd10bb0[_0x370396(0x1c8)];_0x7215f4=_0xd10bb0[_0x370396(0x231)];}return{..._0x3599a7[_0x370396(0xea)](_0x1523ce),'mutations':[_0x7215f4]};}['_transformHistoryAndStateStack'](_0x6d6742){const _0x3bac54=_0x387a6c,{unitID:_0x5e34a9}=_0x6d6742,{history:_0x30b5dc,collaboration:_0x1264d5}=this[_0x3bac54(0x25c)][_0x3bac54(0x24c)](_0x5e34a9);if(_0x30b5dc[_0x3bac54(0x23e)]===0x0&&_0x1264d5[_0x3bac54(0x23e)]===0x0)return;const _0x59d17a=[],_0xe27959=[];let _0x563669=_0x3599a7['deepClone'](_0x6d6742[_0x3bac54(0x1cc)][0x0]),_0x2df5f8=_0x3599a7[_0x3bac54(0xea)](_0x6d6742[_0x3bac54(0x1cc)][0x0]);for(let _0x280ca9=_0x30b5dc[_0x3bac54(0x23e)]-0x1;_0x280ca9>=0x0;_0x280ca9--){const _0x282650={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30b5dc[_0x280ca9]['unitId'],..._0x30b5dc[_0x280ca9][_0x3bac54(0x1b3)]}},_0x18918c={'id':_0x3bac54(0x25b),'params':{'unitId':_0x30b5dc[_0x280ca9]['unitId'],..._0x30b5dc[_0x280ca9][_0x3bac54(0x211)]}},_0x526755=this[_0x3bac54(0x8f)][_0x3bac54(0x161)](_0x563669,_0x282650,!0x1),_0x419ba2=this['_transformService'][_0x3bac54(0x161)](_0x2df5f8,_0x18918c,!0x1);if(_0x3ef292(_0x526755))throw _0x526755['error'];if(_0x3ef292(_0x419ba2))throw _0x419ba2[_0x3bac54(0x1c8)];_0x59d17a[_0x3bac54(0x21f)]({..._0x30b5dc[_0x280ca9],'undoState':_0x526755[_0x3bac54(0x21b)][_0x3bac54(0x16d)],'redoState':_0x419ba2[_0x3bac54(0x21b)][_0x3bac54(0x16d)]}),_0x563669=_0x526755[_0x3bac54(0x231)],_0x2df5f8=_0x419ba2['m1Prime'];}_0x563669=_0x3599a7[_0x3bac54(0xea)](_0x6d6742[_0x3bac54(0x1cc)][0x0]),_0x2df5f8=_0x3599a7[_0x3bac54(0xea)](_0x6d6742[_0x3bac54(0x1cc)][0x0]);for(let _0x556a38=_0x1264d5[_0x3bac54(0x23e)]-0x1;_0x556a38>=0x0;_0x556a38--){const _0x1f9563={'id':_0x3bac54(0x25b),'params':{'unitId':_0x1264d5[_0x556a38]['unitId'],..._0x1264d5[_0x556a38][_0x3bac54(0x1b3)]}},_0x557dac={'id':_0x3bac54(0x25b),'params':{'unitId':_0x1264d5[_0x556a38][_0x3bac54(0x19e)],..._0x1264d5[_0x556a38][_0x3bac54(0x211)]}},_0x5bd0a1=this[_0x3bac54(0x8f)][_0x3bac54(0x161)](_0x563669,_0x1f9563,!0x1),_0xc4a35=this[_0x3bac54(0x8f)][_0x3bac54(0x161)](_0x2df5f8,_0x557dac,!0x1);if(_0x3ef292(_0x5bd0a1))throw _0x5bd0a1[_0x3bac54(0x1c8)];if(_0x3ef292(_0xc4a35))throw _0xc4a35[_0x3bac54(0x1c8)];_0xe27959['unshift']({..._0x1264d5[_0x556a38],'undoState':_0x5bd0a1['m2Prime'][_0x3bac54(0x16d)],'redoState':_0xc4a35[_0x3bac54(0x21b)]['params']}),_0x563669=_0x5bd0a1['m1Prime'],_0x2df5f8=_0xc4a35[_0x3bac54(0x231)];}this['_docStateChangeManagerService'][_0x3bac54(0x10c)](_0x5e34a9,{'history':_0x59d17a,'collaboration':_0xe27959});}};oe=nn([Ce(0x0,_0x16284c(_0x15fcf5)),Ce(0x1,_0x55f0f8),Ce(0x2,_0x16284c(_0x13bc30))],oe);var rn=Object[_0x387a6c(0x147)],on=(_0x53b0be,_0x5b3baa,_0x4a3eb2,_0x426f37)=>{for(var _0x5f195b=_0x426f37>0x1?void 0x0:_0x426f37?rn(_0x5b3baa,_0x4a3eb2):_0x5b3baa,_0x4b5342=_0x53b0be['length']-0x1,_0x393125;_0x4b5342>=0x0;_0x4b5342--)(_0x393125=_0x53b0be[_0x4b5342])&&(_0x5f195b=_0x393125(_0x5f195b)||_0x5f195b);return _0x5f195b;},st=(_0x7a69dd,_0x146c26)=>(_0x39e39f,_0x1a0487)=>_0x146c26(_0x39e39f,_0x1a0487,_0x7a69dd);let ae=class{constructor(_0x44fc40,_0x27c292){const _0x507f42=_0x387a6c;this[_0x507f42(0xa8)]=_0x44fc40,this['_transformService']=_0x27c292;}[_0x387a6c(0x84)](_0x9dda6d){const _0x203ff0=_0x387a6c;var _0x29f4f0;const _0x54f5a4=this[_0x203ff0(0xa8)][_0x203ff0(0x224)](_0x10f312),_0x4a443a=(_0x29f4f0=_0x54f5a4[_0x203ff0(0x168)]())!=null?_0x29f4f0:[];if(_0x4a443a[_0x203ff0(0x23e)]===0x0)return;const _0x2ccb89=_0x9dda6d[_0x203ff0(0x25f)],_0x418e61=[{'id':_0x203ff0(0x25b),'params':{'unitId':_0x2ccb89,'actions':null,'textRanges':_0x4a443a}}],_0xcf8eff=this[_0x203ff0(0x8f)][_0x203ff0(0x245)](_0x9dda6d,_0x418e61);if(!_0x494bba(_0xcf8eff))throw _0xcf8eff[_0x203ff0(0x1c8)];const _0x4ca929=_0xcf8eff[_0x203ff0(0x21b)][0x0][_0x203ff0(0x16d)]['textRanges'];Array[_0x203ff0(0x277)](_0x4ca929)&&_0x4ca929[_0x203ff0(0x23e)]&&_0x54f5a4[_0x203ff0(0x1f1)](_0x4ca929,{'unitId':_0x2ccb89,'subUnitId':_0x2ccb89},!0x1);}};ae=on([st(0x0,_0x16284c(_0x15fcf5)),st(0x1,_0x55f0f8)],ae);var an=Object[_0x387a6c(0x147)],cn=(_0x90a48f,_0x10779f,_0x3dc383,_0x1adc66)=>{const _0x132ff0=_0x387a6c;for(var _0x54f19a=_0x1adc66>0x1?void 0x0:_0x1adc66?an(_0x10779f,_0x3dc383):_0x10779f,_0x5edbc6=_0x90a48f[_0x132ff0(0x23e)]-0x1,_0x5d08a0;_0x5edbc6>=0x0;_0x5edbc6--)(_0x5d08a0=_0x90a48f[_0x5edbc6])&&(_0x54f19a=_0x5d08a0(_0x54f19a)||_0x54f19a);return _0x54f19a;},N=(_0xf9fe59,_0x5731ec)=>(_0x606d45,_0x445099)=>_0x5731ec(_0x606d45,_0x445099,_0xf9fe59);let ce=class extends _0x67252a{constructor(_0x19ff2d,_0x39b3aa,_0x5aaaae,_0x40892e,_0x606c03,_0x46a467,_0x1cd811,_0x235da2){const _0x104c6=_0x387a6c;super(),_(this,_0x104c6(0x97),new _0x58482e(_0x16ebd1[_0x104c6(0x18f)])),(this[_0x104c6(0x25c)]=_0x19ff2d,this['_collaborationController']=_0x39b3aa,this[_0x104c6(0x201)]=_0x5aaaae,this[_0x104c6(0x10e)]=_0x40892e,this[_0x104c6(0x142)]=_0x606c03,this[_0x104c6(0x27b)]=_0x46a467,this[_0x104c6(0x1f3)]=_0x1cd811,this[_0x104c6(0x12a)]=_0x235da2,this['_initEntityListener']());}[_0x387a6c(0x105)](){const _0x5aa0ed=_0x387a6c;this[_0x5aa0ed(0x209)](this[_0x5aa0ed(0xd5)][_0x5aa0ed(0x106)][_0x5aa0ed(0x1dd)](_0x311079=>{const _0x412531=_0x5aa0ed,_0x31c4ab=this[_0x412531(0x25c)][_0x412531(0xce)][_0x412531(0x1dd)](_0x5583e3=>{const _0x276690=_0x412531;if(_0x5583e3==null)return;const {unitId:_0x271e34,redoState:_0x408f1e,commandId:_0x2b268b}=_0x5583e3;if(_0x271e34!==_0x311079[_0x276690(0x25f)])return;const _0x1c61b1={'id':_0x2b268b,'type':_0x2e5b40[_0x276690(0x260)],'params':{'unitId':_0x271e34,'actions':_0x408f1e[_0x276690(0x244)],'textRanges':null}};_0x311079[_0x276690(0x14b)](_0x1c61b1);});if(_0x311079[_0x412531(0x209)](_0x31c4ab),_0x311079 instanceof _0x36f38d){const _0x358a41={'onTransformIME':_0xc3bd04=>this[_0x412531(0x201)]['transformIMECache'](_0xc3bd04),'onTransformState':_0x1296f3=>this[_0x412531(0x10e)][_0x412531(0x17a)](_0x1296f3),'onTransformSelections':_0x5e39e6=>this['_docTransformSelectionsService']['transformSelections'](_0x5e39e6),'onSyncEditingCollabCursor':_0x18f131=>this[_0x412531(0x27b)][_0x412531(0x20b)](_0x18f131),'onTransformRemoteChangesetByIMECache':_0x4a9096=>this[_0x412531(0x201)][_0x412531(0x232)](_0x4a9096),'onTransformRemoteChangesetByStateCache':_0x545744=>this[_0x412531(0x10e)]['transformRemoteChangeset'](_0x545744)};_0x311079[_0x412531(0x1df)](_0x358a41);}}));}};ce=cn([N(0x0,_0x16284c(_0x13bc30)),N(0x1,_0x16284c(_0x164730)),N(0x2,_0x16284c(re)),N(0x3,_0x16284c(oe)),N(0x4,_0x16284c(ae)),N(0x5,_0x16284c(Fe)),N(0x6,_0x1ce96a),N(0x7,_0x16284c(_0x4ec1de))],ce);var ln=Object[_0x387a6c(0x147)],_n=(_0x2cf7b8,_0x12135b,_0x34f07a,_0x131b71)=>{const _0x255208=_0x387a6c;for(var _0x3eb7a0=_0x131b71>0x1?void 0x0:_0x131b71?ln(_0x12135b,_0x34f07a):_0x12135b,_0x417e25=_0x2cf7b8[_0x255208(0x23e)]-0x1,_0x341c71;_0x417e25>=0x0;_0x417e25--)(_0x341c71=_0x2cf7b8[_0x417e25])&&(_0x3eb7a0=_0x341c71(_0x3eb7a0)||_0x3eb7a0);return _0x3eb7a0;},Ee=(_0x200413,_0x2cb168)=>(_0x1d05f5,_0x3d8952)=>_0x2cb168(_0x1d05f5,_0x3d8952,_0x200413);let we=class extends _0x67252a{constructor(_0x4be428,_0x469afb,_0x599bf3){const _0x4695b2=_0x387a6c;super(),_(this,'_cachedData',new Map()),_(this,_0x4695b2(0xd4),new Map()),_(this,_0x4695b2(0xfa),!0x1),(this[_0x4695b2(0x14f)]=_0x4be428,this[_0x4695b2(0x286)]=_0x469afb,this[_0x4695b2(0x136)]=_0x599bf3);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x387a6c(0x228)](){const _0x63e2a9=_0x387a6c;this[_0x63e2a9(0xfa)]=!0x1;}get[_0x387a6c(0x1e9)](){const _0x28edec=_0x387a6c;return this[_0x28edec(0xd4)];}[_0x387a6c(0x180)](){const _0x3d15e2=_0x387a6c;this[_0x3d15e2(0x1a6)]()[_0x3d15e2(0x104)](()=>super[_0x3d15e2(0x180)]());}async[_0x387a6c(0x248)](_0x28aebe){const _0x1cd4be=_0x387a6c;return this[_0x1cd4be(0xfa)]?null:this[_0x1cd4be(0x286)][_0x1cd4be(0x288)](_0x5ed85d(_0x28aebe));}async['saveOfflineData'](_0x467b25,_0x7d5a52){const _0xd0dd9b=_0x387a6c;return!!this[_0xd0dd9b(0x286)][_0xd0dd9b(0x13c)](_0x467b25,_0x7d5a52);}[_0x387a6c(0x251)](_0x3dcf14,_0x140043,_0x4843f8,_0x16d90f){const _0x3f09fd=_0x387a6c,_0x2c8465=this[_0x3f09fd(0x136)][_0x3f09fd(0x19d)](_0x3dcf14);this[_0x3f09fd(0x18a)][_0x3f09fd(0x109)](_0x3dcf14,{'unitID':_0x3dcf14,'type':_0x140043,'awaitingChangeset':_0x4843f8,'mutations':_0x16d90f,'rev':_0x2c8465}),this[_0x3f09fd(0xd4)][_0x3f09fd(0x20e)](_0x3dcf14)||this[_0x3f09fd(0x1f4)](_0x3dcf14);}[_0x387a6c(0x1f4)](_0x322d5d){const _0x18b27f=_0x387a6c,_0x589b64=this[_0x18b27f(0x227)]();_0x589b64===0x0?this['_saveCache'](_0x322d5d):this[_0x18b27f(0xd4)][_0x18b27f(0x109)](_0x322d5d,setTimeout(()=>this[_0x18b27f(0x118)](_0x322d5d),_0x589b64));}[_0x387a6c(0x227)](){const _0x4976ce=_0x387a6c;var _0x43b9d5;return(_0x43b9d5=this['_configService'][_0x4976ce(0x18c)](_0x2de7cd))!=null?_0x43b9d5:_0x2f0b37;}['_saveCache'](_0x5b671){const _0xb6273b=_0x387a6c,_0x3cf7ef=this[_0xb6273b(0xd4)]['get'](_0x5b671);return _0x3cf7ef!==void 0x0&&window[_0xb6273b(0x169)](_0x3cf7ef),this[_0xb6273b(0x286)][_0xb6273b(0x13c)](_0x5ed85d(_0x5b671),this['_cachedData'][_0xb6273b(0x224)](_0x5b671))['then'](()=>this[_0xb6273b(0xd4)][_0xb6273b(0xde)](_0x5b671));}async[_0x387a6c(0x1a6)](){const _0xb42352=_0x387a6c,_0xfe67ac=[];this['_saveTaskMap'][_0xb42352(0x146)]((_0x57f06e,_0xeaba54)=>{const _0x435883=_0xb42352;window['clearTimeout'](_0x57f06e),_0xfe67ac[_0x435883(0x22f)](this[_0x435883(0x118)](_0xeaba54)[_0x435883(0x104)](()=>{this['_saveTaskMap']['delete'](_0xeaba54);}));}),await Promise[_0xb42352(0x153)](_0xfe67ac);}};we=_n([Ee(0x0,_0x13ae52),Ee(0x1,_0x54f7c7),Ee(0x2,_0x16284c(_0x21b73a))],we);class hn extends _0x4aac8c{constructor(){const _0x2f8ef2=_0x387a6c;super(),_(this,_0x2f8ef2(0x225)),this['urlChange$']=_0x8cd590(window,'popstate')['pipe'](_0x3b5c1e(this['dispose$']),_0x3fba01(0x1),_0x2fceac(void 0x0));}[_0x387a6c(0x1f7)](_0x2621a6,_0x501854,_0xc6e6b7=!0x1){const _0xc291b1=_0x387a6c,_0x417385=new URL(window[_0xc291b1(0x1bc)]['href']);_0x417385[_0xc291b1(0x12c)][_0xc291b1(0x109)](_0x2621a6,_0x501854),_0xc6e6b7?window[_0xc291b1(0x182)][_0xc291b1(0xd2)]('','',_0x417385[_0xc291b1(0x242)]()):window[_0xc291b1(0x182)][_0xc291b1(0xe3)]('','',_0x417385[_0xc291b1(0x242)]());}[_0x387a6c(0x13e)](_0x108fae,_0x15784a=!0x1){const _0x5d400d=_0x387a6c,_0x404b67=new URL(window[_0x5d400d(0x1bc)][_0x5d400d(0x19c)]);_0x404b67[_0x5d400d(0x12c)][_0x5d400d(0xde)](_0x108fae),_0x15784a?window[_0x5d400d(0x182)][_0x5d400d(0xd2)]('','',_0x404b67['toString']()):window['history'][_0x5d400d(0xe3)]('','',_0x404b67[_0x5d400d(0x242)]());}['getParam'](_0x16b134){const _0x3364f6=_0x387a6c;var _0x10fb11;return(_0x10fb11=new URL(window[_0x3364f6(0x1bc)][_0x3364f6(0x19c)])[_0x3364f6(0x12c)]['get'](_0x16b134))!=null?_0x10fb11:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x387a6c(0x147)],fn=(_0x190cca,_0x4c1043,_0x13e6f4)=>_0x4c1043 in _0x190cca?un(_0x190cca,_0x4c1043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13e6f4}):_0x190cca[_0x4c1043]=_0x13e6f4,Sn=(_0x33d147,_0x5ea3b5,_0x463518,_0x41bafe)=>{for(var _0x4c3afb=_0x41bafe>0x1?void 0x0:_0x41bafe?dn(_0x5ea3b5,_0x463518):_0x5ea3b5,_0x2d7813=_0x33d147['length']-0x1,_0x1e793d;_0x2d7813>=0x0;_0x2d7813--)(_0x1e793d=_0x33d147[_0x2d7813])&&(_0x4c3afb=_0x1e793d(_0x4c3afb)||_0x4c3afb);return _0x4c3afb;},Oe=(_0x37dc52,_0x1cee99)=>(_0x31f4af,_0x24a04f)=>_0x1cee99(_0x31f4af,_0x24a04f,_0x37dc52),mn=(_0x14f176,_0x5baac2,_0xe8ba9f)=>fn(_0x14f176,_0x5baac2+'',_0xe8ba9f);const In=_0x387a6c(0x162);let Ae=class extends _0x9c3463{constructor(_0x189264=et,_0x996bbc,_0x431e88,_0x4910be){const _0x1f67df=_0x387a6c;super(),this[_0x1f67df(0x237)]=_0x189264,this['_renderManagerService']=_0x996bbc,this[_0x1f67df(0xa8)]=_0x431e88,this[_0x1f67df(0x14f)]=_0x4910be;const {..._0x4d963e}=_0x3bb9b4({},et,this[_0x1f67df(0x237)]);this[_0x1f67df(0x14f)][_0x1f67df(0x9f)](qi,_0x4d963e);}[_0x387a6c(0x90)](){const _0x286129=_0x387a6c;this[_0x286129(0x16a)](),this[_0x286129(0x271)]();}[_0x387a6c(0x1eb)](){const _0x28b002=_0x387a6c;this[_0x28b002(0x102)]();}['_registerDependencies'](){const _0x271cfe=_0x387a6c;var _0x3003c6;const _0x5dac70=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x21f375,{'useClass':_0x426b55}],[_0xd40667,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2ccd7f(this[_0x271cfe(0xa8)],_0x9a1dc(_0x5dac70,(_0x3003c6=this['_config'])==null?void 0x0:_0x3003c6[_0x271cfe(0x25d)]));}[_0x387a6c(0x102)](){const _0x4e54cb=_0x387a6c;this[_0x4e54cb(0x209)](this['_renderManagerService'][_0x4e54cb(0x24d)](_0x56af0b[_0x4e54cb(0xab)],[Le])),this['disposeWithMe'](this[_0x4e54cb(0x170)][_0x4e54cb(0x24d)](_0x56af0b[_0x4e54cb(0x252)],[Pe]));}['_initDependencies'](){const _0x466c59=_0x387a6c;_0x28e28e(this[_0x466c59(0xa8)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x387a6c(0x28b),In),Ae=Sn([_0x50a827(_0xd6296b),Oe(0x1,_0x3f3da5),Oe(0x2,_0x16284c(_0x15fcf5)),Oe(0x3,_0x13ae52)],Ae);var vn=Object[_0x387a6c(0x147)],gn=(_0x275959,_0x278780,_0x34e786,_0x531b2b)=>{const _0x436119=_0x387a6c;for(var _0x7c91bb=_0x531b2b>0x1?void 0x0:_0x531b2b?vn(_0x278780,_0x34e786):_0x278780,_0x4b31a9=_0x275959[_0x436119(0x23e)]-0x1,_0x5a9ce3;_0x4b31a9>=0x0;_0x4b31a9--)(_0x5a9ce3=_0x275959[_0x4b31a9])&&(_0x7c91bb=_0x5a9ce3(_0x7c91bb)||_0x7c91bb);return _0x7c91bb;},z=(_0x33fd9a,_0x8349e2)=>(_0xf403f0,_0x23b380)=>_0x8349e2(_0xf403f0,_0x23b380,_0x33fd9a);let it=class extends _0x44e1cb{constructor(_0x16f3b2,_0x3667e6,_0x129c45,_0x5dfab3,_0x597d56){super(_0x16f3b2,_0x3667e6,_0x129c45,_0x5dfab3,_0x597d56);}async['createSocket'](_0x1501f8){const _0x35b5f8=_0x387a6c,_0x5918f2=await this[_0x35b5f8(0x155)](),_0x1b736b=this['_createSocketURL'](_0x1501f8,_0x5918f2);return this[_0x35b5f8(0x28a)](_0x1b736b);}[_0x387a6c(0xcb)](_0x1283d1,_0x19d25b){const _0x19d087=_0x387a6c,_0x5f2df6=typeof window>'u'?new URL(_0x1283d1):new URL(_0x1283d1,window[_0x19d087(0x1bc)][_0x19d087(0x23d)]);_0x5f2df6[_0x19d087(0x12c)][_0x19d087(0x109)](_0x19d087(0x17f),_0x19d25b);const _0x340e04=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19d087(0x1bc)][_0x19d087(0x111)]);return _0x340e04['get'](_0x19d087(0x246))&&_0x5f2df6[_0x19d087(0x12c)][_0x19d087(0x109)](_0x19d087(0x246),_0x340e04[_0x19d087(0x224)]('runId')),_0x5f2df6['toString']();}async[_0x387a6c(0x155)](){const _0x355b0a=_0x387a6c;var _0x16b4d5,_0x2a4cec,_0x38ebd4;const _0x359cb0=this[_0x355b0a(0x14f)][_0x355b0a(0x18c)](_0x101c9),_0x4b9ff0=(_0x16b4d5=_0x359cb0==null?void 0x0:_0x359cb0[_0x355b0a(0x27f)])!=null?_0x16b4d5:_0x396309;return(_0x38ebd4=(_0x2a4cec=(await this[_0x355b0a(0x1e5)][_0x355b0a(0x224)](_0x4b9ff0,{'headers':{'Content-Type':'application/json'}}))[_0x355b0a(0xf2)])==null?void 0x0:_0x2a4cec[_0x355b0a(0x119)])!=null?_0x38ebd4:'';}};it=gn([z(0x0,_0x16284c(_0x15fcf5)),z(0x1,_0x16284c(_0x3f477d)),z(0x2,_0x13ae52),z(0x3,_0x2528d2),z(0x4,_0x342cf1)],it);var Lt=(_0x184c2f=>(_0x184c2f[_0x184c2f[_0x387a6c(0x27c)]=0x0]=_0x387a6c(0x27c),_0x184c2f[_0x184c2f['OK']=0x1]='OK',_0x184c2f[_0x184c2f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x184c2f[_0x184c2f['PERMISSION_DENIED']=0x3]=_0x387a6c(0x1bd),_0x184c2f[_0x184c2f[_0x387a6c(0x190)]=0x4]=_0x387a6c(0x190),_0x184c2f[_0x184c2f[_0x387a6c(0x174)]=0x5]=_0x387a6c(0x174),_0x184c2f[_0x184c2f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x184c2f[_0x184c2f['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x184c2f[_0x184c2f['TOO_MANY_REQUESTS']=0x8]=_0x387a6c(0x116),_0x184c2f[_0x184c2f[_0x387a6c(0x27d)]=0x9]=_0x387a6c(0x27d),_0x184c2f[_0x184c2f[_0x387a6c(0x94)]=0xa]='LOGIN_FAILED',_0x184c2f[_0x184c2f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x387a6c(0x123),_0x184c2f[_0x184c2f[_0x387a6c(0x24f)]=0xc]=_0x387a6c(0x24f),_0x184c2f[_0x184c2f[_0x387a6c(0x267)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x184c2f[_0x184c2f[_0x387a6c(0xc8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x184c2f[_0x184c2f[_0x387a6c(0x141)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x184c2f[_0x184c2f[_0x387a6c(0x1d2)]=0x1771]=_0x387a6c(0x1d2),_0x184c2f[_0x184c2f[_0x387a6c(0xd9)]=0x1772]=_0x387a6c(0xd9),_0x184c2f[_0x184c2f[_0x387a6c(0x214)]=0x1773]=_0x387a6c(0x214),_0x184c2f[_0x184c2f[_0x387a6c(0x157)]=0x1b59]=_0x387a6c(0x157),_0x184c2f[_0x184c2f[_0x387a6c(0x9b)]=0x1b5a]=_0x387a6c(0x9b),_0x184c2f[_0x184c2f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x387a6c(0x16e),_0x184c2f[_0x184c2f[_0x387a6c(0x1b8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x184c2f[_0x184c2f['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x184c2f[_0x184c2f[_0x387a6c(0x213)]=0x1f41]=_0x387a6c(0x213),_0x184c2f[_0x184c2f[_0x387a6c(0x121)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x184c2f[_0x184c2f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x387a6c(0x1aa),_0x184c2f[_0x184c2f[_0x387a6c(0x253)]=0x232b]=_0x387a6c(0x253),_0x184c2f[_0x184c2f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x387a6c(0x16c),_0x184c2f[_0x184c2f[_0x387a6c(0x22d)]=0x232d]=_0x387a6c(0x22d),_0x184c2f[_0x184c2f[_0x387a6c(0x149)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x184c2f[_0x184c2f[_0x387a6c(0xed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x184c2f[_0x184c2f[_0x387a6c(0x1c1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x184c2f[_0x184c2f[_0x387a6c(0x1fb)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x184c2f[_0x184c2f[_0x387a6c(0xb0)]=0x271a]=_0x387a6c(0xb0),_0x184c2f[_0x184c2f[_0x387a6c(0x1f8)]=0x271b]=_0x387a6c(0x1f8),_0x184c2f[_0x184c2f[_0x387a6c(0xf7)]=0x271c]=_0x387a6c(0xf7),_0x184c2f[_0x184c2f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x387a6c(0x264),_0x184c2f[_0x184c2f[_0x387a6c(0x212)]=0x271e]=_0x387a6c(0x212),_0x184c2f[_0x184c2f[_0x387a6c(0x250)]=0x271f]=_0x387a6c(0x250),_0x184c2f[_0x184c2f[_0x387a6c(0x1a3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x184c2f[_0x184c2f[_0x387a6c(0x24e)]=0x2af9]=_0x387a6c(0x24e),_0x184c2f[_0x184c2f[_0x387a6c(0xf3)]=0x2ee1]=_0x387a6c(0xf3),_0x184c2f[_0x184c2f[_0x387a6c(0x129)]=0x2ee2]=_0x387a6c(0x129),_0x184c2f[_0x184c2f[_0x387a6c(0x1b0)]=0x2ee3]=_0x387a6c(0x1b0),_0x184c2f[_0x184c2f[_0x387a6c(0x21e)]=0x2ee4]=_0x387a6c(0x21e),_0x184c2f[_0x184c2f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x184c2f[_0x184c2f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x387a6c(0x269),_0x184c2f[_0x184c2f[_0x387a6c(0x112)]=0x32ca]=_0x387a6c(0x112),_0x184c2f[_0x184c2f[_0x387a6c(0x115)]=0x32cb]=_0x387a6c(0x115),_0x184c2f[_0x184c2f['UNRECOGNIZED']=-0x1]=_0x387a6c(0x17e),_0x184c2f))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x221f69,_0x7d6968,_0x152bd6,_0x1d8c88)=>{for(var _0x3856e2=_0x1d8c88>0x1?void 0x0:_0x1d8c88?pn(_0x7d6968,_0x152bd6):_0x7d6968,_0x5819bd=_0x221f69['length']-0x1,_0x14f57c;_0x5819bd>=0x0;_0x5819bd--)(_0x14f57c=_0x221f69[_0x5819bd])&&(_0x3856e2=_0x14f57c(_0x3856e2)||_0x3856e2);return _0x3856e2;},be=(_0x55b55e,_0x530167)=>(_0x15ddb2,_0x5b7381)=>_0x530167(_0x15ddb2,_0x5b7381,_0x55b55e);let nt=class extends _0x67252a{constructor(_0x330b7c,_0x32d6df,_0x4e506f){const _0x4538c2=_0x387a6c;super(),this['_instanceService']=_0x330b7c,this[_0x4538c2(0x1e5)]=_0x32d6df,this[_0x4538c2(0x14f)]=_0x4e506f;}async[_0x387a6c(0x199)](_0x176fe2,_0xaeb089,_0x5d3f2a,..._0x4f757b){const _0x3c719c=_0x387a6c;var _0x4c9c80,_0x1cb731,_0x4973c3,_0x455d89;const _0xf43cdf=this[_0x3c719c(0xc1)]['getFocusedUnit']();if(!_0xf43cdf)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x46ace2=((_0x4c9c80=this[_0x3c719c(0x14f)][_0x3c719c(0x18c)](_0x40ce8b))!=null?_0x4c9c80:_0x5d6d31)+'/'+_0x176fe2+_0x3c719c(0x1be)+_0xaeb089,_0x1996af=new URL(window[_0x3c719c(0x1bc)]['href']),_0x4ca104={'scriptId':_0x176fe2,'runId':(_0x1cb731=_0x1996af[_0x3c719c(0x12c)][_0x3c719c(0x224)](_0x3c719c(0x246)))!=null?_0x1cb731:'','function':_0xaeb089,'unitId':_0xf43cdf[_0x3c719c(0x183)](),'argsOfFunction':JSON[_0x3c719c(0x86)](_0x4f757b),'invokeId':(_0x4973c3=_0x5d3f2a[_0x3c719c(0x27a)])!=null?_0x4973c3:'','executionId':(_0x455d89=_0x5d3f2a[_0x3c719c(0x128)])!=null?_0x455d89:''};try{const _0x5a5bca=await this[_0x3c719c(0x1e5)][_0x3c719c(0x1e1)](_0x46ace2,{'body':_0x4ca104});return _0x5a5bca[_0x3c719c(0xf2)]['error']&&_0x5a5bca[_0x3c719c(0xf2)][_0x3c719c(0x1c8)][_0x3c719c(0x202)]!==Lt['OK']?_0x3c719c(0x262):_0x5a5bca[_0x3c719c(0xf2)][_0x3c719c(0x85)];}catch{return _0x3c719c(0x262);}}};nt=Cn([be(0x0,_0x346188),be(0x1,_0x16284c(_0x3f477d)),be(0x2,_0x13ae52)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x67252a{constructor(){const _0x24a3b8=_0x387a6c;super(),_(this,_0x24a3b8(0x181),_0x31f7dd()),_(this,_0x24a3b8(0xb5),new Set()),_(this,_0x24a3b8(0xbd),new Map()),_(this,_0x24a3b8(0x11a),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x24a3b8(0x137),new Map()),this[_0x24a3b8(0x13d)]();}[_0x387a6c(0x180)](){const _0x207d41=_0x387a6c;super[_0x207d41(0x180)](),this[_0x207d41(0x208)][_0x207d41(0x146)]((_0x9c415e,_0x556a49)=>this[_0x207d41(0x1de)](_0x556a49)),this[_0x207d41(0x11a)]&&window[_0x207d41(0x11d)](this['_heartbeatTimer']);}[_0x387a6c(0x1a1)](_0xee581a){const _0x1e990b=_0x387a6c;return this['_ensureSubject'](_0xee581a)[_0x1e990b(0x1ce)](_0x5c7a4c());}[_0x387a6c(0x268)](_0xfa7c16){const _0xbf9d96=_0x387a6c;this['_selfUnitIDs'][_0xbf9d96(0x1fa)]===0x0&&this[_0xbf9d96(0x1ea)](),this[_0xbf9d96(0xb5)]['add'](_0xfa7c16),this[_0xbf9d96(0x171)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xfa7c16],'isForwarded':!0x1});}[_0x387a6c(0x154)](_0x759767){const _0x160a66=_0x387a6c;this[_0x160a66(0xb5)]['delete'](_0x759767),this[_0x160a66(0xb5)][_0x160a66(0x1fa)]===0x0&&this[_0x160a66(0x11a)]&&window[_0x160a66(0x11d)](this['_heartbeatTimer']);}[_0x387a6c(0x13d)](){const _0x2bf2be=_0x387a6c;this[_0x2bf2be(0x209)](_0x455292(_0x8cd590(window,'storage')['subscribe'](_0xde3a66=>{const _0x11b574=_0x2bf2be;if(_0xde3a66['key']!==ot||!_0xde3a66[_0x11b574(0x285)])return;const _0x18280e=JSON[_0x11b574(0x175)](_0xde3a66['newValue']);this['_handleEvent'](_0x18280e);}))),window[_0x2bf2be(0x220)](_0x2bf2be(0x278),()=>this[_0x2bf2be(0x171)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2a5c9d){const _0x273ced=_0x387a6c;switch(_0x2a5c9d[_0x273ced(0x216)]){case 0x0:this['_handleJoinEvent'](_0x2a5c9d);break;case 0x1:this[_0x273ced(0x194)](_0x2a5c9d);break;case 0x2:this['_handleHeartbeatEvent'](_0x2a5c9d);break;}}[_0x387a6c(0x145)](_0x87fa1d){const _0x20d124=_0x387a6c,{unitIDs:_0x15582b,memberID:_0x1f0f8e,isForwarded:_0x328483}=_0x87fa1d;_0x15582b[_0x20d124(0x146)](_0x47f711=>{const _0x334b13=_0x20d124;if(!_0x328483&&this[_0x334b13(0xbd)][_0x334b13(0x20e)](_0x47f711)&&this['_ensureSubject'](_0x47f711)[_0x334b13(0x207)](_0xbe51a0[_0x334b13(0x23a)]),!this['_unitOnClients'][_0x334b13(0x20e)](_0x47f711)||!this[_0x334b13(0xbd)]['get'](_0x47f711)[_0x334b13(0x20e)](_0x1f0f8e)){const _0x23c039=this[_0x334b13(0xbd)][_0x334b13(0x224)](_0x47f711)||new Set();_0x23c039[_0x334b13(0x1d7)](_0x1f0f8e),this[_0x334b13(0xbd)][_0x334b13(0x109)](_0x47f711,_0x23c039),this[_0x334b13(0x1bf)](_0x1f0f8e);}}),_0x328483||this[_0x20d124(0x171)]({'type':0x0,'memberID':this[_0x20d124(0x181)],'unitIDs':[...this[_0x20d124(0xb5)]],'isForwarded':!0x0});}[_0x387a6c(0x1bf)](_0x28b359){const _0x2b5b5e=_0x387a6c;this[_0x2b5b5e(0x1de)](_0x28b359);const _0x54c519=window['setTimeout'](()=>{const _0x74f27b=_0x2b5b5e;this[_0x74f27b(0xbd)][_0x74f27b(0x146)](_0xcf44a3=>{_0xcf44a3['delete'](_0x28b359);});},rt*0x2);this['_clearOtherTimers'][_0x2b5b5e(0x109)](_0x28b359,_0x54c519);}[_0x387a6c(0x1de)](_0x231606){const _0x2b945f=_0x387a6c;if(this['_clearOtherTimers'][_0x2b945f(0x20e)](_0x231606)){const _0x112902=this['_clearOtherTimers'][_0x2b945f(0x224)](_0x231606);_0x112902&&window['clearTimeout'](_0x112902),this[_0x2b945f(0x208)][_0x2b945f(0x109)](_0x231606,null);}}[_0x387a6c(0x194)](_0x3da72c){const _0xefc2ac=_0x387a6c,{memberID:_0x4b1573,unitIDs:_0x16533c}=_0x3da72c;_0x16533c[_0xefc2ac(0x146)](_0x2744ec=>{const _0x343364=_0xefc2ac;var _0x3dc878;const _0x318102=this[_0x343364(0xbd)]['get'](_0x2744ec);_0x318102&&(_0x318102[_0x343364(0xde)](_0x4b1573),(_0x3dc878=this[_0x343364(0x113)](_0x2744ec))==null||_0x3dc878[_0x343364(0x207)](_0x318102['size']===0x0?_0xbe51a0['NO_OTHER_CLIENTS_EDITING']:_0xbe51a0['OTHER_CLIENTS_EDITING']));}),this[_0xefc2ac(0x1de)](_0x4b1573);}[_0x387a6c(0x230)](_0x180eda){const _0x71542c=_0x387a6c;this[_0x71542c(0x1bf)](_0x180eda[_0x71542c(0x124)]);}[_0x387a6c(0x171)](_0x5c4282){const _0x562923=_0x387a6c;localStorage['setItem'](ot,JSON[_0x562923(0x86)](_0x5c4282));}[_0x387a6c(0x1ea)](){const _0x32304f=_0x387a6c;this[_0x32304f(0x11a)]=window[_0x32304f(0x148)](()=>{const _0x506d8c=_0x32304f;this[_0x506d8c(0x171)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x387a6c(0x113)](_0x19e87b){const _0x196e9e=_0x387a6c;return this[_0x196e9e(0x137)][_0x196e9e(0x20e)](_0x19e87b)||this[_0x196e9e(0x137)][_0x196e9e(0x109)](_0x19e87b,new _0x58482e(_0xbe51a0[_0x196e9e(0x14c)])),this['_unitStatus'][_0x196e9e(0x224)](_0x19e87b);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2eac54=_0x37b9;function _0x53ff(){const _0x4f7021=['271735zcUtJT','27OVjjbj','Edit\x20conflicts','Local\x20file','1184168cVqssF','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','278199aeVHfC','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','2688520ROmwjj','32935810uWjmPP','2393592dDYHou','10788771TtOnzT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','132KOoyDr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','28PBMOJm'];_0x53ff=function(){return _0x4f7021;};return _0x53ff();}(function(_0x51897b,_0x45dbe4){const _0x5f2a33=_0x37b9,_0xe8e055=_0x51897b();while(!![]){try{const _0x46965e=-parseInt(_0x5f2a33(0x87))/0x1+parseInt(_0x5f2a33(0x82))/0x2*(-parseInt(_0x5f2a33(0x8e))/0x3)+parseInt(_0x5f2a33(0x91))/0x4+parseInt(_0x5f2a33(0x83))/0x5*(-parseInt(_0x5f2a33(0x97))/0x6)+parseInt(_0x5f2a33(0x94))/0x7+-parseInt(_0x5f2a33(0x93))/0x8*(parseInt(_0x5f2a33(0x84))/0x9)+parseInt(_0x5f2a33(0x92))/0xa;if(_0x46965e===_0x45dbe4)break;else _0xe8e055['push'](_0xe8e055['shift']());}catch(_0x34ec62){_0xe8e055['push'](_0xe8e055['shift']());}}}(_0x53ff,0xe35e7));function _0x37b9(_0x13d74d,_0x27c05a){const _0x53ffbd=_0x53ff();return _0x37b9=function(_0x37b934,_0x100759){_0x37b934=_0x37b934-0x82;let _0x307ed4=_0x53ffbd[_0x37b934];return _0x307ed4;},_0x37b9(_0x13d74d,_0x27c05a);}const e={'collab-client':{'tooltip':{'reconnect':_0x2eac54(0x96)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2eac54(0x85),'notCollab':_0x2eac54(0x86),'synced':_0x2eac54(0x90),'syncing':_0x2eac54(0x89),'offline':_0x2eac54(0x88)},'session':{'connection-failed':_0x2eac54(0x8a),'will-retry':_0x2eac54(0x8b),'room-full':_0x2eac54(0x8d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2eac54(0x8c)},'permission':{'title':'Authentication\x20Error','content':_0x2eac54(0x95)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2eac54(0x8f)},'auth':{'needGotoLoginAlert':_0x2eac54(0x98)}},o=e;export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1145ed=_0x5cf5;function _0x5cf5(_0x50223d,_0x3b03b8){const _0x2d0ccd=_0x2d0c();return _0x5cf5=function(_0x5cf594,_0x1ba35a){_0x5cf594=_0x5cf594-0x186;let _0x3dc689=_0x2d0ccd[_0x5cf594];return _0x3dc689;},_0x5cf5(_0x50223d,_0x3b03b8);}(function(_0x545dcf,_0x56d3cb){const _0xf3a774=_0x5cf5,_0x39562b=_0x545dcf();while(!![]){try{const _0x775f87=parseInt(_0xf3a774(0x198))/0x1*(parseInt(_0xf3a774(0x19a))/0x2)+-parseInt(_0xf3a774(0x18b))/0x3*(parseInt(_0xf3a774(0x18a))/0x4)+parseInt(_0xf3a774(0x19e))/0x5+-parseInt(_0xf3a774(0x199))/0x6*(parseInt(_0xf3a774(0x190))/0x7)+parseInt(_0xf3a774(0x18f))/0x8+parseInt(_0xf3a774(0x19c))/0x9*(parseInt(_0xf3a774(0x19b))/0xa)+-parseInt(_0xf3a774(0x196))/0xb;if(_0x775f87===_0x56d3cb)break;else _0x39562b['push'](_0x39562b['shift']());}catch(_0x496556){_0x39562b['push'](_0x39562b['shift']());}}}(_0x2d0c,0x2a649));const e={'collab-client':{'tooltip':{'reconnect':_0x1145ed(0x193)}},'collabStatus':{'fetchMiss':_0x1145ed(0x192),'conflict':_0x1145ed(0x18d),'notCollab':_0x1145ed(0x189),'synced':_0x1145ed(0x197),'syncing':_0x1145ed(0x18e),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1145ed(0x195),'will-retry':_0x1145ed(0x19d),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1145ed(0x18c)},'conflict':{'title':_0x1145ed(0x186),'content':_0x1145ed(0x188)},'permission':{'title':_0x1145ed(0x187),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x1145ed(0x191)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1145ed(0x194)}};function _0x2d0c(){const _0x9399d6=['928482RUJAvU','4078spULvr','80110uPDkNQ','45YBQMLH','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1245675SZThNv','Collaboration\x20Conflict','Authentication\x20Error','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','715492pxxWpM','3tkVQhn','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Syncing...','2519520zoFoIW','7vxRDJx','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20please\x20check\x20your\x20network.','3196314YMEKrT','Synced','95UalIGf'];_0x2d0c=function(){return _0x9399d6;};return _0x2d0c();}export{e as default};
|