@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505181606
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3a09be=_0x4592;(function(_0x69aa21,_0x4a2700){const _0x546a6a=_0x4592,_0x56d7b2=_0x69aa21();while(!![]){try{const _0x4c6547=-parseInt(_0x546a6a(0x183))/0x1*(parseInt(_0x546a6a(0x185))/0x2)+parseInt(_0x546a6a(0x17a))/0x3+-parseInt(_0x546a6a(0x17c))/0x4*(parseInt(_0x546a6a(0x180))/0x5)+-parseInt(_0x546a6a(0x179))/0x6*(-parseInt(_0x546a6a(0x17b))/0x7)+-parseInt(_0x546a6a(0x187))/0x8*(-parseInt(_0x546a6a(0x176))/0x9)+-parseInt(_0x546a6a(0x182))/0xa+-parseInt(_0x546a6a(0x184))/0xb*(-parseInt(_0x546a6a(0x178))/0xc);if(_0x4c6547===_0x4a2700)break;else _0x56d7b2['push'](_0x56d7b2['shift']());}catch(_0x28cdc7){_0x56d7b2['push'](_0x56d7b2['shift']());}}}(_0x4767,0x6a228));function _0x4767(){const _0x194ca8=['6387128TaiKYD','1501302BViUJN','runOnServer','752WPcLjc','26541DjmrJi','_injector','12cKZTYv','78pVrLvy','1285749qdVCqO','357637QfPevf','2421460qVKdHF','FUniver','@univerjs/core/facade','extend','5nbxyXE','@univerjs-pro/collaboration-client-ui','1598760NzxPGn','1jRGMcj'];_0x4767=function(){return _0x194ca8;};return _0x4767();}const t=require(_0x3a09be(0x181)),e=require(_0x3a09be(0x17e));class c extends e[_0x3a09be(0x17d)]{[_0x3a09be(0x186)](_0x594891,_0x3f4607,..._0x1369d0){const _0x5b2d0b=_0x3a09be;return this[_0x5b2d0b(0x177)]['get'](t['RemoteUniscriptService'])[_0x5b2d0b(0x186)](_0x594891,_0x3f4607,{},..._0x1369d0);}}function _0x4592(_0x42be41,_0x46ad16){const _0x476739=_0x4767();return _0x4592=function(_0x45923c,_0x171bcd){_0x45923c=_0x45923c-0x176;let _0x561199=_0x476739[_0x45923c];return _0x561199;},_0x4592(_0x42be41,_0x46ad16);}e['FUniver'][_0x3a09be(0x17f)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x75eea8=_0x48ab;(function(_0x434928,_0x119a4c){const _0x245225=_0x48ab,_0x5ba125=_0x434928();while(!![]){try{const _0x1e847f=-parseInt(_0x245225(0x26d))/0x1+parseInt(_0x245225(0x1b9))/0x2*(parseInt(_0x245225(0x2c4))/0x3)+-parseInt(_0x245225(0x18d))/0x4*(-parseInt(_0x245225(0x1ca))/0x5)+parseInt(_0x245225(0x1c7))/0x6+parseInt(_0x245225(0x2ce))/0x7+parseInt(_0x245225(0x279))/0x8+-parseInt(_0x245225(0x284))/0x9;if(_0x1e847f===_0x119a4c)break;else _0x5ba125['push'](_0x5ba125['shift']());}catch(_0x59b21d){_0x5ba125['push'](_0x5ba125['shift']());}}}(_0x307e,0xb8c84));var Ve=Object[_0x75eea8(0x255)],Xe=(_0x22ab84,_0x3d5f81,_0x573df5)=>_0x3d5f81 in _0x22ab84?Ve(_0x22ab84,_0x3d5f81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x573df5}):_0x22ab84[_0x3d5f81]=_0x573df5,h=(_0x352106,_0x270c97,_0x1a33f9)=>Xe(_0x352106,typeof _0x270c97!=_0x75eea8(0x22d)?_0x270c97+'':_0x270c97,_0x1a33f9);Object[_0x75eea8(0x255)](exports,Symbol[_0x75eea8(0x204)],{'value':_0x75eea8(0x374)});const u=require(_0x75eea8(0x1e8)),a=require(_0x75eea8(0x179)),p=require(_0x75eea8(0x304)),G=require(_0x75eea8(0x21c)),b=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require(_0x75eea8(0x2e0)),Y=require(_0x75eea8(0x1ee)),m=require(_0x75eea8(0x32c)),Ee=require(_0x75eea8(0x31d)),g=require(_0x75eea8(0x389)),$=require(_0x75eea8(0x35e)),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),T=require(_0x75eea8(0x16f)),D=require(_0x75eea8(0x373)),M=require('react'),Ke=require(_0x75eea8(0x23f));var qe=Object[_0x75eea8(0x191)],ze=(_0x803944,_0x1e6beb,_0x86c682,_0x195ac5)=>{const _0x32dec2=_0x75eea8;for(var _0x25dc0f=_0x195ac5>0x1?void 0x0:_0x195ac5?qe(_0x1e6beb,_0x86c682):_0x1e6beb,_0x359b35=_0x803944[_0x32dec2(0x31b)]-0x1,_0x1e72a8;_0x359b35>=0x0;_0x359b35--)(_0x1e72a8=_0x803944[_0x359b35])&&(_0x25dc0f=_0x1e72a8(_0x25dc0f)||_0x25dc0f);return _0x25dc0f;},Te=(_0x4fbe94,_0x375eb1)=>(_0x1780c0,_0x3ba44a)=>_0x375eb1(_0x1780c0,_0x3ba44a,_0x4fbe94);let de=class extends a[_0x75eea8(0x1b5)]{constructor(_0x472584,_0x37d35c){const _0x2b41df=_0x75eea8;super(),this[_0x2b41df(0x31c)]=_0x472584,this[_0x2b41df(0x160)]=_0x37d35c,this[_0x2b41df(0x26f)]();}['_init'](){const _0x250eee=_0x75eea8,_0x492cf5=this;this[_0x250eee(0x14c)](this[_0x250eee(0x31c)][_0x250eee(0x309)]({'onBeforePasteImage':async _0x23eafc=>{const _0x1fa8be=_0x250eee,_0x2334ad=await _0x492cf5[_0x1fa8be(0x160)][_0x1fa8be(0x207)](_0x23eafc);return _0x2334ad?{'source':_0x2334ad[_0x1fa8be(0x1ba)],'imageSourceType':_0x2334ad[_0x1fa8be(0x250)]}:null;}}));}};de=ze([Te(0x0,b[_0x75eea8(0x1de)]),Te(0x1,Ge[_0x75eea8(0x2d7)])],de);const Oe=[_0x75eea8(0x177),_0x75eea8(0x2ea),_0x75eea8(0x371),_0x75eea8(0x39f),_0x75eea8(0x2cf),_0x75eea8(0x2e4)];class me extends a[_0x75eea8(0x21d)]{constructor(){const _0x540501=_0x75eea8;super(...arguments),h(this,_0x540501(0x2a0),new Map()),h(this,'_colorIndex',0x0);}[_0x75eea8(0x1bf)](_0x350f19){const _0x5dbaff=_0x75eea8;if(this['_assignedColors'][_0x5dbaff(0x1a1)](_0x350f19))return this[_0x5dbaff(0x2a0)][_0x5dbaff(0x1d1)](_0x350f19);const _0x5388b6=Oe[this[_0x5dbaff(0x3cf)]];return this['_colorIndex']=(this[_0x5dbaff(0x3cf)]+0x1)%Oe[_0x5dbaff(0x31b)],this['_assignedColors'][_0x5dbaff(0x3be)](_0x350f19,_0x5388b6),_0x5388b6;}}function Pe(_0x180264){const _0x18a86c=_0x75eea8;let _0x17fcff='';for(const _0x425163 of _0x180264){const {startOffset:_0xcebe6,endOffset:_0x44a8b8,isActive:_0x40db2b,rangeType:_0x4491a5,segmentId:_0x42b5c0,segmentPage:_0x22596c}=_0x425163;_0x17fcff[_0x18a86c(0x31b)]&&(_0x17fcff+=','),_0x17fcff+=_0xcebe6+':'+_0x44a8b8+':'+(_0x40db2b?'1':'0')+':'+_0x4491a5+':'+_0x42b5c0+':'+_0x22596c;}return _0x17fcff;}function Je(_0x416578){const _0x32e9f7=_0x75eea8,_0x4dbca5=_0x416578[_0x32e9f7(0x1c2)](','),_0x507bac=[];for(const _0x23e2b5 of _0x4dbca5){const [_0x31fa9e,_0x1e4f90,_0x5db654,_0x313082,_0x2fe590,_0x35fd32]=_0x23e2b5[_0x32e9f7(0x1c2)](':');_0x507bac[_0x32e9f7(0x3ac)]({'startOffset':Number(_0x31fa9e),'endOffset':Number(_0x1e4f90),'collapsed':_0x31fa9e===_0x1e4f90,'isActive':_0x5db654==='1','rangeType':_0x313082===a[_0x32e9f7(0x28e)][_0x32e9f7(0x2a3)]?a[_0x32e9f7(0x28e)][_0x32e9f7(0x2a3)]:a['DOC_RANGE_TYPE'][_0x32e9f7(0x3b1)],'segmentId':typeof _0x2fe590=='string'?String(_0x2fe590):'','segmentPage':Number(_0x35fd32!=null?_0x35fd32:-0x1)});}return _0x507bac[_0x32e9f7(0x276)](_0x804399=>_0x804399[_0x32e9f7(0x314)])||(_0x507bac[0x0]['isActive']=!0x0),_0x507bac;}class Ce extends a[_0x75eea8(0x1b5)]{constructor(){const _0x4b1afa=_0x75eea8;super(...arguments),h(this,_0x4b1afa(0x20b),new d[(_0x4b1afa(0x3d7))](null)),h(this,_0x4b1afa(0x3a8),this[_0x4b1afa(0x20b)][_0x4b1afa(0x1b4)]());}[_0x75eea8(0x280)](_0x1b9431){const _0x367634=_0x75eea8,{unitID:_0x52aa35,memberID:_0x5a1073,textRanges:_0x1c8a08}=_0x1b9431,_0x2c6b1f=Pe(_0x1c8a08);if(_0x2c6b1f==='')return;const _0x29b94a={'unitID':_0x52aa35,'memberID':_0x5a1073,'selection':_0x2c6b1f};this[_0x367634(0x20b)][_0x367634(0x15e)](_0x29b94a);}}var Ze=Object[_0x75eea8(0x191)],Qe=(_0x4aa8e3,_0x123834,_0x44e9a1,_0x21ce04)=>{for(var _0x3b9202=_0x21ce04>0x1?void 0x0:_0x21ce04?Ze(_0x123834,_0x44e9a1):_0x123834,_0x4f30b8=_0x4aa8e3['length']-0x1,_0x3e4a48;_0x4f30b8>=0x0;_0x4f30b8--)(_0x3e4a48=_0x4aa8e3[_0x4f30b8])&&(_0x3b9202=_0x3e4a48(_0x3b9202)||_0x3b9202);return _0x3b9202;},L=(_0x105570,_0x319443)=>(_0x2feaf9,_0x22aad0)=>_0x319443(_0x2feaf9,_0x22aad0,_0x105570);const et=0x12c,tt=0x64;let fe=class extends a[_0x75eea8(0x1b5)]{constructor(_0x4e8b43,_0x4720e4,_0x240fd6,_0x5a8a3c,_0x279745,_0x2380ab,_0x1bbaec,_0x51024d,_0xb04230){const _0x183c09=_0x75eea8;super(),h(this,_0x183c09(0x327),!0x1),h(this,_0x183c09(0x26f),!0x1),h(this,'_cursorInfo$',new d[(_0x183c09(0x3d7))](new Map())),h(this,_0x183c09(0x1b2),this[_0x183c09(0x1e0)][_0x183c09(0x1b4)]()),h(this,'_roomMembers$',new d[(_0x183c09(0x3d7))]([])),h(this,_0x183c09(0x2e6),this[_0x183c09(0x264)][_0x183c09(0x262)](d[_0x183c09(0x174)](et))),h(this,_0x183c09(0x2f5),a[_0x183c09(0x24b)](_0x127cd6=>{const _0x1a7529=_0x183c09,_0x7ffedf={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1a7529(0x307)],'memberID':this[_0x1a7529(0x370)][_0x1a7529(0x351)](),'selection':Pe(_0x127cd6)}};this[_0x1a7529(0x370)][_0x1a7529(0x2b5)](_0x7ffedf,this[_0x1a7529(0x307)]);},tt)),(this[_0x183c09(0x307)]=_0x4e8b43,this[_0x183c09(0x370)]=_0x4720e4,this[_0x183c09(0x222)]=_0x240fd6,this['_colorAssignService']=_0x5a8a3c,this[_0x183c09(0x38a)]=_0x279745,this[_0x183c09(0x3d2)]=_0x2380ab,this['_transformService']=_0x1bbaec,this['_univerInstanceService']=_0x51024d,this[_0x183c09(0x209)]=_0xb04230);}get[_0x75eea8(0x1cd)](){const _0x3700e4=_0x75eea8;return this[_0x3700e4(0x1e0)][_0x3700e4(0x342)]();}get[_0x75eea8(0x2dd)](){const _0xa2470e=_0x75eea8;return this[_0xa2470e(0x264)][_0xa2470e(0x342)]();}[_0x75eea8(0x362)](){const _0x34ddbb=_0x75eea8;super['dispose'](),this['_cursorInfo$'][_0x34ddbb(0x15e)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x34ddbb(0x15e)]([]),this[_0x34ddbb(0x264)][_0x34ddbb(0x239)]();}['init'](){const _0x2aa503=_0x75eea8;this[_0x2aa503(0x26f)]||(this['_init']=!0x0,this[_0x2aa503(0x370)]['sessionStatus$'][_0x2aa503(0x262)](d[_0x2aa503(0x299)](this[_0x2aa503(0x183)]))[_0x2aa503(0x37e)](_0x2051d4=>{const _0x555b15=_0x2aa503;_0x2051d4===u[_0x555b15(0x347)][_0x555b15(0x321)]?this[_0x555b15(0x1f4)]():this['_toggleOffline']();}),this[_0x2aa503(0x370)][_0x2aa503(0x2bc)][_0x2aa503(0x262)](d[_0x2aa503(0x299)](this['dispose$']))[_0x2aa503(0x37e)](_0x54aa35=>{const _0xa8a0d2=_0x2aa503,_0x17c362=_0x54aa35[_0xa8a0d2(0x161)];_0x17c362===m['CollaborationEvent'][_0xa8a0d2(0x263)]&&this[_0xa8a0d2(0x2c5)](_0x54aa35),_0x17c362===m[_0xa8a0d2(0x357)][_0xa8a0d2(0x1f6)]&&this[_0xa8a0d2(0x2b6)](_0x54aa35);}),this[_0x2aa503(0x14c)](this['_commandService'][_0x2aa503(0x35c)](_0x399f8a=>{const _0x4d381c=_0x2aa503,_0x1803e1=_0x399f8a[_0x4d381c(0x300)];_0x1803e1!=null&&this[_0x4d381c(0x327)]&&_0x399f8a['id']===Y['SetTextSelectionsOperation']['id']&&_0x1803e1[_0x4d381c(0x2ff)]===this[_0x4d381c(0x307)]&&_0x1803e1[_0x4d381c(0x385)]===!0x1&&_0x1803e1[_0x4d381c(0x16a)][_0x4d381c(0x31b)]>0x0&&this['_updateLocalCursor'](_0x1803e1[_0x4d381c(0x16a)]);})),this[_0x2aa503(0x3d2)][_0x2aa503(0x3a8)][_0x2aa503(0x262)](d['takeUntil'](this[_0x2aa503(0x183)]))[_0x2aa503(0x37e)](_0x41a7ef=>{const _0x1d1c89=_0x2aa503;if((_0x41a7ef==null?void 0x0:_0x41a7ef[_0x1d1c89(0x307)])!==this['unitID'])return;const _0x59002d={'eventID':m[_0x1d1c89(0x357)][_0x1d1c89(0x263)],'data':_0x41a7ef};this[_0x1d1c89(0x2c5)](_0x59002d);}),this[_0x2aa503(0x14c)](this[_0x2aa503(0x209)][_0x2aa503(0x35c)](_0x2bd224=>{const _0x337cd5=_0x2aa503;if(_0x2bd224[_0x337cd5(0x300)]==null)return;const _0xeba7a1=_0x2bd224[_0x337cd5(0x300)];if(_0x2bd224['id']!==Y['RichTextEditingMutation']['id']||_0xeba7a1[_0x337cd5(0x2ff)]!==this['unitID'])return;const _0x260a55={'id':'doc.mutation.rich-text-editing','params':_0xeba7a1},_0x50a1a9=this[_0x337cd5(0x1cd)];for(const [_0x1fe2fd,_0x55a413]of _0x50a1a9){const _0x5ed3f5={'id':_0x337cd5(0x2db),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x55a413[_0x337cd5(0x16a)]}},_0x995872=this[_0x337cd5(0x213)][_0x337cd5(0x17f)](_0x260a55,_0x5ed3f5,!0x1);if(m[_0x337cd5(0x27f)](_0x995872))throw _0x995872[_0x337cd5(0x163)];_0x50a1a9[_0x337cd5(0x3be)](_0x1fe2fd,{..._0x55a413,'ranges':_0x995872[_0x337cd5(0x28b)]['params'][_0x337cd5(0x380)]});}queueMicrotask(()=>{const _0x3feb0e=_0x337cd5;this['_cursorInfo$'][_0x3feb0e(0x15e)](_0x50a1a9);});})));}['_onCursorUpdate'](_0x1f1152){const _0x3f96b3=_0x75eea8;var _0x496d12,_0x41f96a;const {memberID:_0x57ff04,selection:_0x3d7e6c}=_0x1f1152[_0x3f96b3(0x2df)],_0x5002b0=Je(_0x3d7e6c),_0x4a9124=(_0x41f96a=(_0x496d12=this[_0x3f96b3(0x38a)][_0x3f96b3(0x254)](this[_0x3f96b3(0x307)],_0x57ff04))==null?void 0x0:_0x496d12[_0x3f96b3(0x387)])!=null?_0x41f96a:'Unknown\x20user',_0x387723={'color':this[_0x3f96b3(0x22b)][_0x3f96b3(0x1bf)](_0x57ff04),'name':_0x4a9124,'ranges':_0x5002b0},_0x1493c0=this[_0x3f96b3(0x1cd)];_0x1493c0['set'](_0x57ff04,_0x387723),this[_0x3f96b3(0x1e0)][_0x3f96b3(0x15e)](_0x1493c0);}[_0x75eea8(0x2b6)](_0x48a7f3){const _0x1c44fb=_0x75eea8,{memberID:_0x1018cc}=_0x48a7f3['data'],_0x3279c3=this['cursorInfo'];_0x3279c3['delete'](_0x1018cc),this[_0x1c44fb(0x1e0)]['next'](_0x3279c3);}[_0x75eea8(0x1f4)](){const _0x208796=_0x75eea8;var _0x202fe9;if(this[_0x208796(0x327)]=!0x0,((_0x202fe9=this[_0x208796(0x20f)][_0x208796(0x202)]())==null?void 0x0:_0x202fe9[_0x208796(0x2de)]())!==this[_0x208796(0x307)])return;const _0x18e062=this[_0x208796(0x222)][_0x208796(0x1d1)](Y['DocSelectionManagerService'])[_0x208796(0x316)]();Array['isArray'](_0x18e062)&&_0x18e062[_0x208796(0x31b)]>0x0&&this[_0x208796(0x2f5)](_0x18e062);}['_toggleOffline'](){const _0x576f79=_0x75eea8;this[_0x576f79(0x327)]=!0x1;}};fe=Qe([L(0x2,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),L(0x3,a[_0x75eea8(0x1a0)](me)),L(0x4,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x34f)])),L(0x5,a[_0x75eea8(0x1a0)](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x75eea8(0x382)])],fe);var st=Object[_0x75eea8(0x191)],it=(_0x428da8,_0x2a4864,_0x4a3009,_0x275d67)=>{const _0xffd6d1=_0x75eea8;for(var _0x7fd86d=_0x275d67>0x1?void 0x0:_0x275d67?st(_0x2a4864,_0x4a3009):_0x2a4864,_0x5a265c=_0x428da8[_0xffd6d1(0x31b)]-0x1,_0x2b0aa6;_0x5a265c>=0x0;_0x5a265c--)(_0x2b0aa6=_0x428da8[_0x5a265c])&&(_0x7fd86d=_0x2b0aa6(_0x7fd86d)||_0x7fd86d);return _0x7fd86d;},w=(_0x37f40b,_0x2d489f)=>(_0x2fbf21,_0x582db4)=>_0x2d489f(_0x2fbf21,_0x582db4,_0x37f40b);const nt=0x12c,rt=0x64,ot=()=>{let _0x127efc=[],_0x20d705=!0x1;return _0x32dde5=>{const _0x326a0b=_0x48ab;_0x127efc[_0x326a0b(0x3ac)](_0x32dde5),_0x20d705||(_0x20d705=!0x0,setTimeout(()=>{_0x127efc['forEach'](_0x398826=>_0x398826()),_0x127efc=[],_0x20d705=!0x1;}));};};let Se=class extends a[_0x75eea8(0x1b5)]{constructor(_0x11b4c8,_0x3e6929,_0x38f154,_0x5ad05e,_0x51972a,_0x21bf91,_0xa41c4,_0x24f22a){const _0x34322a=_0x75eea8;super(),h(this,_0x34322a(0x327),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0x34322a(0x3d7))](new Map())),h(this,'cursorInfo$',this[_0x34322a(0x1e0)][_0x34322a(0x1b4)]()),h(this,'_roomMembers$',new d[(_0x34322a(0x3d7))]([])),h(this,_0x34322a(0x2e6),this[_0x34322a(0x264)]['pipe'](d[_0x34322a(0x174)](nt))),h(this,'_updateLocalCursor',a[_0x34322a(0x24b)]((_0x563ad6,_0x463d4d)=>{const _0x2fabe0=_0x34322a,_0x269ae1={'eventID':m[_0x2fabe0(0x357)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2fabe0(0x307)],'memberID':this['_session'][_0x2fabe0(0x351)](),'selection':Ee[_0x2fabe0(0x16d)](_0x563ad6,_0x463d4d['range'])}};this[_0x2fabe0(0x370)][_0x2fabe0(0x2b5)](_0x269ae1,this['unitID']);},rt)),(this['unitID']=_0x11b4c8,this[_0x34322a(0x370)]=_0x3e6929,this[_0x34322a(0x222)]=_0x38f154,this[_0x34322a(0x22b)]=_0x5ad05e,this[_0x34322a(0x38a)]=_0x51972a,this[_0x34322a(0x20f)]=_0x21bf91,this[_0x34322a(0x209)]=_0xa41c4,this[_0x34322a(0x265)]=_0x24f22a);}get['cursorInfo'](){const _0xbe030f=_0x75eea8;return this[_0xbe030f(0x1e0)]['getValue']();}get[_0x75eea8(0x2dd)](){const _0xe47133=_0x75eea8;return this[_0xe47133(0x264)]['getValue']();}[_0x75eea8(0x362)](){const _0x3cadb0=_0x75eea8;super[_0x3cadb0(0x362)](),this[_0x3cadb0(0x1e0)][_0x3cadb0(0x15e)](new Map()),this['_cursorInfo$'][_0x3cadb0(0x239)](),this[_0x3cadb0(0x264)][_0x3cadb0(0x15e)]([]),this[_0x3cadb0(0x264)][_0x3cadb0(0x239)]();}[_0x75eea8(0x39e)](){const _0x20817c=_0x75eea8;this['_init']||(this[_0x20817c(0x26f)]=!0x0,this[_0x20817c(0x370)][_0x20817c(0x1f5)][_0x20817c(0x262)](d[_0x20817c(0x299)](this['dispose$']))[_0x20817c(0x37e)](_0x5a8902=>{const _0x22e279=_0x20817c;_0x5a8902===u[_0x22e279(0x347)][_0x22e279(0x321)]?this[_0x22e279(0x1f4)]():this[_0x22e279(0x361)]();}),this[_0x20817c(0x370)][_0x20817c(0x2bc)]['pipe'](d[_0x20817c(0x299)](this['dispose$']))[_0x20817c(0x37e)](_0x12237a=>{const _0x39a9b6=_0x20817c,_0xc4d179=_0x12237a[_0x39a9b6(0x161)];_0xc4d179===m[_0x39a9b6(0x357)][_0x39a9b6(0x263)]&&this[_0x39a9b6(0x2c5)](_0x12237a),_0xc4d179===m[_0x39a9b6(0x357)][_0x39a9b6(0x1f6)]&&this['_onCursorDelete'](_0x12237a);}),this[_0x20817c(0x155)](),this[_0x20817c(0x14c)](this[_0x20817c(0x209)][_0x20817c(0x35c)](_0x5836cf=>{const _0x5cbb62=_0x20817c;if(this[_0x5cbb62(0x327)]&&_0x5836cf['id']===g[_0x5cbb62(0x1c8)]['id']&&_0x5836cf[_0x5cbb62(0x300)][_0x5cbb62(0x2ff)]===this[_0x5cbb62(0x307)]){const _0x57472b=_0x5836cf[_0x5cbb62(0x300)];this[_0x5cbb62(0x2f5)](_0x57472b[_0x5cbb62(0x234)],_0x57472b[_0x5cbb62(0x1fa)][0x0]);}})));}[_0x75eea8(0x2c5)](_0xc0ef13){const _0x26f56a=_0x75eea8;var _0x46c786,_0x226f58;const {memberID:_0x5610d6,selection:_0x13ea7f}=_0xc0ef13['data'],{sheetName:_0x69ab53,range:_0x4bf8cd}=Ee[_0x26f56a(0x26b)](_0x13ea7f),_0x670d25={'name':(_0x226f58=(_0x46c786=this[_0x26f56a(0x38a)]['getMember'](this[_0x26f56a(0x307)],_0x5610d6))==null?void 0x0:_0x46c786[_0x26f56a(0x387)])!=null?_0x226f58:_0x26f56a(0x37c),'range':this[_0x26f56a(0x175)](_0x69ab53,_0x4bf8cd),'sheetID':_0x69ab53,'color':this['_colorAssignService'][_0x26f56a(0x1bf)](_0x5610d6),'selection':_0x13ea7f},_0x40616d=this[_0x26f56a(0x1cd)];_0x40616d[_0x26f56a(0x3be)](_0x5610d6,_0x670d25),this[_0x26f56a(0x1e0)][_0x26f56a(0x15e)](_0x40616d);}[_0x75eea8(0x2b6)](_0x33fd7){const _0x5ac8ed=_0x75eea8,{memberID:_0x506dfa}=_0x33fd7['data'],_0x15c0bc=this[_0x5ac8ed(0x1cd)];_0x15c0bc[_0x5ac8ed(0x259)](_0x506dfa),this[_0x5ac8ed(0x1e0)][_0x5ac8ed(0x15e)](_0x15c0bc);}[_0x75eea8(0x175)](_0x4502ab,_0x1a6f2b){const _0x269acc=_0x75eea8;var _0x2e213c,_0x575750;const _0x32ba39=(_0x575750=(_0x2e213c=this['_univerInstanceService'][_0x269acc(0x281)](this[_0x269acc(0x307)]))==null?void 0x0:_0x2e213c[_0x269acc(0x1d0)](_0x4502ab))==null?void 0x0:_0x575750[_0x269acc(0x30f)]();return(_0x32ba39==null?void 0x0:_0x32ba39['find'](_0x358a30=>a[_0x269acc(0x37d)]['contains'](_0x358a30,_0x1a6f2b)))||_0x1a6f2b;}[_0x75eea8(0x155)](){const _0xf649e8=_0x75eea8,_0x1591fe=new a[(_0xf649e8(0x1ff))](),_0x4b5eb5=ot(),_0x244341=()=>{const _0x206e39=_0xf649e8;_0x1591fe[_0x206e39(0x362)]();const _0x3f1694=(_0x3bb875,_0x395497,_0x4a3274,_0x2a7598)=>{const _0x1fcd1b=_0x206e39;let _0xc00b7f=[];switch(_0x3bb875['id']){case g[_0x1fcd1b(0x2c7)]['DeleteRangeMoveLeftCommandId']:{_0xc00b7f=g['handleDeleteRangeMoveLeft'](_0x3bb875,_0x2a7598);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xc00b7f=g['handleDeleteRangeMoveUp'](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)]['InsertColCommandId']:{_0xc00b7f=g[_0x1fcd1b(0x18f)](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)][_0x1fcd1b(0x3e0)]:{_0xc00b7f=g[_0x1fcd1b(0x1af)](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)][_0x1fcd1b(0x381)]:{_0xc00b7f=g[_0x1fcd1b(0x3d9)](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)][_0x1fcd1b(0x3dc)]:{_0xc00b7f=g[_0x1fcd1b(0x2f8)](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)][_0x1fcd1b(0x285)]:{_0xc00b7f=g[_0x1fcd1b(0x214)](_0x3bb875,_0x2a7598);break;}case g['EffectRefRangId'][_0x1fcd1b(0x3bf)]:{_0xc00b7f=g[_0x1fcd1b(0x2eb)](_0x3bb875,_0x2a7598);break;}case g[_0x1fcd1b(0x2c7)][_0x1fcd1b(0x16c)]:{_0xc00b7f=g['handleIRemoveRow'](_0x3bb875,_0x2a7598);break;}}const _0x3abeb3=g[_0x1fcd1b(0x394)](_0xc00b7f,_0x2a7598),_0x276ce1=this[_0x1fcd1b(0x1cd)][_0x1fcd1b(0x1d1)](_0x395497);if(_0x276ce1&&_0x3abeb3){const _0x4e06d2={..._0x276ce1,'range':_0x3abeb3};this[_0x1fcd1b(0x1cd)][_0x1fcd1b(0x3be)](_0x395497,_0x4e06d2),_0x4b5eb5(()=>{const _0x25fbda=_0x1fcd1b,_0x54e351=this[_0x25fbda(0x265)][_0x25fbda(0x2ef)](_0x3abeb3,_0x5644d0=>(_0x54e351[_0x25fbda(0x362)](),_0x3f1694(_0x5644d0,_0x395497,_0x4a3274,_0x3abeb3)));_0x1591fe[_0x25fbda(0x153)](_0x54e351);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x206e39(0x33e)]((_0xbc0298,_0x4bde40)=>{const _0xc9ac70=_0x206e39,{range:_0x525cdb,sheetID:_0x1510e6}=_0xbc0298,_0x1e808e=this[_0xc9ac70(0x265)][_0xc9ac70(0x2ef)](_0x525cdb,_0x5dacba=>(_0x1e808e[_0xc9ac70(0x362)](),_0x3f1694(_0x5dacba,_0x4bde40,_0x1510e6,_0x525cdb)));_0x1591fe[_0xc9ac70(0x153)](_0x1e808e);});};this[_0xf649e8(0x14c)](a[_0xf649e8(0x150)](this['_cursorInfo$'][_0xf649e8(0x37e)](()=>{_0x244341();})));}[_0x75eea8(0x1f4)](){const _0x1efc6c=_0x75eea8;var _0x4b2733,_0x3b6cff;if(this[_0x1efc6c(0x327)]=!0x0,((_0x4b2733=this[_0x1efc6c(0x20f)][_0x1efc6c(0x202)]())==null?void 0x0:_0x4b2733[_0x1efc6c(0x2de)]())!==this[_0x1efc6c(0x307)])return;const _0x181740=(_0x3b6cff=this[_0x1efc6c(0x222)]['get'](g[_0x1efc6c(0x25c)])['getCurrentSelections']())==null?void 0x0:_0x3b6cff[0x0],_0x4db6d8=this[_0x1efc6c(0x20f)]['getCurrentUnitForType'](a[_0x1efc6c(0x1dc)][_0x1efc6c(0x2c8)])[_0x1efc6c(0x305)]();_0x181740&&_0x4db6d8&&this[_0x1efc6c(0x2f5)](_0x4db6d8['getSheetId'](),_0x181740);}['_toggleOffline'](){const _0x2587df=_0x75eea8;this[_0x2587df(0x327)]=!0x1;}};Se=it([w(0x2,a['Inject'](a[_0x75eea8(0x367)])),w(0x3,a[_0x75eea8(0x1a0)](me)),w(0x4,a['Inject'](u[_0x75eea8(0x34f)])),w(0x5,a[_0x75eea8(0x384)]),w(0x6,a['ICommandService']),w(0x7,a['Inject'](g[_0x75eea8(0x1a2)]))],Se);var at=Object[_0x75eea8(0x191)],ct=(_0x4bf2c7,_0x15772d,_0x2b85d9,_0x3bf740)=>{const _0x23ae62=_0x75eea8;for(var _0x11df2c=_0x3bf740>0x1?void 0x0:_0x3bf740?at(_0x15772d,_0x2b85d9):_0x15772d,_0x3ece41=_0x4bf2c7[_0x23ae62(0x31b)]-0x1,_0x20d8e0;_0x3ece41>=0x0;_0x3ece41--)(_0x20d8e0=_0x4bf2c7[_0x3ece41])&&(_0x11df2c=_0x20d8e0(_0x11df2c)||_0x11df2c);return _0x11df2c;},ie=(_0x37f837,_0x44923b)=>(_0x341743,_0x17ff4c)=>_0x44923b(_0x341743,_0x17ff4c,_0x37f837);let x=class extends a[_0x75eea8(0x1b5)]{constructor(_0x3e82f6,_0x1c9b95,_0x298552){const _0x2f516d=_0x75eea8;super(),h(this,_0x2f516d(0x34e),new Map()),h(this,_0x2f516d(0x2fa),new d['Subject']()),(this[_0x2f516d(0x20f)]=_0x3e82f6,this[_0x2f516d(0x222)]=_0x1c9b95,this[_0x2f516d(0x1f0)]=_0x298552,this[_0x2f516d(0x26f)]());}[_0x75eea8(0x362)](){const _0x1f1c21=_0x75eea8;super[_0x1f1c21(0x362)](),this[_0x1f1c21(0x2fa)]['complete'](),this['_entities'][_0x1f1c21(0x33e)](_0x54b926=>_0x54b926[_0x1f1c21(0x362)]());}[_0x75eea8(0x3b3)](_0x40d433){const _0x591a1f=_0x75eea8;return this[_0x591a1f(0x34e)][_0x591a1f(0x1a1)](_0x40d433)?this['_entities']['get'](_0x40d433)[_0x591a1f(0x1b2)]:this['_entityInit$'][_0x591a1f(0x262)](d[_0x591a1f(0x1a8)](_0x48d3ae=>_0x48d3ae[_0x591a1f(0x307)]===_0x40d433),d[_0x591a1f(0x1db)](_0x51d966=>_0x51d966[_0x591a1f(0x1b2)]));}['_init'](){const _0x23814a=_0x75eea8;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x23814a(0x1dc)][_0x23814a(0x2c8)])['pipe'](d[_0x23814a(0x299)](this['dispose$']))[_0x23814a(0x37e)](async _0x1ebf5e=>{const _0x38f124=_0x23814a,_0x4b7119=_0x1ebf5e[_0x38f124(0x2de)](),_0x2f0441=await this['_startSheetCollabCursor'](_0x4b7119);this[_0x38f124(0x2fa)]['next'](_0x2f0441),this[_0x38f124(0x34e)]['set'](_0x4b7119,_0x2f0441);}),this[_0x23814a(0x20f)]['getTypeOfUnitAdded$'](a[_0x23814a(0x1dc)][_0x23814a(0x2f2)])[_0x23814a(0x262)](d[_0x23814a(0x299)](this[_0x23814a(0x183)]))[_0x23814a(0x262)](d[_0x23814a(0x1a8)](_0x3424f6=>!_0x3424f6[_0x23814a(0x2de)]()[_0x23814a(0x243)]('__')))[_0x23814a(0x37e)](async _0x4e80c9=>{const _0x27daaf=_0x23814a,_0x30107c=_0x4e80c9['getUnitId'](),_0x1606b6=await this[_0x27daaf(0x3b0)](_0x30107c);this[_0x27daaf(0x2fa)]['next'](_0x1606b6),this[_0x27daaf(0x34e)][_0x27daaf(0x3be)](_0x30107c,_0x1606b6);}),d[_0x23814a(0x301)](this[_0x23814a(0x20f)][_0x23814a(0x3a6)](a['UniverInstanceType'][_0x23814a(0x2f2)]),this['_univerInstanceService'][_0x23814a(0x3a6)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x23814a(0x262)](d['takeUntil'](this['dispose$']))[_0x23814a(0x37e)](_0x43504e=>{const _0x5cb9ae=_0x23814a,_0x2d2d92=_0x43504e[_0x5cb9ae(0x2de)](),_0x569616=this[_0x5cb9ae(0x34e)][_0x5cb9ae(0x1d1)](_0x2d2d92);_0x569616&&(_0x569616[_0x5cb9ae(0x362)](),this[_0x5cb9ae(0x34e)][_0x5cb9ae(0x259)](_0x2d2d92));});}async[_0x75eea8(0x247)](_0x1081dd){const _0x42773f=_0x75eea8,_0x75b44b=await this[_0x42773f(0x1f0)][_0x42773f(0x230)](_0x1081dd),_0x48f379=this['_injector'][_0x42773f(0x398)](Se,_0x1081dd,_0x75b44b);return _0x48f379[_0x42773f(0x39e)](),_0x48f379;}async['_startDocCollabCursor'](_0x4697aa){const _0x598592=_0x75eea8,_0x5ce125=await this[_0x598592(0x1f0)][_0x598592(0x230)](_0x4697aa),_0x3885a5=this[_0x598592(0x222)]['createInstance'](fe,_0x4697aa,_0x5ce125);return _0x3885a5[_0x598592(0x39e)](),_0x3885a5;}};x=ct([ie(0x0,a[_0x75eea8(0x384)]),ie(0x1,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),ie(0x2,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x227)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1e691a,_0xc94f81){const _0x207002=_0x75eea8;let {radius:_0x415211,width:_0x5365c6,height:_0x2a0103}=_0xc94f81;_0x415211=_0x415211!=null?_0x415211:0x0,_0x5365c6=_0x5365c6!=null?_0x5365c6:0x1e,_0x2a0103=_0x2a0103!=null?_0x2a0103:0x1e;let _0x28a119=0x0,_0x144715=0x0,_0x1e6340=0x0;_0x28a119=_0x144715=_0x1e6340=Math[_0x207002(0x341)](_0x415211,_0x5365c6/0x2,_0x2a0103/0x2),_0x1e691a[_0x207002(0x3ba)](),_0x1e691a[_0x207002(0x1a5)](_0x28a119,0x0),_0x1e691a[_0x207002(0x2ed)](_0x5365c6-_0x144715,0x0),_0x1e691a[_0x207002(0x2c9)](_0x5365c6-_0x144715,_0x144715,_0x144715,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e691a[_0x207002(0x2ed)](_0x5365c6,_0x2a0103-_0x1e6340),_0x1e691a[_0x207002(0x2c9)](_0x5365c6-_0x1e6340,_0x2a0103-_0x1e6340,_0x1e6340,0x0,Math['PI']/0x2,!0x1),_0x1e691a[_0x207002(0x2ed)](0x0,_0x2a0103),_0x1e691a[_0x207002(0x2ed)](0x0,_0x28a119),_0x1e691a[_0x207002(0x2c9)](_0x28a119,_0x28a119,_0x28a119,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e691a['closePath'](),_0xc94f81[_0x207002(0x33b)]&&(_0x1e691a[_0x207002(0x368)](),_0x1e691a[_0x207002(0x25d)]=_0xc94f81[_0x207002(0x33b)],_0xc94f81['fillRule']===_0x207002(0x1fd)?_0x1e691a[_0x207002(0x33b)](_0x207002(0x1fd)):_0x1e691a[_0x207002(0x33b)](),_0x1e691a[_0x207002(0x393)]());}class ee extends p['Shape']{constructor(_0x5325c3,_0x4810c0){const _0x1fad29=_0x75eea8;super(_0x5325c3,_0x4810c0),h(this,_0x1fad29(0x228)),h(this,_0x1fad29(0x251)),(this[_0x1fad29(0x228)]=_0x4810c0==null?void 0x0:_0x4810c0[_0x1fad29(0x228)],this[_0x1fad29(0x251)]=_0x4810c0==null?void 0x0:_0x4810c0[_0x1fad29(0x251)]);}static[_0x75eea8(0x15b)](_0x38af1c,_0x4d61d1){const _0x4b86d5=_0x75eea8,{text:_0x109214,color:_0x46eb87}=_0x4d61d1;_0x38af1c[_0x4b86d5(0x368)](),_0x38af1c['font']=_0x4b86d5(0x33d);const _0xe1d781=_0x38af1c['measureText'](_0x109214)[_0x4b86d5(0x340)],_0x4f46de=Math[_0x4b86d5(0x341)](_0xe1d781+0x2*ne,Re);_t(_0x38af1c,{'height':K,'radius':0x4,'width':_0x4f46de,'fill':_0x46eb87}),_0x38af1c['fillStyle']=_0x4b86d5(0x27a);const _0x53ac00=ne,_0x1713c8=K-lt,_0x2957ec=Re-0x2*ne;if(_0xe1d781>_0x2957ec){let _0xbfd407='',_0x5f03ee=0x0;for(const _0x382d20 of _0x109214){const _0x8ff90=_0x38af1c[_0x4b86d5(0x33f)](_0x382d20)[_0x4b86d5(0x340)];if(_0x5f03ee+_0x8ff90<=_0x2957ec-_0x38af1c[_0x4b86d5(0x33f)](_0x4b86d5(0x267))['width'])_0xbfd407+=_0x382d20,_0x5f03ee+=_0x8ff90;else{_0xbfd407+=_0x4b86d5(0x267);break;}}_0x38af1c[_0x4b86d5(0x33c)](_0xbfd407,_0x53ac00,_0x1713c8);}else _0x38af1c[_0x4b86d5(0x33c)](_0x109214,_0x53ac00,_0x1713c8);_0x38af1c[_0x4b86d5(0x393)]();}[_0x75eea8(0x32e)](_0x1fd503){ee['drawWith'](_0x1fd503,this);}}const re=_0x75eea8(0x31a),ht=_0x75eea8(0x288),ut=_0x75eea8(0x3ab),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x75eea8(0x3c4);class De{constructor(_0x591668,_0x43a6c6,_0x1af90c,_0x59ede9){const _0x8c3ebd=_0x75eea8;h(this,_0x8c3ebd(0x2cd),[]),h(this,_0x8c3ebd(0x2bf),null),h(this,'_textBubble',null),h(this,_0x8c3ebd(0x350),null),h(this,_0x8c3ebd(0x22f),null),h(this,_0x8c3ebd(0x241),null),(this[_0x8c3ebd(0x353)]=_0x591668,this['_scene']=_0x43a6c6,this[_0x8c3ebd(0x292)]=_0x1af90c,this[_0x8c3ebd(0x323)]=_0x59ede9,this[_0x8c3ebd(0x1df)]());}set[_0x75eea8(0x354)](_0x168d7e){const _0x10cd23=_0x75eea8;_0x168d7e?(this['_anchorDot']&&this[_0x10cd23(0x350)][_0x10cd23(0x1ae)](),this[_0x10cd23(0x2b9)]&&this[_0x10cd23(0x2b9)]['show']()):(this[_0x10cd23(0x350)]&&this[_0x10cd23(0x350)][_0x10cd23(0x186)](),this[_0x10cd23(0x2b9)]&&this[_0x10cd23(0x2b9)][_0x10cd23(0x1ae)]());}['dispose'](){const _0x276688=_0x75eea8;for(const _0x18a621 of this[_0x276688(0x2cd)])_0x18a621['dispose']();this[_0x276688(0x2b9)]&&this['_textBubble'][_0x276688(0x362)](),this[_0x276688(0x350)]&&this['_anchorDot'][_0x276688(0x362)](),this['_anchor']&&this[_0x276688(0x2bf)][_0x276688(0x362)](),this[_0x276688(0x241)]&&this['_eventUnsubscribe']();}[_0x75eea8(0x1df)](){const _0x54fc10=_0x75eea8;var _0x3f0bbc;const {_docSkeleton:_0x3d9fa5,_document:_0x569839}=this,{color:_0x1935e3,name:_0x5f1fb5,ranges:_0x107bf5}=this[_0x54fc10(0x353)],_0x5acfa6=_0x569839['getOffsetConfig'](),{docsLeft:_0xcad86a,docsTop:_0x45f560}=_0x5acfa6,_0x578e98=new b[(_0x54fc10(0x199))](_0x5acfa6,_0x3d9fa5);for(const {startOffset:_0x93b6e9,endOffset:_0x3b93e0,rangeType:_0x40ec75,segmentId:_0x24d8ec,segmentPage:_0x120905,collapsed:_0x10d089,isActive:_0x14e25e}of _0x107bf5){const _0x1251ff=_0x3d9fa5[_0x54fc10(0x1f9)](_0x93b6e9,!0x0,_0x24d8ec,_0x120905);let _0x201220=_0x3d9fa5[_0x54fc10(0x1f9)](_0x3b93e0,!0x0,_0x24d8ec,_0x120905);if(_0x201220==null&&(_0x201220=_0x3d9fa5[_0x54fc10(0x1f9)](_0x3b93e0-0x1,!0x1,_0x24d8ec,_0x120905)),_0x14e25e){const {contentBoxPointGroup:_0x135951}=_0x578e98[_0x54fc10(0x2f0)](_0x201220,_0x201220);if(_0x135951['length']===0x0)continue;this[_0x54fc10(0x1ec)](_0x1935e3,_0x135951,_0xcad86a,_0x45f560,_0x5f1fb5),this[_0x54fc10(0x241)]=this[_0x54fc10(0x392)]();}if(_0x1251ff&&_0x201220){if(_0x40ec75===a[_0x54fc10(0x28e)][_0x54fc10(0x3b1)]){const _0xc2c029=new b[(_0x54fc10(0x302))](_0x5acfa6,_0x3d9fa5),{pointGroup:_0x3cb27a}=(_0x3f0bbc=_0xc2c029[_0x54fc10(0x2f0)](_0x1251ff,_0x201220))!=null?_0x3f0bbc:{};if(_0x3cb27a==null||_0x3cb27a[_0x54fc10(0x31b)]===0x0)continue;this[_0x54fc10(0x1d8)](_0x1935e3,_0x3cb27a,_0xcad86a,_0x45f560);}else{if(!_0x10d089){const {borderBoxPointGroup:_0x16ad71}=_0x578e98[_0x54fc10(0x2f0)](_0x1251ff,_0x201220);if(_0x16ad71[_0x54fc10(0x31b)]===0x0)continue;this[_0x54fc10(0x28f)](_0x1935e3,_0x16ad71,_0xcad86a,_0x45f560);}}}}}[_0x75eea8(0x1ec)](_0x49bdb9,_0x161922,_0x3c51c5,_0x3abed0,_0x5d1ea1){const _0x267fe7=_0x75eea8,_0x54f573=this[_0x267fe7(0x2a9)](_0x161922),{left:_0x4a5cba,top:_0x5c486e,height:_0x32874b}=_0x54f573,_0x498768=this['_getScale'](),_0x12dca5=ft/_0x498768,_0x24fed7=new p[(_0x267fe7(0x306))](re+a[_0x267fe7(0x3dd)][_0x267fe7(0x1eb)](k),{'left':_0x4a5cba+_0x3c51c5-_0x12dca5,'top':_0x5c486e+_0x3abed0,'height':_0x32874b,'width':dt,'fill':_0x49bdb9||p['getColor'](a[_0x267fe7(0x308)][_0x267fe7(0x2d3)],0x0),'strokeWidth':_0x12dca5,'stroke':St,'evented':!0x0});this['_anchor']=_0x24fed7,this['_scene'][_0x267fe7(0x1d5)](_0x24fed7,b[_0x267fe7(0x14f)]);const _0x2d912d=new p[(_0x267fe7(0x306))](re+a[_0x267fe7(0x3dd)][_0x267fe7(0x1eb)](k),{'left':_0x4a5cba+_0x3c51c5-_0x12dca5,'top':_0x5c486e+_0x3abed0-oe/0x2,'height':oe,'width':oe,'fill':_0x49bdb9||p['getColor'](a['COLORS'][_0x267fe7(0x2d3)],0x0),'strokeWidth':0x0,'stroke':_0x49bdb9||p[_0x267fe7(0x21b)](a[_0x267fe7(0x308)]['black'],0x0),'evented':!0x1});this[_0x267fe7(0x350)]=_0x2d912d,this[_0x267fe7(0x266)][_0x267fe7(0x1d5)](_0x2d912d,b['TEXT_RANGE_LAYER_INDEX']);const _0x251bf2=new ee(re+a[_0x267fe7(0x3dd)][_0x267fe7(0x1eb)](k),{'left':_0x4a5cba+_0x3c51c5-_0x12dca5,'top':_0x5c486e+_0x3abed0-K,'text':_0x5d1ea1,'color':_0x49bdb9});this[_0x267fe7(0x2b9)]=_0x251bf2,this[_0x267fe7(0x266)]['addObject'](_0x251bf2,b['TEXT_RANGE_LAYER_INDEX']),this[_0x267fe7(0x354)]=!0x1;}['_handleHover'](){const _0x2457d7=_0x75eea8,_0x5ace52=this[_0x2457d7(0x2bf)][_0x2457d7(0x36a)][_0x2457d7(0x32a)](()=>{this['_hover']=!0x0;}),_0xf59af2=this[_0x2457d7(0x2bf)]['onPointerLeave$'][_0x2457d7(0x32a)](()=>{const _0x14dfab=_0x2457d7;this[_0x14dfab(0x22f)]&&clearTimeout(this[_0x14dfab(0x22f)]),this[_0x14dfab(0x22f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5ed61a=_0x2457d7;_0x5ace52[_0x5ed61a(0x3de)](),_0xf59af2[_0x5ed61a(0x3de)]();};}[_0x75eea8(0x28f)](_0x3325bd,_0x1b2a03,_0x30dd58,_0x5e803c){const _0x406a2d=_0x75eea8,_0x5ecaa3=new a[(_0x406a2d(0x151))](_0x3325bd)[_0x406a2d(0x38f)](0.2)[_0x406a2d(0x3c6)](),_0x11a6c5=new p[(_0x406a2d(0x19e))](ht+a[_0x406a2d(0x3dd)][_0x406a2d(0x1eb)](k),{'pointsGroup':_0x1b2a03,'fill':_0x5ecaa3||p[_0x406a2d(0x21b)](a[_0x406a2d(0x308)][_0x406a2d(0x2d3)],0.2),'left':_0x30dd58,'top':_0x5e803c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x406a2d(0x3ac)](_0x11a6c5),this['_scene']['addObject'](_0x11a6c5,b[_0x406a2d(0x14f)]);}[_0x75eea8(0x1d8)](_0x2c0b67,_0x135d41,_0x324bb3,_0xd21bae){const _0x3ce9d5=_0x75eea8,_0x52373a=new a[(_0x3ce9d5(0x151))](_0x2c0b67)['setAlpha'](0.2)[_0x3ce9d5(0x3c6)](),_0x220dfc=new p[(_0x3ce9d5(0x19e))](ut+a[_0x3ce9d5(0x3dd)][_0x3ce9d5(0x1eb)](k),{'pointsGroup':_0x135d41,'fill':_0x52373a||p['getColor'](a['COLORS']['black'],0.2),'left':_0x324bb3,'top':_0xd21bae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ce9d5(0x2cd)][_0x3ce9d5(0x3ac)](_0x220dfc),this[_0x3ce9d5(0x266)]['addObject'](_0x220dfc,b[_0x3ce9d5(0x14f)]);}[_0x75eea8(0x2a9)](_0x62a78d){const _0x1ca859=_0x62a78d[0x0],_0x895da0=_0x1ca859[0x0],_0xd9cf6b=_0x1ca859[0x2],{x:_0x2eb000,y:_0xecb9dc}=_0x895da0,{x:_0x3d12f1,y:_0x3a1a2b}=_0xd9cf6b;return{'left':_0x2eb000,'top':_0xecb9dc,'width':_0x3d12f1-_0x2eb000,'height':_0x3a1a2b-_0xecb9dc};}[_0x75eea8(0x328)](){const _0x15572d=_0x75eea8,{scaleX:_0x3fc295,scaleY:_0xe868f9}=this['_scene'][_0x15572d(0x260)]();return Math[_0x15572d(0x200)](_0x3fc295,_0xe868f9);}}var It=Object[_0x75eea8(0x191)],vt=(_0xb8af3d,_0x4b5720,_0x21d32f,_0x1fb2e8)=>{const _0x5f5481=_0x75eea8;for(var _0x3d56ce=_0x1fb2e8>0x1?void 0x0:_0x1fb2e8?It(_0x4b5720,_0x21d32f):_0x4b5720,_0x4c801c=_0xb8af3d[_0x5f5481(0x31b)]-0x1,_0x37a6a3;_0x4c801c>=0x0;_0x4c801c--)(_0x37a6a3=_0xb8af3d[_0x4c801c])&&(_0x3d56ce=_0x37a6a3(_0x3d56ce)||_0x3d56ce);return _0x3d56ce;},W=(_0x27bddd,_0x284ec5)=>(_0x48776a,_0x22b19b)=>_0x284ec5(_0x48776a,_0x22b19b,_0x27bddd);let Ie=class extends a[_0x75eea8(0x1b5)]{constructor(_0x3c0d38,_0x21a776,_0x3f3a95,_0x84394,_0xb8f249){const _0x2db468=_0x75eea8;super(),h(this,_0x2db468(0x2d0),[]),h(this,_0x2db468(0x23e),[]),(this['_context']=_0x3c0d38,this[_0x2db468(0x3cb)]=_0x21a776,this['_collabCursorController']=_0x3f3a95,this[_0x2db468(0x209)]=_0x84394,this['_themeService']=_0xb8f249,this[_0x2db468(0x26f)]());}['_init'](){const _0x4e68c8=_0x75eea8,_0x21290b=this[_0x4e68c8(0x218)][_0x4e68c8(0x2ff)],_0x591d0d=this[_0x4e68c8(0x3cb)];this[_0x4e68c8(0x14c)](d[_0x4e68c8(0x16b)]([this[_0x4e68c8(0x379)][_0x4e68c8(0x3b3)](_0x21290b),this['_themeService']['currentTheme$']])[_0x4e68c8(0x262)]($['map'](([_0x36a6ac,_0x309090])=>({'skeleton':_0x591d0d[_0x4e68c8(0x3d1)](),'cursors':[..._0x36a6ac[_0x4e68c8(0x329)]()][_0x4e68c8(0x19c)](_0x30d021=>({..._0x30d021,'color':this[_0x4e68c8(0x1e7)][_0x4e68c8(0x30a)](_0x30d021['color'])}))})))[_0x4e68c8(0x37e)](_0xee56ee=>{const _0x3a8a3d=_0x4e68c8;if(this['_removeCollabCursors'](),_0xee56ee){const {skeleton:_0x14db80,cursors:_0x172892}=_0xee56ee;this[_0x3a8a3d(0x29d)](_0x14db80,_0x172892);}})),this[_0x4e68c8(0x26e)](),this['_initCommandExecutedListener']();}[_0x75eea8(0x29d)](_0x44e61d,_0x1bf958){const _0x8ec79e=_0x75eea8,{scene:_0x392b10,mainComponent:_0x1dd36e}=this[_0x8ec79e(0x218)],_0x25ed5f=_0x1bf958[_0x8ec79e(0x2fe)](_0x448c7f=>new De(_0x448c7f,_0x392b10,_0x44e61d,_0x1dd36e));this['_cursorShapes']=_0x25ed5f,this['_cursors']=_0x1bf958;}[_0x75eea8(0x3aa)](){const _0x5c139b=_0x75eea8;this['_removeCollabCursors']();const {scene:_0x1b7920,mainComponent:_0x463084}=this[_0x5c139b(0x218)],_0x1f58dd=this[_0x5c139b(0x3cb)][_0x5c139b(0x3d1)](),_0x2e6a7f=this['_cursors'][_0x5c139b(0x2fe)](_0x3c00de=>new De(_0x3c00de,_0x1b7920,_0x1f58dd,_0x463084));this['_cursorShapes']=_0x2e6a7f;}[_0x75eea8(0x22c)](){const _0xc69e9e=_0x75eea8;this[_0xc69e9e(0x2d0)][_0xc69e9e(0x33e)](_0x411bea=>_0x411bea[_0xc69e9e(0x362)]()),this[_0xc69e9e(0x2d0)]=[];}[_0x75eea8(0x297)](){const _0x3b0331=_0x75eea8,_0x17a25a=[b[_0x3b0331(0x17e)]['id']];this[_0x3b0331(0x14c)](this[_0x3b0331(0x209)][_0x3b0331(0x35c)](_0x28cac0=>{const _0x4f9508=_0x3b0331;_0x17a25a['includes'](_0x28cac0['id'])&&_0x28cac0[_0x4f9508(0x300)][_0x4f9508(0x2ff)]===this['_context'][_0x4f9508(0x2ff)]&&this[_0x4f9508(0x3aa)]();}));}['_initResize'](){const _0x2e1b44=_0x75eea8;this[_0x2e1b44(0x14c)](a['fromEventSubject'](this[_0x2e1b44(0x218)][_0x2e1b44(0x1a3)][_0x2e1b44(0x1fb)])['pipe']($[_0x2e1b44(0x1a8)](_0x368696=>_0x368696['type']===p[_0x2e1b44(0x2d5)]['resize']),$['throttleTime'](0x10))[_0x2e1b44(0x37e)](()=>{const _0x38fd2c=_0x2e1b44;this[_0x38fd2c(0x3aa)]();}));}};Ie=vt([W(0x1,a[_0x75eea8(0x1a0)](Y[_0x75eea8(0x2ab)])),W(0x2,a['Inject'](x)),W(0x3,a['ICommandService']),W(0x4,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x3a0)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p['Shape']{constructor(_0x55fafc,_0x2adbf9){const _0x64d41=_0x75eea8;super(_0x55fafc,_0x2adbf9),h(this,'_color'),h(this,'_hovered',!0x1),h(this,'_range'),h(this,_0x64d41(0x1e9),''),h(this,_0x64d41(0x22e),_0x64d41(0x1b6)),h(this,_0x64d41(0x34d)),(_0x2adbf9&&this['setShapeProps'](_0x2adbf9),this[_0x64d41(0x36a)][_0x64d41(0x32a)](()=>this[_0x64d41(0x24c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x64d41(0x32a)](()=>this[_0x64d41(0x24c)]({'hovered':!0x1})));}['setShapeProps'](_0xbb6ca2){const _0x4d1fc6=_0x75eea8;var _0x463c37,_0x4f7d0e,_0x23929a,_0x5b2229,_0x5d72d0,_0x3f9ca6;this[_0x4d1fc6(0x1b7)]=(_0x463c37=_0xbb6ca2[_0x4d1fc6(0x228)])!=null?_0x463c37:this[_0x4d1fc6(0x1b7)],this[_0x4d1fc6(0x3b8)]=(_0x4f7d0e=_0xbb6ca2[_0x4d1fc6(0x399)])!=null?_0x4f7d0e:this[_0x4d1fc6(0x3b8)],this[_0x4d1fc6(0x2a2)]=(_0x23929a=_0xbb6ca2['range'])!=null?_0x23929a:this[_0x4d1fc6(0x2a2)],this['_name']=(_0x5b2229=_0xbb6ca2[_0x4d1fc6(0x387)])!=null?_0x5b2229:this['_name'],this[_0x4d1fc6(0x22e)]=(_0x5d72d0=_0xbb6ca2[_0x4d1fc6(0x18e)])!=null?_0x5d72d0:this[_0x4d1fc6(0x22e)],this['_backgroundColor']=(_0x3f9ca6=_0xbb6ca2[_0x4d1fc6(0x20a)])!=null?_0x3f9ca6:this['_backgroundColor'],this[_0x4d1fc6(0x2b7)]({'width':_0xbb6ca2[_0x4d1fc6(0x340)],'height':_0xbb6ca2[_0x4d1fc6(0x378)]});}['onMouseMove'](_0x594b65){const _0x1d9f4b=_0x75eea8,{row:_0x423580,column:_0x485936}=_0x594b65;if(_0x423580>=this['_range'][_0x1d9f4b(0x303)]&&_0x423580<=this[_0x1d9f4b(0x2a2)][_0x1d9f4b(0x2c6)]&&_0x485936>=this['_range']['startColumn']&&_0x485936<=this[_0x1d9f4b(0x2a2)][_0x1d9f4b(0x1a9)]){this[_0x1d9f4b(0x24c)]({'hovered':!0x0});return;}this[_0x1d9f4b(0x24c)]({'hovered':!0x1});}[_0x75eea8(0x195)](_0x2e9fd3){return!0x1;}[_0x75eea8(0x32e)](_0x365a3f){const _0x5952d3=_0x75eea8;p[_0x5952d3(0x306)][_0x5952d3(0x15b)](_0x365a3f,{'width':this[_0x5952d3(0x340)],'height':this[_0x5952d3(0x378)],'strokeWidth':mt,'stroke':this[_0x5952d3(0x1b7)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x365a3f[_0x5952d3(0x368)](),_0x365a3f[_0x5952d3(0x176)](0x1,0x0,0x0,0x1,this[_0x5952d3(0x340)],this[_0x5952d3(0x22e)]===_0x5952d3(0x253)?0x0:-0x14),ee[_0x5952d3(0x15b)](_0x365a3f,{'text':this[_0x5952d3(0x1e9)],'color':this[_0x5952d3(0x1b7)]}),_0x365a3f[_0x5952d3(0x393)]());}}var Ct=Object[_0x75eea8(0x191)],pt=(_0x4747fa,_0x58ef59,_0x4541c4,_0x1a4d14)=>{const _0x5a2aa7=_0x75eea8;for(var _0x52bb0a=_0x1a4d14>0x1?void 0x0:_0x1a4d14?Ct(_0x58ef59,_0x4541c4):_0x58ef59,_0x39dfc9=_0x4747fa[_0x5a2aa7(0x31b)]-0x1,_0x4d2ed4;_0x39dfc9>=0x0;_0x39dfc9--)(_0x4d2ed4=_0x4747fa[_0x39dfc9])&&(_0x52bb0a=_0x4d2ed4(_0x52bb0a)||_0x52bb0a);return _0x52bb0a;},ae=(_0x256094,_0x21c10e)=>(_0x2efba7,_0x3aa7a5)=>_0x21c10e(_0x2efba7,_0x3aa7a5,_0x256094);const bt=0x1389;let ve=class extends a[_0x75eea8(0x1b5)]{constructor(_0x4a4dbd,_0x2b6aac,_0x4151fb,_0x4cc4cf){const _0x33b6e6=_0x75eea8;super(),h(this,_0x33b6e6(0x23e),new Set()),h(this,_0x33b6e6(0x1e5),null),(this[_0x33b6e6(0x218)]=_0x4a4dbd,this[_0x33b6e6(0x2d2)]=_0x2b6aac,this[_0x33b6e6(0x379)]=_0x4151fb,this[_0x33b6e6(0x1e7)]=_0x4cc4cf,this[_0x33b6e6(0x26f)]());}['_init'](){const _0x40e1a6=_0x75eea8;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x40e1a6(0x262)]($[_0x40e1a6(0x299)](this[_0x40e1a6(0x183)]),$[_0x40e1a6(0x1db)](_0x342c22=>{const _0x347ea9=_0x40e1a6;if(_0x342c22){const _0x35924c=_0x342c22[_0x347ea9(0x2be)];return d[_0x347ea9(0x16b)](this['_collabCursorController'][_0x347ea9(0x3b3)](this[_0x347ea9(0x218)]['unitId']),this['_themeService'][_0x347ea9(0x15c)])[_0x347ea9(0x262)]($[_0x347ea9(0x2fe)](([_0xe20a,_0x9969d0])=>{const _0xe4d6cf=_0x347ea9,_0x415fdb=new Map();return _0xe20a[_0xe4d6cf(0x33e)]((_0x24ef27,_0x549ec4)=>{const _0x32ddb4=_0xe4d6cf;if(_0x24ef27[_0x32ddb4(0x1bc)]===_0x35924c){const _0x5338b1={..._0x24ef27};_0x5338b1['color']=this['_themeService'][_0x32ddb4(0x30a)](_0x24ef27[_0x32ddb4(0x228)]),_0x415fdb[_0x32ddb4(0x3be)](_0x549ec4,_0x5338b1);}}),{'skeleton':_0x342c22,'cursors':_0x415fdb};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e1a6(0x37e)](({skeleton:_0x4e7c53,cursors:_0x3b0e0e})=>{const _0x3c86ad=_0x40e1a6;this[_0x3c86ad(0x22c)](),_0x4e7c53&&this['_updateCollabCursors'](_0x4e7c53,_0x3b0e0e);}),this[_0x40e1a6(0x2d2)][_0x40e1a6(0x1c6)]['subscribe'](_0x53116b=>{const _0x2174b9=_0x40e1a6;if(_0x53116b==null)return;const {skeleton:_0x16a118}=_0x53116b,{scene:_0x4f2e2c}=this[_0x2174b9(0x218)];_0x4f2e2c[_0x2174b9(0x35a)][_0x2174b9(0x32a)](a[_0x2174b9(0x24b)](_0x5ba8d9=>{const _0x4b6a42=_0x2174b9;var _0x3e3ae8,_0x5f5bf3;const {offsetX:_0x262b59,offsetY:_0xb77ce3}=_0x5ba8d9,{x:_0x4087e2,y:_0x13cd22}=_0x4f2e2c[_0x4b6a42(0x271)](p[_0x4b6a42(0x2ae)][_0x4b6a42(0x1ad)]([_0x262b59,_0xb77ce3])),{scaleX:_0x2689dd,scaleY:_0x30cd2e}=_0x4f2e2c[_0x4b6a42(0x260)](),_0x4f1695=_0x4f2e2c['getViewport'](p[_0x4b6a42(0x1bd)]['VIEW_MAIN']),_0x27b403=_0x4f2e2c[_0x4b6a42(0x1b0)](p[_0x4b6a42(0x2ae)][_0x4b6a42(0x1ad)]([_0x4087e2,_0x13cd22]),_0x4f1695),_0x33fde0=_0x16a118[_0x4b6a42(0x2fd)](_0x262b59,_0xb77ce3,_0x2689dd,_0x30cd2e,_0x27b403);((_0x3e3ae8=this['_lastPointer'])==null?void 0x0:_0x3e3ae8[_0x4b6a42(0x19d)])===_0x33fde0[_0x4b6a42(0x19d)]&&((_0x5f5bf3=this['_lastPointer'])==null?void 0x0:_0x5f5bf3[_0x4b6a42(0x157)])===_0x33fde0[_0x4b6a42(0x157)]||this['_cursors'][_0x4b6a42(0x33e)](_0x1a87f1=>{const _0x14b509=_0x4b6a42;_0x1a87f1[_0x14b509(0x3d3)](_0x33fde0);});},0x64));});}[_0x75eea8(0x29d)](_0x164b93,_0x342434){const _0x36d843=_0x75eea8;var _0x53501f;const _0x29b4c3=(_0x53501f=this[_0x36d843(0x2d2)][_0x36d843(0x330)]())==null?void 0x0:_0x53501f[_0x36d843(0x15f)];if(!_0x29b4c3)return;const _0x1ef6cc=this[_0x36d843(0x18b)]();if(!_0x1ef6cc)return;this[_0x36d843(0x23e)][_0x36d843(0x33e)](_0x4496d3=>{_0x4496d3['makeDirty']();});const {scene:_0x28daa2}=_0x1ef6cc,_0x201e31=Et(Array[_0x36d843(0x32d)](_0x342434[_0x36d843(0x329)]()))[_0x36d843(0x2fe)](_0x478554=>{const _0x2e0d6f=_0x36d843,{color:_0x56d0ac,range:_0x5bacb5,name:_0x13c5d6,selection:_0x47dc05,sheetID:_0x8fc5e8}=_0x478554,{startColumn:_0x5440ba,startRow:_0x3194ef,endColumn:_0x4bed1f,endRow:_0x554756}=_0x5bacb5,_0x75cc22=X[_0x2e0d6f(0x388)](_0x3194ef,_0x5440ba,_0x28daa2,_0x29b4c3),_0x54021a=X[_0x2e0d6f(0x388)](_0x554756,_0x4bed1f,_0x28daa2,_0x29b4c3),{columnHeaderHeightAndMarginTop:_0xcf80af}=_0x29b4c3,{startX:_0xe9ba71,startY:_0x1af7fe}=_0x75cc22,{endX:_0x4e24af,endY:_0x2016bd}=_0x54021a,_0xb3e9c4=_0x4e24af-_0xe9ba71,_0x341835=_0x2016bd-_0x1af7fe,_0x5892b3={'labelPosition':_0x1af7fe-_0xcf80af>=K?'top':_0x2e0d6f(0x253),'sheetID':_0x8fc5e8,'range':_0x5bacb5,'color':_0x56d0ac,'name':_0x13c5d6,'selection':_0x47dc05,'left':_0xe9ba71,'top':_0x1af7fe,'width':_0xb3e9c4,'height':_0x341835,'evented':!0x1,'zIndex':bt};return new Ae(_0x13c5d6,_0x5892b3);});_0x28daa2[_0x36d843(0x1d7)](_0x201e31,gt),this[_0x36d843(0x23e)]=new Set(_0x201e31);}[_0x75eea8(0x22c)](){const _0x527df2=_0x75eea8;var _0x1a4886;(_0x1a4886=this[_0x527df2(0x23e)])==null||_0x1a4886['forEach'](_0x80ad82=>_0x80ad82['dispose']());}[_0x75eea8(0x18b)](){const _0x3e99b2=_0x75eea8;return X[_0x3e99b2(0x14d)](this[_0x3e99b2(0x218)][_0x3e99b2(0x274)],this['_context']);}};ve=pt([ae(0x1,a[_0x75eea8(0x1a0)](X[_0x75eea8(0x23b)])),ae(0x2,a[_0x75eea8(0x1a0)](x)),ae(0x3,a['Inject'](a[_0x75eea8(0x3a0)]))],ve);function Et(_0x3bf43c){const _0x1ddb47=_0x75eea8,_0x4d6d8c=new Map();return _0x3bf43c['forEach'](_0x4c63ff=>{const _0x2ac8ec=_0x48ab;if(_0x4d6d8c[_0x2ac8ec(0x1a1)](_0x4c63ff[_0x2ac8ec(0x2d1)])){const _0x2bde0b=_0x4d6d8c['get'](_0x4c63ff[_0x2ac8ec(0x2d1)]);_0x2bde0b[_0x2ac8ec(0x387)]+=',\x20'+_0x4c63ff[_0x2ac8ec(0x387)];}else _0x4d6d8c[_0x2ac8ec(0x3be)](_0x4c63ff[_0x2ac8ec(0x2d1)],_0x4c63ff);}),Array[_0x1ddb47(0x32d)](_0x4d6d8c['values']());}var E=function(){const _0x109b57=_0x75eea8;return E=Object[_0x109b57(0x219)]||function(_0x3e57df){const _0x150395=_0x109b57;for(var _0x4278ab,_0x59a587=0x1,_0x1c656c=arguments[_0x150395(0x31b)];_0x59a587<_0x1c656c;_0x59a587++){_0x4278ab=arguments[_0x59a587];for(var _0x2ab455 in _0x4278ab)Object[_0x150395(0x193)][_0x150395(0x36e)][_0x150395(0x16e)](_0x4278ab,_0x2ab455)&&(_0x3e57df[_0x2ab455]=_0x4278ab[_0x2ab455]);}return _0x3e57df;},E[_0x109b57(0x168)](this,arguments);},Tt=function(_0x2ca47f,_0x26582e){const _0x167ca6=_0x75eea8;var _0x103a2e={};for(var _0x9255f0 in _0x2ca47f)Object[_0x167ca6(0x193)][_0x167ca6(0x36e)][_0x167ca6(0x16e)](_0x2ca47f,_0x9255f0)&&_0x26582e[_0x167ca6(0x2ee)](_0x9255f0)<0x0&&(_0x103a2e[_0x9255f0]=_0x2ca47f[_0x9255f0]);if(_0x2ca47f!=null&&typeof Object[_0x167ca6(0x39c)]==_0x167ca6(0x333)){for(var _0x5b1e52=0x0,_0x9255f0=Object[_0x167ca6(0x39c)](_0x2ca47f);_0x5b1e52<_0x9255f0[_0x167ca6(0x31b)];_0x5b1e52++)_0x26582e['indexOf'](_0x9255f0[_0x5b1e52])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x167ca6(0x16e)](_0x2ca47f,_0x9255f0[_0x5b1e52])&&(_0x103a2e[_0x9255f0[_0x5b1e52]]=_0x2ca47f[_0x9255f0[_0x5b1e52]]);}return _0x103a2e;},pe=M[_0x75eea8(0x3c2)](function(_0xfa1f9d,_0x1378b6){const _0x3f1ad3=_0x75eea8;var _0x53ba11=_0xfa1f9d['icon'],_0x13c82c=_0xfa1f9d['id'],_0x1769bf=_0xfa1f9d[_0x3f1ad3(0x3a5)],_0x149e0d=_0xfa1f9d[_0x3f1ad3(0x3a3)],_0x35e379=Tt(_0xfa1f9d,[_0x3f1ad3(0x282),'id',_0x3f1ad3(0x3a5),_0x3f1ad3(0x3a3)]),_0xd6f31=_0x3f1ad3(0x339)[_0x3f1ad3(0x1cb)](_0x13c82c,'\x20')[_0x3f1ad3(0x1cb)](_0x1769bf||'')[_0x3f1ad3(0x164)](),_0x4eb78e=M[_0x3f1ad3(0x3d6)]('_'['concat'](Dt()));return we(_0x53ba11,''[_0x3f1ad3(0x1cb)](_0x13c82c),{'defIds':_0x53ba11[_0x3f1ad3(0x2c3)],'idSuffix':_0x4eb78e[_0x3f1ad3(0x2d9)]},E({'ref':_0x1378b6,'className':_0xd6f31},_0x35e379),_0x149e0d);});function we(_0x5708ff,_0x3d47e6,_0x3ba5dd,_0x268fcf,_0x3754fa){const _0x33a2db=_0x75eea8;return M[_0x33a2db(0x2b0)](_0x5708ff[_0x33a2db(0x298)],E(E({'key':_0x3d47e6},Ot(_0x5708ff,_0x3ba5dd,_0x3754fa)),_0x268fcf),(Rt(_0x5708ff,_0x3ba5dd)['children']||[])[_0x33a2db(0x2fe)](function(_0x4d2fb6,_0x493ca2){const _0x426280=_0x33a2db;return we(_0x4d2fb6,''[_0x426280(0x1cb)](_0x3d47e6,'-')[_0x426280(0x1cb)](_0x5708ff['tag'],'-')[_0x426280(0x1cb)](_0x493ca2),_0x3ba5dd,void 0x0,_0x3754fa);}));}function Ot(_0x299453,_0x16b518,_0x47ca71){const _0x4df8db=_0x75eea8;var _0x5554aa=E({},_0x299453[_0x4df8db(0x1e6)]);_0x47ca71!=null&&_0x47ca71['colorChannel1']&&_0x5554aa['fill']===_0x4df8db(0x2a1)&&(_0x5554aa[_0x4df8db(0x33b)]=_0x47ca71[_0x4df8db(0x2a1)]),_0x299453[_0x4df8db(0x298)]==='mask'&&_0x5554aa['id']&&(_0x5554aa['id']=_0x5554aa['id']+_0x16b518[_0x4df8db(0x2ca)]),Object[_0x4df8db(0x320)](_0x5554aa)['forEach'](function(_0x5a90ef){const _0x33883f=_0x4df8db;var _0x3594a8=_0x5a90ef[0x0],_0x277e5e=_0x5a90ef[0x1];_0x3594a8===_0x33883f(0x181)&&typeof _0x277e5e=='string'&&(_0x5554aa[_0x3594a8]=_0x277e5e[_0x33883f(0x346)](/url\(#(.*)\)/,_0x33883f(0x166)[_0x33883f(0x1cb)](_0x16b518[_0x33883f(0x2ca)],')')));});var _0x26cd73=_0x16b518[_0x4df8db(0x2c3)];return!_0x26cd73||_0x26cd73[_0x4df8db(0x31b)]===0x0||(_0x299453[_0x4df8db(0x298)]===_0x4df8db(0x15d)&&_0x5554aa[_0x4df8db(0x391)]&&(_0x5554aa[_0x4df8db(0x391)]=_0x5554aa['xlink:href']+_0x16b518[_0x4df8db(0x2ca)]),Object[_0x4df8db(0x320)](_0x5554aa)[_0x4df8db(0x33e)](function(_0x2ceea6){const _0x3afea5=_0x4df8db;var _0xf906eb=_0x2ceea6[0x0],_0x78d770=_0x2ceea6[0x1];typeof _0x78d770==_0x3afea5(0x1f2)&&(_0x5554aa[_0xf906eb]=_0x78d770[_0x3afea5(0x346)](/url\(#(.*)\)/,_0x3afea5(0x166)[_0x3afea5(0x1cb)](_0x16b518['idSuffix'],')')));})),_0x5554aa;}function Rt(_0x1a5ce0,_0x43b338){const _0x4bec80=_0x75eea8;var _0x1d069f,_0xade10e=_0x43b338[_0x4bec80(0x2c3)];return!_0xade10e||_0xade10e[_0x4bec80(0x31b)]===0x0?_0x1a5ce0:_0x1a5ce0[_0x4bec80(0x298)]===_0x4bec80(0x325)&&(!((_0x1d069f=_0x1a5ce0[_0x4bec80(0x2af)])===null||_0x1d069f===void 0x0)&&_0x1d069f[_0x4bec80(0x31b)])?E(E({},_0x1a5ce0),{'children':_0x1a5ce0[_0x4bec80(0x2af)][_0x4bec80(0x2fe)](function(_0x36da93){const _0x525eb9=_0x4bec80;return typeof _0x36da93[_0x525eb9(0x1e6)]['id']==_0x525eb9(0x1f2)&&_0xade10e&&_0xade10e['indexOf'](_0x36da93[_0x525eb9(0x1e6)]['id'])>-0x1?E(E({},_0x36da93),{'attrs':E(E({},_0x36da93[_0x525eb9(0x1e6)]),{'id':_0x36da93['attrs']['id']+_0x43b338['idSuffix']})}):_0x36da93;})}):_0x1a5ce0;}function Dt(){const _0x566c8a=_0x75eea8;return Math[_0x566c8a(0x272)]()['toString'](0x24)[_0x566c8a(0x1c4)](0x2,0x8);}pe[_0x75eea8(0x20c)]='UniverIcon';var Ut={'tag':_0x75eea8(0x3bb),'attrs':{'fill':_0x75eea8(0x2e1),'viewBox':_0x75eea8(0x30b),'width':'1em','height':_0x75eea8(0x194)},'children':[{'tag':'g','attrs':{'clipPath':_0x75eea8(0x1a7)},'children':[{'tag':_0x75eea8(0x34b),'attrs':{'stroke':_0x75eea8(0x17c),'d':_0x75eea8(0x289),'strokeLinecap':'round','strokeLinejoin':_0x75eea8(0x36b),'strokeWidth':1.2}}]},{'tag':_0x75eea8(0x325),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x75eea8(0x34b),'attrs':{'fill':_0x75eea8(0x15a),'d':_0x75eea8(0x196)}}]}]}],'defIds':[_0x75eea8(0x311)]},ye=M[_0x75eea8(0x3c2)](function(_0x1dfe5a,_0x4b1617){const _0x3c06d7=_0x75eea8;return M[_0x3c06d7(0x2b0)](pe,Object[_0x3c06d7(0x219)]({},_0x1dfe5a,{'id':_0x3c06d7(0x336),'ref':_0x4b1617,'icon':Ut}));});ye[_0x75eea8(0x20c)]=_0x75eea8(0x24e);var Nt={'tag':'svg','attrs':{'fill':_0x75eea8(0x2e1),'viewBox':_0x75eea8(0x2b4),'width':_0x75eea8(0x194),'height':_0x75eea8(0x194)},'children':[{'tag':'g','attrs':{'clipPath':_0x75eea8(0x1b8)},'children':[{'tag':_0x75eea8(0x34b),'attrs':{'stroke':_0x75eea8(0x17c),'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':_0x75eea8(0x36b),'strokeLinejoin':_0x75eea8(0x36b),'strokeWidth':1.2}}]},{'tag':_0x75eea8(0x325),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x75eea8(0x39a)},'children':[{'tag':_0x75eea8(0x34b),'attrs':{'fill':_0x75eea8(0x15a),'d':_0x75eea8(0x196),'transform':_0x75eea8(0x172)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x75eea8(0x3c2)](function(_0x55de88,_0x12f319){const _0x5ecc64=_0x75eea8;return M[_0x5ecc64(0x2b0)](pe,Object[_0x5ecc64(0x219)]({},_0x55de88,{'id':'on-line-single','ref':_0x12f319,'icon':Nt}));});$e['displayName']=_0x75eea8(0x24a);function Mt(_0x27f6e7){const _0x4b4a7e=_0x75eea8;switch(_0x27f6e7){case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x37a)]:return _0x4b4a7e(0x2d6);case u['CollaborationStatus'][_0x4b4a7e(0x152)]:return _0x4b4a7e(0x14b);case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x28d)]:return _0x4b4a7e(0x232);case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x295)]:return _0x4b4a7e(0x162);case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x28a)]:case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x375)]:return'collabStatus.syncing';case u[_0x4b4a7e(0x2b8)][_0x4b4a7e(0x2e9)]:case u[_0x4b4a7e(0x2b8)]['PENDING']:return _0x4b4a7e(0x395);}}function xe(_0x13f0d1){const _0x397bd3=_0x75eea8,{status$:_0x2b7037}=_0x13f0d1,_0x4965f7=T[_0x397bd3(0x257)](_0x2b7037,u['CollaborationStatus'][_0x397bd3(0x295)]),_0x1461dc=T['useDependency'](a[_0x397bd3(0x278)]),_0x5f5b7a=T[_0x397bd3(0x315)](u[_0x397bd3(0x227)]),_0x27cb0c=_0x4965f7!==u[_0x397bd3(0x2b8)]['OFFLINE'],_0x3c727d=_0x1461dc['t'](Mt(_0x4965f7)),_0x111ffa=_0x27cb0c?P[_0x397bd3(0x322)]($e,{}):P[_0x397bd3(0x322)](ye,{}),_0x2b77c4=M[_0x397bd3(0x39b)](()=>{const _0x545568=_0x397bd3;_0x27cb0c||_0x5f5b7a[_0x545568(0x3ae)]();},[_0x27cb0c,_0x5f5b7a]);function _0x4c51f6(){const _0x58cb7c=_0x397bd3;return P[_0x58cb7c(0x3a7)](_0x58cb7c(0x319),{'className':_0x58cb7c(0x17b),'onClick':_0x2b77c4,'children':[P[_0x58cb7c(0x322)]('div',{'className':D[_0x58cb7c(0x231)](_0x58cb7c(0x36f),{'univer-text-green-500':_0x27cb0c,'univer-text-red-500':!_0x27cb0c}),'children':_0x111ffa}),P['jsx'](_0x58cb7c(0x319),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3c727d})]});}return _0x27cb0c?_0x4c51f6():P[_0x397bd3(0x322)](D[_0x397bd3(0x291)],{'title':_0x1461dc['t'](_0x397bd3(0x165)),'children':_0x4c51f6()});}var Lt=Object[_0x75eea8(0x191)],Pt=(_0x298e28,_0x2010a9,_0x4be6d9,_0x36781b)=>{const _0x15191c=_0x75eea8;for(var _0x47e186=_0x36781b>0x1?void 0x0:_0x36781b?Lt(_0x2010a9,_0x4be6d9):_0x2010a9,_0x5dee0d=_0x298e28[_0x15191c(0x31b)]-0x1,_0x5e208e;_0x5dee0d>=0x0;_0x5dee0d--)(_0x5e208e=_0x298e28[_0x5dee0d])&&(_0x47e186=_0x5e208e(_0x47e186)||_0x47e186);return _0x47e186;},V=(_0x498407,_0x19ef0b)=>(_0x2fa8fc,_0x4ec494)=>_0x19ef0b(_0x2fa8fc,_0x4ec494,_0x498407);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x75eea8(0x21d)]{constructor(_0x53c221,_0x261392,_0x522c1c,_0x5c2139){const _0x543a2f=_0x75eea8;super(),h(this,'_status$',new d[(_0x543a2f(0x3d7))](u[_0x543a2f(0x2b8)]['NOT_COLLAB'])),(this[_0x543a2f(0x20f)]=_0x53c221,this[_0x543a2f(0x222)]=_0x261392,this['_collaborationController']=_0x522c1c,this[_0x543a2f(0x335)]=_0x5c2139,this[_0x543a2f(0x3b4)](),this[_0x543a2f(0x277)]());}['_initStatusListener'](){const _0x6e0807=_0x75eea8;this[_0x6e0807(0x14c)](this[_0x6e0807(0x20f)][_0x6e0807(0x2fc)][_0x6e0807(0x262)](d[_0x6e0807(0x1db)](()=>{const _0xfe965e=_0x6e0807,_0x16163a=this['_univerInstanceService'][_0xfe965e(0x202)]();return _0x16163a?this['_collaborationController'][_0xfe965e(0x376)](_0x16163a['getUnitId']()):d['of'](null);}),d[_0x6e0807(0x1db)](_0x135944=>_0x135944?_0x135944['status$']:d['of'](u['CollaborationStatus']['NOT_COLLAB'])))[_0x6e0807(0x37e)](_0x9f0545=>{const _0x49ca9d=_0x6e0807;this[_0x49ca9d(0x154)][_0x49ca9d(0x15e)](_0x9f0545);}));}[_0x75eea8(0x3b4)](){const _0x5ae7af=_0x75eea8;this[_0x5ae7af(0x14c)](this[_0x5ae7af(0x335)][_0x5ae7af(0x248)](T[_0x5ae7af(0x2f3)][_0x5ae7af(0x223)],()=>T[_0x5ae7af(0x203)](At({'status$':this[_0x5ae7af(0x154)][_0x5ae7af(0x1b4)]()}),this[_0x5ae7af(0x222)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),V(0x2,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x3db)])),V(0x3,T[_0x75eea8(0x1d4)])],exports[_0x75eea8(0x349)]);function At(_0x45b9ca){const {status$:_0x271b5f}=_0x45b9ca;return function(){const _0x907659=_0x48ab;return P[_0x907659(0x322)](xe,{'status$':_0x271b5f});};}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x40b83a,_0x1df771,_0x30c3ae,_0x4edc7f)=>{const _0x337a7f=_0x75eea8;for(var _0x2a4139=_0x4edc7f>0x1?void 0x0:_0x4edc7f?wt(_0x1df771,_0x30c3ae):_0x1df771,_0x29e1b5=_0x40b83a[_0x337a7f(0x31b)]-0x1,_0x4811ca;_0x29e1b5>=0x0;_0x29e1b5--)(_0x4811ca=_0x40b83a[_0x29e1b5])&&(_0x2a4139=_0x4811ca(_0x2a4139)||_0x2a4139);return _0x2a4139;},y=(_0x4c3508,_0x66b6e9)=>(_0x492266,_0x23ceda)=>_0x66b6e9(_0x492266,_0x23ceda,_0x4c3508);let q=class extends a[_0x75eea8(0x21d)]{constructor(_0x169fd6,_0x1ef048,_0x1d61e7,_0x5b4dc9,_0x222ed3,_0x540bc1){const _0x2a70b3=_0x75eea8;super(),this[_0x2a70b3(0x28c)]=_0x169fd6,this[_0x2a70b3(0x3b6)]=_0x1ef048,this[_0x2a70b3(0x318)]=_0x1d61e7,this[_0x2a70b3(0x1aa)]=_0x5b4dc9,this['_notificationService']=_0x222ed3,this['_localeService']=_0x540bc1,this[_0x2a70b3(0x32b)](),this['_initEvent']();}[_0x75eea8(0x32b)](){const _0x1fc7bf=_0x75eea8;this[_0x1fc7bf(0x14c)](this[_0x1fc7bf(0x28c)]['registerBeforeClose'](()=>{const _0x30d3c4=_0x1fc7bf;if(this[_0x30d3c4(0x3b6)][_0x30d3c4(0x3af)]['size'])return this['_localeService']['t'](_0x30d3c4(0x1a4));}));}['_initEvent'](){const _0x52c6d0=_0x75eea8;this[_0x52c6d0(0x14c)](this['_collaborationUIEventService'][_0x52c6d0(0x2bc)]['subscribe'](_0xfd15e3=>{const _0x4b97e3=_0x52c6d0;_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x17d)]&&this[_0x4b97e3(0x1aa)][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)][_0x4b97e3(0x30c)],'content':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x29c))}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x1be)]&&this[_0x4b97e3(0x1aa)][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)][_0x4b97e3(0x30c)],'content':this[_0x4b97e3(0x3da)]['t']('collaboration.closeRoom')}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x1dd)]&&this['_notificationService']['show']({'title':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x29a)),'content':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x19f)),'type':'error','duration':0x0}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x152)]&&this[_0x4b97e3(0x1aa)][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)][_0x4b97e3(0x1ef)],'content':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x275))+'('+_0xfd15e3['data']+')'}),_0xfd15e3['id']===u['CollaborationUIEventId'][_0x4b97e3(0x2c1)]&&this['_messageService'][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)]['Warning'],'content':this[_0x4b97e3(0x3da)]['t'](_0xfd15e3['data']||'')}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x1fc)]&&this['_messageService'][_0x4b97e3(0x186)]({'type':D['MessageType'][_0x4b97e3(0x30c)],'content':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x246))}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)][_0x4b97e3(0x27b)]&&this[_0x4b97e3(0x1aa)][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)][_0x4b97e3(0x1ef)],'content':this['_localeService']['t']('session.connection-failed')}),_0xfd15e3['id']===u[_0x4b97e3(0x37b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4b97e3(0x1aa)][_0x4b97e3(0x186)]({'type':D[_0x4b97e3(0x156)][_0x4b97e3(0x1ef)],'content':this[_0x4b97e3(0x3da)]['t'](_0x4b97e3(0x3cd))});}));}};function _0x307e(){const _0xd74e85=['AWAITING','m2Prime','_beforeCloseService','FETCH_MISS','DOC_RANGE_TYPE','_drawTextRange','DEFAULT_WS_SESSION_TICKET_URL','Tooltip','_docSkeleton','_docTransformIMECacheService','subunit','NOT_COLLAB','docStateChange$','_initCommandExecutedListener','tag','takeUntil','permission.title','YUUMI_URL_COL_OUT_OF_RANGE','collaboration.single-unit.warning','_updateCollabCursors','RevisionService','ILocalStorageService','_assignedColors','colorChannel1','_range','TEXT','then','IURLService','NOT_FOUND','_transformPreviousActiveRange','shareReplay','_getAnchorBounding','getCurrentRevOfUnit','DocSkeletonManagerService','IRemoteInstanceService','disposeUnit','Vector2','children','createElement','setParam','getStateCache','getRenderById','0\x200\x2017\x2016','send','_onCursorDelete','transformByState','CollaborationStatus','_textBubble','setTimeout','INotificationService','event$','CollaborationStatusDisplay','sheetId','_anchor','getActiveRange','JOIN_ROOM_FAILED','fromEvent','defIds','58317Jrcuhi','_onCursorUpdate','endRow','EffectRefRangId','UNIVER_SHEET','arc','idSuffix','IMessageService','memberID','_shapes','1429302kJdsZs','blue.400','_cursorShapes','selection','_sheetSkeletonManagerService','black','override','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabStatus.offline','IImageIoService','ILocalCacheService','current','Failed','doc.mutation.rich-text-editing','executeCommand','roomMembers','getUnitId','data','rxjs','none','ITransformService','WebSocketService','yellow.400','unload','roomMembers$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','transformRemoteChangeset','SYNCED','jiqing.500','handleIRemoveCol','isArray','lineTo','indexOf','registerRefRange','getRangePointData','HTTPService','UNIVER_DOC','BuiltInUIPart','_scheduleHeartbeat','_updateLocalCursor','DocCollaborationEntity','MUTATION','handleInsertRow','origin','_entityInit$','popstate','focused$','getCellPositionByOffset','map','unitId','params','merge','NodePositionConvertToRectRange','startRow','@univerjs/engine-render','getActiveSheet','Rect','unitID','COLORS','addClipboardHook','getColorFromTheme','0\x200\x2016\x2016','Warning','UnitStatus','clearInterval','getMergeData','updateOfflineData','off-line-single_clip0_910_343','YUUMI_NO_CUBOID_FOR_QUESTION','WebURLService','isActive','useDependency','getDocRanges','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','div','collab-text-anchor-','length','_docClipboardService','@univerjs/engine-formula','LICENSE_DISTRO_REJECTED','_docTransformSelectionsService','entries','ONLINE','jsx','_document','_scheduleSaving','defs','code','_online','_getScale','values','subscribeEvent','_setupBeforeClosingHandler','@univerjs-pro/collaboration','from','_draw','parse','getCurrent','onRendered','disableLocalCache','function','[CollaborationDataLoaderController]','_uiPartsService','off-line-single','INVALID_INVITE_CODE','_removeClearOtherTimer','univerjs-icon\x20univerjs-icon-','post','fill','fillText','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','forEach','measureText','width','min','getValue','SNAPSHOT_HAS_BEEN_REMOVED','_instanceService','_config','replace','SessionStatus','actions','DesktopCollaborationStatusDisplayController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','path','_handleEvent','_backgroundColor','_entities','MemberService','_anchorDot','getMemberID','_unitStatus','_cursor','_hover','USER_NOT_INVITED_CODE','mergeOverrideWithDependencies','CollaborationEvent','clearTimeout','DependentOn','onPointerMove$','_ensureSubject','onCommandExecuted','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','rxjs/operators','DocIMEInputManagerService','YUUMI_ALL_TABLES_IS_INVALID','_toggleOffline','dispose','Plugin','_createSocketURL','ENSURE_SNAPSHOT_EXECUTION','UNAUTHENTICATED','Injector','save','APPLY_PERMISSION_DENIED','onPointerEnter$','round','_transformUndoRedoStack','getParam','hasOwnProperty','univer-flex\x20univer-mr-2\x20univer-text-xl','_session','green.600','registerDependencies','@univerjs/design','Module','AWAITING_WITH_PENDING','getCollabEntity$','LOGIN_FAILED','height','_collabCursorController','OFFLINE','CollaborationUIEventId','Unknown\x20user','Rectangle','subscribe','NO_OTHER_CLIENTS_EDITING','textRanges','InsertRangeMoveRightCommandId','ICommandService','_cachedData','IUniverInstanceService','isEditing','transformMutationsWithChangeset','name','getCoordByCell','@univerjs/sheets','_memberService','CollaborationDataLoaderController','ISnapshotServerService','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','setAlpha','EMAIL_HAS_BEEN_BOUND','xlink:href','_handleHover','restore','runRefRangeMutations','collabStatus.synced','Optional','WebBrowserSingleActiveUnitService','createInstance','hovered','on-line-single_clip0_910_349','useCallback','getOwnPropertySymbols','setActiveRange','init','red.300','ThemeService','searchParams','getUndoRedoMutationParamsCache','extend','onLocalMutation','className','getTypeOfUnitDisposed$','jsxs','collabCursorState$','_collaborationController','_refreshCollabCursors','collab-rect-range-','push','search','reconnect','saveTaskMap','_startDocCollabCursor','RECT','storage','getCollabCursors$','_initStatusComponent','LICENSE_MAX_UNITS_EXCEEDED','_localCacheService','_renderManagerService','_hovered','setInterval','beginPath','svg','transformIMECache','_selfUnitIDs','set','RemoveColCommandId','newValue','_getSessionTicket','forwardRef','transformStateCache','rgba(255,\x20255,\x20255,\x200.01)','IRenderManagerService','toRgbString','registerRenderModule','key','WECHAT_HAS_BEEN_BOUND','size','_docSkeletonManagerService','INVITE_CODE_REQUIRED','session.collaboration-timeout','_scheduleClearOtherTimer','_colorIndex','CHANGESET_REVISION_CONFILICT','getSkeleton','_syncEditingCollabCursorService','onMouseMove','_docSyncEditingCollabCursorService','getUnhiddenWorksheets','useRef','BehaviorSubject','location','handleInsertRangeMoveRight','_localeService','CollaborationController','InsertRowCommandId','Tools','unsubscribe','_unitOnClients','InsertRangeMoveDownCommandId','UNRECOGNIZED','INVITE_CODE_ALREADY_BOUND','collabStatus.conflict','disposeWithMe','getSheetObject','undoState','TEXT_RANGE_LAYER_INDEX','toDisposable','ColorKit','CONFLICT','add','_status$','_onRefRangeChange','MessageType','row','_updateSubUnitFromURLParams','_registerDependencies','#fff','drawWith','currentTheme$','use','next','skeleton','_imageIoService','eventID','collabStatus.notCollab','error','trim','collab-client.tooltip.reconnect','url(#$1','_saveTaskMap','apply','APPLY_REJECT','ranges','combineLatest','RemoveRowCommandId','serializeRangeWithSheet','call','@univerjs/ui','_initDependencies','exhaustSavingTask','translate(.97)','deepClone','debounceTime','_getMergeRange','transform','purple.300','entityInit$','@univerjs/core','_handleLeaveEvent','univer-flex\x20univer-items-center','currentColor','OTHER_CLIENT_EDITING','SetDocZoomRatioOperation','transformMutation','SheetCollabCursorShape','mask','_docStateChangeManagerService','dispose$','_clearOtherTimers','LICENSE_EXPORT_SIZE_EXCEEDED','show','loadUnit','ALREADY_EXISTS','enableLocalCache','_revisionService','_getSheetObject','MOBILE_HAS_BEEN_BOUND','4wgDXgT','labelPosition','handleInsertCol','debug','getOwnPropertyDescriptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','prototype','1em','triggerDblclick','M0\x200H16V16H0z','INVITE_CODE_HAS_BEEN_UES','_localStorageService','NodePositionConvertToCursor','LOCAL_CACHE_INTERVAL_KEY','_docTransformStateCacheService','flatMap','column','RegularPolygon','permission.content','Inject','has','RefRangeService','engine','collaboration-client.offline-data-not-saved','moveTo','_handleJoinEvent','url(#off-line-single_clip0_910_343)','filter','endColumn','_messageService','IBeforeCloseService','addHandlerCallback','FromArray','hide','handleInsertRangeMoveDown','getVpScrollXYInfoByPosToVp','CollaborationUIEventService','cursorInfo$','UniverCollaborationClientUIPlugin','asObservable','RxDisposable','top','_color','url(#on-line-single_clip0_910_349)','2TkDFRZ','source','YUUMI_AI_RUN_FAILED','sheetID','SHEET_VIEWPORT_KEY','CLOSE_ROOM','assignAColorForMemberID','_send','SetWorksheetActivateCommand','split','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','substring','_httpService','currentSkeleton$','1113258sCQtQg','SetSelectionsOperation','replaceDocRanges','2791715OYSeey','concat','toString','cursorInfo','_id','getLocalCacheKey','getSheetBySheetId','get','runId','href','IUIPartsService','addObject','loadOfflineData','addObjects','_drawRectRange','redoState','stringify','switchMap','UniverInstanceType','PERMISSION_DENIED','IDocClipboardService','_render','_cursorInfo$','saveOfflineData','_heartbeatTimer','DocStateChangeManagerService','runOnServer','_lastPointer','attrs','_themeService','@univerjs-pro/collaboration-client','_name','LICENSE_IMPORT_SIZE_EXCEEDED','generateRandomId','_drawAnchor','getConfig','@univerjs/docs','Error','_collabSessionService','CollaborationSocketService','string','OTHER_CLIENTS_EDITING','_toggleOnline','sessionStatus$','USERS_LEAVE','DataLoaderService','application/json','findNodePositionByCharIndex','selections','onTransformChange$','SOCKET_FAILED_RETRY','evenodd','getSheetId','DisposableCollection','max','unshift','getFocusedUnit','connectInjector','toStringTag','Workbook','touchDependencies','saveImage','_getSaveTimeout','_commandService','backgroundColor','_collabCursorState$','displayName','setUndoRedoMutationParamsCache','UniverCollaborationClientPlugin','_univerInstanceService','invokeId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','pushState','_transformService','handleMoveRange','_transformHistoryAndStateStack','history','INVALID_ARGUMENT','_context','assign','APPLY_REVISION_CONFILICT','getColor','@univerjs/network','Disposable','_doCreateSocket','TOO_MANY_REQUESTS','_initEntityListener','replaceState','_injector','HEADER_MENU','wsSessionTicketUrl','BrowserCollaborationSocketService','uni.network.url-service','CollaborationSessionService','color','_setupSubUnitSync','urlChange$','_colorAssignService','_removeCollabCursors','symbol','_labelPosition','_hideTimer','requireSession','clsx','collabStatus.fetchMiss','body','subUnitId','IConfigService','pluginName','SNAPSHOT_INVALID_SNAPSHOT','_handleHeartbeatEvent','complete','_updateURLWithCurrentState','SheetSkeletonManagerService','INTERNAL_ERROR','with','_cursors','@univerjs/rpc','_dataLoaderService','_eventUnsubscribe','ILogService','startsWith','onStarting','mutations','session.will-retry','_startSheetCollabCursor','registerComponent','all','OnLineSingle','debounce','setShapeProps','APPLY_DUPLICATED','OffLineSingle','[RemoteUniscriptService]:\x20no\x20focused\x20unit','imageSourceType','text','_configService','bottom','getMember','defineProperty','_urlService','useObservable','_logService','delete','UNDEFINED','COMPLETION_FINISHED','SheetsSelectionsService','fillStyle','_disabled','m1Prime','getAncestorScale','type','pipe','UPDATE_CURSOR','_roomMembers$','_refRangeService','_scene','...','RemoteUniscriptService','whenReady','_saveCache','deserializeRangeWithSheet','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','488229iGTkDu','_initResize','_init','executionId','getRelativeToViewportCoord','random','getUnitStatus$','unit','collaboration.closeRoom','some','_initStatusListener','LocaleService','6278776kODjDT','#FFF','SOCKET_FAILED','CONNECTOR_DATA_TOO_LARGE','transformSelections','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isTransformMutationFailure','syncEditingCollabCursor','getUniverSheetInstance','icon','ticket','4565349jAtZyu','MoveRangeCommandId','setItem','result','collab-text-range-','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747'];_0x307e=function(){return _0xd74e85;};return _0x307e();}q=yt([y(0x0,T[_0x75eea8(0x1ab)]),y(0x1,u[_0x75eea8(0x2d8)]),y(0x2,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x1b1)])),y(0x3,T['IMessageService']),y(0x4,T[_0x75eea8(0x2bb)]),y(0x5,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x278)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a['createIdentifier'](_0x75eea8(0x226));var xt=Object[_0x75eea8(0x191)],jt=(_0x472317,_0x59841c,_0x5d11d7,_0x57084a)=>{const _0x551bf9=_0x75eea8;for(var _0x572a60=_0x57084a>0x1?void 0x0:_0x57084a?xt(_0x59841c,_0x5d11d7):_0x59841c,_0x1165e9=_0x472317[_0x551bf9(0x31b)]-0x1,_0x2c4d49;_0x1165e9>=0x0;_0x1165e9--)(_0x2c4d49=_0x472317[_0x1165e9])&&(_0x572a60=_0x2c4d49(_0x572a60)||_0x572a60);return _0x572a60;},H=(_0x342736,_0x2fd4d5)=>(_0x3af4d1,_0x51fb26)=>_0x2fd4d5(_0x3af4d1,_0x51fb26,_0x342736);exports['CollaborationDataLoaderController']=class extends a[_0x75eea8(0x1b5)]{constructor(_0x3e5fb0,_0x50a4e0,_0x1b5d6a,_0x1c8865,_0x5257b1){const _0x352131=_0x75eea8;super(),this[_0x352131(0x256)]=_0x3e5fb0,this['_logService']=_0x50a4e0,this['_commandService']=_0x1b5d6a,this[_0x352131(0x240)]=_0x1c8865,_0x5257b1?_0x5257b1==null||_0x5257b1[_0x352131(0x269)]()[_0x352131(0x2a4)](()=>this[_0x352131(0x26f)]()):(this['_logService'][_0x352131(0x190)](_0x352131(0x334),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x352131(0x26f)]());}async[_0x75eea8(0x26f)](){const _0x5e2246=_0x75eea8,_0x53b2dd=this['_urlService']['getParam'](_0x5e2246(0x274)),_0x4bf3c6=this['_urlService'][_0x5e2246(0x36d)](_0x5e2246(0x261)),_0x112b81=this[_0x5e2246(0x256)][_0x5e2246(0x36d)](_0x5e2246(0x294));if(!_0x53b2dd||!_0x4bf3c6){this[_0x5e2246(0x258)]['debug'](_0x5e2246(0x334),_0x5e2246(0x35d));return;}const _0x199f88=await this[_0x5e2246(0x240)][_0x5e2246(0x187)](_0x53b2dd,Number(_0x4bf3c6),_0x112b81);_0x199f88&&_0x199f88 instanceof a[_0x5e2246(0x205)]&&this[_0x5e2246(0x229)](_0x199f88);}async[_0x75eea8(0x229)](_0x3443c3){const _0x28fc12=_0x75eea8;await this[_0x28fc12(0x158)](_0x3443c3),_0x3443c3['activeSheet$'][_0x28fc12(0x262)](d[_0x28fc12(0x299)](this['dispose$']))[_0x28fc12(0x37e)](_0x338ffe=>{const _0x24cd78=_0x28fc12;_0x338ffe&&this[_0x24cd78(0x23a)](_0x338ffe);}),this[_0x28fc12(0x256)][_0x28fc12(0x22a)]['pipe'](d[_0x28fc12(0x299)](this[_0x28fc12(0x183)]))['subscribe'](()=>this[_0x28fc12(0x158)](_0x3443c3));}[_0x75eea8(0x23a)](_0x15d505,_0x456530=!0x1){const _0x231a4a=_0x75eea8,_0x43a400=this[_0x231a4a(0x256)]['getParam'](_0x231a4a(0x294));_0x15d505[_0x231a4a(0x1fe)]()!==_0x43a400&&this[_0x231a4a(0x256)][_0x231a4a(0x2b1)](_0x231a4a(0x294),_0x15d505['getSheetId'](),_0x456530);}async[_0x75eea8(0x158)](_0x292ddf){const _0x4cace3=_0x75eea8;var _0x580365;const _0x5d7d5b=this[_0x4cace3(0x256)][_0x4cace3(0x36d)](_0x4cace3(0x294));if(!_0x5d7d5b||!_0x292ddf[_0x4cace3(0x1d0)](_0x5d7d5b)){const _0x3cfd75=_0x292ddf[_0x4cace3(0x3d5)]()[0x0],_0x4009b1=_0x292ddf['getSheetBySheetId'](_0x3cfd75);if(!_0x4009b1)return;this['_updateURLWithCurrentState'](_0x4009b1,!0x0),await this[_0x4cace3(0x209)][_0x4cace3(0x2dc)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x292ddf[_0x4cace3(0x2de)](),'subUnitId':_0x3cfd75});return;}((_0x580365=_0x292ddf[_0x4cace3(0x305)]())==null?void 0x0:_0x580365[_0x4cace3(0x1fe)]())!==_0x5d7d5b&&await this[_0x4cace3(0x209)][_0x4cace3(0x2dc)](g[_0x4cace3(0x1c1)]['id'],{'unitId':_0x292ddf['getUnitId'](),'subUnitId':_0x5d7d5b});}},exports[_0x75eea8(0x38b)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x75eea8(0x382)]),H(0x3,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x1f7)])),H(0x4,a[_0x75eea8(0x396)](Ke[_0x75eea8(0x2ac)]))],exports[_0x75eea8(0x38b)]);var Bt=Object[_0x75eea8(0x191)],kt=(_0xacd32f,_0x5dddce,_0x119410,_0x2f4a71)=>{const _0x14df29=_0x75eea8;for(var _0x2f2e6a=_0x2f4a71>0x1?void 0x0:_0x2f4a71?Bt(_0x5dddce,_0x119410):_0x5dddce,_0x688f27=_0xacd32f[_0x14df29(0x31b)]-0x1,_0x4d8b39;_0x688f27>=0x0;_0x688f27--)(_0x4d8b39=_0xacd32f[_0x688f27])&&(_0x2f2e6a=_0x4d8b39(_0x2f2e6a)||_0x2f2e6a);return _0x2f2e6a;},ce=(_0x29d543,_0x36c932)=>(_0x54fa3a,_0x4952a3)=>_0x36c932(_0x54fa3a,_0x4952a3,_0x29d543);let z=class{constructor(_0x3b9c35,_0x1c51f8,_0xb247c7){const _0x39b279=_0x75eea8;this[_0x39b279(0x222)]=_0x3b9c35,this[_0x39b279(0x213)]=_0x1c51f8,this[_0x39b279(0x3b7)]=_0xb247c7;}[_0x75eea8(0x3bc)](_0x20df8b){const _0x1c6e8b=_0x75eea8;this['_transformUndoRedoStack'](_0x20df8b),this[_0x1c6e8b(0x2a7)](_0x20df8b);}['transformRemoteChangeset'](_0xf63f0e){const _0x47d73d=_0x75eea8,{unitID:_0x4e58a1}=_0xf63f0e,_0x2fdd55=this[_0x47d73d(0x3b7)][_0x47d73d(0x2b3)](_0x4e58a1)[_0x47d73d(0x23d)](b[_0x47d73d(0x35f)]),{redoCache:_0x1c548e}=_0x2fdd55[_0x47d73d(0x3a2)]();if(_0x1c548e[_0x47d73d(0x31b)]===0x0)return _0xf63f0e;let _0x2ff67f=a['Tools']['deepClone'](_0xf63f0e[_0x47d73d(0x245)][0x0]);for(let _0x3266b4=0x0;_0x3266b4<_0x1c548e[_0x47d73d(0x31b)];_0x3266b4++){const _0x1a162d={'id':_0x47d73d(0x2db),'params':{..._0x1c548e[_0x3266b4]}},_0x505e4e=this[_0x47d73d(0x213)][_0x47d73d(0x17f)](_0x2ff67f,_0x1a162d,!0x1);if(m[_0x47d73d(0x27f)](_0x505e4e))throw _0x505e4e[_0x47d73d(0x163)];_0x2ff67f=_0x505e4e[_0x47d73d(0x25f)];}return{...a['Tools'][_0x47d73d(0x173)](_0xf63f0e),'mutations':[_0x2ff67f]};}[_0x75eea8(0x36c)](_0x3efa57){const _0x3706e4=_0x75eea8,{unitID:_0x5bf73c}=_0x3efa57,_0x309aa6=this[_0x3706e4(0x3b7)][_0x3706e4(0x2b3)](_0x5bf73c)[_0x3706e4(0x23d)](b[_0x3706e4(0x35f)]),{undoCache:_0x1f914f,redoCache:_0x28fc92}=_0x309aa6['getUndoRedoMutationParamsCache']();if(_0x1f914f['length']===0x0||_0x28fc92[_0x3706e4(0x31b)]===0x0)return;const _0x2d8433=[],_0x1877f9=[];let _0x177d29=a[_0x3706e4(0x3dd)]['deepClone'](_0x3efa57[_0x3706e4(0x245)][0x0]),_0x19bd9c=a[_0x3706e4(0x3dd)][_0x3706e4(0x173)](_0x3efa57[_0x3706e4(0x245)][0x0]);for(let _0x3977e3=_0x1f914f['length']-0x1;_0x3977e3>=0x0;_0x3977e3--){const _0x45638c={'id':_0x3706e4(0x2db),'params':{..._0x1f914f[_0x3977e3]}},_0xb5bb64={'id':'doc.mutation.rich-text-editing','params':{..._0x28fc92[_0x3977e3]}},_0x153238=this['_transformService'][_0x3706e4(0x17f)](_0x177d29,_0x45638c,!0x1),_0xecf087=this['_transformService']['transformMutation'](_0x19bd9c,_0xb5bb64,!0x1);if(m[_0x3706e4(0x27f)](_0x153238))throw _0x153238[_0x3706e4(0x163)];if(m['isTransformMutationFailure'](_0xecf087))throw _0xecf087[_0x3706e4(0x163)];_0x2d8433[_0x3706e4(0x201)](_0x153238['m2Prime'][_0x3706e4(0x300)]),_0x1877f9[_0x3706e4(0x201)](_0xecf087['m2Prime'][_0x3706e4(0x300)]),_0x177d29=_0x153238[_0x3706e4(0x25f)],_0x19bd9c=_0xecf087[_0x3706e4(0x25f)];}_0x309aa6[_0x3706e4(0x20d)]({'undoCache':_0x2d8433,'redoCache':_0x1877f9});}['_transformPreviousActiveRange'](_0x94dda6){const _0x55109d=_0x75eea8,{unitID:_0x2ffbac}=_0x94dda6,_0x90dd8c=this[_0x55109d(0x3b7)][_0x55109d(0x2b3)](_0x2ffbac)[_0x55109d(0x23d)](b['DocIMEInputManagerService']),_0x3f5603=_0x90dd8c[_0x55109d(0x2c0)]();if(_0x3f5603==null)return;const _0x52774a=[{'id':_0x55109d(0x2db),'params':{'unitId':_0x94dda6[_0x55109d(0x307)],'actions':null,'textRanges':[_0x3f5603]}}],_0x3270d3=this[_0x55109d(0x213)]['transformMutationsWithChangeset'](_0x94dda6,_0x52774a);if(!m['isTransformMutationsWithChangesetSuccess'](_0x3270d3))throw _0x3270d3[_0x55109d(0x163)];const _0x162cff=_0x3270d3['m2Prime'][0x0][_0x55109d(0x300)]['textRanges'];Array[_0x55109d(0x2ec)](_0x162cff)&&_0x162cff[_0x55109d(0x31b)]&&_0x90dd8c[_0x55109d(0x39d)](_0x162cff[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x75eea8(0x367)])),ce(0x1,m[_0x75eea8(0x2e2)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object[_0x75eea8(0x191)],Ft=(_0x2cea00,_0x255247,_0x19aa68,_0x2d5849)=>{for(var _0x2beaac=_0x2d5849>0x1?void 0x0:_0x2d5849?Ht(_0x255247,_0x19aa68):_0x255247,_0x479de4=_0x2cea00['length']-0x1,_0x24fa8c;_0x479de4>=0x0;_0x479de4--)(_0x24fa8c=_0x2cea00[_0x479de4])&&(_0x2beaac=_0x24fa8c(_0x2beaac)||_0x2beaac);return _0x2beaac;},le=(_0x3bef5a,_0x2273ec)=>(_0x3514f3,_0x1c4f53)=>_0x2273ec(_0x3514f3,_0x1c4f53,_0x3bef5a);let J=class{constructor(_0x3e4c4c,_0x222314,_0x3bbec5){const _0x41a2ce=_0x75eea8;this[_0x41a2ce(0x222)]=_0x3e4c4c,this[_0x41a2ce(0x213)]=_0x222314,this[_0x41a2ce(0x182)]=_0x3bbec5;}[_0x75eea8(0x3c3)](_0x4f4895){const _0x1b4ab3=_0x75eea8;this[_0x1b4ab3(0x215)](_0x4f4895);}[_0x75eea8(0x2e8)](_0x42c50f){const _0x3f52ef=_0x75eea8,{unitID:_0x4a1f47}=_0x42c50f,{collaboration:_0x46c927}=this[_0x3f52ef(0x182)][_0x3f52ef(0x2b2)](_0x4a1f47);if(_0x46c927['length']===0x0)return _0x42c50f;let _0x111ed3=a[_0x3f52ef(0x3dd)][_0x3f52ef(0x173)](_0x42c50f[_0x3f52ef(0x245)][0x0]);for(let _0x5b77d1=0x0;_0x5b77d1<_0x46c927['length'];_0x5b77d1++){const _0xb967f8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46c927[_0x5b77d1]['unitId'],..._0x46c927[_0x5b77d1][_0x3f52ef(0x1d9)]}},_0x13b7b3=this['_transformService'][_0x3f52ef(0x17f)](_0x111ed3,_0xb967f8,!0x1);if(m[_0x3f52ef(0x27f)](_0x13b7b3))throw _0x13b7b3[_0x3f52ef(0x163)];_0x111ed3=_0x13b7b3[_0x3f52ef(0x25f)];}return{...a[_0x3f52ef(0x3dd)][_0x3f52ef(0x173)](_0x42c50f),'mutations':[_0x111ed3]};}[_0x75eea8(0x215)](_0x51c5b5){const _0x8c8873=_0x75eea8,{unitID:_0x54fb80}=_0x51c5b5,{history:_0x1b198,collaboration:_0x4f83c6}=this[_0x8c8873(0x182)][_0x8c8873(0x2b2)](_0x54fb80);if(_0x1b198[_0x8c8873(0x31b)]===0x0&&_0x4f83c6['length']===0x0)return;const _0x32be8b=[],_0x1e73dd=[];let _0x3e93b8=a[_0x8c8873(0x3dd)][_0x8c8873(0x173)](_0x51c5b5[_0x8c8873(0x245)][0x0]),_0x32f33a=a['Tools']['deepClone'](_0x51c5b5[_0x8c8873(0x245)][0x0]);for(let _0x1a04e5=_0x1b198[_0x8c8873(0x31b)]-0x1;_0x1a04e5>=0x0;_0x1a04e5--){const _0x38563c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b198[_0x1a04e5]['unitId'],..._0x1b198[_0x1a04e5][_0x8c8873(0x14e)]}},_0x54e3f8={'id':_0x8c8873(0x2db),'params':{'unitId':_0x1b198[_0x1a04e5][_0x8c8873(0x2ff)],..._0x1b198[_0x1a04e5]['redoState']}},_0x26970a=this[_0x8c8873(0x213)][_0x8c8873(0x17f)](_0x3e93b8,_0x38563c,!0x1),_0x5494f1=this[_0x8c8873(0x213)][_0x8c8873(0x17f)](_0x32f33a,_0x54e3f8,!0x1);if(m[_0x8c8873(0x27f)](_0x26970a))throw _0x26970a[_0x8c8873(0x163)];if(m[_0x8c8873(0x27f)](_0x5494f1))throw _0x5494f1[_0x8c8873(0x163)];_0x32be8b[_0x8c8873(0x201)]({..._0x1b198[_0x1a04e5],'undoState':_0x26970a[_0x8c8873(0x28b)][_0x8c8873(0x300)],'redoState':_0x5494f1[_0x8c8873(0x28b)][_0x8c8873(0x300)]}),_0x3e93b8=_0x26970a[_0x8c8873(0x25f)],_0x32f33a=_0x5494f1[_0x8c8873(0x25f)];}_0x3e93b8=a[_0x8c8873(0x3dd)]['deepClone'](_0x51c5b5[_0x8c8873(0x245)][0x0]),_0x32f33a=a[_0x8c8873(0x3dd)]['deepClone'](_0x51c5b5[_0x8c8873(0x245)][0x0]);for(let _0x33d5e1=_0x4f83c6[_0x8c8873(0x31b)]-0x1;_0x33d5e1>=0x0;_0x33d5e1--){const _0x2337bb={'id':_0x8c8873(0x2db),'params':{'unitId':_0x4f83c6[_0x33d5e1]['unitId'],..._0x4f83c6[_0x33d5e1][_0x8c8873(0x14e)]}},_0x1c6298={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f83c6[_0x33d5e1][_0x8c8873(0x2ff)],..._0x4f83c6[_0x33d5e1]['redoState']}},_0x15b6d8=this[_0x8c8873(0x213)]['transformMutation'](_0x3e93b8,_0x2337bb,!0x1),_0x3aca1c=this[_0x8c8873(0x213)][_0x8c8873(0x17f)](_0x32f33a,_0x1c6298,!0x1);if(m['isTransformMutationFailure'](_0x15b6d8))throw _0x15b6d8['error'];if(m[_0x8c8873(0x27f)](_0x3aca1c))throw _0x3aca1c['error'];_0x1e73dd[_0x8c8873(0x201)]({..._0x4f83c6[_0x33d5e1],'undoState':_0x15b6d8[_0x8c8873(0x28b)][_0x8c8873(0x300)],'redoState':_0x3aca1c[_0x8c8873(0x28b)][_0x8c8873(0x300)]}),_0x3e93b8=_0x15b6d8['m1Prime'],_0x32f33a=_0x3aca1c[_0x8c8873(0x25f)];}this[_0x8c8873(0x182)]['setStateCache'](_0x54fb80,{'history':_0x32be8b,'collaboration':_0x1e73dd});}};J=Ft([le(0x0,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),le(0x1,m[_0x75eea8(0x2e2)]),le(0x2,a[_0x75eea8(0x1a0)](b['DocStateChangeManagerService']))],J);var Yt=Object[_0x75eea8(0x191)],Wt=(_0x146e10,_0x333df0,_0x37cb87,_0x4f2ceb)=>{const _0x218b38=_0x75eea8;for(var _0x3c622d=_0x4f2ceb>0x1?void 0x0:_0x4f2ceb?Yt(_0x333df0,_0x37cb87):_0x333df0,_0x2ab8a2=_0x146e10[_0x218b38(0x31b)]-0x1,_0x1af2e3;_0x2ab8a2>=0x0;_0x2ab8a2--)(_0x1af2e3=_0x146e10[_0x2ab8a2])&&(_0x3c622d=_0x1af2e3(_0x3c622d)||_0x3c622d);return _0x3c622d;},Ne=(_0x1964cd,_0x2ad717)=>(_0x3a9ccc,_0x1d70c8)=>_0x2ad717(_0x3a9ccc,_0x1d70c8,_0x1964cd);let Z=class{constructor(_0x52d7c8,_0x24967d){const _0x143edd=_0x75eea8;this[_0x143edd(0x222)]=_0x52d7c8,this['_transformService']=_0x24967d;}[_0x75eea8(0x27d)](_0x50f72a){const _0x64cd37=_0x75eea8;var _0x50b9a6;const _0x256a89=this[_0x64cd37(0x222)]['get'](Y['DocSelectionManagerService']),_0x52255f=(_0x50b9a6=_0x256a89[_0x64cd37(0x316)]())!=null?_0x50b9a6:[];if(_0x52255f[_0x64cd37(0x31b)]===0x0)return;const _0x5947a8=_0x50f72a[_0x64cd37(0x307)],_0xf45d06=[{'id':_0x64cd37(0x2db),'params':{'unitId':_0x5947a8,'actions':null,'textRanges':_0x52255f}}],_0x500e7=this[_0x64cd37(0x213)][_0x64cd37(0x386)](_0x50f72a,_0xf45d06);if(!m['isTransformMutationsWithChangesetSuccess'](_0x500e7))throw _0x500e7['error'];const _0x200625=_0x500e7[_0x64cd37(0x28b)][0x0][_0x64cd37(0x300)][_0x64cd37(0x380)];Array[_0x64cd37(0x2ec)](_0x200625)&&_0x200625[_0x64cd37(0x31b)]&&_0x256a89[_0x64cd37(0x1c9)](_0x200625,{'unitId':_0x5947a8,'subUnitId':_0x5947a8},!0x1);}};Z=Wt([Ne(0x0,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),Ne(0x1,m[_0x75eea8(0x2e2)])],Z);var Vt=Object[_0x75eea8(0x191)],Xt=(_0x3bc3d2,_0x3a43e0,_0x394e9f,_0x591a89)=>{const _0x34942f=_0x75eea8;for(var _0x2fd82d=_0x591a89>0x1?void 0x0:_0x591a89?Vt(_0x3a43e0,_0x394e9f):_0x3a43e0,_0x443a96=_0x3bc3d2[_0x34942f(0x31b)]-0x1,_0x3113f1;_0x443a96>=0x0;_0x443a96--)(_0x3113f1=_0x3bc3d2[_0x443a96])&&(_0x2fd82d=_0x3113f1(_0x2fd82d)||_0x2fd82d);return _0x2fd82d;},N=(_0x16bcfa,_0x8d8306)=>(_0x21986a,_0x17d074)=>_0x8d8306(_0x21986a,_0x17d074,_0x16bcfa);let Q=class extends a[_0x75eea8(0x21d)]{constructor(_0x3fcbbb,_0x76d709,_0x57cff9,_0x248409,_0x4f309f,_0x4d332d,_0x6946cc,_0x30a33f){const _0x409b57=_0x75eea8;super(),h(this,'_status$',new d[(_0x409b57(0x3d7))](u['CollaborationStatus']['NOT_COLLAB'])),(this[_0x409b57(0x182)]=_0x3fcbbb,this[_0x409b57(0x3a9)]=_0x76d709,this[_0x409b57(0x293)]=_0x57cff9,this[_0x409b57(0x19b)]=_0x248409,this[_0x409b57(0x31f)]=_0x4f309f,this[_0x409b57(0x3d4)]=_0x4d332d,this[_0x409b57(0x1aa)]=_0x6946cc,this[_0x409b57(0x3da)]=_0x30a33f,this[_0x409b57(0x220)]());}[_0x75eea8(0x220)](){const _0xf777ec=_0x75eea8;this[_0xf777ec(0x14c)](this[_0xf777ec(0x3a9)][_0xf777ec(0x178)]['subscribe'](_0x118ff0=>{const _0x4a47d1=_0xf777ec,_0xc3638e=this[_0x4a47d1(0x182)][_0x4a47d1(0x296)]['subscribe'](_0x25856c=>{const _0x10328a=_0x4a47d1;if(_0x25856c==null)return;const {unitId:_0x2adc0a,redoState:_0x102110,commandId:_0x3655b1}=_0x25856c;if(_0x2adc0a!==_0x118ff0[_0x10328a(0x307)])return;const _0x2cb030={'id':_0x3655b1,'type':a['CommandType'][_0x10328a(0x2f7)],'params':{'unitId':_0x2adc0a,'actions':_0x102110[_0x10328a(0x348)],'textRanges':null}};_0x118ff0[_0x10328a(0x3a4)](_0x2cb030);});if(_0x118ff0[_0x4a47d1(0x14c)](_0xc3638e),_0x118ff0 instanceof u[_0x4a47d1(0x2f6)]){const _0x2857ec={'onTransformIME':_0x3cac10=>this['_docTransformIMECacheService']['transformIMECache'](_0x3cac10),'onTransformState':_0x899d6f=>this[_0x4a47d1(0x19b)][_0x4a47d1(0x3c3)](_0x899d6f),'onTransformSelections':_0x21c527=>this['_docTransformSelectionsService'][_0x4a47d1(0x27d)](_0x21c527),'onSyncEditingCollabCursor':_0x173045=>this[_0x4a47d1(0x3d4)][_0x4a47d1(0x280)](_0x173045),'onTransformRemoteChangesetByIMECache':_0x46ed8f=>this[_0x4a47d1(0x293)]['transformRemoteChangeset'](_0x46ed8f),'onTransformRemoteChangesetByStateCache':_0x4906ac=>this[_0x4a47d1(0x19b)][_0x4a47d1(0x2e8)](_0x4906ac)};_0x118ff0[_0x4a47d1(0x1ac)](_0x2857ec);}}));}};Q=Xt([N(0x0,a[_0x75eea8(0x1a0)](b[_0x75eea8(0x1e3)])),N(0x1,a[_0x75eea8(0x1a0)](u[_0x75eea8(0x3db)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x75eea8(0x1a0)](J)),N(0x4,a[_0x75eea8(0x1a0)](Z)),N(0x5,a[_0x75eea8(0x1a0)](Ce)),N(0x6,T[_0x75eea8(0x2cb)]),N(0x7,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x278)]))],Q);var Gt=Object[_0x75eea8(0x191)],Kt=(_0x27cdf2,_0x5a2c41,_0x535228,_0x47f933)=>{const _0x2b79ed=_0x75eea8;for(var _0x775d42=_0x47f933>0x1?void 0x0:_0x47f933?Gt(_0x5a2c41,_0x535228):_0x5a2c41,_0x360222=_0x27cdf2[_0x2b79ed(0x31b)]-0x1,_0xb49c58;_0x360222>=0x0;_0x360222--)(_0xb49c58=_0x27cdf2[_0x360222])&&(_0x775d42=_0xb49c58(_0x775d42)||_0x775d42);return _0x775d42;},_e=(_0x355e25,_0x3bfbb0)=>(_0x3b3924,_0xf3e757)=>_0x3bfbb0(_0x3b3924,_0xf3e757,_0x355e25);let ge=class extends a[_0x75eea8(0x21d)]{constructor(_0xd13147,_0xdce494,_0x3d63c1){const _0x3190a2=_0x75eea8;super(),h(this,_0x3190a2(0x383),new Map()),h(this,'_saveTaskMap',new Map()),h(this,'_disabled',!0x1),(this[_0x3190a2(0x252)]=_0xd13147,this['_localStorageService']=_0xdce494,this[_0x3190a2(0x18a)]=_0x3d63c1);}[_0x75eea8(0x332)](){this['_disabled']=!0x0;}[_0x75eea8(0x189)](){const _0x1c6966=_0x75eea8;this[_0x1c6966(0x25e)]=!0x1;}get[_0x75eea8(0x3af)](){const _0x28f8f2=_0x75eea8;return this[_0x28f8f2(0x167)];}[_0x75eea8(0x362)](){const _0x5a36a7=_0x75eea8;this[_0x5a36a7(0x171)]()[_0x5a36a7(0x2a4)](()=>super[_0x5a36a7(0x362)]());}async[_0x75eea8(0x1d6)](_0x1b2ba7){const _0x243260=_0x75eea8;return this[_0x243260(0x25e)]?null:this[_0x243260(0x198)]['getItem'](u['getLocalCacheKey'](_0x1b2ba7));}async[_0x75eea8(0x1e1)](_0x453c89,_0x78e0c1){const _0x1255f1=_0x75eea8;return!!this[_0x1255f1(0x198)][_0x1255f1(0x286)](_0x453c89,_0x78e0c1);}[_0x75eea8(0x310)](_0x1c6a9f,_0x3be31d,_0x144946,_0x55dff6){const _0x423e36=_0x75eea8,_0x116ae0=this[_0x423e36(0x18a)][_0x423e36(0x2aa)](_0x1c6a9f);this[_0x423e36(0x383)][_0x423e36(0x3be)](_0x1c6a9f,{'unitID':_0x1c6a9f,'type':_0x3be31d,'awaitingChangeset':_0x144946,'mutations':_0x55dff6,'rev':_0x116ae0}),this['_saveTaskMap'][_0x423e36(0x1a1)](_0x1c6a9f)||this['_scheduleSaving'](_0x1c6a9f);}[_0x75eea8(0x324)](_0x3b8947){const _0x368126=_0x75eea8,_0x3c93d4=this['_getSaveTimeout']();_0x3c93d4===0x0?this['_saveCache'](_0x3b8947):this[_0x368126(0x167)][_0x368126(0x3be)](_0x3b8947,setTimeout(()=>this[_0x368126(0x26a)](_0x3b8947),_0x3c93d4));}[_0x75eea8(0x208)](){const _0x52584a=_0x75eea8;var _0x4f37e1;return(_0x4f37e1=this[_0x52584a(0x252)][_0x52584a(0x1ed)](u[_0x52584a(0x19a)]))!=null?_0x4f37e1:u['LOCAL_CACHE_INTERVAL'];}[_0x75eea8(0x26a)](_0x3ce5b9){const _0xec0942=_0x75eea8,_0x1f88d3=this[_0xec0942(0x167)][_0xec0942(0x1d1)](_0x3ce5b9);return _0x1f88d3!==void 0x0&&window['clearTimeout'](_0x1f88d3),this['_localStorageService'][_0xec0942(0x286)](u[_0xec0942(0x1cf)](_0x3ce5b9),this[_0xec0942(0x383)][_0xec0942(0x1d1)](_0x3ce5b9))[_0xec0942(0x2a4)](()=>this[_0xec0942(0x167)]['delete'](_0x3ce5b9));}async[_0x75eea8(0x171)](){const _0x4fc021=_0x75eea8,_0x12f21b=[];this[_0x4fc021(0x167)][_0x4fc021(0x33e)]((_0x3182a2,_0x271da9)=>{const _0x470648=_0x4fc021;window['clearTimeout'](_0x3182a2),_0x12f21b[_0x470648(0x3ac)](this['_saveCache'](_0x271da9)[_0x470648(0x2a4)](()=>{const _0xe266ea=_0x470648;this['_saveTaskMap'][_0xe266ea(0x259)](_0x271da9);}));}),await Promise[_0x4fc021(0x249)](_0x12f21b);}};ge=Kt([_e(0x0,a[_0x75eea8(0x235)]),_e(0x1,a[_0x75eea8(0x29f)]),_e(0x2,a['Inject'](m[_0x75eea8(0x29e)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x26dad4=_0x75eea8;super(),h(this,_0x26dad4(0x22a)),this[_0x26dad4(0x22a)]=d[_0x26dad4(0x2c2)](window,_0x26dad4(0x2fb))['pipe'](d[_0x26dad4(0x299)](this[_0x26dad4(0x183)]),d[_0x26dad4(0x2a8)](0x1),d['mapTo'](void 0x0));}[_0x75eea8(0x2b1)](_0x16ef85,_0x32dca7,_0x59e774=!0x1){const _0x93301f=_0x75eea8,_0x275b8a=new URL(window['location'][_0x93301f(0x1d3)]);_0x275b8a['searchParams'][_0x93301f(0x3be)](_0x16ef85,_0x32dca7),_0x59e774?window[_0x93301f(0x216)][_0x93301f(0x221)]('','',_0x275b8a[_0x93301f(0x1cc)]()):window[_0x93301f(0x216)][_0x93301f(0x212)]('','',_0x275b8a[_0x93301f(0x1cc)]());}['removeParam'](_0x161bdf,_0x94fa2a=!0x1){const _0x557ffe=_0x75eea8,_0xf34541=new URL(window[_0x557ffe(0x3d8)][_0x557ffe(0x1d3)]);_0xf34541['searchParams'][_0x557ffe(0x259)](_0x161bdf),_0x94fa2a?window['history'][_0x557ffe(0x221)]('','',_0xf34541[_0x557ffe(0x1cc)]()):window[_0x557ffe(0x216)][_0x557ffe(0x212)]('','',_0xf34541['toString']());}[_0x75eea8(0x36d)](_0x2dd4b5){const _0x3fe769=_0x75eea8;var _0x4c18e3;return(_0x4c18e3=new URL(window[_0x3fe769(0x3d8)][_0x3fe769(0x1d3)])[_0x3fe769(0x3a1)]['get'](_0x2dd4b5))!=null?_0x4c18e3:void 0x0;}}var qt=Object[_0x75eea8(0x255)],zt=Object[_0x75eea8(0x191)],Jt=(_0x22c61d,_0x1349b0,_0x1cf684)=>_0x1349b0 in _0x22c61d?qt(_0x22c61d,_0x1349b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cf684}):_0x22c61d[_0x1349b0]=_0x1cf684,Zt=(_0x35d914,_0x2c4df6,_0x2ca973,_0x2d4277)=>{for(var _0x38e2f8=_0x2d4277>0x1?void 0x0:_0x2d4277?zt(_0x2c4df6,_0x2ca973):_0x2c4df6,_0x531f94=_0x35d914['length']-0x1,_0x2690e3;_0x531f94>=0x0;_0x531f94--)(_0x2690e3=_0x35d914[_0x531f94])&&(_0x38e2f8=_0x2690e3(_0x38e2f8)||_0x38e2f8);return _0x38e2f8;},he=(_0x284858,_0xcbc34c)=>(_0x18d6b3,_0x56b21d)=>_0xcbc34c(_0x18d6b3,_0x56b21d,_0x284858),Qt=(_0x1e41bb,_0x1d242c,_0xd3f4e4)=>Jt(_0x1e41bb,_0x1d242c+'',_0xd3f4e4);const es=_0x75eea8(0x211);exports[_0x75eea8(0x1b3)]=class extends a[_0x75eea8(0x363)]{constructor(_0x5953e3=Ue,_0x186633,_0x175129,_0xe0e1d4){const _0x189e1a=_0x75eea8;super(),this[_0x189e1a(0x345)]=_0x5953e3,this['_renderManagerService']=_0x186633,this[_0x189e1a(0x222)]=_0x175129,this['_configService']=_0xe0e1d4;const {..._0x29a262}=a['merge']({},Ue,this[_0x189e1a(0x345)]);this[_0x189e1a(0x252)]['setConfig']($t,_0x29a262);}[_0x75eea8(0x244)](){const _0x2bc90c=_0x75eea8;this[_0x2bc90c(0x159)](),this[_0x2bc90c(0x170)]();}[_0x75eea8(0x331)](){this['_registerRenderDependencies']();}[_0x75eea8(0x159)](){const _0x37a5aa=_0x75eea8;var _0x4f790a;const _0x20b3da=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x37a5aa(0x2e3)]}],[u[_0x37a5aa(0x2d8)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x37a5aa(0x38b)]]];a[_0x37a5aa(0x372)](this['_injector'],a[_0x37a5aa(0x356)](_0x20b3da,(_0x4f790a=this['_config'])==null?void 0x0:_0x4f790a[_0x37a5aa(0x2d4)]));}['_registerRenderDependencies'](){const _0x58180c=_0x75eea8;this[_0x58180c(0x14c)](this[_0x58180c(0x3b7)][_0x58180c(0x3c7)](a[_0x58180c(0x1dc)][_0x58180c(0x2f2)],[Ie])),this[_0x58180c(0x14c)](this[_0x58180c(0x3b7)][_0x58180c(0x3c7)](a[_0x58180c(0x1dc)][_0x58180c(0x2c8)],[ve]));}[_0x75eea8(0x170)](){const _0x4a6fa6=_0x75eea8;a[_0x4a6fa6(0x206)](this[_0x4a6fa6(0x222)],[[x],[exports[_0x4a6fa6(0x349)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x75eea8(0x236),es),exports[_0x75eea8(0x1b3)]=Zt([a[_0x75eea8(0x359)](u[_0x75eea8(0x20e)]),he(0x1,p[_0x75eea8(0x3c5)]),he(0x2,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),he(0x3,a[_0x75eea8(0x235)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x3b9ee3,_0x4daded,_0x95a9ad,_0x326071)=>{const _0x3db049=_0x75eea8;for(var _0x408a1f=_0x326071>0x1?void 0x0:_0x326071?ts(_0x4daded,_0x95a9ad):_0x4daded,_0xbd49ab=_0x3b9ee3[_0x3db049(0x31b)]-0x1,_0x100a14;_0xbd49ab>=0x0;_0xbd49ab--)(_0x100a14=_0x3b9ee3[_0xbd49ab])&&(_0x408a1f=_0x100a14(_0x408a1f)||_0x408a1f);return _0x408a1f;},F=(_0x132050,_0x1a6f32)=>(_0x559894,_0x250d1b)=>_0x1a6f32(_0x559894,_0x250d1b,_0x132050);exports[_0x75eea8(0x225)]=class extends u[_0x75eea8(0x1f1)]{constructor(_0x5e3478,_0x1809ed,_0x4bf36c,_0x59f1c3,_0x5ed50b){super(_0x5e3478,_0x1809ed,_0x4bf36c,_0x59f1c3,_0x5ed50b);}async['createSocket'](_0x4f2092){const _0x383e19=_0x75eea8,_0x9b2ff5=await this[_0x383e19(0x3c1)](),_0x2d920b=this[_0x383e19(0x364)](_0x4f2092,_0x9b2ff5);return this[_0x383e19(0x21e)](_0x2d920b);}[_0x75eea8(0x364)](_0x229fe0,_0x4f664d){const _0x24ee10=_0x75eea8,_0x42e052=typeof window>'u'?new URL(_0x229fe0):new URL(_0x229fe0,window[_0x24ee10(0x3d8)][_0x24ee10(0x2f9)]);_0x42e052[_0x24ee10(0x3a1)]['set']('sessionTicket',_0x4f664d);const _0x367530=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x24ee10(0x3ad)]);return _0x367530[_0x24ee10(0x1d1)]('runId')&&_0x42e052[_0x24ee10(0x3a1)][_0x24ee10(0x3be)](_0x24ee10(0x1d2),_0x367530['get'](_0x24ee10(0x1d2))),_0x42e052[_0x24ee10(0x1cc)]();}async['_getSessionTicket'](){const _0x41af5e=_0x75eea8;var _0x27c867,_0x13c8e1,_0x1e4bd0;const _0x47a919=this[_0x41af5e(0x252)]['getConfig'](u[_0x41af5e(0x34a)]),_0x43c1c1=(_0x27c867=_0x47a919==null?void 0x0:_0x47a919[_0x41af5e(0x224)])!=null?_0x27c867:u[_0x41af5e(0x290)];return(_0x1e4bd0=(_0x13c8e1=(await this[_0x41af5e(0x1c5)][_0x41af5e(0x1d1)](_0x43c1c1,{'headers':{'Content-Type':_0x41af5e(0x1f8)}}))[_0x41af5e(0x233)])==null?void 0x0:_0x13c8e1[_0x41af5e(0x283)])!=null?_0x1e4bd0:'';}},exports[_0x75eea8(0x225)]=ss([F(0x0,a[_0x75eea8(0x1a0)](a[_0x75eea8(0x367)])),F(0x1,a[_0x75eea8(0x1a0)](G[_0x75eea8(0x2f1)])),F(0x2,a[_0x75eea8(0x235)]),F(0x3,a[_0x75eea8(0x242)]),F(0x4,m[_0x75eea8(0x38c)])],exports[_0x75eea8(0x225)]);function _0x48ab(_0x3b8430,_0x2dc6be){const _0x307ec5=_0x307e();return _0x48ab=function(_0x48ab25,_0x37116b){_0x48ab25=_0x48ab25-0x14a;let _0x4bda3a=_0x307ec5[_0x48ab25];return _0x4bda3a;},_0x48ab(_0x3b8430,_0x2dc6be);}const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class is extends a[_0x75eea8(0x21d)]{constructor(){const _0x5429c1=_0x75eea8;super(),h(this,_0x5429c1(0x1ce),a['generateRandomId']()),h(this,_0x5429c1(0x3bd),new Set()),h(this,'_unitOnClients',new Map()),h(this,'_heartbeatTimer',null),h(this,_0x5429c1(0x184),new Map()),h(this,_0x5429c1(0x352),new Map()),this['_init']();}[_0x75eea8(0x362)](){const _0x2ee5d2=_0x75eea8;super[_0x2ee5d2(0x362)](),this[_0x2ee5d2(0x184)][_0x2ee5d2(0x33e)]((_0x4e8bcc,_0x2b4e08)=>this['_removeClearOtherTimer'](_0x2b4e08)),this['_heartbeatTimer']&&window[_0x2ee5d2(0x30e)](this[_0x2ee5d2(0x1e2)]);}[_0x75eea8(0x273)](_0x53e170){const _0x96d4f7=_0x75eea8;return this[_0x96d4f7(0x35b)](_0x53e170)[_0x96d4f7(0x262)](d['distinctUntilChanged']());}['editingUnit'](_0x397fbc){const _0x531832=_0x75eea8;this[_0x531832(0x3bd)][_0x531832(0x3ca)]===0x0&&this[_0x531832(0x2f4)](),this[_0x531832(0x3bd)][_0x531832(0x153)](_0x397fbc),this[_0x531832(0x1c0)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x397fbc],'isForwarded':!0x1});}[_0x75eea8(0x2ad)](_0x3b615c){const _0x5df181=_0x75eea8;this[_0x5df181(0x3bd)]['delete'](_0x3b615c),this['_selfUnitIDs'][_0x5df181(0x3ca)]===0x0&&this[_0x5df181(0x1e2)]&&window[_0x5df181(0x30e)](this[_0x5df181(0x1e2)]);}[_0x75eea8(0x26f)](){const _0x541ffb=_0x75eea8;this[_0x541ffb(0x14c)](a[_0x541ffb(0x150)](d['fromEvent'](window,_0x541ffb(0x3b2))[_0x541ffb(0x37e)](_0x161103=>{const _0x27d307=_0x541ffb;if(_0x161103[_0x27d307(0x3c8)]!==Le||!_0x161103[_0x27d307(0x3c0)])return;const _0x3d7770=JSON[_0x27d307(0x32f)](_0x161103[_0x27d307(0x3c0)]);this['_handleEvent'](_0x3d7770);}))),window['addEventListener'](_0x541ffb(0x2e5),()=>this[_0x541ffb(0x1c0)]({'type':0x1,'memberID':this[_0x541ffb(0x1ce)],'unitIDs':Array[_0x541ffb(0x32d)](this[_0x541ffb(0x3bd)])}));}[_0x75eea8(0x34c)](_0xf3dfe3){const _0x32bad2=_0x75eea8;switch(_0xf3dfe3['type']){case 0x0:this[_0x32bad2(0x1a6)](_0xf3dfe3);break;case 0x1:this[_0x32bad2(0x17a)](_0xf3dfe3);break;case 0x2:this[_0x32bad2(0x238)](_0xf3dfe3);break;}}['_handleJoinEvent'](_0x3611ba){const _0x3118e6=_0x75eea8,{unitIDs:_0x17241c,memberID:_0x3878de,isForwarded:_0x116352}=_0x3611ba;_0x17241c[_0x3118e6(0x33e)](_0x35c829=>{const _0x348324=_0x3118e6;if(!_0x116352&&this[_0x348324(0x3df)][_0x348324(0x1a1)](_0x35c829)&&this['_ensureSubject'](_0x35c829)[_0x348324(0x15e)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x348324(0x3df)][_0x348324(0x1a1)](_0x35c829)||!this[_0x348324(0x3df)]['get'](_0x35c829)[_0x348324(0x1a1)](_0x3878de)){const _0x40c4ac=this[_0x348324(0x3df)][_0x348324(0x1d1)](_0x35c829)||new Set();_0x40c4ac[_0x348324(0x153)](_0x3878de),this[_0x348324(0x3df)][_0x348324(0x3be)](_0x35c829,_0x40c4ac),this[_0x348324(0x3ce)](_0x3878de);}}),_0x116352||this[_0x3118e6(0x1c0)]({'type':0x0,'memberID':this[_0x3118e6(0x1ce)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x75eea8(0x3ce)](_0xfad97b){const _0x4cda06=_0x75eea8;this[_0x4cda06(0x338)](_0xfad97b);const _0x5be422=window[_0x4cda06(0x2ba)](()=>{const _0x2a2470=_0x4cda06;this[_0x2a2470(0x3df)]['forEach'](_0x55c2bb=>{_0x55c2bb['delete'](_0xfad97b);});},Me*0x2);this['_clearOtherTimers']['set'](_0xfad97b,_0x5be422);}['_removeClearOtherTimer'](_0x1325d6){const _0x597d42=_0x75eea8;if(this[_0x597d42(0x184)][_0x597d42(0x1a1)](_0x1325d6)){const _0x525f38=this[_0x597d42(0x184)]['get'](_0x1325d6);_0x525f38&&window[_0x597d42(0x358)](_0x525f38),this[_0x597d42(0x184)][_0x597d42(0x3be)](_0x1325d6,null);}}[_0x75eea8(0x17a)](_0x51502e){const _0x20859b=_0x75eea8,{memberID:_0x3cde9c,unitIDs:_0x5e8e0a}=_0x51502e;_0x5e8e0a[_0x20859b(0x33e)](_0x100fb8=>{const _0x31bfe2=_0x20859b;var _0x139e08;const _0x394453=this[_0x31bfe2(0x3df)][_0x31bfe2(0x1d1)](_0x100fb8);_0x394453&&(_0x394453[_0x31bfe2(0x259)](_0x3cde9c),(_0x139e08=this['_ensureSubject'](_0x100fb8))==null||_0x139e08[_0x31bfe2(0x15e)](_0x394453['size']===0x0?u[_0x31bfe2(0x30d)][_0x31bfe2(0x37f)]:u[_0x31bfe2(0x30d)][_0x31bfe2(0x1f3)]));}),this['_removeClearOtherTimer'](_0x3cde9c);}[_0x75eea8(0x238)](_0x174b00){const _0x146a0f=_0x75eea8;this[_0x146a0f(0x3ce)](_0x174b00[_0x146a0f(0x2cc)]);}['_send'](_0x265e71){const _0x3cf06d=_0x75eea8;localStorage['setItem'](Le,JSON[_0x3cf06d(0x1da)](_0x265e71));}[_0x75eea8(0x2f4)](){const _0xf17b58=_0x75eea8;this['_heartbeatTimer']=window[_0xf17b58(0x3b9)](()=>{const _0x432a52=_0xf17b58;this['_send']({'type':0x2,'memberID':this[_0x432a52(0x1ce)]});},Me);}['_ensureSubject'](_0x2a4e6f){const _0x3155d1=_0x75eea8;return this['_unitStatus'][_0x3155d1(0x1a1)](_0x2a4e6f)||this[_0x3155d1(0x352)]['set'](_0x2a4e6f,new d[(_0x3155d1(0x3d7))](u[_0x3155d1(0x30d)][_0x3155d1(0x37f)])),this[_0x3155d1(0x352)][_0x3155d1(0x1d1)](_0x2a4e6f);}}var Be=(_0x2fe753=>(_0x2fe753[_0x2fe753['UNDEFINED']=0x0]=_0x75eea8(0x25a),_0x2fe753[_0x2fe753['OK']=0x1]='OK',_0x2fe753[_0x2fe753[_0x75eea8(0x23c)]=0x2]=_0x75eea8(0x23c),_0x2fe753[_0x2fe753[_0x75eea8(0x1dd)]=0x3]=_0x75eea8(0x1dd),_0x2fe753[_0x2fe753[_0x75eea8(0x2a6)]=0x4]=_0x75eea8(0x2a6),_0x2fe753[_0x2fe753[_0x75eea8(0x366)]=0x5]='UNAUTHENTICATED',_0x2fe753[_0x2fe753[_0x75eea8(0x188)]=0x6]=_0x75eea8(0x188),_0x2fe753[_0x2fe753[_0x75eea8(0x217)]=0x7]=_0x75eea8(0x217),_0x2fe753[_0x2fe753[_0x75eea8(0x21f)]=0x8]='TOO_MANY_REQUESTS',_0x2fe753[_0x2fe753[_0x75eea8(0x25b)]=0x9]=_0x75eea8(0x25b),_0x2fe753[_0x2fe753[_0x75eea8(0x377)]=0xa]=_0x75eea8(0x377),_0x2fe753[_0x2fe753['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x75eea8(0x3d0),_0x2fe753[_0x2fe753[_0x75eea8(0x237)]=0x1771]=_0x75eea8(0x237),_0x2fe753[_0x2fe753['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x75eea8(0x343),_0x2fe753[_0x2fe753[_0x75eea8(0x365)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2fe753[_0x2fe753[_0x75eea8(0x169)]=0x1b59]=_0x75eea8(0x169),_0x2fe753[_0x2fe753['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2fe753[_0x2fe753[_0x75eea8(0x21a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2fe753[_0x2fe753[_0x75eea8(0x369)]=0x1b5c]=_0x75eea8(0x369),_0x2fe753[_0x2fe753[_0x75eea8(0x24d)]=0x1b5d]=_0x75eea8(0x24d),_0x2fe753[_0x2fe753[_0x75eea8(0x27c)]=0x1f41]=_0x75eea8(0x27c),_0x2fe753[_0x2fe753[_0x75eea8(0x3b5)]=0x2329]=_0x75eea8(0x3b5),_0x2fe753[_0x2fe753[_0x75eea8(0x1c3)]=0x232a]=_0x75eea8(0x1c3),_0x2fe753[_0x2fe753[_0x75eea8(0x1ea)]=0x232b]=_0x75eea8(0x1ea),_0x2fe753[_0x2fe753[_0x75eea8(0x185)]=0x232c]=_0x75eea8(0x185),_0x2fe753[_0x2fe753['LICENSE_DISTRO_REJECTED']=0x232d]=_0x75eea8(0x31e),_0x2fe753[_0x2fe753['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2fe753[_0x2fe753[_0x75eea8(0x29b)]=0x2712]=_0x75eea8(0x29b),_0x2fe753[_0x2fe753['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2fe753[_0x2fe753[_0x75eea8(0x317)]=0x2714]=_0x75eea8(0x317),_0x2fe753[_0x2fe753[_0x75eea8(0x312)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2fe753[_0x2fe753[_0x75eea8(0x38e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2fe753[_0x2fe753[_0x75eea8(0x192)]=0x271c]=_0x75eea8(0x192),_0x2fe753[_0x2fe753[_0x75eea8(0x360)]=0x271d]=_0x75eea8(0x360),_0x2fe753[_0x2fe753[_0x75eea8(0x27e)]=0x271e]=_0x75eea8(0x27e),_0x2fe753[_0x2fe753[_0x75eea8(0x1bb)]=0x271f]=_0x75eea8(0x1bb),_0x2fe753[_0x2fe753[_0x75eea8(0x38d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2fe753[_0x2fe753[_0x75eea8(0x197)]=0x2ee1]=_0x75eea8(0x197),_0x2fe753[_0x2fe753[_0x75eea8(0x337)]=0x2ee2]=_0x75eea8(0x337),_0x2fe753[_0x2fe753[_0x75eea8(0x3cc)]=0x2ee3]=_0x75eea8(0x3cc),_0x2fe753[_0x2fe753[_0x75eea8(0x355)]=0x2ee4]=_0x75eea8(0x355),_0x2fe753[_0x2fe753[_0x75eea8(0x14a)]=0x2ee5]=_0x75eea8(0x14a),_0x2fe753[_0x2fe753[_0x75eea8(0x3c9)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2fe753[_0x2fe753['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x75eea8(0x18c),_0x2fe753[_0x2fe753[_0x75eea8(0x390)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2fe753[_0x2fe753[_0x75eea8(0x3e1)]=-0x1]=_0x75eea8(0x3e1),_0x2fe753))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x1087c1,_0x21caa,_0xc796db,_0x2c10c5)=>{const _0x399c9b=_0x75eea8;for(var _0x464dbc=_0x2c10c5>0x1?void 0x0:_0x2c10c5?ns(_0x21caa,_0xc796db):_0x21caa,_0x4ae209=_0x1087c1[_0x399c9b(0x31b)]-0x1,_0xc5b392;_0x4ae209>=0x0;_0x4ae209--)(_0xc5b392=_0x1087c1[_0x4ae209])&&(_0x464dbc=_0xc5b392(_0x464dbc)||_0x464dbc);return _0x464dbc;},ue=(_0x34268a,_0x5f51d5)=>(_0x49ec48,_0x1b99c8)=>_0x5f51d5(_0x49ec48,_0x1b99c8,_0x34268a);exports[_0x75eea8(0x268)]=class extends a['Disposable']{constructor(_0x4d4629,_0x1c76c1,_0xb6e01d){const _0x4e6a6c=_0x75eea8;super(),this[_0x4e6a6c(0x344)]=_0x4d4629,this[_0x4e6a6c(0x1c5)]=_0x1c76c1,this[_0x4e6a6c(0x252)]=_0xb6e01d;}async[_0x75eea8(0x1e4)](_0x497af1,_0x2b16f3,_0x4a93c7,..._0x3f9a13){const _0x3d2a76=_0x75eea8;var _0x2f4bf5,_0x1fbc25,_0x102f7c,_0x3e0f30;const _0x1f7da3=this['_instanceService'][_0x3d2a76(0x202)]();if(!_0x1f7da3)throw new Error(_0x3d2a76(0x24f));const _0x1ff636=((_0x2f4bf5=this['_configService'][_0x3d2a76(0x1ed)](u[_0x3d2a76(0x26c)]))!=null?_0x2f4bf5:u[_0x3d2a76(0x2e7)])+'/'+_0x497af1+'/run/'+_0x2b16f3,_0x39e2a9=new URL(window[_0x3d2a76(0x3d8)][_0x3d2a76(0x1d3)]),_0x5d245a={'scriptId':_0x497af1,'runId':(_0x1fbc25=_0x39e2a9[_0x3d2a76(0x3a1)][_0x3d2a76(0x1d1)](_0x3d2a76(0x1d2)))!=null?_0x1fbc25:'','function':_0x2b16f3,'unitId':_0x1f7da3['getUnitId'](),'argsOfFunction':JSON[_0x3d2a76(0x1da)](_0x3f9a13),'invokeId':(_0x102f7c=_0x4a93c7[_0x3d2a76(0x210)])!=null?_0x102f7c:'','executionId':(_0x3e0f30=_0x4a93c7[_0x3d2a76(0x270)])!=null?_0x3e0f30:''};try{const _0x385ec9=await this[_0x3d2a76(0x1c5)][_0x3d2a76(0x33a)](_0x1ff636,{'body':_0x5d245a});return _0x385ec9[_0x3d2a76(0x233)][_0x3d2a76(0x163)]&&_0x385ec9[_0x3d2a76(0x233)][_0x3d2a76(0x163)][_0x3d2a76(0x326)]!==Be['OK']?_0x3d2a76(0x2da):_0x385ec9[_0x3d2a76(0x233)][_0x3d2a76(0x287)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x75eea8(0x384)]),ue(0x1,a[_0x75eea8(0x1a0)](G[_0x75eea8(0x2f1)])),ue(0x2,a['IConfigService'])],exports[_0x75eea8(0x268)]),exports[_0x75eea8(0x2bd)]=xe,exports[_0x75eea8(0x2a5)]=be,exports[_0x75eea8(0x180)]=Ae,exports[_0x75eea8(0x397)]=is,exports[_0x75eea8(0x313)]=je;
|
|
1
|
+
'use strict';const _0x48e5bc=_0x3f84;(function(_0x29c6d3,_0x4615f8){const _0x543848=_0x3f84,_0x377736=_0x29c6d3();while(!![]){try{const _0x58663b=parseInt(_0x543848(0x2d8))/0x1*(parseInt(_0x543848(0x1b4))/0x2)+parseInt(_0x543848(0x23d))/0x3+-parseInt(_0x543848(0x237))/0x4+parseInt(_0x543848(0x2b7))/0x5*(parseInt(_0x543848(0x1ce))/0x6)+parseInt(_0x543848(0x1b3))/0x7*(-parseInt(_0x543848(0xaa))/0x8)+-parseInt(_0x543848(0xf2))/0x9+-parseInt(_0x543848(0x133))/0xa*(parseInt(_0x543848(0x2d7))/0xb);if(_0x58663b===_0x4615f8)break;else _0x377736['push'](_0x377736['shift']());}catch(_0xa938f8){_0x377736['push'](_0x377736['shift']());}}}(_0x2824,0xc07c2));var Ve=Object[_0x48e5bc(0x228)],Xe=(_0x37a102,_0x45760c,_0x2c1ef0)=>_0x45760c in _0x37a102?Ve(_0x37a102,_0x45760c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c1ef0}):_0x37a102[_0x45760c]=_0x2c1ef0,h=(_0x4766e7,_0x40cb46,_0x58c53e)=>Xe(_0x4766e7,typeof _0x40cb46!=_0x48e5bc(0xa6)?_0x40cb46+'':_0x40cb46,_0x58c53e);Object[_0x48e5bc(0x228)](exports,Symbol[_0x48e5bc(0x2e0)],{'value':'Module'});const u=require(_0x48e5bc(0x221)),a=require('@univerjs/core'),p=require(_0x48e5bc(0xb7)),G=require(_0x48e5bc(0x205)),b=require(_0x48e5bc(0xe2)),Ge=require('@univerjs/drawing'),d=require(_0x48e5bc(0x295)),Y=require('@univerjs/docs'),m=require('@univerjs-pro/collaboration'),Ee=require(_0x48e5bc(0xbe)),g=require(_0x48e5bc(0x22f)),$=require(_0x48e5bc(0xff)),X=require(_0x48e5bc(0x1d8)),P=require(_0x48e5bc(0x17a)),T=require(_0x48e5bc(0x2bd)),D=require(_0x48e5bc(0x90)),M=require('react'),Ke=require(_0x48e5bc(0x271));var qe=Object['getOwnPropertyDescriptor'],ze=(_0x8542ee,_0x11d122,_0x441167,_0x284ea3)=>{for(var _0x3b41a8=_0x284ea3>0x1?void 0x0:_0x284ea3?qe(_0x11d122,_0x441167):_0x11d122,_0x2d5c86=_0x8542ee['length']-0x1,_0x304c43;_0x2d5c86>=0x0;_0x2d5c86--)(_0x304c43=_0x8542ee[_0x2d5c86])&&(_0x3b41a8=_0x304c43(_0x3b41a8)||_0x3b41a8);return _0x3b41a8;},Te=(_0x3d33b6,_0x36cfe6)=>(_0x11cc94,_0x12b0f0)=>_0x36cfe6(_0x11cc94,_0x12b0f0,_0x3d33b6);let de=class extends a[_0x48e5bc(0x9d)]{constructor(_0x5982af,_0x3ec4b9){const _0x9e63cd=_0x48e5bc;super(),this[_0x9e63cd(0x17c)]=_0x5982af,this[_0x9e63cd(0x258)]=_0x3ec4b9,this[_0x9e63cd(0x1c8)]();}[_0x48e5bc(0x1c8)](){const _0x1be47b=_0x48e5bc,_0x2a1a3f=this;this['disposeWithMe'](this[_0x1be47b(0x17c)]['addClipboardHook']({'onBeforePasteImage':async _0x3893f7=>{const _0x4a7d9d=_0x1be47b,_0x2d7428=await _0x2a1a3f[_0x4a7d9d(0x258)][_0x4a7d9d(0xca)](_0x3893f7);return _0x2d7428?{'source':_0x2d7428['source'],'imageSourceType':_0x2d7428[_0x4a7d9d(0x2ab)]}:null;}}));}};de=ze([Te(0x0,b[_0x48e5bc(0x239)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x48e5bc(0x1cc),_0x48e5bc(0x20f),_0x48e5bc(0x2cb),_0x48e5bc(0x125),'blue.400',_0x48e5bc(0x10e)];class me extends a['Disposable']{constructor(){super(...arguments),h(this,'_assignedColors',new Map()),h(this,'_colorIndex',0x0);}[_0x48e5bc(0xb0)](_0x5a78e6){const _0x17b378=_0x48e5bc;if(this['_assignedColors'][_0x17b378(0x197)](_0x5a78e6))return this[_0x17b378(0x1a8)][_0x17b378(0x20c)](_0x5a78e6);const _0x5d8748=Oe[this[_0x17b378(0xc9)]];return this['_colorIndex']=(this[_0x17b378(0xc9)]+0x1)%Oe['length'],this[_0x17b378(0x1a8)][_0x17b378(0x28a)](_0x5a78e6,_0x5d8748),_0x5d8748;}}function Pe(_0x52fc8c){const _0x16e4c4=_0x48e5bc;let _0x3c7bf9='';for(const _0x119dd9 of _0x52fc8c){const {startOffset:_0x1df73d,endOffset:_0x3f854e,isActive:_0xe6b29,rangeType:_0x2a9fdc,segmentId:_0x14f34a,segmentPage:_0x1cc078}=_0x119dd9;_0x3c7bf9[_0x16e4c4(0x2c5)]&&(_0x3c7bf9+=','),_0x3c7bf9+=_0x1df73d+':'+_0x3f854e+':'+(_0xe6b29?'1':'0')+':'+_0x2a9fdc+':'+_0x14f34a+':'+_0x1cc078;}return _0x3c7bf9;}function Je(_0x497d35){const _0x5e6cf7=_0x48e5bc,_0x9461f3=_0x497d35[_0x5e6cf7(0x2fb)](','),_0x50c548=[];for(const _0x2db39e of _0x9461f3){const [_0x463a96,_0x535737,_0x677f8d,_0x24a6cd,_0xb74e8,_0x1b23d2]=_0x2db39e['split'](':');_0x50c548[_0x5e6cf7(0x232)]({'startOffset':Number(_0x463a96),'endOffset':Number(_0x535737),'collapsed':_0x463a96===_0x535737,'isActive':_0x677f8d==='1','rangeType':_0x24a6cd===a['DOC_RANGE_TYPE'][_0x5e6cf7(0x1d2)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x5e6cf7(0x1f2)][_0x5e6cf7(0x218)],'segmentId':typeof _0xb74e8=='string'?String(_0xb74e8):'','segmentPage':Number(_0x1b23d2!=null?_0x1b23d2:-0x1)});}return _0x50c548[_0x5e6cf7(0x254)](_0x1accd5=>_0x1accd5[_0x5e6cf7(0x2ca)])||(_0x50c548[0x0][_0x5e6cf7(0x2ca)]=!0x0),_0x50c548;}class Ce extends a[_0x48e5bc(0x9d)]{constructor(){const _0xf0d2a4=_0x48e5bc;super(...arguments),h(this,_0xf0d2a4(0xdf),new d[(_0xf0d2a4(0x16d))](null)),h(this,'collabCursorState$',this[_0xf0d2a4(0xdf)][_0xf0d2a4(0x2b9)]());}[_0x48e5bc(0x26b)](_0x5be014){const _0x1b9a5b=_0x48e5bc,{unitID:_0x484582,memberID:_0x1de7e9,textRanges:_0x3166d7}=_0x5be014,_0x5bfdb9=Pe(_0x3166d7);if(_0x5bfdb9==='')return;const _0x4afbda={'unitID':_0x484582,'memberID':_0x1de7e9,'selection':_0x5bfdb9};this['_collabCursorState$'][_0x1b9a5b(0xbb)](_0x4afbda);}}var Ze=Object[_0x48e5bc(0x275)],Qe=(_0x97676c,_0x4d8921,_0x3156d8,_0x35a769)=>{const _0x3daf70=_0x48e5bc;for(var _0x36b6ef=_0x35a769>0x1?void 0x0:_0x35a769?Ze(_0x4d8921,_0x3156d8):_0x4d8921,_0x999ce4=_0x97676c[_0x3daf70(0x2c5)]-0x1,_0x50be2b;_0x999ce4>=0x0;_0x999ce4--)(_0x50be2b=_0x97676c[_0x999ce4])&&(_0x36b6ef=_0x50be2b(_0x36b6ef)||_0x36b6ef);return _0x36b6ef;},L=(_0x4a3157,_0x3d9326)=>(_0xe315c0,_0x579916)=>_0x3d9326(_0xe315c0,_0x579916,_0x4a3157);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x492d92,_0x38ecde,_0x38a6ca,_0x51f487,_0x5bab13,_0x40868c,_0x1bb87f,_0x58b651,_0x3b8ef7){const _0x32c6f6=_0x48e5bc;super(),h(this,_0x32c6f6(0x264),!0x1),h(this,_0x32c6f6(0x1c8),!0x1),h(this,_0x32c6f6(0x88),new d['BehaviorSubject'](new Map())),h(this,_0x32c6f6(0x2d6),this[_0x32c6f6(0x88)][_0x32c6f6(0x2b9)]()),h(this,_0x32c6f6(0x2f1),new d[(_0x32c6f6(0x16d))]([])),h(this,_0x32c6f6(0x8a),this[_0x32c6f6(0x2f1)]['pipe'](d[_0x32c6f6(0x14b)](et))),h(this,'_updateLocalCursor',a[_0x32c6f6(0xaf)](_0x30f7af=>{const _0x2ed1c0=_0x32c6f6,_0x4603bc={'eventID':m[_0x2ed1c0(0xf1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2ed1c0(0x2e5)],'memberID':this[_0x2ed1c0(0x22a)][_0x2ed1c0(0x26a)](),'selection':Pe(_0x30f7af)}};this[_0x2ed1c0(0x22a)][_0x2ed1c0(0x181)](_0x4603bc,this[_0x2ed1c0(0x2e5)]);},tt)),(this[_0x32c6f6(0x2e5)]=_0x492d92,this[_0x32c6f6(0x22a)]=_0x38ecde,this[_0x32c6f6(0x126)]=_0x38a6ca,this['_colorAssignService']=_0x51f487,this[_0x32c6f6(0x11a)]=_0x5bab13,this['_syncEditingCollabCursorService']=_0x40868c,this['_transformService']=_0x1bb87f,this[_0x32c6f6(0x109)]=_0x58b651,this[_0x32c6f6(0x174)]=_0x3b8ef7);}get[_0x48e5bc(0x138)](){const _0x20b1f7=_0x48e5bc;return this[_0x20b1f7(0x88)][_0x20b1f7(0x2af)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x48e5bc(0x233)](){const _0x39f0ac=_0x48e5bc;super[_0x39f0ac(0x233)](),this[_0x39f0ac(0x88)]['next'](new Map()),this[_0x39f0ac(0x88)]['complete'](),this[_0x39f0ac(0x2f1)][_0x39f0ac(0xbb)]([]),this[_0x39f0ac(0x2f1)][_0x39f0ac(0x14d)]();}[_0x48e5bc(0x2aa)](){const _0x4d7e20=_0x48e5bc;this[_0x4d7e20(0x1c8)]||(this['_init']=!0x0,this[_0x4d7e20(0x22a)][_0x4d7e20(0x2f2)][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0xd315b7=>{const _0x22b56c=_0x4d7e20;_0xd315b7===u['SessionStatus']['ONLINE']?this[_0x22b56c(0xb3)]():this[_0x22b56c(0x25e)]();}),this[_0x4d7e20(0x22a)]['event$'][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0x40f5d4=>{const _0x915012=_0x4d7e20,_0x39db35=_0x40f5d4[_0x915012(0xa3)];_0x39db35===m[_0x915012(0xf1)][_0x915012(0x2ad)]&&this['_onCursorUpdate'](_0x40f5d4),_0x39db35===m[_0x915012(0xf1)][_0x915012(0x28e)]&&this[_0x915012(0xe0)](_0x40f5d4);}),this['disposeWithMe'](this[_0x4d7e20(0x174)][_0x4d7e20(0x2a0)](_0x30d101=>{const _0x4c7b67=_0x4d7e20,_0x3fcdb2=_0x30d101['params'];_0x3fcdb2!=null&&this[_0x4c7b67(0x264)]&&_0x30d101['id']===Y['SetTextSelectionsOperation']['id']&&_0x3fcdb2[_0x4c7b67(0x1ea)]===this[_0x4c7b67(0x2e5)]&&_0x3fcdb2[_0x4c7b67(0x249)]===!0x1&&_0x3fcdb2[_0x4c7b67(0x2ed)][_0x4c7b67(0x2c5)]>0x0&&this[_0x4c7b67(0x2f8)](_0x3fcdb2[_0x4c7b67(0x2ed)]);})),this[_0x4d7e20(0x13e)][_0x4d7e20(0x10d)][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0x275f36=>{const _0xe6f386=_0x4d7e20;if((_0x275f36==null?void 0x0:_0x275f36['unitID'])!==this[_0xe6f386(0x2e5)])return;const _0x27b378={'eventID':m[_0xe6f386(0xf1)]['UPDATE_CURSOR'],'data':_0x275f36};this['_onCursorUpdate'](_0x27b378);}),this[_0x4d7e20(0x173)](this[_0x4d7e20(0x174)]['onCommandExecuted'](_0x583f8c=>{const _0xbe6e92=_0x4d7e20;if(_0x583f8c['params']==null)return;const _0x40c0bf=_0x583f8c[_0xbe6e92(0x26e)];if(_0x583f8c['id']!==Y[_0xbe6e92(0x196)]['id']||_0x40c0bf[_0xbe6e92(0x1ea)]!==this[_0xbe6e92(0x2e5)])return;const _0x2a8199={'id':_0xbe6e92(0x236),'params':_0x40c0bf},_0x5ca91d=this[_0xbe6e92(0x138)];for(const [_0x3c5c4d,_0x51c0b0]of _0x5ca91d){const _0x3775c2={'id':_0xbe6e92(0x236),'params':{'unitId':this[_0xbe6e92(0x2e5)],'actions':null,'textRanges':_0x51c0b0[_0xbe6e92(0x2ed)]}},_0x53edc7=this[_0xbe6e92(0x201)][_0xbe6e92(0x195)](_0x2a8199,_0x3775c2,!0x1);if(m['isTransformMutationFailure'](_0x53edc7))throw _0x53edc7[_0xbe6e92(0x272)];_0x5ca91d[_0xbe6e92(0x28a)](_0x3c5c4d,{..._0x51c0b0,'ranges':_0x53edc7[_0xbe6e92(0x277)][_0xbe6e92(0x26e)][_0xbe6e92(0x1cd)]});}queueMicrotask(()=>{const _0x4318a5=_0xbe6e92;this[_0x4318a5(0x88)][_0x4318a5(0xbb)](_0x5ca91d);});})));}[_0x48e5bc(0x11b)](_0x4a97e9){const _0x21fa9a=_0x48e5bc;var _0x1166d2,_0xcdcf1c;const {memberID:_0x1cbfe9,selection:_0xeced80}=_0x4a97e9[_0x21fa9a(0x10f)],_0x39675=Je(_0xeced80),_0x42eb82=(_0xcdcf1c=(_0x1166d2=this[_0x21fa9a(0x11a)][_0x21fa9a(0x28f)](this[_0x21fa9a(0x2e5)],_0x1cbfe9))==null?void 0x0:_0x1166d2['name'])!=null?_0xcdcf1c:_0x21fa9a(0x2c9),_0x587f80={'color':this[_0x21fa9a(0x1f4)][_0x21fa9a(0xb0)](_0x1cbfe9),'name':_0x42eb82,'ranges':_0x39675},_0x52c4be=this[_0x21fa9a(0x138)];_0x52c4be['set'](_0x1cbfe9,_0x587f80),this[_0x21fa9a(0x88)][_0x21fa9a(0xbb)](_0x52c4be);}[_0x48e5bc(0xe0)](_0xf2ae2f){const _0x283f7e=_0x48e5bc,{memberID:_0x56402f}=_0xf2ae2f['data'],_0x1a5a80=this['cursorInfo'];_0x1a5a80['delete'](_0x56402f),this['_cursorInfo$'][_0x283f7e(0xbb)](_0x1a5a80);}['_toggleOnline'](){const _0x220b57=_0x48e5bc;var _0x1de631;if(this[_0x220b57(0x264)]=!0x0,((_0x1de631=this[_0x220b57(0x109)][_0x220b57(0x2a3)]())==null?void 0x0:_0x1de631['getUnitId']())!==this['unitID'])return;const _0x143c52=this[_0x220b57(0x126)][_0x220b57(0x20c)](Y[_0x220b57(0xec)])[_0x220b57(0xdc)]();Array[_0x220b57(0x1b9)](_0x143c52)&&_0x143c52['length']>0x0&&this[_0x220b57(0x2f8)](_0x143c52);}[_0x48e5bc(0x25e)](){const _0xd7e8bd=_0x48e5bc;this[_0xd7e8bd(0x264)]=!0x1;}};fe=Qe([L(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),L(0x3,a[_0x48e5bc(0x28c)](me)),L(0x4,a['Inject'](u['MemberService'])),L(0x5,a[_0x48e5bc(0x28c)](Ce)),L(0x6,m[_0x48e5bc(0x129)]),L(0x7,a[_0x48e5bc(0x9f)]),L(0x8,a[_0x48e5bc(0x110)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x34d3fe,_0x3e11fa,_0x59c8fb,_0x1a1330)=>{const _0x2b23d6=_0x48e5bc;for(var _0x4846f0=_0x1a1330>0x1?void 0x0:_0x1a1330?st(_0x3e11fa,_0x59c8fb):_0x3e11fa,_0x3b0f55=_0x34d3fe[_0x2b23d6(0x2c5)]-0x1,_0x76a3f0;_0x3b0f55>=0x0;_0x3b0f55--)(_0x76a3f0=_0x34d3fe[_0x3b0f55])&&(_0x4846f0=_0x76a3f0(_0x4846f0)||_0x4846f0);return _0x4846f0;},w=(_0x3d9632,_0x3ac892)=>(_0x264183,_0x3c2b42)=>_0x3ac892(_0x264183,_0x3c2b42,_0x3d9632);const nt=0x12c,rt=0x64,ot=()=>{let _0x716ced=[],_0x20a8ff=!0x1;return _0x2212d9=>{const _0x3be988=_0x3f84;_0x716ced[_0x3be988(0x232)](_0x2212d9),_0x20a8ff||(_0x20a8ff=!0x0,setTimeout(()=>{_0x716ced['forEach'](_0x1dbf4f=>_0x1dbf4f()),_0x716ced=[],_0x20a8ff=!0x1;}));};};let Se=class extends a[_0x48e5bc(0x9d)]{constructor(_0x349563,_0x42ea35,_0x4f64ed,_0xaa3c1f,_0x4bada1,_0xd19eb1,_0x2027c6,_0x1e60c1){const _0x484dc4=_0x48e5bc;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x484dc4(0x88),new d[(_0x484dc4(0x16d))](new Map())),h(this,_0x484dc4(0x2d6),this['_cursorInfo$'][_0x484dc4(0x2b9)]()),h(this,_0x484dc4(0x2f1),new d[(_0x484dc4(0x16d))]([])),h(this,'roomMembers$',this[_0x484dc4(0x2f1)]['pipe'](d['debounceTime'](nt))),h(this,_0x484dc4(0x2f8),a[_0x484dc4(0xaf)]((_0x571f26,_0x486c6b)=>{const _0xa6cd36=_0x484dc4,_0x1464ed={'eventID':m[_0xa6cd36(0xf1)][_0xa6cd36(0x2ad)],'data':{'unitID':this[_0xa6cd36(0x2e5)],'memberID':this['_session'][_0xa6cd36(0x26a)](),'selection':Ee[_0xa6cd36(0xd8)](_0x571f26,_0x486c6b['range'])}};this[_0xa6cd36(0x22a)][_0xa6cd36(0x181)](_0x1464ed,this[_0xa6cd36(0x2e5)]);},rt)),(this['unitID']=_0x349563,this[_0x484dc4(0x22a)]=_0x42ea35,this['_injector']=_0x4f64ed,this[_0x484dc4(0x1f4)]=_0xaa3c1f,this[_0x484dc4(0x11a)]=_0x4bada1,this[_0x484dc4(0x109)]=_0xd19eb1,this[_0x484dc4(0x174)]=_0x2027c6,this[_0x484dc4(0x10c)]=_0x1e60c1);}get['cursorInfo'](){const _0x3486b6=_0x48e5bc;return this[_0x3486b6(0x88)][_0x3486b6(0x2af)]();}get['roomMembers'](){const _0x4aa6aa=_0x48e5bc;return this['_roomMembers$'][_0x4aa6aa(0x2af)]();}[_0x48e5bc(0x233)](){const _0x8a3247=_0x48e5bc;super['dispose'](),this[_0x8a3247(0x88)][_0x8a3247(0xbb)](new Map()),this[_0x8a3247(0x88)][_0x8a3247(0x14d)](),this[_0x8a3247(0x2f1)][_0x8a3247(0xbb)]([]),this[_0x8a3247(0x2f1)][_0x8a3247(0x14d)]();}[_0x48e5bc(0x2aa)](){const _0x48c87d=_0x48e5bc;this[_0x48c87d(0x1c8)]||(this[_0x48c87d(0x1c8)]=!0x0,this[_0x48c87d(0x22a)][_0x48c87d(0x2f2)]['pipe'](d[_0x48c87d(0xdd)](this[_0x48c87d(0xcc)]))[_0x48c87d(0x2fe)](_0x4a976d=>{const _0xf18e4d=_0x48c87d;_0x4a976d===u[_0xf18e4d(0x18b)][_0xf18e4d(0x17e)]?this[_0xf18e4d(0xb3)]():this[_0xf18e4d(0x25e)]();}),this[_0x48c87d(0x22a)][_0x48c87d(0xd2)]['pipe'](d['takeUntil'](this['dispose$']))[_0x48c87d(0x2fe)](_0x23e54c=>{const _0x8ca1de=_0x48c87d,_0x3774ea=_0x23e54c[_0x8ca1de(0xa3)];_0x3774ea===m[_0x8ca1de(0xf1)][_0x8ca1de(0x2ad)]&&this['_onCursorUpdate'](_0x23e54c),_0x3774ea===m[_0x8ca1de(0xf1)][_0x8ca1de(0x28e)]&&this[_0x8ca1de(0xe0)](_0x23e54c);}),this[_0x48c87d(0xd6)](),this[_0x48c87d(0x173)](this[_0x48c87d(0x174)]['onCommandExecuted'](_0x5f0f9d=>{const _0x3196f9=_0x48c87d;if(this['_online']&&_0x5f0f9d['id']===g[_0x3196f9(0x219)]['id']&&_0x5f0f9d[_0x3196f9(0x26e)][_0x3196f9(0x1ea)]===this[_0x3196f9(0x2e5)]){const _0xfbeb5b=_0x5f0f9d[_0x3196f9(0x26e)];this[_0x3196f9(0x2f8)](_0xfbeb5b[_0x3196f9(0x1fd)],_0xfbeb5b[_0x3196f9(0x209)][0x0]);}})));}[_0x48e5bc(0x11b)](_0x2fb241){const _0xca5b21=_0x48e5bc;var _0x56c993,_0x2ed5e5;const {memberID:_0x1f45b6,selection:_0x525564}=_0x2fb241[_0xca5b21(0x10f)],{sheetName:_0x249960,range:_0x288617}=Ee[_0xca5b21(0x2bf)](_0x525564),_0x389f2d={'name':(_0x2ed5e5=(_0x56c993=this['_memberService']['getMember'](this[_0xca5b21(0x2e5)],_0x1f45b6))==null?void 0x0:_0x56c993[_0xca5b21(0x1be)])!=null?_0x2ed5e5:'Unknown\x20user','range':this[_0xca5b21(0x171)](_0x249960,_0x288617),'sheetID':_0x249960,'color':this[_0xca5b21(0x1f4)][_0xca5b21(0xb0)](_0x1f45b6),'selection':_0x525564},_0x434d73=this[_0xca5b21(0x138)];_0x434d73[_0xca5b21(0x28a)](_0x1f45b6,_0x389f2d),this[_0xca5b21(0x88)][_0xca5b21(0xbb)](_0x434d73);}['_onCursorDelete'](_0x5e648b){const _0x57c9ed=_0x48e5bc,{memberID:_0x22d0fa}=_0x5e648b['data'],_0x51cb52=this[_0x57c9ed(0x138)];_0x51cb52['delete'](_0x22d0fa),this[_0x57c9ed(0x88)][_0x57c9ed(0xbb)](_0x51cb52);}['_getMergeRange'](_0x47513d,_0x3a4983){const _0x7358fa=_0x48e5bc;var _0x180989,_0x493dda;const _0x419e33=(_0x493dda=(_0x180989=this[_0x7358fa(0x109)][_0x7358fa(0x227)](this[_0x7358fa(0x2e5)]))==null?void 0x0:_0x180989[_0x7358fa(0x1f8)](_0x47513d))==null?void 0x0:_0x493dda['getMergeData']();return(_0x419e33==null?void 0x0:_0x419e33[_0x7358fa(0x81)](_0x58d8b2=>a[_0x7358fa(0x139)]['contains'](_0x58d8b2,_0x3a4983)))||_0x3a4983;}[_0x48e5bc(0xd6)](){const _0x4574f2=_0x48e5bc,_0x3249d8=new a[(_0x4574f2(0x2e9))](),_0x3228cf=ot(),_0xcdba7e=()=>{const _0x2a48cc=_0x4574f2;_0x3249d8['dispose']();const _0x53df8f=(_0x1e2404,_0x5a8b0c,_0x46e992,_0x82ea2d)=>{const _0x490467=_0x3f84;let _0x5ab064=[];switch(_0x1e2404['id']){case g[_0x490467(0x24d)]['DeleteRangeMoveLeftCommandId']:{_0x5ab064=g['handleDeleteRangeMoveLeft'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1a4)]:{_0x5ab064=g['handleDeleteRangeMoveUp'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1b7)]:{_0x5ab064=g[_0x490467(0x98)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x204)]:{_0x5ab064=g[_0x490467(0x157)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1c7)]:{_0x5ab064=g[_0x490467(0x213)](_0x1e2404,_0x82ea2d);break;}case g['EffectRefRangId'][_0x490467(0x14a)]:{_0x5ab064=g['handleInsertRow'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x215)]:{_0x5ab064=g['handleMoveRange'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)]['RemoveColCommandId']:{_0x5ab064=g[_0x490467(0x112)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x12d)]:{_0x5ab064=g[_0x490467(0x1cf)](_0x1e2404,_0x82ea2d);break;}}const _0x435d04=g[_0x490467(0x2b5)](_0x5ab064,_0x82ea2d),_0x1052b6=this['cursorInfo'][_0x490467(0x20c)](_0x5a8b0c);if(_0x1052b6&&_0x435d04){const _0x13f627={..._0x1052b6,'range':_0x435d04};this[_0x490467(0x138)][_0x490467(0x28a)](_0x5a8b0c,_0x13f627),_0x3228cf(()=>{const _0x428dca=_0x490467,_0x41dbfc=this[_0x428dca(0x10c)][_0x428dca(0x1e3)](_0x435d04,_0x4e2c98=>(_0x41dbfc[_0x428dca(0x233)](),_0x53df8f(_0x4e2c98,_0x5a8b0c,_0x46e992,_0x435d04)));_0x3249d8[_0x428dca(0x151)](_0x41dbfc);});}return{'redos':[],'undos':[]};};this[_0x2a48cc(0x138)]['forEach']((_0x2dcf4c,_0x1f840d)=>{const _0x5d5729=_0x2a48cc,{range:_0x8a0671,sheetID:_0x54ec93}=_0x2dcf4c,_0x3c972d=this['_refRangeService'][_0x5d5729(0x1e3)](_0x8a0671,_0x29e204=>(_0x3c972d[_0x5d5729(0x233)](),_0x53df8f(_0x29e204,_0x1f840d,_0x54ec93,_0x8a0671)));_0x3249d8['add'](_0x3c972d);});};this['disposeWithMe'](a[_0x4574f2(0x26d)](this[_0x4574f2(0x88)]['subscribe'](()=>{_0xcdba7e();})));}[_0x48e5bc(0xb3)](){const _0x410673=_0x48e5bc;var _0x2f4ac3,_0x558cdd;if(this[_0x410673(0x264)]=!0x0,((_0x2f4ac3=this[_0x410673(0x109)][_0x410673(0x2a3)]())==null?void 0x0:_0x2f4ac3[_0x410673(0x280)]())!==this[_0x410673(0x2e5)])return;const _0x18747b=(_0x558cdd=this['_injector'][_0x410673(0x20c)](g['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x558cdd[0x0],_0x4abda8=this[_0x410673(0x109)][_0x410673(0x1e0)](a[_0x410673(0x80)]['UNIVER_SHEET'])[_0x410673(0x92)]();_0x18747b&&_0x4abda8&&this[_0x410673(0x2f8)](_0x4abda8['getSheetId'](),_0x18747b);}[_0x48e5bc(0x25e)](){const _0xc89c83=_0x48e5bc;this[_0xc89c83(0x264)]=!0x1;}};Se=it([w(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),w(0x3,a[_0x48e5bc(0x28c)](me)),w(0x4,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x252)])),w(0x5,a[_0x48e5bc(0x9f)]),w(0x6,a[_0x48e5bc(0x110)]),w(0x7,a[_0x48e5bc(0x28c)](g[_0x48e5bc(0x15d)]))],Se);var at=Object[_0x48e5bc(0x275)],ct=(_0x58c30f,_0x585066,_0x3dc7c6,_0x25e610)=>{const _0x21b7d7=_0x48e5bc;for(var _0x123271=_0x25e610>0x1?void 0x0:_0x25e610?at(_0x585066,_0x3dc7c6):_0x585066,_0x389e75=_0x58c30f[_0x21b7d7(0x2c5)]-0x1,_0x3b5a85;_0x389e75>=0x0;_0x389e75--)(_0x3b5a85=_0x58c30f[_0x389e75])&&(_0x123271=_0x3b5a85(_0x123271)||_0x123271);return _0x123271;},ie=(_0x12001b,_0x58e2cf)=>(_0x4ad198,_0x266a32)=>_0x58e2cf(_0x4ad198,_0x266a32,_0x12001b);let x=class extends a['RxDisposable']{constructor(_0x3fc26c,_0x3484b2,_0xba5ff3){const _0x3633f8=_0x48e5bc;super(),h(this,_0x3633f8(0x94),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x3633f8(0x109)]=_0x3fc26c,this[_0x3633f8(0x126)]=_0x3484b2,this['_collabSessionService']=_0xba5ff3,this[_0x3633f8(0x1c8)]());}[_0x48e5bc(0x233)](){const _0x45fe48=_0x48e5bc;super['dispose'](),this['_entityInit$'][_0x45fe48(0x14d)](),this[_0x45fe48(0x94)][_0x45fe48(0x299)](_0x6cc1a0=>_0x6cc1a0[_0x45fe48(0x233)]());}[_0x48e5bc(0x291)](_0x2cb190){const _0x522a0b=_0x48e5bc;return this[_0x522a0b(0x94)][_0x522a0b(0x197)](_0x2cb190)?this[_0x522a0b(0x94)][_0x522a0b(0x20c)](_0x2cb190)[_0x522a0b(0x2d6)]:this[_0x522a0b(0xc2)][_0x522a0b(0x29b)](d[_0x522a0b(0x2e1)](_0x14ffa3=>_0x14ffa3[_0x522a0b(0x2e5)]===_0x2cb190),d['switchMap'](_0x531d48=>_0x531d48[_0x522a0b(0x2d6)]));}[_0x48e5bc(0x1c8)](){const _0x1ed0c2=_0x48e5bc;this[_0x1ed0c2(0x109)][_0x1ed0c2(0x2dd)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x1f3)])[_0x1ed0c2(0x29b)](d['takeUntil'](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x2fe)](async _0x11a113=>{const _0x2ae54f=_0x1ed0c2,_0xc3d8b9=_0x11a113['getUnitId'](),_0x1159f1=await this[_0x2ae54f(0x27c)](_0xc3d8b9);this[_0x2ae54f(0xc2)][_0x2ae54f(0xbb)](_0x1159f1),this['_entities']['set'](_0xc3d8b9,_0x1159f1);}),this[_0x1ed0c2(0x109)][_0x1ed0c2(0x2dd)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x143)])[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0xdd)](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0x2e1)](_0x2c42a5=>!_0x2c42a5[_0x1ed0c2(0x280)]()[_0x1ed0c2(0x1ba)]('__')))[_0x1ed0c2(0x2fe)](async _0x484df8=>{const _0x83428c=_0x1ed0c2,_0x1a1eab=_0x484df8['getUnitId'](),_0x1b0b1c=await this[_0x83428c(0xf4)](_0x1a1eab);this[_0x83428c(0xc2)][_0x83428c(0xbb)](_0x1b0b1c),this['_entities']['set'](_0x1a1eab,_0x1b0b1c);}),d[_0x1ed0c2(0x116)](this[_0x1ed0c2(0x109)][_0x1ed0c2(0x293)](a[_0x1ed0c2(0x80)]['UNIVER_DOC']),this[_0x1ed0c2(0x109)][_0x1ed0c2(0x293)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x1f3)]))[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0xdd)](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x2fe)](_0x594ba6=>{const _0x567965=_0x1ed0c2,_0x4254bf=_0x594ba6[_0x567965(0x280)](),_0x15fb7e=this['_entities'][_0x567965(0x20c)](_0x4254bf);_0x15fb7e&&(_0x15fb7e[_0x567965(0x233)](),this['_entities'][_0x567965(0x250)](_0x4254bf));});}async[_0x48e5bc(0x27c)](_0x57f4fe){const _0x3915bb=_0x48e5bc,_0x425884=await this[_0x3915bb(0x100)][_0x3915bb(0x2f5)](_0x57f4fe),_0x4a3222=this['_injector'][_0x3915bb(0x29f)](Se,_0x57f4fe,_0x425884);return _0x4a3222[_0x3915bb(0x2aa)](),_0x4a3222;}async[_0x48e5bc(0xf4)](_0x280d02){const _0x5a0aa6=_0x48e5bc,_0x2a997a=await this[_0x5a0aa6(0x100)]['requireSession'](_0x280d02),_0x550192=this['_injector']['createInstance'](fe,_0x280d02,_0x2a997a);return _0x550192[_0x5a0aa6(0x2aa)](),_0x550192;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),ie(0x2,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x29d)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x3e644e,_0x8cd665){const _0x53a29c=_0x48e5bc;let {radius:_0x35a78e,width:_0x5e879d,height:_0x4514a3}=_0x8cd665;_0x35a78e=_0x35a78e!=null?_0x35a78e:0x0,_0x5e879d=_0x5e879d!=null?_0x5e879d:0x1e,_0x4514a3=_0x4514a3!=null?_0x4514a3:0x1e;let _0x51d1d3=0x0,_0x24b69c=0x0,_0x18e2c7=0x0;_0x51d1d3=_0x24b69c=_0x18e2c7=Math[_0x53a29c(0x202)](_0x35a78e,_0x5e879d/0x2,_0x4514a3/0x2),_0x3e644e['beginPath'](),_0x3e644e[_0x53a29c(0x8b)](_0x51d1d3,0x0),_0x3e644e['lineTo'](_0x5e879d-_0x24b69c,0x0),_0x3e644e[_0x53a29c(0x180)](_0x5e879d-_0x24b69c,_0x24b69c,_0x24b69c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e644e[_0x53a29c(0x1f0)](_0x5e879d,_0x4514a3-_0x18e2c7),_0x3e644e['arc'](_0x5e879d-_0x18e2c7,_0x4514a3-_0x18e2c7,_0x18e2c7,0x0,Math['PI']/0x2,!0x1),_0x3e644e['lineTo'](0x0,_0x4514a3),_0x3e644e['lineTo'](0x0,_0x51d1d3),_0x3e644e[_0x53a29c(0x180)](_0x51d1d3,_0x51d1d3,_0x51d1d3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e644e[_0x53a29c(0x211)](),_0x8cd665[_0x53a29c(0x21c)]&&(_0x3e644e[_0x53a29c(0x17b)](),_0x3e644e[_0x53a29c(0x19f)]=_0x8cd665[_0x53a29c(0x21c)],_0x8cd665['fillRule']==='evenodd'?_0x3e644e[_0x53a29c(0x21c)](_0x53a29c(0x111)):_0x3e644e[_0x53a29c(0x21c)](),_0x3e644e['restore']());}class ee extends p[_0x48e5bc(0x135)]{constructor(_0xedc38c,_0x2a1de6){const _0x42671e=_0x48e5bc;super(_0xedc38c,_0x2a1de6),h(this,_0x42671e(0xc1)),h(this,'text'),(this[_0x42671e(0xc1)]=_0x2a1de6==null?void 0x0:_0x2a1de6[_0x42671e(0xc1)],this[_0x42671e(0x24b)]=_0x2a1de6==null?void 0x0:_0x2a1de6[_0x42671e(0x24b)]);}static[_0x48e5bc(0xbf)](_0x1c1b37,_0x3d3eb0){const _0x1265d2=_0x48e5bc,{text:_0xfcf2aa,color:_0x24abbc}=_0x3d3eb0;_0x1c1b37[_0x1265d2(0x17b)](),_0x1c1b37[_0x1265d2(0x260)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x568567=_0x1c1b37[_0x1265d2(0x2a9)](_0xfcf2aa)[_0x1265d2(0xb9)],_0x2d5ad2=Math[_0x1265d2(0x202)](_0x568567+0x2*ne,Re);_t(_0x1c1b37,{'height':K,'radius':0x4,'width':_0x2d5ad2,'fill':_0x24abbc}),_0x1c1b37[_0x1265d2(0x19f)]=_0x1265d2(0x167);const _0x2a5f53=ne,_0x5ae32e=K-lt,_0x3dad0a=Re-0x2*ne;if(_0x568567>_0x3dad0a){let _0x2a2298='',_0x279158=0x0;for(const _0x5b5752 of _0xfcf2aa){const _0x21f496=_0x1c1b37[_0x1265d2(0x2a9)](_0x5b5752)[_0x1265d2(0xb9)];if(_0x279158+_0x21f496<=_0x3dad0a-_0x1c1b37[_0x1265d2(0x2a9)]('...')[_0x1265d2(0xb9)])_0x2a2298+=_0x5b5752,_0x279158+=_0x21f496;else{_0x2a2298+=_0x1265d2(0x281);break;}}_0x1c1b37['fillText'](_0x2a2298,_0x2a5f53,_0x5ae32e);}else _0x1c1b37[_0x1265d2(0x11c)](_0xfcf2aa,_0x2a5f53,_0x5ae32e);_0x1c1b37[_0x1265d2(0xa0)]();}[_0x48e5bc(0x2ff)](_0x102d83){const _0x303883=_0x48e5bc;ee[_0x303883(0xbf)](_0x102d83,this);}}const re=_0x48e5bc(0x2a7),ht=_0x48e5bc(0xce),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x48e5bc(0x148);class De{constructor(_0x2cfe85,_0x35a55a,_0x51d4f9,_0x295500){const _0x4d2f4d=_0x48e5bc;h(this,'_shapes',[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4d2f4d(0x15f),null),h(this,_0x4d2f4d(0x1a1),null),(this[_0x4d2f4d(0x2e8)]=_0x2cfe85,this[_0x4d2f4d(0x1bb)]=_0x35a55a,this[_0x4d2f4d(0xe1)]=_0x51d4f9,this[_0x4d2f4d(0xe5)]=_0x295500,this['_render']());}set[_0x48e5bc(0x25a)](_0x14dbc7){const _0x56b6a9=_0x48e5bc;_0x14dbc7?(this[_0x56b6a9(0x1a7)]&&this['_anchorDot'][_0x56b6a9(0x2d3)](),this[_0x56b6a9(0xdb)]&&this[_0x56b6a9(0xdb)][_0x56b6a9(0x15c)]()):(this[_0x56b6a9(0x1a7)]&&this[_0x56b6a9(0x1a7)][_0x56b6a9(0x15c)](),this[_0x56b6a9(0xdb)]&&this[_0x56b6a9(0xdb)]['hide']());}[_0x48e5bc(0x233)](){const _0x3dd69f=_0x48e5bc;for(const _0x4494c7 of this[_0x3dd69f(0x1b5)])_0x4494c7[_0x3dd69f(0x233)]();this[_0x3dd69f(0xdb)]&&this[_0x3dd69f(0xdb)]['dispose'](),this[_0x3dd69f(0x1a7)]&&this[_0x3dd69f(0x1a7)][_0x3dd69f(0x233)](),this[_0x3dd69f(0x1aa)]&&this[_0x3dd69f(0x1aa)][_0x3dd69f(0x233)](),this['_eventUnsubscribe']&&this[_0x3dd69f(0x1a1)]();}[_0x48e5bc(0x142)](){const _0x116c14=_0x48e5bc;var _0x246eaf;const {_docSkeleton:_0x2c065c,_document:_0x1799a3}=this,{color:_0x580eae,name:_0x231975,ranges:_0x3e8bcf}=this['_cursor'],_0x31c1b6=_0x1799a3['getOffsetConfig'](),{docsLeft:_0x1443e5,docsTop:_0x52951e}=_0x31c1b6,_0x2eff5e=new b[(_0x116c14(0x21e))](_0x31c1b6,_0x2c065c);for(const {startOffset:_0xa357c3,endOffset:_0x512251,rangeType:_0x21537e,segmentId:_0x108261,segmentPage:_0x4b7545,collapsed:_0x454a1d,isActive:_0x22751e}of _0x3e8bcf){const _0x2c82c4=_0x2c065c['findNodePositionByCharIndex'](_0xa357c3,!0x0,_0x108261,_0x4b7545);let _0x1abd67=_0x2c065c[_0x116c14(0x8f)](_0x512251,!0x0,_0x108261,_0x4b7545);if(_0x1abd67==null&&(_0x1abd67=_0x2c065c[_0x116c14(0x8f)](_0x512251-0x1,!0x1,_0x108261,_0x4b7545)),_0x22751e){const {contentBoxPointGroup:_0xa5510f}=_0x2eff5e['getRangePointData'](_0x1abd67,_0x1abd67);if(_0xa5510f[_0x116c14(0x2c5)]===0x0)continue;this['_drawAnchor'](_0x580eae,_0xa5510f,_0x1443e5,_0x52951e,_0x231975),this[_0x116c14(0x1a1)]=this[_0x116c14(0x15a)]();}if(_0x2c82c4&&_0x1abd67){if(_0x21537e===a[_0x116c14(0x1f2)][_0x116c14(0x218)]){const _0x262146=new b[(_0x116c14(0x1a2))](_0x31c1b6,_0x2c065c),{pointGroup:_0x25fed0}=(_0x246eaf=_0x262146[_0x116c14(0x7e)](_0x2c82c4,_0x1abd67))!=null?_0x246eaf:{};if(_0x25fed0==null||_0x25fed0[_0x116c14(0x2c5)]===0x0)continue;this[_0x116c14(0x9b)](_0x580eae,_0x25fed0,_0x1443e5,_0x52951e);}else{if(!_0x454a1d){const {borderBoxPointGroup:_0x15f6a6}=_0x2eff5e[_0x116c14(0x7e)](_0x2c82c4,_0x1abd67);if(_0x15f6a6[_0x116c14(0x2c5)]===0x0)continue;this[_0x116c14(0x19c)](_0x580eae,_0x15f6a6,_0x1443e5,_0x52951e);}}}}}['_drawAnchor'](_0x461a8c,_0x228b74,_0x1ebad6,_0x11b6a0,_0x3d8294){const _0xbccfb1=_0x48e5bc,_0xe40292=this['_getAnchorBounding'](_0x228b74),{left:_0x9a6ee4,top:_0x2ecb69,height:_0x4b5504}=_0xe40292,_0x3083c0=this['_getScale'](),_0x4f04f5=ft/_0x3083c0,_0x4e4692=new p[(_0xbccfb1(0x294))](re+a['Tools'][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0,'height':_0x4b5504,'width':dt,'fill':_0x461a8c||p[_0xbccfb1(0x13a)](a[_0xbccfb1(0x23f)]['black'],0x0),'strokeWidth':_0x4f04f5,'stroke':St,'evented':!0x0});this['_anchor']=_0x4e4692,this[_0xbccfb1(0x1bb)][_0xbccfb1(0x159)](_0x4e4692,b['TEXT_RANGE_LAYER_INDEX']);const _0x52d29e=new p[(_0xbccfb1(0x294))](re+a[_0xbccfb1(0x2ce)][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0-oe/0x2,'height':oe,'width':oe,'fill':_0x461a8c||p[_0xbccfb1(0x13a)](a['COLORS'][_0xbccfb1(0x1d3)],0x0),'strokeWidth':0x0,'stroke':_0x461a8c||p['getColor'](a['COLORS']['black'],0x0),'evented':!0x1});this[_0xbccfb1(0x1a7)]=_0x52d29e,this['_scene'][_0xbccfb1(0x159)](_0x52d29e,b[_0xbccfb1(0x2c1)]);const _0x50d29f=new ee(re+a[_0xbccfb1(0x2ce)][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0-K,'text':_0x3d8294,'color':_0x461a8c});this['_textBubble']=_0x50d29f,this[_0xbccfb1(0x1bb)]['addObject'](_0x50d29f,b[_0xbccfb1(0x2c1)]),this['_hover']=!0x1;}['_handleHover'](){const _0x419eaf=_0x48e5bc,_0xaf9af7=this['_anchor'][_0x419eaf(0x1f1)][_0x419eaf(0x240)](()=>{this['_hover']=!0x0;}),_0x4b6c4f=this[_0x419eaf(0x1aa)][_0x419eaf(0xa4)][_0x419eaf(0x240)](()=>{const _0x3d1260=_0x419eaf;this[_0x3d1260(0x15f)]&&clearTimeout(this[_0x3d1260(0x15f)]),this[_0x3d1260(0x15f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x31e286=_0x419eaf;_0xaf9af7[_0x31e286(0x20a)](),_0x4b6c4f[_0x31e286(0x20a)]();};}[_0x48e5bc(0x19c)](_0x7d58a7,_0x21463b,_0x1199d5,_0x2c6289){const _0x5d564c=_0x48e5bc,_0x271937=new a[(_0x5d564c(0x2f0))](_0x7d58a7)[_0x5d564c(0x23c)](0.2)[_0x5d564c(0x16b)](),_0x261f3b=new p[(_0x5d564c(0xf6))](ht+a['Tools'][_0x5d564c(0x288)](k),{'pointsGroup':_0x21463b,'fill':_0x271937||p[_0x5d564c(0x13a)](a[_0x5d564c(0x23f)]['black'],0.2),'left':_0x1199d5,'top':_0x2c6289,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5d564c(0x232)](_0x261f3b),this[_0x5d564c(0x1bb)][_0x5d564c(0x159)](_0x261f3b,b[_0x5d564c(0x2c1)]);}[_0x48e5bc(0x9b)](_0x48931f,_0x32d829,_0x397885,_0x28e5be){const _0x16c4b6=_0x48e5bc,_0x5d4994=new a[(_0x16c4b6(0x2f0))](_0x48931f)[_0x16c4b6(0x23c)](0.2)[_0x16c4b6(0x16b)](),_0x9b9d32=new p[(_0x16c4b6(0xf6))](ut+a[_0x16c4b6(0x2ce)][_0x16c4b6(0x288)](k),{'pointsGroup':_0x32d829,'fill':_0x5d4994||p[_0x16c4b6(0x13a)](a['COLORS'][_0x16c4b6(0x1d3)],0.2),'left':_0x397885,'top':_0x28e5be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x16c4b6(0x232)](_0x9b9d32),this[_0x16c4b6(0x1bb)][_0x16c4b6(0x159)](_0x9b9d32,b['TEXT_RANGE_LAYER_INDEX']);}[_0x48e5bc(0x2c6)](_0x28eaeb){const _0x4603e5=_0x28eaeb[0x0],_0x50e118=_0x4603e5[0x0],_0x132d2e=_0x4603e5[0x2],{x:_0x16b37b,y:_0x1c029b}=_0x50e118,{x:_0xe982b4,y:_0x4b98f5}=_0x132d2e;return{'left':_0x16b37b,'top':_0x1c029b,'width':_0xe982b4-_0x16b37b,'height':_0x4b98f5-_0x1c029b};}[_0x48e5bc(0x20b)](){const _0x130591=_0x48e5bc,{scaleX:_0x513747,scaleY:_0x1d34bb}=this[_0x130591(0x1bb)][_0x130591(0x1d6)]();return Math[_0x130591(0x300)](_0x513747,_0x1d34bb);}}var It=Object[_0x48e5bc(0x275)],vt=(_0x254398,_0x34e32a,_0x4b0cc6,_0x1ee0c8)=>{const _0x445984=_0x48e5bc;for(var _0x1f69df=_0x1ee0c8>0x1?void 0x0:_0x1ee0c8?It(_0x34e32a,_0x4b0cc6):_0x34e32a,_0x5ad079=_0x254398[_0x445984(0x2c5)]-0x1,_0x534ab6;_0x5ad079>=0x0;_0x5ad079--)(_0x534ab6=_0x254398[_0x5ad079])&&(_0x1f69df=_0x534ab6(_0x1f69df)||_0x1f69df);return _0x1f69df;},W=(_0x1913f3,_0xa95018)=>(_0x18baaa,_0x583809)=>_0xa95018(_0x18baaa,_0x583809,_0x1913f3);let Ie=class extends a[_0x48e5bc(0x9d)]{constructor(_0x3ba28f,_0x2b3218,_0x163f21,_0x4d7f84,_0xfb4f88){const _0x524014=_0x48e5bc;super(),h(this,_0x524014(0x107),[]),h(this,_0x524014(0xa5),[]),(this[_0x524014(0xc7)]=_0x3ba28f,this[_0x524014(0x82)]=_0x2b3218,this[_0x524014(0x1bc)]=_0x163f21,this[_0x524014(0x174)]=_0x4d7f84,this['_themeService']=_0xfb4f88,this['_init']());}[_0x48e5bc(0x1c8)](){const _0xd7c3ec=_0x48e5bc,_0x175de0=this['_context'][_0xd7c3ec(0x1ea)],_0x28f158=this[_0xd7c3ec(0x82)];this[_0xd7c3ec(0x173)](d[_0xd7c3ec(0x224)]([this[_0xd7c3ec(0x1bc)][_0xd7c3ec(0x291)](_0x175de0),this[_0xd7c3ec(0x130)][_0xd7c3ec(0x2b6)]])[_0xd7c3ec(0x29b)]($[_0xd7c3ec(0x241)](([_0x25fa91,_0x51c2ec])=>({'skeleton':_0x28f158[_0xd7c3ec(0x2bb)](),'cursors':[..._0x25fa91[_0xd7c3ec(0x269)]()][_0xd7c3ec(0x2e7)](_0x5d0b9b=>({..._0x5d0b9b,'color':this[_0xd7c3ec(0x130)][_0xd7c3ec(0x27b)](_0x5d0b9b['color'])}))})))[_0xd7c3ec(0x2fe)](_0xeef339=>{const _0xbd0ee2=_0xd7c3ec;if(this['_removeCollabCursors'](),_0xeef339){const {skeleton:_0x51ffae,cursors:_0x4600f7}=_0xeef339;this[_0xbd0ee2(0x274)](_0x51ffae,_0x4600f7);}})),this[_0xd7c3ec(0x225)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5adbab,_0x45f95a){const _0x3e6bbb=_0x48e5bc,{scene:_0x3b6df5,mainComponent:_0x5ebd9d}=this[_0x3e6bbb(0xc7)],_0x510478=_0x45f95a['map'](_0x29e99e=>new De(_0x29e99e,_0x3b6df5,_0x5adbab,_0x5ebd9d));this[_0x3e6bbb(0x107)]=_0x510478,this[_0x3e6bbb(0xa5)]=_0x45f95a;}[_0x48e5bc(0x27d)](){const _0xfafb51=_0x48e5bc;this['_removeCollabCursors']();const {scene:_0x58b872,mainComponent:_0x3fff95}=this[_0xfafb51(0xc7)],_0x537d4e=this[_0xfafb51(0x82)][_0xfafb51(0x2bb)](),_0x36f6bc=this[_0xfafb51(0xa5)][_0xfafb51(0x241)](_0x3c5e00=>new De(_0x3c5e00,_0x58b872,_0x537d4e,_0x3fff95));this[_0xfafb51(0x107)]=_0x36f6bc;}[_0x48e5bc(0x2a2)](){const _0xa33357=_0x48e5bc;this[_0xa33357(0x107)]['forEach'](_0x5b2d7e=>_0x5b2d7e[_0xa33357(0x233)]()),this[_0xa33357(0x107)]=[];}[_0x48e5bc(0x194)](){const _0x1a4041=_0x48e5bc,_0x5a733e=[b[_0x1a4041(0x14c)]['id']];this[_0x1a4041(0x173)](this[_0x1a4041(0x174)][_0x1a4041(0x2a0)](_0x469e62=>{const _0x55fade=_0x1a4041;_0x5a733e['includes'](_0x469e62['id'])&&_0x469e62[_0x55fade(0x26e)][_0x55fade(0x1ea)]===this[_0x55fade(0xc7)][_0x55fade(0x1ea)]&&this['_refreshCollabCursors']();}));}[_0x48e5bc(0x225)](){const _0x119640=_0x48e5bc;this[_0x119640(0x173)](a['fromEventSubject'](this[_0x119640(0xc7)][_0x119640(0x1bd)][_0x119640(0xcb)])[_0x119640(0x29b)]($[_0x119640(0x2e1)](_0x5f1bd5=>_0x5f1bd5['type']===p[_0x119640(0x158)][_0x119640(0x28b)]),$[_0x119640(0x25d)](0x10))[_0x119640(0x2fe)](()=>{const _0x1142bc=_0x119640;this[_0x1142bc(0x27d)]();}));}};Ie=vt([W(0x1,a[_0x48e5bc(0x28c)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x48e5bc(0x28c)](x)),W(0x3,a[_0x48e5bc(0x110)]),W(0x4,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0xd5)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x48e5bc(0x135)]{constructor(_0x4c31d5,_0x3cd478){const _0x51f599=_0x48e5bc;super(_0x4c31d5,_0x3cd478),h(this,_0x51f599(0x1fc)),h(this,_0x51f599(0x24f),!0x1),h(this,_0x51f599(0x242)),h(this,'_name',''),h(this,_0x51f599(0x10a),'top'),h(this,_0x51f599(0x16a)),(_0x3cd478&&this[_0x51f599(0x253)](_0x3cd478),this[_0x51f599(0x1f1)]['subscribeEvent'](()=>this[_0x51f599(0x253)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xb0e773){const _0x387348=_0x48e5bc;var _0x4e6eea,_0x13a31a,_0x55a86f,_0x38cb0c,_0x1310a3,_0x11b36d;this[_0x387348(0x1fc)]=(_0x4e6eea=_0xb0e773['color'])!=null?_0x4e6eea:this[_0x387348(0x1fc)],this[_0x387348(0x24f)]=(_0x13a31a=_0xb0e773[_0x387348(0x2eb)])!=null?_0x13a31a:this['_hovered'],this[_0x387348(0x242)]=(_0x55a86f=_0xb0e773[_0x387348(0x11f)])!=null?_0x55a86f:this[_0x387348(0x242)],this['_name']=(_0x38cb0c=_0xb0e773[_0x387348(0x1be)])!=null?_0x38cb0c:this[_0x387348(0x12c)],this[_0x387348(0x10a)]=(_0x1310a3=_0xb0e773['labelPosition'])!=null?_0x1310a3:this['_labelPosition'],this[_0x387348(0x16a)]=(_0x11b36d=_0xb0e773[_0x387348(0x251)])!=null?_0x11b36d:this['_backgroundColor'],this[_0x387348(0x2b0)]({'width':_0xb0e773[_0x387348(0xb9)],'height':_0xb0e773['height']});}[_0x48e5bc(0xd9)](_0x131492){const _0x484c85=_0x48e5bc,{row:_0x42861f,column:_0x5dbac8}=_0x131492;if(_0x42861f>=this[_0x484c85(0x242)]['startRow']&&_0x42861f<=this[_0x484c85(0x242)][_0x484c85(0x1f5)]&&_0x5dbac8>=this[_0x484c85(0x242)]['startColumn']&&_0x5dbac8<=this[_0x484c85(0x242)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x484c85(0x253)]({'hovered':!0x1});}[_0x48e5bc(0x154)](_0x486786){return!0x1;}[_0x48e5bc(0x2ff)](_0x4ff001){const _0x474fc4=_0x48e5bc;p[_0x474fc4(0x294)]['drawWith'](_0x4ff001,{'width':this[_0x474fc4(0xb9)],'height':this[_0x474fc4(0x83)],'strokeWidth':mt,'stroke':this[_0x474fc4(0x1fc)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x474fc4(0x24f)]&&(_0x4ff001['save'](),_0x4ff001[_0x474fc4(0x2d5)](0x1,0x0,0x0,0x1,this[_0x474fc4(0xb9)],this['_labelPosition']==='bottom'?0x0:-0x14),ee['drawWith'](_0x4ff001,{'text':this[_0x474fc4(0x12c)],'color':this['_color']}),_0x4ff001['restore']());}}var Ct=Object[_0x48e5bc(0x275)],pt=(_0x13a11f,_0x3bcac5,_0x2c4412,_0x8908a6)=>{const _0x2aeed2=_0x48e5bc;for(var _0x3d704e=_0x8908a6>0x1?void 0x0:_0x8908a6?Ct(_0x3bcac5,_0x2c4412):_0x3bcac5,_0x241477=_0x13a11f[_0x2aeed2(0x2c5)]-0x1,_0x4b6ad6;_0x241477>=0x0;_0x241477--)(_0x4b6ad6=_0x13a11f[_0x241477])&&(_0x3d704e=_0x4b6ad6(_0x3d704e)||_0x3d704e);return _0x3d704e;},ae=(_0x3e34f3,_0x335148)=>(_0x33de17,_0x41b241)=>_0x335148(_0x33de17,_0x41b241,_0x3e34f3);const bt=0x1389;let ve=class extends a[_0x48e5bc(0x9d)]{constructor(_0x459706,_0x35b742,_0x5812d6,_0x5e9f58){const _0x205915=_0x48e5bc;super(),h(this,'_cursors',new Set()),h(this,_0x205915(0xbd),null),(this[_0x205915(0xc7)]=_0x459706,this[_0x205915(0x160)]=_0x35b742,this[_0x205915(0x1bc)]=_0x5812d6,this[_0x205915(0x130)]=_0x5e9f58,this[_0x205915(0x1c8)]());}[_0x48e5bc(0x1c8)](){const _0x5e7151=_0x48e5bc;this[_0x5e7151(0x160)][_0x5e7151(0x140)][_0x5e7151(0x29b)]($[_0x5e7151(0xdd)](this[_0x5e7151(0xcc)]),$['switchMap'](_0xaca03d=>{const _0x198cf8=_0x5e7151;if(_0xaca03d){const _0xcc824b=_0xaca03d[_0x198cf8(0xae)];return d[_0x198cf8(0x224)](this[_0x198cf8(0x1bc)]['getCollabCursors$'](this[_0x198cf8(0xc7)][_0x198cf8(0x1ea)]),this[_0x198cf8(0x130)][_0x198cf8(0x2b6)])[_0x198cf8(0x29b)]($[_0x198cf8(0x241)](([_0x4d5be1,_0x234465])=>{const _0x418549=_0x198cf8,_0x40cbc7=new Map();return _0x4d5be1[_0x418549(0x299)]((_0x356db8,_0x2b554b)=>{const _0x391199=_0x418549;if(_0x356db8[_0x391199(0xee)]===_0xcc824b){const _0x5eb048={..._0x356db8};_0x5eb048[_0x391199(0xc1)]=this['_themeService']['getColorFromTheme'](_0x356db8[_0x391199(0xc1)]),_0x40cbc7['set'](_0x2b554b,_0x5eb048);}}),{'skeleton':_0xaca03d,'cursors':_0x40cbc7};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xc61872,cursors:_0x4dc7a5})=>{const _0x3e6be3=_0x5e7151;this[_0x3e6be3(0x2a2)](),_0xc61872&&this[_0x3e6be3(0x274)](_0xc61872,_0x4dc7a5);}),this['_sheetSkeletonManagerService'][_0x5e7151(0x140)]['subscribe'](_0x4adaab=>{const _0x4f60cb=_0x5e7151;if(_0x4adaab==null)return;const {skeleton:_0x3ef0d0}=_0x4adaab,{scene:_0xb61973}=this[_0x4f60cb(0xc7)];_0xb61973[_0x4f60cb(0x23b)][_0x4f60cb(0x240)](a[_0x4f60cb(0xaf)](_0x36a831=>{const _0x23bed7=_0x4f60cb;var _0x21bb90,_0x4eb389;const {offsetX:_0x30ce50,offsetY:_0x3763b7}=_0x36a831,{x:_0x584d06,y:_0x47eaec}=_0xb61973[_0x23bed7(0x146)](p[_0x23bed7(0x15b)][_0x23bed7(0xfb)]([_0x30ce50,_0x3763b7])),{scaleX:_0x573d8b,scaleY:_0x136f06}=_0xb61973[_0x23bed7(0x1d6)](),_0x20ab37=_0xb61973['getViewport'](p[_0x23bed7(0x292)]['VIEW_MAIN']),_0x7d8698=_0xb61973[_0x23bed7(0x162)](p['Vector2'][_0x23bed7(0xfb)]([_0x584d06,_0x47eaec]),_0x20ab37),_0xe7f164=_0x3ef0d0[_0x23bed7(0x120)](_0x30ce50,_0x3763b7,_0x573d8b,_0x136f06,_0x7d8698);((_0x21bb90=this['_lastPointer'])==null?void 0x0:_0x21bb90[_0x23bed7(0xe6)])===_0xe7f164[_0x23bed7(0xe6)]&&((_0x4eb389=this[_0x23bed7(0xbd)])==null?void 0x0:_0x4eb389['row'])===_0xe7f164[_0x23bed7(0x2ba)]||this['_cursors']['forEach'](_0x2cd5c0=>{const _0x404fce=_0x23bed7;_0x2cd5c0[_0x404fce(0xd9)](_0xe7f164);});},0x64));});}[_0x48e5bc(0x274)](_0x23dac3,_0x34db18){const _0x5c738b=_0x48e5bc;var _0x5c32a2;const _0x15e0a9=(_0x5c32a2=this[_0x5c738b(0x160)]['getCurrent']())==null?void 0x0:_0x5c32a2[_0x5c738b(0x200)];if(!_0x15e0a9)return;const _0x3023cb=this[_0x5c738b(0x189)]();if(!_0x3023cb)return;this[_0x5c738b(0xa5)][_0x5c738b(0x299)](_0x5825a3=>{_0x5825a3['makeDirty']();});const {scene:_0x15e90b}=_0x3023cb,_0x250d3c=Et(Array[_0x5c738b(0x15e)](_0x34db18[_0x5c738b(0x269)]()))[_0x5c738b(0x241)](_0x1305ed=>{const _0x75a683=_0x5c738b,{color:_0x54e893,range:_0x52a5c4,name:_0x2a2002,selection:_0x14800d,sheetID:_0xa358f2}=_0x1305ed,{startColumn:_0x139613,startRow:_0x47ac38,endColumn:_0xbed0cf,endRow:_0xf4b4a5}=_0x52a5c4,_0x1d2d06=X[_0x75a683(0x1ca)](_0x47ac38,_0x139613,_0x15e90b,_0x15e0a9),_0x106348=X[_0x75a683(0x1ca)](_0xf4b4a5,_0xbed0cf,_0x15e90b,_0x15e0a9),{columnHeaderHeightAndMarginTop:_0x169f64}=_0x15e0a9,{startX:_0x36cd91,startY:_0x10005a}=_0x1d2d06,{endX:_0x6c2580,endY:_0x4361ab}=_0x106348,_0x3fddfa=_0x6c2580-_0x36cd91,_0x3547d9=_0x4361ab-_0x10005a,_0x59dc53={'labelPosition':_0x10005a-_0x169f64>=K?_0x75a683(0x13f):'bottom','sheetID':_0xa358f2,'range':_0x52a5c4,'color':_0x54e893,'name':_0x2a2002,'selection':_0x14800d,'left':_0x36cd91,'top':_0x10005a,'width':_0x3fddfa,'height':_0x3547d9,'evented':!0x1,'zIndex':bt};return new Ae(_0x2a2002,_0x59dc53);});_0x15e90b[_0x5c738b(0x1e4)](_0x250d3c,gt),this[_0x5c738b(0xa5)]=new Set(_0x250d3c);}[_0x48e5bc(0x2a2)](){const _0x3b08e8=_0x48e5bc;var _0xb4f20a;(_0xb4f20a=this[_0x3b08e8(0xa5)])==null||_0xb4f20a['forEach'](_0x413874=>_0x413874[_0x3b08e8(0x233)]());}[_0x48e5bc(0x189)](){const _0x2c5cc5=_0x48e5bc;return X[_0x2c5cc5(0x262)](this[_0x2c5cc5(0xc7)]['unit'],this[_0x2c5cc5(0xc7)]);}};ve=pt([ae(0x1,a[_0x48e5bc(0x28c)](X[_0x48e5bc(0x1ff)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0xd5)]))],ve);function Et(_0x546f32){const _0x1c7fe1=_0x48e5bc,_0x272327=new Map();return _0x546f32[_0x1c7fe1(0x299)](_0x2c25a1=>{const _0x188f03=_0x1c7fe1;if(_0x272327['has'](_0x2c25a1[_0x188f03(0x108)])){const _0x31645d=_0x272327[_0x188f03(0x20c)](_0x2c25a1[_0x188f03(0x108)]);_0x31645d[_0x188f03(0x1be)]+=',\x20'+_0x2c25a1['name'];}else _0x272327[_0x188f03(0x28a)](_0x2c25a1['selection'],_0x2c25a1);}),Array[_0x1c7fe1(0x15e)](_0x272327[_0x1c7fe1(0x269)]());}var E=function(){const _0x784b14=_0x48e5bc;return E=Object[_0x784b14(0x2c8)]||function(_0x22a618){const _0x4cb4fa=_0x784b14;for(var _0x816be3,_0x48203b=0x1,_0x4b7317=arguments[_0x4cb4fa(0x2c5)];_0x48203b<_0x4b7317;_0x48203b++){_0x816be3=arguments[_0x48203b];for(var _0x55558d in _0x816be3)Object[_0x4cb4fa(0x89)][_0x4cb4fa(0xe9)][_0x4cb4fa(0x1bf)](_0x816be3,_0x55558d)&&(_0x22a618[_0x55558d]=_0x816be3[_0x55558d]);}return _0x22a618;},E[_0x784b14(0x214)](this,arguments);},Tt=function(_0x5b0708,_0x37962d){const _0x307cde=_0x48e5bc;var _0x4f640e={};for(var _0x384c02 in _0x5b0708)Object[_0x307cde(0x89)]['hasOwnProperty'][_0x307cde(0x1bf)](_0x5b0708,_0x384c02)&&_0x37962d['indexOf'](_0x384c02)<0x0&&(_0x4f640e[_0x384c02]=_0x5b0708[_0x384c02]);if(_0x5b0708!=null&&typeof Object[_0x307cde(0x29e)]==_0x307cde(0x302)){for(var _0x3b901d=0x0,_0x384c02=Object[_0x307cde(0x29e)](_0x5b0708);_0x3b901d<_0x384c02[_0x307cde(0x2c5)];_0x3b901d++)_0x37962d[_0x307cde(0x2dc)](_0x384c02[_0x3b901d])<0x0&&Object['prototype'][_0x307cde(0x261)][_0x307cde(0x1bf)](_0x5b0708,_0x384c02[_0x3b901d])&&(_0x4f640e[_0x384c02[_0x3b901d]]=_0x5b0708[_0x384c02[_0x3b901d]]);}return _0x4f640e;},pe=M[_0x48e5bc(0x2ec)](function(_0x28e721,_0x505202){const _0x237eb0=_0x48e5bc;var _0xee6b9f=_0x28e721[_0x237eb0(0x19a)],_0x3a3e4a=_0x28e721['id'],_0xe8a2c9=_0x28e721['className'],_0x7af434=_0x28e721[_0x237eb0(0x2ee)],_0x4d284a=Tt(_0x28e721,[_0x237eb0(0x19a),'id','className',_0x237eb0(0x2ee)]),_0x46db6a=_0x237eb0(0x2c0)[_0x237eb0(0x22b)](_0x3a3e4a,'\x20')['concat'](_0xe8a2c9||'')[_0x237eb0(0x9c)](),_0x1438fd=M['useRef']('_'[_0x237eb0(0x22b)](Dt()));return we(_0xee6b9f,''[_0x237eb0(0x22b)](_0x3a3e4a),{'defIds':_0xee6b9f[_0x237eb0(0x2a4)],'idSuffix':_0x1438fd[_0x237eb0(0x91)]},E({'ref':_0x505202,'className':_0x46db6a},_0x4d284a),_0x7af434);});function we(_0x190669,_0x56bb5e,_0x351ec3,_0x1eab1e,_0x13d6eb){const _0x1dd896=_0x48e5bc;return M[_0x1dd896(0x1c1)](_0x190669[_0x1dd896(0x12b)],E(E({'key':_0x56bb5e},Ot(_0x190669,_0x351ec3,_0x13d6eb)),_0x1eab1e),(Rt(_0x190669,_0x351ec3)['children']||[])[_0x1dd896(0x241)](function(_0x23fe9b,_0x491a8f){const _0x5555aa=_0x1dd896;return we(_0x23fe9b,''[_0x5555aa(0x22b)](_0x56bb5e,'-')[_0x5555aa(0x22b)](_0x190669[_0x5555aa(0x12b)],'-')['concat'](_0x491a8f),_0x351ec3,void 0x0,_0x13d6eb);}));}function Ot(_0x237419,_0x1cbd62,_0x573f4d){const _0x5947d7=_0x48e5bc;var _0x2b6de7=E({},_0x237419[_0x5947d7(0x1c5)]);_0x573f4d!=null&&_0x573f4d[_0x5947d7(0x2d1)]&&_0x2b6de7[_0x5947d7(0x21c)]==='colorChannel1'&&(_0x2b6de7[_0x5947d7(0x21c)]=_0x573f4d[_0x5947d7(0x2d1)]),_0x237419[_0x5947d7(0x12b)]===_0x5947d7(0x14e)&&_0x2b6de7['id']&&(_0x2b6de7['id']=_0x2b6de7['id']+_0x1cbd62[_0x5947d7(0x1dc)]),Object['entries'](_0x2b6de7)[_0x5947d7(0x299)](function(_0x1a4d4a){const _0x5b81f2=_0x5947d7;var _0x16a182=_0x1a4d4a[0x0],_0x3d3e5b=_0x1a4d4a[0x1];_0x16a182===_0x5b81f2(0x14e)&&typeof _0x3d3e5b==_0x5b81f2(0x20e)&&(_0x2b6de7[_0x16a182]=_0x3d3e5b[_0x5b81f2(0x22e)](/url\(#(.*)\)/,_0x5b81f2(0x2da)[_0x5b81f2(0x22b)](_0x1cbd62['idSuffix'],')')));});var _0x57e4c4=_0x1cbd62[_0x5947d7(0x2a4)];return!_0x57e4c4||_0x57e4c4['length']===0x0||(_0x237419['tag']===_0x5947d7(0x21a)&&_0x2b6de7[_0x5947d7(0x287)]&&(_0x2b6de7[_0x5947d7(0x287)]=_0x2b6de7[_0x5947d7(0x287)]+_0x1cbd62[_0x5947d7(0x1dc)]),Object[_0x5947d7(0x1f9)](_0x2b6de7)[_0x5947d7(0x299)](function(_0x59aeb6){const _0x59d350=_0x5947d7;var _0x4fefdd=_0x59aeb6[0x0],_0xe78c43=_0x59aeb6[0x1];typeof _0xe78c43==_0x59d350(0x20e)&&(_0x2b6de7[_0x4fefdd]=_0xe78c43[_0x59d350(0x22e)](/url\(#(.*)\)/,_0x59d350(0x2da)[_0x59d350(0x22b)](_0x1cbd62[_0x59d350(0x1dc)],')')));})),_0x2b6de7;}function Rt(_0x133e9f,_0x4a9534){const _0x3c4c1a=_0x48e5bc;var _0x2add4d,_0xfd4d06=_0x4a9534[_0x3c4c1a(0x2a4)];return!_0xfd4d06||_0xfd4d06[_0x3c4c1a(0x2c5)]===0x0?_0x133e9f:_0x133e9f[_0x3c4c1a(0x12b)]===_0x3c4c1a(0x1a6)&&(!((_0x2add4d=_0x133e9f[_0x3c4c1a(0xb6)])===null||_0x2add4d===void 0x0)&&_0x2add4d['length'])?E(E({},_0x133e9f),{'children':_0x133e9f[_0x3c4c1a(0xb6)]['map'](function(_0x57761e){const _0x125d67=_0x3c4c1a;return typeof _0x57761e['attrs']['id']==_0x125d67(0x20e)&&_0xfd4d06&&_0xfd4d06[_0x125d67(0x2dc)](_0x57761e['attrs']['id'])>-0x1?E(E({},_0x57761e),{'attrs':E(E({},_0x57761e['attrs']),{'id':_0x57761e[_0x125d67(0x1c5)]['id']+_0x4a9534[_0x125d67(0x1dc)]})}):_0x57761e;})}):_0x133e9f;}function Dt(){const _0xfdba75=_0x48e5bc;return Math['random']()[_0xfdba75(0x220)](0x24)[_0xfdba75(0x23e)](0x2,0x8);}pe['displayName']=_0x48e5bc(0x16e);var Ut={'tag':'svg','attrs':{'fill':_0x48e5bc(0x24e),'viewBox':_0x48e5bc(0x2bc),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x48e5bc(0x27e)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'stroke':_0x48e5bc(0xf5),'d':_0x48e5bc(0x169),'strokeLinecap':_0x48e5bc(0x1af),'strokeLinejoin':_0x48e5bc(0x1af),'strokeWidth':1.2}}]},{'tag':_0x48e5bc(0x1a6),'attrs':{},'children':[{'tag':_0x48e5bc(0x247),'attrs':{'id':_0x48e5bc(0xc8)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'fill':_0x48e5bc(0x222),'d':_0x48e5bc(0x9e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},ye=M[_0x48e5bc(0x2ec)](function(_0x582e49,_0x4652d8){const _0x39f440=_0x48e5bc;return M['createElement'](pe,Object[_0x39f440(0x2c8)]({},_0x582e49,{'id':_0x39f440(0x29c),'ref':_0x4652d8,'icon':Ut}));});ye[_0x48e5bc(0x13d)]='OffLineSingle';var Nt={'tag':'svg','attrs':{'fill':'none','viewBox':_0x48e5bc(0x18f),'width':_0x48e5bc(0x18c),'height':_0x48e5bc(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x48e5bc(0x2e6)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'stroke':_0x48e5bc(0xf5),'d':_0x48e5bc(0x1d0),'strokeLinecap':_0x48e5bc(0x1af),'strokeLinejoin':_0x48e5bc(0x1af),'strokeWidth':1.2}}]},{'tag':_0x48e5bc(0x1a6),'attrs':{},'children':[{'tag':_0x48e5bc(0x247),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x48e5bc(0xf8)}}]}]}],'defIds':[_0x48e5bc(0x238)]},$e=M[_0x48e5bc(0x2ec)](function(_0x53c3b4,_0x40eda3){const _0x2bdce1=_0x48e5bc;return M['createElement'](pe,Object[_0x2bdce1(0x2c8)]({},_0x53c3b4,{'id':'on-line-single','ref':_0x40eda3,'icon':Nt}));});$e['displayName']=_0x48e5bc(0x284);function Mt(_0x3abd90){const _0x29fff6=_0x48e5bc;switch(_0x3abd90){case u[_0x29fff6(0x11e)][_0x29fff6(0x2e2)]:return _0x29fff6(0x178);case u[_0x29fff6(0x11e)][_0x29fff6(0x97)]:return _0x29fff6(0x244);case u[_0x29fff6(0x11e)][_0x29fff6(0x22c)]:return _0x29fff6(0xf0);case u['CollaborationStatus'][_0x29fff6(0xba)]:return _0x29fff6(0x266);case u[_0x29fff6(0x11e)][_0x29fff6(0x26f)]:case u[_0x29fff6(0x11e)][_0x29fff6(0x203)]:return _0x29fff6(0xd7);case u[_0x29fff6(0x11e)]['SYNCED']:case u[_0x29fff6(0x11e)][_0x29fff6(0x16f)]:return _0x29fff6(0x286);}}function _0x3f84(_0x51654c,_0x573577){const _0x28245e=_0x2824();return _0x3f84=function(_0x3f84e3,_0x390464){_0x3f84e3=_0x3f84e3-0x7e;let _0x150efe=_0x28245e[_0x3f84e3];return _0x150efe;},_0x3f84(_0x51654c,_0x573577);}function xe(_0x157d5e){const _0x48c718=_0x48e5bc,{status$:_0x42a4dd}=_0x157d5e,_0x50b1fc=T[_0x48c718(0x103)](_0x42a4dd,u['CollaborationStatus'][_0x48c718(0xba)]),_0x15112e=T[_0x48c718(0x1ec)](a[_0x48c718(0x223)]),_0x5a9736=T['useDependency'](u[_0x48c718(0x29d)]),_0x56c46c=_0x50b1fc!==u['CollaborationStatus'][_0x48c718(0x2e2)],_0x55657e=_0x15112e['t'](Mt(_0x50b1fc)),_0x10db65=_0x56c46c?P[_0x48c718(0x156)]($e,{}):P[_0x48c718(0x156)](ye,{}),_0x2e9487=M['useCallback'](()=>{const _0x584729=_0x48c718;_0x56c46c||_0x5a9736[_0x584729(0x2a5)]();},[_0x56c46c,_0x5a9736]);function _0x485f15(){const _0x3a1248=_0x48c718;return P[_0x3a1248(0x186)](_0x3a1248(0xe8),{'className':_0x3a1248(0x1fe),'onClick':_0x2e9487,'children':[P[_0x3a1248(0x156)](_0x3a1248(0xe8),{'className':D[_0x3a1248(0x20d)](_0x3a1248(0x1b8),{'univer-text-green-500':_0x56c46c,'univer-text-red-500':!_0x56c46c}),'children':_0x10db65}),P['jsx']('div',{'className':_0x3a1248(0x25c),'children':_0x55657e})]});}return _0x56c46c?_0x485f15():P['jsx'](D[_0x48c718(0x18d)],{'title':_0x15112e['t'](_0x48c718(0x2ac)),'children':_0x485f15()});}var Lt=Object[_0x48e5bc(0x275)],Pt=(_0x4fce49,_0x718af1,_0x300310,_0x340cbd)=>{const _0x3a5662=_0x48e5bc;for(var _0x3d20de=_0x340cbd>0x1?void 0x0:_0x340cbd?Lt(_0x718af1,_0x300310):_0x718af1,_0x17644b=_0x4fce49[_0x3a5662(0x2c5)]-0x1,_0x297437;_0x17644b>=0x0;_0x17644b--)(_0x297437=_0x4fce49[_0x17644b])&&(_0x3d20de=_0x297437(_0x3d20de)||_0x3d20de);return _0x3d20de;},V=(_0x4af0a8,_0xb8da88)=>(_0x431a6f,_0x518e48)=>_0xb8da88(_0x431a6f,_0x518e48,_0x4af0a8);exports[_0x48e5bc(0x1c6)]=class extends a[_0x48e5bc(0xac)]{constructor(_0x45bbf2,_0x167717,_0x4465ec,_0x18e873){const _0x4c4021=_0x48e5bc;super(),h(this,_0x4c4021(0x179),new d['BehaviorSubject'](u[_0x4c4021(0x11e)][_0x4c4021(0xba)])),(this['_univerInstanceService']=_0x45bbf2,this[_0x4c4021(0x126)]=_0x167717,this[_0x4c4021(0x118)]=_0x4465ec,this['_uiPartsService']=_0x18e873,this[_0x4c4021(0x86)](),this[_0x4c4021(0x2df)]());}['_initStatusListener'](){const _0xc2bc07=_0x48e5bc;this[_0xc2bc07(0x173)](this['_univerInstanceService'][_0xc2bc07(0x1e9)][_0xc2bc07(0x29b)](d['switchMap'](()=>{const _0x243002=_0xc2bc07,_0x2542be=this[_0x243002(0x109)][_0x243002(0x2a3)]();return _0x2542be?this[_0x243002(0x118)]['getCollabEntity$'](_0x2542be['getUnitId']()):d['of'](null);}),d['switchMap'](_0x10c3f6=>_0x10c3f6?_0x10c3f6[_0xc2bc07(0x141)]:d['of'](u[_0xc2bc07(0x11e)][_0xc2bc07(0xba)])))[_0xc2bc07(0x2fe)](_0x5c898c=>{const _0x2b3add=_0xc2bc07;this[_0x2b3add(0x179)]['next'](_0x5c898c);}));}[_0x48e5bc(0x86)](){const _0x3b74a1=_0x48e5bc;this['disposeWithMe'](this['_uiPartsService'][_0x3b74a1(0x298)](T[_0x3b74a1(0xbc)][_0x3b74a1(0x279)],()=>T['connectInjector'](At({'status$':this[_0x3b74a1(0x179)][_0x3b74a1(0x2b9)]()}),this[_0x3b74a1(0x126)])));}},exports[_0x48e5bc(0x1c6)]=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x48e5bc(0x28c)](a['Injector'])),V(0x2,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x2fd)])),V(0x3,T['IUIPartsService'])],exports[_0x48e5bc(0x1c6)]);function At(_0x5e1a82){const {status$:_0x5d9b0b}=_0x5e1a82;return function(){return P['jsx'](xe,{'status$':_0x5d9b0b});};}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x46c6bd,_0x1af446,_0x7999c5,_0xadc5cc)=>{for(var _0x33684e=_0xadc5cc>0x1?void 0x0:_0xadc5cc?wt(_0x1af446,_0x7999c5):_0x1af446,_0x241bc3=_0x46c6bd['length']-0x1,_0x3a4be6;_0x241bc3>=0x0;_0x241bc3--)(_0x3a4be6=_0x46c6bd[_0x241bc3])&&(_0x33684e=_0x3a4be6(_0x33684e)||_0x33684e);return _0x33684e;},y=(_0x496c55,_0x5a43d3)=>(_0x50f35b,_0x17a48c)=>_0x5a43d3(_0x50f35b,_0x17a48c,_0x496c55);let q=class extends a['Disposable']{constructor(_0x4da281,_0x1c067a,_0x3c8a27,_0x58f1db,_0x30bc75,_0x1f675c){const _0x5bb333=_0x48e5bc;super(),this[_0x5bb333(0x246)]=_0x4da281,this[_0x5bb333(0x2ef)]=_0x1c067a,this[_0x5bb333(0x187)]=_0x3c8a27,this[_0x5bb333(0x208)]=_0x58f1db,this['_notificationService']=_0x30bc75,this[_0x5bb333(0x256)]=_0x1f675c,this[_0x5bb333(0x2c3)](),this[_0x5bb333(0xf3)]();}[_0x48e5bc(0x2c3)](){const _0x579df8=_0x48e5bc;this[_0x579df8(0x173)](this[_0x579df8(0x246)]['registerBeforeClose'](()=>{const _0x3fa611=_0x579df8;if(this['_localCacheService'][_0x3fa611(0xfd)][_0x3fa611(0x267)])return this[_0x3fa611(0x256)]['t'](_0x3fa611(0x265));}));}[_0x48e5bc(0xf3)](){const _0x503685=_0x48e5bc;this[_0x503685(0x173)](this[_0x503685(0x187)][_0x503685(0xd2)][_0x503685(0x2fe)](_0x10a9ea=>{const _0xc8c578=_0x503685;_0x10a9ea['id']===u[_0xc8c578(0x18e)]['OTHER_CLIENT_EDITING']&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x21d)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)]['Warning'],'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0xb2))}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x226)]&&this['_notificationService'][_0xc8c578(0x15c)]({'title':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x10b)),'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x7f)),'type':_0xc8c578(0x272),'duration':0x0}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x97)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0xcd)],'content':this['_localeService']['t'](_0xc8c578(0xb2))+'('+_0x10a9ea[_0xc8c578(0x10f)]+')'}),_0x10a9ea['id']===u['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0xc8c578(0x208)]['show']({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t'](_0x10a9ea['data']||'')}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0xa8)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t'](_0xc8c578(0x172))}),_0x10a9ea['id']===u['CollaborationUIEventId'][_0xc8c578(0x164)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)]['Error'],'content':this['_localeService']['t'](_0xc8c578(0x2b1))}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x207)]&&this[_0xc8c578(0x208)]['show']({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0xcd)],'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x268))});}));}};function _0x2824(){const _0x283e60=['SNAPSHOT_INVALID_SNAPSHOT','_drawTextRange','body','UniverCollaborationClientPlugin','fillStyle','invokeId','_eventUnsubscribe','NodePositionConvertToRectRange','_docStateChangeManagerService','DeleteRangeMoveUpCommandId','override','defs','_anchorDot','_assignedColors','deepClone','_anchor','runId','getSheetId','_unitOnClients','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','round','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','post','98zerMGd','2989266oEriRd','_shapes','APPLY_REJECT','InsertColCommandId','univer-flex\x20univer-mr-2\x20univer-text-xl','isArray','startsWith','_scene','_collabCursorController','engine','name','call','LICENSE_EXPORT_SIZE_EXCEEDED','createElement','_cachedData','_transformUndoRedoStack','subunit','attrs','DesktopCollaborationStatusDisplayController','InsertRangeMoveRightCommandId','_init','parse','getCoordByCell','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple.300','textRanges','1130412LvHjhj','handleIRemoveRow','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','transformRemoteChangeset','TEXT','black','_logService','result','getAncestorScale','_saveTaskMap','@univerjs/sheets-ui','path','entityInit$','APPLY_DUPLICATED','idSuffix','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL','registerRenderModule','getCurrentUnitForType','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','registerRefRange','addObjects','setActiveRange','ENSURE_SNAPSHOT_EXECUTION','UnitStatus','INVITE_CODE_HAS_BEEN_UES','focused$','unitId','_dataLoaderService','useDependency','IConfigService','type','_ensureSubject','lineTo','onPointerEnter$','DOC_RANGE_TYPE','UNIVER_SHEET','_colorAssignService','endRow','NOT_FOUND','Warning','getSheetBySheetId','entries','mergeOverrideWithDependencies','UNAUTHENTICATED','_color','subUnitId','univer-flex\x20univer-items-center','SheetSkeletonManagerService','skeleton','_transformService','min','AWAITING_WITH_PENDING','InsertRangeMoveDownCommandId','@univerjs/network','registerDependencies','SUBMIT_CHANGESET_TIMEOUT','_messageService','selections','unsubscribe','_getScale','get','clsx','string','jiqing.500','IBeforeCloseService','closePath','YUUMI_SUBSCRIPTION_NOT_FOUND','handleInsertRangeMoveRight','apply','MoveRangeCommandId','fromEvent','HTTPService','RECT','SetSelectionsOperation','use','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fill','CLOSE_ROOM','NodePositionConvertToCursor','_localStorageService','toString','@univerjs-pro/collaboration-client','#fff','LocaleService','combineLatest','_initResize','PERMISSION_DENIED','getUniverSheetInstance','defineProperty','popstate','_session','concat','FETCH_MISS','setConfig','replace','@univerjs/sheets','loadUnit','DocCollaborationEntity','push','dispose','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_disabled','doc.mutation.rich-text-editing','3950152aebfnS','on-line-single_clip0_910_349','IDocClipboardService','UniverCollaborationClientUIPlugin','onPointerMove$','setAlpha','3810639HKGBMW','substring','COLORS','subscribeEvent','map','_range','_docTransformIMECacheService','collabStatus.conflict','TOO_MANY_REQUESTS','_beforeCloseService','clipPath','_configService','isEditing','_urlService','text','debug','EffectRefRangId','none','_hovered','delete','backgroundColor','MemberService','setShapeProps','some','activeSheet$','_localeService','[CollaborationDataLoaderController]','_imageIoService','CollaborationDataLoaderController','_hover','_selfUnitIDs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','throttleTime','_toggleOffline','ISocketService','font','propertyIsEnumerable','getSheetObject','/run/','_online','collaboration-client.offline-data-not-saved','collabStatus.notCollab','size','session.collaboration-timeout','values','getMemberID','syncEditingCollabCursor','COMPLETION_FINISHED','toDisposable','params','AWAITING','setInterval','@univerjs/rpc','error','DocStateChangeManagerService','_updateCollabCursors','getOwnPropertyDescriptor','RevisionService','m2Prime','replaceState','HEADER_MENU','PY_RUNTIME_SCRIPT_ERROR','getColorFromTheme','_startSheetCollabCursor','_refreshCollabCursors','url(#off-line-single_clip0_910_343)','_createSocketURL','getUnitId','...','YUUMI_URL_COL_OUT_OF_RANGE','INVALID_ARGUMENT','OnLineSingle','_id','collabStatus.synced','xlink:href','generateRandomId','Plugin','set','resize','Inject','location','USERS_LEAVE','getMember','_clearOtherTimers','getCollabCursors$','SHEET_VIEWPORT_KEY','getTypeOfUnitDisposed$','Rect','rxjs','DocIMEInputManagerService','urlChange$','registerComponent','forEach','loadOfflineData','pipe','off-line-single','CollaborationSessionService','getOwnPropertySymbols','createInstance','onCommandExecuted','CollaborationUIEventService','_removeCollabCursors','getFocusedUnit','defIds','reconnect','WebURLService','collab-text-anchor-','IURLService','measureText','init','imageSourceType','collab-client.tooltip.reconnect','UPDATE_CURSOR','then','getValue','transformByState','session.connection-failed','SNAPSHOT_HAS_BEEN_REMOVED','mutations','_renderManagerService','runRefRangeMutations','currentTheme$','15FKsfIE','transformIMECache','asObservable','row','getSkeleton','0\x200\x2016\x2016','@univerjs/ui','RemoteUniscriptService','deserializeRangeWithSheet','univerjs-icon\x20univerjs-icon-','TEXT_RANGE_LAYER_INDEX','getConfig','_setupBeforeClosingHandler','INVITE_CODE_REQUIRED','length','_getAnchorBounding','MessageType','assign','Unknown\x20user','isActive','green.600','Workbook','_send','Tools','getUnitStatus$','Optional','colorChannel1','APPLY_PERMISSION_DENIED','hide','UNDEFINED','transform','cursorInfo$','99FDPYiq','1nyByKi','_registerDependencies','url(#$1','_docSyncEditingCollabCursorService','indexOf','getTypeOfUnitAdded$','m1Prime','_initStatusListener','toStringTag','filter','OFFLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_unitStatus','unitID','url(#on-line-single_clip0_910_349)','flatMap','_cursor','DisposableCollection','ILocalCacheService','hovered','forwardRef','ranges','extend','_localCacheService','ColorKit','_roomMembers$','sessionStatus$','_initEntityListener','YUUMI_UNABLE_LOAD_URL','requireSession','searchParams','_transformHistoryAndStateStack','_updateLocalCursor','shareReplay','getActiveRange','split','onRendered','CollaborationController','subscribe','_draw','max','getUndoRedoMutationParamsCache','function','getRangePointData','permission.content','UniverInstanceType','find','_docSkeletonManagerService','height','SetWorksheetActivateCommand','createIdentifier','_initStatusComponent','enableLocalCache','_cursorInfo$','prototype','roomMembers$','moveTo','sessionTicket','WebSocketService','ticket','findNodePositionByCharIndex','@univerjs/design','current','getActiveSheet','WECHAT_HAS_BEEN_BOUND','_entities','ACTIVE_UNIT_EVENT_CHANNEL','_updateSubUnitFromURLParams','CONFLICT','handleInsertCol','unit','_getSaveTimeout','_drawRectRange','trim','RxDisposable','M0\x200H16V16H0z','IUniverInstanceService','restore','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','eventID','onPointerLeave$','_cursors','symbol','UNRECOGNIZED','SOCKET_FAILED_RETRY','ISnapshotServerService','34016IIFjJm','exhaustSavingTask','Disposable','CollaborationSocketService','sheetId','debounce','assignAColorForMemberID','MOBILE_HAS_BEEN_BOUND','collaboration.closeRoom','_toggleOnline','WebBrowserSingleActiveUnitService','_registerRenderDependencies','children','@univerjs/engine-render','code','width','NOT_COLLAB','next','BuiltInUIPart','_lastPointer','@univerjs/engine-formula','drawWith','_scheduleSaving','color','_entityInit$','executeCommand','getItem','DataLoaderService','history','_context','off-line-single_clip0_910_343','_colorIndex','saveImage','onTransformChange$','dispose$','Error','collab-text-range-','_httpService','stringify','clearInterval','event$','with','setParam','ThemeService','_onRefRangeChange','collabStatus.syncing','serializeRangeWithSheet','onMouseMove','LOGIN_FAILED','_textBubble','getDocRanges','takeUntil','isTransformMutationsWithChangesetSuccess','_collabCursorState$','_onCursorDelete','_docSkeleton','@univerjs/docs-ui','removeParam','DEFAULT_WS_SESSION_TICKET_URL','_document','column','transformSelections','div','hasOwnProperty','undoState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DocSelectionManagerService','ILogService','sheetID','_handleHeartbeatEvent','collabStatus.fetchMiss','CollaborationEvent','6290307wAkbjo','_initEvent','_startDocCollabCursor','currentColor','RegularPolygon','_heartbeatTimer','translate(.97)','uni.network.url-service','MUTATION','FromArray','SheetCollabCursorShape','saveTaskMap','mapTo','rxjs/operators','_collabSessionService','getParam','Injector','useObservable','_updateURLWithCurrentState','_initDependencies','runOnServer','_cursorShapes','selection','_univerInstanceService','_labelPosition','permission.title','_refRangeService','collabCursorState$','yellow.400','data','ICommandService','evenodd','handleIRemoveCol','unload','getLocalCacheKey','getRenderById','merge','IRenderManagerService','_collaborationController','transformStateCache','_memberService','_onCursorUpdate','fillText','_handleJoinEvent','CollaborationStatus','range','getCellPositionByOffset','getStateCache','_setupSubUnitSync','CollaborationStatusDisplay','pushState','red.300','_injector','whenReady','LOCAL_CACHE_INTERVAL_KEY','ITransformService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','tag','_name','RemoveRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','search','_themeService','USER_NOT_INVITED_CODE','newValue','884050YrFnJj','setTimeout','Shape','_getSessionTicket','LICENSE_MAX_UNITS_EXCEEDED','cursorInfo','Rectangle','getColor','INTERNAL_ERROR','clearTimeout','displayName','_syncEditingCollabCursorService','top','currentSkeleton$','status$','_render','UNIVER_DOC','YUUMI_ASYNCIO_CANCELLED','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','unshift','rgba(255,\x20255,\x20255,\x200.01)','updateOfflineData','InsertRowCommandId','debounceTime','SetDocZoomRatioOperation','complete','mask','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','add','setUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','triggerDblclick','_docTransformStateCacheService','jsx','handleInsertRangeMoveDown','TRANSFORM_CHANGE_OBSERVABLE_TYPE','addObject','_handleHover','Vector2','show','RefRangeService','from','_hideTimer','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','getVpScrollXYInfoByPosToVp','_docTransformSelectionsService','SOCKET_FAILED','pluginName','_handleEvent','#FFF','_transformPreviousActiveRange','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','_backgroundColor','toRgbString','ALREADY_EXISTS','BehaviorSubject','UniverIcon','PENDING','addHandlerCallback','_getMergeRange','session.will-retry','disposeWithMe','_commandService','BrowserCollaborationSocketService','_instanceService','_scheduleClearOtherTimer','collabStatus.offline','_status$','react/jsx-runtime','save','_docClipboardService','LICENSE_IMPORT_SIZE_EXCEEDED','ONLINE','isTransformMutationFailure','arc','send','APPLY_REVISION_CONFILICT','_config','key','Failed','jsxs','_collaborationUIEventService','href','_getSheetObject','_scheduleHeartbeat','SessionStatus','1em','Tooltip','CollaborationUIEventId','0\x200\x2017\x2016','_doCreateSocket','setItem','DependentOn','INVALID_INVITE_CODE','_initCommandExecutedListener','transformMutation','RichTextEditingMutation','has','disposeUnit','_handleLeaveEvent','icon'];_0x2824=function(){return _0x283e60;};return _0x2824();}q=yt([y(0x0,T[_0x48e5bc(0x210)]),y(0x1,u[_0x48e5bc(0x2ea)]),y(0x2,a['Inject'](u[_0x48e5bc(0x2a1)])),y(0x3,T['IMessageService']),y(0x4,T['INotificationService']),y(0x5,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x223)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x48e5bc(0x85)](_0x48e5bc(0xf9));var xt=Object[_0x48e5bc(0x275)],jt=(_0x2c3c3f,_0x36b22d,_0x18a75c,_0x50c2f0)=>{const _0x33e8a5=_0x48e5bc;for(var _0x16081f=_0x50c2f0>0x1?void 0x0:_0x50c2f0?xt(_0x36b22d,_0x18a75c):_0x36b22d,_0x55480e=_0x2c3c3f[_0x33e8a5(0x2c5)]-0x1,_0x930ef1;_0x55480e>=0x0;_0x55480e--)(_0x930ef1=_0x2c3c3f[_0x55480e])&&(_0x16081f=_0x930ef1(_0x16081f)||_0x16081f);return _0x16081f;},H=(_0x3cb7f8,_0xab1288)=>(_0x4214fb,_0x55ddf0)=>_0xab1288(_0x4214fb,_0x55ddf0,_0x3cb7f8);exports[_0x48e5bc(0x259)]=class extends a[_0x48e5bc(0x9d)]{constructor(_0x55e712,_0x5e602a,_0x275714,_0x2dbb0b,_0x237678){const _0x31cdd4=_0x48e5bc;super(),this[_0x31cdd4(0x24a)]=_0x55e712,this[_0x31cdd4(0x1d4)]=_0x5e602a,this[_0x31cdd4(0x174)]=_0x275714,this['_dataLoaderService']=_0x2dbb0b,_0x237678?_0x237678==null||_0x237678[_0x31cdd4(0x127)]()['then'](()=>this[_0x31cdd4(0x1c8)]()):(this[_0x31cdd4(0x1d4)][_0x31cdd4(0x24c)](_0x31cdd4(0x257),_0x31cdd4(0x234)),this[_0x31cdd4(0x1c8)]());}async[_0x48e5bc(0x1c8)](){const _0x259058=_0x48e5bc,_0x1f7fb3=this[_0x259058(0x24a)][_0x259058(0x101)](_0x259058(0x99)),_0x3f6216=this['_urlService']['getParam'](_0x259058(0x1ee)),_0x135a38=this[_0x259058(0x24a)][_0x259058(0x101)]('subunit');if(!_0x1f7fb3||!_0x3f6216){this[_0x259058(0x1d4)][_0x259058(0x24c)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x45230f=await this[_0x259058(0x1eb)][_0x259058(0x230)](_0x1f7fb3,Number(_0x3f6216),_0x135a38);_0x45230f&&_0x45230f instanceof a[_0x259058(0x2cc)]&&this['_setupSubUnitSync'](_0x45230f);}async[_0x48e5bc(0x122)](_0x472e18){const _0x5eb7a2=_0x48e5bc;await this[_0x5eb7a2(0x96)](_0x472e18),_0x472e18[_0x5eb7a2(0x255)][_0x5eb7a2(0x29b)](d['takeUntil'](this['dispose$']))[_0x5eb7a2(0x2fe)](_0xcf537e=>{_0xcf537e&&this['_updateURLWithCurrentState'](_0xcf537e);}),this['_urlService'][_0x5eb7a2(0x297)][_0x5eb7a2(0x29b)](d[_0x5eb7a2(0xdd)](this[_0x5eb7a2(0xcc)]))[_0x5eb7a2(0x2fe)](()=>this[_0x5eb7a2(0x96)](_0x472e18));}[_0x48e5bc(0x104)](_0x26c317,_0x18ef31=!0x1){const _0x1d42de=_0x48e5bc,_0x29096d=this[_0x1d42de(0x24a)][_0x1d42de(0x101)](_0x1d42de(0x1c4));_0x26c317['getSheetId']()!==_0x29096d&&this[_0x1d42de(0x24a)][_0x1d42de(0xd4)](_0x1d42de(0x1c4),_0x26c317[_0x1d42de(0x1ac)](),_0x18ef31);}async[_0x48e5bc(0x96)](_0x175ffd){const _0x3f4005=_0x48e5bc;var _0x15f9e0;const _0x266f5d=this[_0x3f4005(0x24a)][_0x3f4005(0x101)](_0x3f4005(0x1c4));if(!_0x266f5d||!_0x175ffd['getSheetBySheetId'](_0x266f5d)){const _0x36fedb=_0x175ffd['getUnhiddenWorksheets']()[0x0],_0x419239=_0x175ffd[_0x3f4005(0x1f8)](_0x36fedb);if(!_0x419239)return;this[_0x3f4005(0x104)](_0x419239,!0x0),await this[_0x3f4005(0x174)][_0x3f4005(0xc3)](g[_0x3f4005(0x84)]['id'],{'unitId':_0x175ffd[_0x3f4005(0x280)](),'subUnitId':_0x36fedb});return;}((_0x15f9e0=_0x175ffd[_0x3f4005(0x92)]())==null?void 0x0:_0x15f9e0['getSheetId']())!==_0x266f5d&&await this['_commandService'][_0x3f4005(0xc3)](g[_0x3f4005(0x84)]['id'],{'unitId':_0x175ffd[_0x3f4005(0x280)](),'subUnitId':_0x266f5d});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x48e5bc(0xed)]),H(0x2,a[_0x48e5bc(0x110)]),H(0x3,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0xc5)])),H(0x4,a[_0x48e5bc(0x2d0)](Ke['IRemoteInstanceService']))],exports[_0x48e5bc(0x259)]);var Bt=Object[_0x48e5bc(0x275)],kt=(_0x49f80e,_0x46c9e1,_0x144d3b,_0x551be9)=>{for(var _0x21df55=_0x551be9>0x1?void 0x0:_0x551be9?Bt(_0x46c9e1,_0x144d3b):_0x46c9e1,_0x7f460d=_0x49f80e['length']-0x1,_0x545904;_0x7f460d>=0x0;_0x7f460d--)(_0x545904=_0x49f80e[_0x7f460d])&&(_0x21df55=_0x545904(_0x21df55)||_0x21df55);return _0x21df55;},ce=(_0x58958b,_0x4e5775)=>(_0x1c73d1,_0x5ea788)=>_0x4e5775(_0x1c73d1,_0x5ea788,_0x58958b);let z=class{constructor(_0x47d379,_0x561d0a,_0x32f2a0){const _0x297270=_0x48e5bc;this[_0x297270(0x126)]=_0x47d379,this[_0x297270(0x201)]=_0x561d0a,this[_0x297270(0x2b4)]=_0x32f2a0;}[_0x48e5bc(0x2b8)](_0x36d8c1){const _0x55d30e=_0x48e5bc;this['_transformUndoRedoStack'](_0x36d8c1),this[_0x55d30e(0x168)](_0x36d8c1);}[_0x48e5bc(0x1d1)](_0x2c2390){const _0xdc243c=_0x48e5bc,{unitID:_0x4616b3}=_0x2c2390,_0x2b937c=this[_0xdc243c(0x2b4)]['getRenderById'](_0x4616b3)[_0xdc243c(0xd3)](b[_0xdc243c(0x296)]),{redoCache:_0x2d9a07}=_0x2b937c[_0xdc243c(0x301)]();if(_0x2d9a07[_0xdc243c(0x2c5)]===0x0)return _0x2c2390;let _0x3a7368=a[_0xdc243c(0x2ce)][_0xdc243c(0x1a9)](_0x2c2390[_0xdc243c(0x2b3)][0x0]);for(let _0x34847a=0x0;_0x34847a<_0x2d9a07[_0xdc243c(0x2c5)];_0x34847a++){const _0xa34a84={'id':_0xdc243c(0x236),'params':{..._0x2d9a07[_0x34847a]}},_0x6f34c2=this['_transformService'][_0xdc243c(0x195)](_0x3a7368,_0xa34a84,!0x1);if(m[_0xdc243c(0x17f)](_0x6f34c2))throw _0x6f34c2['error'];_0x3a7368=_0x6f34c2[_0xdc243c(0x2de)];}return{...a[_0xdc243c(0x2ce)][_0xdc243c(0x1a9)](_0x2c2390),'mutations':[_0x3a7368]};}[_0x48e5bc(0x1c3)](_0x1824b6){const _0x48e3eb=_0x48e5bc,{unitID:_0x13993b}=_0x1824b6,_0x4c2d43=this[_0x48e3eb(0x2b4)][_0x48e3eb(0x115)](_0x13993b)[_0x48e3eb(0xd3)](b[_0x48e3eb(0x296)]),{undoCache:_0x5ee7b4,redoCache:_0x577696}=_0x4c2d43[_0x48e3eb(0x301)]();if(_0x5ee7b4[_0x48e3eb(0x2c5)]===0x0||_0x577696['length']===0x0)return;const _0x4cf00f=[],_0x1c494a=[];let _0xe63b8e=a[_0x48e3eb(0x2ce)][_0x48e3eb(0x1a9)](_0x1824b6['mutations'][0x0]),_0x3406b4=a[_0x48e3eb(0x2ce)]['deepClone'](_0x1824b6[_0x48e3eb(0x2b3)][0x0]);for(let _0x16254a=_0x5ee7b4['length']-0x1;_0x16254a>=0x0;_0x16254a--){const _0x2ea0ff={'id':_0x48e3eb(0x236),'params':{..._0x5ee7b4[_0x16254a]}},_0x516011={'id':_0x48e3eb(0x236),'params':{..._0x577696[_0x16254a]}},_0x36dabe=this['_transformService'][_0x48e3eb(0x195)](_0xe63b8e,_0x2ea0ff,!0x1),_0x5686d6=this[_0x48e3eb(0x201)][_0x48e3eb(0x195)](_0x3406b4,_0x516011,!0x1);if(m[_0x48e3eb(0x17f)](_0x36dabe))throw _0x36dabe[_0x48e3eb(0x272)];if(m[_0x48e3eb(0x17f)](_0x5686d6))throw _0x5686d6[_0x48e3eb(0x272)];_0x4cf00f[_0x48e3eb(0x147)](_0x36dabe[_0x48e3eb(0x277)]['params']),_0x1c494a[_0x48e3eb(0x147)](_0x5686d6['m2Prime'][_0x48e3eb(0x26e)]),_0xe63b8e=_0x36dabe[_0x48e3eb(0x2de)],_0x3406b4=_0x5686d6[_0x48e3eb(0x2de)];}_0x4c2d43[_0x48e3eb(0x152)]({'undoCache':_0x4cf00f,'redoCache':_0x1c494a});}[_0x48e5bc(0x168)](_0x17b876){const _0x49ff0f=_0x48e5bc,{unitID:_0x2b90a8}=_0x17b876,_0x3d9726=this['_renderManagerService']['getRenderById'](_0x2b90a8)[_0x49ff0f(0xd3)](b[_0x49ff0f(0x296)]),_0x1ab483=_0x3d9726[_0x49ff0f(0x2fa)]();if(_0x1ab483==null)return;const _0x719554=[{'id':_0x49ff0f(0x236),'params':{'unitId':_0x17b876['unitID'],'actions':null,'textRanges':[_0x1ab483]}}],_0x227243=this['_transformService']['transformMutationsWithChangeset'](_0x17b876,_0x719554);if(!m[_0x49ff0f(0xde)](_0x227243))throw _0x227243['error'];const _0x231c68=_0x227243['m2Prime'][0x0][_0x49ff0f(0x26e)]['textRanges'];Array[_0x49ff0f(0x1b9)](_0x231c68)&&_0x231c68['length']&&_0x3d9726[_0x49ff0f(0x1e5)](_0x231c68[0x0]);}};z=kt([ce(0x0,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),ce(0x1,m[_0x48e5bc(0x129)]),ce(0x2,p[_0x48e5bc(0x117)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0xad09df,_0x8e87c5,_0x1535e4,_0x326c6b)=>{for(var _0x19b567=_0x326c6b>0x1?void 0x0:_0x326c6b?Ht(_0x8e87c5,_0x1535e4):_0x8e87c5,_0x1f1f28=_0xad09df['length']-0x1,_0x24d854;_0x1f1f28>=0x0;_0x1f1f28--)(_0x24d854=_0xad09df[_0x1f1f28])&&(_0x19b567=_0x24d854(_0x19b567)||_0x19b567);return _0x19b567;},le=(_0x16b1a1,_0x5b9ff8)=>(_0x24fec4,_0x4a4446)=>_0x5b9ff8(_0x24fec4,_0x4a4446,_0x16b1a1);let J=class{constructor(_0x4e1ff1,_0x4009cf,_0x31d66d){const _0xfa81cf=_0x48e5bc;this[_0xfa81cf(0x126)]=_0x4e1ff1,this['_transformService']=_0x4009cf,this[_0xfa81cf(0x1a3)]=_0x31d66d;}[_0x48e5bc(0x119)](_0x4dc118){const _0x4c4538=_0x48e5bc;this[_0x4c4538(0x2f7)](_0x4dc118);}[_0x48e5bc(0x1d1)](_0x4ec304){const _0x6aae36=_0x48e5bc,{unitID:_0x4af69b}=_0x4ec304,{collaboration:_0x2c5ea9}=this[_0x6aae36(0x1a3)][_0x6aae36(0x121)](_0x4af69b);if(_0x2c5ea9[_0x6aae36(0x2c5)]===0x0)return _0x4ec304;let _0x10c922=a['Tools'][_0x6aae36(0x1a9)](_0x4ec304[_0x6aae36(0x2b3)][0x0]);for(let _0x420b79=0x0;_0x420b79<_0x2c5ea9[_0x6aae36(0x2c5)];_0x420b79++){const _0x288e32={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c5ea9[_0x420b79]['unitId'],..._0x2c5ea9[_0x420b79]['redoState']}},_0xceef18=this[_0x6aae36(0x201)][_0x6aae36(0x195)](_0x10c922,_0x288e32,!0x1);if(m[_0x6aae36(0x17f)](_0xceef18))throw _0xceef18['error'];_0x10c922=_0xceef18['m1Prime'];}return{...a[_0x6aae36(0x2ce)][_0x6aae36(0x1a9)](_0x4ec304),'mutations':[_0x10c922]};}[_0x48e5bc(0x2f7)](_0x2c8a2b){const _0x5ea615=_0x48e5bc,{unitID:_0x563b1e}=_0x2c8a2b,{history:_0x2b0591,collaboration:_0x2b0f11}=this[_0x5ea615(0x1a3)][_0x5ea615(0x121)](_0x563b1e);if(_0x2b0591['length']===0x0&&_0x2b0f11[_0x5ea615(0x2c5)]===0x0)return;const _0x1b10af=[],_0x219969=[];let _0x1e69a0=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b[_0x5ea615(0x2b3)][0x0]),_0x5ac24a=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b['mutations'][0x0]);for(let _0x453c2c=_0x2b0591[_0x5ea615(0x2c5)]-0x1;_0x453c2c>=0x0;_0x453c2c--){const _0x2b8c9a={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0591[_0x453c2c][_0x5ea615(0x1ea)],..._0x2b0591[_0x453c2c][_0x5ea615(0xea)]}},_0x56bd95={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0591[_0x453c2c][_0x5ea615(0x1ea)],..._0x2b0591[_0x453c2c]['redoState']}},_0x4bb0ce=this[_0x5ea615(0x201)][_0x5ea615(0x195)](_0x1e69a0,_0x2b8c9a,!0x1),_0x68f1a0=this['_transformService'][_0x5ea615(0x195)](_0x5ac24a,_0x56bd95,!0x1);if(m[_0x5ea615(0x17f)](_0x4bb0ce))throw _0x4bb0ce[_0x5ea615(0x272)];if(m[_0x5ea615(0x17f)](_0x68f1a0))throw _0x68f1a0[_0x5ea615(0x272)];_0x1b10af[_0x5ea615(0x147)]({..._0x2b0591[_0x453c2c],'undoState':_0x4bb0ce[_0x5ea615(0x277)][_0x5ea615(0x26e)],'redoState':_0x68f1a0[_0x5ea615(0x277)][_0x5ea615(0x26e)]}),_0x1e69a0=_0x4bb0ce[_0x5ea615(0x2de)],_0x5ac24a=_0x68f1a0[_0x5ea615(0x2de)];}_0x1e69a0=a[_0x5ea615(0x2ce)][_0x5ea615(0x1a9)](_0x2c8a2b[_0x5ea615(0x2b3)][0x0]),_0x5ac24a=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b['mutations'][0x0]);for(let _0x2ed73a=_0x2b0f11[_0x5ea615(0x2c5)]-0x1;_0x2ed73a>=0x0;_0x2ed73a--){const _0x2b9e0a={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0f11[_0x2ed73a]['unitId'],..._0x2b0f11[_0x2ed73a][_0x5ea615(0xea)]}},_0x394365={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0f11[_0x2ed73a][_0x5ea615(0x1ea)],..._0x2b0f11[_0x2ed73a]['redoState']}},_0x4c318d=this[_0x5ea615(0x201)]['transformMutation'](_0x1e69a0,_0x2b9e0a,!0x1),_0x503152=this[_0x5ea615(0x201)]['transformMutation'](_0x5ac24a,_0x394365,!0x1);if(m[_0x5ea615(0x17f)](_0x4c318d))throw _0x4c318d['error'];if(m[_0x5ea615(0x17f)](_0x503152))throw _0x503152['error'];_0x219969[_0x5ea615(0x147)]({..._0x2b0f11[_0x2ed73a],'undoState':_0x4c318d[_0x5ea615(0x277)][_0x5ea615(0x26e)],'redoState':_0x503152[_0x5ea615(0x277)]['params']}),_0x1e69a0=_0x4c318d[_0x5ea615(0x2de)],_0x5ac24a=_0x503152[_0x5ea615(0x2de)];}this['_docStateChangeManagerService']['setStateCache'](_0x563b1e,{'history':_0x1b10af,'collaboration':_0x219969});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x48e5bc(0x129)]),le(0x2,a[_0x48e5bc(0x28c)](b[_0x48e5bc(0x273)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0xc6f4f2,_0x827186,_0xb2657e,_0x9debd0)=>{const _0x31f601=_0x48e5bc;for(var _0x59e84e=_0x9debd0>0x1?void 0x0:_0x9debd0?Yt(_0x827186,_0xb2657e):_0x827186,_0x58b9de=_0xc6f4f2[_0x31f601(0x2c5)]-0x1,_0x12132f;_0x58b9de>=0x0;_0x58b9de--)(_0x12132f=_0xc6f4f2[_0x58b9de])&&(_0x59e84e=_0x12132f(_0x59e84e)||_0x59e84e);return _0x59e84e;},Ne=(_0x32dea2,_0x103980)=>(_0x1c59a5,_0x5631d1)=>_0x103980(_0x1c59a5,_0x5631d1,_0x32dea2);let Z=class{constructor(_0x7b7d30,_0x3ea59c){const _0x29e4cb=_0x48e5bc;this[_0x29e4cb(0x126)]=_0x7b7d30,this['_transformService']=_0x3ea59c;}[_0x48e5bc(0xe7)](_0x25d13d){const _0x4aed2b=_0x48e5bc;var _0x239e51;const _0x56bd2b=this[_0x4aed2b(0x126)][_0x4aed2b(0x20c)](Y['DocSelectionManagerService']),_0x3a5426=(_0x239e51=_0x56bd2b[_0x4aed2b(0xdc)]())!=null?_0x239e51:[];if(_0x3a5426[_0x4aed2b(0x2c5)]===0x0)return;const _0x3b08bb=_0x25d13d[_0x4aed2b(0x2e5)],_0x210f9e=[{'id':_0x4aed2b(0x236),'params':{'unitId':_0x3b08bb,'actions':null,'textRanges':_0x3a5426}}],_0x3f1e4c=this['_transformService']['transformMutationsWithChangeset'](_0x25d13d,_0x210f9e);if(!m[_0x4aed2b(0xde)](_0x3f1e4c))throw _0x3f1e4c[_0x4aed2b(0x272)];const _0x34f02c=_0x3f1e4c[_0x4aed2b(0x277)][0x0][_0x4aed2b(0x26e)]['textRanges'];Array[_0x4aed2b(0x1b9)](_0x34f02c)&&_0x34f02c[_0x4aed2b(0x2c5)]&&_0x56bd2b['replaceDocRanges'](_0x34f02c,{'unitId':_0x3b08bb,'subUnitId':_0x3b08bb},!0x1);}};Z=Wt([Ne(0x0,a[_0x48e5bc(0x28c)](a['Injector'])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x48e5bc(0x275)],Xt=(_0x4a7408,_0x326f5a,_0x51f675,_0x25a8ca)=>{for(var _0x59fe3d=_0x25a8ca>0x1?void 0x0:_0x25a8ca?Vt(_0x326f5a,_0x51f675):_0x326f5a,_0x3fe1e8=_0x4a7408['length']-0x1,_0x5cb419;_0x3fe1e8>=0x0;_0x3fe1e8--)(_0x5cb419=_0x4a7408[_0x3fe1e8])&&(_0x59fe3d=_0x5cb419(_0x59fe3d)||_0x59fe3d);return _0x59fe3d;},N=(_0x5b06c0,_0x299208)=>(_0x5b4312,_0x7b577f)=>_0x299208(_0x5b4312,_0x7b577f,_0x5b06c0);let Q=class extends a[_0x48e5bc(0xac)]{constructor(_0x57095a,_0x12f51b,_0x2a6ea6,_0x43f68f,_0x525403,_0xc8e780,_0x31ee57,_0x2c18eb){const _0x3cb2b8=_0x48e5bc;super(),h(this,_0x3cb2b8(0x179),new d[(_0x3cb2b8(0x16d))](u['CollaborationStatus'][_0x3cb2b8(0xba)])),(this[_0x3cb2b8(0x1a3)]=_0x57095a,this[_0x3cb2b8(0x118)]=_0x12f51b,this[_0x3cb2b8(0x243)]=_0x2a6ea6,this[_0x3cb2b8(0x155)]=_0x43f68f,this[_0x3cb2b8(0x163)]=_0x525403,this[_0x3cb2b8(0x2db)]=_0xc8e780,this[_0x3cb2b8(0x208)]=_0x31ee57,this[_0x3cb2b8(0x256)]=_0x2c18eb,this[_0x3cb2b8(0x2f3)]());}['_initEntityListener'](){const _0x27ba1d=_0x48e5bc;this[_0x27ba1d(0x173)](this['_collaborationController'][_0x27ba1d(0x1da)][_0x27ba1d(0x2fe)](_0x1dc532=>{const _0x333767=_0x27ba1d,_0x235412=this[_0x333767(0x1a3)]['docStateChange$'][_0x333767(0x2fe)](_0x516214=>{const _0x55ff1c=_0x333767;if(_0x516214==null)return;const {unitId:_0x4a94b0,redoState:_0x2c9c37,commandId:_0x3cab48}=_0x516214;if(_0x4a94b0!==_0x1dc532[_0x55ff1c(0x2e5)])return;const _0x59452f={'id':_0x3cab48,'type':a['CommandType'][_0x55ff1c(0xfa)],'params':{'unitId':_0x4a94b0,'actions':_0x2c9c37['actions'],'textRanges':null}};_0x1dc532['onLocalMutation'](_0x59452f);});if(_0x1dc532[_0x333767(0x173)](_0x235412),_0x1dc532 instanceof u[_0x333767(0x231)]){const _0x235ff2={'onTransformIME':_0x5d2539=>this[_0x333767(0x243)][_0x333767(0x2b8)](_0x5d2539),'onTransformState':_0x3479bf=>this[_0x333767(0x155)][_0x333767(0x119)](_0x3479bf),'onTransformSelections':_0x54ea47=>this['_docTransformSelectionsService']['transformSelections'](_0x54ea47),'onSyncEditingCollabCursor':_0x24df37=>this['_docSyncEditingCollabCursorService'][_0x333767(0x26b)](_0x24df37),'onTransformRemoteChangesetByIMECache':_0x17e8d4=>this[_0x333767(0x243)][_0x333767(0x1d1)](_0x17e8d4),'onTransformRemoteChangesetByStateCache':_0x572ae3=>this[_0x333767(0x155)][_0x333767(0x1d1)](_0x572ae3)};_0x1dc532[_0x333767(0x170)](_0x235ff2);}}));}};Q=Xt([N(0x0,a[_0x48e5bc(0x28c)](b[_0x48e5bc(0x273)])),N(0x1,a['Inject'](u[_0x48e5bc(0x2fd)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x48e5bc(0x28c)](J)),N(0x4,a[_0x48e5bc(0x28c)](Z)),N(0x5,a[_0x48e5bc(0x28c)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x48e5bc(0x28c)](a['LocaleService']))],Q);var Gt=Object[_0x48e5bc(0x275)],Kt=(_0x5de873,_0x2069ca,_0x1103c5,_0x21e7f4)=>{const _0x5a59a3=_0x48e5bc;for(var _0x34890a=_0x21e7f4>0x1?void 0x0:_0x21e7f4?Gt(_0x2069ca,_0x1103c5):_0x2069ca,_0xaebe88=_0x5de873[_0x5a59a3(0x2c5)]-0x1,_0x4e5526;_0xaebe88>=0x0;_0xaebe88--)(_0x4e5526=_0x5de873[_0xaebe88])&&(_0x34890a=_0x4e5526(_0x34890a)||_0x34890a);return _0x34890a;},_e=(_0x44cc6d,_0x3ae63c)=>(_0x2e6b9a,_0x4b83e6)=>_0x3ae63c(_0x2e6b9a,_0x4b83e6,_0x44cc6d);let ge=class extends a[_0x48e5bc(0xac)]{constructor(_0x4533ed,_0x5750ec,_0x59698e){const _0x1b84d4=_0x48e5bc;super(),h(this,_0x1b84d4(0x1c2),new Map()),h(this,_0x1b84d4(0x1d7),new Map()),h(this,_0x1b84d4(0x235),!0x1),(this[_0x1b84d4(0x248)]=_0x4533ed,this[_0x1b84d4(0x21f)]=_0x5750ec,this['_revisionService']=_0x59698e);}['disableLocalCache'](){const _0x222eed=_0x48e5bc;this[_0x222eed(0x235)]=!0x0;}[_0x48e5bc(0x87)](){const _0x1f0fd7=_0x48e5bc;this[_0x1f0fd7(0x235)]=!0x1;}get[_0x48e5bc(0xfd)](){const _0x2e53fe=_0x48e5bc;return this[_0x2e53fe(0x1d7)];}['dispose'](){const _0x40b95e=_0x48e5bc;this[_0x40b95e(0xab)]()[_0x40b95e(0x2ae)](()=>super['dispose']());}async[_0x48e5bc(0x29a)](_0xcd4f9f){const _0x13eae5=_0x48e5bc;return this[_0x13eae5(0x235)]?null:this['_localStorageService'][_0x13eae5(0xc4)](u[_0x13eae5(0x114)](_0xcd4f9f));}async['saveOfflineData'](_0x110e62,_0x410858){return!!this['_localStorageService']['setItem'](_0x110e62,_0x410858);}[_0x48e5bc(0x149)](_0x455f42,_0x1944e2,_0x3e4bd4,_0x477f3f){const _0x4069e0=_0x48e5bc,_0x3ffcca=this['_revisionService']['getCurrentRevOfUnit'](_0x455f42);this[_0x4069e0(0x1c2)][_0x4069e0(0x28a)](_0x455f42,{'unitID':_0x455f42,'type':_0x1944e2,'awaitingChangeset':_0x3e4bd4,'mutations':_0x477f3f,'rev':_0x3ffcca}),this[_0x4069e0(0x1d7)][_0x4069e0(0x197)](_0x455f42)||this[_0x4069e0(0xc0)](_0x455f42);}[_0x48e5bc(0xc0)](_0x58276f){const _0x488503=_0x48e5bc,_0x5112e9=this[_0x488503(0x9a)]();_0x5112e9===0x0?this['_saveCache'](_0x58276f):this[_0x488503(0x1d7)][_0x488503(0x28a)](_0x58276f,setTimeout(()=>this['_saveCache'](_0x58276f),_0x5112e9));}[_0x48e5bc(0x9a)](){const _0x2dd672=_0x48e5bc;var _0x37978d;return(_0x37978d=this['_configService'][_0x2dd672(0x2c2)](u[_0x2dd672(0x128)]))!=null?_0x37978d:u[_0x2dd672(0x1de)];}[_0x48e5bc(0x150)](_0x388bc0){const _0x43ccae=_0x48e5bc,_0x4ec458=this[_0x43ccae(0x1d7)]['get'](_0x388bc0);return _0x4ec458!==void 0x0&&window[_0x43ccae(0x13c)](_0x4ec458),this[_0x43ccae(0x21f)][_0x43ccae(0x191)](u[_0x43ccae(0x114)](_0x388bc0),this['_cachedData'][_0x43ccae(0x20c)](_0x388bc0))[_0x43ccae(0x2ae)](()=>this[_0x43ccae(0x1d7)][_0x43ccae(0x250)](_0x388bc0));}async[_0x48e5bc(0xab)](){const _0x5ab942=_0x48e5bc,_0x27a81f=[];this[_0x5ab942(0x1d7)][_0x5ab942(0x299)]((_0x5a0409,_0x2d1791)=>{const _0x32471d=_0x5ab942;window[_0x32471d(0x13c)](_0x5a0409),_0x27a81f[_0x32471d(0x232)](this[_0x32471d(0x150)](_0x2d1791)['then'](()=>{const _0x176571=_0x32471d;this[_0x176571(0x1d7)][_0x176571(0x250)](_0x2d1791);}));}),await Promise['all'](_0x27a81f);}};ge=Kt([_e(0x0,a[_0x48e5bc(0x1ed)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x48e5bc(0x28c)](m[_0x48e5bc(0x276)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x270ea0=_0x48e5bc;super(),h(this,_0x270ea0(0x297)),this[_0x270ea0(0x297)]=d[_0x270ea0(0x216)](window,_0x270ea0(0x229))[_0x270ea0(0x29b)](d['takeUntil'](this['dispose$']),d[_0x270ea0(0x2f9)](0x1),d[_0x270ea0(0xfe)](void 0x0));}['setParam'](_0x2bf703,_0x50e338,_0x568364=!0x1){const _0x425ef5=_0x48e5bc,_0x27f38e=new URL(window[_0x425ef5(0x28d)]['href']);_0x27f38e[_0x425ef5(0x2f6)][_0x425ef5(0x28a)](_0x2bf703,_0x50e338),_0x568364?window[_0x425ef5(0xc6)][_0x425ef5(0x278)]('','',_0x27f38e['toString']()):window[_0x425ef5(0xc6)][_0x425ef5(0x124)]('','',_0x27f38e[_0x425ef5(0x220)]());}[_0x48e5bc(0xe3)](_0x91dae9,_0x141157=!0x1){const _0x2e46fe=_0x48e5bc,_0x178a46=new URL(window[_0x2e46fe(0x28d)][_0x2e46fe(0x188)]);_0x178a46[_0x2e46fe(0x2f6)]['delete'](_0x91dae9),_0x141157?window[_0x2e46fe(0xc6)][_0x2e46fe(0x278)]('','',_0x178a46[_0x2e46fe(0x220)]()):window[_0x2e46fe(0xc6)][_0x2e46fe(0x124)]('','',_0x178a46[_0x2e46fe(0x220)]());}['getParam'](_0xeb2ccf){const _0x52ae80=_0x48e5bc;var _0x19427f;return(_0x19427f=new URL(window[_0x52ae80(0x28d)][_0x52ae80(0x188)])[_0x52ae80(0x2f6)][_0x52ae80(0x20c)](_0xeb2ccf))!=null?_0x19427f:void 0x0;}}var qt=Object[_0x48e5bc(0x228)],zt=Object[_0x48e5bc(0x275)],Jt=(_0x114e39,_0x2923c5,_0x2d8d18)=>_0x2923c5 in _0x114e39?qt(_0x114e39,_0x2923c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d8d18}):_0x114e39[_0x2923c5]=_0x2d8d18,Zt=(_0x3ec750,_0x599279,_0x3a2000,_0x4d6425)=>{const _0x594e23=_0x48e5bc;for(var _0x148711=_0x4d6425>0x1?void 0x0:_0x4d6425?zt(_0x599279,_0x3a2000):_0x599279,_0x1fe801=_0x3ec750[_0x594e23(0x2c5)]-0x1,_0x1e7e95;_0x1fe801>=0x0;_0x1fe801--)(_0x1e7e95=_0x3ec750[_0x1fe801])&&(_0x148711=_0x1e7e95(_0x148711)||_0x148711);return _0x148711;},he=(_0xa4ae80,_0x44fc07)=>(_0xa5edc,_0x23fa6a)=>_0x44fc07(_0xa5edc,_0x23fa6a,_0xa4ae80),Qt=(_0x3a8977,_0x906031,_0x4cdc1f)=>Jt(_0x3a8977,_0x906031+'',_0x4cdc1f);const es=_0x48e5bc(0x14f);exports[_0x48e5bc(0x23a)]=class extends a[_0x48e5bc(0x289)]{constructor(_0x1afdd8=Ue,_0x4fbabf,_0x19f91d,_0x18693f){const _0x42fcf3=_0x48e5bc;super(),this[_0x42fcf3(0x183)]=_0x1afdd8,this[_0x42fcf3(0x2b4)]=_0x4fbabf,this['_injector']=_0x19f91d,this[_0x42fcf3(0x248)]=_0x18693f;const {..._0x1b202a}=a['merge']({},Ue,this[_0x42fcf3(0x183)]);this[_0x42fcf3(0x248)][_0x42fcf3(0x22d)]($t,_0x1b202a);}['onStarting'](){const _0x68b788=_0x48e5bc;this[_0x68b788(0x2d9)](),this[_0x68b788(0x105)]();}[_0x48e5bc(0x2fc)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4ab756=_0x48e5bc;var _0x195dfe;const _0x11bd0b=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4ab756(0x25f)],{'useClass':G[_0x4ab756(0x8d)]}],[u[_0x4ab756(0x2ea)],{'useClass':ge}],[exports[_0x4ab756(0x1c6)]],[Q],[q],[x],[de],[exports[_0x4ab756(0x259)]]];a[_0x4ab756(0x206)](this[_0x4ab756(0x126)],a[_0x4ab756(0x1fa)](_0x11bd0b,(_0x195dfe=this[_0x4ab756(0x183)])==null?void 0x0:_0x195dfe[_0x4ab756(0x1a5)]));}[_0x48e5bc(0xb5)](){const _0x191c17=_0x48e5bc;this[_0x191c17(0x173)](this['_renderManagerService'][_0x191c17(0x1df)](a[_0x191c17(0x80)][_0x191c17(0x143)],[Ie])),this[_0x191c17(0x173)](this[_0x191c17(0x2b4)]['registerRenderModule'](a[_0x191c17(0x80)][_0x191c17(0x1f3)],[ve]));}[_0x48e5bc(0x105)](){const _0xb4337c=_0x48e5bc;a['touchDependencies'](this[_0xb4337c(0x126)],[[x],[exports[_0xb4337c(0x1c6)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x48e5bc(0x23a)],_0x48e5bc(0x165),es),exports[_0x48e5bc(0x23a)]=Zt([a[_0x48e5bc(0x192)](u[_0x48e5bc(0x19e)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),he(0x3,a['IConfigService'])],exports[_0x48e5bc(0x23a)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x28dc0f,_0x17bf90,_0x1b18f7,_0x228d69)=>{const _0x20c185=_0x48e5bc;for(var _0x4b11a2=_0x228d69>0x1?void 0x0:_0x228d69?ts(_0x17bf90,_0x1b18f7):_0x17bf90,_0x230c98=_0x28dc0f[_0x20c185(0x2c5)]-0x1,_0x554f2a;_0x230c98>=0x0;_0x230c98--)(_0x554f2a=_0x28dc0f[_0x230c98])&&(_0x4b11a2=_0x554f2a(_0x4b11a2)||_0x4b11a2);return _0x4b11a2;},F=(_0x18fde8,_0x296c65)=>(_0xa32b76,_0x4cfd82)=>_0x296c65(_0xa32b76,_0x4cfd82,_0x18fde8);exports[_0x48e5bc(0x175)]=class extends u[_0x48e5bc(0xad)]{constructor(_0xb516f4,_0x53ec64,_0x47e846,_0x5c34b2,_0x548ed0){super(_0xb516f4,_0x53ec64,_0x47e846,_0x5c34b2,_0x548ed0);}async['createSocket'](_0x585464){const _0x4cd59e=_0x48e5bc,_0x435cdd=await this[_0x4cd59e(0x136)](),_0x3fc6cc=this[_0x4cd59e(0x27f)](_0x585464,_0x435cdd);return this[_0x4cd59e(0x190)](_0x3fc6cc);}[_0x48e5bc(0x27f)](_0xed4d16,_0x11da4a){const _0x4fe289=_0x48e5bc,_0x5281c3=typeof window>'u'?new URL(_0xed4d16):new URL(_0xed4d16,window[_0x4fe289(0x28d)]['origin']);_0x5281c3[_0x4fe289(0x2f6)][_0x4fe289(0x28a)](_0x4fe289(0x8c),_0x11da4a);const _0xec52e1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4fe289(0x28d)][_0x4fe289(0x12f)]);return _0xec52e1['get'](_0x4fe289(0x1ab))&&_0x5281c3[_0x4fe289(0x2f6)][_0x4fe289(0x28a)](_0x4fe289(0x1ab),_0xec52e1[_0x4fe289(0x20c)](_0x4fe289(0x1ab))),_0x5281c3[_0x4fe289(0x220)]();}async[_0x48e5bc(0x136)](){const _0x19b1b5=_0x48e5bc;var _0x86835d,_0x3a2f7b,_0xd0cb5f;const _0x1634a2=this[_0x19b1b5(0x248)][_0x19b1b5(0x2c2)](u[_0x19b1b5(0x1cb)]),_0x2dae1b=(_0x86835d=_0x1634a2==null?void 0x0:_0x1634a2['wsSessionTicketUrl'])!=null?_0x86835d:u[_0x19b1b5(0xe4)];return(_0xd0cb5f=(_0x3a2f7b=(await this[_0x19b1b5(0xcf)]['get'](_0x2dae1b,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3a2f7b[_0x19b1b5(0x8e)])!=null?_0xd0cb5f:'';}},exports[_0x48e5bc(0x175)]=ss([F(0x0,a['Inject'](a['Injector'])),F(0x1,a[_0x48e5bc(0x28c)](G[_0x48e5bc(0x217)])),F(0x2,a[_0x48e5bc(0x1ed)]),F(0x3,a['ILogService']),F(0x4,m[_0x48e5bc(0xa9)])],exports[_0x48e5bc(0x175)]);const Me=0x7530,Le=_0x48e5bc(0x95);class is extends a[_0x48e5bc(0xac)]{constructor(){const _0x39574f=_0x48e5bc;super(),h(this,_0x39574f(0x285),a[_0x39574f(0x288)]()),h(this,_0x39574f(0x25b),new Set()),h(this,_0x39574f(0x1ad),new Map()),h(this,_0x39574f(0xf7),null),h(this,_0x39574f(0x290),new Map()),h(this,_0x39574f(0x2e4),new Map()),this[_0x39574f(0x1c8)]();}[_0x48e5bc(0x233)](){const _0x4d6cff=_0x48e5bc;super['dispose'](),this[_0x4d6cff(0x290)][_0x4d6cff(0x299)]((_0x298b42,_0x1c0e52)=>this[_0x4d6cff(0x1b1)](_0x1c0e52)),this[_0x4d6cff(0xf7)]&&window[_0x4d6cff(0xd1)](this['_heartbeatTimer']);}[_0x48e5bc(0x2cf)](_0x3a5f8e){const _0x25f510=_0x48e5bc;return this[_0x25f510(0x1ef)](_0x3a5f8e)[_0x25f510(0x29b)](d['distinctUntilChanged']());}['editingUnit'](_0x182d55){const _0xa67db6=_0x48e5bc;this[_0xa67db6(0x25b)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xa67db6(0x25b)][_0xa67db6(0x151)](_0x182d55),this[_0xa67db6(0x2cd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x182d55],'isForwarded':!0x1});}[_0x48e5bc(0x198)](_0x57adb0){const _0x18510d=_0x48e5bc;this[_0x18510d(0x25b)][_0x18510d(0x250)](_0x57adb0),this[_0x18510d(0x25b)][_0x18510d(0x267)]===0x0&&this[_0x18510d(0xf7)]&&window[_0x18510d(0xd1)](this[_0x18510d(0xf7)]);}[_0x48e5bc(0x1c8)](){const _0x2b1cbb=_0x48e5bc;this[_0x2b1cbb(0x173)](a[_0x2b1cbb(0x26d)](d[_0x2b1cbb(0x216)](window,'storage')[_0x2b1cbb(0x2fe)](_0x4f100b=>{const _0x4e371c=_0x2b1cbb;if(_0x4f100b[_0x4e371c(0x184)]!==Le||!_0x4f100b[_0x4e371c(0x132)])return;const _0x338443=JSON[_0x4e371c(0x1c9)](_0x4f100b['newValue']);this[_0x4e371c(0x166)](_0x338443);}))),window['addEventListener'](_0x2b1cbb(0x113),()=>this[_0x2b1cbb(0x2cd)]({'type':0x1,'memberID':this[_0x2b1cbb(0x285)],'unitIDs':Array[_0x2b1cbb(0x15e)](this[_0x2b1cbb(0x25b)])}));}[_0x48e5bc(0x166)](_0x3006f2){const _0x48bbb9=_0x48e5bc;switch(_0x3006f2[_0x48bbb9(0x1ee)]){case 0x0:this[_0x48bbb9(0x11d)](_0x3006f2);break;case 0x1:this[_0x48bbb9(0x199)](_0x3006f2);break;case 0x2:this[_0x48bbb9(0xef)](_0x3006f2);break;}}[_0x48e5bc(0x11d)](_0x11d6b3){const _0x29b6c8=_0x48e5bc,{unitIDs:_0x36f70a,memberID:_0x2b7b9a,isForwarded:_0x2a176e}=_0x11d6b3;_0x36f70a['forEach'](_0x69c165=>{const _0x3ed1ba=_0x3f84;if(!_0x2a176e&&this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x197)](_0x69c165)&&this[_0x3ed1ba(0x1ef)](_0x69c165)[_0x3ed1ba(0xbb)](u[_0x3ed1ba(0x1e7)][_0x3ed1ba(0x1e2)]),!this[_0x3ed1ba(0x1ad)]['has'](_0x69c165)||!this['_unitOnClients'][_0x3ed1ba(0x20c)](_0x69c165)['has'](_0x2b7b9a)){const _0x1b55b1=this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x20c)](_0x69c165)||new Set();_0x1b55b1[_0x3ed1ba(0x151)](_0x2b7b9a),this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x28a)](_0x69c165,_0x1b55b1),this['_scheduleClearOtherTimer'](_0x2b7b9a);}}),_0x2a176e||this['_send']({'type':0x0,'memberID':this[_0x29b6c8(0x285)],'unitIDs':[...this[_0x29b6c8(0x25b)]],'isForwarded':!0x0});}[_0x48e5bc(0x177)](_0x3d1247){const _0x3c16a5=_0x48e5bc;this[_0x3c16a5(0x1b1)](_0x3d1247);const _0x9b8279=window[_0x3c16a5(0x134)](()=>{const _0x5b1ff4=_0x3c16a5;this[_0x5b1ff4(0x1ad)][_0x5b1ff4(0x299)](_0x287d3d=>{_0x287d3d['delete'](_0x3d1247);});},Me*0x2);this[_0x3c16a5(0x290)][_0x3c16a5(0x28a)](_0x3d1247,_0x9b8279);}['_removeClearOtherTimer'](_0x54f63e){const _0x134b80=_0x48e5bc;if(this[_0x134b80(0x290)]['has'](_0x54f63e)){const _0x14efeb=this['_clearOtherTimers']['get'](_0x54f63e);_0x14efeb&&window[_0x134b80(0x13c)](_0x14efeb),this[_0x134b80(0x290)][_0x134b80(0x28a)](_0x54f63e,null);}}[_0x48e5bc(0x199)](_0x2996c8){const _0x4baa25=_0x48e5bc,{memberID:_0x1c4d54,unitIDs:_0x3c84df}=_0x2996c8;_0x3c84df[_0x4baa25(0x299)](_0x448d89=>{const _0x2779fa=_0x4baa25;var _0x3bae33;const _0x12c92f=this[_0x2779fa(0x1ad)][_0x2779fa(0x20c)](_0x448d89);_0x12c92f&&(_0x12c92f[_0x2779fa(0x250)](_0x1c4d54),(_0x3bae33=this['_ensureSubject'](_0x448d89))==null||_0x3bae33[_0x2779fa(0xbb)](_0x12c92f[_0x2779fa(0x267)]===0x0?u[_0x2779fa(0x1e7)][_0x2779fa(0x145)]:u[_0x2779fa(0x1e7)]['OTHER_CLIENTS_EDITING']));}),this[_0x4baa25(0x1b1)](_0x1c4d54);}['_handleHeartbeatEvent'](_0x17f82d){const _0x5df6e1=_0x48e5bc;this[_0x5df6e1(0x177)](_0x17f82d['memberID']);}[_0x48e5bc(0x2cd)](_0x218991){const _0x1a1cba=_0x48e5bc;localStorage[_0x1a1cba(0x191)](Le,JSON[_0x1a1cba(0xd0)](_0x218991));}[_0x48e5bc(0x18a)](){const _0x2fa0e3=_0x48e5bc;this[_0x2fa0e3(0xf7)]=window[_0x2fa0e3(0x270)](()=>{const _0x21ac10=_0x2fa0e3;this[_0x21ac10(0x2cd)]({'type':0x2,'memberID':this[_0x21ac10(0x285)]});},Me);}[_0x48e5bc(0x1ef)](_0x5e4e5d){const _0x142d23=_0x48e5bc;return this[_0x142d23(0x2e4)][_0x142d23(0x197)](_0x5e4e5d)||this[_0x142d23(0x2e4)][_0x142d23(0x28a)](_0x5e4e5d,new d['BehaviorSubject'](u['UnitStatus'][_0x142d23(0x145)])),this['_unitStatus'][_0x142d23(0x20c)](_0x5e4e5d);}}var Be=(_0x5761c7=>(_0x5761c7[_0x5761c7[_0x48e5bc(0x2d4)]=0x0]=_0x48e5bc(0x2d4),_0x5761c7[_0x5761c7['OK']=0x1]='OK',_0x5761c7[_0x5761c7[_0x48e5bc(0x13b)]=0x2]=_0x48e5bc(0x13b),_0x5761c7[_0x5761c7[_0x48e5bc(0x226)]=0x3]=_0x48e5bc(0x226),_0x5761c7[_0x5761c7[_0x48e5bc(0x1f6)]=0x4]=_0x48e5bc(0x1f6),_0x5761c7[_0x5761c7[_0x48e5bc(0x1fb)]=0x5]=_0x48e5bc(0x1fb),_0x5761c7[_0x5761c7['ALREADY_EXISTS']=0x6]=_0x48e5bc(0x16c),_0x5761c7[_0x5761c7[_0x48e5bc(0x283)]=0x7]=_0x48e5bc(0x283),_0x5761c7[_0x5761c7[_0x48e5bc(0x245)]=0x8]=_0x48e5bc(0x245),_0x5761c7[_0x5761c7[_0x48e5bc(0x26c)]=0x9]=_0x48e5bc(0x26c),_0x5761c7[_0x5761c7[_0x48e5bc(0xda)]=0xa]=_0x48e5bc(0xda),_0x5761c7[_0x5761c7[_0x48e5bc(0x153)]=0x1389]=_0x48e5bc(0x153),_0x5761c7[_0x5761c7[_0x48e5bc(0x19b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5761c7[_0x5761c7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48e5bc(0x2b2),_0x5761c7[_0x5761c7[_0x48e5bc(0x1e6)]=0x1773]=_0x48e5bc(0x1e6),_0x5761c7[_0x5761c7[_0x48e5bc(0x1b6)]=0x1b59]=_0x48e5bc(0x1b6),_0x5761c7[_0x5761c7[_0x48e5bc(0x12e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5761c7[_0x5761c7[_0x48e5bc(0x182)]=0x1b5b]=_0x48e5bc(0x182),_0x5761c7[_0x5761c7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x48e5bc(0x2d2),_0x5761c7[_0x5761c7[_0x48e5bc(0x1db)]=0x1b5d]='APPLY_DUPLICATED',_0x5761c7[_0x5761c7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5761c7[_0x5761c7[_0x48e5bc(0x137)]=0x2329]=_0x48e5bc(0x137),_0x5761c7[_0x5761c7[_0x48e5bc(0x21b)]=0x232a]=_0x48e5bc(0x21b),_0x5761c7[_0x5761c7[_0x48e5bc(0x17d)]=0x232b]=_0x48e5bc(0x17d),_0x5761c7[_0x5761c7[_0x48e5bc(0x1c0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5761c7[_0x5761c7[_0x48e5bc(0x1e1)]=0x232d]=_0x48e5bc(0x1e1),_0x5761c7[_0x5761c7[_0x48e5bc(0x2f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5761c7[_0x5761c7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x48e5bc(0x282),_0x5761c7[_0x5761c7[_0x48e5bc(0x161)]=0x2713]=_0x48e5bc(0x161),_0x5761c7[_0x5761c7[_0x48e5bc(0x212)]=0x2714]=_0x48e5bc(0x212),_0x5761c7[_0x5761c7[_0x48e5bc(0xa2)]=0x271a]=_0x48e5bc(0xa2),_0x5761c7[_0x5761c7[_0x48e5bc(0x144)]=0x271b]=_0x48e5bc(0x144),_0x5761c7[_0x5761c7[_0x48e5bc(0x12a)]=0x271c]=_0x48e5bc(0x12a),_0x5761c7[_0x5761c7[_0x48e5bc(0x1dd)]=0x271d]=_0x48e5bc(0x1dd),_0x5761c7[_0x5761c7[_0x48e5bc(0xeb)]=0x271e]=_0x48e5bc(0xeb),_0x5761c7[_0x5761c7[_0x48e5bc(0xa1)]=0x271f]=_0x48e5bc(0xa1),_0x5761c7[_0x5761c7[_0x48e5bc(0x27a)]=0x2af9]=_0x48e5bc(0x27a),_0x5761c7[_0x5761c7[_0x48e5bc(0x1e8)]=0x2ee1]=_0x48e5bc(0x1e8),_0x5761c7[_0x5761c7[_0x48e5bc(0x193)]=0x2ee2]=_0x48e5bc(0x193),_0x5761c7[_0x5761c7[_0x48e5bc(0x2c4)]=0x2ee3]=_0x48e5bc(0x2c4),_0x5761c7[_0x5761c7[_0x48e5bc(0x131)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5761c7[_0x5761c7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5761c7[_0x5761c7[_0x48e5bc(0x93)]=0x32c9]=_0x48e5bc(0x93),_0x5761c7[_0x5761c7[_0x48e5bc(0xb1)]=0x32ca]=_0x48e5bc(0xb1),_0x5761c7[_0x5761c7['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48e5bc(0x1b0),_0x5761c7[_0x5761c7['UNRECOGNIZED']=-0x1]=_0x48e5bc(0xa7),_0x5761c7))(Be||{}),ns=Object[_0x48e5bc(0x275)],rs=(_0x3775df,_0x35f078,_0x50fee2,_0x1b081b)=>{const _0x5d1a3f=_0x48e5bc;for(var _0x4d1811=_0x1b081b>0x1?void 0x0:_0x1b081b?ns(_0x35f078,_0x50fee2):_0x35f078,_0x345e51=_0x3775df[_0x5d1a3f(0x2c5)]-0x1,_0x1a5ace;_0x345e51>=0x0;_0x345e51--)(_0x1a5ace=_0x3775df[_0x345e51])&&(_0x4d1811=_0x1a5ace(_0x4d1811)||_0x4d1811);return _0x4d1811;},ue=(_0xa4171d,_0xc01865)=>(_0x4bbb10,_0x4450b4)=>_0xc01865(_0x4bbb10,_0x4450b4,_0xa4171d);exports[_0x48e5bc(0x2be)]=class extends a[_0x48e5bc(0xac)]{constructor(_0x5ddab0,_0x20720e,_0x48a4e5){const _0x1a5d6d=_0x48e5bc;super(),this[_0x1a5d6d(0x176)]=_0x5ddab0,this['_httpService']=_0x20720e,this[_0x1a5d6d(0x248)]=_0x48a4e5;}async[_0x48e5bc(0x106)](_0x2e2802,_0x5fd678,_0x2094ec,..._0x20d457){const _0x36152a=_0x48e5bc;var _0x346088,_0x54df14,_0x309745,_0x45d034;const _0x5b3f5d=this[_0x36152a(0x176)]['getFocusedUnit']();if(!_0x5b3f5d)throw new Error(_0x36152a(0x2e3));const _0x3320c6=((_0x346088=this[_0x36152a(0x248)][_0x36152a(0x2c2)](u[_0x36152a(0x1ae)]))!=null?_0x346088:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2e2802+_0x36152a(0x263)+_0x5fd678,_0x4f38d5=new URL(window[_0x36152a(0x28d)][_0x36152a(0x188)]),_0x255c82={'scriptId':_0x2e2802,'runId':(_0x54df14=_0x4f38d5[_0x36152a(0x2f6)][_0x36152a(0x20c)](_0x36152a(0x1ab)))!=null?_0x54df14:'','function':_0x5fd678,'unitId':_0x5b3f5d[_0x36152a(0x280)](),'argsOfFunction':JSON[_0x36152a(0xd0)](_0x20d457),'invokeId':(_0x309745=_0x2094ec[_0x36152a(0x1a0)])!=null?_0x309745:'','executionId':(_0x45d034=_0x2094ec['executionId'])!=null?_0x45d034:''};try{const _0x1611d1=await this['_httpService'][_0x36152a(0x1b2)](_0x3320c6,{'body':_0x255c82});return _0x1611d1[_0x36152a(0x19d)][_0x36152a(0x272)]&&_0x1611d1[_0x36152a(0x19d)][_0x36152a(0x272)][_0x36152a(0xb8)]!==Be['OK']?'Failed':_0x1611d1['body'][_0x36152a(0x1d5)];}catch{return _0x36152a(0x185);}}},exports[_0x48e5bc(0x2be)]=rs([ue(0x0,a[_0x48e5bc(0x9f)]),ue(0x1,a[_0x48e5bc(0x28c)](G[_0x48e5bc(0x217)])),ue(0x2,a[_0x48e5bc(0x1ed)])],exports['RemoteUniscriptService']),exports[_0x48e5bc(0x123)]=xe,exports[_0x48e5bc(0x2a8)]=be,exports[_0x48e5bc(0xfc)]=Ae,exports[_0x48e5bc(0xb4)]=is,exports[_0x48e5bc(0x2a6)]=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x43fa69=_0x90ba;(function(_0x12ec1c,_0x4dcd5e){const _0x2effc5=_0x90ba,_0xf3c08d=_0x12ec1c();while(!![]){try{const _0x31aba9=parseInt(_0x2effc5(0xaf))/0x1*(parseInt(_0x2effc5(0xb5))/0x2)+-parseInt(_0x2effc5(0xbb))/0x3*(-parseInt(_0x2effc5(0xad))/0x4)+parseInt(_0x2effc5(0xb4))/0x5*(parseInt(_0x2effc5(0xc1))/0x6)+parseInt(_0x2effc5(0xb9))/0x7+-parseInt(_0x2effc5(0xbe))/0x8+parseInt(_0x2effc5(0xc5))/0x9+parseInt(_0x2effc5(0xb7))/0xa*(-parseInt(_0x2effc5(0xc3))/0xb);if(_0x31aba9===_0x4dcd5e)break;else _0xf3c08d['push'](_0xf3c08d['shift']());}catch(_0x4dd7ea){_0xf3c08d['push'](_0xf3c08d['shift']());}}}(_0x16f8,0x8a418));function _0x90ba(_0x3c9d43,_0x4764f3){const _0x16f809=_0x16f8();return _0x90ba=function(_0x90ba7d,_0x42a01f){_0x90ba7d=_0x90ba7d-0xad;let _0x3d3626=_0x16f809[_0x90ba7d];return _0x3d3626;},_0x90ba(_0x3c9d43,_0x4764f3);}const e={'collab-client':{'tooltip':{'reconnect':_0x43fa69(0xc0)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x43fa69(0xc2),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x43fa69(0xae),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x43fa69(0xbf),'will-retry':_0x43fa69(0xb8),'room-full':_0x43fa69(0xbd),'collaboration-timeout':_0x43fa69(0xb2)},'conflict':{'title':_0x43fa69(0xb0),'content':_0x43fa69(0xbc)},'permission':{'title':_0x43fa69(0xc4),'content':_0x43fa69(0xba)},'collaboration':{'single-unit':{'warning':_0x43fa69(0xb3)},'closeRoom':_0x43fa69(0xb6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x16f8(){const _0x5d652c=['19554JpnrAY','Edit\x20conflicts','11COuEXE','Authentication\x20Error','44253AHbXZn','76RfMUfm','Syncing...','769237SPUiHb','Collaboration\x20Conflict','exports','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1205NFlLcG','2BSUALw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5433050itAYHh','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1483363QDuRBy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','45195AzShFo','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','7584928eRVZDT','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect'];_0x16f8=function(){return _0x5d652c;};return _0x16f8();}module[_0x43fa69(0xb1)]=e;
|