@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506141606 → 0.8.1-nightly.202506151606
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 _0x4228dd=_0x3a0e;(function(_0x224a83,_0x22ed12){const _0x431782=_0x3a0e,_0x1b3d95=_0x224a83();while(!![]){try{const _0x1424df=parseInt(_0x431782(0x10b))/0x1+-parseInt(_0x431782(0x10d))/0x2*(parseInt(_0x431782(0x107))/0x3)+-parseInt(_0x431782(0x109))/0x4+parseInt(_0x431782(0x10f))/0x5+parseInt(_0x431782(0x10c))/0x6*(parseInt(_0x431782(0x10e))/0x7)+-parseInt(_0x431782(0x113))/0x8*(parseInt(_0x431782(0x105))/0x9)+parseInt(_0x431782(0x111))/0xa;if(_0x1424df===_0x22ed12)break;else _0x1b3d95['push'](_0x1b3d95['shift']());}catch(_0x546be5){_0x1b3d95['push'](_0x1b3d95['shift']());}}}(_0x2471,0xb4a5b));function _0x2471(){const _0x210961=['_injector','FUniver','9KDMiJt','get','3yezMng','extend','1200704BscHaT','runOnServer','966571frjRup','6ZLFVQu','1768682TMTpbY','3359783WeolKm','4456050ZjgyKf','@univerjs/core/facade','2677710DwMvvo','@univerjs-pro/collaboration-client-ui','5448584jzJOtX'];_0x2471=function(){return _0x210961;};return _0x2471();}const t=require(_0x4228dd(0x112)),e=require(_0x4228dd(0x110));function _0x3a0e(_0x9a51fb,_0x1e566b){const _0x2471e2=_0x2471();return _0x3a0e=function(_0x3a0ecb,_0x38a3db){_0x3a0ecb=_0x3a0ecb-0x105;let _0x3d9358=_0x2471e2[_0x3a0ecb];return _0x3d9358;},_0x3a0e(_0x9a51fb,_0x1e566b);}class c extends e[_0x4228dd(0x115)]{[_0x4228dd(0x10a)](_0x577179,_0x2828a0,..._0x583ef5){const _0x439148=_0x4228dd;return this[_0x439148(0x114)][_0x439148(0x106)](t['RemoteUniscriptService'])[_0x439148(0x10a)](_0x577179,_0x2828a0,{},..._0x583ef5);}}e[_0x4228dd(0x115)][_0x4228dd(0x108)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x487490=_0x5ec9;(function(_0x18d414,_0x32f306){const _0x28b4fa=_0x5ec9,_0x231a9e=_0x18d414();while(!![]){try{const _0x58dc55=parseInt(_0x28b4fa(0x357))/0x1+parseInt(_0x28b4fa(0x25c))/0x2+-parseInt(_0x28b4fa(0x31e))/0x3*(-parseInt(_0x28b4fa(0x42d))/0x4)+parseInt(_0x28b4fa(0x3f4))/0x5+-parseInt(_0x28b4fa(0x320))/0x6*(-parseInt(_0x28b4fa(0x44d))/0x7)+parseInt(_0x28b4fa(0x414))/0x8*(-parseInt(_0x28b4fa(0x1fa))/0x9)+-parseInt(_0x28b4fa(0x3df))/0xa;if(_0x58dc55===_0x32f306)break;else _0x231a9e['push'](_0x231a9e['shift']());}catch(_0x30bba2){_0x231a9e['push'](_0x231a9e['shift']());}}}(_0x2d2d,0x528b5));var Ve=Object[_0x487490(0x29a)],Xe=(_0x156afd,_0x2f437b,_0x3c10a1)=>_0x2f437b in _0x156afd?Ve(_0x156afd,_0x2f437b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c10a1}):_0x156afd[_0x2f437b]=_0x3c10a1,h=(_0x4e87c7,_0x4f878c,_0x47abe0)=>Xe(_0x4e87c7,typeof _0x4f878c!=_0x487490(0x208)?_0x4f878c+'':_0x4f878c,_0x47abe0);Object[_0x487490(0x29a)](exports,Symbol[_0x487490(0x455)],{'value':_0x487490(0x298)});const u=require(_0x487490(0x37a)),a=require(_0x487490(0x1dd)),p=require('@univerjs/engine-render'),G=require(_0x487490(0x213)),b=require(_0x487490(0x3d9)),Ge=require(_0x487490(0x3ef)),d=require(_0x487490(0x2fe)),Y=require('@univerjs/docs'),m=require(_0x487490(0x3be)),Ee=require(_0x487490(0x39b)),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require(_0x487490(0x2d4)),w=require(_0x487490(0x43e)),T=require('@univerjs/ui'),D=require('@univerjs/design'),M=require(_0x487490(0x3c2)),Ke=require(_0x487490(0x3a4));var qe=Object[_0x487490(0x456)],ze=(_0x38be49,_0x583d53,_0x5db949,_0x1aae72)=>{const _0x2134af=_0x487490;for(var _0x58d4c2=_0x1aae72>0x1?void 0x0:_0x1aae72?qe(_0x583d53,_0x5db949):_0x583d53,_0x2d7278=_0x38be49[_0x2134af(0x406)]-0x1,_0x45287c;_0x2d7278>=0x0;_0x2d7278--)(_0x45287c=_0x38be49[_0x2d7278])&&(_0x58d4c2=_0x45287c(_0x58d4c2)||_0x58d4c2);return _0x58d4c2;},Te=(_0x243545,_0xe8844)=>(_0x1432cf,_0x5228ea)=>_0xe8844(_0x1432cf,_0x5228ea,_0x243545);let de=class extends a[_0x487490(0x382)]{constructor(_0x476d22,_0x3ab0fe){const _0x5ec200=_0x487490;super(),this['_docClipboardService']=_0x476d22,this[_0x5ec200(0x431)]=_0x3ab0fe,this[_0x5ec200(0x24d)]();}['_init'](){const _0x5900ff=_0x487490,_0x96c30d=this;this[_0x5900ff(0x359)](this[_0x5900ff(0x246)][_0x5900ff(0x37e)]({'onBeforePasteImage':async _0xa7ed35=>{const _0x1969a4=_0x5900ff,_0x284c76=await _0x96c30d[_0x1969a4(0x431)][_0x1969a4(0x2dc)](_0xa7ed35);return _0x284c76?{'source':_0x284c76[_0x1969a4(0x24b)],'imageSourceType':_0x284c76[_0x1969a4(0x2cb)]}:null;}}));}};de=ze([Te(0x0,b[_0x487490(0x210)]),Te(0x1,Ge[_0x487490(0x396)])],de);const Oe=[_0x487490(0x32c),'jiqing.500',_0x487490(0x3b6),_0x487490(0x39d),'blue.400',_0x487490(0x2bf)];class me extends a[_0x487490(0x3e8)]{constructor(){const _0x544146=_0x487490;super(...arguments),h(this,_0x544146(0x267),new Map()),h(this,_0x544146(0x365),0x0);}[_0x487490(0x3eb)](_0x58087d){const _0x2b8a47=_0x487490;if(this[_0x2b8a47(0x267)][_0x2b8a47(0x1ef)](_0x58087d))return this[_0x2b8a47(0x267)][_0x2b8a47(0x3c5)](_0x58087d);const _0x4980d1=Oe[this[_0x2b8a47(0x365)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe[_0x2b8a47(0x406)],this[_0x2b8a47(0x267)][_0x2b8a47(0x3bf)](_0x58087d,_0x4980d1),_0x4980d1;}}function we(_0x4932f6){const _0x345b44=_0x487490;let _0x450638='';for(const _0x594873 of _0x4932f6){const {startOffset:_0x3b1ff8,endOffset:_0x147ea4,isActive:_0x31dbbe,rangeType:_0x4eee9b,segmentId:_0x599ced,segmentPage:_0x5e8729}=_0x594873;_0x450638[_0x345b44(0x406)]&&(_0x450638+=','),_0x450638+=_0x3b1ff8+':'+_0x147ea4+':'+(_0x31dbbe?'1':'0')+':'+_0x4eee9b+':'+_0x599ced+':'+_0x5e8729;}return _0x450638;}function Je(_0x13a073){const _0x3767c5=_0x487490,_0x31f3c7=_0x13a073[_0x3767c5(0x1e3)](','),_0x277f8a=[];for(const _0x342b0f of _0x31f3c7){const [_0x561c8f,_0x112235,_0x1cc664,_0xb6fa41,_0x5c6a34,_0x5724c9]=_0x342b0f[_0x3767c5(0x1e3)](':');_0x277f8a[_0x3767c5(0x218)]({'startOffset':Number(_0x561c8f),'endOffset':Number(_0x112235),'collapsed':_0x561c8f===_0x112235,'isActive':_0x1cc664==='1','rangeType':_0xb6fa41===a[_0x3767c5(0x204)][_0x3767c5(0x27d)]?a[_0x3767c5(0x204)][_0x3767c5(0x27d)]:a[_0x3767c5(0x204)][_0x3767c5(0x3a6)],'segmentId':typeof _0x5c6a34==_0x3767c5(0x30a)?String(_0x5c6a34):'','segmentPage':Number(_0x5724c9!=null?_0x5724c9:-0x1)});}return _0x277f8a['some'](_0x12589e=>_0x12589e[_0x3767c5(0x380)])||(_0x277f8a[0x0]['isActive']=!0x0),_0x277f8a;}class Ce extends a[_0x487490(0x382)]{constructor(){const _0x5ac8b1=_0x487490;super(...arguments),h(this,_0x5ac8b1(0x236),new d['BehaviorSubject'](null)),h(this,_0x5ac8b1(0x2f6),this[_0x5ac8b1(0x236)]['asObservable']());}[_0x487490(0x324)](_0x3cbdb0){const _0x12307d=_0x487490,{unitID:_0x3f4bec,memberID:_0x1683a1,textRanges:_0x423a68}=_0x3cbdb0,_0x165d5b=we(_0x423a68);if(_0x165d5b==='')return;const _0xc5c5a9={'unitID':_0x3f4bec,'memberID':_0x1683a1,'selection':_0x165d5b};this[_0x12307d(0x236)]['next'](_0xc5c5a9);}}var Ze=Object[_0x487490(0x456)],Qe=(_0x1f24a4,_0x517f6e,_0x31a3db,_0x169ec8)=>{for(var _0x26f24a=_0x169ec8>0x1?void 0x0:_0x169ec8?Ze(_0x517f6e,_0x31a3db):_0x517f6e,_0x3d07b7=_0x1f24a4['length']-0x1,_0x2f7c6c;_0x3d07b7>=0x0;_0x3d07b7--)(_0x2f7c6c=_0x1f24a4[_0x3d07b7])&&(_0x26f24a=_0x2f7c6c(_0x26f24a)||_0x26f24a);return _0x26f24a;},L=(_0x3b3102,_0x5a205e)=>(_0x3153ef,_0x210c4c)=>_0x5a205e(_0x3153ef,_0x210c4c,_0x3b3102);const et=0x12c,tt=0x64;let fe=class extends a[_0x487490(0x382)]{constructor(_0x56d88f,_0x2feecc,_0x325bd3,_0x1c559d,_0x564063,_0x38d4c2,_0xdf8d53,_0x16eaa8,_0x255953){const _0x2a8d8f=_0x487490;super(),h(this,_0x2a8d8f(0x36f),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0x2a8d8f(0x226))](new Map())),h(this,_0x2a8d8f(0x3d7),this[_0x2a8d8f(0x427)]['asObservable']()),h(this,'_roomMembers$',new d[(_0x2a8d8f(0x226))]([])),h(this,_0x2a8d8f(0x38f),this['_roomMembers$'][_0x2a8d8f(0x300)](d[_0x2a8d8f(0x26c)](et))),h(this,_0x2a8d8f(0x21b),a['debounce'](_0x2504e3=>{const _0x55e1e9=_0x2a8d8f,_0x3c8f3e={'eventID':m[_0x55e1e9(0x33d)][_0x55e1e9(0x3a3)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':we(_0x2504e3)}};this['_session']['send'](_0x3c8f3e,this[_0x55e1e9(0x448)]);},tt)),(this[_0x2a8d8f(0x448)]=_0x56d88f,this[_0x2a8d8f(0x230)]=_0x2feecc,this[_0x2a8d8f(0x1f2)]=_0x325bd3,this['_colorAssignService']=_0x1c559d,this[_0x2a8d8f(0x421)]=_0x564063,this['_syncEditingCollabCursorService']=_0x38d4c2,this[_0x2a8d8f(0x225)]=_0xdf8d53,this['_univerInstanceService']=_0x16eaa8,this[_0x2a8d8f(0x3ab)]=_0x255953);}get[_0x487490(0x41e)](){const _0xdea9ca=_0x487490;return this[_0xdea9ca(0x427)][_0xdea9ca(0x429)]();}get[_0x487490(0x317)](){const _0x34911e=_0x487490;return this[_0x34911e(0x28b)]['getValue']();}[_0x487490(0x404)](){const _0x509db1=_0x487490;super[_0x509db1(0x404)](),this[_0x509db1(0x427)][_0x509db1(0x3cc)](new Map()),this[_0x509db1(0x427)][_0x509db1(0x2ea)](),this[_0x509db1(0x28b)][_0x509db1(0x3cc)]([]),this['_roomMembers$'][_0x509db1(0x2ea)]();}[_0x487490(0x2e2)](){const _0x396051=_0x487490;this[_0x396051(0x24d)]||(this[_0x396051(0x24d)]=!0x0,this['_session'][_0x396051(0x438)][_0x396051(0x300)](d[_0x396051(0x303)](this[_0x396051(0x1f1)]))[_0x396051(0x30d)](_0x2c8e04=>{const _0x50ead0=_0x396051;_0x2c8e04===u[_0x50ead0(0x3ad)][_0x50ead0(0x315)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x396051(0x230)][_0x396051(0x437)][_0x396051(0x300)](d[_0x396051(0x303)](this[_0x396051(0x1f1)]))[_0x396051(0x30d)](_0x35ad07=>{const _0x5f0f8c=_0x396051,_0x18f91c=_0x35ad07[_0x5f0f8c(0x377)];_0x18f91c===m[_0x5f0f8c(0x33d)][_0x5f0f8c(0x3a3)]&&this[_0x5f0f8c(0x394)](_0x35ad07),_0x18f91c===m[_0x5f0f8c(0x33d)][_0x5f0f8c(0x292)]&&this['_onCursorDelete'](_0x35ad07);}),this[_0x396051(0x359)](this[_0x396051(0x3ab)]['onCommandExecuted'](_0x5eccde=>{const _0x1a8fdf=_0x396051,_0x144220=_0x5eccde['params'];_0x144220!=null&&this['_online']&&_0x5eccde['id']===Y[_0x1a8fdf(0x3a5)]['id']&&_0x144220['unitId']===this['unitID']&&_0x144220[_0x1a8fdf(0x3ea)]===!0x1&&_0x144220[_0x1a8fdf(0x2ee)][_0x1a8fdf(0x406)]>0x0&&this['_updateLocalCursor'](_0x144220['ranges']);})),this[_0x396051(0x378)][_0x396051(0x2f6)][_0x396051(0x300)](d[_0x396051(0x303)](this[_0x396051(0x1f1)]))['subscribe'](_0x49f459=>{const _0x2199e5=_0x396051;if((_0x49f459==null?void 0x0:_0x49f459[_0x2199e5(0x448)])!==this[_0x2199e5(0x448)])return;const _0x39fe4e={'eventID':m[_0x2199e5(0x33d)]['UPDATE_CURSOR'],'data':_0x49f459};this[_0x2199e5(0x394)](_0x39fe4e);}),this[_0x396051(0x359)](this['_commandService'][_0x396051(0x248)](_0x157c96=>{const _0x142414=_0x396051;if(_0x157c96[_0x142414(0x1e2)]==null)return;const _0x5bb80f=_0x157c96[_0x142414(0x1e2)];if(_0x157c96['id']!==Y[_0x142414(0x1f3)]['id']||_0x5bb80f[_0x142414(0x400)]!==this[_0x142414(0x448)])return;const _0x599b72={'id':_0x142414(0x1eb),'params':_0x5bb80f},_0x41a3fb=this['cursorInfo'];for(const [_0x45cf83,_0x34aae7]of _0x41a3fb){const _0x8d95c2={'id':_0x142414(0x1eb),'params':{'unitId':this[_0x142414(0x448)],'actions':null,'textRanges':_0x34aae7[_0x142414(0x2ee)]}},_0x59dfcb=this[_0x142414(0x225)][_0x142414(0x20a)](_0x599b72,_0x8d95c2,!0x1);if(m['isTransformMutationFailure'](_0x59dfcb))throw _0x59dfcb[_0x142414(0x264)];_0x41a3fb[_0x142414(0x3bf)](_0x45cf83,{..._0x34aae7,'ranges':_0x59dfcb['m2Prime'][_0x142414(0x1e2)][_0x142414(0x202)]});}queueMicrotask(()=>{const _0xe9652e=_0x142414;this[_0xe9652e(0x427)][_0xe9652e(0x3cc)](_0x41a3fb);});})));}[_0x487490(0x394)](_0x409f95){const _0x3ead52=_0x487490;var _0x4eef25,_0x42491f;const {memberID:_0x1ddabf,selection:_0x4eb911}=_0x409f95[_0x3ead52(0x222)],_0x20102f=Je(_0x4eb911),_0x5a64dc=(_0x42491f=(_0x4eef25=this[_0x3ead52(0x421)][_0x3ead52(0x2e5)](this['unitID'],_0x1ddabf))==null?void 0x0:_0x4eef25['name'])!=null?_0x42491f:_0x3ead52(0x349),_0x396805={'color':this[_0x3ead52(0x224)]['assignAColorForMemberID'](_0x1ddabf),'name':_0x5a64dc,'ranges':_0x20102f},_0x5aa251=this['cursorInfo'];_0x5aa251[_0x3ead52(0x3bf)](_0x1ddabf,_0x396805),this[_0x3ead52(0x427)][_0x3ead52(0x3cc)](_0x5aa251);}[_0x487490(0x27e)](_0x17d441){const _0x2a86c1=_0x487490,{memberID:_0x596fb7}=_0x17d441[_0x2a86c1(0x222)],_0x4c0fc8=this['cursorInfo'];_0x4c0fc8['delete'](_0x596fb7),this[_0x2a86c1(0x427)][_0x2a86c1(0x3cc)](_0x4c0fc8);}[_0x487490(0x358)](){const _0x2a4196=_0x487490;var _0xb254e6;if(this[_0x2a4196(0x36f)]=!0x0,((_0xb254e6=this[_0x2a4196(0x45b)][_0x2a4196(0x2b7)]())==null?void 0x0:_0xb254e6['getUnitId']())!==this[_0x2a4196(0x448)])return;const _0x43a95b=this['_injector']['get'](Y[_0x2a4196(0x2be)])[_0x2a4196(0x290)]();Array[_0x2a4196(0x38b)](_0x43a95b)&&_0x43a95b['length']>0x0&&this[_0x2a4196(0x21b)](_0x43a95b);}[_0x487490(0x3c0)](){const _0x29b57b=_0x487490;this[_0x29b57b(0x36f)]=!0x1;}};fe=Qe([L(0x2,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),L(0x3,a[_0x487490(0x299)](me)),L(0x4,a[_0x487490(0x299)](u[_0x487490(0x327)])),L(0x5,a[_0x487490(0x299)](Ce)),L(0x6,m[_0x487490(0x30e)]),L(0x7,a[_0x487490(0x257)]),L(0x8,a['ICommandService'])],fe);var st=Object[_0x487490(0x456)],it=(_0x236c29,_0x34f616,_0x521619,_0x514d80)=>{const _0x456427=_0x487490;for(var _0x13258e=_0x514d80>0x1?void 0x0:_0x514d80?st(_0x34f616,_0x521619):_0x34f616,_0x2afcf9=_0x236c29[_0x456427(0x406)]-0x1,_0x57be4a;_0x2afcf9>=0x0;_0x2afcf9--)(_0x57be4a=_0x236c29[_0x2afcf9])&&(_0x13258e=_0x57be4a(_0x13258e)||_0x13258e);return _0x13258e;},A=(_0x2b20ba,_0x17326c)=>(_0x3a3f46,_0x337110)=>_0x17326c(_0x3a3f46,_0x337110,_0x2b20ba);const nt=0x12c,rt=0x64,ot=()=>{let _0xa0b8e3=[],_0x3d686b=!0x1;return _0xbfe9a1=>{const _0x4d2098=_0x5ec9;_0xa0b8e3[_0x4d2098(0x218)](_0xbfe9a1),_0x3d686b||(_0x3d686b=!0x0,setTimeout(()=>{const _0x280029=_0x4d2098;_0xa0b8e3[_0x280029(0x24f)](_0x5c9b04=>_0x5c9b04()),_0xa0b8e3=[],_0x3d686b=!0x1;}));};};let Se=class extends a[_0x487490(0x382)]{constructor(_0x1e369a,_0x5b1a35,_0x392e3b,_0x423aef,_0x80768c,_0x2f7b6b,_0x17a311,_0x1951f0){const _0x4b6e56=_0x487490;super(),h(this,'_online',!0x1),h(this,_0x4b6e56(0x24d),!0x1),h(this,_0x4b6e56(0x427),new d[(_0x4b6e56(0x226))](new Map())),h(this,'cursorInfo$',this[_0x4b6e56(0x427)]['asObservable']()),h(this,_0x4b6e56(0x28b),new d[(_0x4b6e56(0x226))]([])),h(this,_0x4b6e56(0x38f),this['_roomMembers$']['pipe'](d[_0x4b6e56(0x26c)](nt))),h(this,_0x4b6e56(0x21b),a[_0x4b6e56(0x2c3)]((_0x4309db,_0x29adff)=>{const _0x5ada0a=_0x4b6e56,_0x2a9335={'eventID':m[_0x5ada0a(0x33d)][_0x5ada0a(0x3a3)],'data':{'unitID':this[_0x5ada0a(0x448)],'memberID':this['_session']['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x4309db,_0x29adff['range'])}};this[_0x5ada0a(0x230)][_0x5ada0a(0x3fa)](_0x2a9335,this['unitID']);},rt)),(this[_0x4b6e56(0x448)]=_0x1e369a,this[_0x4b6e56(0x230)]=_0x5b1a35,this[_0x4b6e56(0x1f2)]=_0x392e3b,this['_colorAssignService']=_0x423aef,this[_0x4b6e56(0x421)]=_0x80768c,this[_0x4b6e56(0x45b)]=_0x2f7b6b,this[_0x4b6e56(0x3ab)]=_0x17a311,this[_0x4b6e56(0x205)]=_0x1951f0);}get[_0x487490(0x41e)](){const _0x393a07=_0x487490;return this['_cursorInfo$'][_0x393a07(0x429)]();}get[_0x487490(0x317)](){const _0x44dddc=_0x487490;return this[_0x44dddc(0x28b)][_0x44dddc(0x429)]();}[_0x487490(0x404)](){const _0x4ebaeb=_0x487490;super[_0x4ebaeb(0x404)](),this[_0x4ebaeb(0x427)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x4ebaeb(0x28b)][_0x4ebaeb(0x3cc)]([]),this['_roomMembers$'][_0x4ebaeb(0x2ea)]();}[_0x487490(0x2e2)](){const _0x245d51=_0x487490;this[_0x245d51(0x24d)]||(this[_0x245d51(0x24d)]=!0x0,this[_0x245d51(0x230)][_0x245d51(0x438)][_0x245d51(0x300)](d[_0x245d51(0x303)](this[_0x245d51(0x1f1)]))[_0x245d51(0x30d)](_0x4bddb0=>{const _0x224802=_0x245d51;_0x4bddb0===u[_0x224802(0x3ad)][_0x224802(0x315)]?this[_0x224802(0x358)]():this['_toggleOffline']();}),this[_0x245d51(0x230)][_0x245d51(0x437)]['pipe'](d[_0x245d51(0x303)](this[_0x245d51(0x1f1)]))['subscribe'](_0x2d8bab=>{const _0x3db255=_0x245d51,_0x4e1fdd=_0x2d8bab[_0x3db255(0x377)];_0x4e1fdd===m['CollaborationEvent'][_0x3db255(0x3a3)]&&this['_onCursorUpdate'](_0x2d8bab),_0x4e1fdd===m['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x2d8bab);}),this[_0x245d51(0x247)](),this['disposeWithMe'](this[_0x245d51(0x3ab)]['onCommandExecuted'](_0x443026=>{const _0x50f4e3=_0x245d51;if(this[_0x50f4e3(0x36f)]&&_0x443026['id']===g['SetSelectionsOperation']['id']&&_0x443026['params'][_0x50f4e3(0x400)]===this[_0x50f4e3(0x448)]){const _0x1af3aa=_0x443026['params'];this[_0x50f4e3(0x21b)](_0x1af3aa['subUnitId'],_0x1af3aa['selections'][0x0]);}})));}[_0x487490(0x394)](_0x384749){const _0x5192ba=_0x487490;var _0x307ee4,_0xd4de5c;const {memberID:_0x306cc3,selection:_0x17c250}=_0x384749['data'],{sheetName:_0x1af460,range:_0x737703}=Ee[_0x5192ba(0x2d2)](_0x17c250),_0x3acce4={'name':(_0xd4de5c=(_0x307ee4=this[_0x5192ba(0x421)][_0x5192ba(0x2e5)](this[_0x5192ba(0x448)],_0x306cc3))==null?void 0x0:_0x307ee4[_0x5192ba(0x244)])!=null?_0xd4de5c:'Unknown\x20user','range':this[_0x5192ba(0x3f0)](_0x1af460,_0x737703),'sheetID':_0x1af460,'color':this[_0x5192ba(0x224)][_0x5192ba(0x3eb)](_0x306cc3),'selection':_0x17c250},_0x4d126e=this[_0x5192ba(0x41e)];_0x4d126e[_0x5192ba(0x3bf)](_0x306cc3,_0x3acce4),this[_0x5192ba(0x427)][_0x5192ba(0x3cc)](_0x4d126e);}['_onCursorDelete'](_0x591928){const _0x378031=_0x487490,{memberID:_0xdf6efe}=_0x591928[_0x378031(0x222)],_0x2d4ebc=this[_0x378031(0x41e)];_0x2d4ebc[_0x378031(0x373)](_0xdf6efe),this[_0x378031(0x427)][_0x378031(0x3cc)](_0x2d4ebc);}[_0x487490(0x3f0)](_0x3af9ef,_0x3ac5b2){const _0x2de1cf=_0x487490;var _0x226703,_0x40dccc;const _0x47f5bd=(_0x40dccc=(_0x226703=this[_0x2de1cf(0x45b)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x226703[_0x2de1cf(0x26e)](_0x3af9ef))==null?void 0x0:_0x40dccc['getMergeData']();return(_0x47f5bd==null?void 0x0:_0x47f5bd[_0x2de1cf(0x1fd)](_0x307c27=>a[_0x2de1cf(0x1fb)]['contains'](_0x307c27,_0x3ac5b2)))||_0x3ac5b2;}[_0x487490(0x247)](){const _0x4cd647=_0x487490,_0xfb037a=new a['DisposableCollection'](),_0x301ac1=ot(),_0x5891e8=()=>{const _0x12e5bc=_0x5ec9;_0xfb037a[_0x12e5bc(0x404)]();const _0x593315=(_0x2d2c10,_0x4d69cf,_0x1d4b3b,_0x175084)=>{const _0x43b68d=_0x12e5bc;let _0x516255=[];switch(_0x2d2c10['id']){case g[_0x43b68d(0x39c)][_0x43b68d(0x323)]:{_0x516255=g['handleDeleteRangeMoveLeft'](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)][_0x43b68d(0x260)]:{_0x516255=g[_0x43b68d(0x391)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)]['InsertColCommandId']:{_0x516255=g[_0x43b68d(0x235)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)]['InsertRangeMoveDownCommandId']:{_0x516255=g[_0x43b68d(0x403)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)][_0x43b68d(0x21c)]:{_0x516255=g[_0x43b68d(0x23f)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)][_0x43b68d(0x35c)]:{_0x516255=g[_0x43b68d(0x3f6)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)][_0x43b68d(0x2bc)]:{_0x516255=g[_0x43b68d(0x30f)](_0x2d2c10,_0x175084);break;}case g['EffectRefRangId'][_0x43b68d(0x2df)]:{_0x516255=g[_0x43b68d(0x2e7)](_0x2d2c10,_0x175084);break;}case g[_0x43b68d(0x39c)]['RemoveRowCommandId']:{_0x516255=g[_0x43b68d(0x271)](_0x2d2c10,_0x175084);break;}}const _0x156724=g[_0x43b68d(0x3c3)](_0x516255,_0x175084),_0x3083d7=this[_0x43b68d(0x41e)][_0x43b68d(0x3c5)](_0x4d69cf);if(_0x3083d7&&_0x156724){const _0x226f47={..._0x3083d7,'range':_0x156724};this[_0x43b68d(0x41e)][_0x43b68d(0x3bf)](_0x4d69cf,_0x226f47),_0x301ac1(()=>{const _0x4cce2a=_0x43b68d,_0x3522d0=this[_0x4cce2a(0x205)][_0x4cce2a(0x282)](_0x156724,_0x553f12=>(_0x3522d0[_0x4cce2a(0x404)](),_0x593315(_0x553f12,_0x4d69cf,_0x1d4b3b,_0x156724)));_0xfb037a[_0x4cce2a(0x41f)](_0x3522d0);});}return{'redos':[],'undos':[]};};this[_0x12e5bc(0x41e)]['forEach']((_0x292579,_0x2295ed)=>{const _0x10b882=_0x12e5bc,{range:_0x302521,sheetID:_0x41ccef}=_0x292579,_0x532128=this[_0x10b882(0x205)]['registerRefRange'](_0x302521,_0x13e290=>(_0x532128['dispose'](),_0x593315(_0x13e290,_0x2295ed,_0x41ccef,_0x302521)));_0xfb037a[_0x10b882(0x41f)](_0x532128);});};this[_0x4cd647(0x359)](a[_0x4cd647(0x1da)](this[_0x4cd647(0x427)]['subscribe'](()=>{_0x5891e8();})));}[_0x487490(0x358)](){const _0x25643a=_0x487490;var _0x64cfd2,_0x566ace;if(this[_0x25643a(0x36f)]=!0x0,((_0x64cfd2=this[_0x25643a(0x45b)][_0x25643a(0x2b7)]())==null?void 0x0:_0x64cfd2[_0x25643a(0x3b3)]())!==this['unitID'])return;const _0x4fa727=(_0x566ace=this[_0x25643a(0x1f2)][_0x25643a(0x3c5)](g[_0x25643a(0x333)])['getCurrentSelections']())==null?void 0x0:_0x566ace[0x0],_0x1c010f=this['_univerInstanceService'][_0x25643a(0x339)](a[_0x25643a(0x305)][_0x25643a(0x301)])['getActiveSheet']();_0x4fa727&&_0x1c010f&&this[_0x25643a(0x21b)](_0x1c010f['getSheetId'](),_0x4fa727);}[_0x487490(0x3c0)](){const _0x5702c3=_0x487490;this[_0x5702c3(0x36f)]=!0x1;}};Se=it([A(0x2,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),A(0x3,a[_0x487490(0x299)](me)),A(0x4,a[_0x487490(0x299)](u[_0x487490(0x327)])),A(0x5,a[_0x487490(0x257)]),A(0x6,a[_0x487490(0x3da)]),A(0x7,a[_0x487490(0x299)](g['RefRangeService']))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0x3d52b0,_0x146875,_0x277864,_0x3ac3bf)=>{const _0x3cc76f=_0x487490;for(var _0x296878=_0x3ac3bf>0x1?void 0x0:_0x3ac3bf?at(_0x146875,_0x277864):_0x146875,_0x47b2f6=_0x3d52b0[_0x3cc76f(0x406)]-0x1,_0x3a2a77;_0x47b2f6>=0x0;_0x47b2f6--)(_0x3a2a77=_0x3d52b0[_0x47b2f6])&&(_0x296878=_0x3a2a77(_0x296878)||_0x296878);return _0x296878;},ie=(_0x435aca,_0x1c7508)=>(_0x3b87ad,_0x51f873)=>_0x1c7508(_0x3b87ad,_0x51f873,_0x435aca);let x=class extends a[_0x487490(0x382)]{constructor(_0x128089,_0x52d0a4,_0xb31dc7){const _0x3ade3c=_0x487490;super(),h(this,_0x3ade3c(0x2d6),new Map()),h(this,_0x3ade3c(0x3a7),new d['Subject']()),(this['_univerInstanceService']=_0x128089,this[_0x3ade3c(0x1f2)]=_0x52d0a4,this[_0x3ade3c(0x1f8)]=_0xb31dc7,this[_0x3ade3c(0x24d)]());}[_0x487490(0x404)](){const _0x16dc3a=_0x487490;super[_0x16dc3a(0x404)](),this[_0x16dc3a(0x3a7)][_0x16dc3a(0x2ea)](),this[_0x16dc3a(0x2d6)]['forEach'](_0x3547b8=>_0x3547b8['dispose']());}[_0x487490(0x2a9)](_0x3a0f27){const _0x46123f=_0x487490;return this[_0x46123f(0x2d6)][_0x46123f(0x1ef)](_0x3a0f27)?this[_0x46123f(0x2d6)][_0x46123f(0x3c5)](_0x3a0f27)[_0x46123f(0x3d7)]:this[_0x46123f(0x3a7)][_0x46123f(0x300)](d['filter'](_0x47ac1b=>_0x47ac1b[_0x46123f(0x448)]===_0x3a0f27),d[_0x46123f(0x334)](_0x225101=>_0x225101['cursorInfo$']));}[_0x487490(0x24d)](){const _0x35d736=_0x487490;this[_0x35d736(0x45b)]['getTypeOfUnitAdded$'](a[_0x35d736(0x305)][_0x35d736(0x301)])[_0x35d736(0x300)](d[_0x35d736(0x303)](this[_0x35d736(0x1f1)]))[_0x35d736(0x30d)](async _0x1fab4b=>{const _0xc326f3=_0x35d736,_0x15510d=_0x1fab4b['getUnitId'](),_0x1beb40=await this['_startSheetCollabCursor'](_0x15510d);this[_0xc326f3(0x3a7)][_0xc326f3(0x3cc)](_0x1beb40),this[_0xc326f3(0x2d6)][_0xc326f3(0x3bf)](_0x15510d,_0x1beb40);}),this[_0x35d736(0x45b)][_0x35d736(0x3b2)](a[_0x35d736(0x305)][_0x35d736(0x1d8)])['pipe'](d['takeUntil'](this[_0x35d736(0x1f1)]))[_0x35d736(0x300)](d['filter'](_0x237e3e=>!_0x237e3e[_0x35d736(0x3b3)]()[_0x35d736(0x2cd)]('__')))[_0x35d736(0x30d)](async _0x3f2c73=>{const _0xfb3ef2=_0x35d736,_0x37737d=_0x3f2c73[_0xfb3ef2(0x3b3)](),_0x3d8296=await this[_0xfb3ef2(0x22f)](_0x37737d);this[_0xfb3ef2(0x3a7)][_0xfb3ef2(0x3cc)](_0x3d8296),this['_entities']['set'](_0x37737d,_0x3d8296);}),d[_0x35d736(0x330)](this[_0x35d736(0x45b)]['getTypeOfUnitDisposed$'](a[_0x35d736(0x305)]['UNIVER_DOC']),this['_univerInstanceService'][_0x35d736(0x2db)](a[_0x35d736(0x305)][_0x35d736(0x301)]))[_0x35d736(0x300)](d[_0x35d736(0x303)](this[_0x35d736(0x1f1)]))[_0x35d736(0x30d)](_0x15339d=>{const _0x5838b7=_0x35d736,_0x44039b=_0x15339d[_0x5838b7(0x3b3)](),_0x2f850a=this[_0x5838b7(0x2d6)][_0x5838b7(0x3c5)](_0x44039b);_0x2f850a&&(_0x2f850a[_0x5838b7(0x404)](),this[_0x5838b7(0x2d6)]['delete'](_0x44039b));});}async[_0x487490(0x3aa)](_0x1abf7d){const _0x30c9f5=_0x487490,_0x5588ff=await this['_collabSessionService'][_0x30c9f5(0x37f)](_0x1abf7d),_0x51074d=this[_0x30c9f5(0x1f2)][_0x30c9f5(0x402)](Se,_0x1abf7d,_0x5588ff);return _0x51074d['init'](),_0x51074d;}async['_startDocCollabCursor'](_0x38cc3c){const _0x2e0af1=_0x487490,_0x9b9e9d=await this[_0x2e0af1(0x1f8)][_0x2e0af1(0x37f)](_0x38cc3c),_0x541c96=this[_0x2e0af1(0x1f2)][_0x2e0af1(0x402)](fe,_0x38cc3c,_0x9b9e9d);return _0x541c96[_0x2e0af1(0x2e2)](),_0x541c96;}};x=ct([ie(0x0,a[_0x487490(0x257)]),ie(0x1,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),ie(0x2,a[_0x487490(0x299)](u[_0x487490(0x2f1)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x5c381a,_0x563c9c){const _0x525281=_0x487490;let {radius:_0x2999f0,width:_0x122074,height:_0xeb6b51}=_0x563c9c;_0x2999f0=_0x2999f0!=null?_0x2999f0:0x0,_0x122074=_0x122074!=null?_0x122074:0x1e,_0xeb6b51=_0xeb6b51!=null?_0xeb6b51:0x1e;let _0x3db5de=0x0,_0x477f09=0x0,_0x46f940=0x0;_0x3db5de=_0x477f09=_0x46f940=Math[_0x525281(0x1ff)](_0x2999f0,_0x122074/0x2,_0xeb6b51/0x2),_0x5c381a[_0x525281(0x313)](),_0x5c381a[_0x525281(0x203)](_0x3db5de,0x0),_0x5c381a[_0x525281(0x21e)](_0x122074-_0x477f09,0x0),_0x5c381a[_0x525281(0x280)](_0x122074-_0x477f09,_0x477f09,_0x477f09,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c381a['lineTo'](_0x122074,_0xeb6b51-_0x46f940),_0x5c381a[_0x525281(0x280)](_0x122074-_0x46f940,_0xeb6b51-_0x46f940,_0x46f940,0x0,Math['PI']/0x2,!0x1),_0x5c381a['lineTo'](0x0,_0xeb6b51),_0x5c381a['lineTo'](0x0,_0x3db5de),_0x5c381a['arc'](_0x3db5de,_0x3db5de,_0x3db5de,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c381a['closePath'](),_0x563c9c[_0x525281(0x405)]&&(_0x5c381a[_0x525281(0x1f6)](),_0x5c381a['fillStyle']=_0x563c9c[_0x525281(0x405)],_0x563c9c[_0x525281(0x34f)]===_0x525281(0x2a0)?_0x5c381a['fill'](_0x525281(0x2a0)):_0x5c381a[_0x525281(0x405)](),_0x5c381a[_0x525281(0x412)]());}class ee extends p[_0x487490(0x328)]{constructor(_0x329582,_0x3207b4){const _0x329b4e=_0x487490;super(_0x329582,_0x3207b4),h(this,'color'),h(this,_0x329b4e(0x3b9)),(this['color']=_0x3207b4==null?void 0x0:_0x3207b4[_0x329b4e(0x252)],this[_0x329b4e(0x3b9)]=_0x3207b4==null?void 0x0:_0x3207b4['text']);}static['drawWith'](_0x4a5c19,_0xb3fdfd){const _0x4eb3fa=_0x487490,{text:_0x475270,color:_0x46cc30}=_0xb3fdfd;_0x4a5c19[_0x4eb3fa(0x1f6)](),_0x4a5c19[_0x4eb3fa(0x33e)]=_0x4eb3fa(0x2a1);const _0x3fdda1=_0x4a5c19['measureText'](_0x475270)[_0x4eb3fa(0x3dc)],_0x17b6cd=Math[_0x4eb3fa(0x1ff)](_0x3fdda1+0x2*ne,Re);_t(_0x4a5c19,{'height':K,'radius':0x4,'width':_0x17b6cd,'fill':_0x46cc30}),_0x4a5c19[_0x4eb3fa(0x3e4)]=_0x4eb3fa(0x23a);const _0x303eef=ne,_0x3fb448=K-lt,_0x2dfa8b=Re-0x2*ne;if(_0x3fdda1>_0x2dfa8b){let _0x5231c5='',_0x32f409=0x0;for(const _0x69c607 of _0x475270){const _0x4dcfbf=_0x4a5c19['measureText'](_0x69c607)[_0x4eb3fa(0x3dc)];if(_0x32f409+_0x4dcfbf<=_0x2dfa8b-_0x4a5c19[_0x4eb3fa(0x3f9)]('...')[_0x4eb3fa(0x3dc)])_0x5231c5+=_0x69c607,_0x32f409+=_0x4dcfbf;else{_0x5231c5+='...';break;}}_0x4a5c19['fillText'](_0x5231c5,_0x303eef,_0x3fb448);}else _0x4a5c19['fillText'](_0x475270,_0x303eef,_0x3fb448);_0x4a5c19[_0x4eb3fa(0x412)]();}['_draw'](_0x1d23b3){const _0x302d99=_0x487490;ee[_0x302d99(0x347)](_0x1d23b3,this);}}const re=_0x487490(0x3ac),ht=_0x487490(0x265),ut=_0x487490(0x1dc),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x487490(0x3c7);class De{constructor(_0x5a45f8,_0x37e858,_0xaf7358,_0x1faaf6){const _0x151d96=_0x487490;h(this,_0x151d96(0x28c),[]),h(this,_0x151d96(0x310),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x151d96(0x286),null),h(this,'_eventUnsubscribe',null),(this[_0x151d96(0x3ca)]=_0x5a45f8,this[_0x151d96(0x2f7)]=_0x37e858,this[_0x151d96(0x344)]=_0xaf7358,this[_0x151d96(0x40c)]=_0x1faaf6,this[_0x151d96(0x32d)]());}set[_0x487490(0x42f)](_0xe83a37){const _0x17f36b=_0x487490;_0xe83a37?(this[_0x17f36b(0x3c6)]&&this['_anchorDot'][_0x17f36b(0x457)](),this['_textBubble']&&this[_0x17f36b(0x3b4)][_0x17f36b(0x2c0)]()):(this[_0x17f36b(0x3c6)]&&this[_0x17f36b(0x3c6)][_0x17f36b(0x2c0)](),this[_0x17f36b(0x3b4)]&&this['_textBubble'][_0x17f36b(0x457)]());}['dispose'](){const _0x1baa22=_0x487490;for(const _0x5aaae8 of this[_0x1baa22(0x28c)])_0x5aaae8[_0x1baa22(0x404)]();this[_0x1baa22(0x3b4)]&&this[_0x1baa22(0x3b4)][_0x1baa22(0x404)](),this[_0x1baa22(0x3c6)]&&this[_0x1baa22(0x3c6)][_0x1baa22(0x404)](),this[_0x1baa22(0x310)]&&this[_0x1baa22(0x310)][_0x1baa22(0x404)](),this['_eventUnsubscribe']&&this[_0x1baa22(0x294)]();}['_render'](){const _0x47eefd=_0x487490;var _0x22d1ec;const {_docSkeleton:_0x1c92ce,_document:_0x3499ed}=this,{color:_0x1fbfd5,name:_0x32e074,ranges:_0x484f46}=this[_0x47eefd(0x3ca)],_0x54c3a6=_0x3499ed[_0x47eefd(0x273)](),{docsLeft:_0x59632e,docsTop:_0x535845}=_0x54c3a6,_0x50d129=new b['NodePositionConvertToCursor'](_0x54c3a6,_0x1c92ce);for(const {startOffset:_0x33e6a0,endOffset:_0x571129,rangeType:_0x590485,segmentId:_0x55ffae,segmentPage:_0x41bf42,collapsed:_0x3af8d9,isActive:_0xd13134}of _0x484f46){const _0x4e40a4=_0x1c92ce['findNodePositionByCharIndex'](_0x33e6a0,!0x0,_0x55ffae,_0x41bf42);let _0x2e0bf2=_0x1c92ce[_0x47eefd(0x295)](_0x571129,!0x0,_0x55ffae,_0x41bf42);if(_0x2e0bf2==null&&(_0x2e0bf2=_0x1c92ce[_0x47eefd(0x295)](_0x571129-0x1,!0x1,_0x55ffae,_0x41bf42)),_0xd13134){const {contentBoxPointGroup:_0x32c9cd}=_0x50d129[_0x47eefd(0x2e6)](_0x2e0bf2,_0x2e0bf2);if(_0x32c9cd['length']===0x0)continue;this[_0x47eefd(0x385)](_0x1fbfd5,_0x32c9cd,_0x59632e,_0x535845,_0x32e074),this[_0x47eefd(0x294)]=this[_0x47eefd(0x3f5)]();}if(_0x4e40a4&&_0x2e0bf2){if(_0x590485===a[_0x47eefd(0x204)]['RECT']){const _0x4d8ab3=new b[(_0x47eefd(0x1ed))](_0x54c3a6,_0x1c92ce),{pointGroup:_0x4d2e70}=(_0x22d1ec=_0x4d8ab3[_0x47eefd(0x2e6)](_0x4e40a4,_0x2e0bf2))!=null?_0x22d1ec:{};if(_0x4d2e70==null||_0x4d2e70[_0x47eefd(0x406)]===0x0)continue;this[_0x47eefd(0x338)](_0x1fbfd5,_0x4d2e70,_0x59632e,_0x535845);}else{if(!_0x3af8d9){const {borderBoxPointGroup:_0xd34a2b}=_0x50d129['getRangePointData'](_0x4e40a4,_0x2e0bf2);if(_0xd34a2b[_0x47eefd(0x406)]===0x0)continue;this['_drawTextRange'](_0x1fbfd5,_0xd34a2b,_0x59632e,_0x535845);}}}}}[_0x487490(0x385)](_0x1ec102,_0x4e58db,_0x57edcc,_0x5e2d75,_0x1f96c2){const _0xf2d1b3=_0x487490,_0xdeb25b=this[_0xf2d1b3(0x407)](_0x4e58db),{left:_0x49046d,top:_0x327036,height:_0x10d860}=_0xdeb25b,_0x9ecea9=this[_0xf2d1b3(0x2ae)](),_0x54f4da=ft/_0x9ecea9,_0x39c03c=new p['Rect'](re+a[_0xf2d1b3(0x2e0)][_0xf2d1b3(0x36c)](k),{'left':_0x49046d+_0x57edcc-_0x54f4da,'top':_0x327036+_0x5e2d75,'height':_0x10d860,'width':dt,'fill':_0x1ec102||p[_0xf2d1b3(0x3db)](a['COLORS']['black'],0x0),'strokeWidth':_0x54f4da,'stroke':St,'evented':!0x0});this['_anchor']=_0x39c03c,this[_0xf2d1b3(0x2f7)]['addObject'](_0x39c03c,b[_0xf2d1b3(0x33f)]);const _0x2e8c08=new p[(_0xf2d1b3(0x1f9))](re+a[_0xf2d1b3(0x2e0)][_0xf2d1b3(0x36c)](k),{'left':_0x49046d+_0x57edcc-_0x54f4da,'top':_0x327036+_0x5e2d75-oe/0x2,'height':oe,'width':oe,'fill':_0x1ec102||p[_0xf2d1b3(0x3db)](a[_0xf2d1b3(0x245)][_0xf2d1b3(0x35d)],0x0),'strokeWidth':0x0,'stroke':_0x1ec102||p[_0xf2d1b3(0x3db)](a[_0xf2d1b3(0x245)][_0xf2d1b3(0x35d)],0x0),'evented':!0x1});this[_0xf2d1b3(0x3c6)]=_0x2e8c08,this['_scene']['addObject'](_0x2e8c08,b[_0xf2d1b3(0x33f)]);const _0x2cb68b=new ee(re+a[_0xf2d1b3(0x2e0)][_0xf2d1b3(0x36c)](k),{'left':_0x49046d+_0x57edcc-_0x54f4da,'top':_0x327036+_0x5e2d75-K,'text':_0x1f96c2,'color':_0x1ec102});this['_textBubble']=_0x2cb68b,this[_0xf2d1b3(0x2f7)][_0xf2d1b3(0x3f3)](_0x2cb68b,b[_0xf2d1b3(0x33f)]),this[_0xf2d1b3(0x42f)]=!0x1;}['_handleHover'](){const _0x2f260e=_0x487490,_0x37f0e0=this['_anchor']['onPointerEnter$'][_0x2f260e(0x44a)](()=>{const _0x4d7b88=_0x2f260e;this[_0x4d7b88(0x42f)]=!0x0;}),_0x4b6af9=this[_0x2f260e(0x310)]['onPointerLeave$'][_0x2f260e(0x44a)](()=>{const _0x423c54=_0x2f260e;this['_hideTimer']&&clearTimeout(this[_0x423c54(0x286)]),this[_0x423c54(0x286)]=setTimeout(()=>{const _0x3161e8=_0x423c54;this[_0x3161e8(0x42f)]=!0x1;},0x7d0);});return()=>{const _0x34b725=_0x2f260e;_0x37f0e0[_0x34b725(0x31c)](),_0x4b6af9['unsubscribe']();};}[_0x487490(0x1e9)](_0x10a99c,_0x41c3f2,_0x5e8fbc,_0x48b262){const _0x2a731b=_0x487490,_0x172b53=new a[(_0x2a731b(0x256))](_0x10a99c)[_0x2a731b(0x3bc)](0.2)[_0x2a731b(0x2e4)](),_0x551168=new p[(_0x2a731b(0x1e0))](ht+a[_0x2a731b(0x2e0)][_0x2a731b(0x36c)](k),{'pointsGroup':_0x41c3f2,'fill':_0x172b53||p['getColor'](a[_0x2a731b(0x245)][_0x2a731b(0x35d)],0.2),'left':_0x5e8fbc,'top':_0x48b262,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2a731b(0x218)](_0x551168),this[_0x2a731b(0x2f7)][_0x2a731b(0x3f3)](_0x551168,b['TEXT_RANGE_LAYER_INDEX']);}[_0x487490(0x338)](_0x470a9a,_0x4efe65,_0x1e044f,_0x3af85d){const _0x4c82bd=_0x487490,_0x389fa8=new a[(_0x4c82bd(0x256))](_0x470a9a)['setAlpha'](0.2)[_0x4c82bd(0x2e4)](),_0x5afff4=new p[(_0x4c82bd(0x1e0))](ut+a[_0x4c82bd(0x2e0)][_0x4c82bd(0x36c)](k),{'pointsGroup':_0x4efe65,'fill':_0x389fa8||p['getColor'](a['COLORS']['black'],0.2),'left':_0x1e044f,'top':_0x3af85d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c82bd(0x28c)]['push'](_0x5afff4),this[_0x4c82bd(0x2f7)][_0x4c82bd(0x3f3)](_0x5afff4,b['TEXT_RANGE_LAYER_INDEX']);}[_0x487490(0x407)](_0x2ce773){const _0x227c6c=_0x2ce773[0x0],_0x4a44d6=_0x227c6c[0x0],_0x40d22f=_0x227c6c[0x2],{x:_0x2e2c2e,y:_0x9465dd}=_0x4a44d6,{x:_0x186b57,y:_0x970ba1}=_0x40d22f;return{'left':_0x2e2c2e,'top':_0x9465dd,'width':_0x186b57-_0x2e2c2e,'height':_0x970ba1-_0x9465dd};}[_0x487490(0x2ae)](){const _0x5f39f7=_0x487490,{scaleX:_0x65e0dc,scaleY:_0x598309}=this[_0x5f39f7(0x2f7)]['getAncestorScale']();return Math[_0x5f39f7(0x31f)](_0x65e0dc,_0x598309);}}var It=Object[_0x487490(0x456)],vt=(_0x4ebe3f,_0x12381a,_0x333bfe,_0x1d0c8c)=>{for(var _0x411d4e=_0x1d0c8c>0x1?void 0x0:_0x1d0c8c?It(_0x12381a,_0x333bfe):_0x12381a,_0x16c80f=_0x4ebe3f['length']-0x1,_0x4c290f;_0x16c80f>=0x0;_0x16c80f--)(_0x4c290f=_0x4ebe3f[_0x16c80f])&&(_0x411d4e=_0x4c290f(_0x411d4e)||_0x411d4e);return _0x411d4e;},W=(_0x3dd900,_0x4d1325)=>(_0x10ff6b,_0x259d45)=>_0x4d1325(_0x10ff6b,_0x259d45,_0x3dd900);let Ie=class extends a[_0x487490(0x382)]{constructor(_0x558bea,_0x4b5dc,_0x55bace,_0x36f8c1,_0x13a2fd){const _0x139483=_0x487490;super(),h(this,'_cursorShapes',[]),h(this,'_cursors',[]),(this[_0x139483(0x336)]=_0x558bea,this['_docSkeletonManagerService']=_0x4b5dc,this[_0x139483(0x3bb)]=_0x55bace,this[_0x139483(0x3ab)]=_0x36f8c1,this[_0x139483(0x3d3)]=_0x13a2fd,this[_0x139483(0x24d)]());}[_0x487490(0x24d)](){const _0x2a4797=_0x487490,_0x10ed40=this['_context']['unitId'],_0x7ccba=this['_docSkeletonManagerService'];this[_0x2a4797(0x359)](d[_0x2a4797(0x255)]([this['_collabCursorController']['getCollabCursors$'](_0x10ed40),this[_0x2a4797(0x3d3)]['currentTheme$']])[_0x2a4797(0x300)]($['map'](([_0x5c692f,_0x274897])=>({'skeleton':_0x7ccba['getSkeleton'](),'cursors':[..._0x5c692f[_0x2a4797(0x250)]()]['flatMap'](_0x58ee8e=>({..._0x58ee8e,'color':this[_0x2a4797(0x3d3)][_0x2a4797(0x410)](_0x58ee8e['color'])}))})))['subscribe'](_0x152971=>{const _0x432f0c=_0x2a4797;if(this['_removeCollabCursors'](),_0x152971){const {skeleton:_0x3f8e7d,cursors:_0x157535}=_0x152971;this[_0x432f0c(0x3d1)](_0x3f8e7d,_0x157535);}})),this['_initResize'](),this[_0x2a4797(0x3fe)]();}[_0x487490(0x3d1)](_0x61b47d,_0x5c8576){const _0x58a263=_0x487490,{scene:_0x446e94,mainComponent:_0x36c309}=this[_0x58a263(0x336)],_0x3230e1=_0x5c8576['map'](_0x1956ce=>new De(_0x1956ce,_0x446e94,_0x61b47d,_0x36c309));this[_0x58a263(0x37b)]=_0x3230e1,this[_0x58a263(0x3a0)]=_0x5c8576;}[_0x487490(0x2ad)](){const _0x17f84e=_0x487490;this[_0x17f84e(0x231)]();const {scene:_0x5de74b,mainComponent:_0x576e0e}=this['_context'],_0x5ca60b=this[_0x17f84e(0x1e6)][_0x17f84e(0x2f3)](),_0x39b550=this[_0x17f84e(0x3a0)]['map'](_0x229a42=>new De(_0x229a42,_0x5de74b,_0x5ca60b,_0x576e0e));this[_0x17f84e(0x37b)]=_0x39b550;}['_removeCollabCursors'](){const _0x5d4962=_0x487490;this[_0x5d4962(0x37b)][_0x5d4962(0x24f)](_0x2cfa91=>_0x2cfa91['dispose']()),this['_cursorShapes']=[];}[_0x487490(0x3fe)](){const _0x103afb=_0x487490,_0x485058=[b['SetDocZoomRatioOperation']['id']];this[_0x103afb(0x359)](this[_0x103afb(0x3ab)][_0x103afb(0x248)](_0x1bdd4d=>{const _0x35ff4e=_0x103afb;_0x485058[_0x35ff4e(0x32b)](_0x1bdd4d['id'])&&_0x1bdd4d[_0x35ff4e(0x1e2)][_0x35ff4e(0x400)]===this[_0x35ff4e(0x336)][_0x35ff4e(0x400)]&&this[_0x35ff4e(0x2ad)]();}));}['_initResize'](){const _0x3536f3=_0x487490;this[_0x3536f3(0x359)](a[_0x3536f3(0x43c)](this[_0x3536f3(0x336)][_0x3536f3(0x1e1)][_0x3536f3(0x2f5)])[_0x3536f3(0x300)]($[_0x3536f3(0x223)](_0x2ac0e7=>_0x2ac0e7[_0x3536f3(0x276)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3536f3(0x201)]),$[_0x3536f3(0x29e)](0x10))[_0x3536f3(0x30d)](()=>{const _0x3dcbd1=_0x3536f3;this[_0x3dcbd1(0x2ad)]();}));}};Ie=vt([W(0x1,a[_0x487490(0x299)](Y[_0x487490(0x22a)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x487490(0x3da)]),W(0x4,a[_0x487490(0x299)](a[_0x487490(0x272)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x487490(0x328)]{constructor(_0x162be4,_0x5333f2){const _0xa7d4cd=_0x487490;super(_0x162be4,_0x5333f2),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0xa7d4cd(0x3c1)),h(this,_0xa7d4cd(0x3d6),''),h(this,_0xa7d4cd(0x26f),'top'),h(this,_0xa7d4cd(0x442)),(_0x5333f2&&this[_0xa7d4cd(0x45a)](_0x5333f2),this[_0xa7d4cd(0x33a)][_0xa7d4cd(0x44a)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0xa7d4cd(0x45a)]({'hovered':!0x1})));}[_0x487490(0x45a)](_0x3b1cff){const _0x4008bb=_0x487490;var _0x2d55ca,_0x3372e4,_0x5cfdc5,_0x3e4dcf,_0x3a325b,_0x5631b7;this[_0x4008bb(0x2eb)]=(_0x2d55ca=_0x3b1cff[_0x4008bb(0x252)])!=null?_0x2d55ca:this[_0x4008bb(0x2eb)],this['_hovered']=(_0x3372e4=_0x3b1cff[_0x4008bb(0x2a7)])!=null?_0x3372e4:this[_0x4008bb(0x419)],this[_0x4008bb(0x3c1)]=(_0x5cfdc5=_0x3b1cff[_0x4008bb(0x1fc)])!=null?_0x5cfdc5:this[_0x4008bb(0x3c1)],this[_0x4008bb(0x3d6)]=(_0x3e4dcf=_0x3b1cff['name'])!=null?_0x3e4dcf:this[_0x4008bb(0x3d6)],this[_0x4008bb(0x26f)]=(_0x3a325b=_0x3b1cff['labelPosition'])!=null?_0x3a325b:this['_labelPosition'],this[_0x4008bb(0x442)]=(_0x5631b7=_0x3b1cff[_0x4008bb(0x352)])!=null?_0x5631b7:this['_backgroundColor'],this[_0x4008bb(0x251)]({'width':_0x3b1cff[_0x4008bb(0x3dc)],'height':_0x3b1cff[_0x4008bb(0x3a1)]});}[_0x487490(0x38c)](_0x20daf3){const _0x276ddd=_0x487490,{row:_0xfa40d9,column:_0x4d89cc}=_0x20daf3;if(_0xfa40d9>=this[_0x276ddd(0x3c1)][_0x276ddd(0x21f)]&&_0xfa40d9<=this[_0x276ddd(0x3c1)]['endRow']&&_0x4d89cc>=this[_0x276ddd(0x3c1)][_0x276ddd(0x366)]&&_0x4d89cc<=this[_0x276ddd(0x3c1)][_0x276ddd(0x243)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x487490(0x312)](_0x2d5453){return!0x1;}[_0x487490(0x240)](_0x31103b){const _0x51c971=_0x487490;p[_0x51c971(0x1f9)]['drawWith'](_0x31103b,{'width':this[_0x51c971(0x3dc)],'height':this[_0x51c971(0x3a1)],'strokeWidth':mt,'stroke':this[_0x51c971(0x2eb)],'evented':!0x1,'fill':this[_0x51c971(0x442)]}),this[_0x51c971(0x419)]&&(_0x31103b[_0x51c971(0x1f6)](),_0x31103b[_0x51c971(0x2a2)](0x1,0x0,0x0,0x1,this[_0x51c971(0x3dc)],this[_0x51c971(0x26f)]==='bottom'?0x0:-0x14),ee[_0x51c971(0x347)](_0x31103b,{'text':this['_name'],'color':this[_0x51c971(0x2eb)]}),_0x31103b[_0x51c971(0x412)]());}}var Ct=Object[_0x487490(0x456)],pt=(_0x24ba85,_0x2beb0a,_0xce10b6,_0x452422)=>{for(var _0x459d15=_0x452422>0x1?void 0x0:_0x452422?Ct(_0x2beb0a,_0xce10b6):_0x2beb0a,_0x303b78=_0x24ba85['length']-0x1,_0x11dfa8;_0x303b78>=0x0;_0x303b78--)(_0x11dfa8=_0x24ba85[_0x303b78])&&(_0x459d15=_0x11dfa8(_0x459d15)||_0x459d15);return _0x459d15;},ae=(_0x546dd6,_0x2b5dd7)=>(_0x5b9488,_0x1755c6)=>_0x2b5dd7(_0x5b9488,_0x1755c6,_0x546dd6);const bt=0x1389;let ve=class extends a[_0x487490(0x382)]{constructor(_0x37e5b3,_0x4f9267,_0x33102b,_0x11f759){const _0x4b177c=_0x487490;super(),h(this,_0x4b177c(0x3a0),new Set()),h(this,'_lastPointer',null),(this['_context']=_0x37e5b3,this[_0x4b177c(0x308)]=_0x4f9267,this[_0x4b177c(0x3bb)]=_0x33102b,this[_0x4b177c(0x3d3)]=_0x11f759,this[_0x4b177c(0x24d)]());}['_init'](){const _0x452ac1=_0x487490;this[_0x452ac1(0x308)]['currentSkeleton$']['pipe']($['takeUntil'](this['dispose$']),$[_0x452ac1(0x334)](_0x5032a7=>{const _0x48ae17=_0x452ac1;if(_0x5032a7){const _0x384670=_0x5032a7[_0x48ae17(0x2ef)];return d[_0x48ae17(0x255)](this[_0x48ae17(0x3bb)][_0x48ae17(0x2a9)](this[_0x48ae17(0x336)][_0x48ae17(0x400)]),this[_0x48ae17(0x3d3)]['currentTheme$'])[_0x48ae17(0x300)]($[_0x48ae17(0x2bd)](([_0x2eecc9,_0x58e5a5])=>{const _0x279bb6=new Map();return _0x2eecc9['forEach']((_0x219449,_0x10bd07)=>{const _0x1c49d7=_0x5ec9;if(_0x219449[_0x1c49d7(0x212)]===_0x384670){const _0x438cf5={..._0x219449};_0x438cf5[_0x1c49d7(0x252)]=this[_0x1c49d7(0x3d3)]['getColorFromTheme'](_0x219449['color']),_0x279bb6[_0x1c49d7(0x3bf)](_0x10bd07,_0x438cf5);}}),{'skeleton':_0x5032a7,'cursors':_0x279bb6};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x452ac1(0x30d)](({skeleton:_0x4f9754,cursors:_0x4aaab5})=>{const _0x2357bf=_0x452ac1;this[_0x2357bf(0x231)](),_0x4f9754&&this[_0x2357bf(0x3d1)](_0x4f9754,_0x4aaab5);}),this[_0x452ac1(0x308)][_0x452ac1(0x2ff)][_0x452ac1(0x30d)](_0x454b17=>{const _0x4e894c=_0x452ac1;if(_0x454b17==null)return;const {skeleton:_0x1a8ce9}=_0x454b17,{scene:_0xeabdb3}=this[_0x4e894c(0x336)];_0xeabdb3[_0x4e894c(0x1ec)][_0x4e894c(0x44a)](a['debounce'](_0x34b2ae=>{const _0x3da5ee=_0x4e894c;var _0x59b636,_0x2a0a97;const {offsetX:_0x4e6053,offsetY:_0x354d72}=_0x34b2ae,{x:_0xb947a6,y:_0x5b4b38}=_0xeabdb3['getRelativeToViewportCoord'](p[_0x3da5ee(0x2cf)][_0x3da5ee(0x38a)]([_0x4e6053,_0x354d72])),{scaleX:_0x2a6341,scaleY:_0x4bab1a}=_0xeabdb3[_0x3da5ee(0x37c)](),_0x23b741=_0xeabdb3['getViewport'](p[_0x3da5ee(0x39f)][_0x3da5ee(0x2c6)]),_0x2a02e7=_0xeabdb3[_0x3da5ee(0x31d)](p[_0x3da5ee(0x2cf)][_0x3da5ee(0x38a)]([_0xb947a6,_0x5b4b38]),_0x23b741),_0xfe8358=_0x1a8ce9[_0x3da5ee(0x41c)](_0x4e6053,_0x354d72,_0x2a6341,_0x4bab1a,_0x2a02e7);((_0x59b636=this[_0x3da5ee(0x3e6)])==null?void 0x0:_0x59b636['column'])===_0xfe8358[_0x3da5ee(0x3e5)]&&((_0x2a0a97=this[_0x3da5ee(0x3e6)])==null?void 0x0:_0x2a0a97['row'])===_0xfe8358[_0x3da5ee(0x2e8)]||this[_0x3da5ee(0x3a0)][_0x3da5ee(0x24f)](_0x4e0bbf=>{const _0x40e089=_0x3da5ee;_0x4e0bbf[_0x40e089(0x38c)](_0xfe8358);});},0x64));});}['_updateCollabCursors'](_0x4e8cd4,_0x164171){const _0x564360=_0x487490;var _0xbd4f8e;const _0x39e356=(_0xbd4f8e=this[_0x564360(0x308)][_0x564360(0x335)]())==null?void 0x0:_0xbd4f8e[_0x564360(0x360)];if(!_0x39e356)return;const _0x4e01f5=this[_0x564360(0x3ff)]();if(!_0x4e01f5)return;this['_cursors']['forEach'](_0x458295=>{const _0x2a749e=_0x564360;_0x458295[_0x2a749e(0x2e9)]();});const {scene:_0x1781d7}=_0x4e01f5,_0x13922f=Et(Array['from'](_0x164171['values']()))[_0x564360(0x2bd)](_0xdc57cd=>{const _0x1c5ff0=_0x564360,{color:_0xfa2144,range:_0x17654f,name:_0x35cdcb,selection:_0x574171,sheetID:_0x58e17d}=_0xdc57cd,{startColumn:_0x442983,startRow:_0x25b9a4,endColumn:_0x1a6d42,endRow:_0x515eab}=_0x17654f,_0x340392=X[_0x1c5ff0(0x291)](_0x25b9a4,_0x442983,_0x1781d7,_0x39e356),_0x518c80=X['getCoordByCell'](_0x515eab,_0x1a6d42,_0x1781d7,_0x39e356),{columnHeaderHeightAndMarginTop:_0x37f7ff}=_0x39e356,{startX:_0x499dc5,startY:_0x15ef36}=_0x340392,{endX:_0xee5e2d,endY:_0x4a66a0}=_0x518c80,_0x319157=_0xee5e2d-_0x499dc5,_0x66fb55=_0x4a66a0-_0x15ef36,_0xf7355d={'labelPosition':_0x15ef36-_0x37f7ff>=K?_0x1c5ff0(0x29c):_0x1c5ff0(0x29d),'sheetID':_0x58e17d,'range':_0x17654f,'color':_0xfa2144,'name':_0x35cdcb,'selection':_0x574171,'left':_0x499dc5,'top':_0x15ef36,'width':_0x319157,'height':_0x66fb55,'evented':!0x1,'zIndex':bt};return new Pe(_0x35cdcb,_0xf7355d);});_0x1781d7['addObjects'](_0x13922f,gt),this[_0x564360(0x3a0)]=new Set(_0x13922f);}[_0x487490(0x231)](){const _0x4224b9=_0x487490;var _0x36b3ad;(_0x36b3ad=this[_0x4224b9(0x3a0)])==null||_0x36b3ad[_0x4224b9(0x24f)](_0x321aa6=>_0x321aa6[_0x4224b9(0x404)]());}[_0x487490(0x3ff)](){const _0x359cbb=_0x487490;return X['getSheetObject'](this[_0x359cbb(0x336)][_0x359cbb(0x270)],this[_0x359cbb(0x336)]);}};ve=pt([ae(0x1,a[_0x487490(0x299)](X['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x487490(0x299)](a[_0x487490(0x272)]))],ve);function Et(_0x51623a){const _0xf0ad3c=_0x487490,_0x6f3fa1=new Map();return _0x51623a['forEach'](_0x3c20ce=>{const _0x49847e=_0x5ec9;if(_0x6f3fa1[_0x49847e(0x1ef)](_0x3c20ce[_0x49847e(0x1db)])){const _0x33aaa1=_0x6f3fa1[_0x49847e(0x3c5)](_0x3c20ce['selection']);_0x33aaa1['name']+=',\x20'+_0x3c20ce[_0x49847e(0x244)];}else _0x6f3fa1[_0x49847e(0x3bf)](_0x3c20ce['selection'],_0x3c20ce);}),Array[_0xf0ad3c(0x3af)](_0x6f3fa1['values']());}var E=function(){const _0x4dacc0=_0x487490;return E=Object['assign']||function(_0x544c97){const _0x3b69f0=_0x5ec9;for(var _0x399d34,_0x888848=0x1,_0x46de87=arguments[_0x3b69f0(0x406)];_0x888848<_0x46de87;_0x888848++){_0x399d34=arguments[_0x888848];for(var _0x3709dc in _0x399d34)Object['prototype'][_0x3b69f0(0x234)][_0x3b69f0(0x2b1)](_0x399d34,_0x3709dc)&&(_0x544c97[_0x3709dc]=_0x399d34[_0x3709dc]);}return _0x544c97;},E[_0x4dacc0(0x371)](this,arguments);},Tt=function(_0x55f5a3,_0x2eab8a){const _0x4930fb=_0x487490;var _0x426240={};for(var _0x2c0165 in _0x55f5a3)Object[_0x4930fb(0x1d9)]['hasOwnProperty']['call'](_0x55f5a3,_0x2c0165)&&_0x2eab8a[_0x4930fb(0x3a2)](_0x2c0165)<0x0&&(_0x426240[_0x2c0165]=_0x55f5a3[_0x2c0165]);if(_0x55f5a3!=null&&typeof Object['getOwnPropertySymbols']==_0x4930fb(0x219)){for(var _0xb1a30e=0x0,_0x2c0165=Object['getOwnPropertySymbols'](_0x55f5a3);_0xb1a30e<_0x2c0165[_0x4930fb(0x406)];_0xb1a30e++)_0x2eab8a[_0x4930fb(0x3a2)](_0x2c0165[_0xb1a30e])<0x0&&Object[_0x4930fb(0x1d9)][_0x4930fb(0x24c)]['call'](_0x55f5a3,_0x2c0165[_0xb1a30e])&&(_0x426240[_0x2c0165[_0xb1a30e]]=_0x55f5a3[_0x2c0165[_0xb1a30e]]);}return _0x426240;},pe=M[_0x487490(0x3ae)](function(_0x39b421,_0x1e0a3b){const _0xc9826b=_0x487490;var _0x2bf546=_0x39b421['icon'],_0x1000ef=_0x39b421['id'],_0xa1d966=_0x39b421['className'],_0x23d7aa=_0x39b421['extend'],_0x284752=Tt(_0x39b421,[_0xc9826b(0x42a),'id',_0xc9826b(0x452),'extend']),_0x307cc0=_0xc9826b(0x3a9)[_0xc9826b(0x2ac)](_0x1000ef,'\x20')[_0xc9826b(0x2ac)](_0xa1d966||'')[_0xc9826b(0x29b)](),_0x41172f=M[_0xc9826b(0x432)]('_'[_0xc9826b(0x2ac)](Dt()));return Ae(_0x2bf546,''['concat'](_0x1000ef),{'defIds':_0x2bf546['defIds'],'idSuffix':_0x41172f[_0xc9826b(0x28f)]},E({'ref':_0x1e0a3b,'className':_0x307cc0},_0x284752),_0x23d7aa);});function Ae(_0x5f0597,_0x37cc5a,_0x3cd409,_0x5c924f,_0x3fa4f7){const _0x30f608=_0x487490;return M[_0x30f608(0x263)](_0x5f0597[_0x30f608(0x2f9)],E(E({'key':_0x37cc5a},Ot(_0x5f0597,_0x3cd409,_0x3fa4f7)),_0x5c924f),(Rt(_0x5f0597,_0x3cd409)['children']||[])['map'](function(_0x144821,_0x95357b){const _0x586053=_0x30f608;return Ae(_0x144821,''['concat'](_0x37cc5a,'-')[_0x586053(0x2ac)](_0x5f0597[_0x586053(0x2f9)],'-')['concat'](_0x95357b),_0x3cd409,void 0x0,_0x3fa4f7);}));}function Ot(_0x392f89,_0x211165,_0xc57f0e){const _0x553666=_0x487490;var _0x2d403e=E({},_0x392f89[_0x553666(0x278)]);_0xc57f0e!=null&&_0xc57f0e[_0x553666(0x1ea)]&&_0x2d403e['fill']===_0x553666(0x1ea)&&(_0x2d403e[_0x553666(0x405)]=_0xc57f0e[_0x553666(0x1ea)]),_0x392f89[_0x553666(0x2f9)]===_0x553666(0x21d)&&_0x2d403e['id']&&(_0x2d403e['id']=_0x2d403e['id']+_0x211165[_0x553666(0x408)]),Object[_0x553666(0x25f)](_0x2d403e)[_0x553666(0x24f)](function(_0x35d767){const _0xf9fb28=_0x553666;var _0x2fe3fb=_0x35d767[0x0],_0x3d4810=_0x35d767[0x1];_0x2fe3fb===_0xf9fb28(0x21d)&&typeof _0x3d4810==_0xf9fb28(0x30a)&&(_0x2d403e[_0x2fe3fb]=_0x3d4810[_0xf9fb28(0x2aa)](/url\(#(.*)\)/,'url(#$1'[_0xf9fb28(0x2ac)](_0x211165['idSuffix'],')')));});var _0x3fee98=_0x211165[_0x553666(0x34c)];return!_0x3fee98||_0x3fee98[_0x553666(0x406)]===0x0||(_0x392f89[_0x553666(0x2f9)]===_0x553666(0x26a)&&_0x2d403e[_0x553666(0x2b4)]&&(_0x2d403e[_0x553666(0x2b4)]=_0x2d403e['xlink:href']+_0x211165['idSuffix']),Object[_0x553666(0x25f)](_0x2d403e)[_0x553666(0x24f)](function(_0x13195f){const _0x55aa4b=_0x553666;var _0x304114=_0x13195f[0x0],_0x23af24=_0x13195f[0x1];typeof _0x23af24=='string'&&(_0x2d403e[_0x304114]=_0x23af24[_0x55aa4b(0x2aa)](/url\(#(.*)\)/,_0x55aa4b(0x24a)[_0x55aa4b(0x2ac)](_0x211165[_0x55aa4b(0x408)],')')));})),_0x2d403e;}function Rt(_0x1efabd,_0x4d349d){const _0x41e885=_0x487490;var _0x2ffd50,_0x13068f=_0x4d349d['defIds'];return!_0x13068f||_0x13068f[_0x41e885(0x406)]===0x0?_0x1efabd:_0x1efabd[_0x41e885(0x2f9)]===_0x41e885(0x40a)&&(!((_0x2ffd50=_0x1efabd['children'])===null||_0x2ffd50===void 0x0)&&_0x2ffd50[_0x41e885(0x406)])?E(E({},_0x1efabd),{'children':_0x1efabd[_0x41e885(0x209)][_0x41e885(0x2bd)](function(_0x3409b4){const _0x5222f7=_0x41e885;return typeof _0x3409b4[_0x5222f7(0x278)]['id']==_0x5222f7(0x30a)&&_0x13068f&&_0x13068f[_0x5222f7(0x32b)](_0x3409b4[_0x5222f7(0x278)]['id'])?E(E({},_0x3409b4),{'attrs':E(E({},_0x3409b4['attrs']),{'id':_0x3409b4[_0x5222f7(0x278)]['id']+_0x4d349d[_0x5222f7(0x408)]})}):_0x3409b4;})}):_0x1efabd;}function Dt(){const _0x182a09=_0x487490;return Math[_0x182a09(0x2d5)]()['toString'](0x24)[_0x182a09(0x20d)](0x2,0x8);}function _0x5ec9(_0x26c42a,_0x2db66a){const _0x2d2d01=_0x2d2d();return _0x5ec9=function(_0x5ec9bc,_0x2cc392){_0x5ec9bc=_0x5ec9bc-0x1d8;let _0x95b634=_0x2d2d01[_0x5ec9bc];return _0x95b634;},_0x5ec9(_0x26c42a,_0x2db66a);}pe[_0x487490(0x1f5)]=_0x487490(0x2ed);var Ut={'tag':_0x487490(0x425),'attrs':{'xmlns':_0x487490(0x319),'fill':_0x487490(0x351),'viewBox':_0x487490(0x25b),'width':_0x487490(0x233),'height':_0x487490(0x233)},'children':[{'tag':'g','attrs':{'clipPath':_0x487490(0x23b)},'children':[{'tag':_0x487490(0x314),'attrs':{'stroke':_0x487490(0x25d),'d':_0x487490(0x381),'strokeLinecap':_0x487490(0x3cf),'strokeLinejoin':_0x487490(0x3cf),'strokeWidth':1.2}}]},{'tag':_0x487490(0x40a),'attrs':{},'children':[{'tag':_0x487490(0x390),'attrs':{'id':_0x487490(0x3cb)},'children':[{'tag':_0x487490(0x314),'attrs':{'fill':_0x487490(0x36a),'d':_0x487490(0x3ed)}}]}]}],'defIds':[_0x487490(0x3cb)]},ye=M[_0x487490(0x3ae)](function(_0x360a69,_0x4aac83){const _0x14a3d6=_0x487490;return M[_0x14a3d6(0x263)](pe,Object[_0x14a3d6(0x2c2)]({},_0x360a69,{'id':_0x14a3d6(0x3b8),'ref':_0x4aac83,'icon':Ut}));});ye['displayName']=_0x487490(0x227);var Nt={'tag':_0x487490(0x425),'attrs':{'xmlns':_0x487490(0x319),'fill':_0x487490(0x351),'viewBox':_0x487490(0x450),'width':_0x487490(0x233),'height':_0x487490(0x233)},'children':[{'tag':'g','attrs':{'clipPath':_0x487490(0x40e)},'children':[{'tag':_0x487490(0x314),'attrs':{'stroke':_0x487490(0x25d),'d':_0x487490(0x238),'strokeLinecap':_0x487490(0x3cf),'strokeLinejoin':_0x487490(0x3cf),'strokeWidth':1.2}}]},{'tag':_0x487490(0x40a),'attrs':{},'children':[{'tag':_0x487490(0x390),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x487490(0x36a),'d':_0x487490(0x3ed),'transform':_0x487490(0x395)}}]}]}],'defIds':[_0x487490(0x41b)]},$e=M[_0x487490(0x3ae)](function(_0x21ddb1,_0x1cd593){const _0x5e8da3=_0x487490;return M[_0x5e8da3(0x263)](pe,Object[_0x5e8da3(0x2c2)]({},_0x21ddb1,{'id':'on-line-icon','ref':_0x1cd593,'icon':Nt}));});$e[_0x487490(0x1f5)]=_0x487490(0x232);function Mt(_0x271fd3){const _0x3a184b=_0x487490;switch(_0x271fd3){case u[_0x3a184b(0x2f8)][_0x3a184b(0x443)]:return _0x3a184b(0x1f0);case u[_0x3a184b(0x2f8)][_0x3a184b(0x3fb)]:return'collabStatus.conflict';case u['CollaborationStatus'][_0x3a184b(0x36b)]:return _0x3a184b(0x34e);case u['CollaborationStatus'][_0x3a184b(0x34a)]:return'collabStatus.notCollab';case u[_0x3a184b(0x2f8)][_0x3a184b(0x237)]:case u[_0x3a184b(0x2f8)][_0x3a184b(0x2e3)]:return'collabStatus.syncing';case u[_0x3a184b(0x2f8)][_0x3a184b(0x20b)]:case u[_0x3a184b(0x2f8)][_0x3a184b(0x367)]:return _0x3a184b(0x285);}}function xe(_0xaecdb2){const _0x3aa5a0=_0x487490,{status$:_0x244c58}=_0xaecdb2,_0x2b0976=T[_0x3aa5a0(0x293)](_0x244c58,u[_0x3aa5a0(0x2f8)][_0x3aa5a0(0x34a)]),_0x153b0f=T[_0x3aa5a0(0x417)](a[_0x3aa5a0(0x43f)]),_0x9c25bc=T['useDependency'](u[_0x3aa5a0(0x2f1)]),_0x460b09=_0x2b0976!==u[_0x3aa5a0(0x2f8)][_0x3aa5a0(0x443)],_0x603d55=_0x153b0f['t'](Mt(_0x2b0976)),_0x4194bf=_0x460b09?w[_0x3aa5a0(0x2d1)]($e,{}):w[_0x3aa5a0(0x2d1)](ye,{}),_0x10f99b=M['useCallback'](()=>{_0x460b09||_0x9c25bc['reconnect']();},[_0x460b09,_0x9c25bc]);function _0x7856a3(){const _0x1b174c=_0x3aa5a0;return w['jsxs'](_0x1b174c(0x254),{'className':'univer-flex\x20univer-items-center','onClick':_0x10f99b,'children':[w[_0x1b174c(0x2d1)](_0x1b174c(0x254),{'className':D['clsx'](_0x1b174c(0x41a),{'univer-text-green-500':_0x460b09,'univer-text-red-500':!_0x460b09}),'children':_0x4194bf}),w[_0x1b174c(0x2d1)](_0x1b174c(0x254),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x603d55})]});}return _0x460b09?_0x7856a3():w[_0x3aa5a0(0x2d1)](D[_0x3aa5a0(0x2ba)],{'title':_0x153b0f['t'](_0x3aa5a0(0x364)),'children':_0x7856a3()});}var Lt=Object[_0x487490(0x456)],wt=(_0x7649fd,_0x49ea2a,_0x335e30,_0x31a900)=>{for(var _0x4c9bea=_0x31a900>0x1?void 0x0:_0x31a900?Lt(_0x49ea2a,_0x335e30):_0x49ea2a,_0xc9591d=_0x7649fd['length']-0x1,_0x5c9a60;_0xc9591d>=0x0;_0xc9591d--)(_0x5c9a60=_0x7649fd[_0xc9591d])&&(_0x4c9bea=_0x5c9a60(_0x4c9bea)||_0x4c9bea);return _0x4c9bea;},V=(_0x594ca1,_0x429c76)=>(_0x3700bf,_0x3aa81e)=>_0x429c76(_0x3700bf,_0x3aa81e,_0x594ca1);function _0x2d2d(){const _0x2f3c07=['bottom','throttleTime','mergeOverrideWithDependencies','evenodd','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transform','_revisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','_scheduleClearOtherTimer','hovered','parse','getCollabCursors$','replace','YUUMI_RATE_OVER_LIMIT','concat','_refreshCollabCursors','_getScale','getParam','_createSocketURL','call','runId','actions','xlink:href','with','history','getFocusedUnit','onLocalMutation','SheetCollabCursorShape','Tooltip','APPLY_NON_SEQUENTIAL_REVISION','MoveRangeCommandId','map','DocSelectionManagerService','yellow.400','show','setConfig','assign','debounce','DocCollaborationEntity','DEFAULT_WS_SESSION_TICKET_URL','VIEW_MAIN','_disabled','result','_registerRenderDependencies','m2Prime','imageSourceType','_docStateChangeManagerService','startsWith','createSocket','Vector2','APPLY_REJECT','jsx','deserializeRangeWithSheet','_collaborationController','@univerjs/sheets-ui','random','_entities','SOCKET_FAILED','HEADER_MENU','wsSessionTicketUrl','deepClone','getTypeOfUnitDisposed$','saveImage','location','BrowserCollaborationSocketService','RemoveColCommandId','Tools','urlChange$','init','AWAITING_WITH_PENDING','toRgbString','getMember','getRangePointData','handleIRemoveCol','row','makeDirty','complete','_color','registerComponent','UniverIcon','ranges','sheetId','exhaustSavingTask','CollaborationSessionService','UNAUTHENTICATED','getSkeleton','NOT_FOUND','onTransformChange$','collabCursorState$','_scene','CollaborationStatus','tag','/run/','setParam','YUUMI_UNABLE_LOAD_URL','ILocalStorageService','rxjs','currentSkeleton$','pipe','UNIVER_SHEET','RemoteUniscriptService','takeUntil','docStateChange$','UniverInstanceType','touchDependencies','USER_NOT_INVITED_CODE','_sheetSkeletonManagerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','string','SOCKET_FAILED_RETRY','_setupSubUnitSync','subscribe','ITransformService','handleMoveRange','_anchor','ILocalCacheService','triggerDblclick','beginPath','path','ONLINE','_initStatusComponent','roomMembers','YUUMI_AI_RUN_FAILED','http://www.w3.org/2000/svg','toString','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','unsubscribe','getVpScrollXYInfoByPosToVp','9201xShqiM','max','10686ExglpT','DataLoaderService','_doCreateSocket','DeleteRangeMoveLeftCommandId','syncEditingCollabCursor','MOBILE_HAS_BEEN_BOUND','Plugin','MemberService','Shape','saveTaskMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','includes','purple.300','_render','SNAPSHOT_INVALID_SNAPSHOT','getUndoRedoMutationParamsCache','merge','session.will-retry','IRemoteInstanceService','SheetsSelectionsService','switchMap','getCurrent','_context','getStateCache','_drawRectRange','getCurrentUnitForType','onPointerEnter$','loadOfflineData','MessageType','CollaborationEvent','font','TEXT_RANGE_LAYER_INDEX','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_uiPartsService','IMessageService','INVITE_CODE_ALREADY_BOUND','_docSkeleton','_urlService','UNDEFINED','drawWith','getUnhiddenWorksheets','Unknown\x20user','NOT_COLLAB','_transformUndoRedoStack','defIds','_unitOnClients','collabStatus.fetchMiss','fillRule','_setupBeforeClosingHandler','none','backgroundColor','ACTIVE_UNIT_EVENT_CHANNEL','_instanceService','_initDependencies','CONNECTOR_DATA_TOO_LARGE','489285NDUYeG','_toggleOnline','disposeWithMe','LOGIN_FAILED','asObservable','InsertRowCommandId','black','_transformPreviousActiveRange','mutations','skeleton','CollaborationUIEventId','_docSyncEditingCollabCursorService','IBeforeCloseService','collab-client.tooltip.reconnect','_colorIndex','startColumn','PENDING','searchParams','newValue','white','FETCH_MISS','generateRandomId','enableLocalCache','pushState','_online','fromEvent','apply','isTransformMutationFailure','delete','transformMutationsWithChangeset','replaceDocRanges','_collaborationUIEventService','eventID','_syncEditingCollabCursorService','_handleLeaveEvent','@univerjs-pro/collaboration-client','_cursorShapes','getAncestorScale','updateOfflineData','addClipboardHook','requireSession','isActive','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','RxDisposable','removeParam','INVALID_ARGUMENT','_drawAnchor','APPLY_REVISION_CONFILICT','BuiltInUIPart','permission.content','entityInit$','FromArray','isArray','onMouseMove','transformStateCache','CLOSE_ROOM','roomMembers$','clipPath','handleDeleteRangeMoveUp','JOIN_ROOM_FAILED','invokeId','_onCursorUpdate','translate(.97)','IImageIoService','PERMISSION_DENIED','getUnitStatus$','focused$','transformRemoteChangeset','@univerjs/engine-formula','EffectRefRangId','red.300','HTTPService','SHEET_VIEWPORT_KEY','_cursors','height','indexOf','UPDATE_CURSOR','@univerjs/rpc','SetTextSelectionsOperation','RECT','_entityInit$','CollaborationDataLoaderController','univerjs-icon\x20univerjs-icon-','_startSheetCollabCursor','_commandService','collab-text-anchor-','SessionStatus','forwardRef','from','unshift','_initStatusListener','getTypeOfUnitAdded$','getUnitId','_textBubble','YUUMI_ASYNCIO_CANCELLED','green.600','INVITE_CODE_REQUIRED','off-line-icon','text','_handleEvent','_collabCursorController','setAlpha','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','set','_toggleOffline','_range','react','runRefRangeMutations','UniverCollaborationClientPlugin','get','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','setActiveRange','_cursor','off-line-icon_clip0_910_343','next','isTransformMutationsWithChangesetSuccess','m1Prime','round','origin','_updateCollabCursors','WebBrowserSingleActiveUnitService','_themeService','createIdentifier','ENSURE_SNAPSHOT_EXECUTION','_name','cursorInfo$','setItem','@univerjs/docs-ui','ICommandService','getColor','width','IURLService','uni.network.url-service','12817760wcpzrF','YUUMI_ALL_TABLES_IS_INVALID','clearInterval','Failed','_logService','fillStyle','column','_lastPointer','Injector','Disposable','activeSheet$','isEditing','assignAColorForMemberID','href','M0\x200H16V16H0z','_saveCache','@univerjs/drawing','_getMergeRange','_initEvent','code','addObject','1064810aqkRae','_handleHover','handleInsertRow','collaboration.closeRoom','LICENSE_DISTRO_REJECTED','measureText','send','CONFLICT','WebURLService','whenReady','_initCommandExecutedListener','_getSheetObject','unitId','CollaborationSocketService','createInstance','handleInsertRangeMoveDown','dispose','fill','length','_getAnchorBounding','idSuffix','ILogService','defs','_updateSubUnitFromURLParams','_document','_httpService','url(#on-line-icon_clip0_910_349)','INTERNAL_ERROR','getColorFromTheme','_config','restore','body','8oCMYMf','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IUIPartsService','useDependency','EMAIL_HAS_BEEN_BOUND','_hovered','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon_clip0_910_349','getCellPositionByOffset','_renderManagerService','cursorInfo','add','DocStateChangeManagerService','_memberService','_handleHeartbeatEvent','_scheduleSaving','setUndoRedoMutationParamsCache','svg','size','_cursorInfo$','session.connection-failed','getValue','icon','INotificationService','OTHER_CLIENT_EDITING','316ldhgHp','registerBeforeClose','_hover','popstate','_imageIoService','useRef','getSheetId','[CollaborationDataLoaderController]','transformSelections','search','event$','sessionStatus$','DependentOn','_localStorageService','session.collaboration-timeout','fromEventSubject','getLocalCacheKey','react/jsx-runtime','LocaleService','_localCacheService','clearTimeout','_backgroundColor','OFFLINE','then','APPLY_DUPLICATED','executeCommand','_handleJoinEvent','unitID','storage','subscribeEvent','_ensureSubject','INVALID_INVITE_CODE','2037CNfLAV','replaceState','getActiveSheet','0\x200\x2017\x2016','ALREADY_EXISTS','className','ticket','CHANGESET_REVISION_CONFILICT','toStringTag','getOwnPropertyDescriptor','hide','UniverCollaborationClientUIPlugin','Error','setShapeProps','_univerInstanceService','_localeService','UNIVER_DOC','prototype','toDisposable','selection','collab-rect-range-','@univerjs/core','getConfig','CollaborationController','RegularPolygon','engine','params','split','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','_cachedData','LICENSE_MAX_UNITS_EXCEEDED','_drawTextRange','colorChannel1','doc.mutation.rich-text-editing','onPointerMove$','NodePositionConvertToRectRange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','has','collabStatus.offline','dispose$','_injector','RichTextEditingMutation','onRendered','displayName','save','status$','_collabSessionService','Rect','3215844pcHucR','Rectangle','range','find','stringify','min','_status$','resize','textRanges','moveTo','DOC_RANGE_TYPE','_refRangeService','WECHAT_HAS_BEEN_BOUND','Optional','symbol','children','transformMutation','SYNCED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','substring','getCollabEntity$','_registerDependencies','IDocClipboardService','_removeClearOtherTimer','sheetID','@univerjs/network','collaboration-client.offline-data-not-saved','ISocketService','LOCAL_CACHE_INTERVAL','_getSessionTicket','push','function','memberID','_updateLocalCursor','InsertRangeMoveRightCommandId','mask','lineTo','startRow','YUUMI_NO_CUBOID_FOR_QUESTION','_scheduleHeartbeat','data','filter','_colorAssignService','_transformService','BehaviorSubject','OffLineIcon','Workbook','PY_RUNTIME_SCRIPT_ERROR','DocSkeletonManagerService','saveOfflineData','Warning','_heartbeatTimer','DocIMEInputManagerService','_startDocCollabCursor','_session','_removeCollabCursors','OnLineIcon','1em','hasOwnProperty','handleInsertCol','_collabCursorState$','AWAITING','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','CommandType','#FFF','url(#off-line-icon_clip0_910_343)','getRenderById','UnitStatus','LICENSE_IMPORT_SIZE_EXCEEDED','handleInsertRangeMoveRight','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','redoState','endColumn','name','COLORS','_docClipboardService','_onRefRangeChange','onCommandExecuted','setStateCache','url(#$1','source','propertyIsEnumerable','_init','_unitStatus','forEach','values','transformByState','color','_getSaveTimeout','div','combineLatest','ColorKit','IUniverInstanceService','onStarting','_id','_beforeCloseService','0\x200\x2016\x2016','1028764EMqqVz','currentColor','subunit','entries','DeleteRangeMoveUpCommandId','DesktopCollaborationStatusDisplayController','OTHER_CLIENTS_EDITING','createElement','error','collab-text-range-','_send','_assignedColors','distinctUntilChanged','SetWorksheetActivateCommand','use','_updateURLWithCurrentState','debounceTime','collaboration-client-ui.config','getSheetBySheetId','_labelPosition','unit','handleIRemoveRow','ThemeService','getOffsetConfig','key','_transformHistoryAndStateStack','type','_initEntityListener','attrs','connectInjector','TOO_MANY_REQUESTS','_notificationService','transformIMECache','TEXT','_onCursorDelete','_messageService','arc','debug','registerRefRange','MUTATION','_saveTaskMap','collabStatus.synced','_hideTimer','INVITE_CODE_HAS_BEEN_UES','_docTransformStateCacheService','disposeUnit','collaboration.single-unit.warning','_roomMembers$','_shapes','undoState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','current','getDocRanges','getCoordByCell','USERS_LEAVE','useObservable','_eventUnsubscribe','findNodePositionByCharIndex','addEventListener','_configService','Module','Inject','defineProperty','trim','top'];_0x2d2d=function(){return _0x2f3c07;};return _0x2d2d();}exports[_0x487490(0x261)]=class extends a[_0x487490(0x3e8)]{constructor(_0x11f22e,_0x51a019,_0xc93cc2,_0x328522){const _0x359398=_0x487490;super(),h(this,'_status$',new d[(_0x359398(0x226))](u[_0x359398(0x2f8)][_0x359398(0x34a)])),(this['_univerInstanceService']=_0x11f22e,this['_injector']=_0x51a019,this['_collaborationController']=_0xc93cc2,this[_0x359398(0x341)]=_0x328522,this[_0x359398(0x316)](),this['_initStatusListener']());}[_0x487490(0x3b1)](){const _0x22f353=_0x487490;this[_0x22f353(0x359)](this['_univerInstanceService'][_0x22f353(0x399)][_0x22f353(0x300)](d[_0x22f353(0x334)](()=>{const _0x5a85e3=_0x22f353,_0x12a87e=this[_0x5a85e3(0x45b)]['getFocusedUnit']();return _0x12a87e?this['_collaborationController'][_0x5a85e3(0x20e)](_0x12a87e[_0x5a85e3(0x3b3)]()):d['of'](null);}),d[_0x22f353(0x334)](_0x14490c=>_0x14490c?_0x14490c[_0x22f353(0x1f7)]:d['of'](u[_0x22f353(0x2f8)][_0x22f353(0x34a)])))['subscribe'](_0x1b0341=>{const _0xcf7625=_0x22f353;this[_0xcf7625(0x200)][_0xcf7625(0x3cc)](_0x1b0341);}));}[_0x487490(0x316)](){const _0x280888=_0x487490;this['disposeWithMe'](this[_0x280888(0x341)][_0x280888(0x2ec)](T[_0x280888(0x387)][_0x280888(0x2d8)],()=>T[_0x280888(0x279)](Pt({'status$':this['_status$'][_0x280888(0x35b)]()}),this[_0x280888(0x1f2)])));}},exports[_0x487490(0x261)]=wt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),V(0x2,a['Inject'](u[_0x487490(0x1df)])),V(0x3,T[_0x487490(0x416)])],exports[_0x487490(0x261)]);function Pt(_0x15d468){const {status$:_0x20bf20}=_0x15d468;return function(){const _0x4c4d77=_0x5ec9;return w[_0x4c4d77(0x2d1)](xe,{'status$':_0x20bf20});};}var At=Object[_0x487490(0x456)],yt=(_0x3c4274,_0x5e3de5,_0x1d6886,_0x4ef6c5)=>{const _0x5b6e5f=_0x487490;for(var _0xd07118=_0x4ef6c5>0x1?void 0x0:_0x4ef6c5?At(_0x5e3de5,_0x1d6886):_0x5e3de5,_0x25f849=_0x3c4274[_0x5b6e5f(0x406)]-0x1,_0x402a9e;_0x25f849>=0x0;_0x25f849--)(_0x402a9e=_0x3c4274[_0x25f849])&&(_0xd07118=_0x402a9e(_0xd07118)||_0xd07118);return _0xd07118;},y=(_0x4cd8c8,_0x1341a0)=>(_0x37c845,_0x1b1584)=>_0x1341a0(_0x37c845,_0x1b1584,_0x4cd8c8);let q=class extends a[_0x487490(0x3e8)]{constructor(_0x324d13,_0x171ff0,_0x2ef9f4,_0x4916f6,_0x13cd1b,_0x47a871){const _0x31c5ee=_0x487490;super(),this[_0x31c5ee(0x25a)]=_0x324d13,this[_0x31c5ee(0x440)]=_0x171ff0,this[_0x31c5ee(0x376)]=_0x2ef9f4,this[_0x31c5ee(0x27f)]=_0x4916f6,this[_0x31c5ee(0x27b)]=_0x13cd1b,this[_0x31c5ee(0x45c)]=_0x47a871,this[_0x31c5ee(0x350)](),this[_0x31c5ee(0x3f1)]();}[_0x487490(0x350)](){const _0x1d2fde=_0x487490;this[_0x1d2fde(0x359)](this['_beforeCloseService'][_0x1d2fde(0x42e)](()=>{const _0x40b6c8=_0x1d2fde;if(this[_0x40b6c8(0x440)][_0x40b6c8(0x329)][_0x40b6c8(0x426)])return this[_0x40b6c8(0x45c)]['t'](_0x40b6c8(0x214));}));}[_0x487490(0x3f1)](){const _0x48f13e=_0x487490;this[_0x48f13e(0x359)](this['_collaborationUIEventService'][_0x48f13e(0x437)][_0x48f13e(0x30d)](_0x22437e=>{const _0x126662=_0x48f13e;_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x42c)]&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D[_0x126662(0x33c)]['Warning'],'content':this[_0x126662(0x45c)]['t'](_0x126662(0x28a))}),_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x38e)]&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D[_0x126662(0x33c)]['Warning'],'content':this[_0x126662(0x45c)]['t']('collaboration.closeRoom')}),_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x397)]&&this[_0x126662(0x27b)][_0x126662(0x2c0)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x126662(0x388)),'type':'error','duration':0x0}),_0x22437e['id']===u[_0x126662(0x361)]['CONFLICT']&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D[_0x126662(0x33c)][_0x126662(0x459)],'content':this[_0x126662(0x45c)]['t'](_0x126662(0x3f7))+'('+_0x22437e[_0x126662(0x222)]+')'}),_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x392)]&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D['MessageType'][_0x126662(0x22c)],'content':this['_localeService']['t'](_0x22437e[_0x126662(0x222)]||'')}),_0x22437e['id']===u['CollaborationUIEventId'][_0x126662(0x30b)]&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D[_0x126662(0x33c)][_0x126662(0x22c)],'content':this[_0x126662(0x45c)]['t'](_0x126662(0x331))}),_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x2d7)]&&this[_0x126662(0x27f)][_0x126662(0x2c0)]({'type':D[_0x126662(0x33c)]['Error'],'content':this[_0x126662(0x45c)]['t'](_0x126662(0x428))}),_0x22437e['id']===u[_0x126662(0x361)][_0x126662(0x3bd)]&&this['_messageService'][_0x126662(0x2c0)]({'type':D['MessageType'][_0x126662(0x459)],'content':this['_localeService']['t'](_0x126662(0x43b))});}));}};q=yt([y(0x0,T[_0x487490(0x363)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x487490(0x299)](u['CollaborationUIEventService'])),y(0x3,T[_0x487490(0x342)]),y(0x4,T[_0x487490(0x42b)]),y(0x5,a['Inject'](a['LocaleService']))],q);const $t=_0x487490(0x26d),Ue={},be=a[_0x487490(0x3d4)](_0x487490(0x3de));var xt=Object[_0x487490(0x456)],jt=(_0x11330f,_0x5b71c8,_0x4987eb,_0x27cdcc)=>{for(var _0x523a0a=_0x27cdcc>0x1?void 0x0:_0x27cdcc?xt(_0x5b71c8,_0x4987eb):_0x5b71c8,_0xc10dc9=_0x11330f['length']-0x1,_0x2d1324;_0xc10dc9>=0x0;_0xc10dc9--)(_0x2d1324=_0x11330f[_0xc10dc9])&&(_0x523a0a=_0x2d1324(_0x523a0a)||_0x523a0a);return _0x523a0a;},H=(_0x5881f8,_0x1271d1)=>(_0x273eb7,_0x29f2d4)=>_0x1271d1(_0x273eb7,_0x29f2d4,_0x5881f8);exports[_0x487490(0x3a8)]=class extends a[_0x487490(0x382)]{constructor(_0x16f990,_0x3ca4e9,_0x1d3e2a,_0x7a7d2a,_0x205c11){const _0x179cf1=_0x487490;super(),this[_0x179cf1(0x345)]=_0x16f990,this[_0x179cf1(0x3e3)]=_0x3ca4e9,this[_0x179cf1(0x3ab)]=_0x1d3e2a,this['_dataLoaderService']=_0x7a7d2a,_0x205c11?_0x205c11==null||_0x205c11[_0x179cf1(0x3fd)]()['then'](()=>this[_0x179cf1(0x24d)]()):(this['_logService']['debug'](_0x179cf1(0x434),_0x179cf1(0x309)),this[_0x179cf1(0x24d)]());}async[_0x487490(0x24d)](){const _0x3daed0=_0x487490,_0x5bfae9=this[_0x3daed0(0x345)][_0x3daed0(0x2af)](_0x3daed0(0x270)),_0x3fde9e=this['_urlService'][_0x3daed0(0x2af)](_0x3daed0(0x276)),_0x4cb084=this['_urlService'][_0x3daed0(0x2af)](_0x3daed0(0x25e));if(!_0x5bfae9||!_0x3fde9e){this[_0x3daed0(0x3e3)][_0x3daed0(0x281)]('[CollaborationDataLoaderController]',_0x3daed0(0x340));return;}const _0x4e3f52=await this['_dataLoaderService']['loadUnit'](_0x5bfae9,Number(_0x3fde9e),_0x4cb084);_0x4e3f52&&_0x4e3f52 instanceof a[_0x3daed0(0x228)]&&this[_0x3daed0(0x30c)](_0x4e3f52);}async['_setupSubUnitSync'](_0x159f1b){const _0x528a41=_0x487490;await this[_0x528a41(0x40b)](_0x159f1b),_0x159f1b[_0x528a41(0x3e9)][_0x528a41(0x300)](d[_0x528a41(0x303)](this[_0x528a41(0x1f1)]))['subscribe'](_0x182eca=>{const _0x3f4a58=_0x528a41;_0x182eca&&this[_0x3f4a58(0x26b)](_0x182eca);}),this[_0x528a41(0x345)][_0x528a41(0x2e1)][_0x528a41(0x300)](d[_0x528a41(0x303)](this['dispose$']))[_0x528a41(0x30d)](()=>this[_0x528a41(0x40b)](_0x159f1b));}['_updateURLWithCurrentState'](_0x43bfab,_0x2ebf45=!0x1){const _0x2aae3f=_0x487490,_0x1cf7a3=this['_urlService']['getParam'](_0x2aae3f(0x25e));_0x43bfab[_0x2aae3f(0x433)]()!==_0x1cf7a3&&this['_urlService'][_0x2aae3f(0x2fb)](_0x2aae3f(0x25e),_0x43bfab[_0x2aae3f(0x433)](),_0x2ebf45);}async[_0x487490(0x40b)](_0x77b3dc){const _0x325b24=_0x487490;var _0x9a8082;const _0x4d7d86=this[_0x325b24(0x345)][_0x325b24(0x2af)](_0x325b24(0x25e));if(!_0x4d7d86||!_0x77b3dc[_0x325b24(0x26e)](_0x4d7d86)){const _0x4fb449=_0x77b3dc[_0x325b24(0x348)]()[0x0],_0x3c6391=_0x77b3dc['getSheetBySheetId'](_0x4fb449);if(!_0x3c6391)return;this['_updateURLWithCurrentState'](_0x3c6391,!0x0),await this[_0x325b24(0x3ab)][_0x325b24(0x446)](g[_0x325b24(0x269)]['id'],{'unitId':_0x77b3dc[_0x325b24(0x3b3)](),'subUnitId':_0x4fb449});return;}((_0x9a8082=_0x77b3dc[_0x325b24(0x44f)]())==null?void 0x0:_0x9a8082[_0x325b24(0x433)]())!==_0x4d7d86&&await this[_0x325b24(0x3ab)][_0x325b24(0x446)](g[_0x325b24(0x269)]['id'],{'unitId':_0x77b3dc[_0x325b24(0x3b3)](),'subUnitId':_0x4d7d86});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x487490(0x409)]),H(0x2,a[_0x487490(0x3da)]),H(0x3,a[_0x487490(0x299)](u[_0x487490(0x321)])),H(0x4,a[_0x487490(0x207)](Ke[_0x487490(0x332)]))],exports[_0x487490(0x3a8)]);var Bt=Object[_0x487490(0x456)],kt=(_0x13e2cf,_0x4f04fd,_0x165881,_0x2de5ad)=>{for(var _0x27064e=_0x2de5ad>0x1?void 0x0:_0x2de5ad?Bt(_0x4f04fd,_0x165881):_0x4f04fd,_0x3cc821=_0x13e2cf['length']-0x1,_0x268bd6;_0x3cc821>=0x0;_0x3cc821--)(_0x268bd6=_0x13e2cf[_0x3cc821])&&(_0x27064e=_0x268bd6(_0x27064e)||_0x27064e);return _0x27064e;},ce=(_0xbb8bad,_0x4b6cfa)=>(_0x51690d,_0x590736)=>_0x4b6cfa(_0x51690d,_0x590736,_0xbb8bad);let z=class{constructor(_0x576d02,_0x4733fe,_0x5745d6){const _0x3a428b=_0x487490;this[_0x3a428b(0x1f2)]=_0x576d02,this[_0x3a428b(0x225)]=_0x4733fe,this[_0x3a428b(0x41d)]=_0x5745d6;}[_0x487490(0x27c)](_0x5e9f16){const _0xd38fc9=_0x487490;this[_0xd38fc9(0x34b)](_0x5e9f16),this[_0xd38fc9(0x35e)](_0x5e9f16);}[_0x487490(0x39a)](_0x48931f){const _0x199919=_0x487490,{unitID:_0x1209d6}=_0x48931f,_0x49666c=this['_renderManagerService'][_0x199919(0x23c)](_0x1209d6)[_0x199919(0x2b5)](b['DocIMEInputManagerService']),{redoCache:_0x9161a1}=_0x49666c[_0x199919(0x32f)]();if(_0x9161a1['length']===0x0)return _0x48931f;let _0x5c9d6e=a['Tools'][_0x199919(0x2da)](_0x48931f['mutations'][0x0]);for(let _0x374fe8=0x0;_0x374fe8<_0x9161a1[_0x199919(0x406)];_0x374fe8++){const _0x58008b={'id':_0x199919(0x1eb),'params':{..._0x9161a1[_0x374fe8]}},_0x4b9fcf=this[_0x199919(0x225)][_0x199919(0x20a)](_0x5c9d6e,_0x58008b,!0x1);if(m[_0x199919(0x372)](_0x4b9fcf))throw _0x4b9fcf['error'];_0x5c9d6e=_0x4b9fcf[_0x199919(0x3ce)];}return{...a[_0x199919(0x2e0)][_0x199919(0x2da)](_0x48931f),'mutations':[_0x5c9d6e]};}[_0x487490(0x34b)](_0x75d009){const _0x32cc65=_0x487490,{unitID:_0x27be22}=_0x75d009,_0x1bc6b7=this[_0x32cc65(0x41d)][_0x32cc65(0x23c)](_0x27be22)[_0x32cc65(0x2b5)](b[_0x32cc65(0x22e)]),{undoCache:_0x31619d,redoCache:_0x93a1c4}=_0x1bc6b7[_0x32cc65(0x32f)]();if(_0x31619d['length']===0x0||_0x93a1c4[_0x32cc65(0x406)]===0x0)return;const _0x565e6b=[],_0x175e41=[];let _0x27a39a=a['Tools']['deepClone'](_0x75d009[_0x32cc65(0x35f)][0x0]),_0x15e4f0=a[_0x32cc65(0x2e0)][_0x32cc65(0x2da)](_0x75d009[_0x32cc65(0x35f)][0x0]);for(let _0x33faa8=_0x31619d['length']-0x1;_0x33faa8>=0x0;_0x33faa8--){const _0x68614d={'id':_0x32cc65(0x1eb),'params':{..._0x31619d[_0x33faa8]}},_0x29b9b1={'id':_0x32cc65(0x1eb),'params':{..._0x93a1c4[_0x33faa8]}},_0xbcd364=this['_transformService'][_0x32cc65(0x20a)](_0x27a39a,_0x68614d,!0x1),_0x2b2de2=this[_0x32cc65(0x225)][_0x32cc65(0x20a)](_0x15e4f0,_0x29b9b1,!0x1);if(m[_0x32cc65(0x372)](_0xbcd364))throw _0xbcd364[_0x32cc65(0x264)];if(m[_0x32cc65(0x372)](_0x2b2de2))throw _0x2b2de2[_0x32cc65(0x264)];_0x565e6b[_0x32cc65(0x3b0)](_0xbcd364[_0x32cc65(0x2ca)]['params']),_0x175e41['unshift'](_0x2b2de2[_0x32cc65(0x2ca)][_0x32cc65(0x1e2)]),_0x27a39a=_0xbcd364[_0x32cc65(0x3ce)],_0x15e4f0=_0x2b2de2['m1Prime'];}_0x1bc6b7[_0x32cc65(0x424)]({'undoCache':_0x565e6b,'redoCache':_0x175e41});}[_0x487490(0x35e)](_0x38aa99){const _0x37923a=_0x487490,{unitID:_0x436239}=_0x38aa99,_0x29539e=this[_0x37923a(0x41d)][_0x37923a(0x23c)](_0x436239)['with'](b[_0x37923a(0x22e)]),_0x514239=_0x29539e[_0x37923a(0x1e4)]();if(_0x514239==null)return;const _0x4bfa00=[{'id':_0x37923a(0x1eb),'params':{'unitId':_0x38aa99[_0x37923a(0x448)],'actions':null,'textRanges':[_0x514239]}}],_0x5beb78=this[_0x37923a(0x225)]['transformMutationsWithChangeset'](_0x38aa99,_0x4bfa00);if(!m[_0x37923a(0x3cd)](_0x5beb78))throw _0x5beb78[_0x37923a(0x264)];const _0x18a52e=_0x5beb78[_0x37923a(0x2ca)][0x0][_0x37923a(0x1e2)][_0x37923a(0x202)];Array[_0x37923a(0x38b)](_0x18a52e)&&_0x18a52e[_0x37923a(0x406)]&&_0x29539e[_0x37923a(0x3c9)](_0x18a52e[0x0]);}};z=kt([ce(0x0,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),ce(0x1,m[_0x487490(0x30e)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0x37adac,_0x35ee99,_0xb6a240,_0x1af21d)=>{const _0x46b362=_0x487490;for(var _0x3fcd54=_0x1af21d>0x1?void 0x0:_0x1af21d?Ht(_0x35ee99,_0xb6a240):_0x35ee99,_0x552fb6=_0x37adac[_0x46b362(0x406)]-0x1,_0xc6ee2e;_0x552fb6>=0x0;_0x552fb6--)(_0xc6ee2e=_0x37adac[_0x552fb6])&&(_0x3fcd54=_0xc6ee2e(_0x3fcd54)||_0x3fcd54);return _0x3fcd54;},le=(_0x326b27,_0x4afc1e)=>(_0x586223,_0x21465f)=>_0x4afc1e(_0x586223,_0x21465f,_0x326b27);let J=class{constructor(_0x573e97,_0x576fcb,_0x1999eb){const _0x4ad566=_0x487490;this[_0x4ad566(0x1f2)]=_0x573e97,this[_0x4ad566(0x225)]=_0x576fcb,this['_docStateChangeManagerService']=_0x1999eb;}[_0x487490(0x38d)](_0x367879){this['_transformHistoryAndStateStack'](_0x367879);}[_0x487490(0x39a)](_0xc70edc){const _0x54401a=_0x487490,{unitID:_0x210b6b}=_0xc70edc,{collaboration:_0x30c3d1}=this[_0x54401a(0x2cc)][_0x54401a(0x337)](_0x210b6b);if(_0x30c3d1['length']===0x0)return _0xc70edc;let _0x1f5b51=a['Tools'][_0x54401a(0x2da)](_0xc70edc[_0x54401a(0x35f)][0x0]);for(let _0x554d2b=0x0;_0x554d2b<_0x30c3d1[_0x54401a(0x406)];_0x554d2b++){const _0x129bcd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30c3d1[_0x554d2b][_0x54401a(0x400)],..._0x30c3d1[_0x554d2b][_0x54401a(0x242)]}},_0x1b9848=this['_transformService'][_0x54401a(0x20a)](_0x1f5b51,_0x129bcd,!0x1);if(m['isTransformMutationFailure'](_0x1b9848))throw _0x1b9848[_0x54401a(0x264)];_0x1f5b51=_0x1b9848['m1Prime'];}return{...a['Tools'][_0x54401a(0x2da)](_0xc70edc),'mutations':[_0x1f5b51]};}[_0x487490(0x275)](_0x34da4e){const _0x48eb4f=_0x487490,{unitID:_0x3d698d}=_0x34da4e,{history:_0x40528f,collaboration:_0x4562c1}=this[_0x48eb4f(0x2cc)][_0x48eb4f(0x337)](_0x3d698d);if(_0x40528f[_0x48eb4f(0x406)]===0x0&&_0x4562c1[_0x48eb4f(0x406)]===0x0)return;const _0x104517=[],_0x10812f=[];let _0x107060=a[_0x48eb4f(0x2e0)]['deepClone'](_0x34da4e['mutations'][0x0]),_0x3100dc=a[_0x48eb4f(0x2e0)][_0x48eb4f(0x2da)](_0x34da4e[_0x48eb4f(0x35f)][0x0]);for(let _0x34df7a=_0x40528f[_0x48eb4f(0x406)]-0x1;_0x34df7a>=0x0;_0x34df7a--){const _0x32cd31={'id':_0x48eb4f(0x1eb),'params':{'unitId':_0x40528f[_0x34df7a]['unitId'],..._0x40528f[_0x34df7a]['undoState']}},_0x6d205={'id':_0x48eb4f(0x1eb),'params':{'unitId':_0x40528f[_0x34df7a][_0x48eb4f(0x400)],..._0x40528f[_0x34df7a][_0x48eb4f(0x242)]}},_0xedb3a7=this['_transformService'][_0x48eb4f(0x20a)](_0x107060,_0x32cd31,!0x1),_0x31e63a=this['_transformService'][_0x48eb4f(0x20a)](_0x3100dc,_0x6d205,!0x1);if(m[_0x48eb4f(0x372)](_0xedb3a7))throw _0xedb3a7['error'];if(m['isTransformMutationFailure'](_0x31e63a))throw _0x31e63a[_0x48eb4f(0x264)];_0x104517[_0x48eb4f(0x3b0)]({..._0x40528f[_0x34df7a],'undoState':_0xedb3a7[_0x48eb4f(0x2ca)][_0x48eb4f(0x1e2)],'redoState':_0x31e63a[_0x48eb4f(0x2ca)][_0x48eb4f(0x1e2)]}),_0x107060=_0xedb3a7['m1Prime'],_0x3100dc=_0x31e63a[_0x48eb4f(0x3ce)];}_0x107060=a[_0x48eb4f(0x2e0)][_0x48eb4f(0x2da)](_0x34da4e[_0x48eb4f(0x35f)][0x0]),_0x3100dc=a[_0x48eb4f(0x2e0)][_0x48eb4f(0x2da)](_0x34da4e['mutations'][0x0]);for(let _0x3ce1a5=_0x4562c1[_0x48eb4f(0x406)]-0x1;_0x3ce1a5>=0x0;_0x3ce1a5--){const _0x1c6d4e={'id':_0x48eb4f(0x1eb),'params':{'unitId':_0x4562c1[_0x3ce1a5]['unitId'],..._0x4562c1[_0x3ce1a5][_0x48eb4f(0x28d)]}},_0x394201={'id':_0x48eb4f(0x1eb),'params':{'unitId':_0x4562c1[_0x3ce1a5][_0x48eb4f(0x400)],..._0x4562c1[_0x3ce1a5][_0x48eb4f(0x242)]}},_0x41d6e6=this[_0x48eb4f(0x225)][_0x48eb4f(0x20a)](_0x107060,_0x1c6d4e,!0x1),_0xecd139=this[_0x48eb4f(0x225)][_0x48eb4f(0x20a)](_0x3100dc,_0x394201,!0x1);if(m['isTransformMutationFailure'](_0x41d6e6))throw _0x41d6e6['error'];if(m[_0x48eb4f(0x372)](_0xecd139))throw _0xecd139[_0x48eb4f(0x264)];_0x10812f[_0x48eb4f(0x3b0)]({..._0x4562c1[_0x3ce1a5],'undoState':_0x41d6e6['m2Prime'][_0x48eb4f(0x1e2)],'redoState':_0xecd139['m2Prime'][_0x48eb4f(0x1e2)]}),_0x107060=_0x41d6e6[_0x48eb4f(0x3ce)],_0x3100dc=_0xecd139[_0x48eb4f(0x3ce)];}this[_0x48eb4f(0x2cc)][_0x48eb4f(0x249)](_0x3d698d,{'history':_0x104517,'collaboration':_0x10812f});}};J=Ft([le(0x0,a[_0x487490(0x299)](a['Injector'])),le(0x1,m['ITransformService']),le(0x2,a[_0x487490(0x299)](b[_0x487490(0x420)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x3448a9,_0x5408a3,_0x2e54e5,_0x421867)=>{const _0x351709=_0x487490;for(var _0x585f68=_0x421867>0x1?void 0x0:_0x421867?Yt(_0x5408a3,_0x2e54e5):_0x5408a3,_0x50618a=_0x3448a9[_0x351709(0x406)]-0x1,_0x3c1a2f;_0x50618a>=0x0;_0x50618a--)(_0x3c1a2f=_0x3448a9[_0x50618a])&&(_0x585f68=_0x3c1a2f(_0x585f68)||_0x585f68);return _0x585f68;},Ne=(_0x20a141,_0x1ca8a2)=>(_0x5248b7,_0x562094)=>_0x1ca8a2(_0x5248b7,_0x562094,_0x20a141);let Z=class{constructor(_0x4bfd34,_0x295c78){const _0x354fc4=_0x487490;this[_0x354fc4(0x1f2)]=_0x4bfd34,this['_transformService']=_0x295c78;}[_0x487490(0x435)](_0x1da490){const _0xc09981=_0x487490;var _0xbd1d96;const _0x27d8cb=this['_injector'][_0xc09981(0x3c5)](Y['DocSelectionManagerService']),_0x13aeb1=(_0xbd1d96=_0x27d8cb[_0xc09981(0x290)]())!=null?_0xbd1d96:[];if(_0x13aeb1['length']===0x0)return;const _0xa3830a=_0x1da490[_0xc09981(0x448)],_0x191fa7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa3830a,'actions':null,'textRanges':_0x13aeb1}}],_0x7c945=this[_0xc09981(0x225)][_0xc09981(0x374)](_0x1da490,_0x191fa7);if(!m[_0xc09981(0x3cd)](_0x7c945))throw _0x7c945[_0xc09981(0x264)];const _0x5a7e8f=_0x7c945[_0xc09981(0x2ca)][0x0][_0xc09981(0x1e2)][_0xc09981(0x202)];Array[_0xc09981(0x38b)](_0x5a7e8f)&&_0x5a7e8f['length']&&_0x27d8cb[_0xc09981(0x375)](_0x5a7e8f,{'unitId':_0xa3830a,'subUnitId':_0xa3830a},!0x1);}};Z=Wt([Ne(0x0,a[_0x487490(0x299)](a['Injector'])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x487490(0x456)],Xt=(_0x370e31,_0x5527a9,_0xff1d4f,_0x3dd4ba)=>{for(var _0x3efd78=_0x3dd4ba>0x1?void 0x0:_0x3dd4ba?Vt(_0x5527a9,_0xff1d4f):_0x5527a9,_0x227ec3=_0x370e31['length']-0x1,_0x2cfdc0;_0x227ec3>=0x0;_0x227ec3--)(_0x2cfdc0=_0x370e31[_0x227ec3])&&(_0x3efd78=_0x2cfdc0(_0x3efd78)||_0x3efd78);return _0x3efd78;},N=(_0x29fc72,_0x21aed8)=>(_0xfffcf1,_0x34dd5a)=>_0x21aed8(_0xfffcf1,_0x34dd5a,_0x29fc72);let Q=class extends a[_0x487490(0x3e8)]{constructor(_0x2e90c6,_0xe4c788,_0x32c026,_0x710962,_0x76cc2d,_0x3a4d0d,_0x373e40,_0x2e8bd6){const _0x7189ce=_0x487490;super(),h(this,'_status$',new d[(_0x7189ce(0x226))](u[_0x7189ce(0x2f8)][_0x7189ce(0x34a)])),(this[_0x7189ce(0x2cc)]=_0x2e90c6,this[_0x7189ce(0x2d3)]=_0xe4c788,this['_docTransformIMECacheService']=_0x32c026,this[_0x7189ce(0x288)]=_0x710962,this['_docTransformSelectionsService']=_0x76cc2d,this[_0x7189ce(0x362)]=_0x3a4d0d,this[_0x7189ce(0x27f)]=_0x373e40,this[_0x7189ce(0x45c)]=_0x2e8bd6,this[_0x7189ce(0x277)]());}[_0x487490(0x277)](){const _0xfe35fc=_0x487490;this[_0xfe35fc(0x359)](this[_0xfe35fc(0x2d3)][_0xfe35fc(0x389)]['subscribe'](_0x19e238=>{const _0x22ad94=_0xfe35fc,_0x34d304=this[_0x22ad94(0x2cc)][_0x22ad94(0x304)]['subscribe'](_0x4442b4=>{const _0xa34432=_0x22ad94;if(_0x4442b4==null)return;const {unitId:_0xcc1419,redoState:_0x20896a,commandId:_0x1c4dc7}=_0x4442b4;if(_0xcc1419!==_0x19e238['unitID'])return;const _0x3d4789={'id':_0x1c4dc7,'type':a[_0xa34432(0x239)][_0xa34432(0x283)],'params':{'unitId':_0xcc1419,'actions':_0x20896a[_0xa34432(0x2b3)],'textRanges':null}};_0x19e238[_0xa34432(0x2b8)](_0x3d4789);});if(_0x19e238[_0x22ad94(0x359)](_0x34d304),_0x19e238 instanceof u[_0x22ad94(0x2c4)]){const _0x5d7d09={'onTransformIME':_0x2e4c20=>this['_docTransformIMECacheService'][_0x22ad94(0x27c)](_0x2e4c20),'onTransformState':_0x50774c=>this[_0x22ad94(0x288)][_0x22ad94(0x38d)](_0x50774c),'onTransformSelections':_0x7f3184=>this['_docTransformSelectionsService'][_0x22ad94(0x435)](_0x7f3184),'onSyncEditingCollabCursor':_0x276980=>this[_0x22ad94(0x362)][_0x22ad94(0x324)](_0x276980),'onTransformRemoteChangesetByIMECache':_0x10b88f=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x10b88f),'onTransformRemoteChangesetByStateCache':_0x288b98=>this['_docTransformStateCacheService'][_0x22ad94(0x39a)](_0x288b98)};_0x19e238['addHandlerCallback'](_0x5d7d09);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x487490(0x420)])),N(0x1,a[_0x487490(0x299)](u[_0x487490(0x1df)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x487490(0x299)](J)),N(0x4,a[_0x487490(0x299)](Z)),N(0x5,a[_0x487490(0x299)](Ce)),N(0x6,T[_0x487490(0x342)]),N(0x7,a['Inject'](a[_0x487490(0x43f)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x2bed22,_0x25114f,_0x4b85a5,_0x1426c3)=>{const _0x15ebbf=_0x487490;for(var _0x37b696=_0x1426c3>0x1?void 0x0:_0x1426c3?Gt(_0x25114f,_0x4b85a5):_0x25114f,_0x19fa71=_0x2bed22[_0x15ebbf(0x406)]-0x1,_0x54cda6;_0x19fa71>=0x0;_0x19fa71--)(_0x54cda6=_0x2bed22[_0x19fa71])&&(_0x37b696=_0x54cda6(_0x37b696)||_0x37b696);return _0x37b696;},_e=(_0x551773,_0x3b3b0d)=>(_0xa92e9,_0x277d76)=>_0x3b3b0d(_0xa92e9,_0x277d76,_0x551773);let ge=class extends a[_0x487490(0x3e8)]{constructor(_0x19273d,_0x23e4f8,_0x1a982c){const _0x56757d=_0x487490;super(),h(this,_0x56757d(0x1e7),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x56757d(0x2c7),!0x1),(this['_configService']=_0x19273d,this[_0x56757d(0x43a)]=_0x23e4f8,this[_0x56757d(0x2a3)]=_0x1a982c);}['disableLocalCache'](){const _0x232d8d=_0x487490;this[_0x232d8d(0x2c7)]=!0x0;}[_0x487490(0x36d)](){const _0x416ec8=_0x487490;this[_0x416ec8(0x2c7)]=!0x1;}get[_0x487490(0x329)](){const _0x5ecacc=_0x487490;return this[_0x5ecacc(0x284)];}[_0x487490(0x404)](){const _0x57170a=_0x487490;this['exhaustSavingTask']()[_0x57170a(0x444)](()=>super[_0x57170a(0x404)]());}async[_0x487490(0x33b)](_0x24d7df){const _0x56de05=_0x487490;return this[_0x56de05(0x2c7)]?null:this['_localStorageService']['getItem'](u[_0x56de05(0x43d)](_0x24d7df));}async[_0x487490(0x22b)](_0x3151f2,_0x55d54b){const _0x19fa18=_0x487490;return!!this[_0x19fa18(0x43a)]['setItem'](_0x3151f2,_0x55d54b);}[_0x487490(0x37d)](_0xc0f9a4,_0x119ab6,_0x2e7b9a,_0x7be233){const _0x481a2a=_0x487490,_0x222343=this['_revisionService']['getCurrentRevOfUnit'](_0xc0f9a4);this[_0x481a2a(0x1e7)][_0x481a2a(0x3bf)](_0xc0f9a4,{'unitID':_0xc0f9a4,'type':_0x119ab6,'awaitingChangeset':_0x2e7b9a,'mutations':_0x7be233,'rev':_0x222343}),this[_0x481a2a(0x284)]['has'](_0xc0f9a4)||this[_0x481a2a(0x423)](_0xc0f9a4);}[_0x487490(0x423)](_0x1501e4){const _0x33ef9f=_0x487490,_0x21baee=this[_0x33ef9f(0x253)]();_0x21baee===0x0?this[_0x33ef9f(0x3ee)](_0x1501e4):this[_0x33ef9f(0x284)][_0x33ef9f(0x3bf)](_0x1501e4,setTimeout(()=>this[_0x33ef9f(0x3ee)](_0x1501e4),_0x21baee));}['_getSaveTimeout'](){const _0x5799b0=_0x487490;var _0x3b9506;return(_0x3b9506=this[_0x5799b0(0x297)][_0x5799b0(0x1de)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3b9506:u[_0x5799b0(0x216)];}[_0x487490(0x3ee)](_0x1142bf){const _0x2910f6=_0x487490,_0x58b304=this['_saveTaskMap'][_0x2910f6(0x3c5)](_0x1142bf);return _0x58b304!==void 0x0&&window['clearTimeout'](_0x58b304),this[_0x2910f6(0x43a)][_0x2910f6(0x3d8)](u[_0x2910f6(0x43d)](_0x1142bf),this['_cachedData']['get'](_0x1142bf))[_0x2910f6(0x444)](()=>this[_0x2910f6(0x284)][_0x2910f6(0x373)](_0x1142bf));}async[_0x487490(0x2f0)](){const _0x4167eb=_0x487490,_0xe0c2c7=[];this[_0x4167eb(0x284)][_0x4167eb(0x24f)]((_0x360db0,_0x226e21)=>{const _0x3371b1=_0x4167eb;window['clearTimeout'](_0x360db0),_0xe0c2c7[_0x3371b1(0x218)](this[_0x3371b1(0x3ee)](_0x226e21)['then'](()=>{const _0x30ffec=_0x3371b1;this[_0x30ffec(0x284)]['delete'](_0x226e21);}));}),await Promise['all'](_0xe0c2c7);}};ge=Kt([_e(0x0,a[_0x487490(0x3c8)]),_e(0x1,a[_0x487490(0x2fd)]),_e(0x2,a[_0x487490(0x299)](m['RevisionService']))],ge);class je extends a[_0x487490(0x382)]{constructor(){const _0x3ec1cd=_0x487490;super(),h(this,_0x3ec1cd(0x2e1)),this['urlChange$']=d[_0x3ec1cd(0x370)](window,_0x3ec1cd(0x430))[_0x3ec1cd(0x300)](d[_0x3ec1cd(0x303)](this[_0x3ec1cd(0x1f1)]),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x487490(0x2fb)](_0x58e27e,_0x3dff7f,_0x2b25f7=!0x1){const _0x39b543=_0x487490,_0x4a8c01=new URL(window[_0x39b543(0x2dd)][_0x39b543(0x3ec)]);_0x4a8c01[_0x39b543(0x368)][_0x39b543(0x3bf)](_0x58e27e,_0x3dff7f),_0x2b25f7?window[_0x39b543(0x2b6)]['replaceState']('','',_0x4a8c01[_0x39b543(0x31a)]()):window['history'][_0x39b543(0x36e)]('','',_0x4a8c01[_0x39b543(0x31a)]());}[_0x487490(0x383)](_0x318386,_0x40082b=!0x1){const _0x1cce1a=_0x487490,_0x3c02e0=new URL(window[_0x1cce1a(0x2dd)][_0x1cce1a(0x3ec)]);_0x3c02e0[_0x1cce1a(0x368)]['delete'](_0x318386),_0x40082b?window[_0x1cce1a(0x2b6)][_0x1cce1a(0x44e)]('','',_0x3c02e0[_0x1cce1a(0x31a)]()):window[_0x1cce1a(0x2b6)][_0x1cce1a(0x36e)]('','',_0x3c02e0[_0x1cce1a(0x31a)]());}[_0x487490(0x2af)](_0x4562a4){const _0x290452=_0x487490;var _0x8cf568;return(_0x8cf568=new URL(window[_0x290452(0x2dd)]['href'])[_0x290452(0x368)][_0x290452(0x3c5)](_0x4562a4))!=null?_0x8cf568:void 0x0;}}var qt=Object[_0x487490(0x29a)],zt=Object[_0x487490(0x456)],Jt=(_0x175818,_0x5bf815,_0x2d70a6)=>_0x5bf815 in _0x175818?qt(_0x175818,_0x5bf815,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d70a6}):_0x175818[_0x5bf815]=_0x2d70a6,Zt=(_0xfd794f,_0x2f2ffb,_0x1e958e,_0x3926c8)=>{const _0x25caec=_0x487490;for(var _0x5cdf92=_0x3926c8>0x1?void 0x0:_0x3926c8?zt(_0x2f2ffb,_0x1e958e):_0x2f2ffb,_0x5d972d=_0xfd794f[_0x25caec(0x406)]-0x1,_0x24b0d9;_0x5d972d>=0x0;_0x5d972d--)(_0x24b0d9=_0xfd794f[_0x5d972d])&&(_0x5cdf92=_0x24b0d9(_0x5cdf92)||_0x5cdf92);return _0x5cdf92;},he=(_0x543ab2,_0x39a7b5)=>(_0x2a1be0,_0x4a7176)=>_0x39a7b5(_0x2a1be0,_0x4a7176,_0x543ab2),Qt=(_0x5f125e,_0x4eb126,_0x42ccf6)=>Jt(_0x5f125e,_0x4eb126+'',_0x42ccf6);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a[_0x487490(0x326)]{constructor(_0x4f072f=Ue,_0x59fb10,_0x23110f,_0x332e9d){const _0x1261d5=_0x487490;super(),this['_config']=_0x4f072f,this[_0x1261d5(0x41d)]=_0x59fb10,this[_0x1261d5(0x1f2)]=_0x23110f,this[_0x1261d5(0x297)]=_0x332e9d;const {..._0x2ba851}=a['merge']({},Ue,this[_0x1261d5(0x411)]);this[_0x1261d5(0x297)][_0x1261d5(0x2c1)]($t,_0x2ba851);}[_0x487490(0x258)](){const _0x3be094=_0x487490;this[_0x3be094(0x20f)](),this[_0x3be094(0x355)]();}[_0x487490(0x1f4)](){this['_registerRenderDependencies']();}[_0x487490(0x20f)](){const _0xb6fbeb=_0x487490;var _0x305149;const _0x1ab37b=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0xb6fbeb(0x215)],{'useClass':G['WebSocketService']}],[u[_0xb6fbeb(0x311)],{'useClass':ge}],[exports[_0xb6fbeb(0x261)]],[Q],[q],[x],[de],[exports[_0xb6fbeb(0x3a8)]]];a['registerDependencies'](this[_0xb6fbeb(0x1f2)],a[_0xb6fbeb(0x29f)](_0x1ab37b,(_0x305149=this[_0xb6fbeb(0x411)])==null?void 0x0:_0x305149['override']));}[_0x487490(0x2c9)](){const _0x1ec548=_0x487490;this[_0x1ec548(0x359)](this['_renderManagerService']['registerRenderModule'](a[_0x1ec548(0x305)][_0x1ec548(0x1d8)],[Ie])),this[_0x1ec548(0x359)](this[_0x1ec548(0x41d)]['registerRenderModule'](a[_0x1ec548(0x305)][_0x1ec548(0x301)],[ve]));}[_0x487490(0x355)](){const _0x250acb=_0x487490;a[_0x250acb(0x306)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x487490(0x458)],'pluginName',es),exports[_0x487490(0x458)]=Zt([a[_0x487490(0x439)](u[_0x487490(0x3c4)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x487490(0x299)](a[_0x487490(0x3e7)])),he(0x3,a[_0x487490(0x3c8)])],exports[_0x487490(0x458)]);var ts=Object[_0x487490(0x456)],ss=(_0x49df24,_0x3f7ff7,_0x5d1026,_0x2faee7)=>{const _0x5c47b6=_0x487490;for(var _0xa6eff=_0x2faee7>0x1?void 0x0:_0x2faee7?ts(_0x3f7ff7,_0x5d1026):_0x3f7ff7,_0x3f3bd1=_0x49df24[_0x5c47b6(0x406)]-0x1,_0x226115;_0x3f3bd1>=0x0;_0x3f3bd1--)(_0x226115=_0x49df24[_0x3f3bd1])&&(_0xa6eff=_0x226115(_0xa6eff)||_0xa6eff);return _0xa6eff;},F=(_0x364893,_0x4860c9)=>(_0x1679f6,_0x321663)=>_0x4860c9(_0x1679f6,_0x321663,_0x364893);exports[_0x487490(0x2de)]=class extends u[_0x487490(0x401)]{constructor(_0x42a0d4,_0x331584,_0x1e1f6b,_0x5bcd98,_0x3458c0){super(_0x42a0d4,_0x331584,_0x1e1f6b,_0x5bcd98,_0x3458c0);}async[_0x487490(0x2ce)](_0x5e3fed){const _0x222032=_0x487490,_0x3c7b19=await this[_0x222032(0x217)](),_0x1821c8=this[_0x222032(0x2b0)](_0x5e3fed,_0x3c7b19);return this[_0x222032(0x322)](_0x1821c8);}[_0x487490(0x2b0)](_0x278574,_0x262890){const _0x30f9ec=_0x487490,_0xc46cc1=typeof window>'u'?new URL(_0x278574):new URL(_0x278574,window[_0x30f9ec(0x2dd)][_0x30f9ec(0x3d0)]);_0xc46cc1[_0x30f9ec(0x368)][_0x30f9ec(0x3bf)]('sessionTicket',_0x262890);const _0x330f23=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x30f9ec(0x2dd)][_0x30f9ec(0x436)]);return _0x330f23['get'](_0x30f9ec(0x2b2))&&_0xc46cc1[_0x30f9ec(0x368)][_0x30f9ec(0x3bf)](_0x30f9ec(0x2b2),_0x330f23['get'](_0x30f9ec(0x2b2))),_0xc46cc1[_0x30f9ec(0x31a)]();}async[_0x487490(0x217)](){const _0x4e3d58=_0x487490;var _0x5150df,_0x47d04d,_0x7edafa;const _0xd26460=this[_0x4e3d58(0x297)][_0x4e3d58(0x1de)](u[_0x4e3d58(0x1ee)]),_0x32c055=(_0x5150df=_0xd26460==null?void 0x0:_0xd26460[_0x4e3d58(0x2d9)])!=null?_0x5150df:u[_0x4e3d58(0x2c5)];return(_0x7edafa=(_0x47d04d=(await this['_httpService'][_0x4e3d58(0x3c5)](_0x32c055,{'headers':{'Content-Type':'application/json'}}))[_0x4e3d58(0x413)])==null?void 0x0:_0x47d04d[_0x4e3d58(0x453)])!=null?_0x7edafa:'';}},exports[_0x487490(0x2de)]=ss([F(0x0,a[_0x487490(0x299)](a['Injector'])),F(0x1,a[_0x487490(0x299)](G[_0x487490(0x39e)])),F(0x2,a[_0x487490(0x3c8)]),F(0x3,a[_0x487490(0x409)]),F(0x4,m['ISnapshotServerService'])],exports[_0x487490(0x2de)]);const Me=0x7530,Le=_0x487490(0x353);class is extends a[_0x487490(0x3e8)]{constructor(){const _0x21ad3e=_0x487490;super(),h(this,_0x21ad3e(0x259),a[_0x21ad3e(0x36c)]()),h(this,'_selfUnitIDs',new Set()),h(this,_0x21ad3e(0x34d),new Map()),h(this,_0x21ad3e(0x22d),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x21ad3e(0x24e),new Map()),this[_0x21ad3e(0x24d)]();}[_0x487490(0x404)](){const _0x13cac3=_0x487490;super['dispose'](),this[_0x13cac3(0x2a5)][_0x13cac3(0x24f)]((_0x4bf836,_0x2410ca)=>this[_0x13cac3(0x211)](_0x2410ca)),this['_heartbeatTimer']&&window[_0x13cac3(0x3e1)](this[_0x13cac3(0x22d)]);}[_0x487490(0x398)](_0x37951e){const _0x2d786c=_0x487490;return this[_0x2d786c(0x44b)](_0x37951e)[_0x2d786c(0x300)](d[_0x2d786c(0x268)]());}['editingUnit'](_0x3db4bf){const _0x4da743=_0x487490;this['_selfUnitIDs'][_0x4da743(0x426)]===0x0&&this[_0x4da743(0x221)](),this['_selfUnitIDs'][_0x4da743(0x41f)](_0x3db4bf),this['_send']({'type':0x0,'memberID':this[_0x4da743(0x259)],'unitIDs':[_0x3db4bf],'isForwarded':!0x1});}[_0x487490(0x289)](_0x1e094c){const _0x4e8c68=_0x487490;this['_selfUnitIDs'][_0x4e8c68(0x373)](_0x1e094c),this['_selfUnitIDs'][_0x4e8c68(0x426)]===0x0&&this[_0x4e8c68(0x22d)]&&window[_0x4e8c68(0x3e1)](this[_0x4e8c68(0x22d)]);}[_0x487490(0x24d)](){const _0x252880=_0x487490;this['disposeWithMe'](a[_0x252880(0x1da)](d[_0x252880(0x370)](window,_0x252880(0x449))[_0x252880(0x30d)](_0x42cf12=>{const _0x3e7e4c=_0x252880;if(_0x42cf12[_0x3e7e4c(0x274)]!==Le||!_0x42cf12[_0x3e7e4c(0x369)])return;const _0x1ae2a5=JSON[_0x3e7e4c(0x2a8)](_0x42cf12[_0x3e7e4c(0x369)]);this[_0x3e7e4c(0x3ba)](_0x1ae2a5);}))),window[_0x252880(0x296)]('unload',()=>this[_0x252880(0x266)]({'type':0x1,'memberID':this[_0x252880(0x259)],'unitIDs':Array[_0x252880(0x3af)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x1bbc3e){const _0x30ca8b=_0x487490;switch(_0x1bbc3e[_0x30ca8b(0x276)]){case 0x0:this[_0x30ca8b(0x447)](_0x1bbc3e);break;case 0x1:this['_handleLeaveEvent'](_0x1bbc3e);break;case 0x2:this[_0x30ca8b(0x422)](_0x1bbc3e);break;}}[_0x487490(0x447)](_0x1cc8c2){const _0x3f481f=_0x487490,{unitIDs:_0xe72d0c,memberID:_0x4f0858,isForwarded:_0x34ecfa}=_0x1cc8c2;_0xe72d0c[_0x3f481f(0x24f)](_0xab5273=>{const _0x11a364=_0x3f481f;if(!_0x34ecfa&&this[_0x11a364(0x34d)]['has'](_0xab5273)&&this[_0x11a364(0x44b)](_0xab5273)[_0x11a364(0x3cc)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x11a364(0x34d)][_0x11a364(0x1ef)](_0xab5273)||!this[_0x11a364(0x34d)][_0x11a364(0x3c5)](_0xab5273)['has'](_0x4f0858)){const _0x32fb32=this[_0x11a364(0x34d)]['get'](_0xab5273)||new Set();_0x32fb32[_0x11a364(0x41f)](_0x4f0858),this['_unitOnClients'][_0x11a364(0x3bf)](_0xab5273,_0x32fb32),this['_scheduleClearOtherTimer'](_0x4f0858);}}),_0x34ecfa||this[_0x3f481f(0x266)]({'type':0x0,'memberID':this[_0x3f481f(0x259)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x487490(0x2a6)](_0x12a0d1){const _0x568c2d=_0x487490;this[_0x568c2d(0x211)](_0x12a0d1);const _0x4a32b0=window['setTimeout'](()=>{const _0x4f15e5=_0x568c2d;this[_0x4f15e5(0x34d)][_0x4f15e5(0x24f)](_0x45d26a=>{_0x45d26a['delete'](_0x12a0d1);});},Me*0x2);this['_clearOtherTimers'][_0x568c2d(0x3bf)](_0x12a0d1,_0x4a32b0);}[_0x487490(0x211)](_0x23949e){const _0x5af7a8=_0x487490;if(this['_clearOtherTimers'][_0x5af7a8(0x1ef)](_0x23949e)){const _0x3d62ef=this[_0x5af7a8(0x2a5)][_0x5af7a8(0x3c5)](_0x23949e);_0x3d62ef&&window[_0x5af7a8(0x441)](_0x3d62ef),this[_0x5af7a8(0x2a5)][_0x5af7a8(0x3bf)](_0x23949e,null);}}[_0x487490(0x379)](_0x9a5975){const _0x27520b=_0x487490,{memberID:_0x225a04,unitIDs:_0x23b07e}=_0x9a5975;_0x23b07e[_0x27520b(0x24f)](_0x50ccc3=>{const _0x12fd16=_0x27520b;var _0x250d36;const _0x4db6b1=this['_unitOnClients'][_0x12fd16(0x3c5)](_0x50ccc3);_0x4db6b1&&(_0x4db6b1[_0x12fd16(0x373)](_0x225a04),(_0x250d36=this['_ensureSubject'](_0x50ccc3))==null||_0x250d36[_0x12fd16(0x3cc)](_0x4db6b1['size']===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u[_0x12fd16(0x23d)][_0x12fd16(0x262)]));}),this[_0x27520b(0x211)](_0x225a04);}[_0x487490(0x422)](_0x3536f0){const _0x4e7138=_0x487490;this['_scheduleClearOtherTimer'](_0x3536f0[_0x4e7138(0x21a)]);}[_0x487490(0x266)](_0x513ed2){const _0xa0576f=_0x487490;localStorage[_0xa0576f(0x3d8)](Le,JSON[_0xa0576f(0x1fe)](_0x513ed2));}[_0x487490(0x221)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x3ee1b2=_0x5ec9;this[_0x3ee1b2(0x266)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x487490(0x44b)](_0x236b8f){const _0x130331=_0x487490;return this[_0x130331(0x24e)][_0x130331(0x1ef)](_0x236b8f)||this['_unitStatus']['set'](_0x236b8f,new d['BehaviorSubject'](u[_0x130331(0x23d)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x130331(0x3c5)](_0x236b8f);}}var Be=(_0x5d83ec=>(_0x5d83ec[_0x5d83ec[_0x487490(0x346)]=0x0]='UNDEFINED',_0x5d83ec[_0x5d83ec['OK']=0x1]='OK',_0x5d83ec[_0x5d83ec[_0x487490(0x40f)]=0x2]=_0x487490(0x40f),_0x5d83ec[_0x5d83ec[_0x487490(0x397)]=0x3]=_0x487490(0x397),_0x5d83ec[_0x5d83ec[_0x487490(0x2f4)]=0x4]=_0x487490(0x2f4),_0x5d83ec[_0x5d83ec[_0x487490(0x2f2)]=0x5]=_0x487490(0x2f2),_0x5d83ec[_0x5d83ec[_0x487490(0x451)]=0x6]=_0x487490(0x451),_0x5d83ec[_0x5d83ec[_0x487490(0x384)]=0x7]=_0x487490(0x384),_0x5d83ec[_0x5d83ec[_0x487490(0x27a)]=0x8]=_0x487490(0x27a),_0x5d83ec[_0x5d83ec['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x5d83ec[_0x5d83ec[_0x487490(0x35a)]=0xa]=_0x487490(0x35a),_0x5d83ec[_0x5d83ec[_0x487490(0x454)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d83ec[_0x5d83ec[_0x487490(0x32e)]=0x1771]=_0x487490(0x32e),_0x5d83ec[_0x5d83ec[_0x487490(0x1e5)]=0x1772]=_0x487490(0x1e5),_0x5d83ec[_0x5d83ec['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x487490(0x3d5),_0x5d83ec[_0x5d83ec[_0x487490(0x2d0)]=0x1b59]=_0x487490(0x2d0),_0x5d83ec[_0x5d83ec['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x487490(0x2bb),_0x5d83ec[_0x5d83ec[_0x487490(0x386)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5d83ec[_0x5d83ec['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5d83ec[_0x5d83ec[_0x487490(0x445)]=0x1b5d]=_0x487490(0x445),_0x5d83ec[_0x5d83ec[_0x487490(0x356)]=0x1f41]=_0x487490(0x356),_0x5d83ec[_0x5d83ec[_0x487490(0x1e8)]=0x2329]=_0x487490(0x1e8),_0x5d83ec[_0x5d83ec['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x487490(0x415),_0x5d83ec[_0x5d83ec[_0x487490(0x23e)]=0x232b]=_0x487490(0x23e),_0x5d83ec[_0x5d83ec[_0x487490(0x241)]=0x232c]=_0x487490(0x241),_0x5d83ec[_0x5d83ec[_0x487490(0x3f8)]=0x232d]=_0x487490(0x3f8),_0x5d83ec[_0x5d83ec[_0x487490(0x2fc)]=0x2711]=_0x487490(0x2fc),_0x5d83ec[_0x5d83ec['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5d83ec[_0x5d83ec[_0x487490(0x2ab)]=0x2713]=_0x487490(0x2ab),_0x5d83ec[_0x5d83ec[_0x487490(0x2a4)]=0x2714]=_0x487490(0x2a4),_0x5d83ec[_0x5d83ec[_0x487490(0x220)]=0x271a]=_0x487490(0x220),_0x5d83ec[_0x5d83ec[_0x487490(0x3b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5d83ec[_0x5d83ec[_0x487490(0x28e)]=0x271c]=_0x487490(0x28e),_0x5d83ec[_0x5d83ec['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x487490(0x3e0),_0x5d83ec[_0x5d83ec['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x487490(0x31b),_0x5d83ec[_0x5d83ec[_0x487490(0x318)]=0x271f]=_0x487490(0x318),_0x5d83ec[_0x5d83ec['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x487490(0x229),_0x5d83ec[_0x5d83ec[_0x487490(0x287)]=0x2ee1]=_0x487490(0x287),_0x5d83ec[_0x5d83ec[_0x487490(0x44c)]=0x2ee2]=_0x487490(0x44c),_0x5d83ec[_0x5d83ec[_0x487490(0x3b7)]=0x2ee3]=_0x487490(0x3b7),_0x5d83ec[_0x5d83ec[_0x487490(0x307)]=0x2ee4]=_0x487490(0x307),_0x5d83ec[_0x5d83ec[_0x487490(0x343)]=0x2ee5]=_0x487490(0x343),_0x5d83ec[_0x5d83ec[_0x487490(0x206)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5d83ec[_0x5d83ec[_0x487490(0x325)]=0x32ca]=_0x487490(0x325),_0x5d83ec[_0x5d83ec[_0x487490(0x418)]=0x32cb]=_0x487490(0x418),_0x5d83ec[_0x5d83ec['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5d83ec))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x4ea438,_0x1d6169,_0x29ba92,_0x25f4e0)=>{for(var _0x1bda01=_0x25f4e0>0x1?void 0x0:_0x25f4e0?ns(_0x1d6169,_0x29ba92):_0x1d6169,_0x3ecb76=_0x4ea438['length']-0x1,_0x4a822c;_0x3ecb76>=0x0;_0x3ecb76--)(_0x4a822c=_0x4ea438[_0x3ecb76])&&(_0x1bda01=_0x4a822c(_0x1bda01)||_0x1bda01);return _0x1bda01;},ue=(_0x41a0f1,_0x4b19f6)=>(_0x325fb5,_0x4e7e8c)=>_0x4b19f6(_0x325fb5,_0x4e7e8c,_0x41a0f1);exports['RemoteUniscriptService']=class extends a[_0x487490(0x3e8)]{constructor(_0x139ad9,_0x3d071d,_0x4edf27){const _0x4c7c09=_0x487490;super(),this[_0x4c7c09(0x354)]=_0x139ad9,this[_0x4c7c09(0x40d)]=_0x3d071d,this[_0x4c7c09(0x297)]=_0x4edf27;}async['runOnServer'](_0x184ae7,_0x259831,_0x1d50b8,..._0x4af660){const _0x45383f=_0x487490;var _0x47d29b,_0x1c4c3c,_0x1110ea,_0x149fb3;const _0x7beba7=this['_instanceService'][_0x45383f(0x2b7)]();if(!_0x7beba7)throw new Error(_0x45383f(0x32a));const _0x5f0c1a=((_0x47d29b=this['_configService'][_0x45383f(0x1de)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x47d29b:u[_0x45383f(0x20c)])+'/'+_0x184ae7+_0x45383f(0x2fa)+_0x259831,_0x3d0fcc=new URL(window[_0x45383f(0x2dd)]['href']),_0x5c0f36={'scriptId':_0x184ae7,'runId':(_0x1c4c3c=_0x3d0fcc[_0x45383f(0x368)][_0x45383f(0x3c5)](_0x45383f(0x2b2)))!=null?_0x1c4c3c:'','function':_0x259831,'unitId':_0x7beba7[_0x45383f(0x3b3)](),'argsOfFunction':JSON['stringify'](_0x4af660),'invokeId':(_0x1110ea=_0x1d50b8[_0x45383f(0x393)])!=null?_0x1110ea:'','executionId':(_0x149fb3=_0x1d50b8['executionId'])!=null?_0x149fb3:''};try{const _0x9d8823=await this[_0x45383f(0x40d)]['post'](_0x5f0c1a,{'body':_0x5c0f36});return _0x9d8823[_0x45383f(0x413)][_0x45383f(0x264)]&&_0x9d8823[_0x45383f(0x413)][_0x45383f(0x264)][_0x45383f(0x3f2)]!==Be['OK']?_0x45383f(0x3e2):_0x9d8823['body'][_0x45383f(0x2c8)];}catch{return'Failed';}}},exports[_0x487490(0x302)]=rs([ue(0x0,a[_0x487490(0x257)]),ue(0x1,a[_0x487490(0x299)](G[_0x487490(0x39e)])),ue(0x2,a['IConfigService'])],exports[_0x487490(0x302)]),exports['CollaborationStatusDisplay']=xe,exports[_0x487490(0x3dd)]=be,exports[_0x487490(0x2b9)]=Pe,exports[_0x487490(0x3d2)]=is,exports[_0x487490(0x3fc)]=je;
|
|
1
|
+
'use strict';const _0x4ba9c1=_0x167f;(function(_0x7552a5,_0x4881ff){const _0x3f4220=_0x167f,_0x3aee04=_0x7552a5();while(!![]){try{const _0x39bacf=-parseInt(_0x3f4220(0x13c))/0x1*(-parseInt(_0x3f4220(0x1a8))/0x2)+-parseInt(_0x3f4220(0x21e))/0x3*(-parseInt(_0x3f4220(0x17d))/0x4)+parseInt(_0x3f4220(0x17e))/0x5+parseInt(_0x3f4220(0x28f))/0x6+parseInt(_0x3f4220(0x1ff))/0x7+-parseInt(_0x3f4220(0x206))/0x8+-parseInt(_0x3f4220(0x2a3))/0x9;if(_0x39bacf===_0x4881ff)break;else _0x3aee04['push'](_0x3aee04['shift']());}catch(_0x4f0839){_0x3aee04['push'](_0x3aee04['shift']());}}}(_0x2196,0x370c0));var Ve=Object[_0x4ba9c1(0x1cd)],Xe=(_0x18b4ba,_0x3c7b52,_0x1b83ad)=>_0x3c7b52 in _0x18b4ba?Ve(_0x18b4ba,_0x3c7b52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b83ad}):_0x18b4ba[_0x3c7b52]=_0x1b83ad,h=(_0xca1d55,_0x4ab472,_0x38bdd3)=>Xe(_0xca1d55,typeof _0x4ab472!=_0x4ba9c1(0x2d6)?_0x4ab472+'':_0x4ab472,_0x38bdd3);function _0x2196(){const _0xa70edc=['_removeCollabCursors','_commandService','IRemoteInstanceService','propertyIsEnumerable','redoState','closePath','beginPath','_getScale','setUndoRedoMutationParamsCache','CollaborationStatus','NOT_COLLAB','Unknown\x20user','enableLocalCache','isTransformMutationsWithChangesetSuccess','Injector','_createSocketURL','toDisposable','_render','indexOf','touchDependencies','unshift','_selfUnitIDs','searchParams','div','complete','apply','from','Disposable','evenodd','CONNECTOR_DATA_TOO_LARGE','_configService','Workbook','_cursorInfo$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_cachedData','subunit','_memberService','Tools','_collaborationUIEventService','VIEW_MAIN','updateOfflineData','getCurrentRevOfUnit','_updateLocalCursor','435cZDLOj','_initStatusListener','_revisionService','@univerjs/sheets','getActiveSheet','getValue','random','setActiveRange','CHANGESET_REVISION_CONFILICT','USERS_LEAVE','_name','USER_NOT_INVITED_CODE','_setupSubUnitSync','collab-rect-range-','transformStateCache','setTimeout','CollaborationController','@univerjs/ui','IConfigService','arc','_sheetSkeletonManagerService','getCurrentSelections','removeParam','all','getColor','registerBeforeClose','JOIN_ROOM_FAILED','@univerjs/core','translate(.97)','concat','toString','onCommandExecuted','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','data','SUBMIT_CHANGESET_TIMEOUT','YUUMI_URL_COL_OUT_OF_RANGE','/run/','params','collaboration-client.offline-data-not-saved','COLORS','_localStorageService','_collabCursorState$','InsertColCommandId','getCurrent','then','startColumn','ticket','entityInit$','transformSelections','SOCKET_FAILED','getUndoRedoMutationParamsCache','replaceDocRanges','unsubscribe','_unitStatus','sessionStatus$','collaboration.single-unit.warning','YUUMI_NO_CUBOID_FOR_QUESTION','deepClone','moveTo','_transformService','toRgbString','getLocalCacheKey','DocCollaborationEntity','get','_getAnchorBounding','17568HVUWfl','553185tVjQnw','unitId','YUUMI_AI_RUN_FAILED','white','onPointerEnter$','_hover','_lastPointer','_drawRectRange','Module','_backgroundColor','popstate','handleInsertRow','colorChannel1','SheetsSelectionsService','getViewport','focused$','currentSkeleton$','_assignedColors','width','getCollabCursors$','collab-text-anchor-','save','_cursors','dispose','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setParam','@univerjs-pro/collaboration','tag','Rectangle','column','merge','_startSheetCollabCursor','black','SetTextSelectionsOperation','exhaustSavingTask','_updateCollabCursors','session.collaboration-timeout','_send','subscribe','[CollaborationDataLoaderController]','_docSkeletonManagerService','_logService','352AivgkZ','DocSkeletonManagerService','debug','_shapes','handleInsertCol','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','HTTPService','IRenderManagerService','clearTimeout','INVITE_CODE_REQUIRED','_onCursorUpdate','off-line-icon_clip0_910_343','_injector','setStateCache','RxDisposable','_transformPreviousActiveRange','RemoveColCommandId','UNIVER_SHEET','path','OffLineIcon','getParam','off-line-icon','find','_docSkeleton','handleInsertRangeMoveDown','getTypeOfUnitDisposed$','M0\x200H16V16H0z','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','DesktopCollaborationStatusDisplayController','collabStatus.fetchMiss','#FFF','INVALID_INVITE_CODE','handleIRemoveCol','_renderManagerService','defineProperty','clearInterval','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationController','YUUMI_RATE_OVER_LIMIT','_instanceService','getSheetId','row','clipPath','APPLY_REJECT','mapTo','onRendered','_initDependencies','length','purple.300','saveTaskMap','unload','pluginName','DocIMEInputManagerService','string','loadOfflineData','uni.network.url-service','xlink:href','onTransformChange$','_eventUnsubscribe','_toggleOffline','collabStatus.syncing','LocaleService','textRanges','CollaborationUIEventId','PERMISSION_DENIED','BehaviorSubject','ALREADY_EXISTS','jsxs','_collabSessionService','handleInsertRangeMoveRight','fillStyle','_getSaveTimeout','fromEventSubject','LICENSE_DISTRO_REJECTED','DisposableCollection','handleMoveRange','_handleHover','1em','Inject','none','_entityInit$','status$','TEXT','selection','234038ECgLRx','_beforeCloseService','_unitOnClients','SYNCED','on-line-icon','_imageIoService','ISnapshotServerService','2428624fmkNlp','_scheduleClearOtherTimer','univer-mr-2\x20univer-flex\x20univer-text-xl','_initStatusComponent','_docStateChangeManagerService','Tooltip','actions','UniverCollaborationClientUIPlugin','push','defIds','wsSessionTicketUrl','_refRangeService','registerRefRange','size','transformMutation','handleIRemoveRow','red.300','error','ONLINE','DeleteRangeMoveLeftCommandId','editingUnit','unit','LOCAL_CACHE_INTERVAL','urlChange$','171wQONsq','IImageIoService','toStringTag','createIdentifier','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','_textBubble','_docTransformIMECacheService','roomMembers$','text','getAncestorScale','replaceState','docStateChange$','_initEvent','handleDeleteRangeMoveLeft','SetSelectionsOperation','getRenderById','_updateSubUnitFromURLParams','EffectRefRangId','addHandlerCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','delete','IUIPartsService','switchMap','createSocket','entries','_removeClearOtherTimer','_colorAssignService','startRow','InsertRangeMoveRightCommandId','_updateURLWithCurrentState','NodePositionConvertToRectRange','_anchorDot','getOwnPropertyDescriptor','_startDocCollabCursor','executeCommand','CLOSE_ROOM','subscribeEvent','height','rgba(255,\x20255,\x20255,\x200.01)','show','getMemberID','IUniverInstanceService','serializeRangeWithSheet','runRefRangeMutations','_doCreateSocket','getUnitStatus$','collabStatus.offline','BrowserCollaborationSocketService','_univerInstanceService','skeleton','mask','transformMutationsWithChangeset','url(#on-line-icon_clip0_910_349)','imageSourceType','use','blue.400','IBeforeCloseService','triggerDblclick','RichTextEditingMutation','UNAUTHENTICATED','SetWorksheetActivateCommand','INotificationService','svg','replace','call','_refreshCollabCursors','fill','UnitStatus','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','hasOwnProperty','ranges','UniverCollaborationClientPlugin','OFFLINE','_docClipboardService','setAlpha','type','round','_transformUndoRedoStack','getFocusedUnit','source','MOBILE_HAS_BEEN_BOUND','mutations','_colorIndex','_color','ILogService','generateRandomId','override','FromArray','_context','ILocalStorageService','YUUMI_ALL_TABLES_IS_INVALID','getDocRanges','_registerRenderDependencies','onLocalMutation','fromEvent','drawWith','session.connection-failed','YUUMI_ASYNCIO_CANCELLED','_saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_DUPLICATED','@univerjs/network','ColorKit','DOC_RANGE_TYPE','setItem','FETCH_MISS','0\x200\x2016\x2016','saveImage','_handleHeartbeatEvent','font','@univerjs-pro/collaboration-client','@univerjs/sheets-ui','1475844ZfmIFz','_uiPartsService','useCallback','currentTheme$','transformIMECache','eventID','fillRule','_docTransformSelectionsService','ENSURE_SNAPSHOT_EXECUTION','DataLoaderService','jiqing.500','flatMap','CollaborationEvent','EMAIL_HAS_BEEN_BOUND','disableLocalCache','hovered','LOGIN_FAILED','collaboration.closeRoom','displayName','_roomMembers$','1691091FQLFTK','undoState','takeUntil','send','_handleJoinEvent','measureText','isArray','Vector2','onPointerMove$','some','_handleLeaveEvent','UNIVER_DOC','transformRemoteChangeset','_status$','isActive','getOffsetConfig','collab-client.tooltip.reconnect','href','MemberService','_online','react','INVITE_CODE_HAS_BEEN_UES','onStarting','http://www.w3.org/2000/svg','Error','@univerjs/engine-render','onPointerLeave$','_transformHistoryAndStateStack','WECHAT_HAS_BEEN_BOUND','reconnect','_entities','top','IURLService','_init','CollaborationStatusDisplay','OnLineIcon','_draw','_scheduleHeartbeat','registerDependencies','useDependency','INTERNAL_ERROR','isTransformMutationFailure','permission.title','rxjs','_disabled','bottom','_scene','backgroundColor','getStateCache','OTHER_CLIENTS_EDITING','getConfig','symbol','includes','getItem','loadUnit','split','disposeWithMe','IMessageService','_hovered','Plugin','Failed','_docTransformStateCacheService','clsx','_initEntityListener','_range','_saveCache','_anchor','on-line-icon_clip0_910_349','UniverInstanceType','storage','_ensureSubject','YUUMI_SUBSCRIPTION_NOT_FOUND','disposeUnit','unitID','ILocalCacheService','pushState','debounce','parse','setShapeProps','_notificationService','with','Shape','getOwnPropertySymbols','session.will-retry','map','_getSheetObject','application/json','ACTIVE_UNIT_EVENT_CHANNEL','_labelPosition','attrs','NOT_FOUND','_scheduleSaving','sessionTicket','_document','values','_setupBeforeClosingHandler','addEventListener','UniverIcon','pipe','color','setConfig','_config','doc.mutation.rich-text-editing','roomMembers','INVITE_CODE_ALREADY_BOUND','_urlService','_drawTextRange','transform','m1Prime','throttleTime','getSheetBySheetId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','set','_getMergeRange','_themeService','className','executionId','body','RegularPolygon','getMember','_clearOtherTimers','substring','_httpService','findNodePositionByCharIndex','PY_RUNTIME_SCRIPT_ERROR','RECT','LOCAL_CACHE_INTERVAL_KEY','getMergeData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_EXPORT_SIZE_EXCEEDED','jsx','_initCommandExecutedListener','_id','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/docs-ui','icon','createElement','dispose$','react/jsx-runtime','history','cursorInfo','newValue','runId','ThemeService','CollaborationDataLoaderController','location','UNDEFINED','DependentOn','registerComponent','restore','subUnitId','TOO_MANY_REQUESTS','stringify','_cursorShapes','endColumn','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MUTATION','forwardRef','_docSyncEditingCollabCursorService','_toggleOnline','next','ICommandService','getTypeOfUnitAdded$','_collabCursorController','RevisionService','m2Prime','startsWith','TEXT_RANGE_LAYER_INDEX','_heartbeatTimer','addObject','_hideTimer','DocStateChangeManagerService','hide','getRangePointData','getSheetObject','Rect','UPDATE_CURSOR','event$','getCoordByCell','useObservable','url(#off-line-icon_clip0_910_343)','prototype','makeDirty','idSuffix','...','addObjects','activeSheet$','function','_registerDependencies','_messageService','APPLY_PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','name','_handleEvent','defs','currentColor','getUnitId','getSkeleton','_session','YUUMI_UNABLE_LOAD_URL','RemoteUniscriptService','SheetSkeletonManagerService','origin','filter','registerRenderModule','ITransformService','_syncEditingCollabCursorService','_getSessionTicket','_onCursorDelete','assign','collabCursorState$','WebBrowserSingleActiveUnitService','SheetCollabCursorShape','CONFLICT','PENDING','debounceTime','lineTo','_onRefRangeChange','asObservable','DocSelectionManagerService','collabStatus.conflict','contains','_localeService','getUnhiddenWorksheets','current','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','labelPosition','CommandType','add','0\x200\x2017\x2016','forEach','MessageType','MoveRangeCommandId','getCurrentUnitForType','combineLatest','UNRECOGNIZED','@univerjs/drawing','SHEET_VIEWPORT_KEY','init','extend','_drawAnchor','APPLY_REVISION_CONFILICT','COMPLETION_FINISHED','InsertRangeMoveDownCommandId','search','memberID','SessionStatus','Warning','code','has','requireSession','_cursor','result','children','assignAColorForMemberID'];_0x2196=function(){return _0xa70edc;};return _0x2196();}Object[_0x4ba9c1(0x1cd)](exports,Symbol[_0x4ba9c1(0x220)],{'value':_0x4ba9c1(0x186)});const u=require(_0x4ba9c1(0x28d)),a=require(_0x4ba9c1(0x157)),p=require(_0x4ba9c1(0x2bc)),G=require(_0x4ba9c1(0x284)),b=require(_0x4ba9c1(0x98)),Ge=require(_0x4ba9c1(0xfe)),d=require(_0x4ba9c1(0x2ce)),Y=require('@univerjs/docs'),m=require(_0x4ba9c1(0x198)),Ee=require('@univerjs/engine-formula'),g=require(_0x4ba9c1(0x13f)),$=require('rxjs/operators'),X=require(_0x4ba9c1(0x28e)),w=require(_0x4ba9c1(0x9c)),T=require(_0x4ba9c1(0x14d)),D=require('@univerjs/design'),M=require(_0x4ba9c1(0x2b7)),Ke=require('@univerjs/rpc');var qe=Object['getOwnPropertyDescriptor'],ze=(_0xe7c3a6,_0xa57694,_0x4f0653,_0x75bdd2)=>{const _0x118171=_0x4ba9c1;for(var _0x204c11=_0x75bdd2>0x1?void 0x0:_0x75bdd2?qe(_0xa57694,_0x4f0653):_0xa57694,_0x13c02a=_0xe7c3a6[_0x118171(0x1da)]-0x1,_0x274da4;_0x13c02a>=0x0;_0x13c02a--)(_0x274da4=_0xe7c3a6[_0x13c02a])&&(_0x204c11=_0x274da4(_0x204c11)||_0x204c11);return _0x204c11;},Te=(_0x223b16,_0x5d62af)=>(_0x1a13db,_0x36c470)=>_0x5d62af(_0x1a13db,_0x36c470,_0x223b16);let de=class extends a['RxDisposable']{constructor(_0xa470c1,_0x2cb921){const _0x54acce=_0x4ba9c1;super(),this[_0x54acce(0x268)]=_0xa470c1,this[_0x54acce(0x204)]=_0x2cb921,this['_init']();}[_0x4ba9c1(0x2c4)](){const _0xd05303=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4e4013=>{const _0x598e84=_0x167f,_0x53b510=await _0xd05303[_0x598e84(0x204)][_0x598e84(0x28a)](_0x4e4013);return _0x53b510?{'source':_0x53b510[_0x598e84(0x26e)],'imageSourceType':_0x53b510[_0x598e84(0x253)]}:null;}}));}};de=ze([Te(0x0,b['IDocClipboardService']),Te(0x1,Ge[_0x4ba9c1(0x21f)])],de);const Oe=[_0x4ba9c1(0x1db),_0x4ba9c1(0x299),'green.600',_0x4ba9c1(0x216),_0x4ba9c1(0x255),'yellow.400'];class me extends a[_0x4ba9c1(0x12c)]{constructor(){const _0x2312b6=_0x4ba9c1;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x2312b6(0x271),0x0);}[_0x4ba9c1(0x110)](_0x88d7f5){const _0x2fa58f=_0x4ba9c1;if(this[_0x2fa58f(0x18f)]['has'](_0x88d7f5))return this[_0x2fa58f(0x18f)][_0x2fa58f(0x17b)](_0x88d7f5);const _0x45458b=Oe[this[_0x2fa58f(0x271)]];return this[_0x2fa58f(0x271)]=(this[_0x2fa58f(0x271)]+0x1)%Oe[_0x2fa58f(0x1da)],this['_assignedColors'][_0x2fa58f(0x82)](_0x88d7f5,_0x45458b),_0x45458b;}}function we(_0x1de779){const _0x20535d=_0x4ba9c1;let _0x187950='';for(const _0x304af6 of _0x1de779){const {startOffset:_0x44987a,endOffset:_0x21dd4e,isActive:_0x2f412d,rangeType:_0x1db814,segmentId:_0x9339a8,segmentPage:_0x30825a}=_0x304af6;_0x187950[_0x20535d(0x1da)]&&(_0x187950+=','),_0x187950+=_0x44987a+':'+_0x21dd4e+':'+(_0x2f412d?'1':'0')+':'+_0x1db814+':'+_0x9339a8+':'+_0x30825a;}return _0x187950;}function Je(_0xfd17ac){const _0x16eda3=_0x4ba9c1,_0x230927=_0xfd17ac[_0x16eda3(0x2da)](','),_0x2927b8=[];for(const _0x1d6697 of _0x230927){const [_0x1d9a13,_0x2f2be6,_0x1c02b3,_0x423d9e,_0x5b9baa,_0xa3f466]=_0x1d6697[_0x16eda3(0x2da)](':');_0x2927b8[_0x16eda3(0x20e)]({'startOffset':Number(_0x1d9a13),'endOffset':Number(_0x2f2be6),'collapsed':_0x1d9a13===_0x2f2be6,'isActive':_0x1c02b3==='1','rangeType':_0x423d9e===a['DOC_RANGE_TYPE'][_0x16eda3(0x1fd)]?a[_0x16eda3(0x286)][_0x16eda3(0x1fd)]:a[_0x16eda3(0x286)][_0x16eda3(0x8f)],'segmentId':typeof _0x5b9baa==_0x16eda3(0x1e0)?String(_0x5b9baa):'','segmentPage':Number(_0xa3f466!=null?_0xa3f466:-0x1)});}return _0x2927b8[_0x16eda3(0x2ac)](_0x172fb0=>_0x172fb0[_0x16eda3(0x2b1)])||(_0x2927b8[0x0]['isActive']=!0x0),_0x2927b8;}class Ce extends a[_0x4ba9c1(0x1b8)]{constructor(){const _0x5da369=_0x4ba9c1;super(...arguments),h(this,_0x5da369(0x165),new d[(_0x5da369(0x1ec))](null)),h(this,_0x5da369(0xe4),this[_0x5da369(0x165)][_0x5da369(0xec)]());}['syncEditingCollabCursor'](_0x32f261){const _0x5c8e8a=_0x4ba9c1,{unitID:_0x46f6f4,memberID:_0x151c69,textRanges:_0x4b0bcf}=_0x32f261,_0x13c4a6=we(_0x4b0bcf);if(_0x13c4a6==='')return;const _0x10ac8a={'unitID':_0x46f6f4,'memberID':_0x151c69,'selection':_0x13c4a6};this[_0x5c8e8a(0x165)]['next'](_0x10ac8a);}}var Ze=Object[_0x4ba9c1(0x23e)],Qe=(_0x6c78cd,_0x8884cf,_0x495dbb,_0x230f89)=>{const _0x9c11ec=_0x4ba9c1;for(var _0x57849d=_0x230f89>0x1?void 0x0:_0x230f89?Ze(_0x8884cf,_0x495dbb):_0x8884cf,_0x482dac=_0x6c78cd[_0x9c11ec(0x1da)]-0x1,_0x2e119d;_0x482dac>=0x0;_0x482dac--)(_0x2e119d=_0x6c78cd[_0x482dac])&&(_0x57849d=_0x2e119d(_0x57849d)||_0x57849d);return _0x57849d;},L=(_0x3d9821,_0x2173de)=>(_0x4e1c09,_0x2e7ab4)=>_0x2173de(_0x4e1c09,_0x2e7ab4,_0x3d9821);const et=0x12c,tt=0x64;let fe=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x22b6ff,_0x43465b,_0x25f1e8,_0xfd6d51,_0x57614f,_0x8d937a,_0xc28633,_0x1c4195,_0x3e4d5e){const _0x20a03a=_0x4ba9c1;super(),h(this,_0x20a03a(0x2b6),!0x1),h(this,_0x20a03a(0x2c4),!0x1),h(this,_0x20a03a(0x131),new d[(_0x20a03a(0x1ec))](new Map())),h(this,_0x20a03a(0x1c6),this['_cursorInfo$']['asObservable']()),h(this,_0x20a03a(0x2a2),new d['BehaviorSubject']([])),h(this,_0x20a03a(0x225),this[_0x20a03a(0x2a2)]['pipe'](d[_0x20a03a(0xe9)](et))),h(this,_0x20a03a(0x13b),a[_0x20a03a(0x2ef)](_0x3d8ebf=>{const _0x558214=_0x20a03a,_0x1e6d1e={'eventID':m[_0x558214(0x29b)][_0x558214(0xc2)],'data':{'unitID':this[_0x558214(0x2ec)],'memberID':this[_0x558214(0xd8)][_0x558214(0x246)](),'selection':we(_0x3d8ebf)}};this[_0x558214(0xd8)][_0x558214(0x2a6)](_0x1e6d1e,this[_0x558214(0x2ec)]);},tt)),(this['unitID']=_0x22b6ff,this[_0x20a03a(0xd8)]=_0x43465b,this['_injector']=_0x25f1e8,this[_0x20a03a(0x238)]=_0xfd6d51,this[_0x20a03a(0x135)]=_0x57614f,this[_0x20a03a(0xe0)]=_0x8d937a,this['_transformService']=_0xc28633,this[_0x20a03a(0x24e)]=_0x1c4195,this[_0x20a03a(0x112)]=_0x3e4d5e);}get[_0x4ba9c1(0x9e)](){const _0x408a50=_0x4ba9c1;return this['_cursorInfo$'][_0x408a50(0x141)]();}get['roomMembers'](){const _0x4d6904=_0x4ba9c1;return this[_0x4d6904(0x2a2)]['getValue']();}[_0x4ba9c1(0x195)](){const _0x1fe029=_0x4ba9c1;super['dispose'](),this['_cursorInfo$'][_0x1fe029(0xb2)](new Map()),this[_0x1fe029(0x131)][_0x1fe029(0x129)](),this[_0x1fe029(0x2a2)]['next']([]),this['_roomMembers$'][_0x1fe029(0x129)]();}[_0x4ba9c1(0x100)](){const _0x4cf101=_0x4ba9c1;this[_0x4cf101(0x2c4)]||(this[_0x4cf101(0x2c4)]=!0x0,this[_0x4cf101(0xd8)][_0x4cf101(0x172)][_0x4cf101(0x74)](d['takeUntil'](this['dispose$']))[_0x4cf101(0x1a4)](_0x181db1=>{const _0x39791f=_0x4cf101;_0x181db1===u[_0x39791f(0x108)][_0x39791f(0x218)]?this[_0x39791f(0xb1)]():this[_0x39791f(0x1e6)]();}),this[_0x4cf101(0xd8)]['event$'][_0x4cf101(0x74)](d[_0x4cf101(0x2a5)](this[_0x4cf101(0x9b)]))['subscribe'](_0x2751be=>{const _0x9e1fb8=_0x4cf101,_0x4e0ade=_0x2751be[_0x9e1fb8(0x294)];_0x4e0ade===m[_0x9e1fb8(0x29b)][_0x9e1fb8(0xc2)]&&this[_0x9e1fb8(0x1b4)](_0x2751be),_0x4e0ade===m[_0x9e1fb8(0x29b)][_0x9e1fb8(0x145)]&&this[_0x9e1fb8(0xe2)](_0x2751be);}),this[_0x4cf101(0x2db)](this[_0x4cf101(0x112)][_0x4cf101(0x15b)](_0x14dd83=>{const _0x1b25f3=_0x4cf101,_0x2c2aef=_0x14dd83[_0x1b25f3(0x161)];_0x2c2aef!=null&&this[_0x1b25f3(0x2b6)]&&_0x14dd83['id']===Y[_0x1b25f3(0x19f)]['id']&&_0x2c2aef[_0x1b25f3(0x17f)]===this[_0x1b25f3(0x2ec)]&&_0x2c2aef['isEditing']===!0x1&&_0x2c2aef['ranges'][_0x1b25f3(0x1da)]>0x0&&this['_updateLocalCursor'](_0x2c2aef[_0x1b25f3(0x265)]);})),this[_0x4cf101(0xe0)][_0x4cf101(0xe4)][_0x4cf101(0x74)](d[_0x4cf101(0x2a5)](this[_0x4cf101(0x9b)]))[_0x4cf101(0x1a4)](_0x363e0d=>{const _0x5d94bd=_0x4cf101;if((_0x363e0d==null?void 0x0:_0x363e0d[_0x5d94bd(0x2ec)])!==this[_0x5d94bd(0x2ec)])return;const _0x26b68e={'eventID':m[_0x5d94bd(0x29b)][_0x5d94bd(0xc2)],'data':_0x363e0d};this[_0x5d94bd(0x1b4)](_0x26b68e);}),this[_0x4cf101(0x2db)](this[_0x4cf101(0x112)][_0x4cf101(0x15b)](_0xcda379=>{const _0x20b806=_0x4cf101;if(_0xcda379[_0x20b806(0x161)]==null)return;const _0xdb66b=_0xcda379[_0x20b806(0x161)];if(_0xcda379['id']!==Y[_0x20b806(0x258)]['id']||_0xdb66b['unitId']!==this[_0x20b806(0x2ec)])return;const _0x1bdf56={'id':'doc.mutation.rich-text-editing','params':_0xdb66b},_0x3c86a2=this[_0x20b806(0x9e)];for(const [_0x16e731,_0x389632]of _0x3c86a2){const _0x328900={'id':_0x20b806(0x78),'params':{'unitId':this[_0x20b806(0x2ec)],'actions':null,'textRanges':_0x389632[_0x20b806(0x265)]}},_0x19505d=this['_transformService']['transformMutation'](_0x1bdf56,_0x328900,!0x1);if(m[_0x20b806(0x2cc)](_0x19505d))throw _0x19505d[_0x20b806(0x217)];_0x3c86a2[_0x20b806(0x82)](_0x16e731,{..._0x389632,'ranges':_0x19505d[_0x20b806(0xb7)]['params'][_0x20b806(0x1e9)]});}queueMicrotask(()=>{const _0x89b47e=_0x20b806;this[_0x89b47e(0x131)][_0x89b47e(0xb2)](_0x3c86a2);});})));}['_onCursorUpdate'](_0x28eef0){const _0x57415c=_0x4ba9c1;var _0x77c2a5,_0xdd5785;const {memberID:_0x17fe2b,selection:_0x228747}=_0x28eef0['data'],_0x57f2c0=Je(_0x228747),_0x482bd2=(_0xdd5785=(_0x77c2a5=this['_memberService'][_0x57415c(0x89)](this[_0x57415c(0x2ec)],_0x17fe2b))==null?void 0x0:_0x77c2a5[_0x57415c(0xd2)])!=null?_0xdd5785:_0x57415c(0x11c),_0x1d64c2={'color':this[_0x57415c(0x238)]['assignAColorForMemberID'](_0x17fe2b),'name':_0x482bd2,'ranges':_0x57f2c0},_0x5abd99=this[_0x57415c(0x9e)];_0x5abd99['set'](_0x17fe2b,_0x1d64c2),this['_cursorInfo$'][_0x57415c(0xb2)](_0x5abd99);}[_0x4ba9c1(0xe2)](_0x2f9355){const _0x2d972e=_0x4ba9c1,{memberID:_0x321062}=_0x2f9355['data'],_0x4b230b=this[_0x2d972e(0x9e)];_0x4b230b[_0x2d972e(0x232)](_0x321062),this['_cursorInfo$'][_0x2d972e(0xb2)](_0x4b230b);}[_0x4ba9c1(0xb1)](){const _0x2c3a22=_0x4ba9c1;var _0xe0b72e;if(this[_0x2c3a22(0x2b6)]=!0x0,((_0xe0b72e=this[_0x2c3a22(0x24e)][_0x2c3a22(0x26d)]())==null?void 0x0:_0xe0b72e[_0x2c3a22(0xd6)]())!==this['unitID'])return;const _0x5ad9b8=this['_injector'][_0x2c3a22(0x17b)](Y[_0x2c3a22(0xed)])[_0x2c3a22(0x27a)]();Array[_0x2c3a22(0x2a9)](_0x5ad9b8)&&_0x5ad9b8[_0x2c3a22(0x1da)]>0x0&&this['_updateLocalCursor'](_0x5ad9b8);}[_0x4ba9c1(0x1e6)](){const _0x505357=_0x4ba9c1;this[_0x505357(0x2b6)]=!0x1;}};fe=Qe([L(0x2,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x2b5)])),L(0x5,a[_0x4ba9c1(0x1f9)](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x4ba9c1(0x23e)],it=(_0x539ee3,_0x11fab1,_0x524dbc,_0xfe4795)=>{const _0x257f7f=_0x4ba9c1;for(var _0x2e9509=_0xfe4795>0x1?void 0x0:_0xfe4795?st(_0x11fab1,_0x524dbc):_0x11fab1,_0x55cf01=_0x539ee3[_0x257f7f(0x1da)]-0x1,_0x35a9c5;_0x55cf01>=0x0;_0x55cf01--)(_0x35a9c5=_0x539ee3[_0x55cf01])&&(_0x2e9509=_0x35a9c5(_0x2e9509)||_0x2e9509);return _0x2e9509;},A=(_0x497836,_0x263412)=>(_0x34db7d,_0x5045c7)=>_0x263412(_0x34db7d,_0x5045c7,_0x497836);const nt=0x12c,rt=0x64,ot=()=>{let _0x8cf0e2=[],_0x1215af=!0x1;return _0x37d379=>{const _0x5e24af=_0x167f;_0x8cf0e2[_0x5e24af(0x20e)](_0x37d379),_0x1215af||(_0x1215af=!0x0,setTimeout(()=>{_0x8cf0e2['forEach'](_0x2cf886=>_0x2cf886()),_0x8cf0e2=[],_0x1215af=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x36cbb7,_0x5b99d3,_0x5a0a5,_0x3c24fa,_0x3b5211,_0x172adf,_0x2954d8,_0x1f1ba6){const _0x3701cf=_0x4ba9c1;super(),h(this,_0x3701cf(0x2b6),!0x1),h(this,_0x3701cf(0x2c4),!0x1),h(this,_0x3701cf(0x131),new d['BehaviorSubject'](new Map())),h(this,_0x3701cf(0x1c6),this[_0x3701cf(0x131)]['asObservable']()),h(this,_0x3701cf(0x2a2),new d[(_0x3701cf(0x1ec))]([])),h(this,_0x3701cf(0x225),this[_0x3701cf(0x2a2)][_0x3701cf(0x74)](d[_0x3701cf(0xe9)](nt))),h(this,'_updateLocalCursor',a[_0x3701cf(0x2ef)]((_0x5900c1,_0x5d2025)=>{const _0x4eb5b1=_0x3701cf,_0x80f280={'eventID':m[_0x4eb5b1(0x29b)][_0x4eb5b1(0xc2)],'data':{'unitID':this[_0x4eb5b1(0x2ec)],'memberID':this[_0x4eb5b1(0xd8)][_0x4eb5b1(0x246)](),'selection':Ee[_0x4eb5b1(0x248)](_0x5900c1,_0x5d2025['range'])}};this['_session'][_0x4eb5b1(0x2a6)](_0x80f280,this[_0x4eb5b1(0x2ec)]);},rt)),(this[_0x3701cf(0x2ec)]=_0x36cbb7,this[_0x3701cf(0xd8)]=_0x5b99d3,this[_0x3701cf(0x1b6)]=_0x5a0a5,this['_colorAssignService']=_0x3c24fa,this[_0x3701cf(0x135)]=_0x3b5211,this['_univerInstanceService']=_0x172adf,this[_0x3701cf(0x112)]=_0x2954d8,this['_refRangeService']=_0x1f1ba6);}get[_0x4ba9c1(0x9e)](){return this['_cursorInfo$']['getValue']();}get[_0x4ba9c1(0x79)](){const _0x2ea22b=_0x4ba9c1;return this[_0x2ea22b(0x2a2)][_0x2ea22b(0x141)]();}['dispose'](){const _0x5228da=_0x4ba9c1;super[_0x5228da(0x195)](),this['_cursorInfo$'][_0x5228da(0xb2)](new Map()),this[_0x5228da(0x131)][_0x5228da(0x129)](),this[_0x5228da(0x2a2)]['next']([]),this['_roomMembers$'][_0x5228da(0x129)]();}[_0x4ba9c1(0x100)](){const _0x4c5e40=_0x4ba9c1;this[_0x4c5e40(0x2c4)]||(this['_init']=!0x0,this[_0x4c5e40(0xd8)][_0x4c5e40(0x172)][_0x4c5e40(0x74)](d[_0x4c5e40(0x2a5)](this[_0x4c5e40(0x9b)]))[_0x4c5e40(0x1a4)](_0x4f6327=>{const _0x480da4=_0x4c5e40;_0x4f6327===u[_0x480da4(0x108)][_0x480da4(0x218)]?this['_toggleOnline']():this[_0x480da4(0x1e6)]();}),this['_session'][_0x4c5e40(0xc3)][_0x4c5e40(0x74)](d['takeUntil'](this[_0x4c5e40(0x9b)]))[_0x4c5e40(0x1a4)](_0x1fefd8=>{const _0x25749b=_0x4c5e40,_0x4bc0e1=_0x1fefd8[_0x25749b(0x294)];_0x4bc0e1===m[_0x25749b(0x29b)][_0x25749b(0xc2)]&&this['_onCursorUpdate'](_0x1fefd8),_0x4bc0e1===m[_0x25749b(0x29b)][_0x25749b(0x145)]&&this[_0x25749b(0xe2)](_0x1fefd8);}),this[_0x4c5e40(0xeb)](),this[_0x4c5e40(0x2db)](this[_0x4c5e40(0x112)]['onCommandExecuted'](_0x1a9203=>{const _0x38cbe8=_0x4c5e40;if(this[_0x38cbe8(0x2b6)]&&_0x1a9203['id']===g[_0x38cbe8(0x22c)]['id']&&_0x1a9203[_0x38cbe8(0x161)]['unitId']===this['unitID']){const _0x3446f8=_0x1a9203[_0x38cbe8(0x161)];this[_0x38cbe8(0x13b)](_0x3446f8[_0x38cbe8(0xa8)],_0x3446f8['selections'][0x0]);}})));}[_0x4ba9c1(0x1b4)](_0x540408){const _0xed1e9b=_0x4ba9c1;var _0x18b2d7,_0x391404;const {memberID:_0x5952bb,selection:_0x2fc897}=_0x540408[_0xed1e9b(0x15d)],{sheetName:_0xc4f5a5,range:_0x6c7e98}=Ee['deserializeRangeWithSheet'](_0x2fc897),_0x4aa56c={'name':(_0x391404=(_0x18b2d7=this[_0xed1e9b(0x135)][_0xed1e9b(0x89)](this['unitID'],_0x5952bb))==null?void 0x0:_0x18b2d7['name'])!=null?_0x391404:_0xed1e9b(0x11c),'range':this[_0xed1e9b(0x83)](_0xc4f5a5,_0x6c7e98),'sheetID':_0xc4f5a5,'color':this[_0xed1e9b(0x238)][_0xed1e9b(0x110)](_0x5952bb),'selection':_0x2fc897},_0x573a08=this[_0xed1e9b(0x9e)];_0x573a08[_0xed1e9b(0x82)](_0x5952bb,_0x4aa56c),this[_0xed1e9b(0x131)][_0xed1e9b(0xb2)](_0x573a08);}[_0x4ba9c1(0xe2)](_0x425f2c){const _0x390084=_0x4ba9c1,{memberID:_0x798606}=_0x425f2c[_0x390084(0x15d)],_0x43c34b=this[_0x390084(0x9e)];_0x43c34b[_0x390084(0x232)](_0x798606),this['_cursorInfo$'][_0x390084(0xb2)](_0x43c34b);}[_0x4ba9c1(0x83)](_0xbeee2a,_0x20886a){const _0x6427d1=_0x4ba9c1;var _0x35af47,_0x5440f3;const _0x48badc=(_0x5440f3=(_0x35af47=this[_0x6427d1(0x24e)]['getUniverSheetInstance'](this[_0x6427d1(0x2ec)]))==null?void 0x0:_0x35af47['getSheetBySheetId'](_0xbeee2a))==null?void 0x0:_0x5440f3[_0x6427d1(0x91)]();return(_0x48badc==null?void 0x0:_0x48badc[_0x6427d1(0x1c0)](_0x237a97=>a[_0x6427d1(0x19a)][_0x6427d1(0xef)](_0x237a97,_0x20886a)))||_0x20886a;}[_0x4ba9c1(0xeb)](){const _0x5d7605=_0x4ba9c1,_0x426282=new a[(_0x5d7605(0x1f5))](),_0x503dc8=ot(),_0x21c887=()=>{const _0x552e6c=_0x5d7605;_0x426282[_0x552e6c(0x195)]();const _0x3c362a=(_0x529727,_0x2375ff,_0x12d488,_0x22326a)=>{const _0x24019e=_0x552e6c;let _0x1a1e48=[];switch(_0x529727['id']){case g[_0x24019e(0x22f)][_0x24019e(0x219)]:{_0x1a1e48=g[_0x24019e(0x22b)](_0x529727,_0x22326a);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1a1e48=g['handleDeleteRangeMoveUp'](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)][_0x24019e(0x166)]:{_0x1a1e48=g[_0x24019e(0x1ac)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x105)]:{_0x1a1e48=g[_0x24019e(0x1c2)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x23a)]:{_0x1a1e48=g[_0x24019e(0x1f0)](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)]['InsertRowCommandId']:{_0x1a1e48=g[_0x24019e(0x189)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0xfa)]:{_0x1a1e48=g[_0x24019e(0x1f6)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x1ba)]:{_0x1a1e48=g[_0x24019e(0x1cb)](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)]['RemoveRowCommandId']:{_0x1a1e48=g[_0x24019e(0x215)](_0x529727,_0x22326a);break;}}const _0x107fba=g[_0x24019e(0x249)](_0x1a1e48,_0x22326a),_0x1c2803=this[_0x24019e(0x9e)][_0x24019e(0x17b)](_0x2375ff);if(_0x1c2803&&_0x107fba){const _0x59b5cc={..._0x1c2803,'range':_0x107fba};this[_0x24019e(0x9e)][_0x24019e(0x82)](_0x2375ff,_0x59b5cc),_0x503dc8(()=>{const _0x4bf503=_0x24019e,_0x5f2d13=this[_0x4bf503(0x211)][_0x4bf503(0x212)](_0x107fba,_0x34bb56=>(_0x5f2d13[_0x4bf503(0x195)](),_0x3c362a(_0x34bb56,_0x2375ff,_0x12d488,_0x107fba)));_0x426282[_0x4bf503(0xf6)](_0x5f2d13);});}return{'redos':[],'undos':[]};};this[_0x552e6c(0x9e)][_0x552e6c(0xf8)]((_0x18aa56,_0x594c37)=>{const _0x4f8144=_0x552e6c,{range:_0x2a358d,sheetID:_0x160f28}=_0x18aa56,_0x1890e9=this['_refRangeService'][_0x4f8144(0x212)](_0x2a358d,_0x33cb80=>(_0x1890e9[_0x4f8144(0x195)](),_0x3c362a(_0x33cb80,_0x594c37,_0x160f28,_0x2a358d)));_0x426282['add'](_0x1890e9);});};this['disposeWithMe'](a[_0x5d7605(0x121)](this[_0x5d7605(0x131)][_0x5d7605(0x1a4)](()=>{_0x21c887();})));}[_0x4ba9c1(0xb1)](){const _0x57523f=_0x4ba9c1;var _0x2f469b,_0xe89fbd;if(this[_0x57523f(0x2b6)]=!0x0,((_0x2f469b=this[_0x57523f(0x24e)][_0x57523f(0x26d)]())==null?void 0x0:_0x2f469b[_0x57523f(0xd6)]())!==this[_0x57523f(0x2ec)])return;const _0x464421=(_0xe89fbd=this[_0x57523f(0x1b6)][_0x57523f(0x17b)](g[_0x57523f(0x18b)])[_0x57523f(0x151)]())==null?void 0x0:_0xe89fbd[0x0],_0x2f0e14=this[_0x57523f(0x24e)][_0x57523f(0xfb)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x57523f(0x140)]();_0x464421&&_0x2f0e14&&this[_0x57523f(0x13b)](_0x2f0e14[_0x57523f(0x1d3)](),_0x464421);}[_0x4ba9c1(0x1e6)](){const _0x13de16=_0x4ba9c1;this[_0x13de16(0x2b6)]=!0x1;}};Se=it([A(0x2,a['Inject'](a[_0x4ba9c1(0x11f)])),A(0x3,a[_0x4ba9c1(0x1f9)](me)),A(0x4,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x2b5)])),A(0x5,a[_0x4ba9c1(0x247)]),A(0x6,a[_0x4ba9c1(0xb3)]),A(0x7,a[_0x4ba9c1(0x1f9)](g['RefRangeService']))],Se);var at=Object[_0x4ba9c1(0x23e)],ct=(_0x2ac852,_0x4e8a76,_0x3cd342,_0x1f94eb)=>{const _0xbeb252=_0x4ba9c1;for(var _0x3d32f5=_0x1f94eb>0x1?void 0x0:_0x1f94eb?at(_0x4e8a76,_0x3cd342):_0x4e8a76,_0x132a4a=_0x2ac852[_0xbeb252(0x1da)]-0x1,_0x3cd2fe;_0x132a4a>=0x0;_0x132a4a--)(_0x3cd2fe=_0x2ac852[_0x132a4a])&&(_0x3d32f5=_0x3cd2fe(_0x3d32f5)||_0x3d32f5);return _0x3d32f5;},ie=(_0x34685f,_0x4729c6)=>(_0x285217,_0x7dd37e)=>_0x4729c6(_0x285217,_0x7dd37e,_0x34685f);let x=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x471043,_0xa03e08,_0x7e44a8){const _0x1b4805=_0x4ba9c1;super(),h(this,_0x1b4805(0x2c1),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x1b4805(0x24e)]=_0x471043,this[_0x1b4805(0x1b6)]=_0xa03e08,this[_0x1b4805(0x1ef)]=_0x7e44a8,this[_0x1b4805(0x2c4)]());}[_0x4ba9c1(0x195)](){const _0x39c243=_0x4ba9c1;super[_0x39c243(0x195)](),this[_0x39c243(0x1fb)][_0x39c243(0x129)](),this[_0x39c243(0x2c1)][_0x39c243(0xf8)](_0x1391b=>_0x1391b[_0x39c243(0x195)]());}['getCollabCursors$'](_0x50ddea){const _0x3fc493=_0x4ba9c1;return this[_0x3fc493(0x2c1)]['has'](_0x50ddea)?this[_0x3fc493(0x2c1)]['get'](_0x50ddea)[_0x3fc493(0x1c6)]:this[_0x3fc493(0x1fb)][_0x3fc493(0x74)](d[_0x3fc493(0xdd)](_0x2ecca5=>_0x2ecca5[_0x3fc493(0x2ec)]===_0x50ddea),d[_0x3fc493(0x234)](_0x50adfe=>_0x50adfe[_0x3fc493(0x1c6)]));}[_0x4ba9c1(0x2c4)](){const _0x57d1db=_0x4ba9c1;this[_0x57d1db(0x24e)][_0x57d1db(0xb4)](a[_0x57d1db(0x2e7)][_0x57d1db(0x1bb)])[_0x57d1db(0x74)](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))[_0x57d1db(0x1a4)](async _0x58b750=>{const _0x278869=_0x57d1db,_0x547449=_0x58b750[_0x278869(0xd6)](),_0x556871=await this[_0x278869(0x19d)](_0x547449);this[_0x278869(0x1fb)][_0x278869(0xb2)](_0x556871),this[_0x278869(0x2c1)][_0x278869(0x82)](_0x547449,_0x556871);}),this[_0x57d1db(0x24e)]['getTypeOfUnitAdded$'](a[_0x57d1db(0x2e7)][_0x57d1db(0x2ae)])[_0x57d1db(0x74)](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))['pipe'](d[_0x57d1db(0xdd)](_0x54e133=>!_0x54e133[_0x57d1db(0xd6)]()[_0x57d1db(0xb8)]('__')))['subscribe'](async _0x3cf694=>{const _0x43de3e=_0x57d1db,_0x3b29f5=_0x3cf694[_0x43de3e(0xd6)](),_0x55516d=await this['_startDocCollabCursor'](_0x3b29f5);this['_entityInit$'][_0x43de3e(0xb2)](_0x55516d),this[_0x43de3e(0x2c1)][_0x43de3e(0x82)](_0x3b29f5,_0x55516d);}),d[_0x57d1db(0x19c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x57d1db(0x2e7)]['UNIVER_DOC']),this['_univerInstanceService'][_0x57d1db(0x1c3)](a['UniverInstanceType']['UNIVER_SHEET']))['pipe'](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))['subscribe'](_0x55acc3=>{const _0x4a42fa=_0x57d1db,_0x1f0c2e=_0x55acc3[_0x4a42fa(0xd6)](),_0x30e6f5=this['_entities'][_0x4a42fa(0x17b)](_0x1f0c2e);_0x30e6f5&&(_0x30e6f5[_0x4a42fa(0x195)](),this[_0x4a42fa(0x2c1)][_0x4a42fa(0x232)](_0x1f0c2e));});}async[_0x4ba9c1(0x19d)](_0x311204){const _0x4a97a4=_0x4ba9c1,_0x395088=await this[_0x4a97a4(0x1ef)]['requireSession'](_0x311204),_0x1369f6=this[_0x4a97a4(0x1b6)]['createInstance'](Se,_0x311204,_0x395088);return _0x1369f6[_0x4a97a4(0x100)](),_0x1369f6;}async[_0x4ba9c1(0x23f)](_0xcebbfa){const _0x150750=_0x4ba9c1,_0x5d385e=await this[_0x150750(0x1ef)][_0x150750(0x10c)](_0xcebbfa),_0x83e1d5=this['_injector']['createInstance'](fe,_0xcebbfa,_0x5d385e);return _0x83e1d5['init'](),_0x83e1d5;}};x=ct([ie(0x0,a[_0x4ba9c1(0x247)]),ie(0x1,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),ie(0x2,a[_0x4ba9c1(0x1f9)](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x5015ea,_0x535ae1){const _0x34139f=_0x4ba9c1;let {radius:_0x1b4e7e,width:_0x296a80,height:_0x2b2b71}=_0x535ae1;_0x1b4e7e=_0x1b4e7e!=null?_0x1b4e7e:0x0,_0x296a80=_0x296a80!=null?_0x296a80:0x1e,_0x2b2b71=_0x2b2b71!=null?_0x2b2b71:0x1e;let _0x2d5c84=0x0,_0x266a42=0x0,_0xae7982=0x0;_0x2d5c84=_0x266a42=_0xae7982=Math['min'](_0x1b4e7e,_0x296a80/0x2,_0x2b2b71/0x2),_0x5015ea[_0x34139f(0x117)](),_0x5015ea[_0x34139f(0x176)](_0x2d5c84,0x0),_0x5015ea[_0x34139f(0xea)](_0x296a80-_0x266a42,0x0),_0x5015ea[_0x34139f(0x14f)](_0x296a80-_0x266a42,_0x266a42,_0x266a42,Math['PI']*0x3/0x2,0x0,!0x1),_0x5015ea[_0x34139f(0xea)](_0x296a80,_0x2b2b71-_0xae7982),_0x5015ea[_0x34139f(0x14f)](_0x296a80-_0xae7982,_0x2b2b71-_0xae7982,_0xae7982,0x0,Math['PI']/0x2,!0x1),_0x5015ea[_0x34139f(0xea)](0x0,_0x2b2b71),_0x5015ea[_0x34139f(0xea)](0x0,_0x2d5c84),_0x5015ea[_0x34139f(0x14f)](_0x2d5c84,_0x2d5c84,_0x2d5c84,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5015ea[_0x34139f(0x116)](),_0x535ae1[_0x34139f(0x260)]&&(_0x5015ea[_0x34139f(0x193)](),_0x5015ea[_0x34139f(0x1f1)]=_0x535ae1[_0x34139f(0x260)],_0x535ae1[_0x34139f(0x295)]===_0x34139f(0x12d)?_0x5015ea['fill'](_0x34139f(0x12d)):_0x5015ea[_0x34139f(0x260)](),_0x5015ea[_0x34139f(0xa7)]());}class ee extends p[_0x4ba9c1(0x2f4)]{constructor(_0x578644,_0x245296){const _0x6bc70b=_0x4ba9c1;super(_0x578644,_0x245296),h(this,_0x6bc70b(0x75)),h(this,_0x6bc70b(0x226)),(this[_0x6bc70b(0x75)]=_0x245296==null?void 0x0:_0x245296['color'],this[_0x6bc70b(0x226)]=_0x245296==null?void 0x0:_0x245296[_0x6bc70b(0x226)]);}static[_0x4ba9c1(0x27e)](_0x1df356,_0x303c2e){const _0x33fb33=_0x4ba9c1,{text:_0x3b0f21,color:_0x5a9943}=_0x303c2e;_0x1df356['save'](),_0x1df356[_0x33fb33(0x28c)]=_0x33fb33(0x92);const _0x152497=_0x1df356[_0x33fb33(0x2a8)](_0x3b0f21)[_0x33fb33(0x190)],_0x464419=Math['min'](_0x152497+0x2*ne,Re);_t(_0x1df356,{'height':K,'radius':0x4,'width':_0x464419,'fill':_0x5a9943}),_0x1df356['fillStyle']=_0x33fb33(0x1c9);const _0x42921c=ne,_0x5de67d=K-lt,_0x296537=Re-0x2*ne;if(_0x152497>_0x296537){let _0x5b1b1='',_0x5e9a79=0x0;for(const _0x597b00 of _0x3b0f21){const _0x151ec2=_0x1df356[_0x33fb33(0x2a8)](_0x597b00)[_0x33fb33(0x190)];if(_0x5e9a79+_0x151ec2<=_0x296537-_0x1df356[_0x33fb33(0x2a8)](_0x33fb33(0xca))[_0x33fb33(0x190)])_0x5b1b1+=_0x597b00,_0x5e9a79+=_0x151ec2;else{_0x5b1b1+=_0x33fb33(0xca);break;}}_0x1df356['fillText'](_0x5b1b1,_0x42921c,_0x5de67d);}else _0x1df356['fillText'](_0x3b0f21,_0x42921c,_0x5de67d);_0x1df356['restore']();}['_draw'](_0x2ce506){const _0x2b5fea=_0x4ba9c1;ee[_0x2b5fea(0x27e)](_0x2ce506,this);}}const re=_0x4ba9c1(0x192),ht='collab-text-range-',ut=_0x4ba9c1(0x149),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x4ba9c1(0x244);class De{constructor(_0x2a97a2,_0x3bf856,_0x44d81b,_0x3218bc){const _0x242be1=_0x4ba9c1;h(this,_0x242be1(0x1ab),[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,_0x242be1(0x23d),null),h(this,_0x242be1(0xbc),null),h(this,_0x242be1(0x1e5),null),(this[_0x242be1(0x10d)]=_0x2a97a2,this[_0x242be1(0x2d1)]=_0x3bf856,this[_0x242be1(0x1c1)]=_0x44d81b,this[_0x242be1(0x6f)]=_0x3218bc,this[_0x242be1(0x122)]());}set[_0x4ba9c1(0x183)](_0xfafbb6){const _0x2f6382=_0x4ba9c1;_0xfafbb6?(this[_0x2f6382(0x23d)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x2f6382(0x223)][_0x2f6382(0x245)]()):(this['_anchorDot']&&this[_0x2f6382(0x23d)][_0x2f6382(0x245)](),this[_0x2f6382(0x223)]&&this[_0x2f6382(0x223)][_0x2f6382(0xbe)]());}['dispose'](){const _0x23ddf2=_0x4ba9c1;for(const _0x3f6178 of this[_0x23ddf2(0x1ab)])_0x3f6178[_0x23ddf2(0x195)]();this[_0x23ddf2(0x223)]&&this[_0x23ddf2(0x223)][_0x23ddf2(0x195)](),this[_0x23ddf2(0x23d)]&&this['_anchorDot'][_0x23ddf2(0x195)](),this[_0x23ddf2(0x2e5)]&&this[_0x23ddf2(0x2e5)][_0x23ddf2(0x195)](),this[_0x23ddf2(0x1e5)]&&this[_0x23ddf2(0x1e5)]();}['_render'](){const _0x23d7e3=_0x4ba9c1;var _0x2f45da;const {_docSkeleton:_0x179da8,_document:_0x5c9679}=this,{color:_0x4cff32,name:_0x1e867b,ranges:_0x4ed5fb}=this['_cursor'],_0x517a73=_0x5c9679[_0x23d7e3(0x2b2)](),{docsLeft:_0xe31945,docsTop:_0x278a7e}=_0x517a73,_0x62ce7e=new b['NodePositionConvertToCursor'](_0x517a73,_0x179da8);for(const {startOffset:_0x4a67af,endOffset:_0x4a561e,rangeType:_0xc1a404,segmentId:_0x313b88,segmentPage:_0x3f3a09,collapsed:_0x56df9b,isActive:_0x3591a3}of _0x4ed5fb){const _0x31b4c0=_0x179da8[_0x23d7e3(0x8d)](_0x4a67af,!0x0,_0x313b88,_0x3f3a09);let _0x583332=_0x179da8[_0x23d7e3(0x8d)](_0x4a561e,!0x0,_0x313b88,_0x3f3a09);if(_0x583332==null&&(_0x583332=_0x179da8[_0x23d7e3(0x8d)](_0x4a561e-0x1,!0x1,_0x313b88,_0x3f3a09)),_0x3591a3){const {contentBoxPointGroup:_0x26e4e5}=_0x62ce7e[_0x23d7e3(0xbf)](_0x583332,_0x583332);if(_0x26e4e5[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x102)](_0x4cff32,_0x26e4e5,_0xe31945,_0x278a7e,_0x1e867b),this[_0x23d7e3(0x1e5)]=this[_0x23d7e3(0x1f7)]();}if(_0x31b4c0&&_0x583332){if(_0xc1a404===a[_0x23d7e3(0x286)][_0x23d7e3(0x8f)]){const _0x4dee00=new b[(_0x23d7e3(0x23c))](_0x517a73,_0x179da8),{pointGroup:_0x75b1d4}=(_0x2f45da=_0x4dee00[_0x23d7e3(0xbf)](_0x31b4c0,_0x583332))!=null?_0x2f45da:{};if(_0x75b1d4==null||_0x75b1d4[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x185)](_0x4cff32,_0x75b1d4,_0xe31945,_0x278a7e);}else{if(!_0x56df9b){const {borderBoxPointGroup:_0x496d2f}=_0x62ce7e[_0x23d7e3(0xbf)](_0x31b4c0,_0x583332);if(_0x496d2f[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x7c)](_0x4cff32,_0x496d2f,_0xe31945,_0x278a7e);}}}}}[_0x4ba9c1(0x102)](_0x3c47,_0x2577dc,_0xc620ac,_0x3365c9,_0x170b4b){const _0x13d679=_0x4ba9c1,_0x17a632=this[_0x13d679(0x17c)](_0x2577dc),{left:_0x5f3326,top:_0x4a8b7a,height:_0xfeb5d8}=_0x17a632,_0xa930d2=this[_0x13d679(0x118)](),_0x277c18=ft/_0xa930d2,_0x5420b2=new p[(_0x13d679(0xc1))](re+a['Tools'][_0x13d679(0x274)](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9,'height':_0xfeb5d8,'width':dt,'fill':_0x3c47||p[_0x13d679(0x154)](a[_0x13d679(0x163)]['black'],0x0),'strokeWidth':_0x277c18,'stroke':St,'evented':!0x0});this[_0x13d679(0x2e5)]=_0x5420b2,this['_scene'][_0x13d679(0xbb)](_0x5420b2,b[_0x13d679(0xb9)]);const _0x16ef1b=new p[(_0x13d679(0xc1))](re+a['Tools']['generateRandomId'](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9-oe/0x2,'height':oe,'width':oe,'fill':_0x3c47||p['getColor'](a[_0x13d679(0x163)][_0x13d679(0x19e)],0x0),'strokeWidth':0x0,'stroke':_0x3c47||p[_0x13d679(0x154)](a[_0x13d679(0x163)][_0x13d679(0x19e)],0x0),'evented':!0x1});this[_0x13d679(0x23d)]=_0x16ef1b,this[_0x13d679(0x2d1)][_0x13d679(0xbb)](_0x16ef1b,b[_0x13d679(0xb9)]);const _0x53c6f4=new ee(re+a[_0x13d679(0x136)][_0x13d679(0x274)](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9-K,'text':_0x170b4b,'color':_0x3c47});this['_textBubble']=_0x53c6f4,this[_0x13d679(0x2d1)]['addObject'](_0x53c6f4,b['TEXT_RANGE_LAYER_INDEX']),this[_0x13d679(0x183)]=!0x1;}[_0x4ba9c1(0x1f7)](){const _0x5b2914=_0x4ba9c1,_0x2708aa=this[_0x5b2914(0x2e5)]['onPointerEnter$'][_0x5b2914(0x242)](()=>{const _0x26620b=_0x5b2914;this[_0x26620b(0x183)]=!0x0;}),_0x15500d=this['_anchor'][_0x5b2914(0x2bd)][_0x5b2914(0x242)](()=>{const _0x4859cb=_0x5b2914;this[_0x4859cb(0xbc)]&&clearTimeout(this[_0x4859cb(0xbc)]),this[_0x4859cb(0xbc)]=setTimeout(()=>{const _0xd3aa60=_0x4859cb;this[_0xd3aa60(0x183)]=!0x1;},0x7d0);});return()=>{const _0x2ddce2=_0x5b2914;_0x2708aa[_0x2ddce2(0x170)](),_0x15500d[_0x2ddce2(0x170)]();};}[_0x4ba9c1(0x7c)](_0x49560e,_0x2b259e,_0x3775aa,_0x3b0d9e){const _0x1fd245=_0x4ba9c1,_0x12ebb2=new a['ColorKit'](_0x49560e)[_0x1fd245(0x269)](0.2)['toRgbString'](),_0x120dac=new p[(_0x1fd245(0x88))](ht+a[_0x1fd245(0x136)][_0x1fd245(0x274)](k),{'pointsGroup':_0x2b259e,'fill':_0x12ebb2||p[_0x1fd245(0x154)](a[_0x1fd245(0x163)][_0x1fd245(0x19e)],0.2),'left':_0x3775aa,'top':_0x3b0d9e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1fd245(0x20e)](_0x120dac),this['_scene'][_0x1fd245(0xbb)](_0x120dac,b[_0x1fd245(0xb9)]);}[_0x4ba9c1(0x185)](_0xb5123f,_0x1a8e99,_0x7502a5,_0x4851ce){const _0x451d0b=_0x4ba9c1,_0x16a408=new a[(_0x451d0b(0x285))](_0xb5123f)[_0x451d0b(0x269)](0.2)[_0x451d0b(0x178)](),_0x3897ef=new p[(_0x451d0b(0x88))](ut+a[_0x451d0b(0x136)][_0x451d0b(0x274)](k),{'pointsGroup':_0x1a8e99,'fill':_0x16a408||p['getColor'](a[_0x451d0b(0x163)][_0x451d0b(0x19e)],0.2),'left':_0x7502a5,'top':_0x4851ce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x451d0b(0x20e)](_0x3897ef),this['_scene'][_0x451d0b(0xbb)](_0x3897ef,b[_0x451d0b(0xb9)]);}[_0x4ba9c1(0x17c)](_0x3c2728){const _0x503fdf=_0x3c2728[0x0],_0x447d97=_0x503fdf[0x0],_0x35cbdc=_0x503fdf[0x2],{x:_0x23aab2,y:_0x239f15}=_0x447d97,{x:_0x2fa9c0,y:_0x20a147}=_0x35cbdc;return{'left':_0x23aab2,'top':_0x239f15,'width':_0x2fa9c0-_0x23aab2,'height':_0x20a147-_0x239f15};}['_getScale'](){const _0x5f05e3=_0x4ba9c1,{scaleX:_0x35ade6,scaleY:_0x43265}=this['_scene'][_0x5f05e3(0x227)]();return Math['max'](_0x35ade6,_0x43265);}}var It=Object[_0x4ba9c1(0x23e)],vt=(_0x3845f7,_0x598dce,_0x3daee6,_0x40d931)=>{const _0x22483a=_0x4ba9c1;for(var _0x27f54a=_0x40d931>0x1?void 0x0:_0x40d931?It(_0x598dce,_0x3daee6):_0x598dce,_0xc5890f=_0x3845f7[_0x22483a(0x1da)]-0x1,_0x58e3ec;_0xc5890f>=0x0;_0xc5890f--)(_0x58e3ec=_0x3845f7[_0xc5890f])&&(_0x27f54a=_0x58e3ec(_0x27f54a)||_0x27f54a);return _0x27f54a;},W=(_0x522524,_0x3888dd)=>(_0x314db5,_0x4a7026)=>_0x3888dd(_0x314db5,_0x4a7026,_0x522524);let Ie=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x43e6fa,_0x369eec,_0x1d04c1,_0x3b9b6a,_0x45ce57){const _0x3df863=_0x4ba9c1;super(),h(this,_0x3df863(0xab),[]),h(this,_0x3df863(0x194),[]),(this[_0x3df863(0x277)]=_0x43e6fa,this['_docSkeletonManagerService']=_0x369eec,this['_collabCursorController']=_0x1d04c1,this['_commandService']=_0x3b9b6a,this['_themeService']=_0x45ce57,this[_0x3df863(0x2c4)]());}[_0x4ba9c1(0x2c4)](){const _0x10e420=_0x4ba9c1,_0x1b2981=this[_0x10e420(0x277)][_0x10e420(0x17f)],_0x3705c8=this[_0x10e420(0x1a6)];this[_0x10e420(0x2db)](d[_0x10e420(0xfc)]([this[_0x10e420(0xb5)][_0x10e420(0x191)](_0x1b2981),this[_0x10e420(0x84)][_0x10e420(0x292)]])['pipe']($[_0x10e420(0x2f7)](([_0x36d3b9,_0xd3d607])=>({'skeleton':_0x3705c8[_0x10e420(0xd7)](),'cursors':[..._0x36d3b9['values']()][_0x10e420(0x29a)](_0xcd5693=>({..._0xcd5693,'color':this[_0x10e420(0x84)]['getColorFromTheme'](_0xcd5693['color'])}))})))[_0x10e420(0x1a4)](_0x25d87d=>{const _0x190844=_0x10e420;if(this[_0x190844(0x111)](),_0x25d87d){const {skeleton:_0x310199,cursors:_0x211692}=_0x25d87d;this[_0x190844(0x1a1)](_0x310199,_0x211692);}})),this['_initResize'](),this[_0x10e420(0x95)]();}[_0x4ba9c1(0x1a1)](_0x216aed,_0x5ca3a4){const _0x4ad6ff=_0x4ba9c1,{scene:_0x538f6d,mainComponent:_0x319dca}=this[_0x4ad6ff(0x277)],_0x19d1f1=_0x5ca3a4['map'](_0x50c838=>new De(_0x50c838,_0x538f6d,_0x216aed,_0x319dca));this[_0x4ad6ff(0xab)]=_0x19d1f1,this[_0x4ad6ff(0x194)]=_0x5ca3a4;}[_0x4ba9c1(0x25f)](){const _0x4810d4=_0x4ba9c1;this[_0x4810d4(0x111)]();const {scene:_0x1fbe94,mainComponent:_0x1800da}=this[_0x4810d4(0x277)],_0x308000=this[_0x4810d4(0x1a6)][_0x4810d4(0xd7)](),_0x45caab=this[_0x4810d4(0x194)]['map'](_0x34983d=>new De(_0x34983d,_0x1fbe94,_0x308000,_0x1800da));this['_cursorShapes']=_0x45caab;}['_removeCollabCursors'](){const _0x404d3d=_0x4ba9c1;this['_cursorShapes'][_0x404d3d(0xf8)](_0x11449b=>_0x11449b[_0x404d3d(0x195)]()),this[_0x404d3d(0xab)]=[];}[_0x4ba9c1(0x95)](){const _0x20571f=_0x4ba9c1,_0x48b8b1=[b['SetDocZoomRatioOperation']['id']];this[_0x20571f(0x2db)](this[_0x20571f(0x112)][_0x20571f(0x15b)](_0x26a82f=>{const _0x12bc0b=_0x20571f;_0x48b8b1[_0x12bc0b(0x2d7)](_0x26a82f['id'])&&_0x26a82f['params']['unitId']===this[_0x12bc0b(0x277)][_0x12bc0b(0x17f)]&&this[_0x12bc0b(0x25f)]();}));}['_initResize'](){const _0x1c6b3b=_0x4ba9c1;this[_0x1c6b3b(0x2db)](a[_0x1c6b3b(0x1f3)](this[_0x1c6b3b(0x277)]['engine'][_0x1c6b3b(0x1e4)])['pipe']($[_0x1c6b3b(0xdd)](_0xe258d4=>_0xe258d4['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x1c6b3b(0x7f)](0x10))[_0x1c6b3b(0x1a4)](()=>{const _0x341a7a=_0x1c6b3b;this[_0x341a7a(0x25f)]();}));}};Ie=vt([W(0x1,a[_0x4ba9c1(0x1f9)](Y[_0x4ba9c1(0x1a9)])),W(0x2,a[_0x4ba9c1(0x1f9)](x)),W(0x3,a[_0x4ba9c1(0xb3)]),W(0x4,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0xa1)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x4ba9c1(0x2f4)]{constructor(_0x52aa26,_0x15921c){const _0x160f00=_0x4ba9c1;super(_0x52aa26,_0x15921c),h(this,_0x160f00(0x272)),h(this,_0x160f00(0x2dd),!0x1),h(this,_0x160f00(0x2e3)),h(this,_0x160f00(0x146),''),h(this,_0x160f00(0x2fb),_0x160f00(0x2c2)),h(this,'_backgroundColor'),(_0x15921c&&this[_0x160f00(0x2f1)](_0x15921c),this[_0x160f00(0x182)][_0x160f00(0x242)](()=>this[_0x160f00(0x2f1)]({'hovered':!0x0})),this[_0x160f00(0x2bd)][_0x160f00(0x242)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4ba9c1(0x2f1)](_0x48ae4b){const _0x1ac769=_0x4ba9c1;var _0x10754d,_0x329b0d,_0x32141d,_0x4d744b,_0x4cfe6b,_0x871447;this[_0x1ac769(0x272)]=(_0x10754d=_0x48ae4b['color'])!=null?_0x10754d:this[_0x1ac769(0x272)],this['_hovered']=(_0x329b0d=_0x48ae4b[_0x1ac769(0x29e)])!=null?_0x329b0d:this[_0x1ac769(0x2dd)],this['_range']=(_0x32141d=_0x48ae4b['range'])!=null?_0x32141d:this['_range'],this[_0x1ac769(0x146)]=(_0x4d744b=_0x48ae4b[_0x1ac769(0xd2)])!=null?_0x4d744b:this['_name'],this['_labelPosition']=(_0x4cfe6b=_0x48ae4b[_0x1ac769(0xf4)])!=null?_0x4cfe6b:this[_0x1ac769(0x2fb)],this[_0x1ac769(0x187)]=(_0x871447=_0x48ae4b[_0x1ac769(0x2d2)])!=null?_0x871447:this['_backgroundColor'],this['transformByState']({'width':_0x48ae4b[_0x1ac769(0x190)],'height':_0x48ae4b['height']});}['onMouseMove'](_0x459d26){const _0x564d16=_0x4ba9c1,{row:_0x3c610c,column:_0x236023}=_0x459d26;if(_0x3c610c>=this[_0x564d16(0x2e3)][_0x564d16(0x239)]&&_0x3c610c<=this[_0x564d16(0x2e3)]['endRow']&&_0x236023>=this[_0x564d16(0x2e3)][_0x564d16(0x169)]&&_0x236023<=this[_0x564d16(0x2e3)][_0x564d16(0xac)]){this[_0x564d16(0x2f1)]({'hovered':!0x0});return;}this[_0x564d16(0x2f1)]({'hovered':!0x1});}[_0x4ba9c1(0x257)](_0xf8f0d0){return!0x1;}[_0x4ba9c1(0x2c7)](_0x480e21){const _0x271a01=_0x4ba9c1;p[_0x271a01(0xc1)][_0x271a01(0x27e)](_0x480e21,{'width':this[_0x271a01(0x190)],'height':this[_0x271a01(0x243)],'strokeWidth':mt,'stroke':this[_0x271a01(0x272)],'evented':!0x1,'fill':this[_0x271a01(0x187)]}),this[_0x271a01(0x2dd)]&&(_0x480e21[_0x271a01(0x193)](),_0x480e21[_0x271a01(0x7d)](0x1,0x0,0x0,0x1,this[_0x271a01(0x190)],this[_0x271a01(0x2fb)]===_0x271a01(0x2d0)?0x0:-0x14),ee['drawWith'](_0x480e21,{'text':this['_name'],'color':this[_0x271a01(0x272)]}),_0x480e21[_0x271a01(0xa7)]());}}var Ct=Object[_0x4ba9c1(0x23e)],pt=(_0x178d38,_0x12c273,_0xfb65cb,_0x5d4402)=>{const _0x24e0d9=_0x4ba9c1;for(var _0x331dde=_0x5d4402>0x1?void 0x0:_0x5d4402?Ct(_0x12c273,_0xfb65cb):_0x12c273,_0x411d6d=_0x178d38[_0x24e0d9(0x1da)]-0x1,_0x1d6ae4;_0x411d6d>=0x0;_0x411d6d--)(_0x1d6ae4=_0x178d38[_0x411d6d])&&(_0x331dde=_0x1d6ae4(_0x331dde)||_0x331dde);return _0x331dde;},ae=(_0x50dfc3,_0x42326b)=>(_0xb5b4fa,_0x40f776)=>_0x42326b(_0xb5b4fa,_0x40f776,_0x50dfc3);const bt=0x1389;let ve=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x465e11,_0x277fe4,_0x278226,_0x55b2c0){const _0x4ceff8=_0x4ba9c1;super(),h(this,_0x4ceff8(0x194),new Set()),h(this,_0x4ceff8(0x184),null),(this[_0x4ceff8(0x277)]=_0x465e11,this['_sheetSkeletonManagerService']=_0x277fe4,this[_0x4ceff8(0xb5)]=_0x278226,this['_themeService']=_0x55b2c0,this[_0x4ceff8(0x2c4)]());}['_init'](){const _0x45bf6a=_0x4ba9c1;this[_0x45bf6a(0x150)][_0x45bf6a(0x18e)][_0x45bf6a(0x74)]($[_0x45bf6a(0x2a5)](this[_0x45bf6a(0x9b)]),$[_0x45bf6a(0x234)](_0xe8f776=>{const _0x5dd1c6=_0x45bf6a;if(_0xe8f776){const _0x3145aa=_0xe8f776['sheetId'];return d[_0x5dd1c6(0xfc)](this['_collabCursorController'][_0x5dd1c6(0x191)](this[_0x5dd1c6(0x277)][_0x5dd1c6(0x17f)]),this['_themeService'][_0x5dd1c6(0x292)])[_0x5dd1c6(0x74)]($[_0x5dd1c6(0x2f7)](([_0x4d0a31,_0x1e704e])=>{const _0x40143d=_0x5dd1c6,_0x2a5805=new Map();return _0x4d0a31[_0x40143d(0xf8)]((_0x53df9d,_0x51e406)=>{const _0x147a9d=_0x40143d;if(_0x53df9d['sheetID']===_0x3145aa){const _0x2ccf07={..._0x53df9d};_0x2ccf07[_0x147a9d(0x75)]=this['_themeService']['getColorFromTheme'](_0x53df9d[_0x147a9d(0x75)]),_0x2a5805[_0x147a9d(0x82)](_0x51e406,_0x2ccf07);}}),{'skeleton':_0xe8f776,'cursors':_0x2a5805};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x45bf6a(0x1a4)](({skeleton:_0x4e6eb4,cursors:_0x23566e})=>{const _0x1540d7=_0x45bf6a;this['_removeCollabCursors'](),_0x4e6eb4&&this[_0x1540d7(0x1a1)](_0x4e6eb4,_0x23566e);}),this[_0x45bf6a(0x150)][_0x45bf6a(0x18e)][_0x45bf6a(0x1a4)](_0x47e491=>{const _0x576ecc=_0x45bf6a;if(_0x47e491==null)return;const {skeleton:_0x35566c}=_0x47e491,{scene:_0x289a3d}=this[_0x576ecc(0x277)];_0x289a3d[_0x576ecc(0x2ab)][_0x576ecc(0x242)](a[_0x576ecc(0x2ef)](_0x39f3cb=>{const _0x366e9d=_0x576ecc;var _0x31cddc,_0x14ff6d;const {offsetX:_0x3d6a42,offsetY:_0x4d320d}=_0x39f3cb,{x:_0x4785b8,y:_0x4794ff}=_0x289a3d['getRelativeToViewportCoord'](p[_0x366e9d(0x2aa)]['FromArray']([_0x3d6a42,_0x4d320d])),{scaleX:_0x240cec,scaleY:_0x125d06}=_0x289a3d[_0x366e9d(0x227)](),_0x34dd11=_0x289a3d[_0x366e9d(0x18c)](p[_0x366e9d(0xff)][_0x366e9d(0x138)]),_0x464680=_0x289a3d['getVpScrollXYInfoByPosToVp'](p[_0x366e9d(0x2aa)][_0x366e9d(0x276)]([_0x4785b8,_0x4794ff]),_0x34dd11),_0x40625a=_0x35566c['getCellPositionByOffset'](_0x3d6a42,_0x4d320d,_0x240cec,_0x125d06,_0x464680);((_0x31cddc=this['_lastPointer'])==null?void 0x0:_0x31cddc[_0x366e9d(0x19b)])===_0x40625a[_0x366e9d(0x19b)]&&((_0x14ff6d=this[_0x366e9d(0x184)])==null?void 0x0:_0x14ff6d[_0x366e9d(0x1d4)])===_0x40625a[_0x366e9d(0x1d4)]||this[_0x366e9d(0x194)][_0x366e9d(0xf8)](_0x833a8b=>{_0x833a8b['onMouseMove'](_0x40625a);});},0x64));});}[_0x4ba9c1(0x1a1)](_0x2c3e9c,_0x4075cd){const _0x5203e1=_0x4ba9c1;var _0x5eb361;const _0x25feac=(_0x5eb361=this[_0x5203e1(0x150)][_0x5203e1(0x167)]())==null?void 0x0:_0x5eb361[_0x5203e1(0x24f)];if(!_0x25feac)return;const _0x168d36=this[_0x5203e1(0x2f8)]();if(!_0x168d36)return;this[_0x5203e1(0x194)]['forEach'](_0x42c1fe=>{const _0xff628a=_0x5203e1;_0x42c1fe[_0xff628a(0xc8)]();});const {scene:_0x33bc44}=_0x168d36,_0x52d06b=Et(Array['from'](_0x4075cd[_0x5203e1(0x70)]()))[_0x5203e1(0x2f7)](_0x4d5e5b=>{const _0x12c8d0=_0x5203e1,{color:_0x88b553,range:_0x10f691,name:_0x3085cb,selection:_0x3e2452,sheetID:_0x1de7e6}=_0x4d5e5b,{startColumn:_0x7b2567,startRow:_0x12e4b1,endColumn:_0xfc9430,endRow:_0x1b985b}=_0x10f691,_0x2a665f=X[_0x12c8d0(0xc4)](_0x12e4b1,_0x7b2567,_0x33bc44,_0x25feac),_0x9a3eb5=X['getCoordByCell'](_0x1b985b,_0xfc9430,_0x33bc44,_0x25feac),{columnHeaderHeightAndMarginTop:_0x49ae76}=_0x25feac,{startX:_0x230a7c,startY:_0x7b8856}=_0x2a665f,{endX:_0x153ce2,endY:_0x3e08c6}=_0x9a3eb5,_0x52d3b6=_0x153ce2-_0x230a7c,_0x154eac=_0x3e08c6-_0x7b8856,_0x5f3b98={'labelPosition':_0x7b8856-_0x49ae76>=K?_0x12c8d0(0x2c2):_0x12c8d0(0x2d0),'sheetID':_0x1de7e6,'range':_0x10f691,'color':_0x88b553,'name':_0x3085cb,'selection':_0x3e2452,'left':_0x230a7c,'top':_0x7b8856,'width':_0x52d3b6,'height':_0x154eac,'evented':!0x1,'zIndex':bt};return new Pe(_0x3085cb,_0x5f3b98);});_0x33bc44[_0x5203e1(0xcb)](_0x52d06b,gt),this[_0x5203e1(0x194)]=new Set(_0x52d06b);}[_0x4ba9c1(0x111)](){const _0x2a6a66=_0x4ba9c1;var _0x255ecd;(_0x255ecd=this[_0x2a6a66(0x194)])==null||_0x255ecd[_0x2a6a66(0xf8)](_0x4d29f0=>_0x4d29f0[_0x2a6a66(0x195)]());}[_0x4ba9c1(0x2f8)](){const _0x27a17a=_0x4ba9c1;return X[_0x27a17a(0xc0)](this[_0x27a17a(0x277)][_0x27a17a(0x21b)],this['_context']);}};ve=pt([ae(0x1,a['Inject'](X[_0x4ba9c1(0xdb)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0xa1)]))],ve);function Et(_0x13c95b){const _0x254fd6=_0x4ba9c1,_0x3abe94=new Map();return _0x13c95b[_0x254fd6(0xf8)](_0x47f794=>{const _0x5adf55=_0x254fd6;if(_0x3abe94['has'](_0x47f794[_0x5adf55(0x1fe)])){const _0x1bf2bc=_0x3abe94[_0x5adf55(0x17b)](_0x47f794[_0x5adf55(0x1fe)]);_0x1bf2bc['name']+=',\x20'+_0x47f794[_0x5adf55(0xd2)];}else _0x3abe94[_0x5adf55(0x82)](_0x47f794['selection'],_0x47f794);}),Array[_0x254fd6(0x12b)](_0x3abe94[_0x254fd6(0x70)]());}var E=function(){const _0x3e78b7=_0x4ba9c1;return E=Object['assign']||function(_0x495af3){const _0x55ed5a=_0x167f;for(var _0x30cfe4,_0x4f4e17=0x1,_0x1db6df=arguments[_0x55ed5a(0x1da)];_0x4f4e17<_0x1db6df;_0x4f4e17++){_0x30cfe4=arguments[_0x4f4e17];for(var _0x66fa58 in _0x30cfe4)Object[_0x55ed5a(0xc7)]['hasOwnProperty']['call'](_0x30cfe4,_0x66fa58)&&(_0x495af3[_0x66fa58]=_0x30cfe4[_0x66fa58]);}return _0x495af3;},E[_0x3e78b7(0x12a)](this,arguments);},Tt=function(_0x7d3095,_0x28bbc0){const _0x54c4ce=_0x4ba9c1;var _0x56f6b1={};for(var _0x2370ae in _0x7d3095)Object[_0x54c4ce(0xc7)][_0x54c4ce(0x264)][_0x54c4ce(0x25e)](_0x7d3095,_0x2370ae)&&_0x28bbc0[_0x54c4ce(0x123)](_0x2370ae)<0x0&&(_0x56f6b1[_0x2370ae]=_0x7d3095[_0x2370ae]);if(_0x7d3095!=null&&typeof Object[_0x54c4ce(0x2f5)]==_0x54c4ce(0xcd)){for(var _0x41185f=0x0,_0x2370ae=Object[_0x54c4ce(0x2f5)](_0x7d3095);_0x41185f<_0x2370ae[_0x54c4ce(0x1da)];_0x41185f++)_0x28bbc0[_0x54c4ce(0x123)](_0x2370ae[_0x41185f])<0x0&&Object[_0x54c4ce(0xc7)][_0x54c4ce(0x114)][_0x54c4ce(0x25e)](_0x7d3095,_0x2370ae[_0x41185f])&&(_0x56f6b1[_0x2370ae[_0x41185f]]=_0x7d3095[_0x2370ae[_0x41185f]]);}return _0x56f6b1;},pe=M['forwardRef'](function(_0x4ea17c,_0x51c7f1){const _0x17ad62=_0x4ba9c1;var _0x39ba52=_0x4ea17c['icon'],_0x444666=_0x4ea17c['id'],_0x23af0e=_0x4ea17c[_0x17ad62(0x85)],_0x466151=_0x4ea17c[_0x17ad62(0x101)],_0x2daca9=Tt(_0x4ea17c,[_0x17ad62(0x99),'id','className',_0x17ad62(0x101)]),_0x3c4f00='univerjs-icon\x20univerjs-icon-'[_0x17ad62(0x159)](_0x444666,'\x20')[_0x17ad62(0x159)](_0x23af0e||'')['trim'](),_0x35dd20=M['useRef']('_'[_0x17ad62(0x159)](Dt()));return Ae(_0x39ba52,''[_0x17ad62(0x159)](_0x444666),{'defIds':_0x39ba52['defIds'],'idSuffix':_0x35dd20[_0x17ad62(0xf2)]},E({'ref':_0x51c7f1,'className':_0x3c4f00},_0x2daca9),_0x466151);});function Ae(_0x9d6af4,_0xda508c,_0x1cbb61,_0x36715b,_0x1b7ad6){const _0x55a30f=_0x4ba9c1;return M[_0x55a30f(0x9a)](_0x9d6af4[_0x55a30f(0x199)],E(E({'key':_0xda508c},Ot(_0x9d6af4,_0x1cbb61,_0x1b7ad6)),_0x36715b),(Rt(_0x9d6af4,_0x1cbb61)[_0x55a30f(0x10f)]||[])[_0x55a30f(0x2f7)](function(_0x285b09,_0x4b7684){const _0x15017d=_0x55a30f;return Ae(_0x285b09,''[_0x15017d(0x159)](_0xda508c,'-')[_0x15017d(0x159)](_0x9d6af4[_0x15017d(0x199)],'-')[_0x15017d(0x159)](_0x4b7684),_0x1cbb61,void 0x0,_0x1b7ad6);}));}function Ot(_0x2607e9,_0x3b66bc,_0x5090c6){const _0x3d9f8f=_0x4ba9c1;var _0x162e43=E({},_0x2607e9[_0x3d9f8f(0x2fc)]);_0x5090c6!=null&&_0x5090c6[_0x3d9f8f(0x18a)]&&_0x162e43['fill']===_0x3d9f8f(0x18a)&&(_0x162e43[_0x3d9f8f(0x260)]=_0x5090c6[_0x3d9f8f(0x18a)]),_0x2607e9[_0x3d9f8f(0x199)]===_0x3d9f8f(0x250)&&_0x162e43['id']&&(_0x162e43['id']=_0x162e43['id']+_0x3b66bc[_0x3d9f8f(0xc9)]),Object[_0x3d9f8f(0x236)](_0x162e43)[_0x3d9f8f(0xf8)](function(_0x51f4b1){const _0x1b654e=_0x3d9f8f;var _0x271722=_0x51f4b1[0x0],_0x55778c=_0x51f4b1[0x1];_0x271722===_0x1b654e(0x250)&&typeof _0x55778c==_0x1b654e(0x1e0)&&(_0x162e43[_0x271722]=_0x55778c[_0x1b654e(0x25d)](/url\(#(.*)\)/,'url(#$1'[_0x1b654e(0x159)](_0x3b66bc[_0x1b654e(0xc9)],')')));});var _0x2c22b6=_0x3b66bc[_0x3d9f8f(0x20f)];return!_0x2c22b6||_0x2c22b6[_0x3d9f8f(0x1da)]===0x0||(_0x2607e9[_0x3d9f8f(0x199)]===_0x3d9f8f(0x254)&&_0x162e43[_0x3d9f8f(0x1e3)]&&(_0x162e43[_0x3d9f8f(0x1e3)]=_0x162e43['xlink:href']+_0x3b66bc[_0x3d9f8f(0xc9)]),Object['entries'](_0x162e43)[_0x3d9f8f(0xf8)](function(_0x1defa3){const _0x233bf2=_0x3d9f8f;var _0x51a30d=_0x1defa3[0x0],_0x21ba86=_0x1defa3[0x1];typeof _0x21ba86==_0x233bf2(0x1e0)&&(_0x162e43[_0x51a30d]=_0x21ba86[_0x233bf2(0x25d)](/url\(#(.*)\)/,'url(#$1'[_0x233bf2(0x159)](_0x3b66bc['idSuffix'],')')));})),_0x162e43;}function Rt(_0x1775da,_0x37b2bb){const _0x5d0c2d=_0x4ba9c1;var _0x1d8b14,_0x4afdd9=_0x37b2bb[_0x5d0c2d(0x20f)];return!_0x4afdd9||_0x4afdd9[_0x5d0c2d(0x1da)]===0x0?_0x1775da:_0x1775da['tag']===_0x5d0c2d(0xd4)&&(!((_0x1d8b14=_0x1775da['children'])===null||_0x1d8b14===void 0x0)&&_0x1d8b14['length'])?E(E({},_0x1775da),{'children':_0x1775da[_0x5d0c2d(0x10f)][_0x5d0c2d(0x2f7)](function(_0x5f4e1a){const _0xa5d1ea=_0x5d0c2d;return typeof _0x5f4e1a[_0xa5d1ea(0x2fc)]['id']=='string'&&_0x4afdd9&&_0x4afdd9[_0xa5d1ea(0x2d7)](_0x5f4e1a['attrs']['id'])?E(E({},_0x5f4e1a),{'attrs':E(E({},_0x5f4e1a[_0xa5d1ea(0x2fc)]),{'id':_0x5f4e1a['attrs']['id']+_0x37b2bb[_0xa5d1ea(0xc9)]})}):_0x5f4e1a;})}):_0x1775da;}function Dt(){const _0x22c222=_0x4ba9c1;return Math[_0x22c222(0x142)]()['toString'](0x24)[_0x22c222(0x8b)](0x2,0x8);}pe[_0x4ba9c1(0x2a1)]=_0x4ba9c1(0x73);var Ut={'tag':_0x4ba9c1(0x25c),'attrs':{'xmlns':_0x4ba9c1(0x2ba),'fill':'none','viewBox':_0x4ba9c1(0x289),'width':_0x4ba9c1(0x1f8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ba9c1(0xc6)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'stroke':_0x4ba9c1(0xd5),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4ba9c1(0x26b),'strokeLinejoin':_0x4ba9c1(0x26b),'strokeWidth':1.2}}]},{'tag':_0x4ba9c1(0xd4),'attrs':{},'children':[{'tag':_0x4ba9c1(0x1d5),'attrs':{'id':_0x4ba9c1(0x1b5)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'fill':'white','d':_0x4ba9c1(0x1c4)}}]}]}],'defIds':[_0x4ba9c1(0x1b5)]},ye=M[_0x4ba9c1(0xaf)](function(_0x2ed682,_0x478b25){const _0x211538=_0x4ba9c1;return M[_0x211538(0x9a)](pe,Object[_0x211538(0xe3)]({},_0x2ed682,{'id':_0x211538(0x1bf),'ref':_0x478b25,'icon':Ut}));});ye['displayName']=_0x4ba9c1(0x1bd);var Nt={'tag':_0x4ba9c1(0x25c),'attrs':{'xmlns':_0x4ba9c1(0x2ba),'fill':_0x4ba9c1(0x1fa),'viewBox':_0x4ba9c1(0xf7),'width':'1em','height':_0x4ba9c1(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ba9c1(0x252)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'stroke':_0x4ba9c1(0xd5),'d':_0x4ba9c1(0x222),'strokeLinecap':'round','strokeLinejoin':_0x4ba9c1(0x26b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4ba9c1(0x1d5),'attrs':{'id':_0x4ba9c1(0x2e6)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'fill':_0x4ba9c1(0x181),'d':_0x4ba9c1(0x1c4),'transform':_0x4ba9c1(0x158)}}]}]}],'defIds':[_0x4ba9c1(0x2e6)]},$e=M[_0x4ba9c1(0xaf)](function(_0x163bcb,_0xa5ac75){const _0x3e325f=_0x4ba9c1;return M[_0x3e325f(0x9a)](pe,Object[_0x3e325f(0xe3)]({},_0x163bcb,{'id':_0x3e325f(0x203),'ref':_0xa5ac75,'icon':Nt}));});$e[_0x4ba9c1(0x2a1)]=_0x4ba9c1(0x2c6);function Mt(_0x5a33fb){const _0x1a6a46=_0x4ba9c1;switch(_0x5a33fb){case u[_0x1a6a46(0x11a)][_0x1a6a46(0x267)]:return _0x1a6a46(0x24c);case u['CollaborationStatus'][_0x1a6a46(0xe7)]:return _0x1a6a46(0xee);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x288)]:return _0x1a6a46(0x1c8);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x11b)]:return'collabStatus.notCollab';case u['CollaborationStatus']['AWAITING']:case u[_0x1a6a46(0x11a)]['AWAITING_WITH_PENDING']:return _0x1a6a46(0x1e7);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x202)]:case u[_0x1a6a46(0x11a)][_0x1a6a46(0xe8)]:return'collabStatus.synced';}}function xe(_0x350422){const _0x385d5a=_0x4ba9c1,{status$:_0x5563a4}=_0x350422,_0x2602f5=T[_0x385d5a(0xc5)](_0x5563a4,u[_0x385d5a(0x11a)][_0x385d5a(0x11b)]),_0x175581=T[_0x385d5a(0x2ca)](a['LocaleService']),_0x264f48=T[_0x385d5a(0x2ca)](u['CollaborationSessionService']),_0x8bb659=_0x2602f5!==u[_0x385d5a(0x11a)][_0x385d5a(0x267)],_0x22b645=_0x175581['t'](Mt(_0x2602f5)),_0x2cd301=_0x8bb659?w[_0x385d5a(0x94)]($e,{}):w[_0x385d5a(0x94)](ye,{}),_0x572046=M[_0x385d5a(0x291)](()=>{const _0x401c5e=_0x385d5a;_0x8bb659||_0x264f48[_0x401c5e(0x2c0)]();},[_0x8bb659,_0x264f48]);function _0x304e3b(){const _0x10e3f5=_0x385d5a;return w[_0x10e3f5(0x1ee)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x572046,'children':[w['jsx']('div',{'className':D[_0x10e3f5(0x2e1)](_0x10e3f5(0x208),{'univer-text-green-500':_0x8bb659,'univer-text-red-500':!_0x8bb659}),'children':_0x2cd301}),w['jsx'](_0x10e3f5(0x128),{'className':_0x10e3f5(0xad),'children':_0x22b645})]});}return _0x8bb659?_0x304e3b():w[_0x385d5a(0x94)](D[_0x385d5a(0x20b)],{'title':_0x175581['t'](_0x385d5a(0x2b3)),'children':_0x304e3b()});}var Lt=Object[_0x4ba9c1(0x23e)],wt=(_0x9484a6,_0x4e6b89,_0x23db8a,_0x743a86)=>{for(var _0xe2e690=_0x743a86>0x1?void 0x0:_0x743a86?Lt(_0x4e6b89,_0x23db8a):_0x4e6b89,_0x5eaf2c=_0x9484a6['length']-0x1,_0x18b8da;_0x5eaf2c>=0x0;_0x5eaf2c--)(_0x18b8da=_0x9484a6[_0x5eaf2c])&&(_0xe2e690=_0x18b8da(_0xe2e690)||_0xe2e690);return _0xe2e690;},V=(_0x35160e,_0x1aabc9)=>(_0x4fe340,_0xf56765)=>_0x1aabc9(_0x4fe340,_0xf56765,_0x35160e);exports[_0x4ba9c1(0x1c7)]=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x28b608,_0x24a636,_0x5b9891,_0x469bcb){const _0x5dafa0=_0x4ba9c1;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x5dafa0(0x11a)][_0x5dafa0(0x11b)])),(this['_univerInstanceService']=_0x28b608,this[_0x5dafa0(0x1b6)]=_0x24a636,this['_collaborationController']=_0x5b9891,this['_uiPartsService']=_0x469bcb,this[_0x5dafa0(0x209)](),this['_initStatusListener']());}[_0x4ba9c1(0x13d)](){const _0x55dd75=_0x4ba9c1;this['disposeWithMe'](this['_univerInstanceService'][_0x55dd75(0x18d)]['pipe'](d['switchMap'](()=>{const _0x43b5de=_0x55dd75,_0x330540=this[_0x43b5de(0x24e)][_0x43b5de(0x26d)]();return _0x330540?this[_0x43b5de(0x1d0)]['getCollabEntity$'](_0x330540['getUnitId']()):d['of'](null);}),d[_0x55dd75(0x234)](_0x86af55=>_0x86af55?_0x86af55[_0x55dd75(0x1fc)]:d['of'](u['CollaborationStatus'][_0x55dd75(0x11b)])))[_0x55dd75(0x1a4)](_0x468b28=>{const _0x2ff44a=_0x55dd75;this[_0x2ff44a(0x2b0)]['next'](_0x468b28);}));}[_0x4ba9c1(0x209)](){const _0x3b7665=_0x4ba9c1;this[_0x3b7665(0x2db)](this[_0x3b7665(0x290)][_0x3b7665(0xa6)](T['BuiltInUIPart']['HEADER_MENU'],()=>T['connectInjector'](Pt({'status$':this[_0x3b7665(0x2b0)]['asObservable']()}),this['_injector'])));}},exports[_0x4ba9c1(0x1c7)]=wt([V(0x0,a[_0x4ba9c1(0x247)]),V(0x1,a['Inject'](a[_0x4ba9c1(0x11f)])),V(0x2,a[_0x4ba9c1(0x1f9)](u['CollaborationController'])),V(0x3,T[_0x4ba9c1(0x233)])],exports[_0x4ba9c1(0x1c7)]);function Pt(_0x5304a9){const {status$:_0x2c99c1}=_0x5304a9;return function(){const _0x5cd51e=_0x167f;return w[_0x5cd51e(0x94)](xe,{'status$':_0x2c99c1});};}var At=Object[_0x4ba9c1(0x23e)],yt=(_0x28e782,_0x5384c0,_0x154528,_0x4129de)=>{for(var _0x1750dd=_0x4129de>0x1?void 0x0:_0x4129de?At(_0x5384c0,_0x154528):_0x5384c0,_0x507878=_0x28e782['length']-0x1,_0x3f3b6b;_0x507878>=0x0;_0x507878--)(_0x3f3b6b=_0x28e782[_0x507878])&&(_0x1750dd=_0x3f3b6b(_0x1750dd)||_0x1750dd);return _0x1750dd;},y=(_0x4bb016,_0x1306ec)=>(_0x3efa71,_0x1f9558)=>_0x1306ec(_0x3efa71,_0x1f9558,_0x4bb016);let q=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x3a3a09,_0xbfda10,_0x15d3db,_0x4d6587,_0x3cfd69,_0x100c77){const _0x9afa79=_0x4ba9c1;super(),this[_0x9afa79(0x200)]=_0x3a3a09,this['_localCacheService']=_0xbfda10,this[_0x9afa79(0x137)]=_0x15d3db,this[_0x9afa79(0xcf)]=_0x4d6587,this[_0x9afa79(0x2f2)]=_0x3cfd69,this[_0x9afa79(0xf0)]=_0x100c77,this[_0x9afa79(0x71)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2cabe8=_0x4ba9c1;this['disposeWithMe'](this['_beforeCloseService'][_0x2cabe8(0x155)](()=>{const _0x34e5e2=_0x2cabe8;if(this['_localCacheService'][_0x34e5e2(0x1dc)][_0x34e5e2(0x213)])return this[_0x34e5e2(0xf0)]['t'](_0x34e5e2(0x162));}));}[_0x4ba9c1(0x22a)](){const _0x201c1c=_0x4ba9c1;this[_0x201c1c(0x2db)](this[_0x201c1c(0x137)][_0x201c1c(0xc3)]['subscribe'](_0x4e2204=>{const _0x7be3de=_0x201c1c;_0x4e2204['id']===u[_0x7be3de(0x1ea)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x7be3de(0x245)]({'type':D['MessageType'][_0x7be3de(0x109)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x173))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x241)]&&this['_messageService'][_0x7be3de(0x245)]({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x109)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2a0))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x1eb)]&&this[_0x7be3de(0x2f2)][_0x7be3de(0x245)]({'title':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2cd)),'content':this[_0x7be3de(0xf0)]['t']('permission.content'),'type':_0x7be3de(0x217),'duration':0x0}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0xe7)]&&this[_0x7be3de(0xcf)]['show']({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x2bb)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2a0))+'('+_0x4e2204['data']+')'}),_0x4e2204['id']===u['CollaborationUIEventId'][_0x7be3de(0x156)]&&this[_0x7be3de(0xcf)][_0x7be3de(0x245)]({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x109)],'content':this['_localeService']['t'](_0x4e2204['data']||'')}),_0x4e2204['id']===u[_0x7be3de(0x1ea)]['SOCKET_FAILED_RETRY']&&this[_0x7be3de(0xcf)]['show']({'type':D['MessageType'][_0x7be3de(0x109)],'content':this['_localeService']['t'](_0x7be3de(0x2f6))}),_0x4e2204['id']===u['CollaborationUIEventId'][_0x7be3de(0x16d)]&&this['_messageService'][_0x7be3de(0x245)]({'type':D['MessageType'][_0x7be3de(0x2bb)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x27f))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x15e)]&&this['_messageService']['show']({'type':D[_0x7be3de(0xf9)]['Error'],'content':this['_localeService']['t'](_0x7be3de(0x1a2))});}));}};q=yt([y(0x0,T[_0x4ba9c1(0x256)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0x4ba9c1(0x2dc)]),y(0x4,T[_0x4ba9c1(0x25b)]),y(0x5,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x1e8)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x4ba9c1(0x221)](_0x4ba9c1(0x1e2));var xt=Object[_0x4ba9c1(0x23e)],jt=(_0x4e693c,_0x57efad,_0x95cfb5,_0x5029c8)=>{const _0x401d39=_0x4ba9c1;for(var _0x1d6468=_0x5029c8>0x1?void 0x0:_0x5029c8?xt(_0x57efad,_0x95cfb5):_0x57efad,_0x18a419=_0x4e693c[_0x401d39(0x1da)]-0x1,_0x25587e;_0x18a419>=0x0;_0x18a419--)(_0x25587e=_0x4e693c[_0x18a419])&&(_0x1d6468=_0x25587e(_0x1d6468)||_0x1d6468);return _0x1d6468;},H=(_0x55f34b,_0x4dec2e)=>(_0x50fc94,_0x580d05)=>_0x4dec2e(_0x50fc94,_0x580d05,_0x55f34b);exports[_0x4ba9c1(0xa2)]=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x46efd5,_0x1982c4,_0x325ebb,_0x31ec8e,_0xcbd3cb){const _0x9c710e=_0x4ba9c1;super(),this[_0x9c710e(0x7b)]=_0x46efd5,this[_0x9c710e(0x1a7)]=_0x1982c4,this['_commandService']=_0x325ebb,this['_dataLoaderService']=_0x31ec8e,_0xcbd3cb?_0xcbd3cb==null||_0xcbd3cb['whenReady']()['then'](()=>this[_0x9c710e(0x2c4)]()):(this[_0x9c710e(0x1a7)][_0x9c710e(0x1aa)](_0x9c710e(0x1a5),_0x9c710e(0x1cf)),this['_init']());}async[_0x4ba9c1(0x2c4)](){const _0x5a5ff4=_0x4ba9c1,_0x57451a=this[_0x5a5ff4(0x7b)][_0x5a5ff4(0x1be)](_0x5a5ff4(0x21b)),_0x599b7f=this[_0x5a5ff4(0x7b)][_0x5a5ff4(0x1be)](_0x5a5ff4(0x26a)),_0x42f3e4=this[_0x5a5ff4(0x7b)]['getParam'](_0x5a5ff4(0x134));if(!_0x57451a||!_0x599b7f){this[_0x5a5ff4(0x1a7)][_0x5a5ff4(0x1aa)](_0x5a5ff4(0x1a5),_0x5a5ff4(0x15c));return;}const _0x4a0216=await this['_dataLoaderService'][_0x5a5ff4(0x2d9)](_0x57451a,Number(_0x599b7f),_0x42f3e4);_0x4a0216&&_0x4a0216 instanceof a[_0x5a5ff4(0x130)]&&this['_setupSubUnitSync'](_0x4a0216);}async[_0x4ba9c1(0x148)](_0x9d8424){const _0x20c296=_0x4ba9c1;await this[_0x20c296(0x22e)](_0x9d8424),_0x9d8424[_0x20c296(0xcc)][_0x20c296(0x74)](d[_0x20c296(0x2a5)](this[_0x20c296(0x9b)]))[_0x20c296(0x1a4)](_0x5a22e6=>{const _0x159a38=_0x20c296;_0x5a22e6&&this[_0x159a38(0x23b)](_0x5a22e6);}),this[_0x20c296(0x7b)][_0x20c296(0x21d)][_0x20c296(0x74)](d[_0x20c296(0x2a5)](this[_0x20c296(0x9b)]))[_0x20c296(0x1a4)](()=>this[_0x20c296(0x22e)](_0x9d8424));}[_0x4ba9c1(0x23b)](_0x1312a2,_0x2ef90e=!0x1){const _0x1ffdbd=_0x4ba9c1,_0x3f728f=this[_0x1ffdbd(0x7b)][_0x1ffdbd(0x1be)](_0x1ffdbd(0x134));_0x1312a2[_0x1ffdbd(0x1d3)]()!==_0x3f728f&&this['_urlService']['setParam'](_0x1ffdbd(0x134),_0x1312a2[_0x1ffdbd(0x1d3)](),_0x2ef90e);}async[_0x4ba9c1(0x22e)](_0x3d4edf){const _0x5e6ed6=_0x4ba9c1;var _0x4ed5e6;const _0x481f3b=this[_0x5e6ed6(0x7b)][_0x5e6ed6(0x1be)](_0x5e6ed6(0x134));if(!_0x481f3b||!_0x3d4edf[_0x5e6ed6(0x80)](_0x481f3b)){const _0x1b022c=_0x3d4edf[_0x5e6ed6(0xf1)]()[0x0],_0x866606=_0x3d4edf['getSheetBySheetId'](_0x1b022c);if(!_0x866606)return;this[_0x5e6ed6(0x23b)](_0x866606,!0x0),await this[_0x5e6ed6(0x112)][_0x5e6ed6(0x240)](g[_0x5e6ed6(0x25a)]['id'],{'unitId':_0x3d4edf[_0x5e6ed6(0xd6)](),'subUnitId':_0x1b022c});return;}((_0x4ed5e6=_0x3d4edf[_0x5e6ed6(0x140)]())==null?void 0x0:_0x4ed5e6[_0x5e6ed6(0x1d3)]())!==_0x481f3b&&await this[_0x5e6ed6(0x112)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d4edf[_0x5e6ed6(0xd6)](),'subUnitId':_0x481f3b});}},exports[_0x4ba9c1(0xa2)]=jt([H(0x0,be),H(0x1,a[_0x4ba9c1(0x273)]),H(0x2,a['ICommandService']),H(0x3,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x298)])),H(0x4,a['Optional'](Ke[_0x4ba9c1(0x113)]))],exports['CollaborationDataLoaderController']);var Bt=Object[_0x4ba9c1(0x23e)],kt=(_0x5ca5a4,_0x8ccfc2,_0x34f52a,_0x4e11d2)=>{const _0x33b4bc=_0x4ba9c1;for(var _0x3aa72a=_0x4e11d2>0x1?void 0x0:_0x4e11d2?Bt(_0x8ccfc2,_0x34f52a):_0x8ccfc2,_0x3468e5=_0x5ca5a4[_0x33b4bc(0x1da)]-0x1,_0x2377c0;_0x3468e5>=0x0;_0x3468e5--)(_0x2377c0=_0x5ca5a4[_0x3468e5])&&(_0x3aa72a=_0x2377c0(_0x3aa72a)||_0x3aa72a);return _0x3aa72a;},ce=(_0x2e7512,_0x146993)=>(_0x1490ea,_0xe9707)=>_0x146993(_0x1490ea,_0xe9707,_0x2e7512);let z=class{constructor(_0x4c6933,_0x1647c7,_0x54587a){const _0x15e852=_0x4ba9c1;this[_0x15e852(0x1b6)]=_0x4c6933,this['_transformService']=_0x1647c7,this[_0x15e852(0x1cc)]=_0x54587a;}[_0x4ba9c1(0x293)](_0x4faf2e){const _0x15f645=_0x4ba9c1;this['_transformUndoRedoStack'](_0x4faf2e),this[_0x15f645(0x1b9)](_0x4faf2e);}['transformRemoteChangeset'](_0xae1928){const _0x4ab971=_0x4ba9c1,{unitID:_0x5ee537}=_0xae1928,_0x54e04a=this['_renderManagerService'][_0x4ab971(0x22d)](_0x5ee537)[_0x4ab971(0x2f3)](b['DocIMEInputManagerService']),{redoCache:_0xfc69e2}=_0x54e04a[_0x4ab971(0x16e)]();if(_0xfc69e2[_0x4ab971(0x1da)]===0x0)return _0xae1928;let _0x3c65ac=a[_0x4ab971(0x136)][_0x4ab971(0x175)](_0xae1928['mutations'][0x0]);for(let _0x2e1a91=0x0;_0x2e1a91<_0xfc69e2[_0x4ab971(0x1da)];_0x2e1a91++){const _0x29d4e9={'id':'doc.mutation.rich-text-editing','params':{..._0xfc69e2[_0x2e1a91]}},_0x22f94b=this[_0x4ab971(0x177)]['transformMutation'](_0x3c65ac,_0x29d4e9,!0x1);if(m[_0x4ab971(0x2cc)](_0x22f94b))throw _0x22f94b[_0x4ab971(0x217)];_0x3c65ac=_0x22f94b[_0x4ab971(0x7e)];}return{...a['Tools']['deepClone'](_0xae1928),'mutations':[_0x3c65ac]};}[_0x4ba9c1(0x26c)](_0x14ef2a){const _0xe34a55=_0x4ba9c1,{unitID:_0x15f0ed}=_0x14ef2a,_0x289d77=this['_renderManagerService'][_0xe34a55(0x22d)](_0x15f0ed)[_0xe34a55(0x2f3)](b[_0xe34a55(0x1df)]),{undoCache:_0x1b61ba,redoCache:_0x422988}=_0x289d77['getUndoRedoMutationParamsCache']();if(_0x1b61ba['length']===0x0||_0x422988[_0xe34a55(0x1da)]===0x0)return;const _0x20e2c7=[],_0x279de9=[];let _0x293266=a[_0xe34a55(0x136)][_0xe34a55(0x175)](_0x14ef2a[_0xe34a55(0x270)][0x0]),_0x123b67=a['Tools'][_0xe34a55(0x175)](_0x14ef2a[_0xe34a55(0x270)][0x0]);for(let _0x4d016f=_0x1b61ba[_0xe34a55(0x1da)]-0x1;_0x4d016f>=0x0;_0x4d016f--){const _0x133ad8={'id':_0xe34a55(0x78),'params':{..._0x1b61ba[_0x4d016f]}},_0x245cac={'id':_0xe34a55(0x78),'params':{..._0x422988[_0x4d016f]}},_0x3941ff=this[_0xe34a55(0x177)][_0xe34a55(0x214)](_0x293266,_0x133ad8,!0x1),_0x1849dc=this[_0xe34a55(0x177)][_0xe34a55(0x214)](_0x123b67,_0x245cac,!0x1);if(m[_0xe34a55(0x2cc)](_0x3941ff))throw _0x3941ff['error'];if(m['isTransformMutationFailure'](_0x1849dc))throw _0x1849dc['error'];_0x20e2c7[_0xe34a55(0x125)](_0x3941ff[_0xe34a55(0xb7)][_0xe34a55(0x161)]),_0x279de9[_0xe34a55(0x125)](_0x1849dc[_0xe34a55(0xb7)][_0xe34a55(0x161)]),_0x293266=_0x3941ff[_0xe34a55(0x7e)],_0x123b67=_0x1849dc[_0xe34a55(0x7e)];}_0x289d77[_0xe34a55(0x119)]({'undoCache':_0x20e2c7,'redoCache':_0x279de9});}[_0x4ba9c1(0x1b9)](_0x197e50){const _0x4ce785=_0x4ba9c1,{unitID:_0x141c42}=_0x197e50,_0x67f4df=this[_0x4ce785(0x1cc)][_0x4ce785(0x22d)](_0x141c42)[_0x4ce785(0x2f3)](b['DocIMEInputManagerService']),_0x58bf48=_0x67f4df['getActiveRange']();if(_0x58bf48==null)return;const _0x2eb330=[{'id':_0x4ce785(0x78),'params':{'unitId':_0x197e50['unitID'],'actions':null,'textRanges':[_0x58bf48]}}],_0x186b7f=this[_0x4ce785(0x177)][_0x4ce785(0x251)](_0x197e50,_0x2eb330);if(!m[_0x4ce785(0x11e)](_0x186b7f))throw _0x186b7f[_0x4ce785(0x217)];const _0x3a8edd=_0x186b7f[_0x4ce785(0xb7)][0x0][_0x4ce785(0x161)][_0x4ce785(0x1e9)];Array[_0x4ce785(0x2a9)](_0x3a8edd)&&_0x3a8edd[_0x4ce785(0x1da)]&&_0x67f4df[_0x4ce785(0x143)](_0x3a8edd[0x0]);}};function _0x167f(_0x3b0aaf,_0x174c7c){const _0x2196b8=_0x2196();return _0x167f=function(_0x167f7f,_0x33127f){_0x167f7f=_0x167f7f-0x6d;let _0x3b79ba=_0x2196b8[_0x167f7f];return _0x3b79ba;},_0x167f(_0x3b0aaf,_0x174c7c);}z=kt([ce(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),ce(0x1,m[_0x4ba9c1(0xdf)]),ce(0x2,p[_0x4ba9c1(0x1b1)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0x90f1be,_0x183c35,_0x1ffa00,_0x5b4438)=>{for(var _0x5d59ae=_0x5b4438>0x1?void 0x0:_0x5b4438?Ht(_0x183c35,_0x1ffa00):_0x183c35,_0x44d6fe=_0x90f1be['length']-0x1,_0x3e4ec4;_0x44d6fe>=0x0;_0x44d6fe--)(_0x3e4ec4=_0x90f1be[_0x44d6fe])&&(_0x5d59ae=_0x3e4ec4(_0x5d59ae)||_0x5d59ae);return _0x5d59ae;},le=(_0x15ac88,_0x20504b)=>(_0x22d998,_0x4ef9ed)=>_0x20504b(_0x22d998,_0x4ef9ed,_0x15ac88);let J=class{constructor(_0x5de088,_0x17b40f,_0x58deac){const _0x15ebb1=_0x4ba9c1;this[_0x15ebb1(0x1b6)]=_0x5de088,this[_0x15ebb1(0x177)]=_0x17b40f,this[_0x15ebb1(0x20a)]=_0x58deac;}[_0x4ba9c1(0x14a)](_0x5ad599){const _0x504d38=_0x4ba9c1;this[_0x504d38(0x2be)](_0x5ad599);}[_0x4ba9c1(0x2af)](_0x18ab30){const _0xf97001=_0x4ba9c1,{unitID:_0x2b3885}=_0x18ab30,{collaboration:_0x14d9a7}=this['_docStateChangeManagerService']['getStateCache'](_0x2b3885);if(_0x14d9a7['length']===0x0)return _0x18ab30;let _0x103d94=a[_0xf97001(0x136)][_0xf97001(0x175)](_0x18ab30[_0xf97001(0x270)][0x0]);for(let _0x4f0b58=0x0;_0x4f0b58<_0x14d9a7[_0xf97001(0x1da)];_0x4f0b58++){const _0x813833={'id':_0xf97001(0x78),'params':{'unitId':_0x14d9a7[_0x4f0b58][_0xf97001(0x17f)],..._0x14d9a7[_0x4f0b58][_0xf97001(0x115)]}},_0x55ffbb=this[_0xf97001(0x177)][_0xf97001(0x214)](_0x103d94,_0x813833,!0x1);if(m[_0xf97001(0x2cc)](_0x55ffbb))throw _0x55ffbb[_0xf97001(0x217)];_0x103d94=_0x55ffbb[_0xf97001(0x7e)];}return{...a[_0xf97001(0x136)][_0xf97001(0x175)](_0x18ab30),'mutations':[_0x103d94]};}[_0x4ba9c1(0x2be)](_0x58e879){const _0x46fc41=_0x4ba9c1,{unitID:_0x1f0bf7}=_0x58e879,{history:_0x21a3f7,collaboration:_0x2ae3e3}=this['_docStateChangeManagerService'][_0x46fc41(0x2d3)](_0x1f0bf7);if(_0x21a3f7[_0x46fc41(0x1da)]===0x0&&_0x2ae3e3['length']===0x0)return;const _0x4f3c94=[],_0x33c429=[];let _0x13d3bc=a[_0x46fc41(0x136)][_0x46fc41(0x175)](_0x58e879[_0x46fc41(0x270)][0x0]),_0x3c8b94=a[_0x46fc41(0x136)][_0x46fc41(0x175)](_0x58e879[_0x46fc41(0x270)][0x0]);for(let _0x53f21a=_0x21a3f7[_0x46fc41(0x1da)]-0x1;_0x53f21a>=0x0;_0x53f21a--){const _0x1ff433={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x21a3f7[_0x53f21a][_0x46fc41(0x17f)],..._0x21a3f7[_0x53f21a][_0x46fc41(0x2a4)]}},_0x117b94={'id':_0x46fc41(0x78),'params':{'unitId':_0x21a3f7[_0x53f21a]['unitId'],..._0x21a3f7[_0x53f21a]['redoState']}},_0x40e140=this[_0x46fc41(0x177)]['transformMutation'](_0x13d3bc,_0x1ff433,!0x1),_0x53baa7=this[_0x46fc41(0x177)]['transformMutation'](_0x3c8b94,_0x117b94,!0x1);if(m[_0x46fc41(0x2cc)](_0x40e140))throw _0x40e140[_0x46fc41(0x217)];if(m[_0x46fc41(0x2cc)](_0x53baa7))throw _0x53baa7['error'];_0x4f3c94[_0x46fc41(0x125)]({..._0x21a3f7[_0x53f21a],'undoState':_0x40e140[_0x46fc41(0xb7)][_0x46fc41(0x161)],'redoState':_0x53baa7[_0x46fc41(0xb7)]['params']}),_0x13d3bc=_0x40e140[_0x46fc41(0x7e)],_0x3c8b94=_0x53baa7[_0x46fc41(0x7e)];}_0x13d3bc=a[_0x46fc41(0x136)]['deepClone'](_0x58e879[_0x46fc41(0x270)][0x0]),_0x3c8b94=a[_0x46fc41(0x136)]['deepClone'](_0x58e879['mutations'][0x0]);for(let _0x862e91=_0x2ae3e3[_0x46fc41(0x1da)]-0x1;_0x862e91>=0x0;_0x862e91--){const _0x419984={'id':_0x46fc41(0x78),'params':{'unitId':_0x2ae3e3[_0x862e91][_0x46fc41(0x17f)],..._0x2ae3e3[_0x862e91]['undoState']}},_0x22d773={'id':_0x46fc41(0x78),'params':{'unitId':_0x2ae3e3[_0x862e91][_0x46fc41(0x17f)],..._0x2ae3e3[_0x862e91][_0x46fc41(0x115)]}},_0x25aad3=this[_0x46fc41(0x177)][_0x46fc41(0x214)](_0x13d3bc,_0x419984,!0x1),_0x50f705=this['_transformService']['transformMutation'](_0x3c8b94,_0x22d773,!0x1);if(m[_0x46fc41(0x2cc)](_0x25aad3))throw _0x25aad3[_0x46fc41(0x217)];if(m['isTransformMutationFailure'](_0x50f705))throw _0x50f705[_0x46fc41(0x217)];_0x33c429[_0x46fc41(0x125)]({..._0x2ae3e3[_0x862e91],'undoState':_0x25aad3[_0x46fc41(0xb7)][_0x46fc41(0x161)],'redoState':_0x50f705['m2Prime'][_0x46fc41(0x161)]}),_0x13d3bc=_0x25aad3[_0x46fc41(0x7e)],_0x3c8b94=_0x50f705['m1Prime'];}this[_0x46fc41(0x20a)][_0x46fc41(0x1b7)](_0x1f0bf7,{'history':_0x4f3c94,'collaboration':_0x33c429});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4ba9c1(0xdf)]),le(0x2,a[_0x4ba9c1(0x1f9)](b[_0x4ba9c1(0xbd)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x6a06d9,_0x288de3,_0x17d948,_0x26927e)=>{const _0x5b71ed=_0x4ba9c1;for(var _0x40221c=_0x26927e>0x1?void 0x0:_0x26927e?Yt(_0x288de3,_0x17d948):_0x288de3,_0x2f07a3=_0x6a06d9[_0x5b71ed(0x1da)]-0x1,_0x1d096d;_0x2f07a3>=0x0;_0x2f07a3--)(_0x1d096d=_0x6a06d9[_0x2f07a3])&&(_0x40221c=_0x1d096d(_0x40221c)||_0x40221c);return _0x40221c;},Ne=(_0x2f5033,_0x263e48)=>(_0x1f3381,_0x5f009c)=>_0x263e48(_0x1f3381,_0x5f009c,_0x2f5033);let Z=class{constructor(_0x690035,_0x2a3fdc){const _0x1eb7d7=_0x4ba9c1;this[_0x1eb7d7(0x1b6)]=_0x690035,this['_transformService']=_0x2a3fdc;}[_0x4ba9c1(0x16c)](_0x439d6e){const _0xa8ad7f=_0x4ba9c1;var _0x591c1d;const _0x1f10c6=this[_0xa8ad7f(0x1b6)][_0xa8ad7f(0x17b)](Y[_0xa8ad7f(0xed)]),_0x48fd82=(_0x591c1d=_0x1f10c6[_0xa8ad7f(0x27a)]())!=null?_0x591c1d:[];if(_0x48fd82['length']===0x0)return;const _0x48f24b=_0x439d6e[_0xa8ad7f(0x2ec)],_0x3dcb3a=[{'id':_0xa8ad7f(0x78),'params':{'unitId':_0x48f24b,'actions':null,'textRanges':_0x48fd82}}],_0x9d76c6=this[_0xa8ad7f(0x177)][_0xa8ad7f(0x251)](_0x439d6e,_0x3dcb3a);if(!m['isTransformMutationsWithChangesetSuccess'](_0x9d76c6))throw _0x9d76c6['error'];const _0x8ff57a=_0x9d76c6[_0xa8ad7f(0xb7)][0x0][_0xa8ad7f(0x161)]['textRanges'];Array[_0xa8ad7f(0x2a9)](_0x8ff57a)&&_0x8ff57a[_0xa8ad7f(0x1da)]&&_0x1f10c6[_0xa8ad7f(0x16f)](_0x8ff57a,{'unitId':_0x48f24b,'subUnitId':_0x48f24b},!0x1);}};Z=Wt([Ne(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),Ne(0x1,m[_0x4ba9c1(0xdf)])],Z);var Vt=Object[_0x4ba9c1(0x23e)],Xt=(_0x4cc41b,_0x5ec61b,_0x409d14,_0x1d2bb2)=>{for(var _0x1547a2=_0x1d2bb2>0x1?void 0x0:_0x1d2bb2?Vt(_0x5ec61b,_0x409d14):_0x5ec61b,_0x5049b0=_0x4cc41b['length']-0x1,_0x187a06;_0x5049b0>=0x0;_0x5049b0--)(_0x187a06=_0x4cc41b[_0x5049b0])&&(_0x1547a2=_0x187a06(_0x1547a2)||_0x1547a2);return _0x1547a2;},N=(_0x31949a,_0x28814f)=>(_0x5b95a3,_0x3ba7c0)=>_0x28814f(_0x5b95a3,_0x3ba7c0,_0x31949a);let Q=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x2d6f25,_0x5c518b,_0x2c17fc,_0x2ee51a,_0x48f3fe,_0x319a39,_0x291f2e,_0x190091){const _0x5bcadd=_0x4ba9c1;super(),h(this,'_status$',new d[(_0x5bcadd(0x1ec))](u[_0x5bcadd(0x11a)]['NOT_COLLAB'])),(this[_0x5bcadd(0x20a)]=_0x2d6f25,this['_collaborationController']=_0x5c518b,this[_0x5bcadd(0x224)]=_0x2c17fc,this['_docTransformStateCacheService']=_0x2ee51a,this[_0x5bcadd(0x296)]=_0x48f3fe,this[_0x5bcadd(0xb0)]=_0x319a39,this[_0x5bcadd(0xcf)]=_0x291f2e,this[_0x5bcadd(0xf0)]=_0x190091,this['_initEntityListener']());}[_0x4ba9c1(0x2e2)](){const _0x2a7822=_0x4ba9c1;this[_0x2a7822(0x2db)](this['_collaborationController'][_0x2a7822(0x16b)][_0x2a7822(0x1a4)](_0x1eeca2=>{const _0x1ba520=_0x2a7822,_0x47a67f=this['_docStateChangeManagerService'][_0x1ba520(0x229)][_0x1ba520(0x1a4)](_0x80ff37=>{const _0x1bb766=_0x1ba520;if(_0x80ff37==null)return;const {unitId:_0x2b6fe4,redoState:_0x283ad3,commandId:_0x121f83}=_0x80ff37;if(_0x2b6fe4!==_0x1eeca2[_0x1bb766(0x2ec)])return;const _0x3f3317={'id':_0x121f83,'type':a[_0x1bb766(0xf5)][_0x1bb766(0xae)],'params':{'unitId':_0x2b6fe4,'actions':_0x283ad3[_0x1bb766(0x20c)],'textRanges':null}};_0x1eeca2[_0x1bb766(0x27c)](_0x3f3317);});if(_0x1eeca2['disposeWithMe'](_0x47a67f),_0x1eeca2 instanceof u[_0x1ba520(0x17a)]){const _0x3ad5ed={'onTransformIME':_0x1a5efb=>this['_docTransformIMECacheService'][_0x1ba520(0x293)](_0x1a5efb),'onTransformState':_0x2e5754=>this[_0x1ba520(0x2e0)][_0x1ba520(0x14a)](_0x2e5754),'onTransformSelections':_0x5c649a=>this['_docTransformSelectionsService']['transformSelections'](_0x5c649a),'onSyncEditingCollabCursor':_0x4af3e4=>this[_0x1ba520(0xb0)]['syncEditingCollabCursor'](_0x4af3e4),'onTransformRemoteChangesetByIMECache':_0x5dad7f=>this[_0x1ba520(0x224)][_0x1ba520(0x2af)](_0x5dad7f),'onTransformRemoteChangesetByStateCache':_0x4c721e=>this['_docTransformStateCacheService'][_0x1ba520(0x2af)](_0x4c721e)};_0x1eeca2[_0x1ba520(0x230)](_0x3ad5ed);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x4ba9c1(0xbd)])),N(0x1,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x14c)])),N(0x2,a[_0x4ba9c1(0x1f9)](z)),N(0x3,a[_0x4ba9c1(0x1f9)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x4ba9c1(0x1f9)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x1e8)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x2fe3c0,_0x3752ef,_0x538ce8,_0x7fdc1)=>{const _0xf92d4=_0x4ba9c1;for(var _0x27646e=_0x7fdc1>0x1?void 0x0:_0x7fdc1?Gt(_0x3752ef,_0x538ce8):_0x3752ef,_0x203c19=_0x2fe3c0[_0xf92d4(0x1da)]-0x1,_0x190a33;_0x203c19>=0x0;_0x203c19--)(_0x190a33=_0x2fe3c0[_0x203c19])&&(_0x27646e=_0x190a33(_0x27646e)||_0x27646e);return _0x27646e;},_e=(_0x2fdec2,_0x225359)=>(_0x5d5bee,_0x53ce6e)=>_0x225359(_0x5d5bee,_0x53ce6e,_0x2fdec2);let ge=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x42e456,_0x281f68,_0x858a9a){const _0x555a39=_0x4ba9c1;super(),h(this,_0x555a39(0x133),new Map()),h(this,_0x555a39(0x281),new Map()),h(this,_0x555a39(0x2cf),!0x1),(this[_0x555a39(0x12f)]=_0x42e456,this[_0x555a39(0x164)]=_0x281f68,this[_0x555a39(0x13e)]=_0x858a9a);}[_0x4ba9c1(0x29d)](){this['_disabled']=!0x0;}[_0x4ba9c1(0x11d)](){this['_disabled']=!0x1;}get[_0x4ba9c1(0x1dc)](){const _0xd09eeb=_0x4ba9c1;return this[_0xd09eeb(0x281)];}[_0x4ba9c1(0x195)](){const _0x373a0d=_0x4ba9c1;this[_0x373a0d(0x1a0)]()[_0x373a0d(0x168)](()=>super[_0x373a0d(0x195)]());}async[_0x4ba9c1(0x1e1)](_0x99d800){const _0x58c7af=_0x4ba9c1;return this[_0x58c7af(0x2cf)]?null:this[_0x58c7af(0x164)][_0x58c7af(0x2d8)](u[_0x58c7af(0x179)](_0x99d800));}async['saveOfflineData'](_0x50a0e3,_0x3798bb){const _0x2f3217=_0x4ba9c1;return!!this[_0x2f3217(0x164)][_0x2f3217(0x287)](_0x50a0e3,_0x3798bb);}[_0x4ba9c1(0x139)](_0x5ee015,_0x4f3cfc,_0xb6d32,_0x10311e){const _0x5e01ca=_0x4ba9c1,_0x570d00=this[_0x5e01ca(0x13e)][_0x5e01ca(0x13a)](_0x5ee015);this[_0x5e01ca(0x133)][_0x5e01ca(0x82)](_0x5ee015,{'unitID':_0x5ee015,'type':_0x4f3cfc,'awaitingChangeset':_0xb6d32,'mutations':_0x10311e,'rev':_0x570d00}),this[_0x5e01ca(0x281)]['has'](_0x5ee015)||this[_0x5e01ca(0x6d)](_0x5ee015);}[_0x4ba9c1(0x6d)](_0x572167){const _0xe47e0c=_0x4ba9c1,_0x219b35=this[_0xe47e0c(0x1f2)]();_0x219b35===0x0?this[_0xe47e0c(0x2e4)](_0x572167):this[_0xe47e0c(0x281)]['set'](_0x572167,setTimeout(()=>this[_0xe47e0c(0x2e4)](_0x572167),_0x219b35));}[_0x4ba9c1(0x1f2)](){const _0x8d64e6=_0x4ba9c1;var _0x2aac55;return(_0x2aac55=this[_0x8d64e6(0x12f)][_0x8d64e6(0x2d5)](u[_0x8d64e6(0x90)]))!=null?_0x2aac55:u[_0x8d64e6(0x21c)];}['_saveCache'](_0x37c60c){const _0x379c63=_0x4ba9c1,_0x1f1ddc=this[_0x379c63(0x281)]['get'](_0x37c60c);return _0x1f1ddc!==void 0x0&&window['clearTimeout'](_0x1f1ddc),this[_0x379c63(0x164)][_0x379c63(0x287)](u['getLocalCacheKey'](_0x37c60c),this[_0x379c63(0x133)][_0x379c63(0x17b)](_0x37c60c))[_0x379c63(0x168)](()=>this[_0x379c63(0x281)]['delete'](_0x37c60c));}async['exhaustSavingTask'](){const _0x120f2c=_0x4ba9c1,_0x143bd4=[];this[_0x120f2c(0x281)][_0x120f2c(0xf8)]((_0x22b150,_0x4cd51e)=>{const _0x483eff=_0x120f2c;window['clearTimeout'](_0x22b150),_0x143bd4[_0x483eff(0x20e)](this[_0x483eff(0x2e4)](_0x4cd51e)[_0x483eff(0x168)](()=>{const _0x598118=_0x483eff;this[_0x598118(0x281)][_0x598118(0x232)](_0x4cd51e);}));}),await Promise[_0x120f2c(0x153)](_0x143bd4);}};ge=Kt([_e(0x0,a[_0x4ba9c1(0x14e)]),_e(0x1,a[_0x4ba9c1(0x278)]),_e(0x2,a[_0x4ba9c1(0x1f9)](m[_0x4ba9c1(0xb6)]))],ge);class je extends a[_0x4ba9c1(0x1b8)]{constructor(){const _0x456b71=_0x4ba9c1;super(),h(this,_0x456b71(0x21d)),this[_0x456b71(0x21d)]=d[_0x456b71(0x27d)](window,_0x456b71(0x188))[_0x456b71(0x74)](d[_0x456b71(0x2a5)](this['dispose$']),d['shareReplay'](0x1),d[_0x456b71(0x1d7)](void 0x0));}[_0x4ba9c1(0x197)](_0x1c2581,_0x42f8a4,_0x50a838=!0x1){const _0x5f3204=_0x4ba9c1,_0x9eacdb=new URL(window[_0x5f3204(0xa3)]['href']);_0x9eacdb[_0x5f3204(0x127)][_0x5f3204(0x82)](_0x1c2581,_0x42f8a4),_0x50a838?window[_0x5f3204(0x9d)][_0x5f3204(0x228)]('','',_0x9eacdb[_0x5f3204(0x15a)]()):window['history'][_0x5f3204(0x2ee)]('','',_0x9eacdb[_0x5f3204(0x15a)]());}[_0x4ba9c1(0x152)](_0x250d67,_0x5d68a5=!0x1){const _0x1875d9=_0x4ba9c1,_0x36e1ca=new URL(window['location'][_0x1875d9(0x2b4)]);_0x36e1ca[_0x1875d9(0x127)][_0x1875d9(0x232)](_0x250d67),_0x5d68a5?window[_0x1875d9(0x9d)][_0x1875d9(0x228)]('','',_0x36e1ca['toString']()):window['history'][_0x1875d9(0x2ee)]('','',_0x36e1ca[_0x1875d9(0x15a)]());}[_0x4ba9c1(0x1be)](_0x419ee1){const _0x516e51=_0x4ba9c1;var _0x7de7df;return(_0x7de7df=new URL(window[_0x516e51(0xa3)]['href'])[_0x516e51(0x127)][_0x516e51(0x17b)](_0x419ee1))!=null?_0x7de7df:void 0x0;}}var qt=Object[_0x4ba9c1(0x1cd)],zt=Object[_0x4ba9c1(0x23e)],Jt=(_0x4c2b59,_0x2ac201,_0x5434d7)=>_0x2ac201 in _0x4c2b59?qt(_0x4c2b59,_0x2ac201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5434d7}):_0x4c2b59[_0x2ac201]=_0x5434d7,Zt=(_0x448de6,_0x4a0c3b,_0x426ab9,_0x5ddabe)=>{const _0x3b630f=_0x4ba9c1;for(var _0x5c35a6=_0x5ddabe>0x1?void 0x0:_0x5ddabe?zt(_0x4a0c3b,_0x426ab9):_0x4a0c3b,_0x3b13cf=_0x448de6[_0x3b630f(0x1da)]-0x1,_0x623fa3;_0x3b13cf>=0x0;_0x3b13cf--)(_0x623fa3=_0x448de6[_0x3b13cf])&&(_0x5c35a6=_0x623fa3(_0x5c35a6)||_0x5c35a6);return _0x5c35a6;},he=(_0x40be02,_0x4c1a18)=>(_0x21ab7b,_0x529ea5)=>_0x4c1a18(_0x21ab7b,_0x529ea5,_0x40be02),Qt=(_0x61cc85,_0x563ffe,_0x40ad43)=>Jt(_0x61cc85,_0x563ffe+'',_0x40ad43);const es=_0x4ba9c1(0x81);exports[_0x4ba9c1(0x20d)]=class extends a[_0x4ba9c1(0x2de)]{constructor(_0x4268f0=Ue,_0x26504e,_0xdbdf3e,_0x301d09){const _0x23fe69=_0x4ba9c1;super(),this['_config']=_0x4268f0,this['_renderManagerService']=_0x26504e,this['_injector']=_0xdbdf3e,this[_0x23fe69(0x12f)]=_0x301d09;const {..._0x28e2df}=a[_0x23fe69(0x19c)]({},Ue,this[_0x23fe69(0x77)]);this['_configService'][_0x23fe69(0x76)]($t,_0x28e2df);}[_0x4ba9c1(0x2b9)](){const _0x3afa25=_0x4ba9c1;this['_registerDependencies'](),this[_0x3afa25(0x1d9)]();}[_0x4ba9c1(0x1d8)](){const _0x22da82=_0x4ba9c1;this[_0x22da82(0x27b)]();}[_0x4ba9c1(0xce)](){const _0x143ee8=_0x4ba9c1;var _0x1ac8f4;const _0x5ef9ad=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x143ee8(0x263)]}],[u[_0x143ee8(0x2ed)],{'useClass':ge}],[exports[_0x143ee8(0x1c7)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x143ee8(0x2c9)](this[_0x143ee8(0x1b6)],a['mergeOverrideWithDependencies'](_0x5ef9ad,(_0x1ac8f4=this['_config'])==null?void 0x0:_0x1ac8f4[_0x143ee8(0x275)]));}[_0x4ba9c1(0x27b)](){const _0x186b21=_0x4ba9c1;this[_0x186b21(0x2db)](this[_0x186b21(0x1cc)][_0x186b21(0xde)](a[_0x186b21(0x2e7)][_0x186b21(0x2ae)],[Ie])),this[_0x186b21(0x2db)](this[_0x186b21(0x1cc)]['registerRenderModule'](a[_0x186b21(0x2e7)]['UNIVER_SHEET'],[ve]));}[_0x4ba9c1(0x1d9)](){const _0x4f6197=_0x4ba9c1;a[_0x4f6197(0x124)](this[_0x4f6197(0x1b6)],[[x],[exports[_0x4f6197(0x1c7)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x4ba9c1(0x1de),es),exports[_0x4ba9c1(0x20d)]=Zt([a[_0x4ba9c1(0xa5)](u[_0x4ba9c1(0x266)]),he(0x1,p[_0x4ba9c1(0x1b1)]),he(0x2,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),he(0x3,a[_0x4ba9c1(0x14e)])],exports[_0x4ba9c1(0x20d)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x4e5f1b,_0x4c9a6a,_0x20c899,_0x5e4aef)=>{const _0x5d4911=_0x4ba9c1;for(var _0xc8897d=_0x5e4aef>0x1?void 0x0:_0x5e4aef?ts(_0x4c9a6a,_0x20c899):_0x4c9a6a,_0x103a3f=_0x4e5f1b[_0x5d4911(0x1da)]-0x1,_0x2bd96f;_0x103a3f>=0x0;_0x103a3f--)(_0x2bd96f=_0x4e5f1b[_0x103a3f])&&(_0xc8897d=_0x2bd96f(_0xc8897d)||_0xc8897d);return _0xc8897d;},F=(_0x3fc7d3,_0x4b7d34)=>(_0x4fcc99,_0x5e2722)=>_0x4b7d34(_0x4fcc99,_0x5e2722,_0x3fc7d3);exports[_0x4ba9c1(0x24d)]=class extends u['CollaborationSocketService']{constructor(_0x49b491,_0x250f59,_0x13a23a,_0x309294,_0x4c43d2){super(_0x49b491,_0x250f59,_0x13a23a,_0x309294,_0x4c43d2);}async[_0x4ba9c1(0x235)](_0x31ecca){const _0x46c081=_0x4ba9c1,_0x42bd9e=await this[_0x46c081(0xe1)](),_0x2cca54=this[_0x46c081(0x120)](_0x31ecca,_0x42bd9e);return this[_0x46c081(0x24a)](_0x2cca54);}[_0x4ba9c1(0x120)](_0x1b9633,_0xa3616c){const _0x50265c=_0x4ba9c1,_0x2169ad=typeof window>'u'?new URL(_0x1b9633):new URL(_0x1b9633,window['location'][_0x50265c(0xdc)]);_0x2169ad['searchParams'][_0x50265c(0x82)](_0x50265c(0x6e),_0xa3616c);const _0xf57b2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50265c(0xa3)][_0x50265c(0x106)]);return _0xf57b2['get'](_0x50265c(0xa0))&&_0x2169ad['searchParams']['set']('runId',_0xf57b2[_0x50265c(0x17b)](_0x50265c(0xa0))),_0x2169ad[_0x50265c(0x15a)]();}async['_getSessionTicket'](){const _0x1372ae=_0x4ba9c1;var _0x2ef9ae,_0x113965,_0xe44f74;const _0x3ecdf4=this[_0x1372ae(0x12f)][_0x1372ae(0x2d5)](u[_0x1372ae(0xd1)]),_0x1bed8c=(_0x2ef9ae=_0x3ecdf4==null?void 0x0:_0x3ecdf4[_0x1372ae(0x210)])!=null?_0x2ef9ae:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xe44f74=(_0x113965=(await this['_httpService'][_0x1372ae(0x17b)](_0x1bed8c,{'headers':{'Content-Type':_0x1372ae(0x2f9)}}))['body'])==null?void 0x0:_0x113965[_0x1372ae(0x16a)])!=null?_0xe44f74:'';}},exports[_0x4ba9c1(0x24d)]=ss([F(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),F(0x1,a[_0x4ba9c1(0x1f9)](G[_0x4ba9c1(0x1b0)])),F(0x2,a[_0x4ba9c1(0x14e)]),F(0x3,a[_0x4ba9c1(0x273)]),F(0x4,m[_0x4ba9c1(0x205)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x4ba9c1(0x2fa);class is extends a[_0x4ba9c1(0x12c)]{constructor(){const _0x464263=_0x4ba9c1;super(),h(this,'_id',a[_0x464263(0x274)]()),h(this,_0x464263(0x126),new Set()),h(this,_0x464263(0x201),new Map()),h(this,_0x464263(0xba),null),h(this,_0x464263(0x8a),new Map()),h(this,_0x464263(0x171),new Map()),this[_0x464263(0x2c4)]();}[_0x4ba9c1(0x195)](){const _0x58b59f=_0x4ba9c1;super['dispose'](),this[_0x58b59f(0x8a)][_0x58b59f(0xf8)]((_0x879838,_0x2aff77)=>this['_removeClearOtherTimer'](_0x2aff77)),this[_0x58b59f(0xba)]&&window[_0x58b59f(0x1ce)](this['_heartbeatTimer']);}[_0x4ba9c1(0x24b)](_0x1ce86f){const _0x35b8d2=_0x4ba9c1;return this['_ensureSubject'](_0x1ce86f)[_0x35b8d2(0x74)](d['distinctUntilChanged']());}[_0x4ba9c1(0x21a)](_0x324b4e){const _0xa3bccf=_0x4ba9c1;this[_0xa3bccf(0x126)][_0xa3bccf(0x213)]===0x0&&this[_0xa3bccf(0x2c8)](),this[_0xa3bccf(0x126)][_0xa3bccf(0xf6)](_0x324b4e),this[_0xa3bccf(0x1a3)]({'type':0x0,'memberID':this[_0xa3bccf(0x96)],'unitIDs':[_0x324b4e],'isForwarded':!0x1});}[_0x4ba9c1(0x2eb)](_0x1e2666){const _0xf11506=_0x4ba9c1;this[_0xf11506(0x126)]['delete'](_0x1e2666),this[_0xf11506(0x126)][_0xf11506(0x213)]===0x0&&this[_0xf11506(0xba)]&&window[_0xf11506(0x1ce)](this[_0xf11506(0xba)]);}[_0x4ba9c1(0x2c4)](){const _0x3e3037=_0x4ba9c1;this[_0x3e3037(0x2db)](a[_0x3e3037(0x121)](d[_0x3e3037(0x27d)](window,_0x3e3037(0x2e8))[_0x3e3037(0x1a4)](_0x18d2c0=>{const _0x3ac425=_0x3e3037;if(_0x18d2c0['key']!==Le||!_0x18d2c0[_0x3ac425(0x9f)])return;const _0xc8349a=JSON[_0x3ac425(0x2f0)](_0x18d2c0[_0x3ac425(0x9f)]);this[_0x3ac425(0xd3)](_0xc8349a);}))),window[_0x3e3037(0x72)](_0x3e3037(0x1dd),()=>this[_0x3e3037(0x1a3)]({'type':0x1,'memberID':this[_0x3e3037(0x96)],'unitIDs':Array[_0x3e3037(0x12b)](this[_0x3e3037(0x126)])}));}['_handleEvent'](_0x529171){const _0x2c0b07=_0x4ba9c1;switch(_0x529171[_0x2c0b07(0x26a)]){case 0x0:this[_0x2c0b07(0x2a7)](_0x529171);break;case 0x1:this[_0x2c0b07(0x2ad)](_0x529171);break;case 0x2:this[_0x2c0b07(0x28b)](_0x529171);break;}}[_0x4ba9c1(0x2a7)](_0x3f01dd){const _0x547a94=_0x4ba9c1,{unitIDs:_0x261719,memberID:_0x5778be,isForwarded:_0x1ee605}=_0x3f01dd;_0x261719['forEach'](_0x13b7b2=>{const _0x4a9eb4=_0x167f;if(!_0x1ee605&&this[_0x4a9eb4(0x201)][_0x4a9eb4(0x10b)](_0x13b7b2)&&this[_0x4a9eb4(0x2e9)](_0x13b7b2)['next'](u['UnitStatus'][_0x4a9eb4(0x2d4)]),!this[_0x4a9eb4(0x201)][_0x4a9eb4(0x10b)](_0x13b7b2)||!this[_0x4a9eb4(0x201)][_0x4a9eb4(0x17b)](_0x13b7b2)['has'](_0x5778be)){const _0x2cbc59=this[_0x4a9eb4(0x201)][_0x4a9eb4(0x17b)](_0x13b7b2)||new Set();_0x2cbc59[_0x4a9eb4(0xf6)](_0x5778be),this[_0x4a9eb4(0x201)][_0x4a9eb4(0x82)](_0x13b7b2,_0x2cbc59),this[_0x4a9eb4(0x207)](_0x5778be);}}),_0x1ee605||this['_send']({'type':0x0,'memberID':this[_0x547a94(0x96)],'unitIDs':[...this[_0x547a94(0x126)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x43daba){const _0x2a5c9d=_0x4ba9c1;this[_0x2a5c9d(0x237)](_0x43daba);const _0x3e71f3=window[_0x2a5c9d(0x14b)](()=>{const _0x20910d=_0x2a5c9d;this['_unitOnClients'][_0x20910d(0xf8)](_0x7660c1=>{const _0x6fdb8c=_0x20910d;_0x7660c1[_0x6fdb8c(0x232)](_0x43daba);});},Me*0x2);this[_0x2a5c9d(0x8a)]['set'](_0x43daba,_0x3e71f3);}['_removeClearOtherTimer'](_0x5a108c){const _0x2f04e1=_0x4ba9c1;if(this[_0x2f04e1(0x8a)]['has'](_0x5a108c)){const _0x1c5297=this[_0x2f04e1(0x8a)][_0x2f04e1(0x17b)](_0x5a108c);_0x1c5297&&window[_0x2f04e1(0x1b2)](_0x1c5297),this[_0x2f04e1(0x8a)][_0x2f04e1(0x82)](_0x5a108c,null);}}[_0x4ba9c1(0x2ad)](_0x224e95){const _0x509ecc=_0x4ba9c1,{memberID:_0x49c73f,unitIDs:_0x3692ff}=_0x224e95;_0x3692ff[_0x509ecc(0xf8)](_0x1abd95=>{const _0x478d11=_0x509ecc;var _0x2e4729;const _0x3cd76e=this['_unitOnClients']['get'](_0x1abd95);_0x3cd76e&&(_0x3cd76e[_0x478d11(0x232)](_0x49c73f),(_0x2e4729=this[_0x478d11(0x2e9)](_0x1abd95))==null||_0x2e4729['next'](_0x3cd76e[_0x478d11(0x213)]===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus'][_0x478d11(0x2d4)]));}),this[_0x509ecc(0x237)](_0x49c73f);}[_0x4ba9c1(0x28b)](_0x3dd555){const _0x50fd71=_0x4ba9c1;this[_0x50fd71(0x207)](_0x3dd555[_0x50fd71(0x107)]);}[_0x4ba9c1(0x1a3)](_0x1f20db){const _0x33ba7e=_0x4ba9c1;localStorage[_0x33ba7e(0x287)](Le,JSON['stringify'](_0x1f20db));}[_0x4ba9c1(0x2c8)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4762c2=_0x167f;this[_0x4762c2(0x1a3)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x4ba9c1(0x2e9)](_0x4a591a){const _0x1b8642=_0x4ba9c1;return this[_0x1b8642(0x171)][_0x1b8642(0x10b)](_0x4a591a)||this['_unitStatus'][_0x1b8642(0x82)](_0x4a591a,new d[(_0x1b8642(0x1ec))](u[_0x1b8642(0x261)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x1b8642(0x17b)](_0x4a591a);}}var Be=(_0xc6879d=>(_0xc6879d[_0xc6879d[_0x4ba9c1(0xa4)]=0x0]='UNDEFINED',_0xc6879d[_0xc6879d['OK']=0x1]='OK',_0xc6879d[_0xc6879d[_0x4ba9c1(0x2cb)]=0x2]=_0x4ba9c1(0x2cb),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1eb)]=0x3]=_0x4ba9c1(0x1eb),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2fd)]=0x4]=_0x4ba9c1(0x2fd),_0xc6879d[_0xc6879d[_0x4ba9c1(0x259)]=0x5]=_0x4ba9c1(0x259),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ed)]=0x6]=_0x4ba9c1(0x1ed),_0xc6879d[_0xc6879d['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0xc6879d[_0xc6879d[_0x4ba9c1(0xa9)]=0x8]='TOO_MANY_REQUESTS',_0xc6879d[_0xc6879d['COMPLETION_FINISHED']=0x9]=_0x4ba9c1(0x104),_0xc6879d[_0xc6879d[_0x4ba9c1(0x29f)]=0xa]='LOGIN_FAILED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x144)]=0x1389]=_0x4ba9c1(0x144),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1c5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x262)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x297)]=0x1773]=_0x4ba9c1(0x297),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1d6)]=0x1b59]='APPLY_REJECT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc6879d[_0xc6879d[_0x4ba9c1(0x103)]=0x1b5b]=_0x4ba9c1(0x103),_0xc6879d[_0xc6879d[_0x4ba9c1(0xd0)]=0x1b5c]=_0x4ba9c1(0xd0),_0xc6879d[_0xc6879d[_0x4ba9c1(0x283)]=0x1b5d]='APPLY_DUPLICATED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x12e)]=0x1f41]=_0x4ba9c1(0x12e),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ae)]=0x2329]=_0x4ba9c1(0x1ae),_0xc6879d[_0xc6879d[_0x4ba9c1(0x196)]=0x232a]=_0x4ba9c1(0x196),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1af)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xc6879d[_0xc6879d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4ba9c1(0x93),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1f4)]=0x232d]=_0x4ba9c1(0x1f4),_0xc6879d[_0xc6879d[_0x4ba9c1(0xd9)]=0x2711]=_0x4ba9c1(0xd9),_0xc6879d[_0xc6879d[_0x4ba9c1(0x15f)]=0x2712]=_0x4ba9c1(0x15f),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1d1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc6879d[_0xc6879d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4ba9c1(0x2ea),_0xc6879d[_0xc6879d[_0x4ba9c1(0x174)]=0x271a]=_0x4ba9c1(0x174),_0xc6879d[_0xc6879d[_0x4ba9c1(0x280)]=0x271b]=_0x4ba9c1(0x280),_0xc6879d[_0xc6879d[_0x4ba9c1(0x282)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x279)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xc6879d[_0xc6879d[_0x4ba9c1(0xf3)]=0x271e]=_0x4ba9c1(0xf3),_0xc6879d[_0xc6879d[_0x4ba9c1(0x180)]=0x271f]=_0x4ba9c1(0x180),_0xc6879d[_0xc6879d[_0x4ba9c1(0x8e)]=0x2af9]=_0x4ba9c1(0x8e),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2b8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ca)]=0x2ee2]=_0x4ba9c1(0x1ca),_0xc6879d[_0xc6879d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ba9c1(0x1b3),_0xc6879d[_0xc6879d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4ba9c1(0x147),_0xc6879d[_0xc6879d[_0x4ba9c1(0x7a)]=0x2ee5]=_0x4ba9c1(0x7a),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2bf)]=0x32c9]=_0x4ba9c1(0x2bf),_0xc6879d[_0xc6879d[_0x4ba9c1(0x26f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc6879d[_0xc6879d[_0x4ba9c1(0x29c)]=0x32cb]=_0x4ba9c1(0x29c),_0xc6879d[_0xc6879d['UNRECOGNIZED']=-0x1]=_0x4ba9c1(0xfd),_0xc6879d))(Be||{}),ns=Object[_0x4ba9c1(0x23e)],rs=(_0x275ba0,_0x2e676a,_0x16d943,_0x519cd7)=>{const _0x27f92f=_0x4ba9c1;for(var _0x125a66=_0x519cd7>0x1?void 0x0:_0x519cd7?ns(_0x2e676a,_0x16d943):_0x2e676a,_0xa2f845=_0x275ba0[_0x27f92f(0x1da)]-0x1,_0x22c72c;_0xa2f845>=0x0;_0xa2f845--)(_0x22c72c=_0x275ba0[_0xa2f845])&&(_0x125a66=_0x22c72c(_0x125a66)||_0x125a66);return _0x125a66;},ue=(_0x4229ce,_0x273d49)=>(_0x1dc4c9,_0x814876)=>_0x273d49(_0x1dc4c9,_0x814876,_0x4229ce);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x118c2d,_0x1cd1f3,_0x46516c){const _0x4e2ae1=_0x4ba9c1;super(),this['_instanceService']=_0x118c2d,this[_0x4e2ae1(0x8c)]=_0x1cd1f3,this[_0x4e2ae1(0x12f)]=_0x46516c;}async['runOnServer'](_0x41cce0,_0x2177ba,_0xd14dac,..._0x54918e){const _0x14e3a5=_0x4ba9c1;var _0x5434f6,_0x44e6ef,_0x3b104a,_0x10aa44;const _0x3cc289=this[_0x14e3a5(0x1d2)][_0x14e3a5(0x26d)]();if(!_0x3cc289)throw new Error(_0x14e3a5(0x132));const _0x23ba03=((_0x5434f6=this[_0x14e3a5(0x12f)]['getConfig'](u[_0x14e3a5(0x231)]))!=null?_0x5434f6:u[_0x14e3a5(0x97)])+'/'+_0x41cce0+_0x14e3a5(0x160)+_0x2177ba,_0x34ac78=new URL(window[_0x14e3a5(0xa3)][_0x14e3a5(0x2b4)]),_0x5a39c0={'scriptId':_0x41cce0,'runId':(_0x44e6ef=_0x34ac78[_0x14e3a5(0x127)][_0x14e3a5(0x17b)]('runId'))!=null?_0x44e6ef:'','function':_0x2177ba,'unitId':_0x3cc289[_0x14e3a5(0xd6)](),'argsOfFunction':JSON[_0x14e3a5(0xaa)](_0x54918e),'invokeId':(_0x3b104a=_0xd14dac['invokeId'])!=null?_0x3b104a:'','executionId':(_0x10aa44=_0xd14dac[_0x14e3a5(0x86)])!=null?_0x10aa44:''};try{const _0x4d5f5b=await this['_httpService']['post'](_0x23ba03,{'body':_0x5a39c0});return _0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x217)]&&_0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x217)][_0x14e3a5(0x10a)]!==Be['OK']?_0x14e3a5(0x2df):_0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x10e)];}catch{return'Failed';}}},exports[_0x4ba9c1(0xda)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x4ba9c1(0x1f9)](G[_0x4ba9c1(0x1b0)])),ue(0x2,a[_0x4ba9c1(0x14e)])],exports['RemoteUniscriptService']),exports[_0x4ba9c1(0x2c5)]=xe,exports[_0x4ba9c1(0x2c3)]=be,exports[_0x4ba9c1(0xe6)]=Pe,exports[_0x4ba9c1(0xe5)]=is,exports['WebURLService']=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x3ac705=_0x4eed;(function(_0x44091f,_0x2a3176){const _0x701ff5=_0x4eed,_0x20afcc=_0x44091f();while(!![]){try{const _0x1f7a1b=parseInt(_0x701ff5(0xde))/0x1+parseInt(_0x701ff5(0xe0))/0x2*(-parseInt(_0x701ff5(0xdd))/0x3)+-parseInt(_0x701ff5(0xed))/0x4+-parseInt(_0x701ff5(0xdb))/0x5*(-parseInt(_0x701ff5(0xe6))/0x6)+parseInt(_0x701ff5(0xea))/0x7*(parseInt(_0x701ff5(0xe2))/0x8)+parseInt(_0x701ff5(0xe9))/0x9+-parseInt(_0x701ff5(0xf0))/0xa;if(_0x1f7a1b===_0x2a3176)break;else _0x20afcc['push'](_0x20afcc['shift']());}catch(_0x24646c){_0x20afcc['push'](_0x20afcc['shift']());}}}(_0x14e1,0xf0d04));function _0x4eed(_0x4c69ed,_0x57f637){const _0x14e130=_0x14e1();return _0x4eed=function(_0x4eed66,_0x35a108){_0x4eed66=_0x4eed66-0xdb;let _0x3430ab=_0x14e130[_0x4eed66];return _0x3430ab;},_0x4eed(_0x4c69ed,_0x57f637);}function _0x14e1(){const _0xe5cf7=['Authentication\x20Error','9642030MIrlMk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','85qJedOc','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4119EDYvkM','1343990NeTrLJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','778LCiIen','Syncing...','2759336xsjGuc','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','648246vASDEX','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8245197gJnJWD','7JABCUp','Click\x20to\x20Reconnect','Synced','7828260tpLHvV','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x14e1=function(){return _0xe5cf7;};return _0x14e1();}const e={'collab-client':{'tooltip':{'reconnect':_0x3ac705(0xeb)}},'collabStatus':{'fetchMiss':_0x3ac705(0xe5),'conflict':'Edit\x20conflicts','notCollab':_0x3ac705(0xe7),'synced':_0x3ac705(0xec),'syncing':_0x3ac705(0xe1),'offline':_0x3ac705(0xe8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3ac705(0xee),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3ac705(0xf1)},'conflict':{'title':'Collaboration\x20Conflict','content':'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.'},'permission':{'title':_0x3ac705(0xef),'content':_0x3ac705(0xdf)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3ac705(0xe4)},'auth':{'needGotoLoginAlert':_0x3ac705(0xdc)}};module[_0x3ac705(0xe3)]=e;
|