@univerjs-pro/collaboration-client-ui 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 _0x5e6c41=_0x3e50;(function(_0x1b5b0e,_0x250e4a){const _0x4d074e=_0x3e50,_0x2185cf=_0x1b5b0e();while(!![]){try{const _0x194398=parseInt(_0x4d074e(0x20d))/0x1*(-parseInt(_0x4d074e(0x3e7))/0x2)+-parseInt(_0x4d074e(0x421))/0x3*(parseInt(_0x4d074e(0x329))/0x4)+-parseInt(_0x4d074e(0x3c1))/0x5*(parseInt(_0x4d074e(0x358))/0x6)+-parseInt(_0x4d074e(0x227))/0x7+-parseInt(_0x4d074e(0x3fe))/0x8+-parseInt(_0x4d074e(0x24d))/0x9*(parseInt(_0x4d074e(0x42d))/0xa)+-parseInt(_0x4d074e(0x27b))/0xb*(-parseInt(_0x4d074e(0x3c6))/0xc);if(_0x194398===_0x250e4a)break;else _0x2185cf['push'](_0x2185cf['shift']());}catch(_0x18b8a4){_0x2185cf['push'](_0x2185cf['shift']());}}}(_0x4cf4,0xdb35e));var Yt=Object[_0x5e6c41(0x26e)],Wt=(_0x11c925,_0x551955,_0x7f9cb1)=>_0x551955 in _0x11c925?Yt(_0x11c925,_0x551955,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7f9cb1}):_0x11c925[_0x551955]=_0x7f9cb1,_=(_0xa4ba8f,_0x62bf81,_0x57e4d3)=>Wt(_0xa4ba8f,typeof _0x62bf81!='symbol'?_0x62bf81+'':_0x62bf81,_0x57e4d3);import{jsx as _0x4dce54,jsxs as _0x23cd24}from'react/jsx-runtime';import{CollaborationStatus as _0x54c613,CollaborationSessionService as _0x48a112,CollaborationController as _0xba3a41,DataLoaderService as _0x3a7b43,MemberService as _0x365024,SessionStatus as _0xbe9bd5,ILocalCacheService as _0x588b9c,CollaborationUIEventService as _0x56bb29,CollaborationUIEventId as _0x1e6779,DocCollaborationEntity as _0x35f55c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x554969,getLocalCacheKey as _0x46d1c9,LOCAL_CACHE_INTERVAL as _0x239433,LOCAL_CACHE_INTERVAL_KEY as _0x16e84e,UniverCollaborationClientPlugin as _0x53849a,CollaborationSocketService as _0x1362c8,DEFAULT_WS_SESSION_TICKET_URL as _0x4482a6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3edb34,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3027c6,UnitStatus as _0x1de409}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x353f39,IUniverInstanceService as _0x49c215,Inject as _0x393365,Injector as _0xaa1b4f,Disposable as _0x52c1c5,createIdentifier as _0x44b024,ILogService as _0x4fe5ec,ICommandService as _0x51b600,Optional as _0xedba1f,RxDisposable as _0x4e0967,Workbook as _0x45ab4a,DOC_RANGE_TYPE as _0x471f62,debounce as _0x2e72cf,Rectangle as _0xbac35e,DisposableCollection as _0x57df36,toDisposable as _0x4d6e0f,UniverInstanceType as _0x3f2b66,generateRandomId as _0x220a66,COLORS as _0x1273e0,ColorKit as _0x67e137,ThemeService as _0x348b48,fromEventSubject as _0x386729,Tools as _0x27b6c8,CommandType as _0xae5b06,IConfigService as _0x4642c4,CanceledError as _0x492649,isFormulaString as _0x3b833f,isFormulaId as _0x4a4bd8,ILocalStorageService as _0x94686d,DependentOn as _0x3f7a7f,Plugin as _0x43ff47,merge as _0x1dccc9,registerDependencies as _0x4e9344,mergeOverrideWithDependencies as _0x587b20,touchDependencies as _0x5cb758}from'@univerjs/core';import{useObservable as _0x371cb0,useDependency as _0x2f6081,IUIPartsService as _0x3cb359,BuiltInUIPart as _0x8de4b2,connectInjector as _0x11e8d0,IBeforeCloseService as _0x35341e,IMessageService as _0xe75bb,INotificationService as _0x4344a2}from'@univerjs/ui';import{BehaviorSubject as _0x1a4d1e,switchMap as _0x3c03a3,of as _0x549864,takeUntil as _0x2c10e9,debounceTime as _0x554f5e,Subject as _0x1763c5,filter as _0x34512d,merge as _0x571abd,combineLatest as _0x3c0103,fromEvent as _0x138141,shareReplay as _0x369b94,mapTo as _0x56e65c,distinctUntilChanged as _0x20bda3}from'rxjs';import{Tooltip as _0x3a6a0e,clsx as _0x370eaf,MessageType as _0x248756}from'@univerjs/design';import{useRef as _0x54cad1,createElement as _0x255fc1,forwardRef as _0x51965d,useCallback as _0x39adb1}from'react';import{IRemoteInstanceService as _0x18359a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x10d0b0,RefRangeService as _0x248d6f,SetSelectionsOperation as _0x373183,SheetsSelectionsService as _0x211a3e,EffectRefRangId as _0x4d4aef,handleIRemoveRow as _0x3e1616,handleIRemoveCol as _0x1adf19,handleMoveRange as _0x51febe,handleInsertRow as _0x2e721c,handleInsertRangeMoveRight as _0x5c68e5,handleInsertRangeMoveDown as _0x31cf40,handleInsertCol as _0x1ffe26,handleDeleteRangeMoveUp as _0x221b9b,handleDeleteRangeMoveLeft as _0x41fb43,runRefRangeMutations as _0x3019e5}from'@univerjs/sheets';import{Shape as _0x8dc89a,Rect as _0x1b61d8,getColor as _0x3af192,RegularPolygon as _0x358fac,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1681f6,Vector2 as _0x47aacb,SHEET_VIEWPORT_KEY as _0x354b10,IRenderManagerService as _0x1f8720}from'@univerjs/engine-render';import{HTTPService as _0x2cb535,ISocketService as _0x1363ef,WebSocketService as _0x9fbd32}from'@univerjs/network';import{IDocClipboardService as _0x1cfd89,NodePositionConvertToCursor as _0x4d070d,NodePositionConvertToRectRange as _0x440298,TEXT_RANGE_LAYER_INDEX as _0x2ff152,SetDocZoomRatioOperation as _0x1d3151,DocIMEInputManagerService as _0x5301d8,DocStateChangeManagerService as _0x5173c7}from'@univerjs/docs-ui';import{IImageIoService as _0x5e9532}from'@univerjs/drawing';import{ITransformService as _0x59b3e4,CollaborationEvent as _0xcc84c4,isTransformMutationFailure as _0xb2c014,isTransformMutationsWithChangesetSuccess as _0xa6f19a,RevisionService as _0x30d137,ISnapshotServerService as _0x556089}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1b756a,RichTextEditingMutation as _0x521baf,DocSelectionManagerService as _0x406d1c,DocSkeletonManagerService as _0x16f56d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x542628,serializeRangeWithSheet as _0x32ee88,FormulaExecuteStageType as _0x11ebd6,FormulaExecutedStateType as _0x12ebe4,SetFormulaCalculationStartMutation as _0x4727ae,SetFormulaCalculationNotificationMutation as _0x3be4e3}from'@univerjs/engine-formula';import{map as _0x4770b7,filter as _0x2fc674,throttleTime as _0x1c2466,takeUntil as _0x45e81d,switchMap as _0x5b8bb5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x33d450,getCoordByCell as _0x58af9c,getSheetObject as _0x381575}from'@univerjs/sheets-ui';function Ge({ref:_0x70c70d,..._0x28e408}){const _0x538139=_0x5e6c41,{icon:_0x2798df,id:_0x45e92b,className:_0x4acf31,extend:_0x3eb3e3,..._0x5ed252}=_0x28e408,_0x485f5c=(_0x538139(0x40c)+_0x45e92b+'\x20'+(_0x4acf31||''))['trim'](),_0x5290db=_0x54cad1('_'+Ei());return At(_0x2798df,''+_0x45e92b,{'defIds':_0x2798df['defIds'],'idSuffix':_0x5290db[_0x538139(0x225)]},{'ref':_0x70c70d,'className':_0x485f5c,..._0x5ed252},_0x3eb3e3);}function At(_0x149456,_0x9434fd,_0x4bfd8f,_0x35c0f8,_0x3e27de){const _0x1ebe2=_0x5e6c41;return _0x255fc1(_0x149456['tag'],{'key':_0x9434fd,...gi(_0x149456,_0x4bfd8f,_0x3e27de),..._0x35c0f8},(vi(_0x149456,_0x4bfd8f)[_0x1ebe2(0x416)]||[])['map']((_0x597573,_0xe5f956)=>At(_0x597573,_0x9434fd+'-'+_0x149456[_0x1ebe2(0x3c8)]+'-'+_0xe5f956,_0x4bfd8f,void 0x0,_0x3e27de)));}function gi(_0x352294,_0x2cfdbb,_0x9d0870){const _0x53fb7f=_0x5e6c41,_0x3ee48e={..._0x352294[_0x53fb7f(0x418)]};_0x9d0870!=null&&_0x9d0870[_0x53fb7f(0x3f2)]&&_0x3ee48e['fill']==='colorChannel1'&&(_0x3ee48e[_0x53fb7f(0x387)]=_0x9d0870[_0x53fb7f(0x3f2)]),_0x352294[_0x53fb7f(0x3c8)]===_0x53fb7f(0x27f)&&_0x3ee48e['id']&&(_0x3ee48e['id']=_0x3ee48e['id']+_0x2cfdbb[_0x53fb7f(0x3d1)]),Object[_0x53fb7f(0x401)](_0x3ee48e)['forEach'](([_0x35be2a,_0x2a114a])=>{const _0x3f7071=_0x53fb7f;_0x35be2a===_0x3f7071(0x27f)&&typeof _0x2a114a==_0x3f7071(0x407)&&(_0x3ee48e[_0x35be2a]=_0x2a114a[_0x3f7071(0x25f)](/url\(#(.*)\)/,_0x3f7071(0x24a)+_0x2cfdbb[_0x3f7071(0x3d1)]+')'));});const {defIds:_0x109d68}=_0x2cfdbb;return!_0x109d68||_0x109d68[_0x53fb7f(0x3f6)]===0x0||(_0x352294[_0x53fb7f(0x3c8)]===_0x53fb7f(0x3e6)&&_0x3ee48e[_0x53fb7f(0x31d)]&&(_0x3ee48e['xlink:href']=_0x3ee48e[_0x53fb7f(0x31d)]+_0x2cfdbb['idSuffix']),Object[_0x53fb7f(0x401)](_0x3ee48e)[_0x53fb7f(0x396)](([_0x513bc6,_0x159fce])=>{const _0x19e6ee=_0x53fb7f;typeof _0x159fce=='string'&&(_0x3ee48e[_0x513bc6]=_0x159fce['replace'](/url\(#(.*)\)/,_0x19e6ee(0x24a)+_0x2cfdbb[_0x19e6ee(0x3d1)]+')'));})),_0x3ee48e;}function vi(_0x3c690c,_0x3d3a30){const _0x4efee4=_0x5e6c41;var _0x2ff0cd;const {defIds:_0x2e81b2}=_0x3d3a30;return!_0x2e81b2||_0x2e81b2[_0x4efee4(0x3f6)]===0x0?_0x3c690c:_0x3c690c[_0x4efee4(0x3c8)]===_0x4efee4(0x345)&&((_0x2ff0cd=_0x3c690c[_0x4efee4(0x416)])!=null&&_0x2ff0cd[_0x4efee4(0x3f6)])?{..._0x3c690c,'children':_0x3c690c[_0x4efee4(0x416)]['map'](_0x8c6158=>typeof _0x8c6158[_0x4efee4(0x418)]['id']==_0x4efee4(0x407)&&_0x2e81b2&&_0x2e81b2[_0x4efee4(0x376)](_0x8c6158[_0x4efee4(0x418)]['id'])?{..._0x8c6158,'attrs':{..._0x8c6158['attrs'],'id':_0x8c6158[_0x4efee4(0x418)]['id']+_0x3d3a30[_0x4efee4(0x3d1)]}}:_0x8c6158)}:_0x3c690c;}function Ei(){const _0x4ab879=_0x5e6c41;return Math['random']()[_0x4ab879(0x373)](0x24)['substring'](0x2,0x8);}Ge['displayName']=_0x5e6c41(0x3d0);const pi={'tag':_0x5e6c41(0x276),'attrs':{'xmlns':_0x5e6c41(0x1fb),'fill':_0x5e6c41(0x3f7),'viewBox':_0x5e6c41(0x234),'width':'1em','height':_0x5e6c41(0x38b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e6c41(0x2da),'d':'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','strokeLinecap':_0x5e6c41(0x405),'strokeLinejoin':_0x5e6c41(0x405),'strokeWidth':1.2}}]},{'tag':_0x5e6c41(0x345),'attrs':{},'children':[{'tag':_0x5e6c41(0x2b1),'attrs':{'id':_0x5e6c41(0x3f9)},'children':[{'tag':_0x5e6c41(0x2fa),'attrs':{'fill':_0x5e6c41(0x25d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e6c41(0x3f9)]},Pt=_0x51965d(function(_0x3b2935,_0x4c05c5){const _0xf6b2b9=_0x5e6c41;return _0x255fc1(Ge,Object['assign']({},_0x3b2935,{'id':_0xf6b2b9(0x236),'ref':_0x4c05c5,'icon':pi}));});Pt['displayName']='OffLineIcon';const Oi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e6c41(0x3f7),'viewBox':_0x5e6c41(0x2ad),'width':'1em','height':_0x5e6c41(0x38b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5e6c41(0x37f),'strokeLinecap':_0x5e6c41(0x405),'strokeLinejoin':_0x5e6c41(0x405),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e6c41(0x2b1),'attrs':{'id':_0x5e6c41(0x342)},'children':[{'tag':_0x5e6c41(0x2fa),'attrs':{'fill':_0x5e6c41(0x25d),'d':_0x5e6c41(0x43d),'transform':_0x5e6c41(0x250)}}]}]}],'defIds':[_0x5e6c41(0x342)]},wt=_0x51965d(function(_0xe572f0,_0x549bcf){const _0x13d4dc=_0x5e6c41;return _0x255fc1(Ge,Object[_0x13d4dc(0x381)]({},_0xe572f0,{'id':_0x13d4dc(0x400),'ref':_0x549bcf,'icon':Oi}));});wt[_0x5e6c41(0x230)]='OnLineIcon';function Ti(_0x222e54){const _0x3031f4=_0x5e6c41;switch(_0x222e54){case _0x54c613[_0x3031f4(0x390)]:return'collabStatus.offline';case _0x54c613[_0x3031f4(0x26c)]:return _0x3031f4(0x2ef);case _0x54c613[_0x3031f4(0x2f1)]:return _0x3031f4(0x289);case _0x54c613[_0x3031f4(0x378)]:return'collabStatus.notCollab';case _0x54c613[_0x3031f4(0x419)]:case _0x54c613[_0x3031f4(0x302)]:return'collabStatus.syncing';case _0x54c613[_0x3031f4(0x3ab)]:case _0x54c613[_0x3031f4(0x2e5)]:return _0x3031f4(0x3e2);}}function Ci(_0x38d16d){const _0x480687=_0x5e6c41,{status$:_0x275611}=_0x38d16d,_0x58f564=_0x371cb0(_0x275611,_0x54c613[_0x480687(0x378)]),_0x47c621=_0x2f6081(_0x353f39),_0x4a74ab=_0x2f6081(_0x48a112),_0x4adcd3=_0x58f564!==_0x54c613[_0x480687(0x390)],_0x1f600a=_0x47c621['t'](Ti(_0x58f564)),_0x7b4a83=_0x4adcd3?_0x4dce54(wt,{}):_0x4dce54(Pt,{}),_0x25707e=_0x39adb1(()=>{_0x4adcd3||_0x4a74ab['reconnect']();},[_0x4adcd3,_0x4a74ab]);function _0x172aee(){const _0x42f2e3=_0x480687;return _0x23cd24(_0x42f2e3(0x2fd),{'className':_0x42f2e3(0x317),'onClick':_0x25707e,'children':[_0x4dce54(_0x42f2e3(0x2fd),{'className':_0x370eaf(_0x42f2e3(0x25a),{'univer-text-green-500':_0x4adcd3,'univer-text-red-500':!_0x4adcd3}),'children':_0x7b4a83}),_0x4dce54('div',{'className':_0x42f2e3(0x33e),'children':_0x1f600a})]});}return _0x4adcd3?_0x172aee():_0x4dce54(_0x3a6a0e,{'title':_0x47c621['t'](_0x480687(0x2a5)),'children':_0x172aee()});}var Ri=Object[_0x5e6c41(0x3e4)],Di=(_0x10da4b,_0x419c55,_0x2bdcc5,_0x31b3c7)=>{const _0x114967=_0x5e6c41;for(var _0x39e56b=_0x31b3c7>0x1?void 0x0:_0x31b3c7?Ri(_0x419c55,_0x2bdcc5):_0x419c55,_0x558612=_0x10da4b[_0x114967(0x3f6)]-0x1,_0x542ea2;_0x558612>=0x0;_0x558612--)(_0x542ea2=_0x10da4b[_0x558612])&&(_0x39e56b=_0x542ea2(_0x39e56b)||_0x39e56b);return _0x39e56b;},se=(_0x5e46ca,_0x498370)=>(_0x5b1bac,_0x3c476c)=>_0x498370(_0x5b1bac,_0x3c476c,_0x5e46ca);let ae=class extends _0x52c1c5{constructor(_0x1a3df6,_0x2b1b9d,_0x7ec3bd,_0x2403cf){const _0x1ee047=_0x5e6c41;super(),_(this,_0x1ee047(0x211),new _0x1a4d1e(_0x54c613['NOT_COLLAB'])),(this[_0x1ee047(0x3d4)]=_0x1a3df6,this['_injector']=_0x2b1b9d,this[_0x1ee047(0x3a9)]=_0x7ec3bd,this[_0x1ee047(0x385)]=_0x2403cf,this[_0x1ee047(0x324)](),this[_0x1ee047(0x362)]());}[_0x5e6c41(0x362)](){const _0x261db4=_0x5e6c41;this[_0x261db4(0x3be)](this['_univerInstanceService'][_0x261db4(0x3a8)][_0x261db4(0x446)](_0x3c03a3(()=>{const _0x4d5b5e=_0x261db4,_0x314ed9=this[_0x4d5b5e(0x3d4)][_0x4d5b5e(0x2af)]();return _0x314ed9?this[_0x4d5b5e(0x3a9)][_0x4d5b5e(0x280)](_0x314ed9[_0x4d5b5e(0x37d)]()):_0x549864(null);}),_0x3c03a3(_0x825adf=>_0x825adf?_0x825adf[_0x261db4(0x209)]:_0x549864(_0x54c613[_0x261db4(0x378)])))[_0x261db4(0x377)](_0x471d33=>{const _0xff59d9=_0x261db4;this[_0xff59d9(0x211)]['next'](_0x471d33);}));}['_initStatusComponent'](){const _0x27522f=_0x5e6c41;this[_0x27522f(0x3be)](this[_0x27522f(0x385)]['registerComponent'](_0x8de4b2[_0x27522f(0x23a)],()=>_0x11e8d0(bi({'status$':this[_0x27522f(0x211)][_0x27522f(0x2a8)]()}),this[_0x27522f(0x254)])));}};ae=Di([se(0x0,_0x49c215),se(0x1,_0x393365(_0xaa1b4f)),se(0x2,_0x393365(_0xba3a41)),se(0x3,_0x3cb359)],ae);function _0x4cf4(){const _0x519280=['_onCursorUpdate','_logService','roomMembers','_registerRenderDependencies','with','init','_localCacheService','clearInterval','UNDEFINED','collabCursorState$','DeleteRangeMoveLeftCommandId','USER_NOT_FOUND','map','_taskIds','univer-flex\x20univer-items-center','removeParam','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_ASYNCIO_CANCELLED','_onRefRangeChange','urlChange$','xlink:href','_shapes','_handleHeartbeatEvent','min','_imageIoService','next','getVpScrollXYInfoByPosToVp','_initStatusComponent','_scheduleSaving','fillStyle','selections','_saveCache','145988PoCmIS','transformMutationsWithChangeset','_getFormulaLimitStatus','_uploadLog','_initUnhandledRejectionListener','getDocRanges','session.collaboration-timeout','createInstance','_setupSubUnitSync','_render','_httpService','storage','UPDATE_CURSOR','m2Prime','transformIMECache','getUnit','setAlpha','session.will-retry','executeCommand','currentTheme$','size','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','text','_startDocCollabCursor','_collaborationUIEventService','on-line-icon_clip0_910_349','DeleteRangeMoveUpCommandId','/run/','defs','startsWith','SOCKET_FAILED','updateOfflineData','getCollabCursors$','_clearOtherTimers','endColumn','toRgbString','_docClipboardService','RemoveColCommandId','loadOfflineData','_sheetSkeletonManagerService','debug','APPLY_DUPLICATED','_docSyncEditingCollabCursorService','_eventUnsubscribe','_refRangeService','undoState','max','1182462XJRmFl','_monkeyPatchLogService','stack','getOffsetConfig','reason','stage','black','dispose','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationDataLoaderController]','_initStatusListener','replaceState','getColorFromTheme','subunit','body','Warning','_entityInit$','OTHER_CLIENT_EDITING','makeDirty','_initCommandExecutedListener','_getScale','_checkAndWaitForCalculationPermission','application/json','_releaseCalculationLimit','measureText','INVALID_ARGUMENT','params','toString','bottom','_handleLeaveEvent','includes','subscribe','NOT_COLLAB','getMember','MOBILE_VERIFY_CODE_MISMATCH','getConfig','unitID','getUnitId','save','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','transformMutation','assign','from','onCommandExecuted','textRanges','_uiPartsService','LOGIN_TOKEN_PROCESSING_FAILED','fill','collaboration-client-ui.config','_localStorageService','_toggleOffline','1em','get','addObject','clearTimeout','_removeClearOtherTimer','OFFLINE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','values','beginPath','[Window\x20Error]:\x20','ticket','forEach','formula.calculation.unable','_color','m1Prime','_handleHover','color','_removeCollabCursors','RECT','some','message','currentSkeleton$','add','getUnitStatus$','_init','has','drawWith','TEXT','APPLY_REJECT','focused$','_collaborationController','Failed','SYNCED','redoState','INVITE_CODE_HAS_BEEN_UES','whenReady','_unitStatus','href','_scheduleClearOtherTimer','collab-text-anchor-','roomMembers$','_hasFormulaInDirtyRanges','_heartbeatTimer','_cachedData','getStateCache','COMPLETION_FINISHED','parse','ENTITLE_INSUFFICIENT_QUOTA','_notificationService','_selfUnitIDs','getRenderById','disposeWithMe','then','_handleEvent','25rkRBLM','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSkeleton','catch','InsertRowCommandId','62349204FUnoOi','Loading','tag','key','UNIVER_SHEET','history','_lastResponseTimestamp','PERMISSION_DENIED','_colorAssignService','_memberService','UniverIcon','idSuffix','APPLY_PERMISSION_DENIED','JOIN_ROOM_FAILED','_univerInstanceService','Unknown\x20user','height','getTypeOfUnitDisposed$','[Unhandled\x20Rejection]:\x20','eventID','hovered','collab-text-range-','runId','unshift','_refreshCollabCursors','totalFormulasToCalculate','_onCursorDelete','createSocket','collabStatus.synced','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getOwnPropertyDescriptor','getTypeOfUnitAdded$','use','795694sKwFCn','_syncEditingCollabCursorService','ERROR_AGAIN','_docTransformSelectionsService','setActiveRange','INVITE_CODE_REQUIRED','_doCreateSocket','onTransformChange$','getCurrentUnitForType','activeSheet$','_ensureSubject','colorChannel1','colno','_hover','backgroundColor','length','none','post','off-line-icon_clip0_910_343','ACTIVE_UNIT_EVENT_CHANNEL','doc.mutation.rich-text-editing','error','resize','8353728YqyZYj','USER_NOT_INVITED_CODE','on-line-icon','entries','getCurrent','releaseFormulaLimitUrl','permission.title','round','getRelativeToViewportCoord','string','requireSession','pushState','popstate','imageSourceType','univerjs-icon\x20univerjs-icon-','fillText','onLocalMutation','_localeService','_renderManagerService','VIEW_MAIN','code','_draw','memberID','event$','children','_updateSubUnitFromURLParams','attrs','AWAITING','_drawAnchor','INTERNAL_ERROR','InsertColCommandId','_initResize','YUUMI_AI_RUN_FAILED','/universer-api/license/formula/limit/done','labelPosition','6CWkpFC','functionsExecutedState','dispose$','YUUMI_RATE_OVER_LIMIT','data','unitId','CHANGESET_REVISION_CONFILICT','getValue','SNAPSHOT_INVALID_SNAPSHOT','_saveTaskMap','subscribeEvent','show','30tspNvQ','session.connection-failed','ENTITLE_DUP_SUBSCRIPTION','sessionStatus$','dirtyRanges','YUUMI_SUBSCRIPTION_NOT_FOUND','getCellMatrix','pluginName','find','searchParams','_assignedColors','_pollingInterval','_getSheetObject','USERS_LEAVE','now','setShapeProps','M0\x200H16V16H0z','onPointerEnter$','beforeCommandExecuted','filename','REDEMPTION_CODE_NOT_STARTED','getActiveSheet','getCellPositionByOffset','getMemberID','_roomMembers$','pipe','SOCKET_FAILED_RETRY','_cursors','blue.400','_memberID','APPLY_REVISION_CONFILICT','row','uni.network.url-service','_cursorInfo$','fillRule','getCurrentRevOfUnit','SNAPSHOT_HAS_BEEN_REMOVED','complete','REDEMPTION_CODE_INACTIVE','getItem','_collabCursorState$','_scheduleHeartbeat','_docTransformStateCacheService','_lastPointer','LICENSE_EXPORT_SIZE_EXCEEDED','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','set','name','ENTITLE_NEED_BILLING_ADDRESS','origin','http://www.w3.org/2000/svg','setTimeout','red.300','MoveRangeCommandId','_config','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_maxFormulaLimit','UNRECOGNIZED','_applyCommand','UNAUTHENTICATED','arc','_docTransformIMECacheService','collab-rect-range-','replaceDocRanges','status$','_id','/universer-api/license/formula/limit/status','_backgroundColor','1RFaCUv','selection','send','_send','_status$','REDEMPTION_USER_NOT_ELIGIBLE','stringify','executionId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MOBILE_HAS_BEEN_BOUND','socket$','limitInfo','_collaborationSessionService','findNodePositionByCharIndex','_currentUsage','unsubscribe','_registerDependencies','YUUMI_ALL_TABLES_IS_INVALID','cursorInfo','_dataLoaderService','_getAnchorBounding','YUUMI_TABLE_NOT_FOUND_IN_UNIT','...','_showGuardMessage','current','getAncestorScale','11997433Frqjnz','_cursor','syncEditingCollabCursor','_updateLocalCursor','override','REDEMPTION_CODE_HAS_BEEN_CREATED','type','exhaustSavingTask','subUnitId','displayName','split','_drawTextRange','_updateURLWithCurrentState','0\x200\x2016\x2016','result','off-line-icon','INVITE_CODE_ALREADY_BOUND','range','moveTo','HEADER_MENU','getUndoRedoMutationParamsCache','_updateCollabCursors','_instanceService','_collabCursorController','INVALID_INVITE_CODE','triggerDblclick','getSheetBySheetId','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/frontend/logs','_clearPolling','startFormulaLimitUrl','addClipboardHook','InsertRangeMoveRightCommandId','setConfig','_drawRectRange','url(#$1','WECHAT_HAS_BEEN_BOUND','_hideTimer','250560Mrrxrw','getSheetId','REDEMPTION_INVALID_CODE','translate(.97)','onPointerLeave$','getRangePointData','jiqing.500','_injector','FromArray','ENSURE_SNAPSHOT_EXECUTION','stageInfo','saveTaskMap','_initEvent','univer-mr-2\x20univer-flex\x20univer-text-xl','delete','_initEntityListener','white','_context','replace','?taskId=','addEventListener','_transformPreviousActiveRange','CURRENT_STATUS_CANNOT_OPERATE','enableFrontendLog','SUBMIT_CHANGESET_TIMEOUT','NO_OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ALREADY_EXISTS','_createSocketURL','editingUnit','registerRefRange','CONFLICT','_docStateChangeManagerService','defineProperty','_toggleOnline','TOO_MANY_REQUESTS','YUUMI_UNABLE_LOAD_URL','font','sheetID','/universer-api/license/formula/limit/start','cursorInfo$','svg','_textBubble','_startCalculationLimit','_anchorDot','CONNECTOR_DATA_TOO_LARGE','11xxdCNz','_getMergeRange','_collabSessionService','isActive','mask','getCollabEntity$','search','APPLY_NON_SEQUENTIAL_REVISION','lineTo','_range','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','#FFF','_hovered','unhandledrejection','collabStatus.fetchMiss','mutations','onStarting','_docSkeletonManagerService','unit','join','_initDependencies','ENTITLE_REPORT_LIMIT_EXCEED','_disabled','_commandService','EMAIL_HAS_BEEN_BOUND','column','evenodd','permission.content','InsertRangeMoveDownCommandId','_startSheetCollabCursor','contains','lineno','width','_name','_setupBeforeClosingHandler','hide','_getSaveTimeout','maxFormulaLimit','addHandlerCallback','enableLocalCache','ranges','_initUserListener','collab-client.tooltip.reconnect','onRendered','_initCommandInterceptor','asObservable','_transformHistoryAndStateStack','push','assignAColorForMemberID','green.600','0\x200\x2017\x2016','newValue','getFocusedUnit','DATA_SOURCE_TOO_LARGE','clipPath','deepClone','getActiveRange','_revisionService','LICENSE_IMPORT_SIZE_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','_entities','isEditing','flatMap','Error','parseInt','registerRenderModule','startRow','EMAIL_VERIFY_CODE_MISMATCH','_session','_getSessionTicket','restore','_urlService','UNIVER_DOC','isArray','collaboration.closeRoom','_labelPosition','PAYMENT_CHANNEL_NOT_SUPPORT','_themeService','_initWindowErrorListener','_setFormulaLimitStatus','collaboration.single-unit.warning','all','ENTITLE_CHAT_LIMIT_EXCEED','closePath','transformRemoteChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','formula.calculation.waiting','_online','transformByState','_beforeCloseService','docStateChange$','top','getParam','saveImage','transform','currentColor','source','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','skeleton','onMouseMove','removeEventListener','setUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','getCurrentSelections','_transformService','PENDING','_checkCalculationAvailable','RemoveRowCommandId','setItem','_handleJoinEvent','_configService','startColumn','sheetId','_scene','formula.calculation.started','collabStatus.conflict','getViewport','FETCH_MISS','YUUMI_NO_CUBOID_FOR_QUESTION','_anchor','_transformUndoRedoStack','NOT_FOUND','setInterval','[LogService\x20Error]:\x20','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','endRow','path','yellow.400','_cursorShapes','div','location','CLOSE_ROOM','loadUnit','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','getformulaLimitStatusUrl','addObjects','ONLINE','transformStateCache','actions','collaboration-client.offline-data-not-saved'];_0x4cf4=function(){return _0x519280;};return _0x4cf4();}function bi(_0x10146b){const {status$:_0x565b6f}=_0x10146b;return function(){return _0x4dce54(Ci,{'status$':_0x565b6f});};}const yt=_0x44b024(_0x5e6c41(0x1e8));var Ni=Object[_0x5e6c41(0x3e4)],Li=(_0x253ee5,_0x55276b,_0xa5b293,_0x202d09)=>{const _0x39b1b6=_0x5e6c41;for(var _0x27edb5=_0x202d09>0x1?void 0x0:_0x202d09?Ni(_0x55276b,_0xa5b293):_0x55276b,_0x483d18=_0x253ee5[_0x39b1b6(0x3f6)]-0x1,_0x2f548e;_0x483d18>=0x0;_0x483d18--)(_0x2f548e=_0x253ee5[_0x483d18])&&(_0x27edb5=_0x2f548e(_0x27edb5)||_0x27edb5);return _0x27edb5;},K=(_0x4384f0,_0xc64609)=>(_0x26b751,_0x136e4a)=>_0xc64609(_0x26b751,_0x136e4a,_0x4384f0);let ce=class extends _0x4e0967{constructor(_0x4b53a8,_0x98eda6,_0x38a1eb,_0x4bef9f,_0x400a5c){const _0x45e8be=_0x5e6c41;super(),this[_0x45e8be(0x2c2)]=_0x4b53a8,this[_0x45e8be(0x30a)]=_0x98eda6,this[_0x45e8be(0x292)]=_0x38a1eb,this[_0x45e8be(0x220)]=_0x4bef9f,_0x400a5c?_0x400a5c==null||_0x400a5c[_0x45e8be(0x3ae)]()['then'](()=>this[_0x45e8be(0x3a3)]()):(this[_0x45e8be(0x30a)][_0x45e8be(0x351)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x45e8be(0x3a3)]());}async['_init'](){const _0x52a52a=_0x5e6c41,_0x5448dd=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x28d)),_0x3575cf=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x22d)),_0x12885a=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x365));if(!_0x5448dd||!_0x3575cf){this[_0x52a52a(0x30a)][_0x52a52a(0x351)](_0x52a52a(0x361),_0x52a52a(0x215));return;}const _0x287c02=await this[_0x52a52a(0x220)][_0x52a52a(0x300)](_0x5448dd,Number(_0x3575cf),_0x12885a);_0x287c02&&_0x287c02 instanceof _0x45ab4a&&this[_0x52a52a(0x331)](_0x287c02);}async[_0x5e6c41(0x331)](_0x412a54){const _0x57e09c=_0x5e6c41;await this[_0x57e09c(0x417)](_0x412a54),_0x412a54[_0x57e09c(0x3f0)][_0x57e09c(0x446)](_0x2c10e9(this[_0x57e09c(0x423)]))[_0x57e09c(0x377)](_0x518237=>{const _0x1fee97=_0x57e09c;_0x518237&&this[_0x1fee97(0x233)](_0x518237);}),this[_0x57e09c(0x2c2)][_0x57e09c(0x31c)]['pipe'](_0x2c10e9(this['dispose$']))['subscribe'](()=>this[_0x57e09c(0x417)](_0x412a54));}['_updateURLWithCurrentState'](_0x3cceea,_0x476730=!0x1){const _0x51d29e=_0x5e6c41,_0x1dc093=this['_urlService'][_0x51d29e(0x2d7)](_0x51d29e(0x365));_0x3cceea['getSheetId']()!==_0x1dc093&&this[_0x51d29e(0x2c2)]['setParam']('subunit',_0x3cceea['getSheetId'](),_0x476730);}async['_updateSubUnitFromURLParams'](_0x4da5f9){const _0x301909=_0x5e6c41;var _0x26155f;const _0x175e62=this[_0x301909(0x2c2)][_0x301909(0x2d7)](_0x301909(0x365));if(!_0x175e62||!_0x4da5f9[_0x301909(0x241)](_0x175e62)){const _0x544285=_0x4da5f9['getUnhiddenWorksheets']()[0x0],_0x141d2c=_0x4da5f9[_0x301909(0x241)](_0x544285);if(!_0x141d2c)return;this[_0x301909(0x233)](_0x141d2c,!0x0),await this[_0x301909(0x292)][_0x301909(0x33b)](_0x10d0b0['id'],{'unitId':_0x4da5f9[_0x301909(0x37d)](),'subUnitId':_0x544285});return;}((_0x26155f=_0x4da5f9[_0x301909(0x442)]())==null?void 0x0:_0x26155f[_0x301909(0x24e)]())!==_0x175e62&&await this[_0x301909(0x292)][_0x301909(0x33b)](_0x10d0b0['id'],{'unitId':_0x4da5f9[_0x301909(0x37d)](),'subUnitId':_0x175e62});}};ce=Li([K(0x0,yt),K(0x1,_0x4fe5ec),K(0x2,_0x51b600),K(0x3,_0x393365(_0x3a7b43)),K(0x4,_0xedba1f(_0x18359a))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xba13f9,_0xebabcf,_0x21bf81,_0x3beadd)=>{const _0x45b18c=_0x5e6c41;for(var _0x2c1e2e=_0x3beadd>0x1?void 0x0:_0x3beadd?Ui(_0xebabcf,_0x21bf81):_0xebabcf,_0x5b731e=_0xba13f9[_0x45b18c(0x3f6)]-0x1,_0xb41578;_0x5b731e>=0x0;_0x5b731e--)(_0xb41578=_0xba13f9[_0x5b731e])&&(_0x2c1e2e=_0xb41578(_0x2c1e2e)||_0x2c1e2e);return _0x2c1e2e;},rt=(_0x55fced,_0x3efeca)=>(_0x4697a2,_0x160ea4)=>_0x3efeca(_0x4697a2,_0x160ea4,_0x55fced);let $e=class extends _0x4e0967{constructor(_0x3b0a9b,_0x54fd81){const _0x23d24f=_0x5e6c41;super(),this[_0x23d24f(0x34d)]=_0x3b0a9b,this[_0x23d24f(0x321)]=_0x54fd81,this[_0x23d24f(0x3a3)]();}[_0x5e6c41(0x3a3)](){const _0x457aae=_0x5e6c41,_0x3545a0=this;this[_0x457aae(0x3be)](this['_docClipboardService'][_0x457aae(0x246)]({'onBeforePasteImage':async _0x13c9a1=>{const _0x3ddb54=_0x457aae,_0x568d41=await _0x3545a0[_0x3ddb54(0x321)][_0x3ddb54(0x2d8)](_0x13c9a1);return _0x568d41?{'source':_0x568d41[_0x3ddb54(0x2db)],'imageSourceType':_0x568d41[_0x3ddb54(0x40b)]}:null;}}));}};$e=Mi([rt(0x0,_0x1cfd89),rt(0x1,_0x5e9532)],$e);const ot=['purple.300',_0x5e6c41(0x253),_0x5e6c41(0x2ac),_0x5e6c41(0x1fd),_0x5e6c41(0x449),_0x5e6c41(0x2fb)];class Ke extends _0x52c1c5{constructor(){const _0x2b64ce=_0x5e6c41;super(...arguments),_(this,_0x2b64ce(0x437),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5bcf11){const _0x6a1090=_0x5e6c41;if(this[_0x6a1090(0x437)][_0x6a1090(0x3a4)](_0x5bcf11))return this[_0x6a1090(0x437)][_0x6a1090(0x38c)](_0x5bcf11);const _0x1b719f=ot[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%ot[_0x6a1090(0x3f6)],this[_0x6a1090(0x437)][_0x6a1090(0x1f7)](_0x5bcf11,_0x1b719f),_0x1b719f;}}function $t(_0x163341){const _0xbd148b=_0x5e6c41;let _0x2b8ac6='';for(const _0x12fd3f of _0x163341){const {startOffset:_0x3c8789,endOffset:_0x3595c0,isActive:_0x57340f,rangeType:_0x295869,segmentId:_0x2d20c4,segmentPage:_0x5a72ec}=_0x12fd3f;_0x2b8ac6[_0xbd148b(0x3f6)]&&(_0x2b8ac6+=','),_0x2b8ac6+=_0x3c8789+':'+_0x3595c0+':'+(_0x57340f?'1':'0')+':'+_0x295869+':'+_0x2d20c4+':'+_0x5a72ec;}return _0x2b8ac6;}function Ai(_0x295f70){const _0x22dcfd=_0x5e6c41,_0x105cb0=_0x295f70[_0x22dcfd(0x231)](','),_0x346d42=[];for(const _0x23366d of _0x105cb0){const [_0x6ea81,_0x2c70f9,_0x21e03e,_0x5460bf,_0x5d88dd,_0x501915]=_0x23366d[_0x22dcfd(0x231)](':');_0x346d42[_0x22dcfd(0x2aa)]({'startOffset':Number(_0x6ea81),'endOffset':Number(_0x2c70f9),'collapsed':_0x6ea81===_0x2c70f9,'isActive':_0x21e03e==='1','rangeType':_0x5460bf===_0x471f62[_0x22dcfd(0x3a6)]?_0x471f62['TEXT']:_0x471f62['RECT'],'segmentId':typeof _0x5d88dd==_0x22dcfd(0x407)?String(_0x5d88dd):'','segmentPage':Number(_0x501915!=null?_0x501915:-0x1)});}return _0x346d42[_0x22dcfd(0x39e)](_0x41110a=>_0x41110a[_0x22dcfd(0x27e)])||(_0x346d42[0x0][_0x22dcfd(0x27e)]=!0x0),_0x346d42;}class ze extends _0x4e0967{constructor(){const _0x1dd4cb=_0x5e6c41;super(...arguments),_(this,_0x1dd4cb(0x1f0),new _0x1a4d1e(null)),_(this,'collabCursorState$',this[_0x1dd4cb(0x1f0)][_0x1dd4cb(0x2a8)]());}[_0x5e6c41(0x229)](_0x1acca4){const _0x1b255f=_0x5e6c41,{unitID:_0x5218f1,memberID:_0x1c3a7c,textRanges:_0x563484}=_0x1acca4,_0x1410c7=$t(_0x563484);if(_0x1410c7==='')return;const _0x279842={'unitID':_0x5218f1,'memberID':_0x1c3a7c,'selection':_0x1410c7};this[_0x1b255f(0x1f0)][_0x1b255f(0x322)](_0x279842);}}var Pi=Object[_0x5e6c41(0x3e4)],wi=(_0x113ab8,_0xab2ef2,_0xe6478b,_0x2b0f24)=>{for(var _0x12f9fb=_0x2b0f24>0x1?void 0x0:_0x2b0f24?Pi(_0xab2ef2,_0xe6478b):_0xab2ef2,_0x26f1d1=_0x113ab8['length']-0x1,_0x1e18f6;_0x26f1d1>=0x0;_0x26f1d1--)(_0x1e18f6=_0x113ab8[_0x26f1d1])&&(_0x12f9fb=_0x1e18f6(_0x12f9fb)||_0x12f9fb);return _0x12f9fb;},A=(_0x1703a3,_0x17003b)=>(_0x261acc,_0x4bf573)=>_0x17003b(_0x261acc,_0x4bf573,_0x1703a3);const yi=0x12c,$i=0x64;let xe=class extends _0x4e0967{constructor(_0x4dce36,_0x53bf93,_0x47eeb3,_0x36f67a,_0x1fa032,_0x2733ab,_0x3a4d9a,_0xf91288,_0x184e2b){const _0x2bb5c1=_0x5e6c41;super(),_(this,_0x2bb5c1(0x2d2),!0x1),_(this,_0x2bb5c1(0x3a3),!0x1),_(this,'_cursorInfo$',new _0x1a4d1e(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x2bb5c1(0x2a8)]()),_(this,_0x2bb5c1(0x445),new _0x1a4d1e([])),_(this,_0x2bb5c1(0x3b3),this[_0x2bb5c1(0x445)][_0x2bb5c1(0x446)](_0x554f5e(yi))),_(this,_0x2bb5c1(0x22a),_0x2e72cf(_0x236a0f=>{const _0x26a0fc=_0x2bb5c1,_0x46c6d3={'eventID':_0xcc84c4[_0x26a0fc(0x335)],'data':{'unitID':this[_0x26a0fc(0x37c)],'memberID':this['_session'][_0x26a0fc(0x444)](),'selection':$t(_0x236a0f)}};this[_0x26a0fc(0x2bf)][_0x26a0fc(0x20f)](_0x46c6d3,this['unitID']);},$i)),(this['unitID']=_0x4dce36,this[_0x2bb5c1(0x2bf)]=_0x53bf93,this[_0x2bb5c1(0x254)]=_0x47eeb3,this[_0x2bb5c1(0x3ce)]=_0x36f67a,this[_0x2bb5c1(0x3cf)]=_0x1fa032,this[_0x2bb5c1(0x3e8)]=_0x2733ab,this[_0x2bb5c1(0x2e4)]=_0x3a4d9a,this[_0x2bb5c1(0x3d4)]=_0xf91288,this[_0x2bb5c1(0x292)]=_0x184e2b);}get[_0x5e6c41(0x21f)](){return this['_cursorInfo$']['getValue']();}get[_0x5e6c41(0x30b)](){const _0x476559=_0x5e6c41;return this['_roomMembers$'][_0x476559(0x428)]();}[_0x5e6c41(0x35f)](){const _0x4e7d73=_0x5e6c41;super[_0x4e7d73(0x35f)](),this[_0x4e7d73(0x1e9)]['next'](new Map()),this[_0x4e7d73(0x1e9)]['complete'](),this[_0x4e7d73(0x445)]['next']([]),this['_roomMembers$'][_0x4e7d73(0x1ed)]();}[_0x5e6c41(0x30e)](){const _0xd7d7f9=_0x5e6c41;this[_0xd7d7f9(0x3a3)]||(this['_init']=!0x0,this[_0xd7d7f9(0x2bf)][_0xd7d7f9(0x430)][_0xd7d7f9(0x446)](_0x2c10e9(this[_0xd7d7f9(0x423)]))[_0xd7d7f9(0x377)](_0x5836e5=>{const _0x6b015d=_0xd7d7f9;_0x5836e5===_0xbe9bd5[_0x6b015d(0x305)]?this[_0x6b015d(0x26f)]():this[_0x6b015d(0x38a)]();}),this[_0xd7d7f9(0x2bf)][_0xd7d7f9(0x415)][_0xd7d7f9(0x446)](_0x2c10e9(this['dispose$']))[_0xd7d7f9(0x377)](_0x221b0a=>{const _0x14d119=_0xd7d7f9,_0x504c3e=_0x221b0a[_0x14d119(0x3d9)];_0x504c3e===_0xcc84c4[_0x14d119(0x335)]&&this['_onCursorUpdate'](_0x221b0a),_0x504c3e===_0xcc84c4[_0x14d119(0x43a)]&&this[_0x14d119(0x3e0)](_0x221b0a);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2b3df3=>{const _0x382c33=_0xd7d7f9,_0x4049d7=_0x2b3df3[_0x382c33(0x372)];_0x4049d7!=null&&this['_online']&&_0x2b3df3['id']===_0x1b756a['id']&&_0x4049d7[_0x382c33(0x426)]===this[_0x382c33(0x37c)]&&_0x4049d7[_0x382c33(0x2b8)]===!0x1&&_0x4049d7[_0x382c33(0x2a3)]['length']>0x0&&this[_0x382c33(0x22a)](_0x4049d7[_0x382c33(0x2a3)]);})),this['_syncEditingCollabCursorService'][_0xd7d7f9(0x312)]['pipe'](_0x2c10e9(this[_0xd7d7f9(0x423)]))[_0xd7d7f9(0x377)](_0x13671b=>{const _0x4f606e=_0xd7d7f9;if((_0x13671b==null?void 0x0:_0x13671b[_0x4f606e(0x37c)])!==this[_0x4f606e(0x37c)])return;const _0x51f840={'eventID':_0xcc84c4[_0x4f606e(0x335)],'data':_0x13671b};this[_0x4f606e(0x309)](_0x51f840);}),this[_0xd7d7f9(0x3be)](this[_0xd7d7f9(0x292)][_0xd7d7f9(0x383)](_0x21b331=>{const _0x53c73d=_0xd7d7f9;if(_0x21b331['params']==null)return;const _0x469031=_0x21b331['params'];if(_0x21b331['id']!==_0x521baf['id']||_0x469031[_0x53c73d(0x426)]!==this['unitID'])return;const _0x2ef030={'id':_0x53c73d(0x3fb),'params':_0x469031},_0x2f86b3=this[_0x53c73d(0x21f)];for(const [_0x5a12c7,_0x5db8ce]of _0x2f86b3){const _0x122acd={'id':_0x53c73d(0x3fb),'params':{'unitId':this[_0x53c73d(0x37c)],'actions':null,'textRanges':_0x5db8ce[_0x53c73d(0x2a3)]}},_0x4a4ffd=this[_0x53c73d(0x2e4)][_0x53c73d(0x380)](_0x2ef030,_0x122acd,!0x1);if(_0xb2c014(_0x4a4ffd))throw _0x4a4ffd[_0x53c73d(0x3fc)];_0x2f86b3[_0x53c73d(0x1f7)](_0x5a12c7,{..._0x5db8ce,'ranges':_0x4a4ffd[_0x53c73d(0x336)][_0x53c73d(0x372)]['textRanges']});}queueMicrotask(()=>{const _0x4ba886=_0x53c73d;this[_0x4ba886(0x1e9)][_0x4ba886(0x322)](_0x2f86b3);});})));}[_0x5e6c41(0x309)](_0x585d49){const _0x541488=_0x5e6c41;var _0x95e4ca,_0x4d9f44;const {memberID:_0x442794,selection:_0x571875}=_0x585d49[_0x541488(0x425)],_0x4ff7ed=Ai(_0x571875),_0x37f56c=(_0x4d9f44=(_0x95e4ca=this['_memberService'][_0x541488(0x379)](this['unitID'],_0x442794))==null?void 0x0:_0x95e4ca[_0x541488(0x1f8)])!=null?_0x4d9f44:_0x541488(0x3d5),_0x4bc323={'color':this['_colorAssignService'][_0x541488(0x2ab)](_0x442794),'name':_0x37f56c,'ranges':_0x4ff7ed},_0x2314de=this[_0x541488(0x21f)];_0x2314de[_0x541488(0x1f7)](_0x442794,_0x4bc323),this[_0x541488(0x1e9)][_0x541488(0x322)](_0x2314de);}[_0x5e6c41(0x3e0)](_0x5a9d86){const _0x21455d=_0x5e6c41,{memberID:_0x55ece6}=_0x5a9d86[_0x21455d(0x425)],_0x3ca20d=this['cursorInfo'];_0x3ca20d[_0x21455d(0x25b)](_0x55ece6),this[_0x21455d(0x1e9)]['next'](_0x3ca20d);}[_0x5e6c41(0x26f)](){const _0x1a13ec=_0x5e6c41;var _0x3800d2;if(this[_0x1a13ec(0x2d2)]=!0x0,((_0x3800d2=this[_0x1a13ec(0x3d4)][_0x1a13ec(0x2af)]())==null?void 0x0:_0x3800d2[_0x1a13ec(0x37d)]())!==this[_0x1a13ec(0x37c)])return;const _0x367028=this[_0x1a13ec(0x254)][_0x1a13ec(0x38c)](_0x406d1c)['getDocRanges']();Array['isArray'](_0x367028)&&_0x367028['length']>0x0&&this[_0x1a13ec(0x22a)](_0x367028);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x393365(_0xaa1b4f)),A(0x3,_0x393365(Ke)),A(0x4,_0x393365(_0x365024)),A(0x5,_0x393365(ze)),A(0x6,_0x59b3e4),A(0x7,_0x49c215),A(0x8,_0x51b600)],xe);var xi=Object[_0x5e6c41(0x3e4)],Bi=(_0xb025f2,_0x29984d,_0x5f1e5d,_0x5ede02)=>{for(var _0x29461d=_0x5ede02>0x1?void 0x0:_0x5ede02?xi(_0x29984d,_0x5f1e5d):_0x29984d,_0x3028a9=_0xb025f2['length']-0x1,_0x5952b4;_0x3028a9>=0x0;_0x3028a9--)(_0x5952b4=_0xb025f2[_0x3028a9])&&(_0x29461d=_0x5952b4(_0x29461d)||_0x29461d);return _0x29461d;},B=(_0x4c4060,_0x141585)=>(_0x2be662,_0x2b1811)=>_0x141585(_0x2be662,_0x2b1811,_0x4c4060);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x13f907=[],_0x452f31=!0x1;return _0x966fbb=>{_0x13f907['push'](_0x966fbb),_0x452f31||(_0x452f31=!0x0,setTimeout(()=>{_0x13f907['forEach'](_0x435470=>_0x435470()),_0x13f907=[],_0x452f31=!0x1;}));};};let Be=class extends _0x4e0967{constructor(_0x30dd70,_0x1a1cd4,_0x43f875,_0x16abfe,_0x33f862,_0xdf9f19,_0x3f5687,_0x4bc1c5){const _0x5937c1=_0x5e6c41;super(),_(this,_0x5937c1(0x2d2),!0x1),_(this,_0x5937c1(0x3a3),!0x1),_(this,'_cursorInfo$',new _0x1a4d1e(new Map())),_(this,_0x5937c1(0x275),this[_0x5937c1(0x1e9)][_0x5937c1(0x2a8)]()),_(this,_0x5937c1(0x445),new _0x1a4d1e([])),_(this,_0x5937c1(0x3b3),this['_roomMembers$'][_0x5937c1(0x446)](_0x554f5e(Fi))),_(this,_0x5937c1(0x22a),_0x2e72cf((_0x3ef711,_0x379115)=>{const _0x44710d=_0x5937c1,_0x597b57={'eventID':_0xcc84c4[_0x44710d(0x335)],'data':{'unitID':this[_0x44710d(0x37c)],'memberID':this[_0x44710d(0x2bf)][_0x44710d(0x444)](),'selection':_0x32ee88(_0x3ef711,_0x379115[_0x44710d(0x238)])}};this[_0x44710d(0x2bf)][_0x44710d(0x20f)](_0x597b57,this[_0x44710d(0x37c)]);},ki)),(this[_0x5937c1(0x37c)]=_0x30dd70,this[_0x5937c1(0x2bf)]=_0x1a1cd4,this[_0x5937c1(0x254)]=_0x43f875,this[_0x5937c1(0x3ce)]=_0x16abfe,this[_0x5937c1(0x3cf)]=_0x33f862,this[_0x5937c1(0x3d4)]=_0xdf9f19,this['_commandService']=_0x3f5687,this[_0x5937c1(0x355)]=_0x4bc1c5);}get[_0x5e6c41(0x21f)](){const _0x45cddb=_0x5e6c41;return this[_0x45cddb(0x1e9)]['getValue']();}get[_0x5e6c41(0x30b)](){const _0x2bf8de=_0x5e6c41;return this[_0x2bf8de(0x445)][_0x2bf8de(0x428)]();}['dispose'](){const _0x1b72d9=_0x5e6c41;super[_0x1b72d9(0x35f)](),this[_0x1b72d9(0x1e9)]['next'](new Map()),this[_0x1b72d9(0x1e9)][_0x1b72d9(0x1ed)](),this[_0x1b72d9(0x445)][_0x1b72d9(0x322)]([]),this[_0x1b72d9(0x445)]['complete']();}[_0x5e6c41(0x30e)](){const _0x2695dc=_0x5e6c41;this[_0x2695dc(0x3a3)]||(this[_0x2695dc(0x3a3)]=!0x0,this[_0x2695dc(0x2bf)][_0x2695dc(0x430)][_0x2695dc(0x446)](_0x2c10e9(this[_0x2695dc(0x423)]))[_0x2695dc(0x377)](_0x3cb893=>{const _0x202f94=_0x2695dc;_0x3cb893===_0xbe9bd5[_0x202f94(0x305)]?this[_0x202f94(0x26f)]():this[_0x202f94(0x38a)]();}),this[_0x2695dc(0x2bf)][_0x2695dc(0x415)][_0x2695dc(0x446)](_0x2c10e9(this[_0x2695dc(0x423)]))[_0x2695dc(0x377)](_0x41e00d=>{const _0x62890c=_0x2695dc,_0x2b73d2=_0x41e00d[_0x62890c(0x3d9)];_0x2b73d2===_0xcc84c4[_0x62890c(0x335)]&&this[_0x62890c(0x309)](_0x41e00d),_0x2b73d2===_0xcc84c4[_0x62890c(0x43a)]&&this['_onCursorDelete'](_0x41e00d);}),this[_0x2695dc(0x31b)](),this[_0x2695dc(0x3be)](this[_0x2695dc(0x292)][_0x2695dc(0x383)](_0x3a8f5a=>{const _0x52db42=_0x2695dc;if(this['_online']&&_0x3a8f5a['id']===_0x373183['id']&&_0x3a8f5a[_0x52db42(0x372)][_0x52db42(0x426)]===this[_0x52db42(0x37c)]){const _0x263a74=_0x3a8f5a[_0x52db42(0x372)];this['_updateLocalCursor'](_0x263a74[_0x52db42(0x22f)],_0x263a74[_0x52db42(0x327)][0x0]);}})));}['_onCursorUpdate'](_0x361a40){const _0x3f6a64=_0x5e6c41;var _0x5456af,_0x564b75;const {memberID:_0x4ddc48,selection:_0x41422c}=_0x361a40['data'],{sheetName:_0x1e9f85,range:_0x1c28aa}=_0x542628(_0x41422c),_0x107e84={'name':(_0x564b75=(_0x5456af=this[_0x3f6a64(0x3cf)]['getMember'](this[_0x3f6a64(0x37c)],_0x4ddc48))==null?void 0x0:_0x5456af[_0x3f6a64(0x1f8)])!=null?_0x564b75:_0x3f6a64(0x3d5),'range':this[_0x3f6a64(0x27c)](_0x1e9f85,_0x1c28aa),'sheetID':_0x1e9f85,'color':this[_0x3f6a64(0x3ce)][_0x3f6a64(0x2ab)](_0x4ddc48),'selection':_0x41422c},_0x27be00=this['cursorInfo'];_0x27be00['set'](_0x4ddc48,_0x107e84),this[_0x3f6a64(0x1e9)][_0x3f6a64(0x322)](_0x27be00);}[_0x5e6c41(0x3e0)](_0x2e84e2){const _0x26d202=_0x5e6c41,{memberID:_0x37d78d}=_0x2e84e2['data'],_0x39fe34=this[_0x26d202(0x21f)];_0x39fe34[_0x26d202(0x25b)](_0x37d78d),this[_0x26d202(0x1e9)][_0x26d202(0x322)](_0x39fe34);}[_0x5e6c41(0x27c)](_0x445b6e,_0x32af19){const _0x3bc3a3=_0x5e6c41;var _0x4aeb69,_0x1ba46b;const _0x41ed11=(_0x1ba46b=(_0x4aeb69=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3bc3a3(0x37c)]))==null?void 0x0:_0x4aeb69[_0x3bc3a3(0x241)](_0x445b6e))==null?void 0x0:_0x1ba46b['getMergeData']();return(_0x41ed11==null?void 0x0:_0x41ed11[_0x3bc3a3(0x435)](_0x434a26=>_0xbac35e[_0x3bc3a3(0x299)](_0x434a26,_0x32af19)))||_0x32af19;}[_0x5e6c41(0x31b)](){const _0x5a6bb1=_0x5e6c41,_0xbb3b=new _0x57df36(),_0x442dd1=Hi(),_0x482bee=()=>{const _0xbe0b2f=_0x3e50;_0xbb3b[_0xbe0b2f(0x35f)]();const _0x393e90=(_0x2a4d00,_0x3f6164,_0x5bfd5b,_0x419d90)=>{const _0x400d9d=_0xbe0b2f;let _0x362911=[];switch(_0x2a4d00['id']){case _0x4d4aef[_0x400d9d(0x313)]:{_0x362911=_0x41fb43(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x343)]:{_0x362911=_0x221b9b(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x41c)]:{_0x362911=_0x1ffe26(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x297)]:{_0x362911=_0x31cf40(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x247)]:{_0x362911=_0x5c68e5(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x3c5)]:{_0x362911=_0x2e721c(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x1fe)]:{_0x362911=_0x51febe(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x34e)]:{_0x362911=_0x1adf19(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x2e7)]:{_0x362911=_0x3e1616(_0x2a4d00,_0x419d90);break;}}const _0x2619c1=_0x3019e5(_0x362911,_0x419d90),_0xeba6e5=this[_0x400d9d(0x21f)][_0x400d9d(0x38c)](_0x3f6164);if(_0xeba6e5&&_0x2619c1){const _0x396095={..._0xeba6e5,'range':_0x2619c1};this[_0x400d9d(0x21f)]['set'](_0x3f6164,_0x396095),_0x442dd1(()=>{const _0x2901b1=_0x400d9d,_0x588055=this[_0x2901b1(0x355)]['registerRefRange'](_0x2619c1,_0x2e27bb=>(_0x588055['dispose'](),_0x393e90(_0x2e27bb,_0x3f6164,_0x5bfd5b,_0x2619c1)));_0xbb3b['add'](_0x588055);});}return{'redos':[],'undos':[]};};this[_0xbe0b2f(0x21f)][_0xbe0b2f(0x396)]((_0xc730c2,_0x1d8b98)=>{const _0x38785a=_0xbe0b2f,{range:_0x1afeab,sheetID:_0x435308}=_0xc730c2,_0xfb97d7=this[_0x38785a(0x355)][_0x38785a(0x26b)](_0x1afeab,_0x4bdaca=>(_0xfb97d7[_0x38785a(0x35f)](),_0x393e90(_0x4bdaca,_0x1d8b98,_0x435308,_0x1afeab)));_0xbb3b[_0x38785a(0x3a1)](_0xfb97d7);});};this[_0x5a6bb1(0x3be)](_0x4d6e0f(this[_0x5a6bb1(0x1e9)][_0x5a6bb1(0x377)](()=>{_0x482bee();})));}[_0x5e6c41(0x26f)](){const _0xa691b4=_0x5e6c41;var _0x267e0f,_0x3deeb9;if(this[_0xa691b4(0x2d2)]=!0x0,((_0x267e0f=this[_0xa691b4(0x3d4)][_0xa691b4(0x2af)]())==null?void 0x0:_0x267e0f['getUnitId']())!==this['unitID'])return;const _0x21ed77=(_0x3deeb9=this[_0xa691b4(0x254)][_0xa691b4(0x38c)](_0x211a3e)[_0xa691b4(0x2e3)]())==null?void 0x0:_0x3deeb9[0x0],_0xecbb1f=this[_0xa691b4(0x3d4)][_0xa691b4(0x3ef)](_0x3f2b66['UNIVER_SHEET'])['getActiveSheet']();_0x21ed77&&_0xecbb1f&&this[_0xa691b4(0x22a)](_0xecbb1f[_0xa691b4(0x24e)](),_0x21ed77);}['_toggleOffline'](){this['_online']=!0x1;}};function _0x3e50(_0x4502c5,_0x4cd0d4){const _0x4cf4bd=_0x4cf4();return _0x3e50=function(_0x3e50e9,_0x492496){_0x3e50e9=_0x3e50e9-0x1e7;let _0xc3029e=_0x4cf4bd[_0x3e50e9];return _0xc3029e;},_0x3e50(_0x4502c5,_0x4cd0d4);}Be=Bi([B(0x2,_0x393365(_0xaa1b4f)),B(0x3,_0x393365(Ke)),B(0x4,_0x393365(_0x365024)),B(0x5,_0x49c215),B(0x6,_0x51b600),B(0x7,_0x393365(_0x248d6f))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x5a7bce,_0x16dd7f,_0x3c7570,_0x1b0cb8)=>{for(var _0x334ce2=_0x1b0cb8>0x1?void 0x0:_0x1b0cb8?Yi(_0x16dd7f,_0x3c7570):_0x16dd7f,_0x15b276=_0x5a7bce['length']-0x1,_0x487afc;_0x15b276>=0x0;_0x15b276--)(_0x487afc=_0x5a7bce[_0x15b276])&&(_0x334ce2=_0x487afc(_0x334ce2)||_0x334ce2);return _0x334ce2;},Ce=(_0x4d2dd5,_0x46b57c)=>(_0x23dcc4,_0x3d249e)=>_0x46b57c(_0x23dcc4,_0x3d249e,_0x4d2dd5);let H=class extends _0x4e0967{constructor(_0x25cdb0,_0x58cfec,_0x9d6340){const _0x5b975a=_0x5e6c41;super(),_(this,_0x5b975a(0x2b7),new Map()),_(this,'_entityInit$',new _0x1763c5()),(this[_0x5b975a(0x3d4)]=_0x25cdb0,this[_0x5b975a(0x254)]=_0x58cfec,this[_0x5b975a(0x27d)]=_0x9d6340,this[_0x5b975a(0x3a3)]());}['dispose'](){const _0x3e07c5=_0x5e6c41;super[_0x3e07c5(0x35f)](),this[_0x3e07c5(0x368)][_0x3e07c5(0x1ed)](),this[_0x3e07c5(0x2b7)][_0x3e07c5(0x396)](_0x25b19e=>_0x25b19e[_0x3e07c5(0x35f)]());}['getCollabCursors$'](_0xe78be7){const _0x1d250d=_0x5e6c41;return this[_0x1d250d(0x2b7)]['has'](_0xe78be7)?this[_0x1d250d(0x2b7)][_0x1d250d(0x38c)](_0xe78be7)[_0x1d250d(0x275)]:this[_0x1d250d(0x368)][_0x1d250d(0x446)](_0x34512d(_0xc9b8ce=>_0xc9b8ce[_0x1d250d(0x37c)]===_0xe78be7),_0x3c03a3(_0x31bbdf=>_0x31bbdf[_0x1d250d(0x275)]));}[_0x5e6c41(0x3a3)](){const _0x3b689d=_0x5e6c41;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3f2b66[_0x3b689d(0x3ca)])[_0x3b689d(0x446)](_0x2c10e9(this['dispose$']))[_0x3b689d(0x377)](async _0x517a70=>{const _0xac04cf=_0x3b689d,_0x4d48ce=_0x517a70[_0xac04cf(0x37d)](),_0x35fa1f=await this[_0xac04cf(0x298)](_0x4d48ce);this[_0xac04cf(0x368)]['next'](_0x35fa1f),this[_0xac04cf(0x2b7)]['set'](_0x4d48ce,_0x35fa1f);}),this[_0x3b689d(0x3d4)][_0x3b689d(0x3e5)](_0x3f2b66[_0x3b689d(0x2c3)])[_0x3b689d(0x446)](_0x2c10e9(this[_0x3b689d(0x423)]))['pipe'](_0x34512d(_0x7dbe28=>!_0x7dbe28[_0x3b689d(0x37d)]()[_0x3b689d(0x346)]('__')))[_0x3b689d(0x377)](async _0x346c96=>{const _0xc01cf6=_0x3b689d,_0x2aabdb=_0x346c96['getUnitId'](),_0x15395d=await this[_0xc01cf6(0x340)](_0x2aabdb);this[_0xc01cf6(0x368)][_0xc01cf6(0x322)](_0x15395d),this[_0xc01cf6(0x2b7)][_0xc01cf6(0x1f7)](_0x2aabdb,_0x15395d);}),_0x571abd(this['_univerInstanceService'][_0x3b689d(0x3d7)](_0x3f2b66[_0x3b689d(0x2c3)]),this[_0x3b689d(0x3d4)][_0x3b689d(0x3d7)](_0x3f2b66[_0x3b689d(0x3ca)]))[_0x3b689d(0x446)](_0x2c10e9(this[_0x3b689d(0x423)]))[_0x3b689d(0x377)](_0x373d97=>{const _0x56a292=_0x3b689d,_0x14b6e7=_0x373d97['getUnitId'](),_0x5dbb5e=this[_0x56a292(0x2b7)][_0x56a292(0x38c)](_0x14b6e7);_0x5dbb5e&&(_0x5dbb5e[_0x56a292(0x35f)](),this[_0x56a292(0x2b7)][_0x56a292(0x25b)](_0x14b6e7));});}async[_0x5e6c41(0x298)](_0x1f046d){const _0x2630ad=_0x5e6c41,_0x291217=await this[_0x2630ad(0x27d)][_0x2630ad(0x408)](_0x1f046d),_0x498d98=this[_0x2630ad(0x254)][_0x2630ad(0x330)](Be,_0x1f046d,_0x291217);return _0x498d98[_0x2630ad(0x30e)](),_0x498d98;}async[_0x5e6c41(0x340)](_0x475252){const _0x5e6575=_0x5e6c41,_0x65277b=await this['_collabSessionService'][_0x5e6575(0x408)](_0x475252),_0xcd1ce0=this[_0x5e6575(0x254)][_0x5e6575(0x330)](xe,_0x475252,_0x65277b);return _0xcd1ce0['init'](),_0xcd1ce0;}};H=Wi([Ce(0x0,_0x49c215),Ce(0x1,_0x393365(_0xaa1b4f)),Ce(0x2,_0x393365(_0x48a112))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x4784e4,_0x4bb41e){const _0x11eafc=_0x5e6c41;let {radius:_0x3fbb3a,width:_0x21eff4,height:_0x55b304}=_0x4bb41e;_0x3fbb3a=_0x3fbb3a!=null?_0x3fbb3a:0x0,_0x21eff4=_0x21eff4!=null?_0x21eff4:0x1e,_0x55b304=_0x55b304!=null?_0x55b304:0x1e;let _0x200752=0x0,_0x6ddfd4=0x0,_0x34acae=0x0;_0x200752=_0x6ddfd4=_0x34acae=Math[_0x11eafc(0x320)](_0x3fbb3a,_0x21eff4/0x2,_0x55b304/0x2),_0x4784e4[_0x11eafc(0x393)](),_0x4784e4[_0x11eafc(0x239)](_0x200752,0x0),_0x4784e4['lineTo'](_0x21eff4-_0x6ddfd4,0x0),_0x4784e4[_0x11eafc(0x205)](_0x21eff4-_0x6ddfd4,_0x6ddfd4,_0x6ddfd4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4784e4[_0x11eafc(0x283)](_0x21eff4,_0x55b304-_0x34acae),_0x4784e4['arc'](_0x21eff4-_0x34acae,_0x55b304-_0x34acae,_0x34acae,0x0,Math['PI']/0x2,!0x1),_0x4784e4[_0x11eafc(0x283)](0x0,_0x55b304),_0x4784e4[_0x11eafc(0x283)](0x0,_0x200752),_0x4784e4[_0x11eafc(0x205)](_0x200752,_0x200752,_0x200752,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4784e4[_0x11eafc(0x2ce)](),_0x4bb41e[_0x11eafc(0x387)]&&(_0x4784e4[_0x11eafc(0x37e)](),_0x4784e4[_0x11eafc(0x326)]=_0x4bb41e[_0x11eafc(0x387)],_0x4bb41e[_0x11eafc(0x1ea)]==='evenodd'?_0x4784e4['fill'](_0x11eafc(0x295)):_0x4784e4[_0x11eafc(0x387)](),_0x4784e4[_0x11eafc(0x2c1)]());}class Ee extends _0x8dc89a{constructor(_0x559acb,_0x23cb92){const _0x3ac249=_0x5e6c41;super(_0x559acb,_0x23cb92),_(this,_0x3ac249(0x39b)),_(this,_0x3ac249(0x33f)),(this[_0x3ac249(0x39b)]=_0x23cb92==null?void 0x0:_0x23cb92[_0x3ac249(0x39b)],this[_0x3ac249(0x33f)]=_0x23cb92==null?void 0x0:_0x23cb92[_0x3ac249(0x33f)]);}static[_0x5e6c41(0x3a5)](_0x11ce6d,_0x5e26e6){const _0x290f95=_0x5e6c41,{text:_0xb6c60b,color:_0x5e2708}=_0x5e26e6;_0x11ce6d[_0x290f95(0x37e)](),_0x11ce6d[_0x290f95(0x272)]=_0x290f95(0x2f8);const _0x31a285=_0x11ce6d[_0x290f95(0x370)](_0xb6c60b)[_0x290f95(0x29b)],_0x4b17c3=Math[_0x290f95(0x320)](_0x31a285+0x2*Re,at);Vi(_0x11ce6d,{'height':Q,'radius':0x4,'width':_0x4b17c3,'fill':_0x5e2708}),_0x11ce6d['fillStyle']=_0x290f95(0x286);const _0x53c458=Re,_0x24a117=Q-ji,_0xba5fe9=at-0x2*Re;if(_0x31a285>_0xba5fe9){let _0x1fb703='',_0x248d03=0x0;for(const _0x565f66 of _0xb6c60b){const _0x555a3a=_0x11ce6d['measureText'](_0x565f66)[_0x290f95(0x29b)];if(_0x248d03+_0x555a3a<=_0xba5fe9-_0x11ce6d[_0x290f95(0x370)]('...')[_0x290f95(0x29b)])_0x1fb703+=_0x565f66,_0x248d03+=_0x555a3a;else{_0x1fb703+=_0x290f95(0x223);break;}}_0x11ce6d['fillText'](_0x1fb703,_0x53c458,_0x24a117);}else _0x11ce6d[_0x290f95(0x40d)](_0xb6c60b,_0x53c458,_0x24a117);_0x11ce6d[_0x290f95(0x2c1)]();}[_0x5e6c41(0x413)](_0x2d81cf){const _0x2331eb=_0x5e6c41;Ee[_0x2331eb(0x3a5)](_0x2d81cf,this);}}const De=_0x5e6c41(0x3b2),Xi=_0x5e6c41(0x3db),Gi=_0x5e6c41(0x207),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x5e6c41(0x319);class ct{constructor(_0x2c77e0,_0x47fae2,_0x366452,_0x1aea65){const _0x22ebf0=_0x5e6c41;_(this,_0x22ebf0(0x31e),[]),_(this,_0x22ebf0(0x2f3),null),_(this,_0x22ebf0(0x277),null),_(this,_0x22ebf0(0x279),null),_(this,'_hideTimer',null),_(this,_0x22ebf0(0x354),null),(this[_0x22ebf0(0x228)]=_0x2c77e0,this[_0x22ebf0(0x2ed)]=_0x47fae2,this['_docSkeleton']=_0x366452,this['_document']=_0x1aea65,this[_0x22ebf0(0x332)]());}set[_0x5e6c41(0x3f4)](_0x4922c7){const _0x20238c=_0x5e6c41;_0x4922c7?(this[_0x20238c(0x279)]&&this[_0x20238c(0x279)][_0x20238c(0x29e)](),this['_textBubble']&&this['_textBubble'][_0x20238c(0x42c)]()):(this[_0x20238c(0x279)]&&this[_0x20238c(0x279)][_0x20238c(0x42c)](),this[_0x20238c(0x277)]&&this['_textBubble']['hide']());}[_0x5e6c41(0x35f)](){const _0x49e527=_0x5e6c41;for(const _0x622aaa of this['_shapes'])_0x622aaa[_0x49e527(0x35f)]();this['_textBubble']&&this[_0x49e527(0x277)]['dispose'](),this['_anchorDot']&&this[_0x49e527(0x279)][_0x49e527(0x35f)](),this[_0x49e527(0x2f3)]&&this[_0x49e527(0x2f3)][_0x49e527(0x35f)](),this[_0x49e527(0x354)]&&this[_0x49e527(0x354)]();}[_0x5e6c41(0x332)](){const _0x4d1a07=_0x5e6c41;var _0x54976a;const {_docSkeleton:_0x487fa4,_document:_0x2978c1}=this,{color:_0x28cfcf,name:_0x4e8346,ranges:_0x7c2f87}=this['_cursor'],_0x10c079=_0x2978c1[_0x4d1a07(0x35b)](),{docsLeft:_0x5e0340,docsTop:_0x785d64}=_0x10c079,_0x40a1af=new _0x4d070d(_0x10c079,_0x487fa4);for(const {startOffset:_0x41c06c,endOffset:_0x3bd333,rangeType:_0x27700c,segmentId:_0x2ec11c,segmentPage:_0x5ca3a7,collapsed:_0x47b13a,isActive:_0x68fc83}of _0x7c2f87){const _0x44595f=_0x487fa4[_0x4d1a07(0x21a)](_0x41c06c,!0x0,_0x2ec11c,_0x5ca3a7);let _0x8359e4=_0x487fa4[_0x4d1a07(0x21a)](_0x3bd333,!0x0,_0x2ec11c,_0x5ca3a7);if(_0x8359e4==null&&(_0x8359e4=_0x487fa4[_0x4d1a07(0x21a)](_0x3bd333-0x1,!0x1,_0x2ec11c,_0x5ca3a7)),_0x68fc83){const {contentBoxPointGroup:_0x4d2a4c}=_0x40a1af[_0x4d1a07(0x252)](_0x8359e4,_0x8359e4);if(_0x4d2a4c[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x41a)](_0x28cfcf,_0x4d2a4c,_0x5e0340,_0x785d64,_0x4e8346),this[_0x4d1a07(0x354)]=this[_0x4d1a07(0x39a)]();}if(_0x44595f&&_0x8359e4){if(_0x27700c===_0x471f62[_0x4d1a07(0x39d)]){const _0x462332=new _0x440298(_0x10c079,_0x487fa4),{pointGroup:_0x204891}=(_0x54976a=_0x462332[_0x4d1a07(0x252)](_0x44595f,_0x8359e4))!=null?_0x54976a:{};if(_0x204891==null||_0x204891[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x249)](_0x28cfcf,_0x204891,_0x5e0340,_0x785d64);}else{if(!_0x47b13a){const {borderBoxPointGroup:_0x535127}=_0x40a1af[_0x4d1a07(0x252)](_0x44595f,_0x8359e4);if(_0x535127[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x232)](_0x28cfcf,_0x535127,_0x5e0340,_0x785d64);}}}}}[_0x5e6c41(0x41a)](_0x494ecd,_0x582ce7,_0x431fea,_0x1914e1,_0x5b77fa){const _0x4166fc=_0x5e6c41,_0x46a981=this[_0x4166fc(0x221)](_0x582ce7),{left:_0x135267,top:_0x9789ae,height:_0x197c9b}=_0x46a981,_0x5441b9=this['_getScale'](),_0x277865=zi/_0x5441b9,_0x5e33fb=new _0x1b61d8(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1,'height':_0x197c9b,'width':Ki,'fill':_0x494ecd||_0x3af192(_0x1273e0['black'],0x0),'strokeWidth':_0x277865,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x5e33fb,this[_0x4166fc(0x2ed)][_0x4166fc(0x38d)](_0x5e33fb,_0x2ff152);const _0xbf17f9=new _0x1b61d8(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1-be/0x2,'height':be,'width':be,'fill':_0x494ecd||_0x3af192(_0x1273e0[_0x4166fc(0x35e)],0x0),'strokeWidth':0x0,'stroke':_0x494ecd||_0x3af192(_0x1273e0[_0x4166fc(0x35e)],0x0),'evented':!0x1});this[_0x4166fc(0x279)]=_0xbf17f9,this['_scene'][_0x4166fc(0x38d)](_0xbf17f9,_0x2ff152);const _0x43695b=new Ee(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1-Q,'text':_0x5b77fa,'color':_0x494ecd});this[_0x4166fc(0x277)]=_0x43695b,this[_0x4166fc(0x2ed)]['addObject'](_0x43695b,_0x2ff152),this['_hover']=!0x1;}['_handleHover'](){const _0x51ade4=_0x5e6c41,_0x2421f8=this[_0x51ade4(0x2f3)][_0x51ade4(0x43e)][_0x51ade4(0x42b)](()=>{const _0x319bf7=_0x51ade4;this[_0x319bf7(0x3f4)]=!0x0;}),_0xfee64a=this[_0x51ade4(0x2f3)][_0x51ade4(0x251)][_0x51ade4(0x42b)](()=>{const _0x520307=_0x51ade4;this[_0x520307(0x24c)]&&clearTimeout(this[_0x520307(0x24c)]),this[_0x520307(0x24c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x131caf=_0x51ade4;_0x2421f8[_0x131caf(0x21c)](),_0xfee64a[_0x131caf(0x21c)]();};}[_0x5e6c41(0x232)](_0x18b269,_0xbcb5a4,_0x45fb4e,_0x944c70){const _0x46e3e0=_0x5e6c41,_0x312730=new _0x67e137(_0x18b269)[_0x46e3e0(0x339)](0.2)[_0x46e3e0(0x34c)](),_0x14a05f=new _0x358fac(Xi+_0x220a66(z),{'pointsGroup':_0xbcb5a4,'fill':_0x312730||_0x3af192(_0x1273e0[_0x46e3e0(0x35e)],0.2),'left':_0x45fb4e,'top':_0x944c70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46e3e0(0x31e)][_0x46e3e0(0x2aa)](_0x14a05f),this['_scene'][_0x46e3e0(0x38d)](_0x14a05f,_0x2ff152);}[_0x5e6c41(0x249)](_0x54ecfe,_0x19d9ac,_0x5f53fa,_0xf97d8f){const _0xa94d28=_0x5e6c41,_0x37cc8d=new _0x67e137(_0x54ecfe)[_0xa94d28(0x339)](0.2)['toRgbString'](),_0x3eabf8=new _0x358fac(Gi+_0x220a66(z),{'pointsGroup':_0x19d9ac,'fill':_0x37cc8d||_0x3af192(_0x1273e0[_0xa94d28(0x35e)],0.2),'left':_0x5f53fa,'top':_0xf97d8f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xa94d28(0x2aa)](_0x3eabf8),this[_0xa94d28(0x2ed)]['addObject'](_0x3eabf8,_0x2ff152);}['_getAnchorBounding'](_0x4359b1){const _0x4e0602=_0x4359b1[0x0],_0x534250=_0x4e0602[0x0],_0x41b6b6=_0x4e0602[0x2],{x:_0x4b85c1,y:_0x329d01}=_0x534250,{x:_0x305e4a,y:_0xa51b27}=_0x41b6b6;return{'left':_0x4b85c1,'top':_0x329d01,'width':_0x305e4a-_0x4b85c1,'height':_0xa51b27-_0x329d01};}[_0x5e6c41(0x36c)](){const _0x47905f=_0x5e6c41,{scaleX:_0x3cf0fe,scaleY:_0x5ab148}=this['_scene'][_0x47905f(0x226)]();return Math[_0x47905f(0x357)](_0x3cf0fe,_0x5ab148);}}var Zi=Object[_0x5e6c41(0x3e4)],Qi=(_0x468ef7,_0xdd36cd,_0x4f0404,_0x1e7f37)=>{for(var _0x37d1af=_0x1e7f37>0x1?void 0x0:_0x1e7f37?Zi(_0xdd36cd,_0x4f0404):_0xdd36cd,_0x368576=_0x468ef7['length']-0x1,_0x5047fa;_0x368576>=0x0;_0x368576--)(_0x5047fa=_0x468ef7[_0x368576])&&(_0x37d1af=_0x5047fa(_0x37d1af)||_0x37d1af);return _0x37d1af;},ie=(_0x4ec232,_0x1ff3f2)=>(_0x5b9b21,_0x1e0460)=>_0x1ff3f2(_0x5b9b21,_0x1e0460,_0x4ec232);let Fe=class extends _0x4e0967{constructor(_0x224669,_0x3e2e87,_0x469b93,_0xe2fff9,_0x4ca898){const _0x100605=_0x5e6c41;super(),_(this,_0x100605(0x2fc),[]),_(this,_0x100605(0x448),[]),(this[_0x100605(0x25e)]=_0x224669,this[_0x100605(0x28c)]=_0x3e2e87,this[_0x100605(0x23e)]=_0x469b93,this[_0x100605(0x292)]=_0xe2fff9,this[_0x100605(0x2c8)]=_0x4ca898,this[_0x100605(0x3a3)]());}[_0x5e6c41(0x3a3)](){const _0x40d06a=_0x5e6c41,_0x5092a2=this[_0x40d06a(0x25e)][_0x40d06a(0x426)],_0xfc89e8=this[_0x40d06a(0x28c)];this['disposeWithMe'](_0x3c0103([this[_0x40d06a(0x23e)][_0x40d06a(0x349)](_0x5092a2),this[_0x40d06a(0x2c8)][_0x40d06a(0x33c)]])[_0x40d06a(0x446)](_0x4770b7(([_0x5caf3a,_0x13f2f8])=>({'skeleton':_0xfc89e8[_0x40d06a(0x3c3)](),'cursors':[..._0x5caf3a[_0x40d06a(0x392)]()][_0x40d06a(0x2b9)](_0x4de87c=>({..._0x4de87c,'color':this['_themeService']['getColorFromTheme'](_0x4de87c[_0x40d06a(0x39b)])}))})))[_0x40d06a(0x377)](_0x5640b8=>{const _0x23dc2c=_0x40d06a;if(this[_0x23dc2c(0x39c)](),_0x5640b8){const {skeleton:_0x221414,cursors:_0x3f5c24}=_0x5640b8;this[_0x23dc2c(0x23c)](_0x221414,_0x3f5c24);}})),this[_0x40d06a(0x41d)](),this[_0x40d06a(0x36b)]();}[_0x5e6c41(0x23c)](_0x3772b7,_0x156116){const _0x394d79=_0x5e6c41,{scene:_0x5176d2,mainComponent:_0x4fb248}=this[_0x394d79(0x25e)],_0x5ef58f=_0x156116['map'](_0x555da2=>new ct(_0x555da2,_0x5176d2,_0x3772b7,_0x4fb248));this[_0x394d79(0x2fc)]=_0x5ef58f,this[_0x394d79(0x448)]=_0x156116;}[_0x5e6c41(0x3de)](){const _0x3ddec9=_0x5e6c41;this[_0x3ddec9(0x39c)]();const {scene:_0x5519f4,mainComponent:_0x5ecf5d}=this[_0x3ddec9(0x25e)],_0x4be27f=this[_0x3ddec9(0x28c)][_0x3ddec9(0x3c3)](),_0x4ddd61=this[_0x3ddec9(0x448)][_0x3ddec9(0x315)](_0x24ca73=>new ct(_0x24ca73,_0x5519f4,_0x4be27f,_0x5ecf5d));this[_0x3ddec9(0x2fc)]=_0x4ddd61;}[_0x5e6c41(0x39c)](){const _0x421402=_0x5e6c41;this[_0x421402(0x2fc)]['forEach'](_0x1d743f=>_0x1d743f['dispose']()),this[_0x421402(0x2fc)]=[];}[_0x5e6c41(0x36b)](){const _0x2e9d51=_0x5e6c41,_0xd1ad44=[_0x1d3151['id']];this['disposeWithMe'](this[_0x2e9d51(0x292)]['onCommandExecuted'](_0x1e1d28=>{const _0x4ecb94=_0x2e9d51;_0xd1ad44['includes'](_0x1e1d28['id'])&&_0x1e1d28['params']['unitId']===this['_context'][_0x4ecb94(0x426)]&&this[_0x4ecb94(0x3de)]();}));}[_0x5e6c41(0x41d)](){const _0x1503a7=_0x5e6c41;this[_0x1503a7(0x3be)](_0x386729(this['_context']['engine'][_0x1503a7(0x3ee)])[_0x1503a7(0x446)](_0x2fc674(_0x19e403=>_0x19e403[_0x1503a7(0x22d)]===_0x1681f6[_0x1503a7(0x3fd)]),_0x1c2466(0x10))[_0x1503a7(0x377)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x393365(_0x16f56d)),ie(0x2,_0x393365(H)),ie(0x3,_0x51b600),ie(0x4,_0x393365(_0x348b48))],Fe);const qi=0x1,en=1.5;class tn extends _0x8dc89a{constructor(_0x1da5b7,_0x2b1bde){const _0x2a4c55=_0x5e6c41;super(_0x1da5b7,_0x2b1bde),_(this,_0x2a4c55(0x398)),_(this,'_hovered',!0x1),_(this,_0x2a4c55(0x284)),_(this,_0x2a4c55(0x29c),''),_(this,_0x2a4c55(0x2c6),_0x2a4c55(0x2d6)),_(this,_0x2a4c55(0x20c)),(_0x2b1bde&&this[_0x2a4c55(0x43c)](_0x2b1bde),this[_0x2a4c55(0x43e)][_0x2a4c55(0x42b)](()=>this[_0x2a4c55(0x43c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2a4c55(0x42b)](()=>this[_0x2a4c55(0x43c)]({'hovered':!0x1})));}['setShapeProps'](_0x45a963){const _0x3b2e65=_0x5e6c41;var _0xedbad6,_0x4a8791,_0x5c323b,_0x14329c,_0x16d907,_0x2c1b00;this[_0x3b2e65(0x398)]=(_0xedbad6=_0x45a963[_0x3b2e65(0x39b)])!=null?_0xedbad6:this[_0x3b2e65(0x398)],this[_0x3b2e65(0x287)]=(_0x4a8791=_0x45a963[_0x3b2e65(0x3da)])!=null?_0x4a8791:this['_hovered'],this[_0x3b2e65(0x284)]=(_0x5c323b=_0x45a963[_0x3b2e65(0x238)])!=null?_0x5c323b:this[_0x3b2e65(0x284)],this[_0x3b2e65(0x29c)]=(_0x14329c=_0x45a963[_0x3b2e65(0x1f8)])!=null?_0x14329c:this[_0x3b2e65(0x29c)],this[_0x3b2e65(0x2c6)]=(_0x16d907=_0x45a963[_0x3b2e65(0x420)])!=null?_0x16d907:this[_0x3b2e65(0x2c6)],this[_0x3b2e65(0x20c)]=(_0x2c1b00=_0x45a963[_0x3b2e65(0x3f5)])!=null?_0x2c1b00:this[_0x3b2e65(0x20c)],this[_0x3b2e65(0x2d3)]({'width':_0x45a963[_0x3b2e65(0x29b)],'height':_0x45a963[_0x3b2e65(0x3d6)]});}[_0x5e6c41(0x2df)](_0x4da0cf){const _0x11c052=_0x5e6c41,{row:_0x53d4ea,column:_0x4dc1b8}=_0x4da0cf;if(_0x53d4ea>=this[_0x11c052(0x284)][_0x11c052(0x2bd)]&&_0x53d4ea<=this['_range'][_0x11c052(0x2f9)]&&_0x4dc1b8>=this[_0x11c052(0x284)][_0x11c052(0x2eb)]&&_0x4dc1b8<=this[_0x11c052(0x284)][_0x11c052(0x34b)]){this[_0x11c052(0x43c)]({'hovered':!0x0});return;}this[_0x11c052(0x43c)]({'hovered':!0x1});}[_0x5e6c41(0x240)](_0x1d4b39){return!0x1;}[_0x5e6c41(0x413)](_0x134e37){const _0x510450=_0x5e6c41;_0x1b61d8[_0x510450(0x3a5)](_0x134e37,{'width':this[_0x510450(0x29b)],'height':this[_0x510450(0x3d6)],'strokeWidth':en,'stroke':this[_0x510450(0x398)],'evented':!0x1,'fill':this[_0x510450(0x20c)]}),this['_hovered']&&(_0x134e37['save'](),_0x134e37[_0x510450(0x2d9)](0x1,0x0,0x0,0x1,this[_0x510450(0x29b)],this[_0x510450(0x2c6)]===_0x510450(0x374)?0x0:-Q),Ee[_0x510450(0x3a5)](_0x134e37,{'text':this[_0x510450(0x29c)],'color':this['_color']}),_0x134e37['restore']());}}var sn=Object[_0x5e6c41(0x3e4)],nn=(_0x44c12d,_0x18e083,_0x5e71da,_0x1a0ac4)=>{const _0x103f7d=_0x5e6c41;for(var _0x4278ab=_0x1a0ac4>0x1?void 0x0:_0x1a0ac4?sn(_0x18e083,_0x5e71da):_0x18e083,_0x3784e8=_0x44c12d[_0x103f7d(0x3f6)]-0x1,_0x29ef84;_0x3784e8>=0x0;_0x3784e8--)(_0x29ef84=_0x44c12d[_0x3784e8])&&(_0x4278ab=_0x29ef84(_0x4278ab)||_0x4278ab);return _0x4278ab;},Ne=(_0x1f351c,_0x114b4b)=>(_0x134d87,_0x440203)=>_0x114b4b(_0x134d87,_0x440203,_0x1f351c);const rn=0x1389;let ke=class extends _0x4e0967{constructor(_0x2a7ed3,_0x33a2b8,_0x3825bd,_0x24e6bd){const _0xa4e32c=_0x5e6c41;super(),_(this,'_cursors',new Set()),_(this,_0xa4e32c(0x1f3),null),(this[_0xa4e32c(0x25e)]=_0x2a7ed3,this[_0xa4e32c(0x350)]=_0x33a2b8,this['_collabCursorController']=_0x3825bd,this[_0xa4e32c(0x2c8)]=_0x24e6bd,this['_init']());}[_0x5e6c41(0x3a3)](){const _0x4c7f2c=_0x5e6c41;this[_0x4c7f2c(0x350)][_0x4c7f2c(0x3a0)][_0x4c7f2c(0x446)](_0x45e81d(this[_0x4c7f2c(0x423)]),_0x5b8bb5(_0x20e192=>{const _0x59a916=_0x4c7f2c;if(_0x20e192){const _0x521f20=_0x20e192[_0x59a916(0x2ec)];return _0x3c0103(this['_collabCursorController'][_0x59a916(0x349)](this[_0x59a916(0x25e)][_0x59a916(0x426)]),this[_0x59a916(0x2c8)][_0x59a916(0x33c)])['pipe'](_0x4770b7(([_0x52ad77,_0xbe9917])=>{const _0x420384=new Map();return _0x52ad77['forEach']((_0x582aff,_0xdf680e)=>{const _0x7910aa=_0x3e50;if(_0x582aff[_0x7910aa(0x273)]===_0x521f20){const _0x3d80c2={..._0x582aff};_0x3d80c2[_0x7910aa(0x39b)]=this[_0x7910aa(0x2c8)][_0x7910aa(0x364)](_0x582aff[_0x7910aa(0x39b)]),_0x420384[_0x7910aa(0x1f7)](_0xdf680e,_0x3d80c2);}}),{'skeleton':_0x20e192,'cursors':_0x420384};}));}return _0x549864({'skeleton':null,'cursors':new Map()});}))[_0x4c7f2c(0x377)](({skeleton:_0x965c99,cursors:_0x5cfb62})=>{const _0x181fe7=_0x4c7f2c;this[_0x181fe7(0x39c)](),_0x965c99&&this[_0x181fe7(0x23c)](_0x965c99,_0x5cfb62);}),this[_0x4c7f2c(0x350)]['currentSkeleton$'][_0x4c7f2c(0x377)](_0xa86c67=>{const _0x5af62d=_0x4c7f2c;if(_0xa86c67==null)return;const {skeleton:_0x553bcf}=_0xa86c67,{scene:_0xea045c}=this[_0x5af62d(0x25e)];_0xea045c['onPointerMove$'][_0x5af62d(0x42b)](_0x2e72cf(_0xed6c1=>{const _0x5dbfd3=_0x5af62d;var _0x48a257,_0x50320f;const {offsetX:_0x33a412,offsetY:_0x2ae905}=_0xed6c1,{x:_0x176b09,y:_0x38cd87}=_0xea045c[_0x5dbfd3(0x406)](_0x47aacb[_0x5dbfd3(0x255)]([_0x33a412,_0x2ae905])),{scaleX:_0x97468b,scaleY:_0x43c1ff}=_0xea045c['getAncestorScale'](),_0x112241=_0xea045c[_0x5dbfd3(0x2f0)](_0x354b10[_0x5dbfd3(0x411)]),_0x2713eb=_0xea045c[_0x5dbfd3(0x323)](_0x47aacb[_0x5dbfd3(0x255)]([_0x176b09,_0x38cd87]),_0x112241),_0x33c649=_0x553bcf[_0x5dbfd3(0x443)](_0x33a412,_0x2ae905,_0x97468b,_0x43c1ff,_0x2713eb);((_0x48a257=this[_0x5dbfd3(0x1f3)])==null?void 0x0:_0x48a257['column'])===_0x33c649[_0x5dbfd3(0x294)]&&((_0x50320f=this[_0x5dbfd3(0x1f3)])==null?void 0x0:_0x50320f[_0x5dbfd3(0x1e7)])===_0x33c649[_0x5dbfd3(0x1e7)]||this[_0x5dbfd3(0x448)][_0x5dbfd3(0x396)](_0xeab0e3=>{const _0x3a1b4c=_0x5dbfd3;_0xeab0e3[_0x3a1b4c(0x2df)](_0x33c649);});},0x64));});}[_0x5e6c41(0x23c)](_0x1fada3,_0x27aeb9){const _0x2988cc=_0x5e6c41;var _0x3daf5e;const _0x2f45aa=(_0x3daf5e=this[_0x2988cc(0x350)][_0x2988cc(0x402)]())==null?void 0x0:_0x3daf5e[_0x2988cc(0x2de)];if(!_0x2f45aa)return;const _0x53fdb7=this[_0x2988cc(0x439)]();if(!_0x53fdb7)return;this[_0x2988cc(0x448)][_0x2988cc(0x396)](_0x427c7f=>{const _0x61af61=_0x2988cc;_0x427c7f[_0x61af61(0x36a)]();});const {scene:_0x1e8210}=_0x53fdb7,_0x25d175=on(Array[_0x2988cc(0x382)](_0x27aeb9[_0x2988cc(0x392)]()))[_0x2988cc(0x315)](_0x48d257=>{const {color:_0x27fc32,range:_0x27fc86,name:_0x58b387,selection:_0x4bd982,sheetID:_0xbdf4c3}=_0x48d257,{startColumn:_0x56bb18,startRow:_0x554b55,endColumn:_0xc4404c,endRow:_0x569f1a}=_0x27fc86,_0x20ec07=_0x58af9c(_0x554b55,_0x56bb18,_0x1e8210,_0x2f45aa),_0x24dda7=_0x58af9c(_0x569f1a,_0xc4404c,_0x1e8210,_0x2f45aa),{columnHeaderHeightAndMarginTop:_0x512e52}=_0x2f45aa,{startX:_0x12ce62,startY:_0x50a6b2}=_0x20ec07,{endX:_0x4b11d6,endY:_0x36bc85}=_0x24dda7,_0x517b02=_0x4b11d6-_0x12ce62,_0x447e78=_0x36bc85-_0x50a6b2,_0x1c5039={'labelPosition':_0x50a6b2-_0x512e52>=Q?'top':'bottom','sheetID':_0xbdf4c3,'range':_0x27fc86,'color':_0x27fc32,'name':_0x58b387,'selection':_0x4bd982,'left':_0x12ce62,'top':_0x50a6b2,'width':_0x517b02,'height':_0x447e78,'evented':!0x1,'zIndex':rn};return new tn(_0x58b387,_0x1c5039);});_0x1e8210[_0x2988cc(0x304)](_0x25d175,qi),this[_0x2988cc(0x448)]=new Set(_0x25d175);}[_0x5e6c41(0x39c)](){const _0x4b8079=_0x5e6c41;var _0x1377bf;(_0x1377bf=this[_0x4b8079(0x448)])==null||_0x1377bf[_0x4b8079(0x396)](_0x2ece57=>_0x2ece57[_0x4b8079(0x35f)]());}[_0x5e6c41(0x439)](){const _0x2b14ba=_0x5e6c41;return _0x381575(this[_0x2b14ba(0x25e)][_0x2b14ba(0x28d)],this[_0x2b14ba(0x25e)]);}};ke=nn([Ne(0x1,_0x393365(_0x33d450)),Ne(0x2,_0x393365(H)),Ne(0x3,_0x393365(_0x348b48))],ke);function on(_0x2dff3f){const _0x1d9a69=_0x5e6c41,_0x248967=new Map();return _0x2dff3f[_0x1d9a69(0x396)](_0x475e52=>{const _0xc0e83c=_0x1d9a69;if(_0x248967['has'](_0x475e52[_0xc0e83c(0x20e)])){const _0x4dc576=_0x248967[_0xc0e83c(0x38c)](_0x475e52[_0xc0e83c(0x20e)]);_0x4dc576[_0xc0e83c(0x1f8)]+=',\x20'+_0x475e52[_0xc0e83c(0x1f8)];}else _0x248967['set'](_0x475e52['selection'],_0x475e52);}),Array[_0x1d9a69(0x382)](_0x248967[_0x1d9a69(0x392)]());}var an=Object[_0x5e6c41(0x3e4)],cn=(_0x795bc4,_0x543f20,_0x43c6db,_0x495a3f)=>{const _0x549cee=_0x5e6c41;for(var _0x153659=_0x495a3f>0x1?void 0x0:_0x495a3f?an(_0x543f20,_0x43c6db):_0x543f20,_0x2d556e=_0x795bc4[_0x549cee(0x3f6)]-0x1,_0x23517b;_0x2d556e>=0x0;_0x2d556e--)(_0x23517b=_0x795bc4[_0x2d556e])&&(_0x153659=_0x23517b(_0x153659)||_0x153659);return _0x153659;},F=(_0x45ff76,_0xff99cc)=>(_0x4669e1,_0xc78ac8)=>_0xff99cc(_0x4669e1,_0xc78ac8,_0x45ff76);let _e=class extends _0x52c1c5{constructor(_0x1bce63,_0x75263b,_0x2b077b,_0x262fd2,_0x2deef5,_0x419edf){const _0x5092cb=_0x5e6c41;super(),this['_beforeCloseService']=_0x1bce63,this[_0x5092cb(0x30f)]=_0x75263b,this['_collaborationUIEventService']=_0x2b077b,this[_0x5092cb(0x2dd)]=_0x262fd2,this[_0x5092cb(0x3bb)]=_0x2deef5,this[_0x5092cb(0x40f)]=_0x419edf,this[_0x5092cb(0x29d)](),this['_initEvent']();}[_0x5e6c41(0x29d)](){const _0xf8be29=_0x5e6c41;this['disposeWithMe'](this[_0xf8be29(0x2d4)]['registerBeforeClose'](()=>{const _0x40dfe2=_0xf8be29;if(this[_0x40dfe2(0x30f)][_0x40dfe2(0x258)]['size'])return this[_0x40dfe2(0x40f)]['t'](_0x40dfe2(0x308));}));}[_0x5e6c41(0x259)](){const _0x35091b=_0x5e6c41;this[_0x35091b(0x3be)](this[_0x35091b(0x341)][_0x35091b(0x415)][_0x35091b(0x377)](_0x4eec49=>{const _0x53b200=_0x35091b;_0x4eec49['id']===_0x1e6779[_0x53b200(0x369)]&&this['_messageService'][_0x53b200(0x42c)]({'type':_0x248756['Warning'],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x2cb))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x2ff)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756['Warning'],'content':this['_localeService']['t'](_0x53b200(0x2c5))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x3cd)]&&this['_notificationService'][_0x53b200(0x42c)]({'title':this[_0x53b200(0x40f)]['t'](_0x53b200(0x404)),'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x296)),'type':'error','duration':0x0}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x26c)]&&this[_0x53b200(0x2dd)]['show']({'type':_0x248756[_0x53b200(0x2ba)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x2c5))+'('+_0x4eec49['data']+')'}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x3d3)]&&this['_messageService'][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x367)],'content':this[_0x53b200(0x40f)]['t'](_0x4eec49[_0x53b200(0x425)]||'')}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x447)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x367)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x33a))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x347)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x2ba)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x42e))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x265)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x2ba)],'content':this['_localeService']['t'](_0x53b200(0x32f))});}));}};_e=cn([F(0x0,_0x35341e),F(0x1,_0x588b9c),F(0x2,_0x393365(_0x56bb29)),F(0x3,_0xe75bb),F(0x4,_0x4344a2),F(0x5,_0x393365(_0x353f39))],_e);var _n=Object[_0x5e6c41(0x3e4)],ln=(_0x5a34f2,_0x32fd30,_0x116017,_0x275214)=>{const _0x5481a1=_0x5e6c41;for(var _0x45a902=_0x275214>0x1?void 0x0:_0x275214?_n(_0x32fd30,_0x116017):_0x32fd30,_0x3f4bae=_0x5a34f2[_0x5481a1(0x3f6)]-0x1,_0x4617f9;_0x3f4bae>=0x0;_0x3f4bae--)(_0x4617f9=_0x5a34f2[_0x3f4bae])&&(_0x45a902=_0x4617f9(_0x45a902)||_0x45a902);return _0x45a902;},ne=(_0x3d676c,_0x54ab66)=>(_0x1da8d5,_0x2a497f)=>_0x54ab66(_0x1da8d5,_0x2a497f,_0x3d676c);let le=class extends _0x52c1c5{constructor(_0x1d6021,_0x4e5b08,_0x27a8fb,_0x3d35c0){const _0x42bc08=_0x5e6c41;super(),_(this,'_memberID'),(this[_0x42bc08(0x254)]=_0x1d6021,this[_0x42bc08(0x333)]=_0x4e5b08,this[_0x42bc08(0x30a)]=_0x27a8fb,this[_0x42bc08(0x219)]=_0x3d35c0,this[_0x42bc08(0x3a3)]());}[_0x5e6c41(0x3a3)](){const _0x3c3c32=_0x5e6c41;this[_0x3c3c32(0x2c9)](),this[_0x3c3c32(0x32d)](),this['_monkeyPatchLogService'](),this[_0x3c3c32(0x2a4)]();}['_initUserListener'](){const _0x3848ce=_0x5e6c41;this[_0x3848ce(0x3be)](this['_collaborationSessionService'][_0x3848ce(0x217)]['subscribe'](_0x54a969=>{const _0x36f6be=_0x3848ce;this[_0x36f6be(0x44a)]=_0x54a969==null?void 0x0:_0x54a969[_0x36f6be(0x414)];}));}[_0x5e6c41(0x2c9)](){const _0x162c10=_0x5e6c41,_0x44c30a=_0xdf4bc7=>{const _0x4f1b45=_0x3e50;var _0x476d01;this['_uploadLog']('error',_0x4f1b45(0x394)+_0xdf4bc7[_0x4f1b45(0x39f)]+'\x20at\x20'+_0xdf4bc7[_0x4f1b45(0x440)]+':'+_0xdf4bc7[_0x4f1b45(0x29a)]+':'+_0xdf4bc7[_0x4f1b45(0x3f3)]+'\x0a'+(((_0x476d01=_0xdf4bc7[_0x4f1b45(0x3fc)])==null?void 0x0:_0x476d01[_0x4f1b45(0x35a)])||''));};window[_0x162c10(0x261)](_0x162c10(0x3fc),_0x44c30a),this[_0x162c10(0x3be)](()=>{const _0xa207bd=_0x162c10;window['removeEventListener'](_0xa207bd(0x3fc),_0x44c30a);});}['_initUnhandledRejectionListener'](){const _0x252c4c=_0x5e6c41,_0x553df3=_0x1838f7=>{const _0x547016=_0x3e50;this['_uploadLog'](_0x547016(0x3fc),_0x547016(0x3d8)+_0x1838f7[_0x547016(0x35c)]);};window[_0x252c4c(0x261)]('unhandledrejection',_0x553df3),this[_0x252c4c(0x3be)](()=>{const _0x284e68=_0x252c4c;window[_0x284e68(0x2e0)](_0x284e68(0x288),_0x553df3);});}[_0x5e6c41(0x359)](){const _0x424e53=_0x5e6c41,_0x3e2ea7=this['_logService'][_0x424e53(0x3fc)]['bind'](this[_0x424e53(0x30a)]);this[_0x424e53(0x30a)]['error']=(..._0x84ad3f)=>{const _0x3805f3=_0x424e53,_0x4d344d=_0x84ad3f[_0x3805f3(0x315)](_0x32c99e=>_0x32c99e instanceof Error?_0x32c99e['message']+'\x0a'+_0x32c99e['stack']:String(_0x32c99e))[_0x3805f3(0x28e)]('\x20');this['_uploadLog'](_0x3805f3(0x3fc),_0x3805f3(0x2f7)+_0x4d344d),_0x3e2ea7(..._0x84ad3f);},this[_0x424e53(0x3be)](()=>{const _0x3389e7=_0x424e53;this['_logService'][_0x3389e7(0x3fc)]=_0x3e2ea7;});}[_0x5e6c41(0x32c)](_0x32337c,_0x4080ed){const _0x440a5d=_0x5e6c41;try{const _0x33ee9d={'userId':this['_memberID'],'logLabel':_0x32337c,'content':_0x4080ed};this[_0x440a5d(0x333)][_0x440a5d(0x3f8)](_0x440a5d(0x243),{'body':_0x33ee9d})[_0x440a5d(0x3c4)](()=>{});}catch{}}};le=ln([ne(0x0,_0x393365(_0xaa1b4f)),ne(0x1,_0x393365(_0x2cb535)),ne(0x2,_0x4fe5ec),ne(0x3,_0x393365(_0x48a112))],le);const hn=_0x5e6c41(0x388),_t={};var un=Object[_0x5e6c41(0x3e4)],dn=(_0x3207cb,_0x4203c0,_0x271d69,_0x10b11c)=>{const _0x4c8620=_0x5e6c41;for(var _0x5bccf3=_0x10b11c>0x1?void 0x0:_0x10b11c?un(_0x4203c0,_0x271d69):_0x4203c0,_0x286b62=_0x3207cb[_0x4c8620(0x3f6)]-0x1,_0x106d8d;_0x286b62>=0x0;_0x286b62--)(_0x106d8d=_0x3207cb[_0x286b62])&&(_0x5bccf3=_0x106d8d(_0x5bccf3)||_0x5bccf3);return _0x5bccf3;},lt=(_0x1058f6,_0x46017d)=>(_0x4be9d1,_0x3797e3)=>_0x46017d(_0x4be9d1,_0x3797e3,_0x1058f6);let he=class{constructor(_0x3e3f61,_0x347c7e){const _0x39d1bf=_0x5e6c41;this[_0x39d1bf(0x2e4)]=_0x3e3f61,this[_0x39d1bf(0x410)]=_0x347c7e;}[_0x5e6c41(0x337)](_0x2a8ebd){const _0x3cc3b2=_0x5e6c41;this[_0x3cc3b2(0x2f4)](_0x2a8ebd),this[_0x3cc3b2(0x262)](_0x2a8ebd);}[_0x5e6c41(0x2cf)](_0x514e86){const _0x558152=_0x5e6c41,{unitID:_0x47e80b}=_0x514e86,_0x1950ca=this[_0x558152(0x410)][_0x558152(0x3bd)](_0x47e80b)[_0x558152(0x30d)](_0x5301d8),{redoCache:_0x274e9d}=_0x1950ca[_0x558152(0x23b)]();if(_0x274e9d['length']===0x0)return _0x514e86;let _0x3191d8=_0x27b6c8[_0x558152(0x2b2)](_0x514e86[_0x558152(0x28a)][0x0]);for(let _0x3a733d=0x0;_0x3a733d<_0x274e9d[_0x558152(0x3f6)];_0x3a733d++){const _0x144209={'id':'doc.mutation.rich-text-editing','params':{..._0x274e9d[_0x3a733d]}},_0x2c97e1=this[_0x558152(0x2e4)]['transformMutation'](_0x3191d8,_0x144209,!0x1);if(_0xb2c014(_0x2c97e1))throw _0x2c97e1[_0x558152(0x3fc)];_0x3191d8=_0x2c97e1[_0x558152(0x399)];}return{..._0x27b6c8[_0x558152(0x2b2)](_0x514e86),'mutations':[_0x3191d8]};}[_0x5e6c41(0x2f4)](_0xb51ebc){const _0x180814=_0x5e6c41,{unitID:_0x2eef1d}=_0xb51ebc,_0x563548=this['_renderManagerService']['getRenderById'](_0x2eef1d)[_0x180814(0x30d)](_0x5301d8),{undoCache:_0x4b0970,redoCache:_0x24231c}=_0x563548['getUndoRedoMutationParamsCache']();if(_0x4b0970[_0x180814(0x3f6)]===0x0||_0x24231c[_0x180814(0x3f6)]===0x0)return;const _0x40053c=[],_0x1063fb=[];let _0x417d8d=_0x27b6c8[_0x180814(0x2b2)](_0xb51ebc[_0x180814(0x28a)][0x0]),_0xf2b0f2=_0x27b6c8[_0x180814(0x2b2)](_0xb51ebc['mutations'][0x0]);for(let _0x45b49=_0x4b0970[_0x180814(0x3f6)]-0x1;_0x45b49>=0x0;_0x45b49--){const _0x48e95e={'id':'doc.mutation.rich-text-editing','params':{..._0x4b0970[_0x45b49]}},_0x2c3be5={'id':'doc.mutation.rich-text-editing','params':{..._0x24231c[_0x45b49]}},_0x1266d2=this[_0x180814(0x2e4)][_0x180814(0x380)](_0x417d8d,_0x48e95e,!0x1),_0x66d7ab=this['_transformService'][_0x180814(0x380)](_0xf2b0f2,_0x2c3be5,!0x1);if(_0xb2c014(_0x1266d2))throw _0x1266d2[_0x180814(0x3fc)];if(_0xb2c014(_0x66d7ab))throw _0x66d7ab[_0x180814(0x3fc)];_0x40053c[_0x180814(0x3dd)](_0x1266d2[_0x180814(0x336)][_0x180814(0x372)]),_0x1063fb['unshift'](_0x66d7ab['m2Prime'][_0x180814(0x372)]),_0x417d8d=_0x1266d2[_0x180814(0x399)],_0xf2b0f2=_0x66d7ab[_0x180814(0x399)];}_0x563548[_0x180814(0x2e1)]({'undoCache':_0x40053c,'redoCache':_0x1063fb});}[_0x5e6c41(0x262)](_0x496b83){const _0x2be881=_0x5e6c41,{unitID:_0x4a74a5}=_0x496b83,_0x421c8b=this['_renderManagerService'][_0x2be881(0x3bd)](_0x4a74a5)[_0x2be881(0x30d)](_0x5301d8),_0x4422d6=_0x421c8b[_0x2be881(0x2b3)]();if(_0x4422d6==null)return;const _0x2c5eff=[{'id':_0x2be881(0x3fb),'params':{'unitId':_0x496b83[_0x2be881(0x37c)],'actions':null,'textRanges':[_0x4422d6]}}],_0x6cfd6b=this[_0x2be881(0x2e4)]['transformMutationsWithChangeset'](_0x496b83,_0x2c5eff);if(!_0xa6f19a(_0x6cfd6b))throw _0x6cfd6b[_0x2be881(0x3fc)];const _0x64e8b8=_0x6cfd6b[_0x2be881(0x336)][0x0][_0x2be881(0x372)]['textRanges'];Array[_0x2be881(0x2c4)](_0x64e8b8)&&_0x64e8b8[_0x2be881(0x3f6)]&&_0x421c8b[_0x2be881(0x3eb)](_0x64e8b8[0x0]);}};he=dn([lt(0x0,_0x59b3e4),lt(0x1,_0x1f8720)],he);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x4c77aa,_0x4dac18,_0x5253ab,_0x1e61bf)=>{const _0x598ec1=_0x5e6c41;for(var _0x1aa6f8=_0x1e61bf>0x1?void 0x0:_0x1e61bf?Sn(_0x4dac18,_0x5253ab):_0x4dac18,_0x315aac=_0x4c77aa[_0x598ec1(0x3f6)]-0x1,_0x8a3283;_0x315aac>=0x0;_0x315aac--)(_0x8a3283=_0x4c77aa[_0x315aac])&&(_0x1aa6f8=_0x8a3283(_0x1aa6f8)||_0x1aa6f8);return _0x1aa6f8;},Le=(_0x55029b,_0x282058)=>(_0x566840,_0x288aac)=>_0x282058(_0x566840,_0x288aac,_0x55029b);let ue=class{constructor(_0xca8e7c,_0x299680,_0x187469){const _0x1f4951=_0x5e6c41;this[_0x1f4951(0x254)]=_0xca8e7c,this[_0x1f4951(0x2e4)]=_0x299680,this['_docStateChangeManagerService']=_0x187469;}[_0x5e6c41(0x306)](_0x2e7b6e){this['_transformHistoryAndStateStack'](_0x2e7b6e);}[_0x5e6c41(0x2cf)](_0x7888ef){const _0x391268=_0x5e6c41,{unitID:_0x46afe3}=_0x7888ef,{collaboration:_0x1ac9f4}=this[_0x391268(0x26d)][_0x391268(0x3b7)](_0x46afe3);if(_0x1ac9f4['length']===0x0)return _0x7888ef;let _0x5172eb=_0x27b6c8['deepClone'](_0x7888ef['mutations'][0x0]);for(let _0xb72b68=0x0;_0xb72b68<_0x1ac9f4[_0x391268(0x3f6)];_0xb72b68++){const _0x4defed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ac9f4[_0xb72b68][_0x391268(0x426)],..._0x1ac9f4[_0xb72b68][_0x391268(0x3ac)]}},_0x490795=this[_0x391268(0x2e4)][_0x391268(0x380)](_0x5172eb,_0x4defed,!0x1);if(_0xb2c014(_0x490795))throw _0x490795[_0x391268(0x3fc)];_0x5172eb=_0x490795[_0x391268(0x399)];}return{..._0x27b6c8[_0x391268(0x2b2)](_0x7888ef),'mutations':[_0x5172eb]};}[_0x5e6c41(0x2a9)](_0x1076ae){const _0x1e0651=_0x5e6c41,{unitID:_0xdff569}=_0x1076ae,{history:_0x37ec0b,collaboration:_0x4d9d18}=this[_0x1e0651(0x26d)][_0x1e0651(0x3b7)](_0xdff569);if(_0x37ec0b[_0x1e0651(0x3f6)]===0x0&&_0x4d9d18[_0x1e0651(0x3f6)]===0x0)return;const _0x320a5c=[],_0x2dbf9b=[];let _0x3a5869=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]),_0x14b083=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]);for(let _0x4685a6=_0x37ec0b['length']-0x1;_0x4685a6>=0x0;_0x4685a6--){const _0x2279ab={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x37ec0b[_0x4685a6][_0x1e0651(0x426)],..._0x37ec0b[_0x4685a6][_0x1e0651(0x356)]}},_0x11224b={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x37ec0b[_0x4685a6]['unitId'],..._0x37ec0b[_0x4685a6][_0x1e0651(0x3ac)]}},_0x1d9db6=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x3a5869,_0x2279ab,!0x1),_0x7d878e=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x14b083,_0x11224b,!0x1);if(_0xb2c014(_0x1d9db6))throw _0x1d9db6['error'];if(_0xb2c014(_0x7d878e))throw _0x7d878e[_0x1e0651(0x3fc)];_0x320a5c[_0x1e0651(0x3dd)]({..._0x37ec0b[_0x4685a6],'undoState':_0x1d9db6[_0x1e0651(0x336)]['params'],'redoState':_0x7d878e[_0x1e0651(0x336)][_0x1e0651(0x372)]}),_0x3a5869=_0x1d9db6['m1Prime'],_0x14b083=_0x7d878e[_0x1e0651(0x399)];}_0x3a5869=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]),_0x14b083=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]);for(let _0x540ccb=_0x4d9d18[_0x1e0651(0x3f6)]-0x1;_0x540ccb>=0x0;_0x540ccb--){const _0x4c8bc5={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x4d9d18[_0x540ccb][_0x1e0651(0x426)],..._0x4d9d18[_0x540ccb]['undoState']}},_0x4aee5c={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x4d9d18[_0x540ccb][_0x1e0651(0x426)],..._0x4d9d18[_0x540ccb][_0x1e0651(0x3ac)]}},_0x2afdcd=this[_0x1e0651(0x2e4)]['transformMutation'](_0x3a5869,_0x4c8bc5,!0x1),_0x24d6e0=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x14b083,_0x4aee5c,!0x1);if(_0xb2c014(_0x2afdcd))throw _0x2afdcd[_0x1e0651(0x3fc)];if(_0xb2c014(_0x24d6e0))throw _0x24d6e0[_0x1e0651(0x3fc)];_0x2dbf9b[_0x1e0651(0x3dd)]({..._0x4d9d18[_0x540ccb],'undoState':_0x2afdcd[_0x1e0651(0x336)][_0x1e0651(0x372)],'redoState':_0x24d6e0[_0x1e0651(0x336)][_0x1e0651(0x372)]}),_0x3a5869=_0x2afdcd[_0x1e0651(0x399)],_0x14b083=_0x24d6e0[_0x1e0651(0x399)];}this[_0x1e0651(0x26d)]['setStateCache'](_0xdff569,{'history':_0x320a5c,'collaboration':_0x2dbf9b});}};ue=mn([Le(0x0,_0x393365(_0xaa1b4f)),Le(0x1,_0x59b3e4),Le(0x2,_0x393365(_0x5173c7))],ue);var In=Object[_0x5e6c41(0x3e4)],fn=(_0x5da53d,_0x499fda,_0x1d8929,_0x1debf2)=>{const _0x349fdb=_0x5e6c41;for(var _0x5d55c6=_0x1debf2>0x1?void 0x0:_0x1debf2?In(_0x499fda,_0x1d8929):_0x499fda,_0x328290=_0x5da53d[_0x349fdb(0x3f6)]-0x1,_0x41efd8;_0x328290>=0x0;_0x328290--)(_0x41efd8=_0x5da53d[_0x328290])&&(_0x5d55c6=_0x41efd8(_0x5d55c6)||_0x5d55c6);return _0x5d55c6;},ht=(_0x460a71,_0x47cc6c)=>(_0x2632af,_0x3f10b2)=>_0x47cc6c(_0x2632af,_0x3f10b2,_0x460a71);let de=class{constructor(_0x288640,_0x3aec73){this['_injector']=_0x288640,this['_transformService']=_0x3aec73;}['transformSelections'](_0x1da89e){const _0x347c9b=_0x5e6c41;var _0x30a2b0;const _0x9b9d22=this[_0x347c9b(0x254)][_0x347c9b(0x38c)](_0x406d1c),_0x273d6f=(_0x30a2b0=_0x9b9d22[_0x347c9b(0x32e)]())!=null?_0x30a2b0:[];if(_0x273d6f[_0x347c9b(0x3f6)]===0x0)return;const _0x32247f=_0x1da89e[_0x347c9b(0x37c)],_0x44e528=[{'id':_0x347c9b(0x3fb),'params':{'unitId':_0x32247f,'actions':null,'textRanges':_0x273d6f}}],_0x17331a=this['_transformService'][_0x347c9b(0x32a)](_0x1da89e,_0x44e528);if(!_0xa6f19a(_0x17331a))throw _0x17331a[_0x347c9b(0x3fc)];const _0x181a58=_0x17331a[_0x347c9b(0x336)][0x0][_0x347c9b(0x372)][_0x347c9b(0x384)];Array['isArray'](_0x181a58)&&_0x181a58[_0x347c9b(0x3f6)]&&_0x9b9d22[_0x347c9b(0x208)](_0x181a58,{'unitId':_0x32247f,'subUnitId':_0x32247f},!0x1);}};de=fn([ht(0x0,_0x393365(_0xaa1b4f)),ht(0x1,_0x59b3e4)],de);var gn=Object[_0x5e6c41(0x3e4)],vn=(_0x2e4078,_0x3dd370,_0x416f92,_0x3310a8)=>{const _0x508cda=_0x5e6c41;for(var _0x54f7ef=_0x3310a8>0x1?void 0x0:_0x3310a8?gn(_0x3dd370,_0x416f92):_0x3dd370,_0xcafa7e=_0x2e4078[_0x508cda(0x3f6)]-0x1,_0x579981;_0xcafa7e>=0x0;_0xcafa7e--)(_0x579981=_0x2e4078[_0xcafa7e])&&(_0x54f7ef=_0x579981(_0x54f7ef)||_0x54f7ef);return _0x54f7ef;},U=(_0x361248,_0x592272)=>(_0x3bf4c3,_0xcb1155)=>_0x592272(_0x3bf4c3,_0xcb1155,_0x361248);let Se=class extends _0x52c1c5{constructor(_0x4e70bc,_0x2a5057,_0x431cfc,_0x2c09f5,_0x5a4d91,_0x303ac2,_0x1d0d24,_0x29c7a5){const _0x477f38=_0x5e6c41;super(),_(this,_0x477f38(0x211),new _0x1a4d1e(_0x54c613[_0x477f38(0x378)])),(this[_0x477f38(0x26d)]=_0x4e70bc,this['_collaborationController']=_0x2a5057,this['_docTransformIMECacheService']=_0x431cfc,this[_0x477f38(0x1f2)]=_0x2c09f5,this[_0x477f38(0x3ea)]=_0x5a4d91,this[_0x477f38(0x353)]=_0x303ac2,this[_0x477f38(0x2dd)]=_0x1d0d24,this[_0x477f38(0x40f)]=_0x29c7a5,this['_initEntityListener']());}[_0x5e6c41(0x25c)](){const _0x5937d4=_0x5e6c41;this[_0x5937d4(0x3be)](this[_0x5937d4(0x3a9)]['entityInit$']['subscribe'](_0x146ad7=>{const _0x17deaf=_0x5937d4,_0x240876=this[_0x17deaf(0x26d)][_0x17deaf(0x2d5)][_0x17deaf(0x377)](_0x18f655=>{const _0xeded39=_0x17deaf;if(_0x18f655==null)return;const {unitId:_0x2fa6e3,redoState:_0x1f0c6b,commandId:_0x427b84}=_0x18f655;if(_0x2fa6e3!==_0x146ad7[_0xeded39(0x37c)])return;const _0x3d6361={'id':_0x427b84,'type':_0xae5b06['MUTATION'],'params':{'unitId':_0x2fa6e3,'actions':_0x1f0c6b[_0xeded39(0x307)],'textRanges':null}};_0x146ad7[_0xeded39(0x40e)](_0x3d6361);});if(_0x146ad7['disposeWithMe'](_0x240876),_0x146ad7 instanceof _0x35f55c){const _0xc9a3a0={'onTransformIME':_0xf421d2=>this['_docTransformIMECacheService'][_0x17deaf(0x337)](_0xf421d2),'onTransformState':_0x1c86f7=>this['_docTransformStateCacheService'][_0x17deaf(0x306)](_0x1c86f7),'onTransformSelections':_0x34be6f=>this[_0x17deaf(0x3ea)]['transformSelections'](_0x34be6f),'onSyncEditingCollabCursor':_0x19b0a5=>this[_0x17deaf(0x353)][_0x17deaf(0x229)](_0x19b0a5),'onTransformRemoteChangesetByIMECache':_0x4fc113=>this[_0x17deaf(0x206)][_0x17deaf(0x2cf)](_0x4fc113),'onTransformRemoteChangesetByStateCache':_0x7ae39f=>this[_0x17deaf(0x1f2)][_0x17deaf(0x2cf)](_0x7ae39f)};_0x146ad7[_0x17deaf(0x2a1)](_0xc9a3a0);}}));}};Se=vn([U(0x0,_0x393365(_0x5173c7)),U(0x1,_0x393365(_0xba3a41)),U(0x2,_0x393365(he)),U(0x3,_0x393365(ue)),U(0x4,_0x393365(de)),U(0x5,_0x393365(ze)),U(0x6,_0xe75bb),U(0x7,_0x393365(_0x353f39))],Se);var Z=(_0x376958=>(_0x376958[_0x376958[_0x5e6c41(0x311)]=0x0]=_0x5e6c41(0x311),_0x376958[_0x376958['OK']=0x1]='OK',_0x376958[_0x376958[_0x5e6c41(0x41b)]=0x2]='INTERNAL_ERROR',_0x376958[_0x376958['PERMISSION_DENIED']=0x3]=_0x5e6c41(0x3cd),_0x376958[_0x376958['NOT_FOUND']=0x4]=_0x5e6c41(0x2f5),_0x376958[_0x376958['UNAUTHENTICATED']=0x5]=_0x5e6c41(0x204),_0x376958[_0x376958[_0x5e6c41(0x268)]=0x6]=_0x5e6c41(0x268),_0x376958[_0x376958[_0x5e6c41(0x371)]=0x7]='INVALID_ARGUMENT',_0x376958[_0x376958['TOO_MANY_REQUESTS']=0x8]=_0x5e6c41(0x270),_0x376958[_0x376958[_0x5e6c41(0x3b8)]=0x9]=_0x5e6c41(0x3b8),_0x376958[_0x376958['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x376958[_0x376958[_0x5e6c41(0x37a)]=0xb]=_0x5e6c41(0x37a),_0x376958[_0x376958[_0x5e6c41(0x2dc)]=0xc]=_0x5e6c41(0x2dc),_0x376958[_0x376958[_0x5e6c41(0x2be)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x376958[_0x376958['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5e6c41(0x3c2),_0x376958[_0x376958['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x376958[_0x376958[_0x5e6c41(0x386)]=0x10]=_0x5e6c41(0x386),_0x376958[_0x376958['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5e6c41(0x263),_0x376958[_0x376958[_0x5e6c41(0x3e9)]=0x65]='ERROR_AGAIN',_0x376958[_0x376958[_0x5e6c41(0x314)]=0xc9]=_0x5e6c41(0x314),_0x376958[_0x376958['USER_IS_ANONYMOUS']=0xca]=_0x5e6c41(0x2e2),_0x376958[_0x376958[_0x5e6c41(0x427)]=0x1389]=_0x5e6c41(0x427),_0x376958[_0x376958[_0x5e6c41(0x429)]=0x1771]=_0x5e6c41(0x429),_0x376958[_0x376958[_0x5e6c41(0x1ec)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x376958[_0x376958[_0x5e6c41(0x256)]=0x1773]=_0x5e6c41(0x256),_0x376958[_0x376958[_0x5e6c41(0x3a7)]=0x1b59]=_0x5e6c41(0x3a7),_0x376958[_0x376958[_0x5e6c41(0x282)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x376958[_0x376958[_0x5e6c41(0x44b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x376958[_0x376958[_0x5e6c41(0x3d2)]=0x1b5c]=_0x5e6c41(0x3d2),_0x376958[_0x376958[_0x5e6c41(0x352)]=0x1b5d]=_0x5e6c41(0x352),_0x376958[_0x376958[_0x5e6c41(0x27a)]=0x1f41]=_0x5e6c41(0x27a),_0x376958[_0x376958[_0x5e6c41(0x360)]=0x2329]=_0x5e6c41(0x360),_0x376958[_0x376958[_0x5e6c41(0x1f6)]=0x232a]=_0x5e6c41(0x1f6),_0x376958[_0x376958[_0x5e6c41(0x2b5)]=0x232b]=_0x5e6c41(0x2b5),_0x376958[_0x376958[_0x5e6c41(0x1f4)]=0x232c]=_0x5e6c41(0x1f4),_0x376958[_0x376958[_0x5e6c41(0x301)]=0x232d]=_0x5e6c41(0x301),_0x376958[_0x376958[_0x5e6c41(0x271)]=0x2711]=_0x5e6c41(0x271),_0x376958[_0x376958[_0x5e6c41(0x242)]=0x2712]=_0x5e6c41(0x242),_0x376958[_0x376958[_0x5e6c41(0x424)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x376958[_0x376958[_0x5e6c41(0x432)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x376958[_0x376958[_0x5e6c41(0x2f2)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x376958[_0x376958[_0x5e6c41(0x31a)]=0x271b]=_0x5e6c41(0x31a),_0x376958[_0x376958[_0x5e6c41(0x222)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x376958[_0x376958[_0x5e6c41(0x21e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x376958[_0x376958[_0x5e6c41(0x285)]=0x271e]=_0x5e6c41(0x285),_0x376958[_0x376958['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5e6c41(0x41e),_0x376958[_0x376958[_0x5e6c41(0x2d0)]=0x2720]=_0x5e6c41(0x2d0),_0x376958[_0x376958['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x376958[_0x376958[_0x5e6c41(0x3ad)]=0x2ee1]=_0x5e6c41(0x3ad),_0x376958[_0x376958[_0x5e6c41(0x23f)]=0x2ee2]='INVALID_INVITE_CODE',_0x376958[_0x376958[_0x5e6c41(0x3ec)]=0x2ee3]=_0x5e6c41(0x3ec),_0x376958[_0x376958['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5e6c41(0x3ff),_0x376958[_0x376958[_0x5e6c41(0x237)]=0x2ee5]=_0x5e6c41(0x237),_0x376958[_0x376958[_0x5e6c41(0x24b)]=0x32c9]=_0x5e6c41(0x24b),_0x376958[_0x376958[_0x5e6c41(0x216)]=0x32ca]=_0x5e6c41(0x216),_0x376958[_0x376958['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5e6c41(0x293),_0x376958[_0x376958[_0x5e6c41(0x391)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x376958[_0x376958[_0x5e6c41(0x3e3)]=0x36b2]=_0x5e6c41(0x3e3),_0x376958[_0x376958['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5e6c41(0x42f),_0x376958[_0x376958[_0x5e6c41(0x2c7)]=0x36b4]=_0x5e6c41(0x2c7),_0x376958[_0x376958[_0x5e6c41(0x2cd)]=0x3715]=_0x5e6c41(0x2cd),_0x376958[_0x376958[_0x5e6c41(0x290)]=0x3716]=_0x5e6c41(0x290),_0x376958[_0x376958[_0x5e6c41(0x3ba)]=0x3717]=_0x5e6c41(0x3ba),_0x376958[_0x376958[_0x5e6c41(0x1f9)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x376958[_0x376958['REDEMPTION_INVALID_CODE']=0x3a99]=_0x5e6c41(0x24f),_0x376958[_0x376958[_0x5e6c41(0x1ee)]=0x3a9a]=_0x5e6c41(0x1ee),_0x376958[_0x376958['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x5e6c41(0x2b6),_0x376958[_0x376958[_0x5e6c41(0x441)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x376958[_0x376958[_0x5e6c41(0x212)]=0x3a9d]=_0x5e6c41(0x212),_0x376958[_0x376958['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x376958[_0x376958[_0x5e6c41(0x22c)]=0x3a9f]=_0x5e6c41(0x22c),_0x376958[_0x376958[_0x5e6c41(0x2b0)]=0x3e81]=_0x5e6c41(0x2b0),_0x376958[_0x376958[_0x5e6c41(0x202)]=-0x1]=_0x5e6c41(0x202),_0x376958))(Z||{});function En(_0x18a8fa){const _0x151433=_0x5e6c41;var _0x3ea7e6,_0x1a1b65;const _0x5784ab=(_0x3ea7e6=_0x18a8fa['stageInfo'])==null?void 0x0:_0x3ea7e6[_0x151433(0x35d)],_0x4c26aa=((_0x1a1b65=_0x18a8fa[_0x151433(0x257)])==null?void 0x0:_0x1a1b65[_0x151433(0x3df)])||0x0;return _0x5784ab===_0x11ebd6['START_CALCULATION']&&_0x4c26aa>0x0;}function pn(_0x51fb42){const _0x54937b=_0x5e6c41;return _0x51fb42[_0x54937b(0x422)]===_0x12ebe4['SUCCESS'];}var On=Object[_0x5e6c41(0x3e4)],Tn=(_0x1c28d1,_0x5b0725,_0x567035,_0x1a8a4d)=>{for(var _0x59122b=_0x1a8a4d>0x1?void 0x0:_0x1a8a4d?On(_0x5b0725,_0x567035):_0x5b0725,_0x26c056=_0x1c28d1['length']-0x1,_0x2acaa3;_0x26c056>=0x0;_0x26c056--)(_0x2acaa3=_0x1c28d1[_0x26c056])&&(_0x59122b=_0x2acaa3(_0x59122b)||_0x59122b);return _0x59122b;},P=(_0x6d3ea6,_0x53a183)=>(_0x435c7f,_0x4a9ae2)=>_0x53a183(_0x435c7f,_0x4a9ae2,_0x6d3ea6);const Cn=_0x5e6c41(0x20b),Rn=_0x5e6c41(0x274),Dn=_0x5e6c41(0x41f);let me=class extends _0x52c1c5{constructor(_0x3aab81,_0x5221b7,_0x47478d,_0x42d864,_0x3393da,_0x5b557b,_0x460f51){const _0x1cc203=_0x5e6c41;super(),_(this,_0x1cc203(0x438),null),_(this,_0x1cc203(0x201),0x0),_(this,_0x1cc203(0x21b),0x0),_(this,_0x1cc203(0x316),[]),_(this,_0x1cc203(0x3cc),0x0),(this[_0x1cc203(0x2dd)]=_0x3aab81,this[_0x1cc203(0x292)]=_0x5221b7,this[_0x1cc203(0x2ea)]=_0x47478d,this[_0x1cc203(0x333)]=_0x42d864,this[_0x1cc203(0x3d4)]=_0x3393da,this[_0x1cc203(0x30a)]=_0x5b557b,this[_0x1cc203(0x40f)]=_0x460f51,this['_initCommandInterceptor']());}[_0x5e6c41(0x2a7)](){const _0x14f731=_0x5e6c41;this[_0x14f731(0x3be)](this[_0x14f731(0x292)][_0x14f731(0x43f)]((_0x3faf35,_0x547cc4)=>{const _0x40bd6d=_0x14f731;var _0x59088c;if(_0x3faf35['id']!==_0x4727ae['id'])return;const _0x45c4d2=_0x3faf35[_0x40bd6d(0x372)];if(!this[_0x40bd6d(0x3b4)]((_0x59088c=_0x45c4d2[_0x40bd6d(0x431)])!=null?_0x59088c:[]))return;if(!this[_0x40bd6d(0x2e6)]())throw this[_0x40bd6d(0x36d)](_0x3faf35,_0x547cc4),this[_0x40bd6d(0x224)](),new _0x492649();})),this[_0x14f731(0x3be)](this[_0x14f731(0x292)][_0x14f731(0x383)]((_0x1bb70b,_0x5ef3e6)=>{const _0x5ea8f8=_0x14f731;if(_0x1bb70b['id']!==_0x3be4e3['id'])return;const _0x335b4a=_0x1bb70b[_0x5ea8f8(0x372)];if(En(_0x335b4a)){const _0x413fc9=_0x220a66();this[_0x5ea8f8(0x316)][_0x5ea8f8(0x2aa)](_0x413fc9),this['_startCalculationLimit'](_0x413fc9);}else{if(pn(_0x335b4a)&&this['_taskIds']['length']>0x0){const _0x2db0a4=this[_0x5ea8f8(0x316)]['shift']();this[_0x5ea8f8(0x36f)](_0x2db0a4);}}}));}[_0x5e6c41(0x35f)](){const _0x2e2921=_0x5e6c41;super[_0x2e2921(0x35f)](),this[_0x2e2921(0x244)](),this[_0x2e2921(0x316)]=[],this['_currentUsage']=0x0,this[_0x2e2921(0x201)]=0x0,this[_0x2e2921(0x3cc)]=0x0;}async[_0x5e6c41(0x36d)](_0x525439,_0x52ca0b){const _0x22e524=_0x5e6c41;for(let _0x5e5df2=0x0;_0x5e5df2<0x1e;_0x5e5df2++)try{if(await this[_0x22e524(0x32b)](),this[_0x22e524(0x2e6)]()){this[_0x22e524(0x203)](_0x525439,_0x52ca0b),this[_0x22e524(0x2dd)]['show']({'content':this[_0x22e524(0x40f)]['t'](_0x22e524(0x2ee)),'type':_0x248756['Success']});return;}await new Promise(_0x3c9250=>{const _0x45416c=_0x22e524;this['_pollingInterval']=window[_0x45416c(0x1fc)](_0x3c9250,0x3e8);});}catch(_0x48d5a1){this[_0x22e524(0x30a)]['error'](_0x48d5a1);}this[_0x22e524(0x2dd)][_0x22e524(0x42c)]({'content':this['_localeService']['t'](_0x22e524(0x397)),'type':_0x248756[_0x22e524(0x2ba)]});}[_0x5e6c41(0x203)](_0x39742c,_0x414229){const _0x5cbe68=_0x5e6c41;try{this[_0x5cbe68(0x292)][_0x5cbe68(0x33b)](_0x39742c['id'],_0x39742c[_0x5cbe68(0x372)],_0x414229);}catch(_0x17a325){this[_0x5cbe68(0x30a)][_0x5cbe68(0x3fc)](_0x17a325);}}[_0x5e6c41(0x2ca)](_0x410534,_0x1561b1){const _0x2274a2=_0x5e6c41;_0x1561b1<this[_0x2274a2(0x3cc)]||(this[_0x2274a2(0x3cc)]=_0x1561b1,this[_0x2274a2(0x201)]=Number[_0x2274a2(0x2bb)](_0x410534[_0x2274a2(0x2a0)]),this[_0x2274a2(0x21b)]=Number[_0x2274a2(0x2bb)](_0x410534['currentUsage']));}async[_0x5e6c41(0x278)](_0x4f2be8){const _0x2208e4=_0x5e6c41;var _0xf039d8,_0x9b91a9;const _0x59bb05=Date[_0x2208e4(0x43b)]();try{const _0x1e79df=((_0xf039d8=this[_0x2208e4(0x2ea)][_0x2208e4(0x37b)](_0x554969))==null?void 0x0:_0xf039d8[_0x2208e4(0x245)])||Rn,_0x4853a1=(await this[_0x2208e4(0x333)]['post'](_0x1e79df,{'body':JSON[_0x2208e4(0x213)]({'taskId':_0x4f2be8})}))[_0x2208e4(0x366)];if(((_0x9b91a9=_0x4853a1[_0x2208e4(0x3fc)])==null?void 0x0:_0x9b91a9[_0x2208e4(0x412)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x4853a1[_0x2208e4(0x218)],_0x59bb05);}catch(_0xa0c58a){this[_0x2208e4(0x30a)][_0x2208e4(0x3fc)](_0xa0c58a);}}async['_getFormulaLimitStatus'](_0x4e74f0){const _0x3190aa=_0x5e6c41;var _0x17a8b7,_0x253e6c;const _0x1f1c26=Date['now']();try{const _0x5848c1=((_0x17a8b7=this['_configService'][_0x3190aa(0x37b)](_0x554969))==null?void 0x0:_0x17a8b7[_0x3190aa(0x303)])||Cn,_0x15c89e=_0x4e74f0?_0x5848c1+_0x3190aa(0x260)+encodeURIComponent(_0x4e74f0):_0x5848c1,_0x58495f=(await this[_0x3190aa(0x333)][_0x3190aa(0x38c)](_0x15c89e))[_0x3190aa(0x366)];if(((_0x253e6c=_0x58495f['error'])==null?void 0x0:_0x253e6c[_0x3190aa(0x412)])!==Z['OK'])return;this[_0x3190aa(0x2ca)](_0x58495f[_0x3190aa(0x218)],_0x1f1c26);}catch(_0x8918f1){this[_0x3190aa(0x30a)][_0x3190aa(0x3fc)](_0x8918f1);}}async[_0x5e6c41(0x36f)](_0x437caf){const _0x35dc46=_0x5e6c41;var _0x3b30cc,_0x5354b4;const _0x56c279=Date[_0x35dc46(0x43b)]();try{const _0x35df2a=((_0x3b30cc=this[_0x35dc46(0x2ea)][_0x35dc46(0x37b)](_0x554969))==null?void 0x0:_0x3b30cc[_0x35dc46(0x403)])||Dn,_0x1e158f=(await this[_0x35dc46(0x333)][_0x35dc46(0x3f8)](_0x35df2a,{'body':JSON[_0x35dc46(0x213)]({'taskId':_0x437caf})}))[_0x35dc46(0x366)];if(((_0x5354b4=_0x1e158f['error'])==null?void 0x0:_0x5354b4[_0x35dc46(0x412)])!==Z['OK'])return;this[_0x35dc46(0x2ca)](_0x1e158f[_0x35dc46(0x218)],_0x56c279);}catch(_0x490260){this[_0x35dc46(0x30a)]['error'](_0x490260);}}[_0x5e6c41(0x2e6)](){const _0xabdd49=_0x5e6c41;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xabdd49(0x21b)]>0x0;}[_0x5e6c41(0x244)](){const _0x5c65a7=_0x5e6c41;this[_0x5c65a7(0x438)]&&(clearTimeout(this[_0x5c65a7(0x438)]),this['_pollingInterval']=null);}[_0x5e6c41(0x224)](){const _0x53b8d3=_0x5e6c41;this[_0x53b8d3(0x2dd)][_0x53b8d3(0x42c)]({'content':this[_0x53b8d3(0x40f)]['t'](_0x53b8d3(0x2d1)),'type':_0x248756[_0x53b8d3(0x3c7)]});}['_hasFormulaInDirtyRanges'](_0x39c4c9){const _0x5df7b5=_0x5e6c41;for(const _0x30fda1 of _0x39c4c9){const {unitId:_0x1af2a7,sheetId:_0x292c2a,range:_0x1d16ab}=_0x30fda1,_0x51935c=this[_0x5df7b5(0x3d4)][_0x5df7b5(0x338)](_0x1af2a7);if(!_0x51935c)continue;const _0x3c5fa2=_0x51935c[_0x5df7b5(0x241)](_0x292c2a);if(!_0x3c5fa2)continue;const _0x38d7bb=_0x3c5fa2[_0x5df7b5(0x433)]();for(let _0x311ed9=_0x1d16ab[_0x5df7b5(0x2bd)];_0x311ed9<=_0x1d16ab[_0x5df7b5(0x2f9)];_0x311ed9++)for(let _0x1f98a7=_0x1d16ab['startColumn'];_0x1f98a7<=_0x1d16ab[_0x5df7b5(0x34b)];_0x1f98a7++){const _0x5cab9=_0x38d7bb[_0x5df7b5(0x428)](_0x311ed9,_0x1f98a7);if(_0x5cab9&&(_0x3b833f(_0x5cab9['f'])||_0x4a4bd8(_0x5cab9['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x393365(_0xe75bb)),P(0x1,_0x51b600),P(0x2,_0x4642c4),P(0x3,_0x393365(_0x2cb535)),P(0x4,_0x49c215),P(0x5,_0x4fe5ec),P(0x6,_0x393365(_0x353f39))],me);var bn=Object[_0x5e6c41(0x3e4)],Nn=(_0x22a7a8,_0x2ff653,_0x2fec09,_0xac30d8)=>{const _0x10e0eb=_0x5e6c41;for(var _0x2073ff=_0xac30d8>0x1?void 0x0:_0xac30d8?bn(_0x2ff653,_0x2fec09):_0x2ff653,_0x742645=_0x22a7a8[_0x10e0eb(0x3f6)]-0x1,_0x22469f;_0x742645>=0x0;_0x742645--)(_0x22469f=_0x22a7a8[_0x742645])&&(_0x2073ff=_0x22469f(_0x2073ff)||_0x2073ff);return _0x2073ff;},Ue=(_0x2a45ca,_0x4925eb)=>(_0x124adb,_0x2a69c8)=>_0x4925eb(_0x124adb,_0x2a69c8,_0x2a45ca);let He=class extends _0x52c1c5{constructor(_0x3e1b25,_0x4876e5,_0x529d9d){const _0xdcb121=_0x5e6c41;super(),_(this,_0xdcb121(0x3b6),new Map()),_(this,_0xdcb121(0x42a),new Map()),_(this,_0xdcb121(0x291),!0x1),(this[_0xdcb121(0x2ea)]=_0x3e1b25,this['_localStorageService']=_0x4876e5,this[_0xdcb121(0x2b4)]=_0x529d9d);}['disableLocalCache'](){const _0xec6da6=_0x5e6c41;this[_0xec6da6(0x291)]=!0x0;}[_0x5e6c41(0x2a2)](){const _0x13d0e1=_0x5e6c41;this[_0x13d0e1(0x291)]=!0x1;}get['saveTaskMap'](){const _0x5e337f=_0x5e6c41;return this[_0x5e337f(0x42a)];}[_0x5e6c41(0x35f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x5e6c41(0x34f)](_0x2fb506){const _0x403036=_0x5e6c41;return this['_disabled']?null:this[_0x403036(0x389)][_0x403036(0x1ef)](_0x46d1c9(_0x2fb506));}async['saveOfflineData'](_0x107a95,_0x49fe6a){const _0x43a049=_0x5e6c41;return!!this[_0x43a049(0x389)][_0x43a049(0x2e8)](_0x107a95,_0x49fe6a);}[_0x5e6c41(0x348)](_0x487a9c,_0x30d618,_0x2af781,_0x3d4e0e){const _0x276aa8=_0x5e6c41,_0xc20166=this['_revisionService'][_0x276aa8(0x1eb)](_0x487a9c);this[_0x276aa8(0x3b6)][_0x276aa8(0x1f7)](_0x487a9c,{'unitID':_0x487a9c,'type':_0x30d618,'awaitingChangeset':_0x2af781,'mutations':_0x3d4e0e,'rev':_0xc20166}),this[_0x276aa8(0x42a)][_0x276aa8(0x3a4)](_0x487a9c)||this[_0x276aa8(0x325)](_0x487a9c);}[_0x5e6c41(0x325)](_0x5edd6e){const _0x2fb5b2=_0x5e6c41,_0x4c4671=this['_getSaveTimeout']();_0x4c4671===0x0?this[_0x2fb5b2(0x328)](_0x5edd6e):this['_saveTaskMap'][_0x2fb5b2(0x1f7)](_0x5edd6e,setTimeout(()=>this[_0x2fb5b2(0x328)](_0x5edd6e),_0x4c4671));}[_0x5e6c41(0x29f)](){const _0x50fa81=_0x5e6c41;var _0x5a161f;return(_0x5a161f=this[_0x50fa81(0x2ea)][_0x50fa81(0x37b)](_0x16e84e))!=null?_0x5a161f:_0x239433;}['_saveCache'](_0x22e9ce){const _0x48e2a7=_0x5e6c41,_0x16971b=this['_saveTaskMap'][_0x48e2a7(0x38c)](_0x22e9ce);return _0x16971b!==void 0x0&&window['clearTimeout'](_0x16971b),this[_0x48e2a7(0x389)][_0x48e2a7(0x2e8)](_0x46d1c9(_0x22e9ce),this[_0x48e2a7(0x3b6)][_0x48e2a7(0x38c)](_0x22e9ce))[_0x48e2a7(0x3bf)](()=>this[_0x48e2a7(0x42a)]['delete'](_0x22e9ce));}async[_0x5e6c41(0x22e)](){const _0x214dbc=_0x5e6c41,_0x225cb9=[];this[_0x214dbc(0x42a)][_0x214dbc(0x396)]((_0x4c66b7,_0x7750d3)=>{const _0x44b948=_0x214dbc;window['clearTimeout'](_0x4c66b7),_0x225cb9[_0x44b948(0x2aa)](this[_0x44b948(0x328)](_0x7750d3)[_0x44b948(0x3bf)](()=>{const _0xdfcb24=_0x44b948;this[_0xdfcb24(0x42a)][_0xdfcb24(0x25b)](_0x7750d3);}));}),await Promise[_0x214dbc(0x2cc)](_0x225cb9);}};He=Nn([Ue(0x0,_0x4642c4),Ue(0x1,_0x94686d),Ue(0x2,_0x393365(_0x30d137))],He);class Ln extends _0x4e0967{constructor(){const _0x1865d0=_0x5e6c41;super(),_(this,_0x1865d0(0x31c)),this[_0x1865d0(0x31c)]=_0x138141(window,_0x1865d0(0x40a))[_0x1865d0(0x446)](_0x2c10e9(this['dispose$']),_0x369b94(0x1),_0x56e65c(void 0x0));}['setParam'](_0x1da0a0,_0x35bb26,_0x51e902=!0x1){const _0x2b1b65=_0x5e6c41,_0x248817=new URL(window[_0x2b1b65(0x2fe)][_0x2b1b65(0x3b0)]);_0x248817['searchParams'][_0x2b1b65(0x1f7)](_0x1da0a0,_0x35bb26),_0x51e902?window[_0x2b1b65(0x3cb)][_0x2b1b65(0x363)]('','',_0x248817[_0x2b1b65(0x373)]()):window['history'][_0x2b1b65(0x409)]('','',_0x248817['toString']());}[_0x5e6c41(0x318)](_0x2651af,_0x1773bb=!0x1){const _0x35312e=_0x5e6c41,_0x31cc33=new URL(window[_0x35312e(0x2fe)]['href']);_0x31cc33[_0x35312e(0x436)]['delete'](_0x2651af),_0x1773bb?window['history'][_0x35312e(0x363)]('','',_0x31cc33[_0x35312e(0x373)]()):window[_0x35312e(0x3cb)]['pushState']('','',_0x31cc33['toString']());}['getParam'](_0x1217ee){const _0x54cdc7=_0x5e6c41;var _0x58973c;return(_0x58973c=new URL(window[_0x54cdc7(0x2fe)][_0x54cdc7(0x3b0)])[_0x54cdc7(0x436)]['get'](_0x1217ee))!=null?_0x58973c:void 0x0;}}var Un=Object[_0x5e6c41(0x26e)],Mn=Object[_0x5e6c41(0x3e4)],An=(_0x9074b8,_0x1e1b96,_0x36e216)=>_0x1e1b96 in _0x9074b8?Un(_0x9074b8,_0x1e1b96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e216}):_0x9074b8[_0x1e1b96]=_0x36e216,Pn=(_0x2cc36e,_0x4b3b07,_0x6a055b,_0x458a5e)=>{for(var _0x271fa7=_0x458a5e>0x1?void 0x0:_0x458a5e?Mn(_0x4b3b07,_0x6a055b):_0x4b3b07,_0x5bdd74=_0x2cc36e['length']-0x1,_0x151fab;_0x5bdd74>=0x0;_0x5bdd74--)(_0x151fab=_0x2cc36e[_0x5bdd74])&&(_0x271fa7=_0x151fab(_0x271fa7)||_0x271fa7);return _0x271fa7;},Me=(_0x4ce4b7,_0xf4102c)=>(_0x22801b,_0xa8e93b)=>_0xf4102c(_0x22801b,_0xa8e93b,_0x4ce4b7),wn=(_0x24d493,_0x52d07e,_0x5ca314)=>An(_0x24d493,_0x52d07e+'',_0x5ca314);const yn=_0x5e6c41(0x267);let Ye=class extends _0x43ff47{constructor(_0x4ebff0=_t,_0xacbd8b,_0xb05506,_0x398240){const _0x3de6b8=_0x5e6c41;super(),this[_0x3de6b8(0x1ff)]=_0x4ebff0,this['_renderManagerService']=_0xacbd8b,this['_injector']=_0xb05506,this[_0x3de6b8(0x2ea)]=_0x398240;const {..._0x2d4a8e}=_0x1dccc9({},_t,this[_0x3de6b8(0x1ff)]);this['_configService'][_0x3de6b8(0x248)](hn,_0x2d4a8e);}[_0x5e6c41(0x28b)](){const _0x3f1095=_0x5e6c41;this[_0x3f1095(0x21d)](),this[_0x3f1095(0x28f)]();}[_0x5e6c41(0x2a6)](){const _0x51f33c=_0x5e6c41;this[_0x51f33c(0x30c)]();}[_0x5e6c41(0x21d)](){const _0xd668f5=_0x5e6c41;var _0x2bcb1a;const _0x31a9af=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x1363ef,{'useClass':_0x9fbd32}],[_0x588b9c,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0xd668f5(0x1ff)]['enableFrontendLog']&&_0x31a9af[_0xd668f5(0x2aa)]([le]),_0x4e9344(this[_0xd668f5(0x254)],_0x587b20(_0x31a9af,(_0x2bcb1a=this[_0xd668f5(0x1ff)])==null?void 0x0:_0x2bcb1a[_0xd668f5(0x22b)]));}[_0x5e6c41(0x30c)](){const _0x5a129b=_0x5e6c41;this[_0x5a129b(0x3be)](this[_0x5a129b(0x410)][_0x5a129b(0x2bc)](_0x3f2b66[_0x5a129b(0x2c3)],[Fe])),this[_0x5a129b(0x3be)](this[_0x5a129b(0x410)][_0x5a129b(0x2bc)](_0x3f2b66['UNIVER_SHEET'],[ke]));}[_0x5e6c41(0x28f)](){const _0x383b87=_0x5e6c41;_0x5cb758(this['_injector'],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0x383b87(0x1ff)][_0x383b87(0x264)]&&_0x5cb758(this[_0x383b87(0x254)],[[le]]);}};wn(Ye,_0x5e6c41(0x434),yn),Ye=Pn([_0x3f7a7f(_0x53849a),Me(0x1,_0x1f8720),Me(0x2,_0x393365(_0xaa1b4f)),Me(0x3,_0x4642c4)],Ye);var $n=Object[_0x5e6c41(0x3e4)],xn=(_0x1a3519,_0x297e7d,_0x4c05db,_0x405097)=>{const _0x29e98c=_0x5e6c41;for(var _0x34621f=_0x405097>0x1?void 0x0:_0x405097?$n(_0x297e7d,_0x4c05db):_0x297e7d,_0x25006a=_0x1a3519[_0x29e98c(0x3f6)]-0x1,_0x49276d;_0x25006a>=0x0;_0x25006a--)(_0x49276d=_0x1a3519[_0x25006a])&&(_0x34621f=_0x49276d(_0x34621f)||_0x34621f);return _0x34621f;},J=(_0x3e48ac,_0x321cb9)=>(_0x2ff1b9,_0x9eae7)=>_0x321cb9(_0x2ff1b9,_0x9eae7,_0x3e48ac);let ut=class extends _0x1362c8{constructor(_0x122f3f,_0x89075,_0x3edb61,_0x202037,_0x2468c5){super(_0x122f3f,_0x89075,_0x3edb61,_0x202037,_0x2468c5);}async[_0x5e6c41(0x3e1)](_0x1e5703){const _0x17b18c=_0x5e6c41,_0x1bbea0=await this[_0x17b18c(0x2c0)](),_0x3f9a1e=this['_createSocketURL'](_0x1e5703,_0x1bbea0);return this[_0x17b18c(0x3ed)](_0x3f9a1e);}[_0x5e6c41(0x269)](_0x1cb7d5,_0x1a6e64){const _0x3ce536=_0x5e6c41,_0x434184=typeof window>'u'?new URL(_0x1cb7d5):new URL(_0x1cb7d5,window['location'][_0x3ce536(0x1fa)]);_0x434184[_0x3ce536(0x436)][_0x3ce536(0x1f7)]('sessionTicket',_0x1a6e64);const _0x255b3a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3ce536(0x281)]);return _0x255b3a[_0x3ce536(0x38c)](_0x3ce536(0x3dc))&&_0x434184[_0x3ce536(0x436)][_0x3ce536(0x1f7)](_0x3ce536(0x3dc),_0x255b3a[_0x3ce536(0x38c)](_0x3ce536(0x3dc))),_0x434184['toString']();}async[_0x5e6c41(0x2c0)](){const _0x43ef1f=_0x5e6c41;var _0x25cadf,_0x503984,_0xe14acc;const _0x13f4ef=this[_0x43ef1f(0x2ea)]['getConfig'](_0x554969),_0x56f65b=(_0x25cadf=_0x13f4ef==null?void 0x0:_0x13f4ef['wsSessionTicketUrl'])!=null?_0x25cadf:_0x4482a6;return(_0xe14acc=(_0x503984=(await this[_0x43ef1f(0x333)][_0x43ef1f(0x38c)](_0x56f65b,{'headers':{'Content-Type':_0x43ef1f(0x36e)}}))[_0x43ef1f(0x366)])==null?void 0x0:_0x503984[_0x43ef1f(0x395)])!=null?_0xe14acc:'';}};ut=xn([J(0x0,_0x393365(_0xaa1b4f)),J(0x1,_0x393365(_0x2cb535)),J(0x2,_0x4642c4),J(0x3,_0x4fe5ec),J(0x4,_0x556089)],ut);var Bn=Object[_0x5e6c41(0x3e4)],Fn=(_0x1f9100,_0x451227,_0x232299,_0x511001)=>{const _0x4aa92f=_0x5e6c41;for(var _0xf896a7=_0x511001>0x1?void 0x0:_0x511001?Bn(_0x451227,_0x232299):_0x451227,_0x36535f=_0x1f9100[_0x4aa92f(0x3f6)]-0x1,_0xb86eed;_0x36535f>=0x0;_0x36535f--)(_0xb86eed=_0x1f9100[_0x36535f])&&(_0xf896a7=_0xb86eed(_0xf896a7)||_0xf896a7);return _0xf896a7;},Ae=(_0x556b70,_0x3661ac)=>(_0x396216,_0xb0d5f5)=>_0x3661ac(_0x396216,_0xb0d5f5,_0x556b70);let dt=class extends _0x52c1c5{constructor(_0x289084,_0x15c0e2,_0x3acec6){const _0xded7e3=_0x5e6c41;super(),this[_0xded7e3(0x23d)]=_0x289084,this[_0xded7e3(0x333)]=_0x15c0e2,this[_0xded7e3(0x2ea)]=_0x3acec6;}async['runOnServer'](_0x313d82,_0x113c82,_0x13205a,..._0x5b3dd9){const _0x2d106b=_0x5e6c41;var _0xbd5e60,_0x3bec13,_0x4940de,_0xa785a0;const _0x36e3c2=this[_0x2d106b(0x23d)][_0x2d106b(0x2af)]();if(!_0x36e3c2)throw new Error(_0x2d106b(0x200));const _0x4adeae=((_0xbd5e60=this['_configService'][_0x2d106b(0x37b)](_0x3edb34))!=null?_0xbd5e60:_0x3027c6)+'/'+_0x313d82+_0x2d106b(0x344)+_0x113c82,_0x3e51bd=new URL(window[_0x2d106b(0x2fe)][_0x2d106b(0x3b0)]),_0x17053e={'scriptId':_0x313d82,'runId':(_0x3bec13=_0x3e51bd['searchParams']['get']('runId'))!=null?_0x3bec13:'','function':_0x113c82,'unitId':_0x36e3c2['getUnitId'](),'argsOfFunction':JSON[_0x2d106b(0x213)](_0x5b3dd9),'invokeId':(_0x4940de=_0x13205a['invokeId'])!=null?_0x4940de:'','executionId':(_0xa785a0=_0x13205a[_0x2d106b(0x214)])!=null?_0xa785a0:''};try{const _0x27c4f7=await this[_0x2d106b(0x333)][_0x2d106b(0x3f8)](_0x4adeae,{'body':_0x17053e});return _0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x3fc)]&&_0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x3fc)][_0x2d106b(0x412)]!==Z['OK']?'Failed':_0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x235)];}catch{return _0x2d106b(0x3aa);}}};dt=Fn([Ae(0x0,_0x49c215),Ae(0x1,_0x393365(_0x2cb535)),Ae(0x2,_0x4642c4)],dt);const St=0x7530,mt=_0x5e6c41(0x3fa);class rr extends _0x52c1c5{constructor(){const _0x13fdab=_0x5e6c41;super(),_(this,_0x13fdab(0x20a),_0x220a66()),_(this,_0x13fdab(0x3bc),new Set()),_(this,_0x13fdab(0x1f5),new Map()),_(this,_0x13fdab(0x3b5),null),_(this,_0x13fdab(0x34a),new Map()),_(this,_0x13fdab(0x3af),new Map()),this[_0x13fdab(0x3a3)]();}[_0x5e6c41(0x35f)](){const _0x401a8c=_0x5e6c41;super[_0x401a8c(0x35f)](),this['_clearOtherTimers'][_0x401a8c(0x396)]((_0x2de1e2,_0x3cd491)=>this[_0x401a8c(0x38f)](_0x3cd491)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x401a8c(0x3b5)]);}[_0x5e6c41(0x3a2)](_0x31176a){const _0x422ce3=_0x5e6c41;return this[_0x422ce3(0x3f1)](_0x31176a)[_0x422ce3(0x446)](_0x20bda3());}[_0x5e6c41(0x26a)](_0x377657){const _0x44dbd2=_0x5e6c41;this[_0x44dbd2(0x3bc)][_0x44dbd2(0x33d)]===0x0&&this[_0x44dbd2(0x1f1)](),this['_selfUnitIDs'][_0x44dbd2(0x3a1)](_0x377657),this[_0x44dbd2(0x210)]({'type':0x0,'memberID':this[_0x44dbd2(0x20a)],'unitIDs':[_0x377657],'isForwarded':!0x1});}['disposeUnit'](_0xdb7ecf){const _0x2c1738=_0x5e6c41;this[_0x2c1738(0x3bc)][_0x2c1738(0x25b)](_0xdb7ecf),this[_0x2c1738(0x3bc)][_0x2c1738(0x33d)]===0x0&&this['_heartbeatTimer']&&window[_0x2c1738(0x310)](this[_0x2c1738(0x3b5)]);}[_0x5e6c41(0x3a3)](){const _0x57de68=_0x5e6c41;this[_0x57de68(0x3be)](_0x4d6e0f(_0x138141(window,_0x57de68(0x334))['subscribe'](_0x3c2c49=>{const _0x1e56a1=_0x57de68;if(_0x3c2c49[_0x1e56a1(0x3c9)]!==mt||!_0x3c2c49[_0x1e56a1(0x2ae)])return;const _0xaf04c7=JSON[_0x1e56a1(0x3b9)](_0x3c2c49['newValue']);this[_0x1e56a1(0x3c0)](_0xaf04c7);}))),window[_0x57de68(0x261)]('unload',()=>this[_0x57de68(0x210)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57de68(0x382)](this[_0x57de68(0x3bc)])}));}[_0x5e6c41(0x3c0)](_0x3963b6){const _0x904b5e=_0x5e6c41;switch(_0x3963b6[_0x904b5e(0x22d)]){case 0x0:this[_0x904b5e(0x2e9)](_0x3963b6);break;case 0x1:this[_0x904b5e(0x375)](_0x3963b6);break;case 0x2:this[_0x904b5e(0x31f)](_0x3963b6);break;}}[_0x5e6c41(0x2e9)](_0x1fa492){const _0x589396=_0x5e6c41,{unitIDs:_0x5d4cd8,memberID:_0x522cc8,isForwarded:_0x1990c5}=_0x1fa492;_0x5d4cd8[_0x589396(0x396)](_0x25e89d=>{const _0x4be038=_0x589396;if(!_0x1990c5&&this[_0x4be038(0x1f5)]['has'](_0x25e89d)&&this[_0x4be038(0x3f1)](_0x25e89d)[_0x4be038(0x322)](_0x1de409['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x25e89d)||!this[_0x4be038(0x1f5)][_0x4be038(0x38c)](_0x25e89d)[_0x4be038(0x3a4)](_0x522cc8)){const _0x2bb3e6=this[_0x4be038(0x1f5)][_0x4be038(0x38c)](_0x25e89d)||new Set();_0x2bb3e6[_0x4be038(0x3a1)](_0x522cc8),this[_0x4be038(0x1f5)][_0x4be038(0x1f7)](_0x25e89d,_0x2bb3e6),this[_0x4be038(0x3b1)](_0x522cc8);}}),_0x1990c5||this['_send']({'type':0x0,'memberID':this[_0x589396(0x20a)],'unitIDs':[...this[_0x589396(0x3bc)]],'isForwarded':!0x0});}[_0x5e6c41(0x3b1)](_0x576d6a){const _0x293471=_0x5e6c41;this[_0x293471(0x38f)](_0x576d6a);const _0x3e4cad=window[_0x293471(0x1fc)](()=>{const _0x4d02e8=_0x293471;this['_unitOnClients'][_0x4d02e8(0x396)](_0x3bed8a=>{const _0x335a56=_0x4d02e8;_0x3bed8a[_0x335a56(0x25b)](_0x576d6a);});},St*0x2);this['_clearOtherTimers'][_0x293471(0x1f7)](_0x576d6a,_0x3e4cad);}[_0x5e6c41(0x38f)](_0x29a1f8){const _0x2fd017=_0x5e6c41;if(this['_clearOtherTimers'][_0x2fd017(0x3a4)](_0x29a1f8)){const _0x121f95=this['_clearOtherTimers'][_0x2fd017(0x38c)](_0x29a1f8);_0x121f95&&window[_0x2fd017(0x38e)](_0x121f95),this['_clearOtherTimers'][_0x2fd017(0x1f7)](_0x29a1f8,null);}}[_0x5e6c41(0x375)](_0x511cdd){const _0x5baf3e=_0x5e6c41,{memberID:_0x2550a0,unitIDs:_0x48e7ae}=_0x511cdd;_0x48e7ae[_0x5baf3e(0x396)](_0x3b8193=>{const _0x403ae3=_0x5baf3e;var _0x2325d6;const _0x26339a=this[_0x403ae3(0x1f5)]['get'](_0x3b8193);_0x26339a&&(_0x26339a['delete'](_0x2550a0),(_0x2325d6=this[_0x403ae3(0x3f1)](_0x3b8193))==null||_0x2325d6['next'](_0x26339a['size']===0x0?_0x1de409[_0x403ae3(0x266)]:_0x1de409['OTHER_CLIENTS_EDITING']));}),this[_0x5baf3e(0x38f)](_0x2550a0);}[_0x5e6c41(0x31f)](_0x5c6cff){const _0x25cafe=_0x5e6c41;this['_scheduleClearOtherTimer'](_0x5c6cff[_0x25cafe(0x414)]);}[_0x5e6c41(0x210)](_0x490bcb){const _0x428490=_0x5e6c41;localStorage['setItem'](mt,JSON[_0x428490(0x213)](_0x490bcb));}[_0x5e6c41(0x1f1)](){const _0x5c1fd6=_0x5e6c41;this[_0x5c1fd6(0x3b5)]=window[_0x5c1fd6(0x2f6)](()=>{const _0x111c8c=_0x5c1fd6;this['_send']({'type':0x2,'memberID':this[_0x111c8c(0x20a)]});},St);}[_0x5e6c41(0x3f1)](_0x2b2284){const _0x2a7ec8=_0x5e6c41;return this[_0x2a7ec8(0x3af)][_0x2a7ec8(0x3a4)](_0x2b2284)||this[_0x2a7ec8(0x3af)]['set'](_0x2b2284,new _0x1a4d1e(_0x1de409['NO_OTHER_CLIENTS_EDITING'])),this[_0x2a7ec8(0x3af)][_0x2a7ec8(0x38c)](_0x2b2284);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x84c39c=_0x48c1;(function(_0x3389f1,_0xcb737e){const _0x4dc673=_0x48c1,_0x178c40=_0x3389f1();while(!![]){try{const _0x4ac8fa=-parseInt(_0x4dc673(0xa1))/0x1*(parseInt(_0x4dc673(0x194))/0x2)+-parseInt(_0x4dc673(0x144))/0x3*(parseInt(_0x4dc673(0x136))/0x4)+-parseInt(_0x4dc673(0x1c1))/0x5+-parseInt(_0x4dc673(0x2dd))/0x6+-parseInt(_0x4dc673(0x2c5))/0x7*(-parseInt(_0x4dc673(0x174))/0x8)+-parseInt(_0x4dc673(0x1ec))/0x9*(parseInt(_0x4dc673(0x22f))/0xa)+parseInt(_0x4dc673(0x140))/0xb;if(_0x4ac8fa===_0xcb737e)break;else _0x178c40['push'](_0x178c40['shift']());}catch(_0x11ace2){_0x178c40['push'](_0x178c40['shift']());}}}(_0x3471,0x305ee));var Yt=Object[_0x84c39c(0x1d1)],Wt=(_0x3b1e5b,_0x4abfa2,_0x358213)=>_0x4abfa2 in _0x3b1e5b?Yt(_0x3b1e5b,_0x4abfa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x358213}):_0x3b1e5b[_0x4abfa2]=_0x358213,_=(_0x12ea20,_0x2f515b,_0x28bc6b)=>Wt(_0x12ea20,typeof _0x2f515b!=_0x84c39c(0x24a)?_0x2f515b+'':_0x2f515b,_0x28bc6b);import{jsx as _0x29e158,jsxs as _0x145b67}from'react/jsx-runtime';import{CollaborationStatus as _0x154596,CollaborationSessionService as _0x163347,CollaborationController as _0x5aa147,DataLoaderService as _0x4095e0,MemberService as _0x3d2546,SessionStatus as _0x1ff9b0,ILocalCacheService as _0x549f51,CollaborationUIEventService as _0x38d433,CollaborationUIEventId as _0x40014c,DocCollaborationEntity as _0xd7a01c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4d30ee,getLocalCacheKey as _0x2ed2bf,LOCAL_CACHE_INTERVAL as _0x395b92,LOCAL_CACHE_INTERVAL_KEY as _0x545c19,UniverCollaborationClientPlugin as _0x5ac490,CollaborationSocketService as _0x2e6ceb,DEFAULT_WS_SESSION_TICKET_URL as _0x47ee10,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x29f261,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x341dff,UnitStatus as _0x3bc2c6}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x52e776,IUniverInstanceService as _0x4e9296,Inject as _0x18b823,Injector as _0x3d0fff,Disposable as _0x43da09,createIdentifier as _0xec440f,ILogService as _0x376f30,ICommandService as _0x445746,Optional as _0x53dfae,RxDisposable as _0x48416c,Workbook as _0x50650b,DOC_RANGE_TYPE as _0x1bb01a,debounce as _0x3ac824,Rectangle as _0x42b60b,DisposableCollection as _0x25105f,toDisposable as _0x3b58a3,UniverInstanceType as _0x55700d,generateRandomId as _0x5ac2f3,COLORS as _0x45b9b6,ColorKit as _0x5957a3,ThemeService as _0x1d1064,fromEventSubject as _0x823729,Tools as _0x3538d0,CommandType as _0x54265b,IConfigService as _0x4683b0,CanceledError as _0x214e38,isFormulaString as _0x12930d,isFormulaId as _0x31bd31,ILocalStorageService as _0x4a9706,DependentOn as _0xaa675c,Plugin as _0x354b04,merge as _0x1561e6,registerDependencies as _0x508bf9,mergeOverrideWithDependencies as _0x408219,touchDependencies as _0x2b838d}from'@univerjs/core';import{useObservable as _0x57f81a,useDependency as _0x1a8fc5,IUIPartsService as _0x43c2d7,BuiltInUIPart as _0x1d3065,connectInjector as _0x489ca7,IBeforeCloseService as _0x159ecc,IMessageService as _0x1e9266,INotificationService as _0x185d59}from'@univerjs/ui';import{BehaviorSubject as _0x154363,switchMap as _0x29ad71,of as _0x2c088d,takeUntil as _0x1da07e,debounceTime as _0x1c073f,Subject as _0x37f791,filter as _0x1542b9,merge as _0x3b2430,combineLatest as _0x3b4ecb,fromEvent as _0x557668,shareReplay as _0x2072b5,mapTo as _0x5b46ba,distinctUntilChanged as _0x2246d1}from'rxjs';import{Tooltip as _0x2ba2a7,clsx as _0x5ce0c1,MessageType as _0x3e8d45}from'@univerjs/design';import{useRef as _0x24293b,createElement as _0x3fef55,forwardRef as _0xe7b13,useCallback as _0x15a867}from'react';import{IRemoteInstanceService as _0x33196a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4fde7d,RefRangeService as _0x96c8f5,SetSelectionsOperation as _0x13eece,SheetsSelectionsService as _0x148c22,EffectRefRangId as _0x38bdd6,handleIRemoveRow as _0x3e3651,handleIRemoveCol as _0x1261e1,handleMoveRange as _0x2bac2f,handleInsertRow as _0x255a99,handleInsertRangeMoveRight as _0x5219c0,handleInsertRangeMoveDown as _0x750b6d,handleInsertCol as _0x1f720c,handleDeleteRangeMoveUp as _0x21a455,handleDeleteRangeMoveLeft as _0x110d62,runRefRangeMutations as _0x5a7691}from'@univerjs/sheets';import{Shape as _0x4b851b,Rect as _0x19bb4a,getColor as _0x14e7cd,RegularPolygon as _0x54fced,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4880a7,Vector2 as _0x1cf3e1,SHEET_VIEWPORT_KEY as _0x554247,IRenderManagerService as _0x18fed5}from'@univerjs/engine-render';import{HTTPService as _0x427f9f,ISocketService as _0x4abb30,WebSocketService as _0x2dfd5f}from'@univerjs/network';import{IDocClipboardService as _0x4569e8,NodePositionConvertToCursor as _0x1c3561,NodePositionConvertToRectRange as _0x56ee2a,TEXT_RANGE_LAYER_INDEX as _0x5f108a,SetDocZoomRatioOperation as _0x33f4eb,DocIMEInputManagerService as _0x53f274,DocStateChangeManagerService as _0x439928}from'@univerjs/docs-ui';function _0x48c1(_0x7f4ec0,_0x3cde85){const _0x347119=_0x3471();return _0x48c1=function(_0x48c148,_0x53d831){_0x48c148=_0x48c148-0x98;let _0x2cd8e5=_0x347119[_0x48c148];return _0x2cd8e5;},_0x48c1(_0x7f4ec0,_0x3cde85);}import{IImageIoService as _0x555344}from'@univerjs/drawing';import{ITransformService as _0x1372a5,CollaborationEvent as _0x4a9e85,isTransformMutationFailure as _0x2291d4,isTransformMutationsWithChangesetSuccess as _0x240613,RevisionService as _0x30bff9,ISnapshotServerService as _0x50631a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3f4841,RichTextEditingMutation as _0x4ee65e,DocSelectionManagerService as _0x1e1f8b,DocSkeletonManagerService as _0x326b54}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xd32639,serializeRangeWithSheet as _0x276a92,FormulaExecuteStageType as _0x183ff7,FormulaExecutedStateType as _0x3d2b6e,SetFormulaCalculationStartMutation as _0x1a50e8,SetFormulaCalculationNotificationMutation as _0x350c96}from'@univerjs/engine-formula';import{map as _0x147860,filter as _0x537855,throttleTime as _0x15af13,takeUntil as _0x289ee9,switchMap as _0x45152d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x440011,getCoordByCell as _0x562021,getSheetObject as _0x3a9fb7}from'@univerjs/sheets-ui';function Ge({ref:_0x181e24,..._0x512c61}){const _0x5cf148=_0x84c39c,{icon:_0x3dbb2a,id:_0x3d0bb3,className:_0x1654cd,extend:_0x20d6be,..._0x303724}=_0x512c61,_0x59652a=(_0x5cf148(0x23b)+_0x3d0bb3+'\x20'+(_0x1654cd||''))[_0x5cf148(0x23d)](),_0x4076a7=_0x24293b('_'+Ei());return At(_0x3dbb2a,''+_0x3d0bb3,{'defIds':_0x3dbb2a[_0x5cf148(0x252)],'idSuffix':_0x4076a7[_0x5cf148(0xe9)]},{'ref':_0x181e24,'className':_0x59652a,..._0x303724},_0x20d6be);}function At(_0x4378b5,_0x32bb0c,_0x32ba0c,_0xdeb5c1,_0x314cb5){const _0x43272e=_0x84c39c;return _0x3fef55(_0x4378b5[_0x43272e(0x199)],{'key':_0x32bb0c,...gi(_0x4378b5,_0x32ba0c,_0x314cb5),..._0xdeb5c1},(vi(_0x4378b5,_0x32ba0c)['children']||[])[_0x43272e(0x145)]((_0x53c1e6,_0x15bee4)=>At(_0x53c1e6,_0x32bb0c+'-'+_0x4378b5['tag']+'-'+_0x15bee4,_0x32ba0c,void 0x0,_0x314cb5)));}function gi(_0x521c1e,_0x2d3968,_0x1c8d95){const _0x2e8709=_0x84c39c,_0x302d3e={..._0x521c1e[_0x2e8709(0x21a)]};_0x1c8d95!=null&&_0x1c8d95['colorChannel1']&&_0x302d3e[_0x2e8709(0xa8)]===_0x2e8709(0x111)&&(_0x302d3e[_0x2e8709(0xa8)]=_0x1c8d95[_0x2e8709(0x111)]),_0x521c1e['tag']===_0x2e8709(0x1eb)&&_0x302d3e['id']&&(_0x302d3e['id']=_0x302d3e['id']+_0x2d3968[_0x2e8709(0xb1)]),Object[_0x2e8709(0x1bc)](_0x302d3e)[_0x2e8709(0xf2)](([_0xf9c3,_0x495326])=>{const _0x37eddb=_0x2e8709;_0xf9c3===_0x37eddb(0x1eb)&&typeof _0x495326=='string'&&(_0x302d3e[_0xf9c3]=_0x495326['replace'](/url\(#(.*)\)/,_0x37eddb(0x24f)+_0x2d3968[_0x37eddb(0xb1)]+')'));});const {defIds:_0x4732cf}=_0x2d3968;return!_0x4732cf||_0x4732cf['length']===0x0||(_0x521c1e[_0x2e8709(0x199)]===_0x2e8709(0x1be)&&_0x302d3e[_0x2e8709(0x1a0)]&&(_0x302d3e['xlink:href']=_0x302d3e[_0x2e8709(0x1a0)]+_0x2d3968[_0x2e8709(0xb1)]),Object[_0x2e8709(0x1bc)](_0x302d3e)[_0x2e8709(0xf2)](([_0x383943,_0x50c1ae])=>{const _0x207cd0=_0x2e8709;typeof _0x50c1ae==_0x207cd0(0x207)&&(_0x302d3e[_0x383943]=_0x50c1ae['replace'](/url\(#(.*)\)/,_0x207cd0(0x24f)+_0x2d3968[_0x207cd0(0xb1)]+')'));})),_0x302d3e;}function vi(_0x11587f,_0x1db4f0){const _0x131c9f=_0x84c39c;var _0x25f342;const {defIds:_0x28a53d}=_0x1db4f0;return!_0x28a53d||_0x28a53d[_0x131c9f(0x210)]===0x0?_0x11587f:_0x11587f[_0x131c9f(0x199)]==='defs'&&((_0x25f342=_0x11587f[_0x131c9f(0x1a2)])!=null&&_0x25f342[_0x131c9f(0x210)])?{..._0x11587f,'children':_0x11587f['children'][_0x131c9f(0x145)](_0x396b27=>typeof _0x396b27['attrs']['id']==_0x131c9f(0x207)&&_0x28a53d&&_0x28a53d['includes'](_0x396b27[_0x131c9f(0x21a)]['id'])?{..._0x396b27,'attrs':{..._0x396b27[_0x131c9f(0x21a)],'id':_0x396b27[_0x131c9f(0x21a)]['id']+_0x1db4f0[_0x131c9f(0xb1)]}}:_0x396b27)}:_0x11587f;}function Ei(){const _0x36822b=_0x84c39c;return Math['random']()[_0x36822b(0x129)](0x24)[_0x36822b(0x19a)](0x2,0x8);}Ge['displayName']=_0x84c39c(0x2df);const pi={'tag':_0x84c39c(0x155),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x84c39c(0x1cc),'viewBox':_0x84c39c(0x169),'width':_0x84c39c(0x2c8),'height':_0x84c39c(0x2c8)},'children':[{'tag':'g','attrs':{'clipPath':_0x84c39c(0x1c3)},'children':[{'tag':_0x84c39c(0x236),'attrs':{'stroke':_0x84c39c(0x103),'d':_0x84c39c(0x2bc),'strokeLinecap':_0x84c39c(0x1a4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x84c39c(0x16d),'attrs':{},'children':[{'tag':_0x84c39c(0xce),'attrs':{'id':_0x84c39c(0x298)},'children':[{'tag':'path','attrs':{'fill':_0x84c39c(0xcc),'d':_0x84c39c(0x271)}}]}]}],'defIds':[_0x84c39c(0x298)]},Pt=_0xe7b13(function(_0x302df7,_0x1c74ba){const _0x11e737=_0x84c39c;return _0x3fef55(Ge,Object['assign']({},_0x302df7,{'id':_0x11e737(0x101),'ref':_0x1c74ba,'icon':pi}));});Pt[_0x84c39c(0x2a2)]=_0x84c39c(0x2da);const Oi={'tag':_0x84c39c(0x155),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x84c39c(0x141),'width':_0x84c39c(0x2c8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x84c39c(0xf1)},'children':[{'tag':'path','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':_0x84c39c(0x1a4),'strokeWidth':1.2}}]},{'tag':_0x84c39c(0x16d),'attrs':{},'children':[{'tag':_0x84c39c(0xce),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x84c39c(0x236),'attrs':{'fill':_0x84c39c(0xcc),'d':_0x84c39c(0x271),'transform':_0x84c39c(0xa5)}}]}]}],'defIds':[_0x84c39c(0x184)]},wt=_0xe7b13(function(_0x18a698,_0x29d944){const _0x2fa85b=_0x84c39c;return _0x3fef55(Ge,Object[_0x2fa85b(0x2ed)]({},_0x18a698,{'id':_0x2fa85b(0x1da),'ref':_0x29d944,'icon':Oi}));});wt[_0x84c39c(0x2a2)]=_0x84c39c(0x1fb);function Ti(_0x41f523){const _0x4c692f=_0x84c39c;switch(_0x41f523){case _0x154596[_0x4c692f(0x170)]:return'collabStatus.offline';case _0x154596[_0x4c692f(0x261)]:return _0x4c692f(0x149);case _0x154596['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x154596[_0x4c692f(0xc1)]:return _0x4c692f(0x17c);case _0x154596[_0x4c692f(0x1ca)]:case _0x154596[_0x4c692f(0x1db)]:return'collabStatus.syncing';case _0x154596['SYNCED']:case _0x154596['PENDING']:return _0x4c692f(0x193);}}function Ci(_0x3d84e7){const _0x21bcbc=_0x84c39c,{status$:_0x2ffc43}=_0x3d84e7,_0x439d1e=_0x57f81a(_0x2ffc43,_0x154596[_0x21bcbc(0xc1)]),_0x3ad4cf=_0x1a8fc5(_0x52e776),_0x4fed3b=_0x1a8fc5(_0x163347),_0x48abbf=_0x439d1e!==_0x154596[_0x21bcbc(0x170)],_0x21bcf1=_0x3ad4cf['t'](Ti(_0x439d1e)),_0x1fdbaa=_0x48abbf?_0x29e158(wt,{}):_0x29e158(Pt,{}),_0x1a225c=_0x15a867(()=>{const _0x3f0b97=_0x21bcbc;_0x48abbf||_0x4fed3b[_0x3f0b97(0x21e)]();},[_0x48abbf,_0x4fed3b]);function _0x16f8af(){const _0x26f514=_0x21bcbc;return _0x145b67(_0x26f514(0x11a),{'className':'univer-flex\x20univer-items-center','onClick':_0x1a225c,'children':[_0x29e158('div',{'className':_0x5ce0c1('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x48abbf,'univer-text-red-500':!_0x48abbf}),'children':_0x1fdbaa}),_0x29e158(_0x26f514(0x11a),{'className':_0x26f514(0x1f3),'children':_0x21bcf1})]});}return _0x48abbf?_0x16f8af():_0x29e158(_0x2ba2a7,{'title':_0x3ad4cf['t'](_0x21bcbc(0x118)),'children':_0x16f8af()});}var Ri=Object[_0x84c39c(0x9c)],Di=(_0x5de73e,_0xca5a03,_0x39f522,_0x412f2e)=>{const _0x12eb55=_0x84c39c;for(var _0x1936d0=_0x412f2e>0x1?void 0x0:_0x412f2e?Ri(_0xca5a03,_0x39f522):_0xca5a03,_0x253faf=_0x5de73e[_0x12eb55(0x210)]-0x1,_0x3eb649;_0x253faf>=0x0;_0x253faf--)(_0x3eb649=_0x5de73e[_0x253faf])&&(_0x1936d0=_0x3eb649(_0x1936d0)||_0x1936d0);return _0x1936d0;},se=(_0x35d799,_0x4cc60a)=>(_0x1a019c,_0x5eed1c)=>_0x4cc60a(_0x1a019c,_0x5eed1c,_0x35d799);let ae=class extends _0x43da09{constructor(_0x4b3187,_0x375227,_0x474a54,_0x15b6da){const _0x36005e=_0x84c39c;super(),_(this,_0x36005e(0x1ad),new _0x154363(_0x154596['NOT_COLLAB'])),(this[_0x36005e(0x2ce)]=_0x4b3187,this['_injector']=_0x375227,this['_collaborationController']=_0x474a54,this[_0x36005e(0x266)]=_0x15b6da,this['_initStatusComponent'](),this[_0x36005e(0x212)]());}[_0x84c39c(0x212)](){const _0x1c05eb=_0x84c39c;this[_0x1c05eb(0x2de)](this[_0x1c05eb(0x2ce)][_0x1c05eb(0x220)][_0x1c05eb(0x2ea)](_0x29ad71(()=>{const _0x5cc3ed=_0x1c05eb,_0x4aab1c=this[_0x5cc3ed(0x2ce)]['getFocusedUnit']();return _0x4aab1c?this[_0x5cc3ed(0xdc)][_0x5cc3ed(0x289)](_0x4aab1c['getUnitId']()):_0x2c088d(null);}),_0x29ad71(_0x53fa6e=>_0x53fa6e?_0x53fa6e[_0x1c05eb(0x179)]:_0x2c088d(_0x154596[_0x1c05eb(0xc1)])))[_0x1c05eb(0x9b)](_0x2e8c5c=>{const _0x5dd381=_0x1c05eb;this[_0x5dd381(0x1ad)][_0x5dd381(0xff)](_0x2e8c5c);}));}['_initStatusComponent'](){const _0xd5c360=_0x84c39c;this[_0xd5c360(0x2de)](this[_0xd5c360(0x266)]['registerComponent'](_0x1d3065['HEADER_MENU'],()=>_0x489ca7(bi({'status$':this[_0xd5c360(0x1ad)][_0xd5c360(0x1a8)]()}),this[_0xd5c360(0x1c8)])));}};ae=Di([se(0x0,_0x4e9296),se(0x1,_0x18b823(_0x3d0fff)),se(0x2,_0x18b823(_0x5aa147)),se(0x3,_0x43c2d7)],ae);function bi(_0x408b42){const {status$:_0xcdea79}=_0x408b42;return function(){return _0x29e158(Ci,{'status$':_0xcdea79});};}const yt=_0xec440f('uni.network.url-service');var Ni=Object[_0x84c39c(0x9c)],Li=(_0x235e6d,_0x46a715,_0x159bdf,_0x1e325f)=>{for(var _0x10d50a=_0x1e325f>0x1?void 0x0:_0x1e325f?Ni(_0x46a715,_0x159bdf):_0x46a715,_0x445a00=_0x235e6d['length']-0x1,_0x3577ea;_0x445a00>=0x0;_0x445a00--)(_0x3577ea=_0x235e6d[_0x445a00])&&(_0x10d50a=_0x3577ea(_0x10d50a)||_0x10d50a);return _0x10d50a;},K=(_0x9991df,_0x98c23e)=>(_0x133b36,_0x14ae82)=>_0x98c23e(_0x133b36,_0x14ae82,_0x9991df);let ce=class extends _0x48416c{constructor(_0x51a29d,_0x355e44,_0xa7b4c2,_0x218e14,_0x2d16d4){const _0x1f838e=_0x84c39c;super(),this[_0x1f838e(0x147)]=_0x51a29d,this['_logService']=_0x355e44,this[_0x1f838e(0x132)]=_0xa7b4c2,this[_0x1f838e(0x272)]=_0x218e14,_0x2d16d4?_0x2d16d4==null||_0x2d16d4[_0x1f838e(0xc8)]()['then'](()=>this[_0x1f838e(0x19c)]()):(this[_0x1f838e(0x2d4)]['debug'](_0x1f838e(0x22e),_0x1f838e(0x253)),this[_0x1f838e(0x19c)]());}async[_0x84c39c(0x19c)](){const _0x84f8a1=_0x84c39c,_0xd89897=this[_0x84f8a1(0x147)]['getParam'](_0x84f8a1(0x258)),_0x2d0f86=this[_0x84f8a1(0x147)][_0x84f8a1(0x1bb)](_0x84f8a1(0x190)),_0x27def0=this[_0x84f8a1(0x147)]['getParam'](_0x84f8a1(0x158));if(!_0xd89897||!_0x2d0f86){this[_0x84f8a1(0x2d4)][_0x84f8a1(0x1a6)](_0x84f8a1(0x22e),_0x84f8a1(0x150));return;}const _0x53b3b1=await this[_0x84f8a1(0x272)][_0x84f8a1(0x1e2)](_0xd89897,Number(_0x2d0f86),_0x27def0);_0x53b3b1&&_0x53b3b1 instanceof _0x50650b&&this[_0x84f8a1(0x1ac)](_0x53b3b1);}async[_0x84c39c(0x1ac)](_0x15d3d6){const _0x39163a=_0x84c39c;await this[_0x39163a(0x2cb)](_0x15d3d6),_0x15d3d6['activeSheet$'][_0x39163a(0x2ea)](_0x1da07e(this[_0x39163a(0x21b)]))['subscribe'](_0x3be52e=>{_0x3be52e&&this['_updateURLWithCurrentState'](_0x3be52e);}),this['_urlService'][_0x39163a(0x264)][_0x39163a(0x2ea)](_0x1da07e(this[_0x39163a(0x21b)]))[_0x39163a(0x9b)](()=>this[_0x39163a(0x2cb)](_0x15d3d6));}[_0x84c39c(0x22c)](_0x3fb20e,_0xb627cd=!0x1){const _0x3f630e=_0x84c39c,_0x52e697=this[_0x3f630e(0x147)]['getParam'](_0x3f630e(0x158));_0x3fb20e['getSheetId']()!==_0x52e697&&this[_0x3f630e(0x147)][_0x3f630e(0x9e)]('subunit',_0x3fb20e[_0x3f630e(0x1a9)](),_0xb627cd);}async['_updateSubUnitFromURLParams'](_0x24f94e){const _0x7d68ee=_0x84c39c;var _0x2d4e91;const _0x53b006=this[_0x7d68ee(0x147)][_0x7d68ee(0x1bb)](_0x7d68ee(0x158));if(!_0x53b006||!_0x24f94e[_0x7d68ee(0x1d9)](_0x53b006)){const _0x468ce4=_0x24f94e[_0x7d68ee(0x18d)]()[0x0],_0x44d5fc=_0x24f94e[_0x7d68ee(0x1d9)](_0x468ce4);if(!_0x44d5fc)return;this['_updateURLWithCurrentState'](_0x44d5fc,!0x0),await this[_0x7d68ee(0x132)][_0x7d68ee(0xd1)](_0x4fde7d['id'],{'unitId':_0x24f94e[_0x7d68ee(0x18b)](),'subUnitId':_0x468ce4});return;}((_0x2d4e91=_0x24f94e[_0x7d68ee(0xb5)]())==null?void 0x0:_0x2d4e91[_0x7d68ee(0x1a9)]())!==_0x53b006&&await this[_0x7d68ee(0x132)]['executeCommand'](_0x4fde7d['id'],{'unitId':_0x24f94e[_0x7d68ee(0x18b)](),'subUnitId':_0x53b006});}};ce=Li([K(0x0,yt),K(0x1,_0x376f30),K(0x2,_0x445746),K(0x3,_0x18b823(_0x4095e0)),K(0x4,_0x53dfae(_0x33196a))],ce);var Ui=Object[_0x84c39c(0x9c)],Mi=(_0x7c694a,_0x2829c1,_0x5f0c62,_0x520b6f)=>{const _0x412adc=_0x84c39c;for(var _0x4bbb73=_0x520b6f>0x1?void 0x0:_0x520b6f?Ui(_0x2829c1,_0x5f0c62):_0x2829c1,_0x230ca7=_0x7c694a[_0x412adc(0x210)]-0x1,_0x162d5e;_0x230ca7>=0x0;_0x230ca7--)(_0x162d5e=_0x7c694a[_0x230ca7])&&(_0x4bbb73=_0x162d5e(_0x4bbb73)||_0x4bbb73);return _0x4bbb73;},rt=(_0x3e2d60,_0x4f9cf0)=>(_0x64e4a4,_0x49865d)=>_0x4f9cf0(_0x64e4a4,_0x49865d,_0x3e2d60);let $e=class extends _0x48416c{constructor(_0x38f6f3,_0x295b67){const _0x51298a=_0x84c39c;super(),this['_docClipboardService']=_0x38f6f3,this['_imageIoService']=_0x295b67,this[_0x51298a(0x19c)]();}[_0x84c39c(0x19c)](){const _0x519e9a=_0x84c39c,_0x3caa0d=this;this[_0x519e9a(0x2de)](this[_0x519e9a(0x10e)][_0x519e9a(0x26e)]({'onBeforePasteImage':async _0x30967f=>{const _0x47625c=_0x519e9a,_0x311d4c=await _0x3caa0d[_0x47625c(0x203)][_0x47625c(0x29e)](_0x30967f);return _0x311d4c?{'source':_0x311d4c['source'],'imageSourceType':_0x311d4c['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0x4569e8),rt(0x1,_0x555344)],$e);const ot=[_0x84c39c(0x2a4),_0x84c39c(0xd4),'green.600',_0x84c39c(0x13b),_0x84c39c(0x209),_0x84c39c(0x114)];class Ke extends _0x43da09{constructor(){const _0x24c8ec=_0x84c39c;super(...arguments),_(this,_0x24c8ec(0x2c9),new Map()),_(this,'_colorIndex',0x0);}[_0x84c39c(0xea)](_0x32fb4b){const _0x341509=_0x84c39c;if(this[_0x341509(0x2c9)][_0x341509(0x270)](_0x32fb4b))return this[_0x341509(0x2c9)][_0x341509(0x2a5)](_0x32fb4b);const _0x39271a=ot[this[_0x341509(0x222)]];return this[_0x341509(0x222)]=(this[_0x341509(0x222)]+0x1)%ot['length'],this[_0x341509(0x2c9)][_0x341509(0x11c)](_0x32fb4b,_0x39271a),_0x39271a;}}function $t(_0x2d07b5){const _0x52bc58=_0x84c39c;let _0x488937='';for(const _0x2e808a of _0x2d07b5){const {startOffset:_0x5a732b,endOffset:_0x10fcad,isActive:_0x106e87,rangeType:_0x5cfe0a,segmentId:_0x55fc4d,segmentPage:_0x3b0529}=_0x2e808a;_0x488937[_0x52bc58(0x210)]&&(_0x488937+=','),_0x488937+=_0x5a732b+':'+_0x10fcad+':'+(_0x106e87?'1':'0')+':'+_0x5cfe0a+':'+_0x55fc4d+':'+_0x3b0529;}return _0x488937;}function Ai(_0x572f97){const _0x369b42=_0x84c39c,_0x544ff6=_0x572f97[_0x369b42(0xc4)](','),_0x47274b=[];for(const _0x1534fd of _0x544ff6){const [_0x29687b,_0x3c5031,_0x1b70b4,_0x1ce394,_0x4acd44,_0x16f3fd]=_0x1534fd[_0x369b42(0xc4)](':');_0x47274b[_0x369b42(0x1b1)]({'startOffset':Number(_0x29687b),'endOffset':Number(_0x3c5031),'collapsed':_0x29687b===_0x3c5031,'isActive':_0x1b70b4==='1','rangeType':_0x1ce394===_0x1bb01a[_0x369b42(0x19e)]?_0x1bb01a[_0x369b42(0x19e)]:_0x1bb01a[_0x369b42(0x2e0)],'segmentId':typeof _0x4acd44==_0x369b42(0x207)?String(_0x4acd44):'','segmentPage':Number(_0x16f3fd!=null?_0x16f3fd:-0x1)});}return _0x47274b['some'](_0x355378=>_0x355378[_0x369b42(0x208)])||(_0x47274b[0x0]['isActive']=!0x0),_0x47274b;}class ze extends _0x48416c{constructor(){const _0x342406=_0x84c39c;super(...arguments),_(this,'_collabCursorState$',new _0x154363(null)),_(this,_0x342406(0xa3),this[_0x342406(0x1a5)]['asObservable']());}['syncEditingCollabCursor'](_0x4d8eef){const _0x21ec95=_0x84c39c,{unitID:_0x5a150b,memberID:_0x1e3d49,textRanges:_0x1e2533}=_0x4d8eef,_0x4beedd=$t(_0x1e2533);if(_0x4beedd==='')return;const _0x41cf74={'unitID':_0x5a150b,'memberID':_0x1e3d49,'selection':_0x4beedd};this[_0x21ec95(0x1a5)][_0x21ec95(0xff)](_0x41cf74);}}var Pi=Object[_0x84c39c(0x9c)],wi=(_0x543620,_0x5d6f72,_0x11e2da,_0x399ecc)=>{const _0x5d9c0b=_0x84c39c;for(var _0x3a9547=_0x399ecc>0x1?void 0x0:_0x399ecc?Pi(_0x5d6f72,_0x11e2da):_0x5d6f72,_0x534da3=_0x543620[_0x5d9c0b(0x210)]-0x1,_0x147bec;_0x534da3>=0x0;_0x534da3--)(_0x147bec=_0x543620[_0x534da3])&&(_0x3a9547=_0x147bec(_0x3a9547)||_0x3a9547);return _0x3a9547;},A=(_0x31268b,_0x5dfb53)=>(_0x26b286,_0x4dca90)=>_0x5dfb53(_0x26b286,_0x4dca90,_0x31268b);const yi=0x12c,$i=0x64;let xe=class extends _0x48416c{constructor(_0x49a34c,_0x1668a9,_0x5516b0,_0x59ea0d,_0x2abe5e,_0x1d2ab6,_0x442122,_0x16dc7e,_0x5d702e){const _0x55f649=_0x84c39c;super(),_(this,_0x55f649(0xfb),!0x1),_(this,_0x55f649(0x19c),!0x1),_(this,'_cursorInfo$',new _0x154363(new Map())),_(this,_0x55f649(0x20f),this[_0x55f649(0x13c)][_0x55f649(0x1a8)]()),_(this,'_roomMembers$',new _0x154363([])),_(this,_0x55f649(0x1f8),this[_0x55f649(0x28f)][_0x55f649(0x2ea)](_0x1c073f(yi))),_(this,_0x55f649(0xd9),_0x3ac824(_0x15f813=>{const _0x31350c=_0x55f649,_0x28ee86={'eventID':_0x4a9e85[_0x31350c(0x277)],'data':{'unitID':this[_0x31350c(0x15b)],'memberID':this['_session'][_0x31350c(0xf9)](),'selection':$t(_0x15f813)}};this['_session']['send'](_0x28ee86,this[_0x31350c(0x15b)]);},$i)),(this[_0x55f649(0x15b)]=_0x49a34c,this[_0x55f649(0x112)]=_0x1668a9,this[_0x55f649(0x1c8)]=_0x5516b0,this[_0x55f649(0x224)]=_0x59ea0d,this[_0x55f649(0x186)]=_0x2abe5e,this[_0x55f649(0x1e6)]=_0x1d2ab6,this[_0x55f649(0x2e8)]=_0x442122,this[_0x55f649(0x2ce)]=_0x16dc7e,this[_0x55f649(0x132)]=_0x5d702e);}get[_0x84c39c(0x265)](){const _0x47d81c=_0x84c39c;return this[_0x47d81c(0x13c)][_0x47d81c(0x2d1)]();}get[_0x84c39c(0x206)](){const _0x45d036=_0x84c39c;return this[_0x45d036(0x28f)][_0x45d036(0x2d1)]();}[_0x84c39c(0xe7)](){const _0x5d5d76=_0x84c39c;super[_0x5d5d76(0xe7)](),this[_0x5d5d76(0x13c)][_0x5d5d76(0xff)](new Map()),this[_0x5d5d76(0x13c)][_0x5d5d76(0x2c3)](),this[_0x5d5d76(0x28f)]['next']([]),this[_0x5d5d76(0x28f)][_0x5d5d76(0x2c3)]();}[_0x84c39c(0x285)](){const _0x5f1e46=_0x84c39c;this[_0x5f1e46(0x19c)]||(this[_0x5f1e46(0x19c)]=!0x0,this[_0x5f1e46(0x112)][_0x5f1e46(0x257)]['pipe'](_0x1da07e(this[_0x5f1e46(0x21b)]))[_0x5f1e46(0x9b)](_0x4b8a86=>{const _0x16acdf=_0x5f1e46;_0x4b8a86===_0x1ff9b0[_0x16acdf(0x165)]?this[_0x16acdf(0xba)]():this[_0x16acdf(0xbd)]();}),this[_0x5f1e46(0x112)][_0x5f1e46(0xa6)][_0x5f1e46(0x2ea)](_0x1da07e(this[_0x5f1e46(0x21b)]))[_0x5f1e46(0x9b)](_0x1cd309=>{const _0x1a6448=_0x5f1e46,_0x56fd6d=_0x1cd309[_0x1a6448(0x1b5)];_0x56fd6d===_0x4a9e85[_0x1a6448(0x277)]&&this[_0x1a6448(0xf8)](_0x1cd309),_0x56fd6d===_0x4a9e85[_0x1a6448(0xd0)]&&this['_onCursorDelete'](_0x1cd309);}),this[_0x5f1e46(0x2de)](this['_commandService'][_0x5f1e46(0x246)](_0x2dd4b1=>{const _0x2401b0=_0x5f1e46,_0x16cf20=_0x2dd4b1[_0x2401b0(0x251)];_0x16cf20!=null&&this[_0x2401b0(0xfb)]&&_0x2dd4b1['id']===_0x3f4841['id']&&_0x16cf20[_0x2401b0(0x2d5)]===this[_0x2401b0(0x15b)]&&_0x16cf20['isEditing']===!0x1&&_0x16cf20['ranges']['length']>0x0&&this[_0x2401b0(0xd9)](_0x16cf20[_0x2401b0(0x16e)]);})),this[_0x5f1e46(0x1e6)][_0x5f1e46(0xa3)][_0x5f1e46(0x2ea)](_0x1da07e(this[_0x5f1e46(0x21b)]))[_0x5f1e46(0x9b)](_0x5481b9=>{const _0x5b33fe=_0x5f1e46;if((_0x5481b9==null?void 0x0:_0x5481b9[_0x5b33fe(0x15b)])!==this[_0x5b33fe(0x15b)])return;const _0x5d324a={'eventID':_0x4a9e85[_0x5b33fe(0x277)],'data':_0x5481b9};this[_0x5b33fe(0xf8)](_0x5d324a);}),this['disposeWithMe'](this[_0x5f1e46(0x132)]['onCommandExecuted'](_0x22e453=>{const _0x5b6b91=_0x5f1e46;if(_0x22e453[_0x5b6b91(0x251)]==null)return;const _0x2c0b5e=_0x22e453[_0x5b6b91(0x251)];if(_0x22e453['id']!==_0x4ee65e['id']||_0x2c0b5e[_0x5b6b91(0x2d5)]!==this[_0x5b6b91(0x15b)])return;const _0x2443e6={'id':_0x5b6b91(0x29f),'params':_0x2c0b5e},_0x17f8cd=this[_0x5b6b91(0x265)];for(const [_0x532071,_0x291e55]of _0x17f8cd){const _0xac5178={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b6b91(0x15b)],'actions':null,'textRanges':_0x291e55[_0x5b6b91(0x16e)]}},_0x4b6db6=this[_0x5b6b91(0x2e8)][_0x5b6b91(0x200)](_0x2443e6,_0xac5178,!0x1);if(_0x2291d4(_0x4b6db6))throw _0x4b6db6[_0x5b6b91(0x215)];_0x17f8cd[_0x5b6b91(0x11c)](_0x532071,{..._0x291e55,'ranges':_0x4b6db6['m2Prime']['params'][_0x5b6b91(0x2ca)]});}queueMicrotask(()=>{const _0x53d47a=_0x5b6b91;this[_0x53d47a(0x13c)][_0x53d47a(0xff)](_0x17f8cd);});})));}[_0x84c39c(0xf8)](_0x40e703){const _0x4d1be2=_0x84c39c;var _0x336d8c,_0x2e4a6b;const {memberID:_0x40246b,selection:_0x21ce5c}=_0x40e703[_0x4d1be2(0xbc)],_0x227d81=Ai(_0x21ce5c),_0xaae9b7=(_0x2e4a6b=(_0x336d8c=this[_0x4d1be2(0x186)][_0x4d1be2(0x15f)](this[_0x4d1be2(0x15b)],_0x40246b))==null?void 0x0:_0x336d8c[_0x4d1be2(0x102)])!=null?_0x2e4a6b:_0x4d1be2(0x26c),_0x43a557={'color':this[_0x4d1be2(0x224)][_0x4d1be2(0xea)](_0x40246b),'name':_0xaae9b7,'ranges':_0x227d81},_0x418462=this[_0x4d1be2(0x265)];_0x418462['set'](_0x40246b,_0x43a557),this[_0x4d1be2(0x13c)][_0x4d1be2(0xff)](_0x418462);}['_onCursorDelete'](_0x160540){const _0x550d18=_0x84c39c,{memberID:_0xbbb74e}=_0x160540[_0x550d18(0xbc)],_0x38bd8b=this[_0x550d18(0x265)];_0x38bd8b[_0x550d18(0x2b8)](_0xbbb74e),this[_0x550d18(0x13c)][_0x550d18(0xff)](_0x38bd8b);}[_0x84c39c(0xba)](){const _0x26e43e=_0x84c39c;var _0x1571e3;if(this['_online']=!0x0,((_0x1571e3=this[_0x26e43e(0x2ce)][_0x26e43e(0x221)]())==null?void 0x0:_0x1571e3[_0x26e43e(0x18b)]())!==this[_0x26e43e(0x15b)])return;const _0x46cce7=this[_0x26e43e(0x1c8)][_0x26e43e(0x2a5)](_0x1e1f8b)[_0x26e43e(0x2d3)]();Array[_0x26e43e(0x166)](_0x46cce7)&&_0x46cce7[_0x26e43e(0x210)]>0x0&&this[_0x26e43e(0xd9)](_0x46cce7);}[_0x84c39c(0xbd)](){const _0x53582c=_0x84c39c;this[_0x53582c(0xfb)]=!0x1;}};xe=wi([A(0x2,_0x18b823(_0x3d0fff)),A(0x3,_0x18b823(Ke)),A(0x4,_0x18b823(_0x3d2546)),A(0x5,_0x18b823(ze)),A(0x6,_0x1372a5),A(0x7,_0x4e9296),A(0x8,_0x445746)],xe);var xi=Object[_0x84c39c(0x9c)],Bi=(_0x3b5988,_0x2fbd57,_0x44e8ca,_0x3d1545)=>{const _0x19e931=_0x84c39c;for(var _0x91e5c0=_0x3d1545>0x1?void 0x0:_0x3d1545?xi(_0x2fbd57,_0x44e8ca):_0x2fbd57,_0x7a774c=_0x3b5988[_0x19e931(0x210)]-0x1,_0x524f8d;_0x7a774c>=0x0;_0x7a774c--)(_0x524f8d=_0x3b5988[_0x7a774c])&&(_0x91e5c0=_0x524f8d(_0x91e5c0)||_0x91e5c0);return _0x91e5c0;},B=(_0xc37ed6,_0xd222b1)=>(_0x1c8b37,_0x1e6356)=>_0xd222b1(_0x1c8b37,_0x1e6356,_0xc37ed6);const Fi=0x12c,ki=0x64,Hi=()=>{let _0xb17ad0=[],_0x441a4c=!0x1;return _0x2d326b=>{_0xb17ad0['push'](_0x2d326b),_0x441a4c||(_0x441a4c=!0x0,setTimeout(()=>{const _0x46ea2d=_0x48c1;_0xb17ad0[_0x46ea2d(0xf2)](_0x42df58=>_0x42df58()),_0xb17ad0=[],_0x441a4c=!0x1;}));};};let Be=class extends _0x48416c{constructor(_0x47a774,_0x1ce0ae,_0x1a13ce,_0x4a67c8,_0x408700,_0x53405c,_0x45fe98,_0x423673){const _0x45feba=_0x84c39c;super(),_(this,_0x45feba(0xfb),!0x1),_(this,_0x45feba(0x19c),!0x1),_(this,_0x45feba(0x13c),new _0x154363(new Map())),_(this,_0x45feba(0x20f),this['_cursorInfo$']['asObservable']()),_(this,_0x45feba(0x28f),new _0x154363([])),_(this,_0x45feba(0x1f8),this[_0x45feba(0x28f)]['pipe'](_0x1c073f(Fi))),_(this,_0x45feba(0xd9),_0x3ac824((_0x5c9dcf,_0x2afaec)=>{const _0x411ecf=_0x45feba,_0x420ebf={'eventID':_0x4a9e85[_0x411ecf(0x277)],'data':{'unitID':this[_0x411ecf(0x15b)],'memberID':this['_session']['getMemberID'](),'selection':_0x276a92(_0x5c9dcf,_0x2afaec[_0x411ecf(0x17f)])}};this[_0x411ecf(0x112)][_0x411ecf(0x228)](_0x420ebf,this[_0x411ecf(0x15b)]);},ki)),(this[_0x45feba(0x15b)]=_0x47a774,this[_0x45feba(0x112)]=_0x1ce0ae,this[_0x45feba(0x1c8)]=_0x1a13ce,this[_0x45feba(0x224)]=_0x4a67c8,this[_0x45feba(0x186)]=_0x408700,this[_0x45feba(0x2ce)]=_0x53405c,this[_0x45feba(0x132)]=_0x45fe98,this[_0x45feba(0x10b)]=_0x423673);}get['cursorInfo'](){const _0x89aab0=_0x84c39c;return this[_0x89aab0(0x13c)][_0x89aab0(0x2d1)]();}get[_0x84c39c(0x206)](){const _0xcca83e=_0x84c39c;return this[_0xcca83e(0x28f)][_0xcca83e(0x2d1)]();}[_0x84c39c(0xe7)](){const _0x2d1502=_0x84c39c;super[_0x2d1502(0xe7)](),this['_cursorInfo$'][_0x2d1502(0xff)](new Map()),this[_0x2d1502(0x13c)][_0x2d1502(0x2c3)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x2d1502(0x2c3)]();}['init'](){const _0x4ad498=_0x84c39c;this['_init']||(this['_init']=!0x0,this[_0x4ad498(0x112)]['sessionStatus$'][_0x4ad498(0x2ea)](_0x1da07e(this[_0x4ad498(0x21b)]))[_0x4ad498(0x9b)](_0x31c9c4=>{const _0x38aa7b=_0x4ad498;_0x31c9c4===_0x1ff9b0['ONLINE']?this['_toggleOnline']():this[_0x38aa7b(0xbd)]();}),this[_0x4ad498(0x112)][_0x4ad498(0xa6)][_0x4ad498(0x2ea)](_0x1da07e(this[_0x4ad498(0x21b)]))['subscribe'](_0x16386d=>{const _0x16c609=_0x4ad498,_0xd3961a=_0x16386d[_0x16c609(0x1b5)];_0xd3961a===_0x4a9e85['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x16386d),_0xd3961a===_0x4a9e85[_0x16c609(0xd0)]&&this[_0x16c609(0x109)](_0x16386d);}),this[_0x4ad498(0x16c)](),this[_0x4ad498(0x2de)](this[_0x4ad498(0x132)][_0x4ad498(0x246)](_0x5b7a47=>{const _0x7ba1c=_0x4ad498;if(this['_online']&&_0x5b7a47['id']===_0x13eece['id']&&_0x5b7a47[_0x7ba1c(0x251)][_0x7ba1c(0x2d5)]===this[_0x7ba1c(0x15b)]){const _0x119dd9=_0x5b7a47[_0x7ba1c(0x251)];this[_0x7ba1c(0xd9)](_0x119dd9[_0x7ba1c(0x167)],_0x119dd9['selections'][0x0]);}})));}[_0x84c39c(0xf8)](_0x13bb6f){const _0x2760ea=_0x84c39c;var _0x1ec533,_0x324cf9;const {memberID:_0x3ecbba,selection:_0xd41931}=_0x13bb6f[_0x2760ea(0xbc)],{sheetName:_0x2cf36f,range:_0x4b5cd5}=_0xd32639(_0xd41931),_0x1e9a40={'name':(_0x324cf9=(_0x1ec533=this[_0x2760ea(0x186)][_0x2760ea(0x15f)](this['unitID'],_0x3ecbba))==null?void 0x0:_0x1ec533[_0x2760ea(0x102)])!=null?_0x324cf9:_0x2760ea(0x26c),'range':this['_getMergeRange'](_0x2cf36f,_0x4b5cd5),'sheetID':_0x2cf36f,'color':this[_0x2760ea(0x224)]['assignAColorForMemberID'](_0x3ecbba),'selection':_0xd41931},_0xcf532b=this['cursorInfo'];_0xcf532b[_0x2760ea(0x11c)](_0x3ecbba,_0x1e9a40),this['_cursorInfo$'][_0x2760ea(0xff)](_0xcf532b);}[_0x84c39c(0x109)](_0x3c822a){const _0x1df487=_0x84c39c,{memberID:_0x5a9b9b}=_0x3c822a[_0x1df487(0xbc)],_0x4de19b=this['cursorInfo'];_0x4de19b[_0x1df487(0x2b8)](_0x5a9b9b),this[_0x1df487(0x13c)]['next'](_0x4de19b);}[_0x84c39c(0x1f1)](_0x4ff4bb,_0x23a892){const _0x476887=_0x84c39c;var _0x318d80,_0x4009e2;const _0x4f4d7b=(_0x4009e2=(_0x318d80=this[_0x476887(0x2ce)][_0x476887(0x157)](this[_0x476887(0x15b)]))==null?void 0x0:_0x318d80[_0x476887(0x1d9)](_0x4ff4bb))==null?void 0x0:_0x4009e2[_0x476887(0x1ce)]();return(_0x4f4d7b==null?void 0x0:_0x4f4d7b['find'](_0x57bf87=>_0x42b60b[_0x476887(0xb8)](_0x57bf87,_0x23a892)))||_0x23a892;}[_0x84c39c(0x16c)](){const _0x33f23e=_0x84c39c,_0x534cae=new _0x25105f(),_0x55d239=Hi(),_0x637c27=()=>{const _0x286d4b=_0x48c1;_0x534cae[_0x286d4b(0xe7)]();const _0xa64d2f=(_0x44fab4,_0x5aa268,_0x4ce9e8,_0x1a46af)=>{const _0x24a237=_0x286d4b;let _0x4b6af1=[];switch(_0x44fab4['id']){case _0x38bdd6[_0x24a237(0x15c)]:{_0x4b6af1=_0x110d62(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x24d)]:{_0x4b6af1=_0x21a455(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x1bd)]:{_0x4b6af1=_0x1f720c(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x133)]:{_0x4b6af1=_0x750b6d(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x1d7)]:{_0x4b6af1=_0x5219c0(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x162)]:{_0x4b6af1=_0x255a99(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x27d)]:{_0x4b6af1=_0x2bac2f(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x154)]:{_0x4b6af1=_0x1261e1(_0x44fab4,_0x1a46af);break;}case _0x38bdd6[_0x24a237(0x125)]:{_0x4b6af1=_0x3e3651(_0x44fab4,_0x1a46af);break;}}const _0x2c8a30=_0x5a7691(_0x4b6af1,_0x1a46af),_0x35cd72=this[_0x24a237(0x265)][_0x24a237(0x2a5)](_0x5aa268);if(_0x35cd72&&_0x2c8a30){const _0x3c2d79={..._0x35cd72,'range':_0x2c8a30};this['cursorInfo'][_0x24a237(0x11c)](_0x5aa268,_0x3c2d79),_0x55d239(()=>{const _0x47b584=_0x24a237,_0x323475=this[_0x47b584(0x10b)]['registerRefRange'](_0x2c8a30,_0x35a2a5=>(_0x323475[_0x47b584(0xe7)](),_0xa64d2f(_0x35a2a5,_0x5aa268,_0x4ce9e8,_0x2c8a30)));_0x534cae['add'](_0x323475);});}return{'redos':[],'undos':[]};};this[_0x286d4b(0x265)]['forEach']((_0x1b3db7,_0x395d47)=>{const _0x3eca27=_0x286d4b,{range:_0x22395e,sheetID:_0x13caa8}=_0x1b3db7,_0xb3a55c=this['_refRangeService'][_0x3eca27(0xc3)](_0x22395e,_0x3d2a46=>(_0xb3a55c['dispose'](),_0xa64d2f(_0x3d2a46,_0x395d47,_0x13caa8,_0x22395e)));_0x534cae[_0x3eca27(0x108)](_0xb3a55c);});};this[_0x33f23e(0x2de)](_0x3b58a3(this[_0x33f23e(0x13c)][_0x33f23e(0x9b)](()=>{_0x637c27();})));}['_toggleOnline'](){const _0x3b4b72=_0x84c39c;var _0x51a836,_0x3aad56;if(this[_0x3b4b72(0xfb)]=!0x0,((_0x51a836=this[_0x3b4b72(0x2ce)][_0x3b4b72(0x221)]())==null?void 0x0:_0x51a836['getUnitId']())!==this[_0x3b4b72(0x15b)])return;const _0x321c3b=(_0x3aad56=this[_0x3b4b72(0x1c8)][_0x3b4b72(0x2a5)](_0x148c22)[_0x3b4b72(0x294)]())==null?void 0x0:_0x3aad56[0x0],_0x5a47c2=this['_univerInstanceService']['getCurrentUnitForType'](_0x55700d[_0x3b4b72(0x12c)])[_0x3b4b72(0xb5)]();_0x321c3b&&_0x5a47c2&&this['_updateLocalCursor'](_0x5a47c2[_0x3b4b72(0x1a9)](),_0x321c3b);}[_0x84c39c(0xbd)](){const _0x46fe7a=_0x84c39c;this[_0x46fe7a(0xfb)]=!0x1;}};Be=Bi([B(0x2,_0x18b823(_0x3d0fff)),B(0x3,_0x18b823(Ke)),B(0x4,_0x18b823(_0x3d2546)),B(0x5,_0x4e9296),B(0x6,_0x445746),B(0x7,_0x18b823(_0x96c8f5))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x38399d,_0xd921ea,_0x27878e,_0x57f09a)=>{const _0x4ec08b=_0x84c39c;for(var _0x481e44=_0x57f09a>0x1?void 0x0:_0x57f09a?Yi(_0xd921ea,_0x27878e):_0xd921ea,_0x4d024c=_0x38399d[_0x4ec08b(0x210)]-0x1,_0x2912b4;_0x4d024c>=0x0;_0x4d024c--)(_0x2912b4=_0x38399d[_0x4d024c])&&(_0x481e44=_0x2912b4(_0x481e44)||_0x481e44);return _0x481e44;},Ce=(_0x4801ce,_0x2f74e8)=>(_0x17af18,_0x548c1b)=>_0x2f74e8(_0x17af18,_0x548c1b,_0x4801ce);let H=class extends _0x48416c{constructor(_0x4a4d1d,_0x29842e,_0x514465){const _0x30c414=_0x84c39c;super(),_(this,_0x30c414(0x1d4),new Map()),_(this,_0x30c414(0x143),new _0x37f791()),(this[_0x30c414(0x2ce)]=_0x4a4d1d,this[_0x30c414(0x1c8)]=_0x29842e,this[_0x30c414(0xd8)]=_0x514465,this[_0x30c414(0x19c)]());}[_0x84c39c(0xe7)](){const _0x21e7ee=_0x84c39c;super['dispose'](),this[_0x21e7ee(0x143)][_0x21e7ee(0x2c3)](),this['_entities'][_0x21e7ee(0xf2)](_0x1f5471=>_0x1f5471['dispose']());}[_0x84c39c(0x241)](_0x200f11){const _0x3cf05c=_0x84c39c;return this[_0x3cf05c(0x1d4)][_0x3cf05c(0x270)](_0x200f11)?this[_0x3cf05c(0x1d4)][_0x3cf05c(0x2a5)](_0x200f11)[_0x3cf05c(0x20f)]:this[_0x3cf05c(0x143)][_0x3cf05c(0x2ea)](_0x1542b9(_0x47777f=>_0x47777f[_0x3cf05c(0x15b)]===_0x200f11),_0x29ad71(_0x553f34=>_0x553f34[_0x3cf05c(0x20f)]));}['_init'](){const _0x4307e8=_0x84c39c;this[_0x4307e8(0x2ce)][_0x4307e8(0x2a1)](_0x55700d[_0x4307e8(0x12c)])[_0x4307e8(0x2ea)](_0x1da07e(this[_0x4307e8(0x21b)]))['subscribe'](async _0x3f659b=>{const _0x3cf1b4=_0x4307e8,_0x3e7584=_0x3f659b[_0x3cf1b4(0x18b)](),_0x52edf0=await this['_startSheetCollabCursor'](_0x3e7584);this[_0x3cf1b4(0x143)][_0x3cf1b4(0xff)](_0x52edf0),this[_0x3cf1b4(0x1d4)][_0x3cf1b4(0x11c)](_0x3e7584,_0x52edf0);}),this[_0x4307e8(0x2ce)][_0x4307e8(0x2a1)](_0x55700d[_0x4307e8(0x248)])['pipe'](_0x1da07e(this[_0x4307e8(0x21b)]))[_0x4307e8(0x2ea)](_0x1542b9(_0x1a8d29=>!_0x1a8d29['getUnitId']()[_0x4307e8(0xab)]('__')))[_0x4307e8(0x9b)](async _0x42ba80=>{const _0x2f9d60=_0x4307e8,_0x3a3bf5=_0x42ba80[_0x2f9d60(0x18b)](),_0x437f5a=await this[_0x2f9d60(0x2b6)](_0x3a3bf5);this['_entityInit$'][_0x2f9d60(0xff)](_0x437f5a),this[_0x2f9d60(0x1d4)][_0x2f9d60(0x11c)](_0x3a3bf5,_0x437f5a);}),_0x3b2430(this['_univerInstanceService'][_0x4307e8(0x2b3)](_0x55700d[_0x4307e8(0x248)]),this[_0x4307e8(0x2ce)][_0x4307e8(0x2b3)](_0x55700d[_0x4307e8(0x12c)]))[_0x4307e8(0x2ea)](_0x1da07e(this[_0x4307e8(0x21b)]))[_0x4307e8(0x9b)](_0x571013=>{const _0x3c5fee=_0x4307e8,_0xee5ea9=_0x571013[_0x3c5fee(0x18b)](),_0x45470a=this[_0x3c5fee(0x1d4)][_0x3c5fee(0x2a5)](_0xee5ea9);_0x45470a&&(_0x45470a[_0x3c5fee(0xe7)](),this[_0x3c5fee(0x1d4)][_0x3c5fee(0x2b8)](_0xee5ea9));});}async[_0x84c39c(0x2b0)](_0x28cd9f){const _0x1f6efa=_0x84c39c,_0x3c5ab8=await this[_0x1f6efa(0xd8)][_0x1f6efa(0xdb)](_0x28cd9f),_0x348ae7=this[_0x1f6efa(0x1c8)]['createInstance'](Be,_0x28cd9f,_0x3c5ab8);return _0x348ae7[_0x1f6efa(0x285)](),_0x348ae7;}async[_0x84c39c(0x2b6)](_0x475849){const _0x5563bb=_0x84c39c,_0x344170=await this[_0x5563bb(0xd8)][_0x5563bb(0xdb)](_0x475849),_0x5b4f21=this[_0x5563bb(0x1c8)][_0x5563bb(0x296)](xe,_0x475849,_0x344170);return _0x5b4f21[_0x5563bb(0x285)](),_0x5b4f21;}};H=Wi([Ce(0x0,_0x4e9296),Ce(0x1,_0x18b823(_0x3d0fff)),Ce(0x2,_0x18b823(_0x163347))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x35fe14,_0x4b3365){const _0x2c61bd=_0x84c39c;let {radius:_0x419683,width:_0x1da909,height:_0x306088}=_0x4b3365;_0x419683=_0x419683!=null?_0x419683:0x0,_0x1da909=_0x1da909!=null?_0x1da909:0x1e,_0x306088=_0x306088!=null?_0x306088:0x1e;let _0x173f86=0x0,_0x261217=0x0,_0x4e4dbc=0x0;_0x173f86=_0x261217=_0x4e4dbc=Math['min'](_0x419683,_0x1da909/0x2,_0x306088/0x2),_0x35fe14[_0x2c61bd(0x223)](),_0x35fe14[_0x2c61bd(0x280)](_0x173f86,0x0),_0x35fe14['lineTo'](_0x1da909-_0x261217,0x0),_0x35fe14[_0x2c61bd(0xc7)](_0x1da909-_0x261217,_0x261217,_0x261217,Math['PI']*0x3/0x2,0x0,!0x1),_0x35fe14['lineTo'](_0x1da909,_0x306088-_0x4e4dbc),_0x35fe14[_0x2c61bd(0xc7)](_0x1da909-_0x4e4dbc,_0x306088-_0x4e4dbc,_0x4e4dbc,0x0,Math['PI']/0x2,!0x1),_0x35fe14[_0x2c61bd(0x99)](0x0,_0x306088),_0x35fe14[_0x2c61bd(0x99)](0x0,_0x173f86),_0x35fe14[_0x2c61bd(0xc7)](_0x173f86,_0x173f86,_0x173f86,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35fe14['closePath'](),_0x4b3365[_0x2c61bd(0xa8)]&&(_0x35fe14['save'](),_0x35fe14[_0x2c61bd(0xd6)]=_0x4b3365[_0x2c61bd(0xa8)],_0x4b3365[_0x2c61bd(0x182)]===_0x2c61bd(0x110)?_0x35fe14[_0x2c61bd(0xa8)](_0x2c61bd(0x110)):_0x35fe14[_0x2c61bd(0xa8)](),_0x35fe14[_0x2c61bd(0x195)]());}class Ee extends _0x4b851b{constructor(_0x2dc5ae,_0x250f36){const _0x5e9ea4=_0x84c39c;super(_0x2dc5ae,_0x250f36),_(this,_0x5e9ea4(0x2a8)),_(this,_0x5e9ea4(0x2eb)),(this[_0x5e9ea4(0x2a8)]=_0x250f36==null?void 0x0:_0x250f36[_0x5e9ea4(0x2a8)],this[_0x5e9ea4(0x2eb)]=_0x250f36==null?void 0x0:_0x250f36[_0x5e9ea4(0x2eb)]);}static['drawWith'](_0x571e15,_0x23d26a){const _0x524b1f=_0x84c39c,{text:_0x8d149c,color:_0x2e266f}=_0x23d26a;_0x571e15[_0x524b1f(0x231)](),_0x571e15['font']=_0x524b1f(0x2d7);const _0x272273=_0x571e15[_0x524b1f(0x297)](_0x8d149c)['width'],_0x2f4993=Math[_0x524b1f(0x192)](_0x272273+0x2*Re,at);Vi(_0x571e15,{'height':Q,'radius':0x4,'width':_0x2f4993,'fill':_0x2e266f}),_0x571e15['fillStyle']='#FFF';const _0x478c7b=Re,_0x3083d8=Q-ji,_0x51c868=at-0x2*Re;if(_0x272273>_0x51c868){let _0x49933f='',_0x25ddd3=0x0;for(const _0x18ddd1 of _0x8d149c){const _0x34e103=_0x571e15[_0x524b1f(0x297)](_0x18ddd1)[_0x524b1f(0x2dc)];if(_0x25ddd3+_0x34e103<=_0x51c868-_0x571e15[_0x524b1f(0x297)](_0x524b1f(0x191))['width'])_0x49933f+=_0x18ddd1,_0x25ddd3+=_0x34e103;else{_0x49933f+='...';break;}}_0x571e15[_0x524b1f(0x2a3)](_0x49933f,_0x478c7b,_0x3083d8);}else _0x571e15['fillText'](_0x8d149c,_0x478c7b,_0x3083d8);_0x571e15[_0x524b1f(0x195)]();}['_draw'](_0xb627aa){Ee['drawWith'](_0xb627aa,this);}}const De=_0x84c39c(0x1af),Xi=_0x84c39c(0x244),Gi=_0x84c39c(0x2ab),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x84c39c(0x18a);class ct{constructor(_0x3c9675,_0x4d8d0d,_0x158246,_0x12fd3d){const _0x1ca20e=_0x84c39c;_(this,_0x1ca20e(0x218),[]),_(this,_0x1ca20e(0x1b2),null),_(this,_0x1ca20e(0x15d),null),_(this,_0x1ca20e(0xfa),null),_(this,_0x1ca20e(0x1e5),null),_(this,_0x1ca20e(0x234),null),(this[_0x1ca20e(0x27c)]=_0x3c9675,this[_0x1ca20e(0x214)]=_0x4d8d0d,this[_0x1ca20e(0x1df)]=_0x158246,this[_0x1ca20e(0x130)]=_0x12fd3d,this[_0x1ca20e(0x18f)]());}set[_0x84c39c(0x2e3)](_0x2d483d){const _0x4398ad=_0x84c39c;_0x2d483d?(this['_anchorDot']&&this['_anchorDot'][_0x4398ad(0x10a)](),this[_0x4398ad(0x15d)]&&this['_textBubble'][_0x4398ad(0x1f4)]()):(this['_anchorDot']&&this[_0x4398ad(0xfa)][_0x4398ad(0x1f4)](),this[_0x4398ad(0x15d)]&&this[_0x4398ad(0x15d)][_0x4398ad(0x10a)]());}[_0x84c39c(0xe7)](){const _0x1cd4bd=_0x84c39c;for(const _0x5205f2 of this[_0x1cd4bd(0x218)])_0x5205f2[_0x1cd4bd(0xe7)]();this[_0x1cd4bd(0x15d)]&&this[_0x1cd4bd(0x15d)][_0x1cd4bd(0xe7)](),this['_anchorDot']&&this['_anchorDot'][_0x1cd4bd(0xe7)](),this[_0x1cd4bd(0x1b2)]&&this[_0x1cd4bd(0x1b2)][_0x1cd4bd(0xe7)](),this[_0x1cd4bd(0x234)]&&this['_eventUnsubscribe']();}[_0x84c39c(0x18f)](){const _0xd2b3a=_0x84c39c;var _0x107d34;const {_docSkeleton:_0x46c726,_document:_0x52226f}=this,{color:_0x3ab98a,name:_0x2f0fcc,ranges:_0x3f83a0}=this[_0xd2b3a(0x27c)],_0x5c5b8d=_0x52226f['getOffsetConfig'](),{docsLeft:_0x575c29,docsTop:_0x127e2b}=_0x5c5b8d,_0x269aa7=new _0x1c3561(_0x5c5b8d,_0x46c726);for(const {startOffset:_0x5a9064,endOffset:_0x336129,rangeType:_0x436655,segmentId:_0x31e360,segmentPage:_0x485d7e,collapsed:_0x3e9c4c,isActive:_0x19d5d3}of _0x3f83a0){const _0x2c13a0=_0x46c726['findNodePositionByCharIndex'](_0x5a9064,!0x0,_0x31e360,_0x485d7e);let _0x31514b=_0x46c726[_0xd2b3a(0x2ad)](_0x336129,!0x0,_0x31e360,_0x485d7e);if(_0x31514b==null&&(_0x31514b=_0x46c726[_0xd2b3a(0x2ad)](_0x336129-0x1,!0x1,_0x31e360,_0x485d7e)),_0x19d5d3){const {contentBoxPointGroup:_0x5ce0fe}=_0x269aa7['getRangePointData'](_0x31514b,_0x31514b);if(_0x5ce0fe[_0xd2b3a(0x210)]===0x0)continue;this['_drawAnchor'](_0x3ab98a,_0x5ce0fe,_0x575c29,_0x127e2b,_0x2f0fcc),this[_0xd2b3a(0x234)]=this[_0xd2b3a(0x1cb)]();}if(_0x2c13a0&&_0x31514b){if(_0x436655===_0x1bb01a['RECT']){const _0x4177c4=new _0x56ee2a(_0x5c5b8d,_0x46c726),{pointGroup:_0x372fae}=(_0x107d34=_0x4177c4['getRangePointData'](_0x2c13a0,_0x31514b))!=null?_0x107d34:{};if(_0x372fae==null||_0x372fae[_0xd2b3a(0x210)]===0x0)continue;this['_drawRectRange'](_0x3ab98a,_0x372fae,_0x575c29,_0x127e2b);}else{if(!_0x3e9c4c){const {borderBoxPointGroup:_0x2a0d5b}=_0x269aa7[_0xd2b3a(0x126)](_0x2c13a0,_0x31514b);if(_0x2a0d5b[_0xd2b3a(0x210)]===0x0)continue;this[_0xd2b3a(0x1ee)](_0x3ab98a,_0x2a0d5b,_0x575c29,_0x127e2b);}}}}}[_0x84c39c(0x2b7)](_0x8028ad,_0x384efa,_0x56f304,_0x4698f8,_0x5613ae){const _0x433cdf=_0x84c39c,_0x3e700b=this['_getAnchorBounding'](_0x384efa),{left:_0x4028a6,top:_0x1bbdd5,height:_0x3f92d2}=_0x3e700b,_0x3f9f19=this[_0x433cdf(0x17d)](),_0x1b8dc7=zi/_0x3f9f19,_0x158835=new _0x19bb4a(De+_0x5ac2f3(z),{'left':_0x4028a6+_0x56f304-_0x1b8dc7,'top':_0x1bbdd5+_0x4698f8,'height':_0x3f92d2,'width':Ki,'fill':_0x8028ad||_0x14e7cd(_0x45b9b6[_0x433cdf(0xb6)],0x0),'strokeWidth':_0x1b8dc7,'stroke':Ji,'evented':!0x0});this[_0x433cdf(0x1b2)]=_0x158835,this[_0x433cdf(0x214)][_0x433cdf(0x2ae)](_0x158835,_0x5f108a);const _0x1bc044=new _0x19bb4a(De+_0x5ac2f3(z),{'left':_0x4028a6+_0x56f304-_0x1b8dc7,'top':_0x1bbdd5+_0x4698f8-be/0x2,'height':be,'width':be,'fill':_0x8028ad||_0x14e7cd(_0x45b9b6[_0x433cdf(0xb6)],0x0),'strokeWidth':0x0,'stroke':_0x8028ad||_0x14e7cd(_0x45b9b6[_0x433cdf(0xb6)],0x0),'evented':!0x1});this[_0x433cdf(0xfa)]=_0x1bc044,this[_0x433cdf(0x214)]['addObject'](_0x1bc044,_0x5f108a);const _0x2db2f1=new Ee(De+_0x5ac2f3(z),{'left':_0x4028a6+_0x56f304-_0x1b8dc7,'top':_0x1bbdd5+_0x4698f8-Q,'text':_0x5613ae,'color':_0x8028ad});this['_textBubble']=_0x2db2f1,this['_scene']['addObject'](_0x2db2f1,_0x5f108a),this[_0x433cdf(0x2e3)]=!0x1;}[_0x84c39c(0x1cb)](){const _0x3cb150=_0x84c39c,_0x2fc30b=this[_0x3cb150(0x1b2)][_0x3cb150(0x13e)]['subscribeEvent'](()=>{const _0x27b6b5=_0x3cb150;this[_0x27b6b5(0x2e3)]=!0x0;}),_0xbf68cd=this[_0x3cb150(0x1b2)][_0x3cb150(0x1aa)][_0x3cb150(0x242)](()=>{const _0xd099c5=_0x3cb150;this[_0xd099c5(0x1e5)]&&clearTimeout(this[_0xd099c5(0x1e5)]),this[_0xd099c5(0x1e5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2b834d=_0x3cb150;_0x2fc30b['unsubscribe'](),_0xbf68cd[_0x2b834d(0x13d)]();};}[_0x84c39c(0x1ee)](_0x510ee3,_0x2756f1,_0x4b3e4a,_0x279286){const _0x53307e=_0x84c39c,_0x31b607=new _0x5957a3(_0x510ee3)[_0x53307e(0x159)](0.2)[_0x53307e(0x213)](),_0x52a64f=new _0x54fced(Xi+_0x5ac2f3(z),{'pointsGroup':_0x2756f1,'fill':_0x31b607||_0x14e7cd(_0x45b9b6['black'],0.2),'left':_0x4b3e4a,'top':_0x279286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x53307e(0x218)][_0x53307e(0x1b1)](_0x52a64f),this[_0x53307e(0x214)][_0x53307e(0x2ae)](_0x52a64f,_0x5f108a);}[_0x84c39c(0x17a)](_0x3e070a,_0x3e4f68,_0x432d3f,_0x4a8202){const _0x31993e=_0x84c39c,_0x59e4a8=new _0x5957a3(_0x3e070a)[_0x31993e(0x159)](0.2)[_0x31993e(0x213)](),_0x53b3ad=new _0x54fced(Gi+_0x5ac2f3(z),{'pointsGroup':_0x3e4f68,'fill':_0x59e4a8||_0x14e7cd(_0x45b9b6[_0x31993e(0xb6)],0.2),'left':_0x432d3f,'top':_0x4a8202,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31993e(0x218)]['push'](_0x53b3ad),this[_0x31993e(0x214)]['addObject'](_0x53b3ad,_0x5f108a);}[_0x84c39c(0x26d)](_0x4212f7){const _0x46f768=_0x4212f7[0x0],_0x2cd0ed=_0x46f768[0x0],_0x34c4c2=_0x46f768[0x2],{x:_0x343c22,y:_0x37ba04}=_0x2cd0ed,{x:_0x341efd,y:_0x3846fc}=_0x34c4c2;return{'left':_0x343c22,'top':_0x37ba04,'width':_0x341efd-_0x343c22,'height':_0x3846fc-_0x37ba04};}[_0x84c39c(0x17d)](){const _0x115b87=_0x84c39c,{scaleX:_0x1fcfe5,scaleY:_0x32e2f8}=this[_0x115b87(0x214)][_0x115b87(0x1c9)]();return Math[_0x115b87(0x1ef)](_0x1fcfe5,_0x32e2f8);}}var Zi=Object[_0x84c39c(0x9c)],Qi=(_0x1efc02,_0x5739ad,_0x3eb837,_0x3b4abf)=>{const _0x4c0e9a=_0x84c39c;for(var _0x398300=_0x3b4abf>0x1?void 0x0:_0x3b4abf?Zi(_0x5739ad,_0x3eb837):_0x5739ad,_0x22a91d=_0x1efc02[_0x4c0e9a(0x210)]-0x1,_0x35c4c1;_0x22a91d>=0x0;_0x22a91d--)(_0x35c4c1=_0x1efc02[_0x22a91d])&&(_0x398300=_0x35c4c1(_0x398300)||_0x398300);return _0x398300;},ie=(_0x8543aa,_0x179fac)=>(_0x3209ec,_0xde351e)=>_0x179fac(_0x3209ec,_0xde351e,_0x8543aa);let Fe=class extends _0x48416c{constructor(_0x2f546e,_0x472149,_0xa1868b,_0x3f088d,_0x50f41a){const _0x8be1eb=_0x84c39c;super(),_(this,_0x8be1eb(0x1c6),[]),_(this,_0x8be1eb(0x168),[]),(this[_0x8be1eb(0xf0)]=_0x2f546e,this[_0x8be1eb(0x19d)]=_0x472149,this[_0x8be1eb(0x24b)]=_0xa1868b,this[_0x8be1eb(0x132)]=_0x3f088d,this[_0x8be1eb(0x27b)]=_0x50f41a,this[_0x8be1eb(0x19c)]());}[_0x84c39c(0x19c)](){const _0x5d990c=_0x84c39c,_0x4011b6=this[_0x5d990c(0xf0)][_0x5d990c(0x2d5)],_0x15138c=this[_0x5d990c(0x19d)];this[_0x5d990c(0x2de)](_0x3b4ecb([this['_collabCursorController'][_0x5d990c(0x241)](_0x4011b6),this[_0x5d990c(0x27b)]['currentTheme$']])[_0x5d990c(0x2ea)](_0x147860(([_0x4f6984,_0x9a68a8])=>({'skeleton':_0x15138c['getSkeleton'](),'cursors':[..._0x4f6984[_0x5d990c(0x2bb)]()][_0x5d990c(0x2a9)](_0x357326=>({..._0x357326,'color':this['_themeService'][_0x5d990c(0x286)](_0x357326[_0x5d990c(0x2a8)])}))})))['subscribe'](_0x523fb6=>{const _0xba499b=_0x5d990c;if(this[_0xba499b(0x100)](),_0x523fb6){const {skeleton:_0x5e3d1a,cursors:_0x31d84e}=_0x523fb6;this[_0xba499b(0x121)](_0x5e3d1a,_0x31d84e);}})),this[_0x5d990c(0x2c6)](),this['_initCommandExecutedListener']();}[_0x84c39c(0x121)](_0x465de7,_0x551fd2){const _0xefe3f2=_0x84c39c,{scene:_0x1a47c2,mainComponent:_0x17ad7b}=this['_context'],_0x47e009=_0x551fd2[_0xefe3f2(0x145)](_0x5974d9=>new ct(_0x5974d9,_0x1a47c2,_0x465de7,_0x17ad7b));this[_0xefe3f2(0x1c6)]=_0x47e009,this[_0xefe3f2(0x168)]=_0x551fd2;}[_0x84c39c(0x10f)](){const _0x1e9025=_0x84c39c;this[_0x1e9025(0x100)]();const {scene:_0x55474f,mainComponent:_0x5821aa}=this[_0x1e9025(0xf0)],_0x538d24=this[_0x1e9025(0x19d)][_0x1e9025(0x1d8)](),_0x653180=this[_0x1e9025(0x168)][_0x1e9025(0x145)](_0x3c28fc=>new ct(_0x3c28fc,_0x55474f,_0x538d24,_0x5821aa));this[_0x1e9025(0x1c6)]=_0x653180;}[_0x84c39c(0x100)](){const _0xe7c1b=_0x84c39c;this[_0xe7c1b(0x1c6)][_0xe7c1b(0xf2)](_0x23f23c=>_0x23f23c[_0xe7c1b(0xe7)]()),this[_0xe7c1b(0x1c6)]=[];}[_0x84c39c(0x20d)](){const _0x15c930=_0x84c39c,_0x4ae407=[_0x33f4eb['id']];this[_0x15c930(0x2de)](this[_0x15c930(0x132)][_0x15c930(0x246)](_0x1108c2=>{const _0x84089c=_0x15c930;_0x4ae407[_0x84089c(0x287)](_0x1108c2['id'])&&_0x1108c2['params']['unitId']===this[_0x84089c(0xf0)][_0x84089c(0x2d5)]&&this[_0x84089c(0x10f)]();}));}['_initResize'](){const _0x25494c=_0x84c39c;this[_0x25494c(0x2de)](_0x823729(this[_0x25494c(0xf0)][_0x25494c(0x177)][_0x25494c(0x2aa)])[_0x25494c(0x2ea)](_0x537855(_0x485140=>_0x485140[_0x25494c(0x190)]===_0x4880a7['resize']),_0x15af13(0x10))[_0x25494c(0x9b)](()=>{const _0x1e4fab=_0x25494c;this[_0x1e4fab(0x10f)]();}));}};Fe=Qi([ie(0x1,_0x18b823(_0x326b54)),ie(0x2,_0x18b823(H)),ie(0x3,_0x445746),ie(0x4,_0x18b823(_0x1d1064))],Fe);const qi=0x1,en=1.5;class tn extends _0x4b851b{constructor(_0x4782d9,_0x1a17e3){const _0x4b8c9d=_0x84c39c;super(_0x4782d9,_0x1a17e3),_(this,_0x4b8c9d(0x1a1)),_(this,'_hovered',!0x1),_(this,_0x4b8c9d(0x1ab)),_(this,_0x4b8c9d(0x138),''),_(this,_0x4b8c9d(0x14c),_0x4b8c9d(0x20e)),_(this,_0x4b8c9d(0x12a)),(_0x1a17e3&&this[_0x4b8c9d(0x295)](_0x1a17e3),this[_0x4b8c9d(0x13e)][_0x4b8c9d(0x242)](()=>this[_0x4b8c9d(0x295)]({'hovered':!0x0})),this[_0x4b8c9d(0x1aa)][_0x4b8c9d(0x242)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x272dfe){const _0x379b33=_0x84c39c;var _0x43d967,_0x3f8044,_0x3301a3,_0x2d0684,_0x4efe03,_0x56097a;this[_0x379b33(0x1a1)]=(_0x43d967=_0x272dfe[_0x379b33(0x2a8)])!=null?_0x43d967:this[_0x379b33(0x1a1)],this[_0x379b33(0x105)]=(_0x3f8044=_0x272dfe[_0x379b33(0xa7)])!=null?_0x3f8044:this[_0x379b33(0x105)],this[_0x379b33(0x1ab)]=(_0x3301a3=_0x272dfe[_0x379b33(0x17f)])!=null?_0x3301a3:this[_0x379b33(0x1ab)],this[_0x379b33(0x138)]=(_0x2d0684=_0x272dfe[_0x379b33(0x102)])!=null?_0x2d0684:this[_0x379b33(0x138)],this[_0x379b33(0x14c)]=(_0x4efe03=_0x272dfe[_0x379b33(0x292)])!=null?_0x4efe03:this[_0x379b33(0x14c)],this[_0x379b33(0x12a)]=(_0x56097a=_0x272dfe[_0x379b33(0x137)])!=null?_0x56097a:this[_0x379b33(0x12a)],this[_0x379b33(0x276)]({'width':_0x272dfe[_0x379b33(0x2dc)],'height':_0x272dfe[_0x379b33(0x161)]});}['onMouseMove'](_0x2a9076){const _0x2fc497=_0x84c39c,{row:_0x352d3a,column:_0x2fcbb9}=_0x2a9076;if(_0x352d3a>=this[_0x2fc497(0x1ab)][_0x2fc497(0x205)]&&_0x352d3a<=this[_0x2fc497(0x1ab)][_0x2fc497(0x26f)]&&_0x2fcbb9>=this[_0x2fc497(0x1ab)][_0x2fc497(0x268)]&&_0x2fcbb9<=this[_0x2fc497(0x1ab)][_0x2fc497(0x19f)]){this[_0x2fc497(0x295)]({'hovered':!0x0});return;}this[_0x2fc497(0x295)]({'hovered':!0x1});}[_0x84c39c(0x1ed)](_0x5eb4dc){return!0x1;}[_0x84c39c(0x2ac)](_0x4d9224){const _0x3cae6a=_0x84c39c;_0x19bb4a[_0x3cae6a(0x2a6)](_0x4d9224,{'width':this[_0x3cae6a(0x2dc)],'height':this[_0x3cae6a(0x161)],'strokeWidth':en,'stroke':this[_0x3cae6a(0x1a1)],'evented':!0x1,'fill':this[_0x3cae6a(0x12a)]}),this[_0x3cae6a(0x105)]&&(_0x4d9224[_0x3cae6a(0x231)](),_0x4d9224[_0x3cae6a(0x2bd)](0x1,0x0,0x0,0x1,this[_0x3cae6a(0x2dc)],this[_0x3cae6a(0x14c)]==='bottom'?0x0:-Q),Ee[_0x3cae6a(0x2a6)](_0x4d9224,{'text':this[_0x3cae6a(0x138)],'color':this[_0x3cae6a(0x1a1)]}),_0x4d9224[_0x3cae6a(0x195)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1f880b,_0x5ac962,_0x157417,_0x4428a2)=>{const _0x5571ba=_0x84c39c;for(var _0x5cf191=_0x4428a2>0x1?void 0x0:_0x4428a2?sn(_0x5ac962,_0x157417):_0x5ac962,_0x4412b5=_0x1f880b[_0x5571ba(0x210)]-0x1,_0x1de819;_0x4412b5>=0x0;_0x4412b5--)(_0x1de819=_0x1f880b[_0x4412b5])&&(_0x5cf191=_0x1de819(_0x5cf191)||_0x5cf191);return _0x5cf191;},Ne=(_0xaf8500,_0x48d523)=>(_0x5fa4e5,_0x1404df)=>_0x48d523(_0x5fa4e5,_0x1404df,_0xaf8500);const rn=0x1389;let ke=class extends _0x48416c{constructor(_0x437129,_0x13ad7a,_0x5f3e6e,_0x443ac0){const _0x907a51=_0x84c39c;super(),_(this,_0x907a51(0x168),new Set()),_(this,_0x907a51(0x23a),null),(this[_0x907a51(0xf0)]=_0x437129,this['_sheetSkeletonManagerService']=_0x13ad7a,this[_0x907a51(0x24b)]=_0x5f3e6e,this[_0x907a51(0x27b)]=_0x443ac0,this[_0x907a51(0x19c)]());}[_0x84c39c(0x19c)](){const _0x2ef45c=_0x84c39c;this[_0x2ef45c(0x15e)][_0x2ef45c(0xb4)][_0x2ef45c(0x2ea)](_0x289ee9(this[_0x2ef45c(0x21b)]),_0x45152d(_0x585222=>{const _0x1d126e=_0x2ef45c;if(_0x585222){const _0x55a42d=_0x585222[_0x1d126e(0x29c)];return _0x3b4ecb(this[_0x1d126e(0x24b)][_0x1d126e(0x241)](this[_0x1d126e(0xf0)]['unitId']),this[_0x1d126e(0x27b)][_0x1d126e(0x1ba)])[_0x1d126e(0x2ea)](_0x147860(([_0x3b9ebe,_0xf0614c])=>{const _0xfb3222=new Map();return _0x3b9ebe['forEach']((_0x5ba556,_0x20b9ff)=>{const _0x548cb6=_0x48c1;if(_0x5ba556[_0x548cb6(0x14b)]===_0x55a42d){const _0x3a1b77={..._0x5ba556};_0x3a1b77[_0x548cb6(0x2a8)]=this[_0x548cb6(0x27b)][_0x548cb6(0x286)](_0x5ba556[_0x548cb6(0x2a8)]),_0xfb3222[_0x548cb6(0x11c)](_0x20b9ff,_0x3a1b77);}}),{'skeleton':_0x585222,'cursors':_0xfb3222};}));}return _0x2c088d({'skeleton':null,'cursors':new Map()});}))[_0x2ef45c(0x9b)](({skeleton:_0x16eff2,cursors:_0x2f262c})=>{const _0xedfd99=_0x2ef45c;this[_0xedfd99(0x100)](),_0x16eff2&&this[_0xedfd99(0x121)](_0x16eff2,_0x2f262c);}),this[_0x2ef45c(0x15e)][_0x2ef45c(0xb4)][_0x2ef45c(0x9b)](_0x485cb7=>{const _0x5d279c=_0x2ef45c;if(_0x485cb7==null)return;const {skeleton:_0x3d6523}=_0x485cb7,{scene:_0x707ab1}=this['_context'];_0x707ab1['onPointerMove$'][_0x5d279c(0x242)](_0x3ac824(_0x1e7466=>{const _0x5b898b=_0x5d279c;var _0x349593,_0x11e200;const {offsetX:_0x46e45e,offsetY:_0x1fd10e}=_0x1e7466,{x:_0x174b46,y:_0x463fb8}=_0x707ab1[_0x5b898b(0x142)](_0x1cf3e1['FromArray']([_0x46e45e,_0x1fd10e])),{scaleX:_0x2f5e01,scaleY:_0x3ba803}=_0x707ab1[_0x5b898b(0x1c9)](),_0x5a1582=_0x707ab1[_0x5b898b(0xfe)](_0x554247[_0x5b898b(0x25d)]),_0x968b13=_0x707ab1[_0x5b898b(0x226)](_0x1cf3e1['FromArray']([_0x174b46,_0x463fb8]),_0x5a1582),_0x56f1a1=_0x3d6523[_0x5b898b(0x28d)](_0x46e45e,_0x1fd10e,_0x2f5e01,_0x3ba803,_0x968b13);((_0x349593=this[_0x5b898b(0x23a)])==null?void 0x0:_0x349593['column'])===_0x56f1a1[_0x5b898b(0x267)]&&((_0x11e200=this['_lastPointer'])==null?void 0x0:_0x11e200[_0x5b898b(0xcf)])===_0x56f1a1[_0x5b898b(0xcf)]||this[_0x5b898b(0x168)][_0x5b898b(0xf2)](_0x2c9a5a=>{_0x2c9a5a['onMouseMove'](_0x56f1a1);});},0x64));});}[_0x84c39c(0x121)](_0xaa1742,_0x3be9b3){const _0x125a58=_0x84c39c;var _0x2aa80f;const _0x21afa0=(_0x2aa80f=this[_0x125a58(0x15e)][_0x125a58(0x27f)]())==null?void 0x0:_0x2aa80f['skeleton'];if(!_0x21afa0)return;const _0x593742=this[_0x125a58(0x12f)]();if(!_0x593742)return;this[_0x125a58(0x168)]['forEach'](_0x15af63=>{const _0x1f5f70=_0x125a58;_0x15af63[_0x1f5f70(0x17b)]();});const {scene:_0x39ce0f}=_0x593742,_0x1a48d8=on(Array['from'](_0x3be9b3[_0x125a58(0x2bb)]()))[_0x125a58(0x145)](_0x88e098=>{const _0x24b086=_0x125a58,{color:_0x245da5,range:_0x538481,name:_0x2abb96,selection:_0x11ba9b,sheetID:_0x73b60a}=_0x88e098,{startColumn:_0x8cb9ca,startRow:_0x290bc2,endColumn:_0x9bdc8b,endRow:_0x5b7caf}=_0x538481,_0x3690b=_0x562021(_0x290bc2,_0x8cb9ca,_0x39ce0f,_0x21afa0),_0x2e8f9d=_0x562021(_0x5b7caf,_0x9bdc8b,_0x39ce0f,_0x21afa0),{columnHeaderHeightAndMarginTop:_0x5cd1f8}=_0x21afa0,{startX:_0x5795ce,startY:_0x1ad536}=_0x3690b,{endX:_0x463856,endY:_0xc6bfc8}=_0x2e8f9d,_0x40b858=_0x463856-_0x5795ce,_0x187a0c=_0xc6bfc8-_0x1ad536,_0x370794={'labelPosition':_0x1ad536-_0x5cd1f8>=Q?'top':_0x24b086(0x171),'sheetID':_0x73b60a,'range':_0x538481,'color':_0x245da5,'name':_0x2abb96,'selection':_0x11ba9b,'left':_0x5795ce,'top':_0x1ad536,'width':_0x40b858,'height':_0x187a0c,'evented':!0x1,'zIndex':rn};return new tn(_0x2abb96,_0x370794);});_0x39ce0f[_0x125a58(0x2e5)](_0x1a48d8,qi),this[_0x125a58(0x168)]=new Set(_0x1a48d8);}[_0x84c39c(0x100)](){const _0x2e4d2c=_0x84c39c;var _0x3df2e3;(_0x3df2e3=this[_0x2e4d2c(0x168)])==null||_0x3df2e3[_0x2e4d2c(0xf2)](_0xb1f46d=>_0xb1f46d[_0x2e4d2c(0xe7)]());}[_0x84c39c(0x12f)](){const _0x17ffe0=_0x84c39c;return _0x3a9fb7(this[_0x17ffe0(0xf0)][_0x17ffe0(0x258)],this['_context']);}};ke=nn([Ne(0x1,_0x18b823(_0x440011)),Ne(0x2,_0x18b823(H)),Ne(0x3,_0x18b823(_0x1d1064))],ke);function on(_0x190fc4){const _0x33837e=_0x84c39c,_0x5c4166=new Map();return _0x190fc4['forEach'](_0x22ec51=>{const _0x5bbc39=_0x48c1;if(_0x5c4166[_0x5bbc39(0x270)](_0x22ec51[_0x5bbc39(0xd2)])){const _0x54cdc4=_0x5c4166[_0x5bbc39(0x2a5)](_0x22ec51['selection']);_0x54cdc4[_0x5bbc39(0x102)]+=',\x20'+_0x22ec51['name'];}else _0x5c4166[_0x5bbc39(0x11c)](_0x22ec51[_0x5bbc39(0xd2)],_0x22ec51);}),Array['from'](_0x5c4166[_0x33837e(0x2bb)]());}var an=Object[_0x84c39c(0x9c)],cn=(_0xf92b3b,_0x3f6fd2,_0x20e33d,_0x5ec579)=>{const _0x105b46=_0x84c39c;for(var _0xc2a4af=_0x5ec579>0x1?void 0x0:_0x5ec579?an(_0x3f6fd2,_0x20e33d):_0x3f6fd2,_0x364923=_0xf92b3b[_0x105b46(0x210)]-0x1,_0x128df7;_0x364923>=0x0;_0x364923--)(_0x128df7=_0xf92b3b[_0x364923])&&(_0xc2a4af=_0x128df7(_0xc2a4af)||_0xc2a4af);return _0xc2a4af;},F=(_0x46dcd3,_0x5b9ec4)=>(_0x3f4762,_0x5e2763)=>_0x5b9ec4(_0x3f4762,_0x5e2763,_0x46dcd3);let _e=class extends _0x43da09{constructor(_0xc74b85,_0x8790ad,_0x24a6c2,_0x5920fb,_0x3b8d66,_0x3d0d0e){const _0x2f41c7=_0x84c39c;super(),this['_beforeCloseService']=_0xc74b85,this['_localCacheService']=_0x8790ad,this[_0x2f41c7(0x2a0)]=_0x24a6c2,this[_0x2f41c7(0xe5)]=_0x5920fb,this['_notificationService']=_0x3b8d66,this[_0x2f41c7(0x2e2)]=_0x3d0d0e,this['_setupBeforeClosingHandler'](),this[_0x2f41c7(0x1f6)]();}[_0x84c39c(0x1f2)](){const _0x5461c1=_0x84c39c;this[_0x5461c1(0x2de)](this[_0x5461c1(0x2bf)][_0x5461c1(0x1c4)](()=>{const _0x37b76a=_0x5461c1;if(this['_localCacheService'][_0x37b76a(0x1c5)][_0x37b76a(0x164)])return this[_0x37b76a(0x2e2)]['t'](_0x37b76a(0xc0));}));}[_0x84c39c(0x1f6)](){const _0x220471=_0x84c39c;this[_0x220471(0x2de)](this[_0x220471(0x2a0)][_0x220471(0xa6)][_0x220471(0x9b)](_0x2772a1=>{const _0x577b79=_0x220471;_0x2772a1['id']===_0x40014c[_0x577b79(0x15a)]&&this[_0x577b79(0xe5)][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x27e)],'content':this[_0x577b79(0x2e2)]['t'](_0x577b79(0x229))}),_0x2772a1['id']===_0x40014c['CLOSE_ROOM']&&this[_0x577b79(0xe5)][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x27e)],'content':this[_0x577b79(0x2e2)]['t'](_0x577b79(0x2ec))}),_0x2772a1['id']===_0x40014c['PERMISSION_DENIED']&&this['_notificationService'][_0x577b79(0x1f4)]({'title':this[_0x577b79(0x2e2)]['t'](_0x577b79(0x113)),'content':this['_localeService']['t']('permission.content'),'type':_0x577b79(0x215),'duration':0x0}),_0x2772a1['id']===_0x40014c['CONFLICT']&&this[_0x577b79(0xe5)][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x1f9)],'content':this[_0x577b79(0x2e2)]['t']('collaboration.closeRoom')+'('+_0x2772a1[_0x577b79(0xbc)]+')'}),_0x2772a1['id']===_0x40014c['JOIN_ROOM_FAILED']&&this['_messageService'][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x27e)],'content':this[_0x577b79(0x2e2)]['t'](_0x2772a1[_0x577b79(0xbc)]||'')}),_0x2772a1['id']===_0x40014c[_0x577b79(0x172)]&&this[_0x577b79(0xe5)][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x27e)],'content':this[_0x577b79(0x2e2)]['t'](_0x577b79(0x22d))}),_0x2772a1['id']===_0x40014c[_0x577b79(0x23f)]&&this['_messageService'][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x1f9)],'content':this['_localeService']['t'](_0x577b79(0x10c))}),_0x2772a1['id']===_0x40014c[_0x577b79(0x14e)]&&this[_0x577b79(0xe5)][_0x577b79(0x1f4)]({'type':_0x3e8d45[_0x577b79(0x1f9)],'content':this['_localeService']['t'](_0x577b79(0x1b9))});}));}};_e=cn([F(0x0,_0x159ecc),F(0x1,_0x549f51),F(0x2,_0x18b823(_0x38d433)),F(0x3,_0x1e9266),F(0x4,_0x185d59),F(0x5,_0x18b823(_0x52e776))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x51b80d,_0x1f470b,_0x5e172d,_0x3b5928)=>{for(var _0x4ffa1e=_0x3b5928>0x1?void 0x0:_0x3b5928?_n(_0x1f470b,_0x5e172d):_0x1f470b,_0xbb8dbd=_0x51b80d['length']-0x1,_0x301a1d;_0xbb8dbd>=0x0;_0xbb8dbd--)(_0x301a1d=_0x51b80d[_0xbb8dbd])&&(_0x4ffa1e=_0x301a1d(_0x4ffa1e)||_0x4ffa1e);return _0x4ffa1e;},ne=(_0x4eda7e,_0x2528a0)=>(_0x18b8e3,_0x39916e)=>_0x2528a0(_0x18b8e3,_0x39916e,_0x4eda7e);let le=class extends _0x43da09{constructor(_0x2a95c5,_0x3c547d,_0x15de8c,_0x41b32e){const _0x305119=_0x84c39c;super(),_(this,_0x305119(0x2d9)),(this[_0x305119(0x1c8)]=_0x2a95c5,this[_0x305119(0x1e1)]=_0x3c547d,this['_logService']=_0x15de8c,this[_0x305119(0x201)]=_0x41b32e,this[_0x305119(0x19c)]());}[_0x84c39c(0x19c)](){const _0x5029ed=_0x84c39c;this[_0x5029ed(0x25b)](),this[_0x5029ed(0xd5)](),this[_0x5029ed(0x2e1)](),this[_0x5029ed(0x1fe)]();}[_0x84c39c(0x1fe)](){const _0x215828=_0x84c39c;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x215828(0x9b)](_0x2e08a1=>{const _0x260d90=_0x215828;this[_0x260d90(0x2d9)]=_0x2e08a1==null?void 0x0:_0x2e08a1['memberID'];}));}[_0x84c39c(0x25b)](){const _0x3c19f9=_0x84c39c,_0x2c2c83=_0x4b1087=>{const _0x2a9fb9=_0x48c1;var _0x3b0efb;this[_0x2a9fb9(0x269)](_0x2a9fb9(0x215),_0x2a9fb9(0xed)+_0x4b1087[_0x2a9fb9(0x256)]+_0x2a9fb9(0xa9)+_0x4b1087[_0x2a9fb9(0x2cf)]+':'+_0x4b1087['lineno']+':'+_0x4b1087[_0x2a9fb9(0x219)]+'\x0a'+(((_0x3b0efb=_0x4b1087[_0x2a9fb9(0x215)])==null?void 0x0:_0x3b0efb[_0x2a9fb9(0xbb)])||''));};window['addEventListener'](_0x3c19f9(0x215),_0x2c2c83),this[_0x3c19f9(0x2de)](()=>{const _0x1ece4a=_0x3c19f9;window[_0x1ece4a(0xc6)]('error',_0x2c2c83);});}['_initUnhandledRejectionListener'](){const _0x32fa8d=_0x84c39c,_0x2ea8e3=_0xe253b0=>{const _0x24ecc8=_0x48c1;this['_uploadLog'](_0x24ecc8(0x215),_0x24ecc8(0x139)+_0xe253b0[_0x24ecc8(0x25f)]);};window['addEventListener'](_0x32fa8d(0x14f),_0x2ea8e3),this[_0x32fa8d(0x2de)](()=>{const _0x1be558=_0x32fa8d;window[_0x1be558(0xc6)]('unhandledrejection',_0x2ea8e3);});}[_0x84c39c(0x2e1)](){const _0x23215f=_0x84c39c,_0x47373b=this[_0x23215f(0x2d4)]['error'][_0x23215f(0x237)](this[_0x23215f(0x2d4)]);this[_0x23215f(0x2d4)]['error']=(..._0x59b0d7)=>{const _0x3dc9be=_0x23215f,_0x3662f4=_0x59b0d7['map'](_0x1b77ab=>_0x1b77ab instanceof Error?_0x1b77ab[_0x3dc9be(0x256)]+'\x0a'+_0x1b77ab[_0x3dc9be(0xbb)]:String(_0x1b77ab))[_0x3dc9be(0x2b9)]('\x20');this[_0x3dc9be(0x269)](_0x3dc9be(0x215),_0x3dc9be(0x122)+_0x3662f4),_0x47373b(..._0x59b0d7);},this[_0x23215f(0x2de)](()=>{const _0x5601ba=_0x23215f;this[_0x5601ba(0x2d4)][_0x5601ba(0x215)]=_0x47373b;});}[_0x84c39c(0x269)](_0x22b5a4,_0x312ea8){const _0x2378d8=_0x84c39c;try{const _0x205344={'userId':this['_memberID'],'logLabel':_0x22b5a4,'content':_0x312ea8};this[_0x2378d8(0x1e1)][_0x2378d8(0x25a)](_0x2378d8(0x22a),{'body':_0x205344})[_0x2378d8(0x1b8)](()=>{});}catch{}}};le=ln([ne(0x0,_0x18b823(_0x3d0fff)),ne(0x1,_0x18b823(_0x427f9f)),ne(0x2,_0x376f30),ne(0x3,_0x18b823(_0x163347))],le);const hn='collaboration-client-ui.config',_t={};function _0x3471(){const _0x5310a2=['hide','_refRangeService','session.connection-failed','APPLY_DUPLICATED','_docClipboardService','_refreshCollabCursors','evenodd','colorChannel1','_session','permission.title','yellow.400','registerRenderModule','ENSURE_SNAPSHOT_EXECUTION','REDEMPTION_CODE_HAS_BEEN_CREATED','collab-client.tooltip.reconnect','search','div','all','set','entityInit$','_checkCalculationAvailable','_startCalculationLimit','popstate','_updateCollabCursors','[LogService\x20Error]:\x20','AUTHORIZE_CODE_ILLEGAL','invokeId','RemoveRowCommandId','getRangePointData','parseInt','saveOfflineData','toString','_backgroundColor','_docTransformStateCacheService','UNIVER_SHEET','_currentUsage','_transformPreviousActiveRange','_getSheetObject','_document','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_commandService','InsertRangeMoveDownCommandId','replaceDocRanges','ENTITLE_INSUFFICIENT_QUOTA','16724zYQnsy','backgroundColor','_name','[Unhandled\x20Rejection]:\x20','REDEMPTION_CODE_FULLY_REDEEMED','red.300','_cursorInfo$','unsubscribe','onPointerEnter$','SNAPSHOT_HAS_BEEN_REMOVED','12165978bXhEAZ','0\x200\x2017\x2016','getRelativeToViewportCoord','_entityInit$','255BBCjuv','map','key','_urlService','YUUMI_NO_CUBOID_FOR_QUESTION','collabStatus.conflict','onLocalMutation','sheetID','_labelPosition','CURRENT_STATUS_CANNOT_OPERATE','SUBMIT_CHANGESET_TIMEOUT','unhandledrejection','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_lastResponseTimestamp','stringify','formula.calculation.started','RemoveColCommandId','svg','PAYMENT_CHANNEL_NOT_SUPPORT','getUniverSheetInstance','subunit','setAlpha','OTHER_CLIENT_EDITING','unitID','DeleteRangeMoveLeftCommandId','_textBubble','_sheetSkeletonManagerService','getMember','_clearOtherTimers','height','InsertRowCommandId','parse','size','ONLINE','isArray','subUnitId','_cursors','0\x200\x2016\x2016','_handleLeaveEvent','_setFormulaLimitStatus','_onRefRangeChange','defs','ranges','undoState','OFFLINE','bottom','SOCKET_FAILED_RETRY','override','8JLumpV','YUUMI_UNABLE_LOAD_URL','NO_OTHER_CLIENTS_EDITING','engine','_saveTaskMap','status$','_drawRectRange','makeDirty','collabStatus.notCollab','_getScale','USER_IS_ANONYMOUS','range','UNAUTHENTICATED','UNDEFINED','fillRule','YUUMI_URL_COL_OUT_OF_RANGE','on-line-icon_clip0_910_349','getConfig','_memberService','ALREADY_EXISTS','_handleJoinEvent','_unitStatus','rgba(255,\x20255,\x20255,\x200.01)','getUnitId','getCurrentRevOfUnit','getUnhiddenWorksheets','INVALID_INVITE_CODE','_render','type','...','min','collabStatus.synced','4120fWcUMc','restore','m2Prime','getformulaLimitStatusUrl','INTERNAL_ERROR','tag','substring','_scheduleClearOtherTimer','_init','_docSkeletonManagerService','TEXT','endColumn','xlink:href','_color','children','totalFormulasToCalculate','round','_collabCursorState$','debug','_unitOnClients','asObservable','getSheetId','onPointerLeave$','_range','_setupSubUnitSync','_status$','REDEMPTION_USER_NOT_ELIGIBLE','collab-text-anchor-','_hasFormulaInDirtyRanges','push','_anchor','formula.calculation.unable','_docTransformIMECacheService','eventID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','catch','session.collaboration-timeout','currentTheme$','getParam','entries','InsertColCommandId','use','PERMISSION_DENIED','limitInfo','56215Egdpzs','clearTimeout','url(#off-line-icon_clip0_910_343)','registerBeforeClose','saveTaskMap','_cursorShapes','enableFrontendLog','_injector','getAncestorScale','AWAITING','_handleHover','none','CONNECTOR_DATA_TOO_LARGE','getMergeData','body','ENTITLE_NEED_BILLING_ADDRESS','defineProperty','createSocket','enableLocalCache','_entities','Success','_cachedData','InsertRangeMoveRightCommandId','getSkeleton','getSheetBySheetId','on-line-icon','AWAITING_WITH_PENDING','ticket','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_scheduleSaving','_docSkeleton','_transformHistoryAndStateStack','_httpService','loadUnit','_maxFormulaLimit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_hideTimer','_syncEditingCollabCursorService','transformStateCache','_taskIds','APPLY_REVISION_CONFILICT','USER_NOT_FOUND','mask','1879731nISCoy','triggerDblclick','_drawTextRange','max','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getMergeRange','_setupBeforeClosingHandler','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','show','EMAIL_HAS_BEEN_BOUND','_initEvent','_saveCache','roomMembers$','Error','getActiveRange','OnLineIcon','_clearPolling','exhaustSavingTask','_initUserListener','WECHAT_HAS_BEEN_BOUND','transformMutation','_collaborationSessionService','_registerRenderDependencies','_imageIoService','formula.calculation.waiting','startRow','roomMembers','string','isActive','blue.400','_checkAndWaitForCalculationPermission','unshift','_initEntityListener','_initCommandExecutedListener','top','cursorInfo$','length','setTimeout','_initStatusListener','toRgbString','_scene','error','LOGIN_FAILED','/universer-api/license/formula/limit/start','_shapes','colno','attrs','dispose$','removeParam','then','reconnect','transformMutationsWithChangeset','focused$','getFocusedUnit','_colorIndex','beginPath','_colorAssignService','_disabled','getVpScrollXYInfoByPosToVp','loadOfflineData','send','collaboration.single-unit.warning','/universer-api/frontend/logs','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateURLWithCurrentState','session.will-retry','[CollaborationDataLoaderController]','10fwPRoq','runOnServer','save','origin','_getFormulaLimitStatus','_eventUnsubscribe','location','path','bind','maxFormulaLimit','_scheduleHeartbeat','_lastPointer','univerjs-icon\x20univerjs-icon-','OTHER_CLIENTS_EDITING','trim','_releaseCalculationLimit','SOCKET_FAILED','COMPLETION_FINISHED','getCollabCursors$','subscribeEvent','USER_NOT_INVITED_CODE','collab-text-range-','DATA_SOURCE_TOO_LARGE','onCommandExecuted','_instanceService','UNIVER_DOC','pushState','symbol','_collabCursorController','APPLY_NON_SEQUENTIAL_REVISION','DeleteRangeMoveUpCommandId','from','url(#$1','newValue','params','defIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','REDEMPTION_INVALID_CODE','updateOfflineData','message','sessionStatus$','unit','_getSessionTicket','post','_initWindowErrorListener','setStateCache','VIEW_MAIN','/universer-api/license/formula/limit/done','reason','ENTITLE_DUP_SUBSCRIPTION','CONFLICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_docStateChangeManagerService','urlChange$','cursorInfo','_uiPartsService','column','startColumn','_uploadLog','memberID','ENTITLE_CHAT_LIMIT_EXCEED','Unknown\x20user','_getAnchorBounding','addClipboardHook','endRow','has','M0\x200H16V16H0z','_dataLoaderService','Failed','getStateCache','/run/','transformByState','UPDATE_CURSOR','transformRemoteChangeset','_removeClearOtherTimer','getUndoRedoMutationParamsCache','_themeService','_cursor','MoveRangeCommandId','Warning','getCurrent','moveTo','INVITE_CODE_REQUIRED','disableLocalCache','LICENSE_MAX_UNITS_EXCEEDED','onStarting','init','getColorFromTheme','includes','with','getCollabEntity$','history','setItem','UNRECOGNIZED','getCellPositionByOffset','now','_roomMembers$','getItem','stageInfo','labelPosition','INVITE_CODE_HAS_BEEN_UES','getCurrentSelections','setShapeProps','createInstance','measureText','off-line-icon_clip0_910_343','REDEMPTION_CODE_INACTIVE','_registerDependencies','_pollingInterval','sheetId','code','saveImage','doc.mutation.rich-text-editing','_collaborationUIEventService','getTypeOfUnitAdded$','displayName','fillText','purple.300','get','drawWith','PY_RUNTIME_SCRIPT_ERROR','color','flatMap','onTransformChange$','collab-rect-range-','_draw','findNodePositionByCharIndex','addObject','replaceState','_startSheetCollabCursor','_send','setUndoRedoMutationParamsCache','getTypeOfUnitDisposed$','releaseFormulaLimitUrl','_getSaveTimeout','_startDocCollabCursor','_drawAnchor','delete','join','YUUMI_SUBSCRIPTION_NOT_FOUND','values','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','transform','_localStorageService','_beforeCloseService','setInterval','INVITE_CODE_ALREADY_BOUND','_showGuardMessage','complete','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','1645301eEDzuA','_initResize','NOT_FOUND','1em','_assignedColors','textRanges','_updateSubUnitFromURLParams','APPLY_REJECT','addHandlerCallback','_univerInstanceService','filename','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','redoState','getDocRanges','_logService','unitId','editingUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformIMECache','_memberID','OffLineIcon','EMAIL_VERIFY_CODE_MISMATCH','width','1983168DfybuP','disposeWithMe','UniverIcon','RECT','_monkeyPatchLogService','_localeService','_hover','getRenderById','addObjects','SNAPSHOT_INVALID_SNAPSHOT','MOBILE_VERIFY_CODE_MISMATCH','_transformService','YUUMI_CONNECTOR_URL_NOT_FOUND','pipe','text','collaboration.closeRoom','assign','REDEMPTION_CODE_NOT_STARTED','lineTo','executionId','subscribe','getOwnPropertyDescriptor','CHANGESET_REVISION_CONFILICT','setParam','_doCreateSocket','_config','115RGBylO','ERROR_AGAIN','collabCursorState$','getUnit','translate(.97)','event$','hovered','fill','\x20at\x20','REDEMPTION_USER_REDEEM_TIMES_EXCEED','startsWith','m1Prime','_renderManagerService','_docTransformSelectionsService','unload','ENTITLE_REPORT_LIMIT_EXCEED','idSuffix','_configService','START_CALCULATION','currentSkeleton$','getActiveSheet','black','Loading','contains','_heartbeatTimer','_toggleOnline','stack','data','_toggleOffline','deepClone','href','collaboration-client.offline-data-not-saved','NOT_COLLAB','_selfUnitIDs','registerRefRange','split','beforeCommandExecuted','removeEventListener','arc','whenReady','clearInterval','addEventListener','syncEditingCollabCursor','white','YUUMI_AI_RUN_FAILED','clipPath','row','USERS_LEAVE','executeCommand','selection','/universer-api/license/formula/limit/status','jiqing.500','_initUnhandledRejectionListener','fillStyle','_applyCommand','_collabSessionService','_updateLocalCursor','SUCCESS','requireSession','_collaborationController','_id','_ensureSubject','wsSessionTicketUrl','_handleEvent','LICENSE_DISTRO_REJECTED','YUUMI_ALL_TABLES_IS_INVALID','currentUsage','runId','_messageService','_initDependencies','dispose','APPLY_PERMISSION_DENIED','current','assignAColorForMemberID','_docSyncEditingCollabCursorService','_transformUndoRedoStack','[Window\x20Error]:\x20','searchParams','_revisionService','_context','url(#on-line-icon_clip0_910_349)','forEach','setConfig','getCellMatrix','docStateChange$','pluginName','setActiveRange','_onCursorUpdate','getMemberID','_anchorDot','_online','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','getViewport','next','_removeCollabCursors','off-line-icon','name','currentColor','MUTATION','_hovered','LICENSE_EXPORT_SIZE_EXCEEDED','INVALID_ARGUMENT','add','_onCursorDelete'];_0x3471=function(){return _0x5310a2;};return _0x3471();}var un=Object['getOwnPropertyDescriptor'],dn=(_0x3cac45,_0x56574b,_0x3b9a23,_0x319f1b)=>{const _0xf9cda=_0x84c39c;for(var _0x581e53=_0x319f1b>0x1?void 0x0:_0x319f1b?un(_0x56574b,_0x3b9a23):_0x56574b,_0x1e9b6d=_0x3cac45[_0xf9cda(0x210)]-0x1,_0x58fd92;_0x1e9b6d>=0x0;_0x1e9b6d--)(_0x58fd92=_0x3cac45[_0x1e9b6d])&&(_0x581e53=_0x58fd92(_0x581e53)||_0x581e53);return _0x581e53;},lt=(_0x3a21ed,_0x3c7a37)=>(_0x422e2f,_0x53db55)=>_0x3c7a37(_0x422e2f,_0x53db55,_0x3a21ed);let he=class{constructor(_0x3f7da2,_0xf423bc){const _0x53ef46=_0x84c39c;this[_0x53ef46(0x2e8)]=_0x3f7da2,this['_renderManagerService']=_0xf423bc;}[_0x84c39c(0x2d8)](_0xe1a7cc){const _0x473f28=_0x84c39c;this['_transformUndoRedoStack'](_0xe1a7cc),this[_0x473f28(0x12e)](_0xe1a7cc);}['transformRemoteChangeset'](_0x2694c6){const _0x2fc5e5=_0x84c39c,{unitID:_0x11d111}=_0x2694c6,_0x23f2be=this['_renderManagerService'][_0x2fc5e5(0x2e4)](_0x11d111)['with'](_0x53f274),{redoCache:_0x40b343}=_0x23f2be['getUndoRedoMutationParamsCache']();if(_0x40b343[_0x2fc5e5(0x210)]===0x0)return _0x2694c6;let _0x282fe6=_0x3538d0[_0x2fc5e5(0xbe)](_0x2694c6[_0x2fc5e5(0x1b7)][0x0]);for(let _0x162792=0x0;_0x162792<_0x40b343[_0x2fc5e5(0x210)];_0x162792++){const _0x1dca32={'id':_0x2fc5e5(0x29f),'params':{..._0x40b343[_0x162792]}},_0x18f264=this[_0x2fc5e5(0x2e8)][_0x2fc5e5(0x200)](_0x282fe6,_0x1dca32,!0x1);if(_0x2291d4(_0x18f264))throw _0x18f264[_0x2fc5e5(0x215)];_0x282fe6=_0x18f264[_0x2fc5e5(0xac)];}return{..._0x3538d0[_0x2fc5e5(0xbe)](_0x2694c6),'mutations':[_0x282fe6]};}[_0x84c39c(0xec)](_0x16cd1a){const _0x440215=_0x84c39c,{unitID:_0x5a6061}=_0x16cd1a,_0x554f50=this[_0x440215(0xad)][_0x440215(0x2e4)](_0x5a6061)[_0x440215(0x288)](_0x53f274),{undoCache:_0xf7fa85,redoCache:_0x4211cd}=_0x554f50[_0x440215(0x27a)]();if(_0xf7fa85[_0x440215(0x210)]===0x0||_0x4211cd['length']===0x0)return;const _0x2273d4=[],_0x5abaaa=[];let _0x2af70a=_0x3538d0[_0x440215(0xbe)](_0x16cd1a[_0x440215(0x1b7)][0x0]),_0x18f443=_0x3538d0[_0x440215(0xbe)](_0x16cd1a[_0x440215(0x1b7)][0x0]);for(let _0x4c9f9d=_0xf7fa85[_0x440215(0x210)]-0x1;_0x4c9f9d>=0x0;_0x4c9f9d--){const _0x1ff55f={'id':_0x440215(0x29f),'params':{..._0xf7fa85[_0x4c9f9d]}},_0x1b01f7={'id':_0x440215(0x29f),'params':{..._0x4211cd[_0x4c9f9d]}},_0x56921a=this[_0x440215(0x2e8)][_0x440215(0x200)](_0x2af70a,_0x1ff55f,!0x1),_0x3c78ed=this[_0x440215(0x2e8)]['transformMutation'](_0x18f443,_0x1b01f7,!0x1);if(_0x2291d4(_0x56921a))throw _0x56921a['error'];if(_0x2291d4(_0x3c78ed))throw _0x3c78ed[_0x440215(0x215)];_0x2273d4[_0x440215(0x20b)](_0x56921a['m2Prime']['params']),_0x5abaaa[_0x440215(0x20b)](_0x3c78ed['m2Prime']['params']),_0x2af70a=_0x56921a[_0x440215(0xac)],_0x18f443=_0x3c78ed[_0x440215(0xac)];}_0x554f50[_0x440215(0x2b2)]({'undoCache':_0x2273d4,'redoCache':_0x5abaaa});}[_0x84c39c(0x12e)](_0x489dca){const _0x3c6c95=_0x84c39c,{unitID:_0x560067}=_0x489dca,_0x2718cc=this[_0x3c6c95(0xad)][_0x3c6c95(0x2e4)](_0x560067)[_0x3c6c95(0x288)](_0x53f274),_0xd3b9a7=_0x2718cc[_0x3c6c95(0x1fa)]();if(_0xd3b9a7==null)return;const _0x3ecd16=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x489dca[_0x3c6c95(0x15b)],'actions':null,'textRanges':[_0xd3b9a7]}}],_0x50457a=this[_0x3c6c95(0x2e8)][_0x3c6c95(0x21f)](_0x489dca,_0x3ecd16);if(!_0x240613(_0x50457a))throw _0x50457a[_0x3c6c95(0x215)];const _0x4301c4=_0x50457a[_0x3c6c95(0x196)][0x0][_0x3c6c95(0x251)][_0x3c6c95(0x2ca)];Array['isArray'](_0x4301c4)&&_0x4301c4[_0x3c6c95(0x210)]&&_0x2718cc[_0x3c6c95(0xf7)](_0x4301c4[0x0]);}};he=dn([lt(0x0,_0x1372a5),lt(0x1,_0x18fed5)],he);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x3ed920,_0x3a9867,_0x501c00,_0xe8d58c)=>{const _0x3ec938=_0x84c39c;for(var _0x573533=_0xe8d58c>0x1?void 0x0:_0xe8d58c?Sn(_0x3a9867,_0x501c00):_0x3a9867,_0x3bf3bc=_0x3ed920[_0x3ec938(0x210)]-0x1,_0x2dfbff;_0x3bf3bc>=0x0;_0x3bf3bc--)(_0x2dfbff=_0x3ed920[_0x3bf3bc])&&(_0x573533=_0x2dfbff(_0x573533)||_0x573533);return _0x573533;},Le=(_0x2c34e9,_0x14cceb)=>(_0x49a734,_0x2fa740)=>_0x14cceb(_0x49a734,_0x2fa740,_0x2c34e9);let ue=class{constructor(_0x59a0c1,_0x277392,_0xfd6c7b){const _0x3c74d0=_0x84c39c;this[_0x3c74d0(0x1c8)]=_0x59a0c1,this['_transformService']=_0x277392,this[_0x3c74d0(0x263)]=_0xfd6c7b;}[_0x84c39c(0x1e7)](_0x5c28eb){const _0x2782e2=_0x84c39c;this[_0x2782e2(0x1e0)](_0x5c28eb);}[_0x84c39c(0x278)](_0x55e807){const _0x2ea715=_0x84c39c,{unitID:_0x2305d8}=_0x55e807,{collaboration:_0x33d614}=this[_0x2ea715(0x263)][_0x2ea715(0x274)](_0x2305d8);if(_0x33d614[_0x2ea715(0x210)]===0x0)return _0x55e807;let _0x15e190=_0x3538d0[_0x2ea715(0xbe)](_0x55e807[_0x2ea715(0x1b7)][0x0]);for(let _0xe510a1=0x0;_0xe510a1<_0x33d614['length'];_0xe510a1++){const _0xc379ba={'id':_0x2ea715(0x29f),'params':{'unitId':_0x33d614[_0xe510a1][_0x2ea715(0x2d5)],..._0x33d614[_0xe510a1][_0x2ea715(0x2d2)]}},_0x510930=this['_transformService'][_0x2ea715(0x200)](_0x15e190,_0xc379ba,!0x1);if(_0x2291d4(_0x510930))throw _0x510930[_0x2ea715(0x215)];_0x15e190=_0x510930[_0x2ea715(0xac)];}return{..._0x3538d0[_0x2ea715(0xbe)](_0x55e807),'mutations':[_0x15e190]};}[_0x84c39c(0x1e0)](_0x29ab5b){const _0x582809=_0x84c39c,{unitID:_0x140476}=_0x29ab5b,{history:_0x34cf96,collaboration:_0x1def28}=this[_0x582809(0x263)][_0x582809(0x274)](_0x140476);if(_0x34cf96[_0x582809(0x210)]===0x0&&_0x1def28[_0x582809(0x210)]===0x0)return;const _0x4f7fa8=[],_0x521bbc=[];let _0x7b3bd2=_0x3538d0[_0x582809(0xbe)](_0x29ab5b[_0x582809(0x1b7)][0x0]),_0x30e2ff=_0x3538d0[_0x582809(0xbe)](_0x29ab5b[_0x582809(0x1b7)][0x0]);for(let _0x147437=_0x34cf96[_0x582809(0x210)]-0x1;_0x147437>=0x0;_0x147437--){const _0x40221f={'id':_0x582809(0x29f),'params':{'unitId':_0x34cf96[_0x147437][_0x582809(0x2d5)],..._0x34cf96[_0x147437][_0x582809(0x16f)]}},_0x62511c={'id':_0x582809(0x29f),'params':{'unitId':_0x34cf96[_0x147437][_0x582809(0x2d5)],..._0x34cf96[_0x147437]['redoState']}},_0x1fff2b=this[_0x582809(0x2e8)][_0x582809(0x200)](_0x7b3bd2,_0x40221f,!0x1),_0x496b68=this['_transformService'][_0x582809(0x200)](_0x30e2ff,_0x62511c,!0x1);if(_0x2291d4(_0x1fff2b))throw _0x1fff2b[_0x582809(0x215)];if(_0x2291d4(_0x496b68))throw _0x496b68[_0x582809(0x215)];_0x4f7fa8[_0x582809(0x20b)]({..._0x34cf96[_0x147437],'undoState':_0x1fff2b[_0x582809(0x196)][_0x582809(0x251)],'redoState':_0x496b68[_0x582809(0x196)]['params']}),_0x7b3bd2=_0x1fff2b[_0x582809(0xac)],_0x30e2ff=_0x496b68[_0x582809(0xac)];}_0x7b3bd2=_0x3538d0[_0x582809(0xbe)](_0x29ab5b[_0x582809(0x1b7)][0x0]),_0x30e2ff=_0x3538d0[_0x582809(0xbe)](_0x29ab5b[_0x582809(0x1b7)][0x0]);for(let _0x1969ba=_0x1def28[_0x582809(0x210)]-0x1;_0x1969ba>=0x0;_0x1969ba--){const _0x8c5e7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1def28[_0x1969ba][_0x582809(0x2d5)],..._0x1def28[_0x1969ba][_0x582809(0x16f)]}},_0x82cbed={'id':_0x582809(0x29f),'params':{'unitId':_0x1def28[_0x1969ba][_0x582809(0x2d5)],..._0x1def28[_0x1969ba][_0x582809(0x2d2)]}},_0x3f8445=this[_0x582809(0x2e8)]['transformMutation'](_0x7b3bd2,_0x8c5e7,!0x1),_0x14b88d=this[_0x582809(0x2e8)][_0x582809(0x200)](_0x30e2ff,_0x82cbed,!0x1);if(_0x2291d4(_0x3f8445))throw _0x3f8445[_0x582809(0x215)];if(_0x2291d4(_0x14b88d))throw _0x14b88d[_0x582809(0x215)];_0x521bbc[_0x582809(0x20b)]({..._0x1def28[_0x1969ba],'undoState':_0x3f8445[_0x582809(0x196)][_0x582809(0x251)],'redoState':_0x14b88d[_0x582809(0x196)][_0x582809(0x251)]}),_0x7b3bd2=_0x3f8445[_0x582809(0xac)],_0x30e2ff=_0x14b88d[_0x582809(0xac)];}this[_0x582809(0x263)][_0x582809(0x25c)](_0x140476,{'history':_0x4f7fa8,'collaboration':_0x521bbc});}};ue=mn([Le(0x0,_0x18b823(_0x3d0fff)),Le(0x1,_0x1372a5),Le(0x2,_0x18b823(_0x439928))],ue);var In=Object[_0x84c39c(0x9c)],fn=(_0x83da78,_0x3d0a96,_0x516072,_0x4f0b8b)=>{const _0xdc6127=_0x84c39c;for(var _0x10e385=_0x4f0b8b>0x1?void 0x0:_0x4f0b8b?In(_0x3d0a96,_0x516072):_0x3d0a96,_0x45c483=_0x83da78[_0xdc6127(0x210)]-0x1,_0x55603e;_0x45c483>=0x0;_0x45c483--)(_0x55603e=_0x83da78[_0x45c483])&&(_0x10e385=_0x55603e(_0x10e385)||_0x10e385);return _0x10e385;},ht=(_0x141e65,_0x3e2ed3)=>(_0x47a2d3,_0x3fa4ea)=>_0x3e2ed3(_0x47a2d3,_0x3fa4ea,_0x141e65);let de=class{constructor(_0xafc7f1,_0x367af2){const _0x355e76=_0x84c39c;this[_0x355e76(0x1c8)]=_0xafc7f1,this[_0x355e76(0x2e8)]=_0x367af2;}['transformSelections'](_0x2f25fc){const _0x2c585e=_0x84c39c;var _0x5b58b4;const _0x919210=this[_0x2c585e(0x1c8)]['get'](_0x1e1f8b),_0x37c64b=(_0x5b58b4=_0x919210[_0x2c585e(0x2d3)]())!=null?_0x5b58b4:[];if(_0x37c64b['length']===0x0)return;const _0x1e21a9=_0x2f25fc[_0x2c585e(0x15b)],_0x9d0b21=[{'id':_0x2c585e(0x29f),'params':{'unitId':_0x1e21a9,'actions':null,'textRanges':_0x37c64b}}],_0x11aa67=this['_transformService']['transformMutationsWithChangeset'](_0x2f25fc,_0x9d0b21);if(!_0x240613(_0x11aa67))throw _0x11aa67[_0x2c585e(0x215)];const _0x38b555=_0x11aa67[_0x2c585e(0x196)][0x0]['params']['textRanges'];Array['isArray'](_0x38b555)&&_0x38b555[_0x2c585e(0x210)]&&_0x919210[_0x2c585e(0x134)](_0x38b555,{'unitId':_0x1e21a9,'subUnitId':_0x1e21a9},!0x1);}};de=fn([ht(0x0,_0x18b823(_0x3d0fff)),ht(0x1,_0x1372a5)],de);var gn=Object[_0x84c39c(0x9c)],vn=(_0xa3de19,_0xd2a0b8,_0x86fc65,_0x37d252)=>{const _0x8b74ea=_0x84c39c;for(var _0x5db49b=_0x37d252>0x1?void 0x0:_0x37d252?gn(_0xd2a0b8,_0x86fc65):_0xd2a0b8,_0x3f3a94=_0xa3de19[_0x8b74ea(0x210)]-0x1,_0x3992ca;_0x3f3a94>=0x0;_0x3f3a94--)(_0x3992ca=_0xa3de19[_0x3f3a94])&&(_0x5db49b=_0x3992ca(_0x5db49b)||_0x5db49b);return _0x5db49b;},U=(_0x71f97d,_0xe0667b)=>(_0x160cf1,_0xfdc6fe)=>_0xe0667b(_0x160cf1,_0xfdc6fe,_0x71f97d);let Se=class extends _0x43da09{constructor(_0x355fc5,_0x133634,_0x28eb4,_0x897f1f,_0x3445a1,_0x2a5aa5,_0x247a26,_0x4b30e1){const _0x11a846=_0x84c39c;super(),_(this,_0x11a846(0x1ad),new _0x154363(_0x154596[_0x11a846(0xc1)])),(this[_0x11a846(0x263)]=_0x355fc5,this['_collaborationController']=_0x133634,this[_0x11a846(0x1b4)]=_0x28eb4,this[_0x11a846(0x12b)]=_0x897f1f,this[_0x11a846(0xae)]=_0x3445a1,this[_0x11a846(0xeb)]=_0x2a5aa5,this[_0x11a846(0xe5)]=_0x247a26,this[_0x11a846(0x2e2)]=_0x4b30e1,this[_0x11a846(0x20c)]());}[_0x84c39c(0x20c)](){const _0x2a4c58=_0x84c39c;this[_0x2a4c58(0x2de)](this[_0x2a4c58(0xdc)][_0x2a4c58(0x11d)][_0x2a4c58(0x9b)](_0x23722e=>{const _0x1b23f9=_0x2a4c58,_0x2252c3=this[_0x1b23f9(0x263)][_0x1b23f9(0xf5)]['subscribe'](_0x31193c=>{const _0x131008=_0x1b23f9;if(_0x31193c==null)return;const {unitId:_0x12c419,redoState:_0x302bd1,commandId:_0x5bbb35}=_0x31193c;if(_0x12c419!==_0x23722e['unitID'])return;const _0x22ff0f={'id':_0x5bbb35,'type':_0x54265b[_0x131008(0x104)],'params':{'unitId':_0x12c419,'actions':_0x302bd1['actions'],'textRanges':null}};_0x23722e[_0x131008(0x14a)](_0x22ff0f);});if(_0x23722e[_0x1b23f9(0x2de)](_0x2252c3),_0x23722e instanceof _0xd7a01c){const _0x2afb73={'onTransformIME':_0x3c2add=>this[_0x1b23f9(0x1b4)]['transformIMECache'](_0x3c2add),'onTransformState':_0x47220c=>this[_0x1b23f9(0x12b)][_0x1b23f9(0x1e7)](_0x47220c),'onTransformSelections':_0x281716=>this[_0x1b23f9(0xae)]['transformSelections'](_0x281716),'onSyncEditingCollabCursor':_0x51d661=>this[_0x1b23f9(0xeb)][_0x1b23f9(0xcb)](_0x51d661),'onTransformRemoteChangesetByIMECache':_0x1e2c95=>this[_0x1b23f9(0x1b4)][_0x1b23f9(0x278)](_0x1e2c95),'onTransformRemoteChangesetByStateCache':_0x126144=>this[_0x1b23f9(0x12b)][_0x1b23f9(0x278)](_0x126144)};_0x23722e[_0x1b23f9(0x2cd)](_0x2afb73);}}));}};Se=vn([U(0x0,_0x18b823(_0x439928)),U(0x1,_0x18b823(_0x5aa147)),U(0x2,_0x18b823(he)),U(0x3,_0x18b823(ue)),U(0x4,_0x18b823(de)),U(0x5,_0x18b823(ze)),U(0x6,_0x1e9266),U(0x7,_0x18b823(_0x52e776))],Se);var Z=(_0x50a34f=>(_0x50a34f[_0x50a34f[_0x84c39c(0x181)]=0x0]=_0x84c39c(0x181),_0x50a34f[_0x50a34f['OK']=0x1]='OK',_0x50a34f[_0x50a34f[_0x84c39c(0x198)]=0x2]=_0x84c39c(0x198),_0x50a34f[_0x50a34f[_0x84c39c(0x1bf)]=0x3]=_0x84c39c(0x1bf),_0x50a34f[_0x50a34f[_0x84c39c(0x2c7)]=0x4]=_0x84c39c(0x2c7),_0x50a34f[_0x50a34f[_0x84c39c(0x180)]=0x5]=_0x84c39c(0x180),_0x50a34f[_0x50a34f['ALREADY_EXISTS']=0x6]=_0x84c39c(0x187),_0x50a34f[_0x50a34f[_0x84c39c(0x107)]=0x7]='INVALID_ARGUMENT',_0x50a34f[_0x50a34f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x50a34f[_0x50a34f[_0x84c39c(0x240)]=0x9]='COMPLETION_FINISHED',_0x50a34f[_0x50a34f[_0x84c39c(0x216)]=0xa]=_0x84c39c(0x216),_0x50a34f[_0x50a34f[_0x84c39c(0x2e7)]=0xb]=_0x84c39c(0x2e7),_0x50a34f[_0x50a34f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x84c39c(0x1f0),_0x50a34f[_0x50a34f[_0x84c39c(0x2db)]=0xd]=_0x84c39c(0x2db),_0x50a34f[_0x50a34f[_0x84c39c(0x2d0)]=0xe]=_0x84c39c(0x2d0),_0x50a34f[_0x50a34f[_0x84c39c(0x123)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x50a34f[_0x50a34f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x50a34f[_0x50a34f[_0x84c39c(0x14d)]=0x64]=_0x84c39c(0x14d),_0x50a34f[_0x50a34f[_0x84c39c(0xa2)]=0x65]=_0x84c39c(0xa2),_0x50a34f[_0x50a34f['USER_NOT_FOUND']=0xc9]=_0x84c39c(0x1ea),_0x50a34f[_0x50a34f[_0x84c39c(0x17e)]=0xca]=_0x84c39c(0x17e),_0x50a34f[_0x50a34f[_0x84c39c(0x9d)]=0x1389]=_0x84c39c(0x9d),_0x50a34f[_0x50a34f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x84c39c(0x2e6),_0x50a34f[_0x50a34f[_0x84c39c(0x13f)]=0x1772]=_0x84c39c(0x13f),_0x50a34f[_0x50a34f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x84c39c(0x116),_0x50a34f[_0x50a34f[_0x84c39c(0x2cc)]=0x1b59]=_0x84c39c(0x2cc),_0x50a34f[_0x50a34f[_0x84c39c(0x24c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50a34f[_0x50a34f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x84c39c(0x1e9),_0x50a34f[_0x50a34f[_0x84c39c(0xe8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x50a34f[_0x50a34f['APPLY_DUPLICATED']=0x1b5d]=_0x84c39c(0x10d),_0x50a34f[_0x50a34f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x84c39c(0x1cd),_0x50a34f[_0x50a34f[_0x84c39c(0x283)]=0x2329]=_0x84c39c(0x283),_0x50a34f[_0x50a34f[_0x84c39c(0x22b)]=0x232a]=_0x84c39c(0x22b),_0x50a34f[_0x50a34f[_0x84c39c(0xfc)]=0x232b]=_0x84c39c(0xfc),_0x50a34f[_0x50a34f[_0x84c39c(0x106)]=0x232c]=_0x84c39c(0x106),_0x50a34f[_0x50a34f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x84c39c(0xe1),_0x50a34f[_0x50a34f[_0x84c39c(0x175)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x50a34f[_0x50a34f[_0x84c39c(0x183)]=0x2712]=_0x84c39c(0x183),_0x50a34f[_0x50a34f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x50a34f[_0x50a34f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x84c39c(0x2ba),_0x50a34f[_0x50a34f[_0x84c39c(0x148)]=0x271a]=_0x84c39c(0x148),_0x50a34f[_0x50a34f[_0x84c39c(0xfd)]=0x271b]=_0x84c39c(0xfd),_0x50a34f[_0x50a34f[_0x84c39c(0x1e4)]=0x271c]=_0x84c39c(0x1e4),_0x50a34f[_0x50a34f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x84c39c(0xe2),_0x50a34f[_0x50a34f[_0x84c39c(0x1b6)]=0x271e]=_0x84c39c(0x1b6),_0x50a34f[_0x50a34f[_0x84c39c(0xcd)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x50a34f[_0x50a34f[_0x84c39c(0x2e9)]=0x2720]=_0x84c39c(0x2e9),_0x50a34f[_0x50a34f[_0x84c39c(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x50a34f[_0x50a34f[_0x84c39c(0x293)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x50a34f[_0x50a34f[_0x84c39c(0x18e)]=0x2ee2]='INVALID_INVITE_CODE',_0x50a34f[_0x50a34f[_0x84c39c(0x281)]=0x2ee3]=_0x84c39c(0x281),_0x50a34f[_0x50a34f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x84c39c(0x243),_0x50a34f[_0x50a34f[_0x84c39c(0x2c1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x50a34f[_0x50a34f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x84c39c(0x1ff),_0x50a34f[_0x50a34f['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50a34f[_0x50a34f[_0x84c39c(0x1f5)]=0x32cb]=_0x84c39c(0x1f5),_0x50a34f[_0x50a34f[_0x84c39c(0x131)]=0x36b1]=_0x84c39c(0x131),_0x50a34f[_0x50a34f[_0x84c39c(0x2c4)]=0x36b2]=_0x84c39c(0x2c4),_0x50a34f[_0x50a34f[_0x84c39c(0x260)]=0x36b3]=_0x84c39c(0x260),_0x50a34f[_0x50a34f[_0x84c39c(0x156)]=0x36b4]=_0x84c39c(0x156),_0x50a34f[_0x50a34f[_0x84c39c(0x26b)]=0x3715]=_0x84c39c(0x26b),_0x50a34f[_0x50a34f[_0x84c39c(0xb0)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x50a34f[_0x50a34f[_0x84c39c(0x135)]=0x3717]=_0x84c39c(0x135),_0x50a34f[_0x50a34f['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x84c39c(0x1d0),_0x50a34f[_0x50a34f[_0x84c39c(0x254)]=0x3a99]=_0x84c39c(0x254),_0x50a34f[_0x50a34f['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x84c39c(0x299),_0x50a34f[_0x50a34f[_0x84c39c(0x13a)]=0x3a9b]=_0x84c39c(0x13a),_0x50a34f[_0x50a34f[_0x84c39c(0x98)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x50a34f[_0x50a34f[_0x84c39c(0x1ae)]=0x3a9d]=_0x84c39c(0x1ae),_0x50a34f[_0x50a34f[_0x84c39c(0xaa)]=0x3a9e]=_0x84c39c(0xaa),_0x50a34f[_0x50a34f[_0x84c39c(0x117)]=0x3a9f]=_0x84c39c(0x117),_0x50a34f[_0x50a34f[_0x84c39c(0x245)]=0x3e81]=_0x84c39c(0x245),_0x50a34f[_0x50a34f['UNRECOGNIZED']=-0x1]=_0x84c39c(0x28c),_0x50a34f))(Z||{});function En(_0x261579){const _0x564b50=_0x84c39c;var _0x3e3a07,_0x27fff2;const _0x1aeb18=(_0x3e3a07=_0x261579[_0x564b50(0x291)])==null?void 0x0:_0x3e3a07['stage'],_0x233c9d=((_0x27fff2=_0x261579[_0x564b50(0x291)])==null?void 0x0:_0x27fff2[_0x564b50(0x1a3)])||0x0;return _0x1aeb18===_0x183ff7[_0x564b50(0xb3)]&&_0x233c9d>0x0;}function pn(_0x33f954){const _0x577d35=_0x84c39c;return _0x33f954['functionsExecutedState']===_0x3d2b6e[_0x577d35(0xda)];}var On=Object[_0x84c39c(0x9c)],Tn=(_0x184e5d,_0x371337,_0x4ad67b,_0xfa2c9b)=>{const _0x76bc13=_0x84c39c;for(var _0x3de38a=_0xfa2c9b>0x1?void 0x0:_0xfa2c9b?On(_0x371337,_0x4ad67b):_0x371337,_0x3940d7=_0x184e5d[_0x76bc13(0x210)]-0x1,_0x3051aa;_0x3940d7>=0x0;_0x3940d7--)(_0x3051aa=_0x184e5d[_0x3940d7])&&(_0x3de38a=_0x3051aa(_0x3de38a)||_0x3de38a);return _0x3de38a;},P=(_0x1a018f,_0x4ddfc3)=>(_0x1a36af,_0x62c2cc)=>_0x4ddfc3(_0x1a36af,_0x62c2cc,_0x1a018f);const Cn=_0x84c39c(0xd3),Rn=_0x84c39c(0x217),Dn=_0x84c39c(0x25e);let me=class extends _0x43da09{constructor(_0x3f4b58,_0x4bc2c4,_0x126238,_0x480949,_0x556515,_0x441ab6,_0x27b819){const _0x40fe99=_0x84c39c;super(),_(this,_0x40fe99(0x29b),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x40fe99(0x12d),0x0),_(this,_0x40fe99(0x1e8),[]),_(this,_0x40fe99(0x151),0x0),(this[_0x40fe99(0xe5)]=_0x3f4b58,this['_commandService']=_0x4bc2c4,this[_0x40fe99(0xb2)]=_0x126238,this[_0x40fe99(0x1e1)]=_0x480949,this[_0x40fe99(0x2ce)]=_0x556515,this['_logService']=_0x441ab6,this[_0x40fe99(0x2e2)]=_0x27b819,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0x4ef589=_0x84c39c;this[_0x4ef589(0x2de)](this[_0x4ef589(0x132)][_0x4ef589(0xc5)]((_0xca2832,_0x189c6f)=>{const _0x1592c9=_0x4ef589;var _0x4a3d4a;if(_0xca2832['id']!==_0x1a50e8['id'])return;const _0x453897=_0xca2832[_0x1592c9(0x251)];if(!this[_0x1592c9(0x1b0)]((_0x4a3d4a=_0x453897['dirtyRanges'])!=null?_0x4a3d4a:[]))return;if(!this[_0x1592c9(0x11e)]())throw this[_0x1592c9(0x20a)](_0xca2832,_0x189c6f),this[_0x1592c9(0x2c2)](),new _0x214e38();})),this['disposeWithMe'](this[_0x4ef589(0x132)][_0x4ef589(0x246)]((_0x2faaa7,_0x120551)=>{const _0x33c86f=_0x4ef589;if(_0x2faaa7['id']!==_0x350c96['id'])return;const _0x1fb1a1=_0x2faaa7[_0x33c86f(0x251)];if(En(_0x1fb1a1)){const _0x415cf6=_0x5ac2f3();this[_0x33c86f(0x1e8)][_0x33c86f(0x1b1)](_0x415cf6),this[_0x33c86f(0x11f)](_0x415cf6);}else{if(pn(_0x1fb1a1)&&this[_0x33c86f(0x1e8)][_0x33c86f(0x210)]>0x0){const _0xbcdf92=this['_taskIds']['shift']();this[_0x33c86f(0x23e)](_0xbcdf92);}}}));}[_0x84c39c(0xe7)](){const _0x41363b=_0x84c39c;super['dispose'](),this[_0x41363b(0x1fc)](),this[_0x41363b(0x1e8)]=[],this[_0x41363b(0x12d)]=0x0,this[_0x41363b(0x1e3)]=0x0,this[_0x41363b(0x151)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x53079e,_0x48406a){const _0x59bb42=_0x84c39c;for(let _0x30b5b3=0x0;_0x30b5b3<0x1e;_0x30b5b3++)try{if(await this['_getFormulaLimitStatus'](),this[_0x59bb42(0x11e)]()){this[_0x59bb42(0xd7)](_0x53079e,_0x48406a),this['_messageService'][_0x59bb42(0x1f4)]({'content':this['_localeService']['t'](_0x59bb42(0x153)),'type':_0x3e8d45[_0x59bb42(0x1d5)]});return;}await new Promise(_0x3a934d=>{const _0x57dc98=_0x59bb42;this[_0x57dc98(0x29b)]=window[_0x57dc98(0x211)](_0x3a934d,0x3e8);});}catch(_0xa85a8a){this[_0x59bb42(0x2d4)]['error'](_0xa85a8a);}this['_messageService'][_0x59bb42(0x1f4)]({'content':this['_localeService']['t'](_0x59bb42(0x1b3)),'type':_0x3e8d45['Error']});}['_applyCommand'](_0x1d7add,_0x2c288e){const _0x5126d4=_0x84c39c;try{this[_0x5126d4(0x132)][_0x5126d4(0xd1)](_0x1d7add['id'],_0x1d7add['params'],_0x2c288e);}catch(_0x28686b){this['_logService']['error'](_0x28686b);}}[_0x84c39c(0x16b)](_0x21c34f,_0x3076b0){const _0x2eca3a=_0x84c39c;_0x3076b0<this[_0x2eca3a(0x151)]||(this['_lastResponseTimestamp']=_0x3076b0,this[_0x2eca3a(0x1e3)]=Number[_0x2eca3a(0x127)](_0x21c34f[_0x2eca3a(0x238)]),this[_0x2eca3a(0x12d)]=Number['parseInt'](_0x21c34f[_0x2eca3a(0xe3)]));}async[_0x84c39c(0x11f)](_0x55b7a1){const _0x5bf8b9=_0x84c39c;var _0x4f98d5,_0x338995;const _0x2be768=Date[_0x5bf8b9(0x28e)]();try{const _0x23876c=((_0x4f98d5=this['_configService']['getConfig'](_0x4d30ee))==null?void 0x0:_0x4f98d5['startFormulaLimitUrl'])||Rn,_0x3f7360=(await this[_0x5bf8b9(0x1e1)][_0x5bf8b9(0x25a)](_0x23876c,{'body':JSON['stringify']({'taskId':_0x55b7a1})}))[_0x5bf8b9(0x1cf)];if(((_0x338995=_0x3f7360[_0x5bf8b9(0x215)])==null?void 0x0:_0x338995[_0x5bf8b9(0x29d)])!==Z['OK'])return;this[_0x5bf8b9(0x16b)](_0x3f7360['limitInfo'],_0x2be768);}catch(_0x438571){this[_0x5bf8b9(0x2d4)][_0x5bf8b9(0x215)](_0x438571);}}async[_0x84c39c(0x233)](_0x2b390a){const _0x42e45d=_0x84c39c;var _0x4febb3,_0x4a4fa4;const _0x7fc0d2=Date[_0x42e45d(0x28e)]();try{const _0x641095=((_0x4febb3=this[_0x42e45d(0xb2)]['getConfig'](_0x4d30ee))==null?void 0x0:_0x4febb3[_0x42e45d(0x197)])||Cn,_0x3b8542=_0x2b390a?_0x641095+'?taskId='+encodeURIComponent(_0x2b390a):_0x641095,_0x149e06=(await this[_0x42e45d(0x1e1)][_0x42e45d(0x2a5)](_0x3b8542))[_0x42e45d(0x1cf)];if(((_0x4a4fa4=_0x149e06[_0x42e45d(0x215)])==null?void 0x0:_0x4a4fa4['code'])!==Z['OK'])return;this[_0x42e45d(0x16b)](_0x149e06[_0x42e45d(0x1c0)],_0x7fc0d2);}catch(_0x472ffa){this[_0x42e45d(0x2d4)]['error'](_0x472ffa);}}async[_0x84c39c(0x23e)](_0x57e5dd){const _0x156355=_0x84c39c;var _0x475ad3,_0x1faa4c;const _0x17dfb3=Date[_0x156355(0x28e)]();try{const _0x12317a=((_0x475ad3=this[_0x156355(0xb2)]['getConfig'](_0x4d30ee))==null?void 0x0:_0x475ad3[_0x156355(0x2b4)])||Dn,_0x2d975a=(await this[_0x156355(0x1e1)]['post'](_0x12317a,{'body':JSON[_0x156355(0x152)]({'taskId':_0x57e5dd})}))[_0x156355(0x1cf)];if(((_0x1faa4c=_0x2d975a[_0x156355(0x215)])==null?void 0x0:_0x1faa4c[_0x156355(0x29d)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x2d975a[_0x156355(0x1c0)],_0x17dfb3);}catch(_0x32235c){this[_0x156355(0x2d4)][_0x156355(0x215)](_0x32235c);}}['_checkCalculationAvailable'](){const _0x5d3f12=_0x84c39c;return this[_0x5d3f12(0x1e3)]===0x0?!0x0:this[_0x5d3f12(0x1e3)]-this[_0x5d3f12(0x12d)]>0x0;}['_clearPolling'](){const _0x49a5fc=_0x84c39c;this['_pollingInterval']&&(clearTimeout(this[_0x49a5fc(0x29b)]),this[_0x49a5fc(0x29b)]=null);}[_0x84c39c(0x2c2)](){const _0x4fbd1e=_0x84c39c;this[_0x4fbd1e(0xe5)][_0x4fbd1e(0x1f4)]({'content':this[_0x4fbd1e(0x2e2)]['t'](_0x4fbd1e(0x204)),'type':_0x3e8d45[_0x4fbd1e(0xb7)]});}['_hasFormulaInDirtyRanges'](_0x34d39c){const _0x5b3219=_0x84c39c;for(const _0x390516 of _0x34d39c){const {unitId:_0x23b001,sheetId:_0x1cf563,range:_0xd19c91}=_0x390516,_0x8a780=this[_0x5b3219(0x2ce)][_0x5b3219(0xa4)](_0x23b001);if(!_0x8a780)continue;const _0x47faeb=_0x8a780['getSheetBySheetId'](_0x1cf563);if(!_0x47faeb)continue;const _0x28d883=_0x47faeb[_0x5b3219(0xf4)]();for(let _0x5206f4=_0xd19c91[_0x5b3219(0x205)];_0x5206f4<=_0xd19c91['endRow'];_0x5206f4++)for(let _0xa17e0c=_0xd19c91[_0x5b3219(0x268)];_0xa17e0c<=_0xd19c91[_0x5b3219(0x19f)];_0xa17e0c++){const _0x2dd1a4=_0x28d883[_0x5b3219(0x2d1)](_0x5206f4,_0xa17e0c);if(_0x2dd1a4&&(_0x12930d(_0x2dd1a4['f'])||_0x31bd31(_0x2dd1a4['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x18b823(_0x1e9266)),P(0x1,_0x445746),P(0x2,_0x4683b0),P(0x3,_0x18b823(_0x427f9f)),P(0x4,_0x4e9296),P(0x5,_0x376f30),P(0x6,_0x18b823(_0x52e776))],me);var bn=Object[_0x84c39c(0x9c)],Nn=(_0x572a6f,_0x464022,_0x92be43,_0x30cf54)=>{const _0x180670=_0x84c39c;for(var _0x22c7e8=_0x30cf54>0x1?void 0x0:_0x30cf54?bn(_0x464022,_0x92be43):_0x464022,_0x41bae4=_0x572a6f[_0x180670(0x210)]-0x1,_0x271f66;_0x41bae4>=0x0;_0x41bae4--)(_0x271f66=_0x572a6f[_0x41bae4])&&(_0x22c7e8=_0x271f66(_0x22c7e8)||_0x22c7e8);return _0x22c7e8;},Ue=(_0x8d9ba4,_0x3150bb)=>(_0x238ac4,_0x102448)=>_0x3150bb(_0x238ac4,_0x102448,_0x8d9ba4);let He=class extends _0x43da09{constructor(_0x233c0c,_0x44e43e,_0x4b88fa){const _0x4ba9d8=_0x84c39c;super(),_(this,'_cachedData',new Map()),_(this,_0x4ba9d8(0x178),new Map()),_(this,_0x4ba9d8(0x225),!0x1),(this[_0x4ba9d8(0xb2)]=_0x233c0c,this[_0x4ba9d8(0x2be)]=_0x44e43e,this['_revisionService']=_0x4b88fa);}[_0x84c39c(0x282)](){const _0x3d79bc=_0x84c39c;this[_0x3d79bc(0x225)]=!0x0;}[_0x84c39c(0x1d3)](){this['_disabled']=!0x1;}get[_0x84c39c(0x1c5)](){return this['_saveTaskMap'];}[_0x84c39c(0xe7)](){const _0x2960ac=_0x84c39c;this[_0x2960ac(0x1fd)]()[_0x2960ac(0x21d)](()=>super[_0x2960ac(0xe7)]());}async[_0x84c39c(0x227)](_0x1b829d){const _0x20a973=_0x84c39c;return this[_0x20a973(0x225)]?null:this[_0x20a973(0x2be)][_0x20a973(0x290)](_0x2ed2bf(_0x1b829d));}async[_0x84c39c(0x128)](_0xc81b21,_0x58a08a){const _0x109a47=_0x84c39c;return!!this['_localStorageService'][_0x109a47(0x28b)](_0xc81b21,_0x58a08a);}[_0x84c39c(0x255)](_0xc32dba,_0x465d90,_0x9b7bb,_0x994219){const _0x5608c3=_0x84c39c,_0x192f27=this[_0x5608c3(0xef)][_0x5608c3(0x18c)](_0xc32dba);this[_0x5608c3(0x1d6)][_0x5608c3(0x11c)](_0xc32dba,{'unitID':_0xc32dba,'type':_0x465d90,'awaitingChangeset':_0x9b7bb,'mutations':_0x994219,'rev':_0x192f27}),this[_0x5608c3(0x178)]['has'](_0xc32dba)||this['_scheduleSaving'](_0xc32dba);}[_0x84c39c(0x1de)](_0xd2d3ea){const _0x513477=_0x84c39c,_0x3cf091=this[_0x513477(0x2b5)]();_0x3cf091===0x0?this[_0x513477(0x1f7)](_0xd2d3ea):this['_saveTaskMap']['set'](_0xd2d3ea,setTimeout(()=>this[_0x513477(0x1f7)](_0xd2d3ea),_0x3cf091));}['_getSaveTimeout'](){var _0x292ff6;return(_0x292ff6=this['_configService']['getConfig'](_0x545c19))!=null?_0x292ff6:_0x395b92;}[_0x84c39c(0x1f7)](_0x553f1c){const _0x5cdb24=_0x84c39c,_0x586cc0=this[_0x5cdb24(0x178)][_0x5cdb24(0x2a5)](_0x553f1c);return _0x586cc0!==void 0x0&&window[_0x5cdb24(0x1c2)](_0x586cc0),this[_0x5cdb24(0x2be)][_0x5cdb24(0x28b)](_0x2ed2bf(_0x553f1c),this['_cachedData']['get'](_0x553f1c))[_0x5cdb24(0x21d)](()=>this[_0x5cdb24(0x178)][_0x5cdb24(0x2b8)](_0x553f1c));}async[_0x84c39c(0x1fd)](){const _0x2fe90c=_0x84c39c,_0x2941bb=[];this[_0x2fe90c(0x178)]['forEach']((_0x53a94c,_0x28a8b0)=>{const _0x3f5eee=_0x2fe90c;window['clearTimeout'](_0x53a94c),_0x2941bb[_0x3f5eee(0x1b1)](this[_0x3f5eee(0x1f7)](_0x28a8b0)[_0x3f5eee(0x21d)](()=>{this['_saveTaskMap']['delete'](_0x28a8b0);}));}),await Promise[_0x2fe90c(0x11b)](_0x2941bb);}};He=Nn([Ue(0x0,_0x4683b0),Ue(0x1,_0x4a9706),Ue(0x2,_0x18b823(_0x30bff9))],He);class Ln extends _0x48416c{constructor(){const _0x33511b=_0x84c39c;super(),_(this,_0x33511b(0x264)),this['urlChange$']=_0x557668(window,_0x33511b(0x120))[_0x33511b(0x2ea)](_0x1da07e(this[_0x33511b(0x21b)]),_0x2072b5(0x1),_0x5b46ba(void 0x0));}[_0x84c39c(0x9e)](_0x48d0a1,_0x5e23cd,_0x265bef=!0x1){const _0xf00646=_0x84c39c,_0x36510a=new URL(window[_0xf00646(0x235)][_0xf00646(0xbf)]);_0x36510a[_0xf00646(0xee)][_0xf00646(0x11c)](_0x48d0a1,_0x5e23cd),_0x265bef?window['history'][_0xf00646(0x2af)]('','',_0x36510a[_0xf00646(0x129)]()):window[_0xf00646(0x28a)][_0xf00646(0x249)]('','',_0x36510a[_0xf00646(0x129)]());}[_0x84c39c(0x21c)](_0x2b632d,_0x2c3feb=!0x1){const _0x40f38b=_0x84c39c,_0x3068fb=new URL(window[_0x40f38b(0x235)][_0x40f38b(0xbf)]);_0x3068fb['searchParams'][_0x40f38b(0x2b8)](_0x2b632d),_0x2c3feb?window[_0x40f38b(0x28a)][_0x40f38b(0x2af)]('','',_0x3068fb[_0x40f38b(0x129)]()):window['history'][_0x40f38b(0x249)]('','',_0x3068fb[_0x40f38b(0x129)]());}[_0x84c39c(0x1bb)](_0x990ce7){const _0x23c82c=_0x84c39c;var _0x5dcb67;return(_0x5dcb67=new URL(window[_0x23c82c(0x235)][_0x23c82c(0xbf)])[_0x23c82c(0xee)]['get'](_0x990ce7))!=null?_0x5dcb67:void 0x0;}}var Un=Object[_0x84c39c(0x1d1)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x52be41,_0x103344,_0x17d8c8)=>_0x103344 in _0x52be41?Un(_0x52be41,_0x103344,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17d8c8}):_0x52be41[_0x103344]=_0x17d8c8,Pn=(_0x8fa8b4,_0x291452,_0x1122c7,_0x11ddf9)=>{const _0x82e2=_0x84c39c;for(var _0x141c43=_0x11ddf9>0x1?void 0x0:_0x11ddf9?Mn(_0x291452,_0x1122c7):_0x291452,_0x419b8a=_0x8fa8b4[_0x82e2(0x210)]-0x1,_0x198166;_0x419b8a>=0x0;_0x419b8a--)(_0x198166=_0x8fa8b4[_0x419b8a])&&(_0x141c43=_0x198166(_0x141c43)||_0x141c43);return _0x141c43;},Me=(_0x1bcd55,_0x1a8636)=>(_0x327d3d,_0x1f0aaa)=>_0x1a8636(_0x327d3d,_0x1f0aaa,_0x1bcd55),wn=(_0x599454,_0x296c32,_0x31a6c9)=>An(_0x599454,_0x296c32+'',_0x31a6c9);const yn=_0x84c39c(0x1dd);let Ye=class extends _0x354b04{constructor(_0x51ea65=_t,_0x39aeea,_0x1f9528,_0x393994){const _0x481cb8=_0x84c39c;super(),this['_config']=_0x51ea65,this[_0x481cb8(0xad)]=_0x39aeea,this[_0x481cb8(0x1c8)]=_0x1f9528,this['_configService']=_0x393994;const {..._0x18314a}=_0x1561e6({},_t,this[_0x481cb8(0xa0)]);this['_configService'][_0x481cb8(0xf3)](hn,_0x18314a);}[_0x84c39c(0x284)](){const _0x3f32a3=_0x84c39c;this[_0x3f32a3(0x29a)](),this[_0x3f32a3(0xe6)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x84c39c(0x29a)](){const _0x45c4f6=_0x84c39c;var _0x130daa;const _0x3576ee=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x4abb30,{'useClass':_0x2dfd5f}],[_0x549f51,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x45c4f6(0xa0)]['enableFrontendLog']&&_0x3576ee['push']([le]),_0x508bf9(this[_0x45c4f6(0x1c8)],_0x408219(_0x3576ee,(_0x130daa=this[_0x45c4f6(0xa0)])==null?void 0x0:_0x130daa[_0x45c4f6(0x173)]));}[_0x84c39c(0x202)](){const _0x4f0bb7=_0x84c39c;this[_0x4f0bb7(0x2de)](this[_0x4f0bb7(0xad)][_0x4f0bb7(0x115)](_0x55700d['UNIVER_DOC'],[Fe])),this[_0x4f0bb7(0x2de)](this[_0x4f0bb7(0xad)][_0x4f0bb7(0x115)](_0x55700d[_0x4f0bb7(0x12c)],[ke]));}[_0x84c39c(0xe6)](){const _0x283310=_0x84c39c;_0x2b838d(this[_0x283310(0x1c8)],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0x283310(0xa0)][_0x283310(0x1c7)]&&_0x2b838d(this[_0x283310(0x1c8)],[[le]]);}};wn(Ye,_0x84c39c(0xf6),yn),Ye=Pn([_0xaa675c(_0x5ac490),Me(0x1,_0x18fed5),Me(0x2,_0x18b823(_0x3d0fff)),Me(0x3,_0x4683b0)],Ye);var $n=Object[_0x84c39c(0x9c)],xn=(_0x26f93b,_0x4eb385,_0xf4ca21,_0x350440)=>{const _0x15e303=_0x84c39c;for(var _0x39bc3f=_0x350440>0x1?void 0x0:_0x350440?$n(_0x4eb385,_0xf4ca21):_0x4eb385,_0x16a13a=_0x26f93b[_0x15e303(0x210)]-0x1,_0x5df879;_0x16a13a>=0x0;_0x16a13a--)(_0x5df879=_0x26f93b[_0x16a13a])&&(_0x39bc3f=_0x5df879(_0x39bc3f)||_0x39bc3f);return _0x39bc3f;},J=(_0x3476af,_0x1767cb)=>(_0x5bcb02,_0x36f819)=>_0x1767cb(_0x5bcb02,_0x36f819,_0x3476af);let ut=class extends _0x2e6ceb{constructor(_0xd929d2,_0x1fd301,_0x428c8c,_0x2e1621,_0x3bab24){super(_0xd929d2,_0x1fd301,_0x428c8c,_0x2e1621,_0x3bab24);}async[_0x84c39c(0x1d2)](_0x52303b){const _0x33ce30=_0x84c39c,_0x1bb5fd=await this[_0x33ce30(0x259)](),_0x5c9cff=this['_createSocketURL'](_0x52303b,_0x1bb5fd);return this[_0x33ce30(0x9f)](_0x5c9cff);}['_createSocketURL'](_0x6c1fc2,_0xffdb11){const _0x5dd530=_0x84c39c,_0x5e2d20=typeof window>'u'?new URL(_0x6c1fc2):new URL(_0x6c1fc2,window[_0x5dd530(0x235)][_0x5dd530(0x232)]);_0x5e2d20[_0x5dd530(0xee)][_0x5dd530(0x11c)]('sessionTicket',_0xffdb11);const _0x1176e7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5dd530(0x235)][_0x5dd530(0x119)]);return _0x1176e7[_0x5dd530(0x2a5)](_0x5dd530(0xe4))&&_0x5e2d20[_0x5dd530(0xee)][_0x5dd530(0x11c)](_0x5dd530(0xe4),_0x1176e7[_0x5dd530(0x2a5)](_0x5dd530(0xe4))),_0x5e2d20[_0x5dd530(0x129)]();}async[_0x84c39c(0x259)](){const _0x4fec34=_0x84c39c;var _0x3b7e2a,_0x21ed95,_0x52a78b;const _0x35fc8d=this[_0x4fec34(0xb2)][_0x4fec34(0x185)](_0x4d30ee),_0x14fd61=(_0x3b7e2a=_0x35fc8d==null?void 0x0:_0x35fc8d[_0x4fec34(0xdf)])!=null?_0x3b7e2a:_0x47ee10;return(_0x52a78b=(_0x21ed95=(await this['_httpService'][_0x4fec34(0x2a5)](_0x14fd61,{'headers':{'Content-Type':'application/json'}}))[_0x4fec34(0x1cf)])==null?void 0x0:_0x21ed95[_0x4fec34(0x1dc)])!=null?_0x52a78b:'';}};ut=xn([J(0x0,_0x18b823(_0x3d0fff)),J(0x1,_0x18b823(_0x427f9f)),J(0x2,_0x4683b0),J(0x3,_0x376f30),J(0x4,_0x50631a)],ut);var Bn=Object[_0x84c39c(0x9c)],Fn=(_0x1a5442,_0x3854ae,_0x34c360,_0x7e03)=>{const _0x560275=_0x84c39c;for(var _0x4bb8c4=_0x7e03>0x1?void 0x0:_0x7e03?Bn(_0x3854ae,_0x34c360):_0x3854ae,_0x19dd90=_0x1a5442[_0x560275(0x210)]-0x1,_0x43d7f1;_0x19dd90>=0x0;_0x19dd90--)(_0x43d7f1=_0x1a5442[_0x19dd90])&&(_0x4bb8c4=_0x43d7f1(_0x4bb8c4)||_0x4bb8c4);return _0x4bb8c4;},Ae=(_0x41ec44,_0x3b2a9f)=>(_0x17df3d,_0x5b1471)=>_0x3b2a9f(_0x17df3d,_0x5b1471,_0x41ec44);let dt=class extends _0x43da09{constructor(_0x4e4488,_0x413e13,_0x480d14){const _0x4484fc=_0x84c39c;super(),this['_instanceService']=_0x4e4488,this[_0x4484fc(0x1e1)]=_0x413e13,this[_0x4484fc(0xb2)]=_0x480d14;}async[_0x84c39c(0x230)](_0x45982d,_0x5d8208,_0x152169,..._0x5ccbd9){const _0x48b7e3=_0x84c39c;var _0x3e13be,_0x1b655d,_0x132e7b,_0x5cff56;const _0x5aa08f=this[_0x48b7e3(0x247)][_0x48b7e3(0x221)]();if(!_0x5aa08f)throw new Error(_0x48b7e3(0x262));const _0x37c426=((_0x3e13be=this[_0x48b7e3(0xb2)]['getConfig'](_0x29f261))!=null?_0x3e13be:_0x341dff)+'/'+_0x45982d+_0x48b7e3(0x275)+_0x5d8208,_0x5e10dd=new URL(window['location'][_0x48b7e3(0xbf)]),_0x1fb8dc={'scriptId':_0x45982d,'runId':(_0x1b655d=_0x5e10dd[_0x48b7e3(0xee)][_0x48b7e3(0x2a5)](_0x48b7e3(0xe4)))!=null?_0x1b655d:'','function':_0x5d8208,'unitId':_0x5aa08f[_0x48b7e3(0x18b)](),'argsOfFunction':JSON[_0x48b7e3(0x152)](_0x5ccbd9),'invokeId':(_0x132e7b=_0x152169[_0x48b7e3(0x124)])!=null?_0x132e7b:'','executionId':(_0x5cff56=_0x152169[_0x48b7e3(0x9a)])!=null?_0x5cff56:''};try{const _0x9e130c=await this[_0x48b7e3(0x1e1)][_0x48b7e3(0x25a)](_0x37c426,{'body':_0x1fb8dc});return _0x9e130c[_0x48b7e3(0x1cf)]['error']&&_0x9e130c[_0x48b7e3(0x1cf)]['error'][_0x48b7e3(0x29d)]!==Z['OK']?_0x48b7e3(0x273):_0x9e130c[_0x48b7e3(0x1cf)]['result'];}catch{return _0x48b7e3(0x273);}}};dt=Fn([Ae(0x0,_0x4e9296),Ae(0x1,_0x18b823(_0x427f9f)),Ae(0x2,_0x4683b0)],dt);const St=0x7530,mt='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x43da09{constructor(){const _0x5427bf=_0x84c39c;super(),_(this,_0x5427bf(0xdd),_0x5ac2f3()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5427bf(0x1a7),new Map()),_(this,_0x5427bf(0xb9),null),_(this,_0x5427bf(0x160),new Map()),_(this,_0x5427bf(0x189),new Map()),this[_0x5427bf(0x19c)]();}[_0x84c39c(0xe7)](){const _0x50f39d=_0x84c39c;super[_0x50f39d(0xe7)](),this[_0x50f39d(0x160)][_0x50f39d(0xf2)]((_0x23a926,_0x406ce7)=>this[_0x50f39d(0x279)](_0x406ce7)),this[_0x50f39d(0xb9)]&&window['clearInterval'](this[_0x50f39d(0xb9)]);}['getUnitStatus$'](_0x1e4a0e){return this['_ensureSubject'](_0x1e4a0e)['pipe'](_0x2246d1());}[_0x84c39c(0x2d6)](_0x9d29d5){const _0x271ffe=_0x84c39c;this[_0x271ffe(0xc2)][_0x271ffe(0x164)]===0x0&&this['_scheduleHeartbeat'](),this[_0x271ffe(0xc2)][_0x271ffe(0x108)](_0x9d29d5),this[_0x271ffe(0x2b1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x9d29d5],'isForwarded':!0x1});}['disposeUnit'](_0x558633){const _0x401ab6=_0x84c39c;this[_0x401ab6(0xc2)][_0x401ab6(0x2b8)](_0x558633),this[_0x401ab6(0xc2)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x401ab6(0xc9)](this[_0x401ab6(0xb9)]);}[_0x84c39c(0x19c)](){const _0x21e954=_0x84c39c;this['disposeWithMe'](_0x3b58a3(_0x557668(window,'storage')[_0x21e954(0x9b)](_0x83ccbf=>{const _0x48901b=_0x21e954;if(_0x83ccbf[_0x48901b(0x146)]!==mt||!_0x83ccbf[_0x48901b(0x250)])return;const _0x1ec636=JSON[_0x48901b(0x163)](_0x83ccbf[_0x48901b(0x250)]);this[_0x48901b(0xe0)](_0x1ec636);}))),window[_0x21e954(0xca)](_0x21e954(0xaf),()=>this[_0x21e954(0x2b1)]({'type':0x1,'memberID':this[_0x21e954(0xdd)],'unitIDs':Array[_0x21e954(0x24e)](this[_0x21e954(0xc2)])}));}[_0x84c39c(0xe0)](_0x3ef277){const _0x251170=_0x84c39c;switch(_0x3ef277[_0x251170(0x190)]){case 0x0:this[_0x251170(0x188)](_0x3ef277);break;case 0x1:this[_0x251170(0x16a)](_0x3ef277);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ef277);break;}}[_0x84c39c(0x188)](_0x156b00){const _0xa43817=_0x84c39c,{unitIDs:_0xe13611,memberID:_0x4fe3d3,isForwarded:_0x2c2f72}=_0x156b00;_0xe13611[_0xa43817(0xf2)](_0x17a466=>{const _0x172fe9=_0xa43817;if(!_0x2c2f72&&this['_unitOnClients'][_0x172fe9(0x270)](_0x17a466)&&this[_0x172fe9(0xde)](_0x17a466)[_0x172fe9(0xff)](_0x3bc2c6[_0x172fe9(0x23c)]),!this[_0x172fe9(0x1a7)]['has'](_0x17a466)||!this[_0x172fe9(0x1a7)][_0x172fe9(0x2a5)](_0x17a466)['has'](_0x4fe3d3)){const _0x2e8580=this['_unitOnClients'][_0x172fe9(0x2a5)](_0x17a466)||new Set();_0x2e8580[_0x172fe9(0x108)](_0x4fe3d3),this[_0x172fe9(0x1a7)][_0x172fe9(0x11c)](_0x17a466,_0x2e8580),this['_scheduleClearOtherTimer'](_0x4fe3d3);}}),_0x2c2f72||this[_0xa43817(0x2b1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xa43817(0xc2)]],'isForwarded':!0x0});}[_0x84c39c(0x19b)](_0x2e2dd5){const _0x2cdab2=_0x84c39c;this[_0x2cdab2(0x279)](_0x2e2dd5);const _0x1114b6=window[_0x2cdab2(0x211)](()=>{const _0x1585bc=_0x2cdab2;this[_0x1585bc(0x1a7)][_0x1585bc(0xf2)](_0x368d6a=>{const _0x276a06=_0x1585bc;_0x368d6a[_0x276a06(0x2b8)](_0x2e2dd5);});},St*0x2);this[_0x2cdab2(0x160)]['set'](_0x2e2dd5,_0x1114b6);}['_removeClearOtherTimer'](_0x18342c){const _0x1723cc=_0x84c39c;if(this[_0x1723cc(0x160)][_0x1723cc(0x270)](_0x18342c)){const _0x5e00a5=this[_0x1723cc(0x160)][_0x1723cc(0x2a5)](_0x18342c);_0x5e00a5&&window['clearTimeout'](_0x5e00a5),this[_0x1723cc(0x160)]['set'](_0x18342c,null);}}['_handleLeaveEvent'](_0x3da985){const _0xf3a8fa=_0x84c39c,{memberID:_0x3e26ad,unitIDs:_0x32af7a}=_0x3da985;_0x32af7a[_0xf3a8fa(0xf2)](_0x56a7e4=>{const _0x4b39c6=_0xf3a8fa;var _0x58b580;const _0xfe607c=this[_0x4b39c6(0x1a7)][_0x4b39c6(0x2a5)](_0x56a7e4);_0xfe607c&&(_0xfe607c[_0x4b39c6(0x2b8)](_0x3e26ad),(_0x58b580=this[_0x4b39c6(0xde)](_0x56a7e4))==null||_0x58b580[_0x4b39c6(0xff)](_0xfe607c[_0x4b39c6(0x164)]===0x0?_0x3bc2c6[_0x4b39c6(0x176)]:_0x3bc2c6[_0x4b39c6(0x23c)]));}),this['_removeClearOtherTimer'](_0x3e26ad);}['_handleHeartbeatEvent'](_0x4bba19){const _0x524c85=_0x84c39c;this[_0x524c85(0x19b)](_0x4bba19[_0x524c85(0x26a)]);}[_0x84c39c(0x2b1)](_0x1e78ae){const _0x1af245=_0x84c39c;localStorage[_0x1af245(0x28b)](mt,JSON[_0x1af245(0x152)](_0x1e78ae));}[_0x84c39c(0x239)](){const _0x1041cf=_0x84c39c;this['_heartbeatTimer']=window[_0x1041cf(0x2c0)](()=>{const _0x583173=_0x1041cf;this[_0x583173(0x2b1)]({'type':0x2,'memberID':this[_0x583173(0xdd)]});},St);}['_ensureSubject'](_0x5a1254){const _0x99c96d=_0x84c39c;return this['_unitStatus'][_0x99c96d(0x270)](_0x5a1254)||this[_0x99c96d(0x189)][_0x99c96d(0x11c)](_0x5a1254,new _0x154363(_0x3bc2c6[_0x99c96d(0x176)])),this[_0x99c96d(0x189)][_0x99c96d(0x2a5)](_0x5a1254);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|