@univerjs-pro/collaboration-client-ui 0.5.2 → 0.5.3-experimental.20250106-4af1f4e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/services/remote-uniscript/remote-uniscript.service.d.ts +7 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -41
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x210432,_0x21ea78){const _0xeeee69=_0x404a,_0x2f5d74=_0x210432();while(!![]){try{const _0x5a6934=-parseInt(_0xeeee69(0x196))/0x1*(-parseInt(_0xeeee69(0x264))/0x2)+parseInt(_0xeeee69(0x306))/0x3*(parseInt(_0xeeee69(0x2f5))/0x4)+parseInt(_0xeeee69(0x2af))/0x5+-parseInt(_0xeeee69(0x231))/0x6*(parseInt(_0xeeee69(0x29b))/0x7)+-parseInt(_0xeeee69(0x2d6))/0x8+parseInt(_0xeeee69(0x2bc))/0x9*(-parseInt(_0xeeee69(0x310))/0xa)+-parseInt(_0xeeee69(0x17c))/0xb*(-parseInt(_0xeeee69(0x1d2))/0xc);if(_0x5a6934===_0x21ea78)break;else _0x2f5d74['push'](_0x2f5d74['shift']());}catch(_0x17b49c){_0x2f5d74['push'](_0x2f5d74['shift']());}}}(_0xde70,0x2032c),function(_0x1236ad,_0x1230f4){const _0x247212=_0x404a;typeof exports=='object'&&typeof module<'u'?_0x1230f4(exports,require(_0x247212(0x1fe)),require(_0x247212(0x162)),require(_0x247212(0x34d)),require(_0x247212(0x102)),require(_0x247212(0x317)),require(_0x247212(0x15b)),require(_0x247212(0x265)),require(_0x247212(0x234)),require(_0x247212(0x1f8)),require(_0x247212(0x342)),require(_0x247212(0x22f)),require(_0x247212(0x2b8)),require(_0x247212(0x2fe)),require(_0x247212(0x144)),require(_0x247212(0x16e)),require(_0x247212(0x138)),require(_0x247212(0x2bf))):typeof define=='function'&&define['amd']?define([_0x247212(0x1b0),_0x247212(0x1fe),_0x247212(0x162),_0x247212(0x34d),_0x247212(0x102),'@univerjs/docs-ui',_0x247212(0x15b),'rxjs',_0x247212(0x234),_0x247212(0x1f8),_0x247212(0x342),_0x247212(0x22f),'rxjs/operators',_0x247212(0x2fe),_0x247212(0x144),_0x247212(0x16e),'@univerjs/design',_0x247212(0x2bf)],_0x1230f4):(_0x1236ad=typeof globalThis<'u'?globalThis:_0x1236ad||self,_0x1230f4(_0x1236ad['UniverProCollaborationClientUi']={},_0x1236ad['UniverProCollaborationClient'],_0x1236ad[_0x247212(0x145)],_0x1236ad[_0x247212(0x1e0)],_0x1236ad[_0x247212(0x355)],_0x1236ad[_0x247212(0x1d7)],_0x1236ad[_0x247212(0x20c)],_0x1236ad[_0x247212(0x265)],_0x1236ad[_0x247212(0x2e6)],_0x1236ad['UniverProCollaboration'],_0x1236ad[_0x247212(0x1a0)],_0x1236ad[_0x247212(0x323)],_0x1236ad[_0x247212(0x265)][_0x247212(0x281)],_0x1236ad[_0x247212(0x16f)],_0x1236ad[_0x247212(0x285)],_0x1236ad[_0x247212(0x2a9)],_0x1236ad[_0x247212(0x28d)],_0x1236ad['UniverRpc']));}(this,function(_0x575827,_0x340b74,_0x41ed90,_0xbfdec3,_0x3ea834,_0x414ffd,_0x3b1fe8,_0x4784ed,_0x4add3d,_0x263378,_0x126390,_0x7d326c,_0x278228,_0x4012d1,_0x255a92,_0x1d78d7,_0x42e905,_0xdfda1){'use strict';const _0x198416=_0x404a;var _0x4be385=Object[_0x198416(0x26c)],_0x43ced1=(_0x55b2eb,_0x143983,_0x3ec5b2)=>_0x143983 in _0x55b2eb?_0x4be385(_0x55b2eb,_0x143983,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ec5b2}):_0x55b2eb[_0x143983]=_0x3ec5b2,_0x2983ed=(_0x51a46b,_0x5a94e6,_0x5a0a39)=>_0x43ced1(_0x51a46b,typeof _0x5a94e6!=_0x198416(0x175)?_0x5a94e6+'':_0x5a94e6,_0x5a0a39),_0x33bd3b=Object[_0x198416(0x26c)],_0x372391=Object[_0x198416(0x27d)],_0x21e0ec=(_0x5784b1,_0x39e548,_0x26667e,_0x3327d6)=>{const _0x312b32=_0x198416;for(var _0xa2d53c=_0x3327d6>0x1?void 0x0:_0x3327d6?_0x372391(_0x39e548,_0x26667e):_0x39e548,_0x34f377=_0x5784b1[_0x312b32(0x2d9)]-0x1,_0x28a10c;_0x34f377>=0x0;_0x34f377--)(_0x28a10c=_0x5784b1[_0x34f377])&&(_0xa2d53c=(_0x3327d6?_0x28a10c(_0x39e548,_0x26667e,_0xa2d53c):_0x28a10c(_0xa2d53c))||_0xa2d53c);return _0x3327d6&&_0xa2d53c&&_0x33bd3b(_0x39e548,_0x26667e,_0xa2d53c),_0xa2d53c;},_0x312c33=(_0x762f10,_0x5bbf15)=>(_0x22e96a,_0x458966)=>_0x5bbf15(_0x22e96a,_0x458966,_0x762f10);let _0x1a3b85=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x503183,_0x273216){const _0xab30ee=_0x198416;super(),this['_docClipboardService']=_0x503183,this[_0xab30ee(0x373)]=_0x273216,this[_0xab30ee(0x37c)]();}[_0x198416(0x37c)](){const _0x36f068=_0x198416,_0x29a39d=this;this[_0x36f068(0x10f)](this[_0x36f068(0x10b)][_0x36f068(0x293)]({'onBeforePasteImage':async _0xac2f33=>{const _0x56ac7e=_0x36f068,_0x3a953f=await _0x29a39d[_0x56ac7e(0x373)][_0x56ac7e(0x2e5)](_0xac2f33);return _0x3a953f?{'source':_0x3a953f[_0x56ac7e(0x31c)],'imageSourceType':_0x3a953f[_0x56ac7e(0x354)]}:null;}}));}};_0x1a3b85=_0x21e0ec([_0x312c33(0x0,_0x414ffd[_0x198416(0x2da)]),_0x312c33(0x1,_0x3b1fe8[_0x198416(0x2fb)])],_0x1a3b85);const _0x29dda7=[_0x198416(0x345),_0x198416(0x27c),'verdancy600',_0x198416(0x34f),'blue400',_0x198416(0x36c)];class _0x40e529 extends _0x41ed90[_0x198416(0x313)]{constructor(){const _0xc3699=_0x198416;super(...arguments),_0x2983ed(this,_0xc3699(0x203),new Map()),_0x2983ed(this,'_colorIndex',0x0);}[_0x198416(0x18a)](_0x42a10a){const _0x24ef26=_0x198416;if(this[_0x24ef26(0x203)][_0x24ef26(0x27e)](_0x42a10a))return this[_0x24ef26(0x203)][_0x24ef26(0x165)](_0x42a10a);const _0x22e176=_0x29dda7[this[_0x24ef26(0x344)]];return this[_0x24ef26(0x344)]=(this[_0x24ef26(0x344)]+0x1)%_0x29dda7[_0x24ef26(0x2d9)],this['_assignedColors'][_0x24ef26(0x297)](_0x42a10a,_0x22e176),_0x22e176;}}function _0x59f732(_0x4497f7){let _0x2d5e6d='';for(const _0x418eac of _0x4497f7){const {startOffset:_0x247426,endOffset:_0x3ed4eb,isActive:_0x799bb2,rangeType:_0x3defc0,segmentId:_0x39552f,segmentPage:_0x80fc41}=_0x418eac;_0x2d5e6d['length']&&(_0x2d5e6d+=','),_0x2d5e6d+=_0x247426+':'+_0x3ed4eb+':'+(_0x799bb2?'1':'0')+':'+_0x3defc0+':'+_0x39552f+':'+_0x80fc41;}return _0x2d5e6d;}function _0x2b5905(_0x477186){const _0x4689d1=_0x198416,_0x5688f3=_0x477186[_0x4689d1(0x379)](','),_0x5d01f6=[];for(const _0xc1fa54 of _0x5688f3){const [_0x379fe0,_0x267d87,_0x21397b,_0x5aedd1,_0x34f54e,_0x5b21c4]=_0xc1fa54[_0x4689d1(0x379)](':');_0x5d01f6[_0x4689d1(0x26a)]({'startOffset':Number(_0x379fe0),'endOffset':Number(_0x267d87),'collapsed':_0x379fe0===_0x267d87,'isActive':_0x21397b==='1','rangeType':_0x5aedd1===_0x41ed90[_0x4689d1(0x142)][_0x4689d1(0x117)]?_0x41ed90[_0x4689d1(0x142)]['TEXT']:_0x41ed90[_0x4689d1(0x142)][_0x4689d1(0x378)],'segmentId':typeof _0x34f54e==_0x4689d1(0x225)?String(_0x34f54e):'','segmentPage':Number(_0x5b21c4!=null?_0x5b21c4:-0x1)});}return _0x5d01f6['some'](_0x42ec12=>_0x42ec12['isActive'])||(_0x5d01f6[0x0]['isActive']=!0x0),_0x5d01f6;}class _0x15e938 extends _0x41ed90[_0x198416(0x12e)]{constructor(){const _0xd60765=_0x198416;super(...arguments),_0x2983ed(this,_0xd60765(0x256),new _0x4784ed[(_0xd60765(0x21b))](null)),_0x2983ed(this,_0xd60765(0x259),this[_0xd60765(0x256)][_0xd60765(0x1f1)]());}[_0x198416(0x2f7)](_0x344f4b){const _0x2f2c97=_0x198416,{unitID:_0x30507e,memberID:_0x568ca9,textRanges:_0x1051cd}=_0x344f4b,_0x45bbd2=_0x59f732(_0x1051cd);if(_0x45bbd2==='')return;const _0x2c4e98={'unitID':_0x30507e,'memberID':_0x568ca9,'selection':_0x45bbd2};this[_0x2f2c97(0x256)][_0x2f2c97(0x1b1)](_0x2c4e98);}}var _0x42b9a6=Object[_0x198416(0x26c)],_0x3abdf1=Object[_0x198416(0x27d)],_0x28fe81=(_0x5f4dda,_0x25f4f4,_0x4a733f,_0x443b09)=>{for(var _0x39096f=_0x443b09>0x1?void 0x0:_0x443b09?_0x3abdf1(_0x25f4f4,_0x4a733f):_0x25f4f4,_0x191fe5=_0x5f4dda['length']-0x1,_0x5d28df;_0x191fe5>=0x0;_0x191fe5--)(_0x5d28df=_0x5f4dda[_0x191fe5])&&(_0x39096f=(_0x443b09?_0x5d28df(_0x25f4f4,_0x4a733f,_0x39096f):_0x5d28df(_0x39096f))||_0x39096f);return _0x443b09&&_0x39096f&&_0x42b9a6(_0x25f4f4,_0x4a733f,_0x39096f),_0x39096f;},_0x69ffd0=(_0xf28b09,_0x3d2ce6)=>(_0x36602d,_0xa615e0)=>_0x3d2ce6(_0x36602d,_0xa615e0,_0xf28b09);const _0x49240a=0x12c,_0x19053c=0x64;let _0x27e4fa=class extends _0x41ed90['RxDisposable']{constructor(_0x51c8c2,_0x588724,_0x532d73,_0x118183,_0x38b796,_0x4fe0c0,_0x5919cb,_0x45c336,_0x35cb33){const _0x56425f=_0x198416;super(),_0x2983ed(this,_0x56425f(0x370),!0x1),_0x2983ed(this,_0x56425f(0x37c),!0x1),_0x2983ed(this,'_cursorInfo$',new _0x4784ed[(_0x56425f(0x21b))](new Map())),_0x2983ed(this,_0x56425f(0x235),this[_0x56425f(0x182)][_0x56425f(0x1f1)]()),_0x2983ed(this,'_roomMembers$',new _0x4784ed[(_0x56425f(0x21b))]([])),_0x2983ed(this,_0x56425f(0x164),this[_0x56425f(0x2e2)][_0x56425f(0x213)](_0x4784ed[_0x56425f(0x13d)](_0x49240a))),_0x2983ed(this,'_updateLocalCursor',_0x41ed90['debounce'](_0x280a97=>{const _0x50df95=_0x56425f,_0x55300a={'eventID':_0x263378[_0x50df95(0x2aa)][_0x50df95(0x322)],'data':{'unitID':this[_0x50df95(0x1bb)],'memberID':this[_0x50df95(0x321)][_0x50df95(0x1ef)](),'selection':_0x59f732(_0x280a97)}};this['_session'][_0x50df95(0x2c6)](_0x55300a,this[_0x50df95(0x1bb)]);},_0x19053c)),(this[_0x56425f(0x1bb)]=_0x51c8c2,this['_session']=_0x588724,this[_0x56425f(0x1b6)]=_0x532d73,this[_0x56425f(0x262)]=_0x118183,this[_0x56425f(0x314)]=_0x38b796,this[_0x56425f(0x1e2)]=_0x4fe0c0,this['_transformService']=_0x5919cb,this[_0x56425f(0x206)]=_0x45c336,this[_0x56425f(0x10e)]=_0x35cb33);}get[_0x198416(0x271)](){const _0x15e5d9=_0x198416;return this['_cursorInfo$'][_0x15e5d9(0x292)]();}get[_0x198416(0x28b)](){return this['_roomMembers$']['getValue']();}[_0x198416(0x211)](){const _0x20af5d=_0x198416;super[_0x20af5d(0x211)](),this[_0x20af5d(0x182)][_0x20af5d(0x1b1)](new Map()),this[_0x20af5d(0x182)][_0x20af5d(0x35a)](),this[_0x20af5d(0x2e2)][_0x20af5d(0x1b1)]([]),this[_0x20af5d(0x2e2)][_0x20af5d(0x35a)]();}['init'](){const _0x1d1e45=_0x198416;this[_0x1d1e45(0x37c)]||(this[_0x1d1e45(0x37c)]=!0x0,this[_0x1d1e45(0x321)][_0x1d1e45(0x360)][_0x1d1e45(0x213)](_0x4784ed[_0x1d1e45(0x221)](this[_0x1d1e45(0x1b8)]))['subscribe'](_0x36d42b=>{const _0x184043=_0x1d1e45;_0x36d42b===_0x340b74[_0x184043(0x1e9)][_0x184043(0x1f6)]?this['_toggleOnline']():this[_0x184043(0x137)]();}),this[_0x1d1e45(0x321)][_0x1d1e45(0x291)][_0x1d1e45(0x213)](_0x4784ed[_0x1d1e45(0x221)](this[_0x1d1e45(0x1b8)]))[_0x1d1e45(0x352)](_0x49b31a=>{const _0x2e3538=_0x1d1e45,_0x3376cc=_0x49b31a[_0x2e3538(0x336)];_0x3376cc===_0x263378[_0x2e3538(0x2aa)][_0x2e3538(0x322)]&&this[_0x2e3538(0x217)](_0x49b31a),_0x3376cc===_0x263378[_0x2e3538(0x2aa)][_0x2e3538(0x1c4)]&&this['_onCursorDelete'](_0x49b31a);}),this[_0x1d1e45(0x10f)](this[_0x1d1e45(0x10e)][_0x1d1e45(0x176)](_0x5d0bbc=>{const _0x56d274=_0x1d1e45,_0x57b9e8=_0x5d0bbc[_0x56d274(0x205)];_0x57b9e8!=null&&this[_0x56d274(0x370)]&&_0x5d0bbc['id']===_0x4add3d[_0x56d274(0x2d2)]['id']&&_0x57b9e8[_0x56d274(0x38a)]===this[_0x56d274(0x1bb)]&&_0x57b9e8[_0x56d274(0x1a4)]===!0x1&&_0x57b9e8[_0x56d274(0x2cc)]['length']>0x0&&this[_0x56d274(0x2e4)](_0x57b9e8[_0x56d274(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x1d1e45(0x259)]['pipe'](_0x4784ed['takeUntil'](this[_0x1d1e45(0x1b8)]))['subscribe'](_0x4b015d=>{const _0x152a4e=_0x1d1e45;if((_0x4b015d==null?void 0x0:_0x4b015d[_0x152a4e(0x1bb)])!==this['unitID'])return;const _0x18ab6d={'eventID':_0x263378[_0x152a4e(0x2aa)][_0x152a4e(0x322)],'data':_0x4b015d};this[_0x152a4e(0x217)](_0x18ab6d);}),this[_0x1d1e45(0x10f)](this[_0x1d1e45(0x10e)]['onCommandExecuted'](_0x596bb9=>{const _0x40e921=_0x1d1e45;if(_0x596bb9[_0x40e921(0x205)]==null)return;const _0x4f38dc=_0x596bb9[_0x40e921(0x205)];if(_0x596bb9['id']!==_0x4add3d[_0x40e921(0x103)]['id']||_0x4f38dc[_0x40e921(0x38a)]!==this[_0x40e921(0x1bb)])return;const _0x1b1183={'id':'doc.mutation.rich-text-editing','params':_0x4f38dc},_0x215236=this[_0x40e921(0x271)];for(const [_0x300f71,_0x45e9cc]of _0x215236){const _0x43a5ff={'id':_0x40e921(0x387),'params':{'unitId':this[_0x40e921(0x1bb)],'actions':null,'textRanges':_0x45e9cc[_0x40e921(0x2cc)]}},_0x4de010=this[_0x40e921(0x18c)][_0x40e921(0x326)](_0x1b1183,_0x43a5ff,!0x1);if(_0x263378[_0x40e921(0x148)](_0x4de010))throw _0x4de010[_0x40e921(0x12a)];_0x215236[_0x40e921(0x297)](_0x300f71,{..._0x45e9cc,'ranges':_0x4de010[_0x40e921(0x282)][_0x40e921(0x205)][_0x40e921(0x312)]});}queueMicrotask(()=>{const _0x123ef8=_0x40e921;this['_cursorInfo$'][_0x123ef8(0x1b1)](_0x215236);});})));}[_0x198416(0x217)](_0x902917){const _0x5e99a5=_0x198416;var _0x4ebe5c,_0x789e64;const {memberID:_0x4e2a22,selection:_0x5b1c12}=_0x902917['data'],_0x189178=_0x2b5905(_0x5b1c12),_0x24a7f9=(_0x789e64=(_0x4ebe5c=this[_0x5e99a5(0x314)][_0x5e99a5(0x280)](this['unitID'],_0x4e2a22))==null?void 0x0:_0x4ebe5c[_0x5e99a5(0x2db)])!=null?_0x789e64:'Unknown\x20user',_0x471b42={'color':this[_0x5e99a5(0x262)][_0x5e99a5(0x18a)](_0x4e2a22),'name':_0x24a7f9,'ranges':_0x189178},_0x156f83=this['cursorInfo'];_0x156f83[_0x5e99a5(0x297)](_0x4e2a22,_0x471b42),this[_0x5e99a5(0x182)][_0x5e99a5(0x1b1)](_0x156f83);}['_onCursorDelete'](_0x22161d){const _0x481d7d=_0x198416,{memberID:_0x35775b}=_0x22161d[_0x481d7d(0x284)],_0x1c07f8=this[_0x481d7d(0x271)];_0x1c07f8['delete'](_0x35775b),this[_0x481d7d(0x182)]['next'](_0x1c07f8);}['_toggleOnline'](){const _0x19f180=_0x198416;var _0x59afa5;if(this[_0x19f180(0x370)]=!0x0,((_0x59afa5=this[_0x19f180(0x206)][_0x19f180(0x25f)]())==null?void 0x0:_0x59afa5['getUnitId']())!==this[_0x19f180(0x1bb)])return;const _0x459f9a=this[_0x19f180(0x1b6)]['get'](_0x4add3d[_0x19f180(0x362)])[_0x19f180(0x159)]();Array[_0x19f180(0x27a)](_0x459f9a)&&_0x459f9a['length']>0x0&&this[_0x19f180(0x2e4)](_0x459f9a);}[_0x198416(0x137)](){const _0x2b2cf4=_0x198416;this[_0x2b2cf4(0x370)]=!0x1;}};_0x27e4fa=_0x28fe81([_0x69ffd0(0x2,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x69ffd0(0x3,_0x41ed90[_0x198416(0x300)](_0x40e529)),_0x69ffd0(0x4,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x2f1)])),_0x69ffd0(0x5,_0x41ed90['Inject'](_0x15e938)),_0x69ffd0(0x6,_0x263378[_0x198416(0x22d)]),_0x69ffd0(0x7,_0x41ed90['IUniverInstanceService']),_0x69ffd0(0x8,_0x41ed90['ICommandService'])],_0x27e4fa);var _0x1d0398=Object[_0x198416(0x26c)],_0x49dfbd=Object[_0x198416(0x27d)],_0x5725f6=(_0x1ccd5b,_0x817875,_0x4bb8d2,_0x443706)=>{const _0x5587d9=_0x198416;for(var _0x66c470=_0x443706>0x1?void 0x0:_0x443706?_0x49dfbd(_0x817875,_0x4bb8d2):_0x817875,_0xb08fcc=_0x1ccd5b[_0x5587d9(0x2d9)]-0x1,_0x25eb25;_0xb08fcc>=0x0;_0xb08fcc--)(_0x25eb25=_0x1ccd5b[_0xb08fcc])&&(_0x66c470=(_0x443706?_0x25eb25(_0x817875,_0x4bb8d2,_0x66c470):_0x25eb25(_0x66c470))||_0x66c470);return _0x443706&&_0x66c470&&_0x1d0398(_0x817875,_0x4bb8d2,_0x66c470),_0x66c470;},_0x292f30=(_0x4d7129,_0x464c41)=>(_0x31dca9,_0x33ba44)=>_0x464c41(_0x31dca9,_0x33ba44,_0x4d7129);const _0x353885=0x12c,_0x27d178=0x64,_0x4c0c84=()=>{let _0x32f846=[],_0x3a40d2=!0x1;return _0xed636e=>{const _0x369923=_0x404a;_0x32f846[_0x369923(0x26a)](_0xed636e),_0x3a40d2||(_0x3a40d2=!0x0,setTimeout(()=>{const _0x12cb8b=_0x369923;_0x32f846[_0x12cb8b(0x21c)](_0x2670fa=>_0x2670fa()),_0x32f846=[],_0x3a40d2=!0x1;}));};};let _0x28eeaa=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x4d6fad,_0x39d040,_0x3dec4d,_0x545878,_0x71eff5,_0x588e2a,_0x21dd53,_0x5d41ed){const _0x3b5a07=_0x198416;super(),_0x2983ed(this,_0x3b5a07(0x370),!0x1),_0x2983ed(this,_0x3b5a07(0x37c),!0x1),_0x2983ed(this,_0x3b5a07(0x182),new _0x4784ed[(_0x3b5a07(0x21b))](new Map())),_0x2983ed(this,'cursorInfo$',this[_0x3b5a07(0x182)][_0x3b5a07(0x1f1)]()),_0x2983ed(this,_0x3b5a07(0x2e2),new _0x4784ed[(_0x3b5a07(0x21b))]([])),_0x2983ed(this,_0x3b5a07(0x164),this[_0x3b5a07(0x2e2)][_0x3b5a07(0x213)](_0x4784ed[_0x3b5a07(0x13d)](_0x353885))),_0x2983ed(this,'_updateLocalCursor',_0x41ed90[_0x3b5a07(0x2f2)]((_0x3332dd,_0x406b48)=>{const _0x382130=_0x3b5a07,_0x5272ab={'eventID':_0x263378[_0x382130(0x2aa)][_0x382130(0x322)],'data':{'unitID':this[_0x382130(0x1bb)],'memberID':this['_session'][_0x382130(0x1ef)](),'selection':_0x126390[_0x382130(0x120)](_0x3332dd,_0x406b48[_0x382130(0x2f9)])}};this[_0x382130(0x321)][_0x382130(0x2c6)](_0x5272ab,this['unitID']);},_0x27d178)),(this[_0x3b5a07(0x1bb)]=_0x4d6fad,this[_0x3b5a07(0x321)]=_0x39d040,this[_0x3b5a07(0x1b6)]=_0x3dec4d,this[_0x3b5a07(0x262)]=_0x545878,this[_0x3b5a07(0x314)]=_0x71eff5,this['_univerInstanceService']=_0x588e2a,this['_commandService']=_0x21dd53,this[_0x3b5a07(0x1a1)]=_0x5d41ed);}get[_0x198416(0x271)](){const _0x54b009=_0x198416;return this['_cursorInfo$'][_0x54b009(0x292)]();}get[_0x198416(0x28b)](){const _0x3bbe33=_0x198416;return this['_roomMembers$'][_0x3bbe33(0x292)]();}[_0x198416(0x211)](){const _0x463a25=_0x198416;super['dispose'](),this[_0x463a25(0x182)][_0x463a25(0x1b1)](new Map()),this[_0x463a25(0x182)]['complete'](),this[_0x463a25(0x2e2)][_0x463a25(0x1b1)]([]),this[_0x463a25(0x2e2)][_0x463a25(0x35a)]();}[_0x198416(0x20e)](){const _0x1428f0=_0x198416;this[_0x1428f0(0x37c)]||(this['_init']=!0x0,this['_session'][_0x1428f0(0x360)][_0x1428f0(0x213)](_0x4784ed[_0x1428f0(0x221)](this[_0x1428f0(0x1b8)]))['subscribe'](_0xb75178=>{const _0x4dcc02=_0x1428f0;_0xb75178===_0x340b74[_0x4dcc02(0x1e9)][_0x4dcc02(0x1f6)]?this['_toggleOnline']():this[_0x4dcc02(0x137)]();}),this[_0x1428f0(0x321)]['event$']['pipe'](_0x4784ed[_0x1428f0(0x221)](this[_0x1428f0(0x1b8)]))['subscribe'](_0x29deb7=>{const _0x77c853=_0x1428f0,_0x18de08=_0x29deb7[_0x77c853(0x336)];_0x18de08===_0x263378[_0x77c853(0x2aa)][_0x77c853(0x322)]&&this['_onCursorUpdate'](_0x29deb7),_0x18de08===_0x263378['CollaborationEvent'][_0x77c853(0x1c4)]&&this['_onCursorDelete'](_0x29deb7);}),this['_onRefRangeChange'](),this[_0x1428f0(0x10f)](this['_commandService']['onCommandExecuted'](_0x40ad27=>{const _0x143b03=_0x1428f0;if(this['_online']&&_0x40ad27['id']===_0x7d326c[_0x143b03(0x1e1)]['id']&&_0x40ad27[_0x143b03(0x205)]['unitId']===this['unitID']){const _0x22711e=_0x40ad27[_0x143b03(0x205)];this[_0x143b03(0x2e4)](_0x22711e[_0x143b03(0x2cd)],_0x22711e[_0x143b03(0x173)][0x0]);}})));}[_0x198416(0x217)](_0x3cf8ce){const _0x1c7b4e=_0x198416;var _0x2347ea,_0x3f0f7f;const {memberID:_0x4b108f,selection:_0x1fe0f9}=_0x3cf8ce[_0x1c7b4e(0x284)],{sheetName:_0x818617,range:_0x22f05d}=_0x126390[_0x1c7b4e(0x169)](_0x1fe0f9),_0x156efd={'name':(_0x3f0f7f=(_0x2347ea=this['_memberService'][_0x1c7b4e(0x280)](this['unitID'],_0x4b108f))==null?void 0x0:_0x2347ea[_0x1c7b4e(0x2db)])!=null?_0x3f0f7f:'Unknown\x20user','range':this[_0x1c7b4e(0x2e9)](_0x818617,_0x22f05d),'sheetID':_0x818617,'color':this[_0x1c7b4e(0x262)]['assignAColorForMemberID'](_0x4b108f),'selection':_0x1fe0f9},_0x55a8ba=this[_0x1c7b4e(0x271)];_0x55a8ba['set'](_0x4b108f,_0x156efd),this[_0x1c7b4e(0x182)][_0x1c7b4e(0x1b1)](_0x55a8ba);}[_0x198416(0x384)](_0x3f5637){const _0x41784b=_0x198416,{memberID:_0x5e3a29}=_0x3f5637[_0x41784b(0x284)],_0x3972c3=this['cursorInfo'];_0x3972c3['delete'](_0x5e3a29),this[_0x41784b(0x182)][_0x41784b(0x1b1)](_0x3972c3);}['_getMergeRange'](_0x11d0ed,_0x1223ce){const _0x4ac64a=_0x198416;var _0x3b66ae,_0x5c709c;const _0x49e4c6=(_0x5c709c=(_0x3b66ae=this[_0x4ac64a(0x206)][_0x4ac64a(0x112)](this[_0x4ac64a(0x1bb)]))==null?void 0x0:_0x3b66ae[_0x4ac64a(0x171)](_0x11d0ed))==null?void 0x0:_0x5c709c[_0x4ac64a(0x18b)]();return(_0x49e4c6==null?void 0x0:_0x49e4c6[_0x4ac64a(0x14b)](_0x28f52e=>_0x41ed90[_0x4ac64a(0x1ac)][_0x4ac64a(0x11d)](_0x28f52e,_0x1223ce)))||_0x1223ce;}[_0x198416(0x32c)](){const _0x5a8b2b=_0x198416,_0x17553c=new _0x41ed90[(_0x5a8b2b(0x274))](),_0x588932=_0x4c0c84(),_0x1d1bc7=()=>{const _0x1885d3=_0x5a8b2b;_0x17553c[_0x1885d3(0x211)]();const _0x38f929=(_0x1ee4a9,_0xdc6332,_0x49adc8,_0x545a1f)=>{const _0x4816d6=_0x1885d3;let _0x50496c=[];switch(_0x1ee4a9['id']){case _0x7d326c['EffectRefRangId'][_0x4816d6(0x152)]:{_0x50496c=_0x7d326c[_0x4816d6(0x299)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x50496c=_0x7d326c[_0x4816d6(0x357)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x16d)]:{_0x50496c=_0x7d326c[_0x4816d6(0x212)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x101)]:{_0x50496c=_0x7d326c[_0x4816d6(0x311)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x1cf)]:{_0x50496c=_0x7d326c[_0x4816d6(0x2f0)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x141)]:{_0x50496c=_0x7d326c[_0x4816d6(0x353)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x2f8)]:{_0x50496c=_0x7d326c[_0x4816d6(0x2bb)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x364)]:{_0x50496c=_0x7d326c['handleIRemoveCol'](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x343)]:{_0x50496c=_0x7d326c[_0x4816d6(0x1c2)](_0x1ee4a9,_0x545a1f);break;}}const _0x115dc8=_0x7d326c[_0x4816d6(0x168)](_0x50496c,_0x545a1f),_0x412ced=this[_0x4816d6(0x271)][_0x4816d6(0x165)](_0xdc6332);if(_0x412ced&&_0x115dc8){const _0x2584f2={..._0x412ced,'range':_0x115dc8};this[_0x4816d6(0x271)]['set'](_0xdc6332,_0x2584f2),_0x588932(()=>{const _0x369964=_0x4816d6,_0x7aa138=this[_0x369964(0x1a1)][_0x369964(0x327)](_0x115dc8,_0x3a9103=>(_0x7aa138['dispose'](),_0x38f929(_0x3a9103,_0xdc6332,_0x49adc8,_0x115dc8)));_0x17553c[_0x369964(0x37a)](_0x7aa138);});}return{'redos':[],'undos':[]};};this[_0x1885d3(0x271)][_0x1885d3(0x21c)]((_0x553119,_0x17c106)=>{const _0x5cd2a2=_0x1885d3,{range:_0x489339,sheetID:_0x174b60}=_0x553119,_0x533917=this[_0x5cd2a2(0x1a1)][_0x5cd2a2(0x327)](_0x489339,_0x5472b8=>(_0x533917['dispose'](),_0x38f929(_0x5472b8,_0x17c106,_0x174b60,_0x489339)));_0x17553c[_0x5cd2a2(0x37a)](_0x533917);});};this[_0x5a8b2b(0x10f)](_0x41ed90[_0x5a8b2b(0x33b)](this['_cursorInfo$'][_0x5a8b2b(0x352)](()=>{_0x1d1bc7();})));}[_0x198416(0x119)](){const _0x3e59ce=_0x198416;var _0x584356,_0x3a1bfd;if(this[_0x3e59ce(0x370)]=!0x0,((_0x584356=this[_0x3e59ce(0x206)][_0x3e59ce(0x25f)]())==null?void 0x0:_0x584356['getUnitId']())!==this[_0x3e59ce(0x1bb)])return;const _0x5da29e=(_0x3a1bfd=this['_injector'][_0x3e59ce(0x165)](_0x7d326c['SheetsSelectionsService'])[_0x3e59ce(0x31b)]())==null?void 0x0:_0x3a1bfd[0x0],_0x526a94=this[_0x3e59ce(0x206)][_0x3e59ce(0x220)](_0x41ed90[_0x3e59ce(0x277)]['UNIVER_SHEET'])[_0x3e59ce(0x278)]();_0x5da29e&&_0x526a94&&this[_0x3e59ce(0x2e4)](_0x526a94[_0x3e59ce(0x11a)](),_0x5da29e);}[_0x198416(0x137)](){const _0x26ebc5=_0x198416;this[_0x26ebc5(0x370)]=!0x1;}};_0x28eeaa=_0x5725f6([_0x292f30(0x2,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x292f30(0x3,_0x41ed90[_0x198416(0x300)](_0x40e529)),_0x292f30(0x4,_0x41ed90[_0x198416(0x300)](_0x340b74['MemberService'])),_0x292f30(0x5,_0x41ed90[_0x198416(0x29c)]),_0x292f30(0x6,_0x41ed90[_0x198416(0x1dd)]),_0x292f30(0x7,_0x41ed90[_0x198416(0x300)](_0x7d326c[_0x198416(0x1f3)]))],_0x28eeaa);var _0x3513e0=Object[_0x198416(0x26c)],_0x2c1d1c=Object[_0x198416(0x27d)],_0x39c446=(_0x505752,_0x59b8bb,_0x35e6fc,_0x5c0831)=>{for(var _0x296cb8=_0x5c0831>0x1?void 0x0:_0x5c0831?_0x2c1d1c(_0x59b8bb,_0x35e6fc):_0x59b8bb,_0x1e8e2f=_0x505752['length']-0x1,_0x3c2db6;_0x1e8e2f>=0x0;_0x1e8e2f--)(_0x3c2db6=_0x505752[_0x1e8e2f])&&(_0x296cb8=(_0x5c0831?_0x3c2db6(_0x59b8bb,_0x35e6fc,_0x296cb8):_0x3c2db6(_0x296cb8))||_0x296cb8);return _0x5c0831&&_0x296cb8&&_0x3513e0(_0x59b8bb,_0x35e6fc,_0x296cb8),_0x296cb8;},_0x2a47ba=(_0xb1d4af,_0x546eac)=>(_0x3ec34e,_0x1f2eaf)=>_0x546eac(_0x3ec34e,_0x1f2eaf,_0xb1d4af);let _0x386fb1=class extends _0x41ed90['RxDisposable']{constructor(_0x315502,_0x1cab5b,_0x3b4734){const _0x348acf=_0x198416;super(),_0x2983ed(this,_0x348acf(0x13a),new Map()),_0x2983ed(this,_0x348acf(0x348),new _0x4784ed[(_0x348acf(0x351))]()),(this['_univerInstanceService']=_0x315502,this[_0x348acf(0x1b6)]=_0x1cab5b,this[_0x348acf(0x288)]=_0x3b4734,this[_0x348acf(0x37c)]());}[_0x198416(0x211)](){const _0x8de137=_0x198416;super['dispose'](),this[_0x8de137(0x348)]['complete'](),this['_entities']['forEach'](_0x1c28b0=>_0x1c28b0[_0x8de137(0x211)]());}[_0x198416(0x219)](_0x2d2a12){const _0x5efc4e=_0x198416;return this[_0x5efc4e(0x13a)][_0x5efc4e(0x27e)](_0x2d2a12)?this['_entities'][_0x5efc4e(0x165)](_0x2d2a12)['cursorInfo$']:this[_0x5efc4e(0x348)][_0x5efc4e(0x213)](_0x4784ed[_0x5efc4e(0x11f)](_0x35e931=>_0x35e931['unitID']===_0x2d2a12),_0x4784ed[_0x5efc4e(0x263)](_0x204a6c=>_0x204a6c['cursorInfo$']));}['_init'](){const _0x1e9038=_0x198416;this[_0x1e9038(0x206)][_0x1e9038(0x2e7)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x2c4)])[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))[_0x1e9038(0x352)](async _0x5c4b31=>{const _0x2e4c5c=_0x1e9038,_0x32b959=_0x5c4b31[_0x2e4c5c(0x374)](),_0x3de128=await this[_0x2e4c5c(0x23d)](_0x32b959);this['_entityInit$'][_0x2e4c5c(0x1b1)](_0x3de128),this['_entities']['set'](_0x32b959,_0x3de128);}),this[_0x1e9038(0x206)][_0x1e9038(0x2e7)](_0x41ed90[_0x1e9038(0x277)]['UNIVER_DOC'])[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))['pipe'](_0x4784ed[_0x1e9038(0x11f)](_0x328583=>!_0x328583[_0x1e9038(0x374)]()['startsWith']('__')))[_0x1e9038(0x352)](async _0x27abe0=>{const _0x3087f4=_0x1e9038,_0x7d60b4=_0x27abe0[_0x3087f4(0x374)](),_0x2fb302=await this[_0x3087f4(0x14a)](_0x7d60b4);this[_0x3087f4(0x348)][_0x3087f4(0x1b1)](_0x2fb302),this[_0x3087f4(0x13a)]['set'](_0x7d60b4,_0x2fb302);}),_0x4784ed[_0x1e9038(0x337)](this[_0x1e9038(0x206)][_0x1e9038(0x134)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x1ea)]),this[_0x1e9038(0x206)][_0x1e9038(0x134)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x2c4)]))[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))[_0x1e9038(0x352)](_0x3c7ea5=>{const _0x4dc037=_0x1e9038,_0xd2d4da=_0x3c7ea5[_0x4dc037(0x374)](),_0x255718=this[_0x4dc037(0x13a)]['get'](_0xd2d4da);_0x255718&&(_0x255718[_0x4dc037(0x211)](),this[_0x4dc037(0x13a)][_0x4dc037(0x1a9)](_0xd2d4da));});}async[_0x198416(0x23d)](_0x1f8ecc){const _0x48773e=_0x198416,_0x2d6aee=await this[_0x48773e(0x288)]['requireSession'](_0x1f8ecc),_0x2cf7ce=this[_0x48773e(0x1b6)]['createInstance'](_0x28eeaa,_0x1f8ecc,_0x2d6aee);return _0x2cf7ce[_0x48773e(0x20e)](),_0x2cf7ce;}async[_0x198416(0x14a)](_0x29462b){const _0xdd4a90=_0x198416,_0x5643ef=await this[_0xdd4a90(0x288)][_0xdd4a90(0x160)](_0x29462b),_0x196520=this['_injector']['createInstance'](_0x27e4fa,_0x29462b,_0x5643ef);return _0x196520['init'](),_0x196520;}};_0x386fb1=_0x39c446([_0x2a47ba(0x0,_0x41ed90[_0x198416(0x29c)]),_0x2a47ba(0x1,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x2a47ba(0x2,_0x41ed90[_0x198416(0x300)](_0x340b74['CollaborationSessionService']))],_0x386fb1);const _0x203676=0x14,_0x56501b=0xc8,_0x31395f=0x4,_0x421f8f=0x5;function _0x1f9ca5(_0x35f8ec,_0x24fa95){const _0x22b900=_0x198416;let {radius:_0xbf3d4f,width:_0x43d4f3,height:_0x4c2833}=_0x24fa95;_0xbf3d4f=_0xbf3d4f!=null?_0xbf3d4f:0x0,_0x43d4f3=_0x43d4f3!=null?_0x43d4f3:0x1e,_0x4c2833=_0x4c2833!=null?_0x4c2833:0x1e;let _0x402516=0x0,_0x60c931=0x0,_0xa7ec6f=0x0;_0x402516=_0x60c931=_0xa7ec6f=Math[_0x22b900(0x105)](_0xbf3d4f,_0x43d4f3/0x2,_0x4c2833/0x2),_0x35f8ec['beginPath'](),_0x35f8ec[_0x22b900(0x183)](_0x402516,0x0),_0x35f8ec[_0x22b900(0x25d)](_0x43d4f3-_0x60c931,0x0),_0x35f8ec[_0x22b900(0x27f)](_0x43d4f3-_0x60c931,_0x60c931,_0x60c931,Math['PI']*0x3/0x2,0x0,!0x1),_0x35f8ec[_0x22b900(0x25d)](_0x43d4f3,_0x4c2833-_0xa7ec6f),_0x35f8ec[_0x22b900(0x27f)](_0x43d4f3-_0xa7ec6f,_0x4c2833-_0xa7ec6f,_0xa7ec6f,0x0,Math['PI']/0x2,!0x1),_0x35f8ec[_0x22b900(0x25d)](0x0,_0x4c2833),_0x35f8ec[_0x22b900(0x25d)](0x0,_0x402516),_0x35f8ec[_0x22b900(0x27f)](_0x402516,_0x402516,_0x402516,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35f8ec[_0x22b900(0x1c5)](),_0x24fa95[_0x22b900(0x215)]&&(_0x35f8ec['save'](),_0x35f8ec[_0x22b900(0x1be)]=_0x24fa95[_0x22b900(0x215)],_0x24fa95[_0x22b900(0x224)]===_0x22b900(0x2b7)?_0x35f8ec[_0x22b900(0x215)](_0x22b900(0x2b7)):_0x35f8ec['fill'](),_0x35f8ec[_0x22b900(0x1f4)]());}class _0xb6cd8a extends _0xbfdec3[_0x198416(0x1e4)]{constructor(_0x4eaccb,_0x4c0df8){const _0x42592b=_0x198416;super(_0x4eaccb,_0x4c0df8),_0x2983ed(this,_0x42592b(0x208)),_0x2983ed(this,_0x42592b(0x189)),(this[_0x42592b(0x208)]=_0x4c0df8==null?void 0x0:_0x4c0df8[_0x42592b(0x208)],this[_0x42592b(0x189)]=_0x4c0df8==null?void 0x0:_0x4c0df8[_0x42592b(0x189)]);}static[_0x198416(0x2c9)](_0x4f3eba,_0x502901){const _0x26ece2=_0x198416,{text:_0x2d9993,color:_0x4d2ea9}=_0x502901;_0x4f3eba['save'](),_0x4f3eba[_0x26ece2(0x177)]=_0x26ece2(0x20b);const _0x51246c=_0x4f3eba[_0x26ece2(0x192)](_0x2d9993)[_0x26ece2(0x13e)],_0x5051fd=Math[_0x26ece2(0x105)](_0x51246c+0x2*_0x31395f,_0x56501b);_0x1f9ca5(_0x4f3eba,{'height':_0x203676,'radius':0x4,'width':_0x5051fd,'fill':_0x4d2ea9,'evented':!0x1}),_0x4f3eba[_0x26ece2(0x1be)]=_0x26ece2(0x13f);const _0x5aa4e2=_0x31395f,_0x5bee41=_0x203676-_0x421f8f,_0x30ed9e=_0x56501b-0x2*_0x31395f;if(_0x51246c>_0x30ed9e){let _0x6943dd='',_0x32d3f1=0x0;for(const _0x3d691b of _0x2d9993){const _0x3557d=_0x4f3eba[_0x26ece2(0x192)](_0x3d691b)['width'];if(_0x32d3f1+_0x3557d<=_0x30ed9e-_0x4f3eba[_0x26ece2(0x192)](_0x26ece2(0x2ec))['width'])_0x6943dd+=_0x3d691b,_0x32d3f1+=_0x3557d;else{_0x6943dd+=_0x26ece2(0x2ec);break;}}_0x4f3eba[_0x26ece2(0x187)](_0x6943dd,_0x5aa4e2,_0x5bee41);}else _0x4f3eba['fillText'](_0x2d9993,_0x5aa4e2,_0x5bee41);_0x4f3eba['restore']();}[_0x198416(0x115)](_0x5c7abd){const _0x314870=_0x198416;_0xb6cd8a[_0x314870(0x2c9)](_0x5c7abd,this);}}const _0x50c761=_0x198416(0x1a7),_0x48a81b=_0x198416(0x107),_0x239ba5=_0x198416(0x1b4),_0x5176ca=0x6,_0x4c97ce=1.5,_0x58d9f8=0x4,_0x535a1d=1.5,_0x353251=_0x198416(0x106);class _0x10e2a2{constructor(_0x2ed535,_0x451ad1,_0x576a30,_0x13c0ea){const _0x5ad88f=_0x198416;_0x2983ed(this,_0x5ad88f(0x255),[]),_0x2983ed(this,_0x5ad88f(0x25b),null),_0x2983ed(this,'_textBubble',null),_0x2983ed(this,'_anchorDot',null),_0x2983ed(this,'_hideTimer',null),_0x2983ed(this,_0x5ad88f(0x304),null),(this[_0x5ad88f(0x12d)]=_0x2ed535,this['_scene']=_0x451ad1,this[_0x5ad88f(0x325)]=_0x576a30,this[_0x5ad88f(0x324)]=_0x13c0ea,this[_0x5ad88f(0x15d)]());}set['_hover'](_0x441411){const _0x1c936d=_0x198416;_0x441411?(this[_0x1c936d(0x34b)]&&this[_0x1c936d(0x34b)][_0x1c936d(0x302)](),this['_textBubble']&&this[_0x1c936d(0x14f)][_0x1c936d(0x126)]()):(this[_0x1c936d(0x34b)]&&this[_0x1c936d(0x34b)][_0x1c936d(0x126)](),this['_textBubble']&&this['_textBubble'][_0x1c936d(0x302)]());}[_0x198416(0x211)](){const _0x7edda8=_0x198416;for(const _0x59080e of this['_shapes'])_0x59080e[_0x7edda8(0x211)]();this[_0x7edda8(0x14f)]&&this[_0x7edda8(0x14f)][_0x7edda8(0x211)](),this[_0x7edda8(0x34b)]&&this[_0x7edda8(0x34b)][_0x7edda8(0x211)](),this[_0x7edda8(0x25b)]&&this[_0x7edda8(0x25b)]['dispose'](),this[_0x7edda8(0x304)]&&this[_0x7edda8(0x304)]();}[_0x198416(0x15d)](){const _0x14981b=_0x198416;var _0x3d9cc8;const {_docSkeleton:_0x4ebd2f,_document:_0x158b55}=this,{color:_0xfe999e,name:_0x476cba,ranges:_0x39dfb3}=this['_cursor'],_0x2ead36=_0x158b55['getOffsetConfig'](),{docsLeft:_0x10e5a2,docsTop:_0x2af75d}=_0x2ead36,_0x3568c2=new _0x414ffd[(_0x14981b(0x29d))](_0x2ead36,_0x4ebd2f);for(const {startOffset:_0x5e3022,endOffset:_0x38035e,rangeType:_0x2e375d,segmentId:_0x258688,segmentPage:_0x2192be,collapsed:_0x40b352,isActive:_0x1c502b}of _0x39dfb3){const _0x1e6c85=_0x4ebd2f[_0x14981b(0x127)](_0x5e3022,!0x0,_0x258688,_0x2192be);let _0x48f6d9=_0x4ebd2f[_0x14981b(0x127)](_0x38035e,!0x0,_0x258688,_0x2192be);if(_0x48f6d9==null&&(_0x48f6d9=_0x4ebd2f['findNodePositionByCharIndex'](_0x38035e-0x1,!0x1,_0x258688,_0x2192be)),_0x1c502b){const {contentBoxPointGroup:_0x5e0454}=_0x3568c2[_0x14981b(0x240)](_0x48f6d9,_0x48f6d9);if(_0x5e0454[_0x14981b(0x2d9)]===0x0)continue;this['_drawAnchor'](_0xfe999e,_0x5e0454,_0x10e5a2,_0x2af75d,_0x476cba),this[_0x14981b(0x304)]=this[_0x14981b(0x385)]();}if(_0x1e6c85&&_0x48f6d9){if(_0x2e375d===_0x41ed90[_0x14981b(0x142)]['RECT']){const _0x319dad=new _0x414ffd[(_0x14981b(0x1c6))](_0x2ead36,_0x4ebd2f),{pointGroup:_0x298e7b}=(_0x3d9cc8=_0x319dad[_0x14981b(0x240)](_0x1e6c85,_0x48f6d9))!=null?_0x3d9cc8:{};if(_0x298e7b==null||_0x298e7b[_0x14981b(0x2d9)]===0x0)continue;this[_0x14981b(0x1dc)](_0xfe999e,_0x298e7b,_0x10e5a2,_0x2af75d);}else{if(!_0x40b352){const {borderBoxPointGroup:_0xd5f112}=_0x3568c2['getRangePointData'](_0x1e6c85,_0x48f6d9);if(_0xd5f112[_0x14981b(0x2d9)]===0x0)continue;this[_0x14981b(0x22a)](_0xfe999e,_0xd5f112,_0x10e5a2,_0x2af75d);}}}}}['_drawAnchor'](_0x402496,_0xaae514,_0x55d93d,_0x106647,_0x578424){const _0x1b7af4=_0x198416,_0x429c78=this[_0x1b7af4(0x249)](_0xaae514),{left:_0x1afaf6,top:_0x5dae31,height:_0x2c535d}=_0x429c78,_0x29ab3a=this[_0x1b7af4(0x153)](),_0x5c1c98=_0x535a1d/_0x29ab3a,_0x4635b3=new _0xbfdec3[(_0x1b7af4(0x1fa))](_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647,'height':_0x2c535d,'width':_0x4c97ce,'fill':_0x402496||_0xbfdec3['getColor'](_0x41ed90['COLORS']['black'],0x0),'strokeWidth':_0x5c1c98,'stroke':_0x353251,'evented':!0x0});this[_0x1b7af4(0x25b)]=_0x4635b3,this[_0x1b7af4(0x36a)][_0x1b7af4(0x1cd)](_0x4635b3,_0x414ffd[_0x1b7af4(0x21e)]);const _0x3cb602=new _0xbfdec3[(_0x1b7af4(0x1fa))](_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647-_0x58d9f8/0x2,'height':_0x58d9f8,'width':_0x58d9f8,'fill':_0x402496||_0xbfdec3[_0x1b7af4(0x309)](_0x41ed90[_0x1b7af4(0x157)][_0x1b7af4(0x2f6)],0x0),'strokeWidth':0x0,'stroke':_0x402496||_0xbfdec3['getColor'](_0x41ed90['COLORS']['black'],0x0),'evented':!0x1});this[_0x1b7af4(0x34b)]=_0x3cb602,this[_0x1b7af4(0x36a)][_0x1b7af4(0x1cd)](_0x3cb602,_0x414ffd[_0x1b7af4(0x21e)]);const _0x37b092=new _0xb6cd8a(_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647-_0x203676,'text':_0x578424,'color':_0x402496});this['_textBubble']=_0x37b092,this['_scene'][_0x1b7af4(0x1cd)](_0x37b092,_0x414ffd[_0x1b7af4(0x21e)]),this[_0x1b7af4(0x133)]=!0x1;}['_handleHover'](){const _0x5e6187=_0x198416,_0x2a22bd=this[_0x5e6187(0x25b)][_0x5e6187(0x218)][_0x5e6187(0x29f)](()=>{const _0x509c0e=_0x5e6187;this[_0x509c0e(0x133)]=!0x0;}),_0x2296dc=this[_0x5e6187(0x25b)][_0x5e6187(0x19b)][_0x5e6187(0x29f)](()=>{const _0x3ad81c=_0x5e6187;this[_0x3ad81c(0x17a)]&&clearTimeout(this['_hideTimer']),this[_0x3ad81c(0x17a)]=setTimeout(()=>{const _0x347c27=_0x3ad81c;this[_0x347c27(0x133)]=!0x1;},0x7d0);});return()=>{const _0x383329=_0x5e6187;_0x2a22bd['unsubscribe'](),_0x2296dc[_0x383329(0x110)]();};}[_0x198416(0x22a)](_0x5edd66,_0xa4f0e0,_0x15caa8,_0x5580dc){const _0xf6081b=_0x198416,_0x93140b=new _0x41ed90[(_0xf6081b(0x35e))](_0x5edd66)['setAlpha'](0.2)['toRgbString'](),_0x1a0de0=new _0xbfdec3[(_0xf6081b(0x365))](_0x48a81b+_0x41ed90[_0xf6081b(0x1d8)]['generateRandomId'](_0x5176ca),{'pointsGroup':_0xa4f0e0,'fill':_0x93140b||_0xbfdec3[_0xf6081b(0x309)](_0x41ed90[_0xf6081b(0x157)][_0xf6081b(0x2f6)],0.2),'left':_0x15caa8,'top':_0x5580dc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf6081b(0x255)]['push'](_0x1a0de0),this['_scene']['addObject'](_0x1a0de0,_0x414ffd[_0xf6081b(0x21e)]);}[_0x198416(0x1dc)](_0x3b34b8,_0x4e0619,_0x39931c,_0x39033f){const _0x26ff06=_0x198416,_0x25711e=new _0x41ed90['ColorKit'](_0x3b34b8)[_0x26ff06(0x132)](0.2)[_0x26ff06(0x1e5)](),_0x1028fe=new _0xbfdec3[(_0x26ff06(0x365))](_0x239ba5+_0x41ed90[_0x26ff06(0x1d8)][_0x26ff06(0x1f5)](_0x5176ca),{'pointsGroup':_0x4e0619,'fill':_0x25711e||_0xbfdec3['getColor'](_0x41ed90[_0x26ff06(0x157)]['black'],0.2),'left':_0x39931c,'top':_0x39033f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x26ff06(0x26a)](_0x1028fe),this[_0x26ff06(0x36a)][_0x26ff06(0x1cd)](_0x1028fe,_0x414ffd[_0x26ff06(0x21e)]);}[_0x198416(0x249)](_0x412621){const _0x3d0038=_0x412621[0x0],_0x209819=_0x3d0038[0x0],_0x1cbc59=_0x3d0038[0x2],{x:_0x33e114,y:_0xc8b17b}=_0x209819,{x:_0x18eff1,y:_0x44b36f}=_0x1cbc59;return{'left':_0x33e114,'top':_0xc8b17b,'width':_0x18eff1-_0x33e114,'height':_0x44b36f-_0xc8b17b};}['_getScale'](){const _0x17b1cc=_0x198416,{scaleX:_0x277ad1,scaleY:_0x5e0826}=this[_0x17b1cc(0x36a)][_0x17b1cc(0x228)]();return Math['max'](_0x277ad1,_0x5e0826);}}var _0xeb1f9f=Object[_0x198416(0x26c)],_0xbd7e57=Object[_0x198416(0x27d)],_0x36b6a1=(_0x2ae5ea,_0x4ca1eb,_0xe88385,_0xaefe10)=>{const _0x1d06ab=_0x198416;for(var _0x4178dc=_0xaefe10>0x1?void 0x0:_0xaefe10?_0xbd7e57(_0x4ca1eb,_0xe88385):_0x4ca1eb,_0x5bc8f7=_0x2ae5ea[_0x1d06ab(0x2d9)]-0x1,_0x1a73fb;_0x5bc8f7>=0x0;_0x5bc8f7--)(_0x1a73fb=_0x2ae5ea[_0x5bc8f7])&&(_0x4178dc=(_0xaefe10?_0x1a73fb(_0x4ca1eb,_0xe88385,_0x4178dc):_0x1a73fb(_0x4178dc))||_0x4178dc);return _0xaefe10&&_0x4178dc&&_0xeb1f9f(_0x4ca1eb,_0xe88385,_0x4178dc),_0x4178dc;},_0x2e5abf=(_0x23fc0e,_0x2b661c)=>(_0x198c86,_0x4a60c1)=>_0x2b661c(_0x198c86,_0x4a60c1,_0x23fc0e);let _0x384df2=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x7946fd,_0x3756a7,_0x100141,_0x587a91,_0x2ff7b7){const _0x5c0873=_0x198416;super(),_0x2983ed(this,_0x5c0873(0x146),[]),_0x2983ed(this,_0x5c0873(0x272),[]),(this[_0x5c0873(0x1e3)]=_0x7946fd,this[_0x5c0873(0x188)]=_0x3756a7,this[_0x5c0873(0x10a)]=_0x100141,this[_0x5c0873(0x10e)]=_0x587a91,this['_themeService']=_0x2ff7b7,this[_0x5c0873(0x37c)]());}[_0x198416(0x37c)](){const _0x2987c7=_0x198416,_0x1e11e5=this[_0x2987c7(0x1e3)][_0x2987c7(0x38a)],_0xb979c0=this[_0x2987c7(0x188)];this['disposeWithMe'](_0x4784ed[_0x2987c7(0x2ce)]([this['_collabCursorController'][_0x2987c7(0x219)](_0x1e11e5),this[_0x2987c7(0x279)]['currentTheme$']])[_0x2987c7(0x213)](_0x278228[_0x2987c7(0x19a)](([_0x1587e4,_0x2a30a2])=>({'skeleton':_0xb979c0[_0x2987c7(0x1cc)](),'cursors':[..._0x1587e4[_0x2987c7(0x383)]()]['flatMap'](_0x489425=>({..._0x489425,'color':_0x2a30a2[_0x489425['color']]}))})))[_0x2987c7(0x352)](_0x44fe19=>{const _0x7c7aae=_0x2987c7;if(this[_0x7c7aae(0x368)](),_0x44fe19){const {skeleton:_0x1539bc,cursors:_0x3fb00f}=_0x44fe19;this[_0x7c7aae(0x290)](_0x1539bc,_0x3fb00f);}})),this['_initResize'](),this[_0x2987c7(0x253)]();}[_0x198416(0x290)](_0xa343ce,_0x4b30e4){const _0x4ec061=_0x198416,{scene:_0x382aa3,mainComponent:_0xd862cd}=this[_0x4ec061(0x1e3)],_0x1ea122=_0x4b30e4[_0x4ec061(0x19a)](_0x2829f7=>new _0x10e2a2(_0x2829f7,_0x382aa3,_0xa343ce,_0xd862cd));this[_0x4ec061(0x146)]=_0x1ea122,this[_0x4ec061(0x272)]=_0x4b30e4;}[_0x198416(0x28e)](){const _0x5cb7a5=_0x198416;this[_0x5cb7a5(0x368)]();const {scene:_0x546d42,mainComponent:_0x502492}=this[_0x5cb7a5(0x1e3)],_0x1eeddb=this[_0x5cb7a5(0x188)]['getSkeleton'](),_0x3ef8f4=this[_0x5cb7a5(0x272)]['map'](_0x23d5b1=>new _0x10e2a2(_0x23d5b1,_0x546d42,_0x1eeddb,_0x502492));this[_0x5cb7a5(0x146)]=_0x3ef8f4;}[_0x198416(0x368)](){const _0x20aafe=_0x198416;this[_0x20aafe(0x146)][_0x20aafe(0x21c)](_0x208371=>_0x208371[_0x20aafe(0x211)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x261782=_0x198416,_0x3d2820=[_0x414ffd['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x261782(0x10e)][_0x261782(0x176)](_0x3cab7d=>{const _0x291e22=_0x261782;_0x3d2820['includes'](_0x3cab7d['id'])&&_0x3cab7d['params'][_0x291e22(0x38a)]===this['_context'][_0x291e22(0x38a)]&&this[_0x291e22(0x28e)]();}));}['_initResize'](){const _0x4e2589=_0x198416;this['disposeWithMe'](_0x41ed90[_0x4e2589(0x37e)](this['_context'][_0x4e2589(0x2ea)][_0x4e2589(0x2c0)])[_0x4e2589(0x213)](_0x278228[_0x4e2589(0x11f)](_0x10d55a=>_0x10d55a[_0x4e2589(0x143)]===_0xbfdec3[_0x4e2589(0x349)][_0x4e2589(0x36f)]),_0x278228[_0x4e2589(0x223)](0x10))[_0x4e2589(0x352)](()=>{const _0xde9415=_0x4e2589;this[_0xde9415(0x28e)]();}));}};_0x384df2=_0x36b6a1([_0x2e5abf(0x1,_0x41ed90[_0x198416(0x300)](_0x4add3d['DocSkeletonManagerService'])),_0x2e5abf(0x2,_0x41ed90[_0x198416(0x300)](_0x386fb1)),_0x2e5abf(0x3,_0x41ed90[_0x198416(0x1dd)]),_0x2e5abf(0x4,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x30e)]))],_0x384df2);const _0x11562d=0x1,_0x427718=1.5;class _0x24526b extends _0xbfdec3['Shape']{constructor(_0x555790,_0xa436a1){const _0x405ed4=_0x198416;super(_0x555790,_0xa436a1),_0x2983ed(this,'_color'),_0x2983ed(this,_0x405ed4(0x154),!0x1),_0x2983ed(this,'_range'),_0x2983ed(this,'_name',''),_0x2983ed(this,_0x405ed4(0x2ed),_0x405ed4(0x216)),_0x2983ed(this,_0x405ed4(0x21a)),(_0xa436a1&&this[_0x405ed4(0x10c)](_0xa436a1),this[_0x405ed4(0x218)][_0x405ed4(0x29f)](()=>this[_0x405ed4(0x10c)]({'hovered':!0x0})),this[_0x405ed4(0x19b)]['subscribeEvent'](()=>this[_0x405ed4(0x10c)]({'hovered':!0x1})));}[_0x198416(0x10c)](_0x1b5e3a){const _0x3fd54b=_0x198416;var _0x621ff,_0x51441e,_0x4f27ce,_0x5d268a,_0x4109a0,_0x526db4;this[_0x3fd54b(0x320)]=(_0x621ff=_0x1b5e3a[_0x3fd54b(0x208)])!=null?_0x621ff:this[_0x3fd54b(0x320)],this[_0x3fd54b(0x154)]=(_0x51441e=_0x1b5e3a[_0x3fd54b(0x1ae)])!=null?_0x51441e:this['_hovered'],this[_0x3fd54b(0x118)]=(_0x4f27ce=_0x1b5e3a['range'])!=null?_0x4f27ce:this[_0x3fd54b(0x118)],this[_0x3fd54b(0x2b9)]=(_0x5d268a=_0x1b5e3a[_0x3fd54b(0x2db)])!=null?_0x5d268a:this[_0x3fd54b(0x2b9)],this['_labelPosition']=(_0x4109a0=_0x1b5e3a[_0x3fd54b(0x1f2)])!=null?_0x4109a0:this['_labelPosition'],this['_backgroundColor']=(_0x526db4=_0x1b5e3a[_0x3fd54b(0x1d3)])!=null?_0x526db4:this[_0x3fd54b(0x21a)],this[_0x3fd54b(0x331)]({'width':_0x1b5e3a[_0x3fd54b(0x13e)],'height':_0x1b5e3a[_0x3fd54b(0x2e1)]});}[_0x198416(0x377)](_0x24b9c7){const _0x4c1c99=_0x198416,{row:_0x56c6af,column:_0x278eb1}=_0x24b9c7;if(_0x56c6af>=this[_0x4c1c99(0x118)]['startRow']&&_0x56c6af<=this[_0x4c1c99(0x118)]['endRow']&&_0x278eb1>=this[_0x4c1c99(0x118)][_0x4c1c99(0x150)]&&_0x278eb1<=this['_range'][_0x4c1c99(0x233)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4c1c99(0x10c)]({'hovered':!0x1});}[_0x198416(0x2ee)](_0x2cacd0){return!0x1;}[_0x198416(0x115)](_0x16ebbb){const _0x34a359=_0x198416;_0xbfdec3['Rect'][_0x34a359(0x2c9)](_0x16ebbb,{'width':this['width'],'height':this[_0x34a359(0x2e1)],'strokeWidth':_0x427718,'stroke':this[_0x34a359(0x320)],'evented':!0x1,'fill':this[_0x34a359(0x21a)]}),this[_0x34a359(0x154)]&&(_0x16ebbb['save'](),_0x16ebbb[_0x34a359(0x258)](0x1,0x0,0x0,0x1,this[_0x34a359(0x13e)],this[_0x34a359(0x2ed)]==='bottom'?0x0:-_0x203676),_0xb6cd8a[_0x34a359(0x2c9)](_0x16ebbb,{'text':this[_0x34a359(0x2b9)],'color':this[_0x34a359(0x320)]}),_0x16ebbb['restore']());}}var _0x5f2b29=Object[_0x198416(0x26c)],_0x10abd8=Object[_0x198416(0x27d)],_0xb61674=(_0xa9cdbb,_0x263a8a,_0x2fa4a0,_0x1a90fb)=>{const _0x547b68=_0x198416;for(var _0x112059=_0x1a90fb>0x1?void 0x0:_0x1a90fb?_0x10abd8(_0x263a8a,_0x2fa4a0):_0x263a8a,_0x36976b=_0xa9cdbb[_0x547b68(0x2d9)]-0x1,_0x1cdab8;_0x36976b>=0x0;_0x36976b--)(_0x1cdab8=_0xa9cdbb[_0x36976b])&&(_0x112059=(_0x1a90fb?_0x1cdab8(_0x263a8a,_0x2fa4a0,_0x112059):_0x1cdab8(_0x112059))||_0x112059);return _0x1a90fb&&_0x112059&&_0x5f2b29(_0x263a8a,_0x2fa4a0,_0x112059),_0x112059;},_0x2edb77=(_0x2eec97,_0x1b33a7)=>(_0xc7fbeb,_0x39bbc4)=>_0x1b33a7(_0xc7fbeb,_0x39bbc4,_0x2eec97);const _0x484eaf=0x1389;let _0x11ba9b=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x4d97c3,_0x57c058,_0x53e232,_0x53327a){const _0xd09893=_0x198416;super(),_0x2983ed(this,_0xd09893(0x272),new Set()),_0x2983ed(this,_0xd09893(0x1b7),null),(this['_context']=_0x4d97c3,this[_0xd09893(0x2fd)]=_0x57c058,this['_collabCursorController']=_0x53e232,this[_0xd09893(0x279)]=_0x53327a,this[_0xd09893(0x37c)]());}[_0x198416(0x37c)](){const _0x5af5f9=_0x198416;this[_0x5af5f9(0x2fd)][_0x5af5f9(0x2e8)][_0x5af5f9(0x213)](_0x278228[_0x5af5f9(0x221)](this['dispose$']),_0x278228[_0x5af5f9(0x263)](_0x2f91ec=>{const _0x48fca7=_0x5af5f9;if(_0x2f91ec){const _0x2a54b3=_0x2f91ec[_0x48fca7(0x1bd)];return _0x4784ed[_0x48fca7(0x2ce)](this['_collabCursorController']['getCollabCursors$'](this[_0x48fca7(0x1e3)][_0x48fca7(0x38a)]),this[_0x48fca7(0x279)]['currentTheme$'])[_0x48fca7(0x213)](_0x278228[_0x48fca7(0x19a)](([_0xfba3ff,_0x3ba2ed])=>{const _0x3051e5=_0x48fca7,_0x4352e1=new Map();return _0xfba3ff[_0x3051e5(0x21c)]((_0x54b825,_0x3c04e0)=>{const _0x1dc9cc=_0x3051e5;if(_0x54b825[_0x1dc9cc(0x250)]===_0x2a54b3){const _0x86bb2c={..._0x54b825};_0x86bb2c[_0x1dc9cc(0x208)]=_0x3ba2ed[_0x54b825[_0x1dc9cc(0x208)]],_0x4352e1['set'](_0x3c04e0,_0x86bb2c);}}),{'skeleton':_0x2f91ec,'cursors':_0x4352e1};}));}return _0x4784ed['of']({'skeleton':null,'cursors':new Map()});}))[_0x5af5f9(0x352)](({skeleton:_0x120de7,cursors:_0x4546ac})=>{const _0x22953c=_0x5af5f9;this[_0x22953c(0x368)](),_0x120de7&&this[_0x22953c(0x290)](_0x120de7,_0x4546ac);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5af5f9(0x352)](_0x49bb1e=>{const _0x29951b=_0x5af5f9;if(_0x49bb1e==null)return;const {skeleton:_0x36197e}=_0x49bb1e,{scene:_0xd2a3e2}=this[_0x29951b(0x1e3)];_0xd2a3e2[_0x29951b(0x238)][_0x29951b(0x29f)](_0x41ed90[_0x29951b(0x2f2)](_0x1ac424=>{const _0x410799=_0x29951b;var _0x473d61,_0x3a33e5;const {offsetX:_0x21fd1a,offsetY:_0x525a85}=_0x1ac424,{x:_0x3f80ba,y:_0x4ff9ce}=_0xd2a3e2[_0x410799(0x210)](_0xbfdec3[_0x410799(0x1e8)]['FromArray']([_0x21fd1a,_0x525a85])),{scaleX:_0x2c3425,scaleY:_0x29b0a7}=_0xd2a3e2['getAncestorScale'](),_0x3b5faa=_0xd2a3e2[_0x410799(0x2ac)](_0xbfdec3[_0x410799(0x335)][_0x410799(0x15f)]),_0x2b19d4=_0xd2a3e2[_0x410799(0x32a)](_0xbfdec3[_0x410799(0x1e8)][_0x410799(0x347)]([_0x3f80ba,_0x4ff9ce]),_0x3b5faa),_0x1f13fd=_0x36197e[_0x410799(0x28a)](_0x21fd1a,_0x525a85,_0x2c3425,_0x29b0a7,_0x2b19d4);((_0x473d61=this['_lastPointer'])==null?void 0x0:_0x473d61[_0x410799(0x270)])===_0x1f13fd[_0x410799(0x270)]&&((_0x3a33e5=this[_0x410799(0x1b7)])==null?void 0x0:_0x3a33e5[_0x410799(0x151)])===_0x1f13fd[_0x410799(0x151)]||this[_0x410799(0x272)][_0x410799(0x21c)](_0x525203=>{const _0x2752ac=_0x410799;_0x525203[_0x2752ac(0x377)](_0x1f13fd);});},0x64));});}['_updateCollabCursors'](_0x530998,_0x2ab0b8){const _0x395b94=_0x198416;var _0x1f8999;const _0x50b15d=(_0x1f8999=this[_0x395b94(0x2fd)][_0x395b94(0x1a8)]())==null?void 0x0:_0x1f8999[_0x395b94(0x31f)];if(!_0x50b15d)return;const _0x4ea31b=this[_0x395b94(0x283)]();if(!_0x4ea31b)return;this['_cursors'][_0x395b94(0x21c)](_0x58b581=>{const _0x1ed828=_0x395b94;_0x58b581[_0x1ed828(0x2a8)]();});const {scene:_0x4ba616}=_0x4ea31b,_0x5786f4=_0x303ea9(Array[_0x395b94(0x116)](_0x2ab0b8[_0x395b94(0x383)]()))[_0x395b94(0x19a)](_0x313de2=>{const _0x386dad=_0x395b94,{color:_0x2c78d1,range:_0x2ba59d,name:_0x3e21e6,selection:_0x11a3eb,sheetID:_0x4e4125}=_0x313de2,{startColumn:_0x21933c,startRow:_0x5eada6,endColumn:_0x39c585,endRow:_0x5ea5a0}=_0x2ba59d,_0x56bf36=_0x4012d1[_0x386dad(0x128)](_0x5eada6,_0x21933c,_0x4ba616,_0x50b15d),_0x2d9d90=_0x4012d1[_0x386dad(0x128)](_0x5ea5a0,_0x39c585,_0x4ba616,_0x50b15d),{columnHeaderHeightAndMarginTop:_0x3ee779}=_0x50b15d,{startX:_0x458365,startY:_0x5ef085}=_0x56bf36,{endX:_0x276460,endY:_0x2652d4}=_0x2d9d90,_0x427cbd=_0x276460-_0x458365,_0x333307=_0x2652d4-_0x5ef085,_0x262ae2={'labelPosition':_0x5ef085-_0x3ee779>=_0x203676?_0x386dad(0x216):_0x386dad(0x2ef),'sheetID':_0x4e4125,'range':_0x2ba59d,'color':_0x2c78d1,'name':_0x3e21e6,'selection':_0x11a3eb,'left':_0x458365,'top':_0x5ef085,'width':_0x427cbd,'height':_0x333307,'evented':!0x1,'zIndex':_0x484eaf};return new _0x24526b(_0x3e21e6,_0x262ae2);});_0x4ba616[_0x395b94(0x158)](_0x5786f4,_0x11562d),this[_0x395b94(0x272)]=new Set(_0x5786f4);}[_0x198416(0x368)](){const _0x3d4489=_0x198416;var _0x4d6784;(_0x4d6784=this[_0x3d4489(0x272)])==null||_0x4d6784[_0x3d4489(0x21c)](_0x1b3494=>_0x1b3494[_0x3d4489(0x211)]());}[_0x198416(0x283)](){const _0x4822bf=_0x198416;return _0x4012d1[_0x4822bf(0x1d0)](this[_0x4822bf(0x1e3)][_0x4822bf(0x29a)],this['_context']);}};_0x11ba9b=_0xb61674([_0x2edb77(0x1,_0x41ed90[_0x198416(0x300)](_0x4012d1[_0x198416(0x201)])),_0x2edb77(0x2,_0x41ed90[_0x198416(0x300)](_0x386fb1)),_0x2edb77(0x3,_0x41ed90[_0x198416(0x300)](_0x41ed90['ThemeService']))],_0x11ba9b);function _0x303ea9(_0x582cb8){const _0x41badd=_0x198416,_0x1319f2=new Map();return _0x582cb8[_0x41badd(0x21c)](_0x52776b=>{const _0x11c248=_0x41badd;if(_0x1319f2[_0x11c248(0x27e)](_0x52776b[_0x11c248(0x34c)])){const _0x1299c0=_0x1319f2[_0x11c248(0x165)](_0x52776b[_0x11c248(0x34c)]);_0x1299c0[_0x11c248(0x2db)]+=',\x20'+_0x52776b[_0x11c248(0x2db)];}else _0x1319f2[_0x11c248(0x297)](_0x52776b[_0x11c248(0x34c)],_0x52776b);}),Array[_0x41badd(0x116)](_0x1319f2['values']());}var _0x405060={'exports':{}},_0x4dfe95={},_0x1b1a65;function _0x21351c(){const _0xf14fd4=_0x198416;if(_0x1b1a65)return _0x4dfe95;_0x1b1a65=0x1;var _0x39f2af=_0x255a92,_0x4e39c5=Symbol[_0xf14fd4(0x2de)](_0xf14fd4(0x2e3)),_0x37b87f=Symbol[_0xf14fd4(0x2de)](_0xf14fd4(0x22c)),_0x45a034=Object['prototype'][_0xf14fd4(0x2d4)],_0x19174b=_0x39f2af[_0xf14fd4(0x37d)][_0xf14fd4(0x129)],_0x473a24={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5e1071(_0x301925,_0x55e6ef,_0x1a7a26){const _0x1e5af6=_0xf14fd4;var _0x1b1c45,_0x3633be={},_0x38457c=null,_0x5189d1=null;_0x1a7a26!==void 0x0&&(_0x38457c=''+_0x1a7a26),_0x55e6ef[_0x1e5af6(0x289)]!==void 0x0&&(_0x38457c=''+_0x55e6ef[_0x1e5af6(0x289)]),_0x55e6ef[_0x1e5af6(0x26d)]!==void 0x0&&(_0x5189d1=_0x55e6ef[_0x1e5af6(0x26d)]);for(_0x1b1c45 in _0x55e6ef)_0x45a034[_0x1e5af6(0x1d9)](_0x55e6ef,_0x1b1c45)&&!_0x473a24[_0x1e5af6(0x2d4)](_0x1b1c45)&&(_0x3633be[_0x1b1c45]=_0x55e6ef[_0x1b1c45]);if(_0x301925&&_0x301925[_0x1e5af6(0x35f)]){for(_0x1b1c45 in(_0x55e6ef=_0x301925['defaultProps'],_0x55e6ef))_0x3633be[_0x1b1c45]===void 0x0&&(_0x3633be[_0x1b1c45]=_0x55e6ef[_0x1b1c45]);}return{'$$typeof':_0x4e39c5,'type':_0x301925,'key':_0x38457c,'ref':_0x5189d1,'props':_0x3633be,'_owner':_0x19174b[_0x1e5af6(0x1fb)]};}return _0x4dfe95['Fragment']=_0x37b87f,_0x4dfe95[_0xf14fd4(0x1ce)]=_0x5e1071,_0x4dfe95[_0xf14fd4(0x2ca)]=_0x5e1071,_0x4dfe95;}var _0xa36505;function _0x3d0a4a(){const _0x1f8732=_0x198416;return _0xa36505||(_0xa36505=0x1,_0x405060[_0x1f8732(0x1b0)]=_0x21351c()),_0x405060['exports'];}var _0x31fbe1=_0x3d0a4a(),_0x2f92fe=function(){const _0x232e98=_0x198416;return _0x2f92fe=Object[_0x232e98(0x227)]||function(_0x4df630){const _0x277fd0=_0x232e98;for(var _0x542ce9,_0x403611=0x1,_0x3870ab=arguments[_0x277fd0(0x2d9)];_0x403611<_0x3870ab;_0x403611++){_0x542ce9=arguments[_0x403611];for(var _0x39a229 in _0x542ce9)Object[_0x277fd0(0x1c0)]['hasOwnProperty']['call'](_0x542ce9,_0x39a229)&&(_0x4df630[_0x39a229]=_0x542ce9[_0x39a229]);}return _0x4df630;},_0x2f92fe[_0x232e98(0x334)](this,arguments);},_0x21a3aa=function(_0x615a,_0x407469){const _0x4985fc=_0x198416;var _0x404709={};for(var _0x5ea929 in _0x615a)Object['prototype'][_0x4985fc(0x2d4)][_0x4985fc(0x1d9)](_0x615a,_0x5ea929)&&_0x407469[_0x4985fc(0x14c)](_0x5ea929)<0x0&&(_0x404709[_0x5ea929]=_0x615a[_0x5ea929]);if(_0x615a!=null&&typeof Object[_0x4985fc(0x13c)]=='function'){for(var _0x12ecd7=0x0,_0x5ea929=Object[_0x4985fc(0x13c)](_0x615a);_0x12ecd7<_0x5ea929[_0x4985fc(0x2d9)];_0x12ecd7++)_0x407469['indexOf'](_0x5ea929[_0x12ecd7])<0x0&&Object[_0x4985fc(0x1c0)][_0x4985fc(0x35d)]['call'](_0x615a,_0x5ea929[_0x12ecd7])&&(_0x404709[_0x5ea929[_0x12ecd7]]=_0x615a[_0x5ea929[_0x12ecd7]]);}return _0x404709;},_0x9ba6cb=_0x255a92[_0x198416(0x2ad)](function(_0x38042d,_0x4c525f){const _0x84d699=_0x198416;var _0x119b8c=_0x38042d[_0x84d699(0x2a6)],_0x38f176=_0x38042d['id'],_0x2a5c80=_0x38042d[_0x84d699(0x23a)],_0x2e058a=_0x38042d[_0x84d699(0x26e)],_0x5e431b=_0x21a3aa(_0x38042d,[_0x84d699(0x2a6),'id',_0x84d699(0x23a),_0x84d699(0x26e)]),_0x1c80f5=_0x84d699(0x1da)['concat'](_0x38f176,'\x20')['concat'](_0x2a5c80||'')[_0x84d699(0x11c)](),_0x1dd9dc=_0x255a92[_0x84d699(0x339)]('_'[_0x84d699(0x113)](_0x2aee39()));return _0x417c42(_0x119b8c,''[_0x84d699(0x113)](_0x38f176),{'defIds':_0x119b8c['defIds'],'idSuffix':_0x1dd9dc['current']},_0x2f92fe({'ref':_0x4c525f,'className':_0x1c80f5},_0x5e431b),_0x2e058a);});function _0x417c42(_0x36bc9c,_0x9d645c,_0x494079,_0x32c70a,_0x1696aa){const _0x2aab49=_0x198416;return _0x255a92[_0x2aab49(0x22b)](_0x36bc9c[_0x2aab49(0x2a0)],_0x2f92fe(_0x2f92fe({'key':_0x9d645c},_0x2e08dc(_0x36bc9c,_0x494079,_0x1696aa)),_0x32c70a),(_0x125d1(_0x36bc9c,_0x494079)[_0x2aab49(0x180)]||[])[_0x2aab49(0x19a)](function(_0x370fde,_0xa45f3b){const _0x559a17=_0x2aab49;return _0x417c42(_0x370fde,''[_0x559a17(0x113)](_0x9d645c,'-')['concat'](_0x36bc9c[_0x559a17(0x2a0)],'-')[_0x559a17(0x113)](_0xa45f3b),_0x494079,void 0x0,_0x1696aa);}));}function _0x2e08dc(_0x2b9556,_0xba6e9e,_0x108a83){const _0x5e4522=_0x198416;var _0x140cb6=_0x2f92fe({},_0x2b9556[_0x5e4522(0x372)]);_0x108a83!=null&&_0x108a83[_0x5e4522(0x26f)]&&_0x140cb6[_0x5e4522(0x215)]===_0x5e4522(0x26f)&&(_0x140cb6[_0x5e4522(0x215)]=_0x108a83[_0x5e4522(0x26f)]);var _0x3e5da1=_0xba6e9e[_0x5e4522(0x1ad)];return!_0x3e5da1||_0x3e5da1['length']===0x0||(_0x2b9556['tag']===_0x5e4522(0x1c9)&&_0x140cb6[_0x5e4522(0x1bf)]&&(_0x140cb6[_0x5e4522(0x1bf)]=_0x140cb6[_0x5e4522(0x1bf)]+_0xba6e9e[_0x5e4522(0x111)]),Object[_0x5e4522(0x236)](_0x140cb6)[_0x5e4522(0x21c)](function(_0x453017){const _0x3a7761=_0x5e4522;var _0x1536b0=_0x453017[0x0],_0x3aff5f=_0x453017[0x1];typeof _0x3aff5f==_0x3a7761(0x225)&&(_0x140cb6[_0x1536b0]=_0x3aff5f[_0x3a7761(0x369)](/url\(#(.*)\)/,_0x3a7761(0x214)[_0x3a7761(0x113)](_0xba6e9e['idSuffix'],')')));})),_0x140cb6;}function _0x125d1(_0x56c902,_0x19f09f){const _0x9ba558=_0x198416;var _0x3b98a9,_0x4f2657=_0x19f09f[_0x9ba558(0x1ad)];return!_0x4f2657||_0x4f2657[_0x9ba558(0x2d9)]===0x0?_0x56c902:_0x56c902[_0x9ba558(0x2a0)]===_0x9ba558(0x30a)&&(!((_0x3b98a9=_0x56c902[_0x9ba558(0x180)])===null||_0x3b98a9===void 0x0)&&_0x3b98a9[_0x9ba558(0x2d9)])?_0x2f92fe(_0x2f92fe({},_0x56c902),{'children':_0x56c902[_0x9ba558(0x180)]['map'](function(_0x2afd8b){const _0x52b3e0=_0x9ba558;return typeof _0x2afd8b[_0x52b3e0(0x372)]['id']==_0x52b3e0(0x225)&&_0x4f2657&&_0x4f2657[_0x52b3e0(0x14c)](_0x2afd8b[_0x52b3e0(0x372)]['id'])>-0x1?_0x2f92fe(_0x2f92fe({},_0x2afd8b),{'attrs':_0x2f92fe(_0x2f92fe({},_0x2afd8b[_0x52b3e0(0x372)]),{'id':_0x2afd8b[_0x52b3e0(0x372)]['id']+_0x19f09f[_0x52b3e0(0x111)]})}):_0x2afd8b;})}):_0x56c902;}function _0x2aee39(){const _0xc7168=_0x198416;return Math['random']()['toString'](0x24)[_0xc7168(0x340)](0x2,0x8);}_0x9ba6cb['displayName']=_0x198416(0x16a);var _0x163aaf={'tag':_0x198416(0x1ec),'attrs':{'fill':_0x198416(0x1f0),'viewBox':_0x198416(0x361),'width':_0x198416(0x131),'height':_0x198416(0x131)},'children':[{'tag':'g','attrs':{'clipPath':_0x198416(0x34e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x198416(0x1ff),'strokeLinecap':'round','strokeLinejoin':_0x198416(0x2ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x198416(0x2d3),'attrs':{'id':_0x198416(0x2c7)},'children':[{'tag':'path','attrs':{'fill':_0x198416(0x252),'d':_0x198416(0x156)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x3aea68=_0x255a92['forwardRef'](function(_0xf0ac1d,_0x18472d){const _0x2562c5=_0x198416;return _0x255a92['createElement'](_0x9ba6cb,Object[_0x2562c5(0x227)]({},_0xf0ac1d,{'id':_0x2562c5(0x1aa),'ref':_0x18472d,'icon':_0x163aaf}));});_0x3aea68[_0x198416(0x332)]=_0x198416(0x135);var _0x37b522={'tag':_0x198416(0x1ec),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x198416(0x131)},'children':[{'tag':'g','attrs':{'clipPath':_0x198416(0x242)},'children':[{'tag':'path','attrs':{'stroke':_0x198416(0x319),'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':_0x198416(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x198416(0x2d3),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x198416(0x19d),'attrs':{'fill':_0x198416(0x252),'d':_0x198416(0x156),'transform':_0x198416(0x2ff)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xad1f7f=_0x255a92['forwardRef'](function(_0x38729c,_0x140c6e){const _0x383bee=_0x198416;return _0x255a92[_0x383bee(0x22b)](_0x9ba6cb,Object[_0x383bee(0x227)]({},_0x38729c,{'id':'on-line-single','ref':_0x140c6e,'icon':_0x37b522}));});_0xad1f7f[_0x198416(0x332)]=_0x198416(0x124);function _0xbc9c77(_0x315d3d){const _0x57a4e1=_0x198416;var _0x51a346,_0x58268e,_0xe92d36='';if(typeof _0x315d3d==_0x57a4e1(0x225)||typeof _0x315d3d==_0x57a4e1(0x2be))_0xe92d36+=_0x315d3d;else{if(typeof _0x315d3d=='object'){if(Array[_0x57a4e1(0x27a)](_0x315d3d)){var _0x5522fd=_0x315d3d[_0x57a4e1(0x2d9)];for(_0x51a346=0x0;_0x51a346<_0x5522fd;_0x51a346++)_0x315d3d[_0x51a346]&&(_0x58268e=_0xbc9c77(_0x315d3d[_0x51a346]))&&(_0xe92d36&&(_0xe92d36+='\x20'),_0xe92d36+=_0x58268e);}else{for(_0x58268e in _0x315d3d)_0x315d3d[_0x58268e]&&(_0xe92d36&&(_0xe92d36+='\x20'),_0xe92d36+=_0x58268e);}}}return _0xe92d36;}function _0x181e2d(){const _0x51d3b6=_0x198416;for(var _0x25e387,_0x400ae9,_0x16b228=0x0,_0xd3375a='',_0x52a3a2=arguments[_0x51d3b6(0x2d9)];_0x16b228<_0x52a3a2;_0x16b228++)(_0x25e387=arguments[_0x16b228])&&(_0x400ae9=_0xbc9c77(_0x25e387))&&(_0xd3375a&&(_0xd3375a+='\x20'),_0xd3375a+=_0x400ae9);return _0xd3375a;}const _0x404fd1={'onlineStatusIcon':_0x198416(0x315),'onlineStatusTitle':_0x198416(0x122),'onlineStatus':'univer-online-status','online':'univer-online','offline':'univer-offline'};function _0xd47e93(_0x460e98){const _0x339368=_0x198416;switch(_0x460e98){case _0x340b74['CollaborationStatus']['OFFLINE']:return _0x339368(0x286);case _0x340b74[_0x339368(0x267)]['CONFLICT']:return _0x339368(0x24e);case _0x340b74['CollaborationStatus'][_0x339368(0x2ba)]:return'collabStatus.fetchMiss';case _0x340b74['CollaborationStatus'][_0x339368(0x251)]:return _0x339368(0x24a);case _0x340b74[_0x339368(0x267)]['AWAITING']:case _0x340b74[_0x339368(0x267)][_0x339368(0x123)]:return _0x339368(0x2dd);case _0x340b74[_0x339368(0x267)]['SYNCED']:case _0x340b74[_0x339368(0x267)][_0x339368(0x245)]:return'collabStatus.synced';}}function _0x55ce54(_0x4c2d78){const _0x51f78=_0x198416,{status$:_0x741992}=_0x4c2d78,_0x506165=_0x1d78d7['useObservable'](_0x741992,_0x340b74[_0x51f78(0x267)][_0x51f78(0x251)]),_0x53bfbd=_0x41ed90[_0x51f78(0x2b5)](_0x41ed90['LocaleService']),_0x1f7652=_0x41ed90[_0x51f78(0x2b5)](_0x340b74[_0x51f78(0x23f)]),_0x5efa1a=_0x506165!==_0x340b74['CollaborationStatus'][_0x51f78(0x19f)],_0x1e558b=_0x53bfbd['t'](_0xd47e93(_0x506165)),_0x5e0542=_0x181e2d(_0x404fd1[_0x51f78(0x16b)],{[_0x404fd1[_0x51f78(0x15c)]]:_0x5efa1a,[_0x404fd1[_0x51f78(0x2f4)]]:!_0x5efa1a}),_0x1052b9=_0x5efa1a?_0x31fbe1[_0x51f78(0x1ce)](_0xad1f7f,{}):_0x31fbe1['jsx'](_0x3aea68,{}),_0x3f1de1=_0x255a92[_0x51f78(0x22e)](()=>{_0x5efa1a||_0x1f7652['reconnect']();},[_0x5efa1a,_0x1f7652]);function _0x51c0e5(){const _0x2a9d82=_0x51f78;return _0x31fbe1[_0x2a9d82(0x2ca)](_0x2a9d82(0x202),{'className':_0x5e0542,'onClick':_0x3f1de1,'children':[_0x31fbe1[_0x2a9d82(0x1ce)]('div',{'className':_0x404fd1['onlineStatusIcon'],'children':_0x1052b9}),_0x31fbe1[_0x2a9d82(0x1ce)](_0x2a9d82(0x202),{'className':_0x404fd1['onlineStatusTitle'],'children':_0x1e558b})]});}return _0x5efa1a?_0x51c0e5():_0x31fbe1[_0x51f78(0x1ce)](_0x42e905['Tooltip'],{'title':_0x53bfbd['t'](_0x51f78(0x36e)),'children':_0x51c0e5()});}var _0x4b8304=Object['defineProperty'],_0x5558a7=Object[_0x198416(0x27d)],_0x505ef1=(_0x538bba,_0x332d98,_0xdfa30e,_0x128d5f)=>{const _0x225f78=_0x198416;for(var _0x32ccff=_0x128d5f>0x1?void 0x0:_0x128d5f?_0x5558a7(_0x332d98,_0xdfa30e):_0x332d98,_0x10f542=_0x538bba[_0x225f78(0x2d9)]-0x1,_0x1011ff;_0x10f542>=0x0;_0x10f542--)(_0x1011ff=_0x538bba[_0x10f542])&&(_0x32ccff=(_0x128d5f?_0x1011ff(_0x332d98,_0xdfa30e,_0x32ccff):_0x1011ff(_0x32ccff))||_0x32ccff);return _0x128d5f&&_0x32ccff&&_0x4b8304(_0x332d98,_0xdfa30e,_0x32ccff),_0x32ccff;},_0x4a7224=(_0x35b028,_0x1e5bbf)=>(_0x2a3c1f,_0x43d9e5)=>_0x1e5bbf(_0x2a3c1f,_0x43d9e5,_0x35b028);_0x575827['DesktopCollaborationStatusDisplayController']=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x33076f,_0x1bd1f4,_0x34acbc,_0x4ae6fa){const _0x44e1fa=_0x198416;super(),_0x2983ed(this,_0x44e1fa(0x338),new _0x4784ed[(_0x44e1fa(0x21b))](_0x340b74[_0x44e1fa(0x267)]['NOT_COLLAB'])),(this[_0x44e1fa(0x206)]=_0x33076f,this[_0x44e1fa(0x1b6)]=_0x1bd1f4,this[_0x44e1fa(0x1ba)]=_0x34acbc,this[_0x44e1fa(0x298)]=_0x4ae6fa,this[_0x44e1fa(0x1df)](),this[_0x44e1fa(0x1c1)]());}[_0x198416(0x1c1)](){const _0x133882=_0x198416;this[_0x133882(0x10f)](this['_univerInstanceService'][_0x133882(0x2dc)][_0x133882(0x213)](_0x4784ed[_0x133882(0x263)](()=>{const _0x254fce=_0x133882,_0x4838fe=this[_0x254fce(0x206)][_0x254fce(0x25f)]();return _0x4838fe?this[_0x254fce(0x1ba)]['getCollabEntity$'](_0x4838fe[_0x254fce(0x374)]()):_0x4784ed['of'](null);}),_0x4784ed[_0x133882(0x263)](_0x42d619=>_0x42d619?_0x42d619['status$']:_0x4784ed['of'](_0x340b74[_0x133882(0x267)][_0x133882(0x251)])))[_0x133882(0x352)](_0x2364d6=>{const _0x54d46d=_0x133882;this[_0x54d46d(0x338)]['next'](_0x2364d6);}));}[_0x198416(0x1df)](){const _0x3c8cf0=_0x198416;this[_0x3c8cf0(0x10f)](this[_0x3c8cf0(0x298)]['registerComponent'](_0x1d78d7[_0x3c8cf0(0x2a5)]['HEADER_MENU'],()=>_0x41ed90['connectInjector'](_0x1b9f1c({'status$':this[_0x3c8cf0(0x338)][_0x3c8cf0(0x1f1)]()}),this['_injector'])));}},_0x575827[_0x198416(0x2d0)]=_0x505ef1([_0x4a7224(0x0,_0x41ed90[_0x198416(0x29c)]),_0x4a7224(0x1,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x287)])),_0x4a7224(0x2,_0x41ed90[_0x198416(0x300)](_0x340b74['CollaborationController'])),_0x4a7224(0x3,_0x1d78d7[_0x198416(0x1ab)])],_0x575827[_0x198416(0x2d0)]);function _0x1b9f1c(_0x599eca){const {status$:_0x351dc0}=_0x599eca;return function(){const _0x5a9561=_0x404a;return _0x31fbe1[_0x5a9561(0x1ce)](_0x55ce54,{'status$':_0x351dc0});};}var _0x11efcd=Object[_0x198416(0x26c)],_0x7aa849=Object[_0x198416(0x27d)],_0x4201b8=(_0x2e4d37,_0x14530d,_0x51efb3,_0xaf470c)=>{const _0x5882e7=_0x198416;for(var _0x1be89c=_0xaf470c>0x1?void 0x0:_0xaf470c?_0x7aa849(_0x14530d,_0x51efb3):_0x14530d,_0x59492a=_0x2e4d37[_0x5882e7(0x2d9)]-0x1,_0x5cb100;_0x59492a>=0x0;_0x59492a--)(_0x5cb100=_0x2e4d37[_0x59492a])&&(_0x1be89c=(_0xaf470c?_0x5cb100(_0x14530d,_0x51efb3,_0x1be89c):_0x5cb100(_0x1be89c))||_0x1be89c);return _0xaf470c&&_0x1be89c&&_0x11efcd(_0x14530d,_0x51efb3,_0x1be89c),_0x1be89c;},_0x3f4374=(_0x2129a7,_0x259887)=>(_0xd32d91,_0xf275ca)=>_0x259887(_0xd32d91,_0xf275ca,_0x2129a7);let _0x27411f=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x1ab586,_0x3f5b9b,_0x4ca37b,_0x9ef1b6,_0x30214d,_0x3262a8){const _0x4f3776=_0x198416;super(),this['_beforeCloseService']=_0x1ab586,this[_0x4f3776(0x1d4)]=_0x3f5b9b,this['_collaborationUIEventService']=_0x4ca37b,this[_0x4f3776(0x140)]=_0x9ef1b6,this[_0x4f3776(0x17f)]=_0x30214d,this[_0x4f3776(0x29e)]=_0x3262a8,this[_0x4f3776(0x13b)](),this[_0x4f3776(0x294)]();}[_0x198416(0x13b)](){const _0x539d23=_0x198416;this[_0x539d23(0x10f)](this[_0x539d23(0x295)]['registerBeforeClose'](()=>{const _0x38f211=_0x539d23;if(this['_localCacheService'][_0x38f211(0x178)][_0x38f211(0x12f)])return this[_0x38f211(0x29e)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x198416(0x294)](){const _0x1a8a8d=_0x198416;this[_0x1a8a8d(0x10f)](this[_0x1a8a8d(0x167)][_0x1a8a8d(0x291)][_0x1a8a8d(0x352)](_0x4ece61=>{const _0x3202df=_0x1a8a8d;_0x4ece61['id']===_0x340b74['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x3202df(0x126)]({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this['_localeService']['t'](_0x3202df(0x190))}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t']('collaboration.closeRoom')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x244)]&&this[_0x3202df(0x17f)][_0x3202df(0x126)]({'title':this[_0x3202df(0x29e)]['t'](_0x3202df(0x2c2)),'content':this['_localeService']['t'](_0x3202df(0x166)),'type':'error','duration':0x0}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x170)]&&this['_messageService'][_0x3202df(0x126)]({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t'](_0x3202df(0x18f))+'('+_0x4ece61['data']+')'}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x222)]&&this['_messageService']['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t'](_0x4ece61[_0x3202df(0x284)]||'')}),_0x4ece61['id']===_0x340b74['CollaborationUIEventId'][_0x3202df(0x17d)]&&this[_0x3202df(0x140)][_0x3202df(0x126)]({'type':_0x42e905['MessageType'][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t']('session.will-retry')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x1ed)]&&this[_0x3202df(0x140)]['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t']('session.connection-failed')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3202df(0x140)]['show']({'type':_0x42e905['MessageType'][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t'](_0x3202df(0x381))});}));}};_0x27411f=_0x4201b8([_0x3f4374(0x0,_0x1d78d7[_0x198416(0x34a)]),_0x3f4374(0x1,_0x340b74[_0x198416(0x1b3)]),_0x3f4374(0x2,_0x41ed90['Inject'](_0x340b74[_0x198416(0x2a7)])),_0x3f4374(0x3,_0x1d78d7[_0x198416(0x2cb)]),_0x3f4374(0x4,_0x1d78d7['INotificationService']),_0x3f4374(0x5,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x17b)]))],_0x27411f);const _0x33fe3e=_0x198416(0x21f),_0x3ccc5e={},_0x2b708f=_0x41ed90[_0x198416(0x37f)](_0x198416(0x33a));var _0x8de639=Object[_0x198416(0x26c)],_0x257210=Object[_0x198416(0x27d)],_0x114224=(_0x53fbb1,_0x3903d4,_0x351b64,_0x21b3fd)=>{const _0x5c657e=_0x198416;for(var _0x2094aa=_0x21b3fd>0x1?void 0x0:_0x21b3fd?_0x257210(_0x3903d4,_0x351b64):_0x3903d4,_0x26e686=_0x53fbb1[_0x5c657e(0x2d9)]-0x1,_0x214fd7;_0x26e686>=0x0;_0x26e686--)(_0x214fd7=_0x53fbb1[_0x26e686])&&(_0x2094aa=(_0x21b3fd?_0x214fd7(_0x3903d4,_0x351b64,_0x2094aa):_0x214fd7(_0x2094aa))||_0x2094aa);return _0x21b3fd&&_0x2094aa&&_0x8de639(_0x3903d4,_0x351b64,_0x2094aa),_0x2094aa;},_0x4afc1b=(_0x5e25ea,_0x18e71e)=>(_0x11c10f,_0x35a39e)=>_0x18e71e(_0x11c10f,_0x35a39e,_0x5e25ea);_0x575827[_0x198416(0x276)]=class extends _0x41ed90['RxDisposable']{constructor(_0x1f7a56,_0x4f994d,_0x413afc,_0x55deb2,_0x402909){const _0x2d22c4=_0x198416;super(),this[_0x2d22c4(0x18d)]=_0x1f7a56,this[_0x2d22c4(0x207)]=_0x4f994d,this[_0x2d22c4(0x10e)]=_0x413afc,this[_0x2d22c4(0x2d5)]=_0x55deb2,_0x402909?_0x402909==null||_0x402909[_0x2d22c4(0x2eb)]()['then'](()=>this[_0x2d22c4(0x37c)]()):(this[_0x2d22c4(0x207)][_0x2d22c4(0x254)]('[CollaborationDataLoaderController]',_0x2d22c4(0x194)),this['_init']());}async[_0x198416(0x37c)](){const _0xf09574=_0x198416,_0x52f648=this[_0xf09574(0x18d)][_0xf09574(0x15a)]('unit'),_0x51f7b7=this[_0xf09574(0x18d)]['getParam'](_0xf09574(0x143)),_0x43a13e=this[_0xf09574(0x18d)][_0xf09574(0x15a)](_0xf09574(0x1a2));if(!_0x52f648||!_0x51f7b7){this[_0xf09574(0x207)][_0xf09574(0x254)](_0xf09574(0x17e),_0xf09574(0x2e0));return;}const _0x3fe387=await this['_dataLoaderService'][_0xf09574(0x1b2)](_0x52f648,Number(_0x51f7b7),_0x43a13e);_0x3fe387&&_0x3fe387 instanceof _0x41ed90[_0xf09574(0x1db)]&&this[_0xf09574(0x2bd)](_0x3fe387);}async[_0x198416(0x2bd)](_0x520adf){const _0x38277d=_0x198416;await this[_0x38277d(0x2df)](_0x520adf),_0x520adf[_0x38277d(0x33c)][_0x38277d(0x213)](_0x4784ed['takeUntil'](this[_0x38277d(0x1b8)]))['subscribe'](_0x2f086d=>{_0x2f086d&&this['_updateURLWithCurrentState'](_0x2f086d);}),this['_urlService'][_0x38277d(0x350)][_0x38277d(0x213)](_0x4784ed['takeUntil'](this[_0x38277d(0x1b8)]))[_0x38277d(0x352)](()=>this[_0x38277d(0x2df)](_0x520adf));}['_updateURLWithCurrentState'](_0x2da38e,_0x2d17a0=!0x1){const _0xdc4235=_0x198416,_0x27c01a=this[_0xdc4235(0x18d)][_0xdc4235(0x15a)](_0xdc4235(0x1a2));_0x2da38e[_0xdc4235(0x11a)]()!==_0x27c01a&&this[_0xdc4235(0x18d)][_0xdc4235(0x33e)](_0xdc4235(0x1a2),_0x2da38e['getSheetId'](),_0x2d17a0);}async[_0x198416(0x2df)](_0x1a8750){const _0x5cf34f=_0x198416;var _0x166fbb;const _0x134a16=this[_0x5cf34f(0x18d)][_0x5cf34f(0x15a)](_0x5cf34f(0x1a2));if(!_0x134a16||!_0x1a8750[_0x5cf34f(0x171)](_0x134a16)){const _0x13de9b=_0x1a8750[_0x5cf34f(0x23c)]()[0x0],_0x52708c=_0x1a8750[_0x5cf34f(0x171)](_0x13de9b);if(!_0x52708c)return;this[_0x5cf34f(0x155)](_0x52708c,!0x0),await this[_0x5cf34f(0x10e)][_0x5cf34f(0x25e)](_0x7d326c[_0x5cf34f(0x380)]['id'],{'unitId':_0x1a8750[_0x5cf34f(0x374)](),'subUnitId':_0x13de9b});return;}((_0x166fbb=_0x1a8750[_0x5cf34f(0x278)]())==null?void 0x0:_0x166fbb[_0x5cf34f(0x11a)]())!==_0x134a16&&await this['_commandService']['executeCommand'](_0x7d326c['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a8750[_0x5cf34f(0x374)](),'subUnitId':_0x134a16});}},_0x575827[_0x198416(0x276)]=_0x114224([_0x4afc1b(0x0,_0x2b708f),_0x4afc1b(0x1,_0x41ed90['ILogService']),_0x4afc1b(0x2,_0x41ed90['ICommandService']),_0x4afc1b(0x3,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x257)])),_0x4afc1b(0x4,_0x41ed90[_0x198416(0x2b6)](_0xdfda1[_0x198416(0x367)]))],_0x575827['CollaborationDataLoaderController']);var _0x13093b=Object['defineProperty'],_0x1d5004=Object[_0x198416(0x27d)],_0x1c4227=(_0xeafa86,_0x355319,_0x15452f,_0x5e4379)=>{const _0x436dfe=_0x198416;for(var _0x579260=_0x5e4379>0x1?void 0x0:_0x5e4379?_0x1d5004(_0x355319,_0x15452f):_0x355319,_0x2a9e21=_0xeafa86[_0x436dfe(0x2d9)]-0x1,_0x4d3f04;_0x2a9e21>=0x0;_0x2a9e21--)(_0x4d3f04=_0xeafa86[_0x2a9e21])&&(_0x579260=(_0x5e4379?_0x4d3f04(_0x355319,_0x15452f,_0x579260):_0x4d3f04(_0x579260))||_0x579260);return _0x5e4379&&_0x579260&&_0x13093b(_0x355319,_0x15452f,_0x579260),_0x579260;},_0x34f9d0=(_0x4c8fac,_0x240531)=>(_0x228549,_0x1872fd)=>_0x240531(_0x228549,_0x1872fd,_0x4c8fac);let _0x46e72e=class{constructor(_0x3be39a,_0x528df8,_0x2e1b6a){const _0xe6882e=_0x198416;this['_injector']=_0x3be39a,this[_0xe6882e(0x18c)]=_0x528df8,this[_0xe6882e(0x1f7)]=_0x2e1b6a;}[_0x198416(0x130)](_0x2a3d95){const _0x3d4883=_0x198416;this[_0x3d4883(0x261)](_0x2a3d95),this[_0x3d4883(0x1ca)](_0x2a3d95);}[_0x198416(0x108)](_0x170570){const _0x334274=_0x198416,{unitID:_0x363cab}=_0x170570,_0x22ad9f=this[_0x334274(0x1f7)][_0x334274(0x2cf)](_0x363cab)[_0x334274(0x375)](_0x414ffd[_0x334274(0x36b)]),{redoCache:_0x2ff035}=_0x22ad9f[_0x334274(0x1b9)]();if(_0x2ff035[_0x334274(0x2d9)]===0x0)return _0x170570;let _0x178a1=_0x41ed90[_0x334274(0x1d8)][_0x334274(0x16c)](_0x170570['mutations'][0x0]);for(let _0x5c198e=0x0;_0x5c198e<_0x2ff035[_0x334274(0x2d9)];_0x5c198e++){const _0x5a46c5={'id':_0x334274(0x387),'params':{..._0x2ff035[_0x5c198e]}},_0x21b894=this[_0x334274(0x18c)][_0x334274(0x326)](_0x178a1,_0x5a46c5,!0x1);if(_0x263378[_0x334274(0x148)](_0x21b894))throw _0x21b894['error'];_0x178a1=_0x21b894[_0x334274(0x31d)];}return{..._0x41ed90[_0x334274(0x1d8)][_0x334274(0x16c)](_0x170570),'mutations':[_0x178a1]};}[_0x198416(0x261)](_0x7ce3aa){const _0x39069a=_0x198416,{unitID:_0x29b2eb}=_0x7ce3aa,_0x266d00=this[_0x39069a(0x1f7)]['getRenderById'](_0x29b2eb)['with'](_0x414ffd['DocIMEInputManagerService']),{undoCache:_0x54770b,redoCache:_0x150040}=_0x266d00[_0x39069a(0x1b9)]();if(_0x54770b['length']===0x0||_0x150040[_0x39069a(0x2d9)]===0x0)return;const _0x4ed152=[],_0x3836e9=[];let _0x2b981b=_0x41ed90['Tools'][_0x39069a(0x16c)](_0x7ce3aa['mutations'][0x0]),_0x298263=_0x41ed90[_0x39069a(0x1d8)][_0x39069a(0x16c)](_0x7ce3aa['mutations'][0x0]);for(let _0xc5aba=_0x54770b[_0x39069a(0x2d9)]-0x1;_0xc5aba>=0x0;_0xc5aba--){const _0x9f476d={'id':'doc.mutation.rich-text-editing','params':{..._0x54770b[_0xc5aba]}},_0x8c7264={'id':_0x39069a(0x387),'params':{..._0x150040[_0xc5aba]}},_0x2613ea=this['_transformService'][_0x39069a(0x326)](_0x2b981b,_0x9f476d,!0x1),_0x437116=this[_0x39069a(0x18c)][_0x39069a(0x326)](_0x298263,_0x8c7264,!0x1);if(_0x263378[_0x39069a(0x148)](_0x2613ea))throw _0x2613ea[_0x39069a(0x12a)];if(_0x263378['isTransformMutationFailure'](_0x437116))throw _0x437116[_0x39069a(0x12a)];_0x4ed152['unshift'](_0x2613ea[_0x39069a(0x282)][_0x39069a(0x205)]),_0x3836e9[_0x39069a(0x25c)](_0x437116[_0x39069a(0x282)][_0x39069a(0x205)]),_0x2b981b=_0x2613ea[_0x39069a(0x31d)],_0x298263=_0x437116[_0x39069a(0x31d)];}_0x266d00[_0x39069a(0x1bc)]({'undoCache':_0x4ed152,'redoCache':_0x3836e9});}[_0x198416(0x1ca)](_0x212e94){const _0x2310b8=_0x198416,{unitID:_0x10ae3d}=_0x212e94,_0x2c0f6f=this['_renderManagerService'][_0x2310b8(0x2cf)](_0x10ae3d)[_0x2310b8(0x375)](_0x414ffd['DocIMEInputManagerService']),_0xd51c22=_0x2c0f6f[_0x2310b8(0x191)]();if(_0xd51c22==null)return;const _0x5f07fd=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x212e94[_0x2310b8(0x1bb)],'actions':null,'textRanges':[_0xd51c22]}}],_0xa9660b=this[_0x2310b8(0x18c)][_0x2310b8(0x356)](_0x212e94,_0x5f07fd);if(!_0x263378[_0x2310b8(0x296)](_0xa9660b))throw _0xa9660b[_0x2310b8(0x12a)];const _0x1ac775=_0xa9660b[_0x2310b8(0x282)][0x0]['params'][_0x2310b8(0x312)];Array[_0x2310b8(0x27a)](_0x1ac775)&&_0x1ac775[_0x2310b8(0x2d9)]&&_0x2c0f6f[_0x2310b8(0x2b0)](_0x1ac775[0x0]);}};_0x46e72e=_0x1c4227([_0x34f9d0(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x34f9d0(0x1,_0x263378['ITransformService']),_0x34f9d0(0x2,_0xbfdec3[_0x198416(0x1eb)])],_0x46e72e);var _0x2a65f2=Object[_0x198416(0x26c)],_0xe1808c=Object[_0x198416(0x27d)],_0x12b0be=(_0xa6bb3b,_0x18830c,_0x868d91,_0x4bd5e5)=>{const _0x22abd4=_0x198416;for(var _0x2b7383=_0x4bd5e5>0x1?void 0x0:_0x4bd5e5?_0xe1808c(_0x18830c,_0x868d91):_0x18830c,_0x3a358c=_0xa6bb3b[_0x22abd4(0x2d9)]-0x1,_0x500266;_0x3a358c>=0x0;_0x3a358c--)(_0x500266=_0xa6bb3b[_0x3a358c])&&(_0x2b7383=(_0x4bd5e5?_0x500266(_0x18830c,_0x868d91,_0x2b7383):_0x500266(_0x2b7383))||_0x2b7383);return _0x4bd5e5&&_0x2b7383&&_0x2a65f2(_0x18830c,_0x868d91,_0x2b7383),_0x2b7383;},_0x238860=(_0x426dd6,_0x3d7e65)=>(_0xf7cc8a,_0x617313)=>_0x3d7e65(_0xf7cc8a,_0x617313,_0x426dd6);let _0x60f80c=class{constructor(_0xc848f2,_0x353121,_0x221b0b){const _0x265e2c=_0x198416;this[_0x265e2c(0x1b6)]=_0xc848f2,this[_0x265e2c(0x18c)]=_0x353121,this['_docStateChangeManagerService']=_0x221b0b;}[_0x198416(0x1d6)](_0x168d2b){const _0x1eaf79=_0x198416;this[_0x1eaf79(0x31e)](_0x168d2b);}[_0x198416(0x108)](_0x55dff3){const _0x425621=_0x198416,{unitID:_0x23c14f}=_0x55dff3,{collaboration:_0x20e697}=this[_0x425621(0x24b)][_0x425621(0x2fc)](_0x23c14f);if(_0x20e697[_0x425621(0x2d9)]===0x0)return _0x55dff3;let _0x25f691=_0x41ed90[_0x425621(0x1d8)][_0x425621(0x16c)](_0x55dff3[_0x425621(0x275)][0x0]);for(let _0x5c999a=0x0;_0x5c999a<_0x20e697[_0x425621(0x2d9)];_0x5c999a++){const _0x2dbac3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20e697[_0x5c999a][_0x425621(0x38a)],..._0x20e697[_0x5c999a][_0x425621(0x28c)]}},_0x56f658=this[_0x425621(0x18c)][_0x425621(0x326)](_0x25f691,_0x2dbac3,!0x1);if(_0x263378[_0x425621(0x148)](_0x56f658))throw _0x56f658[_0x425621(0x12a)];_0x25f691=_0x56f658[_0x425621(0x31d)];}return{..._0x41ed90[_0x425621(0x1d8)][_0x425621(0x16c)](_0x55dff3),'mutations':[_0x25f691]};}[_0x198416(0x31e)](_0x174837){const _0xccdac5=_0x198416,{unitID:_0x5ef842}=_0x174837,{history:_0x56760c,collaboration:_0x3e4b62}=this[_0xccdac5(0x24b)][_0xccdac5(0x2fc)](_0x5ef842);if(_0x56760c[_0xccdac5(0x2d9)]===0x0&&_0x3e4b62[_0xccdac5(0x2d9)]===0x0)return;const _0x42e6c2=[],_0x2c5a38=[];let _0x3bc66c=_0x41ed90['Tools']['deepClone'](_0x174837[_0xccdac5(0x275)][0x0]),_0x2705b8=_0x41ed90[_0xccdac5(0x1d8)]['deepClone'](_0x174837[_0xccdac5(0x275)][0x0]);for(let _0x10ee3f=_0x56760c['length']-0x1;_0x10ee3f>=0x0;_0x10ee3f--){const _0x17ea43={'id':_0xccdac5(0x387),'params':{'unitId':_0x56760c[_0x10ee3f]['unitId'],..._0x56760c[_0x10ee3f][_0xccdac5(0x184)]}},_0x24c01a={'id':_0xccdac5(0x387),'params':{'unitId':_0x56760c[_0x10ee3f][_0xccdac5(0x38a)],..._0x56760c[_0x10ee3f][_0xccdac5(0x28c)]}},_0x27d97a=this[_0xccdac5(0x18c)]['transformMutation'](_0x3bc66c,_0x17ea43,!0x1),_0xe544db=this[_0xccdac5(0x18c)][_0xccdac5(0x326)](_0x2705b8,_0x24c01a,!0x1);if(_0x263378[_0xccdac5(0x148)](_0x27d97a))throw _0x27d97a[_0xccdac5(0x12a)];if(_0x263378[_0xccdac5(0x148)](_0xe544db))throw _0xe544db[_0xccdac5(0x12a)];_0x42e6c2[_0xccdac5(0x25c)]({..._0x56760c[_0x10ee3f],'undoState':_0x27d97a[_0xccdac5(0x282)][_0xccdac5(0x205)],'redoState':_0xe544db['m2Prime'][_0xccdac5(0x205)]}),_0x3bc66c=_0x27d97a[_0xccdac5(0x31d)],_0x2705b8=_0xe544db[_0xccdac5(0x31d)];}_0x3bc66c=_0x41ed90[_0xccdac5(0x1d8)][_0xccdac5(0x16c)](_0x174837[_0xccdac5(0x275)][0x0]),_0x2705b8=_0x41ed90[_0xccdac5(0x1d8)][_0xccdac5(0x16c)](_0x174837[_0xccdac5(0x275)][0x0]);for(let _0x541853=_0x3e4b62[_0xccdac5(0x2d9)]-0x1;_0x541853>=0x0;_0x541853--){const _0x5c1d5f={'id':_0xccdac5(0x387),'params':{'unitId':_0x3e4b62[_0x541853][_0xccdac5(0x38a)],..._0x3e4b62[_0x541853][_0xccdac5(0x184)]}},_0x5befbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e4b62[_0x541853][_0xccdac5(0x38a)],..._0x3e4b62[_0x541853][_0xccdac5(0x28c)]}},_0x201fa3=this['_transformService'][_0xccdac5(0x326)](_0x3bc66c,_0x5c1d5f,!0x1),_0x4a6871=this[_0xccdac5(0x18c)][_0xccdac5(0x326)](_0x2705b8,_0x5befbc,!0x1);if(_0x263378['isTransformMutationFailure'](_0x201fa3))throw _0x201fa3[_0xccdac5(0x12a)];if(_0x263378['isTransformMutationFailure'](_0x4a6871))throw _0x4a6871['error'];_0x2c5a38[_0xccdac5(0x25c)]({..._0x3e4b62[_0x541853],'undoState':_0x201fa3[_0xccdac5(0x282)]['params'],'redoState':_0x4a6871[_0xccdac5(0x282)]['params']}),_0x3bc66c=_0x201fa3[_0xccdac5(0x31d)],_0x2705b8=_0x4a6871[_0xccdac5(0x31d)];}this[_0xccdac5(0x24b)][_0xccdac5(0x1cb)](_0x5ef842,{'history':_0x42e6c2,'collaboration':_0x2c5a38});}};_0x60f80c=_0x12b0be([_0x238860(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x238860(0x1,_0x263378[_0x198416(0x22d)]),_0x238860(0x2,_0x41ed90['Inject'](_0x414ffd['DocStateChangeManagerService']))],_0x60f80c);var _0x227d89=Object[_0x198416(0x26c)],_0x5b55f2=Object[_0x198416(0x27d)],_0x66e5da=(_0x225f84,_0x10898b,_0x5187b8,_0x23c7fa)=>{for(var _0x4df2df=_0x23c7fa>0x1?void 0x0:_0x23c7fa?_0x5b55f2(_0x10898b,_0x5187b8):_0x10898b,_0x4adb21=_0x225f84['length']-0x1,_0xe87e80;_0x4adb21>=0x0;_0x4adb21--)(_0xe87e80=_0x225f84[_0x4adb21])&&(_0x4df2df=(_0x23c7fa?_0xe87e80(_0x10898b,_0x5187b8,_0x4df2df):_0xe87e80(_0x4df2df))||_0x4df2df);return _0x23c7fa&&_0x4df2df&&_0x227d89(_0x10898b,_0x5187b8,_0x4df2df),_0x4df2df;},_0x11d846=(_0x49fb1d,_0x153ccc)=>(_0x5ad662,_0x8eea46)=>_0x153ccc(_0x5ad662,_0x8eea46,_0x49fb1d);let _0x2350d7=class{constructor(_0x89e146,_0x9cbdda){const _0x23052d=_0x198416;this[_0x23052d(0x1b6)]=_0x89e146,this['_transformService']=_0x9cbdda;}[_0x198416(0x197)](_0x5217c0){const _0x4e2ada=_0x198416;var _0x1234bb;const _0x553a22=this[_0x4e2ada(0x1b6)][_0x4e2ada(0x165)](_0x4add3d[_0x4e2ada(0x362)]),_0x1f418e=(_0x1234bb=_0x553a22[_0x4e2ada(0x159)]())!=null?_0x1234bb:[];if(_0x1f418e[_0x4e2ada(0x2d9)]===0x0)return;const _0x46e8a1=_0x5217c0['unitID'],_0x5c02a1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e8a1,'actions':null,'textRanges':_0x1f418e}}],_0x5be05f=this[_0x4e2ada(0x18c)]['transformMutationsWithChangeset'](_0x5217c0,_0x5c02a1);if(!_0x263378[_0x4e2ada(0x296)](_0x5be05f))throw _0x5be05f[_0x4e2ada(0x12a)];const _0x20498d=_0x5be05f[_0x4e2ada(0x282)][0x0][_0x4e2ada(0x205)]['textRanges'];Array[_0x4e2ada(0x27a)](_0x20498d)&&_0x20498d['length']&&_0x553a22[_0x4e2ada(0x24d)](_0x20498d,{'unitId':_0x46e8a1,'subUnitId':_0x46e8a1},!0x1);}};_0x2350d7=_0x66e5da([_0x11d846(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x11d846(0x1,_0x263378[_0x198416(0x22d)])],_0x2350d7);var _0x12d949=Object[_0x198416(0x26c)],_0x3db070=Object[_0x198416(0x27d)],_0x56b151=(_0x409591,_0x966b30,_0x19a0d5,_0x88d97b)=>{const _0x1fba95=_0x198416;for(var _0x5077a6=_0x88d97b>0x1?void 0x0:_0x88d97b?_0x3db070(_0x966b30,_0x19a0d5):_0x966b30,_0x37aeee=_0x409591[_0x1fba95(0x2d9)]-0x1,_0x333016;_0x37aeee>=0x0;_0x37aeee--)(_0x333016=_0x409591[_0x37aeee])&&(_0x5077a6=(_0x88d97b?_0x333016(_0x966b30,_0x19a0d5,_0x5077a6):_0x333016(_0x5077a6))||_0x5077a6);return _0x88d97b&&_0x5077a6&&_0x12d949(_0x966b30,_0x19a0d5,_0x5077a6),_0x5077a6;},_0x58e77b=(_0x4dca68,_0x1fa073)=>(_0x156b3a,_0x5278a3)=>_0x1fa073(_0x156b3a,_0x5278a3,_0x4dca68);let _0x131808=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x2be19f,_0x1629bc,_0x131c8b,_0x2ffcc9,_0x944a18,_0x3cb07f,_0x2bda3d,_0x5d3cf1){const _0x5634ad=_0x198416;super(),_0x2983ed(this,'_status$',new _0x4784ed['BehaviorSubject'](_0x340b74[_0x5634ad(0x267)]['NOT_COLLAB'])),(this[_0x5634ad(0x24b)]=_0x2be19f,this[_0x5634ad(0x1ba)]=_0x1629bc,this[_0x5634ad(0x305)]=_0x131c8b,this[_0x5634ad(0x1a6)]=_0x2ffcc9,this[_0x5634ad(0x260)]=_0x944a18,this['_docSyncEditingCollabCursorService']=_0x3cb07f,this[_0x5634ad(0x140)]=_0x2bda3d,this[_0x5634ad(0x29e)]=_0x5d3cf1,this[_0x5634ad(0x33f)]());}[_0x198416(0x33f)](){const _0x32fff5=_0x198416;this['disposeWithMe'](this[_0x32fff5(0x1ba)]['entityInit$'][_0x32fff5(0x352)](_0x1bfcef=>{const _0x534145=_0x32fff5,_0x383006=this[_0x534145(0x24b)]['docStateChange$'][_0x534145(0x352)](_0x32aa92=>{const _0x5d29e0=_0x534145;if(_0x32aa92==null)return;const {unitId:_0x3b951a,redoState:_0x6bb8e7,commandId:_0x952d10}=_0x32aa92;if(_0x3b951a!==_0x1bfcef[_0x5d29e0(0x1bb)])return;const _0x5af75a={'id':_0x952d10,'type':_0x41ed90['CommandType'][_0x5d29e0(0x303)],'params':{'unitId':_0x3b951a,'actions':_0x6bb8e7['actions'],'textRanges':null}};_0x1bfcef[_0x5d29e0(0x232)](_0x5af75a);});if(_0x1bfcef[_0x534145(0x10f)](_0x383006),_0x1bfcef instanceof _0x340b74[_0x534145(0x341)]){const _0xcc19a4={'onTransformIME':_0x3fb48f=>this[_0x534145(0x305)]['transformIMECache'](_0x3fb48f),'onTransformState':_0x272938=>this[_0x534145(0x1a6)][_0x534145(0x1d6)](_0x272938),'onTransformSelections':_0x4969b8=>this['_docTransformSelectionsService'][_0x534145(0x197)](_0x4969b8),'onSyncEditingCollabCursor':_0x492ebe=>this[_0x534145(0x2c1)][_0x534145(0x2f7)](_0x492ebe),'onTransformRemoteChangesetByIMECache':_0x33ee3d=>this[_0x534145(0x305)][_0x534145(0x108)](_0x33ee3d),'onTransformRemoteChangesetByStateCache':_0x230ceb=>this[_0x534145(0x1a6)]['transformRemoteChangeset'](_0x230ceb)};_0x1bfcef['addHandlerCallback'](_0xcc19a4);}}));}};_0x131808=_0x56b151([_0x58e77b(0x0,_0x41ed90[_0x198416(0x300)](_0x414ffd[_0x198416(0x366)])),_0x58e77b(0x1,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x243)])),_0x58e77b(0x2,_0x41ed90['Inject'](_0x46e72e)),_0x58e77b(0x3,_0x41ed90[_0x198416(0x300)](_0x60f80c)),_0x58e77b(0x4,_0x41ed90[_0x198416(0x300)](_0x2350d7)),_0x58e77b(0x5,_0x41ed90[_0x198416(0x300)](_0x15e938)),_0x58e77b(0x6,_0x1d78d7[_0x198416(0x2cb)]),_0x58e77b(0x7,_0x41ed90['Inject'](_0x41ed90['LocaleService']))],_0x131808);var _0x306031=Object['defineProperty'],_0x432776=Object[_0x198416(0x27d)],_0x45ed9c=(_0x25c0d7,_0x399e23,_0x3f87b9,_0x2424f6)=>{const _0x259959=_0x198416;for(var _0x5f0520=_0x2424f6>0x1?void 0x0:_0x2424f6?_0x432776(_0x399e23,_0x3f87b9):_0x399e23,_0x184479=_0x25c0d7[_0x259959(0x2d9)]-0x1,_0x219daa;_0x184479>=0x0;_0x184479--)(_0x219daa=_0x25c0d7[_0x184479])&&(_0x5f0520=(_0x2424f6?_0x219daa(_0x399e23,_0x3f87b9,_0x5f0520):_0x219daa(_0x5f0520))||_0x5f0520);return _0x2424f6&&_0x5f0520&&_0x306031(_0x399e23,_0x3f87b9,_0x5f0520),_0x5f0520;},_0x7e04d0=(_0x234ca6,_0x299745)=>(_0x2a37dc,_0x3eedbb)=>_0x299745(_0x2a37dc,_0x3eedbb,_0x234ca6);let _0x4335b5=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x459918,_0x46b068,_0x1372ec){const _0x59e788=_0x198416;super(),_0x2983ed(this,_0x59e788(0x30f),new Map()),_0x2983ed(this,_0x59e788(0x19e),new Map()),_0x2983ed(this,'_disabled',!0x1),(this['_configService']=_0x459918,this['_localStorageService']=_0x46b068,this[_0x59e788(0x18e)]=_0x1372ec);}[_0x198416(0x199)](){const _0x47f6fe=_0x198416;this[_0x47f6fe(0x2d7)]=!0x0;}[_0x198416(0x2b2)](){const _0x4df996=_0x198416;this[_0x4df996(0x2d7)]=!0x1;}get[_0x198416(0x178)](){const _0x1888c0=_0x198416;return this[_0x1888c0(0x19e)];}[_0x198416(0x211)](){const _0x516d91=_0x198416;this[_0x516d91(0x193)]()[_0x516d91(0x371)](()=>super[_0x516d91(0x211)]());}async['loadOfflineData'](_0x4de3c2){const _0x2ea7e1=_0x198416;return this[_0x2ea7e1(0x2d7)]?null:this[_0x2ea7e1(0x2fa)][_0x2ea7e1(0x376)](_0x340b74[_0x2ea7e1(0x26b)](_0x4de3c2));}async[_0x198416(0x147)](_0x310d05,_0x3a77ca){const _0x158128=_0x198416;return!!this['_localStorageService'][_0x158128(0x121)](_0x310d05,_0x3a77ca);}['updateOfflineData'](_0x3b251b,_0x31ce19,_0xd926e8,_0x136183){const _0x184df8=_0x198416,_0x225551=this[_0x184df8(0x18e)]['getCurrentRevOfUnit'](_0x3b251b);this[_0x184df8(0x30f)][_0x184df8(0x297)](_0x3b251b,{'unitID':_0x3b251b,'type':_0x31ce19,'awaitingChangeset':_0xd926e8,'mutations':_0x136183,'rev':_0x225551}),this[_0x184df8(0x19e)][_0x184df8(0x27e)](_0x3b251b)||this[_0x184df8(0x2d1)](_0x3b251b);}[_0x198416(0x2d1)](_0x3597a8){const _0x176226=_0x198416,_0x12c70b=this[_0x176226(0x1de)]();_0x12c70b===0x0?this['_saveCache'](_0x3597a8):this[_0x176226(0x19e)]['set'](_0x3597a8,setTimeout(()=>this[_0x176226(0x32f)](_0x3597a8),_0x12c70b));}['_getSaveTimeout'](){const _0x28b201=_0x198416;var _0x31305a;return(_0x31305a=this[_0x28b201(0x31a)][_0x28b201(0x21d)](_0x340b74[_0x28b201(0x198)]))!=null?_0x31305a:_0x340b74[_0x28b201(0x1d1)];}['_saveCache'](_0x2d8dab){const _0x35953d=_0x198416,_0x395b04=this[_0x35953d(0x19e)][_0x35953d(0x165)](_0x2d8dab);return _0x395b04!==void 0x0&&window[_0x35953d(0x181)](_0x395b04),this['_localStorageService'][_0x35953d(0x121)](_0x340b74[_0x35953d(0x26b)](_0x2d8dab),this[_0x35953d(0x30f)][_0x35953d(0x165)](_0x2d8dab))['then'](()=>this[_0x35953d(0x19e)][_0x35953d(0x1a9)](_0x2d8dab));}async[_0x198416(0x193)](){const _0x1571ac=_0x198416,_0x189733=[];this[_0x1571ac(0x19e)][_0x1571ac(0x21c)]((_0x5df1a3,_0x33840d)=>{const _0x45aaaf=_0x1571ac;window['clearTimeout'](_0x5df1a3),_0x189733[_0x45aaaf(0x26a)](this[_0x45aaaf(0x32f)](_0x33840d)[_0x45aaaf(0x371)](()=>{const _0x4b0ffc=_0x45aaaf;this[_0x4b0ffc(0x19e)][_0x4b0ffc(0x1a9)](_0x33840d);}));}),await Promise[_0x1571ac(0x346)](_0x189733);}};_0x4335b5=_0x45ed9c([_0x7e04d0(0x0,_0x41ed90[_0x198416(0x301)]),_0x7e04d0(0x1,_0x41ed90[_0x198416(0x1c3)]),_0x7e04d0(0x2,_0x41ed90[_0x198416(0x300)](_0x263378[_0x198416(0x32d)]))],_0x4335b5);class _0x494108 extends _0x41ed90[_0x198416(0x12e)]{constructor(){const _0xa9cbb9=_0x198416;super(),_0x2983ed(this,_0xa9cbb9(0x350)),this[_0xa9cbb9(0x350)]=_0x4784ed[_0xa9cbb9(0x11b)](window,_0xa9cbb9(0x2c8))[_0xa9cbb9(0x213)](_0x4784ed[_0xa9cbb9(0x221)](this[_0xa9cbb9(0x1b8)]),_0x4784ed[_0xa9cbb9(0x2d8)](0x1),_0x4784ed[_0xa9cbb9(0x19c)](void 0x0));}[_0x198416(0x33e)](_0x431dce,_0x673533,_0x1b2e30=!0x1){const _0x19680d=_0x198416,_0x57f10e=new URL(window[_0x19680d(0x230)][_0x19680d(0x14d)]);_0x57f10e[_0x19680d(0x10d)][_0x19680d(0x297)](_0x431dce,_0x673533),_0x1b2e30?window[_0x19680d(0x229)]['replaceState']('','',_0x57f10e[_0x19680d(0x23b)]()):window['history'][_0x19680d(0x30c)]('','',_0x57f10e[_0x19680d(0x23b)]());}[_0x198416(0x1c8)](_0x45f100,_0x56ed92=!0x1){const _0x360b57=_0x198416,_0x2c095c=new URL(window[_0x360b57(0x230)][_0x360b57(0x14d)]);_0x2c095c[_0x360b57(0x10d)][_0x360b57(0x1a9)](_0x45f100),_0x56ed92?window[_0x360b57(0x229)][_0x360b57(0x1ee)]('','',_0x2c095c[_0x360b57(0x23b)]()):window[_0x360b57(0x229)][_0x360b57(0x30c)]('','',_0x2c095c[_0x360b57(0x23b)]());}[_0x198416(0x15a)](_0x466fb7){const _0x5c3bce=_0x198416;var _0x30d33b;return(_0x30d33b=new URL(window[_0x5c3bce(0x230)][_0x5c3bce(0x14d)])[_0x5c3bce(0x10d)][_0x5c3bce(0x165)](_0x466fb7))!=null?_0x30d33b:void 0x0;}}var _0x180a63=Object['defineProperty'],_0x3fa1b7=Object['getOwnPropertyDescriptor'],_0x37a600=(_0x34d9af,_0x14b40f,_0x385015)=>_0x14b40f in _0x34d9af?_0x180a63(_0x34d9af,_0x14b40f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x385015}):_0x34d9af[_0x14b40f]=_0x385015,_0x4509dc=(_0x1398dd,_0x51a039,_0x444821,_0x36b50e)=>{const _0x32a981=_0x198416;for(var _0x52d72f=_0x36b50e>0x1?void 0x0:_0x36b50e?_0x3fa1b7(_0x51a039,_0x444821):_0x51a039,_0x27b9ef=_0x1398dd[_0x32a981(0x2d9)]-0x1,_0x132bfe;_0x27b9ef>=0x0;_0x27b9ef--)(_0x132bfe=_0x1398dd[_0x27b9ef])&&(_0x52d72f=(_0x36b50e?_0x132bfe(_0x51a039,_0x444821,_0x52d72f):_0x132bfe(_0x52d72f))||_0x52d72f);return _0x36b50e&&_0x52d72f&&_0x180a63(_0x51a039,_0x444821,_0x52d72f),_0x52d72f;},_0x3dd94b=(_0x2dc411,_0x1c47b3)=>(_0x831432,_0x410246)=>_0x1c47b3(_0x831432,_0x410246,_0x2dc411),_0x59e052=(_0x221a16,_0x5b36b7,_0x6577de)=>_0x37a600(_0x221a16,_0x5b36b7+'',_0x6577de);const _0x31d400=_0x198416(0x32e);_0x575827[_0x198416(0x20a)]=class extends _0x41ed90['Plugin']{constructor(_0x4d3349=_0x3ccc5e,_0x1096ee,_0x4f73b1,_0x335277){const _0x16471d=_0x198416;super(),this[_0x16471d(0x32b)]=_0x4d3349,this[_0x16471d(0x1f7)]=_0x1096ee,this['_injector']=_0x4f73b1,this[_0x16471d(0x31a)]=_0x335277;const {..._0x527ff6}=_0x41ed90[_0x16471d(0x337)]({},_0x3ccc5e,this[_0x16471d(0x32b)]);this[_0x16471d(0x31a)][_0x16471d(0x266)](_0x33fe3e,_0x527ff6);}[_0x198416(0x2b4)](){const _0x115a10=_0x198416;this[_0x115a10(0x2c3)](),this[_0x115a10(0x27b)]();}[_0x198416(0x1fc)](){const _0x14ff59=_0x198416;this[_0x14ff59(0x33d)]();}['_registerDependencies'](){const _0x456f97=_0x198416;var _0x323652;const _0x35ee69=[[_0x40e529],[_0x2350d7],[_0x46e72e],[_0x60f80c],[_0x15e938],[_0x2b708f,{'useClass':_0x494108}],[_0x3ea834[_0x456f97(0x330)],{'useClass':_0x3ea834[_0x456f97(0x246)]}],[_0x340b74[_0x456f97(0x1b3)],{'useClass':_0x4335b5}],[_0x575827['DesktopCollaborationStatusDisplayController']],[_0x131808],[_0x27411f],[_0x386fb1],[_0x1a3b85],[_0x575827[_0x456f97(0x276)]]];_0x41ed90['registerDependencies'](this[_0x456f97(0x1b6)],_0x41ed90[_0x456f97(0x30b)](_0x35ee69,(_0x323652=this[_0x456f97(0x32b)])==null?void 0x0:_0x323652['override']));}[_0x198416(0x33d)](){const _0x1c4b41=_0x198416;this[_0x1c4b41(0x10f)](this[_0x1c4b41(0x1f7)][_0x1c4b41(0x2a1)](_0x41ed90[_0x1c4b41(0x277)][_0x1c4b41(0x1ea)],[_0x384df2])),this[_0x1c4b41(0x10f)](this[_0x1c4b41(0x1f7)][_0x1c4b41(0x2a1)](_0x41ed90[_0x1c4b41(0x277)][_0x1c4b41(0x2c4)],[_0x11ba9b]));}[_0x198416(0x27b)](){const _0x84a4e2=_0x198416;_0x41ed90['touchDependencies'](this[_0x84a4e2(0x1b6)],[[_0x386fb1],[_0x575827[_0x84a4e2(0x2d0)]],[_0x131808],[_0x27411f],[_0x575827['CollaborationDataLoaderController']]]);}},_0x59e052(_0x575827[_0x198416(0x20a)],'pluginName',_0x31d400),_0x575827['UniverCollaborationClientUIPlugin']=_0x4509dc([_0x41ed90[_0x198416(0x1af)](_0x340b74[_0x198416(0x12c)]),_0x3dd94b(0x1,_0xbfdec3[_0x198416(0x1eb)]),_0x3dd94b(0x2,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x287)])),_0x3dd94b(0x3,_0x41ed90[_0x198416(0x301)])],_0x575827['UniverCollaborationClientUIPlugin']);const _0x3f3183=0x7530,_0x6e8255=_0x198416(0x307);class _0x2a834a extends _0x41ed90[_0x198416(0x313)]{constructor(){const _0x3fbfdc=_0x198416;super(),_0x2983ed(this,_0x3fbfdc(0x273),_0x41ed90[_0x3fbfdc(0x1d8)]['generateRandomId']()),_0x2983ed(this,_0x3fbfdc(0x11e),new Set()),_0x2983ed(this,_0x3fbfdc(0x35b),new Map()),_0x2983ed(this,_0x3fbfdc(0x2ae),null),_0x2983ed(this,'_clearOtherTimers',new Map()),_0x2983ed(this,_0x3fbfdc(0x200),new Map()),this[_0x3fbfdc(0x37c)]();}['dispose'](){const _0xf9efa7=_0x198416;super[_0xf9efa7(0x211)](),this[_0xf9efa7(0x318)]['forEach']((_0x406c2f,_0x5d80a1)=>this['_removeClearOtherTimer'](_0x5d80a1)),this[_0xf9efa7(0x2ae)]&&window[_0xf9efa7(0x36d)](this['_heartbeatTimer']);}[_0x198416(0x316)](_0x18b3da){const _0x134875=_0x198416;return this[_0x134875(0x149)](_0x18b3da)[_0x134875(0x213)](_0x4784ed['distinctUntilChanged']());}[_0x198416(0x226)](_0x4c2cc2){const _0x34e3f7=_0x198416;this[_0x34e3f7(0x11e)][_0x34e3f7(0x12f)]===0x0&&this[_0x34e3f7(0x329)](),this[_0x34e3f7(0x11e)][_0x34e3f7(0x37a)](_0x4c2cc2),this[_0x34e3f7(0x237)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4c2cc2],'isForwarded':!0x1});}['disposeUnit'](_0x40a967){const _0xb54f3f=_0x198416;this[_0xb54f3f(0x11e)][_0xb54f3f(0x1a9)](_0x40a967),this['_selfUnitIDs'][_0xb54f3f(0x12f)]===0x0&&this[_0xb54f3f(0x2ae)]&&window[_0xb54f3f(0x36d)](this[_0xb54f3f(0x2ae)]);}[_0x198416(0x37c)](){const _0xadc42a=_0x198416;this[_0xadc42a(0x10f)](_0x41ed90[_0xadc42a(0x33b)](_0x4784ed[_0xadc42a(0x11b)](window,'storage')[_0xadc42a(0x352)](_0xf40fdb=>{const _0x60a17=_0xadc42a;if(_0xf40fdb[_0x60a17(0x289)]!==_0x6e8255||!_0xf40fdb[_0x60a17(0x358)])return;const _0xe04e87=JSON[_0x60a17(0x333)](_0xf40fdb[_0x60a17(0x358)]);this[_0x60a17(0x125)](_0xe04e87);}))),window[_0xadc42a(0x25a)](_0xadc42a(0x1a5),()=>this[_0xadc42a(0x237)]({'type':0x1,'memberID':this[_0xadc42a(0x273)],'unitIDs':Array[_0xadc42a(0x116)](this[_0xadc42a(0x11e)])}));}[_0x198416(0x125)](_0x2a4a82){const _0x197ec9=_0x198416;switch(_0x2a4a82[_0x197ec9(0x143)]){case 0x0:this[_0x197ec9(0x1c7)](_0x2a4a82);break;case 0x1:this[_0x197ec9(0x186)](_0x2a4a82);break;case 0x2:this['_handleHeartbeatEvent'](_0x2a4a82);break;}}[_0x198416(0x1c7)](_0x2c14c0){const _0x20c5f1=_0x198416,{unitIDs:_0x100a0f,memberID:_0x3aa054,isForwarded:_0x545096}=_0x2c14c0;_0x100a0f[_0x20c5f1(0x21c)](_0x2ce80a=>{const _0x2adc52=_0x20c5f1;if(!_0x545096&&this[_0x2adc52(0x35b)][_0x2adc52(0x27e)](_0x2ce80a)&&this[_0x2adc52(0x149)](_0x2ce80a)[_0x2adc52(0x1b1)](_0x340b74[_0x2adc52(0x23e)][_0x2adc52(0x14e)]),!this[_0x2adc52(0x35b)][_0x2adc52(0x27e)](_0x2ce80a)||!this['_unitOnClients']['get'](_0x2ce80a)[_0x2adc52(0x27e)](_0x3aa054)){const _0x2e706c=this['_unitOnClients'][_0x2adc52(0x165)](_0x2ce80a)||new Set();_0x2e706c['add'](_0x3aa054),this[_0x2adc52(0x35b)][_0x2adc52(0x297)](_0x2ce80a,_0x2e706c),this[_0x2adc52(0x239)](_0x3aa054);}}),_0x545096||this[_0x20c5f1(0x237)]({'type':0x0,'memberID':this[_0x20c5f1(0x273)],'unitIDs':[...this[_0x20c5f1(0x11e)]],'isForwarded':!0x0});}[_0x198416(0x239)](_0x3fb9a2){const _0x2ba9ba=_0x198416;this['_removeClearOtherTimer'](_0x3fb9a2);const _0x2eaff1=window[_0x2ba9ba(0x308)](()=>{const _0x5572b8=_0x2ba9ba;this[_0x5572b8(0x35b)][_0x5572b8(0x21c)](_0x344a84=>{_0x344a84['delete'](_0x3fb9a2);});},_0x3f3183*0x2);this[_0x2ba9ba(0x318)][_0x2ba9ba(0x297)](_0x3fb9a2,_0x2eaff1);}[_0x198416(0x136)](_0x341747){const _0x2b9ba3=_0x198416;if(this[_0x2b9ba3(0x318)][_0x2b9ba3(0x27e)](_0x341747)){const _0xfc2ec0=this[_0x2b9ba3(0x318)][_0x2b9ba3(0x165)](_0x341747);_0xfc2ec0&&window['clearTimeout'](_0xfc2ec0),this[_0x2b9ba3(0x318)][_0x2b9ba3(0x297)](_0x341747,null);}}[_0x198416(0x186)](_0x1a7878){const _0x1e7f59=_0x198416,{memberID:_0x39e224,unitIDs:_0x4e5bba}=_0x1a7878;_0x4e5bba[_0x1e7f59(0x21c)](_0x1ba799=>{const _0x32a81e=_0x1e7f59;var _0x1146ca;const _0x290b6c=this['_unitOnClients'][_0x32a81e(0x165)](_0x1ba799);_0x290b6c&&(_0x290b6c['delete'](_0x39e224),(_0x1146ca=this[_0x32a81e(0x149)](_0x1ba799))==null||_0x1146ca[_0x32a81e(0x1b1)](_0x290b6c['size']===0x0?_0x340b74['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x340b74['UnitStatus'][_0x32a81e(0x14e)]));}),this[_0x1e7f59(0x136)](_0x39e224);}[_0x198416(0x209)](_0x5a673f){const _0x2435eb=_0x198416;this[_0x2435eb(0x239)](_0x5a673f[_0x2435eb(0x268)]);}[_0x198416(0x237)](_0x41e064){const _0x187cfc=_0x198416;localStorage[_0x187cfc(0x121)](_0x6e8255,JSON[_0x187cfc(0x12b)](_0x41e064));}[_0x198416(0x329)](){const _0x547345=_0x198416;this[_0x547345(0x2ae)]=window['setInterval'](()=>{const _0x46403c=_0x547345;this['_send']({'type':0x2,'memberID':this[_0x46403c(0x273)]});},_0x3f3183);}[_0x198416(0x149)](_0x5db680){const _0x20f453=_0x198416;return this[_0x20f453(0x200)][_0x20f453(0x27e)](_0x5db680)||this[_0x20f453(0x200)][_0x20f453(0x297)](_0x5db680,new _0x4784ed[(_0x20f453(0x21b))](_0x340b74[_0x20f453(0x23e)][_0x20f453(0x24f)])),this[_0x20f453(0x200)][_0x20f453(0x165)](_0x5db680);}}var _0x44208c=(_0x2e0796=>(_0x2e0796[_0x2e0796[_0x198416(0x328)]=0x0]='UNDEFINED',_0x2e0796[_0x2e0796['OK']=0x1]='OK',_0x2e0796[_0x2e0796[_0x198416(0x104)]=0x2]=_0x198416(0x104),_0x2e0796[_0x2e0796[_0x198416(0x244)]=0x3]=_0x198416(0x244),_0x2e0796[_0x2e0796[_0x198416(0x2a3)]=0x4]=_0x198416(0x2a3),_0x2e0796[_0x2e0796['UNAUTHENTICATED']=0x5]=_0x198416(0x35c),_0x2e0796[_0x2e0796[_0x198416(0x386)]=0x6]=_0x198416(0x386),_0x2e0796[_0x2e0796[_0x198416(0x185)]=0x7]='INVALID_ARGUMENT',_0x2e0796[_0x2e0796['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2e0796[_0x2e0796[_0x198416(0x179)]=0x9]='COMPLETION_FINISHED',_0x2e0796[_0x2e0796[_0x198416(0x1fd)]=0x1389]=_0x198416(0x1fd),_0x2e0796[_0x2e0796[_0x198416(0x161)]=0x1771]=_0x198416(0x161),_0x2e0796[_0x2e0796[_0x198416(0x15e)]=0x1772]=_0x198416(0x15e),_0x2e0796[_0x2e0796[_0x198416(0x363)]=0x1773]=_0x198416(0x363),_0x2e0796[_0x2e0796[_0x198416(0x37b)]=0x1b59]=_0x198416(0x37b),_0x2e0796[_0x2e0796['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x198416(0x30d),_0x2e0796[_0x2e0796[_0x198416(0x389)]=0x1b5b]=_0x198416(0x389),_0x2e0796[_0x2e0796[_0x198416(0x241)]=0x1b5c]=_0x198416(0x241),_0x2e0796[_0x2e0796[_0x198416(0x195)]=0x1b5d]=_0x198416(0x195),_0x2e0796[_0x2e0796[_0x198416(0x174)]=0x1f41]=_0x198416(0x174),_0x2e0796[_0x2e0796[_0x198416(0x1a3)]=0x2329]=_0x198416(0x1a3),_0x2e0796[_0x2e0796[_0x198416(0x388)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2e0796[_0x2e0796['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x198416(0x204),_0x2e0796[_0x2e0796[_0x198416(0x2a4)]=0x232c]=_0x198416(0x2a4),_0x2e0796[_0x2e0796['LICENSE_DISTRO_REJECTED']=0x232d]=_0x198416(0x2b3),_0x2e0796[_0x2e0796[_0x198416(0x247)]=0x2711]=_0x198416(0x247),_0x2e0796[_0x2e0796[_0x198416(0x172)]=0x2712]=_0x198416(0x172),_0x2e0796[_0x2e0796['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x198416(0x2b1),_0x2e0796[_0x2e0796[_0x198416(0x359)]=0x2714]=_0x198416(0x359),_0x2e0796[_0x2e0796[_0x198416(0x2a2)]=-0x1]='UNRECOGNIZED',_0x2e0796))(_0x44208c||{}),_0x12f395=Object[_0x198416(0x26c)],_0x225337=Object[_0x198416(0x27d)],_0x213c74=(_0x85264e,_0x19bcd7,_0x5b5db7,_0x578ab3)=>{const _0xfd7f0e=_0x198416;for(var _0x5eec47=_0x578ab3>0x1?void 0x0:_0x578ab3?_0x225337(_0x19bcd7,_0x5b5db7):_0x19bcd7,_0x214d0e=_0x85264e[_0xfd7f0e(0x2d9)]-0x1,_0x297534;_0x214d0e>=0x0;_0x214d0e--)(_0x297534=_0x85264e[_0x214d0e])&&(_0x5eec47=(_0x578ab3?_0x297534(_0x19bcd7,_0x5b5db7,_0x5eec47):_0x297534(_0x5eec47))||_0x5eec47);return _0x578ab3&&_0x5eec47&&_0x12f395(_0x19bcd7,_0x5b5db7,_0x5eec47),_0x5eec47;},_0x31b84b=(_0xd45cf,_0x23920b)=>(_0x5cccf8,_0x17febf)=>_0x23920b(_0x5cccf8,_0x17febf,_0xd45cf);_0x575827[_0x198416(0x1e6)]=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x5139e4,_0x1ba7e3,_0x153d4c){const _0x2e5c20=_0x198416;super(),this[_0x2e5c20(0x1f9)]=_0x5139e4,this[_0x2e5c20(0x2c5)]=_0x1ba7e3,this[_0x2e5c20(0x31a)]=_0x153d4c;}async[_0x198416(0x139)](_0x16bcf2,_0x4a1def,..._0x531d3e){const _0x409186=_0x198416;var _0x5475c2,_0x303be0;const _0xf7bd5d=this[_0x409186(0x1f9)]['getFocusedUnit']();if(!_0xf7bd5d)throw new Error(_0x409186(0x1b5));const _0x2cdacd=((_0x5475c2=this[_0x409186(0x31a)][_0x409186(0x21d)](_0x340b74[_0x409186(0x163)]))!=null?_0x5475c2:_0x340b74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x16bcf2+_0x409186(0x1d5)+_0x4a1def,_0x1338d3=new URL(window[_0x409186(0x230)]['href']),_0x4534d0={'scriptId':_0x16bcf2,'runId':(_0x303be0=_0x1338d3[_0x409186(0x10d)][_0x409186(0x165)](_0x409186(0x28f)))!=null?_0x303be0:'','function':_0x4a1def,'unitId':_0xf7bd5d[_0x409186(0x374)](),'argsOfFunction':JSON[_0x409186(0x12b)](_0x531d3e)};try{const _0x1be394=await this[_0x409186(0x2c5)][_0x409186(0x114)](_0x2cdacd,{'body':_0x4534d0});return!(_0x1be394['body'][_0x409186(0x12a)]&&_0x1be394[_0x409186(0x109)][_0x409186(0x12a)]['code']!==_0x44208c['OK']);}catch{return!0x1;}}},_0x575827[_0x198416(0x1e6)]=_0x213c74([_0x31b84b(0x0,_0x41ed90[_0x198416(0x29c)]),_0x31b84b(0x1,_0x41ed90[_0x198416(0x300)](_0x3ea834['HTTPService'])),_0x31b84b(0x2,_0x41ed90['IConfigService'])],_0x575827[_0x198416(0x1e6)]),_0x575827['CollaborationStatusDisplay']=_0x55ce54,_0x575827[_0x198416(0x382)]=_0x2b708f,_0x575827[_0x198416(0x248)]=_0x24526b,_0x575827[_0x198416(0x1e7)]=_0x2a834a,_0x575827['WebURLService']=_0x494108,Object[_0x198416(0x26c)](_0x575827,Symbol['toStringTag'],{'value':'Module'});}));function _0x404a(_0x18ea33,_0x5be39b){const _0xde709=_0xde70();return _0x404a=function(_0x404a79,_0x441a88){_0x404a79=_0x404a79-0x101;let _0x306d91=_0xde709[_0x404a79];return _0x306d91;},_0x404a(_0x18ea33,_0x5be39b);}function _0xde70(){const _0x11ba5c=['for','_updateSubUnitFromURLParams','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','height','_roomMembers$','react.element','_updateLocalCursor','saveImage','UniverDocs','getTypeOfUnitAdded$','currentSkeleton$','_getMergeRange','engine','whenReady','...','_labelPosition','triggerDblclick','bottom','handleInsertRangeMoveRight','MemberService','debounce','EffectRefRangId','offline','8FrRMCX','black','syncEditingCollabCursor','MoveRangeCommandId','range','_localStorageService','IImageIoService','getStateCache','_sheetSkeletonManagerService','@univerjs/sheets-ui','translate(.97)','Inject','IConfigService','hide','MUTATION','_eventUnsubscribe','_docTransformIMECacheService','174219iXYfIP','ACTIVE_UNIT_EVENT_CHANNEL','setTimeout','getColor','defs','mergeOverrideWithDependencies','pushState','APPLY_NON_SEQUENTIAL_REVISION','ThemeService','_cachedData','50QwmSDC','handleInsertRangeMoveDown','textRanges','Disposable','_memberService','univer-online-status-icon','getUnitStatus$','@univerjs/docs-ui','_clearOtherTimers','currentColor','_configService','getCurrentSelections','source','m1Prime','_transformHistoryAndStateStack','skeleton','_color','_session','UPDATE_CURSOR','UniverSheets','_document','_docSkeleton','transformMutation','registerRefRange','UNDEFINED','_scheduleHeartbeat','getVpScrollXYInfoByPosToVp','_config','_onRefRangeChange','RevisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','ISocketService','transformByState','displayName','parse','apply','SHEET_VIEWPORT_KEY','eventID','merge','_status$','useRef','uni.network.url-service','toDisposable','activeSheet$','_registerRenderDependencies','setParam','_initEntityListener','substring','DocCollaborationEntity','@univerjs/engine-formula','RemoveRowCommandId','_colorIndex','purple300','all','FromArray','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','IBeforeCloseService','_anchorDot','selection','@univerjs/engine-render','url(#off-line-single_clip0_910_343)','red300','urlChange$','Subject','subscribe','handleInsertRow','imageSourceType','UniverNetwork','transformMutationsWithChangeset','handleDeleteRangeMoveUp','newValue','YUUMI_SUBSCRIPTION_NOT_FOUND','complete','_unitOnClients','UNAUTHENTICATED','propertyIsEnumerable','ColorKit','defaultProps','sessionStatus$','0\x200\x2016\x2016','DocSelectionManagerService','ENSURE_SNAPSHOT_EXECUTION','RemoveColCommandId','RegularPolygon','DocStateChangeManagerService','IRemoteInstanceService','_removeCollabCursors','replace','_scene','DocIMEInputManagerService','gold400','clearInterval','collab-client.tooltip.reconnect','resize','_online','then','attrs','_imageIoService','getUnitId','with','getItem','onMouseMove','RECT','split','add','APPLY_REJECT','_init','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','fromEventSubject','createIdentifier','SetWorksheetActivateCommand','session.collaboration-timeout','IURLService','values','_onCursorDelete','_handleHover','ALREADY_EXISTS','doc.mutation.rich-text-editing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','unitId','InsertRangeMoveDownCommandId','@univerjs/network','RichTextEditingMutation','INTERNAL_ERROR','min','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','transformRemoteChangeset','body','_collabCursorController','_docClipboardService','setShapeProps','searchParams','_commandService','disposeWithMe','unsubscribe','idSuffix','getUniverSheetInstance','concat','post','_draw','from','TEXT','_range','_toggleOnline','getSheetId','fromEvent','trim','contains','_selfUnitIDs','filter','serializeRangeWithSheet','setItem','univer-online-status-title','AWAITING_WITH_PENDING','OnLineSingle','_handleEvent','show','findNodePositionByCharIndex','getCoordByCell','ReactCurrentOwner','error','stringify','UniverCollaborationClientPlugin','_cursor','RxDisposable','size','transformIMECache','1em','setAlpha','_hover','getTypeOfUnitDisposed$','OffLineSingle','_removeClearOtherTimer','_toggleOffline','@univerjs/design','runOnServer','_entities','_setupBeforeClosingHandler','getOwnPropertySymbols','debounceTime','width','#FFF','_messageService','InsertRowCommandId','DOC_RANGE_TYPE','type','react','UniverCore','_cursorShapes','saveOfflineData','isTransformMutationFailure','_ensureSubject','_startDocCollabCursor','find','indexOf','href','OTHER_CLIENTS_EDITING','_textBubble','startColumn','row','DeleteRangeMoveLeftCommandId','_getScale','_hovered','_updateURLWithCurrentState','M0\x200H16V16H0z','COLORS','addObjects','getDocRanges','getParam','@univerjs/drawing','online','_render','SNAPSHOT_HAS_BEEN_REMOVED','VIEW_MAIN','requireSession','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/core','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','roomMembers$','get','permission.content','_collaborationUIEventService','runRefRangeMutations','deserializeRangeWithSheet','UniverIcon','onlineStatus','deepClone','InsertColCommandId','@univerjs/ui','UniverSheetsUi','CONFLICT','getSheetBySheetId','YUUMI_URL_COL_OUT_OF_RANGE','selections','CONNECTOR_DATA_TOO_LARGE','symbol','onCommandExecuted','font','saveTaskMap','COMPLETION_FINISHED','_hideTimer','LocaleService','22XNBtbF','SOCKET_FAILED_RETRY','[CollaborationDataLoaderController]','_notificationService','children','clearTimeout','_cursorInfo$','moveTo','undoState','INVALID_ARGUMENT','_handleLeaveEvent','fillText','_docSkeletonManagerService','text','assignAColorForMemberID','getMergeData','_transformService','_urlService','_revisionService','collaboration.closeRoom','collaboration.single-unit.warning','getActiveRange','measureText','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_DUPLICATED','144583eNxlRe','transformSelections','LOCAL_CACHE_INTERVAL_KEY','disableLocalCache','map','onPointerLeave$','mapTo','path','_saveTaskMap','OFFLINE','UniverEngineFormula','_refRangeService','subunit','LICENSE_MAX_UNITS_EXCEEDED','isEditing','unload','_docTransformStateCacheService','collab-text-anchor-','getCurrent','delete','off-line-single','IUIPartsService','Rectangle','defIds','hovered','DependentOn','exports','next','loadUnit','ILocalCacheService','collab-rect-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_injector','_lastPointer','dispose$','getUndoRedoMutationParamsCache','_collaborationController','unitID','setUndoRedoMutationParamsCache','sheetId','fillStyle','xlink:href','prototype','_initStatusListener','handleIRemoveRow','ILocalStorageService','USERS_LEAVE','closePath','NodePositionConvertToRectRange','_handleJoinEvent','removeParam','use','_transformPreviousActiveRange','setStateCache','getSkeleton','addObject','jsx','InsertRangeMoveRightCommandId','getSheetObject','LOCAL_CACHE_INTERVAL','531516TSAUCH','backgroundColor','_localCacheService','/run/','transformStateCache','UniverDocsUi','Tools','call','univerjs-icon\x20univerjs-icon-','Workbook','_drawRectRange','ICommandService','_getSaveTimeout','_initStatusComponent','UniverEngineRender','SetSelectionsOperation','_syncEditingCollabCursorService','_context','Shape','toRgbString','RemoteUniscriptService','WebBrowserSingleActiveUnitService','Vector2','SessionStatus','UNIVER_DOC','IRenderManagerService','svg','SOCKET_FAILED','replaceState','getMemberID','none','asObservable','labelPosition','RefRangeService','restore','generateRandomId','ONLINE','_renderManagerService','@univerjs-pro/collaboration','_instanceService','Rect','current','onRendered','CHANGESET_REVISION_CONFILICT','@univerjs-pro/collaboration-client','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','_unitStatus','SheetSkeletonManagerService','div','_assignedColors','LICENSE_IMPORT_SIZE_EXCEEDED','params','_univerInstanceService','_logService','color','_handleHeartbeatEvent','UniverCollaborationClientUIPlugin','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDrawing','Warning','init','CollaborationUIEventId','getRelativeToViewportCoord','dispose','handleInsertCol','pipe','url(#$1','fill','top','_onCursorUpdate','onPointerEnter$','getCollabCursors$','_backgroundColor','BehaviorSubject','forEach','getConfig','TEXT_RANGE_LAYER_INDEX','collaboration-client-ui.config','getCurrentUnitForType','takeUntil','JOIN_ROOM_FAILED','throttleTime','fillRule','string','editingUnit','assign','getAncestorScale','history','_drawTextRange','createElement','react.fragment','ITransformService','useCallback','@univerjs/sheets','location','16326oLxlEi','onLocalMutation','endColumn','@univerjs/docs','cursorInfo$','entries','_send','onPointerMove$','_scheduleClearOtherTimer','className','toString','getUnhiddenWorksheets','_startSheetCollabCursor','UnitStatus','CollaborationSessionService','getRangePointData','APPLY_PERMISSION_DENIED','url(#on-line-single_clip0_910_349)','CollaborationController','PERMISSION_DENIED','PENDING','WebSocketService','YUUMI_UNABLE_LOAD_URL','SheetCollabCursorShape','_getAnchorBounding','collabStatus.notCollab','_docStateChangeManagerService','MessageType','replaceDocRanges','collabStatus.conflict','NO_OTHER_CLIENTS_EDITING','sheetID','NOT_COLLAB','#fff','_initCommandExecutedListener','debug','_shapes','_collabCursorState$','DataLoaderService','transform','collabCursorState$','addEventListener','_anchor','unshift','lineTo','executeCommand','getFocusedUnit','_docTransformSelectionsService','_transformUndoRedoStack','_colorAssignService','switchMap','2lqglVE','rxjs','setConfig','CollaborationStatus','memberID','Error','push','getLocalCacheKey','defineProperty','ref','extend','colorChannel1','column','cursorInfo','_cursors','_id','DisposableCollection','mutations','CollaborationDataLoaderController','UniverInstanceType','getActiveSheet','_themeService','isArray','_initDependencies','jiqing500','getOwnPropertyDescriptor','has','arc','getMember','operators','m2Prime','_getSheetObject','data','React','collabStatus.offline','Injector','_collabSessionService','key','getCellPositionByOffset','roomMembers','redoState','UniverDesign','_refreshCollabCursors','runId','_updateCollabCursors','event$','getValue','addClipboardHook','_initEvent','_beforeCloseService','isTransformMutationsWithChangesetSuccess','set','_uiPartsService','handleDeleteRangeMoveLeft','unit','21iQGBIl','IUniverInstanceService','NodePositionConvertToCursor','_localeService','subscribeEvent','tag','registerRenderModule','UNRECOGNIZED','NOT_FOUND','LICENSE_EXPORT_SIZE_EXCEEDED','BuiltInUIPart','icon','CollaborationUIEventService','makeDirty','UniverUi','CollaborationEvent','round','getViewport','forwardRef','_heartbeatTimer','990815ngmske','setActiveRange','YUUMI_RATE_OVER_LIMIT','enableLocalCache','LICENSE_DISTRO_REJECTED','onStarting','useDependency','Optional','evenodd','rxjs/operators','_name','FETCH_MISS','handleMoveRange','339282WAtxzT','_setupSubUnitSync','number','@univerjs/rpc','onTransformChange$','_docSyncEditingCollabCursorService','permission.title','_registerDependencies','UNIVER_SHEET','_httpService','send','off-line-single_clip0_910_343','popstate','drawWith','jsxs','IMessageService','ranges','subUnitId','combineLatest','getRenderById','DesktopCollaborationStatusDisplayController','_scheduleSaving','SetTextSelectionsOperation','clipPath','hasOwnProperty','_dataLoaderService','1751528DXqcqc','_disabled','shareReplay','length','IDocClipboardService','name','focused$','collabStatus.syncing'];_0xde70=function(){return _0x11ba5c;};return _0xde70();}
|
|
1
|
+
function _0x4d8c(_0x2e20de,_0x44e600){const _0x344b23=_0x344b();return _0x4d8c=function(_0x4d8c51,_0x1b120f){_0x4d8c51=_0x4d8c51-0x1d0;let _0x2ea830=_0x344b23[_0x4d8c51];return _0x2ea830;},_0x4d8c(_0x2e20de,_0x44e600);}function _0x344b(){const _0x4dc3f3=['transformSelections','disposeWithMe','_scheduleHeartbeat','_online','APPLY_REVISION_CONFILICT','serializeRangeWithSheet','use','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','_docTransformIMECacheService','translate(.97)','OffLineSingle','_startSheetCollabCursor','syncEditingCollabCursor','UniverProCollaboration','getOwnPropertyDescriptor','getUniverSheetInstance','IRenderManagerService','OnLineSingle','@univerjs/drawing','react','ONLINE','univer-online','LOCAL_CACHE_INTERVAL_KEY','endColumn','session.will-retry','save','fromEvent','_handleJoinEvent','enableLocalCache','editingUnit','subscribe','entityInit$','unitID','toString','RichTextEditingMutation','actions','_scheduleClearOtherTimer','_scene','_textBubble','isEditing','collabStatus.conflict','subUnitId','endRow','deepClone','@univerjs/sheets','@univerjs/docs-ui','registerComponent','ALREADY_EXISTS','_getSheetObject','exhaustSavingTask','IMessageService','collabStatus.offline','substring','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','_clearOtherTimers','_eventUnsubscribe','CollaborationController','purple300','_lastPointer','LocaleService','blue400','_toggleOnline','react.fragment','size','IUIPartsService','labelPosition','PENDING','_renderManagerService','session.connection-failed','sheetID','RevisionService','pushState','getCollabEntity$','ColorKit','ICommandService','CollaborationEvent','delete','function','_docSyncEditingCollabCursorService','collab-rect-range-','amd','_configService','runId','570050wPgeKf','UniverDesign','useCallback','urlChange$','isTransformMutationsWithChangesetSuccess','transform','getUnhiddenWorksheets','RemoteUniscriptService','getFocusedUnit','UNAUTHENTICATED','_name','getLocalCacheKey','Plugin','saveOfflineData','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SessionStatus','clipPath','_anchor','_commandService','958342HFHHjS','TEXT_RANGE_LAYER_INDEX','_hovered','#fff','row','IUniverInstanceService','_disabled','currentTheme$','fillStyle','121lmBFuy','map','INTERNAL_ERROR','startRow','parse','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','range','_assignedColors','body','override','WebBrowserSingleActiveUnitService','useDependency','ACTIVE_UNIT_EVENT_CHANNEL','_cursors','_ensureSubject','CollaborationDataLoaderController','permission.title','EffectRefRangId','addHandlerCallback','CONFLICT','getCurrentSelections','subunit','useObservable','_anchorDot','_updateURLWithCurrentState','searchParams','error','some','onTransformChange$','UPDATE_CURSOR','_updateSubUnitFromURLParams','OFFLINE','_transformHistoryAndStateStack','NOT_COLLAB','_initResize','getColor','idSuffix','registerDependencies','getRangePointData','25860mOnvkN','ThemeService','CLOSE_ROOM','DocSelectionManagerService','WebSocketService','resize','currentSkeleton$','NodePositionConvertToRectRange','SYNCED','whenReady','248sAkqFF','SNAPSHOT_INVALID_SNAPSHOT','_docTransformStateCacheService','selection','includes','_docClipboardService','with','fromEventSubject','SOCKET_FAILED','clearTimeout','_updateLocalCursor','_handleLeaveEvent','selections','getConfig','offline','onPointerMove$','IImageIoService','_transformPreviousActiveRange','1246GdUsWw','type','rxjs/operators','lineTo','BuiltInUIPart','_docSkeletonManagerService','activeSheet$','224217PIFhHb','pluginName','_context','ISocketService','APPLY_PERMISSION_DENIED','getSheetBySheetId','_colorIndex','BehaviorSubject','IConfigService','_entityInit$','_range','_cursorShapes','_status$','current','DocIMEInputManagerService','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','collaboration-client-ui.config','send','_refRangeService','bottom','_localStorageService','collab-text-range-','TOO_MANY_REQUESTS','_send','roomMembers$','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-online-status-title','debug','merge','sessionStatus$','getSheetId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','Inject','complete','DesktopCollaborationStatusDisplayController','onCommandExecuted','TEXT','length','_initDependencies','dispose','toRgbString','getMember','params','arc','setParam','m1Prime','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_config','shareReplay','UNRECOGNIZED','_shapes','_startDocCollabCursor','getOffsetConfig','filter','_docTransformSelectionsService','_drawAnchor','hasOwnProperty','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','univerjs-icon\x20univerjs-icon-','triggerDblclick','setUndoRedoMutationParamsCache','isActive','DeleteRangeMoveUpCommandId','unshift','runRefRangeMutations','defaultProps','prototype','RefRangeService','_refreshCollabCursors','url(#off-line-single_clip0_910_343)','defs','1099388zWSilk','UNIVER_DOC','drawWith','transformMutation','flatMap','Warning','0\x200\x2017\x2016','collaboration.closeRoom','YUUMI_UNABLE_LOAD_URL','combineLatest','IURLService','switchMap','_setupSubUnitSync','getCurrent','_init','createElement','COMPLETION_FINISHED','setItem','invokeId','onPointerLeave$','_id','SheetsSelectionsService','_initEntityListener','cursorInfo$','collabStatus.notCollab','@univerjs/core','VIEW_MAIN','getMemberID','throttleTime','RxDisposable','FETCH_MISS','LICENSE_IMPORT_SIZE_EXCEEDED','getUnitId','ENSURE_SNAPSHOT_EXECUTION','_getScale','loadOfflineData','min','createIdentifier','RemoveColCommandId','CollaborationUIEventId','MessageType','handleInsertCol','height','debounce','UniverCollaborationClientPlugin','Optional','UniverSheets','getUnitStatus$','DOC_RANGE_TYPE','DocStateChangeManagerService','collabStatus.fetchMiss','icon','_handleEvent','runOnServer','SetDocZoomRatioOperation','dispose$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ranges','MemberService','getStateCache','isTransformMutationFailure','unit','APPLY_REJECT','_registerRenderDependencies','href','ref','FromArray','UniverEngineFormula','set','text','init','36qxRFYV','LICENSE_MAX_UNITS_EXCEEDED','jsxs','has','getSkeleton','getAncestorScale','colorChannel1','requireSession','roomMembers','_sheetSkeletonManagerService','UniverInstanceType','@univerjs/engine-formula','UniverDocsUi','UniverNetwork','touchDependencies','LICENSE_DISTRO_REJECTED','univer-flex\x20univer-items-center','operators','collabCursorState$','imageSourceType','collab-text-anchor-','clearInterval','getOwnPropertySymbols','_render','uni.network.url-service','newValue','_document','defineProperty','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','assignAColorForMemberID','/run/','evenodd','forEach','@univerjs/rpc','onPointerEnter$','YUUMI_RATE_OVER_LIMIT','xlink:href','round','_univerInstanceService','_updateCollabCursors','verdancy600','ILocalCacheService','CollaborationStatusDisplay','getActiveRange','loadUnit','OTHER_CLIENTS_EDITING','top','focused$','ITransformService','transformIMECache','engine','useRef','path','_onCursorUpdate','black','_uiPartsService','addObject','_collaborationController','_heartbeatTimer','_getSaveTimeout','Unknown\x20user','_unitStatus','add','registerBeforeClose','values','reconnect','getCellPositionByOffset','color','subscribeEvent','_saveTaskMap','sheetId','history','WebURLService','_collabSessionService','_imageIoService','_cursor','setTimeout','NOT_FOUND','session.collaboration-timeout','UniverDrawing','call','AWAITING_WITH_PENDING','_onRefRangeChange','UniverCollaborationClientUIPlugin','UniverEngineRender','children','closePath','CONNECTOR_DATA_TOO_LARGE','RECT','fillText','UNIVER_SHEET','AWAITING','_session','UNDEFINED','_entities','doc.mutation.rich-text-editing','gold400','data','setStateCache','svg','_saveCache','_httpService','attrs','_handleHeartbeatEvent','Injector','getParam','SetSelectionsOperation','2248152EZKnkX','location','measureText','Error','_removeClearOtherTimer','@univerjs/sheets-ui','jsx','collabStatus.synced','Rect','then','handleIRemoveCol','handleDeleteRangeMoveUp','entries','Shape','mergeOverrideWithDependencies','getActiveSheet','beginPath','_localeService','div','className','getViewport','DocSkeletonManagerService','isArray','transformStateCache','registerRenderModule','symbol','_hover','random','DocCollaborationEntity','on-line-single','_initStatusComponent','_roomMembers$','width','startColumn','_draw','5WjTKlB','NodePositionConvertToCursor','name','InsertRowCommandId','Tooltip','...','registerRefRange','takeUntil','docStateChange$','executionId','LICENSE_EXPORT_SIZE_EXCEEDED','getValue','_cachedData','collaboration.single-unit.warning','CollaborationStatus','Subject','_colorAssignService','string','saveTaskMap','@univerjs/design','Module','object','_backgroundColor','makeDirty','max','0\x200\x2016\x2016','onlineStatusIcon','_onCursorDelete','_labelPosition','_handleHover','mutations','off-line-single_clip0_910_343','onLocalMutation','from','@univerjs/network','unload','CHANGESET_REVISION_CONFILICT','fill','getUndoRedoMutationParamsCache','_setupBeforeClosingHandler','_selfUnitIDs','HEADER_MENU','assign','show','eventID','_unitOnClients','collab-client.tooltip.reconnect','_messageService','jiqing500','none','_hideTimer','UniverUi','defIds','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','textRanges','RegularPolygon','_initCommandExecutedListener','COLORS','setInterval','_dataLoaderService','onRendered','cursorInfo','find','get','UniverProCollaborationClientUi','displayName','_urlService','setShapeProps','executeCommand','replace','for','_syncEditingCollabCursorService','Disposable','restore','handleInsertRow','handleInsertRangeMoveDown','_initStatusListener','getTypeOfUnitAdded$','replaceState','getSheetObject','_removeCollabCursors','_initEvent','asObservable','rgba(255,\x20255,\x20255,\x200.01)','number','extend','@univerjs/docs','_getMergeRange','concat','trim','699361KEfqPJ','Workbook','_collaborationUIEventService','1em','disposeUnit','UniverSheetsUi','Tools','rxjs','source','_logService','undoState','[CollaborationDataLoaderController]','NO_OTHER_CLIENTS_EDITING','column','transformRemoteChangeset','getRenderById','_toggleOffline','_drawTextRange','InsertRangeMoveRightCommandId','PERMISSION_DENIED','2jctLxC','transformMutationsWithChangeset','getCoordByCell','setAlpha','_drawRectRange','UniverCore','YUUMI_URL_COL_OUT_OF_RANGE','transformByState','APPLY_DUPLICATED','tag','_themeService','_getAnchorBounding','unsubscribe','univer-online-status-icon','getCurrentUnitForType','_cursorInfo$','handleIRemoveRow','next','code','_transformService','INVALID_ARGUMENT','pipe','_injector','react.element','popstate','MUTATION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_docStateChangeManagerService','UniverDocs','ReactCurrentOwner','_collabCursorState$','UnitStatus','_registerDependencies','@univerjs/ui','Rectangle','hide','stringify','RemoveRowCommandId','getCollabCursors$','apply','INotificationService','debounceTime','DeleteRangeMoveLeftCommandId','on-line-single_clip0_910_349','JOIN_ROOM_FAILED','findNodePositionByCharIndex','onMouseMove','createInstance','_color','_memberService','skeleton','push','m2Prime','onStarting','IDocClipboardService','_instanceService','fillRule','LOCAL_CACHE_INTERVAL','connectInjector','event$','addObjects','DependentOn','split','redoState','key','_collabCursorController','exports','getTypeOfUnitDisposed$','unitId','generateRandomId','@univerjs/engine-render'];_0x344b=function(){return _0x4dc3f3;};return _0x344b();}(function(_0xc1b9cc,_0xa71cab){const _0x589067=_0x4d8c,_0x390e8d=_0xc1b9cc();while(!![]){try{const _0x3fc921=parseInt(_0x589067(0x1d4))/0x1+-parseInt(_0x589067(0x3b3))/0x2*(parseInt(_0x589067(0x322))/0x3)+-parseInt(_0x589067(0x270))/0x4*(parseInt(_0x589067(0x345))/0x5)+parseInt(_0x589067(0x205))/0x6*(-parseInt(_0x589067(0x221))/0x7)+-parseInt(_0x589067(0x20f))/0x8*(-parseInt(_0x589067(0x228))/0x9)+-parseInt(_0x589067(0x44f))/0xa*(-parseInt(_0x589067(0x1dd))/0xb)+-parseInt(_0x589067(0x2b7))/0xc*(-parseInt(_0x589067(0x39f))/0xd);if(_0x3fc921===_0xa71cab)break;else _0x390e8d['push'](_0x390e8d['shift']());}catch(_0x5d3a64){_0x390e8d['push'](_0x390e8d['shift']());}}}(_0x344b,0xb1a80),function(_0x160ee4,_0x44d5a2){const _0x2d59da=_0x4d8c;typeof exports==_0x2d59da(0x35a)&&typeof module<'u'?_0x44d5a2(exports,require('@univerjs-pro/collaboration-client'),require(_0x2d59da(0x289)),require(_0x2d59da(0x3f9)),require(_0x2d59da(0x367)),require(_0x2d59da(0x428)),require('@univerjs/drawing'),require(_0x2d59da(0x3a6)),require(_0x2d59da(0x39b)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x2d59da(0x427)),require(_0x2d59da(0x223)),require(_0x2d59da(0x327)),require('react'),require(_0x2d59da(0x3d4)),require(_0x2d59da(0x358)),require(_0x2d59da(0x2d8))):typeof define=='function'&&define[_0x2d59da(0x44c)]?define([_0x2d59da(0x3f5),'@univerjs-pro/collaboration-client',_0x2d59da(0x289),_0x2d59da(0x3f9),_0x2d59da(0x367),_0x2d59da(0x428),_0x2d59da(0x40d),'rxjs','@univerjs/docs','@univerjs-pro/collaboration',_0x2d59da(0x2c2),_0x2d59da(0x427),'rxjs/operators',_0x2d59da(0x327),_0x2d59da(0x40e),'@univerjs/ui',_0x2d59da(0x358),_0x2d59da(0x2d8)],_0x44d5a2):(_0x160ee4=typeof globalThis<'u'?globalThis:_0x160ee4||self,_0x44d5a2(_0x160ee4[_0x2d59da(0x385)]={},_0x160ee4['UniverProCollaborationClient'],_0x160ee4[_0x2d59da(0x3b8)],_0x160ee4[_0x2d59da(0x30b)],_0x160ee4[_0x2d59da(0x2c4)],_0x160ee4[_0x2d59da(0x2c3)],_0x160ee4[_0x2d59da(0x306)],_0x160ee4[_0x2d59da(0x3a6)],_0x160ee4[_0x2d59da(0x3cf)],_0x160ee4[_0x2d59da(0x408)],_0x160ee4[_0x2d59da(0x2b3)],_0x160ee4[_0x2d59da(0x29e)],_0x160ee4['rxjs'][_0x2d59da(0x2c8)],_0x160ee4[_0x2d59da(0x3a4)],_0x160ee4['React'],_0x160ee4[_0x2d59da(0x378)],_0x160ee4[_0x2d59da(0x450)],_0x160ee4['UniverRpc']));}(this,function(_0x5ec128,_0x1603d9,_0x1ede52,_0x82717a,_0x59f991,_0x7b7c75,_0x40d316,_0x33bad6,_0x399349,_0x509b32,_0x425372,_0x5a5936,_0x2c3eed,_0x345f66,_0x12d01f,_0x544152,_0x31becb,_0x49f4ad){'use strict';const _0x21371e=_0x4d8c;var _0x4b83b5=Object[_0x21371e(0x2d2)],_0x3f918d=(_0x36df17,_0x354753,_0x23339b)=>_0x354753 in _0x36df17?_0x4b83b5(_0x36df17,_0x354753,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23339b}):_0x36df17[_0x354753]=_0x23339b,_0x28d757=(_0xbe5e12,_0x4ca22d,_0x15d483)=>_0x3f918d(_0xbe5e12,typeof _0x4ca22d!=_0x21371e(0x33b)?_0x4ca22d+'':_0x4ca22d,_0x15d483),_0x3495f0=Object[_0x21371e(0x2d2)],_0x3bf11a=Object[_0x21371e(0x409)],_0x568c64=(_0xa33e7f,_0x1f1e18,_0x462ef7,_0x42234b)=>{for(var _0x276176=_0x42234b>0x1?void 0x0:_0x42234b?_0x3bf11a(_0x1f1e18,_0x462ef7):_0x1f1e18,_0x303b10=_0xa33e7f['length']-0x1,_0x457653;_0x303b10>=0x0;_0x303b10--)(_0x457653=_0xa33e7f[_0x303b10])&&(_0x276176=(_0x42234b?_0x457653(_0x1f1e18,_0x462ef7,_0x276176):_0x457653(_0x276176))||_0x276176);return _0x42234b&&_0x276176&&_0x3495f0(_0x1f1e18,_0x462ef7,_0x276176),_0x276176;},_0x4b635b=(_0x1533af,_0x4a2177)=>(_0x256f37,_0x59c825)=>_0x4a2177(_0x256f37,_0x59c825,_0x1533af);let _0x291185=class extends _0x1ede52[_0x21371e(0x28d)]{constructor(_0x9ea10c,_0x4f19c2){const _0x9f81ee=_0x21371e;super(),this[_0x9f81ee(0x214)]=_0x9ea10c,this[_0x9f81ee(0x301)]=_0x4f19c2,this['_init']();}[_0x21371e(0x27e)](){const _0x24f119=_0x21371e,_0x1ca758=this;this[_0x24f119(0x3fb)](this[_0x24f119(0x214)]['addClipboardHook']({'onBeforePasteImage':async _0xe58c92=>{const _0x2782a8=_0x24f119,_0x3baa7b=await _0x1ca758[_0x2782a8(0x301)]['saveImage'](_0xe58c92);return _0x3baa7b?{'source':_0x3baa7b[_0x2782a8(0x3a7)],'imageSourceType':_0x3baa7b[_0x2782a8(0x2ca)]}:null;}}));}};_0x291185=_0x568c64([_0x4b635b(0x0,_0x7b7c75[_0x21371e(0x3e9)]),_0x4b635b(0x1,_0x40d316[_0x21371e(0x21f)])],_0x291185);const _0x4f5f93=[_0x21371e(0x435),_0x21371e(0x375),_0x21371e(0x2df),'red300',_0x21371e(0x438),_0x21371e(0x317)];class _0x26ea6b extends _0x1ede52[_0x21371e(0x38d)]{constructor(){const _0x1a792f=_0x21371e;super(...arguments),_0x28d757(this,_0x1a792f(0x1e5),new Map()),_0x28d757(this,_0x1a792f(0x22e),0x0);}[_0x21371e(0x2d4)](_0x3495bf){const _0x26fc16=_0x21371e;if(this[_0x26fc16(0x1e5)][_0x26fc16(0x2ba)](_0x3495bf))return this[_0x26fc16(0x1e5)][_0x26fc16(0x384)](_0x3495bf);const _0x3b85cd=_0x4f5f93[this[_0x26fc16(0x22e)]];return this[_0x26fc16(0x22e)]=(this[_0x26fc16(0x22e)]+0x1)%_0x4f5f93[_0x26fc16(0x24e)],this[_0x26fc16(0x1e5)]['set'](_0x3495bf,_0x3b85cd),_0x3b85cd;}}function _0x1e309c(_0x4ba501){const _0x342430=_0x21371e;let _0x342df4='';for(const _0xe03632 of _0x4ba501){const {startOffset:_0x5b3f32,endOffset:_0x5f4765,isActive:_0x149be7,rangeType:_0x2abeb8,segmentId:_0x541fc4,segmentPage:_0x115cc1}=_0xe03632;_0x342df4[_0x342430(0x24e)]&&(_0x342df4+=','),_0x342df4+=_0x5b3f32+':'+_0x5f4765+':'+(_0x149be7?'1':'0')+':'+_0x2abeb8+':'+_0x541fc4+':'+_0x115cc1;}return _0x342df4;}function _0x304a52(_0x3b4f40){const _0x4ef99c=_0x21371e,_0x5c8696=_0x3b4f40['split'](','),_0x33af2a=[];for(const _0x128ad4 of _0x5c8696){const [_0x152857,_0x33713f,_0x2893c7,_0x2e7c0a,_0x5986ff,_0x51af0e]=_0x128ad4[_0x4ef99c(0x3f1)](':');_0x33af2a['push']({'startOffset':Number(_0x152857),'endOffset':Number(_0x33713f),'collapsed':_0x152857===_0x33713f,'isActive':_0x2893c7==='1','rangeType':_0x2e7c0a===_0x1ede52['DOC_RANGE_TYPE'][_0x4ef99c(0x24d)]?_0x1ede52[_0x4ef99c(0x2a0)][_0x4ef99c(0x24d)]:_0x1ede52[_0x4ef99c(0x2a0)]['RECT'],'segmentId':typeof _0x5986ff==_0x4ef99c(0x356)?String(_0x5986ff):'','segmentPage':Number(_0x51af0e!=null?_0x51af0e:-0x1)});}return _0x33af2a[_0x4ef99c(0x1f9)](_0x18b1d4=>_0x18b1d4[_0x4ef99c(0x266)])||(_0x33af2a[0x0][_0x4ef99c(0x266)]=!0x0),_0x33af2a;}class _0x1ef10a extends _0x1ede52[_0x21371e(0x28d)]{constructor(){const _0x3dc043=_0x21371e;super(...arguments),_0x28d757(this,_0x3dc043(0x3d1),new _0x33bad6[(_0x3dc043(0x22f))](null)),_0x28d757(this,'collabCursorState$',this[_0x3dc043(0x3d1)][_0x3dc043(0x397)]());}[_0x21371e(0x407)](_0x13c772){const _0x4f8f3a=_0x21371e,{unitID:_0x26f622,memberID:_0x1d676,textRanges:_0x2934e2}=_0x13c772,_0x5134a3=_0x1e309c(_0x2934e2);if(_0x5134a3==='')return;const _0x153626={'unitID':_0x26f622,'memberID':_0x1d676,'selection':_0x5134a3};this['_collabCursorState$'][_0x4f8f3a(0x3c4)](_0x153626);}}var _0x42aac1=Object[_0x21371e(0x2d2)],_0x3e4567=Object['getOwnPropertyDescriptor'],_0x3c75cc=(_0x4f38f5,_0x1c7f1c,_0x31bd06,_0x32a168)=>{for(var _0x1a3435=_0x32a168>0x1?void 0x0:_0x32a168?_0x3e4567(_0x1c7f1c,_0x31bd06):_0x1c7f1c,_0x6733e=_0x4f38f5['length']-0x1,_0x6c22a8;_0x6733e>=0x0;_0x6733e--)(_0x6c22a8=_0x4f38f5[_0x6733e])&&(_0x1a3435=(_0x32a168?_0x6c22a8(_0x1c7f1c,_0x31bd06,_0x1a3435):_0x6c22a8(_0x1a3435))||_0x1a3435);return _0x32a168&&_0x1a3435&&_0x42aac1(_0x1c7f1c,_0x31bd06,_0x1a3435),_0x1a3435;},_0x49d011=(_0xd16080,_0x40f260)=>(_0x100c88,_0x4177ff)=>_0x40f260(_0x100c88,_0x4177ff,_0xd16080);const _0x18fc2=0x12c,_0x3ba0fe=0x64;let _0x3113c7=class extends _0x1ede52['RxDisposable']{constructor(_0x506a47,_0x453bfd,_0x298554,_0x178304,_0x44fe38,_0x4642a4,_0xebad75,_0x5bd31a,_0x58b5d8){const _0xa4b1cb=_0x21371e;super(),_0x28d757(this,_0xa4b1cb(0x3fd),!0x1),_0x28d757(this,'_init',!0x1),_0x28d757(this,'_cursorInfo$',new _0x33bad6[(_0xa4b1cb(0x22f))](new Map())),_0x28d757(this,_0xa4b1cb(0x287),this['_cursorInfo$'][_0xa4b1cb(0x397)]()),_0x28d757(this,_0xa4b1cb(0x341),new _0x33bad6[(_0xa4b1cb(0x22f))]([])),_0x28d757(this,_0xa4b1cb(0x241),this[_0xa4b1cb(0x341)][_0xa4b1cb(0x3c8)](_0x33bad6[_0xa4b1cb(0x3dc)](_0x18fc2))),_0x28d757(this,_0xa4b1cb(0x219),_0x1ede52[_0xa4b1cb(0x29b)](_0x1da5ac=>{const _0x1fcfc4=_0xa4b1cb,_0xbd6aac={'eventID':_0x509b32[_0x1fcfc4(0x447)][_0x1fcfc4(0x1fb)],'data':{'unitID':this[_0x1fcfc4(0x41b)],'memberID':this[_0x1fcfc4(0x313)][_0x1fcfc4(0x28b)](),'selection':_0x1e309c(_0x1da5ac)}};this['_session']['send'](_0xbd6aac,this[_0x1fcfc4(0x41b)]);},_0x3ba0fe)),(this[_0xa4b1cb(0x41b)]=_0x506a47,this[_0xa4b1cb(0x313)]=_0x453bfd,this[_0xa4b1cb(0x3c9)]=_0x298554,this[_0xa4b1cb(0x355)]=_0x178304,this[_0xa4b1cb(0x3e4)]=_0x44fe38,this[_0xa4b1cb(0x38c)]=_0x4642a4,this[_0xa4b1cb(0x3c6)]=_0xebad75,this[_0xa4b1cb(0x2dd)]=_0x5bd31a,this['_commandService']=_0x58b5d8);}get[_0x21371e(0x382)](){const _0x44cebf=_0x21371e;return this[_0x44cebf(0x3c2)][_0x44cebf(0x350)]();}get[_0x21371e(0x2bf)](){const _0x11a6ea=_0x21371e;return this[_0x11a6ea(0x341)][_0x11a6ea(0x350)]();}[_0x21371e(0x250)](){const _0x4bfa2c=_0x21371e;super['dispose'](),this[_0x4bfa2c(0x3c2)][_0x4bfa2c(0x3c4)](new Map()),this[_0x4bfa2c(0x3c2)]['complete'](),this[_0x4bfa2c(0x341)][_0x4bfa2c(0x3c4)]([]),this[_0x4bfa2c(0x341)][_0x4bfa2c(0x24a)]();}[_0x21371e(0x2b6)](){const _0x11465d=_0x21371e;this[_0x11465d(0x27e)]||(this['_init']=!0x0,this['_session'][_0x11465d(0x246)][_0x11465d(0x3c8)](_0x33bad6[_0x11465d(0x34c)](this[_0x11465d(0x2a7)]))[_0x11465d(0x419)](_0x2d7df9=>{const _0x21c3ed=_0x11465d;_0x2d7df9===_0x1603d9[_0x21c3ed(0x1d0)][_0x21c3ed(0x40f)]?this[_0x21c3ed(0x439)]():this[_0x21c3ed(0x3af)]();}),this[_0x11465d(0x313)][_0x11465d(0x3ee)][_0x11465d(0x3c8)](_0x33bad6['takeUntil'](this[_0x11465d(0x2a7)]))[_0x11465d(0x419)](_0x55d5fe=>{const _0x37bac7=_0x11465d,_0x46b2b1=_0x55d5fe[_0x37bac7(0x371)];_0x46b2b1===_0x509b32[_0x37bac7(0x447)]['UPDATE_CURSOR']&&this[_0x37bac7(0x2ec)](_0x55d5fe),_0x46b2b1===_0x509b32[_0x37bac7(0x447)]['USERS_LEAVE']&&this[_0x37bac7(0x360)](_0x55d5fe);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x45e444=>{const _0x502487=_0x11465d,_0x36acbd=_0x45e444[_0x502487(0x253)];_0x36acbd!=null&&this[_0x502487(0x3fd)]&&_0x45e444['id']===_0x399349['SetTextSelectionsOperation']['id']&&_0x36acbd[_0x502487(0x3f7)]===this['unitID']&&_0x36acbd[_0x502487(0x422)]===!0x1&&_0x36acbd[_0x502487(0x2a9)]['length']>0x0&&this['_updateLocalCursor'](_0x36acbd[_0x502487(0x2a9)]);})),this[_0x11465d(0x38c)][_0x11465d(0x2c9)][_0x11465d(0x3c8)](_0x33bad6[_0x11465d(0x34c)](this[_0x11465d(0x2a7)]))[_0x11465d(0x419)](_0x4804a=>{const _0x33c6f8=_0x11465d;if((_0x4804a==null?void 0x0:_0x4804a[_0x33c6f8(0x41b)])!==this[_0x33c6f8(0x41b)])return;const _0xb9338={'eventID':_0x509b32[_0x33c6f8(0x447)][_0x33c6f8(0x1fb)],'data':_0x4804a};this[_0x33c6f8(0x2ec)](_0xb9338);}),this[_0x11465d(0x3fb)](this['_commandService'][_0x11465d(0x24c)](_0x317ffc=>{const _0x36e747=_0x11465d;if(_0x317ffc['params']==null)return;const _0x5b7c01=_0x317ffc[_0x36e747(0x253)];if(_0x317ffc['id']!==_0x399349[_0x36e747(0x41d)]['id']||_0x5b7c01['unitId']!==this[_0x36e747(0x41b)])return;const _0x51fa33={'id':_0x36e747(0x316),'params':_0x5b7c01},_0x3e087d=this['cursorInfo'];for(const [_0x5a7322,_0xfc9437]of _0x3e087d){const _0x265133={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x36e747(0x41b)],'actions':null,'textRanges':_0xfc9437['ranges']}},_0xe33d08=this['_transformService']['transformMutation'](_0x51fa33,_0x265133,!0x1);if(_0x509b32[_0x36e747(0x2ac)](_0xe33d08))throw _0xe33d08[_0x36e747(0x1f8)];_0x3e087d[_0x36e747(0x2b4)](_0x5a7322,{..._0xfc9437,'ranges':_0xe33d08[_0x36e747(0x3e7)][_0x36e747(0x253)][_0x36e747(0x37b)]});}queueMicrotask(()=>{const _0x513d1b=_0x36e747;this['_cursorInfo$'][_0x513d1b(0x3c4)](_0x3e087d);});})));}['_onCursorUpdate'](_0x1c2f59){const _0x5cc1b4=_0x21371e;var _0x32d68b,_0x176fb4;const {memberID:_0xc9a411,selection:_0x98d423}=_0x1c2f59[_0x5cc1b4(0x318)],_0x418f20=_0x304a52(_0x98d423),_0x24f2c4=(_0x176fb4=(_0x32d68b=this[_0x5cc1b4(0x3e4)][_0x5cc1b4(0x252)](this[_0x5cc1b4(0x41b)],_0xc9a411))==null?void 0x0:_0x32d68b['name'])!=null?_0x176fb4:_0x5cc1b4(0x2f3),_0x47d690={'color':this[_0x5cc1b4(0x355)]['assignAColorForMemberID'](_0xc9a411),'name':_0x24f2c4,'ranges':_0x418f20},_0x18afb5=this[_0x5cc1b4(0x382)];_0x18afb5[_0x5cc1b4(0x2b4)](_0xc9a411,_0x47d690),this[_0x5cc1b4(0x3c2)][_0x5cc1b4(0x3c4)](_0x18afb5);}[_0x21371e(0x360)](_0x394669){const _0x4665c8=_0x21371e,{memberID:_0x3eb0ca}=_0x394669['data'],_0xfb3059=this[_0x4665c8(0x382)];_0xfb3059[_0x4665c8(0x448)](_0x3eb0ca),this[_0x4665c8(0x3c2)][_0x4665c8(0x3c4)](_0xfb3059);}[_0x21371e(0x439)](){const _0x2a8d1d=_0x21371e;var _0x6441ab;if(this[_0x2a8d1d(0x3fd)]=!0x0,((_0x6441ab=this[_0x2a8d1d(0x2dd)]['getFocusedUnit']())==null?void 0x0:_0x6441ab[_0x2a8d1d(0x290)]())!==this[_0x2a8d1d(0x41b)])return;const _0x2e945a=this[_0x2a8d1d(0x3c9)][_0x2a8d1d(0x384)](_0x399349['DocSelectionManagerService'])['getDocRanges']();Array[_0x2a8d1d(0x338)](_0x2e945a)&&_0x2e945a['length']>0x0&&this[_0x2a8d1d(0x219)](_0x2e945a);}[_0x21371e(0x3af)](){const _0x5383b6=_0x21371e;this[_0x5383b6(0x3fd)]=!0x1;}};_0x3113c7=_0x3c75cc([_0x49d011(0x2,_0x1ede52[_0x21371e(0x249)](_0x1ede52[_0x21371e(0x31f)])),_0x49d011(0x3,_0x1ede52['Inject'](_0x26ea6b)),_0x49d011(0x4,_0x1ede52['Inject'](_0x1603d9[_0x21371e(0x2aa)])),_0x49d011(0x5,_0x1ede52['Inject'](_0x1ef10a)),_0x49d011(0x6,_0x509b32['ITransformService']),_0x49d011(0x7,_0x1ede52['IUniverInstanceService']),_0x49d011(0x8,_0x1ede52[_0x21371e(0x446)])],_0x3113c7);var _0x5c9e84=Object[_0x21371e(0x2d2)],_0x3fc0be=Object[_0x21371e(0x409)],_0x41cbf5=(_0x430a6d,_0x130f01,_0x2bb9fa,_0x2ac048)=>{for(var _0x27a99d=_0x2ac048>0x1?void 0x0:_0x2ac048?_0x3fc0be(_0x130f01,_0x2bb9fa):_0x130f01,_0x15b255=_0x430a6d['length']-0x1,_0x3e5fae;_0x15b255>=0x0;_0x15b255--)(_0x3e5fae=_0x430a6d[_0x15b255])&&(_0x27a99d=(_0x2ac048?_0x3e5fae(_0x130f01,_0x2bb9fa,_0x27a99d):_0x3e5fae(_0x27a99d))||_0x27a99d);return _0x2ac048&&_0x27a99d&&_0x5c9e84(_0x130f01,_0x2bb9fa,_0x27a99d),_0x27a99d;},_0x20dfab=(_0x1229ae,_0x1736d4)=>(_0x3220b5,_0x24a45a)=>_0x1736d4(_0x3220b5,_0x24a45a,_0x1229ae);const _0x40ef1b=0x12c,_0x3cb900=0x64,_0x2dfaae=()=>{let _0x1225de=[],_0x138096=!0x1;return _0x5d3f27=>{const _0x145a81=_0x4d8c;_0x1225de[_0x145a81(0x3e6)](_0x5d3f27),_0x138096||(_0x138096=!0x0,setTimeout(()=>{const _0x217c44=_0x145a81;_0x1225de[_0x217c44(0x2d7)](_0x3c6940=>_0x3c6940()),_0x1225de=[],_0x138096=!0x1;}));};};let _0x2e1f70=class extends _0x1ede52['RxDisposable']{constructor(_0x6e0c3c,_0x3c3b3d,_0xa4f19e,_0x13a1de,_0x226b71,_0xbc0fe8,_0x268ea1,_0x4273e8){const _0x9acd1e=_0x21371e;super(),_0x28d757(this,_0x9acd1e(0x3fd),!0x1),_0x28d757(this,_0x9acd1e(0x27e),!0x1),_0x28d757(this,'_cursorInfo$',new _0x33bad6[(_0x9acd1e(0x22f))](new Map())),_0x28d757(this,'cursorInfo$',this[_0x9acd1e(0x3c2)]['asObservable']()),_0x28d757(this,'_roomMembers$',new _0x33bad6[(_0x9acd1e(0x22f))]([])),_0x28d757(this,_0x9acd1e(0x241),this[_0x9acd1e(0x341)][_0x9acd1e(0x3c8)](_0x33bad6['debounceTime'](_0x40ef1b))),_0x28d757(this,_0x9acd1e(0x219),_0x1ede52[_0x9acd1e(0x29b)]((_0x21f805,_0x3bfa07)=>{const _0x714884=_0x9acd1e,_0x3dfc73={'eventID':_0x509b32[_0x714884(0x447)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x714884(0x41b)],'memberID':this[_0x714884(0x313)]['getMemberID'](),'selection':_0x425372[_0x714884(0x3ff)](_0x21f805,_0x3bfa07[_0x714884(0x1e4)])}};this[_0x714884(0x313)][_0x714884(0x23a)](_0x3dfc73,this[_0x714884(0x41b)]);},_0x3cb900)),(this[_0x9acd1e(0x41b)]=_0x6e0c3c,this[_0x9acd1e(0x313)]=_0x3c3b3d,this[_0x9acd1e(0x3c9)]=_0xa4f19e,this[_0x9acd1e(0x355)]=_0x13a1de,this[_0x9acd1e(0x3e4)]=_0x226b71,this[_0x9acd1e(0x2dd)]=_0xbc0fe8,this[_0x9acd1e(0x1d3)]=_0x268ea1,this['_refRangeService']=_0x4273e8);}get[_0x21371e(0x382)](){const _0x4f697f=_0x21371e;return this[_0x4f697f(0x3c2)][_0x4f697f(0x350)]();}get[_0x21371e(0x2bf)](){const _0x35cd81=_0x21371e;return this[_0x35cd81(0x341)][_0x35cd81(0x350)]();}[_0x21371e(0x250)](){const _0x1330fe=_0x21371e;super[_0x1330fe(0x250)](),this[_0x1330fe(0x3c2)][_0x1330fe(0x3c4)](new Map()),this[_0x1330fe(0x3c2)][_0x1330fe(0x24a)](),this[_0x1330fe(0x341)][_0x1330fe(0x3c4)]([]),this['_roomMembers$']['complete']();}[_0x21371e(0x2b6)](){const _0x34c82e=_0x21371e;this[_0x34c82e(0x27e)]||(this[_0x34c82e(0x27e)]=!0x0,this[_0x34c82e(0x313)][_0x34c82e(0x246)]['pipe'](_0x33bad6['takeUntil'](this[_0x34c82e(0x2a7)]))[_0x34c82e(0x419)](_0x559dc9=>{const _0x13ca75=_0x34c82e;_0x559dc9===_0x1603d9[_0x13ca75(0x1d0)][_0x13ca75(0x40f)]?this[_0x13ca75(0x439)]():this[_0x13ca75(0x3af)]();}),this[_0x34c82e(0x313)][_0x34c82e(0x3ee)][_0x34c82e(0x3c8)](_0x33bad6[_0x34c82e(0x34c)](this[_0x34c82e(0x2a7)]))[_0x34c82e(0x419)](_0x632399=>{const _0x2168fa=_0x34c82e,_0x1e5c25=_0x632399[_0x2168fa(0x371)];_0x1e5c25===_0x509b32[_0x2168fa(0x447)][_0x2168fa(0x1fb)]&&this['_onCursorUpdate'](_0x632399),_0x1e5c25===_0x509b32[_0x2168fa(0x447)]['USERS_LEAVE']&&this[_0x2168fa(0x360)](_0x632399);}),this[_0x34c82e(0x309)](),this['disposeWithMe'](this['_commandService'][_0x34c82e(0x24c)](_0x36023b=>{const _0x4fe5a5=_0x34c82e;if(this[_0x4fe5a5(0x3fd)]&&_0x36023b['id']===_0x5a5936[_0x4fe5a5(0x321)]['id']&&_0x36023b['params']['unitId']===this[_0x4fe5a5(0x41b)]){const _0x246707=_0x36023b[_0x4fe5a5(0x253)];this['_updateLocalCursor'](_0x246707[_0x4fe5a5(0x424)],_0x246707[_0x4fe5a5(0x21b)][0x0]);}})));}['_onCursorUpdate'](_0x1238d8){const _0x463d0a=_0x21371e;var _0x4bcefb,_0x407874;const {memberID:_0x32a8e4,selection:_0x162be6}=_0x1238d8['data'],{sheetName:_0x5614ec,range:_0x3ed75c}=_0x425372['deserializeRangeWithSheet'](_0x162be6),_0x270cf6={'name':(_0x407874=(_0x4bcefb=this[_0x463d0a(0x3e4)]['getMember'](this[_0x463d0a(0x41b)],_0x32a8e4))==null?void 0x0:_0x4bcefb[_0x463d0a(0x347)])!=null?_0x407874:'Unknown\x20user','range':this[_0x463d0a(0x39c)](_0x5614ec,_0x3ed75c),'sheetID':_0x5614ec,'color':this[_0x463d0a(0x355)][_0x463d0a(0x2d4)](_0x32a8e4),'selection':_0x162be6},_0x49d8b6=this[_0x463d0a(0x382)];_0x49d8b6[_0x463d0a(0x2b4)](_0x32a8e4,_0x270cf6),this[_0x463d0a(0x3c2)][_0x463d0a(0x3c4)](_0x49d8b6);}[_0x21371e(0x360)](_0x5e9a9e){const _0x470d6f=_0x21371e,{memberID:_0x4f5769}=_0x5e9a9e[_0x470d6f(0x318)],_0x1fdb08=this[_0x470d6f(0x382)];_0x1fdb08[_0x470d6f(0x448)](_0x4f5769),this[_0x470d6f(0x3c2)][_0x470d6f(0x3c4)](_0x1fdb08);}[_0x21371e(0x39c)](_0xde2850,_0x49cd3a){const _0x38d5da=_0x21371e;var _0x925a89,_0x2a99cc;const _0x57768d=(_0x2a99cc=(_0x925a89=this[_0x38d5da(0x2dd)][_0x38d5da(0x40a)](this[_0x38d5da(0x41b)]))==null?void 0x0:_0x925a89[_0x38d5da(0x22d)](_0xde2850))==null?void 0x0:_0x2a99cc['getMergeData']();return(_0x57768d==null?void 0x0:_0x57768d[_0x38d5da(0x383)](_0x1ca346=>_0x1ede52[_0x38d5da(0x3d5)]['contains'](_0x1ca346,_0x49cd3a)))||_0x49cd3a;}['_onRefRangeChange'](){const _0x5d4b7c=_0x21371e,_0x4c1462=new _0x1ede52['DisposableCollection'](),_0x4866fb=_0x2dfaae(),_0x32215f=()=>{const _0x32bf9f=_0x4d8c;_0x4c1462[_0x32bf9f(0x250)]();const _0x292421=(_0x1b1ba2,_0x3d0af7,_0x4a0bf6,_0x4f4274)=>{const _0x15721a=_0x32bf9f;let _0x51e767=[];switch(_0x1b1ba2['id']){case _0x5a5936[_0x15721a(0x1ef)][_0x15721a(0x3dd)]:{_0x51e767=_0x5a5936['handleDeleteRangeMoveLeft'](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)][_0x15721a(0x267)]:{_0x51e767=_0x5a5936[_0x15721a(0x32d)](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)]['InsertColCommandId']:{_0x51e767=_0x5a5936[_0x15721a(0x299)](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)]['InsertRangeMoveDownCommandId']:{_0x51e767=_0x5a5936[_0x15721a(0x390)](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936['EffectRefRangId'][_0x15721a(0x3b1)]:{_0x51e767=_0x5a5936['handleInsertRangeMoveRight'](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)][_0x15721a(0x348)]:{_0x51e767=_0x5a5936[_0x15721a(0x38f)](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936['EffectRefRangId']['MoveRangeCommandId']:{_0x51e767=_0x5a5936['handleMoveRange'](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)][_0x15721a(0x296)]:{_0x51e767=_0x5a5936[_0x15721a(0x32c)](_0x1b1ba2,_0x4f4274);break;}case _0x5a5936[_0x15721a(0x1ef)][_0x15721a(0x3d8)]:{_0x51e767=_0x5a5936[_0x15721a(0x3c3)](_0x1b1ba2,_0x4f4274);break;}}const _0x12303f=_0x5a5936[_0x15721a(0x269)](_0x51e767,_0x4f4274),_0x2ff64e=this[_0x15721a(0x382)][_0x15721a(0x384)](_0x3d0af7);if(_0x2ff64e&&_0x12303f){const _0x34d82f={..._0x2ff64e,'range':_0x12303f};this[_0x15721a(0x382)]['set'](_0x3d0af7,_0x34d82f),_0x4866fb(()=>{const _0x2d6563=_0x15721a,_0xef717a=this[_0x2d6563(0x23b)][_0x2d6563(0x34b)](_0x12303f,_0x5941da=>(_0xef717a[_0x2d6563(0x250)](),_0x292421(_0x5941da,_0x3d0af7,_0x4a0bf6,_0x12303f)));_0x4c1462[_0x2d6563(0x2f5)](_0xef717a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x32bf9f(0x2d7)]((_0x449a6b,_0xc2a66d)=>{const _0x423eaf=_0x32bf9f,{range:_0x131ac8,sheetID:_0x5e882d}=_0x449a6b,_0x1f6f12=this[_0x423eaf(0x23b)][_0x423eaf(0x34b)](_0x131ac8,_0x3257c8=>(_0x1f6f12['dispose'](),_0x292421(_0x3257c8,_0xc2a66d,_0x5e882d,_0x131ac8)));_0x4c1462[_0x423eaf(0x2f5)](_0x1f6f12);});};this[_0x5d4b7c(0x3fb)](_0x1ede52['toDisposable'](this[_0x5d4b7c(0x3c2)][_0x5d4b7c(0x419)](()=>{_0x32215f();})));}[_0x21371e(0x439)](){const _0x4de458=_0x21371e;var _0x411869,_0x287c4f;if(this['_online']=!0x0,((_0x411869=this[_0x4de458(0x2dd)][_0x4de458(0x457)]())==null?void 0x0:_0x411869[_0x4de458(0x290)]())!==this[_0x4de458(0x41b)])return;const _0x56fa5e=(_0x287c4f=this['_injector'][_0x4de458(0x384)](_0x5a5936[_0x4de458(0x285)])[_0x4de458(0x1f2)]())==null?void 0x0:_0x287c4f[0x0],_0xe76da9=this['_univerInstanceService'][_0x4de458(0x3c1)](_0x1ede52[_0x4de458(0x2c1)]['UNIVER_SHEET'])[_0x4de458(0x331)]();_0x56fa5e&&_0xe76da9&&this[_0x4de458(0x219)](_0xe76da9[_0x4de458(0x247)](),_0x56fa5e);}['_toggleOffline'](){const _0x2a78d1=_0x21371e;this[_0x2a78d1(0x3fd)]=!0x1;}};_0x2e1f70=_0x41cbf5([_0x20dfab(0x2,_0x1ede52['Inject'](_0x1ede52[_0x21371e(0x31f)])),_0x20dfab(0x3,_0x1ede52[_0x21371e(0x249)](_0x26ea6b)),_0x20dfab(0x4,_0x1ede52['Inject'](_0x1603d9[_0x21371e(0x2aa)])),_0x20dfab(0x5,_0x1ede52[_0x21371e(0x1d9)]),_0x20dfab(0x6,_0x1ede52[_0x21371e(0x446)]),_0x20dfab(0x7,_0x1ede52[_0x21371e(0x249)](_0x5a5936[_0x21371e(0x26c)]))],_0x2e1f70);var _0x73b797=Object[_0x21371e(0x2d2)],_0x3fe6e9=Object['getOwnPropertyDescriptor'],_0x265e35=(_0xe77f3e,_0x5b06a4,_0x5b01d7,_0x2aeb64)=>{for(var _0x5d86d7=_0x2aeb64>0x1?void 0x0:_0x2aeb64?_0x3fe6e9(_0x5b06a4,_0x5b01d7):_0x5b06a4,_0x55bb1d=_0xe77f3e['length']-0x1,_0x41ba1b;_0x55bb1d>=0x0;_0x55bb1d--)(_0x41ba1b=_0xe77f3e[_0x55bb1d])&&(_0x5d86d7=(_0x2aeb64?_0x41ba1b(_0x5b06a4,_0x5b01d7,_0x5d86d7):_0x41ba1b(_0x5d86d7))||_0x5d86d7);return _0x2aeb64&&_0x5d86d7&&_0x73b797(_0x5b06a4,_0x5b01d7,_0x5d86d7),_0x5d86d7;},_0x3232da=(_0x4790b9,_0x535b07)=>(_0x2fbfa8,_0x57a9a8)=>_0x535b07(_0x2fbfa8,_0x57a9a8,_0x4790b9);let _0x2a000d=class extends _0x1ede52['RxDisposable']{constructor(_0x3265de,_0x343e76,_0x5eb4ec){const _0x4b1033=_0x21371e;super(),_0x28d757(this,_0x4b1033(0x315),new Map()),_0x28d757(this,_0x4b1033(0x231),new _0x33bad6[(_0x4b1033(0x354))]()),(this['_univerInstanceService']=_0x3265de,this[_0x4b1033(0x3c9)]=_0x343e76,this['_collabSessionService']=_0x5eb4ec,this['_init']());}[_0x21371e(0x250)](){const _0x13b22e=_0x21371e;super[_0x13b22e(0x250)](),this[_0x13b22e(0x231)][_0x13b22e(0x24a)](),this['_entities'][_0x13b22e(0x2d7)](_0x117e4d=>_0x117e4d['dispose']());}[_0x21371e(0x3d9)](_0x6ed16b){const _0x195d4d=_0x21371e;return this[_0x195d4d(0x315)][_0x195d4d(0x2ba)](_0x6ed16b)?this[_0x195d4d(0x315)]['get'](_0x6ed16b)['cursorInfo$']:this['_entityInit$'][_0x195d4d(0x3c8)](_0x33bad6[_0x195d4d(0x25e)](_0xa9a53c=>_0xa9a53c[_0x195d4d(0x41b)]===_0x6ed16b),_0x33bad6['switchMap'](_0xa65f3b=>_0xa65f3b['cursorInfo$']));}['_init'](){const _0x598ffa=_0x21371e;this[_0x598ffa(0x2dd)][_0x598ffa(0x392)](_0x1ede52[_0x598ffa(0x2c1)][_0x598ffa(0x311)])['pipe'](_0x33bad6[_0x598ffa(0x34c)](this[_0x598ffa(0x2a7)]))[_0x598ffa(0x419)](async _0x55c4c9=>{const _0x57ca5c=_0x598ffa,_0x2b54c9=_0x55c4c9[_0x57ca5c(0x290)](),_0x503ad3=await this[_0x57ca5c(0x406)](_0x2b54c9);this['_entityInit$'][_0x57ca5c(0x3c4)](_0x503ad3),this['_entities'][_0x57ca5c(0x2b4)](_0x2b54c9,_0x503ad3);}),this[_0x598ffa(0x2dd)]['getTypeOfUnitAdded$'](_0x1ede52[_0x598ffa(0x2c1)][_0x598ffa(0x271)])[_0x598ffa(0x3c8)](_0x33bad6[_0x598ffa(0x34c)](this['dispose$']))[_0x598ffa(0x3c8)](_0x33bad6['filter'](_0x5a3ece=>!_0x5a3ece[_0x598ffa(0x290)]()['startsWith']('__')))[_0x598ffa(0x419)](async _0x5a491c=>{const _0x651387=_0x598ffa,_0x2f0554=_0x5a491c['getUnitId'](),_0x52458a=await this['_startDocCollabCursor'](_0x2f0554);this[_0x651387(0x231)][_0x651387(0x3c4)](_0x52458a),this[_0x651387(0x315)]['set'](_0x2f0554,_0x52458a);}),_0x33bad6[_0x598ffa(0x245)](this[_0x598ffa(0x2dd)][_0x598ffa(0x3f6)](_0x1ede52[_0x598ffa(0x2c1)][_0x598ffa(0x271)]),this[_0x598ffa(0x2dd)]['getTypeOfUnitDisposed$'](_0x1ede52[_0x598ffa(0x2c1)]['UNIVER_SHEET']))[_0x598ffa(0x3c8)](_0x33bad6[_0x598ffa(0x34c)](this['dispose$']))[_0x598ffa(0x419)](_0x3fa219=>{const _0x3fe6a3=_0x598ffa,_0x576dac=_0x3fa219[_0x3fe6a3(0x290)](),_0x524a1e=this[_0x3fe6a3(0x315)][_0x3fe6a3(0x384)](_0x576dac);_0x524a1e&&(_0x524a1e[_0x3fe6a3(0x250)](),this[_0x3fe6a3(0x315)][_0x3fe6a3(0x448)](_0x576dac));});}async['_startSheetCollabCursor'](_0x14fcf4){const _0xc5bc78=_0x21371e,_0x2d115c=await this[_0xc5bc78(0x300)][_0xc5bc78(0x2be)](_0x14fcf4),_0x1c4e86=this[_0xc5bc78(0x3c9)][_0xc5bc78(0x3e2)](_0x2e1f70,_0x14fcf4,_0x2d115c);return _0x1c4e86[_0xc5bc78(0x2b6)](),_0x1c4e86;}async[_0x21371e(0x25c)](_0x4f161c){const _0x39ee1d=_0x21371e,_0x3474ee=await this['_collabSessionService']['requireSession'](_0x4f161c),_0xc4097e=this[_0x39ee1d(0x3c9)]['createInstance'](_0x3113c7,_0x4f161c,_0x3474ee);return _0xc4097e[_0x39ee1d(0x2b6)](),_0xc4097e;}};_0x2a000d=_0x265e35([_0x3232da(0x0,_0x1ede52[_0x21371e(0x1d9)]),_0x3232da(0x1,_0x1ede52['Inject'](_0x1ede52[_0x21371e(0x31f)])),_0x3232da(0x2,_0x1ede52[_0x21371e(0x249)](_0x1603d9['CollaborationSessionService']))],_0x2a000d);const _0x5d2bc9=0x14,_0x2f2f4d=0xc8,_0x54456b=0x4,_0x517045=0x5;function _0x544389(_0x13a951,_0xa08fe8){const _0x279dee=_0x21371e;let {radius:_0x2bd37d,width:_0x459535,height:_0x538973}=_0xa08fe8;_0x2bd37d=_0x2bd37d!=null?_0x2bd37d:0x0,_0x459535=_0x459535!=null?_0x459535:0x1e,_0x538973=_0x538973!=null?_0x538973:0x1e;let _0x12da08=0x0,_0x4528c3=0x0,_0x28a8a5=0x0;_0x12da08=_0x4528c3=_0x28a8a5=Math[_0x279dee(0x294)](_0x2bd37d,_0x459535/0x2,_0x538973/0x2),_0x13a951[_0x279dee(0x332)](),_0x13a951['moveTo'](_0x12da08,0x0),_0x13a951[_0x279dee(0x224)](_0x459535-_0x4528c3,0x0),_0x13a951['arc'](_0x459535-_0x4528c3,_0x4528c3,_0x4528c3,Math['PI']*0x3/0x2,0x0,!0x1),_0x13a951[_0x279dee(0x224)](_0x459535,_0x538973-_0x28a8a5),_0x13a951[_0x279dee(0x254)](_0x459535-_0x28a8a5,_0x538973-_0x28a8a5,_0x28a8a5,0x0,Math['PI']/0x2,!0x1),_0x13a951['lineTo'](0x0,_0x538973),_0x13a951['lineTo'](0x0,_0x12da08),_0x13a951[_0x279dee(0x254)](_0x12da08,_0x12da08,_0x12da08,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13a951[_0x279dee(0x30d)](),_0xa08fe8[_0x279dee(0x36a)]&&(_0x13a951[_0x279dee(0x414)](),_0x13a951['fillStyle']=_0xa08fe8[_0x279dee(0x36a)],_0xa08fe8[_0x279dee(0x3eb)]===_0x279dee(0x2d6)?_0x13a951[_0x279dee(0x36a)](_0x279dee(0x2d6)):_0x13a951[_0x279dee(0x36a)](),_0x13a951[_0x279dee(0x38e)]());}class _0x58d37a extends _0x82717a['Shape']{constructor(_0x2f1917,_0x46cfa1){const _0x263731=_0x21371e;super(_0x2f1917,_0x46cfa1),_0x28d757(this,_0x263731(0x2fa)),_0x28d757(this,'text'),(this[_0x263731(0x2fa)]=_0x46cfa1==null?void 0x0:_0x46cfa1[_0x263731(0x2fa)],this[_0x263731(0x2b5)]=_0x46cfa1==null?void 0x0:_0x46cfa1[_0x263731(0x2b5)]);}static[_0x21371e(0x272)](_0x9286a6,_0x1fd715){const _0x2ce0e1=_0x21371e,{text:_0x22537e,color:_0x561d50}=_0x1fd715;_0x9286a6[_0x2ce0e1(0x414)](),_0x9286a6['font']=_0x2ce0e1(0x257);const _0x2c39e0=_0x9286a6['measureText'](_0x22537e)['width'],_0x468efa=Math[_0x2ce0e1(0x294)](_0x2c39e0+0x2*_0x54456b,_0x2f2f4d);_0x544389(_0x9286a6,{'height':_0x5d2bc9,'radius':0x4,'width':_0x468efa,'fill':_0x561d50,'evented':!0x1}),_0x9286a6[_0x2ce0e1(0x1dc)]='#FFF';const _0x4c8720=_0x54456b,_0x5177ea=_0x5d2bc9-_0x517045,_0xcac9c9=_0x2f2f4d-0x2*_0x54456b;if(_0x2c39e0>_0xcac9c9){let _0x10b9be='',_0x4f1f0f=0x0;for(const _0x1d7dfa of _0x22537e){const _0x36a115=_0x9286a6[_0x2ce0e1(0x324)](_0x1d7dfa)[_0x2ce0e1(0x342)];if(_0x4f1f0f+_0x36a115<=_0xcac9c9-_0x9286a6[_0x2ce0e1(0x324)](_0x2ce0e1(0x34a))[_0x2ce0e1(0x342)])_0x10b9be+=_0x1d7dfa,_0x4f1f0f+=_0x36a115;else{_0x10b9be+='...';break;}}_0x9286a6['fillText'](_0x10b9be,_0x4c8720,_0x5177ea);}else _0x9286a6[_0x2ce0e1(0x310)](_0x22537e,_0x4c8720,_0x5177ea);_0x9286a6[_0x2ce0e1(0x38e)]();}[_0x21371e(0x344)](_0x30c885){const _0x1b4d2f=_0x21371e;_0x58d37a[_0x1b4d2f(0x272)](_0x30c885,this);}}const _0xc56713=_0x21371e(0x2cb),_0x3edb51=_0x21371e(0x23e),_0x40e89d=_0x21371e(0x44b),_0x21f95b=0x6,_0x2603e1=1.5,_0x4a83d0=0x4,_0x783a42=1.5,_0x39c208=_0x21371e(0x398);class _0x357d9f{constructor(_0x3527d5,_0x811f01,_0x7b323c,_0x55e706){const _0x18b531=_0x21371e;_0x28d757(this,'_shapes',[]),_0x28d757(this,_0x18b531(0x1d2),null),_0x28d757(this,'_textBubble',null),_0x28d757(this,'_anchorDot',null),_0x28d757(this,_0x18b531(0x377),null),_0x28d757(this,'_eventUnsubscribe',null),(this[_0x18b531(0x302)]=_0x3527d5,this['_scene']=_0x811f01,this['_docSkeleton']=_0x7b323c,this[_0x18b531(0x2d1)]=_0x55e706,this[_0x18b531(0x2ce)]());}set[_0x21371e(0x33c)](_0x5057dc){const _0x2b17bb=_0x21371e;_0x5057dc?(this[_0x2b17bb(0x1f5)]&&this[_0x2b17bb(0x1f5)]['hide'](),this[_0x2b17bb(0x421)]&&this[_0x2b17bb(0x421)]['show']()):(this['_anchorDot']&&this[_0x2b17bb(0x1f5)][_0x2b17bb(0x370)](),this[_0x2b17bb(0x421)]&&this[_0x2b17bb(0x421)][_0x2b17bb(0x3d6)]());}[_0x21371e(0x250)](){const _0xefc192=_0x21371e;for(const _0x1151c3 of this[_0xefc192(0x25b)])_0x1151c3['dispose']();this[_0xefc192(0x421)]&&this['_textBubble'][_0xefc192(0x250)](),this['_anchorDot']&&this['_anchorDot'][_0xefc192(0x250)](),this['_anchor']&&this[_0xefc192(0x1d2)]['dispose'](),this['_eventUnsubscribe']&&this[_0xefc192(0x433)]();}['_render'](){const _0xc0e269=_0x21371e;var _0x17fd3a;const {_docSkeleton:_0x442962,_document:_0x1a13e0}=this,{color:_0x3480ad,name:_0x5e6812,ranges:_0x1ee8f1}=this[_0xc0e269(0x302)],_0x29a2ee=_0x1a13e0[_0xc0e269(0x25d)](),{docsLeft:_0x407119,docsTop:_0x54729c}=_0x29a2ee,_0x12c44f=new _0x7b7c75[(_0xc0e269(0x346))](_0x29a2ee,_0x442962);for(const {startOffset:_0x10132a,endOffset:_0x3632bf,rangeType:_0x3e8bfe,segmentId:_0x39c659,segmentPage:_0x4dc2bc,collapsed:_0x3c3b2b,isActive:_0x211e26}of _0x1ee8f1){const _0x487205=_0x442962['findNodePositionByCharIndex'](_0x10132a,!0x0,_0x39c659,_0x4dc2bc);let _0x35dc48=_0x442962[_0xc0e269(0x3e0)](_0x3632bf,!0x0,_0x39c659,_0x4dc2bc);if(_0x35dc48==null&&(_0x35dc48=_0x442962[_0xc0e269(0x3e0)](_0x3632bf-0x1,!0x1,_0x39c659,_0x4dc2bc)),_0x211e26){const {contentBoxPointGroup:_0xbc3716}=_0x12c44f['getRangePointData'](_0x35dc48,_0x35dc48);if(_0xbc3716['length']===0x0)continue;this['_drawAnchor'](_0x3480ad,_0xbc3716,_0x407119,_0x54729c,_0x5e6812),this[_0xc0e269(0x433)]=this[_0xc0e269(0x362)]();}if(_0x487205&&_0x35dc48){if(_0x3e8bfe===_0x1ede52[_0xc0e269(0x2a0)][_0xc0e269(0x30f)]){const _0x47dc39=new _0x7b7c75[(_0xc0e269(0x20c))](_0x29a2ee,_0x442962),{pointGroup:_0x38fc08}=(_0x17fd3a=_0x47dc39[_0xc0e269(0x204)](_0x487205,_0x35dc48))!=null?_0x17fd3a:{};if(_0x38fc08==null||_0x38fc08[_0xc0e269(0x24e)]===0x0)continue;this['_drawRectRange'](_0x3480ad,_0x38fc08,_0x407119,_0x54729c);}else{if(!_0x3c3b2b){const {borderBoxPointGroup:_0x68d3cf}=_0x12c44f['getRangePointData'](_0x487205,_0x35dc48);if(_0x68d3cf[_0xc0e269(0x24e)]===0x0)continue;this['_drawTextRange'](_0x3480ad,_0x68d3cf,_0x407119,_0x54729c);}}}}}[_0x21371e(0x260)](_0xc45a46,_0x122c72,_0x4190f1,_0x4cfd44,_0x11f129){const _0x3d2fe6=_0x21371e,_0x294676=this[_0x3d2fe6(0x3be)](_0x122c72),{left:_0x5bef03,top:_0x3e7667,height:_0x4b6afb}=_0x294676,_0x69ea20=this[_0x3d2fe6(0x292)](),_0x35a361=_0x783a42/_0x69ea20,_0x283ab6=new _0x82717a[(_0x3d2fe6(0x32a))](_0xc56713+_0x1ede52[_0x3d2fe6(0x3a5)][_0x3d2fe6(0x3f8)](_0x21f95b),{'left':_0x5bef03+_0x4190f1-_0x35a361,'top':_0x3e7667+_0x4cfd44,'height':_0x4b6afb,'width':_0x2603e1,'fill':_0xc45a46||_0x82717a['getColor'](_0x1ede52['COLORS']['black'],0x0),'strokeWidth':_0x35a361,'stroke':_0x39c208,'evented':!0x0});this[_0x3d2fe6(0x1d2)]=_0x283ab6,this[_0x3d2fe6(0x420)][_0x3d2fe6(0x2ef)](_0x283ab6,_0x7b7c75['TEXT_RANGE_LAYER_INDEX']);const _0x3b6fc3=new _0x82717a[(_0x3d2fe6(0x32a))](_0xc56713+_0x1ede52[_0x3d2fe6(0x3a5)][_0x3d2fe6(0x3f8)](_0x21f95b),{'left':_0x5bef03+_0x4190f1-_0x35a361,'top':_0x3e7667+_0x4cfd44-_0x4a83d0/0x2,'height':_0x4a83d0,'width':_0x4a83d0,'fill':_0xc45a46||_0x82717a[_0x3d2fe6(0x201)](_0x1ede52['COLORS'][_0x3d2fe6(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0xc45a46||_0x82717a[_0x3d2fe6(0x201)](_0x1ede52['COLORS']['black'],0x0),'evented':!0x1});this[_0x3d2fe6(0x1f5)]=_0x3b6fc3,this['_scene'][_0x3d2fe6(0x2ef)](_0x3b6fc3,_0x7b7c75[_0x3d2fe6(0x1d5)]);const _0x57861d=new _0x58d37a(_0xc56713+_0x1ede52['Tools'][_0x3d2fe6(0x3f8)](_0x21f95b),{'left':_0x5bef03+_0x4190f1-_0x35a361,'top':_0x3e7667+_0x4cfd44-_0x5d2bc9,'text':_0x11f129,'color':_0xc45a46});this[_0x3d2fe6(0x421)]=_0x57861d,this[_0x3d2fe6(0x420)][_0x3d2fe6(0x2ef)](_0x57861d,_0x7b7c75['TEXT_RANGE_LAYER_INDEX']),this[_0x3d2fe6(0x33c)]=!0x1;}[_0x21371e(0x362)](){const _0xc57653=_0x21371e,_0x2fc87a=this[_0xc57653(0x1d2)][_0xc57653(0x2d9)][_0xc57653(0x2fb)](()=>{this['_hover']=!0x0;}),_0x41ca55=this[_0xc57653(0x1d2)][_0xc57653(0x283)][_0xc57653(0x2fb)](()=>{const _0x4adf5c=_0xc57653;this[_0x4adf5c(0x377)]&&clearTimeout(this[_0x4adf5c(0x377)]),this['_hideTimer']=setTimeout(()=>{const _0x2ff1e9=_0x4adf5c;this[_0x2ff1e9(0x33c)]=!0x1;},0x7d0);});return()=>{const _0x52d6b5=_0xc57653;_0x2fc87a[_0x52d6b5(0x3bf)](),_0x41ca55[_0x52d6b5(0x3bf)]();};}[_0x21371e(0x3b0)](_0x621aac,_0x414382,_0x3c625f,_0x115319){const _0x59172c=_0x21371e,_0x43e816=new _0x1ede52[(_0x59172c(0x445))](_0x621aac)[_0x59172c(0x3b6)](0.2)[_0x59172c(0x251)](),_0x1f920a=new _0x82717a[(_0x59172c(0x37c))](_0x3edb51+_0x1ede52['Tools']['generateRandomId'](_0x21f95b),{'pointsGroup':_0x414382,'fill':_0x43e816||_0x82717a[_0x59172c(0x201)](_0x1ede52[_0x59172c(0x37e)][_0x59172c(0x2ed)],0.2),'left':_0x3c625f,'top':_0x115319,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x59172c(0x25b)][_0x59172c(0x3e6)](_0x1f920a),this[_0x59172c(0x420)][_0x59172c(0x2ef)](_0x1f920a,_0x7b7c75[_0x59172c(0x1d5)]);}[_0x21371e(0x3b7)](_0x1a4248,_0x28f495,_0x4cf7f2,_0x18b6cc){const _0x3366a8=_0x21371e,_0x311562=new _0x1ede52[(_0x3366a8(0x445))](_0x1a4248)['setAlpha'](0.2)[_0x3366a8(0x251)](),_0x539ec0=new _0x82717a[(_0x3366a8(0x37c))](_0x40e89d+_0x1ede52['Tools']['generateRandomId'](_0x21f95b),{'pointsGroup':_0x28f495,'fill':_0x311562||_0x82717a[_0x3366a8(0x201)](_0x1ede52[_0x3366a8(0x37e)][_0x3366a8(0x2ed)],0.2),'left':_0x4cf7f2,'top':_0x18b6cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3366a8(0x25b)][_0x3366a8(0x3e6)](_0x539ec0),this['_scene'][_0x3366a8(0x2ef)](_0x539ec0,_0x7b7c75[_0x3366a8(0x1d5)]);}[_0x21371e(0x3be)](_0x3aea22){const _0xb14c52=_0x3aea22[0x0],_0xa51021=_0xb14c52[0x0],_0x4b98f9=_0xb14c52[0x2],{x:_0x112a75,y:_0x15a99f}=_0xa51021,{x:_0x4ad21d,y:_0x51badb}=_0x4b98f9;return{'left':_0x112a75,'top':_0x15a99f,'width':_0x4ad21d-_0x112a75,'height':_0x51badb-_0x15a99f};}['_getScale'](){const _0x4a4a98=_0x21371e,{scaleX:_0x1b328a,scaleY:_0x103b56}=this[_0x4a4a98(0x420)][_0x4a4a98(0x2bc)]();return Math[_0x4a4a98(0x35d)](_0x1b328a,_0x103b56);}}var _0x51b44b=Object[_0x21371e(0x2d2)],_0x182384=Object[_0x21371e(0x409)],_0x17c7eb=(_0x203810,_0x25e265,_0x2cbd65,_0x46540b)=>{const _0x3fb0b8=_0x21371e;for(var _0x24c9c7=_0x46540b>0x1?void 0x0:_0x46540b?_0x182384(_0x25e265,_0x2cbd65):_0x25e265,_0x5a4ef7=_0x203810[_0x3fb0b8(0x24e)]-0x1,_0x5e21b3;_0x5a4ef7>=0x0;_0x5a4ef7--)(_0x5e21b3=_0x203810[_0x5a4ef7])&&(_0x24c9c7=(_0x46540b?_0x5e21b3(_0x25e265,_0x2cbd65,_0x24c9c7):_0x5e21b3(_0x24c9c7))||_0x24c9c7);return _0x46540b&&_0x24c9c7&&_0x51b44b(_0x25e265,_0x2cbd65,_0x24c9c7),_0x24c9c7;},_0x2e217f=(_0x24f413,_0x266add)=>(_0x372aab,_0x20c332)=>_0x266add(_0x372aab,_0x20c332,_0x24f413);let _0x4ab423=class extends _0x1ede52[_0x21371e(0x28d)]{constructor(_0x36c4de,_0x26b0df,_0x2b2684,_0x190202,_0x3c83b3){const _0x3bd073=_0x21371e;super(),_0x28d757(this,_0x3bd073(0x233),[]),_0x28d757(this,_0x3bd073(0x1eb),[]),(this['_context']=_0x36c4de,this[_0x3bd073(0x226)]=_0x26b0df,this[_0x3bd073(0x3f4)]=_0x2b2684,this[_0x3bd073(0x1d3)]=_0x190202,this[_0x3bd073(0x3bd)]=_0x3c83b3,this['_init']());}['_init'](){const _0x3bff5f=_0x21371e,_0x44bffa=this[_0x3bff5f(0x22a)]['unitId'],_0x32c1d7=this[_0x3bff5f(0x226)];this[_0x3bff5f(0x3fb)](_0x33bad6['combineLatest']([this[_0x3bff5f(0x3f4)][_0x3bff5f(0x3d9)](_0x44bffa),this[_0x3bff5f(0x3bd)]['currentTheme$']])['pipe'](_0x2c3eed[_0x3bff5f(0x1de)](([_0x43a1a5,_0x1c98a6])=>({'skeleton':_0x32c1d7[_0x3bff5f(0x2bb)](),'cursors':[..._0x43a1a5[_0x3bff5f(0x2f7)]()][_0x3bff5f(0x274)](_0x156144=>({..._0x156144,'color':_0x1c98a6[_0x156144[_0x3bff5f(0x2fa)]]}))})))[_0x3bff5f(0x419)](_0x185210=>{const _0xd64616=_0x3bff5f;if(this['_removeCollabCursors'](),_0x185210){const {skeleton:_0x54f2c9,cursors:_0x3a01aa}=_0x185210;this[_0xd64616(0x2de)](_0x54f2c9,_0x3a01aa);}})),this[_0x3bff5f(0x200)](),this[_0x3bff5f(0x37d)]();}[_0x21371e(0x2de)](_0x2ffaa5,_0x2b422b){const _0x820405=_0x21371e,{scene:_0x4ad60c,mainComponent:_0x261ae2}=this[_0x820405(0x22a)],_0x3142cb=_0x2b422b[_0x820405(0x1de)](_0x339d3d=>new _0x357d9f(_0x339d3d,_0x4ad60c,_0x2ffaa5,_0x261ae2));this['_cursorShapes']=_0x3142cb,this['_cursors']=_0x2b422b;}[_0x21371e(0x26d)](){const _0x25b461=_0x21371e;this[_0x25b461(0x395)]();const {scene:_0x3a7809,mainComponent:_0x245a49}=this['_context'],_0x30bb26=this[_0x25b461(0x226)][_0x25b461(0x2bb)](),_0xe5604b=this[_0x25b461(0x1eb)][_0x25b461(0x1de)](_0x9b8076=>new _0x357d9f(_0x9b8076,_0x3a7809,_0x30bb26,_0x245a49));this[_0x25b461(0x233)]=_0xe5604b;}[_0x21371e(0x395)](){const _0x469de7=_0x21371e;this[_0x469de7(0x233)][_0x469de7(0x2d7)](_0x364a71=>_0x364a71[_0x469de7(0x250)]()),this[_0x469de7(0x233)]=[];}[_0x21371e(0x37d)](){const _0x405935=_0x21371e,_0x34d168=[_0x7b7c75[_0x405935(0x2a6)]['id']];this['disposeWithMe'](this[_0x405935(0x1d3)]['onCommandExecuted'](_0xec7118=>{const _0x156a5f=_0x405935;_0x34d168[_0x156a5f(0x213)](_0xec7118['id'])&&_0xec7118[_0x156a5f(0x253)]['unitId']===this['_context'][_0x156a5f(0x3f7)]&&this[_0x156a5f(0x26d)]();}));}[_0x21371e(0x200)](){const _0x105d83=_0x21371e;this[_0x105d83(0x3fb)](_0x1ede52[_0x105d83(0x216)](this[_0x105d83(0x22a)][_0x105d83(0x2e9)][_0x105d83(0x1fa)])[_0x105d83(0x3c8)](_0x2c3eed[_0x105d83(0x25e)](_0x35b943=>_0x35b943[_0x105d83(0x222)]===_0x82717a[_0x105d83(0x3cd)][_0x105d83(0x20a)]),_0x2c3eed[_0x105d83(0x28c)](0x10))['subscribe'](()=>{const _0x1707a6=_0x105d83;this[_0x1707a6(0x26d)]();}));}};_0x4ab423=_0x17c7eb([_0x2e217f(0x1,_0x1ede52[_0x21371e(0x249)](_0x399349[_0x21371e(0x337)])),_0x2e217f(0x2,_0x1ede52[_0x21371e(0x249)](_0x2a000d)),_0x2e217f(0x3,_0x1ede52[_0x21371e(0x446)]),_0x2e217f(0x4,_0x1ede52[_0x21371e(0x249)](_0x1ede52[_0x21371e(0x206)]))],_0x4ab423);const _0x357180=0x1,_0x24ffc3=1.5;class _0x4b8efa extends _0x82717a[_0x21371e(0x32f)]{constructor(_0x1def6e,_0x5485dc){const _0x1c37b0=_0x21371e;super(_0x1def6e,_0x5485dc),_0x28d757(this,'_color'),_0x28d757(this,_0x1c37b0(0x1d6),!0x1),_0x28d757(this,_0x1c37b0(0x232)),_0x28d757(this,_0x1c37b0(0x459),''),_0x28d757(this,'_labelPosition',_0x1c37b0(0x2e5)),_0x28d757(this,_0x1c37b0(0x35b)),(_0x5485dc&&this[_0x1c37b0(0x388)](_0x5485dc),this['onPointerEnter$'][_0x1c37b0(0x2fb)](()=>this[_0x1c37b0(0x388)]({'hovered':!0x0})),this[_0x1c37b0(0x283)][_0x1c37b0(0x2fb)](()=>this[_0x1c37b0(0x388)]({'hovered':!0x1})));}[_0x21371e(0x388)](_0x51a053){const _0x4c5604=_0x21371e;var _0x36173b,_0x4c64d5,_0x2a2041,_0x293182,_0x458fc4,_0x12f8bd;this[_0x4c5604(0x3e3)]=(_0x36173b=_0x51a053[_0x4c5604(0x2fa)])!=null?_0x36173b:this[_0x4c5604(0x3e3)],this[_0x4c5604(0x1d6)]=(_0x4c64d5=_0x51a053['hovered'])!=null?_0x4c64d5:this[_0x4c5604(0x1d6)],this['_range']=(_0x2a2041=_0x51a053['range'])!=null?_0x2a2041:this[_0x4c5604(0x232)],this[_0x4c5604(0x459)]=(_0x293182=_0x51a053['name'])!=null?_0x293182:this[_0x4c5604(0x459)],this[_0x4c5604(0x361)]=(_0x458fc4=_0x51a053[_0x4c5604(0x43d)])!=null?_0x458fc4:this[_0x4c5604(0x361)],this['_backgroundColor']=(_0x12f8bd=_0x51a053['backgroundColor'])!=null?_0x12f8bd:this['_backgroundColor'],this[_0x4c5604(0x3ba)]({'width':_0x51a053[_0x4c5604(0x342)],'height':_0x51a053[_0x4c5604(0x29a)]});}[_0x21371e(0x3e1)](_0x13bf83){const _0xf54dcb=_0x21371e,{row:_0x24515e,column:_0x13b6ec}=_0x13bf83;if(_0x24515e>=this[_0xf54dcb(0x232)][_0xf54dcb(0x1e0)]&&_0x24515e<=this[_0xf54dcb(0x232)][_0xf54dcb(0x425)]&&_0x13b6ec>=this[_0xf54dcb(0x232)][_0xf54dcb(0x343)]&&_0x13b6ec<=this[_0xf54dcb(0x232)][_0xf54dcb(0x412)]){this[_0xf54dcb(0x388)]({'hovered':!0x0});return;}this[_0xf54dcb(0x388)]({'hovered':!0x1});}[_0x21371e(0x264)](_0x20f564){return!0x1;}[_0x21371e(0x344)](_0x230b55){const _0x425610=_0x21371e;_0x82717a['Rect']['drawWith'](_0x230b55,{'width':this[_0x425610(0x342)],'height':this['height'],'strokeWidth':_0x24ffc3,'stroke':this[_0x425610(0x3e3)],'evented':!0x1,'fill':this[_0x425610(0x35b)]}),this['_hovered']&&(_0x230b55[_0x425610(0x414)](),_0x230b55[_0x425610(0x454)](0x1,0x0,0x0,0x1,this[_0x425610(0x342)],this[_0x425610(0x361)]==='bottom'?0x0:-_0x5d2bc9),_0x58d37a[_0x425610(0x272)](_0x230b55,{'text':this[_0x425610(0x459)],'color':this[_0x425610(0x3e3)]}),_0x230b55['restore']());}}var _0x71f5ca=Object[_0x21371e(0x2d2)],_0xed1a00=Object[_0x21371e(0x409)],_0x51817a=(_0x4ee90c,_0x53f5d9,_0x1e1756,_0x2277bd)=>{const _0xa9e076=_0x21371e;for(var _0x10d201=_0x2277bd>0x1?void 0x0:_0x2277bd?_0xed1a00(_0x53f5d9,_0x1e1756):_0x53f5d9,_0x523efe=_0x4ee90c[_0xa9e076(0x24e)]-0x1,_0x56b282;_0x523efe>=0x0;_0x523efe--)(_0x56b282=_0x4ee90c[_0x523efe])&&(_0x10d201=(_0x2277bd?_0x56b282(_0x53f5d9,_0x1e1756,_0x10d201):_0x56b282(_0x10d201))||_0x10d201);return _0x2277bd&&_0x10d201&&_0x71f5ca(_0x53f5d9,_0x1e1756,_0x10d201),_0x10d201;},_0x338e3f=(_0x2752dc,_0xdb2058)=>(_0x5906d7,_0x572466)=>_0xdb2058(_0x5906d7,_0x572466,_0x2752dc);const _0x28227a=0x1389;let _0x5a8f81=class extends _0x1ede52[_0x21371e(0x28d)]{constructor(_0x1bbc86,_0x4baf47,_0x25fabe,_0x5d6030){const _0x380a42=_0x21371e;super(),_0x28d757(this,'_cursors',new Set()),_0x28d757(this,'_lastPointer',null),(this['_context']=_0x1bbc86,this['_sheetSkeletonManagerService']=_0x4baf47,this[_0x380a42(0x3f4)]=_0x25fabe,this[_0x380a42(0x3bd)]=_0x5d6030,this[_0x380a42(0x27e)]());}[_0x21371e(0x27e)](){const _0x464200=_0x21371e;this[_0x464200(0x2c0)][_0x464200(0x20b)][_0x464200(0x3c8)](_0x2c3eed[_0x464200(0x34c)](this[_0x464200(0x2a7)]),_0x2c3eed['switchMap'](_0x451b86=>{const _0x37d4db=_0x464200;if(_0x451b86){const _0x274b2c=_0x451b86[_0x37d4db(0x2fd)];return _0x33bad6[_0x37d4db(0x279)](this['_collabCursorController'][_0x37d4db(0x3d9)](this[_0x37d4db(0x22a)][_0x37d4db(0x3f7)]),this[_0x37d4db(0x3bd)][_0x37d4db(0x1db)])[_0x37d4db(0x3c8)](_0x2c3eed['map'](([_0x4ae711,_0x5e8d45])=>{const _0x22adc1=_0x37d4db,_0x1e77d8=new Map();return _0x4ae711[_0x22adc1(0x2d7)]((_0x4fc340,_0x1ef164)=>{const _0x29b8ec=_0x22adc1;if(_0x4fc340[_0x29b8ec(0x441)]===_0x274b2c){const _0x5dd9c1={..._0x4fc340};_0x5dd9c1[_0x29b8ec(0x2fa)]=_0x5e8d45[_0x4fc340[_0x29b8ec(0x2fa)]],_0x1e77d8[_0x29b8ec(0x2b4)](_0x1ef164,_0x5dd9c1);}}),{'skeleton':_0x451b86,'cursors':_0x1e77d8};}));}return _0x33bad6['of']({'skeleton':null,'cursors':new Map()});}))[_0x464200(0x419)](({skeleton:_0x13cea2,cursors:_0x201784})=>{const _0x47d9bc=_0x464200;this['_removeCollabCursors'](),_0x13cea2&&this[_0x47d9bc(0x2de)](_0x13cea2,_0x201784);}),this[_0x464200(0x2c0)]['currentSkeleton$'][_0x464200(0x419)](_0x2189db=>{const _0x1fc5b7=_0x464200;if(_0x2189db==null)return;const {skeleton:_0xc26ff2}=_0x2189db,{scene:_0x83f320}=this['_context'];_0x83f320[_0x1fc5b7(0x21e)][_0x1fc5b7(0x2fb)](_0x1ede52[_0x1fc5b7(0x29b)](_0x4ee5dc=>{const _0x2926ba=_0x1fc5b7;var _0x5dd9cb,_0x3c979d;const {offsetX:_0x3d66da,offsetY:_0x276509}=_0x4ee5dc,{x:_0x6ae687,y:_0x4db818}=_0x83f320['getRelativeToViewportCoord'](_0x82717a[_0x2926ba(0x1e2)][_0x2926ba(0x2b2)]([_0x3d66da,_0x276509])),{scaleX:_0x30235c,scaleY:_0x4e0ef2}=_0x83f320['getAncestorScale'](),_0x2461b2=_0x83f320[_0x2926ba(0x336)](_0x82717a['SHEET_VIEWPORT_KEY'][_0x2926ba(0x28a)]),_0x2ea0a9=_0x83f320['getVpScrollXYInfoByPosToVp'](_0x82717a['Vector2'][_0x2926ba(0x2b2)]([_0x6ae687,_0x4db818]),_0x2461b2),_0xcd09f8=_0xc26ff2[_0x2926ba(0x2f9)](_0x3d66da,_0x276509,_0x30235c,_0x4e0ef2,_0x2ea0a9);((_0x5dd9cb=this['_lastPointer'])==null?void 0x0:_0x5dd9cb[_0x2926ba(0x3ac)])===_0xcd09f8[_0x2926ba(0x3ac)]&&((_0x3c979d=this[_0x2926ba(0x436)])==null?void 0x0:_0x3c979d['row'])===_0xcd09f8[_0x2926ba(0x1d8)]||this['_cursors'][_0x2926ba(0x2d7)](_0x20342b=>{const _0x4776ce=_0x2926ba;_0x20342b[_0x4776ce(0x3e1)](_0xcd09f8);});},0x64));});}[_0x21371e(0x2de)](_0x2deb49,_0x39a378){const _0x15b157=_0x21371e;var _0x5e6743;const _0x22c1e4=(_0x5e6743=this[_0x15b157(0x2c0)][_0x15b157(0x27d)]())==null?void 0x0:_0x5e6743[_0x15b157(0x3e5)];if(!_0x22c1e4)return;const _0x1f9c33=this['_getSheetObject']();if(!_0x1f9c33)return;this['_cursors']['forEach'](_0x323e0e=>{const _0xb040d7=_0x15b157;_0x323e0e[_0xb040d7(0x35c)]();});const {scene:_0x4185e1}=_0x1f9c33,_0x3f1ca9=_0x12e37d(Array['from'](_0x39a378[_0x15b157(0x2f7)]()))[_0x15b157(0x1de)](_0xb5ec54=>{const _0x492f85=_0x15b157,{color:_0x4c23fc,range:_0x5c59e2,name:_0x17c1b8,selection:_0x54f5bd,sheetID:_0x3d9bf3}=_0xb5ec54,{startColumn:_0x3eb2a8,startRow:_0x442d1d,endColumn:_0x32b812,endRow:_0x29b5b4}=_0x5c59e2,_0x57a65f=_0x345f66[_0x492f85(0x3b5)](_0x442d1d,_0x3eb2a8,_0x4185e1,_0x22c1e4),_0x2cab7f=_0x345f66[_0x492f85(0x3b5)](_0x29b5b4,_0x32b812,_0x4185e1,_0x22c1e4),{columnHeaderHeightAndMarginTop:_0x42d9f9}=_0x22c1e4,{startX:_0x49f837,startY:_0x5352fc}=_0x57a65f,{endX:_0x54bff2,endY:_0x202a5d}=_0x2cab7f,_0xbb3cb3=_0x54bff2-_0x49f837,_0x364157=_0x202a5d-_0x5352fc,_0x4af8a7={'labelPosition':_0x5352fc-_0x42d9f9>=_0x5d2bc9?_0x492f85(0x2e5):_0x492f85(0x23c),'sheetID':_0x3d9bf3,'range':_0x5c59e2,'color':_0x4c23fc,'name':_0x17c1b8,'selection':_0x54f5bd,'left':_0x49f837,'top':_0x5352fc,'width':_0xbb3cb3,'height':_0x364157,'evented':!0x1,'zIndex':_0x28227a};return new _0x4b8efa(_0x17c1b8,_0x4af8a7);});_0x4185e1[_0x15b157(0x3ef)](_0x3f1ca9,_0x357180),this[_0x15b157(0x1eb)]=new Set(_0x3f1ca9);}[_0x21371e(0x395)](){const _0x2906c3=_0x21371e;var _0xd0c2bd;(_0xd0c2bd=this['_cursors'])==null||_0xd0c2bd[_0x2906c3(0x2d7)](_0x5aa4d1=>_0x5aa4d1['dispose']());}[_0x21371e(0x42b)](){const _0x41d530=_0x21371e;return _0x345f66[_0x41d530(0x394)](this[_0x41d530(0x22a)][_0x41d530(0x2ad)],this[_0x41d530(0x22a)]);}};_0x5a8f81=_0x51817a([_0x338e3f(0x1,_0x1ede52[_0x21371e(0x249)](_0x345f66['SheetSkeletonManagerService'])),_0x338e3f(0x2,_0x1ede52['Inject'](_0x2a000d)),_0x338e3f(0x3,_0x1ede52[_0x21371e(0x249)](_0x1ede52['ThemeService']))],_0x5a8f81);function _0x12e37d(_0x39c0de){const _0x28df37=_0x21371e,_0x513bb0=new Map();return _0x39c0de[_0x28df37(0x2d7)](_0x323416=>{const _0xd70553=_0x28df37;if(_0x513bb0[_0xd70553(0x2ba)](_0x323416[_0xd70553(0x212)])){const _0x59b605=_0x513bb0[_0xd70553(0x384)](_0x323416['selection']);_0x59b605[_0xd70553(0x347)]+=',\x20'+_0x323416[_0xd70553(0x347)];}else _0x513bb0[_0xd70553(0x2b4)](_0x323416[_0xd70553(0x212)],_0x323416);}),Array[_0x28df37(0x366)](_0x513bb0[_0x28df37(0x2f7)]());}var _0x1aa67b={'exports':{}},_0x103f0a={},_0x987a51;function _0x52db33(){const _0x51722e=_0x21371e;if(_0x987a51)return _0x103f0a;_0x987a51=0x1;var _0x7062fc=_0x12d01f,_0x2a9bb6=Symbol[_0x51722e(0x38b)](_0x51722e(0x3ca)),_0x2f50e7=Symbol[_0x51722e(0x38b)](_0x51722e(0x43a)),_0x5a19fe=Object[_0x51722e(0x26b)][_0x51722e(0x261)],_0xf67e67=_0x7062fc[_0x51722e(0x248)][_0x51722e(0x3d0)],_0x511fd1={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xa931b3(_0x4cc0c9,_0x5ae2be,_0x52a4d0){const _0x374661=_0x51722e;var _0x5e505d,_0x2e6412={},_0x3fbb4a=null,_0x431427=null;_0x52a4d0!==void 0x0&&(_0x3fbb4a=''+_0x52a4d0),_0x5ae2be[_0x374661(0x3f3)]!==void 0x0&&(_0x3fbb4a=''+_0x5ae2be[_0x374661(0x3f3)]),_0x5ae2be[_0x374661(0x2b1)]!==void 0x0&&(_0x431427=_0x5ae2be['ref']);for(_0x5e505d in _0x5ae2be)_0x5a19fe['call'](_0x5ae2be,_0x5e505d)&&!_0x511fd1['hasOwnProperty'](_0x5e505d)&&(_0x2e6412[_0x5e505d]=_0x5ae2be[_0x5e505d]);if(_0x4cc0c9&&_0x4cc0c9[_0x374661(0x26a)]){for(_0x5e505d in(_0x5ae2be=_0x4cc0c9['defaultProps'],_0x5ae2be))_0x2e6412[_0x5e505d]===void 0x0&&(_0x2e6412[_0x5e505d]=_0x5ae2be[_0x5e505d]);}return{'$$typeof':_0x2a9bb6,'type':_0x4cc0c9,'key':_0x3fbb4a,'ref':_0x431427,'props':_0x2e6412,'_owner':_0xf67e67['current']};}return _0x103f0a['Fragment']=_0x2f50e7,_0x103f0a[_0x51722e(0x328)]=_0xa931b3,_0x103f0a[_0x51722e(0x2b9)]=_0xa931b3,_0x103f0a;}var _0x2634f9;function _0x74a366(){const _0x517348=_0x21371e;return _0x2634f9||(_0x2634f9=0x1,_0x1aa67b[_0x517348(0x3f5)]=_0x52db33()),_0x1aa67b[_0x517348(0x3f5)];}var _0x24be94=_0x74a366(),_0x1997df=function(){const _0x9ec471=_0x21371e;return _0x1997df=Object['assign']||function(_0x5d0825){const _0x3a35ba=_0x4d8c;for(var _0x392deb,_0xdc3b9b=0x1,_0x518f15=arguments[_0x3a35ba(0x24e)];_0xdc3b9b<_0x518f15;_0xdc3b9b++){_0x392deb=arguments[_0xdc3b9b];for(var _0x41df12 in _0x392deb)Object[_0x3a35ba(0x26b)][_0x3a35ba(0x261)][_0x3a35ba(0x307)](_0x392deb,_0x41df12)&&(_0x5d0825[_0x41df12]=_0x392deb[_0x41df12]);}return _0x5d0825;},_0x1997df[_0x9ec471(0x3da)](this,arguments);},_0x1a9501=function(_0x4d6488,_0x7fe302){const _0x48e722=_0x21371e;var _0x4dff8d={};for(var _0x1c4d0c in _0x4d6488)Object[_0x48e722(0x26b)][_0x48e722(0x261)][_0x48e722(0x307)](_0x4d6488,_0x1c4d0c)&&_0x7fe302['indexOf'](_0x1c4d0c)<0x0&&(_0x4dff8d[_0x1c4d0c]=_0x4d6488[_0x1c4d0c]);if(_0x4d6488!=null&&typeof Object[_0x48e722(0x2cd)]==_0x48e722(0x449)){for(var _0x2d0a28=0x0,_0x1c4d0c=Object[_0x48e722(0x2cd)](_0x4d6488);_0x2d0a28<_0x1c4d0c[_0x48e722(0x24e)];_0x2d0a28++)_0x7fe302['indexOf'](_0x1c4d0c[_0x2d0a28])<0x0&&Object[_0x48e722(0x26b)]['propertyIsEnumerable'][_0x48e722(0x307)](_0x4d6488,_0x1c4d0c[_0x2d0a28])&&(_0x4dff8d[_0x1c4d0c[_0x2d0a28]]=_0x4d6488[_0x1c4d0c[_0x2d0a28]]);}return _0x4dff8d;},_0x16ba4b=_0x12d01f['forwardRef'](function(_0xfc54e,_0x3cf624){const _0x4701a9=_0x21371e;var _0x3963ed=_0xfc54e[_0x4701a9(0x2a3)],_0x5233b3=_0xfc54e['id'],_0x4aa756=_0xfc54e[_0x4701a9(0x335)],_0x124351=_0xfc54e['extend'],_0x428d83=_0x1a9501(_0xfc54e,['icon','id',_0x4701a9(0x335),_0x4701a9(0x39a)]),_0x159ec6=_0x4701a9(0x263)[_0x4701a9(0x39d)](_0x5233b3,'\x20')[_0x4701a9(0x39d)](_0x4aa756||'')[_0x4701a9(0x39e)](),_0x2f2971=_0x12d01f[_0x4701a9(0x2ea)]('_'[_0x4701a9(0x39d)](_0x4a3ab5()));return _0x57d3b5(_0x3963ed,''[_0x4701a9(0x39d)](_0x5233b3),{'defIds':_0x3963ed[_0x4701a9(0x379)],'idSuffix':_0x2f2971[_0x4701a9(0x235)]},_0x1997df({'ref':_0x3cf624,'className':_0x159ec6},_0x428d83),_0x124351);});function _0x57d3b5(_0xf2b4a6,_0x5b42d6,_0xae8d8e,_0x38ab89,_0x36a5a5){const _0x283b79=_0x21371e;return _0x12d01f['createElement'](_0xf2b4a6[_0x283b79(0x3bc)],_0x1997df(_0x1997df({'key':_0x5b42d6},_0x5b38e8(_0xf2b4a6,_0xae8d8e,_0x36a5a5)),_0x38ab89),(_0x411f10(_0xf2b4a6,_0xae8d8e)[_0x283b79(0x30c)]||[])[_0x283b79(0x1de)](function(_0x17971b,_0x17481b){const _0x21792f=_0x283b79;return _0x57d3b5(_0x17971b,''['concat'](_0x5b42d6,'-')[_0x21792f(0x39d)](_0xf2b4a6[_0x21792f(0x3bc)],'-')[_0x21792f(0x39d)](_0x17481b),_0xae8d8e,void 0x0,_0x36a5a5);}));}function _0x5b38e8(_0x165e7c,_0x163663,_0x264c2b){const _0x2e7496=_0x21371e;var _0x597c17=_0x1997df({},_0x165e7c[_0x2e7496(0x31d)]);_0x264c2b!=null&&_0x264c2b['colorChannel1']&&_0x597c17[_0x2e7496(0x36a)]===_0x2e7496(0x2bd)&&(_0x597c17[_0x2e7496(0x36a)]=_0x264c2b[_0x2e7496(0x2bd)]);var _0x407ea2=_0x163663[_0x2e7496(0x379)];return!_0x407ea2||_0x407ea2[_0x2e7496(0x24e)]===0x0||(_0x165e7c[_0x2e7496(0x3bc)]===_0x2e7496(0x400)&&_0x597c17[_0x2e7496(0x2db)]&&(_0x597c17[_0x2e7496(0x2db)]=_0x597c17[_0x2e7496(0x2db)]+_0x163663[_0x2e7496(0x202)]),Object[_0x2e7496(0x32e)](_0x597c17)[_0x2e7496(0x2d7)](function(_0x2006cc){const _0xc083c7=_0x2e7496;var _0x510ca9=_0x2006cc[0x0],_0x2cd0a8=_0x2006cc[0x1];typeof _0x2cd0a8==_0xc083c7(0x356)&&(_0x597c17[_0x510ca9]=_0x2cd0a8[_0xc083c7(0x38a)](/url\(#(.*)\)/,'url(#$1'[_0xc083c7(0x39d)](_0x163663[_0xc083c7(0x202)],')')));})),_0x597c17;}function _0x411f10(_0x49b5f2,_0x44d7cb){const _0x4772bc=_0x21371e;var _0x1f10f7,_0x3064b1=_0x44d7cb[_0x4772bc(0x379)];return!_0x3064b1||_0x3064b1[_0x4772bc(0x24e)]===0x0?_0x49b5f2:_0x49b5f2[_0x4772bc(0x3bc)]===_0x4772bc(0x26f)&&(!((_0x1f10f7=_0x49b5f2['children'])===null||_0x1f10f7===void 0x0)&&_0x1f10f7[_0x4772bc(0x24e)])?_0x1997df(_0x1997df({},_0x49b5f2),{'children':_0x49b5f2[_0x4772bc(0x30c)][_0x4772bc(0x1de)](function(_0x5547e8){const _0x2be684=_0x4772bc;return typeof _0x5547e8[_0x2be684(0x31d)]['id']==_0x2be684(0x356)&&_0x3064b1&&_0x3064b1['indexOf'](_0x5547e8[_0x2be684(0x31d)]['id'])>-0x1?_0x1997df(_0x1997df({},_0x5547e8),{'attrs':_0x1997df(_0x1997df({},_0x5547e8[_0x2be684(0x31d)]),{'id':_0x5547e8[_0x2be684(0x31d)]['id']+_0x44d7cb[_0x2be684(0x202)]})}):_0x5547e8;})}):_0x49b5f2;}function _0x4a3ab5(){const _0x981238=_0x21371e;return Math[_0x981238(0x33d)]()['toString'](0x24)[_0x981238(0x42f)](0x2,0x8);}_0x16ba4b[_0x21371e(0x386)]='UniverIcon';var _0x634845={'tag':_0x21371e(0x31a),'attrs':{'fill':_0x21371e(0x376),'viewBox':_0x21371e(0x35e),'width':'1em','height':_0x21371e(0x3a2)},'children':[{'tag':'g','attrs':{'clipPath':_0x21371e(0x26e)},'children':[{'tag':_0x21371e(0x2eb),'attrs':{'stroke':'currentColor','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':_0x21371e(0x2dc),'strokeLinejoin':_0x21371e(0x2dc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x21371e(0x1d1),'attrs':{'id':_0x21371e(0x364)},'children':[{'tag':'path','attrs':{'fill':_0x21371e(0x1d7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x21371e(0x364)]},_0x156545=_0x12d01f['forwardRef'](function(_0x1c8306,_0x5eef15){const _0x39c74c=_0x21371e;return _0x12d01f[_0x39c74c(0x27f)](_0x16ba4b,Object[_0x39c74c(0x36f)]({},_0x1c8306,{'id':'off-line-single','ref':_0x5eef15,'icon':_0x634845}));});_0x156545[_0x21371e(0x386)]=_0x21371e(0x405);var _0x2b91b1={'tag':_0x21371e(0x31a),'attrs':{'fill':_0x21371e(0x376),'viewBox':_0x21371e(0x276),'width':_0x21371e(0x3a2),'height':_0x21371e(0x3a2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x21371e(0x2eb),'attrs':{'stroke':'currentColor','d':_0x21371e(0x262),'strokeLinecap':'round','strokeLinejoin':_0x21371e(0x2dc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x21371e(0x1d1),'attrs':{'id':_0x21371e(0x3de)},'children':[{'tag':_0x21371e(0x2eb),'attrs':{'fill':_0x21371e(0x1d7),'d':'M0\x200H16V16H0z','transform':_0x21371e(0x404)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1d2b16=_0x12d01f['forwardRef'](function(_0x38c0cb,_0x447dd5){const _0x3e2900=_0x21371e;return _0x12d01f[_0x3e2900(0x27f)](_0x16ba4b,Object[_0x3e2900(0x36f)]({},_0x38c0cb,{'id':_0x3e2900(0x33f),'ref':_0x447dd5,'icon':_0x2b91b1}));});_0x1d2b16['displayName']=_0x21371e(0x40c);function _0x40966a(_0x4e6c7e){const _0x22fab3=_0x21371e;var _0x187833,_0x5e91ab,_0x38b688='';if(typeof _0x4e6c7e==_0x22fab3(0x356)||typeof _0x4e6c7e==_0x22fab3(0x399))_0x38b688+=_0x4e6c7e;else{if(typeof _0x4e6c7e=='object'){if(Array[_0x22fab3(0x338)](_0x4e6c7e)){var _0x6cbb08=_0x4e6c7e[_0x22fab3(0x24e)];for(_0x187833=0x0;_0x187833<_0x6cbb08;_0x187833++)_0x4e6c7e[_0x187833]&&(_0x5e91ab=_0x40966a(_0x4e6c7e[_0x187833]))&&(_0x38b688&&(_0x38b688+='\x20'),_0x38b688+=_0x5e91ab);}else{for(_0x5e91ab in _0x4e6c7e)_0x4e6c7e[_0x5e91ab]&&(_0x38b688&&(_0x38b688+='\x20'),_0x38b688+=_0x5e91ab);}}}return _0x38b688;}function _0x11ac5e(){const _0x288b9f=_0x21371e;for(var _0x5e6bff,_0x16213d,_0x4d0c0b=0x0,_0x425ff3='',_0x2abdf6=arguments[_0x288b9f(0x24e)];_0x4d0c0b<_0x2abdf6;_0x4d0c0b++)(_0x5e6bff=arguments[_0x4d0c0b])&&(_0x16213d=_0x40966a(_0x5e6bff))&&(_0x425ff3&&(_0x425ff3+='\x20'),_0x425ff3+=_0x16213d);return _0x425ff3;}const _0x3aaad7={'onlineStatusIcon':_0x21371e(0x3c0),'onlineStatusTitle':_0x21371e(0x243),'onlineStatus':'univer-online-status','online':_0x21371e(0x410),'offline':'univer-offline'};function _0x473fbc(_0x1083a3){const _0x1213c1=_0x21371e;switch(_0x1083a3){case _0x1603d9['CollaborationStatus'][_0x1213c1(0x1fd)]:return _0x1213c1(0x42e);case _0x1603d9['CollaborationStatus'][_0x1213c1(0x1f1)]:return _0x1213c1(0x423);case _0x1603d9[_0x1213c1(0x353)][_0x1213c1(0x28e)]:return _0x1213c1(0x2a2);case _0x1603d9[_0x1213c1(0x353)]['NOT_COLLAB']:return _0x1213c1(0x288);case _0x1603d9[_0x1213c1(0x353)][_0x1213c1(0x312)]:case _0x1603d9[_0x1213c1(0x353)][_0x1213c1(0x308)]:return'collabStatus.syncing';case _0x1603d9[_0x1213c1(0x353)][_0x1213c1(0x20d)]:case _0x1603d9[_0x1213c1(0x353)][_0x1213c1(0x43e)]:return _0x1213c1(0x329);}}function _0x3e5299(_0x523b73){const _0x55949e=_0x21371e,{status$:_0x50a91f}=_0x523b73,_0x1f0a51=_0x544152[_0x55949e(0x1f4)](_0x50a91f,_0x1603d9[_0x55949e(0x353)][_0x55949e(0x1ff)]),_0x59d389=_0x1ede52[_0x55949e(0x1e9)](_0x1ede52['LocaleService']),_0x4f2658=_0x1ede52[_0x55949e(0x1e9)](_0x1603d9['CollaborationSessionService']),_0x2c7097=_0x1f0a51!==_0x1603d9[_0x55949e(0x353)][_0x55949e(0x1fd)],_0x25aeb9=_0x59d389['t'](_0x473fbc(_0x1f0a51)),_0x4d186e=_0x11ac5e(_0x3aaad7['onlineStatus'],{[_0x3aaad7['online']]:_0x2c7097,[_0x3aaad7[_0x55949e(0x21d)]]:!_0x2c7097}),_0x19ecd8=_0x2c7097?_0x24be94[_0x55949e(0x328)](_0x1d2b16,{}):_0x24be94[_0x55949e(0x328)](_0x156545,{}),_0x3d0a04=_0x12d01f[_0x55949e(0x451)](()=>{const _0x194af7=_0x55949e;_0x2c7097||_0x4f2658[_0x194af7(0x2f8)]();},[_0x2c7097,_0x4f2658]);function _0x234174(){const _0x2e8b1f=_0x55949e;return _0x24be94[_0x2e8b1f(0x2b9)]('div',{'className':_0x11ac5e(_0x4d186e,_0x2e8b1f(0x2c7)),'onClick':_0x3d0a04,'children':[_0x24be94[_0x2e8b1f(0x328)](_0x2e8b1f(0x334),{'className':_0x3aaad7[_0x2e8b1f(0x35f)],'children':_0x19ecd8}),_0x24be94['jsx'](_0x2e8b1f(0x334),{'className':_0x3aaad7['onlineStatusTitle'],'children':_0x25aeb9})]});}return _0x2c7097?_0x234174():_0x24be94[_0x55949e(0x328)](_0x31becb[_0x55949e(0x349)],{'title':_0x59d389['t'](_0x55949e(0x373)),'children':_0x234174()});}var _0x2b342f=Object[_0x21371e(0x2d2)],_0x270523=Object[_0x21371e(0x409)],_0x5ef46=(_0x1cddee,_0x753018,_0x48838b,_0x12f57c)=>{const _0xbc6d04=_0x21371e;for(var _0x51fc3e=_0x12f57c>0x1?void 0x0:_0x12f57c?_0x270523(_0x753018,_0x48838b):_0x753018,_0x1c816e=_0x1cddee[_0xbc6d04(0x24e)]-0x1,_0x808983;_0x1c816e>=0x0;_0x1c816e--)(_0x808983=_0x1cddee[_0x1c816e])&&(_0x51fc3e=(_0x12f57c?_0x808983(_0x753018,_0x48838b,_0x51fc3e):_0x808983(_0x51fc3e))||_0x51fc3e);return _0x12f57c&&_0x51fc3e&&_0x2b342f(_0x753018,_0x48838b,_0x51fc3e),_0x51fc3e;},_0xab06c=(_0x13c144,_0x79233f)=>(_0x1bda20,_0x46c3d9)=>_0x79233f(_0x1bda20,_0x46c3d9,_0x13c144);_0x5ec128[_0x21371e(0x24b)]=class extends _0x1ede52[_0x21371e(0x38d)]{constructor(_0x23ecef,_0x330bec,_0x3b6ffa,_0x22d950){const _0x47df44=_0x21371e;super(),_0x28d757(this,'_status$',new _0x33bad6[(_0x47df44(0x22f))](_0x1603d9[_0x47df44(0x353)][_0x47df44(0x1ff)])),(this[_0x47df44(0x2dd)]=_0x23ecef,this[_0x47df44(0x3c9)]=_0x330bec,this[_0x47df44(0x2f0)]=_0x3b6ffa,this['_uiPartsService']=_0x22d950,this[_0x47df44(0x340)](),this[_0x47df44(0x391)]());}[_0x21371e(0x391)](){const _0x43a405=_0x21371e;this['disposeWithMe'](this[_0x43a405(0x2dd)][_0x43a405(0x2e6)][_0x43a405(0x3c8)](_0x33bad6['switchMap'](()=>{const _0x494a5f=_0x43a405,_0x234b42=this[_0x494a5f(0x2dd)][_0x494a5f(0x457)]();return _0x234b42?this['_collaborationController'][_0x494a5f(0x444)](_0x234b42['getUnitId']()):_0x33bad6['of'](null);}),_0x33bad6[_0x43a405(0x27b)](_0x16e629=>_0x16e629?_0x16e629['status$']:_0x33bad6['of'](_0x1603d9[_0x43a405(0x353)]['NOT_COLLAB'])))[_0x43a405(0x419)](_0x574eda=>{const _0x133412=_0x43a405;this['_status$'][_0x133412(0x3c4)](_0x574eda);}));}['_initStatusComponent'](){const _0x9b4ecf=_0x21371e;this['disposeWithMe'](this[_0x9b4ecf(0x2ee)][_0x9b4ecf(0x429)](_0x544152[_0x9b4ecf(0x225)][_0x9b4ecf(0x36e)],()=>_0x1ede52[_0x9b4ecf(0x3ed)](_0x3c2c87({'status$':this[_0x9b4ecf(0x234)][_0x9b4ecf(0x397)]()}),this[_0x9b4ecf(0x3c9)])));}},_0x5ec128[_0x21371e(0x24b)]=_0x5ef46([_0xab06c(0x0,_0x1ede52[_0x21371e(0x1d9)]),_0xab06c(0x1,_0x1ede52[_0x21371e(0x249)](_0x1ede52['Injector'])),_0xab06c(0x2,_0x1ede52[_0x21371e(0x249)](_0x1603d9[_0x21371e(0x434)])),_0xab06c(0x3,_0x544152[_0x21371e(0x43c)])],_0x5ec128[_0x21371e(0x24b)]);function _0x3c2c87(_0x53183f){const {status$:_0x16ceb2}=_0x53183f;return function(){const _0x4f01a6=_0x4d8c;return _0x24be94[_0x4f01a6(0x328)](_0x3e5299,{'status$':_0x16ceb2});};}var _0x13069a=Object['defineProperty'],_0x4ce650=Object['getOwnPropertyDescriptor'],_0x17b6b8=(_0x2e48b5,_0x4e7605,_0x5a751c,_0x1a5284)=>{const _0x37e081=_0x21371e;for(var _0x1ba836=_0x1a5284>0x1?void 0x0:_0x1a5284?_0x4ce650(_0x4e7605,_0x5a751c):_0x4e7605,_0x1fd75a=_0x2e48b5[_0x37e081(0x24e)]-0x1,_0x293651;_0x1fd75a>=0x0;_0x1fd75a--)(_0x293651=_0x2e48b5[_0x1fd75a])&&(_0x1ba836=(_0x1a5284?_0x293651(_0x4e7605,_0x5a751c,_0x1ba836):_0x293651(_0x1ba836))||_0x1ba836);return _0x1a5284&&_0x1ba836&&_0x13069a(_0x4e7605,_0x5a751c,_0x1ba836),_0x1ba836;},_0x1a247c=(_0x4d1426,_0x10d7b2)=>(_0x3da326,_0x2a81e7)=>_0x10d7b2(_0x3da326,_0x2a81e7,_0x4d1426);let _0x32aa70=class extends _0x1ede52[_0x21371e(0x38d)]{constructor(_0x5b16f9,_0x509f8c,_0x1cfe09,_0x1d39f3,_0x35f9c3,_0x22ef06){const _0x383919=_0x21371e;super(),this['_beforeCloseService']=_0x5b16f9,this['_localCacheService']=_0x509f8c,this['_collaborationUIEventService']=_0x1cfe09,this[_0x383919(0x374)]=_0x1d39f3,this['_notificationService']=_0x35f9c3,this[_0x383919(0x333)]=_0x22ef06,this[_0x383919(0x36c)](),this[_0x383919(0x396)]();}['_setupBeforeClosingHandler'](){const _0x53d387=_0x21371e;this['disposeWithMe'](this['_beforeCloseService'][_0x53d387(0x2f6)](()=>{const _0x4394f5=_0x53d387;if(this['_localCacheService'][_0x4394f5(0x357)][_0x4394f5(0x43b)])return this[_0x4394f5(0x333)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x21371e(0x396)](){const _0x3ff6ad=_0x21371e;this[_0x3ff6ad(0x3fb)](this[_0x3ff6ad(0x3a1)][_0x3ff6ad(0x3ee)][_0x3ff6ad(0x419)](_0x1833c8=>{const _0x277572=_0x3ff6ad;_0x1833c8['id']===_0x1603d9[_0x277572(0x297)]['OTHER_CLIENT_EDITING']&&this[_0x277572(0x374)][_0x277572(0x370)]({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x275)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x352))}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)][_0x277572(0x207)]&&this[_0x277572(0x374)][_0x277572(0x370)]({'type':_0x31becb['MessageType'][_0x277572(0x275)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x277))}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)][_0x277572(0x3b2)]&&this['_notificationService']['show']({'title':this[_0x277572(0x333)]['t'](_0x277572(0x1ee)),'content':this['_localeService']['t'](_0x277572(0x430)),'type':_0x277572(0x1f8),'duration':0x0}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)][_0x277572(0x1f1)]&&this[_0x277572(0x374)]['show']({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x325)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x277))+'('+_0x1833c8[_0x277572(0x318)]+')'}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)][_0x277572(0x3df)]&&this['_messageService']['show']({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x275)],'content':this[_0x277572(0x333)]['t'](_0x1833c8[_0x277572(0x318)]||'')}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)]['SOCKET_FAILED_RETRY']&&this[_0x277572(0x374)][_0x277572(0x370)]({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x275)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x413))}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)][_0x277572(0x217)]&&this['_messageService'][_0x277572(0x370)]({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x325)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x440))}),_0x1833c8['id']===_0x1603d9[_0x277572(0x297)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x277572(0x374)][_0x277572(0x370)]({'type':_0x31becb[_0x277572(0x298)][_0x277572(0x325)],'content':this[_0x277572(0x333)]['t'](_0x277572(0x305))});}));}};_0x32aa70=_0x17b6b8([_0x1a247c(0x0,_0x544152['IBeforeCloseService']),_0x1a247c(0x1,_0x1603d9[_0x21371e(0x2e0)]),_0x1a247c(0x2,_0x1ede52[_0x21371e(0x249)](_0x1603d9[_0x21371e(0x402)])),_0x1a247c(0x3,_0x544152[_0x21371e(0x42d)]),_0x1a247c(0x4,_0x544152[_0x21371e(0x3db)]),_0x1a247c(0x5,_0x1ede52['Inject'](_0x1ede52[_0x21371e(0x437)]))],_0x32aa70);const _0x398ffc=_0x21371e(0x239),_0x2aa191={},_0x4a3917=_0x1ede52[_0x21371e(0x295)](_0x21371e(0x2cf));var _0x784444=Object['defineProperty'],_0x1182b9=Object[_0x21371e(0x409)],_0x3661a6=(_0x4f3a1d,_0x1d6760,_0x3b7615,_0xf6f6c8)=>{const _0x310865=_0x21371e;for(var _0x59e5d5=_0xf6f6c8>0x1?void 0x0:_0xf6f6c8?_0x1182b9(_0x1d6760,_0x3b7615):_0x1d6760,_0x39dd76=_0x4f3a1d[_0x310865(0x24e)]-0x1,_0x6ebb9f;_0x39dd76>=0x0;_0x39dd76--)(_0x6ebb9f=_0x4f3a1d[_0x39dd76])&&(_0x59e5d5=(_0xf6f6c8?_0x6ebb9f(_0x1d6760,_0x3b7615,_0x59e5d5):_0x6ebb9f(_0x59e5d5))||_0x59e5d5);return _0xf6f6c8&&_0x59e5d5&&_0x784444(_0x1d6760,_0x3b7615,_0x59e5d5),_0x59e5d5;},_0x148741=(_0x15430b,_0x2adf07)=>(_0xb40e76,_0x17b42e)=>_0x2adf07(_0xb40e76,_0x17b42e,_0x15430b);_0x5ec128['CollaborationDataLoaderController']=class extends _0x1ede52[_0x21371e(0x28d)]{constructor(_0x3b7d65,_0x3f0fe1,_0x3900e9,_0x5f168,_0x536589){const _0x100058=_0x21371e;super(),this[_0x100058(0x387)]=_0x3b7d65,this[_0x100058(0x3a8)]=_0x3f0fe1,this[_0x100058(0x1d3)]=_0x3900e9,this[_0x100058(0x380)]=_0x5f168,_0x536589?_0x536589==null||_0x536589[_0x100058(0x20e)]()[_0x100058(0x32b)](()=>this[_0x100058(0x27e)]()):(this[_0x100058(0x3a8)][_0x100058(0x244)](_0x100058(0x3aa),_0x100058(0x1e3)),this[_0x100058(0x27e)]());}async[_0x21371e(0x27e)](){const _0x945d51=_0x21371e,_0x12d6dd=this['_urlService']['getParam'](_0x945d51(0x2ad)),_0x194684=this[_0x945d51(0x387)][_0x945d51(0x320)](_0x945d51(0x222)),_0x2e3de3=this[_0x945d51(0x387)][_0x945d51(0x320)](_0x945d51(0x1f3));if(!_0x12d6dd||!_0x194684){this[_0x945d51(0x3a8)][_0x945d51(0x244)](_0x945d51(0x3aa),_0x945d51(0x37a));return;}const _0x265049=await this['_dataLoaderService'][_0x945d51(0x2e3)](_0x12d6dd,Number(_0x194684),_0x2e3de3);_0x265049&&_0x265049 instanceof _0x1ede52[_0x945d51(0x3a0)]&&this[_0x945d51(0x27c)](_0x265049);}async['_setupSubUnitSync'](_0x5f4963){const _0x362e58=_0x21371e;await this[_0x362e58(0x1fc)](_0x5f4963),_0x5f4963[_0x362e58(0x227)][_0x362e58(0x3c8)](_0x33bad6[_0x362e58(0x34c)](this[_0x362e58(0x2a7)]))[_0x362e58(0x419)](_0x11ffd4=>{const _0x1a236e=_0x362e58;_0x11ffd4&&this[_0x1a236e(0x1f6)](_0x11ffd4);}),this[_0x362e58(0x387)][_0x362e58(0x452)]['pipe'](_0x33bad6[_0x362e58(0x34c)](this[_0x362e58(0x2a7)]))[_0x362e58(0x419)](()=>this[_0x362e58(0x1fc)](_0x5f4963));}[_0x21371e(0x1f6)](_0x460be5,_0x284d43=!0x1){const _0x5681bd=_0x21371e,_0x47dd5e=this[_0x5681bd(0x387)][_0x5681bd(0x320)](_0x5681bd(0x1f3));_0x460be5[_0x5681bd(0x247)]()!==_0x47dd5e&&this[_0x5681bd(0x387)][_0x5681bd(0x255)](_0x5681bd(0x1f3),_0x460be5[_0x5681bd(0x247)](),_0x284d43);}async['_updateSubUnitFromURLParams'](_0x1b97b1){const _0x3ab3c7=_0x21371e;var _0x902c8;const _0x68b06b=this['_urlService'][_0x3ab3c7(0x320)](_0x3ab3c7(0x1f3));if(!_0x68b06b||!_0x1b97b1['getSheetBySheetId'](_0x68b06b)){const _0xc41c70=_0x1b97b1[_0x3ab3c7(0x455)]()[0x0],_0x5df940=_0x1b97b1[_0x3ab3c7(0x22d)](_0xc41c70);if(!_0x5df940)return;this[_0x3ab3c7(0x1f6)](_0x5df940,!0x0),await this['_commandService'][_0x3ab3c7(0x389)](_0x5a5936['SetWorksheetActivateCommand']['id'],{'unitId':_0x1b97b1[_0x3ab3c7(0x290)](),'subUnitId':_0xc41c70});return;}((_0x902c8=_0x1b97b1[_0x3ab3c7(0x331)]())==null?void 0x0:_0x902c8[_0x3ab3c7(0x247)]())!==_0x68b06b&&await this[_0x3ab3c7(0x1d3)][_0x3ab3c7(0x389)](_0x5a5936['SetWorksheetActivateCommand']['id'],{'unitId':_0x1b97b1['getUnitId'](),'subUnitId':_0x68b06b});}},_0x5ec128['CollaborationDataLoaderController']=_0x3661a6([_0x148741(0x0,_0x4a3917),_0x148741(0x1,_0x1ede52['ILogService']),_0x148741(0x2,_0x1ede52[_0x21371e(0x446)]),_0x148741(0x3,_0x1ede52[_0x21371e(0x249)](_0x1603d9['DataLoaderService'])),_0x148741(0x4,_0x1ede52[_0x21371e(0x29d)](_0x49f4ad['IRemoteInstanceService']))],_0x5ec128[_0x21371e(0x1ed)]);var _0x3444e8=Object['defineProperty'],_0x48e94b=Object[_0x21371e(0x409)],_0x39aa22=(_0x9cdd7c,_0x2ecccf,_0x3d3ef1,_0x5d2553)=>{const _0x23d054=_0x21371e;for(var _0x269531=_0x5d2553>0x1?void 0x0:_0x5d2553?_0x48e94b(_0x2ecccf,_0x3d3ef1):_0x2ecccf,_0x2a4a8e=_0x9cdd7c[_0x23d054(0x24e)]-0x1,_0x5e9187;_0x2a4a8e>=0x0;_0x2a4a8e--)(_0x5e9187=_0x9cdd7c[_0x2a4a8e])&&(_0x269531=(_0x5d2553?_0x5e9187(_0x2ecccf,_0x3d3ef1,_0x269531):_0x5e9187(_0x269531))||_0x269531);return _0x5d2553&&_0x269531&&_0x3444e8(_0x2ecccf,_0x3d3ef1,_0x269531),_0x269531;},_0x5504ad=(_0x106d6d,_0x12b5bf)=>(_0x4cfe0f,_0x126b45)=>_0x12b5bf(_0x4cfe0f,_0x126b45,_0x106d6d);let _0x468749=class{constructor(_0x2f3144,_0x40a3d4,_0x18f380){const _0x13d4e0=_0x21371e;this[_0x13d4e0(0x3c9)]=_0x2f3144,this[_0x13d4e0(0x3c6)]=_0x40a3d4,this['_renderManagerService']=_0x18f380;}[_0x21371e(0x2e8)](_0x38acbf){const _0x1aefc4=_0x21371e;this['_transformUndoRedoStack'](_0x38acbf),this[_0x1aefc4(0x220)](_0x38acbf);}[_0x21371e(0x3ad)](_0x14197a){const _0x35420e=_0x21371e,{unitID:_0x4da715}=_0x14197a,_0x323997=this[_0x35420e(0x43f)][_0x35420e(0x3ae)](_0x4da715)[_0x35420e(0x215)](_0x7b7c75[_0x35420e(0x236)]),{redoCache:_0xddb176}=_0x323997[_0x35420e(0x36b)]();if(_0xddb176[_0x35420e(0x24e)]===0x0)return _0x14197a;let _0x525f7a=_0x1ede52[_0x35420e(0x3a5)]['deepClone'](_0x14197a[_0x35420e(0x363)][0x0]);for(let _0x1afc31=0x0;_0x1afc31<_0xddb176[_0x35420e(0x24e)];_0x1afc31++){const _0x8337b3={'id':_0x35420e(0x316),'params':{..._0xddb176[_0x1afc31]}},_0x55839e=this[_0x35420e(0x3c6)][_0x35420e(0x273)](_0x525f7a,_0x8337b3,!0x1);if(_0x509b32[_0x35420e(0x2ac)](_0x55839e))throw _0x55839e['error'];_0x525f7a=_0x55839e[_0x35420e(0x256)];}return{..._0x1ede52[_0x35420e(0x3a5)][_0x35420e(0x426)](_0x14197a),'mutations':[_0x525f7a]};}['_transformUndoRedoStack'](_0x10aaf6){const _0xde7797=_0x21371e,{unitID:_0x2a6fad}=_0x10aaf6,_0x3d5fcd=this['_renderManagerService'][_0xde7797(0x3ae)](_0x2a6fad)['with'](_0x7b7c75['DocIMEInputManagerService']),{undoCache:_0x180e13,redoCache:_0x45f601}=_0x3d5fcd[_0xde7797(0x36b)]();if(_0x180e13[_0xde7797(0x24e)]===0x0||_0x45f601['length']===0x0)return;const _0x2585e3=[],_0x5351fb=[];let _0x29e2ca=_0x1ede52[_0xde7797(0x3a5)][_0xde7797(0x426)](_0x10aaf6[_0xde7797(0x363)][0x0]),_0x3ddb0c=_0x1ede52[_0xde7797(0x3a5)][_0xde7797(0x426)](_0x10aaf6[_0xde7797(0x363)][0x0]);for(let _0x4d0ef6=_0x180e13['length']-0x1;_0x4d0ef6>=0x0;_0x4d0ef6--){const _0x463219={'id':_0xde7797(0x316),'params':{..._0x180e13[_0x4d0ef6]}},_0x164d79={'id':_0xde7797(0x316),'params':{..._0x45f601[_0x4d0ef6]}},_0x167efb=this[_0xde7797(0x3c6)][_0xde7797(0x273)](_0x29e2ca,_0x463219,!0x1),_0x5947dc=this[_0xde7797(0x3c6)][_0xde7797(0x273)](_0x3ddb0c,_0x164d79,!0x1);if(_0x509b32[_0xde7797(0x2ac)](_0x167efb))throw _0x167efb[_0xde7797(0x1f8)];if(_0x509b32[_0xde7797(0x2ac)](_0x5947dc))throw _0x5947dc[_0xde7797(0x1f8)];_0x2585e3[_0xde7797(0x268)](_0x167efb[_0xde7797(0x3e7)][_0xde7797(0x253)]),_0x5351fb[_0xde7797(0x268)](_0x5947dc[_0xde7797(0x3e7)][_0xde7797(0x253)]),_0x29e2ca=_0x167efb[_0xde7797(0x256)],_0x3ddb0c=_0x5947dc['m1Prime'];}_0x3d5fcd[_0xde7797(0x265)]({'undoCache':_0x2585e3,'redoCache':_0x5351fb});}[_0x21371e(0x220)](_0x386177){const _0x1d4b26=_0x21371e,{unitID:_0x598395}=_0x386177,_0x452447=this['_renderManagerService']['getRenderById'](_0x598395)[_0x1d4b26(0x215)](_0x7b7c75['DocIMEInputManagerService']),_0x1ac51e=_0x452447[_0x1d4b26(0x2e2)]();if(_0x1ac51e==null)return;const _0x3e57cf=[{'id':_0x1d4b26(0x316),'params':{'unitId':_0x386177[_0x1d4b26(0x41b)],'actions':null,'textRanges':[_0x1ac51e]}}],_0x6fe5f3=this[_0x1d4b26(0x3c6)][_0x1d4b26(0x3b4)](_0x386177,_0x3e57cf);if(!_0x509b32[_0x1d4b26(0x453)](_0x6fe5f3))throw _0x6fe5f3[_0x1d4b26(0x1f8)];const _0x212187=_0x6fe5f3[_0x1d4b26(0x3e7)][0x0][_0x1d4b26(0x253)][_0x1d4b26(0x37b)];Array[_0x1d4b26(0x338)](_0x212187)&&_0x212187[_0x1d4b26(0x24e)]&&_0x452447['setActiveRange'](_0x212187[0x0]);}};_0x468749=_0x39aa22([_0x5504ad(0x0,_0x1ede52[_0x21371e(0x249)](_0x1ede52[_0x21371e(0x31f)])),_0x5504ad(0x1,_0x509b32['ITransformService']),_0x5504ad(0x2,_0x82717a[_0x21371e(0x40b)])],_0x468749);var _0x30529e=Object[_0x21371e(0x2d2)],_0x4d5b05=Object['getOwnPropertyDescriptor'],_0xe86815=(_0x385b72,_0x39cdc3,_0x1f56bc,_0x313267)=>{const _0xa4ae0e=_0x21371e;for(var _0x33f09e=_0x313267>0x1?void 0x0:_0x313267?_0x4d5b05(_0x39cdc3,_0x1f56bc):_0x39cdc3,_0x57dc54=_0x385b72[_0xa4ae0e(0x24e)]-0x1,_0xa4e197;_0x57dc54>=0x0;_0x57dc54--)(_0xa4e197=_0x385b72[_0x57dc54])&&(_0x33f09e=(_0x313267?_0xa4e197(_0x39cdc3,_0x1f56bc,_0x33f09e):_0xa4e197(_0x33f09e))||_0x33f09e);return _0x313267&&_0x33f09e&&_0x30529e(_0x39cdc3,_0x1f56bc,_0x33f09e),_0x33f09e;},_0x508437=(_0x56b77a,_0x27de16)=>(_0x2d021d,_0x362e3d)=>_0x27de16(_0x2d021d,_0x362e3d,_0x56b77a);let _0x4e9941=class{constructor(_0x104081,_0x8bdb60,_0x4cc5b3){const _0x38a980=_0x21371e;this[_0x38a980(0x3c9)]=_0x104081,this[_0x38a980(0x3c6)]=_0x8bdb60,this['_docStateChangeManagerService']=_0x4cc5b3;}[_0x21371e(0x339)](_0x31ac4d){const _0x213111=_0x21371e;this[_0x213111(0x1fe)](_0x31ac4d);}['transformRemoteChangeset'](_0x380e17){const _0x1a56a4=_0x21371e,{unitID:_0x3182c0}=_0x380e17,{collaboration:_0x4e35dc}=this[_0x1a56a4(0x3ce)][_0x1a56a4(0x2ab)](_0x3182c0);if(_0x4e35dc[_0x1a56a4(0x24e)]===0x0)return _0x380e17;let _0x2001fb=_0x1ede52['Tools']['deepClone'](_0x380e17[_0x1a56a4(0x363)][0x0]);for(let _0x4c657a=0x0;_0x4c657a<_0x4e35dc[_0x1a56a4(0x24e)];_0x4c657a++){const _0xb4adcc={'id':_0x1a56a4(0x316),'params':{'unitId':_0x4e35dc[_0x4c657a][_0x1a56a4(0x3f7)],..._0x4e35dc[_0x4c657a][_0x1a56a4(0x3f2)]}},_0xefd713=this[_0x1a56a4(0x3c6)][_0x1a56a4(0x273)](_0x2001fb,_0xb4adcc,!0x1);if(_0x509b32[_0x1a56a4(0x2ac)](_0xefd713))throw _0xefd713[_0x1a56a4(0x1f8)];_0x2001fb=_0xefd713[_0x1a56a4(0x256)];}return{..._0x1ede52[_0x1a56a4(0x3a5)][_0x1a56a4(0x426)](_0x380e17),'mutations':[_0x2001fb]};}[_0x21371e(0x1fe)](_0xc78209){const _0x2f6843=_0x21371e,{unitID:_0x1b8f4e}=_0xc78209,{history:_0x283d7e,collaboration:_0x5e5c77}=this['_docStateChangeManagerService'][_0x2f6843(0x2ab)](_0x1b8f4e);if(_0x283d7e[_0x2f6843(0x24e)]===0x0&&_0x5e5c77['length']===0x0)return;const _0x2ec3b9=[],_0x38987e=[];let _0x555b50=_0x1ede52[_0x2f6843(0x3a5)][_0x2f6843(0x426)](_0xc78209[_0x2f6843(0x363)][0x0]),_0x402bfd=_0x1ede52[_0x2f6843(0x3a5)][_0x2f6843(0x426)](_0xc78209['mutations'][0x0]);for(let _0x30ad08=_0x283d7e[_0x2f6843(0x24e)]-0x1;_0x30ad08>=0x0;_0x30ad08--){const _0x3722a8={'id':_0x2f6843(0x316),'params':{'unitId':_0x283d7e[_0x30ad08]['unitId'],..._0x283d7e[_0x30ad08][_0x2f6843(0x3a9)]}},_0x2c48de={'id':_0x2f6843(0x316),'params':{'unitId':_0x283d7e[_0x30ad08][_0x2f6843(0x3f7)],..._0x283d7e[_0x30ad08][_0x2f6843(0x3f2)]}},_0x54943b=this[_0x2f6843(0x3c6)][_0x2f6843(0x273)](_0x555b50,_0x3722a8,!0x1),_0x233cf2=this[_0x2f6843(0x3c6)][_0x2f6843(0x273)](_0x402bfd,_0x2c48de,!0x1);if(_0x509b32['isTransformMutationFailure'](_0x54943b))throw _0x54943b[_0x2f6843(0x1f8)];if(_0x509b32['isTransformMutationFailure'](_0x233cf2))throw _0x233cf2[_0x2f6843(0x1f8)];_0x2ec3b9[_0x2f6843(0x268)]({..._0x283d7e[_0x30ad08],'undoState':_0x54943b['m2Prime'][_0x2f6843(0x253)],'redoState':_0x233cf2['m2Prime'][_0x2f6843(0x253)]}),_0x555b50=_0x54943b[_0x2f6843(0x256)],_0x402bfd=_0x233cf2[_0x2f6843(0x256)];}_0x555b50=_0x1ede52[_0x2f6843(0x3a5)][_0x2f6843(0x426)](_0xc78209[_0x2f6843(0x363)][0x0]),_0x402bfd=_0x1ede52[_0x2f6843(0x3a5)][_0x2f6843(0x426)](_0xc78209[_0x2f6843(0x363)][0x0]);for(let _0x23611c=_0x5e5c77['length']-0x1;_0x23611c>=0x0;_0x23611c--){const _0x1e0774={'id':_0x2f6843(0x316),'params':{'unitId':_0x5e5c77[_0x23611c]['unitId'],..._0x5e5c77[_0x23611c][_0x2f6843(0x3a9)]}},_0x27910f={'id':_0x2f6843(0x316),'params':{'unitId':_0x5e5c77[_0x23611c][_0x2f6843(0x3f7)],..._0x5e5c77[_0x23611c][_0x2f6843(0x3f2)]}},_0x1130f9=this[_0x2f6843(0x3c6)][_0x2f6843(0x273)](_0x555b50,_0x1e0774,!0x1),_0x15181a=this['_transformService'][_0x2f6843(0x273)](_0x402bfd,_0x27910f,!0x1);if(_0x509b32['isTransformMutationFailure'](_0x1130f9))throw _0x1130f9[_0x2f6843(0x1f8)];if(_0x509b32['isTransformMutationFailure'](_0x15181a))throw _0x15181a[_0x2f6843(0x1f8)];_0x38987e[_0x2f6843(0x268)]({..._0x5e5c77[_0x23611c],'undoState':_0x1130f9['m2Prime'][_0x2f6843(0x253)],'redoState':_0x15181a[_0x2f6843(0x3e7)][_0x2f6843(0x253)]}),_0x555b50=_0x1130f9['m1Prime'],_0x402bfd=_0x15181a[_0x2f6843(0x256)];}this[_0x2f6843(0x3ce)][_0x2f6843(0x319)](_0x1b8f4e,{'history':_0x2ec3b9,'collaboration':_0x38987e});}};_0x4e9941=_0xe86815([_0x508437(0x0,_0x1ede52[_0x21371e(0x249)](_0x1ede52[_0x21371e(0x31f)])),_0x508437(0x1,_0x509b32['ITransformService']),_0x508437(0x2,_0x1ede52['Inject'](_0x7b7c75['DocStateChangeManagerService']))],_0x4e9941);var _0x5467d9=Object['defineProperty'],_0x125c60=Object[_0x21371e(0x409)],_0x314e94=(_0x2ece42,_0x24a5de,_0x5c78b8,_0x40bf92)=>{const _0x3fd792=_0x21371e;for(var _0x21075b=_0x40bf92>0x1?void 0x0:_0x40bf92?_0x125c60(_0x24a5de,_0x5c78b8):_0x24a5de,_0x19fa8e=_0x2ece42[_0x3fd792(0x24e)]-0x1,_0x1b0a91;_0x19fa8e>=0x0;_0x19fa8e--)(_0x1b0a91=_0x2ece42[_0x19fa8e])&&(_0x21075b=(_0x40bf92?_0x1b0a91(_0x24a5de,_0x5c78b8,_0x21075b):_0x1b0a91(_0x21075b))||_0x21075b);return _0x40bf92&&_0x21075b&&_0x5467d9(_0x24a5de,_0x5c78b8,_0x21075b),_0x21075b;},_0x1babb5=(_0x22d6c0,_0x17513c)=>(_0x12f213,_0xf80bec)=>_0x17513c(_0x12f213,_0xf80bec,_0x22d6c0);let _0x3d7cae=class{constructor(_0x3b5fa3,_0x2b699b){const _0x10a141=_0x21371e;this[_0x10a141(0x3c9)]=_0x3b5fa3,this[_0x10a141(0x3c6)]=_0x2b699b;}[_0x21371e(0x3fa)](_0x39e162){const _0x487e74=_0x21371e;var _0x5d7b09;const _0x5eed0c=this[_0x487e74(0x3c9)][_0x487e74(0x384)](_0x399349[_0x487e74(0x208)]),_0x518e5c=(_0x5d7b09=_0x5eed0c['getDocRanges']())!=null?_0x5d7b09:[];if(_0x518e5c[_0x487e74(0x24e)]===0x0)return;const _0x963331=_0x39e162['unitID'],_0x4721bb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x963331,'actions':null,'textRanges':_0x518e5c}}],_0x1fe889=this['_transformService'][_0x487e74(0x3b4)](_0x39e162,_0x4721bb);if(!_0x509b32[_0x487e74(0x453)](_0x1fe889))throw _0x1fe889[_0x487e74(0x1f8)];const _0x5f4e67=_0x1fe889[_0x487e74(0x3e7)][0x0][_0x487e74(0x253)]['textRanges'];Array['isArray'](_0x5f4e67)&&_0x5f4e67[_0x487e74(0x24e)]&&_0x5eed0c['replaceDocRanges'](_0x5f4e67,{'unitId':_0x963331,'subUnitId':_0x963331},!0x1);}};_0x3d7cae=_0x314e94([_0x1babb5(0x0,_0x1ede52[_0x21371e(0x249)](_0x1ede52[_0x21371e(0x31f)])),_0x1babb5(0x1,_0x509b32[_0x21371e(0x2e7)])],_0x3d7cae);var _0xf13965=Object['defineProperty'],_0x31e0e8=Object[_0x21371e(0x409)],_0x3fb818=(_0x2054e7,_0x3b519d,_0x9608c0,_0x364874)=>{const _0x2eb213=_0x21371e;for(var _0x109355=_0x364874>0x1?void 0x0:_0x364874?_0x31e0e8(_0x3b519d,_0x9608c0):_0x3b519d,_0x330182=_0x2054e7[_0x2eb213(0x24e)]-0x1,_0x19cbf0;_0x330182>=0x0;_0x330182--)(_0x19cbf0=_0x2054e7[_0x330182])&&(_0x109355=(_0x364874?_0x19cbf0(_0x3b519d,_0x9608c0,_0x109355):_0x19cbf0(_0x109355))||_0x109355);return _0x364874&&_0x109355&&_0xf13965(_0x3b519d,_0x9608c0,_0x109355),_0x109355;},_0x11fb69=(_0x1ed978,_0x4bfccb)=>(_0x5e9ed2,_0x341fb3)=>_0x4bfccb(_0x5e9ed2,_0x341fb3,_0x1ed978);let _0x3a67d3=class extends _0x1ede52[_0x21371e(0x38d)]{constructor(_0x5a9a31,_0x3091a6,_0x2d9e47,_0x15c086,_0x59cddd,_0x6bbc79,_0x42b00c,_0x14bd40){const _0x92d496=_0x21371e;super(),_0x28d757(this,'_status$',new _0x33bad6['BehaviorSubject'](_0x1603d9[_0x92d496(0x353)][_0x92d496(0x1ff)])),(this[_0x92d496(0x3ce)]=_0x5a9a31,this[_0x92d496(0x2f0)]=_0x3091a6,this['_docTransformIMECacheService']=_0x2d9e47,this[_0x92d496(0x211)]=_0x15c086,this[_0x92d496(0x25f)]=_0x59cddd,this[_0x92d496(0x44a)]=_0x6bbc79,this[_0x92d496(0x374)]=_0x42b00c,this[_0x92d496(0x333)]=_0x14bd40,this[_0x92d496(0x286)]());}[_0x21371e(0x286)](){const _0x4c8d67=_0x21371e;this[_0x4c8d67(0x3fb)](this[_0x4c8d67(0x2f0)][_0x4c8d67(0x41a)]['subscribe'](_0x211b84=>{const _0xb70d77=_0x4c8d67,_0x3db70b=this['_docStateChangeManagerService'][_0xb70d77(0x34d)][_0xb70d77(0x419)](_0x5e5e75=>{const _0x165ea3=_0xb70d77;if(_0x5e5e75==null)return;const {unitId:_0x2797d4,redoState:_0x4b2fc6,commandId:_0x1ab54d}=_0x5e5e75;if(_0x2797d4!==_0x211b84[_0x165ea3(0x41b)])return;const _0x50123c={'id':_0x1ab54d,'type':_0x1ede52['CommandType'][_0x165ea3(0x3cc)],'params':{'unitId':_0x2797d4,'actions':_0x4b2fc6[_0x165ea3(0x41e)],'textRanges':null}};_0x211b84[_0x165ea3(0x365)](_0x50123c);});if(_0x211b84['disposeWithMe'](_0x3db70b),_0x211b84 instanceof _0x1603d9[_0xb70d77(0x33e)]){const _0x47240d={'onTransformIME':_0x4e4a62=>this[_0xb70d77(0x403)][_0xb70d77(0x2e8)](_0x4e4a62),'onTransformState':_0x42d623=>this['_docTransformStateCacheService'][_0xb70d77(0x339)](_0x42d623),'onTransformSelections':_0x5aa0d3=>this['_docTransformSelectionsService'][_0xb70d77(0x3fa)](_0x5aa0d3),'onSyncEditingCollabCursor':_0x27b446=>this[_0xb70d77(0x44a)][_0xb70d77(0x407)](_0x27b446),'onTransformRemoteChangesetByIMECache':_0x306c48=>this[_0xb70d77(0x403)]['transformRemoteChangeset'](_0x306c48),'onTransformRemoteChangesetByStateCache':_0x43d8bc=>this[_0xb70d77(0x211)]['transformRemoteChangeset'](_0x43d8bc)};_0x211b84[_0xb70d77(0x1f0)](_0x47240d);}}));}};_0x3a67d3=_0x3fb818([_0x11fb69(0x0,_0x1ede52[_0x21371e(0x249)](_0x7b7c75[_0x21371e(0x2a1)])),_0x11fb69(0x1,_0x1ede52[_0x21371e(0x249)](_0x1603d9[_0x21371e(0x434)])),_0x11fb69(0x2,_0x1ede52['Inject'](_0x468749)),_0x11fb69(0x3,_0x1ede52['Inject'](_0x4e9941)),_0x11fb69(0x4,_0x1ede52['Inject'](_0x3d7cae)),_0x11fb69(0x5,_0x1ede52[_0x21371e(0x249)](_0x1ef10a)),_0x11fb69(0x6,_0x544152['IMessageService']),_0x11fb69(0x7,_0x1ede52['Inject'](_0x1ede52[_0x21371e(0x437)]))],_0x3a67d3);var _0x57d70f=Object[_0x21371e(0x2d2)],_0x1bd172=Object['getOwnPropertyDescriptor'],_0x2f55db=(_0x93fdc6,_0x3a2b9e,_0x1789c9,_0xbd72ff)=>{const _0x43e5b6=_0x21371e;for(var _0xc65da6=_0xbd72ff>0x1?void 0x0:_0xbd72ff?_0x1bd172(_0x3a2b9e,_0x1789c9):_0x3a2b9e,_0x4a3d10=_0x93fdc6[_0x43e5b6(0x24e)]-0x1,_0x5691d0;_0x4a3d10>=0x0;_0x4a3d10--)(_0x5691d0=_0x93fdc6[_0x4a3d10])&&(_0xc65da6=(_0xbd72ff?_0x5691d0(_0x3a2b9e,_0x1789c9,_0xc65da6):_0x5691d0(_0xc65da6))||_0xc65da6);return _0xbd72ff&&_0xc65da6&&_0x57d70f(_0x3a2b9e,_0x1789c9,_0xc65da6),_0xc65da6;},_0x59f7db=(_0x320306,_0x530655)=>(_0x32f115,_0x2e1b94)=>_0x530655(_0x32f115,_0x2e1b94,_0x320306);let _0x5b6f42=class extends _0x1ede52['Disposable']{constructor(_0x3b84da,_0x149aba,_0x5c04a1){const _0x3f6aad=_0x21371e;super(),_0x28d757(this,_0x3f6aad(0x351),new Map()),_0x28d757(this,'_saveTaskMap',new Map()),_0x28d757(this,_0x3f6aad(0x1da),!0x1),(this[_0x3f6aad(0x44d)]=_0x3b84da,this[_0x3f6aad(0x23d)]=_0x149aba,this['_revisionService']=_0x5c04a1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x21371e(0x417)](){const _0xa7afc9=_0x21371e;this[_0xa7afc9(0x1da)]=!0x1;}get[_0x21371e(0x357)](){const _0x4ccef8=_0x21371e;return this[_0x4ccef8(0x2fc)];}['dispose'](){const _0x35e3b0=_0x21371e;this[_0x35e3b0(0x42c)]()[_0x35e3b0(0x32b)](()=>super['dispose']());}async[_0x21371e(0x293)](_0x1683cb){const _0x325826=_0x21371e;return this[_0x325826(0x1da)]?null:this[_0x325826(0x23d)]['getItem'](_0x1603d9[_0x325826(0x45a)](_0x1683cb));}async[_0x21371e(0x45c)](_0x3127c9,_0x167306){const _0x170d60=_0x21371e;return!!this[_0x170d60(0x23d)][_0x170d60(0x281)](_0x3127c9,_0x167306);}['updateOfflineData'](_0x502672,_0x50c132,_0x2b10a1,_0x5b8c0e){const _0x2177a0=_0x21371e,_0xb5c24c=this['_revisionService']['getCurrentRevOfUnit'](_0x502672);this[_0x2177a0(0x351)][_0x2177a0(0x2b4)](_0x502672,{'unitID':_0x502672,'type':_0x50c132,'awaitingChangeset':_0x2b10a1,'mutations':_0x5b8c0e,'rev':_0xb5c24c}),this[_0x2177a0(0x2fc)][_0x2177a0(0x2ba)](_0x502672)||this[_0x2177a0(0x238)](_0x502672);}[_0x21371e(0x238)](_0x4845ab){const _0x24f3c7=_0x21371e,_0x1e8f3f=this['_getSaveTimeout']();_0x1e8f3f===0x0?this[_0x24f3c7(0x31b)](_0x4845ab):this[_0x24f3c7(0x2fc)][_0x24f3c7(0x2b4)](_0x4845ab,setTimeout(()=>this[_0x24f3c7(0x31b)](_0x4845ab),_0x1e8f3f));}[_0x21371e(0x2f2)](){const _0x53a657=_0x21371e;var _0x4bdf18;return(_0x4bdf18=this['_configService'][_0x53a657(0x21c)](_0x1603d9[_0x53a657(0x411)]))!=null?_0x4bdf18:_0x1603d9[_0x53a657(0x3ec)];}[_0x21371e(0x31b)](_0x266a28){const _0x42e96c=_0x21371e,_0x4fb555=this['_saveTaskMap'][_0x42e96c(0x384)](_0x266a28);return _0x4fb555!==void 0x0&&window[_0x42e96c(0x218)](_0x4fb555),this[_0x42e96c(0x23d)][_0x42e96c(0x281)](_0x1603d9[_0x42e96c(0x45a)](_0x266a28),this[_0x42e96c(0x351)]['get'](_0x266a28))['then'](()=>this['_saveTaskMap'][_0x42e96c(0x448)](_0x266a28));}async['exhaustSavingTask'](){const _0x3ca85a=_0x21371e,_0x77b44c=[];this[_0x3ca85a(0x2fc)][_0x3ca85a(0x2d7)]((_0x32c6f2,_0xca2362)=>{const _0x5e5618=_0x3ca85a;window['clearTimeout'](_0x32c6f2),_0x77b44c[_0x5e5618(0x3e6)](this['_saveCache'](_0xca2362)['then'](()=>{const _0x1becfd=_0x5e5618;this[_0x1becfd(0x2fc)][_0x1becfd(0x448)](_0xca2362);}));}),await Promise['all'](_0x77b44c);}};_0x5b6f42=_0x2f55db([_0x59f7db(0x0,_0x1ede52['IConfigService']),_0x59f7db(0x1,_0x1ede52['ILocalStorageService']),_0x59f7db(0x2,_0x1ede52['Inject'](_0x509b32[_0x21371e(0x442)]))],_0x5b6f42);class _0x3ac97c extends _0x1ede52[_0x21371e(0x28d)]{constructor(){const _0x3b6b62=_0x21371e;super(),_0x28d757(this,_0x3b6b62(0x452)),this['urlChange$']=_0x33bad6[_0x3b6b62(0x415)](window,_0x3b6b62(0x3cb))['pipe'](_0x33bad6[_0x3b6b62(0x34c)](this['dispose$']),_0x33bad6[_0x3b6b62(0x259)](0x1),_0x33bad6['mapTo'](void 0x0));}[_0x21371e(0x255)](_0x11a2e9,_0x544704,_0x2aeef5=!0x1){const _0x4a1c8b=_0x21371e,_0x5f0764=new URL(window[_0x4a1c8b(0x323)]['href']);_0x5f0764[_0x4a1c8b(0x1f7)]['set'](_0x11a2e9,_0x544704),_0x2aeef5?window[_0x4a1c8b(0x2fe)][_0x4a1c8b(0x393)]('','',_0x5f0764[_0x4a1c8b(0x41c)]()):window[_0x4a1c8b(0x2fe)][_0x4a1c8b(0x443)]('','',_0x5f0764[_0x4a1c8b(0x41c)]());}['removeParam'](_0x126503,_0x37b405=!0x1){const _0x7311c8=_0x21371e,_0x21581f=new URL(window[_0x7311c8(0x323)][_0x7311c8(0x2b0)]);_0x21581f[_0x7311c8(0x1f7)]['delete'](_0x126503),_0x37b405?window[_0x7311c8(0x2fe)][_0x7311c8(0x393)]('','',_0x21581f[_0x7311c8(0x41c)]()):window[_0x7311c8(0x2fe)]['pushState']('','',_0x21581f['toString']());}['getParam'](_0x3588cf){const _0x392bba=_0x21371e;var _0x359aa6;return(_0x359aa6=new URL(window[_0x392bba(0x323)][_0x392bba(0x2b0)])['searchParams'][_0x392bba(0x384)](_0x3588cf))!=null?_0x359aa6:void 0x0;}}var _0xf57246=Object[_0x21371e(0x2d2)],_0x2218e8=Object[_0x21371e(0x409)],_0x50139b=(_0x28b8f1,_0x45bfec,_0x142c56)=>_0x45bfec in _0x28b8f1?_0xf57246(_0x28b8f1,_0x45bfec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x142c56}):_0x28b8f1[_0x45bfec]=_0x142c56,_0x1cad09=(_0x1ee099,_0x270b3b,_0x19e471,_0x301797)=>{const _0x35801c=_0x21371e;for(var _0x3e7752=_0x301797>0x1?void 0x0:_0x301797?_0x2218e8(_0x270b3b,_0x19e471):_0x270b3b,_0x1629ab=_0x1ee099[_0x35801c(0x24e)]-0x1,_0x216161;_0x1629ab>=0x0;_0x1629ab--)(_0x216161=_0x1ee099[_0x1629ab])&&(_0x3e7752=(_0x301797?_0x216161(_0x270b3b,_0x19e471,_0x3e7752):_0x216161(_0x3e7752))||_0x3e7752);return _0x301797&&_0x3e7752&&_0xf57246(_0x270b3b,_0x19e471,_0x3e7752),_0x3e7752;},_0xd14bc9=(_0x3d592c,_0x1d75f5)=>(_0x324291,_0x3d7750)=>_0x1d75f5(_0x324291,_0x3d7750,_0x3d592c),_0x12ac0e=(_0x5dee19,_0x5df057,_0x4e008b)=>_0x50139b(_0x5dee19,_0x5df057+'',_0x4e008b);const _0x3c4464=_0x21371e(0x2a8);_0x5ec128['UniverCollaborationClientUIPlugin']=class extends _0x1ede52[_0x21371e(0x45b)]{constructor(_0x530d05=_0x2aa191,_0x484db9,_0x42a569,_0x1cda3e){const _0x48757f=_0x21371e;super(),this['_config']=_0x530d05,this['_renderManagerService']=_0x484db9,this[_0x48757f(0x3c9)]=_0x42a569,this['_configService']=_0x1cda3e;const {..._0x285423}=_0x1ede52[_0x48757f(0x245)]({},_0x2aa191,this[_0x48757f(0x258)]);this[_0x48757f(0x44d)]['setConfig'](_0x398ffc,_0x285423);}[_0x21371e(0x3e8)](){const _0x3f1827=_0x21371e;this[_0x3f1827(0x3d3)](),this[_0x3f1827(0x24f)]();}[_0x21371e(0x381)](){const _0x271601=_0x21371e;this[_0x271601(0x2af)]();}[_0x21371e(0x3d3)](){const _0x5d4afd=_0x21371e;var _0x8076fe;const _0x36c4c7=[[_0x26ea6b],[_0x3d7cae],[_0x468749],[_0x4e9941],[_0x1ef10a],[_0x4a3917,{'useClass':_0x3ac97c}],[_0x59f991[_0x5d4afd(0x22b)],{'useClass':_0x59f991[_0x5d4afd(0x209)]}],[_0x1603d9[_0x5d4afd(0x2e0)],{'useClass':_0x5b6f42}],[_0x5ec128[_0x5d4afd(0x24b)]],[_0x3a67d3],[_0x32aa70],[_0x2a000d],[_0x291185],[_0x5ec128[_0x5d4afd(0x1ed)]]];_0x1ede52[_0x5d4afd(0x203)](this['_injector'],_0x1ede52[_0x5d4afd(0x330)](_0x36c4c7,(_0x8076fe=this[_0x5d4afd(0x258)])==null?void 0x0:_0x8076fe[_0x5d4afd(0x1e7)]));}['_registerRenderDependencies'](){const _0x4ad2ca=_0x21371e;this[_0x4ad2ca(0x3fb)](this['_renderManagerService'][_0x4ad2ca(0x33a)](_0x1ede52[_0x4ad2ca(0x2c1)]['UNIVER_DOC'],[_0x4ab423])),this[_0x4ad2ca(0x3fb)](this['_renderManagerService'][_0x4ad2ca(0x33a)](_0x1ede52['UniverInstanceType'][_0x4ad2ca(0x311)],[_0x5a8f81]));}[_0x21371e(0x24f)](){const _0x57226e=_0x21371e;_0x1ede52[_0x57226e(0x2c5)](this['_injector'],[[_0x2a000d],[_0x5ec128[_0x57226e(0x24b)]],[_0x3a67d3],[_0x32aa70],[_0x5ec128[_0x57226e(0x1ed)]]]);}},_0x12ac0e(_0x5ec128[_0x21371e(0x30a)],_0x21371e(0x229),_0x3c4464),_0x5ec128[_0x21371e(0x30a)]=_0x1cad09([_0x1ede52[_0x21371e(0x3f0)](_0x1603d9[_0x21371e(0x29c)]),_0xd14bc9(0x1,_0x82717a[_0x21371e(0x40b)]),_0xd14bc9(0x2,_0x1ede52[_0x21371e(0x249)](_0x1ede52['Injector'])),_0xd14bc9(0x3,_0x1ede52[_0x21371e(0x230)])],_0x5ec128[_0x21371e(0x30a)]);const _0x3b5f41=0x7530,_0x1ce6f7=_0x21371e(0x1ea);class _0x3318cc extends _0x1ede52[_0x21371e(0x38d)]{constructor(){const _0x42f81c=_0x21371e;super(),_0x28d757(this,_0x42f81c(0x284),_0x1ede52[_0x42f81c(0x3a5)][_0x42f81c(0x3f8)]()),_0x28d757(this,_0x42f81c(0x36d),new Set()),_0x28d757(this,_0x42f81c(0x372),new Map()),_0x28d757(this,_0x42f81c(0x2f1),null),_0x28d757(this,'_clearOtherTimers',new Map()),_0x28d757(this,_0x42f81c(0x2f4),new Map()),this[_0x42f81c(0x27e)]();}[_0x21371e(0x250)](){const _0xe0222b=_0x21371e;super['dispose'](),this[_0xe0222b(0x432)][_0xe0222b(0x2d7)]((_0x2fb93b,_0x17b27b)=>this[_0xe0222b(0x326)](_0x17b27b)),this[_0xe0222b(0x2f1)]&&window[_0xe0222b(0x2cc)](this[_0xe0222b(0x2f1)]);}[_0x21371e(0x29f)](_0x4bb9ec){const _0x4e415e=_0x21371e;return this[_0x4e415e(0x1ec)](_0x4bb9ec)['pipe'](_0x33bad6['distinctUntilChanged']());}[_0x21371e(0x418)](_0x42abd3){const _0x53e5bb=_0x21371e;this[_0x53e5bb(0x36d)][_0x53e5bb(0x43b)]===0x0&&this[_0x53e5bb(0x3fc)](),this[_0x53e5bb(0x36d)][_0x53e5bb(0x2f5)](_0x42abd3),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x42abd3],'isForwarded':!0x1});}[_0x21371e(0x3a3)](_0x47a468){const _0x4423db=_0x21371e;this[_0x4423db(0x36d)]['delete'](_0x47a468),this[_0x4423db(0x36d)][_0x4423db(0x43b)]===0x0&&this[_0x4423db(0x2f1)]&&window[_0x4423db(0x2cc)](this['_heartbeatTimer']);}[_0x21371e(0x27e)](){const _0x3a9ead=_0x21371e;this[_0x3a9ead(0x3fb)](_0x1ede52['toDisposable'](_0x33bad6[_0x3a9ead(0x415)](window,'storage')[_0x3a9ead(0x419)](_0xb24414=>{const _0x3b4ca9=_0x3a9ead;if(_0xb24414['key']!==_0x1ce6f7||!_0xb24414[_0x3b4ca9(0x2d0)])return;const _0x5d4b07=JSON[_0x3b4ca9(0x1e1)](_0xb24414['newValue']);this[_0x3b4ca9(0x2a4)](_0x5d4b07);}))),window['addEventListener'](_0x3a9ead(0x368),()=>this[_0x3a9ead(0x240)]({'type':0x1,'memberID':this[_0x3a9ead(0x284)],'unitIDs':Array['from'](this[_0x3a9ead(0x36d)])}));}[_0x21371e(0x2a4)](_0x3ac2a8){const _0x281236=_0x21371e;switch(_0x3ac2a8['type']){case 0x0:this[_0x281236(0x416)](_0x3ac2a8);break;case 0x1:this[_0x281236(0x21a)](_0x3ac2a8);break;case 0x2:this[_0x281236(0x31e)](_0x3ac2a8);break;}}['_handleJoinEvent'](_0x46f386){const _0x3f7ed4=_0x21371e,{unitIDs:_0x152e1d,memberID:_0x2ad7a0,isForwarded:_0x276b03}=_0x46f386;_0x152e1d['forEach'](_0x1076af=>{const _0x333fa0=_0x4d8c;if(!_0x276b03&&this[_0x333fa0(0x372)]['has'](_0x1076af)&&this['_ensureSubject'](_0x1076af)[_0x333fa0(0x3c4)](_0x1603d9[_0x333fa0(0x3d2)][_0x333fa0(0x2e4)]),!this[_0x333fa0(0x372)][_0x333fa0(0x2ba)](_0x1076af)||!this['_unitOnClients'][_0x333fa0(0x384)](_0x1076af)[_0x333fa0(0x2ba)](_0x2ad7a0)){const _0x111942=this[_0x333fa0(0x372)]['get'](_0x1076af)||new Set();_0x111942[_0x333fa0(0x2f5)](_0x2ad7a0),this[_0x333fa0(0x372)][_0x333fa0(0x2b4)](_0x1076af,_0x111942),this[_0x333fa0(0x41f)](_0x2ad7a0);}}),_0x276b03||this[_0x3f7ed4(0x240)]({'type':0x0,'memberID':this[_0x3f7ed4(0x284)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x237064){const _0x365df1=_0x21371e;this['_removeClearOtherTimer'](_0x237064);const _0x4874c9=window[_0x365df1(0x303)](()=>{const _0x16dabe=_0x365df1;this[_0x16dabe(0x372)]['forEach'](_0x34e500=>{const _0x2738da=_0x16dabe;_0x34e500[_0x2738da(0x448)](_0x237064);});},_0x3b5f41*0x2);this[_0x365df1(0x432)][_0x365df1(0x2b4)](_0x237064,_0x4874c9);}[_0x21371e(0x326)](_0x322439){const _0x5d855d=_0x21371e;if(this['_clearOtherTimers'][_0x5d855d(0x2ba)](_0x322439)){const _0x4956ef=this[_0x5d855d(0x432)][_0x5d855d(0x384)](_0x322439);_0x4956ef&&window['clearTimeout'](_0x4956ef),this['_clearOtherTimers'][_0x5d855d(0x2b4)](_0x322439,null);}}['_handleLeaveEvent'](_0x1b9c74){const _0x1c21ee=_0x21371e,{memberID:_0x5ed27c,unitIDs:_0x480119}=_0x1b9c74;_0x480119['forEach'](_0x2aad15=>{const _0x484a50=_0x4d8c;var _0x58a843;const _0x5e7c7c=this[_0x484a50(0x372)][_0x484a50(0x384)](_0x2aad15);_0x5e7c7c&&(_0x5e7c7c[_0x484a50(0x448)](_0x5ed27c),(_0x58a843=this[_0x484a50(0x1ec)](_0x2aad15))==null||_0x58a843[_0x484a50(0x3c4)](_0x5e7c7c['size']===0x0?_0x1603d9[_0x484a50(0x3d2)][_0x484a50(0x3ab)]:_0x1603d9[_0x484a50(0x3d2)][_0x484a50(0x2e4)]));}),this[_0x1c21ee(0x326)](_0x5ed27c);}[_0x21371e(0x31e)](_0x563975){const _0x15d83c=_0x21371e;this[_0x15d83c(0x41f)](_0x563975['memberID']);}['_send'](_0x50c472){const _0x68ee8c=_0x21371e;localStorage[_0x68ee8c(0x281)](_0x1ce6f7,JSON[_0x68ee8c(0x3d7)](_0x50c472));}[_0x21371e(0x3fc)](){const _0x5372ec=_0x21371e;this[_0x5372ec(0x2f1)]=window[_0x5372ec(0x37f)](()=>{const _0x3d070c=_0x5372ec;this[_0x3d070c(0x240)]({'type':0x2,'memberID':this[_0x3d070c(0x284)]});},_0x3b5f41);}[_0x21371e(0x1ec)](_0x29bbaf){const _0x4106e8=_0x21371e;return this[_0x4106e8(0x2f4)][_0x4106e8(0x2ba)](_0x29bbaf)||this[_0x4106e8(0x2f4)]['set'](_0x29bbaf,new _0x33bad6[(_0x4106e8(0x22f))](_0x1603d9['UnitStatus'][_0x4106e8(0x3ab)])),this[_0x4106e8(0x2f4)]['get'](_0x29bbaf);}}var _0x53466a=(_0x14336c=>(_0x14336c[_0x14336c[_0x21371e(0x314)]=0x0]=_0x21371e(0x314),_0x14336c[_0x14336c['OK']=0x1]='OK',_0x14336c[_0x14336c[_0x21371e(0x1df)]=0x2]=_0x21371e(0x1df),_0x14336c[_0x14336c[_0x21371e(0x3b2)]=0x3]=_0x21371e(0x3b2),_0x14336c[_0x14336c[_0x21371e(0x304)]=0x4]=_0x21371e(0x304),_0x14336c[_0x14336c[_0x21371e(0x458)]=0x5]=_0x21371e(0x458),_0x14336c[_0x14336c[_0x21371e(0x42a)]=0x6]=_0x21371e(0x42a),_0x14336c[_0x14336c[_0x21371e(0x3c7)]=0x7]=_0x21371e(0x3c7),_0x14336c[_0x14336c[_0x21371e(0x23f)]=0x8]=_0x21371e(0x23f),_0x14336c[_0x14336c[_0x21371e(0x280)]=0x9]='COMPLETION_FINISHED',_0x14336c[_0x14336c[_0x21371e(0x369)]=0x1389]=_0x21371e(0x369),_0x14336c[_0x14336c[_0x21371e(0x210)]=0x1771]=_0x21371e(0x210),_0x14336c[_0x14336c[_0x21371e(0x431)]=0x1772]=_0x21371e(0x431),_0x14336c[_0x14336c[_0x21371e(0x291)]=0x1773]=_0x21371e(0x291),_0x14336c[_0x14336c['APPLY_REJECT']=0x1b59]=_0x21371e(0x2ae),_0x14336c[_0x14336c[_0x21371e(0x237)]=0x1b5a]=_0x21371e(0x237),_0x14336c[_0x14336c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x21371e(0x3fe),_0x14336c[_0x14336c[_0x21371e(0x22c)]=0x1b5c]=_0x21371e(0x22c),_0x14336c[_0x14336c['APPLY_DUPLICATED']=0x1b5d]=_0x21371e(0x3bb),_0x14336c[_0x14336c[_0x21371e(0x30e)]=0x1f41]=_0x21371e(0x30e),_0x14336c[_0x14336c[_0x21371e(0x2b8)]=0x2329]=_0x21371e(0x2b8),_0x14336c[_0x14336c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x21371e(0x401),_0x14336c[_0x14336c[_0x21371e(0x28f)]=0x232b]=_0x21371e(0x28f),_0x14336c[_0x14336c[_0x21371e(0x34f)]=0x232c]=_0x21371e(0x34f),_0x14336c[_0x14336c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x21371e(0x2c6),_0x14336c[_0x14336c[_0x21371e(0x278)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x14336c[_0x14336c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x21371e(0x3b9),_0x14336c[_0x14336c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x21371e(0x2da),_0x14336c[_0x14336c[_0x21371e(0x242)]=0x2714]=_0x21371e(0x242),_0x14336c[_0x14336c['UNRECOGNIZED']=-0x1]=_0x21371e(0x25a),_0x14336c))(_0x53466a||{}),_0x212d50=Object[_0x21371e(0x2d2)],_0x2db480=Object['getOwnPropertyDescriptor'],_0x49027a=(_0x16f5cc,_0x515602,_0x389fd9,_0x111d37)=>{const _0x46d4c2=_0x21371e;for(var _0x22e10c=_0x111d37>0x1?void 0x0:_0x111d37?_0x2db480(_0x515602,_0x389fd9):_0x515602,_0x12408b=_0x16f5cc[_0x46d4c2(0x24e)]-0x1,_0x14fb7e;_0x12408b>=0x0;_0x12408b--)(_0x14fb7e=_0x16f5cc[_0x12408b])&&(_0x22e10c=(_0x111d37?_0x14fb7e(_0x515602,_0x389fd9,_0x22e10c):_0x14fb7e(_0x22e10c))||_0x22e10c);return _0x111d37&&_0x22e10c&&_0x212d50(_0x515602,_0x389fd9,_0x22e10c),_0x22e10c;},_0x3aeb04=(_0x35bed6,_0x49a26d)=>(_0x4d6177,_0x3bb99f)=>_0x49a26d(_0x4d6177,_0x3bb99f,_0x35bed6);_0x5ec128[_0x21371e(0x456)]=class extends _0x1ede52[_0x21371e(0x38d)]{constructor(_0x509686,_0x38ffae,_0x6c8f8e){const _0x3da57d=_0x21371e;super(),this[_0x3da57d(0x3ea)]=_0x509686,this[_0x3da57d(0x31c)]=_0x38ffae,this[_0x3da57d(0x44d)]=_0x6c8f8e;}async[_0x21371e(0x2a5)](_0x3ec2e4,_0x544ebe,_0x4b03e4,..._0x5edbf1){const _0x597b88=_0x21371e;var _0x1b5b65,_0x16388f;const _0x162aec=this[_0x597b88(0x3ea)][_0x597b88(0x457)]();if(!_0x162aec)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x376c65=((_0x1b5b65=this[_0x597b88(0x44d)][_0x597b88(0x21c)](_0x1603d9[_0x597b88(0x45d)]))!=null?_0x1b5b65:_0x1603d9[_0x597b88(0x2d3)])+'/'+_0x3ec2e4+_0x597b88(0x2d5)+_0x544ebe,_0xd01fa4=new URL(window['location']['href']),_0x4596c2={'scriptId':_0x3ec2e4,'runId':(_0x16388f=_0xd01fa4[_0x597b88(0x1f7)][_0x597b88(0x384)](_0x597b88(0x44e)))!=null?_0x16388f:'','function':_0x544ebe,'unitId':_0x162aec[_0x597b88(0x290)](),'argsOfFunction':JSON[_0x597b88(0x3d7)](_0x5edbf1),'invokeId':_0x4b03e4[_0x597b88(0x282)],'executionId':_0x4b03e4[_0x597b88(0x34e)]};try{const _0x2f9ad9=await this[_0x597b88(0x31c)]['post'](_0x376c65,{'body':_0x4596c2});return!(_0x2f9ad9[_0x597b88(0x1e6)]['error']&&_0x2f9ad9['body']['error'][_0x597b88(0x3c5)]!==_0x53466a['OK']);}catch{return!0x1;}}},_0x5ec128[_0x21371e(0x456)]=_0x49027a([_0x3aeb04(0x0,_0x1ede52[_0x21371e(0x1d9)]),_0x3aeb04(0x1,_0x1ede52[_0x21371e(0x249)](_0x59f991['HTTPService'])),_0x3aeb04(0x2,_0x1ede52[_0x21371e(0x230)])],_0x5ec128[_0x21371e(0x456)]),_0x5ec128[_0x21371e(0x2e1)]=_0x3e5299,_0x5ec128[_0x21371e(0x27a)]=_0x4a3917,_0x5ec128['SheetCollabCursorShape']=_0x4b8efa,_0x5ec128[_0x21371e(0x1e8)]=_0x3318cc,_0x5ec128[_0x21371e(0x2ff)]=_0x3ac97c,Object[_0x21371e(0x2d2)](_0x5ec128,Symbol['toStringTag'],{'value':_0x21371e(0x359)});}));
|