@univerjs-pro/collaboration-client-ui 0.6.7 → 0.6.9-experimental.20250403-d914ddc
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 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- 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 +18 -18
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x27c5(_0x126cae,_0x4315f1){const _0x47afa5=_0x47af();return _0x27c5=function(_0x27c596,_0x203b47){_0x27c596=_0x27c596-0x104;let _0x49f7f6=_0x47afa5[_0x27c596];return _0x49f7f6;},_0x27c5(_0x126cae,_0x4315f1);}const _0x40a0e5=_0x27c5;(function(_0x5c2a2f,_0x4278d6){const _0x26dabc=_0x27c5,_0x28612f=_0x5c2a2f();while(!![]){try{const _0x132ab9=parseInt(_0x26dabc(0x10b))/0x1+parseInt(_0x26dabc(0x107))/0x2*(parseInt(_0x26dabc(0x114))/0x3)+-parseInt(_0x26dabc(0x105))/0x4*(parseInt(_0x26dabc(0x110))/0x5)+parseInt(_0x26dabc(0x111))/0x6*(parseInt(_0x26dabc(0x109))/0x7)+parseInt(_0x26dabc(0x112))/0x8*(parseInt(_0x26dabc(0x113))/0x9)+-parseInt(_0x26dabc(0x10d))/0xa*(-parseInt(_0x26dabc(0x10e))/0xb)+parseInt(_0x26dabc(0x115))/0xc*(-parseInt(_0x26dabc(0x104))/0xd);if(_0x132ab9===_0x4278d6)break;else _0x28612f['push'](_0x28612f['shift']());}catch(_0x546888){_0x28612f['push'](_0x28612f['shift']());}}}(_0x47af,0x76702));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x40a0e5(0x106));class c extends e['FUniver']{[_0x40a0e5(0x10c)](_0x3af025,_0x44063f,..._0x40c6a5){const _0x306cac=_0x40a0e5;return this[_0x306cac(0x10f)]['get'](t[_0x306cac(0x108)])[_0x306cac(0x10c)](_0x3af025,_0x44063f,{},..._0x40c6a5);}}e['FUniver'][_0x40a0e5(0x10a)](c);function _0x47af(){const _0x7ef27c=['RemoteUniscriptService','427693gJzuhg','extend','582590nVBNgH','runOnServer','1193590avuTfa','33NzzTMj','_injector','185695xasDJT','48omMwij','7555352JUIJQv','9XnDQHj','2060043HNXaPw','26448564VqUIyZ','13KWfGyy','40CipmZQ','@univerjs/core/facade','2IuakxU'];_0x47af=function(){return _0x7ef27c;};return _0x47af();}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1cc422=_0x1c04;(function(_0x34aeb9,_0x129c59){const _0xd1a31f=_0x1c04,_0x42cd5c=_0x34aeb9();while(!![]){try{const _0x3267ab=parseInt(_0xd1a31f(0x16d))/0x1*(-parseInt(_0xd1a31f(0xec))/0x2)+parseInt(_0xd1a31f(0x146))/0x3+-parseInt(_0xd1a31f(0x200))/0x4*(parseInt(_0xd1a31f(0x233))/0x5)+-parseInt(_0xd1a31f(0x20f))/0x6+-parseInt(_0xd1a31f(0x11b))/0x7+-parseInt(_0xd1a31f(0x377))/0x8*(-parseInt(_0xd1a31f(0x115))/0x9)+parseInt(_0xd1a31f(0x17d))/0xa;if(_0x3267ab===_0x129c59)break;else _0x42cd5c['push'](_0x42cd5c['shift']());}catch(_0x2a749){_0x42cd5c['push'](_0x42cd5c['shift']());}}}(_0x2eb0,0xe810a));var Xe=Object[_0x1cc422(0x2da)],Ge=(_0x4961fd,_0x3ff728,_0xd59f7f)=>_0x3ff728 in _0x4961fd?Xe(_0x4961fd,_0x3ff728,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd59f7f}):_0x4961fd[_0x3ff728]=_0xd59f7f,h=(_0x4ab2c4,_0x30cd02,_0x282f91)=>Ge(_0x4ab2c4,typeof _0x30cd02!=_0x1cc422(0x33b)?_0x30cd02+'':_0x30cd02,_0x282f91);Object[_0x1cc422(0x2da)](exports,Symbol[_0x1cc422(0x316)],{'value':_0x1cc422(0x225)});const u=require(_0x1cc422(0x24b)),a=require(_0x1cc422(0x2b7)),p=require('@univerjs/engine-render'),q=require(_0x1cc422(0x307)),b=require(_0x1cc422(0x2cd)),qe=require(_0x1cc422(0x17c)),d=require(_0x1cc422(0x2b9)),Y=require(_0x1cc422(0x22c)),m=require('@univerjs-pro/collaboration'),Te=require(_0x1cc422(0x14a)),g=require(_0x1cc422(0x29d)),$=require(_0x1cc422(0x2bc)),G=require(_0x1cc422(0x245)),w=require('react/jsx-runtime'),R=require(_0x1cc422(0x246)),T=require(_0x1cc422(0x331)),M=require(_0x1cc422(0x30b)),Ke=require('@univerjs/rpc');var ze=Object[_0x1cc422(0x1fc)],Je=(_0x1ca011,_0x31a186,_0x5aac07,_0x251859)=>{const _0x5e2872=_0x1cc422;for(var _0x3c15f8=_0x251859>0x1?void 0x0:_0x251859?ze(_0x31a186,_0x5aac07):_0x31a186,_0x4c6191=_0x1ca011[_0x5e2872(0x357)]-0x1,_0x4d8444;_0x4c6191>=0x0;_0x4c6191--)(_0x4d8444=_0x1ca011[_0x4c6191])&&(_0x3c15f8=_0x4d8444(_0x3c15f8)||_0x3c15f8);return _0x3c15f8;},Re=(_0x58690e,_0x4fb91b)=>(_0x2c6e0a,_0x261b24)=>_0x4fb91b(_0x2c6e0a,_0x261b24,_0x58690e);let fe=class extends a[_0x1cc422(0x2c3)]{constructor(_0x2c85da,_0x331d5e){const _0x26b435=_0x1cc422;super(),this[_0x26b435(0x222)]=_0x2c85da,this[_0x26b435(0x32c)]=_0x331d5e,this[_0x26b435(0x28c)]();}[_0x1cc422(0x28c)](){const _0x3b8eb1=_0x1cc422,_0x204a1b=this;this['disposeWithMe'](this[_0x3b8eb1(0x222)][_0x3b8eb1(0x324)]({'onBeforePasteImage':async _0x190484=>{const _0x52aa6d=_0x3b8eb1,_0x430434=await _0x204a1b['_imageIoService'][_0x52aa6d(0x290)](_0x190484);return _0x430434?{'source':_0x430434['source'],'imageSourceType':_0x430434[_0x52aa6d(0x17a)]}:null;}}));}};fe=Je([Re(0x0,b['IDocClipboardService']),Re(0x1,qe[_0x1cc422(0x21e)])],fe);const Oe=[_0x1cc422(0x110),_0x1cc422(0x1d1),_0x1cc422(0x1e2),_0x1cc422(0x1e6),'blue400',_0x1cc422(0x361)];class Ce extends a[_0x1cc422(0x34e)]{constructor(){const _0x50079c=_0x1cc422;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x50079c(0x220),0x0);}[_0x1cc422(0x354)](_0x18977f){const _0x53e745=_0x1cc422;if(this[_0x53e745(0x265)][_0x53e745(0x139)](_0x18977f))return this[_0x53e745(0x265)][_0x53e745(0x12a)](_0x18977f);const _0x413120=Oe[this['_colorIndex']];return this['_colorIndex']=(this[_0x53e745(0x220)]+0x1)%Oe['length'],this[_0x53e745(0x265)][_0x53e745(0x2ab)](_0x18977f,_0x413120),_0x413120;}}function Le(_0x5a28b5){let _0x296f9d='';for(const _0x5407ca of _0x5a28b5){const {startOffset:_0x3a756a,endOffset:_0x1678cb,isActive:_0x387246,rangeType:_0x43777a,segmentId:_0x1b3cbd,segmentPage:_0x368207}=_0x5407ca;_0x296f9d['length']&&(_0x296f9d+=','),_0x296f9d+=_0x3a756a+':'+_0x1678cb+':'+(_0x387246?'1':'0')+':'+_0x43777a+':'+_0x1b3cbd+':'+_0x368207;}return _0x296f9d;}function Ze(_0x1f7c53){const _0x51589d=_0x1cc422,_0xb2625=_0x1f7c53['split'](','),_0x2b11b7=[];for(const _0x101cc2 of _0xb2625){const [_0x349d78,_0x13c0c2,_0x7ac9,_0x45096d,_0x34eb70,_0x15545f]=_0x101cc2['split'](':');_0x2b11b7[_0x51589d(0x2ff)]({'startOffset':Number(_0x349d78),'endOffset':Number(_0x13c0c2),'collapsed':_0x349d78===_0x13c0c2,'isActive':_0x7ac9==='1','rangeType':_0x45096d===a[_0x51589d(0x223)][_0x51589d(0x2af)]?a[_0x51589d(0x223)][_0x51589d(0x2af)]:a[_0x51589d(0x223)][_0x51589d(0x28d)],'segmentId':typeof _0x34eb70==_0x51589d(0x28a)?String(_0x34eb70):'','segmentPage':Number(_0x15545f!=null?_0x15545f:-0x1)});}return _0x2b11b7[_0x51589d(0x165)](_0xb5e58b=>_0xb5e58b[_0x51589d(0x1df)])||(_0x2b11b7[0x0][_0x51589d(0x1df)]=!0x0),_0x2b11b7;}class pe extends a[_0x1cc422(0x2c3)]{constructor(){const _0x49e435=_0x1cc422;super(...arguments),h(this,_0x49e435(0x2a0),new d['BehaviorSubject'](null)),h(this,'collabCursorState$',this[_0x49e435(0x2a0)][_0x49e435(0x132)]());}[_0x1cc422(0x267)](_0x225254){const _0x29f619=_0x1cc422,{unitID:_0x74817b,memberID:_0x59a66e,textRanges:_0x1f27b5}=_0x225254,_0x282d89=Le(_0x1f27b5);if(_0x282d89==='')return;const _0xbeb4bf={'unitID':_0x74817b,'memberID':_0x59a66e,'selection':_0x282d89};this[_0x29f619(0x2a0)][_0x29f619(0x364)](_0xbeb4bf);}}var Qe=Object['getOwnPropertyDescriptor'],et=(_0xb6fc3e,_0x5079e9,_0x10d91d,_0x1e378d)=>{for(var _0x11a1e2=_0x1e378d>0x1?void 0x0:_0x1e378d?Qe(_0x5079e9,_0x10d91d):_0x5079e9,_0x130a2b=_0xb6fc3e['length']-0x1,_0xb9d267;_0x130a2b>=0x0;_0x130a2b--)(_0xb9d267=_0xb6fc3e[_0x130a2b])&&(_0x11a1e2=_0xb9d267(_0x11a1e2)||_0x11a1e2);return _0x11a1e2;},P=(_0x5da1c4,_0x23d8cb)=>(_0x3a7ae1,_0x2a611a)=>_0x23d8cb(_0x3a7ae1,_0x2a611a,_0x5da1c4);const tt=0x12c,st=0x64;let Se=class extends a[_0x1cc422(0x2c3)]{constructor(_0x220fd5,_0x12c079,_0x3c9b8f,_0x51ff23,_0x30d9b7,_0x13b61f,_0x264378,_0x54e3ef,_0x30c2ff){const _0x1b05a5=_0x1cc422;super(),h(this,_0x1b05a5(0x18e),!0x1),h(this,_0x1b05a5(0x28c),!0x1),h(this,_0x1b05a5(0x2f3),new d['BehaviorSubject'](new Map())),h(this,_0x1b05a5(0x292),this[_0x1b05a5(0x2f3)][_0x1b05a5(0x132)]()),h(this,'_roomMembers$',new d[(_0x1b05a5(0xf0))]([])),h(this,_0x1b05a5(0x372),this['_roomMembers$'][_0x1b05a5(0x1f0)](d['debounceTime'](tt))),h(this,'_updateLocalCursor',a[_0x1b05a5(0x2de)](_0x419932=>{const _0x150500=_0x1b05a5,_0x406892={'eventID':m['CollaborationEvent'][_0x150500(0x2fc)],'data':{'unitID':this[_0x150500(0x215)],'memberID':this[_0x150500(0x206)][_0x150500(0x1d5)](),'selection':Le(_0x419932)}};this['_session'][_0x150500(0x2f6)](_0x406892,this[_0x150500(0x215)]);},st)),(this[_0x1b05a5(0x215)]=_0x220fd5,this[_0x1b05a5(0x206)]=_0x12c079,this[_0x1b05a5(0x154)]=_0x3c9b8f,this['_colorAssignService']=_0x51ff23,this[_0x1b05a5(0x312)]=_0x30d9b7,this[_0x1b05a5(0x31e)]=_0x13b61f,this[_0x1b05a5(0x2f0)]=_0x264378,this[_0x1b05a5(0x10e)]=_0x54e3ef,this[_0x1b05a5(0x113)]=_0x30c2ff);}get['cursorInfo'](){const _0x47768c=_0x1cc422;return this[_0x47768c(0x2f3)][_0x47768c(0x2e9)]();}get['roomMembers'](){const _0x4070cf=_0x1cc422;return this[_0x4070cf(0x29c)]['getValue']();}[_0x1cc422(0x119)](){const _0x4b6566=_0x1cc422;super[_0x4b6566(0x119)](),this[_0x4b6566(0x2f3)][_0x4b6566(0x364)](new Map()),this[_0x4b6566(0x2f3)][_0x4b6566(0x342)](),this[_0x4b6566(0x29c)][_0x4b6566(0x364)]([]),this[_0x4b6566(0x29c)][_0x4b6566(0x342)]();}['init'](){const _0xde3c49=_0x1cc422;this[_0xde3c49(0x28c)]||(this[_0xde3c49(0x28c)]=!0x0,this[_0xde3c49(0x206)][_0xde3c49(0x353)][_0xde3c49(0x1f0)](d[_0xde3c49(0xf8)](this[_0xde3c49(0x129)]))['subscribe'](_0x5236af=>{const _0xa87d3d=_0xde3c49;_0x5236af===u[_0xa87d3d(0x11a)][_0xa87d3d(0x272)]?this[_0xa87d3d(0x179)]():this[_0xa87d3d(0x15f)]();}),this[_0xde3c49(0x206)]['event$']['pipe'](d[_0xde3c49(0xf8)](this[_0xde3c49(0x129)]))[_0xde3c49(0x24c)](_0x16a135=>{const _0x4d9bc3=_0xde3c49,_0x97c50=_0x16a135[_0x4d9bc3(0x1d2)];_0x97c50===m[_0x4d9bc3(0x359)]['UPDATE_CURSOR']&&this[_0x4d9bc3(0x23c)](_0x16a135),_0x97c50===m['CollaborationEvent'][_0x4d9bc3(0x14e)]&&this[_0x4d9bc3(0x12f)](_0x16a135);}),this['disposeWithMe'](this[_0xde3c49(0x113)][_0xde3c49(0x350)](_0x132f6a=>{const _0x13188e=_0xde3c49,_0x1a87aa=_0x132f6a[_0x13188e(0x133)];_0x1a87aa!=null&&this[_0x13188e(0x18e)]&&_0x132f6a['id']===Y['SetTextSelectionsOperation']['id']&&_0x1a87aa[_0x13188e(0x243)]===this[_0x13188e(0x215)]&&_0x1a87aa[_0x13188e(0x12c)]===!0x1&&_0x1a87aa[_0x13188e(0x248)]['length']>0x0&&this[_0x13188e(0x141)](_0x1a87aa['ranges']);})),this[_0xde3c49(0x31e)][_0xde3c49(0x2c9)][_0xde3c49(0x1f0)](d['takeUntil'](this['dispose$']))[_0xde3c49(0x24c)](_0x113223=>{const _0x27272d=_0xde3c49;if((_0x113223==null?void 0x0:_0x113223[_0x27272d(0x215)])!==this[_0x27272d(0x215)])return;const _0x4abb10={'eventID':m[_0x27272d(0x359)][_0x27272d(0x2fc)],'data':_0x113223};this[_0x27272d(0x23c)](_0x4abb10);}),this[_0xde3c49(0x149)](this[_0xde3c49(0x113)][_0xde3c49(0x350)](_0x3dd6a4=>{const _0x53c68f=_0xde3c49;if(_0x3dd6a4[_0x53c68f(0x133)]==null)return;const _0x28b2e9=_0x3dd6a4[_0x53c68f(0x133)];if(_0x3dd6a4['id']!==Y['RichTextEditingMutation']['id']||_0x28b2e9['unitId']!==this[_0x53c68f(0x215)])return;const _0x13fed8={'id':'doc.mutation.rich-text-editing','params':_0x28b2e9},_0x4ddd5b=this[_0x53c68f(0x29a)];for(const [_0x17107f,_0x374b83]of _0x4ddd5b){const _0x2b4c7b={'id':_0x53c68f(0x32b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x374b83[_0x53c68f(0x248)]}},_0x219881=this['_transformService'][_0x53c68f(0x124)](_0x13fed8,_0x2b4c7b,!0x1);if(m[_0x53c68f(0x1f8)](_0x219881))throw _0x219881[_0x53c68f(0x1c0)];_0x4ddd5b['set'](_0x17107f,{..._0x374b83,'ranges':_0x219881[_0x53c68f(0x343)][_0x53c68f(0x133)][_0x53c68f(0x194)]});}queueMicrotask(()=>{const _0x5f4ca6=_0x53c68f;this[_0x5f4ca6(0x2f3)]['next'](_0x4ddd5b);});})));}[_0x1cc422(0x23c)](_0x4b49f0){const _0x2d6c1b=_0x1cc422;var _0xad6878,_0x58b8c5;const {memberID:_0x54432e,selection:_0x45849c}=_0x4b49f0[_0x2d6c1b(0x2cb)],_0x22f6ec=Ze(_0x45849c),_0x16eaa1=(_0x58b8c5=(_0xad6878=this[_0x2d6c1b(0x312)]['getMember'](this['unitID'],_0x54432e))==null?void 0x0:_0xad6878[_0x2d6c1b(0x1fb)])!=null?_0x58b8c5:_0x2d6c1b(0x338),_0xeb39fc={'color':this[_0x2d6c1b(0x27e)]['assignAColorForMemberID'](_0x54432e),'name':_0x16eaa1,'ranges':_0x22f6ec},_0x39f49e=this[_0x2d6c1b(0x29a)];_0x39f49e[_0x2d6c1b(0x2ab)](_0x54432e,_0xeb39fc),this[_0x2d6c1b(0x2f3)][_0x2d6c1b(0x364)](_0x39f49e);}[_0x1cc422(0x12f)](_0x4a5dfe){const _0x484fc1=_0x1cc422,{memberID:_0x44ba30}=_0x4a5dfe['data'],_0x1ae75a=this['cursorInfo'];_0x1ae75a['delete'](_0x44ba30),this[_0x484fc1(0x2f3)]['next'](_0x1ae75a);}[_0x1cc422(0x179)](){const _0x34e52a=_0x1cc422;var _0x55e5c0;if(this[_0x34e52a(0x18e)]=!0x0,((_0x55e5c0=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x55e5c0[_0x34e52a(0x111)]())!==this[_0x34e52a(0x215)])return;const _0x4970bb=this[_0x34e52a(0x154)][_0x34e52a(0x12a)](Y['DocSelectionManagerService'])[_0x34e52a(0x136)]();Array[_0x34e52a(0x2fb)](_0x4970bb)&&_0x4970bb['length']>0x0&&this[_0x34e52a(0x141)](_0x4970bb);}[_0x1cc422(0x15f)](){this['_online']=!0x1;}};Se=et([P(0x2,a['Inject'](a['Injector'])),P(0x3,a[_0x1cc422(0x1f4)](Ce)),P(0x4,a[_0x1cc422(0x1f4)](u[_0x1cc422(0x2a7)])),P(0x5,a[_0x1cc422(0x1f4)](pe)),P(0x6,m['ITransformService']),P(0x7,a[_0x1cc422(0x195)]),P(0x8,a['ICommandService'])],Se);var nt=Object[_0x1cc422(0x1fc)],it=(_0x26a30d,_0x4cefc2,_0x2c882b,_0x61be99)=>{for(var _0x376344=_0x61be99>0x1?void 0x0:_0x61be99?nt(_0x4cefc2,_0x2c882b):_0x4cefc2,_0x5bb59b=_0x26a30d['length']-0x1,_0x5b2019;_0x5bb59b>=0x0;_0x5bb59b--)(_0x5b2019=_0x26a30d[_0x5bb59b])&&(_0x376344=_0x5b2019(_0x376344)||_0x376344);return _0x376344;},A=(_0x13c028,_0x18e4c3)=>(_0x264cf7,_0x151a70)=>_0x18e4c3(_0x264cf7,_0x151a70,_0x13c028);const rt=0x12c,ot=0x64,at=()=>{let _0x399fde=[],_0x505019=!0x1;return _0x596a5b=>{const _0x59d9ba=_0x1c04;_0x399fde[_0x59d9ba(0x2ff)](_0x596a5b),_0x505019||(_0x505019=!0x0,setTimeout(()=>{const _0x1c6c43=_0x59d9ba;_0x399fde[_0x1c6c43(0x298)](_0x3fe130=>_0x3fe130()),_0x399fde=[],_0x505019=!0x1;}));};};let Ie=class extends a[_0x1cc422(0x2c3)]{constructor(_0x512261,_0x42ad14,_0x3944af,_0x38cac5,_0x5546fa,_0x3631c0,_0xd9fc9c,_0x45e7a4){const _0xb193b1=_0x1cc422;super(),h(this,_0xb193b1(0x18e),!0x1),h(this,_0xb193b1(0x28c),!0x1),h(this,_0xb193b1(0x2f3),new d[(_0xb193b1(0xf0))](new Map())),h(this,_0xb193b1(0x292),this['_cursorInfo$'][_0xb193b1(0x132)]()),h(this,_0xb193b1(0x29c),new d[(_0xb193b1(0xf0))]([])),h(this,_0xb193b1(0x372),this[_0xb193b1(0x29c)][_0xb193b1(0x1f0)](d['debounceTime'](rt))),h(this,'_updateLocalCursor',a[_0xb193b1(0x2de)]((_0x599448,_0x1443d4)=>{const _0xbd7cda=_0xb193b1,_0x9410e3={'eventID':m[_0xbd7cda(0x359)][_0xbd7cda(0x2fc)],'data':{'unitID':this[_0xbd7cda(0x215)],'memberID':this['_session'][_0xbd7cda(0x1d5)](),'selection':Te[_0xbd7cda(0x306)](_0x599448,_0x1443d4[_0xbd7cda(0x186)])}};this[_0xbd7cda(0x206)]['send'](_0x9410e3,this[_0xbd7cda(0x215)]);},ot)),(this[_0xb193b1(0x215)]=_0x512261,this['_session']=_0x42ad14,this[_0xb193b1(0x154)]=_0x3944af,this[_0xb193b1(0x27e)]=_0x38cac5,this[_0xb193b1(0x312)]=_0x5546fa,this['_univerInstanceService']=_0x3631c0,this[_0xb193b1(0x113)]=_0xd9fc9c,this[_0xb193b1(0x1fd)]=_0x45e7a4);}get[_0x1cc422(0x29a)](){const _0x296588=_0x1cc422;return this[_0x296588(0x2f3)][_0x296588(0x2e9)]();}get[_0x1cc422(0x2e5)](){const _0x3b8cb0=_0x1cc422;return this[_0x3b8cb0(0x29c)][_0x3b8cb0(0x2e9)]();}['dispose'](){const _0x4d77f5=_0x1cc422;super[_0x4d77f5(0x119)](),this[_0x4d77f5(0x2f3)][_0x4d77f5(0x364)](new Map()),this[_0x4d77f5(0x2f3)][_0x4d77f5(0x342)](),this[_0x4d77f5(0x29c)]['next']([]),this[_0x4d77f5(0x29c)]['complete']();}['init'](){const _0x3e01b8=_0x1cc422;this[_0x3e01b8(0x28c)]||(this[_0x3e01b8(0x28c)]=!0x0,this[_0x3e01b8(0x206)][_0x3e01b8(0x353)][_0x3e01b8(0x1f0)](d[_0x3e01b8(0xf8)](this[_0x3e01b8(0x129)]))[_0x3e01b8(0x24c)](_0x91111b=>{const _0x3fabf2=_0x3e01b8;_0x91111b===u[_0x3fabf2(0x11a)]['ONLINE']?this[_0x3fabf2(0x179)]():this['_toggleOffline']();}),this[_0x3e01b8(0x206)][_0x3e01b8(0x198)][_0x3e01b8(0x1f0)](d['takeUntil'](this['dispose$']))[_0x3e01b8(0x24c)](_0x5495f1=>{const _0xc7db17=_0x3e01b8,_0x551342=_0x5495f1['eventID'];_0x551342===m[_0xc7db17(0x359)][_0xc7db17(0x2fc)]&&this[_0xc7db17(0x23c)](_0x5495f1),_0x551342===m[_0xc7db17(0x359)]['USERS_LEAVE']&&this[_0xc7db17(0x12f)](_0x5495f1);}),this[_0x3e01b8(0x23a)](),this[_0x3e01b8(0x149)](this[_0x3e01b8(0x113)][_0x3e01b8(0x350)](_0x18231c=>{const _0x17985e=_0x3e01b8;if(this[_0x17985e(0x18e)]&&_0x18231c['id']===g[_0x17985e(0x271)]['id']&&_0x18231c[_0x17985e(0x133)][_0x17985e(0x243)]===this[_0x17985e(0x215)]){const _0xdd6440=_0x18231c[_0x17985e(0x133)];this[_0x17985e(0x141)](_0xdd6440[_0x17985e(0x315)],_0xdd6440[_0x17985e(0x329)][0x0]);}})));}[_0x1cc422(0x23c)](_0x2d461a){const _0x4e7b35=_0x1cc422;var _0x1116fe,_0x3c06c1;const {memberID:_0x5338e7,selection:_0x401fab}=_0x2d461a[_0x4e7b35(0x2cb)],{sheetName:_0xaf0fb,range:_0x37a753}=Te[_0x4e7b35(0x15e)](_0x401fab),_0x1bcbfe={'name':(_0x3c06c1=(_0x1116fe=this[_0x4e7b35(0x312)][_0x4e7b35(0x114)](this[_0x4e7b35(0x215)],_0x5338e7))==null?void 0x0:_0x1116fe[_0x4e7b35(0x1fb)])!=null?_0x3c06c1:_0x4e7b35(0x338),'range':this[_0x4e7b35(0x1cd)](_0xaf0fb,_0x37a753),'sheetID':_0xaf0fb,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5338e7),'selection':_0x401fab},_0x4ce111=this[_0x4e7b35(0x29a)];_0x4ce111[_0x4e7b35(0x2ab)](_0x5338e7,_0x1bcbfe),this['_cursorInfo$'][_0x4e7b35(0x364)](_0x4ce111);}[_0x1cc422(0x12f)](_0x5d8287){const _0x18523f=_0x1cc422,{memberID:_0x392568}=_0x5d8287['data'],_0x5c1a4e=this['cursorInfo'];_0x5c1a4e[_0x18523f(0x23e)](_0x392568),this['_cursorInfo$']['next'](_0x5c1a4e);}[_0x1cc422(0x1cd)](_0x262d7d,_0xaa0755){const _0x4266df=_0x1cc422;var _0x56585b,_0x1e659a;const _0x4f1d58=(_0x1e659a=(_0x56585b=this[_0x4266df(0x10e)]['getUniverSheetInstance'](this[_0x4266df(0x215)]))==null?void 0x0:_0x56585b[_0x4266df(0x24f)](_0x262d7d))==null?void 0x0:_0x1e659a[_0x4266df(0x317)]();return(_0x4f1d58==null?void 0x0:_0x4f1d58[_0x4266df(0x323)](_0x190b6d=>a[_0x4266df(0x31b)]['contains'](_0x190b6d,_0xaa0755)))||_0xaa0755;}['_onRefRangeChange'](){const _0x9375b0=_0x1cc422,_0x9a413f=new a['DisposableCollection'](),_0x3088ef=at(),_0x3736a4=()=>{const _0x2e30cd=_0x1c04;_0x9a413f[_0x2e30cd(0x119)]();const _0x39566b=(_0x3a6dca,_0x2699cf,_0x1e9055,_0x3f7352)=>{const _0x462e0e=_0x2e30cd;let _0x169bdb=[];switch(_0x3a6dca['id']){case g[_0x462e0e(0x21d)][_0x462e0e(0x335)]:{_0x169bdb=g[_0x462e0e(0x229)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)]['DeleteRangeMoveUpCommandId']:{_0x169bdb=g['handleDeleteRangeMoveUp'](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x117)]:{_0x169bdb=g[_0x462e0e(0x21c)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x2a6)]:{_0x169bdb=g['handleInsertRangeMoveDown'](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x128)]:{_0x169bdb=g[_0x462e0e(0x360)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x1fe)]:{_0x169bdb=g[_0x462e0e(0x20a)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)]['MoveRangeCommandId']:{_0x169bdb=g[_0x462e0e(0x29f)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x1da)]:{_0x169bdb=g[_0x462e0e(0x219)](_0x3a6dca,_0x3f7352);break;}case g[_0x462e0e(0x21d)][_0x462e0e(0x363)]:{_0x169bdb=g[_0x462e0e(0x1ba)](_0x3a6dca,_0x3f7352);break;}}const _0x7efd7=g[_0x462e0e(0x378)](_0x169bdb,_0x3f7352),_0x497f26=this[_0x462e0e(0x29a)][_0x462e0e(0x12a)](_0x2699cf);if(_0x497f26&&_0x7efd7){const _0x36fda7={..._0x497f26,'range':_0x7efd7};this[_0x462e0e(0x29a)][_0x462e0e(0x2ab)](_0x2699cf,_0x36fda7),_0x3088ef(()=>{const _0x22f5d9=_0x462e0e,_0x843e03=this[_0x22f5d9(0x1fd)][_0x22f5d9(0x36b)](_0x7efd7,_0x41f875=>(_0x843e03['dispose'](),_0x39566b(_0x41f875,_0x2699cf,_0x1e9055,_0x7efd7)));_0x9a413f[_0x22f5d9(0x1af)](_0x843e03);});}return{'redos':[],'undos':[]};};this[_0x2e30cd(0x29a)][_0x2e30cd(0x298)]((_0x21d916,_0x51da0c)=>{const _0x4d7af1=_0x2e30cd,{range:_0x1b2de4,sheetID:_0x4bd9ce}=_0x21d916,_0x26c113=this[_0x4d7af1(0x1fd)]['registerRefRange'](_0x1b2de4,_0x3b6735=>(_0x26c113[_0x4d7af1(0x119)](),_0x39566b(_0x3b6735,_0x51da0c,_0x4bd9ce,_0x1b2de4)));_0x9a413f[_0x4d7af1(0x1af)](_0x26c113);});};this[_0x9375b0(0x149)](a['toDisposable'](this[_0x9375b0(0x2f3)][_0x9375b0(0x24c)](()=>{_0x3736a4();})));}[_0x1cc422(0x179)](){const _0x7a3fd5=_0x1cc422;var _0x108871,_0x1a2c5e;if(this[_0x7a3fd5(0x18e)]=!0x0,((_0x108871=this[_0x7a3fd5(0x10e)][_0x7a3fd5(0x308)]())==null?void 0x0:_0x108871[_0x7a3fd5(0x111)]())!==this[_0x7a3fd5(0x215)])return;const _0x30928d=(_0x1a2c5e=this[_0x7a3fd5(0x154)][_0x7a3fd5(0x12a)](g[_0x7a3fd5(0x319)])[_0x7a3fd5(0x320)]())==null?void 0x0:_0x1a2c5e[0x0],_0x34875c=this['_univerInstanceService'][_0x7a3fd5(0x15c)](a[_0x7a3fd5(0x340)][_0x7a3fd5(0xfc)])['getActiveSheet']();_0x30928d&&_0x34875c&&this[_0x7a3fd5(0x141)](_0x34875c[_0x7a3fd5(0x2ec)](),_0x30928d);}[_0x1cc422(0x15f)](){this['_online']=!0x1;}};Ie=it([A(0x2,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x125)])),A(0x3,a[_0x1cc422(0x1f4)](Ce)),A(0x4,a[_0x1cc422(0x1f4)](u[_0x1cc422(0x2a7)])),A(0x5,a[_0x1cc422(0x195)]),A(0x6,a['ICommandService']),A(0x7,a['Inject'](g[_0x1cc422(0x162)]))],Ie);var ct=Object[_0x1cc422(0x1fc)],lt=(_0x13f4bf,_0x13e1c6,_0x5aba1d,_0x4ecef4)=>{const _0x233d63=_0x1cc422;for(var _0x382f2d=_0x4ecef4>0x1?void 0x0:_0x4ecef4?ct(_0x13e1c6,_0x5aba1d):_0x13e1c6,_0x562d0a=_0x13f4bf[_0x233d63(0x357)]-0x1,_0x1c6d54;_0x562d0a>=0x0;_0x562d0a--)(_0x1c6d54=_0x13f4bf[_0x562d0a])&&(_0x382f2d=_0x1c6d54(_0x382f2d)||_0x382f2d);return _0x382f2d;},ie=(_0x773fa6,_0x643115)=>(_0x14cc05,_0x2f315c)=>_0x643115(_0x14cc05,_0x2f315c,_0x773fa6);let x=class extends a[_0x1cc422(0x2c3)]{constructor(_0x375f1d,_0x430180,_0x196f5c){const _0x10b11a=_0x1cc422;super(),h(this,_0x10b11a(0x2b5),new Map()),h(this,_0x10b11a(0x371),new d[(_0x10b11a(0x16f))]()),(this['_univerInstanceService']=_0x375f1d,this['_injector']=_0x430180,this['_collabSessionService']=_0x196f5c,this['_init']());}[_0x1cc422(0x119)](){const _0x1e716d=_0x1cc422;super[_0x1e716d(0x119)](),this[_0x1e716d(0x371)][_0x1e716d(0x342)](),this[_0x1e716d(0x2b5)][_0x1e716d(0x298)](_0x64fb77=>_0x64fb77[_0x1e716d(0x119)]());}[_0x1cc422(0x104)](_0x36c599){const _0x3d056a=_0x1cc422;return this[_0x3d056a(0x2b5)][_0x3d056a(0x139)](_0x36c599)?this[_0x3d056a(0x2b5)]['get'](_0x36c599)[_0x3d056a(0x292)]:this[_0x3d056a(0x371)][_0x3d056a(0x1f0)](d['filter'](_0x1cf7ba=>_0x1cf7ba[_0x3d056a(0x215)]===_0x36c599),d[_0x3d056a(0x217)](_0x18afc0=>_0x18afc0[_0x3d056a(0x292)]));}[_0x1cc422(0x28c)](){const _0x149e89=_0x1cc422;this[_0x149e89(0x10e)][_0x149e89(0x2d0)](a[_0x149e89(0x340)][_0x149e89(0xfc)])[_0x149e89(0x1f0)](d['takeUntil'](this[_0x149e89(0x129)]))[_0x149e89(0x24c)](async _0x3515b9=>{const _0x1ebcc8=_0x149e89,_0x3b05fb=_0x3515b9['getUnitId'](),_0x36076f=await this[_0x1ebcc8(0x1e0)](_0x3b05fb);this[_0x1ebcc8(0x371)][_0x1ebcc8(0x364)](_0x36076f),this[_0x1ebcc8(0x2b5)]['set'](_0x3b05fb,_0x36076f);}),this[_0x149e89(0x10e)][_0x149e89(0x2d0)](a[_0x149e89(0x340)][_0x149e89(0x193)])[_0x149e89(0x1f0)](d[_0x149e89(0xf8)](this[_0x149e89(0x129)]))['pipe'](d['filter'](_0xcdd11=>!_0xcdd11[_0x149e89(0x111)]()[_0x149e89(0x351)]('__')))[_0x149e89(0x24c)](async _0x4a561e=>{const _0x5f05ac=_0x149e89,_0x599563=_0x4a561e[_0x5f05ac(0x111)](),_0x3b456f=await this[_0x5f05ac(0x2c5)](_0x599563);this[_0x5f05ac(0x371)]['next'](_0x3b456f),this['_entities']['set'](_0x599563,_0x3b456f);}),d[_0x149e89(0x10f)](this[_0x149e89(0x10e)][_0x149e89(0x251)](a['UniverInstanceType'][_0x149e89(0x193)]),this[_0x149e89(0x10e)][_0x149e89(0x251)](a[_0x149e89(0x340)][_0x149e89(0xfc)]))['pipe'](d[_0x149e89(0xf8)](this['dispose$']))[_0x149e89(0x24c)](_0x12c1aa=>{const _0x22f067=_0x149e89,_0xaa074a=_0x12c1aa[_0x22f067(0x111)](),_0x5185be=this['_entities'][_0x22f067(0x12a)](_0xaa074a);_0x5185be&&(_0x5185be['dispose'](),this[_0x22f067(0x2b5)][_0x22f067(0x23e)](_0xaa074a));});}async[_0x1cc422(0x1e0)](_0x335d84){const _0x20949e=_0x1cc422,_0x5f4aba=await this[_0x20949e(0x1ae)][_0x20949e(0x144)](_0x335d84),_0x33b72c=this[_0x20949e(0x154)]['createInstance'](Ie,_0x335d84,_0x5f4aba);return _0x33b72c['init'](),_0x33b72c;}async['_startDocCollabCursor'](_0x46da35){const _0x69dc47=_0x1cc422,_0xf7a6ac=await this['_collabSessionService'][_0x69dc47(0x144)](_0x46da35),_0x12b47f=this['_injector'][_0x69dc47(0x214)](Se,_0x46da35,_0xf7a6ac);return _0x12b47f['init'](),_0x12b47f;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x1cc422(0x1f4)](a['Injector'])),ie(0x2,a[_0x1cc422(0x1f4)](u[_0x1cc422(0x208)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x2f415e,_0x39c6ce){const _0x4212a2=_0x1cc422;let {radius:_0x31ab0d,width:_0x8cb01e,height:_0x16c703}=_0x39c6ce;_0x31ab0d=_0x31ab0d!=null?_0x31ab0d:0x0,_0x8cb01e=_0x8cb01e!=null?_0x8cb01e:0x1e,_0x16c703=_0x16c703!=null?_0x16c703:0x1e;let _0x5abef2=0x0,_0x13ee54=0x0,_0x4df1b6=0x0;_0x5abef2=_0x13ee54=_0x4df1b6=Math[_0x4212a2(0x237)](_0x31ab0d,_0x8cb01e/0x2,_0x16c703/0x2),_0x2f415e[_0x4212a2(0x337)](),_0x2f415e[_0x4212a2(0x22a)](_0x5abef2,0x0),_0x2f415e[_0x4212a2(0x234)](_0x8cb01e-_0x13ee54,0x0),_0x2f415e['arc'](_0x8cb01e-_0x13ee54,_0x13ee54,_0x13ee54,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f415e['lineTo'](_0x8cb01e,_0x16c703-_0x4df1b6),_0x2f415e['arc'](_0x8cb01e-_0x4df1b6,_0x16c703-_0x4df1b6,_0x4df1b6,0x0,Math['PI']/0x2,!0x1),_0x2f415e['lineTo'](0x0,_0x16c703),_0x2f415e['lineTo'](0x0,_0x5abef2),_0x2f415e['arc'](_0x5abef2,_0x5abef2,_0x5abef2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f415e[_0x4212a2(0x1b0)](),_0x39c6ce[_0x4212a2(0x12e)]&&(_0x2f415e[_0x4212a2(0x31d)](),_0x2f415e[_0x4212a2(0x36c)]=_0x39c6ce[_0x4212a2(0x12e)],_0x39c6ce[_0x4212a2(0xea)]===_0x4212a2(0x263)?_0x2f415e[_0x4212a2(0x12e)](_0x4212a2(0x263)):_0x2f415e[_0x4212a2(0x12e)](),_0x2f415e[_0x4212a2(0x23f)]());}class te extends p['Shape']{constructor(_0x92d8dd,_0x55f420){const _0x52971f=_0x1cc422;super(_0x92d8dd,_0x55f420),h(this,_0x52971f(0x120)),h(this,'text'),(this['color']=_0x55f420==null?void 0x0:_0x55f420[_0x52971f(0x120)],this[_0x52971f(0x210)]=_0x55f420==null?void 0x0:_0x55f420[_0x52971f(0x210)]);}static[_0x1cc422(0x2ca)](_0x4a1a56,_0x2fb973){const _0x1d7915=_0x1cc422,{text:_0x17061e,color:_0x4913f7}=_0x2fb973;_0x4a1a56[_0x1d7915(0x31d)](),_0x4a1a56[_0x1d7915(0x16c)]=_0x1d7915(0x1b5);const _0x202614=_0x4a1a56[_0x1d7915(0x2d3)](_0x17061e)[_0x1d7915(0x282)],_0x5690cd=Math['min'](_0x202614+0x2*re,De);_t(_0x4a1a56,{'height':K,'radius':0x4,'width':_0x5690cd,'fill':_0x4913f7}),_0x4a1a56[_0x1d7915(0x36c)]=_0x1d7915(0x218);const _0x5a6181=re,_0x1f83f8=K-ht,_0xd01ff6=De-0x2*re;if(_0x202614>_0xd01ff6){let _0x4a0577='',_0x36caf2=0x0;for(const _0x558072 of _0x17061e){const _0x209533=_0x4a1a56[_0x1d7915(0x2d3)](_0x558072)[_0x1d7915(0x282)];if(_0x36caf2+_0x209533<=_0xd01ff6-_0x4a1a56[_0x1d7915(0x2d3)](_0x1d7915(0x2c6))['width'])_0x4a0577+=_0x558072,_0x36caf2+=_0x209533;else{_0x4a0577+=_0x1d7915(0x2c6);break;}}_0x4a1a56['fillText'](_0x4a0577,_0x5a6181,_0x1f83f8);}else _0x4a1a56[_0x1d7915(0x205)](_0x17061e,_0x5a6181,_0x1f83f8);_0x4a1a56['restore']();}[_0x1cc422(0x311)](_0x15be4f){const _0x2f2f5c=_0x1cc422;te[_0x2f2f5c(0x2ca)](_0x15be4f,this);}}const oe=_0x1cc422(0x24e),ut='collab-text-range-',dt=_0x1cc422(0x15a),B=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x1cc422(0x293);class Ue{constructor(_0x38a97b,_0x42af97,_0x5f3091,_0x175d73){const _0x2e2613=_0x1cc422;h(this,_0x2e2613(0x22b),[]),h(this,_0x2e2613(0x1d4),null),h(this,_0x2e2613(0x281),null),h(this,_0x2e2613(0x169),null),h(this,_0x2e2613(0x157),null),h(this,'_eventUnsubscribe',null),(this[_0x2e2613(0x348)]=_0x38a97b,this[_0x2e2613(0x286)]=_0x42af97,this[_0x2e2613(0x1c1)]=_0x5f3091,this[_0x2e2613(0x1bb)]=_0x175d73,this[_0x2e2613(0x1dd)]());}set[_0x1cc422(0x283)](_0x9a0462){const _0x412de2=_0x1cc422;_0x9a0462?(this[_0x412de2(0x169)]&&this['_anchorDot'][_0x412de2(0x2c8)](),this[_0x412de2(0x281)]&&this[_0x412de2(0x281)]['show']()):(this[_0x412de2(0x169)]&&this[_0x412de2(0x169)][_0x412de2(0x30a)](),this[_0x412de2(0x281)]&&this[_0x412de2(0x281)][_0x412de2(0x2c8)]());}[_0x1cc422(0x119)](){const _0x242831=_0x1cc422;for(const _0x3d4b67 of this['_shapes'])_0x3d4b67[_0x242831(0x119)]();this[_0x242831(0x281)]&&this[_0x242831(0x281)][_0x242831(0x119)](),this[_0x242831(0x169)]&&this[_0x242831(0x169)]['dispose'](),this[_0x242831(0x1d4)]&&this[_0x242831(0x1d4)][_0x242831(0x119)](),this[_0x242831(0x102)]&&this[_0x242831(0x102)]();}[_0x1cc422(0x1dd)](){const _0x5520a8=_0x1cc422;var _0x5d7c6a;const {_docSkeleton:_0x45bdb6,_document:_0x234a0d}=this,{color:_0x36fbad,name:_0x28e63e,ranges:_0x5491ba}=this['_cursor'],_0x39de0f=_0x234a0d[_0x5520a8(0x35c)](),{docsLeft:_0x4f65ef,docsTop:_0x587508}=_0x39de0f,_0x24a893=new b[(_0x5520a8(0x142))](_0x39de0f,_0x45bdb6);for(const {startOffset:_0x101f96,endOffset:_0x3f400a,rangeType:_0x3fb9a6,segmentId:_0x227b96,segmentPage:_0x1b2b87,collapsed:_0x3a4799,isActive:_0x34801d}of _0x5491ba){const _0x1f176a=_0x45bdb6[_0x5520a8(0x346)](_0x101f96,!0x0,_0x227b96,_0x1b2b87);let _0x156106=_0x45bdb6[_0x5520a8(0x346)](_0x3f400a,!0x0,_0x227b96,_0x1b2b87);if(_0x156106==null&&(_0x156106=_0x45bdb6[_0x5520a8(0x346)](_0x3f400a-0x1,!0x1,_0x227b96,_0x1b2b87)),_0x34801d){const {contentBoxPointGroup:_0x1434ed}=_0x24a893['getRangePointData'](_0x156106,_0x156106);if(_0x1434ed[_0x5520a8(0x357)]===0x0)continue;this[_0x5520a8(0x345)](_0x36fbad,_0x1434ed,_0x4f65ef,_0x587508,_0x28e63e),this[_0x5520a8(0x102)]=this['_handleHover']();}if(_0x1f176a&&_0x156106){if(_0x3fb9a6===a[_0x5520a8(0x223)]['RECT']){const _0xe61b92=new b['NodePositionConvertToRectRange'](_0x39de0f,_0x45bdb6),{pointGroup:_0x17bb8c}=(_0x5d7c6a=_0xe61b92[_0x5520a8(0x10d)](_0x1f176a,_0x156106))!=null?_0x5d7c6a:{};if(_0x17bb8c==null||_0x17bb8c[_0x5520a8(0x357)]===0x0)continue;this[_0x5520a8(0x1d8)](_0x36fbad,_0x17bb8c,_0x4f65ef,_0x587508);}else{if(!_0x3a4799){const {borderBoxPointGroup:_0x35441c}=_0x24a893[_0x5520a8(0x10d)](_0x1f176a,_0x156106);if(_0x35441c[_0x5520a8(0x357)]===0x0)continue;this[_0x5520a8(0x28b)](_0x36fbad,_0x35441c,_0x4f65ef,_0x587508);}}}}}[_0x1cc422(0x345)](_0x37bb4e,_0x3fd03f,_0x29e169,_0x40ce2f,_0x24baf4){const _0x492bcf=_0x1cc422,_0x16dadb=this['_getAnchorBounding'](_0x3fd03f),{left:_0x293ae6,top:_0x8ae54a,height:_0x46b5f5}=_0x16dadb,_0x189898=this['_getScale'](),_0x33e7ce=St/_0x189898,_0x22318c=new p[(_0x492bcf(0x368))](oe+a[_0x492bcf(0x299)][_0x492bcf(0x26b)](B),{'left':_0x293ae6+_0x29e169-_0x33e7ce,'top':_0x8ae54a+_0x40ce2f,'height':_0x46b5f5,'width':ft,'fill':_0x37bb4e||p[_0x492bcf(0x239)](a[_0x492bcf(0x2a2)][_0x492bcf(0x19e)],0x0),'strokeWidth':_0x33e7ce,'stroke':It,'evented':!0x0});this['_anchor']=_0x22318c,this[_0x492bcf(0x286)][_0x492bcf(0x1aa)](_0x22318c,b[_0x492bcf(0x1ca)]);const _0x135b46=new p[(_0x492bcf(0x368))](oe+a['Tools'][_0x492bcf(0x26b)](B),{'left':_0x293ae6+_0x29e169-_0x33e7ce,'top':_0x8ae54a+_0x40ce2f-ae/0x2,'height':ae,'width':ae,'fill':_0x37bb4e||p[_0x492bcf(0x239)](a[_0x492bcf(0x2a2)][_0x492bcf(0x19e)],0x0),'strokeWidth':0x0,'stroke':_0x37bb4e||p[_0x492bcf(0x239)](a[_0x492bcf(0x2a2)][_0x492bcf(0x19e)],0x0),'evented':!0x1});this[_0x492bcf(0x169)]=_0x135b46,this[_0x492bcf(0x286)][_0x492bcf(0x1aa)](_0x135b46,b['TEXT_RANGE_LAYER_INDEX']);const _0x36c52b=new te(oe+a[_0x492bcf(0x299)]['generateRandomId'](B),{'left':_0x293ae6+_0x29e169-_0x33e7ce,'top':_0x8ae54a+_0x40ce2f-K,'text':_0x24baf4,'color':_0x37bb4e});this[_0x492bcf(0x281)]=_0x36c52b,this[_0x492bcf(0x286)]['addObject'](_0x36c52b,b[_0x492bcf(0x1ca)]),this[_0x492bcf(0x283)]=!0x1;}[_0x1cc422(0x314)](){const _0x3bbfd1=_0x1cc422,_0x45c185=this[_0x3bbfd1(0x1d4)][_0x3bbfd1(0x358)][_0x3bbfd1(0x11c)](()=>{const _0x32c1f1=_0x3bbfd1;this[_0x32c1f1(0x283)]=!0x0;}),_0xfd3f7d=this[_0x3bbfd1(0x1d4)][_0x3bbfd1(0x203)]['subscribeEvent'](()=>{const _0x41940c=_0x3bbfd1;this[_0x41940c(0x157)]&&clearTimeout(this[_0x41940c(0x157)]),this[_0x41940c(0x157)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x284112=_0x3bbfd1;_0x45c185[_0x284112(0x130)](),_0xfd3f7d['unsubscribe']();};}[_0x1cc422(0x28b)](_0x250fbe,_0x1f2de5,_0x50af30,_0x44599e){const _0x384076=_0x1cc422,_0x117240=new a[(_0x384076(0x2f9))](_0x250fbe)['setAlpha'](0.2)[_0x384076(0xf5)](),_0x2609fb=new p[(_0x384076(0x2e1))](ut+a[_0x384076(0x299)][_0x384076(0x26b)](B),{'pointsGroup':_0x1f2de5,'fill':_0x117240||p[_0x384076(0x239)](a[_0x384076(0x2a2)][_0x384076(0x19e)],0.2),'left':_0x50af30,'top':_0x44599e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x384076(0x22b)]['push'](_0x2609fb),this['_scene'][_0x384076(0x1aa)](_0x2609fb,b[_0x384076(0x1ca)]);}[_0x1cc422(0x1d8)](_0xf3854d,_0x5b2581,_0x1a169e,_0x14abee){const _0x5263f2=_0x1cc422,_0x3c3361=new a[(_0x5263f2(0x2f9))](_0xf3854d)[_0x5263f2(0x22d)](0.2)[_0x5263f2(0xf5)](),_0x57cdb2=new p['RegularPolygon'](dt+a['Tools'][_0x5263f2(0x26b)](B),{'pointsGroup':_0x5b2581,'fill':_0x3c3361||p[_0x5263f2(0x239)](a['COLORS'][_0x5263f2(0x19e)],0.2),'left':_0x1a169e,'top':_0x14abee,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5263f2(0x22b)][_0x5263f2(0x2ff)](_0x57cdb2),this['_scene'][_0x5263f2(0x1aa)](_0x57cdb2,b['TEXT_RANGE_LAYER_INDEX']);}[_0x1cc422(0xf6)](_0xf2d30e){const _0x8a0748=_0xf2d30e[0x0],_0x3fef4e=_0x8a0748[0x0],_0x4e8f00=_0x8a0748[0x2],{x:_0x4afd4f,y:_0x2d246f}=_0x3fef4e,{x:_0x2c6863,y:_0x27fe79}=_0x4e8f00;return{'left':_0x4afd4f,'top':_0x2d246f,'width':_0x2c6863-_0x4afd4f,'height':_0x27fe79-_0x2d246f};}[_0x1cc422(0x17f)](){const _0x126ba0=_0x1cc422,{scaleX:_0x130240,scaleY:_0x859e62}=this['_scene'][_0x126ba0(0x1ed)]();return Math[_0x126ba0(0x1e5)](_0x130240,_0x859e62);}}var vt=Object[_0x1cc422(0x1fc)],gt=(_0x3f6c1e,_0x1d2952,_0x14effd,_0x5eeadc)=>{const _0x1af037=_0x1cc422;for(var _0x1c2a18=_0x5eeadc>0x1?void 0x0:_0x5eeadc?vt(_0x1d2952,_0x14effd):_0x1d2952,_0x546088=_0x3f6c1e[_0x1af037(0x357)]-0x1,_0x52003e;_0x546088>=0x0;_0x546088--)(_0x52003e=_0x3f6c1e[_0x546088])&&(_0x1c2a18=_0x52003e(_0x1c2a18)||_0x1c2a18);return _0x1c2a18;},V=(_0x210ed9,_0x171411)=>(_0x27853d,_0x30f966)=>_0x171411(_0x27853d,_0x30f966,_0x210ed9);let ve=class extends a['RxDisposable']{constructor(_0x48baca,_0x9ed6ef,_0x5c0c9c,_0x1bba8c,_0x3d7723){const _0x1cbd86=_0x1cc422;super(),h(this,'_cursorShapes',[]),h(this,_0x1cbd86(0x33e),[]),(this[_0x1cbd86(0x1d9)]=_0x48baca,this[_0x1cbd86(0x313)]=_0x9ed6ef,this[_0x1cbd86(0x297)]=_0x5c0c9c,this[_0x1cbd86(0x113)]=_0x1bba8c,this[_0x1cbd86(0x236)]=_0x3d7723,this[_0x1cbd86(0x28c)]());}[_0x1cc422(0x28c)](){const _0x4c1e5d=_0x1cc422,_0x262bc8=this['_context'][_0x4c1e5d(0x243)],_0x480ba8=this['_docSkeletonManagerService'];this[_0x4c1e5d(0x149)](d[_0x4c1e5d(0x1d7)]([this[_0x4c1e5d(0x297)][_0x4c1e5d(0x104)](_0x262bc8),this[_0x4c1e5d(0x236)][_0x4c1e5d(0x1eb)]])['pipe']($[_0x4c1e5d(0x2ba)](([_0x47d4fb,_0x20b8e3])=>({'skeleton':_0x480ba8[_0x4c1e5d(0x159)](),'cursors':[..._0x47d4fb[_0x4c1e5d(0x2bd)]()][_0x4c1e5d(0x2b3)](_0x22bf45=>({..._0x22bf45,'color':_0x20b8e3[_0x22bf45[_0x4c1e5d(0x120)]]}))})))[_0x4c1e5d(0x24c)](_0x1f9fb6=>{const _0x169e36=_0x4c1e5d;if(this[_0x169e36(0x309)](),_0x1f9fb6){const {skeleton:_0x341339,cursors:_0xef252f}=_0x1f9fb6;this[_0x169e36(0x2d4)](_0x341339,_0xef252f);}})),this['_initResize'](),this[_0x4c1e5d(0xee)]();}[_0x1cc422(0x2d4)](_0x489887,_0x41ad0e){const _0xf4b016=_0x1cc422,{scene:_0x2f7285,mainComponent:_0x33a932}=this[_0xf4b016(0x1d9)],_0x26e8ce=_0x41ad0e[_0xf4b016(0x2ba)](_0x25eadf=>new Ue(_0x25eadf,_0x2f7285,_0x489887,_0x33a932));this[_0xf4b016(0x118)]=_0x26e8ce,this[_0xf4b016(0x33e)]=_0x41ad0e;}[_0x1cc422(0x1c8)](){const _0x5119e3=_0x1cc422;this[_0x5119e3(0x309)]();const {scene:_0x58d7c8,mainComponent:_0xff8231}=this[_0x5119e3(0x1d9)],_0x5e02b0=this['_docSkeletonManagerService'][_0x5119e3(0x159)](),_0x368ae7=this['_cursors'][_0x5119e3(0x2ba)](_0x316976=>new Ue(_0x316976,_0x58d7c8,_0x5e02b0,_0xff8231));this[_0x5119e3(0x118)]=_0x368ae7;}[_0x1cc422(0x309)](){this['_cursorShapes']['forEach'](_0x5cf8bb=>_0x5cf8bb['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x43b530=_0x1cc422,_0x153ef9=[b['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService'][_0x43b530(0x350)](_0x51e6a5=>{const _0x39f4d1=_0x43b530;_0x153ef9['includes'](_0x51e6a5['id'])&&_0x51e6a5[_0x39f4d1(0x133)]['unitId']===this[_0x39f4d1(0x1d9)][_0x39f4d1(0x243)]&&this[_0x39f4d1(0x1c8)]();}));}['_initResize'](){const _0x1e4dec=_0x1cc422;this[_0x1e4dec(0x149)](a[_0x1e4dec(0x30e)](this[_0x1e4dec(0x1d9)][_0x1e4dec(0x14c)][_0x1e4dec(0x34f)])[_0x1e4dec(0x1f0)]($[_0x1e4dec(0x365)](_0x1076b9=>_0x1076b9['type']===p[_0x1e4dec(0x249)][_0x1e4dec(0xf1)]),$[_0x1e4dec(0x33a)](0x10))[_0x1e4dec(0x24c)](()=>{const _0x5a8faf=_0x1e4dec;this[_0x5a8faf(0x1c8)]();}));}};ve=gt([V(0x1,a[_0x1cc422(0x1f4)](Y[_0x1cc422(0x14b)])),V(0x2,a[_0x1cc422(0x1f4)](x)),V(0x3,a['ICommandService']),V(0x4,a['Inject'](a['ThemeService']))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x1cc422(0x27a)]{constructor(_0x4adbdb,_0x2cfcd9){const _0x5566f5=_0x1cc422;super(_0x4adbdb,_0x2cfcd9),h(this,_0x5566f5(0x1a6)),h(this,'_hovered',!0x1),h(this,_0x5566f5(0x326)),h(this,_0x5566f5(0x296),''),h(this,_0x5566f5(0x1ac),_0x5566f5(0x13c)),h(this,_0x5566f5(0x150)),(_0x2cfcd9&&this['setShapeProps'](_0x2cfcd9),this['onPointerEnter$'][_0x5566f5(0x11c)](()=>this[_0x5566f5(0x112)]({'hovered':!0x0})),this[_0x5566f5(0x203)][_0x5566f5(0x11c)](()=>this[_0x5566f5(0x112)]({'hovered':!0x1})));}[_0x1cc422(0x112)](_0x1310bb){const _0x510267=_0x1cc422;var _0x6d7aa9,_0x1bd7fe,_0x3c011a,_0x41aa23,_0x1ab401,_0x16efc9;this['_color']=(_0x6d7aa9=_0x1310bb[_0x510267(0x120)])!=null?_0x6d7aa9:this[_0x510267(0x1a6)],this[_0x510267(0x107)]=(_0x1bd7fe=_0x1310bb[_0x510267(0x334)])!=null?_0x1bd7fe:this[_0x510267(0x107)],this['_range']=(_0x3c011a=_0x1310bb[_0x510267(0x186)])!=null?_0x3c011a:this[_0x510267(0x326)],this[_0x510267(0x296)]=(_0x41aa23=_0x1310bb[_0x510267(0x1fb)])!=null?_0x41aa23:this[_0x510267(0x296)],this[_0x510267(0x1ac)]=(_0x1ab401=_0x1310bb[_0x510267(0x16e)])!=null?_0x1ab401:this['_labelPosition'],this['_backgroundColor']=(_0x16efc9=_0x1310bb[_0x510267(0x185)])!=null?_0x16efc9:this[_0x510267(0x150)],this[_0x510267(0x2c0)]({'width':_0x1310bb[_0x510267(0x282)],'height':_0x1310bb['height']});}[_0x1cc422(0x1f7)](_0x37d174){const _0xdcdba8=_0x1cc422,{row:_0x590656,column:_0x1e7449}=_0x37d174;if(_0x590656>=this['_range'][_0xdcdba8(0x100)]&&_0x590656<=this[_0xdcdba8(0x326)][_0xdcdba8(0x262)]&&_0x1e7449>=this[_0xdcdba8(0x326)]['startColumn']&&_0x1e7449<=this['_range'][_0xdcdba8(0x1a7)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xdcdba8(0x112)]({'hovered':!0x1});}[_0x1cc422(0x2dc)](_0x21f12f){return!0x1;}['_draw'](_0x17c8fc){const _0x4469ef=_0x1cc422;p[_0x4469ef(0x368)]['drawWith'](_0x17c8fc,{'width':this[_0x4469ef(0x282)],'height':this['height'],'strokeWidth':Ct,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4469ef(0x150)]}),this['_hovered']&&(_0x17c8fc[_0x4469ef(0x31d)](),_0x17c8fc[_0x4469ef(0x275)](0x1,0x0,0x0,0x1,this[_0x4469ef(0x282)],this[_0x4469ef(0x1ac)]==='bottom'?0x0:-0x14),te['drawWith'](_0x17c8fc,{'text':this[_0x4469ef(0x296)],'color':this[_0x4469ef(0x1a6)]}),_0x17c8fc[_0x4469ef(0x23f)]());}}var pt=Object[_0x1cc422(0x1fc)],bt=(_0x3bf16d,_0x1c862f,_0x3ac838,_0x2bdc26)=>{const _0x4a68cf=_0x1cc422;for(var _0xc69bf6=_0x2bdc26>0x1?void 0x0:_0x2bdc26?pt(_0x1c862f,_0x3ac838):_0x1c862f,_0x5c326c=_0x3bf16d[_0x4a68cf(0x357)]-0x1,_0x5d8c52;_0x5c326c>=0x0;_0x5c326c--)(_0x5d8c52=_0x3bf16d[_0x5c326c])&&(_0xc69bf6=_0x5d8c52(_0xc69bf6)||_0xc69bf6);return _0xc69bf6;},ce=(_0x1ca099,_0x1bb4ad)=>(_0x34557b,_0x14f33e)=>_0x1bb4ad(_0x34557b,_0x14f33e,_0x1ca099);const Et=0x1389;let ge=class extends a[_0x1cc422(0x2c3)]{constructor(_0x4656f5,_0x1ae05c,_0x43d963,_0x4c986e){const _0x295a5c=_0x1cc422;super(),h(this,_0x295a5c(0x33e),new Set()),h(this,_0x295a5c(0x35a),null),(this['_context']=_0x4656f5,this[_0x295a5c(0x301)]=_0x1ae05c,this[_0x295a5c(0x297)]=_0x43d963,this['_themeService']=_0x4c986e,this[_0x295a5c(0x28c)]());}[_0x1cc422(0x28c)](){const _0x939550=_0x1cc422;this[_0x939550(0x301)]['currentSkeleton$'][_0x939550(0x1f0)]($[_0x939550(0xf8)](this[_0x939550(0x129)]),$['switchMap'](_0x384b1c=>{const _0x4f4ec1=_0x939550;if(_0x384b1c){const _0x37ec8e=_0x384b1c[_0x4f4ec1(0x2b8)];return d['combineLatest'](this[_0x4f4ec1(0x297)]['getCollabCursors$'](this['_context'][_0x4f4ec1(0x243)]),this[_0x4f4ec1(0x236)][_0x4f4ec1(0x1eb)])['pipe']($[_0x4f4ec1(0x2ba)](([_0x4f72fd,_0x2579d0])=>{const _0xea0d5=_0x4f4ec1,_0x2583a6=new Map();return _0x4f72fd[_0xea0d5(0x298)]((_0x2ef260,_0x380ab6)=>{const _0x487007=_0xea0d5;if(_0x2ef260[_0x487007(0xfa)]===_0x37ec8e){const _0x2e9853={..._0x2ef260};_0x2e9853['color']=_0x2579d0[_0x2ef260['color']],_0x2583a6['set'](_0x380ab6,_0x2e9853);}}),{'skeleton':_0x384b1c,'cursors':_0x2583a6};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1273ef,cursors:_0x6fd41d})=>{const _0x12d9e1=_0x939550;this[_0x12d9e1(0x309)](),_0x1273ef&&this['_updateCollabCursors'](_0x1273ef,_0x6fd41d);}),this[_0x939550(0x301)][_0x939550(0x108)][_0x939550(0x24c)](_0x9cb05f=>{const _0x403385=_0x939550;if(_0x9cb05f==null)return;const {skeleton:_0x26a442}=_0x9cb05f,{scene:_0x1f98ca}=this['_context'];_0x1f98ca[_0x403385(0x269)][_0x403385(0x11c)](a[_0x403385(0x2de)](_0x20bd26=>{const _0x3d2f0e=_0x403385;var _0x537bba,_0x182956;const {offsetX:_0x1dac2e,offsetY:_0x346c4d}=_0x20bd26,{x:_0x807f99,y:_0x33d5a1}=_0x1f98ca['getRelativeToViewportCoord'](p[_0x3d2f0e(0x181)]['FromArray']([_0x1dac2e,_0x346c4d])),{scaleX:_0x521b2c,scaleY:_0x2ee754}=_0x1f98ca[_0x3d2f0e(0x1ed)](),_0x3f2163=_0x1f98ca[_0x3d2f0e(0x122)](p[_0x3d2f0e(0x373)][_0x3d2f0e(0x1b9)]),_0x29ae97=_0x1f98ca[_0x3d2f0e(0x30c)](p['Vector2'][_0x3d2f0e(0x30f)]([_0x807f99,_0x33d5a1]),_0x3f2163),_0xa134f4=_0x26a442[_0x3d2f0e(0x126)](_0x1dac2e,_0x346c4d,_0x521b2c,_0x2ee754,_0x29ae97);((_0x537bba=this[_0x3d2f0e(0x35a)])==null?void 0x0:_0x537bba[_0x3d2f0e(0x28f)])===_0xa134f4['column']&&((_0x182956=this['_lastPointer'])==null?void 0x0:_0x182956['row'])===_0xa134f4['row']||this[_0x3d2f0e(0x33e)]['forEach'](_0x3ce5cc=>{const _0x1c2bde=_0x3d2f0e;_0x3ce5cc[_0x1c2bde(0x1f7)](_0xa134f4);});},0x64));});}[_0x1cc422(0x2d4)](_0x3468ef,_0x323cc7){const _0x40d1bc=_0x1cc422;var _0x106369;const _0x17062e=(_0x106369=this[_0x40d1bc(0x301)][_0x40d1bc(0x1cb)]())==null?void 0x0:_0x106369[_0x40d1bc(0x156)];if(!_0x17062e)return;const _0xf11fc7=this[_0x40d1bc(0x189)]();if(!_0xf11fc7)return;this[_0x40d1bc(0x33e)][_0x40d1bc(0x298)](_0x38d3fd=>{const _0x1eb059=_0x40d1bc;_0x38d3fd[_0x1eb059(0x244)]();});const {scene:_0xd47ce0}=_0xf11fc7,_0x5988ea=Tt(Array[_0x40d1bc(0xfd)](_0x323cc7[_0x40d1bc(0x2bd)]()))[_0x40d1bc(0x2ba)](_0x5a0d5a=>{const _0x234b52=_0x40d1bc,{color:_0x3cced8,range:_0x3cc91d,name:_0x58a1de,selection:_0xf9fcc1,sheetID:_0x1e774c}=_0x5a0d5a,{startColumn:_0x491095,startRow:_0x234ebc,endColumn:_0x17994f,endRow:_0x1c4530}=_0x3cc91d,_0x5cbedc=G[_0x234b52(0x192)](_0x234ebc,_0x491095,_0xd47ce0,_0x17062e),_0x201368=G[_0x234b52(0x192)](_0x1c4530,_0x17994f,_0xd47ce0,_0x17062e),{columnHeaderHeightAndMarginTop:_0x26976f}=_0x17062e,{startX:_0x33a094,startY:_0x1a067d}=_0x5cbedc,{endX:_0x23293b,endY:_0x143f37}=_0x201368,_0x4b2bbf=_0x23293b-_0x33a094,_0x5d54d3=_0x143f37-_0x1a067d,_0x2a44e8={'labelPosition':_0x1a067d-_0x26976f>=K?_0x234b52(0x13c):_0x234b52(0x14d),'sheetID':_0x1e774c,'range':_0x3cc91d,'color':_0x3cced8,'name':_0x58a1de,'selection':_0xf9fcc1,'left':_0x33a094,'top':_0x1a067d,'width':_0x4b2bbf,'height':_0x5d54d3,'evented':!0x1,'zIndex':Et};return new Ae(_0x58a1de,_0x2a44e8);});_0xd47ce0[_0x40d1bc(0x1a0)](_0x5988ea,mt),this['_cursors']=new Set(_0x5988ea);}[_0x1cc422(0x309)](){const _0xcad5d7=_0x1cc422;var _0x298f9f;(_0x298f9f=this[_0xcad5d7(0x33e)])==null||_0x298f9f[_0xcad5d7(0x298)](_0x2462e4=>_0x2462e4[_0xcad5d7(0x119)]());}[_0x1cc422(0x189)](){const _0x19726a=_0x1cc422;return G['getSheetObject'](this[_0x19726a(0x1d9)]['unit'],this['_context']);}};ge=bt([ce(0x1,a[_0x1cc422(0x1f4)](G['SheetSkeletonManagerService'])),ce(0x2,a[_0x1cc422(0x1f4)](x)),ce(0x3,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x167)]))],ge);function Tt(_0x5a85c7){const _0x38f849=_0x1cc422,_0x2b3d1e=new Map();return _0x5a85c7['forEach'](_0x37ea24=>{const _0x55806b=_0x1c04;if(_0x2b3d1e['has'](_0x37ea24['selection'])){const _0x43dbe4=_0x2b3d1e[_0x55806b(0x12a)](_0x37ea24['selection']);_0x43dbe4[_0x55806b(0x1fb)]+=',\x20'+_0x37ea24[_0x55806b(0x1fb)];}else _0x2b3d1e[_0x55806b(0x2ab)](_0x37ea24[_0x55806b(0x36d)],_0x37ea24);}),Array[_0x38f849(0xfd)](_0x2b3d1e[_0x38f849(0x2bd)]());}var E=function(){const _0x2dee9d=_0x1cc422;return E=Object[_0x2dee9d(0x1ef)]||function(_0x498530){const _0x5ce842=_0x2dee9d;for(var _0x2a2920,_0x2f56f5=0x1,_0x51abf3=arguments['length'];_0x2f56f5<_0x51abf3;_0x2f56f5++){_0x2a2920=arguments[_0x2f56f5];for(var _0x4e36bc in _0x2a2920)Object[_0x5ce842(0x2f7)][_0x5ce842(0x180)][_0x5ce842(0x26c)](_0x2a2920,_0x4e36bc)&&(_0x498530[_0x4e36bc]=_0x2a2920[_0x4e36bc]);}return _0x498530;},E[_0x2dee9d(0x2a4)](this,arguments);},Rt=function(_0x551b58,_0x559428){const _0x288b0e=_0x1cc422;var _0x2815e5={};for(var _0x3f8e12 in _0x551b58)Object['prototype'][_0x288b0e(0x180)][_0x288b0e(0x26c)](_0x551b58,_0x3f8e12)&&_0x559428['indexOf'](_0x3f8e12)<0x0&&(_0x2815e5[_0x3f8e12]=_0x551b58[_0x3f8e12]);if(_0x551b58!=null&&typeof Object[_0x288b0e(0x1ee)]==_0x288b0e(0x2c2)){for(var _0x22520d=0x0,_0x3f8e12=Object[_0x288b0e(0x1ee)](_0x551b58);_0x22520d<_0x3f8e12[_0x288b0e(0x357)];_0x22520d++)_0x559428[_0x288b0e(0x123)](_0x3f8e12[_0x22520d])<0x0&&Object[_0x288b0e(0x2f7)][_0x288b0e(0x330)][_0x288b0e(0x26c)](_0x551b58,_0x3f8e12[_0x22520d])&&(_0x2815e5[_0x3f8e12[_0x22520d]]=_0x551b58[_0x3f8e12[_0x22520d]]);}return _0x2815e5;},be=M['forwardRef'](function(_0x19db2b,_0x463f79){const _0x111817=_0x1cc422;var _0x37f69d=_0x19db2b[_0x111817(0x137)],_0x3de06d=_0x19db2b['id'],_0x4e6bc9=_0x19db2b[_0x111817(0x1cf)],_0x4f1c8=_0x19db2b['extend'],_0xeb7f12=Rt(_0x19db2b,['icon','id',_0x111817(0x1cf),_0x111817(0x278)]),_0x2b4e1c=_0x111817(0x140)[_0x111817(0x33f)](_0x3de06d,'\x20')[_0x111817(0x33f)](_0x4e6bc9||'')[_0x111817(0x32f)](),_0x14c90e=M[_0x111817(0x116)]('_'[_0x111817(0x33f)](Ut()));return ye(_0x37f69d,''[_0x111817(0x33f)](_0x3de06d),{'defIds':_0x37f69d[_0x111817(0x257)],'idSuffix':_0x14c90e[_0x111817(0x258)]},E({'ref':_0x463f79,'className':_0x2b4e1c},_0xeb7f12),_0x4f1c8);});function ye(_0x22be1c,_0x524812,_0x14a93b,_0x504c6a,_0x237e88){const _0x442913=_0x1cc422;return M[_0x442913(0x1db)](_0x22be1c[_0x442913(0x336)],E(E({'key':_0x524812},Ot(_0x22be1c,_0x14a93b,_0x237e88)),_0x504c6a),(Dt(_0x22be1c,_0x14a93b)[_0x442913(0x11d)]||[])[_0x442913(0x2ba)](function(_0x213230,_0x355dff){const _0x51db9a=_0x442913;return ye(_0x213230,''[_0x51db9a(0x33f)](_0x524812,'-')[_0x51db9a(0x33f)](_0x22be1c[_0x51db9a(0x336)],'-')[_0x51db9a(0x33f)](_0x355dff),_0x14a93b,void 0x0,_0x237e88);}));}function Ot(_0x7762bf,_0x15b8fc,_0x13bb66){const _0x411c6b=_0x1cc422;var _0x26f205=E({},_0x7762bf['attrs']);_0x13bb66!=null&&_0x13bb66[_0x411c6b(0x2df)]&&_0x26f205[_0x411c6b(0x12e)]===_0x411c6b(0x2df)&&(_0x26f205[_0x411c6b(0x12e)]=_0x13bb66['colorChannel1']),_0x7762bf[_0x411c6b(0x336)]==='mask'&&_0x26f205['id']&&(_0x26f205['id']=_0x26f205['id']+_0x15b8fc['idSuffix']),Object[_0x411c6b(0x276)](_0x26f205)[_0x411c6b(0x298)](function(_0x422d06){const _0xe147e8=_0x411c6b;var _0x2ef3f1=_0x422d06[0x0],_0x5046ca=_0x422d06[0x1];_0x2ef3f1===_0xe147e8(0x2fd)&&typeof _0x5046ca==_0xe147e8(0x28a)&&(_0x26f205[_0x2ef3f1]=_0x5046ca['replace'](/url\(#(.*)\)/,'url(#$1'[_0xe147e8(0x33f)](_0x15b8fc[_0xe147e8(0x109)],')')));});var _0x461cad=_0x15b8fc[_0x411c6b(0x257)];return!_0x461cad||_0x461cad['length']===0x0||(_0x7762bf[_0x411c6b(0x336)]===_0x411c6b(0x216)&&_0x26f205[_0x411c6b(0x2bb)]&&(_0x26f205[_0x411c6b(0x2bb)]=_0x26f205[_0x411c6b(0x2bb)]+_0x15b8fc[_0x411c6b(0x109)]),Object[_0x411c6b(0x276)](_0x26f205)['forEach'](function(_0x47669d){const _0xe2d105=_0x411c6b;var _0x297740=_0x47669d[0x0],_0x13c119=_0x47669d[0x1];typeof _0x13c119=='string'&&(_0x26f205[_0x297740]=_0x13c119[_0xe2d105(0x2e4)](/url\(#(.*)\)/,_0xe2d105(0x145)[_0xe2d105(0x33f)](_0x15b8fc[_0xe2d105(0x109)],')')));})),_0x26f205;}function Dt(_0x40bc48,_0xeb5808){const _0x4408ec=_0x1cc422;var _0x488c5a,_0x4f610c=_0xeb5808[_0x4408ec(0x257)];return!_0x4f610c||_0x4f610c[_0x4408ec(0x357)]===0x0?_0x40bc48:_0x40bc48[_0x4408ec(0x336)]===_0x4408ec(0x20c)&&(!((_0x488c5a=_0x40bc48[_0x4408ec(0x11d)])===null||_0x488c5a===void 0x0)&&_0x488c5a[_0x4408ec(0x357)])?E(E({},_0x40bc48),{'children':_0x40bc48[_0x4408ec(0x11d)][_0x4408ec(0x2ba)](function(_0x2a8c2a){const _0x1882f9=_0x4408ec;return typeof _0x2a8c2a[_0x1882f9(0xf9)]['id']=='string'&&_0x4f610c&&_0x4f610c[_0x1882f9(0x123)](_0x2a8c2a['attrs']['id'])>-0x1?E(E({},_0x2a8c2a),{'attrs':E(E({},_0x2a8c2a['attrs']),{'id':_0x2a8c2a[_0x1882f9(0xf9)]['id']+_0xeb5808['idSuffix']})}):_0x2a8c2a;})}):_0x40bc48;}function Ut(){const _0x12e49b=_0x1cc422;return Math[_0x12e49b(0x172)]()[_0x12e49b(0x362)](0x24)[_0x12e49b(0x176)](0x2,0x8);}be[_0x1cc422(0x153)]=_0x1cc422(0xed);var Nt={'tag':'svg','attrs':{'fill':_0x1cc422(0x26d),'viewBox':_0x1cc422(0x333),'width':_0x1cc422(0x26f),'height':_0x1cc422(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc422(0x1b2)},'children':[{'tag':_0x1cc422(0x294),'attrs':{'stroke':_0x1cc422(0x35b),'d':_0x1cc422(0x2eb),'strokeLinecap':'round','strokeLinejoin':_0x1cc422(0x1e9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1cc422(0x284),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1cc422(0x294),'attrs':{'fill':_0x1cc422(0x1cc),'d':_0x1cc422(0x250)}}]}]}],'defIds':[_0x1cc422(0x173)]},$e=M[_0x1cc422(0x158)](function(_0x1294a9,_0x385cb1){const _0x11ecaf=_0x1cc422;return M[_0x11ecaf(0x1db)](be,Object['assign']({},_0x1294a9,{'id':_0x11ecaf(0x332),'ref':_0x385cb1,'icon':Nt}));});function _0x1c04(_0xf911c5,_0x56788c){const _0x2eb0a1=_0x2eb0();return _0x1c04=function(_0x1c0422,_0x3a2545){_0x1c0422=_0x1c0422-0xea;let _0x4c085e=_0x2eb0a1[_0x1c0422];return _0x4c085e;},_0x1c04(_0xf911c5,_0x56788c);}$e[_0x1cc422(0x153)]=_0x1cc422(0x19b);var Mt={'tag':_0x1cc422(0x209),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x1cc422(0x26f),'height':_0x1cc422(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc422(0x1a5)},'children':[{'tag':_0x1cc422(0x294),'attrs':{'stroke':_0x1cc422(0x35b),'d':_0x1cc422(0xeb),'strokeLinecap':_0x1cc422(0x1e9),'strokeLinejoin':_0x1cc422(0x1e9),'strokeWidth':1.2}}]},{'tag':_0x1cc422(0x20c),'attrs':{},'children':[{'tag':_0x1cc422(0x284),'attrs':{'id':_0x1cc422(0x235)},'children':[{'tag':'path','attrs':{'fill':_0x1cc422(0x1cc),'d':_0x1cc422(0x250),'transform':_0x1cc422(0x310)}}]}]}],'defIds':[_0x1cc422(0x235)]},xe=M[_0x1cc422(0x158)](function(_0x31e53e,_0x55d96a){const _0x4b91e5=_0x1cc422;return M[_0x4b91e5(0x1db)](be,Object[_0x4b91e5(0x1ef)]({},_0x31e53e,{'id':_0x4b91e5(0x376),'ref':_0x55d96a,'icon':Mt}));});xe[_0x1cc422(0x153)]=_0x1cc422(0x289);const Pt=_0x1cc422(0x352),wt=_0x1cc422(0x106),Lt=_0x1cc422(0x212),At=_0x1cc422(0x32e),yt=_0x1cc422(0x17e),H={'onlineStatusIcon':Pt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':At,'offline':yt};function $t(_0x3a24a1){const _0x366d58=_0x1cc422;switch(_0x3a24a1){case u[_0x366d58(0x25c)][_0x366d58(0x2e7)]:return _0x366d58(0x2cf);case u[_0x366d58(0x25c)][_0x366d58(0x1ea)]:return _0x366d58(0x32a);case u[_0x366d58(0x25c)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x366d58(0x355)]:return _0x366d58(0x27b);case u[_0x366d58(0x25c)][_0x366d58(0x103)]:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u[_0x366d58(0x25c)][_0x366d58(0x27c)]:case u[_0x366d58(0x25c)][_0x366d58(0x1c7)]:return _0x366d58(0x260);}}function _0x2eb0(){const _0x9c032=['subscribe','CollaborationStatusDisplay','collab-text-anchor-','getSheetBySheetId','M0\x200H16V16H0z','getTypeOfUnitDisposed$','disposeUnit','with','NO_OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','mergeOverrideWithDependencies','defIds','current','CollaborationUIEventId','_beforeCloseService','collaboration-client-ui.config','CollaborationStatus','IConfigService','updateOfflineData','DesktopCollaborationStatusDisplayController','collabStatus.synced','_saveTaskMap','endRow','evenodd','SUBMIT_CHANGESET_TIMEOUT','_assignedColors','_getSessionTicket','syncEditingCollabCursor','setConfig','onPointerMove$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','call','none','CollaborationUIEventService','1em','UNRECOGNIZED','SetSelectionsOperation','ONLINE','_instanceService','_collaborationUIEventService','transform','entries','offline','extend','SOCKET_FAILED_RETRY','Shape','collabStatus.notCollab','SYNCED','_cachedData','_colorAssignService','ISocketService','_configService','_textBubble','width','_hover','clipPath','JOIN_ROOM_FAILED','_scene','deepClone','HEADER_MENU','OnLineSingle','string','_drawTextRange','_init','RECT','div','column','saveImage','fromEvent','cursorInfo$','rgba(255,\x20255,\x20255,\x200.01)','path','_unitOnClients','_name','_collabCursorController','forEach','Tools','cursorInfo','_saveCache','_roomMembers$','@univerjs/sheets','addEventListener','handleMoveRange','_collabCursorState$','_renderManagerService','COLORS','CHANGESET_REVISION_CONFILICT','apply','DocSelectionManagerService','InsertRangeMoveDownCommandId','MemberService','_scheduleSaving','transformMutationsWithChangeset','all','set','clearInterval','location','transformRemoteChangeset','TEXT','getStateCache','m1Prime','_removeClearOtherTimer','flatMap','BrowserCollaborationSocketService','_entities','LOCAL_CACHE_INTERVAL_KEY','@univerjs/core','sheetId','rxjs','map','xlink:href','rxjs/operators','values','YUUMI_RATE_OVER_LIMIT','loadOfflineData','transformByState','registerRenderModule','function','RxDisposable','unshift','_startDocCollabCursor','...','exhaustSavingTask','hide','collabCursorState$','drawWith','data','getCurrentRevOfUnit','@univerjs/docs-ui','INVITE_CODE_REQUIRED','collabStatus.offline','getTypeOfUnitAdded$','SetWorksheetActivateCommand','onlineStatusIcon','measureText','_updateCollabCursors','setUndoRedoMutationParamsCache','href','onStarting','transformSelections','permission.title','defineProperty','getItem','triggerDblclick','registerBeforeClose','debounce','colorChannel1','wsSessionTicketUrl','RegularPolygon','replaceDocRanges','saveTaskMap','replace','roomMembers','_notificationService','OFFLINE','_registerDependencies','getValue','connectInjector','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','getSheetId','reconnect','redoState','_heartbeatTimer','_transformService','_setupSubUnitSync','_transformPreviousActiveRange','_cursorInfo$','_initStatusListener','OTHER_CLIENT_EDITING','send','prototype','ticket','ColorKit','IRenderManagerService','isArray','UPDATE_CURSOR','mask','origin','push','RevisionService','_sheetSkeletonManagerService','_initEntityListener','Error','_dataLoaderService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','serializeRangeWithSheet','@univerjs/network','getFocusedUnit','_removeCollabCursors','show','react','getVpScrollXYInfoByPosToVp','UNAUTHENTICATED','fromEventSubject','FromArray','translate(.97)','_draw','_memberService','_docSkeletonManagerService','_handleHover','subUnitId','toStringTag','getMergeData','actions','SheetsSelectionsService','DocStateChangeManagerService','Rectangle','LICENSE_IMPORT_SIZE_EXCEEDED','save','_syncEditingCollabCursorService','OTHER_CLIENTS_EDITING','getCurrentSelections','_docStateChangeManagerService','INTERNAL_ERROR','find','addClipboardHook','shareReplay','_range','DependentOn','loadUnit','selections','collabStatus.conflict','doc.mutation.rich-text-editing','_imageIoService','ACTIVE_UNIT_EVENT_CHANNEL','univer-online','trim','propertyIsEnumerable','@univerjs/design','off-line-single','0\x200\x2016\x2016','hovered','DeleteRangeMoveLeftCommandId','tag','beginPath','Unknown\x20user','getUnitStatus$','throttleTime','symbol','INVITE_CODE_HAS_BEEN_UES','_messageService','_cursors','concat','UniverInstanceType','jsx','complete','m2Prime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_drawAnchor','findNodePositionByCharIndex','NOT_FOUND','_cursor','parse','registerComponent','body','_initDependencies','useObservable','Disposable','onTransformChange$','onCommandExecuted','startsWith','univer-online-status-icon','sessionStatus$','assignAColorForMemberID','NOT_COLLAB','/run/','length','onPointerEnter$','CollaborationEvent','_lastPointer','currentColor','getOffsetConfig','getRenderById','transformStateCache','debug','handleInsertRangeMoveRight','gold400','toString','RemoveRowCommandId','next','filter','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','Rect','_handleLeaveEvent','UniverCollaborationClientUIPlugin','registerRefRange','fillStyle','selection','_selfUnitIDs','_initStatusComponent','WebBrowserSingleActiveUnitService','_entityInit$','roomMembers$','SHEET_VIEWPORT_KEY','createIdentifier','permission.content','on-line-single','4424JFYIGH','runRefRangeMutations','fillRule','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','2KUwNEc','UniverIcon','_initCommandExecutedListener','getCollabEntity$','BehaviorSubject','resize','Warning','_disabled','invokeId','toRgbString','_getAnchorBounding','runId','takeUntil','attrs','sheetID','LICENSE_DISTRO_REJECTED','UNIVER_SHEET','from','toDisposable','pushState','startRow','post','_eventUnsubscribe','AWAITING','getCollabCursors$','_docTransformSelectionsService','univer-online-status-title','_hovered','currentSkeleton$','idSuffix','saveOfflineData','INVALID_INVITE_CODE','_updateSubUnitFromURLParams','getRangePointData','_univerInstanceService','merge','purple300','getUnitId','setShapeProps','_commandService','getMember','28989yeFZcf','useRef','InsertColCommandId','_cursorShapes','dispose','SessionStatus','4230198XChtMB','subscribeEvent','children','Optional','YUUMI_SUBSCRIPTION_NOT_FOUND','color','SNAPSHOT_INVALID_SNAPSHOT','getViewport','indexOf','transformMutation','Injector','getCellPositionByOffset','undoState','InsertRangeMoveRightCommandId','dispose$','get','ITransformService','isEditing','_ensureSubject','fill','_onCursorDelete','unsubscribe','transformIMECache','asObservable','params','sessionTicket','CONNECTOR_DATA_TOO_LARGE','getDocRanges','icon','YUUMI_URL_COL_OUT_OF_RANGE','has','_getSaveTimeout','TOO_MANY_REQUESTS','top','USER_NOT_INVITED_CODE','SNAPSHOT_HAS_BEEN_REMOVED','_logService','univerjs-icon\x20univerjs-icon-','_updateLocalCursor','NodePositionConvertToCursor','INVITE_CODE_ALREADY_BOUND','requireSession','url(#$1','3192012czhnaB','_unitStatus','_initEvent','disposeWithMe','@univerjs/engine-formula','DocSkeletonManagerService','engine','bottom','USERS_LEAVE','onRendered','_backgroundColor','setItem','MUTATION','displayName','_injector','collaboration.single-unit.warning','skeleton','_hideTimer','forwardRef','getSkeleton','collab-rect-range-','clearTimeout','getCurrentUnitForType','ENSURE_SNAPSHOT_EXECUTION','deserializeRangeWithSheet','_toggleOffline','_revisionService','mapTo','RefRangeService','_id','subunit','some','_httpService','ThemeService','CollaborationDataLoaderController','_anchorDot','APPLY_DUPLICATED','_handleEvent','font','1345238InkLSJ','labelPosition','Subject','useDependency','getParam','random','off-line-single_clip0_910_343','session.will-retry','_scheduleClearOtherTimer','substring','_setupBeforeClosingHandler','onlineStatusTitle','_toggleOnline','imageSourceType','LocaleService','@univerjs/drawing','15301650hEAjSK','univer-offline','_getScale','hasOwnProperty','Vector2','clsx','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','replaceState','backgroundColor','range','size','code','_getSheetObject','popstate','_collaborationController','unit','LICENSE_MAX_UNITS_EXCEEDED','_online','_urlService','INotificationService','ILogService','getCoordByCell','UNIVER_DOC','textRanges','IUniverInstanceService','_doCreateSocket','UnitStatus','event$','removeParam','_createSocketURL','OffLineSingle','DEFAULT_WS_SESSION_TICKET_URL','whenReady','black','override','addObjects','isTransformMutationsWithChangesetSuccess','enableLocalCache','getConfig','_updateURLWithCurrentState','url(#on-line-single_clip0_910_349)','_color','endColumn','_localeService','IRemoteInstanceService','addObject','mutations','_labelPosition','HTTPService','_collabSessionService','add','closePath','APPLY_NON_SEQUENTIAL_REVISION','url(#off-line-single_clip0_910_343)','_clearOtherTimers','searchParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','memberID','_localCacheService','executeCommand','VIEW_MAIN','handleIRemoveRow','_document','editingUnit','DocIMEInputManagerService','COMPLETION_FINISHED','[CollaborationDataLoaderController]','error','_docSkeleton','_docTransformIMECacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ICommandService','stringify','onLocalMutation','PENDING','_refreshCollabCursors','Plugin','TEXT_RANGE_LAYER_INDEX','getCurrent','#fff','_getMergeRange','disableLocalCache','className','ALREADY_EXISTS','jiqing500','eventID','LOCAL_CACHE_INTERVAL','_anchor','getMemberID','history','combineLatest','_drawRectRange','_context','RemoveColCommandId','createElement','useCallback','_render','setParam','isActive','_startSheetCollabCursor','YUUMI_UNABLE_LOAD_URL','verdancy600','CollaborationSocketService','PERMISSION_DENIED','max','red300','INVALID_ARGUMENT','DocCollaborationEntity','round','CONFLICT','currentTheme$','type','getAncestorScale','getOwnPropertySymbols','assign','pipe','UNDEFINED','_localStorageService','_uiPartsService','Inject','unload','ISnapshotServerService','onMouseMove','isTransformMutationFailure','LOGIN_FAILED','setActiveRange','name','getOwnPropertyDescriptor','_refRangeService','InsertRowCommandId','RemoteUniscriptService','516196DpXJHo','setTimeout','getActiveRange','onPointerLeave$','PY_RUNTIME_SCRIPT_ERROR','fillText','_session','focused$','CollaborationSessionService','svg','handleInsertRow','[RemoteUniscriptService]:\x20no\x20focused\x20unit','defs','_docSyncEditingCollabCursorService','_docTransformStateCacheService','8077458KbLxVt','text','Failed','univer-online-status','_registerRenderDependencies','createInstance','unitID','use','switchMap','#FFF','handleIRemoveCol','collab-client.tooltip.reconnect','MessageType','handleInsertCol','EffectRefRangId','IImageIoService','APPLY_PERMISSION_DENIED','_colorIndex','urlChange$','_docClipboardService','DOC_RANGE_TYPE','online','Module','collaboration.closeRoom','APPLY_REVISION_CONFILICT','Tooltip','handleDeleteRangeMoveLeft','moveTo','_shapes','@univerjs/docs','setAlpha','_transformUndoRedoStack','_scheduleHeartbeat','collaboration-client.offline-data-not-saved','_send','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','5IVDFff','lineTo','on-line-single_clip0_910_349','_themeService','min','_transformHistoryAndStateStack','getColor','_onRefRangeChange','_config','_onCursorUpdate','Workbook','delete','restore','then','WebSocketService','_status$','unitId','makeDirty','@univerjs/sheets-ui','@univerjs/ui','UniverCollaborationClientPlugin','ranges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationController','@univerjs-pro/collaboration-client'];_0x2eb0=function(){return _0x9c032;};return _0x2eb0();}function je(_0x2fc866){const _0x2faa0e=_0x1cc422,{status$:_0x405e61}=_0x2fc866,_0x596d63=R[_0x2faa0e(0x34d)](_0x405e61,u['CollaborationStatus'][_0x2faa0e(0x355)]),_0x3559aa=R[_0x2faa0e(0x170)](a[_0x2faa0e(0x17b)]),_0x34cb93=R['useDependency'](u[_0x2faa0e(0x208)]),_0x1e8332=_0x596d63!==u[_0x2faa0e(0x25c)][_0x2faa0e(0x2e7)],_0x390773=_0x3559aa['t']($t(_0x596d63)),_0x26a82f=T[_0x2faa0e(0x182)](H['onlineStatus'],{[H[_0x2faa0e(0x224)]]:_0x1e8332,[H[_0x2faa0e(0x277)]]:!_0x1e8332}),_0x18e8bc=_0x1e8332?w[_0x2faa0e(0x341)](xe,{}):w[_0x2faa0e(0x341)]($e,{}),_0x3e9039=M[_0x2faa0e(0x1dc)](()=>{const _0x443e58=_0x2faa0e;_0x1e8332||_0x34cb93[_0x443e58(0x2ed)]();},[_0x1e8332,_0x34cb93]);function _0x14a5d3(){const _0x235cb9=_0x2faa0e;return w['jsxs']('div',{'className':T['clsx'](_0x26a82f,'univer-flex\x20univer-items-center'),'onClick':_0x3e9039,'children':[w[_0x235cb9(0x341)](_0x235cb9(0x28e),{'className':H[_0x235cb9(0x2d2)],'children':_0x18e8bc}),w['jsx'](_0x235cb9(0x28e),{'className':H[_0x235cb9(0x178)],'children':_0x390773})]});}return _0x1e8332?_0x14a5d3():w[_0x2faa0e(0x341)](T[_0x2faa0e(0x228)],{'title':_0x3559aa['t'](_0x2faa0e(0x21a)),'children':_0x14a5d3()});}var xt=Object[_0x1cc422(0x1fc)],jt=(_0x57f8cf,_0x260027,_0x3f7bf0,_0x3b65c9)=>{const _0x263426=_0x1cc422;for(var _0x127ebb=_0x3b65c9>0x1?void 0x0:_0x3b65c9?xt(_0x260027,_0x3f7bf0):_0x260027,_0x3020f7=_0x57f8cf[_0x263426(0x357)]-0x1,_0x254b8b;_0x3020f7>=0x0;_0x3020f7--)(_0x254b8b=_0x57f8cf[_0x3020f7])&&(_0x127ebb=_0x254b8b(_0x127ebb)||_0x127ebb);return _0x127ebb;},X=(_0x24c2c1,_0x4bfc25)=>(_0x487077,_0x1d9edc)=>_0x4bfc25(_0x487077,_0x1d9edc,_0x24c2c1);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x3839b6,_0x430f85,_0x3385eb,_0xffe012){const _0x4c6664=_0x1cc422;super(),h(this,_0x4c6664(0x242),new d['BehaviorSubject'](u[_0x4c6664(0x25c)][_0x4c6664(0x355)])),(this[_0x4c6664(0x10e)]=_0x3839b6,this['_injector']=_0x430f85,this['_collaborationController']=_0x3385eb,this[_0x4c6664(0x1f3)]=_0xffe012,this[_0x4c6664(0x36f)](),this[_0x4c6664(0x2f4)]());}[_0x1cc422(0x2f4)](){const _0x514897=_0x1cc422;this['disposeWithMe'](this[_0x514897(0x10e)][_0x514897(0x207)][_0x514897(0x1f0)](d['switchMap'](()=>{const _0x3b4d7d=_0x514897,_0x2fd873=this[_0x3b4d7d(0x10e)][_0x3b4d7d(0x308)]();return _0x2fd873?this[_0x3b4d7d(0x18b)][_0x3b4d7d(0xef)](_0x2fd873[_0x3b4d7d(0x111)]()):d['of'](null);}),d['switchMap'](_0x322fe2=>_0x322fe2?_0x322fe2['status$']:d['of'](u[_0x514897(0x25c)][_0x514897(0x355)])))[_0x514897(0x24c)](_0x237337=>{const _0x1c0123=_0x514897;this[_0x1c0123(0x242)]['next'](_0x237337);}));}[_0x1cc422(0x36f)](){const _0x12a6ee=_0x1cc422;this[_0x12a6ee(0x149)](this[_0x12a6ee(0x1f3)][_0x12a6ee(0x34a)](R['BuiltInUIPart'][_0x12a6ee(0x288)],()=>R[_0x12a6ee(0x2ea)](kt({'status$':this[_0x12a6ee(0x242)][_0x12a6ee(0x132)]()}),this[_0x12a6ee(0x154)])));}},exports[_0x1cc422(0x25f)]=jt([X(0x0,a[_0x1cc422(0x195)]),X(0x1,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x125)])),X(0x2,a[_0x1cc422(0x1f4)](u[_0x1cc422(0x24a)])),X(0x3,R['IUIPartsService'])],exports[_0x1cc422(0x25f)]);function kt(_0x44440a){const {status$:_0x5c9f98}=_0x44440a;return function(){const _0x3d243f=_0x1c04;return w[_0x3d243f(0x341)](je,{'status$':_0x5c9f98});};}var Bt=Object[_0x1cc422(0x1fc)],Ht=(_0x1da175,_0x3962f3,_0x408cfc,_0x4930b9)=>{for(var _0x1ec17f=_0x4930b9>0x1?void 0x0:_0x4930b9?Bt(_0x3962f3,_0x408cfc):_0x3962f3,_0x352d95=_0x1da175['length']-0x1,_0xcc4c01;_0x352d95>=0x0;_0x352d95--)(_0xcc4c01=_0x1da175[_0x352d95])&&(_0x1ec17f=_0xcc4c01(_0x1ec17f)||_0x1ec17f);return _0x1ec17f;},y=(_0x38ad43,_0x409bcc)=>(_0x4541e0,_0x1a9e4b)=>_0x409bcc(_0x4541e0,_0x1a9e4b,_0x38ad43);let z=class extends a[_0x1cc422(0x34e)]{constructor(_0x5899ca,_0x433cc5,_0x252456,_0x2ec98e,_0x19067a,_0x40e595){const _0x25d52c=_0x1cc422;super(),this[_0x25d52c(0x25a)]=_0x5899ca,this[_0x25d52c(0x1b7)]=_0x433cc5,this['_collaborationUIEventService']=_0x252456,this[_0x25d52c(0x33d)]=_0x2ec98e,this['_notificationService']=_0x19067a,this[_0x25d52c(0x1a8)]=_0x40e595,this[_0x25d52c(0x177)](),this[_0x25d52c(0x148)]();}[_0x1cc422(0x177)](){const _0x345d47=_0x1cc422;this[_0x345d47(0x149)](this[_0x345d47(0x25a)][_0x345d47(0x2dd)](()=>{const _0x5b242f=_0x345d47;if(this['_localCacheService'][_0x5b242f(0x2e3)][_0x5b242f(0x187)])return this[_0x5b242f(0x1a8)]['t'](_0x5b242f(0x230));}));}['_initEvent'](){const _0x112e55=_0x1cc422;this[_0x112e55(0x149)](this[_0x112e55(0x274)][_0x112e55(0x198)][_0x112e55(0x24c)](_0x1af92f=>{const _0x20c601=_0x112e55;_0x1af92f['id']===u[_0x20c601(0x259)][_0x20c601(0x2f5)]&&this['_messageService'][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)][_0x20c601(0xf2)],'content':this[_0x20c601(0x1a8)]['t'](_0x20c601(0x155))}),_0x1af92f['id']===u[_0x20c601(0x259)]['CLOSE_ROOM']&&this[_0x20c601(0x33d)][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)][_0x20c601(0xf2)],'content':this[_0x20c601(0x1a8)]['t']('collaboration.closeRoom')}),_0x1af92f['id']===u[_0x20c601(0x259)][_0x20c601(0x1e4)]&&this[_0x20c601(0x2e6)][_0x20c601(0x30a)]({'title':this['_localeService']['t'](_0x20c601(0x2d9)),'content':this[_0x20c601(0x1a8)]['t'](_0x20c601(0x375)),'type':_0x20c601(0x1c0),'duration':0x0}),_0x1af92f['id']===u['CollaborationUIEventId'][_0x20c601(0x1ea)]&&this[_0x20c601(0x33d)]['show']({'type':T[_0x20c601(0x21b)][_0x20c601(0x303)],'content':this[_0x20c601(0x1a8)]['t'](_0x20c601(0x226))+'('+_0x1af92f[_0x20c601(0x2cb)]+')'}),_0x1af92f['id']===u['CollaborationUIEventId'][_0x20c601(0x285)]&&this[_0x20c601(0x33d)][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)]['Warning'],'content':this[_0x20c601(0x1a8)]['t'](_0x1af92f[_0x20c601(0x2cb)]||'')}),_0x1af92f['id']===u[_0x20c601(0x259)][_0x20c601(0x279)]&&this[_0x20c601(0x33d)][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)]['Warning'],'content':this[_0x20c601(0x1a8)]['t'](_0x20c601(0x174))}),_0x1af92f['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this['_messageService'][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)][_0x20c601(0x303)],'content':this[_0x20c601(0x1a8)]['t']('session.connection-failed')}),_0x1af92f['id']===u['CollaborationUIEventId'][_0x20c601(0x264)]&&this[_0x20c601(0x33d)][_0x20c601(0x30a)]({'type':T[_0x20c601(0x21b)][_0x20c601(0x303)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};z=Ht([y(0x0,R['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x1cc422(0x26e)])),y(0x3,R['IMessageService']),y(0x4,R[_0x1cc422(0x190)]),y(0x5,a[_0x1cc422(0x1f4)](a['LocaleService']))],z);const Ft=_0x1cc422(0x25b),Ne={},Ee=a[_0x1cc422(0x374)]('uni.network.url-service');var Wt=Object['getOwnPropertyDescriptor'],Yt=(_0x3767cc,_0x23b2f5,_0x284ac7,_0x106e8f)=>{const _0x114dcc=_0x1cc422;for(var _0x57bc73=_0x106e8f>0x1?void 0x0:_0x106e8f?Wt(_0x23b2f5,_0x284ac7):_0x23b2f5,_0x2ecfc7=_0x3767cc[_0x114dcc(0x357)]-0x1,_0x4559e9;_0x2ecfc7>=0x0;_0x2ecfc7--)(_0x4559e9=_0x3767cc[_0x2ecfc7])&&(_0x57bc73=_0x4559e9(_0x57bc73)||_0x57bc73);return _0x57bc73;},F=(_0x452a08,_0x4d714b)=>(_0x6e89d7,_0x5c32ff)=>_0x4d714b(_0x6e89d7,_0x5c32ff,_0x452a08);exports[_0x1cc422(0x168)]=class extends a['RxDisposable']{constructor(_0x4ebb38,_0x4c2011,_0x792519,_0x1d4bf9,_0x38ea0d){const _0x20d6fb=_0x1cc422;super(),this[_0x20d6fb(0x18f)]=_0x4ebb38,this[_0x20d6fb(0x13f)]=_0x4c2011,this[_0x20d6fb(0x113)]=_0x792519,this[_0x20d6fb(0x304)]=_0x1d4bf9,_0x38ea0d?_0x38ea0d==null||_0x38ea0d[_0x20d6fb(0x19d)]()[_0x20d6fb(0x240)](()=>this[_0x20d6fb(0x28c)]()):(this[_0x20d6fb(0x13f)][_0x20d6fb(0x35f)](_0x20d6fb(0x1bf),_0x20d6fb(0x232)),this[_0x20d6fb(0x28c)]());}async[_0x1cc422(0x28c)](){const _0xae1dd5=_0x1cc422,_0xd7faf4=this[_0xae1dd5(0x18f)][_0xae1dd5(0x171)](_0xae1dd5(0x18c)),_0x5f1ff8=this[_0xae1dd5(0x18f)][_0xae1dd5(0x171)](_0xae1dd5(0x1ec)),_0x526303=this[_0xae1dd5(0x18f)][_0xae1dd5(0x171)](_0xae1dd5(0x164));if(!_0xd7faf4||!_0x5f1ff8){this[_0xae1dd5(0x13f)][_0xae1dd5(0x35f)](_0xae1dd5(0x1bf),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x37a5d4=await this[_0xae1dd5(0x304)][_0xae1dd5(0x328)](_0xd7faf4,Number(_0x5f1ff8),_0x526303);_0x37a5d4&&_0x37a5d4 instanceof a[_0xae1dd5(0x23d)]&&this[_0xae1dd5(0x2f1)](_0x37a5d4);}async['_setupSubUnitSync'](_0x2314f5){const _0x2bdfbd=_0x1cc422;await this[_0x2bdfbd(0x10c)](_0x2314f5),_0x2314f5['activeSheet$'][_0x2bdfbd(0x1f0)](d['takeUntil'](this[_0x2bdfbd(0x129)]))[_0x2bdfbd(0x24c)](_0x18286a=>{const _0x37a1fb=_0x2bdfbd;_0x18286a&&this[_0x37a1fb(0x1a4)](_0x18286a);}),this[_0x2bdfbd(0x18f)][_0x2bdfbd(0x221)][_0x2bdfbd(0x1f0)](d[_0x2bdfbd(0xf8)](this[_0x2bdfbd(0x129)]))['subscribe'](()=>this[_0x2bdfbd(0x10c)](_0x2314f5));}[_0x1cc422(0x1a4)](_0x4ffe85,_0x5e1926=!0x1){const _0x3d2037=_0x1cc422,_0x3da421=this['_urlService']['getParam'](_0x3d2037(0x164));_0x4ffe85[_0x3d2037(0x2ec)]()!==_0x3da421&&this[_0x3d2037(0x18f)][_0x3d2037(0x1de)](_0x3d2037(0x164),_0x4ffe85[_0x3d2037(0x2ec)](),_0x5e1926);}async[_0x1cc422(0x10c)](_0x1320ed){const _0x434aad=_0x1cc422;var _0x4240e9;const _0x56b434=this[_0x434aad(0x18f)][_0x434aad(0x171)](_0x434aad(0x164));if(!_0x56b434||!_0x1320ed[_0x434aad(0x24f)](_0x56b434)){const _0x7c528c=_0x1320ed['getUnhiddenWorksheets']()[0x0],_0x46b6df=_0x1320ed[_0x434aad(0x24f)](_0x7c528c);if(!_0x46b6df)return;this['_updateURLWithCurrentState'](_0x46b6df,!0x0),await this[_0x434aad(0x113)][_0x434aad(0x1b8)](g[_0x434aad(0x2d1)]['id'],{'unitId':_0x1320ed[_0x434aad(0x111)](),'subUnitId':_0x7c528c});return;}((_0x4240e9=_0x1320ed['getActiveSheet']())==null?void 0x0:_0x4240e9[_0x434aad(0x2ec)]())!==_0x56b434&&await this[_0x434aad(0x113)][_0x434aad(0x1b8)](g[_0x434aad(0x2d1)]['id'],{'unitId':_0x1320ed[_0x434aad(0x111)](),'subUnitId':_0x56b434});}},exports[_0x1cc422(0x168)]=Yt([F(0x0,Ee),F(0x1,a[_0x1cc422(0x191)]),F(0x2,a[_0x1cc422(0x1c4)]),F(0x3,a[_0x1cc422(0x1f4)](u['DataLoaderService'])),F(0x4,a[_0x1cc422(0x11e)](Ke[_0x1cc422(0x1a9)]))],exports[_0x1cc422(0x168)]);var Vt=Object[_0x1cc422(0x1fc)],Xt=(_0x5f213b,_0x1e28e0,_0x17bab8,_0x331952)=>{const _0x356f18=_0x1cc422;for(var _0x48a7da=_0x331952>0x1?void 0x0:_0x331952?Vt(_0x1e28e0,_0x17bab8):_0x1e28e0,_0x16dfd1=_0x5f213b[_0x356f18(0x357)]-0x1,_0x32f60d;_0x16dfd1>=0x0;_0x16dfd1--)(_0x32f60d=_0x5f213b[_0x16dfd1])&&(_0x48a7da=_0x32f60d(_0x48a7da)||_0x48a7da);return _0x48a7da;},le=(_0x2262da,_0x480588)=>(_0x5125f1,_0x30fced)=>_0x480588(_0x5125f1,_0x30fced,_0x2262da);let J=class{constructor(_0x3926eb,_0x12751d,_0x86f809){const _0x3278b3=_0x1cc422;this[_0x3278b3(0x154)]=_0x3926eb,this['_transformService']=_0x12751d,this[_0x3278b3(0x2a1)]=_0x86f809;}[_0x1cc422(0x131)](_0x4b76f3){const _0x50994c=_0x1cc422;this[_0x50994c(0x22e)](_0x4b76f3),this[_0x50994c(0x2f2)](_0x4b76f3);}[_0x1cc422(0x2ae)](_0x414a5c){const _0x144e8c=_0x1cc422,{unitID:_0xf9170b}=_0x414a5c,_0x33fc78=this['_renderManagerService'][_0x144e8c(0x35d)](_0xf9170b)[_0x144e8c(0x253)](b[_0x144e8c(0x1bd)]),{redoCache:_0x3765c6}=_0x33fc78[_0x144e8c(0x255)]();if(_0x3765c6[_0x144e8c(0x357)]===0x0)return _0x414a5c;let _0x407b0d=a['Tools'][_0x144e8c(0x287)](_0x414a5c['mutations'][0x0]);for(let _0x4b4059=0x0;_0x4b4059<_0x3765c6[_0x144e8c(0x357)];_0x4b4059++){const _0x2d8236={'id':_0x144e8c(0x32b),'params':{..._0x3765c6[_0x4b4059]}},_0x5eb4b9=this['_transformService']['transformMutation'](_0x407b0d,_0x2d8236,!0x1);if(m[_0x144e8c(0x1f8)](_0x5eb4b9))throw _0x5eb4b9[_0x144e8c(0x1c0)];_0x407b0d=_0x5eb4b9[_0x144e8c(0x2b1)];}return{...a[_0x144e8c(0x299)][_0x144e8c(0x287)](_0x414a5c),'mutations':[_0x407b0d]};}[_0x1cc422(0x22e)](_0x48e595){const _0x2b3f8b=_0x1cc422,{unitID:_0x412f5f}=_0x48e595,_0x406a20=this[_0x2b3f8b(0x2a1)][_0x2b3f8b(0x35d)](_0x412f5f)[_0x2b3f8b(0x253)](b[_0x2b3f8b(0x1bd)]),{undoCache:_0x4d8c59,redoCache:_0x4d7caf}=_0x406a20[_0x2b3f8b(0x255)]();if(_0x4d8c59[_0x2b3f8b(0x357)]===0x0||_0x4d7caf[_0x2b3f8b(0x357)]===0x0)return;const _0x400da4=[],_0x19f71f=[];let _0x5ec1bc=a[_0x2b3f8b(0x299)][_0x2b3f8b(0x287)](_0x48e595[_0x2b3f8b(0x1ab)][0x0]),_0x399480=a[_0x2b3f8b(0x299)][_0x2b3f8b(0x287)](_0x48e595[_0x2b3f8b(0x1ab)][0x0]);for(let _0x369544=_0x4d8c59['length']-0x1;_0x369544>=0x0;_0x369544--){const _0x2c0343={'id':_0x2b3f8b(0x32b),'params':{..._0x4d8c59[_0x369544]}},_0x216a67={'id':_0x2b3f8b(0x32b),'params':{..._0x4d7caf[_0x369544]}},_0x3de154=this['_transformService'][_0x2b3f8b(0x124)](_0x5ec1bc,_0x2c0343,!0x1),_0x58edcd=this['_transformService']['transformMutation'](_0x399480,_0x216a67,!0x1);if(m[_0x2b3f8b(0x1f8)](_0x3de154))throw _0x3de154[_0x2b3f8b(0x1c0)];if(m[_0x2b3f8b(0x1f8)](_0x58edcd))throw _0x58edcd[_0x2b3f8b(0x1c0)];_0x400da4[_0x2b3f8b(0x2c4)](_0x3de154[_0x2b3f8b(0x343)][_0x2b3f8b(0x133)]),_0x19f71f['unshift'](_0x58edcd[_0x2b3f8b(0x343)]['params']),_0x5ec1bc=_0x3de154[_0x2b3f8b(0x2b1)],_0x399480=_0x58edcd['m1Prime'];}_0x406a20[_0x2b3f8b(0x2d5)]({'undoCache':_0x400da4,'redoCache':_0x19f71f});}[_0x1cc422(0x2f2)](_0x18f911){const _0x5a6b3b=_0x1cc422,{unitID:_0x3ce2e3}=_0x18f911,_0x30fa58=this[_0x5a6b3b(0x2a1)][_0x5a6b3b(0x35d)](_0x3ce2e3)[_0x5a6b3b(0x253)](b[_0x5a6b3b(0x1bd)]),_0x351891=_0x30fa58[_0x5a6b3b(0x202)]();if(_0x351891==null)return;const _0x490dfd=[{'id':_0x5a6b3b(0x32b),'params':{'unitId':_0x18f911[_0x5a6b3b(0x215)],'actions':null,'textRanges':[_0x351891]}}],_0x4933d4=this[_0x5a6b3b(0x2f0)][_0x5a6b3b(0x2a9)](_0x18f911,_0x490dfd);if(!m[_0x5a6b3b(0x1a1)](_0x4933d4))throw _0x4933d4[_0x5a6b3b(0x1c0)];const _0x1ba44d=_0x4933d4[_0x5a6b3b(0x343)][0x0]['params'][_0x5a6b3b(0x194)];Array[_0x5a6b3b(0x2fb)](_0x1ba44d)&&_0x1ba44d[_0x5a6b3b(0x357)]&&_0x30fa58[_0x5a6b3b(0x1fa)](_0x1ba44d[0x0]);}};J=Xt([le(0x0,a[_0x1cc422(0x1f4)](a['Injector'])),le(0x1,m[_0x1cc422(0x12b)]),le(0x2,p[_0x1cc422(0x2fa)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x2fc5f9,_0x19ffb,_0x5fc439,_0x4585de)=>{for(var _0x3656db=_0x4585de>0x1?void 0x0:_0x4585de?Gt(_0x19ffb,_0x5fc439):_0x19ffb,_0x58b2e7=_0x2fc5f9['length']-0x1,_0x52d36c;_0x58b2e7>=0x0;_0x58b2e7--)(_0x52d36c=_0x2fc5f9[_0x58b2e7])&&(_0x3656db=_0x52d36c(_0x3656db)||_0x3656db);return _0x3656db;},he=(_0x3c1ead,_0x4fa3fc)=>(_0x444a05,_0x4fa1ff)=>_0x4fa3fc(_0x444a05,_0x4fa1ff,_0x3c1ead);let Z=class{constructor(_0x15d898,_0x3f077a,_0x25d969){const _0x2df5c9=_0x1cc422;this[_0x2df5c9(0x154)]=_0x15d898,this[_0x2df5c9(0x2f0)]=_0x3f077a,this[_0x2df5c9(0x321)]=_0x25d969;}[_0x1cc422(0x35e)](_0x1931b0){const _0x2481aa=_0x1cc422;this[_0x2481aa(0x238)](_0x1931b0);}['transformRemoteChangeset'](_0x1be17b){const _0x29a6d7=_0x1cc422,{unitID:_0x463777}=_0x1be17b,{collaboration:_0x306655}=this[_0x29a6d7(0x321)][_0x29a6d7(0x2b0)](_0x463777);if(_0x306655[_0x29a6d7(0x357)]===0x0)return _0x1be17b;let _0x519f9d=a[_0x29a6d7(0x299)][_0x29a6d7(0x287)](_0x1be17b['mutations'][0x0]);for(let _0xe95bb6=0x0;_0xe95bb6<_0x306655['length'];_0xe95bb6++){const _0x58cc75={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x306655[_0xe95bb6][_0x29a6d7(0x243)],..._0x306655[_0xe95bb6]['redoState']}},_0x1f9b33=this[_0x29a6d7(0x2f0)]['transformMutation'](_0x519f9d,_0x58cc75,!0x1);if(m[_0x29a6d7(0x1f8)](_0x1f9b33))throw _0x1f9b33['error'];_0x519f9d=_0x1f9b33['m1Prime'];}return{...a[_0x29a6d7(0x299)][_0x29a6d7(0x287)](_0x1be17b),'mutations':[_0x519f9d]};}[_0x1cc422(0x238)](_0x1b10ac){const _0xc60b0b=_0x1cc422,{unitID:_0x5703f0}=_0x1b10ac,{history:_0x54b8a6,collaboration:_0x49c531}=this[_0xc60b0b(0x321)][_0xc60b0b(0x2b0)](_0x5703f0);if(_0x54b8a6[_0xc60b0b(0x357)]===0x0&&_0x49c531['length']===0x0)return;const _0x3acbcd=[],_0x105414=[];let _0x16a92=a[_0xc60b0b(0x299)][_0xc60b0b(0x287)](_0x1b10ac['mutations'][0x0]),_0x221614=a['Tools'][_0xc60b0b(0x287)](_0x1b10ac['mutations'][0x0]);for(let _0x384828=_0x54b8a6[_0xc60b0b(0x357)]-0x1;_0x384828>=0x0;_0x384828--){const _0x9528cd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54b8a6[_0x384828][_0xc60b0b(0x243)],..._0x54b8a6[_0x384828][_0xc60b0b(0x127)]}},_0x774158={'id':_0xc60b0b(0x32b),'params':{'unitId':_0x54b8a6[_0x384828][_0xc60b0b(0x243)],..._0x54b8a6[_0x384828]['redoState']}},_0x45eff5=this[_0xc60b0b(0x2f0)][_0xc60b0b(0x124)](_0x16a92,_0x9528cd,!0x1),_0x18ff61=this[_0xc60b0b(0x2f0)][_0xc60b0b(0x124)](_0x221614,_0x774158,!0x1);if(m['isTransformMutationFailure'](_0x45eff5))throw _0x45eff5[_0xc60b0b(0x1c0)];if(m['isTransformMutationFailure'](_0x18ff61))throw _0x18ff61['error'];_0x3acbcd[_0xc60b0b(0x2c4)]({..._0x54b8a6[_0x384828],'undoState':_0x45eff5[_0xc60b0b(0x343)][_0xc60b0b(0x133)],'redoState':_0x18ff61['m2Prime'][_0xc60b0b(0x133)]}),_0x16a92=_0x45eff5[_0xc60b0b(0x2b1)],_0x221614=_0x18ff61[_0xc60b0b(0x2b1)];}_0x16a92=a[_0xc60b0b(0x299)]['deepClone'](_0x1b10ac[_0xc60b0b(0x1ab)][0x0]),_0x221614=a[_0xc60b0b(0x299)]['deepClone'](_0x1b10ac[_0xc60b0b(0x1ab)][0x0]);for(let _0x1a1b83=_0x49c531['length']-0x1;_0x1a1b83>=0x0;_0x1a1b83--){const _0x4f0d88={'id':_0xc60b0b(0x32b),'params':{'unitId':_0x49c531[_0x1a1b83][_0xc60b0b(0x243)],..._0x49c531[_0x1a1b83][_0xc60b0b(0x127)]}},_0xe3574a={'id':_0xc60b0b(0x32b),'params':{'unitId':_0x49c531[_0x1a1b83]['unitId'],..._0x49c531[_0x1a1b83][_0xc60b0b(0x2ee)]}},_0x14da24=this[_0xc60b0b(0x2f0)]['transformMutation'](_0x16a92,_0x4f0d88,!0x1),_0x45407b=this[_0xc60b0b(0x2f0)][_0xc60b0b(0x124)](_0x221614,_0xe3574a,!0x1);if(m[_0xc60b0b(0x1f8)](_0x14da24))throw _0x14da24['error'];if(m[_0xc60b0b(0x1f8)](_0x45407b))throw _0x45407b['error'];_0x105414[_0xc60b0b(0x2c4)]({..._0x49c531[_0x1a1b83],'undoState':_0x14da24[_0xc60b0b(0x343)]['params'],'redoState':_0x45407b[_0xc60b0b(0x343)][_0xc60b0b(0x133)]}),_0x16a92=_0x14da24[_0xc60b0b(0x2b1)],_0x221614=_0x45407b['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x5703f0,{'history':_0x3acbcd,'collaboration':_0x105414});}};Z=qt([he(0x0,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x125)])),he(0x1,m[_0x1cc422(0x12b)]),he(0x2,a[_0x1cc422(0x1f4)](b[_0x1cc422(0x31a)]))],Z);var Kt=Object[_0x1cc422(0x1fc)],zt=(_0x40423a,_0x324126,_0x3e8b5b,_0x3798cc)=>{const _0x3f976d=_0x1cc422;for(var _0x1fe51c=_0x3798cc>0x1?void 0x0:_0x3798cc?Kt(_0x324126,_0x3e8b5b):_0x324126,_0x4fd738=_0x40423a[_0x3f976d(0x357)]-0x1,_0x57a0b8;_0x4fd738>=0x0;_0x4fd738--)(_0x57a0b8=_0x40423a[_0x4fd738])&&(_0x1fe51c=_0x57a0b8(_0x1fe51c)||_0x1fe51c);return _0x1fe51c;},Me=(_0x30be56,_0xfc0d5c)=>(_0x2cc41b,_0x48681b)=>_0xfc0d5c(_0x2cc41b,_0x48681b,_0x30be56);let Q=class{constructor(_0x57943f,_0x36614b){const _0x5564eb=_0x1cc422;this[_0x5564eb(0x154)]=_0x57943f,this['_transformService']=_0x36614b;}[_0x1cc422(0x2d8)](_0x3a9c1a){const _0x2de946=_0x1cc422;var _0x2abdf7;const _0x13803b=this['_injector'][_0x2de946(0x12a)](Y[_0x2de946(0x2a5)]),_0x597f4d=(_0x2abdf7=_0x13803b[_0x2de946(0x136)]())!=null?_0x2abdf7:[];if(_0x597f4d[_0x2de946(0x357)]===0x0)return;const _0x2891be=_0x3a9c1a['unitID'],_0x462e4f=[{'id':_0x2de946(0x32b),'params':{'unitId':_0x2891be,'actions':null,'textRanges':_0x597f4d}}],_0x2e81fb=this[_0x2de946(0x2f0)][_0x2de946(0x2a9)](_0x3a9c1a,_0x462e4f);if(!m[_0x2de946(0x1a1)](_0x2e81fb))throw _0x2e81fb[_0x2de946(0x1c0)];const _0xd87eef=_0x2e81fb[_0x2de946(0x343)][0x0]['params'][_0x2de946(0x194)];Array[_0x2de946(0x2fb)](_0xd87eef)&&_0xd87eef['length']&&_0x13803b[_0x2de946(0x2e2)](_0xd87eef,{'unitId':_0x2891be,'subUnitId':_0x2891be},!0x1);}};Q=zt([Me(0x0,a[_0x1cc422(0x1f4)](a['Injector'])),Me(0x1,m[_0x1cc422(0x12b)])],Q);var Jt=Object[_0x1cc422(0x1fc)],Zt=(_0x5c771c,_0x4d3cfb,_0x9f5cd4,_0x2a78ec)=>{for(var _0xbda011=_0x2a78ec>0x1?void 0x0:_0x2a78ec?Jt(_0x4d3cfb,_0x9f5cd4):_0x4d3cfb,_0x1dfe28=_0x5c771c['length']-0x1,_0x1b8cf5;_0x1dfe28>=0x0;_0x1dfe28--)(_0x1b8cf5=_0x5c771c[_0x1dfe28])&&(_0xbda011=_0x1b8cf5(_0xbda011)||_0xbda011);return _0xbda011;},N=(_0x1441c3,_0x4dcc5f)=>(_0x19a442,_0x4af443)=>_0x4dcc5f(_0x19a442,_0x4af443,_0x1441c3);let ee=class extends a['Disposable']{constructor(_0x87e8d8,_0x41b979,_0x39fe8e,_0x34b7a0,_0x5aeeb6,_0x27e460,_0x1342fe,_0x5cce22){const _0x3f29c8=_0x1cc422;super(),h(this,'_status$',new d[(_0x3f29c8(0xf0))](u[_0x3f29c8(0x25c)][_0x3f29c8(0x355)])),(this[_0x3f29c8(0x321)]=_0x87e8d8,this[_0x3f29c8(0x18b)]=_0x41b979,this[_0x3f29c8(0x1c2)]=_0x39fe8e,this[_0x3f29c8(0x20e)]=_0x34b7a0,this[_0x3f29c8(0x105)]=_0x5aeeb6,this[_0x3f29c8(0x20d)]=_0x27e460,this[_0x3f29c8(0x33d)]=_0x1342fe,this[_0x3f29c8(0x1a8)]=_0x5cce22,this['_initEntityListener']());}[_0x1cc422(0x302)](){const _0x22b903=_0x1cc422;this[_0x22b903(0x149)](this[_0x22b903(0x18b)][_0x22b903(0x366)][_0x22b903(0x24c)](_0x4366e6=>{const _0x2ef849=_0x22b903,_0x5b3670=this['_docStateChangeManagerService']['docStateChange$'][_0x2ef849(0x24c)](_0x5cbe4a=>{const _0x23f0c9=_0x2ef849;if(_0x5cbe4a==null)return;const {unitId:_0x239b63,redoState:_0x6577cb,commandId:_0x22706a}=_0x5cbe4a;if(_0x239b63!==_0x4366e6['unitID'])return;const _0x241ac6={'id':_0x22706a,'type':a['CommandType'][_0x23f0c9(0x152)],'params':{'unitId':_0x239b63,'actions':_0x6577cb[_0x23f0c9(0x318)],'textRanges':null}};_0x4366e6[_0x23f0c9(0x1c6)](_0x241ac6);});if(_0x4366e6['disposeWithMe'](_0x5b3670),_0x4366e6 instanceof u[_0x2ef849(0x1e8)]){const _0x4777af={'onTransformIME':_0x29ce67=>this[_0x2ef849(0x1c2)]['transformIMECache'](_0x29ce67),'onTransformState':_0x565f56=>this[_0x2ef849(0x20e)]['transformStateCache'](_0x565f56),'onTransformSelections':_0x355411=>this['_docTransformSelectionsService'][_0x2ef849(0x2d8)](_0x355411),'onSyncEditingCollabCursor':_0x5449a1=>this[_0x2ef849(0x20d)][_0x2ef849(0x267)](_0x5449a1),'onTransformRemoteChangesetByIMECache':_0x25a2db=>this[_0x2ef849(0x1c2)][_0x2ef849(0x2ae)](_0x25a2db),'onTransformRemoteChangesetByStateCache':_0xb00df6=>this[_0x2ef849(0x20e)]['transformRemoteChangeset'](_0xb00df6)};_0x4366e6['addHandlerCallback'](_0x4777af);}}));}};ee=Zt([N(0x0,a[_0x1cc422(0x1f4)](b[_0x1cc422(0x31a)])),N(0x1,a[_0x1cc422(0x1f4)](u[_0x1cc422(0x24a)])),N(0x2,a[_0x1cc422(0x1f4)](J)),N(0x3,a[_0x1cc422(0x1f4)](Z)),N(0x4,a[_0x1cc422(0x1f4)](Q)),N(0x5,a[_0x1cc422(0x1f4)](pe)),N(0x6,R['IMessageService']),N(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x19deec,_0x2d2910,_0x5e581a,_0x551ced)=>{const _0x4b1ef9=_0x1cc422;for(var _0x180e48=_0x551ced>0x1?void 0x0:_0x551ced?Qt(_0x2d2910,_0x5e581a):_0x2d2910,_0x35a3fb=_0x19deec[_0x4b1ef9(0x357)]-0x1,_0x1769a3;_0x35a3fb>=0x0;_0x35a3fb--)(_0x1769a3=_0x19deec[_0x35a3fb])&&(_0x180e48=_0x1769a3(_0x180e48)||_0x180e48);return _0x180e48;},_e=(_0x1ac87d,_0x504087)=>(_0x367301,_0x590c72)=>_0x504087(_0x367301,_0x590c72,_0x1ac87d);let me=class extends a[_0x1cc422(0x34e)]{constructor(_0x49f7e1,_0x54f20a,_0x4a4728){const _0x504046=_0x1cc422;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x504046(0xf3),!0x1),(this[_0x504046(0x280)]=_0x49f7e1,this[_0x504046(0x1f2)]=_0x54f20a,this[_0x504046(0x160)]=_0x4a4728);}[_0x1cc422(0x1ce)](){const _0x2730dd=_0x1cc422;this[_0x2730dd(0xf3)]=!0x0;}[_0x1cc422(0x1a2)](){const _0x38f825=_0x1cc422;this[_0x38f825(0xf3)]=!0x1;}get[_0x1cc422(0x2e3)](){const _0x4a4e7c=_0x1cc422;return this[_0x4a4e7c(0x261)];}[_0x1cc422(0x119)](){const _0x3e03f0=_0x1cc422;this[_0x3e03f0(0x2c7)]()[_0x3e03f0(0x240)](()=>super[_0x3e03f0(0x119)]());}async[_0x1cc422(0x2bf)](_0x2a2eec){const _0x35bc33=_0x1cc422;return this['_disabled']?null:this[_0x35bc33(0x1f2)][_0x35bc33(0x2db)](u['getLocalCacheKey'](_0x2a2eec));}async[_0x1cc422(0x10a)](_0x22e995,_0xc96ef9){const _0x32b6c4=_0x1cc422;return!!this['_localStorageService'][_0x32b6c4(0x151)](_0x22e995,_0xc96ef9);}[_0x1cc422(0x25e)](_0x1d9aba,_0x28c8f8,_0x3ca48b,_0x33e3d2){const _0x59a5cb=_0x1cc422,_0x28176c=this['_revisionService'][_0x59a5cb(0x2cc)](_0x1d9aba);this[_0x59a5cb(0x27d)][_0x59a5cb(0x2ab)](_0x1d9aba,{'unitID':_0x1d9aba,'type':_0x28c8f8,'awaitingChangeset':_0x3ca48b,'mutations':_0x33e3d2,'rev':_0x28176c}),this[_0x59a5cb(0x261)]['has'](_0x1d9aba)||this['_scheduleSaving'](_0x1d9aba);}[_0x1cc422(0x2a8)](_0x522b08){const _0x4374d9=_0x1cc422,_0x16d272=this[_0x4374d9(0x13a)]();_0x16d272===0x0?this[_0x4374d9(0x29b)](_0x522b08):this['_saveTaskMap'][_0x4374d9(0x2ab)](_0x522b08,setTimeout(()=>this['_saveCache'](_0x522b08),_0x16d272));}[_0x1cc422(0x13a)](){const _0x35e979=_0x1cc422;var _0x2cf898;return(_0x2cf898=this['_configService'][_0x35e979(0x1a3)](u[_0x35e979(0x2b6)]))!=null?_0x2cf898:u[_0x35e979(0x1d3)];}[_0x1cc422(0x29b)](_0xa6052f){const _0xaab40b=_0x1cc422,_0x92af5f=this[_0xaab40b(0x261)][_0xaab40b(0x12a)](_0xa6052f);return _0x92af5f!==void 0x0&&window[_0xaab40b(0x15b)](_0x92af5f),this[_0xaab40b(0x1f2)][_0xaab40b(0x151)](u['getLocalCacheKey'](_0xa6052f),this[_0xaab40b(0x27d)]['get'](_0xa6052f))[_0xaab40b(0x240)](()=>this[_0xaab40b(0x261)][_0xaab40b(0x23e)](_0xa6052f));}async[_0x1cc422(0x2c7)](){const _0x2380b7=_0x1cc422,_0x567cfd=[];this[_0x2380b7(0x261)]['forEach']((_0x48b708,_0x5d0b52)=>{const _0x3892c6=_0x2380b7;window[_0x3892c6(0x15b)](_0x48b708),_0x567cfd['push'](this[_0x3892c6(0x29b)](_0x5d0b52)[_0x3892c6(0x240)](()=>{const _0x12668b=_0x3892c6;this[_0x12668b(0x261)][_0x12668b(0x23e)](_0x5d0b52);}));}),await Promise[_0x2380b7(0x2aa)](_0x567cfd);}};me=es([_e(0x0,a['IConfigService']),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x1cc422(0x1f4)](m[_0x1cc422(0x300)]))],me);class ke extends a['RxDisposable']{constructor(){const _0x22a04e=_0x1cc422;super(),h(this,_0x22a04e(0x221)),this['urlChange$']=d[_0x22a04e(0x291)](window,_0x22a04e(0x18a))[_0x22a04e(0x1f0)](d[_0x22a04e(0xf8)](this[_0x22a04e(0x129)]),d[_0x22a04e(0x325)](0x1),d[_0x22a04e(0x161)](void 0x0));}[_0x1cc422(0x1de)](_0x1f0d21,_0x4f208a,_0x3f4d81=!0x1){const _0x4e6763=_0x1cc422,_0x3aa3cd=new URL(window[_0x4e6763(0x2ad)][_0x4e6763(0x2d6)]);_0x3aa3cd[_0x4e6763(0x1b4)]['set'](_0x1f0d21,_0x4f208a),_0x3f4d81?window['history']['replaceState']('','',_0x3aa3cd['toString']()):window[_0x4e6763(0x1d6)][_0x4e6763(0xff)]('','',_0x3aa3cd[_0x4e6763(0x362)]());}[_0x1cc422(0x199)](_0x4679cf,_0x4b2121=!0x1){const _0x5da0f3=_0x1cc422,_0x15e64f=new URL(window[_0x5da0f3(0x2ad)][_0x5da0f3(0x2d6)]);_0x15e64f[_0x5da0f3(0x1b4)][_0x5da0f3(0x23e)](_0x4679cf),_0x4b2121?window[_0x5da0f3(0x1d6)][_0x5da0f3(0x184)]('','',_0x15e64f[_0x5da0f3(0x362)]()):window[_0x5da0f3(0x1d6)][_0x5da0f3(0xff)]('','',_0x15e64f[_0x5da0f3(0x362)]());}[_0x1cc422(0x171)](_0x2914b3){const _0x2e15eb=_0x1cc422;var _0x379ed8;return(_0x379ed8=new URL(window[_0x2e15eb(0x2ad)][_0x2e15eb(0x2d6)])[_0x2e15eb(0x1b4)][_0x2e15eb(0x12a)](_0x2914b3))!=null?_0x379ed8:void 0x0;}}var ts=Object[_0x1cc422(0x2da)],ss=Object[_0x1cc422(0x1fc)],ns=(_0x207f98,_0x55c98f,_0x12664a)=>_0x55c98f in _0x207f98?ts(_0x207f98,_0x55c98f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12664a}):_0x207f98[_0x55c98f]=_0x12664a,is=(_0x4f2308,_0x4d86e2,_0x247d24,_0x16e7a6)=>{const _0x58c148=_0x1cc422;for(var _0x24e516=_0x16e7a6>0x1?void 0x0:_0x16e7a6?ss(_0x4d86e2,_0x247d24):_0x4d86e2,_0x3d6fcc=_0x4f2308[_0x58c148(0x357)]-0x1,_0x3cb9b8;_0x3d6fcc>=0x0;_0x3d6fcc--)(_0x3cb9b8=_0x4f2308[_0x3d6fcc])&&(_0x24e516=_0x3cb9b8(_0x24e516)||_0x24e516);return _0x24e516;},ue=(_0x511a24,_0x47b15b)=>(_0xbb3208,_0x286b9f)=>_0x47b15b(_0xbb3208,_0x286b9f,_0x511a24),rs=(_0x34435b,_0x42489c,_0x505e0c)=>ns(_0x34435b,_0x42489c+'',_0x505e0c);const os=_0x1cc422(0x1c3);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x1cc422(0x1c9)]{constructor(_0x312b3b=Ne,_0x686535,_0x316966,_0x1c92c0){const _0x1c2507=_0x1cc422;super(),this[_0x1c2507(0x23b)]=_0x312b3b,this['_renderManagerService']=_0x686535,this[_0x1c2507(0x154)]=_0x316966,this[_0x1c2507(0x280)]=_0x1c92c0;const {..._0x5eb6d8}=a[_0x1c2507(0x10f)]({},Ne,this['_config']);this['_configService'][_0x1c2507(0x268)](Ft,_0x5eb6d8);}[_0x1cc422(0x2d7)](){const _0x37ae10=_0x1cc422;this['_registerDependencies'](),this[_0x37ae10(0x34c)]();}[_0x1cc422(0x14f)](){const _0x47f20f=_0x1cc422;this[_0x47f20f(0x213)]();}[_0x1cc422(0x2e8)](){const _0x35bb18=_0x1cc422;var _0x29b5e6;const _0x33a531=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x35bb18(0x27f)],{'useClass':q[_0x35bb18(0x241)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x35bb18(0x25f)]],[ee],[z],[x],[fe],[exports[_0x35bb18(0x168)]]];a['registerDependencies'](this[_0x35bb18(0x154)],a[_0x35bb18(0x256)](_0x33a531,(_0x29b5e6=this[_0x35bb18(0x23b)])==null?void 0x0:_0x29b5e6[_0x35bb18(0x19f)]));}[_0x1cc422(0x213)](){const _0xd718dd=_0x1cc422;this['disposeWithMe'](this[_0xd718dd(0x2a1)]['registerRenderModule'](a[_0xd718dd(0x340)][_0xd718dd(0x193)],[ve])),this[_0xd718dd(0x149)](this[_0xd718dd(0x2a1)][_0xd718dd(0x2c1)](a[_0xd718dd(0x340)][_0xd718dd(0xfc)],[ge]));}[_0x1cc422(0x34c)](){const _0x2751bb=_0x1cc422;a['touchDependencies'](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x2751bb(0x168)]]]);}},rs(exports[_0x1cc422(0x36a)],'pluginName',os),exports[_0x1cc422(0x36a)]=is([a[_0x1cc422(0x327)](u[_0x1cc422(0x247)]),ue(0x1,p[_0x1cc422(0x2fa)]),ue(0x2,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x125)])),ue(0x3,a[_0x1cc422(0x25d)])],exports['UniverCollaborationClientUIPlugin']);var as=Object[_0x1cc422(0x1fc)],cs=(_0x1007b4,_0x47ece6,_0x5d7075,_0x430586)=>{const _0x322ea2=_0x1cc422;for(var _0x324d69=_0x430586>0x1?void 0x0:_0x430586?as(_0x47ece6,_0x5d7075):_0x47ece6,_0x527145=_0x1007b4[_0x322ea2(0x357)]-0x1,_0x3e6b91;_0x527145>=0x0;_0x527145--)(_0x3e6b91=_0x1007b4[_0x527145])&&(_0x324d69=_0x3e6b91(_0x324d69)||_0x324d69);return _0x324d69;},W=(_0x5a2e15,_0x2bfa2f)=>(_0x682426,_0x1071bc)=>_0x2bfa2f(_0x682426,_0x1071bc,_0x5a2e15);exports[_0x1cc422(0x2b4)]=class extends u[_0x1cc422(0x1e3)]{constructor(_0x47ef71,_0x374825,_0xade049,_0x25f8de,_0x23f394){super(_0x47ef71,_0x374825,_0xade049,_0x25f8de,_0x23f394);}async['createSocket'](_0x57fce7){const _0x1ecf1c=_0x1cc422,_0x17c8f0=await this[_0x1ecf1c(0x266)](),_0x428f3a=this[_0x1ecf1c(0x19a)](_0x57fce7,_0x17c8f0);return this[_0x1ecf1c(0x196)](_0x428f3a);}[_0x1cc422(0x19a)](_0x45065f,_0x47a34e){const _0x22117f=_0x1cc422,_0x22797f=typeof window>'u'?new URL(_0x45065f):new URL(_0x45065f,window[_0x22117f(0x2ad)][_0x22117f(0x2fe)]);_0x22797f[_0x22117f(0x1b4)][_0x22117f(0x2ab)](_0x22117f(0x134),_0x47a34e);const _0x49b09e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x22117f(0x2ad)]['search']);return _0x49b09e[_0x22117f(0x12a)](_0x22117f(0xf7))&&_0x22797f[_0x22117f(0x1b4)][_0x22117f(0x2ab)](_0x22117f(0xf7),_0x49b09e[_0x22117f(0x12a)](_0x22117f(0xf7))),_0x22797f[_0x22117f(0x362)]();}async[_0x1cc422(0x266)](){const _0x502983=_0x1cc422;var _0x2886a8,_0x283b13,_0x4bd1ae;const _0x123f10=this[_0x502983(0x280)][_0x502983(0x1a3)](u[_0x502983(0x305)]),_0x3ddb7b=(_0x2886a8=_0x123f10==null?void 0x0:_0x123f10[_0x502983(0x2e0)])!=null?_0x2886a8:u[_0x502983(0x19c)];return(_0x4bd1ae=(_0x283b13=(await this[_0x502983(0x166)][_0x502983(0x12a)](_0x3ddb7b,{'headers':{'Content-Type':'application/json'}}))[_0x502983(0x34b)])==null?void 0x0:_0x283b13[_0x502983(0x2f8)])!=null?_0x4bd1ae:'';}},exports[_0x1cc422(0x2b4)]=cs([W(0x0,a[_0x1cc422(0x1f4)](a[_0x1cc422(0x125)])),W(0x1,a[_0x1cc422(0x1f4)](q[_0x1cc422(0x1ad)])),W(0x2,a[_0x1cc422(0x25d)]),W(0x3,a[_0x1cc422(0x191)]),W(0x4,m[_0x1cc422(0x1f6)])],exports['BrowserCollaborationSocketService']);const Pe=0x7530,we=_0x1cc422(0x32d);class ls extends a[_0x1cc422(0x34e)]{constructor(){const _0x5671fb=_0x1cc422;super(),h(this,_0x5671fb(0x163),a[_0x5671fb(0x26b)]()),h(this,_0x5671fb(0x36e),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x5671fb(0x2ef),null),h(this,_0x5671fb(0x1b3),new Map()),h(this,_0x5671fb(0x147),new Map()),this[_0x5671fb(0x28c)]();}[_0x1cc422(0x119)](){const _0x3baf39=_0x1cc422;super[_0x3baf39(0x119)](),this[_0x3baf39(0x1b3)]['forEach']((_0x5f165a,_0x254081)=>this['_removeClearOtherTimer'](_0x254081)),this['_heartbeatTimer']&&window[_0x3baf39(0x2ac)](this[_0x3baf39(0x2ef)]);}[_0x1cc422(0x339)](_0x2a1daf){const _0x349946=_0x1cc422;return this[_0x349946(0x12d)](_0x2a1daf)[_0x349946(0x1f0)](d['distinctUntilChanged']());}[_0x1cc422(0x1bc)](_0x5523ff){const _0x4485c7=_0x1cc422;this[_0x4485c7(0x36e)][_0x4485c7(0x187)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4485c7(0x36e)][_0x4485c7(0x1af)](_0x5523ff),this['_send']({'type':0x0,'memberID':this[_0x4485c7(0x163)],'unitIDs':[_0x5523ff],'isForwarded':!0x1});}[_0x1cc422(0x252)](_0x5bde7e){const _0x593739=_0x1cc422;this[_0x593739(0x36e)][_0x593739(0x23e)](_0x5bde7e),this[_0x593739(0x36e)][_0x593739(0x187)]===0x0&&this[_0x593739(0x2ef)]&&window[_0x593739(0x2ac)](this[_0x593739(0x2ef)]);}[_0x1cc422(0x28c)](){const _0x593d04=_0x1cc422;this[_0x593d04(0x149)](a[_0x593d04(0xfe)](d[_0x593d04(0x291)](window,'storage')['subscribe'](_0x1a8d65=>{const _0x7a2a40=_0x593d04;if(_0x1a8d65['key']!==we||!_0x1a8d65['newValue'])return;const _0x4b480f=JSON[_0x7a2a40(0x349)](_0x1a8d65['newValue']);this[_0x7a2a40(0x16b)](_0x4b480f);}))),window[_0x593d04(0x29e)](_0x593d04(0x1f5),()=>this[_0x593d04(0x231)]({'type':0x1,'memberID':this[_0x593d04(0x163)],'unitIDs':Array[_0x593d04(0xfd)](this['_selfUnitIDs'])}));}[_0x1cc422(0x16b)](_0x48fe85){switch(_0x48fe85['type']){case 0x0:this['_handleJoinEvent'](_0x48fe85);break;case 0x1:this['_handleLeaveEvent'](_0x48fe85);break;case 0x2:this['_handleHeartbeatEvent'](_0x48fe85);break;}}['_handleJoinEvent'](_0xfb854d){const _0x492ff1=_0x1cc422,{unitIDs:_0x219caf,memberID:_0x1c69c3,isForwarded:_0xcc4ef7}=_0xfb854d;_0x219caf['forEach'](_0x5ec41a=>{const _0x34a246=_0x1c04;if(!_0xcc4ef7&&this[_0x34a246(0x295)][_0x34a246(0x139)](_0x5ec41a)&&this['_ensureSubject'](_0x5ec41a)['next'](u[_0x34a246(0x197)][_0x34a246(0x31f)]),!this[_0x34a246(0x295)][_0x34a246(0x139)](_0x5ec41a)||!this[_0x34a246(0x295)][_0x34a246(0x12a)](_0x5ec41a)[_0x34a246(0x139)](_0x1c69c3)){const _0x461684=this[_0x34a246(0x295)]['get'](_0x5ec41a)||new Set();_0x461684[_0x34a246(0x1af)](_0x1c69c3),this[_0x34a246(0x295)][_0x34a246(0x2ab)](_0x5ec41a,_0x461684),this[_0x34a246(0x175)](_0x1c69c3);}}),_0xcc4ef7||this[_0x492ff1(0x231)]({'type':0x0,'memberID':this[_0x492ff1(0x163)],'unitIDs':[...this[_0x492ff1(0x36e)]],'isForwarded':!0x0});}[_0x1cc422(0x175)](_0x4f3e9e){const _0x22376f=_0x1cc422;this[_0x22376f(0x2b2)](_0x4f3e9e);const _0xe92f64=window[_0x22376f(0x201)](()=>{const _0x5a50ed=_0x22376f;this[_0x5a50ed(0x295)]['forEach'](_0x7b0a25=>{const _0xe1893f=_0x5a50ed;_0x7b0a25[_0xe1893f(0x23e)](_0x4f3e9e);});},Pe*0x2);this[_0x22376f(0x1b3)][_0x22376f(0x2ab)](_0x4f3e9e,_0xe92f64);}[_0x1cc422(0x2b2)](_0xef4f45){const _0x4509d3=_0x1cc422;if(this[_0x4509d3(0x1b3)][_0x4509d3(0x139)](_0xef4f45)){const _0x263bef=this[_0x4509d3(0x1b3)]['get'](_0xef4f45);_0x263bef&&window['clearTimeout'](_0x263bef),this['_clearOtherTimers'][_0x4509d3(0x2ab)](_0xef4f45,null);}}[_0x1cc422(0x369)](_0x45f09c){const _0x246499=_0x1cc422,{memberID:_0x280cdc,unitIDs:_0x2b81d1}=_0x45f09c;_0x2b81d1[_0x246499(0x298)](_0x21e69e=>{const _0x22ccd3=_0x246499;var _0x402890;const _0x518102=this[_0x22ccd3(0x295)][_0x22ccd3(0x12a)](_0x21e69e);_0x518102&&(_0x518102[_0x22ccd3(0x23e)](_0x280cdc),(_0x402890=this[_0x22ccd3(0x12d)](_0x21e69e))==null||_0x402890['next'](_0x518102[_0x22ccd3(0x187)]===0x0?u[_0x22ccd3(0x197)][_0x22ccd3(0x254)]:u[_0x22ccd3(0x197)][_0x22ccd3(0x31f)]));}),this[_0x246499(0x2b2)](_0x280cdc);}['_handleHeartbeatEvent'](_0x51efa8){const _0x2d3ef1=_0x1cc422;this['_scheduleClearOtherTimer'](_0x51efa8[_0x2d3ef1(0x1b6)]);}[_0x1cc422(0x231)](_0x3d1b38){const _0x2d1543=_0x1cc422;localStorage[_0x2d1543(0x151)](we,JSON[_0x2d1543(0x1c5)](_0x3d1b38));}[_0x1cc422(0x22f)](){const _0xaf010=_0x1cc422;this[_0xaf010(0x2ef)]=window['setInterval'](()=>{const _0x31a23f=_0xaf010;this['_send']({'type':0x2,'memberID':this[_0x31a23f(0x163)]});},Pe);}[_0x1cc422(0x12d)](_0x12ea15){const _0x41ef9e=_0x1cc422;return this[_0x41ef9e(0x147)][_0x41ef9e(0x139)](_0x12ea15)||this[_0x41ef9e(0x147)][_0x41ef9e(0x2ab)](_0x12ea15,new d['BehaviorSubject'](u[_0x41ef9e(0x197)][_0x41ef9e(0x254)])),this[_0x41ef9e(0x147)][_0x41ef9e(0x12a)](_0x12ea15);}}var Be=(_0x4b88ab=>(_0x4b88ab[_0x4b88ab[_0x1cc422(0x1f1)]=0x0]=_0x1cc422(0x1f1),_0x4b88ab[_0x4b88ab['OK']=0x1]='OK',_0x4b88ab[_0x4b88ab['INTERNAL_ERROR']=0x2]=_0x1cc422(0x322),_0x4b88ab[_0x4b88ab['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4b88ab[_0x4b88ab['NOT_FOUND']=0x4]=_0x1cc422(0x347),_0x4b88ab[_0x4b88ab[_0x1cc422(0x30d)]=0x5]=_0x1cc422(0x30d),_0x4b88ab[_0x4b88ab['ALREADY_EXISTS']=0x6]=_0x1cc422(0x1d0),_0x4b88ab[_0x4b88ab[_0x1cc422(0x1e7)]=0x7]=_0x1cc422(0x1e7),_0x4b88ab[_0x4b88ab[_0x1cc422(0x13b)]=0x8]=_0x1cc422(0x13b),_0x4b88ab[_0x4b88ab['COMPLETION_FINISHED']=0x9]=_0x1cc422(0x1be),_0x4b88ab[_0x4b88ab['LOGIN_FAILED']=0xa]=_0x1cc422(0x1f9),_0x4b88ab[_0x4b88ab[_0x1cc422(0x2a3)]=0x1389]=_0x1cc422(0x2a3),_0x4b88ab[_0x4b88ab[_0x1cc422(0x121)]=0x1771]=_0x1cc422(0x121),_0x4b88ab[_0x4b88ab['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cc422(0x13e),_0x4b88ab[_0x4b88ab[_0x1cc422(0x15d)]=0x1773]=_0x1cc422(0x15d),_0x4b88ab[_0x4b88ab['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4b88ab[_0x4b88ab['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1cc422(0x1b1),_0x4b88ab[_0x4b88ab[_0x1cc422(0x227)]=0x1b5b]=_0x1cc422(0x227),_0x4b88ab[_0x4b88ab[_0x1cc422(0x21f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4b88ab[_0x4b88ab[_0x1cc422(0x16a)]=0x1b5d]='APPLY_DUPLICATED',_0x4b88ab[_0x4b88ab[_0x1cc422(0x135)]=0x1f41]=_0x1cc422(0x135),_0x4b88ab[_0x4b88ab[_0x1cc422(0x18d)]=0x2329]=_0x1cc422(0x18d),_0x4b88ab[_0x4b88ab[_0x1cc422(0x26a)]=0x232a]=_0x1cc422(0x26a),_0x4b88ab[_0x4b88ab[_0x1cc422(0x31c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4b88ab[_0x4b88ab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1cc422(0x367),_0x4b88ab[_0x4b88ab['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1cc422(0xfb),_0x4b88ab[_0x4b88ab[_0x1cc422(0x1e1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4b88ab[_0x4b88ab['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1cc422(0x138),_0x4b88ab[_0x4b88ab[_0x1cc422(0x2be)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4b88ab[_0x4b88ab[_0x1cc422(0x11f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4b88ab[_0x4b88ab['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1cc422(0x204),_0x4b88ab[_0x4b88ab['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1cc422(0x33c),_0x4b88ab[_0x4b88ab[_0x1cc422(0x10b)]=0x2ee2]=_0x1cc422(0x10b),_0x4b88ab[_0x4b88ab[_0x1cc422(0x2ce)]=0x2ee3]=_0x1cc422(0x2ce),_0x4b88ab[_0x4b88ab[_0x1cc422(0x13d)]=0x2ee4]=_0x1cc422(0x13d),_0x4b88ab[_0x4b88ab[_0x1cc422(0x143)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4b88ab[_0x4b88ab[_0x1cc422(0x270)]=-0x1]=_0x1cc422(0x270),_0x4b88ab))(Be||{}),hs=Object[_0x1cc422(0x1fc)],_s=(_0xacda9b,_0x282d4a,_0x1cd0fa,_0x200f7e)=>{const _0x349002=_0x1cc422;for(var _0x1fea65=_0x200f7e>0x1?void 0x0:_0x200f7e?hs(_0x282d4a,_0x1cd0fa):_0x282d4a,_0x3f28d3=_0xacda9b[_0x349002(0x357)]-0x1,_0x34c5f4;_0x3f28d3>=0x0;_0x3f28d3--)(_0x34c5f4=_0xacda9b[_0x3f28d3])&&(_0x1fea65=_0x34c5f4(_0x1fea65)||_0x1fea65);return _0x1fea65;},de=(_0x1b9f9f,_0x2b5805)=>(_0x5b906b,_0x427ff3)=>_0x2b5805(_0x5b906b,_0x427ff3,_0x1b9f9f);exports[_0x1cc422(0x1ff)]=class extends a[_0x1cc422(0x34e)]{constructor(_0x3500ef,_0x42ca8b,_0x56383b){const _0x5460b0=_0x1cc422;super(),this[_0x5460b0(0x273)]=_0x3500ef,this[_0x5460b0(0x166)]=_0x42ca8b,this['_configService']=_0x56383b;}async['runOnServer'](_0x2cb343,_0x344c60,_0x5eeb19,..._0x28d2cf){const _0x493de8=_0x1cc422;var _0x23aa95,_0x1c6de2,_0x339f5b,_0x414c6f;const _0x358185=this['_instanceService']['getFocusedUnit']();if(!_0x358185)throw new Error(_0x493de8(0x20b));const _0x42270e=((_0x23aa95=this[_0x493de8(0x280)]['getConfig'](u[_0x493de8(0x344)]))!=null?_0x23aa95:u[_0x493de8(0x183)])+'/'+_0x2cb343+_0x493de8(0x356)+_0x344c60,_0x9241ba=new URL(window[_0x493de8(0x2ad)]['href']),_0x48fa4f={'scriptId':_0x2cb343,'runId':(_0x1c6de2=_0x9241ba[_0x493de8(0x1b4)][_0x493de8(0x12a)]('runId'))!=null?_0x1c6de2:'','function':_0x344c60,'unitId':_0x358185['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x28d2cf),'invokeId':(_0x339f5b=_0x5eeb19[_0x493de8(0xf4)])!=null?_0x339f5b:'','executionId':(_0x414c6f=_0x5eeb19['executionId'])!=null?_0x414c6f:''};try{const _0x3bee85=await this[_0x493de8(0x166)][_0x493de8(0x101)](_0x42270e,{'body':_0x48fa4f});return _0x3bee85[_0x493de8(0x34b)]['error']&&_0x3bee85[_0x493de8(0x34b)][_0x493de8(0x1c0)][_0x493de8(0x188)]!==Be['OK']?_0x493de8(0x211):_0x3bee85[_0x493de8(0x34b)]['result'];}catch{return'Failed';}}},exports[_0x1cc422(0x1ff)]=_s([de(0x0,a[_0x1cc422(0x195)]),de(0x1,a['Inject'](q['HTTPService'])),de(0x2,a[_0x1cc422(0x25d)])],exports['RemoteUniscriptService']),exports[_0x1cc422(0x24d)]=je,exports['IURLService']=Ee,exports['SheetCollabCursorShape']=Ae,exports[_0x1cc422(0x370)]=ls,exports['WebURLService']=ke;
|
|
1
|
+
'use strict';const _0x3d714e=_0x2f33;(function(_0xd01fd1,_0x52d1fd){const _0x364562=_0x2f33,_0x470e7b=_0xd01fd1();while(!![]){try{const _0x4a8769=parseInt(_0x364562(0x34c))/0x1+parseInt(_0x364562(0xcf))/0x2+-parseInt(_0x364562(0x13a))/0x3+-parseInt(_0x364562(0x13f))/0x4*(parseInt(_0x364562(0x16b))/0x5)+-parseInt(_0x364562(0x20d))/0x6+parseInt(_0x364562(0x187))/0x7+-parseInt(_0x364562(0x2cd))/0x8*(-parseInt(_0x364562(0x320))/0x9);if(_0x4a8769===_0x52d1fd)break;else _0x470e7b['push'](_0x470e7b['shift']());}catch(_0x572812){_0x470e7b['push'](_0x470e7b['shift']());}}}(_0x4e6b,0x2f73c));var Xe=Object['defineProperty'],Ge=(_0x114f70,_0x471423,_0x4f462b)=>_0x471423 in _0x114f70?Xe(_0x114f70,_0x471423,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f462b}):_0x114f70[_0x471423]=_0x4f462b,h=(_0x1eef65,_0x512b14,_0x18b76c)=>Ge(_0x1eef65,typeof _0x512b14!=_0x3d714e(0x348)?_0x512b14+'':_0x512b14,_0x18b76c);Object[_0x3d714e(0xe0)](exports,Symbol[_0x3d714e(0x1a5)],{'value':'Module'});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x3d714e(0x10f)),p=require('@univerjs/engine-render'),q=require(_0x3d714e(0x24d)),b=require('@univerjs/docs-ui'),qe=require('@univerjs/drawing'),d=require(_0x3d714e(0x1e6)),Y=require(_0x3d714e(0x10b)),m=require(_0x3d714e(0x2ed)),Te=require(_0x3d714e(0x2b3)),g=require(_0x3d714e(0x2e2)),$=require(_0x3d714e(0x21d)),G=require(_0x3d714e(0x2bc)),w=require('react/jsx-runtime'),R=require(_0x3d714e(0x341)),T=require(_0x3d714e(0x1a0)),M=require(_0x3d714e(0x13e)),Ke=require(_0x3d714e(0x204));var ze=Object['getOwnPropertyDescriptor'],Je=(_0x22fa5c,_0x19a46d,_0x1b8b63,_0x1fd8b4)=>{for(var _0x1ea76d=_0x1fd8b4>0x1?void 0x0:_0x1fd8b4?ze(_0x19a46d,_0x1b8b63):_0x19a46d,_0xf25c84=_0x22fa5c['length']-0x1,_0x36999b;_0xf25c84>=0x0;_0xf25c84--)(_0x36999b=_0x22fa5c[_0xf25c84])&&(_0x1ea76d=_0x36999b(_0x1ea76d)||_0x1ea76d);return _0x1ea76d;},Re=(_0x27a6c5,_0x46b1be)=>(_0x59542f,_0x23f8b9)=>_0x46b1be(_0x59542f,_0x23f8b9,_0x27a6c5);let fe=class extends a[_0x3d714e(0x1f7)]{constructor(_0x32a4be,_0x1c75e8){const _0x58dc3c=_0x3d714e;super(),this[_0x58dc3c(0x2dd)]=_0x32a4be,this[_0x58dc3c(0x1d8)]=_0x1c75e8,this[_0x58dc3c(0x149)]();}[_0x3d714e(0x149)](){const _0x1b9f95=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x235915=>{const _0x569c2d=_0x2f33,_0x53ad75=await _0x1b9f95[_0x569c2d(0x1d8)][_0x569c2d(0x273)](_0x235915);return _0x53ad75?{'source':_0x53ad75[_0x569c2d(0x2ad)],'imageSourceType':_0x53ad75[_0x569c2d(0x212)]}:null;}}));}};fe=Je([Re(0x0,b[_0x3d714e(0x28f)]),Re(0x1,qe['IImageIoService'])],fe);const Oe=[_0x3d714e(0x19e),_0x3d714e(0x30f),_0x3d714e(0x159),'red300',_0x3d714e(0x13d),_0x3d714e(0x19d)];class Ce extends a[_0x3d714e(0x321)]{constructor(){const _0x39e91f=_0x3d714e;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x39e91f(0x33e),0x0);}['assignAColorForMemberID'](_0x4e30ca){const _0x1060b9=_0x3d714e;if(this[_0x1060b9(0x33f)][_0x1060b9(0x310)](_0x4e30ca))return this[_0x1060b9(0x33f)][_0x1060b9(0xfe)](_0x4e30ca);const _0x582031=Oe[this[_0x1060b9(0x33e)]];return this[_0x1060b9(0x33e)]=(this['_colorIndex']+0x1)%Oe[_0x1060b9(0x2f1)],this[_0x1060b9(0x33f)]['set'](_0x4e30ca,_0x582031),_0x582031;}}function Le(_0x43a881){const _0x30f5d0=_0x3d714e;let _0x8556d1='';for(const _0x4c2b94 of _0x43a881){const {startOffset:_0x210b57,endOffset:_0x4ca829,isActive:_0x45ab84,rangeType:_0x5c1a90,segmentId:_0x387cb4,segmentPage:_0xe4b96f}=_0x4c2b94;_0x8556d1[_0x30f5d0(0x2f1)]&&(_0x8556d1+=','),_0x8556d1+=_0x210b57+':'+_0x4ca829+':'+(_0x45ab84?'1':'0')+':'+_0x5c1a90+':'+_0x387cb4+':'+_0xe4b96f;}return _0x8556d1;}function Ze(_0x9788bc){const _0xadaa6c=_0x3d714e,_0x12dea6=_0x9788bc['split'](','),_0x5397fd=[];for(const _0x18ad4b of _0x12dea6){const [_0xd36bed,_0x222fa9,_0x5ad6fb,_0x2d912f,_0x5a6518,_0x3a5932]=_0x18ad4b[_0xadaa6c(0x23b)](':');_0x5397fd[_0xadaa6c(0xe8)]({'startOffset':Number(_0xd36bed),'endOffset':Number(_0x222fa9),'collapsed':_0xd36bed===_0x222fa9,'isActive':_0x5ad6fb==='1','rangeType':_0x2d912f===a[_0xadaa6c(0x211)][_0xadaa6c(0x2df)]?a[_0xadaa6c(0x211)]['TEXT']:a[_0xadaa6c(0x211)][_0xadaa6c(0x25a)],'segmentId':typeof _0x5a6518=='string'?String(_0x5a6518):'','segmentPage':Number(_0x3a5932!=null?_0x3a5932:-0x1)});}return _0x5397fd[_0xadaa6c(0x2a6)](_0x52275f=>_0x52275f['isActive'])||(_0x5397fd[0x0]['isActive']=!0x0),_0x5397fd;}class pe extends a['RxDisposable']{constructor(){const _0x34a8dd=_0x3d714e;super(...arguments),h(this,_0x34a8dd(0x2f9),new d[(_0x34a8dd(0x153))](null)),h(this,_0x34a8dd(0x132),this[_0x34a8dd(0x2f9)][_0x34a8dd(0x15e)]());}['syncEditingCollabCursor'](_0x221a18){const _0x3614a9=_0x3d714e,{unitID:_0x2381ef,memberID:_0x374d61,textRanges:_0x33511d}=_0x221a18,_0x4e9b07=Le(_0x33511d);if(_0x4e9b07==='')return;const _0x1d02fe={'unitID':_0x2381ef,'memberID':_0x374d61,'selection':_0x4e9b07};this['_collabCursorState$'][_0x3614a9(0x2f0)](_0x1d02fe);}}var Qe=Object[_0x3d714e(0x294)],et=(_0x5c4db4,_0x51516c,_0x279d08,_0x5d98e4)=>{const _0x5bec18=_0x3d714e;for(var _0x3e4ea5=_0x5d98e4>0x1?void 0x0:_0x5d98e4?Qe(_0x51516c,_0x279d08):_0x51516c,_0x3fdc3c=_0x5c4db4[_0x5bec18(0x2f1)]-0x1,_0x507316;_0x3fdc3c>=0x0;_0x3fdc3c--)(_0x507316=_0x5c4db4[_0x3fdc3c])&&(_0x3e4ea5=_0x507316(_0x3e4ea5)||_0x3e4ea5);return _0x3e4ea5;},P=(_0xe7c53,_0x559dd2)=>(_0x536d0f,_0x18b47e)=>_0x559dd2(_0x536d0f,_0x18b47e,_0xe7c53);const tt=0x12c,st=0x64;let Se=class extends a['RxDisposable']{constructor(_0x576117,_0x5917c5,_0x2b4744,_0x32e631,_0x32c744,_0x181bd5,_0x213438,_0x20f502,_0x56c4c4){const _0x4c5138=_0x3d714e;super(),h(this,'_online',!0x1),h(this,_0x4c5138(0x149),!0x1),h(this,_0x4c5138(0x2d6),new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this[_0x4c5138(0x2d6)]['asObservable']()),h(this,_0x4c5138(0x19f),new d[(_0x4c5138(0x153))]([])),h(this,_0x4c5138(0x171),this[_0x4c5138(0x19f)]['pipe'](d[_0x4c5138(0x1f1)](tt))),h(this,_0x4c5138(0x21f),a['debounce'](_0x16c393=>{const _0x431a18=_0x4c5138,_0xca3fbb={'eventID':m[_0x431a18(0x335)][_0x431a18(0x238)],'data':{'unitID':this[_0x431a18(0x19c)],'memberID':this[_0x431a18(0x1c0)][_0x431a18(0x1d5)](),'selection':Le(_0x16c393)}};this['_session'][_0x431a18(0x1e2)](_0xca3fbb,this['unitID']);},st)),(this[_0x4c5138(0x19c)]=_0x576117,this[_0x4c5138(0x1c0)]=_0x5917c5,this[_0x4c5138(0x279)]=_0x2b4744,this[_0x4c5138(0x13b)]=_0x32e631,this[_0x4c5138(0x122)]=_0x32c744,this[_0x4c5138(0x198)]=_0x181bd5,this[_0x4c5138(0x2fa)]=_0x213438,this['_univerInstanceService']=_0x20f502,this[_0x4c5138(0x1ee)]=_0x56c4c4);}get['cursorInfo'](){const _0x3b1f6c=_0x3d714e;return this[_0x3b1f6c(0x2d6)][_0x3b1f6c(0x32e)]();}get[_0x3d714e(0x264)](){const _0xcecba5=_0x3d714e;return this['_roomMembers$'][_0xcecba5(0x32e)]();}[_0x3d714e(0x237)](){const _0x1c2a94=_0x3d714e;super[_0x1c2a94(0x237)](),this[_0x1c2a94(0x2d6)][_0x1c2a94(0x2f0)](new Map()),this[_0x1c2a94(0x2d6)]['complete'](),this[_0x1c2a94(0x19f)][_0x1c2a94(0x2f0)]([]),this[_0x1c2a94(0x19f)][_0x1c2a94(0x270)]();}[_0x3d714e(0x1b2)](){const _0x1ce23c=_0x3d714e;this[_0x1ce23c(0x149)]||(this['_init']=!0x0,this[_0x1ce23c(0x1c0)][_0x1ce23c(0x16d)][_0x1ce23c(0x30a)](d[_0x1ce23c(0x143)](this[_0x1ce23c(0xeb)]))[_0x1ce23c(0x1ad)](_0x36f7cd=>{const _0x1fd21b=_0x1ce23c;_0x36f7cd===u[_0x1fd21b(0x15f)][_0x1fd21b(0xdd)]?this['_toggleOnline']():this[_0x1fd21b(0x102)]();}),this[_0x1ce23c(0x1c0)][_0x1ce23c(0x324)]['pipe'](d[_0x1ce23c(0x143)](this['dispose$']))[_0x1ce23c(0x1ad)](_0x5bb37b=>{const _0x42ffb5=_0x1ce23c,_0x22e3ac=_0x5bb37b[_0x42ffb5(0xc7)];_0x22e3ac===m[_0x42ffb5(0x335)]['UPDATE_CURSOR']&&this[_0x42ffb5(0x26b)](_0x5bb37b),_0x22e3ac===m[_0x42ffb5(0x335)]['USERS_LEAVE']&&this[_0x42ffb5(0x10a)](_0x5bb37b);}),this[_0x1ce23c(0x1de)](this[_0x1ce23c(0x1ee)][_0x1ce23c(0x300)](_0x5f30c1=>{const _0x1808e1=_0x1ce23c,_0x27ca7a=_0x5f30c1[_0x1808e1(0x2bf)];_0x27ca7a!=null&&this[_0x1808e1(0x1bd)]&&_0x5f30c1['id']===Y[_0x1808e1(0x260)]['id']&&_0x27ca7a[_0x1808e1(0x28c)]===this[_0x1808e1(0x19c)]&&_0x27ca7a[_0x1808e1(0x1b7)]===!0x1&&_0x27ca7a[_0x1808e1(0x2ce)][_0x1808e1(0x2f1)]>0x0&&this[_0x1808e1(0x21f)](_0x27ca7a['ranges']);})),this[_0x1ce23c(0x198)][_0x1ce23c(0x132)][_0x1ce23c(0x30a)](d[_0x1ce23c(0x143)](this[_0x1ce23c(0xeb)]))[_0x1ce23c(0x1ad)](_0x59fed8=>{const _0x23d7f4=_0x1ce23c;if((_0x59fed8==null?void 0x0:_0x59fed8['unitID'])!==this['unitID'])return;const _0x18061a={'eventID':m['CollaborationEvent'][_0x23d7f4(0x238)],'data':_0x59fed8};this[_0x23d7f4(0x26b)](_0x18061a);}),this[_0x1ce23c(0x1de)](this[_0x1ce23c(0x1ee)][_0x1ce23c(0x300)](_0xf32221=>{const _0xd3b6be=_0x1ce23c;if(_0xf32221[_0xd3b6be(0x2bf)]==null)return;const _0x163141=_0xf32221[_0xd3b6be(0x2bf)];if(_0xf32221['id']!==Y[_0xd3b6be(0x25c)]['id']||_0x163141[_0xd3b6be(0x28c)]!==this[_0xd3b6be(0x19c)])return;const _0x54c597={'id':_0xd3b6be(0x1c8),'params':_0x163141},_0x45eab5=this[_0xd3b6be(0x266)];for(const [_0x488838,_0x1482e8]of _0x45eab5){const _0x43fe3b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xd3b6be(0x19c)],'actions':null,'textRanges':_0x1482e8[_0xd3b6be(0x2ce)]}},_0x57100e=this[_0xd3b6be(0x2fa)][_0xd3b6be(0x1d6)](_0x54c597,_0x43fe3b,!0x1);if(m[_0xd3b6be(0x183)](_0x57100e))throw _0x57100e[_0xd3b6be(0x21e)];_0x45eab5[_0xd3b6be(0x203)](_0x488838,{..._0x1482e8,'ranges':_0x57100e['m2Prime']['params'][_0xd3b6be(0x209)]});}queueMicrotask(()=>{const _0x295d57=_0xd3b6be;this[_0x295d57(0x2d6)][_0x295d57(0x2f0)](_0x45eab5);});})));}[_0x3d714e(0x26b)](_0x10f8e8){const _0x15f5e0=_0x3d714e;var _0x1c5cfd,_0x7ed4c5;const {memberID:_0x508837,selection:_0x58092d}=_0x10f8e8[_0x15f5e0(0x28b)],_0x49571d=Ze(_0x58092d),_0x1ab5fc=(_0x7ed4c5=(_0x1c5cfd=this[_0x15f5e0(0x122)][_0x15f5e0(0x129)](this[_0x15f5e0(0x19c)],_0x508837))==null?void 0x0:_0x1c5cfd[_0x15f5e0(0x113)])!=null?_0x7ed4c5:_0x15f5e0(0x1bc),_0x406f65={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x508837),'name':_0x1ab5fc,'ranges':_0x49571d},_0x14bdb6=this[_0x15f5e0(0x266)];_0x14bdb6['set'](_0x508837,_0x406f65),this['_cursorInfo$']['next'](_0x14bdb6);}[_0x3d714e(0x10a)](_0x378af7){const _0x36fa1f=_0x3d714e,{memberID:_0x2f705d}=_0x378af7['data'],_0x1cb420=this[_0x36fa1f(0x266)];_0x1cb420[_0x36fa1f(0x147)](_0x2f705d),this[_0x36fa1f(0x2d6)][_0x36fa1f(0x2f0)](_0x1cb420);}[_0x3d714e(0x2d1)](){const _0x56aba6=_0x3d714e;var _0x396c02;if(this['_online']=!0x0,((_0x396c02=this['_univerInstanceService'][_0x56aba6(0x2d2)]())==null?void 0x0:_0x396c02[_0x56aba6(0x180)]())!==this[_0x56aba6(0x19c)])return;const _0x5d5c0b=this['_injector'][_0x56aba6(0xfe)](Y[_0x56aba6(0x231)])['getDocRanges']();Array[_0x56aba6(0x314)](_0x5d5c0b)&&_0x5d5c0b['length']>0x0&&this[_0x56aba6(0x21f)](_0x5d5c0b);}[_0x3d714e(0x102)](){const _0xd3ef50=_0x3d714e;this[_0xd3ef50(0x1bd)]=!0x1;}};Se=et([P(0x2,a[_0x3d714e(0x1eb)](a['Injector'])),P(0x3,a['Inject'](Ce)),P(0x4,a[_0x3d714e(0x1eb)](u['MemberService'])),P(0x5,a[_0x3d714e(0x1eb)](pe)),P(0x6,m[_0x3d714e(0x103)]),P(0x7,a[_0x3d714e(0x27e)]),P(0x8,a['ICommandService'])],Se);var nt=Object['getOwnPropertyDescriptor'],it=(_0x508470,_0x2172a8,_0x390c68,_0x3a5652)=>{const _0x3ddc57=_0x3d714e;for(var _0x563342=_0x3a5652>0x1?void 0x0:_0x3a5652?nt(_0x2172a8,_0x390c68):_0x2172a8,_0x502567=_0x508470[_0x3ddc57(0x2f1)]-0x1,_0x190c60;_0x502567>=0x0;_0x502567--)(_0x190c60=_0x508470[_0x502567])&&(_0x563342=_0x190c60(_0x563342)||_0x563342);return _0x563342;},A=(_0x2c1456,_0x21b63a)=>(_0x5818a0,_0xe9ea8c)=>_0x21b63a(_0x5818a0,_0xe9ea8c,_0x2c1456);const rt=0x12c,ot=0x64,at=()=>{let _0x525178=[],_0x577882=!0x1;return _0x2f20d7=>{const _0x1a7c0a=_0x2f33;_0x525178[_0x1a7c0a(0xe8)](_0x2f20d7),_0x577882||(_0x577882=!0x0,setTimeout(()=>{const _0x5ee463=_0x1a7c0a;_0x525178[_0x5ee463(0x202)](_0x30a461=>_0x30a461()),_0x525178=[],_0x577882=!0x1;}));};};let Ie=class extends a[_0x3d714e(0x1f7)]{constructor(_0x2d12d7,_0x55f07c,_0x5ec2ab,_0x1355ec,_0x7d6e4d,_0x6c9de8,_0x5d1c03,_0x26babe){const _0x5af0c2=_0x3d714e;super(),h(this,_0x5af0c2(0x1bd),!0x1),h(this,'_init',!0x1),h(this,_0x5af0c2(0x2d6),new d[(_0x5af0c2(0x153))](new Map())),h(this,_0x5af0c2(0x230),this[_0x5af0c2(0x2d6)][_0x5af0c2(0x15e)]()),h(this,'_roomMembers$',new d[(_0x5af0c2(0x153))]([])),h(this,_0x5af0c2(0x171),this[_0x5af0c2(0x19f)][_0x5af0c2(0x30a)](d[_0x5af0c2(0x1f1)](rt))),h(this,'_updateLocalCursor',a[_0x5af0c2(0x138)]((_0x16f36e,_0x757e50)=>{const _0xb3c484=_0x5af0c2,_0x356633={'eventID':m[_0xb3c484(0x335)][_0xb3c484(0x238)],'data':{'unitID':this[_0xb3c484(0x19c)],'memberID':this[_0xb3c484(0x1c0)][_0xb3c484(0x1d5)](),'selection':Te[_0xb3c484(0x327)](_0x16f36e,_0x757e50['range'])}};this['_session'][_0xb3c484(0x1e2)](_0x356633,this['unitID']);},ot)),(this[_0x5af0c2(0x19c)]=_0x2d12d7,this[_0x5af0c2(0x1c0)]=_0x55f07c,this['_injector']=_0x5ec2ab,this[_0x5af0c2(0x13b)]=_0x1355ec,this['_memberService']=_0x7d6e4d,this[_0x5af0c2(0x23c)]=_0x6c9de8,this[_0x5af0c2(0x1ee)]=_0x5d1c03,this['_refRangeService']=_0x26babe);}get[_0x3d714e(0x266)](){const _0x3f4634=_0x3d714e;return this[_0x3f4634(0x2d6)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x23b803=_0x3d714e;super['dispose'](),this[_0x23b803(0x2d6)][_0x23b803(0x2f0)](new Map()),this[_0x23b803(0x2d6)]['complete'](),this[_0x23b803(0x19f)][_0x23b803(0x2f0)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x1ea695=_0x3d714e;this[_0x1ea695(0x149)]||(this['_init']=!0x0,this[_0x1ea695(0x1c0)][_0x1ea695(0x16d)][_0x1ea695(0x30a)](d[_0x1ea695(0x143)](this[_0x1ea695(0xeb)]))['subscribe'](_0x2c6539=>{const _0x575cf6=_0x1ea695;_0x2c6539===u['SessionStatus'][_0x575cf6(0xdd)]?this['_toggleOnline']():this[_0x575cf6(0x102)]();}),this[_0x1ea695(0x1c0)]['event$'][_0x1ea695(0x30a)](d[_0x1ea695(0x143)](this[_0x1ea695(0xeb)]))[_0x1ea695(0x1ad)](_0x508aa6=>{const _0x1e4a7e=_0x1ea695,_0x2d9dc7=_0x508aa6[_0x1e4a7e(0xc7)];_0x2d9dc7===m[_0x1e4a7e(0x335)][_0x1e4a7e(0x238)]&&this[_0x1e4a7e(0x26b)](_0x508aa6),_0x2d9dc7===m['CollaborationEvent'][_0x1e4a7e(0x223)]&&this[_0x1e4a7e(0x10a)](_0x508aa6);}),this[_0x1ea695(0x142)](),this[_0x1ea695(0x1de)](this[_0x1ea695(0x1ee)]['onCommandExecuted'](_0x444414=>{const _0x14bade=_0x1ea695;if(this[_0x14bade(0x1bd)]&&_0x444414['id']===g[_0x14bade(0x19a)]['id']&&_0x444414[_0x14bade(0x2bf)][_0x14bade(0x28c)]===this['unitID']){const _0x3e5ed6=_0x444414[_0x14bade(0x2bf)];this[_0x14bade(0x21f)](_0x3e5ed6[_0x14bade(0x170)],_0x3e5ed6[_0x14bade(0x1ff)][0x0]);}})));}[_0x3d714e(0x26b)](_0x38ed43){const _0x2de9a3=_0x3d714e;var _0x4ab25c,_0x8ef01c;const {memberID:_0x4a5a83,selection:_0x8aadd1}=_0x38ed43[_0x2de9a3(0x28b)],{sheetName:_0x156999,range:_0x2922ec}=Te['deserializeRangeWithSheet'](_0x8aadd1),_0x2de6dc={'name':(_0x8ef01c=(_0x4ab25c=this[_0x2de9a3(0x122)]['getMember'](this[_0x2de9a3(0x19c)],_0x4a5a83))==null?void 0x0:_0x4ab25c[_0x2de9a3(0x113)])!=null?_0x8ef01c:_0x2de9a3(0x1bc),'range':this[_0x2de9a3(0xe1)](_0x156999,_0x2922ec),'sheetID':_0x156999,'color':this['_colorAssignService'][_0x2de9a3(0x31c)](_0x4a5a83),'selection':_0x8aadd1},_0x5b0dd8=this[_0x2de9a3(0x266)];_0x5b0dd8[_0x2de9a3(0x203)](_0x4a5a83,_0x2de6dc),this[_0x2de9a3(0x2d6)][_0x2de9a3(0x2f0)](_0x5b0dd8);}[_0x3d714e(0x10a)](_0x1a6c82){const _0x42bd4f=_0x3d714e,{memberID:_0x435196}=_0x1a6c82[_0x42bd4f(0x28b)],_0x30dc53=this[_0x42bd4f(0x266)];_0x30dc53[_0x42bd4f(0x147)](_0x435196),this['_cursorInfo$'][_0x42bd4f(0x2f0)](_0x30dc53);}[_0x3d714e(0xe1)](_0x53791a,_0x72abc1){const _0x2f15cc=_0x3d714e;var _0x213e83,_0x2d523f;const _0x4e7e05=(_0x2d523f=(_0x213e83=this[_0x2f15cc(0x23c)][_0x2f15cc(0xf3)](this[_0x2f15cc(0x19c)]))==null?void 0x0:_0x213e83[_0x2f15cc(0x2a5)](_0x53791a))==null?void 0x0:_0x2d523f[_0x2f15cc(0x220)]();return(_0x4e7e05==null?void 0x0:_0x4e7e05[_0x2f15cc(0x322)](_0x9c6042=>a[_0x2f15cc(0x1fa)][_0x2f15cc(0x14b)](_0x9c6042,_0x72abc1)))||_0x72abc1;}[_0x3d714e(0x142)](){const _0x1270e5=_0x3d714e,_0x2f926c=new a[(_0x1270e5(0x2c9))](),_0x17d546=at(),_0xeb570e=()=>{const _0x5f4de2=_0x1270e5;_0x2f926c[_0x5f4de2(0x237)]();const _0x6e4a86=(_0x374d78,_0x44b747,_0x3afcca,_0x2177d1)=>{const _0x58b6df=_0x5f4de2;let _0x2b72fb=[];switch(_0x374d78['id']){case g[_0x58b6df(0x253)][_0x58b6df(0x2da)]:{_0x2b72fb=g[_0x58b6df(0x2cb)](_0x374d78,_0x2177d1);break;}case g['EffectRefRangId'][_0x58b6df(0x1e7)]:{_0x2b72fb=g[_0x58b6df(0x17d)](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)][_0x58b6df(0x23f)]:{_0x2b72fb=g[_0x58b6df(0xfb)](_0x374d78,_0x2177d1);break;}case g['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x2b72fb=g[_0x58b6df(0x2fc)](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)][_0x58b6df(0x29e)]:{_0x2b72fb=g[_0x58b6df(0x329)](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)][_0x58b6df(0x1cf)]:{_0x2b72fb=g[_0x58b6df(0x18e)](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)]['MoveRangeCommandId']:{_0x2b72fb=g[_0x58b6df(0x2aa)](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)][_0x58b6df(0x134)]:{_0x2b72fb=g['handleIRemoveCol'](_0x374d78,_0x2177d1);break;}case g[_0x58b6df(0x253)]['RemoveRowCommandId']:{_0x2b72fb=g[_0x58b6df(0x205)](_0x374d78,_0x2177d1);break;}}const _0x5c6aba=g[_0x58b6df(0x2a7)](_0x2b72fb,_0x2177d1),_0x51e41e=this[_0x58b6df(0x266)][_0x58b6df(0xfe)](_0x44b747);if(_0x51e41e&&_0x5c6aba){const _0x2c7f16={..._0x51e41e,'range':_0x5c6aba};this['cursorInfo'][_0x58b6df(0x203)](_0x44b747,_0x2c7f16),_0x17d546(()=>{const _0x3b8b0d=_0x58b6df,_0x4296d2=this['_refRangeService'][_0x3b8b0d(0x1e1)](_0x5c6aba,_0xc71c24=>(_0x4296d2[_0x3b8b0d(0x237)](),_0x6e4a86(_0xc71c24,_0x44b747,_0x3afcca,_0x5c6aba)));_0x2f926c[_0x3b8b0d(0x196)](_0x4296d2);});}return{'redos':[],'undos':[]};};this[_0x5f4de2(0x266)][_0x5f4de2(0x202)]((_0x3b7f49,_0x4933e3)=>{const _0x20072d=_0x5f4de2,{range:_0xb4f1c7,sheetID:_0xac73b0}=_0x3b7f49,_0x4fb7cc=this[_0x20072d(0xc5)]['registerRefRange'](_0xb4f1c7,_0x5dc738=>(_0x4fb7cc[_0x20072d(0x237)](),_0x6e4a86(_0x5dc738,_0x4933e3,_0xac73b0,_0xb4f1c7)));_0x2f926c[_0x20072d(0x196)](_0x4fb7cc);});};this[_0x1270e5(0x1de)](a[_0x1270e5(0x239)](this[_0x1270e5(0x2d6)][_0x1270e5(0x1ad)](()=>{_0xeb570e();})));}[_0x3d714e(0x2d1)](){const _0x2198f4=_0x3d714e;var _0x1c45c4,_0x4793d7;if(this[_0x2198f4(0x1bd)]=!0x0,((_0x1c45c4=this['_univerInstanceService'][_0x2198f4(0x2d2)]())==null?void 0x0:_0x1c45c4['getUnitId']())!==this[_0x2198f4(0x19c)])return;const _0xc69165=(_0x4793d7=this[_0x2198f4(0x279)][_0x2198f4(0xfe)](g[_0x2198f4(0x2f3)])['getCurrentSelections']())==null?void 0x0:_0x4793d7[0x0],_0x2c5e4a=this[_0x2198f4(0x23c)][_0x2198f4(0x135)](a[_0x2198f4(0x112)][_0x2198f4(0xd7)])[_0x2198f4(0x330)]();_0xc69165&&_0x2c5e4a&&this[_0x2198f4(0x21f)](_0x2c5e4a[_0x2198f4(0x301)](),_0xc69165);}[_0x3d714e(0x102)](){this['_online']=!0x1;}};Ie=it([A(0x2,a[_0x3d714e(0x1eb)](a['Injector'])),A(0x3,a[_0x3d714e(0x1eb)](Ce)),A(0x4,a[_0x3d714e(0x1eb)](u[_0x3d714e(0x2a3)])),A(0x5,a[_0x3d714e(0x27e)]),A(0x6,a[_0x3d714e(0x1cc)]),A(0x7,a[_0x3d714e(0x1eb)](g[_0x3d714e(0x11a)]))],Ie);var ct=Object[_0x3d714e(0x294)],lt=(_0x47c8d3,_0x284519,_0x2b5d6b,_0x43b6c0)=>{const _0x3a022d=_0x3d714e;for(var _0x2742e4=_0x43b6c0>0x1?void 0x0:_0x43b6c0?ct(_0x284519,_0x2b5d6b):_0x284519,_0x3c9f9a=_0x47c8d3[_0x3a022d(0x2f1)]-0x1,_0x1dfcb4;_0x3c9f9a>=0x0;_0x3c9f9a--)(_0x1dfcb4=_0x47c8d3[_0x3c9f9a])&&(_0x2742e4=_0x1dfcb4(_0x2742e4)||_0x2742e4);return _0x2742e4;},ie=(_0x1f25e6,_0x2c2c78)=>(_0x1a1bc7,_0x189577)=>_0x2c2c78(_0x1a1bc7,_0x189577,_0x1f25e6);let x=class extends a[_0x3d714e(0x1f7)]{constructor(_0x2f2bfd,_0x2ef5e7,_0x2178a8){const _0x7d9b5d=_0x3d714e;super(),h(this,_0x7d9b5d(0x154),new Map()),h(this,_0x7d9b5d(0x177),new d['Subject']()),(this[_0x7d9b5d(0x23c)]=_0x2f2bfd,this[_0x7d9b5d(0x279)]=_0x2ef5e7,this[_0x7d9b5d(0x2ca)]=_0x2178a8,this[_0x7d9b5d(0x149)]());}['dispose'](){const _0x15b1fc=_0x3d714e;super[_0x15b1fc(0x237)](),this[_0x15b1fc(0x177)][_0x15b1fc(0x270)](),this[_0x15b1fc(0x154)][_0x15b1fc(0x202)](_0x18fc43=>_0x18fc43[_0x15b1fc(0x237)]());}[_0x3d714e(0x1f5)](_0x408497){const _0xbff0f2=_0x3d714e;return this['_entities'][_0xbff0f2(0x310)](_0x408497)?this[_0xbff0f2(0x154)][_0xbff0f2(0xfe)](_0x408497)[_0xbff0f2(0x230)]:this[_0xbff0f2(0x177)]['pipe'](d['filter'](_0x927842=>_0x927842[_0xbff0f2(0x19c)]===_0x408497),d[_0xbff0f2(0x298)](_0x5e739a=>_0x5e739a[_0xbff0f2(0x230)]));}[_0x3d714e(0x149)](){const _0x35db02=_0x3d714e;this[_0x35db02(0x23c)][_0x35db02(0x115)](a[_0x35db02(0x112)][_0x35db02(0xd7)])[_0x35db02(0x30a)](d[_0x35db02(0x143)](this[_0x35db02(0xeb)]))[_0x35db02(0x1ad)](async _0x56a81b=>{const _0x1a62c1=_0x35db02,_0x22c2d9=_0x56a81b['getUnitId'](),_0x1329be=await this[_0x1a62c1(0x2d0)](_0x22c2d9);this['_entityInit$'][_0x1a62c1(0x2f0)](_0x1329be),this['_entities']['set'](_0x22c2d9,_0x1329be);}),this[_0x35db02(0x23c)][_0x35db02(0x115)](a[_0x35db02(0x112)]['UNIVER_DOC'])[_0x35db02(0x30a)](d[_0x35db02(0x143)](this[_0x35db02(0xeb)]))['pipe'](d[_0x35db02(0x284)](_0x3e54d1=>!_0x3e54d1['getUnitId']()['startsWith']('__')))[_0x35db02(0x1ad)](async _0xc0724b=>{const _0x4768c5=_0x35db02,_0x58be2d=_0xc0724b[_0x4768c5(0x180)](),_0x54d4ac=await this[_0x4768c5(0x1b3)](_0x58be2d);this['_entityInit$'][_0x4768c5(0x2f0)](_0x54d4ac),this[_0x4768c5(0x154)][_0x4768c5(0x203)](_0x58be2d,_0x54d4ac);}),d[_0x35db02(0x228)](this[_0x35db02(0x23c)][_0x35db02(0x28a)](a['UniverInstanceType'][_0x35db02(0x17b)]),this[_0x35db02(0x23c)][_0x35db02(0x28a)](a[_0x35db02(0x112)][_0x35db02(0xd7)]))[_0x35db02(0x30a)](d[_0x35db02(0x143)](this['dispose$']))[_0x35db02(0x1ad)](_0x108dfd=>{const _0x33b513=_0x35db02,_0x5202f4=_0x108dfd[_0x33b513(0x180)](),_0x1e826a=this[_0x33b513(0x154)][_0x33b513(0xfe)](_0x5202f4);_0x1e826a&&(_0x1e826a[_0x33b513(0x237)](),this[_0x33b513(0x154)]['delete'](_0x5202f4));});}async['_startSheetCollabCursor'](_0x7945d6){const _0x3c5628=_0x3d714e,_0x58c96f=await this[_0x3c5628(0x2ca)][_0x3c5628(0x1d1)](_0x7945d6),_0x37b1e8=this['_injector']['createInstance'](Ie,_0x7945d6,_0x58c96f);return _0x37b1e8[_0x3c5628(0x1b2)](),_0x37b1e8;}async[_0x3d714e(0x1b3)](_0x3bce9f){const _0x1853ab=_0x3d714e,_0x315c8b=await this['_collabSessionService'][_0x1853ab(0x1d1)](_0x3bce9f),_0x8f9e54=this[_0x1853ab(0x279)][_0x1853ab(0xf1)](Se,_0x3bce9f,_0x315c8b);return _0x8f9e54['init'](),_0x8f9e54;}};x=lt([ie(0x0,a[_0x3d714e(0x27e)]),ie(0x1,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x2d7)])),ie(0x2,a[_0x3d714e(0x1eb)](u[_0x3d714e(0x179)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x25414a,_0x9f73b7){const _0x29e78f=_0x3d714e;let {radius:_0x4fddc6,width:_0x29541c,height:_0x1ea845}=_0x9f73b7;_0x4fddc6=_0x4fddc6!=null?_0x4fddc6:0x0,_0x29541c=_0x29541c!=null?_0x29541c:0x1e,_0x1ea845=_0x1ea845!=null?_0x1ea845:0x1e;let _0x40138a=0x0,_0x1cd4bc=0x0,_0xfd6710=0x0;_0x40138a=_0x1cd4bc=_0xfd6710=Math['min'](_0x4fddc6,_0x29541c/0x2,_0x1ea845/0x2),_0x25414a[_0x29e78f(0x1e9)](),_0x25414a[_0x29e78f(0x288)](_0x40138a,0x0),_0x25414a['lineTo'](_0x29541c-_0x1cd4bc,0x0),_0x25414a[_0x29e78f(0xc9)](_0x29541c-_0x1cd4bc,_0x1cd4bc,_0x1cd4bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x25414a[_0x29e78f(0x12f)](_0x29541c,_0x1ea845-_0xfd6710),_0x25414a[_0x29e78f(0xc9)](_0x29541c-_0xfd6710,_0x1ea845-_0xfd6710,_0xfd6710,0x0,Math['PI']/0x2,!0x1),_0x25414a['lineTo'](0x0,_0x1ea845),_0x25414a[_0x29e78f(0x12f)](0x0,_0x40138a),_0x25414a[_0x29e78f(0xc9)](_0x40138a,_0x40138a,_0x40138a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x25414a[_0x29e78f(0x2eb)](),_0x9f73b7[_0x29e78f(0x15b)]&&(_0x25414a['save'](),_0x25414a[_0x29e78f(0x2fe)]=_0x9f73b7[_0x29e78f(0x15b)],_0x9f73b7[_0x29e78f(0x2e6)]===_0x29e78f(0x245)?_0x25414a[_0x29e78f(0x15b)](_0x29e78f(0x245)):_0x25414a[_0x29e78f(0x15b)](),_0x25414a[_0x29e78f(0x2a8)]());}class te extends p['Shape']{constructor(_0x27a3b9,_0x3e485e){const _0x50394b=_0x3d714e;super(_0x27a3b9,_0x3e485e),h(this,'color'),h(this,_0x50394b(0x2d5)),(this[_0x50394b(0x11d)]=_0x3e485e==null?void 0x0:_0x3e485e[_0x50394b(0x11d)],this['text']=_0x3e485e==null?void 0x0:_0x3e485e[_0x50394b(0x2d5)]);}static['drawWith'](_0x2f530d,_0x16cf10){const _0x3ef5c=_0x3d714e,{text:_0x74242f,color:_0x5b9446}=_0x16cf10;_0x2f530d['save'](),_0x2f530d[_0x3ef5c(0x2ee)]=_0x3ef5c(0x111);const _0x54efac=_0x2f530d[_0x3ef5c(0xec)](_0x74242f)[_0x3ef5c(0x14f)],_0x148f79=Math['min'](_0x54efac+0x2*re,De);_t(_0x2f530d,{'height':K,'radius':0x4,'width':_0x148f79,'fill':_0x5b9446}),_0x2f530d[_0x3ef5c(0x2fe)]=_0x3ef5c(0x119);const _0x4e44f1=re,_0x251ec9=K-ht,_0x53cf4b=De-0x2*re;if(_0x54efac>_0x53cf4b){let _0x3f8678='',_0x2e11c4=0x0;for(const _0x1ec987 of _0x74242f){const _0x432e7d=_0x2f530d[_0x3ef5c(0xec)](_0x1ec987)[_0x3ef5c(0x14f)];if(_0x2e11c4+_0x432e7d<=_0x53cf4b-_0x2f530d[_0x3ef5c(0xec)](_0x3ef5c(0x1c2))['width'])_0x3f8678+=_0x1ec987,_0x2e11c4+=_0x432e7d;else{_0x3f8678+=_0x3ef5c(0x1c2);break;}}_0x2f530d[_0x3ef5c(0x141)](_0x3f8678,_0x4e44f1,_0x251ec9);}else _0x2f530d[_0x3ef5c(0x141)](_0x74242f,_0x4e44f1,_0x251ec9);_0x2f530d[_0x3ef5c(0x2a8)]();}['_draw'](_0x1426b1){const _0x3c4f72=_0x3d714e;te[_0x3c4f72(0x290)](_0x1426b1,this);}}const oe=_0x3d714e(0x10c),ut=_0x3d714e(0x14d),dt=_0x3d714e(0x146),B=0x6,ft=1.5,ae=0x4,St=1.5,It='rgba(255,\x20255,\x20255,\x200.01)';class Ue{constructor(_0x19f188,_0x5959ca,_0x256b93,_0x4f2415){const _0x4b9c61=_0x3d714e;h(this,_0x4b9c61(0x316),[]),h(this,_0x4b9c61(0x1ec),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4b9c61(0xf0),null),h(this,_0x4b9c61(0x28e),null),(this['_cursor']=_0x19f188,this[_0x4b9c61(0x1b1)]=_0x5959ca,this[_0x4b9c61(0x175)]=_0x256b93,this[_0x4b9c61(0x1b6)]=_0x4f2415,this[_0x4b9c61(0xef)]());}set[_0x3d714e(0x12d)](_0x6d29d){const _0xea7e17=_0x3d714e;_0x6d29d?(this[_0xea7e17(0x1f3)]&&this[_0xea7e17(0x1f3)][_0xea7e17(0x200)](),this[_0xea7e17(0x292)]&&this[_0xea7e17(0x292)][_0xea7e17(0x30c)]()):(this[_0xea7e17(0x1f3)]&&this[_0xea7e17(0x1f3)]['show'](),this[_0xea7e17(0x292)]&&this[_0xea7e17(0x292)][_0xea7e17(0x200)]());}[_0x3d714e(0x237)](){const _0x5237dd=_0x3d714e;for(const _0x2e514d of this[_0x5237dd(0x316)])_0x2e514d[_0x5237dd(0x237)]();this[_0x5237dd(0x292)]&&this[_0x5237dd(0x292)][_0x5237dd(0x237)](),this[_0x5237dd(0x1f3)]&&this[_0x5237dd(0x1f3)][_0x5237dd(0x237)](),this[_0x5237dd(0x1ec)]&&this['_anchor']['dispose'](),this[_0x5237dd(0x28e)]&&this[_0x5237dd(0x28e)]();}[_0x3d714e(0xef)](){const _0x32ffe1=_0x3d714e;var _0x174910;const {_docSkeleton:_0x1f8efc,_document:_0x2ee6b8}=this,{color:_0x3bb3ee,name:_0x31bc9c,ranges:_0x2c21c2}=this[_0x32ffe1(0x27c)],_0x518a45=_0x2ee6b8['getOffsetConfig'](),{docsLeft:_0x5a9f8e,docsTop:_0x4ed2b2}=_0x518a45,_0x472c4b=new b[(_0x32ffe1(0x1e4))](_0x518a45,_0x1f8efc);for(const {startOffset:_0x30718e,endOffset:_0x646ffa,rangeType:_0xf240e4,segmentId:_0x24fcd4,segmentPage:_0x381575,collapsed:_0x27a3e3,isActive:_0x29975a}of _0x2c21c2){const _0x67cb06=_0x1f8efc[_0x32ffe1(0x2e8)](_0x30718e,!0x0,_0x24fcd4,_0x381575);let _0x1f2424=_0x1f8efc[_0x32ffe1(0x2e8)](_0x646ffa,!0x0,_0x24fcd4,_0x381575);if(_0x1f2424==null&&(_0x1f2424=_0x1f8efc[_0x32ffe1(0x2e8)](_0x646ffa-0x1,!0x1,_0x24fcd4,_0x381575)),_0x29975a){const {contentBoxPointGroup:_0x6aefa1}=_0x472c4b['getRangePointData'](_0x1f2424,_0x1f2424);if(_0x6aefa1[_0x32ffe1(0x2f1)]===0x0)continue;this[_0x32ffe1(0x258)](_0x3bb3ee,_0x6aefa1,_0x5a9f8e,_0x4ed2b2,_0x31bc9c),this[_0x32ffe1(0x28e)]=this[_0x32ffe1(0x346)]();}if(_0x67cb06&&_0x1f2424){if(_0xf240e4===a[_0x32ffe1(0x211)][_0x32ffe1(0x25a)]){const _0x6c9e3=new b[(_0x32ffe1(0x22c))](_0x518a45,_0x1f8efc),{pointGroup:_0x443e94}=(_0x174910=_0x6c9e3['getRangePointData'](_0x67cb06,_0x1f2424))!=null?_0x174910:{};if(_0x443e94==null||_0x443e94[_0x32ffe1(0x2f1)]===0x0)continue;this[_0x32ffe1(0x23a)](_0x3bb3ee,_0x443e94,_0x5a9f8e,_0x4ed2b2);}else{if(!_0x27a3e3){const {borderBoxPointGroup:_0x16df85}=_0x472c4b[_0x32ffe1(0x218)](_0x67cb06,_0x1f2424);if(_0x16df85[_0x32ffe1(0x2f1)]===0x0)continue;this[_0x32ffe1(0x1c4)](_0x3bb3ee,_0x16df85,_0x5a9f8e,_0x4ed2b2);}}}}}[_0x3d714e(0x258)](_0xf73287,_0x340244,_0x315072,_0x22e62,_0x3be5b9){const _0x383945=_0x3d714e,_0x2ed8db=this['_getAnchorBounding'](_0x340244),{left:_0x4b433b,top:_0xea4af,height:_0x11a625}=_0x2ed8db,_0x522a66=this[_0x383945(0x120)](),_0x133139=St/_0x522a66,_0x392abe=new p[(_0x383945(0x2e9))](oe+a[_0x383945(0x267)][_0x383945(0x14e)](B),{'left':_0x4b433b+_0x315072-_0x133139,'top':_0xea4af+_0x22e62,'height':_0x11a625,'width':ft,'fill':_0xf73287||p[_0x383945(0x1bf)](a[_0x383945(0x33c)]['black'],0x0),'strokeWidth':_0x133139,'stroke':It,'evented':!0x0});this['_anchor']=_0x392abe,this[_0x383945(0x1b1)]['addObject'](_0x392abe,b[_0x383945(0x307)]);const _0x921d2a=new p[(_0x383945(0x2e9))](oe+a[_0x383945(0x267)][_0x383945(0x14e)](B),{'left':_0x4b433b+_0x315072-_0x133139,'top':_0xea4af+_0x22e62-ae/0x2,'height':ae,'width':ae,'fill':_0xf73287||p[_0x383945(0x1bf)](a[_0x383945(0x33c)][_0x383945(0x32b)],0x0),'strokeWidth':0x0,'stroke':_0xf73287||p['getColor'](a['COLORS'][_0x383945(0x32b)],0x0),'evented':!0x1});this[_0x383945(0x1f3)]=_0x921d2a,this[_0x383945(0x1b1)]['addObject'](_0x921d2a,b[_0x383945(0x307)]);const _0x5797d7=new te(oe+a[_0x383945(0x267)]['generateRandomId'](B),{'left':_0x4b433b+_0x315072-_0x133139,'top':_0xea4af+_0x22e62-K,'text':_0x3be5b9,'color':_0xf73287});this[_0x383945(0x292)]=_0x5797d7,this[_0x383945(0x1b1)][_0x383945(0x126)](_0x5797d7,b[_0x383945(0x307)]),this[_0x383945(0x12d)]=!0x1;}['_handleHover'](){const _0x508020=_0x3d714e,_0x503c02=this[_0x508020(0x1ec)][_0x508020(0x194)][_0x508020(0x241)](()=>{this['_hover']=!0x0;}),_0x4a5b43=this[_0x508020(0x1ec)][_0x508020(0x2b0)][_0x508020(0x241)](()=>{const _0x59d60e=_0x508020;this[_0x59d60e(0xf0)]&&clearTimeout(this[_0x59d60e(0xf0)]),this[_0x59d60e(0xf0)]=setTimeout(()=>{const _0x27c530=_0x59d60e;this[_0x27c530(0x12d)]=!0x1;},0x7d0);});return()=>{const _0x12cde1=_0x508020;_0x503c02[_0x12cde1(0x118)](),_0x4a5b43[_0x12cde1(0x118)]();};}[_0x3d714e(0x1c4)](_0x468847,_0x528d1a,_0x5b23ed,_0x5c37d1){const _0x2b7184=_0x3d714e,_0x144169=new a[(_0x2b7184(0x1c9))](_0x468847)[_0x2b7184(0x2ef)](0.2)['toRgbString'](),_0x835503=new p[(_0x2b7184(0x2c7))](ut+a['Tools']['generateRandomId'](B),{'pointsGroup':_0x528d1a,'fill':_0x144169||p[_0x2b7184(0x1bf)](a[_0x2b7184(0x33c)][_0x2b7184(0x32b)],0.2),'left':_0x5b23ed,'top':_0x5c37d1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2b7184(0xe8)](_0x835503),this[_0x2b7184(0x1b1)][_0x2b7184(0x126)](_0x835503,b['TEXT_RANGE_LAYER_INDEX']);}[_0x3d714e(0x23a)](_0x5c9a18,_0x5ddab2,_0x1aeb5f,_0xccfb87){const _0x15234c=_0x3d714e,_0x1f90df=new a[(_0x15234c(0x1c9))](_0x5c9a18)[_0x15234c(0x2ef)](0.2)[_0x15234c(0x274)](),_0x2ee758=new p['RegularPolygon'](dt+a[_0x15234c(0x267)][_0x15234c(0x14e)](B),{'pointsGroup':_0x5ddab2,'fill':_0x1f90df||p['getColor'](a[_0x15234c(0x33c)][_0x15234c(0x32b)],0.2),'left':_0x1aeb5f,'top':_0xccfb87,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15234c(0x316)][_0x15234c(0xe8)](_0x2ee758),this[_0x15234c(0x1b1)][_0x15234c(0x126)](_0x2ee758,b[_0x15234c(0x307)]);}[_0x3d714e(0x1f9)](_0x51284d){const _0x46ea9e=_0x51284d[0x0],_0x1b4759=_0x46ea9e[0x0],_0x4619ab=_0x46ea9e[0x2],{x:_0x700fc1,y:_0x4c8b1e}=_0x1b4759,{x:_0x1e97ba,y:_0x1a2629}=_0x4619ab;return{'left':_0x700fc1,'top':_0x4c8b1e,'width':_0x1e97ba-_0x700fc1,'height':_0x1a2629-_0x4c8b1e};}[_0x3d714e(0x120)](){const _0x3df8a8=_0x3d714e,{scaleX:_0x7f94e,scaleY:_0x145311}=this['_scene'][_0x3df8a8(0x26c)]();return Math[_0x3df8a8(0x304)](_0x7f94e,_0x145311);}}var vt=Object[_0x3d714e(0x294)],gt=(_0x24fbf4,_0x14dc01,_0x52e68e,_0x5f5748)=>{const _0x3343d5=_0x3d714e;for(var _0x5564b6=_0x5f5748>0x1?void 0x0:_0x5f5748?vt(_0x14dc01,_0x52e68e):_0x14dc01,_0x3268ab=_0x24fbf4[_0x3343d5(0x2f1)]-0x1,_0x1bb14a;_0x3268ab>=0x0;_0x3268ab--)(_0x1bb14a=_0x24fbf4[_0x3268ab])&&(_0x5564b6=_0x1bb14a(_0x5564b6)||_0x5564b6);return _0x5564b6;},V=(_0x38108e,_0x4029e8)=>(_0x20bbd6,_0x3d3b65)=>_0x4029e8(_0x20bbd6,_0x3d3b65,_0x38108e);let ve=class extends a[_0x3d714e(0x1f7)]{constructor(_0x16ec50,_0x48a0f3,_0x1751e9,_0x41ff6f,_0x36195e){const _0x55daf6=_0x3d714e;super(),h(this,_0x55daf6(0x17a),[]),h(this,_0x55daf6(0x172),[]),(this[_0x55daf6(0x2c6)]=_0x16ec50,this['_docSkeletonManagerService']=_0x48a0f3,this['_collabCursorController']=_0x1751e9,this['_commandService']=_0x41ff6f,this['_themeService']=_0x36195e,this[_0x55daf6(0x149)]());}[_0x3d714e(0x149)](){const _0x3883f8=_0x3d714e,_0x3dbb45=this[_0x3883f8(0x2c6)]['unitId'],_0x11d8f7=this[_0x3883f8(0x280)];this[_0x3883f8(0x1de)](d[_0x3883f8(0x27b)]([this[_0x3883f8(0x338)]['getCollabCursors$'](_0x3dbb45),this[_0x3883f8(0x251)][_0x3883f8(0x164)]])['pipe']($[_0x3883f8(0x2c5)](([_0x32deb0,_0x24405d])=>({'skeleton':_0x11d8f7[_0x3883f8(0xf2)](),'cursors':[..._0x32deb0[_0x3883f8(0x2c3)]()][_0x3883f8(0x262)](_0x58e39a=>({..._0x58e39a,'color':_0x24405d[_0x58e39a[_0x3883f8(0x11d)]]}))})))[_0x3883f8(0x1ad)](_0x2197e7=>{const _0x21b2ab=_0x3883f8;if(this[_0x21b2ab(0x256)](),_0x2197e7){const {skeleton:_0x212201,cursors:_0x17ac45}=_0x2197e7;this[_0x21b2ab(0x192)](_0x212201,_0x17ac45);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x3d714e(0x192)](_0x3fe85c,_0x47fb82){const _0x35f717=_0x3d714e,{scene:_0x506a16,mainComponent:_0x36cf0b}=this[_0x35f717(0x2c6)],_0x2054ce=_0x47fb82[_0x35f717(0x2c5)](_0x30ee1d=>new Ue(_0x30ee1d,_0x506a16,_0x3fe85c,_0x36cf0b));this['_cursorShapes']=_0x2054ce,this['_cursors']=_0x47fb82;}[_0x3d714e(0x289)](){const _0x438e64=_0x3d714e;this[_0x438e64(0x256)]();const {scene:_0x1a4bb8,mainComponent:_0x445fcd}=this[_0x438e64(0x2c6)],_0x10b3fd=this[_0x438e64(0x280)][_0x438e64(0xf2)](),_0xdf4325=this[_0x438e64(0x172)][_0x438e64(0x2c5)](_0x3795f6=>new Ue(_0x3795f6,_0x1a4bb8,_0x10b3fd,_0x445fcd));this[_0x438e64(0x17a)]=_0xdf4325;}[_0x3d714e(0x256)](){const _0x35bf2c=_0x3d714e;this[_0x35bf2c(0x17a)][_0x35bf2c(0x202)](_0x6040c9=>_0x6040c9['dispose']()),this[_0x35bf2c(0x17a)]=[];}[_0x3d714e(0x328)](){const _0x3229e8=_0x3d714e,_0x33d3da=[b[_0x3229e8(0x185)]['id']];this[_0x3229e8(0x1de)](this[_0x3229e8(0x1ee)][_0x3229e8(0x300)](_0x33df88=>{const _0x194256=_0x3229e8;_0x33d3da[_0x194256(0x21b)](_0x33df88['id'])&&_0x33df88['params']['unitId']===this[_0x194256(0x2c6)][_0x194256(0x28c)]&&this['_refreshCollabCursors']();}));}[_0x3d714e(0x296)](){const _0x5af900=_0x3d714e;this['disposeWithMe'](a[_0x5af900(0x1c7)](this[_0x5af900(0x2c6)][_0x5af900(0x24a)][_0x5af900(0x272)])[_0x5af900(0x30a)]($['filter'](_0x17d010=>_0x17d010[_0x5af900(0x2b4)]===p[_0x5af900(0x10d)][_0x5af900(0x295)]),$[_0x5af900(0x234)](0x10))[_0x5af900(0x1ad)](()=>{const _0x4f8309=_0x5af900;this[_0x4f8309(0x289)]();}));}};ve=gt([V(0x1,a[_0x3d714e(0x1eb)](Y[_0x3d714e(0x12e)])),V(0x2,a[_0x3d714e(0x1eb)](x)),V(0x3,a[_0x3d714e(0x1cc)]),V(0x4,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x25f)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p['Shape']{constructor(_0x43be9d,_0x1e81c4){const _0x4b85e2=_0x3d714e;super(_0x43be9d,_0x1e81c4),h(this,_0x4b85e2(0xe7)),h(this,_0x4b85e2(0x265),!0x1),h(this,_0x4b85e2(0x21c)),h(this,'_name',''),h(this,_0x4b85e2(0x2c2),_0x4b85e2(0x2ec)),h(this,_0x4b85e2(0x334)),(_0x1e81c4&&this['setShapeProps'](_0x1e81c4),this['onPointerEnter$'][_0x4b85e2(0x241)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x4b85e2(0x303)]({'hovered':!0x1})));}[_0x3d714e(0x303)](_0x21704f){const _0xd760ed=_0x3d714e;var _0x288dd3,_0x129481,_0x3f8ed6,_0x3760b2,_0x238157,_0x3bc6b7;this[_0xd760ed(0xe7)]=(_0x288dd3=_0x21704f[_0xd760ed(0x11d)])!=null?_0x288dd3:this[_0xd760ed(0xe7)],this[_0xd760ed(0x265)]=(_0x129481=_0x21704f['hovered'])!=null?_0x129481:this[_0xd760ed(0x265)],this['_range']=(_0x3f8ed6=_0x21704f['range'])!=null?_0x3f8ed6:this['_range'],this['_name']=(_0x3760b2=_0x21704f['name'])!=null?_0x3760b2:this[_0xd760ed(0x340)],this[_0xd760ed(0x2c2)]=(_0x238157=_0x21704f[_0xd760ed(0x1ef)])!=null?_0x238157:this[_0xd760ed(0x2c2)],this[_0xd760ed(0x334)]=(_0x3bc6b7=_0x21704f[_0xd760ed(0x1df)])!=null?_0x3bc6b7:this[_0xd760ed(0x334)],this[_0xd760ed(0x12b)]({'width':_0x21704f[_0xd760ed(0x14f)],'height':_0x21704f[_0xd760ed(0x2d9)]});}[_0x3d714e(0x1a8)](_0x1bbf0c){const _0x57fc40=_0x3d714e,{row:_0x4e27d3,column:_0x87a94f}=_0x1bbf0c;if(_0x4e27d3>=this[_0x57fc40(0x21c)][_0x57fc40(0x1fb)]&&_0x4e27d3<=this[_0x57fc40(0x21c)][_0x57fc40(0x22f)]&&_0x87a94f>=this[_0x57fc40(0x21c)][_0x57fc40(0x2b7)]&&_0x87a94f<=this['_range'][_0x57fc40(0x116)]){this[_0x57fc40(0x303)]({'hovered':!0x0});return;}this[_0x57fc40(0x303)]({'hovered':!0x1});}[_0x3d714e(0x1db)](_0x3434ea){return!0x1;}[_0x3d714e(0x32d)](_0x24a9f5){const _0x4bf09f=_0x3d714e;p['Rect'][_0x4bf09f(0x290)](_0x24a9f5,{'width':this[_0x4bf09f(0x14f)],'height':this[_0x4bf09f(0x2d9)],'strokeWidth':Ct,'stroke':this[_0x4bf09f(0xe7)],'evented':!0x1,'fill':this[_0x4bf09f(0x334)]}),this[_0x4bf09f(0x265)]&&(_0x24a9f5[_0x4bf09f(0x186)](),_0x24a9f5[_0x4bf09f(0x109)](0x1,0x0,0x0,0x1,this['width'],this[_0x4bf09f(0x2c2)]===_0x4bf09f(0x1cd)?0x0:-0x14),te[_0x4bf09f(0x290)](_0x24a9f5,{'text':this[_0x4bf09f(0x340)],'color':this[_0x4bf09f(0xe7)]}),_0x24a9f5['restore']());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x4ee6f6,_0x92f217,_0x52dab6,_0x2b8af5)=>{for(var _0x43e23c=_0x2b8af5>0x1?void 0x0:_0x2b8af5?pt(_0x92f217,_0x52dab6):_0x92f217,_0x96b725=_0x4ee6f6['length']-0x1,_0x3ab1ff;_0x96b725>=0x0;_0x96b725--)(_0x3ab1ff=_0x4ee6f6[_0x96b725])&&(_0x43e23c=_0x3ab1ff(_0x43e23c)||_0x43e23c);return _0x43e23c;},ce=(_0x8dec8b,_0x58086b)=>(_0x531945,_0x132580)=>_0x58086b(_0x531945,_0x132580,_0x8dec8b);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x5377b5,_0x464c6c,_0x5f09d7,_0x11f675){const _0x43f9d1=_0x3d714e;super(),h(this,_0x43f9d1(0x172),new Set()),h(this,'_lastPointer',null),(this[_0x43f9d1(0x2c6)]=_0x5377b5,this[_0x43f9d1(0xd1)]=_0x464c6c,this['_collabCursorController']=_0x5f09d7,this[_0x43f9d1(0x251)]=_0x11f675,this[_0x43f9d1(0x149)]());}[_0x3d714e(0x149)](){const _0x4841b6=_0x3d714e;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4841b6(0x30a)]($['takeUntil'](this[_0x4841b6(0xeb)]),$[_0x4841b6(0x298)](_0x5a8a08=>{const _0x5d717c=_0x4841b6;if(_0x5a8a08){const _0x34047e=_0x5a8a08[_0x5d717c(0x10e)];return d[_0x5d717c(0x27b)](this[_0x5d717c(0x338)][_0x5d717c(0x1f5)](this['_context'][_0x5d717c(0x28c)]),this[_0x5d717c(0x251)][_0x5d717c(0x164)])[_0x5d717c(0x30a)]($[_0x5d717c(0x2c5)](([_0x2e34fd,_0x40908d])=>{const _0x3c562b=new Map();return _0x2e34fd['forEach']((_0x2cf676,_0xfcd66e)=>{const _0x49610e=_0x2f33;if(_0x2cf676['sheetID']===_0x34047e){const _0x46294f={..._0x2cf676};_0x46294f[_0x49610e(0x11d)]=_0x40908d[_0x2cf676['color']],_0x3c562b[_0x49610e(0x203)](_0xfcd66e,_0x46294f);}}),{'skeleton':_0x5a8a08,'cursors':_0x3c562b};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x43878b,cursors:_0x1efece})=>{const _0x7da8fa=_0x4841b6;this[_0x7da8fa(0x256)](),_0x43878b&&this[_0x7da8fa(0x192)](_0x43878b,_0x1efece);}),this[_0x4841b6(0xd1)]['currentSkeleton$'][_0x4841b6(0x1ad)](_0x35cf8b=>{const _0x30d478=_0x4841b6;if(_0x35cf8b==null)return;const {skeleton:_0x45468b}=_0x35cf8b,{scene:_0x274fad}=this[_0x30d478(0x2c6)];_0x274fad['onPointerMove$'][_0x30d478(0x241)](a[_0x30d478(0x138)](_0x315cbb=>{const _0x41d31d=_0x30d478;var _0x580272,_0x1161ef;const {offsetX:_0x2ae71f,offsetY:_0x5861bb}=_0x315cbb,{x:_0x5ed1e8,y:_0x5f0835}=_0x274fad[_0x41d31d(0x1ea)](p[_0x41d31d(0x14c)][_0x41d31d(0x20c)]([_0x2ae71f,_0x5861bb])),{scaleX:_0x4432d2,scaleY:_0x2cad61}=_0x274fad[_0x41d31d(0x26c)](),_0x5199f8=_0x274fad[_0x41d31d(0x1ca)](p['SHEET_VIEWPORT_KEY'][_0x41d31d(0x2db)]),_0xca385=_0x274fad[_0x41d31d(0x18c)](p['Vector2'][_0x41d31d(0x20c)]([_0x5ed1e8,_0x5f0835]),_0x5199f8),_0x1e61f4=_0x45468b[_0x41d31d(0x319)](_0x2ae71f,_0x5861bb,_0x4432d2,_0x2cad61,_0xca385);((_0x580272=this[_0x41d31d(0x269)])==null?void 0x0:_0x580272['column'])===_0x1e61f4[_0x41d31d(0x249)]&&((_0x1161ef=this['_lastPointer'])==null?void 0x0:_0x1161ef['row'])===_0x1e61f4[_0x41d31d(0x345)]||this[_0x41d31d(0x172)][_0x41d31d(0x202)](_0x117333=>{const _0x188534=_0x41d31d;_0x117333[_0x188534(0x1a8)](_0x1e61f4);});},0x64));});}[_0x3d714e(0x192)](_0x456c9e,_0x4bc37f){const _0x3fad92=_0x3d714e;var _0x394879;const _0x1217d0=(_0x394879=this[_0x3fad92(0xd1)][_0x3fad92(0x2f5)]())==null?void 0x0:_0x394879['skeleton'];if(!_0x1217d0)return;const _0x3ec0ba=this[_0x3fad92(0xce)]();if(!_0x3ec0ba)return;this[_0x3fad92(0x172)][_0x3fad92(0x202)](_0x299021=>{const _0x5896f6=_0x3fad92;_0x299021[_0x5896f6(0x1ba)]();});const {scene:_0x17e572}=_0x3ec0ba,_0xf9888e=Tt(Array[_0x3fad92(0x25b)](_0x4bc37f[_0x3fad92(0x2c3)]()))[_0x3fad92(0x2c5)](_0x57d07f=>{const _0x284ff0=_0x3fad92,{color:_0x2f5a70,range:_0x4503d8,name:_0x23bd18,selection:_0x35f294,sheetID:_0x5354a2}=_0x57d07f,{startColumn:_0x27480a,startRow:_0x1b2f6a,endColumn:_0x315282,endRow:_0x1ff34c}=_0x4503d8,_0x49b8f6=G[_0x284ff0(0xe2)](_0x1b2f6a,_0x27480a,_0x17e572,_0x1217d0),_0xd73f5=G[_0x284ff0(0xe2)](_0x1ff34c,_0x315282,_0x17e572,_0x1217d0),{columnHeaderHeightAndMarginTop:_0x1fdf9a}=_0x1217d0,{startX:_0x1aa6d5,startY:_0x1b370e}=_0x49b8f6,{endX:_0x41d6f4,endY:_0x20b0e9}=_0xd73f5,_0x3cc1d3=_0x41d6f4-_0x1aa6d5,_0x584f3f=_0x20b0e9-_0x1b370e,_0x3646ea={'labelPosition':_0x1b370e-_0x1fdf9a>=K?'top':_0x284ff0(0x1cd),'sheetID':_0x5354a2,'range':_0x4503d8,'color':_0x2f5a70,'name':_0x23bd18,'selection':_0x35f294,'left':_0x1aa6d5,'top':_0x1b370e,'width':_0x3cc1d3,'height':_0x584f3f,'evented':!0x1,'zIndex':Et};return new Ae(_0x23bd18,_0x3646ea);});_0x17e572[_0x3fad92(0x16e)](_0xf9888e,mt),this[_0x3fad92(0x172)]=new Set(_0xf9888e);}[_0x3d714e(0x256)](){const _0x1f3e80=_0x3d714e;var _0x5e5ce8;(_0x5e5ce8=this[_0x1f3e80(0x172)])==null||_0x5e5ce8[_0x1f3e80(0x202)](_0x2f8143=>_0x2f8143[_0x1f3e80(0x237)]());}[_0x3d714e(0xce)](){const _0x4aef7f=_0x3d714e;return G[_0x4aef7f(0x214)](this[_0x4aef7f(0x2c6)][_0x4aef7f(0x2e5)],this[_0x4aef7f(0x2c6)]);}};ge=bt([ce(0x1,a[_0x3d714e(0x1eb)](G[_0x3d714e(0x276)])),ce(0x2,a[_0x3d714e(0x1eb)](x)),ce(0x3,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x25f)]))],ge);function Tt(_0x3c15ca){const _0xd18490=_0x3d714e,_0x3dfb2b=new Map();return _0x3c15ca[_0xd18490(0x202)](_0x505c62=>{const _0x233dea=_0xd18490;if(_0x3dfb2b[_0x233dea(0x310)](_0x505c62['selection'])){const _0xef87ed=_0x3dfb2b['get'](_0x505c62['selection']);_0xef87ed[_0x233dea(0x113)]+=',\x20'+_0x505c62[_0x233dea(0x113)];}else _0x3dfb2b[_0x233dea(0x203)](_0x505c62[_0x233dea(0x2f7)],_0x505c62);}),Array[_0xd18490(0x25b)](_0x3dfb2b['values']());}var E=function(){const _0x79fa9=_0x3d714e;return E=Object[_0x79fa9(0x22b)]||function(_0x3c1822){const _0xab07d7=_0x79fa9;for(var _0x28de68,_0x388224=0x1,_0xea54b9=arguments[_0xab07d7(0x2f1)];_0x388224<_0xea54b9;_0x388224++){_0x28de68=arguments[_0x388224];for(var _0x3b7a32 in _0x28de68)Object['prototype'][_0xab07d7(0x1ac)][_0xab07d7(0x130)](_0x28de68,_0x3b7a32)&&(_0x3c1822[_0x3b7a32]=_0x28de68[_0x3b7a32]);}return _0x3c1822;},E['apply'](this,arguments);},Rt=function(_0x213673,_0x23d029){const _0x348431=_0x3d714e;var _0x377607={};for(var _0x400b07 in _0x213673)Object[_0x348431(0x2b2)][_0x348431(0x1ac)][_0x348431(0x130)](_0x213673,_0x400b07)&&_0x23d029['indexOf'](_0x400b07)<0x0&&(_0x377607[_0x400b07]=_0x213673[_0x400b07]);if(_0x213673!=null&&typeof Object[_0x348431(0x331)]==_0x348431(0xd2)){for(var _0x324133=0x0,_0x400b07=Object['getOwnPropertySymbols'](_0x213673);_0x324133<_0x400b07['length'];_0x324133++)_0x23d029[_0x348431(0x23d)](_0x400b07[_0x324133])<0x0&&Object[_0x348431(0x2b2)]['propertyIsEnumerable']['call'](_0x213673,_0x400b07[_0x324133])&&(_0x377607[_0x400b07[_0x324133]]=_0x213673[_0x400b07[_0x324133]]);}return _0x377607;},be=M['forwardRef'](function(_0x40cf67,_0x1b62a9){const _0x46685c=_0x3d714e;var _0x3e5e02=_0x40cf67['icon'],_0x54251c=_0x40cf67['id'],_0x36dd62=_0x40cf67[_0x46685c(0x1d0)],_0x323353=_0x40cf67['extend'],_0x317d1a=Rt(_0x40cf67,[_0x46685c(0xfc),'id',_0x46685c(0x1d0),_0x46685c(0x34b)]),_0x357c26=_0x46685c(0x2a2)['concat'](_0x54251c,'\x20')[_0x46685c(0x261)](_0x36dd62||'')[_0x46685c(0x191)](),_0x3d67e9=M['useRef']('_'[_0x46685c(0x261)](Ut()));return ye(_0x3e5e02,''[_0x46685c(0x261)](_0x54251c),{'defIds':_0x3e5e02[_0x46685c(0x1d3)],'idSuffix':_0x3d67e9['current']},E({'ref':_0x1b62a9,'className':_0x357c26},_0x317d1a),_0x323353);});function ye(_0x334b69,_0x3cc6e2,_0x43a224,_0xb03955,_0x5168b5){const _0x944ef0=_0x3d714e;return M[_0x944ef0(0x32c)](_0x334b69[_0x944ef0(0x243)],E(E({'key':_0x3cc6e2},Ot(_0x334b69,_0x43a224,_0x5168b5)),_0xb03955),(Dt(_0x334b69,_0x43a224)[_0x944ef0(0x145)]||[])['map'](function(_0x16e591,_0x5b8598){const _0x51f40a=_0x944ef0;return ye(_0x16e591,''[_0x51f40a(0x261)](_0x3cc6e2,'-')[_0x51f40a(0x261)](_0x334b69['tag'],'-')[_0x51f40a(0x261)](_0x5b8598),_0x43a224,void 0x0,_0x5168b5);}));}function Ot(_0x470e56,_0x1c3c17,_0x29e2ed){const _0x5af2c1=_0x3d714e;var _0x4f94f3=E({},_0x470e56['attrs']);_0x29e2ed!=null&&_0x29e2ed[_0x5af2c1(0x2fb)]&&_0x4f94f3['fill']===_0x5af2c1(0x2fb)&&(_0x4f94f3[_0x5af2c1(0x15b)]=_0x29e2ed[_0x5af2c1(0x2fb)]),_0x470e56[_0x5af2c1(0x243)]===_0x5af2c1(0x1d4)&&_0x4f94f3['id']&&(_0x4f94f3['id']=_0x4f94f3['id']+_0x1c3c17[_0x5af2c1(0xf8)]),Object['entries'](_0x4f94f3)['forEach'](function(_0x38fa6b){const _0x444d49=_0x5af2c1;var _0x2b7e14=_0x38fa6b[0x0],_0x1f98d9=_0x38fa6b[0x1];_0x2b7e14===_0x444d49(0x1d4)&&typeof _0x1f98d9=='string'&&(_0x4f94f3[_0x2b7e14]=_0x1f98d9['replace'](/url\(#(.*)\)/,_0x444d49(0x16f)[_0x444d49(0x261)](_0x1c3c17[_0x444d49(0xf8)],')')));});var _0x25b55=_0x1c3c17[_0x5af2c1(0x1d3)];return!_0x25b55||_0x25b55['length']===0x0||(_0x470e56[_0x5af2c1(0x243)]===_0x5af2c1(0x189)&&_0x4f94f3['xlink:href']&&(_0x4f94f3['xlink:href']=_0x4f94f3[_0x5af2c1(0xca)]+_0x1c3c17['idSuffix']),Object[_0x5af2c1(0x127)](_0x4f94f3)[_0x5af2c1(0x202)](function(_0x7b331f){const _0x198e01=_0x5af2c1;var _0x2e17e8=_0x7b331f[0x0],_0x30bb2b=_0x7b331f[0x1];typeof _0x30bb2b==_0x198e01(0x20a)&&(_0x4f94f3[_0x2e17e8]=_0x30bb2b[_0x198e01(0xf6)](/url\(#(.*)\)/,_0x198e01(0x16f)[_0x198e01(0x261)](_0x1c3c17['idSuffix'],')')));})),_0x4f94f3;}function Dt(_0x19048e,_0x16af2a){const _0x19097e=_0x3d714e;var _0x581e6a,_0x2ca5a2=_0x16af2a['defIds'];return!_0x2ca5a2||_0x2ca5a2['length']===0x0?_0x19048e:_0x19048e['tag']===_0x19097e(0x1fe)&&(!((_0x581e6a=_0x19048e[_0x19097e(0x145)])===null||_0x581e6a===void 0x0)&&_0x581e6a[_0x19097e(0x2f1)])?E(E({},_0x19048e),{'children':_0x19048e[_0x19097e(0x145)]['map'](function(_0x322585){const _0x29aef8=_0x19097e;return typeof _0x322585[_0x29aef8(0x1ce)]['id']==_0x29aef8(0x20a)&&_0x2ca5a2&&_0x2ca5a2['indexOf'](_0x322585[_0x29aef8(0x1ce)]['id'])>-0x1?E(E({},_0x322585),{'attrs':E(E({},_0x322585[_0x29aef8(0x1ce)]),{'id':_0x322585[_0x29aef8(0x1ce)]['id']+_0x16af2a['idSuffix']})}):_0x322585;})}):_0x19048e;}function Ut(){const _0x1a3800=_0x3d714e;return Math[_0x1a3800(0x285)]()[_0x1a3800(0x232)](0x24)[_0x1a3800(0x32a)](0x2,0x8);}be[_0x3d714e(0x26f)]=_0x3d714e(0x235);var Nt={'tag':_0x3d714e(0x121),'attrs':{'fill':_0x3d714e(0xdb),'viewBox':'0\x200\x2016\x2016','width':_0x3d714e(0x2f8),'height':_0x3d714e(0x2f8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3d714e(0x2f2),'attrs':{'stroke':_0x3d714e(0x2e1),'d':_0x3d714e(0x193),'strokeLinecap':_0x3d714e(0x18a),'strokeLinejoin':_0x3d714e(0x18a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3d714e(0x163),'attrs':{'id':_0x3d714e(0x12a)},'children':[{'tag':_0x3d714e(0x2f2),'attrs':{'fill':_0x3d714e(0x20b),'d':_0x3d714e(0x1ab)}}]}]}],'defIds':[_0x3d714e(0x12a)]},$e=M[_0x3d714e(0xd5)](function(_0x355a47,_0x21935f){const _0x26d358=_0x3d714e;return M[_0x26d358(0x32c)](be,Object['assign']({},_0x355a47,{'id':_0x26d358(0xe6),'ref':_0x21935f,'icon':Nt}));});$e[_0x3d714e(0x26f)]='OffLineSingle';var Mt={'tag':_0x3d714e(0x121),'attrs':{'fill':_0x3d714e(0xdb),'viewBox':'0\x200\x2017\x2016','width':_0x3d714e(0x2f8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3d714e(0x268)},'children':[{'tag':_0x3d714e(0x2f2),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3d714e(0x18a),'strokeLinejoin':_0x3d714e(0x18a),'strokeWidth':1.2}}]},{'tag':_0x3d714e(0x1fe),'attrs':{},'children':[{'tag':_0x3d714e(0x163),'attrs':{'id':_0x3d714e(0x286)},'children':[{'tag':_0x3d714e(0x2f2),'attrs':{'fill':_0x3d714e(0x20b),'d':_0x3d714e(0x1ab),'transform':_0x3d714e(0xc8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=M[_0x3d714e(0xd5)](function(_0x3ec8f9,_0x4f9a3c){const _0x469703=_0x3d714e;return M['createElement'](be,Object[_0x469703(0x22b)]({},_0x3ec8f9,{'id':_0x469703(0x210),'ref':_0x4f9a3c,'icon':Mt}));});xe['displayName']=_0x3d714e(0x32f);const Pt=_0x3d714e(0x2de),wt=_0x3d714e(0x2cf),Lt=_0x3d714e(0x2be),At='univer-online',yt=_0x3d714e(0x100),H={'onlineStatusIcon':Pt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':At,'offline':yt};function $t(_0x13112a){const _0x5d8ac4=_0x3d714e;switch(_0x13112a){case u[_0x5d8ac4(0x2a9)]['OFFLINE']:return'collabStatus.offline';case u['CollaborationStatus'][_0x5d8ac4(0x20f)]:return _0x5d8ac4(0x29c);case u[_0x5d8ac4(0x2a9)][_0x5d8ac4(0x1b9)]:return'collabStatus.fetchMiss';case u[_0x5d8ac4(0x2a9)][_0x5d8ac4(0x2a4)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x5d8ac4(0x317)]:case u[_0x5d8ac4(0x2a9)][_0x5d8ac4(0x349)]:return'collabStatus.syncing';case u[_0x5d8ac4(0x2a9)][_0x5d8ac4(0xd3)]:case u['CollaborationStatus'][_0x5d8ac4(0xd4)]:return _0x5d8ac4(0x1aa);}}function je(_0x41042f){const _0xda3d08=_0x3d714e,{status$:_0x5d3deb}=_0x41042f,_0x29ff4c=R['useObservable'](_0x5d3deb,u[_0xda3d08(0x2a9)][_0xda3d08(0x2a4)]),_0x53dcd9=R[_0xda3d08(0xcd)](a[_0xda3d08(0x29b)]),_0x7ebb63=R['useDependency'](u[_0xda3d08(0x179)]),_0x5b654c=_0x29ff4c!==u[_0xda3d08(0x2a9)][_0xda3d08(0x117)],_0x3fa113=_0x53dcd9['t']($t(_0x29ff4c)),_0xa46ab=T[_0xda3d08(0x1f0)](H[_0xda3d08(0x14a)],{[H[_0xda3d08(0x259)]]:_0x5b654c,[H['offline']]:!_0x5b654c}),_0x78740c=_0x5b654c?w[_0xda3d08(0xfa)](xe,{}):w[_0xda3d08(0xfa)]($e,{}),_0x3ab3f6=M[_0xda3d08(0x1e0)](()=>{const _0x45024c=_0xda3d08;_0x5b654c||_0x7ebb63[_0x45024c(0x1cb)]();},[_0x5b654c,_0x7ebb63]);function _0x1ac04b(){const _0xec60c9=_0xda3d08;return w[_0xec60c9(0x1c1)](_0xec60c9(0x318),{'className':T[_0xec60c9(0x1f0)](_0xa46ab,_0xec60c9(0x333)),'onClick':_0x3ab3f6,'children':[w[_0xec60c9(0xfa)]('div',{'className':H[_0xec60c9(0x1b5)],'children':_0x78740c}),w[_0xec60c9(0xfa)](_0xec60c9(0x318),{'className':H[_0xec60c9(0x105)],'children':_0x3fa113})]});}return _0x5b654c?_0x1ac04b():w[_0xda3d08(0xfa)](T[_0xda3d08(0x342)],{'title':_0x53dcd9['t'](_0xda3d08(0x26a)),'children':_0x1ac04b()});}var xt=Object[_0x3d714e(0x294)],jt=(_0x3d4894,_0x4e3498,_0x1474b2,_0x15a875)=>{const _0x585d97=_0x3d714e;for(var _0x299d3c=_0x15a875>0x1?void 0x0:_0x15a875?xt(_0x4e3498,_0x1474b2):_0x4e3498,_0x1488e6=_0x3d4894[_0x585d97(0x2f1)]-0x1,_0x3772db;_0x1488e6>=0x0;_0x1488e6--)(_0x3772db=_0x3d4894[_0x1488e6])&&(_0x299d3c=_0x3772db(_0x299d3c)||_0x299d3c);return _0x299d3c;},X=(_0x23abf3,_0xade507)=>(_0x1bdbba,_0x4797de)=>_0xade507(_0x1bdbba,_0x4797de,_0x23abf3);exports[_0x3d714e(0x106)]=class extends a[_0x3d714e(0x321)]{constructor(_0x1c3196,_0x298667,_0x1b3b1b,_0x463b19){const _0x281ae4=_0x3d714e;super(),h(this,'_status$',new d['BehaviorSubject'](u['CollaborationStatus'][_0x281ae4(0x2a4)])),(this[_0x281ae4(0x23c)]=_0x1c3196,this['_injector']=_0x298667,this['_collaborationController']=_0x1b3b1b,this[_0x281ae4(0x174)]=_0x463b19,this[_0x281ae4(0x124)](),this[_0x281ae4(0x114)]());}[_0x3d714e(0x114)](){const _0x518753=_0x3d714e;this[_0x518753(0x1de)](this[_0x518753(0x23c)]['focused$'][_0x518753(0x30a)](d[_0x518753(0x298)](()=>{const _0x5cf7e9=_0x518753,_0x1f7956=this[_0x5cf7e9(0x23c)][_0x5cf7e9(0x2d2)]();return _0x1f7956?this[_0x5cf7e9(0x347)]['getCollabEntity$'](_0x1f7956[_0x5cf7e9(0x180)]()):d['of'](null);}),d['switchMap'](_0x2b1856=>_0x2b1856?_0x2b1856[_0x518753(0x133)]:d['of'](u[_0x518753(0x2a9)]['NOT_COLLAB'])))[_0x518753(0x1ad)](_0xed84e0=>{const _0x2888f0=_0x518753;this['_status$'][_0x2888f0(0x2f0)](_0xed84e0);}));}[_0x3d714e(0x124)](){const _0x11c1a8=_0x3d714e;this[_0x11c1a8(0x1de)](this[_0x11c1a8(0x174)][_0x11c1a8(0x312)](R['BuiltInUIPart'][_0x11c1a8(0x308)],()=>R[_0x11c1a8(0x315)](kt({'status$':this[_0x11c1a8(0x225)][_0x11c1a8(0x15e)]()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=jt([X(0x0,a[_0x3d714e(0x27e)]),X(0x1,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x2d7)])),X(0x2,a['Inject'](u['CollaborationController'])),X(0x3,R['IUIPartsService'])],exports[_0x3d714e(0x106)]);function kt(_0x2c5100){const {status$:_0x3ab99d}=_0x2c5100;return function(){const _0x404bf6=_0x2f33;return w[_0x404bf6(0xfa)](je,{'status$':_0x3ab99d});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0xc19176,_0x230885,_0x6e81e2,_0x292a42)=>{const _0x2fe66b=_0x3d714e;for(var _0x327d9c=_0x292a42>0x1?void 0x0:_0x292a42?Bt(_0x230885,_0x6e81e2):_0x230885,_0xb52d9d=_0xc19176[_0x2fe66b(0x2f1)]-0x1,_0x2d2578;_0xb52d9d>=0x0;_0xb52d9d--)(_0x2d2578=_0xc19176[_0xb52d9d])&&(_0x327d9c=_0x2d2578(_0x327d9c)||_0x327d9c);return _0x327d9c;},y=(_0xe31c6c,_0x147339)=>(_0x453fdc,_0x33cccc)=>_0x147339(_0x453fdc,_0x33cccc,_0xe31c6c);let z=class extends a[_0x3d714e(0x321)]{constructor(_0x5c1832,_0x4a72e1,_0x4cb238,_0x3fa760,_0x15edaf,_0x4b06d1){const _0x5a745d=_0x3d714e;super(),this[_0x5a745d(0x144)]=_0x5c1832,this[_0x5a745d(0x22e)]=_0x4a72e1,this[_0x5a745d(0x222)]=_0x4cb238,this[_0x5a745d(0x110)]=_0x3fa760,this['_notificationService']=_0x15edaf,this[_0x5a745d(0x247)]=_0x4b06d1,this['_setupBeforeClosingHandler'](),this[_0x5a745d(0x15c)]();}[_0x3d714e(0x2af)](){const _0x1a2430=_0x3d714e;this['disposeWithMe'](this['_beforeCloseService'][_0x1a2430(0x128)](()=>{const _0x4cfdfb=_0x1a2430;if(this[_0x4cfdfb(0x22e)][_0x4cfdfb(0x297)][_0x4cfdfb(0xf4)])return this['_localeService']['t'](_0x4cfdfb(0x190));}));}[_0x3d714e(0x15c)](){const _0x3bc4b7=_0x3d714e;this['disposeWithMe'](this[_0x3bc4b7(0x222)][_0x3bc4b7(0x324)][_0x3bc4b7(0x1ad)](_0x5a2217=>{const _0x36fa1e=_0x3bc4b7;_0x5a2217['id']===u[_0x36fa1e(0x139)][_0x36fa1e(0x2f6)]&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T['MessageType'][_0x36fa1e(0x1ae)],'content':this['_localeService']['t'](_0x36fa1e(0x1f6))}),_0x5a2217['id']===u[_0x36fa1e(0x139)][_0x36fa1e(0x271)]&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T['MessageType']['Warning'],'content':this[_0x36fa1e(0x247)]['t'](_0x36fa1e(0x18d))}),_0x5a2217['id']===u[_0x36fa1e(0x139)]['PERMISSION_DENIED']&&this[_0x36fa1e(0xf7)][_0x36fa1e(0x30c)]({'title':this[_0x36fa1e(0x247)]['t'](_0x36fa1e(0x157)),'content':this['_localeService']['t'](_0x36fa1e(0x33b)),'type':_0x36fa1e(0x21e),'duration':0x0}),_0x5a2217['id']===u[_0x36fa1e(0x139)][_0x36fa1e(0x20f)]&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T[_0x36fa1e(0x20e)][_0x36fa1e(0x26e)],'content':this[_0x36fa1e(0x247)]['t'](_0x36fa1e(0x18d))+'('+_0x5a2217[_0x36fa1e(0x28b)]+')'}),_0x5a2217['id']===u[_0x36fa1e(0x139)][_0x36fa1e(0x306)]&&this['_messageService'][_0x36fa1e(0x30c)]({'type':T['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5a2217['data']||'')}),_0x5a2217['id']===u[_0x36fa1e(0x139)]['SOCKET_FAILED_RETRY']&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T[_0x36fa1e(0x20e)][_0x36fa1e(0x1ae)],'content':this[_0x36fa1e(0x247)]['t']('session.will-retry')}),_0x5a2217['id']===u['CollaborationUIEventId'][_0x36fa1e(0x1d7)]&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T['MessageType'][_0x36fa1e(0x26e)],'content':this[_0x36fa1e(0x247)]['t'](_0x36fa1e(0x165))}),_0x5a2217['id']===u['CollaborationUIEventId'][_0x36fa1e(0x1a3)]&&this[_0x36fa1e(0x110)][_0x36fa1e(0x30c)]({'type':T[_0x36fa1e(0x20e)][_0x36fa1e(0x26e)],'content':this[_0x36fa1e(0x247)]['t'](_0x36fa1e(0x17c))});}));}};z=Ht([y(0x0,R[_0x3d714e(0x337)]),y(0x1,u[_0x3d714e(0x299)]),y(0x2,a[_0x3d714e(0x1eb)](u[_0x3d714e(0x199)])),y(0x3,R[_0x3d714e(0x30e)]),y(0x4,R['INotificationService']),y(0x5,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x29b)]))],z);const Ft=_0x3d714e(0x2ff),Ne={},Ee=a[_0x3d714e(0x24c)]('uni.network.url-service');var Wt=Object[_0x3d714e(0x294)],Yt=(_0xd5ffec,_0xb45c7d,_0x565274,_0x2cf4ba)=>{const _0x4b865f=_0x3d714e;for(var _0x2209b1=_0x2cf4ba>0x1?void 0x0:_0x2cf4ba?Wt(_0xb45c7d,_0x565274):_0xb45c7d,_0x118b94=_0xd5ffec[_0x4b865f(0x2f1)]-0x1,_0x351805;_0x118b94>=0x0;_0x118b94--)(_0x351805=_0xd5ffec[_0x118b94])&&(_0x2209b1=_0x351805(_0x2209b1)||_0x2209b1);return _0x2209b1;},F=(_0x53fd87,_0x198a88)=>(_0x4409ea,_0x324015)=>_0x198a88(_0x4409ea,_0x324015,_0x53fd87);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0x5f2755,_0x5d354f,_0x5851ba,_0x5c563d,_0x49dd63){const _0x2a60b8=_0x3d714e;super(),this['_urlService']=_0x5f2755,this[_0x2a60b8(0xe9)]=_0x5d354f,this[_0x2a60b8(0x1ee)]=_0x5851ba,this['_dataLoaderService']=_0x5c563d,_0x49dd63?_0x49dd63==null||_0x49dd63['whenReady']()[_0x2a60b8(0xed)](()=>this[_0x2a60b8(0x149)]()):(this['_logService']['debug'](_0x2a60b8(0x242),_0x2a60b8(0x1f2)),this['_init']());}async[_0x3d714e(0x149)](){const _0x42ed81=_0x3d714e,_0x3eee5e=this['_urlService'][_0x42ed81(0x101)](_0x42ed81(0x2e5)),_0x1eb615=this[_0x42ed81(0x2e4)]['getParam']('type'),_0x76b29b=this[_0x42ed81(0x2e4)][_0x42ed81(0x101)](_0x42ed81(0x11f));if(!_0x3eee5e||!_0x1eb615){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x42ed81(0x1e3));return;}const _0x57ec1a=await this[_0x42ed81(0xd0)][_0x42ed81(0x277)](_0x3eee5e,Number(_0x1eb615),_0x76b29b);_0x57ec1a&&_0x57ec1a instanceof a[_0x42ed81(0x233)]&&this[_0x42ed81(0x1af)](_0x57ec1a);}async[_0x3d714e(0x1af)](_0x557a32){const _0x6c1ed5=_0x3d714e;await this[_0x6c1ed5(0x24f)](_0x557a32),_0x557a32['activeSheet$'][_0x6c1ed5(0x30a)](d[_0x6c1ed5(0x143)](this[_0x6c1ed5(0xeb)]))[_0x6c1ed5(0x1ad)](_0x3e0973=>{const _0x338fc9=_0x6c1ed5;_0x3e0973&&this[_0x338fc9(0x30b)](_0x3e0973);}),this[_0x6c1ed5(0x2e4)][_0x6c1ed5(0xde)]['pipe'](d[_0x6c1ed5(0x143)](this[_0x6c1ed5(0xeb)]))[_0x6c1ed5(0x1ad)](()=>this[_0x6c1ed5(0x24f)](_0x557a32));}[_0x3d714e(0x30b)](_0x2ae760,_0x117c23=!0x1){const _0x38bd5b=_0x3d714e,_0x22cb96=this[_0x38bd5b(0x2e4)][_0x38bd5b(0x101)](_0x38bd5b(0x11f));_0x2ae760[_0x38bd5b(0x301)]()!==_0x22cb96&&this[_0x38bd5b(0x2e4)][_0x38bd5b(0x184)](_0x38bd5b(0x11f),_0x2ae760['getSheetId'](),_0x117c23);}async[_0x3d714e(0x24f)](_0x28e1f9){const _0x31881c=_0x3d714e;var _0x4ab86c;const _0x362b4a=this[_0x31881c(0x2e4)][_0x31881c(0x101)](_0x31881c(0x11f));if(!_0x362b4a||!_0x28e1f9[_0x31881c(0x2a5)](_0x362b4a)){const _0x45411b=_0x28e1f9[_0x31881c(0x22d)]()[0x0],_0x4efe0a=_0x28e1f9[_0x31881c(0x2a5)](_0x45411b);if(!_0x4efe0a)return;this[_0x31881c(0x30b)](_0x4efe0a,!0x0),await this[_0x31881c(0x1ee)][_0x31881c(0x302)](g[_0x31881c(0x282)]['id'],{'unitId':_0x28e1f9[_0x31881c(0x180)](),'subUnitId':_0x45411b});return;}((_0x4ab86c=_0x28e1f9[_0x31881c(0x330)]())==null?void 0x0:_0x4ab86c[_0x31881c(0x301)]())!==_0x362b4a&&await this[_0x31881c(0x1ee)]['executeCommand'](g[_0x31881c(0x282)]['id'],{'unitId':_0x28e1f9[_0x31881c(0x180)](),'subUnitId':_0x362b4a});}},exports[_0x3d714e(0x2e0)]=Yt([F(0x0,Ee),F(0x1,a[_0x3d714e(0x178)]),F(0x2,a['ICommandService']),F(0x3,a[_0x3d714e(0x1eb)](u[_0x3d714e(0x2e3)])),F(0x4,a['Optional'](Ke[_0x3d714e(0x2b1)]))],exports[_0x3d714e(0x2e0)]);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x2c083a,_0x179005,_0x3a86b4,_0x527d73)=>{const _0x100918=_0x3d714e;for(var _0x7f90a=_0x527d73>0x1?void 0x0:_0x527d73?Vt(_0x179005,_0x3a86b4):_0x179005,_0x3d0bb6=_0x2c083a[_0x100918(0x2f1)]-0x1,_0x1ee588;_0x3d0bb6>=0x0;_0x3d0bb6--)(_0x1ee588=_0x2c083a[_0x3d0bb6])&&(_0x7f90a=_0x1ee588(_0x7f90a)||_0x7f90a);return _0x7f90a;},le=(_0x27c7bd,_0x4f4d93)=>(_0x491902,_0x288045)=>_0x4f4d93(_0x491902,_0x288045,_0x27c7bd);let J=class{constructor(_0x4d5aed,_0x3b03fe,_0x47cbe8){const _0x41e307=_0x3d714e;this[_0x41e307(0x279)]=_0x4d5aed,this[_0x41e307(0x2fa)]=_0x3b03fe,this[_0x41e307(0x1dc)]=_0x47cbe8;}[_0x3d714e(0x1a1)](_0x1ba9ea){const _0x30862c=_0x3d714e;this[_0x30862c(0x2a0)](_0x1ba9ea),this[_0x30862c(0x291)](_0x1ba9ea);}[_0x3d714e(0x250)](_0xd341e){const _0x3ccef8=_0x3d714e,{unitID:_0x471568}=_0xd341e,_0x22f4cc=this['_renderManagerService'][_0x3ccef8(0x25e)](_0x471568)[_0x3ccef8(0x182)](b[_0x3ccef8(0x167)]),{redoCache:_0x45f436}=_0x22f4cc[_0x3ccef8(0x2ae)]();if(_0x45f436[_0x3ccef8(0x2f1)]===0x0)return _0xd341e;let _0x20bb0b=a[_0x3ccef8(0x267)][_0x3ccef8(0xc3)](_0xd341e[_0x3ccef8(0x188)][0x0]);for(let _0x57a323=0x0;_0x57a323<_0x45f436['length'];_0x57a323++){const _0xb5cecc={'id':_0x3ccef8(0x1c8),'params':{..._0x45f436[_0x57a323]}},_0x50ad5a=this[_0x3ccef8(0x2fa)][_0x3ccef8(0x1d6)](_0x20bb0b,_0xb5cecc,!0x1);if(m[_0x3ccef8(0x183)](_0x50ad5a))throw _0x50ad5a[_0x3ccef8(0x21e)];_0x20bb0b=_0x50ad5a[_0x3ccef8(0xc6)];}return{...a['Tools'][_0x3ccef8(0xc3)](_0xd341e),'mutations':[_0x20bb0b]};}[_0x3d714e(0x2a0)](_0x3290c6){const _0xd212e9=_0x3d714e,{unitID:_0xc7e671}=_0x3290c6,_0x1f39e8=this[_0xd212e9(0x1dc)][_0xd212e9(0x25e)](_0xc7e671)['with'](b['DocIMEInputManagerService']),{undoCache:_0x3c4981,redoCache:_0x16e582}=_0x1f39e8['getUndoRedoMutationParamsCache']();if(_0x3c4981[_0xd212e9(0x2f1)]===0x0||_0x16e582['length']===0x0)return;const _0x260eec=[],_0x148bd6=[];let _0x143d8b=a[_0xd212e9(0x267)][_0xd212e9(0xc3)](_0x3290c6['mutations'][0x0]),_0x12940d=a[_0xd212e9(0x267)][_0xd212e9(0xc3)](_0x3290c6['mutations'][0x0]);for(let _0x3fa526=_0x3c4981['length']-0x1;_0x3fa526>=0x0;_0x3fa526--){const _0x363b05={'id':_0xd212e9(0x1c8),'params':{..._0x3c4981[_0x3fa526]}},_0x467f88={'id':_0xd212e9(0x1c8),'params':{..._0x16e582[_0x3fa526]}},_0x546ccd=this['_transformService']['transformMutation'](_0x143d8b,_0x363b05,!0x1),_0x593a4d=this[_0xd212e9(0x2fa)][_0xd212e9(0x1d6)](_0x12940d,_0x467f88,!0x1);if(m['isTransformMutationFailure'](_0x546ccd))throw _0x546ccd['error'];if(m[_0xd212e9(0x183)](_0x593a4d))throw _0x593a4d[_0xd212e9(0x21e)];_0x260eec['unshift'](_0x546ccd['m2Prime']['params']),_0x148bd6['unshift'](_0x593a4d[_0xd212e9(0x1b4)]['params']),_0x143d8b=_0x546ccd[_0xd212e9(0xc6)],_0x12940d=_0x593a4d[_0xd212e9(0xc6)];}_0x1f39e8['setUndoRedoMutationParamsCache']({'undoCache':_0x260eec,'redoCache':_0x148bd6});}[_0x3d714e(0x291)](_0x3c0a60){const _0x420bbe=_0x3d714e,{unitID:_0xc0e210}=_0x3c0a60,_0x3c7e85=this[_0x420bbe(0x1dc)]['getRenderById'](_0xc0e210)[_0x420bbe(0x182)](b[_0x420bbe(0x167)]),_0x58a53f=_0x3c7e85[_0x420bbe(0x2c1)]();if(_0x58a53f==null)return;const _0x1ff891=[{'id':_0x420bbe(0x1c8),'params':{'unitId':_0x3c0a60['unitID'],'actions':null,'textRanges':[_0x58a53f]}}],_0x4fa2db=this[_0x420bbe(0x2fa)][_0x420bbe(0x150)](_0x3c0a60,_0x1ff891);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4fa2db))throw _0x4fa2db[_0x420bbe(0x21e)];const _0x2acecd=_0x4fa2db[_0x420bbe(0x1b4)][0x0]['params'][_0x420bbe(0x209)];Array[_0x420bbe(0x314)](_0x2acecd)&&_0x2acecd[_0x420bbe(0x2f1)]&&_0x3c7e85[_0x420bbe(0x2cc)](_0x2acecd[0x0]);}};J=Xt([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x3d714e(0x103)]),le(0x2,p[_0x3d714e(0x19b)])],J);var Gt=Object[_0x3d714e(0x294)],qt=(_0x3b2c67,_0x106b14,_0x5c27b5,_0x1af472)=>{const _0x5660f1=_0x3d714e;for(var _0x53e3dc=_0x1af472>0x1?void 0x0:_0x1af472?Gt(_0x106b14,_0x5c27b5):_0x106b14,_0x3f1b94=_0x3b2c67[_0x5660f1(0x2f1)]-0x1,_0x81036e;_0x3f1b94>=0x0;_0x3f1b94--)(_0x81036e=_0x3b2c67[_0x3f1b94])&&(_0x53e3dc=_0x81036e(_0x53e3dc)||_0x53e3dc);return _0x53e3dc;},he=(_0x22e050,_0x5700cb)=>(_0xea6641,_0x26e82e)=>_0x5700cb(_0xea6641,_0x26e82e,_0x22e050);let Z=class{constructor(_0x3aa443,_0x384124,_0x345e47){const _0x4830db=_0x3d714e;this[_0x4830db(0x279)]=_0x3aa443,this[_0x4830db(0x2fa)]=_0x384124,this[_0x4830db(0x263)]=_0x345e47;}['transformStateCache'](_0x2ca0c2){const _0x503309=_0x3d714e;this[_0x503309(0x305)](_0x2ca0c2);}[_0x3d714e(0x250)](_0xb5c1d4){const _0x5ae74d=_0x3d714e,{unitID:_0x2d9f44}=_0xb5c1d4,{collaboration:_0x1c580c}=this[_0x5ae74d(0x263)][_0x5ae74d(0x2dc)](_0x2d9f44);if(_0x1c580c[_0x5ae74d(0x2f1)]===0x0)return _0xb5c1d4;let _0x2e3845=a[_0x5ae74d(0x267)][_0x5ae74d(0xc3)](_0xb5c1d4[_0x5ae74d(0x188)][0x0]);for(let _0x3f6f30=0x0;_0x3f6f30<_0x1c580c[_0x5ae74d(0x2f1)];_0x3f6f30++){const _0x2c85da={'id':_0x5ae74d(0x1c8),'params':{'unitId':_0x1c580c[_0x3f6f30][_0x5ae74d(0x28c)],..._0x1c580c[_0x3f6f30]['redoState']}},_0x2511da=this['_transformService']['transformMutation'](_0x2e3845,_0x2c85da,!0x1);if(m[_0x5ae74d(0x183)](_0x2511da))throw _0x2511da[_0x5ae74d(0x21e)];_0x2e3845=_0x2511da[_0x5ae74d(0xc6)];}return{...a[_0x5ae74d(0x267)][_0x5ae74d(0xc3)](_0xb5c1d4),'mutations':[_0x2e3845]};}['_transformHistoryAndStateStack'](_0x2e9ba3){const _0x2c9ce4=_0x3d714e,{unitID:_0x52c3e4}=_0x2e9ba3,{history:_0x3697de,collaboration:_0x5390fc}=this[_0x2c9ce4(0x263)][_0x2c9ce4(0x2dc)](_0x52c3e4);if(_0x3697de[_0x2c9ce4(0x2f1)]===0x0&&_0x5390fc[_0x2c9ce4(0x2f1)]===0x0)return;const _0x55f0a7=[],_0x147670=[];let _0x2c0069=a['Tools'][_0x2c9ce4(0xc3)](_0x2e9ba3[_0x2c9ce4(0x188)][0x0]),_0x4fafb7=a[_0x2c9ce4(0x267)][_0x2c9ce4(0xc3)](_0x2e9ba3[_0x2c9ce4(0x188)][0x0]);for(let _0x3a62dd=_0x3697de['length']-0x1;_0x3a62dd>=0x0;_0x3a62dd--){const _0x55b087={'id':_0x2c9ce4(0x1c8),'params':{'unitId':_0x3697de[_0x3a62dd][_0x2c9ce4(0x28c)],..._0x3697de[_0x3a62dd][_0x2c9ce4(0x255)]}},_0x367d04={'id':_0x2c9ce4(0x1c8),'params':{'unitId':_0x3697de[_0x3a62dd][_0x2c9ce4(0x28c)],..._0x3697de[_0x3a62dd][_0x2c9ce4(0x236)]}},_0x3aa70b=this['_transformService'][_0x2c9ce4(0x1d6)](_0x2c0069,_0x55b087,!0x1),_0x12abbc=this[_0x2c9ce4(0x2fa)][_0x2c9ce4(0x1d6)](_0x4fafb7,_0x367d04,!0x1);if(m[_0x2c9ce4(0x183)](_0x3aa70b))throw _0x3aa70b[_0x2c9ce4(0x21e)];if(m['isTransformMutationFailure'](_0x12abbc))throw _0x12abbc['error'];_0x55f0a7[_0x2c9ce4(0x309)]({..._0x3697de[_0x3a62dd],'undoState':_0x3aa70b[_0x2c9ce4(0x1b4)][_0x2c9ce4(0x2bf)],'redoState':_0x12abbc['m2Prime'][_0x2c9ce4(0x2bf)]}),_0x2c0069=_0x3aa70b[_0x2c9ce4(0xc6)],_0x4fafb7=_0x12abbc[_0x2c9ce4(0xc6)];}_0x2c0069=a['Tools'][_0x2c9ce4(0xc3)](_0x2e9ba3['mutations'][0x0]),_0x4fafb7=a['Tools']['deepClone'](_0x2e9ba3[_0x2c9ce4(0x188)][0x0]);for(let _0x2ebdf8=_0x5390fc[_0x2c9ce4(0x2f1)]-0x1;_0x2ebdf8>=0x0;_0x2ebdf8--){const _0x48e2dc={'id':_0x2c9ce4(0x1c8),'params':{'unitId':_0x5390fc[_0x2ebdf8][_0x2c9ce4(0x28c)],..._0x5390fc[_0x2ebdf8][_0x2c9ce4(0x255)]}},_0x559eb5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5390fc[_0x2ebdf8]['unitId'],..._0x5390fc[_0x2ebdf8][_0x2c9ce4(0x236)]}},_0x3122b7=this[_0x2c9ce4(0x2fa)]['transformMutation'](_0x2c0069,_0x48e2dc,!0x1),_0x55e6c8=this[_0x2c9ce4(0x2fa)][_0x2c9ce4(0x1d6)](_0x4fafb7,_0x559eb5,!0x1);if(m[_0x2c9ce4(0x183)](_0x3122b7))throw _0x3122b7['error'];if(m[_0x2c9ce4(0x183)](_0x55e6c8))throw _0x55e6c8[_0x2c9ce4(0x21e)];_0x147670[_0x2c9ce4(0x309)]({..._0x5390fc[_0x2ebdf8],'undoState':_0x3122b7['m2Prime'][_0x2c9ce4(0x2bf)],'redoState':_0x55e6c8[_0x2c9ce4(0x1b4)][_0x2c9ce4(0x2bf)]}),_0x2c0069=_0x3122b7['m1Prime'],_0x4fafb7=_0x55e6c8[_0x2c9ce4(0xc6)];}this['_docStateChangeManagerService'][_0x2c9ce4(0x1be)](_0x52c3e4,{'history':_0x55f0a7,'collaboration':_0x147670});}};Z=qt([he(0x0,a[_0x3d714e(0x1eb)](a['Injector'])),he(0x1,m[_0x3d714e(0x103)]),he(0x2,a[_0x3d714e(0x1eb)](b[_0x3d714e(0xff)]))],Z);var Kt=Object[_0x3d714e(0x294)],zt=(_0x84bbc7,_0x1e0995,_0x30b2a0,_0x23781b)=>{const _0x2ec5b6=_0x3d714e;for(var _0x15e964=_0x23781b>0x1?void 0x0:_0x23781b?Kt(_0x1e0995,_0x30b2a0):_0x1e0995,_0x4b6001=_0x84bbc7[_0x2ec5b6(0x2f1)]-0x1,_0x2901fc;_0x4b6001>=0x0;_0x4b6001--)(_0x2901fc=_0x84bbc7[_0x4b6001])&&(_0x15e964=_0x2901fc(_0x15e964)||_0x15e964);return _0x15e964;},Me=(_0x58a2ea,_0x397406)=>(_0x475b7a,_0x22b36a)=>_0x397406(_0x475b7a,_0x22b36a,_0x58a2ea);let Q=class{constructor(_0x4bc59d,_0x5bf256){const _0x45d584=_0x3d714e;this[_0x45d584(0x279)]=_0x4bc59d,this['_transformService']=_0x5bf256;}[_0x3d714e(0xcb)](_0x43e26d){const _0x42664e=_0x3d714e;var _0x70baae;const _0x8bb655=this['_injector'][_0x42664e(0xfe)](Y['DocSelectionManagerService']),_0x36a1b5=(_0x70baae=_0x8bb655['getDocRanges']())!=null?_0x70baae:[];if(_0x36a1b5[_0x42664e(0x2f1)]===0x0)return;const _0x1cf028=_0x43e26d[_0x42664e(0x19c)],_0x33d1e7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cf028,'actions':null,'textRanges':_0x36a1b5}}],_0x54984f=this['_transformService'][_0x42664e(0x150)](_0x43e26d,_0x33d1e7);if(!m[_0x42664e(0x2c0)](_0x54984f))throw _0x54984f[_0x42664e(0x21e)];const _0x3dc09b=_0x54984f[_0x42664e(0x1b4)][0x0][_0x42664e(0x2bf)][_0x42664e(0x209)];Array[_0x42664e(0x314)](_0x3dc09b)&&_0x3dc09b[_0x42664e(0x2f1)]&&_0x8bb655[_0x42664e(0x168)](_0x3dc09b,{'unitId':_0x1cf028,'subUnitId':_0x1cf028},!0x1);}};Q=zt([Me(0x0,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x2d7)])),Me(0x1,m[_0x3d714e(0x103)])],Q);var Jt=Object[_0x3d714e(0x294)],Zt=(_0x341845,_0x2ab4b8,_0x3c4b52,_0x668e1f)=>{for(var _0x20ab31=_0x668e1f>0x1?void 0x0:_0x668e1f?Jt(_0x2ab4b8,_0x3c4b52):_0x2ab4b8,_0x474274=_0x341845['length']-0x1,_0x150003;_0x474274>=0x0;_0x474274--)(_0x150003=_0x341845[_0x474274])&&(_0x20ab31=_0x150003(_0x20ab31)||_0x20ab31);return _0x20ab31;},N=(_0xa3c392,_0x1e63b0)=>(_0x27d555,_0x483601)=>_0x1e63b0(_0x27d555,_0x483601,_0xa3c392);let ee=class extends a['Disposable']{constructor(_0x43c4d2,_0x587e72,_0x101663,_0x35852a,_0x2b0d45,_0x4ada80,_0x127ed1,_0x4f0a86){const _0x30258a=_0x3d714e;super(),h(this,_0x30258a(0x225),new d[(_0x30258a(0x153))](u[_0x30258a(0x2a9)]['NOT_COLLAB'])),(this[_0x30258a(0x263)]=_0x43c4d2,this[_0x30258a(0x347)]=_0x587e72,this[_0x30258a(0x34a)]=_0x101663,this[_0x30258a(0x17f)]=_0x35852a,this[_0x30258a(0x323)]=_0x2b0d45,this[_0x30258a(0x2ba)]=_0x4ada80,this[_0x30258a(0x110)]=_0x127ed1,this['_localeService']=_0x4f0a86,this[_0x30258a(0xda)]());}[_0x3d714e(0xda)](){const _0x20fb34=_0x3d714e;this[_0x20fb34(0x1de)](this[_0x20fb34(0x347)][_0x20fb34(0x257)]['subscribe'](_0x38a327=>{const _0x327486=_0x20fb34,_0x1efdd3=this[_0x327486(0x263)]['docStateChange$'][_0x327486(0x1ad)](_0x10a597=>{const _0xbdfd25=_0x327486;if(_0x10a597==null)return;const {unitId:_0xebb4df,redoState:_0x42b623,commandId:_0x296e92}=_0x10a597;if(_0xebb4df!==_0x38a327[_0xbdfd25(0x19c)])return;const _0xa579e4={'id':_0x296e92,'type':a[_0xbdfd25(0x11b)][_0xbdfd25(0x1e5)],'params':{'unitId':_0xebb4df,'actions':_0x42b623['actions'],'textRanges':null}};_0x38a327['onLocalMutation'](_0xa579e4);});if(_0x38a327[_0x327486(0x1de)](_0x1efdd3),_0x38a327 instanceof u[_0x327486(0xfd)]){const _0x5e757d={'onTransformIME':_0x5ae300=>this['_docTransformIMECacheService'][_0x327486(0x1a1)](_0x5ae300),'onTransformState':_0xa7daca=>this['_docTransformStateCacheService'][_0x327486(0x2c8)](_0xa7daca),'onTransformSelections':_0x5958f9=>this['_docTransformSelectionsService']['transformSelections'](_0x5958f9),'onSyncEditingCollabCursor':_0x593f87=>this['_docSyncEditingCollabCursorService'][_0x327486(0x244)](_0x593f87),'onTransformRemoteChangesetByIMECache':_0x36a180=>this['_docTransformIMECacheService'][_0x327486(0x250)](_0x36a180),'onTransformRemoteChangesetByStateCache':_0x304588=>this[_0x327486(0x17f)][_0x327486(0x250)](_0x304588)};_0x38a327['addHandlerCallback'](_0x5e757d);}}));}};ee=Zt([N(0x0,a[_0x3d714e(0x1eb)](b[_0x3d714e(0xff)])),N(0x1,a[_0x3d714e(0x1eb)](u[_0x3d714e(0x161)])),N(0x2,a[_0x3d714e(0x1eb)](J)),N(0x3,a[_0x3d714e(0x1eb)](Z)),N(0x4,a[_0x3d714e(0x1eb)](Q)),N(0x5,a[_0x3d714e(0x1eb)](pe)),N(0x6,R['IMessageService']),N(0x7,a[_0x3d714e(0x1eb)](a['LocaleService']))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x1c6107,_0x37d805,_0x52d781,_0x478e81)=>{for(var _0x3ca8bd=_0x478e81>0x1?void 0x0:_0x478e81?Qt(_0x37d805,_0x52d781):_0x37d805,_0x2e969b=_0x1c6107['length']-0x1,_0x4f8918;_0x2e969b>=0x0;_0x2e969b--)(_0x4f8918=_0x1c6107[_0x2e969b])&&(_0x3ca8bd=_0x4f8918(_0x3ca8bd)||_0x3ca8bd);return _0x3ca8bd;},_e=(_0x302407,_0x56b7b5)=>(_0xc4dcb9,_0x10f869)=>_0x56b7b5(_0xc4dcb9,_0x10f869,_0x302407);let me=class extends a[_0x3d714e(0x321)]{constructor(_0x13e4a4,_0x5e4e93,_0x28d2cf){const _0x3dea86=_0x3d714e;super(),h(this,_0x3dea86(0xd8),new Map()),h(this,_0x3dea86(0x1a9),new Map()),h(this,'_disabled',!0x1),(this[_0x3dea86(0x283)]=_0x13e4a4,this[_0x3dea86(0x1fc)]=_0x5e4e93,this[_0x3dea86(0x16a)]=_0x28d2cf);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3d714e(0x297)](){const _0x2d0090=_0x3d714e;return this[_0x2d0090(0x1a9)];}['dispose'](){const _0x3f61b2=_0x3d714e;this[_0x3f61b2(0x281)]()[_0x3f61b2(0xed)](()=>super[_0x3f61b2(0x237)]());}async['loadOfflineData'](_0x21c578){const _0x232e5d=_0x3d714e;return this['_disabled']?null:this[_0x232e5d(0x1fc)][_0x232e5d(0x325)](u[_0x232e5d(0x2ac)](_0x21c578));}async['saveOfflineData'](_0x528bce,_0x359fb1){const _0x16c6f8=_0x3d714e;return!!this['_localStorageService'][_0x16c6f8(0x2fd)](_0x528bce,_0x359fb1);}[_0x3d714e(0x22a)](_0x171830,_0x292ef4,_0x185752,_0x79899e){const _0x879b0=_0x3d714e,_0x56f173=this['_revisionService'][_0x879b0(0x216)](_0x171830);this[_0x879b0(0xd8)][_0x879b0(0x203)](_0x171830,{'unitID':_0x171830,'type':_0x292ef4,'awaitingChangeset':_0x185752,'mutations':_0x79899e,'rev':_0x56f173}),this[_0x879b0(0x1a9)][_0x879b0(0x310)](_0x171830)||this[_0x879b0(0x1a6)](_0x171830);}['_scheduleSaving'](_0x12aa0d){const _0x2076b4=_0x3d714e,_0x1eafa7=this['_getSaveTimeout']();_0x1eafa7===0x0?this[_0x2076b4(0x25d)](_0x12aa0d):this[_0x2076b4(0x1a9)][_0x2076b4(0x203)](_0x12aa0d,setTimeout(()=>this[_0x2076b4(0x25d)](_0x12aa0d),_0x1eafa7));}[_0x3d714e(0x11c)](){const _0x4a68ea=_0x3d714e;var _0x3accc3;return(_0x3accc3=this[_0x4a68ea(0x283)][_0x4a68ea(0x2b8)](u[_0x4a68ea(0x34d)]))!=null?_0x3accc3:u[_0x4a68ea(0x29d)];}[_0x3d714e(0x25d)](_0x3b8747){const _0x247586=_0x3d714e,_0x32dea9=this[_0x247586(0x1a9)][_0x247586(0xfe)](_0x3b8747);return _0x32dea9!==void 0x0&&window[_0x247586(0x227)](_0x32dea9),this['_localStorageService'][_0x247586(0x2fd)](u[_0x247586(0x2ac)](_0x3b8747),this['_cachedData'][_0x247586(0xfe)](_0x3b8747))[_0x247586(0xed)](()=>this[_0x247586(0x1a9)][_0x247586(0x147)](_0x3b8747));}async[_0x3d714e(0x281)](){const _0x222246=_0x3d714e,_0x1493a4=[];this[_0x222246(0x1a9)]['forEach']((_0x21272e,_0x417a48)=>{const _0x157906=_0x222246;window['clearTimeout'](_0x21272e),_0x1493a4[_0x157906(0xe8)](this['_saveCache'](_0x417a48)['then'](()=>{const _0x59dbd1=_0x157906;this[_0x59dbd1(0x1a9)][_0x59dbd1(0x147)](_0x417a48);}));}),await Promise[_0x222246(0x2c4)](_0x1493a4);}};me=es([_e(0x0,a[_0x3d714e(0x131)]),_e(0x1,a[_0x3d714e(0x2ea)]),_e(0x2,a[_0x3d714e(0x1eb)](m[_0x3d714e(0x155)]))],me);class ke extends a['RxDisposable']{constructor(){const _0x5cac68=_0x3d714e;super(),h(this,'urlChange$'),this[_0x5cac68(0xde)]=d[_0x5cac68(0x215)](window,'popstate')['pipe'](d['takeUntil'](this[_0x5cac68(0xeb)]),d[_0x5cac68(0x31f)](0x1),d[_0x5cac68(0x248)](void 0x0));}[_0x3d714e(0x184)](_0x238582,_0x3877db,_0x55dfe0=!0x1){const _0x3579b1=_0x3d714e,_0x57694b=new URL(window[_0x3579b1(0x11e)]['href']);_0x57694b[_0x3579b1(0x2d3)][_0x3579b1(0x203)](_0x238582,_0x3877db),_0x55dfe0?window['history'][_0x3579b1(0x252)]('','',_0x57694b[_0x3579b1(0x232)]()):window[_0x3579b1(0x107)][_0x3579b1(0x2b5)]('','',_0x57694b[_0x3579b1(0x232)]());}[_0x3d714e(0x1d2)](_0x57da3c,_0x40448c=!0x1){const _0x4541f2=_0x3d714e,_0xf3dbea=new URL(window['location']['href']);_0xf3dbea[_0x4541f2(0x2d3)]['delete'](_0x57da3c),_0x40448c?window[_0x4541f2(0x107)]['replaceState']('','',_0xf3dbea[_0x4541f2(0x232)]()):window['history']['pushState']('','',_0xf3dbea['toString']());}['getParam'](_0x577980){const _0x1c13cf=_0x3d714e;var _0x467230;return(_0x467230=new URL(window['location']['href'])[_0x1c13cf(0x2d3)][_0x1c13cf(0xfe)](_0x577980))!=null?_0x467230:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x3d714e(0x294)],ns=(_0x551c15,_0x2edaeb,_0x12a169)=>_0x2edaeb in _0x551c15?ts(_0x551c15,_0x2edaeb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a169}):_0x551c15[_0x2edaeb]=_0x12a169,is=(_0x20a01c,_0x1e567f,_0x2a885a,_0x340b16)=>{const _0x29aba4=_0x3d714e;for(var _0x11ff24=_0x340b16>0x1?void 0x0:_0x340b16?ss(_0x1e567f,_0x2a885a):_0x1e567f,_0x4d645a=_0x20a01c[_0x29aba4(0x2f1)]-0x1,_0x131710;_0x4d645a>=0x0;_0x4d645a--)(_0x131710=_0x20a01c[_0x4d645a])&&(_0x11ff24=_0x131710(_0x11ff24)||_0x11ff24);return _0x11ff24;},ue=(_0x347a33,_0xaeff71)=>(_0x265f5f,_0x159747)=>_0xaeff71(_0x265f5f,_0x159747,_0x347a33),rs=(_0x5f3158,_0x33977a,_0xe7dfac)=>ns(_0x5f3158,_0x33977a+'',_0xe7dfac);const os=_0x3d714e(0x15d);exports[_0x3d714e(0xf5)]=class extends a[_0x3d714e(0x336)]{constructor(_0x3cac8a=Ne,_0x110f3a,_0x365695,_0x19ceb6){const _0x1d25b1=_0x3d714e;super(),this[_0x1d25b1(0x140)]=_0x3cac8a,this['_renderManagerService']=_0x110f3a,this['_injector']=_0x365695,this[_0x1d25b1(0x283)]=_0x19ceb6;const {..._0xf09b37}=a[_0x1d25b1(0x228)]({},Ne,this[_0x1d25b1(0x140)]);this[_0x1d25b1(0x283)][_0x1d25b1(0x221)](Ft,_0xf09b37);}['onStarting'](){const _0x118d85=_0x3d714e;this[_0x118d85(0x162)](),this[_0x118d85(0x213)]();}[_0x3d714e(0x18f)](){this['_registerRenderDependencies']();}[_0x3d714e(0x162)](){const _0x18ccc1=_0x3d714e;var _0x3565be;const _0x55af61=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x18ccc1(0xf9)],{'useClass':q[_0x18ccc1(0x24e)]}],[u[_0x18ccc1(0x299)],{'useClass':me}],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[x],[fe],[exports[_0x18ccc1(0x2e0)]]];a[_0x18ccc1(0x27f)](this[_0x18ccc1(0x279)],a[_0x18ccc1(0x2d8)](_0x55af61,(_0x3565be=this[_0x18ccc1(0x140)])==null?void 0x0:_0x3565be[_0x18ccc1(0x1da)]));}[_0x3d714e(0x27a)](){const _0x33f447=_0x3d714e;this[_0x33f447(0x1de)](this[_0x33f447(0x1dc)][_0x33f447(0x26d)](a['UniverInstanceType']['UNIVER_DOC'],[ve])),this['disposeWithMe'](this[_0x33f447(0x1dc)][_0x33f447(0x26d)](a[_0x33f447(0x112)][_0x33f447(0xd7)],[ge]));}[_0x3d714e(0x213)](){const _0x15a886=_0x3d714e;a[_0x15a886(0x195)](this[_0x15a886(0x279)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x15a886(0x2e0)]]]);}},rs(exports[_0x3d714e(0xf5)],_0x3d714e(0x23e),os),exports[_0x3d714e(0xf5)]=is([a[_0x3d714e(0x332)](u[_0x3d714e(0x31a)]),ue(0x1,p[_0x3d714e(0x19b)]),ue(0x2,a[_0x3d714e(0x1eb)](a[_0x3d714e(0x2d7)])),ue(0x3,a[_0x3d714e(0x131)])],exports[_0x3d714e(0xf5)]);function _0x2f33(_0x392de3,_0x4e8fa3){const _0x4e6bfe=_0x4e6b();return _0x2f33=function(_0x2f338a,_0x596519){_0x2f338a=_0x2f338a-0xc3;let _0x1ae8a3=_0x4e6bfe[_0x2f338a];return _0x1ae8a3;},_0x2f33(_0x392de3,_0x4e8fa3);}var as=Object[_0x3d714e(0x294)],cs=(_0x1c7055,_0x500cb3,_0x211b99,_0x43383b)=>{const _0xce29ca=_0x3d714e;for(var _0xfa797b=_0x43383b>0x1?void 0x0:_0x43383b?as(_0x500cb3,_0x211b99):_0x500cb3,_0x2eb3d7=_0x1c7055[_0xce29ca(0x2f1)]-0x1,_0x1a268d;_0x2eb3d7>=0x0;_0x2eb3d7--)(_0x1a268d=_0x1c7055[_0x2eb3d7])&&(_0xfa797b=_0x1a268d(_0xfa797b)||_0xfa797b);return _0xfa797b;},W=(_0x4bfb69,_0x12bf0f)=>(_0x4080ca,_0x1bae8b)=>_0x12bf0f(_0x4080ca,_0x1bae8b,_0x4bfb69);exports[_0x3d714e(0x1b8)]=class extends u[_0x3d714e(0x169)]{constructor(_0x17b532,_0x2ccad5,_0x1ca0c2,_0x1358ec,_0x32dfcd){super(_0x17b532,_0x2ccad5,_0x1ca0c2,_0x1358ec,_0x32dfcd);}async[_0x3d714e(0x158)](_0x4c8772){const _0x2c8cf8=_0x3d714e,_0x54d7b0=await this[_0x2c8cf8(0x197)](),_0x5753ad=this[_0x2c8cf8(0x30d)](_0x4c8772,_0x54d7b0);return this[_0x2c8cf8(0x293)](_0x5753ad);}[_0x3d714e(0x30d)](_0xaa7055,_0xa0e724){const _0x44eec2=_0x3d714e,_0x4498f8=typeof window>'u'?new URL(_0xaa7055):new URL(_0xaa7055,window['location'][_0x44eec2(0x137)]);_0x4498f8[_0x44eec2(0x2d3)][_0x44eec2(0x203)](_0x44eec2(0x1c5),_0xa0e724);const _0x453354=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x44eec2(0x24b)]);return _0x453354[_0x44eec2(0xfe)](_0x44eec2(0x160))&&_0x4498f8[_0x44eec2(0x2d3)][_0x44eec2(0x203)](_0x44eec2(0x160),_0x453354['get'](_0x44eec2(0x160))),_0x4498f8['toString']();}async[_0x3d714e(0x197)](){const _0x31a6a3=_0x3d714e;var _0x3fac42,_0x288178,_0x5eedc4;const _0xde1b43=this['_configService'][_0x31a6a3(0x2b8)](u[_0x31a6a3(0xe5)]),_0x17ac9b=(_0x3fac42=_0xde1b43==null?void 0x0:_0xde1b43[_0x31a6a3(0x27d)])!=null?_0x3fac42:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5eedc4=(_0x288178=(await this[_0x31a6a3(0xee)][_0x31a6a3(0xfe)](_0x17ac9b,{'headers':{'Content-Type':_0x31a6a3(0x339)}}))['body'])==null?void 0x0:_0x288178['ticket'])!=null?_0x5eedc4:'';}},exports[_0x3d714e(0x1b8)]=cs([W(0x0,a[_0x3d714e(0x1eb)](a['Injector'])),W(0x1,a[_0x3d714e(0x1eb)](q[_0x3d714e(0xdf)])),W(0x2,a[_0x3d714e(0x131)]),W(0x3,a[_0x3d714e(0x178)]),W(0x4,m[_0x3d714e(0xe4)])],exports['BrowserCollaborationSocketService']);const Pe=0x7530,we=_0x3d714e(0x1c3);class ls extends a[_0x3d714e(0x321)]{constructor(){const _0x48fa34=_0x3d714e;super(),h(this,'_id',a[_0x48fa34(0x14e)]()),h(this,_0x48fa34(0x1e8),new Set()),h(this,_0x48fa34(0x217),new Map()),h(this,_0x48fa34(0x2a1),null),h(this,_0x48fa34(0xea),new Map()),h(this,_0x48fa34(0x254),new Map()),this[_0x48fa34(0x149)]();}['dispose'](){const _0x4b710f=_0x3d714e;super[_0x4b710f(0x237)](),this[_0x4b710f(0xea)][_0x4b710f(0x202)]((_0x4900e6,_0x52d079)=>this[_0x4b710f(0x1f8)](_0x52d079)),this[_0x4b710f(0x2a1)]&&window['clearInterval'](this[_0x4b710f(0x2a1)]);}['getUnitStatus$'](_0x36d07a){const _0x1436fa=_0x3d714e;return this['_ensureSubject'](_0x36d07a)[_0x1436fa(0x30a)](d[_0x1436fa(0x246)]());}[_0x3d714e(0x104)](_0x51656c){const _0x343577=_0x3d714e;this[_0x343577(0x1e8)][_0x343577(0xf4)]===0x0&&this[_0x343577(0x343)](),this['_selfUnitIDs'][_0x343577(0x196)](_0x51656c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x51656c],'isForwarded':!0x1});}[_0x3d714e(0x12c)](_0x2d671f){const _0x24afc2=_0x3d714e;this['_selfUnitIDs'][_0x24afc2(0x147)](_0x2d671f),this['_selfUnitIDs'][_0x24afc2(0xf4)]===0x0&&this[_0x24afc2(0x2a1)]&&window[_0x24afc2(0x287)](this[_0x24afc2(0x2a1)]);}[_0x3d714e(0x149)](){const _0x25f05b=_0x3d714e;this[_0x25f05b(0x1de)](a[_0x25f05b(0x239)](d['fromEvent'](window,_0x25f05b(0x31d))[_0x25f05b(0x1ad)](_0x1da9e5=>{const _0x267a27=_0x25f05b;if(_0x1da9e5['key']!==we||!_0x1da9e5['newValue'])return;const _0x3ea05c=JSON[_0x267a27(0x136)](_0x1da9e5['newValue']);this[_0x267a27(0x201)](_0x3ea05c);}))),window[_0x25f05b(0x13c)](_0x25f05b(0x313),()=>this['_send']({'type':0x1,'memberID':this[_0x25f05b(0x15a)],'unitIDs':Array['from'](this[_0x25f05b(0x1e8)])}));}['_handleEvent'](_0x55505e){const _0x2c8123=_0x3d714e;switch(_0x55505e[_0x2c8123(0x2b4)]){case 0x0:this[_0x2c8123(0x229)](_0x55505e);break;case 0x1:this[_0x2c8123(0x152)](_0x55505e);break;case 0x2:this[_0x2c8123(0x2b9)](_0x55505e);break;}}['_handleJoinEvent'](_0x1ad83b){const _0x420b25=_0x3d714e,{unitIDs:_0x5c664c,memberID:_0x31d92f,isForwarded:_0x18f281}=_0x1ad83b;_0x5c664c['forEach'](_0x2fa51e=>{const _0x7b1b5b=_0x2f33;if(!_0x18f281&&this[_0x7b1b5b(0x217)][_0x7b1b5b(0x310)](_0x2fa51e)&&this[_0x7b1b5b(0x29f)](_0x2fa51e)[_0x7b1b5b(0x2f0)](u[_0x7b1b5b(0x17e)][_0x7b1b5b(0x1a2)]),!this[_0x7b1b5b(0x217)][_0x7b1b5b(0x310)](_0x2fa51e)||!this[_0x7b1b5b(0x217)][_0x7b1b5b(0xfe)](_0x2fa51e)[_0x7b1b5b(0x310)](_0x31d92f)){const _0x466e6b=this[_0x7b1b5b(0x217)]['get'](_0x2fa51e)||new Set();_0x466e6b[_0x7b1b5b(0x196)](_0x31d92f),this['_unitOnClients']['set'](_0x2fa51e,_0x466e6b),this[_0x7b1b5b(0xc4)](_0x31d92f);}}),_0x18f281||this[_0x420b25(0x123)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x420b25(0x1e8)]],'isForwarded':!0x0});}[_0x3d714e(0xc4)](_0x55184a){const _0x46cacf=_0x3d714e;this[_0x46cacf(0x1f8)](_0x55184a);const _0xeab09f=window[_0x46cacf(0x208)](()=>{const _0x1c2cd8=_0x46cacf;this['_unitOnClients'][_0x1c2cd8(0x202)](_0x3b7092=>{const _0x23b2aa=_0x1c2cd8;_0x3b7092[_0x23b2aa(0x147)](_0x55184a);});},Pe*0x2);this[_0x46cacf(0xea)][_0x46cacf(0x203)](_0x55184a,_0xeab09f);}[_0x3d714e(0x1f8)](_0x28d605){const _0x2222a7=_0x3d714e;if(this['_clearOtherTimers'][_0x2222a7(0x310)](_0x28d605)){const _0x85ff4=this[_0x2222a7(0xea)][_0x2222a7(0xfe)](_0x28d605);_0x85ff4&&window[_0x2222a7(0x227)](_0x85ff4),this['_clearOtherTimers'][_0x2222a7(0x203)](_0x28d605,null);}}[_0x3d714e(0x152)](_0x1f5f03){const _0x2b3e2d=_0x3d714e,{memberID:_0x4948ad,unitIDs:_0x420ab1}=_0x1f5f03;_0x420ab1[_0x2b3e2d(0x202)](_0x381a27=>{const _0x37d9da=_0x2b3e2d;var _0x21cc6d;const _0x90b59d=this[_0x37d9da(0x217)]['get'](_0x381a27);_0x90b59d&&(_0x90b59d[_0x37d9da(0x147)](_0x4948ad),(_0x21cc6d=this[_0x37d9da(0x29f)](_0x381a27))==null||_0x21cc6d[_0x37d9da(0x2f0)](_0x90b59d[_0x37d9da(0xf4)]===0x0?u[_0x37d9da(0x17e)][_0x37d9da(0x2f4)]:u[_0x37d9da(0x17e)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4948ad);}['_handleHeartbeatEvent'](_0x47cc3c){const _0x41a084=_0x3d714e;this[_0x41a084(0xc4)](_0x47cc3c['memberID']);}[_0x3d714e(0x123)](_0x234447){const _0x1f7ceb=_0x3d714e;localStorage[_0x1f7ceb(0x2fd)](we,JSON[_0x1f7ceb(0x278)](_0x234447));}['_scheduleHeartbeat'](){const _0x494c8d=_0x3d714e;this[_0x494c8d(0x2a1)]=window[_0x494c8d(0x275)](()=>{const _0x585c68=_0x494c8d;this[_0x585c68(0x123)]({'type':0x2,'memberID':this[_0x585c68(0x15a)]});},Pe);}[_0x3d714e(0x29f)](_0x478bf9){const _0x4b2149=_0x3d714e;return this[_0x4b2149(0x254)][_0x4b2149(0x310)](_0x478bf9)||this[_0x4b2149(0x254)][_0x4b2149(0x203)](_0x478bf9,new d[(_0x4b2149(0x153))](u[_0x4b2149(0x17e)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x4b2149(0xfe)](_0x478bf9);}}var Be=(_0x15ad3b=>(_0x15ad3b[_0x15ad3b[_0x3d714e(0x176)]=0x0]=_0x3d714e(0x176),_0x15ad3b[_0x15ad3b['OK']=0x1]='OK',_0x15ad3b[_0x15ad3b[_0x3d714e(0x173)]=0x2]=_0x3d714e(0x173),_0x15ad3b[_0x15ad3b[_0x3d714e(0x326)]=0x3]=_0x3d714e(0x326),_0x15ad3b[_0x15ad3b[_0x3d714e(0x21a)]=0x4]=_0x3d714e(0x21a),_0x15ad3b[_0x15ad3b[_0x3d714e(0x16c)]=0x5]=_0x3d714e(0x16c),_0x15ad3b[_0x15ad3b[_0x3d714e(0x166)]=0x6]=_0x3d714e(0x166),_0x15ad3b[_0x15ad3b[_0x3d714e(0x31e)]=0x7]=_0x3d714e(0x31e),_0x15ad3b[_0x15ad3b[_0x3d714e(0x2bb)]=0x8]=_0x3d714e(0x2bb),_0x15ad3b[_0x15ad3b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x15ad3b[_0x15ad3b[_0x3d714e(0x33d)]=0xa]=_0x3d714e(0x33d),_0x15ad3b[_0x15ad3b[_0x3d714e(0x344)]=0x1389]=_0x3d714e(0x344),_0x15ad3b[_0x15ad3b[_0x3d714e(0x2bd)]=0x1771]=_0x3d714e(0x2bd),_0x15ad3b[_0x15ad3b[_0x3d714e(0x29a)]=0x1772]=_0x3d714e(0x29a),_0x15ad3b[_0x15ad3b[_0x3d714e(0x156)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x15ad3b[_0x15ad3b[_0x3d714e(0x151)]=0x1b59]=_0x3d714e(0x151),_0x15ad3b[_0x15ad3b[_0x3d714e(0x1ed)]=0x1b5a]=_0x3d714e(0x1ed),_0x15ad3b[_0x15ad3b[_0x3d714e(0x31b)]=0x1b5b]=_0x3d714e(0x31b),_0x15ad3b[_0x15ad3b[_0x3d714e(0xe3)]=0x1b5c]=_0x3d714e(0xe3),_0x15ad3b[_0x15ad3b[_0x3d714e(0x181)]=0x1b5d]=_0x3d714e(0x181),_0x15ad3b[_0x15ad3b[_0x3d714e(0x219)]=0x1f41]=_0x3d714e(0x219),_0x15ad3b[_0x15ad3b[_0x3d714e(0x148)]=0x2329]=_0x3d714e(0x148),_0x15ad3b[_0x15ad3b[_0x3d714e(0x34e)]=0x232a]=_0x3d714e(0x34e),_0x15ad3b[_0x15ad3b[_0x3d714e(0x207)]=0x232b]=_0x3d714e(0x207),_0x15ad3b[_0x15ad3b[_0x3d714e(0x1a7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x15ad3b[_0x15ad3b[_0x3d714e(0x18b)]=0x232d]=_0x3d714e(0x18b),_0x15ad3b[_0x15ad3b[_0x3d714e(0x108)]=0x2711]=_0x3d714e(0x108),_0x15ad3b[_0x15ad3b[_0x3d714e(0x28d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15ad3b[_0x15ad3b[_0x3d714e(0x1d9)]=0x2713]=_0x3d714e(0x1d9),_0x15ad3b[_0x15ad3b[_0x3d714e(0x311)]=0x2714]=_0x3d714e(0x311),_0x15ad3b[_0x15ad3b[_0x3d714e(0x1a4)]=0x2af9]=_0x3d714e(0x1a4),_0x15ad3b[_0x15ad3b[_0x3d714e(0x1dd)]=0x2ee1]=_0x3d714e(0x1dd),_0x15ad3b[_0x15ad3b[_0x3d714e(0x2e7)]=0x2ee2]=_0x3d714e(0x2e7),_0x15ad3b[_0x15ad3b[_0x3d714e(0x240)]=0x2ee3]=_0x3d714e(0x240),_0x15ad3b[_0x15ad3b[_0x3d714e(0x1c6)]=0x2ee4]=_0x3d714e(0x1c6),_0x15ad3b[_0x15ad3b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3d714e(0xd9),_0x15ad3b[_0x15ad3b[_0x3d714e(0xcc)]=-0x1]=_0x3d714e(0xcc),_0x15ad3b))(Be||{}),hs=Object[_0x3d714e(0x294)],_s=(_0x539708,_0x540e64,_0x5d0db6,_0x3ce37c)=>{const _0x516b30=_0x3d714e;for(var _0xe706d9=_0x3ce37c>0x1?void 0x0:_0x3ce37c?hs(_0x540e64,_0x5d0db6):_0x540e64,_0x52ee6f=_0x539708[_0x516b30(0x2f1)]-0x1,_0x456172;_0x52ee6f>=0x0;_0x52ee6f--)(_0x456172=_0x539708[_0x52ee6f])&&(_0xe706d9=_0x456172(_0xe706d9)||_0xe706d9);return _0xe706d9;},de=(_0x56b807,_0x1a92a4)=>(_0x210ae0,_0x299582)=>_0x1a92a4(_0x210ae0,_0x299582,_0x56b807);exports['RemoteUniscriptService']=class extends a[_0x3d714e(0x321)]{constructor(_0x3bc81a,_0xbddf93,_0x322ede){const _0x4105ea=_0x3d714e;super(),this[_0x4105ea(0x206)]=_0x3bc81a,this['_httpService']=_0xbddf93,this['_configService']=_0x322ede;}async[_0x3d714e(0x1fd)](_0x15e4b8,_0x557602,_0x416684,..._0x5ac2e3){const _0x2fa6a2=_0x3d714e;var _0x1daa29,_0x19e745,_0x20c34a,_0x2f6182;const _0x221af2=this[_0x2fa6a2(0x206)][_0x2fa6a2(0x2d2)]();if(!_0x221af2)throw new Error(_0x2fa6a2(0x33a));const _0x1d40e7=((_0x1daa29=this['_configService'][_0x2fa6a2(0x2b8)](u[_0x2fa6a2(0x125)]))!=null?_0x1daa29:u[_0x2fa6a2(0x226)])+'/'+_0x15e4b8+'/run/'+_0x557602,_0x27fd4b=new URL(window[_0x2fa6a2(0x11e)]['href']),_0x515743={'scriptId':_0x15e4b8,'runId':(_0x19e745=_0x27fd4b[_0x2fa6a2(0x2d3)][_0x2fa6a2(0xfe)](_0x2fa6a2(0x160)))!=null?_0x19e745:'','function':_0x557602,'unitId':_0x221af2[_0x2fa6a2(0x180)](),'argsOfFunction':JSON['stringify'](_0x5ac2e3),'invokeId':(_0x20c34a=_0x416684['invokeId'])!=null?_0x20c34a:'','executionId':(_0x2f6182=_0x416684[_0x2fa6a2(0xdc)])!=null?_0x2f6182:''};try{const _0x4e0b27=await this['_httpService']['post'](_0x1d40e7,{'body':_0x515743});return _0x4e0b27[_0x2fa6a2(0x224)][_0x2fa6a2(0x21e)]&&_0x4e0b27[_0x2fa6a2(0x224)]['error'][_0x2fa6a2(0x1f4)]!==Be['OK']?_0x2fa6a2(0x1b0):_0x4e0b27[_0x2fa6a2(0x224)][_0x2fa6a2(0x2b6)];}catch{return _0x2fa6a2(0x1b0);}}},exports[_0x3d714e(0xd6)]=_s([de(0x0,a[_0x3d714e(0x27e)]),de(0x1,a[_0x3d714e(0x1eb)](q['HTTPService'])),de(0x2,a[_0x3d714e(0x131)])],exports[_0x3d714e(0xd6)]),exports['CollaborationStatusDisplay']=je,exports[_0x3d714e(0x2ab)]=Ee,exports['SheetCollabCursorShape']=Ae,exports[_0x3d714e(0x1bb)]=ls,exports[_0x3d714e(0x2d4)]=ke;function _0x4e6b(){const _0x28ac0f=['_handleEvent','forEach','set','@univerjs/rpc','handleIRemoveRow','_instanceService','LICENSE_IMPORT_SIZE_EXCEEDED','setTimeout','textRanges','string','#fff','FromArray','104052GTtubM','MessageType','CONFLICT','on-line-single','DOC_RANGE_TYPE','imageSourceType','_initDependencies','getSheetObject','fromEvent','getCurrentRevOfUnit','_unitOnClients','getRangePointData','CONNECTOR_DATA_TOO_LARGE','NOT_FOUND','includes','_range','rxjs/operators','error','_updateLocalCursor','getMergeData','setConfig','_collaborationUIEventService','USERS_LEAVE','body','_status$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearTimeout','merge','_handleJoinEvent','updateOfflineData','assign','NodePositionConvertToRectRange','getUnhiddenWorksheets','_localCacheService','endRow','cursorInfo$','DocSelectionManagerService','toString','Workbook','throttleTime','UniverIcon','redoState','dispose','UPDATE_CURSOR','toDisposable','_drawRectRange','split','_univerInstanceService','indexOf','pluginName','InsertColCommandId','INVITE_CODE_REQUIRED','subscribeEvent','[CollaborationDataLoaderController]','tag','syncEditingCollabCursor','evenodd','distinctUntilChanged','_localeService','mapTo','column','engine','search','createIdentifier','@univerjs/network','WebSocketService','_updateSubUnitFromURLParams','transformRemoteChangeset','_themeService','replaceState','EffectRefRangId','_unitStatus','undoState','_removeCollabCursors','entityInit$','_drawAnchor','online','RECT','from','RichTextEditingMutation','_saveCache','getRenderById','ThemeService','SetTextSelectionsOperation','concat','flatMap','_docStateChangeManagerService','roomMembers','_hovered','cursorInfo','Tools','url(#on-line-single_clip0_910_349)','_lastPointer','collab-client.tooltip.reconnect','_onCursorUpdate','getAncestorScale','registerRenderModule','Error','displayName','complete','CLOSE_ROOM','onTransformChange$','saveImage','toRgbString','setInterval','SheetSkeletonManagerService','loadUnit','stringify','_injector','_registerRenderDependencies','combineLatest','_cursor','wsSessionTicketUrl','IUniverInstanceService','registerDependencies','_docSkeletonManagerService','exhaustSavingTask','SetWorksheetActivateCommand','_configService','filter','random','on-line-single_clip0_910_349','clearInterval','moveTo','_refreshCollabCursors','getTypeOfUnitDisposed$','data','unitId','YUUMI_URL_COL_OUT_OF_RANGE','_eventUnsubscribe','IDocClipboardService','drawWith','_transformPreviousActiveRange','_textBubble','_doCreateSocket','getOwnPropertyDescriptor','resize','_initResize','saveTaskMap','switchMap','ILocalCacheService','SNAPSHOT_HAS_BEEN_REMOVED','LocaleService','collabStatus.conflict','LOCAL_CACHE_INTERVAL','InsertRangeMoveRightCommandId','_ensureSubject','_transformUndoRedoStack','_heartbeatTimer','univerjs-icon\x20univerjs-icon-','MemberService','NOT_COLLAB','getSheetBySheetId','some','runRefRangeMutations','restore','CollaborationStatus','handleMoveRange','IURLService','getLocalCacheKey','source','getUndoRedoMutationParamsCache','_setupBeforeClosingHandler','onPointerLeave$','IRemoteInstanceService','prototype','@univerjs/engine-formula','type','pushState','result','startColumn','getConfig','_handleHeartbeatEvent','_docSyncEditingCollabCursorService','TOO_MANY_REQUESTS','@univerjs/sheets-ui','SNAPSHOT_INVALID_SNAPSHOT','univer-online-status','params','isTransformMutationsWithChangesetSuccess','getActiveRange','_labelPosition','values','all','map','_context','RegularPolygon','transformStateCache','DisposableCollection','_collabSessionService','handleDeleteRangeMoveLeft','setActiveRange','8szdqRN','ranges','univer-online-status-title','_startSheetCollabCursor','_toggleOnline','getFocusedUnit','searchParams','WebURLService','text','_cursorInfo$','Injector','mergeOverrideWithDependencies','height','DeleteRangeMoveLeftCommandId','VIEW_MAIN','getStateCache','_docClipboardService','univer-online-status-icon','TEXT','CollaborationDataLoaderController','currentColor','@univerjs/sheets','DataLoaderService','_urlService','unit','fillRule','INVALID_INVITE_CODE','findNodePositionByCharIndex','Rect','ILocalStorageService','closePath','top','@univerjs-pro/collaboration','font','setAlpha','next','length','path','SheetsSelectionsService','NO_OTHER_CLIENTS_EDITING','getCurrent','OTHER_CLIENT_EDITING','selection','1em','_collabCursorState$','_transformService','colorChannel1','handleInsertRangeMoveDown','setItem','fillStyle','collaboration-client-ui.config','onCommandExecuted','getSheetId','executeCommand','setShapeProps','max','_transformHistoryAndStateStack','JOIN_ROOM_FAILED','TEXT_RANGE_LAYER_INDEX','HEADER_MENU','unshift','pipe','_updateURLWithCurrentState','show','_createSocketURL','IMessageService','jiqing500','has','YUUMI_SUBSCRIPTION_NOT_FOUND','registerComponent','unload','isArray','connectInjector','_shapes','AWAITING','div','getCellPositionByOffset','UniverCollaborationClientPlugin','APPLY_REVISION_CONFILICT','assignAColorForMemberID','storage','INVALID_ARGUMENT','shareReplay','945927NHSecA','Disposable','find','_docTransformSelectionsService','event$','getItem','PERMISSION_DENIED','serializeRangeWithSheet','_initCommandExecutedListener','handleInsertRangeMoveRight','substring','black','createElement','_draw','getValue','OnLineSingle','getActiveSheet','getOwnPropertySymbols','DependentOn','univer-flex\x20univer-items-center','_backgroundColor','CollaborationEvent','Plugin','IBeforeCloseService','_collabCursorController','application/json','[RemoteUniscriptService]:\x20no\x20focused\x20unit','permission.content','COLORS','LOGIN_FAILED','_colorIndex','_assignedColors','_name','@univerjs/ui','Tooltip','_scheduleHeartbeat','CHANGESET_REVISION_CONFILICT','row','_handleHover','_collaborationController','symbol','AWAITING_WITH_PENDING','_docTransformIMECacheService','extend','108729WdstPw','LOCAL_CACHE_INTERVAL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','deepClone','_scheduleClearOtherTimer','_refRangeService','m1Prime','eventID','translate(.97)','arc','xlink:href','transformSelections','UNRECOGNIZED','useDependency','_getSheetObject','571800wAUrRf','_dataLoaderService','_sheetSkeletonManagerService','function','SYNCED','PENDING','forwardRef','RemoteUniscriptService','UNIVER_SHEET','_cachedData','INVITE_CODE_ALREADY_BOUND','_initEntityListener','none','executionId','ONLINE','urlChange$','HTTPService','defineProperty','_getMergeRange','getCoordByCell','APPLY_PERMISSION_DENIED','ISnapshotServerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','off-line-single','_color','push','_logService','_clearOtherTimers','dispose$','measureText','then','_httpService','_render','_hideTimer','createInstance','getSkeleton','getUniverSheetInstance','size','UniverCollaborationClientUIPlugin','replace','_notificationService','idSuffix','ISocketService','jsx','handleInsertCol','icon','DocCollaborationEntity','get','DocStateChangeManagerService','univer-offline','getParam','_toggleOffline','ITransformService','editingUnit','onlineStatusTitle','DesktopCollaborationStatusDisplayController','history','YUUMI_UNABLE_LOAD_URL','transform','_onCursorDelete','@univerjs/docs','collab-text-anchor-','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetId','@univerjs/core','_messageService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverInstanceType','name','_initStatusListener','getTypeOfUnitAdded$','endColumn','OFFLINE','unsubscribe','#FFF','RefRangeService','CommandType','_getSaveTimeout','color','location','subunit','_getScale','svg','_memberService','_send','_initStatusComponent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','addObject','entries','registerBeforeClose','getMember','off-line-single_clip0_910_343','transformByState','disposeUnit','_hover','DocSkeletonManagerService','lineTo','call','IConfigService','collabCursorState$','status$','RemoveColCommandId','getCurrentUnitForType','parse','origin','debounce','CollaborationUIEventId','787695YhptBn','_colorAssignService','addEventListener','blue400','react','4rRUfVp','_config','fillText','_onRefRangeChange','takeUntil','_beforeCloseService','children','collab-rect-range-','delete','LICENSE_MAX_UNITS_EXCEEDED','_init','onlineStatus','contains','Vector2','collab-text-range-','generateRandomId','width','transformMutationsWithChangeset','APPLY_REJECT','_handleLeaveEvent','BehaviorSubject','_entities','RevisionService','ENSURE_SNAPSHOT_EXECUTION','permission.title','createSocket','verdancy600','_id','fill','_initEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','asObservable','SessionStatus','runId','CollaborationController','_registerDependencies','clipPath','currentTheme$','session.connection-failed','ALREADY_EXISTS','DocIMEInputManagerService','replaceDocRanges','CollaborationSocketService','_revisionService','188675uEIXOv','UNAUTHENTICATED','sessionStatus$','addObjects','url(#$1','subUnitId','roomMembers$','_cursors','INTERNAL_ERROR','_uiPartsService','_docSkeleton','UNDEFINED','_entityInit$','ILogService','CollaborationSessionService','_cursorShapes','UNIVER_DOC','session.collaboration-timeout','handleDeleteRangeMoveUp','UnitStatus','_docTransformStateCacheService','getUnitId','APPLY_DUPLICATED','with','isTransformMutationFailure','setParam','SetDocZoomRatioOperation','save','85918zDfyZs','mutations','use','round','LICENSE_DISTRO_REJECTED','getVpScrollXYInfoByPosToVp','collaboration.closeRoom','handleInsertRow','onRendered','collaboration-client.offline-data-not-saved','trim','_updateCollabCursors','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','onPointerEnter$','touchDependencies','add','_getSessionTicket','_syncEditingCollabCursorService','CollaborationUIEventService','SetSelectionsOperation','IRenderManagerService','unitID','gold400','purple300','_roomMembers$','@univerjs/design','transformIMECache','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','toStringTag','_scheduleSaving','LICENSE_EXPORT_SIZE_EXCEEDED','onMouseMove','_saveTaskMap','collabStatus.synced','M0\x200H16V16H0z','hasOwnProperty','subscribe','Warning','_setupSubUnitSync','Failed','_scene','init','_startDocCollabCursor','m2Prime','onlineStatusIcon','_document','isEditing','BrowserCollaborationSocketService','FETCH_MISS','makeDirty','WebBrowserSingleActiveUnitService','Unknown\x20user','_online','setStateCache','getColor','_session','jsxs','...','ACTIVE_UNIT_EVENT_CHANNEL','_drawTextRange','sessionTicket','USER_NOT_INVITED_CODE','fromEventSubject','doc.mutation.rich-text-editing','ColorKit','getViewport','reconnect','ICommandService','bottom','attrs','InsertRowCommandId','className','requireSession','removeParam','defIds','mask','getMemberID','transformMutation','SOCKET_FAILED','_imageIoService','YUUMI_RATE_OVER_LIMIT','override','triggerDblclick','_renderManagerService','INVITE_CODE_HAS_BEEN_UES','disposeWithMe','backgroundColor','useCallback','registerRefRange','send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NodePositionConvertToCursor','MUTATION','rxjs','DeleteRangeMoveUpCommandId','_selfUnitIDs','beginPath','getRelativeToViewportCoord','Inject','_anchor','APPLY_NON_SEQUENTIAL_REVISION','_commandService','labelPosition','clsx','debounceTime','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_anchorDot','code','getCollabCursors$','collaboration.single-unit.warning','RxDisposable','_removeClearOtherTimer','_getAnchorBounding','Rectangle','startRow','_localStorageService','runOnServer','defs','selections','hide'];_0x4e6b=function(){return _0x28ac0f;};return _0x4e6b();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x26621d=_0x1bc3;(function(_0x2e5448,_0x3da3b1){const _0x2eed33=_0x1bc3,_0x3b0dd8=_0x2e5448();while(!![]){try{const _0x49a81b=parseInt(_0x2eed33(0x147))/0x1*(parseInt(_0x2eed33(0x156))/0x2)+parseInt(_0x2eed33(0x15c))/0x3*(-parseInt(_0x2eed33(0x15d))/0x4)+parseInt(_0x2eed33(0x149))/0x5+-parseInt(_0x2eed33(0x157))/0x6*(-parseInt(_0x2eed33(0x154))/0x7)+parseInt(_0x2eed33(0x14a))/0x8+parseInt(_0x2eed33(0x14d))/0x9+parseInt(_0x2eed33(0x15a))/0xa*(-parseInt(_0x2eed33(0x14c))/0xb);if(_0x49a81b===_0x3da3b1)break;else _0x3b0dd8['push'](_0x3b0dd8['shift']());}catch(_0x572cad){_0x3b0dd8['push'](_0x3b0dd8['shift']());}}}(_0xb3d1,0x5ae32));function _0xb3d1(){const _0x124ed6=['Synced','7oPAQpE','Click\x20to\x20Reconnect','222ofgZpp','1607262OyyJOx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','2219150esYkHD','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','5295izsONG','1020CQiXKR','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20Conflict','5101lRzgKd','Syncing...','3420085jcrfNK','1026320yrIePS','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','77PWFKww','6564231btOoSX','exports','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error'];_0xb3d1=function(){return _0x124ed6;};return _0xb3d1();}const e={'collab-client':{'tooltip':{'reconnect':_0x26621d(0x155)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x26621d(0x153),'syncing':_0x26621d(0x148),'offline':_0x26621d(0x14b)},'session':{'connection-failed':_0x26621d(0x151),'will-retry':_0x26621d(0x15b),'room-full':_0x26621d(0x144),'collaboration-timeout':_0x26621d(0x14f)},'conflict':{'title':_0x26621d(0x146),'content':_0x26621d(0x159)},'permission':{'title':_0x26621d(0x152),'content':_0x26621d(0x145)},'collaboration':{'single-unit':{'warning':_0x26621d(0x15e)},'closeRoom':_0x26621d(0x150)},'auth':{'needGotoLoginAlert':_0x26621d(0x158)}};function _0x1bc3(_0x26a797,_0x59cdd9){const _0xb3d1a5=_0xb3d1();return _0x1bc3=function(_0x1bc3bf,_0x3ff2f6){_0x1bc3bf=_0x1bc3bf-0x144;let _0xfabdf7=_0xb3d1a5[_0x1bc3bf];return _0xfabdf7;},_0x1bc3(_0x26a797,_0x59cdd9);}module[_0x26621d(0x14e)]=e;
|