@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130640
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2a4d29=_0x36cf;function _0x36cf(_0x397ff7,_0x7273b0){const _0x4125b3=_0x4125();return _0x36cf=function(_0x36cf81,_0x3c9318){_0x36cf81=_0x36cf81-0x84;let _0x2402df=_0x4125b3[_0x36cf81];return _0x2402df;},_0x36cf(_0x397ff7,_0x7273b0);}(function(_0x5f2b8e,_0x58ec1d){const _0x1f509a=_0x36cf,_0x29be2e=_0x5f2b8e();while(!![]){try{const _0x30fd33=-parseInt(_0x1f509a(0x8c))/0x1+parseInt(_0x1f509a(0x8f))/0x2+parseInt(_0x1f509a(0x8b))/0x3*(parseInt(_0x1f509a(0x87))/0x4)+-parseInt(_0x1f509a(0x90))/0x5+parseInt(_0x1f509a(0x91))/0x6*(parseInt(_0x1f509a(0x86))/0x7)+parseInt(_0x1f509a(0x88))/0x8*(parseInt(_0x1f509a(0x8a))/0x9)+-parseInt(_0x1f509a(0x8e))/0xa;if(_0x30fd33===_0x58ec1d)break;else _0x29be2e['push'](_0x29be2e['shift']());}catch(_0x13c10b){_0x29be2e['push'](_0x29be2e['shift']());}}}(_0x4125,0x373ee));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x2a4d29(0x8d)](_0x578a74,_0x43d63d,..._0x49e152){const _0xb5897a=_0x2a4d29;return this['_injector']['get'](t[_0xb5897a(0x85)])[_0xb5897a(0x8d)](_0x578a74,_0x43d63d,{},..._0x49e152);}}function _0x4125(){const _0x3f0abe=['481666mqqHsT','632235NIHgJq','35868kCKJCy','FUniver','RemoteUniscriptService','98zvYfVA','812FwiYmi','24IYDDEL','extend','1148841OaBCOC','3246nHyPBf','366572HDXLMB','runOnServer','2078130ZvnqLL'];_0x4125=function(){return _0x3f0abe;};return _0x4125();}e[_0x2a4d29(0x84)][_0x2a4d29(0x89)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x30ac70=_0x4f9b;(function(_0x3f6ec8,_0x4f28b1){const _0x55df31=_0x4f9b,_0x3a4f27=_0x3f6ec8();while(!![]){try{const _0x17b201=-parseInt(_0x55df31(0x3bc))/0x1*(-parseInt(_0x55df31(0x3b5))/0x2)+parseInt(_0x55df31(0x294))/0x3+parseInt(_0x55df31(0x1aa))/0x4*(parseInt(_0x55df31(0x3e4))/0x5)+parseInt(_0x55df31(0x3c9))/0x6+-parseInt(_0x55df31(0x235))/0x7*(-parseInt(_0x55df31(0x260))/0x8)+parseInt(_0x55df31(0x392))/0x9+-parseInt(_0x55df31(0x2f8))/0xa*(parseInt(_0x55df31(0x31a))/0xb);if(_0x17b201===_0x4f28b1)break;else _0x3a4f27['push'](_0x3a4f27['shift']());}catch(_0x3504ff){_0x3a4f27['push'](_0x3a4f27['shift']());}}}(_0x5450,0x2e980));var We=Object[_0x30ac70(0x386)],Ve=(_0x58d218,_0x1bc2ea,_0x5d5dff)=>_0x1bc2ea in _0x58d218?We(_0x58d218,_0x1bc2ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d5dff}):_0x58d218[_0x1bc2ea]=_0x5d5dff,h=(_0x361fcc,_0x2d835d,_0x4f2a24)=>Ve(_0x361fcc,typeof _0x2d835d!=_0x30ac70(0x3c1)?_0x2d835d+'':_0x2d835d,_0x4f2a24);Object[_0x30ac70(0x386)](exports,Symbol[_0x30ac70(0x26e)],{'value':_0x30ac70(0x221)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x242f51=_0x30ac70;return b=Object[_0x242f51(0x270)]||function(_0x29d47e){const _0x40faf3=_0x242f51;for(var _0x8ef93a,_0x292f42=0x1,_0x18c54b=arguments[_0x40faf3(0x2e3)];_0x292f42<_0x18c54b;_0x292f42++){_0x8ef93a=arguments[_0x292f42];for(var _0x24ef8f in _0x8ef93a)Object[_0x40faf3(0x1e3)][_0x40faf3(0x3c8)]['call'](_0x8ef93a,_0x24ef8f)&&(_0x29d47e[_0x24ef8f]=_0x8ef93a[_0x24ef8f]);}return _0x29d47e;},b[_0x242f51(0x1e8)](this,arguments);},Ke=function(_0x14fc38,_0x5808ee){const _0x303ba1=_0x30ac70;var _0x4098f9={};for(var _0x4c7cbb in _0x14fc38)Object[_0x303ba1(0x1e3)]['hasOwnProperty'][_0x303ba1(0x2d5)](_0x14fc38,_0x4c7cbb)&&_0x5808ee[_0x303ba1(0x2b6)](_0x4c7cbb)<0x0&&(_0x4098f9[_0x4c7cbb]=_0x14fc38[_0x4c7cbb]);if(_0x14fc38!=null&&typeof Object[_0x303ba1(0x2b3)]==_0x303ba1(0x2a4)){for(var _0x2bc487=0x0,_0x4c7cbb=Object[_0x303ba1(0x2b3)](_0x14fc38);_0x2bc487<_0x4c7cbb[_0x303ba1(0x2e3)];_0x2bc487++)_0x5808ee['indexOf'](_0x4c7cbb[_0x2bc487])<0x0&&Object[_0x303ba1(0x1e3)][_0x303ba1(0x27c)][_0x303ba1(0x2d5)](_0x14fc38,_0x4c7cbb[_0x2bc487])&&(_0x4098f9[_0x4c7cbb[_0x2bc487]]=_0x14fc38[_0x4c7cbb[_0x2bc487]]);}return _0x4098f9;},ge=M[_0x30ac70(0x38e)](function(_0x43bff5,_0x278c74){const _0x2162ed=_0x30ac70;var _0x5b648f=_0x43bff5[_0x2162ed(0x296)],_0x39d9e7=_0x43bff5['id'],_0x30aac7=_0x43bff5[_0x2162ed(0x300)],_0x23b979=_0x43bff5[_0x2162ed(0x3fc)],_0x4821dc=Ke(_0x43bff5,[_0x2162ed(0x296),'id',_0x2162ed(0x300),_0x2162ed(0x3fc)]),_0x4d9899='univerjs-icon\x20univerjs-icon-'[_0x2162ed(0x1ff)](_0x39d9e7,'\x20')[_0x2162ed(0x1ff)](_0x30aac7||'')[_0x2162ed(0x1a3)](),_0x493f9e=M[_0x2162ed(0x2a1)]('_'[_0x2162ed(0x1ff)](Je()));return Pe(_0x5b648f,''['concat'](_0x39d9e7),{'defIds':_0x5b648f['defIds'],'idSuffix':_0x493f9e['current']},b({'ref':_0x278c74,'className':_0x4d9899},_0x4821dc),_0x23b979);});function Pe(_0x30015c,_0x88be2b,_0x432ddb,_0xad63aa,_0x15136a){const _0x6ae285=_0x30ac70;return M[_0x6ae285(0x2bd)](_0x30015c[_0x6ae285(0x1bd)],b(b({'key':_0x88be2b},qe(_0x30015c,_0x432ddb,_0x15136a)),_0xad63aa),(ze(_0x30015c,_0x432ddb)[_0x6ae285(0x3b3)]||[])[_0x6ae285(0x217)](function(_0x55a9c8,_0x477a4a){const _0x4c2eee=_0x6ae285;return Pe(_0x55a9c8,''['concat'](_0x88be2b,'-')[_0x4c2eee(0x1ff)](_0x30015c[_0x4c2eee(0x1bd)],'-')['concat'](_0x477a4a),_0x432ddb,void 0x0,_0x15136a);}));}function qe(_0x28ffe0,_0xc727c6,_0x326ada){const _0x178b7f=_0x30ac70;var _0x5db1ba=b({},_0x28ffe0['attrs']);_0x326ada!=null&&_0x326ada[_0x178b7f(0x35c)]&&_0x5db1ba[_0x178b7f(0x1ab)]===_0x178b7f(0x35c)&&(_0x5db1ba['fill']=_0x326ada[_0x178b7f(0x35c)]),_0x28ffe0[_0x178b7f(0x1bd)]===_0x178b7f(0x3c7)&&_0x5db1ba['id']&&(_0x5db1ba['id']=_0x5db1ba['id']+_0xc727c6[_0x178b7f(0x31c)]),Object[_0x178b7f(0x2cf)](_0x5db1ba)[_0x178b7f(0x414)](function(_0x392d95){const _0x2aea60=_0x178b7f;var _0x508cf3=_0x392d95[0x0],_0xcf45dd=_0x392d95[0x1];_0x508cf3==='mask'&&typeof _0xcf45dd==_0x2aea60(0x1d8)&&(_0x5db1ba[_0x508cf3]=_0xcf45dd[_0x2aea60(0x303)](/url\(#(.*)\)/,_0x2aea60(0x2c2)[_0x2aea60(0x1ff)](_0xc727c6[_0x2aea60(0x31c)],')')));});var _0x2188f5=_0xc727c6['defIds'];return!_0x2188f5||_0x2188f5[_0x178b7f(0x2e3)]===0x0||(_0x28ffe0[_0x178b7f(0x1bd)]===_0x178b7f(0x353)&&_0x5db1ba['xlink:href']&&(_0x5db1ba[_0x178b7f(0x3b2)]=_0x5db1ba[_0x178b7f(0x3b2)]+_0xc727c6['idSuffix']),Object[_0x178b7f(0x2cf)](_0x5db1ba)[_0x178b7f(0x414)](function(_0x2d9e7c){const _0xf19e6c=_0x178b7f;var _0x49c974=_0x2d9e7c[0x0],_0x224082=_0x2d9e7c[0x1];typeof _0x224082==_0xf19e6c(0x1d8)&&(_0x5db1ba[_0x49c974]=_0x224082[_0xf19e6c(0x303)](/url\(#(.*)\)/,_0xf19e6c(0x2c2)[_0xf19e6c(0x1ff)](_0xc727c6[_0xf19e6c(0x31c)],')')));})),_0x5db1ba;}function ze(_0xee270d,_0x470c35){const _0x10ade3=_0x30ac70;var _0xac84f6,_0x4257c3=_0x470c35[_0x10ade3(0x307)];return!_0x4257c3||_0x4257c3[_0x10ade3(0x2e3)]===0x0?_0xee270d:_0xee270d[_0x10ade3(0x1bd)]==='defs'&&(!((_0xac84f6=_0xee270d[_0x10ade3(0x3b3)])===null||_0xac84f6===void 0x0)&&_0xac84f6['length'])?b(b({},_0xee270d),{'children':_0xee270d[_0x10ade3(0x3b3)][_0x10ade3(0x217)](function(_0x47d8ff){const _0x3b2c47=_0x10ade3;return typeof _0x47d8ff[_0x3b2c47(0x2ca)]['id']=='string'&&_0x4257c3&&_0x4257c3[_0x3b2c47(0x1c7)](_0x47d8ff[_0x3b2c47(0x2ca)]['id'])?b(b({},_0x47d8ff),{'attrs':b(b({},_0x47d8ff[_0x3b2c47(0x2ca)]),{'id':_0x47d8ff[_0x3b2c47(0x2ca)]['id']+_0x470c35['idSuffix']})}):_0x47d8ff;})}):_0xee270d;}function Je(){const _0x5b28b8=_0x30ac70;return Math['random']()[_0x5b28b8(0x3e9)](0x24)['substring'](0x2,0x8);}ge['displayName']=_0x30ac70(0x200);var Ze={'tag':_0x30ac70(0x2c3),'attrs':{'xmlns':_0x30ac70(0x22a),'fill':_0x30ac70(0x1e2),'viewBox':_0x30ac70(0x39e),'width':_0x30ac70(0x411),'height':_0x30ac70(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x30ac70(0x1d9)},'children':[{'tag':_0x30ac70(0x39c),'attrs':{'stroke':_0x30ac70(0x30e),'d':_0x30ac70(0x2ad),'strokeLinecap':_0x30ac70(0x3b8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30ac70(0x2c7),'attrs':{},'children':[{'tag':_0x30ac70(0x254),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x30ac70(0x39c),'attrs':{'fill':_0x30ac70(0x308),'d':_0x30ac70(0x1a8)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},we=M[_0x30ac70(0x38e)](function(_0x543536,_0x566105){const _0x456239=_0x30ac70;return M['createElement'](ge,Object[_0x456239(0x270)]({},_0x543536,{'id':_0x456239(0x29e),'ref':_0x566105,'icon':Ze}));});we[_0x30ac70(0x364)]=_0x30ac70(0x2b9);var Qe={'tag':_0x30ac70(0x2c3),'attrs':{'xmlns':_0x30ac70(0x22a),'fill':'none','viewBox':_0x30ac70(0x220),'width':'1em','height':_0x30ac70(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x30ac70(0x2ec)},'children':[{'tag':_0x30ac70(0x39c),'attrs':{'stroke':_0x30ac70(0x30e),'d':_0x30ac70(0x3ef),'strokeLinecap':'round','strokeLinejoin':_0x30ac70(0x3b8),'strokeWidth':1.2}}]},{'tag':_0x30ac70(0x2c7),'attrs':{},'children':[{'tag':_0x30ac70(0x254),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x30ac70(0x39c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x30ac70(0x2af)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ae=M['forwardRef'](function(_0x4ce88c,_0x3b81c4){const _0x28b2ec=_0x30ac70;return M['createElement'](ge,Object[_0x28b2ec(0x270)]({},_0x4ce88c,{'id':_0x28b2ec(0x297),'ref':_0x3b81c4,'icon':Qe}));});Ae[_0x30ac70(0x364)]=_0x30ac70(0x418);function et(_0x3bcbae){const _0x2a83a5=_0x30ac70;switch(_0x3bcbae){case u[_0x2a83a5(0x1fa)][_0x2a83a5(0x375)]:return _0x2a83a5(0x1e9);case u['CollaborationStatus'][_0x2a83a5(0x218)]:return'collabStatus.conflict';case u[_0x2a83a5(0x1fa)][_0x2a83a5(0x389)]:return _0x2a83a5(0x335);case u['CollaborationStatus'][_0x2a83a5(0x202)]:return _0x2a83a5(0x222);case u[_0x2a83a5(0x1fa)]['AWAITING']:case u[_0x2a83a5(0x1fa)][_0x2a83a5(0x1a4)]:return _0x2a83a5(0x3e3);case u['CollaborationStatus'][_0x2a83a5(0x3e1)]:case u[_0x2a83a5(0x1fa)][_0x2a83a5(0x40a)]:return _0x2a83a5(0x35d);}}function tt(_0x2b625f){const _0x14c53f=_0x30ac70,{status$:_0x497932}=_0x2b625f,_0x5a0dd6=O[_0x14c53f(0x26d)](_0x497932,u[_0x14c53f(0x1fa)][_0x14c53f(0x202)]),_0x4d80ec=O[_0x14c53f(0x266)](a[_0x14c53f(0x401)]),_0x581061=O[_0x14c53f(0x266)](u[_0x14c53f(0x26b)]),_0x4dbd00=_0x5a0dd6!==u[_0x14c53f(0x1fa)][_0x14c53f(0x375)],_0x49028b=_0x4d80ec['t'](et(_0x5a0dd6)),_0x5409c2=_0x4dbd00?P[_0x14c53f(0x3d8)](Ae,{}):P[_0x14c53f(0x3d8)](we,{}),_0x59695b=M['useCallback'](()=>{const _0x204a11=_0x14c53f;_0x4dbd00||_0x581061[_0x204a11(0x2b8)]();},[_0x4dbd00,_0x581061]);function _0x430925(){const _0x518238=_0x14c53f;return P[_0x518238(0x366)]('div',{'className':_0x518238(0x2d7),'onClick':_0x59695b,'children':[P['jsx'](_0x518238(0x1dd),{'className':D['clsx'](_0x518238(0x255),{'univer-text-green-500':_0x4dbd00,'univer-text-red-500':!_0x4dbd00}),'children':_0x5409c2}),P[_0x518238(0x3d8)](_0x518238(0x1dd),{'className':_0x518238(0x1d5),'children':_0x49028b})]});}return _0x4dbd00?_0x430925():P[_0x14c53f(0x3d8)](D[_0x14c53f(0x385)],{'title':_0x4d80ec['t'](_0x14c53f(0x1d4)),'children':_0x430925()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x41c466,_0x37b5be,_0x24aab2,_0x4e88f7)=>{const _0xf40379=_0x30ac70;for(var _0x2a8099=_0x4e88f7>0x1?void 0x0:_0x4e88f7?st(_0x37b5be,_0x24aab2):_0x37b5be,_0x24f4c6=_0x41c466[_0xf40379(0x2e3)]-0x1,_0x117ee5;_0x24f4c6>=0x0;_0x24f4c6--)(_0x117ee5=_0x41c466[_0x24f4c6])&&(_0x2a8099=_0x117ee5(_0x2a8099)||_0x2a8099);return _0x2a8099;},V=(_0x29e55e,_0x260f4b)=>(_0x26c0c9,_0x3c8e00)=>_0x260f4b(_0x26c0c9,_0x3c8e00,_0x29e55e);exports[_0x30ac70(0x281)]=class extends a[_0x30ac70(0x314)]{constructor(_0x56f2b8,_0x41c32e,_0x5dd23b,_0x166ccd){const _0x2df1b4=_0x30ac70;super(),h(this,_0x2df1b4(0x40b),new d[(_0x2df1b4(0x1e7))](u[_0x2df1b4(0x1fa)][_0x2df1b4(0x202)])),(this[_0x2df1b4(0x341)]=_0x56f2b8,this[_0x2df1b4(0x3ec)]=_0x41c32e,this[_0x2df1b4(0x359)]=_0x5dd23b,this[_0x2df1b4(0x3a0)]=_0x166ccd,this[_0x2df1b4(0x1b0)](),this[_0x2df1b4(0x247)]());}['_initStatusListener'](){const _0xce6e68=_0x30ac70;this[_0xce6e68(0x37b)](this['_univerInstanceService'][_0xce6e68(0x36d)][_0xce6e68(0x2d2)](d[_0xce6e68(0x237)](()=>{const _0x297c4e=_0xce6e68,_0x10cd10=this[_0x297c4e(0x341)][_0x297c4e(0x35b)]();return _0x10cd10?this[_0x297c4e(0x359)][_0x297c4e(0x26a)](_0x10cd10[_0x297c4e(0x391)]()):d['of'](null);}),d['switchMap'](_0x56559f=>_0x56559f?_0x56559f[_0xce6e68(0x20f)]:d['of'](u[_0xce6e68(0x1fa)][_0xce6e68(0x202)])))['subscribe'](_0x5cb9f3=>{const _0x1eb474=_0xce6e68;this['_status$'][_0x1eb474(0x345)](_0x5cb9f3);}));}[_0x30ac70(0x1b0)](){const _0x297649=_0x30ac70;this[_0x297649(0x37b)](this['_uiPartsService'][_0x297649(0x2d0)](O[_0x297649(0x2f7)]['HEADER_MENU'],()=>O[_0x297649(0x22b)](nt({'status$':this[_0x297649(0x40b)][_0x297649(0x2e1)]()}),this[_0x297649(0x3ec)])));}},exports['DesktopCollaborationStatusDisplayController']=it([V(0x0,a[_0x30ac70(0x291)]),V(0x1,a[_0x30ac70(0x234)](a[_0x30ac70(0x21e)])),V(0x2,a[_0x30ac70(0x234)](u['CollaborationController'])),V(0x3,O[_0x30ac70(0x2a6)])],exports['DesktopCollaborationStatusDisplayController']);function nt(_0x5ccda0){const {status$:_0x379441}=_0x5ccda0;return function(){const _0x2d0369=_0x4f9b;return P[_0x2d0369(0x3d8)](tt,{'status$':_0x379441});};}const me=a[_0x30ac70(0x1ae)](_0x30ac70(0x2e8));var rt=Object[_0x30ac70(0x3b4)],ot=(_0x5ae7df,_0x5d9c98,_0x1e03ac,_0x235d8a)=>{for(var _0x6081b5=_0x235d8a>0x1?void 0x0:_0x235d8a?rt(_0x5d9c98,_0x1e03ac):_0x5d9c98,_0x1b2833=_0x5ae7df['length']-0x1,_0x1482a1;_0x1b2833>=0x0;_0x1b2833--)(_0x1482a1=_0x5ae7df[_0x1b2833])&&(_0x6081b5=_0x1482a1(_0x6081b5)||_0x6081b5);return _0x6081b5;},k=(_0x3cd994,_0x224c14)=>(_0x2729ab,_0x49b377)=>_0x224c14(_0x2729ab,_0x49b377,_0x3cd994);exports[_0x30ac70(0x321)]=class extends a[_0x30ac70(0x2c4)]{constructor(_0x50f7f7,_0x292f5a,_0x16dc3b,_0x4ad66e,_0x576326){const _0x4eed1c=_0x30ac70;super(),this[_0x4eed1c(0x261)]=_0x50f7f7,this['_logService']=_0x292f5a,this['_commandService']=_0x16dc3b,this[_0x4eed1c(0x1e6)]=_0x4ad66e,_0x576326?_0x576326==null||_0x576326[_0x4eed1c(0x3f7)]()[_0x4eed1c(0x3a4)](()=>this[_0x4eed1c(0x1d1)]()):(this[_0x4eed1c(0x26f)][_0x4eed1c(0x231)](_0x4eed1c(0x277),_0x4eed1c(0x20c)),this[_0x4eed1c(0x1d1)]());}async[_0x30ac70(0x1d1)](){const _0x3b7500=_0x30ac70,_0x1abd7a=this['_urlService'][_0x3b7500(0x40e)](_0x3b7500(0x205)),_0x20172f=this[_0x3b7500(0x261)]['getParam'](_0x3b7500(0x326)),_0x3e3dfa=this[_0x3b7500(0x261)][_0x3b7500(0x40e)](_0x3b7500(0x3d9));if(!_0x1abd7a||!_0x20172f){this[_0x3b7500(0x26f)]['debug'](_0x3b7500(0x277),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1dd210=await this[_0x3b7500(0x1e6)][_0x3b7500(0x32e)](_0x1abd7a,Number(_0x20172f),_0x3e3dfa);_0x1dd210&&_0x1dd210 instanceof a[_0x3b7500(0x380)]&&this[_0x3b7500(0x22f)](_0x1dd210);}async[_0x30ac70(0x22f)](_0x32056b){const _0xafb0c0=_0x30ac70;await this[_0xafb0c0(0x310)](_0x32056b),_0x32056b[_0xafb0c0(0x3bf)][_0xafb0c0(0x2d2)](d[_0xafb0c0(0x1c8)](this['dispose$']))[_0xafb0c0(0x287)](_0xe5928e=>{const _0x90e152=_0xafb0c0;_0xe5928e&&this[_0x90e152(0x336)](_0xe5928e);}),this[_0xafb0c0(0x261)][_0xafb0c0(0x249)][_0xafb0c0(0x2d2)](d[_0xafb0c0(0x1c8)](this[_0xafb0c0(0x2bf)]))['subscribe'](()=>this[_0xafb0c0(0x310)](_0x32056b));}[_0x30ac70(0x336)](_0x4ae444,_0x4d0057=!0x1){const _0x4df78b=_0x30ac70,_0x23f18a=this[_0x4df78b(0x261)][_0x4df78b(0x40e)](_0x4df78b(0x3d9));_0x4ae444['getSheetId']()!==_0x23f18a&&this['_urlService'][_0x4df78b(0x394)](_0x4df78b(0x3d9),_0x4ae444[_0x4df78b(0x32b)](),_0x4d0057);}async['_updateSubUnitFromURLParams'](_0x144e5d){const _0x8bb3af=_0x30ac70;var _0x42fdfc;const _0x3e2169=this[_0x8bb3af(0x261)]['getParam'](_0x8bb3af(0x3d9));if(!_0x3e2169||!_0x144e5d[_0x8bb3af(0x382)](_0x3e2169)){const _0x46cb54=_0x144e5d['getUnhiddenWorksheets']()[0x0],_0x57573e=_0x144e5d[_0x8bb3af(0x382)](_0x46cb54);if(!_0x57573e)return;this[_0x8bb3af(0x336)](_0x57573e,!0x0),await this[_0x8bb3af(0x1cd)][_0x8bb3af(0x3dc)](g[_0x8bb3af(0x24e)]['id'],{'unitId':_0x144e5d[_0x8bb3af(0x391)](),'subUnitId':_0x46cb54});return;}((_0x42fdfc=_0x144e5d[_0x8bb3af(0x3f6)]())==null?void 0x0:_0x42fdfc[_0x8bb3af(0x32b)]())!==_0x3e2169&&await this['_commandService'][_0x8bb3af(0x3dc)](g[_0x8bb3af(0x24e)]['id'],{'unitId':_0x144e5d[_0x8bb3af(0x391)](),'subUnitId':_0x3e2169});}},exports[_0x30ac70(0x321)]=ot([k(0x0,me),k(0x1,a[_0x30ac70(0x3de)]),k(0x2,a[_0x30ac70(0x280)]),k(0x3,a['Inject'](u[_0x30ac70(0x387)])),k(0x4,a[_0x30ac70(0x38c)](Xe['IRemoteInstanceService']))],exports[_0x30ac70(0x321)]);var at=Object[_0x30ac70(0x3b4)],ct=(_0x19bcab,_0x1eabb1,_0x2b5ace,_0x1d153f)=>{const _0x33c7f1=_0x30ac70;for(var _0x46b141=_0x1d153f>0x1?void 0x0:_0x1d153f?at(_0x1eabb1,_0x2b5ace):_0x1eabb1,_0x18dc4e=_0x19bcab[_0x33c7f1(0x2e3)]-0x1,_0x5ad8db;_0x18dc4e>=0x0;_0x18dc4e--)(_0x5ad8db=_0x19bcab[_0x18dc4e])&&(_0x46b141=_0x5ad8db(_0x46b141)||_0x46b141);return _0x46b141;},be=(_0x3ce6ff,_0x38ac34)=>(_0x46a956,_0x49dd61)=>_0x38ac34(_0x46a956,_0x49dd61,_0x3ce6ff);let ue=class extends a[_0x30ac70(0x2c4)]{constructor(_0x2421c6,_0x14d205){const _0x46af3a=_0x30ac70;super(),this[_0x46af3a(0x332)]=_0x2421c6,this[_0x46af3a(0x1ce)]=_0x14d205,this[_0x46af3a(0x1d1)]();}[_0x30ac70(0x1d1)](){const _0x11d414=_0x30ac70,_0x108d32=this;this[_0x11d414(0x37b)](this[_0x11d414(0x332)][_0x11d414(0x3cf)]({'onBeforePasteImage':async _0x494de8=>{const _0xc3e06b=_0x11d414,_0x476b67=await _0x108d32[_0xc3e06b(0x1ce)][_0xc3e06b(0x276)](_0x494de8);return _0x476b67?{'source':_0x476b67[_0xc3e06b(0x2ff)],'imageSourceType':_0x476b67['imageSourceType']}:null;}}));}};ue=ct([be(0x0,E['IDocClipboardService']),be(0x1,Ge[_0x30ac70(0x2f4)])],ue);const Oe=[_0x30ac70(0x2e4),_0x30ac70(0x320),_0x30ac70(0x278),'red.300',_0x30ac70(0x346),_0x30ac70(0x2fb)];class Ce extends a[_0x30ac70(0x314)]{constructor(){const _0x1ec547=_0x30ac70;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x1ec547(0x19b),0x0);}[_0x30ac70(0x390)](_0xd9d209){const _0x8ae8dd=_0x30ac70;if(this[_0x8ae8dd(0x288)][_0x8ae8dd(0x2db)](_0xd9d209))return this['_assignedColors'][_0x8ae8dd(0x34e)](_0xd9d209);const _0x387886=Oe[this['_colorIndex']];return this[_0x8ae8dd(0x19b)]=(this['_colorIndex']+0x1)%Oe[_0x8ae8dd(0x2e3)],this[_0x8ae8dd(0x288)][_0x8ae8dd(0x1e1)](_0xd9d209,_0x387886),_0x387886;}}function ye(_0x1aeeac){const _0x4e7844=_0x30ac70;let _0x434f5d='';for(const _0x2ab598 of _0x1aeeac){const {startOffset:_0x316713,endOffset:_0xeefe20,isActive:_0x3fe39a,rangeType:_0x4fe08c,segmentId:_0x19c139,segmentPage:_0x271177}=_0x2ab598;_0x434f5d[_0x4e7844(0x2e3)]&&(_0x434f5d+=','),_0x434f5d+=_0x316713+':'+_0xeefe20+':'+(_0x3fe39a?'1':'0')+':'+_0x4fe08c+':'+_0x19c139+':'+_0x271177;}return _0x434f5d;}function lt(_0x12512){const _0x4469a5=_0x30ac70,_0x4498b1=_0x12512[_0x4469a5(0x239)](','),_0xd150da=[];for(const _0xe56d15 of _0x4498b1){const [_0x236be8,_0x206efd,_0x15c84b,_0xb193b1,_0x4f65f3,_0x3efe89]=_0xe56d15['split'](':');_0xd150da[_0x4469a5(0x2dd)]({'startOffset':Number(_0x236be8),'endOffset':Number(_0x206efd),'collapsed':_0x236be8===_0x206efd,'isActive':_0x15c84b==='1','rangeType':_0xb193b1===a[_0x4469a5(0x3ae)]['TEXT']?a[_0x4469a5(0x3ae)][_0x4469a5(0x1cb)]:a[_0x4469a5(0x3ae)][_0x4469a5(0x35f)],'segmentId':typeof _0x4f65f3==_0x4469a5(0x1d8)?String(_0x4f65f3):'','segmentPage':Number(_0x3efe89!=null?_0x3efe89:-0x1)});}return _0xd150da[_0x4469a5(0x1b2)](_0xedc6f0=>_0xedc6f0['isActive'])||(_0xd150da[0x0]['isActive']=!0x0),_0xd150da;}class pe extends a[_0x30ac70(0x2c4)]{constructor(){const _0x388d64=_0x30ac70;super(...arguments),h(this,_0x388d64(0x1b7),new d[(_0x388d64(0x1e7))](null)),h(this,'collabCursorState$',this[_0x388d64(0x1b7)][_0x388d64(0x2e1)]());}[_0x30ac70(0x350)](_0x23980b){const _0x392f65=_0x30ac70,{unitID:_0x4226f7,memberID:_0x53b746,textRanges:_0x4433bf}=_0x23980b,_0x2dd51b=ye(_0x4433bf);if(_0x2dd51b==='')return;const _0x2812bf={'unitID':_0x4226f7,'memberID':_0x53b746,'selection':_0x2dd51b};this[_0x392f65(0x1b7)]['next'](_0x2812bf);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x74e650,_0x1cda20,_0x4f6638,_0x163943)=>{const _0x518a50=_0x30ac70;for(var _0x435a21=_0x163943>0x1?void 0x0:_0x163943?_t(_0x1cda20,_0x4f6638):_0x1cda20,_0x5a3bc8=_0x74e650[_0x518a50(0x2e3)]-0x1,_0x4915a5;_0x5a3bc8>=0x0;_0x5a3bc8--)(_0x4915a5=_0x74e650[_0x5a3bc8])&&(_0x435a21=_0x4915a5(_0x435a21)||_0x435a21);return _0x435a21;},L=(_0x80d000,_0x9569cc)=>(_0x36b5fb,_0x259a4c)=>_0x9569cc(_0x36b5fb,_0x259a4c,_0x80d000);const ut=0x12c,dt=0x64;let de=class extends a['RxDisposable']{constructor(_0x51501d,_0x25d9a8,_0x4668cc,_0x10e11e,_0x200431,_0x6ed342,_0x58f5c6,_0x5aab8f,_0x973c88){const _0x30db2a=_0x30ac70;super(),h(this,'_online',!0x1),h(this,_0x30db2a(0x1d1),!0x1),h(this,'_cursorInfo$',new d[(_0x30db2a(0x1e7))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),h(this,'_roomMembers$',new d[(_0x30db2a(0x1e7))]([])),h(this,_0x30db2a(0x1f5),this['_roomMembers$'][_0x30db2a(0x2d2)](d[_0x30db2a(0x2ef)](ut))),h(this,_0x30db2a(0x243),a['debounce'](_0x107f97=>{const _0x22977e=_0x30db2a,_0x7796d3={'eventID':m[_0x22977e(0x2a9)][_0x22977e(0x330)],'data':{'unitID':this[_0x22977e(0x1ca)],'memberID':this[_0x22977e(0x2ab)][_0x22977e(0x2b2)](),'selection':ye(_0x107f97)}};this['_session'][_0x22977e(0x2cb)](_0x7796d3,this['unitID']);},dt)),(this['unitID']=_0x51501d,this['_session']=_0x25d9a8,this['_injector']=_0x4668cc,this[_0x30db2a(0x1f2)]=_0x10e11e,this[_0x30db2a(0x1c9)]=_0x200431,this[_0x30db2a(0x3c2)]=_0x6ed342,this['_transformService']=_0x58f5c6,this['_univerInstanceService']=_0x5aab8f,this['_commandService']=_0x973c88);}get['cursorInfo'](){const _0x7ff8ff=_0x30ac70;return this['_cursorInfo$'][_0x7ff8ff(0x381)]();}get['roomMembers'](){const _0x5b3965=_0x30ac70;return this[_0x5b3965(0x3f8)][_0x5b3965(0x381)]();}[_0x30ac70(0x2d4)](){const _0x2028e0=_0x30ac70;super[_0x2028e0(0x2d4)](),this[_0x2028e0(0x28d)][_0x2028e0(0x345)](new Map()),this[_0x2028e0(0x28d)][_0x2028e0(0x388)](),this['_roomMembers$'][_0x2028e0(0x345)]([]),this['_roomMembers$'][_0x2028e0(0x388)]();}[_0x30ac70(0x3db)](){const _0x33ca19=_0x30ac70;this[_0x33ca19(0x1d1)]||(this[_0x33ca19(0x1d1)]=!0x0,this['_session']['sessionStatus$'][_0x33ca19(0x2d2)](d['takeUntil'](this['dispose$']))['subscribe'](_0x495aca=>{const _0x1b6f8f=_0x33ca19;_0x495aca===u['SessionStatus'][_0x1b6f8f(0x417)]?this[_0x1b6f8f(0x357)]():this['_toggleOffline']();}),this['_session'][_0x33ca19(0x1fb)]['pipe'](d[_0x33ca19(0x1c8)](this[_0x33ca19(0x2bf)]))['subscribe'](_0xa1f757=>{const _0x2931dc=_0x33ca19,_0x24cc01=_0xa1f757[_0x2931dc(0x358)];_0x24cc01===m[_0x2931dc(0x2a9)][_0x2931dc(0x330)]&&this[_0x2931dc(0x328)](_0xa1f757),_0x24cc01===m[_0x2931dc(0x2a9)][_0x2931dc(0x27a)]&&this[_0x2931dc(0x298)](_0xa1f757);}),this[_0x33ca19(0x37b)](this[_0x33ca19(0x1cd)][_0x33ca19(0x21b)](_0x25882b=>{const _0x6ea209=_0x33ca19,_0x556667=_0x25882b[_0x6ea209(0x3f4)];_0x556667!=null&&this['_online']&&_0x25882b['id']===Y['SetTextSelectionsOperation']['id']&&_0x556667['unitId']===this[_0x6ea209(0x1ca)]&&_0x556667['isEditing']===!0x1&&_0x556667[_0x6ea209(0x3ca)][_0x6ea209(0x2e3)]>0x0&&this['_updateLocalCursor'](_0x556667[_0x6ea209(0x3ca)]);})),this[_0x33ca19(0x3c2)][_0x33ca19(0x213)][_0x33ca19(0x2d2)](d['takeUntil'](this[_0x33ca19(0x2bf)]))[_0x33ca19(0x287)](_0x2a9b95=>{const _0x3b6f87=_0x33ca19;if((_0x2a9b95==null?void 0x0:_0x2a9b95[_0x3b6f87(0x1ca)])!==this[_0x3b6f87(0x1ca)])return;const _0x1a42d3={'eventID':m[_0x3b6f87(0x2a9)][_0x3b6f87(0x330)],'data':_0x2a9b95};this[_0x3b6f87(0x328)](_0x1a42d3);}),this['disposeWithMe'](this['_commandService'][_0x33ca19(0x21b)](_0x58dc3a=>{const _0x536873=_0x33ca19;if(_0x58dc3a[_0x536873(0x3f4)]==null)return;const _0x53c8ba=_0x58dc3a[_0x536873(0x3f4)];if(_0x58dc3a['id']!==Y[_0x536873(0x3ea)]['id']||_0x53c8ba[_0x536873(0x28e)]!==this[_0x536873(0x1ca)])return;const _0x1076a6={'id':_0x536873(0x343),'params':_0x53c8ba},_0x115761=this[_0x536873(0x1c6)];for(const [_0x4ef4d5,_0x1d23a4]of _0x115761){const _0x43d921={'id':_0x536873(0x343),'params':{'unitId':this[_0x536873(0x1ca)],'actions':null,'textRanges':_0x1d23a4[_0x536873(0x3ca)]}},_0x33b9b2=this['_transformService'][_0x536873(0x301)](_0x1076a6,_0x43d921,!0x1);if(m[_0x536873(0x2b5)](_0x33b9b2))throw _0x33b9b2['error'];_0x115761[_0x536873(0x1e1)](_0x4ef4d5,{..._0x1d23a4,'ranges':_0x33b9b2[_0x536873(0x1b8)][_0x536873(0x3f4)][_0x536873(0x27b)]});}queueMicrotask(()=>{const _0x42b735=_0x536873;this['_cursorInfo$'][_0x42b735(0x345)](_0x115761);});})));}[_0x30ac70(0x328)](_0xf755c5){const _0x117a9f=_0x30ac70;var _0x259a63,_0x9a1dc6;const {memberID:_0x35fb8c,selection:_0xb3e9}=_0xf755c5[_0x117a9f(0x227)],_0x45c197=lt(_0xb3e9),_0x3f02de=(_0x9a1dc6=(_0x259a63=this[_0x117a9f(0x1c9)][_0x117a9f(0x337)](this[_0x117a9f(0x1ca)],_0x35fb8c))==null?void 0x0:_0x259a63[_0x117a9f(0x36a)])!=null?_0x9a1dc6:_0x117a9f(0x395),_0x15caee={'color':this[_0x117a9f(0x1f2)][_0x117a9f(0x390)](_0x35fb8c),'name':_0x3f02de,'ranges':_0x45c197},_0x46d7ae=this[_0x117a9f(0x1c6)];_0x46d7ae[_0x117a9f(0x1e1)](_0x35fb8c,_0x15caee),this['_cursorInfo$'][_0x117a9f(0x345)](_0x46d7ae);}[_0x30ac70(0x298)](_0x28b6c7){const _0x14c2ea=_0x30ac70,{memberID:_0xa0334e}=_0x28b6c7[_0x14c2ea(0x227)],_0x356a41=this['cursorInfo'];_0x356a41[_0x14c2ea(0x3ba)](_0xa0334e),this['_cursorInfo$']['next'](_0x356a41);}['_toggleOnline'](){const _0x39939b=_0x30ac70;var _0x3b24b8;if(this[_0x39939b(0x3df)]=!0x0,((_0x3b24b8=this[_0x39939b(0x341)][_0x39939b(0x35b)]())==null?void 0x0:_0x3b24b8[_0x39939b(0x391)]())!==this['unitID'])return;const _0x4101aa=this['_injector'][_0x39939b(0x34e)](Y['DocSelectionManagerService'])[_0x39939b(0x3fb)]();Array[_0x39939b(0x1d7)](_0x4101aa)&&_0x4101aa[_0x39939b(0x2e3)]>0x0&&this[_0x39939b(0x243)](_0x4101aa);}['_toggleOffline'](){const _0xf6e05f=_0x30ac70;this[_0xf6e05f(0x3df)]=!0x1;}};de=ht([L(0x2,a[_0x30ac70(0x234)](a[_0x30ac70(0x21e)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x30ac70(0x234)](u[_0x30ac70(0x22e)])),L(0x5,a[_0x30ac70(0x234)](pe)),L(0x6,m['ITransformService']),L(0x7,a[_0x30ac70(0x291)]),L(0x8,a[_0x30ac70(0x280)])],de);var St=Object[_0x30ac70(0x3b4)],ft=(_0x48b4ed,_0x6cbc40,_0x2d4b7c,_0x1042a5)=>{const _0x5050f4=_0x30ac70;for(var _0xfd0bb8=_0x1042a5>0x1?void 0x0:_0x1042a5?St(_0x6cbc40,_0x2d4b7c):_0x6cbc40,_0x1d3396=_0x48b4ed[_0x5050f4(0x2e3)]-0x1,_0x6d210e;_0x1d3396>=0x0;_0x1d3396--)(_0x6d210e=_0x48b4ed[_0x1d3396])&&(_0xfd0bb8=_0x6d210e(_0xfd0bb8)||_0xfd0bb8);return _0xfd0bb8;},A=(_0x228c1f,_0x3ecffa)=>(_0x42bca6,_0x1b39f3)=>_0x3ecffa(_0x42bca6,_0x1b39f3,_0x228c1f);const It=0x12c,vt=0x64,gt=()=>{let _0x375585=[],_0x7ba3dd=!0x1;return _0x387575=>{const _0x3bfe62=_0x4f9b;_0x375585[_0x3bfe62(0x2dd)](_0x387575),_0x7ba3dd||(_0x7ba3dd=!0x0,setTimeout(()=>{const _0x2e16ef=_0x3bfe62;_0x375585[_0x2e16ef(0x414)](_0x3977f5=>_0x3977f5()),_0x375585=[],_0x7ba3dd=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x1ea5b2,_0x58d5bc,_0x5c078e,_0x4d18e9,_0x2aff07,_0x52fd3e,_0x3cb80e,_0x567e57){const _0x2bc3f4=_0x30ac70;super(),h(this,_0x2bc3f4(0x3df),!0x1),h(this,'_init',!0x1),h(this,_0x2bc3f4(0x28d),new d[(_0x2bc3f4(0x1e7))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$'][_0x2bc3f4(0x2e1)]()),h(this,_0x2bc3f4(0x3f8),new d[(_0x2bc3f4(0x1e7))]([])),h(this,_0x2bc3f4(0x1f5),this['_roomMembers$']['pipe'](d['debounceTime'](It))),h(this,_0x2bc3f4(0x243),a[_0x2bc3f4(0x2e9)]((_0x57df70,_0x8d418)=>{const _0x1b970d=_0x2bc3f4,_0xe0da4a={'eventID':m[_0x1b970d(0x2a9)][_0x1b970d(0x330)],'data':{'unitID':this[_0x1b970d(0x1ca)],'memberID':this[_0x1b970d(0x2ab)][_0x1b970d(0x2b2)](),'selection':Ee['serializeRangeWithSheet'](_0x57df70,_0x8d418[_0x1b970d(0x24f)])}};this[_0x1b970d(0x2ab)][_0x1b970d(0x2cb)](_0xe0da4a,this[_0x1b970d(0x1ca)]);},vt)),(this[_0x2bc3f4(0x1ca)]=_0x1ea5b2,this[_0x2bc3f4(0x2ab)]=_0x58d5bc,this[_0x2bc3f4(0x3ec)]=_0x5c078e,this['_colorAssignService']=_0x4d18e9,this[_0x2bc3f4(0x1c9)]=_0x2aff07,this[_0x2bc3f4(0x341)]=_0x52fd3e,this[_0x2bc3f4(0x1cd)]=_0x3cb80e,this[_0x2bc3f4(0x203)]=_0x567e57);}get[_0x30ac70(0x1c6)](){return this['_cursorInfo$']['getValue']();}get[_0x30ac70(0x265)](){const _0x4cb570=_0x30ac70;return this[_0x4cb570(0x3f8)][_0x4cb570(0x381)]();}[_0x30ac70(0x2d4)](){const _0x2fa5e1=_0x30ac70;super['dispose'](),this['_cursorInfo$'][_0x2fa5e1(0x345)](new Map()),this[_0x2fa5e1(0x28d)]['complete'](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x2fa5e1(0x388)]();}[_0x30ac70(0x3db)](){const _0x2199a5=_0x30ac70;this[_0x2199a5(0x1d1)]||(this[_0x2199a5(0x1d1)]=!0x0,this['_session'][_0x2199a5(0x38a)]['pipe'](d['takeUntil'](this[_0x2199a5(0x2bf)]))[_0x2199a5(0x287)](_0x237626=>{const _0x2cc92a=_0x2199a5;_0x237626===u[_0x2cc92a(0x2fd)][_0x2cc92a(0x417)]?this[_0x2cc92a(0x357)]():this[_0x2cc92a(0x207)]();}),this['_session'][_0x2199a5(0x1fb)][_0x2199a5(0x2d2)](d[_0x2199a5(0x1c8)](this[_0x2199a5(0x2bf)]))[_0x2199a5(0x287)](_0x333223=>{const _0x239835=_0x2199a5,_0x450099=_0x333223[_0x239835(0x358)];_0x450099===m[_0x239835(0x2a9)][_0x239835(0x330)]&&this['_onCursorUpdate'](_0x333223),_0x450099===m['CollaborationEvent'][_0x239835(0x27a)]&&this[_0x239835(0x298)](_0x333223);}),this['_onRefRangeChange'](),this[_0x2199a5(0x37b)](this[_0x2199a5(0x1cd)][_0x2199a5(0x21b)](_0x4e9eb3=>{const _0x1aacd8=_0x2199a5;if(this[_0x1aacd8(0x3df)]&&_0x4e9eb3['id']===g['SetSelectionsOperation']['id']&&_0x4e9eb3[_0x1aacd8(0x3f4)][_0x1aacd8(0x28e)]===this[_0x1aacd8(0x1ca)]){const _0x44e9f5=_0x4e9eb3[_0x1aacd8(0x3f4)];this['_updateLocalCursor'](_0x44e9f5[_0x1aacd8(0x37c)],_0x44e9f5[_0x1aacd8(0x384)][0x0]);}})));}[_0x30ac70(0x328)](_0x20fb2b){const _0xc4f151=_0x30ac70;var _0x17b93d,_0x3c65b0;const {memberID:_0x379985,selection:_0x39a974}=_0x20fb2b[_0xc4f151(0x227)],{sheetName:_0x43c110,range:_0x438e37}=Ee[_0xc4f151(0x365)](_0x39a974),_0x5d5601={'name':(_0x3c65b0=(_0x17b93d=this[_0xc4f151(0x1c9)][_0xc4f151(0x337)](this[_0xc4f151(0x1ca)],_0x379985))==null?void 0x0:_0x17b93d['name'])!=null?_0x3c65b0:_0xc4f151(0x395),'range':this[_0xc4f151(0x32f)](_0x43c110,_0x438e37),'sheetID':_0x43c110,'color':this['_colorAssignService'][_0xc4f151(0x390)](_0x379985),'selection':_0x39a974},_0x54c95f=this['cursorInfo'];_0x54c95f['set'](_0x379985,_0x5d5601),this[_0xc4f151(0x28d)][_0xc4f151(0x345)](_0x54c95f);}['_onCursorDelete'](_0x192cb5){const _0x7b96ea=_0x30ac70,{memberID:_0xb751f6}=_0x192cb5[_0x7b96ea(0x227)],_0x289db4=this[_0x7b96ea(0x1c6)];_0x289db4[_0x7b96ea(0x3ba)](_0xb751f6),this[_0x7b96ea(0x28d)][_0x7b96ea(0x345)](_0x289db4);}[_0x30ac70(0x32f)](_0x5e70a9,_0x5a0b14){const _0x257783=_0x30ac70;var _0x363b44,_0x1306f8;const _0xd5863d=(_0x1306f8=(_0x363b44=this[_0x257783(0x341)][_0x257783(0x361)](this[_0x257783(0x1ca)]))==null?void 0x0:_0x363b44[_0x257783(0x382)](_0x5e70a9))==null?void 0x0:_0x1306f8[_0x257783(0x3c4)]();return(_0xd5863d==null?void 0x0:_0xd5863d['find'](_0x2450d8=>a[_0x257783(0x20d)]['contains'](_0x2450d8,_0x5a0b14)))||_0x5a0b14;}['_onRefRangeChange'](){const _0x4700a4=_0x30ac70,_0x4c2bec=new a[(_0x4700a4(0x2ba))](),_0x3d1f75=gt(),_0x29075e=()=>{const _0x1d5063=_0x4700a4;_0x4c2bec[_0x1d5063(0x2d4)]();const _0x4b44bf=(_0x1e38c9,_0x123aa0,_0x4a75df,_0x1e0b67)=>{const _0x351a47=_0x1d5063;let _0x5d0f5e=[];switch(_0x1e38c9['id']){case g[_0x351a47(0x35e)]['DeleteRangeMoveLeftCommandId']:{_0x5d0f5e=g[_0x351a47(0x373)](_0x1e38c9,_0x1e0b67);break;}case g['EffectRefRangId'][_0x351a47(0x370)]:{_0x5d0f5e=g[_0x351a47(0x1da)](_0x1e38c9,_0x1e0b67);break;}case g[_0x351a47(0x35e)][_0x351a47(0x35a)]:{_0x5d0f5e=g['handleInsertCol'](_0x1e38c9,_0x1e0b67);break;}case g['EffectRefRangId'][_0x351a47(0x2f5)]:{_0x5d0f5e=g[_0x351a47(0x25a)](_0x1e38c9,_0x1e0b67);break;}case g[_0x351a47(0x35e)][_0x351a47(0x28f)]:{_0x5d0f5e=g[_0x351a47(0x1de)](_0x1e38c9,_0x1e0b67);break;}case g[_0x351a47(0x35e)][_0x351a47(0x3ed)]:{_0x5d0f5e=g[_0x351a47(0x34f)](_0x1e38c9,_0x1e0b67);break;}case g['EffectRefRangId']['MoveRangeCommandId']:{_0x5d0f5e=g[_0x351a47(0x1ef)](_0x1e38c9,_0x1e0b67);break;}case g[_0x351a47(0x35e)][_0x351a47(0x315)]:{_0x5d0f5e=g[_0x351a47(0x377)](_0x1e38c9,_0x1e0b67);break;}case g[_0x351a47(0x35e)][_0x351a47(0x1a2)]:{_0x5d0f5e=g[_0x351a47(0x204)](_0x1e38c9,_0x1e0b67);break;}}const _0x136bd9=g[_0x351a47(0x219)](_0x5d0f5e,_0x1e0b67),_0x53d9f4=this[_0x351a47(0x1c6)][_0x351a47(0x34e)](_0x123aa0);if(_0x53d9f4&&_0x136bd9){const _0x3240f8={..._0x53d9f4,'range':_0x136bd9};this['cursorInfo']['set'](_0x123aa0,_0x3240f8),_0x3d1f75(()=>{const _0x45022b=_0x351a47,_0x56777d=this['_refRangeService'][_0x45022b(0x33c)](_0x136bd9,_0x2f7cfa=>(_0x56777d['dispose'](),_0x4b44bf(_0x2f7cfa,_0x123aa0,_0x4a75df,_0x136bd9)));_0x4c2bec['add'](_0x56777d);});}return{'redos':[],'undos':[]};};this[_0x1d5063(0x1c6)]['forEach']((_0x153125,_0x519ec4)=>{const _0x3891a3=_0x1d5063,{range:_0x1c6c42,sheetID:_0x380a44}=_0x153125,_0x3ef51e=this['_refRangeService'][_0x3891a3(0x33c)](_0x1c6c42,_0xb916b8=>(_0x3ef51e['dispose'](),_0x4b44bf(_0xb916b8,_0x519ec4,_0x380a44,_0x1c6c42)));_0x4c2bec['add'](_0x3ef51e);});};this[_0x4700a4(0x37b)](a[_0x4700a4(0x1dc)](this['_cursorInfo$'][_0x4700a4(0x287)](()=>{_0x29075e();})));}[_0x30ac70(0x357)](){const _0x39b9c=_0x30ac70;var _0x5bcce2,_0x271a3c;if(this[_0x39b9c(0x3df)]=!0x0,((_0x5bcce2=this[_0x39b9c(0x341)][_0x39b9c(0x35b)]())==null?void 0x0:_0x5bcce2['getUnitId']())!==this[_0x39b9c(0x1ca)])return;const _0x9d092b=(_0x271a3c=this[_0x39b9c(0x3ec)][_0x39b9c(0x34e)](g[_0x39b9c(0x32a)])[_0x39b9c(0x1a7)]())==null?void 0x0:_0x271a3c[0x0],_0x4f90d4=this[_0x39b9c(0x341)][_0x39b9c(0x293)](a[_0x39b9c(0x38d)][_0x39b9c(0x1db)])[_0x39b9c(0x3f6)]();_0x9d092b&&_0x4f90d4&&this[_0x39b9c(0x243)](_0x4f90d4[_0x39b9c(0x32b)](),_0x9d092b);}[_0x30ac70(0x207)](){const _0x58f0e6=_0x30ac70;this[_0x58f0e6(0x3df)]=!0x1;}};Se=ft([A(0x2,a['Inject'](a[_0x30ac70(0x21e)])),A(0x3,a['Inject'](Ce)),A(0x4,a['Inject'](u[_0x30ac70(0x22e)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0x30ac70(0x280)]),A(0x7,a['Inject'](g[_0x30ac70(0x1fe)]))],Se);var mt=Object[_0x30ac70(0x3b4)],Ct=(_0x13587e,_0x1aa765,_0x63c1fb,_0x10ad4e)=>{for(var _0x367a92=_0x10ad4e>0x1?void 0x0:_0x10ad4e?mt(_0x1aa765,_0x63c1fb):_0x1aa765,_0x285d46=_0x13587e['length']-0x1,_0x1967ea;_0x285d46>=0x0;_0x285d46--)(_0x1967ea=_0x13587e[_0x285d46])&&(_0x367a92=_0x1967ea(_0x367a92)||_0x367a92);return _0x367a92;},ie=(_0x150b53,_0x795792)=>(_0x219a2f,_0x518c67)=>_0x795792(_0x219a2f,_0x518c67,_0x150b53);let x=class extends a[_0x30ac70(0x2c4)]{constructor(_0xdfa469,_0x1d9fbe,_0x23c8ce){const _0x3309ab=_0x30ac70;super(),h(this,_0x3309ab(0x1be),new Map()),h(this,_0x3309ab(0x3b6),new d[(_0x3309ab(0x3fa))]()),(this['_univerInstanceService']=_0xdfa469,this[_0x3309ab(0x3ec)]=_0x1d9fbe,this[_0x3309ab(0x244)]=_0x23c8ce,this['_init']());}[_0x30ac70(0x2d4)](){const _0x1bb4d9=_0x30ac70;super[_0x1bb4d9(0x2d4)](),this[_0x1bb4d9(0x3b6)][_0x1bb4d9(0x388)](),this[_0x1bb4d9(0x1be)][_0x1bb4d9(0x414)](_0x2bd68a=>_0x2bd68a[_0x1bb4d9(0x2d4)]());}[_0x30ac70(0x28b)](_0x4ea624){const _0xfc6cbc=_0x30ac70;return this[_0xfc6cbc(0x1be)]['has'](_0x4ea624)?this[_0xfc6cbc(0x1be)][_0xfc6cbc(0x34e)](_0x4ea624)[_0xfc6cbc(0x25d)]:this[_0xfc6cbc(0x3b6)][_0xfc6cbc(0x2d2)](d['filter'](_0x35dd2c=>_0x35dd2c[_0xfc6cbc(0x1ca)]===_0x4ea624),d['switchMap'](_0x331954=>_0x331954[_0xfc6cbc(0x25d)]));}[_0x30ac70(0x1d1)](){const _0x46c67d=_0x30ac70;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x46c67d(0x38d)][_0x46c67d(0x1db)])['pipe'](d['takeUntil'](this[_0x46c67d(0x2bf)]))['subscribe'](async _0x147f63=>{const _0xc1f95=_0x46c67d,_0x4679f0=_0x147f63['getUnitId'](),_0x12fc56=await this[_0xc1f95(0x229)](_0x4679f0);this[_0xc1f95(0x3b6)][_0xc1f95(0x345)](_0x12fc56),this[_0xc1f95(0x1be)]['set'](_0x4679f0,_0x12fc56);}),this[_0x46c67d(0x341)]['getTypeOfUnitAdded$'](a[_0x46c67d(0x38d)][_0x46c67d(0x3e6)])[_0x46c67d(0x2d2)](d[_0x46c67d(0x1c8)](this[_0x46c67d(0x2bf)]))['pipe'](d[_0x46c67d(0x376)](_0x50ac65=>!_0x50ac65['getUnitId']()[_0x46c67d(0x3d0)]('__')))[_0x46c67d(0x287)](async _0x500555=>{const _0x5ba6bf=_0x46c67d,_0x3e7dd5=_0x500555[_0x5ba6bf(0x391)](),_0x5504b5=await this['_startDocCollabCursor'](_0x3e7dd5);this['_entityInit$']['next'](_0x5504b5),this['_entities']['set'](_0x3e7dd5,_0x5504b5);}),d[_0x46c67d(0x21c)](this[_0x46c67d(0x341)][_0x46c67d(0x30d)](a[_0x46c67d(0x38d)][_0x46c67d(0x3e6)]),this[_0x46c67d(0x341)][_0x46c67d(0x30d)](a['UniverInstanceType'][_0x46c67d(0x1db)]))[_0x46c67d(0x2d2)](d['takeUntil'](this[_0x46c67d(0x2bf)]))[_0x46c67d(0x287)](_0x1790bb=>{const _0x2688ce=_0x46c67d,_0x7ee43=_0x1790bb['getUnitId'](),_0x344289=this['_entities'][_0x2688ce(0x34e)](_0x7ee43);_0x344289&&(_0x344289[_0x2688ce(0x2d4)](),this[_0x2688ce(0x1be)]['delete'](_0x7ee43));});}async[_0x30ac70(0x229)](_0x3b6921){const _0x508b3b=_0x30ac70,_0x1aebf8=await this[_0x508b3b(0x244)][_0x508b3b(0x2f9)](_0x3b6921),_0x33c03a=this[_0x508b3b(0x3ec)][_0x508b3b(0x2ac)](Se,_0x3b6921,_0x1aebf8);return _0x33c03a[_0x508b3b(0x3db)](),_0x33c03a;}async[_0x30ac70(0x23f)](_0x3702ae){const _0x597b56=_0x30ac70,_0x296a21=await this[_0x597b56(0x244)][_0x597b56(0x2f9)](_0x3702ae),_0x8891c7=this[_0x597b56(0x3ec)]['createInstance'](de,_0x3702ae,_0x296a21);return _0x8891c7[_0x597b56(0x3db)](),_0x8891c7;}};x=Ct([ie(0x0,a[_0x30ac70(0x291)]),ie(0x1,a[_0x30ac70(0x234)](a['Injector'])),ie(0x2,a[_0x30ac70(0x234)](u[_0x30ac70(0x26b)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x4ed1c,_0x998831){const _0x4afada=_0x30ac70;let {radius:_0x956695,width:_0x144184,height:_0x55648c}=_0x998831;_0x956695=_0x956695!=null?_0x956695:0x0,_0x144184=_0x144184!=null?_0x144184:0x1e,_0x55648c=_0x55648c!=null?_0x55648c:0x1e;let _0x4b814c=0x0,_0x52110b=0x0,_0x5d3cc3=0x0;_0x4b814c=_0x52110b=_0x5d3cc3=Math[_0x4afada(0x325)](_0x956695,_0x144184/0x2,_0x55648c/0x2),_0x4ed1c['beginPath'](),_0x4ed1c[_0x4afada(0x415)](_0x4b814c,0x0),_0x4ed1c[_0x4afada(0x355)](_0x144184-_0x52110b,0x0),_0x4ed1c[_0x4afada(0x25e)](_0x144184-_0x52110b,_0x52110b,_0x52110b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ed1c[_0x4afada(0x355)](_0x144184,_0x55648c-_0x5d3cc3),_0x4ed1c[_0x4afada(0x25e)](_0x144184-_0x5d3cc3,_0x55648c-_0x5d3cc3,_0x5d3cc3,0x0,Math['PI']/0x2,!0x1),_0x4ed1c['lineTo'](0x0,_0x55648c),_0x4ed1c['lineTo'](0x0,_0x4b814c),_0x4ed1c['arc'](_0x4b814c,_0x4b814c,_0x4b814c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ed1c[_0x4afada(0x404)](),_0x998831[_0x4afada(0x1ab)]&&(_0x4ed1c[_0x4afada(0x259)](),_0x4ed1c[_0x4afada(0x279)]=_0x998831['fill'],_0x998831[_0x4afada(0x2be)]===_0x4afada(0x223)?_0x4ed1c[_0x4afada(0x1ab)](_0x4afada(0x223)):_0x4ed1c['fill'](),_0x4ed1c[_0x4afada(0x1f3)]());}class ee extends p[_0x30ac70(0x251)]{constructor(_0x144239,_0x1438c6){const _0x2a1b33=_0x30ac70;super(_0x144239,_0x1438c6),h(this,'color'),h(this,_0x2a1b33(0x403)),(this['color']=_0x1438c6==null?void 0x0:_0x1438c6[_0x2a1b33(0x250)],this[_0x2a1b33(0x403)]=_0x1438c6==null?void 0x0:_0x1438c6['text']);}static['drawWith'](_0xa9da72,_0x5031d2){const _0x1e9de2=_0x30ac70,{text:_0x457a72,color:_0x1a8eb0}=_0x5031d2;_0xa9da72[_0x1e9de2(0x259)](),_0xa9da72[_0x1e9de2(0x226)]=_0x1e9de2(0x1ea);const _0x42bd2b=_0xa9da72[_0x1e9de2(0x37e)](_0x457a72)[_0x1e9de2(0x333)],_0x24897d=Math[_0x1e9de2(0x325)](_0x42bd2b+0x2*ne,Te);Et(_0xa9da72,{'height':W,'radius':0x4,'width':_0x24897d,'fill':_0x1a8eb0}),_0xa9da72[_0x1e9de2(0x279)]=_0x1e9de2(0x2c5);const _0x4cca31=ne,_0x5dcb7a=W-pt,_0x11301c=Te-0x2*ne;if(_0x42bd2b>_0x11301c){let _0x471a1e='',_0x6400f8=0x0;for(const _0xee2c3e of _0x457a72){const _0xb7894c=_0xa9da72[_0x1e9de2(0x37e)](_0xee2c3e)['width'];if(_0x6400f8+_0xb7894c<=_0x11301c-_0xa9da72[_0x1e9de2(0x37e)](_0x1e9de2(0x316))[_0x1e9de2(0x333)])_0x471a1e+=_0xee2c3e,_0x6400f8+=_0xb7894c;else{_0x471a1e+=_0x1e9de2(0x316);break;}}_0xa9da72[_0x1e9de2(0x3fd)](_0x471a1e,_0x4cca31,_0x5dcb7a);}else _0xa9da72['fillText'](_0x457a72,_0x4cca31,_0x5dcb7a);_0xa9da72[_0x1e9de2(0x1f3)]();}[_0x30ac70(0x3a2)](_0x4b6b09){const _0x55350e=_0x30ac70;ee[_0x55350e(0x2fc)](_0x4b6b09,this);}}const re='collab-text-anchor-',bt='collab-text-range-',Ot='collab-rect-range-',F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x30ac70(0x20a);class Re{constructor(_0x4a1820,_0x5c765d,_0x3ec5f5,_0x4ec315){const _0x4f486b=_0x30ac70;h(this,_0x4f486b(0x22c),[]),h(this,_0x4f486b(0x2f3),null),h(this,_0x4f486b(0x1f1),null),h(this,_0x4f486b(0x2df),null),h(this,'_hideTimer',null),h(this,_0x4f486b(0x233),null),(this[_0x4f486b(0x268)]=_0x4a1820,this[_0x4f486b(0x1b6)]=_0x5c765d,this['_docSkeleton']=_0x3ec5f5,this[_0x4f486b(0x1c1)]=_0x4ec315,this[_0x4f486b(0x32d)]());}set[_0x30ac70(0x23e)](_0x5c95f2){const _0xaea86e=_0x30ac70;_0x5c95f2?(this[_0xaea86e(0x2df)]&&this[_0xaea86e(0x2df)][_0xaea86e(0x25b)](),this[_0xaea86e(0x1f1)]&&this[_0xaea86e(0x1f1)][_0xaea86e(0x22d)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0xaea86e(0x1f1)]&&this['_textBubble'][_0xaea86e(0x25b)]());}[_0x30ac70(0x2d4)](){const _0x19438c=_0x30ac70;for(const _0x1fd295 of this[_0x19438c(0x22c)])_0x1fd295[_0x19438c(0x2d4)]();this[_0x19438c(0x1f1)]&&this[_0x19438c(0x1f1)][_0x19438c(0x2d4)](),this[_0x19438c(0x2df)]&&this[_0x19438c(0x2df)]['dispose'](),this[_0x19438c(0x2f3)]&&this[_0x19438c(0x2f3)]['dispose'](),this[_0x19438c(0x233)]&&this[_0x19438c(0x233)]();}[_0x30ac70(0x32d)](){const _0x5bc5a4=_0x30ac70;var _0x54e187;const {_docSkeleton:_0x1f04dd,_document:_0x4bebb8}=this,{color:_0x545f29,name:_0xe6bf35,ranges:_0x78f6de}=this[_0x5bc5a4(0x268)],_0x5045d0=_0x4bebb8[_0x5bc5a4(0x313)](),{docsLeft:_0x202cff,docsTop:_0x59a62e}=_0x5045d0,_0x3d709c=new E[(_0x5bc5a4(0x1a0))](_0x5045d0,_0x1f04dd);for(const {startOffset:_0x49de48,endOffset:_0x64d83c,rangeType:_0x4d360a,segmentId:_0x473ff1,segmentPage:_0x5c3757,collapsed:_0x46d8b5,isActive:_0x26d3c1}of _0x78f6de){const _0x558bc4=_0x1f04dd[_0x5bc5a4(0x258)](_0x49de48,!0x0,_0x473ff1,_0x5c3757);let _0x365979=_0x1f04dd['findNodePositionByCharIndex'](_0x64d83c,!0x0,_0x473ff1,_0x5c3757);if(_0x365979==null&&(_0x365979=_0x1f04dd[_0x5bc5a4(0x258)](_0x64d83c-0x1,!0x1,_0x473ff1,_0x5c3757)),_0x26d3c1){const {contentBoxPointGroup:_0x3f6be0}=_0x3d709c[_0x5bc5a4(0x1cc)](_0x365979,_0x365979);if(_0x3f6be0['length']===0x0)continue;this['_drawAnchor'](_0x545f29,_0x3f6be0,_0x202cff,_0x59a62e,_0xe6bf35),this[_0x5bc5a4(0x233)]=this['_handleHover']();}if(_0x558bc4&&_0x365979){if(_0x4d360a===a[_0x5bc5a4(0x3ae)]['RECT']){const _0x7f600d=new E[(_0x5bc5a4(0x30a))](_0x5045d0,_0x1f04dd),{pointGroup:_0x41677f}=(_0x54e187=_0x7f600d[_0x5bc5a4(0x1cc)](_0x558bc4,_0x365979))!=null?_0x54e187:{};if(_0x41677f==null||_0x41677f[_0x5bc5a4(0x2e3)]===0x0)continue;this['_drawRectRange'](_0x545f29,_0x41677f,_0x202cff,_0x59a62e);}else{if(!_0x46d8b5){const {borderBoxPointGroup:_0x4b9cc8}=_0x3d709c[_0x5bc5a4(0x1cc)](_0x558bc4,_0x365979);if(_0x4b9cc8[_0x5bc5a4(0x2e3)]===0x0)continue;this[_0x5bc5a4(0x236)](_0x545f29,_0x4b9cc8,_0x202cff,_0x59a62e);}}}}}[_0x30ac70(0x412)](_0x20559e,_0x395259,_0x1c553c,_0x5018b7,_0x18fa05){const _0x30918d=_0x30ac70,_0x310513=this['_getAnchorBounding'](_0x395259),{left:_0x366c06,top:_0xb5ddca,height:_0x586f14}=_0x310513,_0x43dd9d=this['_getScale'](),_0x5ade73=Rt/_0x43dd9d,_0x44c063=new p[(_0x30918d(0x407))](re+a[_0x30918d(0x245)](F),{'left':_0x366c06+_0x1c553c-_0x5ade73,'top':_0xb5ddca+_0x5018b7,'height':_0x586f14,'width':Tt,'fill':_0x20559e||p[_0x30918d(0x2b0)](a[_0x30918d(0x3f3)][_0x30918d(0x399)],0x0),'strokeWidth':_0x5ade73,'stroke':Dt,'evented':!0x0});this[_0x30918d(0x2f3)]=_0x44c063,this[_0x30918d(0x1b6)]['addObject'](_0x44c063,E[_0x30918d(0x19e)]);const _0x3517d9=new p[(_0x30918d(0x407))](re+a[_0x30918d(0x245)](F),{'left':_0x366c06+_0x1c553c-_0x5ade73,'top':_0xb5ddca+_0x5018b7-oe/0x2,'height':oe,'width':oe,'fill':_0x20559e||p['getColor'](a[_0x30918d(0x3f3)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x20559e||p['getColor'](a[_0x30918d(0x3f3)][_0x30918d(0x399)],0x0),'evented':!0x1});this[_0x30918d(0x2df)]=_0x3517d9,this[_0x30918d(0x1b6)]['addObject'](_0x3517d9,E[_0x30918d(0x19e)]);const _0x5ca8c8=new ee(re+a[_0x30918d(0x245)](F),{'left':_0x366c06+_0x1c553c-_0x5ade73,'top':_0xb5ddca+_0x5018b7-W,'text':_0x18fa05,'color':_0x20559e});this[_0x30918d(0x1f1)]=_0x5ca8c8,this['_scene'][_0x30918d(0x312)](_0x5ca8c8,E['TEXT_RANGE_LAYER_INDEX']),this[_0x30918d(0x23e)]=!0x1;}['_handleHover'](){const _0x7c099f=_0x30ac70,_0x2123ec=this['_anchor'][_0x7c099f(0x2ae)][_0x7c099f(0x379)](()=>{const _0x2458c5=_0x7c099f;this[_0x2458c5(0x23e)]=!0x0;}),_0x4cc45a=this[_0x7c099f(0x2f3)]['onPointerLeave$'][_0x7c099f(0x379)](()=>{const _0x5f1980=_0x7c099f;this[_0x5f1980(0x3d5)]&&clearTimeout(this[_0x5f1980(0x3d5)]),this['_hideTimer']=setTimeout(()=>{const _0x29ff72=_0x5f1980;this[_0x29ff72(0x23e)]=!0x1;},0x7d0);});return()=>{const _0x3930bf=_0x7c099f;_0x2123ec[_0x3930bf(0x2cc)](),_0x4cc45a[_0x3930bf(0x2cc)]();};}[_0x30ac70(0x236)](_0x2238ff,_0x25741a,_0x5115ed,_0x1b6541){const _0x184e81=_0x30ac70,_0x42ce96=new a[(_0x184e81(0x1af))](_0x2238ff)['setAlpha'](0.2)['toRgbString'](),_0x4b71b7=new p[(_0x184e81(0x201))](bt+a[_0x184e81(0x245)](F),{'pointsGroup':_0x25741a,'fill':_0x42ce96||p[_0x184e81(0x2b0)](a[_0x184e81(0x3f3)][_0x184e81(0x399)],0.2),'left':_0x5115ed,'top':_0x1b6541,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x184e81(0x22c)]['push'](_0x4b71b7),this[_0x184e81(0x1b6)][_0x184e81(0x312)](_0x4b71b7,E[_0x184e81(0x19e)]);}[_0x30ac70(0x3a1)](_0x59c55a,_0x2471aa,_0x1b149e,_0x14db27){const _0x226128=_0x30ac70,_0x31f69b=new a[(_0x226128(0x1af))](_0x59c55a)[_0x226128(0x206)](0.2)[_0x226128(0x3c5)](),_0x49e500=new p[(_0x226128(0x201))](Ot+a[_0x226128(0x245)](F),{'pointsGroup':_0x2471aa,'fill':_0x31f69b||p[_0x226128(0x2b0)](a[_0x226128(0x3f3)][_0x226128(0x399)],0.2),'left':_0x1b149e,'top':_0x14db27,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x226128(0x22c)][_0x226128(0x2dd)](_0x49e500),this[_0x226128(0x1b6)]['addObject'](_0x49e500,E['TEXT_RANGE_LAYER_INDEX']);}[_0x30ac70(0x2dc)](_0x2cdaf6){const _0x351690=_0x2cdaf6[0x0],_0x4c72b8=_0x351690[0x0],_0x866f36=_0x351690[0x2],{x:_0x4097ca,y:_0x3f33ad}=_0x4c72b8,{x:_0x45fd75,y:_0xaaa114}=_0x866f36;return{'left':_0x4097ca,'top':_0x3f33ad,'width':_0x45fd75-_0x4097ca,'height':_0xaaa114-_0x3f33ad};}[_0x30ac70(0x1d3)](){const _0x36c971=_0x30ac70,{scaleX:_0x43529b,scaleY:_0x12d7c5}=this['_scene'][_0x36c971(0x30c)]();return Math['max'](_0x43529b,_0x12d7c5);}}var Ut=Object[_0x30ac70(0x3b4)],Nt=(_0x1b0624,_0x4b9eaf,_0x1631e1,_0x48b20)=>{const _0x4527d0=_0x30ac70;for(var _0x3b760d=_0x48b20>0x1?void 0x0:_0x48b20?Ut(_0x4b9eaf,_0x1631e1):_0x4b9eaf,_0x109c84=_0x1b0624[_0x4527d0(0x2e3)]-0x1,_0x554cc0;_0x109c84>=0x0;_0x109c84--)(_0x554cc0=_0x1b0624[_0x109c84])&&(_0x3b760d=_0x554cc0(_0x3b760d)||_0x3b760d);return _0x3b760d;},X=(_0x2ce2bb,_0x71eb41)=>(_0x153c01,_0x960bc0)=>_0x71eb41(_0x153c01,_0x960bc0,_0x2ce2bb);let fe=class extends a[_0x30ac70(0x2c4)]{constructor(_0x5652b6,_0x192795,_0x628bdb,_0x253296,_0x15d5c5){const _0x562fe6=_0x30ac70;super(),h(this,_0x562fe6(0x286),[]),h(this,_0x562fe6(0x305),[]),(this['_context']=_0x5652b6,this[_0x562fe6(0x356)]=_0x192795,this['_collabCursorController']=_0x628bdb,this[_0x562fe6(0x1cd)]=_0x253296,this['_themeService']=_0x15d5c5,this['_init']());}['_init'](){const _0x3c8b30=_0x30ac70,_0x4abf41=this[_0x3c8b30(0x242)][_0x3c8b30(0x28e)],_0x4eed48=this[_0x3c8b30(0x356)];this[_0x3c8b30(0x37b)](d[_0x3c8b30(0x29b)]([this[_0x3c8b30(0x1ba)]['getCollabCursors$'](_0x4abf41),this[_0x3c8b30(0x3bb)][_0x3c8b30(0x2bc)]])['pipe']($[_0x3c8b30(0x217)](([_0x4f4452,_0x5a8eb5])=>({'skeleton':_0x4eed48[_0x3c8b30(0x1cf)](),'cursors':[..._0x4f4452[_0x3c8b30(0x36f)]()][_0x3c8b30(0x252)](_0x40c290=>({..._0x40c290,'color':this[_0x3c8b30(0x3bb)][_0x3c8b30(0x3c6)](_0x40c290[_0x3c8b30(0x250)])}))})))[_0x3c8b30(0x287)](_0x29fa09=>{const _0x2ab717=_0x3c8b30;if(this[_0x2ab717(0x37d)](),_0x29fa09){const {skeleton:_0x3aec89,cursors:_0x4397eb}=_0x29fa09;this['_updateCollabCursors'](_0x3aec89,_0x4397eb);}})),this[_0x3c8b30(0x3b7)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x893454,_0x4bb632){const _0x58a8aa=_0x30ac70,{scene:_0x4d56ce,mainComponent:_0x179f5e}=this[_0x58a8aa(0x242)],_0x5660a1=_0x4bb632[_0x58a8aa(0x217)](_0x4f6830=>new Re(_0x4f6830,_0x4d56ce,_0x893454,_0x179f5e));this[_0x58a8aa(0x286)]=_0x5660a1,this[_0x58a8aa(0x305)]=_0x4bb632;}[_0x30ac70(0x31f)](){const _0x25049d=_0x30ac70;this['_removeCollabCursors']();const {scene:_0x111d9f,mainComponent:_0x2573c8}=this[_0x25049d(0x242)],_0x4f0be4=this[_0x25049d(0x356)][_0x25049d(0x1cf)](),_0x43510f=this[_0x25049d(0x305)][_0x25049d(0x217)](_0x3709f5=>new Re(_0x3709f5,_0x111d9f,_0x4f0be4,_0x2573c8));this[_0x25049d(0x286)]=_0x43510f;}[_0x30ac70(0x37d)](){const _0x406eba=_0x30ac70;this[_0x406eba(0x286)][_0x406eba(0x414)](_0x57eb3a=>_0x57eb3a['dispose']()),this[_0x406eba(0x286)]=[];}['_initCommandExecutedListener'](){const _0x15a7d2=_0x30ac70,_0x31ddf3=[E[_0x15a7d2(0x348)]['id']];this[_0x15a7d2(0x37b)](this[_0x15a7d2(0x1cd)][_0x15a7d2(0x21b)](_0x59b9db=>{const _0x1464ae=_0x15a7d2;_0x31ddf3[_0x1464ae(0x1c7)](_0x59b9db['id'])&&_0x59b9db[_0x1464ae(0x3f4)][_0x1464ae(0x28e)]===this[_0x1464ae(0x242)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4c2f68=_0x30ac70;this['disposeWithMe'](a['fromEventSubject'](this[_0x4c2f68(0x242)][_0x4c2f68(0x374)][_0x4c2f68(0x1b4)])[_0x4c2f68(0x2d2)]($[_0x4c2f68(0x376)](_0x51d110=>_0x51d110['type']===p[_0x4c2f68(0x39d)][_0x4c2f68(0x3e7)]),$['throttleTime'](0x10))[_0x4c2f68(0x287)](()=>{this['_refreshCollabCursors']();}));}};fe=Nt([X(0x1,a[_0x30ac70(0x234)](Y['DocSkeletonManagerService'])),X(0x2,a[_0x30ac70(0x234)](x)),X(0x3,a[_0x30ac70(0x280)]),X(0x4,a[_0x30ac70(0x234)](a[_0x30ac70(0x282)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x30ac70(0x251)]{constructor(_0x5592c4,_0x36da85){const _0x41e2a0=_0x30ac70;super(_0x5592c4,_0x36da85),h(this,'_color'),h(this,_0x41e2a0(0x3af),!0x1),h(this,_0x41e2a0(0x28c)),h(this,'_name',''),h(this,_0x41e2a0(0x371),_0x41e2a0(0x31d)),h(this,_0x41e2a0(0x360)),(_0x36da85&&this[_0x41e2a0(0x24c)](_0x36da85),this[_0x41e2a0(0x2ae)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x41e2a0(0x396)]['subscribeEvent'](()=>this[_0x41e2a0(0x24c)]({'hovered':!0x1})));}[_0x30ac70(0x24c)](_0x2e56ea){const _0x3894d0=_0x30ac70;var _0x439175,_0x569d4a,_0x1f67f6,_0x4e763b,_0x23217f,_0x269159;this[_0x3894d0(0x398)]=(_0x439175=_0x2e56ea['color'])!=null?_0x439175:this[_0x3894d0(0x398)],this[_0x3894d0(0x3af)]=(_0x569d4a=_0x2e56ea[_0x3894d0(0x1f0)])!=null?_0x569d4a:this['_hovered'],this[_0x3894d0(0x28c)]=(_0x1f67f6=_0x2e56ea[_0x3894d0(0x24f)])!=null?_0x1f67f6:this[_0x3894d0(0x28c)],this[_0x3894d0(0x25f)]=(_0x4e763b=_0x2e56ea[_0x3894d0(0x36a)])!=null?_0x4e763b:this[_0x3894d0(0x25f)],this[_0x3894d0(0x371)]=(_0x23217f=_0x2e56ea[_0x3894d0(0x2a0)])!=null?_0x23217f:this[_0x3894d0(0x371)],this['_backgroundColor']=(_0x269159=_0x2e56ea[_0x3894d0(0x228)])!=null?_0x269159:this[_0x3894d0(0x360)],this['transformByState']({'width':_0x2e56ea[_0x3894d0(0x333)],'height':_0x2e56ea[_0x3894d0(0x209)]});}[_0x30ac70(0x1e4)](_0x29cf4a){const _0x5a804d=_0x30ac70,{row:_0x24e81e,column:_0x5c745a}=_0x29cf4a;if(_0x24e81e>=this[_0x5a804d(0x28c)][_0x5a804d(0x352)]&&_0x24e81e<=this[_0x5a804d(0x28c)]['endRow']&&_0x5c745a>=this[_0x5a804d(0x28c)]['startColumn']&&_0x5c745a<=this[_0x5a804d(0x28c)][_0x5a804d(0x367)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5a804d(0x24c)]({'hovered':!0x1});}['triggerDblclick'](_0x2753f7){return!0x1;}[_0x30ac70(0x3a2)](_0x20ea20){const _0x2528db=_0x30ac70;p[_0x2528db(0x407)]['drawWith'](_0x20ea20,{'width':this[_0x2528db(0x333)],'height':this[_0x2528db(0x209)],'strokeWidth':Lt,'stroke':this[_0x2528db(0x398)],'evented':!0x1,'fill':this[_0x2528db(0x360)]}),this[_0x2528db(0x3af)]&&(_0x20ea20[_0x2528db(0x259)](),_0x20ea20[_0x2528db(0x23c)](0x1,0x0,0x0,0x1,this[_0x2528db(0x333)],this[_0x2528db(0x371)]===_0x2528db(0x263)?0x0:-W),ee[_0x2528db(0x2fc)](_0x20ea20,{'text':this[_0x2528db(0x25f)],'color':this[_0x2528db(0x398)]}),_0x20ea20[_0x2528db(0x1f3)]());}}var Pt=Object['getOwnPropertyDescriptor'],wt=(_0x55b542,_0x5a27ed,_0x2a3353,_0x2e8c1b)=>{for(var _0x5475fc=_0x2e8c1b>0x1?void 0x0:_0x2e8c1b?Pt(_0x5a27ed,_0x2a3353):_0x5a27ed,_0x5d1b97=_0x55b542['length']-0x1,_0x37bdb1;_0x5d1b97>=0x0;_0x5d1b97--)(_0x37bdb1=_0x55b542[_0x5d1b97])&&(_0x5475fc=_0x37bdb1(_0x5475fc)||_0x5475fc);return _0x5475fc;},ae=(_0x345c1c,_0x1c6434)=>(_0x28c4d8,_0x50a1d7)=>_0x1c6434(_0x28c4d8,_0x50a1d7,_0x345c1c);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x4282c6,_0x317cd2,_0x4c23c1,_0x49e5fd){const _0xa25634=_0x30ac70;super(),h(this,_0xa25634(0x305),new Set()),h(this,_0xa25634(0x3f9),null),(this[_0xa25634(0x242)]=_0x4282c6,this[_0xa25634(0x267)]=_0x317cd2,this[_0xa25634(0x1ba)]=_0x4c23c1,this['_themeService']=_0x49e5fd,this['_init']());}[_0x30ac70(0x1d1)](){const _0xc67fa3=_0x30ac70;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xc67fa3(0x2d2)]($[_0xc67fa3(0x1c8)](this['dispose$']),$[_0xc67fa3(0x237)](_0x5696b0=>{const _0x12887f=_0xc67fa3;if(_0x5696b0){const _0x40d6ac=_0x5696b0[_0x12887f(0x3a9)];return d['combineLatest'](this['_collabCursorController'][_0x12887f(0x28b)](this[_0x12887f(0x242)][_0x12887f(0x28e)]),this[_0x12887f(0x3bb)][_0x12887f(0x2bc)])[_0x12887f(0x2d2)]($[_0x12887f(0x217)](([_0x402380,_0x527f15])=>{const _0x403877=_0x12887f,_0x2caffc=new Map();return _0x402380[_0x403877(0x414)]((_0x40b46b,_0x4b8036)=>{const _0x1ef23d=_0x403877;if(_0x40b46b[_0x1ef23d(0x290)]===_0x40d6ac){const _0x263fb9={..._0x40b46b};_0x263fb9[_0x1ef23d(0x250)]=this[_0x1ef23d(0x3bb)][_0x1ef23d(0x3c6)](_0x40b46b['color']),_0x2caffc[_0x1ef23d(0x1e1)](_0x4b8036,_0x263fb9);}}),{'skeleton':_0x5696b0,'cursors':_0x2caffc};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0xc67fa3(0x287)](({skeleton:_0x52e9ec,cursors:_0x2e4593})=>{const _0x2b6fcf=_0xc67fa3;this[_0x2b6fcf(0x37d)](),_0x52e9ec&&this[_0x2b6fcf(0x28a)](_0x52e9ec,_0x2e4593);}),this[_0xc67fa3(0x267)]['currentSkeleton$'][_0xc67fa3(0x287)](_0x424dc4=>{const _0x420651=_0xc67fa3;if(_0x424dc4==null)return;const {skeleton:_0x3784eb}=_0x424dc4,{scene:_0x2200d6}=this[_0x420651(0x242)];_0x2200d6['onPointerMove$'][_0x420651(0x379)](a['debounce'](_0x4c7963=>{const _0x1cf47c=_0x420651;var _0x3158b0,_0x4e34e3;const {offsetX:_0xe7fc9a,offsetY:_0x505b76}=_0x4c7963,{x:_0x1ab19a,y:_0x4ecf9d}=_0x2200d6[_0x1cf47c(0x257)](p[_0x1cf47c(0x1bb)][_0x1cf47c(0x1ac)]([_0xe7fc9a,_0x505b76])),{scaleX:_0x1ba7ef,scaleY:_0x1b8228}=_0x2200d6[_0x1cf47c(0x30c)](),_0x24d584=_0x2200d6[_0x1cf47c(0x3b9)](p[_0x1cf47c(0x3f0)][_0x1cf47c(0x19a)]),_0x591716=_0x2200d6[_0x1cf47c(0x246)](p['Vector2'][_0x1cf47c(0x1ac)]([_0x1ab19a,_0x4ecf9d]),_0x24d584),_0x214c57=_0x3784eb[_0x1cf47c(0x284)](_0xe7fc9a,_0x505b76,_0x1ba7ef,_0x1b8228,_0x591716);((_0x3158b0=this[_0x1cf47c(0x3f9)])==null?void 0x0:_0x3158b0[_0x1cf47c(0x349)])===_0x214c57[_0x1cf47c(0x349)]&&((_0x4e34e3=this[_0x1cf47c(0x3f9)])==null?void 0x0:_0x4e34e3[_0x1cf47c(0x19c)])===_0x214c57[_0x1cf47c(0x19c)]||this['_cursors'][_0x1cf47c(0x414)](_0x156ebb=>{const _0x345355=_0x1cf47c;_0x156ebb[_0x345355(0x1e4)](_0x214c57);});},0x64));});}[_0x30ac70(0x28a)](_0x4b990e,_0x326a11){const _0x4dbfee=_0x30ac70;var _0x31b164;const _0x4109c3=(_0x31b164=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x31b164[_0x4dbfee(0x416)];if(!_0x4109c3)return;const _0x72c674=this['_getSheetObject']();if(!_0x72c674)return;this[_0x4dbfee(0x305)][_0x4dbfee(0x414)](_0x43d28b=>{_0x43d28b['makeDirty']();});const {scene:_0x3d17bd}=_0x72c674,_0x48f846=yt(Array['from'](_0x326a11[_0x4dbfee(0x36f)]()))[_0x4dbfee(0x217)](_0x49f441=>{const _0x29bc1f=_0x4dbfee,{color:_0x28b3a8,range:_0x3f827e,name:_0x5a7fa0,selection:_0x258cca,sheetID:_0x3a25e0}=_0x49f441,{startColumn:_0x1a9b43,startRow:_0x4b2cf9,endColumn:_0x4e1ae6,endRow:_0x479d69}=_0x3f827e,_0x19f40d=G[_0x29bc1f(0x2bb)](_0x4b2cf9,_0x1a9b43,_0x3d17bd,_0x4109c3),_0xc94a3c=G[_0x29bc1f(0x2bb)](_0x479d69,_0x4e1ae6,_0x3d17bd,_0x4109c3),{columnHeaderHeightAndMarginTop:_0x255c44}=_0x4109c3,{startX:_0x1c304b,startY:_0x4fe9e7}=_0x19f40d,{endX:_0x20a8d2,endY:_0x22a666}=_0xc94a3c,_0x248753=_0x20a8d2-_0x1c304b,_0x116e71=_0x22a666-_0x4fe9e7,_0xd911c7={'labelPosition':_0x4fe9e7-_0x255c44>=W?_0x29bc1f(0x31d):_0x29bc1f(0x263),'sheetID':_0x3a25e0,'range':_0x3f827e,'color':_0x28b3a8,'name':_0x5a7fa0,'selection':_0x258cca,'left':_0x1c304b,'top':_0x4fe9e7,'width':_0x248753,'height':_0x116e71,'evented':!0x1,'zIndex':At};return new $e(_0x5a7fa0,_0xd911c7);});_0x3d17bd[_0x4dbfee(0x2c9)](_0x48f846,Mt),this['_cursors']=new Set(_0x48f846);}[_0x30ac70(0x37d)](){var _0x1469da;(_0x1469da=this['_cursors'])==null||_0x1469da['forEach'](_0xac638e=>_0xac638e['dispose']());}[_0x30ac70(0x1df)](){const _0x58cfcc=_0x30ac70;return G[_0x58cfcc(0x40f)](this[_0x58cfcc(0x242)][_0x58cfcc(0x205)],this['_context']);}};Ie=wt([ae(0x1,a[_0x30ac70(0x234)](G[_0x30ac70(0x1c5)])),ae(0x2,a[_0x30ac70(0x234)](x)),ae(0x3,a['Inject'](a[_0x30ac70(0x282)]))],Ie);function yt(_0x3d577d){const _0x1ddb0c=_0x30ac70,_0x197a84=new Map();return _0x3d577d[_0x1ddb0c(0x414)](_0x3d4bd2=>{const _0x19b727=_0x1ddb0c;if(_0x197a84[_0x19b727(0x2db)](_0x3d4bd2[_0x19b727(0x20b)])){const _0x470907=_0x197a84['get'](_0x3d4bd2[_0x19b727(0x20b)]);_0x470907[_0x19b727(0x36a)]+=',\x20'+_0x3d4bd2['name'];}else _0x197a84[_0x19b727(0x1e1)](_0x3d4bd2[_0x19b727(0x20b)],_0x3d4bd2);}),Array[_0x1ddb0c(0x405)](_0x197a84[_0x1ddb0c(0x36f)]());}var $t=Object[_0x30ac70(0x3b4)],xt=(_0x38a0dc,_0x3e57ec,_0x1efef5,_0xd3e274)=>{for(var _0x4e22bb=_0xd3e274>0x1?void 0x0:_0xd3e274?$t(_0x3e57ec,_0x1efef5):_0x3e57ec,_0x22c0f5=_0x38a0dc['length']-0x1,_0x3b506a;_0x22c0f5>=0x0;_0x22c0f5--)(_0x3b506a=_0x38a0dc[_0x22c0f5])&&(_0x4e22bb=_0x3b506a(_0x4e22bb)||_0x4e22bb);return _0x4e22bb;},y=(_0xdba611,_0x30001b)=>(_0x574ca0,_0x5e4aa5)=>_0x30001b(_0x574ca0,_0x5e4aa5,_0xdba611);function _0x5450(){const _0x546896=['_collaborationController','InsertColCommandId','getFocusedUnit','colorChannel1','collabStatus.synced','EffectRefRangId','RECT','_backgroundColor','getUniverSheetInstance','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','displayName','deserializeRangeWithSheet','jsxs','endColumn','UNRECOGNIZED','RemoteUniscriptService','name','history','with','focused$','DependentOn','values','DeleteRangeMoveUpCommandId','_labelPosition','registerDependencies','handleDeleteRangeMoveLeft','engine','OFFLINE','filter','handleIRemoveCol','deepClone','subscribeEvent','isTransformMutationsWithChangesetSuccess','disposeWithMe','subUnitId','_removeCollabCursors','measureText','docStateChange$','Workbook','getValue','getSheetBySheetId','DocCollaborationEntity','selections','Tooltip','defineProperty','DataLoaderService','complete','FETCH_MISS','sessionStatus$','pluginName','Optional','UniverInstanceType','forwardRef','UNAUTHENTICATED','assignAColorForMemberID','getUnitId','116109crJxkv','YUUMI_ALL_TABLES_IS_INVALID','setParam','Unknown\x20user','onPointerLeave$','_registerRenderDependencies','_color','black','_localeService','CommandType','path','TRANSFORM_CHANGE_OBSERVABLE_TYPE','0\x200\x2016\x2016','setItem','_uiPartsService','_drawRectRange','_draw','_getSaveTimeout','then','YUUMI_SUBSCRIPTION_NOT_FOUND','_disabled','_selfUnitIDs','LOGIN_FAILED','sheetId','getActiveRange','session.collaboration-timeout','onRendered','DEFAULT_WS_SESSION_TICKET_URL','DOC_RANGE_TYPE','_hovered','exhaustSavingTask','YUUMI_NO_CUBOID_FOR_QUESTION','xlink:href','children','getOwnPropertyDescriptor','4598TeecpI','_entityInit$','_initResize','round','getViewport','delete','_themeService','67gQIGmx','MOBILE_HAS_BEEN_BOUND','DocStateChangeManagerService','activeSheet$','registerBeforeClose','symbol','_syncEditingCollabCursorService','ENSURE_SNAPSHOT_EXECUTION','getMergeData','toRgbString','getColorFromTheme','mask','hasOwnProperty','391884wUyXRA','ranges','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_messageService','EMAIL_VERIFY_CODE_MISMATCH','Plugin','addClipboardHook','startsWith','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REJECT','CollaborationSocketService','key','_hideTimer','_id','invokeId','jsx','subunit','pushState','init','executeCommand','PERMISSION_DENIED','ILogService','_online','ITransformService','SYNCED','saveTaskMap','collabStatus.syncing','3585oglswF','Tools','UNIVER_DOC','resize','transformStateCache','toString','RichTextEditingMutation','newValue','_injector','InsertRowCommandId','_instanceService','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','SHEET_VIEWPORT_KEY','getStateCache','code','COLORS','params','getItem','getActiveSheet','whenReady','_roomMembers$','_lastPointer','Subject','getDocRanges','extend','fillText','add','actions','CollaborationUIEventId','LocaleService','_initEntityListener','text','closePath','from','body','Rect','runId','shareReplay','PENDING','_status$','override','ISocketService','getParam','getSheetObject','_docStateChangeManagerService','1em','_drawAnchor','getLocalCacheKey','forEach','moveTo','skeleton','ONLINE','OnLineIcon','RevisionService','_send','VIEW_MAIN','_colorIndex','row','undoState','TEXT_RANGE_LAYER_INDEX','WebURLService','NodePositionConvertToCursor','IMessageService','RemoveRowCommandId','trim','AWAITING_WITH_PENDING','Warning','COMPLETION_FINISHED','getCurrentSelections','M0\x200H16V16H0z','redoState','1768ZWLypd','fill','FromArray','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','ColorKit','_initStatusComponent','_handleLeaveEvent','some','_httpService','onTransformChange$','stringify','_scene','_collabCursorState$','m2Prime','_getSessionTicket','_collabCursorController','Vector2','permission.title','tag','_entities','NO_OTHER_CLIENTS_EDITING','_heartbeatTimer','_document','collaboration.single-unit.warning','getCurrentRevOfUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','SheetSkeletonManagerService','cursorInfo','includes','takeUntil','_memberService','unitID','TEXT','getRangePointData','_commandService','_imageIoService','getSkeleton','_setupBeforeClosingHandler','_init','_handleEvent','_getScale','collab-client.tooltip.reconnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_transformUndoRedoStack','isArray','string','url(#off-line-icon_clip0_910_343)','handleDeleteRangeMoveUp','UNIVER_SHEET','toDisposable','div','handleInsertRangeMoveRight','_getSheetObject','MUTATION','set','none','prototype','onMouseMove','collaboration-client.offline-data-not-saved','_dataLoaderService','BehaviorSubject','apply','collabStatus.offline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ALREADY_EXISTS','runOnServer','YUUMI_AI_RUN_FAILED','_config','handleMoveRange','hovered','_textBubble','_colorAssignService','restore','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','roomMembers$','_notificationService','_removeClearOtherTimer','_localStorageService','DocIMEInputManagerService','CollaborationStatus','event$','SNAPSHOT_INVALID_SNAPSHOT','registerRenderModule','RefRangeService','concat','UniverIcon','RegularPolygon','NOT_COLLAB','_refRangeService','handleIRemoveRow','unit','setAlpha','_toggleOffline','_unitStatus','height','rgba(255,\x20255,\x20255,\x200.01)','selection','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Rectangle','_saveTaskMap','status$','_cachedData','IRenderManagerService','session.will-retry','collabCursorState$','USER_NOT_INVITED_CODE','disposeUnit','href','map','CONFLICT','runRefRangeMutations','UnitStatus','onCommandExecuted','merge','getUndoRedoMutationParamsCache','Injector','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','0\x200\x2017\x2016','Module','collabStatus.notCollab','evenodd','search','size','font','data','backgroundColor','_startSheetCollabCursor','http://www.w3.org/2000/svg','connectInjector','_shapes','show','MemberService','_setupSubUnitSync','replaceState','debug','clearTimeout','_eventUnsubscribe','Inject','14IEyMPC','_drawTextRange','switchMap','fromEvent','split','m1Prime','getConfig','transform','CHANGESET_REVISION_CONFILICT','_hover','_startDocCollabCursor','YUUMI_ASYNCIO_CANCELLED','HTTPService','_context','_updateLocalCursor','_collabSessionService','generateRandomId','getVpScrollXYInfoByPosToVp','_initStatusListener','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','urlChange$','collaboration.closeRoom','editingUnit','setShapeProps','INVITE_CODE_ALREADY_BOUND','SetWorksheetActivateCommand','range','color','Shape','flatMap','SOCKET_FAILED','clipPath','univer-mr-2\x20univer-flex\x20univer-text-xl','replaceDocRanges','getRelativeToViewportCoord','findNodePositionByCharIndex','save','handleInsertRangeMoveDown','hide','Failed','cursorInfo$','arc','_name','790640uZjYDo','_urlService','_createSocketURL','bottom','_docTransformIMECacheService','roomMembers','useDependency','_sheetSkeletonManagerService','_cursor','UNDEFINED','getCollabEntity$','CollaborationSessionService','clearInterval','useObservable','toStringTag','_logService','assign','unshift','_transformPreviousActiveRange','addEventListener','EMAIL_HAS_BEEN_BOUND','entityInit$','saveImage','[CollaborationDataLoaderController]','green.600','fillStyle','USERS_LEAVE','textRanges','propertyIsEnumerable','_configService','INVITE_CODE_HAS_BEEN_UES','INTERNAL_ERROR','ICommandService','DesktopCollaborationStatusDisplayController','ThemeService','_transformService','getCellPositionByOffset','_beforeCloseService','_cursorShapes','subscribe','_assignedColors','IBeforeCloseService','_updateCollabCursors','getCollabCursors$','_range','_cursorInfo$','unitId','InsertRangeMoveRightCommandId','sheetID','IUniverInstanceService','mutations','getCurrentUnitForType','714888ctuuCk','sessionTicket','icon','on-line-icon','_onCursorDelete','transformMutationsWithChangeset','session.connection-failed','combineLatest','origin','CONNECTOR_DATA_TOO_LARGE','off-line-icon','YUUMI_UNABLE_LOAD_URL','labelPosition','useRef','_collaborationUIEventService','OTHER_CLIENTS_EDITING','function','getUnitStatus$','IUIPartsService','APPLY_REVISION_CONFILICT','mergeOverrideWithDependencies','CollaborationEvent','getRenderById','_session','createInstance','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$','translate(.97)','getColor','IConfigService','getMemberID','getOwnPropertySymbols','INotificationService','isTransformMutationFailure','indexOf','_renderManagerService','reconnect','OffLineIcon','DisposableCollection','getCoordByCell','currentTheme$','createElement','fillRule','dispose$','removeParam','_ensureSubject','url(#$1','svg','RxDisposable','#FFF','CollaborationController','defs','MOBILE_VERIFY_CODE_MISMATCH','addObjects','attrs','send','unsubscribe','IURLService','enableLocalCache','entries','registerComponent','APPLY_NON_SEQUENTIAL_REVISION','pipe','_doCreateSocket','dispose','call','_initDependencies','univer-flex\x20univer-items-center','INVALID_ARGUMENT','CollaborationUIEventService','_docSyncEditingCollabCursorService','has','_getAnchorBounding','push','_revisionService','_anchorDot','LICENSE_EXPORT_SIZE_EXCEEDED','asObservable','[RemoteUniscriptService]:\x20no\x20focused\x20unit','length','purple.300','_docTransformSelectionsService','LOCAL_CACHE_INTERVAL','MessageType','uni.network.url-service','debounce','SOCKET_FAILED_RETRY','YUUMI_RATE_OVER_LIMIT','url(#on-line-icon_clip0_910_349)','_saveCache','location','debounceTime','TOO_MANY_REQUESTS','mapTo','APPLY_PERMISSION_DENIED','_anchor','IImageIoService','InsertRangeMoveDownCommandId','BrowserCollaborationSocketService','BuiltInUIPart','100ZatKLU','requireSession','_scheduleSaving','yellow.400','drawWith','SessionStatus','error','source','className','transformMutation','memberID','replace','loadOfflineData','_cursors','Error','defIds','white','_localCacheService','NodePositionConvertToRectRange','transformRemoteChangeset','getAncestorScale','getTypeOfUnitDisposed$','currentColor','_handleJoinEvent','_updateSubUnitFromURLParams','ACTIVE_UNIT_EVENT_CHANNEL','addObject','getOffsetConfig','Disposable','RemoveColCommandId','...','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','873697dhrDqZ','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','idSuffix','top','INVALID_INVITE_CODE','_refreshCollabCursors','jiqing.500','CollaborationDataLoaderController','_scheduleHeartbeat','application/json','_scheduleClearOtherTimer','min','type','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','_registerDependencies','SheetsSelectionsService','getSheetId','searchParams','_render','loadUnit','_getMergeRange','UPDATE_CURSOR','ticket','_docClipboardService','width','transformIMECache','collabStatus.fetchMiss','_updateURLWithCurrentState','getMember','JOIN_ROOM_FAILED','setConfig','INVITE_CODE_REQUIRED','LICENSE_DISTRO_REJECTED','registerRefRange','OTHER_CLIENT_EDITING','onLocalMutation','_clearOtherTimers','WebSocketService','_univerInstanceService','parse','doc.mutation.rich-text-editing','saveOfflineData','next','blue.400','post','SetDocZoomRatioOperation','column','distinctUntilChanged','PY_RUNTIME_SCRIPT_ERROR','_unitOnClients','UniverCollaborationClientUIPlugin','get','handleInsertRow','syncEditingCollabCursor','popstate','startRow','use','_handleHeartbeatEvent','lineTo','_docSkeletonManagerService','_toggleOnline','eventID'];_0x5450=function(){return _0x546896;};return _0x5450();}let q=class extends a[_0x30ac70(0x314)]{constructor(_0x111c13,_0x39a576,_0x289a75,_0x125206,_0x5f98c6,_0x2e6fe9){const _0x4c59d9=_0x30ac70;super(),this[_0x4c59d9(0x285)]=_0x111c13,this[_0x4c59d9(0x309)]=_0x39a576,this['_collaborationUIEventService']=_0x289a75,this[_0x4c59d9(0x3cc)]=_0x125206,this[_0x4c59d9(0x1f6)]=_0x5f98c6,this[_0x4c59d9(0x39a)]=_0x2e6fe9,this[_0x4c59d9(0x1d0)](),this[_0x4c59d9(0x318)]();}['_setupBeforeClosingHandler'](){const _0x5e6c9a=_0x30ac70;this[_0x5e6c9a(0x37b)](this[_0x5e6c9a(0x285)][_0x5e6c9a(0x3c0)](()=>{const _0x410c15=_0x5e6c9a;if(this['_localCacheService'][_0x410c15(0x3e2)][_0x410c15(0x225)])return this[_0x410c15(0x39a)]['t'](_0x410c15(0x1e5));}));}[_0x30ac70(0x318)](){const _0x277a8c=_0x30ac70;this[_0x277a8c(0x37b)](this[_0x277a8c(0x2a2)][_0x277a8c(0x1fb)][_0x277a8c(0x287)](_0x3a3055=>{const _0x26186e=_0x277a8c;_0x3a3055['id']===u[_0x26186e(0x400)][_0x26186e(0x33d)]&&this[_0x26186e(0x3cc)]['show']({'type':D[_0x26186e(0x2e7)][_0x26186e(0x1a5)],'content':this['_localeService']['t'](_0x26186e(0x1c2))}),_0x3a3055['id']===u[_0x26186e(0x400)]['CLOSE_ROOM']&&this[_0x26186e(0x3cc)][_0x26186e(0x22d)]({'type':D[_0x26186e(0x2e7)][_0x26186e(0x1a5)],'content':this[_0x26186e(0x39a)]['t'](_0x26186e(0x24a))}),_0x3a3055['id']===u[_0x26186e(0x400)][_0x26186e(0x3dd)]&&this[_0x26186e(0x1f6)][_0x26186e(0x22d)]({'title':this[_0x26186e(0x39a)]['t'](_0x26186e(0x1bc)),'content':this[_0x26186e(0x39a)]['t']('permission.content'),'type':'error','duration':0x0}),_0x3a3055['id']===u['CollaborationUIEventId'][_0x26186e(0x218)]&&this[_0x26186e(0x3cc)][_0x26186e(0x22d)]({'type':D[_0x26186e(0x2e7)][_0x26186e(0x306)],'content':this[_0x26186e(0x39a)]['t']('collaboration.closeRoom')+'('+_0x3a3055[_0x26186e(0x227)]+')'}),_0x3a3055['id']===u['CollaborationUIEventId'][_0x26186e(0x338)]&&this[_0x26186e(0x3cc)][_0x26186e(0x22d)]({'type':D[_0x26186e(0x2e7)][_0x26186e(0x1a5)],'content':this[_0x26186e(0x39a)]['t'](_0x3a3055['data']||'')}),_0x3a3055['id']===u['CollaborationUIEventId'][_0x26186e(0x2ea)]&&this['_messageService'][_0x26186e(0x22d)]({'type':D['MessageType'][_0x26186e(0x1a5)],'content':this[_0x26186e(0x39a)]['t'](_0x26186e(0x212))}),_0x3a3055['id']===u[_0x26186e(0x400)][_0x26186e(0x253)]&&this[_0x26186e(0x3cc)]['show']({'type':D[_0x26186e(0x2e7)][_0x26186e(0x306)],'content':this['_localeService']['t'](_0x26186e(0x29a))}),_0x3a3055['id']===u[_0x26186e(0x400)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x26186e(0x3cc)][_0x26186e(0x22d)]({'type':D[_0x26186e(0x2e7)][_0x26186e(0x306)],'content':this[_0x26186e(0x39a)]['t'](_0x26186e(0x3ab))});}));}};q=xt([y(0x0,O[_0x30ac70(0x289)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x30ac70(0x2d9)])),y(0x3,O['IMessageService']),y(0x4,O[_0x30ac70(0x2b4)]),y(0x5,a[_0x30ac70(0x234)](a[_0x30ac70(0x401)]))],q);const Bt='collaboration-client-ui.config',De={};var jt=Object['getOwnPropertyDescriptor'],kt=(_0x540408,_0x283b17,_0x150c7b,_0x42d506)=>{const _0x4066dd=_0x30ac70;for(var _0x30df41=_0x42d506>0x1?void 0x0:_0x42d506?jt(_0x283b17,_0x150c7b):_0x283b17,_0x4aa586=_0x540408[_0x4066dd(0x2e3)]-0x1,_0x4da731;_0x4aa586>=0x0;_0x4aa586--)(_0x4da731=_0x540408[_0x4aa586])&&(_0x30df41=_0x4da731(_0x30df41)||_0x30df41);return _0x30df41;},Ue=(_0x6e79bd,_0x5b8db0)=>(_0x348cd6,_0x3e2c71)=>_0x5b8db0(_0x348cd6,_0x3e2c71,_0x6e79bd);let z=class{constructor(_0x3b194b,_0x418a8c){const _0x28997b=_0x30ac70;this[_0x28997b(0x283)]=_0x3b194b,this[_0x28997b(0x2b7)]=_0x418a8c;}[_0x30ac70(0x334)](_0x4c1d15){const _0x45331e=_0x30ac70;this[_0x45331e(0x1d6)](_0x4c1d15),this['_transformPreviousActiveRange'](_0x4c1d15);}[_0x30ac70(0x30b)](_0x26ecf4){const _0x418e8a=_0x30ac70,{unitID:_0x12b6a9}=_0x26ecf4,_0x346eeb=this[_0x418e8a(0x2b7)][_0x418e8a(0x2aa)](_0x12b6a9)[_0x418e8a(0x36c)](E['DocIMEInputManagerService']),{redoCache:_0x5e15e3}=_0x346eeb['getUndoRedoMutationParamsCache']();if(_0x5e15e3[_0x418e8a(0x2e3)]===0x0)return _0x26ecf4;let _0x24d440=a[_0x418e8a(0x3e5)]['deepClone'](_0x26ecf4[_0x418e8a(0x292)][0x0]);for(let _0x3a58bf=0x0;_0x3a58bf<_0x5e15e3[_0x418e8a(0x2e3)];_0x3a58bf++){const _0x5b7f1f={'id':_0x418e8a(0x343),'params':{..._0x5e15e3[_0x3a58bf]}},_0x92d75a=this['_transformService'][_0x418e8a(0x301)](_0x24d440,_0x5b7f1f,!0x1);if(m['isTransformMutationFailure'](_0x92d75a))throw _0x92d75a['error'];_0x24d440=_0x92d75a['m1Prime'];}return{...a['Tools']['deepClone'](_0x26ecf4),'mutations':[_0x24d440]};}['_transformUndoRedoStack'](_0x5bb4d4){const _0x4aa3d1=_0x30ac70,{unitID:_0xb7f69f}=_0x5bb4d4,_0xe1b9d1=this[_0x4aa3d1(0x2b7)][_0x4aa3d1(0x2aa)](_0xb7f69f)['with'](E[_0x4aa3d1(0x1f9)]),{undoCache:_0x1d658e,redoCache:_0x48a222}=_0xe1b9d1[_0x4aa3d1(0x21d)]();if(_0x1d658e[_0x4aa3d1(0x2e3)]===0x0||_0x48a222[_0x4aa3d1(0x2e3)]===0x0)return;const _0x90adcb=[],_0xf45424=[];let _0x383c5c=a[_0x4aa3d1(0x3e5)]['deepClone'](_0x5bb4d4[_0x4aa3d1(0x292)][0x0]),_0x4fc0c1=a[_0x4aa3d1(0x3e5)]['deepClone'](_0x5bb4d4[_0x4aa3d1(0x292)][0x0]);for(let _0x3cce10=_0x1d658e['length']-0x1;_0x3cce10>=0x0;_0x3cce10--){const _0x34de5d={'id':_0x4aa3d1(0x343),'params':{..._0x1d658e[_0x3cce10]}},_0x1e216a={'id':_0x4aa3d1(0x343),'params':{..._0x48a222[_0x3cce10]}},_0x25d982=this[_0x4aa3d1(0x283)][_0x4aa3d1(0x301)](_0x383c5c,_0x34de5d,!0x1),_0x5751fd=this[_0x4aa3d1(0x283)]['transformMutation'](_0x4fc0c1,_0x1e216a,!0x1);if(m[_0x4aa3d1(0x2b5)](_0x25d982))throw _0x25d982[_0x4aa3d1(0x2fe)];if(m[_0x4aa3d1(0x2b5)](_0x5751fd))throw _0x5751fd[_0x4aa3d1(0x2fe)];_0x90adcb[_0x4aa3d1(0x271)](_0x25d982[_0x4aa3d1(0x1b8)][_0x4aa3d1(0x3f4)]),_0xf45424[_0x4aa3d1(0x271)](_0x5751fd[_0x4aa3d1(0x1b8)][_0x4aa3d1(0x3f4)]),_0x383c5c=_0x25d982[_0x4aa3d1(0x23a)],_0x4fc0c1=_0x5751fd[_0x4aa3d1(0x23a)];}_0xe1b9d1['setUndoRedoMutationParamsCache']({'undoCache':_0x90adcb,'redoCache':_0xf45424});}[_0x30ac70(0x272)](_0x320a14){const _0x3a6b91=_0x30ac70,{unitID:_0x23b073}=_0x320a14,_0x2befe0=this[_0x3a6b91(0x2b7)][_0x3a6b91(0x2aa)](_0x23b073)[_0x3a6b91(0x36c)](E[_0x3a6b91(0x1f9)]),_0x432c2b=_0x2befe0[_0x3a6b91(0x3aa)]();if(_0x432c2b==null)return;const _0x1c4e09=[{'id':_0x3a6b91(0x343),'params':{'unitId':_0x320a14[_0x3a6b91(0x1ca)],'actions':null,'textRanges':[_0x432c2b]}}],_0xb88973=this[_0x3a6b91(0x283)][_0x3a6b91(0x299)](_0x320a14,_0x1c4e09);if(!m[_0x3a6b91(0x37a)](_0xb88973))throw _0xb88973[_0x3a6b91(0x2fe)];const _0x19582d=_0xb88973[_0x3a6b91(0x1b8)][0x0][_0x3a6b91(0x3f4)][_0x3a6b91(0x27b)];Array[_0x3a6b91(0x1d7)](_0x19582d)&&_0x19582d['length']&&_0x2befe0['setActiveRange'](_0x19582d[0x0]);}};z=kt([Ue(0x0,m[_0x30ac70(0x3e0)]),Ue(0x1,p[_0x30ac70(0x211)])],z);var Ft=Object[_0x30ac70(0x3b4)],Ht=(_0x32e485,_0x593e07,_0x538d70,_0x407ab3)=>{const _0x51c74f=_0x30ac70;for(var _0x42542d=_0x407ab3>0x1?void 0x0:_0x407ab3?Ft(_0x593e07,_0x538d70):_0x593e07,_0x7db4d0=_0x32e485[_0x51c74f(0x2e3)]-0x1,_0x5bd0e3;_0x7db4d0>=0x0;_0x7db4d0--)(_0x5bd0e3=_0x32e485[_0x7db4d0])&&(_0x42542d=_0x5bd0e3(_0x42542d)||_0x42542d);return _0x42542d;},ce=(_0x27e1ba,_0x5e1cfa)=>(_0x1c2788,_0x426262)=>_0x5e1cfa(_0x1c2788,_0x426262,_0x27e1ba);let J=class{constructor(_0x48148a,_0x14cd81,_0x131a14){const _0x1555a6=_0x30ac70;this['_injector']=_0x48148a,this[_0x1555a6(0x283)]=_0x14cd81,this[_0x1555a6(0x410)]=_0x131a14;}[_0x30ac70(0x3e8)](_0xdcc342){this['_transformHistoryAndStateStack'](_0xdcc342);}['transformRemoteChangeset'](_0x1eea57){const _0x214d95=_0x30ac70,{unitID:_0x59e859}=_0x1eea57,{collaboration:_0x3517eb}=this[_0x214d95(0x410)][_0x214d95(0x3f1)](_0x59e859);if(_0x3517eb[_0x214d95(0x2e3)]===0x0)return _0x1eea57;let _0x24f077=a[_0x214d95(0x3e5)]['deepClone'](_0x1eea57[_0x214d95(0x292)][0x0]);for(let _0x54fd0a=0x0;_0x54fd0a<_0x3517eb[_0x214d95(0x2e3)];_0x54fd0a++){const _0x5b33d3={'id':_0x214d95(0x343),'params':{'unitId':_0x3517eb[_0x54fd0a][_0x214d95(0x28e)],..._0x3517eb[_0x54fd0a]['redoState']}},_0x1989da=this[_0x214d95(0x283)][_0x214d95(0x301)](_0x24f077,_0x5b33d3,!0x1);if(m[_0x214d95(0x2b5)](_0x1989da))throw _0x1989da[_0x214d95(0x2fe)];_0x24f077=_0x1989da[_0x214d95(0x23a)];}return{...a['Tools']['deepClone'](_0x1eea57),'mutations':[_0x24f077]};}['_transformHistoryAndStateStack'](_0xba1e88){const _0x4880a1=_0x30ac70,{unitID:_0x515e3e}=_0xba1e88,{history:_0x131256,collaboration:_0x50fb69}=this[_0x4880a1(0x410)][_0x4880a1(0x3f1)](_0x515e3e);if(_0x131256[_0x4880a1(0x2e3)]===0x0&&_0x50fb69[_0x4880a1(0x2e3)]===0x0)return;const _0x4d5ae1=[],_0x6cad3c=[];let _0x20fd06=a[_0x4880a1(0x3e5)][_0x4880a1(0x378)](_0xba1e88[_0x4880a1(0x292)][0x0]),_0x57d61b=a[_0x4880a1(0x3e5)]['deepClone'](_0xba1e88[_0x4880a1(0x292)][0x0]);for(let _0x5ddd6c=_0x131256[_0x4880a1(0x2e3)]-0x1;_0x5ddd6c>=0x0;_0x5ddd6c--){const _0x3a6888={'id':_0x4880a1(0x343),'params':{'unitId':_0x131256[_0x5ddd6c]['unitId'],..._0x131256[_0x5ddd6c][_0x4880a1(0x19d)]}},_0x438123={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x131256[_0x5ddd6c][_0x4880a1(0x28e)],..._0x131256[_0x5ddd6c][_0x4880a1(0x1a9)]}},_0x46d404=this['_transformService'][_0x4880a1(0x301)](_0x20fd06,_0x3a6888,!0x1),_0x3aac57=this['_transformService'][_0x4880a1(0x301)](_0x57d61b,_0x438123,!0x1);if(m[_0x4880a1(0x2b5)](_0x46d404))throw _0x46d404['error'];if(m[_0x4880a1(0x2b5)](_0x3aac57))throw _0x3aac57[_0x4880a1(0x2fe)];_0x4d5ae1[_0x4880a1(0x271)]({..._0x131256[_0x5ddd6c],'undoState':_0x46d404['m2Prime'][_0x4880a1(0x3f4)],'redoState':_0x3aac57[_0x4880a1(0x1b8)][_0x4880a1(0x3f4)]}),_0x20fd06=_0x46d404[_0x4880a1(0x23a)],_0x57d61b=_0x3aac57[_0x4880a1(0x23a)];}_0x20fd06=a[_0x4880a1(0x3e5)][_0x4880a1(0x378)](_0xba1e88[_0x4880a1(0x292)][0x0]),_0x57d61b=a[_0x4880a1(0x3e5)][_0x4880a1(0x378)](_0xba1e88[_0x4880a1(0x292)][0x0]);for(let _0x349461=_0x50fb69[_0x4880a1(0x2e3)]-0x1;_0x349461>=0x0;_0x349461--){const _0x3e6073={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50fb69[_0x349461]['unitId'],..._0x50fb69[_0x349461][_0x4880a1(0x19d)]}},_0x159e60={'id':_0x4880a1(0x343),'params':{'unitId':_0x50fb69[_0x349461][_0x4880a1(0x28e)],..._0x50fb69[_0x349461][_0x4880a1(0x1a9)]}},_0x3b8b20=this['_transformService'][_0x4880a1(0x301)](_0x20fd06,_0x3e6073,!0x1),_0xe223aa=this[_0x4880a1(0x283)][_0x4880a1(0x301)](_0x57d61b,_0x159e60,!0x1);if(m[_0x4880a1(0x2b5)](_0x3b8b20))throw _0x3b8b20[_0x4880a1(0x2fe)];if(m[_0x4880a1(0x2b5)](_0xe223aa))throw _0xe223aa[_0x4880a1(0x2fe)];_0x6cad3c['unshift']({..._0x50fb69[_0x349461],'undoState':_0x3b8b20[_0x4880a1(0x1b8)][_0x4880a1(0x3f4)],'redoState':_0xe223aa[_0x4880a1(0x1b8)][_0x4880a1(0x3f4)]}),_0x20fd06=_0x3b8b20[_0x4880a1(0x23a)],_0x57d61b=_0xe223aa[_0x4880a1(0x23a)];}this[_0x4880a1(0x410)]['setStateCache'](_0x515e3e,{'history':_0x4d5ae1,'collaboration':_0x6cad3c});}};J=Ht([ce(0x0,a[_0x30ac70(0x234)](a[_0x30ac70(0x21e)])),ce(0x1,m[_0x30ac70(0x3e0)]),ce(0x2,a[_0x30ac70(0x234)](E[_0x30ac70(0x3be)]))],J);var Yt=Object[_0x30ac70(0x3b4)],Wt=(_0x5243f0,_0x20b29c,_0x422b66,_0x97ffe4)=>{for(var _0x5e0817=_0x97ffe4>0x1?void 0x0:_0x97ffe4?Yt(_0x20b29c,_0x422b66):_0x20b29c,_0x111642=_0x5243f0['length']-0x1,_0xe2e913;_0x111642>=0x0;_0x111642--)(_0xe2e913=_0x5243f0[_0x111642])&&(_0x5e0817=_0xe2e913(_0x5e0817)||_0x5e0817);return _0x5e0817;},Ne=(_0x551f69,_0x236fcf)=>(_0x32fead,_0xbe05e2)=>_0x236fcf(_0x32fead,_0xbe05e2,_0x551f69);let Z=class{constructor(_0x162e06,_0x536ebb){const _0x4f8f57=_0x30ac70;this[_0x4f8f57(0x3ec)]=_0x162e06,this[_0x4f8f57(0x283)]=_0x536ebb;}['transformSelections'](_0x2ad5af){const _0x427570=_0x30ac70;var _0x3af878;const _0x141278=this['_injector'][_0x427570(0x34e)](Y['DocSelectionManagerService']),_0xf56c5a=(_0x3af878=_0x141278['getDocRanges']())!=null?_0x3af878:[];if(_0xf56c5a['length']===0x0)return;const _0x4d6fdd=_0x2ad5af['unitID'],_0x27c6dd=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d6fdd,'actions':null,'textRanges':_0xf56c5a}}],_0x199a83=this[_0x427570(0x283)][_0x427570(0x299)](_0x2ad5af,_0x27c6dd);if(!m[_0x427570(0x37a)](_0x199a83))throw _0x199a83[_0x427570(0x2fe)];const _0xd66160=_0x199a83[_0x427570(0x1b8)][0x0][_0x427570(0x3f4)][_0x427570(0x27b)];Array[_0x427570(0x1d7)](_0xd66160)&&_0xd66160[_0x427570(0x2e3)]&&_0x141278[_0x427570(0x256)](_0xd66160,{'unitId':_0x4d6fdd,'subUnitId':_0x4d6fdd},!0x1);}};Z=Wt([Ne(0x0,a[_0x30ac70(0x234)](a[_0x30ac70(0x21e)])),Ne(0x1,m[_0x30ac70(0x3e0)])],Z);var Vt=Object[_0x30ac70(0x3b4)],Xt=(_0x4d7ff5,_0x1e9dcb,_0x3551cf,_0x56347b)=>{const _0x437f7f=_0x30ac70;for(var _0x4e95b6=_0x56347b>0x1?void 0x0:_0x56347b?Vt(_0x1e9dcb,_0x3551cf):_0x1e9dcb,_0x5f848a=_0x4d7ff5[_0x437f7f(0x2e3)]-0x1,_0x33a810;_0x5f848a>=0x0;_0x5f848a--)(_0x33a810=_0x4d7ff5[_0x5f848a])&&(_0x4e95b6=_0x33a810(_0x4e95b6)||_0x4e95b6);return _0x4e95b6;},N=(_0x3a5fc3,_0x32af81)=>(_0x5be00a,_0x1f1bff)=>_0x32af81(_0x5be00a,_0x1f1bff,_0x3a5fc3);function _0x4f9b(_0xc18c02,_0x396a59){const _0x54509e=_0x5450();return _0x4f9b=function(_0x4f9bc4,_0x2e7b97){_0x4f9bc4=_0x4f9bc4-0x198;let _0x3d3231=_0x54509e[_0x4f9bc4];return _0x3d3231;},_0x4f9b(_0xc18c02,_0x396a59);}let Q=class extends a['Disposable']{constructor(_0x3c645f,_0x42128d,_0x3e2a54,_0x51a465,_0x38e86,_0x17c952,_0x2ec301,_0x304177){const _0xe2fc84=_0x30ac70;super(),h(this,_0xe2fc84(0x40b),new d[(_0xe2fc84(0x1e7))](u[_0xe2fc84(0x1fa)][_0xe2fc84(0x202)])),(this[_0xe2fc84(0x410)]=_0x3c645f,this[_0xe2fc84(0x359)]=_0x42128d,this['_docTransformIMECacheService']=_0x3e2a54,this['_docTransformStateCacheService']=_0x51a465,this[_0xe2fc84(0x2e5)]=_0x38e86,this[_0xe2fc84(0x2da)]=_0x17c952,this['_messageService']=_0x2ec301,this[_0xe2fc84(0x39a)]=_0x304177,this[_0xe2fc84(0x402)]());}[_0x30ac70(0x402)](){const _0x37ce7b=_0x30ac70;this[_0x37ce7b(0x37b)](this[_0x37ce7b(0x359)][_0x37ce7b(0x275)]['subscribe'](_0x3eebfb=>{const _0x1aadcb=_0x37ce7b,_0x4e72f4=this[_0x1aadcb(0x410)][_0x1aadcb(0x37f)]['subscribe'](_0x4c0495=>{const _0x583580=_0x1aadcb;if(_0x4c0495==null)return;const {unitId:_0x36ab58,redoState:_0x512472,commandId:_0x99855a}=_0x4c0495;if(_0x36ab58!==_0x3eebfb[_0x583580(0x1ca)])return;const _0x5f48ff={'id':_0x99855a,'type':a[_0x583580(0x39b)][_0x583580(0x1e0)],'params':{'unitId':_0x36ab58,'actions':_0x512472[_0x583580(0x3ff)],'textRanges':null}};_0x3eebfb[_0x583580(0x33e)](_0x5f48ff);});if(_0x3eebfb[_0x1aadcb(0x37b)](_0x4e72f4),_0x3eebfb instanceof u[_0x1aadcb(0x383)]){const _0x546a97={'onTransformIME':_0x2902f4=>this[_0x1aadcb(0x264)][_0x1aadcb(0x334)](_0x2902f4),'onTransformState':_0x47e99c=>this['_docTransformStateCacheService'][_0x1aadcb(0x3e8)](_0x47e99c),'onTransformSelections':_0x44c08b=>this['_docTransformSelectionsService']['transformSelections'](_0x44c08b),'onSyncEditingCollabCursor':_0x47b46d=>this[_0x1aadcb(0x2da)]['syncEditingCollabCursor'](_0x47b46d),'onTransformRemoteChangesetByIMECache':_0x1cee43=>this[_0x1aadcb(0x264)][_0x1aadcb(0x30b)](_0x1cee43),'onTransformRemoteChangesetByStateCache':_0x406d67=>this['_docTransformStateCacheService'][_0x1aadcb(0x30b)](_0x406d67)};_0x3eebfb['addHandlerCallback'](_0x546a97);}}));}};Q=Xt([N(0x0,a[_0x30ac70(0x234)](E['DocStateChangeManagerService'])),N(0x1,a[_0x30ac70(0x234)](u[_0x30ac70(0x2c6)])),N(0x2,a[_0x30ac70(0x234)](z)),N(0x3,a[_0x30ac70(0x234)](J)),N(0x4,a[_0x30ac70(0x234)](Z)),N(0x5,a[_0x30ac70(0x234)](pe)),N(0x6,O[_0x30ac70(0x1a1)]),N(0x7,a[_0x30ac70(0x234)](a[_0x30ac70(0x401)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x1e8dc9,_0xcb58ca,_0x395d35,_0x4e0af4)=>{const _0x3d668a=_0x30ac70;for(var _0x532823=_0x4e0af4>0x1?void 0x0:_0x4e0af4?Gt(_0xcb58ca,_0x395d35):_0xcb58ca,_0x5cf193=_0x1e8dc9[_0x3d668a(0x2e3)]-0x1,_0xacb441;_0x5cf193>=0x0;_0x5cf193--)(_0xacb441=_0x1e8dc9[_0x5cf193])&&(_0x532823=_0xacb441(_0x532823)||_0x532823);return _0x532823;},le=(_0x2dee3f,_0x4ef144)=>(_0x2e5b43,_0x194b55)=>_0x4ef144(_0x2e5b43,_0x194b55,_0x2dee3f);let ve=class extends a[_0x30ac70(0x314)]{constructor(_0x4d76a1,_0x5c4016,_0x13199e){const _0x251148=_0x30ac70;super(),h(this,_0x251148(0x210),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x251148(0x3a6),!0x1),(this['_configService']=_0x4d76a1,this[_0x251148(0x1f8)]=_0x5c4016,this[_0x251148(0x2de)]=_0x13199e);}['disableLocalCache'](){const _0xabde06=_0x30ac70;this[_0xabde06(0x3a6)]=!0x0;}[_0x30ac70(0x2ce)](){const _0x494b04=_0x30ac70;this[_0x494b04(0x3a6)]=!0x1;}get['saveTaskMap'](){const _0x426cb8=_0x30ac70;return this[_0x426cb8(0x20e)];}[_0x30ac70(0x2d4)](){const _0x331ec7=_0x30ac70;this[_0x331ec7(0x3b0)]()[_0x331ec7(0x3a4)](()=>super[_0x331ec7(0x2d4)]());}async[_0x30ac70(0x304)](_0x3eed61){const _0x56cb90=_0x30ac70;return this[_0x56cb90(0x3a6)]?null:this[_0x56cb90(0x1f8)][_0x56cb90(0x3f5)](u[_0x56cb90(0x413)](_0x3eed61));}async[_0x30ac70(0x344)](_0x23f2d0,_0x4665c9){const _0x34e290=_0x30ac70;return!!this[_0x34e290(0x1f8)]['setItem'](_0x23f2d0,_0x4665c9);}['updateOfflineData'](_0x112026,_0x452a15,_0x4a774e,_0x4e3aab){const _0x206af6=_0x30ac70,_0x7d962c=this[_0x206af6(0x2de)][_0x206af6(0x1c3)](_0x112026);this['_cachedData'][_0x206af6(0x1e1)](_0x112026,{'unitID':_0x112026,'type':_0x452a15,'awaitingChangeset':_0x4a774e,'mutations':_0x4e3aab,'rev':_0x7d962c}),this[_0x206af6(0x20e)][_0x206af6(0x2db)](_0x112026)||this[_0x206af6(0x2fa)](_0x112026);}[_0x30ac70(0x2fa)](_0x79b9e2){const _0xb98730=_0x30ac70,_0x1ebd12=this[_0xb98730(0x3a3)]();_0x1ebd12===0x0?this[_0xb98730(0x2ed)](_0x79b9e2):this[_0xb98730(0x20e)][_0xb98730(0x1e1)](_0x79b9e2,setTimeout(()=>this[_0xb98730(0x2ed)](_0x79b9e2),_0x1ebd12));}[_0x30ac70(0x3a3)](){const _0x227cb2=_0x30ac70;var _0xb9ce99;return(_0xb9ce99=this['_configService'][_0x227cb2(0x23b)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xb9ce99:u[_0x227cb2(0x2e6)];}[_0x30ac70(0x2ed)](_0xa14415){const _0x495f9a=_0x30ac70,_0xe4276e=this[_0x495f9a(0x20e)][_0x495f9a(0x34e)](_0xa14415);return _0xe4276e!==void 0x0&&window[_0x495f9a(0x232)](_0xe4276e),this[_0x495f9a(0x1f8)][_0x495f9a(0x39f)](u[_0x495f9a(0x413)](_0xa14415),this[_0x495f9a(0x210)]['get'](_0xa14415))[_0x495f9a(0x3a4)](()=>this[_0x495f9a(0x20e)][_0x495f9a(0x3ba)](_0xa14415));}async[_0x30ac70(0x3b0)](){const _0x309712=_0x30ac70,_0xcc1a1a=[];this[_0x309712(0x20e)][_0x309712(0x414)]((_0x4a496e,_0x4b4082)=>{const _0x19a1f7=_0x309712;window[_0x19a1f7(0x232)](_0x4a496e),_0xcc1a1a[_0x19a1f7(0x2dd)](this[_0x19a1f7(0x2ed)](_0x4b4082)[_0x19a1f7(0x3a4)](()=>{const _0x17755f=_0x19a1f7;this[_0x17755f(0x20e)]['delete'](_0x4b4082);}));}),await Promise['all'](_0xcc1a1a);}};ve=Kt([le(0x0,a['IConfigService']),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x30ac70(0x234)](m[_0x30ac70(0x198)]))],ve);class xe extends a[_0x30ac70(0x2c4)]{constructor(){const _0x2a232b=_0x30ac70;super(),h(this,_0x2a232b(0x249)),this['urlChange$']=d[_0x2a232b(0x238)](window,_0x2a232b(0x351))[_0x2a232b(0x2d2)](d[_0x2a232b(0x1c8)](this[_0x2a232b(0x2bf)]),d[_0x2a232b(0x409)](0x1),d[_0x2a232b(0x2f1)](void 0x0));}[_0x30ac70(0x394)](_0xfb913d,_0x4521ed,_0x1f17bb=!0x1){const _0x5e33ba=_0x30ac70,_0x55012f=new URL(window[_0x5e33ba(0x2ee)][_0x5e33ba(0x216)]);_0x55012f[_0x5e33ba(0x32c)]['set'](_0xfb913d,_0x4521ed),_0x1f17bb?window[_0x5e33ba(0x36b)][_0x5e33ba(0x230)]('','',_0x55012f[_0x5e33ba(0x3e9)]()):window[_0x5e33ba(0x36b)][_0x5e33ba(0x3da)]('','',_0x55012f[_0x5e33ba(0x3e9)]());}[_0x30ac70(0x2c0)](_0x4bc9af,_0x4fd3bd=!0x1){const _0xd68477=_0x30ac70,_0x27426d=new URL(window['location'][_0xd68477(0x216)]);_0x27426d[_0xd68477(0x32c)][_0xd68477(0x3ba)](_0x4bc9af),_0x4fd3bd?window[_0xd68477(0x36b)][_0xd68477(0x230)]('','',_0x27426d['toString']()):window['history'][_0xd68477(0x3da)]('','',_0x27426d[_0xd68477(0x3e9)]());}[_0x30ac70(0x40e)](_0xac7ae8){const _0x178ffe=_0x30ac70;var _0x47d53f;return(_0x47d53f=new URL(window[_0x178ffe(0x2ee)][_0x178ffe(0x216)])[_0x178ffe(0x32c)][_0x178ffe(0x34e)](_0xac7ae8))!=null?_0x47d53f:void 0x0;}}var qt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x50ff50,_0x52c39e,_0x5c15bb)=>_0x52c39e in _0x50ff50?qt(_0x50ff50,_0x52c39e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c15bb}):_0x50ff50[_0x52c39e]=_0x5c15bb,Zt=(_0x47d583,_0x27c599,_0x1e9832,_0x5a7f8e)=>{const _0x4ad4e1=_0x30ac70;for(var _0x116bbd=_0x5a7f8e>0x1?void 0x0:_0x5a7f8e?zt(_0x27c599,_0x1e9832):_0x27c599,_0x55bd77=_0x47d583[_0x4ad4e1(0x2e3)]-0x1,_0xa09b6b;_0x55bd77>=0x0;_0x55bd77--)(_0xa09b6b=_0x47d583[_0x55bd77])&&(_0x116bbd=_0xa09b6b(_0x116bbd)||_0x116bbd);return _0x116bbd;},_e=(_0x23074b,_0x57020a)=>(_0x2a598e,_0x494b06)=>_0x57020a(_0x2a598e,_0x494b06,_0x23074b),Qt=(_0x632798,_0xd4c850,_0x4026a0)=>Jt(_0x632798,_0xd4c850+'',_0x4026a0);const es=_0x30ac70(0x319);exports[_0x30ac70(0x34d)]=class extends a[_0x30ac70(0x3ce)]{constructor(_0x53663c=De,_0x9b1f69,_0x1717cc,_0x496b3d){const _0x269f08=_0x30ac70;super(),this[_0x269f08(0x1ee)]=_0x53663c,this['_renderManagerService']=_0x9b1f69,this[_0x269f08(0x3ec)]=_0x1717cc,this[_0x269f08(0x27d)]=_0x496b3d;const {..._0x241ddc}=a[_0x269f08(0x21c)]({},De,this['_config']);this[_0x269f08(0x27d)][_0x269f08(0x339)](Bt,_0x241ddc);}['onStarting'](){const _0xdd2f47=_0x30ac70;this['_registerDependencies'](),this[_0xdd2f47(0x2d6)]();}[_0x30ac70(0x3ac)](){const _0x3ad100=_0x30ac70;this[_0x3ad100(0x397)]();}[_0x30ac70(0x329)](){const _0x51581d=_0x30ac70;var _0x450963;const _0x265fb8=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x51581d(0x40d)],{'useClass':K[_0x51581d(0x340)]}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x51581d(0x281)]],[Q],[q],[x],[ue],[exports[_0x51581d(0x321)]]];a[_0x51581d(0x372)](this['_injector'],a[_0x51581d(0x2a8)](_0x265fb8,(_0x450963=this[_0x51581d(0x1ee)])==null?void 0x0:_0x450963[_0x51581d(0x40c)]));}[_0x30ac70(0x397)](){const _0x3c43ba=_0x30ac70;this['disposeWithMe'](this['_renderManagerService'][_0x3c43ba(0x1fd)](a[_0x3c43ba(0x38d)][_0x3c43ba(0x3e6)],[fe])),this[_0x3c43ba(0x37b)](this[_0x3c43ba(0x2b7)]['registerRenderModule'](a[_0x3c43ba(0x38d)]['UNIVER_SHEET'],[Ie]));}[_0x30ac70(0x2d6)](){const _0x471058=_0x30ac70;a['touchDependencies'](this['_injector'],[[x],[exports[_0x471058(0x281)]],[Q],[q],[exports[_0x471058(0x321)]]]);}},Qt(exports[_0x30ac70(0x34d)],_0x30ac70(0x38b),es),exports[_0x30ac70(0x34d)]=Zt([a[_0x30ac70(0x36e)](u['UniverCollaborationClientPlugin']),_e(0x1,p['IRenderManagerService']),_e(0x2,a[_0x30ac70(0x234)](a[_0x30ac70(0x21e)])),_e(0x3,a[_0x30ac70(0x2b1)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x30ac70(0x3b4)],ss=(_0x452641,_0x2e819b,_0x125187,_0x794bc2)=>{for(var _0x2faa32=_0x794bc2>0x1?void 0x0:_0x794bc2?ts(_0x2e819b,_0x125187):_0x2e819b,_0x1eef6d=_0x452641['length']-0x1,_0x2bc8e4;_0x1eef6d>=0x0;_0x1eef6d--)(_0x2bc8e4=_0x452641[_0x1eef6d])&&(_0x2faa32=_0x2bc8e4(_0x2faa32)||_0x2faa32);return _0x2faa32;},H=(_0x1c70df,_0x38d49a)=>(_0x187681,_0x53f601)=>_0x38d49a(_0x187681,_0x53f601,_0x1c70df);exports[_0x30ac70(0x2f6)]=class extends u[_0x30ac70(0x3d3)]{constructor(_0x44fbda,_0x59c110,_0x127a70,_0xca3e5,_0x14367b){super(_0x44fbda,_0x59c110,_0x127a70,_0xca3e5,_0x14367b);}async['createSocket'](_0x4a78ff){const _0x4af191=_0x30ac70,_0x5889b4=await this[_0x4af191(0x1b9)](),_0x70a9fa=this[_0x4af191(0x262)](_0x4a78ff,_0x5889b4);return this[_0x4af191(0x2d3)](_0x70a9fa);}[_0x30ac70(0x262)](_0xb5bac3,_0xc1f023){const _0x16f16e=_0x30ac70,_0x11c960=typeof window>'u'?new URL(_0xb5bac3):new URL(_0xb5bac3,window[_0x16f16e(0x2ee)][_0x16f16e(0x29c)]);_0x11c960['searchParams'][_0x16f16e(0x1e1)](_0x16f16e(0x295),_0xc1f023);const _0x145ab5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x16f16e(0x2ee)][_0x16f16e(0x224)]);return _0x145ab5[_0x16f16e(0x34e)](_0x16f16e(0x408))&&_0x11c960[_0x16f16e(0x32c)][_0x16f16e(0x1e1)](_0x16f16e(0x408),_0x145ab5[_0x16f16e(0x34e)](_0x16f16e(0x408))),_0x11c960[_0x16f16e(0x3e9)]();}async[_0x30ac70(0x1b9)](){const _0xd45e99=_0x30ac70;var _0x4d09a0,_0x2c7412,_0x175f3c;const _0x586a02=this[_0xd45e99(0x27d)]['getConfig'](u[_0xd45e99(0x21f)]),_0x52f543=(_0x4d09a0=_0x586a02==null?void 0x0:_0x586a02['wsSessionTicketUrl'])!=null?_0x4d09a0:u[_0xd45e99(0x3ad)];return(_0x175f3c=(_0x2c7412=(await this[_0xd45e99(0x1b3)][_0xd45e99(0x34e)](_0x52f543,{'headers':{'Content-Type':_0xd45e99(0x323)}}))[_0xd45e99(0x406)])==null?void 0x0:_0x2c7412[_0xd45e99(0x331)])!=null?_0x175f3c:'';}},exports[_0x30ac70(0x2f6)]=ss([H(0x0,a[_0x30ac70(0x234)](a['Injector'])),H(0x1,a['Inject'](K[_0x30ac70(0x241)])),H(0x2,a[_0x30ac70(0x2b1)]),H(0x3,a[_0x30ac70(0x3de)]),H(0x4,m['ISnapshotServerService'])],exports[_0x30ac70(0x2f6)]);var Be=(_0x3f9612=>(_0x3f9612[_0x3f9612[_0x30ac70(0x269)]=0x0]=_0x30ac70(0x269),_0x3f9612[_0x3f9612['OK']=0x1]='OK',_0x3f9612[_0x3f9612[_0x30ac70(0x27f)]=0x2]='INTERNAL_ERROR',_0x3f9612[_0x3f9612[_0x30ac70(0x3dd)]=0x3]='PERMISSION_DENIED',_0x3f9612[_0x3f9612[_0x30ac70(0x363)]=0x4]=_0x30ac70(0x363),_0x3f9612[_0x3f9612[_0x30ac70(0x38f)]=0x5]=_0x30ac70(0x38f),_0x3f9612[_0x3f9612['ALREADY_EXISTS']=0x6]=_0x30ac70(0x1eb),_0x3f9612[_0x3f9612[_0x30ac70(0x2d8)]=0x7]=_0x30ac70(0x2d8),_0x3f9612[_0x3f9612[_0x30ac70(0x2f0)]=0x8]=_0x30ac70(0x2f0),_0x3f9612[_0x3f9612[_0x30ac70(0x1a6)]=0x9]=_0x30ac70(0x1a6),_0x3f9612[_0x3f9612[_0x30ac70(0x3a8)]=0xa]=_0x30ac70(0x3a8),_0x3f9612[_0x3f9612[_0x30ac70(0x2c8)]=0xb]=_0x30ac70(0x2c8),_0x3f9612[_0x3f9612[_0x30ac70(0x248)]=0xc]=_0x30ac70(0x248),_0x3f9612[_0x3f9612[_0x30ac70(0x3cd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3f9612[_0x3f9612[_0x30ac70(0x31b)]=0xe]=_0x30ac70(0x31b),_0x3f9612[_0x3f9612[_0x30ac70(0x23d)]=0x1389]=_0x30ac70(0x23d),_0x3f9612[_0x3f9612[_0x30ac70(0x1fc)]=0x1771]=_0x30ac70(0x1fc),_0x3f9612[_0x3f9612['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3f9612[_0x3f9612['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x30ac70(0x3c3),_0x3f9612[_0x3f9612['APPLY_REJECT']=0x1b59]=_0x30ac70(0x3d2),_0x3f9612[_0x3f9612[_0x30ac70(0x2d1)]=0x1b5a]=_0x30ac70(0x2d1),_0x3f9612[_0x3f9612['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x30ac70(0x2a7),_0x3f9612[_0x3f9612[_0x30ac70(0x2f2)]=0x1b5c]=_0x30ac70(0x2f2),_0x3f9612[_0x3f9612['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3f9612[_0x3f9612['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x30ac70(0x29d),_0x3f9612[_0x3f9612[_0x30ac70(0x1ad)]=0x2329]=_0x30ac70(0x1ad),_0x3f9612[_0x3f9612[_0x30ac70(0x1f4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3f9612[_0x3f9612[_0x30ac70(0x362)]=0x232b]=_0x30ac70(0x362),_0x3f9612[_0x3f9612[_0x30ac70(0x2e0)]=0x232c]=_0x30ac70(0x2e0),_0x3f9612[_0x3f9612[_0x30ac70(0x33b)]=0x232d]=_0x30ac70(0x33b),_0x3f9612[_0x3f9612['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x30ac70(0x29f),_0x3f9612[_0x3f9612[_0x30ac70(0x3d1)]=0x2712]=_0x30ac70(0x3d1),_0x3f9612[_0x3f9612['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x30ac70(0x2eb),_0x3f9612[_0x3f9612[_0x30ac70(0x3a5)]=0x2714]=_0x30ac70(0x3a5),_0x3f9612[_0x3f9612[_0x30ac70(0x3b1)]=0x271a]=_0x30ac70(0x3b1),_0x3f9612[_0x3f9612[_0x30ac70(0x240)]=0x271b]=_0x30ac70(0x240),_0x3f9612[_0x3f9612[_0x30ac70(0x327)]=0x271c]=_0x30ac70(0x327),_0x3f9612[_0x3f9612[_0x30ac70(0x393)]=0x271d]=_0x30ac70(0x393),_0x3f9612[_0x3f9612[_0x30ac70(0x317)]=0x271e]=_0x30ac70(0x317),_0x3f9612[_0x3f9612[_0x30ac70(0x1ed)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3f9612[_0x3f9612[_0x30ac70(0x1c4)]=0x2720]=_0x30ac70(0x1c4),_0x3f9612[_0x3f9612[_0x30ac70(0x34b)]=0x2af9]=_0x30ac70(0x34b),_0x3f9612[_0x3f9612[_0x30ac70(0x27e)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3f9612[_0x3f9612[_0x30ac70(0x31e)]=0x2ee2]=_0x30ac70(0x31e),_0x3f9612[_0x3f9612[_0x30ac70(0x33a)]=0x2ee3]=_0x30ac70(0x33a),_0x3f9612[_0x3f9612[_0x30ac70(0x214)]=0x2ee4]=_0x30ac70(0x214),_0x3f9612[_0x3f9612[_0x30ac70(0x24d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3f9612[_0x3f9612['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3f9612[_0x3f9612['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x30ac70(0x3bd),_0x3f9612[_0x3f9612[_0x30ac70(0x274)]=0x32cb]=_0x30ac70(0x274),_0x3f9612[_0x3f9612[_0x30ac70(0x368)]=-0x1]=_0x30ac70(0x368),_0x3f9612))(Be||{}),is=Object[_0x30ac70(0x3b4)],ns=(_0x746a9f,_0x2210e9,_0xaf6a2d,_0xecce17)=>{for(var _0x3ce907=_0xecce17>0x1?void 0x0:_0xecce17?is(_0x2210e9,_0xaf6a2d):_0x2210e9,_0x5a55d3=_0x746a9f['length']-0x1,_0x40e919;_0x5a55d3>=0x0;_0x5a55d3--)(_0x40e919=_0x746a9f[_0x5a55d3])&&(_0x3ce907=_0x40e919(_0x3ce907)||_0x3ce907);return _0x3ce907;},he=(_0x1980bc,_0x1650f7)=>(_0x7d0547,_0x3e573f)=>_0x1650f7(_0x7d0547,_0x3e573f,_0x1980bc);exports[_0x30ac70(0x369)]=class extends a['Disposable']{constructor(_0x1a1473,_0x2f0fe8,_0x5940e5){const _0x3847e4=_0x30ac70;super(),this[_0x3847e4(0x3ee)]=_0x1a1473,this[_0x3847e4(0x1b3)]=_0x2f0fe8,this[_0x3847e4(0x27d)]=_0x5940e5;}async[_0x30ac70(0x1ec)](_0x30a9b4,_0x6c841,_0x499563,..._0x40232e){const _0x14c4b4=_0x30ac70;var _0x2b01b7,_0x3c89ba,_0x1509d2,_0x2dad47;const _0x6f18b8=this[_0x14c4b4(0x3ee)][_0x14c4b4(0x35b)]();if(!_0x6f18b8)throw new Error(_0x14c4b4(0x2e2));const _0xb152a5=((_0x2b01b7=this[_0x14c4b4(0x27d)][_0x14c4b4(0x23b)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2b01b7:u[_0x14c4b4(0x3cb)])+'/'+_0x30a9b4+'/run/'+_0x6c841,_0xbaafb=new URL(window['location']['href']),_0x503e00={'scriptId':_0x30a9b4,'runId':(_0x3c89ba=_0xbaafb[_0x14c4b4(0x32c)]['get']('runId'))!=null?_0x3c89ba:'','function':_0x6c841,'unitId':_0x6f18b8['getUnitId'](),'argsOfFunction':JSON[_0x14c4b4(0x1b5)](_0x40232e),'invokeId':(_0x1509d2=_0x499563[_0x14c4b4(0x3d7)])!=null?_0x1509d2:'','executionId':(_0x2dad47=_0x499563['executionId'])!=null?_0x2dad47:''};try{const _0x4bccbd=await this[_0x14c4b4(0x1b3)][_0x14c4b4(0x347)](_0xb152a5,{'body':_0x503e00});return _0x4bccbd[_0x14c4b4(0x406)]['error']&&_0x4bccbd[_0x14c4b4(0x406)][_0x14c4b4(0x2fe)][_0x14c4b4(0x3f2)]!==Be['OK']?_0x14c4b4(0x25c):_0x4bccbd['body']['result'];}catch{return _0x14c4b4(0x25c);}}},exports[_0x30ac70(0x369)]=ns([he(0x0,a[_0x30ac70(0x291)]),he(0x1,a[_0x30ac70(0x234)](K[_0x30ac70(0x241)])),he(0x2,a[_0x30ac70(0x2b1)])],exports[_0x30ac70(0x369)]);const Me=0x7530,Le=_0x30ac70(0x311);class rs extends a[_0x30ac70(0x314)]{constructor(){const _0x403abf=_0x30ac70;super(),h(this,_0x403abf(0x3d6),a[_0x403abf(0x245)]()),h(this,_0x403abf(0x3a7),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x403abf(0x1c0),null),h(this,_0x403abf(0x33f),new Map()),h(this,'_unitStatus',new Map()),this['_init']();}[_0x30ac70(0x2d4)](){const _0x482ccc=_0x30ac70;super[_0x482ccc(0x2d4)](),this['_clearOtherTimers'][_0x482ccc(0x414)]((_0x56ef7b,_0x581376)=>this['_removeClearOtherTimer'](_0x581376)),this[_0x482ccc(0x1c0)]&&window[_0x482ccc(0x26c)](this[_0x482ccc(0x1c0)]);}[_0x30ac70(0x2a5)](_0x4e1d64){const _0x32b3e7=_0x30ac70;return this['_ensureSubject'](_0x4e1d64)[_0x32b3e7(0x2d2)](d[_0x32b3e7(0x34a)]());}[_0x30ac70(0x24b)](_0x12a3c9){const _0x277a0e=_0x30ac70;this[_0x277a0e(0x3a7)]['size']===0x0&&this[_0x277a0e(0x322)](),this[_0x277a0e(0x3a7)]['add'](_0x12a3c9),this[_0x277a0e(0x199)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x12a3c9],'isForwarded':!0x1});}[_0x30ac70(0x215)](_0x405cae){const _0x1c322b=_0x30ac70;this[_0x1c322b(0x3a7)][_0x1c322b(0x3ba)](_0x405cae),this['_selfUnitIDs'][_0x1c322b(0x225)]===0x0&&this[_0x1c322b(0x1c0)]&&window['clearInterval'](this[_0x1c322b(0x1c0)]);}[_0x30ac70(0x1d1)](){const _0x1cb1ee=_0x30ac70;this[_0x1cb1ee(0x37b)](a[_0x1cb1ee(0x1dc)](d['fromEvent'](window,'storage')[_0x1cb1ee(0x287)](_0xd7b44=>{const _0x4781a6=_0x1cb1ee;if(_0xd7b44[_0x4781a6(0x3d4)]!==Le||!_0xd7b44[_0x4781a6(0x3eb)])return;const _0x19363b=JSON[_0x4781a6(0x342)](_0xd7b44[_0x4781a6(0x3eb)]);this[_0x4781a6(0x1d2)](_0x19363b);}))),window[_0x1cb1ee(0x273)]('unload',()=>this[_0x1cb1ee(0x199)]({'type':0x1,'memberID':this[_0x1cb1ee(0x3d6)],'unitIDs':Array['from'](this[_0x1cb1ee(0x3a7)])}));}['_handleEvent'](_0x3249ee){const _0x21a3dd=_0x30ac70;switch(_0x3249ee[_0x21a3dd(0x326)]){case 0x0:this[_0x21a3dd(0x30f)](_0x3249ee);break;case 0x1:this[_0x21a3dd(0x1b1)](_0x3249ee);break;case 0x2:this[_0x21a3dd(0x354)](_0x3249ee);break;}}[_0x30ac70(0x30f)](_0x320c2d){const _0x36e88d=_0x30ac70,{unitIDs:_0x4d8b6d,memberID:_0x319c39,isForwarded:_0x18fd5d}=_0x320c2d;_0x4d8b6d[_0x36e88d(0x414)](_0x359be8=>{const _0x3e56f8=_0x36e88d;if(!_0x18fd5d&&this[_0x3e56f8(0x34c)]['has'](_0x359be8)&&this[_0x3e56f8(0x2c1)](_0x359be8)[_0x3e56f8(0x345)](u[_0x3e56f8(0x21a)][_0x3e56f8(0x2a3)]),!this['_unitOnClients']['has'](_0x359be8)||!this[_0x3e56f8(0x34c)][_0x3e56f8(0x34e)](_0x359be8)['has'](_0x319c39)){const _0x421a11=this[_0x3e56f8(0x34c)][_0x3e56f8(0x34e)](_0x359be8)||new Set();_0x421a11[_0x3e56f8(0x3fe)](_0x319c39),this['_unitOnClients'][_0x3e56f8(0x1e1)](_0x359be8,_0x421a11),this[_0x3e56f8(0x324)](_0x319c39);}}),_0x18fd5d||this['_send']({'type':0x0,'memberID':this[_0x36e88d(0x3d6)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x30ac70(0x324)](_0x43c7c9){const _0x256a48=_0x30ac70;this[_0x256a48(0x1f7)](_0x43c7c9);const _0x384142=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x5bb118=>{const _0x3dcdd9=_0x4f9b;_0x5bb118[_0x3dcdd9(0x3ba)](_0x43c7c9);});},Me*0x2);this[_0x256a48(0x33f)][_0x256a48(0x1e1)](_0x43c7c9,_0x384142);}['_removeClearOtherTimer'](_0x2c77e4){const _0x5bb6a6=_0x30ac70;if(this['_clearOtherTimers'][_0x5bb6a6(0x2db)](_0x2c77e4)){const _0x548008=this[_0x5bb6a6(0x33f)]['get'](_0x2c77e4);_0x548008&&window[_0x5bb6a6(0x232)](_0x548008),this[_0x5bb6a6(0x33f)][_0x5bb6a6(0x1e1)](_0x2c77e4,null);}}[_0x30ac70(0x1b1)](_0x5f0432){const _0x5bdaf2=_0x30ac70,{memberID:_0x34d9e3,unitIDs:_0x276fa2}=_0x5f0432;_0x276fa2['forEach'](_0x11ccc9=>{const _0x5638ec=_0x4f9b;var _0x17aabb;const _0x3b6bdd=this[_0x5638ec(0x34c)][_0x5638ec(0x34e)](_0x11ccc9);_0x3b6bdd&&(_0x3b6bdd['delete'](_0x34d9e3),(_0x17aabb=this['_ensureSubject'](_0x11ccc9))==null||_0x17aabb[_0x5638ec(0x345)](_0x3b6bdd['size']===0x0?u[_0x5638ec(0x21a)][_0x5638ec(0x1bf)]:u[_0x5638ec(0x21a)][_0x5638ec(0x2a3)]));}),this[_0x5bdaf2(0x1f7)](_0x34d9e3);}[_0x30ac70(0x354)](_0x4d288a){const _0x30f64d=_0x30ac70;this[_0x30f64d(0x324)](_0x4d288a[_0x30f64d(0x302)]);}[_0x30ac70(0x199)](_0x36e559){const _0x11c174=_0x30ac70;localStorage[_0x11c174(0x39f)](Le,JSON['stringify'](_0x36e559));}[_0x30ac70(0x322)](){const _0x34c9b2=_0x30ac70;this[_0x34c9b2(0x1c0)]=window['setInterval'](()=>{const _0x32ce45=_0x34c9b2;this[_0x32ce45(0x199)]({'type':0x2,'memberID':this[_0x32ce45(0x3d6)]});},Me);}[_0x30ac70(0x2c1)](_0x3257e0){const _0xe68a3f=_0x30ac70;return this[_0xe68a3f(0x208)][_0xe68a3f(0x2db)](_0x3257e0)||this[_0xe68a3f(0x208)]['set'](_0x3257e0,new d[(_0xe68a3f(0x1e7))](u['UnitStatus'][_0xe68a3f(0x1bf)])),this[_0xe68a3f(0x208)]['get'](_0x3257e0);}}exports[_0x30ac70(0x2cd)]=me,exports['SheetCollabCursorShape']=$e,exports['WebBrowserSingleActiveUnitService']=rs,exports[_0x30ac70(0x19f)]=xe;
|
|
1
|
+
'use strict';const _0x12d636=_0x2c71;(function(_0xf755b4,_0x10c5b6){const _0x333846=_0x2c71,_0x307956=_0xf755b4();while(!![]){try{const _0x22a8a4=-parseInt(_0x333846(0x1d0))/0x1+-parseInt(_0x333846(0x2ee))/0x2*(-parseInt(_0x333846(0x2f1))/0x3)+-parseInt(_0x333846(0x338))/0x4*(parseInt(_0x333846(0x327))/0x5)+parseInt(_0x333846(0x324))/0x6*(parseInt(_0x333846(0x284))/0x7)+parseInt(_0x333846(0x3a7))/0x8+-parseInt(_0x333846(0x332))/0x9+parseInt(_0x333846(0x255))/0xa*(parseInt(_0x333846(0x350))/0xb);if(_0x22a8a4===_0x10c5b6)break;else _0x307956['push'](_0x307956['shift']());}catch(_0x3b9169){_0x307956['push'](_0x307956['shift']());}}}(_0x228f,0x408e3));var We=Object[_0x12d636(0x234)],Ve=(_0x5d21f3,_0x259ccd,_0x101980)=>_0x259ccd in _0x5d21f3?We(_0x5d21f3,_0x259ccd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x101980}):_0x5d21f3[_0x259ccd]=_0x101980,h=(_0x17d7c4,_0x18fbfe,_0x4355aa)=>Ve(_0x17d7c4,typeof _0x18fbfe!='symbol'?_0x18fbfe+'':_0x18fbfe,_0x4355aa);Object[_0x12d636(0x234)](exports,Symbol['toStringTag'],{'value':_0x12d636(0x3b1)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){return b=Object['assign']||function(_0x291cff){const _0xf36de8=_0x2c71;for(var _0x1b7df5,_0x4aec92=0x1,_0x687020=arguments[_0xf36de8(0x268)];_0x4aec92<_0x687020;_0x4aec92++){_0x1b7df5=arguments[_0x4aec92];for(var _0x5aa4b1 in _0x1b7df5)Object[_0xf36de8(0x2d2)][_0xf36de8(0x2ac)][_0xf36de8(0x3a0)](_0x1b7df5,_0x5aa4b1)&&(_0x291cff[_0x5aa4b1]=_0x1b7df5[_0x5aa4b1]);}return _0x291cff;},b['apply'](this,arguments);},Ke=function(_0xf51117,_0x5c6c87){const _0x19934b=_0x12d636;var _0x562ad9={};for(var _0x37fff5 in _0xf51117)Object[_0x19934b(0x2d2)][_0x19934b(0x2ac)][_0x19934b(0x3a0)](_0xf51117,_0x37fff5)&&_0x5c6c87[_0x19934b(0x219)](_0x37fff5)<0x0&&(_0x562ad9[_0x37fff5]=_0xf51117[_0x37fff5]);if(_0xf51117!=null&&typeof Object[_0x19934b(0x28f)]==_0x19934b(0x366)){for(var _0x24d159=0x0,_0x37fff5=Object[_0x19934b(0x28f)](_0xf51117);_0x24d159<_0x37fff5[_0x19934b(0x268)];_0x24d159++)_0x5c6c87['indexOf'](_0x37fff5[_0x24d159])<0x0&&Object[_0x19934b(0x2d2)][_0x19934b(0x1ee)][_0x19934b(0x3a0)](_0xf51117,_0x37fff5[_0x24d159])&&(_0x562ad9[_0x37fff5[_0x24d159]]=_0xf51117[_0x37fff5[_0x24d159]]);}return _0x562ad9;},ge=M[_0x12d636(0x23b)](function(_0x2f730f,_0x15ec32){const _0x52de90=_0x12d636;var _0x377aa4=_0x2f730f[_0x52de90(0x264)],_0x395f30=_0x2f730f['id'],_0x32f832=_0x2f730f[_0x52de90(0x2a2)],_0x1fb03d=_0x2f730f[_0x52de90(0x28e)],_0x273e1f=Ke(_0x2f730f,['icon','id',_0x52de90(0x2a2),'extend']),_0x36bad2=_0x52de90(0x2be)[_0x52de90(0x143)](_0x395f30,'\x20')['concat'](_0x32f832||'')['trim'](),_0x9a1d44=M[_0x52de90(0x13f)]('_'[_0x52de90(0x143)](Je()));return Pe(_0x377aa4,''[_0x52de90(0x143)](_0x395f30),{'defIds':_0x377aa4[_0x52de90(0x329)],'idSuffix':_0x9a1d44[_0x52de90(0x1eb)]},b({'ref':_0x15ec32,'className':_0x36bad2},_0x273e1f),_0x1fb03d);});function Pe(_0x5869ad,_0x3c07ea,_0x55b64c,_0xbac506,_0x376ec1){const _0x459cf2=_0x12d636;return M[_0x459cf2(0x195)](_0x5869ad[_0x459cf2(0x14e)],b(b({'key':_0x3c07ea},qe(_0x5869ad,_0x55b64c,_0x376ec1)),_0xbac506),(ze(_0x5869ad,_0x55b64c)[_0x459cf2(0x1cb)]||[])[_0x459cf2(0x155)](function(_0x4a581e,_0x5c2571){const _0x22b59a=_0x459cf2;return Pe(_0x4a581e,''[_0x22b59a(0x143)](_0x3c07ea,'-')[_0x22b59a(0x143)](_0x5869ad[_0x22b59a(0x14e)],'-')[_0x22b59a(0x143)](_0x5c2571),_0x55b64c,void 0x0,_0x376ec1);}));}function qe(_0x38ed3c,_0x15ccb6,_0xe8f118){const _0x339470=_0x12d636;var _0x1ca9f3=b({},_0x38ed3c[_0x339470(0x371)]);_0xe8f118!=null&&_0xe8f118[_0x339470(0x354)]&&_0x1ca9f3[_0x339470(0x23a)]===_0x339470(0x354)&&(_0x1ca9f3[_0x339470(0x23a)]=_0xe8f118[_0x339470(0x354)]),_0x38ed3c['tag']===_0x339470(0x2eb)&&_0x1ca9f3['id']&&(_0x1ca9f3['id']=_0x1ca9f3['id']+_0x15ccb6[_0x339470(0x13e)]),Object[_0x339470(0x135)](_0x1ca9f3)[_0x339470(0x266)](function(_0x51e3f8){const _0x3b8759=_0x339470;var _0x13af67=_0x51e3f8[0x0],_0x33af08=_0x51e3f8[0x1];_0x13af67==='mask'&&typeof _0x33af08==_0x3b8759(0x174)&&(_0x1ca9f3[_0x13af67]=_0x33af08['replace'](/url\(#(.*)\)/,_0x3b8759(0x192)['concat'](_0x15ccb6['idSuffix'],')')));});var _0x150860=_0x15ccb6[_0x339470(0x329)];return!_0x150860||_0x150860[_0x339470(0x268)]===0x0||(_0x38ed3c[_0x339470(0x14e)]===_0x339470(0x1a5)&&_0x1ca9f3[_0x339470(0x180)]&&(_0x1ca9f3[_0x339470(0x180)]=_0x1ca9f3[_0x339470(0x180)]+_0x15ccb6[_0x339470(0x13e)]),Object[_0x339470(0x135)](_0x1ca9f3)[_0x339470(0x266)](function(_0x5371d5){const _0x1fd238=_0x339470;var _0x4f8040=_0x5371d5[0x0],_0x4537ca=_0x5371d5[0x1];typeof _0x4537ca=='string'&&(_0x1ca9f3[_0x4f8040]=_0x4537ca[_0x1fd238(0x21b)](/url\(#(.*)\)/,_0x1fd238(0x192)[_0x1fd238(0x143)](_0x15ccb6['idSuffix'],')')));})),_0x1ca9f3;}function ze(_0x9239df,_0x597361){const _0x93ff7b=_0x12d636;var _0x2832e1,_0x4f83b2=_0x597361[_0x93ff7b(0x329)];return!_0x4f83b2||_0x4f83b2[_0x93ff7b(0x268)]===0x0?_0x9239df:_0x9239df[_0x93ff7b(0x14e)]==='defs'&&(!((_0x2832e1=_0x9239df[_0x93ff7b(0x1cb)])===null||_0x2832e1===void 0x0)&&_0x2832e1[_0x93ff7b(0x268)])?b(b({},_0x9239df),{'children':_0x9239df[_0x93ff7b(0x1cb)][_0x93ff7b(0x155)](function(_0x3a987e){const _0x5d7545=_0x93ff7b;return typeof _0x3a987e[_0x5d7545(0x371)]['id']=='string'&&_0x4f83b2&&_0x4f83b2[_0x5d7545(0x1fa)](_0x3a987e[_0x5d7545(0x371)]['id'])?b(b({},_0x3a987e),{'attrs':b(b({},_0x3a987e['attrs']),{'id':_0x3a987e[_0x5d7545(0x371)]['id']+_0x597361['idSuffix']})}):_0x3a987e;})}):_0x9239df;}function Je(){const _0x519f86=_0x12d636;return Math[_0x519f86(0x166)]()[_0x519f86(0x1ce)](0x24)['substring'](0x2,0x8);}ge[_0x12d636(0x193)]='UniverIcon';var Ze={'tag':_0x12d636(0x2fd),'attrs':{'xmlns':_0x12d636(0x32c),'fill':_0x12d636(0x29a),'viewBox':_0x12d636(0x310),'width':_0x12d636(0x296),'height':_0x12d636(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x12d636(0x182)},'children':[{'tag':_0x12d636(0x381),'attrs':{'stroke':_0x12d636(0x2db),'d':_0x12d636(0x21f),'strokeLinecap':_0x12d636(0x347),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x12d636(0x37b),'attrs':{},'children':[{'tag':_0x12d636(0x244),'attrs':{'id':_0x12d636(0x36f)},'children':[{'tag':_0x12d636(0x381),'attrs':{'fill':'white','d':_0x12d636(0x21d)}}]}]}],'defIds':[_0x12d636(0x36f)]},we=M[_0x12d636(0x23b)](function(_0xbb6efa,_0x394ecc){const _0x18c886=_0x12d636;return M[_0x18c886(0x195)](ge,Object['assign']({},_0xbb6efa,{'id':'off-line-icon','ref':_0x394ecc,'icon':Ze}));});we[_0x12d636(0x193)]=_0x12d636(0x20c);var Qe={'tag':_0x12d636(0x2fd),'attrs':{'xmlns':_0x12d636(0x32c),'fill':'none','viewBox':_0x12d636(0x231),'width':_0x12d636(0x296),'height':_0x12d636(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x12d636(0x322)},'children':[{'tag':_0x12d636(0x381),'attrs':{'stroke':_0x12d636(0x2db),'d':_0x12d636(0x3b8),'strokeLinecap':_0x12d636(0x347),'strokeLinejoin':_0x12d636(0x347),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x12d636(0x356)},'children':[{'tag':_0x12d636(0x381),'attrs':{'fill':_0x12d636(0x209),'d':_0x12d636(0x21d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12d636(0x356)]},Ae=M[_0x12d636(0x23b)](function(_0x5bb396,_0x5b7548){const _0x58652e=_0x12d636;return M['createElement'](ge,Object[_0x58652e(0x26c)]({},_0x5bb396,{'id':'on-line-icon','ref':_0x5b7548,'icon':Qe}));});Ae['displayName']=_0x12d636(0x29c);function et(_0x17a45b){const _0x3806fd=_0x12d636;switch(_0x17a45b){case u[_0x3806fd(0x2f7)][_0x3806fd(0x2cf)]:return _0x3806fd(0x271);case u[_0x3806fd(0x2f7)][_0x3806fd(0x2c3)]:return _0x3806fd(0x2f9);case u[_0x3806fd(0x2f7)][_0x3806fd(0x1b2)]:return _0x3806fd(0x31d);case u[_0x3806fd(0x2f7)][_0x3806fd(0x335)]:return _0x3806fd(0x3b0);case u[_0x3806fd(0x2f7)][_0x3806fd(0x258)]:case u[_0x3806fd(0x2f7)][_0x3806fd(0x156)]:return'collabStatus.syncing';case u[_0x3806fd(0x2f7)][_0x3806fd(0x17c)]:case u[_0x3806fd(0x2f7)][_0x3806fd(0x358)]:return _0x3806fd(0x27d);}}function tt(_0x363ddd){const _0x5b2e21=_0x12d636,{status$:_0x57a1af}=_0x363ddd,_0x10bc66=O['useObservable'](_0x57a1af,u[_0x5b2e21(0x2f7)][_0x5b2e21(0x335)]),_0x3c8b0f=O['useDependency'](a[_0x5b2e21(0x18f)]),_0x32e394=O[_0x5b2e21(0x2ec)](u[_0x5b2e21(0x1c5)]),_0x1b8f0c=_0x10bc66!==u[_0x5b2e21(0x2f7)][_0x5b2e21(0x2cf)],_0x19601c=_0x3c8b0f['t'](et(_0x10bc66)),_0x5ace61=_0x1b8f0c?P[_0x5b2e21(0x148)](Ae,{}):P['jsx'](we,{}),_0xc58c76=M['useCallback'](()=>{const _0x3e8555=_0x5b2e21;_0x1b8f0c||_0x32e394[_0x3e8555(0x31a)]();},[_0x1b8f0c,_0x32e394]);function _0x3ac6fe(){const _0x513e6b=_0x5b2e21;return P[_0x513e6b(0x2b4)](_0x513e6b(0x330),{'className':_0x513e6b(0x270),'onClick':_0xc58c76,'children':[P[_0x513e6b(0x148)](_0x513e6b(0x330),{'className':D['clsx'](_0x513e6b(0x13b),{'univer-text-green-500':_0x1b8f0c,'univer-text-red-500':!_0x1b8f0c}),'children':_0x5ace61}),P[_0x513e6b(0x148)](_0x513e6b(0x330),{'className':_0x513e6b(0x315),'children':_0x19601c})]});}return _0x1b8f0c?_0x3ac6fe():P[_0x5b2e21(0x148)](D[_0x5b2e21(0x1ae)],{'title':_0x3c8b0f['t'](_0x5b2e21(0x208)),'children':_0x3ac6fe()});}var st=Object[_0x12d636(0x152)],it=(_0x558ff5,_0x1fa702,_0x10b8d8,_0x605703)=>{const _0x380dec=_0x12d636;for(var _0x185c25=_0x605703>0x1?void 0x0:_0x605703?st(_0x1fa702,_0x10b8d8):_0x1fa702,_0xe6eae8=_0x558ff5[_0x380dec(0x268)]-0x1,_0x3e087a;_0xe6eae8>=0x0;_0xe6eae8--)(_0x3e087a=_0x558ff5[_0xe6eae8])&&(_0x185c25=_0x3e087a(_0x185c25)||_0x185c25);return _0x185c25;},V=(_0x24fbe5,_0x48bcb0)=>(_0x62dd8b,_0x25937f)=>_0x48bcb0(_0x62dd8b,_0x25937f,_0x24fbe5);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x4961e6,_0x18fa38,_0x2c3345,_0x138597){const _0x2071d3=_0x12d636;super(),h(this,_0x2071d3(0x170),new d['BehaviorSubject'](u[_0x2071d3(0x2f7)][_0x2071d3(0x335)])),(this['_univerInstanceService']=_0x4961e6,this[_0x2071d3(0x355)]=_0x18fa38,this[_0x2071d3(0x29f)]=_0x2c3345,this[_0x2071d3(0x28b)]=_0x138597,this[_0x2071d3(0x3b6)](),this[_0x2071d3(0x35a)]());}[_0x12d636(0x35a)](){const _0x523706=_0x12d636;this[_0x523706(0x2ad)](this[_0x523706(0x3a6)]['focused$'][_0x523706(0x33f)](d['switchMap'](()=>{const _0x5b4425=_0x523706,_0x437bb8=this['_univerInstanceService'][_0x5b4425(0x3a9)]();return _0x437bb8?this[_0x5b4425(0x29f)][_0x5b4425(0x2ca)](_0x437bb8['getUnitId']()):d['of'](null);}),d['switchMap'](_0x1e8715=>_0x1e8715?_0x1e8715[_0x523706(0x30a)]:d['of'](u[_0x523706(0x2f7)][_0x523706(0x335)])))[_0x523706(0x399)](_0x5a4cf2=>{const _0x441158=_0x523706;this[_0x441158(0x170)][_0x441158(0x328)](_0x5a4cf2);}));}['_initStatusComponent'](){const _0x7ca451=_0x12d636;this[_0x7ca451(0x2ad)](this[_0x7ca451(0x28b)]['registerComponent'](O[_0x7ca451(0x359)][_0x7ca451(0x36c)],()=>O[_0x7ca451(0x1a8)](nt({'status$':this['_status$'][_0x7ca451(0x158)]()}),this[_0x7ca451(0x355)])));}},exports[_0x12d636(0x2e5)]=it([V(0x0,a['IUniverInstanceService']),V(0x1,a['Inject'](a['Injector'])),V(0x2,a[_0x12d636(0x23f)](u[_0x12d636(0x203)])),V(0x3,O[_0x12d636(0x21a)])],exports['DesktopCollaborationStatusDisplayController']);function nt(_0x4d7ed9){const {status$:_0xd088e0}=_0x4d7ed9;return function(){const _0x3c41c4=_0x2c71;return P[_0x3c41c4(0x148)](tt,{'status$':_0xd088e0});};}const me=a[_0x12d636(0x362)](_0x12d636(0x2b7));var rt=Object[_0x12d636(0x152)],ot=(_0x550bef,_0x1e6fd1,_0x23eac3,_0x1010c2)=>{const _0x42a185=_0x12d636;for(var _0x286076=_0x1010c2>0x1?void 0x0:_0x1010c2?rt(_0x1e6fd1,_0x23eac3):_0x1e6fd1,_0x399c09=_0x550bef[_0x42a185(0x268)]-0x1,_0x56b8e9;_0x399c09>=0x0;_0x399c09--)(_0x56b8e9=_0x550bef[_0x399c09])&&(_0x286076=_0x56b8e9(_0x286076)||_0x286076);return _0x286076;},k=(_0x35387c,_0x31427a)=>(_0x3698fb,_0x374a35)=>_0x31427a(_0x3698fb,_0x374a35,_0x35387c);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0xfee95f,_0x38ece0,_0x523092,_0x210f3a,_0x599e06){const _0x26b37a=_0x12d636;super(),this['_urlService']=_0xfee95f,this['_logService']=_0x38ece0,this['_commandService']=_0x523092,this[_0x26b37a(0x346)]=_0x210f3a,_0x599e06?_0x599e06==null||_0x599e06[_0x26b37a(0x380)]()['then'](()=>this[_0x26b37a(0x32b)]()):(this['_logService'][_0x26b37a(0x36a)](_0x26b37a(0x318),_0x26b37a(0x16e)),this[_0x26b37a(0x32b)]());}async[_0x12d636(0x32b)](){const _0x41eea0=_0x12d636,_0x5feaf0=this['_urlService'][_0x41eea0(0x2a7)](_0x41eea0(0x35c)),_0x1950b9=this[_0x41eea0(0x2dd)][_0x41eea0(0x2a7)](_0x41eea0(0x1bd)),_0x36126f=this[_0x41eea0(0x2dd)][_0x41eea0(0x2a7)](_0x41eea0(0x308));if(!_0x5feaf0||!_0x1950b9){this[_0x41eea0(0x394)]['debug'](_0x41eea0(0x318),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x18d6b2=await this['_dataLoaderService'][_0x41eea0(0x2da)](_0x5feaf0,Number(_0x1950b9),_0x36126f);_0x18d6b2&&_0x18d6b2 instanceof a[_0x41eea0(0x341)]&&this[_0x41eea0(0x206)](_0x18d6b2);}async[_0x12d636(0x206)](_0x5836b0){const _0x1cd7af=_0x12d636;await this[_0x1cd7af(0x15a)](_0x5836b0),_0x5836b0[_0x1cd7af(0x31c)][_0x1cd7af(0x33f)](d[_0x1cd7af(0x1cc)](this[_0x1cd7af(0x23d)]))['subscribe'](_0x324446=>{_0x324446&&this['_updateURLWithCurrentState'](_0x324446);}),this[_0x1cd7af(0x2dd)][_0x1cd7af(0x27e)]['pipe'](d[_0x1cd7af(0x1cc)](this[_0x1cd7af(0x23d)]))[_0x1cd7af(0x399)](()=>this[_0x1cd7af(0x15a)](_0x5836b0));}[_0x12d636(0x295)](_0x313a90,_0x572e26=!0x1){const _0x2403b6=_0x12d636,_0x2b5ca8=this['_urlService'][_0x2403b6(0x2a7)]('subunit');_0x313a90['getSheetId']()!==_0x2b5ca8&&this[_0x2403b6(0x2dd)]['setParam']('subunit',_0x313a90[_0x2403b6(0x39b)](),_0x572e26);}async[_0x12d636(0x15a)](_0x429262){const _0xe3b2be=_0x12d636;var _0x40abb6;const _0x2a1d82=this[_0xe3b2be(0x2dd)]['getParam'](_0xe3b2be(0x308));if(!_0x2a1d82||!_0x429262[_0xe3b2be(0x1c6)](_0x2a1d82)){const _0x246557=_0x429262[_0xe3b2be(0x173)]()[0x0],_0x4dfb11=_0x429262[_0xe3b2be(0x1c6)](_0x246557);if(!_0x4dfb11)return;this[_0xe3b2be(0x295)](_0x4dfb11,!0x0),await this[_0xe3b2be(0x22c)][_0xe3b2be(0x217)](g[_0xe3b2be(0x15f)]['id'],{'unitId':_0x429262[_0xe3b2be(0x2e9)](),'subUnitId':_0x246557});return;}((_0x40abb6=_0x429262[_0xe3b2be(0x306)]())==null?void 0x0:_0x40abb6['getSheetId']())!==_0x2a1d82&&await this[_0xe3b2be(0x22c)][_0xe3b2be(0x217)](g[_0xe3b2be(0x15f)]['id'],{'unitId':_0x429262[_0xe3b2be(0x2e9)](),'subUnitId':_0x2a1d82});}},exports[_0x12d636(0x1c1)]=ot([k(0x0,me),k(0x1,a['ILogService']),k(0x2,a[_0x12d636(0x38d)]),k(0x3,a[_0x12d636(0x23f)](u[_0x12d636(0x33d)])),k(0x4,a[_0x12d636(0x25b)](Xe['IRemoteInstanceService']))],exports[_0x12d636(0x1c1)]);var at=Object[_0x12d636(0x152)],ct=(_0x151875,_0x223d35,_0x32999f,_0x58e010)=>{const _0x59b4d2=_0x12d636;for(var _0x468bde=_0x58e010>0x1?void 0x0:_0x58e010?at(_0x223d35,_0x32999f):_0x223d35,_0x5b92ac=_0x151875[_0x59b4d2(0x268)]-0x1,_0x136613;_0x5b92ac>=0x0;_0x5b92ac--)(_0x136613=_0x151875[_0x5b92ac])&&(_0x468bde=_0x136613(_0x468bde)||_0x468bde);return _0x468bde;},be=(_0x300020,_0x247ce4)=>(_0x5f2085,_0x59b490)=>_0x247ce4(_0x5f2085,_0x59b490,_0x300020);let ue=class extends a[_0x12d636(0x2b2)]{constructor(_0x3499a0,_0x50e79c){const _0x1234b8=_0x12d636;super(),this[_0x1234b8(0x141)]=_0x3499a0,this[_0x1234b8(0x1a2)]=_0x50e79c,this[_0x1234b8(0x32b)]();}['_init'](){const _0x2fcfbe=_0x12d636,_0x11b0f8=this;this[_0x2fcfbe(0x2ad)](this[_0x2fcfbe(0x141)][_0x2fcfbe(0x261)]({'onBeforePasteImage':async _0x2df128=>{const _0x4d1baa=_0x2fcfbe,_0x480df4=await _0x11b0f8[_0x4d1baa(0x1a2)][_0x4d1baa(0x2d7)](_0x2df128);return _0x480df4?{'source':_0x480df4['source'],'imageSourceType':_0x480df4[_0x4d1baa(0x240)]}:null;}}));}};ue=ct([be(0x0,E[_0x12d636(0x39e)]),be(0x1,Ge[_0x12d636(0x275)])],ue);const Oe=['purple.300',_0x12d636(0x349),_0x12d636(0x293),_0x12d636(0x37a),_0x12d636(0x259),_0x12d636(0x33e)];class Ce extends a[_0x12d636(0x37e)]{constructor(){const _0x616923=_0x12d636;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x616923(0x2d0),0x0);}['assignAColorForMemberID'](_0x52e5cb){const _0x9ab405=_0x12d636;if(this[_0x9ab405(0x241)][_0x9ab405(0x3a8)](_0x52e5cb))return this[_0x9ab405(0x241)][_0x9ab405(0x323)](_0x52e5cb);const _0x2904d0=Oe[this[_0x9ab405(0x2d0)]];return this[_0x9ab405(0x2d0)]=(this[_0x9ab405(0x2d0)]+0x1)%Oe[_0x9ab405(0x268)],this[_0x9ab405(0x241)][_0x9ab405(0x1d4)](_0x52e5cb,_0x2904d0),_0x2904d0;}}function ye(_0xbedeeb){const _0x2675a1=_0x12d636;let _0x399877='';for(const _0x3be576 of _0xbedeeb){const {startOffset:_0x45b6f0,endOffset:_0x188d05,isActive:_0x26a612,rangeType:_0x530e09,segmentId:_0x394a4b,segmentPage:_0x5ef38d}=_0x3be576;_0x399877[_0x2675a1(0x268)]&&(_0x399877+=','),_0x399877+=_0x45b6f0+':'+_0x188d05+':'+(_0x26a612?'1':'0')+':'+_0x530e09+':'+_0x394a4b+':'+_0x5ef38d;}return _0x399877;}function lt(_0x572d2d){const _0x135957=_0x12d636,_0x527636=_0x572d2d[_0x135957(0x181)](','),_0x4c5f92=[];for(const _0x36e0ac of _0x527636){const [_0x303b29,_0x18696f,_0x3fcbdb,_0x4c33e0,_0x4ff449,_0x1b5fac]=_0x36e0ac[_0x135957(0x181)](':');_0x4c5f92[_0x135957(0x38f)]({'startOffset':Number(_0x303b29),'endOffset':Number(_0x18696f),'collapsed':_0x303b29===_0x18696f,'isActive':_0x3fcbdb==='1','rangeType':_0x4c33e0===a[_0x135957(0x311)]['TEXT']?a[_0x135957(0x311)][_0x135957(0x277)]:a[_0x135957(0x311)][_0x135957(0x282)],'segmentId':typeof _0x4ff449==_0x135957(0x174)?String(_0x4ff449):'','segmentPage':Number(_0x1b5fac!=null?_0x1b5fac:-0x1)});}return _0x4c5f92['some'](_0x8fb058=>_0x8fb058[_0x135957(0x383)])||(_0x4c5f92[0x0][_0x135957(0x383)]=!0x0),_0x4c5f92;}class pe extends a[_0x12d636(0x2b2)]{constructor(){const _0x5eb91f=_0x12d636;super(...arguments),h(this,_0x5eb91f(0x238),new d[(_0x5eb91f(0x269))](null)),h(this,_0x5eb91f(0x1f2),this[_0x5eb91f(0x238)]['asObservable']());}[_0x12d636(0x36b)](_0x4747fd){const _0x36857b=_0x12d636,{unitID:_0x4bf444,memberID:_0x19bad4,textRanges:_0x2f824a}=_0x4747fd,_0x3c21ae=ye(_0x2f824a);if(_0x3c21ae==='')return;const _0x2e9ca3={'unitID':_0x4bf444,'memberID':_0x19bad4,'selection':_0x3c21ae};this[_0x36857b(0x238)][_0x36857b(0x328)](_0x2e9ca3);}}var _t=Object[_0x12d636(0x152)],ht=(_0xf65178,_0x489c90,_0x4ba98e,_0x5a1b0d)=>{const _0x3d5b28=_0x12d636;for(var _0x3b89ed=_0x5a1b0d>0x1?void 0x0:_0x5a1b0d?_t(_0x489c90,_0x4ba98e):_0x489c90,_0x4c859b=_0xf65178[_0x3d5b28(0x268)]-0x1,_0x44f0ee;_0x4c859b>=0x0;_0x4c859b--)(_0x44f0ee=_0xf65178[_0x4c859b])&&(_0x3b89ed=_0x44f0ee(_0x3b89ed)||_0x3b89ed);return _0x3b89ed;},L=(_0x704adc,_0x2e40f3)=>(_0x4b677c,_0x364fcd)=>_0x2e40f3(_0x4b677c,_0x364fcd,_0x704adc);function _0x228f(){const _0x175123=['subunit','UNDEFINED','status$','registerDependencies','_collabCursorController','CONNECTOR_DATA_TOO_LARGE','restore','onPointerLeave$','0\x200\x2016\x2016','DOC_RANGE_TYPE','Error','ILocalCacheService','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_docStateChangeManagerService','ranges','[CollaborationDataLoaderController]','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','reconnect','APPLY_REJECT','activeSheet$','collabStatus.fetchMiss','UNIVER_DOC','pushState','_cursorShapes','hide','url(#on-line-icon_clip0_910_349)','get','3161562YscOWi','getVpScrollXYInfoByPosToVp','InsertRangeMoveDownCommandId','712835UHtFLV','next','defIds','makeDirty','_init','http://www.w3.org/2000/svg','DocSelectionManagerService','Rectangle','IMessageService','div','clearTimeout','4502754gJrHdM','InsertColCommandId','transformRemoteChangeset','NOT_COLLAB','_syncEditingCollabCursorService','handleIRemoveRow','8gSUEIr','all','flatMap','_docSkeletonManagerService','_eventUnsubscribe','DataLoaderService','yellow.400','pipe','INVALID_ARGUMENT','Workbook','_disabled','ACTIVE_UNIT_EVENT_CHANNEL','session.will-retry','OTHER_CLIENT_EDITING','_dataLoaderService','round','_instanceService','jiqing.500','_notificationService','ILogService','startsWith','DEFAULT_WS_SESSION_TICKET_URL','_anchor','error','8943IlIBma','color','runRefRangeMutations','debounce','colorChannel1','_injector','on-line-icon_clip0_910_349','_cursors','PENDING','BuiltInUIPart','_initStatusListener','Warning','unit','_drawRectRange','_cursorInfo$','getMergeData','origin','_refreshCollabCursors','createIdentifier','clearInterval','_getSaveTimeout','closePath','function','InsertRowCommandId','search','column','debug','syncEditingCollabCursor','HEADER_MENU','_handleHeartbeatEvent','_docSkeleton','off-line-icon_clip0_910_343','_roomMembers$','attrs','HTTPService','_heartbeatTimer','_onCursorUpdate','isTransformMutationFailure','shareReplay','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_ASYNCIO_CANCELLED','UPDATE_CURSOR','red.300','defs','_colorAssignService','sessionTicket','Disposable','getItem','whenReady','path','transformStateCache','isActive','isTransformMutationsWithChangesetSuccess','handleDeleteRangeMoveLeft','send','unitId','removeParam','getTypeOfUnitAdded$','collab-rect-range-','setParam','sessionStatus$','ICommandService','parse','push','stringify','arc','setConfig','#FFF','_logService','getCoordByCell','ISocketService','_registerRenderDependencies','_online','subscribe','_onCursorDelete','getSheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_drawTextRange','IDocClipboardService','_scene','call','fromEventSubject','disableLocalCache','NOT_FOUND','getCurrentUnitForType','NO_OTHER_CLIENTS_EDITING','_univerInstanceService','4092520tgbdOl','has','getFocusedUnit','eventID','_removeClearOtherTimer','_draw','YUUMI_RATE_OVER_LIMIT','session.connection-failed','COLORS','collabStatus.notCollab','Module','dispose','event$','exhaustSavingTask','getTypeOfUnitDisposed$','_initStatusComponent','measureText','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','entries','fillText','undoState','name','triggerDblclick','handleInsertRangeMoveDown','univer-mr-2\x20univer-flex\x20univer-text-xl','handleIRemoveCol','m2Prime','idSuffix','useRef','createInstance','_docClipboardService','endColumn','concat','_handleHover','_httpService','_doCreateSocket','UniverCollaborationClientUIPlugin','jsx','CollaborationUIEventService','/run/','getCurrentRevOfUnit','_clearOtherTimers','ticket','tag','cursorInfo$','RefRangeService','from','getOwnPropertyDescriptor','RegularPolygon','_localStorageService','map','AWAITING_WITH_PENDING','editingUnit','asObservable','transformByState','_updateSubUnitFromURLParams','IRenderManagerService','debounceTime','getCurrentSelections','textRanges','SetWorksheetActivateCommand','TOO_MANY_REQUESTS','roomMembers','delete','currentTheme$','_drawAnchor','text','random','LOCAL_CACHE_INTERVAL_KEY','with','_entityInit$','beginPath','RevisionService','switchMap','_handleJoinEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IBeforeCloseService','_status$','...','_getScale','getUnhiddenWorksheets','string','transformIMECache','backgroundColor','_docSyncEditingCollabCursorService','_name','_handleEvent','APPLY_PERMISSION_DENIED','lineTo','SYNCED','body','_transformService','_memberService','xlink:href','split','url(#off-line-icon_clip0_910_343)','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ENSURE_SNAPSHOT_EXECUTION','getUnitStatus$','ISnapshotServerService','_hideTimer','_color','generateRandomId','UniverCollaborationClientPlugin','startRow','_registerDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','getViewport','LocaleService','then','deserializeRangeWithSheet','url(#$1','displayName','result','createElement','unsubscribe','replaceState','_scheduleSaving','executionId','permission.title','_onRefRangeChange','NodePositionConvertToRectRange','collab-text-range-','_toggleOffline','getRangePointData','max','SUBMIT_CHANGESET_TIMEOUT','_imageIoService','_hovered','location','use','_labelPosition','cursorInfo','connectInjector','SetTextSelectionsOperation','_shapes','_collaborationUIEventService','doc.mutation.rich-text-editing','code','Tooltip','_unitStatus','setStateCache','USER_NOT_INVITED_CODE','FETCH_MISS','Unknown\x20user','onCommandExecuted','_refRangeService','transformMutationsWithChangeset','InsertRangeMoveRightCommandId','save','params','hovered','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','override','type','_saveTaskMap','_saveCache','OTHER_CLIENTS_EDITING','CollaborationDataLoaderController','filter','WebSocketService','getColorFromTheme','CollaborationSessionService','getSheetBySheetId','_handleLeaveEvent','MoveRangeCommandId','_anchorDot','runOnServer','children','takeUntil','_cursor','toString','getColor','453764iHGSbr','collaboration.closeRoom','getCellPositionByOffset','INVITE_CODE_HAS_BEEN_UES','set','merge','show','MOBILE_HAS_BEEN_BOUND','_themeService','ThemeService','throttleTime','SheetsSelectionsService','_docTransformSelectionsService','_send','find','currentSkeleton$','add','EMAIL_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','LOCAL_CACHE_INTERVAL','_docTransformIMECacheService','DeleteRangeMoveUpCommandId','SessionStatus','drawWith','_collabSessionService','UNAUTHENTICATED','history','current','_document','_scheduleHeartbeat','propertyIsEnumerable','getValue','onMouseMove','getCollabCursors$','collabCursorState$','setItem','registerRenderModule','rgba(255,\x20255,\x20255,\x200.01)','INTERNAL_ERROR','_messageService','SetDocZoomRatioOperation','runId','includes','mutations','_initDependencies','addObjects','size','values','INVITE_CODE_ALREADY_BOUND','getMemberID','onPointerMove$','CollaborationController','_scheduleClearOtherTimer','_getAnchorBounding','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','collab-client.tooltip.reconnect','white','memberID','_initEvent','OffLineIcon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','transformMutation','width','YUUMI_AI_RUN_FAILED','MessageType','entityInit$','toRgbString','newValue','_beforeCloseService','UniverInstanceType','executeCommand','DocCollaborationEntity','indexOf','IUIPartsService','replace','_context','M0\x200H16V16H0z','getOffsetConfig','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','LICENSE_DISTRO_REJECTED','Subject','_removeCollabCursors','_toggleOnline','NodePositionConvertToCursor','getRelativeToViewportCoord','IConfigService','sheetId','transformSelections','labelPosition','ALREADY_EXISTS','pluginName','_commandService','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','IUniverInstanceService','_getSheetObject','0\x200\x2017\x2016','unshift','_createSocketURL','defineProperty','height','min','subscribeEvent','_collabCursorState$','touchDependencies','fill','forwardRef','Vector2','dispose$','range','Inject','imageSourceType','_assignedColors','_hover','setTimeout','clipPath','_getSessionTicket','_localeService','redoState','_initCommandExecutedListener','getStateCache','fromEvent','contains','_docTransformStateCacheService','combineLatest','PY_RUNTIME_SCRIPT_ERROR','YUUMI_URL_COL_OUT_OF_RANGE','SNAPSHOT_INVALID_SNAPSHOT','setShapeProps','permission.content','getUndoRedoMutationParamsCache','init','80fwGeHl','EffectRefRangId','_ensureSubject','AWAITING','blue.400','_selfUnitIDs','Optional','collab-text-anchor-','INVALID_INVITE_CODE','complete','assignAColorForMemberID','YUUMI_SUBSCRIPTION_NOT_FOUND','addClipboardHook','_initResize','UnitStatus','icon','onStarting','forEach','addObject','length','BehaviorSubject','_revisionService','onRendered','assign','saveTaskMap','setInterval','LICENSE_MAX_UNITS_EXCEEDED','univer-flex\x20univer-items-center','collabStatus.offline','BrowserCollaborationSocketService','YUUMI_ALL_TABLES_IS_INVALID','findNodePositionByCharIndex','IImageIoService','_localCacheService','TEXT','evenodd','_startDocCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ColorKit','APPLY_DUPLICATED','collabStatus.synced','urlChange$','CollaborationEvent','top','ITransformService','RECT','CommandType','7TNQmaZ','_setupBeforeClosingHandler','handleInsertCol','TEXT_RANGE_LAYER_INDEX','Rect','replaceDocRanges','data','_uiPartsService','Plugin','UNIVER_SHEET','extend','getOwnPropertySymbols','selection','YUUMI_TABLE_NOT_FOUND_IN_UNIT','href','green.600','setUndoRedoMutationParamsCache','_updateURLWithCurrentState','1em','handleDeleteRangeMoveUp','getSkeleton','_config','none','setAlpha','OnLineIcon','addEventListener','getAncestorScale','_collaborationController','INVITE_CODE_REQUIRED','CollaborationSocketService','className','_lastPointer','handleInsertRangeMoveRight','_sheetSkeletonManagerService','_transformUndoRedoStack','getParam','_transformHistoryAndStateStack','_session','storage','getUniverSheetInstance','hasOwnProperty','disposeWithMe','toDisposable','Shape','MOBILE_VERIFY_CODE_MISMATCH','enableLocalCache','RxDisposable','_unitOnClients','jsxs','RemoveRowCommandId','searchParams','uni.network.url-service','SheetCollabCursorShape','SOCKET_FAILED_RETRY','USERS_LEAVE','black','getConfig','_backgroundColor','univerjs-icon\x20univerjs-icon-','bottom','_entities','WECHAT_HAS_BEEN_BOUND','startColumn','CONFLICT','registerRefRange','CollaborationUIEventId','_render','_range','m1Prime','Tools','getCollabEntity$','APPLY_REVISION_CONFILICT','_configService','handleInsertRow','setActiveRange','OFFLINE','_colorIndex','fillStyle','prototype','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_DENIED','LOGIN_FAILED','DocIMEInputManagerService','saveImage','JOIN_ROOM_FAILED','popstate','loadUnit','currentColor','WebBrowserSingleActiveUnitService','_urlService','isArray','FromArray','UNRECOGNIZED','getLocalCacheKey','unitID','SOCKET_FAILED','Failed','DesktopCollaborationStatusDisplayController','_renderManagerService','RichTextEditingMutation','_startSheetCollabCursor','getUnitId','_textBubble','mask','useDependency','getRenderById','2jYURLi','DocStateChangeManagerService','post','1375881fdyrJG','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DocSkeletonManagerService','transform','_updateCollabCursors','deepClone','CollaborationStatus','engine','collabStatus.conflict','_transformPreviousActiveRange','_cachedData','_initEntityListener','svg','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MemberService','_id','_updateLocalCursor','requireSession','ONLINE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','getActiveSheet','Injector'];_0x228f=function(){return _0x175123;};return _0x228f();}function _0x2c71(_0x326e24,_0x22c7b1){const _0x228f73=_0x228f();return _0x2c71=function(_0x2c71cd,_0x1e74c2){_0x2c71cd=_0x2c71cd-0x135;let _0x9ba7e1=_0x228f73[_0x2c71cd];return _0x9ba7e1;},_0x2c71(_0x326e24,_0x22c7b1);}const ut=0x12c,dt=0x64;let de=class extends a[_0x12d636(0x2b2)]{constructor(_0x21a479,_0x4c82c0,_0x496011,_0x390fd6,_0x513d11,_0x54d6f1,_0x47b016,_0x2e16ca,_0x1c5499){const _0x585f6d=_0x12d636;super(),h(this,_0x585f6d(0x398),!0x1),h(this,_0x585f6d(0x32b),!0x1),h(this,'_cursorInfo$',new d[(_0x585f6d(0x269))](new Map())),h(this,_0x585f6d(0x14f),this[_0x585f6d(0x35e)][_0x585f6d(0x158)]()),h(this,'_roomMembers$',new d[(_0x585f6d(0x269))]([])),h(this,'roomMembers$',this[_0x585f6d(0x370)]['pipe'](d[_0x585f6d(0x15c)](ut))),h(this,_0x585f6d(0x301),a[_0x585f6d(0x353)](_0x3b2f08=>{const _0x4c6331=_0x585f6d,_0x43d5f0={'eventID':m[_0x4c6331(0x27f)][_0x4c6331(0x379)],'data':{'unitID':this[_0x4c6331(0x2e2)],'memberID':this[_0x4c6331(0x2a9)][_0x4c6331(0x201)](),'selection':ye(_0x3b2f08)}};this[_0x4c6331(0x2a9)][_0x4c6331(0x386)](_0x43d5f0,this[_0x4c6331(0x2e2)]);},dt)),(this[_0x585f6d(0x2e2)]=_0x21a479,this[_0x585f6d(0x2a9)]=_0x4c82c0,this[_0x585f6d(0x355)]=_0x496011,this['_colorAssignService']=_0x390fd6,this[_0x585f6d(0x17f)]=_0x513d11,this[_0x585f6d(0x336)]=_0x54d6f1,this['_transformService']=_0x47b016,this['_univerInstanceService']=_0x2e16ca,this[_0x585f6d(0x22c)]=_0x1c5499);}get[_0x12d636(0x1a7)](){const _0x302d2c=_0x12d636;return this[_0x302d2c(0x35e)][_0x302d2c(0x1ef)]();}get[_0x12d636(0x161)](){const _0x4eb890=_0x12d636;return this[_0x4eb890(0x370)][_0x4eb890(0x1ef)]();}['dispose'](){const _0x33021a=_0x12d636;super[_0x33021a(0x3b2)](),this[_0x33021a(0x35e)][_0x33021a(0x328)](new Map()),this[_0x33021a(0x35e)][_0x33021a(0x25e)](),this[_0x33021a(0x370)][_0x33021a(0x328)]([]),this['_roomMembers$']['complete']();}[_0x12d636(0x254)](){const _0x4334ca=_0x12d636;this[_0x4334ca(0x32b)]||(this['_init']=!0x0,this[_0x4334ca(0x2a9)][_0x4334ca(0x38c)][_0x4334ca(0x33f)](d['takeUntil'](this['dispose$']))[_0x4334ca(0x399)](_0x452cb1=>{const _0x1c0a8a=_0x4334ca;_0x452cb1===u['SessionStatus'][_0x1c0a8a(0x303)]?this[_0x1c0a8a(0x223)]():this[_0x1c0a8a(0x19e)]();}),this[_0x4334ca(0x2a9)][_0x4334ca(0x3b3)][_0x4334ca(0x33f)](d[_0x4334ca(0x1cc)](this[_0x4334ca(0x23d)]))['subscribe'](_0x1efbba=>{const _0x10cc48=_0x4334ca,_0x2d38a8=_0x1efbba[_0x10cc48(0x3aa)];_0x2d38a8===m[_0x10cc48(0x27f)][_0x10cc48(0x379)]&&this[_0x10cc48(0x374)](_0x1efbba),_0x2d38a8===m[_0x10cc48(0x27f)][_0x10cc48(0x2ba)]&&this[_0x10cc48(0x39a)](_0x1efbba);}),this[_0x4334ca(0x2ad)](this[_0x4334ca(0x22c)][_0x4334ca(0x1b4)](_0x5c00cc=>{const _0x5d9f6e=_0x4334ca,_0x364bee=_0x5c00cc[_0x5d9f6e(0x1b9)];_0x364bee!=null&&this[_0x5d9f6e(0x398)]&&_0x5c00cc['id']===Y[_0x5d9f6e(0x1a9)]['id']&&_0x364bee['unitId']===this[_0x5d9f6e(0x2e2)]&&_0x364bee['isEditing']===!0x1&&_0x364bee[_0x5d9f6e(0x317)][_0x5d9f6e(0x268)]>0x0&&this[_0x5d9f6e(0x301)](_0x364bee[_0x5d9f6e(0x317)]);})),this['_syncEditingCollabCursorService'][_0x4334ca(0x1f2)][_0x4334ca(0x33f)](d[_0x4334ca(0x1cc)](this[_0x4334ca(0x23d)]))[_0x4334ca(0x399)](_0x491e0f=>{const _0x1ce1db=_0x4334ca;if((_0x491e0f==null?void 0x0:_0x491e0f[_0x1ce1db(0x2e2)])!==this[_0x1ce1db(0x2e2)])return;const _0x26c513={'eventID':m['CollaborationEvent'][_0x1ce1db(0x379)],'data':_0x491e0f};this[_0x1ce1db(0x374)](_0x26c513);}),this[_0x4334ca(0x2ad)](this[_0x4334ca(0x22c)][_0x4334ca(0x1b4)](_0x370eb8=>{const _0x424387=_0x4334ca;if(_0x370eb8['params']==null)return;const _0x2cd91e=_0x370eb8[_0x424387(0x1b9)];if(_0x370eb8['id']!==Y[_0x424387(0x2e7)]['id']||_0x2cd91e[_0x424387(0x387)]!==this[_0x424387(0x2e2)])return;const _0x45c9c6={'id':_0x424387(0x1ac),'params':_0x2cd91e},_0xf6db62=this[_0x424387(0x1a7)];for(const [_0x31d538,_0x5a1b80]of _0xf6db62){const _0x345a95={'id':_0x424387(0x1ac),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5a1b80['ranges']}},_0x1a274b=this['_transformService'][_0x424387(0x20e)](_0x45c9c6,_0x345a95,!0x1);if(m[_0x424387(0x375)](_0x1a274b))throw _0x1a274b['error'];_0xf6db62[_0x424387(0x1d4)](_0x31d538,{..._0x5a1b80,'ranges':_0x1a274b['m2Prime'][_0x424387(0x1b9)]['textRanges']});}queueMicrotask(()=>{const _0x4a59fd=_0x424387;this[_0x4a59fd(0x35e)][_0x4a59fd(0x328)](_0xf6db62);});})));}[_0x12d636(0x374)](_0x4112f2){const _0x31f083=_0x12d636;var _0x2d80f6,_0x1a9639;const {memberID:_0x7dbcee,selection:_0x17e56c}=_0x4112f2[_0x31f083(0x28a)],_0x2642df=lt(_0x17e56c),_0x3ff123=(_0x1a9639=(_0x2d80f6=this[_0x31f083(0x17f)]['getMember'](this['unitID'],_0x7dbcee))==null?void 0x0:_0x2d80f6[_0x31f083(0x138)])!=null?_0x1a9639:_0x31f083(0x1b3),_0x1d1216={'color':this[_0x31f083(0x37c)][_0x31f083(0x25f)](_0x7dbcee),'name':_0x3ff123,'ranges':_0x2642df},_0x294fa7=this[_0x31f083(0x1a7)];_0x294fa7[_0x31f083(0x1d4)](_0x7dbcee,_0x1d1216),this[_0x31f083(0x35e)][_0x31f083(0x328)](_0x294fa7);}[_0x12d636(0x39a)](_0x208a6a){const _0x17a569=_0x12d636,{memberID:_0x1cac28}=_0x208a6a['data'],_0x4888a0=this['cursorInfo'];_0x4888a0[_0x17a569(0x162)](_0x1cac28),this[_0x17a569(0x35e)][_0x17a569(0x328)](_0x4888a0);}[_0x12d636(0x223)](){const _0x324e56=_0x12d636;var _0x5b5485;if(this[_0x324e56(0x398)]=!0x0,((_0x5b5485=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5b5485[_0x324e56(0x2e9)]())!==this[_0x324e56(0x2e2)])return;const _0x7713d3=this[_0x324e56(0x355)]['get'](Y[_0x324e56(0x32d)])[_0x324e56(0x22d)]();Array['isArray'](_0x7713d3)&&_0x7713d3[_0x324e56(0x268)]>0x0&&this['_updateLocalCursor'](_0x7713d3);}[_0x12d636(0x19e)](){const _0x26b128=_0x12d636;this[_0x26b128(0x398)]=!0x1;}};de=ht([L(0x2,a[_0x12d636(0x23f)](a[_0x12d636(0x307)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x12d636(0x23f)](u[_0x12d636(0x2ff)])),L(0x5,a[_0x12d636(0x23f)](pe)),L(0x6,m[_0x12d636(0x281)]),L(0x7,a[_0x12d636(0x22f)]),L(0x8,a[_0x12d636(0x38d)])],de);var St=Object[_0x12d636(0x152)],ft=(_0xb03b44,_0x1d7fc0,_0x349226,_0x3e1658)=>{for(var _0x3b86a2=_0x3e1658>0x1?void 0x0:_0x3e1658?St(_0x1d7fc0,_0x349226):_0x1d7fc0,_0x51ecc3=_0xb03b44['length']-0x1,_0x1a4026;_0x51ecc3>=0x0;_0x51ecc3--)(_0x1a4026=_0xb03b44[_0x51ecc3])&&(_0x3b86a2=_0x1a4026(_0x3b86a2)||_0x3b86a2);return _0x3b86a2;},A=(_0x1b2697,_0x29d17e)=>(_0x297ad5,_0x294a09)=>_0x29d17e(_0x297ad5,_0x294a09,_0x1b2697);const It=0x12c,vt=0x64,gt=()=>{let _0x474f91=[],_0x508431=!0x1;return _0x1a3bef=>{const _0x3f20ed=_0x2c71;_0x474f91[_0x3f20ed(0x38f)](_0x1a3bef),_0x508431||(_0x508431=!0x0,setTimeout(()=>{const _0x3e4039=_0x3f20ed;_0x474f91[_0x3e4039(0x266)](_0x29526c=>_0x29526c()),_0x474f91=[],_0x508431=!0x1;}));};};let Se=class extends a[_0x12d636(0x2b2)]{constructor(_0x35f535,_0xaafce5,_0x1fff1b,_0x41a374,_0x5570a5,_0x15c696,_0x25dd40,_0x368d3b){const _0x42f8ab=_0x12d636;super(),h(this,_0x42f8ab(0x398),!0x1),h(this,'_init',!0x1),h(this,_0x42f8ab(0x35e),new d[(_0x42f8ab(0x269))](new Map())),h(this,_0x42f8ab(0x14f),this[_0x42f8ab(0x35e)][_0x42f8ab(0x158)]()),h(this,_0x42f8ab(0x370),new d[(_0x42f8ab(0x269))]([])),h(this,'roomMembers$',this[_0x42f8ab(0x370)][_0x42f8ab(0x33f)](d[_0x42f8ab(0x15c)](It))),h(this,_0x42f8ab(0x301),a[_0x42f8ab(0x353)]((_0x52c8de,_0x36cfa2)=>{const _0x1343e9=_0x42f8ab,_0x1044b3={'eventID':m[_0x1343e9(0x27f)][_0x1343e9(0x379)],'data':{'unitID':this[_0x1343e9(0x2e2)],'memberID':this[_0x1343e9(0x2a9)]['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x52c8de,_0x36cfa2[_0x1343e9(0x23e)])}};this[_0x1343e9(0x2a9)][_0x1343e9(0x386)](_0x1044b3,this[_0x1343e9(0x2e2)]);},vt)),(this[_0x42f8ab(0x2e2)]=_0x35f535,this[_0x42f8ab(0x2a9)]=_0xaafce5,this[_0x42f8ab(0x355)]=_0x1fff1b,this[_0x42f8ab(0x37c)]=_0x41a374,this[_0x42f8ab(0x17f)]=_0x5570a5,this[_0x42f8ab(0x3a6)]=_0x15c696,this['_commandService']=_0x25dd40,this[_0x42f8ab(0x1b5)]=_0x368d3b);}get[_0x12d636(0x1a7)](){const _0xd13974=_0x12d636;return this['_cursorInfo$'][_0xd13974(0x1ef)]();}get['roomMembers'](){const _0x1913e9=_0x12d636;return this[_0x1913e9(0x370)]['getValue']();}[_0x12d636(0x3b2)](){const _0x4e57fc=_0x12d636;super[_0x4e57fc(0x3b2)](),this[_0x4e57fc(0x35e)]['next'](new Map()),this[_0x4e57fc(0x35e)][_0x4e57fc(0x25e)](),this['_roomMembers$'][_0x4e57fc(0x328)]([]),this[_0x4e57fc(0x370)][_0x4e57fc(0x25e)]();}[_0x12d636(0x254)](){const _0x511bcf=_0x12d636;this[_0x511bcf(0x32b)]||(this[_0x511bcf(0x32b)]=!0x0,this[_0x511bcf(0x2a9)]['sessionStatus$'][_0x511bcf(0x33f)](d[_0x511bcf(0x1cc)](this[_0x511bcf(0x23d)]))[_0x511bcf(0x399)](_0x3903bf=>{const _0x576f18=_0x511bcf;_0x3903bf===u[_0x576f18(0x1e6)][_0x576f18(0x303)]?this[_0x576f18(0x223)]():this[_0x576f18(0x19e)]();}),this[_0x511bcf(0x2a9)][_0x511bcf(0x3b3)]['pipe'](d[_0x511bcf(0x1cc)](this[_0x511bcf(0x23d)]))[_0x511bcf(0x399)](_0x5854c5=>{const _0x398a67=_0x511bcf,_0x49f80f=_0x5854c5[_0x398a67(0x3aa)];_0x49f80f===m[_0x398a67(0x27f)][_0x398a67(0x379)]&&this[_0x398a67(0x374)](_0x5854c5),_0x49f80f===m[_0x398a67(0x27f)][_0x398a67(0x2ba)]&&this['_onCursorDelete'](_0x5854c5);}),this[_0x511bcf(0x19b)](),this[_0x511bcf(0x2ad)](this[_0x511bcf(0x22c)][_0x511bcf(0x1b4)](_0x5d7b64=>{const _0x1f7bdb=_0x511bcf;if(this[_0x1f7bdb(0x398)]&&_0x5d7b64['id']===g['SetSelectionsOperation']['id']&&_0x5d7b64[_0x1f7bdb(0x1b9)][_0x1f7bdb(0x387)]===this[_0x1f7bdb(0x2e2)]){const _0x1e11f0=_0x5d7b64[_0x1f7bdb(0x1b9)];this['_updateLocalCursor'](_0x1e11f0['subUnitId'],_0x1e11f0['selections'][0x0]);}})));}[_0x12d636(0x374)](_0x11526e){const _0x9d4214=_0x12d636;var _0x22299c,_0x36ccf9;const {memberID:_0x5b3b69,selection:_0x458a2f}=_0x11526e['data'],{sheetName:_0x19bcb3,range:_0x1bcc4b}=Ee[_0x9d4214(0x191)](_0x458a2f),_0xc206e4={'name':(_0x36ccf9=(_0x22299c=this['_memberService']['getMember'](this[_0x9d4214(0x2e2)],_0x5b3b69))==null?void 0x0:_0x22299c['name'])!=null?_0x36ccf9:_0x9d4214(0x1b3),'range':this['_getMergeRange'](_0x19bcb3,_0x1bcc4b),'sheetID':_0x19bcb3,'color':this[_0x9d4214(0x37c)]['assignAColorForMemberID'](_0x5b3b69),'selection':_0x458a2f},_0x7799f2=this[_0x9d4214(0x1a7)];_0x7799f2['set'](_0x5b3b69,_0xc206e4),this[_0x9d4214(0x35e)][_0x9d4214(0x328)](_0x7799f2);}['_onCursorDelete'](_0x2eeb36){const _0x155ccd=_0x12d636,{memberID:_0x9eb9e0}=_0x2eeb36[_0x155ccd(0x28a)],_0x111c39=this[_0x155ccd(0x1a7)];_0x111c39[_0x155ccd(0x162)](_0x9eb9e0),this[_0x155ccd(0x35e)][_0x155ccd(0x328)](_0x111c39);}['_getMergeRange'](_0x1c3d36,_0x20c3b2){const _0xa2d7bf=_0x12d636;var _0x13044a,_0x3b7e10;const _0x3b1352=(_0x3b7e10=(_0x13044a=this[_0xa2d7bf(0x3a6)][_0xa2d7bf(0x2ab)](this['unitID']))==null?void 0x0:_0x13044a[_0xa2d7bf(0x1c6)](_0x1c3d36))==null?void 0x0:_0x3b7e10[_0xa2d7bf(0x35f)]();return(_0x3b1352==null?void 0x0:_0x3b1352[_0xa2d7bf(0x1de)](_0x445e58=>a[_0xa2d7bf(0x32e)][_0xa2d7bf(0x24b)](_0x445e58,_0x20c3b2)))||_0x20c3b2;}['_onRefRangeChange'](){const _0x22eb31=_0x12d636,_0x2eb141=new a['DisposableCollection'](),_0x167601=gt(),_0x4b2ff9=()=>{const _0x15c5ed=_0x2c71;_0x2eb141[_0x15c5ed(0x3b2)]();const _0x315336=(_0x16c446,_0x34ddea,_0x555500,_0x8b9548)=>{const _0x3851f3=_0x15c5ed;let _0x3ea1e8=[];switch(_0x16c446['id']){case g['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x3ea1e8=g[_0x3851f3(0x385)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1e5)]:{_0x3ea1e8=g[_0x3851f3(0x297)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x333)]:{_0x3ea1e8=g[_0x3851f3(0x286)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x326)]:{_0x3ea1e8=g[_0x3851f3(0x13a)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1b7)]:{_0x3ea1e8=g[_0x3851f3(0x2a4)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x367)]:{_0x3ea1e8=g[_0x3851f3(0x2cd)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x1c8)]:{_0x3ea1e8=g['handleMoveRange'](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)]['RemoveColCommandId']:{_0x3ea1e8=g[_0x3851f3(0x13c)](_0x16c446,_0x8b9548);break;}case g[_0x3851f3(0x256)][_0x3851f3(0x2b5)]:{_0x3ea1e8=g[_0x3851f3(0x337)](_0x16c446,_0x8b9548);break;}}const _0xac598f=g[_0x3851f3(0x352)](_0x3ea1e8,_0x8b9548),_0x13b2e4=this[_0x3851f3(0x1a7)][_0x3851f3(0x323)](_0x34ddea);if(_0x13b2e4&&_0xac598f){const _0x144fd9={..._0x13b2e4,'range':_0xac598f};this[_0x3851f3(0x1a7)]['set'](_0x34ddea,_0x144fd9),_0x167601(()=>{const _0x49e310=_0x3851f3,_0x26fd39=this[_0x49e310(0x1b5)][_0x49e310(0x2c4)](_0xac598f,_0x4ed2f4=>(_0x26fd39[_0x49e310(0x3b2)](),_0x315336(_0x4ed2f4,_0x34ddea,_0x555500,_0xac598f)));_0x2eb141[_0x49e310(0x1e0)](_0x26fd39);});}return{'redos':[],'undos':[]};};this[_0x15c5ed(0x1a7)][_0x15c5ed(0x266)]((_0x5121b5,_0xb23c93)=>{const _0x1ee100=_0x15c5ed,{range:_0x1bd13b,sheetID:_0x170ada}=_0x5121b5,_0x32603e=this[_0x1ee100(0x1b5)][_0x1ee100(0x2c4)](_0x1bd13b,_0x3259bf=>(_0x32603e['dispose'](),_0x315336(_0x3259bf,_0xb23c93,_0x170ada,_0x1bd13b)));_0x2eb141[_0x1ee100(0x1e0)](_0x32603e);});};this[_0x22eb31(0x2ad)](a[_0x22eb31(0x2ae)](this['_cursorInfo$'][_0x22eb31(0x399)](()=>{_0x4b2ff9();})));}[_0x12d636(0x223)](){const _0x5a7e7a=_0x12d636;var _0x584156,_0x9ae757;if(this[_0x5a7e7a(0x398)]=!0x0,((_0x584156=this[_0x5a7e7a(0x3a6)][_0x5a7e7a(0x3a9)]())==null?void 0x0:_0x584156[_0x5a7e7a(0x2e9)]())!==this[_0x5a7e7a(0x2e2)])return;const _0x3933ab=(_0x9ae757=this['_injector'][_0x5a7e7a(0x323)](g[_0x5a7e7a(0x1db)])[_0x5a7e7a(0x15d)]())==null?void 0x0:_0x9ae757[0x0],_0x1471bb=this[_0x5a7e7a(0x3a6)][_0x5a7e7a(0x3a4)](a['UniverInstanceType'][_0x5a7e7a(0x28d)])['getActiveSheet']();_0x3933ab&&_0x1471bb&&this['_updateLocalCursor'](_0x1471bb[_0x5a7e7a(0x39b)](),_0x3933ab);}['_toggleOffline'](){const _0x34c1a8=_0x12d636;this[_0x34c1a8(0x398)]=!0x1;}};Se=ft([A(0x2,a[_0x12d636(0x23f)](a['Injector'])),A(0x3,a[_0x12d636(0x23f)](Ce)),A(0x4,a[_0x12d636(0x23f)](u[_0x12d636(0x2ff)])),A(0x5,a[_0x12d636(0x22f)]),A(0x6,a[_0x12d636(0x38d)]),A(0x7,a[_0x12d636(0x23f)](g[_0x12d636(0x150)]))],Se);var mt=Object[_0x12d636(0x152)],Ct=(_0x16677f,_0x5559c3,_0x409c6a,_0x837dcf)=>{const _0x4b0028=_0x12d636;for(var _0x11ecd6=_0x837dcf>0x1?void 0x0:_0x837dcf?mt(_0x5559c3,_0x409c6a):_0x5559c3,_0x590a77=_0x16677f[_0x4b0028(0x268)]-0x1,_0x160c3d;_0x590a77>=0x0;_0x590a77--)(_0x160c3d=_0x16677f[_0x590a77])&&(_0x11ecd6=_0x160c3d(_0x11ecd6)||_0x11ecd6);return _0x11ecd6;},ie=(_0xb422d2,_0xa789c3)=>(_0xe82fc4,_0xa23627)=>_0xa789c3(_0xe82fc4,_0xa23627,_0xb422d2);let x=class extends a[_0x12d636(0x2b2)]{constructor(_0x8b6b7d,_0x16931d,_0x3661fb){const _0x49fecc=_0x12d636;super(),h(this,_0x49fecc(0x2c0),new Map()),h(this,_0x49fecc(0x169),new d[(_0x49fecc(0x221))]()),(this['_univerInstanceService']=_0x8b6b7d,this[_0x49fecc(0x355)]=_0x16931d,this['_collabSessionService']=_0x3661fb,this[_0x49fecc(0x32b)]());}['dispose'](){const _0x469633=_0x12d636;super[_0x469633(0x3b2)](),this[_0x469633(0x169)][_0x469633(0x25e)](),this['_entities']['forEach'](_0xe3d78=>_0xe3d78[_0x469633(0x3b2)]());}[_0x12d636(0x1f1)](_0x402cc2){const _0x394780=_0x12d636;return this[_0x394780(0x2c0)][_0x394780(0x3a8)](_0x402cc2)?this[_0x394780(0x2c0)][_0x394780(0x323)](_0x402cc2)[_0x394780(0x14f)]:this[_0x394780(0x169)][_0x394780(0x33f)](d[_0x394780(0x1c2)](_0x3002e4=>_0x3002e4['unitID']===_0x402cc2),d[_0x394780(0x16c)](_0x1c6ff9=>_0x1c6ff9[_0x394780(0x14f)]));}['_init'](){const _0x50469f=_0x12d636;this[_0x50469f(0x3a6)][_0x50469f(0x389)](a[_0x50469f(0x216)]['UNIVER_SHEET'])['pipe'](d['takeUntil'](this['dispose$']))[_0x50469f(0x399)](async _0x3c68a2=>{const _0x47a1a5=_0x50469f,_0x4def2c=_0x3c68a2[_0x47a1a5(0x2e9)](),_0x32f81d=await this[_0x47a1a5(0x2e8)](_0x4def2c);this['_entityInit$'][_0x47a1a5(0x328)](_0x32f81d),this['_entities']['set'](_0x4def2c,_0x32f81d);}),this[_0x50469f(0x3a6)][_0x50469f(0x389)](a[_0x50469f(0x216)][_0x50469f(0x31e)])[_0x50469f(0x33f)](d['takeUntil'](this[_0x50469f(0x23d)]))[_0x50469f(0x33f)](d[_0x50469f(0x1c2)](_0x10ddd8=>!_0x10ddd8[_0x50469f(0x2e9)]()[_0x50469f(0x34c)]('__')))[_0x50469f(0x399)](async _0x4f5a02=>{const _0x3c7bd0=_0x50469f,_0x477b04=_0x4f5a02[_0x3c7bd0(0x2e9)](),_0x465fff=await this['_startDocCollabCursor'](_0x477b04);this[_0x3c7bd0(0x169)][_0x3c7bd0(0x328)](_0x465fff),this[_0x3c7bd0(0x2c0)][_0x3c7bd0(0x1d4)](_0x477b04,_0x465fff);}),d[_0x50469f(0x1d5)](this[_0x50469f(0x3a6)][_0x50469f(0x3b5)](a[_0x50469f(0x216)][_0x50469f(0x31e)]),this[_0x50469f(0x3a6)][_0x50469f(0x3b5)](a['UniverInstanceType'][_0x50469f(0x28d)]))[_0x50469f(0x33f)](d[_0x50469f(0x1cc)](this[_0x50469f(0x23d)]))[_0x50469f(0x399)](_0x2fe4d2=>{const _0x354cf5=_0x50469f,_0x5051be=_0x2fe4d2[_0x354cf5(0x2e9)](),_0x4685a3=this[_0x354cf5(0x2c0)]['get'](_0x5051be);_0x4685a3&&(_0x4685a3[_0x354cf5(0x3b2)](),this[_0x354cf5(0x2c0)][_0x354cf5(0x162)](_0x5051be));});}async['_startSheetCollabCursor'](_0x59f8b3){const _0x47c505=_0x12d636,_0x1ddd2d=await this[_0x47c505(0x1e8)][_0x47c505(0x302)](_0x59f8b3),_0x474703=this[_0x47c505(0x355)][_0x47c505(0x140)](Se,_0x59f8b3,_0x1ddd2d);return _0x474703[_0x47c505(0x254)](),_0x474703;}async[_0x12d636(0x279)](_0x539a47){const _0x4f0929=_0x12d636,_0xd61476=await this[_0x4f0929(0x1e8)][_0x4f0929(0x302)](_0x539a47),_0x5298fb=this[_0x4f0929(0x355)]['createInstance'](de,_0x539a47,_0xd61476);return _0x5298fb[_0x4f0929(0x254)](),_0x5298fb;}};x=Ct([ie(0x0,a[_0x12d636(0x22f)]),ie(0x1,a['Inject'](a[_0x12d636(0x307)])),ie(0x2,a['Inject'](u['CollaborationSessionService']))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x62084e,_0x20fb51){const _0x3ee346=_0x12d636;let {radius:_0x2c35c4,width:_0x5d70cd,height:_0x600414}=_0x20fb51;_0x2c35c4=_0x2c35c4!=null?_0x2c35c4:0x0,_0x5d70cd=_0x5d70cd!=null?_0x5d70cd:0x1e,_0x600414=_0x600414!=null?_0x600414:0x1e;let _0x14427c=0x0,_0xc12ee0=0x0,_0x31303d=0x0;_0x14427c=_0xc12ee0=_0x31303d=Math['min'](_0x2c35c4,_0x5d70cd/0x2,_0x600414/0x2),_0x62084e[_0x3ee346(0x16a)](),_0x62084e['moveTo'](_0x14427c,0x0),_0x62084e[_0x3ee346(0x17b)](_0x5d70cd-_0xc12ee0,0x0),_0x62084e['arc'](_0x5d70cd-_0xc12ee0,_0xc12ee0,_0xc12ee0,Math['PI']*0x3/0x2,0x0,!0x1),_0x62084e[_0x3ee346(0x17b)](_0x5d70cd,_0x600414-_0x31303d),_0x62084e[_0x3ee346(0x391)](_0x5d70cd-_0x31303d,_0x600414-_0x31303d,_0x31303d,0x0,Math['PI']/0x2,!0x1),_0x62084e[_0x3ee346(0x17b)](0x0,_0x600414),_0x62084e['lineTo'](0x0,_0x14427c),_0x62084e['arc'](_0x14427c,_0x14427c,_0x14427c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x62084e[_0x3ee346(0x365)](),_0x20fb51[_0x3ee346(0x23a)]&&(_0x62084e[_0x3ee346(0x1b8)](),_0x62084e['fillStyle']=_0x20fb51[_0x3ee346(0x23a)],_0x20fb51['fillRule']===_0x3ee346(0x278)?_0x62084e[_0x3ee346(0x23a)](_0x3ee346(0x278)):_0x62084e[_0x3ee346(0x23a)](),_0x62084e[_0x3ee346(0x30e)]());}class ee extends p['Shape']{constructor(_0x53809f,_0x2231e3){const _0x358a9a=_0x12d636;super(_0x53809f,_0x2231e3),h(this,_0x358a9a(0x351)),h(this,'text'),(this['color']=_0x2231e3==null?void 0x0:_0x2231e3['color'],this[_0x358a9a(0x165)]=_0x2231e3==null?void 0x0:_0x2231e3[_0x358a9a(0x165)]);}static[_0x12d636(0x1e7)](_0xff1dac,_0xc458ba){const _0xfb9ab5=_0x12d636,{text:_0x4bdcf6,color:_0x5f2548}=_0xc458ba;_0xff1dac['save'](),_0xff1dac['font']=_0xfb9ab5(0x39c);const _0x22c453=_0xff1dac[_0xfb9ab5(0x3b7)](_0x4bdcf6)[_0xfb9ab5(0x20f)],_0x4284c0=Math[_0xfb9ab5(0x236)](_0x22c453+0x2*ne,Te);Et(_0xff1dac,{'height':W,'radius':0x4,'width':_0x4284c0,'fill':_0x5f2548}),_0xff1dac[_0xfb9ab5(0x2d1)]=_0xfb9ab5(0x393);const _0x40acf2=ne,_0x2fcf89=W-pt,_0x43ace6=Te-0x2*ne;if(_0x22c453>_0x43ace6){let _0x20f3d5='',_0x5ee9c7=0x0;for(const _0x1eb419 of _0x4bdcf6){const _0x2eb5bb=_0xff1dac[_0xfb9ab5(0x3b7)](_0x1eb419)[_0xfb9ab5(0x20f)];if(_0x5ee9c7+_0x2eb5bb<=_0x43ace6-_0xff1dac[_0xfb9ab5(0x3b7)](_0xfb9ab5(0x171))[_0xfb9ab5(0x20f)])_0x20f3d5+=_0x1eb419,_0x5ee9c7+=_0x2eb5bb;else{_0x20f3d5+=_0xfb9ab5(0x171);break;}}_0xff1dac[_0xfb9ab5(0x136)](_0x20f3d5,_0x40acf2,_0x2fcf89);}else _0xff1dac[_0xfb9ab5(0x136)](_0x4bdcf6,_0x40acf2,_0x2fcf89);_0xff1dac[_0xfb9ab5(0x30e)]();}[_0x12d636(0x3ac)](_0xecd530){const _0x4f8c23=_0x12d636;ee[_0x4f8c23(0x1e7)](_0xecd530,this);}}const re=_0x12d636(0x25c),bt=_0x12d636(0x19d),Ot=_0x12d636(0x38a),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x12d636(0x1f5);class Re{constructor(_0x20c54d,_0xae7f41,_0x3cb9c6,_0x2ec688){const _0x31b400=_0x12d636;h(this,_0x31b400(0x1aa),[]),h(this,_0x31b400(0x34e),null),h(this,_0x31b400(0x2ea),null),h(this,_0x31b400(0x1c9),null),h(this,_0x31b400(0x187),null),h(this,_0x31b400(0x33c),null),(this[_0x31b400(0x1cd)]=_0x20c54d,this[_0x31b400(0x39f)]=_0xae7f41,this[_0x31b400(0x36e)]=_0x3cb9c6,this[_0x31b400(0x1ec)]=_0x2ec688,this[_0x31b400(0x2c6)]());}set[_0x12d636(0x242)](_0x470381){const _0x2875e4=_0x12d636;_0x470381?(this[_0x2875e4(0x1c9)]&&this[_0x2875e4(0x1c9)][_0x2875e4(0x321)](),this['_textBubble']&&this[_0x2875e4(0x2ea)][_0x2875e4(0x1d6)]()):(this[_0x2875e4(0x1c9)]&&this[_0x2875e4(0x1c9)]['show'](),this[_0x2875e4(0x2ea)]&&this['_textBubble'][_0x2875e4(0x321)]());}[_0x12d636(0x3b2)](){const _0x12ebd0=_0x12d636;for(const _0x5c714b of this[_0x12ebd0(0x1aa)])_0x5c714b[_0x12ebd0(0x3b2)]();this[_0x12ebd0(0x2ea)]&&this[_0x12ebd0(0x2ea)][_0x12ebd0(0x3b2)](),this['_anchorDot']&&this[_0x12ebd0(0x1c9)][_0x12ebd0(0x3b2)](),this[_0x12ebd0(0x34e)]&&this[_0x12ebd0(0x34e)]['dispose'](),this[_0x12ebd0(0x33c)]&&this[_0x12ebd0(0x33c)]();}['_render'](){const _0x23190d=_0x12d636;var _0x95f6f8;const {_docSkeleton:_0x155aec,_document:_0x16d75f}=this,{color:_0x265f96,name:_0x27adb8,ranges:_0x160515}=this[_0x23190d(0x1cd)],_0x4de601=_0x16d75f[_0x23190d(0x21e)](),{docsLeft:_0xd99bb1,docsTop:_0x1cf945}=_0x4de601,_0x31308c=new E[(_0x23190d(0x224))](_0x4de601,_0x155aec);for(const {startOffset:_0xd3709b,endOffset:_0x1edb62,rangeType:_0x1681d6,segmentId:_0x41dba3,segmentPage:_0x18fa6e,collapsed:_0x29c158,isActive:_0x5b791e}of _0x160515){const _0x29ae91=_0x155aec[_0x23190d(0x274)](_0xd3709b,!0x0,_0x41dba3,_0x18fa6e);let _0x248f0c=_0x155aec[_0x23190d(0x274)](_0x1edb62,!0x0,_0x41dba3,_0x18fa6e);if(_0x248f0c==null&&(_0x248f0c=_0x155aec['findNodePositionByCharIndex'](_0x1edb62-0x1,!0x1,_0x41dba3,_0x18fa6e)),_0x5b791e){const {contentBoxPointGroup:_0x2160c4}=_0x31308c[_0x23190d(0x19f)](_0x248f0c,_0x248f0c);if(_0x2160c4[_0x23190d(0x268)]===0x0)continue;this[_0x23190d(0x164)](_0x265f96,_0x2160c4,_0xd99bb1,_0x1cf945,_0x27adb8),this[_0x23190d(0x33c)]=this[_0x23190d(0x144)]();}if(_0x29ae91&&_0x248f0c){if(_0x1681d6===a[_0x23190d(0x311)][_0x23190d(0x282)]){const _0x5c60c9=new E[(_0x23190d(0x19c))](_0x4de601,_0x155aec),{pointGroup:_0x5b3439}=(_0x95f6f8=_0x5c60c9['getRangePointData'](_0x29ae91,_0x248f0c))!=null?_0x95f6f8:{};if(_0x5b3439==null||_0x5b3439[_0x23190d(0x268)]===0x0)continue;this['_drawRectRange'](_0x265f96,_0x5b3439,_0xd99bb1,_0x1cf945);}else{if(!_0x29c158){const {borderBoxPointGroup:_0x2c721c}=_0x31308c[_0x23190d(0x19f)](_0x29ae91,_0x248f0c);if(_0x2c721c[_0x23190d(0x268)]===0x0)continue;this[_0x23190d(0x39d)](_0x265f96,_0x2c721c,_0xd99bb1,_0x1cf945);}}}}}[_0x12d636(0x164)](_0x3b328f,_0x408d39,_0x4b9ac7,_0x394ca8,_0x2ebdf6){const _0x33ea0c=_0x12d636,_0x1d5df7=this[_0x33ea0c(0x205)](_0x408d39),{left:_0x15c5cb,top:_0x56a9d7,height:_0x2c37fa}=_0x1d5df7,_0x56b4e1=this[_0x33ea0c(0x172)](),_0x511dec=Rt/_0x56b4e1,_0x505789=new p[(_0x33ea0c(0x288))](re+a['generateRandomId'](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8,'height':_0x2c37fa,'width':Tt,'fill':_0x3b328f||p[_0x33ea0c(0x1cf)](a['COLORS'][_0x33ea0c(0x2bb)],0x0),'strokeWidth':_0x511dec,'stroke':Dt,'evented':!0x0});this[_0x33ea0c(0x34e)]=_0x505789,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x505789,E[_0x33ea0c(0x287)]);const _0x2c2b0a=new p[(_0x33ea0c(0x288))](re+a['generateRandomId'](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8-oe/0x2,'height':oe,'width':oe,'fill':_0x3b328f||p[_0x33ea0c(0x1cf)](a[_0x33ea0c(0x3af)][_0x33ea0c(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3b328f||p[_0x33ea0c(0x1cf)](a[_0x33ea0c(0x3af)][_0x33ea0c(0x2bb)],0x0),'evented':!0x1});this[_0x33ea0c(0x1c9)]=_0x2c2b0a,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x2c2b0a,E['TEXT_RANGE_LAYER_INDEX']);const _0x48e868=new ee(re+a[_0x33ea0c(0x189)](F),{'left':_0x15c5cb+_0x4b9ac7-_0x511dec,'top':_0x56a9d7+_0x394ca8-W,'text':_0x2ebdf6,'color':_0x3b328f});this[_0x33ea0c(0x2ea)]=_0x48e868,this[_0x33ea0c(0x39f)][_0x33ea0c(0x267)](_0x48e868,E[_0x33ea0c(0x287)]),this[_0x33ea0c(0x242)]=!0x1;}[_0x12d636(0x144)](){const _0x41ea9a=_0x12d636,_0x79c4ca=this[_0x41ea9a(0x34e)]['onPointerEnter$'][_0x41ea9a(0x237)](()=>{const _0x51698e=_0x41ea9a;this[_0x51698e(0x242)]=!0x0;}),_0x35b85d=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x5eda1d=_0x41ea9a;this[_0x5eda1d(0x187)]&&clearTimeout(this[_0x5eda1d(0x187)]),this[_0x5eda1d(0x187)]=setTimeout(()=>{const _0x280d4e=_0x5eda1d;this[_0x280d4e(0x242)]=!0x1;},0x7d0);});return()=>{const _0x431e72=_0x41ea9a;_0x79c4ca[_0x431e72(0x196)](),_0x35b85d[_0x431e72(0x196)]();};}[_0x12d636(0x39d)](_0xc646a4,_0x36bc6e,_0x2f528f,_0x31e646){const _0x38fd2d=_0x12d636,_0x4829f4=new a[(_0x38fd2d(0x27b))](_0xc646a4)[_0x38fd2d(0x29b)](0.2)[_0x38fd2d(0x213)](),_0x5f50ee=new p[(_0x38fd2d(0x153))](bt+a[_0x38fd2d(0x189)](F),{'pointsGroup':_0x36bc6e,'fill':_0x4829f4||p['getColor'](a[_0x38fd2d(0x3af)][_0x38fd2d(0x2bb)],0.2),'left':_0x2f528f,'top':_0x31e646,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x38fd2d(0x38f)](_0x5f50ee),this[_0x38fd2d(0x39f)][_0x38fd2d(0x267)](_0x5f50ee,E[_0x38fd2d(0x287)]);}[_0x12d636(0x35d)](_0x67ba51,_0x576612,_0x41608c,_0x6a2209){const _0x2564bc=_0x12d636,_0x57fd50=new a['ColorKit'](_0x67ba51)[_0x2564bc(0x29b)](0.2)[_0x2564bc(0x213)](),_0x3ba6ec=new p[(_0x2564bc(0x153))](Ot+a[_0x2564bc(0x189)](F),{'pointsGroup':_0x576612,'fill':_0x57fd50||p[_0x2564bc(0x1cf)](a[_0x2564bc(0x3af)][_0x2564bc(0x2bb)],0.2),'left':_0x41608c,'top':_0x6a2209,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2564bc(0x1aa)]['push'](_0x3ba6ec),this[_0x2564bc(0x39f)][_0x2564bc(0x267)](_0x3ba6ec,E[_0x2564bc(0x287)]);}[_0x12d636(0x205)](_0x35a158){const _0x3d1312=_0x35a158[0x0],_0x45b052=_0x3d1312[0x0],_0x2c28af=_0x3d1312[0x2],{x:_0x359d57,y:_0x5e0e8b}=_0x45b052,{x:_0x43456b,y:_0x3fe6f0}=_0x2c28af;return{'left':_0x359d57,'top':_0x5e0e8b,'width':_0x43456b-_0x359d57,'height':_0x3fe6f0-_0x5e0e8b};}['_getScale'](){const _0x24b0a4=_0x12d636,{scaleX:_0x3776e9,scaleY:_0x5d6490}=this[_0x24b0a4(0x39f)][_0x24b0a4(0x29e)]();return Math[_0x24b0a4(0x1a0)](_0x3776e9,_0x5d6490);}}var Ut=Object[_0x12d636(0x152)],Nt=(_0x484aeb,_0x25acda,_0x267865,_0x7e566a)=>{const _0x342167=_0x12d636;for(var _0x5afd27=_0x7e566a>0x1?void 0x0:_0x7e566a?Ut(_0x25acda,_0x267865):_0x25acda,_0x19f779=_0x484aeb[_0x342167(0x268)]-0x1,_0x4f161f;_0x19f779>=0x0;_0x19f779--)(_0x4f161f=_0x484aeb[_0x19f779])&&(_0x5afd27=_0x4f161f(_0x5afd27)||_0x5afd27);return _0x5afd27;},X=(_0x265261,_0x3b2282)=>(_0x4a6229,_0x10c62c)=>_0x3b2282(_0x4a6229,_0x10c62c,_0x265261);let fe=class extends a[_0x12d636(0x2b2)]{constructor(_0x373e9e,_0x4a2fc6,_0x4a5c0c,_0x31a76d,_0x518d3d){const _0x49b6c0=_0x12d636;super(),h(this,_0x49b6c0(0x320),[]),h(this,_0x49b6c0(0x357),[]),(this[_0x49b6c0(0x21c)]=_0x373e9e,this[_0x49b6c0(0x33b)]=_0x4a2fc6,this[_0x49b6c0(0x30c)]=_0x4a5c0c,this[_0x49b6c0(0x22c)]=_0x31a76d,this['_themeService']=_0x518d3d,this[_0x49b6c0(0x32b)]());}[_0x12d636(0x32b)](){const _0x4dba55=_0x12d636,_0x27e857=this[_0x4dba55(0x21c)]['unitId'],_0x4c9e7f=this[_0x4dba55(0x33b)];this[_0x4dba55(0x2ad)](d[_0x4dba55(0x24d)]([this['_collabCursorController'][_0x4dba55(0x1f1)](_0x27e857),this[_0x4dba55(0x1d8)][_0x4dba55(0x163)]])[_0x4dba55(0x33f)]($[_0x4dba55(0x155)](([_0x182171,_0xc8d9d8])=>({'skeleton':_0x4c9e7f['getSkeleton'](),'cursors':[..._0x182171['values']()][_0x4dba55(0x33a)](_0xbee3cd=>({..._0xbee3cd,'color':this[_0x4dba55(0x1d8)][_0x4dba55(0x1c4)](_0xbee3cd[_0x4dba55(0x351)])}))})))[_0x4dba55(0x399)](_0x4c3a36=>{if(this['_removeCollabCursors'](),_0x4c3a36){const {skeleton:_0x2ca801,cursors:_0x2aa145}=_0x4c3a36;this['_updateCollabCursors'](_0x2ca801,_0x2aa145);}})),this[_0x4dba55(0x262)](),this['_initCommandExecutedListener']();}[_0x12d636(0x2f5)](_0x17309c,_0x3c78e9){const _0x5d61f0=_0x12d636,{scene:_0x12f959,mainComponent:_0x3a262c}=this[_0x5d61f0(0x21c)],_0x3f1bd1=_0x3c78e9[_0x5d61f0(0x155)](_0x8a5921=>new Re(_0x8a5921,_0x12f959,_0x17309c,_0x3a262c));this['_cursorShapes']=_0x3f1bd1,this[_0x5d61f0(0x357)]=_0x3c78e9;}[_0x12d636(0x361)](){const _0x21d649=_0x12d636;this['_removeCollabCursors']();const {scene:_0x510c74,mainComponent:_0x138942}=this['_context'],_0x2395a9=this[_0x21d649(0x33b)][_0x21d649(0x298)](),_0x39548d=this[_0x21d649(0x357)][_0x21d649(0x155)](_0x257963=>new Re(_0x257963,_0x510c74,_0x2395a9,_0x138942));this[_0x21d649(0x320)]=_0x39548d;}[_0x12d636(0x222)](){const _0xec75f9=_0x12d636;this[_0xec75f9(0x320)][_0xec75f9(0x266)](_0x235ab7=>_0x235ab7['dispose']()),this[_0xec75f9(0x320)]=[];}[_0x12d636(0x248)](){const _0x4d0717=_0x12d636,_0x36bced=[E[_0x4d0717(0x1f8)]['id']];this[_0x4d0717(0x2ad)](this[_0x4d0717(0x22c)]['onCommandExecuted'](_0x3e47b8=>{const _0x212090=_0x4d0717;_0x36bced[_0x212090(0x1fa)](_0x3e47b8['id'])&&_0x3e47b8[_0x212090(0x1b9)][_0x212090(0x387)]===this[_0x212090(0x21c)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x3f5c5e=_0x12d636;this['disposeWithMe'](a[_0x3f5c5e(0x3a1)](this[_0x3f5c5e(0x21c)][_0x3f5c5e(0x2f8)]['onTransformChange$'])['pipe']($['filter'](_0x3d2f6a=>_0x3d2f6a[_0x3f5c5e(0x1bd)]===p[_0x3f5c5e(0x377)]['resize']),$[_0x3f5c5e(0x1da)](0x10))[_0x3f5c5e(0x399)](()=>{this['_refreshCollabCursors']();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0x12d636(0x2f3)])),X(0x2,a[_0x12d636(0x23f)](x)),X(0x3,a['ICommandService']),X(0x4,a[_0x12d636(0x23f)](a[_0x12d636(0x1d9)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x12d636(0x2af)]{constructor(_0x3b581f,_0x4384dc){const _0x485b53=_0x12d636;super(_0x3b581f,_0x4384dc),h(this,_0x485b53(0x188)),h(this,_0x485b53(0x1a3),!0x1),h(this,_0x485b53(0x2c7)),h(this,_0x485b53(0x178),''),h(this,_0x485b53(0x1a6),_0x485b53(0x280)),h(this,_0x485b53(0x2bd)),(_0x4384dc&&this['setShapeProps'](_0x4384dc),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x485b53(0x251)]({'hovered':!0x0})),this[_0x485b53(0x30f)][_0x485b53(0x237)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x750eda){const _0x2f45a1=_0x12d636;var _0x19c29b,_0xf03633,_0x40008f,_0x375010,_0x3c3ad4,_0x47678e;this[_0x2f45a1(0x188)]=(_0x19c29b=_0x750eda['color'])!=null?_0x19c29b:this[_0x2f45a1(0x188)],this[_0x2f45a1(0x1a3)]=(_0xf03633=_0x750eda[_0x2f45a1(0x1ba)])!=null?_0xf03633:this['_hovered'],this[_0x2f45a1(0x2c7)]=(_0x40008f=_0x750eda[_0x2f45a1(0x23e)])!=null?_0x40008f:this[_0x2f45a1(0x2c7)],this['_name']=(_0x375010=_0x750eda[_0x2f45a1(0x138)])!=null?_0x375010:this[_0x2f45a1(0x178)],this[_0x2f45a1(0x1a6)]=(_0x3c3ad4=_0x750eda[_0x2f45a1(0x229)])!=null?_0x3c3ad4:this[_0x2f45a1(0x1a6)],this[_0x2f45a1(0x2bd)]=(_0x47678e=_0x750eda[_0x2f45a1(0x176)])!=null?_0x47678e:this[_0x2f45a1(0x2bd)],this[_0x2f45a1(0x159)]({'width':_0x750eda[_0x2f45a1(0x20f)],'height':_0x750eda[_0x2f45a1(0x235)]});}[_0x12d636(0x1f0)](_0x2e1e2f){const _0x40105f=_0x12d636,{row:_0x4d9bdd,column:_0x31de06}=_0x2e1e2f;if(_0x4d9bdd>=this[_0x40105f(0x2c7)][_0x40105f(0x18b)]&&_0x4d9bdd<=this[_0x40105f(0x2c7)]['endRow']&&_0x31de06>=this[_0x40105f(0x2c7)][_0x40105f(0x2c2)]&&_0x31de06<=this[_0x40105f(0x2c7)][_0x40105f(0x142)]){this[_0x40105f(0x251)]({'hovered':!0x0});return;}this[_0x40105f(0x251)]({'hovered':!0x1});}[_0x12d636(0x139)](_0x4a8f6a){return!0x1;}['_draw'](_0x5cbfbc){const _0x2a297b=_0x12d636;p[_0x2a297b(0x288)][_0x2a297b(0x1e7)](_0x5cbfbc,{'width':this[_0x2a297b(0x20f)],'height':this[_0x2a297b(0x235)],'strokeWidth':Lt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x2a297b(0x1a3)]&&(_0x5cbfbc[_0x2a297b(0x1b8)](),_0x5cbfbc[_0x2a297b(0x2f4)](0x1,0x0,0x0,0x1,this[_0x2a297b(0x20f)],this[_0x2a297b(0x1a6)]===_0x2a297b(0x2bf)?0x0:-W),ee[_0x2a297b(0x1e7)](_0x5cbfbc,{'text':this[_0x2a297b(0x178)],'color':this['_color']}),_0x5cbfbc[_0x2a297b(0x30e)]());}}var Pt=Object[_0x12d636(0x152)],wt=(_0x270e64,_0x35173c,_0x20046f,_0x27fdc3)=>{const _0xeed45b=_0x12d636;for(var _0x643b4f=_0x27fdc3>0x1?void 0x0:_0x27fdc3?Pt(_0x35173c,_0x20046f):_0x35173c,_0x45f3df=_0x270e64[_0xeed45b(0x268)]-0x1,_0x103740;_0x45f3df>=0x0;_0x45f3df--)(_0x103740=_0x270e64[_0x45f3df])&&(_0x643b4f=_0x103740(_0x643b4f)||_0x643b4f);return _0x643b4f;},ae=(_0x5bde95,_0x52921b)=>(_0x29cdfa,_0x54ddab)=>_0x52921b(_0x29cdfa,_0x54ddab,_0x5bde95);const At=0x1389;let Ie=class extends a[_0x12d636(0x2b2)]{constructor(_0x573aa4,_0x524a30,_0x49f11f,_0x42fba5){const _0x177f71=_0x12d636;super(),h(this,_0x177f71(0x357),new Set()),h(this,_0x177f71(0x2a3),null),(this[_0x177f71(0x21c)]=_0x573aa4,this['_sheetSkeletonManagerService']=_0x524a30,this[_0x177f71(0x30c)]=_0x49f11f,this[_0x177f71(0x1d8)]=_0x42fba5,this[_0x177f71(0x32b)]());}[_0x12d636(0x32b)](){const _0x312e02=_0x12d636;this[_0x312e02(0x2a5)][_0x312e02(0x1df)]['pipe']($[_0x312e02(0x1cc)](this[_0x312e02(0x23d)]),$[_0x312e02(0x16c)](_0x4caeeb=>{const _0x242fbe=_0x312e02;if(_0x4caeeb){const _0x41e2d9=_0x4caeeb[_0x242fbe(0x227)];return d[_0x242fbe(0x24d)](this[_0x242fbe(0x30c)][_0x242fbe(0x1f1)](this[_0x242fbe(0x21c)][_0x242fbe(0x387)]),this[_0x242fbe(0x1d8)][_0x242fbe(0x163)])[_0x242fbe(0x33f)]($[_0x242fbe(0x155)](([_0x5af244,_0x4f789f])=>{const _0x2fd452=_0x242fbe,_0x32ccd3=new Map();return _0x5af244[_0x2fd452(0x266)]((_0x5e9076,_0x32ae9f)=>{const _0x742697=_0x2fd452;if(_0x5e9076['sheetID']===_0x41e2d9){const _0x3364e8={..._0x5e9076};_0x3364e8[_0x742697(0x351)]=this[_0x742697(0x1d8)][_0x742697(0x1c4)](_0x5e9076['color']),_0x32ccd3['set'](_0x32ae9f,_0x3364e8);}}),{'skeleton':_0x4caeeb,'cursors':_0x32ccd3};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4d3fbf,cursors:_0x594ed0})=>{const _0x552230=_0x312e02;this[_0x552230(0x222)](),_0x4d3fbf&&this['_updateCollabCursors'](_0x4d3fbf,_0x594ed0);}),this[_0x312e02(0x2a5)][_0x312e02(0x1df)]['subscribe'](_0x9d706f=>{const _0x554d96=_0x312e02;if(_0x9d706f==null)return;const {skeleton:_0x4cfdfc}=_0x9d706f,{scene:_0x2e8e18}=this[_0x554d96(0x21c)];_0x2e8e18[_0x554d96(0x202)][_0x554d96(0x237)](a[_0x554d96(0x353)](_0x17df49=>{const _0x529007=_0x554d96;var _0x4946d3,_0xc8b91c;const {offsetX:_0x577708,offsetY:_0x53c983}=_0x17df49,{x:_0x342144,y:_0x67407}=_0x2e8e18[_0x529007(0x225)](p[_0x529007(0x23c)][_0x529007(0x2df)]([_0x577708,_0x53c983])),{scaleX:_0xc49433,scaleY:_0x4d411b}=_0x2e8e18[_0x529007(0x29e)](),_0x3b8b9e=_0x2e8e18[_0x529007(0x18e)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x374822=_0x2e8e18[_0x529007(0x325)](p[_0x529007(0x23c)][_0x529007(0x2df)]([_0x342144,_0x67407]),_0x3b8b9e),_0x476b63=_0x4cfdfc[_0x529007(0x1d2)](_0x577708,_0x53c983,_0xc49433,_0x4d411b,_0x374822);((_0x4946d3=this[_0x529007(0x2a3)])==null?void 0x0:_0x4946d3[_0x529007(0x369)])===_0x476b63['column']&&((_0xc8b91c=this['_lastPointer'])==null?void 0x0:_0xc8b91c[_0x529007(0x314)])===_0x476b63[_0x529007(0x314)]||this['_cursors'][_0x529007(0x266)](_0x23ebb8=>{_0x23ebb8['onMouseMove'](_0x476b63);});},0x64));});}[_0x12d636(0x2f5)](_0x570106,_0x269df8){const _0x29ea6c=_0x12d636;var _0x4b5a89;const _0x41ea35=(_0x4b5a89=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x4b5a89['skeleton'];if(!_0x41ea35)return;const _0x20f50f=this[_0x29ea6c(0x230)]();if(!_0x20f50f)return;this[_0x29ea6c(0x357)]['forEach'](_0x329443=>{const _0x58c543=_0x29ea6c;_0x329443[_0x58c543(0x32a)]();});const {scene:_0x2f4cdf}=_0x20f50f,_0x4322d1=yt(Array[_0x29ea6c(0x151)](_0x269df8[_0x29ea6c(0x1ff)]()))['map'](_0x2e1359=>{const _0x72703c=_0x29ea6c,{color:_0x90f230,range:_0xd1447e,name:_0x271305,selection:_0x222c70,sheetID:_0x176820}=_0x2e1359,{startColumn:_0x1fdc54,startRow:_0x5775ea,endColumn:_0x4f4503,endRow:_0xf618ff}=_0xd1447e,_0x57713d=G[_0x72703c(0x395)](_0x5775ea,_0x1fdc54,_0x2f4cdf,_0x41ea35),_0x295456=G['getCoordByCell'](_0xf618ff,_0x4f4503,_0x2f4cdf,_0x41ea35),{columnHeaderHeightAndMarginTop:_0x30b665}=_0x41ea35,{startX:_0x3bb7ad,startY:_0x1150c6}=_0x57713d,{endX:_0x552734,endY:_0x23f560}=_0x295456,_0x6554bc=_0x552734-_0x3bb7ad,_0x1ac2ee=_0x23f560-_0x1150c6,_0x355313={'labelPosition':_0x1150c6-_0x30b665>=W?_0x72703c(0x280):_0x72703c(0x2bf),'sheetID':_0x176820,'range':_0xd1447e,'color':_0x90f230,'name':_0x271305,'selection':_0x222c70,'left':_0x3bb7ad,'top':_0x1150c6,'width':_0x6554bc,'height':_0x1ac2ee,'evented':!0x1,'zIndex':At};return new $e(_0x271305,_0x355313);});_0x2f4cdf[_0x29ea6c(0x1fd)](_0x4322d1,Mt),this[_0x29ea6c(0x357)]=new Set(_0x4322d1);}[_0x12d636(0x222)](){const _0x46152c=_0x12d636;var _0x256fe6;(_0x256fe6=this['_cursors'])==null||_0x256fe6['forEach'](_0x47dafb=>_0x47dafb[_0x46152c(0x3b2)]());}[_0x12d636(0x230)](){const _0x577900=_0x12d636;return G['getSheetObject'](this[_0x577900(0x21c)][_0x577900(0x35c)],this[_0x577900(0x21c)]);}};Ie=wt([ae(0x1,a[_0x12d636(0x23f)](G['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x12d636(0x23f)](a[_0x12d636(0x1d9)]))],Ie);function yt(_0x56758f){const _0x11256c=_0x12d636,_0x798f4e=new Map();return _0x56758f['forEach'](_0x10af3c=>{const _0x264a38=_0x2c71;if(_0x798f4e[_0x264a38(0x3a8)](_0x10af3c[_0x264a38(0x290)])){const _0x3d1d4d=_0x798f4e[_0x264a38(0x323)](_0x10af3c[_0x264a38(0x290)]);_0x3d1d4d['name']+=',\x20'+_0x10af3c[_0x264a38(0x138)];}else _0x798f4e[_0x264a38(0x1d4)](_0x10af3c['selection'],_0x10af3c);}),Array[_0x11256c(0x151)](_0x798f4e[_0x11256c(0x1ff)]());}var $t=Object[_0x12d636(0x152)],xt=(_0x41762e,_0x580689,_0x49ebae,_0x25bdb8)=>{const _0x1628f3=_0x12d636;for(var _0x1774c4=_0x25bdb8>0x1?void 0x0:_0x25bdb8?$t(_0x580689,_0x49ebae):_0x580689,_0x563819=_0x41762e[_0x1628f3(0x268)]-0x1,_0x1c2e1d;_0x563819>=0x0;_0x563819--)(_0x1c2e1d=_0x41762e[_0x563819])&&(_0x1774c4=_0x1c2e1d(_0x1774c4)||_0x1774c4);return _0x1774c4;},y=(_0x31da7d,_0x50b671)=>(_0x10d9c3,_0x5f58e0)=>_0x50b671(_0x10d9c3,_0x5f58e0,_0x31da7d);let q=class extends a[_0x12d636(0x37e)]{constructor(_0x22edd2,_0x1f1134,_0x2ee691,_0x2bb0fb,_0x5c40fc,_0x15f581){const _0x5687bc=_0x12d636;super(),this[_0x5687bc(0x215)]=_0x22edd2,this[_0x5687bc(0x276)]=_0x1f1134,this[_0x5687bc(0x1ab)]=_0x2ee691,this['_messageService']=_0x2bb0fb,this[_0x5687bc(0x34a)]=_0x5c40fc,this[_0x5687bc(0x246)]=_0x15f581,this[_0x5687bc(0x285)](),this[_0x5687bc(0x20b)]();}[_0x12d636(0x285)](){const _0x1f03c9=_0x12d636;this[_0x1f03c9(0x2ad)](this[_0x1f03c9(0x215)]['registerBeforeClose'](()=>{const _0x299fb2=_0x1f03c9;if(this[_0x299fb2(0x276)][_0x299fb2(0x26d)][_0x299fb2(0x1fe)])return this[_0x299fb2(0x246)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x12d636(0x20b)](){const _0x146764=_0x12d636;this[_0x146764(0x2ad)](this['_collaborationUIEventService'][_0x146764(0x3b3)][_0x146764(0x399)](_0xf6d05d=>{const _0x2f469f=_0x146764;_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x345)]&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t']('collaboration.single-unit.warning')}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x1d1))}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x2d4)]&&this[_0x2f469f(0x34a)][_0x2f469f(0x1d6)]({'title':this['_localeService']['t'](_0x2f469f(0x19a)),'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x252)),'type':'error','duration':0x0}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)]['CONFLICT']&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D[_0x2f469f(0x211)][_0x2f469f(0x312)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x1d1))+'('+_0xf6d05d['data']+')'}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x2d8)]&&this['_messageService']['show']({'type':D['MessageType']['Warning'],'content':this[_0x2f469f(0x246)]['t'](_0xf6d05d[_0x2f469f(0x28a)]||'')}),_0xf6d05d['id']===u['CollaborationUIEventId'][_0x2f469f(0x2b9)]&&this[_0x2f469f(0x1f7)][_0x2f469f(0x1d6)]({'type':D['MessageType'][_0x2f469f(0x35b)],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x344))}),_0xf6d05d['id']===u['CollaborationUIEventId'][_0x2f469f(0x2e3)]&&this[_0x2f469f(0x1f7)]['show']({'type':D[_0x2f469f(0x211)]['Error'],'content':this[_0x2f469f(0x246)]['t'](_0x2f469f(0x3ae))}),_0xf6d05d['id']===u[_0x2f469f(0x2c5)][_0x2f469f(0x1a1)]&&this['_messageService']['show']({'type':D[_0x2f469f(0x211)][_0x2f469f(0x312)],'content':this[_0x2f469f(0x246)]['t']('session.collaboration-timeout')});}));}};q=xt([y(0x0,O[_0x12d636(0x16f)]),y(0x1,u[_0x12d636(0x313)]),y(0x2,a[_0x12d636(0x23f)](u[_0x12d636(0x149)])),y(0x3,O[_0x12d636(0x32f)]),y(0x4,O['INotificationService']),y(0x5,a['Inject'](a[_0x12d636(0x18f)]))],q);const Bt='collaboration-client-ui.config',De={};var jt=Object[_0x12d636(0x152)],kt=(_0x3be666,_0x35b2f4,_0x4e78c8,_0x10dd07)=>{const _0x3ca85b=_0x12d636;for(var _0x49390d=_0x10dd07>0x1?void 0x0:_0x10dd07?jt(_0x35b2f4,_0x4e78c8):_0x35b2f4,_0x32ccec=_0x3be666[_0x3ca85b(0x268)]-0x1,_0x5d1e6b;_0x32ccec>=0x0;_0x32ccec--)(_0x5d1e6b=_0x3be666[_0x32ccec])&&(_0x49390d=_0x5d1e6b(_0x49390d)||_0x49390d);return _0x49390d;},Ue=(_0xccc2a,_0xce5fe1)=>(_0x3938cd,_0x34ccbb)=>_0xce5fe1(_0x3938cd,_0x34ccbb,_0xccc2a);let z=class{constructor(_0x3d1838,_0x9f3f7){const _0x259977=_0x12d636;this[_0x259977(0x17e)]=_0x3d1838,this[_0x259977(0x2e6)]=_0x9f3f7;}[_0x12d636(0x175)](_0x28525d){const _0x54370a=_0x12d636;this[_0x54370a(0x2a6)](_0x28525d),this[_0x54370a(0x2fa)](_0x28525d);}[_0x12d636(0x334)](_0xe5190c){const _0x49d268=_0x12d636,{unitID:_0x1f39b9}=_0xe5190c,_0x43fe64=this['_renderManagerService'][_0x49d268(0x2ed)](_0x1f39b9)[_0x49d268(0x168)](E[_0x49d268(0x2d6)]),{redoCache:_0x3a8169}=_0x43fe64[_0x49d268(0x253)]();if(_0x3a8169[_0x49d268(0x268)]===0x0)return _0xe5190c;let _0x2752ae=a[_0x49d268(0x2c9)]['deepClone'](_0xe5190c[_0x49d268(0x1fb)][0x0]);for(let _0x500b8b=0x0;_0x500b8b<_0x3a8169[_0x49d268(0x268)];_0x500b8b++){const _0x5c1b9c={'id':_0x49d268(0x1ac),'params':{..._0x3a8169[_0x500b8b]}},_0x278f2d=this['_transformService']['transformMutation'](_0x2752ae,_0x5c1b9c,!0x1);if(m[_0x49d268(0x375)](_0x278f2d))throw _0x278f2d[_0x49d268(0x34f)];_0x2752ae=_0x278f2d[_0x49d268(0x2c8)];}return{...a[_0x49d268(0x2c9)][_0x49d268(0x2f6)](_0xe5190c),'mutations':[_0x2752ae]};}[_0x12d636(0x2a6)](_0x3c21b8){const _0x53f1a8=_0x12d636,{unitID:_0xc393c5}=_0x3c21b8,_0x4238e4=this[_0x53f1a8(0x2e6)][_0x53f1a8(0x2ed)](_0xc393c5)[_0x53f1a8(0x168)](E[_0x53f1a8(0x2d6)]),{undoCache:_0x5df37d,redoCache:_0x2bbd6b}=_0x4238e4[_0x53f1a8(0x253)]();if(_0x5df37d['length']===0x0||_0x2bbd6b[_0x53f1a8(0x268)]===0x0)return;const _0x3ae781=[],_0x417dbf=[];let _0x2f8472=a['Tools'][_0x53f1a8(0x2f6)](_0x3c21b8[_0x53f1a8(0x1fb)][0x0]),_0x281ea9=a[_0x53f1a8(0x2c9)][_0x53f1a8(0x2f6)](_0x3c21b8[_0x53f1a8(0x1fb)][0x0]);for(let _0x3ef7dc=_0x5df37d['length']-0x1;_0x3ef7dc>=0x0;_0x3ef7dc--){const _0x15aba7={'id':_0x53f1a8(0x1ac),'params':{..._0x5df37d[_0x3ef7dc]}},_0x10a049={'id':'doc.mutation.rich-text-editing','params':{..._0x2bbd6b[_0x3ef7dc]}},_0x212e8c=this[_0x53f1a8(0x17e)][_0x53f1a8(0x20e)](_0x2f8472,_0x15aba7,!0x1),_0x356aff=this[_0x53f1a8(0x17e)][_0x53f1a8(0x20e)](_0x281ea9,_0x10a049,!0x1);if(m[_0x53f1a8(0x375)](_0x212e8c))throw _0x212e8c[_0x53f1a8(0x34f)];if(m['isTransformMutationFailure'](_0x356aff))throw _0x356aff[_0x53f1a8(0x34f)];_0x3ae781[_0x53f1a8(0x232)](_0x212e8c[_0x53f1a8(0x13d)]['params']),_0x417dbf[_0x53f1a8(0x232)](_0x356aff[_0x53f1a8(0x13d)][_0x53f1a8(0x1b9)]),_0x2f8472=_0x212e8c[_0x53f1a8(0x2c8)],_0x281ea9=_0x356aff[_0x53f1a8(0x2c8)];}_0x4238e4[_0x53f1a8(0x294)]({'undoCache':_0x3ae781,'redoCache':_0x417dbf});}[_0x12d636(0x2fa)](_0x47f843){const _0x2d94b0=_0x12d636,{unitID:_0x50e256}=_0x47f843,_0x4a7159=this[_0x2d94b0(0x2e6)][_0x2d94b0(0x2ed)](_0x50e256)[_0x2d94b0(0x168)](E['DocIMEInputManagerService']),_0x4df702=_0x4a7159['getActiveRange']();if(_0x4df702==null)return;const _0x5087f0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x47f843['unitID'],'actions':null,'textRanges':[_0x4df702]}}],_0x116716=this[_0x2d94b0(0x17e)][_0x2d94b0(0x1b6)](_0x47f843,_0x5087f0);if(!m['isTransformMutationsWithChangesetSuccess'](_0x116716))throw _0x116716[_0x2d94b0(0x34f)];const _0x477c08=_0x116716[_0x2d94b0(0x13d)][0x0][_0x2d94b0(0x1b9)][_0x2d94b0(0x15e)];Array[_0x2d94b0(0x2de)](_0x477c08)&&_0x477c08['length']&&_0x4a7159[_0x2d94b0(0x2ce)](_0x477c08[0x0]);}};z=kt([Ue(0x0,m[_0x12d636(0x281)]),Ue(0x1,p[_0x12d636(0x15b)])],z);var Ft=Object[_0x12d636(0x152)],Ht=(_0x39f604,_0x1eff48,_0xcf1c1e,_0x25bdeb)=>{const _0x23f650=_0x12d636;for(var _0x433a70=_0x25bdeb>0x1?void 0x0:_0x25bdeb?Ft(_0x1eff48,_0xcf1c1e):_0x1eff48,_0x5212e5=_0x39f604[_0x23f650(0x268)]-0x1,_0x376d1e;_0x5212e5>=0x0;_0x5212e5--)(_0x376d1e=_0x39f604[_0x5212e5])&&(_0x433a70=_0x376d1e(_0x433a70)||_0x433a70);return _0x433a70;},ce=(_0x2d2f75,_0x3ac805)=>(_0x259f69,_0x437be5)=>_0x3ac805(_0x259f69,_0x437be5,_0x2d2f75);let J=class{constructor(_0x4b82b5,_0x347ed1,_0x24f92c){const _0x2cfa5b=_0x12d636;this[_0x2cfa5b(0x355)]=_0x4b82b5,this[_0x2cfa5b(0x17e)]=_0x347ed1,this[_0x2cfa5b(0x316)]=_0x24f92c;}['transformStateCache'](_0x38f4dd){const _0x496c84=_0x12d636;this[_0x496c84(0x2a8)](_0x38f4dd);}[_0x12d636(0x334)](_0x4343f1){const _0x437b99=_0x12d636,{unitID:_0x2aff85}=_0x4343f1,{collaboration:_0x512ff8}=this[_0x437b99(0x316)]['getStateCache'](_0x2aff85);if(_0x512ff8[_0x437b99(0x268)]===0x0)return _0x4343f1;let _0x385065=a[_0x437b99(0x2c9)][_0x437b99(0x2f6)](_0x4343f1[_0x437b99(0x1fb)][0x0]);for(let _0x24c895=0x0;_0x24c895<_0x512ff8['length'];_0x24c895++){const _0x58361a={'id':_0x437b99(0x1ac),'params':{'unitId':_0x512ff8[_0x24c895]['unitId'],..._0x512ff8[_0x24c895][_0x437b99(0x247)]}},_0x4c3d33=this[_0x437b99(0x17e)][_0x437b99(0x20e)](_0x385065,_0x58361a,!0x1);if(m[_0x437b99(0x375)](_0x4c3d33))throw _0x4c3d33[_0x437b99(0x34f)];_0x385065=_0x4c3d33[_0x437b99(0x2c8)];}return{...a[_0x437b99(0x2c9)]['deepClone'](_0x4343f1),'mutations':[_0x385065]};}[_0x12d636(0x2a8)](_0x14fe8b){const _0x52543e=_0x12d636,{unitID:_0x4a1425}=_0x14fe8b,{history:_0x10814b,collaboration:_0x22f365}=this['_docStateChangeManagerService'][_0x52543e(0x249)](_0x4a1425);if(_0x10814b[_0x52543e(0x268)]===0x0&&_0x22f365['length']===0x0)return;const _0x23619d=[],_0x1fa2fe=[];let _0x35c5ce=a[_0x52543e(0x2c9)]['deepClone'](_0x14fe8b[_0x52543e(0x1fb)][0x0]),_0x164f56=a[_0x52543e(0x2c9)][_0x52543e(0x2f6)](_0x14fe8b[_0x52543e(0x1fb)][0x0]);for(let _0x40b9e0=_0x10814b[_0x52543e(0x268)]-0x1;_0x40b9e0>=0x0;_0x40b9e0--){const _0xf7c879={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10814b[_0x40b9e0]['unitId'],..._0x10814b[_0x40b9e0][_0x52543e(0x137)]}},_0x5d5394={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10814b[_0x40b9e0][_0x52543e(0x387)],..._0x10814b[_0x40b9e0][_0x52543e(0x247)]}},_0xc482c0=this[_0x52543e(0x17e)][_0x52543e(0x20e)](_0x35c5ce,_0xf7c879,!0x1),_0x42768d=this[_0x52543e(0x17e)]['transformMutation'](_0x164f56,_0x5d5394,!0x1);if(m[_0x52543e(0x375)](_0xc482c0))throw _0xc482c0[_0x52543e(0x34f)];if(m[_0x52543e(0x375)](_0x42768d))throw _0x42768d[_0x52543e(0x34f)];_0x23619d[_0x52543e(0x232)]({..._0x10814b[_0x40b9e0],'undoState':_0xc482c0['m2Prime'][_0x52543e(0x1b9)],'redoState':_0x42768d[_0x52543e(0x13d)]['params']}),_0x35c5ce=_0xc482c0[_0x52543e(0x2c8)],_0x164f56=_0x42768d[_0x52543e(0x2c8)];}_0x35c5ce=a[_0x52543e(0x2c9)]['deepClone'](_0x14fe8b[_0x52543e(0x1fb)][0x0]),_0x164f56=a['Tools'][_0x52543e(0x2f6)](_0x14fe8b[_0x52543e(0x1fb)][0x0]);for(let _0xfa2184=_0x22f365['length']-0x1;_0xfa2184>=0x0;_0xfa2184--){const _0x20e8c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22f365[_0xfa2184][_0x52543e(0x387)],..._0x22f365[_0xfa2184]['undoState']}},_0x110980={'id':_0x52543e(0x1ac),'params':{'unitId':_0x22f365[_0xfa2184][_0x52543e(0x387)],..._0x22f365[_0xfa2184]['redoState']}},_0x6344bb=this['_transformService']['transformMutation'](_0x35c5ce,_0x20e8c6,!0x1),_0x38f10e=this['_transformService'][_0x52543e(0x20e)](_0x164f56,_0x110980,!0x1);if(m['isTransformMutationFailure'](_0x6344bb))throw _0x6344bb['error'];if(m[_0x52543e(0x375)](_0x38f10e))throw _0x38f10e['error'];_0x1fa2fe[_0x52543e(0x232)]({..._0x22f365[_0xfa2184],'undoState':_0x6344bb[_0x52543e(0x13d)][_0x52543e(0x1b9)],'redoState':_0x38f10e[_0x52543e(0x13d)][_0x52543e(0x1b9)]}),_0x35c5ce=_0x6344bb[_0x52543e(0x2c8)],_0x164f56=_0x38f10e[_0x52543e(0x2c8)];}this['_docStateChangeManagerService'][_0x52543e(0x1b0)](_0x4a1425,{'history':_0x23619d,'collaboration':_0x1fa2fe});}};J=Ht([ce(0x0,a['Inject'](a[_0x12d636(0x307)])),ce(0x1,m[_0x12d636(0x281)]),ce(0x2,a[_0x12d636(0x23f)](E[_0x12d636(0x2ef)]))],J);var Yt=Object[_0x12d636(0x152)],Wt=(_0x4cce93,_0x85d649,_0x219f9f,_0x58e0d6)=>{for(var _0x2b40b1=_0x58e0d6>0x1?void 0x0:_0x58e0d6?Yt(_0x85d649,_0x219f9f):_0x85d649,_0x4499ac=_0x4cce93['length']-0x1,_0x18bb57;_0x4499ac>=0x0;_0x4499ac--)(_0x18bb57=_0x4cce93[_0x4499ac])&&(_0x2b40b1=_0x18bb57(_0x2b40b1)||_0x2b40b1);return _0x2b40b1;},Ne=(_0x3177be,_0x39e93d)=>(_0x1a4f4c,_0x244c39)=>_0x39e93d(_0x1a4f4c,_0x244c39,_0x3177be);let Z=class{constructor(_0x4f1582,_0x3f5ac3){const _0x3155a0=_0x12d636;this[_0x3155a0(0x355)]=_0x4f1582,this[_0x3155a0(0x17e)]=_0x3f5ac3;}[_0x12d636(0x228)](_0x5f5f3b){const _0x32d74d=_0x12d636;var _0x238fbc;const _0x5be06b=this[_0x32d74d(0x355)][_0x32d74d(0x323)](Y[_0x32d74d(0x32d)]),_0x26cf2e=(_0x238fbc=_0x5be06b['getDocRanges']())!=null?_0x238fbc:[];if(_0x26cf2e[_0x32d74d(0x268)]===0x0)return;const _0x1ced69=_0x5f5f3b[_0x32d74d(0x2e2)],_0x3e7f11=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ced69,'actions':null,'textRanges':_0x26cf2e}}],_0x3dd2f6=this[_0x32d74d(0x17e)][_0x32d74d(0x1b6)](_0x5f5f3b,_0x3e7f11);if(!m[_0x32d74d(0x384)](_0x3dd2f6))throw _0x3dd2f6[_0x32d74d(0x34f)];const _0xa1ea01=_0x3dd2f6[_0x32d74d(0x13d)][0x0]['params'][_0x32d74d(0x15e)];Array['isArray'](_0xa1ea01)&&_0xa1ea01[_0x32d74d(0x268)]&&_0x5be06b[_0x32d74d(0x289)](_0xa1ea01,{'unitId':_0x1ced69,'subUnitId':_0x1ced69},!0x1);}};Z=Wt([Ne(0x0,a[_0x12d636(0x23f)](a[_0x12d636(0x307)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x4fb0ce,_0x238807,_0x3972b5,_0x29f781)=>{const _0x35fd0f=_0x12d636;for(var _0x3df15a=_0x29f781>0x1?void 0x0:_0x29f781?Vt(_0x238807,_0x3972b5):_0x238807,_0x291656=_0x4fb0ce[_0x35fd0f(0x268)]-0x1,_0xa3ac22;_0x291656>=0x0;_0x291656--)(_0xa3ac22=_0x4fb0ce[_0x291656])&&(_0x3df15a=_0xa3ac22(_0x3df15a)||_0x3df15a);return _0x3df15a;},N=(_0x20a930,_0x472cd3)=>(_0x51b83e,_0x317abc)=>_0x472cd3(_0x51b83e,_0x317abc,_0x20a930);let Q=class extends a[_0x12d636(0x37e)]{constructor(_0x5c447d,_0xd8ee43,_0x2ecd1d,_0x45dc6a,_0x1c7b01,_0x391f2d,_0x54d1a6,_0x200054){const _0xc4298=_0x12d636;super(),h(this,_0xc4298(0x170),new d[(_0xc4298(0x269))](u[_0xc4298(0x2f7)][_0xc4298(0x335)])),(this[_0xc4298(0x316)]=_0x5c447d,this[_0xc4298(0x29f)]=_0xd8ee43,this[_0xc4298(0x1e4)]=_0x2ecd1d,this[_0xc4298(0x24c)]=_0x45dc6a,this[_0xc4298(0x1dc)]=_0x1c7b01,this[_0xc4298(0x177)]=_0x391f2d,this[_0xc4298(0x1f7)]=_0x54d1a6,this[_0xc4298(0x246)]=_0x200054,this[_0xc4298(0x2fc)]());}[_0x12d636(0x2fc)](){const _0x5448b8=_0x12d636;this['disposeWithMe'](this[_0x5448b8(0x29f)][_0x5448b8(0x212)][_0x5448b8(0x399)](_0x42c124=>{const _0x3ed374=_0x5448b8,_0x4beace=this[_0x3ed374(0x316)]['docStateChange$'][_0x3ed374(0x399)](_0x2fd4ab=>{const _0x6f49d6=_0x3ed374;if(_0x2fd4ab==null)return;const {unitId:_0x23488a,redoState:_0x5b4b8e,commandId:_0x1dcb58}=_0x2fd4ab;if(_0x23488a!==_0x42c124['unitID'])return;const _0x27f841={'id':_0x1dcb58,'type':a[_0x6f49d6(0x283)]['MUTATION'],'params':{'unitId':_0x23488a,'actions':_0x5b4b8e['actions'],'textRanges':null}};_0x42c124['onLocalMutation'](_0x27f841);});if(_0x42c124[_0x3ed374(0x2ad)](_0x4beace),_0x42c124 instanceof u[_0x3ed374(0x218)]){const _0x8e85dd={'onTransformIME':_0x49784b=>this[_0x3ed374(0x1e4)][_0x3ed374(0x175)](_0x49784b),'onTransformState':_0x5c33fc=>this[_0x3ed374(0x24c)][_0x3ed374(0x382)](_0x5c33fc),'onTransformSelections':_0x205c02=>this[_0x3ed374(0x1dc)][_0x3ed374(0x228)](_0x205c02),'onSyncEditingCollabCursor':_0xa5d9fa=>this['_docSyncEditingCollabCursorService'][_0x3ed374(0x36b)](_0xa5d9fa),'onTransformRemoteChangesetByIMECache':_0x4f7eea=>this[_0x3ed374(0x1e4)][_0x3ed374(0x334)](_0x4f7eea),'onTransformRemoteChangesetByStateCache':_0x1c4bc0=>this[_0x3ed374(0x24c)]['transformRemoteChangeset'](_0x1c4bc0)};_0x42c124['addHandlerCallback'](_0x8e85dd);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x12d636(0x2ef)])),N(0x1,a[_0x12d636(0x23f)](u[_0x12d636(0x203)])),N(0x2,a[_0x12d636(0x23f)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x12d636(0x23f)](Z)),N(0x5,a[_0x12d636(0x23f)](pe)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a['LocaleService']))],Q);var Gt=Object[_0x12d636(0x152)],Kt=(_0x219717,_0x46a058,_0x5a55fb,_0x3970a1)=>{for(var _0x2624ef=_0x3970a1>0x1?void 0x0:_0x3970a1?Gt(_0x46a058,_0x5a55fb):_0x46a058,_0x5a84f6=_0x219717['length']-0x1,_0x4a846b;_0x5a84f6>=0x0;_0x5a84f6--)(_0x4a846b=_0x219717[_0x5a84f6])&&(_0x2624ef=_0x4a846b(_0x2624ef)||_0x2624ef);return _0x2624ef;},le=(_0x30dc31,_0x45e88e)=>(_0x483de9,_0x18efae)=>_0x45e88e(_0x483de9,_0x18efae,_0x30dc31);let ve=class extends a[_0x12d636(0x37e)]{constructor(_0x5688c8,_0x4a0f33,_0xca6ede){const _0xf54e8f=_0x12d636;super(),h(this,_0xf54e8f(0x2fb),new Map()),h(this,_0xf54e8f(0x1be),new Map()),h(this,_0xf54e8f(0x342),!0x1),(this[_0xf54e8f(0x2cc)]=_0x5688c8,this['_localStorageService']=_0x4a0f33,this[_0xf54e8f(0x26a)]=_0xca6ede);}[_0x12d636(0x3a2)](){const _0x23a9a6=_0x12d636;this[_0x23a9a6(0x342)]=!0x0;}[_0x12d636(0x2b1)](){const _0x2adb63=_0x12d636;this[_0x2adb63(0x342)]=!0x1;}get[_0x12d636(0x26d)](){const _0x3088b3=_0x12d636;return this[_0x3088b3(0x1be)];}['dispose'](){const _0x55bc60=_0x12d636;this[_0x55bc60(0x3b4)]()['then'](()=>super[_0x55bc60(0x3b2)]());}async['loadOfflineData'](_0x515b80){const _0x41fdb1=_0x12d636;return this['_disabled']?null:this[_0x41fdb1(0x154)][_0x41fdb1(0x37f)](u[_0x41fdb1(0x2e1)](_0x515b80));}async['saveOfflineData'](_0x8205f2,_0x473e2b){const _0x435905=_0x12d636;return!!this[_0x435905(0x154)][_0x435905(0x1f3)](_0x8205f2,_0x473e2b);}['updateOfflineData'](_0x14ca3d,_0x2af28f,_0x54a210,_0x39755e){const _0x5c1ea2=_0x12d636,_0xb3ee45=this[_0x5c1ea2(0x26a)][_0x5c1ea2(0x14b)](_0x14ca3d);this[_0x5c1ea2(0x2fb)][_0x5c1ea2(0x1d4)](_0x14ca3d,{'unitID':_0x14ca3d,'type':_0x2af28f,'awaitingChangeset':_0x54a210,'mutations':_0x39755e,'rev':_0xb3ee45}),this[_0x5c1ea2(0x1be)][_0x5c1ea2(0x3a8)](_0x14ca3d)||this[_0x5c1ea2(0x198)](_0x14ca3d);}['_scheduleSaving'](_0x5710cb){const _0x24ed4a=_0x12d636,_0x3a0013=this['_getSaveTimeout']();_0x3a0013===0x0?this[_0x24ed4a(0x1bf)](_0x5710cb):this[_0x24ed4a(0x1be)]['set'](_0x5710cb,setTimeout(()=>this[_0x24ed4a(0x1bf)](_0x5710cb),_0x3a0013));}[_0x12d636(0x364)](){const _0x3e4d96=_0x12d636;var _0xf0c2d4;return(_0xf0c2d4=this[_0x3e4d96(0x2cc)]['getConfig'](u[_0x3e4d96(0x167)]))!=null?_0xf0c2d4:u[_0x3e4d96(0x1e3)];}[_0x12d636(0x1bf)](_0x36a355){const _0x54e6ed=_0x12d636,_0xcc1241=this[_0x54e6ed(0x1be)][_0x54e6ed(0x323)](_0x36a355);return _0xcc1241!==void 0x0&&window[_0x54e6ed(0x331)](_0xcc1241),this[_0x54e6ed(0x154)][_0x54e6ed(0x1f3)](u[_0x54e6ed(0x2e1)](_0x36a355),this['_cachedData'][_0x54e6ed(0x323)](_0x36a355))[_0x54e6ed(0x190)](()=>this[_0x54e6ed(0x1be)]['delete'](_0x36a355));}async[_0x12d636(0x3b4)](){const _0x3f0ace=_0x12d636,_0x413af0=[];this['_saveTaskMap']['forEach']((_0x77b24c,_0x2d3891)=>{const _0x19041c=_0x2c71;window[_0x19041c(0x331)](_0x77b24c),_0x413af0['push'](this['_saveCache'](_0x2d3891)['then'](()=>{const _0x262426=_0x19041c;this['_saveTaskMap'][_0x262426(0x162)](_0x2d3891);}));}),await Promise[_0x3f0ace(0x339)](_0x413af0);}};ve=Kt([le(0x0,a[_0x12d636(0x226)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x12d636(0x23f)](m[_0x12d636(0x16b)]))],ve);class xe extends a[_0x12d636(0x2b2)]{constructor(){const _0x10fb80=_0x12d636;super(),h(this,_0x10fb80(0x27e)),this[_0x10fb80(0x27e)]=d[_0x10fb80(0x24a)](window,_0x10fb80(0x2d9))['pipe'](d['takeUntil'](this[_0x10fb80(0x23d)]),d[_0x10fb80(0x376)](0x1),d['mapTo'](void 0x0));}[_0x12d636(0x38b)](_0x1950d4,_0x4b31c6,_0x2c93e9=!0x1){const _0x208cfe=_0x12d636,_0x26b34b=new URL(window[_0x208cfe(0x1a4)][_0x208cfe(0x292)]);_0x26b34b[_0x208cfe(0x2b6)][_0x208cfe(0x1d4)](_0x1950d4,_0x4b31c6),_0x2c93e9?window[_0x208cfe(0x1ea)][_0x208cfe(0x197)]('','',_0x26b34b[_0x208cfe(0x1ce)]()):window['history'][_0x208cfe(0x31f)]('','',_0x26b34b[_0x208cfe(0x1ce)]());}[_0x12d636(0x388)](_0x558099,_0x42168e=!0x1){const _0x5cbba0=_0x12d636,_0x48318f=new URL(window[_0x5cbba0(0x1a4)]['href']);_0x48318f[_0x5cbba0(0x2b6)][_0x5cbba0(0x162)](_0x558099),_0x42168e?window['history'][_0x5cbba0(0x197)]('','',_0x48318f[_0x5cbba0(0x1ce)]()):window[_0x5cbba0(0x1ea)][_0x5cbba0(0x31f)]('','',_0x48318f[_0x5cbba0(0x1ce)]());}[_0x12d636(0x2a7)](_0x2f1170){const _0xb88d75=_0x12d636;var _0xfad09e;return(_0xfad09e=new URL(window[_0xb88d75(0x1a4)][_0xb88d75(0x292)])['searchParams']['get'](_0x2f1170))!=null?_0xfad09e:void 0x0;}}var qt=Object[_0x12d636(0x234)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x3a5980,_0x410003,_0x1b51cd)=>_0x410003 in _0x3a5980?qt(_0x3a5980,_0x410003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b51cd}):_0x3a5980[_0x410003]=_0x1b51cd,Zt=(_0x46ca18,_0x389784,_0x4b7b4f,_0x2dc146)=>{const _0x3117fb=_0x12d636;for(var _0x51b126=_0x2dc146>0x1?void 0x0:_0x2dc146?zt(_0x389784,_0x4b7b4f):_0x389784,_0x3e1e40=_0x46ca18[_0x3117fb(0x268)]-0x1,_0x36d503;_0x3e1e40>=0x0;_0x3e1e40--)(_0x36d503=_0x46ca18[_0x3e1e40])&&(_0x51b126=_0x36d503(_0x51b126)||_0x51b126);return _0x51b126;},_e=(_0x56eca3,_0x5a90aa)=>(_0x531506,_0x431ade)=>_0x5a90aa(_0x531506,_0x431ade,_0x56eca3),Qt=(_0x244e2a,_0x33730d,_0x36449f)=>Jt(_0x244e2a,_0x33730d+'',_0x36449f);const es=_0x12d636(0x1bb);exports[_0x12d636(0x147)]=class extends a[_0x12d636(0x28c)]{constructor(_0xab209a=De,_0x1d4e2c,_0x2e3559,_0x4cfccf){const _0x2f9be2=_0x12d636;super(),this['_config']=_0xab209a,this[_0x2f9be2(0x2e6)]=_0x1d4e2c,this[_0x2f9be2(0x355)]=_0x2e3559,this['_configService']=_0x4cfccf;const {..._0x4094ff}=a[_0x2f9be2(0x1d5)]({},De,this[_0x2f9be2(0x299)]);this[_0x2f9be2(0x2cc)][_0x2f9be2(0x392)](Bt,_0x4094ff);}[_0x12d636(0x265)](){const _0x5cc800=_0x12d636;this[_0x5cc800(0x18c)](),this[_0x5cc800(0x1fc)]();}[_0x12d636(0x26b)](){const _0x16a634=_0x12d636;this[_0x16a634(0x397)]();}[_0x12d636(0x18c)](){const _0x3f5452=_0x12d636;var _0x21e88d;const _0x164ba3=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x3f5452(0x396)],{'useClass':K[_0x3f5452(0x1c3)]}],[u[_0x3f5452(0x313)],{'useClass':ve}],[exports[_0x3f5452(0x2e5)]],[Q],[q],[x],[ue],[exports[_0x3f5452(0x1c1)]]];a[_0x3f5452(0x30b)](this[_0x3f5452(0x355)],a['mergeOverrideWithDependencies'](_0x164ba3,(_0x21e88d=this[_0x3f5452(0x299)])==null?void 0x0:_0x21e88d[_0x3f5452(0x1bc)]));}[_0x12d636(0x397)](){const _0x22e81c=_0x12d636;this[_0x22e81c(0x2ad)](this[_0x22e81c(0x2e6)][_0x22e81c(0x1f4)](a[_0x22e81c(0x216)][_0x22e81c(0x31e)],[fe])),this['disposeWithMe'](this[_0x22e81c(0x2e6)][_0x22e81c(0x1f4)](a[_0x22e81c(0x216)]['UNIVER_SHEET'],[Ie]));}[_0x12d636(0x1fc)](){const _0x1d78f4=_0x12d636;a[_0x1d78f4(0x239)](this[_0x1d78f4(0x355)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x1d78f4(0x1c1)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x12d636(0x22b),es),exports[_0x12d636(0x147)]=Zt([a['DependentOn'](u[_0x12d636(0x18a)]),_e(0x1,p[_0x12d636(0x15b)]),_e(0x2,a['Inject'](a[_0x12d636(0x307)])),_e(0x3,a[_0x12d636(0x226)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x12d636(0x152)],ss=(_0x520f54,_0x5a5d56,_0x58e689,_0x232249)=>{for(var _0x5dfe98=_0x232249>0x1?void 0x0:_0x232249?ts(_0x5a5d56,_0x58e689):_0x5a5d56,_0x475bc6=_0x520f54['length']-0x1,_0xe27f80;_0x475bc6>=0x0;_0x475bc6--)(_0xe27f80=_0x520f54[_0x475bc6])&&(_0x5dfe98=_0xe27f80(_0x5dfe98)||_0x5dfe98);return _0x5dfe98;},H=(_0x5c7c50,_0x25119a)=>(_0x3ef94b,_0x427dc3)=>_0x25119a(_0x3ef94b,_0x427dc3,_0x5c7c50);exports[_0x12d636(0x272)]=class extends u[_0x12d636(0x2a1)]{constructor(_0x1af020,_0x37e31f,_0x4e7baa,_0x1eb792,_0x2c0ec1){super(_0x1af020,_0x37e31f,_0x4e7baa,_0x1eb792,_0x2c0ec1);}async['createSocket'](_0x30f4db){const _0x49aca4=_0x12d636,_0x546758=await this[_0x49aca4(0x245)](),_0x4a3fbc=this[_0x49aca4(0x233)](_0x30f4db,_0x546758);return this[_0x49aca4(0x146)](_0x4a3fbc);}[_0x12d636(0x233)](_0x35bb09,_0x3e37dc){const _0x3f44c1=_0x12d636,_0x329e0a=typeof window>'u'?new URL(_0x35bb09):new URL(_0x35bb09,window['location'][_0x3f44c1(0x360)]);_0x329e0a[_0x3f44c1(0x2b6)]['set'](_0x3f44c1(0x37d),_0x3e37dc);const _0x4db934=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f44c1(0x1a4)][_0x3f44c1(0x368)]);return _0x4db934['get'](_0x3f44c1(0x1f9))&&_0x329e0a[_0x3f44c1(0x2b6)][_0x3f44c1(0x1d4)]('runId',_0x4db934[_0x3f44c1(0x323)]('runId')),_0x329e0a[_0x3f44c1(0x1ce)]();}async[_0x12d636(0x245)](){const _0x2a6cc4=_0x12d636;var _0x19f758,_0x5cc88e,_0x2ac3fb;const _0xb10aaa=this[_0x2a6cc4(0x2cc)][_0x2a6cc4(0x2bc)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x13c035=(_0x19f758=_0xb10aaa==null?void 0x0:_0xb10aaa['wsSessionTicketUrl'])!=null?_0x19f758:u[_0x2a6cc4(0x34d)];return(_0x2ac3fb=(_0x5cc88e=(await this[_0x2a6cc4(0x145)][_0x2a6cc4(0x323)](_0x13c035,{'headers':{'Content-Type':'application/json'}}))[_0x2a6cc4(0x17d)])==null?void 0x0:_0x5cc88e[_0x2a6cc4(0x14d)])!=null?_0x2ac3fb:'';}},exports[_0x12d636(0x272)]=ss([H(0x0,a['Inject'](a[_0x12d636(0x307)])),H(0x1,a[_0x12d636(0x23f)](K[_0x12d636(0x372)])),H(0x2,a[_0x12d636(0x226)]),H(0x3,a[_0x12d636(0x34b)]),H(0x4,m[_0x12d636(0x186)])],exports['BrowserCollaborationSocketService']);var Be=(_0xfaa5f9=>(_0xfaa5f9[_0xfaa5f9[_0x12d636(0x309)]=0x0]=_0x12d636(0x309),_0xfaa5f9[_0xfaa5f9['OK']=0x1]='OK',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1f6)]=0x2]=_0x12d636(0x1f6),_0xfaa5f9[_0xfaa5f9['PERMISSION_DENIED']=0x3]=_0x12d636(0x2d4),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x3a3)]=0x4]=_0x12d636(0x3a3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1e9)]=0x5]='UNAUTHENTICATED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x22a)]=0x6]=_0x12d636(0x22a),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x340)]=0x7]=_0x12d636(0x340),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x160)]=0x8]=_0x12d636(0x160),_0xfaa5f9[_0xfaa5f9['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2d5)]=0xa]=_0x12d636(0x2d5),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2b0)]=0xb]=_0x12d636(0x2b0),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2fe)]=0xc]=_0x12d636(0x2fe),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1e1)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x27a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xfaa5f9[_0xfaa5f9['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x250)]=0x1771]=_0x12d636(0x250),_0xfaa5f9[_0xfaa5f9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x12d636(0x22e),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x184)]=0x1773]=_0x12d636(0x184),_0xfaa5f9[_0xfaa5f9['APPLY_REJECT']=0x1b59]=_0x12d636(0x31b),_0xfaa5f9[_0xfaa5f9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12d636(0x1e2),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2cb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x17a)]=0x1b5c]=_0x12d636(0x17a),_0xfaa5f9[_0xfaa5f9['APPLY_DUPLICATED']=0x1b5d]=_0x12d636(0x27c),_0xfaa5f9[_0xfaa5f9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x12d636(0x30d),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x26f)]=0x2329]=_0x12d636(0x26f),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x304)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x207)]=0x232b]=_0x12d636(0x207),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x18d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x220)]=0x232d]=_0x12d636(0x220),_0xfaa5f9[_0xfaa5f9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x24f)]=0x2712]=_0x12d636(0x24f),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x3ad)]=0x2713]=_0x12d636(0x3ad),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x260)]=0x2714]=_0x12d636(0x260),_0xfaa5f9[_0xfaa5f9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xfaa5f9[_0xfaa5f9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x12d636(0x378),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x291)]=0x271c]=_0x12d636(0x291),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x273)]=0x271d]=_0x12d636(0x273),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x319)]=0x271e]=_0x12d636(0x319),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x210)]=0x271f]=_0x12d636(0x210),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2d3)]=0x2720]=_0x12d636(0x2d3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x24e)]=0x2af9]=_0x12d636(0x24e),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1d3)]=0x2ee1]=_0x12d636(0x1d3),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x25d)]=0x2ee2]='INVALID_INVITE_CODE',_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2a0)]=0x2ee3]=_0x12d636(0x2a0),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x1b1)]=0x2ee4]=_0x12d636(0x1b1),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x200)]=0x2ee5]=_0x12d636(0x200),_0xfaa5f9[_0xfaa5f9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x12d636(0x2c1),_0xfaa5f9[_0xfaa5f9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12d636(0x1d7),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x305)]=0x32cb]=_0x12d636(0x305),_0xfaa5f9[_0xfaa5f9[_0x12d636(0x2e0)]=-0x1]=_0x12d636(0x2e0),_0xfaa5f9))(Be||{}),is=Object[_0x12d636(0x152)],ns=(_0x29f159,_0x5b3bbc,_0xb01e2d,_0xc0bb47)=>{const _0x4d46e8=_0x12d636;for(var _0x17990a=_0xc0bb47>0x1?void 0x0:_0xc0bb47?is(_0x5b3bbc,_0xb01e2d):_0x5b3bbc,_0x4f78fb=_0x29f159[_0x4d46e8(0x268)]-0x1,_0x5c662b;_0x4f78fb>=0x0;_0x4f78fb--)(_0x5c662b=_0x29f159[_0x4f78fb])&&(_0x17990a=_0x5c662b(_0x17990a)||_0x17990a);return _0x17990a;},he=(_0x488fc6,_0x199d63)=>(_0x93132b,_0xaaa016)=>_0x199d63(_0x93132b,_0xaaa016,_0x488fc6);exports['RemoteUniscriptService']=class extends a[_0x12d636(0x37e)]{constructor(_0x98465,_0x328b41,_0x1b0a34){const _0x1b7dbc=_0x12d636;super(),this[_0x1b7dbc(0x348)]=_0x98465,this[_0x1b7dbc(0x145)]=_0x328b41,this[_0x1b7dbc(0x2cc)]=_0x1b0a34;}async[_0x12d636(0x1ca)](_0x1f23f1,_0x536546,_0x2b92e9,..._0x45ff7a){const _0x3161f0=_0x12d636;var _0x2af529,_0x16a590,_0x374c18,_0x42b6ce;const _0x5d937d=this[_0x3161f0(0x348)]['getFocusedUnit']();if(!_0x5d937d)throw new Error(_0x3161f0(0x183));const _0x4024de=((_0x2af529=this[_0x3161f0(0x2cc)][_0x3161f0(0x2bc)](u[_0x3161f0(0x20d)]))!=null?_0x2af529:u[_0x3161f0(0x2f2)])+'/'+_0x1f23f1+_0x3161f0(0x14a)+_0x536546,_0x34c4d4=new URL(window['location']['href']),_0x116dc9={'scriptId':_0x1f23f1,'runId':(_0x16a590=_0x34c4d4['searchParams']['get'](_0x3161f0(0x1f9)))!=null?_0x16a590:'','function':_0x536546,'unitId':_0x5d937d[_0x3161f0(0x2e9)](),'argsOfFunction':JSON['stringify'](_0x45ff7a),'invokeId':(_0x374c18=_0x2b92e9['invokeId'])!=null?_0x374c18:'','executionId':(_0x42b6ce=_0x2b92e9[_0x3161f0(0x199)])!=null?_0x42b6ce:''};try{const _0x5dc957=await this['_httpService'][_0x3161f0(0x2f0)](_0x4024de,{'body':_0x116dc9});return _0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x34f)]&&_0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x34f)][_0x3161f0(0x1ad)]!==Be['OK']?'Failed':_0x5dc957[_0x3161f0(0x17d)][_0x3161f0(0x194)];}catch{return _0x3161f0(0x2e4);}}},exports['RemoteUniscriptService']=ns([he(0x0,a[_0x12d636(0x22f)]),he(0x1,a[_0x12d636(0x23f)](K[_0x12d636(0x372)])),he(0x2,a[_0x12d636(0x226)])],exports['RemoteUniscriptService']);const Me=0x7530,Le=_0x12d636(0x343);class rs extends a[_0x12d636(0x37e)]{constructor(){const _0x403d18=_0x12d636;super(),h(this,'_id',a[_0x403d18(0x189)]()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,'_heartbeatTimer',null),h(this,_0x403d18(0x14c),new Map()),h(this,'_unitStatus',new Map()),this[_0x403d18(0x32b)]();}[_0x12d636(0x3b2)](){const _0x49a4d0=_0x12d636;super[_0x49a4d0(0x3b2)](),this[_0x49a4d0(0x14c)][_0x49a4d0(0x266)]((_0x3a99f6,_0x3d6ce5)=>this[_0x49a4d0(0x3ab)](_0x3d6ce5)),this[_0x49a4d0(0x373)]&&window[_0x49a4d0(0x363)](this['_heartbeatTimer']);}[_0x12d636(0x185)](_0x2d2535){const _0x4880d6=_0x12d636;return this[_0x4880d6(0x257)](_0x2d2535)['pipe'](d['distinctUntilChanged']());}[_0x12d636(0x157)](_0x19dfe1){const _0x42dbe0=_0x12d636;this[_0x42dbe0(0x25a)]['size']===0x0&&this[_0x42dbe0(0x1ed)](),this[_0x42dbe0(0x25a)][_0x42dbe0(0x1e0)](_0x19dfe1),this[_0x42dbe0(0x1dd)]({'type':0x0,'memberID':this[_0x42dbe0(0x300)],'unitIDs':[_0x19dfe1],'isForwarded':!0x1});}['disposeUnit'](_0x3f1ebf){const _0x4f232c=_0x12d636;this[_0x4f232c(0x25a)][_0x4f232c(0x162)](_0x3f1ebf),this[_0x4f232c(0x25a)][_0x4f232c(0x1fe)]===0x0&&this[_0x4f232c(0x373)]&&window[_0x4f232c(0x363)](this[_0x4f232c(0x373)]);}[_0x12d636(0x32b)](){const _0x3f57a6=_0x12d636;this[_0x3f57a6(0x2ad)](a['toDisposable'](d['fromEvent'](window,_0x3f57a6(0x2aa))[_0x3f57a6(0x399)](_0x26a1af=>{const _0x1a24f6=_0x3f57a6;if(_0x26a1af['key']!==Le||!_0x26a1af[_0x1a24f6(0x214)])return;const _0x364bfb=JSON[_0x1a24f6(0x38e)](_0x26a1af['newValue']);this[_0x1a24f6(0x179)](_0x364bfb);}))),window[_0x3f57a6(0x29d)]('unload',()=>this[_0x3f57a6(0x1dd)]({'type':0x1,'memberID':this[_0x3f57a6(0x300)],'unitIDs':Array['from'](this[_0x3f57a6(0x25a)])}));}['_handleEvent'](_0x5d8cff){const _0xe7c4ab=_0x12d636;switch(_0x5d8cff[_0xe7c4ab(0x1bd)]){case 0x0:this[_0xe7c4ab(0x16d)](_0x5d8cff);break;case 0x1:this[_0xe7c4ab(0x1c7)](_0x5d8cff);break;case 0x2:this[_0xe7c4ab(0x36d)](_0x5d8cff);break;}}[_0x12d636(0x16d)](_0x503e0c){const _0x160b67=_0x12d636,{unitIDs:_0x44e226,memberID:_0x4655f3,isForwarded:_0x47a578}=_0x503e0c;_0x44e226[_0x160b67(0x266)](_0xbcdce8=>{const _0x321c1d=_0x160b67;if(!_0x47a578&&this['_unitOnClients'][_0x321c1d(0x3a8)](_0xbcdce8)&&this[_0x321c1d(0x257)](_0xbcdce8)['next'](u['UnitStatus'][_0x321c1d(0x1c0)]),!this[_0x321c1d(0x2b3)]['has'](_0xbcdce8)||!this[_0x321c1d(0x2b3)][_0x321c1d(0x323)](_0xbcdce8)[_0x321c1d(0x3a8)](_0x4655f3)){const _0x29b4af=this[_0x321c1d(0x2b3)][_0x321c1d(0x323)](_0xbcdce8)||new Set();_0x29b4af[_0x321c1d(0x1e0)](_0x4655f3),this[_0x321c1d(0x2b3)][_0x321c1d(0x1d4)](_0xbcdce8,_0x29b4af),this['_scheduleClearOtherTimer'](_0x4655f3);}}),_0x47a578||this[_0x160b67(0x1dd)]({'type':0x0,'memberID':this[_0x160b67(0x300)],'unitIDs':[...this[_0x160b67(0x25a)]],'isForwarded':!0x0});}[_0x12d636(0x204)](_0x42ac5d){const _0x550845=_0x12d636;this[_0x550845(0x3ab)](_0x42ac5d);const _0x1b3e8f=window[_0x550845(0x243)](()=>{const _0x9cf36c=_0x550845;this[_0x9cf36c(0x2b3)][_0x9cf36c(0x266)](_0x32e080=>{const _0x2ce0d7=_0x9cf36c;_0x32e080[_0x2ce0d7(0x162)](_0x42ac5d);});},Me*0x2);this['_clearOtherTimers'][_0x550845(0x1d4)](_0x42ac5d,_0x1b3e8f);}[_0x12d636(0x3ab)](_0xb2ac6d){const _0x18d684=_0x12d636;if(this[_0x18d684(0x14c)][_0x18d684(0x3a8)](_0xb2ac6d)){const _0x7268ef=this[_0x18d684(0x14c)][_0x18d684(0x323)](_0xb2ac6d);_0x7268ef&&window[_0x18d684(0x331)](_0x7268ef),this[_0x18d684(0x14c)]['set'](_0xb2ac6d,null);}}[_0x12d636(0x1c7)](_0x437c4a){const _0xa089ac=_0x12d636,{memberID:_0x156df9,unitIDs:_0x4a65bf}=_0x437c4a;_0x4a65bf[_0xa089ac(0x266)](_0xcadb89=>{const _0x2d05ea=_0xa089ac;var _0x589ae8;const _0x33826c=this['_unitOnClients'][_0x2d05ea(0x323)](_0xcadb89);_0x33826c&&(_0x33826c[_0x2d05ea(0x162)](_0x156df9),(_0x589ae8=this[_0x2d05ea(0x257)](_0xcadb89))==null||_0x589ae8[_0x2d05ea(0x328)](_0x33826c[_0x2d05ea(0x1fe)]===0x0?u[_0x2d05ea(0x263)][_0x2d05ea(0x3a5)]:u[_0x2d05ea(0x263)][_0x2d05ea(0x1c0)]));}),this[_0xa089ac(0x3ab)](_0x156df9);}[_0x12d636(0x36d)](_0x15862b){const _0xa1b406=_0x12d636;this[_0xa1b406(0x204)](_0x15862b[_0xa1b406(0x20a)]);}['_send'](_0x1f3f6a){const _0x35be3d=_0x12d636;localStorage['setItem'](Le,JSON[_0x35be3d(0x390)](_0x1f3f6a));}[_0x12d636(0x1ed)](){const _0x1dd739=_0x12d636;this[_0x1dd739(0x373)]=window[_0x1dd739(0x26e)](()=>{const _0x122515=_0x1dd739;this[_0x122515(0x1dd)]({'type':0x2,'memberID':this[_0x122515(0x300)]});},Me);}[_0x12d636(0x257)](_0x459b06){const _0x39eb3e=_0x12d636;return this[_0x39eb3e(0x1af)][_0x39eb3e(0x3a8)](_0x459b06)||this[_0x39eb3e(0x1af)][_0x39eb3e(0x1d4)](_0x459b06,new d[(_0x39eb3e(0x269))](u[_0x39eb3e(0x263)][_0x39eb3e(0x3a5)])),this[_0x39eb3e(0x1af)][_0x39eb3e(0x323)](_0x459b06);}}exports['IURLService']=me,exports[_0x12d636(0x2b8)]=$e,exports[_0x12d636(0x2dc)]=rs,exports['WebURLService']=xe;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x5885(_0x11a5f9,_0x50db12){const _0x29193=_0x2919();return _0x5885=function(_0x588593,_0x1112ee){_0x588593=_0x588593-0x149;let _0x588015=_0x29193[_0x588593];return _0x588015;},_0x5885(_0x11a5f9,_0x50db12);}const _0x41c730=_0x5885;function _0x2919(){const _0x2bfde7=['19668eKuzZL','3322220FSHdRJ','Local\x20file','exports','397653GSLYSn','Synced','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.','13460EHpURf','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','5776071CjeAkG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1326519AxAfFw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','18qHfeQV','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','4BcngAu','665164WvoWVT','Syncing...','24NyROqb','Collaboration\x20Conflict','52565lwpzwh'];_0x2919=function(){return _0x2bfde7;};return _0x2919();}(function(_0x36a509,_0x27fdb6){const _0x19ee94=_0x5885,_0x2ab28f=_0x36a509();while(!![]){try{const _0x5966d7=parseInt(_0x19ee94(0x15a))/0x1+parseInt(_0x19ee94(0x159))/0x2*(-parseInt(_0x19ee94(0x14a))/0x3)+-parseInt(_0x19ee94(0x160))/0x4+-parseInt(_0x19ee94(0x15e))/0x5*(parseInt(_0x19ee94(0x155))/0x6)+-parseInt(_0x19ee94(0x14f))/0x7+-parseInt(_0x19ee94(0x15c))/0x8*(parseInt(_0x19ee94(0x151))/0x9)+-parseInt(_0x19ee94(0x14d))/0xa*(-parseInt(_0x19ee94(0x15f))/0xb);if(_0x5966d7===_0x27fdb6)break;else _0x2ab28f['push'](_0x2ab28f['shift']());}catch(_0x2dd977){_0x2ab28f['push'](_0x2ab28f['shift']());}}}(_0x2919,0xa55aa));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x41c730(0x153),'conflict':'Edit\x20conflicts','notCollab':_0x41c730(0x161),'synced':_0x41c730(0x14b),'syncing':_0x41c730(0x15b),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x41c730(0x158),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x41c730(0x157),'collaboration-timeout':_0x41c730(0x150)},'conflict':{'title':_0x41c730(0x15d),'content':_0x41c730(0x14c)},'permission':{'title':_0x41c730(0x156),'content':_0x41c730(0x14e)},'collaboration':{'single-unit':{'warning':_0x41c730(0x154)},'closeRoom':_0x41c730(0x152)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x41c730(0x149)]=o;
|